aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <>2014-08-13 19:31:15 +0000
committercvs2svn <>2014-08-13 19:31:15 +0000
commit291e2acb25e6bbc6075fbaabf60a2e87e2084ceb (patch)
tree4401521d89543c78c9129689fac29a6e2426fd94
parenta4a96eb436fc89b3277aaa0deb1fdef7a9498b08 (diff)
downloadnewlib-291e2acb25e6bbc6075fbaabf60a2e87e2084ceb.zip
newlib-291e2acb25e6bbc6075fbaabf60a2e87e2084ceb.tar.gz
newlib-291e2acb25e6bbc6075fbaabf60a2e87e2084ceb.tar.bz2
This commit was manufactured by cvs2svn to create tag 'cygwin-cygwin-1_7_32-release
1_7_32-release'. Sprout from master 2014-08-04 21:32:37 UTC Jon TURNEY <jon.turney@dronecode.org.uk> ' * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE is' Cherrypick from master 2014-02-06 20:38:35 UTC Corinna Vinschen <corinna@vinschen.de> ' * fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in': winsup/cygserver/Makefile.in winsup/cygwin/Makefile.in winsup/cygwin/autoload.cc winsup/cygwin/cygheap.h winsup/cygwin/cygserver.h winsup/cygwin/errno.cc winsup/cygwin/fhandler_registry.cc winsup/cygwin/miscfuncs.h winsup/cygwin/passwd.cc winsup/cygwin/path.h winsup/cygwin/pwdgrp.h winsup/cygwin/sec_acl.cc winsup/cygwin/sec_helper.cc winsup/cygwin/security.cc winsup/cygwin/security.h winsup/cygwin/shared.cc winsup/cygwin/uinfo.cc winsup/cygwin/wincap.cc winsup/cygwin/wincap.h winsup/cygwin/winlean.h winsup/cygwin/winsup.h winsup/doc/cygwin.xsl winsup/doc/faq-setup.xml winsup/doc/faq-using.xml winsup/doc/ntsec.xml winsup/doc/pathnames.xml winsup/utils/mkgroup.c winsup/utils/mkpasswd.c Cherrypick from master 2014-02-09 12:23:13 UTC Jon TURNEY <jon.turney@dronecode.org.uk> '2014-02-07 Jon TURNEY <jon.turney@dronecode.org.uk>': winsup/utils/utils.xml Cherrypick from cygwin-1_7_29-release-branchpoint 2014-08-13 19:31:14 UTC Yaakov Selkowitz <yselkowi@redhat.com> '* faq-what.xml (faq.what.who): CGF has retired. Remove mention of retired': winsup/ChangeLog winsup/Makefile.common winsup/cygserver/ChangeLog winsup/cygserver/bsd_helper.cc winsup/cygserver/bsd_mutex.cc winsup/cygserver/client.cc winsup/cygserver/cygserver-config winsup/cygserver/cygserver.cc winsup/cygserver/process.cc winsup/cygserver/setpwd.cc winsup/cygserver/threaded_queue.cc winsup/cygserver/transport_pipes.cc winsup/cygwin/ChangeLog winsup/cygwin/DevNotes winsup/cygwin/common.din winsup/cygwin/cpuid.h winsup/cygwin/cygheap.cc winsup/cygwin/cygheap_malloc.h winsup/cygwin/cygserver_ipc.h winsup/cygwin/cygtls.h winsup/cygwin/cygwin.sc.in winsup/cygwin/dcrt0.cc winsup/cygwin/dir.cc winsup/cygwin/dll_init.cc winsup/cygwin/dtable.cc winsup/cygwin/environ.cc winsup/cygwin/exception.h winsup/cygwin/exceptions.cc winsup/cygwin/external.cc winsup/cygwin/fhandler.h winsup/cygwin/fhandler_console.cc winsup/cygwin/fhandler_disk_file.cc winsup/cygwin/fhandler_dsp.cc winsup/cygwin/fhandler_floppy.cc winsup/cygwin/fhandler_proc.cc winsup/cygwin/fhandler_process.cc winsup/cygwin/fhandler_procnet.cc winsup/cygwin/fhandler_procsysvipc.cc winsup/cygwin/fhandler_random.cc winsup/cygwin/fhandler_socket.cc winsup/cygwin/flock.cc winsup/cygwin/gendef winsup/cygwin/gmon.h winsup/cygwin/grp.cc winsup/cygwin/include/cygwin/config.h winsup/cygwin/include/cygwin/core_dump.h winsup/cygwin/include/cygwin/cygwin_dll.h winsup/cygwin/include/cygwin/socket.h winsup/cygwin/include/cygwin/version.h winsup/cygwin/include/pthread.h winsup/cygwin/include/sys/cygwin.h winsup/cygwin/include/sys/file.h winsup/cygwin/include/sys/strace.h winsup/cygwin/libc/bsdlib.cc winsup/cygwin/libc/fts.c winsup/cygwin/libc/minires.c winsup/cygwin/libc/rexec.cc winsup/cygwin/libc/strptime.cc winsup/cygwin/localtime.cc winsup/cygwin/malloc_wrapper.cc winsup/cygwin/miscfuncs.cc winsup/cygwin/mount.cc winsup/cygwin/net.cc winsup/cygwin/ntea.cc winsup/cygwin/path.cc winsup/cygwin/pinfo.cc winsup/cygwin/pseudo-reloc.cc winsup/cygwin/regex/regcomp.c winsup/cygwin/release/1.7.29 winsup/cygwin/release/1.7.30 winsup/cygwin/release/1.7.31 winsup/cygwin/release/1.7.32 winsup/cygwin/scandir.cc winsup/cygwin/sec_auth.cc winsup/cygwin/select.cc winsup/cygwin/setlsapwd.cc winsup/cygwin/shm.cc winsup/cygwin/signal.cc winsup/cygwin/sigproc.cc winsup/cygwin/sigproc.h winsup/cygwin/smallprint.cc winsup/cygwin/spawn.cc winsup/cygwin/strace.cc winsup/cygwin/syscalls.cc winsup/cygwin/thread.cc winsup/cygwin/timer.cc winsup/cygwin/tls_pbuf.cc winsup/cygwin/tls_pbuf.h winsup/cygwin/tlsoffsets.h winsup/cygwin/tlsoffsets64.h winsup/cygwin/winf.cc winsup/doc/ChangeLog winsup/doc/faq-programming.xml winsup/doc/faq-what.xml winsup/doc/legal.xml winsup/doc/new-features.xml winsup/utils/ChangeLog winsup/utils/Makefile.in winsup/utils/minidumper.cc winsup/utils/passwd.c Cherrypick from cygnus 1999-05-03 07:29:06 UTC Richard Henderson <rth@redhat.com> '19990502 sourceware import': README config/mt-d30v config/mt-ospace etc/add-log.el etc/add-log.vi etc/configbuild.ein etc/configbuild.fig etc/configbuild.jin etc/configbuild.tin etc/configdev.ein etc/configdev.fig etc/configdev.jin etc/configdev.tin include/coff/sym.h makefile.vms Delete: djunpack.bat libgloss/ChangeLog libgloss/Makefile.in libgloss/README libgloss/aarch64/Makefile.in libgloss/aarch64/_exit.c libgloss/aarch64/_kill.c libgloss/aarch64/aclocal.m4 libgloss/aarch64/configure libgloss/aarch64/configure.in libgloss/aarch64/cpu-init/Makefile.in libgloss/aarch64/cpu-init/aclocal.m4 libgloss/aarch64/cpu-init/configure libgloss/aarch64/cpu-init/configure.in libgloss/aarch64/cpu-init/rdimon-aem-el3.S libgloss/aarch64/crt0.S libgloss/aarch64/elf-aem-validation.specs libgloss/aarch64/elf-aem-ve.specs libgloss/aarch64/elf-rdimon.specs libgloss/aarch64/ftruncate.c libgloss/aarch64/libcfunc.c libgloss/aarch64/svc.h libgloss/aarch64/syscalls.c libgloss/aarch64/truncate.c libgloss/acinclude.m4 libgloss/aclocal.m4 libgloss/arm/Makefile.in libgloss/arm/_exit.c libgloss/arm/_kill.c libgloss/arm/aclocal.m4 libgloss/arm/arm.h libgloss/arm/coff-iq80310.specs libgloss/arm/coff-pid.specs libgloss/arm/coff-rdimon.specs libgloss/arm/coff-rdpmon.specs libgloss/arm/coff-redboot.ld libgloss/arm/coff-redboot.specs libgloss/arm/configure libgloss/arm/configure.in libgloss/arm/cpu-init/Makefile.in libgloss/arm/cpu-init/rdimon-aem.S libgloss/arm/crt0.S libgloss/arm/elf-aprofile-validation.specs libgloss/arm/elf-aprofile-ve.specs libgloss/arm/elf-iq80310.specs libgloss/arm/elf-linux.specs libgloss/arm/elf-pid.specs libgloss/arm/elf-rdimon.specs libgloss/arm/elf-rdpmon.specs libgloss/arm/elf-redboot.ld libgloss/arm/elf-redboot.specs libgloss/arm/ftruncate.c libgloss/arm/libcfunc.c libgloss/arm/linux-crt0.c libgloss/arm/linux-syscall.h libgloss/arm/linux-syscalls0.S libgloss/arm/linux-syscalls1.c libgloss/arm/redboot-crt0.S libgloss/arm/redboot-syscalls.c libgloss/arm/swi.h libgloss/arm/syscall.h libgloss/arm/syscalls.c libgloss/arm/trap.S libgloss/arm/truncate.c libgloss/bfin/Makefile.in libgloss/bfin/_exit.c libgloss/bfin/aclocal.m4 libgloss/bfin/basiccrt.S libgloss/bfin/bf504.ld libgloss/bfin/bf506.ld libgloss/bfin/bf512.ld libgloss/bfin/bf514.ld libgloss/bfin/bf516.ld libgloss/bfin/bf518.ld libgloss/bfin/bf522.ld libgloss/bfin/bf523.ld libgloss/bfin/bf524.ld libgloss/bfin/bf525.ld libgloss/bfin/bf526.ld libgloss/bfin/bf527.ld libgloss/bfin/bf531.ld libgloss/bfin/bf532.ld libgloss/bfin/bf533.ld libgloss/bfin/bf534.ld libgloss/bfin/bf536.ld libgloss/bfin/bf537.ld libgloss/bfin/bf538.ld libgloss/bfin/bf539.ld libgloss/bfin/bf542.ld libgloss/bfin/bf544.ld libgloss/bfin/bf547.ld libgloss/bfin/bf548.ld libgloss/bfin/bf549.ld libgloss/bfin/bf561.ld libgloss/bfin/bf561a.ld libgloss/bfin/bf561b.ld libgloss/bfin/bf561m.ld libgloss/bfin/bf592.ld libgloss/bfin/bf606.ld libgloss/bfin/bf606c0.ld libgloss/bfin/bf606c1.ld libgloss/bfin/bf606m.ld libgloss/bfin/bf607.ld libgloss/bfin/bf607c0.ld libgloss/bfin/bf607c1.ld libgloss/bfin/bf607m.ld libgloss/bfin/bf608.ld libgloss/bfin/bf608c0.ld libgloss/bfin/bf608c1.ld libgloss/bfin/bf608m.ld libgloss/bfin/bf609.ld libgloss/bfin/bf609c0.ld libgloss/bfin/bf609c1.ld libgloss/bfin/bf609m.ld libgloss/bfin/bfin-common-mc.ld libgloss/bfin/bfin-common-mc0.ld libgloss/bfin/bfin-common-sc.ld libgloss/bfin/clear_cache_range.c libgloss/bfin/configure libgloss/bfin/configure.in libgloss/bfin/crt0.S libgloss/bfin/include/blackfin.h libgloss/bfin/include/builtins.h libgloss/bfin/include/ccblkfn.h libgloss/bfin/include/cdefBF504.h libgloss/bfin/include/cdefBF504F.h libgloss/bfin/include/cdefBF506F.h libgloss/bfin/include/cdefBF50x_base.h libgloss/bfin/include/cdefBF512.h libgloss/bfin/include/cdefBF514.h libgloss/bfin/include/cdefBF516.h libgloss/bfin/include/cdefBF518.h libgloss/bfin/include/cdefBF51x_base.h libgloss/bfin/include/cdefBF522.h libgloss/bfin/include/cdefBF523.h libgloss/bfin/include/cdefBF524.h libgloss/bfin/include/cdefBF525.h libgloss/bfin/include/cdefBF526.h libgloss/bfin/include/cdefBF527.h libgloss/bfin/include/cdefBF52x_base.h libgloss/bfin/include/cdefBF531.h libgloss/bfin/include/cdefBF532.h libgloss/bfin/include/cdefBF533.h libgloss/bfin/include/cdefBF534.h libgloss/bfin/include/cdefBF535.h libgloss/bfin/include/cdefBF536.h libgloss/bfin/include/cdefBF537.h libgloss/bfin/include/cdefBF538.h libgloss/bfin/include/cdefBF539.h libgloss/bfin/include/cdefBF53x.h libgloss/bfin/include/cdefBF542.h libgloss/bfin/include/cdefBF542M.h libgloss/bfin/include/cdefBF544.h libgloss/bfin/include/cdefBF544M.h libgloss/bfin/include/cdefBF547.h libgloss/bfin/include/cdefBF547M.h libgloss/bfin/include/cdefBF548.h libgloss/bfin/include/cdefBF548M.h libgloss/bfin/include/cdefBF549.h libgloss/bfin/include/cdefBF549M.h libgloss/bfin/include/cdefBF54x_base.h libgloss/bfin/include/cdefBF561.h libgloss/bfin/include/cdefBF592-A.h libgloss/bfin/include/cdefBF59x_base.h libgloss/bfin/include/cdefBF606.h libgloss/bfin/include/cdefBF607.h libgloss/bfin/include/cdefBF608.h libgloss/bfin/include/cdefBF609.h libgloss/bfin/include/cdef_LPBlackfin.h libgloss/bfin/include/cdefblackfin.h libgloss/bfin/include/cplb.h libgloss/bfin/include/cplbtab.h libgloss/bfin/include/defBF504.h libgloss/bfin/include/defBF504F.h libgloss/bfin/include/defBF506F.h libgloss/bfin/include/defBF50x_base.h libgloss/bfin/include/defBF512.h libgloss/bfin/include/defBF514.h libgloss/bfin/include/defBF516.h libgloss/bfin/include/defBF518.h libgloss/bfin/include/defBF51x_base.h libgloss/bfin/include/defBF522.h libgloss/bfin/include/defBF523.h libgloss/bfin/include/defBF524.h libgloss/bfin/include/defBF525.h libgloss/bfin/include/defBF526.h libgloss/bfin/include/defBF527.h libgloss/bfin/include/defBF52x_base.h libgloss/bfin/include/defBF531.h libgloss/bfin/include/defBF532.h libgloss/bfin/include/defBF533.h libgloss/bfin/include/defBF534.h libgloss/bfin/include/defBF535.h libgloss/bfin/include/defBF536.h libgloss/bfin/include/defBF537.h libgloss/bfin/include/defBF538.h libgloss/bfin/include/defBF539.h libgloss/bfin/include/defBF542.h libgloss/bfin/include/defBF542M.h libgloss/bfin/include/defBF544.h libgloss/bfin/include/defBF544M.h libgloss/bfin/include/defBF547.h libgloss/bfin/include/defBF547M.h libgloss/bfin/include/defBF548.h libgloss/bfin/include/defBF548M.h libgloss/bfin/include/defBF549.h libgloss/bfin/include/defBF549M.h libgloss/bfin/include/defBF54x_base.h libgloss/bfin/include/defBF561.h libgloss/bfin/include/defBF592-A.h libgloss/bfin/include/defBF59x_base.h libgloss/bfin/include/defBF606.h libgloss/bfin/include/defBF607.h libgloss/bfin/include/defBF608.h libgloss/bfin/include/defBF609.h libgloss/bfin/include/def_LPBlackfin.h libgloss/bfin/include/defblackfin.h libgloss/bfin/include/sys/_adi_platform.h libgloss/bfin/include/sys/anomaly_macros_rtl.h libgloss/bfin/include/sys/excause.h libgloss/bfin/include/sys/exception.h libgloss/bfin/include/sys/mc_typedef.h libgloss/bfin/include/sys/platform.h libgloss/bfin/include/sys/pll.h libgloss/bfin/include/sysreg.h libgloss/bfin/syscalls.c libgloss/close.c libgloss/config/default.mh libgloss/config/default.mt libgloss/config/dos.mh libgloss/config/mips.mt libgloss/config/mn10200.mt libgloss/config/mn10300.mt libgloss/config/ppc.mh libgloss/config/xc16x.mt libgloss/configure libgloss/configure.in libgloss/cr16/Makefile.in libgloss/cr16/_exit.c libgloss/cr16/_getenv.c libgloss/cr16/_rename.c libgloss/cr16/aclocal.m4 libgloss/cr16/close.c libgloss/cr16/configure libgloss/cr16/configure.in libgloss/cr16/crt1.S libgloss/cr16/crti.S libgloss/cr16/crtn.S libgloss/cr16/dvz_hndl.c libgloss/cr16/flg_hndl.c libgloss/cr16/fstat.c libgloss/cr16/getpid.c libgloss/cr16/iad_hndl.c libgloss/cr16/intable.c libgloss/cr16/isatty.c libgloss/cr16/kill.c libgloss/cr16/lseek.c libgloss/cr16/open.c libgloss/cr16/putnum.c libgloss/cr16/read.c libgloss/cr16/sbrk.c libgloss/cr16/sim.ld libgloss/cr16/stat.c libgloss/cr16/svc_hndl.c libgloss/cr16/sys/syscall.h libgloss/cr16/time.c libgloss/cr16/und_hndl.c libgloss/cr16/unlink.c libgloss/cr16/write.c libgloss/cris/Makefile.in libgloss/cris/aclocal.m4 libgloss/cris/configure libgloss/cris/configure.in libgloss/cris/crt0.S libgloss/cris/crti.c libgloss/cris/crtn.c libgloss/cris/gensyscalls libgloss/cris/irqtable.S libgloss/cris/lcrt0.c libgloss/cris/linunistd.h libgloss/cris/outbyte.c libgloss/cris/setup.S libgloss/crx/Makefile.in libgloss/crx/_exit.c libgloss/crx/_getenv.c libgloss/crx/_rename.c libgloss/crx/aclocal.m4 libgloss/crx/close.c libgloss/crx/configure libgloss/crx/configure.in libgloss/crx/crt0.S libgloss/crx/crti.S libgloss/crx/crtn.S libgloss/crx/dvz_hndl.c libgloss/crx/flg_hndl.c libgloss/crx/fstat.c libgloss/crx/getpid.c libgloss/crx/iad_hndl.c libgloss/crx/intable.c libgloss/crx/isatty.c libgloss/crx/kill.c libgloss/crx/lseek.c libgloss/crx/open.c libgloss/crx/putnum.c libgloss/crx/read.c libgloss/crx/sbrk.c libgloss/crx/sim.ld libgloss/crx/stat.c libgloss/crx/svc_hndl.c libgloss/crx/time.c libgloss/crx/und_hndl.c libgloss/crx/unlink.c libgloss/crx/write.c libgloss/d30v/Makefile.in libgloss/d30v/aclocal.m4 libgloss/d30v/configure libgloss/d30v/configure.in libgloss/d30v/crt0.S libgloss/d30v/inbyte.c libgloss/d30v/outbyte.c libgloss/d30v/syscalls.c libgloss/debug.c libgloss/debug.h libgloss/doc/Makefile.in libgloss/doc/configure libgloss/doc/configure.in libgloss/doc/porting.texi libgloss/epiphany/Makefile.in libgloss/epiphany/_exit.S libgloss/epiphany/_exit.c libgloss/epiphany/_isatty.c libgloss/epiphany/access.c libgloss/epiphany/aclocal.m4 libgloss/epiphany/close.c libgloss/epiphany/config.h.in libgloss/epiphany/configure libgloss/epiphany/configure.in libgloss/epiphany/crt0.S libgloss/epiphany/environ.c libgloss/epiphany/epiphany-config.h libgloss/epiphany/epiphany-ivthandlers.S libgloss/epiphany/epiphany-syscalls.c libgloss/epiphany/epiphany-syscalls.h libgloss/epiphany/execve.c libgloss/epiphany/fork.c libgloss/epiphany/fstat.c libgloss/epiphany/getpid.c libgloss/epiphany/gettimeofday.c libgloss/epiphany/kill.c libgloss/epiphany/link.c libgloss/epiphany/lseek.c libgloss/epiphany/open.c libgloss/epiphany/read.c libgloss/epiphany/sbrk.c libgloss/epiphany/stat.c libgloss/epiphany/times.c libgloss/epiphany/unlink.c libgloss/epiphany/wait.c libgloss/epiphany/write.c libgloss/fr30/Makefile.in libgloss/fr30/aclocal.m4 libgloss/fr30/configure libgloss/fr30/configure.in libgloss/fr30/crt0.s libgloss/fr30/syscalls.c libgloss/frv/Makefile.in libgloss/frv/aclocal.m4 libgloss/frv/configure libgloss/frv/configure.in libgloss/frv/crt0.S libgloss/frv/fstat.c libgloss/frv/getpid.c libgloss/frv/isatty.c libgloss/frv/kill.c libgloss/frv/print.c libgloss/frv/putnum.c libgloss/frv/sbrk.c libgloss/frv/sim-close.S libgloss/frv/sim-exit.S libgloss/frv/sim-inbyte.c libgloss/frv/sim-lseek.S libgloss/frv/sim-open.S libgloss/frv/sim-read.S libgloss/frv/sim-time.c libgloss/frv/sim-unlink.S libgloss/frv/sim-write.S libgloss/frv/stat.c libgloss/fstat.c libgloss/getpid.c libgloss/glue.h libgloss/hp74x/Makefile.in libgloss/hp74x/README libgloss/hp74x/aclocal.m4 libgloss/hp74x/checksum.c libgloss/hp74x/configure libgloss/hp74x/configure.in libgloss/hp74x/crt0.s libgloss/hp74x/debugger.h libgloss/hp74x/debugger.s libgloss/hp74x/diagnose.h libgloss/hp74x/hppa-defs.h libgloss/hp74x/hppa.ld libgloss/hp74x/io.c libgloss/hp74x/iva_table.h libgloss/hp74x/iva_table.s libgloss/hp74x/pa_stub.c libgloss/hp74x/test.c libgloss/i386/Makefile.in libgloss/i386/aclocal.m4 libgloss/i386/configure libgloss/i386/configure.in libgloss/i386/cygmon-crt0.S libgloss/i386/cygmon-gmon.c libgloss/i386/cygmon-gmon.h libgloss/i386/cygmon-salib.c libgloss/i386/cygmon-syscall.h libgloss/i386/cygmon.ld libgloss/i960/Makefile.in libgloss/i960/aclocal.m4 libgloss/i960/asm.h libgloss/i960/configure libgloss/i960/configure.in libgloss/i960/crt0.c libgloss/i960/mon-read.c libgloss/i960/mon-syscalls.S libgloss/i960/mon-write.c libgloss/i960/mon960.c libgloss/i960/mon960.ld libgloss/i960/syscall.h libgloss/iq2000/Makefile.in libgloss/iq2000/_exit.c libgloss/iq2000/access.c libgloss/iq2000/aclocal.m4 libgloss/iq2000/chmod.c libgloss/iq2000/chown.c libgloss/iq2000/close.c libgloss/iq2000/configure libgloss/iq2000/configure.in libgloss/iq2000/creat.c libgloss/iq2000/crt0.S libgloss/iq2000/crt1.c libgloss/iq2000/execv.c libgloss/iq2000/execve.c libgloss/iq2000/fork.c libgloss/iq2000/fstat.c libgloss/iq2000/getpid.c libgloss/iq2000/gettime.c libgloss/iq2000/isatty.c libgloss/iq2000/kill.c libgloss/iq2000/lseek.c libgloss/iq2000/open.c libgloss/iq2000/pipe.c libgloss/iq2000/read.c libgloss/iq2000/sbrk.c libgloss/iq2000/sim.ld libgloss/iq2000/stat.c libgloss/iq2000/test.c libgloss/iq2000/time.c libgloss/iq2000/times.c libgloss/iq2000/trap.c libgloss/iq2000/trap.h libgloss/iq2000/unlink.c libgloss/iq2000/utime.c libgloss/iq2000/wait.c libgloss/iq2000/write.c libgloss/isatty.c libgloss/kill.c libgloss/libnosys/Makefile.in libgloss/libnosys/_exit.c libgloss/libnosys/acconfig.h libgloss/libnosys/aclocal.m4 libgloss/libnosys/chown.c libgloss/libnosys/close.c libgloss/libnosys/config.h.in libgloss/libnosys/configure libgloss/libnosys/configure.in libgloss/libnosys/environ.c libgloss/libnosys/errno.c libgloss/libnosys/execve.c libgloss/libnosys/fork.c libgloss/libnosys/fstat.c libgloss/libnosys/getpid.c libgloss/libnosys/gettod.c libgloss/libnosys/isatty.c libgloss/libnosys/kill.c libgloss/libnosys/link.c libgloss/libnosys/lseek.c libgloss/libnosys/nosys.specs libgloss/libnosys/open.c libgloss/libnosys/read.c libgloss/libnosys/readlink.c libgloss/libnosys/sbrk.c libgloss/libnosys/stat.c libgloss/libnosys/symlink.c libgloss/libnosys/times.c libgloss/libnosys/unlink.c libgloss/libnosys/wait.c libgloss/libnosys/warning.h libgloss/libnosys/write.c libgloss/lm32/Makefile.in libgloss/lm32/aclocal.m4 libgloss/lm32/configure libgloss/lm32/configure.in libgloss/lm32/crt0.S libgloss/lm32/isatty.c libgloss/lm32/scall.S libgloss/lm32/sim.ld libgloss/lseek.c libgloss/m32c/Makefile.in libgloss/m32c/abort.S libgloss/m32c/aclocal.m4 libgloss/m32c/argv.S libgloss/m32c/argvlen.S libgloss/m32c/chdir.S libgloss/m32c/chmod.S libgloss/m32c/close.S libgloss/m32c/configure libgloss/m32c/configure.in libgloss/m32c/crt0.S libgloss/m32c/crtn.S libgloss/m32c/exit.S libgloss/m32c/fstat.S libgloss/m32c/genscript libgloss/m32c/getpid.S libgloss/m32c/gettimeofday.S libgloss/m32c/heaptop.S libgloss/m32c/isatty.S libgloss/m32c/kill.S libgloss/m32c/link.S libgloss/m32c/lseek.S libgloss/m32c/m32c.tmpl libgloss/m32c/m32csys.h libgloss/m32c/open.S libgloss/m32c/read.S libgloss/m32c/sample.c libgloss/m32c/sbrk.c libgloss/m32c/stat.S libgloss/m32c/time.S libgloss/m32c/times.S libgloss/m32c/unlink.S libgloss/m32c/utime.S libgloss/m32c/varvects.S libgloss/m32c/varvects.h libgloss/m32c/write.S libgloss/m32r/Makefile.in libgloss/m32r/aclocal.m4 libgloss/m32r/chmod.c libgloss/m32r/close.c libgloss/m32r/configure libgloss/m32r/configure.in libgloss/m32r/crt0.S libgloss/m32r/eit.h libgloss/m32r/eva-stub.ld libgloss/m32r/eva.ld libgloss/m32r/exit.c libgloss/m32r/fstat.c libgloss/m32r/getpid.c libgloss/m32r/isatty.c libgloss/m32r/kill.c libgloss/m32r/lseek.c libgloss/m32r/m32r-lib.c libgloss/m32r/m32r-stub.c libgloss/m32r/mon.specs libgloss/m32r/open.c libgloss/m32r/raise.c libgloss/m32r/read.c libgloss/m32r/sbrk.c libgloss/m32r/stat.c libgloss/m32r/trap0.S libgloss/m32r/trapmon0.c libgloss/m32r/unlink.c libgloss/m32r/utime.c libgloss/m32r/write.c libgloss/m68hc11/Makefile.in libgloss/m68hc11/aclocal.m4 libgloss/m68hc11/configure libgloss/m68hc11/configure.in libgloss/m68hc11/crt0.S libgloss/m68hc11/sci-inout.S libgloss/m68hc11/sim-valid-m68hc11.ld libgloss/m68hc11/sim-valid-m68hc12.ld libgloss/m68hc11/syscalls.c libgloss/m68k/Makefile.in libgloss/m68k/README libgloss/m68k/aclocal.m4 libgloss/m68k/asm.h libgloss/m68k/bcc.ld libgloss/m68k/cf-crt0.S libgloss/m68k/cf-crt1.c libgloss/m68k/cf-exit.c libgloss/m68k/cf-hosted.S libgloss/m68k/cf-isrs.c libgloss/m68k/cf-isv.S libgloss/m68k/cf-sbrk.c libgloss/m68k/cf.sc libgloss/m68k/configure libgloss/m68k/configure.in libgloss/m68k/cpu32bug.S libgloss/m68k/cpu32bug.h libgloss/m68k/crt0.S libgloss/m68k/dtor.C libgloss/m68k/fido-_exit.c libgloss/m68k/fido-crt0.S libgloss/m68k/fido-handler.c libgloss/m68k/fido-hosted.S libgloss/m68k/fido-sbrk.c libgloss/m68k/fido.h libgloss/m68k/fido.sc libgloss/m68k/fido_profiling.h libgloss/m68k/idp-inbyte.c libgloss/m68k/idp-outbyte.c libgloss/m68k/idp.ld libgloss/m68k/idpgdb.ld libgloss/m68k/io-close.c libgloss/m68k/io-exit.c libgloss/m68k/io-fstat.c libgloss/m68k/io-gdb.c libgloss/m68k/io-gettimeofday.c libgloss/m68k/io-isatty.c libgloss/m68k/io-lseek.c libgloss/m68k/io-open.c libgloss/m68k/io-read.c libgloss/m68k/io-rename.c libgloss/m68k/io-stat.c libgloss/m68k/io-system.c libgloss/m68k/io-time.c libgloss/m68k/io-unlink.c libgloss/m68k/io-write.c libgloss/m68k/io.h libgloss/m68k/leds.c libgloss/m68k/leds.h libgloss/m68k/mc68681reg.h libgloss/m68k/mc68ec.c libgloss/m68k/mvme-stub.c libgloss/m68k/mvme.S libgloss/m68k/mvme135-asm.S libgloss/m68k/mvme135.ld libgloss/m68k/mvme162.ld libgloss/m68k/mvme162lx-asm.S libgloss/m68k/sbc5204.ld libgloss/m68k/sbc5206.ld libgloss/m68k/sim-abort.c libgloss/m68k/sim-crt0.S libgloss/m68k/sim-errno.c libgloss/m68k/sim-funcs.c libgloss/m68k/sim-inbyte.c libgloss/m68k/sim-print.c libgloss/m68k/sim-sbrk.c libgloss/m68k/sim.ld libgloss/m68k/simulator.S libgloss/m68k/test.c libgloss/mcore/Makefile.in libgloss/mcore/aclocal.m4 libgloss/mcore/close.c libgloss/mcore/cmb-exit.c libgloss/mcore/cmb-inbyte.c libgloss/mcore/cmb-outbyte.c libgloss/mcore/configure libgloss/mcore/configure.in libgloss/mcore/crt0.S libgloss/mcore/elf-cmb.ld libgloss/mcore/elf-cmb.specs libgloss/mcore/fstat.c libgloss/mcore/getpid.c libgloss/mcore/kill.c libgloss/mcore/lseek.c libgloss/mcore/open.c libgloss/mcore/pe-cmb.ld libgloss/mcore/pe-cmb.specs libgloss/mcore/print.c libgloss/mcore/putnum.c libgloss/mcore/raise.c libgloss/mcore/read.c libgloss/mcore/sbrk.c libgloss/mcore/stat.c libgloss/mcore/syscalls.S libgloss/mcore/unlink.c libgloss/mcore/write.c libgloss/mep/Makefile.in libgloss/mep/aclocal.m4 libgloss/mep/configure libgloss/mep/configure.in libgloss/mep/crt0.S libgloss/mep/crtn.S libgloss/mep/default.ld libgloss/mep/fmax.ld libgloss/mep/gcov-io.h libgloss/mep/gmap_default.ld libgloss/mep/h_reset.c libgloss/mep/handlers.c libgloss/mep/isatty.c libgloss/mep/mep-bb.c libgloss/mep/mep-gmon.c libgloss/mep/min.ld libgloss/mep/read.c libgloss/mep/sbrk.c libgloss/mep/sdram-crt0.S libgloss/mep/sim-crt0.S libgloss/mep/sim-crtn.S libgloss/mep/simnovec-crt0.S libgloss/mep/simple.ld libgloss/mep/simsdram-crt0.S libgloss/mep/syscalls.S libgloss/mep/write.c libgloss/microblaze/Makefile.in libgloss/microblaze/_exception_handler.S libgloss/microblaze/_hw_exception_handler.S libgloss/microblaze/_interrupt_handler.S libgloss/microblaze/_program_clean.S libgloss/microblaze/_program_init.S libgloss/microblaze/configure libgloss/microblaze/configure.in libgloss/microblaze/crt0.S libgloss/microblaze/crt1.S libgloss/microblaze/crt2.S libgloss/microblaze/crt3.S libgloss/microblaze/crt4.S libgloss/microblaze/crtinit.S libgloss/microblaze/elf-gloss-linux.ld libgloss/microblaze/elf-gloss-linux.specs libgloss/microblaze/linux-crt0.S libgloss/microblaze/linux-inbyte.c libgloss/microblaze/linux-outbyte.c libgloss/microblaze/linux-syscalls-wrap.c libgloss/microblaze/linux-syscalls.S libgloss/microblaze/linux-syscalls.h libgloss/microblaze/pgcrtinit.S libgloss/microblaze/sbrk.c libgloss/microblaze/sim-crtinit.S libgloss/microblaze/sim-pgcrtinit.S libgloss/microblaze/timer.c libgloss/microblaze/xil_malloc.c libgloss/microblaze/xil_printf.c libgloss/microblaze/xil_sbrk.c libgloss/microblaze/xilinx.ld libgloss/mips/Makefile.in libgloss/mips/aclocal.m4 libgloss/mips/array-io.c libgloss/mips/array.ld libgloss/mips/cfe.c libgloss/mips/cfe.ld libgloss/mips/cfe_api.c libgloss/mips/cfe_api.h libgloss/mips/cfe_api_int.h libgloss/mips/cfe_error.h libgloss/mips/cfe_mem.c libgloss/mips/cma101.c libgloss/mips/configure libgloss/mips/configure.in libgloss/mips/crt0.S libgloss/mips/crt0_cfe.S libgloss/mips/crt0_cygmon.S libgloss/mips/cygmon.c libgloss/mips/ddb-kseg0.ld libgloss/mips/ddb.ld libgloss/mips/dtor.C libgloss/mips/dve.ld libgloss/mips/dvemon.c libgloss/mips/entry.S libgloss/mips/idt.ld libgloss/mips/idt32.ld libgloss/mips/idt64.ld libgloss/mips/idtecoff.ld libgloss/mips/idtmon.S libgloss/mips/jmr3904-io.c libgloss/mips/jmr3904app-java.ld libgloss/mips/jmr3904app.ld libgloss/mips/jmr3904dram-java.ld libgloss/mips/jmr3904dram.ld libgloss/mips/lsi.ld libgloss/mips/lsipmon.S libgloss/mips/mti32.ld libgloss/mips/mti64.ld libgloss/mips/mti64_64.ld libgloss/mips/mti64_n32.ld libgloss/mips/nullmon.c libgloss/mips/nullmon.ld libgloss/mips/pmon.S libgloss/mips/pmon.ld libgloss/mips/regs.S libgloss/mips/sde32.ld libgloss/mips/sde64.ld libgloss/mips/syscalls.c libgloss/mips/test.c libgloss/mips/vr4300.S libgloss/mips/vr5xxx.S libgloss/mn10200/Makefile.in libgloss/mn10200/_exit.c libgloss/mn10200/access.c libgloss/mn10200/aclocal.m4 libgloss/mn10200/chmod.c libgloss/mn10200/chown.c libgloss/mn10200/close.c libgloss/mn10200/configure libgloss/mn10200/configure.in libgloss/mn10200/creat.c libgloss/mn10200/crt0.S libgloss/mn10200/crt1.c libgloss/mn10200/eval.ld libgloss/mn10200/execv.c libgloss/mn10200/execve.c libgloss/mn10200/fork.c libgloss/mn10200/fstat.c libgloss/mn10200/getpid.c libgloss/mn10200/gettime.c libgloss/mn10200/isatty.c libgloss/mn10200/kill.c libgloss/mn10200/lseek.c libgloss/mn10200/open.c libgloss/mn10200/pipe.c libgloss/mn10200/read.c libgloss/mn10200/sbrk.c libgloss/mn10200/sim.ld libgloss/mn10200/stat.c libgloss/mn10200/test.c libgloss/mn10200/time.c libgloss/mn10200/times.c libgloss/mn10200/trap.S libgloss/mn10200/trap.h libgloss/mn10200/unlink.c libgloss/mn10200/utime.c libgloss/mn10200/wait.c libgloss/mn10200/write.c libgloss/mn10300/Makefile.in libgloss/mn10300/_exit.c libgloss/mn10300/access.c libgloss/mn10300/aclocal.m4 libgloss/mn10300/asb2303.ld libgloss/mn10300/asb2305.ld libgloss/mn10300/chmod.c libgloss/mn10300/chown.c libgloss/mn10300/close.c libgloss/mn10300/configure libgloss/mn10300/configure.in libgloss/mn10300/creat.c libgloss/mn10300/crt0-eval.S libgloss/mn10300/crt0.S libgloss/mn10300/crt0_cygmon.S libgloss/mn10300/crt0_redboot.S libgloss/mn10300/crt1.c libgloss/mn10300/cygmon.c libgloss/mn10300/eval.ld libgloss/mn10300/execv.c libgloss/mn10300/execve.c libgloss/mn10300/fork.c libgloss/mn10300/fstat.c libgloss/mn10300/getpid.c libgloss/mn10300/gettime.c libgloss/mn10300/isatty.c libgloss/mn10300/kill.c libgloss/mn10300/lseek.c libgloss/mn10300/open.c libgloss/mn10300/pipe.c libgloss/mn10300/read.c libgloss/mn10300/sbrk.c libgloss/mn10300/sim.ld libgloss/mn10300/stat.c libgloss/mn10300/test.c libgloss/mn10300/time.c libgloss/mn10300/times.c libgloss/mn10300/trap.S libgloss/mn10300/trap.h libgloss/mn10300/unlink.c libgloss/mn10300/utime.c libgloss/mn10300/wait.c libgloss/mn10300/write.c libgloss/moxie/Makefile.in libgloss/moxie/aclocal.m4 libgloss/moxie/configure libgloss/moxie/configure.in libgloss/moxie/crt0.S libgloss/moxie/fstat.c libgloss/moxie/getpid.c libgloss/moxie/isatty.c libgloss/moxie/kill.c libgloss/moxie/moxie-elf-common.ld libgloss/moxie/moxiebox.ld libgloss/moxie/print.c libgloss/moxie/putnum.c libgloss/moxie/qemu-time.c libgloss/moxie/qemu-write.c libgloss/moxie/qemu.ld libgloss/moxie/sbrk.c libgloss/moxie/sim-close.S libgloss/moxie/sim-exit.S libgloss/moxie/sim-inbyte.c libgloss/moxie/sim-lseek.S libgloss/moxie/sim-lseek.c libgloss/moxie/sim-open.S libgloss/moxie/sim-read.S libgloss/moxie/sim-time.c libgloss/moxie/sim-unlink.S libgloss/moxie/sim-write.S libgloss/moxie/sim.ld libgloss/moxie/stat.c libgloss/msp430/Makefile.in libgloss/msp430/cio.c libgloss/msp430/cio.h libgloss/msp430/configure libgloss/msp430/configure.in libgloss/msp430/crt0.S libgloss/msp430/crt_bss.S libgloss/msp430/crt_movedata.S libgloss/msp430/crtn.S libgloss/msp430/gcrt0.S libgloss/msp430/intr_vectors.ld libgloss/msp430/memmodel.h libgloss/msp430/msp430-sim.ld libgloss/msp430/msp430.ld libgloss/msp430/msp430F5438A-l.ld libgloss/msp430/msp430F5438A-s.ld libgloss/msp430/msp430xl-sim.ld libgloss/msp430/nosyscalls.S libgloss/msp430/sbrk.c libgloss/msp430/syscalls.S libgloss/msp430/unlink.c libgloss/msp430/write.c libgloss/mt/16-002.ld libgloss/mt/16-003.ld libgloss/mt/64-001.ld libgloss/mt/Makefile.in libgloss/mt/access.c libgloss/mt/aclocal.m4 libgloss/mt/chmod.c libgloss/mt/close.c libgloss/mt/configure libgloss/mt/configure.in libgloss/mt/crt0-16-002.S libgloss/mt/crt0-16-003.S libgloss/mt/crt0-64-001.S libgloss/mt/crt0-ms2.S libgloss/mt/crt0.S libgloss/mt/exit-16-002.c libgloss/mt/exit-16-003.c libgloss/mt/exit-64-001.c libgloss/mt/exit-ms2.c libgloss/mt/exit.c libgloss/mt/fstat.c libgloss/mt/getpid.c libgloss/mt/gettime.c libgloss/mt/isatty.c libgloss/mt/kill.c libgloss/mt/lseek.c libgloss/mt/ms2.ld libgloss/mt/open.c libgloss/mt/read.c libgloss/mt/sbrk.c libgloss/mt/startup-16-002.S libgloss/mt/startup-16-003.S libgloss/mt/startup-64-001.S libgloss/mt/startup-ms2.S libgloss/mt/stat.c libgloss/mt/time.c libgloss/mt/times.c libgloss/mt/trap.S libgloss/mt/trap.h libgloss/mt/unlink.c libgloss/mt/utime.c libgloss/mt/write.c libgloss/nds32/Makefile.in libgloss/nds32/_argv.S libgloss/nds32/_argvlen.S libgloss/nds32/_chdir.S libgloss/nds32/_chmod.S libgloss/nds32/_close.S libgloss/nds32/_exit.S libgloss/nds32/_fstat.S libgloss/nds32/_getpid.S libgloss/nds32/_gettimeofday.S libgloss/nds32/_isatty.S libgloss/nds32/_kill.S libgloss/nds32/_link.S libgloss/nds32/_lseek.S libgloss/nds32/_open.S libgloss/nds32/_read.S libgloss/nds32/_rename.S libgloss/nds32/_sbrk.S libgloss/nds32/_stat.S libgloss/nds32/_system.S libgloss/nds32/_time.S libgloss/nds32/_times.S libgloss/nds32/_unlink.S libgloss/nds32/_utime.S libgloss/nds32/_write.S libgloss/nds32/aclocal.m4 libgloss/nds32/configure libgloss/nds32/configure.in libgloss/nds32/crt0.S libgloss/nds32/crt1.S libgloss/nds32/syscall_error_handler.S libgloss/nds32/syscall_extra.h libgloss/nds32/vh.h libgloss/open.c libgloss/pa/Makefile.in libgloss/pa/README libgloss/pa/aclocal.m4 libgloss/pa/configure libgloss/pa/configure.in libgloss/pa/crt0.S libgloss/pa/hp-milli.s libgloss/pa/op50n-io.S libgloss/pa/op50n.h libgloss/pa/op50n.ld libgloss/pa/op50nled.c libgloss/pa/setjmp.S libgloss/pa/test.c libgloss/pa/w89k-io.c libgloss/pa/w89k.h libgloss/pa/w89k.ld libgloss/print.c libgloss/putnum.c libgloss/read.c libgloss/rl78/Makefile.in libgloss/rl78/abort.S libgloss/rl78/argv.S libgloss/rl78/argvlen.S libgloss/rl78/chdir.S libgloss/rl78/chmod.S libgloss/rl78/close.S libgloss/rl78/configure libgloss/rl78/configure.in libgloss/rl78/crt0.S libgloss/rl78/crtn.S libgloss/rl78/exit.S libgloss/rl78/fstat.S libgloss/rl78/gcrt0.S libgloss/rl78/getpid.S libgloss/rl78/gettimeofday.S libgloss/rl78/isatty.S libgloss/rl78/kill.S libgloss/rl78/link.S libgloss/rl78/lseek.S libgloss/rl78/mcount.c libgloss/rl78/open.S libgloss/rl78/read.S libgloss/rl78/rl78-sim.ld libgloss/rl78/rl78-sys.h libgloss/rl78/rl78.ld libgloss/rl78/sbrk.c libgloss/rl78/stat.S libgloss/rl78/time.S libgloss/rl78/times.S libgloss/rl78/unlink.S libgloss/rl78/utime.S libgloss/rl78/write.c libgloss/rs6000/Makefile.in libgloss/rs6000/aclocal.m4 libgloss/rs6000/ads-exit.S libgloss/rs6000/ads-io.c libgloss/rs6000/ads.ld libgloss/rs6000/configure libgloss/rs6000/configure.in libgloss/rs6000/crt0.S libgloss/rs6000/mbx-exit.c libgloss/rs6000/mbx-inbyte.c libgloss/rs6000/mbx-outbyte.c libgloss/rs6000/mbx-print.c libgloss/rs6000/mbx.ld libgloss/rs6000/mbx.specs libgloss/rs6000/mcount.S libgloss/rs6000/mvme-errno.c libgloss/rs6000/mvme-exit.S libgloss/rs6000/mvme-inbyte.S libgloss/rs6000/mvme-outbyte.S libgloss/rs6000/mvme-print.c libgloss/rs6000/mvme-read.c libgloss/rs6000/sim-abort.c libgloss/rs6000/sim-crt0.S libgloss/rs6000/sim-errno.c libgloss/rs6000/sim-getrusage.S libgloss/rs6000/sim-inbyte.c libgloss/rs6000/sim-print.c libgloss/rs6000/sim-sbrk.c libgloss/rs6000/sim-times.c libgloss/rs6000/simulator.S libgloss/rs6000/sol-cfuncs.c libgloss/rs6000/sol-syscall.S libgloss/rs6000/test.c libgloss/rs6000/xil-crt0.S libgloss/rs6000/xilinx.ld libgloss/rs6000/xilinx440.ld libgloss/rs6000/yellowknife.ld libgloss/rx/Makefile.in libgloss/rx/abort.S libgloss/rx/argv.S libgloss/rx/argvlen.S libgloss/rx/chdir.S libgloss/rx/chmod.S libgloss/rx/close.S libgloss/rx/configure libgloss/rx/configure.in libgloss/rx/crt0.S libgloss/rx/crtn.S libgloss/rx/exit.S libgloss/rx/fstat.S libgloss/rx/gcrt0.S libgloss/rx/getpid.S libgloss/rx/gettimeofday.S libgloss/rx/heaptop.S libgloss/rx/isatty.S libgloss/rx/kill.S libgloss/rx/link.S libgloss/rx/lseek.S libgloss/rx/mcount.c libgloss/rx/open.S libgloss/rx/read.S libgloss/rx/rx-sim.ld libgloss/rx/rx.ld libgloss/rx/rxsys.h libgloss/rx/sbrk.c libgloss/rx/sigprocmask.S libgloss/rx/sleep.S libgloss/rx/stat.S libgloss/rx/time.S libgloss/rx/times.S libgloss/rx/unlink.S libgloss/rx/utime.S libgloss/rx/write.S libgloss/sbrk.c libgloss/sh/sh1lcevb.ld libgloss/sh/sh2lcevb.ld libgloss/sh/sh3bb.ld libgloss/sh/sh3lcevb.ld libgloss/sparc/Makefile.in libgloss/sparc/aclocal.m4 libgloss/sparc/asm.h libgloss/sparc/cache.c libgloss/sparc/configure libgloss/sparc/configure.in libgloss/sparc/crt0-701.S libgloss/sparc/crt0.S libgloss/sparc/cygmon-crt0.S libgloss/sparc/cygmon-salib.c libgloss/sparc/cygmon-sparc64-ld.src libgloss/sparc/cygmon.ld.src libgloss/sparc/dtor.C libgloss/sparc/elfsim.ld libgloss/sparc/erc32-crt0.S libgloss/sparc/erc32-io.c libgloss/sparc/erc32-stub.c libgloss/sparc/erc32.ld libgloss/sparc/ex930.ld libgloss/sparc/ex931.ld libgloss/sparc/ex934.ld libgloss/sparc/fixctors.c libgloss/sparc/libsys/Makefile.in libgloss/sparc/libsys/_exit.S libgloss/sparc/libsys/aclocal.m4 libgloss/sparc/libsys/cerror.S libgloss/sparc/libsys/configure libgloss/sparc/libsys/configure.in libgloss/sparc/libsys/isatty.c libgloss/sparc/libsys/libsys-crt0.S libgloss/sparc/libsys/sbrk.S libgloss/sparc/libsys/syscall.h libgloss/sparc/libsys/syscallasm.h libgloss/sparc/libsys/template.S libgloss/sparc/libsys/template_r.S libgloss/sparc/salib-701.c libgloss/sparc/salib.c libgloss/sparc/slite.h libgloss/sparc/sparc-stub.c libgloss/sparc/sparc86x.ld libgloss/sparc/sparcl-stub.c libgloss/sparc/sparclet-stub.c libgloss/sparc/sparclite.h libgloss/sparc/sysc-701.c libgloss/sparc/syscalls.c libgloss/sparc/test.c libgloss/sparc/traps.S libgloss/sparc/tsc701.ld libgloss/sparc_leon/Makefile.in libgloss/sparc_leon/_exit.c libgloss/sparc_leon/aclocal.m4 libgloss/sparc_leon/amba.c libgloss/sparc_leon/amba_dbg.c libgloss/sparc_leon/amba_driver.c libgloss/sparc_leon/amba_scan.c libgloss/sparc_leon/asm-leon/amba.h libgloss/sparc_leon/asm-leon/asmmacro.h libgloss/sparc_leon/asm-leon/clock.h libgloss/sparc_leon/asm-leon/contextswitch.h libgloss/sparc_leon/asm-leon/elfmacro.h libgloss/sparc_leon/asm-leon/head.h libgloss/sparc_leon/asm-leon/irq.h libgloss/sparc_leon/asm-leon/jiffies.h libgloss/sparc_leon/asm-leon/lambapp.h libgloss/sparc_leon/asm-leon/lambapp_devs.h libgloss/sparc_leon/asm-leon/leon.h libgloss/sparc_leon/asm-leon/leon3.h libgloss/sparc_leon/asm-leon/leonbare_debug.h libgloss/sparc_leon/asm-leon/leonbare_kernel.h libgloss/sparc_leon/asm-leon/leonbare_kernel_queue.h libgloss/sparc_leon/asm-leon/leoncompat.h libgloss/sparc_leon/asm-leon/leondbg.h libgloss/sparc_leon/asm-leon/leonstack.h libgloss/sparc_leon/asm-leon/liblocks.h libgloss/sparc_leon/asm-leon/linkage.h libgloss/sparc_leon/asm-leon/param.h libgloss/sparc_leon/asm-leon/queue.h libgloss/sparc_leon/asm-leon/spinlock.h libgloss/sparc_leon/asm-leon/stack.h libgloss/sparc_leon/asm-leon/time.h libgloss/sparc_leon/asm-leon/timer.h libgloss/sparc_leon/asm-leon/types.h libgloss/sparc_leon/asm-leon/winmacros.h libgloss/sparc_leon/bdinit.S libgloss/sparc_leon/busscan.S libgloss/sparc_leon/cacheA.S libgloss/sparc_leon/catch_interrupt.c libgloss/sparc_leon/catch_interrupt_mvt.c libgloss/sparc_leon/catch_interrupt_pending.c libgloss/sparc_leon/catch_interrupt_svt.c libgloss/sparc_leon/configure libgloss/sparc_leon/configure.in libgloss/sparc_leon/console.c libgloss/sparc_leon/console_dbg.c libgloss/sparc_leon/console_init.c libgloss/sparc_leon/contextswitch.c libgloss/sparc_leon/contextswitch_asm.S libgloss/sparc_leon/crt0.S libgloss/sparc_leon/crti.S libgloss/sparc_leon/crtn.S libgloss/sparc_leon/etrap.S libgloss/sparc_leon/etrap_fast.S libgloss/sparc_leon/fpu.S libgloss/sparc_leon/gettimeofday.c libgloss/sparc_leon/initcalls.c libgloss/sparc_leon/io.c libgloss/sparc_leon/irqinstall.S libgloss/sparc_leon/irqtrap.S libgloss/sparc_leon/irqtrap_fast.S libgloss/sparc_leon/jiffies.c libgloss/sparc_leon/kernel.c libgloss/sparc_leon/kernel_context.S libgloss/sparc_leon/kernel_debug.c libgloss/sparc_leon/kernel_debug_var.c libgloss/sparc_leon/kernel_mm.c libgloss/sparc_leon/kernel_mutex.c libgloss/sparc_leon/kernel_queue.c libgloss/sparc_leon/kernel_sched.c libgloss/sparc_leon/kernel_thread.c libgloss/sparc_leon/lcpuinit.S libgloss/sparc_leon/locore.S libgloss/sparc_leon/locore_atexit.c libgloss/sparc_leon/locore_clean.S libgloss/sparc_leon/locore_mvt.S libgloss/sparc_leon/locore_mvt_reset.S libgloss/sparc_leon/locore_svt.S libgloss/sparc_leon/locore_svt_reset.S libgloss/sparc_leon/locore_svtdisp.S libgloss/sparc_leon/locore_var.S libgloss/sparc_leon/locore_var_svt.S libgloss/sparc_leon/mmu_asm.S libgloss/sparc_leon/mutex.c libgloss/sparc_leon/nocache.S libgloss/sparc_leon/pnpinit.c libgloss/sparc_leon/pnpinit_malloc.c libgloss/sparc_leon/pnpinit_simple.c libgloss/sparc_leon/regwin.S libgloss/sparc_leon/regwin_patch.c libgloss/sparc_leon/regwin_slow.S libgloss/sparc_leon/regwinflush.S libgloss/sparc_leon/rtc.c libgloss/sparc_leon/rtrap.S libgloss/sparc_leon/rtrap_fast.S libgloss/sparc_leon/stop.S libgloss/sparc_leon/timer.c libgloss/sparc_leon/times.c libgloss/spu/Makefile.in libgloss/spu/access.c libgloss/spu/aclocal.m4 libgloss/spu/chdir.c libgloss/spu/chmod.c libgloss/spu/chown.c libgloss/spu/close.c libgloss/spu/configure libgloss/spu/configure.in libgloss/spu/conv_stat.c libgloss/spu/crt0.S libgloss/spu/crti.S libgloss/spu/crtn.S libgloss/spu/dirfuncs.c libgloss/spu/dup.c libgloss/spu/dup2.c libgloss/spu/exit.c libgloss/spu/fchdir.c libgloss/spu/fchmod.c libgloss/spu/fchown.c libgloss/spu/fdatasync.c libgloss/spu/fstat.c libgloss/spu/fsync.c libgloss/spu/ftruncate.c libgloss/spu/getcwd.c libgloss/spu/getitimer.c libgloss/spu/getpagesize.c libgloss/spu/getpid.c libgloss/spu/gettimeofday.c libgloss/spu/isatty.c libgloss/spu/jsre.h libgloss/spu/kill.c libgloss/spu/lchown.c libgloss/spu/link.c libgloss/spu/linux_getpid.c libgloss/spu/linux_gettid.c libgloss/spu/linux_syscalls.c libgloss/spu/lockf.c libgloss/spu/lseek.c libgloss/spu/lstat.c libgloss/spu/mkdir.c libgloss/spu/mknod.c libgloss/spu/mkstemp.c libgloss/spu/mktemp.c libgloss/spu/mmap_eaddr.c libgloss/spu/mremap_eaddr.c libgloss/spu/msync_eaddr.c libgloss/spu/munmap_eaddr.c libgloss/spu/nanosleep.c libgloss/spu/open.c libgloss/spu/pread.c libgloss/spu/pwrite.c libgloss/spu/read.c libgloss/spu/readlink.c libgloss/spu/readv.c libgloss/spu/rmdir.c libgloss/spu/sbrk.c libgloss/spu/sched_yield.c libgloss/spu/setitimer.c libgloss/spu/shm_open.c libgloss/spu/shm_unlink.c libgloss/spu/stat.c libgloss/spu/symlink.c libgloss/spu/sync.c libgloss/spu/syscalls.c libgloss/spu/times.c libgloss/spu/truncate.c libgloss/spu/umask.c libgloss/spu/unlink.c libgloss/spu/utime.c libgloss/spu/utimes.c libgloss/spu/write.c libgloss/spu/writev.c libgloss/stat.c libgloss/syscall.h libgloss/testsuite/Makefile.in libgloss/testsuite/config/hppa.mt libgloss/testsuite/config/m68k.mt libgloss/testsuite/config/mips.mt libgloss/testsuite/config/support.c libgloss/testsuite/configure.in libgloss/testsuite/lib/libgloss.exp libgloss/testsuite/libgloss.all/.gdbinit libgloss/testsuite/libgloss.all/Makefile.in libgloss/testsuite/libgloss.all/array.c libgloss/testsuite/libgloss.all/configure.in libgloss/testsuite/libgloss.all/div.c libgloss/testsuite/libgloss.all/double.c libgloss/testsuite/libgloss.all/float.c libgloss/testsuite/libgloss.all/func.c libgloss/testsuite/libgloss.all/io.c libgloss/testsuite/libgloss.all/math.c libgloss/testsuite/libgloss.all/memory.c libgloss/testsuite/libgloss.all/misc.c libgloss/testsuite/libgloss.all/printf.c libgloss/testsuite/libgloss.all/struct.c libgloss/testsuite/libgloss.all/varargs.c libgloss/testsuite/libgloss.all/varargs2.c libgloss/tic6x/Makefile.in libgloss/tic6x/aclocal.m4 libgloss/tic6x/configure libgloss/tic6x/configure.in libgloss/tic6x/crt0.S libgloss/tic6x/getpid.c libgloss/tic6x/kill.c libgloss/tic6x/sbrk.c libgloss/tic6x/syscalls.c libgloss/unlink.c libgloss/v850/Makefile.in libgloss/v850/_exit.c libgloss/v850/access.c libgloss/v850/aclocal.m4 libgloss/v850/chmod.c libgloss/v850/chown.c libgloss/v850/close.c libgloss/v850/configure libgloss/v850/configure.in libgloss/v850/creat.c libgloss/v850/crt0.S libgloss/v850/crt1.c libgloss/v850/execv.c libgloss/v850/execve.c libgloss/v850/fork.c libgloss/v850/fstat.c libgloss/v850/getpid.c libgloss/v850/gettime.c libgloss/v850/isatty.c libgloss/v850/kill.c libgloss/v850/link.c libgloss/v850/lseek.c libgloss/v850/open.c libgloss/v850/pipe.c libgloss/v850/read.c libgloss/v850/sbrk.c libgloss/v850/sim.ld libgloss/v850/stat.c libgloss/v850/sys/syscall.h libgloss/v850/time.c libgloss/v850/times.c libgloss/v850/trap.S libgloss/v850/unlink.c libgloss/v850/utime.c libgloss/v850/wait.c libgloss/v850/write.c libgloss/wince/Makefile.am libgloss/wince/Makefile.in libgloss/wince/aclocal.m4 libgloss/wince/configure libgloss/wince/configure.in libgloss/write.c libgloss/xc16x/Makefile.in libgloss/xc16x/aclocal.m4 libgloss/xc16x/close.S libgloss/xc16x/configure libgloss/xc16x/configure.in libgloss/xc16x/create.c libgloss/xc16x/crt0.S libgloss/xc16x/fstat.S libgloss/xc16x/getchar1.c libgloss/xc16x/isatty.c libgloss/xc16x/lseek.c libgloss/xc16x/mem-layout.c libgloss/xc16x/misc.c libgloss/xc16x/open.c libgloss/xc16x/read.c libgloss/xc16x/sbrk.c libgloss/xc16x/sys/syscall.h libgloss/xc16x/syscalls.c libgloss/xc16x/trap_handle.c libgloss/xc16x/write.c libgloss/xstormy16/Makefile.in libgloss/xstormy16/aclocal.m4 libgloss/xstormy16/close.c libgloss/xstormy16/configure libgloss/xstormy16/configure.in libgloss/xstormy16/crt0.s libgloss/xstormy16/crt0_stub.s libgloss/xstormy16/crti.s libgloss/xstormy16/crtn.s libgloss/xstormy16/eva_app.c libgloss/xstormy16/eva_app.ld libgloss/xstormy16/eva_stub.ld libgloss/xstormy16/fstat.c libgloss/xstormy16/getpid.c libgloss/xstormy16/isatty.c libgloss/xstormy16/kill.c libgloss/xstormy16/lseek.c libgloss/xstormy16/open.c libgloss/xstormy16/sim_high.ld libgloss/xstormy16/sim_malloc_start.s libgloss/xstormy16/sim_rom.ld libgloss/xstormy16/stat.c libgloss/xstormy16/syscalls.S libgloss/xstormy16/syscalls.m4 libgloss/xstormy16/unlink.c libgloss/xstormy16/xstormy16_stub.c newlib/libc/machine/or1k/Makefile.am newlib/libc/machine/or1k/Makefile.in newlib/libc/machine/or1k/aclocal.m4 newlib/libc/machine/or1k/configure newlib/libc/machine/or1k/configure.in newlib/libc/machine/or1k/setjmp.S newlib/libc/sys/tirtos/Makefile.am newlib/libc/sys/tirtos/Makefile.in newlib/libc/sys/tirtos/aclocal.m4 newlib/libc/sys/tirtos/configure newlib/libc/sys/tirtos/configure.in newlib/libc/sys/tirtos/include/sys/lock.h newlib/libc/sys/tirtos/lock.c texinfo/texinfo.tex winsup/cygserver/pwdgrp.cc winsup/cygwin/cygserver_pwdgrp.h winsup/cygwin/import/rexec.c winsup/cygwin/ldap.cc winsup/cygwin/ldap.h
-rwxr-xr-xdjunpack.bat52
-rw-r--r--libgloss/ChangeLog6746
-rw-r--r--libgloss/Makefile.in192
-rw-r--r--libgloss/README10
-rw-r--r--libgloss/aarch64/Makefile.in191
-rw-r--r--libgloss/aarch64/_exit.c41
-rw-r--r--libgloss/aarch64/_kill.c49
-rw-r--r--libgloss/aarch64/aclocal.m4404
-rwxr-xr-xlibgloss/aarch64/configure4033
-rw-r--r--libgloss/aarch64/configure.in65
-rw-r--r--libgloss/aarch64/cpu-init/Makefile.in108
-rw-r--r--libgloss/aarch64/cpu-init/aclocal.m4404
-rw-r--r--libgloss/aarch64/cpu-init/configure3867
-rw-r--r--libgloss/aarch64/cpu-init/configure.in50
-rw-r--r--libgloss/aarch64/cpu-init/rdimon-aem-el3.S168
-rw-r--r--libgloss/aarch64/crt0.S260
-rw-r--r--libgloss/aarch64/elf-aem-validation.specs12
-rw-r--r--libgloss/aarch64/elf-aem-ve.specs19
-rw-r--r--libgloss/aarch64/elf-rdimon.specs7
-rw-r--r--libgloss/aarch64/ftruncate.c34
-rw-r--r--libgloss/aarch64/libcfunc.c91
-rw-r--r--libgloss/aarch64/svc.h75
-rw-r--r--libgloss/aarch64/syscalls.c759
-rw-r--r--libgloss/aarch64/truncate.c34
-rw-r--r--libgloss/acinclude.m462
-rw-r--r--libgloss/aclocal.m4851
-rw-r--r--libgloss/arm/Makefile.in222
-rw-r--r--libgloss/arm/_exit.c15
-rw-r--r--libgloss/arm/_kill.c25
-rw-r--r--libgloss/arm/aclocal.m4344
-rw-r--r--libgloss/arm/arm.h62
-rw-r--r--libgloss/arm/coff-iq80310.specs8
-rw-r--r--libgloss/arm/coff-pid.specs8
-rw-r--r--libgloss/arm/coff-rdimon.specs8
-rw-r--r--libgloss/arm/coff-rdpmon.specs8
-rw-r--r--libgloss/arm/coff-redboot.ld54
-rw-r--r--libgloss/arm/coff-redboot.specs8
-rw-r--r--libgloss/arm/configure3897
-rw-r--r--libgloss/arm/configure.in97
-rw-r--r--libgloss/arm/cpu-init/Makefile.in87
-rw-r--r--libgloss/arm/cpu-init/rdimon-aem.S530
-rw-r--r--libgloss/arm/crt0.S520
-rw-r--r--libgloss/arm/elf-aprofile-validation.specs22
-rw-r--r--libgloss/arm/elf-aprofile-ve.specs22
-rw-r--r--libgloss/arm/elf-iq80310.specs8
-rw-r--r--libgloss/arm/elf-linux.specs11
-rw-r--r--libgloss/arm/elf-pid.specs8
-rw-r--r--libgloss/arm/elf-rdimon.specs11
-rw-r--r--libgloss/arm/elf-rdpmon.specs8
-rw-r--r--libgloss/arm/elf-redboot.ld220
-rw-r--r--libgloss/arm/elf-redboot.specs8
-rw-r--r--libgloss/arm/ftruncate.c34
-rw-r--r--libgloss/arm/libcfunc.c62
-rw-r--r--libgloss/arm/linux-crt0.c42
-rw-r--r--libgloss/arm/linux-syscall.h318
-rw-r--r--libgloss/arm/linux-syscalls0.S192
-rw-r--r--libgloss/arm/linux-syscalls1.c71
-rw-r--r--libgloss/arm/redboot-crt0.S132
-rw-r--r--libgloss/arm/redboot-syscalls.c284
-rw-r--r--libgloss/arm/swi.h91
-rw-r--r--libgloss/arm/syscall.h54
-rw-r--r--libgloss/arm/syscalls.c855
-rw-r--r--libgloss/arm/trap.S96
-rw-r--r--libgloss/arm/truncate.c34
-rw-r--r--libgloss/bfin/Makefile.in209
-rw-r--r--libgloss/bfin/_exit.c25
-rw-r--r--libgloss/bfin/aclocal.m4344
-rw-r--r--libgloss/bfin/basiccrt.S627
-rw-r--r--libgloss/bfin/bf504.ld26
-rw-r--r--libgloss/bfin/bf506.ld26
-rw-r--r--libgloss/bfin/bf512.ld27
-rw-r--r--libgloss/bfin/bf514.ld27
-rw-r--r--libgloss/bfin/bf516.ld27
-rw-r--r--libgloss/bfin/bf518.ld27
-rw-r--r--libgloss/bfin/bf522.ld27
-rw-r--r--libgloss/bfin/bf523.ld27
-rw-r--r--libgloss/bfin/bf524.ld27
-rw-r--r--libgloss/bfin/bf525.ld27
-rw-r--r--libgloss/bfin/bf526.ld27
-rw-r--r--libgloss/bfin/bf527.ld27
-rw-r--r--libgloss/bfin/bf531.ld26
-rw-r--r--libgloss/bfin/bf532.ld27
-rw-r--r--libgloss/bfin/bf533.ld27
-rw-r--r--libgloss/bfin/bf534.ld27
-rw-r--r--libgloss/bfin/bf536.ld27
-rw-r--r--libgloss/bfin/bf537.ld27
-rw-r--r--libgloss/bfin/bf538.ld27
-rw-r--r--libgloss/bfin/bf539.ld27
-rw-r--r--libgloss/bfin/bf542.ld27
-rw-r--r--libgloss/bfin/bf544.ld27
-rw-r--r--libgloss/bfin/bf547.ld27
-rw-r--r--libgloss/bfin/bf548.ld27
-rw-r--r--libgloss/bfin/bf549.ld27
-rw-r--r--libgloss/bfin/bf561.ld27
-rw-r--r--libgloss/bfin/bf561a.ld34
-rw-r--r--libgloss/bfin/bf561b.ld36
-rw-r--r--libgloss/bfin/bf561m.ld34
-rw-r--r--libgloss/bfin/bf592.ld26
-rw-r--r--libgloss/bfin/bf606.ld27
-rw-r--r--libgloss/bfin/bf606c0.ld34
-rw-r--r--libgloss/bfin/bf606c1.ld36
-rw-r--r--libgloss/bfin/bf606m.ld34
-rw-r--r--libgloss/bfin/bf607.ld27
-rw-r--r--libgloss/bfin/bf607c0.ld34
-rw-r--r--libgloss/bfin/bf607c1.ld36
-rw-r--r--libgloss/bfin/bf607m.ld34
-rw-r--r--libgloss/bfin/bf608.ld27
-rw-r--r--libgloss/bfin/bf608c0.ld34
-rw-r--r--libgloss/bfin/bf608c1.ld36
-rw-r--r--libgloss/bfin/bf608m.ld34
-rw-r--r--libgloss/bfin/bf609.ld27
-rw-r--r--libgloss/bfin/bf609c0.ld34
-rw-r--r--libgloss/bfin/bf609c1.ld36
-rw-r--r--libgloss/bfin/bf609m.ld34
-rw-r--r--libgloss/bfin/bfin-common-mc.ld260
-rw-r--r--libgloss/bfin/bfin-common-mc0.ld260
-rw-r--r--libgloss/bfin/bfin-common-sc.ld237
-rw-r--r--libgloss/bfin/clear_cache_range.c33
-rwxr-xr-xlibgloss/bfin/configure3731
-rw-r--r--libgloss/bfin/configure.in54
-rw-r--r--libgloss/bfin/crt0.S72
-rw-r--r--libgloss/bfin/include/blackfin.h16
-rw-r--r--libgloss/bfin/include/builtins.h295
-rw-r--r--libgloss/bfin/include/ccblkfn.h23
-rw-r--r--libgloss/bfin/include/cdefBF504.h34
-rw-r--r--libgloss/bfin/include/cdefBF504F.h34
-rw-r--r--libgloss/bfin/include/cdefBF506F.h32
-rw-r--r--libgloss/bfin/include/cdefBF50x_base.h1159
-rw-r--r--libgloss/bfin/include/cdefBF512.h39
-rw-r--r--libgloss/bfin/include/cdefBF514.h114
-rw-r--r--libgloss/bfin/include/cdefBF516.h200
-rw-r--r--libgloss/bfin/include/cdefBF518.h226
-rw-r--r--libgloss/bfin/include/cdefBF51x_base.h674
-rw-r--r--libgloss/bfin/include/cdefBF522.h39
-rw-r--r--libgloss/bfin/include/cdefBF523.h39
-rw-r--r--libgloss/bfin/include/cdefBF524.h294
-rw-r--r--libgloss/bfin/include/cdefBF525.h294
-rw-r--r--libgloss/bfin/include/cdefBF526.h380
-rw-r--r--libgloss/bfin/include/cdefBF527.h380
-rw-r--r--libgloss/bfin/include/cdefBF52x_base.h669
-rw-r--r--libgloss/bfin/include/cdefBF531.h26
-rw-r--r--libgloss/bfin/include/cdefBF532.h403
-rw-r--r--libgloss/bfin/include/cdefBF533.h26
-rw-r--r--libgloss/bfin/include/cdefBF534.h1007
-rw-r--r--libgloss/bfin/include/cdefBF535.h461
-rw-r--r--libgloss/bfin/include/cdefBF536.h33
-rw-r--r--libgloss/bfin/include/cdefBF537.h122
-rw-r--r--libgloss/bfin/include/cdefBF538.h1014
-rw-r--r--libgloss/bfin/include/cdefBF539.h1421
-rw-r--r--libgloss/bfin/include/cdefBF53x.h26
-rw-r--r--libgloss/bfin/include/cdefBF542.h364
-rw-r--r--libgloss/bfin/include/cdefBF542M.h30
-rw-r--r--libgloss/bfin/include/cdefBF544.h520
-rw-r--r--libgloss/bfin/include/cdefBF544M.h30
-rw-r--r--libgloss/bfin/include/cdefBF547.h499
-rw-r--r--libgloss/bfin/include/cdefBF547M.h30
-rw-r--r--libgloss/bfin/include/cdefBF548.h882
-rw-r--r--libgloss/bfin/include/cdefBF548M.h30
-rw-r--r--libgloss/bfin/include/cdefBF549.h1052
-rw-r--r--libgloss/bfin/include/cdefBF549M.h30
-rw-r--r--libgloss/bfin/include/cdefBF54x_base.h1519
-rw-r--r--libgloss/bfin/include/cdefBF561.h795
-rw-r--r--libgloss/bfin/include/cdefBF592-A.h32
-rw-r--r--libgloss/bfin/include/cdefBF59x_base.h468
-rw-r--r--libgloss/bfin/include/cdefBF606.h4153
-rw-r--r--libgloss/bfin/include/cdefBF607.h4153
-rw-r--r--libgloss/bfin/include/cdefBF608.h4419
-rw-r--r--libgloss/bfin/include/cdefBF609.h4419
-rw-r--r--libgloss/bfin/include/cdef_LPBlackfin.h189
-rw-r--r--libgloss/bfin/include/cdefblackfin.h189
-rw-r--r--libgloss/bfin/include/cplb.h94
-rw-r--r--libgloss/bfin/include/cplbtab.h72
-rw-r--r--libgloss/bfin/include/defBF504.h34
-rw-r--r--libgloss/bfin/include/defBF504F.h100
-rw-r--r--libgloss/bfin/include/defBF506F.h102
-rw-r--r--libgloss/bfin/include/defBF50x_base.h3445
-rw-r--r--libgloss/bfin/include/defBF512.h33
-rw-r--r--libgloss/bfin/include/defBF514.h490
-rw-r--r--libgloss/bfin/include/defBF516.h936
-rw-r--r--libgloss/bfin/include/defBF518.h962
-rw-r--r--libgloss/bfin/include/defBF51x_base.h2016
-rw-r--r--libgloss/bfin/include/defBF522.h33
-rw-r--r--libgloss/bfin/include/defBF523.h33
-rw-r--r--libgloss/bfin/include/defBF524.h704
-rw-r--r--libgloss/bfin/include/defBF525.h704
-rw-r--r--libgloss/bfin/include/defBF526.h1121
-rw-r--r--libgloss/bfin/include/defBF527.h1121
-rw-r--r--libgloss/bfin/include/defBF52x_base.h2101
-rw-r--r--libgloss/bfin/include/defBF531.h26
-rw-r--r--libgloss/bfin/include/defBF532.h1462
-rw-r--r--libgloss/bfin/include/defBF533.h26
-rw-r--r--libgloss/bfin/include/defBF534.h2733
-rw-r--r--libgloss/bfin/include/defBF535.h1154
-rw-r--r--libgloss/bfin/include/defBF536.h29
-rw-r--r--libgloss/bfin/include/defBF537.h441
-rw-r--r--libgloss/bfin/include/defBF538.h1948
-rw-r--r--libgloss/bfin/include/defBF539.h4344
-rw-r--r--libgloss/bfin/include/defBF542.h1238
-rw-r--r--libgloss/bfin/include/defBF542M.h30
-rw-r--r--libgloss/bfin/include/defBF544.h714
-rw-r--r--libgloss/bfin/include/defBF544M.h30
-rw-r--r--libgloss/bfin/include/defBF547.h1575
-rw-r--r--libgloss/bfin/include/defBF547M.h30
-rw-r--r--libgloss/bfin/include/defBF548.h1957
-rw-r--r--libgloss/bfin/include/defBF548M.h30
-rw-r--r--libgloss/bfin/include/defBF549.h3476
-rw-r--r--libgloss/bfin/include/defBF549M.h30
-rw-r--r--libgloss/bfin/include/defBF54x_base.h5701
-rw-r--r--libgloss/bfin/include/defBF561.h1865
-rw-r--r--libgloss/bfin/include/defBF592-A.h29
-rw-r--r--libgloss/bfin/include/defBF59x_base.h1111
-rw-r--r--libgloss/bfin/include/defBF606.h17724
-rw-r--r--libgloss/bfin/include/defBF607.h17724
-rw-r--r--libgloss/bfin/include/defBF608.h19426
-rw-r--r--libgloss/bfin/include/defBF609.h19426
-rw-r--r--libgloss/bfin/include/def_LPBlackfin.h479
-rw-r--r--libgloss/bfin/include/defblackfin.h462
-rw-r--r--libgloss/bfin/include/sys/_adi_platform.h230
-rw-r--r--libgloss/bfin/include/sys/anomaly_macros_rtl.h339
-rw-r--r--libgloss/bfin/include/sys/excause.h93
-rw-r--r--libgloss/bfin/include/sys/exception.h261
-rw-r--r--libgloss/bfin/include/sys/mc_typedef.h39
-rw-r--r--libgloss/bfin/include/sys/platform.h19
-rw-r--r--libgloss/bfin/include/sys/pll.h84
-rw-r--r--libgloss/bfin/include/sysreg.h102
-rw-r--r--libgloss/bfin/syscalls.c268
-rw-r--r--libgloss/close.c25
-rw-r--r--libgloss/config/default.mh31
-rw-r--r--libgloss/config/default.mt33
-rw-r--r--libgloss/config/dos.mh57
-rw-r--r--libgloss/config/mips.mt31
-rw-r--r--libgloss/config/mn10200.mt3
-rw-r--r--libgloss/config/mn10300.mt3
-rw-r--r--libgloss/config/ppc.mh35
-rw-r--r--libgloss/config/xc16x.mt3
-rwxr-xr-xlibgloss/configure4601
-rw-r--r--libgloss/configure.in219
-rw-r--r--libgloss/cr16/Makefile.in156
-rw-r--r--libgloss/cr16/_exit.c23
-rw-r--r--libgloss/cr16/_getenv.c36
-rw-r--r--libgloss/cr16/_rename.c21
-rw-r--r--libgloss/cr16/aclocal.m4404
-rw-r--r--libgloss/cr16/close.c21
-rw-r--r--libgloss/cr16/configure3975
-rw-r--r--libgloss/cr16/configure.in55
-rw-r--r--libgloss/cr16/crt1.S98
-rw-r--r--libgloss/cr16/crti.S47
-rw-r--r--libgloss/cr16/crtn.S41
-rw-r--r--libgloss/cr16/dvz_hndl.c23
-rw-r--r--libgloss/cr16/flg_hndl.c23
-rw-r--r--libgloss/cr16/fstat.c30
-rw-r--r--libgloss/cr16/getpid.c26
-rw-r--r--libgloss/cr16/iad_hndl.c23
-rw-r--r--libgloss/cr16/intable.c37
-rw-r--r--libgloss/cr16/isatty.c27
-rw-r--r--libgloss/cr16/kill.c30
-rw-r--r--libgloss/cr16/lseek.c21
-rw-r--r--libgloss/cr16/open.c41
-rw-r--r--libgloss/cr16/putnum.c41
-rw-r--r--libgloss/cr16/read.c21
-rw-r--r--libgloss/cr16/sbrk.c56
-rw-r--r--libgloss/cr16/sim.ld138
-rw-r--r--libgloss/cr16/stat.c30
-rw-r--r--libgloss/cr16/svc_hndl.c23
-rw-r--r--libgloss/cr16/sys/syscall.h41
-rw-r--r--libgloss/cr16/time.c56
-rw-r--r--libgloss/cr16/und_hndl.c23
-rw-r--r--libgloss/cr16/unlink.c21
-rw-r--r--libgloss/cr16/write.c21
-rw-r--r--libgloss/cris/Makefile.in278
-rw-r--r--libgloss/cris/aclocal.m4344
-rwxr-xr-xlibgloss/cris/configure3731
-rw-r--r--libgloss/cris/configure.in55
-rw-r--r--libgloss/cris/crt0.S85
-rw-r--r--libgloss/cris/crti.c77
-rw-r--r--libgloss/cris/crtn.c51
-rw-r--r--libgloss/cris/gensyscalls251
-rw-r--r--libgloss/cris/irqtable.S82
-rw-r--r--libgloss/cris/lcrt0.c128
-rw-r--r--libgloss/cris/linunistd.h421
-rw-r--r--libgloss/cris/outbyte.c9
-rw-r--r--libgloss/cris/setup.S47
-rw-r--r--libgloss/crx/Makefile.in156
-rw-r--r--libgloss/crx/_exit.c23
-rw-r--r--libgloss/crx/_getenv.c36
-rw-r--r--libgloss/crx/_rename.c21
-rw-r--r--libgloss/crx/aclocal.m4344
-rw-r--r--libgloss/crx/close.c21
-rwxr-xr-xlibgloss/crx/configure3777
-rw-r--r--libgloss/crx/configure.in39
-rw-r--r--libgloss/crx/crt0.S93
-rw-r--r--libgloss/crx/crti.S47
-rw-r--r--libgloss/crx/crtn.S41
-rw-r--r--libgloss/crx/dvz_hndl.c23
-rw-r--r--libgloss/crx/flg_hndl.c23
-rw-r--r--libgloss/crx/fstat.c30
-rw-r--r--libgloss/crx/getpid.c26
-rw-r--r--libgloss/crx/iad_hndl.c23
-rw-r--r--libgloss/crx/intable.c37
-rw-r--r--libgloss/crx/isatty.c27
-rw-r--r--libgloss/crx/kill.c29
-rw-r--r--libgloss/crx/lseek.c21
-rw-r--r--libgloss/crx/open.c41
-rw-r--r--libgloss/crx/putnum.c41
-rw-r--r--libgloss/crx/read.c21
-rw-r--r--libgloss/crx/sbrk.c56
-rw-r--r--libgloss/crx/sim.ld126
-rw-r--r--libgloss/crx/stat.c30
-rw-r--r--libgloss/crx/svc_hndl.c23
-rw-r--r--libgloss/crx/time.c56
-rw-r--r--libgloss/crx/und_hndl.c23
-rw-r--r--libgloss/crx/unlink.c21
-rw-r--r--libgloss/crx/write.c21
-rw-r--r--libgloss/d30v/Makefile.in129
-rw-r--r--libgloss/d30v/aclocal.m4344
-rwxr-xr-xlibgloss/d30v/configure3732
-rw-r--r--libgloss/d30v/configure.in55
-rw-r--r--libgloss/d30v/crt0.S56
-rw-r--r--libgloss/d30v/inbyte.c24
-rw-r--r--libgloss/d30v/outbyte.c21
-rw-r--r--libgloss/d30v/syscalls.c147
-rw-r--r--libgloss/debug.c848
-rw-r--r--libgloss/debug.h150
-rw-r--r--libgloss/doc/Makefile.in159
-rwxr-xr-xlibgloss/doc/configure2766
-rw-r--r--libgloss/doc/configure.in16
-rw-r--r--libgloss/doc/porting.texi2100
-rw-r--r--libgloss/epiphany/Makefile.in197
-rw-r--r--libgloss/epiphany/_exit.S35
-rw-r--r--libgloss/epiphany/_exit.c46
-rw-r--r--libgloss/epiphany/_isatty.c35
-rw-r--r--libgloss/epiphany/access.c32
-rw-r--r--libgloss/epiphany/aclocal.m4404
-rw-r--r--libgloss/epiphany/close.c52
-rw-r--r--libgloss/epiphany/config.h.in31
-rwxr-xr-xlibgloss/epiphany/configure4061
-rw-r--r--libgloss/epiphany/configure.in127
-rw-r--r--libgloss/epiphany/crt0.S166
-rw-r--r--libgloss/epiphany/environ.c37
-rw-r--r--libgloss/epiphany/epiphany-config.h67
-rw-r--r--libgloss/epiphany/epiphany-ivthandlers.S192
-rw-r--r--libgloss/epiphany/epiphany-syscalls.c271
-rw-r--r--libgloss/epiphany/epiphany-syscalls.h39
-rw-r--r--libgloss/epiphany/execve.c56
-rw-r--r--libgloss/epiphany/fork.c52
-rw-r--r--libgloss/epiphany/fstat.c49
-rw-r--r--libgloss/epiphany/getpid.c47
-rw-r--r--libgloss/epiphany/gettimeofday.c39
-rw-r--r--libgloss/epiphany/kill.c52
-rw-r--r--libgloss/epiphany/link.c53
-rw-r--r--libgloss/epiphany/lseek.c47
-rw-r--r--libgloss/epiphany/open.c49
-rw-r--r--libgloss/epiphany/read.c49
-rw-r--r--libgloss/epiphany/sbrk.c165
-rw-r--r--libgloss/epiphany/stat.c48
-rw-r--r--libgloss/epiphany/times.c53
-rw-r--r--libgloss/epiphany/unlink.c53
-rw-r--r--libgloss/epiphany/wait.c52
-rw-r--r--libgloss/epiphany/write.c52
-rw-r--r--libgloss/fr30/Makefile.in144
-rw-r--r--libgloss/fr30/aclocal.m4344
-rwxr-xr-xlibgloss/fr30/configure3777
-rw-r--r--libgloss/fr30/configure.in39
-rw-r--r--libgloss/fr30/crt0.s46
-rw-r--r--libgloss/fr30/syscalls.c145
-rw-r--r--libgloss/frv/Makefile.in125
-rw-r--r--libgloss/frv/aclocal.m4344
-rwxr-xr-xlibgloss/frv/configure3732
-rw-r--r--libgloss/frv/configure.in55
-rw-r--r--libgloss/frv/crt0.S276
-rw-r--r--libgloss/frv/fstat.c30
-rw-r--r--libgloss/frv/getpid.c25
-rw-r--r--libgloss/frv/isatty.c27
-rw-r--r--libgloss/frv/kill.c30
-rw-r--r--libgloss/frv/print.c27
-rw-r--r--libgloss/frv/putnum.c41
-rw-r--r--libgloss/frv/sbrk.c54
-rw-r--r--libgloss/frv/sim-close.S40
-rw-r--r--libgloss/frv/sim-exit.S36
-rw-r--r--libgloss/frv/sim-inbyte.c26
-rw-r--r--libgloss/frv/sim-lseek.S42
-rw-r--r--libgloss/frv/sim-open.S42
-rw-r--r--libgloss/frv/sim-read.S42
-rw-r--r--libgloss/frv/sim-time.c79
-rw-r--r--libgloss/frv/sim-unlink.S40
-rw-r--r--libgloss/frv/sim-write.S42
-rw-r--r--libgloss/frv/stat.c30
-rw-r--r--libgloss/fstat.c30
-rw-r--r--libgloss/getpid.c25
-rw-r--r--libgloss/glue.h31
-rw-r--r--libgloss/hp74x/Makefile.in216
-rw-r--r--libgloss/hp74x/README156
-rw-r--r--libgloss/hp74x/aclocal.m4344
-rw-r--r--libgloss/hp74x/checksum.c150
-rwxr-xr-xlibgloss/hp74x/configure3572
-rw-r--r--libgloss/hp74x/configure.in35
-rw-r--r--libgloss/hp74x/crt0.s177
-rw-r--r--libgloss/hp74x/debugger.h127
-rw-r--r--libgloss/hp74x/debugger.s585
-rw-r--r--libgloss/hp74x/diagnose.h168
-rw-r--r--libgloss/hp74x/hppa-defs.h123
-rw-r--r--libgloss/hp74x/hppa.ld64
-rw-r--r--libgloss/hp74x/io.c338
-rw-r--r--libgloss/hp74x/iva_table.h164
-rw-r--r--libgloss/hp74x/iva_table.s996
-rw-r--r--libgloss/hp74x/pa_stub.c698
-rw-r--r--libgloss/hp74x/test.c47
-rw-r--r--libgloss/i386/Makefile.in127
-rw-r--r--libgloss/i386/aclocal.m4344
-rwxr-xr-xlibgloss/i386/configure3749
-rw-r--r--libgloss/i386/configure.in79
-rw-r--r--libgloss/i386/cygmon-crt0.S79
-rw-r--r--libgloss/i386/cygmon-gmon.c362
-rw-r--r--libgloss/i386/cygmon-gmon.h35
-rw-r--r--libgloss/i386/cygmon-salib.c182
-rw-r--r--libgloss/i386/cygmon-syscall.h96
-rw-r--r--libgloss/i386/cygmon.ld101
-rw-r--r--libgloss/i960/Makefile.in143
-rw-r--r--libgloss/i960/aclocal.m4344
-rw-r--r--libgloss/i960/asm.h17
-rwxr-xr-xlibgloss/i960/configure3777
-rw-r--r--libgloss/i960/configure.in39
-rw-r--r--libgloss/i960/crt0.c66
-rw-r--r--libgloss/i960/mon-read.c18
-rw-r--r--libgloss/i960/mon-syscalls.S30
-rw-r--r--libgloss/i960/mon-write.c14
-rw-r--r--libgloss/i960/mon960.c83
-rw-r--r--libgloss/i960/mon960.ld36
-rw-r--r--libgloss/i960/syscall.h51
-rw-r--r--libgloss/iq2000/Makefile.in149
-rw-r--r--libgloss/iq2000/_exit.c35
-rw-r--r--libgloss/iq2000/access.c33
-rw-r--r--libgloss/iq2000/aclocal.m4344
-rw-r--r--libgloss/iq2000/chmod.c11
-rw-r--r--libgloss/iq2000/chown.c12
-rw-r--r--libgloss/iq2000/close.c11
-rwxr-xr-xlibgloss/iq2000/configure3755
-rw-r--r--libgloss/iq2000/configure.in80
-rw-r--r--libgloss/iq2000/creat.c12
-rw-r--r--libgloss/iq2000/crt0.S62
-rw-r--r--libgloss/iq2000/crt1.c31
-rw-r--r--libgloss/iq2000/execv.c11
-rw-r--r--libgloss/iq2000/execve.c11
-rw-r--r--libgloss/iq2000/fork.c11
-rw-r--r--libgloss/iq2000/fstat.c14
-rw-r--r--libgloss/iq2000/getpid.c10
-rw-r--r--libgloss/iq2000/gettime.c12
-rw-r--r--libgloss/iq2000/isatty.c11
-rw-r--r--libgloss/iq2000/kill.c11
-rw-r--r--libgloss/iq2000/lseek.c14
-rw-r--r--libgloss/iq2000/open.c12
-rw-r--r--libgloss/iq2000/pipe.c11
-rw-r--r--libgloss/iq2000/read.c12
-rw-r--r--libgloss/iq2000/sbrk.c30
-rw-r--r--libgloss/iq2000/sim.ld279
-rw-r--r--libgloss/iq2000/stat.c12
-rw-r--r--libgloss/iq2000/test.c39
-rw-r--r--libgloss/iq2000/time.c11
-rw-r--r--libgloss/iq2000/times.c12
-rw-r--r--libgloss/iq2000/trap.c13
-rw-r--r--libgloss/iq2000/trap.h5
-rw-r--r--libgloss/iq2000/unlink.c11
-rw-r--r--libgloss/iq2000/utime.c13
-rw-r--r--libgloss/iq2000/wait.c12
-rw-r--r--libgloss/iq2000/write.c13
-rw-r--r--libgloss/isatty.c27
-rw-r--r--libgloss/kill.c28
-rw-r--r--libgloss/libnosys/Makefile.in118
-rw-r--r--libgloss/libnosys/_exit.c19
-rw-r--r--libgloss/libnosys/acconfig.h26
-rw-r--r--libgloss/libnosys/aclocal.m4344
-rw-r--r--libgloss/libnosys/chown.c24
-rw-r--r--libgloss/libnosys/close.c21
-rw-r--r--libgloss/libnosys/config.h.in22
-rwxr-xr-xlibgloss/libnosys/configure4148
-rw-r--r--libgloss/libnosys/configure.in196
-rw-r--r--libgloss/libnosys/environ.c6
-rw-r--r--libgloss/libnosys/errno.c3
-rw-r--r--libgloss/libnosys/execve.c23
-rw-r--r--libgloss/libnosys/fork.c21
-rw-r--r--libgloss/libnosys/fstat.c24
-rw-r--r--libgloss/libnosys/getpid.c21
-rw-r--r--libgloss/libnosys/gettod.c26
-rw-r--r--libgloss/libnosys/isatty.c21
-rw-r--r--libgloss/libnosys/kill.c22
-rw-r--r--libgloss/libnosys/link.c22
-rw-r--r--libgloss/libnosys/lseek.c23
-rw-r--r--libgloss/libnosys/nosys.specs8
-rw-r--r--libgloss/libnosys/open.c23
-rw-r--r--libgloss/libnosys/read.c23
-rw-r--r--libgloss/libnosys/readlink.c24
-rw-r--r--libgloss/libnosys/sbrk.c21
-rw-r--r--libgloss/libnosys/stat.c24
-rw-r--r--libgloss/libnosys/symlink.c22
-rw-r--r--libgloss/libnosys/times.c22
-rw-r--r--libgloss/libnosys/unlink.c21
-rw-r--r--libgloss/libnosys/wait.c21
-rw-r--r--libgloss/libnosys/warning.h44
-rw-r--r--libgloss/libnosys/write.c24
-rw-r--r--libgloss/lm32/Makefile.in101
-rw-r--r--libgloss/lm32/aclocal.m4344
-rwxr-xr-xlibgloss/lm32/configure3851
-rw-r--r--libgloss/lm32/configure.in55
-rw-r--r--libgloss/lm32/crt0.S64
-rw-r--r--libgloss/lm32/isatty.c43
-rw-r--r--libgloss/lm32/scall.S123
-rw-r--r--libgloss/lm32/sim.ld149
-rw-r--r--libgloss/lseek.c31
-rw-r--r--libgloss/m32c/Makefile.in204
-rw-r--r--libgloss/m32c/abort.S50
-rw-r--r--libgloss/m32c/aclocal.m4344
-rw-r--r--libgloss/m32c/argv.S35
-rw-r--r--libgloss/m32c/argvlen.S35
-rw-r--r--libgloss/m32c/chdir.S35
-rw-r--r--libgloss/m32c/chmod.S35
-rw-r--r--libgloss/m32c/close.S35
-rwxr-xr-xlibgloss/m32c/configure3732
-rw-r--r--libgloss/m32c/configure.in55
-rw-r--r--libgloss/m32c/crt0.S186
-rw-r--r--libgloss/m32c/crtn.S58
-rw-r--r--libgloss/m32c/exit.S40
-rw-r--r--libgloss/m32c/fstat.S35
-rw-r--r--libgloss/m32c/genscript79
-rw-r--r--libgloss/m32c/getpid.S35
-rw-r--r--libgloss/m32c/gettimeofday.S35
-rw-r--r--libgloss/m32c/heaptop.S36
-rw-r--r--libgloss/m32c/isatty.S36
-rw-r--r--libgloss/m32c/kill.S35
-rw-r--r--libgloss/m32c/link.S35
-rw-r--r--libgloss/m32c/lseek.S35
-rw-r--r--libgloss/m32c/m32c.tmpl215
-rw-r--r--libgloss/m32c/m32csys.h44
-rw-r--r--libgloss/m32c/open.S35
-rw-r--r--libgloss/m32c/read.S35
-rw-r--r--libgloss/m32c/sample.c159
-rw-r--r--libgloss/m32c/sbrk.c53
-rw-r--r--libgloss/m32c/stat.S35
-rw-r--r--libgloss/m32c/time.S35
-rw-r--r--libgloss/m32c/times.S35
-rw-r--r--libgloss/m32c/unlink.S35
-rw-r--r--libgloss/m32c/utime.S35
-rw-r--r--libgloss/m32c/varvects.S43
-rw-r--r--libgloss/m32c/varvects.h54
-rw-r--r--libgloss/m32c/write.S35
-rw-r--r--libgloss/m32r/Makefile.in144
-rw-r--r--libgloss/m32r/aclocal.m4344
-rw-r--r--libgloss/m32r/chmod.c10
-rw-r--r--libgloss/m32r/close.c10
-rwxr-xr-xlibgloss/m32r/configure3785
-rw-r--r--libgloss/m32r/configure.in47
-rw-r--r--libgloss/m32r/crt0.S52
-rw-r--r--libgloss/m32r/eit.h13
-rw-r--r--libgloss/m32r/eva-stub.ld111
-rw-r--r--libgloss/m32r/eva.ld97
-rw-r--r--libgloss/m32r/exit.c10
-rw-r--r--libgloss/m32r/fstat.c11
-rw-r--r--libgloss/m32r/getpid.c6
-rw-r--r--libgloss/m32r/isatty.c8
-rw-r--r--libgloss/m32r/kill.c9
-rw-r--r--libgloss/m32r/lseek.c10
-rw-r--r--libgloss/m32r/m32r-lib.c147
-rw-r--r--libgloss/m32r/m32r-stub.c1779
-rw-r--r--libgloss/m32r/mon.specs3
-rw-r--r--libgloss/m32r/open.c10
-rw-r--r--libgloss/m32r/raise.c5
-rw-r--r--libgloss/m32r/read.c10
-rw-r--r--libgloss/m32r/sbrk.c34
-rw-r--r--libgloss/m32r/stat.c11
-rw-r--r--libgloss/m32r/trap0.S16
-rw-r--r--libgloss/m32r/trapmon0.c53
-rw-r--r--libgloss/m32r/unlink.c10
-rw-r--r--libgloss/m32r/utime.c12
-rw-r--r--libgloss/m32r/write.c10
-rw-r--r--libgloss/m68hc11/Makefile.in176
-rw-r--r--libgloss/m68hc11/aclocal.m4344
-rwxr-xr-xlibgloss/m68hc11/configure3733
-rw-r--r--libgloss/m68hc11/configure.in56
-rw-r--r--libgloss/m68hc11/crt0.S69
-rw-r--r--libgloss/m68hc11/sci-inout.S153
-rw-r--r--libgloss/m68hc11/sim-valid-m68hc11.ld310
-rw-r--r--libgloss/m68hc11/sim-valid-m68hc12.ld310
-rw-r--r--libgloss/m68hc11/syscalls.c74
-rw-r--r--libgloss/m68k/Makefile.in483
-rw-r--r--libgloss/m68k/README8
-rw-r--r--libgloss/m68k/aclocal.m4344
-rw-r--r--libgloss/m68k/asm.h155
-rw-r--r--libgloss/m68k/bcc.ld128
-rw-r--r--libgloss/m68k/cf-crt0.S56
-rw-r--r--libgloss/m68k/cf-crt1.c79
-rw-r--r--libgloss/m68k/cf-exit.c30
-rw-r--r--libgloss/m68k/cf-hosted.S36
-rw-r--r--libgloss/m68k/cf-isrs.c163
-rw-r--r--libgloss/m68k/cf-isv.S120
-rw-r--r--libgloss/m68k/cf-sbrk.c50
-rw-r--r--libgloss/m68k/cf.sc139
-rwxr-xr-xlibgloss/m68k/configure4995
-rw-r--r--libgloss/m68k/configure.in93
-rw-r--r--libgloss/m68k/cpu32bug.S118
-rw-r--r--libgloss/m68k/cpu32bug.h35
-rw-r--r--libgloss/m68k/crt0.S149
-rw-r--r--libgloss/m68k/dtor.C25
-rw-r--r--libgloss/m68k/fido-_exit.c23
-rw-r--r--libgloss/m68k/fido-crt0.S600
-rw-r--r--libgloss/m68k/fido-handler.c24
-rw-r--r--libgloss/m68k/fido-hosted.S35
-rw-r--r--libgloss/m68k/fido-sbrk.c15
-rw-r--r--libgloss/m68k/fido.h704
-rw-r--r--libgloss/m68k/fido.sc230
-rw-r--r--libgloss/m68k/fido_profiling.h24
-rw-r--r--libgloss/m68k/idp-inbyte.c41
-rw-r--r--libgloss/m68k/idp-outbyte.c74
-rw-r--r--libgloss/m68k/idp.ld147
-rw-r--r--libgloss/m68k/idpgdb.ld147
-rw-r--r--libgloss/m68k/io-close.c42
-rw-r--r--libgloss/m68k/io-exit.c29
-rw-r--r--libgloss/m68k/io-fstat.c49
-rw-r--r--libgloss/m68k/io-gdb.c140
-rw-r--r--libgloss/m68k/io-gettimeofday.c53
-rw-r--r--libgloss/m68k/io-isatty.c42
-rw-r--r--libgloss/m68k/io-lseek.c51
-rw-r--r--libgloss/m68k/io-open.c61
-rw-r--r--libgloss/m68k/io-read.c47
-rw-r--r--libgloss/m68k/io-rename.c50
-rw-r--r--libgloss/m68k/io-stat.c53
-rw-r--r--libgloss/m68k/io-system.c63
-rw-r--r--libgloss/m68k/io-time.c45
-rw-r--r--libgloss/m68k/io-unlink.c46
-rw-r--r--libgloss/m68k/io-write.c47
-rw-r--r--libgloss/m68k/io.h155
-rw-r--r--libgloss/m68k/leds.c78
-rw-r--r--libgloss/m68k/leds.h37
-rw-r--r--libgloss/m68k/mc68681reg.h43
-rw-r--r--libgloss/m68k/mc68ec.c48
-rw-r--r--libgloss/m68k/mvme-stub.c734
-rw-r--r--libgloss/m68k/mvme.S155
-rw-r--r--libgloss/m68k/mvme135-asm.S397
-rw-r--r--libgloss/m68k/mvme135.ld129
-rw-r--r--libgloss/m68k/mvme162.ld130
-rw-r--r--libgloss/m68k/mvme162lx-asm.S292
-rw-r--r--libgloss/m68k/sbc5204.ld128
-rw-r--r--libgloss/m68k/sbc5206.ld128
-rw-r--r--libgloss/m68k/sim-abort.c21
-rw-r--r--libgloss/m68k/sim-crt0.S121
-rw-r--r--libgloss/m68k/sim-errno.c28
-rw-r--r--libgloss/m68k/sim-funcs.c30
-rw-r--r--libgloss/m68k/sim-inbyte.c26
-rw-r--r--libgloss/m68k/sim-print.c43
-rw-r--r--libgloss/m68k/sim-sbrk.c30
-rw-r--r--libgloss/m68k/sim.ld88
-rw-r--r--libgloss/m68k/simulator.S84
-rw-r--r--libgloss/m68k/test.c26
-rw-r--r--libgloss/mcore/Makefile.in143
-rw-r--r--libgloss/mcore/aclocal.m4344
-rw-r--r--libgloss/mcore/close.c25
-rw-r--r--libgloss/mcore/cmb-exit.c27
-rw-r--r--libgloss/mcore/cmb-inbyte.c24
-rw-r--r--libgloss/mcore/cmb-outbyte.c46
-rwxr-xr-xlibgloss/mcore/configure3744
-rw-r--r--libgloss/mcore/configure.in65
-rw-r--r--libgloss/mcore/crt0.S49
-rw-r--r--libgloss/mcore/elf-cmb.ld191
-rw-r--r--libgloss/mcore/elf-cmb.specs3
-rw-r--r--libgloss/mcore/fstat.c30
-rw-r--r--libgloss/mcore/getpid.c25
-rw-r--r--libgloss/mcore/kill.c28
-rw-r--r--libgloss/mcore/lseek.c31
-rw-r--r--libgloss/mcore/open.c30
-rw-r--r--libgloss/mcore/pe-cmb.ld108
-rw-r--r--libgloss/mcore/pe-cmb.specs3
-rw-r--r--libgloss/mcore/print.c27
-rw-r--r--libgloss/mcore/putnum.c41
-rw-r--r--libgloss/mcore/raise.c22
-rw-r--r--libgloss/mcore/read.c39
-rw-r--r--libgloss/mcore/sbrk.c42
-rw-r--r--libgloss/mcore/stat.c30
-rw-r--r--libgloss/mcore/syscalls.S64
-rw-r--r--libgloss/mcore/unlink.c28
-rw-r--r--libgloss/mcore/write.c39
-rw-r--r--libgloss/mep/Makefile.in126
-rw-r--r--libgloss/mep/aclocal.m4344
-rwxr-xr-xlibgloss/mep/configure3711
-rw-r--r--libgloss/mep/configure.in66
-rw-r--r--libgloss/mep/crt0.S19
-rw-r--r--libgloss/mep/crtn.S13
-rw-r--r--libgloss/mep/default.ld332
-rw-r--r--libgloss/mep/fmax.ld270
-rw-r--r--libgloss/mep/gcov-io.h137
-rw-r--r--libgloss/mep/gmap_default.ld280
-rw-r--r--libgloss/mep/h_reset.c26
-rw-r--r--libgloss/mep/handlers.c297
-rw-r--r--libgloss/mep/isatty.c19
-rw-r--r--libgloss/mep/mep-bb.c1071
-rw-r--r--libgloss/mep/mep-gmon.c411
-rw-r--r--libgloss/mep/min.ld196
-rw-r--r--libgloss/mep/read.c36
-rw-r--r--libgloss/mep/sbrk.c59
-rw-r--r--libgloss/mep/sdram-crt0.S21
-rw-r--r--libgloss/mep/sim-crt0.S499
-rw-r--r--libgloss/mep/sim-crtn.S23
-rw-r--r--libgloss/mep/simnovec-crt0.S19
-rw-r--r--libgloss/mep/simple.ld279
-rw-r--r--libgloss/mep/simsdram-crt0.S19
-rw-r--r--libgloss/mep/syscalls.S66
-rw-r--r--libgloss/mep/write.c33
-rw-r--r--libgloss/microblaze/Makefile.in148
-rw-r--r--libgloss/microblaze/_exception_handler.S40
-rw-r--r--libgloss/microblaze/_hw_exception_handler.S38
-rw-r--r--libgloss/microblaze/_interrupt_handler.S38
-rw-r--r--libgloss/microblaze/_program_clean.S42
-rw-r--r--libgloss/microblaze/_program_init.S41
-rw-r--r--libgloss/microblaze/configure3227
-rw-r--r--libgloss/microblaze/configure.in60
-rw-r--r--libgloss/microblaze/crt0.S109
-rw-r--r--libgloss/microblaze/crt1.S102
-rw-r--r--libgloss/microblaze/crt2.S98
-rw-r--r--libgloss/microblaze/crt3.S84
-rw-r--r--libgloss/microblaze/crt4.S86
-rw-r--r--libgloss/microblaze/crtinit.S87
-rw-r--r--libgloss/microblaze/elf-gloss-linux.ld159
-rw-r--r--libgloss/microblaze/elf-gloss-linux.specs14
-rw-r--r--libgloss/microblaze/linux-crt0.S58
-rw-r--r--libgloss/microblaze/linux-inbyte.c6
-rw-r--r--libgloss/microblaze/linux-outbyte.c4
-rw-r--r--libgloss/microblaze/linux-syscalls-wrap.c7
-rw-r--r--libgloss/microblaze/linux-syscalls.S45
-rw-r--r--libgloss/microblaze/linux-syscalls.h28
-rw-r--r--libgloss/microblaze/pgcrtinit.S92
-rw-r--r--libgloss/microblaze/sbrk.c58
-rw-r--r--libgloss/microblaze/sim-crtinit.S69
-rw-r--r--libgloss/microblaze/sim-pgcrtinit.S72
-rw-r--r--libgloss/microblaze/timer.c40
-rw-r--r--libgloss/microblaze/xil_malloc.c804
-rw-r--r--libgloss/microblaze/xil_printf.c284
-rw-r--r--libgloss/microblaze/xil_sbrk.c46
-rw-r--r--libgloss/microblaze/xilinx.ld178
-rw-r--r--libgloss/mips/Makefile.in260
-rw-r--r--libgloss/mips/aclocal.m4344
-rw-r--r--libgloss/mips/array-io.c68
-rw-r--r--libgloss/mips/array.ld181
-rw-r--r--libgloss/mips/cfe.c107
-rw-r--r--libgloss/mips/cfe.ld173
-rw-r--r--libgloss/mips/cfe_api.c534
-rw-r--r--libgloss/mips/cfe_api.h231
-rw-r--r--libgloss/mips/cfe_api_int.h168
-rw-r--r--libgloss/mips/cfe_error.h101
-rw-r--r--libgloss/mips/cfe_mem.c130
-rw-r--r--libgloss/mips/cma101.c314
-rwxr-xr-xlibgloss/mips/configure3855
-rw-r--r--libgloss/mips/configure.in123
-rw-r--r--libgloss/mips/crt0.S288
-rw-r--r--libgloss/mips/crt0_cfe.S263
-rw-r--r--libgloss/mips/crt0_cygmon.S173
-rw-r--r--libgloss/mips/cygmon.c87
-rw-r--r--libgloss/mips/ddb-kseg0.ld166
-rw-r--r--libgloss/mips/ddb.ld166
-rw-r--r--libgloss/mips/dtor.C25
-rw-r--r--libgloss/mips/dve.ld167
-rw-r--r--libgloss/mips/dvemon.c83
-rw-r--r--libgloss/mips/entry.S281
-rw-r--r--libgloss/mips/idt.ld184
-rw-r--r--libgloss/mips/idt32.ld186
-rw-r--r--libgloss/mips/idt64.ld187
-rw-r--r--libgloss/mips/idtecoff.ld99
-rw-r--r--libgloss/mips/idtmon.S49
-rw-r--r--libgloss/mips/jmr3904-io.c104
-rw-r--r--libgloss/mips/jmr3904app-java.ld135
-rw-r--r--libgloss/mips/jmr3904app.ld168
-rw-r--r--libgloss/mips/jmr3904dram-java.ld138
-rw-r--r--libgloss/mips/jmr3904dram.ld135
-rw-r--r--libgloss/mips/lsi.ld132
-rw-r--r--libgloss/mips/lsipmon.S2
-rw-r--r--libgloss/mips/mti32.ld185
-rw-r--r--libgloss/mips/mti64.ld187
-rw-r--r--libgloss/mips/mti64_64.ld190
-rw-r--r--libgloss/mips/mti64_n32.ld190
-rw-r--r--libgloss/mips/nullmon.c64
-rw-r--r--libgloss/mips/nullmon.ld179
-rw-r--r--libgloss/mips/pmon.S177
-rw-r--r--libgloss/mips/pmon.ld178
-rw-r--r--libgloss/mips/regs.S156
-rw-r--r--libgloss/mips/sde32.ld185
-rw-r--r--libgloss/mips/sde64.ld187
-rw-r--r--libgloss/mips/syscalls.c45
-rw-r--r--libgloss/mips/test.c13
-rw-r--r--libgloss/mips/vr4300.S341
-rw-r--r--libgloss/mips/vr5xxx.S457
-rw-r--r--libgloss/mn10200/Makefile.in149
-rw-r--r--libgloss/mn10200/_exit.c29
-rw-r--r--libgloss/mn10200/access.c33
-rw-r--r--libgloss/mn10200/aclocal.m4344
-rw-r--r--libgloss/mn10200/chmod.c11
-rw-r--r--libgloss/mn10200/chown.c12
-rw-r--r--libgloss/mn10200/close.c11
-rwxr-xr-xlibgloss/mn10200/configure3753
-rw-r--r--libgloss/mn10200/configure.in80
-rw-r--r--libgloss/mn10200/creat.c12
-rw-r--r--libgloss/mn10200/crt0.S58
-rw-r--r--libgloss/mn10200/crt1.c16
-rw-r--r--libgloss/mn10200/eval.ld158
-rw-r--r--libgloss/mn10200/execv.c11
-rw-r--r--libgloss/mn10200/execve.c11
-rw-r--r--libgloss/mn10200/fork.c11
-rw-r--r--libgloss/mn10200/fstat.c14
-rw-r--r--libgloss/mn10200/getpid.c10
-rw-r--r--libgloss/mn10200/gettime.c12
-rw-r--r--libgloss/mn10200/isatty.c11
-rw-r--r--libgloss/mn10200/kill.c11
-rw-r--r--libgloss/mn10200/lseek.c14
-rw-r--r--libgloss/mn10200/open.c12
-rw-r--r--libgloss/mn10200/pipe.c11
-rw-r--r--libgloss/mn10200/read.c12
-rw-r--r--libgloss/mn10200/sbrk.c31
-rw-r--r--libgloss/mn10200/sim.ld153
-rw-r--r--libgloss/mn10200/stat.c12
-rw-r--r--libgloss/mn10200/test.c40
-rw-r--r--libgloss/mn10200/time.c11
-rw-r--r--libgloss/mn10200/times.c12
-rw-r--r--libgloss/mn10200/trap.S9
-rw-r--r--libgloss/mn10200/trap.h5
-rw-r--r--libgloss/mn10200/unlink.c11
-rw-r--r--libgloss/mn10200/utime.c13
-rw-r--r--libgloss/mn10200/wait.c12
-rw-r--r--libgloss/mn10200/write.c13
-rw-r--r--libgloss/mn10300/Makefile.in159
-rw-r--r--libgloss/mn10300/_exit.c29
-rw-r--r--libgloss/mn10300/access.c33
-rw-r--r--libgloss/mn10300/aclocal.m4344
-rw-r--r--libgloss/mn10300/asb2303.ld151
-rw-r--r--libgloss/mn10300/asb2305.ld151
-rw-r--r--libgloss/mn10300/chmod.c11
-rw-r--r--libgloss/mn10300/chown.c12
-rw-r--r--libgloss/mn10300/close.c11
-rwxr-xr-xlibgloss/mn10300/configure3769
-rw-r--r--libgloss/mn10300/configure.in92
-rw-r--r--libgloss/mn10300/creat.c12
-rw-r--r--libgloss/mn10300/crt0-eval.S82
-rw-r--r--libgloss/mn10300/crt0.S64
-rw-r--r--libgloss/mn10300/crt0_cygmon.S95
-rw-r--r--libgloss/mn10300/crt0_redboot.S97
-rw-r--r--libgloss/mn10300/crt1.c16
-rw-r--r--libgloss/mn10300/cygmon.c73
-rw-r--r--libgloss/mn10300/eval.ld151
-rw-r--r--libgloss/mn10300/execv.c11
-rw-r--r--libgloss/mn10300/execve.c11
-rw-r--r--libgloss/mn10300/fork.c11
-rw-r--r--libgloss/mn10300/fstat.c14
-rw-r--r--libgloss/mn10300/getpid.c10
-rw-r--r--libgloss/mn10300/gettime.c12
-rw-r--r--libgloss/mn10300/isatty.c11
-rw-r--r--libgloss/mn10300/kill.c11
-rw-r--r--libgloss/mn10300/lseek.c14
-rw-r--r--libgloss/mn10300/open.c12
-rw-r--r--libgloss/mn10300/pipe.c11
-rw-r--r--libgloss/mn10300/read.c12
-rw-r--r--libgloss/mn10300/sbrk.c31
-rw-r--r--libgloss/mn10300/sim.ld138
-rw-r--r--libgloss/mn10300/stat.c12
-rw-r--r--libgloss/mn10300/test.c39
-rw-r--r--libgloss/mn10300/time.c15
-rw-r--r--libgloss/mn10300/times.c12
-rw-r--r--libgloss/mn10300/trap.S9
-rw-r--r--libgloss/mn10300/trap.h5
-rw-r--r--libgloss/mn10300/unlink.c11
-rw-r--r--libgloss/mn10300/utime.c13
-rw-r--r--libgloss/mn10300/wait.c12
-rw-r--r--libgloss/mn10300/write.c13
-rw-r--r--libgloss/moxie/Makefile.in156
-rw-r--r--libgloss/moxie/aclocal.m4344
-rw-r--r--libgloss/moxie/configure3851
-rw-r--r--libgloss/moxie/configure.in70
-rw-r--r--libgloss/moxie/crt0.S47
-rw-r--r--libgloss/moxie/fstat.c30
-rw-r--r--libgloss/moxie/getpid.c25
-rw-r--r--libgloss/moxie/isatty.c27
-rw-r--r--libgloss/moxie/kill.c30
-rw-r--r--libgloss/moxie/moxie-elf-common.ld235
-rw-r--r--libgloss/moxie/moxiebox.ld232
-rw-r--r--libgloss/moxie/print.c27
-rw-r--r--libgloss/moxie/putnum.c41
-rw-r--r--libgloss/moxie/qemu-time.c116
-rw-r--r--libgloss/moxie/qemu-write.c23
-rw-r--r--libgloss/moxie/qemu.ld2
-rw-r--r--libgloss/moxie/sbrk.c54
-rw-r--r--libgloss/moxie/sim-close.S37
-rw-r--r--libgloss/moxie/sim-exit.S33
-rw-r--r--libgloss/moxie/sim-inbyte.c26
-rw-r--r--libgloss/moxie/sim-lseek.S32
-rw-r--r--libgloss/moxie/sim-lseek.c32
-rw-r--r--libgloss/moxie/sim-open.S39
-rw-r--r--libgloss/moxie/sim-read.S39
-rw-r--r--libgloss/moxie/sim-time.c78
-rw-r--r--libgloss/moxie/sim-unlink.S28
-rw-r--r--libgloss/moxie/sim-write.S39
-rw-r--r--libgloss/moxie/sim.ld2
-rw-r--r--libgloss/moxie/stat.c30
-rw-r--r--libgloss/msp430/Makefile.in178
-rw-r--r--libgloss/msp430/cio.c26
-rw-r--r--libgloss/msp430/cio.h42
-rw-r--r--libgloss/msp430/configure3815
-rw-r--r--libgloss/msp430/configure.in67
-rw-r--r--libgloss/msp430/crt0.S157
-rw-r--r--libgloss/msp430/crt_bss.S44
-rw-r--r--libgloss/msp430/crt_movedata.S50
-rw-r--r--libgloss/msp430/crtn.S32
-rw-r--r--libgloss/msp430/gcrt0.S17
-rw-r--r--libgloss/msp430/intr_vectors.ld71
-rw-r--r--libgloss/msp430/memmodel.h41
-rw-r--r--libgloss/msp430/msp430-sim.ld207
-rw-r--r--libgloss/msp430/msp430.ld200
-rw-r--r--libgloss/msp430/msp430F5438A-l.ld220
-rw-r--r--libgloss/msp430/msp430F5438A-s.ld206
-rw-r--r--libgloss/msp430/msp430xl-sim.ld217
-rw-r--r--libgloss/msp430/nosyscalls.S69
-rw-r--r--libgloss/msp430/sbrk.c33
-rw-r--r--libgloss/msp430/syscalls.S66
-rw-r--r--libgloss/msp430/unlink.c25
-rw-r--r--libgloss/msp430/write.c59
-rw-r--r--libgloss/mt/16-002.ld248
-rw-r--r--libgloss/mt/16-003.ld258
-rw-r--r--libgloss/mt/64-001.ld282
-rw-r--r--libgloss/mt/Makefile.in128
-rw-r--r--libgloss/mt/access.c33
-rw-r--r--libgloss/mt/aclocal.m4344
-rw-r--r--libgloss/mt/chmod.c11
-rw-r--r--libgloss/mt/close.c11
-rwxr-xr-xlibgloss/mt/configure3732
-rw-r--r--libgloss/mt/configure.in55
-rw-r--r--libgloss/mt/crt0-16-002.S111
-rw-r--r--libgloss/mt/crt0-16-003.S112
-rw-r--r--libgloss/mt/crt0-64-001.S144
-rw-r--r--libgloss/mt/crt0-ms2.S121
-rw-r--r--libgloss/mt/crt0.S63
-rw-r--r--libgloss/mt/exit-16-002.c12
-rw-r--r--libgloss/mt/exit-16-003.c12
-rw-r--r--libgloss/mt/exit-64-001.c12
-rw-r--r--libgloss/mt/exit-ms2.c12
-rw-r--r--libgloss/mt/exit.c10
-rw-r--r--libgloss/mt/fstat.c14
-rw-r--r--libgloss/mt/getpid.c10
-rw-r--r--libgloss/mt/gettime.c12
-rw-r--r--libgloss/mt/isatty.c11
-rw-r--r--libgloss/mt/kill.c11
-rw-r--r--libgloss/mt/lseek.c14
-rw-r--r--libgloss/mt/ms2.ld271
-rw-r--r--libgloss/mt/open.c11
-rw-r--r--libgloss/mt/read.c12
-rw-r--r--libgloss/mt/sbrk.c24
-rw-r--r--libgloss/mt/startup-16-002.S628
-rw-r--r--libgloss/mt/startup-16-003.S838
-rw-r--r--libgloss/mt/startup-64-001.S378
-rw-r--r--libgloss/mt/startup-ms2.S840
-rw-r--r--libgloss/mt/stat.c12
-rw-r--r--libgloss/mt/time.c11
-rw-r--r--libgloss/mt/times.c12
-rw-r--r--libgloss/mt/trap.S34
-rw-r--r--libgloss/mt/trap.h5
-rw-r--r--libgloss/mt/unlink.c11
-rw-r--r--libgloss/mt/utime.c13
-rw-r--r--libgloss/mt/write.c13
-rw-r--r--libgloss/nds32/Makefile.in146
-rw-r--r--libgloss/nds32/_argv.S36
-rw-r--r--libgloss/nds32/_argvlen.S36
-rw-r--r--libgloss/nds32/_chdir.S36
-rw-r--r--libgloss/nds32/_chmod.S37
-rw-r--r--libgloss/nds32/_close.S42
-rw-r--r--libgloss/nds32/_exit.S48
-rw-r--r--libgloss/nds32/_fstat.S43
-rw-r--r--libgloss/nds32/_getpid.S37
-rw-r--r--libgloss/nds32/_gettimeofday.S42
-rw-r--r--libgloss/nds32/_isatty.S42
-rw-r--r--libgloss/nds32/_kill.S37
-rw-r--r--libgloss/nds32/_link.S36
-rw-r--r--libgloss/nds32/_lseek.S42
-rw-r--r--libgloss/nds32/_open.S42
-rw-r--r--libgloss/nds32/_read.S42
-rw-r--r--libgloss/nds32/_rename.S42
-rw-r--r--libgloss/nds32/_sbrk.S80
-rw-r--r--libgloss/nds32/_stat.S42
-rw-r--r--libgloss/nds32/_system.S42
-rw-r--r--libgloss/nds32/_time.S36
-rw-r--r--libgloss/nds32/_times.S36
-rw-r--r--libgloss/nds32/_unlink.S43
-rw-r--r--libgloss/nds32/_utime.S36
-rw-r--r--libgloss/nds32/_write.S42
-rw-r--r--libgloss/nds32/aclocal.m4409
-rwxr-xr-xlibgloss/nds32/configure3924
-rw-r--r--libgloss/nds32/configure.in47
-rw-r--r--libgloss/nds32/crt0.S131
-rw-r--r--libgloss/nds32/crt1.S138
-rw-r--r--libgloss/nds32/syscall_error_handler.S52
-rw-r--r--libgloss/nds32/syscall_extra.h58
-rw-r--r--libgloss/nds32/vh.h123
-rw-r--r--libgloss/open.c31
-rw-r--r--libgloss/pa/Makefile.in156
-rw-r--r--libgloss/pa/README82
-rw-r--r--libgloss/pa/aclocal.m4344
-rwxr-xr-xlibgloss/pa/configure3742
-rw-r--r--libgloss/pa/configure.in71
-rw-r--r--libgloss/pa/crt0.S128
-rw-r--r--libgloss/pa/hp-milli.s1998
-rw-r--r--libgloss/pa/op50n-io.S120
-rw-r--r--libgloss/pa/op50n.h31
-rw-r--r--libgloss/pa/op50n.ld54
-rw-r--r--libgloss/pa/op50nled.c81
-rw-r--r--libgloss/pa/setjmp.S140
-rw-r--r--libgloss/pa/test.c41
-rw-r--r--libgloss/pa/w89k-io.c74
-rw-r--r--libgloss/pa/w89k.h25
-rw-r--r--libgloss/pa/w89k.ld54
-rw-r--r--libgloss/print.c27
-rw-r--r--libgloss/putnum.c41
-rw-r--r--libgloss/read.c39
-rw-r--r--libgloss/rl78/Makefile.in160
-rw-r--r--libgloss/rl78/abort.S50
-rw-r--r--libgloss/rl78/argv.S35
-rw-r--r--libgloss/rl78/argvlen.S35
-rw-r--r--libgloss/rl78/chdir.S35
-rw-r--r--libgloss/rl78/chmod.S35
-rw-r--r--libgloss/rl78/close.S35
-rw-r--r--libgloss/rl78/configure3815
-rw-r--r--libgloss/rl78/configure.in55
-rw-r--r--libgloss/rl78/crt0.S331
-rw-r--r--libgloss/rl78/crtn.S47
-rw-r--r--libgloss/rl78/exit.S43
-rw-r--r--libgloss/rl78/fstat.S35
-rw-r--r--libgloss/rl78/gcrt0.S58
-rw-r--r--libgloss/rl78/getpid.S36
-rw-r--r--libgloss/rl78/gettimeofday.S35
-rw-r--r--libgloss/rl78/isatty.S36
-rw-r--r--libgloss/rl78/kill.S35
-rw-r--r--libgloss/rl78/link.S35
-rw-r--r--libgloss/rl78/lseek.S35
-rw-r--r--libgloss/rl78/mcount.c422
-rw-r--r--libgloss/rl78/open.S35
-rw-r--r--libgloss/rl78/read.S35
-rw-r--r--libgloss/rl78/rl78-sim.ld224
-rw-r--r--libgloss/rl78/rl78-sys.h84
-rw-r--r--libgloss/rl78/rl78.ld224
-rw-r--r--libgloss/rl78/sbrk.c57
-rw-r--r--libgloss/rl78/stat.S35
-rw-r--r--libgloss/rl78/time.S35
-rw-r--r--libgloss/rl78/times.S35
-rw-r--r--libgloss/rl78/unlink.S35
-rw-r--r--libgloss/rl78/utime.S35
-rw-r--r--libgloss/rl78/write.c107
-rw-r--r--libgloss/rs6000/Makefile.in394
-rw-r--r--libgloss/rs6000/aclocal.m4344
-rw-r--r--libgloss/rs6000/ads-exit.S28
-rw-r--r--libgloss/rs6000/ads-io.c55
-rw-r--r--libgloss/rs6000/ads.ld155
-rwxr-xr-xlibgloss/rs6000/configure3732
-rw-r--r--libgloss/rs6000/configure.in55
-rw-r--r--libgloss/rs6000/crt0.S128
-rw-r--r--libgloss/rs6000/mbx-exit.c27
-rw-r--r--libgloss/rs6000/mbx-inbyte.c60
-rw-r--r--libgloss/rs6000/mbx-outbyte.c71
-rw-r--r--libgloss/rs6000/mbx-print.c31
-rw-r--r--libgloss/rs6000/mbx.ld135
-rw-r--r--libgloss/rs6000/mbx.specs12
-rw-r--r--libgloss/rs6000/mcount.S27
-rw-r--r--libgloss/rs6000/mvme-errno.c23
-rw-r--r--libgloss/rs6000/mvme-exit.S32
-rw-r--r--libgloss/rs6000/mvme-inbyte.S31
-rw-r--r--libgloss/rs6000/mvme-outbyte.S43
-rw-r--r--libgloss/rs6000/mvme-print.c76
-rw-r--r--libgloss/rs6000/mvme-read.c49
-rw-r--r--libgloss/rs6000/sim-abort.c21
-rw-r--r--libgloss/rs6000/sim-crt0.S45
-rw-r--r--libgloss/rs6000/sim-errno.c28
-rw-r--r--libgloss/rs6000/sim-getrusage.S25
-rw-r--r--libgloss/rs6000/sim-inbyte.c26
-rw-r--r--libgloss/rs6000/sim-print.c43
-rw-r--r--libgloss/rs6000/sim-sbrk.c30
-rw-r--r--libgloss/rs6000/sim-times.c40
-rw-r--r--libgloss/rs6000/simulator.S95
-rw-r--r--libgloss/rs6000/sol-cfuncs.c277
-rw-r--r--libgloss/rs6000/sol-syscall.S280
-rw-r--r--libgloss/rs6000/test.c23
-rw-r--r--libgloss/rs6000/xil-crt0.S192
-rw-r--r--libgloss/rs6000/xilinx.ld307
-rw-r--r--libgloss/rs6000/xilinx440.ld302
-rw-r--r--libgloss/rs6000/yellowknife.ld147
-rw-r--r--libgloss/rx/Makefile.in164
-rw-r--r--libgloss/rx/abort.S45
-rw-r--r--libgloss/rx/argv.S35
-rw-r--r--libgloss/rx/argvlen.S35
-rw-r--r--libgloss/rx/chdir.S35
-rw-r--r--libgloss/rx/chmod.S35
-rw-r--r--libgloss/rx/close.S35
-rw-r--r--libgloss/rx/configure3948
-rw-r--r--libgloss/rx/configure.in55
-rw-r--r--libgloss/rx/crt0.S191
-rw-r--r--libgloss/rx/crtn.S47
-rw-r--r--libgloss/rx/exit.S40
-rw-r--r--libgloss/rx/fstat.S35
-rw-r--r--libgloss/rx/gcrt0.S25
-rw-r--r--libgloss/rx/getpid.S35
-rw-r--r--libgloss/rx/gettimeofday.S35
-rw-r--r--libgloss/rx/heaptop.S36
-rw-r--r--libgloss/rx/isatty.S35
-rw-r--r--libgloss/rx/kill.S35
-rw-r--r--libgloss/rx/link.S35
-rw-r--r--libgloss/rx/lseek.S35
-rw-r--r--libgloss/rx/mcount.c422
-rw-r--r--libgloss/rx/open.S35
-rw-r--r--libgloss/rx/read.S35
-rw-r--r--libgloss/rx/rx-sim.ld226
-rw-r--r--libgloss/rx/rx.ld230
-rw-r--r--libgloss/rx/rxsys.h60
-rw-r--r--libgloss/rx/sbrk.c47
-rw-r--r--libgloss/rx/sigprocmask.S37
-rw-r--r--libgloss/rx/sleep.S37
-rw-r--r--libgloss/rx/stat.S35
-rw-r--r--libgloss/rx/time.S35
-rw-r--r--libgloss/rx/times.S35
-rw-r--r--libgloss/rx/unlink.S35
-rw-r--r--libgloss/rx/utime.S35
-rw-r--r--libgloss/rx/write.S35
-rw-r--r--libgloss/sbrk.c55
-rw-r--r--libgloss/sh/sh1lcevb.ld114
-rw-r--r--libgloss/sh/sh2lcevb.ld110
-rw-r--r--libgloss/sh/sh3bb.ld112
-rw-r--r--libgloss/sh/sh3lcevb.ld110
-rw-r--r--libgloss/sparc/Makefile.in287
-rw-r--r--libgloss/sparc/aclocal.m4344
-rw-r--r--libgloss/sparc/asm.h39
-rw-r--r--libgloss/sparc/cache.c147
-rwxr-xr-xlibgloss/sparc/configure3932
-rw-r--r--libgloss/sparc/configure.in85
-rw-r--r--libgloss/sparc/crt0-701.S105
-rw-r--r--libgloss/sparc/crt0.S186
-rw-r--r--libgloss/sparc/cygmon-crt0.S144
-rw-r--r--libgloss/sparc/cygmon-salib.c220
-rw-r--r--libgloss/sparc/cygmon-sparc64-ld.src160
-rw-r--r--libgloss/sparc/cygmon.ld.src196
-rw-r--r--libgloss/sparc/dtor.C25
-rw-r--r--libgloss/sparc/elfsim.ld203
-rw-r--r--libgloss/sparc/erc32-crt0.S75
-rw-r--r--libgloss/sparc/erc32-io.c47
-rw-r--r--libgloss/sparc/erc32-stub.c363
-rw-r--r--libgloss/sparc/erc32.ld146
-rw-r--r--libgloss/sparc/ex930.ld161
-rw-r--r--libgloss/sparc/ex931.ld161
-rw-r--r--libgloss/sparc/ex934.ld161
-rw-r--r--libgloss/sparc/fixctors.c54
-rw-r--r--libgloss/sparc/libsys/Makefile.in168
-rw-r--r--libgloss/sparc/libsys/_exit.S14
-rw-r--r--libgloss/sparc/libsys/aclocal.m4344
-rw-r--r--libgloss/sparc/libsys/cerror.S47
-rwxr-xr-xlibgloss/sparc/libsys/configure3572
-rw-r--r--libgloss/sparc/libsys/configure.in51
-rw-r--r--libgloss/sparc/libsys/isatty.c17
-rw-r--r--libgloss/sparc/libsys/libsys-crt0.S127
-rw-r--r--libgloss/sparc/libsys/sbrk.S66
-rw-r--r--libgloss/sparc/libsys/syscall.h39
-rw-r--r--libgloss/sparc/libsys/syscallasm.h93
-rw-r--r--libgloss/sparc/libsys/template.S14
-rw-r--r--libgloss/sparc/libsys/template_r.S26
-rw-r--r--libgloss/sparc/salib-701.c288
-rw-r--r--libgloss/sparc/salib.c388
-rw-r--r--libgloss/sparc/slite.h127
-rw-r--r--libgloss/sparc/sparc-stub.c848
-rw-r--r--libgloss/sparc/sparc86x.ld178
-rw-r--r--libgloss/sparc/sparcl-stub.c1005
-rw-r--r--libgloss/sparc/sparclet-stub.c1233
-rw-r--r--libgloss/sparc/sparclite.h81
-rw-r--r--libgloss/sparc/sysc-701.c55
-rw-r--r--libgloss/sparc/syscalls.c85
-rw-r--r--libgloss/sparc/test.c69
-rw-r--r--libgloss/sparc/traps.S651
-rw-r--r--libgloss/sparc/tsc701.ld55
-rw-r--r--libgloss/sparc_leon/Makefile.in161
-rw-r--r--libgloss/sparc_leon/_exit.c30
-rw-r--r--libgloss/sparc_leon/aclocal.m4404
-rw-r--r--libgloss/sparc_leon/amba.c152
-rw-r--r--libgloss/sparc_leon/amba_dbg.c147
-rw-r--r--libgloss/sparc_leon/amba_driver.c119
-rw-r--r--libgloss/sparc_leon/amba_scan.c96
-rw-r--r--libgloss/sparc_leon/asm-leon/amba.h429
-rw-r--r--libgloss/sparc_leon/asm-leon/asmmacro.h54
-rw-r--r--libgloss/sparc_leon/asm-leon/clock.h45
-rw-r--r--libgloss/sparc_leon/asm-leon/contextswitch.h58
-rw-r--r--libgloss/sparc_leon/asm-leon/elfmacro.h79
-rw-r--r--libgloss/sparc_leon/asm-leon/head.h39
-rw-r--r--libgloss/sparc_leon/asm-leon/irq.h101
-rw-r--r--libgloss/sparc_leon/asm-leon/jiffies.h104
-rw-r--r--libgloss/sparc_leon/asm-leon/lambapp.h177
-rw-r--r--libgloss/sparc_leon/asm-leon/lambapp_devs.h242
-rw-r--r--libgloss/sparc_leon/asm-leon/leon.h370
-rw-r--r--libgloss/sparc_leon/asm-leon/leon3.h107
-rw-r--r--libgloss/sparc_leon/asm-leon/leonbare_debug.h125
-rw-r--r--libgloss/sparc_leon/asm-leon/leonbare_kernel.h438
-rw-r--r--libgloss/sparc_leon/asm-leon/leonbare_kernel_queue.h148
-rw-r--r--libgloss/sparc_leon/asm-leon/leoncompat.h39
-rw-r--r--libgloss/sparc_leon/asm-leon/leondbg.h33
-rw-r--r--libgloss/sparc_leon/asm-leon/leonstack.h177
-rw-r--r--libgloss/sparc_leon/asm-leon/liblocks.h40
-rw-r--r--libgloss/sparc_leon/asm-leon/linkage.h59
-rw-r--r--libgloss/sparc_leon/asm-leon/param.h33
-rw-r--r--libgloss/sparc_leon/asm-leon/queue.h570
-rw-r--r--libgloss/sparc_leon/asm-leon/spinlock.h69
-rw-r--r--libgloss/sparc_leon/asm-leon/stack.h77
-rw-r--r--libgloss/sparc_leon/asm-leon/time.h33
-rw-r--r--libgloss/sparc_leon/asm-leon/timer.h75
-rw-r--r--libgloss/sparc_leon/asm-leon/types.h31
-rw-r--r--libgloss/sparc_leon/asm-leon/winmacros.h185
-rw-r--r--libgloss/sparc_leon/bdinit.S53
-rw-r--r--libgloss/sparc_leon/busscan.S148
-rw-r--r--libgloss/sparc_leon/cacheA.S51
-rw-r--r--libgloss/sparc_leon/catch_interrupt.c117
-rw-r--r--libgloss/sparc_leon/catch_interrupt_mvt.c55
-rw-r--r--libgloss/sparc_leon/catch_interrupt_pending.c64
-rw-r--r--libgloss/sparc_leon/catch_interrupt_svt.c76
-rwxr-xr-xlibgloss/sparc_leon/configure3877
-rw-r--r--libgloss/sparc_leon/configure.in58
-rw-r--r--libgloss/sparc_leon/console.c29
-rw-r--r--libgloss/sparc_leon/console_dbg.c354
-rw-r--r--libgloss/sparc_leon/console_init.c34
-rw-r--r--libgloss/sparc_leon/contextswitch.c121
-rw-r--r--libgloss/sparc_leon/contextswitch_asm.S101
-rw-r--r--libgloss/sparc_leon/crt0.S91
-rw-r--r--libgloss/sparc_leon/crti.S69
-rw-r--r--libgloss/sparc_leon/crtn.S63
-rw-r--r--libgloss/sparc_leon/etrap.S113
-rw-r--r--libgloss/sparc_leon/etrap_fast.S121
-rw-r--r--libgloss/sparc_leon/fpu.S111
-rw-r--r--libgloss/sparc_leon/gettimeofday.c272
-rw-r--r--libgloss/sparc_leon/initcalls.c45
-rw-r--r--libgloss/sparc_leon/io.c53
-rw-r--r--libgloss/sparc_leon/irqinstall.S41
-rw-r--r--libgloss/sparc_leon/irqtrap.S108
-rw-r--r--libgloss/sparc_leon/irqtrap_fast.S128
-rw-r--r--libgloss/sparc_leon/jiffies.c38
-rw-r--r--libgloss/sparc_leon/kernel.c217
-rw-r--r--libgloss/sparc_leon/kernel_context.S112
-rw-r--r--libgloss/sparc_leon/kernel_debug.c162
-rw-r--r--libgloss/sparc_leon/kernel_debug_var.c35
-rw-r--r--libgloss/sparc_leon/kernel_mm.c31
-rw-r--r--libgloss/sparc_leon/kernel_mutex.c107
-rw-r--r--libgloss/sparc_leon/kernel_queue.c59
-rw-r--r--libgloss/sparc_leon/kernel_sched.c84
-rw-r--r--libgloss/sparc_leon/kernel_thread.c214
-rw-r--r--libgloss/sparc_leon/lcpuinit.S143
-rw-r--r--libgloss/sparc_leon/locore.S170
-rw-r--r--libgloss/sparc_leon/locore_atexit.c50
-rw-r--r--libgloss/sparc_leon/locore_clean.S114
-rw-r--r--libgloss/sparc_leon/locore_mvt.S170
-rw-r--r--libgloss/sparc_leon/locore_mvt_reset.S52
-rw-r--r--libgloss/sparc_leon/locore_svt.S44
-rw-r--r--libgloss/sparc_leon/locore_svt_reset.S62
-rw-r--r--libgloss/sparc_leon/locore_svtdisp.S186
-rw-r--r--libgloss/sparc_leon/locore_var.S77
-rw-r--r--libgloss/sparc_leon/locore_var_svt.S37
-rw-r--r--libgloss/sparc_leon/mmu_asm.S45
-rw-r--r--libgloss/sparc_leon/mutex.c256
-rw-r--r--libgloss/sparc_leon/nocache.S117
-rw-r--r--libgloss/sparc_leon/pnpinit.c430
-rw-r--r--libgloss/sparc_leon/pnpinit_malloc.c679
-rw-r--r--libgloss/sparc_leon/pnpinit_simple.c34
-rw-r--r--libgloss/sparc_leon/regwin.S134
-rw-r--r--libgloss/sparc_leon/regwin_patch.c82
-rw-r--r--libgloss/sparc_leon/regwin_slow.S135
-rw-r--r--libgloss/sparc_leon/regwinflush.S285
-rw-r--r--libgloss/sparc_leon/rtc.c26
-rw-r--r--libgloss/sparc_leon/rtrap.S132
-rw-r--r--libgloss/sparc_leon/rtrap_fast.S158
-rw-r--r--libgloss/sparc_leon/stop.S31
-rw-r--r--libgloss/sparc_leon/timer.c146
-rw-r--r--libgloss/sparc_leon/times.c58
-rw-r--r--libgloss/spu/Makefile.in167
-rw-r--r--libgloss/spu/access.c50
-rw-r--r--libgloss/spu/aclocal.m4400
-rw-r--r--libgloss/spu/chdir.c41
-rw-r--r--libgloss/spu/chmod.c53
-rw-r--r--libgloss/spu/chown.c56
-rw-r--r--libgloss/spu/close.c39
-rw-r--r--libgloss/spu/configure3847
-rw-r--r--libgloss/spu/configure.in51
-rw-r--r--libgloss/spu/conv_stat.c57
-rw-r--r--libgloss/spu/crt0.S184
-rw-r--r--libgloss/spu/crti.S61
-rw-r--r--libgloss/spu/crtn.S64
-rw-r--r--libgloss/spu/dirfuncs.c175
-rw-r--r--libgloss/spu/dup.c38
-rw-r--r--libgloss/spu/dup2.c53
-rw-r--r--libgloss/spu/exit.c48
-rw-r--r--libgloss/spu/fchdir.c41
-rw-r--r--libgloss/spu/fchmod.c53
-rw-r--r--libgloss/spu/fchown.c56
-rw-r--r--libgloss/spu/fdatasync.c41
-rw-r--r--libgloss/spu/fstat.c56
-rw-r--r--libgloss/spu/fsync.c41
-rw-r--r--libgloss/spu/ftruncate.c50
-rw-r--r--libgloss/spu/getcwd.c109
-rw-r--r--libgloss/spu/getitimer.c45
-rw-r--r--libgloss/spu/getpagesize.c42
-rw-r--r--libgloss/spu/getpid.c38
-rw-r--r--libgloss/spu/gettimeofday.c53
-rw-r--r--libgloss/spu/isatty.c38
-rw-r--r--libgloss/spu/jsre.h120
-rw-r--r--libgloss/spu/kill.c46
-rw-r--r--libgloss/spu/lchown.c56
-rw-r--r--libgloss/spu/link.c53
-rw-r--r--libgloss/spu/linux_getpid.c50
-rw-r--r--libgloss/spu/linux_gettid.c50
-rw-r--r--libgloss/spu/linux_syscalls.c62
-rw-r--r--libgloss/spu/lockf.c56
-rw-r--r--libgloss/spu/lseek.c71
-rw-r--r--libgloss/spu/lstat.c58
-rw-r--r--libgloss/spu/mkdir.c53
-rw-r--r--libgloss/spu/mknod.c56
-rw-r--r--libgloss/spu/mkstemp.c41
-rw-r--r--libgloss/spu/mktemp.c41
-rw-r--r--libgloss/spu/mmap_eaddr.c67
-rw-r--r--libgloss/spu/mremap_eaddr.c61
-rw-r--r--libgloss/spu/msync_eaddr.c58
-rw-r--r--libgloss/spu/munmap_eaddr.c54
-rw-r--r--libgloss/spu/nanosleep.c52
-rw-r--r--libgloss/spu/open.c96
-rw-r--r--libgloss/spu/pread.c58
-rw-r--r--libgloss/spu/pwrite.c58
-rw-r--r--libgloss/spu/read.c55
-rw-r--r--libgloss/spu/readlink.c56
-rw-r--r--libgloss/spu/readv.c55
-rw-r--r--libgloss/spu/rmdir.c41
-rw-r--r--libgloss/spu/sbrk.c82
-rw-r--r--libgloss/spu/sched_yield.c49
-rw-r--r--libgloss/spu/setitimer.c45
-rw-r--r--libgloss/spu/shm_open.c53
-rw-r--r--libgloss/spu/shm_unlink.c38
-rw-r--r--libgloss/spu/stat.c57
-rw-r--r--libgloss/spu/symlink.c53
-rw-r--r--libgloss/spu/sync.c43
-rw-r--r--libgloss/spu/syscalls.c66
-rw-r--r--libgloss/spu/times.c45
-rw-r--r--libgloss/spu/truncate.c53
-rw-r--r--libgloss/spu/umask.c41
-rw-r--r--libgloss/spu/unlink.c39
-rw-r--r--libgloss/spu/utime.c54
-rw-r--r--libgloss/spu/utimes.c55
-rw-r--r--libgloss/spu/write.c55
-rw-r--r--libgloss/spu/writev.c55
-rw-r--r--libgloss/stat.c30
-rw-r--r--libgloss/syscall.h58
-rw-r--r--libgloss/testsuite/Makefile.in109
-rw-r--r--libgloss/testsuite/config/hppa.mt4
-rw-r--r--libgloss/testsuite/config/m68k.mt3
-rw-r--r--libgloss/testsuite/config/mips.mt3
-rw-r--r--libgloss/testsuite/config/support.c24
-rw-r--r--libgloss/testsuite/configure.in29
-rw-r--r--libgloss/testsuite/lib/libgloss.exp77
-rw-r--r--libgloss/testsuite/libgloss.all/.gdbinit82
-rw-r--r--libgloss/testsuite/libgloss.all/Makefile.in221
-rw-r--r--libgloss/testsuite/libgloss.all/array.c18
-rw-r--r--libgloss/testsuite/libgloss.all/configure.in54
-rw-r--r--libgloss/testsuite/libgloss.all/div.c35
-rw-r--r--libgloss/testsuite/libgloss.all/double.c33
-rw-r--r--libgloss/testsuite/libgloss.all/float.c20
-rw-r--r--libgloss/testsuite/libgloss.all/func.c26
-rw-r--r--libgloss/testsuite/libgloss.all/io.c71
-rw-r--r--libgloss/testsuite/libgloss.all/math.c88
-rw-r--r--libgloss/testsuite/libgloss.all/memory.c38
-rw-r--r--libgloss/testsuite/libgloss.all/misc.c167
-rw-r--r--libgloss/testsuite/libgloss.all/printf.c31
-rw-r--r--libgloss/testsuite/libgloss.all/struct.c65
-rw-r--r--libgloss/testsuite/libgloss.all/varargs.c46
-rw-r--r--libgloss/testsuite/libgloss.all/varargs2.c48
-rw-r--r--libgloss/tic6x/Makefile.in126
-rw-r--r--libgloss/tic6x/aclocal.m4404
-rwxr-xr-xlibgloss/tic6x/configure3974
-rw-r--r--libgloss/tic6x/configure.in54
-rw-r--r--libgloss/tic6x/crt0.S63
-rw-r--r--libgloss/tic6x/getpid.c26
-rw-r--r--libgloss/tic6x/kill.c29
-rw-r--r--libgloss/tic6x/sbrk.c59
-rw-r--r--libgloss/tic6x/syscalls.c382
-rw-r--r--libgloss/unlink.c28
-rw-r--r--libgloss/v850/Makefile.in151
-rw-r--r--libgloss/v850/_exit.c34
-rw-r--r--libgloss/v850/access.c33
-rw-r--r--libgloss/v850/aclocal.m4404
-rw-r--r--libgloss/v850/chmod.c16
-rw-r--r--libgloss/v850/chown.c16
-rw-r--r--libgloss/v850/close.c16
-rw-r--r--libgloss/v850/configure3975
-rw-r--r--libgloss/v850/configure.in55
-rw-r--r--libgloss/v850/creat.c17
-rw-r--r--libgloss/v850/crt0.S82
-rw-r--r--libgloss/v850/crt1.c16
-rw-r--r--libgloss/v850/execv.c16
-rw-r--r--libgloss/v850/execve.c16
-rw-r--r--libgloss/v850/fork.c16
-rw-r--r--libgloss/v850/fstat.c18
-rw-r--r--libgloss/v850/getpid.c15
-rw-r--r--libgloss/v850/gettime.c17
-rw-r--r--libgloss/v850/isatty.c16
-rw-r--r--libgloss/v850/kill.c19
-rw-r--r--libgloss/v850/link.c16
-rw-r--r--libgloss/v850/lseek.c18
-rw-r--r--libgloss/v850/open.c17
-rw-r--r--libgloss/v850/pipe.c16
-rw-r--r--libgloss/v850/read.c17
-rw-r--r--libgloss/v850/sbrk.c29
-rw-r--r--libgloss/v850/sim.ld201
-rw-r--r--libgloss/v850/stat.c17
-rw-r--r--libgloss/v850/sys/syscall.h42
-rw-r--r--libgloss/v850/time.c16
-rw-r--r--libgloss/v850/times.c17
-rw-r--r--libgloss/v850/trap.S10
-rw-r--r--libgloss/v850/unlink.c16
-rw-r--r--libgloss/v850/utime.c18
-rw-r--r--libgloss/v850/wait.c17
-rw-r--r--libgloss/v850/write.c18
-rw-r--r--libgloss/wince/Makefile.am12
-rw-r--r--libgloss/wince/Makefile.in332
-rw-r--r--libgloss/wince/aclocal.m4880
-rwxr-xr-xlibgloss/wince/configure4181
-rw-r--r--libgloss/wince/configure.in34
-rw-r--r--libgloss/write.c39
-rw-r--r--libgloss/xc16x/Makefile.in145
-rw-r--r--libgloss/xc16x/aclocal.m4404
-rw-r--r--libgloss/xc16x/close.S20
-rwxr-xr-xlibgloss/xc16x/configure3992
-rw-r--r--libgloss/xc16x/configure.in81
-rw-r--r--libgloss/xc16x/create.c39
-rw-r--r--libgloss/xc16x/crt0.S41
-rw-r--r--libgloss/xc16x/fstat.S20
-rw-r--r--libgloss/xc16x/getchar1.c19
-rw-r--r--libgloss/xc16x/isatty.c26
-rw-r--r--libgloss/xc16x/lseek.c21
-rw-r--r--libgloss/xc16x/mem-layout.c29
-rw-r--r--libgloss/xc16x/misc.c39
-rw-r--r--libgloss/xc16x/open.c38
-rw-r--r--libgloss/xc16x/read.c29
-rw-r--r--libgloss/xc16x/sbrk.c36
-rw-r--r--libgloss/xc16x/sys/syscall.h1
-rw-r--r--libgloss/xc16x/syscalls.c33
-rw-r--r--libgloss/xc16x/trap_handle.c67
-rw-r--r--libgloss/xc16x/write.c25
-rw-r--r--libgloss/xstormy16/Makefile.in131
-rw-r--r--libgloss/xstormy16/aclocal.m4344
-rw-r--r--libgloss/xstormy16/close.c25
-rwxr-xr-xlibgloss/xstormy16/configure3777
-rw-r--r--libgloss/xstormy16/configure.in38
-rw-r--r--libgloss/xstormy16/crt0.s114
-rw-r--r--libgloss/xstormy16/crt0_stub.s151
-rw-r--r--libgloss/xstormy16/crti.s9
-rw-r--r--libgloss/xstormy16/crtn.s5
-rw-r--r--libgloss/xstormy16/eva_app.c78
-rw-r--r--libgloss/xstormy16/eva_app.ld133
-rw-r--r--libgloss/xstormy16/eva_stub.ld142
-rw-r--r--libgloss/xstormy16/fstat.c30
-rw-r--r--libgloss/xstormy16/getpid.c25
-rw-r--r--libgloss/xstormy16/isatty.c27
-rw-r--r--libgloss/xstormy16/kill.c28
-rw-r--r--libgloss/xstormy16/lseek.c31
-rw-r--r--libgloss/xstormy16/open.c31
-rw-r--r--libgloss/xstormy16/sim_high.ld135
-rw-r--r--libgloss/xstormy16/sim_malloc_start.s5
-rw-r--r--libgloss/xstormy16/sim_rom.ld139
-rw-r--r--libgloss/xstormy16/stat.c30
-rw-r--r--libgloss/xstormy16/syscalls.S162
-rw-r--r--libgloss/xstormy16/syscalls.m440
-rw-r--r--libgloss/xstormy16/unlink.c28
-rw-r--r--libgloss/xstormy16/xstormy16_stub.c837
-rw-r--r--newlib/libc/machine/or1k/Makefile.am16
-rw-r--r--newlib/libc/machine/or1k/Makefile.in464
-rw-r--r--newlib/libc/machine/or1k/aclocal.m41248
-rwxr-xr-xnewlib/libc/machine/or1k/configure4778
-rw-r--r--newlib/libc/machine/or1k/configure.in14
-rw-r--r--newlib/libc/machine/or1k/setjmp.S100
-rw-r--r--newlib/libc/sys/tirtos/Makefile.am16
-rw-r--r--newlib/libc/sys/tirtos/Makefile.in438
-rw-r--r--newlib/libc/sys/tirtos/aclocal.m41012
-rwxr-xr-xnewlib/libc/sys/tirtos/configure4748
-rw-r--r--newlib/libc/sys/tirtos/configure.in14
-rw-r--r--newlib/libc/sys/tirtos/include/sys/lock.h109
-rw-r--r--newlib/libc/sys/tirtos/lock.c92
-rw-r--r--texinfo/texinfo.tex9291
-rw-r--r--winsup/ChangeLog4
-rw-r--r--winsup/Makefile.common2
-rw-r--r--winsup/cygserver/ChangeLog12
-rw-r--r--winsup/cygserver/Makefile.in4
-rw-r--r--winsup/cygserver/client.cc4
-rw-r--r--winsup/cygserver/pwdgrp.cc161
-rw-r--r--winsup/cygwin/ChangeLog932
-rw-r--r--winsup/cygwin/Makefile.in4
-rw-r--r--winsup/cygwin/autoload.cc34
-rw-r--r--winsup/cygwin/common.din1
-rw-r--r--winsup/cygwin/cpuid.h86
-rw-r--r--winsup/cygwin/cygheap.h130
-rw-r--r--winsup/cygwin/cygserver.h1
-rw-r--r--winsup/cygwin/cygserver_pwdgrp.h73
-rw-r--r--winsup/cygwin/cygtls.h11
-rw-r--r--winsup/cygwin/dcrt0.cc10
-rw-r--r--winsup/cygwin/dll_init.cc4
-rw-r--r--winsup/cygwin/errno.cc8
-rw-r--r--winsup/cygwin/external.cc131
-rw-r--r--winsup/cygwin/fhandler_disk_file.cc52
-rw-r--r--winsup/cygwin/fhandler_proc.cc189
-rw-r--r--winsup/cygwin/fhandler_process.cc1
-rw-r--r--winsup/cygwin/fhandler_random.cc7
-rw-r--r--winsup/cygwin/fhandler_registry.cc4
-rw-r--r--winsup/cygwin/grp.cc530
-rw-r--r--winsup/cygwin/import/rexec.c391
-rw-r--r--winsup/cygwin/include/cygwin/version.h6
-rw-r--r--winsup/cygwin/include/sys/cygwin.h14
-rw-r--r--winsup/cygwin/include/sys/file.h9
-rw-r--r--winsup/cygwin/ldap.cc629
-rw-r--r--winsup/cygwin/ldap.h80
-rw-r--r--winsup/cygwin/miscfuncs.cc76
-rw-r--r--winsup/cygwin/miscfuncs.h21
-rw-r--r--winsup/cygwin/mount.cc82
-rw-r--r--winsup/cygwin/passwd.cc674
-rw-r--r--winsup/cygwin/path.cc136
-rw-r--r--winsup/cygwin/path.h17
-rw-r--r--winsup/cygwin/pinfo.cc4
-rw-r--r--winsup/cygwin/pwdgrp.h256
-rw-r--r--winsup/cygwin/release/1.7.3218
-rw-r--r--winsup/cygwin/sec_acl.cc20
-rw-r--r--winsup/cygwin/sec_auth.cc112
-rw-r--r--winsup/cygwin/sec_helper.cc148
-rw-r--r--winsup/cygwin/security.cc99
-rw-r--r--winsup/cygwin/security.h80
-rw-r--r--winsup/cygwin/setlsapwd.cc5
-rw-r--r--winsup/cygwin/shared.cc2
-rw-r--r--winsup/cygwin/syscalls.cc2
-rw-r--r--winsup/cygwin/tlsoffsets.h216
-rw-r--r--winsup/cygwin/tlsoffsets64.h216
-rw-r--r--winsup/cygwin/uinfo.cc1582
-rw-r--r--winsup/cygwin/wincap.cc7
-rw-r--r--winsup/cygwin/wincap.h4
-rw-r--r--winsup/cygwin/winlean.h14
-rw-r--r--winsup/cygwin/winsup.h25
-rw-r--r--winsup/doc/ChangeLog26
-rw-r--r--winsup/doc/cygwin.xsl1
-rw-r--r--winsup/doc/faq-setup.xml15
-rw-r--r--winsup/doc/faq-using.xml21
-rw-r--r--winsup/doc/new-features.xml100
-rw-r--r--winsup/doc/ntsec.xml1538
-rw-r--r--winsup/doc/pathnames.xml4
-rw-r--r--winsup/utils/ChangeLog41
-rw-r--r--winsup/utils/mkgroup.c417
-rw-r--r--winsup/utils/mkpasswd.c448
-rw-r--r--winsup/utils/utils.xml215
1545 files changed, 2331 insertions, 499438 deletions
diff --git a/djunpack.bat b/djunpack.bat
deleted file mode 100755
index 5c6e9b2..0000000
--- a/djunpack.bat
+++ /dev/null
@@ -1,52 +0,0 @@
-@echo off
-Rem
-Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
-Rem format, or else stock DOS/Windows shells will refuse to run it.
-Rem
-Rem This batch file unpacks the GDB distribution while simultaneously
-Rem renaming some of the files whose names are invalid on DOS or conflict
-Rem with other file names after truncation to DOS 8+3 namespace.
-Rem
-Rem Invoke like this:
-Rem
-Rem djunpack gdb-XYZ.tar
-Rem
-Rem where XYZ is the version number. If the argument includes leading
-Rem directories, it MUST use backslashes, not forward slashes.
-Rem
-Rem The following 2 lines need to be changed with each new GDB release, to
-Rem be identical to the name of the top-level directory where the GDB
-Rem distribution unpacks itself.
-set GDBVER=gdb-5.0
-if "%GDBVER%"=="gdb-5.0" GoTo EnvOk
-Rem If their environment space is too small, re-exec with a larger one
-command.com /e:4096 /c %0 %1
-GoTo End
-:EnvOk
-if not exist %1 GoTo NoArchive
-djtar -x -p -o %GDBVER%/gdb/config/djgpp/fnchange.lst %1 > fnchange.tmp
-Rem The following uses a feature of COPY whereby it does not copy
-Rem empty files. We need that because the previous line will create
-Rem an empty fnchange.tmp even if the command failed for some reason.
-copy fnchange.tmp junk.tmp > nul
-if not exist junk.tmp GoTo NoDjTar
-del junk.tmp
-sed -e "s,@V@,%GDBVER%,g" < fnchange.tmp > fnchange.lst
-Rem See the comment above about the reason for using COPY.
-copy fnchange.lst junk.tmp > nul
-if not exist junk.tmp GoTo NoSed
-del junk.tmp
-djtar -x -n fnchange.lst %1
-GoTo End
-:NoSed
-echo FAIL: Sed is not available.
-GoTo End
-:NoDjTar
-echo FAIL: DJTAR is not available or no fnchange.lst file in %1.
-GoTo End
-:NoArchive
-echo FAIL: the file %1 does not seem to exist.
-echo Remember that %1 cannot use forward slashes, only backslashes.
-GoTo End
-:End
-set GDBVER=
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
deleted file mode 100644
index eea9cb6..0000000
--- a/libgloss/ChangeLog
+++ /dev/null
@@ -1,6746 +0,0 @@
-2014-07-27 Anthony Green <green@moxielogic.com>
-
- * moxie/Makefile.in (LD_SCRIPTS): Add moxiebox.ld
- Conditionally build and install crt0.o.
- * moxie/configure.in: Don't build crt0.o for moxiebox.
- * moxie/moxiebox.ld: New file.
-
-2014-07-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
-
- * arm/elf-aprofile-validation.specs (*link): Make text segment
- 64k-aligned.
- * arm/elf-aprofile-ve.specs (*link): Likewise.
-
-2014-04-30 Nick Clifton <nickc@redhat.com>
-
- * msp430/Makefile.in (NOSYS_OBJS): Add unlink.o.
- (SCRIPTS): Remove msp430F5438A-s.ld and msp430F5438A-s.ld.
- * unlink.c: New file.
-
-2014-04-04 Ashish Kapania <akapania@ti.com>
-
- * arm/configure.in: (*-*-tirtos*) Accept TIRTOS target when setting
- objtype
- * arm/configure: Regenerated.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/_sbrk.S: Add .size and .type directive.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Tweak initialization sqeuence.
- * nds32/crt1.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/_argv.S: Replace syscall with break.
- * nds32/_argvlen.S: Ditto.
- * nds32/_chdir.S: Ditto.
- * nds32/_chmod.S: Ditto.
- * nds32/_close.S: Ditto.
- * nds32/_exit.S: Ditto.
- * nds32/_fstat.S: Ditto.
- * nds32/_getpid.S: Ditto.
- * nds32/_gettimeofday.S: Ditto.
- * nds32/_isatty.S: Ditto.
- * nds32/_kill.S: Ditto.
- * nds32/_link.S: Ditto.
- * nds32/_lseek.S: Ditto.
- * nds32/_open.S: Ditto.
- * nds32/_read.S: Ditto.
- * nds32/_rename.S: Ditto.
- * nds32/_stat.S: Ditto.
- * nds32/_system.S: Ditto.
- * nds32/_time.S: Ditto.
- * nds32/_times.S: Ditto.
- * nds32/_unlink.S: Ditto.
- * nds32/_utime.S: Ditto.
- * nds32/_write.S: Ditto.
- * nds32/syscall_error_handler.S: Ditto.
- * nds32/vh.h: New.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Initialize ITB base.
- * nds32/crt1.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/Makefile.in: Alter filename.
- * nds32/syscall_argv.S: Rename to _argv.S
- * nds32/syscall_argvlen.S: Rename to _argvlen.S
- * nds32/syscall_chdir.S: Rename to _chdir.S
- * nds32/syscall_chmod.S: Rename to _chmod.S
- * nds32/syscall_close.S: Rename to _close.S
- * nds32/syscall_exit.S: Rename to _exit.S
- * nds32/syscall_fstat.S: Rename to _fstat.S
- * nds32/syscall_getpid.S: Rename to _getpid.S
- * nds32/syscall_gettimeofday.S: Rename to _gettimeofday.S
- * nds32/syscall_isatty.S: Rename to _isatty.S
- * nds32/syscall_kill.S: Rename to _kill.S
- * nds32/syscall_link.S: Rename to _link.S
- * nds32/syscall_lseek.S: Rename to _lseek.S
- * nds32/syscall_open.S: Rename to _open.S
- * nds32/syscall_read.S: Rename to _read.S
- * nds32/syscall_rename.S: Rename to _rename.S
- * nds32/syscall_sbrk.S: Rename to _sbrk.S
- * nds32/syscall_stat.S: Rename to _stat.S
- * nds32/syscall_system.S: Rename to _system.S
- * nds32/syscall_time.S: Rename to _time.S
- * nds32/syscall_times.S: Rename to _times.S
- * nds32/syscall_unlink.S: Rename to _unlink.S
- * nds32/syscall_utime.S: Rename to _utime.S
- * nds32/syscall_write.S: Rename to _write.S
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/syscall_argv.S: Correct the method to set errno.
- * nds32/syscall_argvlen.S: Ditto.
- * nds32/syscall_chdir.S: Ditto.
- * nds32/syscall_chmod.S: Ditto.
- * nds32/syscall_close.S: Ditto.
- * nds32/syscall_error_handler.S: Ditto.
- * nds32/syscall_fstat.S: Ditto.
- * nds32/syscall_getpid.S: Ditto.
- * nds32/syscall_gettimeofday.S: Ditto.
- * nds32/syscall_isatty.S: Ditto.
- * nds32/syscall_kill.S: Ditto.
- * nds32/syscall_link.S: Ditto.
- * nds32/syscall_lseek.S: Ditto.
- * nds32/syscall_open.S: Ditto.
- * nds32/syscall_read.S: Ditto.
- * nds32/syscall_rename.S: Ditto.
- * nds32/syscall_sbrk.S: Ditto.
- * nds32/syscall_stat.S: Ditto.
- * nds32/syscall_system.S: Ditto.
- * nds32/syscall_time.S: Ditto.
- * nds32/syscall_times.S: Ditto.
- * nds32/syscall_unlink.S: Ditto.
- * nds32/syscall_utime.S: Ditto.
- * nds32/syscall_write.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Use pseudo-instruction "bal frame" to replace
- "la + jral".
- * nds32/crt1.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Eliminate initialization for $fp.
- * nds32/crt1.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Refine.
- * nds32/crt1.S: Refine.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/crt0.S: Set argc=argv=env=0.
- * nds32/crt1.S: Ditto.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/Makefile.in: Add syscall_error_handler.o.
- * nds32/syscall_error_handler.S: New.
- * nds32/syscall_extra.h: Reduce code size.
-
-2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
-
- * nds32/syscall_extra.h: Define macro.
- * nds32/syscall_argv.S: Use define macro.
- * nds32/syscall_argvlen.S: Ditto.
- * nds32/syscall_chdir.S: Ditto.
- * nds32/syscall_chmod.S: Ditto.
- * nds32/syscall_close.S: Ditto.
- * nds32/syscall_fstat.S: Ditto.
- * nds32/syscall_getpid.S: Ditto.
- * nds32/syscall_gettimeofday.S: Ditto.
- * nds32/syscall_isatty.S: Ditto.
- * nds32/syscall_kill.S: Ditto.
- * nds32/syscall_link.S: Ditto.
- * nds32/syscall_lseek.S: Ditto.
- * nds32/syscall_open.S: Ditto.
- * nds32/syscall_read.S: Ditto.
- * nds32/syscall_rename.S: Ditto.
- * nds32/syscall_stat.S: Ditto.
- * nds32/syscall_system.S: Ditto.
- * nds32/syscall_time.S: Ditto.
- * nds32/syscall_times.S: Ditto.
- * nds32/syscall_unlink.S: Ditto.
- * nds32/syscall_utime.S: Ditto.
- * nds32/syscall_write.S: Ditto.
-
-2014-02-27 Joey Ye <joey.ye@arm.com>
-
- * libnosys/sbrk.c (_sbrk): Remove TWS
-
-2014-02-11 Joey Ye <joey.ye@arm.com>
-
- * arm/syscalls.c (_sbrk): Define as weak symbols.
- (_read, _write): Ditto.
-
-2014-02-03 Richard Earnshaw <rearnsha@arm.com>
-
- * aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies
- of scripts.
- (all): Build the in-tree copies of the scripts.
- (clean): Also delete the in-tree copies of the scripts.
-
-2014-01-29 DJ Delorie <dj@redhat.com>
-
- * msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. Build
- from crt0.S with -DMINRT.
- (CRT_OBJS): Expand.
- (crt_%.o): New rule pattern. Build multiple objects from crt0.S.
- * msp430/crt0.S: Further break out functionality. Support -DMINRT
- that omits all init/fini logic.
- * msp430/crtn.S: Likewise.
- * msp430/msp430-sim.ld: Wildcard all .crt_* sections, sorted.
- * msp430/msp430.ld: Likewise.
- * msp430/msp430xl-sim.ld: Likewise.
-
-2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
-
- * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediate
- form to clear WXN bit.
-
-2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
-
- * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
- in SCTLR_EL3. Add dsb.
-
-2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/configure.in: Revert previous fix and change host_makefile_frag
- to calculate the absolute location of srcdir/../config/default.mh.
- * arm/configure: Regenerated.
-
-2014-01-07 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/configure.in: Fix host_makefile_frag to use ac_abs_srcdir.
- * arm/configure: Regenerated.
-
-2013-12-04 Steve Ellcey <sellcey@mips.com>
-
- * mips/cfe_api.h: Include stdint.h.
-
-2013-11-21 Daniel Ramirez <javamonn@gmail.com>
-
- * d30v/syscalls.c, i960/mon960.c, m68k/io-stat.c, mt/stat.c,
- spu/lstat.c, spu/stat.c: Add restrict keyword.
-
-2013-11-21 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * aarch64/ftruncate.c: Include errno.h.
- (ftruncate) Set errno.
- * aarch64/truncate.c: Include errno.h.
- (truncate) Set errno.
-
-2013-11-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * arm/ftruncate.c: Include errno.h.
- (ftruncate) Set errno.
- * arm/truncate.c: Include errno.h.
- (truncate) Set errno.
-
-2013-11-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * arm/ftruncate.c: New.
- * arm/truncate.c: New.
- * arm/Makefile.in (RDPMON_OBJS): Add ftruncate.o and truncate.o.
- (rdimon-ftruncate.o, rdimon-truncate.o): New rule:
-
-2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
-
- * arm/cpu-init/rdimon-aem.S: Disable for M class cores.
- * arm/crt0.S: Don't call _rdimon_hw_init_hook for non-A class cores.
- * arm/cpu-init/Makefile.in (CPU_INIT_OBJS): Use CFLAGS.
-
-2013-09-30 Steve Ellcey <sellcey@mips.com>
-
- * mips/Makefile.in (install): Add mkdir, fix install command.
-
-2013-09-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * arm/Makefile.in (RDIMON_SCRIPTS): Add aprofile-validation.specs.
- * arm/elf-aprofile-validation.specs: New.
-
-2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
- Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
- Greta Yorsh <greta.yorsh@arm.com>
-
- * arm/Makefile.in: Add support for cpu-init directory and add
- elf-aprofile-ve.specs.
- * arm/configure.in: Likewise.
- * arm/configure: Regenerate.
- * arm/cpu-init: New directory.
- * arm/cpu-init/Makefile.in: New file.
- * arm/cpu-init/rdimon-aem.S: Likewise.
- * arm/crt0.S: Call _rdimon_init_hook
- * arm/elf-aprofile-ve.specs: New file.
-
-2013-09-18 Nick Clifton <nickc@redhat.com>
-
- * msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
- (LIB_CRT): New.
- (CRT_OBJS): New.
- (all): Add dependency upon LIB_CRT.
- (install): Likewise.
- * msp430/msp430-sim.ld: Include intr_vectors.ld.
- KEEP crt code, lowtext code and tm_clone_table.
- Separate the noinit section from the .bss section.
- Allow for extended .debug_line sections.
- * msp430/msp430.ld: Likewise.
- * msp430/msp430F5438A-l.ld: Likewise.
- * msp430/msp430F5438A-s.ld: Likewise.
- * msp430/msp430xl-sim.ld: Likewise
-. * msp430/crt_movedata.S: New.
- * msp430/crt_bss.S: New.
- * msp430/intr_vectors.ld: New.
-
-2013-09-17 Joey Ye <joey.ye@arm.com>
-
- * libnosys/Makefile.in: Install nosys.specs.
- * libnosys/nosys.specs: New specs.
-
-2013-08-12 Yufeng Zhang <Yufeng.Zhang@arm.com>
-
- * aarch64/crt0.S: Remove 'start'.
- * arm/crt0.S: Ditto.
- * arm/redboot-crt0.S: Ditto.
-
-2013-07-24 Steve Ellcey <sellcey@mips.com>
-
- * mips/idtmon.S (unlink, lseek, stat): Add new functions.
-
-2013-07-23 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
-
- * microblaze/_exception_handler.S: Adjust to be weak.
-
-2013-07-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
-
- * microblaze/Makefile.in: Add LINUX_BSP.
- * microblaze/elf-gloss-linux.ld: New file.
- * microblaze/elf-gloss-linux.specs: Likewise.
- * microblaze/linux-crt0.S: Likewise.
- * microblaze/linux-inbyte.c: Likewise.
- * microblaze/linux-outbyte.c: Likewise.
- * microblaze/linux-syscalls-wrap.c: Likewise.
- * microblaze/linux-syscalls.S: Likewise.
- * microblaze/linux-syscalls.h: Likewise.
-
-2013-07-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-
- * lm32/configure: Regenerate.
- * moxie/configure: Ditto.
- * spu/configure: Ditto.
-
-2013-07-16 David Holsgrove <david.holsgrove@xilinx.com>
-
- * microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.
- * microblaze/configure.in: Add target_makefile_frag.
- * microblaze/configure: Regenerate.
- * microblaze/xil_printf.c: Add new file.
-
-2013-07-16 David Holsgrove <david.holsgrove@xilinx.com>
-
- * configure.in: Change to microblaze*.
- * configure: Regenerate.
- * microblaze/xilinx.ld: Remove OUTPUT_FORMAT.
-
-2013-07-12 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.
-
-2013-07-09 Sabrina Ni <sabrina@andestech.com>
-
- * configure.in: Add nds32 subdir.
- * configure: Regenerated.
- * nds32/configure.in: New.
- * nds32/configure: New (autogenerated).
- * nds32/{crt0.S,crt1.S}: New.
- * nds32/Makefile.in: New.
- * nds32/{syscall_argvlen.S,syscall_argv.S,
- syscall_chdirS, syscall_chmod.S,
- syscall_close.S,syscall_exit.S,syscall_extra.h, syscall_fstat.S,
- syscall_getpid.S,syscall_gettimeofday.S,syscall_isatty.S,syscall_kill.S,
- syscall_link.S,syscall_lseek.S,syscall_open.S,syscall_read.S,
- syscall_rename.S,syscall_sbrk.S,syscall_stat.S,syscall_system.S,
- syscall_time.S,syscall_times.S,syscall_unlink.S,syscall_utime.S,
- syscall_write.S}: New.
-
-2013-07-04 Yufeng Zhang <Yufeng.Zhang@arm.com>
-
- * aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__
- is defined.
-
-2013-07-02 Joey Ye <joey.ye@arm.com>
-
- * arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini
- when lite exit is enabled.
-
-2013-06-28 Yufeng Zhang <Yufeng.Zhang@arm.com>
-
- * aarch64/syscalls.c (POINTER_TO_PARAM_BLOCK_T): New macro.
- (initialise_monitor_handles): Replace cast with macro
- POINTER_TO_PARAM_BLOCK_T.
- (_swiread): Likewise.
- (_swiwrite): Likewise.
- (_swiopen): Likewise.
- (_unlink): Likewise.
- (_system): Likewise.
- (_rename): Likewise.
-
-2013-06-25 Yufeng Zhang <Yufeng.Zhang@arm.com>
-
- * aarch64/crt0.S (GEN_DWORD): New macro definition.
- (PTR_REG): Ditto.
- (PTR_SIZE): Ditto.
- (PTR_LOG_SIZE): Ditto.
- (start): Use GEN_DWORD to replace the .dword of HeapBase,
- __bss_start__, __bss_end__, FUNCTION(_fini), env and
- CommandLine; when __ILP32__ is defined, set the stack base to
- the top end of the 32-bit address space if the returned value
- from the Angel API call is larger than or equal to 4 GiB.
- Also carry out sanity check on the heap base; abort if the
- base is larger than or equal to 4 GiB. Use other new
- macros in the instructions that processes the argv arrays.
- (StackBase): New lable; replace __stack_base__.
- (__stack_base__): Set with StackBase or StackBase + 4.
-
-2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
-
- * rs6000/Makefile.in: Add sim-times support. This file has been
- moved from newlib/libc/machine/powerpc and renamed.
- * rs6000/sim-times.c: New file.
-
-2013-05-14 DJ Delorie <dj@redhat.com>
- Nick Clifton <nickc@redhat.com>
-
- * configure.in (msp430*-*-elf): Add.
- * configure: Regenerate.
- * msp430: New directory.
-
-2013-04-19 Steve Ellcey <sellcey@imgtec.com>
-
- * mips/cfe_api.h (int64_t): Remove define.
- (uint64_t): Remove define.
- (intptr_t): Remove define.
- (uintptr_t): Remove define.
- (sys/types.h): Remove include.
- (_ansi.h): Remove include.
-
-2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
-
- * aarch64/Makefile.in (rdimon-crt0.o, rdimon-trap.o)
- (rdimon-_exit.o, rdimon-_kill.o, rdimon-syscalls.o)
- (rdimon-libcfunc.o): Add $(CFLAGS) to the compiler command line.
- * aarch64/cpu-init/Makefile.in (${CPU_INIT_OBJS}): Add $(CFLAGS)
- to the compiler command line.
-
-2013-02-10 Peter Marheine <peter@taricorp.net>
-
- * libgloss/rx/Makefile.in: Respect DESTDIR when installing
-
-2013-02-04 Greta Yorsh <greta.yorsh@arm.com>
-
- * arm/elf-rdimon.specs (-lrdimon): Change link to lib.
-
-2013-02-01 Nick Clifton <nickc@redhat.com>
-
- * v850/crt0.S: Add recognition of the e3v5
- architecture variant.
-
-2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
-
- * aarch64/Machine.in (RDIMON_SCRIPTS):
- Add aem-ve.specs and aem-validation.specs.
- * aarch64/elf-aem-validation.specs: New file.
- * aarch64/elf-aem-ve.specs: New file.
-
-2013-01-15 Nick Clifton <nickc@redhat.com>
-
- * v850/crt0.S (_start): Enable FPU for the V850e2v3.
-
-2012-12-17 Stuart Henderson <shenders@gcc.gnu.org>
-
- * bfin/Makefile.in: Add BF60x support.
- * bfin/basiccrt.S: Add core1 support.
- * bfin/bf606.ld: New file.
- * bfin/bf606c0.ld: New file.
- * bfin/bf606c1.ld: New file.
- * bfin/bf606m.ld: New file.
- * bfin/bf607.ld: New file.
- * bfin/bf607c0.ld: New file.
- * bfin/bf607c1.ld: New file.
- * bfin/bf607m.ld: New file.
- * bfin/bf608.ld: New file.
- * bfin/bf608c0.ld: New file.
- * bfin/bf608c1.ld: New file.
- * bfin/bf608m.ld: New file.
- * bfin/bf609.ld: New file.
- * bfin/bf609c0.ld: New file.
- * bfin/bf609c1.ld: New file.
- * bfin/bf609m.ld: New file.
- * bfin/bfin-common-mc0.ld: New file.
- * bfin/include/cdefBF606.h : New file.
- * bfin/include/cdefBF607.h : New file.
- * bfin/include/cdefBF608.h : New file.
- * bfin/include/cdefBF609.h : New file.
- * bfin/include/defBF606.h : New file.
- * bfin/include/defBF607.h : New file.
- * bfin/include/defBF608.h : New file.
- * bfin/include/defBF609.h : New file.
- * bfin/include/sys/_adi_platform.h: Add BF60x support.
- * bfin/include/sys/anomaly_macros_rtl.h : Clean up.
-
-2012-11-23 Yufeng Zhang <yufeng.zhang@arm.com>
-
- * aarch64/configure.in: Replace the direct generation of
- cpu-init/Makefile.in with AC_CONFIG_SUBDIRS(cpu-init).
- * aarch64/configure: Re-generate.
- * aarch64/cpu-init/Makefile.in (objtype): Remove.
- (Makefile, config.status): Update the rules.
- * aarch64/cpu-init/aclocal.m4: New file (generated).
- * aarch64/cpu-init/configure.in: New file.
- * aarch64/cpu-init/configure: New file (generated).
-
-2012-10-27 Anthony Green <green@moxielogic.com>
-
- * moxie/sim-unlink.S (unlink): Loop forever.
- moxie/sim-time.S (_sim_time): Ditto.
-
-2012-10-27 Anthony Green <green@moxielogic.com>
-
- * moxie/crt0.S (_start): Call memset with correct
- ABI.
-
-2012-10-03 DJ Delorie <dj@redhat.com>
-
- * rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros
- to GAS macros, to avoid dependence on the line separation
- character.
-
-2012-10-01 DJ Delorie <dj@redhat.com>
-
- * v850/sbrk.c (_sbrk): Change heap_start to be an array of
- undefined size, to avoid problems when compiled with -msda=4.
-
-2012-09-26 Ian Bolton <ian.bolton@arm.com>
- Jim MacArthur <jim.macarthur@arm.com>
- Marcus Shawcroft <marcus.shawcroft@arm.com>
- Nigel Stephens <nigel.stephens@arm.com>
- Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
- Richard Earnshaw <rearnsha@arm.com>
- Sofiane Naci <sofiane.naci@arm.com>
- Tejas Belagod <tejas.belagod@arm.com>
- Yufeng Zhang <yufeng.zhang@arm.com>
-
- * aarch64/Makefile.in: New file.
- * aarch64/_exit.c: New file.
- * aarch64/_kill.c: New file.
- * aarch64/aclocal.m4: Generated.
- * aarch64/configure: Generated.
- * aarch64/configure.in: New file.
- * aarch64/cpu-init/Makefile.in: New file.
- * aarch64/cpu-init/rdimon-aem-el3.S: New file.
- * aarch64/crt0.S: New file.
- * aarch64/elf-rdimon.specs: New file.
- * aarch64/libcfunc.c: New file.
- * aarch64/svc.h: New file.
- * aarch64/syscalls.c: New file.
- * configure.in: Add AArch64.
- * configure: Re-generated.
-
-2012-09-13 Anthony Green <green@moxielogic.com>
-
- * moxie/moxie-elf-common.ld: Add bi-endian support.
-
-2012-08-30 DJ Delorie <dj@redhat.com>
-
- * rx/rx.ld: Add W_* sections to .rodata.
- * rx/rx-sim.ld: Likewise.
-
-2012-08-30 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
-
- * cr16/sys/syscall.h: New file.
-
-2012-05-02 Greta Yorsh <Greta.Yorsh@arm.com>
-
- * arm/redboot-crt0.S (__change_mode): Replace mov with movs.
-
-2012-03-23 Mike Frysinger <vapier@gentoo.org>
-
- * cris/Makefile.in (install-lin): Add $(DESTDIR) before ${tooldir}.
-
-2012-03-12 Mike Frysinger <vapier@gentoo.org>
-
- * libnosys/Makefile.in (NEWLIB_CFLAGS, NEWLIB_LDFLAGS,
- INCLUDES, CFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
- AR_FLAGS, .c.o, .C.o, .s.o, .S.o, .c.s): Delete and replace
- with @host_makefile_frag@.
-
-2012-03-12 Mike Frysinger <vapier@gentoo.org>
-
- * config/default.mh (AR_FLAGS): Set to rc.
-
-2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
-
- * epiphany/access.c: Add modification rights to clause as
- permitted by DJ Delorie.
- * iq2000/access.c: Ditto.
- * mn10200/access.c: Ditto.
- * mn10300/access.c: Ditto.
- * mt/access.c: Ditto.
- * v850/access.c: Ditto.
-
-2012-03-02 Bin Cheng <bin.cheng@arm.com>
-
- * configure.in: Accept "arm*" target spec instead of just "arm".
- * configure: Regenerated.
- * libnosys/configure.in: Likewise.
- (libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
- * libnosys/configure: Regenerated (using autoconf v2.68).
-
-2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
- Alan Lehotsky <apl@alum.mit.edu>
- Joern Rennecke <joern.rennecke@embecosm.com>
-
- * configure.in: Add Epiphany support.
- * configure: Regenerate.
- * epiphany: New directory.
- * libgloss/README: Add Epiphany entry.
-
-2012-01-23 Stuart Henderson <stuart.henderson@analog.com>
-
- * bfin/_exit.c: New file.
- * bfin/Makefile.in (BOARD_OBJS): Add _exit.o.
-
-2012-01-17 Bin Cheng <bin.cheng@arm.com>
-
- * arm/linux-crt0.c: Use ldr instead of adr to get address of
- _start_thumb.
-
-2011-12-18 Steve Kilbane <stephen.kilbane@analog.com>
-
- * bfin/clear_cache_range.c: New file.
- * bfin/Makefile.in (SIM_OBJS): Add clear_cache_range.o.
- (BOARD_OBJS): Likewise.
- (BOARD_BSP): Set to libbfinbsp.a.
- (${BOARD_BSP}): New rule.
-
-2011-12-15 Konrad Eisele <konrad@gaisler.com>
-
- * configure.in: Add SPARC LEON support.
- * configure: Regenerated.
- * sparc_leon/asm-leon/amba.h, sparc_leon/asm-leon/asmmacro.h,
- sparc_leon/asm-leon/clock.h, sparc_leon/asm-leon/contextswitch.h,
- sparc_leon/asm-leon/elfmacro.h, sparc_leon/asm-leon/head.h,
- sparc_leon/asm-leon/irq.h, sparc_leon/asm-leon/jiffies.h,
- sparc_leon/asm-leon/lambapp.h, sparc_leon/asm-leon/lambapp_devs.h,
- sparc_leon/asm-leon/leon.h, sparc_leon/asm-leon/leon3.h,
- sparc_leon/asm-leon/leonbare_debug.h, sparc_leon/asm-leon/leonbare_kernel.h,
- sparc_leon/asm-leon/leonbare_kernel_queue.h, sparc_leon/asm-leon/leoncompat.h,
- sparc_leon/asm-leon/leondbg.h, sparc_leon/asm-leon/leonstack.h,
- sparc_leon/asm-leon/liblocks.h, sparc_leon/asm-leon/linkage.h,
- sparc_leon/asm-leon/param.h, sparc_leon/asm-leon/queue.h,
- sparc_leon/asm-leon/spinlock.h, sparc_leon/asm-leon/stack.h,
- sparc_leon/asm-leon/time.h, sparc_leon/asm-leon/timer.h,
- sparc_leon/asm-leon/types.h, sparc_leon/asm-leon/winmacros.h:
- New file.
- * sparc_leon/Makefile.in, sparc_leon/_exit.c,
- sparc_leon/amba.c, sparc_leon/amba_dbg.c,
- sparc_leon/amba_driver.c, sparc_leon/amba_scan.c,
- sparc_leon/asm-leon, sparc_leon/bdinit.S,
- sparc_leon/busscan.S, sparc_leon/cacheA.S,
- sparc_leon/catch_interrupt.c, sparc_leon/catch_interrupt_mvt.c,
- sparc_leon/catch_interrupt_pending.c, sparc_leon/catch_interrupt_svt.c,
- sparc_leon/configure.in,
- sparc_leon/console.c, sparc_leon/console_dbg.c,
- sparc_leon/console_init.c, sparc_leon/contextswitch.c,
- sparc_leon/contextswitch_asm.S, sparc_leon/crt0.S,
- sparc_leon/crti.S, sparc_leon/crtn.S,
- sparc_leon/etrap.S, sparc_leon/etrap_fast.S,
- sparc_leon/fpu.S, sparc_leon/gettimeofday.c,
- sparc_leon/initcalls.c, sparc_leon/io.c,
- sparc_leon/irqinstall.S, sparc_leon/irqtrap.S,
- sparc_leon/irqtrap_fast.S, sparc_leon/jiffies.c,
- sparc_leon/kernel.c, sparc_leon/kernel_context.S,
- sparc_leon/kernel_debug.c, sparc_leon/kernel_debug_var.c,
- sparc_leon/kernel_mm.c, sparc_leon/kernel_mutex.c,
- sparc_leon/kernel_queue.c, sparc_leon/kernel_sched.c,
- sparc_leon/kernel_thread.c, sparc_leon/lcpuinit.S,
- sparc_leon/locore.S, sparc_leon/locore_atexit.c,
- sparc_leon/locore_clean.S, sparc_leon/locore_mvt.S,
- sparc_leon/locore_mvt_reset.S, sparc_leon/locore_svt.S,
- sparc_leon/locore_svt_reset.S, sparc_leon/locore_svtdisp.S,
- sparc_leon/locore_var.S, sparc_leon/locore_var_svt.S,
- sparc_leon/mmu_asm.S, sparc_leon/mutex.c,
- sparc_leon/nocache.S, sparc_leon/pnpinit.c,
- sparc_leon/pnpinit_malloc.c, sparc_leon/pnpinit_simple.c,
- sparc_leon/regwin.S, sparc_leon/regwin_patch.c,
- sparc_leon/regwin_slow.S, sparc_leon/regwinflush.S,
- sparc_leon/rtc.c, sparc_leon/rtrap.S,
- sparc_leon/rtrap_fast.S, sparc_leon/stop.S,
- sparc_leon/timer.c, sparc_leon/times.c:
- New file
- * sparc_leon/configure: Regenerate
-
-2011-12-13 Richard Earnshaw <rearnsha@arm.com>
- Thomas Klein <th.r.klein@web.de>
-
- * arm/crt0.S: Manually set the target architecture
- when compiling for Thumb1 on EABI targets.
- Avoid v6-only Thumb-1 MOV instruction.
-
-2011-11-28 DJ Delorie <dj@redhat.com>
-
- * configure.in: Add rl78.
- * configure: Regenerate.
- * rl78: New directory
-
-2011-11-08 Mike Frysinger <vapier@gentoo.org>
-
- * libnosys/Makefile.in (install): Use INSTALL_DATA.
-
-2011-10-07 Nick Clifton <nickc@redhat.com>
-
- * rx/crt0.S: Initialise the PID address register.
- (__pid_base): Define weakly.
-
-2011-09-29 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
-
- * arm/crt0.s: Support 0 heap base response from HeapInfo syscall.
-
-2011-09-29 Bin Cheng <bin.cheng@arm.com>
-
- * arm/arm.h (HAVE_CALL_INDIRECT): Define.
- * arm/crt0.S (indirect_call): New macro. Encodes indirect
- function calls. Does not use blx for pre-armv5 targets.
-
-2011-08-19 Nick Clifton <nickc@redhat.com>
-
- * iq2000/sim.ld (.gcc_except_table): Include .gcc_except_table.foo
- sections as well.
-
-2011-08-08 Mike Stump <mikestump@comcast.net>
-
- * Makefile.in: Make stmp-bsp and install consistent with
- subdir_do target with regards to error handling.
-
-2011-07-13 Bin Cheng <bin.cheng@arm.com>
-
- * arm/crt0.S: Support armv6-m processors in libgloss.
- * arm/swi.h: Likewise.
- * arm/trap.S: Likewise.
- * arm/redboot-crt0.S: Likewise.
- * arm/linux-crt0.c: Likewise.
- * arm/arm.h: New.
-
-2011-07-01 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/syscalls.c (_getpid): Call do_syscall with func argument n and
- return the result.
- (_fstat): Delete stub body. Add block array and assign file/st to it.
- Call do_syscall with result.
- (_stat): Delete stub body. Add block array and assign fname/st to
- it. Call do_syscall with result.
- (_link): Change func arguments to accept two strings. Add block array
- and assign existing/new to it. Call do_syscall with result.
- (_unlink): Change func arguments to accept a string. Call do_syscall
- with new argument.
-
-2011-07-01 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/syscalls.c (_lseek): Change 3rd arg name to whence. Increase
- block array to 3 elements. Set 3rd element to whence.
-
-2011-06-29 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/Makefile.in: Add $CFLAGS to compile commands for specified .o targets.
-
-2011-06-22 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/syscalls.c (do_syscall): Delete local variable definitions.
- Declare result, result2, errcode local ints. Delete asm inputs
- and outputs. Set output constraints to q0/result, q1/result2, and
- q2/errcode. Set input constraints to qA/reason and q0/arg. Set
- errno to errcode.
-
-2011-06-21 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/syscalls.c: Trim trailing whitespace.
- * bfin/crt0.S: Likewise.
-
-2011-06-14 Joseph Myers <joseph@codesourcery.com>
-
- * configure.in: Don't handle strongarm, ep9312 and xscale target
- names.
- * configure: Regenerate.
- * libnosys/configure.in: Don't handle strongarm and thumb target
- names.
- * libnosys/configure: Regenerate.
-
-2011-05-27 Nick Clifton <nickc@redhat.com>
-
- * v8500/sbrk.c (_sbrk): Tidy code.
- Base start of heap on the "heap_start" symbol.
-
-2011-03-26 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/include/builtins.h (__builtin_raise): Change constraint to n.
- (__builtin_excpt): Likewise.
-
-2011-03-26 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/Makefile.in (install-sim): Exit when install fails.
- (install-board): Likewise.
-
-2011-03-24 Nick Clifton <nickc@redhat.com>
-
- * xstormy16/crt0.s (_hwint): Fix .size directive.
-
- * frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.
-
-2011-03-21 Kevin Buettner <kevinb@redhat.com>
-
- * v850/sys/syscall.h (SYS_rename): Define.
-
-2011-01-10 Mike Frysinger <vapier@gentoo.org>
-
- * Makefile.in (stmp-bsp): Exit when subdirs fail.
- (install): Likewise.
-
-2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
- Kaushik Phatak kaushik.phatak@kpitcummins.com
-
- * configure.in: Add CR16 support.
- * configure: Regenerated.
- * cr16/aclocal.m4: New.
- * cr16/close.c: New.
- * cr16/configure: New.
- * cr16/configure.in: New.
- * cr16/crt1.S: New.
- * cr16/crti.S: New.
- * cr16/crtn.S: New.
- * cr16/dvz_hndl.c: New.
- * cr16/_exit.c: New.
- * cr16/flg_hndl.c: New.
- * cr16/fstat.c: New.
- * cr16/_getenv.c: New.
- * cr16/getpid.c: New.
- * cr16/iad_hndl.c: New.
- * cr16/intable.c: New.
- * cr16/isatty.c: New.
- * cr16/kill.c: New.
- * cr16/lseek.c: New.
- * cr16/Makefile.in: New.
- * cr16/open.c: New.
- * cr16/putnum.c: New.
- * cr16/read.c: New.
- * cr16/_rename.c: New.
- * cr16/sbrk.c: New.
- * cr16/sim.ld: New.
- * cr16/stat.c: New.
- * cr16/svc_hndl.c: New.
- * cr16/time.c: New.
- * cr16/und_hndl.c: New.
- * cr16/unlink.c: New.
- * cr16/write.c: New.
-
-2010-11-17 Bernd Schmidt <bernds@codesourcery.com>
-
- * tic6x/syscalls.c (cio_getclk_to_host, cio_getclk_from_host): New
- structs.
- (cio_to_host, cio_from_host): Use them.
- (clock): New function.
-
-2010-10-17 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/include/blackfin.h, bfin/include/builtins.h,
- bfin/include/ccblkfn.h, bfin/include/cdefBF512.h,
- bfin/include/cdefBF514.h, bfin/include/cdefBF516.h,
- bfin/include/cdefBF518.h, bfin/include/cdefBF51x_base.h,
- bfin/include/cdefBF522.h, bfin/include/cdefBF523.h,
- bfin/include/cdefBF524.h, bfin/include/cdefBF525.h,
- bfin/include/cdefBF526.h, bfin/include/cdefBF527.h,
- bfin/include/cdefBF52x_base.h, bfin/include/cdefBF531.h,
- bfin/include/cdefBF532.h, bfin/include/cdefBF533.h,
- bfin/include/cdefBF534.h, bfin/include/cdefBF535.h,
- bfin/include/cdefBF536.h, bfin/include/cdefBF537.h,
- bfin/include/cdefBF538.h, bfin/include/cdefBF539.h,
- bfin/include/cdefBF53x.h, bfin/include/cdefBF542.h,
- bfin/include/cdefBF542M.h, bfin/include/cdefBF544.h,
- bfin/include/cdefBF544M.h, bfin/include/cdefBF547.h,
- bfin/include/cdefBF547M.h, bfin/include/cdefBF548.h,
- bfin/include/cdefBF548M.h, bfin/include/cdefBF549.h,
- bfin/include/cdefBF549M.h, bfin/include/cdefBF54x_base.h,
- bfin/include/cdefBF561.h, bfin/include/cdef_LPBlackfin.h,
- bfin/include/cdefblackfin.h, bfin/include/cplb.h,
- bfin/include/cplbtab.h, bfin/include/defBF512.h,
- bfin/include/defBF514.h, bfin/include/defBF516.h,
- bfin/include/defBF518.h, bfin/include/defBF51x_base.h,
- bfin/include/defBF522.h, bfin/include/defBF523.h,
- bfin/include/defBF524.h, bfin/include/defBF525.h,
- bfin/include/defBF526.h, bfin/include/defBF527.h,
- bfin/include/defBF52x_base.h, bfin/include/defBF531.h,
- bfin/include/defBF532.h, bfin/include/defBF533.h,
- bfin/include/defBF534.h, bfin/include/defBF535.h,
- bfin/include/defBF536.h, bfin/include/defBF537.h,
- bfin/include/defBF538.h, bfin/include/defBF539.h,
- bfin/include/defBF542.h, bfin/include/defBF542M.h,
- bfin/include/defBF544.h, bfin/include/defBF544M.h,
- bfin/include/defBF547.h, bfin/include/defBF547M.h,
- bfin/include/defBF548.h, bfin/include/defBF548M.h,
- bfin/include/defBF549.h, bfin/include/defBF549M.h,
- bfin/include/defBF54x_base.h, bfin/include/defBF561.h,
- bfin/include/defblackfin.h, bfin/include/sysreg.h,
- bfin/include/sys/anomaly_macros_rtl.h, bfin/include/sys/excause.h,
- bfin/include/sys/exception.h, bfin/include/sys/mc_typedef.h,
- bfin/include/sys/platform.h, bfin/include/sys/pll.h:
- Update to Visual DSP 5.0 Update 8.
-
-2010-10-16 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/Makefile.in (BOARD_SCRIPTS): Add bf592.ld.
- * bfin/bf592: New linker scripts.
- * bfin/include/cdefBF592-A.h, bfin/include/cdefBF59x_base.h,
- bfin/include/defBF592-A.h, bfin/include/defBF59x_base.h: New files.
- * bfin/include/sys/_adi_platform.h: Include new bf592 headers.
-
-2010-10-15 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/Makefile.in (BOARD_SCRIPTS): Add bf504.ld and bf506.ld.
- * bfin/bf504.ld, bfin/bf506.ld: New linker scripts.
- * bfin/include/cdefBF504.h, bfin/include/cdefBF504F.h,
- bfin/include/cdefBF506F.h, bfin/include/cdefBF50x_base.h,
- bfin/include/defBF504.h, bfin/include/defBF504F.h,
- bfin/include/defBF506F.h, bfin/include/defBF50x_base.h: New files.
- * bfin/include/def_LPBlackfin.h: Add DMC_P for __ADSPBF50x__.
- * bfin/include/sys/_adi_platform.h: Include new bf50x headers.
-
-2010-10-15 Stuart Henderson <stuart.henderson@analog.com>
-
- * bfin/bfin-common-mc.ld: Add .l1.data and .l1.text input sections.
- * bfin/bfin-common-sc.ld: Likewise.
-
-2010-10-15 Mike Frysinger <vapier@gentoo.org>
-
- * bfin/include/sys/_adi_platform.h: Remove __ADSPBF541__.
- * bfin/include/cdefBF541.h, bfin/include/defBF541.h: Punt.
-
-2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
- Joseph Myers <joseph@codesourcery.com>
-
- * configure.in: Handle tic6x targets.
- * configure: Regenerate.
- * tic6x/Makefile.in, tic6x/configure.in, tic6x/crt0.S,
- tic6x/getpid.c, tic6x/kill.c, tic6x/sbrk.c, tic6x/syscalls.c: New.
- * tic6x/configure: New (generated).
-
-2010-10-02 Anthony Green <green@moxielogic.com>
-
- * moxie/Makefile.in (QEMU_OBJS): Add missing object files to the
- qemu support library.
-
-2010-10-02 Anthony Green <green@moxielogic.com>
-
- * moxie/crt0.S (_start): Minor optimizations to __start.
-
-2010-09-23 Mike Frysinger <vapier@gentoo.org>
- Corinna Vinschen <vinschen@redhat.com>
-
- * doc/porting.texi: Fix typos.
-
-2010-09-22 Mike Frysinger <vapier@gentoo.org>
-
- * README: Add bfin to the list.
-
-2010-08-27 Christophe Lyon <christophe.lyon@st.com>
-
- * syscalls.c (_isatty): Fix return value.
-
-2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
- Gina Verlekar <gina.verlekar@kpitcummins.com>
-
- Moving files from newlib/libc/sys/sysnecv850 to v850
-
- * libnosys/configure: Regenerated.
- * libnosys/configure.in: Compact v850 support to v850*-*-*.
- * libnosys/configure: Regenerated.
- * configure.in: Add libgloss support for v850.
- * configure: Regenerated.
- * v850/access.c: New file.
- * v850/aclocal.m4: New.
- * v850/chmod.c: New.
- * v850/chown.c: New.
- * v850/close.c: New.
- * v850/configure: New.
- * v850/configure.in: New.
- * v850/crt0.S: New.
- * v850/crt1.c: New.
- * v850/execv.c: New.
- * v850/execve.c: New.
- * v850/_exit.c: New.
- * v850/fork.c: New.
- * v850/fstat.c: New.
- * v850/getpid.c: New.
- * v850/gettime.c: New.
- * v850/isatty.c: New.
- * v850/kill.c: New.
- * v850/link.c: New.
- * v850/lseek.c: New.
- * v850/Makefile.in: New.
- * v850/open.c: New.
- * v850/pipe.c: New.
- * v850/read.c: New.
- * v850/sbrk.c: New.
- * v850/sim.ld: New.
- * v850/stat.c: New.
- * v850/time.c: New.
- * v850/times.c: New.
- * v850/trap.S: New.
- * v850/unlink.c: New.
- * v850/utime.c: New.
- * v850/wait.c: New.
- * v850/write.c: New.
-
-2010-07-19 Rafael Campos <methril@gmail.com>
-
- * m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
- __mcf_family_51 since gcc 4.5.1.
-
-2010-06-29 Nick Clifton <nickc@redhat.com>
-
- * xstormy16/eva_app.ld (.gcc_except_table): Include sections with
- the .gcc_except_table. prefix.
- * xstormy16/eva_stub.ld: Likewise.
- * xstormy16/sim_high.ld: Likewise.
- * xstormy16/sim_low.ld: Likewise.
-
-2010-05-03 Michael Eager <eager@eagercon.com>
-
- * rs6000/Makefile.in: Remove xil-exit.o.
-
-2010-02-08 Conny Marco Menebrocker <c-m-m@gmx.de>
-
- * xc16x/xc16x.mt: New file.
- * xc16x/configure.in: Add target_makefile_frag reference.
- * xc16x/configure: Regenerated.
-
-2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
-
- * mn10300/Makefile.in: Add mkdir call to make installation
- directory when installing.
-
-2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
-
- * xc16x/Makefile.in: Remove extraneous stuff
- brought in by copy.
- * xc16x/configure.in: Ditto.
- * xc16x/configure: Regenerated.
-
-2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
-
- * configure.in: Add xc16x support.
- * configure: Regenerated.
- * xc16x/Makefile.in: New file for xc16x port.
- * xc16x/aclocal.m4: Ditto.
- * xc16x/close.S: Ditto.
- * xc16x/configure: Ditto.
- * xc16x/configure.in: Ditto.
- * xc16x/create.c: Ditto.
- * xc16x/crt0.S: Ditto.
- * xc16x/fstat.S: Ditto.
- * xc16x/getchar1.c: Ditto.
- * xc16x/isatty.c: Ditto.
- * xc16x/lseek.c: Ditto.
- * xc16x/mem-layout.c: Ditto.
- * xc16x/misc.c: Ditto.
- * xc16x/open.c: Ditto.
- * xc16x/read.c: Ditto.
- * xc16x/sbrk.c: Ditto.
- * xc16x/syscalls.c: Ditto.
- * xc16x/trap_handle.c: Ditto.
- * xc16x/write.c: Ditto.
- * xc16x/sys/syscall.h: Ditto.
-
-2009-11-25 DJ Delorie <dj@redhat.com>
-
- * rx/rx.ld: Place .sbss properly.
- * rx/rx-sim.ld: Likewise.
-
-2009-10-26 DJ Delorie <dj@redhat.com>
-
- * configure.in: Add support for RX sub-directory.
- * configure: Regenerate.
- * rx: New directory.
- * rx/*: New files to support RX architecture.
-
-2009-10-26 Nick Clifton <nickc@redhat.com>
-
- * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):
- Delete Thumb definitions - the ARM versions work correctly in
- Thumb mode.
-
-2009-10-08 Jie Zhang <jie.zhang@analog.com>
-
- * bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
- -mcpu=bf532-any for the default multilib.
-
-2009-09-28 Michael Eager <eager@eagercon.com>
-
- * configure.in: Add microblaze-*-*.
- * configure: Add microblaze-*-* (not regenerated.)
- * microblaze: NEW microblaze target directory.
- * microblaze/configure.in: NEW.
- * microblaze/configure: Generate.
- * microblaze/Makefile.in: NEW.
- * microblaze/{crt0.S, crt1.S, crt2.S, crt3.S, crt4.S, crtinit.S}: NEW.
- * microblaze/{pgcrtinit.S, _program_clean.S, _program_init.S,
- sbrk.c, sim-crtinit.S, sim-pgcrtinit.S, timer.c, _exception_handler.S,
- _hw_exception_handler.S, _interrupt_handler.S, xil_malloc.c,
- nnxil_printf.c, xil_sbrk.c: NEW.
- * microblaze/xilinx.ld: NEW.
-
-2009-09-21 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/getpagesize.c: Align getpagesize implementation to POSIX
-
-2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
-
- * bfin/include/cdefBF512.h, bfin/include/cdefBF514.h,
- bfin/include/cdefBF516.h, bfin/include/cdefBF518.h,
- bfin/include/cdefBF51x_base.h, bfin/include/cdefBF523.h,
- bfin/include/cdefBF524.h, bfin/include/cdefBF526.h,
- bfin/include/cdefBF542M.h, bfin/include/cdefBF544M.h,
- bfin/include/cdefBF547M.h, bfin/include/cdefBF548M.h,
- bfin/include/cdefBF549M.h, bfin/include/defBF512.h,
- bfin/include/defBF514.h, bfin/include/defBF516.h,
- bfin/include/defBF518.h, bfin/include/defBF51x_base.h,
- bfin/include/defBF523.h, bfin/include/defBF524.h,
- bfin/include/defBF526.h, bfin/include/defBF542M.h,
- bfin/include/defBF544M.h, bfin/include/defBF547M.h,
- bfin/include/defBF548M.h, bfin/include/defBF549M.h:
- New file.
- * bfin/include/ccblkfn.h, bfin/include/cdefBF525.h,
- bfin/include/cdefBF527.h, bfin/include/cdefBF52x_base.h,
- bfin/include/cdefBF532.h, bfin/include/cdefBF534.h,
- bfin/include/cdefBF535.h, bfin/include/cdefBF538.h,
- bfin/include/cdefBF539.h, bfin/include/cdefBF542.h,
- bfin/include/cdefBF544.h, bfin/include/cdefBF547.h,
- bfin/include/cdefBF548.h, bfin/include/cdefBF549.h,
- bfin/include/cdefBF54x_base.h, bfin/include/cdefBF561.h,
- bfin/include/cdefblackfin.h, bfin/include/cdef_LPBlackfin.h,
- bfin/include/cplb.h, bfin/include/defBF527.h,
- bfin/include/defBF52x_base.h, bfin/include/defBF532.h,
- bfin/include/defBF534.h, bfin/include/defBF535.h,
- bfin/include/defBF537.h, bfin/include/defBF538.h,
- bfin/include/defBF539.h, bfin/include/defBF542.h,
- bfin/include/defBF544.h, bfin/include/defBF547.h,
- bfin/include/defBF548.h, bfin/include/defBF549.h,
- bfin/include/defBF54x_base.h, bfin/include/defBF561.h,
- bfin/include/defblackfin.h, bfin/include/def_LPBlackfin.h,
- bfin/include/sys/_adi_platform.h,
- bfin/include/sys/anomaly_macros_rtl.h,
- bfin/include/sys/exception.h, bfin/include/sysreg.h:
- Update to Visual DSP 5.0 Update 6.
-
-2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
-
- * bfin/Makefile.in (BOARD_SCRIPTS): Add bf512.ld, bf514.ld,
- and bf516.ld, bf518.ld.
- * bfin/bf512.ld: New file.
- * bfin/bf514.ld: Likewise.
- * bfin/bf516.ld: Likewise.
- * bfin/bf518.ld: Likewise
-
-2009-09-16 Jie Zhang <jie.zhang@analog.com>
-
- * bfin/*.ld: Fix typos in comments.
-
-2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>
-
- * bfin/include/ccblkfn.h: New file.
-
-2009-09-08 Mike Frysinger <michael.frysinger@analog.com>
-
- * bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to
- __ASSEMBLER__.
- * bfin/include/sys/pll.h: Likewise
-
-2009-09-08 Jie Zhang <jie.zhang@analog.com>
-
- * bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
- -mcpu=bf532-any for the default multilib.
-
-2009-07-28 DJ Delorie <dj@redhat.com>
-
- * mep/gmap_default.ld: Add linkonce sections for .vtext.
- * mep/default.ld: Likewise.
- * mep/fmax.ld: Likewise.
- * mep/simple.ld: Likewise.
-
-2009-07-14 DJ Delorie <dj@redhat.com>
-
- * mep/syscalls.S (sysret): Maintain 16-byte stack alignment.
-
-2009-07-08 DJ Delorie <dj@redhat.com>
-
- * m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.
-
-2009-07-01 Anthony Green <green@moxielogic.com>
-
- * moxie/crt0.S (_start): Clear BSS at startup. Register _fini()
- with atexit().
- * moxie/sim-open.S: Fix comment.
-
-2009-06-19 Joseph Myers <joseph@codesourcery.com>
-
- * Makefile.in (html, pdf): New.
- * doc/Makefile.in (html, pdf, porting.pdf, porting.html): New.
- * doc/porting.texi: Fix section structure.
-
-2009-06-17 Michael Eager <eager@eagercon.com>
-
- * rs6000/Makefile.in: Add xilinx support.
- * rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi.
- * rs6000/xilinx.ld: New file.
- * rs6000/xilinx440.ld: Ditto.
-
-2009-05-13 Ken Werner <ken.werner@de.ibm.com>
-
- * configure.in: Introduce config_libnosys flag which defaults to true.
- * configure: Regenerate.
-
-2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
-
- * spu/crtn.S: Add dummy to ensure nothing gets linked at address 0.
- * spu/crti.S: Remove nop.
-
-2009-05-08 Nick Clifton <nickc@redhat.com>
-
- * mn10300/sim.ld: Add missing section names such as .bss.*
- .text.*, etc. General tidy up.
-
-2009-05-07 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/configure.in: Fix multilib support.
- * spu/configure: Regenerate.
- * spu/Makefile.in: Add CFLAGS_FOR_TARGET.
-
-2009-04-29 Anthony Green <green@moxielogic.com>
-
- * moxie/moxie-elf-common.ld: Move default stack out to accommodate
- large GCC tests.
-
-2009-04-22 Anthony Green <green@moxielogic.com>
-
- * configure.in: Add moxie support.
- * configure: Regenerate.
- * moxie/aclocal.m4, moxie/configure, moxie/configure.in,
- moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c,
- moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld,
- moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c,
- moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S,
- moxie/sim-exit.S,
- moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c,
- moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c,
- moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.
-
-2009-04-22 DJ Delorie <dj@redhat.com>
-
- * mep/sim-crt0.S (_start): Fix typo.
-
-2009-04-21 DJ Delorie <dj@redhat.com>
-
- * mep/Makefile.in (SCRIPTS): Update to new config.
- * mep/default.ld: New.
- * mep/gmap_default.ld: Change default endian to little.
- * mep/sim-crt0.S: Maintain 8-byte stack alignment.
- * mep/sim-crtn.S: Likewise.
-
-2009-04-03 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/Makefile.in: Add new files.
- * spu/times.c: New File.
- * spu/getitimer.c: Likewise.
- * spu/setitimer.c: Likewise.
-
-2009-04-03 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/Makefile.in: Add linux_getpid.o and linux_gettid.o.
- * spu/linux_getpid.c: New file.
- * spu/linux_gettid.c: New file.
-
-2009-04-03 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/crt0.S (_start): Place spu_id in the first agument register.
-
-2009-03-16 Jeff Johnston <jjohnstn@redhat.com>
-
- * m32r/m32r-stub.c: Replace with one from newer version of gdb.
-
-2009-01-07 Ben Elliston <bje@au.ibm.com>
-
- * Makefile.in (all): Add `+' to the command line so that the
- command is always treated as $(MAKE).
- * doc/Makefile.in (datarootdir): Define.
-
-2008-12-17 Jon Beniston <jon@beniston.com>
-
- * README: Add description of lm32 directory.
- * configure.in: Add lm32 target.
- * configure: Regenerated.
- * libnosys/configure.in: Add lm32 target.
- * libnosys/configure: Regenerated.
- * lm32: New directory.
- * lm32/aclocal.m4: New file.
- * lm32/Makefile.in: New file.
- * lm32/configure.in: New file.
- * lm32/configure: New file.
- * lm32/crt0.S: New file.
- * lm32/isatty.c: New file.
- * lm32/scall.S: New file.
- * lm32/sim.ld: New file.
-
-2008-12-11 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/crt0.S: Call __monstartup if profiling is enabled.
- * spu/Makefile.in: Add gcrt1.o gcrt2.o.
-
-2008-12-06 Adam Nemet <anemet@caviumnetworks.com>
-
- * mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. Update
- comment.
-
-2008-12-05 Adam Nemet <anemet@caviumnetworks.com>
-
- * mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. Update
- comment.
-
-2008-11-20 Ken Werner <ken.werner@de.ibm.com>
- Patrick Mansfield <patmans@us.ibm.com>
- Joel Schopp <jschopp@austin.ibm.com>
-
- * spu/Makefile.in: Add new files.
- * spu/jsre.h: Add JSRE_MMAP, JSRE_MREMAP, JSRE_MSYNC and
- JSRE_MUNMAP opcodes.
- * spu/mmap_eaddr.c: New File.
- * spu/mremap_eaddr.c: Likewise.
- * spu/msync_eaddr.c: Likewise.
- * spu/munmap_eaddr.c: Likewise.
-
-2008-11-17 Jeff Johnston <jjohnstn@redhat.com>
-
- * m32r/Makefile.in: Add building m32r-stub.o from local copy instead
- of up and over in gdb.
- * m32r/m32r-stub.c: New file copied from gdb.
-
-2008-10-06 Bill Tompkins <bill+newlib@key-square.com>
-
- * arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook()
- under thumb and thumb2.
-
-2008-09-24 DJ Delorie <dj@redhat.com>
-
- * m32c/varvects.S: New.
- * m32c/varvects.h: New.
- * m32c/sample.c: New.
- * m32c/Makefile.in: Add m32cgloss library support.
- * m32c/crt0.S: Tweaks to support interrupts by default.
- * m32c/m32c.tmpl: Likewise.
-
-2008-09-10 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/dirfuncs.c: Avoid warnings.
- * spu/kill.c: Likewise.
-
-2008-09-04 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/Makefile.in: Fix missing linux_syscalls.o.
- * spu/linux_syscalls.c: Remove extraneous "3D" sequences.
-
-2008-08-14 Jie Zhang <jie.zhang@analog.com>
-
- * bfin/Makefile.in: (top_srcdir): Define.
- (mkinstalldirs): Define.
- (BOARD_SCRIPTS): Define.
- (BOARD_LDFLAGS): Define.
- (BOARD_BSP): Define.
- (BOARD_CRT0S): Define.
- (BOARD_OBJS): Define.
- (BOARD_TEST): Define.
- (BOARD_INSTALL): Define.
- (INCLUDES): Add -I$(srcdir)/include.
- (all): Add ${BOARD_CRT0S} and ${BOARD_BSP}.
- (.c.S): Remove target.
- (crt0.o): New target.
- (basiccrt.o): Likewise.
- (basiccrtb.o): Likewise.
- (basiccrts.o): Likewise.
- (basiccrt561.o, basiccrt561s.o, basiccrt561b.o): Likewise
- (clean mostlyclean): Remove ${BOARD_BSP}.
- (install): Depend on ${BOARD_INSTALL}.
- (install-sim): Reformat.
- (install-board): New target.
- * bfin/basiccrt.S: Remove useless __ADSPBF561_COREB__ in
- workaround code for 05000229.
- * bfin/syscalls.c (do_syscall): Use `EXCPT 0' instead of
- `RAISE 0' for syscall.
- * bfin/basiccrt.S: New file.
- * bfin/bf5*ld: New file.
- * bfin/bfin-common-mc.ld: New file.
- * bfin/bfin-common-sc.ld: New file.
- * bfin/include/blackfin.h: New file.
- * bfin/include/cdefBF5*.h: New file.
- * bfin/include/cdef_LPBlackfin.h: New file.
- * bfin/include/cdefblackfin.h: New file.
- * bfin/include/cplb.h: New file.
- * bfin/include/cplbtab.h: New file.
- * bfin/include/defBF5*.h: New files.
- * bfin/include/def_LPBlackfin.h: New files.
- * bfin/include/defblackfin.h: New file.
- * bfin/include/sys/_adi_platform.h: New file.
- * bfin/include/sys/anomaly_macros_rtl.h: New file.
- * bfin/include/sys/excause.h: New file.
- * bfin/include/sys/exception.h: New file.
- * bfin/include/sys/mc_typedef.h: New file.
- * bfin/include/sys/platform.h: New file.
- * bfin/include/sys/pll.h: New file.
- * bfin/include/sysreg.h: New file.
- * libnosys/configure.in (MISSING_SYSCALL_NAMES): Don't define
- for bfin.
- * libnosys/configure: Regenerate.
-
-2008-07-17 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/syscalls.c: Check and set the errno value.
-
-2008-06-17 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/Makefile.in: Add new file.
- * spu/linux_syscalls.c: New file to add Linux syscall support.
-
-2008-06-16 Corrin Meyer <cjmeyer@gmail.com>
-
- * m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.
-
-2008-05-20 Nick Clifton <nickc@redhat.com>
-
- * iq2000/crt0.S (__dso_handle): Define (weak).
- * frv/crt0.S (__dso_handle): Define (weak).
- * mn10300/crt0.S (___dso_handle): Define (weak).
-
-2008-05-05 Ken Werner <ken.werner@de.ibm.com>
-
- * spu/readlink.c: Align readlink implementation to POSIX.
-
-2008-04-25 Nick Clifton <nickc@redhat.com>
-
- * arm/crt0.S: Allow assembly under ARMv7 ISA. Support for
- initializing stack pointers for interrupt modes is still pending.
-
-2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/sbrk.c: Remove "extern int errno", use whatever is supplied
- by sys/errno.h.
-
-2008-04-04 DJ Delorie <dj@redhat.com>
-
- * hp74x/configure: Regenerate with autoconf 2.61.
- * fr30/configure: Regenerate with autoconf 2.61.
- * mips/configure: Regenerate with autoconf 2.61.
- * xstormy16/configure: Regenerate with autoconf 2.61.
- * rs6000/configure: Regenerate with autoconf 2.61.
- * d30v/configure: Regenerate with autoconf 2.61.
- * i386/configure: Regenerate with autoconf 2.61.
- * configure: Regenerate with autoconf 2.61.
- * wince/configure: Regenerate with autoconf 2.61.
- * pa/configure: Regenerate with autoconf 2.61.
- * m32r/configure: Regenerate with autoconf 2.61.
- * mn10200/configure: Regenerate with autoconf 2.61.
- * iq2000/configure: Regenerate with autoconf 2.61.
- * cris/configure: Regenerate with autoconf 2.61.
- * m68k/configure: Regenerate with autoconf 2.61.
- * spu/configure: Regenerate with autoconf 2.61.
- * m32c/configure: Regenerate with autoconf 2.61.
- * mn10300/configure: Regenerate with autoconf 2.61.
- * i960/configure: Regenerate with autoconf 2.61.
- * arm/configure: Regenerate with autoconf 2.61.
- * libnosys/configure: Regenerate with autoconf 2.61.
- * m68hc11/configure: Regenerate with autoconf 2.61.
- * bfin/configure: Regenerate with autoconf 2.61.
- * crx/configure: Regenerate with autoconf 2.61.
- * mt/configure: Regenerate with autoconf 2.61.
- * sparc/configure: Regenerate with autoconf 2.61.
- * sparc/libsys/configure: Regenerate with autoconf 2.61.
- * mcore/configure: Regenerate with autoconf 2.61.
- * mep/configure: Regenerate with autoconf 2.61.
- * frv/configure: Regenerate with autoconf 2.61.
- * doc/configure: Regenerate with autoconf 2.61.
-
-2008-01-10 DJ Delorie <dj@redhat.com>
-
- * m32c/exit.S (__exit): preserve both argument registers.
-
-2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/redboot-syscalls.c: Consistently supply _isatty if syscalls
- dir is used in newlib.
- * bfin/syscalls.c: Ditto.
- * cris/gensyscalls: Ditto.
- * fr30/syscalls.c: Ditto.
- * frv/isatty.c: Ditto.
- * iq2000/isatty.c: Ditto.
- * libnosys/isatty.c: Ditto.
- * m32r/isatty.c: Ditto.
- * mn10200/isatty.c: Ditto.
- * mn10300/isatty.c: Ditto.
- * xstormy16/isatty.c: New file with _isatty function.
-
-2007-12-01 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.
-
-2007-11-06 Dave Brolley <brolley@redhat.com>
-
- * syscall.h (SYS_reconfig): New macro.
-
-2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
-
- * spu/crt0.S: Fix so element one of register one is correctly set
- when compiled with -mstdmain and -fstack-check.
-
-2007-10-02 Markus Deuling <deuling@de.ibm.com>
-
- * spu/crt0.S: Initialize __ea_local_store (EA address of the LS)
- via register 6.
-
-2007-10-01 Markus Deuling <deuling@de.ibm.com>
-
- * spu/Makefile.in: add dependencies for crt files.
-
-2007-10-01 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/sbrk.c: Use the current stack pointer value rather than the
- maximum available memory to determine the amount of heap space
- left. Without this change calling sbrk() can allocate space that
- is currently in use on the stack.
-
-2007-09-26 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/sched_yield.c: New file (missed on 2007-09-21).
-
-2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/Makefile.in: Add new files.
- * spu/jsre.h: Add JSRE_PREAD, JSRE_PWRITE, JSRE_READV, and
- JSRE_WRITEV opcodes.
- * spu/pread.c: New file to add pread via assist call.
- * spu/pwrite.c: New file to add pwrite via assist call.
- * spu/readv.c: New file to add readv via assist call.
- * spu/writev.c: New file to add writev via assist call.
-
-2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add JSRE_SCHED_YIELD, JSRE_UMASK, JSRE_UTIME, and
- JSRE_UTIMES.
- * spu/sched_yield.c: New file add sched_yield via assist call.
- * spu/umask.c: New file add umask via assist call.
- * spu/utime.c: New file add utime via assist call.
- * spu/utimes.c: New file add utimes via assist call.
- * spu/Makefile.in: Add new files.
-
-2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add JSRE_SHM_OPEN and JSRE_SHM_UNLINK opcodes.
- * spu/shm_open.c: New file to add shm_open via assist call.
- * spu/shm_unlink.c: New file to add shm_unlink via assist call.
- * spu/Makefile.in: Add shm_open.o and shm_unlink.o
-
-2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/dirfuncs.c: New file, holds the opendir, closedir, readdir,
- rewinddir, seekdir and telldir implementations. These are
- grouped in one file so that we do not need a separate file for
- the struct dirent and DIR allocation code.
- * spu/jsre.h: Add JSRE_OPENDIR and other dir opcodes.
- * spu/Makefile.in: Add dirfuncs.o.
-
-2007-08-13 Carlos O'Donell <carlos@codesourcery.com>
-
- * arm/crt0.S: Remove '.set' for __stack, hardware_init_hook,
- and software_init_hook.
-
-2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
-
- 2007-07-12 Daniel Jacobowitz <dan@codesourcery.com>
-
- * arm/syscalls.c (_stat): Use _close
-
- * arm/syscalls.c (struct poslog): Rename to...
- (struct fdent): ... this.
- (FILE_HANDLE_OFFSET): Remove.
- (findslot): Return a struct fdent* if fd is valid, otherwise return NULL.
- (newslot): New function.
- (remap_handle): Remove.
- (initialise_monitor_handles): Use stdout as fallback for stderr.
- (wrap): Rename to...
- (checkerror): ... this.
- (_swiread): Use checkerror() for the return of SWI calls. Correct the use of r0.
- (_read): Use findslot(). Return EBADF on bad handle.
- (_swilseek): Call findslot(). Check for valid whence. Check for negative offset when using
- SEEK_CUR, and check for overflow. Use checkerror(). Check *_Flen calls for errors.
- (_swiwrite): Correct the use of r0.
- (_write): Call findslot().
- (_swiopen): Call findslot(). Check for valid flags. Use checkerror(). Call newslot().
- Handle O_TRUNC, and O_WRONLY. Return index into openfiles[] for fd.
- (_swiclose): Correct the use of r0.
- (_close): Handle stderr == stdout case. Only reclaim handle if _swiclose succeeded.
- (_getpid): Use __attribute__((unused)).
- (_sbrk): Fix formatting.
- (_swistat): New function.
- (_stat): Call _swistat().
- (_fstat): Call _swistat().
- (_unlink): Correct the use of r0.
- (isatty): Call finslot(). Correct the use of r0.
- (_system): Call checkerror(). Correct the use of r0.
- (_rename): Correct the use of r0.
-
-2007-07-13 Kevin Buettner <kevinb@redhat.com>
-
- * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld (.gcc_except_table): Add pattern
- for .gcc_except_table.*.
-
-2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/syscalls.c (gettimeofday): Change to POSIX signature
- where second argument is passed as void *.
- * bfin/syscalls.c (gettimeofday): Ditto.
- * cris/gensyscalls (gettimeofday): Ditto.
- * cris/linunistd.h (gettimeofday): Ditto.
- * crx/time.c (gettimeofday): Ditto.
- * frv/sim-time.c (gettimeofday): Ditto.
- * i386/cygmon-salib.c (gettimeofday): Ditto.
- * libnosys/gettod.c (gettimeofday): Ditto.
- * m68k/io-gettimeofday.c (gettimeofday): Ditto.
- * sparc/cygmon-salib.c (gettimeofday): Ditto.
- * spu/gettimeofday.c (gettimeofday): Ditto.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add JSRE_MKSTEMP and JSRE_MKTEMP values.
- * spu/mkstemp.c: New file to add mkstemp support via assist call.
- * spu/mktemp.c: New file to add mktemp support via assist call.
- * spu/Makefile.in: Add mkstemp.o and mktemp.o
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add new JSRE opcodes.
- * spu/dup2.c: New file to add dup2 support via assist call.
- * spu/fdatasync.c: New file to add fdatasync support via assist call.
- * spu/fsync.c: New file to add fsync support via assist call.
- * spu/lockf.c: New file to add lockf support via assist call.
- * spu/sync.c: New file to add sync support via assist call.
- * spu/truncate.c: New file to add truncate support via assist call.
- * spu/Makefile.in: Add new files.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: JSRE_LINK, JSRE_SYMLINK and JSRE_READLINK.
- * spu/link.c: New file to add link support via an assist call.
- * spu/readlink.c: New file to add readlink support via an assist call.
- * spu/symlink.c: New file to add symlink support via an assist call.
- * spu/Makefile.in: Add new files.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add JSRE_LSTAT.
- * spu/lstat.c: New file add lstat support via an assist call.
- * spu/conv_stat.c: New file, add common stat conversion code.
- * spu/fstat.c: Use __conv_stat.
- * spu/stat.c: Use __conv_stat.
- * spu/Makefile.in: Add conv_stat.o and lstat.o.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add JSRE_GETCWD.
- * spu/getcwd.c: New file, implement getcwd with help from an
- assist call.
- * spu/Makefile.in: Add getcwd.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/jsre.h: Add defines for new assist calls.
- * spu/chdir.c: New file, support chdir via assist call.
- * spu/chmod.c: New file, support chmod via assist call.
- * spu/chown.c: New file, support chown via assist call.
- * spu/fchdir.c: New file, support fchdir via assist call.
- * spu/fchmod.c: New file, support fchmod via assist call.
- * spu/fchown.c: New file, support fchown via assist call.
- * spu/lchown.c: New file, support lchown via assist call.
- * spu/mkdir.c: New file, support mkdir via assist call.
- * spu/mknod.c: New file, support mknod via assist call.
- * spu/rmdir.c: New file, support rmdir via assist call.
- * spu/Makefile.in: Add new files.
-
-2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/getpagesize.c: New file add getpagesize via an assist call.
- * spu/jsre.h: Add JSRE_GETPAGESIZE.
- * spu/Makefile.in: Add getpagesize.
-
-2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/Makefile.in: Add nanosleep.c.
- * spu/jsre.h: Add JSRE_NANOSLEEP.
- * spu/nanosleep.c: New file, supply nanosleep via an assist call.
-
-2007-06-05 Patrick Mansfield <patman@us.ibm.com>
-
- * spu/jsre.h: Remove the assist call structs and defines that are
- specific to one assist call from here.
- * spu/access.c: Move struct syscall_access_t to here.
- * spu/fstat.c: Move struct syscall_fstat_t to here.
- * spu/ftruncate.c: Move struct syscall_ftruncate_t to here.
- * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here.
- * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to
- here.
- * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here.
- * spu/read.c: Move struct syscall_read_t to here, and actually use
- it (it is the same as syscall_write_t).
- * spu/stat.c: Move struct syscall_stat_t to here.
- * spu/write.c: Move struct syscall_write_t to here.
- * spu/close.c: Pass the address of the first and only argument to
- __send_to_ppe rather than using an automatic variable and a
- special struct.
- * spu/dup.c: Ditto.
- * spu/unlink.c: Ditto.
-
-2007-05-30 Kazu Hirata <kazu@codesourcery.com>
-
- * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:
- Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and
- _fini, respectively.
-
-2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/syscalls.c: Change __send_to_ppe to return the result stored
- in stored in slot 0 of the data, rather than have each assisted
- call retrieve the value.
- * spu/jsre.h: Remove the now unused syscall_out_t.
- * spu/access.c: Use the __send_to_ppe result instead of the slot 0
- value, remove unused syscall_out_t variable.
- * spu/close.c: Ditto.
- * spu/dup.c: Ditto.
- * spu/fstat.c: Ditto.
- * spu/ftruncate.c: Ditto.
- * spu/gettimeofday.c: Ditto.
- * spu/lseek.c: Ditto.
- * spu/open.c: Ditto.
- * spu/read.c: Ditto.
- * spu/stat.c: Ditto.
- * spu/unlink.c: Ditto.
- * spu/write.c: Ditto.
-
-2007-05-23 Kazu Hirata <kazu@codesourcery.com>
-
- * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt
- and .got.
-
-2007-05-07 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/open.c: Unconditionally set the "mode" to fix a bug where
- mode was not properly set.
-
-2007-05-03 Kazu Hirata <kazu@codesourcery.com>
-
- * m68k/fido-_exit.c (_exit): Use stop #0x700.
-
-2007-04-27 Kazu Hirata <kazu@codesourcery.com>
-
- * m68k/fido.sc: Catch .text.*, .rodata.*, .data.*, .bss.*,
- .ctor.*, and .dtor.*. Wrap ctor/dtor-related sections with KEEP.
-
-2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
- on return from the offload call.
- * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
- * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
- remove the setting of errno.
- * spu/close.c: Ditto.
- * spu/dup.c: Ditto.
- * spu/fstat.c: Ditto.
- * spu/ftruncate.c: Ditto.
- * spu/gettimeofday.c: Ditto.
- * spu/lseek.c: Ditto.
- * spu/open.c: Ditto.
- * spu/read.c: Ditto.
- * spu/stat.c: Ditto.
- * spu/unlink.c: Ditto.
- * spu/write.c: Ditto.
-
-2007-03-01 Ben Elliston <bje@au.ibm.com>
-
- * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
- that GCC runtime stack checking works. Handle the backchain, too.
-
-2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
-
- * spu/gettimeofday.c: New file which adds SPU gettimeofday.
- * spu/jsre.h: Remove time, add gettimeofday.
- * spu/Makefile.in: Ditto.
-
-2007-02-21 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
- "setf", not "nop", for common_v10_v32 compatibility.
- Move out interrupt table to irqtable.S. Include here for non-ELF.
- * cris/irqtable.S: Extracted from cris/crt0.S. Provide per-entry
- weak default stub definitions.
- * cris/crtn.c: Use "setf", not "nop", for common_v10_v32
- compatibility.
- * cris/setup.S [__arch_common_v10_v32]: Return.
- * cris/Makefile.in (BSP_OBJS): Add irqtable.o.
-
-2007-02-15 Nick Clifton <nickc@redhat.com>
-
- * sparc/cygmon.ld.src: Link .rodata.* input sections into .text
- output section.
- * sparc/cygmon-sparc64-ld.src: Likewise.
-
-2007-02-08 Dave Brolley <brolley@redhat.com>
-
- * mep: New target directory.
- * README: Add MeP.
- * configure.in: Add support for MeP.
- * configure: Regenerated.
- * mep/configure.in: New file.
- * mep/configure: Ditto.
- * mep/Makefile.in: Ditto.
- * mep/aclocal.m4: Ditto.
- * mep/crt0.S: Ditto.
- * mep/crtn.S: Ditto.
- * mep/sim-crt0.S: Ditto.
- * mep/sim-crtn.S: Ditto.
- * mep/fmax.ld: Ditto.
- * mep/gcov-io.h: Ditto.
- * mep/gmap_default.ld: Ditto.
- * mep/handlers.c: Ditto.
- * mep/h_reset.c: Ditto.
- * mep/isatty.c: Ditto.
- * mep/mep-bb.c: Ditto.
- * mep/mep-gmon.c: Ditto.
- * mep/min.ld: Ditto.
- * mep/read.c: Ditto.
- * mep/sbrk.c: Ditto.
- * mep/sdram-crt0.S: Ditto.
- * mep/sdram-crtn.S: Ditto.
- * mep/simnovec-crt0.S: Ditto.
- * mep/simple.ld: Ditto.
- * mep/simsdran-crt0.S: Ditto.
- * mep/syscalls.S: Ditto.
- * mep/write.c: Ditto.
-
-2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
-
- * spu/syscalls.c: Replace vector with __vector.
-
-2007-01-09 Ben Elliston <bje@au.ibm.com>
-
- * spu/exit.c (_exit): Finish with an infinite loop to eliminate a
- warning about this noreturn function returning.
-
-2007-01-04 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
-
- libgloss/
- * m68k/Makefile.in (CF_ISRS): Remove now shared routines.
- * m68k/cf-crt0.S (__reset): Define here.
- * m68k/cf-isrs.c: Share some ISRS. Add aliases for each IRQ slot.
- * m68k/cf-isv.S: Move to .interrupt_vector section. Make each
- slot a unique routine.
- * m68k/cf.sc: Adjust for .interrupt_vector section.
-
- libgloss/
- * m68k/Makefile.in (m5273c3): Rename to ...
- (m5272c3): ... here to fix typo.
- (m5249c3): New.
- (CF_BOARDS): Add it.
-
-2006-01-03 Kazu Hirata <kazu@codesourcery.com>
-
- * arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o.
- (RDIMON_OBJS): Define in terms of RDPMON_OBJS.
- (rdimon-_exit.o, rdimon-_kill.o): New.
- * arm/_exit.c, arm/_kill.c: New.
- * arm/syscalls.c (_exit, _kill): Remove.
-
-2007-01-03 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/cf-crt0.S (__start): Adjust semihosting.
-
-2007-01-02 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/cf-hosted.S (__hosted): Adjust semihosting.
-
-2007-01-02 Ben Elliston <bje@au.ibm.com>
-
- * spu/time.c (time): Cast new sys.time value to unsigned int.
-
-2006-12-25 Kazu Hirata <kazu@codesourcery.com>
-
- * arm/syscalls.c (_unlink, _system, _rename): Cast arguments
- to do_AngelSWI to int.
-
- * arm/licfunc.c (do_AngelSWI): Remove.
- * arm/syscalls.c (do_AngelSWI): Remove.
- * arm/swi.h (do_AngelSWI): New.
-
-2006-12-18 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
-
- * m68k/fido-crt0.S (_vector_table): Reference
- _PrivilegeViolationHandler.
-
- 2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
-
- * m68k/fido-crt0.S (_start): Set %vbr for context 0 in
- RAM configs.
- * m68k/fido.sc: Clean up formatting. Add comments. Move
- stack and heap end to SDRAM for SRAM and SDRAM configurations.
- Put RedBoot application text in SRAM.
-
- 2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile (install_cf): Don't loop over files here. Only
- install sources for the default multilib.
- (install_fido): Likewise.
- (install_io): Install bsps in one go.
-
- 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
- Kazu Hirata <kazu@codesourcery.com>
-
- * configure.in: Recognize fido-*-*.
- * configure: Regenerate.
- * m68k/Makefile.in (CF_ISRS): Use addprefix.
- (FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
- FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
- FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
- fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
- fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
- install_fido): New.
- * m68k/asm.h (mbb): New.
- * m68k/configure.in (DO): Check for __mfido__.
- * m68k/configure: Regenerate.
- * m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
- m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
- m68k/fido.sc, m68k/fido_profiling.h: New.
-
-2006-12-18 Ben Elliston <bje@au.ibm.com>
-
- * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
-
-2006-12-13 Ben Elliston <bje@au.ibm.com>
-
- * libnosys/_exit.c (_exit): Finish with an infinite loop to
- eliminate a warning about this noreturn function returning.
-
-2006-12-13 Sa Liu <saliu@de.ibm.com>
-
- * spu/access.c: New file
- * spu/dup.c: New file
- * spu/ftruncate.c: New file
- * spu/jsre.h: add structures for new functions
- * spu/time.c: New file
- * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.
-
-2006-12-12 Ben Elliston <bje@au.ibm.com>
-
- * configure.in: Remove superfluous semicolons.
- * configure: Regenerate.
-
-2006-12-11 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
- Kazu Hirata <kazu@codesourcery.com>
-
- * m68k/Makefile.in (CF_ISRS): Use addprefix.
-
- 2006-11-01 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (CFLAGS): Do not clear. Add to all compilations.
- (ARFLAGS): Remove commented out definition.
-
-
- * m68k/configure.in (DO) Set to list of target cpu families.
- * m68k/configure: Rebuilt.
- * m68k/Makefile.in (DO): New.
- (UNHOSTED_BSP, UNHOSTED_OBJS, HOSTED_BSP, HOSTED_OBJS): Move
- later.
- (m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5275evb,
- m5282evb, m5329evb, m5485evb): Move earlier.
- (all): Add all_$DO dependencies.
- (all_cf, all_m68k): New targets, depend on cf & m68k bsps as
- appropriate.
- (m%-ram.ld, m%-rom.ld, m%-ram-hosted.ld, m%-rom-hosted.ld): Add
- 'm' prefix.
- (install): Add install_$DO dependencies.
- (install_cf, install_m68k): New targets. Perform cf and m68k
- installs as appropriate.
- (install_io): New, install the io libraries.
-
-
- 2006-10-23 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
- & unhosted versions.
- (CF_OBJS): Add cf-isv.o.
- (CF_SOURCES): Add cf-isv.S.
- (cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
- * m68k/cf-isv.S: New, broken out of ...
- * m68k/cf-crt0.S: ... here. Add HOSTED & UNHOSTED differences.
- * m68k/cf-crt1.c (__start1): Add heap_limit argument.
- (__heap_limit): Define.
- * m68k/cf-sbrk.c (__heap_limit): Declare.
- (sbrk): Adjust for __heap_limit.
- * m68k/cf.sc: Use different crt0's for hosted & unhosted.
- Install a separate isv.o file.
- * m68k/io.h (HOSTED_PUTCHAR): Replace with ...
- (HOSTED_INIT_SIM): ... this.
-
-
- 2006-10-20 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (CF_BOARDS): Add m5275evb.
- (m5275evb): New board.
-
-
- 2006-10-20 Vladimir Prus <vladimir@codesourcery.com>
-
- * m68k/cf.sc: Add linkonce sections and
- DWARF sections.
-
-
- 2006-10-07 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in: Adjust Coldfire rules.
- (BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
- (CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here. Adjust.
- (BDM_OTHER_OBJS): Remove.
- (BDM_SYSOBJS): Rename to ...
- (UNHOSTED_OBJS): ... here. Adjust.
- (UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
- (CF_HOSTED_SCRIPTS): New.
- (CF_SCRIPTS, CF_SOURCES): Adjust.
- * m68k/cf.sc: Add IO library variable.
- * m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
- m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
- * m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
- m68k/cf-hosted.S: ... here.
- * m68k/cf-exit.c: New.
- * m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
- * m68k/io.h: ... here. Add unhosted support. Adjust conversion
- function names.
- * m68k/bdm-gdb.c: Rename to ...
- * m68k/io-gdb.c: ... here. Adjust names of conversion functions.
- * m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
- m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
- m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
- m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
- m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
- * m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
- m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
- m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
- m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
- m68k/io-write.c: ... here. Include io.h. Adjust for hosted &
- unhosted libraries. Adjust names of gdb conversion functions.
-
-
- 2006-09-29 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-semihost.S: Add more comments. Make instruction weirder.
-
- 2006-09-22 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.
-
- 2006-09-18 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in: Don't force a frame pointer on the ISRs.
- * m68k/bdm-crt1.c (__start1): Don't set the VBR here.
- (hardeare_init_hook): Define weakly. Set VBR here, enable caching
- if supported.
-
-
- * m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
- * m68k/bdm-semihost.c: Remove.
- * m68k/bdm-semihost.S: New.
- * m68k/bdm-crt0.S: Don't install semihosting trap handler.
- * m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
- bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
- bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
- * m68k/bdm-isrs.c: Update comment.
- * m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
- BDM_TRAP): Remove.
- (__bdm_semihost): Declare.
-
-
- 2006-09-15 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
- (BDM_SYSOBJS): Add bdm-sbrk.o.
- * m68k/bdm-sbrk.c: New.
-
-
- 2006-09-06 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (CF_SOURCES): New.
- (install): Install them.
-
-
- 2006-09-01 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/cf.sc: Add .jcr section to .text.
-
-2006-12-11 Ben Elliston <bje@au.ibm.com>
-
- * configure.in: Remove extra whitespace from config_testsuite =
- VALUE statements to eliminate shell errors.
- * configure: Regenerate.
-
-2006-12-08 Sa Liu <saliu@de.ibm.com>
-
- * spu/exit.c (libgloss_exit): Rename from this ..
- (_exit): .. to this. Overhaul.
- (exit): Remove.
- * spu/crt0.S, spu/crti.S, spu/crtn.S: New files.
- * spu/crt0.C, spu/init.c: Remove.
- * spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C.
- * spu/configure: Regenerate.
- * spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets.
- (OBJS): Remove init.o.
- (CRTOBJS): New.
- (OUTPUTS): Add $(CRTOBJS).
-
-2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
-
- * mips/crt0.S: Fix preprocessor statements from previous patch
- to be ANSI.
-
-2006-11-24 Thiemo Seufer <ths@mips.com>
- Nigel Stephens <nigel@mips.com>
-
- * mips/crt0.S (_start): Use all available float registers. Don't touch
- SR_PE on post-mips2 CPUs, it means soft reset there.
-
-2006-11-22 Luca Barbato <lu_zero@gentoo.org>
-
- * spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
-
-2006-11-17 Jeff Johnston <jjohnstn@redhat.com>
-
- * mn10300/Makefile.in: Add spaces after do in "for" loop.
-
-2006-11-08 Jie Zhang <jie.zhang@analog.com>
-
- * bfin/configure.in: New.
- * bfin/crt0.S: New.
- * bfin/Makefile.in: New.
- * bfin/syscalls.c: New.
- * bfin/aclocal.m4: Generate.
- * bfin/configure: Ditto.
- * configure.in: Add support for bfin-*-*.
- * configure: Regenerate.
- * syscall.h (SYS_argc): Define.
- (SYS_argnlen): Define.
- (SYS_argn): Define.
-
-2006-10-10 Thiemo Seufer <ths@mips.com>
-
- * mips/Makefile.in: Add INCLUDES to local compile rules.
-
-2006-10-06 Jeff Johnston <jjohnstn@redhat.com>
-
- * Makefile.in: Add CFLAGS_FOR_TARGET and CCASFLAGS to
- FLAGS_TO_PASS.
-
-2006-10-03 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/linux-syscalls0.c: Rewrite bx insn architecture flag check
- to avoid use of __ARM_ARCH__.
-
-2006-10-02 Nick Clifton <nickc@redhat.com>
-
- * arm/linux-syscalls0.c: Add arm architecture flag
- checks around bx insn.
-
-2006-09-07 Masaki Muranaka <monaka@monami-software.com>
-
- * xstormy16/Makefile.in (clean): Fix a mismatched parenthesis.
-
-2006-09-01 Kazu Hirata <kazu@codesourcery.com>
-
- Merge from newlib-csl-20060320-branch:
- 2006-08-31 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-crt1.c: Call hardware_init_hook before copying
- initialized data.
-
- * m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
- (CF_SCRIPTS): Update.
- (%-bdm.ld): Rename to %-ram.ld.
-
- 2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
- (BDM_CRT0): New.
- (BDM_OBJS): Add bdm-crt1.o.
- (BDM_OTHER_OBJS): Remove print.o putnum.o
- (CF_BOARDS): New.
- (CF_BDM_SCRIPTS): Generated name of ram scripts.
- (CF_ROM_SCRIPTS): Generated name of rom scripts.
- (CF_SCRIPTS): Adjust.
- (all): Add BDM_CRT0.
- (bdm-crt0.o, bdm-crt1.o): New targets.
- (bdm-isv.o): Remove.
- (m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
- m5329evb, m5485evb): New.
- (%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
- (install): Remove DBUG installs.
- * m68k/bdm-crt0.S: New.
- * m68k/bdm-crt1.c: New.
- * m68k/bdm-exit.c: Call __reset.
- * m68k/bdm-isv.c: Remove.
- * m68k/cf.sc: Adjust to produce either rom or ram images.
- * m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
-
- 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
-
- Bug 844
- * m68k/cf.sc: Set entry point to _start.
- * m68k/crt0.X (_start): New name for entrypoint
- (start): Weak alias for start.
-
- 2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-system.c (_system): Support system(NULL).
-
- 2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-system.c (_system): Properly encode non failure exit
- code.
-
- 2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
- Add bdm-time.o.
- * m68k/bdm-close.c: Add copyright notice.
- * m68k/bdm-fstat.c: Add copyright notice.
- * m68k/bdm-gettimeofday.c: Add copyright notice.
- * m68k/bdm-inbyte.c: Remove.
- * m68k/bdm-isatty.c: Add copyright notice.
- * m68k/bdm-lseek.c: Add copyright notice. Fix &/| thinko.
- * m68k/bdm-open.c: Add copyright notice.
- * m68k/bdm-read.c: Add copyright notice.
- * m68k/bdm-rename.c: Add copyright notice.
- * m68k/bdm-stat.c: Add copyright notice.
- * m68k/bdm-system.c: Add copyright notice.
- * m68k/bdm-time.c: New.
- * m68k/bdm-unlink.c: Add copyright notice.
- * m68k/bdm-write.c: Add copyright notice.
-
- 2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
- scripts.
-
- 2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o.
- * m68k/bdm-outbyte.c: Delete.
- * m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
-
- 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
-
- * m68k/bdm-semihost.h: Add new constants for additional
- semihosting functions. Add new BDM_TRAP macro to encapsulate
- inline asm.
- * m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
- * m68k/bdm-outbyte.c (outbyte): Ditto.
- * m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
- now called BDM_TRAPNUM.
- * m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
- containing declarations and conversion functions for GDB's fileio
- protocol.
- * m68k/bdm-close.c: New file to define corresponding function.
- * m68k/bdm-fstat.c: Ditto.
- * m68k/bdm-gettimeofday.c: Ditto.
- * m68k/bdm-isatty.c: Ditto.
- * m68k/bdm-lseek.c: Ditto.
- * m68k/bdm-open.c: Ditto.
- * m68k/bdm-read.c: Ditto.
- * m68k/bdm-rename.c: Ditto.
- * m68k/bdm-stat.c: Ditto.
- * m68k/bdm-system.c: Ditto.
- * m68k/bdm-unlink.c: Ditto.
- * m68k/bdm-write.c Ditto.
- * m68k/Makefile.in: Add dependencies for new files.
-
- 2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
-
- * m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
- Reorder.
- (*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
- (m5329evb-dbug.ld, m5329evb-bdm.ld): New.
- * cf.sc (GROUP): Revert previous change. Add IO library.
-
- * m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
- (CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
- scripts.
- (all): Add new targets.
- (BDM_BSP): New target.
- (bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
- targets.
- (BDM_ISRS): New targets.
- (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
- Rename and adjust.
- (m5485evb-dbug): New.
- (m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
- m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
- (install): Add BDM_BSP.
- * m68k/bdm-exit.c: New
- * m68k/bdm-inbyte.c: New
- * m68k/bdm-outbyte.c: New
- * m68k/bdm-semihost.c: New
- * m68k/bdm-semihost.h: New
- * m68k/bdm-isrs.c: New.
- * m68k/bdm-isv.c: New.
- * dbug-cf.sc: Renamed to ...
- * cf.sc: ... here. Add bdm flexibility. Remove GROUP
-
- 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
-
- * m68k/bdm-semihost.h: Add new constants for additional
- semihosting functions. Add new BDM_TRAP macro to encapsulate
- inline asm.
- * m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
- * m68k/bdm-outbyte.c (outbyte): Ditto.
- * m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
- now called BDM_TRAPNUM.
- * m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
- containing declarations and conversion functions for GDB's fileio
- protocol.
- * m68k/bdm-close.c: New file to define corresponding function.
- * m68k/bdm-fstat.c: Ditto.
- * m68k/bdm-gettimeofday.c: Ditto.
- * m68k/bdm-isatty.c: Ditto.
- * m68k/bdm-lseek.c: Ditto.
- * m68k/bdm-open.c: Ditto.
- * m68k/bdm-read.c: Ditto.
- * m68k/bdm-rename.c: Ditto.
- * m68k/bdm-stat.c: Ditto.
- * m68k/bdm-system.c: Ditto.
- * m68k/bdm-unlink.c: Ditto.
- * m68k/bdm-write.c Ditto.
- * m68k/Makefile.in: Add dependencies for new files.
-
-2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
-
- * spu/syscalls.c: Add a new argument to _send_to_ppe() to
- specify signal code.
- * spu/jsre.h: Update declaration of _send_to_ppe().
- * spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe().
- * spu/fstat.c: Ditto.
- * spu/lseek.c: Ditto.
- * spu/open.c: Ditto.
- * spu/read.c: Ditto.
- * spu/stat.c: Ditto.
- * spu/unlink.c: Ditto.
- * spu/write.c: Ditto.
-
-2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
-
- * spu/Makefile.in: Add dependency.
-
-2006-08-24 Paul Brook <paul@codesourcery.com>
-
- * arm/linux-crt0.c: Disable Arm stub for Thumb-2.
-
-2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
-
- * spu/Makefile.in: Add new object files.
- * spu/syscalls.c: Move each system call to individual file.
- * spu/jsre.h: Add declaration of _send_to_ppe_0x2101().
- * spu/close.c: New file. Moved from spu/syscalls.c.
- * spu/fstat.c: Likewise.
- * spu/getpid.c: Likewise.
- * spu/isatty.c: Likewise.
- * spu/kill.c: Likewise.
- * spu/lseek.c: Likewise.
- * spu/open.c: Likewise.
- * spu/read.c: Likewise.
- * spu/stat.c: Likewise.
- * spu/unlink.c: Likewise.
- * spu/write.c: Likewise.
-
-2006-08-21 David Ung <davidu@mips.com>
-
- * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16
- option since it uses the syscall instruction.
-
-2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
-
- * spu/Makefile.in: Add special compiler
- options to reduce size.
-
-2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
-
- * spu/jsre.h(JSRE_STAT): New define.
- (syscall_stat_t): New type.
- * spu/syscalls.c(stat): New syscall.
-
-2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
-
- * configure.in: Add spu support.
- * configure: Regenerated.
- * spu/Makefile.in: New file.
- * spu/aclocal.m4: Ditto.
- * spu/configure: Ditto.
- * spu/configure.in: Ditto.
- * spu/crt0.c: Ditto.
- * spu/exit.c: Ditto.
- * spu/init.c: Ditto.
- * spu/jsre.h: Ditto.
- * spu/sbrk.c: Ditto.
- * spu/syscalls.c: Ditto.
-
-2006-07-05 Shaun Jackman <sjackman@gmail.com>
-
- * arm/linux-crt0.S: Remove file.
- * arm/linux-crt0.c: New file. Supports PIC code.
-
-2006-07-04 Shaun Jackman <sjackman@gmail.com>
-
- * arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid,
- getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe,
- setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New
- system call.
-
-2006-06-30 DJ Delorie <dj@redhat.com>
-
- * m32c/crt0.S (done_inilist): Fix dwarf2 address sizes.
-
-2006-06-23 Shaun Jackman <sjackman@gmail.com>
-
- * arm/elf-linux.specs: New file.
-
-2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
-
- * arm/syscalls.c (_unlink, isatty, _system, _rename):
- Make them do something useful in the ARM_RDI_MONITOR case.
-
-2006-06-08 Fred Fish <fnf@specifix.com>
-
- * mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/nullmon.ld,
- mips/pmon.ld: Keep special sections generated by mips gcc.
-
-2006-06-05 Shaun Jackman <sjackman@gmail.com>
-
- * arm/linux-syscalls0.S (reboot): Remove.
- * arm/linux-syscalls1.c (reboot): New function.
-
-2006-06-05 Shaun Jackman <sjackman@gmail.com>
-
- * arm/syscalls.c (kill) [ARM_RDI_MONITOR]: Use the signal
- argument to choose an ADP exception reason.
- * arm/libcfunc.c (abort): Remove this function.
-
-2006-05-30 Shaun Jackman <sjackman@gmail.com>
-
- * arm/Makefile.in: Add Linux syscall interface.
- * arm/linux-crt0.S: New file.
- * arm/linux-syscall.h: New file.
- * arm/linux-syscalls0.S: New file.
- * arm/linux-syscalls1.c: New file.
-
-2006-05-23 Fred Fish <fnf@specifix.com>
-
- * mips/configure.in: Change mipsisa64-*-* to
- mipsisa64*-*-* to catch minor variations like
- mipsisa64sb1.
- * mips/configure: Regenerated.
-
-2006-05-10 Jeff Johnston <jjohnstn@redhat.com>
-
- * Makefile.in: Pass some additional flags in FLAGS_TO_PASS.
- * configure.in: Add additional flags when creating Makefile.
- * configure: Regenerated.
- * arm/configure
- * arm/configure.in: Set with_multisubdir when creating Makefile.
- * cris/configure.in: Ditto.
- * d30v/configure.in: Ditto.
- * frv/configure.in: Ditto.
- * i386/configure.in: Ditto.
- * iq2000/configure.in: Ditto.
- * libnosys/configure.in: Ditto.
- * m32c/configure.in: Ditto.
- * m32r/configure.in: Ditto.
- * m68hc11/configure.in: Ditto.
- * m68k/configure.in: Ditto.
- * mcore/configure.in: Ditto.
- * mips/configure.in: Ditto.
- * mn10200/configure.in: Ditto.
- * mn10300/configure.in: Ditto.
- * mt/configure.in: Ditto.
- * pa/configure.in: Ditto.
- * rs6000/configure.in: Ditto.
- * sparc/configure.in: Ditto.
- * cris/configure: Regenerated.
- * d30v/configure: Ditto.
- * frv/configure: Ditto.
- * i386/configure: Ditto.
- * iq2000/configure: Ditto.
- * libnosys/configure: Ditto.
- * m32c/configure: Ditto.
- * m32r/configure: Ditto.
- * m68hc11/configure: Ditto.
- * m68k/configure: Ditto.
- * mcore/configure: Ditto.
- * mips/configure: Ditto.
- * mn10200/configure: Ditto.
- * mn10300/configure: Ditto.
- * mt/configure: Ditto.
- * pa/configure: Ditto.
- * rs6000/configure: Ditto.
- * sparc/configure: Ditto.
-
-2006-04-19 Jeff Johnston <jjohnstn@redhat.com>
-
- * configure.in: Modified to support autoconf 2.59.
- * */configure.in: Ditto.
- * configure: Regenerated.
- * */configure: Ditto.
- * wince/aclocal.m4: Ditto.
- * acinclude.m4: New file.
- * aclocal.m4: Ditto.
- * arm/aclocal.m4: Ditto.
- * cris/aclocal.m4: Ditto.
- * crx/aclocal.m4: Ditto.
- * d30v/aclocal.m4: Ditto.
- * fr30/aclocal.m4: Ditto.
- * frv/aclocal.m4: Ditto.
- * hp74x/aclocal.m4: Ditto.
- * i386/aclocal.m4: Ditto.
- * i960/aclocal.m4: Ditto.
- * iq2000/aclocal.m4: Ditto.
- * libnosys/aclocal.m4: Ditto.
- * m32c/aclocal.m4: Ditto.
- * m32r/aclocal.m4: Ditto.
- * m68hc11/aclocal.m4: Ditto.
- * m68k/aclocal.m4: Ditto.
- * mcore/aclocal.m4: Ditto.
- * mips/aclocal.m4: Ditto.
- * mn10200/aclocal.m4: Ditto.
- * mn10300/aclocal.m4: Ditto.
- * mt/aclocal.m4: Ditto.
- * pa/aclocal.m4: Ditto.
- * rs6000/aclocal.m4: Ditto.
- * sparc/aclocal.m4: Ditto.
- * sparc/libsys/aclocal.m4: Ditto.
- * xstormy16/aclocal.m4: Ditto.
-
-2006-04-18 Mark Mitchell <mark@codesourcery.com>
-
- * doc/porting.texi: Document libgloss build conventions.
-
-2006-03-22 Nathan Sidwell <nathan@codesourcery.com>
-
- * mt/startup-16-002.S (.internal_io): Make @nobits.
- * mt/startup-16-003.S (.internal_io): Make @nobits.
- * mt/startup-ms2.S (.internal_io): Make @nobits.
-
-2006-03-02 DJ Delorie <dj@redhat.com>
-
- * m32c/exit.S: Preserve r1.
-
-2006-02-24 Paul Brook <paul@codesourcery.com>
-
- * arm/redboot-crt0.S: Use cps in Thumb-2 mode.
-
-2006-02-22 Nathan Sidwell <nathan@codesourcery.com>
-
- * m68k/Makefile.in (CF_SCRIPTS): New.
- (all): Add CF_SCRIPTS.
- (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld,
- m5282evb.ld): New targets
- (install): Iterate over CF_SCRIPTS.
- * m68k/crt0.S: Don't use dbra on any cf chips.
- * m68k/dbug-cf.sc: New.
-
-2006-02-07 Paul Brook <paul@codesourcery.com>
-
- * arm/crt0.S: Add Thumb-2 startup code.
- * arm/redboot-crt0.S: Ditto.
- * arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
- * arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
- * arm/trap.S: Disable for Thumb-2.
-
-2006-01-18 Nathan Sidwell <nathan@codesourcery.com>
-
- * mt/ms2.ld (.sram): Correct typo in section names.
-
-2006-01-16 Nathan Sidwell <nathan@codesourcery.com>
-
- * mt/Makefile.in (SCRIPTS, CRT0): Add ms2 files.
- (crt0-ms2.o): New target.
- * mt/crt0-ms2.S, mt/exit-ms2.c, mt/ms2.ld, mt/startup-ms2.S: New.
-
-2006-01-04 Paul Brook <paul@codesourcery.com>
-
- * m68k/bcc.ld: Add .got.plt and .got
- * m68k/idp.ld: Ditto.
- * m68k/idpgdb: Ditto.
- * m68k/mvme135.ld: Ditto.
- * m68k/sbc5204.ld: Ditto.
- * m68k/sbc5206.ld: Ditto.
- * m68k/sim.ld: Ditto.
-
-2005-12-13 DJ Delorie <dj@redhat.com>
-
- * m32c/crt0.S: Add support for preinit, init, and fini arrays, and
- .init and .fini processing.
- * m32c/crtn.S: Likewise.
- * m32c/exit.S: Likewise.
-
-2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
-
- * mt/16-002.ld: Change architecture to 'mt'. Remove
- SEARCH_DIR.
- * mt/16-003.ld: Likewise.
- * mt/64-001.ld: Likewise.
- * mt/Makefile.in: Change comment to reference 'mt' rather than 'ms1'.
- * mt/crt0.S: Likewise.
-
-2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
-
- * configure.in: Replace ms1 arch with mt arch.
- * configure: Rebuilt.
- * mt: Renamed from ms1 dir.
-
-2005-12-06 Paul Brook <paul@codesourcery.com>
-
- * m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*.
- * m68k/idp.ld: Ditto.
- * m68k/idpgdb: Ditto.
- * m68k/mvme135.ld: Ditto.
- * m68k/sbc5204.ld: Ditto.
- * m68k/sbc5206.ld: Ditto.
- * m68k/sim.ld: Ditto.
-
-2005-11-30 Shaun Jackman <sjackman@gmail.com>
-
- * libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink.
- * libnosys/chown.c: New file.
- * libnosys/readlink.c: New file.
- * libnosys/symlink.c: New file.
-
-2005-11-30 Shaun Jackman <sjackman@gmail.com>
-
- * arm/libcfunc.c (clock, sleep, usleep): New functions.
- * arm/syscalls.c (_clock): New function.
- (_times): Call _clock.
-
-2005-11-17 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
- the IsTTY SWI that _isatty calls.
-
-2005-11-17 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/linunistd.h: Don't redefine errno as extern int.
-
-2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and
- BUILD_CRT0_FALSE.
- * arm/configure: Regenerate.
-
-2005-10-17 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/configure.in: Support building crt0.o when syscalls
- are disabled in newlib.
- * arm/configure: Regenerated.
-
-2005-10-03 James E Wilson <wilson@specifix.com>
-
- * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
- mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
- mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
- jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
- mips/pmon.ld: Add support for .bss.* sections.
-
-2005-09-23 James E Wilson <wilson@specifix.com>
-
- * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
- mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
- mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
- jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
- mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add
- support for .gnu.linkonce.b.*.
-
-2005-08-30 Jeff Johnston <jjohnstn@redhat.com>
-
- * rs6000/Makefile.in (VPATH): Use colon as separator.
-
-2005-08-24 Aldy Hernandez <aldyh@redhat.com>
-
- * ms1/access.c: Change copyright notice.
-
-2005-08-19 DJ Delorie <dj@redhat.com>
-
- * m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
- (*.o): Add dependencies.
- * m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
- recommendations.
-
-2005-08-18 DJ Delorie <dj@redhat.com>
-
- * m32c/Makefile.in: Block out memory regions reserved for monitors
- and simulators. Add monitor link scripts.
-
-2005-08-16 Shaun Jackman <sjackman@gmail.com>
-
- * arm/syscalls.c (initialise_monitor_handles): Set
- monitor_stderr to the result of SWI_open(":tt", "a")
- instead of simply duplicating stdout.
-
-2005-08-10 DJ Delorie <dj@redhat.com>
-
- * configure.in: Add m32c support.
- * configure: Regenerated
- * m32c: New directory, Renesas R8C/M16C/M32C support.
- * m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
- m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
- m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
- m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
- m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
- m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
- m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
- m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
-
-2005-08-02 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/arm/libcfunc.c (isatty): New function.
-
-2005-08-02 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/arm/syscalls.c (_exit): Call _kill with the second
- argument set to -1, which is an invalid signal number.
- (_kill): Comment and coding style changes only.
- (_raise): Remove function.
-
-2005-07-19 Paul Brook <paul@codesourcery.com>
-
- * arm/crt0.S: Ensure doubleword stack alignment.
-
-2005-07-18 Richard Sandiford <richard@codesourcery.com>
-
- * mips/array.ld (.sdata): Include .gnu.linkonce.s.*, not
- .gnu.linkonce.s*.
- (.sbss): Include .sbss.* and .gnu.linkonce.sb.*.
- * mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld,
- * mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
- * mips/jmr3904app-java.ld, mips/jmr3904app.ld,
- * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
- * mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: As for mips/array.ld.
-
-2005-07-18 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/arm/libcfunc.c (abort): Call _exit instead of the RDI swi.
- (alarm): Add the weak attribute.
- (pause): New function. Return ENOSYS.
- * libgloss/arm/syscalls.c (_getpid): Add the weak attribute.
- (_fstat): Ditto.
- (_stat): Ditto.
- (_link): Ditto. Return ENOSYS.
- (_unlink): Call the swi instead of returning -1.
- (_raise): Add the weak attribute. Return ENOSYS.
- (isatty): Rename to _isatty. Call the swi instead of returning 1.
- (_system): Call the swi instead of returning ENOSYS.
- (_rename): Ditto.
-
-2005-07-06 Aldy Hernandez <aldyh@redhat.com>
-
- * configure.in: Add ms1 case.
- * configure: Regenerate.
- * ms1/16-002.ld: New.
- * ms1/16-003.ld: New.
- * ms1/64-001.ld: New.
- * ms1/access.c: New.
- * ms1/chmod.c: New.
- * ms1/close.c: New.
- * ms1/configure: New.
- * ms1/configure.in: New.
- * ms1/crt0-16-002.S: New.
- * ms1/crt0-16-003.S: New.
- * ms1/crt0-64-001.S: New.
- * ms1/crt0.S: New.
- * ms1/exit-16-002.c: New.
- * ms1/exit-16-003.c: New.
- * ms1/exit-64-001.c: New.
- * ms1/exit.c: New.
- * ms1/fstat.c: New.
- * ms1/getpid.c: New.
- * ms1/gettime.c: New.
- * ms1/isatty.c: New.
- * ms1/kill.c: New.
- * ms1/lseek.c: New.
- * ms1/Makefile.in: New.
- * ms1/open.c: New.
- * ms1/read.c: New.
- * ms1/sbrk.c: New.
- * ms1/startup-16-002.S: New.
- * ms1/startup-16-003.S: New.
- * ms1/startup-64-001.S: New.
- * ms1/stat.c: New.
- * ms1/time.c: New.
- * ms1/times.c: New.
- * ms1/trap.h: New.
- * ms1/trap.S: New.
- * ms1/unlink.c: New.
- * ms1/utime.c: New.
- * ms1/write.c: New.
-
-2005-05-19 Corinna Vinschen <vinschen@redhat.com>
-
- * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,
- * m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld,
- * mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld,
- * mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld,
- * mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
- * mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld,
- * mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld,
- * mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld,
- * sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld,
- * sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld,
- * sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld,
- * xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges
- section.
-
-2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
-
- * arm/syscalls.c (get_errno): Fix output register constraint.
-
-2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
-
- * rs6000/sim-getrusage.S: New file, broken out of:
- (simulator.S).
- * rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
- (sim-getrusage.o): New rule.
-
-2005-04-28 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/syscalls.c (get_errno): Add an output register constraint.
-
-2005-04-19 Eric Christopher <echristo@redhat.com>
-
- * mips/regs.S: Sign extend constants for mips64 and unify
- address handling.
-
-2005-04-12 Shaun Jackman <sjackman@gmail.com>
-
- * libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due
- to a typo. Fixed.
- (RDIMON_BSP): Ditto.
-
-2005-04-12 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,
- * mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
- * mips/jmr3904app-java.ld, mips/jmr3904app.ld,
- * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld,
- * mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
-
-2005-02-08 Antony King <antony.king@st.com>
-
- * arm/syscalls.c: Change CHECK_INIT to pass reentrant struct
- instead of file pointer.
-
-2005-02-01 Hans-Peter Nilsson <hp@axis.com>
-
- * cris/Makefile.in (ALL_INSTALL_FILES): New macro.
- (ALL_INSTALL_FILES_NEWLIB_COPY): New macro.
- (all): Use ALL_INSTALL_FILES instead of its contents. Add
- ALL_INSTALL_FILES_NEWLIB_COPY.
- ($(objroot)/newlib/%, $(objroot)/newlib/libnosys.a): New rules
-
-2005-01-27 Hans-Peter Nilsson <hp@axis.com>
-
- * configure.in: Support cris-*-* and crisv32-*-*.
- * libnosys/configure.in: Ditto.
- * configure, libnosys/configure: Regenerate.
- * cris: New directory.
- * cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
- cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
- cris/Makefile.in, cris/setup.S, cris/configure: New files.
-
-2005-01-21 Hans-Peter Nilsson <hp@axis.com>
-
- * libnosys/warning.h (stub_warning): Remove "warning: " prefix.
-
-2005-01-18 Hans-Peter Nilsson <hp@axis.com>
-
- * libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
- Prefix symbol in section name with __SYMBOL_PREFIX. Do not use
- __make_section_unallocated. Mark magic variable as used.
-
-2005-01-18 Hans-Peter Nilsson <hp@axis.com>
-
- * libnosys/configure.in (libc_cv_asm_previous_directive): Set
- cache-id variable.
- (libc_cv_asm_popsection_directive): Ditto.
- (libc_cv_section_attributes): Ditto.
- (libc_symbol_prefix): Rename from libc_dollar_prefix. Check for
- "_" as well, and set __SYMBOL_PREFIX accordingly.
- * libnosys/configure: Regenerate.
-
-2005-01-18 Hans-Peter Nilsson <hp@axis.com>
-
- * libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
- as-new and ld-new, not as.new and ld.new.
-
-2005-01-14 Hans-Peter Nilsson <hp@axis.com>
-
- * libnosys/warning.h (__make_section_unallocated)
- [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
- instead of ";" to delimit assembly lines.
-
-2005-01-07 Paul Brook <paul@codesourcery.com>
-
- * arm/crt0.S: Call __libc_{init,fini}_array instead of
- _init/_fini if they exist.
-
-2004-11-26 Paul Brook <paul@codesourcery.com>
-
- * arm/crt0.S (_start): Add .cantunwind annotation.
-
-2004-10-28 Nick Clifton <nickc@redhat.com>
-
- * configure.in: Add support for iq2000 target.
- * configure: Regenerate.
-
-2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
-
- * configure.in: Support crx-*-*.
- * configure: regenerate.
- * crx/_exit.c: New file.
- * crx/_getenv.c: Ditto.
- * crx/_rename: Ditto.
- * crx/close.c: Ditto.
- * crx/configure.in: Ditto.
- * crx/crti.S: Ditto.
- * crx/crtn.S: Ditto.
- * crx/crt0.S: Ditto.
- * crx/dvz_hndl.c: Ditto.
- * crx/flg_hndl.c: Ditto.
- * crx/fstat.c: Ditto.
- * crx/getpid.c: Ditto.
- * crx/iad_hndl.c: Ditto.
- * crx/intable.c: Ditto.
- * crx/isatty.c: Ditto.
- * crx/kill.c: Ditto.
- * crx/lseek.c: Ditto.
- * crx/Makefile.in: Ditto.
- * crx/open.c: Ditto.
- * crx/putnum.c: Ditto.
- * crx/read.c: Ditto.
- * crx/sbrk.c: Ditto.
- * crx/sim.ld: Ditto.
- * crx/stat.c: Ditto.
- * crx/svc_hndl.c: Ditto.
- * crx/time.c: Ditto.
- * crx/und_hndl.c: Ditto.
- * crx/unlink.c: Ditto.
- * crx/write.c: Ditto.
-
-2004-10-01 Paul Brook <paul@codesourcery.com>
-
- * arm/configure.in: Add *-*-aebi target.
- * arm/configure: Regenerate.
-
-2004-08-25 Corinna Vinschen <vinschen@redhat.com>
-
- * i386/cygmon.ld (.text): Fix alignment.
- (.rodata): Handle .rodata.* sections.
-
-2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
-
- * Makefile.in: Support $(DESTDIR).
- * arm/Makefile.in: Ditto.
- * d30v/Makefile.in: Ditto.
- * doc/Makefile.in: Ditto.
- * fr30/Makefile.in: Ditto.
- * frv/Makefile.in: Ditto.
- * hp74x/Makefile.in: Ditto.
- * i386/Makefile.in: Ditto.
- * i960/Makefile.in: Ditto.
- * iq2000/Makefile.in: Ditto.
- * libnosys/Makefile.in: Ditto.
- * m32r/Makefile.in: Ditto.
- * m68hc11/Makefile.in: Ditto.
- * m68k/Makefile.in: Ditto.
- * mcore/Makefile.in: Ditto.
- * mips/Makefile.in: Ditto.
- * mn10200/Makefile.in: Ditto.
- * mn10300/Makefile.in: Ditto.
- * pa/Makefile.in: Ditto.
- * rs6000/Makefile.in: Ditto.
- * sparc/Makefile.in: Ditto.
- * sparc/libsys/Makefile.in: Ditto.
- * xstormy16/Makefile.in: Ditto.
-
-2004-06-25 Jeff Johnston <jjohnstn@redhat.com>
-
- * libnosys/_exit.c: New file.
- * libnosys/Makefile.in: Add _exit.o.
-
-2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/configure.in: Check the value of newlib-may-supply-syscalls
- enablement variable to determine if crt0 should or should not be
- built.
- * arm/configure: Regenerated.
- * arm/Makefile.in: Changed to look at @BUILD_CRT0_TRUE@ and
- @BUILD_CRT0_FALSE@ variables set in configure to determine
- if crt0.o should be built and installed.
-
-2004-06-09 Toralf Lund <toralf@procaptura.com>
-
- * arm/crt0.S: Copied from newlib and it now also sets up stacks for
- FIQ and IRQ mode, plus calls hardware_init_hook() and
- software_init_hook() if present.
- * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
- from newlib.
- * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
- librdpmon.a, librdimon.a - support file for "bare" setup, as well
- as "RDP" and "RDI" monitors.
- * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
- arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
- with above mentioned support libs and startfiles.
-
-2004-06-03 Alexandre Oliva <aoliva@redhat.com>
-
- * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
- pointers.
-
-2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
-
- * libnosys/sbrk.c: Add include of <_syslist.h> and "config.h".
-
-2004-05-05 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
- * mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld
- * mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld
- (.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.
-
-2004-04-02 Chris Demetriou <cgd@broadcom.com>
-
- * mips/regs.S (C0_COUNT): Fix comment that kept this from being
- defined.
- * mips/vr4300.S: Use C0_COUNT as appropriate instead of hardcoding $9.
- * mips/vr5xxx.S: Likewise.
-
-2004-03-23 Eric Christopher <echristo@redhat.com>
-
- * frv/crt0.S: Fix comment.
- * mips/configure.in: Add mipsisa64-*-* to target support.
- * mips/configure: Regenerate.
-
-2004-03-03 Stephane Carrez <stcarrez@nerim.fr>
-
- * m68hc11/sci-inout.S: Supports -mlong-calls.
- * m68hc11/sim-valid-m68hc11.ld (.tramp): New section for trampolines.
- (.text): Mark the .installN and .finiN section with KEEP.
- (.vectors): Likewise for .vectors.
- (.gcc_except_table): New section.
- * m68hc11/sim-valid-m68hc12.ld (.tramp): New section for trampolines.
- (.text): Mark the .installN and .finiN section with KEEP.
- (.vectors): Likewise for .vectors.
- (.gcc_except_table): New section.
-
-2004-01-23 Gábor Lóki <loki@inf.u-szeged.hu>
-
- * m68k/leds.c: remove led_putnum(), zylons() forward
- function declarations.
- * m68k/leds.h: add zylons() forward function declaration.
-
-2004-01-06 Alexandre Oliva <aoliva@redhat.com>
-
- 2003-12-02 Richard Sandiford <rsandifo@redhat.com>
- * frv/crt0.S (_start): Fix use of FDPIC conditionals. Move the set of
- gr11 outside the FDPIC conditional. Avoid clobbering gr4 too early.
- 2003-11-14 Richard Sandiford <rsandifo@redhat.com>
- * frv/crt0.S: Fix fdpic sp calculation.
- 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
- * frv/crt0.S: Use __stacksize, not __stack, to initialize sp on
- FDPIC. Update comments on computing _GLOBAL_OFFSET_TABLE_. Don't
- fixup ctors nor dtors on FDPIC.
- 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
- * frv/crt0.S (_start): Set up gr15 only for FDPIC.
- * frv/crt0.S (_start): Save _GLOBAL_OFFSET_TABLE_ in gr17, and set
- gr15 before function calls.
- 2003-09-19 DJ Delorie <dj@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
- * frv/crt0.S (_start): Set up gr15 with _GLOBAL_OFFSET_TABLE_'s
- value.
-
-2003-10-27 Bernardo Innocenti <bernie@develer.com>
-
- * m68k/asm.h: Add macros for -fPIC, -msep-data and
- -mid-shared-library support.
- * m68k/crt0.S: Use macros for -fPIC, -msep-data and
- -mid-shared-library support.
- * m68k/sim-crt0.S: Likewise.
-
-2003-10-15 Bernardo Innocenti <bernie@develer.com>
-
- * m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
- typedef from <unistd.h>.
-
-2003-08-26 Jason Merrill <jason@redhat.com>
-
- * sparc/elfsim.ld: Fix __EH_FRAME_BEGIN__ definition.
- * sparc/sparc86x.ld: Likewise.
-
-2003-08-20 Chris Demetriou <cgd@broadcom.com>
-
- * mips/crt0_cfe.S: New file.
- * mips/cfe_mem.c: New file.
- * mips/cfe_prestart.S: Remove.
- * mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and
- and use _start as the entry point. Align BSS to 32-byte boundary.
- * mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file.
- * mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit)
- (__libcfe_meminit, __libcfe_stack_top): New prototypes.
- * mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o.
- (cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets.
- * mips/configure.in: Build and install crt0_cfe.o when CFE support
- is built.
- * mips/configure: Regenerate.
-
-2003-08-12 Jeff Johnston <jjohnstn@redhat.com>
-
- * i386/cygmon-salib.c (unlink): New stub.
-
-2003-08-08 Mark Salter <msalter@redhat.com>
-
- * i386/cygmon.ld: Add 4 byte alignment to __CTOR_LIST__
-
- Bernd Schmidt <bernds@redhat.com>
-
- * i386/cygmon.ld: Add entry for .rodata.
-
-2003-07-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
-
- * m32r/configure.in: fixed bug to delete ../config-ml.in.
-
-2003-07-10 Alexandre Oliva <aoliva@redhat.com>
-
- 2001-10-30 Jeff Johnston <jjohnstn@redhat.com>
- * mn10300/asb2305.ld: Added ASB2305 support.
- * mn10300/configure: Ditto.
- * mn10300/configure.in: Ditto.
- 2001-09-12 Stan Cox <scox@redhat.com>
- * mn10300/asb2303.ld: New file. Linker script for the ASB2303
- AM33/2.00 board.
- * mn10300/configure.in: Add support for asb2303 board script.
-
-2003-07-08 Jeff Johnston <jjohnstn@redhat.com>
-
- * configure.in: Reapply Kazuhiro Inaoko's multilib patch from
- 04-17-03.
- * configure: Regenerated.
-
-2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
-
- * m32r/crt0.S (_start): Allow _stack to be placed anywhere
- in memory.
-
-2003-06-06 Stan Cox <scox@redhat.com>
- Jeff Johnston <jjohnstn@redhat.com>
- Anthony Green <green@redhat.com>
-
- * configure.in: Add iq2000 support.
- * configure: Rebuilt.
- * iq2000/Makefile.in, iq2000/access.c, iq2000/_exit.c,
- iq2000/configure, iq2000/chmod.c, iq2000/chown.c, iq2000/close.c,
- iq2000/configure.in, iq2000/creat.c, iq2000/crt0.S, iq2000/crt1.c,
- iq2000/execv.c, iq2000/execve.c, iq2000/fork.c, iq2000/fstat.c,
- iq2000/getpid.c, iq2000/gettime.c, iq2000/isatty.c, iq2000/kill.c,
- iq2000/lseek.c, iq2000/open.c, iq2000/pipe.c, iq2000/read.c,
- iq2000/sbrk.c, iq2000/sim.ld, iq2000/stat.c, iq2000/test.c,
- iq2000/time.c, iq2000/times.c, iq2000/trap.c, iq2000/trap.h,
- iq2000/unlink.c, iq2000/utime.c, iq2000/wait.c, iq2000/write.c:
- New files.
-
-2003-05-27 Jeff Johnston <jjohnstn@redhat.com>
-
- * libnosys/Makefile.in: Add errno.o.
- * libnosys/errno.c: New file to supply errno definition if
- one not provided yet.
-
-2003-05-26 Eric Christopher <echristo@redhat.com>
-
- * mips/crt0.S: Remove stackbase variable set.
-
-2003-05-02 Eric Christopher <echristo@redhat.com>
-
- * mips/cma101.c (__sizemem): Make sure that end is not in .sdata.
-
-2003-04-29 Nick Clifton <nickc@redhat.com>
-
- * libnosys/sbrk.c: Remove unnecessary #include's.
- Change return type of _sbrk() function to void * to match
- definition in system header files.
- Fix formatting.
-
-2003-04-23 Andrew Haley <aph@cambridge.redhat.com>
-
- * xstormy16/sim_rom.ld: New.
- * xstormy16/Makefile.in (SIM_SCRIPTS): Add sim_rom.ld.
- * xstormy16/crt0.s (_int_reset): Copy ROM data to RAM.
- * xstormy16/eva_app.ld (_rdata, _data): New.
- * xstormy16/sim_high.ld (_rdata, _data): New.
-
-2003-04-17 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
-
- * m32r/Makefile.in: Add multilib support.
- * m32r/configure.in: Ditto.
- * m32r/configure: Regenerated.
-
-2003-04-16 Nick Clifton <nickc@redhat.com>
-
- * xstormy16/sim_high.ld: Add .jcr section mapping.
- * xstormy16/eva_stub.ld: Likewise.
- * xstormy16/eva_app.ld: Likewise.
-
-2003-04-09 Chris Demetriou <cgd@broadcom.com>
-
- * mips/cfe.c (_flush_cache): New function.
-
-2003-02-18 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/nullmon.c (_ftext, _end): Adjust declaration.
- (get_mem_info): Rework.
-
-2003-02-18 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/crt0.S (zerobss): Reload __memsize after call.
-
-2003-02-17 Chris Demetriou <cgd@broadcom.com>
-
- * mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types.
-
-2003-02-05 Chris Demetriou <cgd@broadcom.com>
-
- * mips/configure.in (mipsisa32el-*-*): Handle in the same way
- as mipsisa32-*-*.
- (mipsisa32r2-*-*, mipsisa32r2el-*-*): New, handled in the same
- way as mipsisa32-*-*.
- * mips/configure: Regenerate.
-
-2003-02-05 Chris Demetriou <cgd@broadcom.com>
-
- * mips/cfe.c (hardware_hazard_hook): Move...
- * mips/cfe_prestart.S (hardware_hazard_hook): To here,
- and translate into assembly.
-
-2003-01-08 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/crt0.S (_start): Allocate 64 bytes of stack instead of 32.
- Pass an empty argv and envp to main().
-
-2003-01-08 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/configure.in (mips64vr-elf, mips64vrel-elf): New config.
- * mips/configure: Regenerate.
-
-2003-01-07 Chris Demetriou <cgd@broadcom.com>
-
- * crt0.S: Check for definition of __mips64 rather than
- checking (__mips < 3).
- * pmon.S: Likewise.
- * cygmon.c (sysCall): Avoid multi-line string literals.
-
-2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
-
- * mips/Makefile.in: Add cygmon support.
- * mips/configure.in: Ditto.
- * mips/configure: Regenerated.
- * mips/crt0_cygmon.S: New file.
- * mips/cygmon.c: Ditto.
- * mips/pmon.S: Minor formatting and copyright changes.
- * mips/crt0.S: Ditto.
-
-2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
-
- * arm/Makefile.in: Add support for new pid specs.
- * arm/coff-iq80310.specs: Change to allow future support.
- * arm/elf-iq80310.specs: Ditto.
- * arm/elf-redboot.specs: Ditto.
- * arm/coff-redboot.ld: Add EH frame support.
- * arm/redboot-crt0.S: Add optional code to clear bss without
- memset.
- * arm/coff-pid.specs: New file.
- * arm/elf-pid.specs: New file.
-
-2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
- Catherine Moore <clm@redhat.com>
-
- * m32r/configure.in: Do not require gcc to be able to link an
- executable.
- * m32r/configure: Regenerate.
- * m32r/Makefile.in: Directly reference gdbstub.
-
-2002-10-25 Bernd Schmidt <bernds@redhat.com>
-
- * i386/cygmon.ld: Add entry for .gcc_except_table.
-
-2000-10-25 Mark Salter <msalter@redhat.com>
-
- * i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always
- use __start for start symbol.
- * i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT.
- Disable file I/O extensions to make Plum Hall happy.
- * i386/cygmon.ld: Set __start as entry point.
- * i386/Makefile.in: Support IS_AOUT.
- * i386/configure.in: Support IS_AOUT.
- * i386/configure: Regenerated.
- * i386/cygmon-salib.c:
- * i386/cygmon-gmon.c (_mcount): It's _etext.
-
-2002-10-25 Jeff Johnston <jjohnstn@redhat.com>
-
- * configure.in: Clarify some of the triplets so unsupported
- configurations don't pass through.
- * configure: Regenerated.
-
-2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
-
- * m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.
-
-2002-10-07 Richard Sandiford <rsandifo@redhat.com>
-
- * mips/ddb.ld: KEEP .init and .fini.
- * mips/ddb-kseg0.ld: Likewise.
-
-2002-10-04 Michael Snyder <msnyder@redhat.com>
-
- * m32r/m32r-lib.c (exceptionHandler): Fix computation of
- exception vector address, as suggested by Mitsubishi.
- (getExceptionVector): Ditto.
-
-2002-08-01 Chris Demetriou <cgd@broadcom.com>
-
- * mips/cfe.ld (STARTUP): New definition.
- * mips/ddb-kseg0.ld (STARTUP): Likewise.
- * mips/ddb.ld (STARTUP): Likewise.
- * mips/dve.ld (STARTUP): Likewise.
- * mips/idt.ld (STARTUP): Likewise.
- * mips/jmr3904app-java.ld (STARTUP): Likewise.
- * mips/jmr3904app.ld (STARTUP): Likewise.
- * mips/jmr3904dram-java.ld (STARTUP): Likewise.
- * mips/jmr3904dram.ld (STARTUP): Likewise.
- * mips/lsi.ld (STARTUP): Likewise.
- * mips/nullmon.ld (STARTUP): Likewise.
- * mips/pmon.ld (STARTUP): Likewise.
-
-2002-07-23 Stephane Carrez <stcarrez@nerim.fr>
-
- * README: Mention 68HC11/68HC12 support.
- * configure.in: Recognize m6811-elf and m6812-elf.
- * configure: Regenerated.
- * m68hc11/Makefile.in: New file.
- * m68hc11/configure.in: New file.
- * m68hc11/configure: New file.
- * m68hc11/crt0.S: New file.
- * m68hc11/sci-inout.S: New file for 68hc11/68hc12 sio.
- * m68hc11/sim-valid-m68hc11.ld: New file.
- * m68hc11/sim-valid-m68hc12.ld: New file.
- * m68hc11/syscalls.c: New file.
-
-2002-07-22 Aldy Hernandez <aldyh@redhat.com>
-
- * rs6000/simulator.S (gettimeofday): New.
- (getrusage): New.
-
-2002-07-18 Chris Demetriou <cgd@broadcom.com>
-
- * read.c (read): Don't assign past end of buffer, fix return value.
-
-2002-07-12 Chris Demetriou <cgd@broadcom.com>
-
- * mips/Makefile.in (GENOBJS2): New variable to name other
- commonly used objects.
- (DVEOBJS, JMR3904OBJS): Reference GENOBJS2.
-
- * mips/Makefile.in: Add support for Broadcom CFE firmware.
- * mips/configure.in: (mipsisa32*-*-*, *): Likewise.
- * mips/configure: Regenerate.
- * mips/cfe.c: New file.
- * mips/cfe.ld: New file.
- * mips/cfe_api.c: New file.
- * mips/cfe_api.h: New file.
- * mips/cfe_api_int.h: New file.
- * mips/cfe_error.h: New file.
- * mips/cfe_prestart.S: New file.
-
-2002-07-12 Chris Demetriou <cgd@broadcom.com>
-
- * mips/array.ld (hardware_exit_hook, hardware_hazard_hook): New
- symbols for optionally-provided functions.
- * mips/ddb-kseg0.ld: Likewise.
- * mips/ddb.ld: Likewise.
- * mips/dve.ld: Likewise.
- * mips/idt.ld: Likewise.
- * mips/idt32.ld: Likewise.
- * mips/idt64.ld: Likewise.
- * mips/idtecoff.ld: Likewise.
- * mips/jmr3904app-java.ld: Likewise.
- * mips/jmr3904app.ld: Likewise.
- * mips/jmr3904dram-java.ld: Likewise.
- * mips/jmr3904dram.ld: Likewise.
- * mips/lsi.ld: Likewise.
- * mips/nullmon.ld: Likewise.
- * mips/pmon.ld: Likewise.
- * mips/crt0.S: Invoke hardware_exit_hook and hardware_hazard_hook
- functions if they are provided.
- (_exit): Handle __embedded_pic properly.
-
-2002-06-18 Dave Brolley <brolley@redhat.com>
-
- From Catherine Moore, Michael Meissner, Richard Sandiford:
- * configure.in: Support frv*-*-*.
- * frv/Makefile.in: New file.
- * frv/configure: New file.
- * frv/configure.in: New file.
- * frv/crt0.S: New file.
- * frv/fstat.c: New file.
- * frv/getpid.c: New file.
- * frv/isatty.c: New file.
- * frv/kill.c: New file.
- * frv/print.c: New file.
- * frv/putnum.c: New file.
- * frv/sbrk.c: New file.
- * frv/sim-close.S: New file.
- * frv/sim-exit.S: New file.
- * frv/sim-inbyte.c: New file.
- * frv/sim-lseek.S: New file.
- * frv/sim-open.S: New file.
- * frv/sim-read.S: New file.
- * frv/sim-time.c: New file.
- * frv/sim-unlink.S: New file.
- * frv/sim-write.S: New file.
- * frv/stat.c: New file.
-
-2002-05-11 Thomas Fitzsimmons <fitzsim@redhat.com>
-
- * libnosys/acconfig.h (HAVE_SECTION_ATTRIBUTES): New macro.
- * libnosys/configure.in: Check gcc's support for section attributes.
- * libnosys/warning.h: Have link_warning expand to nothing if gcc
- does not support section attributes.
-
-2002-04-22 Jonathan Larmour <jlarmour@redhat.com>
-
- * arm/syscall.h: New file. To define extra syscall values for RedBoot.
-
- * arm/redboot-syscalls.c (_close): Fix setting of errno value.
- (_lseek): Ditto.
- (_open): Ditto.
- (_write): Ditto.
- (_read): Ditto.
- (_rename): New function.
- (_system): Ditto.
- (_stat): Ditto.
- (_unlink): Call a syscall for this now.
- (isatty): Ditto.
- (_fstat): Ditto.
- (_gettimeofday): Ditto.
-
-2002-04-17 Joel Sherrill <joel@OARcorp.com>
-
- * debug.h: Change mem_err to volatile to match definition in
- debug.c.
-
-2002-04-17 Joel Sherrill <joel@OARcorp.com>
-
- * sparc/cygmon-salib.c, sparc/erc32-stub.c: Don't use multi-line
- strings.
-
-2002-04-16 Jeff Johnston <jjohnstn@redhat.com>
-
- * m68k/configure.in: Change to use LIB_AC_PROG_CC instead
- of AC_PROG_CC to avoid building an executable in configuration.
- * m68k/configure: Regenerated.
-
-2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
-
- * d30v/syscalls.c: #include <time.h>. Don't use multi-line
- strings.
-
-2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
-
- * m32r/trapmon0.c (__trap0): Don't use multi-line strings.
-
-2002-02-05 Mark Salter <msalter@redhat.com>
-
- * arm/elf-iq80310.specs: Ditto.
- * arm/elf-redboot.specs: Ditto.
- * arm/elf-redboot.ld: Fix eh_frame sections. Add .jcr section.
- * arm/redboot-crt0.S: Add support for __USES_INITFINI__.
-
-2002-02-01 Geoffrey Keating <geoffk@redhat.com>
-
- * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add
- sim_malloc_start.o.
- * xstormy16/eva_app.ld: Add __malloc_start.
- * xstormy16/sbrk.c: Remove.
- * xstormy16/sim_malloc_start.s: New file.
- * xstormy16/sim_high.ld: Make the stack start immediately at the
- end of the program.
-
-2002-02-01 Michael Meissner <meissner@redhat.com>
-
- * mips/cma101.c (__sizemem_default): Allow user to specify the
- memory size.
- (__sizemem): Use it.
-
-2002-01-24 Mark Salter <msalter@redhat.com>
-
- * arm/redboot-crt0.S: Use __get_memtop to put stack in high memory.
-
- * arm/redboot-syscalls.c (_times): Unconditionally use SYS_times.
- (__get_memtop): New funtion to return top of memory.
-
-2002-01-15 Mark Salter <msalter@redhat.com>
-
- * xstormy16/eva_stub.ld: Provide interrupt routine symbols which
- forward interrupts to user application vectors.
-
- * xstormy16/crt0_stub.s: Remove default interrupt routines.
-
- * xstormy16/Makefile.in: Rename stub app to eva_stub.elf and
- add it to install list.
-
-2002-01-07 Mark Salter <msalter@redhat.com>
-
- * configure.in: Add support for arm, strongarm, and xscale.
- * configure: Regenerated.
- * arm/coff-iq80310.specs: New file.
- * arm/coff-redboot.ld: New file.
- * arm/coff-redboot.specs: New file.
- * arm/configure: New file.
- * arm/configure.in: New file.
- * arm/elf-iq80310.specs: New file.
- * arm/elf-redboot.ld: New file.
- * arm/elf-redboot.specs: New file.
- * arm/Makefile.in: New file.
- * arm/redboot-crt0.S: New file.
- * arm/redboot-syscalls.c: New file.
-
-2001-12-22 Geoffrey Keating <geoffk@redhat.com>
- Mark Salter <msalter@redhat.com>
- Catherine Moore <clm@redhat.com>
- Richard Henderson <rth@redhat.com>
-
- * configure.in: Add xstormy16.
- * libnosys/configure.in: Add xstormy16.
- * configure: Regenerated.
- * libnosys/configure: Regenerated.
- * xstormy16/Makefile.in: New file.
- * xstormy16/close.c: New file.
- * xstormy16/configure: New file.
- * xstormy16/configure.in: New file.
- * xstormy16/crt0.s: New file.
- * xstormy16/crt0_stub.s: New file.
- * xstormy16/crti.s: New file.
- * xstormy16/crtn.s: New file.
- * xstormy16/eva_app.c: New file.
- * xstormy16/eva_app.ld: New file.
- * xstormy16/eva_stub.ld: New file.
- * xstormy16/fstat.c: New file.
- * xstormy16/getpid.c: New file.
- * xstormy16/kill.c: New file.
- * xstormy16/lseek.c: New file.
- * xstormy16/open.c: New file.
- * xstormy16/sbrk.c: New file.
- * xstormy16/sim_high.ld: New file.
- * xstormy16/stat.c: New file.
- * xstormy16/syscalls.S: New file.
- * xstormy16/syscalls.m4: New file.
- * xstormy16/unlink.c: New file.
- * xstormy16/xstormy16_stub.c: New file.
-
-2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
-
- * m32r/Makefile.in: Use gdb stub set by configure.
- * m32r/configure.in: Add a special macro for testing
- c compiler without building executable. Add setting of
- GDBSTUB.
- * m32r/configure: Regenerated.
-
-2001-10-31 David Howells <dhowells@redhat.com>
-
- * syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
- * mn10300/times.c: Renamed "times" to "_times" so that it can be
- referenced by newlib.
- * mn10300/cygmon.c: New file.
- * mn10300/crt0_redboot.S: Ditto.
- * mn10300/crt0_cygmon.S: Ditto.
- * mn10300/Makefile.in: Added RedBoot and Cygmon support.
- * mn10300/configure.in: Changed to allow for future
- evaluation boards to be added.
- * mn10300/configure: Regenerated.
-
-2001-10-17 Michael Meissner <meissner@redhat.com>
-
- * regs.S (K0BASE_ADDR,K1BASE_ADDR): Define as addresses to
- identify if a program is running in kernel segment 0.
-
- * cma101.c (__sizemem): If we are running in kernel segment 0,
- instead of kernel segment 1, use kernel segment 0 addresses which
- are uncached when sizing memory.
-
- * ddb-kseg0.ld: New file, clone of ddb.ld, except it links the
- program to run in kernel segment 0, instead of kernel segment 1.
-
- * configure.in: Treat ddb-kseg0.ld like ddb.ld.
- * configure: Regenerate.
-
-2001-09-15 Eric Christopher <echristo@redhat.com>
-
- * mips/configure.in (LIB_AC_PROG_CC): Fix typo in mipsisa32 to
- mipsisa32*.
- * mips/configure: Regenerate.
-
-2001-09-14 Eric Christopher <echristo@redhat.com>
-
- * mips/configure.in: Add mipsisa32 support.
- * mips/configure: Regenerate.
- * mips/idt32.ld: New file.
- * mips/idt64.ld: New file.
-
-2001-09-11 Michael Meissner <meissner@redhat.com>
-
- * mips/crt0.S (_start): If -mfp32, don't enable 64-bit floating
- point registers, even if we are compiling for a mips3 or greater.
-
-2001-09-10 Jim Blandy <jimb@redhat.com>
-
- Add support for GDB monitor-style I/O.
- * m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made
- static.
- (outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined,
- precede the byte with a ^O character.
- * m68k/idpgdb.ld: New linker script.
- * m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New
- variables.
- (all): Add ${IDPGDB_BSP} to the list of things to build.
- (${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x,
- idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules.
- (install): Install the IDPGDB stuff, too.
-
-2001-08-30 Richard Henderson <rth@redhat.com>
- Eric Christopher <echristo@redhat.com>
-
- * mips/crt0.S: Fix for .init/.fini sections.
-
-2001-08-30 Richard Henderson <rth@redhat.com>
- Eric Christopher <echristo@redhat.com>
-
- * mips/idt.ld: Rewrite for .init/.fini sections.
-
-2001-08-22 Jonathan Larmour <jlarmour@redhat.com>
-
- * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'
-
-2001-07-18 Jeff Johnston <jjohnstn@redhat.com>
-
- * hp74x/configure: Regenerated with current autoconf.
- * m32r/configure: Ditto.
- * m68k/configure: Ditto.
- * pa/configure: Ditto.
- * sparc/configure: Ditto.
-
-2001-03-08 Geoffrey Keating <geoffk@redhat.com>
-
- * rs6000/simulator.S (dup): New syscall.
-
-2001-02-28 Will Cohen <wcohen@redhat.com>
-
- * src/libgloss/m68k/Makefile.in: Updated copyright and
- added rules to build simulator related libraries.
- (SIM_SCRIPTS): New variable.
- (SIM_LDFLAGS): New variable.
- (SIM_BSP): New variable.
- (SIM_CRT0): New variable.
- (SIM_OBJS): New variable.
- (SIM_TEST): New variable.
- (SIM_INSTALL): new variable.
- * src/libgloss/m68k/sim-abort.c: New file.
- * src/libgloss/m68k/sim-crt0.S: New file.
- * src/libgloss/m68k/sim-errno.c: New file.
- * src/libgloss/m68k/sim-funcs.c: New file.
- * src/libgloss/m68k/sim-inbyte.c: New file.
- * src/libgloss/m68k/sim-print.c: New file.
- * src/libgloss/m68k/sim-sbrk.c: New file.
- * src/libgloss/m68k/sim.ld: New file.
- * src/libgloss/m68k/simulator.S: New file.
-
-2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
-
- * mn10200/access.c: With DJ Delorie's permission, this code is
- now freely modifiable with no reference to "copying.dj".
- * mn10300/access.c: Ditto.
-
-2001-02-06 Will Cohen <wcohen@redhat.com>
-
- * rs6000/sim-errno.c (__errno): Removed.
- (_cerror): Use re-entrant version of errno.
-
-2000-09-05 Geoff Keating <geoffk@cygnus.com>
-
- * rs6000/simulator.S: Use conditional returns for documentation
- purposes.
- (access): Add new syscall.
-
-Wed May 24 16:47:12 2000 Alexandre Oliva <aoliva@cygnus.com>
-
- * mn10300/time.c (time): Set *tloc, since the sim doesn't.
-
-Mon Jan 31 18:45:26 2000 Donald Lindsay <dlindsay@cygnus.com>
-
- * mips/crt0.S: If compiled into a mips2 multilib, sets processor
- status register for 32 bit addressing
- * mips/regs.S: Add symbols for status and config register fields.
- * mips/vr5xxx.S: Variant of vr300.S with extensions to __cpu_flush()
- to cope with Vr5000 secondary cache and with Vr5432 CACHE instruction.
- * mips/Makefile.in: Add rule for forming vr5xxx.o.
- * mips/configure.in: Add case arm for mips64vr5000 since the
- default (which was previously used) should not get vr5xxx.o.
-
-Wed Dec 22 19:08:09 1999 Christopher Faylor <cgf@cygnus.com>
-
- * wince/Makefile.am: Use LDADD from configure.
- * wince/Makefile.in: Regenerate.
- * wince/configure.in: Determine libraries needed based (crudely) on
- target.
- * wince/configure: Regenerate.
-
-1999-12-16 Tom Tromey <tromey@cygnus.com>
-
- * mips/Makefile.in (jmr3904-io.o): Don't compile with `-mips3'.
-
- * mips/jmr3904-io.c: Actually completed merge of Andrew Haley's
- patch of 1998-11-23.
-
- * mips/jmr3904dram-java.ld: Provide _Jv_QthreadsStackSize. Link
- against -lgcjcoop, not -lqthreads.
- * mips/jmr3904app-java.ld: Provide _Jv_QthreadsStackSize.
-
-1999-12-16 Brendan Kehoe <brendan@cygnus.com>
-
- * m68k/idp.ld: Only use specific .dtors and .ctors uses of KEEP,
- without the bits for __{C,D}TOR_{LIST,END}__.
-
-1999-12-14 Geoff Keating <geoffk@cygnus.com>
-
- * m68k/idp.ld (.text): Put crtbegin at the start of the
- constructors and destructors.
-
-Mon Nov 29 12:14:48 1999 Christopher Faylor <cgf@cygnus.com>
-
- * wince/Makefile.am: Add missing gdbdir assignment.
- * wince/Makefile.in: Regenerate.
-
-1999-11-22 Gavin Romig-Koch <gavin@cygnus.com>
-
- * mips/idt.ld: Remove the OUTPUT_ARCH("mips:4000") directive.
-
-1999-11-15 Nick Clifton <nickc@cygnus.com>
-
- * configure.in: Add arm-wince-pe target.
- * configure: Regenerate.
-
-1999-11-11 Brendan Kehoe <brendan@cygnus.com>
-
- * sparc/elfsim.ld (.text): Also provide __EH_FRAME_BEGIN__ since we're
- not bringing in crtbegin.o.
- * sparc/sparc86x.ld (.text): Likewise. Add initp support.
-
-1999-10-30 Geoffrey Keating <geoffk@cygnus.com>
-
- * mips/crt0.S: Handle -membedded-pic properly. Set the $gp much
- earlier because it'll be needed. Set the high bits of the PC to
- be consistent with other pointers, so that exception handling
- doesn't get confused.
-
-1999-09-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
-
- * sparc/crt0.s: Delete. This file is obsolete and caused problems
- on case-insensitive windows filesystems.
-
-Wed Sep 22 15:59:17 1999 Christopher Faylor <cgf@cygnus.com>
-
- * configure.in: Generalize Windows CE target detection.
- * configure: Regenerate.
- * wince/Makefile.am: Rename CE stub filename.
- * wince/Makefile.in: Regenerate.
- * wince/configure.in: Allow changing of CE stub.
- * wince/configure: Regenerate.
-
-1999-07-26 Andrew Haley <aph@cygnus.com>
-
- * m32r/crt0.S (_start): Use a full word immediate for __bss_start
- and _end to allow them to be placed anywhere in memory.
-
-1999-07-08 Jason Merrill <jason@yorick.cygnus.com>
-
- * sparc/elfsim.ld: Provide initp support.
-
-1999-06-22 Nick Clifton <nickc@cygnus.com>
-
- * mips/dve.ld (.rdata): Rename section to .rodata.
- * mips/idt.ld (.rdata): Rename section to .rodata.
- * mips/jmr3904app-java.ld (.rdata): Rename section to .rodata.
- * mips/jmr3904app.ld (.rdata): Rename section to .rodata.
- * mips/lsi.ld (.rdata): Rename section to .rodata.
- * mips/nullmon.ld (.rdata): Rename section to .rodata.
- * mips/pmon.ld (.rdata): Rename section to .rodata.
- * mips/r5900.ld (.rdata): Rename section to .rodata.
- * mips/sky.ld (.rdata): Rename section to .rodata.
- * mips/vpu.ld (.rdata): Rename section to .rodata.
-
-Tue Jun 01 16:57:46 1999 Jeff Johnston <jjohnstn@cygnus.com>
-
- * libnosys/configure.in: Added setting of ac_file
- prior to calling config-ml.in.
- * libnosys/configure: Regenerated.
- * libnosys/Makefile.in: Added code to make install directory
- for libnosys.a prior to installing.
-
-Wed May 26 17:22:46 1999 Christopher Faylor <cgf@cygnus.com>
-
- * Makefile.am: Expect the object file to be in the
- current directory.
- * Makefile.in: Regenerate.
-
-Tue May 25 14:35:21 1999 Christopher Faylor <cgf@cygnus.com>
-
- * configure.in: Add wince targest.
- * configure: Regenerate.
- * wince: New directory
- * wince/Makefile.am: New file.
- * wince/Makefile.in: New file.
- * wince/aclocal.m4: New file.
- * wince/configure: New file.
- * wince/configure.in: New file.
-
-1999-05-24 Jim Wilson <wilson@cygnus.com>
-
- * sparc/elfsim.ld: Add `.data.*'.
-
-1999-05-22 Jason Merrill <jason@yorick.cygnus.com>
-
- * m68k/idp.ld: Add initp support.
- * sparc/cygmon.ld.src: Likewise.
-
-1999-05-14 Nick Clifton <nickc@cygnus.com>
-
- * mcore/syscalls.S (_sbrk): Round to 8 bytes not 4.
-
-1999-05-13 Mark Salter <msalter@cygnus.com>
-
- * mcore/configure.in: Fixed multilib support.
- * mcore/configure: Regenerated.
- * mcore/Makefile.in: Fixed multilib problems.
- Added cmb board support
- * mcore/close.c: New file.
- * mcore/cmb-exit.c: Ditto.
- * mcore/cmb-inbyte.c: Ditto.
- * mcore/cmb-outbyte.c: Ditto.
- * mcore/elf-cmb.ld: Ditto.
- * mcore/elf-cmb.specs: Ditto.
- * mcore/fstat.c: Ditto.
- * mcore/getpid.c: Ditto.
- * mcore/kill.c: Ditto.
- * mcore/lseek.c: Ditto.
- * mcore/open.c: Ditto.
- * mcore/pe-cmb.ld: Ditto.
- * mcore/pe-cmb.specs: Ditto.
- * mcore/print.c: Ditto.
- * mcore/putnum.c: Ditto.
- * mcore/raise.c: Ditto.
- * mcore/read.c: Ditto.
- * mcore/sbrk.c: Ditto.
- * mcore/stat.c: Ditto.
- * mcore/unlink.c: Ditto.
- * mcore/write.c: Ditto.
- * mcore/c-syscalls.c: Removed.
-
-1999-05-07 Nick Clifton <nickc@cygnus.com>
-
- * mcore/syscalls.S (_write): Use 0x50FF instead of trap 1.
- Tidy up code layout.
-
-1999-05-06 Nick Clifton <nickc@cygnus.com>
-
- * mcore/Makefile.in: Fix build rule.
- * mcore/syscalls.s: Rename to syscalls.S
-
-1999-05-04 Nick Clifton <nickc@cygnus.com>
-
- * mcore/configure.in: Depend upon crt0.S not crt0.s.
- * mcore/configure: Regenerate.
-
-1999-04-29 Nick Clifton <nickc@cygnus.com>
-
- * mcore/crt0.S: Renamed file from crt0.s.
- Only invoke init() and fini() routines for ELF builds.
- Use __bss_start__ and __bss_end__ to locate .bss section.
-
-1999-04-26 Angela Marie Thomas <angela@cygnus.com>
-
- * mips/array.ld: Fix ELF ctor/dtor support.
- * mips/ddb.ld: Likewise.
- * mips/dve.ld: Likewise.
- * mips/idt.ld: Likewise.
- * mips/jmr3904app.ld: Likewise.
- * mips/lsi.ld: Likewise.
- * mips/nullmon.ld: Likewise.
- * mips/pmon.ld: Likewise.
- * mips/r5900.ld: Likewise.
- * mips/sky.ld: Likewise.
- * mips/vpu.ld: Likewise.
-
-1999-04-22 Nick Clifton <nickc@cygnus.com>
-
- * mcore/crt0.s: Initialise data section, call _init and _fini.
-
- * mcore/syscalls.s (_exit): Renamed from __exit.
-
- * fr30/crt0.s (_start): Initialise arg[cv] after calling _init and
- atexit.
-
-1999-04-21 Nick Clifton <nickc@cygnus.com>
-
- * mcore/crt0.s (_start): Use .long directive, not .word.
-
- * mcore/syscalls.s (_sbrk): fix syntax.
-
-1999-04-20 Jason Molenda (jsm@bugshack.cygnus.com)
-
- * sparc/sparc86.ld: Set alignment for the .data section.
-
-1999-04-18 Nick Clifton <nickc@cygnus.com>
-
- * configure.in: Add support for mcore targets.
- * configure: Regenerate.
- * mcore: New directory.
- * mcore/Makefile.in: New File: meta Makefile.
- * mcore/configure.in: New File: meta configure file..
- * mcore/configure: New File: Generated.
- * mcore/crt0.s: New File: mcore startup code.
- * mcore/syscalls.s: New File: Assembler system call stubs.
- * mcore/c-syscalls.c: New File: C system call stubs.
-
-Tue Apr 13 17:20:34 1999 Catherine Moore <clm@cygnus.com>
-
- * mips/array.ld: Support linkonce sections.
- * mips/ddb.ld: Likewise.
- * mips/dve.ld: Likewise.
- * mips/idt.ld: Likewise.
- * mips/jmr3904app.ld: Likewise.
- * mips/jmr3904app-java.ld: Likewise.
- * mips/jmr3904dram.ld: Likewise.
- * mips/jmr3904dram-java.ld: Likewise.
- * mips/lsi.ld: Likewise.
- * mips/nullmon.ld: Likewise.
- * mips/pmon.ld: Likewise.
- * mips/r5900.ld: Likewise.
- * mips/sky.ld: Likewise.
- * mips/vpu.ld: Likewise.
-
-Mon Apr 12 21:01:46 1999 Catherine Moore <clm@cygnus.com>
-
- * mips/array.ld: Add ELF ctor/dtor support.
- * mips/ddb.ld: Likewise.
- * mips/dve.ld: Likewise.
- * mips/idt.ld: Likewise.
- * mips/jmr3904app.ld: Likewise.
- * mips/lsi.ld: Likewise.
- * mips/nullmon.ld: Likewise.
- * mips/pmon.ld: Likewise.
- * mips/r5900.ld: Likewise.
- * mips/sky.ld: Likewise.
- * mips/vpu.ld: Likewise.
-
-Sun Apr 11 00:43:34 1999 Jim Wilson <wilson@cygnus.com>
-
- * i960/crt0.c (_start): Increase stack size to 256K.
-
-Wed Mar 31 17:56:41 1999 Bob Manson <manson@charmed.cygnus.com>
-
- * i386/cygmon-salib.c: Add read and write syscall support.
- * i386/cygmon-syscall.h: Ditto.
-
- * i386/cygmon-gmon.[ch]: Profile support.
-
-Sun Feb 28 23:39:32 1999 Geoffrey Noer <noer@cygnus.com>
-
- * libnosys/configure.in: Check cygwin*, not cygwin32.
- * libnosys/configure: Regenerate.
-
-1999-02-18 Tom Tromey <tromey@cygnus.com>
-
- * mips/configure: Rebuilt.
- * mips/configure.in (script_list): Added jmr3904dram-java and
- jmr3904app-java.
- * mips/jmr3904dram-java.ld: New file.
- * mips/jmr3904dram.ld: Don't mention -lqthreads.
- * mips/jmr3904app-java.ld: New file.
- * mips/jmr3904app.ld: Don't mention -lgcjcoop.
-
-Wed Feb 17 13:27:24 1999 Jim Wilson <wilson@cygnus.com>
-
- * m68k/crt0.S (start): Use jpbl not jmi in coldfire code.
-
-1999-02-18 Tom Tromey <tromey@cygnus.com>
-
- * Merge from branch:
-
- Tue Feb 16 12:57:06 PST 1999 Angela Marie Thomas <angela@cygnus.com>
-
- * mips/jmr3904app.ld: Change -lqthreads to -lgcjcoop due to
- library name change.
-
- Thu Feb 4 16:15:44 1999 Warren Levy <warrenl@cygnus.com>
-
- * mips/configure.in (script_list): Added jmr3904dram.ld.
- * mips/configure: Rebuilt.
-
- Thu Jan 21 19:11:45 1999 Warren Levy <warrenl@cygnus.com>
-
- * mips/jmr3904dram.ld: Created.
-
- Wed Dec 30 11:15:46 1998 Anthony Green <green@cygnus.com>
-
- * mips/jmr3904app.ld: libgcc is dependent on libqthreads, so
- it must be linked it.
-
- Wed Dec 30 11:04:54 1998 Anthony Green <green@cygnus.com>
-
- * mips/jmr3904app.ld: Make sure the stack owns all 8k plus
- the padding allocated for alignment.
-
- 1998-11-23 Andrew Haley <aph@viagra.cygnus.co.uk>
-
- * mips/jmr3904-io.c: change get_mem_info() to use _mem_size
- imported from the linker script.
- * mips/jmr3904app.ld: Provide _mem_size.
-
- * mips/jmr3904app.ld: Allocate 8k bytes for stack.
-
- 1998-11-19 Andrew Haley <aph@viagra.cygnus.co.uk>
-
- * mips/crt0.S: set argc to 0 before calling main()
- * get_mem_info() was incorrect; jmr3904 has 1M max of SRAM.
-
- Wed Nov 4 15:28:44 1998 Anthony Green <green@cygnus.com>
-
- * mips/jmr3904-io.c: Implement get_mem_info().
-
- Wed Nov 4 15:22:41 1998 Anthony Green <green@cygnus.com>
-
- * mips/Makefile.in: Rename libtx39jmr.a to libjmr3904.a.
- * mips/configure.in: Ditto.
- * mips/configure: Regenerate.
-
- Tue Nov 3 15:39:14 1998 Angela Marie Thomas (angela@cygnus.com)
-
- * mips/configure.in: Add jmr3904app to script list for tx39.
- * mips/configure: Regenerate.
-
-1999-02-08 Nick Clifton <nickc@cygnus.com>
-
- * libnosys/configure.in: Add support for StrongARM target.
- * libnosys/configure: Regenerate.
-
-Thu Feb 4 10:56:59 1999 Jeff Johnston <jjohnstn@cygnus.com>
-
- * d30v/syscalls.c (time): Added code to honor argument
- passed to time which is either a pointer to a time_t
- value to set or is the NULL pointer.
-
-1999-02-03 Keith Seitz <keiths@cygnus.com>
-
- * m32r/m32r-lib.c (rx_char): Rename rx_uchar and return
- only unsigned chars.
- (getDebugChar2): Remove and integrate support into "M"
- packet code.
-
-1999-01-29 Doug Evans <devans@casey.cygnus.com>
-
- * sparc/erc32-crt0.S (_exit): Set magic number for simulator.
- * sparc/traps.S (win_flush): Make sure %sp is valid before flushing
- all windows.
-
-Tue Jan 19 06:19:51 1999 Jeffrey A Law (law@cygnus.com)
-
- * mn10300/crt0.S: Use ".stack" for the name of the stack section,
- not "._stack". Remove mn10200 support.
- * mn10300/trap.S: Remove mn10200 support.
- * mn10300/sim.ld: Collect *(.stack) *(._stack) input sections into
- the .stack output section to be safe.
- * mn10300/eval.ld: Likewise.
-
- * mn10200/crt0.S: Use ".stack" for the name of the stack section,
- not "._stack".
- * mn10200/sim.ld: Collect *(.stack) *(._stack) input sections into
- the .stack output section to be safe.
- * mn10200/eval.ld: Likewise.
-
-1999-01-14 Nick Clifton <nickc@cygnus.com>
-
- * fr30/Makefile.in: Set target of install to be SIM_INSTALL not
- MON_INSTALL.
-
- * fr30/crt0.s (_start): Use atexit to call C++ global
- destructors. Patch from Mark Salter <msalter@cygnus.com>
-
-1999-01-12 Nick Clifton <nickc@cygnus.com>
-
- * fr30/crt0.s: Remove .stack section - it is no longer necessary.
-
-1999-01-11 Nick Clifton <nickc@cygnus.com>
-
- * fr30/crt0.s (_start): Add calls to _init and _fini for C++
- global constructor/destructor support.
-
-1999-01-07 Nick Clifton <nickc@cygnus.com>
-
- * fr30/crt0.s (_start): Apply patch from Mark Salter
- <msalter@cygnus.com> to cope with initialising .bss areas that are
- not word sized.
-
-1998-12-23 Michael Meissner <meissner@cygnus.com>
-
- * m68k/idp.ld (.eh_frame): Add section to the .text segment.
- (__{INIT,FINI}__SECTION__): Align to a 4 byte boundary.
- (.gcc_except_table): Ditto.
-
-Mon Dec 21 22:45:05 1998 Mark Alexander <marka@cygnus.com>
-
- * sh/sh1lcevb.ld: Add DWARF sections.
- * sh/sh2lcevb.ld: Ditto.
- * sh/sh3lcevb.ld: Ditto.
- * sh/sh3bb.ld: Ditto.
-
-Fri Dec 18 22:07:21 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * i386/cygmon.ld: Make sure -lcygmon appears both before
- and after -lc, so we pick up functions from there in
- preference to libc functions.
-
- * i386/cygmon-salib.c: Add syscalls for time and gettimeofday.
- Don't add __do_global_ctors () and __do_global_dtors () if
- we're on a coff target.
- (open): Add dummy function so plumhall will compile.
- (clock): Replacement for clock () syscall that uses
- gettimeofday().
-
-
-1998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
-
- * mips/Makefile.in, mips/vr4300.S: Move the -mips3 into vr4300.S.
-
-1998-12-17 Nick Clifton <nickc@cygnus.com>
-
- * fr30/syscalls.c: Include ../syscall.h not ../../sim/fr30/targ-vals.h
- (_open): Return file descriptor allocated by simulator.
- (isatty): Always false to avoid having to cope with reads from
- stdin. For Now...
-
-1998-12-16 Nick Clifton <nickc@cygnus.com>
-
- * fr30/Makefile.in: Add libraries to clean target.
-
- * fr30/syscalls.c (_write): Save length so that it can be returned
- to caller.
-
- * fr30/crt0.s (_start): Initialise argc, argv and envp before
- calling main().
-
-1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
-
- * mips/ddb.ld (OUTPUT_ARCH): Remove.
-
-1998-12-12 Nick Clifton <nickc@cygnus.com>
-
- * fr30/syscalls.c: Remove stub for abort and add stubs for _kill
- and _getpid.
-
-1998-12-11 Nick Clifton <nickc@cygnus.com>
-
- * configure.in: Add support for fr30 target.
- * configure: Regenerate.
- * fr30: New directory.
- * fr30/Makefile.am: New file - build crt0.o and libsim.a
- * fr30/Makefile.in: New file - generate from Makefile.am.
- * fr30/configure.in: New file - support fr30 target
- * fr30/configure: New file - generate from configure.in.
- * fr30/crt0.s: New file - Basic executable startup code.
- * fr30/syscalls.c: New file - System call emulation library.
-
-1998-12-11 Gavin Romig-Koch <gavin@cygnus.com>
-
- * mips/crt0.S (_start): Change initialization of FR.
-
-1998-12-08 James E Wilson <wilson@wilson-pc.cygnus.com>
-
- * i960/crt0.c (set_stack): Change return type to void. Init SP to
- FP + 64 instead of FP. Simplify code to align ptr.
- (_start): Call exit instead of _exit. Delete local variable stack.
- Init stack to heap+4096.
- * i960/mon960.c (abort): Ifdef out.
- * i960/syscall.h: New file.
-
-1998-12-04 Ken Raeburn <raeburn@cygnus.com>
-
- * mips/cma101.c (time): Add heuristic to handle Y2K overflow.
-
-Tue Dec 1 17:57:52 1998 Stan Shebs <shebs@andros.cygnus.com>
-
- * config/ppc.mh (.s.o): Don't use CFLAGS_MRELOCATABLE when
- assembling.
-
-Wed Nov 18 19:14:15 1998 Jim Wilson <wilson@cygnus.com>
-
- * mips/entry.S: Handle mips16 builds.
-
-1998-10-30 Ian Molee <imolee@cygnus.com>
-
- * m32r/trapmon0.c: New file. Mon2000 trap handler.
- * m32r/trapmon0.S: Removed.
- * m32/Makefile.in: Changed to reflect above-changed files.
-
-Wed Oct 28 07:55:55 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/crt0.S: Move entry point to start of text section.
- Put the address of the data section at the start of the section,
- so the GDB sparclite loader can find it for a.out loads.
-
-Mon Oct 26 13:11:41 1998 Jeffrey A Law (law@cygnus.com)
-
- * d30v/syscalls.c (time): Returns a time_t and accepts a pointer to
- a time_t as its argument.
-
- * i386/cygmon-syscall.h: Fix bogus asm constraints. You must not
- clobber a register that overlaps with an input or output.
-
-Fri Oct 23 11:06:16 1998 John Metzler <jmetzler@cygnus.com>
-
- * mips/jmr3904-io.c (hardware_init_hook): Add file to support
- serial input and out put as required by libgloss read and write
- functions.
-
- * mips/jmr3904app.ld : LInker script for tx39jmr3904 board. Uses
- addresses per eCos conventions, not original ROM monitor.
-
- * configure.in: Add libtx39jmr.c to build target
-
- * Makefile.in: rules for libtx39jmr.a and jmr3904-io.o
-
-1998-10-15 Ian Molee <imolee@cygnus.com>
-
- * m32r/mon.specs: New file
- * m32r/trapmon0.S: New file
- * m32r/Makefile.in: Modified to add support for mon2000 trap0.
-
-Tue Oct 13 11:52:03 1998 Jeff Johnston <jjohnstn@cygnus.com>
-
- * libnosys/warning.h: New file.
-
-1998-10-06 Ken Raeburn <raeburn@cygnus.com>
-
- * mips/configure.in: Build nullmon stuff in default case. Don't
- treat vr4100 specially.
-
-Tue Oct 6 15:17:42 1998 Jeff Johnston <jjohnstn@cygnus.com>
-
- * libnosys/sbrk.c (_sbrk): Added reference to config.h.
- * libnosys/close.c (_close): Added stub warning outside of
- function body and added reference to config.h.
- * libnosys/execve.c (_execve): Ditto.
- * libnosys/fork.c (_fork): Ditto.
- * libnosys/fstat.c (_fstat): Ditto.
- * libnosys/getpid.c (_getpid): Ditto.
- * libnosys/gettod.c (_gettimeofday): Ditto.
- * libnosys/isatty.c (_isatty): Ditto.
- * libnosys/kill.c (_kill): Ditto.
- * libnosys/link.c (_link): Ditto.
- * libnosys/lseek.c (_lseek): Ditto.
- * libnosys/open.c (_open): Ditto.
- * libnosys/read.c (_read): Ditto.
- * libnosys/stat.c (_stat): Ditto.
- * libnosys/times.c (_times): Ditto.
- * libnosys/unlink.c (_unlink): Ditto.
- * libnosys/wait.c (_wait): Ditto.
- * libnosys/write.c (_write): Ditto.
- * libnosys/acconfig.h: New file.
- * libnosys/config.h.in: New file.
- * libnosys/exit.c: Removed as _exit cannot be stubbed.
- * libnosys/Makefile.in: Regenerated.
- * libnosys/configure.in: Configure header file specified.
- * libnosys/configure: Regenerated.
-
-Wed Sep 30 12:45:43 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * i386/cygmon.ld: Increase memory limits; put the initial
- executable above 1MB.
-
-Fri Sep 25 13:49:22 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * i386/configure.in: Changed crt0.c to cygmon-salib.c.
-
-Wed Sep 23 19:25:46 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * configure.in: Add i386-*-elf* triplet.
- * i386/*: Support for i386 targets.
-
-Wed Sep 16 19:43:52 1998 Doug Evans <devans@canuck.cygnus.com>
-
- * m32r/m32r-lib.c: Rename -DMSA2000 to -DREVC and reverse test.
- (exceptionHandler,getExceptionHandler): Add cast to avoid warning.
-
-Wed Sep 9 19:22:03 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/Makefile.in: Remove cache86x.o, not needed any more.
- * sparc/sparclite.h: (read_asr, write_asr): Define.
- * sparc/cache.c (is_danlite): New function.
- (cache_off, cache_on, flush_i_cache): Test for DANlite.
- * sparc/salib.c (update_leds): Allow user to disable LED flashing.
- * sparc/sparc86x.ld: Prevent section overlap.
-
-1998-09-04 Keith Seitz <keiths@cygnus.com>
-
- * m32r/m32r-lib.c (rx_rdy): Add support for MSA2000G01 board.
- (rx_char): Ditto.
- (getDebugChar2): New function to support binary downloads (gdb
- remote protocol "X" command).
- (exceptionHandler): Add support for MSA2000G01 board.
- (getExceptionHandler): Ditto.
-
-1998-08-20 Michael Meissner <meissner@cygnus.com>
-
- * libnosys/gettod.c: Include sys/time.h so that struct timezone is
- declared.
-
-Sun Aug 16 10:46:43 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/Makefile.in: Add new BSP for sparc86x (DANlite).
- * sparc/salib.c (outbyte): Add hook for GDB stub.
- (cache_off, cache_on, flush_i_cache): Move to cache.c.
- * sparc/cache.c: New file for sparclite-specific cache code.
- * sparc/cache-86x.c: New file for sparc86x-specific cache code.
- * sparc/sparc86x.ld: New linker script for sparc86x.
- * sparc/crt0.S: Disable broken data relocation code.
- * sparc/sparcl-stub.c (outbyte_stub): New function for redirecting
- standard output to GDB.
- (handle_exception): Initialize outbyte hook.
-
-Tue Aug 11 13:27:31 1998 Jim Wilson <wilson@cygnus.com>
-
- * m68k/idp.ld (__INIT_SECTION__): Align to 2 byte boundary.
- * m68k/bcc.ld, m68k/mvme135.ld, m68k/mvme162.ld: Likewise.
- * m68k/sbc5204.ld, m68k/sbc5206.ld: Likewise.
-
-1998-08-11 Jason Merrill <jason@yorick.cygnus.com>
-
- * mn10300/{sim.ld,eval.ld}: Add init_priority support.
-
-Tue Aug 11 10:04:05 1998 Jeffrey A Law (law@cygnus.com)
-
- * mn10200/sim.ld: Rework code to insert pad before the start of the
- data segment.
- * mn10200/eval.ld: Likewise.
- * mn10300/sim.ld: Likewise.
- * mn10300/eval.ld: Likewise.
-
-Sat Aug 8 09:46:37 1998 Jim Wilson <wilson@cygnus.com>
-
- * mips/cma101.c (__sizemem): New local variable extra. Align base
- to int boundary.
-
-Tue Jul 28 10:57:12 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/Makefile.in (ERC32_OBJS): Add fixctors.
- * sparc/erc32-crt0.S: Call __fix_ctors just before calling main.
- * sparc/fixctors.c: New file.
-
-Sat Jul 18 07:15:33 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/crt0.S (win_ovf_trap, win_unf_trap): Use correct names for
- extern functions win_ovf and win_unf; fixes unresolved symbols
- in COFF.
-
-Mon Jul 13 17:50:41 1998 Jeff Johnston <jjohnstn@cygnus.com>
-
- * configure.in: Added libnosys as subdir.
- * configure: Rebuilt configure based on configure.in.
- * libnosys/close.c (_close): Part of new libnosys stub library
- to use for situations with no operating system support.
- * libnosys/environ.c (environ): ditto.
- * libnosys/execve.c (_execve): ditto.
- * libnosys/exit.c (_exit): ditto.
- * libnosys/fork.c (_fork): ditto.
- * libnosys/fstat.c (_fstat): ditto.
- * libnosys/getpid.c (_getpid): ditto.
- * libnosys/gettod.c (_gettimeofday): ditto.
- * libnosys/isatty.c (_isatty): ditto.
- * libnosys/kill.c (_kill): ditto.
- * libnosys/link.c (_link): ditto.
- * libnosys/lseek.c (_lseek): ditto.
- * libnosys/open.c (_open): ditto.
- * libnosys/read.c (_read): ditto.
- * libnosys/sbrk.c (_sbrk): ditto.
- * libnosys/stat.c (_stat): ditto.
- * libnosys/times.c (_times): ditto.
- * libnosys/unlink.c (_unlink): ditto.
- * libnosys/wait.c (_wait): ditto.
- * libnosys/write.c (_write): ditto.
- * libnosys/Makefile.in : Makefile.in for creating libnosys Makefile.
- * libnosys/configure.in: configure.in to create libnosys configure.
- * libnosys/configure: Configure for libnosys library.
-
-Mon Jul 13 14:13:07 EDT 1998 Jim Lemke <jlemke@cygnus.com>
-
- * sim/mips.ld: Clarify a comment.
-
-Tue Jul 7 21:12:41 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld: Make it work on both a.out and ELF.
- * sparc/traps.S: Rename trap_table label to work on both a.out
- and ELF. Put the address of the data section at the start
- of the section, so the simulator loader can find it for a.out loads.
-
-Thu Jun 25 09:24:53 1998 Mark Alexander <marka@cygnus.com>
-
- * config/mn10200.mt: New file.
-
-Tue Jun 23 22:45:49 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10200/crt0.S: Don't waste top four bytes of stack.
- * mn10200/eval.ld: Fix stack top address.
-
-Mon Jun 22 09:30:22 1998 Drew Moseley <dmoseley@cygnus.com>
-
- * mips/dvemon.c: Remove the close function and get it from the generic
- close.o
- * mips/Makefile.in (DVEOBJS): Add generic open.o and close.o to the DVEOBJS
- list to ensure that the proper API's are included.
-
-Wed Jun 17 12:33:05 1998 Mark Alexander <marka@cygnus.com>
-
- * configure.in: Add mn10200 support.
- * configure: Regenerate.
- * mn10200/Makefile.in: New file.
- * mn10200/_exit.c: New file.
- * mn10200/access.c: New file.
- * mn10200/chmod.c: New file.
- * mn10200/chown.c: New file.
- * mn10200/close.c: New file.
- * mn10200/configure: New file.
- * mn10200/configure.in: New file.
- * mn10200/creat.c: New file.
- * mn10200/crt0.S: New file.
- * mn10200/crt1.c: New file.
- * mn10200/eval.ld: New file.
- * mn10200/execv.c: New file.
- * mn10200/execve.c: New file.
- * mn10200/fork.c: New file.
- * mn10200/fstat.c: New file.
- * mn10200/getpid.c: New file.
- * mn10200/gettime.c: New file.
- * mn10200/isatty.c: New file.
- * mn10200/kill.c: New file.
- * mn10200/lseek.c: New file.
- * mn10200/open.c: New file.
- * mn10200/pipe.c: New file.
- * mn10200/read.c: New file.
- * mn10200/sbrk.c: New file.
- * mn10200/sim.ld: New file.
- * mn10200/stat.c: New file.
- * mn10200/test.c: New file.
- * mn10200/time.c: New file.
- * mn10200/times.c: New file.
- * mn10200/trap.S: New file.
- * mn10200/trap.h: New file.
- * mn10200/unlink.c: New file.
- * mn10200/utime.c: New file.
- * mn10200/wait.c: New file.
- * mn10200/write.c: New file.
-
-Fri Jun 12 17:26:56 1998 Doug Evans <devans@seba.cygnus.com>
-
- * m32r/sys/syscall.h: Delete. Use ./syscall.h now.
- * m32r/trap0.S: Renamed from trap.S.
- * m32r/eit.h: New file.
- * m32r/crtsysc.c: Delete, split up into several files.
- * m32r/chmod.c: New file.
- * m32r/close.c: New file.
- * m32r/exit.c: New file.
- * m32r/fstat.c: New file.
- * m32r/getpid.c: New file.
- * m32r/isatty.c: New file.
- * m32r/kill.c: New file.
- * m32r/lseek.c: New file.
- * m32r/open.c: New file.
- * m32r/raise.c: New file.
- * m32r/read.c: New file.
- * m32r/sbrk.c: New file.
- * m32r/stat.c: New file.
- * m32r/unlink.c: New file.
- * m32r/utime.c: New file.
- * m32r/write.c: New file.
- * m32r/Makefile.in (SYSCALLS): Delete.
- (LIBOBJS,LIBGLOSS): New variables.
- (all,install): Update.
- (libgloss.a): New rule.
-
-Thu Jun 11 08:38:42 1998 Doug Evans <devans@seba.cygnus.com>
-
- * sparc/cygmon-salib.c (setitimer): Add `const' to second arg.
- (gettimeofday): Change type of 2nd arg to struct timezone *.
-
-Tue Jun 9 12:02:21 1998 Ian Carmichael <iancarm@cygnus.com>
-
- * mips/syscalls.c (sbrk): Allow memory allocation to work
- for configurations which don't have memory at K1BASE.
- * mips/cma101.c (__sizemem): Ditto.
-
-Tue Jun 9 13:17:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
-
- * m68k/emc-stub.c: New file, stub for the EMC Symmetrix target.
- * m68k/gdbinit.emc: New file, user support for special features
- supported only on the EMC Symmetrix target.
-
-Fri Jun 5 16:40:20 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld: Fix ctor and dtor tables to work in both
- little- and big-endian executables.
-
-Wed Jun 3 23:09:38 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/sparcl-stub.c: Include asm.h. Use STRINGSYM macro to generate
- proper prefix for public assembly language labels.
- * sparc/ex930.ld: Add DWARF sections.
- * sparc/ex931.ld: Ditto.
- * sparc/ex934.ld: Ditto.
- * sparc/elfsim.ld: Simplify and clean up.
- * sparc/Makefile.in: Build ex934 BSP. Allow little-endian builds.
- * sparc/traps.S (win_flush): Rewrite using code from Cygmon
- to eliminate register corruption.
-
-Mon Jun 1 15:21:05 1998 Geoffrey Noer <noer@cygnus.com>
-
- * sparc/cygmon-salib.c: Stop including sys/itimer.h
-
-Sun May 31 10:46:37 1998 Michael Meissner <meissner@cygnus.com>
-
- * rs6000/Makefile.in (SOLARIS_*): Don't build solaris bsp's any
- more.
-
-Fri May 22 13:50:55 1998 Angela Marie Thomas (angela@cygnus.com)
-
- * mn10300/Makefile.in: Install sim.ld.
-
-Wed May 20 22:45:11 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld: Add constructor and destructor tables.
-
-Sat May 16 17:08:17 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-salib.c (__getProgramArgs): Use asm constraints.
-
-Fri May 15 16:50:36 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/traps.S (win_flush): Don't destroy %g1 and %g2.
-
-Fri May 15 15:59:30 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/configure.in: Add idt to tx39 chain.
- * mips/configure: Rebuild.
-
-Fri May 15 15:48:28 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/crt0.S (__stackbase): Added.
- (zerobss): Initialize __stackbase.
-
-1998-05-13 Brendan Kehoe <brendan@cygnus.com>
-
- * mips/configure.in: Also grok `mipstx39*-*-*'.
- * mips/configure: Regenerated.
-
-Mon May 11 15:07:12 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * configure.in: Added powerpcle target.
- * configure: Regenerated.
-
-Thu May 7 16:43:37 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld (OUTPUT_FORMAT): Add little-endian support.
-
- * sparc/crt0.S (_start): Define label for ELF targets.
- * sparc/salib.c: Include asm.h. Use STRINGSYM macro to generate
- proper prefix for public assembly language labels.
- (write, read): Disable to avoid conflict with generic versions
- of these functions.
- * sparc/erc32-stub.c: Move STRINGSYM macro to sparc/asm.h.
- * sparc/asm.h: Move STRINGSYM macro here from sparc/erc32-stub.c
-
-Mon May 4 08:30:58 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/configure.in: Treat sparc86x as a sparclite.
- * sparc/configure.in: Ditto.
- * sparc/Makefile.in (slite-install): Install missing files
- for simulator.
-
-Thu Apr 30 16:41:15 1998 John Metzler <jmetzler@cygnus.com>
-
- * mips/configure.in: adjust target type pattern to export nullmon.ld
- * mips/configure: regenerated
-
-Mon Apr 27 21:38:18 1998 Mark Alexander <marka@cygnus.com>
-
- * configure.in: Added sparc86x configuration.
- * configure: Ditto.
-
-Wed Apr 22 21:45:13 1998 Jeffrey A Law (law@cygnus.com)
-
- * mips/crt0.S: Increase stack alignment.
-
-Fri Apr 10 21:17:48 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/traps.S (win_flush): Prevent immediate window underflow
- trap on return. Miscellaneous comment formatting cleanup.
-
-Tue Apr 7 18:34:51 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld: Align BSS at 8-byte boundary.
-
-Mon Apr 6 13:12:32 1998 Mark Salter <msalter@chef.cygnus.com>
-
- * rs6000/ads-io.c (write): Added write().
-
- * rs6000/Makefile.in: Changed objects used for libads to be
- new ads specific object files instead of some mvme objects.
-
- * Added ads-io.c and ads-exit.c to provide function stubs which
- are safe on ads board (SDS monitor).
-
- * rs6000/mbx-outbyte.c (outbyte): Foundry console output
- is fixed, so re-enable output char quoting for mbx.
-
- * rs6000/mbx.specs: Added blank line to end of file. There
- were link errors without it?
-
- * rs6000/mbx.specs: Use mbx.ld script for linking.
-
- * rs6000/mbx-outbyte.c: Don't quote characters. We don't want
- gdb to display program output, yet.
-
- * rs6000/Makefile.in (install-mbx): Fixed install of mbx.specs
- file.
-
- * rs6000/Makefile.in: Support for MBX EPPCBug monitor.
- * rs6000/mbx-{exit,inbyte,outbyte,print}.c: New files for MBX.
- * rs6000/mbx.ld,mbx.specs: New files for MBX.
-
-Wed Apr 1 21:42:40 1998 Mark Alexander <marka@cygnus.com>
-
- * sparc/elfsim.ld: New linker script for running ELF programs
- in erc32 simulator.
- * sparc/erc32-crt0.S: Disable copying of data segment.
- * sparc/erc32-stub.c: Generate correct public name for breakinst.
- * sparc/Makefile.in: Build erc32 library always.
-
-Thu Apr 2 11:24:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mips/syscalls.c (sbrk): Check word size correct for
- get_mem_info.
-
-Fri Mar 27 08:55:52 1998 Mark Alexander <marka@cygnus.com>
-
- * mips/crt0.S: Insert NOP before _start to keep GDB happy.
- * mips/dve.ld: Eliminate references to VR4300.
-
-Thu Mar 26 19:47:36 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/eval.ld: Don't use absolute path in SEARCH_DIR.
- * mn10300/sim.ld: Ditto.
-
-Wed Mar 25 10:49:49 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-salib.c (__getProgramArgs): New function.
-
- * sparc/cygmon-crt0.S (init): Call __getProgramArgs.
-
- * configure.in: Added sparc64 configuration.
-
- * configure: Regenerated.
-
-Tue Mar 24 10:44:41 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/Makefile.in: Install libraries, not just linker scripts.
-
-Tue Mar 24 09:52:28 1998 Mark Alexander <marka@cygnus.com>
-
- * config/mn10300.mt: New file
- * mn10300/configure.in: Use mn10300.mt as target makefile fragment
- instead of nothing at all.
- * mn10300/configure: Ditto.
-
-Tue Mar 24 16:59:06 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
-
- * doc/configure: Regenerate with autoconf 2.12.1 to fix shell
- issues for NT native builds.
-
-Mon Mar 16 18:51:11 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-crt0.S: Make start a global symbol (for the linker
- script; we also need to make SYM(start) global).
-
-Wed Mar 11 10:24:39 1998 Stan Cox <scox@rtl.cygnus.com>
-
- * sparc/cygmon.ld.src (.debug*): Added dwarf sections.
-
-Fri Mar 6 23:41:54 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon.ld.src: Use TARGET_RAM_START.
-
- * sparc/Makefile.in (SLITE_RAM_START): Add.
- (SPARC_RAM_START): Add.
- (SPARC64_RAM_START): Add.
- (SLITE_ALL): Add cygmon object files and linker script.
- slite-install: Install CygMon libraries and linker script.
-
-Mon Mar 2 19:36:12 1998 Michael Meissner <meissner@cygnus.com>
-
- * rs6000/ads.ld: Add default attributes to memory region.
- * a29k/{p3dgps,sa29200{,b}}.ld: Ditto.
- * hp74x/hppa.ld: Ditto.
- * m68k/{bcc,idp,mvme{135,162},sbc520{4,6}}.ld: Ditto.
- * pa/{op50n,w89k}.ld: Ditto.
- * sh/{sh1{l,2,3}cevb,sh3bb}.ld: Ditto.
- * sparc/{erc32,ex93{0,1,4}}.ld: Ditto.
-
-Fri Feb 27 17:15:35 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/configure.in (AC_INIT): Use crt0.S instead of crt0-eval.S.
-
-Fri Feb 27 17:39:23 1998 Jeffrey A Law (law@cygnus.com)
-
- * configure.in: Use "mn10300" subdir for "mn10300-*-*".
-
-Mon Feb 23 20:29:42 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/Makefile.in (GENOBJS): Remove system calls no longer
- supported.
- * mn10300/trap.h: Use generic syscall.h.
- * mn10300/sys/syscall.h: Removed in favor of generic syscall.h.
-
-Mon Feb 23 16:19:17 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/Makefile.in (cma101.o): Add rule to explicitly use -mno-mips16.
- * mips/cma101.c: Reverse my previous change.
- Add #ifdef __mips16 then #error.
-
-Mon Feb 23 11:29:33 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/Makefile.in: Add rules for building libeval.a.
- * mn10300/configure: Don't use default.mt.
- * mn10300/configure.in: Ditto.
- * mn10300/eval.ld: Replace with modified version of default script.
-
- * mn10300/_exit.c: New file for libeval.a.
- * mn10300/access.c: Ditto.
- * mn10300/chmod.c: Ditto.
- * mn10300/chown.c: Ditto.
- * mn10300/close.c: Ditto.
- * mn10300/creat.c: Ditto.
- * mn10300/crt0.S: Ditto.
- * mn10300/crt1.c: Ditto.
- * mn10300/execv.c: Ditto.
- * mn10300/execve.c: Ditto.
- * mn10300/fork.c: Ditto.
- * mn10300/fstat.c: Ditto.
- * mn10300/getpid.c: Ditto.
- * mn10300/gettime.c: Ditto.
- * mn10300/isatty.c: Ditto.
- * mn10300/kill.c: Ditto.
- * mn10300/lseek.c: Ditto.
- * mn10300/open.c: Ditto.
- * mn10300/pipe.c: Ditto.
- * mn10300/read.c: Ditto.
- * mn10300/sbrk.c: Ditto.
- * mn10300/sim.ld: Ditto.
- * mn10300/stat.c: Ditto.
- * mn10300/time.c: Ditto.
- * mn10300/times.c: Ditto.
- * mn10300/trap.S: Ditto.
- * mn10300/trap.h: Ditto.
- * mn10300/unlink.c: Ditto.
- * mn10300/utime.c: Ditto.
- * mn10300/wait.c: Ditto.
- * mn10300/write.c: Ditto.
- * mn10300/sys/syscall.h: Ditto.
-
-Fri Feb 20 17:19:22 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/cma101.c: #ifdef out whole file if mips16.
-
-Thu Feb 19 13:05:58 1998 Bob Manson <manson@charmed.cygnus.com>
-
- * i960/*: Revised.
-
-Wed Feb 18 12:00:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
-
- * m68k/crt0.S (start): Fixed code that clears .bss. Code
- was using dbra instruction and did not account for the fact
- that the instruction branches until counter is -1, not 0.
-
-Tue Feb 17 18:21:52 1998 Mark Alexander <marka@cygnus.com>
-
- * mn10300/Makefile.in: New file for MN10300 eval board support.
- * mn10300/configure: Ditto.
- * mn10300/configure.in: Ditto.
- * mn10300/crt0-eval.S: Ditto.
- * mn10300/eval.ld: Ditto.
- * mn10300/test.c: Ditto.
-
-Tue Feb 17 19:55:47 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/vr4300.S (__previous): Fix comment type-o in
- previous change.
-
-Tue Feb 17 10:47:45 1998 Gavin Koch <gavin@cygnus.com>
-
- * mips/vr4300.S (__previous,baseaddr,res_baseaddr):
- Figure the length of the exception handler at runtime
- rather than compile time.
-
-Tue Feb 3 14:07:51 1998 Ian Lance Taylor <ian@cygnus.com>
-
- * configure.in: When running config-ml.in, put --enable-multilib
- before ac_configure_args, so that --disable-multilib can override
- it.
- * configure: Rebuild.
-
-Fri Jan 9 17:10:59 1998 Mark Alexander <marka@cygnus.com>
-
- * mips/Makefile.in (LSIOBJS, DVEOBJS): Add part-specific objects.
-
-Mon Jan 5 17:01:45 1998 Mark Alexander <marka@cygnus.com>
-
- * config/mips.mt: Add rules for read.o and write.o.
- * mips/dvemon.c: New file to support Densan DVE-R3900 board.
- * mips/dve.ld: New file to support Densan DVE-R3900 board.
- * mips/Makefile.in: Add rules for Densan support library libdve.a.
- * mips/configure.in: Build libdve.a for tx39 targets.
- * mips/configure: Ditto.
-
-Tue Dec 30 15:34:17 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/Makefile.in: Add define for TARGET_CPU_$(CPU).
-
- * sparc/cygmon-salib.c: If TARGET_CPU_SPARC64, include
- sys/types.h, and define _open_r, _close_r, etc.
-
-Sun Dec 28 17:15:50 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-salib.c (_open_r, _close_r): New functions.
- (read, write): If the fd isn't 0, 1, or 2, return an error.
-
-Fri Dec 26 18:45:28 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-salib.c (_sbrk_r, _fstat_r,_brk_r): Define.
-
- * sparc/cygmon-crt0.S: Zero out %fp so backtraces from gdb work
- properly.
-
- * sparc/configure.in: Set CYGMONLDSCRIPTTEMPL appropriately.
-
- * sparc/Makefile.in ($(objdir)/cygmon.ld): Use CYGMONLDSCRIPTTEMPL
- to determine what template file we use.
-
-1997-12-22 Felix Lee <flee@cygnus.com>
-
- * rs6000/sim-errno.c (_cerror): need to return -1.
- * rs6000/sol-cfuncs.c (_cerror): likewise.
-
-Mon Dec 22 16:54:31 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-crt0.S: Add stack bias code if TARGET_CPU_SPARC64 is
- defined. Allocate 128 bytes for a frame if sparc64.
-
- * sparc/cygmon.ld.src: New file, replaced cygmon.ld.
-
- * sparc/Makefile.in (SPARC_OBJ_FORMAT): Added.
- (SPARC64_ALL,SPARC64_INSTALL,SPARC64_OBJ_FORMAT): Added.
- ($(objdir)/cygmon.ld): Create from $(objdir)/cygmon.ld.src.
-
- * sparc/configure.in: Add sparc64 to CPU list.
- * sparc/configure: Regenerated.
- * configure: Regenerated.
-
-Sun Dec 21 18:19:27 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * configure.in: Added sparc64-elf configuration.
-
-Wed Dec 10 19:15:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mips/pmon.ld, mips/ddb.ld: Add handling of DWARF
- sections. Copied from mips/idt.ld.
-
-Wed Dec 10 12:31:04 1997 Mark Alexander <marka@cygnus.com>
-
- * mips/configure: Add entry.o to LSI library.
- * mips/configure.in: Ditto.
- * mips/crt0.S: Declare init hooks as .text to avoid linker errors.
- * mips/pmon.S: Don't use 64-bit instructions on 32-bit EABI machines.
- * mips/entry.S: New file (MIPS16 entry/exit exception handler).
-
-Tue Dec 9 18:51:45 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/crt0.S (_start): Don't load r1 with 32 anymore. Zero out
- the 3 bss areas.
-
-Fri Nov 28 22:34:14 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon-salib.c (open): New syscall.
-
- * sparc/cygmon.ld: Add gcc_except_table section.
-
- * sparc/cygmon-crt0.S: Call __install_signal_handler.
- Run ctors/dtors as appropriate.
-
- * sparc/cygmon-salib.c (gettimeofday): New syscall.
- (stime): Ditto.
- (add_mapping): Ditto.
- (remove_mapping): Ditto.
- (__install_signal_handler): Ditto.
-
-Wed Nov 26 15:25:11 1997 Michael Meissner <meissner@cygnus.com>
-
- * rs6000/mcount.S: New file to in case no profiling module was
- defined.
-
- * rs6000/Makefile.in (OBJS): Add mcount.o
- (mcount.o): Depend on mcount.S.
-
-Mon Nov 24 23:25:07 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/cygmon.ld: Add linkonce sections.
-
-Mon Nov 24 18:42:55 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/syscalls.c (__syscall): Correct setting errno.
-
-Sun Nov 23 17:49:45 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/Makefile.in: Removed TARGET_CFLAGS.
- * sparc/configure.in: Ditto.
- * sparc/configure: Regenerated.
-
-Fri Nov 21 21:21:23 1997 Michael Meissner <meissner@cygnus.com>
-
- * syscall.h: Remove d30v from comments.
-
- * d30v/syscalls.c: Use common syscall.h file, move setting errno
- into common function, rather than have each stub do it.
-
- * d30v/Makefile.in (syscalls.c): Use common syscall.h, not the old
- d30v specific version.
- (clean): Properly remove libraries.
-
- * d30v/sys/syscall.h: Delete.
-
-Wed Nov 19 16:13:00 1997 Doug Evans <devans@seba.cygnus.com>
-
- * rs6000/Makefile.in (unlink.o): Add rule for.
-
- * syscall.h: New file.
-
-Tue Nov 18 17:22:18 1997 Doug Evans <devans@seba.cygnus.com>
-
- * sparc/asm.h (CONCAT1): Use __USER_LABEL_PREFIX__.
-
- * sparc/Makefile.in: Reorganize file.
-
- * sparc/Makefile.in: Rename all occurences of SIM to ERC32.
- (all): Don't build erc32 support any more (never installed anyway).
- * sparc/erc32-io.c: Renamed from sim-io.c.
- * sparc/erc32-stub.c: Renamed from sim-stub.c.
- * sparc/erc32-crt0.S: Renamed from sim-crt0.S.
- * sparc/erc32.ld: Renamed from sim.ld.
- * sparc/configure.in (AC_INIT): Update.
- * sparc/configure: Regenerate.
-
-Tue Nov 18 13:54:46 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/syscalls.c: New file to provide system call stubs.
- * d30v/sys/syscall.h: New file to provide system call numbers.
- * d30v/sim-{exit,read,write}.S: Delete, no longer used.
- * d30v/Makefile.in: Remove old system stubs, and use the new ones
- in syscalls.c.
-
-Tue Nov 18 12:38:37 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/sys/syscall.h: Define for d30v system calls.
-
-Mon Nov 17 22:04:04 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * configure.in: Configure the sparc directory for the sparc-elf
- toolchain.
- * configure: Regenerated.
-
- * sparc/Makefile.in: For a generic sparc toolchain, build the cygmon
- crt0 and install the cygmon linker script.
-
- * sparc/asm.h (USER_LABEL_PREFIX): If it's already defined, don't
- redefine it.
-
- * sparc/configure.in: Add LIB_AC_PROG_CC. Add TARGET_CFLAGS
- subst variable.
- * sparc/configure: Regenerated.
-
- * sparc/cygmon.ld: New file.
- * sparc/cygmon-crt0.S: New file.
- * sparc/cygmon-salib.c: New file.
-
-Sun Nov 16 20:22:22 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/crt0.S (_start): Set up stack pointer to end of internal
- memory by default.
-
-Tue Nov 11 17:43:06 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/Makefile.in (OBJS): Use print.o, not print.c. Add sbrk.o.
-
-Mon Nov 10 13:57:40 1997 Michael Meissner <meissner@cygnus.com>
-
- * configure.in (d30v-*-*): Add configuration.
- * configure: Regenerate.
-
- * d30v/{crt0,sim-{read,write,exit}}.S: Correct typos.
- * d30v/Makefile.in: Ditto.
-
-Sat Nov 8 14:38:57 1997 Michael Meissner <meissner@cygnus.com>
-
- * d30v/crt0.S: New file for d30v port.
- * d30v/configure{,.in}: Ditto.
- * d30v/Makefile.in: Ditto.
- * d30v/{in,out}byte.c: Ditto.
- * d30v/sim-{read,write,exit}.c: Ditto.
-
-Tue Sep 16 15:21:08 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/Makefile.in (vr4300.o): Reinstate command, it's will
- be necessary until all hosts properly set BSP in configure.in.
-
-Mon Sep 15 16:20:29 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * m68k/*.ld: Add underscore versions of __CTOR_LIST__ and
- __DTOR_LIST__.
-
-Mon Sep 15 12:13:34 1997 Mark Alexander <marka@cygnus.com>
-
- * mips/crt0.S: Declare external functions as .text to
- eliminate linker warnings.
-
-Tue Sep 9 23:35:04 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/Makefile.in (SCRIPTS): Now is configurable.
- (BSP): Now is configurable.
- (vr4300.o): Remove unnecessary command.
- * mips/configure.in: Configure the newly configuable
- SCRIPTS and BSP.
- * mips/configure: Re-autoconf.
-
-
-Mon Sep 8 16:53:12 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * mips/Makefile.in (pmon.o): Added compile command that includes
- PART_SPECIFIC_DEFINES. Don't include cma101.o by default.
-
- * mips/configure.in (part_specific_defines): New variable
- used when building pmon.o.
- (part_specific_obj): Include cma101.o as well as vr4300.o,
- since it is board-specific in many ways (and relies on
- routines in vr4300.o).
-
-Mon Sep 8 14:42:44 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/idt.ld: Add handling of DWARF sections.
-
-Sun Sep 7 16:43:05 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/crt0.S, mips/idtmon.S, mips/vr4300.S: Handle mips16 builds.
-
-Thu Sep 4 19:35:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * v850/sys/syscall.h: Match with what is in newlib.
-
-Mon Sep 1 12:43:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * v850/sys/syscall.h: New file.
-
-Thu Aug 28 17:27:16 1997 Stan Shebs <shebs@andros.cygnus.com>
-
- * rs6000/ads.ld: Define ram region.
- (__stack): Fix value.
- * rs6000/crt0.S: Clear the sbss area as well as bss.
-
-Tue Aug 26 16:22:36 1997 Ian Lance Taylor <ian@cygnus.com>
-
- * m68k/bcc.ld: Don't use BLOCK for the section addresses.
- Instead, just force . to be aligned when necessary.
- * m68k/idp.ld, m68k/mvme135.ld, m68k/mvme162.ld: Likewise.
- * m68k/sbc5204.ld, m68k/sbc5206: Likewise.
-
-Fri Aug 8 14:20:16 1997 Michael Meissner <meissner@cygnus.com>
-
- * rs6000/Makefile.in (install-{yellowknife,ads}): The linker
- scripts are in the source directory, not the object directory.
-
-Fri Aug 1 12:21:31 1997 Stan Shebs <shebs@andros.cygnus.com>
-
- * rs6000/ads.ld: New file, linker script for 821/860 ADS board.
- * rs6000/yellowknife.ld: New file, linker script for embedded
- Yellowknife (CHRP/PPCP) box.
- * rs6000/Makefile.in: Add rules for ADS and Yellowknife bits,
- remove references to EVM, don't optimize the test program.
- * rs6000/crt0.S: Renamed from mvme-crt0.S, is generic.
- * rs6000/mvme-stack.S: Removed, unnecessary.
-
-Tue Jun 3 12:54:59 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * mips/crt0.S: Added GCRT0 #ifdef for profiling support.
-
- * mips/Makefile.in (SCRIPTS): Added idtecoff.
- (PCRT0): Added.
-
- * mips/idtecoff.ld: Added. Add crt0.o startup entry.
-
-Fri Apr 18 15:54:11 1997 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/crt0.S: Remove references to .fillinsn.
-
-Mon Apr 14 16:34:27 1997 Ian Lance Taylor <ian@cygnus.com>
-
- * testsuite/Makefile.in (INSTALL): Change install.sh to
- install-sh.
-
-Wed Apr 9 15:41:39 1997 Mike Meissner <meissner@cygnus.com>
-
- * rs6000/configure.in (AC_PROG_CC): copied from configure.in.
- * rs6000/configure: Regenerate.
-
-
-Sat Mar 29 12:21:08 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/(ex930.ld,ex931.ld,ex934.ld}: Set __end as well
- as _end and end.
-
-Fri Mar 28 23:01:38 1997 Mark Alexander <marka@cygnus.com>
-
- * mips/lsi.ld: Before setting _gp, use ALIGN(8) instead
- of ALIGN(16). Remove ALIGN from _gp computation.
-
-Mon Mar 17 10:00:29 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/idtmon.S: Added magic number for _flush_cache slot.
-
-Fri Mar 14 14:36:06 1997 J.T. Conklin <jtc@beauty.cygnus.com>
-
- * m68k/Makefile.in (install): Fix typo.
-
- * m68k/crt0.S: Changed to use correct loop condition for coldfire.
-
-Wed Mar 12 16:00:51 1997 Stu Grossman (grossman@critters.cygnus.com)
-
- * sparc/Makefile.in: Add rules for above.
- (701_OBJS): Add salib-701.o, sparclet-stub.o.
- [Brought over from Nov 5 change in sparclet branch.]
-
- * sparc/salib-701.c (flush_i_cache): Implement cache flushing to fix
- intermittent problems with gdb stub and breakpoints. Fixes pr 11755.
-
-Wed Mar 12 15:49:30 1997 J.T. Conklin <jtc@cygnus.com>
-
- * m68k/sbc5204: Fix GROUP specifier.
- * m68k/sbc5206: Likewise.
-
-Tue Mar 11 13:43:49 1997 J.T. Conklin <jtc@cygnus.com>
-
- * m68k/Makefile.in (all): Fix typo.
-
- * m68k/crt0.S: Use cmpl #0,aX instead of cmpw #0,aX as the latter
- is an invalid instruction on the coldfire.
-
-Fri Mar 7 19:42:50 1997 Mark Alexander <marka@cygnus.com>
-
- * mips/lsi.ld: New file.
- * mips/lsipmon.S: New file.
- * Makefile.in: Add support for LSI variant of PMON (MiniRISC board).
- * pmon.S: Ditto.
-
-Fri Mar 7 10:29:11 1997 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/regs.S (pc): Define.
-
-Thu Mar 6 18:11:57 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * mips/pmon.S (INDIRECT): For a target that uses the 64-bit
- ABI, set up the stack for a 32-bit call before actually calling
- PMON.
-
- * mips/regs.S: K1BASE needs to be a 64-bit value on a machine
- with 64-bit pointers.
-
- * mips/syscalls.c (sbrk): Use size_t instead of unsigned int
- when comparing pointers.
-
-Wed Mar 5 15:44:04 1997 Doug Evans <dje@seba.cygnus.com>
-
- * m32r/crtsysc.c (_sbrk): Change _end decl to __model__ (__medium__).
- * m32r/Makefile.in (m32r-stub.o): Use MULTISRCTOP to find m32r-stub.c.
-
-Tue Mar 4 07:01:44 1997 J.T. Conklin <jtc@cygnus.com>
-
- * m68k/crt0.S: Use cmpw #0,aX instead of tstl aX, as the latter is
- an invalid addressing mode on the 68000 core.
-
-Mon Mar 3 16:38:19 1997 Jim Wilson <wilson@cygnus.com>
-
- * mips/crt0.S: Subtract 24 instead of 8 when computing sp.
-
-Mon Mar 3 13:35:20 1997 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/m32r-lib.c: New file.
- * m32r/{eva,eva-stub}.ld: New files.
- * m32r/Makefile.in: Build and install them.
- Also build and install m32r-stub.o.
-
-Tue Feb 25 11:59:20 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/configure.in (LIB_AC_PROG_CC): copied from configure.in.
- * mips/configure.in (AC_PROG_CC): replaced by LIB_AC_PROG_CC
- can't do final link until libs in this directory are built.
- * mips/configure: regenerated.
-
-Tue Feb 25 00:31:27 1997 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/crt0.S: Call hardware_init_hook and software_init_hook via
- a register, to avoid relocation overflow if they are zero.
-
-Mon Feb 24 22:25:49 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/Makefile.in (IDTOBJS,PMONOBJS): Part specific modules
- can now be configured by part_specific_obj.
- * mips/configure.in (part_specific_obj): added.
- * mips/configure: regenerate.
-
-Fri Feb 21 14:29:54 1997 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/crtsysc.c (_sbrk): Declare _end with __attribute ((__sym32__)).
-
-Fri Feb 21 10:10:55 1997 Jim Wilson <wilson@cygnus.com>
-
- * mips/ddb.ld: Align the location counter before setting _gp, and
- before setting edata. Remove ALIGN from _gp computation.
- * mips/idt.ld, mips/pmon.ld: Before setting _gp, use ALIGN(8) instead
- of ALIGN(16). Remove ALIGN from _gp computation.
-
-Thu Feb 20 17:30:41 1997 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/array.ld: Add mips16 sections.
- * mips/ddb.ld, mips/idt.ld, mips/pmon.ld: Likewise.
-
- * mips/crt0.S (zerobss): Use subu, not sub.
-
-Tue Feb 18 17:25:56 1997 Mark Alexander <marka@cygnus.com>
-
- * mips/crt0.S: Add .ent lines for all code fragments, so
- that objdump --disassemble will display them correctly.
-
-Fri Feb 14 11:07:20 1997 J.T. Conklin <jtc@cygnus.com>
-
- * m68k/mvme-stub.c: New file. Common debugger stub used for mvme-
- based targets. This should eventually be merged with or replaced
- by the m68k stub from gdb.
- * m68k/{mvme135-stub.c, mvme162lx-stub.c}: Removed.
- * m68k/Makefile.in: Updated for above change.
-
- * m68k/{mvme135-asm.S, mvme162lx-asm.S}: Removed all whitespace
- differences and changed to consistantly use the IMM macro for
- immediate constants. It is now possible to compare these two
- files without having to filter out insignificant differences.
-
- * m68k/mvme135-stub.c (set_debug_traps): Renamed from
- init_debug_traps to match documentation and other sample debugger
- stubs.
-
- * m68k/sbc5204.ld: New file, linker script for Arnewsh SBC5204.
-
- * m68k/sbc5206.ld: New file, linker script for Arnewsh SBC5206.
-
- * m68k/Makefile.in (DBUG_OBJ, DBUG_BSP): New BSP for coldfire
- targets running the dbug monitor.
-
- * m68k/{dbug-exit.S,dbug-inbyte.S,dbug-outbyte.S}: New files.
-
-Thu Feb 6 13:31:06 1997 Bob Manson <manson@charmed.cygnus.com>
-
- * m68k/crt0.S: Don't use SYM to refer to symbols defined
- in the linker script.
-
-Thu Jan 16 10:34:36 1997 Jim Wilson <wilson@cygnus.com>
-
- * mips/{ddb.ld,idt.ld,pmon.ld}: Readd OUTPUT_FORMAT definition.
-
-Wed Jan 8 14:49:26 1997 Jim Wilson <wilson@cygnus.com>
-
- * mips/crt0.S (_start): Don't try to use FPU registers if
- __mips_soft_float is defined.
-
-Fri Dec 27 15:41:08 1996 Bob Manson <manson@charmed.cygnus.com>
-
- * sparc/Makefile.in (splet-install): Add tsc701.ld.
-
-Thu Dec 26 14:59:34 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
-
- * sparc/sparclet-stub.c: Add support for "P" protocol command.
- Add support for %cc coprocessor registers, %asr registers.
- Work-around broken SAVE instruction on sparclet.
-
-Tue Dec 24 22:15:53 1996 Angela Marie Thomas (angela@cygnus.com)
-
- * mips/pmon.S: add an INDIRECT for _flush_cache to be the
- same as mon_flush_cache. This fixes failures in "make check"
-
-Mon Dec 23 18:08:05 1996 Jim Wilson <wilson@cygnus.com>
-
- * mips/syscalls.c (__errno, _raise): Delete.
-
-Wed Dec 18 17:29:28 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/idt.ld: Align the location counter before setting _gp, and
- before setting edata.
- * mips/pmon.ld: Likewise.
-
-Sat Dec 14 21:52:40 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * configure.in: Use a special version of AC_PROG_CC. Autoconf
- 2.12 introduced a check for whether the compiler works, and that
- check will fail for a cross compilers without a complete set of
- libraries.
-
-Fri Dec 13 10:40:14 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * sbrk.c: Set the heap pointer to the address of _end, not the
- value.
-
-Wed Dec 11 15:26:50 1996 Jim Wilson <wilson@cygnus.com>
-
- * mips/{ddb.ld,idt.ld,pmon.ld}: Delete OUTPUT_FORMAT definition.
-
-Fri Dec 6 15:52:36 1996 Jim Wilson <wilson@cygnus.com>
-
- * mips/crt0.S: Delete unreachable instruction after exit call.
- Move exit call before .end _start.
-
-Tue Nov 26 15:05:26 1996 Doug Evans <dje@rtl.cygnus.com>
-
- * configure: Regenerate with autoconf 2.12.
-
-Mon Nov 11 15:12:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * config/ppc.mh: New PowerPC eabi target specific config file.
- Always use -mrelocatable-lib -mno-eabi.
-
- * rs6000/configure.in (host_makefile_frag): Use config/ppc.mh.
- * rs6000/configure: Regenerate.
-
- * rs6000/{mvme,sim}-crt0.o (_start): Make initial stack frame 64
- bytes, not 56 so that it is aligned to a 16 byte boundary.
-
-Tue Nov 5 10:24:29 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * sparc/Makefile.in (crt0-701.o): Use default rule to build.
- * sparc/crt0-701.S: Second pass at little endian support.
-
-Tue Nov 5 10:08:40 1996 Dawn Perchik <dawn@critters.cygnus.com>
-
- * sparc/{salib-701.c,sparclet-stub.c,tsc701.ld}: New files.
- * sparc/Makefile.in: Add rules for above.
- (701_OBJS): Add salib-701.o, sparclet-stub.o.
-
-Fri Nov 1 21:50:12 1996 Angela Marie Thomas (angela@cygnus.com)
-
- * mips/ddb.ld: rename cairo.ld to ddb.ld
- * mips/Makefile.in: rename cairo to ddb
-
-Thu Oct 31 13:54:58 1996 Stan Shebs <shebs@andros.cygnus.com>
-
- * sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3lcevb.ld: New files,
- linker scripts for Hitachi eval boards.
-
-Thu Oct 31 12:39:53 1996 Doug Evans <dje@seba.cygnus.com>
-
- * m32r/crt0.S: Set up fp. Speed up zeroing of bss.
-
-Sun Oct 27 20:34:27 1996 Mark Alexander <marka@cygnus.com>
-
- * mips/crt0.S: Initialize gp register correctly.
-
-Tue Oct 22 12:02:19 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/sys/syscall.h: New file.
- * m32r/crt0.S: Rewrite.
- * m32r/crtsysc.c (__trap): Adjust literal and comment syntax.
-
-Thu Oct 17 13:47:54 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/syscalls.c: Deleted, renamed to
- * m32r/crtsysc.c: this.
- * m32r/Makefile.in: Updated.
-
-Mon Sep 30 11:42:08 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * m32r/{Makefile.in,configure.in,configure}: New files.
- * m32r/{crt0.S,syscalls.c,trap.S}: New files.
- * configure.in: Recognize m32r-*-*.
- * configure: Regenerated.
-
-Thu Sep 26 10:59:25 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/crt0.S (_exit): Update terminating break instruction to use
- an explicit high value.
-
-Mon Sep 23 19:02:32 1996 Stan Shebs <shebs@andros.cygnus.com>
-
- * sh: New directory, Hitachi SH libgloss support.
- * sh/sh3bb.ld: New file, SH3 big box linker script.
-
-Thu Sep 19 12:02:23 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/crt0.S (zerobss): Use bltu in zerobss loop, not bne, in
- case the end symbol is not aligned.
-
-Sun Sep 15 12:23:47 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/vr4300.S (__cpu_flush): Fix lui constant.
- * mips/crt0.S (init): Fix passing of arg0 through exit() and
- _exit().
- * mips/syscalls.c (__errno): Return address of errno, rather than
- NULL.
-
-Wed Sep 11 10:45:13 1996 Stu Grossman (grossman@critters.cygnus.com)
-
- * m68k/bcc.ls, m68k/idp.ld, m68k/mvme135.ld, m68k/mvme162.ld:
- Merge .init and .fini sections into .text to fix a.out.
-
-Sun Sep 8 09:50:08 1996 Stu Grossman (grossman@critters.cygnus.com)
-
- * m68k/bcc.ls, m68k/idp.ld, m68k/mvme135.ld, m68k/mvme162.ld:
- Many fixes for problems discovered during testing. Make stack end
- at end of ram. Force __CTOR_LIST__ and __DTOR_LIST__ to be
- longword aligned. Move .shdata out of .text section. Put .rodata
- and .gcc_except_table into .text section. Get rid of .shbss
- section, load it into .bss. Remove bogus start address
- calculation for .bss. Force all sections to be longword aligned.
- Create .init and .fini sections (including function prologues and
- epilogues) for ELF support.
- * cpu32bug.S cpu32bug.h: Move defs for cpu32bug monitor into
- cpu32bug.h. Make sure that cpu32bug function codes aren't global.
- Remove creation of vbr_table. Fix function prologue in _exit.
- Use fp instead of a6. Add .text pseudo-op to the beginning of
- each function.
- * crt0.S: Remove global symbols zeroboss, init and launch. Make
- main, exit, hardware_init_hook, software_init_hook, atexit and
- __do_global_dtors extern, not global. Fix logic error when
- initializing stack pointer. It now loads sp if __stack is non-
- zero. Reverse order of software and hardware init hooks.
- Hardware now comes first. Add call to __INIT_SECTION__, and
- register __FINI_SECTION__ with atexit. This is needed to make ELF
- static constructors and destructors work right.
-
-Tue Sep 3 11:55:01 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * m68k/bcc.ld: Set address of .stab and .stabstr to 0, not `.'.
- * m68k/idp.ld, m68k/mvme135.ld, m68k/mvme162.ld: Likewise.
- * hp74x/hppa.c, rs6000/evm.ld, sparc/ex930.ld: Likewise.
- * sparc/ex931.ld, sparc/ex934.ld, sparc/sim.ld: Likewise.
-
-Fri Aug 30 15:57:37 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/Makefile.in (SCRIPTS): Add cairo.
- (vr4300.o:): Force build with target CFLAGS to ensure correct
- multilib endianness. The -Tcairo.ld target uses libpmon.a aswell
- as the -Tpmon.ld target.
- * mips/{idt.ld,pmon.ld}: Remove explicit crt0.o include.
- * mips/cairo.ld: Added.
- * mips/crt0.S: Restore atexit() call. Fix startup stack
- initialisation.
- * mips/pmon.S: Fix monitor indirection to be 64bit clean.
- * mips/vr4300.s: Added simple bus error handler to cope with
- sizing memory that doesn't ghost, but does abort.
- * mips/cma101.c: Improve the memory sizer.
- * mips/regs.S: Add definitions for SR_KX, SR_SX and SR_UX.
-
-Thu Aug 29 17:07:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * a29k/configure.in (i[345]86-*-*): Recognize i686 for pentium
- pro.
- * testsuite/libgloss.all/configure.in (i[345]86-*-*): Ditto.
- * a29k/configure: Regenerate.
-
-Thu Aug 22 10:31:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/Makefile.in (install{,-linux,-solaris}): Add install of
- Linux, Solaris libraries if built.
-
-Fri Aug 16 10:12:48 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * m68k/Makefile.in: Add -nostdlib to the test targets.
- * m68k/{idp,bcc,mvme135,mvme162}.ld: Move the CTORS and DTORS from
- .data to .text where they really belong.
- * m68k/crt0.S(launch): Don't put __do_global_dtors into atexit,
- GCC is supposed to do this in __main.
-
-Mon Aug 5 15:04:34 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * sparc/libsys/isatty.c: New file.
-
-Sun Aug 4 22:32:14 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * pa/Makefile.in: Build the test case as seperate targets.
- * pa/{w89k,op50n}.ld: Use GROUP rather than INPUT to get all the
- libraries.
-
-Fri Aug 2 18:25:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/Makefile.in: Install common crt0.o, remove old references
- to per-bsp crt0's.
-
-Tue Jul 30 21:48:05 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * sparc/Makefile.in: Built crt0.S, not crto.s.
- * sparc/crt0.S: Don't use REGS macro, use % always.
- * sparc/salib.c: Add a prototype for putDebugChar.
-
-Tue Jul 23 15:12:42 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * sparc/{sysc-701.c,crt0-701.S}: New files.
- * sparc/Makefile.in (all): Build them.
- ($(701_BSP),crt0-701.o): New targets.
- ($(CRT0),$(SIM_CRT0),dtor.o): Don't use $<, for sunos make.
- (all): Depend on $($(CPU)_ALL).
- (install): Use $(INSTALL_DATA), not $(INSTALL_PROGRAM).
- Depend on $($(CPU)_INSTALL).
- * sparc/configure.in (libgloss_topdir): Delete unnecessary $(srcdir).
- (AC_CONFIG_AUX_DIR): Call.
- (CPU): Define.
- * sparc/configure: Regenerated.
-
-Mon Jul 22 14:32:39 1996 Doug Evans <dje@canuck.cygnus.com>
-
- * config/{default.mt,mips.mt}: Don't use $<, for sunos make.
-
-Mon Jul 22 15:54:02 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * m68k/crt0.S (zerobss): Don't use dbra if __mcf5200__.
-
-Sun Jul 14 16:47:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * lseek.c (lseek): Don't use SET_ERRNO.
- * open.c (open): Ditto.
-
-Wed Jul 3 18:19:10 1996 Stu Grossman (grossman@critters.cygnus.com)
-
- * sparc/Makefile.in: Install ex930/931/934.ld files.
- * sparc/configure, sparc/configure.in: Use AC_CANONICAL_SYSTEM to
- define target_alias to make install work from this directory.
-
-Wed Jul 3 18:04:49 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * Makefile.in: Make sure we always have an argument to for. Make
- sure rootpre and srcrootpre are always set before using
- FLAGS_TO_PASS.
-
-Tue Jul 2 18:04:31 1996 J.T. Conklin <jtc@hippo.cygnus.com>
-
- * glue.h (SET_ERRNO): Removed.
- * sbrk.c, stat.c, unlink.c: Don't use SET_ERRNO.
-
-Mon Jul 1 14:24:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/Makefile.in: Add $(srcdir)/.. dependencies for all files
- in the toplevel.
-
-Sat Jun 29 23:26:39 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/cma101.c (DOSYNC): Explicitly select -mips2 for the
- assembly of the "sync" instruction.
- * mips/Makefile.in: Removed special cma101.o build. Seperate
- install.sh invocations for the BSP libraries.
-
-Sat Jun 29 08:17:52 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * doc/porting.texi (GNU remote protocol): Fix bad texinfo.
-
-Fri Jun 28 23:16:37 1996 Rob Savoye <rob@chinadoll>
-
- * sparc/traps.S: Don't use REGS macro, use % always.
- * sparc/Makefile.in: Add -nostdlib when building the test cases,
- as gcc keeps thinks it wants two crt0.o.
- * sparc/asm.h: Don't define the REGS macro, we'll use explicit
- register prefixes. Always define USER_LABEL_PREFIX cause gcc is
- broken, and I doubt it'll get fixed.
-
-Sat Jun 29 05:05:15 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/crt0.S (zerobss): Fix the stack-pointer calculation.
-
-Thu Jun 27 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/Makefile.in (vr4300.o): Pass -mips3 after $(ASFLAGS).
- (cma101.o): Pass -mips2 after $(CFLAGS).
-
-Tue Jun 25 22:48:15 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
-
- * Makefile.in (bindir, libdir): Use autoconf-set values.
- * configure: Rebuilt.
-
- * doc/Makefile.in (mandir, infodir): Use autoconf-set values.
- * doc/configure.in (AC_PREREQ): autoconf 2.5 or higher.
- * doc/configure: Rebuilt.
-
- * {a29k,hp74x,i960,m68k,mips,pa,rs6000,sparc,sparc/libsys}/Makefile.in
- (bindir, libdir): Use autoconf-set values.
- * {a29k,hp74x,i960,m68k,mips,pa,rs6000,sparc,sparc/libsys}/configure.in
- (AC_PREREQ): autoconf 2.5 or higher.
- * {a29k,hp74x,i960,m68k,mips,pa,rs6000,sparc,sparc/libsys}/configure:
- Rebuilt.
-
-Mon Jun 24 22:01:11 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * sparc/crt0.S: Set the stack to the upper part of memory. Execute
- hardware_init_hook and software_init_hook if they exist with a
- legit address. Drop into exit after main. Zero the bss section.
- * sparc/ex930.ld: PROVIDE hardware_init_hook and
- software_init_hook.
-
-Mon Jun 24 19:44:45 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/Makefile.in (cma101.o): Use -mips2 option when compiling.
-
-Wed Jun 19 13:57:36 1996 Rob Savoye <rob@darkstar.cygnus.com>
-
- * debug.[ch]: New files for GDB stub support.
- * config/default.mt: Add rules for debug.o.
- * config/default.mh: Add rule for building C++ source. Add $srcdir
- to INCLUDES so shared header files can be found.
-
- * sparc/salib.c(exceptionHandler): Range check the vector number
- so we get a legit %tbr value. Add wrappers so inbyte and outbyte
- work.
- * sparc/crt0.s: Handle cpus that don't have FP support.
- * sparc/Makefile.in: Add multilib support. Add variable for
- objcopy and objdump. Build the BSPs as archive libraries, not
- object files. Add support for the SIS sparc simulator. Build the
- test case srecords and dissasembly as seperate makefile
- targets. Also optionally build the C++ test case. Use a target
- makefile fragment.
- * sparc/configure.in: Add multilib support.
- * sparc/configure: Regenerated.
- * sparc/asm.h: Macros to deal with aout and coff formats portably.
- * sparc/slite.h: Sparclite specific stuff.
- * sparc/{sim-crt0.S,sim-stub.c,sim-io.c,sim.ld}: New support for
- the SIS sparc simulator.
- * sparc/traps.S: Generic trap handlers for SIS and ex93x targets.
- * sparc/tests.c: Test case for linking and GDB protocol.
-
-Tue Jun 18 20:06:16 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * pa/Makefile.in: Build the test case srecords and dissasembly
- as seperate makefile targets. Also optionally build the C++ test
- case.
- * pa/crt0.S: If __stack and __globals have a legit address, use
- that for %sp and %gp. Execute hardware_init_hook and
- software_init_hook if they exist with a legit address. Add
- __do_global_dtors() to the atexit array.
- * pa/{w89k,op50n}.ld: Use GROUP rather than INPUT to get the
- libraries. Allocate the stack and global spaces from the top of
- memory. PROVIDE hardware_init_hook and software_init_hook.
-
- * m68k/Makefile.in: Build the test case srecords and dissasembly
- as seperate makefile targets. Also optionally build the C++ test
- case.
- * m68k/asm.h: Don't define __USER_LABEL_PREFIX__ and
- __REGISTER_PREFIX__ ourselves since suprisingly gcc sets them
- correctly for a change.
- * m68k/{bcc,mvme135,mvme162,idp}.ld: Use the same crt0 rather than
- building seperate ones. PROVIDE hardware_init_hook and
- software_init_hook. Stick the Constructors and Destructors in
- .data cause they don't work in .text (which is where they should
- really be).
- * m68k/cpu32bug: Add a few more traps to support the older ABug
- monitor.
- * m68k/crt0.S: If __stack is isn't set, set the stack to the top
- of memory. Excecute hardware_init_hook and software_init_hook if
- they exist with a legit address. Add __do_global_dtors() to the
- atexit array.
-
- * rs6000/Makefile.in: Use the linker script to build the test
- case. Also build a C++ test case.
- * rs6000/dtor.C: Test contructors and destructors.
- * rs6000/{sim,mvme}.ld: New linkers scripts for the simulator and
- the mvme board.
- * rs6000/evm.ld: Provide hardware_init_hook and software_init_hook
- so we can test for them in the crt0.S.
- * rs6000/crto.S: Excecute hardware_init_hook and
- software_init_hook if they exist with a legit address.
-
-Mon Jun 17 18:39:17 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * mips/Makefile.in: Replace the "test" target with seperate
- targets for the dissasembled file, and the srecord.
- * mips/configure.in: Use a target makefile fragment.
- * mips/configure: Regenerate.
- * mips/idt.ld: Add a comment on producing srecords. Setup a space
- for the stack. PROVIDE hardware_init_hook and software_init_hook.
- * mips/crt0.S: Make a small stack. Run memsize() using the temp
- stack, and then set the stack to the top of memory. Also grab some
- space for the globals. Add __do_global_dtors() to the atexit
- array. Call _exit from newlib so the atexit array gets run, then
- exits.
-
-Thu Jun 13 15:44:46 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * mips/Makefile.in (vr4300.o): Use -mips3 option when assembling.
-
-Sat Jun 1 16:27:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
-
- * rs6000/simulator.S (open, close, lseek): Add system calls.
- * rs6000/Makefile.in (OBJS): Don't put open.o, close.o, lseek.o
- here.
- (SIM_OBJS): Put them here instead.
-
-Tue Apr 30 20:01:08 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * m68k/crt0.S: Don't allocate __stack in the .bss section.
- * m68k/{idp,mvme135,mvme162,bcc}.ld: Set __stack to a word below
- the top of memory. Use "-l" in GROUP rather than the full name so
- it'll get found using the path lookup in LD. Also link in libgcc
- too. Don't set __lstack anymore.
- * m68k/Makefile.in: Build test as a series of Makefile targets,
- rather than as a big loop.
-
-Thu Apr 25 08:38:15 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-stack.S: New file, define __stack.
- * rs6000/mvme-crt0.S (_start): If __stack is not 0, use that for
- the stack address.
-
-Thu Apr 25 06:42:02 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * rs6000/Makefile.in: Add support for multilib.
- * rs6000/configure.in: Ditto.
- * rs6000/configure: Regenerate.
-
-Wed Apr 24 11:02:33 1996 Doug Evans <dje@blues.cygnus.com>
-
- * sparc/libsys/Makefile.in (isatty.o): Add rule for SunOS VPATH.
-
-Fri Apr 19 13:23:31 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * {mips,a29k,pa}/configure.in: Add support for multilibs
- by using config-ml.in.
- * {mips,a29k,pa}/configure: Regenerate.
- * {mips,a29k,pa}/Makefile.in: Build archive libraries,
- not objects for the BSPs.
-
-Fri Apr 19 12:33:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/sol-crt0.c: Delete, file moved into gcc directory.
-
-Mon Apr 15 14:09:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/simulator.S: Call _cerror to save errno if an error
- occurred.
- * rs6000/sim-errno.c (_cerrno): New function to set errno.
-
-Thu Apr 11 14:19:01 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/sol-{crt0.c,syscall.S,cfuncs.c}: New files to support
- libgloss on PowerPC Solaris.
-
- * rs6000/Makefile.in: Add Solaris support.
-
-Tue Apr 16 17:43:06 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * Makefile.in: Don't do anything if SUBDIRS is empty.
-
-Mon Apr 15 15:37:52 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * configure.in, m68k/configure.in: Add support for multilibs by
- using config-ml.in.
- * m68k/crt0.S: If a value for __stack hasn't been specified,
- initialize %sp to some memory in .bss.
- * m68k/Makefile.in: Build archive libraries, not objects for the
- BSPs. Build multiple copies of the crt0.o, one for each target. Add
- support to build multilibs.
- * idp.ld, bcc.ld, mvme135.ld, mvme162.ld: Use GROUP to look for
- libc.a and the BSP rather than INPUT an object. Get the right
- crt0.o.
-
-Tue Apr 9 23:31:53 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * m68k/cpu32bug.S (getDebugChar): Use extw/extl rather than
- extbl, so it can be used on a 68000.
-
-Wed Mar 27 17:18:01 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/{mvme-exit,simulator}.S (_exit): Loop on a trap
- instruction following the _exit system call. This also makes sure
- that the debugger reports the address as being in _exit, rather
- than whatever function follows _exit.
-
-Fri Mar 15 12:30:02 1996 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * i960/{Makefile.in,asm.h,configure,configure.in,mon-read.c,
- mon-syscalls.S,mon-write.c}: Initial support for MON960.
- * configure.in: Add support for i960.
- * configure: Rebuild with autoconf 2.8.
-
-Fri Mar 8 18:12:52 1996 Ian Lance Taylor <ian@cygnus.com>
-
- * a29k/configure.in: Call AC_CONFIG_AUX_DIR.
- * a29k/configure: Rebuild with autoconf 2.7.
- * m68k/configure.in: Call AC_CONFIG_AUX_DIR before
- AC_CANONICAL_SYSTEM.
- * mips/configure.in, pa/configure.in: Likewise.
- * rs6000/configure.in: Likewise.
- * m68k/configure, mips/configure, pa/configure: Rebuild.
- * rs6000/configure: Rebuild.
-
-Fri Mar 8 08:11:14 1996 Doug Evans <dje@charmed.cygnus.com>
-
- * sparc/libsys/sbrk.S (curbrk): Moved from here,
- * sparc/libsys/cerror.S (curbrk): To here.
-
-Thu Mar 7 11:39:09 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/crt0.S (bssloop): Updated comment to reflect the source.
-
-Wed Mar 6 18:12:25 1996 Doug Evans <dje@charmed.cygnus.com>
-
- * configure.in (sparclet-*-aout*): Add entry.
- * configure: Regenerated.
- * sparc/libsys/{Makefile.in,configure.in,configure,isatty.c,
- libsys-crt0.S,sbrk.S,syscall.h,syscallasm.h,template.S,template_r.S}:
- New files.
-
-Fri Feb 23 22:21:07 1996 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * a29k: New dir for a29k-coff support for the AMSAT Phase-3D
- satellite. (doesn't use udi)
- * a29k/{29200-io.c,Makefile.in,configure,configure.in,README,crt0.s,
- p3dgps.ld,sa29200.ld,sa29200b.ld,test.c: New files for a29k
- support.
- * a29k/sys/{cpudef.h,intrinsi.h,macros.h,romdcl.h,sysmac.h,
- fpsymbol.h,libconfig.h,proreg.h,smartmac.h}: New files for a29k
- support.
- * configure.in: Add support for a29k.
- * configure: Rebuild.
-
-Thu Feb 22 13:32:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-read.c (read): New file, if large read, do a .INLN
- system call, instead of sucessive .INCHR system calls. Map \r on
- input to \n.
-
- * rs6000/mvme-inbyte.S: Add stub for new input system calls.
-
- * rs6000/Makefile.in (MVME_OBJS): Add mvme-read.o, delete read.o
-
-Wed Feb 21 16:45:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-print.c: New file, map write into sequences of
- .OUTLN/.OUTCHR/.PCRLF rather than just using .OUTCHR.
-
- * rs6000/mvme-outbyte.S: Add stubs for new output system calls.
-
- * rs6000/Makefile.in (MVME_OBJS): Add mvme-print.o, delete print.o
- and write.o.
-
-Thu Feb 15 11:37:02 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/{mipsidt,mipspmon}.ld: Added OUTPUT_ARCH definition.
- * mips/cma101.c (time): Added time() function.
-
-Tue Feb 13 10:36:07 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/vr4300.S (__cpu_flush): Fix loop counter.
-
-Tue Jan 30 15:41:19 1996 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/syscalls.c: Used include file, rather than local manifest
- definitions.
- * mips/crt0.S: Removed IDT monitor entry points.
- * mips/Makefile.in: Construct mipsidt and mipspmon BSP files.
- * mips/{cma101.c,idtmon.S,pmon.S,regs.S,vr4300.S}: Added.
- * mips/{mipspmon.ld}: Added.
-
-Sun Jan 28 08:01:31 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/configure.in (AC_INIT): Use sim-crt0.S, not crt0.s.
- * rs6000/configure: Regenerate.
-
-Wed Jan 24 14:26:01 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/{mvme,sim}-crt0.S (__atexit): Put the __atexit variable
- in the .sdata section, and provide a fixup for the address, in
- order to support the new -msdata compiler flag.
-
-Thu Jan 11 11:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/{mvme,sim}-crt0.S (__atexit): Provide address of atexit,
- so eabi-ctors in libgcc.a can know to register the function to
- call all of the destructors.
-
-Sat Dec 30 14:31:37 1995 Doug Evans <dje@canuck.cygnus.com>
-
- * configure.in (AC_CONFIG_AUX_DIR): Adjust to new build tree layout.
- * {doc,hp74x,m68k,mips,pa,rs6000,sparc}/configure.in
- (AC_CONFIG_AUX_DIR): Define
- * {,doc,hp74x,m68k,mips,pa,rs6000,sparc}/configure: Regenerated.
-
-Mon Dec 11 12:20:24 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * Makefile.in (FLAGS_TO_PASS): Add INSTALL, INSTALL_PROGRAM,
- and INSTALL_DATA.
-
-Fri Dec 1 16:54:15 1995 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/syscalls.c (sbrk): Fixed memory addressing. System call
- returns size, not (last address + 1).
-
-Thu Nov 16 13:47:57 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * config/default.mh: Don't define CC_FOR_TARGET, AS_FOR_TARGET,
- AR_FOR_TARGET, LD_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET,
- OBJDUMP_FOR_TARGET, or OBJCOPY_FOR_TARGET. Change the build rules
- to use CC, etc., instead of CC_FOR_TARGET, etc.
- * configure.in, */configure.in: Get values for CC, AS, AR, LD, and
- RANLIB. Always use default.mh.
- * Makefile.in (FLAGS_TO_PASS): Pass down LD.
- * Makefile.in, */Makefile.in: Let CC, AS, AR, LD, and RANLIB by
- substituted by the autoconf configure script. Use them instead of
- the *_FOR_TARGET variants.
- * hp74x/configure.in: Don't call AC_CANONICAL_SYSTEM.
- * m68k/configure.in: Call AC_ARG_PROGRAM.
- * mips/configure.in, pa/configure.in: Likewise.
- * rs6000/configure.in: Likewise.
- * m68k/Makefile.in: Set program_transform_name, OBJDUMP, and
- OBJCOPY.
- * mips/Makefile.in, pa/Makefile.in, rs6000/Makefile.in: Likewise.
- * mips/Makefile.in: Split new test target from all target.
- * configure, */configure: Rebuild.
-
-Tue Nov 14 12:04:36 1995 Angela Marie Thomas (angela@cygnus.com)
-
- * Makefile.in: Added prefix, exec-prefix and tooldir to
- FLAGS_TO_PASS so vaulting works correctly.
-
-Tue Nov 14 18:32:41 1995 James G. Smith <jsmith@cygnus.co.uk>
-
- * mips/mipsidt.ld: Added.
- * mips/syscalls.c: Added.
- * mips/crt0.S: Added FPU presence check, and entry points into IDT
- monitor.
- * mips/Makefile.in (all): Updated to build generic IDT monitor
- crt0.o file.
- * mips/test.c (main): Removed unnecessary prototypes.
- * configure.in (configdirs): Removed mips64vr4300 target.
- * configure: Re-generated.
- * config/default.mh (OBJDUMP_FOR_TARGET): Added missing parent
- directory path element.
- * mipsidt: Directory removed.
-
-Fri Nov 10 12:50:03 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * configure.in, */configure.in: Don't call AC_ARG_PROGRAM.
- * configure, */configure: Rebuild.
- * Makefile.in, */Makefile.in: Don't set program_transform_name.
-
-Wed Nov 8 16:19:31 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
-
- * configure.in (configdirs): Add mips*vr4300*-*-* target.
-
- * configure: Re-generated.
-
- * mipsidt/crt0.S: Check for FPU presence.
-
- * mipsidt/mipsidt.ld: Removed explicit crt0.o from link.
-
- * mipsidt/Makefile.in: Explicitly link against crt0.o file.
-
-Thu Nov 2 23:27:28 1995 Rob Savoye <rob@chinadoll.cygnus.com>
-
- * config/default.mh: Add additional "../" to path used to find
- comp-tools binaries in an object tree.
-
-Mon Oct 30 18:10:47 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-crt0.S (_start): Zero out bss before the the program
- starts.
-
-Tue Oct 24 10:07:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-{exit,outbyte,inbyte}.S: Use hex for the system
- calls, not decimal, since formatting the disk when you intend to
- write out a character is not nice.
-
-Mon Oct 23 22:17:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/mvme-crt0.S (_start): Bump sp by -4 before storing end of
- stack chain to avoid last word indebugger's memory.
-
- * rs6000/mvme-{exit,inbyte,outbyte}.S: System call number goes in
- r10, not r0.
-
-Mon Oct 23 17:57:23 1995 James G. Smith <jsmith@jaalfrezi.cygnus.co.uk>
-
- * mipsidt/Makefile.in: Removed the LDFLAGS_FOR_TARGET in the test
- program link.
-
- * mipsidt/crt0.S: Changed monitor entry sequence.
-
- * mipsidt/syscalls.c: Added local sbrk() function, derived from
- (libgloss/sbrk.c), but using the monitor routine to ascertain the
- amount of memory available.
-
-Mon Oct 23 11:58:04 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
-
- * mipsidt: Added (directory). This is a simple crt0 module for the
- IDT MIPS monitor. The existing "libgloss/mips" directory is for a
- specific R3000 board, so it was safer creating a new target
- directory.
- * mipsidt/Makefile.in: Added.
- * mipsidt/configure: Added.
- * mipsidt/configure.in: Added.
- * mipsidt/crt0.S: Added.
-
- * mipsidt/syscalls.c: Added.
- * mipsidt/test.c: Added.
-
- * configure (mips*vr4300*-*-*): Use new mipsidt target directory.
-
-Mon Oct 9 21:07:08 1995 Michael Meissner <meissner@cygnus.com>
-
- * rs6000/Makefile (all asm rules): Remove asm.h dependency.
- * rs6000/asm.h: File deleted, moved to gcc directory as ppc-asm.h.
- * rs6000/mvme-{crt0,exit,inbyte,outbyte}.S: Include ppc-asm.h, not
- asm.h.
- * rs6000/sim{-crt0,ulator}.S: Ditto.
-
- * rs6000/{mvme,sim}-crt0.S (_start): Don't use FUNC_START/FUNC_END
- for _start, since the linker needs to see this.
-
-Mon Oct 9 12:08:12 1995 Stu Grossman (grossman@cygnus.com)
-
- * sparc/sparc-stub.c: include sparclite.h to get access to register
- fondling macros.
- * (trap_low): Save and restore FP regs if necessary. Also, clean
- up save and restore of debug unit regs.
- * (hard_trap_info): Add more architecturally defined traps.
- * (set_debug_traps): Only set FP disabled trap if FP is disabled.
- * (get_in_break_mode): Clean up. Get rid of calls to
- set_hw_breakpoint_trap(). Also, use write_asi macro
- * (handle_exception): Clean up `g' and `G' commands. Add `P'
- command.
- * (hw_breakpoint): Why was this here!? It's gone now...
- * sparc/crt0.s: Speed up prom copy loop. Clean up window over/under
- flow setup. Call main instead of jumping to it.
- * sparc/salib.c (get_uart_status rcv_char flush_i_cache): Use new
- and improved read_asi macro.
- * (win_ovf win_unf): Parameterize window size.
- * sparclite.h (read_asi): Rewrite so that macro returns an rval.
- * (read_psr write_psr): New macros to do the obvious.
- * Add conditionalized code for 933 window size.
-
-Fri Oct 6 15:35:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/simulator.S (abort): Delete abort.
- * rs6000/sim-abort.c: New file, to print message that abort was
- called.
- * rs6000/Makefile.in (SIM_OBJS): Add sim-abort.o.
-
- * rs6000/asm.h (FUNC_NAME, FUNC_START, FUNC_END): New macros that
- give the start and end of a function written in assembler. If
- -mcall-aixdesc or -mcall-nt, create a function descriptor and name
- the real function with one or two leading periods.
-
- * rs6000/{simulator,sim-crt0}.S: Use new function macros.
- * rs6000/mvme-{crt0,exit,inbyte,outbyte}.S: Ditto.
-
- * rs6000/Makefile.in: Add asm.h as a dependent for all .S files.
- Compile the .S files with gcc, so that -mcall-* flags define the
- appropriate macros.
-
-Thu Sep 28 13:49:45 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * sparc/ex93x.ld: Remove crt0.o from INPUT; gcc will normally pass
- crt0.o anyhow. Add leading underscore to __CTOR_LIST__, et. al.
- * sparc/salib.c (__main): Comment out empty function.
-
-Wed Sep 20 14:36:12 1995 Ian Lance Taylor <ian@cygnus.com>
-
- * Makefile.in (maintainer-clean): New synonym for realclean.
- * hp74x/Makefile.in (maintainer-clean): Likewise.
- * m68k/Makefile.in (maintainer-clean): Likewise.
- * pa/Makefile.in (maintainer-clean): Likewise.
- * mips/Makefile.in (maintainer-clean): Likewise.
- * rs6000/Makefile.in (maintainer-clean): Likewise.
- * sparc/Makefile.in (maintainer-clean): Likewise.
- * doc/Makefile.in (maintainer-clean): Likewise.
- * testsuite/Makefile.in (maintainer-clean): Likewise.
- * testsuite/libgloss.all/Makefile.in (maintainer-clean): Likewise.
-
-Sat Sep 16 23:04:11 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/Makefile.in (all): Fix typo preventing simulator from
- being built.
-
-Tue Sep 12 10:43:41 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * rs6000/Makefile.in: Misc mvme support fixes.
-
- * rs6000/{mvme-exit.S, mvme-inbyte.S, mvme-outbyte.S}: Strip
- leading underscores from identifiers.
-
- * m68k/asm.h: New file, macro definitions helpful for assembly
- language programming.
- * m68k/{cpu32bug.S, crt0.S, mvme.S, mvme135-asm.S, mvme162lx-asm.S}:
- Use asm.h.
-
- * rs6000/{mvme-crt0.S, mvme-exit.S, mvme-inbyte.S, mvme-outbyte.S}:
- New files, preliminary support for motorola mvme targets running
- the ppcbug monitor.
- * rs6000/Makefile.in: Build mvme support.
-
- * rs6000/asm.h: New file, macro definitions helpful for assembly
- language programming.
- * rs6000/{sim-crt0.S, simulator.S}: Use asm.h.
-
-Fri Sep 8 18:51:29 1995 Michael Meissner <meissner@wogglebug.tiac.net>
-
- * rs6000/sim-sbrk.c (sbrk): Add cast to silence warning.
-
-Fri Sep 8 13:03:12 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
-
- * m68k/idp-inbyte.c (READREG): Add volatile to the cast, to avoid
- reordered insns that can end up being an infinite loop.
- * m68k/idp-outbyte.c (READREG): Likewise.
-
-Wed Sep 6 10:01:33 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/sim-sbrk.c (sbrk): Use the brk system call, instead of
- using a large static area for the break area.
-
-Thu Aug 24 14:57:28 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/Makefile.in (install*): Add separate installation rules
- for sim and evm targets.
-
-Wed Aug 23 16:49:02 1995 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * rs6000/sim*: Add PowerPC simulator support.
-
-Tue Aug 22 11:52:40 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * pa/hp-milli.s: Add entry/exit pseudo-ops around all exported
- code. Fix callinfo directives to include "millicode" attribute.
-
- * pa/hp-milli.s (divU): Fix bug found by arith-rand1.c testing.
-
-Mon Aug 21 23:31:42 1995 Jeff Law (law@snake.cs.utah.edu)
-
- * pa/crt0.S ($START$): Use local label prefix for local label
- "bssloop".
-
-Mon Aug 14 11:57:46 1995 Kung Hsu <kung@mexican.cygnus.com>
-
- * ex93x/sparclite.h: add __WINSIZE.
- * ex93x/salib.c: Use __WINSIZE, implements write with $O command of
- stub protocol.
-
-Thu Aug 3 14:40:12 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * Makefile.in: Updated to reflect filename changes.
-
- * m68k/mc68681-duart.h: Renamed to m68681reg.h.
- * m68k/mc68681-duart.c: Split up and renamed to idp-inbyte.c and
- idp-outbyte.c
-
-Fri Jul 28 11:23:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/mc68681-duart.h: Removed everything except register offsets.
- Changed offsets so they reflect actual chip instead of how device
- is mapped into the IDP address space.
- * m68k/mc68681-duart.c (DUART_ADDR): New macro, base address.
- (READREG, WRITEREG): Changed to correspond to unusual way the
- device is mapped (ie. base address + (reg offset * 4) + 3)).
- (duart_status, duart_mode, duart_init, duart_restore): Removed,
- these interfaces were never used and didn't work.
- (outbyte): Removed unconditional delay.
-
- * m68k/crt0.S: Use SYM(_end) instead of end. This completes my
- change of April 18th which makes the "_end" symbol compatible
- with both a.out and coff toolchains.
- (zerobss): Handle zero-length bss.
-
-Thu Jul 27 15:35:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * configure, {doc, hp74x, m68k, mips, pa, sparc}/configure:
- regenerated with autoconf 2.4.2.
-
-Wed Jul 26 13:42:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * doc/porting.texi: Fix typos and spelling errors.
-
-Mon Jun 26 09:23:23 1995 Jeffrey A. Law <law@rtl.cygnus.com>
-
- * pa/Makefile.in: Enable HP supplied millicode routines.
- * pa/hp-milli.s: Make sure copyright notice gets included
- in objects files.
-
- * pa/crt0.S ($START$): Use "%" instead of "'" to avoid losing whe
- run through cpp.
-
-Fri Jun 16 18:40:22 1995 Jeffrey A. Law <law@rtl.cygnus.com>
-
- * pa/crt0.S ($START$): Use long-calls to call main and exit.
-
-Tue Jun 13 16:05:13 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * pa/crt0.S: Call exit() after returning from main.
-
-Tue Jun 13 10:43:14 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * Makefile.in, {doc, hp74x, m68k, mips, pa, sparc}/Makefile.in
- (distclean, realclean): Remove autoconf-generated config.cache
- and config.log files.
-
-Mon Jun 5 15:56:22 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * config/{default.mh, dos.mh} (CFLAGS_FOR_TARGET): Added -O2.
- (.c.o, .s.o, .S.o, etc.): Don't use @ to hide how the compiler
- is invoked, it makes it much more difficult to debug.
-
-Tue May 30 19:07:59 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * testsuite/libgloss.all/math.c: Add additional tests for modulo.
-
-Mon May 29 13:03:39 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * stat.c: Add const so it works with newlib's stat.h.
-
-Thu May 25 16:28:42 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * m68k/mvme.S: Extend sign using two instructions rather than one
- so it'll work on a stock mc68000.
-
-Tue May 23 18:12:19 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * close.c, stat.c, fstat.c, open.c, lseek.c, print.c, putnum.c,
- unlink.c read.c, sbrk.c, getpid.x, kill.c: New files that used to
- be glue.c.
- * {m68k,pa,mips}/Makefile.in: Build using broken up glue.c.
- * pa/Makefile.in: Make all just build BSP, add seperate test
- target.
- * most files: add Cygnus BSD-style copyright message.
-
-Tue May 23 12:58:03 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * configure.in, {hp74x, m68k, mips, pa, sparc}/configure.in:
- Use changequote() to temporarily turn off m4 quoting so that
- i[345]86-*-go32 pattern in case statement remains unchanged.
- * configure, {hp74x, m68k, mips, pa, sparc}/configure:
- regenerated.
-
-Tue May 23 11:15:52 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
-
- * mips/Makefile.in (SCRIPT): added "SCRIPT = array.ld" so installs
- work correctly.
-
-Mon May 22 21:33:49 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * ex93x: renamed to sparc.
- * r3000: renamed to mips.
- * hppro: renamed to pa.
- * configure.in, configure: Use new directory names.
- * config/default.mh: Remove '' in sed program_transform_name so
- it actually works.
- * doc/porting.texi: update doc.
-
-Wed May 17 17:25:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * doc/configure.in: converted to autoconf.
- * doc/configure: New file, generated with autoconf 2.3.
-
- * Makefile.in, config/{ex93x, hp74x, hppro, m68k,
- r3000}/Makefile.in (Makefile.in): Added config.status to
- dependency list.
- (config.status): New target.
-
- * m68k/Makefile.in: Build M68332BCC BSP.
-
-Wed May 10 18:43:21 1995 Stu Grossman (grossman@andros.cygnus.com)
-
- * glue.c: Change decl of end to char[] for some reason.
- * (sbrk): Rewrite sbrk so that it works.
- * (fstat): Return status indicating fd is for a tty. Makes stdio
- work better.
- * hppro/crt0.S (_sr4export): Retrieve rp from -24(sp), not
- -18(sp). Note that -24 decimal == -18 hex...
- * hppro/op50n-io.S: Add read and write interfaces to the rom
- monitor. Unfortunately, the monitor doesn't seem to work...
- * hppro/op50n.ld: Clean up lots of stuff. Define memory in a
- nice way. Define stack and reserve space. Put heap after stack.
-
-Thu May 4 10:28:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * configure.in (AC_PREREQ): Changed to 2.3, since autoconf
- versions prior to this generate code that AIX 4.X's sh can't
- hack.
-
- * m68k/Makefile.in (BCC_BSP, BCC_OBJS): New BSP for M68332BCC.
- * m68k/cpu32bug.S: New file, support for cpu32bug monitor used by
- bcc.
- * m68k/bcc.ld: Link with bcc.o
-
-Fri Apr 21 16:17:17 1995 Torbjorn Granlund <tege@rtl.cygnus.com>
-
- * hppro/{milli.S,divide.S,divI.S,divU.S,multiply.S,test-div.c,
- test-dyncall.c,test-mul.c,remI.S,remU.S,dyncall.S}: Delete.
- * hppro/divcnst-generic/*: Delete.
- * hppro/divcnst-fast/*: Delete.
- * hppro/Makefile.in: Delete junk.
-
-Tue Apr 18 11:22:47 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/{bcc.ld idp.ld, mvme135.ld, mvme162lx.ld}: Removed stack
- section, moved __stack definition to the top level and set it
- explicitly to the value appropriate to the target board.
- Added __end symbol (needed for a.out toolchains).
-
-Mon Apr 17 12:48:48 1995 Stu Grossman (grossman@andros.cygnus.com)
-
- * hppro/w89k.ld: Move _stack to before `end' and `_end' so that
- malloc doesn't trash the stack.
- * hppro/w89k-io.c (outbyte): Make this be void, and remove return
- value, which is useless anyway.
-
-Mon Apr 17 06:13:55 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/bcc.ld: New file, linker script for M68332BCC Business Card
- Computer.
- * m68k/Makefile.in: Install BCC linker script.
-
- * Makefile.in: Fixed typo.
-
- * hppro/configure.in: Changed AC_INIT file from crt0.s to crt0.S.
- * hppro/configure: regenerated.
-
-Mon Apr 17 00:02:15 1995 Stu Grossman (grossman@andros.cygnus.com)
-
- * hppro/op50n.ld: Define _stack explicitly instead of implicitly
- via common.
- * hppro/{w89k-io.c w89k.h}: Use pointers to volatile for inp and
- outp. Use correct port numbers for COM1 serial port.
-
-Fri Apr 14 16:56:35 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * m68k/mc68ec.c (_exit): Use extended asm construct to get the
- proper immediate-operand syntax for whatever the target assembler
- configuration is.
- * m68k/mvme.S (__IMMEDIATE_PREFIX__, IMM): Copy and use macro
- definitions as in m68k/crt0.S.
-
-Thu Apr 13 16:48:46 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
-
- * Makefile.in: fixed clean rules such that they do not try to
- clean ${SUBDIRS} if libgloss not supported on that target.
-
-Thu Apr 13 13:39:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * configure.in: Append new subdirectories to ${configdirs}.
- (go32-*-*): Removed.
- * configure: Regenerated.
-
- * m68k/mvme162lx.ld: Put __stack in ram, even though it's not
- loaded.
-
- * m68k/Makefile.in: Don't hide how BSP objects are built.
-
- * glue.c (print, putnum): declared void.
-
- * {hppro,m68k}/Makefile.in: Use ${CC_FOR_TARGET} to link executables.
- (LIBS_FOR_TARGET): Removed.
-
- * config/{default.mh, dos.mh} (NEWLIB_CFLAGS, NEWLIB_LDFLAGS): New
- make variables, expands to compiler flags to find headers and
- libraries if ${objroot}/newlib is present.
- (CFLAGS_FOR_TARGET): Added ${NEWLIB_CFLAGS}.
- (LDFLAGS_FOR_TARGET): Added ${NEWLIB_LDFLAGS}.
- (LIBC_FOR_TARGET, LIBM_FOR_TARGET, LIBGCC_FOR_TARGET,
- LIBS_FOR_TARGET): Removed.
-
-Thu Apr 13 11:51:17 1995 Torbjorn Granlund <tege@adder.cygnus.com>
-
- * m68k/Makefile.in (install): Use correct names for MVME* variables.
- * configure.in: Delete `unknown' from m68* case.
-
-Thu Apr 13 11:47:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/crt0.S: initialize stack pointer to __stack before creating
- inital stack frame.
-
- * m68k/{idp.ld, mvme135.ld, mvme162lx.ld}: Move __stack out of
- bss, and into its own segment with an address at top of RAM.
-
-Wed Apr 12 12:36:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * {.,ex93x,hp74x,hppro,m68k,r3000}/{Makefile,configure}.in:
- converted to autoconf.
- * {.,ex93x,hp74x,hppro,m68k,r3000}/configure: New files, generated
- from configure.in with autoconf 2.3.
-
-Mon Apr 10 22:50:48 1995 J.T. Conklin (jtc@rtl.cygnus.com)
-
- * m68k/{idp.ld, mvme135.ld, mvme162lx.ld}: Revert last change,
- CONSTRUCTING and RELOCATING only work for linker scripts built
- from ld/scripttmpl/*.
-
- * m68k/{idp.ld, mvme135.ld, mvme162lx.ld}: Changed to use
- CONSTRUCTING and RELOCATING expressions so that the ctor/dtor
- tables and etext, edata, and end variables are only done when
- appropriate.
-
-Fri Apr 7 17:30:35 1995 Stu Grossman (grossman@andros.cygnus.com)
-
- * config/default.mh: Use $${srcroot} instead of ${SRCROOT} to get
- inherited value.
- * hppro/crt0.S: Remove static definitions of _stack and $global$.
- Let the linker script define them in the BSS segment.
- * hppro/w89k.ld: Use MEMORY to define memory regions. Add defs
- for $global$ and _stack in the appropriate segments.
-
-Tue Apr 4 18:27:37 1995 Jason Molenda (phydeaux@cygnus.com)
-
- * Makefile.in (FLAGS_TO_PASS): pass down MAKEINFO.
-
-Thu Mar 30 18:10:53 1995 Kung Hsu <kung@mexican.cygnus.com>
-
- * ex93x/ex93x.ld: Add crt0.o in INPUT.
- * ex93x/sparcl-stub.c: Add nop after bg insn.
- * ex93x/sparc-stub.c: Add & 0x7f mask to all character input.
-
-Thu Mar 30 15:22:31 1995 Rob Savoye <rob@rtl.cygnus.com>
-
- * {hppro,m68k,ex93x,testsuite/libgloss}/configure.in: Add SRCROOT
- variable.
- * {hppro,m68k,ex93x,testsuite/libgloss}/Makefile.in: Add SRCROOT
- variable.
- * config/default.mh: Use SRCROOT to find the newlib includes.
-
-Tue Mar 28 19:54:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * configure.in, testsuite/configure.in: Add SRCROOT variable.
- * glue.c: Change "char *path" to "const char *path" so it works
- with the changes stat.h.
-
-Fri Mar 24 17:29:08 1995 Kung Hsu <kung@mexican.cygnus.com>
-
- * ex93x/ex93x.ld: The stubs module now can have different names for
- different SPARClite chips. Use default one which is slite930.o.
-
-Mon Mar 20 15:49:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
-
- * m68k/mc68ec.c (_exit): Changed to take integer status argument.
-
-Fri Mar 17 17:48:42 1995 Kung Hsu <kung@mexican.cygnus.com>
-
- * config/default.h: add -I. to INCLUDES.
- * ex93x/salib.c: to include sparclite.h.
- * ex93x/sparclite.h: new file copied from gdb/sparclite.
-
- * config/default.mh: Fix INCLUDES to one level less '../'.
-
-Mon Mar 13 17:05:35 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * testsuite/libgloss.all/misc.c: Misc bug reports, mostly
- soft-float tests.
-
-Wed Mar 8 19:00:18 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * m68k/{crt0.S, mvem135.ld, mvme162lx.ld, idp.ld}: Setup the stack
- in the linker script. Use a macro to cover using '#' or '&' for
- immediate values.
- * m68k/{mvme135-asm.S, mvme162lx-asm.S}: Use a macro to cover
- using '#' or '&' for immediate values.
- * testsuite/libgloss.all/io.c: Add a test for read().
-
-Thu Feb 16 21:13:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * glue.c: Make use _ansi.h, move to top level libgloss directory
- form all other directories.
- * Makefile.in: All Makefiles had SCRIPTS and OBJROOT added.
- * {m68k,hppro,r3000)/Makefile.in: All build the test the same way
- using OBJROOT.
- * configure.in: All configure.in now edit the value to OBJROOT in
- the Makefiles they produce.
- * config/default.mh: Use OBJROOT for paths to test for fresh
- binaries.
- * configure.in: Add the testsuite directory.
- * testsuite/config/{m68k.mt,mips.mt}: New target support for
- MVME135, IDP, and Array targets.
-
-Thu Feb 9 21:45:33 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * testsuite/libgloss.all{varargs.c,varargs2.c}: Test cases for
- traditional and ANSI varargs. (which currently fail)
- * Makefile.in: Build intelligently and use dependancies so we
- don't rebuild the world for each test run.
- * configure.in: Make a .gdbinit file to run the tests and load via
- gdb.
-
-Wed Mar 8 22:35:29 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * m68k/idp.ld: Omit STARTUP line, since crt0.o is being supplied
- by gcc.
-
-Thu Feb 23 12:08:19 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
-
- * m68k/crt0.S: Use '&' instead of '#' for immediate operands.
- * m68k/mc68ec.c: Ditto, in asm statements.
- * m68k/mvme.S: Ditto.
-
-Wed Feb 1 23:55:39 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
-
- * Makefile.in (all): added "else" statements for Ultrix to work
-
-Fri Jan 27 10:48:20 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * testuite/{config,lib,libgloss.all}: DejaGnu testing support.
- * testsuite/config/support.c: A minimal testing API for minimal
- targets.
- * testsuite/config/hppa.mt: Set build flags for PRO targets.
- * libgloss.all/{float.c,memory.c,io.c,double.c,math.c,array.c}:
- Test cases for libgloss and soft-float.
-
- * hppro/{w89k.ld,op50n.ld}: Set .text here now.
-
-Wed Jan 25 21:16:38 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * testsuite/{config,lib,libgloss.all}: The beginnings of a test
- suite for low level stuff. A few test cases now all build.
-
-Thu Jan 12 13:02:12 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * config/default.mh: Change default path for linking in a freshly
- built libc.a, libm.a, libgcc.a to work with -msift-float.
-
- * hppro/Makefile.in: Set MULTILIB so the -msoft-float safe
- libraries get used.
-
- * m68k/Makefile.in: Use explicit rules, rather than redefining
- .c.o. This is to force compiling with -m68000.
-
-Mon Jan 9 15:28:10 1995 Rob Savoye <rob@darkstar.cygnus.com>
-
- * {hppro,m68k,r3000}/glue.c: Return correct value on receiving a
- '\n' or '\r'.
-
-Fri Dec 30 15:05:03 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * doc, doc/Makefile.in, configure.in: New directory.
- * doc/porting.texi: New manual that explains porting the GNU tools
- to embedded systems.
-
-Mon Dec 19 16:05:37 1994 Kung Hsu <kung@mexican.cygnus.com>
-
- * ex93x/Makefile.in: Use sparcl-stub.c instaed of sparc-stub.c,
- which has hardware breakpoint support.
- * ex93x/Makefile.in: Also generate slite930.o and slite931.o, instead
- slite.o.
- * ex93x/sparcl-stub.c: New file.
- * ex93x/sparc-stub.c: Use latest from gdb/sparclite directory.
-
-Fri Dec 16 15:17:14 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * r3000/crt0.S: Zero the bss section by words.
-
- * r3000/Makefile.in: Add in the rest of the support code for the
- Array Tech board.
-
- * r3000/array.ld: Set the memory map for the Array Tech LSI
- prototype.
-
- * r3000/array-io.c: Lowest level I/O code for Array Tech LSI
- prototype using ROM entry points.
-
-Wed Dec 14 10:23:41 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * hppro/crt0.S: Add _sr4export function so GDB calls work.
-
- * hppro/Makefile.in: Link in libc.a twice so atexit works().
-
- * hppro/glue.c: Don't stub out __main anymore.
-
-Tue Dec 13 15:42:23 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * r3000/Makefile.in: Look for both libgcc2 and libgcc.
-
- * r3000/glue.c,crt0.S,test.c: New support for for mips.
-
- * configure.in: Configure r3000 dir for a mips chip.
-
-Tue Dec 6 15:24:41 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * hppro/divcnst-generic/*.S. Add .exit and .procend so it'll
- compile.
-
- * hppro/Makefile.in: Link in the rest of the millicode routines.
-
-Mon Nov 21 20:21:48 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * hppro/configure.in,config/dos.mh: Work for a canadian cross,
- since xgcc is for the wrong architecture.
-
-Thu Nov 17 21:07:52 1994 Rob Savoye <rob@darkstar.cygnus.com>
-
- * config/default.mh: Find the corrrect libgcc2.a.
-
- * Makefile.in: Link in libgcc2.a by default. Build new millicode
- routines.
-
- * divI.S, divU.S, multiply.S, remI.S, remU.S, test-div.c,
- test-dyncall.c, test-mul.c: New millicode files for low level math
- support.
-
- * test.c: Use printf so millicode gets exercised.
-
- * divcnst-fast/divU_10.S, divU_12.S, divU_3.S, divU_5.S, divU_6.S,
- divU_9.S: Fast versions of some division routines.
-
- * divcnst-generic/divI_14.S, divI_5.S, divI_9.S, divU_14.S
- divU_5.S, divU_9.S divI_10.S, divI_15.S, divI_6.S, divU_10.S,
- divU_15.S, divU_6.S divI_12.S, divI_3.S, divI_7.S, divU_12.S,
- divU_3.S, divU_7.S: Yet more millicode routines.
-
-Wed Nov 16 15:25:03 1994 Rob Savoye (rob@cygnus.com)
-
- * config/default.mh: Add default searches for the correct libc and
- libm.
-
- * Makefile.in: Use ${LIBC_FOR_TARGET} and ${LIBM_FOR_TARGET}
-
- * hppro/w89k.ld,op50n.ld,Makefile.in: Don't try to link in libc
- for the test program.
-
-Tue Nov 8 17:12:35 1994 Rob Savoye <rob@rtl.cygnus.com>
-
- * m68k/glue.c: Remove errno so there's no libc dependancies.
-
- * m68k/mvme135-asm.S: Moved setup_vectors and exceptionHandler
- from mvme.S so the library can link without the stub.
-
- * m68k: New directory. Merge the idp, shared, and mvme135
- directories into one place.
-
- * config/default.mh: Use CC_FOR_TARGET for .S files so the
- preprocessor actually gets run.
-
- * ex93x/crt0.s, ex93x/salib.c: Migrate changes from gdb/sparclite.
-
-Fri Sep 16 21:22:57 1994 Rob Savoye (rob@darkstar.cygnus.com)
-
- * shared, idp, mvme135: Support for Motorola IDP and MVME135 m68k
- based target boards. Moved from newlib/stub.
-
- * ex93x: Move from newlib/stub/ex93x. Sparclite ex93x
- board support.
-
- * hp74x, hppro: Add HP 742 & hp743 code "as is" with a working but
- unfinished gdb stub. Add hppro for the WinBind and Oki Pa target
- boards.
-
- * libgloss: Creation. A library for board support packages. The
- Gnu low-level OS Support. Move mvme135/ChangeLog to here.
-
-Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
-
- * mvme135/crt0.S, mvme135/glue.c: Moved to ../shared.
-
-Thu Apr 1 13:18:15 1993 Ian Lance Taylor (ian@cygnus.com)
-
- * mvme135/mvme.S: Renamed exceptionhandler to exceptionHandler, which is
- what mvme135-stub.c expects.
-
-Tue Mar 30 18:44:43 1993 Doug Evans (dje@poseidon.cygnus.com)
-
- * mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove reference to
- __STDC__.
-
-Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
-
- * mvme135/mvme135-asm.S: new file.
- mvme135-stub.c: moved all assembler routines into mvme135-asm.S.
- Makefile.in: build mvme135-stub.o.
-
- * ChangeLog: created.
diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in
deleted file mode 100644
index 4528d58..0000000
--- a/libgloss/Makefile.in
+++ /dev/null
@@ -1,192 +0,0 @@
-# Top level makefile for libgloss
-#
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-TOP = .
-SRCTOP = .
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-
-SUBDIRS = @subdirs@
-
-.NOEXPORT:
-MAKEOVERRIDES=
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-# These are roughly topologically sorted in order to make porting more
-# streamlined.
-FLAGS_TO_PASS = \
- "CC=$(CC)" \
- "CFLAGS=$(CFLAGS)" \
- "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
- "CCASFLAGS=$(CCASFLAGS)" \
- "AR=$(AR)" \
- "RANLIB=$(RANLIB)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "MAKEINFO=$(MAKEINFO)" \
- "AS=$(AS)" \
- "LD=$(LD)" \
- "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
- "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
- "exec_prefix=$(exec_prefix)" \
- "prefix=$(prefix)" \
- "tooldir=$(tooldir)" \
- "infodir=$(infodir)" \
- "libdir=$(libdir)" \
- "top_toollibdir=$(toollibdir)" \
- "INSTALL=$(INSTALL)" \
- "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
- "INSTALL_DATA=$(INSTALL_DATA)" \
- "DESTDIR=$(DESTDIR)"
-
-all: stmp-bsp force
- +@rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
-
-stmp-bsp: force
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit $$?; \
- else true; fi; \
- else true; fi; \
- done
-
-install: force
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit $$?; \
- else true; fi; \
- else true; fi; \
- done
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
-
-test: force
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) test); \
- else true; fi; \
- else true; fi; \
- done
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=test
-
-clean-here:
- -rm -f *~ core *.o a.out xgdb *.x
-
-clean mostlyclean: clean-here
- rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
- $(MULTICLEAN) multi-clean DO=$@
-
-distclean maintainer-clean realclean: clean-here
- -rm -f Makefile config.cache config.log config.status
- -rm -f *-init.exp site.*
- -rm -fr *.log summary detail *.sum
- rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
- $(MULTICLEAN) multi-clean DO=$@
-
-.PHONY: info install-info clean-info html pdf
-subdir_do:
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for i in .. $(DODIRS); do \
- if [ x$$i != x.. ]; then \
- if [ -f ./$$i/Makefile ]; then \
- if (cd ./$$i; $(MAKE) $(FLAGS_TO_PASS) $(DO)); then \
- true; \
- else \
- exit 1; \
- fi; \
- else true; fi; \
- else true; fi; \
- done
-
-info dvi html pdf docs:
- rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
-
-install-info:
- rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- $(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
-
-clean-info:
-
-force:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/README b/libgloss/README
deleted file mode 100644
index e2a420fd..0000000
--- a/libgloss/README
+++ /dev/null
@@ -1,10 +0,0 @@
-bfin - Analog Devices Blackfin processor.
-sparc - Fujitsu Sparclite board. Works on the ex930, ex931, ex933
-hp74x - Hewlett Packard HP742 board. Also some support for the hp743.
-m68hc11 - Motorola 68HC11 or 68HC12 support.
-m68k - Motorola MVME135 and IDP board. For CPU32 systems.
-mep - Toshiba Media Processor.
-pa - WinBond and Oki boards with a PA.
-mips - R3000 support. Array Tech LSI33k based RAID disk controller.
-lm32 - Lattice Mico32 simulator.
-epiphany - Adapteva Epiphany multicore processor. \ No newline at end of file
diff --git a/libgloss/aarch64/Makefile.in b/libgloss/aarch64/Makefile.in
deleted file mode 100644
index 3c8a9fd..0000000
--- a/libgloss/aarch64/Makefile.in
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright (c) 2012 ARM Ltd. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. The name of the company may not be used to endorse or promote
-# products derived from this software without specific prior written
-# permission.
-#
-# THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-objtype = @objtype@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-SUBDIRS = @subdirs@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = ftruncate.o libcfunc.o syscalls.o truncate.o _exit.o _kill.o
-CRT0 = crt0.o
-CRT0_INSTALL = install-crt0
-
-CRT0_INSTALL = install-crt0
-RDIMON_CRT0 = rdimon-crt0.o
-RDIMON_BSP = librdimon.a
-RDIMON_OBJS = $(patsubst %,rdimon-%,$(OBJS))
-RDIMON_SCRIPTS = rdimon.specs aem-ve.specs aem-validation.specs
-RDIMON_INSTALL = install-rdimon
-
-CFLAGS = -g
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${CRT0} ${RDIMON_CRT0} ${RDIMON_BSP} ${RDIMON_SCRIPTS}
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
- else true; fi; \
- else true; fi; \
- done
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test:
-
-#
-crt0.o: crt0.S
-
-rdimon-crt0.o: crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-#rdimon-trap.o: trap.S
-# $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-_exit.o: _exit.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-ftruncate.o: ftruncate.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-_kill.o: _kill.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-libcfunc.o: libcfunc.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-syscalls.o: syscalls.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-truncate.o: truncate.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-$(RDIMON_BSP): $(RDIMON_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) ${RDIMON_SCRIPTS}
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) clean); \
- else true; fi; \
- else true; fi; \
- done
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${CRT0_INSTALL} ${RDIMON_INSTALL}
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
- else true; fi; \
- else true; fi; \
- done
-
-install-crt0:
- ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
-
-install-rdimon:
- set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-# Make copies of the scripts to facilitate in-tree bootstrapping.
-${RDIMON_SCRIPTS}: %: ${objtype}%
- cp $< $@
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/aarch64/_exit.c b/libgloss/aarch64/_exit.c
deleted file mode 100644
index a4f9d9e..0000000
--- a/libgloss/aarch64/_exit.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <_ansi.h>
-#include "svc.h"
-
-void _exit _PARAMS ((int));
-
-__attribute__ ((noreturn)) void
-_exit (int status)
-{
- while (1)
- {
- param_block_t block[2];
- block[0] = ADP_Stopped_ApplicationExit;
- block[1] = status;
- do_AngelSVC (AngelSVC_Reason_ReportException, block);
- }
-}
diff --git a/libgloss/aarch64/_kill.c b/libgloss/aarch64/_kill.c
deleted file mode 100644
index af33f07..0000000
--- a/libgloss/aarch64/_kill.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <_ansi.h>
-#include <signal.h>
-#include <errno.h>
-#include "svc.h"
-
-int _kill _PARAMS ((int, int));
-
-int
-_kill (int pid, int sig)
-{
- param_block_t block[2];
-
- if (pid == 0)
- return 0;
- if (pid != 1 && pid != -1)
- {
- errno = ESRCH;
- return -1;
- }
-
- block[0] = ADP_Stopped_RunTimeError;
- block[1] = sig;
- return do_AngelSVC (AngelSVC_Reason_ReportException, block);
-}
diff --git a/libgloss/aarch64/aclocal.m4 b/libgloss/aarch64/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/aarch64/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/aarch64/configure b/libgloss/aarch64/configure
deleted file mode 100755
index b45256f..0000000
--- a/libgloss/aarch64/configure
+++ /dev/null
@@ -1,4033 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-enable_option_checking=no
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-subdirs
-host_makefile_frag_path
-objtype
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-ac_subdirs_all='cpu-init'
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case "${target}" in
- *-*-elf)
- objtype=elf-
- ;;
-esac
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-# Configure cpu init plug-ins
-if test -d "${srcdir}/cpu-init"; then
- subdirs="${subdirs} cpu-init"
-
-
-subdirs="$subdirs cpu-init"
-
-
-fi
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-
-#
-# CONFIG_SUBDIRS section.
-#
-if test "$no_recursion" != yes; then
-
- # Remove --cache-file, --srcdir, and --disable-option-checking arguments
- # so they do not pile up.
- ac_sub_configure_args=
- ac_prev=
- eval "set x $ac_configure_args"
- shift
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
- --disable-option-checking)
- ;;
- *)
- case $ac_arg in
- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
- esac
- done
-
- # Always prepend --prefix to ensure using the same prefix
- # in subdir configurations.
- ac_arg="--prefix=$prefix"
- case $ac_arg in
- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
-
- # Pass --silent
- if test "$silent" = yes; then
- ac_sub_configure_args="--silent $ac_sub_configure_args"
- fi
-
- # Always prepend --disable-option-checking to silence warnings, since
- # different subdirs can have different --enable and --with options.
- ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
-
- ac_popdir=`pwd`
- for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d "$srcdir/$ac_dir" || continue
-
- ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
- $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
- $as_echo "$ac_msg" >&6
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- cd "$ac_dir"
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- ac_sub_configure=$ac_srcdir/configure.gnu
- elif test -f "$ac_srcdir/configure"; then
- ac_sub_configure=$ac_srcdir/configure
- elif test -f "$ac_srcdir/configure.in"; then
- # This should be Cygnus configure.
- ac_sub_configure=$ac_aux_dir/configure
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
-$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
- # Make the cache file name correct relative to the subdirectory.
- case $cache_file in
- [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
- *) # Relative name.
- ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
- esac
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
-$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
- # The eval makes quoting arguments work.
- eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
- --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
- as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
- fi
-
- cd "$ac_popdir"
- done
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/aarch64/configure.in b/libgloss/aarch64/configure.in
deleted file mode 100644
index 73d11b5..0000000
--- a/libgloss/aarch64/configure.in
+++ /dev/null
@@ -1,65 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case "${target}" in
- *-*-elf)
- objtype=elf-
- ;;
-esac
-
-AC_SUBST(objtype)
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-# Configure cpu init plug-ins
-if test -d "${srcdir}/cpu-init"; then
- subdirs="${subdirs} cpu-init"
- AC_CONFIG_SUBDIRS(cpu-init)
- AC_SUBST(subdirs)
-fi
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/aarch64/cpu-init/Makefile.in b/libgloss/aarch64/cpu-init/Makefile.in
deleted file mode 100644
index 08aa176..0000000
--- a/libgloss/aarch64/cpu-init/Makefile.in
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright (c) 2012 ARM Ltd. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. The name of the company may not be used to endorse or promote
-# products derived from this software without specific prior written
-# permission.
-#
-# THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/.. @srcdir@/../..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../../..
-objroot = $(objdir)/../../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-CPU_INIT_OBJS = rdimon-aem-el3.o
-CPU_INIT_INSTALL = install-cpu-init
-
-CFLAGS = -g
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-.PHONY: all
-all: ${CPU_INIT_OBJS}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test:
-
-# Static pattern rule for assembling cpu init files to object files.
-${CPU_INIT_OBJS}: %.o: %.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile *~
-
-.PHONY: install info install-info clean-info
-install: ${CPU_INIT_INSTALL}
-
-install-cpu-init:
- test -d $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init || mkdir $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init
- set -e; for x in ${CPU_INIT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/aarch64/cpu-init/aclocal.m4 b/libgloss/aarch64/cpu-init/aclocal.m4
deleted file mode 100644
index d091ac0..0000000
--- a/libgloss/aarch64/cpu-init/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../../acinclude.m4])
diff --git a/libgloss/aarch64/cpu-init/configure b/libgloss/aarch64/cpu-init/configure
deleted file mode 100644
index b9c7a7d..0000000
--- a/libgloss/aarch64/cpu-init/configure
+++ /dev/null
@@ -1,3867 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="Makefile.in"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/aarch64/cpu-init/configure.in b/libgloss/aarch64/cpu-init/configure.in
deleted file mode 100644
index 03e0b22..0000000
--- a/libgloss/aarch64/cpu-init/configure.in
+++ /dev/null
@@ -1,50 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(Makefile.in)
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S b/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
deleted file mode 100644
index 41db8f9..0000000
--- a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
+++ /dev/null
@@ -1,168 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include "newlib.h"
-#include "svc.h"
-
-/* ANSI concatenation macros. */
-#define CONCAT(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-#ifdef __USER_LABEL_PREFIX__
-#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
-#else
-#error __USER_LABEL_PREFIX is not defined
-#endif
-
-
- .text
- .align 2
-_init_vectors:
- /* Installs a table of exception vectors to catch and handle all
- exceptions by terminating the process with a diagnostic. */
- adr x0, vectors
- msr vbar_el3, x0
- msr vbar_el2, x0
- msr vbar_el1, x0
- ret
-
-curr_sp0_sync:
-curr_sp0_irq:
-curr_sp0_fiq:
-curr_sp0_serror:
-curr_spx_sync:
-curr_spx_irq:
-curr_spx_fiq:
-curr_spx_serror:
-lower_a64_sync:
-lower_a64_irq:
-lower_a64_fiq:
-lower_a64_serror:
-lower_a32_sync:
-lower_a32_irq:
-lower_a32_fiq:
-lower_a32_serror:
- mov x0, 2
- adr x1, .LC3
- mov x2, 26
- bl FUNCTION (write)
- mov x0, 126
- b FUNCTION (exit) /* Cannot return. */
-.LC3:
- .string "Terminated by exception.\n"
-
- .macro ventry label
- .align 7
- b \label
- .endm
-
- /* AArch64 Exception Model -- 3.5.5 Exception Vectors. */
-
- .align 12
-vectors:
- /* Current EL with SP0. */
- ventry curr_sp0_sync /* Synchronous */
- ventry curr_sp0_irq /* Irq/vIRQ */
- ventry curr_sp0_fiq /* Fiq/vFIQ */
- ventry curr_sp0_serror /* SError/VSError */
-
- /* Current EL with SPx. */
- ventry curr_spx_sync /* Synchronous */
- ventry curr_spx_irq /* IRQ/vIRQ */
- ventry curr_spx_fiq /* FIQ/vFIQ */
- ventry curr_spx_serror /* SError/VSError */
-
- /* Lower EL using AArch64. */
- ventry lower_a64_sync /* Synchronous */
- ventry lower_a64_irq /* IRQ/vIRQ */
- ventry lower_a64_fiq /* FIQ/vFIQ */
- ventry lower_a64_serror /* SError/VSError */
-
- /* Lower EL using AArch32. */
- ventry lower_a32_sync /* Synchronous */
- ventry lower_a32_irq /* IRQ/vIRQ */
- ventry lower_a32_fiq /* FIQ/vFIQ */
- ventry lower_a32_serror /* SError/VSError */
-
-
- .text
- .align 2
-_flat_map:
- /* Page table setup (identity mapping). */
- adrp x0, ttb
- add x0, x0, :lo12:ttb
- msr ttbr0_el3, x0
- adr x1, . /* phys address */
- bic x1, x1, #(1 << 30) - 1 /* 1GB block alignment */
- add x2, x0, x1, lsr #(30 - 3) /* offset in level 1 page
- table */
- mov x3, #0x401 /* page table attributes
- (AF, block) */
- orr x1, x1, x3
- mov x3, #(1 << 30) /* 1GB block */
- str x1, [x2], #8 /* 1st GB */
- add x1, x1, x3
- str x1, [x2] /* 2nd GB */
-
- /* Setup/enable the MMU. */
-
- /* RES1, RES1, 40-bit PA, 39-bit VA, inner/outer cacheable WB */
- ldr x0, =(1 << 31) | (1 << 23) | (2 << 16) | 25 | (3 << 10) | (3 << 8)
- msr tcr_el3, x0
-
- mov x0, #0xee /* Inner/outer cacheable WB */
- msr mair_el3, x0
- isb
-
- mrs x0, sctlr_el3
- ldr x1, =0x100d /* bits I(12) SA(3) C(2) M(0) */
- bic x0, x0, #(1 << 1) /* clear bit A(1) */
- bic x0, x0, #(1 << 19) /* clear WXN */
- orr x0, x0, x1 /* set bits */
-
- dsb sy
- msr sctlr_el3, x0
- isb
- ret
-
- .data
- .align 12
-ttb:
- .space 4096, 0
-
-
- .text
- .align 2
- .global FUNCTION (_cpu_init_hook)
- .type FUNCTION (_cpu_init_hook), %function
-FUNCTION (_cpu_init_hook):
- sub sp, sp, #16
- str x30, [sp, xzr]
- bl _init_vectors
- bl _flat_map
- ldr x30, [sp, xzr]
- add sp, sp, #16
- ret
- .size FUNCTION (_cpu_init_hook), .-FUNCTION (_cpu_init_hook)
diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S
deleted file mode 100644
index ae6264d..0000000
--- a/libgloss/aarch64/crt0.S
+++ /dev/null
@@ -1,260 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include "newlib.h"
-#include "svc.h"
-
-/* ANSI concatenation macros. */
-#define CONCAT(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-#ifdef __USER_LABEL_PREFIX__
-#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
-#else
-#error __USER_LABEL_PREFIX is not defined
-#endif
-
-#ifdef HAVE_INITFINI_ARRAY
-#define _init __libc_init_array
-#define _fini __libc_fini_array
-#endif
-
-/* In ELF64, the large addressing model is used and R_AARCH64_ABS64
- reloc is generated to relocate a 64-bit address. Since 64-bit
- relocation is not available in ELF32, in order to have
- a single code path for both ELF64 and ELF32 classes, we synthesize
- a 64-bit relocation by using R_AARCH64_P32_ABS32 on one of the two
- .word directives, depending on the endianness. */
-
-.macro GEN_DWORD name
-#if defined(__ILP32__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
- .word \name
- .word 0
-#elif defined(__ILP32__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
- .word 0
- .word \name
-#else
- .dword \name
-#endif
-.endm
-
-/* Help tackle the pointer size difference between ELF64 and ELF32. */
-#ifdef __ILP32__
-#define PTR_REG(n) w##n
-#define PTR_SIZE 4
-#define PTR_LOG_SIZE 2
-#else
-#define PTR_REG(n) x##n
-#define PTR_SIZE 8
-#define PTR_LOG_SIZE 3
-#endif
-
- .text
-.macro FUNC_START name
- .global \name
-\name:
-.endm
-
- .align 2
-
- FUNC_START _mainCRTStartup
- FUNC_START _start
-
-/* Start by setting up a stack */
-
- /* Issue Angel SVC to read memory info.
-
- ptr to ptr to 4 words to receive data. */
- adr x1, .LC0
- mov w0, #AngelSVC_Reason_HeapInfo
- AngelSVCAsm AngelSVC
-
- /* Initialise the stack pointer */
-
- /* We currently choose to use the heap_limit field rather than
- stack_base because the AEM validation model
- returns sane values in the heap fields, but 0 in the stack
- fields. Note on the VE AEM model it is necessary to pass
- command line options to the AEM in order to define the values
- exposed here in the HeapInfo Angel call. */
- ldr x0, .LC0 /* point at returned values */
- ldr x1, [x0, #8] /* get heap_limit */
-#ifdef __ILP32__
- /* Sanity check on the heap base. */
- ldr x0, [x0] /* get heap_base */
- tst x0, #0xffffffff00000000
- beq 1f
- /* Exit with 1 if the heap base is not within the 32-bit address
- space. */
- mov x0, ADP_Stopped_ApplicationExit & 0xff
- movk x0, ADP_Stopped_ApplicationExit >> 16, lsl #16
- adrp x1, HeapBase /* Reuse to construct the parameter block. */
- add x1, x1, #:lo12:HeapBase
- str x0, [x1]
- mov x0, 1
- str x0, [x1, #8]
- mov w0, #AngelSVC_Reason_ReportException
- AngelSVCAsm AngelSVC
-1:
- /* For the sake of safety, set the stack base to the top end of
- the 32-bit address space if the returned value from the
- Angel API call is larger than or equal to 4 GiB. */
- tst x1, #0xffffffff00000000
- csinv w1, w1, wzr, eq
-#endif
-
- /* Ensure quad-word stack alignment. */
- and x0, x1, #~15
- mov sp, x0
-
- /* Setup an initial dummy frame with saved fp=0 and saved lr=0 */
- mov x29, 0
- stp x29, x29, [sp, #-16]!
- mov x29, sp
-
- /* Initialize exception vector table, flatmap, etc. */
- bl FUNCTION (_cpu_init_hook)
-
- /* Zero the memory in the .bss section. */
- ldr x0, .LC1 /* First arg: start of memory block */
- mov w1, #0 /* Second arg: fill value */
- ldr x2, .LC2
- sub x2, x2, x0 /* Third arg: length of block */
- bl FUNCTION (memset)
-
- /* Need to set up standard file handles */
- bl FUNCTION (initialise_monitor_handles)
-
- /* .init and .fini sections are used to create constructors
- and destructors. Here we call the _init function and arrange
- for _fini to be called at program exit. */
- ldr x0, .Lfini
- bl FUNCTION (atexit)
-
- bl FUNCTION (_init)
-
- /* Fetch and parse the command line. */
- adr x1, .Lcmdline /* Command line descriptor. */
- mov w0, #AngelSVC_Reason_GetCmdLine
- AngelSVCAsm AngelSVC
- ldr x8, .Lcmdline
-
- mov x0, #0 /* argc */
- mov x1, sp /* argv */
- ldr x2, .Lenvp /* envp */
-
- /* Put NULL at end of argv array. */
- str PTR_REG (0), [x1, #-PTR_SIZE]!
-
- /* Skip leading blanks. */
-.Lnext: ldrb w3, [x8], #1
- cbz w3, .Lendstr
- cmp w3, #' '
- b.eq .Lnext
-
- mov w4, #' ' /* Terminator is space. */
-
- /* See whether we are scanning a quoted string by checking for
- opening quote (" or '). */
- subs w9, w3, #'\"'
- sub x8, x8, #1 /* Backup if no match. */
- ccmp w9, #('\'' - '\"'), 0x4 /* FLG_Z */, ne
- csel w4, w3, w4, eq /* Terminator = quote if match. */
- cinc x8, x8, eq
-
- /* Push arg pointer to argv, and bump argc. */
- str PTR_REG (8), [x1, #-PTR_SIZE]!
- add x0, x0, #1
-
- /* Find end of arg string. */
-1: ldrb w3, [x8], #1
- cbz w3, .Lendstr
- cmp w4, w3 /* Reached terminator? */
- b.ne 1b
-
- /* Terminate the arg string with NUL char. */
- mov w4, #0
- strb w4, [x8, #-1]
- b .Lnext
-
- /* Reverse argv array. */
-.Lendstr:
- add x3, x1, #0 /* sp = &argv[0] */
- add x4, x1, w0, uxtw #PTR_LOG_SIZE /* ep = &argv[argc] */
- cmp x4, x3
- b.lo 2f
-1: ldr PTR_REG (5), [x4, #-PTR_SIZE] /* PTR_REG (5) = ep[-1] */
- ldr PTR_REG (6), [x3] /* PTR_REG (6) = *sp */
- str PTR_REG (6), [x4, #-PTR_SIZE]! /* *--ep = PTR_REG (6) */
- str PTR_REG (5), [x3], #PTR_SIZE /* *sp++ = PTR_REG (5) */
- cmp x4, x3
- b.hi 1b
-2:
- /* Move sp to the 16B boundary below argv. */
- and x4, x1, ~15
- mov sp, x4
-
- bl FUNCTION (main)
-
- b FUNCTION (exit) /* Cannot return. */
-
-/* Function initializing exception vector table, flatmap, etc.
- Declared as weak symbol so that user can override this definition
- by linking in their own version of the function. */
- .weak FUNCTION (_cpu_init_hook)
-FUNCTION (_cpu_init_hook):
- ret
-
- .align 3
-.LC0:
- GEN_DWORD HeapBase
-.LC1:
- GEN_DWORD __bss_start__
-.LC2:
- GEN_DWORD __bss_end__
-.Lfini:
- GEN_DWORD FUNCTION(_fini)
-.Lenvp:
- GEN_DWORD env
-.Lcmdline:
- GEN_DWORD CommandLine
- .dword 255
-
-/* Workspace for Angel calls. */
- .data
- .align 3
-/* Data returned by monitor SVC. */
-#if defined(__ILP32__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
- .set __stack_base__, StackBase + 4
-#else
- .set __stack_base__, StackBase
-#endif
- .global __stack_base__
-HeapBase: .dword 0
-HeapLimit: .dword 0
-StackBase: .dword 0
-StackLimit: .dword 0
-env: .dword 0 /* Dummy environment array */
-CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */
diff --git a/libgloss/aarch64/elf-aem-validation.specs b/libgloss/aarch64/elf-aem-validation.specs
deleted file mode 100644
index ca0c92d..0000000
--- a/libgloss/aarch64/elf-aem-validation.specs
+++ /dev/null
@@ -1,12 +0,0 @@
-# aem-ve.specs
-#
-# Spec file for AArch64 baremetal newlib, libgloss on the validation platform
-# with AngelAPI semi-hosting.
-
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
-cpu-init/rdimon-aem-el3.o%s --start-group %(libc) %(libgloss) --end-group
diff --git a/libgloss/aarch64/elf-aem-ve.specs b/libgloss/aarch64/elf-aem-ve.specs
deleted file mode 100644
index 671d3c1..0000000
--- a/libgloss/aarch64/elf-aem-ve.specs
+++ /dev/null
@@ -1,19 +0,0 @@
-# aem-ve.specs
-#
-# Spec file for AArch64 baremetal newlib, libgloss on VE platform with AngelAPI
-# semi-hosting.
-#
-# This Spec file is also appropriate for the foundation model.
-
-%rename link old_link
-
-*link:
--Ttext-segment 0x80000000 %(old_link)
-
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
-cpu-init/rdimon-aem-el3.o%s --start-group %(libc) %(libgloss) --end-group
diff --git a/libgloss/aarch64/elf-rdimon.specs b/libgloss/aarch64/elf-rdimon.specs
deleted file mode 100644
index cb964db..0000000
--- a/libgloss/aarch64/elf-rdimon.specs
+++ /dev/null
@@ -1,7 +0,0 @@
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
---start-group %(libc) %(libgloss) --end-group
diff --git a/libgloss/aarch64/ftruncate.c b/libgloss/aarch64/ftruncate.c
deleted file mode 100644
index 41a64d2..0000000
--- a/libgloss/aarch64/ftruncate.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (c) 2013 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-#include <sys/types.h>
-
-int
-ftruncate (int file, off_t length)
-{
- errno = ENOSYS;
- return -1;
-}
diff --git a/libgloss/aarch64/libcfunc.c b/libgloss/aarch64/libcfunc.c
deleted file mode 100644
index 8af3a6c..0000000
--- a/libgloss/aarch64/libcfunc.c
+++ /dev/null
@@ -1,91 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-/* Support files for GNU libc. Files in the C namespace go here.
- Files in the system namespace (ie those that start with an underscore)
- go in syscalls.c.
-
- Note: These functions are in a seperate file so that OS providers can
- overrride the system call stubs (defined in syscalls.c) without having
- to provide libc funcitons as well. */
-
-#include "svc.h"
-
-#include <errno.h>
-#include <sys/types.h>
-#include <time.h>
-#include <unistd.h>
-
-
-extern clock_t _clock (void);
-extern int _isatty (int);
-
-unsigned __attribute__((weak))
-alarm (unsigned seconds)
-{
- (void) seconds;
- return 0;
-}
-
-clock_t __attribute__((weak))
-clock (void)
-{
- return _clock ();
-}
-
-int __attribute__((weak))
-isatty (int fildes)
-{
- return _isatty (fildes);
-}
-
-int __attribute__((weak))
-pause (void)
-{
- errno = ENOSYS;
- return -1;
-}
-
-unsigned __attribute__((weak))
-sleep (unsigned seconds)
-{
- clock_t t0 = _clock ();
- clock_t dt = seconds * CLOCKS_PER_SEC;
-
- while (_clock () - t0 < dt)
- ;
- return 0;
-}
-
-int __attribute__((weak))
-usleep (useconds_t useconds)
-{
- clock_t t0 = _clock ();
- clock_t dt = useconds / (1000000 / CLOCKS_PER_SEC);
-
- while (_clock () - t0 < dt)
- ;
- return 0;
-}
diff --git a/libgloss/aarch64/svc.h b/libgloss/aarch64/svc.h
deleted file mode 100644
index fe249f0..0000000
--- a/libgloss/aarch64/svc.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-/* Now the SWI numbers and reason codes for RDI (Angel) monitors. */
-#define AngelSVC 0xF000
-#define AngelSVCInsn "hlt"
-#define AngelSVCAsm hlt
-
-/* The reason codes: */
-#define AngelSVC_Reason_Open 0x01
-#define AngelSVC_Reason_Close 0x02
-#define AngelSVC_Reason_WriteC 0x03
-#define AngelSVC_Reason_Write0 0x04
-#define AngelSVC_Reason_Write 0x05
-#define AngelSVC_Reason_Read 0x06
-#define AngelSVC_Reason_ReadC 0x07
-#define AngelSVC_Reason_IsTTY 0x09
-#define AngelSVC_Reason_Seek 0x0A
-#define AngelSVC_Reason_FLen 0x0C
-#define AngelSVC_Reason_TmpNam 0x0D
-#define AngelSVC_Reason_Remove 0x0E
-#define AngelSVC_Reason_Rename 0x0F
-#define AngelSVC_Reason_Clock 0x10
-#define AngelSVC_Reason_Time 0x11
-#define AngelSVC_Reason_System 0x12
-#define AngelSVC_Reason_Errno 0x13
-#define AngelSVC_Reason_GetCmdLine 0x15
-#define AngelSVC_Reason_HeapInfo 0x16
-#define AngelSVC_Reason_EnterSVC 0x17
-#define AngelSVC_Reason_ReportException 0x18
-#define AngelSVC_Reason_SyncCacheRange 0x19
-#define AngelSVC_Reason_Elapsed 0x30
-#define ADP_Stopped_ApplicationExit ((2 << 16) + 38)
-#define ADP_Stopped_RunTimeError ((2 << 16) + 35)
-
-#if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)
-
-/* Type of each entry in a parameter block. */
-typedef long long param_block_t;
-
-static inline long long
-do_AngelSVC (int reason, param_block_t * arg)
-{
- long long value;
- asm volatile ("mov w0, %w1; mov x1, %2; " AngelSVCInsn " %3; mov %0, x0"
- : "=r" (value) /* Outputs */
- : "r" (reason), "r" (arg), "n" (AngelSVC) /* Inputs */
- : "x0", "x1", "x2", "x3", "x17", "x30", "memory", "cc"
- /* Clobbers x0 and x1, and lr if in supervisor mode */);
- return value;
-}
-
-#endif
diff --git a/libgloss/aarch64/syscalls.c b/libgloss/aarch64/syscalls.c
deleted file mode 100644
index 058cef5..0000000
--- a/libgloss/aarch64/syscalls.c
+++ /dev/null
@@ -1,759 +0,0 @@
-/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-/* Support files for GNU libc. Files in the system namespace go here.
- Files in the C namespace (ie those that do not start with an
- underscore) go in .c. */
-
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/fcntl.h>
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <errno.h>
-#include <reent.h>
-#include <unistd.h>
-#include <sys/wait.h>
-#include "svc.h"
-
-/* Safe casting in both LP64 and ILP32. */
-#define POINTER_TO_PARAM_BLOCK_T(PTR) \
- (param_block_t)(unsigned long) (PTR)
-
-/* Forward prototypes. */
-int _system _PARAMS ((const char *));
-int _rename _PARAMS ((const char *, const char *));
-int _isatty _PARAMS ((int));
-clock_t _times _PARAMS ((struct tms *));
-int _gettimeofday _PARAMS ((struct timeval *, void *));
-int _unlink _PARAMS ((const char *));
-int _link _PARAMS ((void));
-int _stat _PARAMS ((const char *, struct stat *));
-int _fstat _PARAMS ((int, struct stat *));
-int _swistat _PARAMS ((int fd, struct stat * st));
-caddr_t _sbrk _PARAMS ((int));
-int _getpid _PARAMS ((int));
-int _close _PARAMS ((int));
-clock_t _clock _PARAMS ((void));
-int _swiclose _PARAMS ((int));
-int _open _PARAMS ((const char *, int, ...));
-int _swiopen _PARAMS ((const char *, int));
-int _write _PARAMS ((int, char *, int));
-int _swiwrite _PARAMS ((int, char *, int));
-int _lseek _PARAMS ((int, int, int));
-int _swilseek _PARAMS ((int, int, int));
-int _read _PARAMS ((int, char *, int));
-int _swiread _PARAMS ((int, char *, int));
-void initialise_monitor_handles _PARAMS ((void));
-
-static int checkerror _PARAMS ((int));
-static int error _PARAMS ((int));
-static int get_errno _PARAMS ((void));
-
-/* Struct used to keep track of the file position, just so we
- can implement fseek(fh,x,SEEK_CUR). */
-struct fdent
-{
- int handle;
- int flags;
- ino_t ino;
- int pos;
-};
-
-#define MAX_OPEN_FILES 20
-
-/* User file descriptors (fd) are integer indexes into
- the openfiles[] array. Error checking is done by using
- findslot().
-
- This openfiles array is manipulated directly by only
- these 5 functions:
-
- findslot() - Translate entry.
- newslot() - Find empty entry.
- initilise_monitor_handles() - Initialize entries.
- _swiopen() - Initialize entry.
- _close() - Handle stdout == stderr case.
-
- Every other function must use findslot(). */
-
-static struct fdent openfiles[MAX_OPEN_FILES];
-
-static struct fdent *findslot _PARAMS ((int));
-static int newslot _PARAMS ((void));
-
-/* Register name faking - works in collusion with the linker. */
-#ifdef __ILP32__
-register char * stack_ptr asm ("wsp");
-#else
-register char * stack_ptr asm ("sp");
-#endif
-
-
-/* following is copied from libc/stdio/local.h to check std streams */
-extern void _EXFUN (__sinit, (struct _reent *));
-#define CHECK_INIT(ptr) \
- do \
- { \
- if ((ptr) && !(ptr)->__sdidinit) \
- __sinit (ptr); \
- } \
- while (0)
-
-static int monitor_stdin;
-static int monitor_stdout;
-static int monitor_stderr;
-
-/* Return a pointer to the structure associated with
- the user file descriptor fd. */
-static struct fdent *
-findslot (int fd)
-{
- CHECK_INIT (_REENT);
-
- /* User file descriptor is out of range. */
- if ((unsigned int) fd >= MAX_OPEN_FILES)
- return NULL;
-
- /* User file descriptor is open? */
- if (openfiles[fd].handle == -1)
- return NULL;
-
- /* Valid. */
- return &openfiles[fd];
-}
-
-/* Return the next lowest numbered free file
- structure, or -1 if we can't find one. */
-static int
-newslot (void)
-{
- int i;
-
- for (i = 0; i < MAX_OPEN_FILES; i++)
- if (openfiles[i].handle == -1)
- break;
-
- if (i == MAX_OPEN_FILES)
- return -1;
-
- return i;
-}
-
-void
-initialise_monitor_handles (void)
-{
- int i;
-
- /* Open the standard file descriptors by opening the special
- * teletype device, ":tt", read-only to obtain a descritpor for
- * standard input and write-only to obtain a descriptor for standard
- * output. Finally, open ":tt" in append mode to obtain a descriptor
- * for standard error. Since this is a write mode, most kernels will
- * probably return the same value as for standard output, but the
- * kernel can differentiate the two using the mode flag and return a
- * different descriptor for standard error.
- */
-
- param_block_t block[3];
-
- block[0] = POINTER_TO_PARAM_BLOCK_T (":tt");
- block[2] = 3; /* length of filename */
- block[1] = 0; /* mode "r" */
- monitor_stdin = do_AngelSVC (AngelSVC_Reason_Open, block);
-
- block[0] = POINTER_TO_PARAM_BLOCK_T (":tt");
- block[2] = 3; /* length of filename */
- block[1] = 4; /* mode "w" */
- monitor_stdout = do_AngelSVC (AngelSVC_Reason_Open, block);
-
- block[0] = POINTER_TO_PARAM_BLOCK_T (":tt");
- block[2] = 3; /* length of filename */
- block[1] = 8; /* mode "a" */
- monitor_stderr = do_AngelSVC (AngelSVC_Reason_Open, block);
-
- /* If we failed to open stderr, redirect to stdout. */
- if (monitor_stderr == -1)
- monitor_stderr = monitor_stdout;
-
- for (i = 0; i < MAX_OPEN_FILES; i++)
- openfiles[i].handle = -1;
-
- openfiles[0].handle = monitor_stdin;
- openfiles[0].flags = _FREAD;
- openfiles[0].pos = 0;
- openfiles[1].handle = monitor_stdout;
- openfiles[0].flags = _FWRITE;
- openfiles[1].pos = 0;
- openfiles[2].handle = monitor_stderr;
- openfiles[0].flags = _FWRITE;
- openfiles[2].pos = 0;
-}
-
-static int
-get_errno (void)
-{
- return do_AngelSVC (AngelSVC_Reason_Errno, NULL);
-}
-
-/* Set errno and return result. */
-static int
-error (int result)
-{
- errno = get_errno ();
- return result;
-}
-
-/* Check the return and set errno appropriately. */
-static int
-checkerror (int result)
-{
- if (result == -1)
- return error (-1);
- return result;
-}
-
-/* fh, is a valid internal file handle.
- ptr, is a null terminated string.
- len, is the length in bytes to read.
- Returns the number of bytes *not* written. */
-int
-_swiread (int fh, char *ptr, int len)
-{
- param_block_t block[3];
-
- block[0] = fh;
- block[1] = POINTER_TO_PARAM_BLOCK_T (ptr);
- block[2] = len;
-
- return checkerror (do_AngelSVC (AngelSVC_Reason_Read, block));
-}
-
-/* fd, is a valid user file handle.
- Translates the return of _swiread into
- bytes read. */
-int
-_read (int fd, char *ptr, int len)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- res = _swiread (pfd->handle, ptr, len);
-
- if (res == -1)
- return res;
-
- pfd->pos += len - res;
-
- /* res == len is not an error,
- at least if we want feof() to work. */
- return len - res;
-}
-
-/* fd, is a user file descriptor. */
-int
-_swilseek (int fd, int ptr, int dir)
-{
- int res;
- struct fdent *pfd;
-
- /* Valid file descriptor? */
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- /* Valid whence? */
- if ((dir != SEEK_CUR) && (dir != SEEK_SET) && (dir != SEEK_END))
- {
- errno = EINVAL;
- return -1;
- }
-
- /* Convert SEEK_CUR to SEEK_SET */
- if (dir == SEEK_CUR)
- {
- ptr = pfd->pos + ptr;
- /* The resulting file offset would be negative. */
- if (ptr < 0)
- {
- errno = EINVAL;
- if ((pfd->pos > 0) && (ptr > 0))
- errno = EOVERFLOW;
- return -1;
- }
- dir = SEEK_SET;
- }
-
- param_block_t block[2];
- if (dir == SEEK_END)
- {
- block[0] = pfd->handle;
- res = checkerror (do_AngelSVC (AngelSVC_Reason_FLen, block));
- if (res == -1)
- return -1;
- ptr += res;
- }
-
- /* This code only does absolute seeks. */
- block[0] = pfd->handle;
- block[1] = ptr;
- res = checkerror (do_AngelSVC (AngelSVC_Reason_Seek, block));
- /* At this point ptr is the current file position. */
- if (res >= 0)
- {
- pfd->pos = ptr;
- return ptr;
- }
- else
- return -1;
-}
-
-_lseek (int fd, int ptr, int dir)
-{
- return _swilseek (fd, ptr, dir);
-}
-
-/* fh, is a valid internal file handle.
- Returns the number of bytes *not* written. */
-int
-_swiwrite (int fh, char *ptr, int len)
-{
- param_block_t block[3];
-
- block[0] = fh;
- block[1] = POINTER_TO_PARAM_BLOCK_T (ptr);
- block[2] = len;
-
- return checkerror (do_AngelSVC (AngelSVC_Reason_Write, block));
-}
-
-/* fd, is a user file descriptor. */
-int
-_write (int fd, char *ptr, int len)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- res = _swiwrite (pfd->handle, ptr, len);
-
- /* Clearly an error. */
- if (res < 0)
- return -1;
-
- pfd->pos += len - res;
-
- /* We wrote 0 bytes?
- Retrieve errno just in case. */
- if ((len - res) == 0)
- return error (0);
-
- return (len - res);
-}
-
-int
-_swiopen (const char *path, int flags)
-{
- int aflags = 0, fh;
- param_block_t block[3];
- static ino_t ino = 1;
- int fd;
-
- if (path == NULL)
- {
- errno = ENOENT;
- return -1;
- }
-
- fd = newslot ();
-
- if (fd == -1)
- {
- errno = EMFILE;
- return -1;
- }
-
- /* It is an error to open a file that already exists. */
- if ((flags & O_CREAT) && (flags & O_EXCL))
- {
- struct stat st;
- int res;
- res = _stat (path, &st);
- if (res != -1)
- {
- errno = EEXIST;
- return -1;
- }
- }
-
- /* The flags are Unix-style, so we need to convert them. */
-#ifdef O_BINARY
- if (flags & O_BINARY)
- aflags |= 1;
-#endif
-
- /* In O_RDONLY we expect aflags == 0. */
-
- if (flags & O_RDWR)
- aflags |= 2;
-
- if ((flags & O_CREAT) || (flags & O_TRUNC) || (flags & O_WRONLY))
- aflags |= 4;
-
- if (flags & O_APPEND)
- {
- /* Can't ask for w AND a; means just 'a'. */
- aflags &= ~4;
- aflags |= 8;
- }
-
- block[0] = POINTER_TO_PARAM_BLOCK_T (path);
- block[2] = strlen (path);
- block[1] = aflags;
-
- fh = do_AngelSVC (AngelSVC_Reason_Open, block);
-
- /* Return a user file descriptor or an error. */
- if (fh >= 0)
- {
- openfiles[fd].handle = fh;
- openfiles[fd].flags = flags + 1;
- openfiles[fd].ino = ino++;
- openfiles[fd].pos = 0;
- return fd;
- }
- else
- return error (fh);
-}
-
-int
-_open (const char *path, int flags, ...)
-{
- return _swiopen (path, flags);
-}
-
-/* fh, is a valid internal file handle. */
-int
-_swiclose (int fh)
-{
- param_block_t param[1];
- param[0] = fh;
- return checkerror (do_AngelSVC (AngelSVC_Reason_Close, param));
-}
-
-/* fd, is a user file descriptor. */
-int
-_close (int fd)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- /* Handle stderr == stdout. */
- if ((fd == 1 || fd == 2) && (openfiles[1].handle == openfiles[2].handle))
- {
- pfd->handle = -1;
- return 0;
- }
-
- /* Attempt to close the handle. */
- res = _swiclose (pfd->handle);
-
- /* Reclaim handle? */
- if (res == 0)
- pfd->handle = -1;
-
- return res;
-}
-
-int __attribute__((weak))
-_getpid (int n __attribute__ ((unused)))
-{
- return 1;
-}
-
-caddr_t
-_sbrk (int incr)
-{
- extern char end asm ("end"); /* Defined by the linker. */
- static char *heap_end;
- char *prev_heap_end;
-
- if (heap_end == NULL)
- heap_end = &end;
-
- prev_heap_end = heap_end;
-
- if (heap_end + incr > stack_ptr)
- {
- /* Some of the libstdc++-v3 tests rely upon detecting
- out of memory errors, so do not abort here. */
- errno = ENOMEM;
- return (caddr_t) - 1;
- }
-
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
-
-int
-_swistat (int fd, struct stat *st)
-{
- struct fdent *pfd;
- param_block_t param[1];
- int res;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- param[0] = pfd->handle;
- res = do_AngelSVC (AngelSVC_Reason_IsTTY, param);
- if (res != 0 && res != 1)
- return error (-1);
-
- memset (st, 0, sizeof (*st));
-
- if (res)
- {
- /* This is a tty. */
- st->st_mode |= S_IFCHR;
- }
- else
- {
- /* This is a file, return the file length. */
- st->st_mode |= S_IFREG;
- res = checkerror (do_AngelSVC (AngelSVC_Reason_FLen, param));
- if (res == -1)
- return -1;
- st->st_size = res;
- st->st_blksize = 1024;
- st->st_blocks = (res + 1023) / 1024;
- }
-
- /* Deduce permissions based on mode in which file opened. */
- st->st_mode |= S_IRUSR | S_IRGRP | S_IROTH;
- if (pfd->flags & _FWRITE)
- st->st_mode |= S_IWUSR | S_IWGRP | S_IWOTH;
-
- st->st_ino = pfd->ino;
- st->st_nlink = 1;
- return 0;
-}
-
-int __attribute__((weak))
-_fstat (int fd, struct stat * st)
-{
- return _swistat (fd, st);
-}
-
-int __attribute__((weak))
-_stat (const char *fname, struct stat *st)
-{
- int fd, res;
- /* The best we can do is try to open the file readonly.
- If it exists, then we can guess a few things about it. */
- if ((fd = _open (fname, O_RDONLY)) == -1)
- return -1;
- res = _swistat (fd, st);
- /* Not interested in the error. */
- _close (fd);
- return res;
-}
-
-int __attribute__((weak))
-_link (void)
-{
- errno = ENOSYS;
- return -1;
-}
-
-int
-_unlink (const char *path)
-{
- int res;
- param_block_t block[2];
- block[0] = POINTER_TO_PARAM_BLOCK_T (path);
- block[1] = strlen (path);
- res = do_AngelSVC (AngelSVC_Reason_Remove, block);
- if (res == -1)
- return error (res);
- return 0;
-}
-
-int
-_gettimeofday (struct timeval *tp, void *tzvp)
-{
- struct timezone *tzp = tzvp;
- if (tp)
- {
- /* Ask the host for the seconds since the Unix epoch. */
- tp->tv_sec = do_AngelSVC (AngelSVC_Reason_Time, NULL);
- tp->tv_usec = 0;
- }
-
- /* Return fixed data for the timezone. */
- if (tzp)
- {
- tzp->tz_minuteswest = 0;
- tzp->tz_dsttime = 0;
- }
-
- return 0;
-}
-
-/* Return a clock that ticks at 100Hz. */
-clock_t
-_clock (void)
-{
- clock_t timeval;
-
- timeval = do_AngelSVC (AngelSVC_Reason_Clock, NULL);
- return timeval;
-}
-
-/* Return a clock that ticks at 100Hz. */
-clock_t
-_times (struct tms * tp)
-{
- clock_t timeval = _clock ();
-
- if (tp)
- {
- tp->tms_utime = timeval; /* user time */
- tp->tms_stime = 0; /* system time */
- tp->tms_cutime = 0; /* user time, children */
- tp->tms_cstime = 0; /* system time, children */
- }
-
- return timeval;
-};
-
-
-int
-_isatty (int fd)
-{
- struct fdent *pfd;
- param_block_t param[1];
- int res;
-
- /* Return 1 if fd is an open file descriptor referring to a terminal;
- otherwise 0 is returned, and errno is set to indicate the error. */
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return 0;
- }
-
- param[0] = pfd->handle;
- res = do_AngelSVC (AngelSVC_Reason_IsTTY, param);
-
- if (res != 1)
- return error (0);
- return res;
-}
-
-int
-_system (const char *s)
-{
- param_block_t block[2];
- int e;
-
- /* Hmmm. The ARM debug interface specification doesn't say whether
- SYS_SYSTEM does the right thing with a null argument, or assign any
- meaning to its return value. Try to do something reasonable.... */
- if (!s)
- return 1; /* maybe there is a shell available? we can hope. :-P */
- block[0] = POINTER_TO_PARAM_BLOCK_T (s);
- block[1] = strlen (s);
- e = checkerror (do_AngelSVC (AngelSVC_Reason_System, block));
- if ((e >= 0) && (e < 256))
- {
- /* We have to convert e, an exit status to the encoded status of
- the command. To avoid hard coding the exit status, we simply
- loop until we find the right position. */
- int exit_code;
-
- for (exit_code = e; e && WEXITSTATUS (e) != exit_code; e <<= 1)
- continue;
- }
- return e;
-}
-
-int
-_rename (const char *oldpath, const char *newpath)
-{
- param_block_t block[4];
- block[0] = POINTER_TO_PARAM_BLOCK_T (oldpath);
- block[1] = strlen (oldpath);
- block[2] = POINTER_TO_PARAM_BLOCK_T (newpath);
- block[3] = strlen (newpath);
- return checkerror (do_AngelSVC (AngelSVC_Reason_Rename, block)) ? -1 : 0;
-}
-
-/* Returns the number of elapsed target ticks since the support code
- started execution. Returns -1 and sets errno on error. */
-long
-__aarch64_angel_elapsed (void)
-{
- int result;
- param_block_t block[2];
- result = checkerror (do_AngelSVC (AngelSVC_Reason_Elapsed, block));
- if (result == -1)
- return result;
- return block[0];
-}
diff --git a/libgloss/aarch64/truncate.c b/libgloss/aarch64/truncate.c
deleted file mode 100644
index 92c0fca..0000000
--- a/libgloss/aarch64/truncate.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (c) 2013 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-#include <sys/types.h>
-
-int
-truncate (const char *path, off_t length)
-{
- errno = ENOSYS;
- return -1;
-}
diff --git a/libgloss/acinclude.m4 b/libgloss/acinclude.m4
deleted file mode 100644
index cdd34b6..0000000
--- a/libgloss/acinclude.m4
+++ /dev/null
@@ -1,62 +0,0 @@
-# FIXME: We temporarily define our own version of AC_PROG_CC. This is
-# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
-# are probably using a cross compiler, which will not be able to fully
-# link an executable. This should really be fixed in autoconf
-# itself.
-
-AC_DEFUN([LIB_AC_PROG_CC_GNU],
-[AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
-[dnl The semicolon is to pacify NeXT's syntax-checking cpp.
-cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
-else
- ac_cv_prog_gcc=no
-fi])])
-
-AC_DEFUN([LIB_AM_PROG_AS],
-[# By default we simply use the C compiler to build assembly code.
-AC_REQUIRE([LIB_AC_PROG_CC])
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
-AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
-])
-
-AC_DEFUN([LIB_AC_PROG_CC],
-[AC_BEFORE([$0], [AC_PROG_CPP])dnl
-AC_CHECK_PROG(CC, gcc, gcc)
-_AM_DEPENDENCIES(CC)
-if test -z "$CC"; then
- AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
- test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
-fi
-
-LIB_AC_PROG_CC_GNU
-
-if test $ac_cv_prog_gcc = yes; then
- GCC=yes
-dnl Check whether -g works, even if CFLAGS is set, in case the package
-dnl plays around with CFLAGS (such as to build both debugging and
-dnl normal versions of a library), tasteless as that idea is.
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- _AC_PROG_CC_G
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-])
-
diff --git a/libgloss/aclocal.m4 b/libgloss/aclocal.m4
deleted file mode 100644
index d23c95c..0000000
--- a/libgloss/aclocal.m4
+++ /dev/null
@@ -1,851 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.9.5])])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-])
-])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $1 | $1:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-AC_SUBST(install_sh)])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-#
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-# concurrently, both version can detect that a/ is missing, but only
-# one can create it and the other will error out. Consequently we
-# restrict ourselves to GNU make (using the --version option ensures
-# this.)
-AC_DEFUN([AM_PROG_MKDIR_P],
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-AC_SUBST([mkdir_p])])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# ------------------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
-m4_if([$1], [v7],
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([acinclude.m4])
diff --git a/libgloss/arm/Makefile.in b/libgloss/arm/Makefile.in
deleted file mode 100644
index ab5c9cb..0000000
--- a/libgloss/arm/Makefile.in
+++ /dev/null
@@ -1,222 +0,0 @@
-#
-#
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-objtype = @objtype@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-SUBDIRS = @subdirs@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-@BUILD_CRT0_TRUE@CRT0 = crt0.o
-@BUILD_CRT0_TRUE@CRT0_INSTALL = install-crt0
-@BUILD_CRT0_FALSE@CRT0 =
-@BUILD_CRT0_FALSE@CRT0_INSTALL =
-
-LINUX_CRT0 = linux-crt0.o
-LINUX_BSP = libgloss-linux.a
-LINUX_OBJS = linux-syscalls0.o linux-syscalls1.o
-LINUX_SCRIPTS = linux.specs
-LINUX_INSTALL = install-linux
-
-REDBOOT_CRT0 = redboot-crt0.o
-REDBOOT_OBJS = redboot-syscalls.o
-REDBOOT_SCRIPTS = redboot.ld redboot.specs
-REDBOOT_INSTALL = install-redboot
-
-RDPMON_CRT0 = rdpmon-crt0.o
-RDPMON_BSP = librdpmon.a
-RDPMON_OBJS = ftruncate.o libcfunc.o syscalls.o trap.o truncate.o _exit.o _kill.o
-RDPMON_SCRIPTS = rdpmon.specs
-RDPMON_INSTALL = install-rdpmon
-
-RDIMON_CRT0 = rdimon-crt0.o
-RDIMON_BSP = librdimon.a
-RDIMON_OBJS = $(patsubst %,rdimon-%,$(RDPMON_OBJS))
-RDIMON_SCRIPTS = rdimon.specs aprofile-validation.specs aprofile-ve.specs
-RDIMON_INSTALL = install-rdimon
-
-CFLAGS = -g
-
-# Here is all of the eval board stuff
-PID_SCRIPTS = pid.specs
-PID_INSTALL = install-pid
-
-IQ80310_SCRIPTS = iq80310.specs
-IQ80310_INSTALL = install-iq80310
-
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${CRT0} ${LINUX_CRT0} ${LINUX_BSP} ${REDBOOT_CRT0} ${REDBOOT_OBJS} ${RDPMON_CRT0} ${RDPMON_BSP} ${RDIMON_CRT0} ${RDIMON_BSP}
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
- else true; fi; \
- else true; fi; \
- done
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test:
-
-#
-crt0.o: crt0.S
-redboot-crt0.o: redboot-crt0.S
-redboot-syscalls.o: redboot-syscalls.c $(srcdir)/../syscall.h
-
-rdpmon-crt0.o: crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDP_MONITOR -o $@ -c $<
-
-rdimon-crt0.o: crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-ftruncate.o: ftruncate.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-trap.o: trap.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-truncate.o: truncate.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-_exit.o: _exit.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-_kill.o: _kill.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-syscalls.o: syscalls.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-rdimon-libcfunc.o: libcfunc.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-$(LINUX_BSP): $(LINUX_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-$(RDPMON_BSP): $(RDPMON_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-$(RDIMON_BSP): $(RDIMON_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(IQ80310_BSP)
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) clean); \
- else true; fi; \
- else true; fi; \
- done
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} ${RDIMON_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL}
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
- for dir in .. ${SUBDIRS}; do \
- if [ x$$dir != x.. ]; then \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
- else true; fi; \
- else true; fi; \
- done
-
-install-crt0:
- ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
-
-install-linux:
- set -e; for x in ${LINUX_CRT0} ${LINUX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-redboot:
- set -e; for x in ${REDBOOT_CRT0} ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-rdpmon:
- set -e; for x in ${RDPMON_CRT0} ${RDPMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${RDPMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-rdimon:
- set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-
-install-pid:
- set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-iq80310:
- set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/arm/_exit.c b/libgloss/arm/_exit.c
deleted file mode 100644
index ed00876..0000000
--- a/libgloss/arm/_exit.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <_ansi.h>
-
-int _kill _PARAMS ((int, int));
-void _exit _PARAMS ((int));
-
-void
-_exit (int status)
-{
- /* There is only one SWI for both _exit and _kill. For _exit, call
- the SWI with the second argument set to -1, an invalid value for
- signum, so that the SWI handler can distinguish the two calls.
- Note: The RDI implementation of _kill throws away both its
- arguments. */
- _kill (status, -1);
-}
diff --git a/libgloss/arm/_kill.c b/libgloss/arm/_kill.c
deleted file mode 100644
index 81354d4..0000000
--- a/libgloss/arm/_kill.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <_ansi.h>
-#include <signal.h>
-#include "swi.h"
-
-int _kill _PARAMS ((int, int));
-
-int
-_kill (int pid, int sig)
-{
- (void) pid; (void) sig;
-#ifdef ARM_RDI_MONITOR
- /* Note: The pid argument is thrown away. */
- switch (sig)
- {
- case SIGABRT:
- return do_AngelSWI (AngelSWI_Reason_ReportException,
- (void *) ADP_Stopped_RunTimeError);
- default:
- return do_AngelSWI (AngelSWI_Reason_ReportException,
- (void *) ADP_Stopped_ApplicationExit);
- }
-#else
- asm ("swi %a0" :: "i" (SWI_Exit));
-#endif
-}
diff --git a/libgloss/arm/aclocal.m4 b/libgloss/arm/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/arm/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/arm/arm.h b/libgloss/arm/arm.h
deleted file mode 100644
index 26a1ff1..0000000
--- a/libgloss/arm/arm.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2011 ARM Ltd
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. The name of the company may not be used to endorse or promote
- * products derived from this software without specific prior written
- * permission.
- *
- * THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef _LIBGLOSS_ARM_H
-#define _LIBGLOSS_ARM_H
-
-/* __thumb2__ stands for thumb on armva7(A/R/M/EM) architectures,
- __ARM_ARCH_6M__ stands for armv6-M(thumb only) architecture,
- __ARM_ARCH_7M__ stands for armv7-M(thumb only) architecture.
- __ARM_ARCH_7EM__ stands for armv7e-M(thumb only) architecture.
- There are some macro combinations used many times in libgloss/arm,
- like (__thumb2__ || (__thumb__ && __ARM_ARCH_6M__)), so factor
- it out and use THUMB_V7_V6M instead, which stands for thumb on
- v6-m/v7 arch as the combination does. */
-#if defined(__thumb2__) || (defined(__thumb__) && defined(__ARM_ARCH_6M__))
-# define THUMB_V7_V6M
-#endif
-
-/* The (__ARM_ARCH_7EM__ || __ARM_ARCH_7M__ || __ARM_ARCH_6M__) combination
- stands for cortex-M profile architectures, which don't support ARM state.
- Factor it out and use THUMB_V7M_V6M instead. */
-#if defined(__ARM_ARCH_7M__) \
- || defined(__ARM_ARCH_7EM__) \
- || defined(__ARM_ARCH_6M__)
-# define THUMB_V7M_V6M
-#endif
-
-/* Defined if this target supports the BLX Rm instruction. */
-#if !defined(__ARM_ARCH_2__) \
- && !defined(__ARM_ARCH_3__) \
- && !defined(__ARM_ARCH_3M__) \
- && !defined(__ARM_ARCH_4__) \
- && !defined(__ARM_ARCH_4T__)
-# define HAVE_CALL_INDIRECT
-#endif
-
-#endif /* _LIBGLOSS_ARM_H */
diff --git a/libgloss/arm/coff-iq80310.specs b/libgloss/arm/coff-iq80310.specs
deleted file mode 100644
index 2cd2d87..0000000
--- a/libgloss/arm/coff-iq80310.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0xA0020000 %(old_link)
-
-*startfile:
-%{!pg:redboot-crt0%O%s} %{pg:redboot-crt0%O%s} redboot-syscalls%O%s
-
diff --git a/libgloss/arm/coff-pid.specs b/libgloss/arm/coff-pid.specs
deleted file mode 100644
index 61bec3e..0000000
--- a/libgloss/arm/coff-pid.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0x10000 %(old_link)
-
-*startfile:
-redboot-crt0%O%s redboot-syscalls%O%s
-
diff --git a/libgloss/arm/coff-rdimon.specs b/libgloss/arm/coff-rdimon.specs
deleted file mode 100644
index ace5506..0000000
--- a/libgloss/arm/coff-rdimon.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
-%(old_link) -lrdimon
-
-*startfile:
-rdimon-crt0%O%s
-
diff --git a/libgloss/arm/coff-rdpmon.specs b/libgloss/arm/coff-rdpmon.specs
deleted file mode 100644
index 6614612..0000000
--- a/libgloss/arm/coff-rdpmon.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
-%(old_link) -lrdpmon
-
-*startfile:
-rdpmon-crt0%O%s
-
diff --git a/libgloss/arm/coff-redboot.ld b/libgloss/arm/coff-redboot.ld
deleted file mode 100644
index 0c33c3b..0000000
--- a/libgloss/arm/coff-redboot.ld
+++ /dev/null
@@ -1,54 +0,0 @@
-OUTPUT_FORMAT("coff-arm-little", "coff-arm-big", "coff-arm-little")
- SEARCH_DIR(/toolbin/xscale-coff/lib);
-ENTRY(_start)
-SECTIONS
-{
- /* We start at 0x8000 because gdb assumes it (see FRAME_CHAIN).
- This is an artifact of the ARM Demon monitor using the bottom 32k
- as workspace (shared with the FP instruction emulator if
- present): */
- .text 0x8000 : {
- *(.init)
- *(.text*)
- *(.glue_7t)
- *(.glue_7)
- *(.rdata)
- ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
- LONG (-1); *(.ctors); *(.ctor); LONG (0);
- ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
- LONG (-1); *(.dtors); *(.dtor); LONG (0);
- *(.fini)
- etext = .;
- _etext = .;
- }
- .data 0x40000 + (. & 0xfffc0fff) : {
- __data_start__ = . ;
- *(.data*)
- *(.gcc_exc*)
- ___EH_FRAME_BEGIN__ = . ;
- *(.eh_fram*)
- ___EH_FRAME_END__ = . ;
- LONG(0);
- __data_end__ = . ;
- edata = .;
- _edata = .;
- }
- .bss SIZEOF(.data) + ADDR(.data) :
- {
- __bss_start__ = . ;
- *(.bss)
- *(COMMON)
- __bss_end__ = . ;
- }
- end = .;
- _end = .;
- __end__ = .;
- .stab 0 (NOLOAD) :
- {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
-}
diff --git a/libgloss/arm/coff-redboot.specs b/libgloss/arm/coff-redboot.specs
deleted file mode 100644
index 2197761..0000000
--- a/libgloss/arm/coff-redboot.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0x20000 %(old_link)
-
-*startfile:
-redboot-crt0%O%s redboot-syscalls%O%s
-
diff --git a/libgloss/arm/configure b/libgloss/arm/configure
deleted file mode 100644
index 93c2b27..0000000
--- a/libgloss/arm/configure
+++ /dev/null
@@ -1,3897 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="redboot-crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-subdirs
-host_makefile_frag_path
-objtype
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-BUILD_CRT0_FALSE
-BUILD_CRT0_TRUE
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_newlib_supplied_syscalls
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-# Check whether --enable-newlib-supplied-syscalls was given.
-if test "${enable_newlib_supplied_syscalls+set}" = set; then :
- enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
- yes) newlib_may_supply_syscalls=yes ;;
- no) newlib_may_supply_syscalls=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
- esac
-else
- newlib_may_supply_syscalls=yes
-fi
-
-if test "x$newlib_may_supply_syscalls" = "xyes"; then
- BUILD_CRT0_TRUE='#'
- BUILD_CRT0_FALSE=
-else
- BUILD_CRT0_TRUE=
- BUILD_CRT0_FALSE='#'
-fi
-
-
-
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case "${target}" in
- *-*-elf | *-*-eabi | *-*-tirtos*)
- objtype=elf-
- ;;
- *-*-coff)
- objtype=coff-
- ;;
-esac
-
-
-
-host_makefile_frag=`cd $srcdir/../config;pwd`/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-# Configure cpu init plug-ins
-if test -d "${srcdir}/cpu-init"; then
- subdirs="${subdirs} cpu-init"
- ac_config_files="$ac_config_files cpu-init/Makefile"
-
-
-fi
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
- target=${target}
- with_multisubdir=${with_multisubdir}
- ac_configure_args="${ac_configure_args} --enable-multilib"
- CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- libgloss_topdir=${libgloss_topdir}
-
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "cpu-init/Makefile") CONFIG_FILES="$CONFIG_FILES cpu-init/Makefile" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "cpu-init/Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in
deleted file mode 100644
index 39c15d7..0000000
--- a/libgloss/arm/configure.in
+++ /dev/null
@@ -1,97 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(redboot-crt0.S)
-
-dnl Support --disable-newlib-supplied-syscalls
-AC_ARG_ENABLE(newlib-supplied-syscalls,
-[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls],
-[case "${enableval}" in
- yes) newlib_may_supply_syscalls=yes ;;
- no) newlib_may_supply_syscalls=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;;
- esac], [newlib_may_supply_syscalls=yes])dnl
-
-if test "x$newlib_may_supply_syscalls" = "xyes"; then
- BUILD_CRT0_TRUE='#'
- BUILD_CRT0_FALSE=
-else
- BUILD_CRT0_TRUE=
- BUILD_CRT0_FALSE='#'
-fi
-
-AC_SUBST(BUILD_CRT0_TRUE)
-AC_SUBST(BUILD_CRT0_FALSE)
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case "${target}" in
- *-*-elf | *-*-eabi | *-*-tirtos*)
- objtype=elf-
- ;;
- *-*-coff)
- objtype=coff-
- ;;
-esac
-
-AC_SUBST(objtype)
-
-host_makefile_frag=`cd $srcdir/../config;pwd`/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-# Configure cpu init plug-ins
-if test -d "${srcdir}/cpu-init"; then
- subdirs="${subdirs} cpu-init"
- AC_CONFIG_FILES(cpu-init/Makefile,
- . ${libgloss_topdir}/config-ml.in,
- srcdir=${srcdir}
- target=${target}
- with_multisubdir=${with_multisubdir}
- ac_configure_args="${ac_configure_args} --enable-multilib"
- CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- libgloss_topdir=${libgloss_topdir}
- )
- AC_SUBST(subdirs)
-fi
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
diff --git a/libgloss/arm/cpu-init/Makefile.in b/libgloss/arm/cpu-init/Makefile.in
deleted file mode 100644
index 547c58d..0000000
--- a/libgloss/arm/cpu-init/Makefile.in
+++ /dev/null
@@ -1,87 +0,0 @@
-#
-#
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/.. @srcdir@/../..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../../..
-objroot = $(objdir)/../../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-objtype = @objtype@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-CPU_INIT_OBJS = rdimon-aem.o
-CPU_INIT_INSTALL = install-cpu-init
-
-CFLAGS = -g
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-.PHONY: all
-all: ${CPU_INIT_OBJS}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test:
-
-# Static pattern rule for assembling cpu init files to object files.
-${CPU_INIT_OBJS}: %.o: %.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile *~
-
-.PHONY: install info install-info clean-info
-install: ${CPU_INIT_INSTALL}
-
-install-cpu-init:
- test -d $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init || mkdir $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init
- set -e; for x in ${CPU_INIT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in ../config.status @host_makefile_frag_path@
- $(SHELL) ../config.status --file cpu-init/Makefile
-
-../config.status: ../configure
- $(SHELL) ../config.status --recheck
diff --git a/libgloss/arm/cpu-init/rdimon-aem.S b/libgloss/arm/cpu-init/rdimon-aem.S
deleted file mode 100644
index 19814c6..0000000
--- a/libgloss/arm/cpu-init/rdimon-aem.S
+++ /dev/null
@@ -1,530 +0,0 @@
-/* Copyright (c) 2005-2013 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-/* This file gives a basic initialisation of a Cortex-A series core. It is
- the bare minimum required to get Cortex-A core running with a semihosting
- interface.
-
- It sets up a basic 1:1 phsyical address to virtual address mapping;
- turns the MMU on; enables branch prediction; activates any integrated
- caches; enables the Advanced SIMD and VFP co-processors; and installs
- basic exception handlers.
-
- It does not handle peripherals, and assumes all memory is Normal.
-
- It does not change processor state from the startup privilege and security
- level.
-
- This has only been tested to work in ARM state.
-
- By default it assumes exception vectors are located from address 0.
- However, if this is not true they can be moved by defining the
- _rdimon_vector_base symbol. For example if you have HIVECS enabled you
- may pass --defsym _rdimon_vector_base=0xffff0000 on the linker command
- line. */
-
- /* __ARM_ARCH_PROFILE is defined from GCC 4.8 onwards, however __ARM_ARCH_7A
- has been defined since 4.2 onwards, which is when v7-a support was added
- and hence 'A' profile support was added in the compiler. Allow for this
- file to be built with older compilers. */
-#if defined(__ARM_ARCH_7A__) || (__ARM_ARCH_PROFILE == 'A')
- .syntax unified
- .arch armv7-a
- .arm
-
- @ CPU Initialisation
- .globl _rdimon_hw_init_hook
- .type _rdimon_hw_init_hook, %function
-
-_rdimon_hw_init_hook:
- @ Only run the code on CPU 0 - otherwise spin
- mrc 15, 0, r4, cr0, cr0, 5 @ Read MPIDR
- ands r4, r4, #15
-spin:
- bne spin
-
- mov r10, lr @ Save LR for final return
-
-#ifdef __ARMEB__
- @ Setup for Big Endian
- setend be
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- orr r4, r4, #(1<<25) @ Switch to Big Endian (Set SCTLR.EE)
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
-#else
- @ Setup for Little Endian
- setend le
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- bic r4, r4, #(1<<25) @ Switch to LE (unset SCTLR.EE)
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
-#endif
-
- bl is_a15_a7
-
- @ For Cortex-A15 and Cortex-A7 only:
- @ Write zero into the ACTLR to turn everything on.
- itt eq
- moveq r4, #0
- mcreq 15, 0, r4, c1, c0, 1
- isb
-
- @ For Cortex-A15 and Cortex-A7 only:
- @ Set ACTLR:SMP bit before enabling the caches and MMU,
- @ or performing any cache and TLB maintenance operations.
- ittt eq
- mrceq 15, 0, r4, c1, c0, 1 @ Read ACTLR
- orreq r4, r4, #(1<<6) @ Enable ACTLR:SMP
- mcreq 15, 0, r4, c1, c0, 1 @ Write ACTLR
- isb
-
- @ Setup for exceptions being taken to Thumb/ARM state
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
-#if defined(__thumb__)
- orr r4, r4, #(1 << 30) @ Enable SCTLR.TE
-#else
- bic r4, r4, #(1 << 30) @ Disable SCTLR.TE
-#endif
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
-
- bl __reset_caches
-
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- orr r4, r4, #(1<<22) @ Enable unaligned mode
- bic r4, r4, #2 @ Disable alignment faults
- bic r4, r4, #1 @ Disable MMU
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
-
- mov r4, #0
- mcr 15, 0, r4, cr8, cr7, 0 @ Write TLBIALL - Invaliidate unified
- @ TLB
- @ Setup MMU Primary table P=V mapping.
- mvn r4, #0
- mcr 15, 0, r4, cr3, cr0, 0 @ Write DACR
-
- mov r4, #0 @ Always use TTBR0, no LPAE
- mcr 15, 0, r4, cr2, cr0, 2 @ Write TTBCR
- adr r4, page_table_addr @ Load the base for vectors
- ldr r4, [r4]
- add r4, r4, #1 @ Page tables inner cacheable
-
- mcr 15, 0, r4, cr2, cr0, 0 @ Write TTBR0
-
- mov r0, #34 @ 0x22 @ TR0 and TR1 - normal memory
- orr r0, r0, #(1 << 19) @ Shareable
- mcr 15, 0, r0, cr10, cr2, 0 @ Write PRRR
- movw r0, #0x33
- movt r0, #0x33
- mcr 15, 0, r0, cr10, cr2, 1 @ Write NMRR
- mrc 15, 0, r0, cr1, cr0, 0 @ Read SCTLR
- bic r0, r0, #(1 << 28) @ Clear TRE bit
- mcr 15, 0, r0, cr1, cr0, 0 @ Write SCTLR
-
- @ Now install the vector code - we move the Vector code from where it is
- @ in the image to be based at _rdimon_vector_base. We have to do this copy
- @ as the code is all PC-relative. We actually cheat and do a BX <reg> so
- @ that we are at a known address relatively quickly and have to move as
- @ little code as possible.
- mov r7, #(VectorCode_Limit - VectorCode)
- adr r5, VectorCode
- adr r6, vector_base_addr @ Load the base for vectors
- ldr r6, [r6]
-
-copy_loop: @ Do the copy
- ldr r4, [r5], #4
- str r4, [r6], #4
- subs r7, r7, #4
- bne copy_loop
-
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- bic r4, r4, #0x1000 @ Disable I Cache
- bic r4, r4, #4 @ Disable D Cache
- orr r4, r4, #1 @ Enable MMU
- bic r4, r4, #(1 << 28) @ Clear TRE bit
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
- mrc 15, 0, r4, cr1, cr0, 2 @ Read CPACR
- orr r4, r4, #0x00f00000 @ Turn on VFP Co-procs
- bic r4, r4, #0x80000000 @ Clear ASEDIS bit
- mcr 15, 0, r4, cr1, cr0, 2 @ Write CPACR
- isb
- mov r4, #0
- mcr 15, 0, r4, cr7, cr5, 4 @ Flush prefetch buffer
- mrc 15, 0, r4, cr1, cr0, 2 @ Read CPACR
- ubfx r4, r4, #20, #4 @ Extract bits [20, 23)
- cmp r4, #0xf @ If not all set then the CPU does not
- itt eq @ have FP or Advanced SIMD.
- moveq r4, #0x40000000 @ Enable FP and Advanced SIMD
- mcreq 10, 7, r4, cr8, cr0, 0 @ vmsr fpexc, r4
-skip_vfp_enable:
- bl __enable_caches @ Turn caches on
- bx r10 @ Return to CRT startup routine
-
- @ This enable us to be more precise about which caches we want
-init_cpu_client_enable_dcache:
-init_cpu_client_enable_icache:
- mov r0, #1
- bx lr
-
-vector_base_addr:
- .word _rdimon_vector_base
- .weak _rdimon_vector_base
-page_table_addr:
- .word page_tables
-
- @ Vector code - must be PIC and in ARM state.
-VectorCode:
- b vector_reset
- b vector_undef
- b vector_swi
- b vector_prefetch
- b vector_dataabt
- b vector_reserved
- b vector_irq
- b vector_fiq
-
-vector_reset:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #0
- b vector_common
-vector_undef:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #1
- b vector_common
-vector_swi:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #2
- b vector_common
-vector_prefetch:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #3
- b vector_common
-vector_dataabt:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #4
- b vector_common
-vector_reserved:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #5
- b vector_common
-vector_irq:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #6
- b vector_common
-vector_fiq:
- adr sp, vector_sp_base
- push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr}
- mov r4, #7
- b vector_common
-vector_common:
- adr r1, vector_common_adr @ Find where we're going to
- ldr r1, [r1]
- bx r1 @ And branch there
-vector_common_adr:
- .word vector_common_2 @ Common handling code
-
- @ Vector stack
- .p2align 3 @ Align to 8 byte boundary boundary to
- @ keep ABI compatibility
- .fill 32, 4, 0 @ 32-entry stack is enough for vector
- @ handlers.
-vector_sp_base:
-VectorCode_Limit:
- @ End of PIC code for vectors
-
- @ Common Handling of vectors
- .type vector_common_2, %function
-vector_common_2:
- mrs r1, APSR
- mrs r2, SPSR
- push {r1, r2} @ Save PSRs
-
- @ Output the vector we have caught
- bl out_nl
- adr r0, which_vector
- bl out_string
- adr r0, vector_names
- mov r1, #11
- mla r0, r4, r1, r0
- bl out_string
- bl out_nl
-
- @ Dump the registers
- adrl r6, register_names
- mov r7, #0
-dump_r_loop:
- mov r0, r6
- bl out_string
- add r6, r6, #6
- ldr r0, [sp, r7, lsl #2]
- bl out_word
- bl out_nl
- add r7, r7, #1
- cmp r7, #16
- blt dump_r_loop
- adr r0, end
- bl out_string
-
- @ And exit
- mov r0, #24
- orr r1, r4, #0x20000
- svc 0x00123456
-
- @ Output the string in r0
-out_string:
- push {lr}
- mov r1, r0
- mov r0, #4
- svc 0x00123456
- pop {pc}
-
- @ Output a New-line
-out_nl:
- mov r0, #10
- @ Fallthrough
-
- @ Output the character in r0
-out_char:
- push {lr}
- strb r0, [sp, #-4]!
- mov r0, #3
- mov r1, sp
- svc 0x00123456
- add sp, sp, #4
- pop {pc}
-
- @ Output the value of r0 as a hex-word
-out_word:
- push {r4, r5, r6, lr}
- mov r4, r0
- mov r5, #28
- adr r6, hexchars
-word_loop:
- lsr r0, r4, r5
- and r0, r0, #15
- ldrb r0, [r6, r0]
- bl out_char
- subs r5, r5, #4
- bpl word_loop
- pop {r4, r5, r6, pc}
-
-hexchars:
- .ascii "0123456789abcdef"
-
-which_vector:
- .asciz "Hit vector:"
-end:
- .asciz "End.\n"
-
-vector_names:
- .asciz "reset "
- .asciz "undef "
- .asciz "swi "
- .asciz "prefetch "
- .asciz "data abort"
- .asciz "reserved "
- .asciz "irq "
- .asciz "fiq "
-
-register_names:
- .asciz "apsr "
- .asciz "spsr "
- .asciz "r0 "
- .asciz "r1 "
- .asciz "r2 "
- .asciz "r3 "
- .asciz "r4 "
- .asciz "r5 "
- .asciz "r6 "
- .asciz "r7 "
- .asciz "r8 "
- .asciz "r9 "
- .asciz "r10 "
- .asciz "r11 "
- .asciz "r12 "
- .asciz "r14 "
-
- .p2align 3
-
-
- @ Enable the caches
-__enable_caches:
- mov r0, #0
- mcr 15, 0, r0, cr8, cr7, 0 @ Invalidate all unified-TLB
- mov r0, #0
- mcr 15, 0, r0, cr7, cr5, 6 @ Invalidate branch predictor
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- orr r4, r4, #0x800 @ Enable branch predictor
- mcr 15, 0, r4, cr1, cr0, 0 @ Set SCTLR
- mov r5, lr @ Save LR as we're going to BL
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- bl init_cpu_client_enable_icache
- cmp r0, #0
- it ne
- orrne r4, r4, #0x1000 @ Enable I-Cache
- bl init_cpu_client_enable_dcache
- cmp r0, #0
- it ne
- orrne r4, r4, #4
- mcr 15, 0, r4, cr1, cr0, 0 @ Enable D-Cache
- bx r5 @ Return
-
-__reset_caches:
- mov ip, lr @ Save LR
- mov r0, #0
- mcr 15, 0, r0, cr7, cr5, 6 @ Invalidate branch predictor
- mrc 15, 0, r6, cr1, cr0, 0 @ Read SCTLR
- mrc 15, 0, r0, cr1, cr0, 0 @ Read SCTLR!
- bic r0, r0, #0x1000 @ Disable I cache
- mcr 15, 0, r0, cr1, cr0, 0 @ Write SCTLR
- mrc 15, 1, r0, cr0, cr0, 1 @ Read CLIDR
- tst r0, #3 @ Harvard Cache?
- mov r0, #0
- it ne
- mcrne 15, 0, r0, cr7, cr5, 0 @ Invalidate Instruction Cache?
-
- mrc 15, 0, r1, cr1, cr0, 0 @ Read SCTLR (again!)
- orr r1, r1, #0x800 @ Enable branch predictor
-
- @ If we're not enabling caches we have
- @ no more work to do.
- bl init_cpu_client_enable_icache
- cmp r0, #0
- it ne
- orrne r1, r1, #0x1000 @ Enable I-Cache now -
- @ We actually only do this if we have a
- @ Harvard style cache.
- it eq
- bleq init_cpu_client_enable_dcache
- itt eq
- cmpeq r0, #0
- beq Finished1
-
- mcr 15, 0, r1, cr1, cr0, 0 @ Write SCTLR (turn on Branch predictor & I-cache)
-
- mrc 15, 1, r0, cr0, cr0, 1 @ Read CLIDR
- ands r3, r0, #0x7000000
- lsr r3, r3, #23 @ Total cache levels << 1
- beq Finished1
-
- mov lr, #0 @ lr = cache level << 1
-Loop11:
- mrc 15, 1, r0, cr0, cr0, 1 @ Read CLIDR
- add r2, lr, lr, lsr #1 @ r2 holds cache 'set' position
- lsr r1, r0, r2 @ Bottom 3-bits are Ctype for this level
- and r1, r1, #7 @ Get those 3-bits alone
- cmp r1, #2
- blt Skip1 @ No cache or only I-Cache at this level
- mcr 15, 2, lr, cr0, cr0, 0 @ Write CSSELR
- mov r1, #0
- isb sy
- mrc 15, 1, r1, cr0, cr0, 0 @ Read CCSIDR
- and r2, r1, #7 @ Extract line length field
- add r2, r2, #4 @ Add 4 for the line length offset (log2 16 bytes)
- movw r0, #0x3ff
- ands r0, r0, r1, lsr #3 @ r0 is the max number on the way size
- clz r4, r0 @ r4 is the bit position of the way size increment
- movw r5, #0x7fff
- ands r5, r5, r1, lsr #13 @ r5 is the max number of the index size (right aligned)
-Loop21:
- mov r7, r0 @ r7 working copy of max way size
-Loop31:
- orr r1, lr, r7, lsl r4 @ factor in way number and cache number
- orr r1, r1, r5, lsl r2 @ factor in set number
- tst r6, #4 @ D-Cache on?
- ite eq
- mcreq 15, 0, r1, cr7, cr6, 2 @ No - invalidate by set/way
- mcrne 15, 0, r1, cr7, cr14, 2 @ yes - clean + invalidate by set/way
- subs r7, r7, #1 @ Decrement way number
- bge Loop31
- subs r5, r5, #1 @ Decrement set number
- bge Loop21
-Skip1:
- add lr, lr, #2 @ increment cache number
- cmp r3, lr
- bgt Loop11
-Finished1:
- @ Now we know the caches are clean we can:
- mrc 15, 0, r4, cr1, cr0, 0 @ Read SCTLR
- bic r4, r4, #4 @ Disable D-Cache
- mcr 15, 0, r4, cr1, cr0, 0 @ Write SCTLR
- mov r4, #0
- mcr 15, 0, r4, cr7, cr5, 6 @ Write BPIALL
-
- bx ip @ Return
-
- @ Set Z if this is a Cortex-A15 or Cortex_A7
- @ Other flags corrupted
-is_a15_a7:
- mrc 15, 0, r8, c0, c0, 0
- movw r9, #0xfff0
- movt r9, #0xff0f
- and r8, r8, r9
- movw r9, #0xc0f0
- movt r9, #0x410f
- cmp r8, r9
- movw r9, #0xc070
- movt r9, #0x410f
- it ne
- cmpne r8, r9
- bx lr
-
- @ Descriptor type: Section
- @ Bufferable: True
- @ Cacheable: True
- @ Execute Never: False
- @ Domain: 0
- @ Impl. Defined: 0
- @ Access: 0/11 Full access
- @ TEX: 001
- @ Shareable: False
- @ Not Global: False
- @ Supersection: False
-#define PT(X) \
- .word X;
-#define PT2(X) \
- PT(X) PT(X + 0x100000) PT(X + 0x200000) PT(X + 0x300000)
-#define PT3(X) \
- PT2(X) PT2(X + 0x400000) PT2(X + 0x800000) PT2(X + 0xc00000)
-#define PT4(X) \
- PT3(X) PT3(X + 0x1000000) PT3(X + 0x2000000) PT3(X + 0x3000000)
-#define PT5(X) \
- PT4(X) PT4(X + 0x4000000) PT4(X + 0x8000000) PT4(X + 0xc000000)
-#define PT6(X) \
- PT5(X) PT5(X + 0x10000000) PT5(X + 0x20000000) PT5(X + 0x30000000)
-#define PT7(X) \
- PT6(X) PT6(X + 0x40000000) PT6(X + 0x80000000) PT6(X + 0xc0000000)
-
- .section page_tables_section, "aw", %progbits
- .p2align 14
-page_tables:
- PT7(0x1c0e)
-
-#endif //#if defined(__ARM_ARCH_7A__) || __ARM_ARCH_PROFILE == 'A'
diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S
deleted file mode 100644
index cc1c370..0000000
--- a/libgloss/arm/crt0.S
+++ /dev/null
@@ -1,520 +0,0 @@
-#include "newlib.h"
-#include "arm.h"
-#include "swi.h"
-
-/* ANSI concatenation macros. */
-#define CONCAT(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-#ifdef __USER_LABEL_PREFIX__
-#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
-#else
-#error __USER_LABEL_PREFIX is not defined
-#endif
-
-#ifdef HAVE_INITFINI_ARRAY
-#define _init __libc_init_array
-#define _fini __libc_fini_array
-#endif
-
-#if defined(__ARM_EABI__) && defined(__thumb__) && !defined(__thumb2__)
-/* For Thumb1 we need to force the architecture to be sure that we get the
- correct attributes on the object file; otherwise the assembler will get
- confused and mark the object as being v6T2. */
-#if defined(__ARM_ARCH_4T__)
- .arch armv4t
-#elif defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__)
- /* Nothing in this object requires higher than v5. */
- .arch armv5t
-#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
- || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \
- || defined(__ARM_ARCH_6ZK__)
- /* Nothing in this object requires higher than v6. */
- .arch armv6
-#elif defined(__ARM_ARCH_6M__)
-#ifdef ARM_RDP_MONITOR
- /* Object file uses SVC, so mark as v6s-m. */
- .arch armv6s-m
-#else
- .arch armv6-m
-#endif
-#endif
-#endif
-
-/* .text is used instead of .section .text so it works with arm-aout too. */
- .text
- .syntax unified
-#ifdef THUMB_V7_V6M
- .thumb
-.macro FUNC_START name
- .global \name
- .thumb_func
-\name:
-.endm
-#else
- .code 32
-.macro FUNC_START name
- .global \name
-\name:
-.endm
-#endif
-
-.macro indirect_call reg
-#ifdef HAVE_CALL_INDIRECT
- blx \reg
-#else
- mov lr, pc
- mov pc, \reg
-#endif
-.endm
-
- .align 0
-
- FUNC_START _mainCRTStartup
- FUNC_START _start
-#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
- /* Annotation for EABI unwinding tables. */
- .fnstart
-#endif
-
- /* __ARM_ARCH_PROFILE is defined from GCC 4.8 onwards, however __ARM_ARCH_7A
- has been defined since 4.2 onwards, which is when v7-a support was added
- and hence 'A' profile support was added in the compiler. Allow for this
- file to be built with older compilers. We only call this for A profile
- cores. */
-#if defined (__ARM_ARCH_7A__) || (__ARM_ARCH_PROFILE == 'A')
-/* The init hook does not use the stack and is called before the stack has been set up. */
-#ifdef ARM_RDI_MONITOR
- bl _rdimon_hw_init_hook
- .weak FUNCTION (_rdimon_hw_init_hook)
-#endif
-#endif
-
-/* Start by setting up a stack */
-#ifdef ARM_RDP_MONITOR
- /* Issue Demon SWI to read stack info */
- swi SWI_GetEnv /* Returns command line in r0 */
- mov sp,r1 /* and the highest memory address in r1 */
-
- /* stack limit is at end of data */
- /* allow slop for stack overflow handling and small frames */
-#ifdef __ARM_ARCH_6M__
- ldr r0, .LC2
- adds r0, #128
- adds r0, #128
- mov sl, r0
-#else
- ldr sl, .LC2
- add sl, sl, #256
-#endif
-#else
-#ifdef ARM_RDI_MONITOR
- /* Issue Angel SWI to read stack info */
- movs r0, #AngelSWI_Reason_HeapInfo
- adr r1, .LC0 /* point at ptr to 4 words to receive data */
-#ifdef THUMB_V7M_V6M
- bkpt AngelSWI
-#elif defined(__thumb2__)
- /* We are in thumb mode for startup on armv7 architectures. */
- AngelSWIAsm AngelSWI
-#else
- /* We are always in ARM mode for startup on pre armv7 archs. */
- AngelSWIAsm AngelSWI_ARM
-#endif
- ldr r0, .LC0 /* point at values read */
-
- ldr r1, [r0, #0]
- cmp r1, #0
- bne .LC32
- /* If the heap base value [r0, #0] is 0 then the heap base is actually
- at the end of program data (i.e. __end__). See:
- http://infocenter.arm.com/help/topic/com.arm.doc.dui0471-/Bacbefaa.html
- for more information. */
- ldr r1, .LC31
- str r1, [r0, #0]
-.LC32:
- ldr r1, [r0, #8]
- ldr r2, [r0, #12]
- /* We skip setting sp/sl if 0 returned from semihosting.
- - According to semihosting docs, if 0 returned from semihosting,
- the system was unable to calculate the real value, so it's ok
- to skip setting sp/sl to 0 here.
- - Considering M-profile processors, We might want to initialize
- sp by the first entry of vector table and return 0 to SYS_HEAPINFO
- semihosting call, which will be skipped here. */
- cmp r1, #0
- beq .LC26
- mov sp, r1
-.LC26:
- cmp r2, #0
- beq .LC27
- /* allow slop for stack overflow handling and small frames */
-#ifdef __ARM_ARCH_6M__
- adds r2, #128
- adds r2, #128
- mov sl, r2
-#else
- add sl, r2, #256
-#endif
-.LC27:
-#else
- /* Set up the stack pointer to a fixed value */
- /* Changes by toralf:
- - Allow linker script to provide stack via __stack symbol - see
- defintion of .Lstack
- - Provide "hooks" that may be used by the application to add
- custom init code - see .Lhwinit and .Lswinit
- - Go through all execution modes and set up stack for each of them.
- Loosely based on init.s from ARM/Motorola example code.
- Note: Mode switch via CPSR is not allowed once in non-privileged
- mode, so we take care not to enter "User" to set up its sp,
- and also skip most operations if already in that mode. */
-
- ldr r3, .Lstack
- cmp r3, #0
-#ifdef __thumb2__
- it eq
-#endif
-#ifdef __ARM_ARCH_6M__
- bne .LC28
- ldr r3, .LC0
-.LC28:
-#else
- ldreq r3, .LC0
-#endif
- /* Note: This 'mov' is essential when starting in User, and ensures we
- always get *some* sp value for the initial mode, even if we
- have somehow missed it below (in which case it gets the same
- value as FIQ - not ideal, but better than nothing.) */
- mov sp, r3
-#ifdef THUMB_V7_V6M
- /* XXX Fill in stack assignments for interrupt modes. */
-#else
- mrs r2, CPSR
- tst r2, #0x0F /* Test mode bits - in User of all are 0 */
- beq .LC23 /* "eq" means r2 AND #0x0F is 0 */
- msr CPSR_c, #0xD1 /* FIRQ mode, interrupts disabled */
- mov sp, r3
- sub sl, sp, #0x1000 /* This mode also has its own sl (see below) */
-
- mov r3, sl
- msr CPSR_c, #0xD7 /* Abort mode, interrupts disabled */
- mov sp, r3
- sub r3, r3, #0x1000
-
- msr CPSR_c, #0xDB /* Undefined mode, interrupts disabled */
- mov sp, r3
- sub r3, r3, #0x1000
-
- msr CPSR_c, #0xD2 /* IRQ mode, interrupts disabled */
- mov sp, r3
- sub r3, r3, #0x2000
-
- msr CPSR_c, #0xD3 /* Supervisory mode, interrupts disabled */
-
- mov sp, r3
- sub r3, r3, #0x8000 /* Min size 32k */
- bic r3, r3, #0x00FF /* Align with current 64k block */
- bic r3, r3, #0xFF00
-
- str r3, [r3, #-4] /* Move value into user mode sp without */
- ldmdb r3, {sp}^ /* changing modes, via '^' form of ldm */
- orr r2, r2, #0xC0 /* Back to original mode, presumably SVC, */
- msr CPSR_c, r2 /* with FIQ/IRQ disable bits forced to 1 */
-#endif
-.LC23:
- /* Setup a default stack-limit in-case the code has been
- compiled with "-mapcs-stack-check". Hard-wiring this value
- is not ideal, since there is currently no support for
- checking that the heap and stack have not collided, or that
- this default 64k is enough for the program being executed.
- However, it ensures that this simple crt0 world will not
- immediately cause an overflow event: */
-#ifdef __ARM_ARCH_6M__
- movs r2, #64
- lsls r2, r2, #10
- subs r2, r3, r2
- mov sl, r2
-#else
- sub sl, r3, #64 << 10 /* Still assumes 256bytes below sl */
-#endif
-#endif
-#endif
- /* Zero the memory in the .bss section. */
- movs a2, #0 /* Second arg: fill value */
- mov fp, a2 /* Null frame pointer */
- mov r7, a2 /* Null frame pointer for Thumb */
-
- ldr a1, .LC1 /* First arg: start of memory block */
- ldr a3, .LC2
- subs a3, a3, a1 /* Third arg: length of block */
-
-
-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
- /* Enter Thumb mode.... */
- add a4, pc, #1 /* Get the address of the Thumb block */
- bx a4 /* Go there and start Thumb decoding */
-
- .code 16
- .global __change_mode
- .thumb_func
-__change_mode:
-#endif
-
- bl FUNCTION (memset)
-#if !defined (ARM_RDP_MONITOR) && !defined (ARM_RDI_MONITOR)
-/* Changes by toralf: Taken from libgloss/m68k/crt0.S
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
- ldr r3, .Lhwinit
- cmp r3, #0
- beq .LC24
- indirect_call r3
-.LC24:
- ldr r3, .Lswinit
- cmp r3, #0
- beq .LC25
- indirect_call r3
-
-.LC25:
- movs r0, #0 /* no arguments */
- movs r1, #0 /* no argv either */
-#else
- /* Need to set up standard file handles */
- bl FUNCTION (initialise_monitor_handles)
-
-#ifdef ARM_RDP_MONITOR
- swi SWI_GetEnv /* sets r0 to point to the command line */
- movs r1, r0
-#else
- movs r0, #AngelSWI_Reason_GetCmdLine
- adr r1, .LC30 /* Space for command line */
- AngelSWIAsm AngelSWI
- ldr r1, .LC30
-#endif
- /* Parse string at r1 */
- movs r0, #0 /* count of arguments so far */
- /* Push a NULL argument onto the end of the list. */
-#ifdef __thumb__
- push {r0}
-#else
- stmfd sp!, {r0}
-#endif
-.LC10:
-/* Skip leading blanks */
-#ifdef __thumb__
- ldrb r3, [r1]
- adds r1, #1
-#else
- ldrb r3, [r1], #1
-#endif
- cmp r3, #0
- beq .LC12
- cmp r3, #' '
- beq .LC10
-
-/* See whether we are scanning a string */
- cmp r3, #'"'
-#ifdef __thumb__
- beq .LC20
- cmp r3, #'\''
- bne .LC21
-.LC20:
- movs r2, r3
- b .LC22
-
-.LC21:
- movs r2, #' ' /* terminator type */
- subs r1, r1, #1 /* adjust back to point at start char */
-.LC22:
-#else
- cmpne r3, #'\''
- moveq r2, r3
- movne r2, #' ' /* terminator type */
- subne r1, r1, #1 /* adjust back to point at start char */
-#endif
-
-/* Stack a pointer to the current argument */
-#ifdef __thumb__
- push {r1}
-#else
- stmfd sp!, {r1}
-#endif
- adds r0, r0, #1
-.LC11:
-#ifdef __thumb__
- ldrb r3, [r1]
- adds r1, #1
-#else
- ldrb r3, [r1], #1
-#endif
- cmp r3, #0
- beq .LC12
- cmp r2, r3 /* reached terminator? */
- bne .LC11
- movs r2, #0
- subs r3, r1, #1
- strb r2, [r3] /* terminate the arg string */
- b .LC10
-
-.LC12:
- mov r1, sp /* point at stacked arg pointers */
- /* We've now got the stacked args in order reverse the */
-#ifdef __thumb__
- movs r2, r0
- lsls r2, #2
- add r2, sp
- mov r3, sp
-.LC15: cmp r2, r3
- bls .LC14
- subs r2, #4
- ldr r4, [r2]
- ldr r5, [r3]
- str r5, [r2]
- str r4, [r3]
- adds r3, #4
- b .LC15
-.LC14:
- /* Ensure doubleword stack alignment. */
- mov r4, sp
- movs r5, #7
- bics r4, r5
- mov sp, r4
-#else
- add r2, sp, r0, LSL #2 /* End of args */
- mov r3, sp /* Start of args */
-.LC13: cmp r2, r3
- ldrhi r4,[r2, #-4] /* Reverse ends of list */
- ldrhi r5, [r3]
- strhi r5, [r2, #-4]!
- strhi r4, [r3], #4
- bhi .LC13
- /* Ensure doubleword stack alignment. */
- bic sp, sp, #7
-#endif
-#endif
-
-#ifdef __USES_INITFINI__
- /* Some arm/elf targets use the .init and .fini sections
- to create constructors and destructors, and for these
- targets we need to call the _init function and arrange
- for _fini to be called at program exit. */
- movs r4, r0
- movs r5, r1
-#ifdef _LITE_EXIT
- /* Make reference to atexit weak to avoid unconditionally pulling in
- support code. Refer to comments in __atexit.c for more details. */
- .weak FUNCTION(atexit)
- ldr r0, .Latexit
- cmp r0, #0
- beq .Lweak_atexit
-#endif
- ldr r0, .Lfini
- bl FUNCTION (atexit)
-.Lweak_atexit:
- bl FUNCTION (_init)
- movs r0, r4
- movs r1, r5
-#endif
- bl FUNCTION (main)
-
- bl FUNCTION (exit) /* Should not return. */
-
-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
- /* Come out of Thumb mode. This code should be redundant. */
-
- mov a4, pc
- bx a4
-
- .code 32
- .global change_back
-change_back:
- /* Halt the execution. This code should never be executed. */
- /* With no debug monitor, this probably aborts (eventually).
- With a Demon debug monitor, this halts cleanly.
- With an Angel debug monitor, this will report 'Unknown SWI'. */
- swi SWI_Exit
-#endif
-
- /* For Thumb, constants must be after the code since only
- positive offsets are supported for PC relative addresses. */
-
- .align 0
-.LC0:
-#ifdef ARM_RDI_MONITOR
- .word HeapBase
-#else
-#ifndef ARM_RDP_MONITOR
- /* Changes by toralf: Provide alternative "stack" variable whose value
- may be defined externally; .Lstack will be used instead of .LC0 if
- it points to a non-0 value. Also set up references to "hooks" that
- may be used by the application to provide additional init code. */
-
-#ifdef __pe__
- .word 0x800000
-#else
- .word 0x80000 /* Top of RAM on the PIE board. */
-#endif
-.Lstack:
- .word __stack
-.Lhwinit:
- .word FUNCTION (hardware_init_hook)
-.Lswinit:
- .word FUNCTION (software_init_hook)
-
- /* Set up defaults for the above variables in the form of weak symbols
- - so that application will link correctly, and get value 0 in
- runtime (meaning "ignore setting") for the variables, when the user
- does not provide the symbols. (The linker uses a weak symbol if,
- and only if, a normal version of the same symbol isn't provided
- e.g. by a linker script or another object file.) */
-
- .weak __stack
- .weak FUNCTION (hardware_init_hook)
- .weak FUNCTION (software_init_hook)
-#endif
-
-#endif
-#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
- /* Protect against unhandled exceptions. */
- .cantunwind
- .fnend
-#endif
-.LC1:
- .word __bss_start__
-.LC2:
- .word __bss_end__
-#ifdef __USES_INITFINI__
-#ifdef _LITE_EXIT
-.Latexit:
- .word FUNCTION(atexit)
-
- /* Weak reference _fini in case of lite exit. */
- .weak FUNCTION(_fini)
-#endif
-.Lfini:
- .word FUNCTION(_fini)
-#endif
-#ifdef ARM_RDI_MONITOR
-.LC30:
- .word CommandLine
- .word 255
-.LC31:
- .word __end__
-
-/* Workspace for Angel calls. */
- .data
-/* Data returned by monitor SWI. */
-.global __stack_base__
-HeapBase: .word 0
-HeapLimit: .word 0
-__stack_base__: .word 0
-StackLimit: .word 0
-CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */
-#endif
-
-#ifdef __pe__
- .section .idata$3
- .long 0,0,0,0,0,0,0,0
-#endif
diff --git a/libgloss/arm/elf-aprofile-validation.specs b/libgloss/arm/elf-aprofile-validation.specs
deleted file mode 100644
index 166a5de..0000000
--- a/libgloss/arm/elf-aprofile-validation.specs
+++ /dev/null
@@ -1,22 +0,0 @@
-# aem-validation.specs
-#
-# Spec file for AArch32 A profile baremetal newlib, libgloss on
-# VALIDATION platform with AngelAPI semi-hosting.
-#
-# This Spec file is also appropriate for the foundation model.
-
-%rename link old_link
-
-*link:
---defsym=_rdimon_vector_base=0x00000000 -Ttext-segment=0x00010000 %(old_link)
-
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
-cpu-init/rdimon-aem.o%s --start-group %(libc) %(libgloss) --end-group
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
diff --git a/libgloss/arm/elf-aprofile-ve.specs b/libgloss/arm/elf-aprofile-ve.specs
deleted file mode 100644
index d94bb7a..0000000
--- a/libgloss/arm/elf-aprofile-ve.specs
+++ /dev/null
@@ -1,22 +0,0 @@
-# aem-ve.specs
-#
-# Spec file for AArch32 A profile baremetal newlib, libgloss on VE platform with AngelAPI
-# semi-hosting.
-#
-# This Spec file is also appropriate for the foundation model.
-
-%rename link old_link
-
-*link:
---defsym=_rdimon_vector_base=0x80000000 -Ttext-segment=0x80010000 %(old_link)
-
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
-cpu-init/rdimon-aem.o%s --start-group %(libc) %(libgloss) --end-group
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
diff --git a/libgloss/arm/elf-iq80310.specs b/libgloss/arm/elf-iq80310.specs
deleted file mode 100644
index a016e88..0000000
--- a/libgloss/arm/elf-iq80310.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0xA0020000 %(old_link)
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:redboot-crt0%O%s} %{pg:redboot-crt0%O%s} redboot-syscalls%O%s
-
diff --git a/libgloss/arm/elf-linux.specs b/libgloss/arm/elf-linux.specs
deleted file mode 100644
index 3e8b686..0000000
--- a/libgloss/arm/elf-linux.specs
+++ /dev/null
@@ -1,11 +0,0 @@
-%rename lib libc
-
-*libgloss:
--lgloss-linux
-
-*lib:
-%(libc) %(libgloss)
-
-*startfile:
-linux-crt0%O%s crti%O%s crtbegin%O%s
-
diff --git a/libgloss/arm/elf-pid.specs b/libgloss/arm/elf-pid.specs
deleted file mode 100644
index c8a9f14..0000000
--- a/libgloss/arm/elf-pid.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0x10000 %(old_link)
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:redboot-crt0%O%s} %{pg:redboot-crt0%O%s} redboot-syscalls%O%s
-
diff --git a/libgloss/arm/elf-rdimon.specs b/libgloss/arm/elf-rdimon.specs
deleted file mode 100644
index 2f0692c..0000000
--- a/libgloss/arm/elf-rdimon.specs
+++ /dev/null
@@ -1,11 +0,0 @@
-%rename lib libc
-
-*libgloss:
--lrdimon
-
-*lib:
---start-group %(libc) %(libgloss) --end-group
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
-
diff --git a/libgloss/arm/elf-rdpmon.specs b/libgloss/arm/elf-rdpmon.specs
deleted file mode 100644
index 903db1f..0000000
--- a/libgloss/arm/elf-rdpmon.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
-%(old_link) -lrdpmon
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:rdpmon-crt0%O%s} %{pg:rdpmon-crt0%O%s}
-
diff --git a/libgloss/arm/elf-redboot.ld b/libgloss/arm/elf-redboot.ld
deleted file mode 100644
index 3d1f8d8..0000000
--- a/libgloss/arm/elf-redboot.ld
+++ /dev/null
@@ -1,220 +0,0 @@
-OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
- "elf32-littlearm")
-OUTPUT_ARCH(arm)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x00020000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s*)
- }
- .rel.sbss : { *(.rel.sbss) }
- .rela.sbss : { *(.rela.sbss) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.glue_7t) *(.glue_7)
- } =0
- .init :
- {
- KEEP (*(.init))
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini :
- {
- KEEP (*(.fini))
- } =0
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- .jcr : { KEEP (*(.jcr)) }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- __bss_start__ = .;
- .sbss :
- {
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.scommon)
- }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- . = ALIGN(32 / 8);
- _end = .;
- _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .stack 0x80000 : { _stack = .; *(.stack) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/arm/elf-redboot.specs b/libgloss/arm/elf-redboot.specs
deleted file mode 100644
index 8a00c3b..0000000
--- a/libgloss/arm/elf-redboot.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename link old_link
-
-*link:
--T redboot.ld%s -Ttext 0x20000 %(old_link)
-
-*startfile:
-crti%O%s crtbegin%O%s %{!pg:redboot-crt0%O%s} %{pg:redboot-crt0%O%s} redboot-syscalls%O%s
-
diff --git a/libgloss/arm/ftruncate.c b/libgloss/arm/ftruncate.c
deleted file mode 100644
index 41a64d2..0000000
--- a/libgloss/arm/ftruncate.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (c) 2013 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-#include <sys/types.h>
-
-int
-ftruncate (int file, off_t length)
-{
- errno = ENOSYS;
- return -1;
-}
diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c
deleted file mode 100644
index c8cedad..0000000
--- a/libgloss/arm/libcfunc.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Support files for GNU libc. Files in the C namespace go here.
- Files in the system namespace (ie those that start with an underscore)
- go in syscalls.c.
-
- Note: These functions are in a seperate file so that OS providers can
- overrride the system call stubs (defined in syscalls.c) without having
- to provide libc funcitons as well. */
-
-#include "swi.h"
-#include <errno.h>
-#include <unistd.h>
-
-unsigned __attribute__((weak))
-alarm (unsigned seconds)
-{
- (void)seconds;
- return 0;
-}
-
-clock_t _clock(void);
-clock_t __attribute__((weak))
-clock(void)
-{
- return _clock();
-}
-
-int _isatty(int fildes);
-int __attribute__((weak))
-isatty(int fildes)
-{
- return _isatty(fildes);
-}
-
-int __attribute__((weak))
-pause(void)
-{
- errno = ENOSYS;
- return -1;
-}
-
-#include <sys/types.h>
-#include <time.h>
-
-unsigned __attribute__((weak))
-sleep(unsigned seconds)
-{
- clock_t t0 = _clock();
- clock_t dt = seconds * CLOCKS_PER_SEC;
-
- while (_clock() - t0 < dt);
- return 0;
-}
-
-int __attribute__((weak))
-usleep(useconds_t useconds)
-{
- clock_t t0 = _clock();
- clock_t dt = useconds / (1000000/CLOCKS_PER_SEC);
-
- while (_clock() - t0 < dt);
- return 0;
-}
diff --git a/libgloss/arm/linux-crt0.c b/libgloss/arm/linux-crt0.c
deleted file mode 100644
index c313d26..0000000
--- a/libgloss/arm/linux-crt0.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/** Linux startup code for the ARM processor.
- * Written by Shaun Jackman <sjackman@gmail.com>.
- * Copyright 2006 Pathway Connectivity
- *
- * Permission to use, copy, modify, and distribute this software
- * is freely granted, provided that this notice is preserved.
- */
-
-#include <stdlib.h>
-#include <unistd.h>
-#include "arm.h"
-
-static int _main(int argc, char *argv[]) __attribute__((noreturn));
-
-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
-asm("\n"
- ".code 32\n"
- ".global _start\n"
- ".type _start, %function\n"
- "_start:\n"
- "\tldr r0, .LC0\n"
- "\tbx r0\n"
- ".LC0:\n"
- "\t.word _start_thumb\n"
- ".size _start, .-_start\n");
-
-__attribute__((naked, used))
-static void _start_thumb(void)
-#else
-__attribute__((naked))
-void _start(void)
-#endif
-{
- register int *sp asm("sp");
- _main(*sp, (char **)(sp + 1));
-}
-
-static int _main(int argc, char *argv[])
-{
- environ = argv + argc + 1;
- exit(main(argc, argv, environ));
-}
diff --git a/libgloss/arm/linux-syscall.h b/libgloss/arm/linux-syscall.h
deleted file mode 100644
index 904d54d..0000000
--- a/libgloss/arm/linux-syscall.h
+++ /dev/null
@@ -1,318 +0,0 @@
-/** Linux system call numbers for the ARM processor.
- * Written by Shaun Jackman <sjackman@gmail.com>
- * Copyright 2006 Pathway Connectivity
- *
- * Permission to use, copy, modify, and distribute this software
- * is freely granted, provided that this notice is preserved.
- */
-
-#ifndef _LIBGLOSS_ARM_LINUX_UNISTD_H
-#define _LIBGLOSS_ARM_LINUX_UNISTD_H
-
-#if __thumb__
-# define SYS_BASE 0
-#else
-# define SYS_BASE 0x900000
-#endif
-
-#define SYS_restart_syscall (SYS_BASE+ 0)
-#define SYS_exit (SYS_BASE+ 1)
-#define SYS_fork (SYS_BASE+ 2)
-#define SYS_read (SYS_BASE+ 3)
-#define SYS_write (SYS_BASE+ 4)
-#define SYS_open (SYS_BASE+ 5)
-#define SYS_close (SYS_BASE+ 6)
-/* SYS_waitpid was 7 */
-#define SYS_creat (SYS_BASE+ 8)
-#define SYS_link (SYS_BASE+ 9)
-#define SYS_unlink (SYS_BASE+ 10)
-#define SYS_execve (SYS_BASE+ 11)
-#define SYS_chdir (SYS_BASE+ 12)
-#define SYS_time (SYS_BASE+ 13)
-#define SYS_mknod (SYS_BASE+ 14)
-#define SYS_chmod (SYS_BASE+ 15)
-#define SYS_lchown (SYS_BASE+ 16)
-/* SYS_break was 17 */
-/* SYS_stat was 18 */
-#define SYS_lseek (SYS_BASE+ 19)
-#define SYS_getpid (SYS_BASE+ 20)
-#define SYS_mount (SYS_BASE+ 21)
-#define SYS_umount (SYS_BASE+ 22)
-#define SYS_setuid (SYS_BASE+ 23)
-#define SYS_getuid (SYS_BASE+ 24)
-#define SYS_stime (SYS_BASE+ 25)
-#define SYS_ptrace (SYS_BASE+ 26)
-#define SYS_alarm (SYS_BASE+ 27)
-/* SYS_fstat was 28 */
-#define SYS_pause (SYS_BASE+ 29)
-#define SYS_utime (SYS_BASE+ 30)
-/* SYS_stty was 31 */
-/* SYS_gtty was 32 */
-#define SYS_access (SYS_BASE+ 33)
-#define SYS_nice (SYS_BASE+ 34)
-/* SYS_ftime was 35 */
-#define SYS_sync (SYS_BASE+ 36)
-#define SYS_kill (SYS_BASE+ 37)
-#define SYS_rename (SYS_BASE+ 38)
-#define SYS_mkdir (SYS_BASE+ 39)
-#define SYS_rmdir (SYS_BASE+ 40)
-#define SYS_dup (SYS_BASE+ 41)
-#define SYS_pipe (SYS_BASE+ 42)
-#define SYS_times (SYS_BASE+ 43)
-/* SYS_prof was 44 */
-#define SYS_brk (SYS_BASE+ 45)
-#define SYS_setgid (SYS_BASE+ 46)
-#define SYS_getgid (SYS_BASE+ 47)
-/* SYS_signal was 48 */
-#define SYS_geteuid (SYS_BASE+ 49)
-#define SYS_getegid (SYS_BASE+ 50)
-#define SYS_acct (SYS_BASE+ 51)
-#define SYS_umount2 (SYS_BASE+ 52)
-/* SYS_lock was 53 */
-#define SYS_ioctl (SYS_BASE+ 54)
-#define SYS_fcntl (SYS_BASE+ 55)
-/* SYS_mpx was 56 */
-#define SYS_setpgid (SYS_BASE+ 57)
-/* SYS_ulimit was 58 */
-/* SYS_olduname was 59 */
-#define SYS_umask (SYS_BASE+ 60)
-#define SYS_chroot (SYS_BASE+ 61)
-#define SYS_ustat (SYS_BASE+ 62)
-#define SYS_dup2 (SYS_BASE+ 63)
-#define SYS_getppid (SYS_BASE+ 64)
-#define SYS_getpgrp (SYS_BASE+ 65)
-#define SYS_setsid (SYS_BASE+ 66)
-#define SYS_sigaction (SYS_BASE+ 67)
-/* SYS_sgetmask was 68 */
-/* SYS_ssetmask was 69 */
-#define SYS_setreuid (SYS_BASE+ 70)
-#define SYS_setregid (SYS_BASE+ 71)
-#define SYS_sigsuspend (SYS_BASE+ 72)
-#define SYS_sigpending (SYS_BASE+ 73)
-#define SYS_sethostname (SYS_BASE+ 74)
-#define SYS_setrlimit (SYS_BASE+ 75)
-#define SYS_getrlimit (SYS_BASE+ 76)
-#define SYS_getrusage (SYS_BASE+ 77)
-#define SYS_gettimeofday (SYS_BASE+ 78)
-#define SYS_settimeofday (SYS_BASE+ 79)
-#define SYS_getgroups (SYS_BASE+ 80)
-#define SYS_setgroups (SYS_BASE+ 81)
-#define SYS_select (SYS_BASE+ 82)
-#define SYS_symlink (SYS_BASE+ 83)
-/* SYS_lstat was 84 */
-#define SYS_readlink (SYS_BASE+ 85)
-#define SYS_uselib (SYS_BASE+ 86)
-#define SYS_swapon (SYS_BASE+ 87)
-#define SYS_reboot (SYS_BASE+ 88)
-#define SYS_readdir (SYS_BASE+ 89)
-#define SYS_mmap (SYS_BASE+ 90)
-#define SYS_munmap (SYS_BASE+ 91)
-#define SYS_truncate (SYS_BASE+ 92)
-#define SYS_ftruncate (SYS_BASE+ 93)
-#define SYS_fchmod (SYS_BASE+ 94)
-#define SYS_fchown (SYS_BASE+ 95)
-#define SYS_getpriority (SYS_BASE+ 96)
-#define SYS_setpriority (SYS_BASE+ 97)
-/* SYS_profil was 98 */
-#define SYS_statfs (SYS_BASE+ 99)
-#define SYS_fstatfs (SYS_BASE+100)
-/* SYS_ioperm was 101 */
-#define SYS_socketcall (SYS_BASE+102)
-#define SYS_syslog (SYS_BASE+103)
-#define SYS_setitimer (SYS_BASE+104)
-#define SYS_getitimer (SYS_BASE+105)
-#define SYS_stat (SYS_BASE+106)
-#define SYS_lstat (SYS_BASE+107)
-#define SYS_fstat (SYS_BASE+108)
-/* SYS_uname was 109 */
-/* SYS_iopl was 110 */
-#define SYS_vhangup (SYS_BASE+111)
-/* SYS_idle was 112 */
-#define SYS_syscall (SYS_BASE+113)
-#define SYS_wait4 (SYS_BASE+114)
-#define SYS_swapoff (SYS_BASE+115)
-#define SYS_sysinfo (SYS_BASE+116)
-#define SYS_ipc (SYS_BASE+117)
-#define SYS_fsync (SYS_BASE+118)
-#define SYS_sigreturn (SYS_BASE+119)
-#define SYS_clone (SYS_BASE+120)
-#define SYS_setdomainname (SYS_BASE+121)
-#define SYS_uname (SYS_BASE+122)
-/* SYS_modify_ldt was 123 */
-#define SYS_adjtimex (SYS_BASE+124)
-#define SYS_mprotect (SYS_BASE+125)
-#define SYS_sigprocmask (SYS_BASE+126)
-/* SYS_create_module was 127 */
-#define SYS_init_module (SYS_BASE+128)
-#define SYS_delete_module (SYS_BASE+129)
-/* SYS_get_kernel_syms was 130 */
-#define SYS_quotactl (SYS_BASE+131)
-#define SYS_getpgid (SYS_BASE+132)
-#define SYS_fchdir (SYS_BASE+133)
-#define SYS_bdflush (SYS_BASE+134)
-#define SYS_sysfs (SYS_BASE+135)
-#define SYS_personality (SYS_BASE+136)
-/* SYS_afs_syscall was 137 */
-#define SYS_setfsuid (SYS_BASE+138)
-#define SYS_setfsgid (SYS_BASE+139)
-#define SYS__llseek (SYS_BASE+140)
-#define SYS_getdents (SYS_BASE+141)
-#define SYS__newselect (SYS_BASE+142)
-#define SYS_flock (SYS_BASE+143)
-#define SYS_msync (SYS_BASE+144)
-#define SYS_readv (SYS_BASE+145)
-#define SYS_writev (SYS_BASE+146)
-#define SYS_getsid (SYS_BASE+147)
-#define SYS_fdatasync (SYS_BASE+148)
-#define SYS__sysctl (SYS_BASE+149)
-#define SYS_mlock (SYS_BASE+150)
-#define SYS_munlock (SYS_BASE+151)
-#define SYS_mlockall (SYS_BASE+152)
-#define SYS_munlockall (SYS_BASE+153)
-#define SYS_sched_setparam (SYS_BASE+154)
-#define SYS_sched_getparam (SYS_BASE+155)
-#define SYS_sched_setscheduler (SYS_BASE+156)
-#define SYS_sched_getscheduler (SYS_BASE+157)
-#define SYS_sched_yield (SYS_BASE+158)
-#define SYS_sched_get_priority_max (SYS_BASE+159)
-#define SYS_sched_get_priority_min (SYS_BASE+160)
-#define SYS_sched_rr_get_interval (SYS_BASE+161)
-#define SYS_nanosleep (SYS_BASE+162)
-#define SYS_mremap (SYS_BASE+163)
-#define SYS_setresuid (SYS_BASE+164)
-#define SYS_getresuid (SYS_BASE+165)
-/* SYS_vm86 was 166 */
-/* SYS_query_module was 167 */
-#define SYS_poll (SYS_BASE+168)
-#define SYS_nfsservctl (SYS_BASE+169)
-#define SYS_setresgid (SYS_BASE+170)
-#define SYS_getresgid (SYS_BASE+171)
-#define SYS_prctl (SYS_BASE+172)
-#define SYS_rt_sigreturn (SYS_BASE+173)
-#define SYS_rt_sigaction (SYS_BASE+174)
-#define SYS_rt_sigprocmask (SYS_BASE+175)
-#define SYS_rt_sigpending (SYS_BASE+176)
-#define SYS_rt_sigtimedwait (SYS_BASE+177)
-#define SYS_rt_sigqueueinfo (SYS_BASE+178)
-#define SYS_rt_sigsuspend (SYS_BASE+179)
-#define SYS_pread64 (SYS_BASE+180)
-#define SYS_pwrite64 (SYS_BASE+181)
-#define SYS_chown (SYS_BASE+182)
-#define SYS_getcwd (SYS_BASE+183)
-#define SYS_capget (SYS_BASE+184)
-#define SYS_capset (SYS_BASE+185)
-#define SYS_sigaltstack (SYS_BASE+186)
-#define SYS_sendfile (SYS_BASE+187)
-/* reserved 188 */
-/* reserved 189 */
-#define SYS_vfork (SYS_BASE+190)
-#define SYS_ugetrlimit (SYS_BASE+191)
-#define SYS_mmap2 (SYS_BASE+192)
-#define SYS_truncate64 (SYS_BASE+193)
-#define SYS_ftruncate64 (SYS_BASE+194)
-#define SYS_stat64 (SYS_BASE+195)
-#define SYS_lstat64 (SYS_BASE+196)
-#define SYS_fstat64 (SYS_BASE+197)
-#define SYS_lchown32 (SYS_BASE+198)
-#define SYS_getuid32 (SYS_BASE+199)
-#define SYS_getgid32 (SYS_BASE+200)
-#define SYS_geteuid32 (SYS_BASE+201)
-#define SYS_getegid32 (SYS_BASE+202)
-#define SYS_setreuid32 (SYS_BASE+203)
-#define SYS_setregid32 (SYS_BASE+204)
-#define SYS_getgroups32 (SYS_BASE+205)
-#define SYS_setgroups32 (SYS_BASE+206)
-#define SYS_fchown32 (SYS_BASE+207)
-#define SYS_setresuid32 (SYS_BASE+208)
-#define SYS_getresuid32 (SYS_BASE+209)
-#define SYS_setresgid32 (SYS_BASE+210)
-#define SYS_getresgid32 (SYS_BASE+211)
-#define SYS_chown32 (SYS_BASE+212)
-#define SYS_setuid32 (SYS_BASE+213)
-#define SYS_setgid32 (SYS_BASE+214)
-#define SYS_setfsuid32 (SYS_BASE+215)
-#define SYS_setfsgid32 (SYS_BASE+216)
-#define SYS_getdents64 (SYS_BASE+217)
-#define SYS_pivot_root (SYS_BASE+218)
-#define SYS_mincore (SYS_BASE+219)
-#define SYS_madvise (SYS_BASE+220)
-#define SYS_fcntl64 (SYS_BASE+221)
-/* SYS_tux reserved 222 */
-/* unused 223 */
-#define SYS_gettid (SYS_BASE+224)
-#define SYS_readahead (SYS_BASE+225)
-#define SYS_setxattr (SYS_BASE+226)
-#define SYS_lsetxattr (SYS_BASE+227)
-#define SYS_fsetxattr (SYS_BASE+228)
-#define SYS_getxattr (SYS_BASE+229)
-#define SYS_lgetxattr (SYS_BASE+230)
-#define SYS_fgetxattr (SYS_BASE+231)
-#define SYS_listxattr (SYS_BASE+232)
-#define SYS_llistxattr (SYS_BASE+233)
-#define SYS_flistxattr (SYS_BASE+234)
-#define SYS_removexattr (SYS_BASE+235)
-#define SYS_lremovexattr (SYS_BASE+236)
-#define SYS_fremovexattr (SYS_BASE+237)
-#define SYS_tkill (SYS_BASE+238)
-#define SYS_sendfile64 (SYS_BASE+239)
-#define SYS_futex (SYS_BASE+240)
-#define SYS_sched_setaffinity (SYS_BASE+241)
-#define SYS_sched_getaffinity (SYS_BASE+242)
-#define SYS_io_setup (SYS_BASE+243)
-#define SYS_io_destroy (SYS_BASE+244)
-#define SYS_io_getevents (SYS_BASE+245)
-#define SYS_io_submit (SYS_BASE+246)
-#define SYS_io_cancel (SYS_BASE+247)
-#define SYS_exit_group (SYS_BASE+248)
-#define SYS_lookup_dcookie (SYS_BASE+249)
-#define SYS_epoll_create (SYS_BASE+250)
-#define SYS_epoll_ctl (SYS_BASE+251)
-#define SYS_epoll_wait (SYS_BASE+252)
-#define SYS_remap_file_pages (SYS_BASE+253)
-/* SYS_set_thread_area reserved 254 */
-/* SYS_get_thread_area reserved 255 */
-#define SYS_set_tid_address (SYS_BASE+256)
-#define SYS_timer_create (SYS_BASE+257)
-#define SYS_timer_settime (SYS_BASE+258)
-#define SYS_timer_gettime (SYS_BASE+259)
-#define SYS_timer_getoverrun (SYS_BASE+260)
-#define SYS_timer_delete (SYS_BASE+261)
-#define SYS_clock_settime (SYS_BASE+262)
-#define SYS_clock_gettime (SYS_BASE+263)
-#define SYS_clock_getres (SYS_BASE+264)
-#define SYS_clock_nanosleep (SYS_BASE+265)
-#define SYS_statfs64 (SYS_BASE+266)
-#define SYS_fstatfs64 (SYS_BASE+267)
-#define SYS_tgkill (SYS_BASE+268)
-#define SYS_utimes (SYS_BASE+269)
-#define SYS_arm_fadvise64_64 (SYS_BASE+270)
-#define SYS_pciconfig_iobase (SYS_BASE+271)
-#define SYS_pciconfig_read (SYS_BASE+272)
-#define SYS_pciconfig_write (SYS_BASE+273)
-#define SYS_mq_open (SYS_BASE+274)
-#define SYS_mq_unlink (SYS_BASE+275)
-#define SYS_mq_timedsend (SYS_BASE+276)
-#define SYS_mq_timedreceive (SYS_BASE+277)
-#define SYS_mq_notify (SYS_BASE+278)
-#define SYS_mq_getsetattr (SYS_BASE+279)
-#define SYS_waitid (SYS_BASE+280)
-
-#define SYS_SOCKET 1
-#define SYS_BIND 2
-#define SYS_CONNECT 3
-#define SYS_LISTEN 4
-#define SYS_ACCEPT 5
-#define SYS_GETSOCKNAME 6
-#define SYS_GETPEERNAME 7
-#define SYS_SOCKETPAIR 8
-#define SYS_SEND 9
-#define SYS_RECV 10
-#define SYS_SENDTO 11
-#define SYS_RECVFROM 12
-#define SYS_SHUTDOWN 13
-#define SYS_SETSOCKOPT 14
-#define SYS_GETSOCKOPT 15
-#define SYS_SENDMSG 16
-#define SYS_RECVMSG 17
-
-#endif /* _LIBGLOSS_ARM_LINUX_UNISTD_H */
diff --git a/libgloss/arm/linux-syscalls0.S b/libgloss/arm/linux-syscalls0.S
deleted file mode 100644
index b16648f..0000000
--- a/libgloss/arm/linux-syscalls0.S
+++ /dev/null
@@ -1,192 +0,0 @@
-/** Linux system call interface for the ARM processor.
- * Written by Shaun Jackman <sjackman@gmail.com>.
- * Copyright 2006 Pathway Connectivity
- *
- * Permission to use, copy, modify, and distribute this software
- * is freely granted, provided that this notice is preserved.
- */
-
-#include "linux-syscall.h"
-
-#if __thumb__
-# define FUNC(name) .type name, %function; .thumb_func; name:
-# define SET .thumb_set
-#else
-# define FUNC(name) .type name, %function; name:
-# define SET .set
-#endif
-
-#define GLOBAL(name) .global name; FUNC(name)
-#define SIZE(name) .size name, .-name
-
-# define SYSCALL4(name) \
- GLOBAL(_ ## name); \
- swi #SYS_ ## name; \
- b _set_errno; \
- SIZE(_ ## name)
-
-# define SYSCALL6(name) \
- GLOBAL(_ ## name); \
- push { r4 - r5 }; \
- ldr r4, [sp, #8]; \
- ldr r5, [sp, #12]; \
- swi #SYS_ ## name; \
- pop { r4 - r5 }; \
- b _set_errno; \
- SIZE(_ ## name)
-
-#define SYSCALL0(name) SYSCALL3(name)
-#define SYSCALL3(name) SYSCALL4(name)
-#define SYSCALL1(name) SYSCALL3(name)
-#define SYSCALL2(name) SYSCALL3(name)
-#define SYSCALL5(name) SYSCALL6(name)
-
-SYSCALL1(alarm)
-SYSCALL1(brk)
-SYSCALL1(chdir)
-SYSCALL2(chmod)
-SYSCALL3(chown)
-SYSCALL1(close)
-SYSCALL1(dup)
-SYSCALL2(dup2)
-SYSCALL3(execve)
-SYSCALL1(exit)
-SYSCALL3(fcntl)
-SYSCALL2(fstat)
-SYSCALL2(ftruncate)
-SYSCALL3(getdents)
-SYSCALL0(getegid)
-SYSCALL0(geteuid)
-SYSCALL0(getgid)
-SYSCALL2(getgroups)
-SYSCALL1(getpgid)
-SYSCALL0(getpgrp)
-SYSCALL0(getpid)
-SYSCALL0(getuid)
-SYSCALL2(gettimeofday)
-SYSCALL3(ioctl)
-SYSCALL2(kill)
-SYSCALL3(lchown)
-SYSCALL2(link)
-SYSCALL3(lseek)
-SYSCALL2(lstat)
-SYSCALL2(mkdir)
-SYSCALL3(mknod)
-SYSCALL2(nanosleep)
-SYSCALL3(open)
-SYSCALL0(pause)
-SYSCALL1(pipe)
-SYSCALL3(read)
-SYSCALL3(readlink)
-SYSCALL4(reboot)
-SYSCALL1(rmdir)
-SYSCALL5(select)
-SYSCALL2(setpgid)
-SYSCALL1(setgid)
-SYSCALL0(setsid)
-SYSCALL1(setuid)
-SYSCALL3(sigprocmask)
-SYSCALL2(socketcall)
-SYSCALL2(stat)
-SYSCALL1(stime)
-SYSCALL2(symlink)
-SYSCALL1(sync)
-SYSCALL1(sysinfo)
-SYSCALL1(times)
-SYSCALL2(truncate)
-SYSCALL1(umask)
-SYSCALL1(uname)
-SYSCALL1(unlink)
-SYSCALL2(utime)
-SYSCALL0(vfork)
-SYSCALL4(wait4)
-SYSCALL3(write)
-
-#define ALIAS(name) .GLOBAL name; SET name, _ ## name
-
-ALIAS(alarm)
-ALIAS(chdir)
-ALIAS(chmod)
-ALIAS(chown)
-ALIAS(dup)
-ALIAS(dup2)
-ALIAS(ftruncate)
-ALIAS(getdents)
-ALIAS(getegid)
-ALIAS(geteuid)
-ALIAS(getgid)
-ALIAS(getgroups)
-ALIAS(getpgid)
-ALIAS(getpgrp)
-ALIAS(getuid)
-ALIAS(ioctl)
-ALIAS(lchown)
-ALIAS(lstat)
-ALIAS(mkdir)
-ALIAS(mknod)
-ALIAS(nanosleep)
-ALIAS(pause)
-ALIAS(pipe)
-ALIAS(readlink)
-ALIAS(rmdir)
-ALIAS(select)
-ALIAS(setgid)
-ALIAS(setpgid)
-ALIAS(setsid)
-ALIAS(setuid)
-ALIAS(sigprocmask)
-ALIAS(stime)
-ALIAS(symlink)
-ALIAS(sync)
-ALIAS(sysinfo)
-ALIAS(truncate)
-ALIAS(umask)
-ALIAS(uname)
-ALIAS(utime)
-ALIAS(vfork)
-ALIAS(wait4)
-
-# define SOCKETCALL(name, NAME) \
- GLOBAL(name); \
- push { r0 - r3 }; \
- mov r0, #SYS_ ## NAME; \
- b _socketcall_tail; \
- SIZE(name)
-
-FUNC(_socketcall_tail)
- mov r1, sp
- push { lr }
- bl _socketcall
- pop { r3 }
- add sp, #16
-#if defined(__ARM_ARCH_2__) || defined(__ARM_ARCH_3__) \
- || defined(__ARM_ARCH_3M__) || defined(__ARM_ARCH_4__)
- mov pc, r3
-#else
- bx r3
-#endif
- SIZE(_socketcall_tail)
-
-#define SOCKETCALL2(name, NAME) SOCKETCALL(name, NAME)
-#define SOCKETCALL3(name, NAME) SOCKETCALL(name, NAME)
-#define SOCKETCALL4(name, NAME) SOCKETCALL(name, NAME)
-#define SOCKETCALL5(name, NAME) SOCKETCALL(name, NAME)
-#define SOCKETCALL6(name, NAME) SOCKETCALL(name, NAME)
-
-SOCKETCALL3(accept, ACCEPT)
-SOCKETCALL3(bind, BIND)
-SOCKETCALL3(connect, CONNECT)
-SOCKETCALL3(getpeername, GETPEERNAME)
-SOCKETCALL3(getsockname, GETSOCKNAME)
-SOCKETCALL5(getsockopt, GETSOCKOPT)
-SOCKETCALL2(listen, LISTEN)
-SOCKETCALL4(recv, RECV)
-SOCKETCALL6(recvfrom, RECVFROM)
-SOCKETCALL3(recvmsg, RECVMSG)
-SOCKETCALL4(send, SEND)
-SOCKETCALL3(sendmsg, SENDMSG)
-SOCKETCALL6(sendto, SENDTO)
-SOCKETCALL5(setsockopt, SETSOCKOPT)
-SOCKETCALL2(shutdown, SHUTDOWN)
-SOCKETCALL3(socket, SOCKET)
-SOCKETCALL4(socketpair, SOCKETPAIR)
diff --git a/libgloss/arm/linux-syscalls1.c b/libgloss/arm/linux-syscalls1.c
deleted file mode 100644
index a196352..0000000
--- a/libgloss/arm/linux-syscalls1.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/** Linux system call interface.
- * Written by Shaun Jackman <sjackman@gmail.com>.
- * Copyright 2006 Pathway Connectivity
- *
- * Permission to use, copy, modify, and distribute this software
- * is freely granted, provided that this notice is preserved.
- */
-
-#include <errno.h>
-#include <stdint.h>
-
-extern char _end[];
-static void *curbrk = _end;
-
-extern void *_brk(void *addr);
-
-int brk(void *addr)
-{
- void *newbrk;
- if (curbrk == addr)
- return 0;
- newbrk = _brk(addr);
- curbrk = newbrk;
- if (newbrk < addr) {
- errno = ENOMEM;
- return -1;
- }
- return 0;
-}
-
-void *_sbrk(intptr_t incr)
-{
- void *oldbrk = curbrk;
- if (brk(oldbrk + incr) == -1)
- return (void *)-1;
- return oldbrk;
-}
-
-void *sbrk(intptr_t incr) __attribute__((alias("_sbrk")));
-
-int _set_errno(int n)
-{
- if (n < 0) {
- errno = -n;
- return -1;
- }
- return n;
-}
-
-#include <sys/wait.h>
-
-struct rusage;
-
-pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
-
-pid_t _wait(int *status)
-{
- return wait4(-1, status, 0, NULL);
-}
-
-pid_t waitpid(pid_t pid, int *status, int options)
-{
- return wait4(pid, status, options, NULL);
-}
-
-extern int _reboot(int magic, int magic2, int flag, void *arg);
-
-int reboot(int flag)
-{
- return _reboot(0xfee1dead, 0x28121969, flag, NULL);
-}
diff --git a/libgloss/arm/redboot-crt0.S b/libgloss/arm/redboot-crt0.S
deleted file mode 100644
index 1d90228..0000000
--- a/libgloss/arm/redboot-crt0.S
+++ /dev/null
@@ -1,132 +0,0 @@
-#include "arm.h"
-
- .file "crt0.S"
-
-#define XGLUE(a,b) a##b
-#define GLUE(a,b) XGLUE(a,b)
-
-#ifdef __USER_LABEL_PREFIX__
-#define SYM_NAME( name ) GLUE (__USER_LABEL_PREFIX__, name)
-#else
-#error __USER_LABEL_PREFIX is not defined
-#endif
-
- .text
- .syntax unified
- /* Setup the assembly entry point. */
-#ifdef THUMB_V7_V6M
-.macro FUNC_START name
- .global \name
- .thumb_func
-\name:
-.endm
- .thumb
-#else
-.macro FUNC_START name
- .global \name
-\name:
-.endm
- .code 32
-#endif
- FUNC_START SYM_NAME(_start)
- /* Unnecessary to set fp for v6-m/v7-m, which don't support
- ARM state. */
-#ifndef THUMB_V7M_V6M
- mov fp, #0 /* Null frame pointer. */
-#endif
- movs r7, #0 /* Null frame pointer for Thumb. */
-
- /* Enable interrupts for gdb debugging. */
-#ifdef THUMB_V7_V6M
- cpsie if
-#else
- mrs r0, cpsr
- bic r0, r0, #0xC0
- msr cpsr, r0
-#endif
-
- movs a2, #0 /* Second arg: fill value. */
- ldr a1, .LC1 /* First arg: start of memory block. */
- ldr a3, .LC2
- subs a3, a3, a1 /* Third arg: length of block. */
-
-#ifdef GCRT0
- /* Zero out the bss without using memset.
- Using memset is bad because it may be instrumented for
- profiling, but at this point, the profiling data structures
- have not been set up.
- FIXME: This loop could be a lot more efficient. */
- subs a3, a3, #0
- beq 2f
-1: strb a2, [a1]
- subs a3, a3, #1
- add a1, a1, #1
- bne 1b
-2:
- /* Nothing to left to clear. */
-#endif
-
-#if defined(__thumb__) && !defined(THUMB_V7_V6M)
- /* Enter Thumb mode. */
- add a4, pc, #1 /* Get the address of the Thumb block. */
- bx a4 /* Go there and start Thumb decoding. */
-
- .code 16
- .global __change_mode
- .thumb_func
-__change_mode:
-#endif
-
-#ifndef GCRT0
- bl SYM_NAME(memset)
-#endif
- bl SYM_NAME(__get_memtop)
- subs r0, r0, #32
- mov sp, r0
-
-#ifdef __USES_INITFINI__
- /* Some arm/elf targets use the .init and .fini sections
- to create constructors and destructors, and for these
- targets we need to call the _init function and arrange
- for _fini to be called at program exit. */
- ldr r0, .Lfini
- bl SYM_NAME (atexit)
- bl SYM_NAME (_init)
-#endif
-
- movs a1, #0
- ldr a2, .LC3
- movs a3, a2
- bl SYM_NAME(main)
- 1: bl SYM_NAME(exit)
- b 1b
- .align 2
-.LC1:
- .word __bss_start__
-.LC2:
- .word __bss_end__
-.LC3:
- .word 0
-#ifdef __USES_INITFINI__
-.Lfini:
- .word SYM_NAME(_fini)
-#endif
-#if 0
-#ifdef __thumb__
- .code 16
-#endif
- .global SYM_NAME(__syscall)
-#ifdef __thumb__
- .thumb_func
-#else
- .align 4
-#endif
-SYM_NAME(__syscall):
- mov r12, lr
-#ifdef __thumb__
- swi 0x18
-#else
- swi 0x180001
-#endif
- mov pc, r12
-#endif
diff --git a/libgloss/arm/redboot-syscalls.c b/libgloss/arm/redboot-syscalls.c
deleted file mode 100644
index c6b743e..0000000
--- a/libgloss/arm/redboot-syscalls.c
+++ /dev/null
@@ -1,284 +0,0 @@
-/*
- * redboot-syscalls.c -- provide system call support for RedBoot
- *
- * Copyright (c) 1997, 2001, 2002 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- */
-
-#include <stdlib.h>
-#include <sys/stat.h>
-#include <sys/times.h>
-#include <errno.h>
-#include "syscall.h"
-
-// Use "naked" attribute to suppress C prologue/epilogue
-static int __attribute__ ((naked)) __syscall(int func_no, ...)
-{
- asm ("mov r12, lr\n");
-#ifdef __thumb__
- asm ("swi 0x18\n");
-#else
- asm ("swi 0x180001\n");
-#endif
- asm ("mov pc, r12\n");
-}
-
-int
-_close(int fd)
-{
- int err;
- err = __syscall(SYS_close, fd);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-void
-_exit(int stat)
-{
- while (1)
- __syscall(SYS_exit, stat);
-}
-
-
-int
-_stat (const char *filename, struct stat *st)
-{
- int err;
- err = __syscall(SYS_stat, filename, st);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-int
-_fstat (int file, struct stat *st)
-{
- int err;
- err = __syscall(SYS_fstat, file, st);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-int
-_getpid(void)
-{
- return 1;
-}
-
-
-int
-_gettimeofday (void * tp, void * tzp)
-{
- int err;
- err = __syscall(SYS_gettimeofday, tp, tzp);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-int
-_isatty(int fd)
-{
- int err;
- err = __syscall(SYS_isatty, fd);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-int
-_kill(int pid, int sig)
-{
- if(pid == 1)
- _exit(sig);
- return 0;
-}
-
-
-off_t
-_lseek(int fd, off_t offset, int whence)
-{
- int err;
- err = __syscall(SYS_lseek, fd, offset, whence);
- if (err<0)
- {
- errno = -err;
- return (off_t)-1;
- }
- return err;
-}
-
-
-int
-_open(const char *buf, int flags, int mode)
-{
- int err ;
- err = __syscall(SYS_open, buf, flags, mode);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-int
-_write(int fd, const char *buf, int nbytes)
-{
- int err;
-
- err = __syscall(SYS_write, fd, buf, nbytes);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-void
-print(char *ptr)
-{
- char *p = ptr;
-
- while (*p != '\0')
- p++;
-
- _write (1, ptr, p-ptr);
-}
-
-void
-_raise (void)
-{
- return;
-}
-
-
-int
-_read(int fd, char *buf, int nbytes)
-{
- int err;
- err = __syscall(SYS_read, fd, buf, nbytes);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-
-extern char end[]; /* end is set in the linker command file */
-
-char *heap_ptr;
-
-char *
-_sbrk (int nbytes)
-{
- char *base;
-
- if (!heap_ptr)
- heap_ptr = (char *)&end;
- base = heap_ptr;
- heap_ptr += nbytes;
-
- return base;
-}
-
-
-clock_t
-_times(struct tms * tp)
-{
- clock_t utime;
- int err;
- err = __syscall(SYS_times, &utime);
- if (err)
- utime = 0;
-
- if (tp) {
- tp->tms_utime = utime;
- tp->tms_stime = 0;
- tp->tms_cutime = 0;
- tp->tms_cstime = 0;
- }
-
- return utime;
-}
-
-int
-_rename (const char *oldpath, const char *newpath)
-{
- int err ;
- err = __syscall(SYS_rename, oldpath, newpath);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-int
-_unlink (const char *pathname)
-{
- int err ;
- err = __syscall(SYS_unlink, pathname);
- if (err<0)
- {
- errno = -err;
- return -1;
- }
- return err;
-}
-
-int
-_system (const char *command)
-{
- int err ;
- err = __syscall(SYS_system, command);
- return err;
-}
-
-#define SYS_meminfo 1001
-
-void *
-__get_memtop(void)
-{
- unsigned long totmem = 0, topmem = 0;
- int numbanks;
-
- __syscall(SYS_meminfo, (unsigned long)&totmem, (unsigned long)&topmem, 0);
- return (void*)topmem;
-}
diff --git a/libgloss/arm/swi.h b/libgloss/arm/swi.h
deleted file mode 100644
index 0f93134..0000000
--- a/libgloss/arm/swi.h
+++ /dev/null
@@ -1,91 +0,0 @@
-#include "arm.h"
-
-/* SWI numbers for RDP (Demon) monitor. */
-#define SWI_WriteC 0x0
-#define SWI_Write0 0x2
-#define SWI_ReadC 0x4
-#define SWI_CLI 0x5
-#define SWI_GetEnv 0x10
-#define SWI_Exit 0x11
-#define SWI_EnterOS 0x16
-
-#define SWI_GetErrno 0x60
-#define SWI_Clock 0x61
-#define SWI_Time 0x63
-#define SWI_Remove 0x64
-#define SWI_Rename 0x65
-#define SWI_Open 0x66
-
-#define SWI_Close 0x68
-#define SWI_Write 0x69
-#define SWI_Read 0x6a
-#define SWI_Seek 0x6b
-#define SWI_Flen 0x6c
-
-#define SWI_IsTTY 0x6e
-#define SWI_TmpNam 0x6f
-#define SWI_InstallHandler 0x70
-#define SWI_GenerateError 0x71
-
-
-/* Now the SWI numbers and reason codes for RDI (Angel) monitors. */
-#define AngelSWI_ARM 0x123456
-#ifdef __thumb__
-#define AngelSWI 0xAB
-#else
-#define AngelSWI AngelSWI_ARM
-#endif
-/* For thumb only architectures use the BKPT instruction instead of SWI. */
-#ifdef THUMB_V7M_V6M
-#define AngelSWIInsn "bkpt"
-#define AngelSWIAsm bkpt
-#else
-#define AngelSWIInsn "swi"
-#define AngelSWIAsm swi
-#endif
-
-/* The reason codes: */
-#define AngelSWI_Reason_Open 0x01
-#define AngelSWI_Reason_Close 0x02
-#define AngelSWI_Reason_WriteC 0x03
-#define AngelSWI_Reason_Write0 0x04
-#define AngelSWI_Reason_Write 0x05
-#define AngelSWI_Reason_Read 0x06
-#define AngelSWI_Reason_ReadC 0x07
-#define AngelSWI_Reason_IsTTY 0x09
-#define AngelSWI_Reason_Seek 0x0A
-#define AngelSWI_Reason_FLen 0x0C
-#define AngelSWI_Reason_TmpNam 0x0D
-#define AngelSWI_Reason_Remove 0x0E
-#define AngelSWI_Reason_Rename 0x0F
-#define AngelSWI_Reason_Clock 0x10
-#define AngelSWI_Reason_Time 0x11
-#define AngelSWI_Reason_System 0x12
-#define AngelSWI_Reason_Errno 0x13
-#define AngelSWI_Reason_GetCmdLine 0x15
-#define AngelSWI_Reason_HeapInfo 0x16
-#define AngelSWI_Reason_EnterSVC 0x17
-#define AngelSWI_Reason_ReportException 0x18
-#define ADP_Stopped_ApplicationExit ((2 << 16) + 38)
-#define ADP_Stopped_RunTimeError ((2 << 16) + 35)
-
-#if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)
-
-static inline int
-do_AngelSWI (int reason, void * arg)
-{
- int value;
- asm volatile ("mov r0, %1; mov r1, %2; " AngelSWIInsn " %a3; mov %0, r0"
- : "=r" (value) /* Outputs */
- : "r" (reason), "r" (arg), "i" (AngelSWI) /* Inputs */
- : "r0", "r1", "r2", "r3", "ip", "lr", "memory", "cc"
- /* Clobbers r0 and r1, and lr if in supervisor mode */);
- /* Accordingly to page 13-77 of ARM DUI 0040D other registers
- can also be clobbered. Some memory positions may also be
- changed by a system call, so they should not be kept in
- registers. Note: we are assuming the manual is right and
- Angel is respecting the APCS. */
- return value;
-}
-
-#endif
diff --git a/libgloss/arm/syscall.h b/libgloss/arm/syscall.h
deleted file mode 100644
index 759801f..0000000
--- a/libgloss/arm/syscall.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* General use syscall.h file.
- The more ports that use this file, the simpler sim/common/nltvals.def
- remains. */
-
-#ifndef LIBGLOSS_SYSCALL_H
-#define LIBGLOSS_SYSCALL_H
-
-/* Note: This file may be included by assembler source. */
-
-/* These should be as small as possible to allow a port to use a trap type
- instruction, which the system call # as the trap (the d10v for instance
- supports traps 0..31). An alternative would be to define one trap for doing
- system calls, and put the system call number in a register that is not used
- for the normal calling sequence (so that you don't have to shift down the
- arguments to add the system call number). Obviously, if these system call
- numbers are ever changed, all of the simulators and potentially user code
- will need to be updated. */
-
-/* There is no current need for the following: SYS_execv, SYS_creat, SYS_wait,
- etc. etc. Don't add them. */
-
-/* These are required by the ANSI C part of newlib (excluding system() of
- course). */
-#define SYS_exit 1
-#define SYS_open 2
-#define SYS_close 3
-#define SYS_read 4
-#define SYS_write 5
-#define SYS_lseek 6
-#define SYS_unlink 7
-#define SYS_getpid 8
-#define SYS_kill 9
-#define SYS_fstat 10
-/*#define SYS_sbrk 11 - not currently a system call, but reserved. */
-
-/* ARGV support. */
-#define SYS_argvlen 12
-#define SYS_argv 13
-
-/* These are extras added for one reason or another. */
-#define SYS_chdir 14
-#define SYS_stat 15
-#define SYS_chmod 16
-#define SYS_utime 17
-#define SYS_time 18
-#define SYS_gettimeofday 19
-#define SYS_times 20
-#define SYS_link 21
-/* These are additional syscalls in RedBoot. */
-#define SYS_rename 3001
-#define SYS_isatty 3002
-#define SYS_system 3003
-
-#endif
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c
deleted file mode 100644
index 54e3d74..0000000
--- a/libgloss/arm/syscalls.c
+++ /dev/null
@@ -1,855 +0,0 @@
-/* Support files for GNU libc. Files in the system namespace go here.
- Files in the C namespace (ie those that do not start with an
- underscore) go in .c. */
-
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/fcntl.h>
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <errno.h>
-#include <reent.h>
-#include <unistd.h>
-#include <sys/wait.h>
-#include "swi.h"
-
-/* Forward prototypes. */
-int _system _PARAMS ((const char *));
-int _rename _PARAMS ((const char *, const char *));
-int _isatty _PARAMS ((int));
-clock_t _times _PARAMS ((struct tms *));
-int _gettimeofday _PARAMS ((struct timeval *, void *));
-int _unlink _PARAMS ((const char *));
-int _link _PARAMS ((void));
-int _stat _PARAMS ((const char *, struct stat *));
-int _fstat _PARAMS ((int, struct stat *));
-int _swistat _PARAMS ((int fd, struct stat * st));
-caddr_t _sbrk _PARAMS ((int));
-int _getpid _PARAMS ((int));
-int _close _PARAMS ((int));
-clock_t _clock _PARAMS ((void));
-int _swiclose _PARAMS ((int));
-int _open _PARAMS ((const char *, int, ...));
-int _swiopen _PARAMS ((const char *, int));
-int _write _PARAMS ((int, char *, int));
-int _swiwrite _PARAMS ((int, char *, int));
-int _lseek _PARAMS ((int, int, int));
-int _swilseek _PARAMS ((int, int, int));
-int _read _PARAMS ((int, char *, int));
-int _swiread _PARAMS ((int, char *, int));
-void initialise_monitor_handles _PARAMS ((void));
-
-static int checkerror _PARAMS ((int));
-static int error _PARAMS ((int));
-static int get_errno _PARAMS ((void));
-
-/* Struct used to keep track of the file position, just so we
- can implement fseek(fh,x,SEEK_CUR). */
-struct fdent
-{
- int handle;
- int pos;
-};
-
-#define MAX_OPEN_FILES 20
-
-/* User file descriptors (fd) are integer indexes into
- the openfiles[] array. Error checking is done by using
- findslot().
-
- This openfiles array is manipulated directly by only
- these 5 functions:
-
- findslot() - Translate entry.
- newslot() - Find empty entry.
- initilise_monitor_handles() - Initialize entries.
- _swiopen() - Initialize entry.
- _close() - Handle stdout == stderr case.
-
- Every other function must use findslot(). */
-
-static struct fdent openfiles [MAX_OPEN_FILES];
-
-static struct fdent* findslot _PARAMS ((int));
-static int newslot _PARAMS ((void));
-
-/* Register name faking - works in collusion with the linker. */
-register char * stack_ptr asm ("sp");
-
-
-/* following is copied from libc/stdio/local.h to check std streams */
-extern void _EXFUN(__sinit,(struct _reent *));
-#define CHECK_INIT(ptr) \
- do \
- { \
- if ((ptr) && !(ptr)->__sdidinit) \
- __sinit (ptr); \
- } \
- while (0)
-
-static int monitor_stdin;
-static int monitor_stdout;
-static int monitor_stderr;
-
-/* Return a pointer to the structure associated with
- the user file descriptor fd. */
-static struct fdent*
-findslot (int fd)
-{
- CHECK_INIT(_REENT);
-
- /* User file descriptor is out of range. */
- if ((unsigned int)fd >= MAX_OPEN_FILES)
- return NULL;
-
- /* User file descriptor is open? */
- if (openfiles[fd].handle == -1)
- return NULL;
-
- /* Valid. */
- return &openfiles[fd];
-}
-
-/* Return the next lowest numbered free file
- structure, or -1 if we can't find one. */
-static int
-newslot (void)
-{
- int i;
-
- for (i = 0; i < MAX_OPEN_FILES; i++)
- if (openfiles[i].handle == -1)
- break;
-
- if (i == MAX_OPEN_FILES)
- return -1;
-
- return i;
-}
-
-void
-initialise_monitor_handles (void)
-{
- int i;
-
- /* Open the standard file descriptors by opening the special
- * teletype device, ":tt", read-only to obtain a descritpor for
- * standard input and write-only to obtain a descriptor for standard
- * output. Finally, open ":tt" in append mode to obtain a descriptor
- * for standard error. Since this is a write mode, most kernels will
- * probably return the same value as for standard output, but the
- * kernel can differentiate the two using the mode flag and return a
- * different descriptor for standard error.
- */
-
-#ifdef ARM_RDI_MONITOR
- int volatile block[3];
-
- block[0] = (int) ":tt";
- block[2] = 3; /* length of filename */
- block[1] = 0; /* mode "r" */
- monitor_stdin = do_AngelSWI (AngelSWI_Reason_Open, (void *) block);
-
- block[0] = (int) ":tt";
- block[2] = 3; /* length of filename */
- block[1] = 4; /* mode "w" */
- monitor_stdout = do_AngelSWI (AngelSWI_Reason_Open, (void *) block);
-
- block[0] = (int) ":tt";
- block[2] = 3; /* length of filename */
- block[1] = 8; /* mode "a" */
- monitor_stderr = do_AngelSWI (AngelSWI_Reason_Open, (void *) block);
-#else
- int fh;
- const char * name;
-
- name = ":tt";
- asm ("mov r0,%2; mov r1, #0; swi %a1; mov %0, r0"
- : "=r"(fh)
- : "i" (SWI_Open),"r"(name)
- : "r0","r1");
- monitor_stdin = fh;
-
- name = ":tt";
- asm ("mov r0,%2; mov r1, #4; swi %a1; mov %0, r0"
- : "=r"(fh)
- : "i" (SWI_Open),"r"(name)
- : "r0","r1");
- monitor_stdout = fh;
-
- name = ":tt";
- asm ("mov r0,%2; mov r1, #8; swi %a1; mov %0, r0"
- : "=r"(fh)
- : "i" (SWI_Open),"r"(name)
- : "r0","r1");
- monitor_stderr = fh;
-#endif
-
- /* If we failed to open stderr, redirect to stdout. */
- if (monitor_stderr == -1)
- monitor_stderr = monitor_stdout;
-
- for (i = 0; i < MAX_OPEN_FILES; i ++)
- openfiles[i].handle = -1;
-
- openfiles[0].handle = monitor_stdin;
- openfiles[0].pos = 0;
- openfiles[1].handle = monitor_stdout;
- openfiles[1].pos = 0;
- openfiles[2].handle = monitor_stderr;
- openfiles[2].pos = 0;
-}
-
-static int
-get_errno (void)
-{
-#ifdef ARM_RDI_MONITOR
- return do_AngelSWI (AngelSWI_Reason_Errno, NULL);
-#else
- register r0 asm("r0");
- asm ("swi %a1" : "=r"(r0) : "i" (SWI_GetErrno));
- return r0;
-#endif
-}
-
-/* Set errno and return result. */
-static int
-error (int result)
-{
- errno = get_errno ();
- return result;
-}
-
-/* Check the return and set errno appropriately. */
-static int
-checkerror (int result)
-{
- if (result == -1)
- return error (-1);
- return result;
-}
-
-/* fh, is a valid internal file handle.
- ptr, is a null terminated string.
- len, is the length in bytes to read.
- Returns the number of bytes *not* written. */
-int
-_swiread (int fh,
- char * ptr,
- int len)
-{
-#ifdef ARM_RDI_MONITOR
- int block[3];
-
- block[0] = fh;
- block[1] = (int) ptr;
- block[2] = len;
-
- return checkerror (do_AngelSWI (AngelSWI_Reason_Read, block));
-#else
- register r0 asm("r0");
- register r1 asm("r1");
- register r2 asm("r2");
- r0 = fh;
- r1 = (int)ptr;
- r2 = len;
- asm ("swi %a4"
- : "=r" (r0)
- : "0"(r0), "r"(r1), "r"(r2), "i"(SWI_Read));
- return checkerror (r0);
-#endif
-}
-
-/* fd, is a valid user file handle.
- Translates the return of _swiread into
- bytes read. */
-int __attribute__((weak))
-_read (int fd,
- char * ptr,
- int len)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- res = _swiread (pfd->handle, ptr, len);
-
- if (res == -1)
- return res;
-
- pfd->pos += len - res;
-
- /* res == len is not an error,
- at least if we want feof() to work. */
- return len - res;
-}
-
-/* fd, is a user file descriptor. */
-int
-_swilseek (int fd,
- int ptr,
- int dir)
-{
- int res;
- struct fdent *pfd;
-
- /* Valid file descriptor? */
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- /* Valid whence? */
- if ((dir != SEEK_CUR)
- && (dir != SEEK_SET)
- && (dir != SEEK_END))
- {
- errno = EINVAL;
- return -1;
- }
-
- /* Convert SEEK_CUR to SEEK_SET */
- if (dir == SEEK_CUR)
- {
- ptr = pfd->pos + ptr;
- /* The resulting file offset would be negative. */
- if (ptr < 0)
- {
- errno = EINVAL;
- if ((pfd->pos > 0) && (ptr > 0))
- errno = EOVERFLOW;
- return -1;
- }
- dir = SEEK_SET;
- }
-
-#ifdef ARM_RDI_MONITOR
- int block[2];
- if (dir == SEEK_END)
- {
- block[0] = pfd->handle;
- res = checkerror (do_AngelSWI (AngelSWI_Reason_FLen, block));
- if (res == -1)
- return -1;
- ptr += res;
- }
-
- /* This code only does absolute seeks. */
- block[0] = pfd->handle;
- block[1] = ptr;
- res = checkerror (do_AngelSWI (AngelSWI_Reason_Seek, block));
-#else
- if (dir == SEEK_END)
- {
- asm ("mov r0, %2; swi %a1; mov %0, r0"
- : "=r" (res)
- : "i" (SWI_Flen), "r" (pfd->handle)
- : "r0");
- checkerror (res);
- if (res == -1)
- return -1;
- ptr += res;
- }
-
- /* This code only does absolute seeks. */
- asm ("mov r0, %2; mov r1, %3; swi %a1; mov %0, r0"
- : "=r" (res)
- : "i" (SWI_Seek), "r" (pfd->handle), "r" (ptr)
- : "r0", "r1");
- checkerror (res);
-#endif
- /* At this point ptr is the current file position. */
- if (res >= 0)
- {
- pfd->pos = ptr;
- return ptr;
- }
- else
- return -1;
-}
-
-_lseek (int fd,
- int ptr,
- int dir)
-{
- return _swilseek (fd, ptr, dir);
-}
-
-/* fh, is a valid internal file handle.
- Returns the number of bytes *not* written. */
-int
-_swiwrite (
- int fh,
- char * ptr,
- int len)
-{
-#ifdef ARM_RDI_MONITOR
- int block[3];
-
- block[0] = fh;
- block[1] = (int) ptr;
- block[2] = len;
-
- return checkerror (do_AngelSWI (AngelSWI_Reason_Write, block));
-#else
- register r0 asm("r0");
- register r1 asm("r1");
- register r2 asm("r2");
- r0 = fh;
- r1 = (int)ptr;
- r2 = len;
- asm ("swi %a4"
- : "=r" (r0)
- : "0"(r0), "r"(r1), "r"(r2), "i"(SWI_Write));
- return checkerror (r0);
-#endif
-}
-
-/* fd, is a user file descriptor. */
-int __attribute__((weak))
-_write (int fd,
- char * ptr,
- int len)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- res = _swiwrite (pfd->handle, ptr,len);
-
- /* Clearly an error. */
- if (res < 0)
- return -1;
-
- pfd->pos += len - res;
-
- /* We wrote 0 bytes?
- Retrieve errno just in case. */
- if ((len - res) == 0)
- return error (0);
-
- return (len - res);
-}
-
-int
-_swiopen (const char * path, int flags)
-{
- int aflags = 0, fh;
-#ifdef ARM_RDI_MONITOR
- int block[3];
-#endif
-
- int fd = newslot ();
-
- if (fd == -1)
- {
- errno = EMFILE;
- return -1;
- }
-
- /* It is an error to open a file that already exists. */
- if ((flags & O_CREAT)
- && (flags & O_EXCL))
- {
- struct stat st;
- int res;
- res = _stat (path, &st);
- if (res != -1)
- {
- errno = EEXIST;
- return -1;
- }
- }
-
- /* The flags are Unix-style, so we need to convert them. */
-#ifdef O_BINARY
- if (flags & O_BINARY)
- aflags |= 1;
-#endif
-
- /* In O_RDONLY we expect aflags == 0. */
-
- if (flags & O_RDWR)
- aflags |= 2;
-
- if ((flags & O_CREAT)
- || (flags & O_TRUNC)
- || (flags & O_WRONLY))
- aflags |= 4;
-
- if (flags & O_APPEND)
- {
- /* Can't ask for w AND a; means just 'a'. */
- aflags &= ~4;
- aflags |= 8;
- }
-
-#ifdef ARM_RDI_MONITOR
- block[0] = (int) path;
- block[2] = strlen (path);
- block[1] = aflags;
-
- fh = do_AngelSWI (AngelSWI_Reason_Open, block);
-
-#else
- asm ("mov r0,%2; mov r1, %3; swi %a1; mov %0, r0"
- : "=r"(fh)
- : "i" (SWI_Open),"r"(path),"r"(aflags)
- : "r0","r1");
-#endif
-
- /* Return a user file descriptor or an error. */
- if (fh >= 0)
- {
- openfiles[fd].handle = fh;
- openfiles[fd].pos = 0;
- return fd;
- }
- else
- return error (fh);
-}
-
-int
-_open (const char * path, int flags, ...)
-{
- return _swiopen (path, flags);
-}
-
-/* fh, is a valid internal file handle. */
-int
-_swiclose (int fh)
-{
-#ifdef ARM_RDI_MONITOR
- return checkerror (do_AngelSWI (AngelSWI_Reason_Close, &fh));
-#else
- register r0 asm("r0");
- r0 = fh;
- asm ("swi %a2"
- : "=r"(r0)
- : "0"(r0), "i" (SWI_Close));
- return checkerror (r0);
-#endif
-}
-
-/* fd, is a user file descriptor. */
-int
-_close (int fd)
-{
- int res;
- struct fdent *pfd;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- /* Handle stderr == stdout. */
- if ((fd == 1 || fd == 2)
- && (openfiles[1].handle == openfiles[2].handle))
- {
- pfd->handle = -1;
- return 0;
- }
-
- /* Attempt to close the handle. */
- res = _swiclose (pfd->handle);
-
- /* Reclaim handle? */
- if (res == 0)
- pfd->handle = -1;
-
- return res;
-}
-
-int __attribute__((weak))
-_getpid (int n __attribute__ ((unused)))
-{
- return 1;
-}
-
-caddr_t __attribute__((weak))
-_sbrk (int incr)
-{
- extern char end asm ("end"); /* Defined by the linker. */
- static char * heap_end;
- char * prev_heap_end;
-
- if (heap_end == NULL)
- heap_end = & end;
-
- prev_heap_end = heap_end;
-
- if (heap_end + incr > stack_ptr)
- {
- /* Some of the libstdc++-v3 tests rely upon detecting
- out of memory errors, so do not abort here. */
-#if 0
- extern void abort (void);
-
- _write (1, "_sbrk: Heap and stack collision\n", 32);
-
- abort ();
-#else
- errno = ENOMEM;
- return (caddr_t) -1;
-#endif
- }
-
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
-
-int
-_swistat (int fd, struct stat * st)
-{
- struct fdent *pfd;
- int res;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return -1;
- }
-
- /* Always assume a character device,
- with 1024 byte blocks. */
- st->st_mode |= S_IFCHR;
- st->st_blksize = 1024;
-#ifdef ARM_RDI_MONITOR
- res = checkerror (do_AngelSWI (AngelSWI_Reason_FLen, &pfd->handle));
-#else
- asm ("mov r0, %2; swi %a1; mov %0, r0"
- : "=r" (res)
- : "i" (SWI_Flen), "r" (pfd->handle)
- : "r0");
- checkerror (res);
-#endif
- if (res == -1)
- return -1;
- /* Return the file size. */
- st->st_size = res;
- return 0;
-}
-
-int __attribute__((weak))
-_fstat (int fd, struct stat * st)
-{
- memset (st, 0, sizeof (* st));
- return _swistat (fd, st);
-}
-
-int __attribute__((weak))
-_stat (const char *fname, struct stat *st)
-{
- int fd, res;
- memset (st, 0, sizeof (* st));
- /* The best we can do is try to open the file readonly.
- If it exists, then we can guess a few things about it. */
- if ((fd = _open (fname, O_RDONLY)) == -1)
- return -1;
- st->st_mode |= S_IFREG | S_IREAD;
- res = _swistat (fd, st);
- /* Not interested in the error. */
- _close (fd);
- return res;
-}
-
-int __attribute__((weak))
-_link (void)
-{
- errno = ENOSYS;
- return -1;
-}
-
-int
-_unlink (const char *path)
-{
- int res;
-#ifdef ARM_RDI_MONITOR
- int block[2];
- block[0] = (int)path;
- block[1] = strlen(path);
- res = do_AngelSWI (AngelSWI_Reason_Remove, block);
-#else
- register r0 asm("r0");
- r0 = (int)path;
- asm ("swi %a2"
- : "=r"(r0)
- : "0"(r0), "i" (SWI_Remove));
- res = r0;
-#endif
- if (res == -1)
- return error (res);
- return 0;
-}
-
-int
-_gettimeofday (struct timeval * tp, void * tzvp)
-{
- struct timezone *tzp = tzvp;
- if (tp)
- {
- /* Ask the host for the seconds since the Unix epoch. */
-#ifdef ARM_RDI_MONITOR
- tp->tv_sec = do_AngelSWI (AngelSWI_Reason_Time,NULL);
-#else
- {
- int value;
- asm ("swi %a1; mov %0, r0" : "=r" (value): "i" (SWI_Time) : "r0");
- tp->tv_sec = value;
- }
-#endif
- tp->tv_usec = 0;
- }
-
- /* Return fixed data for the timezone. */
- if (tzp)
- {
- tzp->tz_minuteswest = 0;
- tzp->tz_dsttime = 0;
- }
-
- return 0;
-}
-
-/* Return a clock that ticks at 100Hz. */
-clock_t
-_clock (void)
-{
- clock_t timeval;
-
-#ifdef ARM_RDI_MONITOR
- timeval = do_AngelSWI (AngelSWI_Reason_Clock,NULL);
-#else
- asm ("swi %a1; mov %0, r0" : "=r" (timeval): "i" (SWI_Clock) : "r0");
-#endif
- return timeval;
-}
-
-/* Return a clock that ticks at 100Hz. */
-clock_t
-_times (struct tms * tp)
-{
- clock_t timeval = _clock();
-
- if (tp)
- {
- tp->tms_utime = timeval; /* user time */
- tp->tms_stime = 0; /* system time */
- tp->tms_cutime = 0; /* user time, children */
- tp->tms_cstime = 0; /* system time, children */
- }
-
- return timeval;
-};
-
-
-int
-_isatty (int fd)
-{
- struct fdent *pfd;
- int tty;
-
- pfd = findslot (fd);
- if (pfd == NULL)
- {
- errno = EBADF;
- return 0;
- }
-
-#ifdef ARM_RDI_MONITOR
- tty = do_AngelSWI (AngelSWI_Reason_IsTTY, &pfd->handle);
-#else
- register r0 asm("r0");
- r0 = pfd->handle;
- asm ("swi %a2"
- : "=r" (r0)
- : "0"(r0), "i" (SWI_IsTTY));
- tty = r0;
-#endif
-
- if (tty == 1)
- return 1;
- errno = get_errno ();
- return 0;
-}
-
-int
-_system (const char *s)
-{
-#ifdef ARM_RDI_MONITOR
- int block[2];
- int e;
-
- /* Hmmm. The ARM debug interface specification doesn't say whether
- SYS_SYSTEM does the right thing with a null argument, or assign any
- meaning to its return value. Try to do something reasonable.... */
- if (!s)
- return 1; /* maybe there is a shell available? we can hope. :-P */
- block[0] = (int)s;
- block[1] = strlen (s);
- e = checkerror (do_AngelSWI (AngelSWI_Reason_System, block));
- if ((e >= 0) && (e < 256))
- {
- /* We have to convert e, an exit status to the encoded status of
- the command. To avoid hard coding the exit status, we simply
- loop until we find the right position. */
- int exit_code;
-
- for (exit_code = e; e && WEXITSTATUS (e) != exit_code; e <<= 1)
- continue;
- }
- return e;
-#else
- register r0 asm("r0");
- r0 = (int)s;
- asm ("swi %a2"
- : "=r" (r0)
- : "0"(r0), "i" (SWI_CLI));
- return checkerror (r0);
-#endif
-}
-
-int
-_rename (const char * oldpath, const char * newpath)
-{
-#ifdef ARM_RDI_MONITOR
- int block[4];
- block[0] = (int)oldpath;
- block[1] = strlen(oldpath);
- block[2] = (int)newpath;
- block[3] = strlen(newpath);
- return checkerror (do_AngelSWI (AngelSWI_Reason_Rename, block)) ? -1 : 0;
-#else
- register r0 asm("r0");
- register r1 asm("r1");
- r0 = (int)oldpath;
- r1 = (int)newpath;
- asm ("swi %a3"
- : "=r" (r0)
- : "0" (r0), "r" (r1), "i" (SWI_Rename));
- return checkerror (r0);
-#endif
-}
diff --git a/libgloss/arm/trap.S b/libgloss/arm/trap.S
deleted file mode 100644
index 9eb3906..0000000
--- a/libgloss/arm/trap.S
+++ /dev/null
@@ -1,96 +0,0 @@
-#include "arm.h"
- /* Run-time exception support */
-#ifndef THUMB_V7_V6M
-#include "swi.h"
-
-/* .text is used instead of .section .text so it works with arm-aout too. */
- .text
- .align 0
- .global __rt_stkovf_split_big
- .global __rt_stkovf_split_small
-
-/* The following functions are provided for software stack checking.
- If hardware stack-checking is being used then the code can be
- compiled without the PCS entry checks, and simply rely on VM
- management to extend the stack for a thread.
-
- The stack extension event occurs when the PCS function entry code
- would result in a stack-pointer beneath the stack-limit register
- value. The system relies on the following map:
-
- +-----------------------------------+ <-- end of stack block
- | ... |
- | ... |
- | active stack |
- | ... | <-- sp (stack-pointer) somewhere in here
- | ... |
- +-----------------------------------+ <-- sl (stack-limit)
- | stack-extension handler workspace |
- +-----------------------------------+ <-- base of stack block
-
- The "stack-extension handler workspace" is an amount of memory in
- which the stack overflow support code must execute. It must be
- large enough to deal with the worst case path through the extension
- code. At the moment the compiler expects this to be AT LEAST
- 256bytes. It uses this fact to code functions with small local
- data usage within the overflow space.
-
- In a true target environment We may need to increase the space
- between sl and the true limit to allow for the stack extension
- code, SWI handlers and for undefined instruction handlers of the
- target environment. */
-
-__rt_stkovf_split_small:
- mov ip,sp @ Ensure we can calculate the stack required
- @ and fall through to...
-__rt_stkovf_split_big:
- @ in: sp = current stack-pointer (beneath stack-limit)
- @ sl = current stack-limit
- @ ip = low stack point we require for the current function
- @ lr = return address into the current function
- @ fp = frame-pointer
- @ original sp --> +----------------------------------+
- @ | pc (12 ahead of PCS entry store) |
- @ current fp ---> +----------------------------------+
- @ | lr (on entry) pc (on exit) |
- @ +----------------------------------+
- @ | sp ("original sp" on entry) |
- @ +----------------------------------+
- @ | fp (on entry to function) |
- @ +----------------------------------+
- @ | |
- @ | ..argument and work registers.. |
- @ | |
- @ current sp ---> +----------------------------------+
- @
- @ The "current sl" is somewhere between "original sp" and "current sp"
- @ but above "true sl". The "current sl" should be at least 256bytes
- @ above the "true sl". The 256byte stack guard should be large enough
- @ to deal with the worst case function entry stacking (160bytes) plus
- @ the stack overflow handler stacking requirements, plus the stack
- @ required for the memory allocation routines.
- @
- @ Normal PCS entry (before stack overflow check) can stack 16
- @ standard registers (64bytes) and 8 floating point registers
- @ (96bytes). This gives a minimum stack guard of 160bytes (excluding
- @ the stack required for the code). (Actually only a maximum of
- @ 14standard registers are ever stacked on entry to a function).
- @
- @ NOTE: Structure returns are performed by the caller allocating a
- @ dummy space on the stack and passing in a "phantom" arg1 into
- @ the function. This means that we do not need to worry about
- @ preserving the stack under "sp" even on function return.
- @
- @ Code should never poke values beneath sp. The sp register
- @ should always be "dropped" first to cover the data. This
- @ protects the data against any events that may try and use
- @ the stack.
-
- SUB ip, sp, ip @ extra stack required for function
- @ Add stack extension code here. If desired a new stack chunk
- @ can be allocated, and the register state updated suitably.
-
- @ We now know how much extra stack the function requires.
- @ Terminate the program for the moment:
- swi SWI_Exit
-#endif
diff --git a/libgloss/arm/truncate.c b/libgloss/arm/truncate.c
deleted file mode 100644
index 92c0fca..0000000
--- a/libgloss/arm/truncate.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (c) 2013 ARM Ltd. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
- THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-#include <sys/types.h>
-
-int
-truncate (const char *path, off_t length)
-{
- errno = ENOSYS;
- return -1;
-}
diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in
deleted file mode 100644
index c867108..0000000
--- a/libgloss/bfin/Makefile.in
+++ /dev/null
@@ -1,209 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-top_srcdir = @top_srcdir@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS =
-CFLAGS =
-SCRIPTS =
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = crt0.o
-SIM_OBJS = syscalls.o clear_cache_range.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the development board stuff
-BOARD_SCRIPTS = bfin-common-sc.ld bfin-common-mc.ld bfin-common-mc0.ld \
- bf504.ld bf506.ld \
- bf512.ld bf514.ld bf516.ld bf518.ld \
- bf522.ld bf523.ld bf524.ld bf525.ld bf526.ld bf527.ld \
- bf531.ld bf532.ld bf533.ld \
- bf534.ld bf536.ld bf537.ld \
- bf538.ld bf539.ld \
- bf542.ld bf544.ld bf547.ld bf548.ld bf549.ld \
- bf561.ld bf561a.ld bf561b.ld bf561m.ld \
- bf606.ld bf606c0.ld bf606c1.ld bf606m.ld \
- bf607.ld bf607c0.ld bf607c1.ld bf607m.ld \
- bf608.ld bf608c0.ld bf608c1.ld bf608m.ld \
- bf609.ld bf609c0.ld bf609c1.ld bf609m.ld \
- bf592.ld
-BOARD_LDFLAGS =
-BOARD_BSP = libbfinbsp.a
-BOARD_CRT0S = basiccrt.o basiccrts.o
-BOARD_CRT0S += basiccrt561.o basiccrt561s.o basiccrt561b.o
-BOARD_CRT0S += basiccrt60x.o basiccrt60xs.o basiccrt60xc1.o
-BOARD_OBJS = clear_cache_range.o _exit.o
-BOARD_TEST =
-BOARD_INSTALL = install-board
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-INCLUDES += -I$(srcdir)/include
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${SIM_CRT0} ${SIM_BSP} ${BOARD_CRT0S} ${BOARD_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${BOARD_BSP}: ${OBJS} ${BOARD_OBJS}
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-#
-#
-#
-crt0.o: crt0.S
-
-basiccrt.o: basiccrt.S
-ifeq (,$(findstring mcpu=,$(CFLAGS)))
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf532-any -o $@ -c $<
-else
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -o $@ -c $<
-endif
-
-basiccrts.o: basiccrt.S
-ifeq (,$(findstring mcpu=,$(CFLAGS)))
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf532-any -o $@ -c $<
-else
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -o $@ -c $<
-endif
-
-basiccrt561.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-none -o $@ -c $<
-else
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-any -o $@ -c $<
-endif
-
-basiccrt561s.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-none -o $@ -c $<
-else
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-any -o $@ -c $<
-endif
-
-basiccrt561b.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) -D__ADSPBF561_COREB__ $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-none -o $@ -c $<
-else
- $(CC) -D__ADSPBF561_COREB__ $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf561-any -o $@ -c $<
-endif
-
-basiccrt60x.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-none -o $@ -c $<
-else
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-any -o $@ -c $<
-endif
-
-basiccrt60xs.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-none -o $@ -c $<
-else
- $(CC) -D__BFIN_SDRAM $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-any -o $@ -c $<
-endif
-
-basiccrt60xc1.o: basiccrt.S
-ifneq (,$(findstring mcpu=bf532-none,$(CFLAGS)))
- $(CC) -D__ADSPBF60x_CORE1__ $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-none -o $@ -c $<
-else
- $(CC) -D__ADSPBF60x_CORE1__ $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -mcpu=bf608-any -o $@ -c $<
-endif
-
-clean mostlyclean:
- rm -f a.out core *.i *.o ${SIM_BSP} ${BOARD_BSP}
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL} ${BOARD_INSTALL}
-
-install-sim:
- for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
- done
-
-install-board:
- for x in ${BOARD_CRT0S} ${BOARD_BSP}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \
- done
- -if [ -z "${MULTISUBDIR}" ]; then \
- for x in ${BOARD_SCRIPTS}; do \
- ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib/$$x; \
- done; \
- ${mkinstalldirs} ${DESTDIR}${tooldir}/include; \
- for i in ${srcdir}/include/*.h; do \
- ${INSTALL_DATA} $$i ${DESTDIR}${tooldir}/include/`basename $$i`; \
- done; \
- ${mkinstalldirs} ${DESTDIR}${tooldir}/include/sys; \
- for i in ${srcdir}/include/sys/*.h; do \
- ${INSTALL_DATA} $$i ${DESTDIR}${tooldir}/include/sys/`basename $$i`; \
- done; \
- else true; fi
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/bfin/_exit.c b/libgloss/bfin/_exit.c
deleted file mode 100644
index d7fb9e0..0000000
--- a/libgloss/bfin/_exit.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * C library support files for the Blackfin processor
- *
- * Copyright (C) 2012 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <_ansi.h>
-
-_VOID
-_DEFUN (_exit, (rc),
- int rc)
-{
- while (1)
- asm volatile ("EXCPT 0;");
-}
diff --git a/libgloss/bfin/aclocal.m4 b/libgloss/bfin/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/bfin/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/bfin/basiccrt.S b/libgloss/bfin/basiccrt.S
deleted file mode 100644
index beecd53..0000000
--- a/libgloss/bfin/basiccrt.S
+++ /dev/null
@@ -1,627 +0,0 @@
-/*
- * Basic startup code for Blackfin processor
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-// basic startup code which
-// - turns the cycle counter on
-// - loads up FP & SP (both supervisor and user)
-// - initialises the device drivers (FIOCRT)
-// - calls monstartup to set up the profiling routines (PROFCRT)
-// - calls the C++ startup (CPLUSCRT)
-// - initialises argc/argv (FIOCRT/normal)
-// - calls _main
-// - calls _exit (which calls monexit to dump accumulated prof data (PROFCRT))
-// - defines dummy IO routines (!FIOCRT)
-
-#include <sys/platform.h>
-#include <cplb.h>
-#include <sys/anomaly_macros_rtl.h>
-
-#define IVBh (EVT0 >> 16)
-#define IVBl (EVT0 & 0xFFFF)
-#define UNASSIGNED_VAL 0
-#define UNASSIGNED_FILL 0
-// just IVG15
-#define INTERRUPT_BITS 0x400
-#if defined(_ADI_THREADS) || \
- !defined(__ADSPLPBLACKFIN__) || defined(__ADSPBF561__) || defined(__ADSPBF566__)
-#define SET_CLOCK_SPEED 0
-#else
-#define SET_CLOCK_SPEED 1
-#endif
-
-#if SET_CLOCK_SPEED == 1
-#include <sys/pll.h>
-#define SET_CLK_MSEL 0x16
-#define SET_CLK_DF 0
-#define SET_CLK_LOCK_COUNT 0x300
-#define SET_CLK_CSEL 0
-#define SET_CLK_SSEL 5
-
-/*
-** CLKIN == 27MHz on the EZ-Kits.
-** D==0 means CLKIN is passed to PLL without dividing.
-** MSEL==0x16 means VCO==27*0x16 == 594MHz
-** CSEL==0 means CCLK==VCO == 594MHz
-** SSEL==5 means SCLK==VCO/5 == 118MHz
-*/
-
-#endif
-
-#ifdef __ADSPBF561_COREB__
- .section .b.text,"ax",@progbits
- .align 2;
- .global __coreb_start;
- .type __coreb_start, STT_FUNC;
-__coreb_start:
-#elif defined(__ADSPBF60x_CORE1__)
- .section .1.text,"ax",@progbits
- .align 2;
- .global __core1_start;
- .type __core1_start, STT_FUNC;
-__core1_start:
-#else
- .text;
- .align 2;
- .global __start;
- .type __start, STT_FUNC;
-__start:
-#endif
-#if WA_05000109
- // Avoid Anomaly ID 05000109.
-# define SYSCFG_VALUE 0x30
- R1 = SYSCFG_VALUE;
- SYSCFG = R1;
-#endif
-#if WA_05000229
- // Avoid Anomaly 05-00-0229: DMA5_CONFIG and SPI_CTL not cleared on reset.
- R1 = 0x400;
-#if defined(__ADSPBF538__) || defined(__ADSPBF539__)
- P0.L = SPI0_CTL & 0xFFFF;
- P0.H = SPI0_CTL >> 16;
- W[P0] = R1.L;
-#else
- P0.L = SPI_CTL & 0xFFFF;
- P0.H = SPI_CTL >> 16;
- W[P0] = R1.L;
-#endif
- P0.L = DMA5_CONFIG & 0xFFFF;
- P0.H = DMA5_CONFIG >> 16;
- R1 = 0;
- W[P0] = R1.L;
-#endif
- // Zap loop counters to zero, to make sure that
- // hw loops are disabled - it could be really baffling
- // if the counters and bottom regs are set, and we happen
- // to run into them.
- R7 = 0;
- LC0 = R7;
- LC1 = R7;
-
- // Clear the DAG Length regs too, so that it's safe to
- // use I-regs without them wrapping around.
- L0 = R7;
- L1 = R7;
- L2 = R7;
- L3 = R7;
-
- // Zero ITEST_COMMAND and DTEST_COMMAND
- // (in case they have crud in them and
- // does a write somewhere when we enable cache)
- I0.L = (ITEST_COMMAND & 0xFFFF);
- I0.H = (ITEST_COMMAND >> 16);
- I1.L = (DTEST_COMMAND & 0xFFFF);
- I1.H = (DTEST_COMMAND >> 16);
- R7 = 0;
- [I0] = R7;
- [I1] = R7;
- // It seems writing ITEST_COMMAND from SDRAM with icache enabled
- // needs SSYNC.
-#ifdef __BFIN_SDRAM
- SSYNC;
-#else
- CSYNC;
-#endif
-
- // Initialise the Event Vector table.
- P0.H = IVBh;
- P0.L = IVBl;
-
- // Install __unknown_exception_occurred in EVT so that
- // there is defined behaviour.
- P0 += 2*4; // Skip Emulation and Reset
- P1 = 13;
- R1.L = __unknown_exception_occurred;
- R1.H = __unknown_exception_occurred;
- LSETUP (L$ivt,L$ivt) LC0 = P1;
-L$ivt: [P0++] = R1;
- // Set IVG15's handler to be the start of the mode-change
- // code. Then, before we return from the Reset back to user
- // mode, we'll raise IVG15. This will mean we stay in supervisor
- // mode, and continue from the mode-change point., but at a
- // much lower priority.
- P1.H = L$supervisor_mode;
- P1.L = L$supervisor_mode;
- [P0] = P1;
-
- // Initialise the stack.
- // Note: this points just past the end of the section.
- // First write should be with [--SP].
-#ifdef __BFIN_SDRAM
- SP.L = __end + 0x400000 - 12;
- SP.H = __end + 0x400000 - 12;
-#else
-#ifdef __ADSPBF561_COREB__
- SP.L=__coreb_stack_end - 12;
- SP.H=__coreb_stack_end - 12;
-#elif defined(__ADSPBF60x_CORE1__)
- SP.L=__core1_stack_end - 12;
- SP.H=__core1_stack_end - 12;
-#else
- SP.L=__stack_end - 12;
- SP.H=__stack_end - 12;
-#endif
-#endif
- usp = sp;
-
- // We're still in supervisor mode at the moment, so the FP
- // needs to point to the supervisor stack.
- FP = SP;
-
- // And make space for incoming "parameters" for functions
- // we call from here:
- SP += -12;
-
- // Zero out bss section
-#ifdef __BFIN_SDRAM
- R0.L = ___bss_start;
- R0.H = ___bss_start;
- R1.L = __end;
- R1.H = __end;
-#else
-#ifdef __ADSPBF561_COREB__
- R0.L = __coreb_bss_start;
- R0.H = __coreb_bss_start;
- R1.L = __coreb_bss_end;
- R1.H = __coreb_bss_end;
-#elif defined(__ADSPBF60x_CORE1__)
- R0.L = __core1_bss_start;
- R0.H = __core1_bss_start;
- R1.L = __core1_bss_end;
- R1.H = __core1_bss_end;
-#else
- R0.L = __bss_start;
- R0.H = __bss_start;
- R1.L = __bss_end;
- R1.H = __bss_end;
-#endif
-#endif
- R2 = R1 - R0;
- R1 = 0;
-#ifdef __ADSPBF561_COREB__
- CALL.X __coreb_memset;
-#elif defined(__ADSPBF60x_CORE1__)
- CALL.X __core1_memset;
-#else
- CALL.X _memset;
-#endif
-
- R0 = INTERRUPT_BITS;
- R0 <<= 5; // Bits 0-4 not settable.
- // CALL.X __install_default_handlers;
- R4 = R0; // Save modified list
-
- R0 = SYSCFG; // Enable the Cycle counter
- BITSET(R0,1);
- SYSCFG = R0;
-
-#if WA_05000137
- // Avoid anomaly #05000137
-
- // Set the port preferences of DAG0 and DAG1 to be
- // different; this gives better performance when
- // performing dual-dag operations on SDRAM.
- P0.L = DMEM_CONTROL & 0xFFFF;
- P0.H = DMEM_CONTROL >> 16;
- R0 = [P0];
- BITSET(R0, 12);
- BITCLR(R0, 13);
- [P0] = R0;
- CSYNC;
-#endif
-
- // Reinitialise data areas in RAM from ROM, if MemInit's
- // been used.
- // CALL.X _mi_initialize;
-
-#if defined(__ADSPLPBLACKFIN__)
-#if SET_CLOCK_SPEED == 1
-
-#if 0
- // Check if this feature is enabled, i.e. ___clk_ctrl is defined to non-zero
- P0.L = ___clk_ctrl;
- P0.H = ___clk_ctrl;
- R0 = MAX_IN_STARTUP;
- R1 = [P0];
- R0 = R0 - R1;
- CC = R0;
- IF CC JUMP L$clock_is_set;
-#endif
-
- // Investigate whether we are a suitable revision
- // for boosting the system clocks.
- // speed.
- P0.L = DSPID & 0xFFFF;
- P0.H = DSPID >> 16;
- R0 = [P0];
- R0 = R0.L (Z);
- CC = R0 < 2;
- IF CC JUMP L$clock_is_set;
-
- // Set the internal Voltage-Controlled Oscillator (VCO)
- R0 = SET_CLK_MSEL (Z);
- R1 = SET_CLK_DF (Z);
- R2 = SET_CLK_LOCK_COUNT (Z);
- CALL.X __pll_set_system_vco;
-
- // Set the Core and System clocks
- R0 = SET_CLK_CSEL (Z);
- R1 = SET_CLK_SSEL (Z);
- CALL.X __pll_set_system_clocks;
-
-L$clock_is_set:
-#endif
-#endif /* ADSPLPBLACKFIN */
-
-#if defined(__ADSPBF561__) || defined(__ADSPBF566__) || defined(__ADSPBF606__) || defined(__ADSPBF607__) || defined(__ADSPBF608__) || defined(__ADSPBF609__)
-
- // Initialise the multi-core data tables.
- // A dummy function will be called if we are not linking with
- // -multicore
- // CALL.X __mc_data_initialise;
-#endif
-
-#if 0
- // Write the cplb exception handler to the EVT if approprate and
- // initialise the CPLBs if they're needed. couldn't do
- // this before we set up the stacks.
- P2.H = ___cplb_ctrl;
- P2.L = ___cplb_ctrl;
- R0 = CPLB_ENABLE_ANY_CPLBS;
- R6 = [P2];
- R0 = R0 & R6;
- CC = R0;
- IF !CC JUMP L$no_cplbs;
-#if !defined(_ADI_THREADS)
- P1.H = __cplb_hdr;
- P1.L = __cplb_hdr;
- P0.H = IVBh;
- P0.L = IVBl;
- [P0+12] = P1; // write exception handler
-#endif /* _ADI_THREADS */
- R0 = R6;
- CALL.X __cplb_init;
-#endif
-L$no_cplbs:
- // Enable interrupts
- STI R4; // Using the mask from default handlers
- RAISE 15;
-
- // Move the processor into user mode.
- P0.L=L$still_interrupt_in_ipend;
- P0.H=L$still_interrupt_in_ipend;
- RETI=P0;
-
-L$still_interrupt_in_ipend:
- rti; // keep doing 'rti' until we've 'finished' servicing all
- // interrupts of priority higher than IVG15. Normally one
- // would expect to only have the reset interrupt in IPEND
- // being serviced, but occasionally when debugging this may
- // not be the case - if restart is hit when servicing an
- // interrupt.
- //
- // When we clear all bits from IPEND, we'll enter user mode,
- // then we'll automatically jump to supervisor_mode to start
- // servicing IVG15 (which we will 'service' for the whole
- // program, so that the program is in supervisor mode.
- //
- // Need to do this to 'finish' servicing the reset interupt.
-
-L$supervisor_mode:
- [--SP] = RETI; // re-enables the interrupt system
-
- R0.L = UNASSIGNED_VAL;
- R0.H = UNASSIGNED_VAL;
-#if UNASSIGNED_FILL
- R2=R0;
- R3=R0;
- R4=R0;
- R5=R0;
- R6=R0;
- R7=R0;
- P0=R0;
- P1=R0;
- P2=R0;
- P3=R0;
- P4=R0;
- P5=R0;
-#endif
- // Push a RETS and Old FP onto the stack, for sanity.
- [--SP]=R0;
- [--SP]=R0;
- // Make sure the FP is sensible.
- FP = SP;
-
- // And leave space for incoming "parameters"
- SP += -12;
-
-#ifdef PROFCRT
- CALL.X monstartup; // initialise profiling routines
-#endif /* PROFCRT */
-
-#if !defined(__ADSPBF561_COREB__) && !defined(__ADSPBF60x_CORE1__)
- CALL.X __init;
-
- R0.L = __fini;
- R0.H = __fini;
- CALL.X _atexit;
-#endif
-
-#if !defined(_ADI_THREADS)
-#ifdef FIOCRT
- // FILE IO provides access to real command-line arguments.
- CALL.X __getargv;
- r1.l=__Argv;
- r1.h=__Argv;
-#else
- // Default to having no arguments and a null list.
- R0=0;
-#ifdef __ADSPBF561_COREB__
- R1.L=L$argv_coreb;
- R1.H=L$argv_coreb;
-#elif defined(__ADSPBF60x_CORE1__)
- R1.L=L$argv_core1;
- R1.H=L$argv_core1;
-#else
- R1.L=L$argv;
- R1.H=L$argv;
-#endif
-#endif /* FIOCRT */
-#endif /* _ADI_THREADS */
-
- // At long last, call the application program.
-#ifdef __ADSPBF561_COREB__
- CALL.X _coreb_main;
-#elif defined(__ADSPBF60x_CORE1__)
- CALL.X _core1_main;
-#else
- CALL.X _main;
-#endif
-
-#if !defined(_ADI_THREADS)
-#if !defined(__ADSPBF561_COREB__) && !defined(__ADSPBF60x_CORE1__)
- CALL.X _exit; // passing in main's return value
-#endif
-#endif
-
-#ifdef __ADSPBF561_COREB__
- .size __coreb_start, .-__coreb_start
-#elif defined(__ADSPBF60x_CORE1__)
- .size __core1_start, .-__core1_start
-#else
- .size __start, .-__start
-#endif
-
- .align 2
- .type __unknown_exception_occurred, STT_FUNC;
-__unknown_exception_occurred:
- // This function is invoked by the default exception
- // handler, if it does not recognise the kind of
- // exception that has occurred. In other words, the
- // default handler only handles some of the system's
- // exception types, and it does not expect any others
- // to occur. If your application is going to be using
- // other kinds of exceptions, you must replace the
- // default handler with your own, that handles all the
- // exceptions you will use.
- //
- // Since there's nothing we can do, we just loop here
- // at what we hope is a suitably informative label.
- IDLE;
- CSYNC;
- JUMP __unknown_exception_occurred;
- RTS;
- .size __unknown_exception_occurred, .-__unknown_exception_occurred
-
-#if defined(__ADSPLPBLACKFIN__)
-#if SET_CLOCK_SPEED == 1
-
-/*
-** CLKIN == 27MHz on the EZ-Kits.
-** D==0 means CLKIN is passed to PLL without dividing.
-** MSEL==0x16 means VCO==27*0x16 == 594MHz
-** CSEL==0 means CCLK==VCO == 594MHz
-** SSEL==5 means SCLK==VCO/5 == 118MHz
-*/
-
-// int pll_set_system_clocks(int csel, int ssel)
-// returns 0 for success, -1 for error.
-
- .align 2
- .type __pll_set_system_clocks, STT_FUNC;
-__pll_set_system_clocks:
- P0.H = PLL_DIV >> 16;
- P0.L = PLL_DIV & 0xFFFF;
- R2 = W[P0] (Z);
-
- // Plant CSEL and SSEL
- R0 <<= 16;
- R0.L = (4 << 8) | 2; // 2 bits, at posn 4
- R1 <<= 16;
- R1.L = 4; // 4 bits, at posn 0
- R2 = DEPOSIT(R2, R0);
-
-#if defined(__WORKAROUND_DREG_COMP_LATENCY)
- // Work around anomaly 05-00-0209 which affects the DEPOSIT
- // instruction (and the EXTRACT, SIGNBITS, and EXPADJ instructions)
- // if the previous instruction created any of its operands
- NOP;
-#endif
-
- R2 = DEPOSIT(R2, R1);
-
- W[P0] = R2;
- SSYNC;
- RTS;
- .size __pll_set_system_clocks, .-__pll_set_system_clocks
-
-// int pll_set_system_vco(int msel, int df, lockcnt)
- .align 2
- .type __pll_set_system_vco, STT_FUNC;
-__pll_set_system_vco:
- P0.H = PLL_CTL >> 16;
- P0.L = PLL_CTL & 0xFFFF;
- R3 = W[P0] (Z);
- P2 = R3; // Save copy
- R3 >>= 1; // Drop old DF
- R1 = ROT R1 BY -1; // Move DF into CC
- R3 = ROT R3 BY 1; // and into ctl space.
- R0 <<= 16; // Set up pattern reg
- R0.L = (9<<8) | 6; // (6 bits at posn 9)
- R1 = P2; // Get the old version
- R3 = DEPOSIT(R3, R0);
- CC = R1 == R3; // and if we haven't changed
- IF CC JUMP L$done; // Anything, return
-
- CC = R2 == 0; // Use default lockcount if
- IF CC JUMP L$wakeup; // user one is zero.
- P2.H = PLL_LOCKCNT >> 16;
- P2.L = PLL_LOCKCNT & 0xFFFF;
- W[P2] = R2; // Set the lock counter
-L$wakeup:
- P2.H = SIC_IWR >> 16;
- P2.L = SIC_IWR & 0xFFFF;
- R2 = [P2];
- BITSET(R2, 0); // enable PLL Wakeup
- [P2] = R2;
-
- W[P0] = R3; // Update PLL_CTL
- SSYNC;
-
- CLI R2; // Avoid unnecessary interrupts
- IDLE; // Wait until PLL has locked
- STI R2; // Restore interrupts.
-
-L$done:
- RTS;
- .size __pll_set_system_vco, .-__pll_set_system_vco
-#endif
-#endif /* ADSPLPBLACKFIN */
-
-#if defined(__ADSPBF561_COREB__) || defined(__ADSPBF60x_CORE1__)
-#ifdef __ADSPBF561_COREB__
- .section .b.text,"ax",@progbits
- .type __coreb_memset, STT_FUNC
-__coreb_memset:
-#else
- .section .1.text,"ax",@progbits
- .type __core1_memset, STT_FUNC
-__core1_memset:
-#endif
- P0 = R0 ; /* P0 = address */
- P2 = R2 ; /* P2 = count */
- R3 = R0 + R2; /* end */
- CC = R2 <= 7(IU);
- IF CC JUMP .Ltoo_small;
- R1 = R1.B (Z); /* R1 = fill char */
- R2 = 3;
- R2 = R0 & R2; /* addr bottom two bits */
- CC = R2 == 0; /* AZ set if zero. */
- IF !CC JUMP .Lforce_align ; /* Jump if addr not aligned. */
-
-.Laligned:
- P1 = P2 >> 2; /* count = n/4 */
- R2 = R1 << 8; /* create quad filler */
- R2.L = R2.L + R1.L(NS);
- R2.H = R2.L + R1.H(NS);
- P2 = R3;
-
- LSETUP (.Lquad_loop , .Lquad_loop) LC0=P1;
-.Lquad_loop:
- [P0++] = R2;
-
- CC = P0 == P2;
- IF !CC JUMP .Lbytes_left;
- RTS;
-
-.Lbytes_left:
- R2 = R3; /* end point */
- R3 = P0; /* current position */
- R2 = R2 - R3; /* bytes left */
- P2 = R2;
-
-.Ltoo_small:
- CC = P2 == 0; /* Check zero count */
- IF CC JUMP .Lfinished; /* Unusual */
-
-.Lbytes:
- LSETUP (.Lbyte_loop , .Lbyte_loop) LC0=P2;
-.Lbyte_loop:
- B[P0++] = R1;
-
-.Lfinished:
- RTS;
-
-.Lforce_align:
- CC = BITTST (R0, 0); /* odd byte */
- R0 = 4;
- R0 = R0 - R2;
- P1 = R0;
- R0 = P0; /* Recover return address */
- IF !CC JUMP .Lskip1;
- B[P0++] = R1;
-.Lskip1:
- CC = R2 <= 2; /* 2 bytes */
- P2 -= P1; /* reduce count */
- IF !CC JUMP .Laligned;
- B[P0++] = R1;
- B[P0++] = R1;
- JUMP .Laligned;
-#ifdef __ADSPBF561_COREB__
-.size __coreb_memset,.-__coreb_memset
-#else
-.size __core1_memset,.-__core1_memset
-#endif
-#endif
-
-#ifdef __ADSPBF561_COREB__
- .section .b.bss,"aw",@progbits
- .align 4
- .type L$argv_coreb, @object
- .size L$argv_coreb, 4
-L$argv_coreb:
- .zero 4
-#elif defined(__ADSPBF60x_CORE1__)
- .section .1.bss,"aw",@progbits
- .align 4
- .type L$argv_core1, @object
- .size L$argv_core1, 4
-L$argv_core1:
- .zero 4
-#else
- .local L$argv
- .comm L$argv,4,4
-#endif
-
diff --git a/libgloss/bfin/bf504.ld b/libgloss/bfin/bf504.ld
deleted file mode 100644
index c77c3c6..0000000
--- a/libgloss/bfin/bf504.ld
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF506 processor.
- *
- * Copyright (C) 2007-2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf506.ld b/libgloss/bfin/bf506.ld
deleted file mode 100644
index c77c3c6..0000000
--- a/libgloss/bfin/bf506.ld
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF506 processor.
- *
- * Copyright (C) 2007-2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf512.ld b/libgloss/bfin/bf512.ld
deleted file mode 100644
index 20125c4..0000000
--- a/libgloss/bfin/bf512.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF512 processor.
- *
- * Copyright (C) 2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf514.ld b/libgloss/bfin/bf514.ld
deleted file mode 100644
index a10b5e8..0000000
--- a/libgloss/bfin/bf514.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF514 processor.
- *
- * Copyright (C) 2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf516.ld b/libgloss/bfin/bf516.ld
deleted file mode 100644
index 5a6010b..0000000
--- a/libgloss/bfin/bf516.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF516 processor.
- *
- * Copyright (C) 2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf518.ld b/libgloss/bfin/bf518.ld
deleted file mode 100644
index 54f4c39..0000000
--- a/libgloss/bfin/bf518.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF518 processor.
- *
- * Copyright (C) 2009 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf522.ld b/libgloss/bfin/bf522.ld
deleted file mode 100644
index 60cb9c5..0000000
--- a/libgloss/bfin/bf522.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF522 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf523.ld b/libgloss/bfin/bf523.ld
deleted file mode 100644
index 8d72358..0000000
--- a/libgloss/bfin/bf523.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF523 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf524.ld b/libgloss/bfin/bf524.ld
deleted file mode 100644
index 60cb9c5..0000000
--- a/libgloss/bfin/bf524.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF522 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf525.ld b/libgloss/bfin/bf525.ld
deleted file mode 100644
index 7ad91c5..0000000
--- a/libgloss/bfin/bf525.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF525 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf526.ld b/libgloss/bfin/bf526.ld
deleted file mode 100644
index 60cb9c5..0000000
--- a/libgloss/bfin/bf526.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF522 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf527.ld b/libgloss/bfin/bf527.ld
deleted file mode 100644
index 987ad8e..0000000
--- a/libgloss/bfin/bf527.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF527 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf531.ld b/libgloss/bfin/bf531.ld
deleted file mode 100644
index 17d9ab6..0000000
--- a/libgloss/bfin/bf531.ld
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF531 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA08000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_A : ORIGIN = 0xFF804000, LENGTH = 0x4000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf532.ld b/libgloss/bfin/bf532.ld
deleted file mode 100644
index a94d945..0000000
--- a/libgloss/bfin/bf532.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF532 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA08000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF904000, LENGTH = 0x4000
- MEM_L1_DATA_A : ORIGIN = 0xFF804000, LENGTH = 0x4000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf533.ld b/libgloss/bfin/bf533.ld
deleted file mode 100644
index 61d3794..0000000
--- a/libgloss/bfin/bf533.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF533 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf534.ld b/libgloss/bfin/bf534.ld
deleted file mode 100644
index f48c8ab..0000000
--- a/libgloss/bfin/bf534.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executable running on
- * ADSP-BF534 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xC000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf536.ld b/libgloss/bfin/bf536.ld
deleted file mode 100644
index e12ac7e..0000000
--- a/libgloss/bfin/bf536.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executable running on
- * ADSP-BF536 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xC000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF904000, LENGTH = 0x4000
- MEM_L1_DATA_A : ORIGIN = 0xFF804000, LENGTH = 0x4000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf537.ld b/libgloss/bfin/bf537.ld
deleted file mode 100644
index 1f9e0fd..0000000
--- a/libgloss/bfin/bf537.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executable running on
- * ADSP-BF537 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xC000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf538.ld b/libgloss/bfin/bf538.ld
deleted file mode 100644
index 008267a..0000000
--- a/libgloss/bfin/bf538.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executable running on
- * ADSP-BF538 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf539.ld b/libgloss/bfin/bf539.ld
deleted file mode 100644
index 27372af..0000000
--- a/libgloss/bfin/bf539.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executable running on
- * ADSP-BF539 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf542.ld b/libgloss/bfin/bf542.ld
deleted file mode 100644
index 37b9d06..0000000
--- a/libgloss/bfin/bf542.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF542 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf544.ld b/libgloss/bfin/bf544.ld
deleted file mode 100644
index c150076..0000000
--- a/libgloss/bfin/bf544.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF544 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf547.ld b/libgloss/bfin/bf547.ld
deleted file mode 100644
index ac4ba5d..0000000
--- a/libgloss/bfin/bf547.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF547 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf548.ld b/libgloss/bfin/bf548.ld
deleted file mode 100644
index f3f0626..0000000
--- a/libgloss/bfin/bf548.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF548 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf549.ld b/libgloss/bfin/bf549.ld
deleted file mode 100644
index 5c93cfe..0000000
--- a/libgloss/bfin/bf549.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF549 processor.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf561.ld b/libgloss/bfin/bf561.ld
deleted file mode 100644
index 5df7d84..0000000
--- a/libgloss/bfin/bf561.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF561 processor (single core).
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf561a.ld b/libgloss/bfin/bf561a.ld
deleted file mode 100644
index 11a1dc0..0000000
--- a/libgloss/bfin/bf561a.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core A of ADSP-BF561 processor (dual core).
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- B_MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x0
- B_MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x0
- B_MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x0
- B_MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x0
- B_MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x0
-
- MEM_L2 : ORIGIN = 0xFEB08000, LENGTH = 0x8000
- MEM_L2_SHARED : ORIGIN = 0xFEB10000, LENGTH = 0x10000
-}
diff --git a/libgloss/bfin/bf561b.ld b/libgloss/bfin/bf561b.ld
deleted file mode 100644
index 55ad26c..0000000
--- a/libgloss/bfin/bf561b.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core B of ADSP-BF561 processor (dual core).
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- /* These B_MEM_* are Core A memory region with zero length.
- They just provide dummy memory region to satisfy bfin-common-mc.ld. */
- B_MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x0
- B_MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x0
- B_MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x0
- B_MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x0
- B_MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x0
-
- MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x8000
- MEM_L2_SHARED : ORIGIN = 0xFEB10000, LENGTH = 0x10000
-}
diff --git a/libgloss/bfin/bf561m.ld b/libgloss/bfin/bf561m.ld
deleted file mode 100644
index 8495cac..0000000
--- a/libgloss/bfin/bf561m.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF561 processor (dual core).
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- B_MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x4000
- B_MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- B_MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- B_MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- B_MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x20000
- MEM_L2_SHARED : ORIGIN = 0xFEB20000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf592.ld b/libgloss/bfin/bf592.ld
deleted file mode 100644
index 7464867..0000000
--- a/libgloss/bfin/bf592.ld
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF592 processor.
- *
- * Copyright (C) 2007-2010 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf606.ld b/libgloss/bfin/bf606.ld
deleted file mode 100644
index 8e115f5..0000000
--- a/libgloss/bfin/bf606.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF606 processor (single core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
-}
diff --git a/libgloss/bfin/bf606c0.ld b/libgloss/bfin/bf606c0.ld
deleted file mode 100644
index d8744ae..0000000
--- a/libgloss/bfin/bf606c0.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 0 of ADSP-BF606 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x0
-
- MEM_L2 : ORIGIN = 0xC8090000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf606c1.ld b/libgloss/bfin/bf606c1.ld
deleted file mode 100644
index 4278c10..0000000
--- a/libgloss/bfin/bf606c1.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 1 of ADSP-BF606 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- /* These MEM_C1_* are Core A memory region with zero length.
- They just provide dummy memory region to satisfy bfin-common-mc.ld. */
- MEM_C1_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x0
-
- MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf606m.ld b/libgloss/bfin/bf606m.ld
deleted file mode 100644
index 32bb22d..0000000
--- a/libgloss/bfin/bf606m.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF606 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
- MEM_L2_SHARED : ORIGIN = 0xC80C0000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf607.ld b/libgloss/bfin/bf607.ld
deleted file mode 100644
index 0af86e5..0000000
--- a/libgloss/bfin/bf607.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF607 processor (single core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
-}
diff --git a/libgloss/bfin/bf607c0.ld b/libgloss/bfin/bf607c0.ld
deleted file mode 100644
index f29a6ea..0000000
--- a/libgloss/bfin/bf607c0.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 0 of ADSP-BF607 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x0
-
- MEM_L2 : ORIGIN = 0xC8090000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf607c1.ld b/libgloss/bfin/bf607c1.ld
deleted file mode 100644
index 7d954b3..0000000
--- a/libgloss/bfin/bf607c1.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 1 of ADSP-BF607 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- /* These MEM_C1_* are Core A memory region with zero length.
- They just provide dummy memory region to satisfy bfin-common-mc.ld. */
- MEM_C1_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x0
-
- MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf607m.ld b/libgloss/bfin/bf607m.ld
deleted file mode 100644
index 7ad534f..0000000
--- a/libgloss/bfin/bf607m.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF607 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
- MEM_L2_SHARED : ORIGIN = 0xC80C0000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf608.ld b/libgloss/bfin/bf608.ld
deleted file mode 100644
index 8233e9a..0000000
--- a/libgloss/bfin/bf608.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF608 processor (single core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
-}
diff --git a/libgloss/bfin/bf608c0.ld b/libgloss/bfin/bf608c0.ld
deleted file mode 100644
index 17d2562..0000000
--- a/libgloss/bfin/bf608c0.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 0 of ADSP-BF608 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x0
-
- MEM_L2 : ORIGIN = 0xC8090000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf608c1.ld b/libgloss/bfin/bf608c1.ld
deleted file mode 100644
index 368636f..0000000
--- a/libgloss/bfin/bf608c1.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 1 of ADSP-BF608 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- /* These MEM_C1_* are Core A memory region with zero length.
- They just provide dummy memory region to satisfy bfin-common-mc.ld. */
- MEM_C1_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x0
-
- MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf608m.ld b/libgloss/bfin/bf608m.ld
deleted file mode 100644
index fa19158..0000000
--- a/libgloss/bfin/bf608m.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF608 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
- MEM_L2_SHARED : ORIGIN = 0xC80C0000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bf609.ld b/libgloss/bfin/bf609.ld
deleted file mode 100644
index 319b909..0000000
--- a/libgloss/bfin/bf609.ld
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF609 processor (single core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
-}
diff --git a/libgloss/bfin/bf609c0.ld b/libgloss/bfin/bf609c0.ld
deleted file mode 100644
index 5806883..0000000
--- a/libgloss/bfin/bf609c0.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 0 of ADSP-BF609 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x0
-
- MEM_L2 : ORIGIN = 0xC8090000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf609c1.ld b/libgloss/bfin/bf609c1.ld
deleted file mode 100644
index 9363ffe..0000000
--- a/libgloss/bfin/bf609c1.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * Core 1 of ADSP-BF609 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- /* These MEM_C1_* are Core A memory region with zero length.
- They just provide dummy memory region to satisfy bfin-common-mc.ld. */
- MEM_C1_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x0
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x0
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x0
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x0
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x0
-
- MEM_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x10000
- MEM_L2_SHARED : ORIGIN = 0xC80A0000, LENGTH = 0x20000
-}
diff --git a/libgloss/bfin/bf609m.ld b/libgloss/bfin/bf609m.ld
deleted file mode 100644
index 516e6d5..0000000
--- a/libgloss/bfin/bf609m.ld
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The default linker script for standalone executables running on
- * ADSP-BF609 processor (dual core).
- *
- * Copyright (C) 2011 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-MEMORY
-{
- MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x10000
- MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
- MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
- MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
- MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
-
- MEM_C1_L1_CODE : ORIGIN = 0xFF600000, LENGTH = 0x10000
- MEM_C1_L1_CODE_CACHE : ORIGIN = 0xFF610000, LENGTH = 0x4000
- MEM_C1_L1_SCRATCH : ORIGIN = 0xFF700000, LENGTH = 0x1000
- MEM_C1_L1_DATA_B : ORIGIN = 0xFF500000, LENGTH = 0x8000
- MEM_C1_L1_DATA_A : ORIGIN = 0xFF400000, LENGTH = 0x8000
-
- MEM_L2 : ORIGIN = 0xC8080000, LENGTH = 0x40000
- MEM_L2_SHARED : ORIGIN = 0xC80C0000, LENGTH = 0x0
-}
diff --git a/libgloss/bfin/bfin-common-mc.ld b/libgloss/bfin/bfin-common-mc.ld
deleted file mode 100644
index 26d4fa8..0000000
--- a/libgloss/bfin/bfin-common-mc.ld
+++ /dev/null
@@ -1,260 +0,0 @@
-/*
- * The common part of the default linker scripts for standalone executables
- * running on single core Blackfin processors.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* The default linker script, for single core blackfin standalone executables */
-OUTPUT_FORMAT("elf32-bfin", "elf32-bfin",
- "elf32-bfin")
-OUTPUT_ARCH(bfin)
-ENTRY(__start)
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- PROVIDE (__executable_start = 0x0); . = 0x0;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .l2 :
- {
- *(.l2 .l2.*)
- } >MEM_L2 =0
- .l2_shared :
- {
- *(.l2_shared .l2_shared.*)
- } >MEM_L2_SHARED =0
- .b.text :
- {
- *(.b.text .b.text.* .b.l1.text .b.l1.text.*)
- } >B_MEM_L1_CODE =0
- .text :
- {
- *(.text .stub .text.* .gnu.linkonce.t.* .l1.text .l1.text.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >MEM_L1_CODE =0
- .init :
- {
- KEEP (*(.init))
- } >MEM_L1_CODE =0
- .plt : { *(.plt) } >MEM_L1_CODE
- .fini :
- {
- KEEP (*(.fini))
- } >MEM_L1_CODE =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .b.rodata : { *(.b.rodata .b.rodata.*) } >B_MEM_L1_DATA_A
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >MEM_L1_DATA_A
- .rodata1 : { *(.rodata1) } >MEM_L1_DATA_A
- .sdata2 :
- {
- *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
- } >MEM_L1_DATA_A
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >MEM_L1_DATA_A
- .eh_frame_hdr : { *(.eh_frame_hdr) } >MEM_L1_DATA_A
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(0x1000) + (. & (0x1000 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >MEM_L1_DATA_A
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >MEM_L1_DATA_A
- .preinit_array :
- {
- PROVIDE_HIDDEN (___preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (___preinit_array_end = .);
- } >MEM_L1_DATA_A
- .init_array :
- {
- PROVIDE_HIDDEN (___init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (___init_array_end = .);
- } >MEM_L1_DATA_A
- .fini_array :
- {
- PROVIDE_HIDDEN (___fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (___fini_array_end = .);
- } >MEM_L1_DATA_A
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin*.o(.ctors))
- /* We don't want to include the .ctor section from
- the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >MEM_L1_DATA_A
- .dtors :
- {
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >MEM_L1_DATA_A
- .jcr : { KEEP (*(.jcr)) } >MEM_L1_DATA_A
- .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) } >MEM_L1_DATA_A
- .dynamic : { *(.dynamic) } >MEM_L1_DATA_A
- .b.data :
- {
- *(.b.data .b.data.* .b.l1.data .b.l1.data.*)
- } >B_MEM_L1_DATA_A
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.* .l1.data .l1.data.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >MEM_L1_DATA_A
- .data1 : { *(.data1) } >MEM_L1_DATA_A
- .got : { *(.got.plt) *(.got) } >MEM_L1_DATA_A
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- } >MEM_L1_DATA_A
- __edata = .; PROVIDE (_edata = .);
- .b.sbss :
- {
- __coreb_bss_start = .;
- } >B_MEM_L1_DATA_A
- .b.bss :
- {
- *(.b.bss .b.bss.*)
- __coreb_bss_end = .;
- } >B_MEM_L1_DATA_A
- .sbss :
- {
- __bss_start = .;
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- } >MEM_L1_DATA_A
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections.
- FIXME: Why do we need it? When there is no .bss section, we don't
- pad the .data section. */
- . = ALIGN(. != 0 ? 32 / 8 : 1);
- __bss_end = .;
- } >MEM_L1_DATA_A
- . = ALIGN(32 / 8);
- . = ALIGN(32 / 8);
- __end = .; PROVIDE (_end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- __stack_end = ORIGIN(MEM_L1_SCRATCH) + LENGTH(MEM_L1_SCRATCH);
- __coreb_stack_end = ORIGIN(B_MEM_L1_SCRATCH) + LENGTH(B_MEM_L1_SCRATCH);
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/bfin/bfin-common-mc0.ld b/libgloss/bfin/bfin-common-mc0.ld
deleted file mode 100644
index 9d0a3eb..0000000
--- a/libgloss/bfin/bfin-common-mc0.ld
+++ /dev/null
@@ -1,260 +0,0 @@
-/*
- * The common part of the default linker scripts for standalone executables
- * running on single core Blackfin processors.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* The default linker script, for single core blackfin standalone executables */
-OUTPUT_FORMAT("elf32-bfin", "elf32-bfin",
- "elf32-bfin")
-OUTPUT_ARCH(bfin)
-ENTRY(__start)
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- PROVIDE (__executable_start = 0x0); . = 0x0;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .l2 :
- {
- *(.l2 .l2.*)
- } >MEM_L2 =0
- .l2_shared :
- {
- *(.l2_shared .l2_shared.*)
- } >MEM_L2_SHARED =0
- .1.text :
- {
- *(.1.text .1.text.* .1.l1.text .1.l1.text.*)
- } >MEM_C1_L1_CODE =0
- .text :
- {
- *(.text .stub .text.* .gnu.linkonce.t.* .l1.text .l1.text.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >MEM_L1_CODE =0
- .init :
- {
- KEEP (*(.init))
- } >MEM_L1_CODE =0
- .plt : { *(.plt) } >MEM_L1_CODE
- .fini :
- {
- KEEP (*(.fini))
- } >MEM_L1_CODE =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .1.rodata : { *(.1.rodata .1.rodata.*) } >MEM_C1_L1_DATA_A
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >MEM_L1_DATA_A
- .rodata1 : { *(.rodata1) } >MEM_L1_DATA_A
- .sdata2 :
- {
- *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
- } >MEM_L1_DATA_A
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >MEM_L1_DATA_A
- .eh_frame_hdr : { *(.eh_frame_hdr) } >MEM_L1_DATA_A
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(0x1000) + (. & (0x1000 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >MEM_L1_DATA_A
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >MEM_L1_DATA_A
- .preinit_array :
- {
- PROVIDE_HIDDEN (___preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (___preinit_array_end = .);
- } >MEM_L1_DATA_A
- .init_array :
- {
- PROVIDE_HIDDEN (___init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (___init_array_end = .);
- } >MEM_L1_DATA_A
- .fini_array :
- {
- PROVIDE_HIDDEN (___fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (___fini_array_end = .);
- } >MEM_L1_DATA_A
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin*.o(.ctors))
- /* We don't want to include the .ctor section from
- the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >MEM_L1_DATA_A
- .dtors :
- {
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >MEM_L1_DATA_A
- .jcr : { KEEP (*(.jcr)) } >MEM_L1_DATA_A
- .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) } >MEM_L1_DATA_A
- .dynamic : { *(.dynamic) } >MEM_L1_DATA_A
- .1.data :
- {
- *(.1.data .1.data.* .1.l1.data .1.l1.data.*)
- } >MEM_C1_L1_DATA_A
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.* .l1.data .l1.data.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >MEM_L1_DATA_A
- .data1 : { *(.data1) } >MEM_L1_DATA_A
- .got : { *(.got.plt) *(.got) } >MEM_L1_DATA_A
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- } >MEM_L1_DATA_A
- __edata = .; PROVIDE (_edata = .);
- .1.sbss :
- {
- __core1_bss_start = .;
- } >MEM_C1_L1_DATA_A
- .1.bss :
- {
- *(.1.bss .1.bss.*)
- __core1_bss_end = .;
- } >MEM_C1_L1_DATA_A
- .sbss :
- {
- __bss_start = .;
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- } >MEM_L1_DATA_A
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.1.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections.
- FIXME: Why do we need it? When there is no .bss section, we don't
- pad the .data section. */
- . = ALIGN(. != 0 ? 32 / 8 : 1);
- __bss_end = .;
- } >MEM_L1_DATA_A
- . = ALIGN(32 / 8);
- . = ALIGN(32 / 8);
- __end = .; PROVIDE (_end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- __stack_end = ORIGIN(MEM_L1_SCRATCH) + LENGTH(MEM_L1_SCRATCH);
- __core1_stack_end = ORIGIN(MEM_C1_L1_SCRATCH) + LENGTH(MEM_C1_L1_SCRATCH);
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/bfin/bfin-common-sc.ld b/libgloss/bfin/bfin-common-sc.ld
deleted file mode 100644
index 85f962d..0000000
--- a/libgloss/bfin/bfin-common-sc.ld
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
- * The common part of the default linker scripts for standalone executables
- * running on single core Blackfin processors.
- *
- * Copyright (C) 2008 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* The default linker script, for single core blackfin standalone executables */
-OUTPUT_FORMAT("elf32-bfin", "elf32-bfin",
- "elf32-bfin")
-OUTPUT_ARCH(bfin)
-ENTRY(__start)
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- PROVIDE (__executable_start = 0x0); . = 0x0;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .l2 :
- {
- *(.l2 .l2.*)
- } >MEM_L2 =0
- .text :
- {
- *(.text .stub .text.* .gnu.linkonce.t.* .l1.text .l1.text.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >MEM_L1_CODE =0
- .init :
- {
- KEEP (*(.init))
- } >MEM_L1_CODE =0
- .plt : { *(.plt) } >MEM_L1_CODE
- .fini :
- {
- KEEP (*(.fini))
- } >MEM_L1_CODE =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >MEM_L1_DATA_A
- .rodata1 : { *(.rodata1) } >MEM_L1_DATA_A
- .sdata2 :
- {
- *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
- } >MEM_L1_DATA_A
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >MEM_L1_DATA_A
- .eh_frame_hdr : { *(.eh_frame_hdr) } >MEM_L1_DATA_A
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(0x1000) + (. & (0x1000 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >MEM_L1_DATA_A
- .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) } >MEM_L1_DATA_A
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >MEM_L1_DATA_A
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >MEM_L1_DATA_A
- .preinit_array :
- {
- PROVIDE_HIDDEN (___preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (___preinit_array_end = .);
- } >MEM_L1_DATA_A
- .init_array :
- {
- PROVIDE_HIDDEN (___init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE_HIDDEN (___init_array_end = .);
- } >MEM_L1_DATA_A
- .fini_array :
- {
- PROVIDE_HIDDEN (___fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (___fini_array_end = .);
- } >MEM_L1_DATA_A
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin*.o(.ctors))
- /* We don't want to include the .ctor section from
- the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >MEM_L1_DATA_A
- .dtors :
- {
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >MEM_L1_DATA_A
- .jcr : { KEEP (*(.jcr)) } >MEM_L1_DATA_A
- .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) } >MEM_L1_DATA_A
- .dynamic : { *(.dynamic) } >MEM_L1_DATA_A
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.* .l1.data .l1.data.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >MEM_L1_DATA_A
- .data1 : { *(.data1) } >MEM_L1_DATA_A
- .got : { *(.got.plt) *(.got) } >MEM_L1_DATA_A
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- } >MEM_L1_DATA_A
- __edata = .; PROVIDE (_edata = .);
- .sbss :
- {
- __bss_start = .;
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- } >MEM_L1_DATA_A
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections.
- FIXME: Why do we need it? When there is no .bss section, we don't
- pad the .data section. */
- . = ALIGN(. != 0 ? 32 / 8 : 1);
- __bss_end = .;
- } >MEM_L1_DATA_A
- . = ALIGN(32 / 8);
- . = ALIGN(32 / 8);
- __end = .; PROVIDE (_end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- __stack_end = ORIGIN(MEM_L1_SCRATCH) + LENGTH(MEM_L1_SCRATCH);
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/bfin/clear_cache_range.c b/libgloss/bfin/clear_cache_range.c
deleted file mode 100644
index c4173eb..0000000
--- a/libgloss/bfin/clear_cache_range.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * C library support files for the Blackfin processor
- *
- * Copyright (C) 2010 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* This is a callback which gcc itself wants to flush jump tables.
-
- Map it into L1 Text because of anomalies 05-00-0312 and 05-00-0419. */
-
-__attribute__ ((l1_text))
-void __clear_cache_range (char *beg, char *end)
-{
- char *ptr = beg;
- do {
- __asm__ __volatile__ ("FLUSH [%0++];" : "+a" (ptr) : : "memory");
- } while (ptr <= end);
- ptr = beg;
- __asm__ __volatile__ ("SSYNC;");
- do {
- __asm__ __volatile__ ("IFLUSH [%0++];" : "+a" (ptr) : : "memory");
- } while (ptr <= end);
-}
diff --git a/libgloss/bfin/configure b/libgloss/bfin/configure
deleted file mode 100755
index 3803afc..0000000
--- a/libgloss/bfin/configure
+++ /dev/null
@@ -1,3731 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/bfin/configure.in b/libgloss/bfin/configure.in
deleted file mode 100644
index 7c2231c..0000000
--- a/libgloss/bfin/configure.in
+++ /dev/null
@@ -1,54 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/bfin/crt0.S b/libgloss/bfin/crt0.S
deleted file mode 100644
index ca6d6c7..0000000
--- a/libgloss/bfin/crt0.S
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * crt0.S for the Blackfin processor
- *
- * Copyright (C) 2006 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- .text
- .align 2
-
- .global __start
-__start:
-
- /* Start by setting up a stack */
- link 0xc;
- /* Zero the memory in the .bss section. */
-
- p0.l = __edata;
- p0.h = __edata;
- p1.l = __end;
- p1.h = __end;
- p1 -= p0;
- r0 = 0;
- lsetup (L$L$clear_bss, L$L$clear_bss) lc0 = p1;
-L$L$clear_bss:
- B [p0++] = r0;
-
-#ifdef __BFIN_FDPIC__
- /* Set up GOT pointer. */
- P0.L = __ROFIXUP_END__;
- P0.H = __ROFIXUP_END__;
- P4 = [P0 - 4];
-#endif
-
- /* Need to set up standard file handles */
- /* Parse string at r1 */
-
- p0.l = __init;
- p0.h = __init;
- P3 = P4;
- call (p0)
-
- p0.l = _atexit;
- p0.h = _atexit;
-#ifdef __BFIN_FDPIC__
- r0 = [P4 + __fini@FUNCDESC_GOT17M4];
- P3 = P4;
-#else
- r0.l = __fini;
- r0.h = __fini;
-#endif
- call (p0)
-
- p0.l = ___setup_argv_and_call_main;
- p0.h = ___setup_argv_and_call_main;
- P3 = P4;
- call (p0)
-
- p0.l = _exit;
- p0.h = _exit;
- P3 = P4;
- jump (p0) /* Should not return. */
- nop;
diff --git a/libgloss/bfin/include/blackfin.h b/libgloss/bfin/include/blackfin.h
deleted file mode 100644
index 464ac77..0000000
--- a/libgloss/bfin/include/blackfin.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef _BLACKFIN_H
-#define _BLACKFIN_H
-#include <sys/platform.h>
-#endif
diff --git a/libgloss/bfin/include/builtins.h b/libgloss/bfin/include/builtins.h
deleted file mode 100644
index d33d2e9..0000000
--- a/libgloss/bfin/include/builtins.h
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_2_4)
-#pragma diag(suppress:misra_rule_5_3)
-#pragma diag(suppress:misra_rule_6_3)
-#pragma diag(suppress:misra_rule_8_1)
-#pragma diag(suppress:misra_rule_8_8)
-#pragma diag(suppress:misra_rule_8_5)
-#pragma diag(suppress:misra_rule_19_7)
-#pragma diag(suppress:misra_rule_19_15)
-#pragma diag(suppress:misra_rule_20_2)
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if !defined(__NO_BUILTIN)
-
-/* VDSP -> GCC glue */
-#define __builtin_NOP() __asm__ __volatile__ ("NOP;")
-#define __builtin_cli() ({ unsigned int __rval; __asm__ __volatile__ ("cli %0;" : "=r"(__rval)); __rval; })
-#define __builtin_sti(x) __asm__ __volatile__ ("sti %0;" : : "r"(x))
-#define __builtin_idle() __asm__ __volatile__ ("IDLE;")
-#define __builtin_raise(x) __asm__ __volatile__ ("raise %0;" : : "n"(x))
-#define __builtin_excpt(x) __asm__ __volatile__ ("excpt %0;" : : "n"(x))
-#define __builtin_prefetch(x) __asm__ __volatile__ ("PREFETCH[%0];" : : "p"(x))
-#define __builtin_prefetchmodup(x) ({ void *__p = &(x); __asm__ __volatile__ ("PREFETCH[%0++];" : "+p"(__p)); __p; })
-#define __builtin_flushinv(x) __asm__ __volatile__ ("FLUSHINV[%0];" : : "p"(x))
-#define __builtin_flushinvmodup(x) ({ void *__p = &(x); __asm__ __volatile__ ("FLUSHINV[%0++];" : "+p"(__p)); __p; })
-#define __builtin_flush(x) __asm__ __volatile__ ("FLUSH[%0];" : : "p"(x))
-#define __builtin_flushmodup(x) ({ void *__p = &(x); __asm__ __volatile__ ("FLUSH[%0++];" : "+p"(__p)); __p; })
-#define __builtin_iflush(x) __asm__ __volatile__ ("IFLUSH[%0];" : : "p"(x))
-#define __builtin_iflushmodup(x) ({ void *__p = &(x); __asm__ __volatile__ ("IFLUSH[%0++];" : "+p"(__p)); __p; })
-#define __builtin_csync() __builtin_bfin_csync()
-#define __builtin_ssync() __builtin_bfin_ssync()
-
-#endif /* __NO_BUILTIN */
-
-
-#if !defined(__NO_BUILTIN) && !defined(__NO_SHORTNAMES)
-
-#if (!defined(__DEFINED_NOP) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_NOP)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_NOP))))
-
-#define __DEFINED_NOP
-
-/* Insert a normal 16 bit NOP, which is treated as volatile.
-*/
-
-#pragma inline
-#pragma always_inline
-static void NOP(void) {
- __builtin_NOP();
-}
-
-#endif /* __DEFINED_NOP */
-
-#if (!defined(__DEFINED_CLI) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_CLI)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_CLI))))
-
-#define __DEFINED_CLI
-
-#pragma inline
-#pragma always_inline
-static unsigned int cli(void) {
- unsigned int __rval = __builtin_cli();
- return __rval;
-}
-
-#endif /* __DEFINED_CLI */
-
-#if (!defined(__DEFINED_STI) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_STI)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_STI))))
-
-#define __DEFINED_STI
-
-#pragma inline
-#pragma always_inline
-static void sti(unsigned int __a) {
- __builtin_sti(__a);
-}
-
-#endif /* __DEFINED_STI */
-
-#if (!defined(__DEFINED_IDLE) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_IDLE)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_IDLE))))
-
-#define __DEFINED_IDLE
-
-#pragma inline
-#pragma always_inline
-static void idle(void) {
- __builtin_idle();
-}
-
-#endif /* __DEFINED_IDLE */
-
-#if (!defined(__DEFINED_RAISE_INTR) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_RAISE_INTR)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_RAISE_INTR))))
-
-#define __DEFINED_RAISE_INTR
-
-#define raise_intr(A) (__builtin_raise((A)))
-
-#endif /* __DEFINED_RAISE_INTR */
-
-#if (!defined(__DEFINED_EXCPT) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_EXCPT)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_EXCPT))))
-
-#define __DEFINED_EXCPT
-
-#define excpt(A) (__builtin_excpt((A)))
-
-#endif /* __DEFINED_EXCPT */
-
-#if (!defined(__DEFINED_PREFETCH) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_PREFETCH)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_PREFETCH))))
-
-#define __DEFINED_PREFETCH
-
-#pragma inline
-#pragma always_inline
-static void prefetch(void * __a) {
- __builtin_prefetch(__a);
-}
-
-#endif /* __DEFINED_PREFETCH */
-
-#if (!defined(__DEFINED_PREFETCHMODUP) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_PREFETCHMODUP)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_PREFETCHMODUP))))
-
-#define __DEFINED_PREFETCHMODUP
-
-#pragma inline
-#pragma always_inline
-static void * prefetchmodup(void * __a) {
- void * __rval = __builtin_prefetchmodup(__a);
- return __rval;
-}
-
-#endif /* __DEFINED_PREFETCHMODUP */
-
-#if (!defined(__DEFINED_FLUSHINV) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_FLUSHINV)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_FLUSHINV))))
-
-#define __DEFINED_FLUSHINV
-
-#pragma inline
-#pragma always_inline
-static void flushinv(void * __a) {
- __builtin_flushinv(__a);
-}
-
-#endif /* __DEFINED_FLUSHINV */
-
-#if (!defined(__DEFINED_FLUSHINVMODUP) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_FLUSHINVMODUP)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_FLUSHINVMODUP))))
-
-#define __DEFINED_FLUSHINVMODUP
-
-#pragma inline
-#pragma always_inline
-static void * flushinvmodup(void * __a) {
- void * __rval = __builtin_flushinvmodup(__a);
- return __rval;
-}
-
-#endif /* __DEFINED_FLUSHINVMODUP */
-
-#if (!defined(__DEFINED_FLUSH) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_FLUSH)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_FLUSH))))
-
-#define __DEFINED_FLUSH
-
-#pragma inline
-#pragma always_inline
-static void flush(void * __a) {
- __builtin_flush(__a);
-}
-
-#endif /* __DEFINED_FLUSH */
-
-#if (!defined(__DEFINED_FLUSHMODUP) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_FLUSHMODUP)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_FLUSHMODUP))))
-
-#define __DEFINED_FLUSHMODUP
-
-#pragma inline
-#pragma always_inline
-static void * flushmodup(void * __a) {
- void * __rval = __builtin_flushmodup(__a);
- return __rval;
-}
-
-#endif /* __DEFINED_FLUSHMODUP */
-
-#if (!defined(__DEFINED_IFLUSH) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_IFLUSH)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_IFLUSH))))
-
-#define __DEFINED_IFLUSH
-
-#pragma inline
-#pragma always_inline
-static void iflush(void * __a) {
- __builtin_iflush(__a);
-}
-
-#endif /* __DEFINED_IFLUSH */
-
-#if (!defined(__DEFINED_IFLUSHMODUP) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_IFLUSHMODUP)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_IFLUSHMODUP))))
-
-#define __DEFINED_IFLUSHMODUP
-
-#pragma inline
-#pragma always_inline
-static void * iflushmodup(void * __a) {
- void * __rval = __builtin_iflushmodup(__a);
- return __rval;
-}
-
-#endif /* __DEFINED_IFLUSHMODUP */
-
-#if (!defined(__DEFINED_CSYNC) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_CSYNC)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_CSYNC))))
-
-#define __DEFINED_CSYNC
-
-/* generate a csync instruction protected by CLI/STI for anomaly 05-00-0312;
-** you can generate an unprotected csync by using csync_int
-*/
-
-#pragma inline
-#pragma always_inline
-static void csync(void) {
- __builtin_csync();
-}
-
-#endif /* __DEFINED_CSYNC */
-
-#if (!defined(__DEFINED_SSYNC) && \
- ((defined(__SPECIFIC_NAMES) && defined(__ENABLE_SSYNC)) || \
- (!defined(__SPECIFIC_NAMES) && !defined(__DISABLE_SSYNC))))
-
-#define __DEFINED_SSYNC
-
-/* generate a ssync instruction protected by CLI/STI for anomaly 05-00-0312;
-** you can generate an unprotected ssync by using ssync_int
-*/
-
-#pragma inline
-#pragma always_inline
-static void ssync(void) {
- __builtin_ssync();
-}
-
-#endif /* __DEFINED_SSYNC */
-
-#endif /* __NO_BUILTIN */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif
-
-#ifdef __cplusplus
-}
-#endif
diff --git a/libgloss/bfin/include/ccblkfn.h b/libgloss/bfin/include/ccblkfn.h
deleted file mode 100644
index 190da2d..0000000
--- a/libgloss/bfin/include/ccblkfn.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef _CCBLKFN_H
-#define _CCBLKFN_H
-
-#include <stdlib.h>
-
-#include <builtins.h>
-#include <sys/anomaly_macros_rtl.h>
-
-#include <sys/mc_typedef.h>
-
-#endif
diff --git a/libgloss/bfin/include/cdefBF504.h b/libgloss/bfin/include/cdefBF504.h
deleted file mode 100644
index cb698fc..0000000
--- a/libgloss/bfin/include/cdefBF504.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF504 processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _CDEF_BF504_H
-#define _CDEF_BF504_H
-
-/* Include all Core registers and bit definitions */
-#include <cdef_LPBlackfin.h>
-
-/* Include cdefBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <cdefBF50x_base.h>
-
-/* Define the set of macros that are specific to the ADSP-BF504 processor */
-
-#endif /* _CDEF_BF504_H */
diff --git a/libgloss/bfin/include/cdefBF504F.h b/libgloss/bfin/include/cdefBF504F.h
deleted file mode 100644
index 31f3caf..0000000
--- a/libgloss/bfin/include/cdefBF504F.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF504F processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _CDEF_BF504F_H
-#define _CDEF_BF504F_H
-
-/* Include all Core registers and bit definitions */
-#include <cdef_LPBlackfin.h>
-
-/* Include cdefBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <cdefBF50x_base.h>
-
-/* Define the set of macros that are specific to the ADSP-BF504F processor */
-
-#endif /* _CDEF_BF504F_H */
diff --git a/libgloss/bfin/include/cdefBF506F.h b/libgloss/bfin/include/cdefBF506F.h
deleted file mode 100644
index f75d73c..0000000
--- a/libgloss/bfin/include/cdefBF506F.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF506F processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _CDEF_BF506F_H
-#define _CDEF_BF506F_H
-
-/* Include all Core registers and bit definitions */
-#include <cdef_LPBlackfin.h>
-
-/* Include cdefBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <cdefBF50x_base.h>
-
-#endif /* _CDEF_BF506F_H */
diff --git a/libgloss/bfin/include/cdefBF50x_base.h b/libgloss/bfin/include/cdefBF50x_base.h
deleted file mode 100644
index 58de083..0000000
--- a/libgloss/bfin/include/cdefBF50x_base.h
+++ /dev/null
@@ -1,1159 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF50x_base.h
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the system MMRs common to the ADSP-BF50x parts
-** peripherals.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _CDEF_BF50X_H
-#define _CDEF_BF50X_H
-
-#include <defBF50x_base.h>
-#include <stdint.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-# ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-# define _PTR_TO_VOL_VOID_PTR _PTR_TO_VOL_VOID_PTR
-# else
-# define _PTR_TO_VOL_VOID_PTR (volatile void **)
-# endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile uint16_t *)PLL_CTL)
-#define pPLL_DIV ((volatile uint16_t *)PLL_DIV)
-#define pVR_CTL ((volatile uint16_t *)VR_CTL)
-#define pPLL_STAT ((volatile uint16_t *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile uint16_t *)PLL_LOCKCNT)
-#define pCHIPID ((volatile uint32_t *)CHIPID)
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define pSWRST ((volatile uint16_t *)SWRST)
-#define pSYSCR ((volatile uint16_t *)SYSCR)
-
-#define pSIC_IMASK0 ((volatile uint32_t *)SIC_IMASK0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IMASK ((volatile uint32_t *)SIC_IMASK0)
-#define pSIC_IAR0 ((volatile uint32_t *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile uint32_t *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile uint32_t *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile uint32_t *)SIC_IAR3)
-#define pSIC_ISR0 ((volatile uint32_t *)SIC_ISR0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_ISR ((volatile uint32_t *)SIC_ISR0)
-#define pSIC_IWR0 ((volatile uint32_t *)SIC_IWR0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IWR ((volatile uint32_t *)SIC_IWR0)
-
-/* SIC Additions to ADSP-BF50x (0xFFC0014C - 0xFFC00162) */
-#define pSIC_IMASK1 ((volatile uint32_t *)SIC_IMASK1)
-#define pSIC_IAR4 ((volatile uint32_t *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile uint32_t *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile uint32_t *)SIC_IAR6)
-#define pSIC_ISR1 ((volatile uint32_t *)SIC_ISR1)
-#define pSIC_IWR1 ((volatile uint32_t *)SIC_IWR1)
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define pWDOG_CTL ((volatile uint16_t *)WDOG_CTL)
-#define pWDOG_CNT ((volatile uint32_t *)WDOG_CNT)
-#define pWDOG_STAT ((volatile uint32_t *)WDOG_STAT)
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART0_DLL ((volatile uint16_t *)UART0_DLL)
-#define pUART0_DLH ((volatile uint16_t *)UART0_DLH)
-#define pUART0_GCTL ((volatile uint16_t *)UART0_GCTL)
-#define pUART0_LCR ((volatile uint16_t *)UART0_LCR)
-#define pUART0_MCR ((volatile uint16_t *)UART0_MCR)
-#define pUART0_LSR ((volatile uint16_t *)UART0_LSR)
-#define pUART0_MSR ((volatile uint16_t *)UART0_MSR)
-#define pUART0_SCR ((volatile uint16_t *)UART0_SCR)
-#define pUART0_IER_SET ((volatile uint16_t *)UART0_IER_SET)
-#define pUART0_IER_CLEAR ((volatile uint16_t *)UART0_IER_CLEAR)
-#define pUART0_THR ((volatile uint16_t *)UART0_THR)
-#define pUART0_RBR ((volatile uint16_t *)UART0_RBR)
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF)*/
-#define pSPI0_CTL ((volatile uint16_t *)SPI0_CTL)
-#define pSPI0_FLG ((volatile uint16_t *)SPI0_FLG)
-#define pSPI0_STAT ((volatile uint16_t *)SPI0_STAT)
-#define pSPI0_TDBR ((volatile uint16_t *)SPI0_TDBR)
-#define pSPI0_RDBR ((volatile uint16_t *)SPI0_RDBR)
-#define pSPI0_BAUD ((volatile uint16_t *)SPI0_BAUD)
-#define pSPI0_SHADOW ((volatile uint16_t *)SPI0_SHADOW)
-/* legacy register names (below) provided for backwards code compatibility */
-#define pSPI_CTL (pSPI0_CTL)
-#define pSPI_FLG (pSPI0_FLG)
-#define pSPI_STAT (pSPI0_STAT)
-#define pSPI_TDBR (pSPI0_TDBR)
-#define pSPI_RDBR (pSPI0_RDBR)
-#define pSPI_BAUD (pSPI0_BAUD)
-#define pSPI_SHADOW (pSPI0_SHADOW)
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define pTIMER0_CONFIG ((volatile uint16_t *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile uint32_t *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile uint32_t *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile uint32_t *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile uint16_t *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile uint32_t *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile uint32_t *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile uint32_t *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile uint16_t *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile uint32_t *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile uint32_t *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile uint32_t *)TIMER2_WIDTH)
-
-#define pTIMER3_CONFIG ((volatile uint16_t *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile uint32_t *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile uint32_t *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile uint32_t *)TIMER3_WIDTH)
-
-#define pTIMER4_CONFIG ((volatile uint16_t *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile uint32_t *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile uint32_t *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile uint32_t *)TIMER4_WIDTH)
-
-#define pTIMER5_CONFIG ((volatile uint16_t *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile uint32_t *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile uint32_t *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile uint32_t *)TIMER5_WIDTH)
-
-#define pTIMER6_CONFIG ((volatile uint16_t *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile uint32_t *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile uint32_t *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile uint32_t *)TIMER6_WIDTH)
-
-#define pTIMER7_CONFIG ((volatile uint16_t *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile uint32_t *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile uint32_t *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile uint32_t *)TIMER7_WIDTH)
-
-#define pTIMER_ENABLE ((volatile uint16_t *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile uint16_t *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile uint32_t *)TIMER_STATUS)
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define pPORTFIO ((volatile uint16_t *)PORTFIO)
-#define pPORTFIO_CLEAR ((volatile uint16_t *)PORTFIO_CLEAR)
-#define pPORTFIO_SET ((volatile uint16_t *)PORTFIO_SET)
-#define pPORTFIO_TOGGLE ((volatile uint16_t *)PORTFIO_TOGGLE)
-#define pPORTFIO_MASKA ((volatile uint16_t *)PORTFIO_MASKA)
-#define pPORTFIO_MASKA_CLEAR ((volatile uint16_t *)PORTFIO_MASKA_CLEAR)
-#define pPORTFIO_MASKA_SET ((volatile uint16_t *)PORTFIO_MASKA_SET)
-#define pPORTFIO_MASKA_TOGGLE ((volatile uint16_t *)PORTFIO_MASKA_TOGGLE)
-#define pPORTFIO_MASKB ((volatile uint16_t *)PORTFIO_MASKB)
-#define pPORTFIO_MASKB_CLEAR ((volatile uint16_t *)PORTFIO_MASKB_CLEAR)
-#define pPORTFIO_MASKB_SET ((volatile uint16_t *)PORTFIO_MASKB_SET)
-#define pPORTFIO_MASKB_TOGGLE ((volatile uint16_t *)PORTFIO_MASKB_TOGGLE)
-#define pPORTFIO_DIR ((volatile uint16_t *)PORTFIO_DIR)
-#define pPORTFIO_POLAR ((volatile uint16_t *)PORTFIO_POLAR)
-#define pPORTFIO_EDGE ((volatile uint16_t *)PORTFIO_EDGE)
-#define pPORTFIO_BOTH ((volatile uint16_t *)PORTFIO_BOTH)
-#define pPORTFIO_INEN ((volatile uint16_t *)PORTFIO_INEN)
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile uint16_t *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile uint16_t *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile uint16_t *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile uint16_t *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile uint32_t *)SPORT0_TX)
-#define pSPORT0_RX ((volatile uint32_t *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile uint32_t *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile uint32_t *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile uint16_t *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile uint16_t *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile uint16_t *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile uint16_t *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile uint16_t *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile uint16_t *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile uint16_t *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile uint16_t *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile uint16_t *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile uint16_t *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile uint32_t *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile uint32_t *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile uint32_t *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile uint32_t *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile uint32_t *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile uint32_t *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile uint32_t *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile uint32_t *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile uint16_t *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile uint16_t *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile uint16_t *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile uint16_t *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile uint32_t *)SPORT1_TX)
-#define pSPORT1_RX ((volatile uint32_t *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile uint32_t *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile uint32_t *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile uint16_t *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile uint16_t *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile uint16_t *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile uint16_t *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile uint16_t *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile uint16_t *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile uint16_t *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile uint16_t *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile uint16_t *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile uint16_t *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile uint32_t *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile uint32_t *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile uint32_t *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile uint32_t *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile uint32_t *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile uint32_t *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile uint32_t *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile uint32_t *)SPORT1_MRCS3)
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define pEBIU_AMGCTL ((volatile uint16_t *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL ((volatile uint32_t *)EBIU_AMBCTL)
-#define pEBIU_MODE ((volatile uint16_t *)EBIU_MODE)
-#define pEBIU_FCTL ((volatile uint16_t *)EBIU_FCTL)
-#define pEBIU_AMBCTL0 ((volatile uint32_t *)EBIU_AMBCTL)
-
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define pDMA_TC_PER ((volatile uint16_t *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile uint16_t *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile uint16_t *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile uint16_t *)DMA_TCCNT)
-
-/* DMA Controller (0xFFC00C00 - FFC00FFF)*/
-#define pDMA0_CONFIG ((volatile uint16_t *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile uint16_t *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile uint16_t *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile int16_t *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile int16_t *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile uint16_t *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile uint16_t *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile uint16_t *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile uint16_t *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile uint16_t *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile uint16_t *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile uint16_t *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile int16_t *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile int16_t *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile uint16_t *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile uint16_t *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile uint16_t *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile uint16_t *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile uint16_t *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile uint16_t *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile uint16_t *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile int16_t *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile int16_t *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile uint16_t *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile uint16_t *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile uint16_t *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile uint16_t *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile uint16_t *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile uint16_t *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile uint16_t *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile int16_t *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile int16_t *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile uint16_t *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile uint16_t *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile uint16_t *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile uint16_t *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile uint16_t *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile uint16_t *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile uint16_t *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile int16_t *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile int16_t *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile uint16_t *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile uint16_t *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile uint16_t *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile uint16_t *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile uint16_t *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile uint16_t *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile uint16_t *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile int16_t *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile int16_t *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile uint16_t *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile uint16_t *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile uint16_t *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile uint16_t *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile uint16_t *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile uint16_t *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile uint16_t *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile int16_t *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile int16_t *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile uint16_t *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile uint16_t *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile uint16_t *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile uint16_t *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile uint16_t *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile uint16_t *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile uint16_t *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile int16_t *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile int16_t *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile uint16_t *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile uint16_t *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile uint16_t *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile uint16_t *)DMA7_PERIPHERAL_MAP)
-
-#define pDMA8_CONFIG ((volatile uint16_t *)DMA8_CONFIG)
-#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
-#define pDMA8_X_COUNT ((volatile uint16_t *)DMA8_X_COUNT)
-#define pDMA8_Y_COUNT ((volatile uint16_t *)DMA8_Y_COUNT)
-#define pDMA8_X_MODIFY ((volatile int16_t *)DMA8_X_MODIFY)
-#define pDMA8_Y_MODIFY ((volatile int16_t *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
-#define pDMA8_CURR_X_COUNT ((volatile uint16_t *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile uint16_t *)DMA8_CURR_Y_COUNT)
-#define pDMA8_IRQ_STATUS ((volatile uint16_t *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile uint16_t *)DMA8_PERIPHERAL_MAP)
-
-#define pDMA9_CONFIG ((volatile uint16_t *)DMA9_CONFIG)
-#define pDMA9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_START_ADDR)
-#define pDMA9_X_COUNT ((volatile uint16_t *)DMA9_X_COUNT)
-#define pDMA9_Y_COUNT ((volatile uint16_t *)DMA9_Y_COUNT)
-#define pDMA9_X_MODIFY ((volatile int16_t *)DMA9_X_MODIFY)
-#define pDMA9_Y_MODIFY ((volatile int16_t *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_ADDR)
-#define pDMA9_CURR_X_COUNT ((volatile uint16_t *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile uint16_t *)DMA9_CURR_Y_COUNT)
-#define pDMA9_IRQ_STATUS ((volatile uint16_t *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile uint16_t *)DMA9_PERIPHERAL_MAP)
-
-#define pDMA10_CONFIG ((volatile uint16_t *)DMA10_CONFIG)
-#define pDMA10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_START_ADDR)
-#define pDMA10_X_COUNT ((volatile uint16_t *)DMA10_X_COUNT)
-#define pDMA10_Y_COUNT ((volatile uint16_t *)DMA10_Y_COUNT)
-#define pDMA10_X_MODIFY ((volatile int16_t *)DMA10_X_MODIFY)
-#define pDMA10_Y_MODIFY ((volatile int16_t *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_ADDR)
-#define pDMA10_CURR_X_COUNT ((volatile uint16_t *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile uint16_t *)DMA10_CURR_Y_COUNT)
-#define pDMA10_IRQ_STATUS ((volatile uint16_t *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile uint16_t *)DMA10_PERIPHERAL_MAP)
-
-#define pDMA11_CONFIG ((volatile uint16_t *)DMA11_CONFIG)
-#define pDMA11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_START_ADDR)
-#define pDMA11_X_COUNT ((volatile uint16_t *)DMA11_X_COUNT)
-#define pDMA11_Y_COUNT ((volatile uint16_t *)DMA11_Y_COUNT)
-#define pDMA11_X_MODIFY ((volatile int16_t *)DMA11_X_MODIFY)
-#define pDMA11_Y_MODIFY ((volatile int16_t *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_ADDR)
-#define pDMA11_CURR_X_COUNT ((volatile uint16_t *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile uint16_t *)DMA11_CURR_Y_COUNT)
-#define pDMA11_IRQ_STATUS ((volatile uint16_t *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile uint16_t *)DMA11_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile uint16_t *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile uint16_t *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile uint16_t *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile int16_t *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile int16_t *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile uint16_t *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile uint16_t *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile uint16_t *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile uint16_t *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile uint16_t *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile uint16_t *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile int16_t *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile int16_t *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile uint16_t *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile uint16_t *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile uint16_t *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_S0_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile uint16_t *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile uint16_t *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile uint16_t *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile int16_t *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile int16_t *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile uint16_t *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile uint16_t *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile uint16_t *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile uint16_t *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile uint16_t *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile uint16_t *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile int16_t *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile int16_t *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile uint16_t *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile uint16_t *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile uint16_t *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_S1_PERIPHERAL_MAP)
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define pPPI_CONTROL ((volatile uint16_t *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile uint16_t *)PPI_STATUS)
-#define pPPI_DELAY ((volatile uint16_t *)PPI_DELAY)
-#define pPPI_COUNT ((volatile uint16_t *)PPI_COUNT)
-#define pPPI_FRAME ((volatile uint16_t *)PPI_FRAME)
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define pTWI_CLKDIV ((volatile uint16_t *)TWI_CLKDIV)
-#define pTWI_CONTROL ((volatile uint16_t *)TWI_CONTROL)
-#define pTWI_SLAVE_CTL ((volatile uint16_t *)TWI_SLAVE_CTL)
-#define pTWI_SLAVE_STAT ((volatile uint16_t *)TWI_SLAVE_STAT)
-#define pTWI_SLAVE_ADDR ((volatile uint16_t *)TWI_SLAVE_ADDR)
-#define pTWI_MASTER_CTL ((volatile uint16_t *)TWI_MASTER_CTL)
-#define pTWI_MASTER_STAT ((volatile uint16_t *)TWI_MASTER_STAT)
-#define pTWI_MASTER_ADDR ((volatile uint16_t *)TWI_MASTER_ADDR)
-#define pTWI_INT_STAT ((volatile uint16_t *)TWI_INT_STAT)
-#define pTWI_INT_MASK ((volatile uint16_t *)TWI_INT_MASK)
-#define pTWI_FIFO_CTL ((volatile uint16_t *)TWI_FIFO_CTL)
-#define pTWI_FIFO_STAT ((volatile uint16_t *)TWI_FIFO_STAT)
-#define pTWI_XMT_DATA8 ((volatile uint16_t *)TWI_XMT_DATA8)
-#define pTWI_XMT_DATA16 ((volatile uint16_t *)TWI_XMT_DATA16)
-#define pTWI_RCV_DATA8 ((volatile uint16_t *)TWI_RCV_DATA8)
-#define pTWI_RCV_DATA16 ((volatile uint16_t *)TWI_RCV_DATA16)
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define pPORTGIO ((volatile uint16_t *)PORTGIO)
-#define pPORTGIO_CLEAR ((volatile uint16_t *)PORTGIO_CLEAR)
-#define pPORTGIO_SET ((volatile uint16_t *)PORTGIO_SET)
-#define pPORTGIO_TOGGLE ((volatile uint16_t *)PORTGIO_TOGGLE)
-#define pPORTGIO_MASKA ((volatile uint16_t *)PORTGIO_MASKA)
-#define pPORTGIO_MASKA_CLEAR ((volatile uint16_t *)PORTGIO_MASKA_CLEAR)
-#define pPORTGIO_MASKA_SET ((volatile uint16_t *)PORTGIO_MASKA_SET)
-#define pPORTGIO_MASKA_TOGGLE ((volatile uint16_t *)PORTGIO_MASKA_TOGGLE)
-#define pPORTGIO_MASKB ((volatile uint16_t *)PORTGIO_MASKB)
-#define pPORTGIO_MASKB_CLEAR ((volatile uint16_t *)PORTGIO_MASKB_CLEAR)
-#define pPORTGIO_MASKB_SET ((volatile uint16_t *)PORTGIO_MASKB_SET)
-#define pPORTGIO_MASKB_TOGGLE ((volatile uint16_t *)PORTGIO_MASKB_TOGGLE)
-#define pPORTGIO_DIR ((volatile uint16_t *)PORTGIO_DIR)
-#define pPORTGIO_POLAR ((volatile uint16_t *)PORTGIO_POLAR)
-#define pPORTGIO_EDGE ((volatile uint16_t *)PORTGIO_EDGE)
-#define pPORTGIO_BOTH ((volatile uint16_t *)PORTGIO_BOTH)
-#define pPORTGIO_INEN ((volatile uint16_t *)PORTGIO_INEN)
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define pPORTHIO ((volatile uint16_t *)PORTHIO)
-#define pPORTHIO_CLEAR ((volatile uint16_t *)PORTHIO_CLEAR)
-#define pPORTHIO_SET ((volatile uint16_t *)PORTHIO_SET)
-#define pPORTHIO_TOGGLE ((volatile uint16_t *)PORTHIO_TOGGLE)
-#define pPORTHIO_MASKA ((volatile uint16_t *)PORTHIO_MASKA)
-#define pPORTHIO_MASKA_CLEAR ((volatile uint16_t *)PORTHIO_MASKA_CLEAR)
-#define pPORTHIO_MASKA_SET ((volatile uint16_t *)PORTHIO_MASKA_SET)
-#define pPORTHIO_MASKA_TOGGLE ((volatile uint16_t *)PORTHIO_MASKA_TOGGLE)
-#define pPORTHIO_MASKB ((volatile uint16_t *)PORTHIO_MASKB)
-#define pPORTHIO_MASKB_CLEAR ((volatile uint16_t *)PORTHIO_MASKB_CLEAR)
-#define pPORTHIO_MASKB_SET ((volatile uint16_t *)PORTHIO_MASKB_SET)
-#define pPORTHIO_MASKB_TOGGLE ((volatile uint16_t *)PORTHIO_MASKB_TOGGLE)
-#define pPORTHIO_DIR ((volatile uint16_t *)PORTHIO_DIR)
-#define pPORTHIO_POLAR ((volatile uint16_t *)PORTHIO_POLAR)
-#define pPORTHIO_EDGE ((volatile uint16_t *)PORTHIO_EDGE)
-#define pPORTHIO_BOTH ((volatile uint16_t *)PORTHIO_BOTH)
-#define pPORTHIO_INEN ((volatile uint16_t *)PORTHIO_INEN)
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define pUART1_DLL ((volatile uint16_t *)UART1_DLL)
-#define pUART1_DLH ((volatile uint16_t *)UART1_DLH)
-#define pUART1_GCTL ((volatile uint16_t *)UART1_GCTL)
-#define pUART1_LCR ((volatile uint16_t *)UART1_LCR)
-#define pUART1_MCR ((volatile uint16_t *)UART1_MCR)
-#define pUART1_LSR ((volatile uint16_t *)UART1_LSR)
-#define pUART1_MSR ((volatile uint16_t *)UART1_MSR)
-#define pUART1_SCR ((volatile uint16_t *)UART1_SCR)
-#define pUART1_IER_SET ((volatile uint16_t *)UART1_IER_SET)
-#define pUART1_IER_CLEAR ((volatile uint16_t *)UART1_IER_CLEAR)
-#define pUART1_THR ((volatile uint16_t *)UART1_THR)
-#define pUART1_RBR ((volatile uint16_t *)UART1_RBR)
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define pCAN_MC1 ((volatile uint16_t *)CAN_MC1)
-#define pCAN_MD1 ((volatile uint16_t *)CAN_MD1)
-#define pCAN_TRS1 ((volatile uint16_t *)CAN_TRS1)
-#define pCAN_TRR1 ((volatile uint16_t *)CAN_TRR1)
-#define pCAN_TA1 ((volatile uint16_t *)CAN_TA1)
-#define pCAN_AA1 ((volatile uint16_t *)CAN_AA1)
-#define pCAN_RMP1 ((volatile uint16_t *)CAN_RMP1)
-#define pCAN_RML1 ((volatile uint16_t *)CAN_RML1)
-#define pCAN_MBTIF1 ((volatile uint16_t *)CAN_MBTIF1)
-#define pCAN_MBRIF1 ((volatile uint16_t *)CAN_MBRIF1)
-#define pCAN_MBIM1 ((volatile uint16_t *)CAN_MBIM1)
-#define pCAN_RFH1 ((volatile uint16_t *)CAN_RFH1)
-#define pCAN_OPSS1 ((volatile uint16_t *)CAN_OPSS1)
-
-/* For Mailboxes 16-31 */
-#define pCAN_MC2 ((volatile uint16_t *)CAN_MC2)
-#define pCAN_MD2 ((volatile uint16_t *)CAN_MD2)
-#define pCAN_TRS2 ((volatile uint16_t *)CAN_TRS2)
-#define pCAN_TRR2 ((volatile uint16_t *)CAN_TRR2)
-#define pCAN_TA2 ((volatile uint16_t *)CAN_TA2)
-#define pCAN_AA2 ((volatile uint16_t *)CAN_AA2)
-#define pCAN_RMP2 ((volatile uint16_t *)CAN_RMP2)
-#define pCAN_RML2 ((volatile uint16_t *)CAN_RML2)
-#define pCAN_MBTIF2 ((volatile uint16_t *)CAN_MBTIF2)
-#define pCAN_MBRIF2 ((volatile uint16_t *)CAN_MBRIF2)
-#define pCAN_MBIM2 ((volatile uint16_t *)CAN_MBIM2)
-#define pCAN_RFH2 ((volatile uint16_t *)CAN_RFH2)
-#define pCAN_OPSS2 ((volatile uint16_t *)CAN_OPSS2)
-
-#define pCAN_CLOCK ((volatile uint16_t *)CAN_CLOCK)
-#define pCAN_TIMING ((volatile uint16_t *)CAN_TIMING)
-#define pCAN_DEBUG ((volatile uint16_t *)CAN_DEBUG)
-#define pCAN_STATUS ((volatile uint16_t *)CAN_STATUS)
-#define pCAN_CEC ((volatile uint16_t *)CAN_CEC)
-#define pCAN_GIS ((volatile uint16_t *)CAN_GIS)
-#define pCAN_GIM ((volatile uint16_t *)CAN_GIM)
-#define pCAN_GIF ((volatile uint16_t *)CAN_GIF)
-#define pCAN_CONTROL ((volatile uint16_t *)CAN_CONTROL)
-#define pCAN_INTR ((volatile uint16_t *)CAN_INTR)
-#define pCAN_MBTD ((volatile uint16_t *)CAN_MBTD)
-#define pCAN_EWR ((volatile uint16_t *)CAN_EWR)
-#define pCAN_ESR ((volatile uint16_t *)CAN_ESR)
-#define pCAN_UCCNT ((volatile uint16_t *)CAN_UCCNT)
-#define pCAN_UCRC ((volatile uint16_t *)CAN_UCRC)
-#define pCAN_UCCNF ((volatile uint16_t *)CAN_UCCNF)
-
-/* Mailbox Acceptance Masks */
-#define pCAN_AM00L ((volatile uint16_t *)CAN_AM00L)
-#define pCAN_AM00H ((volatile uint16_t *)CAN_AM00H)
-#define pCAN_AM01L ((volatile uint16_t *)CAN_AM01L)
-#define pCAN_AM01H ((volatile uint16_t *)CAN_AM01H)
-#define pCAN_AM02L ((volatile uint16_t *)CAN_AM02L)
-#define pCAN_AM02H ((volatile uint16_t *)CAN_AM02H)
-#define pCAN_AM03L ((volatile uint16_t *)CAN_AM03L)
-#define pCAN_AM03H ((volatile uint16_t *)CAN_AM03H)
-#define pCAN_AM04L ((volatile uint16_t *)CAN_AM04L)
-#define pCAN_AM04H ((volatile uint16_t *)CAN_AM04H)
-#define pCAN_AM05L ((volatile uint16_t *)CAN_AM05L)
-#define pCAN_AM05H ((volatile uint16_t *)CAN_AM05H)
-#define pCAN_AM06L ((volatile uint16_t *)CAN_AM06L)
-#define pCAN_AM06H ((volatile uint16_t *)CAN_AM06H)
-#define pCAN_AM07L ((volatile uint16_t *)CAN_AM07L)
-#define pCAN_AM07H ((volatile uint16_t *)CAN_AM07H)
-#define pCAN_AM08L ((volatile uint16_t *)CAN_AM08L)
-#define pCAN_AM08H ((volatile uint16_t *)CAN_AM08H)
-#define pCAN_AM09L ((volatile uint16_t *)CAN_AM09L)
-#define pCAN_AM09H ((volatile uint16_t *)CAN_AM09H)
-#define pCAN_AM10L ((volatile uint16_t *)CAN_AM10L)
-#define pCAN_AM10H ((volatile uint16_t *)CAN_AM10H)
-#define pCAN_AM11L ((volatile uint16_t *)CAN_AM11L)
-#define pCAN_AM11H ((volatile uint16_t *)CAN_AM11H)
-#define pCAN_AM12L ((volatile uint16_t *)CAN_AM12L)
-#define pCAN_AM12H ((volatile uint16_t *)CAN_AM12H)
-#define pCAN_AM13L ((volatile uint16_t *)CAN_AM13L)
-#define pCAN_AM13H ((volatile uint16_t *)CAN_AM13H)
-#define pCAN_AM14L ((volatile uint16_t *)CAN_AM14L)
-#define pCAN_AM14H ((volatile uint16_t *)CAN_AM14H)
-#define pCAN_AM15L ((volatile uint16_t *)CAN_AM15L)
-#define pCAN_AM15H ((volatile uint16_t *)CAN_AM15H)
-
-#define pCAN_AM16L ((volatile uint16_t *)CAN_AM16L)
-#define pCAN_AM16H ((volatile uint16_t *)CAN_AM16H)
-#define pCAN_AM17L ((volatile uint16_t *)CAN_AM17L)
-#define pCAN_AM17H ((volatile uint16_t *)CAN_AM17H)
-#define pCAN_AM18L ((volatile uint16_t *)CAN_AM18L)
-#define pCAN_AM18H ((volatile uint16_t *)CAN_AM18H)
-#define pCAN_AM19L ((volatile uint16_t *)CAN_AM19L)
-#define pCAN_AM19H ((volatile uint16_t *)CAN_AM19H)
-#define pCAN_AM20L ((volatile uint16_t *)CAN_AM20L)
-#define pCAN_AM20H ((volatile uint16_t *)CAN_AM20H)
-#define pCAN_AM21L ((volatile uint16_t *)CAN_AM21L)
-#define pCAN_AM21H ((volatile uint16_t *)CAN_AM21H)
-#define pCAN_AM22L ((volatile uint16_t *)CAN_AM22L)
-#define pCAN_AM22H ((volatile uint16_t *)CAN_AM22H)
-#define pCAN_AM23L ((volatile uint16_t *)CAN_AM23L)
-#define pCAN_AM23H ((volatile uint16_t *)CAN_AM23H)
-#define pCAN_AM24L ((volatile uint16_t *)CAN_AM24L)
-#define pCAN_AM24H ((volatile uint16_t *)CAN_AM24H)
-#define pCAN_AM25L ((volatile uint16_t *)CAN_AM25L)
-#define pCAN_AM25H ((volatile uint16_t *)CAN_AM25H)
-#define pCAN_AM26L ((volatile uint16_t *)CAN_AM26L)
-#define pCAN_AM26H ((volatile uint16_t *)CAN_AM26H)
-#define pCAN_AM27L ((volatile uint16_t *)CAN_AM27L)
-#define pCAN_AM27H ((volatile uint16_t *)CAN_AM27H)
-#define pCAN_AM28L ((volatile uint16_t *)CAN_AM28L)
-#define pCAN_AM28H ((volatile uint16_t *)CAN_AM28H)
-#define pCAN_AM29L ((volatile uint16_t *)CAN_AM29L)
-#define pCAN_AM29H ((volatile uint16_t *)CAN_AM29H)
-#define pCAN_AM30L ((volatile uint16_t *)CAN_AM30L)
-#define pCAN_AM30H ((volatile uint16_t *)CAN_AM30H)
-#define pCAN_AM31L ((volatile uint16_t *)CAN_AM31L)
-#define pCAN_AM31H ((volatile uint16_t *)CAN_AM31H)
-
-/* CAN Acceptance Mask Area Macros */
-#define pCAN_AM_L(x) ((volatile uint16_t *)CAN_AM_L(x))
-#define pCAN_AM_H(x) ((volatile uint16_t *)CAN_AM_H(x))
-
-/* Mailbox Registers */
-#define pCAN_MB00_DATA0 ((volatile uint16_t *)CAN_MB00_DATA0)
-#define pCAN_MB00_DATA1 ((volatile uint16_t *)CAN_MB00_DATA1)
-#define pCAN_MB00_DATA2 ((volatile uint16_t *)CAN_MB00_DATA2)
-#define pCAN_MB00_DATA3 ((volatile uint16_t *)CAN_MB00_DATA3)
-#define pCAN_MB00_LENGTH ((volatile uint16_t *)CAN_MB00_LENGTH)
-#define pCAN_MB00_TIMESTAMP ((volatile uint16_t *)CAN_MB00_TIMESTAMP)
-#define pCAN_MB00_ID0 ((volatile uint16_t *)CAN_MB00_ID0)
-#define pCAN_MB00_ID1 ((volatile uint16_t *)CAN_MB00_ID1)
-
-#define pCAN_MB01_DATA0 ((volatile uint16_t *)CAN_MB01_DATA0)
-#define pCAN_MB01_DATA1 ((volatile uint16_t *)CAN_MB01_DATA1)
-#define pCAN_MB01_DATA2 ((volatile uint16_t *)CAN_MB01_DATA2)
-#define pCAN_MB01_DATA3 ((volatile uint16_t *)CAN_MB01_DATA3)
-#define pCAN_MB01_LENGTH ((volatile uint16_t *)CAN_MB01_LENGTH)
-#define pCAN_MB01_TIMESTAMP ((volatile uint16_t *)CAN_MB01_TIMESTAMP)
-#define pCAN_MB01_ID0 ((volatile uint16_t *)CAN_MB01_ID0)
-#define pCAN_MB01_ID1 ((volatile uint16_t *)CAN_MB01_ID1)
-
-#define pCAN_MB02_DATA0 ((volatile uint16_t *)CAN_MB02_DATA0)
-#define pCAN_MB02_DATA1 ((volatile uint16_t *)CAN_MB02_DATA1)
-#define pCAN_MB02_DATA2 ((volatile uint16_t *)CAN_MB02_DATA2)
-#define pCAN_MB02_DATA3 ((volatile uint16_t *)CAN_MB02_DATA3)
-#define pCAN_MB02_LENGTH ((volatile uint16_t *)CAN_MB02_LENGTH)
-#define pCAN_MB02_TIMESTAMP ((volatile uint16_t *)CAN_MB02_TIMESTAMP)
-#define pCAN_MB02_ID0 ((volatile uint16_t *)CAN_MB02_ID0)
-#define pCAN_MB02_ID1 ((volatile uint16_t *)CAN_MB02_ID1)
-
-#define pCAN_MB03_DATA0 ((volatile uint16_t *)CAN_MB03_DATA0)
-#define pCAN_MB03_DATA1 ((volatile uint16_t *)CAN_MB03_DATA1)
-#define pCAN_MB03_DATA2 ((volatile uint16_t *)CAN_MB03_DATA2)
-#define pCAN_MB03_DATA3 ((volatile uint16_t *)CAN_MB03_DATA3)
-#define pCAN_MB03_LENGTH ((volatile uint16_t *)CAN_MB03_LENGTH)
-#define pCAN_MB03_TIMESTAMP ((volatile uint16_t *)CAN_MB03_TIMESTAMP)
-#define pCAN_MB03_ID0 ((volatile uint16_t *)CAN_MB03_ID0)
-#define pCAN_MB03_ID1 ((volatile uint16_t *)CAN_MB03_ID1)
-
-#define pCAN_MB04_DATA0 ((volatile uint16_t *)CAN_MB04_DATA0)
-#define pCAN_MB04_DATA1 ((volatile uint16_t *)CAN_MB04_DATA1)
-#define pCAN_MB04_DATA2 ((volatile uint16_t *)CAN_MB04_DATA2)
-#define pCAN_MB04_DATA3 ((volatile uint16_t *)CAN_MB04_DATA3)
-#define pCAN_MB04_LENGTH ((volatile uint16_t *)CAN_MB04_LENGTH)
-#define pCAN_MB04_TIMESTAMP ((volatile uint16_t *)CAN_MB04_TIMESTAMP)
-#define pCAN_MB04_ID0 ((volatile uint16_t *)CAN_MB04_ID0)
-#define pCAN_MB04_ID1 ((volatile uint16_t *)CAN_MB04_ID1)
-
-#define pCAN_MB05_DATA0 ((volatile uint16_t *)CAN_MB05_DATA0)
-#define pCAN_MB05_DATA1 ((volatile uint16_t *)CAN_MB05_DATA1)
-#define pCAN_MB05_DATA2 ((volatile uint16_t *)CAN_MB05_DATA2)
-#define pCAN_MB05_DATA3 ((volatile uint16_t *)CAN_MB05_DATA3)
-#define pCAN_MB05_LENGTH ((volatile uint16_t *)CAN_MB05_LENGTH)
-#define pCAN_MB05_TIMESTAMP ((volatile uint16_t *)CAN_MB05_TIMESTAMP)
-#define pCAN_MB05_ID0 ((volatile uint16_t *)CAN_MB05_ID0)
-#define pCAN_MB05_ID1 ((volatile uint16_t *)CAN_MB05_ID1)
-
-#define pCAN_MB06_DATA0 ((volatile uint16_t *)CAN_MB06_DATA0)
-#define pCAN_MB06_DATA1 ((volatile uint16_t *)CAN_MB06_DATA1)
-#define pCAN_MB06_DATA2 ((volatile uint16_t *)CAN_MB06_DATA2)
-#define pCAN_MB06_DATA3 ((volatile uint16_t *)CAN_MB06_DATA3)
-#define pCAN_MB06_LENGTH ((volatile uint16_t *)CAN_MB06_LENGTH)
-#define pCAN_MB06_TIMESTAMP ((volatile uint16_t *)CAN_MB06_TIMESTAMP)
-#define pCAN_MB06_ID0 ((volatile uint16_t *)CAN_MB06_ID0)
-#define pCAN_MB06_ID1 ((volatile uint16_t *)CAN_MB06_ID1)
-
-#define pCAN_MB07_DATA0 ((volatile uint16_t *)CAN_MB07_DATA0)
-#define pCAN_MB07_DATA1 ((volatile uint16_t *)CAN_MB07_DATA1)
-#define pCAN_MB07_DATA2 ((volatile uint16_t *)CAN_MB07_DATA2)
-#define pCAN_MB07_DATA3 ((volatile uint16_t *)CAN_MB07_DATA3)
-#define pCAN_MB07_LENGTH ((volatile uint16_t *)CAN_MB07_LENGTH)
-#define pCAN_MB07_TIMESTAMP ((volatile uint16_t *)CAN_MB07_TIMESTAMP)
-#define pCAN_MB07_ID0 ((volatile uint16_t *)CAN_MB07_ID0)
-#define pCAN_MB07_ID1 ((volatile uint16_t *)CAN_MB07_ID1)
-
-#define pCAN_MB08_DATA0 ((volatile uint16_t *)CAN_MB08_DATA0)
-#define pCAN_MB08_DATA1 ((volatile uint16_t *)CAN_MB08_DATA1)
-#define pCAN_MB08_DATA2 ((volatile uint16_t *)CAN_MB08_DATA2)
-#define pCAN_MB08_DATA3 ((volatile uint16_t *)CAN_MB08_DATA3)
-#define pCAN_MB08_LENGTH ((volatile uint16_t *)CAN_MB08_LENGTH)
-#define pCAN_MB08_TIMESTAMP ((volatile uint16_t *)CAN_MB08_TIMESTAMP)
-#define pCAN_MB08_ID0 ((volatile uint16_t *)CAN_MB08_ID0)
-#define pCAN_MB08_ID1 ((volatile uint16_t *)CAN_MB08_ID1)
-
-#define pCAN_MB09_DATA0 ((volatile uint16_t *)CAN_MB09_DATA0)
-#define pCAN_MB09_DATA1 ((volatile uint16_t *)CAN_MB09_DATA1)
-#define pCAN_MB09_DATA2 ((volatile uint16_t *)CAN_MB09_DATA2)
-#define pCAN_MB09_DATA3 ((volatile uint16_t *)CAN_MB09_DATA3)
-#define pCAN_MB09_LENGTH ((volatile uint16_t *)CAN_MB09_LENGTH)
-#define pCAN_MB09_TIMESTAMP ((volatile uint16_t *)CAN_MB09_TIMESTAMP)
-#define pCAN_MB09_ID0 ((volatile uint16_t *)CAN_MB09_ID0)
-#define pCAN_MB09_ID1 ((volatile uint16_t *)CAN_MB09_ID1)
-
-#define pCAN_MB10_DATA0 ((volatile uint16_t *)CAN_MB10_DATA0)
-#define pCAN_MB10_DATA1 ((volatile uint16_t *)CAN_MB10_DATA1)
-#define pCAN_MB10_DATA2 ((volatile uint16_t *)CAN_MB10_DATA2)
-#define pCAN_MB10_DATA3 ((volatile uint16_t *)CAN_MB10_DATA3)
-#define pCAN_MB10_LENGTH ((volatile uint16_t *)CAN_MB10_LENGTH)
-#define pCAN_MB10_TIMESTAMP ((volatile uint16_t *)CAN_MB10_TIMESTAMP)
-#define pCAN_MB10_ID0 ((volatile uint16_t *)CAN_MB10_ID0)
-#define pCAN_MB10_ID1 ((volatile uint16_t *)CAN_MB10_ID1)
-
-#define pCAN_MB11_DATA0 ((volatile uint16_t *)CAN_MB11_DATA0)
-#define pCAN_MB11_DATA1 ((volatile uint16_t *)CAN_MB11_DATA1)
-#define pCAN_MB11_DATA2 ((volatile uint16_t *)CAN_MB11_DATA2)
-#define pCAN_MB11_DATA3 ((volatile uint16_t *)CAN_MB11_DATA3)
-#define pCAN_MB11_LENGTH ((volatile uint16_t *)CAN_MB11_LENGTH)
-#define pCAN_MB11_TIMESTAMP ((volatile uint16_t *)CAN_MB11_TIMESTAMP)
-#define pCAN_MB11_ID0 ((volatile uint16_t *)CAN_MB11_ID0)
-#define pCAN_MB11_ID1 ((volatile uint16_t *)CAN_MB11_ID1)
-
-#define pCAN_MB12_DATA0 ((volatile uint16_t *)CAN_MB12_DATA0)
-#define pCAN_MB12_DATA1 ((volatile uint16_t *)CAN_MB12_DATA1)
-#define pCAN_MB12_DATA2 ((volatile uint16_t *)CAN_MB12_DATA2)
-#define pCAN_MB12_DATA3 ((volatile uint16_t *)CAN_MB12_DATA3)
-#define pCAN_MB12_LENGTH ((volatile uint16_t *)CAN_MB12_LENGTH)
-#define pCAN_MB12_TIMESTAMP ((volatile uint16_t *)CAN_MB12_TIMESTAMP)
-#define pCAN_MB12_ID0 ((volatile uint16_t *)CAN_MB12_ID0)
-#define pCAN_MB12_ID1 ((volatile uint16_t *)CAN_MB12_ID1)
-
-#define pCAN_MB13_DATA0 ((volatile uint16_t *)CAN_MB13_DATA0)
-#define pCAN_MB13_DATA1 ((volatile uint16_t *)CAN_MB13_DATA1)
-#define pCAN_MB13_DATA2 ((volatile uint16_t *)CAN_MB13_DATA2)
-#define pCAN_MB13_DATA3 ((volatile uint16_t *)CAN_MB13_DATA3)
-#define pCAN_MB13_LENGTH ((volatile uint16_t *)CAN_MB13_LENGTH)
-#define pCAN_MB13_TIMESTAMP ((volatile uint16_t *)CAN_MB13_TIMESTAMP)
-#define pCAN_MB13_ID0 ((volatile uint16_t *)CAN_MB13_ID0)
-#define pCAN_MB13_ID1 ((volatile uint16_t *)CAN_MB13_ID1)
-
-#define pCAN_MB14_DATA0 ((volatile uint16_t *)CAN_MB14_DATA0)
-#define pCAN_MB14_DATA1 ((volatile uint16_t *)CAN_MB14_DATA1)
-#define pCAN_MB14_DATA2 ((volatile uint16_t *)CAN_MB14_DATA2)
-#define pCAN_MB14_DATA3 ((volatile uint16_t *)CAN_MB14_DATA3)
-#define pCAN_MB14_LENGTH ((volatile uint16_t *)CAN_MB14_LENGTH)
-#define pCAN_MB14_TIMESTAMP ((volatile uint16_t *)CAN_MB14_TIMESTAMP)
-#define pCAN_MB14_ID0 ((volatile uint16_t *)CAN_MB14_ID0)
-#define pCAN_MB14_ID1 ((volatile uint16_t *)CAN_MB14_ID1)
-
-#define pCAN_MB15_DATA0 ((volatile uint16_t *)CAN_MB15_DATA0)
-#define pCAN_MB15_DATA1 ((volatile uint16_t *)CAN_MB15_DATA1)
-#define pCAN_MB15_DATA2 ((volatile uint16_t *)CAN_MB15_DATA2)
-#define pCAN_MB15_DATA3 ((volatile uint16_t *)CAN_MB15_DATA3)
-#define pCAN_MB15_LENGTH ((volatile uint16_t *)CAN_MB15_LENGTH)
-#define pCAN_MB15_TIMESTAMP ((volatile uint16_t *)CAN_MB15_TIMESTAMP)
-#define pCAN_MB15_ID0 ((volatile uint16_t *)CAN_MB15_ID0)
-#define pCAN_MB15_ID1 ((volatile uint16_t *)CAN_MB15_ID1)
-
-#define pCAN_MB16_DATA0 ((volatile uint16_t *)CAN_MB16_DATA0)
-#define pCAN_MB16_DATA1 ((volatile uint16_t *)CAN_MB16_DATA1)
-#define pCAN_MB16_DATA2 ((volatile uint16_t *)CAN_MB16_DATA2)
-#define pCAN_MB16_DATA3 ((volatile uint16_t *)CAN_MB16_DATA3)
-#define pCAN_MB16_LENGTH ((volatile uint16_t *)CAN_MB16_LENGTH)
-#define pCAN_MB16_TIMESTAMP ((volatile uint16_t *)CAN_MB16_TIMESTAMP)
-#define pCAN_MB16_ID0 ((volatile uint16_t *)CAN_MB16_ID0)
-#define pCAN_MB16_ID1 ((volatile uint16_t *)CAN_MB16_ID1)
-
-#define pCAN_MB17_DATA0 ((volatile uint16_t *)CAN_MB17_DATA0)
-#define pCAN_MB17_DATA1 ((volatile uint16_t *)CAN_MB17_DATA1)
-#define pCAN_MB17_DATA2 ((volatile uint16_t *)CAN_MB17_DATA2)
-#define pCAN_MB17_DATA3 ((volatile uint16_t *)CAN_MB17_DATA3)
-#define pCAN_MB17_LENGTH ((volatile uint16_t *)CAN_MB17_LENGTH)
-#define pCAN_MB17_TIMESTAMP ((volatile uint16_t *)CAN_MB17_TIMESTAMP)
-#define pCAN_MB17_ID0 ((volatile uint16_t *)CAN_MB17_ID0)
-#define pCAN_MB17_ID1 ((volatile uint16_t *)CAN_MB17_ID1)
-
-#define pCAN_MB18_DATA0 ((volatile uint16_t *)CAN_MB18_DATA0)
-#define pCAN_MB18_DATA1 ((volatile uint16_t *)CAN_MB18_DATA1)
-#define pCAN_MB18_DATA2 ((volatile uint16_t *)CAN_MB18_DATA2)
-#define pCAN_MB18_DATA3 ((volatile uint16_t *)CAN_MB18_DATA3)
-#define pCAN_MB18_LENGTH ((volatile uint16_t *)CAN_MB18_LENGTH)
-#define pCAN_MB18_TIMESTAMP ((volatile uint16_t *)CAN_MB18_TIMESTAMP)
-#define pCAN_MB18_ID0 ((volatile uint16_t *)CAN_MB18_ID0)
-#define pCAN_MB18_ID1 ((volatile uint16_t *)CAN_MB18_ID1)
-
-#define pCAN_MB19_DATA0 ((volatile uint16_t *)CAN_MB19_DATA0)
-#define pCAN_MB19_DATA1 ((volatile uint16_t *)CAN_MB19_DATA1)
-#define pCAN_MB19_DATA2 ((volatile uint16_t *)CAN_MB19_DATA2)
-#define pCAN_MB19_DATA3 ((volatile uint16_t *)CAN_MB19_DATA3)
-#define pCAN_MB19_LENGTH ((volatile uint16_t *)CAN_MB19_LENGTH)
-#define pCAN_MB19_TIMESTAMP ((volatile uint16_t *)CAN_MB19_TIMESTAMP)
-#define pCAN_MB19_ID0 ((volatile uint16_t *)CAN_MB19_ID0)
-#define pCAN_MB19_ID1 ((volatile uint16_t *)CAN_MB19_ID1)
-
-#define pCAN_MB20_DATA0 ((volatile uint16_t *)CAN_MB20_DATA0)
-#define pCAN_MB20_DATA1 ((volatile uint16_t *)CAN_MB20_DATA1)
-#define pCAN_MB20_DATA2 ((volatile uint16_t *)CAN_MB20_DATA2)
-#define pCAN_MB20_DATA3 ((volatile uint16_t *)CAN_MB20_DATA3)
-#define pCAN_MB20_LENGTH ((volatile uint16_t *)CAN_MB20_LENGTH)
-#define pCAN_MB20_TIMESTAMP ((volatile uint16_t *)CAN_MB20_TIMESTAMP)
-#define pCAN_MB20_ID0 ((volatile uint16_t *)CAN_MB20_ID0)
-#define pCAN_MB20_ID1 ((volatile uint16_t *)CAN_MB20_ID1)
-
-#define pCAN_MB21_DATA0 ((volatile uint16_t *)CAN_MB21_DATA0)
-#define pCAN_MB21_DATA1 ((volatile uint16_t *)CAN_MB21_DATA1)
-#define pCAN_MB21_DATA2 ((volatile uint16_t *)CAN_MB21_DATA2)
-#define pCAN_MB21_DATA3 ((volatile uint16_t *)CAN_MB21_DATA3)
-#define pCAN_MB21_LENGTH ((volatile uint16_t *)CAN_MB21_LENGTH)
-#define pCAN_MB21_TIMESTAMP ((volatile uint16_t *)CAN_MB21_TIMESTAMP)
-#define pCAN_MB21_ID0 ((volatile uint16_t *)CAN_MB21_ID0)
-#define pCAN_MB21_ID1 ((volatile uint16_t *)CAN_MB21_ID1)
-
-#define pCAN_MB22_DATA0 ((volatile uint16_t *)CAN_MB22_DATA0)
-#define pCAN_MB22_DATA1 ((volatile uint16_t *)CAN_MB22_DATA1)
-#define pCAN_MB22_DATA2 ((volatile uint16_t *)CAN_MB22_DATA2)
-#define pCAN_MB22_DATA3 ((volatile uint16_t *)CAN_MB22_DATA3)
-#define pCAN_MB22_LENGTH ((volatile uint16_t *)CAN_MB22_LENGTH)
-#define pCAN_MB22_TIMESTAMP ((volatile uint16_t *)CAN_MB22_TIMESTAMP)
-#define pCAN_MB22_ID0 ((volatile uint16_t *)CAN_MB22_ID0)
-#define pCAN_MB22_ID1 ((volatile uint16_t *)CAN_MB22_ID1)
-
-#define pCAN_MB23_DATA0 ((volatile uint16_t *)CAN_MB23_DATA0)
-#define pCAN_MB23_DATA1 ((volatile uint16_t *)CAN_MB23_DATA1)
-#define pCAN_MB23_DATA2 ((volatile uint16_t *)CAN_MB23_DATA2)
-#define pCAN_MB23_DATA3 ((volatile uint16_t *)CAN_MB23_DATA3)
-#define pCAN_MB23_LENGTH ((volatile uint16_t *)CAN_MB23_LENGTH)
-#define pCAN_MB23_TIMESTAMP ((volatile uint16_t *)CAN_MB23_TIMESTAMP)
-#define pCAN_MB23_ID0 ((volatile uint16_t *)CAN_MB23_ID0)
-#define pCAN_MB23_ID1 ((volatile uint16_t *)CAN_MB23_ID1)
-
-#define pCAN_MB24_DATA0 ((volatile uint16_t *)CAN_MB24_DATA0)
-#define pCAN_MB24_DATA1 ((volatile uint16_t *)CAN_MB24_DATA1)
-#define pCAN_MB24_DATA2 ((volatile uint16_t *)CAN_MB24_DATA2)
-#define pCAN_MB24_DATA3 ((volatile uint16_t *)CAN_MB24_DATA3)
-#define pCAN_MB24_LENGTH ((volatile uint16_t *)CAN_MB24_LENGTH)
-#define pCAN_MB24_TIMESTAMP ((volatile uint16_t *)CAN_MB24_TIMESTAMP)
-#define pCAN_MB24_ID0 ((volatile uint16_t *)CAN_MB24_ID0)
-#define pCAN_MB24_ID1 ((volatile uint16_t *)CAN_MB24_ID1)
-
-#define pCAN_MB25_DATA0 ((volatile uint16_t *)CAN_MB25_DATA0)
-#define pCAN_MB25_DATA1 ((volatile uint16_t *)CAN_MB25_DATA1)
-#define pCAN_MB25_DATA2 ((volatile uint16_t *)CAN_MB25_DATA2)
-#define pCAN_MB25_DATA3 ((volatile uint16_t *)CAN_MB25_DATA3)
-#define pCAN_MB25_LENGTH ((volatile uint16_t *)CAN_MB25_LENGTH)
-#define pCAN_MB25_TIMESTAMP ((volatile uint16_t *)CAN_MB25_TIMESTAMP)
-#define pCAN_MB25_ID0 ((volatile uint16_t *)CAN_MB25_ID0)
-#define pCAN_MB25_ID1 ((volatile uint16_t *)CAN_MB25_ID1)
-
-#define pCAN_MB26_DATA0 ((volatile uint16_t *)CAN_MB26_DATA0)
-#define pCAN_MB26_DATA1 ((volatile uint16_t *)CAN_MB26_DATA1)
-#define pCAN_MB26_DATA2 ((volatile uint16_t *)CAN_MB26_DATA2)
-#define pCAN_MB26_DATA3 ((volatile uint16_t *)CAN_MB26_DATA3)
-#define pCAN_MB26_LENGTH ((volatile uint16_t *)CAN_MB26_LENGTH)
-#define pCAN_MB26_TIMESTAMP ((volatile uint16_t *)CAN_MB26_TIMESTAMP)
-#define pCAN_MB26_ID0 ((volatile uint16_t *)CAN_MB26_ID0)
-#define pCAN_MB26_ID1 ((volatile uint16_t *)CAN_MB26_ID1)
-
-#define pCAN_MB27_DATA0 ((volatile uint16_t *)CAN_MB27_DATA0)
-#define pCAN_MB27_DATA1 ((volatile uint16_t *)CAN_MB27_DATA1)
-#define pCAN_MB27_DATA2 ((volatile uint16_t *)CAN_MB27_DATA2)
-#define pCAN_MB27_DATA3 ((volatile uint16_t *)CAN_MB27_DATA3)
-#define pCAN_MB27_LENGTH ((volatile uint16_t *)CAN_MB27_LENGTH)
-#define pCAN_MB27_TIMESTAMP ((volatile uint16_t *)CAN_MB27_TIMESTAMP)
-#define pCAN_MB27_ID0 ((volatile uint16_t *)CAN_MB27_ID0)
-#define pCAN_MB27_ID1 ((volatile uint16_t *)CAN_MB27_ID1)
-
-#define pCAN_MB28_DATA0 ((volatile uint16_t *)CAN_MB28_DATA0)
-#define pCAN_MB28_DATA1 ((volatile uint16_t *)CAN_MB28_DATA1)
-#define pCAN_MB28_DATA2 ((volatile uint16_t *)CAN_MB28_DATA2)
-#define pCAN_MB28_DATA3 ((volatile uint16_t *)CAN_MB28_DATA3)
-#define pCAN_MB28_LENGTH ((volatile uint16_t *)CAN_MB28_LENGTH)
-#define pCAN_MB28_TIMESTAMP ((volatile uint16_t *)CAN_MB28_TIMESTAMP)
-#define pCAN_MB28_ID0 ((volatile uint16_t *)CAN_MB28_ID0)
-#define pCAN_MB28_ID1 ((volatile uint16_t *)CAN_MB28_ID1)
-
-#define pCAN_MB29_DATA0 ((volatile uint16_t *)CAN_MB29_DATA0)
-#define pCAN_MB29_DATA1 ((volatile uint16_t *)CAN_MB29_DATA1)
-#define pCAN_MB29_DATA2 ((volatile uint16_t *)CAN_MB29_DATA2)
-#define pCAN_MB29_DATA3 ((volatile uint16_t *)CAN_MB29_DATA3)
-#define pCAN_MB29_LENGTH ((volatile uint16_t *)CAN_MB29_LENGTH)
-#define pCAN_MB29_TIMESTAMP ((volatile uint16_t *)CAN_MB29_TIMESTAMP)
-#define pCAN_MB29_ID0 ((volatile uint16_t *)CAN_MB29_ID0)
-#define pCAN_MB29_ID1 ((volatile uint16_t *)CAN_MB29_ID1)
-
-#define pCAN_MB30_DATA0 ((volatile uint16_t *)CAN_MB30_DATA0)
-#define pCAN_MB30_DATA1 ((volatile uint16_t *)CAN_MB30_DATA1)
-#define pCAN_MB30_DATA2 ((volatile uint16_t *)CAN_MB30_DATA2)
-#define pCAN_MB30_DATA3 ((volatile uint16_t *)CAN_MB30_DATA3)
-#define pCAN_MB30_LENGTH ((volatile uint16_t *)CAN_MB30_LENGTH)
-#define pCAN_MB30_TIMESTAMP ((volatile uint16_t *)CAN_MB30_TIMESTAMP)
-#define pCAN_MB30_ID0 ((volatile uint16_t *)CAN_MB30_ID0)
-#define pCAN_MB30_ID1 ((volatile uint16_t *)CAN_MB30_ID1)
-
-#define pCAN_MB31_DATA0 ((volatile uint16_t *)CAN_MB31_DATA0)
-#define pCAN_MB31_DATA1 ((volatile uint16_t *)CAN_MB31_DATA1)
-#define pCAN_MB31_DATA2 ((volatile uint16_t *)CAN_MB31_DATA2)
-#define pCAN_MB31_DATA3 ((volatile uint16_t *)CAN_MB31_DATA3)
-#define pCAN_MB31_LENGTH ((volatile uint16_t *)CAN_MB31_LENGTH)
-#define pCAN_MB31_TIMESTAMP ((volatile uint16_t *)CAN_MB31_TIMESTAMP)
-#define pCAN_MB31_ID0 ((volatile uint16_t *)CAN_MB31_ID0)
-#define pCAN_MB31_ID1 ((volatile uint16_t *)CAN_MB31_ID1)
-
-
-/* CAN Mailbox Area Macros */
-#define pCAN_MB_ID1(x) ((volatile uint16_t *)CAN_MB_ID1(x))
-#define pCAN_MB_ID0(x) ((volatile uint16_t *)CAN_MB_ID0(x))
-#define pCAN_MB_TIMESTAMP(x) ((volatile uint16_t *)CAN_MB_TIMESTAMP(x))
-#define pCAN_MB_LENGTH(x) ((volatile uint16_t *)CAN_MB_LENGTH(x))
-#define pCAN_MB_DATA3(x) ((volatile uint16_t *)CAN_MB_DATA3(x))
-#define pCAN_MB_DATA2(x) ((volatile uint16_t *)CAN_MB_DATA2(x))
-#define pCAN_MB_DATA1(x) ((volatile uint16_t *)CAN_MB_DATA1(x))
-#define pCAN_MB_DATA0(x) ((volatile uint16_t *)CAN_MB_DATA0(x))
-
-
-/* Motor Control PWM1 Registers (0xFFC03000 - 0xFFC030FF) */
-#define pPWM1_CTRL ((volatile uint16_t *)PWM1_CTRL)
-#define pPWM1_STAT ((volatile uint16_t *)PWM1_STAT)
-#define pPWM1_TM ((volatile uint16_t *)PWM1_TM)
-#define pPWM1_DT ((volatile uint16_t *)PWM1_DT)
-#define pPWM1_GATE ((volatile uint16_t *)PWM1_GATE)
-#define pPWM1_CHA ((volatile uint16_t *)PWM1_CHA)
-#define pPWM1_CHB ((volatile uint16_t *)PWM1_CHB)
-#define pPWM1_CHC ((volatile uint16_t *)PWM1_CHC)
-#define pPWM1_SEG ((volatile uint16_t *)PWM1_SEG)
-#define pPWM1_SYNCWT ((volatile uint16_t *)PWM1_SYNCWT)
-#define pPWM1_CHAL ((volatile uint16_t *)PWM1_CHAL)
-#define pPWM1_CHBL ((volatile uint16_t *)PWM1_CHBL)
-#define pPWM1_CHCL ((volatile uint16_t *)PWM1_CHCL)
-#define pPWM1_LSI ((volatile uint16_t *)PWM1_LSI)
-#define pPWM1_STAT2 ((volatile uint16_t *)PWM1_STAT2)
-
-
-/* ADC Controller Module Registers (0xFFC03100 - 0xFFC031FF) */
-#define pACM_CTL ((volatile uint16_t *)ACM_CTL)
-#define pACM_TC0 ((volatile uint16_t *)ACM_TC0)
-#define pACM_TC1 ((volatile uint16_t *)ACM_TC1)
-#define pACM_STAT ((volatile uint16_t *)ACM_STAT)
-#define pACM_ES ((volatile uint16_t *)ACM_ES)
-#define pACM_IMSK ((volatile uint16_t *)ACM_IMSK)
-#define pACM_MS ((volatile uint16_t *)ACM_MS)
-#define pACM_EMSK ((volatile uint16_t *)ACM_EMSK)
-
-#define pACM_ER0 ((volatile uint16_t *)ACM_ER0)
-#define pACM_ER1 ((volatile uint16_t *)ACM_ER1)
-#define pACM_ER2 ((volatile uint16_t *)ACM_ER2)
-#define pACM_ER3 ((volatile uint16_t *)ACM_ER3)
-#define pACM_ER4 ((volatile uint16_t *)ACM_ER4)
-#define pACM_ER5 ((volatile uint16_t *)ACM_ER5)
-#define pACM_ER6 ((volatile uint16_t *)ACM_ER6)
-#define pACM_ER7 ((volatile uint16_t *)ACM_ER7)
-#define pACM_ER8 ((volatile uint16_t *)ACM_ER8)
-#define pACM_ER9 ((volatile uint16_t *)ACM_ER9)
-#define pACM_ER10 ((volatile uint16_t *)ACM_ER10)
-#define pACM_ER11 ((volatile uint16_t *)ACM_ER11)
-#define pACM_ER12 ((volatile uint16_t *)ACM_ER12)
-#define pACM_ER13 ((volatile uint16_t *)ACM_ER13)
-#define pACM_ER14 ((volatile uint16_t *)ACM_ER14)
-#define pACM_ER15 ((volatile uint16_t *)ACM_ER15)
-
-#define pACM_ET0 ((volatile uint32_t *)ACM_ET0)
-#define pACM_ET1 ((volatile uint32_t *)ACM_ET1)
-#define pACM_ET2 ((volatile uint32_t *)ACM_ET2)
-#define pACM_ET3 ((volatile uint32_t *)ACM_ET3)
-#define pACM_ET4 ((volatile uint32_t *)ACM_ET4)
-#define pACM_ET5 ((volatile uint32_t *)ACM_ET5)
-#define pACM_ET6 ((volatile uint32_t *)ACM_ET6)
-#define pACM_ET7 ((volatile uint32_t *)ACM_ET7)
-#define pACM_ET8 ((volatile uint32_t *)ACM_ET8)
-#define pACM_ET9 ((volatile uint32_t *)ACM_ET9)
-#define pACM_ET10 ((volatile uint32_t *)ACM_ET10)
-#define pACM_ET11 ((volatile uint32_t *)ACM_ET11)
-#define pACM_ET12 ((volatile uint32_t *)ACM_ET12)
-#define pACM_ET13 ((volatile uint32_t *)ACM_ET13)
-#define pACM_ET14 ((volatile uint32_t *)ACM_ET14)
-#define pACM_ET15 ((volatile uint32_t *)ACM_ET15)
-
-#define pACM_TMR0 ((volatile uint32_t *)ACM_TMR0)
-#define pACM_TMR1 ((volatile uint32_t *)ACM_TMR1)
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define pPORTF_FER ((volatile uint16_t *)PORTF_FER)
-#define pPORTG_FER ((volatile uint16_t *)PORTG_FER)
-#define pPORTH_FER ((volatile uint16_t *)PORTH_FER)
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-
-#define pPORTF_MUX ((volatile uint16_t *)PORTF_MUX)
-#define pPORTG_MUX ((volatile uint16_t *)PORTG_MUX)
-#define pPORTH_MUX ((volatile uint16_t *)PORTH_MUX)
-#define pPORTF_HYSTERESIS ((volatile uint16_t *)PORTF_HYSTERESIS)
-#define pPORTG_HYSTERESIS ((volatile uint16_t *)PORTG_HYSTERESIS)
-#define pPORTH_HYSTERESIS ((volatile uint16_t *)PORTH_HYSTERESIS)
-
-#define pNONGPIO_DRIVE ((volatile uint16_t *)NONGPIO_DRIVE)
-#define pNONGPIO_HYSTERESIS ((volatile uint16_t *)NONGPIO_HYSTERESIS)
-
-#define pFLASH_CONTROL ((volatile uint16_t *)FLASH_CONTROL)
-#define pFLASH_CONTROL_SET ((volatile uint16_t *)FLASH_CONTROL_SET)
-#define pFLASH_CONTROL_CLEAR ((volatile uint16_t *)FLASH_CONTROL_CLEAR)
-
-
-/* Counter 1 Registers (0xFFC03300 - 0xFFC033FF)*/
-#define pCNT1_CONFIG ((volatile uint16_t *)CNT1_CONFIG)
-#define pCNT1_IMASK ((volatile uint16_t *)CNT1_IMASK)
-#define pCNT1_STATUS ((volatile uint16_t *)CNT1_STATUS)
-#define pCNT1_COMMAND ((volatile uint16_t *)CNT1_COMMAND)
-#define pCNT1_DEBOUNCE ((volatile uint16_t *)CNT1_DEBOUNCE)
-#define pCNT1_COUNTER ((volatile uint32_t *)CNT1_COUNTER)
-#define pCNT1_MAX ((volatile uint32_t *)CNT1_MAX)
-#define pCNT1_MIN ((volatile uint32_t *)CNT1_MIN)
-
-
-/* SPI1 Controller (0xFFC03400 - 0xFFC034FF)*/
-#define pSPI1_CTL ((volatile uint16_t *)SPI1_CTL)
-#define pSPI1_FLG ((volatile uint16_t *)SPI1_FLG)
-#define pSPI1_STAT ((volatile uint16_t *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile uint16_t *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile uint16_t *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile uint16_t *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile uint16_t *)SPI1_SHADOW)
-
-
-/* Counter 0 Registers (0xFFC03500 - 0xFFC035FF)*/
-#define pCNT0_CONFIG ((volatile uint16_t *)CNT0_CONFIG)
-#define pCNT0_IMASK ((volatile uint16_t *)CNT0_IMASK)
-#define pCNT0_STATUS ((volatile uint16_t *)CNT0_STATUS)
-#define pCNT0_COMMAND ((volatile uint16_t *)CNT0_COMMAND)
-#define pCNT0_DEBOUNCE ((volatile uint16_t *)CNT0_DEBOUNCE)
-#define pCNT0_COUNTER ((volatile uint32_t *)CNT0_COUNTER)
-#define pCNT0_MAX ((volatile uint32_t *)CNT0_MAX)
-#define pCNT0_MIN ((volatile uint32_t *)CNT0_MIN)
-
-
-/* Motor Control PWM0 Registers (0xFFC03700 - 0xFFC037FF) */
-#define pPWM0_CTRL ((volatile uint16_t *)PWM0_CTRL)
-#define pPWM0_STAT ((volatile uint16_t *)PWM0_STAT)
-#define pPWM0_TM ((volatile uint16_t *)PWM0_TM)
-#define pPWM0_DT ((volatile uint16_t *)PWM0_DT)
-#define pPWM0_GATE ((volatile uint16_t *)PWM0_GATE)
-#define pPWM0_CHA ((volatile uint16_t *)PWM0_CHA)
-#define pPWM0_CHB ((volatile uint16_t *)PWM0_CHB)
-#define pPWM0_CHC ((volatile uint16_t *)PWM0_CHC)
-#define pPWM0_SEG ((volatile uint16_t *)PWM0_SEG)
-#define pPWM0_SYNCWT ((volatile uint16_t *)PWM0_SYNCWT)
-#define pPWM0_CHAL ((volatile uint16_t *)PWM0_CHAL)
-#define pPWM0_CHBL ((volatile uint16_t *)PWM0_CHBL)
-#define pPWM0_CHCL ((volatile uint16_t *)PWM0_CHCL)
-#define pPWM0_LSI ((volatile uint16_t *)PWM0_LSI)
-#define pPWM0_STAT2 ((volatile uint16_t *)PWM0_STAT2)
-
-
-/* RSI Registers (0xFFC03800 - 0xFFC03CFF) */
-#define pRSI_PWR_CONTROL ((volatile uint16_t *)RSI_PWR_CONTROL)
-#define pRSI_CLK_CONTROL ((volatile uint16_t *)RSI_CLK_CONTROL)
-#define pRSI_ARGUMENT ((volatile uint32_t *)RSI_ARGUMENT)
-#define pRSI_COMMAND ((volatile uint16_t *)RSI_COMMAND)
-#define pRSI_RESP_CMD ((volatile uint16_t *)RSI_RESP_CMD)
-#define pRSI_RESPONSE0 ((volatile uint32_t *)RSI_RESPONSE0)
-#define pRSI_RESPONSE1 ((volatile uint32_t *)RSI_RESPONSE1)
-#define pRSI_RESPONSE2 ((volatile uint32_t *)RSI_RESPONSE2)
-#define pRSI_RESPONSE3 ((volatile uint32_t *)RSI_RESPONSE3)
-#define pRSI_DATA_TIMER ((volatile uint32_t *)RSI_DATA_TIMER)
-#define pRSI_DATA_LGTH ((volatile uint16_t *)RSI_DATA_LGTH)
-#define pRSI_DATA_CONTROL ((volatile uint16_t *)RSI_DATA_CONTROL)
-#define pRSI_DATA_CNT ((volatile uint16_t *)RSI_DATA_CNT)
-#define pRSI_STATUS ((volatile uint32_t *)RSI_STATUS)
-#define pRSI_STATUSCL ((volatile uint16_t *)RSI_STATUSCL)
-#define pRSI_MASK0 ((volatile uint32_t *)RSI_MASK0)
-#define pRSI_MASK1 ((volatile uint32_t *)RSI_MASK1)
-#define pRSI_FIFO_CNT ((volatile uint16_t *)RSI_FIFO_CNT)
-#define pRSI_CEATA_CONTROL ((volatile uint16_t *)RSI_CEATA_CONTROL)
-#define pRSI_FIFO ((volatile uint32_t *)RSI_FIFO)
-#define pRSI_ESTAT ((volatile uint16_t *)RSI_ESTAT)
-#define pRSI_EMASK ((volatile uint16_t *)RSI_EMASK)
-#define pRSI_CONFIG ((volatile uint16_t *)RSI_CONFIG)
-#define pRSI_RD_WAIT_EN ((volatile uint16_t *)RSI_RD_WAIT_EN)
-#define pRSI_PID0 ((volatile uint16_t *)RSI_PID0)
-#define pRSI_PID1 ((volatile uint16_t *)RSI_PID1)
-#define pRSI_PID2 ((volatile uint16_t *)RSI_PID2)
-#define pRSI_PID3 ((volatile uint16_t *)RSI_PID3)
-
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /*_CDEF_BF50X_H*/
diff --git a/libgloss/bfin/include/cdefBF512.h b/libgloss/bfin/include/cdefBF512.h
deleted file mode 100644
index 1288d12..0000000
--- a/libgloss/bfin/include/cdefBF512.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF512 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF512_H
-#define _CDEF_BF512_H
-
-/* include all Core registers and bit definitions */
-#include <defBF512.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF512 */
-
-/* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <cdefBF51x_base.h>
-
-#endif /* _CDEF_BF512_H */
diff --git a/libgloss/bfin/include/cdefBF514.h b/libgloss/bfin/include/cdefBF514.h
deleted file mode 100644
index 59c1a45..0000000
--- a/libgloss/bfin/include/cdefBF514.h
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF514 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF514_H
-#define _CDEF_BF514_H
-
-/* include all Core registers and bit definitions */
-#include <defBF514.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF514 */
-
-/* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <cdefBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF514 that are not in the common header */
-
-/* SDH Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-
-/* RSI Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pRSI_PWR_CONTROL ((volatile unsigned short *)RSI_PWR_CONTROL)
-#define pRSI_CLK_CONTROL ((volatile unsigned short *)RSI_CLK_CONTROL)
-#define pRSI_ARGUMENT ((volatile unsigned long *)RSI_ARGUMENT)
-#define pRSI_COMMAND ((volatile unsigned short *)RSI_COMMAND)
-#define pRSI_RESP_CMD ((volatile unsigned short *)RSI_RESP_CMD)
-#define pRSI_RESPONSE0 ((volatile unsigned long *)RSI_RESPONSE0)
-#define pRSI_RESPONSE1 ((volatile unsigned long *)RSI_RESPONSE1)
-#define pRSI_RESPONSE2 ((volatile unsigned long *)RSI_RESPONSE2)
-#define pRSI_RESPONSE3 ((volatile unsigned long *)RSI_RESPONSE3)
-#define pRSI_DATA_TIMER ((volatile unsigned long *)RSI_DATA_TIMER)
-#define pRSI_DATA_LGTH ((volatile unsigned short *)RSI_DATA_LGTH)
-#define pRSI_DATA_CONTROL ((volatile unsigned short *)RSI_DATA_CONTROL)
-#define pRSI_DATA_CNT ((volatile unsigned short *)RSI_DATA_CNT)
-#define pRSI_STATUS ((volatile unsigned long *)RSI_STATUS)
-#define pRSI_STATUSCL ((volatile unsigned short *)RSI_STATUSCL)
-#define pRSI_MASK0 ((volatile unsigned long *)RSI_MASK0)
-#define pRSI_MASK1 ((volatile unsigned long *)RSI_MASK1)
-#define pRSI_FIFO_CNT ((volatile unsigned short *)RSI_FIFO_CNT)
-#define pRSI_CEATA_CONTROL ((volatile unsigned short *)RSI_CEATA_CONTROL)
-#define pRSI_FIFO ((volatile unsigned long *)RSI_FIFO)
-#define pRSI_ESTAT ((volatile unsigned short *)RSI_ESTAT)
-#define pRSI_EMASK ((volatile unsigned short *)RSI_EMASK)
-#define pRSI_CONFIG ((volatile unsigned short *)RSI_CONFIG)
-#define pRSI_RD_WAIT_EN ((volatile unsigned short *)RSI_RD_WAIT_EN)
-#define pRSI_PID0 ((volatile unsigned short *)RSI_PID0)
-#define pRSI_PID1 ((volatile unsigned short *)RSI_PID1)
-#define pRSI_PID2 ((volatile unsigned short *)RSI_PID2)
-#define pRSI_PID3 ((volatile unsigned short *)RSI_PID3)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF514_H */
diff --git a/libgloss/bfin/include/cdefBF516.h b/libgloss/bfin/include/cdefBF516.h
deleted file mode 100644
index a7ee6a1..0000000
--- a/libgloss/bfin/include/cdefBF516.h
+++ /dev/null
@@ -1,200 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF516 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF516_H
-#define _CDEF_BF516_H
-
-/* include all Core registers and bit definitions */
-#include <defBF516.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF516 */
-
-/* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <cdefBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF516 that are not in the common header */
-
-/* 10/100 Ethernet Controller */
-#define pEMAC_OPMODE ((volatile unsigned long *)EMAC_OPMODE)
-#define pEMAC_ADDRLO ((volatile unsigned long *)EMAC_ADDRLO)
-#define pEMAC_ADDRHI ((volatile unsigned long *)EMAC_ADDRHI)
-#define pEMAC_HASHLO ((volatile unsigned long *)EMAC_HASHLO)
-#define pEMAC_HASHHI ((volatile unsigned long *)EMAC_HASHHI)
-#define pEMAC_STAADD ((volatile unsigned long *)EMAC_STAADD)
-#define pEMAC_STADAT ((volatile unsigned long *)EMAC_STADAT)
-#define pEMAC_FLC ((volatile unsigned long *)EMAC_FLC)
-#define pEMAC_VLAN1 ((volatile unsigned long *)EMAC_VLAN1)
-#define pEMAC_VLAN2 ((volatile unsigned long *)EMAC_VLAN2)
-#define pEMAC_WKUP_CTL ((volatile unsigned long *)EMAC_WKUP_CTL)
-#define pEMAC_WKUP_FFMSK0 ((volatile unsigned long *)EMAC_WKUP_FFMSK0)
-#define pEMAC_WKUP_FFMSK1 ((volatile unsigned long *)EMAC_WKUP_FFMSK1)
-#define pEMAC_WKUP_FFMSK2 ((volatile unsigned long *)EMAC_WKUP_FFMSK2)
-#define pEMAC_WKUP_FFMSK3 ((volatile unsigned long *)EMAC_WKUP_FFMSK3)
-#define pEMAC_WKUP_FFCMD ((volatile unsigned long *)EMAC_WKUP_FFCMD)
-#define pEMAC_WKUP_FFOFF ((volatile unsigned long *)EMAC_WKUP_FFOFF)
-#define pEMAC_WKUP_FFCRC0 ((volatile unsigned long *)EMAC_WKUP_FFCRC0)
-#define pEMAC_WKUP_FFCRC1 ((volatile unsigned long *)EMAC_WKUP_FFCRC1)
-
-#define pEMAC_SYSCTL ((volatile unsigned long *)EMAC_SYSCTL)
-#define pEMAC_SYSTAT ((volatile unsigned long *)EMAC_SYSTAT)
-#define pEMAC_RX_STAT ((volatile unsigned long *)EMAC_RX_STAT)
-#define pEMAC_RX_STKY ((volatile unsigned long *)EMAC_RX_STKY)
-#define pEMAC_RX_IRQE ((volatile unsigned long *)EMAC_RX_IRQE)
-#define pEMAC_TX_STAT ((volatile unsigned long *)EMAC_TX_STAT)
-#define pEMAC_TX_STKY ((volatile unsigned long *)EMAC_TX_STKY)
-#define pEMAC_TX_IRQE ((volatile unsigned long *)EMAC_TX_IRQE)
-
-#define pEMAC_MMC_CTL ((volatile unsigned long *)EMAC_MMC_CTL)
-#define pEMAC_MMC_RIRQS ((volatile unsigned long *)EMAC_MMC_RIRQS)
-#define pEMAC_MMC_RIRQE ((volatile unsigned long *)EMAC_MMC_RIRQE)
-#define pEMAC_MMC_TIRQS ((volatile unsigned long *)EMAC_MMC_TIRQS)
-#define pEMAC_MMC_TIRQE ((volatile unsigned long *)EMAC_MMC_TIRQE)
-
-#define pEMAC_RXC_OK ((volatile unsigned long *)EMAC_RXC_OK)
-#define pEMAC_RXC_FCS ((volatile unsigned long *)EMAC_RXC_FCS)
-#define pEMAC_RXC_ALIGN ((volatile unsigned long *)EMAC_RXC_ALIGN)
-#define pEMAC_RXC_OCTET ((volatile unsigned long *)EMAC_RXC_OCTET)
-#define pEMAC_RXC_DMAOVF ((volatile unsigned long *)EMAC_RXC_DMAOVF)
-#define pEMAC_RXC_UNICST ((volatile unsigned long *)EMAC_RXC_UNICST)
-#define pEMAC_RXC_MULTI ((volatile unsigned long *)EMAC_RXC_MULTI)
-#define pEMAC_RXC_BROAD ((volatile unsigned long *)EMAC_RXC_BROAD)
-#define pEMAC_RXC_LNERRI ((volatile unsigned long *)EMAC_RXC_LNERRI)
-#define pEMAC_RXC_LNERRO ((volatile unsigned long *)EMAC_RXC_LNERRO)
-#define pEMAC_RXC_LONG ((volatile unsigned long *)EMAC_RXC_LONG)
-#define pEMAC_RXC_MACCTL ((volatile unsigned long *)EMAC_RXC_MACCTL)
-#define pEMAC_RXC_OPCODE ((volatile unsigned long *)EMAC_RXC_OPCODE)
-#define pEMAC_RXC_PAUSE ((volatile unsigned long *)EMAC_RXC_PAUSE)
-#define pEMAC_RXC_ALLFRM ((volatile unsigned long *)EMAC_RXC_ALLFRM)
-#define pEMAC_RXC_ALLOCT ((volatile unsigned long *)EMAC_RXC_ALLOCT)
-#define pEMAC_RXC_TYPED ((volatile unsigned long *)EMAC_RXC_TYPED)
-#define pEMAC_RXC_SHORT ((volatile unsigned long *)EMAC_RXC_SHORT)
-#define pEMAC_RXC_EQ64 ((volatile unsigned long *)EMAC_RXC_EQ64)
-#define pEMAC_RXC_LT128 ((volatile unsigned long *)EMAC_RXC_LT128)
-#define pEMAC_RXC_LT256 ((volatile unsigned long *)EMAC_RXC_LT256)
-#define pEMAC_RXC_LT512 ((volatile unsigned long *)EMAC_RXC_LT512)
-#define pEMAC_RXC_LT1024 ((volatile unsigned long *)EMAC_RXC_LT1024)
-#define pEMAC_RXC_GE1024 ((volatile unsigned long *)EMAC_RXC_GE1024)
-
-#define pEMAC_TXC_OK ((volatile unsigned long *)EMAC_TXC_OK)
-#define pEMAC_TXC_1COL ((volatile unsigned long *)EMAC_TXC_1COL)
-#define pEMAC_TXC_GT1COL ((volatile unsigned long *)EMAC_TXC_GT1COL)
-#define pEMAC_TXC_OCTET ((volatile unsigned long *)EMAC_TXC_OCTET)
-#define pEMAC_TXC_DEFER ((volatile unsigned long *)EMAC_TXC_DEFER)
-#define pEMAC_TXC_LATECL ((volatile unsigned long *)EMAC_TXC_LATECL)
-#define pEMAC_TXC_XS_COL ((volatile unsigned long *)EMAC_TXC_XS_COL)
-#define pEMAC_TXC_DMAUND ((volatile unsigned long *)EMAC_TXC_DMAUND)
-#define pEMAC_TXC_CRSERR ((volatile unsigned long *)EMAC_TXC_CRSERR)
-#define pEMAC_TXC_UNICST ((volatile unsigned long *)EMAC_TXC_UNICST)
-#define pEMAC_TXC_MULTI ((volatile unsigned long *)EMAC_TXC_MULTI)
-#define pEMAC_TXC_BROAD ((volatile unsigned long *)EMAC_TXC_BROAD)
-#define pEMAC_TXC_XS_DFR ((volatile unsigned long *)EMAC_TXC_XS_DFR)
-#define pEMAC_TXC_MACCTL ((volatile unsigned long *)EMAC_TXC_MACCTL)
-#define pEMAC_TXC_ALLFRM ((volatile unsigned long *)EMAC_TXC_ALLFRM)
-#define pEMAC_TXC_ALLOCT ((volatile unsigned long *)EMAC_TXC_ALLOCT)
-#define pEMAC_TXC_EQ64 ((volatile unsigned long *)EMAC_TXC_EQ64)
-#define pEMAC_TXC_LT128 ((volatile unsigned long *)EMAC_TXC_LT128)
-#define pEMAC_TXC_LT256 ((volatile unsigned long *)EMAC_TXC_LT256)
-#define pEMAC_TXC_LT512 ((volatile unsigned long *)EMAC_TXC_LT512)
-#define pEMAC_TXC_LT1024 ((volatile unsigned long *)EMAC_TXC_LT1024)
-#define pEMAC_TXC_GE1024 ((volatile unsigned long *)EMAC_TXC_GE1024)
-#define pEMAC_TXC_ABORT ((volatile unsigned long *)EMAC_TXC_ABORT)
-
-
-/* SDH Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-
-/* RSI Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pRSI_PWR_CONTROL ((volatile unsigned short *)RSI_PWR_CONTROL)
-#define pRSI_CLK_CONTROL ((volatile unsigned short *)RSI_CLK_CONTROL)
-#define pRSI_ARGUMENT ((volatile unsigned long *)RSI_ARGUMENT)
-#define pRSI_COMMAND ((volatile unsigned short *)RSI_COMMAND)
-#define pRSI_RESP_CMD ((volatile unsigned short *)RSI_RESP_CMD)
-#define pRSI_RESPONSE0 ((volatile unsigned long *)RSI_RESPONSE0)
-#define pRSI_RESPONSE1 ((volatile unsigned long *)RSI_RESPONSE1)
-#define pRSI_RESPONSE2 ((volatile unsigned long *)RSI_RESPONSE2)
-#define pRSI_RESPONSE3 ((volatile unsigned long *)RSI_RESPONSE3)
-#define pRSI_DATA_TIMER ((volatile unsigned long *)RSI_DATA_TIMER)
-#define pRSI_DATA_LGTH ((volatile unsigned short *)RSI_DATA_LGTH)
-#define pRSI_DATA_CONTROL ((volatile unsigned short *)RSI_DATA_CONTROL)
-#define pRSI_DATA_CNT ((volatile unsigned short *)RSI_DATA_CNT)
-#define pRSI_STATUS ((volatile unsigned long *)RSI_STATUS)
-#define pRSI_STATUSCL ((volatile unsigned short *)RSI_STATUSCL)
-#define pRSI_MASK0 ((volatile unsigned long *)RSI_MASK0)
-#define pRSI_MASK1 ((volatile unsigned long *)RSI_MASK1)
-#define pRSI_FIFO_CNT ((volatile unsigned short *)RSI_FIFO_CNT)
-#define pRSI_CEATA_CONTROL ((volatile unsigned short *)RSI_CEATA_CONTROL)
-#define pRSI_FIFO ((volatile unsigned long *)RSI_FIFO)
-#define pRSI_ESTAT ((volatile unsigned short *)RSI_ESTAT)
-#define pRSI_EMASK ((volatile unsigned short *)RSI_EMASK)
-#define pRSI_CONFIG ((volatile unsigned short *)RSI_CONFIG)
-#define pRSI_RD_WAIT_EN ((volatile unsigned short *)RSI_RD_WAIT_EN)
-#define pRSI_PID0 ((volatile unsigned short *)RSI_PID0)
-#define pRSI_PID1 ((volatile unsigned short *)RSI_PID1)
-#define pRSI_PID2 ((volatile unsigned short *)RSI_PID2)
-#define pRSI_PID3 ((volatile unsigned short *)RSI_PID3)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF516_H */
diff --git a/libgloss/bfin/include/cdefBF518.h b/libgloss/bfin/include/cdefBF518.h
deleted file mode 100644
index 8455edc..0000000
--- a/libgloss/bfin/include/cdefBF518.h
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF518 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF518_H
-#define _CDEF_BF518_H
-
-/* include all Core registers and bit definitions */
-#include <defBF518.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF518 */
-
-/* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <cdefBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF518 that are not in the common header */
-
-/* 10/100 Ethernet Controller */
-#define pEMAC_OPMODE ((volatile unsigned long *)EMAC_OPMODE)
-#define pEMAC_ADDRLO ((volatile unsigned long *)EMAC_ADDRLO)
-#define pEMAC_ADDRHI ((volatile unsigned long *)EMAC_ADDRHI)
-#define pEMAC_HASHLO ((volatile unsigned long *)EMAC_HASHLO)
-#define pEMAC_HASHHI ((volatile unsigned long *)EMAC_HASHHI)
-#define pEMAC_STAADD ((volatile unsigned long *)EMAC_STAADD)
-#define pEMAC_STADAT ((volatile unsigned long *)EMAC_STADAT)
-#define pEMAC_FLC ((volatile unsigned long *)EMAC_FLC)
-#define pEMAC_VLAN1 ((volatile unsigned long *)EMAC_VLAN1)
-#define pEMAC_VLAN2 ((volatile unsigned long *)EMAC_VLAN2)
-#define pEMAC_WKUP_CTL ((volatile unsigned long *)EMAC_WKUP_CTL)
-#define pEMAC_WKUP_FFMSK0 ((volatile unsigned long *)EMAC_WKUP_FFMSK0)
-#define pEMAC_WKUP_FFMSK1 ((volatile unsigned long *)EMAC_WKUP_FFMSK1)
-#define pEMAC_WKUP_FFMSK2 ((volatile unsigned long *)EMAC_WKUP_FFMSK2)
-#define pEMAC_WKUP_FFMSK3 ((volatile unsigned long *)EMAC_WKUP_FFMSK3)
-#define pEMAC_WKUP_FFCMD ((volatile unsigned long *)EMAC_WKUP_FFCMD)
-#define pEMAC_WKUP_FFOFF ((volatile unsigned long *)EMAC_WKUP_FFOFF)
-#define pEMAC_WKUP_FFCRC0 ((volatile unsigned long *)EMAC_WKUP_FFCRC0)
-#define pEMAC_WKUP_FFCRC1 ((volatile unsigned long *)EMAC_WKUP_FFCRC1)
-
-#define pEMAC_SYSCTL ((volatile unsigned long *)EMAC_SYSCTL)
-#define pEMAC_SYSTAT ((volatile unsigned long *)EMAC_SYSTAT)
-#define pEMAC_RX_STAT ((volatile unsigned long *)EMAC_RX_STAT)
-#define pEMAC_RX_STKY ((volatile unsigned long *)EMAC_RX_STKY)
-#define pEMAC_RX_IRQE ((volatile unsigned long *)EMAC_RX_IRQE)
-#define pEMAC_TX_STAT ((volatile unsigned long *)EMAC_TX_STAT)
-#define pEMAC_TX_STKY ((volatile unsigned long *)EMAC_TX_STKY)
-#define pEMAC_TX_IRQE ((volatile unsigned long *)EMAC_TX_IRQE)
-
-#define pEMAC_MMC_CTL ((volatile unsigned long *)EMAC_MMC_CTL)
-#define pEMAC_MMC_RIRQS ((volatile unsigned long *)EMAC_MMC_RIRQS)
-#define pEMAC_MMC_RIRQE ((volatile unsigned long *)EMAC_MMC_RIRQE)
-#define pEMAC_MMC_TIRQS ((volatile unsigned long *)EMAC_MMC_TIRQS)
-#define pEMAC_MMC_TIRQE ((volatile unsigned long *)EMAC_MMC_TIRQE)
-
-#define pEMAC_RXC_OK ((volatile unsigned long *)EMAC_RXC_OK)
-#define pEMAC_RXC_FCS ((volatile unsigned long *)EMAC_RXC_FCS)
-#define pEMAC_RXC_ALIGN ((volatile unsigned long *)EMAC_RXC_ALIGN)
-#define pEMAC_RXC_OCTET ((volatile unsigned long *)EMAC_RXC_OCTET)
-#define pEMAC_RXC_DMAOVF ((volatile unsigned long *)EMAC_RXC_DMAOVF)
-#define pEMAC_RXC_UNICST ((volatile unsigned long *)EMAC_RXC_UNICST)
-#define pEMAC_RXC_MULTI ((volatile unsigned long *)EMAC_RXC_MULTI)
-#define pEMAC_RXC_BROAD ((volatile unsigned long *)EMAC_RXC_BROAD)
-#define pEMAC_RXC_LNERRI ((volatile unsigned long *)EMAC_RXC_LNERRI)
-#define pEMAC_RXC_LNERRO ((volatile unsigned long *)EMAC_RXC_LNERRO)
-#define pEMAC_RXC_LONG ((volatile unsigned long *)EMAC_RXC_LONG)
-#define pEMAC_RXC_MACCTL ((volatile unsigned long *)EMAC_RXC_MACCTL)
-#define pEMAC_RXC_OPCODE ((volatile unsigned long *)EMAC_RXC_OPCODE)
-#define pEMAC_RXC_PAUSE ((volatile unsigned long *)EMAC_RXC_PAUSE)
-#define pEMAC_RXC_ALLFRM ((volatile unsigned long *)EMAC_RXC_ALLFRM)
-#define pEMAC_RXC_ALLOCT ((volatile unsigned long *)EMAC_RXC_ALLOCT)
-#define pEMAC_RXC_TYPED ((volatile unsigned long *)EMAC_RXC_TYPED)
-#define pEMAC_RXC_SHORT ((volatile unsigned long *)EMAC_RXC_SHORT)
-#define pEMAC_RXC_EQ64 ((volatile unsigned long *)EMAC_RXC_EQ64)
-#define pEMAC_RXC_LT128 ((volatile unsigned long *)EMAC_RXC_LT128)
-#define pEMAC_RXC_LT256 ((volatile unsigned long *)EMAC_RXC_LT256)
-#define pEMAC_RXC_LT512 ((volatile unsigned long *)EMAC_RXC_LT512)
-#define pEMAC_RXC_LT1024 ((volatile unsigned long *)EMAC_RXC_LT1024)
-#define pEMAC_RXC_GE1024 ((volatile unsigned long *)EMAC_RXC_GE1024)
-
-#define pEMAC_TXC_OK ((volatile unsigned long *)EMAC_TXC_OK)
-#define pEMAC_TXC_1COL ((volatile unsigned long *)EMAC_TXC_1COL)
-#define pEMAC_TXC_GT1COL ((volatile unsigned long *)EMAC_TXC_GT1COL)
-#define pEMAC_TXC_OCTET ((volatile unsigned long *)EMAC_TXC_OCTET)
-#define pEMAC_TXC_DEFER ((volatile unsigned long *)EMAC_TXC_DEFER)
-#define pEMAC_TXC_LATECL ((volatile unsigned long *)EMAC_TXC_LATECL)
-#define pEMAC_TXC_XS_COL ((volatile unsigned long *)EMAC_TXC_XS_COL)
-#define pEMAC_TXC_DMAUND ((volatile unsigned long *)EMAC_TXC_DMAUND)
-#define pEMAC_TXC_CRSERR ((volatile unsigned long *)EMAC_TXC_CRSERR)
-#define pEMAC_TXC_UNICST ((volatile unsigned long *)EMAC_TXC_UNICST)
-#define pEMAC_TXC_MULTI ((volatile unsigned long *)EMAC_TXC_MULTI)
-#define pEMAC_TXC_BROAD ((volatile unsigned long *)EMAC_TXC_BROAD)
-#define pEMAC_TXC_XS_DFR ((volatile unsigned long *)EMAC_TXC_XS_DFR)
-#define pEMAC_TXC_MACCTL ((volatile unsigned long *)EMAC_TXC_MACCTL)
-#define pEMAC_TXC_ALLFRM ((volatile unsigned long *)EMAC_TXC_ALLFRM)
-#define pEMAC_TXC_ALLOCT ((volatile unsigned long *)EMAC_TXC_ALLOCT)
-#define pEMAC_TXC_EQ64 ((volatile unsigned long *)EMAC_TXC_EQ64)
-#define pEMAC_TXC_LT128 ((volatile unsigned long *)EMAC_TXC_LT128)
-#define pEMAC_TXC_LT256 ((volatile unsigned long *)EMAC_TXC_LT256)
-#define pEMAC_TXC_LT512 ((volatile unsigned long *)EMAC_TXC_LT512)
-#define pEMAC_TXC_LT1024 ((volatile unsigned long *)EMAC_TXC_LT1024)
-#define pEMAC_TXC_GE1024 ((volatile unsigned long *)EMAC_TXC_GE1024)
-#define pEMAC_TXC_ABORT ((volatile unsigned long *)EMAC_TXC_ABORT)
-
-
-/* EMAC PTP (IEEE 1588) (0xFFC030A0 - 0xFFC030EC)*/
-#define pEMAC_PTP_CTL ((volatile unsigned short *)EMAC_PTP_CTL)
-#define pEMAC_PTP_IE ((volatile unsigned short *)EMAC_PTP_IE)
-#define pEMAC_PTP_ISTAT ((volatile unsigned short *)EMAC_PTP_ISTAT)
-#define pEMAC_PTP_FOFF ((volatile unsigned long *)EMAC_PTP_FOFF)
-#define pEMAC_PTP_FV1 ((volatile unsigned long *)EMAC_PTP_FV1)
-#define pEMAC_PTP_FV2 ((volatile unsigned long *)EMAC_PTP_FV2)
-#define pEMAC_PTP_FV3 ((volatile unsigned long *)EMAC_PTP_FV3)
-#define pEMAC_PTP_ADDEND ((volatile unsigned long *)EMAC_PTP_ADDEND)
-#define pEMAC_PTP_ACCR ((volatile unsigned long *)EMAC_PTP_ACCR)
-#define pEMAC_PTP_OFFSET ((volatile unsigned long *)EMAC_PTP_OFFSET)
-#define pEMAC_PTP_TIMELO ((volatile unsigned long *)EMAC_PTP_TIMELO)
-#define pEMAC_PTP_TIMEHI ((volatile unsigned long *)EMAC_PTP_TIMEHI)
-#define pEMAC_PTP_RXSNAPLO ((volatile unsigned long *)EMAC_PTP_RXSNAPLO)
-#define pEMAC_PTP_RXSNAPHI ((volatile unsigned long *)EMAC_PTP_RXSNAPHI)
-#define pEMAC_PTP_TXSNAPLO ((volatile unsigned long *)EMAC_PTP_TXSNAPLO)
-#define pEMAC_PTP_TXSNAPHI ((volatile unsigned long *)EMAC_PTP_TXSNAPHI)
-#define pEMAC_PTP_ALARMLO ((volatile unsigned long *)EMAC_PTP_ALARMLO)
-#define pEMAC_PTP_ALARMHI ((volatile unsigned long *)EMAC_PTP_ALARMHI)
-#define pEMAC_PTP_ID_OFF ((volatile unsigned short *)EMAC_PTP_ID_OFF)
-#define pEMAC_PTP_ID_SNAP ((volatile unsigned long *)EMAC_PTP_ID_SNAP)
-#define pEMAC_PTP_PPS_STARTLO ((volatile unsigned long *)EMAC_PTP_PPS_STARTLO)
-#define pEMAC_PTP_PPS_STARTHI ((volatile unsigned long *)EMAC_PTP_PPS_STARTHI)
-#define pEMAC_PTP_PPS_PERIOD ((volatile unsigned long *)EMAC_PTP_PPS_PERIOD)
-
-
-/* SDH Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-
-/* RSI Registers (0xFFC03800 - 0xFFC03CFF)*/
-#define pRSI_PWR_CONTROL ((volatile unsigned short *)RSI_PWR_CONTROL)
-#define pRSI_CLK_CONTROL ((volatile unsigned short *)RSI_CLK_CONTROL)
-#define pRSI_ARGUMENT ((volatile unsigned long *)RSI_ARGUMENT)
-#define pRSI_COMMAND ((volatile unsigned short *)RSI_COMMAND)
-#define pRSI_RESP_CMD ((volatile unsigned short *)RSI_RESP_CMD)
-#define pRSI_RESPONSE0 ((volatile unsigned long *)RSI_RESPONSE0)
-#define pRSI_RESPONSE1 ((volatile unsigned long *)RSI_RESPONSE1)
-#define pRSI_RESPONSE2 ((volatile unsigned long *)RSI_RESPONSE2)
-#define pRSI_RESPONSE3 ((volatile unsigned long *)RSI_RESPONSE3)
-#define pRSI_DATA_TIMER ((volatile unsigned long *)RSI_DATA_TIMER)
-#define pRSI_DATA_LGTH ((volatile unsigned short *)RSI_DATA_LGTH)
-#define pRSI_DATA_CONTROL ((volatile unsigned short *)RSI_DATA_CONTROL)
-#define pRSI_DATA_CNT ((volatile unsigned short *)RSI_DATA_CNT)
-#define pRSI_STATUS ((volatile unsigned long *)RSI_STATUS)
-#define pRSI_STATUSCL ((volatile unsigned short *)RSI_STATUSCL)
-#define pRSI_MASK0 ((volatile unsigned long *)RSI_MASK0)
-#define pRSI_MASK1 ((volatile unsigned long *)RSI_MASK1)
-#define pRSI_FIFO_CNT ((volatile unsigned short *)RSI_FIFO_CNT)
-#define pRSI_CEATA_CONTROL ((volatile unsigned short *)RSI_CEATA_CONTROL)
-#define pRSI_FIFO ((volatile unsigned long *)RSI_FIFO)
-#define pRSI_ESTAT ((volatile unsigned short *)RSI_ESTAT)
-#define pRSI_EMASK ((volatile unsigned short *)RSI_EMASK)
-#define pRSI_CONFIG ((volatile unsigned short *)RSI_CONFIG)
-#define pRSI_RD_WAIT_EN ((volatile unsigned short *)RSI_RD_WAIT_EN)
-#define pRSI_PID0 ((volatile unsigned short *)RSI_PID0)
-#define pRSI_PID1 ((volatile unsigned short *)RSI_PID1)
-#define pRSI_PID2 ((volatile unsigned short *)RSI_PID2)
-#define pRSI_PID3 ((volatile unsigned short *)RSI_PID3)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF518_H */
diff --git a/libgloss/bfin/include/cdefBF51x_base.h b/libgloss/bfin/include/cdefBF51x_base.h
deleted file mode 100644
index 1b2ceec..0000000
--- a/libgloss/bfin/include/cdefBF51x_base.h
+++ /dev/null
@@ -1,674 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF51x_base.h
-**
-** Copyright (C) 2007-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF51x peripherals.
-**
-***************************************************************/
-
-#ifndef _CDEF_BF51X_H
-#define _CDEF_BF51X_H
-
-#include <defBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long *)CHIPID)
-
-
-/* System Interrupt Controller(0xFFC00100 - 0xFFC001FF) */
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-
-#define pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0) /* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK0)
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-#define pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0) /* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_ISR ((volatile unsigned long *)SIC_ISR0)
-#define pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0) /* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IWR ((volatile unsigned long *)SIC_IWR0)
-
-/* SIC Additions to ADSP-BF51x(0xFFC0014C - 0xFFC00162) */
-#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
-#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
-#define pSIC_IAR7 ((volatile unsigned long *)SIC_IAR7)
-#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
-#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_IER ((volatile unsigned short *)UART0_IER)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF)*/
-#define pSPI0_CTL ((volatile unsigned short *)SPI0_CTL)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_CTL pSPI0_CTL
-#define pSPI0_FLG ((volatile unsigned short *)SPI0_FLG)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_FLG pSPI0_FLG
-#define pSPI0_STAT ((volatile unsigned short *)SPI0_STAT)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_STAT pSPI0_STAT
-#define pSPI0_TDBR ((volatile unsigned short *)SPI0_TDBR)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_TDBR pSPI0_TDBR
-#define pSPI0_RDBR ((volatile unsigned short *)SPI0_RDBR)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_RDBR pSPI0_RDBR
-#define pSPI0_BAUD ((volatile unsigned short *)SPI0_BAUD)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_BAUD pSPI0_BAUD
-#define pSPI0_SHADOW ((volatile unsigned short *)SPI0_SHADOW)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSPI_SHADOW pSPI0_SHADOW
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-
-#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
-
-#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
-
-#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
-
-#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
-
-#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
-
-#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile unsigned long *)TIMER_STATUS)
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define pPORTFIO ((volatile unsigned short *)PORTFIO)
-#define pPORTFIO_CLEAR ((volatile unsigned short *)PORTFIO_CLEAR)
-#define pPORTFIO_SET ((volatile unsigned short *)PORTFIO_SET)
-#define pPORTFIO_TOGGLE ((volatile unsigned short *)PORTFIO_TOGGLE)
-#define pPORTFIO_MASKA ((volatile unsigned short *)PORTFIO_MASKA)
-#define pPORTFIO_MASKA_CLEAR ((volatile unsigned short *)PORTFIO_MASKA_CLEAR)
-#define pPORTFIO_MASKA_SET ((volatile unsigned short *)PORTFIO_MASKA_SET)
-#define pPORTFIO_MASKA_TOGGLE ((volatile unsigned short *)PORTFIO_MASKA_TOGGLE)
-#define pPORTFIO_MASKB ((volatile unsigned short *)PORTFIO_MASKB)
-#define pPORTFIO_MASKB_CLEAR ((volatile unsigned short *)PORTFIO_MASKB_CLEAR)
-#define pPORTFIO_MASKB_SET ((volatile unsigned short *)PORTFIO_MASKB_SET)
-#define pPORTFIO_MASKB_TOGGLE ((volatile unsigned short *)PORTFIO_MASKB_TOGGLE)
-#define pPORTFIO_DIR ((volatile unsigned short *)PORTFIO_DIR)
-#define pPORTFIO_POLAR ((volatile unsigned short *)PORTFIO_POLAR)
-#define pPORTFIO_EDGE ((volatile unsigned short *)PORTFIO_EDGE)
-#define pPORTFIO_BOTH ((volatile unsigned short *)PORTFIO_BOTH)
-#define pPORTFIO_INEN ((volatile unsigned short *)PORTFIO_INEN)
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define pDMA_TC_PER ((volatile unsigned short *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile unsigned short *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT)
-
-/* DMA Controller (0xFFC00C00 - FFC00FFF)*/
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_START_ADDR)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_ADDR)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_START_ADDR)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_ADDR)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_START_ADDR)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_ADDR)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
-#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
-#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
-#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define pTWI_CLKDIV ((volatile unsigned short *)TWI_CLKDIV)
-#define pTWI_CONTROL ((volatile unsigned short *)TWI_CONTROL)
-#define pTWI_SLAVE_CTL ((volatile unsigned short *)TWI_SLAVE_CTL)
-#define pTWI_SLAVE_STAT ((volatile unsigned short *)TWI_SLAVE_STAT)
-#define pTWI_SLAVE_ADDR ((volatile unsigned short *)TWI_SLAVE_ADDR)
-#define pTWI_MASTER_CTL ((volatile unsigned short *)TWI_MASTER_CTL)
-#define pTWI_MASTER_STAT ((volatile unsigned short *)TWI_MASTER_STAT)
-#define pTWI_MASTER_ADDR ((volatile unsigned short *)TWI_MASTER_ADDR)
-#define pTWI_INT_STAT ((volatile unsigned short *)TWI_INT_STAT)
-#define pTWI_INT_MASK ((volatile unsigned short *)TWI_INT_MASK)
-#define pTWI_FIFO_CTL ((volatile unsigned short *)TWI_FIFO_CTL)
-#define pTWI_FIFO_STAT ((volatile unsigned short *)TWI_FIFO_STAT)
-#define pTWI_XMT_DATA8 ((volatile unsigned short *)TWI_XMT_DATA8)
-#define pTWI_XMT_DATA16 ((volatile unsigned short *)TWI_XMT_DATA16)
-#define pTWI_RCV_DATA8 ((volatile unsigned short *)TWI_RCV_DATA8)
-#define pTWI_RCV_DATA16 ((volatile unsigned short *)TWI_RCV_DATA16)
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define pPORTGIO ((volatile unsigned short *)PORTGIO)
-#define pPORTGIO_CLEAR ((volatile unsigned short *)PORTGIO_CLEAR)
-#define pPORTGIO_SET ((volatile unsigned short *)PORTGIO_SET)
-#define pPORTGIO_TOGGLE ((volatile unsigned short *)PORTGIO_TOGGLE)
-#define pPORTGIO_MASKA ((volatile unsigned short *)PORTGIO_MASKA)
-#define pPORTGIO_MASKA_CLEAR ((volatile unsigned short *)PORTGIO_MASKA_CLEAR)
-#define pPORTGIO_MASKA_SET ((volatile unsigned short *)PORTGIO_MASKA_SET)
-#define pPORTGIO_MASKA_TOGGLE ((volatile unsigned short *)PORTGIO_MASKA_TOGGLE)
-#define pPORTGIO_MASKB ((volatile unsigned short *)PORTGIO_MASKB)
-#define pPORTGIO_MASKB_CLEAR ((volatile unsigned short *)PORTGIO_MASKB_CLEAR)
-#define pPORTGIO_MASKB_SET ((volatile unsigned short *)PORTGIO_MASKB_SET)
-#define pPORTGIO_MASKB_TOGGLE ((volatile unsigned short *)PORTGIO_MASKB_TOGGLE)
-#define pPORTGIO_DIR ((volatile unsigned short *)PORTGIO_DIR)
-#define pPORTGIO_POLAR ((volatile unsigned short *)PORTGIO_POLAR)
-#define pPORTGIO_EDGE ((volatile unsigned short *)PORTGIO_EDGE)
-#define pPORTGIO_BOTH ((volatile unsigned short *)PORTGIO_BOTH)
-#define pPORTGIO_INEN ((volatile unsigned short *)PORTGIO_INEN)
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define pPORTHIO ((volatile unsigned short *)PORTHIO)
-#define pPORTHIO_CLEAR ((volatile unsigned short *)PORTHIO_CLEAR)
-#define pPORTHIO_SET ((volatile unsigned short *)PORTHIO_SET)
-#define pPORTHIO_TOGGLE ((volatile unsigned short *)PORTHIO_TOGGLE)
-#define pPORTHIO_MASKA ((volatile unsigned short *)PORTHIO_MASKA)
-#define pPORTHIO_MASKA_CLEAR ((volatile unsigned short *)PORTHIO_MASKA_CLEAR)
-#define pPORTHIO_MASKA_SET ((volatile unsigned short *)PORTHIO_MASKA_SET)
-#define pPORTHIO_MASKA_TOGGLE ((volatile unsigned short *)PORTHIO_MASKA_TOGGLE)
-#define pPORTHIO_MASKB ((volatile unsigned short *)PORTHIO_MASKB)
-#define pPORTHIO_MASKB_CLEAR ((volatile unsigned short *)PORTHIO_MASKB_CLEAR)
-#define pPORTHIO_MASKB_SET ((volatile unsigned short *)PORTHIO_MASKB_SET)
-#define pPORTHIO_MASKB_TOGGLE ((volatile unsigned short *)PORTHIO_MASKB_TOGGLE)
-#define pPORTHIO_DIR ((volatile unsigned short *)PORTHIO_DIR)
-#define pPORTHIO_POLAR ((volatile unsigned short *)PORTHIO_POLAR)
-#define pPORTHIO_EDGE ((volatile unsigned short *)PORTHIO_EDGE)
-#define pPORTHIO_BOTH ((volatile unsigned short *)PORTHIO_BOTH)
-#define pPORTHIO_INEN ((volatile unsigned short *)PORTHIO_INEN)
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define pPORTF_FER ((volatile unsigned short *)PORTF_FER)
-#define pPORTG_FER ((volatile unsigned short *)PORTG_FER)
-#define pPORTH_FER ((volatile unsigned short *)PORTH_FER)
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
-#define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
-#define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
-#define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
-#define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
-#define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
-#define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
-
-#define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
-#define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
-#define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
-#define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
-#define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
-#define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
-#define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
-
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-#define pPORTF_MUX ((volatile unsigned short *)PORTF_MUX)
-#define pPORTG_MUX ((volatile unsigned short *)PORTG_MUX)
-#define pPORTH_MUX ((volatile unsigned short *)PORTH_MUX)
-#define pPORTF_DRIVE ((volatile unsigned short *)PORTF_DRIVE)
-#define pPORTG_DRIVE ((volatile unsigned short *)PORTG_DRIVE)
-#define pPORTH_DRIVE ((volatile unsigned short *)PORTH_DRIVE)
-#define pPORTF_HYSTERESIS ((volatile unsigned short *)PORTF_HYSTERESIS)
-#define pPORTG_HYSTERESIS ((volatile unsigned short *)PORTG_HYSTERESIS)
-#define pPORTH_HYSTERESIS ((volatile unsigned short *)PORTH_HYSTERESIS)
-#define pNONGPIO_DRIVE ((volatile unsigned short *)NONGPIO_DRIVE)
-#define pNONGPIO_HYSTERESIS ((volatile unsigned short *)NONGPIO_HYSTERESIS)
-
-
-/* SPI1 Controller (0xFFC03400 - 0xFFC034FF)*/
-#define pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
-#define pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
-#define pSPI1_STAT ((volatile unsigned short *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
-
-
-/* Counter Registers (0xFFC03500 - 0xFFC035FF)*/
-#define pCNT_CONFIG ((volatile unsigned short *)CNT_CONFIG)
-#define pCNT_IMASK ((volatile unsigned short *)CNT_IMASK)
-#define pCNT_STATUS ((volatile unsigned short *)CNT_STATUS)
-#define pCNT_COMMAND ((volatile unsigned short *)CNT_COMMAND)
-#define pCNT_DEBOUNCE ((volatile unsigned short *)CNT_DEBOUNCE)
-#define pCNT_COUNTER ((volatile unsigned long *)CNT_COUNTER)
-#define pCNT_MAX ((volatile unsigned long *)CNT_MAX)
-#define pCNT_MIN ((volatile unsigned long *)CNT_MIN)
-
-
-/* OTP Registers (0xFFC03600 - 0xFFC036FF) */
-/* Security Registers */
-#define pSECURE_SYSSWT ((volatile unsigned long *)SECURE_SYSSWT)
-#define pSECURE_CONTROL ((volatile unsigned short *)SECURE_CONTROL)
-#define pSECURE_STATUS ((volatile unsigned short *)SECURE_STATUS)
-
-/* OTP Read/Write Data Buffer Registers */
-#define pOTP_DATA0 ((volatile unsigned long *)OTP_DATA0)
-#define pOTP_DATA1 ((volatile unsigned long *)OTP_DATA1)
-#define pOTP_DATA2 ((volatile unsigned long *)OTP_DATA2)
-#define pOTP_DATA3 ((volatile unsigned long *)OTP_DATA3)
-
-
-/* PWM 3PHASE (0xFFC03700 - 0xFFC037FF)*/
-#define pPWM_CTRL ((volatile unsigned short *)PWM_CTRL)
-#define pPWM_STAT ((volatile unsigned short *)PWM_STAT)
-#define pPWM_TM ((volatile unsigned short *)PWM_TM)
-#define pPWM_DT ((volatile unsigned short *)PWM_DT)
-#define pPWM_GATE ((volatile unsigned short *)PWM_GATE)
-#define pPWM_CHA ((volatile unsigned short *)PWM_CHA)
-#define pPWM_CHB ((volatile unsigned short *)PWM_CHB)
-#define pPWM_CHC ((volatile unsigned short *)PWM_CHC)
-#define pPWM_SEG ((volatile unsigned short *)PWM_SEG)
-#define pPWM_SYNCWT ((volatile unsigned short *)PWM_SYNCWT)
-#define pPWM_CHAL ((volatile unsigned short *)PWM_CHAL)
-#define pPWM_CHBL ((volatile unsigned short *)PWM_CHBL)
-#define pPWM_CHCL ((volatile unsigned short *)PWM_CHCL)
-#define pPWM_LSI ((volatile unsigned short *)PWM_LSI)
-#define pPWM_STAT2 ((volatile unsigned short *)PWM_STAT2)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-
-#endif /*_CDEF_BF51X_H*/
diff --git a/libgloss/bfin/include/cdefBF522.h b/libgloss/bfin/include/cdefBF522.h
deleted file mode 100644
index cc13e41..0000000
--- a/libgloss/bfin/include/cdefBF522.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF522 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF522_H
-#define _CDEF_BF522_H
-
-/* include all Core registers and bit definitions */
-#include <defBF522.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF522 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#endif /* _CDEF_BF522_H */
diff --git a/libgloss/bfin/include/cdefBF523.h b/libgloss/bfin/include/cdefBF523.h
deleted file mode 100644
index be25ee0..0000000
--- a/libgloss/bfin/include/cdefBF523.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF523 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF523_H
-#define _CDEF_BF523_H
-
-/* include all Core registers and bit definitions */
-#include <defBF523.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF523 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#endif /* _CDEF_BF523_H */
diff --git a/libgloss/bfin/include/cdefBF524.h b/libgloss/bfin/include/cdefBF524.h
deleted file mode 100644
index 580f725..0000000
--- a/libgloss/bfin/include/cdefBF524.h
+++ /dev/null
@@ -1,294 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF524 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF524_H
-#define _CDEF_BF524_H
-
-/* include all Core registers and bit definitions */
-#include <defBF524.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF524 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF524 that are not in the common header */
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF524_H */
diff --git a/libgloss/bfin/include/cdefBF525.h b/libgloss/bfin/include/cdefBF525.h
deleted file mode 100644
index 608a9cb..0000000
--- a/libgloss/bfin/include/cdefBF525.h
+++ /dev/null
@@ -1,294 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF525 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF525_H
-#define _CDEF_BF525_H
-
-/* include all Core registers and bit definitions */
-#include <defBF525.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF525 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF525 that are not in the common header */
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF525_H */
diff --git a/libgloss/bfin/include/cdefBF526.h b/libgloss/bfin/include/cdefBF526.h
deleted file mode 100644
index 7d8f4ff..0000000
--- a/libgloss/bfin/include/cdefBF526.h
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF526 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF526_H
-#define _CDEF_BF526_H
-
-/* include all Core registers and bit definitions */
-#include <defBF526.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF526 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF526 that are not in the common header */
-
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define pEMAC_OPMODE ((volatile unsigned long *)EMAC_OPMODE)
-#define pEMAC_ADDRLO ((volatile unsigned long *)EMAC_ADDRLO)
-#define pEMAC_ADDRHI ((volatile unsigned long *)EMAC_ADDRHI)
-#define pEMAC_HASHLO ((volatile unsigned long *)EMAC_HASHLO)
-#define pEMAC_HASHHI ((volatile unsigned long *)EMAC_HASHHI)
-#define pEMAC_STAADD ((volatile unsigned long *)EMAC_STAADD)
-#define pEMAC_STADAT ((volatile unsigned long *)EMAC_STADAT)
-#define pEMAC_FLC ((volatile unsigned long *)EMAC_FLC)
-#define pEMAC_VLAN1 ((volatile unsigned long *)EMAC_VLAN1)
-#define pEMAC_VLAN2 ((volatile unsigned long *)EMAC_VLAN2)
-#define pEMAC_WKUP_CTL ((volatile unsigned long *)EMAC_WKUP_CTL)
-#define pEMAC_WKUP_FFMSK0 ((volatile unsigned long *)EMAC_WKUP_FFMSK0)
-#define pEMAC_WKUP_FFMSK1 ((volatile unsigned long *)EMAC_WKUP_FFMSK1)
-#define pEMAC_WKUP_FFMSK2 ((volatile unsigned long *)EMAC_WKUP_FFMSK2)
-#define pEMAC_WKUP_FFMSK3 ((volatile unsigned long *)EMAC_WKUP_FFMSK3)
-#define pEMAC_WKUP_FFCMD ((volatile unsigned long *)EMAC_WKUP_FFCMD)
-#define pEMAC_WKUP_FFOFF ((volatile unsigned long *)EMAC_WKUP_FFOFF)
-#define pEMAC_WKUP_FFCRC0 ((volatile unsigned long *)EMAC_WKUP_FFCRC0)
-#define pEMAC_WKUP_FFCRC1 ((volatile unsigned long *)EMAC_WKUP_FFCRC1)
-
-#define pEMAC_SYSCTL ((volatile unsigned long *)EMAC_SYSCTL)
-#define pEMAC_SYSTAT ((volatile unsigned long *)EMAC_SYSTAT)
-#define pEMAC_RX_STAT ((volatile unsigned long *)EMAC_RX_STAT)
-#define pEMAC_RX_STKY ((volatile unsigned long *)EMAC_RX_STKY)
-#define pEMAC_RX_IRQE ((volatile unsigned long *)EMAC_RX_IRQE)
-#define pEMAC_TX_STAT ((volatile unsigned long *)EMAC_TX_STAT)
-#define pEMAC_TX_STKY ((volatile unsigned long *)EMAC_TX_STKY)
-#define pEMAC_TX_IRQE ((volatile unsigned long *)EMAC_TX_IRQE)
-
-#define pEMAC_MMC_CTL ((volatile unsigned long *)EMAC_MMC_CTL)
-#define pEMAC_MMC_RIRQS ((volatile unsigned long *)EMAC_MMC_RIRQS)
-#define pEMAC_MMC_RIRQE ((volatile unsigned long *)EMAC_MMC_RIRQE)
-#define pEMAC_MMC_TIRQS ((volatile unsigned long *)EMAC_MMC_TIRQS)
-#define pEMAC_MMC_TIRQE ((volatile unsigned long *)EMAC_MMC_TIRQE)
-
-#define pEMAC_RXC_OK ((volatile unsigned long *)EMAC_RXC_OK)
-#define pEMAC_RXC_FCS ((volatile unsigned long *)EMAC_RXC_FCS)
-#define pEMAC_RXC_ALIGN ((volatile unsigned long *)EMAC_RXC_ALIGN)
-#define pEMAC_RXC_OCTET ((volatile unsigned long *)EMAC_RXC_OCTET)
-#define pEMAC_RXC_DMAOVF ((volatile unsigned long *)EMAC_RXC_DMAOVF)
-#define pEMAC_RXC_UNICST ((volatile unsigned long *)EMAC_RXC_UNICST)
-#define pEMAC_RXC_MULTI ((volatile unsigned long *)EMAC_RXC_MULTI)
-#define pEMAC_RXC_BROAD ((volatile unsigned long *)EMAC_RXC_BROAD)
-#define pEMAC_RXC_LNERRI ((volatile unsigned long *)EMAC_RXC_LNERRI)
-#define pEMAC_RXC_LNERRO ((volatile unsigned long *)EMAC_RXC_LNERRO)
-#define pEMAC_RXC_LONG ((volatile unsigned long *)EMAC_RXC_LONG)
-#define pEMAC_RXC_MACCTL ((volatile unsigned long *)EMAC_RXC_MACCTL)
-#define pEMAC_RXC_OPCODE ((volatile unsigned long *)EMAC_RXC_OPCODE)
-#define pEMAC_RXC_PAUSE ((volatile unsigned long *)EMAC_RXC_PAUSE)
-#define pEMAC_RXC_ALLFRM ((volatile unsigned long *)EMAC_RXC_ALLFRM)
-#define pEMAC_RXC_ALLOCT ((volatile unsigned long *)EMAC_RXC_ALLOCT)
-#define pEMAC_RXC_TYPED ((volatile unsigned long *)EMAC_RXC_TYPED)
-#define pEMAC_RXC_SHORT ((volatile unsigned long *)EMAC_RXC_SHORT)
-#define pEMAC_RXC_EQ64 ((volatile unsigned long *)EMAC_RXC_EQ64)
-#define pEMAC_RXC_LT128 ((volatile unsigned long *)EMAC_RXC_LT128)
-#define pEMAC_RXC_LT256 ((volatile unsigned long *)EMAC_RXC_LT256)
-#define pEMAC_RXC_LT512 ((volatile unsigned long *)EMAC_RXC_LT512)
-#define pEMAC_RXC_LT1024 ((volatile unsigned long *)EMAC_RXC_LT1024)
-#define pEMAC_RXC_GE1024 ((volatile unsigned long *)EMAC_RXC_GE1024)
-
-#define pEMAC_TXC_OK ((volatile unsigned long *)EMAC_TXC_OK)
-#define pEMAC_TXC_1COL ((volatile unsigned long *)EMAC_TXC_1COL)
-#define pEMAC_TXC_GT1COL ((volatile unsigned long *)EMAC_TXC_GT1COL)
-#define pEMAC_TXC_OCTET ((volatile unsigned long *)EMAC_TXC_OCTET)
-#define pEMAC_TXC_DEFER ((volatile unsigned long *)EMAC_TXC_DEFER)
-#define pEMAC_TXC_LATECL ((volatile unsigned long *)EMAC_TXC_LATECL)
-#define pEMAC_TXC_XS_COL ((volatile unsigned long *)EMAC_TXC_XS_COL)
-#define pEMAC_TXC_DMAUND ((volatile unsigned long *)EMAC_TXC_DMAUND)
-#define pEMAC_TXC_CRSERR ((volatile unsigned long *)EMAC_TXC_CRSERR)
-#define pEMAC_TXC_UNICST ((volatile unsigned long *)EMAC_TXC_UNICST)
-#define pEMAC_TXC_MULTI ((volatile unsigned long *)EMAC_TXC_MULTI)
-#define pEMAC_TXC_BROAD ((volatile unsigned long *)EMAC_TXC_BROAD)
-#define pEMAC_TXC_XS_DFR ((volatile unsigned long *)EMAC_TXC_XS_DFR)
-#define pEMAC_TXC_MACCTL ((volatile unsigned long *)EMAC_TXC_MACCTL)
-#define pEMAC_TXC_ALLFRM ((volatile unsigned long *)EMAC_TXC_ALLFRM)
-#define pEMAC_TXC_ALLOCT ((volatile unsigned long *)EMAC_TXC_ALLOCT)
-#define pEMAC_TXC_EQ64 ((volatile unsigned long *)EMAC_TXC_EQ64)
-#define pEMAC_TXC_LT128 ((volatile unsigned long *)EMAC_TXC_LT128)
-#define pEMAC_TXC_LT256 ((volatile unsigned long *)EMAC_TXC_LT256)
-#define pEMAC_TXC_LT512 ((volatile unsigned long *)EMAC_TXC_LT512)
-#define pEMAC_TXC_LT1024 ((volatile unsigned long *)EMAC_TXC_LT1024)
-#define pEMAC_TXC_GE1024 ((volatile unsigned long *)EMAC_TXC_GE1024)
-#define pEMAC_TXC_ABORT ((volatile unsigned long *)EMAC_TXC_ABORT)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF526_H */
diff --git a/libgloss/bfin/include/cdefBF527.h b/libgloss/bfin/include/cdefBF527.h
deleted file mode 100644
index aad8818..0000000
--- a/libgloss/bfin/include/cdefBF527.h
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF527 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF527_H
-#define _CDEF_BF527_H
-
-/* include all Core registers and bit definitions */
-#include <defBF527.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF527 */
-
-/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <cdefBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF527 that are not in the common header */
-
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define pEMAC_OPMODE ((volatile unsigned long *)EMAC_OPMODE)
-#define pEMAC_ADDRLO ((volatile unsigned long *)EMAC_ADDRLO)
-#define pEMAC_ADDRHI ((volatile unsigned long *)EMAC_ADDRHI)
-#define pEMAC_HASHLO ((volatile unsigned long *)EMAC_HASHLO)
-#define pEMAC_HASHHI ((volatile unsigned long *)EMAC_HASHHI)
-#define pEMAC_STAADD ((volatile unsigned long *)EMAC_STAADD)
-#define pEMAC_STADAT ((volatile unsigned long *)EMAC_STADAT)
-#define pEMAC_FLC ((volatile unsigned long *)EMAC_FLC)
-#define pEMAC_VLAN1 ((volatile unsigned long *)EMAC_VLAN1)
-#define pEMAC_VLAN2 ((volatile unsigned long *)EMAC_VLAN2)
-#define pEMAC_WKUP_CTL ((volatile unsigned long *)EMAC_WKUP_CTL)
-#define pEMAC_WKUP_FFMSK0 ((volatile unsigned long *)EMAC_WKUP_FFMSK0)
-#define pEMAC_WKUP_FFMSK1 ((volatile unsigned long *)EMAC_WKUP_FFMSK1)
-#define pEMAC_WKUP_FFMSK2 ((volatile unsigned long *)EMAC_WKUP_FFMSK2)
-#define pEMAC_WKUP_FFMSK3 ((volatile unsigned long *)EMAC_WKUP_FFMSK3)
-#define pEMAC_WKUP_FFCMD ((volatile unsigned long *)EMAC_WKUP_FFCMD)
-#define pEMAC_WKUP_FFOFF ((volatile unsigned long *)EMAC_WKUP_FFOFF)
-#define pEMAC_WKUP_FFCRC0 ((volatile unsigned long *)EMAC_WKUP_FFCRC0)
-#define pEMAC_WKUP_FFCRC1 ((volatile unsigned long *)EMAC_WKUP_FFCRC1)
-
-#define pEMAC_SYSCTL ((volatile unsigned long *)EMAC_SYSCTL)
-#define pEMAC_SYSTAT ((volatile unsigned long *)EMAC_SYSTAT)
-#define pEMAC_RX_STAT ((volatile unsigned long *)EMAC_RX_STAT)
-#define pEMAC_RX_STKY ((volatile unsigned long *)EMAC_RX_STKY)
-#define pEMAC_RX_IRQE ((volatile unsigned long *)EMAC_RX_IRQE)
-#define pEMAC_TX_STAT ((volatile unsigned long *)EMAC_TX_STAT)
-#define pEMAC_TX_STKY ((volatile unsigned long *)EMAC_TX_STKY)
-#define pEMAC_TX_IRQE ((volatile unsigned long *)EMAC_TX_IRQE)
-
-#define pEMAC_MMC_CTL ((volatile unsigned long *)EMAC_MMC_CTL)
-#define pEMAC_MMC_RIRQS ((volatile unsigned long *)EMAC_MMC_RIRQS)
-#define pEMAC_MMC_RIRQE ((volatile unsigned long *)EMAC_MMC_RIRQE)
-#define pEMAC_MMC_TIRQS ((volatile unsigned long *)EMAC_MMC_TIRQS)
-#define pEMAC_MMC_TIRQE ((volatile unsigned long *)EMAC_MMC_TIRQE)
-
-#define pEMAC_RXC_OK ((volatile unsigned long *)EMAC_RXC_OK)
-#define pEMAC_RXC_FCS ((volatile unsigned long *)EMAC_RXC_FCS)
-#define pEMAC_RXC_ALIGN ((volatile unsigned long *)EMAC_RXC_ALIGN)
-#define pEMAC_RXC_OCTET ((volatile unsigned long *)EMAC_RXC_OCTET)
-#define pEMAC_RXC_DMAOVF ((volatile unsigned long *)EMAC_RXC_DMAOVF)
-#define pEMAC_RXC_UNICST ((volatile unsigned long *)EMAC_RXC_UNICST)
-#define pEMAC_RXC_MULTI ((volatile unsigned long *)EMAC_RXC_MULTI)
-#define pEMAC_RXC_BROAD ((volatile unsigned long *)EMAC_RXC_BROAD)
-#define pEMAC_RXC_LNERRI ((volatile unsigned long *)EMAC_RXC_LNERRI)
-#define pEMAC_RXC_LNERRO ((volatile unsigned long *)EMAC_RXC_LNERRO)
-#define pEMAC_RXC_LONG ((volatile unsigned long *)EMAC_RXC_LONG)
-#define pEMAC_RXC_MACCTL ((volatile unsigned long *)EMAC_RXC_MACCTL)
-#define pEMAC_RXC_OPCODE ((volatile unsigned long *)EMAC_RXC_OPCODE)
-#define pEMAC_RXC_PAUSE ((volatile unsigned long *)EMAC_RXC_PAUSE)
-#define pEMAC_RXC_ALLFRM ((volatile unsigned long *)EMAC_RXC_ALLFRM)
-#define pEMAC_RXC_ALLOCT ((volatile unsigned long *)EMAC_RXC_ALLOCT)
-#define pEMAC_RXC_TYPED ((volatile unsigned long *)EMAC_RXC_TYPED)
-#define pEMAC_RXC_SHORT ((volatile unsigned long *)EMAC_RXC_SHORT)
-#define pEMAC_RXC_EQ64 ((volatile unsigned long *)EMAC_RXC_EQ64)
-#define pEMAC_RXC_LT128 ((volatile unsigned long *)EMAC_RXC_LT128)
-#define pEMAC_RXC_LT256 ((volatile unsigned long *)EMAC_RXC_LT256)
-#define pEMAC_RXC_LT512 ((volatile unsigned long *)EMAC_RXC_LT512)
-#define pEMAC_RXC_LT1024 ((volatile unsigned long *)EMAC_RXC_LT1024)
-#define pEMAC_RXC_GE1024 ((volatile unsigned long *)EMAC_RXC_GE1024)
-
-#define pEMAC_TXC_OK ((volatile unsigned long *)EMAC_TXC_OK)
-#define pEMAC_TXC_1COL ((volatile unsigned long *)EMAC_TXC_1COL)
-#define pEMAC_TXC_GT1COL ((volatile unsigned long *)EMAC_TXC_GT1COL)
-#define pEMAC_TXC_OCTET ((volatile unsigned long *)EMAC_TXC_OCTET)
-#define pEMAC_TXC_DEFER ((volatile unsigned long *)EMAC_TXC_DEFER)
-#define pEMAC_TXC_LATECL ((volatile unsigned long *)EMAC_TXC_LATECL)
-#define pEMAC_TXC_XS_COL ((volatile unsigned long *)EMAC_TXC_XS_COL)
-#define pEMAC_TXC_DMAUND ((volatile unsigned long *)EMAC_TXC_DMAUND)
-#define pEMAC_TXC_CRSERR ((volatile unsigned long *)EMAC_TXC_CRSERR)
-#define pEMAC_TXC_UNICST ((volatile unsigned long *)EMAC_TXC_UNICST)
-#define pEMAC_TXC_MULTI ((volatile unsigned long *)EMAC_TXC_MULTI)
-#define pEMAC_TXC_BROAD ((volatile unsigned long *)EMAC_TXC_BROAD)
-#define pEMAC_TXC_XS_DFR ((volatile unsigned long *)EMAC_TXC_XS_DFR)
-#define pEMAC_TXC_MACCTL ((volatile unsigned long *)EMAC_TXC_MACCTL)
-#define pEMAC_TXC_ALLFRM ((volatile unsigned long *)EMAC_TXC_ALLFRM)
-#define pEMAC_TXC_ALLOCT ((volatile unsigned long *)EMAC_TXC_ALLOCT)
-#define pEMAC_TXC_EQ64 ((volatile unsigned long *)EMAC_TXC_EQ64)
-#define pEMAC_TXC_LT128 ((volatile unsigned long *)EMAC_TXC_LT128)
-#define pEMAC_TXC_LT256 ((volatile unsigned long *)EMAC_TXC_LT256)
-#define pEMAC_TXC_LT512 ((volatile unsigned long *)EMAC_TXC_LT512)
-#define pEMAC_TXC_LT1024 ((volatile unsigned long *)EMAC_TXC_LT1024)
-#define pEMAC_TXC_GE1024 ((volatile unsigned long *)EMAC_TXC_GE1024)
-#define pEMAC_TXC_ABORT ((volatile unsigned long *)EMAC_TXC_ABORT)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF527_H */
diff --git a/libgloss/bfin/include/cdefBF52x_base.h b/libgloss/bfin/include/cdefBF52x_base.h
deleted file mode 100644
index 9d980e8..0000000
--- a/libgloss/bfin/include/cdefBF52x_base.h
+++ /dev/null
@@ -1,669 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF52x_base.h
-**
-** Copyright (C) 2007-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF52x peripherals.
-**
-***************************************************************/
-
-#ifndef _CDEF_BF52X_H
-#define _CDEF_BF52X_H
-
-#include <defBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* ==== begin from cdefBF534.h ==== */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long*)CHIPID)
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-
-#define pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK0)
-
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-
-#define pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_ISR ((volatile unsigned long *)SIC_ISR0)
-
-#define pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IWR ((volatile unsigned long *)SIC_IWR0)
-
-/* SIC Additions to ADSP-BF52x (0xFFC0014C - 0xFFC00162) */
-
-#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
-#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
-#define pSIC_IAR7 ((volatile unsigned long *)SIC_IAR7)
-#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
-#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_IER ((volatile unsigned short *)UART0_IER)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define pSPI_CTL ((volatile unsigned short *)SPI_CTL)
-#define pSPI_FLG ((volatile unsigned short *)SPI_FLG)
-#define pSPI_STAT ((volatile unsigned short *)SPI_STAT)
-#define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR)
-#define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR)
-#define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD)
-#define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW)
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-
-#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
-
-#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
-
-#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
-
-#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
-
-#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
-
-#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile unsigned long *)TIMER_STATUS)
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define pPORTFIO ((volatile unsigned short *)PORTFIO)
-#define pPORTFIO_CLEAR ((volatile unsigned short *)PORTFIO_CLEAR)
-#define pPORTFIO_SET ((volatile unsigned short *)PORTFIO_SET)
-#define pPORTFIO_TOGGLE ((volatile unsigned short *)PORTFIO_TOGGLE)
-#define pPORTFIO_MASKA ((volatile unsigned short *)PORTFIO_MASKA)
-#define pPORTFIO_MASKA_CLEAR ((volatile unsigned short *)PORTFIO_MASKA_CLEAR)
-#define pPORTFIO_MASKA_SET ((volatile unsigned short *)PORTFIO_MASKA_SET)
-#define pPORTFIO_MASKA_TOGGLE ((volatile unsigned short *)PORTFIO_MASKA_TOGGLE)
-#define pPORTFIO_MASKB ((volatile unsigned short *)PORTFIO_MASKB)
-#define pPORTFIO_MASKB_CLEAR ((volatile unsigned short *)PORTFIO_MASKB_CLEAR)
-#define pPORTFIO_MASKB_SET ((volatile unsigned short *)PORTFIO_MASKB_SET)
-#define pPORTFIO_MASKB_TOGGLE ((volatile unsigned short *)PORTFIO_MASKB_TOGGLE)
-#define pPORTFIO_DIR ((volatile unsigned short *)PORTFIO_DIR)
-#define pPORTFIO_POLAR ((volatile unsigned short *)PORTFIO_POLAR)
-#define pPORTFIO_EDGE ((volatile unsigned short *)PORTFIO_EDGE)
-#define pPORTFIO_BOTH ((volatile unsigned short *)PORTFIO_BOTH)
-#define pPORTFIO_INEN ((volatile unsigned short *)PORTFIO_INEN)
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-
-
-/* DMA Traffic Control Registers */
-#define pDMA_TC_PER ((volatile unsigned short *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile unsigned short *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT)
-
-/* DMA Controller */
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_START_ADDR)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_ADDR)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_START_ADDR)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_ADDR)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_START_ADDR)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_ADDR)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
-#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
-#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
-#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define pTWI_CLKDIV ((volatile unsigned short *)TWI_CLKDIV)
-#define pTWI_CONTROL ((volatile unsigned short *)TWI_CONTROL)
-#define pTWI_SLAVE_CTL ((volatile unsigned short *)TWI_SLAVE_CTL)
-#define pTWI_SLAVE_STAT ((volatile unsigned short *)TWI_SLAVE_STAT)
-#define pTWI_SLAVE_ADDR ((volatile unsigned short *)TWI_SLAVE_ADDR)
-#define pTWI_MASTER_CTL ((volatile unsigned short *)TWI_MASTER_CTL)
-#define pTWI_MASTER_STAT ((volatile unsigned short *)TWI_MASTER_STAT)
-#define pTWI_MASTER_ADDR ((volatile unsigned short *)TWI_MASTER_ADDR)
-#define pTWI_INT_STAT ((volatile unsigned short *)TWI_INT_STAT)
-#define pTWI_INT_MASK ((volatile unsigned short *)TWI_INT_MASK)
-#define pTWI_FIFO_CTL ((volatile unsigned short *)TWI_FIFO_CTL)
-#define pTWI_FIFO_STAT ((volatile unsigned short *)TWI_FIFO_STAT)
-#define pTWI_XMT_DATA8 ((volatile unsigned short *)TWI_XMT_DATA8)
-#define pTWI_XMT_DATA16 ((volatile unsigned short *)TWI_XMT_DATA16)
-#define pTWI_RCV_DATA8 ((volatile unsigned short *)TWI_RCV_DATA8)
-#define pTWI_RCV_DATA16 ((volatile unsigned short *)TWI_RCV_DATA16)
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define pPORTGIO ((volatile unsigned short *)PORTGIO)
-#define pPORTGIO_CLEAR ((volatile unsigned short *)PORTGIO_CLEAR)
-#define pPORTGIO_SET ((volatile unsigned short *)PORTGIO_SET)
-#define pPORTGIO_TOGGLE ((volatile unsigned short *)PORTGIO_TOGGLE)
-#define pPORTGIO_MASKA ((volatile unsigned short *)PORTGIO_MASKA)
-#define pPORTGIO_MASKA_CLEAR ((volatile unsigned short *)PORTGIO_MASKA_CLEAR)
-#define pPORTGIO_MASKA_SET ((volatile unsigned short *)PORTGIO_MASKA_SET)
-#define pPORTGIO_MASKA_TOGGLE ((volatile unsigned short *)PORTGIO_MASKA_TOGGLE)
-#define pPORTGIO_MASKB ((volatile unsigned short *)PORTGIO_MASKB)
-#define pPORTGIO_MASKB_CLEAR ((volatile unsigned short *)PORTGIO_MASKB_CLEAR)
-#define pPORTGIO_MASKB_SET ((volatile unsigned short *)PORTGIO_MASKB_SET)
-#define pPORTGIO_MASKB_TOGGLE ((volatile unsigned short *)PORTGIO_MASKB_TOGGLE)
-#define pPORTGIO_DIR ((volatile unsigned short *)PORTGIO_DIR)
-#define pPORTGIO_POLAR ((volatile unsigned short *)PORTGIO_POLAR)
-#define pPORTGIO_EDGE ((volatile unsigned short *)PORTGIO_EDGE)
-#define pPORTGIO_BOTH ((volatile unsigned short *)PORTGIO_BOTH)
-#define pPORTGIO_INEN ((volatile unsigned short *)PORTGIO_INEN)
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define pPORTHIO ((volatile unsigned short *)PORTHIO)
-#define pPORTHIO_CLEAR ((volatile unsigned short *)PORTHIO_CLEAR)
-#define pPORTHIO_SET ((volatile unsigned short *)PORTHIO_SET)
-#define pPORTHIO_TOGGLE ((volatile unsigned short *)PORTHIO_TOGGLE)
-#define pPORTHIO_MASKA ((volatile unsigned short *)PORTHIO_MASKA)
-#define pPORTHIO_MASKA_CLEAR ((volatile unsigned short *)PORTHIO_MASKA_CLEAR)
-#define pPORTHIO_MASKA_SET ((volatile unsigned short *)PORTHIO_MASKA_SET)
-#define pPORTHIO_MASKA_TOGGLE ((volatile unsigned short *)PORTHIO_MASKA_TOGGLE)
-#define pPORTHIO_MASKB ((volatile unsigned short *)PORTHIO_MASKB)
-#define pPORTHIO_MASKB_CLEAR ((volatile unsigned short *)PORTHIO_MASKB_CLEAR)
-#define pPORTHIO_MASKB_SET ((volatile unsigned short *)PORTHIO_MASKB_SET)
-#define pPORTHIO_MASKB_TOGGLE ((volatile unsigned short *)PORTHIO_MASKB_TOGGLE)
-#define pPORTHIO_DIR ((volatile unsigned short *)PORTHIO_DIR)
-#define pPORTHIO_POLAR ((volatile unsigned short *)PORTHIO_POLAR)
-#define pPORTHIO_EDGE ((volatile unsigned short *)PORTHIO_EDGE)
-#define pPORTHIO_BOTH ((volatile unsigned short *)PORTHIO_BOTH)
-#define pPORTHIO_INEN ((volatile unsigned short *)PORTHIO_INEN)
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-
-/* Omit CAN register sets from the cdefBF534.h (CAN is not in the ADSP-BF52x processor) */
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define pPORTF_FER ((volatile unsigned short *)PORTF_FER)
-#define pPORTG_FER ((volatile unsigned short *)PORTG_FER)
-#define pPORTH_FER ((volatile unsigned short *)PORTH_FER)
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
-#define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
-#define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
-#define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
-#define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
-#define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
-#define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
-
-#define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
-#define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
-#define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
-#define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
-#define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
-#define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
-#define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
-
-/* ==== end from cdefBF534.h ==== */
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-
-#define pPORTF_MUX ((volatile unsigned short *)PORTF_MUX)
-#define pPORTG_MUX ((volatile unsigned short *)PORTG_MUX)
-#define pPORTH_MUX ((volatile unsigned short *)PORTH_MUX)
-
-#define pPORTF_DRIVE ((volatile unsigned short *)PORTF_DRIVE)
-#define pPORTG_DRIVE ((volatile unsigned short *)PORTG_DRIVE)
-#define pPORTH_DRIVE ((volatile unsigned short *)PORTH_DRIVE)
-#define pPORTF_HYSTERESIS ((volatile unsigned short *)PORTF_HYSTERESIS)
-#define pPORTG_HYSTERESIS ((volatile unsigned short *)PORTG_HYSTERESIS)
-#define pPORTH_HYSTERESIS ((volatile unsigned short *)PORTH_HYSTERESIS)
-#define pNONGPIO_DRIVE ((volatile unsigned short *)NONGPIO_DRIVE)
-#define pNONGPIO_HYSTERESIS ((volatile unsigned short *)NONGPIO_HYSTERESIS)
-
-/* HOST Port Registers */
-
-#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
-#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
-#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
-
-/* Counter Registers */
-
-#define pCNT_CONFIG ((volatile unsigned short *)CNT_CONFIG)
-#define pCNT_IMASK ((volatile unsigned short *)CNT_IMASK)
-#define pCNT_STATUS ((volatile unsigned short *)CNT_STATUS)
-#define pCNT_COMMAND ((volatile unsigned short *)CNT_COMMAND)
-#define pCNT_DEBOUNCE ((volatile unsigned short *)CNT_DEBOUNCE)
-#define pCNT_COUNTER ((volatile unsigned long *)CNT_COUNTER)
-#define pCNT_MAX ((volatile unsigned long *)CNT_MAX)
-#define pCNT_MIN ((volatile unsigned long *)CNT_MIN)
-
-/* Security Registers */
-
-#define pSECURE_SYSSWT ((volatile unsigned long *)SECURE_SYSSWT)
-#define pSECURE_CONTROL ((volatile unsigned short *)SECURE_CONTROL)
-#define pSECURE_STATUS ((volatile unsigned short *)SECURE_STATUS)
-
-/* OTP Read/Write Data Buffer Registers */
-
-#define pOTP_DATA0 ((volatile unsigned long *)OTP_DATA0)
-#define pOTP_DATA1 ((volatile unsigned long *)OTP_DATA1)
-#define pOTP_DATA2 ((volatile unsigned long *)OTP_DATA2)
-#define pOTP_DATA3 ((volatile unsigned long *)OTP_DATA3)
-
-/* NFC Registers */
-
-#define pNFC_CTL ((volatile unsigned short *)NFC_CTL)
-#define pNFC_STAT ((volatile unsigned short *)NFC_STAT)
-#define pNFC_IRQSTAT ((volatile unsigned short *)NFC_IRQSTAT)
-#define pNFC_IRQMASK ((volatile unsigned short *)NFC_IRQMASK)
-#define pNFC_ECC0 ((volatile unsigned short *)NFC_ECC0)
-#define pNFC_ECC1 ((volatile unsigned short *)NFC_ECC1)
-#define pNFC_ECC2 ((volatile unsigned short *)NFC_ECC2)
-#define pNFC_ECC3 ((volatile unsigned short *)NFC_ECC3)
-#define pNFC_COUNT ((volatile unsigned short *)NFC_COUNT)
-#define pNFC_RST ((volatile unsigned short *)NFC_RST)
-#define pNFC_PGCTL ((volatile unsigned short *)NFC_PGCTL)
-#define pNFC_READ ((volatile unsigned short *)NFC_READ)
-#define pNFC_ADDR ((volatile unsigned short *)NFC_ADDR)
-#define pNFC_CMD ((volatile unsigned short *)NFC_CMD)
-#define pNFC_DATA_WR ((volatile unsigned short *)NFC_DATA_WR)
-#define pNFC_DATA_RD ((volatile unsigned short *)NFC_DATA_RD)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF52X_H */
diff --git a/libgloss/bfin/include/cdefBF531.h b/libgloss/bfin/include/cdefBF531.h
deleted file mode 100644
index 18f9fa4..0000000
--- a/libgloss/bfin/include/cdefBF531.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF531.h
- *
- * (c) Copyright 2002-2003 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEFBF531_H
-#define _CDEFBF531_H
-
-#include <cdefBF532.h>
-
-#endif /* _CDEFBF531_H */
diff --git a/libgloss/bfin/include/cdefBF532.h b/libgloss/bfin/include/cdefBF532.h
deleted file mode 100644
index bbd5ebf..0000000
--- a/libgloss/bfin/include/cdefBF532.h
+++ /dev/null
@@ -1,403 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF532.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEF_BF532_H
-#define _CDEF_BF532_H
-
-#if !defined(__ADSPLPBLACKFIN__)
-#warning cdefBF532.h should only be included for 532 compatible chips.
-#endif
-/* include all Core registers and bit definitions */
-#include <defBF532.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* include built-in mneumonic macros */
-#include <ccblkfn.h>
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-/* Clock/Regulator Control */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long *)CHIPID)
-
-
-/* System Interrupt Controller */
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK)
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_ISR ((volatile unsigned long *)SIC_ISR)
-#define pSIC_IWR ((volatile unsigned long *)SIC_IWR)
-
-
-/* Watchdog Timer */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-
-/* Real Time Clock */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-
-/* UART Controller */
-#define pUART_THR ((volatile unsigned short *)UART_THR)
-#define pUART_RBR ((volatile unsigned short *)UART_RBR)
-#define pUART_DLL ((volatile unsigned short *)UART_DLL)
-#define pUART_IER ((volatile unsigned short *)UART_IER)
-#define pUART_DLH ((volatile unsigned short *)UART_DLH)
-#define pUART_IIR ((volatile unsigned short *)UART_IIR)
-#define pUART_LCR ((volatile unsigned short *)UART_LCR)
-#define pUART_MCR ((volatile unsigned short *)UART_MCR)
-#define pUART_LSR ((volatile unsigned short *)UART_LSR)
-#define pUART_SCR ((volatile unsigned short *)UART_SCR)
-#define pUART_GCTL ((volatile unsigned short *)UART_GCTL)
-
-
-/* SPI Controller */
-#define pSPI_CTL ((volatile unsigned short *)SPI_CTL)
-#define pSPI_FLG ((volatile unsigned short *)SPI_FLG)
-#define pSPI_STAT ((volatile unsigned short *)SPI_STAT)
-#define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR)
-#define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR)
-#define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD)
-#define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW)
-
-
-/* TIMER 0, 1, 2 Registers */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-
-#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile unsigned short *)TIMER_STATUS)
-
-
-/* General Purpose IO */
-#define pFIO_FLAG_D ((volatile unsigned short *)FIO_FLAG_D)
-#define pFIO_FLAG_C ((volatile unsigned short *)FIO_FLAG_C)
-#define pFIO_FLAG_S ((volatile unsigned short *)FIO_FLAG_S)
-#define pFIO_FLAG_T ((volatile unsigned short *)FIO_FLAG_T)
-#define pFIO_MASKA_D ((volatile unsigned short *)FIO_MASKA_D)
-#define pFIO_MASKA_C ((volatile unsigned short *)FIO_MASKA_C)
-#define pFIO_MASKA_S ((volatile unsigned short *)FIO_MASKA_S)
-#define pFIO_MASKA_T ((volatile unsigned short *)FIO_MASKA_T)
-#define pFIO_MASKB_D ((volatile unsigned short *)FIO_MASKB_D)
-#define pFIO_MASKB_C ((volatile unsigned short *)FIO_MASKB_C)
-#define pFIO_MASKB_S ((volatile unsigned short *)FIO_MASKB_S)
-#define pFIO_MASKB_T ((volatile unsigned short *)FIO_MASKB_T)
-#define pFIO_DIR ((volatile unsigned short *)FIO_DIR)
-#define pFIO_POLAR ((volatile unsigned short *)FIO_POLAR)
-#define pFIO_EDGE ((volatile unsigned short *)FIO_EDGE)
-#define pFIO_BOTH ((volatile unsigned short *)FIO_BOTH)
-#define pFIO_INEN ((volatile unsigned short *)FIO_INEN)
-
-
-/* SPORT0 Controller */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-
-/* External Bus Interface Unit */
-/* Aysnchronous Memory Controller */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-
-/* SDRAM Controller */
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-
-
-/* DMA Traffic controls */
-#define pDMA_TC_PER ((volatile unsigned short *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile unsigned short *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT)
-
-
-/* DMA Controller */
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
-
-
-
-/* Parallel Peripheral Interface (PPI) */
-#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
-#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
-#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
-#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
-
-#endif /* _CDEF_BF532_H */
diff --git a/libgloss/bfin/include/cdefBF533.h b/libgloss/bfin/include/cdefBF533.h
deleted file mode 100644
index 5910e17..0000000
--- a/libgloss/bfin/include/cdefBF533.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF533.h
- *
- * (c) Copyright 2002-2003 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEFBF533_H
-#define _CDEFBF533_H
-
-#include <cdefBF532.h>
-
-#endif /* _CDEFBF533_H */
diff --git a/libgloss/bfin/include/cdefBF534.h b/libgloss/bfin/include/cdefBF534.h
deleted file mode 100644
index c40720a..0000000
--- a/libgloss/bfin/include/cdefBF534.h
+++ /dev/null
@@ -1,1007 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2005-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access.
-**
-**/
-
-/**********************************************************************************
-** System MMR Register Map
-***********************************************************************************/
-
-#ifndef _CDEF_BF534_H
-#define _CDEF_BF534_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#endif /* _MISRA_RULES */
-
-/* Include all Core registers and bit definitions */
-#include <defBF534.h>
-
-/* Include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long*)CHIPID)
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK)
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-#define pSIC_ISR ((volatile unsigned long *)SIC_ISR)
-#define pSIC_IWR ((volatile unsigned long *)SIC_IWR)
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_IER ((volatile unsigned short *)UART0_IER)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define pSPI_CTL ((volatile unsigned short *)SPI_CTL)
-#define pSPI_FLG ((volatile unsigned short *)SPI_FLG)
-#define pSPI_STAT ((volatile unsigned short *)SPI_STAT)
-#define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR)
-#define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR)
-#define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD)
-#define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW)
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-
-#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
-
-#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
-
-#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
-
-#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
-
-#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
-
-#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile unsigned long *)TIMER_STATUS)
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define pPORTFIO ((volatile unsigned short *)PORTFIO)
-#define pPORTFIO_CLEAR ((volatile unsigned short *)PORTFIO_CLEAR)
-#define pPORTFIO_SET ((volatile unsigned short *)PORTFIO_SET)
-#define pPORTFIO_TOGGLE ((volatile unsigned short *)PORTFIO_TOGGLE)
-#define pPORTFIO_MASKA ((volatile unsigned short *)PORTFIO_MASKA)
-#define pPORTFIO_MASKA_CLEAR ((volatile unsigned short *)PORTFIO_MASKA_CLEAR)
-#define pPORTFIO_MASKA_SET ((volatile unsigned short *)PORTFIO_MASKA_SET)
-#define pPORTFIO_MASKA_TOGGLE ((volatile unsigned short *)PORTFIO_MASKA_TOGGLE)
-#define pPORTFIO_MASKB ((volatile unsigned short *)PORTFIO_MASKB)
-#define pPORTFIO_MASKB_CLEAR ((volatile unsigned short *)PORTFIO_MASKB_CLEAR)
-#define pPORTFIO_MASKB_SET ((volatile unsigned short *)PORTFIO_MASKB_SET)
-#define pPORTFIO_MASKB_TOGGLE ((volatile unsigned short *)PORTFIO_MASKB_TOGGLE)
-#define pPORTFIO_DIR ((volatile unsigned short *)PORTFIO_DIR)
-#define pPORTFIO_POLAR ((volatile unsigned short *)PORTFIO_POLAR)
-#define pPORTFIO_EDGE ((volatile unsigned short *)PORTFIO_EDGE)
-#define pPORTFIO_BOTH ((volatile unsigned short *)PORTFIO_BOTH)
-#define pPORTFIO_INEN ((volatile unsigned short *)PORTFIO_INEN)
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-
-
-/* DMA Traffic Control Registers */
-#define pDMA_TC_PER ((volatile unsigned short *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile unsigned short *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT)
-
-/* DMA Controller */
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_START_ADDR)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_ADDR)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_START_ADDR)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_ADDR)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_START_ADDR)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_ADDR)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
-#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
-#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
-#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define pTWI_CLKDIV ((volatile unsigned short *)TWI_CLKDIV)
-#define pTWI_CONTROL ((volatile unsigned short *)TWI_CONTROL)
-#define pTWI_SLAVE_CTL ((volatile unsigned short *)TWI_SLAVE_CTL)
-#define pTWI_SLAVE_STAT ((volatile unsigned short *)TWI_SLAVE_STAT)
-#define pTWI_SLAVE_ADDR ((volatile unsigned short *)TWI_SLAVE_ADDR)
-#define pTWI_MASTER_CTL ((volatile unsigned short *)TWI_MASTER_CTL)
-#define pTWI_MASTER_STAT ((volatile unsigned short *)TWI_MASTER_STAT)
-#define pTWI_MASTER_ADDR ((volatile unsigned short *)TWI_MASTER_ADDR)
-#define pTWI_INT_STAT ((volatile unsigned short *)TWI_INT_STAT)
-#define pTWI_INT_MASK ((volatile unsigned short *)TWI_INT_MASK)
-#define pTWI_FIFO_CTL ((volatile unsigned short *)TWI_FIFO_CTL)
-#define pTWI_FIFO_STAT ((volatile unsigned short *)TWI_FIFO_STAT)
-#define pTWI_XMT_DATA8 ((volatile unsigned short *)TWI_XMT_DATA8)
-#define pTWI_XMT_DATA16 ((volatile unsigned short *)TWI_XMT_DATA16)
-#define pTWI_RCV_DATA8 ((volatile unsigned short *)TWI_RCV_DATA8)
-#define pTWI_RCV_DATA16 ((volatile unsigned short *)TWI_RCV_DATA16)
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define pPORTGIO ((volatile unsigned short *)PORTGIO)
-#define pPORTGIO_CLEAR ((volatile unsigned short *)PORTGIO_CLEAR)
-#define pPORTGIO_SET ((volatile unsigned short *)PORTGIO_SET)
-#define pPORTGIO_TOGGLE ((volatile unsigned short *)PORTGIO_TOGGLE)
-#define pPORTGIO_MASKA ((volatile unsigned short *)PORTGIO_MASKA)
-#define pPORTGIO_MASKA_CLEAR ((volatile unsigned short *)PORTGIO_MASKA_CLEAR)
-#define pPORTGIO_MASKA_SET ((volatile unsigned short *)PORTGIO_MASKA_SET)
-#define pPORTGIO_MASKA_TOGGLE ((volatile unsigned short *)PORTGIO_MASKA_TOGGLE)
-#define pPORTGIO_MASKB ((volatile unsigned short *)PORTGIO_MASKB)
-#define pPORTGIO_MASKB_CLEAR ((volatile unsigned short *)PORTGIO_MASKB_CLEAR)
-#define pPORTGIO_MASKB_SET ((volatile unsigned short *)PORTGIO_MASKB_SET)
-#define pPORTGIO_MASKB_TOGGLE ((volatile unsigned short *)PORTGIO_MASKB_TOGGLE)
-#define pPORTGIO_DIR ((volatile unsigned short *)PORTGIO_DIR)
-#define pPORTGIO_POLAR ((volatile unsigned short *)PORTGIO_POLAR)
-#define pPORTGIO_EDGE ((volatile unsigned short *)PORTGIO_EDGE)
-#define pPORTGIO_BOTH ((volatile unsigned short *)PORTGIO_BOTH)
-#define pPORTGIO_INEN ((volatile unsigned short *)PORTGIO_INEN)
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define pPORTHIO ((volatile unsigned short *)PORTHIO)
-#define pPORTHIO_CLEAR ((volatile unsigned short *)PORTHIO_CLEAR)
-#define pPORTHIO_SET ((volatile unsigned short *)PORTHIO_SET)
-#define pPORTHIO_TOGGLE ((volatile unsigned short *)PORTHIO_TOGGLE)
-#define pPORTHIO_MASKA ((volatile unsigned short *)PORTHIO_MASKA)
-#define pPORTHIO_MASKA_CLEAR ((volatile unsigned short *)PORTHIO_MASKA_CLEAR)
-#define pPORTHIO_MASKA_SET ((volatile unsigned short *)PORTHIO_MASKA_SET)
-#define pPORTHIO_MASKA_TOGGLE ((volatile unsigned short *)PORTHIO_MASKA_TOGGLE)
-#define pPORTHIO_MASKB ((volatile unsigned short *)PORTHIO_MASKB)
-#define pPORTHIO_MASKB_CLEAR ((volatile unsigned short *)PORTHIO_MASKB_CLEAR)
-#define pPORTHIO_MASKB_SET ((volatile unsigned short *)PORTHIO_MASKB_SET)
-#define pPORTHIO_MASKB_TOGGLE ((volatile unsigned short *)PORTHIO_MASKB_TOGGLE)
-#define pPORTHIO_DIR ((volatile unsigned short *)PORTHIO_DIR)
-#define pPORTHIO_POLAR ((volatile unsigned short *)PORTHIO_POLAR)
-#define pPORTHIO_EDGE ((volatile unsigned short *)PORTHIO_EDGE)
-#define pPORTHIO_BOTH ((volatile unsigned short *)PORTHIO_BOTH)
-#define pPORTHIO_INEN ((volatile unsigned short *)PORTHIO_INEN)
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define pCAN_MC1 ((volatile unsigned short *)CAN_MC1)
-#define pCAN_MD1 ((volatile unsigned short *)CAN_MD1)
-#define pCAN_TRS1 ((volatile unsigned short *)CAN_TRS1)
-#define pCAN_TRR1 ((volatile unsigned short *)CAN_TRR1)
-#define pCAN_TA1 ((volatile unsigned short *)CAN_TA1)
-#define pCAN_AA1 ((volatile unsigned short *)CAN_AA1)
-#define pCAN_RMP1 ((volatile unsigned short *)CAN_RMP1)
-#define pCAN_RML1 ((volatile unsigned short *)CAN_RML1)
-#define pCAN_MBTIF1 ((volatile unsigned short *)CAN_MBTIF1)
-#define pCAN_MBRIF1 ((volatile unsigned short *)CAN_MBRIF1)
-#define pCAN_MBIM1 ((volatile unsigned short *)CAN_MBIM1)
-#define pCAN_RFH1 ((volatile unsigned short *)CAN_RFH1)
-#define pCAN_OPSS1 ((volatile unsigned short *)CAN_OPSS1)
-
-/* For Mailboxes 16-31 */
-#define pCAN_MC2 ((volatile unsigned short *)CAN_MC2)
-#define pCAN_MD2 ((volatile unsigned short *)CAN_MD2)
-#define pCAN_TRS2 ((volatile unsigned short *)CAN_TRS2)
-#define pCAN_TRR2 ((volatile unsigned short *)CAN_TRR2)
-#define pCAN_TA2 ((volatile unsigned short *)CAN_TA2)
-#define pCAN_AA2 ((volatile unsigned short *)CAN_AA2)
-#define pCAN_RMP2 ((volatile unsigned short *)CAN_RMP2)
-#define pCAN_RML2 ((volatile unsigned short *)CAN_RML2)
-#define pCAN_MBTIF2 ((volatile unsigned short *)CAN_MBTIF2)
-#define pCAN_MBRIF2 ((volatile unsigned short *)CAN_MBRIF2)
-#define pCAN_MBIM2 ((volatile unsigned short *)CAN_MBIM2)
-#define pCAN_RFH2 ((volatile unsigned short *)CAN_RFH2)
-#define pCAN_OPSS2 ((volatile unsigned short *)CAN_OPSS2)
-
-#define pCAN_CLOCK ((volatile unsigned short *)CAN_CLOCK)
-#define pCAN_TIMING ((volatile unsigned short *)CAN_TIMING)
-#define pCAN_DEBUG ((volatile unsigned short *)CAN_DEBUG)
-#define pCAN_STATUS ((volatile unsigned short *)CAN_STATUS)
-#define pCAN_CEC ((volatile unsigned short *)CAN_CEC)
-#define pCAN_GIS ((volatile unsigned short *)CAN_GIS)
-#define pCAN_GIM ((volatile unsigned short *)CAN_GIM)
-#define pCAN_GIF ((volatile unsigned short *)CAN_GIF)
-#define pCAN_CONTROL ((volatile unsigned short *)CAN_CONTROL)
-#define pCAN_INTR ((volatile unsigned short *)CAN_INTR)
-#define pCAN_MBTD ((volatile unsigned short *)CAN_MBTD)
-#define pCAN_EWR ((volatile unsigned short *)CAN_EWR)
-#define pCAN_ESR ((volatile unsigned short *)CAN_ESR)
-#define pCAN_UCCNT ((volatile unsigned short *)CAN_UCCNT)
-#define pCAN_UCRC ((volatile unsigned short *)CAN_UCRC)
-#define pCAN_UCCNF ((volatile unsigned short *)CAN_UCCNF)
-
-/* Mailbox Acceptance Masks */
-#define pCAN_AM00L ((volatile unsigned short *)CAN_AM00L)
-#define pCAN_AM00H ((volatile unsigned short *)CAN_AM00H)
-#define pCAN_AM01L ((volatile unsigned short *)CAN_AM01L)
-#define pCAN_AM01H ((volatile unsigned short *)CAN_AM01H)
-#define pCAN_AM02L ((volatile unsigned short *)CAN_AM02L)
-#define pCAN_AM02H ((volatile unsigned short *)CAN_AM02H)
-#define pCAN_AM03L ((volatile unsigned short *)CAN_AM03L)
-#define pCAN_AM03H ((volatile unsigned short *)CAN_AM03H)
-#define pCAN_AM04L ((volatile unsigned short *)CAN_AM04L)
-#define pCAN_AM04H ((volatile unsigned short *)CAN_AM04H)
-#define pCAN_AM05L ((volatile unsigned short *)CAN_AM05L)
-#define pCAN_AM05H ((volatile unsigned short *)CAN_AM05H)
-#define pCAN_AM06L ((volatile unsigned short *)CAN_AM06L)
-#define pCAN_AM06H ((volatile unsigned short *)CAN_AM06H)
-#define pCAN_AM07L ((volatile unsigned short *)CAN_AM07L)
-#define pCAN_AM07H ((volatile unsigned short *)CAN_AM07H)
-#define pCAN_AM08L ((volatile unsigned short *)CAN_AM08L)
-#define pCAN_AM08H ((volatile unsigned short *)CAN_AM08H)
-#define pCAN_AM09L ((volatile unsigned short *)CAN_AM09L)
-#define pCAN_AM09H ((volatile unsigned short *)CAN_AM09H)
-#define pCAN_AM10L ((volatile unsigned short *)CAN_AM10L)
-#define pCAN_AM10H ((volatile unsigned short *)CAN_AM10H)
-#define pCAN_AM11L ((volatile unsigned short *)CAN_AM11L)
-#define pCAN_AM11H ((volatile unsigned short *)CAN_AM11H)
-#define pCAN_AM12L ((volatile unsigned short *)CAN_AM12L)
-#define pCAN_AM12H ((volatile unsigned short *)CAN_AM12H)
-#define pCAN_AM13L ((volatile unsigned short *)CAN_AM13L)
-#define pCAN_AM13H ((volatile unsigned short *)CAN_AM13H)
-#define pCAN_AM14L ((volatile unsigned short *)CAN_AM14L)
-#define pCAN_AM14H ((volatile unsigned short *)CAN_AM14H)
-#define pCAN_AM15L ((volatile unsigned short *)CAN_AM15L)
-#define pCAN_AM15H ((volatile unsigned short *)CAN_AM15H)
-
-#define pCAN_AM16L ((volatile unsigned short *)CAN_AM16L)
-#define pCAN_AM16H ((volatile unsigned short *)CAN_AM16H)
-#define pCAN_AM17L ((volatile unsigned short *)CAN_AM17L)
-#define pCAN_AM17H ((volatile unsigned short *)CAN_AM17H)
-#define pCAN_AM18L ((volatile unsigned short *)CAN_AM18L)
-#define pCAN_AM18H ((volatile unsigned short *)CAN_AM18H)
-#define pCAN_AM19L ((volatile unsigned short *)CAN_AM19L)
-#define pCAN_AM19H ((volatile unsigned short *)CAN_AM19H)
-#define pCAN_AM20L ((volatile unsigned short *)CAN_AM20L)
-#define pCAN_AM20H ((volatile unsigned short *)CAN_AM20H)
-#define pCAN_AM21L ((volatile unsigned short *)CAN_AM21L)
-#define pCAN_AM21H ((volatile unsigned short *)CAN_AM21H)
-#define pCAN_AM22L ((volatile unsigned short *)CAN_AM22L)
-#define pCAN_AM22H ((volatile unsigned short *)CAN_AM22H)
-#define pCAN_AM23L ((volatile unsigned short *)CAN_AM23L)
-#define pCAN_AM23H ((volatile unsigned short *)CAN_AM23H)
-#define pCAN_AM24L ((volatile unsigned short *)CAN_AM24L)
-#define pCAN_AM24H ((volatile unsigned short *)CAN_AM24H)
-#define pCAN_AM25L ((volatile unsigned short *)CAN_AM25L)
-#define pCAN_AM25H ((volatile unsigned short *)CAN_AM25H)
-#define pCAN_AM26L ((volatile unsigned short *)CAN_AM26L)
-#define pCAN_AM26H ((volatile unsigned short *)CAN_AM26H)
-#define pCAN_AM27L ((volatile unsigned short *)CAN_AM27L)
-#define pCAN_AM27H ((volatile unsigned short *)CAN_AM27H)
-#define pCAN_AM28L ((volatile unsigned short *)CAN_AM28L)
-#define pCAN_AM28H ((volatile unsigned short *)CAN_AM28H)
-#define pCAN_AM29L ((volatile unsigned short *)CAN_AM29L)
-#define pCAN_AM29H ((volatile unsigned short *)CAN_AM29H)
-#define pCAN_AM30L ((volatile unsigned short *)CAN_AM30L)
-#define pCAN_AM30H ((volatile unsigned short *)CAN_AM30H)
-#define pCAN_AM31L ((volatile unsigned short *)CAN_AM31L)
-#define pCAN_AM31H ((volatile unsigned short *)CAN_AM31H)
-
-/* CAN Acceptance Mask Area Macros */
-#define pCAN_AM_L(x) ((volatile unsigned short *)CAN_AM_L(x))
-#define pCAN_AM_H(x) ((volatile unsigned short *)CAN_AM_H(x))
-
-/* Mailbox Registers */
-#define pCAN_MB00_ID1 ((volatile unsigned short *)CAN_MB00_ID1)
-#define pCAN_MB00_ID0 ((volatile unsigned short *)CAN_MB00_ID0)
-#define pCAN_MB00_TIMESTAMP ((volatile unsigned short *)CAN_MB00_TIMESTAMP)
-#define pCAN_MB00_LENGTH ((volatile unsigned short *)CAN_MB00_LENGTH)
-#define pCAN_MB00_DATA3 ((volatile unsigned short *)CAN_MB00_DATA3)
-#define pCAN_MB00_DATA2 ((volatile unsigned short *)CAN_MB00_DATA2)
-#define pCAN_MB00_DATA1 ((volatile unsigned short *)CAN_MB00_DATA1)
-#define pCAN_MB00_DATA0 ((volatile unsigned short *)CAN_MB00_DATA0)
-
-#define pCAN_MB01_ID1 ((volatile unsigned short *)CAN_MB01_ID1)
-#define pCAN_MB01_ID0 ((volatile unsigned short *)CAN_MB01_ID0)
-#define pCAN_MB01_TIMESTAMP ((volatile unsigned short *)CAN_MB01_TIMESTAMP)
-#define pCAN_MB01_LENGTH ((volatile unsigned short *)CAN_MB01_LENGTH)
-#define pCAN_MB01_DATA3 ((volatile unsigned short *)CAN_MB01_DATA3)
-#define pCAN_MB01_DATA2 ((volatile unsigned short *)CAN_MB01_DATA2)
-#define pCAN_MB01_DATA1 ((volatile unsigned short *)CAN_MB01_DATA1)
-#define pCAN_MB01_DATA0 ((volatile unsigned short *)CAN_MB01_DATA0)
-
-#define pCAN_MB02_ID1 ((volatile unsigned short *)CAN_MB02_ID1)
-#define pCAN_MB02_ID0 ((volatile unsigned short *)CAN_MB02_ID0)
-#define pCAN_MB02_TIMESTAMP ((volatile unsigned short *)CAN_MB02_TIMESTAMP)
-#define pCAN_MB02_LENGTH ((volatile unsigned short *)CAN_MB02_LENGTH)
-#define pCAN_MB02_DATA3 ((volatile unsigned short *)CAN_MB02_DATA3)
-#define pCAN_MB02_DATA2 ((volatile unsigned short *)CAN_MB02_DATA2)
-#define pCAN_MB02_DATA1 ((volatile unsigned short *)CAN_MB02_DATA1)
-#define pCAN_MB02_DATA0 ((volatile unsigned short *)CAN_MB02_DATA0)
-
-#define pCAN_MB03_ID1 ((volatile unsigned short *)CAN_MB03_ID1)
-#define pCAN_MB03_ID0 ((volatile unsigned short *)CAN_MB03_ID0)
-#define pCAN_MB03_TIMESTAMP ((volatile unsigned short *)CAN_MB03_TIMESTAMP)
-#define pCAN_MB03_LENGTH ((volatile unsigned short *)CAN_MB03_LENGTH)
-#define pCAN_MB03_DATA3 ((volatile unsigned short *)CAN_MB03_DATA3)
-#define pCAN_MB03_DATA2 ((volatile unsigned short *)CAN_MB03_DATA2)
-#define pCAN_MB03_DATA1 ((volatile unsigned short *)CAN_MB03_DATA1)
-#define pCAN_MB03_DATA0 ((volatile unsigned short *)CAN_MB03_DATA0)
-
-#define pCAN_MB04_ID1 ((volatile unsigned short *)CAN_MB04_ID1)
-#define pCAN_MB04_ID0 ((volatile unsigned short *)CAN_MB04_ID0)
-#define pCAN_MB04_TIMESTAMP ((volatile unsigned short *)CAN_MB04_TIMESTAMP)
-#define pCAN_MB04_LENGTH ((volatile unsigned short *)CAN_MB04_LENGTH)
-#define pCAN_MB04_DATA3 ((volatile unsigned short *)CAN_MB04_DATA3)
-#define pCAN_MB04_DATA2 ((volatile unsigned short *)CAN_MB04_DATA2)
-#define pCAN_MB04_DATA1 ((volatile unsigned short *)CAN_MB04_DATA1)
-#define pCAN_MB04_DATA0 ((volatile unsigned short *)CAN_MB04_DATA0)
-
-#define pCAN_MB05_ID1 ((volatile unsigned short *)CAN_MB05_ID1)
-#define pCAN_MB05_ID0 ((volatile unsigned short *)CAN_MB05_ID0)
-#define pCAN_MB05_TIMESTAMP ((volatile unsigned short *)CAN_MB05_TIMESTAMP)
-#define pCAN_MB05_LENGTH ((volatile unsigned short *)CAN_MB05_LENGTH)
-#define pCAN_MB05_DATA3 ((volatile unsigned short *)CAN_MB05_DATA3)
-#define pCAN_MB05_DATA2 ((volatile unsigned short *)CAN_MB05_DATA2)
-#define pCAN_MB05_DATA1 ((volatile unsigned short *)CAN_MB05_DATA1)
-#define pCAN_MB05_DATA0 ((volatile unsigned short *)CAN_MB05_DATA0)
-
-#define pCAN_MB06_ID1 ((volatile unsigned short *)CAN_MB06_ID1)
-#define pCAN_MB06_ID0 ((volatile unsigned short *)CAN_MB06_ID0)
-#define pCAN_MB06_TIMESTAMP ((volatile unsigned short *)CAN_MB06_TIMESTAMP)
-#define pCAN_MB06_LENGTH ((volatile unsigned short *)CAN_MB06_LENGTH)
-#define pCAN_MB06_DATA3 ((volatile unsigned short *)CAN_MB06_DATA3)
-#define pCAN_MB06_DATA2 ((volatile unsigned short *)CAN_MB06_DATA2)
-#define pCAN_MB06_DATA1 ((volatile unsigned short *)CAN_MB06_DATA1)
-#define pCAN_MB06_DATA0 ((volatile unsigned short *)CAN_MB06_DATA0)
-
-#define pCAN_MB07_ID1 ((volatile unsigned short *)CAN_MB07_ID1)
-#define pCAN_MB07_ID0 ((volatile unsigned short *)CAN_MB07_ID0)
-#define pCAN_MB07_TIMESTAMP ((volatile unsigned short *)CAN_MB07_TIMESTAMP)
-#define pCAN_MB07_LENGTH ((volatile unsigned short *)CAN_MB07_LENGTH)
-#define pCAN_MB07_DATA3 ((volatile unsigned short *)CAN_MB07_DATA3)
-#define pCAN_MB07_DATA2 ((volatile unsigned short *)CAN_MB07_DATA2)
-#define pCAN_MB07_DATA1 ((volatile unsigned short *)CAN_MB07_DATA1)
-#define pCAN_MB07_DATA0 ((volatile unsigned short *)CAN_MB07_DATA0)
-
-#define pCAN_MB08_ID1 ((volatile unsigned short *)CAN_MB08_ID1)
-#define pCAN_MB08_ID0 ((volatile unsigned short *)CAN_MB08_ID0)
-#define pCAN_MB08_TIMESTAMP ((volatile unsigned short *)CAN_MB08_TIMESTAMP)
-#define pCAN_MB08_LENGTH ((volatile unsigned short *)CAN_MB08_LENGTH)
-#define pCAN_MB08_DATA3 ((volatile unsigned short *)CAN_MB08_DATA3)
-#define pCAN_MB08_DATA2 ((volatile unsigned short *)CAN_MB08_DATA2)
-#define pCAN_MB08_DATA1 ((volatile unsigned short *)CAN_MB08_DATA1)
-#define pCAN_MB08_DATA0 ((volatile unsigned short *)CAN_MB08_DATA0)
-
-#define pCAN_MB09_ID1 ((volatile unsigned short *)CAN_MB09_ID1)
-#define pCAN_MB09_ID0 ((volatile unsigned short *)CAN_MB09_ID0)
-#define pCAN_MB09_TIMESTAMP ((volatile unsigned short *)CAN_MB09_TIMESTAMP)
-#define pCAN_MB09_LENGTH ((volatile unsigned short *)CAN_MB09_LENGTH)
-#define pCAN_MB09_DATA3 ((volatile unsigned short *)CAN_MB09_DATA3)
-#define pCAN_MB09_DATA2 ((volatile unsigned short *)CAN_MB09_DATA2)
-#define pCAN_MB09_DATA1 ((volatile unsigned short *)CAN_MB09_DATA1)
-#define pCAN_MB09_DATA0 ((volatile unsigned short *)CAN_MB09_DATA0)
-
-#define pCAN_MB10_ID1 ((volatile unsigned short *)CAN_MB10_ID1)
-#define pCAN_MB10_ID0 ((volatile unsigned short *)CAN_MB10_ID0)
-#define pCAN_MB10_TIMESTAMP ((volatile unsigned short *)CAN_MB10_TIMESTAMP)
-#define pCAN_MB10_LENGTH ((volatile unsigned short *)CAN_MB10_LENGTH)
-#define pCAN_MB10_DATA3 ((volatile unsigned short *)CAN_MB10_DATA3)
-#define pCAN_MB10_DATA2 ((volatile unsigned short *)CAN_MB10_DATA2)
-#define pCAN_MB10_DATA1 ((volatile unsigned short *)CAN_MB10_DATA1)
-#define pCAN_MB10_DATA0 ((volatile unsigned short *)CAN_MB10_DATA0)
-
-#define pCAN_MB11_ID1 ((volatile unsigned short *)CAN_MB11_ID1)
-#define pCAN_MB11_ID0 ((volatile unsigned short *)CAN_MB11_ID0)
-#define pCAN_MB11_TIMESTAMP ((volatile unsigned short *)CAN_MB11_TIMESTAMP)
-#define pCAN_MB11_LENGTH ((volatile unsigned short *)CAN_MB11_LENGTH)
-#define pCAN_MB11_DATA3 ((volatile unsigned short *)CAN_MB11_DATA3)
-#define pCAN_MB11_DATA2 ((volatile unsigned short *)CAN_MB11_DATA2)
-#define pCAN_MB11_DATA1 ((volatile unsigned short *)CAN_MB11_DATA1)
-#define pCAN_MB11_DATA0 ((volatile unsigned short *)CAN_MB11_DATA0)
-
-#define pCAN_MB12_ID1 ((volatile unsigned short *)CAN_MB12_ID1)
-#define pCAN_MB12_ID0 ((volatile unsigned short *)CAN_MB12_ID0)
-#define pCAN_MB12_TIMESTAMP ((volatile unsigned short *)CAN_MB12_TIMESTAMP)
-#define pCAN_MB12_LENGTH ((volatile unsigned short *)CAN_MB12_LENGTH)
-#define pCAN_MB12_DATA3 ((volatile unsigned short *)CAN_MB12_DATA3)
-#define pCAN_MB12_DATA2 ((volatile unsigned short *)CAN_MB12_DATA2)
-#define pCAN_MB12_DATA1 ((volatile unsigned short *)CAN_MB12_DATA1)
-#define pCAN_MB12_DATA0 ((volatile unsigned short *)CAN_MB12_DATA0)
-
-#define pCAN_MB13_ID1 ((volatile unsigned short *)CAN_MB13_ID1)
-#define pCAN_MB13_ID0 ((volatile unsigned short *)CAN_MB13_ID0)
-#define pCAN_MB13_TIMESTAMP ((volatile unsigned short *)CAN_MB13_TIMESTAMP)
-#define pCAN_MB13_LENGTH ((volatile unsigned short *)CAN_MB13_LENGTH)
-#define pCAN_MB13_DATA3 ((volatile unsigned short *)CAN_MB13_DATA3)
-#define pCAN_MB13_DATA2 ((volatile unsigned short *)CAN_MB13_DATA2)
-#define pCAN_MB13_DATA1 ((volatile unsigned short *)CAN_MB13_DATA1)
-#define pCAN_MB13_DATA0 ((volatile unsigned short *)CAN_MB13_DATA0)
-
-#define pCAN_MB14_ID1 ((volatile unsigned short *)CAN_MB14_ID1)
-#define pCAN_MB14_ID0 ((volatile unsigned short *)CAN_MB14_ID0)
-#define pCAN_MB14_TIMESTAMP ((volatile unsigned short *)CAN_MB14_TIMESTAMP)
-#define pCAN_MB14_LENGTH ((volatile unsigned short *)CAN_MB14_LENGTH)
-#define pCAN_MB14_DATA3 ((volatile unsigned short *)CAN_MB14_DATA3)
-#define pCAN_MB14_DATA2 ((volatile unsigned short *)CAN_MB14_DATA2)
-#define pCAN_MB14_DATA1 ((volatile unsigned short *)CAN_MB14_DATA1)
-#define pCAN_MB14_DATA0 ((volatile unsigned short *)CAN_MB14_DATA0)
-
-#define pCAN_MB15_ID1 ((volatile unsigned short *)CAN_MB15_ID1)
-#define pCAN_MB15_ID0 ((volatile unsigned short *)CAN_MB15_ID0)
-#define pCAN_MB15_TIMESTAMP ((volatile unsigned short *)CAN_MB15_TIMESTAMP)
-#define pCAN_MB15_LENGTH ((volatile unsigned short *)CAN_MB15_LENGTH)
-#define pCAN_MB15_DATA3 ((volatile unsigned short *)CAN_MB15_DATA3)
-#define pCAN_MB15_DATA2 ((volatile unsigned short *)CAN_MB15_DATA2)
-#define pCAN_MB15_DATA1 ((volatile unsigned short *)CAN_MB15_DATA1)
-#define pCAN_MB15_DATA0 ((volatile unsigned short *)CAN_MB15_DATA0)
-
-#define pCAN_MB16_ID1 ((volatile unsigned short *)CAN_MB16_ID1)
-#define pCAN_MB16_ID0 ((volatile unsigned short *)CAN_MB16_ID0)
-#define pCAN_MB16_TIMESTAMP ((volatile unsigned short *)CAN_MB16_TIMESTAMP)
-#define pCAN_MB16_LENGTH ((volatile unsigned short *)CAN_MB16_LENGTH)
-#define pCAN_MB16_DATA3 ((volatile unsigned short *)CAN_MB16_DATA3)
-#define pCAN_MB16_DATA2 ((volatile unsigned short *)CAN_MB16_DATA2)
-#define pCAN_MB16_DATA1 ((volatile unsigned short *)CAN_MB16_DATA1)
-#define pCAN_MB16_DATA0 ((volatile unsigned short *)CAN_MB16_DATA0)
-
-#define pCAN_MB17_ID1 ((volatile unsigned short *)CAN_MB17_ID1)
-#define pCAN_MB17_ID0 ((volatile unsigned short *)CAN_MB17_ID0)
-#define pCAN_MB17_TIMESTAMP ((volatile unsigned short *)CAN_MB17_TIMESTAMP)
-#define pCAN_MB17_LENGTH ((volatile unsigned short *)CAN_MB17_LENGTH)
-#define pCAN_MB17_DATA3 ((volatile unsigned short *)CAN_MB17_DATA3)
-#define pCAN_MB17_DATA2 ((volatile unsigned short *)CAN_MB17_DATA2)
-#define pCAN_MB17_DATA1 ((volatile unsigned short *)CAN_MB17_DATA1)
-#define pCAN_MB17_DATA0 ((volatile unsigned short *)CAN_MB17_DATA0)
-
-#define pCAN_MB18_ID1 ((volatile unsigned short *)CAN_MB18_ID1)
-#define pCAN_MB18_ID0 ((volatile unsigned short *)CAN_MB18_ID0)
-#define pCAN_MB18_TIMESTAMP ((volatile unsigned short *)CAN_MB18_TIMESTAMP)
-#define pCAN_MB18_LENGTH ((volatile unsigned short *)CAN_MB18_LENGTH)
-#define pCAN_MB18_DATA3 ((volatile unsigned short *)CAN_MB18_DATA3)
-#define pCAN_MB18_DATA2 ((volatile unsigned short *)CAN_MB18_DATA2)
-#define pCAN_MB18_DATA1 ((volatile unsigned short *)CAN_MB18_DATA1)
-#define pCAN_MB18_DATA0 ((volatile unsigned short *)CAN_MB18_DATA0)
-
-#define pCAN_MB19_ID1 ((volatile unsigned short *)CAN_MB19_ID1)
-#define pCAN_MB19_ID0 ((volatile unsigned short *)CAN_MB19_ID0)
-#define pCAN_MB19_TIMESTAMP ((volatile unsigned short *)CAN_MB19_TIMESTAMP)
-#define pCAN_MB19_LENGTH ((volatile unsigned short *)CAN_MB19_LENGTH)
-#define pCAN_MB19_DATA3 ((volatile unsigned short *)CAN_MB19_DATA3)
-#define pCAN_MB19_DATA2 ((volatile unsigned short *)CAN_MB19_DATA2)
-#define pCAN_MB19_DATA1 ((volatile unsigned short *)CAN_MB19_DATA1)
-#define pCAN_MB19_DATA0 ((volatile unsigned short *)CAN_MB19_DATA0)
-
-#define pCAN_MB20_ID1 ((volatile unsigned short *)CAN_MB20_ID1)
-#define pCAN_MB20_ID0 ((volatile unsigned short *)CAN_MB20_ID0)
-#define pCAN_MB20_TIMESTAMP ((volatile unsigned short *)CAN_MB20_TIMESTAMP)
-#define pCAN_MB20_LENGTH ((volatile unsigned short *)CAN_MB20_LENGTH)
-#define pCAN_MB20_DATA3 ((volatile unsigned short *)CAN_MB20_DATA3)
-#define pCAN_MB20_DATA2 ((volatile unsigned short *)CAN_MB20_DATA2)
-#define pCAN_MB20_DATA1 ((volatile unsigned short *)CAN_MB20_DATA1)
-#define pCAN_MB20_DATA0 ((volatile unsigned short *)CAN_MB20_DATA0)
-
-#define pCAN_MB21_ID1 ((volatile unsigned short *)CAN_MB21_ID1)
-#define pCAN_MB21_ID0 ((volatile unsigned short *)CAN_MB21_ID0)
-#define pCAN_MB21_TIMESTAMP ((volatile unsigned short *)CAN_MB21_TIMESTAMP)
-#define pCAN_MB21_LENGTH ((volatile unsigned short *)CAN_MB21_LENGTH)
-#define pCAN_MB21_DATA3 ((volatile unsigned short *)CAN_MB21_DATA3)
-#define pCAN_MB21_DATA2 ((volatile unsigned short *)CAN_MB21_DATA2)
-#define pCAN_MB21_DATA1 ((volatile unsigned short *)CAN_MB21_DATA1)
-#define pCAN_MB21_DATA0 ((volatile unsigned short *)CAN_MB21_DATA0)
-
-#define pCAN_MB22_ID1 ((volatile unsigned short *)CAN_MB22_ID1)
-#define pCAN_MB22_ID0 ((volatile unsigned short *)CAN_MB22_ID0)
-#define pCAN_MB22_TIMESTAMP ((volatile unsigned short *)CAN_MB22_TIMESTAMP)
-#define pCAN_MB22_LENGTH ((volatile unsigned short *)CAN_MB22_LENGTH)
-#define pCAN_MB22_DATA3 ((volatile unsigned short *)CAN_MB22_DATA3)
-#define pCAN_MB22_DATA2 ((volatile unsigned short *)CAN_MB22_DATA2)
-#define pCAN_MB22_DATA1 ((volatile unsigned short *)CAN_MB22_DATA1)
-#define pCAN_MB22_DATA0 ((volatile unsigned short *)CAN_MB22_DATA0)
-
-#define pCAN_MB23_ID1 ((volatile unsigned short *)CAN_MB23_ID1)
-#define pCAN_MB23_ID0 ((volatile unsigned short *)CAN_MB23_ID0)
-#define pCAN_MB23_TIMESTAMP ((volatile unsigned short *)CAN_MB23_TIMESTAMP)
-#define pCAN_MB23_LENGTH ((volatile unsigned short *)CAN_MB23_LENGTH)
-#define pCAN_MB23_DATA3 ((volatile unsigned short *)CAN_MB23_DATA3)
-#define pCAN_MB23_DATA2 ((volatile unsigned short *)CAN_MB23_DATA2)
-#define pCAN_MB23_DATA1 ((volatile unsigned short *)CAN_MB23_DATA1)
-#define pCAN_MB23_DATA0 ((volatile unsigned short *)CAN_MB23_DATA0)
-
-#define pCAN_MB24_ID1 ((volatile unsigned short *)CAN_MB24_ID1)
-#define pCAN_MB24_ID0 ((volatile unsigned short *)CAN_MB24_ID0)
-#define pCAN_MB24_TIMESTAMP ((volatile unsigned short *)CAN_MB24_TIMESTAMP)
-#define pCAN_MB24_LENGTH ((volatile unsigned short *)CAN_MB24_LENGTH)
-#define pCAN_MB24_DATA3 ((volatile unsigned short *)CAN_MB24_DATA3)
-#define pCAN_MB24_DATA2 ((volatile unsigned short *)CAN_MB24_DATA2)
-#define pCAN_MB24_DATA1 ((volatile unsigned short *)CAN_MB24_DATA1)
-#define pCAN_MB24_DATA0 ((volatile unsigned short *)CAN_MB24_DATA0)
-
-#define pCAN_MB25_ID1 ((volatile unsigned short *)CAN_MB25_ID1)
-#define pCAN_MB25_ID0 ((volatile unsigned short *)CAN_MB25_ID0)
-#define pCAN_MB25_TIMESTAMP ((volatile unsigned short *)CAN_MB25_TIMESTAMP)
-#define pCAN_MB25_LENGTH ((volatile unsigned short *)CAN_MB25_LENGTH)
-#define pCAN_MB25_DATA3 ((volatile unsigned short *)CAN_MB25_DATA3)
-#define pCAN_MB25_DATA2 ((volatile unsigned short *)CAN_MB25_DATA2)
-#define pCAN_MB25_DATA1 ((volatile unsigned short *)CAN_MB25_DATA1)
-#define pCAN_MB25_DATA0 ((volatile unsigned short *)CAN_MB25_DATA0)
-
-#define pCAN_MB26_ID1 ((volatile unsigned short *)CAN_MB26_ID1)
-#define pCAN_MB26_ID0 ((volatile unsigned short *)CAN_MB26_ID0)
-#define pCAN_MB26_TIMESTAMP ((volatile unsigned short *)CAN_MB26_TIMESTAMP)
-#define pCAN_MB26_LENGTH ((volatile unsigned short *)CAN_MB26_LENGTH)
-#define pCAN_MB26_DATA3 ((volatile unsigned short *)CAN_MB26_DATA3)
-#define pCAN_MB26_DATA2 ((volatile unsigned short *)CAN_MB26_DATA2)
-#define pCAN_MB26_DATA1 ((volatile unsigned short *)CAN_MB26_DATA1)
-#define pCAN_MB26_DATA0 ((volatile unsigned short *)CAN_MB26_DATA0)
-
-#define pCAN_MB27_ID1 ((volatile unsigned short *)CAN_MB27_ID1)
-#define pCAN_MB27_ID0 ((volatile unsigned short *)CAN_MB27_ID0)
-#define pCAN_MB27_TIMESTAMP ((volatile unsigned short *)CAN_MB27_TIMESTAMP)
-#define pCAN_MB27_LENGTH ((volatile unsigned short *)CAN_MB27_LENGTH)
-#define pCAN_MB27_DATA3 ((volatile unsigned short *)CAN_MB27_DATA3)
-#define pCAN_MB27_DATA2 ((volatile unsigned short *)CAN_MB27_DATA2)
-#define pCAN_MB27_DATA1 ((volatile unsigned short *)CAN_MB27_DATA1)
-#define pCAN_MB27_DATA0 ((volatile unsigned short *)CAN_MB27_DATA0)
-
-#define pCAN_MB28_ID1 ((volatile unsigned short *)CAN_MB28_ID1)
-#define pCAN_MB28_ID0 ((volatile unsigned short *)CAN_MB28_ID0)
-#define pCAN_MB28_TIMESTAMP ((volatile unsigned short *)CAN_MB28_TIMESTAMP)
-#define pCAN_MB28_LENGTH ((volatile unsigned short *)CAN_MB28_LENGTH)
-#define pCAN_MB28_DATA3 ((volatile unsigned short *)CAN_MB28_DATA3)
-#define pCAN_MB28_DATA2 ((volatile unsigned short *)CAN_MB28_DATA2)
-#define pCAN_MB28_DATA1 ((volatile unsigned short *)CAN_MB28_DATA1)
-#define pCAN_MB28_DATA0 ((volatile unsigned short *)CAN_MB28_DATA0)
-
-#define pCAN_MB29_ID1 ((volatile unsigned short *)CAN_MB29_ID1)
-#define pCAN_MB29_ID0 ((volatile unsigned short *)CAN_MB29_ID0)
-#define pCAN_MB29_TIMESTAMP ((volatile unsigned short *)CAN_MB29_TIMESTAMP)
-#define pCAN_MB29_LENGTH ((volatile unsigned short *)CAN_MB29_LENGTH)
-#define pCAN_MB29_DATA3 ((volatile unsigned short *)CAN_MB29_DATA3)
-#define pCAN_MB29_DATA2 ((volatile unsigned short *)CAN_MB29_DATA2)
-#define pCAN_MB29_DATA1 ((volatile unsigned short *)CAN_MB29_DATA1)
-#define pCAN_MB29_DATA0 ((volatile unsigned short *)CAN_MB29_DATA0)
-
-#define pCAN_MB30_ID1 ((volatile unsigned short *)CAN_MB30_ID1)
-#define pCAN_MB30_ID0 ((volatile unsigned short *)CAN_MB30_ID0)
-#define pCAN_MB30_TIMESTAMP ((volatile unsigned short *)CAN_MB30_TIMESTAMP)
-#define pCAN_MB30_LENGTH ((volatile unsigned short *)CAN_MB30_LENGTH)
-#define pCAN_MB30_DATA3 ((volatile unsigned short *)CAN_MB30_DATA3)
-#define pCAN_MB30_DATA2 ((volatile unsigned short *)CAN_MB30_DATA2)
-#define pCAN_MB30_DATA1 ((volatile unsigned short *)CAN_MB30_DATA1)
-#define pCAN_MB30_DATA0 ((volatile unsigned short *)CAN_MB30_DATA0)
-
-#define pCAN_MB31_ID1 ((volatile unsigned short *)CAN_MB31_ID1)
-#define pCAN_MB31_ID0 ((volatile unsigned short *)CAN_MB31_ID0)
-#define pCAN_MB31_TIMESTAMP ((volatile unsigned short *)CAN_MB31_TIMESTAMP)
-#define pCAN_MB31_LENGTH ((volatile unsigned short *)CAN_MB31_LENGTH)
-#define pCAN_MB31_DATA3 ((volatile unsigned short *)CAN_MB31_DATA3)
-#define pCAN_MB31_DATA2 ((volatile unsigned short *)CAN_MB31_DATA2)
-#define pCAN_MB31_DATA1 ((volatile unsigned short *)CAN_MB31_DATA1)
-#define pCAN_MB31_DATA0 ((volatile unsigned short *)CAN_MB31_DATA0)
-
-/* CAN Mailbox Area Macros */
-#define pCAN_MB_ID1(x) ((volatile unsigned short *)CAN_MB_ID1(x))
-#define pCAN_MB_ID0(x) ((volatile unsigned short *)CAN_MB_ID0(x))
-#define pCAN_MB_TIMESTAMP(x) ((volatile unsigned short *)CAN_MB_TIMESTAMP(x))
-#define pCAN_MB_LENGTH(x) ((volatile unsigned short *)CAN_MB_LENGTH(x))
-#define pCAN_MB_DATA3(x) ((volatile unsigned short *)CAN_MB_DATA3(x))
-#define pCAN_MB_DATA2(x) ((volatile unsigned short *)CAN_MB_DATA2(x))
-#define pCAN_MB_DATA1(x) ((volatile unsigned short *)CAN_MB_DATA1(x))
-#define pCAN_MB_DATA0(x) ((volatile unsigned short *)CAN_MB_DATA0(x))
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define pPORTF_FER ((volatile unsigned short *)PORTF_FER)
-#define pPORTG_FER ((volatile unsigned short *)PORTG_FER)
-#define pPORTH_FER ((volatile unsigned short *)PORTH_FER)
-#define pPORT_MUX ((volatile unsigned short *)PORT_MUX)
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
-#define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
-#define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
-#define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
-#define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
-#define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
-#define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
-
-#define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
-#define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
-#define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
-#define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
-#define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
-#define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
-#define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF534_H */
diff --git a/libgloss/bfin/include/cdefBF535.h b/libgloss/bfin/include/cdefBF535.h
deleted file mode 100644
index cd991d0..0000000
--- a/libgloss/bfin/include/cdefBF535.h
+++ /dev/null
@@ -1,461 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF535.h
- *
- * (c) Copyright 2002-2005 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEF_BF535_H
-#define _CDEF_BF535_H
-
-/* include all Core registers and bit definitions */
-#if defined(__ADSPLPBLACKFIN__)
-#warning cdefBF535.h should only be included for 535 compatible chips.
-#endif
-#include <defBF535.h>
-
-/* include core specific register pointer definitions */
-#include <cdefblackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-/* Clock and System Control (0xFFC0 0400-0xFFC0 07FF) */
-#define pPLL_CTL ((volatile unsigned long *)PLL_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-#define pPLL_IOCKR ((volatile unsigned short *)PLL_IOCKR)
-#define pPLL_IOCK ((volatile unsigned short *)PLL_IOCK)
-
-/* JTAG/Debug Communication Channel (0xFFC0 0800-0xFFC0 0BFF) */
-#define pCHIPID ((volatile unsigned long *)CHIPID)
-
-/* System Interrupt Controller (0xFFC0 0C00-0xFFC0 0FFF) */
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK)
-#define pSIC_ISR ((volatile unsigned long *)SIC_ISR)
-#define pSIC_IWR ((volatile unsigned long *)SIC_IWR)
-
-/* Watchdog Timer (0xFFC0 1000-0xFFC0 13FF) */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-/* Real Time Clock (0xFFC0 1400-0xFFC0 17FF) */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-
-/* General Purpose IO (0xFFC0 2400-0xFFC0 27FF) */
-#define pFIO_DIR ((volatile unsigned short *)FIO_DIR)
-#define pFIO_FLAG_C ((volatile unsigned short *)FIO_FLAG_C)
-#define pFIO_FLAG_S ((volatile unsigned short *)FIO_FLAG_S)
-#define pFIO_MASKA_C ((volatile unsigned short *)FIO_MASKA_C)
-#define pFIO_MASKA_S ((volatile unsigned short *)FIO_MASKA_S)
-#define pFIO_MASKB_C ((volatile unsigned short *)FIO_MASKB_C)
-#define pFIO_MASKB_S ((volatile unsigned short *)FIO_MASKB_S)
-#define pFIO_POLAR ((volatile unsigned short *)FIO_POLAR)
-#define pFIO_EDGE ((volatile unsigned short *)FIO_EDGE)
-#define pFIO_BOTH ((volatile unsigned short *)FIO_BOTH)
-
-/* Aysnchronous Memory Controller - External Bus Interface Unit (0xFFC0 3C00-0xFFC0 3FFF) */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-
-/* USB Registers (0xFFC0 4400 - 0xFFC0 47FF) */
-#define pUSBD_ID ((volatile unsigned short *)USBD_ID)
-#define pUSBD_FRM ((volatile unsigned short *)USBD_FRM)
-#define pUSBD_FRMAT ((volatile unsigned short *)USBD_FRMAT)
-#define pUSBD_EPBUF ((volatile unsigned short *)USBD_EPBUF)
-#define pUSBD_STAT ((volatile unsigned short *)USBD_STAT)
-#define pUSBD_CTRL ((volatile unsigned short *)USBD_CTRL)
-#define pUSBD_GINTR ((volatile unsigned short *)USBD_GINTR)
-#define pUSBD_GMASK ((volatile unsigned short *)USBD_GMASK)
-#define pUSBD_DMACFG ((volatile unsigned short *)USBD_DMACFG)
-#define pUSBD_DMABL ((volatile unsigned short *)USBD_DMABL)
-#define pUSBD_DMABH ((volatile unsigned short *)USBD_DMABH)
-#define pUSBD_DMACT ((volatile unsigned short *)USBD_DMACT)
-#define pUSBD_DMAIRQ ((volatile unsigned short *)USBD_DMAIRQ)
-#define pUSBD_INTR0 ((volatile unsigned short *)USBD_INTR0)
-#define pUSBD_MASK0 ((volatile unsigned short *)USBD_MASK0)
-#define pUSBD_EPCFG0 ((volatile unsigned short *)USBD_EPCFG0)
-#define pUSBD_EPADR0 ((volatile unsigned short *)USBD_EPADR0)
-#define pUSBD_EPLEN0 ((volatile unsigned short *)USBD_EPLEN0)
-#define pUSBD_INTR1 ((volatile unsigned short *)USBD_INTR1)
-#define pUSBD_MASK1 ((volatile unsigned short *)USBD_MASK1)
-#define pUSBD_EPCFG1 ((volatile unsigned short *)USBD_EPCFG1)
-#define pUSBD_EPADR1 ((volatile unsigned short *)USBD_EPADR1)
-#define pUSBD_EPLEN1 ((volatile unsigned short *)USBD_EPLEN1)
-#define pUSBD_INTR2 ((volatile unsigned short *)USBD_INTR2)
-#define pUSBD_MASK2 ((volatile unsigned short *)USBD_MASK2)
-#define pUSBD_EPCFG2 ((volatile unsigned short *)USBD_EPCFG2)
-#define pUSBD_EPADR2 ((volatile unsigned short *)USBD_EPADR2)
-#define pUSBD_EPLEN2 ((volatile unsigned short *)USBD_EPLEN2)
-#define pUSBD_INTR3 ((volatile unsigned short *)USBD_INTR3)
-#define pUSBD_MASK3 ((volatile unsigned short *)USBD_MASK3)
-#define pUSBD_EPCFG3 ((volatile unsigned short *)USBD_EPCFG3)
-#define pUSBD_EPADR3 ((volatile unsigned short *)USBD_EPADR3)
-#define pUSBD_EPLEN3 ((volatile unsigned short *)USBD_EPLEN3)
-#define pUSBD_INTR4 ((volatile unsigned short *)USBD_INTR4)
-#define pUSBD_MASK4 ((volatile unsigned short *)USBD_MASK4)
-#define pUSBD_EPCFG4 ((volatile unsigned short *)USBD_EPCFG4)
-#define pUSBD_EPADR4 ((volatile unsigned short *)USBD_EPADR4)
-#define pUSBD_EPLEN4 ((volatile unsigned short *)USBD_EPLEN4)
-#define pUSBD_INTR5 ((volatile unsigned short *)USBD_INTR5)
-#define pUSBD_MASK5 ((volatile unsigned short *)USBD_MASK5)
-#define pUSBD_EPCFG5 ((volatile unsigned short *)USBD_EPCFG5)
-#define pUSBD_EPADR5 ((volatile unsigned short *)USBD_EPADR5)
-#define pUSBD_EPLEN5 ((volatile unsigned short *)USBD_EPLEN5)
-#define pUSBD_INTR6 ((volatile unsigned short *)USBD_INTR6)
-#define pUSBD_MASK6 ((volatile unsigned short *)USBD_MASK6)
-#define pUSBD_EPCFG6 ((volatile unsigned short *)USBD_EPCFG6)
-#define pUSBD_EPADR6 ((volatile unsigned short *)USBD_EPADR6)
-#define pUSBD_EPLEN6 ((volatile unsigned short *)USBD_EPLEN6)
-#define pUSBD_INTR7 ((volatile unsigned short *)USBD_INTR7)
-#define pUSBD_MASK7 ((volatile unsigned short *)USBD_MASK7)
-#define pUSBD_EPCFG7 ((volatile unsigned short *)USBD_EPCFG7)
-#define pUSBD_EPADR7 ((volatile unsigned short *)USBD_EPADR7)
-#define pUSBD_EPLEN7 ((volatile unsigned short *)USBD_EPLEN7)
-
-/* SDRAM Controller External Bus Interface Unit (0xFFC0 4C00-0xFFC0 4FFF) */
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-#define pEBIU_SDBCTL ((volatile unsigned long *)EBIU_SDBCTL)
-
-/* Memory Map */
-
-/* Core MMRs */
-#define pCOREMMR_BASE ((volatile void *)COREMMR_BASE)
-
-/* System MMRs */
-#define pSYSMMR_BASE ((volatile void *)SYSMMR_BASE)
-
-/* L1 cache/SRAM internal memory */
-#define pL1_DATA_A ((void *)L1_DATA_A)
-#define pL1_DATA_B ((void *)L1_DATA_B)
-#define pL1_CODE ((void *)L1_CODE)
-#define pL1_SCRATCH ((void *)L1_SCRATCH)
-
-/* L2 SRAM external memory */
-#define pL2_BASE ((void *)L2_BASE)
-
-/* PCI Spaces */
-#define pPCI_CONFIG_SPACE_PORT ((volatile void *)PCI_CONFIG_SPACE_PORT)
-#define pPCI_CONFIG_BASE ((volatile void *)PCI_CONFIG_BASE)
-#define pPCI_IO_BASE ((volatile void *)PCI_IO_BASE)
-#define pPCI_MEM_BASE ((volatile void *)PCI_MEM_BASE)
-
-/* Async Memory Banks */
-#define pASYNC_BANK3_BASE ((void *)ASYNC_BANK3_BASE)
-#define pASYNC_BANK2_BASE ((void *)ASYNC_BANK2_BASE)
-#define pASYNC_BANK1_BASE ((void *)ASYNC_BANK1_BASE)
-#define pASYNC_BANK0_BASE ((void *)ASYNC_BANK0_BASE)
-
-/* Sync DRAM Banks */
-#define pSDRAM_BANK3_BASE ((void *)SDRAM_BANK3_BASE)
-#define pSDRAM_BANK2_BASE ((void *)SDRAM_BANK2_BASE)
-#define pSDRAM_BANK1_BASE ((void *)SDRAM_BANK1_BASE)
-#define pSDRAM_BANK0_BASE ((void *)SDRAM_BANK0_BASE)
-
-/* UART 0 Controller (0xFFC0 1800-0xFFC0 1BFF) */
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_IER ((volatile unsigned short *)UART0_IER)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-#define pUART0_MSR ((volatile unsigned short *)UART0_MSR)
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_IRCR ((volatile unsigned short *)UART0_IRCR)
-#define pUART0_CURR_PTR_RX ((volatile unsigned short *)UART0_CURR_PTR_RX)
-#define pUART0_CONFIG_RX ((volatile unsigned short *)UART0_CONFIG_RX)
-#define pUART0_START_ADDR_HI_RX ((volatile unsigned short *)UART0_START_ADDR_HI_RX)
-#define pUART0_START_ADDR_LO_RX ((volatile unsigned short *)UART0_START_ADDR_LO_RX)
-#define pUART0_COUNT_RX ((volatile unsigned short *)UART0_COUNT_RX)
-#define pUART0_NEXT_DESCR_RX ((volatile unsigned short *)UART0_NEXT_DESCR_RX)
-#define pUART0_DESCR_RDY_RX ((volatile unsigned short *)UART0_DESCR_RDY_RX)
-#define pUART0_IRQSTAT_RX ((volatile unsigned short *)UART0_IRQSTAT_RX)
-#define pUART0_CURR_PTR_TX ((volatile unsigned short *)UART0_CURR_PTR_TX)
-#define pUART0_CONFIG_TX ((volatile unsigned short *)UART0_CONFIG_TX)
-#define pUART0_START_ADDR_HI_TX ((volatile unsigned short *)UART0_START_ADDR_HI_TX)
-#define pUART0_START_ADDR_LO_TX ((volatile unsigned short *)UART0_START_ADDR_LO_TX)
-#define pUART0_COUNT_TX ((volatile unsigned short *)UART0_COUNT_TX)
-#define pUART0_NEXT_DESCR_TX ((volatile unsigned short *)UART0_NEXT_DESCR_TX)
-#define pUART0_DESCR_RDY_TX ((volatile unsigned short *)UART0_DESCR_RDY_TX)
-#define pUART0_IRQSTAT_TX ((volatile unsigned short *)UART0_IRQSTAT_TX)
-
-/* UART 1 Controller (0xFFC0 1C00-0xFFC0 1FFF) */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_MSR ((volatile unsigned short *)UART1_MSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_CURR_PTR_RX ((volatile unsigned short *)UART1_CURR_PTR_RX)
-#define pUART1_CONFIG_RX ((volatile unsigned short *)UART1_CONFIG_RX)
-#define pUART1_START_ADDR_HI_RX ((volatile unsigned short *)UART1_START_ADDR_HI_RX)
-#define pUART1_START_ADDR_LO_RX ((volatile unsigned short *)UART1_START_ADDR_LO_RX)
-#define pUART1_COUNT_RX ((volatile unsigned short *)UART1_COUNT_RX)
-#define pUART1_NEXT_DESCR_RX ((volatile unsigned short *)UART1_NEXT_DESCR_RX)
-#define pUART1_DESCR_RDY_RX ((volatile unsigned short *)UART1_DESCR_RDY_RX)
-#define pUART1_IRQSTAT_RX ((volatile unsigned short *)UART1_IRQSTAT_RX)
-#define pUART1_CURR_PTR_TX ((volatile unsigned short *)UART1_CURR_PTR_TX)
-#define pUART1_CONFIG_TX ((volatile unsigned short *)UART1_CONFIG_TX)
-#define pUART1_START_ADDR_HI_TX ((volatile unsigned short *)UART1_START_ADDR_HI_TX)
-#define pUART1_START_ADDR_LO_TX ((volatile unsigned short *)UART1_START_ADDR_LO_TX)
-#define pUART1_COUNT_TX ((volatile unsigned short *)UART1_COUNT_TX)
-#define pUART1_NEXT_DESCR_TX ((volatile unsigned short *)UART1_NEXT_DESCR_TX)
-#define pUART1_DESCR_RDY_TX ((volatile unsigned short *)UART1_DESCR_RDY_TX)
-#define pUART1_IRQSTAT_TX ((volatile unsigned short *)UART1_IRQSTAT_TX)
-
-/* TIMER 0, 1, 2 Registers (0xFFC0 2000-0xFFC0 23FF) */
-#define pTIMER0_STATUS ((volatile unsigned short *)TIMER0_STATUS)
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER_LO ((volatile unsigned short *)TIMER0_COUNTER_LO)
-#define pTIMER0_COUNTER_HI ((volatile unsigned short *)TIMER0_COUNTER_HI)
-#define pTIMER0_PERIOD_LO ((volatile unsigned short *)TIMER0_PERIOD_LO)
-#define pTIMER0_PERIOD_HI ((volatile unsigned short *)TIMER0_PERIOD_HI)
-#define pTIMER0_WIDTH_LO ((volatile unsigned short *)TIMER0_WIDTH_LO)
-#define pTIMER0_WIDTH_HI ((volatile unsigned short *)TIMER0_WIDTH_HI)
-#define pTIMER1_STATUS ((volatile unsigned short *)TIMER1_STATUS)
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER_LO ((volatile unsigned short *)TIMER1_COUNTER_LO)
-#define pTIMER1_COUNTER_HI ((volatile unsigned short *)TIMER1_COUNTER_HI)
-#define pTIMER1_PERIOD_LO ((volatile unsigned short *)TIMER1_PERIOD_LO)
-#define pTIMER1_PERIOD_HI ((volatile unsigned short *)TIMER1_PERIOD_HI)
-#define pTIMER1_WIDTH_LO ((volatile unsigned short *)TIMER1_WIDTH_LO)
-#define pTIMER1_WIDTH_HI ((volatile unsigned short *)TIMER1_WIDTH_HI)
-#define pTIMER2_STATUS ((volatile unsigned short *)TIMER2_STATUS)
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER_LO ((volatile unsigned short *)TIMER2_COUNTER_LO)
-#define pTIMER2_COUNTER_HI ((volatile unsigned short *)TIMER2_COUNTER_HI)
-#define pTIMER2_PERIOD_LO ((volatile unsigned short *)TIMER2_PERIOD_LO)
-#define pTIMER2_PERIOD_HI ((volatile unsigned short *)TIMER2_PERIOD_HI)
-#define pTIMER2_WIDTH_LO ((volatile unsigned short *)TIMER2_WIDTH_LO)
-#define pTIMER2_WIDTH_HI ((volatile unsigned short *)TIMER2_WIDTH_HI)
-
-/* SPORT0 Controller (0xFFC0 2800-0xFFC0 2BFF) */
-#define pSPORT0_TX_CONFIG ((volatile unsigned short *)SPORT0_TX_CONFIG)
-#define pSPORT0_RX_CONFIG ((volatile unsigned short *)SPORT0_RX_CONFIG)
-#define pSPORT0_TX ((volatile short *)SPORT0_TX)
-#define pSPORT0_RX ((volatile short *)SPORT0_RX)
-#define pSPORT0_TSCLKDIV ((volatile unsigned short *)SPORT0_TSCLKDIV)
-#define pSPORT0_RSCLKDIV ((volatile unsigned short *)SPORT0_RSCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_MTCS0 ((volatile unsigned short *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned short *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned short *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned short *)SPORT0_MTCS3)
-#define pSPORT0_MTCS4 ((volatile unsigned short *)SPORT0_MTCS4)
-#define pSPORT0_MTCS5 ((volatile unsigned short *)SPORT0_MTCS5)
-#define pSPORT0_MTCS6 ((volatile unsigned short *)SPORT0_MTCS6)
-#define pSPORT0_MTCS7 ((volatile unsigned short *)SPORT0_MTCS7)
-#define pSPORT0_MRCS0 ((volatile unsigned short *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned short *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned short *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned short *)SPORT0_MRCS3)
-#define pSPORT0_MRCS4 ((volatile unsigned short *)SPORT0_MRCS4)
-#define pSPORT0_MRCS5 ((volatile unsigned short *)SPORT0_MRCS5)
-#define pSPORT0_MRCS6 ((volatile unsigned short *)SPORT0_MRCS6)
-#define pSPORT0_MRCS7 ((volatile unsigned short *)SPORT0_MRCS7)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_CURR_PTR_RX ((volatile unsigned short *)SPORT0_CURR_PTR_RX)
-#define pSPORT0_CONFIG_DMA_RX ((volatile unsigned short *)SPORT0_CONFIG_DMA_RX)
-#define pSPORT0_START_ADDR_HI_RX ((volatile unsigned short *)SPORT0_START_ADDR_HI_RX)
-#define pSPORT0_START_ADDR_LO_RX ((volatile unsigned short *)SPORT0_START_ADDR_LO_RX)
-#define pSPORT0_COUNT_RX ((volatile unsigned short *)SPORT0_COUNT_RX)
-#define pSPORT0_NEXT_DESCR_RX ((volatile unsigned short *)SPORT0_NEXT_DESCR_RX)
-#define pSPORT0_DESCR_RDY_RX ((volatile unsigned short *)SPORT0_DESCR_RDY_RX)
-#define pSPORT0_IRQSTAT_RX ((volatile unsigned short *)SPORT0_IRQSTAT_RX)
-#define pSPORT0_CURR_PTR_TX ((volatile unsigned short *)SPORT0_CURR_PTR_TX)
-#define pSPORT0_CONFIG_DMA_TX ((volatile unsigned short *)SPORT0_CONFIG_DMA_TX)
-#define pSPORT0_START_ADDR_HI_TX ((volatile unsigned short *)SPORT0_START_ADDR_HI_TX)
-#define pSPORT0_START_ADDR_LO_TX ((volatile unsigned short *)SPORT0_START_ADDR_LO_TX)
-#define pSPORT0_COUNT_TX ((volatile unsigned short *)SPORT0_COUNT_TX)
-#define pSPORT0_NEXT_DESCR_TX ((volatile unsigned short *)SPORT0_NEXT_DESCR_TX)
-#define pSPORT0_DESCR_RDY_TX ((volatile unsigned short *)SPORT0_DESCR_RDY_TX)
-#define pSPORT0_IRQSTAT_TX ((volatile unsigned short *)SPORT0_IRQSTAT_TX)
-
-/* SPORT1 Controller (0xFFC0 2C00-0xFFC0 2FFF) */
-#define pSPORT1_TX_CONFIG ((volatile unsigned short *)SPORT1_TX_CONFIG)
-#define pSPORT1_RX_CONFIG ((volatile unsigned short *)SPORT1_RX_CONFIG)
-#define pSPORT1_TX ((volatile short *)SPORT1_TX)
-#define pSPORT1_RX ((volatile short *)SPORT1_RX)
-#define pSPORT1_TSCLKDIV ((volatile unsigned short *)SPORT1_TSCLKDIV)
-#define pSPORT1_RSCLKDIV ((volatile unsigned short *)SPORT1_RSCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_MTCS0 ((volatile unsigned short *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned short *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned short *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned short *)SPORT1_MTCS3)
-#define pSPORT1_MTCS4 ((volatile unsigned short *)SPORT1_MTCS4)
-#define pSPORT1_MTCS5 ((volatile unsigned short *)SPORT1_MTCS5)
-#define pSPORT1_MTCS6 ((volatile unsigned short *)SPORT1_MTCS6)
-#define pSPORT1_MTCS7 ((volatile unsigned short *)SPORT1_MTCS7)
-#define pSPORT1_MRCS0 ((volatile unsigned short *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned short *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned short *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned short *)SPORT1_MRCS3)
-#define pSPORT1_MRCS4 ((volatile unsigned short *)SPORT1_MRCS4)
-#define pSPORT1_MRCS5 ((volatile unsigned short *)SPORT1_MRCS5)
-#define pSPORT1_MRCS6 ((volatile unsigned short *)SPORT1_MRCS6)
-#define pSPORT1_MRCS7 ((volatile unsigned short *)SPORT1_MRCS7)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_CURR_PTR_RX ((volatile unsigned short *)SPORT1_CURR_PTR_RX)
-#define pSPORT1_CONFIG_DMA_RX ((volatile unsigned short *)SPORT1_CONFIG_DMA_RX)
-#define pSPORT1_START_ADDR_HI_RX ((volatile unsigned short *)SPORT1_START_ADDR_HI_RX)
-#define pSPORT1_START_ADDR_LO_RX ((volatile unsigned short *)SPORT1_START_ADDR_LO_RX)
-#define pSPORT1_COUNT_RX ((volatile unsigned short *)SPORT1_COUNT_RX)
-#define pSPORT1_NEXT_DESCR_RX ((volatile unsigned short *)SPORT1_NEXT_DESCR_RX)
-#define pSPORT1_DESCR_RDY_RX ((volatile unsigned short *)SPORT1_DESCR_RDY_RX)
-#define pSPORT1_IRQSTAT_RX ((volatile unsigned short *)SPORT1_IRQSTAT_RX)
-#define pSPORT1_CURR_PTR_TX ((volatile unsigned short *)SPORT1_CURR_PTR_TX)
-#define pSPORT1_CONFIG_DMA_TX ((volatile unsigned short *)SPORT1_CONFIG_DMA_TX)
-#define pSPORT1_START_ADDR_HI_TX ((volatile unsigned short *)SPORT1_START_ADDR_HI_TX)
-#define pSPORT1_START_ADDR_LO_TX ((volatile unsigned short *)SPORT1_START_ADDR_LO_TX)
-#define pSPORT1_COUNT_TX ((volatile unsigned short *)SPORT1_COUNT_TX)
-#define pSPORT1_NEXT_DESCR_TX ((volatile unsigned short *)SPORT1_NEXT_DESCR_TX)
-#define pSPORT1_DESCR_RDY_TX ((volatile unsigned short *)SPORT1_DESCR_RDY_TX)
-#define pSPORT1_IRQSTAT_TX ((volatile unsigned short *)SPORT1_IRQSTAT_TX)
-
-/* SPI 0 Controller (0xFFC0 3000-0xFFC0 33FF) */
-#define pSPI0_CTL ((volatile unsigned short *)SPI0_CTL)
-#define pSPI0_FLG ((volatile unsigned short *)SPI0_FLG)
-#define pSPI0_ST ((volatile unsigned short *)SPI0_ST)
-#define pSPI0_TDBR ((volatile unsigned short *)SPI0_TDBR)
-#define pSPI0_RDBR ((volatile unsigned short *)SPI0_RDBR)
-#define pSPI0_BAUD ((volatile unsigned short *)SPI0_BAUD)
-#define pSPI0_SHADOW ((volatile unsigned short *)SPI0_SHADOW)
-#define pSPI0_CURR_PTR ((volatile unsigned short *)SPI0_CURR_PTR)
-#define pSPI0_CONFIG ((volatile unsigned short *)SPI0_CONFIG)
-#define pSPI0_START_ADDR_HI ((volatile unsigned short *)SPI0_START_ADDR_HI)
-#define pSPI0_START_ADDR_LO ((volatile unsigned short *)SPI0_START_ADDR_LO)
-#define pSPI0_COUNT ((volatile unsigned short *)SPI0_COUNT)
-#define pSPI0_NEXT_DESCR ((volatile unsigned short *)SPI0_NEXT_DESCR)
-#define pSPI0_DESCR_RDY ((volatile unsigned short *)SPI0_DESCR_RDY)
-#define pSPI0_DMA_INT ((volatile unsigned short *)SPI0_DMA_INT)
-
-/* SPI 1 Controller (0xFFC0 3400-0xFFC0 37FF) */
-#define pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
-#define pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
-#define pSPI1_ST ((volatile unsigned short *)SPI1_ST)
-#define pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
-#define pSPI1_CURR_PTR ((volatile unsigned short *)SPI1_CURR_PTR)
-#define pSPI1_CONFIG ((volatile unsigned short *)SPI1_CONFIG)
-#define pSPI1_START_ADDR_HI ((volatile unsigned short *)SPI1_START_ADDR_HI)
-#define pSPI1_START_ADDR_LO ((volatile unsigned short *)SPI1_START_ADDR_LO)
-#define pSPI1_COUNT ((volatile unsigned short *)SPI1_COUNT)
-#define pSPI1_NEXT_DESCR ((volatile unsigned short *)SPI1_NEXT_DESCR)
-#define pSPI1_DESCR_RDY ((volatile unsigned short *)SPI1_DESCR_RDY)
-#define pSPI1_DMA_INT ((volatile unsigned short *)SPI1_DMA_INT)
-
-/* Memory DMA Controller (0xFFC0 3800-0xFFC0 3BFF) */
-#define pMDD_DCP ((volatile unsigned short *)MDD_DCP)
-#define pMDD_DCFG ((volatile unsigned short *)MDD_DCFG)
-#define pMDD_DSAH ((volatile unsigned short *)MDD_DSAH)
-#define pMDD_DSAL ((volatile unsigned short *)MDD_DSAL)
-#define pMDD_DCT ((volatile unsigned short *)MDD_DCT)
-#define pMDD_DND ((volatile unsigned short *)MDD_DND)
-#define pMDD_DDR ((volatile unsigned short *)MDD_DDR)
-#define pMDD_DI ((volatile unsigned short *)MDD_DI)
-#define pMDS_DCP ((volatile unsigned short *)MDS_DCP)
-#define pMDS_DCFG ((volatile unsigned short *)MDS_DCFG)
-#define pMDS_DSAH ((volatile unsigned short *)MDS_DSAH)
-#define pMDS_DSAL ((volatile unsigned short *)MDS_DSAL)
-#define pMDS_DCT ((volatile unsigned short *)MDS_DCT)
-#define pMDS_DND ((volatile unsigned short *)MDS_DND)
-#define pMDS_DDR ((volatile unsigned short *)MDS_DDR)
-#define pMDS_DI ((volatile unsigned short *)MDS_DI)
-
-/* PCI Bridge PAB Registers (0xFFC0 4000-0xFFC0 43FF) */
-#define pPCI_CTL ((volatile unsigned short *)PCI_CTL)
-#define pPCI_STAT ((volatile unsigned long *)PCI_STAT)
-#define pPCI_ICTL ((volatile unsigned long *)PCI_ICTL)
-#define pPCI_MBAP (_PTR_TO_VOL_VOID_PTR PCI_MBAP)
-#define pPCI_IBAP (_PTR_TO_VOL_VOID_PTR PCI_IBAP)
-#define pPCI_CBAP (_PTR_TO_VOL_VOID_PTR PCI_CBAP)
-#define pPCI_TMBAP (_PTR_TO_VOL_VOID_PTR PCI_TMBAP)
-#define pPCI_TIBAP (_PTR_TO_VOL_VOID_PTR PCI_TIBAP)
-
-/* PCI Bridge External Access Bus Registers (0xEEFF FF00-0xEEFF FFFF) */
-#define pPCI_DMBARM ((volatile unsigned long *)PCI_DMBARM)
-#define pPCI_DIBARM ((volatile unsigned long *)PCI_DIBARM)
-#define pPCI_CFG_DIC ((volatile unsigned long *)PCI_CFG_DIC)
-#define pPCI_CFG_VIC ((volatile unsigned long *)PCI_CFG_VIC)
-#define pPCI_CFG_STAT ((volatile unsigned long *)PCI_CFG_STAT)
-#define pPCI_CFG_CMD ((volatile unsigned long *)PCI_CFG_CMD)
-#define pPCI_CFG_CC ((volatile unsigned long *)PCI_CFG_CC)
-#define pPCI_CFG_RID ((volatile unsigned long *)PCI_CFG_RID)
-#define pPCI_CFG_BIST ((volatile unsigned long *)PCI_CFG_BIST)
-#define pPCI_CFG_HT ((volatile unsigned long *)PCI_CFG_HT)
-#define pPCI_CFG_MLT ((volatile unsigned long *)PCI_CFG_MLT)
-#define pPCI_CFG_CLS ((volatile unsigned long *)PCI_CFG_CLS)
-#define pPCI_CFG_MBAR ((volatile unsigned long *)PCI_CFG_MBAR)
-#define pPCI_CFG_IBAR ((volatile unsigned long *)PCI_CFG_IBAR)
-#define pPCI_CFG_SID ((volatile unsigned long *)PCI_CFG_SID)
-#define pPCI_CFG_SVID ((volatile unsigned long *)PCI_CFG_SVID)
-#define pPCI_CFG_MAXL ((volatile unsigned long *)PCI_CFG_MAXL)
-#define pPCI_CFG_MING ((volatile unsigned long *)PCI_CFG_MING)
-#define pPCI_CFG_IP ((volatile unsigned long *)PCI_CFG_IP)
-#define pPCI_CFG_IL ((volatile unsigned long *)PCI_CFG_IL)
-#define pPCI_HMCTL ((volatile unsigned long *)PCI_HMCTL)
-
-/* System Bus Interface Unit (0xFFC0 4800-0xFFC0 4FFF) */
-#define pDMA_DBP ((volatile unsigned short *)DMA_DBP)
-#define pDB_ACOMP (_PTR_TO_VOL_VOID_PTR DB_ACOMP)
-#define pDB_CCOMP ((volatile unsigned long *)DB_CCOMP)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF535_H */
diff --git a/libgloss/bfin/include/cdefBF536.h b/libgloss/bfin/include/cdefBF536.h
deleted file mode 100644
index fbb186c..0000000
--- a/libgloss/bfin/include/cdefBF536.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2005 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access.
-**
-**/
-/**********************************************************************************
-** System MMR Register Map
-***********************************************************************************/
-
-#ifndef _CDEF_BF536_H
-#define _CDEF_BF536_H
-
-/* MMR Space Identical to BF537 Processor */
-#include <cdefBF537.h>
-
-#endif /* _CDEF_BF536_H */
-
diff --git a/libgloss/bfin/include/cdefBF537.h b/libgloss/bfin/include/cdefBF537.h
deleted file mode 100644
index f3b468d..0000000
--- a/libgloss/bfin/include/cdefBF537.h
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2004 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access.
-**
-**/
-
-/**********************************************************************************
-** System MMR Register Map
-***********************************************************************************/
-
-#ifndef _CDEF_BF537_H
-#define _CDEF_BF537_H
-
-/* Include MMRs Common to BF534 */
-#include <cdefBF534.h>
-
-/* Include all Core registers and bit definitions */
-#include <defBF537.h>
-
-/* Include Macro "Defines" For EMAC (Unique to BF536/BF537 */
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-#define pEMAC_OPMODE ((volatile unsigned long *)EMAC_OPMODE)
-#define pEMAC_ADDRLO ((volatile unsigned long *)EMAC_ADDRLO)
-#define pEMAC_ADDRHI ((volatile unsigned long *)EMAC_ADDRHI)
-#define pEMAC_HASHLO ((volatile unsigned long *)EMAC_HASHLO)
-#define pEMAC_HASHHI ((volatile unsigned long *)EMAC_HASHHI)
-#define pEMAC_STAADD ((volatile unsigned long *)EMAC_STAADD)
-#define pEMAC_STADAT ((volatile unsigned long *)EMAC_STADAT)
-#define pEMAC_FLC ((volatile unsigned long *)EMAC_FLC)
-#define pEMAC_VLAN1 ((volatile unsigned long *)EMAC_VLAN1)
-#define pEMAC_VLAN2 ((volatile unsigned long *)EMAC_VLAN2)
-#define pEMAC_WKUP_CTL ((volatile unsigned long *)EMAC_WKUP_CTL)
-#define pEMAC_WKUP_FFMSK0 ((volatile unsigned long *)EMAC_WKUP_FFMSK0)
-#define pEMAC_WKUP_FFMSK1 ((volatile unsigned long *)EMAC_WKUP_FFMSK1)
-#define pEMAC_WKUP_FFMSK2 ((volatile unsigned long *)EMAC_WKUP_FFMSK2)
-#define pEMAC_WKUP_FFMSK3 ((volatile unsigned long *)EMAC_WKUP_FFMSK3)
-#define pEMAC_WKUP_FFCMD ((volatile unsigned long *)EMAC_WKUP_FFCMD)
-#define pEMAC_WKUP_FFOFF ((volatile unsigned long *)EMAC_WKUP_FFOFF)
-#define pEMAC_WKUP_FFCRC0 ((volatile unsigned long *)EMAC_WKUP_FFCRC0)
-#define pEMAC_WKUP_FFCRC1 ((volatile unsigned long *)EMAC_WKUP_FFCRC1)
-
-#define pEMAC_SYSCTL ((volatile unsigned long *)EMAC_SYSCTL)
-#define pEMAC_SYSTAT ((volatile unsigned long *)EMAC_SYSTAT)
-#define pEMAC_RX_STAT ((volatile unsigned long *)EMAC_RX_STAT)
-#define pEMAC_RX_STKY ((volatile unsigned long *)EMAC_RX_STKY)
-#define pEMAC_RX_IRQE ((volatile unsigned long *)EMAC_RX_IRQE)
-#define pEMAC_TX_STAT ((volatile unsigned long *)EMAC_TX_STAT)
-#define pEMAC_TX_STKY ((volatile unsigned long *)EMAC_TX_STKY)
-#define pEMAC_TX_IRQE ((volatile unsigned long *)EMAC_TX_IRQE)
-
-#define pEMAC_MMC_CTL ((volatile unsigned long *)EMAC_MMC_CTL)
-#define pEMAC_MMC_RIRQS ((volatile unsigned long *)EMAC_MMC_RIRQS)
-#define pEMAC_MMC_RIRQE ((volatile unsigned long *)EMAC_MMC_RIRQE)
-#define pEMAC_MMC_TIRQS ((volatile unsigned long *)EMAC_MMC_TIRQS)
-#define pEMAC_MMC_TIRQE ((volatile unsigned long *)EMAC_MMC_TIRQE)
-
-#define pEMAC_RXC_OK ((volatile unsigned long *)EMAC_RXC_OK)
-#define pEMAC_RXC_FCS ((volatile unsigned long *)EMAC_RXC_FCS)
-#define pEMAC_RXC_ALIGN ((volatile unsigned long *)EMAC_RXC_ALIGN)
-#define pEMAC_RXC_OCTET ((volatile unsigned long *)EMAC_RXC_OCTET)
-#define pEMAC_RXC_DMAOVF ((volatile unsigned long *)EMAC_RXC_DMAOVF)
-#define pEMAC_RXC_UNICST ((volatile unsigned long *)EMAC_RXC_UNICST)
-#define pEMAC_RXC_MULTI ((volatile unsigned long *)EMAC_RXC_MULTI)
-#define pEMAC_RXC_BROAD ((volatile unsigned long *)EMAC_RXC_BROAD)
-#define pEMAC_RXC_LNERRI ((volatile unsigned long *)EMAC_RXC_LNERRI)
-#define pEMAC_RXC_LNERRO ((volatile unsigned long *)EMAC_RXC_LNERRO)
-#define pEMAC_RXC_LONG ((volatile unsigned long *)EMAC_RXC_LONG)
-#define pEMAC_RXC_MACCTL ((volatile unsigned long *)EMAC_RXC_MACCTL)
-#define pEMAC_RXC_OPCODE ((volatile unsigned long *)EMAC_RXC_OPCODE)
-#define pEMAC_RXC_PAUSE ((volatile unsigned long *)EMAC_RXC_PAUSE)
-#define pEMAC_RXC_ALLFRM ((volatile unsigned long *)EMAC_RXC_ALLFRM)
-#define pEMAC_RXC_ALLOCT ((volatile unsigned long *)EMAC_RXC_ALLOCT)
-#define pEMAC_RXC_TYPED ((volatile unsigned long *)EMAC_RXC_TYPED)
-#define pEMAC_RXC_SHORT ((volatile unsigned long *)EMAC_RXC_SHORT)
-#define pEMAC_RXC_EQ64 ((volatile unsigned long *)EMAC_RXC_EQ64)
-#define pEMAC_RXC_LT128 ((volatile unsigned long *)EMAC_RXC_LT128)
-#define pEMAC_RXC_LT256 ((volatile unsigned long *)EMAC_RXC_LT256)
-#define pEMAC_RXC_LT512 ((volatile unsigned long *)EMAC_RXC_LT512)
-#define pEMAC_RXC_LT1024 ((volatile unsigned long *)EMAC_RXC_LT1024)
-#define pEMAC_RXC_GE1024 ((volatile unsigned long *)EMAC_RXC_GE1024)
-
-#define pEMAC_TXC_OK ((volatile unsigned long *)EMAC_TXC_OK)
-#define pEMAC_TXC_1COL ((volatile unsigned long *)EMAC_TXC_1COL)
-#define pEMAC_TXC_GT1COL ((volatile unsigned long *)EMAC_TXC_GT1COL)
-#define pEMAC_TXC_OCTET ((volatile unsigned long *)EMAC_TXC_OCTET)
-#define pEMAC_TXC_DEFER ((volatile unsigned long *)EMAC_TXC_DEFER)
-#define pEMAC_TXC_LATECL ((volatile unsigned long *)EMAC_TXC_LATECL)
-#define pEMAC_TXC_XS_COL ((volatile unsigned long *)EMAC_TXC_XS_COL)
-#define pEMAC_TXC_DMAUND ((volatile unsigned long *)EMAC_TXC_DMAUND)
-#define pEMAC_TXC_CRSERR ((volatile unsigned long *)EMAC_TXC_CRSERR)
-#define pEMAC_TXC_UNICST ((volatile unsigned long *)EMAC_TXC_UNICST)
-#define pEMAC_TXC_MULTI ((volatile unsigned long *)EMAC_TXC_MULTI)
-#define pEMAC_TXC_BROAD ((volatile unsigned long *)EMAC_TXC_BROAD)
-#define pEMAC_TXC_XS_DFR ((volatile unsigned long *)EMAC_TXC_XS_DFR)
-#define pEMAC_TXC_MACCTL ((volatile unsigned long *)EMAC_TXC_MACCTL)
-#define pEMAC_TXC_ALLFRM ((volatile unsigned long *)EMAC_TXC_ALLFRM)
-#define pEMAC_TXC_ALLOCT ((volatile unsigned long *)EMAC_TXC_ALLOCT)
-#define pEMAC_TXC_EQ64 ((volatile unsigned long *)EMAC_TXC_EQ64)
-#define pEMAC_TXC_LT128 ((volatile unsigned long *)EMAC_TXC_LT128)
-#define pEMAC_TXC_LT256 ((volatile unsigned long *)EMAC_TXC_LT256)
-#define pEMAC_TXC_LT512 ((volatile unsigned long *)EMAC_TXC_LT512)
-#define pEMAC_TXC_LT1024 ((volatile unsigned long *)EMAC_TXC_LT1024)
-#define pEMAC_TXC_GE1024 ((volatile unsigned long *)EMAC_TXC_GE1024)
-#define pEMAC_TXC_ABORT ((volatile unsigned long *)EMAC_TXC_ABORT)
-
-#endif /* _CDEF_BF537_H */
diff --git a/libgloss/bfin/include/cdefBF538.h b/libgloss/bfin/include/cdefBF538.h
deleted file mode 100644
index 3f6e71f..0000000
--- a/libgloss/bfin/include/cdefBF538.h
+++ /dev/null
@@ -1,1014 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF538.h
- *
- * (c) Copyright 2006-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* C POINTERS TO SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF538 */
-
-#ifndef _CDEF_BF538_H
-#define _CDEF_BF538_H
-
-/* include all Core registers and bit definitions */
-#include <defBF538.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* include common system register pointer definitions from ADSP-BF532 */
-#include <cdefBF532.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#endif /* _MISRA_RULES */
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-/* ADSP-BF538 SIC0 is same as SIC on ADSP-BF532 */
-#define pSIC_IMASK0 pSIC_IMASK
-#define pSIC_ISR0 pSIC_ISR
-#define pSIC_IWR0 pSIC_IWR
-/* ADSP-BF538 SIC1 Registers */
-#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
-#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
-#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
-
-
-/* UART0 Controller */
-/* ADSP-BF538 UART0 is same as UART on ADSP-BF532 */
-#define pUART0_THR pUART_THR
-#define pUART0_RBR pUART_RBR
-#define pUART0_DLL pUART_DLL
-#define pUART0_IER pUART_IER
-#define pUART0_DLH pUART_DLH
-#define pUART0_IIR pUART_IIR
-#define pUART0_LCR pUART_LCR
-#define pUART0_MCR pUART_MCR
-#define pUART0_LSR pUART_LSR
-#define pUART0_SCR pUART_SCR
-#define pUART0_GCTL pUART_GCTL
-
-
-/* SPI0 Controller */
-/* ADSP-BF538 SPI0 is same as SPI on ADSP-BF532 */
-#define pSPI0_CTL pSPI_CTL
-#define pSPI0_FLG pSPI_FLG
-#define pSPI0_STAT pSPI_STAT
-#define pSPI0_TDBR pSPI_TDBR
-#define pSPI0_RDBR pSPI_RDBR
-#define pSPI0_BAUD pSPI_BAUD
-#define pSPI0_SHADOW pSPI_SHADOW
-
-
-/* General-Purpose Input/Output Ports (GPIO) */
-/* ADSP-BF538 Refers to FIO as GPIO Port F */
-#define pPORTFIO pFIO_FLAG_D
-#define pPORTFIO_CLEAR pFIO_FLAG_C
-#define pPORTFIO_SET pFIO_FLAG_S
-#define pPORTFIO_TOGGLE pFIO_FLAG_T
-#define pPORTFIO_MASKA pFIO_MASKA_D
-#define pPORTFIO_MASKA_CLEAR pFIO_MASKA_C
-#define pPORTFIO_MASKA_SET pFIO_MASKA_S
-#define pPORTFIO_MASKA_TOGGLE pFIO_MASKA_T
-#define pPORTFIO_MASKB pFIO_MASKB_D
-#define pPORTFIO_MASKB_CLEAR pFIO_MASKB_C
-#define pPORTFIO_MASKB_SET pFIO_MASKB_S
-#define pPORTFIO_MASKB_TOGGLE pFIO_MASKB_T
-#define pPORTFIO_DIR pFIO_DIR
-#define pPORTFIO_POLAR pFIO_POLAR
-#define pPORTFIO_EDGE pFIO_EDGE
-#define pPORTFIO_BOTH pFIO_BOTH
-#define pPORTFIO_INEN pFIO_INEN
-
-
-/* DMA0 Traffic Control Registers */
-/* ADSP-BF538 DMA0 Controller is same as DMA Controller on ADSP-BF532 */
-#define pDMAC0_TC_PER pDMA_TC_PER
-#define pDMAC0_TC_CNT pDMA_TC_CNT
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA0_TC_PER pDMAC0_TC_PER
-#define pDMA0_TC_CNT pDMAC0_TC_CNT
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA0_TCPER pDMA0_TC_PER /* Traffic Control Periods Register */
-#define pDMA0_TCCNT pDMA0_TC_CNT /* Traffic Control Current Counts Register */
-
-/* Must Enumerate MemDMA Controllers As Well */
-#define pMDMA0_D0_NEXT_DESC_PTR pMDMA_D0_NEXT_DESC_PTR
-#define pMDMA0_D0_START_ADDR pMDMA_D0_START_ADDR
-#define pMDMA0_D0_CONFIG pMDMA_D0_CONFIG
-#define pMDMA0_D0_X_COUNT pMDMA_D0_X_COUNT
-#define pMDMA0_D0_X_MODIFY pMDMA_D0_X_MODIFY
-#define pMDMA0_D0_Y_COUNT pMDMA_D0_Y_COUNT
-#define pMDMA0_D0_Y_MODIFY pMDMA_D0_Y_MODIFY
-#define pMDMA0_D0_CURR_DESC_PTR pMDMA_D0_CURR_DESC_PTR
-#define pMDMA0_D0_CURR_ADDR pMDMA_D0_CURR_ADDR
-#define pMDMA0_D0_IRQ_STATUS pMDMA_D0_IRQ_STATUS
-#define pMDMA0_D0_PERIPHERAL_MAP pMDMA_D0_PERIPHERAL_MAP
-#define pMDMA0_D0_CURR_X_COUNT pMDMA_D0_CURR_X_COUNT
-#define pMDMA0_D0_CURR_Y_COUNT pMDMA_D0_CURR_Y_COUNT
-
-#define pMDMA0_S0_NEXT_DESC_PTR pMDMA_S0_NEXT_DESC_PTR
-#define pMDMA0_S0_START_ADDR pMDMA_S0_START_ADDR
-#define pMDMA0_S0_CONFIG pMDMA_S0_CONFIG
-#define pMDMA0_S0_X_COUNT pMDMA_S0_X_COUNT
-#define pMDMA0_S0_X_MODIFY pMDMA_S0_X_MODIFY
-#define pMDMA0_S0_Y_COUNT pMDMA_S0_Y_COUNT
-#define pMDMA0_S0_Y_MODIFY pMDMA_S0_Y_MODIFY
-#define pMDMA0_S0_CURR_DESC_PTR pMDMA_S0_CURR_DESC_PTR
-#define pMDMA0_S0_CURR_ADDR pMDMA_S0_CURR_ADDR
-#define pMDMA0_S0_IRQ_STATUS pMDMA_S0_IRQ_STATUS
-#define pMDMA0_S0_PERIPHERAL_MAP pMDMA_S0_PERIPHERAL_MAP
-#define pMDMA0_S0_CURR_X_COUNT pMDMA_S0_CURR_X_COUNT
-#define pMDMA0_S0_CURR_Y_COUNT pMDMA_S0_CURR_Y_COUNT
-
-#define pMDMA0_D1_NEXT_DESC_PTR pMDMA_D1_NEXT_DESC_PTR
-#define pMDMA0_D1_START_ADDR pMDMA_D1_START_ADDR
-#define pMDMA0_D1_CONFIG pMDMA_D1_CONFIG
-#define pMDMA0_D1_X_COUNT pMDMA_D1_X_COUNT
-#define pMDMA0_D1_X_MODIFY pMDMA_D1_X_MODIFY
-#define pMDMA0_D1_Y_COUNT pMDMA_D1_Y_COUNT
-#define pMDMA0_D1_Y_MODIFY pMDMA_D1_Y_MODIFY
-#define pMDMA0_D1_CURR_DESC_PTR pMDMA_D1_CURR_DESC_PTR
-#define pMDMA0_D1_CURR_ADDR pMDMA_D1_CURR_ADDR
-#define pMDMA0_D1_IRQ_STATUS pMDMA_D1_IRQ_STATUS
-#define pMDMA0_D1_PERIPHERAL_MAP pMDMA_D1_PERIPHERAL_MAP
-#define pMDMA0_D1_CURR_X_COUNT pMDMA_D1_CURR_X_COUNT
-#define pMDMA0_D1_CURR_Y_COUNT pMDMA_D1_CURR_Y_COUNT
-
-#define pMDMA0_S1_NEXT_DESC_PTR pMDMA_S1_NEXT_DESC_PTR
-#define pMDMA0_S1_START_ADDR pMDMA_S1_START_ADDR
-#define pMDMA0_S1_CONFIG pMDMA_S1_CONFIG
-#define pMDMA0_S1_X_COUNT pMDMA_S1_X_COUNT
-#define pMDMA0_S1_X_MODIFY pMDMA_S1_X_MODIFY
-#define pMDMA0_S1_Y_COUNT pMDMA_S1_Y_COUNT
-#define pMDMA0_S1_Y_MODIFY pMDMA_S1_Y_MODIFY
-#define pMDMA0_S1_CURR_DESC_PTR pMDMA_S1_CURR_DESC_PTR
-#define pMDMA0_S1_CURR_ADDR pMDMA_S1_CURR_ADDR
-#define pMDMA0_S1_IRQ_STATUS pMDMA_S1_IRQ_STATUS
-#define pMDMA0_S1_PERIPHERAL_MAP pMDMA_S1_PERIPHERAL_MAP
-#define pMDMA0_S1_CURR_X_COUNT pMDMA_S1_CURR_X_COUNT
-#define pMDMA0_S1_CURR_Y_COUNT pMDMA_S1_CURR_Y_COUNT
-
-
-/* Two-Wire Interface 0 */
-#define pTWI0_CLKDIV ((volatile unsigned short *)TWI0_CLKDIV)
-#define pTWI0_CONTROL ((volatile unsigned short *)TWI0_CONTROL)
-#define pTWI0_SLAVE_CTRL ((volatile unsigned short *)TWI0_SLAVE_CTRL)
-#define pTWI0_SLAVE_STAT ((volatile unsigned short *)TWI0_SLAVE_STAT)
-#define pTWI0_SLAVE_ADDR ((volatile unsigned short *)TWI0_SLAVE_ADDR)
-#define pTWI0_MASTER_CTRL ((volatile unsigned short *)TWI0_MASTER_CTRL)
-#define pTWI0_MASTER_STAT ((volatile unsigned short *)TWI0_MASTER_STAT)
-#define pTWI0_MASTER_ADDR ((volatile unsigned short *)TWI0_MASTER_ADDR)
-#define pTWI0_INT_STAT ((volatile unsigned short *)TWI0_INT_STAT)
-#define pTWI0_INT_MASK ((volatile unsigned short *)TWI0_INT_MASK)
-#define pTWI0_FIFO_CTRL ((volatile unsigned short *)TWI0_FIFO_CTRL)
-#define pTWI0_FIFO_STAT ((volatile unsigned short *)TWI0_FIFO_STAT)
-#define pTWI0_XMT_DATA8 ((volatile unsigned short *)TWI0_XMT_DATA8)
-#define pTWI0_XMT_DATA16 ((volatile unsigned short *)TWI0_XMT_DATA16)
-#define pTWI0_RCV_DATA8 ((volatile unsigned short *)TWI0_RCV_DATA8)
-#define pTWI0_RCV_DATA16 ((volatile unsigned short *)TWI0_RCV_DATA16)
-
-
-/* General Purpose IO Ports C, D, and E */
-#define pPORTCIO_FER ((volatile unsigned short *)PORTCIO_FER)
-#define pPORTCIO ((volatile unsigned short *)PORTCIO)
-#define pPORTCIO_CLEAR ((volatile unsigned short *)PORTCIO_CLEAR)
-#define pPORTCIO_SET ((volatile unsigned short *)PORTCIO_SET)
-#define pPORTCIO_TOGGLE ((volatile unsigned short *)PORTCIO_TOGGLE)
-#define pPORTCIO_DIR ((volatile unsigned short *)PORTCIO_DIR)
-#define pPORTCIO_INEN ((volatile unsigned short *)PORTCIO_INEN)
-
-#define pPORTDIO_FER ((volatile unsigned short *)PORTDIO_FER)
-#define pPORTDIO ((volatile unsigned short *)PORTDIO)
-#define pPORTDIO_CLEAR ((volatile unsigned short *)PORTDIO_CLEAR)
-#define pPORTDIO_SET ((volatile unsigned short *)PORTDIO_SET)
-#define pPORTDIO_TOGGLE ((volatile unsigned short *)PORTDIO_TOGGLE)
-#define pPORTDIO_DIR ((volatile unsigned short *)PORTDIO_DIR)
-#define pPORTDIO_INEN ((volatile unsigned short *)PORTDIO_INEN)
-
-#define pPORTEIO_FER ((volatile unsigned short *)PORTEIO_FER)
-#define pPORTEIO ((volatile unsigned short *)PORTEIO)
-#define pPORTEIO_CLEAR ((volatile unsigned short *)PORTEIO_CLEAR)
-#define pPORTEIO_SET ((volatile unsigned short *)PORTEIO_SET)
-#define pPORTEIO_TOGGLE ((volatile unsigned short *)PORTEIO_TOGGLE)
-#define pPORTEIO_DIR ((volatile unsigned short *)PORTEIO_DIR)
-#define pPORTEIO_INEN ((volatile unsigned short *)PORTEIO_INEN)
-
-
-/* DMA1 Traffic Control Registers */
-#define pDMAC1_TC_PER ((volatile unsigned short *)DMAC1_TC_PER)
-#define pDMAC1_TC_CNT ((volatile unsigned short *)DMAC1_TC_CNT)
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA1_TC_PER pDMAC1_TC_PER /* Traffic Control Periods Register */
-#define pDMA1_TC_CNT pDMAC1_TC_CNT /* Traffic Control Current Counts Register */
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA1_TCPER pDMA1_TC_PER /* Traffic Control Periods Register */
-#define pDMA1_TCCNT pDMA1_TC_CNT /* Traffic Control Current Counts Register */
-
-/* DMA Controller 1 */
-#define pDMA8_NEXT_DESC_PTR ((void * volatile *)DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR ((void * volatile *)DMA8_START_ADDR)
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR ((void * volatile *)DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR ((void * volatile *)DMA8_CURR_ADDR)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-
-#define pDMA9_NEXT_DESC_PTR ((void * volatile *)DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR ((void * volatile *)DMA9_START_ADDR)
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR ((void * volatile *)DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR ((void * volatile *)DMA9_CURR_ADDR)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-
-#define pDMA10_NEXT_DESC_PTR ((void * volatile *)DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR ((void * volatile *)DMA10_START_ADDR)
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR ((void * volatile *)DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR ((void * volatile *)DMA10_CURR_ADDR)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-
-#define pDMA11_NEXT_DESC_PTR ((void * volatile *)DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR ((void * volatile *)DMA11_START_ADDR)
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR ((void * volatile *)DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR ((void * volatile *)DMA11_CURR_ADDR)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-
-#define pDMA12_NEXT_DESC_PTR ((void * volatile *)DMA12_NEXT_DESC_PTR)
-#define pDMA12_START_ADDR ((void * volatile *)DMA12_START_ADDR)
-#define pDMA12_CONFIG ((volatile unsigned short *)DMA12_CONFIG)
-#define pDMA12_X_COUNT ((volatile unsigned short *)DMA12_X_COUNT)
-#define pDMA12_X_MODIFY ((volatile signed short *)DMA12_X_MODIFY)
-#define pDMA12_Y_COUNT ((volatile unsigned short *)DMA12_Y_COUNT)
-#define pDMA12_Y_MODIFY ((volatile signed short *)DMA12_Y_MODIFY)
-#define pDMA12_CURR_DESC_PTR ((void * volatile *)DMA12_CURR_DESC_PTR)
-#define pDMA12_CURR_ADDR ((void * volatile *)DMA12_CURR_ADDR)
-#define pDMA12_IRQ_STATUS ((volatile unsigned short *)DMA12_IRQ_STATUS)
-#define pDMA12_PERIPHERAL_MAP ((volatile unsigned short *)DMA12_PERIPHERAL_MAP)
-#define pDMA12_CURR_X_COUNT ((volatile unsigned short *)DMA12_CURR_X_COUNT)
-#define pDMA12_CURR_Y_COUNT ((volatile unsigned short *)DMA12_CURR_Y_COUNT)
-
-#define pDMA13_NEXT_DESC_PTR ((void * volatile *)DMA13_NEXT_DESC_PTR)
-#define pDMA13_START_ADDR ((void * volatile *)DMA13_START_ADDR)
-#define pDMA13_CONFIG ((volatile unsigned short *)DMA13_CONFIG)
-#define pDMA13_X_COUNT ((volatile unsigned short *)DMA13_X_COUNT)
-#define pDMA13_X_MODIFY ((volatile signed short *)DMA13_X_MODIFY)
-#define pDMA13_Y_COUNT ((volatile unsigned short *)DMA13_Y_COUNT)
-#define pDMA13_Y_MODIFY ((volatile signed short *)DMA13_Y_MODIFY)
-#define pDMA13_CURR_DESC_PTR ((void * volatile *)DMA13_CURR_DESC_PTR)
-#define pDMA13_CURR_ADDR ((void * volatile *)DMA13_CURR_ADDR)
-#define pDMA13_IRQ_STATUS ((volatile unsigned short *)DMA13_IRQ_STATUS)
-#define pDMA13_PERIPHERAL_MAP ((volatile unsigned short *)DMA13_PERIPHERAL_MAP)
-#define pDMA13_CURR_X_COUNT ((volatile unsigned short *)DMA13_CURR_X_COUNT)
-#define pDMA13_CURR_Y_COUNT ((volatile unsigned short *)DMA13_CURR_Y_COUNT)
-
-#define pDMA14_NEXT_DESC_PTR ((void * volatile *)DMA14_NEXT_DESC_PTR)
-#define pDMA14_START_ADDR ((void * volatile *)DMA14_START_ADDR)
-#define pDMA14_CONFIG ((volatile unsigned short *)DMA14_CONFIG)
-#define pDMA14_X_COUNT ((volatile unsigned short *)DMA14_X_COUNT)
-#define pDMA14_X_MODIFY ((volatile signed short *)DMA14_X_MODIFY)
-#define pDMA14_Y_COUNT ((volatile unsigned short *)DMA14_Y_COUNT)
-#define pDMA14_Y_MODIFY ((volatile signed short *)DMA14_Y_MODIFY)
-#define pDMA14_CURR_DESC_PTR ((void * volatile *)DMA14_CURR_DESC_PTR)
-#define pDMA14_CURR_ADDR ((void * volatile *)DMA14_CURR_ADDR)
-#define pDMA14_IRQ_STATUS ((volatile unsigned short *)DMA14_IRQ_STATUS)
-#define pDMA14_PERIPHERAL_MAP ((volatile unsigned short *)DMA14_PERIPHERAL_MAP)
-#define pDMA14_CURR_X_COUNT ((volatile unsigned short *)DMA14_CURR_X_COUNT)
-#define pDMA14_CURR_Y_COUNT ((volatile unsigned short *)DMA14_CURR_Y_COUNT)
-
-#define pDMA15_NEXT_DESC_PTR ((void * volatile *)DMA15_NEXT_DESC_PTR)
-#define pDMA15_START_ADDR ((void * volatile *)DMA15_START_ADDR)
-#define pDMA15_CONFIG ((volatile unsigned short *)DMA15_CONFIG)
-#define pDMA15_X_COUNT ((volatile unsigned short *)DMA15_X_COUNT)
-#define pDMA15_X_MODIFY ((volatile signed short *)DMA15_X_MODIFY)
-#define pDMA15_Y_COUNT ((volatile unsigned short *)DMA15_Y_COUNT)
-#define pDMA15_Y_MODIFY ((volatile signed short *)DMA15_Y_MODIFY)
-#define pDMA15_CURR_DESC_PTR ((void * volatile *)DMA15_CURR_DESC_PTR)
-#define pDMA15_CURR_ADDR ((void * volatile *)DMA15_CURR_ADDR)
-#define pDMA15_IRQ_STATUS ((volatile unsigned short *)DMA15_IRQ_STATUS)
-#define pDMA15_PERIPHERAL_MAP ((volatile unsigned short *)DMA15_PERIPHERAL_MAP)
-#define pDMA15_CURR_X_COUNT ((volatile unsigned short *)DMA15_CURR_X_COUNT)
-#define pDMA15_CURR_Y_COUNT ((volatile unsigned short *)DMA15_CURR_Y_COUNT)
-
-#define pDMA16_NEXT_DESC_PTR ((void * volatile *)DMA16_NEXT_DESC_PTR)
-#define pDMA16_START_ADDR ((void * volatile *)DMA16_START_ADDR)
-#define pDMA16_CONFIG ((volatile unsigned short *)DMA16_CONFIG)
-#define pDMA16_X_COUNT ((volatile unsigned short *)DMA16_X_COUNT)
-#define pDMA16_X_MODIFY ((volatile signed short *)DMA16_X_MODIFY)
-#define pDMA16_Y_COUNT ((volatile unsigned short *)DMA16_Y_COUNT)
-#define pDMA16_Y_MODIFY ((volatile signed short *)DMA16_Y_MODIFY)
-#define pDMA16_CURR_DESC_PTR ((void * volatile *)DMA16_CURR_DESC_PTR)
-#define pDMA16_CURR_ADDR ((void * volatile *)DMA16_CURR_ADDR)
-#define pDMA16_IRQ_STATUS ((volatile unsigned short *)DMA16_IRQ_STATUS)
-#define pDMA16_PERIPHERAL_MAP ((volatile unsigned short *)DMA16_PERIPHERAL_MAP)
-#define pDMA16_CURR_X_COUNT ((volatile unsigned short *)DMA16_CURR_X_COUNT)
-#define pDMA16_CURR_Y_COUNT ((volatile unsigned short *)DMA16_CURR_Y_COUNT)
-
-#define pDMA17_NEXT_DESC_PTR ((void * volatile *)DMA17_NEXT_DESC_PTR)
-#define pDMA17_START_ADDR ((void * volatile *)DMA17_START_ADDR)
-#define pDMA17_CONFIG ((volatile unsigned short *)DMA17_CONFIG)
-#define pDMA17_X_COUNT ((volatile unsigned short *)DMA17_X_COUNT)
-#define pDMA17_X_MODIFY ((volatile signed short *)DMA17_X_MODIFY)
-#define pDMA17_Y_COUNT ((volatile unsigned short *)DMA17_Y_COUNT)
-#define pDMA17_Y_MODIFY ((volatile signed short *)DMA17_Y_MODIFY)
-#define pDMA17_CURR_DESC_PTR ((void * volatile *)DMA17_CURR_DESC_PTR)
-#define pDMA17_CURR_ADDR ((void * volatile *)DMA17_CURR_ADDR)
-#define pDMA17_IRQ_STATUS ((volatile unsigned short *)DMA17_IRQ_STATUS)
-#define pDMA17_PERIPHERAL_MAP ((volatile unsigned short *)DMA17_PERIPHERAL_MAP)
-#define pDMA17_CURR_X_COUNT ((volatile unsigned short *)DMA17_CURR_X_COUNT)
-#define pDMA17_CURR_Y_COUNT ((volatile unsigned short *)DMA17_CURR_Y_COUNT)
-
-#define pDMA18_NEXT_DESC_PTR ((void * volatile *)DMA18_NEXT_DESC_PTR)
-#define pDMA18_START_ADDR ((void * volatile *)DMA18_START_ADDR)
-#define pDMA18_CONFIG ((volatile unsigned short *)DMA18_CONFIG)
-#define pDMA18_X_COUNT ((volatile unsigned short *)DMA18_X_COUNT)
-#define pDMA18_X_MODIFY ((volatile signed short *)DMA18_X_MODIFY)
-#define pDMA18_Y_COUNT ((volatile unsigned short *)DMA18_Y_COUNT)
-#define pDMA18_Y_MODIFY ((volatile signed short *)DMA18_Y_MODIFY)
-#define pDMA18_CURR_DESC_PTR ((void * volatile *)DMA18_CURR_DESC_PTR)
-#define pDMA18_CURR_ADDR ((void * volatile *)DMA18_CURR_ADDR)
-#define pDMA18_IRQ_STATUS ((volatile unsigned short *)DMA18_IRQ_STATUS)
-#define pDMA18_PERIPHERAL_MAP ((volatile unsigned short *)DMA18_PERIPHERAL_MAP)
-#define pDMA18_CURR_X_COUNT ((volatile unsigned short *)DMA18_CURR_X_COUNT)
-#define pDMA18_CURR_Y_COUNT ((volatile unsigned short *)DMA18_CURR_Y_COUNT)
-
-#define pDMA19_NEXT_DESC_PTR ((void * volatile *)DMA19_NEXT_DESC_PTR)
-#define pDMA19_START_ADDR ((void * volatile *)DMA19_START_ADDR)
-#define pDMA19_CONFIG ((volatile unsigned short *)DMA19_CONFIG)
-#define pDMA19_X_COUNT ((volatile unsigned short *)DMA19_X_COUNT)
-#define pDMA19_X_MODIFY ((volatile signed short *)DMA19_X_MODIFY)
-#define pDMA19_Y_COUNT ((volatile unsigned short *)DMA19_Y_COUNT)
-#define pDMA19_Y_MODIFY ((volatile signed short *)DMA19_Y_MODIFY)
-#define pDMA19_CURR_DESC_PTR ((void * volatile *)DMA19_CURR_DESC_PTR)
-#define pDMA19_CURR_ADDR ((void * volatile *)DMA19_CURR_ADDR)
-#define pDMA19_IRQ_STATUS ((volatile unsigned short *)DMA19_IRQ_STATUS)
-#define pDMA19_PERIPHERAL_MAP ((volatile unsigned short *)DMA19_PERIPHERAL_MAP)
-#define pDMA19_CURR_X_COUNT ((volatile unsigned short *)DMA19_CURR_X_COUNT)
-#define pDMA19_CURR_Y_COUNT ((volatile unsigned short *)DMA19_CURR_Y_COUNT)
-
-#define pMDMA1_D0_NEXT_DESC_PTR ((void * volatile *)MDMA1_D0_NEXT_DESC_PTR)
-#define pMDMA1_D0_START_ADDR ((void * volatile *)MDMA1_D0_START_ADDR)
-#define pMDMA1_D0_CONFIG ((volatile unsigned short *)MDMA1_D0_CONFIG)
-#define pMDMA1_D0_X_COUNT ((volatile unsigned short *)MDMA1_D0_X_COUNT)
-#define pMDMA1_D0_X_MODIFY ((volatile signed short *)MDMA1_D0_X_MODIFY)
-#define pMDMA1_D0_Y_COUNT ((volatile unsigned short *)MDMA1_D0_Y_COUNT)
-#define pMDMA1_D0_Y_MODIFY ((volatile signed short *)MDMA1_D0_Y_MODIFY)
-#define pMDMA1_D0_CURR_DESC_PTR ((void * volatile *)MDMA1_D0_CURR_DESC_PTR)
-#define pMDMA1_D0_CURR_ADDR ((void * volatile *)MDMA1_D0_CURR_ADDR)
-#define pMDMA1_D0_IRQ_STATUS ((volatile unsigned short *)MDMA1_D0_IRQ_STATUS)
-#define pMDMA1_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D0_PERIPHERAL_MAP)
-#define pMDMA1_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_X_COUNT)
-#define pMDMA1_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_Y_COUNT)
-
-#define pMDMA1_S0_NEXT_DESC_PTR ((void * volatile *)MDMA1_S0_NEXT_DESC_PTR)
-#define pMDMA1_S0_START_ADDR ((void * volatile *)MDMA1_S0_START_ADDR)
-#define pMDMA1_S0_CONFIG ((volatile unsigned short *)MDMA1_S0_CONFIG)
-#define pMDMA1_S0_X_COUNT ((volatile unsigned short *)MDMA1_S0_X_COUNT)
-#define pMDMA1_S0_X_MODIFY ((volatile signed short *)MDMA1_S0_X_MODIFY)
-#define pMDMA1_S0_Y_COUNT ((volatile unsigned short *)MDMA1_S0_Y_COUNT)
-#define pMDMA1_S0_Y_MODIFY ((volatile signed short *)MDMA1_S0_Y_MODIFY)
-#define pMDMA1_S0_CURR_DESC_PTR ((void * volatile *)MDMA1_S0_CURR_DESC_PTR)
-#define pMDMA1_S0_CURR_ADDR ((void * volatile *)MDMA1_S0_CURR_ADDR)
-#define pMDMA1_S0_IRQ_STATUS ((volatile unsigned short *)MDMA1_S0_IRQ_STATUS)
-#define pMDMA1_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S0_PERIPHERAL_MAP)
-#define pMDMA1_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_X_COUNT)
-#define pMDMA1_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_Y_COUNT)
-
-#define pMDMA1_D1_NEXT_DESC_PTR ((void * volatile *)MDMA1_D1_NEXT_DESC_PTR)
-#define pMDMA1_D1_START_ADDR ((void * volatile *)MDMA1_D1_START_ADDR)
-#define pMDMA1_D1_CONFIG ((volatile unsigned short *)MDMA1_D1_CONFIG)
-#define pMDMA1_D1_X_COUNT ((volatile unsigned short *)MDMA1_D1_X_COUNT)
-#define pMDMA1_D1_X_MODIFY ((volatile signed short *)MDMA1_D1_X_MODIFY)
-#define pMDMA1_D1_Y_COUNT ((volatile unsigned short *)MDMA1_D1_Y_COUNT)
-#define pMDMA1_D1_Y_MODIFY ((volatile signed short *)MDMA1_D1_Y_MODIFY)
-#define pMDMA1_D1_CURR_DESC_PTR ((void * volatile *)MDMA1_D1_CURR_DESC_PTR)
-#define pMDMA1_D1_CURR_ADDR ((void * volatile *)MDMA1_D1_CURR_ADDR)
-#define pMDMA1_D1_IRQ_STATUS ((volatile unsigned short *)MDMA1_D1_IRQ_STATUS)
-#define pMDMA1_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D1_PERIPHERAL_MAP)
-#define pMDMA1_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_X_COUNT)
-#define pMDMA1_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_Y_COUNT)
-
-#define pMDMA1_S1_NEXT_DESC_PTR ((void * volatile *)MDMA1_S1_NEXT_DESC_PTR)
-#define pMDMA1_S1_START_ADDR ((void * volatile *)MDMA1_S1_START_ADDR)
-#define pMDMA1_S1_CONFIG ((volatile unsigned short *)MDMA1_S1_CONFIG)
-#define pMDMA1_S1_X_COUNT ((volatile unsigned short *)MDMA1_S1_X_COUNT)
-#define pMDMA1_S1_X_MODIFY ((volatile signed short *)MDMA1_S1_X_MODIFY)
-#define pMDMA1_S1_Y_COUNT ((volatile unsigned short *)MDMA1_S1_Y_COUNT)
-#define pMDMA1_S1_Y_MODIFY ((volatile signed short *)MDMA1_S1_Y_MODIFY)
-#define pMDMA1_S1_CURR_DESC_PTR ((void * volatile *)MDMA1_S1_CURR_DESC_PTR)
-#define pMDMA1_S1_CURR_ADDR ((void * volatile *)MDMA1_S1_CURR_ADDR)
-#define pMDMA1_S1_IRQ_STATUS ((volatile unsigned short *)MDMA1_S1_IRQ_STATUS)
-#define pMDMA1_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S1_PERIPHERAL_MAP)
-#define pMDMA1_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_X_COUNT)
-#define pMDMA1_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_Y_COUNT)
-
-
-/* UART1 Controller */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-
-
-/* UART2 Controller */
-#define pUART2_THR ((volatile unsigned short *)UART2_THR)
-#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
-#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
-#define pUART2_IER ((volatile unsigned short *)UART2_IER)
-#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
-#define pUART2_IIR ((volatile unsigned short *)UART2_IIR)
-#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
-#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
-#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
-#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
-#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
-
-
-/* Two-Wire Interface 1 */
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTRL ((volatile unsigned short *)TWI1_SLAVE_CTRL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTRL ((volatile unsigned short *)TWI1_MASTER_CTRL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTRL ((volatile unsigned short *)TWI1_FIFO_CTRL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-
-/* SPI1 Controller */
-#define pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
-#define pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
-#define pSPI1_STAT ((volatile unsigned short *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
-
-
-/* SPI2 Controller */
-#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
-#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
-#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
-#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
-#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
-#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
-#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
-
-
-/* SPORT2 Controller */
-#define pSPORT2_TCR1 ((volatile unsigned short *)SPORT2_TCR1)
-#define pSPORT2_TCR2 ((volatile unsigned short *)SPORT2_TCR2)
-#define pSPORT2_TCLKDIV ((volatile unsigned short *)SPORT2_TCLKDIV)
-#define pSPORT2_TFSDIV ((volatile unsigned short *)SPORT2_TFSDIV)
-#define pSPORT2_TX ((volatile unsigned long *)SPORT2_TX)
-#define pSPORT2_RX ((volatile unsigned long *)SPORT2_RX)
-#define pSPORT2_TX32 ((volatile unsigned long *)SPORT2_TX)
-#define pSPORT2_RX32 ((volatile unsigned long *)SPORT2_RX)
-#define pSPORT2_TX16 ((volatile unsigned short *)SPORT2_TX)
-#define pSPORT2_RX16 ((volatile unsigned short *)SPORT2_RX)
-#define pSPORT2_RCR1 ((volatile unsigned short *)SPORT2_RCR1)
-#define pSPORT2_RCR2 ((volatile unsigned short *)SPORT2_RCR2)
-#define pSPORT2_RCLKDIV ((volatile unsigned short *)SPORT2_RCLKDIV)
-#define pSPORT2_RFSDIV ((volatile unsigned short *)SPORT2_RFSDIV)
-#define pSPORT2_STAT ((volatile unsigned short *)SPORT2_STAT)
-#define pSPORT2_CHNL ((volatile unsigned short *)SPORT2_CHNL)
-#define pSPORT2_MCMC1 ((volatile unsigned short *)SPORT2_MCMC1)
-#define pSPORT2_MCMC2 ((volatile unsigned short *)SPORT2_MCMC2)
-#define pSPORT2_MTCS0 ((volatile unsigned long *)SPORT2_MTCS0)
-#define pSPORT2_MTCS1 ((volatile unsigned long *)SPORT2_MTCS1)
-#define pSPORT2_MTCS2 ((volatile unsigned long *)SPORT2_MTCS2)
-#define pSPORT2_MTCS3 ((volatile unsigned long *)SPORT2_MTCS3)
-#define pSPORT2_MRCS0 ((volatile unsigned long *)SPORT2_MRCS0)
-#define pSPORT2_MRCS1 ((volatile unsigned long *)SPORT2_MRCS1)
-#define pSPORT2_MRCS2 ((volatile unsigned long *)SPORT2_MRCS2)
-#define pSPORT2_MRCS3 ((volatile unsigned long *)SPORT2_MRCS3)
-
-
-/* SPORT3 Controller */
-#define pSPORT3_TCR1 ((volatile unsigned short *)SPORT3_TCR1)
-#define pSPORT3_TCR2 ((volatile unsigned short *)SPORT3_TCR2)
-#define pSPORT3_TCLKDIV ((volatile unsigned short *)SPORT3_TCLKDIV)
-#define pSPORT3_TFSDIV ((volatile unsigned short *)SPORT3_TFSDIV)
-#define pSPORT3_TX ((volatile unsigned long *)SPORT3_TX)
-#define pSPORT3_RX ((volatile unsigned long *)SPORT3_RX)
-#define pSPORT3_TX32 ((volatile unsigned long *)SPORT3_TX)
-#define pSPORT3_RX32 ((volatile unsigned long *)SPORT3_RX)
-#define pSPORT3_TX16 ((volatile unsigned short *)SPORT3_TX)
-#define pSPORT3_RX16 ((volatile unsigned short *)SPORT3_RX)
-#define pSPORT3_RCR1 ((volatile unsigned short *)SPORT3_RCR1)
-#define pSPORT3_RCR2 ((volatile unsigned short *)SPORT3_RCR2)
-#define pSPORT3_RCLKDIV ((volatile unsigned short *)SPORT3_RCLKDIV)
-#define pSPORT3_RFSDIV ((volatile unsigned short *)SPORT3_RFSDIV)
-#define pSPORT3_STAT ((volatile unsigned short *)SPORT3_STAT)
-#define pSPORT3_CHNL ((volatile unsigned short *)SPORT3_CHNL)
-#define pSPORT3_MCMC1 ((volatile unsigned short *)SPORT3_MCMC1)
-#define pSPORT3_MCMC2 ((volatile unsigned short *)SPORT3_MCMC2)
-#define pSPORT3_MTCS0 ((volatile unsigned long *)SPORT3_MTCS0)
-#define pSPORT3_MTCS1 ((volatile unsigned long *)SPORT3_MTCS1)
-#define pSPORT3_MTCS2 ((volatile unsigned long *)SPORT3_MTCS2)
-#define pSPORT3_MTCS3 ((volatile unsigned long *)SPORT3_MTCS3)
-#define pSPORT3_MRCS0 ((volatile unsigned long *)SPORT3_MRCS0)
-#define pSPORT3_MRCS1 ((volatile unsigned long *)SPORT3_MRCS1)
-#define pSPORT3_MRCS2 ((volatile unsigned long *)SPORT3_MRCS2)
-#define pSPORT3_MRCS3 ((volatile unsigned long *)SPORT3_MRCS3)
-
-
-/* CAN Controller */
-/* For Mailboxes 0-15 */
-#define pCAN_MC1 ((volatile unsigned short *)CAN_MC1)
-#define pCAN_MD1 ((volatile unsigned short *)CAN_MD1)
-#define pCAN_TRS1 ((volatile unsigned short *)CAN_TRS1)
-#define pCAN_TRR1 ((volatile unsigned short *)CAN_TRR1)
-#define pCAN_TA1 ((volatile unsigned short *)CAN_TA1)
-#define pCAN_AA1 ((volatile unsigned short *)CAN_AA1)
-#define pCAN_RMP1 ((volatile unsigned short *)CAN_RMP1)
-#define pCAN_RML1 ((volatile unsigned short *)CAN_RML1)
-#define pCAN_MBTIF1 ((volatile unsigned short *)CAN_MBTIF1)
-#define pCAN_MBRIF1 ((volatile unsigned short *)CAN_MBRIF1)
-#define pCAN_MBIM1 ((volatile unsigned short *)CAN_MBIM1)
-#define pCAN_RFH1 ((volatile unsigned short *)CAN_RFH1)
-#define pCAN_OPSS1 ((volatile unsigned short *)CAN_OPSS1)
-
-/* For Mailboxes 16-31 */
-#define pCAN_MC2 ((volatile unsigned short *)CAN_MC2)
-#define pCAN_MD2 ((volatile unsigned short *)CAN_MD2)
-#define pCAN_TRS2 ((volatile unsigned short *)CAN_TRS2)
-#define pCAN_TRR2 ((volatile unsigned short *)CAN_TRR2)
-#define pCAN_TA2 ((volatile unsigned short *)CAN_TA2)
-#define pCAN_AA2 ((volatile unsigned short *)CAN_AA2)
-#define pCAN_RMP2 ((volatile unsigned short *)CAN_RMP2)
-#define pCAN_RML2 ((volatile unsigned short *)CAN_RML2)
-#define pCAN_MBTIF2 ((volatile unsigned short *)CAN_MBTIF2)
-#define pCAN_MBRIF2 ((volatile unsigned short *)CAN_MBRIF2)
-#define pCAN_MBIM2 ((volatile unsigned short *)CAN_MBIM2)
-#define pCAN_RFH2 ((volatile unsigned short *)CAN_RFH2)
-#define pCAN_OPSS2 ((volatile unsigned short *)CAN_OPSS2)
-
-#define pCAN_CLOCK ((volatile unsigned short *)CAN_CLOCK)
-#define pCAN_TIMING ((volatile unsigned short *)CAN_TIMING)
-#define pCAN_DEBUG ((volatile unsigned short *)CAN_DEBUG)
-#define pCAN_STATUS ((volatile unsigned short *)CAN_STATUS)
-#define pCAN_CEC ((volatile unsigned short *)CAN_CEC)
-#define pCAN_GIS ((volatile unsigned short *)CAN_GIS)
-#define pCAN_GIM ((volatile unsigned short *)CAN_GIM)
-#define pCAN_GIF ((volatile unsigned short *)CAN_GIF)
-#define pCAN_CONTROL ((volatile unsigned short *)CAN_CONTROL)
-#define pCAN_INTR ((volatile unsigned short *)CAN_INTR)
-#define pCAN_MBTD ((volatile unsigned short *)CAN_MBTD)
-#define pCAN_EWR ((volatile unsigned short *)CAN_EWR)
-#define pCAN_ESR ((volatile unsigned short *)CAN_ESR)
-#define pCAN_UCCNT ((volatile unsigned short *)CAN_UCCNT)
-#define pCAN_UCRC ((volatile unsigned short *)CAN_UCRC)
-#define pCAN_UCCNF ((volatile unsigned short *)CAN_UCCNF)
-
-/* Mailbox Acceptance Masks */
-#define pCAN_AM00L ((volatile unsigned short *)CAN_AM00L)
-#define pCAN_AM00H ((volatile unsigned short *)CAN_AM00H)
-#define pCAN_AM01L ((volatile unsigned short *)CAN_AM01L)
-#define pCAN_AM01H ((volatile unsigned short *)CAN_AM01H)
-#define pCAN_AM02L ((volatile unsigned short *)CAN_AM02L)
-#define pCAN_AM02H ((volatile unsigned short *)CAN_AM02H)
-#define pCAN_AM03L ((volatile unsigned short *)CAN_AM03L)
-#define pCAN_AM03H ((volatile unsigned short *)CAN_AM03H)
-#define pCAN_AM04L ((volatile unsigned short *)CAN_AM04L)
-#define pCAN_AM04H ((volatile unsigned short *)CAN_AM04H)
-#define pCAN_AM05L ((volatile unsigned short *)CAN_AM05L)
-#define pCAN_AM05H ((volatile unsigned short *)CAN_AM05H)
-#define pCAN_AM06L ((volatile unsigned short *)CAN_AM06L)
-#define pCAN_AM06H ((volatile unsigned short *)CAN_AM06H)
-#define pCAN_AM07L ((volatile unsigned short *)CAN_AM07L)
-#define pCAN_AM07H ((volatile unsigned short *)CAN_AM07H)
-#define pCAN_AM08L ((volatile unsigned short *)CAN_AM08L)
-#define pCAN_AM08H ((volatile unsigned short *)CAN_AM08H)
-#define pCAN_AM09L ((volatile unsigned short *)CAN_AM09L)
-#define pCAN_AM09H ((volatile unsigned short *)CAN_AM09H)
-#define pCAN_AM10L ((volatile unsigned short *)CAN_AM10L)
-#define pCAN_AM10H ((volatile unsigned short *)CAN_AM10H)
-#define pCAN_AM11L ((volatile unsigned short *)CAN_AM11L)
-#define pCAN_AM11H ((volatile unsigned short *)CAN_AM11H)
-#define pCAN_AM12L ((volatile unsigned short *)CAN_AM12L)
-#define pCAN_AM12H ((volatile unsigned short *)CAN_AM12H)
-#define pCAN_AM13L ((volatile unsigned short *)CAN_AM13L)
-#define pCAN_AM13H ((volatile unsigned short *)CAN_AM13H)
-#define pCAN_AM14L ((volatile unsigned short *)CAN_AM14L)
-#define pCAN_AM14H ((volatile unsigned short *)CAN_AM14H)
-#define pCAN_AM15L ((volatile unsigned short *)CAN_AM15L)
-#define pCAN_AM15H ((volatile unsigned short *)CAN_AM15H)
-
-#define pCAN_AM16L ((volatile unsigned short *)CAN_AM16L)
-#define pCAN_AM16H ((volatile unsigned short *)CAN_AM16H)
-#define pCAN_AM17L ((volatile unsigned short *)CAN_AM17L)
-#define pCAN_AM17H ((volatile unsigned short *)CAN_AM17H)
-#define pCAN_AM18L ((volatile unsigned short *)CAN_AM18L)
-#define pCAN_AM18H ((volatile unsigned short *)CAN_AM18H)
-#define pCAN_AM19L ((volatile unsigned short *)CAN_AM19L)
-#define pCAN_AM19H ((volatile unsigned short *)CAN_AM19H)
-#define pCAN_AM20L ((volatile unsigned short *)CAN_AM20L)
-#define pCAN_AM20H ((volatile unsigned short *)CAN_AM20H)
-#define pCAN_AM21L ((volatile unsigned short *)CAN_AM21L)
-#define pCAN_AM21H ((volatile unsigned short *)CAN_AM21H)
-#define pCAN_AM22L ((volatile unsigned short *)CAN_AM22L)
-#define pCAN_AM22H ((volatile unsigned short *)CAN_AM22H)
-#define pCAN_AM23L ((volatile unsigned short *)CAN_AM23L)
-#define pCAN_AM23H ((volatile unsigned short *)CAN_AM23H)
-#define pCAN_AM24L ((volatile unsigned short *)CAN_AM24L)
-#define pCAN_AM24H ((volatile unsigned short *)CAN_AM24H)
-#define pCAN_AM25L ((volatile unsigned short *)CAN_AM25L)
-#define pCAN_AM25H ((volatile unsigned short *)CAN_AM25H)
-#define pCAN_AM26L ((volatile unsigned short *)CAN_AM26L)
-#define pCAN_AM26H ((volatile unsigned short *)CAN_AM26H)
-#define pCAN_AM27L ((volatile unsigned short *)CAN_AM27L)
-#define pCAN_AM27H ((volatile unsigned short *)CAN_AM27H)
-#define pCAN_AM28L ((volatile unsigned short *)CAN_AM28L)
-#define pCAN_AM28H ((volatile unsigned short *)CAN_AM28H)
-#define pCAN_AM29L ((volatile unsigned short *)CAN_AM29L)
-#define pCAN_AM29H ((volatile unsigned short *)CAN_AM29H)
-#define pCAN_AM30L ((volatile unsigned short *)CAN_AM30L)
-#define pCAN_AM30H ((volatile unsigned short *)CAN_AM30H)
-#define pCAN_AM31L ((volatile unsigned short *)CAN_AM31L)
-#define pCAN_AM31H ((volatile unsigned short *)CAN_AM31H)
-
-/* CAN Acceptance Mask Area Macros */
-#define pCAN_AM_L(x) ((volatile unsigned short *)CAN_AM_L(x))
-#define pCAN_AM_H(x) ((volatile unsigned short *)CAN_AM_H(x))
-
-/* Mailbox Registers */
-#define pCAN_MB00_DATA0 ((volatile unsigned short *)CAN_MB00_DATA0)
-#define pCAN_MB00_DATA1 ((volatile unsigned short *)CAN_MB00_DATA1)
-#define pCAN_MB00_DATA2 ((volatile unsigned short *)CAN_MB00_DATA2)
-#define pCAN_MB00_DATA3 ((volatile unsigned short *)CAN_MB00_DATA3)
-#define pCAN_MB00_LENGTH ((volatile unsigned short *)CAN_MB00_LENGTH)
-#define pCAN_MB00_TIMESTAMP ((volatile unsigned short *)CAN_MB00_TIMESTAMP)
-#define pCAN_MB00_ID0 ((volatile unsigned short *)CAN_MB00_ID0)
-#define pCAN_MB00_ID1 ((volatile unsigned short *)CAN_MB00_ID1)
-
-#define pCAN_MB01_DATA0 ((volatile unsigned short *)CAN_MB01_DATA0)
-#define pCAN_MB01_DATA1 ((volatile unsigned short *)CAN_MB01_DATA1)
-#define pCAN_MB01_DATA2 ((volatile unsigned short *)CAN_MB01_DATA2)
-#define pCAN_MB01_DATA3 ((volatile unsigned short *)CAN_MB01_DATA3)
-#define pCAN_MB01_LENGTH ((volatile unsigned short *)CAN_MB01_LENGTH)
-#define pCAN_MB01_TIMESTAMP ((volatile unsigned short *)CAN_MB01_TIMESTAMP)
-#define pCAN_MB01_ID0 ((volatile unsigned short *)CAN_MB01_ID0)
-#define pCAN_MB01_ID1 ((volatile unsigned short *)CAN_MB01_ID1)
-
-#define pCAN_MB02_DATA0 ((volatile unsigned short *)CAN_MB02_DATA0)
-#define pCAN_MB02_DATA1 ((volatile unsigned short *)CAN_MB02_DATA1)
-#define pCAN_MB02_DATA2 ((volatile unsigned short *)CAN_MB02_DATA2)
-#define pCAN_MB02_DATA3 ((volatile unsigned short *)CAN_MB02_DATA3)
-#define pCAN_MB02_LENGTH ((volatile unsigned short *)CAN_MB02_LENGTH)
-#define pCAN_MB02_TIMESTAMP ((volatile unsigned short *)CAN_MB02_TIMESTAMP)
-#define pCAN_MB02_ID0 ((volatile unsigned short *)CAN_MB02_ID0)
-#define pCAN_MB02_ID1 ((volatile unsigned short *)CAN_MB02_ID1)
-
-#define pCAN_MB03_DATA0 ((volatile unsigned short *)CAN_MB03_DATA0)
-#define pCAN_MB03_DATA1 ((volatile unsigned short *)CAN_MB03_DATA1)
-#define pCAN_MB03_DATA2 ((volatile unsigned short *)CAN_MB03_DATA2)
-#define pCAN_MB03_DATA3 ((volatile unsigned short *)CAN_MB03_DATA3)
-#define pCAN_MB03_LENGTH ((volatile unsigned short *)CAN_MB03_LENGTH)
-#define pCAN_MB03_TIMESTAMP ((volatile unsigned short *)CAN_MB03_TIMESTAMP)
-#define pCAN_MB03_ID0 ((volatile unsigned short *)CAN_MB03_ID0)
-#define pCAN_MB03_ID1 ((volatile unsigned short *)CAN_MB03_ID1)
-
-#define pCAN_MB04_DATA0 ((volatile unsigned short *)CAN_MB04_DATA0)
-#define pCAN_MB04_DATA1 ((volatile unsigned short *)CAN_MB04_DATA1)
-#define pCAN_MB04_DATA2 ((volatile unsigned short *)CAN_MB04_DATA2)
-#define pCAN_MB04_DATA3 ((volatile unsigned short *)CAN_MB04_DATA3)
-#define pCAN_MB04_LENGTH ((volatile unsigned short *)CAN_MB04_LENGTH)
-#define pCAN_MB04_TIMESTAMP ((volatile unsigned short *)CAN_MB04_TIMESTAMP)
-#define pCAN_MB04_ID0 ((volatile unsigned short *)CAN_MB04_ID0)
-#define pCAN_MB04_ID1 ((volatile unsigned short *)CAN_MB04_ID1)
-
-#define pCAN_MB05_DATA0 ((volatile unsigned short *)CAN_MB05_DATA0)
-#define pCAN_MB05_DATA1 ((volatile unsigned short *)CAN_MB05_DATA1)
-#define pCAN_MB05_DATA2 ((volatile unsigned short *)CAN_MB05_DATA2)
-#define pCAN_MB05_DATA3 ((volatile unsigned short *)CAN_MB05_DATA3)
-#define pCAN_MB05_LENGTH ((volatile unsigned short *)CAN_MB05_LENGTH)
-#define pCAN_MB05_TIMESTAMP ((volatile unsigned short *)CAN_MB05_TIMESTAMP)
-#define pCAN_MB05_ID0 ((volatile unsigned short *)CAN_MB05_ID0)
-#define pCAN_MB05_ID1 ((volatile unsigned short *)CAN_MB05_ID1)
-
-#define pCAN_MB06_DATA0 ((volatile unsigned short *)CAN_MB06_DATA0)
-#define pCAN_MB06_DATA1 ((volatile unsigned short *)CAN_MB06_DATA1)
-#define pCAN_MB06_DATA2 ((volatile unsigned short *)CAN_MB06_DATA2)
-#define pCAN_MB06_DATA3 ((volatile unsigned short *)CAN_MB06_DATA3)
-#define pCAN_MB06_LENGTH ((volatile unsigned short *)CAN_MB06_LENGTH)
-#define pCAN_MB06_TIMESTAMP ((volatile unsigned short *)CAN_MB06_TIMESTAMP)
-#define pCAN_MB06_ID0 ((volatile unsigned short *)CAN_MB06_ID0)
-#define pCAN_MB06_ID1 ((volatile unsigned short *)CAN_MB06_ID1)
-
-#define pCAN_MB07_DATA0 ((volatile unsigned short *)CAN_MB07_DATA0)
-#define pCAN_MB07_DATA1 ((volatile unsigned short *)CAN_MB07_DATA1)
-#define pCAN_MB07_DATA2 ((volatile unsigned short *)CAN_MB07_DATA2)
-#define pCAN_MB07_DATA3 ((volatile unsigned short *)CAN_MB07_DATA3)
-#define pCAN_MB07_LENGTH ((volatile unsigned short *)CAN_MB07_LENGTH)
-#define pCAN_MB07_TIMESTAMP ((volatile unsigned short *)CAN_MB07_TIMESTAMP)
-#define pCAN_MB07_ID0 ((volatile unsigned short *)CAN_MB07_ID0)
-#define pCAN_MB07_ID1 ((volatile unsigned short *)CAN_MB07_ID1)
-
-#define pCAN_MB08_DATA0 ((volatile unsigned short *)CAN_MB08_DATA0)
-#define pCAN_MB08_DATA1 ((volatile unsigned short *)CAN_MB08_DATA1)
-#define pCAN_MB08_DATA2 ((volatile unsigned short *)CAN_MB08_DATA2)
-#define pCAN_MB08_DATA3 ((volatile unsigned short *)CAN_MB08_DATA3)
-#define pCAN_MB08_LENGTH ((volatile unsigned short *)CAN_MB08_LENGTH)
-#define pCAN_MB08_TIMESTAMP ((volatile unsigned short *)CAN_MB08_TIMESTAMP)
-#define pCAN_MB08_ID0 ((volatile unsigned short *)CAN_MB08_ID0)
-#define pCAN_MB08_ID1 ((volatile unsigned short *)CAN_MB08_ID1)
-
-#define pCAN_MB09_DATA0 ((volatile unsigned short *)CAN_MB09_DATA0)
-#define pCAN_MB09_DATA1 ((volatile unsigned short *)CAN_MB09_DATA1)
-#define pCAN_MB09_DATA2 ((volatile unsigned short *)CAN_MB09_DATA2)
-#define pCAN_MB09_DATA3 ((volatile unsigned short *)CAN_MB09_DATA3)
-#define pCAN_MB09_LENGTH ((volatile unsigned short *)CAN_MB09_LENGTH)
-#define pCAN_MB09_TIMESTAMP ((volatile unsigned short *)CAN_MB09_TIMESTAMP)
-#define pCAN_MB09_ID0 ((volatile unsigned short *)CAN_MB09_ID0)
-#define pCAN_MB09_ID1 ((volatile unsigned short *)CAN_MB09_ID1)
-
-#define pCAN_MB10_DATA0 ((volatile unsigned short *)CAN_MB10_DATA0)
-#define pCAN_MB10_DATA1 ((volatile unsigned short *)CAN_MB10_DATA1)
-#define pCAN_MB10_DATA2 ((volatile unsigned short *)CAN_MB10_DATA2)
-#define pCAN_MB10_DATA3 ((volatile unsigned short *)CAN_MB10_DATA3)
-#define pCAN_MB10_LENGTH ((volatile unsigned short *)CAN_MB10_LENGTH)
-#define pCAN_MB10_TIMESTAMP ((volatile unsigned short *)CAN_MB10_TIMESTAMP)
-#define pCAN_MB10_ID0 ((volatile unsigned short *)CAN_MB10_ID0)
-#define pCAN_MB10_ID1 ((volatile unsigned short *)CAN_MB10_ID1)
-
-#define pCAN_MB11_DATA0 ((volatile unsigned short *)CAN_MB11_DATA0)
-#define pCAN_MB11_DATA1 ((volatile unsigned short *)CAN_MB11_DATA1)
-#define pCAN_MB11_DATA2 ((volatile unsigned short *)CAN_MB11_DATA2)
-#define pCAN_MB11_DATA3 ((volatile unsigned short *)CAN_MB11_DATA3)
-#define pCAN_MB11_LENGTH ((volatile unsigned short *)CAN_MB11_LENGTH)
-#define pCAN_MB11_TIMESTAMP ((volatile unsigned short *)CAN_MB11_TIMESTAMP)
-#define pCAN_MB11_ID0 ((volatile unsigned short *)CAN_MB11_ID0)
-#define pCAN_MB11_ID1 ((volatile unsigned short *)CAN_MB11_ID1)
-
-#define pCAN_MB12_DATA0 ((volatile unsigned short *)CAN_MB12_DATA0)
-#define pCAN_MB12_DATA1 ((volatile unsigned short *)CAN_MB12_DATA1)
-#define pCAN_MB12_DATA2 ((volatile unsigned short *)CAN_MB12_DATA2)
-#define pCAN_MB12_DATA3 ((volatile unsigned short *)CAN_MB12_DATA3)
-#define pCAN_MB12_LENGTH ((volatile unsigned short *)CAN_MB12_LENGTH)
-#define pCAN_MB12_TIMESTAMP ((volatile unsigned short *)CAN_MB12_TIMESTAMP)
-#define pCAN_MB12_ID0 ((volatile unsigned short *)CAN_MB12_ID0)
-#define pCAN_MB12_ID1 ((volatile unsigned short *)CAN_MB12_ID1)
-
-#define pCAN_MB13_DATA0 ((volatile unsigned short *)CAN_MB13_DATA0)
-#define pCAN_MB13_DATA1 ((volatile unsigned short *)CAN_MB13_DATA1)
-#define pCAN_MB13_DATA2 ((volatile unsigned short *)CAN_MB13_DATA2)
-#define pCAN_MB13_DATA3 ((volatile unsigned short *)CAN_MB13_DATA3)
-#define pCAN_MB13_LENGTH ((volatile unsigned short *)CAN_MB13_LENGTH)
-#define pCAN_MB13_TIMESTAMP ((volatile unsigned short *)CAN_MB13_TIMESTAMP)
-#define pCAN_MB13_ID0 ((volatile unsigned short *)CAN_MB13_ID0)
-#define pCAN_MB13_ID1 ((volatile unsigned short *)CAN_MB13_ID1)
-
-#define pCAN_MB14_DATA0 ((volatile unsigned short *)CAN_MB14_DATA0)
-#define pCAN_MB14_DATA1 ((volatile unsigned short *)CAN_MB14_DATA1)
-#define pCAN_MB14_DATA2 ((volatile unsigned short *)CAN_MB14_DATA2)
-#define pCAN_MB14_DATA3 ((volatile unsigned short *)CAN_MB14_DATA3)
-#define pCAN_MB14_LENGTH ((volatile unsigned short *)CAN_MB14_LENGTH)
-#define pCAN_MB14_TIMESTAMP ((volatile unsigned short *)CAN_MB14_TIMESTAMP)
-#define pCAN_MB14_ID0 ((volatile unsigned short *)CAN_MB14_ID0)
-#define pCAN_MB14_ID1 ((volatile unsigned short *)CAN_MB14_ID1)
-
-#define pCAN_MB15_DATA0 ((volatile unsigned short *)CAN_MB15_DATA0)
-#define pCAN_MB15_DATA1 ((volatile unsigned short *)CAN_MB15_DATA1)
-#define pCAN_MB15_DATA2 ((volatile unsigned short *)CAN_MB15_DATA2)
-#define pCAN_MB15_DATA3 ((volatile unsigned short *)CAN_MB15_DATA3)
-#define pCAN_MB15_LENGTH ((volatile unsigned short *)CAN_MB15_LENGTH)
-#define pCAN_MB15_TIMESTAMP ((volatile unsigned short *)CAN_MB15_TIMESTAMP)
-#define pCAN_MB15_ID0 ((volatile unsigned short *)CAN_MB15_ID0)
-#define pCAN_MB15_ID1 ((volatile unsigned short *)CAN_MB15_ID1)
-
-#define pCAN_MB16_DATA0 ((volatile unsigned short *)CAN_MB16_DATA0)
-#define pCAN_MB16_DATA1 ((volatile unsigned short *)CAN_MB16_DATA1)
-#define pCAN_MB16_DATA2 ((volatile unsigned short *)CAN_MB16_DATA2)
-#define pCAN_MB16_DATA3 ((volatile unsigned short *)CAN_MB16_DATA3)
-#define pCAN_MB16_LENGTH ((volatile unsigned short *)CAN_MB16_LENGTH)
-#define pCAN_MB16_TIMESTAMP ((volatile unsigned short *)CAN_MB16_TIMESTAMP)
-#define pCAN_MB16_ID0 ((volatile unsigned short *)CAN_MB16_ID0)
-#define pCAN_MB16_ID1 ((volatile unsigned short *)CAN_MB16_ID1)
-
-#define pCAN_MB17_DATA0 ((volatile unsigned short *)CAN_MB17_DATA0)
-#define pCAN_MB17_DATA1 ((volatile unsigned short *)CAN_MB17_DATA1)
-#define pCAN_MB17_DATA2 ((volatile unsigned short *)CAN_MB17_DATA2)
-#define pCAN_MB17_DATA3 ((volatile unsigned short *)CAN_MB17_DATA3)
-#define pCAN_MB17_LENGTH ((volatile unsigned short *)CAN_MB17_LENGTH)
-#define pCAN_MB17_TIMESTAMP ((volatile unsigned short *)CAN_MB17_TIMESTAMP)
-#define pCAN_MB17_ID0 ((volatile unsigned short *)CAN_MB17_ID0)
-#define pCAN_MB17_ID1 ((volatile unsigned short *)CAN_MB17_ID1)
-
-#define pCAN_MB18_DATA0 ((volatile unsigned short *)CAN_MB18_DATA0)
-#define pCAN_MB18_DATA1 ((volatile unsigned short *)CAN_MB18_DATA1)
-#define pCAN_MB18_DATA2 ((volatile unsigned short *)CAN_MB18_DATA2)
-#define pCAN_MB18_DATA3 ((volatile unsigned short *)CAN_MB18_DATA3)
-#define pCAN_MB18_LENGTH ((volatile unsigned short *)CAN_MB18_LENGTH)
-#define pCAN_MB18_TIMESTAMP ((volatile unsigned short *)CAN_MB18_TIMESTAMP)
-#define pCAN_MB18_ID0 ((volatile unsigned short *)CAN_MB18_ID0)
-#define pCAN_MB18_ID1 ((volatile unsigned short *)CAN_MB18_ID1)
-
-#define pCAN_MB19_DATA0 ((volatile unsigned short *)CAN_MB19_DATA0)
-#define pCAN_MB19_DATA1 ((volatile unsigned short *)CAN_MB19_DATA1)
-#define pCAN_MB19_DATA2 ((volatile unsigned short *)CAN_MB19_DATA2)
-#define pCAN_MB19_DATA3 ((volatile unsigned short *)CAN_MB19_DATA3)
-#define pCAN_MB19_LENGTH ((volatile unsigned short *)CAN_MB19_LENGTH)
-#define pCAN_MB19_TIMESTAMP ((volatile unsigned short *)CAN_MB19_TIMESTAMP)
-#define pCAN_MB19_ID0 ((volatile unsigned short *)CAN_MB19_ID0)
-#define pCAN_MB19_ID1 ((volatile unsigned short *)CAN_MB19_ID1)
-
-#define pCAN_MB20_DATA0 ((volatile unsigned short *)CAN_MB20_DATA0)
-#define pCAN_MB20_DATA1 ((volatile unsigned short *)CAN_MB20_DATA1)
-#define pCAN_MB20_DATA2 ((volatile unsigned short *)CAN_MB20_DATA2)
-#define pCAN_MB20_DATA3 ((volatile unsigned short *)CAN_MB20_DATA3)
-#define pCAN_MB20_LENGTH ((volatile unsigned short *)CAN_MB20_LENGTH)
-#define pCAN_MB20_TIMESTAMP ((volatile unsigned short *)CAN_MB20_TIMESTAMP)
-#define pCAN_MB20_ID0 ((volatile unsigned short *)CAN_MB20_ID0)
-#define pCAN_MB20_ID1 ((volatile unsigned short *)CAN_MB20_ID1)
-
-#define pCAN_MB21_DATA0 ((volatile unsigned short *)CAN_MB21_DATA0)
-#define pCAN_MB21_DATA1 ((volatile unsigned short *)CAN_MB21_DATA1)
-#define pCAN_MB21_DATA2 ((volatile unsigned short *)CAN_MB21_DATA2)
-#define pCAN_MB21_DATA3 ((volatile unsigned short *)CAN_MB21_DATA3)
-#define pCAN_MB21_LENGTH ((volatile unsigned short *)CAN_MB21_LENGTH)
-#define pCAN_MB21_TIMESTAMP ((volatile unsigned short *)CAN_MB21_TIMESTAMP)
-#define pCAN_MB21_ID0 ((volatile unsigned short *)CAN_MB21_ID0)
-#define pCAN_MB21_ID1 ((volatile unsigned short *)CAN_MB21_ID1)
-
-#define pCAN_MB22_DATA0 ((volatile unsigned short *)CAN_MB22_DATA0)
-#define pCAN_MB22_DATA1 ((volatile unsigned short *)CAN_MB22_DATA1)
-#define pCAN_MB22_DATA2 ((volatile unsigned short *)CAN_MB22_DATA2)
-#define pCAN_MB22_DATA3 ((volatile unsigned short *)CAN_MB22_DATA3)
-#define pCAN_MB22_LENGTH ((volatile unsigned short *)CAN_MB22_LENGTH)
-#define pCAN_MB22_TIMESTAMP ((volatile unsigned short *)CAN_MB22_TIMESTAMP)
-#define pCAN_MB22_ID0 ((volatile unsigned short *)CAN_MB22_ID0)
-#define pCAN_MB22_ID1 ((volatile unsigned short *)CAN_MB22_ID1)
-
-#define pCAN_MB23_DATA0 ((volatile unsigned short *)CAN_MB23_DATA0)
-#define pCAN_MB23_DATA1 ((volatile unsigned short *)CAN_MB23_DATA1)
-#define pCAN_MB23_DATA2 ((volatile unsigned short *)CAN_MB23_DATA2)
-#define pCAN_MB23_DATA3 ((volatile unsigned short *)CAN_MB23_DATA3)
-#define pCAN_MB23_LENGTH ((volatile unsigned short *)CAN_MB23_LENGTH)
-#define pCAN_MB23_TIMESTAMP ((volatile unsigned short *)CAN_MB23_TIMESTAMP)
-#define pCAN_MB23_ID0 ((volatile unsigned short *)CAN_MB23_ID0)
-#define pCAN_MB23_ID1 ((volatile unsigned short *)CAN_MB23_ID1)
-
-#define pCAN_MB24_DATA0 ((volatile unsigned short *)CAN_MB24_DATA0)
-#define pCAN_MB24_DATA1 ((volatile unsigned short *)CAN_MB24_DATA1)
-#define pCAN_MB24_DATA2 ((volatile unsigned short *)CAN_MB24_DATA2)
-#define pCAN_MB24_DATA3 ((volatile unsigned short *)CAN_MB24_DATA3)
-#define pCAN_MB24_LENGTH ((volatile unsigned short *)CAN_MB24_LENGTH)
-#define pCAN_MB24_TIMESTAMP ((volatile unsigned short *)CAN_MB24_TIMESTAMP)
-#define pCAN_MB24_ID0 ((volatile unsigned short *)CAN_MB24_ID0)
-#define pCAN_MB24_ID1 ((volatile unsigned short *)CAN_MB24_ID1)
-
-#define pCAN_MB25_DATA0 ((volatile unsigned short *)CAN_MB25_DATA0)
-#define pCAN_MB25_DATA1 ((volatile unsigned short *)CAN_MB25_DATA1)
-#define pCAN_MB25_DATA2 ((volatile unsigned short *)CAN_MB25_DATA2)
-#define pCAN_MB25_DATA3 ((volatile unsigned short *)CAN_MB25_DATA3)
-#define pCAN_MB25_LENGTH ((volatile unsigned short *)CAN_MB25_LENGTH)
-#define pCAN_MB25_TIMESTAMP ((volatile unsigned short *)CAN_MB25_TIMESTAMP)
-#define pCAN_MB25_ID0 ((volatile unsigned short *)CAN_MB25_ID0)
-#define pCAN_MB25_ID1 ((volatile unsigned short *)CAN_MB25_ID1)
-
-#define pCAN_MB26_DATA0 ((volatile unsigned short *)CAN_MB26_DATA0)
-#define pCAN_MB26_DATA1 ((volatile unsigned short *)CAN_MB26_DATA1)
-#define pCAN_MB26_DATA2 ((volatile unsigned short *)CAN_MB26_DATA2)
-#define pCAN_MB26_DATA3 ((volatile unsigned short *)CAN_MB26_DATA3)
-#define pCAN_MB26_LENGTH ((volatile unsigned short *)CAN_MB26_LENGTH)
-#define pCAN_MB26_TIMESTAMP ((volatile unsigned short *)CAN_MB26_TIMESTAMP)
-#define pCAN_MB26_ID0 ((volatile unsigned short *)CAN_MB26_ID0)
-#define pCAN_MB26_ID1 ((volatile unsigned short *)CAN_MB26_ID1)
-
-#define pCAN_MB27_DATA0 ((volatile unsigned short *)CAN_MB27_DATA0)
-#define pCAN_MB27_DATA1 ((volatile unsigned short *)CAN_MB27_DATA1)
-#define pCAN_MB27_DATA2 ((volatile unsigned short *)CAN_MB27_DATA2)
-#define pCAN_MB27_DATA3 ((volatile unsigned short *)CAN_MB27_DATA3)
-#define pCAN_MB27_LENGTH ((volatile unsigned short *)CAN_MB27_LENGTH)
-#define pCAN_MB27_TIMESTAMP ((volatile unsigned short *)CAN_MB27_TIMESTAMP)
-#define pCAN_MB27_ID0 ((volatile unsigned short *)CAN_MB27_ID0)
-#define pCAN_MB27_ID1 ((volatile unsigned short *)CAN_MB27_ID1)
-
-#define pCAN_MB28_DATA0 ((volatile unsigned short *)CAN_MB28_DATA0)
-#define pCAN_MB28_DATA1 ((volatile unsigned short *)CAN_MB28_DATA1)
-#define pCAN_MB28_DATA2 ((volatile unsigned short *)CAN_MB28_DATA2)
-#define pCAN_MB28_DATA3 ((volatile unsigned short *)CAN_MB28_DATA3)
-#define pCAN_MB28_LENGTH ((volatile unsigned short *)CAN_MB28_LENGTH)
-#define pCAN_MB28_TIMESTAMP ((volatile unsigned short *)CAN_MB28_TIMESTAMP)
-#define pCAN_MB28_ID0 ((volatile unsigned short *)CAN_MB28_ID0)
-#define pCAN_MB28_ID1 ((volatile unsigned short *)CAN_MB28_ID1)
-
-#define pCAN_MB29_DATA0 ((volatile unsigned short *)CAN_MB29_DATA0)
-#define pCAN_MB29_DATA1 ((volatile unsigned short *)CAN_MB29_DATA1)
-#define pCAN_MB29_DATA2 ((volatile unsigned short *)CAN_MB29_DATA2)
-#define pCAN_MB29_DATA3 ((volatile unsigned short *)CAN_MB29_DATA3)
-#define pCAN_MB29_LENGTH ((volatile unsigned short *)CAN_MB29_LENGTH)
-#define pCAN_MB29_TIMESTAMP ((volatile unsigned short *)CAN_MB29_TIMESTAMP)
-#define pCAN_MB29_ID0 ((volatile unsigned short *)CAN_MB29_ID0)
-#define pCAN_MB29_ID1 ((volatile unsigned short *)CAN_MB29_ID1)
-
-#define pCAN_MB30_DATA0 ((volatile unsigned short *)CAN_MB30_DATA0)
-#define pCAN_MB30_DATA1 ((volatile unsigned short *)CAN_MB30_DATA1)
-#define pCAN_MB30_DATA2 ((volatile unsigned short *)CAN_MB30_DATA2)
-#define pCAN_MB30_DATA3 ((volatile unsigned short *)CAN_MB30_DATA3)
-#define pCAN_MB30_LENGTH ((volatile unsigned short *)CAN_MB30_LENGTH)
-#define pCAN_MB30_TIMESTAMP ((volatile unsigned short *)CAN_MB30_TIMESTAMP)
-#define pCAN_MB30_ID0 ((volatile unsigned short *)CAN_MB30_ID0)
-#define pCAN_MB30_ID1 ((volatile unsigned short *)CAN_MB30_ID1)
-
-#define pCAN_MB31_DATA0 ((volatile unsigned short *)CAN_MB31_DATA0)
-#define pCAN_MB31_DATA1 ((volatile unsigned short *)CAN_MB31_DATA1)
-#define pCAN_MB31_DATA2 ((volatile unsigned short *)CAN_MB31_DATA2)
-#define pCAN_MB31_DATA3 ((volatile unsigned short *)CAN_MB31_DATA3)
-#define pCAN_MB31_LENGTH ((volatile unsigned short *)CAN_MB31_LENGTH)
-#define pCAN_MB31_TIMESTAMP ((volatile unsigned short *)CAN_MB31_TIMESTAMP)
-#define pCAN_MB31_ID0 ((volatile unsigned short *)CAN_MB31_ID0)
-#define pCAN_MB31_ID1 ((volatile unsigned short *)CAN_MB31_ID1)
-
-
-/* CAN Mailbox Area Macros */
-#define pCAN_MB_ID1(x) ((volatile unsigned short *)CAN_MB_ID1(x))
-#define pCAN_MB_ID0(x) ((volatile unsigned short *)CAN_MB_ID0(x))
-#define pCAN_MB_TIMESTAMP(x) ((volatile unsigned short *)CAN_MB_TIMESTAMP(x))
-#define pCAN_MB_LENGTH(x) ((volatile unsigned short *)CAN_MB_LENGTH(x))
-#define pCAN_MB_DATA3(x) ((volatile unsigned short *)CAN_MB_DATA3(x))
-#define pCAN_MB_DATA2(x) ((volatile unsigned short *)CAN_MB_DATA2(x))
-#define pCAN_MB_DATA1(x) ((volatile unsigned short *)CAN_MB_DATA1(x))
-#define pCAN_MB_DATA0(x) ((volatile unsigned short *)CAN_MB_DATA0(x))
-
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define pCAN_CNF pCAN_DEBUG
-#define pTWI0_PRESCALE pTWI0_CONTROL
-#define pTWI0_INT_SRC pTWI0_INT_STAT
-#define pTWI0_INT_ENABLE pTWI0_INT_MASK
-#define pTWI1_PRESCALE pTWI1_CONTROL
-#define pTWI1_INT_SRC pTWI1_INT_STAT
-#define pTWI1_INT_ENABLE pTWI1_INT_MASK
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF538_H */
-
diff --git a/libgloss/bfin/include/cdefBF539.h b/libgloss/bfin/include/cdefBF539.h
deleted file mode 100644
index 331ebe9..0000000
--- a/libgloss/bfin/include/cdefBF539.h
+++ /dev/null
@@ -1,1421 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for BF539 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF539_H
-#define _CDEF_BF539_H
-
-/* include all Core registers and bit definitions */
-#include <defBF539.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* include built-in mneumonic macros */
-#include <ccblkfn.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-/* Clock/Regulator Control */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long *)CHIPID)
-
-
-/* System Interrupt Controllers */
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-
-#define pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0)
-#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
-
-#define pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0)
-#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
-
-#define pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0)
-#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
-
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
-
-
-/* Watchdog Timer */
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-
-/* Real Time Clock */
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-
-/* UART0 Controller */
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_IER ((volatile unsigned short *)UART0_IER)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-/* #define UART0_MSR */
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
-
-
-/* UART1 Controller */
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_IER ((volatile unsigned short *)UART1_IER)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-
-
-/* UART2 Controller */
-#define pUART2_THR ((volatile unsigned short *)UART2_THR)
-#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
-#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
-#define pUART2_IER ((volatile unsigned short *)UART2_IER)
-#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
-#define pUART2_IIR ((volatile unsigned short *)UART2_IIR)
-#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
-#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
-#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
-#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
-#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
-
-
-/* SPI0 Controller */
-#define pSPI0_CTL ((volatile unsigned short *)SPI0_CTL)
-#define pSPI0_FLG ((volatile unsigned short *)SPI0_FLG)
-#define pSPI0_STAT ((volatile unsigned short *)SPI0_STAT)
-#define pSPI0_TDBR ((volatile unsigned short *)SPI0_TDBR)
-#define pSPI0_RDBR ((volatile unsigned short *)SPI0_RDBR)
-#define pSPI0_BAUD ((volatile unsigned short *)SPI0_BAUD)
-#define pSPI0_SHADOW ((volatile unsigned short *)SPI0_SHADOW)
-
-
-/* SPI1 Controller */
-#define pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
-#define pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
-#define pSPI1_STAT ((volatile unsigned short *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
-
-
-/* SPI2 Controller */
-#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
-#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
-#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
-#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
-#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
-#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
-#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
-
-
-/* TIMER 0, 1, 2 Registers */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-
-#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile unsigned short *)TIMER_STATUS)
-
-
-/* Two-Wire Interface 0 */
-#define pTWI0_CLKDIV ((volatile unsigned short *)TWI0_CLKDIV)
-#define pTWI0_CONTROL ((volatile unsigned short *)TWI0_CONTROL)
-#define pTWI0_SLAVE_CTRL ((volatile unsigned short *)TWI0_SLAVE_CTRL)
-#define pTWI0_SLAVE_STAT ((volatile unsigned short *)TWI0_SLAVE_STAT)
-#define pTWI0_SLAVE_ADDR ((volatile unsigned short *)TWI0_SLAVE_ADDR)
-#define pTWI0_MASTER_CTRL ((volatile unsigned short *)TWI0_MASTER_CTRL)
-#define pTWI0_MASTER_STAT ((volatile unsigned short *)TWI0_MASTER_STAT)
-#define pTWI0_MASTER_ADDR ((volatile unsigned short *)TWI0_MASTER_ADDR)
-#define pTWI0_INT_STAT ((volatile unsigned short *)TWI0_INT_STAT)
-#define pTWI0_INT_MASK ((volatile unsigned short *)TWI0_INT_MASK)
-#define pTWI0_FIFO_CTRL ((volatile unsigned short *)TWI0_FIFO_CTRL)
-#define pTWI0_FIFO_STAT ((volatile unsigned short *)TWI0_FIFO_STAT)
-#define pTWI0_XMT_DATA8 ((volatile unsigned short *)TWI0_XMT_DATA8)
-#define pTWI0_XMT_DATA16 ((volatile unsigned short *)TWI0_XMT_DATA16)
-#define pTWI0_RCV_DATA8 ((volatile unsigned short *)TWI0_RCV_DATA8)
-#define pTWI0_RCV_DATA16 ((volatile unsigned short *)TWI0_RCV_DATA16)
-
-
-/* Two-Wire Interface 1 */
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTRL ((volatile unsigned short *)TWI1_SLAVE_CTRL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTRL ((volatile unsigned short *)TWI1_MASTER_CTRL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTRL ((volatile unsigned short *)TWI1_FIFO_CTRL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-
-/* General Purpose I/O */
-/* Flag I/O (FIO_) */
-#define pFIO_FLAG_D ((volatile unsigned short *)FIO_FLAG_D)
-#define pFIO_FLAG_C ((volatile unsigned short *)FIO_FLAG_C)
-#define pFIO_FLAG_S ((volatile unsigned short *)FIO_FLAG_S)
-#define pFIO_FLAG_T ((volatile unsigned short *)FIO_FLAG_T)
-#define pFIO_MASKA_D ((volatile unsigned short *)FIO_MASKA_D)
-#define pFIO_MASKA_C ((volatile unsigned short *)FIO_MASKA_C)
-#define pFIO_MASKA_S ((volatile unsigned short *)FIO_MASKA_S)
-#define pFIO_MASKA_T ((volatile unsigned short *)FIO_MASKA_T)
-#define pFIO_MASKB_D ((volatile unsigned short *)FIO_MASKB_D)
-#define pFIO_MASKB_C ((volatile unsigned short *)FIO_MASKB_C)
-#define pFIO_MASKB_S ((volatile unsigned short *)FIO_MASKB_S)
-#define pFIO_MASKB_T ((volatile unsigned short *)FIO_MASKB_T)
-#define pFIO_DIR ((volatile unsigned short *)FIO_DIR)
-#define pFIO_POLAR ((volatile unsigned short *)FIO_POLAR)
-#define pFIO_EDGE ((volatile unsigned short *)FIO_EDGE)
-#define pFIO_BOTH ((volatile unsigned short *)FIO_BOTH)
-#define pFIO_INEN ((volatile unsigned short *)FIO_INEN)
-
-/* GPIO Registers (Port C/D/E) */
-#define pGPIO_C_CNFG ((volatile unsigned short *)GPIO_C_CNFG)
-#define pGPIO_D_CNFG ((volatile unsigned short *)GPIO_D_CNFG)
-#define pGPIO_E_CNFG ((volatile unsigned short *)GPIO_E_CNFG)
-
-#define pGPIO_C_D ((volatile unsigned short *)GPIO_C_D)
-#define pGPIO_D_D ((volatile unsigned short *)GPIO_D_D)
-#define pGPIO_E_D ((volatile unsigned short *)GPIO_E_D)
-
-#define pGPIO_C_C ((volatile unsigned short *)GPIO_C_C)
-#define pGPIO_D_C ((volatile unsigned short *)GPIO_D_C)
-#define pGPIO_E_C ((volatile unsigned short *)GPIO_E_C)
-
-#define pGPIO_C_S ((volatile unsigned short *)GPIO_C_S)
-#define pGPIO_D_S ((volatile unsigned short *)GPIO_D_S)
-#define pGPIO_E_S ((volatile unsigned short *)GPIO_E_S)
-
-#define pGPIO_C_T ((volatile unsigned short *)GPIO_C_T)
-#define pGPIO_D_T ((volatile unsigned short *)GPIO_D_T)
-#define pGPIO_E_T ((volatile unsigned short *)GPIO_E_T)
-
-#define pGPIO_C_DIR ((volatile unsigned short *)GPIO_C_DIR)
-#define pGPIO_D_DIR ((volatile unsigned short *)GPIO_D_DIR)
-#define pGPIO_E_DIR ((volatile unsigned short *)GPIO_E_DIR)
-
-#define pGPIO_C_INEN ((volatile unsigned short *)GPIO_C_INEN)
-#define pGPIO_D_INEN ((volatile unsigned short *)GPIO_D_INEN)
-#define pGPIO_E_INEN ((volatile unsigned short *)GPIO_E_INEN)
-
-/* Deprecate old macros */
-#define pGPIO_C_DAT pGPIO_C_D
-#define pGPIO_D_DAT pGPIO_D_D
-#define pGPIO_E_DAT pGPIO_E_D
-
-#define pGPIO_C_CLR pGPIO_C_C
-#define pGPIO_D_CLR pGPIO_D_C
-#define pGPIO_E_CLR pGPIO_E_C
-
-#define pGPIO_C_SET pGPIO_C_S
-#define pGPIO_D_SET pGPIO_D_S
-#define pGPIO_E_SET pGPIO_E_S
-
-#define pGPIO_C_TGL pGPIO_C_T
-#define pGPIO_D_TGL pGPIO_D_T
-#define pGPIO_E_TGL pGPIO_E_T
-
-/* SPORT0 Controller */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-
-/* SPORT2 Controller */
-#define pSPORT2_TCR1 ((volatile unsigned short *)SPORT2_TCR1)
-#define pSPORT2_TCR2 ((volatile unsigned short *)SPORT2_TCR2)
-#define pSPORT2_TCLKDIV ((volatile unsigned short *)SPORT2_TCLKDIV)
-#define pSPORT2_TFSDIV ((volatile unsigned short *)SPORT2_TFSDIV)
-#define pSPORT2_TX ((volatile unsigned long *)SPORT2_TX)
-#define pSPORT2_RX ((volatile unsigned long *)SPORT2_RX)
-#define pSPORT2_TX32 ((volatile unsigned long *)SPORT2_TX)
-#define pSPORT2_RX32 ((volatile unsigned long *)SPORT2_RX)
-#define pSPORT2_TX16 ((volatile unsigned short *)SPORT2_TX)
-#define pSPORT2_RX16 ((volatile unsigned short *)SPORT2_RX)
-#define pSPORT2_RCR1 ((volatile unsigned short *)SPORT2_RCR1)
-#define pSPORT2_RCR2 ((volatile unsigned short *)SPORT2_RCR2)
-#define pSPORT2_RCLKDIV ((volatile unsigned short *)SPORT2_RCLKDIV)
-#define pSPORT2_RFSDIV ((volatile unsigned short *)SPORT2_RFSDIV)
-#define pSPORT2_STAT ((volatile unsigned short *)SPORT2_STAT)
-#define pSPORT2_CHNL ((volatile unsigned short *)SPORT2_CHNL)
-#define pSPORT2_MCMC1 ((volatile unsigned short *)SPORT2_MCMC1)
-#define pSPORT2_MCMC2 ((volatile unsigned short *)SPORT2_MCMC2)
-#define pSPORT2_MTCS0 ((volatile unsigned long *)SPORT2_MTCS0)
-#define pSPORT2_MTCS1 ((volatile unsigned long *)SPORT2_MTCS1)
-#define pSPORT2_MTCS2 ((volatile unsigned long *)SPORT2_MTCS2)
-#define pSPORT2_MTCS3 ((volatile unsigned long *)SPORT2_MTCS3)
-#define pSPORT2_MRCS0 ((volatile unsigned long *)SPORT2_MRCS0)
-#define pSPORT2_MRCS1 ((volatile unsigned long *)SPORT2_MRCS1)
-#define pSPORT2_MRCS2 ((volatile unsigned long *)SPORT2_MRCS2)
-#define pSPORT2_MRCS3 ((volatile unsigned long *)SPORT2_MRCS3)
-
-
-/* SPORT3 Controller */
-#define pSPORT3_TCR1 ((volatile unsigned short *)SPORT3_TCR1)
-#define pSPORT3_TCR2 ((volatile unsigned short *)SPORT3_TCR2)
-#define pSPORT3_TCLKDIV ((volatile unsigned short *)SPORT3_TCLKDIV)
-#define pSPORT3_TFSDIV ((volatile unsigned short *)SPORT3_TFSDIV)
-#define pSPORT3_TX ((volatile unsigned long *)SPORT3_TX)
-#define pSPORT3_RX ((volatile unsigned long *)SPORT3_RX)
-#define pSPORT3_TX32 ((volatile unsigned long *)SPORT3_TX)
-#define pSPORT3_RX32 ((volatile unsigned long *)SPORT3_RX)
-#define pSPORT3_TX16 ((volatile unsigned short *)SPORT3_TX)
-#define pSPORT3_RX16 ((volatile unsigned short *)SPORT3_RX)
-#define pSPORT3_RCR1 ((volatile unsigned short *)SPORT3_RCR1)
-#define pSPORT3_RCR2 ((volatile unsigned short *)SPORT3_RCR2)
-#define pSPORT3_RCLKDIV ((volatile unsigned short *)SPORT3_RCLKDIV)
-#define pSPORT3_RFSDIV ((volatile unsigned short *)SPORT3_RFSDIV)
-#define pSPORT3_STAT ((volatile unsigned short *)SPORT3_STAT)
-#define pSPORT3_CHNL ((volatile unsigned short *)SPORT3_CHNL)
-#define pSPORT3_MCMC1 ((volatile unsigned short *)SPORT3_MCMC1)
-#define pSPORT3_MCMC2 ((volatile unsigned short *)SPORT3_MCMC2)
-#define pSPORT3_MTCS0 ((volatile unsigned long *)SPORT3_MTCS0)
-#define pSPORT3_MTCS1 ((volatile unsigned long *)SPORT3_MTCS1)
-#define pSPORT3_MTCS2 ((volatile unsigned long *)SPORT3_MTCS2)
-#define pSPORT3_MTCS3 ((volatile unsigned long *)SPORT3_MTCS3)
-#define pSPORT3_MRCS0 ((volatile unsigned long *)SPORT3_MRCS0)
-#define pSPORT3_MRCS1 ((volatile unsigned long *)SPORT3_MRCS1)
-#define pSPORT3_MRCS2 ((volatile unsigned long *)SPORT3_MRCS2)
-#define pSPORT3_MRCS3 ((volatile unsigned long *)SPORT3_MRCS3)
-
-
-/* External Bus Interface Unit */
-/* Aysnchronous Memory Controller */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-
-/* SDRAM Controller */
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-
-
-/* DMA Controller 0 Traffic controls */
-#define pDMAC0_TC_PER ((volatile unsigned short *)DMAC0_TC_PER)
-#define pDMAC0_TC_CNT ((volatile unsigned short *)DMAC0_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA0_TCPER ((volatile unsigned short *)DMA0_TCPER)
-#define pDMA0_TCCNT ((volatile unsigned short *)DMA0_TCCNT)
-
-
-/* DMA Controller 0 */
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-
-#define pMDMA0_D1_CONFIG ((volatile unsigned short *)MDMA0_D1_CONFIG)
-#define pMDMA0_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_D1_NEXT_DESC_PTR)
-#define pMDMA0_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_D1_START_ADDR)
-#define pMDMA0_D1_X_COUNT ((volatile unsigned short *)MDMA0_D1_X_COUNT)
-#define pMDMA0_D1_Y_COUNT ((volatile unsigned short *)MDMA0_D1_Y_COUNT)
-#define pMDMA0_D1_X_MODIFY ((volatile signed short *)MDMA0_D1_X_MODIFY)
-#define pMDMA0_D1_Y_MODIFY ((volatile signed short *)MDMA0_D1_Y_MODIFY)
-#define pMDMA0_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_D1_CURR_DESC_PTR)
-#define pMDMA0_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_D1_CURR_ADDR)
-#define pMDMA0_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA0_D1_CURR_X_COUNT)
-#define pMDMA0_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA0_D1_CURR_Y_COUNT)
-#define pMDMA0_D1_IRQ_STATUS ((volatile unsigned short *)MDMA0_D1_IRQ_STATUS)
-#define pMDMA0_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA0_D1_PERIPHERAL_MAP)
-
-#define pMDMA0_S1_CONFIG ((volatile unsigned short *)MDMA0_S1_CONFIG)
-#define pMDMA0_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_S1_NEXT_DESC_PTR)
-#define pMDMA0_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_S1_START_ADDR)
-#define pMDMA0_S1_X_COUNT ((volatile unsigned short *)MDMA0_S1_X_COUNT)
-#define pMDMA0_S1_Y_COUNT ((volatile unsigned short *)MDMA0_S1_Y_COUNT)
-#define pMDMA0_S1_X_MODIFY ((volatile signed short *)MDMA0_S1_X_MODIFY)
-#define pMDMA0_S1_Y_MODIFY ((volatile signed short *)MDMA0_S1_Y_MODIFY)
-#define pMDMA0_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_S1_CURR_DESC_PTR)
-#define pMDMA0_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_S1_CURR_ADDR)
-#define pMDMA0_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA0_S1_CURR_X_COUNT)
-#define pMDMA0_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA0_S1_CURR_Y_COUNT)
-#define pMDMA0_S1_IRQ_STATUS ((volatile unsigned short *)MDMA0_S1_IRQ_STATUS)
-#define pMDMA0_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA0_S1_PERIPHERAL_MAP)
-
-#define pMDMA0_D0_CONFIG ((volatile unsigned short *)MDMA0_D0_CONFIG)
-#define pMDMA0_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_D0_NEXT_DESC_PTR)
-#define pMDMA0_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_D0_START_ADDR)
-#define pMDMA0_D0_X_COUNT ((volatile unsigned short *)MDMA0_D0_X_COUNT)
-#define pMDMA0_D0_Y_COUNT ((volatile unsigned short *)MDMA0_D0_Y_COUNT)
-#define pMDMA0_D0_X_MODIFY ((volatile signed short *)MDMA0_D0_X_MODIFY)
-#define pMDMA0_D0_Y_MODIFY ((volatile signed short *)MDMA0_D0_Y_MODIFY)
-#define pMDMA0_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_D0_CURR_DESC_PTR)
-#define pMDMA0_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_D0_CURR_ADDR)
-#define pMDMA0_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA0_D0_CURR_X_COUNT)
-#define pMDMA0_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA0_D0_CURR_Y_COUNT)
-#define pMDMA0_D0_IRQ_STATUS ((volatile unsigned short *)MDMA0_D0_IRQ_STATUS)
-#define pMDMA0_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA0_D0_PERIPHERAL_MAP)
-
-#define pMDMA0_S0_CONFIG ((volatile unsigned short *)MDMA0_S0_CONFIG)
-#define pMDMA0_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_S0_NEXT_DESC_PTR)
-#define pMDMA0_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_S0_START_ADDR)
-#define pMDMA0_S0_X_COUNT ((volatile unsigned short *)MDMA0_S0_X_COUNT)
-#define pMDMA0_S0_Y_COUNT ((volatile unsigned short *)MDMA0_S0_Y_COUNT)
-#define pMDMA0_S0_X_MODIFY ((volatile signed short *)MDMA0_S0_X_MODIFY)
-#define pMDMA0_S0_Y_MODIFY ((volatile signed short *)MDMA0_S0_Y_MODIFY)
-#define pMDMA0_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA0_S0_CURR_DESC_PTR)
-#define pMDMA0_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA0_S0_CURR_ADDR)
-#define pMDMA0_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA0_S0_CURR_X_COUNT)
-#define pMDMA0_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA0_S0_CURR_Y_COUNT)
-#define pMDMA0_S0_IRQ_STATUS ((volatile unsigned short *)MDMA0_S0_IRQ_STATUS)
-#define pMDMA0_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA0_S0_PERIPHERAL_MAP)
-
-
-/* DMA Controller 1 Traffic Control Registers */
-#define pDMAC1_TC_PER ((volatile unsigned short *)DMAC1_TC_PER)
-#define pDMAC1_TC_CNT ((volatile unsigned short *)DMAC1_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA1_TCPER pDMA1_TCPER /* Traffic Control Periods Register */
-#define pDMA1_TCCNT pDMA1_TCCNT /* Traffic Control Current Counts Register */
-
-/* DMA Controller 1 */
-#define pDMA8_NEXT_DESC_PTR ((void * volatile *)DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR ((void * volatile *)DMA8_START_ADDR)
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR ((void * volatile *)DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR ((void * volatile *)DMA8_CURR_ADDR)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-
-#define pDMA9_NEXT_DESC_PTR ((void * volatile *)DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR ((void * volatile *)DMA9_START_ADDR)
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR ((void * volatile *)DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR ((void * volatile *)DMA9_CURR_ADDR)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-
-#define pDMA10_NEXT_DESC_PTR ((void * volatile *)DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR ((void * volatile *)DMA10_START_ADDR)
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR ((void * volatile *)DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR ((void * volatile *)DMA10_CURR_ADDR)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-
-#define pDMA11_NEXT_DESC_PTR ((void * volatile *)DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR ((void * volatile *)DMA11_START_ADDR)
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR ((void * volatile *)DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR ((void * volatile *)DMA11_CURR_ADDR)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-
-#define pDMA12_NEXT_DESC_PTR ((void * volatile *)DMA12_NEXT_DESC_PTR)
-#define pDMA12_START_ADDR ((void * volatile *)DMA12_START_ADDR)
-#define pDMA12_CONFIG ((volatile unsigned short *)DMA12_CONFIG)
-#define pDMA12_X_COUNT ((volatile unsigned short *)DMA12_X_COUNT)
-#define pDMA12_X_MODIFY ((volatile signed short *)DMA12_X_MODIFY)
-#define pDMA12_Y_COUNT ((volatile unsigned short *)DMA12_Y_COUNT)
-#define pDMA12_Y_MODIFY ((volatile signed short *)DMA12_Y_MODIFY)
-#define pDMA12_CURR_DESC_PTR ((void * volatile *)DMA12_CURR_DESC_PTR)
-#define pDMA12_CURR_ADDR ((void * volatile *)DMA12_CURR_ADDR)
-#define pDMA12_IRQ_STATUS ((volatile unsigned short *)DMA12_IRQ_STATUS)
-#define pDMA12_PERIPHERAL_MAP ((volatile unsigned short *)DMA12_PERIPHERAL_MAP)
-#define pDMA12_CURR_X_COUNT ((volatile unsigned short *)DMA12_CURR_X_COUNT)
-#define pDMA12_CURR_Y_COUNT ((volatile unsigned short *)DMA12_CURR_Y_COUNT)
-
-#define pDMA13_NEXT_DESC_PTR ((void * volatile *)DMA13_NEXT_DESC_PTR)
-#define pDMA13_START_ADDR ((void * volatile *)DMA13_START_ADDR)
-#define pDMA13_CONFIG ((volatile unsigned short *)DMA13_CONFIG)
-#define pDMA13_X_COUNT ((volatile unsigned short *)DMA13_X_COUNT)
-#define pDMA13_X_MODIFY ((volatile signed short *)DMA13_X_MODIFY)
-#define pDMA13_Y_COUNT ((volatile unsigned short *)DMA13_Y_COUNT)
-#define pDMA13_Y_MODIFY ((volatile signed short *)DMA13_Y_MODIFY)
-#define pDMA13_CURR_DESC_PTR ((void * volatile *)DMA13_CURR_DESC_PTR)
-#define pDMA13_CURR_ADDR ((void * volatile *)DMA13_CURR_ADDR)
-#define pDMA13_IRQ_STATUS ((volatile unsigned short *)DMA13_IRQ_STATUS)
-#define pDMA13_PERIPHERAL_MAP ((volatile unsigned short *)DMA13_PERIPHERAL_MAP)
-#define pDMA13_CURR_X_COUNT ((volatile unsigned short *)DMA13_CURR_X_COUNT)
-#define pDMA13_CURR_Y_COUNT ((volatile unsigned short *)DMA13_CURR_Y_COUNT)
-
-#define pDMA14_NEXT_DESC_PTR ((void * volatile *)DMA14_NEXT_DESC_PTR)
-#define pDMA14_START_ADDR ((void * volatile *)DMA14_START_ADDR)
-#define pDMA14_CONFIG ((volatile unsigned short *)DMA14_CONFIG)
-#define pDMA14_X_COUNT ((volatile unsigned short *)DMA14_X_COUNT)
-#define pDMA14_X_MODIFY ((volatile signed short *)DMA14_X_MODIFY)
-#define pDMA14_Y_COUNT ((volatile unsigned short *)DMA14_Y_COUNT)
-#define pDMA14_Y_MODIFY ((volatile signed short *)DMA14_Y_MODIFY)
-#define pDMA14_CURR_DESC_PTR ((void * volatile *)DMA14_CURR_DESC_PTR)
-#define pDMA14_CURR_ADDR ((void * volatile *)DMA14_CURR_ADDR)
-#define pDMA14_IRQ_STATUS ((volatile unsigned short *)DMA14_IRQ_STATUS)
-#define pDMA14_PERIPHERAL_MAP ((volatile unsigned short *)DMA14_PERIPHERAL_MAP)
-#define pDMA14_CURR_X_COUNT ((volatile unsigned short *)DMA14_CURR_X_COUNT)
-#define pDMA14_CURR_Y_COUNT ((volatile unsigned short *)DMA14_CURR_Y_COUNT)
-
-#define pDMA15_NEXT_DESC_PTR ((void * volatile *)DMA15_NEXT_DESC_PTR)
-#define pDMA15_START_ADDR ((void * volatile *)DMA15_START_ADDR)
-#define pDMA15_CONFIG ((volatile unsigned short *)DMA15_CONFIG)
-#define pDMA15_X_COUNT ((volatile unsigned short *)DMA15_X_COUNT)
-#define pDMA15_X_MODIFY ((volatile signed short *)DMA15_X_MODIFY)
-#define pDMA15_Y_COUNT ((volatile unsigned short *)DMA15_Y_COUNT)
-#define pDMA15_Y_MODIFY ((volatile signed short *)DMA15_Y_MODIFY)
-#define pDMA15_CURR_DESC_PTR ((void * volatile *)DMA15_CURR_DESC_PTR)
-#define pDMA15_CURR_ADDR ((void * volatile *)DMA15_CURR_ADDR)
-#define pDMA15_IRQ_STATUS ((volatile unsigned short *)DMA15_IRQ_STATUS)
-#define pDMA15_PERIPHERAL_MAP ((volatile unsigned short *)DMA15_PERIPHERAL_MAP)
-#define pDMA15_CURR_X_COUNT ((volatile unsigned short *)DMA15_CURR_X_COUNT)
-#define pDMA15_CURR_Y_COUNT ((volatile unsigned short *)DMA15_CURR_Y_COUNT)
-
-#define pDMA16_NEXT_DESC_PTR ((void * volatile *)DMA16_NEXT_DESC_PTR)
-#define pDMA16_START_ADDR ((void * volatile *)DMA16_START_ADDR)
-#define pDMA16_CONFIG ((volatile unsigned short *)DMA16_CONFIG)
-#define pDMA16_X_COUNT ((volatile unsigned short *)DMA16_X_COUNT)
-#define pDMA16_X_MODIFY ((volatile signed short *)DMA16_X_MODIFY)
-#define pDMA16_Y_COUNT ((volatile unsigned short *)DMA16_Y_COUNT)
-#define pDMA16_Y_MODIFY ((volatile signed short *)DMA16_Y_MODIFY)
-#define pDMA16_CURR_DESC_PTR ((void * volatile *)DMA16_CURR_DESC_PTR)
-#define pDMA16_CURR_ADDR ((void * volatile *)DMA16_CURR_ADDR)
-#define pDMA16_IRQ_STATUS ((volatile unsigned short *)DMA16_IRQ_STATUS)
-#define pDMA16_PERIPHERAL_MAP ((volatile unsigned short *)DMA16_PERIPHERAL_MAP)
-#define pDMA16_CURR_X_COUNT ((volatile unsigned short *)DMA16_CURR_X_COUNT)
-#define pDMA16_CURR_Y_COUNT ((volatile unsigned short *)DMA16_CURR_Y_COUNT)
-
-#define pDMA17_NEXT_DESC_PTR ((void * volatile *)DMA17_NEXT_DESC_PTR)
-#define pDMA17_START_ADDR ((void * volatile *)DMA17_START_ADDR)
-#define pDMA17_CONFIG ((volatile unsigned short *)DMA17_CONFIG)
-#define pDMA17_X_COUNT ((volatile unsigned short *)DMA17_X_COUNT)
-#define pDMA17_X_MODIFY ((volatile signed short *)DMA17_X_MODIFY)
-#define pDMA17_Y_COUNT ((volatile unsigned short *)DMA17_Y_COUNT)
-#define pDMA17_Y_MODIFY ((volatile signed short *)DMA17_Y_MODIFY)
-#define pDMA17_CURR_DESC_PTR ((void * volatile *)DMA17_CURR_DESC_PTR)
-#define pDMA17_CURR_ADDR ((void * volatile *)DMA17_CURR_ADDR)
-#define pDMA17_IRQ_STATUS ((volatile unsigned short *)DMA17_IRQ_STATUS)
-#define pDMA17_PERIPHERAL_MAP ((volatile unsigned short *)DMA17_PERIPHERAL_MAP)
-#define pDMA17_CURR_X_COUNT ((volatile unsigned short *)DMA17_CURR_X_COUNT)
-#define pDMA17_CURR_Y_COUNT ((volatile unsigned short *)DMA17_CURR_Y_COUNT)
-
-#define pDMA18_NEXT_DESC_PTR ((void * volatile *)DMA18_NEXT_DESC_PTR)
-#define pDMA18_START_ADDR ((void * volatile *)DMA18_START_ADDR)
-#define pDMA18_CONFIG ((volatile unsigned short *)DMA18_CONFIG)
-#define pDMA18_X_COUNT ((volatile unsigned short *)DMA18_X_COUNT)
-#define pDMA18_X_MODIFY ((volatile signed short *)DMA18_X_MODIFY)
-#define pDMA18_Y_COUNT ((volatile unsigned short *)DMA18_Y_COUNT)
-#define pDMA18_Y_MODIFY ((volatile signed short *)DMA18_Y_MODIFY)
-#define pDMA18_CURR_DESC_PTR ((void * volatile *)DMA18_CURR_DESC_PTR)
-#define pDMA18_CURR_ADDR ((void * volatile *)DMA18_CURR_ADDR)
-#define pDMA18_IRQ_STATUS ((volatile unsigned short *)DMA18_IRQ_STATUS)
-#define pDMA18_PERIPHERAL_MAP ((volatile unsigned short *)DMA18_PERIPHERAL_MAP)
-#define pDMA18_CURR_X_COUNT ((volatile unsigned short *)DMA18_CURR_X_COUNT)
-#define pDMA18_CURR_Y_COUNT ((volatile unsigned short *)DMA18_CURR_Y_COUNT)
-
-#define pDMA19_NEXT_DESC_PTR ((void * volatile *)DMA19_NEXT_DESC_PTR)
-#define pDMA19_START_ADDR ((void * volatile *)DMA19_START_ADDR)
-#define pDMA19_CONFIG ((volatile unsigned short *)DMA19_CONFIG)
-#define pDMA19_X_COUNT ((volatile unsigned short *)DMA19_X_COUNT)
-#define pDMA19_X_MODIFY ((volatile signed short *)DMA19_X_MODIFY)
-#define pDMA19_Y_COUNT ((volatile unsigned short *)DMA19_Y_COUNT)
-#define pDMA19_Y_MODIFY ((volatile signed short *)DMA19_Y_MODIFY)
-#define pDMA19_CURR_DESC_PTR ((void * volatile *)DMA19_CURR_DESC_PTR)
-#define pDMA19_CURR_ADDR ((void * volatile *)DMA19_CURR_ADDR)
-#define pDMA19_IRQ_STATUS ((volatile unsigned short *)DMA19_IRQ_STATUS)
-#define pDMA19_PERIPHERAL_MAP ((volatile unsigned short *)DMA19_PERIPHERAL_MAP)
-#define pDMA19_CURR_X_COUNT ((volatile unsigned short *)DMA19_CURR_X_COUNT)
-#define pDMA19_CURR_Y_COUNT ((volatile unsigned short *)DMA19_CURR_Y_COUNT)
-
-#define pMDMA1_D0_NEXT_DESC_PTR ((void * volatile *)MDMA1_D0_NEXT_DESC_PTR)
-#define pMDMA1_D0_START_ADDR ((void * volatile *)MDMA1_D0_START_ADDR)
-#define pMDMA1_D0_CONFIG ((volatile unsigned short *)MDMA1_D0_CONFIG)
-#define pMDMA1_D0_X_COUNT ((volatile unsigned short *)MDMA1_D0_X_COUNT)
-#define pMDMA1_D0_X_MODIFY ((volatile signed short *)MDMA1_D0_X_MODIFY)
-#define pMDMA1_D0_Y_COUNT ((volatile unsigned short *)MDMA1_D0_Y_COUNT)
-#define pMDMA1_D0_Y_MODIFY ((volatile signed short *)MDMA1_D0_Y_MODIFY)
-#define pMDMA1_D0_CURR_DESC_PTR ((void * volatile *)MDMA1_D0_CURR_DESC_PTR)
-#define pMDMA1_D0_CURR_ADDR ((void * volatile *)MDMA1_D0_CURR_ADDR)
-#define pMDMA1_D0_IRQ_STATUS ((volatile unsigned short *)MDMA1_D0_IRQ_STATUS)
-#define pMDMA1_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D0_PERIPHERAL_MAP)
-#define pMDMA1_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_X_COUNT)
-#define pMDMA1_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_Y_COUNT)
-
-#define pMDMA1_S0_NEXT_DESC_PTR ((void * volatile *)MDMA1_S0_NEXT_DESC_PTR)
-#define pMDMA1_S0_START_ADDR ((void * volatile *)MDMA1_S0_START_ADDR)
-#define pMDMA1_S0_CONFIG ((volatile unsigned short *)MDMA1_S0_CONFIG)
-#define pMDMA1_S0_X_COUNT ((volatile unsigned short *)MDMA1_S0_X_COUNT)
-#define pMDMA1_S0_X_MODIFY ((volatile signed short *)MDMA1_S0_X_MODIFY)
-#define pMDMA1_S0_Y_COUNT ((volatile unsigned short *)MDMA1_S0_Y_COUNT)
-#define pMDMA1_S0_Y_MODIFY ((volatile signed short *)MDMA1_S0_Y_MODIFY)
-#define pMDMA1_S0_CURR_DESC_PTR ((void * volatile *)MDMA1_S0_CURR_DESC_PTR)
-#define pMDMA1_S0_CURR_ADDR ((void * volatile *)MDMA1_S0_CURR_ADDR)
-#define pMDMA1_S0_IRQ_STATUS ((volatile unsigned short *)MDMA1_S0_IRQ_STATUS)
-#define pMDMA1_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S0_PERIPHERAL_MAP)
-#define pMDMA1_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_X_COUNT)
-#define pMDMA1_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_Y_COUNT)
-
-#define pMDMA1_D1_NEXT_DESC_PTR ((void * volatile *)MDMA1_D1_NEXT_DESC_PTR)
-#define pMDMA1_D1_START_ADDR ((void * volatile *)MDMA1_D1_START_ADDR)
-#define pMDMA1_D1_CONFIG ((volatile unsigned short *)MDMA1_D1_CONFIG)
-#define pMDMA1_D1_X_COUNT ((volatile unsigned short *)MDMA1_D1_X_COUNT)
-#define pMDMA1_D1_X_MODIFY ((volatile signed short *)MDMA1_D1_X_MODIFY)
-#define pMDMA1_D1_Y_COUNT ((volatile unsigned short *)MDMA1_D1_Y_COUNT)
-#define pMDMA1_D1_Y_MODIFY ((volatile signed short *)MDMA1_D1_Y_MODIFY)
-#define pMDMA1_D1_CURR_DESC_PTR ((void * volatile *)MDMA1_D1_CURR_DESC_PTR)
-#define pMDMA1_D1_CURR_ADDR ((void * volatile *)MDMA1_D1_CURR_ADDR)
-#define pMDMA1_D1_IRQ_STATUS ((volatile unsigned short *)MDMA1_D1_IRQ_STATUS)
-#define pMDMA1_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D1_PERIPHERAL_MAP)
-#define pMDMA1_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_X_COUNT)
-#define pMDMA1_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_Y_COUNT)
-
-#define pMDMA1_S1_NEXT_DESC_PTR ((void * volatile *)MDMA1_S1_NEXT_DESC_PTR)
-#define pMDMA1_S1_START_ADDR ((void * volatile *)MDMA1_S1_START_ADDR)
-#define pMDMA1_S1_CONFIG ((volatile unsigned short *)MDMA1_S1_CONFIG)
-#define pMDMA1_S1_X_COUNT ((volatile unsigned short *)MDMA1_S1_X_COUNT)
-#define pMDMA1_S1_X_MODIFY ((volatile signed short *)MDMA1_S1_X_MODIFY)
-#define pMDMA1_S1_Y_COUNT ((volatile unsigned short *)MDMA1_S1_Y_COUNT)
-#define pMDMA1_S1_Y_MODIFY ((volatile signed short *)MDMA1_S1_Y_MODIFY)
-#define pMDMA1_S1_CURR_DESC_PTR ((void * volatile *)MDMA1_S1_CURR_DESC_PTR)
-#define pMDMA1_S1_CURR_ADDR ((void * volatile *)MDMA1_S1_CURR_ADDR)
-#define pMDMA1_S1_IRQ_STATUS ((volatile unsigned short *)MDMA1_S1_IRQ_STATUS)
-#define pMDMA1_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S1_PERIPHERAL_MAP)
-#define pMDMA1_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_X_COUNT)
-#define pMDMA1_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_Y_COUNT)
-
-
-/* Parallel Peripheral Interface (PPI) */
-#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
-#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
-#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
-#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
-
-
-/* Media Transceiver (MXVR) (0xFFC02700 - 0xFFC028FF) */
-#define pMXVR_CONFIG ((volatile unsigned short *)MXVR_CONFIG)
-#define pMXVR_PLL_CTL_0 ((volatile unsigned long *)MXVR_PLL_CTL_0)
-
-#define pMXVR_STATE_0 ((volatile unsigned long *)MXVR_STATE_0)
-#define pMXVR_STATE_1 ((volatile unsigned long *)MXVR_STATE_1)
-
-#define pMXVR_INT_STAT_0 ((volatile unsigned long *)MXVR_INT_STAT_0)
-#define pMXVR_INT_STAT_1 ((volatile unsigned long *)MXVR_INT_STAT_1)
-
-#define pMXVR_INT_EN_0 ((volatile unsigned long *)MXVR_INT_EN_0)
-#define pMXVR_INT_EN_1 ((volatile unsigned long *)MXVR_INT_EN_1)
-
-#define pMXVR_POSITION ((volatile unsigned short *)MXVR_POSITION)
-#define pMXVR_MAX_POSITION ((volatile unsigned short *)MXVR_MAX_POSITION)
-
-#define pMXVR_DELAY ((volatile unsigned short *)MXVR_DELAY)
-#define pMXVR_MAX_DELAY ((volatile unsigned short *)MXVR_MAX_DELAY)
-
-#define pMXVR_LADDR ((volatile unsigned long *)MXVR_LADDR)
-#define pMXVR_GADDR ((volatile unsigned short *)MXVR_GADDR)
-#define pMXVR_AADDR ((volatile unsigned long *)MXVR_AADDR)
-
-#define pMXVR_ALLOC_0 ((volatile unsigned long *)MXVR_ALLOC_0)
-#define pMXVR_ALLOC_1 ((volatile unsigned long *)MXVR_ALLOC_1)
-#define pMXVR_ALLOC_2 ((volatile unsigned long *)MXVR_ALLOC_2)
-#define pMXVR_ALLOC_3 ((volatile unsigned long *)MXVR_ALLOC_3)
-#define pMXVR_ALLOC_4 ((volatile unsigned long *)MXVR_ALLOC_4)
-#define pMXVR_ALLOC_5 ((volatile unsigned long *)MXVR_ALLOC_5)
-#define pMXVR_ALLOC_6 ((volatile unsigned long *)MXVR_ALLOC_6)
-#define pMXVR_ALLOC_7 ((volatile unsigned long *)MXVR_ALLOC_7)
-#define pMXVR_ALLOC_8 ((volatile unsigned long *)MXVR_ALLOC_8)
-#define pMXVR_ALLOC_9 ((volatile unsigned long *)MXVR_ALLOC_9)
-#define pMXVR_ALLOC_10 ((volatile unsigned long *)MXVR_ALLOC_10)
-#define pMXVR_ALLOC_11 ((volatile unsigned long *)MXVR_ALLOC_11)
-#define pMXVR_ALLOC_12 ((volatile unsigned long *)MXVR_ALLOC_12)
-#define pMXVR_ALLOC_13 ((volatile unsigned long *)MXVR_ALLOC_13)
-#define pMXVR_ALLOC_14 ((volatile unsigned long *)MXVR_ALLOC_14)
-
-#define pMXVR_SYNC_LCHAN_0 ((volatile unsigned long *)MXVR_SYNC_LCHAN_0)
-#define pMXVR_SYNC_LCHAN_1 ((volatile unsigned long *)MXVR_SYNC_LCHAN_1)
-#define pMXVR_SYNC_LCHAN_2 ((volatile unsigned long *)MXVR_SYNC_LCHAN_2)
-#define pMXVR_SYNC_LCHAN_3 ((volatile unsigned long *)MXVR_SYNC_LCHAN_3)
-#define pMXVR_SYNC_LCHAN_4 ((volatile unsigned long *)MXVR_SYNC_LCHAN_4)
-#define pMXVR_SYNC_LCHAN_5 ((volatile unsigned long *)MXVR_SYNC_LCHAN_5)
-#define pMXVR_SYNC_LCHAN_6 ((volatile unsigned long *)MXVR_SYNC_LCHAN_6)
-#define pMXVR_SYNC_LCHAN_7 ((volatile unsigned long *)MXVR_SYNC_LCHAN_7)
-
-#define pMXVR_DMA0_CONFIG ((volatile unsigned long *)MXVR_DMA0_CONFIG)
-#define pMXVR_DMA0_START_ADDR ((void * volatile *)MXVR_DMA0_START_ADDR)
-#define pMXVR_DMA0_COUNT ((volatile unsigned short *)MXVR_DMA0_COUNT)
-#define pMXVR_DMA0_CURR_ADDR ((void * volatile *)MXVR_DMA0_CURR_ADDR)
-#define pMXVR_DMA0_CURR_COUNT ((volatile unsigned short *)MXVR_DMA0_CURR_COUNT)
-
-#define pMXVR_DMA1_CONFIG ((volatile unsigned long *)MXVR_DMA1_CONFIG)
-#define pMXVR_DMA1_START_ADDR ((void * volatile *)MXVR_DMA1_START_ADDR)
-#define pMXVR_DMA1_COUNT ((volatile unsigned short *)MXVR_DMA1_COUNT)
-#define pMXVR_DMA1_CURR_ADDR ((void * volatile *)MXVR_DMA1_CURR_ADDR)
-#define pMXVR_DMA1_CURR_COUNT ((volatile unsigned short *)MXVR_DMA1_CURR_COUNT)
-
-#define pMXVR_DMA2_CONFIG ((volatile unsigned long *)MXVR_DMA2_CONFIG)
-#define pMXVR_DMA2_START_ADDR ((void * volatile *)MXVR_DMA2_START_ADDR)
-#define pMXVR_DMA2_COUNT ((volatile unsigned short *)MXVR_DMA2_COUNT)
-#define pMXVR_DMA2_CURR_ADDR ((void * volatile *)MXVR_DMA2_CURR_ADDR)
-#define pMXVR_DMA2_CURR_COUNT ((volatile unsigned short *)MXVR_DMA2_CURR_COUNT)
-
-#define pMXVR_DMA3_CONFIG ((volatile unsigned long *)MXVR_DMA3_CONFIG)
-#define pMXVR_DMA3_START_ADDR ((void * volatile *)MXVR_DMA3_START_ADDR)
-#define pMXVR_DMA3_COUNT ((volatile unsigned short *)MXVR_DMA3_COUNT)
-#define pMXVR_DMA3_CURR_ADDR ((void * volatile *)MXVR_DMA3_CURR_ADDR)
-#define pMXVR_DMA3_CURR_COUNT ((volatile unsigned short *)MXVR_DMA3_CURR_COUNT)
-
-#define pMXVR_DMA4_CONFIG ((volatile unsigned long *)MXVR_DMA4_CONFIG)
-#define pMXVR_DMA4_START_ADDR ((void * volatile *)MXVR_DMA4_START_ADDR)
-#define pMXVR_DMA4_COUNT ((volatile unsigned short *)MXVR_DMA4_COUNT)
-#define pMXVR_DMA4_CURR_ADDR ((void * volatile *)MXVR_DMA4_CURR_ADDR)
-#define pMXVR_DMA4_CURR_COUNT ((volatile unsigned short *)MXVR_DMA4_CURR_COUNT)
-
-#define pMXVR_DMA5_CONFIG ((volatile unsigned long *)MXVR_DMA5_CONFIG)
-#define pMXVR_DMA5_START_ADDR ((void * volatile *)MXVR_DMA5_START_ADDR)
-#define pMXVR_DMA5_COUNT ((volatile unsigned short *)MXVR_DMA5_COUNT)
-#define pMXVR_DMA5_CURR_ADDR ((void * volatile *)MXVR_DMA5_CURR_ADDR)
-#define pMXVR_DMA5_CURR_COUNT ((volatile unsigned short *)MXVR_DMA5_CURR_COUNT)
-
-#define pMXVR_DMA6_CONFIG ((volatile unsigned long *)MXVR_DMA6_CONFIG)
-#define pMXVR_DMA6_START_ADDR ((void * volatile *)MXVR_DMA6_START_ADDR)
-#define pMXVR_DMA6_COUNT ((volatile unsigned short *)MXVR_DMA6_COUNT)
-#define pMXVR_DMA6_CURR_ADDR ((void * volatile *)MXVR_DMA6_CURR_ADDR)
-#define pMXVR_DMA6_CURR_COUNT ((volatile unsigned short *)MXVR_DMA6_CURR_COUNT)
-
-#define pMXVR_DMA7_CONFIG ((volatile unsigned long *)MXVR_DMA7_CONFIG)
-#define pMXVR_DMA7_START_ADDR ((void * volatile *)MXVR_DMA7_START_ADDR)
-#define pMXVR_DMA7_COUNT ((volatile unsigned short *)MXVR_DMA7_COUNT)
-#define pMXVR_DMA7_CURR_ADDR ((void * volatile *)MXVR_DMA7_CURR_ADDR)
-#define pMXVR_DMA7_CURR_COUNT ((volatile unsigned short *)MXVR_DMA7_CURR_COUNT)
-
-#define pMXVR_AP_CTL ((volatile unsigned short *)MXVR_AP_CTL)
-#define pMXVR_APRB_START_ADDR ((void * volatile *)MXVR_APRB_START_ADDR)
-#define pMXVR_APRB_CURR_ADDR ((void * volatile *)MXVR_APRB_CURR_ADDR)
-#define pMXVR_APTB_START_ADDR ((void * volatile *)MXVR_APTB_START_ADDR)
-#define pMXVR_APTB_CURR_ADDR ((void * volatile *)MXVR_APTB_CURR_ADDR)
-
-#define pMXVR_CM_CTL ((volatile unsigned long *)MXVR_CM_CTL)
-#define pMXVR_CMRB_START_ADDR ((void * volatile *)MXVR_CMRB_START_ADDR)
-#define pMXVR_CMRB_CURR_ADDR ((void * volatile *)MXVR_CMRB_CURR_ADDR)
-#define pMXVR_CMTB_START_ADDR ((void * volatile *)MXVR_CMTB_START_ADDR)
-#define pMXVR_CMTB_CURR_ADDR ((void * volatile *)MXVR_CMTB_CURR_ADDR)
-
-#define pMXVR_RRDB_START_ADDR ((void * volatile *)MXVR_RRDB_START_ADDR)
-#define pMXVR_RRDB_CURR_ADDR ((void * volatile *)MXVR_RRDB_CURR_ADDR)
-
-#define pMXVR_PAT_DATA_0 ((volatile unsigned long *)MXVR_PAT_DATA_0)
-#define pMXVR_PAT_EN_0 ((volatile unsigned long *)MXVR_PAT_EN_0)
-#define pMXVR_PAT_DATA_1 ((volatile unsigned long *)MXVR_PAT_DATA_1)
-#define pMXVR_PAT_EN_1 ((volatile unsigned long *)MXVR_PAT_EN_1)
-
-#define pMXVR_FRAME_CNT_0 ((volatile unsigned short *)MXVR_FRAME_CNT_0)
-#define pMXVR_FRAME_CNT_1 ((volatile unsigned short *)MXVR_FRAME_CNT_1)
-
-#define pMXVR_ROUTING_0 ((volatile unsigned long *)MXVR_ROUTING_0)
-#define pMXVR_ROUTING_1 ((volatile unsigned long *)MXVR_ROUTING_1)
-#define pMXVR_ROUTING_2 ((volatile unsigned long *)MXVR_ROUTING_2)
-#define pMXVR_ROUTING_3 ((volatile unsigned long *)MXVR_ROUTING_3)
-#define pMXVR_ROUTING_4 ((volatile unsigned long *)MXVR_ROUTING_4)
-#define pMXVR_ROUTING_5 ((volatile unsigned long *)MXVR_ROUTING_5)
-#define pMXVR_ROUTING_6 ((volatile unsigned long *)MXVR_ROUTING_6)
-#define pMXVR_ROUTING_7 ((volatile unsigned long *)MXVR_ROUTING_7)
-#define pMXVR_ROUTING_8 ((volatile unsigned long *)MXVR_ROUTING_8)
-#define pMXVR_ROUTING_9 ((volatile unsigned long *)MXVR_ROUTING_9)
-#define pMXVR_ROUTING_10 ((volatile unsigned long *)MXVR_ROUTING_10)
-#define pMXVR_ROUTING_11 ((volatile unsigned long *)MXVR_ROUTING_11)
-#define pMXVR_ROUTING_12 ((volatile unsigned long *)MXVR_ROUTING_12)
-#define pMXVR_ROUTING_13 ((volatile unsigned long *)MXVR_ROUTING_13)
-#define pMXVR_ROUTING_14 ((volatile unsigned long *)MXVR_ROUTING_14)
-
-#define pMXVR_PLL_CTL_1 ((volatile unsigned long *)MXVR_PLL_CTL_1)
-#define pMXVR_PLL_CTL_2 ((volatile unsigned short *)MXVR_PLL_CTL_2)
-
-#define pMXVR_BLOCK_CNT ((volatile unsigned short *)MXVR_BLOCK_CNT)
-
-
-/* CAN Controller */
-/* For Mailboxes 0-15 */
-#define pCAN_MC1 ((volatile unsigned short *)CAN_MC1)
-#define pCAN_MD1 ((volatile unsigned short *)CAN_MD1)
-#define pCAN_TRS1 ((volatile unsigned short *)CAN_TRS1)
-#define pCAN_TRR1 ((volatile unsigned short *)CAN_TRR1)
-#define pCAN_TA1 ((volatile unsigned short *)CAN_TA1)
-#define pCAN_AA1 ((volatile unsigned short *)CAN_AA1)
-#define pCAN_RMP1 ((volatile unsigned short *)CAN_RMP1)
-#define pCAN_RML1 ((volatile unsigned short *)CAN_RML1)
-#define pCAN_MBTIF1 ((volatile unsigned short *)CAN_MBTIF1)
-#define pCAN_MBRIF1 ((volatile unsigned short *)CAN_MBRIF1)
-#define pCAN_MBIM1 ((volatile unsigned short *)CAN_MBIM1)
-#define pCAN_RFH1 ((volatile unsigned short *)CAN_RFH1)
-#define pCAN_OPSS1 ((volatile unsigned short *)CAN_OPSS1)
-
-/* For Mailboxes 16-31 */
-#define pCAN_MC2 ((volatile unsigned short *)CAN_MC2)
-#define pCAN_MD2 ((volatile unsigned short *)CAN_MD2)
-#define pCAN_TRS2 ((volatile unsigned short *)CAN_TRS2)
-#define pCAN_TRR2 ((volatile unsigned short *)CAN_TRR2)
-#define pCAN_TA2 ((volatile unsigned short *)CAN_TA2)
-#define pCAN_AA2 ((volatile unsigned short *)CAN_AA2)
-#define pCAN_RMP2 ((volatile unsigned short *)CAN_RMP2)
-#define pCAN_RML2 ((volatile unsigned short *)CAN_RML2)
-#define pCAN_MBTIF2 ((volatile unsigned short *)CAN_MBTIF2)
-#define pCAN_MBRIF2 ((volatile unsigned short *)CAN_MBRIF2)
-#define pCAN_MBIM2 ((volatile unsigned short *)CAN_MBIM2)
-#define pCAN_RFH2 ((volatile unsigned short *)CAN_RFH2)
-#define pCAN_OPSS2 ((volatile unsigned short *)CAN_OPSS2)
-
-#define pCAN_CLOCK ((volatile unsigned short *)CAN_CLOCK)
-#define pCAN_TIMING ((volatile unsigned short *)CAN_TIMING)
-#define pCAN_DEBUG ((volatile unsigned short *)CAN_DEBUG)
-#define pCAN_STATUS ((volatile unsigned short *)CAN_STATUS)
-#define pCAN_CEC ((volatile unsigned short *)CAN_CEC)
-#define pCAN_GIS ((volatile unsigned short *)CAN_GIS)
-#define pCAN_GIM ((volatile unsigned short *)CAN_GIM)
-#define pCAN_GIF ((volatile unsigned short *)CAN_GIF)
-#define pCAN_CONTROL ((volatile unsigned short *)CAN_CONTROL)
-#define pCAN_INTR ((volatile unsigned short *)CAN_INTR)
-#define pCAN_MBTD ((volatile unsigned short *)CAN_MBTD)
-#define pCAN_EWR ((volatile unsigned short *)CAN_EWR)
-#define pCAN_ESR ((volatile unsigned short *)CAN_ESR)
-#define pCAN_UCCNT ((volatile unsigned short *)CAN_UCCNT)
-#define pCAN_UCRC ((volatile unsigned short *)CAN_UCRC)
-#define pCAN_UCCNF ((volatile unsigned short *)CAN_UCCNF)
-
-/* Mailbox Acceptance Masks */
-#define pCAN_AM00L ((volatile unsigned short *)CAN_AM00L)
-#define pCAN_AM00H ((volatile unsigned short *)CAN_AM00H)
-#define pCAN_AM01L ((volatile unsigned short *)CAN_AM01L)
-#define pCAN_AM01H ((volatile unsigned short *)CAN_AM01H)
-#define pCAN_AM02L ((volatile unsigned short *)CAN_AM02L)
-#define pCAN_AM02H ((volatile unsigned short *)CAN_AM02H)
-#define pCAN_AM03L ((volatile unsigned short *)CAN_AM03L)
-#define pCAN_AM03H ((volatile unsigned short *)CAN_AM03H)
-#define pCAN_AM04L ((volatile unsigned short *)CAN_AM04L)
-#define pCAN_AM04H ((volatile unsigned short *)CAN_AM04H)
-#define pCAN_AM05L ((volatile unsigned short *)CAN_AM05L)
-#define pCAN_AM05H ((volatile unsigned short *)CAN_AM05H)
-#define pCAN_AM06L ((volatile unsigned short *)CAN_AM06L)
-#define pCAN_AM06H ((volatile unsigned short *)CAN_AM06H)
-#define pCAN_AM07L ((volatile unsigned short *)CAN_AM07L)
-#define pCAN_AM07H ((volatile unsigned short *)CAN_AM07H)
-#define pCAN_AM08L ((volatile unsigned short *)CAN_AM08L)
-#define pCAN_AM08H ((volatile unsigned short *)CAN_AM08H)
-#define pCAN_AM09L ((volatile unsigned short *)CAN_AM09L)
-#define pCAN_AM09H ((volatile unsigned short *)CAN_AM09H)
-#define pCAN_AM10L ((volatile unsigned short *)CAN_AM10L)
-#define pCAN_AM10H ((volatile unsigned short *)CAN_AM10H)
-#define pCAN_AM11L ((volatile unsigned short *)CAN_AM11L)
-#define pCAN_AM11H ((volatile unsigned short *)CAN_AM11H)
-#define pCAN_AM12L ((volatile unsigned short *)CAN_AM12L)
-#define pCAN_AM12H ((volatile unsigned short *)CAN_AM12H)
-#define pCAN_AM13L ((volatile unsigned short *)CAN_AM13L)
-#define pCAN_AM13H ((volatile unsigned short *)CAN_AM13H)
-#define pCAN_AM14L ((volatile unsigned short *)CAN_AM14L)
-#define pCAN_AM14H ((volatile unsigned short *)CAN_AM14H)
-#define pCAN_AM15L ((volatile unsigned short *)CAN_AM15L)
-#define pCAN_AM15H ((volatile unsigned short *)CAN_AM15H)
-
-#define pCAN_AM16L ((volatile unsigned short *)CAN_AM16L)
-#define pCAN_AM16H ((volatile unsigned short *)CAN_AM16H)
-#define pCAN_AM17L ((volatile unsigned short *)CAN_AM17L)
-#define pCAN_AM17H ((volatile unsigned short *)CAN_AM17H)
-#define pCAN_AM18L ((volatile unsigned short *)CAN_AM18L)
-#define pCAN_AM18H ((volatile unsigned short *)CAN_AM18H)
-#define pCAN_AM19L ((volatile unsigned short *)CAN_AM19L)
-#define pCAN_AM19H ((volatile unsigned short *)CAN_AM19H)
-#define pCAN_AM20L ((volatile unsigned short *)CAN_AM20L)
-#define pCAN_AM20H ((volatile unsigned short *)CAN_AM20H)
-#define pCAN_AM21L ((volatile unsigned short *)CAN_AM21L)
-#define pCAN_AM21H ((volatile unsigned short *)CAN_AM21H)
-#define pCAN_AM22L ((volatile unsigned short *)CAN_AM22L)
-#define pCAN_AM22H ((volatile unsigned short *)CAN_AM22H)
-#define pCAN_AM23L ((volatile unsigned short *)CAN_AM23L)
-#define pCAN_AM23H ((volatile unsigned short *)CAN_AM23H)
-#define pCAN_AM24L ((volatile unsigned short *)CAN_AM24L)
-#define pCAN_AM24H ((volatile unsigned short *)CAN_AM24H)
-#define pCAN_AM25L ((volatile unsigned short *)CAN_AM25L)
-#define pCAN_AM25H ((volatile unsigned short *)CAN_AM25H)
-#define pCAN_AM26L ((volatile unsigned short *)CAN_AM26L)
-#define pCAN_AM26H ((volatile unsigned short *)CAN_AM26H)
-#define pCAN_AM27L ((volatile unsigned short *)CAN_AM27L)
-#define pCAN_AM27H ((volatile unsigned short *)CAN_AM27H)
-#define pCAN_AM28L ((volatile unsigned short *)CAN_AM28L)
-#define pCAN_AM28H ((volatile unsigned short *)CAN_AM28H)
-#define pCAN_AM29L ((volatile unsigned short *)CAN_AM29L)
-#define pCAN_AM29H ((volatile unsigned short *)CAN_AM29H)
-#define pCAN_AM30L ((volatile unsigned short *)CAN_AM30L)
-#define pCAN_AM30H ((volatile unsigned short *)CAN_AM30H)
-#define pCAN_AM31L ((volatile unsigned short *)CAN_AM31L)
-#define pCAN_AM31H ((volatile unsigned short *)CAN_AM31H)
-
-/* CAN Acceptance Mask Area Macros */
-#define pCAN_AM_L(x) ((volatile unsigned short *)CAN_AM_L(x))
-#define pCAN_AM_H(x) ((volatile unsigned short *)CAN_AM_H(x))
-
-/* Mailbox Registers */
-#define pCAN_MB00_DATA0 ((volatile unsigned short *)CAN_MB00_DATA0)
-#define pCAN_MB00_DATA1 ((volatile unsigned short *)CAN_MB00_DATA1)
-#define pCAN_MB00_DATA2 ((volatile unsigned short *)CAN_MB00_DATA2)
-#define pCAN_MB00_DATA3 ((volatile unsigned short *)CAN_MB00_DATA3)
-#define pCAN_MB00_LENGTH ((volatile unsigned short *)CAN_MB00_LENGTH)
-#define pCAN_MB00_TIMESTAMP ((volatile unsigned short *)CAN_MB00_TIMESTAMP)
-#define pCAN_MB00_ID0 ((volatile unsigned short *)CAN_MB00_ID0)
-#define pCAN_MB00_ID1 ((volatile unsigned short *)CAN_MB00_ID1)
-
-#define pCAN_MB01_DATA0 ((volatile unsigned short *)CAN_MB01_DATA0)
-#define pCAN_MB01_DATA1 ((volatile unsigned short *)CAN_MB01_DATA1)
-#define pCAN_MB01_DATA2 ((volatile unsigned short *)CAN_MB01_DATA2)
-#define pCAN_MB01_DATA3 ((volatile unsigned short *)CAN_MB01_DATA3)
-#define pCAN_MB01_LENGTH ((volatile unsigned short *)CAN_MB01_LENGTH)
-#define pCAN_MB01_TIMESTAMP ((volatile unsigned short *)CAN_MB01_TIMESTAMP)
-#define pCAN_MB01_ID0 ((volatile unsigned short *)CAN_MB01_ID0)
-#define pCAN_MB01_ID1 ((volatile unsigned short *)CAN_MB01_ID1)
-
-#define pCAN_MB02_DATA0 ((volatile unsigned short *)CAN_MB02_DATA0)
-#define pCAN_MB02_DATA1 ((volatile unsigned short *)CAN_MB02_DATA1)
-#define pCAN_MB02_DATA2 ((volatile unsigned short *)CAN_MB02_DATA2)
-#define pCAN_MB02_DATA3 ((volatile unsigned short *)CAN_MB02_DATA3)
-#define pCAN_MB02_LENGTH ((volatile unsigned short *)CAN_MB02_LENGTH)
-#define pCAN_MB02_TIMESTAMP ((volatile unsigned short *)CAN_MB02_TIMESTAMP)
-#define pCAN_MB02_ID0 ((volatile unsigned short *)CAN_MB02_ID0)
-#define pCAN_MB02_ID1 ((volatile unsigned short *)CAN_MB02_ID1)
-
-#define pCAN_MB03_DATA0 ((volatile unsigned short *)CAN_MB03_DATA0)
-#define pCAN_MB03_DATA1 ((volatile unsigned short *)CAN_MB03_DATA1)
-#define pCAN_MB03_DATA2 ((volatile unsigned short *)CAN_MB03_DATA2)
-#define pCAN_MB03_DATA3 ((volatile unsigned short *)CAN_MB03_DATA3)
-#define pCAN_MB03_LENGTH ((volatile unsigned short *)CAN_MB03_LENGTH)
-#define pCAN_MB03_TIMESTAMP ((volatile unsigned short *)CAN_MB03_TIMESTAMP)
-#define pCAN_MB03_ID0 ((volatile unsigned short *)CAN_MB03_ID0)
-#define pCAN_MB03_ID1 ((volatile unsigned short *)CAN_MB03_ID1)
-
-#define pCAN_MB04_DATA0 ((volatile unsigned short *)CAN_MB04_DATA0)
-#define pCAN_MB04_DATA1 ((volatile unsigned short *)CAN_MB04_DATA1)
-#define pCAN_MB04_DATA2 ((volatile unsigned short *)CAN_MB04_DATA2)
-#define pCAN_MB04_DATA3 ((volatile unsigned short *)CAN_MB04_DATA3)
-#define pCAN_MB04_LENGTH ((volatile unsigned short *)CAN_MB04_LENGTH)
-#define pCAN_MB04_TIMESTAMP ((volatile unsigned short *)CAN_MB04_TIMESTAMP)
-#define pCAN_MB04_ID0 ((volatile unsigned short *)CAN_MB04_ID0)
-#define pCAN_MB04_ID1 ((volatile unsigned short *)CAN_MB04_ID1)
-
-#define pCAN_MB05_DATA0 ((volatile unsigned short *)CAN_MB05_DATA0)
-#define pCAN_MB05_DATA1 ((volatile unsigned short *)CAN_MB05_DATA1)
-#define pCAN_MB05_DATA2 ((volatile unsigned short *)CAN_MB05_DATA2)
-#define pCAN_MB05_DATA3 ((volatile unsigned short *)CAN_MB05_DATA3)
-#define pCAN_MB05_LENGTH ((volatile unsigned short *)CAN_MB05_LENGTH)
-#define pCAN_MB05_TIMESTAMP ((volatile unsigned short *)CAN_MB05_TIMESTAMP)
-#define pCAN_MB05_ID0 ((volatile unsigned short *)CAN_MB05_ID0)
-#define pCAN_MB05_ID1 ((volatile unsigned short *)CAN_MB05_ID1)
-
-#define pCAN_MB06_DATA0 ((volatile unsigned short *)CAN_MB06_DATA0)
-#define pCAN_MB06_DATA1 ((volatile unsigned short *)CAN_MB06_DATA1)
-#define pCAN_MB06_DATA2 ((volatile unsigned short *)CAN_MB06_DATA2)
-#define pCAN_MB06_DATA3 ((volatile unsigned short *)CAN_MB06_DATA3)
-#define pCAN_MB06_LENGTH ((volatile unsigned short *)CAN_MB06_LENGTH)
-#define pCAN_MB06_TIMESTAMP ((volatile unsigned short *)CAN_MB06_TIMESTAMP)
-#define pCAN_MB06_ID0 ((volatile unsigned short *)CAN_MB06_ID0)
-#define pCAN_MB06_ID1 ((volatile unsigned short *)CAN_MB06_ID1)
-
-#define pCAN_MB07_DATA0 ((volatile unsigned short *)CAN_MB07_DATA0)
-#define pCAN_MB07_DATA1 ((volatile unsigned short *)CAN_MB07_DATA1)
-#define pCAN_MB07_DATA2 ((volatile unsigned short *)CAN_MB07_DATA2)
-#define pCAN_MB07_DATA3 ((volatile unsigned short *)CAN_MB07_DATA3)
-#define pCAN_MB07_LENGTH ((volatile unsigned short *)CAN_MB07_LENGTH)
-#define pCAN_MB07_TIMESTAMP ((volatile unsigned short *)CAN_MB07_TIMESTAMP)
-#define pCAN_MB07_ID0 ((volatile unsigned short *)CAN_MB07_ID0)
-#define pCAN_MB07_ID1 ((volatile unsigned short *)CAN_MB07_ID1)
-
-#define pCAN_MB08_DATA0 ((volatile unsigned short *)CAN_MB08_DATA0)
-#define pCAN_MB08_DATA1 ((volatile unsigned short *)CAN_MB08_DATA1)
-#define pCAN_MB08_DATA2 ((volatile unsigned short *)CAN_MB08_DATA2)
-#define pCAN_MB08_DATA3 ((volatile unsigned short *)CAN_MB08_DATA3)
-#define pCAN_MB08_LENGTH ((volatile unsigned short *)CAN_MB08_LENGTH)
-#define pCAN_MB08_TIMESTAMP ((volatile unsigned short *)CAN_MB08_TIMESTAMP)
-#define pCAN_MB08_ID0 ((volatile unsigned short *)CAN_MB08_ID0)
-#define pCAN_MB08_ID1 ((volatile unsigned short *)CAN_MB08_ID1)
-
-#define pCAN_MB09_DATA0 ((volatile unsigned short *)CAN_MB09_DATA0)
-#define pCAN_MB09_DATA1 ((volatile unsigned short *)CAN_MB09_DATA1)
-#define pCAN_MB09_DATA2 ((volatile unsigned short *)CAN_MB09_DATA2)
-#define pCAN_MB09_DATA3 ((volatile unsigned short *)CAN_MB09_DATA3)
-#define pCAN_MB09_LENGTH ((volatile unsigned short *)CAN_MB09_LENGTH)
-#define pCAN_MB09_TIMESTAMP ((volatile unsigned short *)CAN_MB09_TIMESTAMP)
-#define pCAN_MB09_ID0 ((volatile unsigned short *)CAN_MB09_ID0)
-#define pCAN_MB09_ID1 ((volatile unsigned short *)CAN_MB09_ID1)
-
-#define pCAN_MB10_DATA0 ((volatile unsigned short *)CAN_MB10_DATA0)
-#define pCAN_MB10_DATA1 ((volatile unsigned short *)CAN_MB10_DATA1)
-#define pCAN_MB10_DATA2 ((volatile unsigned short *)CAN_MB10_DATA2)
-#define pCAN_MB10_DATA3 ((volatile unsigned short *)CAN_MB10_DATA3)
-#define pCAN_MB10_LENGTH ((volatile unsigned short *)CAN_MB10_LENGTH)
-#define pCAN_MB10_TIMESTAMP ((volatile unsigned short *)CAN_MB10_TIMESTAMP)
-#define pCAN_MB10_ID0 ((volatile unsigned short *)CAN_MB10_ID0)
-#define pCAN_MB10_ID1 ((volatile unsigned short *)CAN_MB10_ID1)
-
-#define pCAN_MB11_DATA0 ((volatile unsigned short *)CAN_MB11_DATA0)
-#define pCAN_MB11_DATA1 ((volatile unsigned short *)CAN_MB11_DATA1)
-#define pCAN_MB11_DATA2 ((volatile unsigned short *)CAN_MB11_DATA2)
-#define pCAN_MB11_DATA3 ((volatile unsigned short *)CAN_MB11_DATA3)
-#define pCAN_MB11_LENGTH ((volatile unsigned short *)CAN_MB11_LENGTH)
-#define pCAN_MB11_TIMESTAMP ((volatile unsigned short *)CAN_MB11_TIMESTAMP)
-#define pCAN_MB11_ID0 ((volatile unsigned short *)CAN_MB11_ID0)
-#define pCAN_MB11_ID1 ((volatile unsigned short *)CAN_MB11_ID1)
-
-#define pCAN_MB12_DATA0 ((volatile unsigned short *)CAN_MB12_DATA0)
-#define pCAN_MB12_DATA1 ((volatile unsigned short *)CAN_MB12_DATA1)
-#define pCAN_MB12_DATA2 ((volatile unsigned short *)CAN_MB12_DATA2)
-#define pCAN_MB12_DATA3 ((volatile unsigned short *)CAN_MB12_DATA3)
-#define pCAN_MB12_LENGTH ((volatile unsigned short *)CAN_MB12_LENGTH)
-#define pCAN_MB12_TIMESTAMP ((volatile unsigned short *)CAN_MB12_TIMESTAMP)
-#define pCAN_MB12_ID0 ((volatile unsigned short *)CAN_MB12_ID0)
-#define pCAN_MB12_ID1 ((volatile unsigned short *)CAN_MB12_ID1)
-
-#define pCAN_MB13_DATA0 ((volatile unsigned short *)CAN_MB13_DATA0)
-#define pCAN_MB13_DATA1 ((volatile unsigned short *)CAN_MB13_DATA1)
-#define pCAN_MB13_DATA2 ((volatile unsigned short *)CAN_MB13_DATA2)
-#define pCAN_MB13_DATA3 ((volatile unsigned short *)CAN_MB13_DATA3)
-#define pCAN_MB13_LENGTH ((volatile unsigned short *)CAN_MB13_LENGTH)
-#define pCAN_MB13_TIMESTAMP ((volatile unsigned short *)CAN_MB13_TIMESTAMP)
-#define pCAN_MB13_ID0 ((volatile unsigned short *)CAN_MB13_ID0)
-#define pCAN_MB13_ID1 ((volatile unsigned short *)CAN_MB13_ID1)
-
-#define pCAN_MB14_DATA0 ((volatile unsigned short *)CAN_MB14_DATA0)
-#define pCAN_MB14_DATA1 ((volatile unsigned short *)CAN_MB14_DATA1)
-#define pCAN_MB14_DATA2 ((volatile unsigned short *)CAN_MB14_DATA2)
-#define pCAN_MB14_DATA3 ((volatile unsigned short *)CAN_MB14_DATA3)
-#define pCAN_MB14_LENGTH ((volatile unsigned short *)CAN_MB14_LENGTH)
-#define pCAN_MB14_TIMESTAMP ((volatile unsigned short *)CAN_MB14_TIMESTAMP)
-#define pCAN_MB14_ID0 ((volatile unsigned short *)CAN_MB14_ID0)
-#define pCAN_MB14_ID1 ((volatile unsigned short *)CAN_MB14_ID1)
-
-#define pCAN_MB15_DATA0 ((volatile unsigned short *)CAN_MB15_DATA0)
-#define pCAN_MB15_DATA1 ((volatile unsigned short *)CAN_MB15_DATA1)
-#define pCAN_MB15_DATA2 ((volatile unsigned short *)CAN_MB15_DATA2)
-#define pCAN_MB15_DATA3 ((volatile unsigned short *)CAN_MB15_DATA3)
-#define pCAN_MB15_LENGTH ((volatile unsigned short *)CAN_MB15_LENGTH)
-#define pCAN_MB15_TIMESTAMP ((volatile unsigned short *)CAN_MB15_TIMESTAMP)
-#define pCAN_MB15_ID0 ((volatile unsigned short *)CAN_MB15_ID0)
-#define pCAN_MB15_ID1 ((volatile unsigned short *)CAN_MB15_ID1)
-
-#define pCAN_MB16_DATA0 ((volatile unsigned short *)CAN_MB16_DATA0)
-#define pCAN_MB16_DATA1 ((volatile unsigned short *)CAN_MB16_DATA1)
-#define pCAN_MB16_DATA2 ((volatile unsigned short *)CAN_MB16_DATA2)
-#define pCAN_MB16_DATA3 ((volatile unsigned short *)CAN_MB16_DATA3)
-#define pCAN_MB16_LENGTH ((volatile unsigned short *)CAN_MB16_LENGTH)
-#define pCAN_MB16_TIMESTAMP ((volatile unsigned short *)CAN_MB16_TIMESTAMP)
-#define pCAN_MB16_ID0 ((volatile unsigned short *)CAN_MB16_ID0)
-#define pCAN_MB16_ID1 ((volatile unsigned short *)CAN_MB16_ID1)
-
-#define pCAN_MB17_DATA0 ((volatile unsigned short *)CAN_MB17_DATA0)
-#define pCAN_MB17_DATA1 ((volatile unsigned short *)CAN_MB17_DATA1)
-#define pCAN_MB17_DATA2 ((volatile unsigned short *)CAN_MB17_DATA2)
-#define pCAN_MB17_DATA3 ((volatile unsigned short *)CAN_MB17_DATA3)
-#define pCAN_MB17_LENGTH ((volatile unsigned short *)CAN_MB17_LENGTH)
-#define pCAN_MB17_TIMESTAMP ((volatile unsigned short *)CAN_MB17_TIMESTAMP)
-#define pCAN_MB17_ID0 ((volatile unsigned short *)CAN_MB17_ID0)
-#define pCAN_MB17_ID1 ((volatile unsigned short *)CAN_MB17_ID1)
-
-#define pCAN_MB18_DATA0 ((volatile unsigned short *)CAN_MB18_DATA0)
-#define pCAN_MB18_DATA1 ((volatile unsigned short *)CAN_MB18_DATA1)
-#define pCAN_MB18_DATA2 ((volatile unsigned short *)CAN_MB18_DATA2)
-#define pCAN_MB18_DATA3 ((volatile unsigned short *)CAN_MB18_DATA3)
-#define pCAN_MB18_LENGTH ((volatile unsigned short *)CAN_MB18_LENGTH)
-#define pCAN_MB18_TIMESTAMP ((volatile unsigned short *)CAN_MB18_TIMESTAMP)
-#define pCAN_MB18_ID0 ((volatile unsigned short *)CAN_MB18_ID0)
-#define pCAN_MB18_ID1 ((volatile unsigned short *)CAN_MB18_ID1)
-
-#define pCAN_MB19_DATA0 ((volatile unsigned short *)CAN_MB19_DATA0)
-#define pCAN_MB19_DATA1 ((volatile unsigned short *)CAN_MB19_DATA1)
-#define pCAN_MB19_DATA2 ((volatile unsigned short *)CAN_MB19_DATA2)
-#define pCAN_MB19_DATA3 ((volatile unsigned short *)CAN_MB19_DATA3)
-#define pCAN_MB19_LENGTH ((volatile unsigned short *)CAN_MB19_LENGTH)
-#define pCAN_MB19_TIMESTAMP ((volatile unsigned short *)CAN_MB19_TIMESTAMP)
-#define pCAN_MB19_ID0 ((volatile unsigned short *)CAN_MB19_ID0)
-#define pCAN_MB19_ID1 ((volatile unsigned short *)CAN_MB19_ID1)
-
-#define pCAN_MB20_DATA0 ((volatile unsigned short *)CAN_MB20_DATA0)
-#define pCAN_MB20_DATA1 ((volatile unsigned short *)CAN_MB20_DATA1)
-#define pCAN_MB20_DATA2 ((volatile unsigned short *)CAN_MB20_DATA2)
-#define pCAN_MB20_DATA3 ((volatile unsigned short *)CAN_MB20_DATA3)
-#define pCAN_MB20_LENGTH ((volatile unsigned short *)CAN_MB20_LENGTH)
-#define pCAN_MB20_TIMESTAMP ((volatile unsigned short *)CAN_MB20_TIMESTAMP)
-#define pCAN_MB20_ID0 ((volatile unsigned short *)CAN_MB20_ID0)
-#define pCAN_MB20_ID1 ((volatile unsigned short *)CAN_MB20_ID1)
-
-#define pCAN_MB21_DATA0 ((volatile unsigned short *)CAN_MB21_DATA0)
-#define pCAN_MB21_DATA1 ((volatile unsigned short *)CAN_MB21_DATA1)
-#define pCAN_MB21_DATA2 ((volatile unsigned short *)CAN_MB21_DATA2)
-#define pCAN_MB21_DATA3 ((volatile unsigned short *)CAN_MB21_DATA3)
-#define pCAN_MB21_LENGTH ((volatile unsigned short *)CAN_MB21_LENGTH)
-#define pCAN_MB21_TIMESTAMP ((volatile unsigned short *)CAN_MB21_TIMESTAMP)
-#define pCAN_MB21_ID0 ((volatile unsigned short *)CAN_MB21_ID0)
-#define pCAN_MB21_ID1 ((volatile unsigned short *)CAN_MB21_ID1)
-
-#define pCAN_MB22_DATA0 ((volatile unsigned short *)CAN_MB22_DATA0)
-#define pCAN_MB22_DATA1 ((volatile unsigned short *)CAN_MB22_DATA1)
-#define pCAN_MB22_DATA2 ((volatile unsigned short *)CAN_MB22_DATA2)
-#define pCAN_MB22_DATA3 ((volatile unsigned short *)CAN_MB22_DATA3)
-#define pCAN_MB22_LENGTH ((volatile unsigned short *)CAN_MB22_LENGTH)
-#define pCAN_MB22_TIMESTAMP ((volatile unsigned short *)CAN_MB22_TIMESTAMP)
-#define pCAN_MB22_ID0 ((volatile unsigned short *)CAN_MB22_ID0)
-#define pCAN_MB22_ID1 ((volatile unsigned short *)CAN_MB22_ID1)
-
-#define pCAN_MB23_DATA0 ((volatile unsigned short *)CAN_MB23_DATA0)
-#define pCAN_MB23_DATA1 ((volatile unsigned short *)CAN_MB23_DATA1)
-#define pCAN_MB23_DATA2 ((volatile unsigned short *)CAN_MB23_DATA2)
-#define pCAN_MB23_DATA3 ((volatile unsigned short *)CAN_MB23_DATA3)
-#define pCAN_MB23_LENGTH ((volatile unsigned short *)CAN_MB23_LENGTH)
-#define pCAN_MB23_TIMESTAMP ((volatile unsigned short *)CAN_MB23_TIMESTAMP)
-#define pCAN_MB23_ID0 ((volatile unsigned short *)CAN_MB23_ID0)
-#define pCAN_MB23_ID1 ((volatile unsigned short *)CAN_MB23_ID1)
-
-#define pCAN_MB24_DATA0 ((volatile unsigned short *)CAN_MB24_DATA0)
-#define pCAN_MB24_DATA1 ((volatile unsigned short *)CAN_MB24_DATA1)
-#define pCAN_MB24_DATA2 ((volatile unsigned short *)CAN_MB24_DATA2)
-#define pCAN_MB24_DATA3 ((volatile unsigned short *)CAN_MB24_DATA3)
-#define pCAN_MB24_LENGTH ((volatile unsigned short *)CAN_MB24_LENGTH)
-#define pCAN_MB24_TIMESTAMP ((volatile unsigned short *)CAN_MB24_TIMESTAMP)
-#define pCAN_MB24_ID0 ((volatile unsigned short *)CAN_MB24_ID0)
-#define pCAN_MB24_ID1 ((volatile unsigned short *)CAN_MB24_ID1)
-
-#define pCAN_MB25_DATA0 ((volatile unsigned short *)CAN_MB25_DATA0)
-#define pCAN_MB25_DATA1 ((volatile unsigned short *)CAN_MB25_DATA1)
-#define pCAN_MB25_DATA2 ((volatile unsigned short *)CAN_MB25_DATA2)
-#define pCAN_MB25_DATA3 ((volatile unsigned short *)CAN_MB25_DATA3)
-#define pCAN_MB25_LENGTH ((volatile unsigned short *)CAN_MB25_LENGTH)
-#define pCAN_MB25_TIMESTAMP ((volatile unsigned short *)CAN_MB25_TIMESTAMP)
-#define pCAN_MB25_ID0 ((volatile unsigned short *)CAN_MB25_ID0)
-#define pCAN_MB25_ID1 ((volatile unsigned short *)CAN_MB25_ID1)
-
-#define pCAN_MB26_DATA0 ((volatile unsigned short *)CAN_MB26_DATA0)
-#define pCAN_MB26_DATA1 ((volatile unsigned short *)CAN_MB26_DATA1)
-#define pCAN_MB26_DATA2 ((volatile unsigned short *)CAN_MB26_DATA2)
-#define pCAN_MB26_DATA3 ((volatile unsigned short *)CAN_MB26_DATA3)
-#define pCAN_MB26_LENGTH ((volatile unsigned short *)CAN_MB26_LENGTH)
-#define pCAN_MB26_TIMESTAMP ((volatile unsigned short *)CAN_MB26_TIMESTAMP)
-#define pCAN_MB26_ID0 ((volatile unsigned short *)CAN_MB26_ID0)
-#define pCAN_MB26_ID1 ((volatile unsigned short *)CAN_MB26_ID1)
-
-#define pCAN_MB27_DATA0 ((volatile unsigned short *)CAN_MB27_DATA0)
-#define pCAN_MB27_DATA1 ((volatile unsigned short *)CAN_MB27_DATA1)
-#define pCAN_MB27_DATA2 ((volatile unsigned short *)CAN_MB27_DATA2)
-#define pCAN_MB27_DATA3 ((volatile unsigned short *)CAN_MB27_DATA3)
-#define pCAN_MB27_LENGTH ((volatile unsigned short *)CAN_MB27_LENGTH)
-#define pCAN_MB27_TIMESTAMP ((volatile unsigned short *)CAN_MB27_TIMESTAMP)
-#define pCAN_MB27_ID0 ((volatile unsigned short *)CAN_MB27_ID0)
-#define pCAN_MB27_ID1 ((volatile unsigned short *)CAN_MB27_ID1)
-
-#define pCAN_MB28_DATA0 ((volatile unsigned short *)CAN_MB28_DATA0)
-#define pCAN_MB28_DATA1 ((volatile unsigned short *)CAN_MB28_DATA1)
-#define pCAN_MB28_DATA2 ((volatile unsigned short *)CAN_MB28_DATA2)
-#define pCAN_MB28_DATA3 ((volatile unsigned short *)CAN_MB28_DATA3)
-#define pCAN_MB28_LENGTH ((volatile unsigned short *)CAN_MB28_LENGTH)
-#define pCAN_MB28_TIMESTAMP ((volatile unsigned short *)CAN_MB28_TIMESTAMP)
-#define pCAN_MB28_ID0 ((volatile unsigned short *)CAN_MB28_ID0)
-#define pCAN_MB28_ID1 ((volatile unsigned short *)CAN_MB28_ID1)
-
-#define pCAN_MB29_DATA0 ((volatile unsigned short *)CAN_MB29_DATA0)
-#define pCAN_MB29_DATA1 ((volatile unsigned short *)CAN_MB29_DATA1)
-#define pCAN_MB29_DATA2 ((volatile unsigned short *)CAN_MB29_DATA2)
-#define pCAN_MB29_DATA3 ((volatile unsigned short *)CAN_MB29_DATA3)
-#define pCAN_MB29_LENGTH ((volatile unsigned short *)CAN_MB29_LENGTH)
-#define pCAN_MB29_TIMESTAMP ((volatile unsigned short *)CAN_MB29_TIMESTAMP)
-#define pCAN_MB29_ID0 ((volatile unsigned short *)CAN_MB29_ID0)
-#define pCAN_MB29_ID1 ((volatile unsigned short *)CAN_MB29_ID1)
-
-#define pCAN_MB30_DATA0 ((volatile unsigned short *)CAN_MB30_DATA0)
-#define pCAN_MB30_DATA1 ((volatile unsigned short *)CAN_MB30_DATA1)
-#define pCAN_MB30_DATA2 ((volatile unsigned short *)CAN_MB30_DATA2)
-#define pCAN_MB30_DATA3 ((volatile unsigned short *)CAN_MB30_DATA3)
-#define pCAN_MB30_LENGTH ((volatile unsigned short *)CAN_MB30_LENGTH)
-#define pCAN_MB30_TIMESTAMP ((volatile unsigned short *)CAN_MB30_TIMESTAMP)
-#define pCAN_MB30_ID0 ((volatile unsigned short *)CAN_MB30_ID0)
-#define pCAN_MB30_ID1 ((volatile unsigned short *)CAN_MB30_ID1)
-
-#define pCAN_MB31_DATA0 ((volatile unsigned short *)CAN_MB31_DATA0)
-#define pCAN_MB31_DATA1 ((volatile unsigned short *)CAN_MB31_DATA1)
-#define pCAN_MB31_DATA2 ((volatile unsigned short *)CAN_MB31_DATA2)
-#define pCAN_MB31_DATA3 ((volatile unsigned short *)CAN_MB31_DATA3)
-#define pCAN_MB31_LENGTH ((volatile unsigned short *)CAN_MB31_LENGTH)
-#define pCAN_MB31_TIMESTAMP ((volatile unsigned short *)CAN_MB31_TIMESTAMP)
-#define pCAN_MB31_ID0 ((volatile unsigned short *)CAN_MB31_ID0)
-#define pCAN_MB31_ID1 ((volatile unsigned short *)CAN_MB31_ID1)
-
-
-/* CAN Mailbox Area Macros */
-#define pCAN_MB_ID1(x) ((volatile unsigned short *)CAN_MB_ID1(x))
-#define pCAN_MB_ID0(x) ((volatile unsigned short *)CAN_MB_ID0(x))
-#define pCAN_MB_TIMESTAMP(x) ((volatile unsigned short *)CAN_MB_TIMESTAMP(x))
-#define pCAN_MB_LENGTH(x) ((volatile unsigned short *)CAN_MB_LENGTH(x))
-#define pCAN_MB_DATA3(x) ((volatile unsigned short *)CAN_MB_DATA3(x))
-#define pCAN_MB_DATA2(x) ((volatile unsigned short *)CAN_MB_DATA2(x))
-#define pCAN_MB_DATA1(x) ((volatile unsigned short *)CAN_MB_DATA1(x))
-#define pCAN_MB_DATA0(x) ((volatile unsigned short *)CAN_MB_DATA0(x))
-
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define pCAN_CNF pCAN_DEBUG
-#define pTWI0_PRESCALE pTWI0_CONTROL
-#define pTWI0_INT_SRC pTWI0_INT_STAT
-#define pTWI0_INT_ENABLE pTWI0_INT_MASK
-#define pTWI1_PRESCALE pTWI1_CONTROL
-#define pTWI1_INT_SRC pTWI1_INT_STAT
-#define pTWI1_INT_ENABLE pTWI1_INT_MASK
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF539_H */
-
diff --git a/libgloss/bfin/include/cdefBF53x.h b/libgloss/bfin/include/cdefBF53x.h
deleted file mode 100644
index f147a5d..0000000
--- a/libgloss/bfin/include/cdefBF53x.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF53x.h
- *
- * (c) Copyright 2002-2006 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEFBF53x_H
-#define _CDEFBF53x_H
-
-#include <sys/platform.h>
-
-#endif /* _CDEFBF53x_H */
diff --git a/libgloss/bfin/include/cdefBF542.h b/libgloss/bfin/include/cdefBF542.h
deleted file mode 100644
index 5e11191..0000000
--- a/libgloss/bfin/include/cdefBF542.h
+++ /dev/null
@@ -1,364 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF542.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF542 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF542_H
-#define _CDEF_BF542_H
-
-/* include all Core registers and bit definitions */
-#include <defBF542.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF542 */
-
-/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <cdefBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF542 that are not in the common header */
-
-/* ATAPI Registers */
-
-#define pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
-#define pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
-#define pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
-#define pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
-#define pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
-#define pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
-#define pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
-#define pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
-#define pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
-#define pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
-#define pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
-#define pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
-#define pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
-#define pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
-#define pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
-#define pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
-#define pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
-#define pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
-#define pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
-#define pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
-#define pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
-#define pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
-#define pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
-#define pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
-#define pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
-
-/* SDH Registers */
-
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-/* Keypad Registers */
-
-#define pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
-#define pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
-#define pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
-#define pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
-#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
-#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF542_H */
diff --git a/libgloss/bfin/include/cdefBF542M.h b/libgloss/bfin/include/cdefBF542M.h
deleted file mode 100644
index 060b213..0000000
--- a/libgloss/bfin/include/cdefBF542M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF542M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps to the cdef for BF542 unless anything
-** is required to change.
-**
-************************************************************************************/
-
-#ifndef _CDEF_BF542M_H
-#define _CDEF_BF542M_H
-
-#include <cdefBF542.h>
-
-#endif /* _CDEF_BF542M_H */
diff --git a/libgloss/bfin/include/cdefBF544.h b/libgloss/bfin/include/cdefBF544.h
deleted file mode 100644
index d164682..0000000
--- a/libgloss/bfin/include/cdefBF544.h
+++ /dev/null
@@ -1,520 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF544.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF544 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF544_H
-#define _CDEF_BF544_H
-
-/* include all Core registers and bit definitions */
-#include <defBF544.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF544 */
-
-/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <cdefBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF544 that are not in the common header */
-
-/* Timer Registers */
-
-#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
-#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
-#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
-#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
-#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
-#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
-#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
-#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
-#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
-#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
-#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
-#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
-
-/* Timer Group of 3 */
-
-#define pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
-#define pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
-#define pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
-
-/* EPPI0 Registers */
-
-#define pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
-#define pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
-#define pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
-#define pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
-#define pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
-#define pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
-#define pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
-#define pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
-#define pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
-#define pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
-#define pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
-#define pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
-#define pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
-#define pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define pCAN1_MC1 ((volatile unsigned short *)CAN1_MC1)
-#define pCAN1_MD1 ((volatile unsigned short *)CAN1_MD1)
-#define pCAN1_TRS1 ((volatile unsigned short *)CAN1_TRS1)
-#define pCAN1_TRR1 ((volatile unsigned short *)CAN1_TRR1)
-#define pCAN1_TA1 ((volatile unsigned short *)CAN1_TA1)
-#define pCAN1_AA1 ((volatile unsigned short *)CAN1_AA1)
-#define pCAN1_RMP1 ((volatile unsigned short *)CAN1_RMP1)
-#define pCAN1_RML1 ((volatile unsigned short *)CAN1_RML1)
-#define pCAN1_MBTIF1 ((volatile unsigned short *)CAN1_MBTIF1)
-#define pCAN1_MBRIF1 ((volatile unsigned short *)CAN1_MBRIF1)
-#define pCAN1_MBIM1 ((volatile unsigned short *)CAN1_MBIM1)
-#define pCAN1_RFH1 ((volatile unsigned short *)CAN1_RFH1)
-#define pCAN1_OPSS1 ((volatile unsigned short *)CAN1_OPSS1)
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define pCAN1_MC2 ((volatile unsigned short *)CAN1_MC2)
-#define pCAN1_MD2 ((volatile unsigned short *)CAN1_MD2)
-#define pCAN1_TRS2 ((volatile unsigned short *)CAN1_TRS2)
-#define pCAN1_TRR2 ((volatile unsigned short *)CAN1_TRR2)
-#define pCAN1_TA2 ((volatile unsigned short *)CAN1_TA2)
-#define pCAN1_AA2 ((volatile unsigned short *)CAN1_AA2)
-#define pCAN1_RMP2 ((volatile unsigned short *)CAN1_RMP2)
-#define pCAN1_RML2 ((volatile unsigned short *)CAN1_RML2)
-#define pCAN1_MBTIF2 ((volatile unsigned short *)CAN1_MBTIF2)
-#define pCAN1_MBRIF2 ((volatile unsigned short *)CAN1_MBRIF2)
-#define pCAN1_MBIM2 ((volatile unsigned short *)CAN1_MBIM2)
-#define pCAN1_RFH2 ((volatile unsigned short *)CAN1_RFH2)
-#define pCAN1_OPSS2 ((volatile unsigned short *)CAN1_OPSS2)
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define pCAN1_CLOCK ((volatile unsigned short *)CAN1_CLOCK)
-#define pCAN1_TIMING ((volatile unsigned short *)CAN1_TIMING)
-#define pCAN1_DEBUG ((volatile unsigned short *)CAN1_DEBUG)
-#define pCAN1_STATUS ((volatile unsigned short *)CAN1_STATUS)
-#define pCAN1_CEC ((volatile unsigned short *)CAN1_CEC)
-#define pCAN1_GIS ((volatile unsigned short *)CAN1_GIS)
-#define pCAN1_GIM ((volatile unsigned short *)CAN1_GIM)
-#define pCAN1_GIF ((volatile unsigned short *)CAN1_GIF)
-#define pCAN1_CONTROL ((volatile unsigned short *)CAN1_CONTROL)
-#define pCAN1_INTR ((volatile unsigned short *)CAN1_INTR)
-#define pCAN1_MBTD ((volatile unsigned short *)CAN1_MBTD)
-#define pCAN1_EWR ((volatile unsigned short *)CAN1_EWR)
-#define pCAN1_ESR ((volatile unsigned short *)CAN1_ESR)
-#define pCAN1_UCCNT ((volatile unsigned short *)CAN1_UCCNT)
-#define pCAN1_UCRC ((volatile unsigned short *)CAN1_UCRC)
-#define pCAN1_UCCNF ((volatile unsigned short *)CAN1_UCCNF)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM00L ((volatile unsigned short *)CAN1_AM00L)
-#define pCAN1_AM00H ((volatile unsigned short *)CAN1_AM00H)
-#define pCAN1_AM01L ((volatile unsigned short *)CAN1_AM01L)
-#define pCAN1_AM01H ((volatile unsigned short *)CAN1_AM01H)
-#define pCAN1_AM02L ((volatile unsigned short *)CAN1_AM02L)
-#define pCAN1_AM02H ((volatile unsigned short *)CAN1_AM02H)
-#define pCAN1_AM03L ((volatile unsigned short *)CAN1_AM03L)
-#define pCAN1_AM03H ((volatile unsigned short *)CAN1_AM03H)
-#define pCAN1_AM04L ((volatile unsigned short *)CAN1_AM04L)
-#define pCAN1_AM04H ((volatile unsigned short *)CAN1_AM04H)
-#define pCAN1_AM05L ((volatile unsigned short *)CAN1_AM05L)
-#define pCAN1_AM05H ((volatile unsigned short *)CAN1_AM05H)
-#define pCAN1_AM06L ((volatile unsigned short *)CAN1_AM06L)
-#define pCAN1_AM06H ((volatile unsigned short *)CAN1_AM06H)
-#define pCAN1_AM07L ((volatile unsigned short *)CAN1_AM07L)
-#define pCAN1_AM07H ((volatile unsigned short *)CAN1_AM07H)
-#define pCAN1_AM08L ((volatile unsigned short *)CAN1_AM08L)
-#define pCAN1_AM08H ((volatile unsigned short *)CAN1_AM08H)
-#define pCAN1_AM09L ((volatile unsigned short *)CAN1_AM09L)
-#define pCAN1_AM09H ((volatile unsigned short *)CAN1_AM09H)
-#define pCAN1_AM10L ((volatile unsigned short *)CAN1_AM10L)
-#define pCAN1_AM10H ((volatile unsigned short *)CAN1_AM10H)
-#define pCAN1_AM11L ((volatile unsigned short *)CAN1_AM11L)
-#define pCAN1_AM11H ((volatile unsigned short *)CAN1_AM11H)
-#define pCAN1_AM12L ((volatile unsigned short *)CAN1_AM12L)
-#define pCAN1_AM12H ((volatile unsigned short *)CAN1_AM12H)
-#define pCAN1_AM13L ((volatile unsigned short *)CAN1_AM13L)
-#define pCAN1_AM13H ((volatile unsigned short *)CAN1_AM13H)
-#define pCAN1_AM14L ((volatile unsigned short *)CAN1_AM14L)
-#define pCAN1_AM14H ((volatile unsigned short *)CAN1_AM14H)
-#define pCAN1_AM15L ((volatile unsigned short *)CAN1_AM15L)
-#define pCAN1_AM15H ((volatile unsigned short *)CAN1_AM15H)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM16L ((volatile unsigned short *)CAN1_AM16L)
-#define pCAN1_AM16H ((volatile unsigned short *)CAN1_AM16H)
-#define pCAN1_AM17L ((volatile unsigned short *)CAN1_AM17L)
-#define pCAN1_AM17H ((volatile unsigned short *)CAN1_AM17H)
-#define pCAN1_AM18L ((volatile unsigned short *)CAN1_AM18L)
-#define pCAN1_AM18H ((volatile unsigned short *)CAN1_AM18H)
-#define pCAN1_AM19L ((volatile unsigned short *)CAN1_AM19L)
-#define pCAN1_AM19H ((volatile unsigned short *)CAN1_AM19H)
-#define pCAN1_AM20L ((volatile unsigned short *)CAN1_AM20L)
-#define pCAN1_AM20H ((volatile unsigned short *)CAN1_AM20H)
-#define pCAN1_AM21L ((volatile unsigned short *)CAN1_AM21L)
-#define pCAN1_AM21H ((volatile unsigned short *)CAN1_AM21H)
-#define pCAN1_AM22L ((volatile unsigned short *)CAN1_AM22L)
-#define pCAN1_AM22H ((volatile unsigned short *)CAN1_AM22H)
-#define pCAN1_AM23L ((volatile unsigned short *)CAN1_AM23L)
-#define pCAN1_AM23H ((volatile unsigned short *)CAN1_AM23H)
-#define pCAN1_AM24L ((volatile unsigned short *)CAN1_AM24L)
-#define pCAN1_AM24H ((volatile unsigned short *)CAN1_AM24H)
-#define pCAN1_AM25L ((volatile unsigned short *)CAN1_AM25L)
-#define pCAN1_AM25H ((volatile unsigned short *)CAN1_AM25H)
-#define pCAN1_AM26L ((volatile unsigned short *)CAN1_AM26L)
-#define pCAN1_AM26H ((volatile unsigned short *)CAN1_AM26H)
-#define pCAN1_AM27L ((volatile unsigned short *)CAN1_AM27L)
-#define pCAN1_AM27H ((volatile unsigned short *)CAN1_AM27H)
-#define pCAN1_AM28L ((volatile unsigned short *)CAN1_AM28L)
-#define pCAN1_AM28H ((volatile unsigned short *)CAN1_AM28H)
-#define pCAN1_AM29L ((volatile unsigned short *)CAN1_AM29L)
-#define pCAN1_AM29H ((volatile unsigned short *)CAN1_AM29H)
-#define pCAN1_AM30L ((volatile unsigned short *)CAN1_AM30L)
-#define pCAN1_AM30H ((volatile unsigned short *)CAN1_AM30H)
-#define pCAN1_AM31L ((volatile unsigned short *)CAN1_AM31L)
-#define pCAN1_AM31H ((volatile unsigned short *)CAN1_AM31H)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB00_DATA0 ((volatile unsigned short *)CAN1_MB00_DATA0)
-#define pCAN1_MB00_DATA1 ((volatile unsigned short *)CAN1_MB00_DATA1)
-#define pCAN1_MB00_DATA2 ((volatile unsigned short *)CAN1_MB00_DATA2)
-#define pCAN1_MB00_DATA3 ((volatile unsigned short *)CAN1_MB00_DATA3)
-#define pCAN1_MB00_LENGTH ((volatile unsigned short *)CAN1_MB00_LENGTH)
-#define pCAN1_MB00_TIMESTAMP ((volatile unsigned short *)CAN1_MB00_TIMESTAMP)
-#define pCAN1_MB00_ID0 ((volatile unsigned short *)CAN1_MB00_ID0)
-#define pCAN1_MB00_ID1 ((volatile unsigned short *)CAN1_MB00_ID1)
-#define pCAN1_MB01_DATA0 ((volatile unsigned short *)CAN1_MB01_DATA0)
-#define pCAN1_MB01_DATA1 ((volatile unsigned short *)CAN1_MB01_DATA1)
-#define pCAN1_MB01_DATA2 ((volatile unsigned short *)CAN1_MB01_DATA2)
-#define pCAN1_MB01_DATA3 ((volatile unsigned short *)CAN1_MB01_DATA3)
-#define pCAN1_MB01_LENGTH ((volatile unsigned short *)CAN1_MB01_LENGTH)
-#define pCAN1_MB01_TIMESTAMP ((volatile unsigned short *)CAN1_MB01_TIMESTAMP)
-#define pCAN1_MB01_ID0 ((volatile unsigned short *)CAN1_MB01_ID0)
-#define pCAN1_MB01_ID1 ((volatile unsigned short *)CAN1_MB01_ID1)
-#define pCAN1_MB02_DATA0 ((volatile unsigned short *)CAN1_MB02_DATA0)
-#define pCAN1_MB02_DATA1 ((volatile unsigned short *)CAN1_MB02_DATA1)
-#define pCAN1_MB02_DATA2 ((volatile unsigned short *)CAN1_MB02_DATA2)
-#define pCAN1_MB02_DATA3 ((volatile unsigned short *)CAN1_MB02_DATA3)
-#define pCAN1_MB02_LENGTH ((volatile unsigned short *)CAN1_MB02_LENGTH)
-#define pCAN1_MB02_TIMESTAMP ((volatile unsigned short *)CAN1_MB02_TIMESTAMP)
-#define pCAN1_MB02_ID0 ((volatile unsigned short *)CAN1_MB02_ID0)
-#define pCAN1_MB02_ID1 ((volatile unsigned short *)CAN1_MB02_ID1)
-#define pCAN1_MB03_DATA0 ((volatile unsigned short *)CAN1_MB03_DATA0)
-#define pCAN1_MB03_DATA1 ((volatile unsigned short *)CAN1_MB03_DATA1)
-#define pCAN1_MB03_DATA2 ((volatile unsigned short *)CAN1_MB03_DATA2)
-#define pCAN1_MB03_DATA3 ((volatile unsigned short *)CAN1_MB03_DATA3)
-#define pCAN1_MB03_LENGTH ((volatile unsigned short *)CAN1_MB03_LENGTH)
-#define pCAN1_MB03_TIMESTAMP ((volatile unsigned short *)CAN1_MB03_TIMESTAMP)
-#define pCAN1_MB03_ID0 ((volatile unsigned short *)CAN1_MB03_ID0)
-#define pCAN1_MB03_ID1 ((volatile unsigned short *)CAN1_MB03_ID1)
-#define pCAN1_MB04_DATA0 ((volatile unsigned short *)CAN1_MB04_DATA0)
-#define pCAN1_MB04_DATA1 ((volatile unsigned short *)CAN1_MB04_DATA1)
-#define pCAN1_MB04_DATA2 ((volatile unsigned short *)CAN1_MB04_DATA2)
-#define pCAN1_MB04_DATA3 ((volatile unsigned short *)CAN1_MB04_DATA3)
-#define pCAN1_MB04_LENGTH ((volatile unsigned short *)CAN1_MB04_LENGTH)
-#define pCAN1_MB04_TIMESTAMP ((volatile unsigned short *)CAN1_MB04_TIMESTAMP)
-#define pCAN1_MB04_ID0 ((volatile unsigned short *)CAN1_MB04_ID0)
-#define pCAN1_MB04_ID1 ((volatile unsigned short *)CAN1_MB04_ID1)
-#define pCAN1_MB05_DATA0 ((volatile unsigned short *)CAN1_MB05_DATA0)
-#define pCAN1_MB05_DATA1 ((volatile unsigned short *)CAN1_MB05_DATA1)
-#define pCAN1_MB05_DATA2 ((volatile unsigned short *)CAN1_MB05_DATA2)
-#define pCAN1_MB05_DATA3 ((volatile unsigned short *)CAN1_MB05_DATA3)
-#define pCAN1_MB05_LENGTH ((volatile unsigned short *)CAN1_MB05_LENGTH)
-#define pCAN1_MB05_TIMESTAMP ((volatile unsigned short *)CAN1_MB05_TIMESTAMP)
-#define pCAN1_MB05_ID0 ((volatile unsigned short *)CAN1_MB05_ID0)
-#define pCAN1_MB05_ID1 ((volatile unsigned short *)CAN1_MB05_ID1)
-#define pCAN1_MB06_DATA0 ((volatile unsigned short *)CAN1_MB06_DATA0)
-#define pCAN1_MB06_DATA1 ((volatile unsigned short *)CAN1_MB06_DATA1)
-#define pCAN1_MB06_DATA2 ((volatile unsigned short *)CAN1_MB06_DATA2)
-#define pCAN1_MB06_DATA3 ((volatile unsigned short *)CAN1_MB06_DATA3)
-#define pCAN1_MB06_LENGTH ((volatile unsigned short *)CAN1_MB06_LENGTH)
-#define pCAN1_MB06_TIMESTAMP ((volatile unsigned short *)CAN1_MB06_TIMESTAMP)
-#define pCAN1_MB06_ID0 ((volatile unsigned short *)CAN1_MB06_ID0)
-#define pCAN1_MB06_ID1 ((volatile unsigned short *)CAN1_MB06_ID1)
-#define pCAN1_MB07_DATA0 ((volatile unsigned short *)CAN1_MB07_DATA0)
-#define pCAN1_MB07_DATA1 ((volatile unsigned short *)CAN1_MB07_DATA1)
-#define pCAN1_MB07_DATA2 ((volatile unsigned short *)CAN1_MB07_DATA2)
-#define pCAN1_MB07_DATA3 ((volatile unsigned short *)CAN1_MB07_DATA3)
-#define pCAN1_MB07_LENGTH ((volatile unsigned short *)CAN1_MB07_LENGTH)
-#define pCAN1_MB07_TIMESTAMP ((volatile unsigned short *)CAN1_MB07_TIMESTAMP)
-#define pCAN1_MB07_ID0 ((volatile unsigned short *)CAN1_MB07_ID0)
-#define pCAN1_MB07_ID1 ((volatile unsigned short *)CAN1_MB07_ID1)
-#define pCAN1_MB08_DATA0 ((volatile unsigned short *)CAN1_MB08_DATA0)
-#define pCAN1_MB08_DATA1 ((volatile unsigned short *)CAN1_MB08_DATA1)
-#define pCAN1_MB08_DATA2 ((volatile unsigned short *)CAN1_MB08_DATA2)
-#define pCAN1_MB08_DATA3 ((volatile unsigned short *)CAN1_MB08_DATA3)
-#define pCAN1_MB08_LENGTH ((volatile unsigned short *)CAN1_MB08_LENGTH)
-#define pCAN1_MB08_TIMESTAMP ((volatile unsigned short *)CAN1_MB08_TIMESTAMP)
-#define pCAN1_MB08_ID0 ((volatile unsigned short *)CAN1_MB08_ID0)
-#define pCAN1_MB08_ID1 ((volatile unsigned short *)CAN1_MB08_ID1)
-#define pCAN1_MB09_DATA0 ((volatile unsigned short *)CAN1_MB09_DATA0)
-#define pCAN1_MB09_DATA1 ((volatile unsigned short *)CAN1_MB09_DATA1)
-#define pCAN1_MB09_DATA2 ((volatile unsigned short *)CAN1_MB09_DATA2)
-#define pCAN1_MB09_DATA3 ((volatile unsigned short *)CAN1_MB09_DATA3)
-#define pCAN1_MB09_LENGTH ((volatile unsigned short *)CAN1_MB09_LENGTH)
-#define pCAN1_MB09_TIMESTAMP ((volatile unsigned short *)CAN1_MB09_TIMESTAMP)
-#define pCAN1_MB09_ID0 ((volatile unsigned short *)CAN1_MB09_ID0)
-#define pCAN1_MB09_ID1 ((volatile unsigned short *)CAN1_MB09_ID1)
-#define pCAN1_MB10_DATA0 ((volatile unsigned short *)CAN1_MB10_DATA0)
-#define pCAN1_MB10_DATA1 ((volatile unsigned short *)CAN1_MB10_DATA1)
-#define pCAN1_MB10_DATA2 ((volatile unsigned short *)CAN1_MB10_DATA2)
-#define pCAN1_MB10_DATA3 ((volatile unsigned short *)CAN1_MB10_DATA3)
-#define pCAN1_MB10_LENGTH ((volatile unsigned short *)CAN1_MB10_LENGTH)
-#define pCAN1_MB10_TIMESTAMP ((volatile unsigned short *)CAN1_MB10_TIMESTAMP)
-#define pCAN1_MB10_ID0 ((volatile unsigned short *)CAN1_MB10_ID0)
-#define pCAN1_MB10_ID1 ((volatile unsigned short *)CAN1_MB10_ID1)
-#define pCAN1_MB11_DATA0 ((volatile unsigned short *)CAN1_MB11_DATA0)
-#define pCAN1_MB11_DATA1 ((volatile unsigned short *)CAN1_MB11_DATA1)
-#define pCAN1_MB11_DATA2 ((volatile unsigned short *)CAN1_MB11_DATA2)
-#define pCAN1_MB11_DATA3 ((volatile unsigned short *)CAN1_MB11_DATA3)
-#define pCAN1_MB11_LENGTH ((volatile unsigned short *)CAN1_MB11_LENGTH)
-#define pCAN1_MB11_TIMESTAMP ((volatile unsigned short *)CAN1_MB11_TIMESTAMP)
-#define pCAN1_MB11_ID0 ((volatile unsigned short *)CAN1_MB11_ID0)
-#define pCAN1_MB11_ID1 ((volatile unsigned short *)CAN1_MB11_ID1)
-#define pCAN1_MB12_DATA0 ((volatile unsigned short *)CAN1_MB12_DATA0)
-#define pCAN1_MB12_DATA1 ((volatile unsigned short *)CAN1_MB12_DATA1)
-#define pCAN1_MB12_DATA2 ((volatile unsigned short *)CAN1_MB12_DATA2)
-#define pCAN1_MB12_DATA3 ((volatile unsigned short *)CAN1_MB12_DATA3)
-#define pCAN1_MB12_LENGTH ((volatile unsigned short *)CAN1_MB12_LENGTH)
-#define pCAN1_MB12_TIMESTAMP ((volatile unsigned short *)CAN1_MB12_TIMESTAMP)
-#define pCAN1_MB12_ID0 ((volatile unsigned short *)CAN1_MB12_ID0)
-#define pCAN1_MB12_ID1 ((volatile unsigned short *)CAN1_MB12_ID1)
-#define pCAN1_MB13_DATA0 ((volatile unsigned short *)CAN1_MB13_DATA0)
-#define pCAN1_MB13_DATA1 ((volatile unsigned short *)CAN1_MB13_DATA1)
-#define pCAN1_MB13_DATA2 ((volatile unsigned short *)CAN1_MB13_DATA2)
-#define pCAN1_MB13_DATA3 ((volatile unsigned short *)CAN1_MB13_DATA3)
-#define pCAN1_MB13_LENGTH ((volatile unsigned short *)CAN1_MB13_LENGTH)
-#define pCAN1_MB13_TIMESTAMP ((volatile unsigned short *)CAN1_MB13_TIMESTAMP)
-#define pCAN1_MB13_ID0 ((volatile unsigned short *)CAN1_MB13_ID0)
-#define pCAN1_MB13_ID1 ((volatile unsigned short *)CAN1_MB13_ID1)
-#define pCAN1_MB14_DATA0 ((volatile unsigned short *)CAN1_MB14_DATA0)
-#define pCAN1_MB14_DATA1 ((volatile unsigned short *)CAN1_MB14_DATA1)
-#define pCAN1_MB14_DATA2 ((volatile unsigned short *)CAN1_MB14_DATA2)
-#define pCAN1_MB14_DATA3 ((volatile unsigned short *)CAN1_MB14_DATA3)
-#define pCAN1_MB14_LENGTH ((volatile unsigned short *)CAN1_MB14_LENGTH)
-#define pCAN1_MB14_TIMESTAMP ((volatile unsigned short *)CAN1_MB14_TIMESTAMP)
-#define pCAN1_MB14_ID0 ((volatile unsigned short *)CAN1_MB14_ID0)
-#define pCAN1_MB14_ID1 ((volatile unsigned short *)CAN1_MB14_ID1)
-#define pCAN1_MB15_DATA0 ((volatile unsigned short *)CAN1_MB15_DATA0)
-#define pCAN1_MB15_DATA1 ((volatile unsigned short *)CAN1_MB15_DATA1)
-#define pCAN1_MB15_DATA2 ((volatile unsigned short *)CAN1_MB15_DATA2)
-#define pCAN1_MB15_DATA3 ((volatile unsigned short *)CAN1_MB15_DATA3)
-#define pCAN1_MB15_LENGTH ((volatile unsigned short *)CAN1_MB15_LENGTH)
-#define pCAN1_MB15_TIMESTAMP ((volatile unsigned short *)CAN1_MB15_TIMESTAMP)
-#define pCAN1_MB15_ID0 ((volatile unsigned short *)CAN1_MB15_ID0)
-#define pCAN1_MB15_ID1 ((volatile unsigned short *)CAN1_MB15_ID1)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB16_DATA0 ((volatile unsigned short *)CAN1_MB16_DATA0)
-#define pCAN1_MB16_DATA1 ((volatile unsigned short *)CAN1_MB16_DATA1)
-#define pCAN1_MB16_DATA2 ((volatile unsigned short *)CAN1_MB16_DATA2)
-#define pCAN1_MB16_DATA3 ((volatile unsigned short *)CAN1_MB16_DATA3)
-#define pCAN1_MB16_LENGTH ((volatile unsigned short *)CAN1_MB16_LENGTH)
-#define pCAN1_MB16_TIMESTAMP ((volatile unsigned short *)CAN1_MB16_TIMESTAMP)
-#define pCAN1_MB16_ID0 ((volatile unsigned short *)CAN1_MB16_ID0)
-#define pCAN1_MB16_ID1 ((volatile unsigned short *)CAN1_MB16_ID1)
-#define pCAN1_MB17_DATA0 ((volatile unsigned short *)CAN1_MB17_DATA0)
-#define pCAN1_MB17_DATA1 ((volatile unsigned short *)CAN1_MB17_DATA1)
-#define pCAN1_MB17_DATA2 ((volatile unsigned short *)CAN1_MB17_DATA2)
-#define pCAN1_MB17_DATA3 ((volatile unsigned short *)CAN1_MB17_DATA3)
-#define pCAN1_MB17_LENGTH ((volatile unsigned short *)CAN1_MB17_LENGTH)
-#define pCAN1_MB17_TIMESTAMP ((volatile unsigned short *)CAN1_MB17_TIMESTAMP)
-#define pCAN1_MB17_ID0 ((volatile unsigned short *)CAN1_MB17_ID0)
-#define pCAN1_MB17_ID1 ((volatile unsigned short *)CAN1_MB17_ID1)
-#define pCAN1_MB18_DATA0 ((volatile unsigned short *)CAN1_MB18_DATA0)
-#define pCAN1_MB18_DATA1 ((volatile unsigned short *)CAN1_MB18_DATA1)
-#define pCAN1_MB18_DATA2 ((volatile unsigned short *)CAN1_MB18_DATA2)
-#define pCAN1_MB18_DATA3 ((volatile unsigned short *)CAN1_MB18_DATA3)
-#define pCAN1_MB18_LENGTH ((volatile unsigned short *)CAN1_MB18_LENGTH)
-#define pCAN1_MB18_TIMESTAMP ((volatile unsigned short *)CAN1_MB18_TIMESTAMP)
-#define pCAN1_MB18_ID0 ((volatile unsigned short *)CAN1_MB18_ID0)
-#define pCAN1_MB18_ID1 ((volatile unsigned short *)CAN1_MB18_ID1)
-#define pCAN1_MB19_DATA0 ((volatile unsigned short *)CAN1_MB19_DATA0)
-#define pCAN1_MB19_DATA1 ((volatile unsigned short *)CAN1_MB19_DATA1)
-#define pCAN1_MB19_DATA2 ((volatile unsigned short *)CAN1_MB19_DATA2)
-#define pCAN1_MB19_DATA3 ((volatile unsigned short *)CAN1_MB19_DATA3)
-#define pCAN1_MB19_LENGTH ((volatile unsigned short *)CAN1_MB19_LENGTH)
-#define pCAN1_MB19_TIMESTAMP ((volatile unsigned short *)CAN1_MB19_TIMESTAMP)
-#define pCAN1_MB19_ID0 ((volatile unsigned short *)CAN1_MB19_ID0)
-#define pCAN1_MB19_ID1 ((volatile unsigned short *)CAN1_MB19_ID1)
-#define pCAN1_MB20_DATA0 ((volatile unsigned short *)CAN1_MB20_DATA0)
-#define pCAN1_MB20_DATA1 ((volatile unsigned short *)CAN1_MB20_DATA1)
-#define pCAN1_MB20_DATA2 ((volatile unsigned short *)CAN1_MB20_DATA2)
-#define pCAN1_MB20_DATA3 ((volatile unsigned short *)CAN1_MB20_DATA3)
-#define pCAN1_MB20_LENGTH ((volatile unsigned short *)CAN1_MB20_LENGTH)
-#define pCAN1_MB20_TIMESTAMP ((volatile unsigned short *)CAN1_MB20_TIMESTAMP)
-#define pCAN1_MB20_ID0 ((volatile unsigned short *)CAN1_MB20_ID0)
-#define pCAN1_MB20_ID1 ((volatile unsigned short *)CAN1_MB20_ID1)
-#define pCAN1_MB21_DATA0 ((volatile unsigned short *)CAN1_MB21_DATA0)
-#define pCAN1_MB21_DATA1 ((volatile unsigned short *)CAN1_MB21_DATA1)
-#define pCAN1_MB21_DATA2 ((volatile unsigned short *)CAN1_MB21_DATA2)
-#define pCAN1_MB21_DATA3 ((volatile unsigned short *)CAN1_MB21_DATA3)
-#define pCAN1_MB21_LENGTH ((volatile unsigned short *)CAN1_MB21_LENGTH)
-#define pCAN1_MB21_TIMESTAMP ((volatile unsigned short *)CAN1_MB21_TIMESTAMP)
-#define pCAN1_MB21_ID0 ((volatile unsigned short *)CAN1_MB21_ID0)
-#define pCAN1_MB21_ID1 ((volatile unsigned short *)CAN1_MB21_ID1)
-#define pCAN1_MB22_DATA0 ((volatile unsigned short *)CAN1_MB22_DATA0)
-#define pCAN1_MB22_DATA1 ((volatile unsigned short *)CAN1_MB22_DATA1)
-#define pCAN1_MB22_DATA2 ((volatile unsigned short *)CAN1_MB22_DATA2)
-#define pCAN1_MB22_DATA3 ((volatile unsigned short *)CAN1_MB22_DATA3)
-#define pCAN1_MB22_LENGTH ((volatile unsigned short *)CAN1_MB22_LENGTH)
-#define pCAN1_MB22_TIMESTAMP ((volatile unsigned short *)CAN1_MB22_TIMESTAMP)
-#define pCAN1_MB22_ID0 ((volatile unsigned short *)CAN1_MB22_ID0)
-#define pCAN1_MB22_ID1 ((volatile unsigned short *)CAN1_MB22_ID1)
-#define pCAN1_MB23_DATA0 ((volatile unsigned short *)CAN1_MB23_DATA0)
-#define pCAN1_MB23_DATA1 ((volatile unsigned short *)CAN1_MB23_DATA1)
-#define pCAN1_MB23_DATA2 ((volatile unsigned short *)CAN1_MB23_DATA2)
-#define pCAN1_MB23_DATA3 ((volatile unsigned short *)CAN1_MB23_DATA3)
-#define pCAN1_MB23_LENGTH ((volatile unsigned short *)CAN1_MB23_LENGTH)
-#define pCAN1_MB23_TIMESTAMP ((volatile unsigned short *)CAN1_MB23_TIMESTAMP)
-#define pCAN1_MB23_ID0 ((volatile unsigned short *)CAN1_MB23_ID0)
-#define pCAN1_MB23_ID1 ((volatile unsigned short *)CAN1_MB23_ID1)
-#define pCAN1_MB24_DATA0 ((volatile unsigned short *)CAN1_MB24_DATA0)
-#define pCAN1_MB24_DATA1 ((volatile unsigned short *)CAN1_MB24_DATA1)
-#define pCAN1_MB24_DATA2 ((volatile unsigned short *)CAN1_MB24_DATA2)
-#define pCAN1_MB24_DATA3 ((volatile unsigned short *)CAN1_MB24_DATA3)
-#define pCAN1_MB24_LENGTH ((volatile unsigned short *)CAN1_MB24_LENGTH)
-#define pCAN1_MB24_TIMESTAMP ((volatile unsigned short *)CAN1_MB24_TIMESTAMP)
-#define pCAN1_MB24_ID0 ((volatile unsigned short *)CAN1_MB24_ID0)
-#define pCAN1_MB24_ID1 ((volatile unsigned short *)CAN1_MB24_ID1)
-#define pCAN1_MB25_DATA0 ((volatile unsigned short *)CAN1_MB25_DATA0)
-#define pCAN1_MB25_DATA1 ((volatile unsigned short *)CAN1_MB25_DATA1)
-#define pCAN1_MB25_DATA2 ((volatile unsigned short *)CAN1_MB25_DATA2)
-#define pCAN1_MB25_DATA3 ((volatile unsigned short *)CAN1_MB25_DATA3)
-#define pCAN1_MB25_LENGTH ((volatile unsigned short *)CAN1_MB25_LENGTH)
-#define pCAN1_MB25_TIMESTAMP ((volatile unsigned short *)CAN1_MB25_TIMESTAMP)
-#define pCAN1_MB25_ID0 ((volatile unsigned short *)CAN1_MB25_ID0)
-#define pCAN1_MB25_ID1 ((volatile unsigned short *)CAN1_MB25_ID1)
-#define pCAN1_MB26_DATA0 ((volatile unsigned short *)CAN1_MB26_DATA0)
-#define pCAN1_MB26_DATA1 ((volatile unsigned short *)CAN1_MB26_DATA1)
-#define pCAN1_MB26_DATA2 ((volatile unsigned short *)CAN1_MB26_DATA2)
-#define pCAN1_MB26_DATA3 ((volatile unsigned short *)CAN1_MB26_DATA3)
-#define pCAN1_MB26_LENGTH ((volatile unsigned short *)CAN1_MB26_LENGTH)
-#define pCAN1_MB26_TIMESTAMP ((volatile unsigned short *)CAN1_MB26_TIMESTAMP)
-#define pCAN1_MB26_ID0 ((volatile unsigned short *)CAN1_MB26_ID0)
-#define pCAN1_MB26_ID1 ((volatile unsigned short *)CAN1_MB26_ID1)
-#define pCAN1_MB27_DATA0 ((volatile unsigned short *)CAN1_MB27_DATA0)
-#define pCAN1_MB27_DATA1 ((volatile unsigned short *)CAN1_MB27_DATA1)
-#define pCAN1_MB27_DATA2 ((volatile unsigned short *)CAN1_MB27_DATA2)
-#define pCAN1_MB27_DATA3 ((volatile unsigned short *)CAN1_MB27_DATA3)
-#define pCAN1_MB27_LENGTH ((volatile unsigned short *)CAN1_MB27_LENGTH)
-#define pCAN1_MB27_TIMESTAMP ((volatile unsigned short *)CAN1_MB27_TIMESTAMP)
-#define pCAN1_MB27_ID0 ((volatile unsigned short *)CAN1_MB27_ID0)
-#define pCAN1_MB27_ID1 ((volatile unsigned short *)CAN1_MB27_ID1)
-#define pCAN1_MB28_DATA0 ((volatile unsigned short *)CAN1_MB28_DATA0)
-#define pCAN1_MB28_DATA1 ((volatile unsigned short *)CAN1_MB28_DATA1)
-#define pCAN1_MB28_DATA2 ((volatile unsigned short *)CAN1_MB28_DATA2)
-#define pCAN1_MB28_DATA3 ((volatile unsigned short *)CAN1_MB28_DATA3)
-#define pCAN1_MB28_LENGTH ((volatile unsigned short *)CAN1_MB28_LENGTH)
-#define pCAN1_MB28_TIMESTAMP ((volatile unsigned short *)CAN1_MB28_TIMESTAMP)
-#define pCAN1_MB28_ID0 ((volatile unsigned short *)CAN1_MB28_ID0)
-#define pCAN1_MB28_ID1 ((volatile unsigned short *)CAN1_MB28_ID1)
-#define pCAN1_MB29_DATA0 ((volatile unsigned short *)CAN1_MB29_DATA0)
-#define pCAN1_MB29_DATA1 ((volatile unsigned short *)CAN1_MB29_DATA1)
-#define pCAN1_MB29_DATA2 ((volatile unsigned short *)CAN1_MB29_DATA2)
-#define pCAN1_MB29_DATA3 ((volatile unsigned short *)CAN1_MB29_DATA3)
-#define pCAN1_MB29_LENGTH ((volatile unsigned short *)CAN1_MB29_LENGTH)
-#define pCAN1_MB29_TIMESTAMP ((volatile unsigned short *)CAN1_MB29_TIMESTAMP)
-#define pCAN1_MB29_ID0 ((volatile unsigned short *)CAN1_MB29_ID0)
-#define pCAN1_MB29_ID1 ((volatile unsigned short *)CAN1_MB29_ID1)
-#define pCAN1_MB30_DATA0 ((volatile unsigned short *)CAN1_MB30_DATA0)
-#define pCAN1_MB30_DATA1 ((volatile unsigned short *)CAN1_MB30_DATA1)
-#define pCAN1_MB30_DATA2 ((volatile unsigned short *)CAN1_MB30_DATA2)
-#define pCAN1_MB30_DATA3 ((volatile unsigned short *)CAN1_MB30_DATA3)
-#define pCAN1_MB30_LENGTH ((volatile unsigned short *)CAN1_MB30_LENGTH)
-#define pCAN1_MB30_TIMESTAMP ((volatile unsigned short *)CAN1_MB30_TIMESTAMP)
-#define pCAN1_MB30_ID0 ((volatile unsigned short *)CAN1_MB30_ID0)
-#define pCAN1_MB30_ID1 ((volatile unsigned short *)CAN1_MB30_ID1)
-#define pCAN1_MB31_DATA0 ((volatile unsigned short *)CAN1_MB31_DATA0)
-#define pCAN1_MB31_DATA1 ((volatile unsigned short *)CAN1_MB31_DATA1)
-#define pCAN1_MB31_DATA2 ((volatile unsigned short *)CAN1_MB31_DATA2)
-#define pCAN1_MB31_DATA3 ((volatile unsigned short *)CAN1_MB31_DATA3)
-#define pCAN1_MB31_LENGTH ((volatile unsigned short *)CAN1_MB31_LENGTH)
-#define pCAN1_MB31_TIMESTAMP ((volatile unsigned short *)CAN1_MB31_TIMESTAMP)
-#define pCAN1_MB31_ID0 ((volatile unsigned short *)CAN1_MB31_ID0)
-#define pCAN1_MB31_ID1 ((volatile unsigned short *)CAN1_MB31_ID1)
-
-/* HOST Port Registers */
-
-#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
-#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
-#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
-#define pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
-#define pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
-#define pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
-#define pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
-#define pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
-#define pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
-#define pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
-#define pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
-#define pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
-#define pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
-#define pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
-#define pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
-#define pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
-#define pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
-#define pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
-#define pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
-#define pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
-#define pPIXC_TC ((volatile unsigned long *)PIXC_TC)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF544_H */
diff --git a/libgloss/bfin/include/cdefBF544M.h b/libgloss/bfin/include/cdefBF544M.h
deleted file mode 100644
index c2a9bb1..0000000
--- a/libgloss/bfin/include/cdefBF544M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF544M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps to the cdef for BF544 unless anything
-** is required to change.
-**
-************************************************************************************/
-
-#ifndef _CDEF_BF544M_H
-#define _CDEF_BF544M_H
-
-#include <cdefBF544.h>
-
-#endif /* _CDEF_BF544M_H */
diff --git a/libgloss/bfin/include/cdefBF547.h b/libgloss/bfin/include/cdefBF547.h
deleted file mode 100644
index cd7bfdf..0000000
--- a/libgloss/bfin/include/cdefBF547.h
+++ /dev/null
@@ -1,499 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF547.h
-**
-** Copyright (C) 2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF547 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF547_H
-#define _CDEF_BF547_H
-
-/* include all Core registers and bit definitions */
-#include <defBF547.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF547 */
-
-/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <cdefBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF547 that are not in the common header */
-
-/* Timer Registers */
-
-#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
-#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
-#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
-#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
-#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
-#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
-#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
-#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
-#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
-#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
-#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
-#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
-
-/* Timer Group of 3 */
-
-#define pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
-#define pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
-#define pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
-
-/* SPORT0 Registers */
-
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-/* EPPI0 Registers */
-
-#define pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
-#define pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
-#define pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
-#define pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
-#define pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
-#define pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
-#define pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
-#define pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
-#define pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
-#define pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
-#define pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
-#define pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
-#define pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
-#define pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
-
-/* UART2 Registers */
-
-#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
-#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
-#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
-#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
-#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
-#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
-#define pUART2_MSR ((volatile unsigned short *)UART2_MSR)
-#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
-#define pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
-#define pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
-#define pUART2_THR ((volatile unsigned short *)UART2_THR)
-#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-/* SPI2 Registers */
-
-#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
-#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
-#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
-#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
-#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
-#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
-#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
-
-/* ATAPI Registers */
-
-#define pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
-#define pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
-#define pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
-#define pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
-#define pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
-#define pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
-#define pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
-#define pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
-#define pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
-#define pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
-#define pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
-#define pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
-#define pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
-#define pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
-#define pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
-#define pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
-#define pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
-#define pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
-#define pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
-#define pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
-#define pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
-#define pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
-#define pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
-#define pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
-#define pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
-
-/* SDH Registers */
-
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-/* HOST Port Registers */
-
-#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
-#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
-#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-/* Keypad Registers */
-
-#define pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
-#define pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
-#define pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
-#define pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
-#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
-#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
-#define pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
-#define pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
-#define pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
-#define pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
-#define pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
-#define pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
-#define pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
-#define pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
-#define pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
-#define pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
-#define pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
-#define pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
-#define pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
-#define pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
-#define pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
-#define pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
-#define pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
-#define pPIXC_TC ((volatile unsigned long *)PIXC_TC)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF547_H */
diff --git a/libgloss/bfin/include/cdefBF547M.h b/libgloss/bfin/include/cdefBF547M.h
deleted file mode 100644
index 14e2db0..0000000
--- a/libgloss/bfin/include/cdefBF547M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF547M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps to the cdef for BF547 unless anything
-** is required to change.
-**
-************************************************************************************/
-
-#ifndef _CDEF_BF547M_H
-#define _CDEF_BF547M_H
-
-#include <cdefBF547.h>
-
-#endif /* _CDEF_BF547M_H */
diff --git a/libgloss/bfin/include/cdefBF548.h b/libgloss/bfin/include/cdefBF548.h
deleted file mode 100644
index 0624468..0000000
--- a/libgloss/bfin/include/cdefBF548.h
+++ /dev/null
@@ -1,882 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF548.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF548 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF548_H
-#define _CDEF_BF548_H
-
-/* include all Core registers and bit definitions */
-#include <defBF548.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF548 */
-
-/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <cdefBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF548 that are not in the common header */
-
-/* Timer Registers */
-
-#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
-#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
-#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
-#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
-#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
-#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
-#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
-#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
-#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
-#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
-#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
-#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
-
-/* Timer Group of 3 */
-
-#define pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
-#define pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
-#define pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
-
-/* SPORT0 Registers */
-
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-/* EPPI0 Registers */
-
-#define pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
-#define pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
-#define pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
-#define pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
-#define pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
-#define pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
-#define pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
-#define pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
-#define pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
-#define pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
-#define pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
-#define pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
-#define pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
-#define pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
-
-/* UART2 Registers */
-
-#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
-#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
-#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
-#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
-#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
-#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
-#define pUART2_MSR ((volatile unsigned short *)UART2_MSR)
-#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
-#define pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
-#define pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
-#define pUART2_THR ((volatile unsigned short *)UART2_THR)
-#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-/* SPI2 Registers */
-
-#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
-#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
-#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
-#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
-#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
-#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
-#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define pCAN1_MC1 ((volatile unsigned short *)CAN1_MC1)
-#define pCAN1_MD1 ((volatile unsigned short *)CAN1_MD1)
-#define pCAN1_TRS1 ((volatile unsigned short *)CAN1_TRS1)
-#define pCAN1_TRR1 ((volatile unsigned short *)CAN1_TRR1)
-#define pCAN1_TA1 ((volatile unsigned short *)CAN1_TA1)
-#define pCAN1_AA1 ((volatile unsigned short *)CAN1_AA1)
-#define pCAN1_RMP1 ((volatile unsigned short *)CAN1_RMP1)
-#define pCAN1_RML1 ((volatile unsigned short *)CAN1_RML1)
-#define pCAN1_MBTIF1 ((volatile unsigned short *)CAN1_MBTIF1)
-#define pCAN1_MBRIF1 ((volatile unsigned short *)CAN1_MBRIF1)
-#define pCAN1_MBIM1 ((volatile unsigned short *)CAN1_MBIM1)
-#define pCAN1_RFH1 ((volatile unsigned short *)CAN1_RFH1)
-#define pCAN1_OPSS1 ((volatile unsigned short *)CAN1_OPSS1)
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define pCAN1_MC2 ((volatile unsigned short *)CAN1_MC2)
-#define pCAN1_MD2 ((volatile unsigned short *)CAN1_MD2)
-#define pCAN1_TRS2 ((volatile unsigned short *)CAN1_TRS2)
-#define pCAN1_TRR2 ((volatile unsigned short *)CAN1_TRR2)
-#define pCAN1_TA2 ((volatile unsigned short *)CAN1_TA2)
-#define pCAN1_AA2 ((volatile unsigned short *)CAN1_AA2)
-#define pCAN1_RMP2 ((volatile unsigned short *)CAN1_RMP2)
-#define pCAN1_RML2 ((volatile unsigned short *)CAN1_RML2)
-#define pCAN1_MBTIF2 ((volatile unsigned short *)CAN1_MBTIF2)
-#define pCAN1_MBRIF2 ((volatile unsigned short *)CAN1_MBRIF2)
-#define pCAN1_MBIM2 ((volatile unsigned short *)CAN1_MBIM2)
-#define pCAN1_RFH2 ((volatile unsigned short *)CAN1_RFH2)
-#define pCAN1_OPSS2 ((volatile unsigned short *)CAN1_OPSS2)
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define pCAN1_CLOCK ((volatile unsigned short *)CAN1_CLOCK)
-#define pCAN1_TIMING ((volatile unsigned short *)CAN1_TIMING)
-#define pCAN1_DEBUG ((volatile unsigned short *)CAN1_DEBUG)
-#define pCAN1_STATUS ((volatile unsigned short *)CAN1_STATUS)
-#define pCAN1_CEC ((volatile unsigned short *)CAN1_CEC)
-#define pCAN1_GIS ((volatile unsigned short *)CAN1_GIS)
-#define pCAN1_GIM ((volatile unsigned short *)CAN1_GIM)
-#define pCAN1_GIF ((volatile unsigned short *)CAN1_GIF)
-#define pCAN1_CONTROL ((volatile unsigned short *)CAN1_CONTROL)
-#define pCAN1_INTR ((volatile unsigned short *)CAN1_INTR)
-#define pCAN1_MBTD ((volatile unsigned short *)CAN1_MBTD)
-#define pCAN1_EWR ((volatile unsigned short *)CAN1_EWR)
-#define pCAN1_ESR ((volatile unsigned short *)CAN1_ESR)
-#define pCAN1_UCCNT ((volatile unsigned short *)CAN1_UCCNT)
-#define pCAN1_UCRC ((volatile unsigned short *)CAN1_UCRC)
-#define pCAN1_UCCNF ((volatile unsigned short *)CAN1_UCCNF)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM00L ((volatile unsigned short *)CAN1_AM00L)
-#define pCAN1_AM00H ((volatile unsigned short *)CAN1_AM00H)
-#define pCAN1_AM01L ((volatile unsigned short *)CAN1_AM01L)
-#define pCAN1_AM01H ((volatile unsigned short *)CAN1_AM01H)
-#define pCAN1_AM02L ((volatile unsigned short *)CAN1_AM02L)
-#define pCAN1_AM02H ((volatile unsigned short *)CAN1_AM02H)
-#define pCAN1_AM03L ((volatile unsigned short *)CAN1_AM03L)
-#define pCAN1_AM03H ((volatile unsigned short *)CAN1_AM03H)
-#define pCAN1_AM04L ((volatile unsigned short *)CAN1_AM04L)
-#define pCAN1_AM04H ((volatile unsigned short *)CAN1_AM04H)
-#define pCAN1_AM05L ((volatile unsigned short *)CAN1_AM05L)
-#define pCAN1_AM05H ((volatile unsigned short *)CAN1_AM05H)
-#define pCAN1_AM06L ((volatile unsigned short *)CAN1_AM06L)
-#define pCAN1_AM06H ((volatile unsigned short *)CAN1_AM06H)
-#define pCAN1_AM07L ((volatile unsigned short *)CAN1_AM07L)
-#define pCAN1_AM07H ((volatile unsigned short *)CAN1_AM07H)
-#define pCAN1_AM08L ((volatile unsigned short *)CAN1_AM08L)
-#define pCAN1_AM08H ((volatile unsigned short *)CAN1_AM08H)
-#define pCAN1_AM09L ((volatile unsigned short *)CAN1_AM09L)
-#define pCAN1_AM09H ((volatile unsigned short *)CAN1_AM09H)
-#define pCAN1_AM10L ((volatile unsigned short *)CAN1_AM10L)
-#define pCAN1_AM10H ((volatile unsigned short *)CAN1_AM10H)
-#define pCAN1_AM11L ((volatile unsigned short *)CAN1_AM11L)
-#define pCAN1_AM11H ((volatile unsigned short *)CAN1_AM11H)
-#define pCAN1_AM12L ((volatile unsigned short *)CAN1_AM12L)
-#define pCAN1_AM12H ((volatile unsigned short *)CAN1_AM12H)
-#define pCAN1_AM13L ((volatile unsigned short *)CAN1_AM13L)
-#define pCAN1_AM13H ((volatile unsigned short *)CAN1_AM13H)
-#define pCAN1_AM14L ((volatile unsigned short *)CAN1_AM14L)
-#define pCAN1_AM14H ((volatile unsigned short *)CAN1_AM14H)
-#define pCAN1_AM15L ((volatile unsigned short *)CAN1_AM15L)
-#define pCAN1_AM15H ((volatile unsigned short *)CAN1_AM15H)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM16L ((volatile unsigned short *)CAN1_AM16L)
-#define pCAN1_AM16H ((volatile unsigned short *)CAN1_AM16H)
-#define pCAN1_AM17L ((volatile unsigned short *)CAN1_AM17L)
-#define pCAN1_AM17H ((volatile unsigned short *)CAN1_AM17H)
-#define pCAN1_AM18L ((volatile unsigned short *)CAN1_AM18L)
-#define pCAN1_AM18H ((volatile unsigned short *)CAN1_AM18H)
-#define pCAN1_AM19L ((volatile unsigned short *)CAN1_AM19L)
-#define pCAN1_AM19H ((volatile unsigned short *)CAN1_AM19H)
-#define pCAN1_AM20L ((volatile unsigned short *)CAN1_AM20L)
-#define pCAN1_AM20H ((volatile unsigned short *)CAN1_AM20H)
-#define pCAN1_AM21L ((volatile unsigned short *)CAN1_AM21L)
-#define pCAN1_AM21H ((volatile unsigned short *)CAN1_AM21H)
-#define pCAN1_AM22L ((volatile unsigned short *)CAN1_AM22L)
-#define pCAN1_AM22H ((volatile unsigned short *)CAN1_AM22H)
-#define pCAN1_AM23L ((volatile unsigned short *)CAN1_AM23L)
-#define pCAN1_AM23H ((volatile unsigned short *)CAN1_AM23H)
-#define pCAN1_AM24L ((volatile unsigned short *)CAN1_AM24L)
-#define pCAN1_AM24H ((volatile unsigned short *)CAN1_AM24H)
-#define pCAN1_AM25L ((volatile unsigned short *)CAN1_AM25L)
-#define pCAN1_AM25H ((volatile unsigned short *)CAN1_AM25H)
-#define pCAN1_AM26L ((volatile unsigned short *)CAN1_AM26L)
-#define pCAN1_AM26H ((volatile unsigned short *)CAN1_AM26H)
-#define pCAN1_AM27L ((volatile unsigned short *)CAN1_AM27L)
-#define pCAN1_AM27H ((volatile unsigned short *)CAN1_AM27H)
-#define pCAN1_AM28L ((volatile unsigned short *)CAN1_AM28L)
-#define pCAN1_AM28H ((volatile unsigned short *)CAN1_AM28H)
-#define pCAN1_AM29L ((volatile unsigned short *)CAN1_AM29L)
-#define pCAN1_AM29H ((volatile unsigned short *)CAN1_AM29H)
-#define pCAN1_AM30L ((volatile unsigned short *)CAN1_AM30L)
-#define pCAN1_AM30H ((volatile unsigned short *)CAN1_AM30H)
-#define pCAN1_AM31L ((volatile unsigned short *)CAN1_AM31L)
-#define pCAN1_AM31H ((volatile unsigned short *)CAN1_AM31H)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB00_DATA0 ((volatile unsigned short *)CAN1_MB00_DATA0)
-#define pCAN1_MB00_DATA1 ((volatile unsigned short *)CAN1_MB00_DATA1)
-#define pCAN1_MB00_DATA2 ((volatile unsigned short *)CAN1_MB00_DATA2)
-#define pCAN1_MB00_DATA3 ((volatile unsigned short *)CAN1_MB00_DATA3)
-#define pCAN1_MB00_LENGTH ((volatile unsigned short *)CAN1_MB00_LENGTH)
-#define pCAN1_MB00_TIMESTAMP ((volatile unsigned short *)CAN1_MB00_TIMESTAMP)
-#define pCAN1_MB00_ID0 ((volatile unsigned short *)CAN1_MB00_ID0)
-#define pCAN1_MB00_ID1 ((volatile unsigned short *)CAN1_MB00_ID1)
-#define pCAN1_MB01_DATA0 ((volatile unsigned short *)CAN1_MB01_DATA0)
-#define pCAN1_MB01_DATA1 ((volatile unsigned short *)CAN1_MB01_DATA1)
-#define pCAN1_MB01_DATA2 ((volatile unsigned short *)CAN1_MB01_DATA2)
-#define pCAN1_MB01_DATA3 ((volatile unsigned short *)CAN1_MB01_DATA3)
-#define pCAN1_MB01_LENGTH ((volatile unsigned short *)CAN1_MB01_LENGTH)
-#define pCAN1_MB01_TIMESTAMP ((volatile unsigned short *)CAN1_MB01_TIMESTAMP)
-#define pCAN1_MB01_ID0 ((volatile unsigned short *)CAN1_MB01_ID0)
-#define pCAN1_MB01_ID1 ((volatile unsigned short *)CAN1_MB01_ID1)
-#define pCAN1_MB02_DATA0 ((volatile unsigned short *)CAN1_MB02_DATA0)
-#define pCAN1_MB02_DATA1 ((volatile unsigned short *)CAN1_MB02_DATA1)
-#define pCAN1_MB02_DATA2 ((volatile unsigned short *)CAN1_MB02_DATA2)
-#define pCAN1_MB02_DATA3 ((volatile unsigned short *)CAN1_MB02_DATA3)
-#define pCAN1_MB02_LENGTH ((volatile unsigned short *)CAN1_MB02_LENGTH)
-#define pCAN1_MB02_TIMESTAMP ((volatile unsigned short *)CAN1_MB02_TIMESTAMP)
-#define pCAN1_MB02_ID0 ((volatile unsigned short *)CAN1_MB02_ID0)
-#define pCAN1_MB02_ID1 ((volatile unsigned short *)CAN1_MB02_ID1)
-#define pCAN1_MB03_DATA0 ((volatile unsigned short *)CAN1_MB03_DATA0)
-#define pCAN1_MB03_DATA1 ((volatile unsigned short *)CAN1_MB03_DATA1)
-#define pCAN1_MB03_DATA2 ((volatile unsigned short *)CAN1_MB03_DATA2)
-#define pCAN1_MB03_DATA3 ((volatile unsigned short *)CAN1_MB03_DATA3)
-#define pCAN1_MB03_LENGTH ((volatile unsigned short *)CAN1_MB03_LENGTH)
-#define pCAN1_MB03_TIMESTAMP ((volatile unsigned short *)CAN1_MB03_TIMESTAMP)
-#define pCAN1_MB03_ID0 ((volatile unsigned short *)CAN1_MB03_ID0)
-#define pCAN1_MB03_ID1 ((volatile unsigned short *)CAN1_MB03_ID1)
-#define pCAN1_MB04_DATA0 ((volatile unsigned short *)CAN1_MB04_DATA0)
-#define pCAN1_MB04_DATA1 ((volatile unsigned short *)CAN1_MB04_DATA1)
-#define pCAN1_MB04_DATA2 ((volatile unsigned short *)CAN1_MB04_DATA2)
-#define pCAN1_MB04_DATA3 ((volatile unsigned short *)CAN1_MB04_DATA3)
-#define pCAN1_MB04_LENGTH ((volatile unsigned short *)CAN1_MB04_LENGTH)
-#define pCAN1_MB04_TIMESTAMP ((volatile unsigned short *)CAN1_MB04_TIMESTAMP)
-#define pCAN1_MB04_ID0 ((volatile unsigned short *)CAN1_MB04_ID0)
-#define pCAN1_MB04_ID1 ((volatile unsigned short *)CAN1_MB04_ID1)
-#define pCAN1_MB05_DATA0 ((volatile unsigned short *)CAN1_MB05_DATA0)
-#define pCAN1_MB05_DATA1 ((volatile unsigned short *)CAN1_MB05_DATA1)
-#define pCAN1_MB05_DATA2 ((volatile unsigned short *)CAN1_MB05_DATA2)
-#define pCAN1_MB05_DATA3 ((volatile unsigned short *)CAN1_MB05_DATA3)
-#define pCAN1_MB05_LENGTH ((volatile unsigned short *)CAN1_MB05_LENGTH)
-#define pCAN1_MB05_TIMESTAMP ((volatile unsigned short *)CAN1_MB05_TIMESTAMP)
-#define pCAN1_MB05_ID0 ((volatile unsigned short *)CAN1_MB05_ID0)
-#define pCAN1_MB05_ID1 ((volatile unsigned short *)CAN1_MB05_ID1)
-#define pCAN1_MB06_DATA0 ((volatile unsigned short *)CAN1_MB06_DATA0)
-#define pCAN1_MB06_DATA1 ((volatile unsigned short *)CAN1_MB06_DATA1)
-#define pCAN1_MB06_DATA2 ((volatile unsigned short *)CAN1_MB06_DATA2)
-#define pCAN1_MB06_DATA3 ((volatile unsigned short *)CAN1_MB06_DATA3)
-#define pCAN1_MB06_LENGTH ((volatile unsigned short *)CAN1_MB06_LENGTH)
-#define pCAN1_MB06_TIMESTAMP ((volatile unsigned short *)CAN1_MB06_TIMESTAMP)
-#define pCAN1_MB06_ID0 ((volatile unsigned short *)CAN1_MB06_ID0)
-#define pCAN1_MB06_ID1 ((volatile unsigned short *)CAN1_MB06_ID1)
-#define pCAN1_MB07_DATA0 ((volatile unsigned short *)CAN1_MB07_DATA0)
-#define pCAN1_MB07_DATA1 ((volatile unsigned short *)CAN1_MB07_DATA1)
-#define pCAN1_MB07_DATA2 ((volatile unsigned short *)CAN1_MB07_DATA2)
-#define pCAN1_MB07_DATA3 ((volatile unsigned short *)CAN1_MB07_DATA3)
-#define pCAN1_MB07_LENGTH ((volatile unsigned short *)CAN1_MB07_LENGTH)
-#define pCAN1_MB07_TIMESTAMP ((volatile unsigned short *)CAN1_MB07_TIMESTAMP)
-#define pCAN1_MB07_ID0 ((volatile unsigned short *)CAN1_MB07_ID0)
-#define pCAN1_MB07_ID1 ((volatile unsigned short *)CAN1_MB07_ID1)
-#define pCAN1_MB08_DATA0 ((volatile unsigned short *)CAN1_MB08_DATA0)
-#define pCAN1_MB08_DATA1 ((volatile unsigned short *)CAN1_MB08_DATA1)
-#define pCAN1_MB08_DATA2 ((volatile unsigned short *)CAN1_MB08_DATA2)
-#define pCAN1_MB08_DATA3 ((volatile unsigned short *)CAN1_MB08_DATA3)
-#define pCAN1_MB08_LENGTH ((volatile unsigned short *)CAN1_MB08_LENGTH)
-#define pCAN1_MB08_TIMESTAMP ((volatile unsigned short *)CAN1_MB08_TIMESTAMP)
-#define pCAN1_MB08_ID0 ((volatile unsigned short *)CAN1_MB08_ID0)
-#define pCAN1_MB08_ID1 ((volatile unsigned short *)CAN1_MB08_ID1)
-#define pCAN1_MB09_DATA0 ((volatile unsigned short *)CAN1_MB09_DATA0)
-#define pCAN1_MB09_DATA1 ((volatile unsigned short *)CAN1_MB09_DATA1)
-#define pCAN1_MB09_DATA2 ((volatile unsigned short *)CAN1_MB09_DATA2)
-#define pCAN1_MB09_DATA3 ((volatile unsigned short *)CAN1_MB09_DATA3)
-#define pCAN1_MB09_LENGTH ((volatile unsigned short *)CAN1_MB09_LENGTH)
-#define pCAN1_MB09_TIMESTAMP ((volatile unsigned short *)CAN1_MB09_TIMESTAMP)
-#define pCAN1_MB09_ID0 ((volatile unsigned short *)CAN1_MB09_ID0)
-#define pCAN1_MB09_ID1 ((volatile unsigned short *)CAN1_MB09_ID1)
-#define pCAN1_MB10_DATA0 ((volatile unsigned short *)CAN1_MB10_DATA0)
-#define pCAN1_MB10_DATA1 ((volatile unsigned short *)CAN1_MB10_DATA1)
-#define pCAN1_MB10_DATA2 ((volatile unsigned short *)CAN1_MB10_DATA2)
-#define pCAN1_MB10_DATA3 ((volatile unsigned short *)CAN1_MB10_DATA3)
-#define pCAN1_MB10_LENGTH ((volatile unsigned short *)CAN1_MB10_LENGTH)
-#define pCAN1_MB10_TIMESTAMP ((volatile unsigned short *)CAN1_MB10_TIMESTAMP)
-#define pCAN1_MB10_ID0 ((volatile unsigned short *)CAN1_MB10_ID0)
-#define pCAN1_MB10_ID1 ((volatile unsigned short *)CAN1_MB10_ID1)
-#define pCAN1_MB11_DATA0 ((volatile unsigned short *)CAN1_MB11_DATA0)
-#define pCAN1_MB11_DATA1 ((volatile unsigned short *)CAN1_MB11_DATA1)
-#define pCAN1_MB11_DATA2 ((volatile unsigned short *)CAN1_MB11_DATA2)
-#define pCAN1_MB11_DATA3 ((volatile unsigned short *)CAN1_MB11_DATA3)
-#define pCAN1_MB11_LENGTH ((volatile unsigned short *)CAN1_MB11_LENGTH)
-#define pCAN1_MB11_TIMESTAMP ((volatile unsigned short *)CAN1_MB11_TIMESTAMP)
-#define pCAN1_MB11_ID0 ((volatile unsigned short *)CAN1_MB11_ID0)
-#define pCAN1_MB11_ID1 ((volatile unsigned short *)CAN1_MB11_ID1)
-#define pCAN1_MB12_DATA0 ((volatile unsigned short *)CAN1_MB12_DATA0)
-#define pCAN1_MB12_DATA1 ((volatile unsigned short *)CAN1_MB12_DATA1)
-#define pCAN1_MB12_DATA2 ((volatile unsigned short *)CAN1_MB12_DATA2)
-#define pCAN1_MB12_DATA3 ((volatile unsigned short *)CAN1_MB12_DATA3)
-#define pCAN1_MB12_LENGTH ((volatile unsigned short *)CAN1_MB12_LENGTH)
-#define pCAN1_MB12_TIMESTAMP ((volatile unsigned short *)CAN1_MB12_TIMESTAMP)
-#define pCAN1_MB12_ID0 ((volatile unsigned short *)CAN1_MB12_ID0)
-#define pCAN1_MB12_ID1 ((volatile unsigned short *)CAN1_MB12_ID1)
-#define pCAN1_MB13_DATA0 ((volatile unsigned short *)CAN1_MB13_DATA0)
-#define pCAN1_MB13_DATA1 ((volatile unsigned short *)CAN1_MB13_DATA1)
-#define pCAN1_MB13_DATA2 ((volatile unsigned short *)CAN1_MB13_DATA2)
-#define pCAN1_MB13_DATA3 ((volatile unsigned short *)CAN1_MB13_DATA3)
-#define pCAN1_MB13_LENGTH ((volatile unsigned short *)CAN1_MB13_LENGTH)
-#define pCAN1_MB13_TIMESTAMP ((volatile unsigned short *)CAN1_MB13_TIMESTAMP)
-#define pCAN1_MB13_ID0 ((volatile unsigned short *)CAN1_MB13_ID0)
-#define pCAN1_MB13_ID1 ((volatile unsigned short *)CAN1_MB13_ID1)
-#define pCAN1_MB14_DATA0 ((volatile unsigned short *)CAN1_MB14_DATA0)
-#define pCAN1_MB14_DATA1 ((volatile unsigned short *)CAN1_MB14_DATA1)
-#define pCAN1_MB14_DATA2 ((volatile unsigned short *)CAN1_MB14_DATA2)
-#define pCAN1_MB14_DATA3 ((volatile unsigned short *)CAN1_MB14_DATA3)
-#define pCAN1_MB14_LENGTH ((volatile unsigned short *)CAN1_MB14_LENGTH)
-#define pCAN1_MB14_TIMESTAMP ((volatile unsigned short *)CAN1_MB14_TIMESTAMP)
-#define pCAN1_MB14_ID0 ((volatile unsigned short *)CAN1_MB14_ID0)
-#define pCAN1_MB14_ID1 ((volatile unsigned short *)CAN1_MB14_ID1)
-#define pCAN1_MB15_DATA0 ((volatile unsigned short *)CAN1_MB15_DATA0)
-#define pCAN1_MB15_DATA1 ((volatile unsigned short *)CAN1_MB15_DATA1)
-#define pCAN1_MB15_DATA2 ((volatile unsigned short *)CAN1_MB15_DATA2)
-#define pCAN1_MB15_DATA3 ((volatile unsigned short *)CAN1_MB15_DATA3)
-#define pCAN1_MB15_LENGTH ((volatile unsigned short *)CAN1_MB15_LENGTH)
-#define pCAN1_MB15_TIMESTAMP ((volatile unsigned short *)CAN1_MB15_TIMESTAMP)
-#define pCAN1_MB15_ID0 ((volatile unsigned short *)CAN1_MB15_ID0)
-#define pCAN1_MB15_ID1 ((volatile unsigned short *)CAN1_MB15_ID1)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB16_DATA0 ((volatile unsigned short *)CAN1_MB16_DATA0)
-#define pCAN1_MB16_DATA1 ((volatile unsigned short *)CAN1_MB16_DATA1)
-#define pCAN1_MB16_DATA2 ((volatile unsigned short *)CAN1_MB16_DATA2)
-#define pCAN1_MB16_DATA3 ((volatile unsigned short *)CAN1_MB16_DATA3)
-#define pCAN1_MB16_LENGTH ((volatile unsigned short *)CAN1_MB16_LENGTH)
-#define pCAN1_MB16_TIMESTAMP ((volatile unsigned short *)CAN1_MB16_TIMESTAMP)
-#define pCAN1_MB16_ID0 ((volatile unsigned short *)CAN1_MB16_ID0)
-#define pCAN1_MB16_ID1 ((volatile unsigned short *)CAN1_MB16_ID1)
-#define pCAN1_MB17_DATA0 ((volatile unsigned short *)CAN1_MB17_DATA0)
-#define pCAN1_MB17_DATA1 ((volatile unsigned short *)CAN1_MB17_DATA1)
-#define pCAN1_MB17_DATA2 ((volatile unsigned short *)CAN1_MB17_DATA2)
-#define pCAN1_MB17_DATA3 ((volatile unsigned short *)CAN1_MB17_DATA3)
-#define pCAN1_MB17_LENGTH ((volatile unsigned short *)CAN1_MB17_LENGTH)
-#define pCAN1_MB17_TIMESTAMP ((volatile unsigned short *)CAN1_MB17_TIMESTAMP)
-#define pCAN1_MB17_ID0 ((volatile unsigned short *)CAN1_MB17_ID0)
-#define pCAN1_MB17_ID1 ((volatile unsigned short *)CAN1_MB17_ID1)
-#define pCAN1_MB18_DATA0 ((volatile unsigned short *)CAN1_MB18_DATA0)
-#define pCAN1_MB18_DATA1 ((volatile unsigned short *)CAN1_MB18_DATA1)
-#define pCAN1_MB18_DATA2 ((volatile unsigned short *)CAN1_MB18_DATA2)
-#define pCAN1_MB18_DATA3 ((volatile unsigned short *)CAN1_MB18_DATA3)
-#define pCAN1_MB18_LENGTH ((volatile unsigned short *)CAN1_MB18_LENGTH)
-#define pCAN1_MB18_TIMESTAMP ((volatile unsigned short *)CAN1_MB18_TIMESTAMP)
-#define pCAN1_MB18_ID0 ((volatile unsigned short *)CAN1_MB18_ID0)
-#define pCAN1_MB18_ID1 ((volatile unsigned short *)CAN1_MB18_ID1)
-#define pCAN1_MB19_DATA0 ((volatile unsigned short *)CAN1_MB19_DATA0)
-#define pCAN1_MB19_DATA1 ((volatile unsigned short *)CAN1_MB19_DATA1)
-#define pCAN1_MB19_DATA2 ((volatile unsigned short *)CAN1_MB19_DATA2)
-#define pCAN1_MB19_DATA3 ((volatile unsigned short *)CAN1_MB19_DATA3)
-#define pCAN1_MB19_LENGTH ((volatile unsigned short *)CAN1_MB19_LENGTH)
-#define pCAN1_MB19_TIMESTAMP ((volatile unsigned short *)CAN1_MB19_TIMESTAMP)
-#define pCAN1_MB19_ID0 ((volatile unsigned short *)CAN1_MB19_ID0)
-#define pCAN1_MB19_ID1 ((volatile unsigned short *)CAN1_MB19_ID1)
-#define pCAN1_MB20_DATA0 ((volatile unsigned short *)CAN1_MB20_DATA0)
-#define pCAN1_MB20_DATA1 ((volatile unsigned short *)CAN1_MB20_DATA1)
-#define pCAN1_MB20_DATA2 ((volatile unsigned short *)CAN1_MB20_DATA2)
-#define pCAN1_MB20_DATA3 ((volatile unsigned short *)CAN1_MB20_DATA3)
-#define pCAN1_MB20_LENGTH ((volatile unsigned short *)CAN1_MB20_LENGTH)
-#define pCAN1_MB20_TIMESTAMP ((volatile unsigned short *)CAN1_MB20_TIMESTAMP)
-#define pCAN1_MB20_ID0 ((volatile unsigned short *)CAN1_MB20_ID0)
-#define pCAN1_MB20_ID1 ((volatile unsigned short *)CAN1_MB20_ID1)
-#define pCAN1_MB21_DATA0 ((volatile unsigned short *)CAN1_MB21_DATA0)
-#define pCAN1_MB21_DATA1 ((volatile unsigned short *)CAN1_MB21_DATA1)
-#define pCAN1_MB21_DATA2 ((volatile unsigned short *)CAN1_MB21_DATA2)
-#define pCAN1_MB21_DATA3 ((volatile unsigned short *)CAN1_MB21_DATA3)
-#define pCAN1_MB21_LENGTH ((volatile unsigned short *)CAN1_MB21_LENGTH)
-#define pCAN1_MB21_TIMESTAMP ((volatile unsigned short *)CAN1_MB21_TIMESTAMP)
-#define pCAN1_MB21_ID0 ((volatile unsigned short *)CAN1_MB21_ID0)
-#define pCAN1_MB21_ID1 ((volatile unsigned short *)CAN1_MB21_ID1)
-#define pCAN1_MB22_DATA0 ((volatile unsigned short *)CAN1_MB22_DATA0)
-#define pCAN1_MB22_DATA1 ((volatile unsigned short *)CAN1_MB22_DATA1)
-#define pCAN1_MB22_DATA2 ((volatile unsigned short *)CAN1_MB22_DATA2)
-#define pCAN1_MB22_DATA3 ((volatile unsigned short *)CAN1_MB22_DATA3)
-#define pCAN1_MB22_LENGTH ((volatile unsigned short *)CAN1_MB22_LENGTH)
-#define pCAN1_MB22_TIMESTAMP ((volatile unsigned short *)CAN1_MB22_TIMESTAMP)
-#define pCAN1_MB22_ID0 ((volatile unsigned short *)CAN1_MB22_ID0)
-#define pCAN1_MB22_ID1 ((volatile unsigned short *)CAN1_MB22_ID1)
-#define pCAN1_MB23_DATA0 ((volatile unsigned short *)CAN1_MB23_DATA0)
-#define pCAN1_MB23_DATA1 ((volatile unsigned short *)CAN1_MB23_DATA1)
-#define pCAN1_MB23_DATA2 ((volatile unsigned short *)CAN1_MB23_DATA2)
-#define pCAN1_MB23_DATA3 ((volatile unsigned short *)CAN1_MB23_DATA3)
-#define pCAN1_MB23_LENGTH ((volatile unsigned short *)CAN1_MB23_LENGTH)
-#define pCAN1_MB23_TIMESTAMP ((volatile unsigned short *)CAN1_MB23_TIMESTAMP)
-#define pCAN1_MB23_ID0 ((volatile unsigned short *)CAN1_MB23_ID0)
-#define pCAN1_MB23_ID1 ((volatile unsigned short *)CAN1_MB23_ID1)
-#define pCAN1_MB24_DATA0 ((volatile unsigned short *)CAN1_MB24_DATA0)
-#define pCAN1_MB24_DATA1 ((volatile unsigned short *)CAN1_MB24_DATA1)
-#define pCAN1_MB24_DATA2 ((volatile unsigned short *)CAN1_MB24_DATA2)
-#define pCAN1_MB24_DATA3 ((volatile unsigned short *)CAN1_MB24_DATA3)
-#define pCAN1_MB24_LENGTH ((volatile unsigned short *)CAN1_MB24_LENGTH)
-#define pCAN1_MB24_TIMESTAMP ((volatile unsigned short *)CAN1_MB24_TIMESTAMP)
-#define pCAN1_MB24_ID0 ((volatile unsigned short *)CAN1_MB24_ID0)
-#define pCAN1_MB24_ID1 ((volatile unsigned short *)CAN1_MB24_ID1)
-#define pCAN1_MB25_DATA0 ((volatile unsigned short *)CAN1_MB25_DATA0)
-#define pCAN1_MB25_DATA1 ((volatile unsigned short *)CAN1_MB25_DATA1)
-#define pCAN1_MB25_DATA2 ((volatile unsigned short *)CAN1_MB25_DATA2)
-#define pCAN1_MB25_DATA3 ((volatile unsigned short *)CAN1_MB25_DATA3)
-#define pCAN1_MB25_LENGTH ((volatile unsigned short *)CAN1_MB25_LENGTH)
-#define pCAN1_MB25_TIMESTAMP ((volatile unsigned short *)CAN1_MB25_TIMESTAMP)
-#define pCAN1_MB25_ID0 ((volatile unsigned short *)CAN1_MB25_ID0)
-#define pCAN1_MB25_ID1 ((volatile unsigned short *)CAN1_MB25_ID1)
-#define pCAN1_MB26_DATA0 ((volatile unsigned short *)CAN1_MB26_DATA0)
-#define pCAN1_MB26_DATA1 ((volatile unsigned short *)CAN1_MB26_DATA1)
-#define pCAN1_MB26_DATA2 ((volatile unsigned short *)CAN1_MB26_DATA2)
-#define pCAN1_MB26_DATA3 ((volatile unsigned short *)CAN1_MB26_DATA3)
-#define pCAN1_MB26_LENGTH ((volatile unsigned short *)CAN1_MB26_LENGTH)
-#define pCAN1_MB26_TIMESTAMP ((volatile unsigned short *)CAN1_MB26_TIMESTAMP)
-#define pCAN1_MB26_ID0 ((volatile unsigned short *)CAN1_MB26_ID0)
-#define pCAN1_MB26_ID1 ((volatile unsigned short *)CAN1_MB26_ID1)
-#define pCAN1_MB27_DATA0 ((volatile unsigned short *)CAN1_MB27_DATA0)
-#define pCAN1_MB27_DATA1 ((volatile unsigned short *)CAN1_MB27_DATA1)
-#define pCAN1_MB27_DATA2 ((volatile unsigned short *)CAN1_MB27_DATA2)
-#define pCAN1_MB27_DATA3 ((volatile unsigned short *)CAN1_MB27_DATA3)
-#define pCAN1_MB27_LENGTH ((volatile unsigned short *)CAN1_MB27_LENGTH)
-#define pCAN1_MB27_TIMESTAMP ((volatile unsigned short *)CAN1_MB27_TIMESTAMP)
-#define pCAN1_MB27_ID0 ((volatile unsigned short *)CAN1_MB27_ID0)
-#define pCAN1_MB27_ID1 ((volatile unsigned short *)CAN1_MB27_ID1)
-#define pCAN1_MB28_DATA0 ((volatile unsigned short *)CAN1_MB28_DATA0)
-#define pCAN1_MB28_DATA1 ((volatile unsigned short *)CAN1_MB28_DATA1)
-#define pCAN1_MB28_DATA2 ((volatile unsigned short *)CAN1_MB28_DATA2)
-#define pCAN1_MB28_DATA3 ((volatile unsigned short *)CAN1_MB28_DATA3)
-#define pCAN1_MB28_LENGTH ((volatile unsigned short *)CAN1_MB28_LENGTH)
-#define pCAN1_MB28_TIMESTAMP ((volatile unsigned short *)CAN1_MB28_TIMESTAMP)
-#define pCAN1_MB28_ID0 ((volatile unsigned short *)CAN1_MB28_ID0)
-#define pCAN1_MB28_ID1 ((volatile unsigned short *)CAN1_MB28_ID1)
-#define pCAN1_MB29_DATA0 ((volatile unsigned short *)CAN1_MB29_DATA0)
-#define pCAN1_MB29_DATA1 ((volatile unsigned short *)CAN1_MB29_DATA1)
-#define pCAN1_MB29_DATA2 ((volatile unsigned short *)CAN1_MB29_DATA2)
-#define pCAN1_MB29_DATA3 ((volatile unsigned short *)CAN1_MB29_DATA3)
-#define pCAN1_MB29_LENGTH ((volatile unsigned short *)CAN1_MB29_LENGTH)
-#define pCAN1_MB29_TIMESTAMP ((volatile unsigned short *)CAN1_MB29_TIMESTAMP)
-#define pCAN1_MB29_ID0 ((volatile unsigned short *)CAN1_MB29_ID0)
-#define pCAN1_MB29_ID1 ((volatile unsigned short *)CAN1_MB29_ID1)
-#define pCAN1_MB30_DATA0 ((volatile unsigned short *)CAN1_MB30_DATA0)
-#define pCAN1_MB30_DATA1 ((volatile unsigned short *)CAN1_MB30_DATA1)
-#define pCAN1_MB30_DATA2 ((volatile unsigned short *)CAN1_MB30_DATA2)
-#define pCAN1_MB30_DATA3 ((volatile unsigned short *)CAN1_MB30_DATA3)
-#define pCAN1_MB30_LENGTH ((volatile unsigned short *)CAN1_MB30_LENGTH)
-#define pCAN1_MB30_TIMESTAMP ((volatile unsigned short *)CAN1_MB30_TIMESTAMP)
-#define pCAN1_MB30_ID0 ((volatile unsigned short *)CAN1_MB30_ID0)
-#define pCAN1_MB30_ID1 ((volatile unsigned short *)CAN1_MB30_ID1)
-#define pCAN1_MB31_DATA0 ((volatile unsigned short *)CAN1_MB31_DATA0)
-#define pCAN1_MB31_DATA1 ((volatile unsigned short *)CAN1_MB31_DATA1)
-#define pCAN1_MB31_DATA2 ((volatile unsigned short *)CAN1_MB31_DATA2)
-#define pCAN1_MB31_DATA3 ((volatile unsigned short *)CAN1_MB31_DATA3)
-#define pCAN1_MB31_LENGTH ((volatile unsigned short *)CAN1_MB31_LENGTH)
-#define pCAN1_MB31_TIMESTAMP ((volatile unsigned short *)CAN1_MB31_TIMESTAMP)
-#define pCAN1_MB31_ID0 ((volatile unsigned short *)CAN1_MB31_ID0)
-#define pCAN1_MB31_ID1 ((volatile unsigned short *)CAN1_MB31_ID1)
-
-/* ATAPI Registers */
-
-#define pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
-#define pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
-#define pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
-#define pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
-#define pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
-#define pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
-#define pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
-#define pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
-#define pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
-#define pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
-#define pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
-#define pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
-#define pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
-#define pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
-#define pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
-#define pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
-#define pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
-#define pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
-#define pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
-#define pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
-#define pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
-#define pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
-#define pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
-#define pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
-#define pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
-
-/* SDH Registers */
-
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-/* HOST Port Registers */
-
-#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
-#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
-#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-/* Keypad Registers */
-
-#define pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
-#define pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
-#define pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
-#define pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
-#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
-#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
-#define pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
-#define pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
-#define pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
-#define pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
-#define pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
-#define pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
-#define pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
-#define pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
-#define pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
-#define pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
-#define pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
-#define pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
-#define pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
-#define pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
-#define pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
-#define pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
-#define pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
-#define pPIXC_TC ((volatile unsigned long *)PIXC_TC)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF548_H */
diff --git a/libgloss/bfin/include/cdefBF548M.h b/libgloss/bfin/include/cdefBF548M.h
deleted file mode 100644
index a0bee15..0000000
--- a/libgloss/bfin/include/cdefBF548M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF548M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps to the cdef for BF548 unless anything
-** is required to change.
-**
-************************************************************************************/
-
-#ifndef _CDEF_BF548M_H
-#define _CDEF_BF548M_H
-
-#include <cdefBF548.h>
-
-#endif /* _CDEF_BF548M_H */
diff --git a/libgloss/bfin/include/cdefBF549.h b/libgloss/bfin/include/cdefBF549.h
deleted file mode 100644
index 7dadd6b..0000000
--- a/libgloss/bfin/include/cdefBF549.h
+++ /dev/null
@@ -1,1052 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF549.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF549 peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _CDEF_BF549_H
-#define _CDEF_BF549_H
-
-/* include all Core registers and bit definitions */
-#include <defBF549.h>
-
-/* include core specific register pointer definitions */
-#include <cdef_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */
-
-/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <cdefBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF549 that are not in the common header */
-
-/* Timer Registers */
-
-#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
-#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
-#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
-#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
-#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
-#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
-#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
-#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
-#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
-#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
-#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
-#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
-
-/* Timer Group of 3 */
-
-#define pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
-#define pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
-#define pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
-
-/* SPORT0 Registers */
-
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-
-/* EPPI0 Registers */
-
-#define pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
-#define pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
-#define pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
-#define pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
-#define pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
-#define pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
-#define pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
-#define pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
-#define pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
-#define pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
-#define pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
-#define pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
-#define pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
-#define pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
-
-/* UART2 Registers */
-
-#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
-#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
-#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
-#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
-#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
-#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
-#define pUART2_MSR ((volatile unsigned short *)UART2_MSR)
-#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
-#define pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
-#define pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
-#define pUART2_THR ((volatile unsigned short *)UART2_THR)
-#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
-#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
-#define pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
-#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
-#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
-#define pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
-#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
-#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
-#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
-#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
-#define pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
-#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
-#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
-#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
-#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
-#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
-
-/* SPI2 Registers */
-
-#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
-#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
-#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
-#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
-#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
-#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
-#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
-
-/* MXVR Registers */
-
-#define pMXVR_CONFIG ((volatile unsigned short *)MXVR_CONFIG)
-#define pMXVR_STATE_0 ((volatile unsigned long *)MXVR_STATE_0)
-#define pMXVR_STATE_1 ((volatile unsigned long *)MXVR_STATE_1)
-#define pMXVR_INT_STAT_0 ((volatile unsigned long *)MXVR_INT_STAT_0)
-#define pMXVR_INT_STAT_1 ((volatile unsigned long *)MXVR_INT_STAT_1)
-#define pMXVR_INT_EN_0 ((volatile unsigned long *)MXVR_INT_EN_0)
-#define pMXVR_INT_EN_1 ((volatile unsigned long *)MXVR_INT_EN_1)
-#define pMXVR_POSITION ((volatile unsigned short *)MXVR_POSITION)
-#define pMXVR_MAX_POSITION ((volatile unsigned short *)MXVR_MAX_POSITION)
-#define pMXVR_DELAY ((volatile unsigned short *)MXVR_DELAY)
-#define pMXVR_MAX_DELAY ((volatile unsigned short *)MXVR_MAX_DELAY)
-#define pMXVR_LADDR ((volatile unsigned long *)MXVR_LADDR)
-#define pMXVR_GADDR ((volatile unsigned short *)MXVR_GADDR)
-#define pMXVR_AADDR ((volatile unsigned long *)MXVR_AADDR)
-
-/* MXVR Allocation Table Registers */
-
-#define pMXVR_ALLOC_0 ((volatile unsigned long *)MXVR_ALLOC_0)
-#define pMXVR_ALLOC_1 ((volatile unsigned long *)MXVR_ALLOC_1)
-#define pMXVR_ALLOC_2 ((volatile unsigned long *)MXVR_ALLOC_2)
-#define pMXVR_ALLOC_3 ((volatile unsigned long *)MXVR_ALLOC_3)
-#define pMXVR_ALLOC_4 ((volatile unsigned long *)MXVR_ALLOC_4)
-#define pMXVR_ALLOC_5 ((volatile unsigned long *)MXVR_ALLOC_5)
-#define pMXVR_ALLOC_6 ((volatile unsigned long *)MXVR_ALLOC_6)
-#define pMXVR_ALLOC_7 ((volatile unsigned long *)MXVR_ALLOC_7)
-#define pMXVR_ALLOC_8 ((volatile unsigned long *)MXVR_ALLOC_8)
-#define pMXVR_ALLOC_9 ((volatile unsigned long *)MXVR_ALLOC_9)
-#define pMXVR_ALLOC_10 ((volatile unsigned long *)MXVR_ALLOC_10)
-#define pMXVR_ALLOC_11 ((volatile unsigned long *)MXVR_ALLOC_11)
-#define pMXVR_ALLOC_12 ((volatile unsigned long *)MXVR_ALLOC_12)
-#define pMXVR_ALLOC_13 ((volatile unsigned long *)MXVR_ALLOC_13)
-#define pMXVR_ALLOC_14 ((volatile unsigned long *)MXVR_ALLOC_14)
-
-/* MXVR Channel Assign Registers */
-
-#define pMXVR_SYNC_LCHAN_0 ((volatile unsigned long *)MXVR_SYNC_LCHAN_0)
-#define pMXVR_SYNC_LCHAN_1 ((volatile unsigned long *)MXVR_SYNC_LCHAN_1)
-#define pMXVR_SYNC_LCHAN_2 ((volatile unsigned long *)MXVR_SYNC_LCHAN_2)
-#define pMXVR_SYNC_LCHAN_3 ((volatile unsigned long *)MXVR_SYNC_LCHAN_3)
-#define pMXVR_SYNC_LCHAN_4 ((volatile unsigned long *)MXVR_SYNC_LCHAN_4)
-#define pMXVR_SYNC_LCHAN_5 ((volatile unsigned long *)MXVR_SYNC_LCHAN_5)
-#define pMXVR_SYNC_LCHAN_6 ((volatile unsigned long *)MXVR_SYNC_LCHAN_6)
-#define pMXVR_SYNC_LCHAN_7 ((volatile unsigned long *)MXVR_SYNC_LCHAN_7)
-
-/* MXVR DMA0 Registers */
-
-#define pMXVR_DMA0_CONFIG ((volatile unsigned long *)MXVR_DMA0_CONFIG)
-#define pMXVR_DMA0_START_ADDR ((void *volatile *)MXVR_DMA0_START_ADDR)
-#define pMXVR_DMA0_COUNT ((volatile unsigned short *)MXVR_DMA0_COUNT)
-#define pMXVR_DMA0_CURR_ADDR ((void *volatile *)MXVR_DMA0_CURR_ADDR)
-#define pMXVR_DMA0_CURR_COUNT ((volatile unsigned short *)MXVR_DMA0_CURR_COUNT)
-
-/* MXVR DMA1 Registers */
-
-#define pMXVR_DMA1_CONFIG ((volatile unsigned long *)MXVR_DMA1_CONFIG)
-#define pMXVR_DMA1_START_ADDR ((void *volatile *)MXVR_DMA1_START_ADDR)
-#define pMXVR_DMA1_COUNT ((volatile unsigned short *)MXVR_DMA1_COUNT)
-#define pMXVR_DMA1_CURR_ADDR ((void *volatile *)MXVR_DMA1_CURR_ADDR)
-#define pMXVR_DMA1_CURR_COUNT ((volatile unsigned short *)MXVR_DMA1_CURR_COUNT)
-
-/* MXVR DMA2 Registers */
-
-#define pMXVR_DMA2_CONFIG ((volatile unsigned long *)MXVR_DMA2_CONFIG)
-#define pMXVR_DMA2_START_ADDR ((void *volatile *)MXVR_DMA2_START_ADDR)
-#define pMXVR_DMA2_COUNT ((volatile unsigned short *)MXVR_DMA2_COUNT)
-#define pMXVR_DMA2_CURR_ADDR ((void *volatile *)MXVR_DMA2_CURR_ADDR)
-#define pMXVR_DMA2_CURR_COUNT ((volatile unsigned short *)MXVR_DMA2_CURR_COUNT)
-
-/* MXVR DMA3 Registers */
-
-#define pMXVR_DMA3_CONFIG ((volatile unsigned long *)MXVR_DMA3_CONFIG)
-#define pMXVR_DMA3_START_ADDR ((void *volatile *)MXVR_DMA3_START_ADDR)
-#define pMXVR_DMA3_COUNT ((volatile unsigned short *)MXVR_DMA3_COUNT)
-#define pMXVR_DMA3_CURR_ADDR ((void *volatile *)MXVR_DMA3_CURR_ADDR)
-#define pMXVR_DMA3_CURR_COUNT ((volatile unsigned short *)MXVR_DMA3_CURR_COUNT)
-
-/* MXVR DMA4 Registers */
-
-#define pMXVR_DMA4_CONFIG ((volatile unsigned long *)MXVR_DMA4_CONFIG)
-#define pMXVR_DMA4_START_ADDR ((void *volatile *)MXVR_DMA4_START_ADDR)
-#define pMXVR_DMA4_COUNT ((volatile unsigned short *)MXVR_DMA4_COUNT)
-#define pMXVR_DMA4_CURR_ADDR ((void *volatile *)MXVR_DMA4_CURR_ADDR)
-#define pMXVR_DMA4_CURR_COUNT ((volatile unsigned short *)MXVR_DMA4_CURR_COUNT)
-
-/* MXVR DMA5 Registers */
-
-#define pMXVR_DMA5_CONFIG ((volatile unsigned long *)MXVR_DMA5_CONFIG)
-#define pMXVR_DMA5_START_ADDR ((void *volatile *)MXVR_DMA5_START_ADDR)
-#define pMXVR_DMA5_COUNT ((volatile unsigned short *)MXVR_DMA5_COUNT)
-#define pMXVR_DMA5_CURR_ADDR ((void *volatile *)MXVR_DMA5_CURR_ADDR)
-#define pMXVR_DMA5_CURR_COUNT ((volatile unsigned short *)MXVR_DMA5_CURR_COUNT)
-
-/* MXVR DMA6 Registers */
-
-#define pMXVR_DMA6_CONFIG ((volatile unsigned long *)MXVR_DMA6_CONFIG)
-#define pMXVR_DMA6_START_ADDR ((void *volatile *)MXVR_DMA6_START_ADDR)
-#define pMXVR_DMA6_COUNT ((volatile unsigned short *)MXVR_DMA6_COUNT)
-#define pMXVR_DMA6_CURR_ADDR ((void *volatile *)MXVR_DMA6_CURR_ADDR)
-#define pMXVR_DMA6_CURR_COUNT ((volatile unsigned short *)MXVR_DMA6_CURR_COUNT)
-
-/* MXVR DMA7 Registers */
-
-#define pMXVR_DMA7_CONFIG ((volatile unsigned long *)MXVR_DMA7_CONFIG)
-#define pMXVR_DMA7_START_ADDR ((void *volatile *)MXVR_DMA7_START_ADDR)
-#define pMXVR_DMA7_COUNT ((volatile unsigned short *)MXVR_DMA7_COUNT)
-#define pMXVR_DMA7_CURR_ADDR ((void *volatile *)MXVR_DMA7_CURR_ADDR)
-#define pMXVR_DMA7_CURR_COUNT ((volatile unsigned short *)MXVR_DMA7_CURR_COUNT)
-
-/* MXVR Asynch Packet Registers */
-
-#define pMXVR_AP_CTL ((volatile unsigned short *)MXVR_AP_CTL)
-#define pMXVR_APRB_START_ADDR ((void *volatile *)MXVR_APRB_START_ADDR)
-#define pMXVR_APRB_CURR_ADDR ((void *volatile *)MXVR_APRB_CURR_ADDR)
-#define pMXVR_APTB_START_ADDR ((void *volatile *)MXVR_APTB_START_ADDR)
-#define pMXVR_APTB_CURR_ADDR ((void *volatile *)MXVR_APTB_CURR_ADDR)
-
-/* MXVR Control Message Registers */
-
-#define pMXVR_CM_CTL ((volatile unsigned long *)MXVR_CM_CTL)
-#define pMXVR_CMRB_START_ADDR ((void *volatile *)MXVR_CMRB_START_ADDR)
-#define pMXVR_CMRB_CURR_ADDR ((void *volatile *)MXVR_CMRB_CURR_ADDR)
-#define pMXVR_CMTB_START_ADDR ((void *volatile *)MXVR_CMTB_START_ADDR)
-#define pMXVR_CMTB_CURR_ADDR ((void *volatile *)MXVR_CMTB_CURR_ADDR)
-
-/* MXVR Remote Read Registers */
-
-#define pMXVR_RRDB_START_ADDR ((void *volatile *)MXVR_RRDB_START_ADDR)
-#define pMXVR_RRDB_CURR_ADDR ((void *volatile *)MXVR_RRDB_CURR_ADDR)
-
-/* MXVR Pattern Data Registers */
-
-#define pMXVR_PAT_DATA_0 ((volatile unsigned long *)MXVR_PAT_DATA_0)
-#define pMXVR_PAT_EN_0 ((volatile unsigned long *)MXVR_PAT_EN_0)
-#define pMXVR_PAT_DATA_1 ((volatile unsigned long *)MXVR_PAT_DATA_1)
-#define pMXVR_PAT_EN_1 ((volatile unsigned long *)MXVR_PAT_EN_1)
-
-/* MXVR Frame Counter Registers */
-
-#define pMXVR_FRAME_CNT_0 ((volatile unsigned short *)MXVR_FRAME_CNT_0)
-#define pMXVR_FRAME_CNT_1 ((volatile unsigned short *)MXVR_FRAME_CNT_1)
-
-/* MXVR Routing Table Registers */
-
-#define pMXVR_ROUTING_0 ((volatile unsigned long *)MXVR_ROUTING_0)
-#define pMXVR_ROUTING_1 ((volatile unsigned long *)MXVR_ROUTING_1)
-#define pMXVR_ROUTING_2 ((volatile unsigned long *)MXVR_ROUTING_2)
-#define pMXVR_ROUTING_3 ((volatile unsigned long *)MXVR_ROUTING_3)
-#define pMXVR_ROUTING_4 ((volatile unsigned long *)MXVR_ROUTING_4)
-#define pMXVR_ROUTING_5 ((volatile unsigned long *)MXVR_ROUTING_5)
-#define pMXVR_ROUTING_6 ((volatile unsigned long *)MXVR_ROUTING_6)
-#define pMXVR_ROUTING_7 ((volatile unsigned long *)MXVR_ROUTING_7)
-#define pMXVR_ROUTING_8 ((volatile unsigned long *)MXVR_ROUTING_8)
-#define pMXVR_ROUTING_9 ((volatile unsigned long *)MXVR_ROUTING_9)
-#define pMXVR_ROUTING_10 ((volatile unsigned long *)MXVR_ROUTING_10)
-#define pMXVR_ROUTING_11 ((volatile unsigned long *)MXVR_ROUTING_11)
-#define pMXVR_ROUTING_12 ((volatile unsigned long *)MXVR_ROUTING_12)
-#define pMXVR_ROUTING_13 ((volatile unsigned long *)MXVR_ROUTING_13)
-#define pMXVR_ROUTING_14 ((volatile unsigned long *)MXVR_ROUTING_14)
-
-/* MXVR Counter-Clock-Control Registers */
-
-#define pMXVR_BLOCK_CNT ((volatile unsigned short *)MXVR_BLOCK_CNT)
-#define pMXVR_CLK_CTL ((volatile unsigned long *)MXVR_CLK_CTL)
-#define pMXVR_CDRPLL_CTL ((volatile unsigned long *)MXVR_CDRPLL_CTL)
-#define pMXVR_FMPLL_CTL ((volatile unsigned long *)MXVR_FMPLL_CTL)
-#define pMXVR_PIN_CTL ((volatile unsigned short *)MXVR_PIN_CTL)
-#define pMXVR_SCLK_CNT ((volatile unsigned short *)MXVR_SCLK_CNT)
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define pCAN1_MC1 ((volatile unsigned short *)CAN1_MC1)
-#define pCAN1_MD1 ((volatile unsigned short *)CAN1_MD1)
-#define pCAN1_TRS1 ((volatile unsigned short *)CAN1_TRS1)
-#define pCAN1_TRR1 ((volatile unsigned short *)CAN1_TRR1)
-#define pCAN1_TA1 ((volatile unsigned short *)CAN1_TA1)
-#define pCAN1_AA1 ((volatile unsigned short *)CAN1_AA1)
-#define pCAN1_RMP1 ((volatile unsigned short *)CAN1_RMP1)
-#define pCAN1_RML1 ((volatile unsigned short *)CAN1_RML1)
-#define pCAN1_MBTIF1 ((volatile unsigned short *)CAN1_MBTIF1)
-#define pCAN1_MBRIF1 ((volatile unsigned short *)CAN1_MBRIF1)
-#define pCAN1_MBIM1 ((volatile unsigned short *)CAN1_MBIM1)
-#define pCAN1_RFH1 ((volatile unsigned short *)CAN1_RFH1)
-#define pCAN1_OPSS1 ((volatile unsigned short *)CAN1_OPSS1)
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define pCAN1_MC2 ((volatile unsigned short *)CAN1_MC2)
-#define pCAN1_MD2 ((volatile unsigned short *)CAN1_MD2)
-#define pCAN1_TRS2 ((volatile unsigned short *)CAN1_TRS2)
-#define pCAN1_TRR2 ((volatile unsigned short *)CAN1_TRR2)
-#define pCAN1_TA2 ((volatile unsigned short *)CAN1_TA2)
-#define pCAN1_AA2 ((volatile unsigned short *)CAN1_AA2)
-#define pCAN1_RMP2 ((volatile unsigned short *)CAN1_RMP2)
-#define pCAN1_RML2 ((volatile unsigned short *)CAN1_RML2)
-#define pCAN1_MBTIF2 ((volatile unsigned short *)CAN1_MBTIF2)
-#define pCAN1_MBRIF2 ((volatile unsigned short *)CAN1_MBRIF2)
-#define pCAN1_MBIM2 ((volatile unsigned short *)CAN1_MBIM2)
-#define pCAN1_RFH2 ((volatile unsigned short *)CAN1_RFH2)
-#define pCAN1_OPSS2 ((volatile unsigned short *)CAN1_OPSS2)
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define pCAN1_CLOCK ((volatile unsigned short *)CAN1_CLOCK)
-#define pCAN1_TIMING ((volatile unsigned short *)CAN1_TIMING)
-#define pCAN1_DEBUG ((volatile unsigned short *)CAN1_DEBUG)
-#define pCAN1_STATUS ((volatile unsigned short *)CAN1_STATUS)
-#define pCAN1_CEC ((volatile unsigned short *)CAN1_CEC)
-#define pCAN1_GIS ((volatile unsigned short *)CAN1_GIS)
-#define pCAN1_GIM ((volatile unsigned short *)CAN1_GIM)
-#define pCAN1_GIF ((volatile unsigned short *)CAN1_GIF)
-#define pCAN1_CONTROL ((volatile unsigned short *)CAN1_CONTROL)
-#define pCAN1_INTR ((volatile unsigned short *)CAN1_INTR)
-#define pCAN1_MBTD ((volatile unsigned short *)CAN1_MBTD)
-#define pCAN1_EWR ((volatile unsigned short *)CAN1_EWR)
-#define pCAN1_ESR ((volatile unsigned short *)CAN1_ESR)
-#define pCAN1_UCCNT ((volatile unsigned short *)CAN1_UCCNT)
-#define pCAN1_UCRC ((volatile unsigned short *)CAN1_UCRC)
-#define pCAN1_UCCNF ((volatile unsigned short *)CAN1_UCCNF)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM00L ((volatile unsigned short *)CAN1_AM00L)
-#define pCAN1_AM00H ((volatile unsigned short *)CAN1_AM00H)
-#define pCAN1_AM01L ((volatile unsigned short *)CAN1_AM01L)
-#define pCAN1_AM01H ((volatile unsigned short *)CAN1_AM01H)
-#define pCAN1_AM02L ((volatile unsigned short *)CAN1_AM02L)
-#define pCAN1_AM02H ((volatile unsigned short *)CAN1_AM02H)
-#define pCAN1_AM03L ((volatile unsigned short *)CAN1_AM03L)
-#define pCAN1_AM03H ((volatile unsigned short *)CAN1_AM03H)
-#define pCAN1_AM04L ((volatile unsigned short *)CAN1_AM04L)
-#define pCAN1_AM04H ((volatile unsigned short *)CAN1_AM04H)
-#define pCAN1_AM05L ((volatile unsigned short *)CAN1_AM05L)
-#define pCAN1_AM05H ((volatile unsigned short *)CAN1_AM05H)
-#define pCAN1_AM06L ((volatile unsigned short *)CAN1_AM06L)
-#define pCAN1_AM06H ((volatile unsigned short *)CAN1_AM06H)
-#define pCAN1_AM07L ((volatile unsigned short *)CAN1_AM07L)
-#define pCAN1_AM07H ((volatile unsigned short *)CAN1_AM07H)
-#define pCAN1_AM08L ((volatile unsigned short *)CAN1_AM08L)
-#define pCAN1_AM08H ((volatile unsigned short *)CAN1_AM08H)
-#define pCAN1_AM09L ((volatile unsigned short *)CAN1_AM09L)
-#define pCAN1_AM09H ((volatile unsigned short *)CAN1_AM09H)
-#define pCAN1_AM10L ((volatile unsigned short *)CAN1_AM10L)
-#define pCAN1_AM10H ((volatile unsigned short *)CAN1_AM10H)
-#define pCAN1_AM11L ((volatile unsigned short *)CAN1_AM11L)
-#define pCAN1_AM11H ((volatile unsigned short *)CAN1_AM11H)
-#define pCAN1_AM12L ((volatile unsigned short *)CAN1_AM12L)
-#define pCAN1_AM12H ((volatile unsigned short *)CAN1_AM12H)
-#define pCAN1_AM13L ((volatile unsigned short *)CAN1_AM13L)
-#define pCAN1_AM13H ((volatile unsigned short *)CAN1_AM13H)
-#define pCAN1_AM14L ((volatile unsigned short *)CAN1_AM14L)
-#define pCAN1_AM14H ((volatile unsigned short *)CAN1_AM14H)
-#define pCAN1_AM15L ((volatile unsigned short *)CAN1_AM15L)
-#define pCAN1_AM15H ((volatile unsigned short *)CAN1_AM15H)
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define pCAN1_AM16L ((volatile unsigned short *)CAN1_AM16L)
-#define pCAN1_AM16H ((volatile unsigned short *)CAN1_AM16H)
-#define pCAN1_AM17L ((volatile unsigned short *)CAN1_AM17L)
-#define pCAN1_AM17H ((volatile unsigned short *)CAN1_AM17H)
-#define pCAN1_AM18L ((volatile unsigned short *)CAN1_AM18L)
-#define pCAN1_AM18H ((volatile unsigned short *)CAN1_AM18H)
-#define pCAN1_AM19L ((volatile unsigned short *)CAN1_AM19L)
-#define pCAN1_AM19H ((volatile unsigned short *)CAN1_AM19H)
-#define pCAN1_AM20L ((volatile unsigned short *)CAN1_AM20L)
-#define pCAN1_AM20H ((volatile unsigned short *)CAN1_AM20H)
-#define pCAN1_AM21L ((volatile unsigned short *)CAN1_AM21L)
-#define pCAN1_AM21H ((volatile unsigned short *)CAN1_AM21H)
-#define pCAN1_AM22L ((volatile unsigned short *)CAN1_AM22L)
-#define pCAN1_AM22H ((volatile unsigned short *)CAN1_AM22H)
-#define pCAN1_AM23L ((volatile unsigned short *)CAN1_AM23L)
-#define pCAN1_AM23H ((volatile unsigned short *)CAN1_AM23H)
-#define pCAN1_AM24L ((volatile unsigned short *)CAN1_AM24L)
-#define pCAN1_AM24H ((volatile unsigned short *)CAN1_AM24H)
-#define pCAN1_AM25L ((volatile unsigned short *)CAN1_AM25L)
-#define pCAN1_AM25H ((volatile unsigned short *)CAN1_AM25H)
-#define pCAN1_AM26L ((volatile unsigned short *)CAN1_AM26L)
-#define pCAN1_AM26H ((volatile unsigned short *)CAN1_AM26H)
-#define pCAN1_AM27L ((volatile unsigned short *)CAN1_AM27L)
-#define pCAN1_AM27H ((volatile unsigned short *)CAN1_AM27H)
-#define pCAN1_AM28L ((volatile unsigned short *)CAN1_AM28L)
-#define pCAN1_AM28H ((volatile unsigned short *)CAN1_AM28H)
-#define pCAN1_AM29L ((volatile unsigned short *)CAN1_AM29L)
-#define pCAN1_AM29H ((volatile unsigned short *)CAN1_AM29H)
-#define pCAN1_AM30L ((volatile unsigned short *)CAN1_AM30L)
-#define pCAN1_AM30H ((volatile unsigned short *)CAN1_AM30H)
-#define pCAN1_AM31L ((volatile unsigned short *)CAN1_AM31L)
-#define pCAN1_AM31H ((volatile unsigned short *)CAN1_AM31H)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB00_DATA0 ((volatile unsigned short *)CAN1_MB00_DATA0)
-#define pCAN1_MB00_DATA1 ((volatile unsigned short *)CAN1_MB00_DATA1)
-#define pCAN1_MB00_DATA2 ((volatile unsigned short *)CAN1_MB00_DATA2)
-#define pCAN1_MB00_DATA3 ((volatile unsigned short *)CAN1_MB00_DATA3)
-#define pCAN1_MB00_LENGTH ((volatile unsigned short *)CAN1_MB00_LENGTH)
-#define pCAN1_MB00_TIMESTAMP ((volatile unsigned short *)CAN1_MB00_TIMESTAMP)
-#define pCAN1_MB00_ID0 ((volatile unsigned short *)CAN1_MB00_ID0)
-#define pCAN1_MB00_ID1 ((volatile unsigned short *)CAN1_MB00_ID1)
-#define pCAN1_MB01_DATA0 ((volatile unsigned short *)CAN1_MB01_DATA0)
-#define pCAN1_MB01_DATA1 ((volatile unsigned short *)CAN1_MB01_DATA1)
-#define pCAN1_MB01_DATA2 ((volatile unsigned short *)CAN1_MB01_DATA2)
-#define pCAN1_MB01_DATA3 ((volatile unsigned short *)CAN1_MB01_DATA3)
-#define pCAN1_MB01_LENGTH ((volatile unsigned short *)CAN1_MB01_LENGTH)
-#define pCAN1_MB01_TIMESTAMP ((volatile unsigned short *)CAN1_MB01_TIMESTAMP)
-#define pCAN1_MB01_ID0 ((volatile unsigned short *)CAN1_MB01_ID0)
-#define pCAN1_MB01_ID1 ((volatile unsigned short *)CAN1_MB01_ID1)
-#define pCAN1_MB02_DATA0 ((volatile unsigned short *)CAN1_MB02_DATA0)
-#define pCAN1_MB02_DATA1 ((volatile unsigned short *)CAN1_MB02_DATA1)
-#define pCAN1_MB02_DATA2 ((volatile unsigned short *)CAN1_MB02_DATA2)
-#define pCAN1_MB02_DATA3 ((volatile unsigned short *)CAN1_MB02_DATA3)
-#define pCAN1_MB02_LENGTH ((volatile unsigned short *)CAN1_MB02_LENGTH)
-#define pCAN1_MB02_TIMESTAMP ((volatile unsigned short *)CAN1_MB02_TIMESTAMP)
-#define pCAN1_MB02_ID0 ((volatile unsigned short *)CAN1_MB02_ID0)
-#define pCAN1_MB02_ID1 ((volatile unsigned short *)CAN1_MB02_ID1)
-#define pCAN1_MB03_DATA0 ((volatile unsigned short *)CAN1_MB03_DATA0)
-#define pCAN1_MB03_DATA1 ((volatile unsigned short *)CAN1_MB03_DATA1)
-#define pCAN1_MB03_DATA2 ((volatile unsigned short *)CAN1_MB03_DATA2)
-#define pCAN1_MB03_DATA3 ((volatile unsigned short *)CAN1_MB03_DATA3)
-#define pCAN1_MB03_LENGTH ((volatile unsigned short *)CAN1_MB03_LENGTH)
-#define pCAN1_MB03_TIMESTAMP ((volatile unsigned short *)CAN1_MB03_TIMESTAMP)
-#define pCAN1_MB03_ID0 ((volatile unsigned short *)CAN1_MB03_ID0)
-#define pCAN1_MB03_ID1 ((volatile unsigned short *)CAN1_MB03_ID1)
-#define pCAN1_MB04_DATA0 ((volatile unsigned short *)CAN1_MB04_DATA0)
-#define pCAN1_MB04_DATA1 ((volatile unsigned short *)CAN1_MB04_DATA1)
-#define pCAN1_MB04_DATA2 ((volatile unsigned short *)CAN1_MB04_DATA2)
-#define pCAN1_MB04_DATA3 ((volatile unsigned short *)CAN1_MB04_DATA3)
-#define pCAN1_MB04_LENGTH ((volatile unsigned short *)CAN1_MB04_LENGTH)
-#define pCAN1_MB04_TIMESTAMP ((volatile unsigned short *)CAN1_MB04_TIMESTAMP)
-#define pCAN1_MB04_ID0 ((volatile unsigned short *)CAN1_MB04_ID0)
-#define pCAN1_MB04_ID1 ((volatile unsigned short *)CAN1_MB04_ID1)
-#define pCAN1_MB05_DATA0 ((volatile unsigned short *)CAN1_MB05_DATA0)
-#define pCAN1_MB05_DATA1 ((volatile unsigned short *)CAN1_MB05_DATA1)
-#define pCAN1_MB05_DATA2 ((volatile unsigned short *)CAN1_MB05_DATA2)
-#define pCAN1_MB05_DATA3 ((volatile unsigned short *)CAN1_MB05_DATA3)
-#define pCAN1_MB05_LENGTH ((volatile unsigned short *)CAN1_MB05_LENGTH)
-#define pCAN1_MB05_TIMESTAMP ((volatile unsigned short *)CAN1_MB05_TIMESTAMP)
-#define pCAN1_MB05_ID0 ((volatile unsigned short *)CAN1_MB05_ID0)
-#define pCAN1_MB05_ID1 ((volatile unsigned short *)CAN1_MB05_ID1)
-#define pCAN1_MB06_DATA0 ((volatile unsigned short *)CAN1_MB06_DATA0)
-#define pCAN1_MB06_DATA1 ((volatile unsigned short *)CAN1_MB06_DATA1)
-#define pCAN1_MB06_DATA2 ((volatile unsigned short *)CAN1_MB06_DATA2)
-#define pCAN1_MB06_DATA3 ((volatile unsigned short *)CAN1_MB06_DATA3)
-#define pCAN1_MB06_LENGTH ((volatile unsigned short *)CAN1_MB06_LENGTH)
-#define pCAN1_MB06_TIMESTAMP ((volatile unsigned short *)CAN1_MB06_TIMESTAMP)
-#define pCAN1_MB06_ID0 ((volatile unsigned short *)CAN1_MB06_ID0)
-#define pCAN1_MB06_ID1 ((volatile unsigned short *)CAN1_MB06_ID1)
-#define pCAN1_MB07_DATA0 ((volatile unsigned short *)CAN1_MB07_DATA0)
-#define pCAN1_MB07_DATA1 ((volatile unsigned short *)CAN1_MB07_DATA1)
-#define pCAN1_MB07_DATA2 ((volatile unsigned short *)CAN1_MB07_DATA2)
-#define pCAN1_MB07_DATA3 ((volatile unsigned short *)CAN1_MB07_DATA3)
-#define pCAN1_MB07_LENGTH ((volatile unsigned short *)CAN1_MB07_LENGTH)
-#define pCAN1_MB07_TIMESTAMP ((volatile unsigned short *)CAN1_MB07_TIMESTAMP)
-#define pCAN1_MB07_ID0 ((volatile unsigned short *)CAN1_MB07_ID0)
-#define pCAN1_MB07_ID1 ((volatile unsigned short *)CAN1_MB07_ID1)
-#define pCAN1_MB08_DATA0 ((volatile unsigned short *)CAN1_MB08_DATA0)
-#define pCAN1_MB08_DATA1 ((volatile unsigned short *)CAN1_MB08_DATA1)
-#define pCAN1_MB08_DATA2 ((volatile unsigned short *)CAN1_MB08_DATA2)
-#define pCAN1_MB08_DATA3 ((volatile unsigned short *)CAN1_MB08_DATA3)
-#define pCAN1_MB08_LENGTH ((volatile unsigned short *)CAN1_MB08_LENGTH)
-#define pCAN1_MB08_TIMESTAMP ((volatile unsigned short *)CAN1_MB08_TIMESTAMP)
-#define pCAN1_MB08_ID0 ((volatile unsigned short *)CAN1_MB08_ID0)
-#define pCAN1_MB08_ID1 ((volatile unsigned short *)CAN1_MB08_ID1)
-#define pCAN1_MB09_DATA0 ((volatile unsigned short *)CAN1_MB09_DATA0)
-#define pCAN1_MB09_DATA1 ((volatile unsigned short *)CAN1_MB09_DATA1)
-#define pCAN1_MB09_DATA2 ((volatile unsigned short *)CAN1_MB09_DATA2)
-#define pCAN1_MB09_DATA3 ((volatile unsigned short *)CAN1_MB09_DATA3)
-#define pCAN1_MB09_LENGTH ((volatile unsigned short *)CAN1_MB09_LENGTH)
-#define pCAN1_MB09_TIMESTAMP ((volatile unsigned short *)CAN1_MB09_TIMESTAMP)
-#define pCAN1_MB09_ID0 ((volatile unsigned short *)CAN1_MB09_ID0)
-#define pCAN1_MB09_ID1 ((volatile unsigned short *)CAN1_MB09_ID1)
-#define pCAN1_MB10_DATA0 ((volatile unsigned short *)CAN1_MB10_DATA0)
-#define pCAN1_MB10_DATA1 ((volatile unsigned short *)CAN1_MB10_DATA1)
-#define pCAN1_MB10_DATA2 ((volatile unsigned short *)CAN1_MB10_DATA2)
-#define pCAN1_MB10_DATA3 ((volatile unsigned short *)CAN1_MB10_DATA3)
-#define pCAN1_MB10_LENGTH ((volatile unsigned short *)CAN1_MB10_LENGTH)
-#define pCAN1_MB10_TIMESTAMP ((volatile unsigned short *)CAN1_MB10_TIMESTAMP)
-#define pCAN1_MB10_ID0 ((volatile unsigned short *)CAN1_MB10_ID0)
-#define pCAN1_MB10_ID1 ((volatile unsigned short *)CAN1_MB10_ID1)
-#define pCAN1_MB11_DATA0 ((volatile unsigned short *)CAN1_MB11_DATA0)
-#define pCAN1_MB11_DATA1 ((volatile unsigned short *)CAN1_MB11_DATA1)
-#define pCAN1_MB11_DATA2 ((volatile unsigned short *)CAN1_MB11_DATA2)
-#define pCAN1_MB11_DATA3 ((volatile unsigned short *)CAN1_MB11_DATA3)
-#define pCAN1_MB11_LENGTH ((volatile unsigned short *)CAN1_MB11_LENGTH)
-#define pCAN1_MB11_TIMESTAMP ((volatile unsigned short *)CAN1_MB11_TIMESTAMP)
-#define pCAN1_MB11_ID0 ((volatile unsigned short *)CAN1_MB11_ID0)
-#define pCAN1_MB11_ID1 ((volatile unsigned short *)CAN1_MB11_ID1)
-#define pCAN1_MB12_DATA0 ((volatile unsigned short *)CAN1_MB12_DATA0)
-#define pCAN1_MB12_DATA1 ((volatile unsigned short *)CAN1_MB12_DATA1)
-#define pCAN1_MB12_DATA2 ((volatile unsigned short *)CAN1_MB12_DATA2)
-#define pCAN1_MB12_DATA3 ((volatile unsigned short *)CAN1_MB12_DATA3)
-#define pCAN1_MB12_LENGTH ((volatile unsigned short *)CAN1_MB12_LENGTH)
-#define pCAN1_MB12_TIMESTAMP ((volatile unsigned short *)CAN1_MB12_TIMESTAMP)
-#define pCAN1_MB12_ID0 ((volatile unsigned short *)CAN1_MB12_ID0)
-#define pCAN1_MB12_ID1 ((volatile unsigned short *)CAN1_MB12_ID1)
-#define pCAN1_MB13_DATA0 ((volatile unsigned short *)CAN1_MB13_DATA0)
-#define pCAN1_MB13_DATA1 ((volatile unsigned short *)CAN1_MB13_DATA1)
-#define pCAN1_MB13_DATA2 ((volatile unsigned short *)CAN1_MB13_DATA2)
-#define pCAN1_MB13_DATA3 ((volatile unsigned short *)CAN1_MB13_DATA3)
-#define pCAN1_MB13_LENGTH ((volatile unsigned short *)CAN1_MB13_LENGTH)
-#define pCAN1_MB13_TIMESTAMP ((volatile unsigned short *)CAN1_MB13_TIMESTAMP)
-#define pCAN1_MB13_ID0 ((volatile unsigned short *)CAN1_MB13_ID0)
-#define pCAN1_MB13_ID1 ((volatile unsigned short *)CAN1_MB13_ID1)
-#define pCAN1_MB14_DATA0 ((volatile unsigned short *)CAN1_MB14_DATA0)
-#define pCAN1_MB14_DATA1 ((volatile unsigned short *)CAN1_MB14_DATA1)
-#define pCAN1_MB14_DATA2 ((volatile unsigned short *)CAN1_MB14_DATA2)
-#define pCAN1_MB14_DATA3 ((volatile unsigned short *)CAN1_MB14_DATA3)
-#define pCAN1_MB14_LENGTH ((volatile unsigned short *)CAN1_MB14_LENGTH)
-#define pCAN1_MB14_TIMESTAMP ((volatile unsigned short *)CAN1_MB14_TIMESTAMP)
-#define pCAN1_MB14_ID0 ((volatile unsigned short *)CAN1_MB14_ID0)
-#define pCAN1_MB14_ID1 ((volatile unsigned short *)CAN1_MB14_ID1)
-#define pCAN1_MB15_DATA0 ((volatile unsigned short *)CAN1_MB15_DATA0)
-#define pCAN1_MB15_DATA1 ((volatile unsigned short *)CAN1_MB15_DATA1)
-#define pCAN1_MB15_DATA2 ((volatile unsigned short *)CAN1_MB15_DATA2)
-#define pCAN1_MB15_DATA3 ((volatile unsigned short *)CAN1_MB15_DATA3)
-#define pCAN1_MB15_LENGTH ((volatile unsigned short *)CAN1_MB15_LENGTH)
-#define pCAN1_MB15_TIMESTAMP ((volatile unsigned short *)CAN1_MB15_TIMESTAMP)
-#define pCAN1_MB15_ID0 ((volatile unsigned short *)CAN1_MB15_ID0)
-#define pCAN1_MB15_ID1 ((volatile unsigned short *)CAN1_MB15_ID1)
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define pCAN1_MB16_DATA0 ((volatile unsigned short *)CAN1_MB16_DATA0)
-#define pCAN1_MB16_DATA1 ((volatile unsigned short *)CAN1_MB16_DATA1)
-#define pCAN1_MB16_DATA2 ((volatile unsigned short *)CAN1_MB16_DATA2)
-#define pCAN1_MB16_DATA3 ((volatile unsigned short *)CAN1_MB16_DATA3)
-#define pCAN1_MB16_LENGTH ((volatile unsigned short *)CAN1_MB16_LENGTH)
-#define pCAN1_MB16_TIMESTAMP ((volatile unsigned short *)CAN1_MB16_TIMESTAMP)
-#define pCAN1_MB16_ID0 ((volatile unsigned short *)CAN1_MB16_ID0)
-#define pCAN1_MB16_ID1 ((volatile unsigned short *)CAN1_MB16_ID1)
-#define pCAN1_MB17_DATA0 ((volatile unsigned short *)CAN1_MB17_DATA0)
-#define pCAN1_MB17_DATA1 ((volatile unsigned short *)CAN1_MB17_DATA1)
-#define pCAN1_MB17_DATA2 ((volatile unsigned short *)CAN1_MB17_DATA2)
-#define pCAN1_MB17_DATA3 ((volatile unsigned short *)CAN1_MB17_DATA3)
-#define pCAN1_MB17_LENGTH ((volatile unsigned short *)CAN1_MB17_LENGTH)
-#define pCAN1_MB17_TIMESTAMP ((volatile unsigned short *)CAN1_MB17_TIMESTAMP)
-#define pCAN1_MB17_ID0 ((volatile unsigned short *)CAN1_MB17_ID0)
-#define pCAN1_MB17_ID1 ((volatile unsigned short *)CAN1_MB17_ID1)
-#define pCAN1_MB18_DATA0 ((volatile unsigned short *)CAN1_MB18_DATA0)
-#define pCAN1_MB18_DATA1 ((volatile unsigned short *)CAN1_MB18_DATA1)
-#define pCAN1_MB18_DATA2 ((volatile unsigned short *)CAN1_MB18_DATA2)
-#define pCAN1_MB18_DATA3 ((volatile unsigned short *)CAN1_MB18_DATA3)
-#define pCAN1_MB18_LENGTH ((volatile unsigned short *)CAN1_MB18_LENGTH)
-#define pCAN1_MB18_TIMESTAMP ((volatile unsigned short *)CAN1_MB18_TIMESTAMP)
-#define pCAN1_MB18_ID0 ((volatile unsigned short *)CAN1_MB18_ID0)
-#define pCAN1_MB18_ID1 ((volatile unsigned short *)CAN1_MB18_ID1)
-#define pCAN1_MB19_DATA0 ((volatile unsigned short *)CAN1_MB19_DATA0)
-#define pCAN1_MB19_DATA1 ((volatile unsigned short *)CAN1_MB19_DATA1)
-#define pCAN1_MB19_DATA2 ((volatile unsigned short *)CAN1_MB19_DATA2)
-#define pCAN1_MB19_DATA3 ((volatile unsigned short *)CAN1_MB19_DATA3)
-#define pCAN1_MB19_LENGTH ((volatile unsigned short *)CAN1_MB19_LENGTH)
-#define pCAN1_MB19_TIMESTAMP ((volatile unsigned short *)CAN1_MB19_TIMESTAMP)
-#define pCAN1_MB19_ID0 ((volatile unsigned short *)CAN1_MB19_ID0)
-#define pCAN1_MB19_ID1 ((volatile unsigned short *)CAN1_MB19_ID1)
-#define pCAN1_MB20_DATA0 ((volatile unsigned short *)CAN1_MB20_DATA0)
-#define pCAN1_MB20_DATA1 ((volatile unsigned short *)CAN1_MB20_DATA1)
-#define pCAN1_MB20_DATA2 ((volatile unsigned short *)CAN1_MB20_DATA2)
-#define pCAN1_MB20_DATA3 ((volatile unsigned short *)CAN1_MB20_DATA3)
-#define pCAN1_MB20_LENGTH ((volatile unsigned short *)CAN1_MB20_LENGTH)
-#define pCAN1_MB20_TIMESTAMP ((volatile unsigned short *)CAN1_MB20_TIMESTAMP)
-#define pCAN1_MB20_ID0 ((volatile unsigned short *)CAN1_MB20_ID0)
-#define pCAN1_MB20_ID1 ((volatile unsigned short *)CAN1_MB20_ID1)
-#define pCAN1_MB21_DATA0 ((volatile unsigned short *)CAN1_MB21_DATA0)
-#define pCAN1_MB21_DATA1 ((volatile unsigned short *)CAN1_MB21_DATA1)
-#define pCAN1_MB21_DATA2 ((volatile unsigned short *)CAN1_MB21_DATA2)
-#define pCAN1_MB21_DATA3 ((volatile unsigned short *)CAN1_MB21_DATA3)
-#define pCAN1_MB21_LENGTH ((volatile unsigned short *)CAN1_MB21_LENGTH)
-#define pCAN1_MB21_TIMESTAMP ((volatile unsigned short *)CAN1_MB21_TIMESTAMP)
-#define pCAN1_MB21_ID0 ((volatile unsigned short *)CAN1_MB21_ID0)
-#define pCAN1_MB21_ID1 ((volatile unsigned short *)CAN1_MB21_ID1)
-#define pCAN1_MB22_DATA0 ((volatile unsigned short *)CAN1_MB22_DATA0)
-#define pCAN1_MB22_DATA1 ((volatile unsigned short *)CAN1_MB22_DATA1)
-#define pCAN1_MB22_DATA2 ((volatile unsigned short *)CAN1_MB22_DATA2)
-#define pCAN1_MB22_DATA3 ((volatile unsigned short *)CAN1_MB22_DATA3)
-#define pCAN1_MB22_LENGTH ((volatile unsigned short *)CAN1_MB22_LENGTH)
-#define pCAN1_MB22_TIMESTAMP ((volatile unsigned short *)CAN1_MB22_TIMESTAMP)
-#define pCAN1_MB22_ID0 ((volatile unsigned short *)CAN1_MB22_ID0)
-#define pCAN1_MB22_ID1 ((volatile unsigned short *)CAN1_MB22_ID1)
-#define pCAN1_MB23_DATA0 ((volatile unsigned short *)CAN1_MB23_DATA0)
-#define pCAN1_MB23_DATA1 ((volatile unsigned short *)CAN1_MB23_DATA1)
-#define pCAN1_MB23_DATA2 ((volatile unsigned short *)CAN1_MB23_DATA2)
-#define pCAN1_MB23_DATA3 ((volatile unsigned short *)CAN1_MB23_DATA3)
-#define pCAN1_MB23_LENGTH ((volatile unsigned short *)CAN1_MB23_LENGTH)
-#define pCAN1_MB23_TIMESTAMP ((volatile unsigned short *)CAN1_MB23_TIMESTAMP)
-#define pCAN1_MB23_ID0 ((volatile unsigned short *)CAN1_MB23_ID0)
-#define pCAN1_MB23_ID1 ((volatile unsigned short *)CAN1_MB23_ID1)
-#define pCAN1_MB24_DATA0 ((volatile unsigned short *)CAN1_MB24_DATA0)
-#define pCAN1_MB24_DATA1 ((volatile unsigned short *)CAN1_MB24_DATA1)
-#define pCAN1_MB24_DATA2 ((volatile unsigned short *)CAN1_MB24_DATA2)
-#define pCAN1_MB24_DATA3 ((volatile unsigned short *)CAN1_MB24_DATA3)
-#define pCAN1_MB24_LENGTH ((volatile unsigned short *)CAN1_MB24_LENGTH)
-#define pCAN1_MB24_TIMESTAMP ((volatile unsigned short *)CAN1_MB24_TIMESTAMP)
-#define pCAN1_MB24_ID0 ((volatile unsigned short *)CAN1_MB24_ID0)
-#define pCAN1_MB24_ID1 ((volatile unsigned short *)CAN1_MB24_ID1)
-#define pCAN1_MB25_DATA0 ((volatile unsigned short *)CAN1_MB25_DATA0)
-#define pCAN1_MB25_DATA1 ((volatile unsigned short *)CAN1_MB25_DATA1)
-#define pCAN1_MB25_DATA2 ((volatile unsigned short *)CAN1_MB25_DATA2)
-#define pCAN1_MB25_DATA3 ((volatile unsigned short *)CAN1_MB25_DATA3)
-#define pCAN1_MB25_LENGTH ((volatile unsigned short *)CAN1_MB25_LENGTH)
-#define pCAN1_MB25_TIMESTAMP ((volatile unsigned short *)CAN1_MB25_TIMESTAMP)
-#define pCAN1_MB25_ID0 ((volatile unsigned short *)CAN1_MB25_ID0)
-#define pCAN1_MB25_ID1 ((volatile unsigned short *)CAN1_MB25_ID1)
-#define pCAN1_MB26_DATA0 ((volatile unsigned short *)CAN1_MB26_DATA0)
-#define pCAN1_MB26_DATA1 ((volatile unsigned short *)CAN1_MB26_DATA1)
-#define pCAN1_MB26_DATA2 ((volatile unsigned short *)CAN1_MB26_DATA2)
-#define pCAN1_MB26_DATA3 ((volatile unsigned short *)CAN1_MB26_DATA3)
-#define pCAN1_MB26_LENGTH ((volatile unsigned short *)CAN1_MB26_LENGTH)
-#define pCAN1_MB26_TIMESTAMP ((volatile unsigned short *)CAN1_MB26_TIMESTAMP)
-#define pCAN1_MB26_ID0 ((volatile unsigned short *)CAN1_MB26_ID0)
-#define pCAN1_MB26_ID1 ((volatile unsigned short *)CAN1_MB26_ID1)
-#define pCAN1_MB27_DATA0 ((volatile unsigned short *)CAN1_MB27_DATA0)
-#define pCAN1_MB27_DATA1 ((volatile unsigned short *)CAN1_MB27_DATA1)
-#define pCAN1_MB27_DATA2 ((volatile unsigned short *)CAN1_MB27_DATA2)
-#define pCAN1_MB27_DATA3 ((volatile unsigned short *)CAN1_MB27_DATA3)
-#define pCAN1_MB27_LENGTH ((volatile unsigned short *)CAN1_MB27_LENGTH)
-#define pCAN1_MB27_TIMESTAMP ((volatile unsigned short *)CAN1_MB27_TIMESTAMP)
-#define pCAN1_MB27_ID0 ((volatile unsigned short *)CAN1_MB27_ID0)
-#define pCAN1_MB27_ID1 ((volatile unsigned short *)CAN1_MB27_ID1)
-#define pCAN1_MB28_DATA0 ((volatile unsigned short *)CAN1_MB28_DATA0)
-#define pCAN1_MB28_DATA1 ((volatile unsigned short *)CAN1_MB28_DATA1)
-#define pCAN1_MB28_DATA2 ((volatile unsigned short *)CAN1_MB28_DATA2)
-#define pCAN1_MB28_DATA3 ((volatile unsigned short *)CAN1_MB28_DATA3)
-#define pCAN1_MB28_LENGTH ((volatile unsigned short *)CAN1_MB28_LENGTH)
-#define pCAN1_MB28_TIMESTAMP ((volatile unsigned short *)CAN1_MB28_TIMESTAMP)
-#define pCAN1_MB28_ID0 ((volatile unsigned short *)CAN1_MB28_ID0)
-#define pCAN1_MB28_ID1 ((volatile unsigned short *)CAN1_MB28_ID1)
-#define pCAN1_MB29_DATA0 ((volatile unsigned short *)CAN1_MB29_DATA0)
-#define pCAN1_MB29_DATA1 ((volatile unsigned short *)CAN1_MB29_DATA1)
-#define pCAN1_MB29_DATA2 ((volatile unsigned short *)CAN1_MB29_DATA2)
-#define pCAN1_MB29_DATA3 ((volatile unsigned short *)CAN1_MB29_DATA3)
-#define pCAN1_MB29_LENGTH ((volatile unsigned short *)CAN1_MB29_LENGTH)
-#define pCAN1_MB29_TIMESTAMP ((volatile unsigned short *)CAN1_MB29_TIMESTAMP)
-#define pCAN1_MB29_ID0 ((volatile unsigned short *)CAN1_MB29_ID0)
-#define pCAN1_MB29_ID1 ((volatile unsigned short *)CAN1_MB29_ID1)
-#define pCAN1_MB30_DATA0 ((volatile unsigned short *)CAN1_MB30_DATA0)
-#define pCAN1_MB30_DATA1 ((volatile unsigned short *)CAN1_MB30_DATA1)
-#define pCAN1_MB30_DATA2 ((volatile unsigned short *)CAN1_MB30_DATA2)
-#define pCAN1_MB30_DATA3 ((volatile unsigned short *)CAN1_MB30_DATA3)
-#define pCAN1_MB30_LENGTH ((volatile unsigned short *)CAN1_MB30_LENGTH)
-#define pCAN1_MB30_TIMESTAMP ((volatile unsigned short *)CAN1_MB30_TIMESTAMP)
-#define pCAN1_MB30_ID0 ((volatile unsigned short *)CAN1_MB30_ID0)
-#define pCAN1_MB30_ID1 ((volatile unsigned short *)CAN1_MB30_ID1)
-#define pCAN1_MB31_DATA0 ((volatile unsigned short *)CAN1_MB31_DATA0)
-#define pCAN1_MB31_DATA1 ((volatile unsigned short *)CAN1_MB31_DATA1)
-#define pCAN1_MB31_DATA2 ((volatile unsigned short *)CAN1_MB31_DATA2)
-#define pCAN1_MB31_DATA3 ((volatile unsigned short *)CAN1_MB31_DATA3)
-#define pCAN1_MB31_LENGTH ((volatile unsigned short *)CAN1_MB31_LENGTH)
-#define pCAN1_MB31_TIMESTAMP ((volatile unsigned short *)CAN1_MB31_TIMESTAMP)
-#define pCAN1_MB31_ID0 ((volatile unsigned short *)CAN1_MB31_ID0)
-#define pCAN1_MB31_ID1 ((volatile unsigned short *)CAN1_MB31_ID1)
-
-/* ATAPI Registers */
-
-#define pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
-#define pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
-#define pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
-#define pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
-#define pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
-#define pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
-#define pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
-#define pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
-#define pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
-#define pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
-#define pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
-#define pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
-#define pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
-#define pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
-#define pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
-#define pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
-#define pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
-#define pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
-#define pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
-#define pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
-#define pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
-#define pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
-#define pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
-#define pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
-#define pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
-
-/* SDH Registers */
-
-#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
-#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
-#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
-#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
-#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
-#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
-#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
-#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
-#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
-#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
-#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
-#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
-#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
-#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
-#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
-#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
-#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
-#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
-#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
-#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
-#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
-#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
-#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
-#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
-#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
-#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
-#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
-#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
-#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
-#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
-#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
-
-/* HOST Port Registers */
-
-#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
-#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
-#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
-
-/* USB Control Registers */
-
-#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
-#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
-#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
-#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
-#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
-#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
-#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
-#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
-#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
-#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
-#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
-#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
-#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
-
-/* USB Packet Control Registers */
-
-#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
-#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
-#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
-#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
-#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
-#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
-#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
-#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
-#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
-#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
-#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
-#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
-#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
-
-/* USB Endpoint FIFO Registers */
-
-#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
-#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
-#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
-#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
-#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
-#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
-#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
-#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
-
-/* USB OTG Control Registers */
-
-#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
-#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
-#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
-
-/* USB Phy Control Registers */
-
-#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
-#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
-#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
-#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
-#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
-#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
-#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
-#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
-
-/* USB Endpoint 0 Control Registers */
-
-#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
-#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
-#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
-#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
-#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
-#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
-#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
-#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
-#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
-
-/* USB Endpoint 1 Control Registers */
-
-#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
-#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
-#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
-#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
-#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
-#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
-#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
-#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
-#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
-#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
-
-/* USB Endpoint 2 Control Registers */
-
-#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
-#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
-#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
-#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
-#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
-#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
-#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
-#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
-#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
-#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
-
-/* USB Endpoint 3 Control Registers */
-
-#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
-#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
-#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
-#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
-#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
-#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
-#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
-#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
-#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
-#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
-
-/* USB Endpoint 4 Control Registers */
-
-#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
-#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
-#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
-#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
-#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
-#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
-#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
-#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
-#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
-#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
-
-/* USB Endpoint 5 Control Registers */
-
-#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
-#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
-#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
-#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
-#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
-#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
-#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
-#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
-#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
-#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
-
-/* USB Endpoint 6 Control Registers */
-
-#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
-#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
-#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
-#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
-#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
-#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
-#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
-#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
-#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
-#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
-
-/* USB Endpoint 7 Control Registers */
-
-#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
-#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
-#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
-#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
-#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
-#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
-#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
-#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
-#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
-#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
-#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
-#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
-
-/* USB Channel 0 Config Registers */
-
-#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
-#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
-#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
-#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
-#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
-
-/* USB Channel 1 Config Registers */
-
-#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
-#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
-#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
-#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
-#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
-
-/* USB Channel 2 Config Registers */
-
-#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
-#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
-#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
-#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
-#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
-
-/* USB Channel 3 Config Registers */
-
-#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
-#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
-#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
-#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
-#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
-
-/* USB Channel 4 Config Registers */
-
-#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
-#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
-#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
-#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
-#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
-
-/* USB Channel 5 Config Registers */
-
-#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
-#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
-#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
-#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
-#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
-
-/* USB Channel 6 Config Registers */
-
-#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
-#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
-#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
-#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
-#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
-
-/* USB Channel 7 Config Registers */
-
-#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
-#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
-#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
-#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
-#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
-
-/* Keypad Registers */
-
-#define pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
-#define pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
-#define pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
-#define pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
-#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
-#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
-#define pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
-#define pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
-#define pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
-#define pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
-#define pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
-#define pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
-#define pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
-#define pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
-#define pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
-#define pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
-#define pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
-#define pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
-#define pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
-#define pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
-#define pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
-#define pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
-#define pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
-#define pPIXC_TC ((volatile unsigned long *)PIXC_TC)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF549_H */
diff --git a/libgloss/bfin/include/cdefBF549M.h b/libgloss/bfin/include/cdefBF549M.h
deleted file mode 100644
index c378ce3..0000000
--- a/libgloss/bfin/include/cdefBF549M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF549M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps to the cdef for BF549 unless anything
-** is required to change.
-**
-************************************************************************************/
-
-#ifndef _CDEF_BF549M_H
-#define _CDEF_BF549M_H
-
-#include <cdefBF549.h>
-
-#endif /* _CDEF_BF549M_H */
diff --git a/libgloss/bfin/include/cdefBF54x_base.h b/libgloss/bfin/include/cdefBF54x_base.h
deleted file mode 100644
index 62388b9..0000000
--- a/libgloss/bfin/include/cdefBF54x_base.h
+++ /dev/null
@@ -1,1519 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF54x_base.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF54x peripherals.
-**
-***************************************************************/
-
-#ifndef _CDEF_BF54X_H
-#define _CDEF_BF54X_H
-
-#include <defBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/* ************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF54x */
-/* ************************************************************** */
-
-/* PLL Registers */
-
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-
-/* Debug/MP/Emulation Registers (0xFFC00014 - 0xFFC00014) */
-
-#define pCHIPID ((volatile unsigned long *)CHIPID)
-
-/* System Reset and Interrupt Controller (0xFFC00100 - 0xFFC00104) */
-
-#define pSWRST ((volatile unsigned short *)SWRST)
-#define pSYSCR ((volatile unsigned short *)SYSCR)
-
-/* SIC Registers */
-
-#define pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0)
-#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
-#define pSIC_IMASK2 ((volatile unsigned long *)SIC_IMASK2)
-#define pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0)
-#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
-#define pSIC_ISR2 ((volatile unsigned long *)SIC_ISR2)
-#define pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0)
-#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
-#define pSIC_IWR2 ((volatile unsigned long *)SIC_IWR2)
-#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
-#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
-#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
-#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
-#define pSIC_IAR7 ((volatile unsigned long *)SIC_IAR7)
-#define pSIC_IAR8 ((volatile unsigned long *)SIC_IAR8)
-#define pSIC_IAR9 ((volatile unsigned long *)SIC_IAR9)
-#define pSIC_IAR10 ((volatile unsigned long *)SIC_IAR10)
-#define pSIC_IAR11 ((volatile unsigned long *)SIC_IAR11)
-
-/* Watchdog Timer Registers */
-
-#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
-#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
-#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
-
-/* RTC Registers */
-
-#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
-#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
-#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
-#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
-#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
-#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
-
-/* UART0 Registers */
-
-#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
-#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
-#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
-#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
-#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
-#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
-#define pUART0_MSR ((volatile unsigned short *)UART0_MSR)
-#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
-#define pUART0_IER_SET ((volatile unsigned short *)UART0_IER_SET)
-#define pUART0_IER_CLEAR ((volatile unsigned short *)UART0_IER_CLEAR)
-#define pUART0_THR ((volatile unsigned short *)UART0_THR)
-#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
-
-/* SPI0 Registers */
-
-#define pSPI0_CTL ((volatile unsigned short *)SPI0_CTL)
-#define pSPI0_FLG ((volatile unsigned short *)SPI0_FLG)
-#define pSPI0_STAT ((volatile unsigned short *)SPI0_STAT)
-#define pSPI0_TDBR ((volatile unsigned short *)SPI0_TDBR)
-#define pSPI0_RDBR ((volatile unsigned short *)SPI0_RDBR)
-#define pSPI0_BAUD ((volatile unsigned short *)SPI0_BAUD)
-#define pSPI0_SHADOW ((volatile unsigned short *)SPI0_SHADOW)
-
-/* Timer Group of 3 registers are not defined in the shared file because they are not available on the ADSP-BF542 processor */
-
-/* Two Wire Interface Registers (TWI0) */
-
-#define pTWI0_CLKDIV ((volatile unsigned short *)TWI0_CLKDIV)
-#define pTWI0_CONTROL ((volatile unsigned short *)TWI0_CONTROL)
-#define pTWI0_SLAVE_CTL ((volatile unsigned short *)TWI0_SLAVE_CTL)
-#define pTWI0_SLAVE_STAT ((volatile unsigned short *)TWI0_SLAVE_STAT)
-#define pTWI0_SLAVE_ADDR ((volatile unsigned short *)TWI0_SLAVE_ADDR)
-#define pTWI0_MASTER_CTL ((volatile unsigned short *)TWI0_MASTER_CTL)
-#define pTWI0_MASTER_STAT ((volatile unsigned short *)TWI0_MASTER_STAT)
-#define pTWI0_MASTER_ADDR ((volatile unsigned short *)TWI0_MASTER_ADDR)
-#define pTWI0_INT_STAT ((volatile unsigned short *)TWI0_INT_STAT)
-#define pTWI0_INT_MASK ((volatile unsigned short *)TWI0_INT_MASK)
-#define pTWI0_FIFO_CTL ((volatile unsigned short *)TWI0_FIFO_CTL)
-#define pTWI0_FIFO_STAT ((volatile unsigned short *)TWI0_FIFO_STAT)
-#define pTWI0_XMT_DATA8 ((volatile unsigned short *)TWI0_XMT_DATA8)
-#define pTWI0_XMT_DATA16 ((volatile unsigned short *)TWI0_XMT_DATA16)
-#define pTWI0_RCV_DATA8 ((volatile unsigned short *)TWI0_RCV_DATA8)
-#define pTWI0_RCV_DATA16 ((volatile unsigned short *)TWI0_RCV_DATA16)
-
-/* SPORT0 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
-
-/* SPORT1 Registers */
-
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-
-/* Asynchronous Memory Control Registers */
-
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-#define pEBIU_MBSCTL ((volatile unsigned long *)EBIU_MBSCTL)
-#define pEBIU_ARBSTAT ((volatile unsigned long *)EBIU_ARBSTAT)
-#define pEBIU_MODE ((volatile unsigned long *)EBIU_MODE)
-#define pEBIU_FCTL ((volatile unsigned long *)EBIU_FCTL)
-
-/* DDR Memory Control Registers */
-
-#define pEBIU_DDRCTL0 ((volatile unsigned long *)EBIU_DDRCTL0)
-#define pEBIU_DDRCTL1 ((volatile unsigned long *)EBIU_DDRCTL1)
-#define pEBIU_DDRCTL2 ((volatile unsigned long *)EBIU_DDRCTL2)
-#define pEBIU_DDRCTL3 ((volatile unsigned long *)EBIU_DDRCTL3)
-#define pEBIU_DDRQUE ((volatile unsigned long *)EBIU_DDRQUE)
-#define pEBIU_ERRADD ((void *volatile *)EBIU_ERRADD)
-#define pEBIU_ERRMST ((volatile unsigned short *)EBIU_ERRMST)
-#define pEBIU_RSTCTL ((volatile unsigned short *)EBIU_RSTCTL)
-
-/* DDR BankRead and Write Count Registers */
-
-#define pEBIU_DDRBRC0 ((volatile unsigned long *)EBIU_DDRBRC0)
-#define pEBIU_DDRBRC1 ((volatile unsigned long *)EBIU_DDRBRC1)
-#define pEBIU_DDRBRC2 ((volatile unsigned long *)EBIU_DDRBRC2)
-#define pEBIU_DDRBRC3 ((volatile unsigned long *)EBIU_DDRBRC3)
-#define pEBIU_DDRBRC4 ((volatile unsigned long *)EBIU_DDRBRC4)
-#define pEBIU_DDRBRC5 ((volatile unsigned long *)EBIU_DDRBRC5)
-#define pEBIU_DDRBRC6 ((volatile unsigned long *)EBIU_DDRBRC6)
-#define pEBIU_DDRBRC7 ((volatile unsigned long *)EBIU_DDRBRC7)
-#define pEBIU_DDRBWC0 ((volatile unsigned long *)EBIU_DDRBWC0)
-#define pEBIU_DDRBWC1 ((volatile unsigned long *)EBIU_DDRBWC1)
-#define pEBIU_DDRBWC2 ((volatile unsigned long *)EBIU_DDRBWC2)
-#define pEBIU_DDRBWC3 ((volatile unsigned long *)EBIU_DDRBWC3)
-#define pEBIU_DDRBWC4 ((volatile unsigned long *)EBIU_DDRBWC4)
-#define pEBIU_DDRBWC5 ((volatile unsigned long *)EBIU_DDRBWC5)
-#define pEBIU_DDRBWC6 ((volatile unsigned long *)EBIU_DDRBWC6)
-#define pEBIU_DDRBWC7 ((volatile unsigned long *)EBIU_DDRBWC7)
-#define pEBIU_DDRACCT ((volatile unsigned long *)EBIU_DDRACCT)
-#define pEBIU_DDRTACT ((volatile unsigned long *)EBIU_DDRTACT)
-#define pEBIU_DDRARCT ((volatile unsigned long *)EBIU_DDRARCT)
-#define pEBIU_DDRGC0 ((volatile unsigned long *)EBIU_DDRGC0)
-#define pEBIU_DDRGC1 ((volatile unsigned long *)EBIU_DDRGC1)
-#define pEBIU_DDRGC2 ((volatile unsigned long *)EBIU_DDRGC2)
-#define pEBIU_DDRGC3 ((volatile unsigned long *)EBIU_DDRGC3)
-#define pEBIU_DDRMCEN ((volatile unsigned long *)EBIU_DDRMCEN)
-#define pEBIU_DDRMCCL ((volatile unsigned long *)EBIU_DDRMCCL)
-
-/* DMAC0 Registers */
-
-#define pDMAC0_TCPER ((volatile unsigned short *)DMAC0_TCPER)
-#define pDMAC0_TCCNT ((volatile unsigned short *)DMAC0_TCCNT)
-
-/* DMA Channel 0 Registers */
-
-#define pDMA0_NEXT_DESC_PTR ((void *volatile *)DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR ((void *volatile *)DMA0_START_ADDR)
-#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
-#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR ((void *volatile *)DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR ((void *volatile *)DMA0_CURR_ADDR)
-#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
-#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
-
-/* DMA Channel 1 Registers */
-
-#define pDMA1_NEXT_DESC_PTR ((void *volatile *)DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR ((void *volatile *)DMA1_START_ADDR)
-#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
-#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR ((void *volatile *)DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR ((void *volatile *)DMA1_CURR_ADDR)
-#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
-#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
-
-/* DMA Channel 2 Registers */
-
-#define pDMA2_NEXT_DESC_PTR ((void *volatile *)DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR ((void *volatile *)DMA2_START_ADDR)
-#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
-#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR ((void *volatile *)DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR ((void *volatile *)DMA2_CURR_ADDR)
-#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
-#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
-
-/* DMA Channel 3 Registers */
-
-#define pDMA3_NEXT_DESC_PTR ((void *volatile *)DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR ((void *volatile *)DMA3_START_ADDR)
-#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
-#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR ((void *volatile *)DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR ((void *volatile *)DMA3_CURR_ADDR)
-#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
-#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
-
-/* DMA Channel 4 Registers */
-
-#define pDMA4_NEXT_DESC_PTR ((void *volatile *)DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR ((void *volatile *)DMA4_START_ADDR)
-#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
-#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR ((void *volatile *)DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR ((void *volatile *)DMA4_CURR_ADDR)
-#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
-#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
-
-/* DMA Channel 5 Registers */
-
-#define pDMA5_NEXT_DESC_PTR ((void *volatile *)DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR ((void *volatile *)DMA5_START_ADDR)
-#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
-#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR ((void *volatile *)DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR ((void *volatile *)DMA5_CURR_ADDR)
-#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
-#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
-
-/* DMA Channel 6 Registers */
-
-#define pDMA6_NEXT_DESC_PTR ((void *volatile *)DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR ((void *volatile *)DMA6_START_ADDR)
-#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
-#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR ((void *volatile *)DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR ((void *volatile *)DMA6_CURR_ADDR)
-#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
-#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
-
-/* DMA Channel 7 Registers */
-
-#define pDMA7_NEXT_DESC_PTR ((void *volatile *)DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR ((void *volatile *)DMA7_START_ADDR)
-#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
-#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR ((void *volatile *)DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR ((void *volatile *)DMA7_CURR_ADDR)
-#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
-#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
-
-/* DMA Channel 8 Registers */
-
-#define pDMA8_NEXT_DESC_PTR ((void *volatile *)DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR ((void *volatile *)DMA8_START_ADDR)
-#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
-#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR ((void *volatile *)DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR ((void *volatile *)DMA8_CURR_ADDR)
-#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
-#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
-
-/* DMA Channel 9 Registers */
-
-#define pDMA9_NEXT_DESC_PTR ((void *volatile *)DMA9_NEXT_DESC_PTR)
-#define pDMA9_START_ADDR ((void *volatile *)DMA9_START_ADDR)
-#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
-#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
-#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
-#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
-#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
-#define pDMA9_CURR_DESC_PTR ((void *volatile *)DMA9_CURR_DESC_PTR)
-#define pDMA9_CURR_ADDR ((void *volatile *)DMA9_CURR_ADDR)
-#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
-#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
-#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
-#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
-
-/* DMA Channel 10 Registers */
-
-#define pDMA10_NEXT_DESC_PTR ((void *volatile *)DMA10_NEXT_DESC_PTR)
-#define pDMA10_START_ADDR ((void *volatile *)DMA10_START_ADDR)
-#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
-#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
-#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
-#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
-#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
-#define pDMA10_CURR_DESC_PTR ((void *volatile *)DMA10_CURR_DESC_PTR)
-#define pDMA10_CURR_ADDR ((void *volatile *)DMA10_CURR_ADDR)
-#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
-#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
-#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
-#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
-
-/* DMA Channel 11 Registers */
-
-#define pDMA11_NEXT_DESC_PTR ((void *volatile *)DMA11_NEXT_DESC_PTR)
-#define pDMA11_START_ADDR ((void *volatile *)DMA11_START_ADDR)
-#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
-#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
-#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
-#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
-#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
-#define pDMA11_CURR_DESC_PTR ((void *volatile *)DMA11_CURR_DESC_PTR)
-#define pDMA11_CURR_ADDR ((void *volatile *)DMA11_CURR_ADDR)
-#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
-#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
-#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
-#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
-
-/* MDMA Stream 0 Registers */
-
-#define pMDMA_D0_NEXT_DESC_PTR ((void *volatile *)MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR ((void *volatile *)MDMA_D0_START_ADDR)
-#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
-#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR ((void *volatile *)MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR ((void *volatile *)MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
-#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_S0_NEXT_DESC_PTR ((void *volatile *)MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR ((void *volatile *)MDMA_S0_START_ADDR)
-#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
-#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR ((void *volatile *)MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR ((void *volatile *)MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
-#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
-
-/* MDMA Stream 1 Registers */
-
-#define pMDMA_D1_NEXT_DESC_PTR ((void *volatile *)MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR ((void *volatile *)MDMA_D1_START_ADDR)
-#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
-#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR ((void *volatile *)MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR ((void *volatile *)MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
-#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_S1_NEXT_DESC_PTR ((void *volatile *)MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR ((void *volatile *)MDMA_S1_START_ADDR)
-#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
-#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR ((void *volatile *)MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR ((void *volatile *)MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
-#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
-
-/* EPPI1 Registers */
-
-#define pEPPI1_STATUS ((volatile unsigned short *)EPPI1_STATUS)
-#define pEPPI1_HCOUNT ((volatile unsigned short *)EPPI1_HCOUNT)
-#define pEPPI1_HDELAY ((volatile unsigned short *)EPPI1_HDELAY)
-#define pEPPI1_VCOUNT ((volatile unsigned short *)EPPI1_VCOUNT)
-#define pEPPI1_VDELAY ((volatile unsigned short *)EPPI1_VDELAY)
-#define pEPPI1_FRAME ((volatile unsigned short *)EPPI1_FRAME)
-#define pEPPI1_LINE ((volatile unsigned short *)EPPI1_LINE)
-#define pEPPI1_CLKDIV ((volatile unsigned short *)EPPI1_CLKDIV)
-#define pEPPI1_CONTROL ((volatile unsigned long *)EPPI1_CONTROL)
-#define pEPPI1_FS1W_HBL ((volatile unsigned long *)EPPI1_FS1W_HBL)
-#define pEPPI1_FS1P_AVPL ((volatile unsigned long *)EPPI1_FS1P_AVPL)
-#define pEPPI1_FS2W_LVB ((volatile unsigned long *)EPPI1_FS2W_LVB)
-#define pEPPI1_FS2P_LAVF ((volatile unsigned long *)EPPI1_FS2P_LAVF)
-#define pEPPI1_CLIP ((volatile unsigned long *)EPPI1_CLIP)
-
-/* Port Interrupt 0 Registers (32-bit) */
-
-#define pPINT0_MASK_SET ((volatile unsigned long *)PINT0_MASK_SET)
-#define pPINT0_MASK_CLEAR ((volatile unsigned long *)PINT0_MASK_CLEAR)
-#define pPINT0_REQUEST ((volatile unsigned long *)PINT0_REQUEST)
-#define pPINT0_ASSIGN ((volatile unsigned long *)PINT0_ASSIGN)
-#define pPINT0_EDGE_SET ((volatile unsigned long *)PINT0_EDGE_SET)
-#define pPINT0_EDGE_CLEAR ((volatile unsigned long *)PINT0_EDGE_CLEAR)
-#define pPINT0_INVERT_SET ((volatile unsigned long *)PINT0_INVERT_SET)
-#define pPINT0_INVERT_CLEAR ((volatile unsigned long *)PINT0_INVERT_CLEAR)
-#define pPINT0_PINSTATE ((volatile unsigned long *)PINT0_PINSTATE)
-#define pPINT0_LATCH ((volatile unsigned long *)PINT0_LATCH)
-
-/* Port Interrupt 1 Registers (32-bit) */
-
-#define pPINT1_MASK_SET ((volatile unsigned long *)PINT1_MASK_SET)
-#define pPINT1_MASK_CLEAR ((volatile unsigned long *)PINT1_MASK_CLEAR)
-#define pPINT1_REQUEST ((volatile unsigned long *)PINT1_REQUEST)
-#define pPINT1_ASSIGN ((volatile unsigned long *)PINT1_ASSIGN)
-#define pPINT1_EDGE_SET ((volatile unsigned long *)PINT1_EDGE_SET)
-#define pPINT1_EDGE_CLEAR ((volatile unsigned long *)PINT1_EDGE_CLEAR)
-#define pPINT1_INVERT_SET ((volatile unsigned long *)PINT1_INVERT_SET)
-#define pPINT1_INVERT_CLEAR ((volatile unsigned long *)PINT1_INVERT_CLEAR)
-#define pPINT1_PINSTATE ((volatile unsigned long *)PINT1_PINSTATE)
-#define pPINT1_LATCH ((volatile unsigned long *)PINT1_LATCH)
-
-/* Port Interrupt 2 Registers (32-bit) */
-
-#define pPINT2_MASK_SET ((volatile unsigned long *)PINT2_MASK_SET)
-#define pPINT2_MASK_CLEAR ((volatile unsigned long *)PINT2_MASK_CLEAR)
-#define pPINT2_REQUEST ((volatile unsigned long *)PINT2_REQUEST)
-#define pPINT2_ASSIGN ((volatile unsigned long *)PINT2_ASSIGN)
-#define pPINT2_EDGE_SET ((volatile unsigned long *)PINT2_EDGE_SET)
-#define pPINT2_EDGE_CLEAR ((volatile unsigned long *)PINT2_EDGE_CLEAR)
-#define pPINT2_INVERT_SET ((volatile unsigned long *)PINT2_INVERT_SET)
-#define pPINT2_INVERT_CLEAR ((volatile unsigned long *)PINT2_INVERT_CLEAR)
-#define pPINT2_PINSTATE ((volatile unsigned long *)PINT2_PINSTATE)
-#define pPINT2_LATCH ((volatile unsigned long *)PINT2_LATCH)
-
-/* Port Interrupt 3 Registers (32-bit) */
-
-#define pPINT3_MASK_SET ((volatile unsigned long *)PINT3_MASK_SET)
-#define pPINT3_MASK_CLEAR ((volatile unsigned long *)PINT3_MASK_CLEAR)
-#define pPINT3_REQUEST ((volatile unsigned long *)PINT3_REQUEST)
-#define pPINT3_ASSIGN ((volatile unsigned long *)PINT3_ASSIGN)
-#define pPINT3_EDGE_SET ((volatile unsigned long *)PINT3_EDGE_SET)
-#define pPINT3_EDGE_CLEAR ((volatile unsigned long *)PINT3_EDGE_CLEAR)
-#define pPINT3_INVERT_SET ((volatile unsigned long *)PINT3_INVERT_SET)
-#define pPINT3_INVERT_CLEAR ((volatile unsigned long *)PINT3_INVERT_CLEAR)
-#define pPINT3_PINSTATE ((volatile unsigned long *)PINT3_PINSTATE)
-#define pPINT3_LATCH ((volatile unsigned long *)PINT3_LATCH)
-
-/* Port A Registers */
-
-#define pPORTA_FER ((volatile unsigned short *)PORTA_FER)
-#define pPORTA ((volatile unsigned short *)PORTA)
-#define pPORTA_SET ((volatile unsigned short *)PORTA_SET)
-#define pPORTA_CLEAR ((volatile unsigned short *)PORTA_CLEAR)
-#define pPORTA_DIR_SET ((volatile unsigned short *)PORTA_DIR_SET)
-#define pPORTA_DIR_CLEAR ((volatile unsigned short *)PORTA_DIR_CLEAR)
-#define pPORTA_INEN ((volatile unsigned short *)PORTA_INEN)
-#define pPORTA_MUX ((volatile unsigned long *)PORTA_MUX)
-
-/* Port B Registers */
-
-#define pPORTB_FER ((volatile unsigned short *)PORTB_FER)
-#define pPORTB ((volatile unsigned short *)PORTB)
-#define pPORTB_SET ((volatile unsigned short *)PORTB_SET)
-#define pPORTB_CLEAR ((volatile unsigned short *)PORTB_CLEAR)
-#define pPORTB_DIR_SET ((volatile unsigned short *)PORTB_DIR_SET)
-#define pPORTB_DIR_CLEAR ((volatile unsigned short *)PORTB_DIR_CLEAR)
-#define pPORTB_INEN ((volatile unsigned short *)PORTB_INEN)
-#define pPORTB_MUX ((volatile unsigned long *)PORTB_MUX)
-
-/* Port C Registers */
-
-#define pPORTC_FER ((volatile unsigned short *)PORTC_FER)
-#define pPORTC ((volatile unsigned short *)PORTC)
-#define pPORTC_SET ((volatile unsigned short *)PORTC_SET)
-#define pPORTC_CLEAR ((volatile unsigned short *)PORTC_CLEAR)
-#define pPORTC_DIR_SET ((volatile unsigned short *)PORTC_DIR_SET)
-#define pPORTC_DIR_CLEAR ((volatile unsigned short *)PORTC_DIR_CLEAR)
-#define pPORTC_INEN ((volatile unsigned short *)PORTC_INEN)
-#define pPORTC_MUX ((volatile unsigned long *)PORTC_MUX)
-
-/* Port D Registers */
-
-#define pPORTD_FER ((volatile unsigned short *)PORTD_FER)
-#define pPORTD ((volatile unsigned short *)PORTD)
-#define pPORTD_SET ((volatile unsigned short *)PORTD_SET)
-#define pPORTD_CLEAR ((volatile unsigned short *)PORTD_CLEAR)
-#define pPORTD_DIR_SET ((volatile unsigned short *)PORTD_DIR_SET)
-#define pPORTD_DIR_CLEAR ((volatile unsigned short *)PORTD_DIR_CLEAR)
-#define pPORTD_INEN ((volatile unsigned short *)PORTD_INEN)
-#define pPORTD_MUX ((volatile unsigned long *)PORTD_MUX)
-
-/* Port E Registers */
-
-#define pPORTE_FER ((volatile unsigned short *)PORTE_FER)
-#define pPORTE ((volatile unsigned short *)PORTE)
-#define pPORTE_SET ((volatile unsigned short *)PORTE_SET)
-#define pPORTE_CLEAR ((volatile unsigned short *)PORTE_CLEAR)
-#define pPORTE_DIR_SET ((volatile unsigned short *)PORTE_DIR_SET)
-#define pPORTE_DIR_CLEAR ((volatile unsigned short *)PORTE_DIR_CLEAR)
-#define pPORTE_INEN ((volatile unsigned short *)PORTE_INEN)
-#define pPORTE_MUX ((volatile unsigned long *)PORTE_MUX)
-
-/* Port F Registers */
-
-#define pPORTF_FER ((volatile unsigned short *)PORTF_FER)
-#define pPORTF ((volatile unsigned short *)PORTF)
-#define pPORTF_SET ((volatile unsigned short *)PORTF_SET)
-#define pPORTF_CLEAR ((volatile unsigned short *)PORTF_CLEAR)
-#define pPORTF_DIR_SET ((volatile unsigned short *)PORTF_DIR_SET)
-#define pPORTF_DIR_CLEAR ((volatile unsigned short *)PORTF_DIR_CLEAR)
-#define pPORTF_INEN ((volatile unsigned short *)PORTF_INEN)
-#define pPORTF_MUX ((volatile unsigned long *)PORTF_MUX)
-
-/* Port G Registers */
-
-#define pPORTG_FER ((volatile unsigned short *)PORTG_FER)
-#define pPORTG ((volatile unsigned short *)PORTG)
-#define pPORTG_SET ((volatile unsigned short *)PORTG_SET)
-#define pPORTG_CLEAR ((volatile unsigned short *)PORTG_CLEAR)
-#define pPORTG_DIR_SET ((volatile unsigned short *)PORTG_DIR_SET)
-#define pPORTG_DIR_CLEAR ((volatile unsigned short *)PORTG_DIR_CLEAR)
-#define pPORTG_INEN ((volatile unsigned short *)PORTG_INEN)
-#define pPORTG_MUX ((volatile unsigned long *)PORTG_MUX)
-
-/* Port H Registers */
-
-#define pPORTH_FER ((volatile unsigned short *)PORTH_FER)
-#define pPORTH ((volatile unsigned short *)PORTH)
-#define pPORTH_SET ((volatile unsigned short *)PORTH_SET)
-#define pPORTH_CLEAR ((volatile unsigned short *)PORTH_CLEAR)
-#define pPORTH_DIR_SET ((volatile unsigned short *)PORTH_DIR_SET)
-#define pPORTH_DIR_CLEAR ((volatile unsigned short *)PORTH_DIR_CLEAR)
-#define pPORTH_INEN ((volatile unsigned short *)PORTH_INEN)
-#define pPORTH_MUX ((volatile unsigned long *)PORTH_MUX)
-
-/* Port I Registers */
-
-#define pPORTI_FER ((volatile unsigned short *)PORTI_FER)
-#define pPORTI ((volatile unsigned short *)PORTI)
-#define pPORTI_SET ((volatile unsigned short *)PORTI_SET)
-#define pPORTI_CLEAR ((volatile unsigned short *)PORTI_CLEAR)
-#define pPORTI_DIR_SET ((volatile unsigned short *)PORTI_DIR_SET)
-#define pPORTI_DIR_CLEAR ((volatile unsigned short *)PORTI_DIR_CLEAR)
-#define pPORTI_INEN ((volatile unsigned short *)PORTI_INEN)
-#define pPORTI_MUX ((volatile unsigned long *)PORTI_MUX)
-
-/* Port J Registers */
-
-#define pPORTJ_FER ((volatile unsigned short *)PORTJ_FER)
-#define pPORTJ ((volatile unsigned short *)PORTJ)
-#define pPORTJ_SET ((volatile unsigned short *)PORTJ_SET)
-#define pPORTJ_CLEAR ((volatile unsigned short *)PORTJ_CLEAR)
-#define pPORTJ_DIR_SET ((volatile unsigned short *)PORTJ_DIR_SET)
-#define pPORTJ_DIR_CLEAR ((volatile unsigned short *)PORTJ_DIR_CLEAR)
-#define pPORTJ_INEN ((volatile unsigned short *)PORTJ_INEN)
-#define pPORTJ_MUX ((volatile unsigned long *)PORTJ_MUX)
-
-/* PWM Timer Registers */
-
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
-#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
-#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
-#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
-#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
-
-/* Timer Group of 8 */
-
-#define pTIMER_ENABLE0 ((volatile unsigned short *)TIMER_ENABLE0)
-#define pTIMER_DISABLE0 ((volatile unsigned short *)TIMER_DISABLE0)
-#define pTIMER_STATUS0 ((volatile unsigned long *)TIMER_STATUS0)
-
-/* DMAC1 Registers */
-
-#define pDMAC1_TCPER ((volatile unsigned short *)DMAC1_TCPER)
-#define pDMAC1_TCCNT ((volatile unsigned short *)DMAC1_TCCNT)
-
-/* DMA Channel 12 Registers */
-
-#define pDMA12_NEXT_DESC_PTR ((void *volatile *)DMA12_NEXT_DESC_PTR)
-#define pDMA12_START_ADDR ((void *volatile *)DMA12_START_ADDR)
-#define pDMA12_CONFIG ((volatile unsigned short *)DMA12_CONFIG)
-#define pDMA12_X_COUNT ((volatile unsigned short *)DMA12_X_COUNT)
-#define pDMA12_X_MODIFY ((volatile signed short *)DMA12_X_MODIFY)
-#define pDMA12_Y_COUNT ((volatile unsigned short *)DMA12_Y_COUNT)
-#define pDMA12_Y_MODIFY ((volatile signed short *)DMA12_Y_MODIFY)
-#define pDMA12_CURR_DESC_PTR ((void *volatile *)DMA12_CURR_DESC_PTR)
-#define pDMA12_CURR_ADDR ((void *volatile *)DMA12_CURR_ADDR)
-#define pDMA12_IRQ_STATUS ((volatile unsigned short *)DMA12_IRQ_STATUS)
-#define pDMA12_PERIPHERAL_MAP ((volatile unsigned short *)DMA12_PERIPHERAL_MAP)
-#define pDMA12_CURR_X_COUNT ((volatile unsigned short *)DMA12_CURR_X_COUNT)
-#define pDMA12_CURR_Y_COUNT ((volatile unsigned short *)DMA12_CURR_Y_COUNT)
-
-/* DMA Channel 13 Registers */
-
-#define pDMA13_NEXT_DESC_PTR ((void *volatile *)DMA13_NEXT_DESC_PTR)
-#define pDMA13_START_ADDR ((void *volatile *)DMA13_START_ADDR)
-#define pDMA13_CONFIG ((volatile unsigned short *)DMA13_CONFIG)
-#define pDMA13_X_COUNT ((volatile unsigned short *)DMA13_X_COUNT)
-#define pDMA13_X_MODIFY ((volatile signed short *)DMA13_X_MODIFY)
-#define pDMA13_Y_COUNT ((volatile unsigned short *)DMA13_Y_COUNT)
-#define pDMA13_Y_MODIFY ((volatile signed short *)DMA13_Y_MODIFY)
-#define pDMA13_CURR_DESC_PTR ((void *volatile *)DMA13_CURR_DESC_PTR)
-#define pDMA13_CURR_ADDR ((void *volatile *)DMA13_CURR_ADDR)
-#define pDMA13_IRQ_STATUS ((volatile unsigned short *)DMA13_IRQ_STATUS)
-#define pDMA13_PERIPHERAL_MAP ((volatile unsigned short *)DMA13_PERIPHERAL_MAP)
-#define pDMA13_CURR_X_COUNT ((volatile unsigned short *)DMA13_CURR_X_COUNT)
-#define pDMA13_CURR_Y_COUNT ((volatile unsigned short *)DMA13_CURR_Y_COUNT)
-
-/* DMA Channel 14 Registers */
-
-#define pDMA14_NEXT_DESC_PTR ((void *volatile *)DMA14_NEXT_DESC_PTR)
-#define pDMA14_START_ADDR ((void *volatile *)DMA14_START_ADDR)
-#define pDMA14_CONFIG ((volatile unsigned short *)DMA14_CONFIG)
-#define pDMA14_X_COUNT ((volatile unsigned short *)DMA14_X_COUNT)
-#define pDMA14_X_MODIFY ((volatile signed short *)DMA14_X_MODIFY)
-#define pDMA14_Y_COUNT ((volatile unsigned short *)DMA14_Y_COUNT)
-#define pDMA14_Y_MODIFY ((volatile signed short *)DMA14_Y_MODIFY)
-#define pDMA14_CURR_DESC_PTR ((void *volatile *)DMA14_CURR_DESC_PTR)
-#define pDMA14_CURR_ADDR ((void *volatile *)DMA14_CURR_ADDR)
-#define pDMA14_IRQ_STATUS ((volatile unsigned short *)DMA14_IRQ_STATUS)
-#define pDMA14_PERIPHERAL_MAP ((volatile unsigned short *)DMA14_PERIPHERAL_MAP)
-#define pDMA14_CURR_X_COUNT ((volatile unsigned short *)DMA14_CURR_X_COUNT)
-#define pDMA14_CURR_Y_COUNT ((volatile unsigned short *)DMA14_CURR_Y_COUNT)
-
-/* DMA Channel 15 Registers */
-
-#define pDMA15_NEXT_DESC_PTR ((void *volatile *)DMA15_NEXT_DESC_PTR)
-#define pDMA15_START_ADDR ((void *volatile *)DMA15_START_ADDR)
-#define pDMA15_CONFIG ((volatile unsigned short *)DMA15_CONFIG)
-#define pDMA15_X_COUNT ((volatile unsigned short *)DMA15_X_COUNT)
-#define pDMA15_X_MODIFY ((volatile signed short *)DMA15_X_MODIFY)
-#define pDMA15_Y_COUNT ((volatile unsigned short *)DMA15_Y_COUNT)
-#define pDMA15_Y_MODIFY ((volatile signed short *)DMA15_Y_MODIFY)
-#define pDMA15_CURR_DESC_PTR ((void *volatile *)DMA15_CURR_DESC_PTR)
-#define pDMA15_CURR_ADDR ((void *volatile *)DMA15_CURR_ADDR)
-#define pDMA15_IRQ_STATUS ((volatile unsigned short *)DMA15_IRQ_STATUS)
-#define pDMA15_PERIPHERAL_MAP ((volatile unsigned short *)DMA15_PERIPHERAL_MAP)
-#define pDMA15_CURR_X_COUNT ((volatile unsigned short *)DMA15_CURR_X_COUNT)
-#define pDMA15_CURR_Y_COUNT ((volatile unsigned short *)DMA15_CURR_Y_COUNT)
-
-/* DMA Channel 16 Registers */
-
-#define pDMA16_NEXT_DESC_PTR ((void *volatile *)DMA16_NEXT_DESC_PTR)
-#define pDMA16_START_ADDR ((void *volatile *)DMA16_START_ADDR)
-#define pDMA16_CONFIG ((volatile unsigned short *)DMA16_CONFIG)
-#define pDMA16_X_COUNT ((volatile unsigned short *)DMA16_X_COUNT)
-#define pDMA16_X_MODIFY ((volatile signed short *)DMA16_X_MODIFY)
-#define pDMA16_Y_COUNT ((volatile unsigned short *)DMA16_Y_COUNT)
-#define pDMA16_Y_MODIFY ((volatile signed short *)DMA16_Y_MODIFY)
-#define pDMA16_CURR_DESC_PTR ((void *volatile *)DMA16_CURR_DESC_PTR)
-#define pDMA16_CURR_ADDR ((void *volatile *)DMA16_CURR_ADDR)
-#define pDMA16_IRQ_STATUS ((volatile unsigned short *)DMA16_IRQ_STATUS)
-#define pDMA16_PERIPHERAL_MAP ((volatile unsigned short *)DMA16_PERIPHERAL_MAP)
-#define pDMA16_CURR_X_COUNT ((volatile unsigned short *)DMA16_CURR_X_COUNT)
-#define pDMA16_CURR_Y_COUNT ((volatile unsigned short *)DMA16_CURR_Y_COUNT)
-
-/* DMA Channel 17 Registers */
-
-#define pDMA17_NEXT_DESC_PTR ((void *volatile *)DMA17_NEXT_DESC_PTR)
-#define pDMA17_START_ADDR ((void *volatile *)DMA17_START_ADDR)
-#define pDMA17_CONFIG ((volatile unsigned short *)DMA17_CONFIG)
-#define pDMA17_X_COUNT ((volatile unsigned short *)DMA17_X_COUNT)
-#define pDMA17_X_MODIFY ((volatile signed short *)DMA17_X_MODIFY)
-#define pDMA17_Y_COUNT ((volatile unsigned short *)DMA17_Y_COUNT)
-#define pDMA17_Y_MODIFY ((volatile signed short *)DMA17_Y_MODIFY)
-#define pDMA17_CURR_DESC_PTR ((void *volatile *)DMA17_CURR_DESC_PTR)
-#define pDMA17_CURR_ADDR ((void *volatile *)DMA17_CURR_ADDR)
-#define pDMA17_IRQ_STATUS ((volatile unsigned short *)DMA17_IRQ_STATUS)
-#define pDMA17_PERIPHERAL_MAP ((volatile unsigned short *)DMA17_PERIPHERAL_MAP)
-#define pDMA17_CURR_X_COUNT ((volatile unsigned short *)DMA17_CURR_X_COUNT)
-#define pDMA17_CURR_Y_COUNT ((volatile unsigned short *)DMA17_CURR_Y_COUNT)
-
-/* DMA Channel 18 Registers */
-
-#define pDMA18_NEXT_DESC_PTR ((void *volatile *)DMA18_NEXT_DESC_PTR)
-#define pDMA18_START_ADDR ((void *volatile *)DMA18_START_ADDR)
-#define pDMA18_CONFIG ((volatile unsigned short *)DMA18_CONFIG)
-#define pDMA18_X_COUNT ((volatile unsigned short *)DMA18_X_COUNT)
-#define pDMA18_X_MODIFY ((volatile signed short *)DMA18_X_MODIFY)
-#define pDMA18_Y_COUNT ((volatile unsigned short *)DMA18_Y_COUNT)
-#define pDMA18_Y_MODIFY ((volatile signed short *)DMA18_Y_MODIFY)
-#define pDMA18_CURR_DESC_PTR ((void *volatile *)DMA18_CURR_DESC_PTR)
-#define pDMA18_CURR_ADDR ((void *volatile *)DMA18_CURR_ADDR)
-#define pDMA18_IRQ_STATUS ((volatile unsigned short *)DMA18_IRQ_STATUS)
-#define pDMA18_PERIPHERAL_MAP ((volatile unsigned short *)DMA18_PERIPHERAL_MAP)
-#define pDMA18_CURR_X_COUNT ((volatile unsigned short *)DMA18_CURR_X_COUNT)
-#define pDMA18_CURR_Y_COUNT ((volatile unsigned short *)DMA18_CURR_Y_COUNT)
-
-/* DMA Channel 19 Registers */
-
-#define pDMA19_NEXT_DESC_PTR ((void *volatile *)DMA19_NEXT_DESC_PTR)
-#define pDMA19_START_ADDR ((void *volatile *)DMA19_START_ADDR)
-#define pDMA19_CONFIG ((volatile unsigned short *)DMA19_CONFIG)
-#define pDMA19_X_COUNT ((volatile unsigned short *)DMA19_X_COUNT)
-#define pDMA19_X_MODIFY ((volatile signed short *)DMA19_X_MODIFY)
-#define pDMA19_Y_COUNT ((volatile unsigned short *)DMA19_Y_COUNT)
-#define pDMA19_Y_MODIFY ((volatile signed short *)DMA19_Y_MODIFY)
-#define pDMA19_CURR_DESC_PTR ((void *volatile *)DMA19_CURR_DESC_PTR)
-#define pDMA19_CURR_ADDR ((void *volatile *)DMA19_CURR_ADDR)
-#define pDMA19_IRQ_STATUS ((volatile unsigned short *)DMA19_IRQ_STATUS)
-#define pDMA19_PERIPHERAL_MAP ((volatile unsigned short *)DMA19_PERIPHERAL_MAP)
-#define pDMA19_CURR_X_COUNT ((volatile unsigned short *)DMA19_CURR_X_COUNT)
-#define pDMA19_CURR_Y_COUNT ((volatile unsigned short *)DMA19_CURR_Y_COUNT)
-
-/* DMA Channel 20 Registers */
-
-#define pDMA20_NEXT_DESC_PTR ((void *volatile *)DMA20_NEXT_DESC_PTR)
-#define pDMA20_START_ADDR ((void *volatile *)DMA20_START_ADDR)
-#define pDMA20_CONFIG ((volatile unsigned short *)DMA20_CONFIG)
-#define pDMA20_X_COUNT ((volatile unsigned short *)DMA20_X_COUNT)
-#define pDMA20_X_MODIFY ((volatile signed short *)DMA20_X_MODIFY)
-#define pDMA20_Y_COUNT ((volatile unsigned short *)DMA20_Y_COUNT)
-#define pDMA20_Y_MODIFY ((volatile signed short *)DMA20_Y_MODIFY)
-#define pDMA20_CURR_DESC_PTR ((void *volatile *)DMA20_CURR_DESC_PTR)
-#define pDMA20_CURR_ADDR ((void *volatile *)DMA20_CURR_ADDR)
-#define pDMA20_IRQ_STATUS ((volatile unsigned short *)DMA20_IRQ_STATUS)
-#define pDMA20_PERIPHERAL_MAP ((volatile unsigned short *)DMA20_PERIPHERAL_MAP)
-#define pDMA20_CURR_X_COUNT ((volatile unsigned short *)DMA20_CURR_X_COUNT)
-#define pDMA20_CURR_Y_COUNT ((volatile unsigned short *)DMA20_CURR_Y_COUNT)
-
-/* DMA Channel 21 Registers */
-
-#define pDMA21_NEXT_DESC_PTR ((void *volatile *)DMA21_NEXT_DESC_PTR)
-#define pDMA21_START_ADDR ((void *volatile *)DMA21_START_ADDR)
-#define pDMA21_CONFIG ((volatile unsigned short *)DMA21_CONFIG)
-#define pDMA21_X_COUNT ((volatile unsigned short *)DMA21_X_COUNT)
-#define pDMA21_X_MODIFY ((volatile signed short *)DMA21_X_MODIFY)
-#define pDMA21_Y_COUNT ((volatile unsigned short *)DMA21_Y_COUNT)
-#define pDMA21_Y_MODIFY ((volatile signed short *)DMA21_Y_MODIFY)
-#define pDMA21_CURR_DESC_PTR ((void *volatile *)DMA21_CURR_DESC_PTR)
-#define pDMA21_CURR_ADDR ((void *volatile *)DMA21_CURR_ADDR)
-#define pDMA21_IRQ_STATUS ((volatile unsigned short *)DMA21_IRQ_STATUS)
-#define pDMA21_PERIPHERAL_MAP ((volatile unsigned short *)DMA21_PERIPHERAL_MAP)
-#define pDMA21_CURR_X_COUNT ((volatile unsigned short *)DMA21_CURR_X_COUNT)
-#define pDMA21_CURR_Y_COUNT ((volatile unsigned short *)DMA21_CURR_Y_COUNT)
-
-/* DMA Channel 22 Registers */
-
-#define pDMA22_NEXT_DESC_PTR ((void *volatile *)DMA22_NEXT_DESC_PTR)
-#define pDMA22_START_ADDR ((void *volatile *)DMA22_START_ADDR)
-#define pDMA22_CONFIG ((volatile unsigned short *)DMA22_CONFIG)
-#define pDMA22_X_COUNT ((volatile unsigned short *)DMA22_X_COUNT)
-#define pDMA22_X_MODIFY ((volatile signed short *)DMA22_X_MODIFY)
-#define pDMA22_Y_COUNT ((volatile unsigned short *)DMA22_Y_COUNT)
-#define pDMA22_Y_MODIFY ((volatile signed short *)DMA22_Y_MODIFY)
-#define pDMA22_CURR_DESC_PTR ((void *volatile *)DMA22_CURR_DESC_PTR)
-#define pDMA22_CURR_ADDR ((void *volatile *)DMA22_CURR_ADDR)
-#define pDMA22_IRQ_STATUS ((volatile unsigned short *)DMA22_IRQ_STATUS)
-#define pDMA22_PERIPHERAL_MAP ((volatile unsigned short *)DMA22_PERIPHERAL_MAP)
-#define pDMA22_CURR_X_COUNT ((volatile unsigned short *)DMA22_CURR_X_COUNT)
-#define pDMA22_CURR_Y_COUNT ((volatile unsigned short *)DMA22_CURR_Y_COUNT)
-
-/* DMA Channel 23 Registers */
-
-#define pDMA23_NEXT_DESC_PTR ((void *volatile *)DMA23_NEXT_DESC_PTR)
-#define pDMA23_START_ADDR ((void *volatile *)DMA23_START_ADDR)
-#define pDMA23_CONFIG ((volatile unsigned short *)DMA23_CONFIG)
-#define pDMA23_X_COUNT ((volatile unsigned short *)DMA23_X_COUNT)
-#define pDMA23_X_MODIFY ((volatile signed short *)DMA23_X_MODIFY)
-#define pDMA23_Y_COUNT ((volatile unsigned short *)DMA23_Y_COUNT)
-#define pDMA23_Y_MODIFY ((volatile signed short *)DMA23_Y_MODIFY)
-#define pDMA23_CURR_DESC_PTR ((void *volatile *)DMA23_CURR_DESC_PTR)
-#define pDMA23_CURR_ADDR ((void *volatile *)DMA23_CURR_ADDR)
-#define pDMA23_IRQ_STATUS ((volatile unsigned short *)DMA23_IRQ_STATUS)
-#define pDMA23_PERIPHERAL_MAP ((volatile unsigned short *)DMA23_PERIPHERAL_MAP)
-#define pDMA23_CURR_X_COUNT ((volatile unsigned short *)DMA23_CURR_X_COUNT)
-#define pDMA23_CURR_Y_COUNT ((volatile unsigned short *)DMA23_CURR_Y_COUNT)
-
-/* MDMA Stream 2 Registers */
-
-#define pMDMA_D2_NEXT_DESC_PTR ((void *volatile *)MDMA_D2_NEXT_DESC_PTR)
-#define pMDMA_D2_START_ADDR ((void *volatile *)MDMA_D2_START_ADDR)
-#define pMDMA_D2_CONFIG ((volatile unsigned short *)MDMA_D2_CONFIG)
-#define pMDMA_D2_X_COUNT ((volatile unsigned short *)MDMA_D2_X_COUNT)
-#define pMDMA_D2_X_MODIFY ((volatile signed short *)MDMA_D2_X_MODIFY)
-#define pMDMA_D2_Y_COUNT ((volatile unsigned short *)MDMA_D2_Y_COUNT)
-#define pMDMA_D2_Y_MODIFY ((volatile signed short *)MDMA_D2_Y_MODIFY)
-#define pMDMA_D2_CURR_DESC_PTR ((void *volatile *)MDMA_D2_CURR_DESC_PTR)
-#define pMDMA_D2_CURR_ADDR ((void *volatile *)MDMA_D2_CURR_ADDR)
-#define pMDMA_D2_IRQ_STATUS ((volatile unsigned short *)MDMA_D2_IRQ_STATUS)
-#define pMDMA_D2_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D2_PERIPHERAL_MAP)
-#define pMDMA_D2_CURR_X_COUNT ((volatile unsigned short *)MDMA_D2_CURR_X_COUNT)
-#define pMDMA_D2_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D2_CURR_Y_COUNT)
-#define pMDMA_S2_NEXT_DESC_PTR ((void *volatile *)MDMA_S2_NEXT_DESC_PTR)
-#define pMDMA_S2_START_ADDR ((void *volatile *)MDMA_S2_START_ADDR)
-#define pMDMA_S2_CONFIG ((volatile unsigned short *)MDMA_S2_CONFIG)
-#define pMDMA_S2_X_COUNT ((volatile unsigned short *)MDMA_S2_X_COUNT)
-#define pMDMA_S2_X_MODIFY ((volatile signed short *)MDMA_S2_X_MODIFY)
-#define pMDMA_S2_Y_COUNT ((volatile unsigned short *)MDMA_S2_Y_COUNT)
-#define pMDMA_S2_Y_MODIFY ((volatile signed short *)MDMA_S2_Y_MODIFY)
-#define pMDMA_S2_CURR_DESC_PTR ((void *volatile *)MDMA_S2_CURR_DESC_PTR)
-#define pMDMA_S2_CURR_ADDR ((void *volatile *)MDMA_S2_CURR_ADDR)
-#define pMDMA_S2_IRQ_STATUS ((volatile unsigned short *)MDMA_S2_IRQ_STATUS)
-#define pMDMA_S2_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S2_PERIPHERAL_MAP)
-#define pMDMA_S2_CURR_X_COUNT ((volatile unsigned short *)MDMA_S2_CURR_X_COUNT)
-#define pMDMA_S2_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S2_CURR_Y_COUNT)
-
-/* MDMA Stream 3 Registers */
-
-#define pMDMA_D3_NEXT_DESC_PTR ((void *volatile *)MDMA_D3_NEXT_DESC_PTR)
-#define pMDMA_D3_START_ADDR ((void *volatile *)MDMA_D3_START_ADDR)
-#define pMDMA_D3_CONFIG ((volatile unsigned short *)MDMA_D3_CONFIG)
-#define pMDMA_D3_X_COUNT ((volatile unsigned short *)MDMA_D3_X_COUNT)
-#define pMDMA_D3_X_MODIFY ((volatile signed short *)MDMA_D3_X_MODIFY)
-#define pMDMA_D3_Y_COUNT ((volatile unsigned short *)MDMA_D3_Y_COUNT)
-#define pMDMA_D3_Y_MODIFY ((volatile signed short *)MDMA_D3_Y_MODIFY)
-#define pMDMA_D3_CURR_DESC_PTR ((void *volatile *)MDMA_D3_CURR_DESC_PTR)
-#define pMDMA_D3_CURR_ADDR ((void *volatile *)MDMA_D3_CURR_ADDR)
-#define pMDMA_D3_IRQ_STATUS ((volatile unsigned short *)MDMA_D3_IRQ_STATUS)
-#define pMDMA_D3_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D3_PERIPHERAL_MAP)
-#define pMDMA_D3_CURR_X_COUNT ((volatile unsigned short *)MDMA_D3_CURR_X_COUNT)
-#define pMDMA_D3_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D3_CURR_Y_COUNT)
-#define pMDMA_S3_NEXT_DESC_PTR ((void *volatile *)MDMA_S3_NEXT_DESC_PTR)
-#define pMDMA_S3_START_ADDR ((void *volatile *)MDMA_S3_START_ADDR)
-#define pMDMA_S3_CONFIG ((volatile unsigned short *)MDMA_S3_CONFIG)
-#define pMDMA_S3_X_COUNT ((volatile unsigned short *)MDMA_S3_X_COUNT)
-#define pMDMA_S3_X_MODIFY ((volatile signed short *)MDMA_S3_X_MODIFY)
-#define pMDMA_S3_Y_COUNT ((volatile unsigned short *)MDMA_S3_Y_COUNT)
-#define pMDMA_S3_Y_MODIFY ((volatile signed short *)MDMA_S3_Y_MODIFY)
-#define pMDMA_S3_CURR_DESC_PTR ((void *volatile *)MDMA_S3_CURR_DESC_PTR)
-#define pMDMA_S3_CURR_ADDR ((void *volatile *)MDMA_S3_CURR_ADDR)
-#define pMDMA_S3_IRQ_STATUS ((volatile unsigned short *)MDMA_S3_IRQ_STATUS)
-#define pMDMA_S3_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S3_PERIPHERAL_MAP)
-#define pMDMA_S3_CURR_X_COUNT ((volatile unsigned short *)MDMA_S3_CURR_X_COUNT)
-#define pMDMA_S3_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S3_CURR_Y_COUNT)
-
-/* UART1 Registers */
-
-#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
-#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
-#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
-#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
-#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
-#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
-#define pUART1_MSR ((volatile unsigned short *)UART1_MSR)
-#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
-#define pUART1_IER_SET ((volatile unsigned short *)UART1_IER_SET)
-#define pUART1_IER_CLEAR ((volatile unsigned short *)UART1_IER_CLEAR)
-#define pUART1_THR ((volatile unsigned short *)UART1_THR)
-#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
-
-/* UART2 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
-
-/* SPI1 Registers */
-
-#define pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
-#define pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
-#define pSPI1_STAT ((volatile unsigned short *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
-
-/* SPORT2 Registers */
-
-#define pSPORT2_TCR1 ((volatile unsigned short *)SPORT2_TCR1)
-#define pSPORT2_TCR2 ((volatile unsigned short *)SPORT2_TCR2)
-#define pSPORT2_TCLKDIV ((volatile unsigned short *)SPORT2_TCLKDIV)
-#define pSPORT2_TFSDIV ((volatile unsigned short *)SPORT2_TFSDIV)
-#define pSPORT2_TX ((volatile unsigned long *)SPORT2_TX)
-#define pSPORT2_RX ((volatile unsigned long *)SPORT2_RX)
-#define pSPORT2_RCR1 ((volatile unsigned short *)SPORT2_RCR1)
-#define pSPORT2_RCR2 ((volatile unsigned short *)SPORT2_RCR2)
-#define pSPORT2_RCLKDIV ((volatile unsigned short *)SPORT2_RCLKDIV)
-#define pSPORT2_RFSDIV ((volatile unsigned short *)SPORT2_RFSDIV)
-#define pSPORT2_STAT ((volatile unsigned short *)SPORT2_STAT)
-#define pSPORT2_CHNL ((volatile unsigned short *)SPORT2_CHNL)
-#define pSPORT2_MCMC1 ((volatile unsigned short *)SPORT2_MCMC1)
-#define pSPORT2_MCMC2 ((volatile unsigned short *)SPORT2_MCMC2)
-#define pSPORT2_MTCS0 ((volatile unsigned long *)SPORT2_MTCS0)
-#define pSPORT2_MTCS1 ((volatile unsigned long *)SPORT2_MTCS1)
-#define pSPORT2_MTCS2 ((volatile unsigned long *)SPORT2_MTCS2)
-#define pSPORT2_MTCS3 ((volatile unsigned long *)SPORT2_MTCS3)
-#define pSPORT2_MRCS0 ((volatile unsigned long *)SPORT2_MRCS0)
-#define pSPORT2_MRCS1 ((volatile unsigned long *)SPORT2_MRCS1)
-#define pSPORT2_MRCS2 ((volatile unsigned long *)SPORT2_MRCS2)
-#define pSPORT2_MRCS3 ((volatile unsigned long *)SPORT2_MRCS3)
-
-/* SPORT3 Registers */
-
-#define pSPORT3_TCR1 ((volatile unsigned short *)SPORT3_TCR1)
-#define pSPORT3_TCR2 ((volatile unsigned short *)SPORT3_TCR2)
-#define pSPORT3_TCLKDIV ((volatile unsigned short *)SPORT3_TCLKDIV)
-#define pSPORT3_TFSDIV ((volatile unsigned short *)SPORT3_TFSDIV)
-#define pSPORT3_TX ((volatile unsigned long *)SPORT3_TX)
-#define pSPORT3_RX ((volatile unsigned long *)SPORT3_RX)
-#define pSPORT3_RCR1 ((volatile unsigned short *)SPORT3_RCR1)
-#define pSPORT3_RCR2 ((volatile unsigned short *)SPORT3_RCR2)
-#define pSPORT3_RCLKDIV ((volatile unsigned short *)SPORT3_RCLKDIV)
-#define pSPORT3_RFSDIV ((volatile unsigned short *)SPORT3_RFSDIV)
-#define pSPORT3_STAT ((volatile unsigned short *)SPORT3_STAT)
-#define pSPORT3_CHNL ((volatile unsigned short *)SPORT3_CHNL)
-#define pSPORT3_MCMC1 ((volatile unsigned short *)SPORT3_MCMC1)
-#define pSPORT3_MCMC2 ((volatile unsigned short *)SPORT3_MCMC2)
-#define pSPORT3_MTCS0 ((volatile unsigned long *)SPORT3_MTCS0)
-#define pSPORT3_MTCS1 ((volatile unsigned long *)SPORT3_MTCS1)
-#define pSPORT3_MTCS2 ((volatile unsigned long *)SPORT3_MTCS2)
-#define pSPORT3_MTCS3 ((volatile unsigned long *)SPORT3_MTCS3)
-#define pSPORT3_MRCS0 ((volatile unsigned long *)SPORT3_MRCS0)
-#define pSPORT3_MRCS1 ((volatile unsigned long *)SPORT3_MRCS1)
-#define pSPORT3_MRCS2 ((volatile unsigned long *)SPORT3_MRCS2)
-#define pSPORT3_MRCS3 ((volatile unsigned long *)SPORT3_MRCS3)
-
-/* EPPI2 Registers */
-
-#define pEPPI2_STATUS ((volatile unsigned short *)EPPI2_STATUS)
-#define pEPPI2_HCOUNT ((volatile unsigned short *)EPPI2_HCOUNT)
-#define pEPPI2_HDELAY ((volatile unsigned short *)EPPI2_HDELAY)
-#define pEPPI2_VCOUNT ((volatile unsigned short *)EPPI2_VCOUNT)
-#define pEPPI2_VDELAY ((volatile unsigned short *)EPPI2_VDELAY)
-#define pEPPI2_FRAME ((volatile unsigned short *)EPPI2_FRAME)
-#define pEPPI2_LINE ((volatile unsigned short *)EPPI2_LINE)
-#define pEPPI2_CLKDIV ((volatile unsigned short *)EPPI2_CLKDIV)
-#define pEPPI2_CONTROL ((volatile unsigned long *)EPPI2_CONTROL)
-#define pEPPI2_FS1W_HBL ((volatile unsigned long *)EPPI2_FS1W_HBL)
-#define pEPPI2_FS1P_AVPL ((volatile unsigned long *)EPPI2_FS1P_AVPL)
-#define pEPPI2_FS2W_LVB ((volatile unsigned long *)EPPI2_FS2W_LVB)
-#define pEPPI2_FS2P_LAVF ((volatile unsigned long *)EPPI2_FS2P_LAVF)
-#define pEPPI2_CLIP ((volatile unsigned long *)EPPI2_CLIP)
-
-/* CAN Controller 0 Config 1 Registers */
-
-#define pCAN0_MC1 ((volatile unsigned short *)CAN0_MC1)
-#define pCAN0_MD1 ((volatile unsigned short *)CAN0_MD1)
-#define pCAN0_TRS1 ((volatile unsigned short *)CAN0_TRS1)
-#define pCAN0_TRR1 ((volatile unsigned short *)CAN0_TRR1)
-#define pCAN0_TA1 ((volatile unsigned short *)CAN0_TA1)
-#define pCAN0_AA1 ((volatile unsigned short *)CAN0_AA1)
-#define pCAN0_RMP1 ((volatile unsigned short *)CAN0_RMP1)
-#define pCAN0_RML1 ((volatile unsigned short *)CAN0_RML1)
-#define pCAN0_MBTIF1 ((volatile unsigned short *)CAN0_MBTIF1)
-#define pCAN0_MBRIF1 ((volatile unsigned short *)CAN0_MBRIF1)
-#define pCAN0_MBIM1 ((volatile unsigned short *)CAN0_MBIM1)
-#define pCAN0_RFH1 ((volatile unsigned short *)CAN0_RFH1)
-#define pCAN0_OPSS1 ((volatile unsigned short *)CAN0_OPSS1)
-
-/* CAN Controller 0 Config 2 Registers */
-
-#define pCAN0_MC2 ((volatile unsigned short *)CAN0_MC2)
-#define pCAN0_MD2 ((volatile unsigned short *)CAN0_MD2)
-#define pCAN0_TRS2 ((volatile unsigned short *)CAN0_TRS2)
-#define pCAN0_TRR2 ((volatile unsigned short *)CAN0_TRR2)
-#define pCAN0_TA2 ((volatile unsigned short *)CAN0_TA2)
-#define pCAN0_AA2 ((volatile unsigned short *)CAN0_AA2)
-#define pCAN0_RMP2 ((volatile unsigned short *)CAN0_RMP2)
-#define pCAN0_RML2 ((volatile unsigned short *)CAN0_RML2)
-#define pCAN0_MBTIF2 ((volatile unsigned short *)CAN0_MBTIF2)
-#define pCAN0_MBRIF2 ((volatile unsigned short *)CAN0_MBRIF2)
-#define pCAN0_MBIM2 ((volatile unsigned short *)CAN0_MBIM2)
-#define pCAN0_RFH2 ((volatile unsigned short *)CAN0_RFH2)
-#define pCAN0_OPSS2 ((volatile unsigned short *)CAN0_OPSS2)
-
-/* CAN Controller 0 Clock/Interrupt/Counter Registers */
-
-#define pCAN0_CLOCK ((volatile unsigned short *)CAN0_CLOCK)
-#define pCAN0_TIMING ((volatile unsigned short *)CAN0_TIMING)
-#define pCAN0_DEBUG ((volatile unsigned short *)CAN0_DEBUG)
-#define pCAN0_STATUS ((volatile unsigned short *)CAN0_STATUS)
-#define pCAN0_CEC ((volatile unsigned short *)CAN0_CEC)
-#define pCAN0_GIS ((volatile unsigned short *)CAN0_GIS)
-#define pCAN0_GIM ((volatile unsigned short *)CAN0_GIM)
-#define pCAN0_GIF ((volatile unsigned short *)CAN0_GIF)
-#define pCAN0_CONTROL ((volatile unsigned short *)CAN0_CONTROL)
-#define pCAN0_INTR ((volatile unsigned short *)CAN0_INTR)
-#define pCAN0_MBTD ((volatile unsigned short *)CAN0_MBTD)
-#define pCAN0_EWR ((volatile unsigned short *)CAN0_EWR)
-#define pCAN0_ESR ((volatile unsigned short *)CAN0_ESR)
-#define pCAN0_UCCNT ((volatile unsigned short *)CAN0_UCCNT)
-#define pCAN0_UCRC ((volatile unsigned short *)CAN0_UCRC)
-#define pCAN0_UCCNF ((volatile unsigned short *)CAN0_UCCNF)
-
-/* CAN Controller 0 Acceptance Registers */
-
-#define pCAN0_AM00L ((volatile unsigned short *)CAN0_AM00L)
-#define pCAN0_AM00H ((volatile unsigned short *)CAN0_AM00H)
-#define pCAN0_AM01L ((volatile unsigned short *)CAN0_AM01L)
-#define pCAN0_AM01H ((volatile unsigned short *)CAN0_AM01H)
-#define pCAN0_AM02L ((volatile unsigned short *)CAN0_AM02L)
-#define pCAN0_AM02H ((volatile unsigned short *)CAN0_AM02H)
-#define pCAN0_AM03L ((volatile unsigned short *)CAN0_AM03L)
-#define pCAN0_AM03H ((volatile unsigned short *)CAN0_AM03H)
-#define pCAN0_AM04L ((volatile unsigned short *)CAN0_AM04L)
-#define pCAN0_AM04H ((volatile unsigned short *)CAN0_AM04H)
-#define pCAN0_AM05L ((volatile unsigned short *)CAN0_AM05L)
-#define pCAN0_AM05H ((volatile unsigned short *)CAN0_AM05H)
-#define pCAN0_AM06L ((volatile unsigned short *)CAN0_AM06L)
-#define pCAN0_AM06H ((volatile unsigned short *)CAN0_AM06H)
-#define pCAN0_AM07L ((volatile unsigned short *)CAN0_AM07L)
-#define pCAN0_AM07H ((volatile unsigned short *)CAN0_AM07H)
-#define pCAN0_AM08L ((volatile unsigned short *)CAN0_AM08L)
-#define pCAN0_AM08H ((volatile unsigned short *)CAN0_AM08H)
-#define pCAN0_AM09L ((volatile unsigned short *)CAN0_AM09L)
-#define pCAN0_AM09H ((volatile unsigned short *)CAN0_AM09H)
-#define pCAN0_AM10L ((volatile unsigned short *)CAN0_AM10L)
-#define pCAN0_AM10H ((volatile unsigned short *)CAN0_AM10H)
-#define pCAN0_AM11L ((volatile unsigned short *)CAN0_AM11L)
-#define pCAN0_AM11H ((volatile unsigned short *)CAN0_AM11H)
-#define pCAN0_AM12L ((volatile unsigned short *)CAN0_AM12L)
-#define pCAN0_AM12H ((volatile unsigned short *)CAN0_AM12H)
-#define pCAN0_AM13L ((volatile unsigned short *)CAN0_AM13L)
-#define pCAN0_AM13H ((volatile unsigned short *)CAN0_AM13H)
-#define pCAN0_AM14L ((volatile unsigned short *)CAN0_AM14L)
-#define pCAN0_AM14H ((volatile unsigned short *)CAN0_AM14H)
-#define pCAN0_AM15L ((volatile unsigned short *)CAN0_AM15L)
-#define pCAN0_AM15H ((volatile unsigned short *)CAN0_AM15H)
-
-/* CAN Controller 0 Acceptance Registers */
-
-#define pCAN0_AM16L ((volatile unsigned short *)CAN0_AM16L)
-#define pCAN0_AM16H ((volatile unsigned short *)CAN0_AM16H)
-#define pCAN0_AM17L ((volatile unsigned short *)CAN0_AM17L)
-#define pCAN0_AM17H ((volatile unsigned short *)CAN0_AM17H)
-#define pCAN0_AM18L ((volatile unsigned short *)CAN0_AM18L)
-#define pCAN0_AM18H ((volatile unsigned short *)CAN0_AM18H)
-#define pCAN0_AM19L ((volatile unsigned short *)CAN0_AM19L)
-#define pCAN0_AM19H ((volatile unsigned short *)CAN0_AM19H)
-#define pCAN0_AM20L ((volatile unsigned short *)CAN0_AM20L)
-#define pCAN0_AM20H ((volatile unsigned short *)CAN0_AM20H)
-#define pCAN0_AM21L ((volatile unsigned short *)CAN0_AM21L)
-#define pCAN0_AM21H ((volatile unsigned short *)CAN0_AM21H)
-#define pCAN0_AM22L ((volatile unsigned short *)CAN0_AM22L)
-#define pCAN0_AM22H ((volatile unsigned short *)CAN0_AM22H)
-#define pCAN0_AM23L ((volatile unsigned short *)CAN0_AM23L)
-#define pCAN0_AM23H ((volatile unsigned short *)CAN0_AM23H)
-#define pCAN0_AM24L ((volatile unsigned short *)CAN0_AM24L)
-#define pCAN0_AM24H ((volatile unsigned short *)CAN0_AM24H)
-#define pCAN0_AM25L ((volatile unsigned short *)CAN0_AM25L)
-#define pCAN0_AM25H ((volatile unsigned short *)CAN0_AM25H)
-#define pCAN0_AM26L ((volatile unsigned short *)CAN0_AM26L)
-#define pCAN0_AM26H ((volatile unsigned short *)CAN0_AM26H)
-#define pCAN0_AM27L ((volatile unsigned short *)CAN0_AM27L)
-#define pCAN0_AM27H ((volatile unsigned short *)CAN0_AM27H)
-#define pCAN0_AM28L ((volatile unsigned short *)CAN0_AM28L)
-#define pCAN0_AM28H ((volatile unsigned short *)CAN0_AM28H)
-#define pCAN0_AM29L ((volatile unsigned short *)CAN0_AM29L)
-#define pCAN0_AM29H ((volatile unsigned short *)CAN0_AM29H)
-#define pCAN0_AM30L ((volatile unsigned short *)CAN0_AM30L)
-#define pCAN0_AM30H ((volatile unsigned short *)CAN0_AM30H)
-#define pCAN0_AM31L ((volatile unsigned short *)CAN0_AM31L)
-#define pCAN0_AM31H ((volatile unsigned short *)CAN0_AM31H)
-
-/* CAN Controller 0 Mailbox Data Registers */
-
-#define pCAN0_MB00_DATA0 ((volatile unsigned short *)CAN0_MB00_DATA0)
-#define pCAN0_MB00_DATA1 ((volatile unsigned short *)CAN0_MB00_DATA1)
-#define pCAN0_MB00_DATA2 ((volatile unsigned short *)CAN0_MB00_DATA2)
-#define pCAN0_MB00_DATA3 ((volatile unsigned short *)CAN0_MB00_DATA3)
-#define pCAN0_MB00_LENGTH ((volatile unsigned short *)CAN0_MB00_LENGTH)
-#define pCAN0_MB00_TIMESTAMP ((volatile unsigned short *)CAN0_MB00_TIMESTAMP)
-#define pCAN0_MB00_ID0 ((volatile unsigned short *)CAN0_MB00_ID0)
-#define pCAN0_MB00_ID1 ((volatile unsigned short *)CAN0_MB00_ID1)
-#define pCAN0_MB01_DATA0 ((volatile unsigned short *)CAN0_MB01_DATA0)
-#define pCAN0_MB01_DATA1 ((volatile unsigned short *)CAN0_MB01_DATA1)
-#define pCAN0_MB01_DATA2 ((volatile unsigned short *)CAN0_MB01_DATA2)
-#define pCAN0_MB01_DATA3 ((volatile unsigned short *)CAN0_MB01_DATA3)
-#define pCAN0_MB01_LENGTH ((volatile unsigned short *)CAN0_MB01_LENGTH)
-#define pCAN0_MB01_TIMESTAMP ((volatile unsigned short *)CAN0_MB01_TIMESTAMP)
-#define pCAN0_MB01_ID0 ((volatile unsigned short *)CAN0_MB01_ID0)
-#define pCAN0_MB01_ID1 ((volatile unsigned short *)CAN0_MB01_ID1)
-#define pCAN0_MB02_DATA0 ((volatile unsigned short *)CAN0_MB02_DATA0)
-#define pCAN0_MB02_DATA1 ((volatile unsigned short *)CAN0_MB02_DATA1)
-#define pCAN0_MB02_DATA2 ((volatile unsigned short *)CAN0_MB02_DATA2)
-#define pCAN0_MB02_DATA3 ((volatile unsigned short *)CAN0_MB02_DATA3)
-#define pCAN0_MB02_LENGTH ((volatile unsigned short *)CAN0_MB02_LENGTH)
-#define pCAN0_MB02_TIMESTAMP ((volatile unsigned short *)CAN0_MB02_TIMESTAMP)
-#define pCAN0_MB02_ID0 ((volatile unsigned short *)CAN0_MB02_ID0)
-#define pCAN0_MB02_ID1 ((volatile unsigned short *)CAN0_MB02_ID1)
-#define pCAN0_MB03_DATA0 ((volatile unsigned short *)CAN0_MB03_DATA0)
-#define pCAN0_MB03_DATA1 ((volatile unsigned short *)CAN0_MB03_DATA1)
-#define pCAN0_MB03_DATA2 ((volatile unsigned short *)CAN0_MB03_DATA2)
-#define pCAN0_MB03_DATA3 ((volatile unsigned short *)CAN0_MB03_DATA3)
-#define pCAN0_MB03_LENGTH ((volatile unsigned short *)CAN0_MB03_LENGTH)
-#define pCAN0_MB03_TIMESTAMP ((volatile unsigned short *)CAN0_MB03_TIMESTAMP)
-#define pCAN0_MB03_ID0 ((volatile unsigned short *)CAN0_MB03_ID0)
-#define pCAN0_MB03_ID1 ((volatile unsigned short *)CAN0_MB03_ID1)
-#define pCAN0_MB04_DATA0 ((volatile unsigned short *)CAN0_MB04_DATA0)
-#define pCAN0_MB04_DATA1 ((volatile unsigned short *)CAN0_MB04_DATA1)
-#define pCAN0_MB04_DATA2 ((volatile unsigned short *)CAN0_MB04_DATA2)
-#define pCAN0_MB04_DATA3 ((volatile unsigned short *)CAN0_MB04_DATA3)
-#define pCAN0_MB04_LENGTH ((volatile unsigned short *)CAN0_MB04_LENGTH)
-#define pCAN0_MB04_TIMESTAMP ((volatile unsigned short *)CAN0_MB04_TIMESTAMP)
-#define pCAN0_MB04_ID0 ((volatile unsigned short *)CAN0_MB04_ID0)
-#define pCAN0_MB04_ID1 ((volatile unsigned short *)CAN0_MB04_ID1)
-#define pCAN0_MB05_DATA0 ((volatile unsigned short *)CAN0_MB05_DATA0)
-#define pCAN0_MB05_DATA1 ((volatile unsigned short *)CAN0_MB05_DATA1)
-#define pCAN0_MB05_DATA2 ((volatile unsigned short *)CAN0_MB05_DATA2)
-#define pCAN0_MB05_DATA3 ((volatile unsigned short *)CAN0_MB05_DATA3)
-#define pCAN0_MB05_LENGTH ((volatile unsigned short *)CAN0_MB05_LENGTH)
-#define pCAN0_MB05_TIMESTAMP ((volatile unsigned short *)CAN0_MB05_TIMESTAMP)
-#define pCAN0_MB05_ID0 ((volatile unsigned short *)CAN0_MB05_ID0)
-#define pCAN0_MB05_ID1 ((volatile unsigned short *)CAN0_MB05_ID1)
-#define pCAN0_MB06_DATA0 ((volatile unsigned short *)CAN0_MB06_DATA0)
-#define pCAN0_MB06_DATA1 ((volatile unsigned short *)CAN0_MB06_DATA1)
-#define pCAN0_MB06_DATA2 ((volatile unsigned short *)CAN0_MB06_DATA2)
-#define pCAN0_MB06_DATA3 ((volatile unsigned short *)CAN0_MB06_DATA3)
-#define pCAN0_MB06_LENGTH ((volatile unsigned short *)CAN0_MB06_LENGTH)
-#define pCAN0_MB06_TIMESTAMP ((volatile unsigned short *)CAN0_MB06_TIMESTAMP)
-#define pCAN0_MB06_ID0 ((volatile unsigned short *)CAN0_MB06_ID0)
-#define pCAN0_MB06_ID1 ((volatile unsigned short *)CAN0_MB06_ID1)
-#define pCAN0_MB07_DATA0 ((volatile unsigned short *)CAN0_MB07_DATA0)
-#define pCAN0_MB07_DATA1 ((volatile unsigned short *)CAN0_MB07_DATA1)
-#define pCAN0_MB07_DATA2 ((volatile unsigned short *)CAN0_MB07_DATA2)
-#define pCAN0_MB07_DATA3 ((volatile unsigned short *)CAN0_MB07_DATA3)
-#define pCAN0_MB07_LENGTH ((volatile unsigned short *)CAN0_MB07_LENGTH)
-#define pCAN0_MB07_TIMESTAMP ((volatile unsigned short *)CAN0_MB07_TIMESTAMP)
-#define pCAN0_MB07_ID0 ((volatile unsigned short *)CAN0_MB07_ID0)
-#define pCAN0_MB07_ID1 ((volatile unsigned short *)CAN0_MB07_ID1)
-#define pCAN0_MB08_DATA0 ((volatile unsigned short *)CAN0_MB08_DATA0)
-#define pCAN0_MB08_DATA1 ((volatile unsigned short *)CAN0_MB08_DATA1)
-#define pCAN0_MB08_DATA2 ((volatile unsigned short *)CAN0_MB08_DATA2)
-#define pCAN0_MB08_DATA3 ((volatile unsigned short *)CAN0_MB08_DATA3)
-#define pCAN0_MB08_LENGTH ((volatile unsigned short *)CAN0_MB08_LENGTH)
-#define pCAN0_MB08_TIMESTAMP ((volatile unsigned short *)CAN0_MB08_TIMESTAMP)
-#define pCAN0_MB08_ID0 ((volatile unsigned short *)CAN0_MB08_ID0)
-#define pCAN0_MB08_ID1 ((volatile unsigned short *)CAN0_MB08_ID1)
-#define pCAN0_MB09_DATA0 ((volatile unsigned short *)CAN0_MB09_DATA0)
-#define pCAN0_MB09_DATA1 ((volatile unsigned short *)CAN0_MB09_DATA1)
-#define pCAN0_MB09_DATA2 ((volatile unsigned short *)CAN0_MB09_DATA2)
-#define pCAN0_MB09_DATA3 ((volatile unsigned short *)CAN0_MB09_DATA3)
-#define pCAN0_MB09_LENGTH ((volatile unsigned short *)CAN0_MB09_LENGTH)
-#define pCAN0_MB09_TIMESTAMP ((volatile unsigned short *)CAN0_MB09_TIMESTAMP)
-#define pCAN0_MB09_ID0 ((volatile unsigned short *)CAN0_MB09_ID0)
-#define pCAN0_MB09_ID1 ((volatile unsigned short *)CAN0_MB09_ID1)
-#define pCAN0_MB10_DATA0 ((volatile unsigned short *)CAN0_MB10_DATA0)
-#define pCAN0_MB10_DATA1 ((volatile unsigned short *)CAN0_MB10_DATA1)
-#define pCAN0_MB10_DATA2 ((volatile unsigned short *)CAN0_MB10_DATA2)
-#define pCAN0_MB10_DATA3 ((volatile unsigned short *)CAN0_MB10_DATA3)
-#define pCAN0_MB10_LENGTH ((volatile unsigned short *)CAN0_MB10_LENGTH)
-#define pCAN0_MB10_TIMESTAMP ((volatile unsigned short *)CAN0_MB10_TIMESTAMP)
-#define pCAN0_MB10_ID0 ((volatile unsigned short *)CAN0_MB10_ID0)
-#define pCAN0_MB10_ID1 ((volatile unsigned short *)CAN0_MB10_ID1)
-#define pCAN0_MB11_DATA0 ((volatile unsigned short *)CAN0_MB11_DATA0)
-#define pCAN0_MB11_DATA1 ((volatile unsigned short *)CAN0_MB11_DATA1)
-#define pCAN0_MB11_DATA2 ((volatile unsigned short *)CAN0_MB11_DATA2)
-#define pCAN0_MB11_DATA3 ((volatile unsigned short *)CAN0_MB11_DATA3)
-#define pCAN0_MB11_LENGTH ((volatile unsigned short *)CAN0_MB11_LENGTH)
-#define pCAN0_MB11_TIMESTAMP ((volatile unsigned short *)CAN0_MB11_TIMESTAMP)
-#define pCAN0_MB11_ID0 ((volatile unsigned short *)CAN0_MB11_ID0)
-#define pCAN0_MB11_ID1 ((volatile unsigned short *)CAN0_MB11_ID1)
-#define pCAN0_MB12_DATA0 ((volatile unsigned short *)CAN0_MB12_DATA0)
-#define pCAN0_MB12_DATA1 ((volatile unsigned short *)CAN0_MB12_DATA1)
-#define pCAN0_MB12_DATA2 ((volatile unsigned short *)CAN0_MB12_DATA2)
-#define pCAN0_MB12_DATA3 ((volatile unsigned short *)CAN0_MB12_DATA3)
-#define pCAN0_MB12_LENGTH ((volatile unsigned short *)CAN0_MB12_LENGTH)
-#define pCAN0_MB12_TIMESTAMP ((volatile unsigned short *)CAN0_MB12_TIMESTAMP)
-#define pCAN0_MB12_ID0 ((volatile unsigned short *)CAN0_MB12_ID0)
-#define pCAN0_MB12_ID1 ((volatile unsigned short *)CAN0_MB12_ID1)
-#define pCAN0_MB13_DATA0 ((volatile unsigned short *)CAN0_MB13_DATA0)
-#define pCAN0_MB13_DATA1 ((volatile unsigned short *)CAN0_MB13_DATA1)
-#define pCAN0_MB13_DATA2 ((volatile unsigned short *)CAN0_MB13_DATA2)
-#define pCAN0_MB13_DATA3 ((volatile unsigned short *)CAN0_MB13_DATA3)
-#define pCAN0_MB13_LENGTH ((volatile unsigned short *)CAN0_MB13_LENGTH)
-#define pCAN0_MB13_TIMESTAMP ((volatile unsigned short *)CAN0_MB13_TIMESTAMP)
-#define pCAN0_MB13_ID0 ((volatile unsigned short *)CAN0_MB13_ID0)
-#define pCAN0_MB13_ID1 ((volatile unsigned short *)CAN0_MB13_ID1)
-#define pCAN0_MB14_DATA0 ((volatile unsigned short *)CAN0_MB14_DATA0)
-#define pCAN0_MB14_DATA1 ((volatile unsigned short *)CAN0_MB14_DATA1)
-#define pCAN0_MB14_DATA2 ((volatile unsigned short *)CAN0_MB14_DATA2)
-#define pCAN0_MB14_DATA3 ((volatile unsigned short *)CAN0_MB14_DATA3)
-#define pCAN0_MB14_LENGTH ((volatile unsigned short *)CAN0_MB14_LENGTH)
-#define pCAN0_MB14_TIMESTAMP ((volatile unsigned short *)CAN0_MB14_TIMESTAMP)
-#define pCAN0_MB14_ID0 ((volatile unsigned short *)CAN0_MB14_ID0)
-#define pCAN0_MB14_ID1 ((volatile unsigned short *)CAN0_MB14_ID1)
-#define pCAN0_MB15_DATA0 ((volatile unsigned short *)CAN0_MB15_DATA0)
-#define pCAN0_MB15_DATA1 ((volatile unsigned short *)CAN0_MB15_DATA1)
-#define pCAN0_MB15_DATA2 ((volatile unsigned short *)CAN0_MB15_DATA2)
-#define pCAN0_MB15_DATA3 ((volatile unsigned short *)CAN0_MB15_DATA3)
-#define pCAN0_MB15_LENGTH ((volatile unsigned short *)CAN0_MB15_LENGTH)
-#define pCAN0_MB15_TIMESTAMP ((volatile unsigned short *)CAN0_MB15_TIMESTAMP)
-#define pCAN0_MB15_ID0 ((volatile unsigned short *)CAN0_MB15_ID0)
-#define pCAN0_MB15_ID1 ((volatile unsigned short *)CAN0_MB15_ID1)
-
-/* CAN Controller 0 Mailbox Data Registers */
-
-#define pCAN0_MB16_DATA0 ((volatile unsigned short *)CAN0_MB16_DATA0)
-#define pCAN0_MB16_DATA1 ((volatile unsigned short *)CAN0_MB16_DATA1)
-#define pCAN0_MB16_DATA2 ((volatile unsigned short *)CAN0_MB16_DATA2)
-#define pCAN0_MB16_DATA3 ((volatile unsigned short *)CAN0_MB16_DATA3)
-#define pCAN0_MB16_LENGTH ((volatile unsigned short *)CAN0_MB16_LENGTH)
-#define pCAN0_MB16_TIMESTAMP ((volatile unsigned short *)CAN0_MB16_TIMESTAMP)
-#define pCAN0_MB16_ID0 ((volatile unsigned short *)CAN0_MB16_ID0)
-#define pCAN0_MB16_ID1 ((volatile unsigned short *)CAN0_MB16_ID1)
-#define pCAN0_MB17_DATA0 ((volatile unsigned short *)CAN0_MB17_DATA0)
-#define pCAN0_MB17_DATA1 ((volatile unsigned short *)CAN0_MB17_DATA1)
-#define pCAN0_MB17_DATA2 ((volatile unsigned short *)CAN0_MB17_DATA2)
-#define pCAN0_MB17_DATA3 ((volatile unsigned short *)CAN0_MB17_DATA3)
-#define pCAN0_MB17_LENGTH ((volatile unsigned short *)CAN0_MB17_LENGTH)
-#define pCAN0_MB17_TIMESTAMP ((volatile unsigned short *)CAN0_MB17_TIMESTAMP)
-#define pCAN0_MB17_ID0 ((volatile unsigned short *)CAN0_MB17_ID0)
-#define pCAN0_MB17_ID1 ((volatile unsigned short *)CAN0_MB17_ID1)
-#define pCAN0_MB18_DATA0 ((volatile unsigned short *)CAN0_MB18_DATA0)
-#define pCAN0_MB18_DATA1 ((volatile unsigned short *)CAN0_MB18_DATA1)
-#define pCAN0_MB18_DATA2 ((volatile unsigned short *)CAN0_MB18_DATA2)
-#define pCAN0_MB18_DATA3 ((volatile unsigned short *)CAN0_MB18_DATA3)
-#define pCAN0_MB18_LENGTH ((volatile unsigned short *)CAN0_MB18_LENGTH)
-#define pCAN0_MB18_TIMESTAMP ((volatile unsigned short *)CAN0_MB18_TIMESTAMP)
-#define pCAN0_MB18_ID0 ((volatile unsigned short *)CAN0_MB18_ID0)
-#define pCAN0_MB18_ID1 ((volatile unsigned short *)CAN0_MB18_ID1)
-#define pCAN0_MB19_DATA0 ((volatile unsigned short *)CAN0_MB19_DATA0)
-#define pCAN0_MB19_DATA1 ((volatile unsigned short *)CAN0_MB19_DATA1)
-#define pCAN0_MB19_DATA2 ((volatile unsigned short *)CAN0_MB19_DATA2)
-#define pCAN0_MB19_DATA3 ((volatile unsigned short *)CAN0_MB19_DATA3)
-#define pCAN0_MB19_LENGTH ((volatile unsigned short *)CAN0_MB19_LENGTH)
-#define pCAN0_MB19_TIMESTAMP ((volatile unsigned short *)CAN0_MB19_TIMESTAMP)
-#define pCAN0_MB19_ID0 ((volatile unsigned short *)CAN0_MB19_ID0)
-#define pCAN0_MB19_ID1 ((volatile unsigned short *)CAN0_MB19_ID1)
-#define pCAN0_MB20_DATA0 ((volatile unsigned short *)CAN0_MB20_DATA0)
-#define pCAN0_MB20_DATA1 ((volatile unsigned short *)CAN0_MB20_DATA1)
-#define pCAN0_MB20_DATA2 ((volatile unsigned short *)CAN0_MB20_DATA2)
-#define pCAN0_MB20_DATA3 ((volatile unsigned short *)CAN0_MB20_DATA3)
-#define pCAN0_MB20_LENGTH ((volatile unsigned short *)CAN0_MB20_LENGTH)
-#define pCAN0_MB20_TIMESTAMP ((volatile unsigned short *)CAN0_MB20_TIMESTAMP)
-#define pCAN0_MB20_ID0 ((volatile unsigned short *)CAN0_MB20_ID0)
-#define pCAN0_MB20_ID1 ((volatile unsigned short *)CAN0_MB20_ID1)
-#define pCAN0_MB21_DATA0 ((volatile unsigned short *)CAN0_MB21_DATA0)
-#define pCAN0_MB21_DATA1 ((volatile unsigned short *)CAN0_MB21_DATA1)
-#define pCAN0_MB21_DATA2 ((volatile unsigned short *)CAN0_MB21_DATA2)
-#define pCAN0_MB21_DATA3 ((volatile unsigned short *)CAN0_MB21_DATA3)
-#define pCAN0_MB21_LENGTH ((volatile unsigned short *)CAN0_MB21_LENGTH)
-#define pCAN0_MB21_TIMESTAMP ((volatile unsigned short *)CAN0_MB21_TIMESTAMP)
-#define pCAN0_MB21_ID0 ((volatile unsigned short *)CAN0_MB21_ID0)
-#define pCAN0_MB21_ID1 ((volatile unsigned short *)CAN0_MB21_ID1)
-#define pCAN0_MB22_DATA0 ((volatile unsigned short *)CAN0_MB22_DATA0)
-#define pCAN0_MB22_DATA1 ((volatile unsigned short *)CAN0_MB22_DATA1)
-#define pCAN0_MB22_DATA2 ((volatile unsigned short *)CAN0_MB22_DATA2)
-#define pCAN0_MB22_DATA3 ((volatile unsigned short *)CAN0_MB22_DATA3)
-#define pCAN0_MB22_LENGTH ((volatile unsigned short *)CAN0_MB22_LENGTH)
-#define pCAN0_MB22_TIMESTAMP ((volatile unsigned short *)CAN0_MB22_TIMESTAMP)
-#define pCAN0_MB22_ID0 ((volatile unsigned short *)CAN0_MB22_ID0)
-#define pCAN0_MB22_ID1 ((volatile unsigned short *)CAN0_MB22_ID1)
-#define pCAN0_MB23_DATA0 ((volatile unsigned short *)CAN0_MB23_DATA0)
-#define pCAN0_MB23_DATA1 ((volatile unsigned short *)CAN0_MB23_DATA1)
-#define pCAN0_MB23_DATA2 ((volatile unsigned short *)CAN0_MB23_DATA2)
-#define pCAN0_MB23_DATA3 ((volatile unsigned short *)CAN0_MB23_DATA3)
-#define pCAN0_MB23_LENGTH ((volatile unsigned short *)CAN0_MB23_LENGTH)
-#define pCAN0_MB23_TIMESTAMP ((volatile unsigned short *)CAN0_MB23_TIMESTAMP)
-#define pCAN0_MB23_ID0 ((volatile unsigned short *)CAN0_MB23_ID0)
-#define pCAN0_MB23_ID1 ((volatile unsigned short *)CAN0_MB23_ID1)
-#define pCAN0_MB24_DATA0 ((volatile unsigned short *)CAN0_MB24_DATA0)
-#define pCAN0_MB24_DATA1 ((volatile unsigned short *)CAN0_MB24_DATA1)
-#define pCAN0_MB24_DATA2 ((volatile unsigned short *)CAN0_MB24_DATA2)
-#define pCAN0_MB24_DATA3 ((volatile unsigned short *)CAN0_MB24_DATA3)
-#define pCAN0_MB24_LENGTH ((volatile unsigned short *)CAN0_MB24_LENGTH)
-#define pCAN0_MB24_TIMESTAMP ((volatile unsigned short *)CAN0_MB24_TIMESTAMP)
-#define pCAN0_MB24_ID0 ((volatile unsigned short *)CAN0_MB24_ID0)
-#define pCAN0_MB24_ID1 ((volatile unsigned short *)CAN0_MB24_ID1)
-#define pCAN0_MB25_DATA0 ((volatile unsigned short *)CAN0_MB25_DATA0)
-#define pCAN0_MB25_DATA1 ((volatile unsigned short *)CAN0_MB25_DATA1)
-#define pCAN0_MB25_DATA2 ((volatile unsigned short *)CAN0_MB25_DATA2)
-#define pCAN0_MB25_DATA3 ((volatile unsigned short *)CAN0_MB25_DATA3)
-#define pCAN0_MB25_LENGTH ((volatile unsigned short *)CAN0_MB25_LENGTH)
-#define pCAN0_MB25_TIMESTAMP ((volatile unsigned short *)CAN0_MB25_TIMESTAMP)
-#define pCAN0_MB25_ID0 ((volatile unsigned short *)CAN0_MB25_ID0)
-#define pCAN0_MB25_ID1 ((volatile unsigned short *)CAN0_MB25_ID1)
-#define pCAN0_MB26_DATA0 ((volatile unsigned short *)CAN0_MB26_DATA0)
-#define pCAN0_MB26_DATA1 ((volatile unsigned short *)CAN0_MB26_DATA1)
-#define pCAN0_MB26_DATA2 ((volatile unsigned short *)CAN0_MB26_DATA2)
-#define pCAN0_MB26_DATA3 ((volatile unsigned short *)CAN0_MB26_DATA3)
-#define pCAN0_MB26_LENGTH ((volatile unsigned short *)CAN0_MB26_LENGTH)
-#define pCAN0_MB26_TIMESTAMP ((volatile unsigned short *)CAN0_MB26_TIMESTAMP)
-#define pCAN0_MB26_ID0 ((volatile unsigned short *)CAN0_MB26_ID0)
-#define pCAN0_MB26_ID1 ((volatile unsigned short *)CAN0_MB26_ID1)
-#define pCAN0_MB27_DATA0 ((volatile unsigned short *)CAN0_MB27_DATA0)
-#define pCAN0_MB27_DATA1 ((volatile unsigned short *)CAN0_MB27_DATA1)
-#define pCAN0_MB27_DATA2 ((volatile unsigned short *)CAN0_MB27_DATA2)
-#define pCAN0_MB27_DATA3 ((volatile unsigned short *)CAN0_MB27_DATA3)
-#define pCAN0_MB27_LENGTH ((volatile unsigned short *)CAN0_MB27_LENGTH)
-#define pCAN0_MB27_TIMESTAMP ((volatile unsigned short *)CAN0_MB27_TIMESTAMP)
-#define pCAN0_MB27_ID0 ((volatile unsigned short *)CAN0_MB27_ID0)
-#define pCAN0_MB27_ID1 ((volatile unsigned short *)CAN0_MB27_ID1)
-#define pCAN0_MB28_DATA0 ((volatile unsigned short *)CAN0_MB28_DATA0)
-#define pCAN0_MB28_DATA1 ((volatile unsigned short *)CAN0_MB28_DATA1)
-#define pCAN0_MB28_DATA2 ((volatile unsigned short *)CAN0_MB28_DATA2)
-#define pCAN0_MB28_DATA3 ((volatile unsigned short *)CAN0_MB28_DATA3)
-#define pCAN0_MB28_LENGTH ((volatile unsigned short *)CAN0_MB28_LENGTH)
-#define pCAN0_MB28_TIMESTAMP ((volatile unsigned short *)CAN0_MB28_TIMESTAMP)
-#define pCAN0_MB28_ID0 ((volatile unsigned short *)CAN0_MB28_ID0)
-#define pCAN0_MB28_ID1 ((volatile unsigned short *)CAN0_MB28_ID1)
-#define pCAN0_MB29_DATA0 ((volatile unsigned short *)CAN0_MB29_DATA0)
-#define pCAN0_MB29_DATA1 ((volatile unsigned short *)CAN0_MB29_DATA1)
-#define pCAN0_MB29_DATA2 ((volatile unsigned short *)CAN0_MB29_DATA2)
-#define pCAN0_MB29_DATA3 ((volatile unsigned short *)CAN0_MB29_DATA3)
-#define pCAN0_MB29_LENGTH ((volatile unsigned short *)CAN0_MB29_LENGTH)
-#define pCAN0_MB29_TIMESTAMP ((volatile unsigned short *)CAN0_MB29_TIMESTAMP)
-#define pCAN0_MB29_ID0 ((volatile unsigned short *)CAN0_MB29_ID0)
-#define pCAN0_MB29_ID1 ((volatile unsigned short *)CAN0_MB29_ID1)
-#define pCAN0_MB30_DATA0 ((volatile unsigned short *)CAN0_MB30_DATA0)
-#define pCAN0_MB30_DATA1 ((volatile unsigned short *)CAN0_MB30_DATA1)
-#define pCAN0_MB30_DATA2 ((volatile unsigned short *)CAN0_MB30_DATA2)
-#define pCAN0_MB30_DATA3 ((volatile unsigned short *)CAN0_MB30_DATA3)
-#define pCAN0_MB30_LENGTH ((volatile unsigned short *)CAN0_MB30_LENGTH)
-#define pCAN0_MB30_TIMESTAMP ((volatile unsigned short *)CAN0_MB30_TIMESTAMP)
-#define pCAN0_MB30_ID0 ((volatile unsigned short *)CAN0_MB30_ID0)
-#define pCAN0_MB30_ID1 ((volatile unsigned short *)CAN0_MB30_ID1)
-#define pCAN0_MB31_DATA0 ((volatile unsigned short *)CAN0_MB31_DATA0)
-#define pCAN0_MB31_DATA1 ((volatile unsigned short *)CAN0_MB31_DATA1)
-#define pCAN0_MB31_DATA2 ((volatile unsigned short *)CAN0_MB31_DATA2)
-#define pCAN0_MB31_DATA3 ((volatile unsigned short *)CAN0_MB31_DATA3)
-#define pCAN0_MB31_LENGTH ((volatile unsigned short *)CAN0_MB31_LENGTH)
-#define pCAN0_MB31_TIMESTAMP ((volatile unsigned short *)CAN0_MB31_TIMESTAMP)
-#define pCAN0_MB31_ID0 ((volatile unsigned short *)CAN0_MB31_ID0)
-#define pCAN0_MB31_ID1 ((volatile unsigned short *)CAN0_MB31_ID1)
-
-/* UART3 Registers */
-
-#define pUART3_DLL ((volatile unsigned short *)UART3_DLL)
-#define pUART3_DLH ((volatile unsigned short *)UART3_DLH)
-#define pUART3_GCTL ((volatile unsigned short *)UART3_GCTL)
-#define pUART3_LCR ((volatile unsigned short *)UART3_LCR)
-#define pUART3_MCR ((volatile unsigned short *)UART3_MCR)
-#define pUART3_LSR ((volatile unsigned short *)UART3_LSR)
-#define pUART3_MSR ((volatile unsigned short *)UART3_MSR)
-#define pUART3_SCR ((volatile unsigned short *)UART3_SCR)
-#define pUART3_IER_SET ((volatile unsigned short *)UART3_IER_SET)
-#define pUART3_IER_CLEAR ((volatile unsigned short *)UART3_IER_CLEAR)
-#define pUART3_THR ((volatile unsigned short *)UART3_THR)
-#define pUART3_RBR ((volatile unsigned short *)UART3_RBR)
-
-/* NFC Registers */
-
-#define pNFC_CTL ((volatile unsigned short *)NFC_CTL)
-#define pNFC_STAT ((volatile unsigned short *)NFC_STAT)
-#define pNFC_IRQSTAT ((volatile unsigned short *)NFC_IRQSTAT)
-#define pNFC_IRQMASK ((volatile unsigned short *)NFC_IRQMASK)
-#define pNFC_ECC0 ((volatile unsigned short *)NFC_ECC0)
-#define pNFC_ECC1 ((volatile unsigned short *)NFC_ECC1)
-#define pNFC_ECC2 ((volatile unsigned short *)NFC_ECC2)
-#define pNFC_ECC3 ((volatile unsigned short *)NFC_ECC3)
-#define pNFC_COUNT ((volatile unsigned short *)NFC_COUNT)
-#define pNFC_RST ((volatile unsigned short *)NFC_RST)
-#define pNFC_PGCTL ((volatile unsigned short *)NFC_PGCTL)
-#define pNFC_READ ((volatile unsigned short *)NFC_READ)
-#define pNFC_ADDR ((volatile unsigned short *)NFC_ADDR)
-#define pNFC_CMD ((volatile unsigned short *)NFC_CMD)
-#define pNFC_DATA_WR ((volatile unsigned short *)NFC_DATA_WR)
-#define pNFC_DATA_RD ((volatile unsigned short *)NFC_DATA_RD)
-
-/* Counter Registers */
-
-#define pCNT_CONFIG ((volatile unsigned short *)CNT_CONFIG)
-#define pCNT_IMASK ((volatile unsigned short *)CNT_IMASK)
-#define pCNT_STATUS ((volatile unsigned short *)CNT_STATUS)
-#define pCNT_COMMAND ((volatile unsigned short *)CNT_COMMAND)
-#define pCNT_DEBOUNCE ((volatile unsigned short *)CNT_DEBOUNCE)
-#define pCNT_COUNTER ((volatile unsigned long *)CNT_COUNTER)
-#define pCNT_MAX ((volatile unsigned long *)CNT_MAX)
-#define pCNT_MIN ((volatile unsigned long *)CNT_MIN)
-
-/* Security Registers */
-
-#define pSECURE_SYSSWT ((volatile unsigned long *)SECURE_SYSSWT)
-#define pSECURE_CONTROL ((volatile unsigned short *)SECURE_CONTROL)
-#define pSECURE_STATUS ((volatile unsigned short *)SECURE_STATUS)
-
-/* DMA Peripheral Mux Register */
-
-#define pDMAC1_PERIMUX ((volatile unsigned short *)DMAC1_PERIMUX)
-
-/* OTP Read/Write Data Buffer Registers */
-
-#define pOTP_DATA0 ((volatile unsigned long *)OTP_DATA0)
-#define pOTP_DATA1 ((volatile unsigned long *)OTP_DATA1)
-#define pOTP_DATA2 ((volatile unsigned long *)OTP_DATA2)
-#define pOTP_DATA3 ((volatile unsigned long *)OTP_DATA3)
-
-/* Handshake MDMA 0 Registers */
-
-#define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
-#define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
-#define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
-#define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
-#define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
-#define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
-#define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
-
-/* Handshake MDMA 1 Registers */
-
-#define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
-#define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
-#define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
-#define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
-#define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
-#define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
-#define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
-
-/* legacy definitions */
-#define pEBIU_AMCBCTL0 pEBIU_AMBCTL0
-#define pEBIU_AMCBCTL1 pEBIU_AMBCTL1
-#define pPINT0_IRQ pPINT0_REQUEST
-#define pPINT1_IRQ pPINT1_REQUEST
-#define pPINT2_IRQ pPINT2_REQUEST
-#define pPINT3_IRQ pPINT3_REQUEST
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF54X_H */
-
diff --git a/libgloss/bfin/include/cdefBF561.h b/libgloss/bfin/include/cdefBF561.h
deleted file mode 100644
index dc2c6b5..0000000
--- a/libgloss/bfin/include/cdefBF561.h
+++ /dev/null
@@ -1,795 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefBF561.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* C POINTERS TO SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 */
-
-#ifndef _CDEF_BF561_H
-#define _CDEF_BF561_H
-
-#if !defined(__ADSPBF561__)
-#warning cdefBF561.h should only be included for BF561 chip.
-#endif
-/* include all Core registers and bit definitions */
-#include <defBF561.h>
-#include <cdef_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System MMR Register Map */
-/*********************************************************************************** */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
-#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
-#define pVR_CTL ((volatile unsigned short *)VR_CTL)
-#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
-#define pCHIPID ((volatile unsigned long*)CHIPID)
-
-/* System Reset and Interrupt Controller registers for core A (0xFFC0 0100-0xFFC0 01FF) */
-#define pSICA_SWRST ((volatile unsigned short *)SICA_SWRST)
-#define pSICA_SYSCR ((volatile unsigned short *)SICA_SYSCR)
-#define pSICA_RVECT ((volatile unsigned short *)SICA_RVECT)
-#define pSICA_IMASK ((volatile unsigned long *)SICA_IMASK)
-#define pSICA_IMASK0 ((volatile unsigned long *)SICA_IMASK0)
-#define pSICA_IMASK1 ((volatile unsigned long *)SICA_IMASK1)
-#define pSICA_IAR0 ((volatile unsigned long *)SICA_IAR0)
-#define pSICA_IAR1 ((volatile unsigned long *)SICA_IAR1)
-#define pSICA_IAR2 ((volatile unsigned long *)SICA_IAR2)
-#define pSICA_IAR3 ((volatile unsigned long *)SICA_IAR3)
-#define pSICA_IAR4 ((volatile unsigned long *)SICA_IAR4)
-#define pSICA_IAR5 ((volatile unsigned long *)SICA_IAR5)
-#define pSICA_IAR6 ((volatile unsigned long *)SICA_IAR6)
-#define pSICA_IAR7 ((volatile unsigned long *)SICA_IAR7)
-#define pSICA_ISR0 ((volatile unsigned long *)SICA_ISR0)
-#define pSICA_ISR1 ((volatile unsigned long *)SICA_ISR1)
-#define pSICA_IWR0 ((volatile unsigned long *)SICA_IWR0)
-#define pSICA_IWR1 ((volatile unsigned long *)SICA_IWR1)
-
-/* System Reset and Interrupt Controller registers for Core B (0xFFC0 1100-0xFFC0 11FF) */
-#define pSICB_SWRST ((volatile unsigned short *)SICB_SWRST)
-#define pSICB_SYSCR ((volatile unsigned short *)SICB_SYSCR)
-#define pSICB_RVECT ((volatile unsigned short *)SICB_RVECT)
-#define pSICB_IMASK0 ((volatile unsigned long *)SICB_IMASK0)
-#define pSICB_IMASK1 ((volatile unsigned long *)SICB_IMASK1)
-#define pSICB_IAR0 ((volatile unsigned long *)SICB_IAR0)
-#define pSICB_IAR1 ((volatile unsigned long *)SICB_IAR1)
-#define pSICB_IAR2 ((volatile unsigned long *)SICB_IAR2)
-#define pSICB_IAR3 ((volatile unsigned long *)SICB_IAR3)
-#define pSICB_IAR4 ((volatile unsigned long *)SICB_IAR4)
-#define pSICB_IAR5 ((volatile unsigned long *)SICB_IAR5)
-#define pSICB_IAR6 ((volatile unsigned long *)SICB_IAR6)
-#define pSICB_IAR7 ((volatile unsigned long *)SICB_IAR7)
-#define pSICB_ISR0 ((volatile unsigned long *)SICB_ISR0)
-#define pSICB_ISR1 ((volatile unsigned long *)SICB_ISR1)
-#define pSICB_IWR0 ((volatile unsigned long *)SICB_IWR0)
-#define pSICB_IWR1 ((volatile unsigned long *)SICB_IWR1)
-/* Watchdog Timer registers for Core A (0xFFC0 0200-0xFFC0 02FF) */
-#define pWDOGA_CTL ((volatile unsigned short *)WDOGA_CTL)
-#define pWDOGA_CNT ((volatile unsigned long *)WDOGA_CNT)
-#define pWDOGA_STAT ((volatile unsigned long *)WDOGA_STAT)
-
-/* Watchdog Timer registers for Core B (0xFFC0 1200-0xFFC0 12FF) */
-#define pWDOGB_CTL ((volatile unsigned short *)WDOGB_CTL)
-#define pWDOGB_CNT ((volatile unsigned long *)WDOGB_CNT)
-#define pWDOGB_STAT ((volatile unsigned long *)WDOGB_STAT)
-
-/* UART Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART_THR ((volatile unsigned short *)UART_THR)
-#define pUART_RBR ((volatile unsigned short *)UART_RBR)
-#define pUART_DLL ((volatile unsigned short *)UART_DLL)
-#define pUART_IER ((volatile unsigned short *)UART_IER)
-#define pUART_DLH ((volatile unsigned short *)UART_DLH)
-#define pUART_IIR ((volatile unsigned short *)UART_IIR)
-#define pUART_LCR ((volatile unsigned short *)UART_LCR)
-#define pUART_MCR ((volatile unsigned short *)UART_MCR)
-#define pUART_LSR ((volatile unsigned short *)UART_LSR)
-#define pUART_SCR ((volatile unsigned short *)UART_SCR)
-#define pUART_GCTL ((volatile unsigned short *)UART_GCTL)
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define pSPI_CTL ((volatile unsigned short *)SPI_CTL)
-#define pSPI_FLG ((volatile unsigned short *)SPI_FLG)
-#define pSPI_STAT ((volatile unsigned short *)SPI_STAT)
-#define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR)
-#define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR)
-#define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD)
-#define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW)
-
-/* Timer 0-7 registers (0xFFC0 0600-0xFFC0 06FF) */
-#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
-#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
-#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
-#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
-#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
-#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
-#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
-#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
-#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
-#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
-#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
-#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
-#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
-#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
-#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
-#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
-#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
-#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
-#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
-#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
-#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
-#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
-#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
-
-/* Timer registers 8-11 (0xFFC0 1600-0xFFC0 16FF) */
-#define pTMRS8_ENABLE ((volatile unsigned short *)TMRS8_ENABLE)
-#define pTMRS8_DISABLE ((volatile unsigned short *)TMRS8_DISABLE)
-#define pTMRS8_STATUS ((volatile unsigned long *)TMRS8_STATUS)
-#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
-#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
-#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
-#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
-#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
-#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
-#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
-#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
-#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
-#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
-#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
-#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
-#define pTIMER11_CONFIG ((volatile unsigned short *)TIMER11_CONFIG)
-#define pTIMER11_COUNTER ((volatile unsigned long *)TIMER11_COUNTER)
-#define pTIMER11_PERIOD ((volatile unsigned long *)TIMER11_PERIOD)
-#define pTIMER11_WIDTH ((volatile unsigned long *)TIMER11_WIDTH)
-#define pTMRS4_ENABLE ((volatile unsigned short *)TMRS4_ENABLE)
-#define pTMRS4_DISABLE ((volatile unsigned short *)TMRS4_DISABLE)
-#define pTMRS4_STATUS ((volatile unsigned long *)TMRS4_STATUS)
-
-/* Programmable Flag 0 registers (0xFFC0 0700-0xFFC0 07FF) */
-#define pFIO0_FLAG_D ((volatile unsigned short *)FIO0_FLAG_D)
-#define pFIO0_FLAG_C ((volatile unsigned short *)FIO0_FLAG_C)
-#define pFIO0_FLAG_S ((volatile unsigned short *)FIO0_FLAG_S)
-#define pFIO0_FLAG_T ((volatile unsigned short *)FIO0_FLAG_T)
-#define pFIO0_MASKA_D ((volatile unsigned short *)FIO0_MASKA_D)
-#define pFIO0_MASKA_C ((volatile unsigned short *)FIO0_MASKA_C)
-#define pFIO0_MASKA_S ((volatile unsigned short *)FIO0_MASKA_S)
-#define pFIO0_MASKA_T ((volatile unsigned short *)FIO0_MASKA_T)
-#define pFIO0_MASKB_D ((volatile unsigned short *)FIO0_MASKB_D)
-#define pFIO0_MASKB_C ((volatile unsigned short *)FIO0_MASKB_C)
-#define pFIO0_MASKB_S ((volatile unsigned short *)FIO0_MASKB_S)
-#define pFIO0_MASKB_T ((volatile unsigned short *)FIO0_MASKB_T)
-#define pFIO0_DIR ((volatile unsigned short *)FIO0_DIR)
-#define pFIO0_POLAR ((volatile unsigned short *)FIO0_POLAR)
-#define pFIO0_EDGE ((volatile unsigned short *)FIO0_EDGE)
-#define pFIO0_BOTH ((volatile unsigned short *)FIO0_BOTH)
-#define pFIO0_INEN ((volatile unsigned short *)FIO0_INEN)
-/* Programmable Flag 1 registers (0xFFC0 1500-0xFFC0 15FF) */
-#define pFIO1_FLAG_D ((volatile unsigned short *)FIO1_FLAG_D)
-#define pFIO1_FLAG_C ((volatile unsigned short *)FIO1_FLAG_C)
-#define pFIO1_FLAG_S ((volatile unsigned short *)FIO1_FLAG_S)
-#define pFIO1_FLAG_T ((volatile unsigned short *)FIO1_FLAG_T)
-#define pFIO1_MASKA_D ((volatile unsigned short *)FIO1_MASKA_D)
-#define pFIO1_MASKA_C ((volatile unsigned short *)FIO1_MASKA_C)
-#define pFIO1_MASKA_S ((volatile unsigned short *)FIO1_MASKA_S)
-#define pFIO1_MASKA_T ((volatile unsigned short *)FIO1_MASKA_T)
-#define pFIO1_MASKB_D ((volatile unsigned short *)FIO1_MASKB_D)
-#define pFIO1_MASKB_C ((volatile unsigned short *)FIO1_MASKB_C)
-#define pFIO1_MASKB_S ((volatile unsigned short *)FIO1_MASKB_S)
-#define pFIO1_MASKB_T ((volatile unsigned short *)FIO1_MASKB_T)
-#define pFIO1_DIR ((volatile unsigned short *)FIO1_DIR)
-#define pFIO1_POLAR ((volatile unsigned short *)FIO1_POLAR)
-#define pFIO1_EDGE ((volatile unsigned short *)FIO1_EDGE)
-#define pFIO1_BOTH ((volatile unsigned short *)FIO1_BOTH)
-#define pFIO1_INEN ((volatile unsigned short *)FIO1_INEN)
-/* Programmable Flag registers (0xFFC0 1700-0xFFC0 17FF) */
-#define pFIO2_FLAG_D ((volatile unsigned short *)FIO2_FLAG_D)
-#define pFIO2_FLAG_C ((volatile unsigned short *)FIO2_FLAG_C)
-#define pFIO2_FLAG_S ((volatile unsigned short *)FIO2_FLAG_S)
-#define pFIO2_FLAG_T ((volatile unsigned short *)FIO2_FLAG_T)
-#define pFIO2_MASKA_D ((volatile unsigned short *)FIO2_MASKA_D)
-#define pFIO2_MASKA_C ((volatile unsigned short *)FIO2_MASKA_C)
-#define pFIO2_MASKA_S ((volatile unsigned short *)FIO2_MASKA_S)
-#define pFIO2_MASKA_T ((volatile unsigned short *)FIO2_MASKA_T)
-#define pFIO2_MASKB_D ((volatile unsigned short *)FIO2_MASKB_D)
-#define pFIO2_MASKB_C ((volatile unsigned short *)FIO2_MASKB_C)
-#define pFIO2_MASKB_S ((volatile unsigned short *)FIO2_MASKB_S)
-#define pFIO2_MASKB_T ((volatile unsigned short *)FIO2_MASKB_T)
-#define pFIO2_DIR ((volatile unsigned short *)FIO2_DIR)
-#define pFIO2_POLAR ((volatile unsigned short *)FIO2_POLAR)
-#define pFIO2_EDGE ((volatile unsigned short *)FIO2_EDGE)
-#define pFIO2_BOTH ((volatile unsigned short *)FIO2_BOTH)
-#define pFIO2_INEN ((volatile unsigned short *)FIO2_INEN)
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
-#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile long *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile long *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
-#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile long *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile long *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
-/* Asynchronous Memory Controller - External Bus Interface Unit */
-#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
-#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
-#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
-/* SDRAM Controller External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
-#define pEBIU_SDBCTL ((volatile unsigned long *)EBIU_SDBCTL)
-#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
-#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
-/* Parallel Peripheral Interface (PPI) 0 registers (0xFFC0 1000-0xFFC0 10FF) */
-#define pPPI0_CONTROL ((volatile unsigned short *)PPI0_CONTROL)
-#define pPPI0_STATUS ((volatile unsigned short *)PPI0_STATUS)
-#define pPPI0_COUNT ((volatile unsigned short *)PPI0_COUNT)
-#define pPPI0_DELAY ((volatile unsigned short *)PPI0_DELAY)
-#define pPPI0_FRAME ((volatile unsigned short *)PPI0_FRAME)
-/* Parallel Peripheral Interface (PPI) 1 registers (0xFFC0 1300-0xFFC0 13FF) */
-#define pPPI1_CONTROL ((volatile unsigned short *)PPI1_CONTROL)
-#define pPPI1_STATUS ((volatile unsigned short *)PPI1_STATUS)
-#define pPPI1_COUNT ((volatile unsigned short *)PPI1_COUNT)
-#define pPPI1_DELAY ((volatile unsigned short *)PPI1_DELAY)
-#define pPPI1_FRAME ((volatile unsigned short *)PPI1_FRAME)
-/*DMA traffic control registers */
-#define pDMA1_TC_PER ((volatile unsigned short *)DMA1_TC_PER)
-#define pDMA1_TC_CNT ((volatile unsigned short *)DMA1_TC_CNT)
-#define pDMA2_TC_PER ((volatile unsigned short *)DMA2_TC_PER)
-#define pDMA2_TC_CNT ((volatile unsigned short *)DMA2_TC_CNT)
-/* DMA1 Controller registers (0xFFC0 1C00-0xFFC0 1FFF) */
-#define pDMA1_0_CONFIG ((volatile unsigned short *)DMA1_0_CONFIG)
-#define pDMA1_0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_0_NEXT_DESC_PTR)
-#define pDMA1_0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_0_START_ADDR)
-#define pDMA1_0_X_COUNT ((volatile unsigned short *)DMA1_0_X_COUNT)
-#define pDMA1_0_Y_COUNT ((volatile unsigned short *)DMA1_0_Y_COUNT)
-#define pDMA1_0_X_MODIFY (volatile signed short *)DMA1_0_X_MODIFY
-#define pDMA1_0_Y_MODIFY (volatile signed short *)DMA1_0_Y_MODIFY
-#define pDMA1_0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_0_CURR_DESC_PTR)
-#define pDMA1_0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_0_CURR_ADDR)
-#define pDMA1_0_CURR_X_COUNT ((volatile unsigned short *)DMA1_0_CURR_X_COUNT)
-#define pDMA1_0_CURR_Y_COUNT ((volatile unsigned short *)DMA1_0_CURR_Y_COUNT)
-#define pDMA1_0_IRQ_STATUS ((volatile unsigned short *)DMA1_0_IRQ_STATUS)
-#define pDMA1_0_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_0_PERIPHERAL_MAP)
-#define pDMA1_1_CONFIG ((volatile unsigned short *)DMA1_1_CONFIG)
-#define pDMA1_1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_1_NEXT_DESC_PTR)
-#define pDMA1_1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_1_START_ADDR)
-#define pDMA1_1_X_COUNT ((volatile unsigned short *)DMA1_1_X_COUNT)
-#define pDMA1_1_Y_COUNT ((volatile unsigned short *)DMA1_1_Y_COUNT)
-#define pDMA1_1_X_MODIFY (volatile signed short *)DMA1_1_X_MODIFY
-#define pDMA1_1_Y_MODIFY (volatile signed short *)DMA1_1_Y_MODIFY
-#define pDMA1_1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_1_CURR_DESC_PTR)
-#define pDMA1_1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_1_CURR_ADDR)
-#define pDMA1_1_CURR_X_COUNT ((volatile unsigned short *)DMA1_1_CURR_X_COUNT)
-#define pDMA1_1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_1_CURR_Y_COUNT)
-#define pDMA1_1_IRQ_STATUS ((volatile unsigned short *)DMA1_1_IRQ_STATUS)
-#define pDMA1_1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_1_PERIPHERAL_MAP)
-#define pDMA1_2_CONFIG ((volatile unsigned short *)DMA1_2_CONFIG)
-#define pDMA1_2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_2_NEXT_DESC_PTR)
-#define pDMA1_2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_2_START_ADDR)
-#define pDMA1_2_X_COUNT ((volatile unsigned short *)DMA1_2_X_COUNT)
-#define pDMA1_2_Y_COUNT ((volatile unsigned short *)DMA1_2_Y_COUNT)
-#define pDMA1_2_X_MODIFY (volatile signed short *)DMA1_2_X_MODIFY
-#define pDMA1_2_Y_MODIFY (volatile signed short *)DMA1_2_Y_MODIFY
-#define pDMA1_2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_2_CURR_DESC_PTR)
-#define pDMA1_2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_2_CURR_ADDR)
-#define pDMA1_2_CURR_X_COUNT ((volatile unsigned short *)DMA1_2_CURR_X_COUNT)
-#define pDMA1_2_CURR_Y_COUNT ((volatile unsigned short *)DMA1_2_CURR_Y_COUNT)
-#define pDMA1_2_IRQ_STATUS ((volatile unsigned short *)DMA1_2_IRQ_STATUS)
-#define pDMA1_2_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_2_PERIPHERAL_MAP)
-#define pDMA1_3_CONFIG ((volatile unsigned short *)DMA1_3_CONFIG)
-#define pDMA1_3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_3_NEXT_DESC_PTR)
-#define pDMA1_3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_3_START_ADDR)
-#define pDMA1_3_X_COUNT ((volatile unsigned short *)DMA1_3_X_COUNT)
-#define pDMA1_3_Y_COUNT ((volatile unsigned short *)DMA1_3_Y_COUNT)
-#define pDMA1_3_X_MODIFY (volatile signed short *)DMA1_3_X_MODIFY
-#define pDMA1_3_Y_MODIFY (volatile signed short *)DMA1_3_Y_MODIFY
-#define pDMA1_3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_3_CURR_DESC_PTR)
-#define pDMA1_3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_3_CURR_ADDR)
-#define pDMA1_3_CURR_X_COUNT ((volatile unsigned short *)DMA1_3_CURR_X_COUNT)
-#define pDMA1_3_CURR_Y_COUNT ((volatile unsigned short *)DMA1_3_CURR_Y_COUNT)
-#define pDMA1_3_IRQ_STATUS ((volatile unsigned short *)DMA1_3_IRQ_STATUS)
-#define pDMA1_3_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_3_PERIPHERAL_MAP)
-#define pDMA1_4_CONFIG ((volatile unsigned short *)DMA1_4_CONFIG)
-#define pDMA1_4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_4_NEXT_DESC_PTR)
-#define pDMA1_4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_4_START_ADDR)
-#define pDMA1_4_X_COUNT ((volatile unsigned short *)DMA1_4_X_COUNT)
-#define pDMA1_4_Y_COUNT ((volatile unsigned short *)DMA1_4_Y_COUNT)
-#define pDMA1_4_X_MODIFY (volatile signed short *)DMA1_4_X_MODIFY
-#define pDMA1_4_Y_MODIFY (volatile signed short *)DMA1_4_Y_MODIFY
-#define pDMA1_4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_4_CURR_DESC_PTR)
-#define pDMA1_4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_4_CURR_ADDR)
-#define pDMA1_4_CURR_X_COUNT ((volatile unsigned short *)DMA1_4_CURR_X_COUNT)
-#define pDMA1_4_CURR_Y_COUNT ((volatile unsigned short *)DMA1_4_CURR_Y_COUNT)
-#define pDMA1_4_IRQ_STATUS ((volatile unsigned short *)DMA1_4_IRQ_STATUS)
-#define pDMA1_4_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_4_PERIPHERAL_MAP)
-#define pDMA1_5_CONFIG ((volatile unsigned short *)DMA1_5_CONFIG)
-#define pDMA1_5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_5_NEXT_DESC_PTR)
-#define pDMA1_5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_5_START_ADDR)
-#define pDMA1_5_X_COUNT ((volatile unsigned short *)DMA1_5_X_COUNT)
-#define pDMA1_5_Y_COUNT ((volatile unsigned short *)DMA1_5_Y_COUNT)
-#define pDMA1_5_X_MODIFY (volatile signed short *)DMA1_5_X_MODIFY
-#define pDMA1_5_Y_MODIFY (volatile signed short *)DMA1_5_Y_MODIFY
-#define pDMA1_5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_5_CURR_DESC_PTR)
-#define pDMA1_5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_5_CURR_ADDR)
-#define pDMA1_5_CURR_X_COUNT ((volatile unsigned short *)DMA1_5_CURR_X_COUNT)
-#define pDMA1_5_CURR_Y_COUNT ((volatile unsigned short *)DMA1_5_CURR_Y_COUNT)
-#define pDMA1_5_IRQ_STATUS ((volatile unsigned short *)DMA1_5_IRQ_STATUS)
-#define pDMA1_5_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_5_PERIPHERAL_MAP)
-#define pDMA1_6_CONFIG ((volatile unsigned short *)DMA1_6_CONFIG)
-#define pDMA1_6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_6_NEXT_DESC_PTR)
-#define pDMA1_6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_6_START_ADDR)
-#define pDMA1_6_X_COUNT ((volatile unsigned short *)DMA1_6_X_COUNT)
-#define pDMA1_6_Y_COUNT ((volatile unsigned short *)DMA1_6_Y_COUNT)
-#define pDMA1_6_X_MODIFY (volatile signed short *)DMA1_6_X_MODIFY
-#define pDMA1_6_Y_MODIFY (volatile signed short *)DMA1_6_Y_MODIFY
-#define pDMA1_6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_6_CURR_DESC_PTR)
-#define pDMA1_6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_6_CURR_ADDR)
-#define pDMA1_6_CURR_X_COUNT ((volatile unsigned short *)DMA1_6_CURR_X_COUNT)
-#define pDMA1_6_CURR_Y_COUNT ((volatile unsigned short *)DMA1_6_CURR_Y_COUNT)
-#define pDMA1_6_IRQ_STATUS ((volatile unsigned short *)DMA1_6_IRQ_STATUS)
-#define pDMA1_6_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_6_PERIPHERAL_MAP)
-#define pDMA1_7_CONFIG ((volatile unsigned short *)DMA1_7_CONFIG)
-#define pDMA1_7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_7_NEXT_DESC_PTR)
-#define pDMA1_7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_7_START_ADDR)
-#define pDMA1_7_X_COUNT ((volatile unsigned short *)DMA1_7_X_COUNT)
-#define pDMA1_7_Y_COUNT ((volatile unsigned short *)DMA1_7_Y_COUNT)
-#define pDMA1_7_X_MODIFY (volatile signed short *)DMA1_7_X_MODIFY
-#define pDMA1_7_Y_MODIFY (volatile signed short *)DMA1_7_Y_MODIFY
-#define pDMA1_7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_7_CURR_DESC_PTR)
-#define pDMA1_7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_7_CURR_ADDR)
-#define pDMA1_7_CURR_X_COUNT ((volatile unsigned short *)DMA1_7_CURR_X_COUNT)
-#define pDMA1_7_CURR_Y_COUNT ((volatile unsigned short *)DMA1_7_CURR_Y_COUNT)
-#define pDMA1_7_IRQ_STATUS ((volatile unsigned short *)DMA1_7_IRQ_STATUS)
-#define pDMA1_7_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_7_PERIPHERAL_MAP)
-#define pDMA1_8_CONFIG ((volatile unsigned short *)DMA1_8_CONFIG)
-#define pDMA1_8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_8_NEXT_DESC_PTR)
-#define pDMA1_8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_8_START_ADDR)
-#define pDMA1_8_X_COUNT ((volatile unsigned short *)DMA1_8_X_COUNT)
-#define pDMA1_8_Y_COUNT ((volatile unsigned short *)DMA1_8_Y_COUNT)
-#define pDMA1_8_X_MODIFY (volatile signed short *)DMA1_8_X_MODIFY
-#define pDMA1_8_Y_MODIFY (volatile signed short *)DMA1_8_Y_MODIFY
-#define pDMA1_8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_8_CURR_DESC_PTR)
-#define pDMA1_8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_8_CURR_ADDR)
-#define pDMA1_8_CURR_X_COUNT ((volatile unsigned short *)DMA1_8_CURR_X_COUNT)
-#define pDMA1_8_CURR_Y_COUNT ((volatile unsigned short *)DMA1_8_CURR_Y_COUNT)
-#define pDMA1_8_IRQ_STATUS ((volatile unsigned short *)DMA1_8_IRQ_STATUS)
-#define pDMA1_8_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_8_PERIPHERAL_MAP)
-#define pDMA1_9_CONFIG ((volatile unsigned short *)DMA1_9_CONFIG)
-#define pDMA1_9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_9_NEXT_DESC_PTR)
-#define pDMA1_9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_9_START_ADDR)
-#define pDMA1_9_X_COUNT ((volatile unsigned short *)DMA1_9_X_COUNT)
-#define pDMA1_9_Y_COUNT ((volatile unsigned short *)DMA1_9_Y_COUNT)
-#define pDMA1_9_X_MODIFY (volatile signed short *)DMA1_9_X_MODIFY
-#define pDMA1_9_Y_MODIFY (volatile signed short *)DMA1_9_Y_MODIFY
-#define pDMA1_9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_9_CURR_DESC_PTR)
-#define pDMA1_9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_9_CURR_ADDR)
-#define pDMA1_9_CURR_X_COUNT ((volatile unsigned short *)DMA1_9_CURR_X_COUNT)
-#define pDMA1_9_CURR_Y_COUNT ((volatile unsigned short *)DMA1_9_CURR_Y_COUNT)
-#define pDMA1_9_IRQ_STATUS ((volatile unsigned short *)DMA1_9_IRQ_STATUS)
-#define pDMA1_9_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_9_PERIPHERAL_MAP)
-#define pDMA1_10_CONFIG ((volatile unsigned short *)DMA1_10_CONFIG)
-#define pDMA1_10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_10_NEXT_DESC_PTR)
-#define pDMA1_10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_10_START_ADDR)
-#define pDMA1_10_X_COUNT ((volatile unsigned short *)DMA1_10_X_COUNT)
-#define pDMA1_10_Y_COUNT ((volatile unsigned short *)DMA1_10_Y_COUNT)
-#define pDMA1_10_X_MODIFY (volatile signed short *)DMA1_10_X_MODIFY
-#define pDMA1_10_Y_MODIFY (volatile signed short *)DMA1_10_Y_MODIFY
-#define pDMA1_10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_10_CURR_DESC_PTR)
-#define pDMA1_10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_10_CURR_ADDR)
-#define pDMA1_10_CURR_X_COUNT ((volatile unsigned short *)DMA1_10_CURR_X_COUNT)
-#define pDMA1_10_CURR_Y_COUNT ((volatile unsigned short *)DMA1_10_CURR_Y_COUNT)
-#define pDMA1_10_IRQ_STATUS ((volatile unsigned short *)DMA1_10_IRQ_STATUS)
-#define pDMA1_10_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_10_PERIPHERAL_MAP)
-#define pDMA1_11_CONFIG ((volatile unsigned short *)DMA1_11_CONFIG)
-#define pDMA1_11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_11_NEXT_DESC_PTR)
-#define pDMA1_11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_11_START_ADDR)
-#define pDMA1_11_X_COUNT ((volatile unsigned short *)DMA1_11_X_COUNT)
-#define pDMA1_11_Y_COUNT ((volatile unsigned short *)DMA1_11_Y_COUNT)
-#define pDMA1_11_X_MODIFY (volatile signed short *)DMA1_11_X_MODIFY
-#define pDMA1_11_Y_MODIFY (volatile signed short *)DMA1_11_Y_MODIFY
-#define pDMA1_11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_11_CURR_DESC_PTR)
-#define pDMA1_11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_11_CURR_ADDR)
-#define pDMA1_11_CURR_X_COUNT ((volatile unsigned short *)DMA1_11_CURR_X_COUNT)
-#define pDMA1_11_CURR_Y_COUNT ((volatile unsigned short *)DMA1_11_CURR_Y_COUNT)
-#define pDMA1_11_IRQ_STATUS ((volatile unsigned short *)DMA1_11_IRQ_STATUS)
-#define pDMA1_11_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_11_PERIPHERAL_MAP)
-/* Memory DMA1 Controller registers (0xFFC0 1E80-0xFFC0 1FFF) */
-#define pMDMA1_D0_CONFIG ((volatile unsigned short *)MDMA1_D0_CONFIG)
-#define pMDMA1_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_D0_NEXT_DESC_PTR)
-#define pMDMA1_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_D0_START_ADDR)
-#define pMDMA1_D0_X_COUNT ((volatile unsigned short *)MDMA1_D0_X_COUNT)
-#define pMDMA1_D0_Y_COUNT ((volatile unsigned short *)MDMA1_D0_Y_COUNT)
-#define pMDMA1_D0_X_MODIFY (volatile signed short *)MDMA1_D0_X_MODIFY
-#define pMDMA1_D0_Y_MODIFY (volatile signed short *)MDMA1_D0_Y_MODIFY
-#define pMDMA1_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_D0_CURR_DESC_PTR)
-#define pMDMA1_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_D0_CURR_ADDR)
-#define pMDMA1_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_X_COUNT )
-#define pMDMA1_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D0_CURR_Y_COUNT)
-#define pMDMA1_D0_IRQ_STATUS ((volatile unsigned short *)MDMA1_D0_IRQ_STATUS)
-#define pMDMA1_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D0_PERIPHERAL_MAP)
-#define pMDMA1_S0_CONFIG ((volatile unsigned short *)MDMA1_S0_CONFIG)
-#define pMDMA1_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_S0_NEXT_DESC_PTR)
-#define pMDMA1_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_S0_START_ADDR)
-#define pMDMA1_S0_X_COUNT ((volatile unsigned short *)MDMA1_S0_X_COUNT)
-#define pMDMA1_S0_Y_COUNT ((volatile unsigned short *)MDMA1_S0_Y_COUNT)
-#define pMDMA1_S0_X_MODIFY (volatile signed short *)MDMA1_S0_X_MODIFY
-#define pMDMA1_S0_Y_MODIFY (volatile signed short *)MDMA1_S0_Y_MODIFY
-#define pMDMA1_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_S0_CURR_DESC_PTR)
-#define pMDMA1_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_S0_CURR_ADDR)
-#define pMDMA1_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_X_COUNT)
-#define pMDMA1_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S0_CURR_Y_COUNT)
-#define pMDMA1_S0_IRQ_STATUS ((volatile unsigned short *)MDMA1_S0_IRQ_STATUS)
-#define pMDMA1_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S0_PERIPHERAL_MAP)
-#define pMDMA1_D1_CONFIG ((volatile unsigned short *)MDMA1_D1_CONFIG)
-#define pMDMA1_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_D1_NEXT_DESC_PTR)
-#define pMDMA1_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_D1_START_ADDR)
-#define pMDMA1_D1_X_COUNT ((volatile unsigned short *)MDMA1_D1_X_COUNT)
-#define pMDMA1_D1_Y_COUNT ((volatile unsigned short *)MDMA1_D1_Y_COUNT)
-#define pMDMA1_D1_X_MODIFY (volatile signed short *)MDMA1_D1_X_MODIFY
-#define pMDMA1_D1_Y_MODIFY (volatile signed short *)MDMA1_D1_Y_MODIFY
-#define pMDMA1_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_D1_CURR_DESC_PTR)
-#define pMDMA1_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_D1_CURR_ADDR)
-#define pMDMA1_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_X_COUNT)
-#define pMDMA1_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_D1_CURR_Y_COUNT)
-#define pMDMA1_D1_IRQ_STATUS ((volatile unsigned short *)MDMA1_D1_IRQ_STATUS)
-#define pMDMA1_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_D1_PERIPHERAL_MAP)
-#define pMDMA1_S1_CONFIG ((volatile unsigned short *)MDMA1_S1_CONFIG)
-#define pMDMA1_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_S1_NEXT_DESC_PTR)
-#define pMDMA1_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_S1_START_ADDR)
-#define pMDMA1_S1_X_COUNT ((volatile unsigned short *)MDMA1_S1_X_COUNT)
-#define pMDMA1_S1_Y_COUNT ((volatile unsigned short *)MDMA1_S1_Y_COUNT)
-#define pMDMA1_S1_X_MODIFY (volatile signed short *)MDMA1_S1_X_MODIFY
-#define pMDMA1_S1_Y_MODIFY (volatile signed short *)MDMA1_S1_Y_MODIFY
-#define pMDMA1_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA1_S1_CURR_DESC_PTR)
-#define pMDMA1_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA1_S1_CURR_ADDR)
-#define pMDMA1_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_X_COUNT)
-#define pMDMA1_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA1_S1_CURR_Y_COUNT)
-#define pMDMA1_S1_IRQ_STATUS ((volatile unsigned short *)MDMA1_S1_IRQ_STATUS)
-#define pMDMA1_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA1_S1_PERIPHERAL_MAP)
-/* DMA2 Controller registers (0xFFC0 0C00-0xFFC0 0DFF) */
-#define pDMA2_0_CONFIG ((volatile unsigned short *)DMA2_0_CONFIG)
-#define pDMA2_0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_0_NEXT_DESC_PTR)
-#define pDMA2_0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_0_START_ADDR)
-#define pDMA2_0_X_COUNT ((volatile unsigned short *)DMA2_0_X_COUNT)
-#define pDMA2_0_Y_COUNT ((volatile unsigned short *)DMA2_0_Y_COUNT)
-#define pDMA2_0_X_MODIFY (volatile signed short *)DMA2_0_X_MODIFY
-#define pDMA2_0_Y_MODIFY (volatile signed short *)DMA2_0_Y_MODIFY
-#define pDMA2_0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_0_CURR_DESC_PTR)
-#define pDMA2_0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_0_CURR_ADDR)
-#define pDMA2_0_CURR_X_COUNT ((volatile unsigned short *)DMA2_0_CURR_X_COUNT)
-#define pDMA2_0_CURR_Y_COUNT ((volatile unsigned short *)DMA2_0_CURR_Y_COUNT)
-#define pDMA2_0_IRQ_STATUS ((volatile unsigned short *)DMA2_0_IRQ_STATUS)
-#define pDMA2_0_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_0_PERIPHERAL_MAP)
-#define pDMA2_1_CONFIG ((volatile unsigned short *)DMA2_1_CONFIG)
-#define pDMA2_1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_1_NEXT_DESC_PTR)
-#define pDMA2_1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_1_START_ADDR)
-#define pDMA2_1_X_COUNT ((volatile unsigned short *)DMA2_1_X_COUNT)
-#define pDMA2_1_Y_COUNT ((volatile unsigned short *)DMA2_1_Y_COUNT)
-#define pDMA2_1_X_MODIFY (volatile signed short *)DMA2_1_X_MODIFY
-#define pDMA2_1_Y_MODIFY (volatile signed short *)DMA2_1_Y_MODIFY
-#define pDMA2_1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_1_CURR_DESC_PTR)
-#define pDMA2_1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_1_CURR_ADDR)
-#define pDMA2_1_CURR_X_COUNT ((volatile unsigned short *)DMA2_1_CURR_X_COUNT)
-#define pDMA2_1_CURR_Y_COUNT ((volatile unsigned short *)DMA2_1_CURR_Y_COUNT)
-#define pDMA2_1_IRQ_STATUS ((volatile unsigned short *)DMA2_1_IRQ_STATUS)
-#define pDMA2_1_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_1_PERIPHERAL_MAP)
-#define pDMA2_2_CONFIG ((volatile unsigned short *)DMA2_2_CONFIG)
-#define pDMA2_2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_2_NEXT_DESC_PTR)
-#define pDMA2_2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_2_START_ADDR)
-#define pDMA2_2_X_COUNT ((volatile unsigned short *)DMA2_2_X_COUNT)
-#define pDMA2_2_Y_COUNT ((volatile unsigned short *)DMA2_2_Y_COUNT)
-#define pDMA2_2_X_MODIFY (volatile signed short *)DMA2_2_X_MODIFY
-#define pDMA2_2_Y_MODIFY (volatile signed short *)DMA2_2_Y_MODIFY
-#define pDMA2_2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_2_CURR_DESC_PTR)
-#define pDMA2_2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_2_CURR_ADDR)
-#define pDMA2_2_CURR_X_COUNT ((volatile unsigned short *)DMA2_2_CURR_X_COUNT)
-#define pDMA2_2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_2_CURR_Y_COUNT)
-#define pDMA2_2_IRQ_STATUS ((volatile unsigned short *)DMA2_2_IRQ_STATUS)
-#define pDMA2_2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_2_PERIPHERAL_MAP)
-#define pDMA2_3_CONFIG ((volatile unsigned short *)DMA2_3_CONFIG)
-#define pDMA2_3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_3_NEXT_DESC_PTR)
-#define pDMA2_3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_3_START_ADDR)
-#define pDMA2_3_X_COUNT ((volatile unsigned short *)DMA2_3_X_COUNT)
-#define pDMA2_3_Y_COUNT ((volatile unsigned short *)DMA2_3_Y_COUNT)
-#define pDMA2_3_X_MODIFY (volatile signed short *)DMA2_3_X_MODIFY
-#define pDMA2_3_Y_MODIFY (volatile signed short *)DMA2_3_Y_MODIFY
-#define pDMA2_3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_3_CURR_DESC_PTR)
-#define pDMA2_3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_3_CURR_ADDR)
-#define pDMA2_3_CURR_X_COUNT ((volatile unsigned short *)DMA2_3_CURR_X_COUNT)
-#define pDMA2_3_CURR_Y_COUNT ((volatile unsigned short *)DMA2_3_CURR_Y_COUNT)
-#define pDMA2_3_IRQ_STATUS ((volatile unsigned short *)DMA2_3_IRQ_STATUS)
-#define pDMA2_3_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_3_PERIPHERAL_MAP)
-#define pDMA2_4_CONFIG ((volatile unsigned short *)DMA2_4_CONFIG)
-#define pDMA2_4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_4_NEXT_DESC_PTR)
-#define pDMA2_4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_4_START_ADDR)
-#define pDMA2_4_X_COUNT ((volatile unsigned short *)DMA2_4_X_COUNT)
-#define pDMA2_4_Y_COUNT ((volatile unsigned short *)DMA2_4_Y_COUNT)
-#define pDMA2_4_X_MODIFY (volatile signed short *)DMA2_4_X_MODIFY
-#define pDMA2_4_Y_MODIFY (volatile signed short *)DMA2_4_Y_MODIFY
-#define pDMA2_4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_4_CURR_DESC_PTR)
-#define pDMA2_4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_4_CURR_ADDR)
-#define pDMA2_4_CURR_X_COUNT ((volatile unsigned short *)DMA2_4_CURR_X_COUNT)
-#define pDMA2_4_CURR_Y_COUNT ((volatile unsigned short *)DMA2_4_CURR_Y_COUNT)
-#define pDMA2_4_IRQ_STATUS ((volatile unsigned short *)DMA2_4_IRQ_STATUS)
-#define pDMA2_4_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_4_PERIPHERAL_MAP)
-#define pDMA2_5_CONFIG ((volatile unsigned short *)DMA2_5_CONFIG)
-#define pDMA2_5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_5_NEXT_DESC_PTR)
-#define pDMA2_5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_5_START_ADDR)
-#define pDMA2_5_X_COUNT ((volatile unsigned short *)DMA2_5_X_COUNT)
-#define pDMA2_5_Y_COUNT ((volatile unsigned short *)DMA2_5_Y_COUNT)
-#define pDMA2_5_X_MODIFY (volatile signed short *)DMA2_5_X_MODIFY
-#define pDMA2_5_Y_MODIFY (volatile signed short *)DMA2_5_Y_MODIFY
-#define pDMA2_5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_5_CURR_DESC_PTR)
-#define pDMA2_5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_5_CURR_ADDR)
-#define pDMA2_5_CURR_X_COUNT ((volatile unsigned short *)DMA2_5_CURR_X_COUNT)
-#define pDMA2_5_CURR_Y_COUNT ((volatile unsigned short *)DMA2_5_CURR_Y_COUNT)
-#define pDMA2_5_IRQ_STATUS ((volatile unsigned short *)DMA2_5_IRQ_STATUS)
-#define pDMA2_5_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_5_PERIPHERAL_MAP)
-#define pDMA2_6_CONFIG ((volatile unsigned short *)DMA2_6_CONFIG)
-#define pDMA2_6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_6_NEXT_DESC_PTR)
-#define pDMA2_6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_6_START_ADDR)
-#define pDMA2_6_X_COUNT ((volatile unsigned short *)DMA2_6_X_COUNT)
-#define pDMA2_6_Y_COUNT ((volatile unsigned short *)DMA2_6_Y_COUNT)
-#define pDMA2_6_X_MODIFY (volatile signed short *)DMA2_6_X_MODIFY
-#define pDMA2_6_Y_MODIFY (volatile signed short *)DMA2_6_Y_MODIFY
-#define pDMA2_6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_6_CURR_DESC_PTR)
-#define pDMA2_6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_6_CURR_ADDR)
-#define pDMA2_6_CURR_X_COUNT ((volatile unsigned short *)DMA2_6_CURR_X_COUNT)
-#define pDMA2_6_CURR_Y_COUNT ((volatile unsigned short *)DMA2_6_CURR_Y_COUNT)
-#define pDMA2_6_IRQ_STATUS ((volatile unsigned short *)DMA2_6_IRQ_STATUS)
-#define pDMA2_6_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_6_PERIPHERAL_MAP)
-#define pDMA2_7_CONFIG ((volatile unsigned short *)DMA2_7_CONFIG)
-#define pDMA2_7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_7_NEXT_DESC_PTR)
-#define pDMA2_7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_7_START_ADDR)
-#define pDMA2_7_X_COUNT ((volatile unsigned short *)DMA2_7_X_COUNT)
-#define pDMA2_7_Y_COUNT ((volatile unsigned short *)DMA2_7_Y_COUNT)
-#define pDMA2_7_X_MODIFY (volatile signed short *)DMA2_7_X_MODIFY
-#define pDMA2_7_Y_MODIFY (volatile signed short *)DMA2_7_Y_MODIFY
-#define pDMA2_7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_7_CURR_DESC_PTR)
-#define pDMA2_7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_7_CURR_ADDR)
-#define pDMA2_7_CURR_X_COUNT ((volatile unsigned short *)DMA2_7_CURR_X_COUNT)
-#define pDMA2_7_CURR_Y_COUNT ((volatile unsigned short *)DMA2_7_CURR_Y_COUNT)
-#define pDMA2_7_IRQ_STATUS ((volatile unsigned short *)DMA2_7_IRQ_STATUS)
-#define pDMA2_7_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_7_PERIPHERAL_MAP)
-#define pDMA2_8_CONFIG ((volatile unsigned short *)DMA2_8_CONFIG)
-#define pDMA2_8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_8_NEXT_DESC_PTR)
-#define pDMA2_8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_8_START_ADDR)
-#define pDMA2_8_X_COUNT ((volatile unsigned short *)DMA2_8_X_COUNT)
-#define pDMA2_8_Y_COUNT ((volatile unsigned short *)DMA2_8_Y_COUNT)
-#define pDMA2_8_X_MODIFY (volatile signed short *)DMA2_8_X_MODIFY
-#define pDMA2_8_Y_MODIFY (volatile signed short *)DMA2_8_Y_MODIFY
-#define pDMA2_8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_8_CURR_DESC_PTR)
-#define pDMA2_8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_8_CURR_ADDR)
-#define pDMA2_8_CURR_X_COUNT ((volatile unsigned short *)DMA2_8_CURR_X_COUNT)
-#define pDMA2_8_CURR_Y_COUNT ((volatile unsigned short *)DMA2_8_CURR_Y_COUNT)
-#define pDMA2_8_IRQ_STATUS ((volatile unsigned short *)DMA2_8_IRQ_STATUS)
-#define pDMA2_8_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_8_PERIPHERAL_MAP)
-#define pDMA2_9_CONFIG ((volatile unsigned short *)DMA2_9_CONFIG)
-#define pDMA2_9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_9_NEXT_DESC_PTR)
-#define pDMA2_9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_9_START_ADDR)
-#define pDMA2_9_X_COUNT ((volatile unsigned short *)DMA2_9_X_COUNT)
-#define pDMA2_9_Y_COUNT ((volatile unsigned short *)DMA2_9_Y_COUNT)
-#define pDMA2_9_X_MODIFY (volatile signed short *)DMA2_9_X_MODIFY
-#define pDMA2_9_Y_MODIFY (volatile signed short *)DMA2_9_Y_MODIFY
-#define pDMA2_9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_9_CURR_DESC_PTR)
-#define pDMA2_9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_9_CURR_ADDR)
-#define pDMA2_9_CURR_X_COUNT ((volatile unsigned short *)DMA2_9_CURR_X_COUNT)
-#define pDMA2_9_CURR_Y_COUNT ((volatile unsigned short *)DMA2_9_CURR_Y_COUNT)
-#define pDMA2_9_IRQ_STATUS ((volatile unsigned short *)DMA2_9_IRQ_STATUS)
-#define pDMA2_9_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_9_PERIPHERAL_MAP)
-#define pDMA2_10_CONFIG ((volatile unsigned short *)DMA2_10_CONFIG)
-#define pDMA2_10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_10_NEXT_DESC_PTR)
-#define pDMA2_10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_10_START_ADDR)
-#define pDMA2_10_X_COUNT ((volatile unsigned short *)DMA2_10_X_COUNT)
-#define pDMA2_10_Y_COUNT ((volatile unsigned short *)DMA2_10_Y_COUNT)
-#define pDMA2_10_X_MODIFY (volatile signed short *)DMA2_10_X_MODIFY
-#define pDMA2_10_Y_MODIFY (volatile signed short *)DMA2_10_Y_MODIFY
-#define pDMA2_10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_10_CURR_DESC_PTR)
-#define pDMA2_10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_10_CURR_ADDR)
-#define pDMA2_10_CURR_X_COUNT ((volatile unsigned short *)DMA2_10_CURR_X_COUNT)
-#define pDMA2_10_CURR_Y_COUNT ((volatile unsigned short *)DMA2_10_CURR_Y_COUNT)
-#define pDMA2_10_IRQ_STATUS ((volatile unsigned short *)DMA2_10_IRQ_STATUS)
-#define pDMA2_10_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_10_PERIPHERAL_MAP)
-#define pDMA2_11_CONFIG ((volatile unsigned short *)DMA2_11_CONFIG)
-#define pDMA2_11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_11_NEXT_DESC_PTR)
-#define pDMA2_11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_11_START_ADDR)
-#define pDMA2_11_X_COUNT ((volatile unsigned short *)DMA2_11_X_COUNT)
-#define pDMA2_11_Y_COUNT ((volatile unsigned short *)DMA2_11_Y_COUNT)
-#define pDMA2_11_X_MODIFY (volatile signed short *)DMA2_11_X_MODIFY
-#define pDMA2_11_Y_MODIFY (volatile signed short *)DMA2_11_Y_MODIFY
-#define pDMA2_11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_11_CURR_DESC_PTR)
-#define pDMA2_11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_11_CURR_ADDR)
-#define pDMA2_11_CURR_X_COUNT ((volatile unsigned short *)DMA2_11_CURR_X_COUNT)
-#define pDMA2_11_CURR_Y_COUNT ((volatile unsigned short *)DMA2_11_CURR_Y_COUNT)
-#define pDMA2_11_IRQ_STATUS ((volatile unsigned short *)DMA2_11_IRQ_STATUS)
-#define pDMA2_11_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_11_PERIPHERAL_MAP)
-/* Memory DMA2 Controller registers (0xFFC0 0E80-0xFFC0 0FFF) */
-#define pMDMA2_D0_CONFIG ((volatile unsigned short *)MDMA2_D0_CONFIG)
-#define pMDMA2_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_D0_NEXT_DESC_PTR)
-#define pMDMA2_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_D0_START_ADDR)
-#define pMDMA2_D0_X_COUNT ((volatile unsigned short *)MDMA2_D0_X_COUNT)
-#define pMDMA2_D0_Y_COUNT ((volatile unsigned short *)MDMA2_D0_Y_COUNT)
-#define pMDMA2_D0_X_MODIFY (volatile signed short *)MDMA2_D0_X_MODIFY
-#define pMDMA2_D0_Y_MODIFY (volatile signed short *)MDMA2_D0_Y_MODIFY
-#define pMDMA2_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_D0_CURR_DESC_PTR)
-#define pMDMA2_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_D0_CURR_ADDR)
-#define pMDMA2_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA2_D0_CURR_X_COUNT)
-#define pMDMA2_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA2_D0_CURR_Y_COUNT)
-#define pMDMA2_D0_IRQ_STATUS ((volatile unsigned short *)MDMA2_D0_IRQ_STATUS)
-#define pMDMA2_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA2_D0_PERIPHERAL_MAP)
-#define pMDMA2_S0_CONFIG ((volatile unsigned short *)MDMA2_S0_CONFIG)
-#define pMDMA2_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_S0_NEXT_DESC_PTR)
-#define pMDMA2_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_S0_START_ADDR)
-#define pMDMA2_S0_X_COUNT ((volatile unsigned short *)MDMA2_S0_X_COUNT)
-#define pMDMA2_S0_Y_COUNT ((volatile unsigned short *)MDMA2_S0_Y_COUNT)
-#define pMDMA2_S0_X_MODIFY (volatile signed short *)MDMA2_S0_X_MODIFY
-#define pMDMA2_S0_Y_MODIFY (volatile signed short *)MDMA2_S0_Y_MODIFY
-#define pMDMA2_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_S0_CURR_DESC_PTR)
-#define pMDMA2_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_S0_CURR_ADDR)
-#define pMDMA2_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA2_S0_CURR_X_COUNT)
-#define pMDMA2_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA2_S0_CURR_Y_COUNT)
-#define pMDMA2_S0_IRQ_STATUS ((volatile unsigned short *)MDMA2_S0_IRQ_STATUS)
-#define pMDMA2_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA2_S0_PERIPHERAL_MAP)
-#define pMDMA2_D1_CONFIG ((volatile unsigned short *)MDMA2_D1_CONFIG)
-#define pMDMA2_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_D1_NEXT_DESC_PTR)
-#define pMDMA2_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_D1_START_ADDR)
-#define pMDMA2_D1_X_COUNT ((volatile unsigned short *)MDMA2_D1_X_COUNT)
-#define pMDMA2_D1_Y_COUNT ((volatile unsigned short *)MDMA2_D1_Y_COUNT)
-#define pMDMA2_D1_X_MODIFY (volatile signed short *)MDMA2_D1_X_MODIFY
-#define pMDMA2_D1_Y_MODIFY (volatile signed short *)MDMA2_D1_Y_MODIFY
-#define pMDMA2_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_D1_CURR_DESC_PTR)
-#define pMDMA2_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_D1_CURR_ADDR)
-#define pMDMA2_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA2_D1_CURR_X_COUNT)
-#define pMDMA2_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA2_D1_CURR_Y_COUNT)
-#define pMDMA2_D1_IRQ_STATUS ((volatile unsigned short *)MDMA2_D1_IRQ_STATUS)
-#define pMDMA2_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA2_D1_PERIPHERAL_MAP)
-#define pMDMA2_S1_CONFIG ((volatile unsigned short *)MDMA2_S1_CONFIG)
-#define pMDMA2_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_S1_NEXT_DESC_PTR)
-#define pMDMA2_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_S1_START_ADDR)
-#define pMDMA2_S1_X_COUNT ((volatile unsigned short *)MDMA2_S1_X_COUNT)
-#define pMDMA2_S1_Y_COUNT ((volatile unsigned short *)MDMA2_S1_Y_COUNT)
-#define pMDMA2_S1_X_MODIFY (volatile signed short *)MDMA2_S1_X_MODIFY
-#define pMDMA2_S1_Y_MODIFY (volatile signed short *)MDMA2_S1_Y_MODIFY
-#define pMDMA2_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA2_S1_CURR_DESC_PTR)
-#define pMDMA2_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA2_S1_CURR_ADDR)
-#define pMDMA2_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA2_S1_CURR_X_COUNT)
-#define pMDMA2_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA2_S1_CURR_Y_COUNT)
-#define pMDMA2_S1_IRQ_STATUS ((volatile unsigned short *)MDMA2_S1_IRQ_STATUS)
-#define pMDMA2_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA2_S1_PERIPHERAL_MAP)
-/* Internal Memory DMA Registers (0xFFC0_1800 - 0xFFC0_19FF) */
-#define pIMDMA_D0_CONFIG ((volatile unsigned short *)IMDMA_D0_CONFIG)
-#define pIMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_D0_NEXT_DESC_PTR)
-#define pIMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_D0_START_ADDR)
-#define pIMDMA_D0_X_COUNT ((volatile unsigned short *)IMDMA_D0_X_COUNT)
-#define pIMDMA_D0_Y_COUNT ((volatile unsigned short *)IMDMA_D0_Y_COUNT)
-#define pIMDMA_D0_X_MODIFY (volatile signed short *)IMDMA_D0_X_MODIFY
-#define pIMDMA_D0_Y_MODIFY (volatile signed short *)IMDMA_D0_Y_MODIFY
-#define pIMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_D0_CURR_DESC_PTR)
-#define pIMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_D0_CURR_ADDR)
-#define pIMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)IMDMA_D0_CURR_X_COUNT)
-#define pIMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)IMDMA_D0_CURR_Y_COUNT)
-#define pIMDMA_D0_IRQ_STATUS ((volatile unsigned short *)IMDMA_D0_IRQ_STATUS)
-#define pIMDMA_S0_CONFIG ((volatile unsigned short *)IMDMA_S0_CONFIG)
-#define pIMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_S0_NEXT_DESC_PTR)
-#define pIMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_S0_START_ADDR)
-#define pIMDMA_S0_X_COUNT ((volatile unsigned short *)IMDMA_S0_X_COUNT)
-#define pIMDMA_S0_Y_COUNT ((volatile unsigned short *)IMDMA_S0_Y_COUNT)
-#define pIMDMA_S0_X_MODIFY (volatile signed short *)IMDMA_S0_X_MODIFY
-#define pIMDMA_S0_Y_MODIFY (volatile signed short *)IMDMA_S0_Y_MODIFY
-#define pIMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_S0_CURR_DESC_PTR)
-#define pIMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_S0_CURR_ADDR)
-#define pIMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)IMDMA_S0_CURR_X_COUNT)
-#define pIMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)IMDMA_S0_CURR_Y_COUNT)
-#define pIMDMA_S0_IRQ_STATUS ((volatile unsigned short *)IMDMA_S0_IRQ_STATUS)
-#define pIMDMA_D1_CONFIG ((volatile unsigned short *)IMDMA_D1_CONFIG)
-#define pIMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_D1_NEXT_DESC_PTR)
-#define pIMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_D1_START_ADDR)
-#define pIMDMA_D1_X_COUNT ((volatile unsigned short *)IMDMA_D1_X_COUNT)
-#define pIMDMA_D1_Y_COUNT ((volatile unsigned short *)IMDMA_D1_Y_COUNT)
-#define pIMDMA_D1_X_MODIFY (volatile signed short *)IMDMA_D1_X_MODIFY
-#define pIMDMA_D1_Y_MODIFY (volatile signed short *)IMDMA_D1_Y_MODIFY
-#define pIMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_D1_CURR_DESC_PTR)
-#define pIMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_D1_CURR_ADDR)
-#define pIMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)IMDMA_D1_CURR_X_COUNT)
-#define pIMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)IMDMA_D1_CURR_Y_COUNT)
-#define pIMDMA_D1_IRQ_STATUS ((volatile unsigned short *)IMDMA_D1_IRQ_STATUS)
-#define pIMDMA_S1_CONFIG ((volatile unsigned short *)IMDMA_S1_CONFIG)
-#define pIMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_S1_NEXT_DESC_PTR)
-#define pIMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_S1_START_ADDR)
-#define pIMDMA_S1_X_COUNT ((volatile unsigned short *)IMDMA_S1_X_COUNT)
-#define pIMDMA_S1_Y_COUNT ((volatile unsigned short *)IMDMA_S1_Y_COUNT)
-#define pIMDMA_S1_X_MODIFY (volatile signed short *)IMDMA_S1_X_MODIFY
-#define pIMDMA_S1_Y_MODIFY (volatile signed short *)IMDMA_S1_Y_MODIFY
-#define pIMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR IMDMA_S1_CURR_DESC_PTR)
-#define pIMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR IMDMA_S1_CURR_ADDR)
-#define pIMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)IMDMA_S1_CURR_X_COUNT)
-#define pIMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)IMDMA_S1_CURR_Y_COUNT)
-#define pIMDMA_S1_IRQ_STATUS ((volatile unsigned short *)IMDMA_S1_IRQ_STATUS)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BF561_H */
diff --git a/libgloss/bfin/include/cdefBF592-A.h b/libgloss/bfin/include/cdefBF592-A.h
deleted file mode 100644
index ba78c11..0000000
--- a/libgloss/bfin/include/cdefBF592-A.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF592-A peripherals.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _CDEF_BF592A_H
-#define _CDEF_BF592A_H
-
-/* include parts registers and bit definitions */
-#include <defBF592-A.h>
-
-/* include the core specific definitions */
-#include <cdef_LPBlackfin.h>
-
-/* include the family common definitions */
-#include <cdefBF59x_base.h>
-
-#endif /* _CDEF_BF592A_H */
diff --git a/libgloss/bfin/include/cdefBF59x_base.h b/libgloss/bfin/include/cdefBF59x_base.h
deleted file mode 100644
index 3dbfaa3..0000000
--- a/libgloss/bfin/include/cdefBF59x_base.h
+++ /dev/null
@@ -1,468 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** cdefBF59x_base.h
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF59x peripherals.
-**
-***************************************************************/
-
-#ifndef _CDEF_BF59x_H
-#define _CDEF_BF59x_H
-
-#include <defBF59x_base.h>
-#include <stdint.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define pPLL_CTL ((volatile uint16_t *)PLL_CTL)
-#define pPLL_DIV ((volatile uint16_t *)PLL_DIV)
-#define pVR_CTL ((volatile uint16_t *)VR_CTL)
-#define pPLL_STAT ((volatile uint16_t *)PLL_STAT)
-#define pPLL_LOCKCNT ((volatile uint16_t *)PLL_LOCKCNT)
-#define pCHIPID ((volatile uint32_t *)CHIPID)
-#define pAUX_REVID ((volatile uint32_t *)AUX_REVID)
-
-
-/* System Interrupt Controller(0xFFC00100 - 0xFFC001FF) */
-#define pSWRST ((volatile uint16_t *)SWRST)
-#define pSYSCR ((volatile uint16_t *)SYSCR)
-
-#define pSIC_IMASK0 ((volatile uint32_t *)SIC_IMASK0)
-#define pSIC_IAR0 ((volatile uint32_t *)SIC_IAR0)
-#define pSIC_IAR1 ((volatile uint32_t *)SIC_IAR1)
-#define pSIC_IAR2 ((volatile uint32_t *)SIC_IAR2)
-#define pSIC_IAR3 ((volatile uint32_t *)SIC_IAR3)
-#define pSIC_ISR0 ((volatile uint32_t *)SIC_ISR0)
-#define pSIC_IWR0 ((volatile uint32_t *)SIC_IWR0)
-
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IMASK ((volatile uint32_t *)SIC_IMASK0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_ISR ((volatile uint32_t *)SIC_ISR0)
-/* legacy register name (below) provided for backwards code compatibility */
-#define pSIC_IWR ((volatile uint32_t *)SIC_IWR0)
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define pWDOG_CTL ((volatile uint16_t *)WDOG_CTL)
-#define pWDOG_CNT ((volatile uint32_t *)WDOG_CNT)
-#define pWDOG_STAT ((volatile uint32_t *)WDOG_STAT)
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define pUART0_THR ((volatile uint16_t *)UART0_THR)
-#define pUART0_RBR ((volatile uint16_t *)UART0_RBR)
-#define pUART0_DLL ((volatile uint16_t *)UART0_DLL)
-#define pUART0_IER ((volatile uint16_t *)UART0_IER)
-#define pUART0_DLH ((volatile uint16_t *)UART0_DLH)
-#define pUART0_IIR ((volatile uint16_t *)UART0_IIR)
-#define pUART0_LCR ((volatile uint16_t *)UART0_LCR)
-#define pUART0_MCR ((volatile uint16_t *)UART0_MCR)
-#define pUART0_LSR ((volatile uint16_t *)UART0_LSR)
-#define pUART0_SCR ((volatile uint16_t *)UART0_SCR)
-#define pUART0_GCTL ((volatile uint16_t *)UART0_GCTL)
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF)*/
-#define pSPI0_CTL ((volatile uint16_t *)SPI0_CTL)
-#define pSPI0_FLG ((volatile uint16_t *)SPI0_FLG)
-#define pSPI0_STAT ((volatile uint16_t *)SPI0_STAT)
-#define pSPI0_TDBR ((volatile uint16_t *)SPI0_TDBR)
-#define pSPI0_RDBR ((volatile uint16_t *)SPI0_RDBR)
-#define pSPI0_BAUD ((volatile uint16_t *)SPI0_BAUD)
-#define pSPI0_SHADOW ((volatile uint16_t *)SPI0_SHADOW)
-
-
-/* SPI1 Controller (0xFFC01300 - 0xFFC013FF)*/
-#define pSPI1_CTL ((volatile uint16_t *)SPI1_CTL)
-#define pSPI1_FLG ((volatile uint16_t *)SPI1_FLG)
-#define pSPI1_STAT ((volatile uint16_t *)SPI1_STAT)
-#define pSPI1_TDBR ((volatile uint16_t *)SPI1_TDBR)
-#define pSPI1_RDBR ((volatile uint16_t *)SPI1_RDBR)
-#define pSPI1_BAUD ((volatile uint16_t *)SPI1_BAUD)
-#define pSPI1_SHADOW ((volatile uint16_t *)SPI1_SHADOW)
-
-
-/* TIMER0-2 Registers (0xFFC00600 - 0xFFC006FF) */
-#define pTIMER0_CONFIG ((volatile uint16_t *)TIMER0_CONFIG)
-#define pTIMER0_COUNTER ((volatile uint32_t *)TIMER0_COUNTER)
-#define pTIMER0_PERIOD ((volatile uint32_t *)TIMER0_PERIOD)
-#define pTIMER0_WIDTH ((volatile uint32_t *)TIMER0_WIDTH)
-
-#define pTIMER1_CONFIG ((volatile uint16_t *)TIMER1_CONFIG)
-#define pTIMER1_COUNTER ((volatile uint32_t *)TIMER1_COUNTER)
-#define pTIMER1_PERIOD ((volatile uint32_t *)TIMER1_PERIOD)
-#define pTIMER1_WIDTH ((volatile uint32_t *)TIMER1_WIDTH)
-
-#define pTIMER2_CONFIG ((volatile uint16_t *)TIMER2_CONFIG)
-#define pTIMER2_COUNTER ((volatile uint32_t *)TIMER2_COUNTER)
-#define pTIMER2_PERIOD ((volatile uint32_t *)TIMER2_PERIOD)
-#define pTIMER2_WIDTH ((volatile uint32_t *)TIMER2_WIDTH)
-
-#define pTIMER_ENABLE ((volatile uint16_t *)TIMER_ENABLE)
-#define pTIMER_DISABLE ((volatile uint16_t *)TIMER_DISABLE)
-#define pTIMER_STATUS ((volatile uint16_t *)TIMER_STATUS)
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define pPORTFIO ((volatile uint16_t *)PORTFIO)
-#define pPORTFIO_CLEAR ((volatile uint16_t *)PORTFIO_CLEAR)
-#define pPORTFIO_SET ((volatile uint16_t *)PORTFIO_SET)
-#define pPORTFIO_TOGGLE ((volatile uint16_t *)PORTFIO_TOGGLE)
-#define pPORTFIO_MASKA ((volatile uint16_t *)PORTFIO_MASKA)
-#define pPORTFIO_MASKA_CLEAR ((volatile uint16_t *)PORTFIO_MASKA_CLEAR)
-#define pPORTFIO_MASKA_SET ((volatile uint16_t *)PORTFIO_MASKA_SET)
-#define pPORTFIO_MASKA_TOGGLE ((volatile uint16_t *)PORTFIO_MASKA_TOGGLE)
-#define pPORTFIO_MASKB ((volatile uint16_t *)PORTFIO_MASKB)
-#define pPORTFIO_MASKB_CLEAR ((volatile uint16_t *)PORTFIO_MASKB_CLEAR)
-#define pPORTFIO_MASKB_SET ((volatile uint16_t *)PORTFIO_MASKB_SET)
-#define pPORTFIO_MASKB_TOGGLE ((volatile uint16_t *)PORTFIO_MASKB_TOGGLE)
-#define pPORTFIO_DIR ((volatile uint16_t *)PORTFIO_DIR)
-#define pPORTFIO_POLAR ((volatile uint16_t *)PORTFIO_POLAR)
-#define pPORTFIO_EDGE ((volatile uint16_t *)PORTFIO_EDGE)
-#define pPORTFIO_BOTH ((volatile uint16_t *)PORTFIO_BOTH)
-#define pPORTFIO_INEN ((volatile uint16_t *)PORTFIO_INEN)
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define pPORTGIO ((volatile uint16_t *)PORTGIO)
-#define pPORTGIO_CLEAR ((volatile uint16_t *)PORTGIO_CLEAR)
-#define pPORTGIO_SET ((volatile uint16_t *)PORTGIO_SET)
-#define pPORTGIO_TOGGLE ((volatile uint16_t *)PORTGIO_TOGGLE)
-#define pPORTGIO_MASKA ((volatile uint16_t *)PORTGIO_MASKA)
-#define pPORTGIO_MASKA_CLEAR ((volatile uint16_t *)PORTGIO_MASKA_CLEAR)
-#define pPORTGIO_MASKA_SET ((volatile uint16_t *)PORTGIO_MASKA_SET)
-#define pPORTGIO_MASKA_TOGGLE ((volatile uint16_t *)PORTGIO_MASKA_TOGGLE)
-#define pPORTGIO_MASKB ((volatile uint16_t *)PORTGIO_MASKB)
-#define pPORTGIO_MASKB_CLEAR ((volatile uint16_t *)PORTGIO_MASKB_CLEAR)
-#define pPORTGIO_MASKB_SET ((volatile uint16_t *)PORTGIO_MASKB_SET)
-#define pPORTGIO_MASKB_TOGGLE ((volatile uint16_t *)PORTGIO_MASKB_TOGGLE)
-#define pPORTGIO_DIR ((volatile uint16_t *)PORTGIO_DIR)
-#define pPORTGIO_POLAR ((volatile uint16_t *)PORTGIO_POLAR)
-#define pPORTGIO_EDGE ((volatile uint16_t *)PORTGIO_EDGE)
-#define pPORTGIO_BOTH ((volatile uint16_t *)PORTGIO_BOTH)
-#define pPORTGIO_INEN ((volatile uint16_t *)PORTGIO_INEN)
-
-
-/* Pin Control Registers (0xFFC01100 - 0xFFC012FF) */
-#define pPORTF_FER ((volatile uint16_t *)PORTF_FER)
-#define pPORTF_MUX ((volatile uint16_t *)PORTF_MUX)
-#define pPORTF_PADCTL ((volatile uint16_t *)PORTF_PADCTL)
-#define pPORTG_FER ((volatile uint16_t *)PORTG_FER)
-#define pPORTG_MUX ((volatile uint16_t *)PORTG_MUX)
-#define pPORTG_PADCTL ((volatile uint16_t *)PORTG_PADCTL)
-
-/* SPORT Clock Gating (0xFFC0120C) */
-#define pSPORT_GATECLK ((volatile uint16_t *)SPORT_GATECLK)
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define pSPORT0_TCR1 ((volatile uint16_t *)SPORT0_TCR1)
-#define pSPORT0_TCR2 ((volatile uint16_t *)SPORT0_TCR2)
-#define pSPORT0_TCLKDIV ((volatile uint16_t *)SPORT0_TCLKDIV)
-#define pSPORT0_TFSDIV ((volatile uint16_t *)SPORT0_TFSDIV)
-#define pSPORT0_TX ((volatile uint32_t *)SPORT0_TX)
-#define pSPORT0_RX ((volatile uint32_t *)SPORT0_RX)
-#define pSPORT0_TX32 ((volatile uint32_t *)SPORT0_TX)
-#define pSPORT0_RX32 ((volatile uint32_t *)SPORT0_RX)
-#define pSPORT0_TX16 ((volatile uint16_t *)SPORT0_TX)
-#define pSPORT0_RX16 ((volatile uint16_t *)SPORT0_RX)
-#define pSPORT0_RCR1 ((volatile uint16_t *)SPORT0_RCR1)
-#define pSPORT0_RCR2 ((volatile uint16_t *)SPORT0_RCR2)
-#define pSPORT0_RCLKDIV ((volatile uint16_t *)SPORT0_RCLKDIV)
-#define pSPORT0_RFSDIV ((volatile uint16_t *)SPORT0_RFSDIV)
-#define pSPORT0_STAT ((volatile uint16_t *)SPORT0_STAT)
-#define pSPORT0_CHNL ((volatile uint16_t *)SPORT0_CHNL)
-#define pSPORT0_MCMC1 ((volatile uint16_t *)SPORT0_MCMC1)
-#define pSPORT0_MCMC2 ((volatile uint16_t *)SPORT0_MCMC2)
-#define pSPORT0_MTCS0 ((volatile uint32_t *)SPORT0_MTCS0)
-#define pSPORT0_MTCS1 ((volatile uint32_t *)SPORT0_MTCS1)
-#define pSPORT0_MTCS2 ((volatile uint32_t *)SPORT0_MTCS2)
-#define pSPORT0_MTCS3 ((volatile uint32_t *)SPORT0_MTCS3)
-#define pSPORT0_MRCS0 ((volatile uint32_t *)SPORT0_MRCS0)
-#define pSPORT0_MRCS1 ((volatile uint32_t *)SPORT0_MRCS1)
-#define pSPORT0_MRCS2 ((volatile uint32_t *)SPORT0_MRCS2)
-#define pSPORT0_MRCS3 ((volatile uint32_t *)SPORT0_MRCS3)
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define pSPORT1_TCR1 ((volatile uint16_t *)SPORT1_TCR1)
-#define pSPORT1_TCR2 ((volatile uint16_t *)SPORT1_TCR2)
-#define pSPORT1_TCLKDIV ((volatile uint16_t *)SPORT1_TCLKDIV)
-#define pSPORT1_TFSDIV ((volatile uint16_t *)SPORT1_TFSDIV)
-#define pSPORT1_TX ((volatile uint32_t *)SPORT1_TX)
-#define pSPORT1_RX ((volatile uint32_t *)SPORT1_RX)
-#define pSPORT1_TX32 ((volatile uint32_t *)SPORT1_TX)
-#define pSPORT1_RX32 ((volatile uint32_t *)SPORT1_RX)
-#define pSPORT1_TX16 ((volatile uint16_t *)SPORT1_TX)
-#define pSPORT1_RX16 ((volatile uint16_t *)SPORT1_RX)
-#define pSPORT1_RCR1 ((volatile uint16_t *)SPORT1_RCR1)
-#define pSPORT1_RCR2 ((volatile uint16_t *)SPORT1_RCR2)
-#define pSPORT1_RCLKDIV ((volatile uint16_t *)SPORT1_RCLKDIV)
-#define pSPORT1_RFSDIV ((volatile uint16_t *)SPORT1_RFSDIV)
-#define pSPORT1_STAT ((volatile uint16_t *)SPORT1_STAT)
-#define pSPORT1_CHNL ((volatile uint16_t *)SPORT1_CHNL)
-#define pSPORT1_MCMC1 ((volatile uint16_t *)SPORT1_MCMC1)
-#define pSPORT1_MCMC2 ((volatile uint16_t *)SPORT1_MCMC2)
-#define pSPORT1_MTCS0 ((volatile uint32_t *)SPORT1_MTCS0)
-#define pSPORT1_MTCS1 ((volatile uint32_t *)SPORT1_MTCS1)
-#define pSPORT1_MTCS2 ((volatile uint32_t *)SPORT1_MTCS2)
-#define pSPORT1_MTCS3 ((volatile uint32_t *)SPORT1_MTCS3)
-#define pSPORT1_MRCS0 ((volatile uint32_t *)SPORT1_MRCS0)
-#define pSPORT1_MRCS1 ((volatile uint32_t *)SPORT1_MRCS1)
-#define pSPORT1_MRCS2 ((volatile uint32_t *)SPORT1_MRCS2)
-#define pSPORT1_MRCS3 ((volatile uint32_t *)SPORT1_MRCS3)
-
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define pDMA_TC_PER ((volatile uint16_t *)DMA_TC_PER)
-#define pDMA_TC_CNT ((volatile uint16_t *)DMA_TC_CNT)
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define pDMA_TCPER ((volatile uint16_t *)DMA_TCPER)
-#define pDMA_TCCNT ((volatile uint16_t *)DMA_TCCNT)
-
-/* DMA Controller (0xFFC00C00 - FFC00FFF)*/
-#define pDMA0_CONFIG ((volatile uint16_t *)DMA0_CONFIG)
-#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
-#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
-#define pDMA0_X_COUNT ((volatile uint16_t *)DMA0_X_COUNT)
-#define pDMA0_Y_COUNT ((volatile uint16_t *)DMA0_Y_COUNT)
-#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
-#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
-#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
-#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
-#define pDMA0_CURR_X_COUNT ((volatile uint16_t *)DMA0_CURR_X_COUNT)
-#define pDMA0_CURR_Y_COUNT ((volatile uint16_t *)DMA0_CURR_Y_COUNT)
-#define pDMA0_IRQ_STATUS ((volatile uint16_t *)DMA0_IRQ_STATUS)
-#define pDMA0_PERIPHERAL_MAP ((volatile uint16_t *)DMA0_PERIPHERAL_MAP)
-
-#define pDMA1_CONFIG ((volatile uint16_t *)DMA1_CONFIG)
-#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
-#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
-#define pDMA1_X_COUNT ((volatile uint16_t *)DMA1_X_COUNT)
-#define pDMA1_Y_COUNT ((volatile uint16_t *)DMA1_Y_COUNT)
-#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
-#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
-#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
-#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
-#define pDMA1_CURR_X_COUNT ((volatile uint16_t *)DMA1_CURR_X_COUNT)
-#define pDMA1_CURR_Y_COUNT ((volatile uint16_t *)DMA1_CURR_Y_COUNT)
-#define pDMA1_IRQ_STATUS ((volatile uint16_t *)DMA1_IRQ_STATUS)
-#define pDMA1_PERIPHERAL_MAP ((volatile uint16_t *)DMA1_PERIPHERAL_MAP)
-
-#define pDMA2_CONFIG ((volatile uint16_t *)DMA2_CONFIG)
-#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
-#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
-#define pDMA2_X_COUNT ((volatile uint16_t *)DMA2_X_COUNT)
-#define pDMA2_Y_COUNT ((volatile uint16_t *)DMA2_Y_COUNT)
-#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
-#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
-#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
-#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
-#define pDMA2_CURR_X_COUNT ((volatile uint16_t *)DMA2_CURR_X_COUNT)
-#define pDMA2_CURR_Y_COUNT ((volatile uint16_t *)DMA2_CURR_Y_COUNT)
-#define pDMA2_IRQ_STATUS ((volatile uint16_t *)DMA2_IRQ_STATUS)
-#define pDMA2_PERIPHERAL_MAP ((volatile uint16_t *)DMA2_PERIPHERAL_MAP)
-
-#define pDMA3_CONFIG ((volatile uint16_t *)DMA3_CONFIG)
-#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
-#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
-#define pDMA3_X_COUNT ((volatile uint16_t *)DMA3_X_COUNT)
-#define pDMA3_Y_COUNT ((volatile uint16_t *)DMA3_Y_COUNT)
-#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
-#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
-#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
-#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
-#define pDMA3_CURR_X_COUNT ((volatile uint16_t *)DMA3_CURR_X_COUNT)
-#define pDMA3_CURR_Y_COUNT ((volatile uint16_t *)DMA3_CURR_Y_COUNT)
-#define pDMA3_IRQ_STATUS ((volatile uint16_t *)DMA3_IRQ_STATUS)
-#define pDMA3_PERIPHERAL_MAP ((volatile uint16_t *)DMA3_PERIPHERAL_MAP)
-
-#define pDMA4_CONFIG ((volatile uint16_t *)DMA4_CONFIG)
-#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
-#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
-#define pDMA4_X_COUNT ((volatile uint16_t *)DMA4_X_COUNT)
-#define pDMA4_Y_COUNT ((volatile uint16_t *)DMA4_Y_COUNT)
-#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
-#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
-#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
-#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
-#define pDMA4_CURR_X_COUNT ((volatile uint16_t *)DMA4_CURR_X_COUNT)
-#define pDMA4_CURR_Y_COUNT ((volatile uint16_t *)DMA4_CURR_Y_COUNT)
-#define pDMA4_IRQ_STATUS ((volatile uint16_t *)DMA4_IRQ_STATUS)
-#define pDMA4_PERIPHERAL_MAP ((volatile uint16_t *)DMA4_PERIPHERAL_MAP)
-
-#define pDMA5_CONFIG ((volatile uint16_t *)DMA5_CONFIG)
-#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
-#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
-#define pDMA5_X_COUNT ((volatile uint16_t *)DMA5_X_COUNT)
-#define pDMA5_Y_COUNT ((volatile uint16_t *)DMA5_Y_COUNT)
-#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
-#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
-#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
-#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
-#define pDMA5_CURR_X_COUNT ((volatile uint16_t *)DMA5_CURR_X_COUNT)
-#define pDMA5_CURR_Y_COUNT ((volatile uint16_t *)DMA5_CURR_Y_COUNT)
-#define pDMA5_IRQ_STATUS ((volatile uint16_t *)DMA5_IRQ_STATUS)
-#define pDMA5_PERIPHERAL_MAP ((volatile uint16_t *)DMA5_PERIPHERAL_MAP)
-
-#define pDMA6_CONFIG ((volatile uint16_t *)DMA6_CONFIG)
-#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
-#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
-#define pDMA6_X_COUNT ((volatile uint16_t *)DMA6_X_COUNT)
-#define pDMA6_Y_COUNT ((volatile uint16_t *)DMA6_Y_COUNT)
-#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
-#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
-#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
-#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
-#define pDMA6_CURR_X_COUNT ((volatile uint16_t *)DMA6_CURR_X_COUNT)
-#define pDMA6_CURR_Y_COUNT ((volatile uint16_t *)DMA6_CURR_Y_COUNT)
-#define pDMA6_IRQ_STATUS ((volatile uint16_t *)DMA6_IRQ_STATUS)
-#define pDMA6_PERIPHERAL_MAP ((volatile uint16_t *)DMA6_PERIPHERAL_MAP)
-
-#define pDMA7_CONFIG ((volatile uint16_t *)DMA7_CONFIG)
-#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
-#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
-#define pDMA7_X_COUNT ((volatile uint16_t *)DMA7_X_COUNT)
-#define pDMA7_Y_COUNT ((volatile uint16_t *)DMA7_Y_COUNT)
-#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
-#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
-#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
-#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
-#define pDMA7_CURR_X_COUNT ((volatile uint16_t *)DMA7_CURR_X_COUNT)
-#define pDMA7_CURR_Y_COUNT ((volatile uint16_t *)DMA7_CURR_Y_COUNT)
-#define pDMA7_IRQ_STATUS ((volatile uint16_t *)DMA7_IRQ_STATUS)
-#define pDMA7_PERIPHERAL_MAP ((volatile uint16_t *)DMA7_PERIPHERAL_MAP)
-
-#define pDMA8_CONFIG ((volatile uint16_t *)DMA8_CONFIG)
-#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
-#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
-#define pDMA8_X_COUNT ((volatile uint16_t *)DMA8_X_COUNT)
-#define pDMA8_Y_COUNT ((volatile uint16_t *)DMA8_Y_COUNT)
-#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
-#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
-#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
-#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
-#define pDMA8_CURR_X_COUNT ((volatile uint16_t *)DMA8_CURR_X_COUNT)
-#define pDMA8_CURR_Y_COUNT ((volatile uint16_t *)DMA8_CURR_Y_COUNT)
-#define pDMA8_IRQ_STATUS ((volatile uint16_t *)DMA8_IRQ_STATUS)
-#define pDMA8_PERIPHERAL_MAP ((volatile uint16_t *)DMA8_PERIPHERAL_MAP)
-
-#define pMDMA_D0_CONFIG ((volatile uint16_t *)MDMA_D0_CONFIG)
-#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
-#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
-#define pMDMA_D0_X_COUNT ((volatile uint16_t *)MDMA_D0_X_COUNT)
-#define pMDMA_D0_Y_COUNT ((volatile uint16_t *)MDMA_D0_Y_COUNT)
-#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
-#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
-#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
-#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
-#define pMDMA_D0_CURR_X_COUNT ((volatile uint16_t *)MDMA_D0_CURR_X_COUNT)
-#define pMDMA_D0_CURR_Y_COUNT ((volatile uint16_t *)MDMA_D0_CURR_Y_COUNT)
-#define pMDMA_D0_IRQ_STATUS ((volatile uint16_t *)MDMA_D0_IRQ_STATUS)
-#define pMDMA_D0_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_D0_PERIPHERAL_MAP)
-
-#define pMDMA_S0_CONFIG ((volatile uint16_t *)MDMA_S0_CONFIG)
-#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
-#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
-#define pMDMA_S0_X_COUNT ((volatile uint16_t *)MDMA_S0_X_COUNT)
-#define pMDMA_S0_Y_COUNT ((volatile uint16_t *)MDMA_S0_Y_COUNT)
-#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
-#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
-#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
-#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
-#define pMDMA_S0_CURR_X_COUNT ((volatile uint16_t *)MDMA_S0_CURR_X_COUNT)
-#define pMDMA_S0_CURR_Y_COUNT ((volatile uint16_t *)MDMA_S0_CURR_Y_COUNT)
-#define pMDMA_S0_IRQ_STATUS ((volatile uint16_t *)MDMA_S0_IRQ_STATUS)
-#define pMDMA_S0_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_S0_PERIPHERAL_MAP)
-
-#define pMDMA_D1_CONFIG ((volatile uint16_t *)MDMA_D1_CONFIG)
-#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
-#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
-#define pMDMA_D1_X_COUNT ((volatile uint16_t *)MDMA_D1_X_COUNT)
-#define pMDMA_D1_Y_COUNT ((volatile uint16_t *)MDMA_D1_Y_COUNT)
-#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
-#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
-#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
-#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
-#define pMDMA_D1_CURR_X_COUNT ((volatile uint16_t *)MDMA_D1_CURR_X_COUNT)
-#define pMDMA_D1_CURR_Y_COUNT ((volatile uint16_t *)MDMA_D1_CURR_Y_COUNT)
-#define pMDMA_D1_IRQ_STATUS ((volatile uint16_t *)MDMA_D1_IRQ_STATUS)
-#define pMDMA_D1_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_D1_PERIPHERAL_MAP)
-
-#define pMDMA_S1_CONFIG ((volatile uint16_t *)MDMA_S1_CONFIG)
-#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
-#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
-#define pMDMA_S1_X_COUNT ((volatile uint16_t *)MDMA_S1_X_COUNT)
-#define pMDMA_S1_Y_COUNT ((volatile uint16_t *)MDMA_S1_Y_COUNT)
-#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
-#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
-#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
-#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
-#define pMDMA_S1_CURR_X_COUNT ((volatile uint16_t *)MDMA_S1_CURR_X_COUNT)
-#define pMDMA_S1_CURR_Y_COUNT ((volatile uint16_t *)MDMA_S1_CURR_Y_COUNT)
-#define pMDMA_S1_IRQ_STATUS ((volatile uint16_t *)MDMA_S1_IRQ_STATUS)
-#define pMDMA_S1_PERIPHERAL_MAP ((volatile uint16_t *)MDMA_S1_PERIPHERAL_MAP)
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define pPPI_CONTROL ((volatile uint16_t *)PPI_CONTROL)
-#define pPPI_STATUS ((volatile uint16_t *)PPI_STATUS)
-#define pPPI_DELAY ((volatile uint16_t *)PPI_DELAY)
-#define pPPI_COUNT ((volatile uint16_t *)PPI_COUNT)
-#define pPPI_FRAME ((volatile uint16_t *)PPI_FRAME)
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define pTWI_CLKDIV ((volatile uint16_t *)TWI_CLKDIV)
-#define pTWI_CONTROL ((volatile uint16_t *)TWI_CONTROL)
-#define pTWI_SLAVE_CTL ((volatile uint16_t *)TWI_SLAVE_CTL)
-#define pTWI_SLAVE_STAT ((volatile uint16_t *)TWI_SLAVE_STAT)
-#define pTWI_SLAVE_ADDR ((volatile uint16_t *)TWI_SLAVE_ADDR)
-#define pTWI_MASTER_CTL ((volatile uint16_t *)TWI_MASTER_CTL)
-#define pTWI_MASTER_STAT ((volatile uint16_t *)TWI_MASTER_STAT)
-#define pTWI_MASTER_ADDR ((volatile uint16_t *)TWI_MASTER_ADDR)
-#define pTWI_INT_STAT ((volatile uint16_t *)TWI_INT_STAT)
-#define pTWI_INT_MASK ((volatile uint16_t *)TWI_INT_MASK)
-#define pTWI_FIFO_CTL ((volatile uint16_t *)TWI_FIFO_CTL)
-#define pTWI_FIFO_STAT ((volatile uint16_t *)TWI_FIFO_STAT)
-#define pTWI_XMT_DATA8 ((volatile uint16_t *)TWI_XMT_DATA8)
-#define pTWI_XMT_DATA16 ((volatile uint16_t *)TWI_XMT_DATA16)
-#define pTWI_RCV_DATA8 ((volatile uint16_t *)TWI_RCV_DATA8)
-#define pTWI_RCV_DATA16 ((volatile uint16_t *)TWI_RCV_DATA16)
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-
-#endif /*_CDEF_BF59x_H*/
diff --git a/libgloss/bfin/include/cdefBF606.h b/libgloss/bfin/include/cdefBF606.h
deleted file mode 100644
index c8c1eee..0000000
--- a/libgloss/bfin/include/cdefBF606.h
+++ /dev/null
@@ -1,4153 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* =========================================================================
-
- Project : ADSP-BF606
- File : cdefBF606.h
- Description : C register and bitfield definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ========================================================================= */
-#ifndef _CDEF_BF606_H
-#define _CDEF_BF606_H
-
-#include <stdint.h>
-#include <defBF606.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_7:"ADI header will re-use identifiers")
-#pragma diag(suppress:misra_rule_6_3:"ADI header allows use of basic types")
-#endif /* _MISRA_RULES */
-
-
-
-
-/* =========================================================================
- CNT0
- ========================================================================= */
-#define pREG_CNT0_CFG ((volatile uint16_t *)REG_CNT0_CFG) /* CNT0 Configuration Register */
-#define pREG_CNT0_IMSK ((volatile uint16_t *)REG_CNT0_IMSK) /* CNT0 Interrupt Mask Register */
-#define pREG_CNT0_STAT ((volatile uint16_t *)REG_CNT0_STAT) /* CNT0 Status Register */
-#define pREG_CNT0_CMD ((volatile uint16_t *)REG_CNT0_CMD) /* CNT0 Command Register */
-#define pREG_CNT0_DEBNCE ((volatile uint16_t *)REG_CNT0_DEBNCE) /* CNT0 Debounce Register */
-#define pREG_CNT0_CNTR ((volatile uint32_t *)REG_CNT0_CNTR) /* CNT0 Counter Register */
-#define pREG_CNT0_MAX ((volatile uint32_t *)REG_CNT0_MAX) /* CNT0 Maximum Count Register */
-#define pREG_CNT0_MIN ((volatile uint32_t *)REG_CNT0_MIN) /* CNT0 Minimum Count Register */
-
-
-/* =========================================================================
- RSI0
- ========================================================================= */
-#define pREG_RSI0_CTL ((volatile uint16_t *)REG_RSI0_CTL) /* RSI0 Control Register */
-#define pREG_RSI0_ARG ((volatile uint32_t *)REG_RSI0_ARG) /* RSI0 Argument Register */
-#define pREG_RSI0_CMD ((volatile uint16_t *)REG_RSI0_CMD) /* RSI0 Command Register */
-#define pREG_RSI0_RESP_CMD ((volatile uint16_t *)REG_RSI0_RESP_CMD) /* RSI0 Response Command Register */
-#define pREG_RSI0_RESP0 ((volatile uint32_t *)REG_RSI0_RESP0) /* RSI0 Response 0 Register */
-#define pREG_RSI0_RESP1 ((volatile uint32_t *)REG_RSI0_RESP1) /* RSI0 Response 1 Register */
-#define pREG_RSI0_RESP2 ((volatile uint32_t *)REG_RSI0_RESP2) /* RSI0 Response 2 Register */
-#define pREG_RSI0_RESP3 ((volatile uint32_t *)REG_RSI0_RESP3) /* RSI0 Response 3 Register */
-#define pREG_RSI0_DATA_TMR ((volatile uint32_t *)REG_RSI0_DATA_TMR) /* RSI0 Data Timer Register */
-#define pREG_RSI0_DATA_LEN ((volatile uint16_t *)REG_RSI0_DATA_LEN) /* RSI0 Data Length Register */
-#define pREG_RSI0_DATA_CTL ((volatile uint16_t *)REG_RSI0_DATA_CTL) /* RSI0 Data Control Register */
-#define pREG_RSI0_DATA_CNT ((volatile uint16_t *)REG_RSI0_DATA_CNT) /* RSI0 Data Count Register */
-#define pREG_RSI0_XFRSTAT ((volatile uint32_t *)REG_RSI0_XFRSTAT) /* RSI0 Status Register */
-#define pREG_RSI0_XFRSTAT_CLR ((volatile uint16_t *)REG_RSI0_XFRSTAT_CLR) /* RSI0 Status Clear Register */
-#define pREG_RSI0_XFR_IMSK0 ((volatile uint32_t *)REG_RSI0_XFR_IMSK0) /* RSI0 Interrupt 0 Mask Register */
-#define pREG_RSI0_XFR_IMSK1 ((volatile uint32_t *)REG_RSI0_XFR_IMSK1) /* RSI0 Interrupt 1 Mask Register */
-#define pREG_RSI0_FIFO_CNT ((volatile uint16_t *)REG_RSI0_FIFO_CNT) /* RSI0 FIFO Counter Register */
-#define pREG_RSI0_CEATA ((volatile uint32_t *)REG_RSI0_CEATA) /* RSI0 This register contains bit to dis CCS gen */
-#define pREG_RSI0_BOOT_TCNTR ((volatile uint16_t *)REG_RSI0_BOOT_TCNTR) /* RSI0 Boot Timing Counter Register */
-#define pREG_RSI0_BACK_TOUT ((volatile uint32_t *)REG_RSI0_BACK_TOUT) /* RSI0 Boot Acknowledge Timeout Register */
-#define pREG_RSI0_SLP_WKUP_TOUT ((volatile uint32_t *)REG_RSI0_SLP_WKUP_TOUT) /* RSI0 Sleep Wakeup Timeout Register */
-#define pREG_RSI0_BLKSZ ((volatile uint16_t *)REG_RSI0_BLKSZ) /* RSI0 Block Size Register */
-#define pREG_RSI0_FIFO ((volatile uint32_t *)REG_RSI0_FIFO) /* RSI0 Data FIFO Register */
-#define pREG_RSI0_STAT0 ((volatile uint32_t *)REG_RSI0_STAT0) /* RSI0 Exception Status Register */
-#define pREG_RSI0_IMSK0 ((volatile uint32_t *)REG_RSI0_IMSK0) /* RSI0 Exception Mask Register */
-#define pREG_RSI0_CFG ((volatile uint16_t *)REG_RSI0_CFG) /* RSI0 Configuration Register */
-#define pREG_RSI0_RD_WAIT ((volatile uint16_t *)REG_RSI0_RD_WAIT) /* RSI0 Read Wait Enable Register */
-#define pREG_RSI0_PID0 ((volatile uint32_t *)REG_RSI0_PID0) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID1 ((volatile uint32_t *)REG_RSI0_PID1) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID2 ((volatile uint32_t *)REG_RSI0_PID2) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID3 ((volatile uint32_t *)REG_RSI0_PID3) /* RSI0 Peripheral Identification Register */
-
-
-/* =========================================================================
- CAN0
- ========================================================================= */
-#define pREG_CAN0_MC1 ((volatile uint16_t *)REG_CAN0_MC1) /* CAN0 Mailbox Configuration 1 Register */
-#define pREG_CAN0_MD1 ((volatile uint16_t *)REG_CAN0_MD1) /* CAN0 Mailbox Direction 1 Register */
-#define pREG_CAN0_TRS1 ((volatile uint16_t *)REG_CAN0_TRS1) /* CAN0 Transmission Request Set 1 Register */
-#define pREG_CAN0_TRR1 ((volatile uint16_t *)REG_CAN0_TRR1) /* CAN0 Transmission Request Reset 1 Register */
-#define pREG_CAN0_TA1 ((volatile uint16_t *)REG_CAN0_TA1) /* CAN0 Transmission Acknowledge 1 Register */
-#define pREG_CAN0_AA1 ((volatile uint16_t *)REG_CAN0_AA1) /* CAN0 Abort Acknowledge 1 Register */
-#define pREG_CAN0_RMP1 ((volatile uint16_t *)REG_CAN0_RMP1) /* CAN0 Receive Message Pending 1 Register */
-#define pREG_CAN0_RML1 ((volatile uint16_t *)REG_CAN0_RML1) /* CAN0 Receive Message Lost 1 Register */
-#define pREG_CAN0_MBTIF1 ((volatile uint16_t *)REG_CAN0_MBTIF1) /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define pREG_CAN0_MBRIF1 ((volatile uint16_t *)REG_CAN0_MBRIF1) /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define pREG_CAN0_MBIM1 ((volatile uint16_t *)REG_CAN0_MBIM1) /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define pREG_CAN0_RFH1 ((volatile uint16_t *)REG_CAN0_RFH1) /* CAN0 Remote Frame Handling 1 Register */
-#define pREG_CAN0_OPSS1 ((volatile uint16_t *)REG_CAN0_OPSS1) /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define pREG_CAN0_MC2 ((volatile uint16_t *)REG_CAN0_MC2) /* CAN0 Mailbox Configuration 2 Register */
-#define pREG_CAN0_MD2 ((volatile uint16_t *)REG_CAN0_MD2) /* CAN0 Mailbox Direction 2 Register */
-#define pREG_CAN0_TRS2 ((volatile uint16_t *)REG_CAN0_TRS2) /* CAN0 Transmission Request Set 2 Register */
-#define pREG_CAN0_TRR2 ((volatile uint16_t *)REG_CAN0_TRR2) /* CAN0 Transmission Request Reset 2 Register */
-#define pREG_CAN0_TA2 ((volatile uint16_t *)REG_CAN0_TA2) /* CAN0 Transmission Acknowledge 2 Register */
-#define pREG_CAN0_AA2 ((volatile uint16_t *)REG_CAN0_AA2) /* CAN0 Abort Acknowledge 2 Register */
-#define pREG_CAN0_RMP2 ((volatile uint16_t *)REG_CAN0_RMP2) /* CAN0 Receive Message Pending 2 Register */
-#define pREG_CAN0_RML2 ((volatile uint16_t *)REG_CAN0_RML2) /* CAN0 Receive Message Lost 2 Register */
-#define pREG_CAN0_MBTIF2 ((volatile uint16_t *)REG_CAN0_MBTIF2) /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define pREG_CAN0_MBRIF2 ((volatile uint16_t *)REG_CAN0_MBRIF2) /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define pREG_CAN0_MBIM2 ((volatile uint16_t *)REG_CAN0_MBIM2) /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define pREG_CAN0_RFH2 ((volatile uint16_t *)REG_CAN0_RFH2) /* CAN0 Remote Frame Handling 2 Register */
-#define pREG_CAN0_OPSS2 ((volatile uint16_t *)REG_CAN0_OPSS2) /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define pREG_CAN0_CLK ((volatile uint16_t *)REG_CAN0_CLK) /* CAN0 Clock Register */
-#define pREG_CAN0_TIMING ((volatile uint16_t *)REG_CAN0_TIMING) /* CAN0 Timing Register */
-#define pREG_CAN0_DBG ((volatile uint16_t *)REG_CAN0_DBG) /* CAN0 Debug Register */
-#define pREG_CAN0_STAT ((volatile uint16_t *)REG_CAN0_STAT) /* CAN0 Status Register */
-#define pREG_CAN0_CEC ((volatile uint16_t *)REG_CAN0_CEC) /* CAN0 Error Counter Register */
-#define pREG_CAN0_GIS ((volatile uint16_t *)REG_CAN0_GIS) /* CAN0 Global CAN Interrupt Status Register */
-#define pREG_CAN0_GIM ((volatile uint16_t *)REG_CAN0_GIM) /* CAN0 Global CAN Interrupt Mask Register */
-#define pREG_CAN0_GIF ((volatile uint16_t *)REG_CAN0_GIF) /* CAN0 Global CAN Interrupt Flag Register */
-#define pREG_CAN0_CTL ((volatile uint16_t *)REG_CAN0_CTL) /* CAN0 CAN Master Control Register */
-#define pREG_CAN0_INT ((volatile uint16_t *)REG_CAN0_INT) /* CAN0 Interrupt Pending Register */
-#define pREG_CAN0_MBTD ((volatile uint16_t *)REG_CAN0_MBTD) /* CAN0 Temporary Mailbox Disable Register */
-#define pREG_CAN0_EWR ((volatile uint16_t *)REG_CAN0_EWR) /* CAN0 Error Counter Warning Level Register */
-#define pREG_CAN0_ESR ((volatile uint16_t *)REG_CAN0_ESR) /* CAN0 Error Status Register */
-#define pREG_CAN0_UCCNT ((volatile uint16_t *)REG_CAN0_UCCNT) /* CAN0 Universal Counter Register */
-#define pREG_CAN0_UCRC ((volatile uint16_t *)REG_CAN0_UCRC) /* CAN0 Universal Counter Reload/Capture Register */
-#define pREG_CAN0_UCCNF ((volatile uint16_t *)REG_CAN0_UCCNF) /* CAN0 Universal Counter Configuration Mode Register */
-#define pREG_CAN0_AM00L ((volatile uint16_t *)REG_CAN0_AM00L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM01L ((volatile uint16_t *)REG_CAN0_AM01L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM02L ((volatile uint16_t *)REG_CAN0_AM02L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM03L ((volatile uint16_t *)REG_CAN0_AM03L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM04L ((volatile uint16_t *)REG_CAN0_AM04L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM05L ((volatile uint16_t *)REG_CAN0_AM05L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM06L ((volatile uint16_t *)REG_CAN0_AM06L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM07L ((volatile uint16_t *)REG_CAN0_AM07L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM08L ((volatile uint16_t *)REG_CAN0_AM08L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM09L ((volatile uint16_t *)REG_CAN0_AM09L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM10L ((volatile uint16_t *)REG_CAN0_AM10L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM11L ((volatile uint16_t *)REG_CAN0_AM11L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM12L ((volatile uint16_t *)REG_CAN0_AM12L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM13L ((volatile uint16_t *)REG_CAN0_AM13L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM14L ((volatile uint16_t *)REG_CAN0_AM14L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM15L ((volatile uint16_t *)REG_CAN0_AM15L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM16L ((volatile uint16_t *)REG_CAN0_AM16L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM17L ((volatile uint16_t *)REG_CAN0_AM17L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM18L ((volatile uint16_t *)REG_CAN0_AM18L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM19L ((volatile uint16_t *)REG_CAN0_AM19L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM20L ((volatile uint16_t *)REG_CAN0_AM20L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM21L ((volatile uint16_t *)REG_CAN0_AM21L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM22L ((volatile uint16_t *)REG_CAN0_AM22L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM23L ((volatile uint16_t *)REG_CAN0_AM23L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM24L ((volatile uint16_t *)REG_CAN0_AM24L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM25L ((volatile uint16_t *)REG_CAN0_AM25L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM26L ((volatile uint16_t *)REG_CAN0_AM26L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM27L ((volatile uint16_t *)REG_CAN0_AM27L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM28L ((volatile uint16_t *)REG_CAN0_AM28L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM29L ((volatile uint16_t *)REG_CAN0_AM29L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM30L ((volatile uint16_t *)REG_CAN0_AM30L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM31L ((volatile uint16_t *)REG_CAN0_AM31L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM00H ((volatile uint16_t *)REG_CAN0_AM00H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM01H ((volatile uint16_t *)REG_CAN0_AM01H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM02H ((volatile uint16_t *)REG_CAN0_AM02H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM03H ((volatile uint16_t *)REG_CAN0_AM03H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM04H ((volatile uint16_t *)REG_CAN0_AM04H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM05H ((volatile uint16_t *)REG_CAN0_AM05H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM06H ((volatile uint16_t *)REG_CAN0_AM06H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM07H ((volatile uint16_t *)REG_CAN0_AM07H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM08H ((volatile uint16_t *)REG_CAN0_AM08H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM09H ((volatile uint16_t *)REG_CAN0_AM09H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM10H ((volatile uint16_t *)REG_CAN0_AM10H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM11H ((volatile uint16_t *)REG_CAN0_AM11H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM12H ((volatile uint16_t *)REG_CAN0_AM12H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM13H ((volatile uint16_t *)REG_CAN0_AM13H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM14H ((volatile uint16_t *)REG_CAN0_AM14H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM15H ((volatile uint16_t *)REG_CAN0_AM15H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM16H ((volatile uint16_t *)REG_CAN0_AM16H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM17H ((volatile uint16_t *)REG_CAN0_AM17H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM18H ((volatile uint16_t *)REG_CAN0_AM18H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM19H ((volatile uint16_t *)REG_CAN0_AM19H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM20H ((volatile uint16_t *)REG_CAN0_AM20H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM21H ((volatile uint16_t *)REG_CAN0_AM21H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM22H ((volatile uint16_t *)REG_CAN0_AM22H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM23H ((volatile uint16_t *)REG_CAN0_AM23H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM24H ((volatile uint16_t *)REG_CAN0_AM24H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM25H ((volatile uint16_t *)REG_CAN0_AM25H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM26H ((volatile uint16_t *)REG_CAN0_AM26H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM27H ((volatile uint16_t *)REG_CAN0_AM27H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM28H ((volatile uint16_t *)REG_CAN0_AM28H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM29H ((volatile uint16_t *)REG_CAN0_AM29H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM30H ((volatile uint16_t *)REG_CAN0_AM30H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM31H ((volatile uint16_t *)REG_CAN0_AM31H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_MB00_DATA0 ((volatile uint16_t *)REG_CAN0_MB00_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB01_DATA0 ((volatile uint16_t *)REG_CAN0_MB01_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB02_DATA0 ((volatile uint16_t *)REG_CAN0_MB02_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB03_DATA0 ((volatile uint16_t *)REG_CAN0_MB03_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB04_DATA0 ((volatile uint16_t *)REG_CAN0_MB04_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB05_DATA0 ((volatile uint16_t *)REG_CAN0_MB05_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB06_DATA0 ((volatile uint16_t *)REG_CAN0_MB06_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB07_DATA0 ((volatile uint16_t *)REG_CAN0_MB07_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB08_DATA0 ((volatile uint16_t *)REG_CAN0_MB08_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB09_DATA0 ((volatile uint16_t *)REG_CAN0_MB09_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB10_DATA0 ((volatile uint16_t *)REG_CAN0_MB10_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB11_DATA0 ((volatile uint16_t *)REG_CAN0_MB11_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB12_DATA0 ((volatile uint16_t *)REG_CAN0_MB12_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB13_DATA0 ((volatile uint16_t *)REG_CAN0_MB13_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB14_DATA0 ((volatile uint16_t *)REG_CAN0_MB14_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB15_DATA0 ((volatile uint16_t *)REG_CAN0_MB15_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB16_DATA0 ((volatile uint16_t *)REG_CAN0_MB16_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB17_DATA0 ((volatile uint16_t *)REG_CAN0_MB17_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB18_DATA0 ((volatile uint16_t *)REG_CAN0_MB18_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB19_DATA0 ((volatile uint16_t *)REG_CAN0_MB19_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB20_DATA0 ((volatile uint16_t *)REG_CAN0_MB20_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB21_DATA0 ((volatile uint16_t *)REG_CAN0_MB21_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB22_DATA0 ((volatile uint16_t *)REG_CAN0_MB22_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB23_DATA0 ((volatile uint16_t *)REG_CAN0_MB23_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB24_DATA0 ((volatile uint16_t *)REG_CAN0_MB24_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB25_DATA0 ((volatile uint16_t *)REG_CAN0_MB25_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB26_DATA0 ((volatile uint16_t *)REG_CAN0_MB26_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB27_DATA0 ((volatile uint16_t *)REG_CAN0_MB27_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB28_DATA0 ((volatile uint16_t *)REG_CAN0_MB28_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB29_DATA0 ((volatile uint16_t *)REG_CAN0_MB29_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB30_DATA0 ((volatile uint16_t *)REG_CAN0_MB30_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB31_DATA0 ((volatile uint16_t *)REG_CAN0_MB31_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB00_DATA1 ((volatile uint16_t *)REG_CAN0_MB00_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB01_DATA1 ((volatile uint16_t *)REG_CAN0_MB01_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB02_DATA1 ((volatile uint16_t *)REG_CAN0_MB02_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB03_DATA1 ((volatile uint16_t *)REG_CAN0_MB03_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB04_DATA1 ((volatile uint16_t *)REG_CAN0_MB04_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB05_DATA1 ((volatile uint16_t *)REG_CAN0_MB05_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB06_DATA1 ((volatile uint16_t *)REG_CAN0_MB06_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB07_DATA1 ((volatile uint16_t *)REG_CAN0_MB07_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB08_DATA1 ((volatile uint16_t *)REG_CAN0_MB08_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB09_DATA1 ((volatile uint16_t *)REG_CAN0_MB09_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB10_DATA1 ((volatile uint16_t *)REG_CAN0_MB10_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB11_DATA1 ((volatile uint16_t *)REG_CAN0_MB11_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB12_DATA1 ((volatile uint16_t *)REG_CAN0_MB12_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB13_DATA1 ((volatile uint16_t *)REG_CAN0_MB13_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB14_DATA1 ((volatile uint16_t *)REG_CAN0_MB14_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB15_DATA1 ((volatile uint16_t *)REG_CAN0_MB15_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB16_DATA1 ((volatile uint16_t *)REG_CAN0_MB16_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB17_DATA1 ((volatile uint16_t *)REG_CAN0_MB17_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB18_DATA1 ((volatile uint16_t *)REG_CAN0_MB18_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB19_DATA1 ((volatile uint16_t *)REG_CAN0_MB19_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB20_DATA1 ((volatile uint16_t *)REG_CAN0_MB20_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB21_DATA1 ((volatile uint16_t *)REG_CAN0_MB21_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB22_DATA1 ((volatile uint16_t *)REG_CAN0_MB22_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB23_DATA1 ((volatile uint16_t *)REG_CAN0_MB23_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB24_DATA1 ((volatile uint16_t *)REG_CAN0_MB24_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB25_DATA1 ((volatile uint16_t *)REG_CAN0_MB25_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB26_DATA1 ((volatile uint16_t *)REG_CAN0_MB26_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB27_DATA1 ((volatile uint16_t *)REG_CAN0_MB27_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB28_DATA1 ((volatile uint16_t *)REG_CAN0_MB28_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB29_DATA1 ((volatile uint16_t *)REG_CAN0_MB29_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB30_DATA1 ((volatile uint16_t *)REG_CAN0_MB30_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB31_DATA1 ((volatile uint16_t *)REG_CAN0_MB31_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB00_DATA2 ((volatile uint16_t *)REG_CAN0_MB00_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB01_DATA2 ((volatile uint16_t *)REG_CAN0_MB01_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB02_DATA2 ((volatile uint16_t *)REG_CAN0_MB02_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB03_DATA2 ((volatile uint16_t *)REG_CAN0_MB03_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB04_DATA2 ((volatile uint16_t *)REG_CAN0_MB04_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB05_DATA2 ((volatile uint16_t *)REG_CAN0_MB05_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB06_DATA2 ((volatile uint16_t *)REG_CAN0_MB06_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB07_DATA2 ((volatile uint16_t *)REG_CAN0_MB07_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB08_DATA2 ((volatile uint16_t *)REG_CAN0_MB08_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB09_DATA2 ((volatile uint16_t *)REG_CAN0_MB09_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB10_DATA2 ((volatile uint16_t *)REG_CAN0_MB10_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB11_DATA2 ((volatile uint16_t *)REG_CAN0_MB11_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB12_DATA2 ((volatile uint16_t *)REG_CAN0_MB12_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB13_DATA2 ((volatile uint16_t *)REG_CAN0_MB13_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB14_DATA2 ((volatile uint16_t *)REG_CAN0_MB14_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB15_DATA2 ((volatile uint16_t *)REG_CAN0_MB15_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB16_DATA2 ((volatile uint16_t *)REG_CAN0_MB16_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB17_DATA2 ((volatile uint16_t *)REG_CAN0_MB17_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB18_DATA2 ((volatile uint16_t *)REG_CAN0_MB18_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB19_DATA2 ((volatile uint16_t *)REG_CAN0_MB19_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB20_DATA2 ((volatile uint16_t *)REG_CAN0_MB20_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB21_DATA2 ((volatile uint16_t *)REG_CAN0_MB21_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB22_DATA2 ((volatile uint16_t *)REG_CAN0_MB22_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB23_DATA2 ((volatile uint16_t *)REG_CAN0_MB23_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB24_DATA2 ((volatile uint16_t *)REG_CAN0_MB24_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB25_DATA2 ((volatile uint16_t *)REG_CAN0_MB25_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB26_DATA2 ((volatile uint16_t *)REG_CAN0_MB26_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB27_DATA2 ((volatile uint16_t *)REG_CAN0_MB27_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB28_DATA2 ((volatile uint16_t *)REG_CAN0_MB28_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB29_DATA2 ((volatile uint16_t *)REG_CAN0_MB29_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB30_DATA2 ((volatile uint16_t *)REG_CAN0_MB30_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB31_DATA2 ((volatile uint16_t *)REG_CAN0_MB31_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB00_DATA3 ((volatile uint16_t *)REG_CAN0_MB00_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB01_DATA3 ((volatile uint16_t *)REG_CAN0_MB01_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB02_DATA3 ((volatile uint16_t *)REG_CAN0_MB02_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB03_DATA3 ((volatile uint16_t *)REG_CAN0_MB03_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB04_DATA3 ((volatile uint16_t *)REG_CAN0_MB04_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB05_DATA3 ((volatile uint16_t *)REG_CAN0_MB05_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB06_DATA3 ((volatile uint16_t *)REG_CAN0_MB06_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB07_DATA3 ((volatile uint16_t *)REG_CAN0_MB07_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB08_DATA3 ((volatile uint16_t *)REG_CAN0_MB08_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB09_DATA3 ((volatile uint16_t *)REG_CAN0_MB09_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB10_DATA3 ((volatile uint16_t *)REG_CAN0_MB10_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB11_DATA3 ((volatile uint16_t *)REG_CAN0_MB11_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB12_DATA3 ((volatile uint16_t *)REG_CAN0_MB12_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB13_DATA3 ((volatile uint16_t *)REG_CAN0_MB13_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB14_DATA3 ((volatile uint16_t *)REG_CAN0_MB14_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB15_DATA3 ((volatile uint16_t *)REG_CAN0_MB15_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB16_DATA3 ((volatile uint16_t *)REG_CAN0_MB16_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB17_DATA3 ((volatile uint16_t *)REG_CAN0_MB17_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB18_DATA3 ((volatile uint16_t *)REG_CAN0_MB18_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB19_DATA3 ((volatile uint16_t *)REG_CAN0_MB19_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB20_DATA3 ((volatile uint16_t *)REG_CAN0_MB20_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB21_DATA3 ((volatile uint16_t *)REG_CAN0_MB21_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB22_DATA3 ((volatile uint16_t *)REG_CAN0_MB22_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB23_DATA3 ((volatile uint16_t *)REG_CAN0_MB23_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB24_DATA3 ((volatile uint16_t *)REG_CAN0_MB24_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB25_DATA3 ((volatile uint16_t *)REG_CAN0_MB25_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB26_DATA3 ((volatile uint16_t *)REG_CAN0_MB26_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB27_DATA3 ((volatile uint16_t *)REG_CAN0_MB27_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB28_DATA3 ((volatile uint16_t *)REG_CAN0_MB28_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB29_DATA3 ((volatile uint16_t *)REG_CAN0_MB29_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB30_DATA3 ((volatile uint16_t *)REG_CAN0_MB30_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB31_DATA3 ((volatile uint16_t *)REG_CAN0_MB31_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB00_LENGTH ((volatile uint16_t *)REG_CAN0_MB00_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB01_LENGTH ((volatile uint16_t *)REG_CAN0_MB01_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB02_LENGTH ((volatile uint16_t *)REG_CAN0_MB02_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB03_LENGTH ((volatile uint16_t *)REG_CAN0_MB03_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB04_LENGTH ((volatile uint16_t *)REG_CAN0_MB04_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB05_LENGTH ((volatile uint16_t *)REG_CAN0_MB05_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB06_LENGTH ((volatile uint16_t *)REG_CAN0_MB06_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB07_LENGTH ((volatile uint16_t *)REG_CAN0_MB07_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB08_LENGTH ((volatile uint16_t *)REG_CAN0_MB08_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB09_LENGTH ((volatile uint16_t *)REG_CAN0_MB09_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB10_LENGTH ((volatile uint16_t *)REG_CAN0_MB10_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB11_LENGTH ((volatile uint16_t *)REG_CAN0_MB11_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB12_LENGTH ((volatile uint16_t *)REG_CAN0_MB12_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB13_LENGTH ((volatile uint16_t *)REG_CAN0_MB13_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB14_LENGTH ((volatile uint16_t *)REG_CAN0_MB14_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB15_LENGTH ((volatile uint16_t *)REG_CAN0_MB15_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB16_LENGTH ((volatile uint16_t *)REG_CAN0_MB16_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB17_LENGTH ((volatile uint16_t *)REG_CAN0_MB17_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB18_LENGTH ((volatile uint16_t *)REG_CAN0_MB18_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB19_LENGTH ((volatile uint16_t *)REG_CAN0_MB19_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB20_LENGTH ((volatile uint16_t *)REG_CAN0_MB20_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB21_LENGTH ((volatile uint16_t *)REG_CAN0_MB21_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB22_LENGTH ((volatile uint16_t *)REG_CAN0_MB22_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB23_LENGTH ((volatile uint16_t *)REG_CAN0_MB23_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB24_LENGTH ((volatile uint16_t *)REG_CAN0_MB24_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB25_LENGTH ((volatile uint16_t *)REG_CAN0_MB25_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB26_LENGTH ((volatile uint16_t *)REG_CAN0_MB26_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB27_LENGTH ((volatile uint16_t *)REG_CAN0_MB27_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB28_LENGTH ((volatile uint16_t *)REG_CAN0_MB28_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB29_LENGTH ((volatile uint16_t *)REG_CAN0_MB29_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB30_LENGTH ((volatile uint16_t *)REG_CAN0_MB30_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB31_LENGTH ((volatile uint16_t *)REG_CAN0_MB31_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB00_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB00_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB01_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB01_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB02_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB02_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB03_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB03_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB04_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB04_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB05_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB05_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB06_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB06_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB07_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB07_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB08_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB08_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB09_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB09_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB10_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB10_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB11_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB11_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB12_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB12_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB13_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB13_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB14_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB14_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB15_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB15_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB16_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB16_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB17_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB17_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB18_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB18_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB19_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB19_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB20_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB20_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB21_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB21_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB22_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB22_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB23_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB23_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB24_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB24_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB25_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB25_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB26_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB26_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB27_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB27_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB28_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB28_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB29_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB29_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB30_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB30_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB31_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB31_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB00_ID0 ((volatile uint16_t *)REG_CAN0_MB00_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB01_ID0 ((volatile uint16_t *)REG_CAN0_MB01_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB02_ID0 ((volatile uint16_t *)REG_CAN0_MB02_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB03_ID0 ((volatile uint16_t *)REG_CAN0_MB03_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB04_ID0 ((volatile uint16_t *)REG_CAN0_MB04_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB05_ID0 ((volatile uint16_t *)REG_CAN0_MB05_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB06_ID0 ((volatile uint16_t *)REG_CAN0_MB06_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB07_ID0 ((volatile uint16_t *)REG_CAN0_MB07_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB08_ID0 ((volatile uint16_t *)REG_CAN0_MB08_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB09_ID0 ((volatile uint16_t *)REG_CAN0_MB09_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB10_ID0 ((volatile uint16_t *)REG_CAN0_MB10_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB11_ID0 ((volatile uint16_t *)REG_CAN0_MB11_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB12_ID0 ((volatile uint16_t *)REG_CAN0_MB12_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB13_ID0 ((volatile uint16_t *)REG_CAN0_MB13_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB14_ID0 ((volatile uint16_t *)REG_CAN0_MB14_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB15_ID0 ((volatile uint16_t *)REG_CAN0_MB15_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB16_ID0 ((volatile uint16_t *)REG_CAN0_MB16_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB17_ID0 ((volatile uint16_t *)REG_CAN0_MB17_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB18_ID0 ((volatile uint16_t *)REG_CAN0_MB18_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB19_ID0 ((volatile uint16_t *)REG_CAN0_MB19_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB20_ID0 ((volatile uint16_t *)REG_CAN0_MB20_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB21_ID0 ((volatile uint16_t *)REG_CAN0_MB21_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB22_ID0 ((volatile uint16_t *)REG_CAN0_MB22_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB23_ID0 ((volatile uint16_t *)REG_CAN0_MB23_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB24_ID0 ((volatile uint16_t *)REG_CAN0_MB24_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB25_ID0 ((volatile uint16_t *)REG_CAN0_MB25_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB26_ID0 ((volatile uint16_t *)REG_CAN0_MB26_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB27_ID0 ((volatile uint16_t *)REG_CAN0_MB27_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB28_ID0 ((volatile uint16_t *)REG_CAN0_MB28_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB29_ID0 ((volatile uint16_t *)REG_CAN0_MB29_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB30_ID0 ((volatile uint16_t *)REG_CAN0_MB30_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB31_ID0 ((volatile uint16_t *)REG_CAN0_MB31_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB00_ID1 ((volatile uint16_t *)REG_CAN0_MB00_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB01_ID1 ((volatile uint16_t *)REG_CAN0_MB01_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB02_ID1 ((volatile uint16_t *)REG_CAN0_MB02_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB03_ID1 ((volatile uint16_t *)REG_CAN0_MB03_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB04_ID1 ((volatile uint16_t *)REG_CAN0_MB04_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB05_ID1 ((volatile uint16_t *)REG_CAN0_MB05_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB06_ID1 ((volatile uint16_t *)REG_CAN0_MB06_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB07_ID1 ((volatile uint16_t *)REG_CAN0_MB07_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB08_ID1 ((volatile uint16_t *)REG_CAN0_MB08_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB09_ID1 ((volatile uint16_t *)REG_CAN0_MB09_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB10_ID1 ((volatile uint16_t *)REG_CAN0_MB10_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB11_ID1 ((volatile uint16_t *)REG_CAN0_MB11_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB12_ID1 ((volatile uint16_t *)REG_CAN0_MB12_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB13_ID1 ((volatile uint16_t *)REG_CAN0_MB13_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB14_ID1 ((volatile uint16_t *)REG_CAN0_MB14_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB15_ID1 ((volatile uint16_t *)REG_CAN0_MB15_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB16_ID1 ((volatile uint16_t *)REG_CAN0_MB16_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB17_ID1 ((volatile uint16_t *)REG_CAN0_MB17_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB18_ID1 ((volatile uint16_t *)REG_CAN0_MB18_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB19_ID1 ((volatile uint16_t *)REG_CAN0_MB19_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB20_ID1 ((volatile uint16_t *)REG_CAN0_MB20_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB21_ID1 ((volatile uint16_t *)REG_CAN0_MB21_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB22_ID1 ((volatile uint16_t *)REG_CAN0_MB22_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB23_ID1 ((volatile uint16_t *)REG_CAN0_MB23_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB24_ID1 ((volatile uint16_t *)REG_CAN0_MB24_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB25_ID1 ((volatile uint16_t *)REG_CAN0_MB25_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB26_ID1 ((volatile uint16_t *)REG_CAN0_MB26_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB27_ID1 ((volatile uint16_t *)REG_CAN0_MB27_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB28_ID1 ((volatile uint16_t *)REG_CAN0_MB28_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB29_ID1 ((volatile uint16_t *)REG_CAN0_MB29_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB30_ID1 ((volatile uint16_t *)REG_CAN0_MB30_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB31_ID1 ((volatile uint16_t *)REG_CAN0_MB31_ID1) /* CAN0 Mailbox ID 1 Register */
-
-
-/* =========================================================================
- LP0
- ========================================================================= */
-#define pREG_LP0_CTL ((volatile uint32_t *)REG_LP0_CTL) /* LP0 Control Register */
-#define pREG_LP0_STAT ((volatile uint32_t *)REG_LP0_STAT) /* LP0 Status Register */
-#define pREG_LP0_DIV ((volatile uint32_t *)REG_LP0_DIV) /* LP0 Clock Divider Value */
-#define pREG_LP0_TX ((volatile uint32_t *)REG_LP0_TX) /* LP0 Transmit Buffer */
-#define pREG_LP0_RX ((volatile uint32_t *)REG_LP0_RX) /* LP0 Receive Buffer */
-#define pREG_LP0_TXIN_SHDW ((volatile uint32_t *)REG_LP0_TXIN_SHDW) /* LP0 Shadow Input Transmit Buffer */
-#define pREG_LP0_TXOUT_SHDW ((volatile uint32_t *)REG_LP0_TXOUT_SHDW) /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP1
- ========================================================================= */
-#define pREG_LP1_CTL ((volatile uint32_t *)REG_LP1_CTL) /* LP1 Control Register */
-#define pREG_LP1_STAT ((volatile uint32_t *)REG_LP1_STAT) /* LP1 Status Register */
-#define pREG_LP1_DIV ((volatile uint32_t *)REG_LP1_DIV) /* LP1 Clock Divider Value */
-#define pREG_LP1_TX ((volatile uint32_t *)REG_LP1_TX) /* LP1 Transmit Buffer */
-#define pREG_LP1_RX ((volatile uint32_t *)REG_LP1_RX) /* LP1 Receive Buffer */
-#define pREG_LP1_TXIN_SHDW ((volatile uint32_t *)REG_LP1_TXIN_SHDW) /* LP1 Shadow Input Transmit Buffer */
-#define pREG_LP1_TXOUT_SHDW ((volatile uint32_t *)REG_LP1_TXOUT_SHDW) /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP2
- ========================================================================= */
-#define pREG_LP2_CTL ((volatile uint32_t *)REG_LP2_CTL) /* LP2 Control Register */
-#define pREG_LP2_STAT ((volatile uint32_t *)REG_LP2_STAT) /* LP2 Status Register */
-#define pREG_LP2_DIV ((volatile uint32_t *)REG_LP2_DIV) /* LP2 Clock Divider Value */
-#define pREG_LP2_TX ((volatile uint32_t *)REG_LP2_TX) /* LP2 Transmit Buffer */
-#define pREG_LP2_RX ((volatile uint32_t *)REG_LP2_RX) /* LP2 Receive Buffer */
-#define pREG_LP2_TXIN_SHDW ((volatile uint32_t *)REG_LP2_TXIN_SHDW) /* LP2 Shadow Input Transmit Buffer */
-#define pREG_LP2_TXOUT_SHDW ((volatile uint32_t *)REG_LP2_TXOUT_SHDW) /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP3
- ========================================================================= */
-#define pREG_LP3_CTL ((volatile uint32_t *)REG_LP3_CTL) /* LP3 Control Register */
-#define pREG_LP3_STAT ((volatile uint32_t *)REG_LP3_STAT) /* LP3 Status Register */
-#define pREG_LP3_DIV ((volatile uint32_t *)REG_LP3_DIV) /* LP3 Clock Divider Value */
-#define pREG_LP3_TX ((volatile uint32_t *)REG_LP3_TX) /* LP3 Transmit Buffer */
-#define pREG_LP3_RX ((volatile uint32_t *)REG_LP3_RX) /* LP3 Receive Buffer */
-#define pREG_LP3_TXIN_SHDW ((volatile uint32_t *)REG_LP3_TXIN_SHDW) /* LP3 Shadow Input Transmit Buffer */
-#define pREG_LP3_TXOUT_SHDW ((volatile uint32_t *)REG_LP3_TXOUT_SHDW) /* LP3 Shadow Output Transmit Buffer */
-
-
-/* =========================================================================
- TIMER0
- ========================================================================= */
-#define pREG_TIMER0_REVID ((volatile uint16_t *)REG_TIMER0_REVID) /* TIMER0 Revision ID Register */
-#define pREG_TIMER0_RUN ((volatile uint16_t *)REG_TIMER0_RUN) /* TIMER0 Run Register */
-#define pREG_TIMER0_RUN_SET ((volatile uint16_t *)REG_TIMER0_RUN_SET) /* TIMER0 Run Set Register */
-#define pREG_TIMER0_RUN_CLR ((volatile uint16_t *)REG_TIMER0_RUN_CLR) /* TIMER0 Run Clear Register */
-#define pREG_TIMER0_STOP_CFG ((volatile uint16_t *)REG_TIMER0_STOP_CFG) /* TIMER0 Stop Configuration Register */
-#define pREG_TIMER0_STOP_CFG_SET ((volatile uint16_t *)REG_TIMER0_STOP_CFG_SET) /* TIMER0 Stop Configuration Set Register */
-#define pREG_TIMER0_STOP_CFG_CLR ((volatile uint16_t *)REG_TIMER0_STOP_CFG_CLR) /* TIMER0 Stop Configuration Clear Register */
-#define pREG_TIMER0_DATA_IMSK ((volatile uint16_t *)REG_TIMER0_DATA_IMSK) /* TIMER0 Data Interrupt Mask Register */
-#define pREG_TIMER0_STAT_IMSK ((volatile uint16_t *)REG_TIMER0_STAT_IMSK) /* TIMER0 Status Interrupt Mask Register */
-#define pREG_TIMER0_TRG_MSK ((volatile uint16_t *)REG_TIMER0_TRG_MSK) /* TIMER0 Trigger Master Mask Register */
-#define pREG_TIMER0_TRG_IE ((volatile uint16_t *)REG_TIMER0_TRG_IE) /* TIMER0 Trigger Slave Enable Register */
-#define pREG_TIMER0_DATA_ILAT ((volatile uint16_t *)REG_TIMER0_DATA_ILAT) /* TIMER0 Data Interrupt Latch Register */
-#define pREG_TIMER0_STAT_ILAT ((volatile uint16_t *)REG_TIMER0_STAT_ILAT) /* TIMER0 Status Interrupt Latch Register */
-#define pREG_TIMER0_ERR_TYPE ((volatile uint32_t *)REG_TIMER0_ERR_TYPE) /* TIMER0 Error Type Status Register */
-#define pREG_TIMER0_BCAST_PER ((volatile uint32_t *)REG_TIMER0_BCAST_PER) /* TIMER0 Broadcast Period Register */
-#define pREG_TIMER0_BCAST_WID ((volatile uint32_t *)REG_TIMER0_BCAST_WID) /* TIMER0 Broadcast Width Register */
-#define pREG_TIMER0_BCAST_DLY ((volatile uint32_t *)REG_TIMER0_BCAST_DLY) /* TIMER0 Broadcast Delay Register */
-#define pREG_TIMER0_TMR0_CFG ((volatile uint16_t *)REG_TIMER0_TMR0_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR1_CFG ((volatile uint16_t *)REG_TIMER0_TMR1_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR2_CFG ((volatile uint16_t *)REG_TIMER0_TMR2_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR3_CFG ((volatile uint16_t *)REG_TIMER0_TMR3_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR4_CFG ((volatile uint16_t *)REG_TIMER0_TMR4_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR5_CFG ((volatile uint16_t *)REG_TIMER0_TMR5_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR6_CFG ((volatile uint16_t *)REG_TIMER0_TMR6_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR7_CFG ((volatile uint16_t *)REG_TIMER0_TMR7_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR0_CNT ((volatile uint32_t *)REG_TIMER0_TMR0_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR1_CNT ((volatile uint32_t *)REG_TIMER0_TMR1_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR2_CNT ((volatile uint32_t *)REG_TIMER0_TMR2_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR3_CNT ((volatile uint32_t *)REG_TIMER0_TMR3_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR4_CNT ((volatile uint32_t *)REG_TIMER0_TMR4_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR5_CNT ((volatile uint32_t *)REG_TIMER0_TMR5_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR6_CNT ((volatile uint32_t *)REG_TIMER0_TMR6_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR7_CNT ((volatile uint32_t *)REG_TIMER0_TMR7_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR0_PER ((volatile uint32_t *)REG_TIMER0_TMR0_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR1_PER ((volatile uint32_t *)REG_TIMER0_TMR1_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR2_PER ((volatile uint32_t *)REG_TIMER0_TMR2_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR3_PER ((volatile uint32_t *)REG_TIMER0_TMR3_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR4_PER ((volatile uint32_t *)REG_TIMER0_TMR4_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR5_PER ((volatile uint32_t *)REG_TIMER0_TMR5_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR6_PER ((volatile uint32_t *)REG_TIMER0_TMR6_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR7_PER ((volatile uint32_t *)REG_TIMER0_TMR7_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR0_WID ((volatile uint32_t *)REG_TIMER0_TMR0_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR1_WID ((volatile uint32_t *)REG_TIMER0_TMR1_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR2_WID ((volatile uint32_t *)REG_TIMER0_TMR2_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR3_WID ((volatile uint32_t *)REG_TIMER0_TMR3_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR4_WID ((volatile uint32_t *)REG_TIMER0_TMR4_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR5_WID ((volatile uint32_t *)REG_TIMER0_TMR5_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR6_WID ((volatile uint32_t *)REG_TIMER0_TMR6_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR7_WID ((volatile uint32_t *)REG_TIMER0_TMR7_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR0_DLY ((volatile uint32_t *)REG_TIMER0_TMR0_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR1_DLY ((volatile uint32_t *)REG_TIMER0_TMR1_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR2_DLY ((volatile uint32_t *)REG_TIMER0_TMR2_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR3_DLY ((volatile uint32_t *)REG_TIMER0_TMR3_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR4_DLY ((volatile uint32_t *)REG_TIMER0_TMR4_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR5_DLY ((volatile uint32_t *)REG_TIMER0_TMR5_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR6_DLY ((volatile uint32_t *)REG_TIMER0_TMR6_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR7_DLY ((volatile uint32_t *)REG_TIMER0_TMR7_DLY) /* TIMER0 Timer n Delay Register */
-
-
-/* =========================================================================
- CRC0
- ========================================================================= */
-#define pREG_CRC0_CTL ((volatile uint32_t *)REG_CRC0_CTL) /* CRC0 Control Register */
-#define pREG_CRC0_DCNT ((volatile uint32_t *)REG_CRC0_DCNT) /* CRC0 Data Word Count Register */
-#define pREG_CRC0_DCNTRLD ((volatile uint32_t *)REG_CRC0_DCNTRLD) /* CRC0 Data Word Count Reload Register */
-#define pREG_CRC0_COMP ((volatile uint32_t *)REG_CRC0_COMP) /* CRC0 Data Compare Register */
-#define pREG_CRC0_FILLVAL ((volatile uint32_t *)REG_CRC0_FILLVAL) /* CRC0 Fill Value Register */
-#define pREG_CRC0_DFIFO ((volatile uint32_t *)REG_CRC0_DFIFO) /* CRC0 Data FIFO Register */
-#define pREG_CRC0_INEN ((volatile uint32_t *)REG_CRC0_INEN) /* CRC0 Interrupt Enable Register */
-#define pREG_CRC0_INEN_SET ((volatile uint32_t *)REG_CRC0_INEN_SET) /* CRC0 Interrupt Enable Set Register */
-#define pREG_CRC0_INEN_CLR ((volatile uint32_t *)REG_CRC0_INEN_CLR) /* CRC0 Interrupt Enable Clear Register */
-#define pREG_CRC0_POLY ((volatile uint32_t *)REG_CRC0_POLY) /* CRC0 Polynomial Register */
-#define pREG_CRC0_STAT ((volatile uint32_t *)REG_CRC0_STAT) /* CRC0 Status Register */
-#define pREG_CRC0_DCNTCAP ((volatile uint32_t *)REG_CRC0_DCNTCAP) /* CRC0 Data Count Capture Register */
-#define pREG_CRC0_RESULT_FIN ((volatile uint32_t *)REG_CRC0_RESULT_FIN) /* CRC0 CRC Final Result Register */
-#define pREG_CRC0_RESULT_CUR ((volatile uint32_t *)REG_CRC0_RESULT_CUR) /* CRC0 CRC Current Result Register */
-#define pREG_CRC0_REVID ((volatile uint32_t *)REG_CRC0_REVID) /* CRC0 Revision ID Register */
-
-/* =========================================================================
- CRC1
- ========================================================================= */
-#define pREG_CRC1_CTL ((volatile uint32_t *)REG_CRC1_CTL) /* CRC1 Control Register */
-#define pREG_CRC1_DCNT ((volatile uint32_t *)REG_CRC1_DCNT) /* CRC1 Data Word Count Register */
-#define pREG_CRC1_DCNTRLD ((volatile uint32_t *)REG_CRC1_DCNTRLD) /* CRC1 Data Word Count Reload Register */
-#define pREG_CRC1_COMP ((volatile uint32_t *)REG_CRC1_COMP) /* CRC1 Data Compare Register */
-#define pREG_CRC1_FILLVAL ((volatile uint32_t *)REG_CRC1_FILLVAL) /* CRC1 Fill Value Register */
-#define pREG_CRC1_DFIFO ((volatile uint32_t *)REG_CRC1_DFIFO) /* CRC1 Data FIFO Register */
-#define pREG_CRC1_INEN ((volatile uint32_t *)REG_CRC1_INEN) /* CRC1 Interrupt Enable Register */
-#define pREG_CRC1_INEN_SET ((volatile uint32_t *)REG_CRC1_INEN_SET) /* CRC1 Interrupt Enable Set Register */
-#define pREG_CRC1_INEN_CLR ((volatile uint32_t *)REG_CRC1_INEN_CLR) /* CRC1 Interrupt Enable Clear Register */
-#define pREG_CRC1_POLY ((volatile uint32_t *)REG_CRC1_POLY) /* CRC1 Polynomial Register */
-#define pREG_CRC1_STAT ((volatile uint32_t *)REG_CRC1_STAT) /* CRC1 Status Register */
-#define pREG_CRC1_DCNTCAP ((volatile uint32_t *)REG_CRC1_DCNTCAP) /* CRC1 Data Count Capture Register */
-#define pREG_CRC1_RESULT_FIN ((volatile uint32_t *)REG_CRC1_RESULT_FIN) /* CRC1 CRC Final Result Register */
-#define pREG_CRC1_RESULT_CUR ((volatile uint32_t *)REG_CRC1_RESULT_CUR) /* CRC1 CRC Current Result Register */
-#define pREG_CRC1_REVID ((volatile uint32_t *)REG_CRC1_REVID) /* CRC1 Revision ID Register */
-
-
-/* =========================================================================
- TWI0
- ========================================================================= */
-#define pREG_TWI0_CLKDIV ((volatile uint16_t *)REG_TWI0_CLKDIV) /* TWI0 SCL Clock Divider Register */
-#define pREG_TWI0_CTL ((volatile uint16_t *)REG_TWI0_CTL) /* TWI0 Control Register */
-#define pREG_TWI0_SLVCTL ((volatile uint16_t *)REG_TWI0_SLVCTL) /* TWI0 Slave Mode Control Register */
-#define pREG_TWI0_SLVSTAT ((volatile uint16_t *)REG_TWI0_SLVSTAT) /* TWI0 Slave Mode Status Register */
-#define pREG_TWI0_SLVADDR ((volatile uint16_t *)REG_TWI0_SLVADDR) /* TWI0 Slave Mode Address Register */
-#define pREG_TWI0_MSTRCTL ((volatile uint16_t *)REG_TWI0_MSTRCTL) /* TWI0 Master Mode Control Registers */
-#define pREG_TWI0_MSTRSTAT ((volatile uint16_t *)REG_TWI0_MSTRSTAT) /* TWI0 Master Mode Status Register */
-#define pREG_TWI0_MSTRADDR ((volatile uint16_t *)REG_TWI0_MSTRADDR) /* TWI0 Master Mode Address Register */
-#define pREG_TWI0_ISTAT ((volatile uint16_t *)REG_TWI0_ISTAT) /* TWI0 Interrupt Status Register */
-#define pREG_TWI0_IMSK ((volatile uint16_t *)REG_TWI0_IMSK) /* TWI0 Interrupt Mask Register */
-#define pREG_TWI0_FIFOCTL ((volatile uint16_t *)REG_TWI0_FIFOCTL) /* TWI0 FIFO Control Register */
-#define pREG_TWI0_FIFOSTAT ((volatile uint16_t *)REG_TWI0_FIFOSTAT) /* TWI0 FIFO Status Register */
-#define pREG_TWI0_TXDATA8 ((volatile uint16_t *)REG_TWI0_TXDATA8) /* TWI0 Tx Data Single-Byte Register */
-#define pREG_TWI0_TXDATA16 ((volatile uint16_t *)REG_TWI0_TXDATA16) /* TWI0 Tx Data Double-Byte Register */
-#define pREG_TWI0_RXDATA8 ((volatile uint16_t *)REG_TWI0_RXDATA8) /* TWI0 Rx Data Single-Byte Register */
-#define pREG_TWI0_RXDATA16 ((volatile uint16_t *)REG_TWI0_RXDATA16) /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================================================================
- TWI1
- ========================================================================= */
-#define pREG_TWI1_CLKDIV ((volatile uint16_t *)REG_TWI1_CLKDIV) /* TWI1 SCL Clock Divider Register */
-#define pREG_TWI1_CTL ((volatile uint16_t *)REG_TWI1_CTL) /* TWI1 Control Register */
-#define pREG_TWI1_SLVCTL ((volatile uint16_t *)REG_TWI1_SLVCTL) /* TWI1 Slave Mode Control Register */
-#define pREG_TWI1_SLVSTAT ((volatile uint16_t *)REG_TWI1_SLVSTAT) /* TWI1 Slave Mode Status Register */
-#define pREG_TWI1_SLVADDR ((volatile uint16_t *)REG_TWI1_SLVADDR) /* TWI1 Slave Mode Address Register */
-#define pREG_TWI1_MSTRCTL ((volatile uint16_t *)REG_TWI1_MSTRCTL) /* TWI1 Master Mode Control Registers */
-#define pREG_TWI1_MSTRSTAT ((volatile uint16_t *)REG_TWI1_MSTRSTAT) /* TWI1 Master Mode Status Register */
-#define pREG_TWI1_MSTRADDR ((volatile uint16_t *)REG_TWI1_MSTRADDR) /* TWI1 Master Mode Address Register */
-#define pREG_TWI1_ISTAT ((volatile uint16_t *)REG_TWI1_ISTAT) /* TWI1 Interrupt Status Register */
-#define pREG_TWI1_IMSK ((volatile uint16_t *)REG_TWI1_IMSK) /* TWI1 Interrupt Mask Register */
-#define pREG_TWI1_FIFOCTL ((volatile uint16_t *)REG_TWI1_FIFOCTL) /* TWI1 FIFO Control Register */
-#define pREG_TWI1_FIFOSTAT ((volatile uint16_t *)REG_TWI1_FIFOSTAT) /* TWI1 FIFO Status Register */
-#define pREG_TWI1_TXDATA8 ((volatile uint16_t *)REG_TWI1_TXDATA8) /* TWI1 Tx Data Single-Byte Register */
-#define pREG_TWI1_TXDATA16 ((volatile uint16_t *)REG_TWI1_TXDATA16) /* TWI1 Tx Data Double-Byte Register */
-#define pREG_TWI1_RXDATA8 ((volatile uint16_t *)REG_TWI1_RXDATA8) /* TWI1 Rx Data Single-Byte Register */
-#define pREG_TWI1_RXDATA16 ((volatile uint16_t *)REG_TWI1_RXDATA16) /* TWI1 Rx Data Double-Byte Register */
-
-
-/* =========================================================================
- UART0
- ========================================================================= */
-#define pREG_UART0_REVID ((volatile uint32_t *)REG_UART0_REVID) /* UART0 Revision ID Register */
-#define pREG_UART0_CTL ((volatile uint32_t *)REG_UART0_CTL) /* UART0 Control Register */
-#define pREG_UART0_STAT ((volatile uint32_t *)REG_UART0_STAT) /* UART0 Status Register */
-#define pREG_UART0_SCR ((volatile uint32_t *)REG_UART0_SCR) /* UART0 Scratch Register */
-#define pREG_UART0_CLK ((volatile uint32_t *)REG_UART0_CLK) /* UART0 Clock Rate Register */
-#define pREG_UART0_IMSK ((volatile uint32_t *)REG_UART0_IMSK) /* UART0 Interrupt Mask Register */
-#define pREG_UART0_IMSK_SET ((volatile uint32_t *)REG_UART0_IMSK_SET) /* UART0 Interrupt Mask Set Register */
-#define pREG_UART0_IMSK_CLR ((volatile uint32_t *)REG_UART0_IMSK_CLR) /* UART0 Interrupt Mask Clear Register */
-#define pREG_UART0_RBR ((volatile uint32_t *)REG_UART0_RBR) /* UART0 Receive Buffer Register */
-#define pREG_UART0_THR ((volatile uint32_t *)REG_UART0_THR) /* UART0 Transmit Hold Register */
-#define pREG_UART0_TAIP ((volatile uint32_t *)REG_UART0_TAIP) /* UART0 Transmit Address/Insert Pulse Register */
-#define pREG_UART0_TSR ((volatile uint32_t *)REG_UART0_TSR) /* UART0 Transmit Shift Register */
-#define pREG_UART0_RSR ((volatile uint32_t *)REG_UART0_RSR) /* UART0 Receive Shift Register */
-#define pREG_UART0_TXCNT ((volatile uint32_t *)REG_UART0_TXCNT) /* UART0 Transmit Counter Register */
-#define pREG_UART0_RXCNT ((volatile uint32_t *)REG_UART0_RXCNT) /* UART0 Receive Counter Register */
-
-/* =========================================================================
- UART1
- ========================================================================= */
-#define pREG_UART1_REVID ((volatile uint32_t *)REG_UART1_REVID) /* UART1 Revision ID Register */
-#define pREG_UART1_CTL ((volatile uint32_t *)REG_UART1_CTL) /* UART1 Control Register */
-#define pREG_UART1_STAT ((volatile uint32_t *)REG_UART1_STAT) /* UART1 Status Register */
-#define pREG_UART1_SCR ((volatile uint32_t *)REG_UART1_SCR) /* UART1 Scratch Register */
-#define pREG_UART1_CLK ((volatile uint32_t *)REG_UART1_CLK) /* UART1 Clock Rate Register */
-#define pREG_UART1_IMSK ((volatile uint32_t *)REG_UART1_IMSK) /* UART1 Interrupt Mask Register */
-#define pREG_UART1_IMSK_SET ((volatile uint32_t *)REG_UART1_IMSK_SET) /* UART1 Interrupt Mask Set Register */
-#define pREG_UART1_IMSK_CLR ((volatile uint32_t *)REG_UART1_IMSK_CLR) /* UART1 Interrupt Mask Clear Register */
-#define pREG_UART1_RBR ((volatile uint32_t *)REG_UART1_RBR) /* UART1 Receive Buffer Register */
-#define pREG_UART1_THR ((volatile uint32_t *)REG_UART1_THR) /* UART1 Transmit Hold Register */
-#define pREG_UART1_TAIP ((volatile uint32_t *)REG_UART1_TAIP) /* UART1 Transmit Address/Insert Pulse Register */
-#define pREG_UART1_TSR ((volatile uint32_t *)REG_UART1_TSR) /* UART1 Transmit Shift Register */
-#define pREG_UART1_RSR ((volatile uint32_t *)REG_UART1_RSR) /* UART1 Receive Shift Register */
-#define pREG_UART1_TXCNT ((volatile uint32_t *)REG_UART1_TXCNT) /* UART1 Transmit Counter Register */
-#define pREG_UART1_RXCNT ((volatile uint32_t *)REG_UART1_RXCNT) /* UART1 Receive Counter Register */
-
-
-/* =========================================================================
- PORTA
- ========================================================================= */
-#define pREG_PORTA_FER ((volatile uint32_t *)REG_PORTA_FER) /* PORTA Port x Function Enable Register */
-#define pREG_PORTA_FER_SET ((volatile uint32_t *)REG_PORTA_FER_SET) /* PORTA Port x Function Enable Set Register */
-#define pREG_PORTA_FER_CLR ((volatile uint32_t *)REG_PORTA_FER_CLR) /* PORTA Port x Function Enable Clear Register */
-#define pREG_PORTA_DATA ((volatile uint32_t *)REG_PORTA_DATA) /* PORTA Port x GPIO Data Register */
-#define pREG_PORTA_DATA_SET ((volatile uint32_t *)REG_PORTA_DATA_SET) /* PORTA Port x GPIO Data Set Register */
-#define pREG_PORTA_DATA_CLR ((volatile uint32_t *)REG_PORTA_DATA_CLR) /* PORTA Port x GPIO Data Clear Register */
-#define pREG_PORTA_DIR ((volatile uint32_t *)REG_PORTA_DIR) /* PORTA Port x GPIO Direction Register */
-#define pREG_PORTA_DIR_SET ((volatile uint32_t *)REG_PORTA_DIR_SET) /* PORTA Port x GPIO Direction Set Register */
-#define pREG_PORTA_DIR_CLR ((volatile uint32_t *)REG_PORTA_DIR_CLR) /* PORTA Port x GPIO Direction Clear Register */
-#define pREG_PORTA_INEN ((volatile uint32_t *)REG_PORTA_INEN) /* PORTA Port x GPIO Input Enable Register */
-#define pREG_PORTA_INEN_SET ((volatile uint32_t *)REG_PORTA_INEN_SET) /* PORTA Port x GPIO Input Enable Set Register */
-#define pREG_PORTA_INEN_CLR ((volatile uint32_t *)REG_PORTA_INEN_CLR) /* PORTA Port x GPIO Input Enable Clear Register */
-#define pREG_PORTA_MUX ((volatile uint32_t *)REG_PORTA_MUX) /* PORTA Port x Multiplexer Control Register */
-#define pREG_PORTA_DATA_TGL ((volatile uint32_t *)REG_PORTA_DATA_TGL) /* PORTA Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTA_POL ((volatile uint32_t *)REG_PORTA_POL) /* PORTA Port x GPIO Polarity Invert Register */
-#define pREG_PORTA_POL_SET ((volatile uint32_t *)REG_PORTA_POL_SET) /* PORTA Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTA_POL_CLR ((volatile uint32_t *)REG_PORTA_POL_CLR) /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTA_LOCK ((volatile uint32_t *)REG_PORTA_LOCK) /* PORTA Port x GPIO Lock Register */
-#define pREG_PORTA_REVID ((volatile uint32_t *)REG_PORTA_REVID) /* PORTA Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTB
- ========================================================================= */
-#define pREG_PORTB_FER ((volatile uint32_t *)REG_PORTB_FER) /* PORTB Port x Function Enable Register */
-#define pREG_PORTB_FER_SET ((volatile uint32_t *)REG_PORTB_FER_SET) /* PORTB Port x Function Enable Set Register */
-#define pREG_PORTB_FER_CLR ((volatile uint32_t *)REG_PORTB_FER_CLR) /* PORTB Port x Function Enable Clear Register */
-#define pREG_PORTB_DATA ((volatile uint32_t *)REG_PORTB_DATA) /* PORTB Port x GPIO Data Register */
-#define pREG_PORTB_DATA_SET ((volatile uint32_t *)REG_PORTB_DATA_SET) /* PORTB Port x GPIO Data Set Register */
-#define pREG_PORTB_DATA_CLR ((volatile uint32_t *)REG_PORTB_DATA_CLR) /* PORTB Port x GPIO Data Clear Register */
-#define pREG_PORTB_DIR ((volatile uint32_t *)REG_PORTB_DIR) /* PORTB Port x GPIO Direction Register */
-#define pREG_PORTB_DIR_SET ((volatile uint32_t *)REG_PORTB_DIR_SET) /* PORTB Port x GPIO Direction Set Register */
-#define pREG_PORTB_DIR_CLR ((volatile uint32_t *)REG_PORTB_DIR_CLR) /* PORTB Port x GPIO Direction Clear Register */
-#define pREG_PORTB_INEN ((volatile uint32_t *)REG_PORTB_INEN) /* PORTB Port x GPIO Input Enable Register */
-#define pREG_PORTB_INEN_SET ((volatile uint32_t *)REG_PORTB_INEN_SET) /* PORTB Port x GPIO Input Enable Set Register */
-#define pREG_PORTB_INEN_CLR ((volatile uint32_t *)REG_PORTB_INEN_CLR) /* PORTB Port x GPIO Input Enable Clear Register */
-#define pREG_PORTB_MUX ((volatile uint32_t *)REG_PORTB_MUX) /* PORTB Port x Multiplexer Control Register */
-#define pREG_PORTB_DATA_TGL ((volatile uint32_t *)REG_PORTB_DATA_TGL) /* PORTB Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTB_POL ((volatile uint32_t *)REG_PORTB_POL) /* PORTB Port x GPIO Polarity Invert Register */
-#define pREG_PORTB_POL_SET ((volatile uint32_t *)REG_PORTB_POL_SET) /* PORTB Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTB_POL_CLR ((volatile uint32_t *)REG_PORTB_POL_CLR) /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTB_LOCK ((volatile uint32_t *)REG_PORTB_LOCK) /* PORTB Port x GPIO Lock Register */
-#define pREG_PORTB_REVID ((volatile uint32_t *)REG_PORTB_REVID) /* PORTB Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTC
- ========================================================================= */
-#define pREG_PORTC_FER ((volatile uint32_t *)REG_PORTC_FER) /* PORTC Port x Function Enable Register */
-#define pREG_PORTC_FER_SET ((volatile uint32_t *)REG_PORTC_FER_SET) /* PORTC Port x Function Enable Set Register */
-#define pREG_PORTC_FER_CLR ((volatile uint32_t *)REG_PORTC_FER_CLR) /* PORTC Port x Function Enable Clear Register */
-#define pREG_PORTC_DATA ((volatile uint32_t *)REG_PORTC_DATA) /* PORTC Port x GPIO Data Register */
-#define pREG_PORTC_DATA_SET ((volatile uint32_t *)REG_PORTC_DATA_SET) /* PORTC Port x GPIO Data Set Register */
-#define pREG_PORTC_DATA_CLR ((volatile uint32_t *)REG_PORTC_DATA_CLR) /* PORTC Port x GPIO Data Clear Register */
-#define pREG_PORTC_DIR ((volatile uint32_t *)REG_PORTC_DIR) /* PORTC Port x GPIO Direction Register */
-#define pREG_PORTC_DIR_SET ((volatile uint32_t *)REG_PORTC_DIR_SET) /* PORTC Port x GPIO Direction Set Register */
-#define pREG_PORTC_DIR_CLR ((volatile uint32_t *)REG_PORTC_DIR_CLR) /* PORTC Port x GPIO Direction Clear Register */
-#define pREG_PORTC_INEN ((volatile uint32_t *)REG_PORTC_INEN) /* PORTC Port x GPIO Input Enable Register */
-#define pREG_PORTC_INEN_SET ((volatile uint32_t *)REG_PORTC_INEN_SET) /* PORTC Port x GPIO Input Enable Set Register */
-#define pREG_PORTC_INEN_CLR ((volatile uint32_t *)REG_PORTC_INEN_CLR) /* PORTC Port x GPIO Input Enable Clear Register */
-#define pREG_PORTC_MUX ((volatile uint32_t *)REG_PORTC_MUX) /* PORTC Port x Multiplexer Control Register */
-#define pREG_PORTC_DATA_TGL ((volatile uint32_t *)REG_PORTC_DATA_TGL) /* PORTC Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTC_POL ((volatile uint32_t *)REG_PORTC_POL) /* PORTC Port x GPIO Polarity Invert Register */
-#define pREG_PORTC_POL_SET ((volatile uint32_t *)REG_PORTC_POL_SET) /* PORTC Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTC_POL_CLR ((volatile uint32_t *)REG_PORTC_POL_CLR) /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTC_LOCK ((volatile uint32_t *)REG_PORTC_LOCK) /* PORTC Port x GPIO Lock Register */
-#define pREG_PORTC_REVID ((volatile uint32_t *)REG_PORTC_REVID) /* PORTC Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTD
- ========================================================================= */
-#define pREG_PORTD_FER ((volatile uint32_t *)REG_PORTD_FER) /* PORTD Port x Function Enable Register */
-#define pREG_PORTD_FER_SET ((volatile uint32_t *)REG_PORTD_FER_SET) /* PORTD Port x Function Enable Set Register */
-#define pREG_PORTD_FER_CLR ((volatile uint32_t *)REG_PORTD_FER_CLR) /* PORTD Port x Function Enable Clear Register */
-#define pREG_PORTD_DATA ((volatile uint32_t *)REG_PORTD_DATA) /* PORTD Port x GPIO Data Register */
-#define pREG_PORTD_DATA_SET ((volatile uint32_t *)REG_PORTD_DATA_SET) /* PORTD Port x GPIO Data Set Register */
-#define pREG_PORTD_DATA_CLR ((volatile uint32_t *)REG_PORTD_DATA_CLR) /* PORTD Port x GPIO Data Clear Register */
-#define pREG_PORTD_DIR ((volatile uint32_t *)REG_PORTD_DIR) /* PORTD Port x GPIO Direction Register */
-#define pREG_PORTD_DIR_SET ((volatile uint32_t *)REG_PORTD_DIR_SET) /* PORTD Port x GPIO Direction Set Register */
-#define pREG_PORTD_DIR_CLR ((volatile uint32_t *)REG_PORTD_DIR_CLR) /* PORTD Port x GPIO Direction Clear Register */
-#define pREG_PORTD_INEN ((volatile uint32_t *)REG_PORTD_INEN) /* PORTD Port x GPIO Input Enable Register */
-#define pREG_PORTD_INEN_SET ((volatile uint32_t *)REG_PORTD_INEN_SET) /* PORTD Port x GPIO Input Enable Set Register */
-#define pREG_PORTD_INEN_CLR ((volatile uint32_t *)REG_PORTD_INEN_CLR) /* PORTD Port x GPIO Input Enable Clear Register */
-#define pREG_PORTD_MUX ((volatile uint32_t *)REG_PORTD_MUX) /* PORTD Port x Multiplexer Control Register */
-#define pREG_PORTD_DATA_TGL ((volatile uint32_t *)REG_PORTD_DATA_TGL) /* PORTD Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTD_POL ((volatile uint32_t *)REG_PORTD_POL) /* PORTD Port x GPIO Polarity Invert Register */
-#define pREG_PORTD_POL_SET ((volatile uint32_t *)REG_PORTD_POL_SET) /* PORTD Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTD_POL_CLR ((volatile uint32_t *)REG_PORTD_POL_CLR) /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTD_LOCK ((volatile uint32_t *)REG_PORTD_LOCK) /* PORTD Port x GPIO Lock Register */
-#define pREG_PORTD_REVID ((volatile uint32_t *)REG_PORTD_REVID) /* PORTD Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTE
- ========================================================================= */
-#define pREG_PORTE_FER ((volatile uint32_t *)REG_PORTE_FER) /* PORTE Port x Function Enable Register */
-#define pREG_PORTE_FER_SET ((volatile uint32_t *)REG_PORTE_FER_SET) /* PORTE Port x Function Enable Set Register */
-#define pREG_PORTE_FER_CLR ((volatile uint32_t *)REG_PORTE_FER_CLR) /* PORTE Port x Function Enable Clear Register */
-#define pREG_PORTE_DATA ((volatile uint32_t *)REG_PORTE_DATA) /* PORTE Port x GPIO Data Register */
-#define pREG_PORTE_DATA_SET ((volatile uint32_t *)REG_PORTE_DATA_SET) /* PORTE Port x GPIO Data Set Register */
-#define pREG_PORTE_DATA_CLR ((volatile uint32_t *)REG_PORTE_DATA_CLR) /* PORTE Port x GPIO Data Clear Register */
-#define pREG_PORTE_DIR ((volatile uint32_t *)REG_PORTE_DIR) /* PORTE Port x GPIO Direction Register */
-#define pREG_PORTE_DIR_SET ((volatile uint32_t *)REG_PORTE_DIR_SET) /* PORTE Port x GPIO Direction Set Register */
-#define pREG_PORTE_DIR_CLR ((volatile uint32_t *)REG_PORTE_DIR_CLR) /* PORTE Port x GPIO Direction Clear Register */
-#define pREG_PORTE_INEN ((volatile uint32_t *)REG_PORTE_INEN) /* PORTE Port x GPIO Input Enable Register */
-#define pREG_PORTE_INEN_SET ((volatile uint32_t *)REG_PORTE_INEN_SET) /* PORTE Port x GPIO Input Enable Set Register */
-#define pREG_PORTE_INEN_CLR ((volatile uint32_t *)REG_PORTE_INEN_CLR) /* PORTE Port x GPIO Input Enable Clear Register */
-#define pREG_PORTE_MUX ((volatile uint32_t *)REG_PORTE_MUX) /* PORTE Port x Multiplexer Control Register */
-#define pREG_PORTE_DATA_TGL ((volatile uint32_t *)REG_PORTE_DATA_TGL) /* PORTE Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTE_POL ((volatile uint32_t *)REG_PORTE_POL) /* PORTE Port x GPIO Polarity Invert Register */
-#define pREG_PORTE_POL_SET ((volatile uint32_t *)REG_PORTE_POL_SET) /* PORTE Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTE_POL_CLR ((volatile uint32_t *)REG_PORTE_POL_CLR) /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTE_LOCK ((volatile uint32_t *)REG_PORTE_LOCK) /* PORTE Port x GPIO Lock Register */
-#define pREG_PORTE_REVID ((volatile uint32_t *)REG_PORTE_REVID) /* PORTE Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTF
- ========================================================================= */
-#define pREG_PORTF_FER ((volatile uint32_t *)REG_PORTF_FER) /* PORTF Port x Function Enable Register */
-#define pREG_PORTF_FER_SET ((volatile uint32_t *)REG_PORTF_FER_SET) /* PORTF Port x Function Enable Set Register */
-#define pREG_PORTF_FER_CLR ((volatile uint32_t *)REG_PORTF_FER_CLR) /* PORTF Port x Function Enable Clear Register */
-#define pREG_PORTF_DATA ((volatile uint32_t *)REG_PORTF_DATA) /* PORTF Port x GPIO Data Register */
-#define pREG_PORTF_DATA_SET ((volatile uint32_t *)REG_PORTF_DATA_SET) /* PORTF Port x GPIO Data Set Register */
-#define pREG_PORTF_DATA_CLR ((volatile uint32_t *)REG_PORTF_DATA_CLR) /* PORTF Port x GPIO Data Clear Register */
-#define pREG_PORTF_DIR ((volatile uint32_t *)REG_PORTF_DIR) /* PORTF Port x GPIO Direction Register */
-#define pREG_PORTF_DIR_SET ((volatile uint32_t *)REG_PORTF_DIR_SET) /* PORTF Port x GPIO Direction Set Register */
-#define pREG_PORTF_DIR_CLR ((volatile uint32_t *)REG_PORTF_DIR_CLR) /* PORTF Port x GPIO Direction Clear Register */
-#define pREG_PORTF_INEN ((volatile uint32_t *)REG_PORTF_INEN) /* PORTF Port x GPIO Input Enable Register */
-#define pREG_PORTF_INEN_SET ((volatile uint32_t *)REG_PORTF_INEN_SET) /* PORTF Port x GPIO Input Enable Set Register */
-#define pREG_PORTF_INEN_CLR ((volatile uint32_t *)REG_PORTF_INEN_CLR) /* PORTF Port x GPIO Input Enable Clear Register */
-#define pREG_PORTF_MUX ((volatile uint32_t *)REG_PORTF_MUX) /* PORTF Port x Multiplexer Control Register */
-#define pREG_PORTF_DATA_TGL ((volatile uint32_t *)REG_PORTF_DATA_TGL) /* PORTF Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTF_POL ((volatile uint32_t *)REG_PORTF_POL) /* PORTF Port x GPIO Polarity Invert Register */
-#define pREG_PORTF_POL_SET ((volatile uint32_t *)REG_PORTF_POL_SET) /* PORTF Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTF_POL_CLR ((volatile uint32_t *)REG_PORTF_POL_CLR) /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTF_LOCK ((volatile uint32_t *)REG_PORTF_LOCK) /* PORTF Port x GPIO Lock Register */
-#define pREG_PORTF_REVID ((volatile uint32_t *)REG_PORTF_REVID) /* PORTF Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTG
- ========================================================================= */
-#define pREG_PORTG_FER ((volatile uint32_t *)REG_PORTG_FER) /* PORTG Port x Function Enable Register */
-#define pREG_PORTG_FER_SET ((volatile uint32_t *)REG_PORTG_FER_SET) /* PORTG Port x Function Enable Set Register */
-#define pREG_PORTG_FER_CLR ((volatile uint32_t *)REG_PORTG_FER_CLR) /* PORTG Port x Function Enable Clear Register */
-#define pREG_PORTG_DATA ((volatile uint32_t *)REG_PORTG_DATA) /* PORTG Port x GPIO Data Register */
-#define pREG_PORTG_DATA_SET ((volatile uint32_t *)REG_PORTG_DATA_SET) /* PORTG Port x GPIO Data Set Register */
-#define pREG_PORTG_DATA_CLR ((volatile uint32_t *)REG_PORTG_DATA_CLR) /* PORTG Port x GPIO Data Clear Register */
-#define pREG_PORTG_DIR ((volatile uint32_t *)REG_PORTG_DIR) /* PORTG Port x GPIO Direction Register */
-#define pREG_PORTG_DIR_SET ((volatile uint32_t *)REG_PORTG_DIR_SET) /* PORTG Port x GPIO Direction Set Register */
-#define pREG_PORTG_DIR_CLR ((volatile uint32_t *)REG_PORTG_DIR_CLR) /* PORTG Port x GPIO Direction Clear Register */
-#define pREG_PORTG_INEN ((volatile uint32_t *)REG_PORTG_INEN) /* PORTG Port x GPIO Input Enable Register */
-#define pREG_PORTG_INEN_SET ((volatile uint32_t *)REG_PORTG_INEN_SET) /* PORTG Port x GPIO Input Enable Set Register */
-#define pREG_PORTG_INEN_CLR ((volatile uint32_t *)REG_PORTG_INEN_CLR) /* PORTG Port x GPIO Input Enable Clear Register */
-#define pREG_PORTG_MUX ((volatile uint32_t *)REG_PORTG_MUX) /* PORTG Port x Multiplexer Control Register */
-#define pREG_PORTG_DATA_TGL ((volatile uint32_t *)REG_PORTG_DATA_TGL) /* PORTG Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTG_POL ((volatile uint32_t *)REG_PORTG_POL) /* PORTG Port x GPIO Polarity Invert Register */
-#define pREG_PORTG_POL_SET ((volatile uint32_t *)REG_PORTG_POL_SET) /* PORTG Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTG_POL_CLR ((volatile uint32_t *)REG_PORTG_POL_CLR) /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTG_LOCK ((volatile uint32_t *)REG_PORTG_LOCK) /* PORTG Port x GPIO Lock Register */
-#define pREG_PORTG_REVID ((volatile uint32_t *)REG_PORTG_REVID) /* PORTG Port x GPIO Revision ID */
-
-
-/* =========================================================================
- PADS0
- ========================================================================= */
-#define pREG_PADS0_EMAC_PTP_CLKSEL ((volatile uint32_t *)REG_PADS0_EMAC_PTP_CLKSEL) /* PADS0 Clock Selection for EMAC and PTP */
-#define pREG_PADS0_TWI_VSEL ((volatile uint32_t *)REG_PADS0_TWI_VSEL) /* PADS0 TWI Voltage Selection */
-#define pREG_PADS0_PORTS_HYST ((volatile uint32_t *)REG_PADS0_PORTS_HYST) /* PADS0 Hysteresis Enable Register */
-
-
-/* =========================================================================
- PINT0
- ========================================================================= */
-#define pREG_PINT0_MSK_SET ((volatile uint32_t *)REG_PINT0_MSK_SET) /* PINT0 Pint Mask Set Register */
-#define pREG_PINT0_MSK_CLR ((volatile uint32_t *)REG_PINT0_MSK_CLR) /* PINT0 Pint Mask Clear Register */
-#define pREG_PINT0_REQ ((volatile uint32_t *)REG_PINT0_REQ) /* PINT0 Pint Request Register */
-#define pREG_PINT0_ASSIGN ((volatile uint32_t *)REG_PINT0_ASSIGN) /* PINT0 Pint Assign Register */
-#define pREG_PINT0_EDGE_SET ((volatile uint32_t *)REG_PINT0_EDGE_SET) /* PINT0 Pint Edge Set Register */
-#define pREG_PINT0_EDGE_CLR ((volatile uint32_t *)REG_PINT0_EDGE_CLR) /* PINT0 Pint Edge Clear Register */
-#define pREG_PINT0_INV_SET ((volatile uint32_t *)REG_PINT0_INV_SET) /* PINT0 Pint Invert Set Register */
-#define pREG_PINT0_INV_CLR ((volatile uint32_t *)REG_PINT0_INV_CLR) /* PINT0 Pint Invert Clear Register */
-#define pREG_PINT0_PINSTATE ((volatile uint32_t *)REG_PINT0_PINSTATE) /* PINT0 Pint Pinstate Register */
-#define pREG_PINT0_LATCH ((volatile uint32_t *)REG_PINT0_LATCH) /* PINT0 Pint Latch Register */
-
-/* =========================================================================
- PINT1
- ========================================================================= */
-#define pREG_PINT1_MSK_SET ((volatile uint32_t *)REG_PINT1_MSK_SET) /* PINT1 Pint Mask Set Register */
-#define pREG_PINT1_MSK_CLR ((volatile uint32_t *)REG_PINT1_MSK_CLR) /* PINT1 Pint Mask Clear Register */
-#define pREG_PINT1_REQ ((volatile uint32_t *)REG_PINT1_REQ) /* PINT1 Pint Request Register */
-#define pREG_PINT1_ASSIGN ((volatile uint32_t *)REG_PINT1_ASSIGN) /* PINT1 Pint Assign Register */
-#define pREG_PINT1_EDGE_SET ((volatile uint32_t *)REG_PINT1_EDGE_SET) /* PINT1 Pint Edge Set Register */
-#define pREG_PINT1_EDGE_CLR ((volatile uint32_t *)REG_PINT1_EDGE_CLR) /* PINT1 Pint Edge Clear Register */
-#define pREG_PINT1_INV_SET ((volatile uint32_t *)REG_PINT1_INV_SET) /* PINT1 Pint Invert Set Register */
-#define pREG_PINT1_INV_CLR ((volatile uint32_t *)REG_PINT1_INV_CLR) /* PINT1 Pint Invert Clear Register */
-#define pREG_PINT1_PINSTATE ((volatile uint32_t *)REG_PINT1_PINSTATE) /* PINT1 Pint Pinstate Register */
-#define pREG_PINT1_LATCH ((volatile uint32_t *)REG_PINT1_LATCH) /* PINT1 Pint Latch Register */
-
-/* =========================================================================
- PINT2
- ========================================================================= */
-#define pREG_PINT2_MSK_SET ((volatile uint32_t *)REG_PINT2_MSK_SET) /* PINT2 Pint Mask Set Register */
-#define pREG_PINT2_MSK_CLR ((volatile uint32_t *)REG_PINT2_MSK_CLR) /* PINT2 Pint Mask Clear Register */
-#define pREG_PINT2_REQ ((volatile uint32_t *)REG_PINT2_REQ) /* PINT2 Pint Request Register */
-#define pREG_PINT2_ASSIGN ((volatile uint32_t *)REG_PINT2_ASSIGN) /* PINT2 Pint Assign Register */
-#define pREG_PINT2_EDGE_SET ((volatile uint32_t *)REG_PINT2_EDGE_SET) /* PINT2 Pint Edge Set Register */
-#define pREG_PINT2_EDGE_CLR ((volatile uint32_t *)REG_PINT2_EDGE_CLR) /* PINT2 Pint Edge Clear Register */
-#define pREG_PINT2_INV_SET ((volatile uint32_t *)REG_PINT2_INV_SET) /* PINT2 Pint Invert Set Register */
-#define pREG_PINT2_INV_CLR ((volatile uint32_t *)REG_PINT2_INV_CLR) /* PINT2 Pint Invert Clear Register */
-#define pREG_PINT2_PINSTATE ((volatile uint32_t *)REG_PINT2_PINSTATE) /* PINT2 Pint Pinstate Register */
-#define pREG_PINT2_LATCH ((volatile uint32_t *)REG_PINT2_LATCH) /* PINT2 Pint Latch Register */
-
-/* =========================================================================
- PINT3
- ========================================================================= */
-#define pREG_PINT3_MSK_SET ((volatile uint32_t *)REG_PINT3_MSK_SET) /* PINT3 Pint Mask Set Register */
-#define pREG_PINT3_MSK_CLR ((volatile uint32_t *)REG_PINT3_MSK_CLR) /* PINT3 Pint Mask Clear Register */
-#define pREG_PINT3_REQ ((volatile uint32_t *)REG_PINT3_REQ) /* PINT3 Pint Request Register */
-#define pREG_PINT3_ASSIGN ((volatile uint32_t *)REG_PINT3_ASSIGN) /* PINT3 Pint Assign Register */
-#define pREG_PINT3_EDGE_SET ((volatile uint32_t *)REG_PINT3_EDGE_SET) /* PINT3 Pint Edge Set Register */
-#define pREG_PINT3_EDGE_CLR ((volatile uint32_t *)REG_PINT3_EDGE_CLR) /* PINT3 Pint Edge Clear Register */
-#define pREG_PINT3_INV_SET ((volatile uint32_t *)REG_PINT3_INV_SET) /* PINT3 Pint Invert Set Register */
-#define pREG_PINT3_INV_CLR ((volatile uint32_t *)REG_PINT3_INV_CLR) /* PINT3 Pint Invert Clear Register */
-#define pREG_PINT3_PINSTATE ((volatile uint32_t *)REG_PINT3_PINSTATE) /* PINT3 Pint Pinstate Register */
-#define pREG_PINT3_LATCH ((volatile uint32_t *)REG_PINT3_LATCH) /* PINT3 Pint Latch Register */
-
-/* =========================================================================
- PINT4
- ========================================================================= */
-#define pREG_PINT4_MSK_SET ((volatile uint32_t *)REG_PINT4_MSK_SET) /* PINT4 Pint Mask Set Register */
-#define pREG_PINT4_MSK_CLR ((volatile uint32_t *)REG_PINT4_MSK_CLR) /* PINT4 Pint Mask Clear Register */
-#define pREG_PINT4_REQ ((volatile uint32_t *)REG_PINT4_REQ) /* PINT4 Pint Request Register */
-#define pREG_PINT4_ASSIGN ((volatile uint32_t *)REG_PINT4_ASSIGN) /* PINT4 Pint Assign Register */
-#define pREG_PINT4_EDGE_SET ((volatile uint32_t *)REG_PINT4_EDGE_SET) /* PINT4 Pint Edge Set Register */
-#define pREG_PINT4_EDGE_CLR ((volatile uint32_t *)REG_PINT4_EDGE_CLR) /* PINT4 Pint Edge Clear Register */
-#define pREG_PINT4_INV_SET ((volatile uint32_t *)REG_PINT4_INV_SET) /* PINT4 Pint Invert Set Register */
-#define pREG_PINT4_INV_CLR ((volatile uint32_t *)REG_PINT4_INV_CLR) /* PINT4 Pint Invert Clear Register */
-#define pREG_PINT4_PINSTATE ((volatile uint32_t *)REG_PINT4_PINSTATE) /* PINT4 Pint Pinstate Register */
-#define pREG_PINT4_LATCH ((volatile uint32_t *)REG_PINT4_LATCH) /* PINT4 Pint Latch Register */
-
-/* =========================================================================
- PINT5
- ========================================================================= */
-#define pREG_PINT5_MSK_SET ((volatile uint32_t *)REG_PINT5_MSK_SET) /* PINT5 Pint Mask Set Register */
-#define pREG_PINT5_MSK_CLR ((volatile uint32_t *)REG_PINT5_MSK_CLR) /* PINT5 Pint Mask Clear Register */
-#define pREG_PINT5_REQ ((volatile uint32_t *)REG_PINT5_REQ) /* PINT5 Pint Request Register */
-#define pREG_PINT5_ASSIGN ((volatile uint32_t *)REG_PINT5_ASSIGN) /* PINT5 Pint Assign Register */
-#define pREG_PINT5_EDGE_SET ((volatile uint32_t *)REG_PINT5_EDGE_SET) /* PINT5 Pint Edge Set Register */
-#define pREG_PINT5_EDGE_CLR ((volatile uint32_t *)REG_PINT5_EDGE_CLR) /* PINT5 Pint Edge Clear Register */
-#define pREG_PINT5_INV_SET ((volatile uint32_t *)REG_PINT5_INV_SET) /* PINT5 Pint Invert Set Register */
-#define pREG_PINT5_INV_CLR ((volatile uint32_t *)REG_PINT5_INV_CLR) /* PINT5 Pint Invert Clear Register */
-#define pREG_PINT5_PINSTATE ((volatile uint32_t *)REG_PINT5_PINSTATE) /* PINT5 Pint Pinstate Register */
-#define pREG_PINT5_LATCH ((volatile uint32_t *)REG_PINT5_LATCH) /* PINT5 Pint Latch Register */
-
-
-/* =========================================================================
- SMC0
- ========================================================================= */
-#define pREG_SMC0_GCTL ((volatile uint32_t *)REG_SMC0_GCTL) /* SMC0 Grant Control Register */
-#define pREG_SMC0_GSTAT ((volatile uint32_t *)REG_SMC0_GSTAT) /* SMC0 Grant Status Register */
-#define pREG_SMC0_B0CTL ((volatile uint32_t *)REG_SMC0_B0CTL) /* SMC0 Bank 0 Control Register */
-#define pREG_SMC0_B0TIM ((volatile uint32_t *)REG_SMC0_B0TIM) /* SMC0 Bank 0 Timing Register */
-#define pREG_SMC0_B0ETIM ((volatile uint32_t *)REG_SMC0_B0ETIM) /* SMC0 Bank 0 Extended Timing Register */
-#define pREG_SMC0_B1CTL ((volatile uint32_t *)REG_SMC0_B1CTL) /* SMC0 Bank 1 Control Register */
-#define pREG_SMC0_B1TIM ((volatile uint32_t *)REG_SMC0_B1TIM) /* SMC0 Bank 1 Timing Register */
-#define pREG_SMC0_B1ETIM ((volatile uint32_t *)REG_SMC0_B1ETIM) /* SMC0 Bank 1 Extended Timing Register */
-#define pREG_SMC0_B2CTL ((volatile uint32_t *)REG_SMC0_B2CTL) /* SMC0 Bank 2 Control Register */
-#define pREG_SMC0_B2TIM ((volatile uint32_t *)REG_SMC0_B2TIM) /* SMC0 Bank 2 Timing Register */
-#define pREG_SMC0_B2ETIM ((volatile uint32_t *)REG_SMC0_B2ETIM) /* SMC0 Bank 2 Extended Timing Register */
-#define pREG_SMC0_B3CTL ((volatile uint32_t *)REG_SMC0_B3CTL) /* SMC0 Bank 3 Control Register */
-#define pREG_SMC0_B3TIM ((volatile uint32_t *)REG_SMC0_B3TIM) /* SMC0 Bank 3 Timing Register */
-#define pREG_SMC0_B3ETIM ((volatile uint32_t *)REG_SMC0_B3ETIM) /* SMC0 Bank 3 Extended Timing Register */
-
-
-/* =========================================================================
- WDOG0
- ========================================================================= */
-#define pREG_WDOG0_CTL ((volatile uint32_t *)REG_WDOG0_CTL) /* WDOG0 Control Register */
-#define pREG_WDOG0_CNT ((volatile uint32_t *)REG_WDOG0_CNT) /* WDOG0 Count Register */
-#define pREG_WDOG0_STAT ((volatile uint32_t *)REG_WDOG0_STAT) /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================================================================
- WDOG1
- ========================================================================= */
-#define pREG_WDOG1_CTL ((volatile uint32_t *)REG_WDOG1_CTL) /* WDOG1 Control Register */
-#define pREG_WDOG1_CNT ((volatile uint32_t *)REG_WDOG1_CNT) /* WDOG1 Count Register */
-#define pREG_WDOG1_STAT ((volatile uint32_t *)REG_WDOG1_STAT) /* WDOG1 Watchdog Timer Status Register */
-
-
-/* =========================================================================
- EPPI0
- ========================================================================= */
-#define pREG_EPPI0_STAT ((volatile uint32_t *)REG_EPPI0_STAT) /* EPPI0 Status Register */
-#define pREG_EPPI0_HCNT ((volatile uint32_t *)REG_EPPI0_HCNT) /* EPPI0 Horizontal Transfer Count Register */
-#define pREG_EPPI0_HDLY ((volatile uint32_t *)REG_EPPI0_HDLY) /* EPPI0 Horizontal Delay Count Register */
-#define pREG_EPPI0_VCNT ((volatile uint32_t *)REG_EPPI0_VCNT) /* EPPI0 Vertical Transfer Count Register */
-#define pREG_EPPI0_VDLY ((volatile uint32_t *)REG_EPPI0_VDLY) /* EPPI0 Vertical Delay Count Register */
-#define pREG_EPPI0_FRAME ((volatile uint32_t *)REG_EPPI0_FRAME) /* EPPI0 Lines Per Frame Register */
-#define pREG_EPPI0_LINE ((volatile uint32_t *)REG_EPPI0_LINE) /* EPPI0 Samples Per Line Register */
-#define pREG_EPPI0_CLKDIV ((volatile uint32_t *)REG_EPPI0_CLKDIV) /* EPPI0 Clock Divide Register */
-#define pREG_EPPI0_CTL ((volatile uint32_t *)REG_EPPI0_CTL) /* EPPI0 Control Register */
-#define pREG_EPPI0_FS1_WLHB ((volatile uint32_t *)REG_EPPI0_FS1_WLHB) /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI0_FS1_PASPL ((volatile uint32_t *)REG_EPPI0_FS1_PASPL) /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI0_FS2_WLVB ((volatile uint32_t *)REG_EPPI0_FS2_WLVB) /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI0_FS2_PALPF ((volatile uint32_t *)REG_EPPI0_FS2_PALPF) /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI0_IMSK ((volatile uint32_t *)REG_EPPI0_IMSK) /* EPPI0 Interrupt Mask Register */
-#define pREG_EPPI0_ODDCLIP ((volatile uint32_t *)REG_EPPI0_ODDCLIP) /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI0_EVENCLIP ((volatile uint32_t *)REG_EPPI0_EVENCLIP) /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI0_FS1_DLY ((volatile uint32_t *)REG_EPPI0_FS1_DLY) /* EPPI0 Frame Sync 1 Delay Value */
-#define pREG_EPPI0_FS2_DLY ((volatile uint32_t *)REG_EPPI0_FS2_DLY) /* EPPI0 Frame Sync 2 Delay Value */
-#define pREG_EPPI0_CTL2 ((volatile uint32_t *)REG_EPPI0_CTL2) /* EPPI0 Control Register 2 */
-
-/* =========================================================================
- EPPI1
- ========================================================================= */
-#define pREG_EPPI1_STAT ((volatile uint32_t *)REG_EPPI1_STAT) /* EPPI1 Status Register */
-#define pREG_EPPI1_HCNT ((volatile uint32_t *)REG_EPPI1_HCNT) /* EPPI1 Horizontal Transfer Count Register */
-#define pREG_EPPI1_HDLY ((volatile uint32_t *)REG_EPPI1_HDLY) /* EPPI1 Horizontal Delay Count Register */
-#define pREG_EPPI1_VCNT ((volatile uint32_t *)REG_EPPI1_VCNT) /* EPPI1 Vertical Transfer Count Register */
-#define pREG_EPPI1_VDLY ((volatile uint32_t *)REG_EPPI1_VDLY) /* EPPI1 Vertical Delay Count Register */
-#define pREG_EPPI1_FRAME ((volatile uint32_t *)REG_EPPI1_FRAME) /* EPPI1 Lines Per Frame Register */
-#define pREG_EPPI1_LINE ((volatile uint32_t *)REG_EPPI1_LINE) /* EPPI1 Samples Per Line Register */
-#define pREG_EPPI1_CLKDIV ((volatile uint32_t *)REG_EPPI1_CLKDIV) /* EPPI1 Clock Divide Register */
-#define pREG_EPPI1_CTL ((volatile uint32_t *)REG_EPPI1_CTL) /* EPPI1 Control Register */
-#define pREG_EPPI1_FS1_WLHB ((volatile uint32_t *)REG_EPPI1_FS1_WLHB) /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI1_FS1_PASPL ((volatile uint32_t *)REG_EPPI1_FS1_PASPL) /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI1_FS2_WLVB ((volatile uint32_t *)REG_EPPI1_FS2_WLVB) /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI1_FS2_PALPF ((volatile uint32_t *)REG_EPPI1_FS2_PALPF) /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI1_IMSK ((volatile uint32_t *)REG_EPPI1_IMSK) /* EPPI1 Interrupt Mask Register */
-#define pREG_EPPI1_ODDCLIP ((volatile uint32_t *)REG_EPPI1_ODDCLIP) /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI1_EVENCLIP ((volatile uint32_t *)REG_EPPI1_EVENCLIP) /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI1_FS1_DLY ((volatile uint32_t *)REG_EPPI1_FS1_DLY) /* EPPI1 Frame Sync 1 Delay Value */
-#define pREG_EPPI1_FS2_DLY ((volatile uint32_t *)REG_EPPI1_FS2_DLY) /* EPPI1 Frame Sync 2 Delay Value */
-#define pREG_EPPI1_CTL2 ((volatile uint32_t *)REG_EPPI1_CTL2) /* EPPI1 Control Register 2 */
-
-/* =========================================================================
- EPPI2
- ========================================================================= */
-#define pREG_EPPI2_STAT ((volatile uint32_t *)REG_EPPI2_STAT) /* EPPI2 Status Register */
-#define pREG_EPPI2_HCNT ((volatile uint32_t *)REG_EPPI2_HCNT) /* EPPI2 Horizontal Transfer Count Register */
-#define pREG_EPPI2_HDLY ((volatile uint32_t *)REG_EPPI2_HDLY) /* EPPI2 Horizontal Delay Count Register */
-#define pREG_EPPI2_VCNT ((volatile uint32_t *)REG_EPPI2_VCNT) /* EPPI2 Vertical Transfer Count Register */
-#define pREG_EPPI2_VDLY ((volatile uint32_t *)REG_EPPI2_VDLY) /* EPPI2 Vertical Delay Count Register */
-#define pREG_EPPI2_FRAME ((volatile uint32_t *)REG_EPPI2_FRAME) /* EPPI2 Lines Per Frame Register */
-#define pREG_EPPI2_LINE ((volatile uint32_t *)REG_EPPI2_LINE) /* EPPI2 Samples Per Line Register */
-#define pREG_EPPI2_CLKDIV ((volatile uint32_t *)REG_EPPI2_CLKDIV) /* EPPI2 Clock Divide Register */
-#define pREG_EPPI2_CTL ((volatile uint32_t *)REG_EPPI2_CTL) /* EPPI2 Control Register */
-#define pREG_EPPI2_FS1_WLHB ((volatile uint32_t *)REG_EPPI2_FS1_WLHB) /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI2_FS1_PASPL ((volatile uint32_t *)REG_EPPI2_FS1_PASPL) /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI2_FS2_WLVB ((volatile uint32_t *)REG_EPPI2_FS2_WLVB) /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI2_FS2_PALPF ((volatile uint32_t *)REG_EPPI2_FS2_PALPF) /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI2_IMSK ((volatile uint32_t *)REG_EPPI2_IMSK) /* EPPI2 Interrupt Mask Register */
-#define pREG_EPPI2_ODDCLIP ((volatile uint32_t *)REG_EPPI2_ODDCLIP) /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI2_EVENCLIP ((volatile uint32_t *)REG_EPPI2_EVENCLIP) /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI2_FS1_DLY ((volatile uint32_t *)REG_EPPI2_FS1_DLY) /* EPPI2 Frame Sync 1 Delay Value */
-#define pREG_EPPI2_FS2_DLY ((volatile uint32_t *)REG_EPPI2_FS2_DLY) /* EPPI2 Frame Sync 2 Delay Value */
-#define pREG_EPPI2_CTL2 ((volatile uint32_t *)REG_EPPI2_CTL2) /* EPPI2 Control Register 2 */
-
-
-/* =========================================================================
- PWM0
- ========================================================================= */
-#define pREG_PWM0_CTL ((volatile uint32_t *)REG_PWM0_CTL) /* PWM0 Control Register */
-#define pREG_PWM0_CHANCFG ((volatile uint32_t *)REG_PWM0_CHANCFG) /* PWM0 Channel Config Register */
-#define pREG_PWM0_TRIPCFG ((volatile uint32_t *)REG_PWM0_TRIPCFG) /* PWM0 Trip Config Register */
-#define pREG_PWM0_STAT ((volatile uint32_t *)REG_PWM0_STAT) /* PWM0 Status Register */
-#define pREG_PWM0_IMSK ((volatile uint32_t *)REG_PWM0_IMSK) /* PWM0 Interrupt Mask Register */
-#define pREG_PWM0_ILAT ((volatile uint32_t *)REG_PWM0_ILAT) /* PWM0 Interrupt Latch Register */
-#define pREG_PWM0_CHOPCFG ((volatile uint32_t *)REG_PWM0_CHOPCFG) /* PWM0 Chop Configuration Register */
-#define pREG_PWM0_DT ((volatile uint32_t *)REG_PWM0_DT) /* PWM0 Dead Time Register */
-#define pREG_PWM0_SYNC_WID ((volatile uint32_t *)REG_PWM0_SYNC_WID) /* PWM0 Sync Pulse Width Register */
-#define pREG_PWM0_TM0 ((volatile uint32_t *)REG_PWM0_TM0) /* PWM0 Timer 0 Period Register */
-#define pREG_PWM0_TM1 ((volatile uint32_t *)REG_PWM0_TM1) /* PWM0 Timer 1 Period Register */
-#define pREG_PWM0_TM2 ((volatile uint32_t *)REG_PWM0_TM2) /* PWM0 Timer 2 Period Register */
-#define pREG_PWM0_TM3 ((volatile uint32_t *)REG_PWM0_TM3) /* PWM0 Timer 3 Period Register */
-#define pREG_PWM0_TM4 ((volatile uint32_t *)REG_PWM0_TM4) /* PWM0 Timer 4 Period Register */
-#define pREG_PWM0_DLYA ((volatile uint32_t *)REG_PWM0_DLYA) /* PWM0 Channel A Delay Register */
-#define pREG_PWM0_DLYB ((volatile uint32_t *)REG_PWM0_DLYB) /* PWM0 Channel B Delay Register */
-#define pREG_PWM0_DLYC ((volatile uint32_t *)REG_PWM0_DLYC) /* PWM0 Channel C Delay Register */
-#define pREG_PWM0_DLYD ((volatile uint32_t *)REG_PWM0_DLYD) /* PWM0 Channel D Delay Register */
-#define pREG_PWM0_ACTL ((volatile uint32_t *)REG_PWM0_ACTL) /* PWM0 Channel A Control Register */
-#define pREG_PWM0_AH0 ((volatile uint32_t *)REG_PWM0_AH0) /* PWM0 Channel A-High Duty-0 Register */
-#define pREG_PWM0_AH1 ((volatile uint32_t *)REG_PWM0_AH1) /* PWM0 Channel A-High Duty-1 Register */
-#define pREG_PWM0_AL0 ((volatile uint32_t *)REG_PWM0_AL0) /* PWM0 Channel A-Low Duty-0 Register */
-#define pREG_PWM0_AL1 ((volatile uint32_t *)REG_PWM0_AL1) /* PWM0 Channel A-Low Duty-1 Register */
-#define pREG_PWM0_BCTL ((volatile uint32_t *)REG_PWM0_BCTL) /* PWM0 Channel B Control Register */
-#define pREG_PWM0_BH0 ((volatile uint32_t *)REG_PWM0_BH0) /* PWM0 Channel B-High Duty-0 Register */
-#define pREG_PWM0_BH1 ((volatile uint32_t *)REG_PWM0_BH1) /* PWM0 Channel B-High Duty-1 Register */
-#define pREG_PWM0_BL0 ((volatile uint32_t *)REG_PWM0_BL0) /* PWM0 Channel B-Low Duty-0 Register */
-#define pREG_PWM0_BL1 ((volatile uint32_t *)REG_PWM0_BL1) /* PWM0 Channel B-Low Duty-1 Register */
-#define pREG_PWM0_CCTL ((volatile uint32_t *)REG_PWM0_CCTL) /* PWM0 Channel C Control Register */
-#define pREG_PWM0_CH0 ((volatile uint32_t *)REG_PWM0_CH0) /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM0_CH1 ((volatile uint32_t *)REG_PWM0_CH1) /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM0_CL0 ((volatile uint32_t *)REG_PWM0_CL0) /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM0_CL1 ((volatile uint32_t *)REG_PWM0_CL1) /* PWM0 Channel C-Low Duty-1 Register */
-#define pREG_PWM0_DCTL ((volatile uint32_t *)REG_PWM0_DCTL) /* PWM0 Channel D Control Register */
-#define pREG_PWM0_DH0 ((volatile uint32_t *)REG_PWM0_DH0) /* PWM0 Channel D-High Duty-0 Register */
-#define pREG_PWM0_DH1 ((volatile uint32_t *)REG_PWM0_DH1) /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM0_DL0 ((volatile uint32_t *)REG_PWM0_DL0) /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM0_DL1 ((volatile uint32_t *)REG_PWM0_DL1) /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================================================================
- PWM1
- ========================================================================= */
-#define pREG_PWM1_CTL ((volatile uint32_t *)REG_PWM1_CTL) /* PWM1 Control Register */
-#define pREG_PWM1_CHANCFG ((volatile uint32_t *)REG_PWM1_CHANCFG) /* PWM1 Channel Config Register */
-#define pREG_PWM1_TRIPCFG ((volatile uint32_t *)REG_PWM1_TRIPCFG) /* PWM1 Trip Config Register */
-#define pREG_PWM1_STAT ((volatile uint32_t *)REG_PWM1_STAT) /* PWM1 Status Register */
-#define pREG_PWM1_IMSK ((volatile uint32_t *)REG_PWM1_IMSK) /* PWM1 Interrupt Mask Register */
-#define pREG_PWM1_ILAT ((volatile uint32_t *)REG_PWM1_ILAT) /* PWM1 Interrupt Latch Register */
-#define pREG_PWM1_CHOPCFG ((volatile uint32_t *)REG_PWM1_CHOPCFG) /* PWM1 Chop Configuration Register */
-#define pREG_PWM1_DT ((volatile uint32_t *)REG_PWM1_DT) /* PWM1 Dead Time Register */
-#define pREG_PWM1_SYNC_WID ((volatile uint32_t *)REG_PWM1_SYNC_WID) /* PWM1 Sync Pulse Width Register */
-#define pREG_PWM1_TM0 ((volatile uint32_t *)REG_PWM1_TM0) /* PWM1 Timer 0 Period Register */
-#define pREG_PWM1_TM1 ((volatile uint32_t *)REG_PWM1_TM1) /* PWM1 Timer 1 Period Register */
-#define pREG_PWM1_TM2 ((volatile uint32_t *)REG_PWM1_TM2) /* PWM1 Timer 2 Period Register */
-#define pREG_PWM1_TM3 ((volatile uint32_t *)REG_PWM1_TM3) /* PWM1 Timer 3 Period Register */
-#define pREG_PWM1_TM4 ((volatile uint32_t *)REG_PWM1_TM4) /* PWM1 Timer 4 Period Register */
-#define pREG_PWM1_DLYA ((volatile uint32_t *)REG_PWM1_DLYA) /* PWM1 Channel A Delay Register */
-#define pREG_PWM1_DLYB ((volatile uint32_t *)REG_PWM1_DLYB) /* PWM1 Channel B Delay Register */
-#define pREG_PWM1_DLYC ((volatile uint32_t *)REG_PWM1_DLYC) /* PWM1 Channel C Delay Register */
-#define pREG_PWM1_DLYD ((volatile uint32_t *)REG_PWM1_DLYD) /* PWM1 Channel D Delay Register */
-#define pREG_PWM1_ACTL ((volatile uint32_t *)REG_PWM1_ACTL) /* PWM1 Channel A Control Register */
-#define pREG_PWM1_AH0 ((volatile uint32_t *)REG_PWM1_AH0) /* PWM1 Channel A-High Duty-0 Register */
-#define pREG_PWM1_AH1 ((volatile uint32_t *)REG_PWM1_AH1) /* PWM1 Channel A-High Duty-1 Register */
-#define pREG_PWM1_AL0 ((volatile uint32_t *)REG_PWM1_AL0) /* PWM1 Channel A-Low Duty-0 Register */
-#define pREG_PWM1_AL1 ((volatile uint32_t *)REG_PWM1_AL1) /* PWM1 Channel A-Low Duty-1 Register */
-#define pREG_PWM1_BCTL ((volatile uint32_t *)REG_PWM1_BCTL) /* PWM1 Channel B Control Register */
-#define pREG_PWM1_BH0 ((volatile uint32_t *)REG_PWM1_BH0) /* PWM1 Channel B-High Duty-0 Register */
-#define pREG_PWM1_BH1 ((volatile uint32_t *)REG_PWM1_BH1) /* PWM1 Channel B-High Duty-1 Register */
-#define pREG_PWM1_BL0 ((volatile uint32_t *)REG_PWM1_BL0) /* PWM1 Channel B-Low Duty-0 Register */
-#define pREG_PWM1_BL1 ((volatile uint32_t *)REG_PWM1_BL1) /* PWM1 Channel B-Low Duty-1 Register */
-#define pREG_PWM1_CCTL ((volatile uint32_t *)REG_PWM1_CCTL) /* PWM1 Channel C Control Register */
-#define pREG_PWM1_CH0 ((volatile uint32_t *)REG_PWM1_CH0) /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM1_CH1 ((volatile uint32_t *)REG_PWM1_CH1) /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM1_CL0 ((volatile uint32_t *)REG_PWM1_CL0) /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM1_CL1 ((volatile uint32_t *)REG_PWM1_CL1) /* PWM1 Channel C-Low Duty-1 Register */
-#define pREG_PWM1_DCTL ((volatile uint32_t *)REG_PWM1_DCTL) /* PWM1 Channel D Control Register */
-#define pREG_PWM1_DH0 ((volatile uint32_t *)REG_PWM1_DH0) /* PWM1 Channel D-High Duty-0 Register */
-#define pREG_PWM1_DH1 ((volatile uint32_t *)REG_PWM1_DH1) /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM1_DL0 ((volatile uint32_t *)REG_PWM1_DL0) /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM1_DL1 ((volatile uint32_t *)REG_PWM1_DL1) /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-
-/* =========================================================================
- VID0
- ========================================================================= */
-#define pREG_VID0_CONN ((volatile uint32_t *)REG_VID0_CONN) /* VID0 Video Subsystem Connect Register */
-
-
-/* =========================================================================
- SWU0
- ========================================================================= */
-#define pREG_SWU0_GCTL ((volatile uint32_t *)REG_SWU0_GCTL) /* SWU0 Global Control Register */
-#define pREG_SWU0_GSTAT ((volatile uint32_t *)REG_SWU0_GSTAT) /* SWU0 Global Status Register */
-#define pREG_SWU0_CTL0 ((volatile uint32_t *)REG_SWU0_CTL0) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL1 ((volatile uint32_t *)REG_SWU0_CTL1) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL2 ((volatile uint32_t *)REG_SWU0_CTL2) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL3 ((volatile uint32_t *)REG_SWU0_CTL3) /* SWU0 Control Register n */
-#define pREG_SWU0_LA0 ((void * volatile *)REG_SWU0_LA0) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA1 ((void * volatile *)REG_SWU0_LA1) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA2 ((void * volatile *)REG_SWU0_LA2) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA3 ((void * volatile *)REG_SWU0_LA3) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_UA0 ((void * volatile *)REG_SWU0_UA0) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA1 ((void * volatile *)REG_SWU0_UA1) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA2 ((void * volatile *)REG_SWU0_UA2) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA3 ((void * volatile *)REG_SWU0_UA3) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_ID0 ((volatile uint32_t *)REG_SWU0_ID0) /* SWU0 ID Register n */
-#define pREG_SWU0_ID1 ((volatile uint32_t *)REG_SWU0_ID1) /* SWU0 ID Register n */
-#define pREG_SWU0_ID2 ((volatile uint32_t *)REG_SWU0_ID2) /* SWU0 ID Register n */
-#define pREG_SWU0_ID3 ((volatile uint32_t *)REG_SWU0_ID3) /* SWU0 ID Register n */
-#define pREG_SWU0_CNT0 ((volatile uint32_t *)REG_SWU0_CNT0) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT1 ((volatile uint32_t *)REG_SWU0_CNT1) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT2 ((volatile uint32_t *)REG_SWU0_CNT2) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT3 ((volatile uint32_t *)REG_SWU0_CNT3) /* SWU0 Count Register n */
-#define pREG_SWU0_TARG0 ((volatile uint32_t *)REG_SWU0_TARG0) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG1 ((volatile uint32_t *)REG_SWU0_TARG1) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG2 ((volatile uint32_t *)REG_SWU0_TARG2) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG3 ((volatile uint32_t *)REG_SWU0_TARG3) /* SWU0 Target Register n */
-#define pREG_SWU0_HIST0 ((volatile uint32_t *)REG_SWU0_HIST0) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST1 ((volatile uint32_t *)REG_SWU0_HIST1) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST2 ((volatile uint32_t *)REG_SWU0_HIST2) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST3 ((volatile uint32_t *)REG_SWU0_HIST3) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_CUR0 ((volatile uint32_t *)REG_SWU0_CUR0) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR1 ((volatile uint32_t *)REG_SWU0_CUR1) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR2 ((volatile uint32_t *)REG_SWU0_CUR2) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR3 ((volatile uint32_t *)REG_SWU0_CUR3) /* SWU0 Current Register n */
-
-/* =========================================================================
- SWU1
- ========================================================================= */
-#define pREG_SWU1_GCTL ((volatile uint32_t *)REG_SWU1_GCTL) /* SWU1 Global Control Register */
-#define pREG_SWU1_GSTAT ((volatile uint32_t *)REG_SWU1_GSTAT) /* SWU1 Global Status Register */
-#define pREG_SWU1_CTL0 ((volatile uint32_t *)REG_SWU1_CTL0) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL1 ((volatile uint32_t *)REG_SWU1_CTL1) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL2 ((volatile uint32_t *)REG_SWU1_CTL2) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL3 ((volatile uint32_t *)REG_SWU1_CTL3) /* SWU1 Control Register n */
-#define pREG_SWU1_LA0 ((void * volatile *)REG_SWU1_LA0) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA1 ((void * volatile *)REG_SWU1_LA1) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA2 ((void * volatile *)REG_SWU1_LA2) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA3 ((void * volatile *)REG_SWU1_LA3) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_UA0 ((void * volatile *)REG_SWU1_UA0) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA1 ((void * volatile *)REG_SWU1_UA1) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA2 ((void * volatile *)REG_SWU1_UA2) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA3 ((void * volatile *)REG_SWU1_UA3) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_ID0 ((volatile uint32_t *)REG_SWU1_ID0) /* SWU1 ID Register n */
-#define pREG_SWU1_ID1 ((volatile uint32_t *)REG_SWU1_ID1) /* SWU1 ID Register n */
-#define pREG_SWU1_ID2 ((volatile uint32_t *)REG_SWU1_ID2) /* SWU1 ID Register n */
-#define pREG_SWU1_ID3 ((volatile uint32_t *)REG_SWU1_ID3) /* SWU1 ID Register n */
-#define pREG_SWU1_CNT0 ((volatile uint32_t *)REG_SWU1_CNT0) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT1 ((volatile uint32_t *)REG_SWU1_CNT1) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT2 ((volatile uint32_t *)REG_SWU1_CNT2) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT3 ((volatile uint32_t *)REG_SWU1_CNT3) /* SWU1 Count Register n */
-#define pREG_SWU1_TARG0 ((volatile uint32_t *)REG_SWU1_TARG0) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG1 ((volatile uint32_t *)REG_SWU1_TARG1) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG2 ((volatile uint32_t *)REG_SWU1_TARG2) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG3 ((volatile uint32_t *)REG_SWU1_TARG3) /* SWU1 Target Register n */
-#define pREG_SWU1_HIST0 ((volatile uint32_t *)REG_SWU1_HIST0) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST1 ((volatile uint32_t *)REG_SWU1_HIST1) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST2 ((volatile uint32_t *)REG_SWU1_HIST2) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST3 ((volatile uint32_t *)REG_SWU1_HIST3) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_CUR0 ((volatile uint32_t *)REG_SWU1_CUR0) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR1 ((volatile uint32_t *)REG_SWU1_CUR1) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR2 ((volatile uint32_t *)REG_SWU1_CUR2) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR3 ((volatile uint32_t *)REG_SWU1_CUR3) /* SWU1 Current Register n */
-
-/* =========================================================================
- SWU2
- ========================================================================= */
-#define pREG_SWU2_GCTL ((volatile uint32_t *)REG_SWU2_GCTL) /* SWU2 Global Control Register */
-#define pREG_SWU2_GSTAT ((volatile uint32_t *)REG_SWU2_GSTAT) /* SWU2 Global Status Register */
-#define pREG_SWU2_CTL0 ((volatile uint32_t *)REG_SWU2_CTL0) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL1 ((volatile uint32_t *)REG_SWU2_CTL1) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL2 ((volatile uint32_t *)REG_SWU2_CTL2) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL3 ((volatile uint32_t *)REG_SWU2_CTL3) /* SWU2 Control Register n */
-#define pREG_SWU2_LA0 ((void * volatile *)REG_SWU2_LA0) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA1 ((void * volatile *)REG_SWU2_LA1) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA2 ((void * volatile *)REG_SWU2_LA2) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA3 ((void * volatile *)REG_SWU2_LA3) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_UA0 ((void * volatile *)REG_SWU2_UA0) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA1 ((void * volatile *)REG_SWU2_UA1) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA2 ((void * volatile *)REG_SWU2_UA2) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA3 ((void * volatile *)REG_SWU2_UA3) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_ID0 ((volatile uint32_t *)REG_SWU2_ID0) /* SWU2 ID Register n */
-#define pREG_SWU2_ID1 ((volatile uint32_t *)REG_SWU2_ID1) /* SWU2 ID Register n */
-#define pREG_SWU2_ID2 ((volatile uint32_t *)REG_SWU2_ID2) /* SWU2 ID Register n */
-#define pREG_SWU2_ID3 ((volatile uint32_t *)REG_SWU2_ID3) /* SWU2 ID Register n */
-#define pREG_SWU2_CNT0 ((volatile uint32_t *)REG_SWU2_CNT0) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT1 ((volatile uint32_t *)REG_SWU2_CNT1) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT2 ((volatile uint32_t *)REG_SWU2_CNT2) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT3 ((volatile uint32_t *)REG_SWU2_CNT3) /* SWU2 Count Register n */
-#define pREG_SWU2_TARG0 ((volatile uint32_t *)REG_SWU2_TARG0) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG1 ((volatile uint32_t *)REG_SWU2_TARG1) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG2 ((volatile uint32_t *)REG_SWU2_TARG2) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG3 ((volatile uint32_t *)REG_SWU2_TARG3) /* SWU2 Target Register n */
-#define pREG_SWU2_HIST0 ((volatile uint32_t *)REG_SWU2_HIST0) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST1 ((volatile uint32_t *)REG_SWU2_HIST1) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST2 ((volatile uint32_t *)REG_SWU2_HIST2) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST3 ((volatile uint32_t *)REG_SWU2_HIST3) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_CUR0 ((volatile uint32_t *)REG_SWU2_CUR0) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR1 ((volatile uint32_t *)REG_SWU2_CUR1) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR2 ((volatile uint32_t *)REG_SWU2_CUR2) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR3 ((volatile uint32_t *)REG_SWU2_CUR3) /* SWU2 Current Register n */
-
-/* =========================================================================
- SWU3
- ========================================================================= */
-#define pREG_SWU3_GCTL ((volatile uint32_t *)REG_SWU3_GCTL) /* SWU3 Global Control Register */
-#define pREG_SWU3_GSTAT ((volatile uint32_t *)REG_SWU3_GSTAT) /* SWU3 Global Status Register */
-#define pREG_SWU3_CTL0 ((volatile uint32_t *)REG_SWU3_CTL0) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL1 ((volatile uint32_t *)REG_SWU3_CTL1) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL2 ((volatile uint32_t *)REG_SWU3_CTL2) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL3 ((volatile uint32_t *)REG_SWU3_CTL3) /* SWU3 Control Register n */
-#define pREG_SWU3_LA0 ((void * volatile *)REG_SWU3_LA0) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA1 ((void * volatile *)REG_SWU3_LA1) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA2 ((void * volatile *)REG_SWU3_LA2) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA3 ((void * volatile *)REG_SWU3_LA3) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_UA0 ((void * volatile *)REG_SWU3_UA0) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA1 ((void * volatile *)REG_SWU3_UA1) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA2 ((void * volatile *)REG_SWU3_UA2) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA3 ((void * volatile *)REG_SWU3_UA3) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_ID0 ((volatile uint32_t *)REG_SWU3_ID0) /* SWU3 ID Register n */
-#define pREG_SWU3_ID1 ((volatile uint32_t *)REG_SWU3_ID1) /* SWU3 ID Register n */
-#define pREG_SWU3_ID2 ((volatile uint32_t *)REG_SWU3_ID2) /* SWU3 ID Register n */
-#define pREG_SWU3_ID3 ((volatile uint32_t *)REG_SWU3_ID3) /* SWU3 ID Register n */
-#define pREG_SWU3_CNT0 ((volatile uint32_t *)REG_SWU3_CNT0) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT1 ((volatile uint32_t *)REG_SWU3_CNT1) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT2 ((volatile uint32_t *)REG_SWU3_CNT2) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT3 ((volatile uint32_t *)REG_SWU3_CNT3) /* SWU3 Count Register n */
-#define pREG_SWU3_TARG0 ((volatile uint32_t *)REG_SWU3_TARG0) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG1 ((volatile uint32_t *)REG_SWU3_TARG1) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG2 ((volatile uint32_t *)REG_SWU3_TARG2) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG3 ((volatile uint32_t *)REG_SWU3_TARG3) /* SWU3 Target Register n */
-#define pREG_SWU3_HIST0 ((volatile uint32_t *)REG_SWU3_HIST0) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST1 ((volatile uint32_t *)REG_SWU3_HIST1) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST2 ((volatile uint32_t *)REG_SWU3_HIST2) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST3 ((volatile uint32_t *)REG_SWU3_HIST3) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_CUR0 ((volatile uint32_t *)REG_SWU3_CUR0) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR1 ((volatile uint32_t *)REG_SWU3_CUR1) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR2 ((volatile uint32_t *)REG_SWU3_CUR2) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR3 ((volatile uint32_t *)REG_SWU3_CUR3) /* SWU3 Current Register n */
-
-/* =========================================================================
- SWU4
- ========================================================================= */
-#define pREG_SWU4_GCTL ((volatile uint32_t *)REG_SWU4_GCTL) /* SWU4 Global Control Register */
-#define pREG_SWU4_GSTAT ((volatile uint32_t *)REG_SWU4_GSTAT) /* SWU4 Global Status Register */
-#define pREG_SWU4_CTL0 ((volatile uint32_t *)REG_SWU4_CTL0) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL1 ((volatile uint32_t *)REG_SWU4_CTL1) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL2 ((volatile uint32_t *)REG_SWU4_CTL2) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL3 ((volatile uint32_t *)REG_SWU4_CTL3) /* SWU4 Control Register n */
-#define pREG_SWU4_LA0 ((void * volatile *)REG_SWU4_LA0) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA1 ((void * volatile *)REG_SWU4_LA1) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA2 ((void * volatile *)REG_SWU4_LA2) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA3 ((void * volatile *)REG_SWU4_LA3) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_UA0 ((void * volatile *)REG_SWU4_UA0) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA1 ((void * volatile *)REG_SWU4_UA1) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA2 ((void * volatile *)REG_SWU4_UA2) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA3 ((void * volatile *)REG_SWU4_UA3) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_ID0 ((volatile uint32_t *)REG_SWU4_ID0) /* SWU4 ID Register n */
-#define pREG_SWU4_ID1 ((volatile uint32_t *)REG_SWU4_ID1) /* SWU4 ID Register n */
-#define pREG_SWU4_ID2 ((volatile uint32_t *)REG_SWU4_ID2) /* SWU4 ID Register n */
-#define pREG_SWU4_ID3 ((volatile uint32_t *)REG_SWU4_ID3) /* SWU4 ID Register n */
-#define pREG_SWU4_CNT0 ((volatile uint32_t *)REG_SWU4_CNT0) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT1 ((volatile uint32_t *)REG_SWU4_CNT1) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT2 ((volatile uint32_t *)REG_SWU4_CNT2) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT3 ((volatile uint32_t *)REG_SWU4_CNT3) /* SWU4 Count Register n */
-#define pREG_SWU4_TARG0 ((volatile uint32_t *)REG_SWU4_TARG0) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG1 ((volatile uint32_t *)REG_SWU4_TARG1) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG2 ((volatile uint32_t *)REG_SWU4_TARG2) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG3 ((volatile uint32_t *)REG_SWU4_TARG3) /* SWU4 Target Register n */
-#define pREG_SWU4_HIST0 ((volatile uint32_t *)REG_SWU4_HIST0) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST1 ((volatile uint32_t *)REG_SWU4_HIST1) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST2 ((volatile uint32_t *)REG_SWU4_HIST2) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST3 ((volatile uint32_t *)REG_SWU4_HIST3) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_CUR0 ((volatile uint32_t *)REG_SWU4_CUR0) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR1 ((volatile uint32_t *)REG_SWU4_CUR1) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR2 ((volatile uint32_t *)REG_SWU4_CUR2) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR3 ((volatile uint32_t *)REG_SWU4_CUR3) /* SWU4 Current Register n */
-
-/* =========================================================================
- SWU5
- ========================================================================= */
-#define pREG_SWU5_GCTL ((volatile uint32_t *)REG_SWU5_GCTL) /* SWU5 Global Control Register */
-#define pREG_SWU5_GSTAT ((volatile uint32_t *)REG_SWU5_GSTAT) /* SWU5 Global Status Register */
-#define pREG_SWU5_CTL0 ((volatile uint32_t *)REG_SWU5_CTL0) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL1 ((volatile uint32_t *)REG_SWU5_CTL1) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL2 ((volatile uint32_t *)REG_SWU5_CTL2) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL3 ((volatile uint32_t *)REG_SWU5_CTL3) /* SWU5 Control Register n */
-#define pREG_SWU5_LA0 ((void * volatile *)REG_SWU5_LA0) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA1 ((void * volatile *)REG_SWU5_LA1) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA2 ((void * volatile *)REG_SWU5_LA2) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA3 ((void * volatile *)REG_SWU5_LA3) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_UA0 ((void * volatile *)REG_SWU5_UA0) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA1 ((void * volatile *)REG_SWU5_UA1) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA2 ((void * volatile *)REG_SWU5_UA2) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA3 ((void * volatile *)REG_SWU5_UA3) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_ID0 ((volatile uint32_t *)REG_SWU5_ID0) /* SWU5 ID Register n */
-#define pREG_SWU5_ID1 ((volatile uint32_t *)REG_SWU5_ID1) /* SWU5 ID Register n */
-#define pREG_SWU5_ID2 ((volatile uint32_t *)REG_SWU5_ID2) /* SWU5 ID Register n */
-#define pREG_SWU5_ID3 ((volatile uint32_t *)REG_SWU5_ID3) /* SWU5 ID Register n */
-#define pREG_SWU5_CNT0 ((volatile uint32_t *)REG_SWU5_CNT0) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT1 ((volatile uint32_t *)REG_SWU5_CNT1) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT2 ((volatile uint32_t *)REG_SWU5_CNT2) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT3 ((volatile uint32_t *)REG_SWU5_CNT3) /* SWU5 Count Register n */
-#define pREG_SWU5_TARG0 ((volatile uint32_t *)REG_SWU5_TARG0) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG1 ((volatile uint32_t *)REG_SWU5_TARG1) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG2 ((volatile uint32_t *)REG_SWU5_TARG2) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG3 ((volatile uint32_t *)REG_SWU5_TARG3) /* SWU5 Target Register n */
-#define pREG_SWU5_HIST0 ((volatile uint32_t *)REG_SWU5_HIST0) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST1 ((volatile uint32_t *)REG_SWU5_HIST1) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST2 ((volatile uint32_t *)REG_SWU5_HIST2) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST3 ((volatile uint32_t *)REG_SWU5_HIST3) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_CUR0 ((volatile uint32_t *)REG_SWU5_CUR0) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR1 ((volatile uint32_t *)REG_SWU5_CUR1) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR2 ((volatile uint32_t *)REG_SWU5_CUR2) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR3 ((volatile uint32_t *)REG_SWU5_CUR3) /* SWU5 Current Register n */
-
-/* =========================================================================
- SWU6
- ========================================================================= */
-#define pREG_SWU6_GCTL ((volatile uint32_t *)REG_SWU6_GCTL) /* SWU6 Global Control Register */
-#define pREG_SWU6_GSTAT ((volatile uint32_t *)REG_SWU6_GSTAT) /* SWU6 Global Status Register */
-#define pREG_SWU6_CTL0 ((volatile uint32_t *)REG_SWU6_CTL0) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL1 ((volatile uint32_t *)REG_SWU6_CTL1) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL2 ((volatile uint32_t *)REG_SWU6_CTL2) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL3 ((volatile uint32_t *)REG_SWU6_CTL3) /* SWU6 Control Register n */
-#define pREG_SWU6_LA0 ((void * volatile *)REG_SWU6_LA0) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA1 ((void * volatile *)REG_SWU6_LA1) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA2 ((void * volatile *)REG_SWU6_LA2) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA3 ((void * volatile *)REG_SWU6_LA3) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_UA0 ((void * volatile *)REG_SWU6_UA0) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA1 ((void * volatile *)REG_SWU6_UA1) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA2 ((void * volatile *)REG_SWU6_UA2) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA3 ((void * volatile *)REG_SWU6_UA3) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_ID0 ((volatile uint32_t *)REG_SWU6_ID0) /* SWU6 ID Register n */
-#define pREG_SWU6_ID1 ((volatile uint32_t *)REG_SWU6_ID1) /* SWU6 ID Register n */
-#define pREG_SWU6_ID2 ((volatile uint32_t *)REG_SWU6_ID2) /* SWU6 ID Register n */
-#define pREG_SWU6_ID3 ((volatile uint32_t *)REG_SWU6_ID3) /* SWU6 ID Register n */
-#define pREG_SWU6_CNT0 ((volatile uint32_t *)REG_SWU6_CNT0) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT1 ((volatile uint32_t *)REG_SWU6_CNT1) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT2 ((volatile uint32_t *)REG_SWU6_CNT2) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT3 ((volatile uint32_t *)REG_SWU6_CNT3) /* SWU6 Count Register n */
-#define pREG_SWU6_TARG0 ((volatile uint32_t *)REG_SWU6_TARG0) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG1 ((volatile uint32_t *)REG_SWU6_TARG1) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG2 ((volatile uint32_t *)REG_SWU6_TARG2) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG3 ((volatile uint32_t *)REG_SWU6_TARG3) /* SWU6 Target Register n */
-#define pREG_SWU6_HIST0 ((volatile uint32_t *)REG_SWU6_HIST0) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST1 ((volatile uint32_t *)REG_SWU6_HIST1) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST2 ((volatile uint32_t *)REG_SWU6_HIST2) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST3 ((volatile uint32_t *)REG_SWU6_HIST3) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_CUR0 ((volatile uint32_t *)REG_SWU6_CUR0) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR1 ((volatile uint32_t *)REG_SWU6_CUR1) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR2 ((volatile uint32_t *)REG_SWU6_CUR2) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR3 ((volatile uint32_t *)REG_SWU6_CUR3) /* SWU6 Current Register n */
-
-
-/* =========================================================================
- SDU0
- ========================================================================= */
-#define pREG_SDU0_IDCODE ((volatile uint32_t *)REG_SDU0_IDCODE) /* SDU0 ID Code Register */
-#define pREG_SDU0_CTL ((volatile uint32_t *)REG_SDU0_CTL) /* SDU0 Control Register */
-#define pREG_SDU0_STAT ((volatile uint32_t *)REG_SDU0_STAT) /* SDU0 Status Register */
-#define pREG_SDU0_MACCTL ((volatile uint32_t *)REG_SDU0_MACCTL) /* SDU0 Memory Access Control Register */
-#define pREG_SDU0_MACADDR ((void * volatile *)REG_SDU0_MACADDR) /* SDU0 Memory Access Address Register */
-#define pREG_SDU0_MACDATA ((volatile uint32_t *)REG_SDU0_MACDATA) /* SDU0 Memory Access Data Register */
-#define pREG_SDU0_DMARD ((volatile uint32_t *)REG_SDU0_DMARD) /* SDU0 DMA Read Data Register */
-#define pREG_SDU0_DMAWD ((volatile uint32_t *)REG_SDU0_DMAWD) /* SDU0 DMA Write Data Register */
-#define pREG_SDU0_MSG ((volatile uint32_t *)REG_SDU0_MSG) /* SDU0 Message Register */
-#define pREG_SDU0_MSG_SET ((volatile uint32_t *)REG_SDU0_MSG_SET) /* SDU0 Message Set Register */
-#define pREG_SDU0_MSG_CLR ((volatile uint32_t *)REG_SDU0_MSG_CLR) /* SDU0 Message Clear Register */
-#define pREG_SDU0_GHLT ((volatile uint32_t *)REG_SDU0_GHLT) /* SDU0 Group Halt Register */
-
-
-/* =========================================================================
- EMAC0
- ========================================================================= */
-#define pREG_EMAC0_MACCFG ((volatile uint32_t *)REG_EMAC0_MACCFG) /* EMAC0 MAC Configuration Register */
-#define pREG_EMAC0_MACFRMFILT ((volatile uint32_t *)REG_EMAC0_MACFRMFILT) /* EMAC0 MAC Rx Frame Filter Register */
-#define pREG_EMAC0_HASHTBL_HI ((volatile uint32_t *)REG_EMAC0_HASHTBL_HI) /* EMAC0 Hash Table High Register */
-#define pREG_EMAC0_HASHTBL_LO ((volatile uint32_t *)REG_EMAC0_HASHTBL_LO) /* EMAC0 Hash Table Low Register */
-#define pREG_EMAC0_SMI_ADDR ((volatile uint32_t *)REG_EMAC0_SMI_ADDR) /* EMAC0 SMI Address Register */
-#define pREG_EMAC0_SMI_DATA ((volatile uint32_t *)REG_EMAC0_SMI_DATA) /* EMAC0 SMI Data Register */
-#define pREG_EMAC0_FLOWCTL ((volatile uint32_t *)REG_EMAC0_FLOWCTL) /* EMAC0 FLow Control Register */
-#define pREG_EMAC0_VLANTAG ((volatile uint32_t *)REG_EMAC0_VLANTAG) /* EMAC0 VLAN Tag Register */
-#define pREG_EMAC0_DBG ((volatile uint32_t *)REG_EMAC0_DBG) /* EMAC0 Debug Register */
-#define pREG_EMAC0_ISTAT ((volatile uint32_t *)REG_EMAC0_ISTAT) /* EMAC0 Interrupt Status Register */
-#define pREG_EMAC0_IMSK ((volatile uint32_t *)REG_EMAC0_IMSK) /* EMAC0 Interrupt Mask Register */
-#define pREG_EMAC0_ADDR0_HI ((volatile uint32_t *)REG_EMAC0_ADDR0_HI) /* EMAC0 MAC Address 0 High Register */
-#define pREG_EMAC0_ADDR0_LO ((volatile uint32_t *)REG_EMAC0_ADDR0_LO) /* EMAC0 MAC Address 0 Low Register */
-#define pREG_EMAC0_MMC_CTL ((volatile uint32_t *)REG_EMAC0_MMC_CTL) /* EMAC0 MMC Control Register */
-#define pREG_EMAC0_MMC_RXINT ((volatile uint32_t *)REG_EMAC0_MMC_RXINT) /* EMAC0 MMC Rx Interrupt Register */
-#define pREG_EMAC0_MMC_TXINT ((volatile uint32_t *)REG_EMAC0_MMC_TXINT) /* EMAC0 MMC Tx Interrupt Register */
-#define pREG_EMAC0_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_RXIMSK) /* EMAC0 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC0_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_TXIMSK) /* EMAC0 MMC TX Interrupt Mask Register */
-#define pREG_EMAC0_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_GB) /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC0_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_GB) /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_G) /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_G) /* EMAC0 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC0_TX64_GB ((volatile uint32_t *)REG_EMAC0_TX64_GB) /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX65TO127_GB ((volatile uint32_t *)REG_EMAC0_TX65TO127_GB) /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX128TO255_GB ((volatile uint32_t *)REG_EMAC0_TX128TO255_GB) /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX256TO511_GB ((volatile uint32_t *)REG_EMAC0_TX256TO511_GB) /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_TX512TO1023_GB) /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_TX1024TOMAX_GB) /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXUCASTFRM_GB) /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_GB) /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_GB) /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC0_TXUNDR_ERR) /* EMAC0 Tx Underflow Error Register */
-#define pREG_EMAC0_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC0_TXSNGCOL_G) /* EMAC0 Tx Single Collision (Good) Register */
-#define pREG_EMAC0_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC0_TXMULTCOL_G) /* EMAC0 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC0_TXDEFERRED ((volatile uint32_t *)REG_EMAC0_TXDEFERRED) /* EMAC0 Tx Deferred Register */
-#define pREG_EMAC0_TXLATECOL ((volatile uint32_t *)REG_EMAC0_TXLATECOL) /* EMAC0 Tx Late Collision Register */
-#define pREG_EMAC0_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC0_TXEXCESSCOL) /* EMAC0 Tx Excess Collision Register */
-#define pREG_EMAC0_TXCARR_ERR ((volatile uint32_t *)REG_EMAC0_TXCARR_ERR) /* EMAC0 Tx Carrier Error Register */
-#define pREG_EMAC0_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_G) /* EMAC0 Tx Octet Count (Good) Register */
-#define pREG_EMAC0_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_G) /* EMAC0 Tx Frame Count (Good) Register */
-#define pREG_EMAC0_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC0_TXEXCESSDEF) /* EMAC0 Tx Excess Deferral Register */
-#define pREG_EMAC0_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_TXPAUSEFRM) /* EMAC0 Tx Pause Frame Register */
-#define pREG_EMAC0_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC0_TXVLANFRM_G) /* EMAC0 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC0_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_RXFRMCNT_GB) /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_GB) /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_G) /* EMAC0 Rx Octet Count (Good) Register */
-#define pREG_EMAC0_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXBCASTFRM_G) /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXMCASTFRM_G) /* EMAC0 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC0_RXCRC_ERR ((volatile uint32_t *)REG_EMAC0_RXCRC_ERR) /* EMAC0 Rx CRC Error Register */
-#define pREG_EMAC0_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC0_RXALIGN_ERR) /* EMAC0 Rx alignment Error Register */
-#define pREG_EMAC0_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC0_RXRUNT_ERR) /* EMAC0 Rx Runt Error Register */
-#define pREG_EMAC0_RXJAB_ERR ((volatile uint32_t *)REG_EMAC0_RXJAB_ERR) /* EMAC0 Rx Jab Error Register */
-#define pREG_EMAC0_RXUSIZE_G ((volatile uint32_t *)REG_EMAC0_RXUSIZE_G) /* EMAC0 Rx Undersize (Good) Register */
-#define pREG_EMAC0_RXOSIZE_G ((volatile uint32_t *)REG_EMAC0_RXOSIZE_G) /* EMAC0 Rx Oversize (Good) Register */
-#define pREG_EMAC0_RX64_GB ((volatile uint32_t *)REG_EMAC0_RX64_GB) /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX65TO127_GB ((volatile uint32_t *)REG_EMAC0_RX65TO127_GB) /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX128TO255_GB ((volatile uint32_t *)REG_EMAC0_RX128TO255_GB) /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX256TO511_GB ((volatile uint32_t *)REG_EMAC0_RX256TO511_GB) /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_RX512TO1023_GB) /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_RX1024TOMAX_GB) /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXUCASTFRM_G) /* EMAC0 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC0_RXLEN_ERR ((volatile uint32_t *)REG_EMAC0_RXLEN_ERR) /* EMAC0 Rx Length Error Register */
-#define pREG_EMAC0_RXOORTYPE ((volatile uint32_t *)REG_EMAC0_RXOORTYPE) /* EMAC0 Rx Out Of Range Type Register */
-#define pREG_EMAC0_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_RXPAUSEFRM) /* EMAC0 Rx Pause Frames Register */
-#define pREG_EMAC0_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC0_RXFIFO_OVF) /* EMAC0 Rx FIFO Overflow Register */
-#define pREG_EMAC0_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC0_RXVLANFRM_GB) /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC0_RXWDOG_ERR) /* EMAC0 Rx Watch Dog Error Register */
-#define pREG_EMAC0_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC0_IPC_RXIMSK) /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC0_IPC_RXINT ((volatile uint32_t *)REG_EMAC0_IPC_RXINT) /* EMAC0 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC0_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_FRM) /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_FRM) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_FRM) /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC0_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_FRM) /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_FRM) /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC0_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_FRM) /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_FRM) /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_FRM) /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC0_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_FRM) /* EMAC0 Rx UDP Good Frames Register */
-#define pREG_EMAC0_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_FRM) /* EMAC0 Rx UDP Error Frames Register */
-#define pREG_EMAC0_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_FRM) /* EMAC0 Rx TCP Good Frames Register */
-#define pREG_EMAC0_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_FRM) /* EMAC0 Rx TCP Error Frames Register */
-#define pREG_EMAC0_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_FRM) /* EMAC0 Rx ICMP Good Frames Register */
-#define pREG_EMAC0_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_FRM) /* EMAC0 Rx ICMP Error Frames Register */
-#define pREG_EMAC0_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_OCT) /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_OCT) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_OCT) /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC0_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_OCT) /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_OCT) /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC0_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_OCT) /* EMAC0 Rx IPv6 Good Octets Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_OCT) /* EMAC0 Rx IPv6 Header Errors Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_OCT) /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC0_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_OCT) /* EMAC0 Rx UDP Good Octets Register */
-#define pREG_EMAC0_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_OCT) /* EMAC0 Rx UDP Error Octets Register */
-#define pREG_EMAC0_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_OCT) /* EMAC0 Rx TCP Good Octets Register */
-#define pREG_EMAC0_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_OCT) /* EMAC0 Rx TCP Error Octets Register */
-#define pREG_EMAC0_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_OCT) /* EMAC0 Rx ICMP Good Octets Register */
-#define pREG_EMAC0_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_OCT) /* EMAC0 Rx ICMP Error Octets Register */
-#define pREG_EMAC0_TM_CTL ((volatile uint32_t *)REG_EMAC0_TM_CTL) /* EMAC0 Time Stamp Control Register */
-#define pREG_EMAC0_TM_SUBSEC ((volatile uint32_t *)REG_EMAC0_TM_SUBSEC) /* EMAC0 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC0_TM_SEC ((volatile uint32_t *)REG_EMAC0_TM_SEC) /* EMAC0 Time Stamp Low Seconds Register */
-#define pREG_EMAC0_TM_NSEC ((volatile uint32_t *)REG_EMAC0_TM_NSEC) /* EMAC0 Time Stamp Nano Seconds Register */
-#define pREG_EMAC0_TM_SECUPDT ((volatile uint32_t *)REG_EMAC0_TM_SECUPDT) /* EMAC0 Time Stamp Seconds Update Register */
-#define pREG_EMAC0_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC0_TM_NSECUPDT) /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC0_TM_ADDEND ((volatile uint32_t *)REG_EMAC0_TM_ADDEND) /* EMAC0 Time Stamp Addend Register */
-#define pREG_EMAC0_TM_TGTM ((volatile uint32_t *)REG_EMAC0_TM_TGTM) /* EMAC0 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC0_TM_NTGTM ((volatile uint32_t *)REG_EMAC0_TM_NTGTM) /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC0_TM_HISEC ((volatile uint32_t *)REG_EMAC0_TM_HISEC) /* EMAC0 Time Stamp High Second Register */
-#define pREG_EMAC0_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC0_TM_STMPSTAT) /* EMAC0 Time Stamp Status Register */
-#define pREG_EMAC0_TM_PPSCTL ((volatile uint32_t *)REG_EMAC0_TM_PPSCTL) /* EMAC0 PPS Control Register */
-#define pREG_EMAC0_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_NSEC) /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC0_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_SEC) /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC0_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC0_TM_PPSINTVL) /* EMAC0 Time Stamp PPS Interval Register */
-#define pREG_EMAC0_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC0_TM_PPSWIDTH) /* EMAC0 PPS Width Register */
-#define pREG_EMAC0_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC0_DMA_BUSMODE) /* EMAC0 DMA Bus Mode Register */
-#define pREG_EMAC0_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_TXPOLL) /* EMAC0 DMA Tx Poll Demand Register */
-#define pREG_EMAC0_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_RXPOLL) /* EMAC0 DMA Rx Poll Demand register */
-#define pREG_EMAC0_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_ADDR) /* EMAC0 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_ADDR) /* EMAC0 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_STAT ((volatile uint32_t *)REG_EMAC0_DMA_STAT) /* EMAC0 DMA Status Register */
-#define pREG_EMAC0_DMA_OPMODE ((volatile uint32_t *)REG_EMAC0_DMA_OPMODE) /* EMAC0 DMA Operation Mode Register */
-#define pREG_EMAC0_DMA_IEN ((volatile uint32_t *)REG_EMAC0_DMA_IEN) /* EMAC0 DMA Interrupt Enable Register */
-#define pREG_EMAC0_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC0_DMA_MISS_FRM) /* EMAC0 DMA Missed Frame Register */
-#define pREG_EMAC0_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC0_DMA_RXIWDOG) /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC0_DMA_BMMODE ((volatile uint32_t *)REG_EMAC0_DMA_BMMODE) /* EMAC0 DMA SCB Bus Mode Register */
-#define pREG_EMAC0_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC0_DMA_BMSTAT) /* EMAC0 DMA SCB Status Register */
-#define pREG_EMAC0_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_CUR) /* EMAC0 DMA Tx Descriptor Current Register */
-#define pREG_EMAC0_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_CUR) /* EMAC0 DMA Rx Descriptor Current Register */
-#define pREG_EMAC0_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXBUF_CUR) /* EMAC0 DMA Tx Buffer Current Register */
-#define pREG_EMAC0_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXBUF_CUR) /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================================================================
- EMAC1
- ========================================================================= */
-#define pREG_EMAC1_MACCFG ((volatile uint32_t *)REG_EMAC1_MACCFG) /* EMAC1 MAC Configuration Register */
-#define pREG_EMAC1_MACFRMFILT ((volatile uint32_t *)REG_EMAC1_MACFRMFILT) /* EMAC1 MAC Rx Frame Filter Register */
-#define pREG_EMAC1_HASHTBL_HI ((volatile uint32_t *)REG_EMAC1_HASHTBL_HI) /* EMAC1 Hash Table High Register */
-#define pREG_EMAC1_HASHTBL_LO ((volatile uint32_t *)REG_EMAC1_HASHTBL_LO) /* EMAC1 Hash Table Low Register */
-#define pREG_EMAC1_SMI_ADDR ((volatile uint32_t *)REG_EMAC1_SMI_ADDR) /* EMAC1 SMI Address Register */
-#define pREG_EMAC1_SMI_DATA ((volatile uint32_t *)REG_EMAC1_SMI_DATA) /* EMAC1 SMI Data Register */
-#define pREG_EMAC1_FLOWCTL ((volatile uint32_t *)REG_EMAC1_FLOWCTL) /* EMAC1 FLow Control Register */
-#define pREG_EMAC1_VLANTAG ((volatile uint32_t *)REG_EMAC1_VLANTAG) /* EMAC1 VLAN Tag Register */
-#define pREG_EMAC1_DBG ((volatile uint32_t *)REG_EMAC1_DBG) /* EMAC1 Debug Register */
-#define pREG_EMAC1_ISTAT ((volatile uint32_t *)REG_EMAC1_ISTAT) /* EMAC1 Interrupt Status Register */
-#define pREG_EMAC1_IMSK ((volatile uint32_t *)REG_EMAC1_IMSK) /* EMAC1 Interrupt Mask Register */
-#define pREG_EMAC1_ADDR0_HI ((volatile uint32_t *)REG_EMAC1_ADDR0_HI) /* EMAC1 MAC Address 0 High Register */
-#define pREG_EMAC1_ADDR0_LO ((volatile uint32_t *)REG_EMAC1_ADDR0_LO) /* EMAC1 MAC Address 0 Low Register */
-#define pREG_EMAC1_MMC_CTL ((volatile uint32_t *)REG_EMAC1_MMC_CTL) /* EMAC1 MMC Control Register */
-#define pREG_EMAC1_MMC_RXINT ((volatile uint32_t *)REG_EMAC1_MMC_RXINT) /* EMAC1 MMC Rx Interrupt Register */
-#define pREG_EMAC1_MMC_TXINT ((volatile uint32_t *)REG_EMAC1_MMC_TXINT) /* EMAC1 MMC Tx Interrupt Register */
-#define pREG_EMAC1_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_RXIMSK) /* EMAC1 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC1_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_TXIMSK) /* EMAC1 MMC TX Interrupt Mask Register */
-#define pREG_EMAC1_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_GB) /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC1_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_GB) /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_G) /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_G) /* EMAC1 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC1_TX64_GB ((volatile uint32_t *)REG_EMAC1_TX64_GB) /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX65TO127_GB ((volatile uint32_t *)REG_EMAC1_TX65TO127_GB) /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX128TO255_GB ((volatile uint32_t *)REG_EMAC1_TX128TO255_GB) /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX256TO511_GB ((volatile uint32_t *)REG_EMAC1_TX256TO511_GB) /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_TX512TO1023_GB) /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_TX1024TOMAX_GB) /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXUCASTFRM_GB) /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_GB) /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_GB) /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC1_TXUNDR_ERR) /* EMAC1 Tx Underflow Error Register */
-#define pREG_EMAC1_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC1_TXSNGCOL_G) /* EMAC1 Tx Single Collision (Good) Register */
-#define pREG_EMAC1_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC1_TXMULTCOL_G) /* EMAC1 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC1_TXDEFERRED ((volatile uint32_t *)REG_EMAC1_TXDEFERRED) /* EMAC1 Tx Deferred Register */
-#define pREG_EMAC1_TXLATECOL ((volatile uint32_t *)REG_EMAC1_TXLATECOL) /* EMAC1 Tx Late Collision Register */
-#define pREG_EMAC1_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC1_TXEXCESSCOL) /* EMAC1 Tx Excess Collision Register */
-#define pREG_EMAC1_TXCARR_ERR ((volatile uint32_t *)REG_EMAC1_TXCARR_ERR) /* EMAC1 Tx Carrier Error Register */
-#define pREG_EMAC1_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_G) /* EMAC1 Tx Octet Count (Good) Register */
-#define pREG_EMAC1_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_G) /* EMAC1 Tx Frame Count (Good) Register */
-#define pREG_EMAC1_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC1_TXEXCESSDEF) /* EMAC1 Tx Excess Deferral Register */
-#define pREG_EMAC1_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_TXPAUSEFRM) /* EMAC1 Tx Pause Frame Register */
-#define pREG_EMAC1_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC1_TXVLANFRM_G) /* EMAC1 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC1_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_RXFRMCNT_GB) /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_GB) /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_G) /* EMAC1 Rx Octet Count (Good) Register */
-#define pREG_EMAC1_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXBCASTFRM_G) /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXMCASTFRM_G) /* EMAC1 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC1_RXCRC_ERR ((volatile uint32_t *)REG_EMAC1_RXCRC_ERR) /* EMAC1 Rx CRC Error Register */
-#define pREG_EMAC1_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC1_RXALIGN_ERR) /* EMAC1 Rx alignment Error Register */
-#define pREG_EMAC1_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC1_RXRUNT_ERR) /* EMAC1 Rx Runt Error Register */
-#define pREG_EMAC1_RXJAB_ERR ((volatile uint32_t *)REG_EMAC1_RXJAB_ERR) /* EMAC1 Rx Jab Error Register */
-#define pREG_EMAC1_RXUSIZE_G ((volatile uint32_t *)REG_EMAC1_RXUSIZE_G) /* EMAC1 Rx Undersize (Good) Register */
-#define pREG_EMAC1_RXOSIZE_G ((volatile uint32_t *)REG_EMAC1_RXOSIZE_G) /* EMAC1 Rx Oversize (Good) Register */
-#define pREG_EMAC1_RX64_GB ((volatile uint32_t *)REG_EMAC1_RX64_GB) /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX65TO127_GB ((volatile uint32_t *)REG_EMAC1_RX65TO127_GB) /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX128TO255_GB ((volatile uint32_t *)REG_EMAC1_RX128TO255_GB) /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX256TO511_GB ((volatile uint32_t *)REG_EMAC1_RX256TO511_GB) /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_RX512TO1023_GB) /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_RX1024TOMAX_GB) /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXUCASTFRM_G) /* EMAC1 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC1_RXLEN_ERR ((volatile uint32_t *)REG_EMAC1_RXLEN_ERR) /* EMAC1 Rx Length Error Register */
-#define pREG_EMAC1_RXOORTYPE ((volatile uint32_t *)REG_EMAC1_RXOORTYPE) /* EMAC1 Rx Out Of Range Type Register */
-#define pREG_EMAC1_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_RXPAUSEFRM) /* EMAC1 Rx Pause Frames Register */
-#define pREG_EMAC1_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC1_RXFIFO_OVF) /* EMAC1 Rx FIFO Overflow Register */
-#define pREG_EMAC1_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC1_RXVLANFRM_GB) /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC1_RXWDOG_ERR) /* EMAC1 Rx Watch Dog Error Register */
-#define pREG_EMAC1_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC1_IPC_RXIMSK) /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC1_IPC_RXINT ((volatile uint32_t *)REG_EMAC1_IPC_RXINT) /* EMAC1 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC1_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_FRM) /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_FRM) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_FRM) /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC1_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_FRM) /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_FRM) /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC1_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_FRM) /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_FRM) /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_FRM) /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC1_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_FRM) /* EMAC1 Rx UDP Good Frames Register */
-#define pREG_EMAC1_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_FRM) /* EMAC1 Rx UDP Error Frames Register */
-#define pREG_EMAC1_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_FRM) /* EMAC1 Rx TCP Good Frames Register */
-#define pREG_EMAC1_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_FRM) /* EMAC1 Rx TCP Error Frames Register */
-#define pREG_EMAC1_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_FRM) /* EMAC1 Rx ICMP Good Frames Register */
-#define pREG_EMAC1_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_FRM) /* EMAC1 Rx ICMP Error Frames Register */
-#define pREG_EMAC1_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_OCT) /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_OCT) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_OCT) /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC1_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_OCT) /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_OCT) /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC1_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_OCT) /* EMAC1 Rx IPv6 Good Octets Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_OCT) /* EMAC1 Rx IPv6 Header Errors Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_OCT) /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC1_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_OCT) /* EMAC1 Rx UDP Good Octets Register */
-#define pREG_EMAC1_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_OCT) /* EMAC1 Rx UDP Error Octets Register */
-#define pREG_EMAC1_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_OCT) /* EMAC1 Rx TCP Good Octets Register */
-#define pREG_EMAC1_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_OCT) /* EMAC1 Rx TCP Error Octets Register */
-#define pREG_EMAC1_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_OCT) /* EMAC1 Rx ICMP Good Octets Register */
-#define pREG_EMAC1_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_OCT) /* EMAC1 Rx ICMP Error Octets Register */
-#define pREG_EMAC1_TM_CTL ((volatile uint32_t *)REG_EMAC1_TM_CTL) /* EMAC1 Time Stamp Control Register */
-#define pREG_EMAC1_TM_SUBSEC ((volatile uint32_t *)REG_EMAC1_TM_SUBSEC) /* EMAC1 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC1_TM_SEC ((volatile uint32_t *)REG_EMAC1_TM_SEC) /* EMAC1 Time Stamp Low Seconds Register */
-#define pREG_EMAC1_TM_NSEC ((volatile uint32_t *)REG_EMAC1_TM_NSEC) /* EMAC1 Time Stamp Nano Seconds Register */
-#define pREG_EMAC1_TM_SECUPDT ((volatile uint32_t *)REG_EMAC1_TM_SECUPDT) /* EMAC1 Time Stamp Seconds Update Register */
-#define pREG_EMAC1_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC1_TM_NSECUPDT) /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC1_TM_ADDEND ((volatile uint32_t *)REG_EMAC1_TM_ADDEND) /* EMAC1 Time Stamp Addend Register */
-#define pREG_EMAC1_TM_TGTM ((volatile uint32_t *)REG_EMAC1_TM_TGTM) /* EMAC1 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC1_TM_NTGTM ((volatile uint32_t *)REG_EMAC1_TM_NTGTM) /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC1_TM_HISEC ((volatile uint32_t *)REG_EMAC1_TM_HISEC) /* EMAC1 Time Stamp High Second Register */
-#define pREG_EMAC1_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC1_TM_STMPSTAT) /* EMAC1 Time Stamp Status Register */
-#define pREG_EMAC1_TM_PPSCTL ((volatile uint32_t *)REG_EMAC1_TM_PPSCTL) /* EMAC1 PPS Control Register */
-#define pREG_EMAC1_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_NSEC) /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC1_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_SEC) /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC1_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC1_TM_PPSINTVL) /* EMAC1 Time Stamp PPS Interval Register */
-#define pREG_EMAC1_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC1_TM_PPSWIDTH) /* EMAC1 PPS Width Register */
-#define pREG_EMAC1_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC1_DMA_BUSMODE) /* EMAC1 DMA Bus Mode Register */
-#define pREG_EMAC1_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_TXPOLL) /* EMAC1 DMA Tx Poll Demand Register */
-#define pREG_EMAC1_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_RXPOLL) /* EMAC1 DMA Rx Poll Demand register */
-#define pREG_EMAC1_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_ADDR) /* EMAC1 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_ADDR) /* EMAC1 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_STAT ((volatile uint32_t *)REG_EMAC1_DMA_STAT) /* EMAC1 DMA Status Register */
-#define pREG_EMAC1_DMA_OPMODE ((volatile uint32_t *)REG_EMAC1_DMA_OPMODE) /* EMAC1 DMA Operation Mode Register */
-#define pREG_EMAC1_DMA_IEN ((volatile uint32_t *)REG_EMAC1_DMA_IEN) /* EMAC1 DMA Interrupt Enable Register */
-#define pREG_EMAC1_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC1_DMA_MISS_FRM) /* EMAC1 DMA Missed Frame Register */
-#define pREG_EMAC1_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC1_DMA_RXIWDOG) /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC1_DMA_BMMODE ((volatile uint32_t *)REG_EMAC1_DMA_BMMODE) /* EMAC1 DMA SCB Bus Mode Register */
-#define pREG_EMAC1_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC1_DMA_BMSTAT) /* EMAC1 DMA SCB Status Register */
-#define pREG_EMAC1_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_CUR) /* EMAC1 DMA Tx Descriptor Current Register */
-#define pREG_EMAC1_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_CUR) /* EMAC1 DMA Rx Descriptor Current Register */
-#define pREG_EMAC1_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXBUF_CUR) /* EMAC1 DMA Tx Buffer Current Register */
-#define pREG_EMAC1_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXBUF_CUR) /* EMAC1 DMA Rx Buffer Current Register */
-
-
-/* =========================================================================
- SPORT0
- ========================================================================= */
-#define pREG_SPORT0_CTL_A ((volatile uint32_t *)REG_SPORT0_CTL_A) /* SPORT0 Half SPORT 'A' Control Register */
-#define pREG_SPORT0_DIV_A ((volatile uint32_t *)REG_SPORT0_DIV_A) /* SPORT0 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT0_MCTL_A ((volatile uint32_t *)REG_SPORT0_MCTL_A) /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_A ((volatile uint32_t *)REG_SPORT0_CS0_A) /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_A ((volatile uint32_t *)REG_SPORT0_CS1_A) /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_A ((volatile uint32_t *)REG_SPORT0_CS2_A) /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT0_CS3_A ((volatile uint32_t *)REG_SPORT0_CS3_A) /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT0_ERR_A ((volatile uint32_t *)REG_SPORT0_ERR_A) /* SPORT0 Half SPORT 'A' Error Register */
-#define pREG_SPORT0_MSTAT_A ((volatile uint32_t *)REG_SPORT0_MSTAT_A) /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_A ((volatile uint32_t *)REG_SPORT0_CTL2_A) /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT0_TXPRI_A ((volatile uint32_t *)REG_SPORT0_TXPRI_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_A ((volatile uint32_t *)REG_SPORT0_RXPRI_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_A ((volatile uint32_t *)REG_SPORT0_TXSEC_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_A ((volatile uint32_t *)REG_SPORT0_RXSEC_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT0_CTL_B ((volatile uint32_t *)REG_SPORT0_CTL_B) /* SPORT0 Half SPORT 'B' Control Register */
-#define pREG_SPORT0_DIV_B ((volatile uint32_t *)REG_SPORT0_DIV_B) /* SPORT0 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT0_MCTL_B ((volatile uint32_t *)REG_SPORT0_MCTL_B) /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_B ((volatile uint32_t *)REG_SPORT0_CS0_B) /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_B ((volatile uint32_t *)REG_SPORT0_CS1_B) /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_B ((volatile uint32_t *)REG_SPORT0_CS2_B) /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT0_CS3_B ((volatile uint32_t *)REG_SPORT0_CS3_B) /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT0_ERR_B ((volatile uint32_t *)REG_SPORT0_ERR_B) /* SPORT0 Half SPORT 'B' Error Register */
-#define pREG_SPORT0_MSTAT_B ((volatile uint32_t *)REG_SPORT0_MSTAT_B) /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_B ((volatile uint32_t *)REG_SPORT0_CTL2_B) /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT0_TXPRI_B ((volatile uint32_t *)REG_SPORT0_TXPRI_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_B ((volatile uint32_t *)REG_SPORT0_RXPRI_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_B ((volatile uint32_t *)REG_SPORT0_TXSEC_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_B ((volatile uint32_t *)REG_SPORT0_RXSEC_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT1
- ========================================================================= */
-#define pREG_SPORT1_CTL_A ((volatile uint32_t *)REG_SPORT1_CTL_A) /* SPORT1 Half SPORT 'A' Control Register */
-#define pREG_SPORT1_DIV_A ((volatile uint32_t *)REG_SPORT1_DIV_A) /* SPORT1 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT1_MCTL_A ((volatile uint32_t *)REG_SPORT1_MCTL_A) /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_A ((volatile uint32_t *)REG_SPORT1_CS0_A) /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_A ((volatile uint32_t *)REG_SPORT1_CS1_A) /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_A ((volatile uint32_t *)REG_SPORT1_CS2_A) /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT1_CS3_A ((volatile uint32_t *)REG_SPORT1_CS3_A) /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT1_ERR_A ((volatile uint32_t *)REG_SPORT1_ERR_A) /* SPORT1 Half SPORT 'A' Error Register */
-#define pREG_SPORT1_MSTAT_A ((volatile uint32_t *)REG_SPORT1_MSTAT_A) /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_A ((volatile uint32_t *)REG_SPORT1_CTL2_A) /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT1_TXPRI_A ((volatile uint32_t *)REG_SPORT1_TXPRI_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_A ((volatile uint32_t *)REG_SPORT1_RXPRI_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_A ((volatile uint32_t *)REG_SPORT1_TXSEC_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_A ((volatile uint32_t *)REG_SPORT1_RXSEC_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT1_CTL_B ((volatile uint32_t *)REG_SPORT1_CTL_B) /* SPORT1 Half SPORT 'B' Control Register */
-#define pREG_SPORT1_DIV_B ((volatile uint32_t *)REG_SPORT1_DIV_B) /* SPORT1 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT1_MCTL_B ((volatile uint32_t *)REG_SPORT1_MCTL_B) /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_B ((volatile uint32_t *)REG_SPORT1_CS0_B) /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_B ((volatile uint32_t *)REG_SPORT1_CS1_B) /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_B ((volatile uint32_t *)REG_SPORT1_CS2_B) /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT1_CS3_B ((volatile uint32_t *)REG_SPORT1_CS3_B) /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT1_ERR_B ((volatile uint32_t *)REG_SPORT1_ERR_B) /* SPORT1 Half SPORT 'B' Error Register */
-#define pREG_SPORT1_MSTAT_B ((volatile uint32_t *)REG_SPORT1_MSTAT_B) /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_B ((volatile uint32_t *)REG_SPORT1_CTL2_B) /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT1_TXPRI_B ((volatile uint32_t *)REG_SPORT1_TXPRI_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_B ((volatile uint32_t *)REG_SPORT1_RXPRI_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_B ((volatile uint32_t *)REG_SPORT1_TXSEC_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_B ((volatile uint32_t *)REG_SPORT1_RXSEC_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT2
- ========================================================================= */
-#define pREG_SPORT2_CTL_A ((volatile uint32_t *)REG_SPORT2_CTL_A) /* SPORT2 Half SPORT 'A' Control Register */
-#define pREG_SPORT2_DIV_A ((volatile uint32_t *)REG_SPORT2_DIV_A) /* SPORT2 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT2_MCTL_A ((volatile uint32_t *)REG_SPORT2_MCTL_A) /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_A ((volatile uint32_t *)REG_SPORT2_CS0_A) /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_A ((volatile uint32_t *)REG_SPORT2_CS1_A) /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_A ((volatile uint32_t *)REG_SPORT2_CS2_A) /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT2_CS3_A ((volatile uint32_t *)REG_SPORT2_CS3_A) /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT2_ERR_A ((volatile uint32_t *)REG_SPORT2_ERR_A) /* SPORT2 Half SPORT 'A' Error Register */
-#define pREG_SPORT2_MSTAT_A ((volatile uint32_t *)REG_SPORT2_MSTAT_A) /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_A ((volatile uint32_t *)REG_SPORT2_CTL2_A) /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT2_TXPRI_A ((volatile uint32_t *)REG_SPORT2_TXPRI_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_A ((volatile uint32_t *)REG_SPORT2_RXPRI_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_A ((volatile uint32_t *)REG_SPORT2_TXSEC_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_A ((volatile uint32_t *)REG_SPORT2_RXSEC_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT2_CTL_B ((volatile uint32_t *)REG_SPORT2_CTL_B) /* SPORT2 Half SPORT 'B' Control Register */
-#define pREG_SPORT2_DIV_B ((volatile uint32_t *)REG_SPORT2_DIV_B) /* SPORT2 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT2_MCTL_B ((volatile uint32_t *)REG_SPORT2_MCTL_B) /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_B ((volatile uint32_t *)REG_SPORT2_CS0_B) /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_B ((volatile uint32_t *)REG_SPORT2_CS1_B) /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_B ((volatile uint32_t *)REG_SPORT2_CS2_B) /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT2_CS3_B ((volatile uint32_t *)REG_SPORT2_CS3_B) /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT2_ERR_B ((volatile uint32_t *)REG_SPORT2_ERR_B) /* SPORT2 Half SPORT 'B' Error Register */
-#define pREG_SPORT2_MSTAT_B ((volatile uint32_t *)REG_SPORT2_MSTAT_B) /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_B ((volatile uint32_t *)REG_SPORT2_CTL2_B) /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT2_TXPRI_B ((volatile uint32_t *)REG_SPORT2_TXPRI_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_B ((volatile uint32_t *)REG_SPORT2_RXPRI_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_B ((volatile uint32_t *)REG_SPORT2_TXSEC_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_B ((volatile uint32_t *)REG_SPORT2_RXSEC_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-
-/* =========================================================================
- SPI0
- ========================================================================= */
-#define pREG_SPI0_CTL ((volatile uint32_t *)REG_SPI0_CTL) /* SPI0 Control Register */
-#define pREG_SPI0_RXCTL ((volatile uint32_t *)REG_SPI0_RXCTL) /* SPI0 Receive Control Register */
-#define pREG_SPI0_TXCTL ((volatile uint32_t *)REG_SPI0_TXCTL) /* SPI0 Transmit Control Register */
-#define pREG_SPI0_CLK ((volatile uint32_t *)REG_SPI0_CLK) /* SPI0 Clock Rate Register */
-#define pREG_SPI0_DLY ((volatile uint32_t *)REG_SPI0_DLY) /* SPI0 Delay Register */
-#define pREG_SPI0_SLVSEL ((volatile uint32_t *)REG_SPI0_SLVSEL) /* SPI0 Slave Select Register */
-#define pREG_SPI0_RWC ((volatile uint32_t *)REG_SPI0_RWC) /* SPI0 Received Word Count Register */
-#define pREG_SPI0_RWCR ((volatile uint32_t *)REG_SPI0_RWCR) /* SPI0 Received Word Count Reload Register */
-#define pREG_SPI0_TWC ((volatile uint32_t *)REG_SPI0_TWC) /* SPI0 Transmitted Word Count Register */
-#define pREG_SPI0_TWCR ((volatile uint32_t *)REG_SPI0_TWCR) /* SPI0 Transmitted Word Count Reload Register */
-#define pREG_SPI0_IMSK ((volatile uint32_t *)REG_SPI0_IMSK) /* SPI0 Interrupt Mask Register */
-#define pREG_SPI0_IMSK_CLR ((volatile uint32_t *)REG_SPI0_IMSK_CLR) /* SPI0 Interrupt Mask Clear Register */
-#define pREG_SPI0_IMSK_SET ((volatile uint32_t *)REG_SPI0_IMSK_SET) /* SPI0 Interrupt Mask Set Register */
-#define pREG_SPI0_STAT ((volatile uint32_t *)REG_SPI0_STAT) /* SPI0 Status Register */
-#define pREG_SPI0_ILAT ((volatile uint32_t *)REG_SPI0_ILAT) /* SPI0 Masked Interrupt Condition Register */
-#define pREG_SPI0_ILAT_CLR ((volatile uint32_t *)REG_SPI0_ILAT_CLR) /* SPI0 Masked Interrupt Clear Register */
-#define pREG_SPI0_RFIFO ((volatile uint32_t *)REG_SPI0_RFIFO) /* SPI0 Receive FIFO Data Register */
-#define pREG_SPI0_TFIFO ((volatile uint32_t *)REG_SPI0_TFIFO) /* SPI0 Transmit FIFO Data Register */
-
-/* =========================================================================
- SPI1
- ========================================================================= */
-#define pREG_SPI1_CTL ((volatile uint32_t *)REG_SPI1_CTL) /* SPI1 Control Register */
-#define pREG_SPI1_RXCTL ((volatile uint32_t *)REG_SPI1_RXCTL) /* SPI1 Receive Control Register */
-#define pREG_SPI1_TXCTL ((volatile uint32_t *)REG_SPI1_TXCTL) /* SPI1 Transmit Control Register */
-#define pREG_SPI1_CLK ((volatile uint32_t *)REG_SPI1_CLK) /* SPI1 Clock Rate Register */
-#define pREG_SPI1_DLY ((volatile uint32_t *)REG_SPI1_DLY) /* SPI1 Delay Register */
-#define pREG_SPI1_SLVSEL ((volatile uint32_t *)REG_SPI1_SLVSEL) /* SPI1 Slave Select Register */
-#define pREG_SPI1_RWC ((volatile uint32_t *)REG_SPI1_RWC) /* SPI1 Received Word Count Register */
-#define pREG_SPI1_RWCR ((volatile uint32_t *)REG_SPI1_RWCR) /* SPI1 Received Word Count Reload Register */
-#define pREG_SPI1_TWC ((volatile uint32_t *)REG_SPI1_TWC) /* SPI1 Transmitted Word Count Register */
-#define pREG_SPI1_TWCR ((volatile uint32_t *)REG_SPI1_TWCR) /* SPI1 Transmitted Word Count Reload Register */
-#define pREG_SPI1_IMSK ((volatile uint32_t *)REG_SPI1_IMSK) /* SPI1 Interrupt Mask Register */
-#define pREG_SPI1_IMSK_CLR ((volatile uint32_t *)REG_SPI1_IMSK_CLR) /* SPI1 Interrupt Mask Clear Register */
-#define pREG_SPI1_IMSK_SET ((volatile uint32_t *)REG_SPI1_IMSK_SET) /* SPI1 Interrupt Mask Set Register */
-#define pREG_SPI1_STAT ((volatile uint32_t *)REG_SPI1_STAT) /* SPI1 Status Register */
-#define pREG_SPI1_ILAT ((volatile uint32_t *)REG_SPI1_ILAT) /* SPI1 Masked Interrupt Condition Register */
-#define pREG_SPI1_ILAT_CLR ((volatile uint32_t *)REG_SPI1_ILAT_CLR) /* SPI1 Masked Interrupt Clear Register */
-#define pREG_SPI1_RFIFO ((volatile uint32_t *)REG_SPI1_RFIFO) /* SPI1 Receive FIFO Data Register */
-#define pREG_SPI1_TFIFO ((volatile uint32_t *)REG_SPI1_TFIFO) /* SPI1 Transmit FIFO Data Register */
-
-
-/* =========================================================================
- DMA0
- ========================================================================= */
-#define pREG_DMA0_DSCPTR_NXT ((void * volatile *)REG_DMA0_DSCPTR_NXT) /* DMA0 Pointer to Next Initial Descriptor */
-#define pREG_DMA0_ADDRSTART ((void * volatile *)REG_DMA0_ADDRSTART) /* DMA0 Start Address of Current Buffer */
-#define pREG_DMA0_CFG ((volatile uint32_t *)REG_DMA0_CFG) /* DMA0 Configuration Register */
-#define pREG_DMA0_XCNT ((volatile uint32_t *)REG_DMA0_XCNT) /* DMA0 Inner Loop Count Start Value */
-#define pREG_DMA0_XMOD ((volatile int32_t *)REG_DMA0_XMOD) /* DMA0 Inner Loop Address Increment */
-#define pREG_DMA0_YCNT ((volatile uint32_t *)REG_DMA0_YCNT) /* DMA0 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA0_YMOD ((volatile int32_t *)REG_DMA0_YMOD) /* DMA0 Outer Loop Address Increment (2D only) */
-#define pREG_DMA0_DSCPTR_CUR ((void * volatile *)REG_DMA0_DSCPTR_CUR) /* DMA0 Current Descriptor Pointer */
-#define pREG_DMA0_DSCPTR_PRV ((void * volatile *)REG_DMA0_DSCPTR_PRV) /* DMA0 Previous Initial Descriptor Pointer */
-#define pREG_DMA0_ADDR_CUR ((void * volatile *)REG_DMA0_ADDR_CUR) /* DMA0 Current Address */
-#define pREG_DMA0_STAT ((volatile uint32_t *)REG_DMA0_STAT) /* DMA0 Status Register */
-#define pREG_DMA0_XCNT_CUR ((volatile uint32_t *)REG_DMA0_XCNT_CUR) /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA0_YCNT_CUR ((volatile uint32_t *)REG_DMA0_YCNT_CUR) /* DMA0 Current Row Count (2D only) */
-#define pREG_DMA0_BWLCNT ((volatile uint32_t *)REG_DMA0_BWLCNT) /* DMA0 Bandwidth Limit Count */
-#define pREG_DMA0_BWLCNT_CUR ((volatile uint32_t *)REG_DMA0_BWLCNT_CUR) /* DMA0 Bandwidth Limit Count Current */
-#define pREG_DMA0_BWMCNT ((volatile uint32_t *)REG_DMA0_BWMCNT) /* DMA0 Bandwidth Monitor Count */
-#define pREG_DMA0_BWMCNT_CUR ((volatile uint32_t *)REG_DMA0_BWMCNT_CUR) /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA1
- ========================================================================= */
-#define pREG_DMA1_DSCPTR_NXT ((void * volatile *)REG_DMA1_DSCPTR_NXT) /* DMA1 Pointer to Next Initial Descriptor */
-#define pREG_DMA1_ADDRSTART ((void * volatile *)REG_DMA1_ADDRSTART) /* DMA1 Start Address of Current Buffer */
-#define pREG_DMA1_CFG ((volatile uint32_t *)REG_DMA1_CFG) /* DMA1 Configuration Register */
-#define pREG_DMA1_XCNT ((volatile uint32_t *)REG_DMA1_XCNT) /* DMA1 Inner Loop Count Start Value */
-#define pREG_DMA1_XMOD ((volatile int32_t *)REG_DMA1_XMOD) /* DMA1 Inner Loop Address Increment */
-#define pREG_DMA1_YCNT ((volatile uint32_t *)REG_DMA1_YCNT) /* DMA1 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA1_YMOD ((volatile int32_t *)REG_DMA1_YMOD) /* DMA1 Outer Loop Address Increment (2D only) */
-#define pREG_DMA1_DSCPTR_CUR ((void * volatile *)REG_DMA1_DSCPTR_CUR) /* DMA1 Current Descriptor Pointer */
-#define pREG_DMA1_DSCPTR_PRV ((void * volatile *)REG_DMA1_DSCPTR_PRV) /* DMA1 Previous Initial Descriptor Pointer */
-#define pREG_DMA1_ADDR_CUR ((void * volatile *)REG_DMA1_ADDR_CUR) /* DMA1 Current Address */
-#define pREG_DMA1_STAT ((volatile uint32_t *)REG_DMA1_STAT) /* DMA1 Status Register */
-#define pREG_DMA1_XCNT_CUR ((volatile uint32_t *)REG_DMA1_XCNT_CUR) /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA1_YCNT_CUR ((volatile uint32_t *)REG_DMA1_YCNT_CUR) /* DMA1 Current Row Count (2D only) */
-#define pREG_DMA1_BWLCNT ((volatile uint32_t *)REG_DMA1_BWLCNT) /* DMA1 Bandwidth Limit Count */
-#define pREG_DMA1_BWLCNT_CUR ((volatile uint32_t *)REG_DMA1_BWLCNT_CUR) /* DMA1 Bandwidth Limit Count Current */
-#define pREG_DMA1_BWMCNT ((volatile uint32_t *)REG_DMA1_BWMCNT) /* DMA1 Bandwidth Monitor Count */
-#define pREG_DMA1_BWMCNT_CUR ((volatile uint32_t *)REG_DMA1_BWMCNT_CUR) /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA2
- ========================================================================= */
-#define pREG_DMA2_DSCPTR_NXT ((void * volatile *)REG_DMA2_DSCPTR_NXT) /* DMA2 Pointer to Next Initial Descriptor */
-#define pREG_DMA2_ADDRSTART ((void * volatile *)REG_DMA2_ADDRSTART) /* DMA2 Start Address of Current Buffer */
-#define pREG_DMA2_CFG ((volatile uint32_t *)REG_DMA2_CFG) /* DMA2 Configuration Register */
-#define pREG_DMA2_XCNT ((volatile uint32_t *)REG_DMA2_XCNT) /* DMA2 Inner Loop Count Start Value */
-#define pREG_DMA2_XMOD ((volatile int32_t *)REG_DMA2_XMOD) /* DMA2 Inner Loop Address Increment */
-#define pREG_DMA2_YCNT ((volatile uint32_t *)REG_DMA2_YCNT) /* DMA2 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA2_YMOD ((volatile int32_t *)REG_DMA2_YMOD) /* DMA2 Outer Loop Address Increment (2D only) */
-#define pREG_DMA2_DSCPTR_CUR ((void * volatile *)REG_DMA2_DSCPTR_CUR) /* DMA2 Current Descriptor Pointer */
-#define pREG_DMA2_DSCPTR_PRV ((void * volatile *)REG_DMA2_DSCPTR_PRV) /* DMA2 Previous Initial Descriptor Pointer */
-#define pREG_DMA2_ADDR_CUR ((void * volatile *)REG_DMA2_ADDR_CUR) /* DMA2 Current Address */
-#define pREG_DMA2_STAT ((volatile uint32_t *)REG_DMA2_STAT) /* DMA2 Status Register */
-#define pREG_DMA2_XCNT_CUR ((volatile uint32_t *)REG_DMA2_XCNT_CUR) /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA2_YCNT_CUR ((volatile uint32_t *)REG_DMA2_YCNT_CUR) /* DMA2 Current Row Count (2D only) */
-#define pREG_DMA2_BWLCNT ((volatile uint32_t *)REG_DMA2_BWLCNT) /* DMA2 Bandwidth Limit Count */
-#define pREG_DMA2_BWLCNT_CUR ((volatile uint32_t *)REG_DMA2_BWLCNT_CUR) /* DMA2 Bandwidth Limit Count Current */
-#define pREG_DMA2_BWMCNT ((volatile uint32_t *)REG_DMA2_BWMCNT) /* DMA2 Bandwidth Monitor Count */
-#define pREG_DMA2_BWMCNT_CUR ((volatile uint32_t *)REG_DMA2_BWMCNT_CUR) /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA3
- ========================================================================= */
-#define pREG_DMA3_DSCPTR_NXT ((void * volatile *)REG_DMA3_DSCPTR_NXT) /* DMA3 Pointer to Next Initial Descriptor */
-#define pREG_DMA3_ADDRSTART ((void * volatile *)REG_DMA3_ADDRSTART) /* DMA3 Start Address of Current Buffer */
-#define pREG_DMA3_CFG ((volatile uint32_t *)REG_DMA3_CFG) /* DMA3 Configuration Register */
-#define pREG_DMA3_XCNT ((volatile uint32_t *)REG_DMA3_XCNT) /* DMA3 Inner Loop Count Start Value */
-#define pREG_DMA3_XMOD ((volatile int32_t *)REG_DMA3_XMOD) /* DMA3 Inner Loop Address Increment */
-#define pREG_DMA3_YCNT ((volatile uint32_t *)REG_DMA3_YCNT) /* DMA3 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA3_YMOD ((volatile int32_t *)REG_DMA3_YMOD) /* DMA3 Outer Loop Address Increment (2D only) */
-#define pREG_DMA3_DSCPTR_CUR ((void * volatile *)REG_DMA3_DSCPTR_CUR) /* DMA3 Current Descriptor Pointer */
-#define pREG_DMA3_DSCPTR_PRV ((void * volatile *)REG_DMA3_DSCPTR_PRV) /* DMA3 Previous Initial Descriptor Pointer */
-#define pREG_DMA3_ADDR_CUR ((void * volatile *)REG_DMA3_ADDR_CUR) /* DMA3 Current Address */
-#define pREG_DMA3_STAT ((volatile uint32_t *)REG_DMA3_STAT) /* DMA3 Status Register */
-#define pREG_DMA3_XCNT_CUR ((volatile uint32_t *)REG_DMA3_XCNT_CUR) /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA3_YCNT_CUR ((volatile uint32_t *)REG_DMA3_YCNT_CUR) /* DMA3 Current Row Count (2D only) */
-#define pREG_DMA3_BWLCNT ((volatile uint32_t *)REG_DMA3_BWLCNT) /* DMA3 Bandwidth Limit Count */
-#define pREG_DMA3_BWLCNT_CUR ((volatile uint32_t *)REG_DMA3_BWLCNT_CUR) /* DMA3 Bandwidth Limit Count Current */
-#define pREG_DMA3_BWMCNT ((volatile uint32_t *)REG_DMA3_BWMCNT) /* DMA3 Bandwidth Monitor Count */
-#define pREG_DMA3_BWMCNT_CUR ((volatile uint32_t *)REG_DMA3_BWMCNT_CUR) /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA4
- ========================================================================= */
-#define pREG_DMA4_DSCPTR_NXT ((void * volatile *)REG_DMA4_DSCPTR_NXT) /* DMA4 Pointer to Next Initial Descriptor */
-#define pREG_DMA4_ADDRSTART ((void * volatile *)REG_DMA4_ADDRSTART) /* DMA4 Start Address of Current Buffer */
-#define pREG_DMA4_CFG ((volatile uint32_t *)REG_DMA4_CFG) /* DMA4 Configuration Register */
-#define pREG_DMA4_XCNT ((volatile uint32_t *)REG_DMA4_XCNT) /* DMA4 Inner Loop Count Start Value */
-#define pREG_DMA4_XMOD ((volatile int32_t *)REG_DMA4_XMOD) /* DMA4 Inner Loop Address Increment */
-#define pREG_DMA4_YCNT ((volatile uint32_t *)REG_DMA4_YCNT) /* DMA4 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA4_YMOD ((volatile int32_t *)REG_DMA4_YMOD) /* DMA4 Outer Loop Address Increment (2D only) */
-#define pREG_DMA4_DSCPTR_CUR ((void * volatile *)REG_DMA4_DSCPTR_CUR) /* DMA4 Current Descriptor Pointer */
-#define pREG_DMA4_DSCPTR_PRV ((void * volatile *)REG_DMA4_DSCPTR_PRV) /* DMA4 Previous Initial Descriptor Pointer */
-#define pREG_DMA4_ADDR_CUR ((void * volatile *)REG_DMA4_ADDR_CUR) /* DMA4 Current Address */
-#define pREG_DMA4_STAT ((volatile uint32_t *)REG_DMA4_STAT) /* DMA4 Status Register */
-#define pREG_DMA4_XCNT_CUR ((volatile uint32_t *)REG_DMA4_XCNT_CUR) /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA4_YCNT_CUR ((volatile uint32_t *)REG_DMA4_YCNT_CUR) /* DMA4 Current Row Count (2D only) */
-#define pREG_DMA4_BWLCNT ((volatile uint32_t *)REG_DMA4_BWLCNT) /* DMA4 Bandwidth Limit Count */
-#define pREG_DMA4_BWLCNT_CUR ((volatile uint32_t *)REG_DMA4_BWLCNT_CUR) /* DMA4 Bandwidth Limit Count Current */
-#define pREG_DMA4_BWMCNT ((volatile uint32_t *)REG_DMA4_BWMCNT) /* DMA4 Bandwidth Monitor Count */
-#define pREG_DMA4_BWMCNT_CUR ((volatile uint32_t *)REG_DMA4_BWMCNT_CUR) /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA5
- ========================================================================= */
-#define pREG_DMA5_DSCPTR_NXT ((void * volatile *)REG_DMA5_DSCPTR_NXT) /* DMA5 Pointer to Next Initial Descriptor */
-#define pREG_DMA5_ADDRSTART ((void * volatile *)REG_DMA5_ADDRSTART) /* DMA5 Start Address of Current Buffer */
-#define pREG_DMA5_CFG ((volatile uint32_t *)REG_DMA5_CFG) /* DMA5 Configuration Register */
-#define pREG_DMA5_XCNT ((volatile uint32_t *)REG_DMA5_XCNT) /* DMA5 Inner Loop Count Start Value */
-#define pREG_DMA5_XMOD ((volatile int32_t *)REG_DMA5_XMOD) /* DMA5 Inner Loop Address Increment */
-#define pREG_DMA5_YCNT ((volatile uint32_t *)REG_DMA5_YCNT) /* DMA5 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA5_YMOD ((volatile int32_t *)REG_DMA5_YMOD) /* DMA5 Outer Loop Address Increment (2D only) */
-#define pREG_DMA5_DSCPTR_CUR ((void * volatile *)REG_DMA5_DSCPTR_CUR) /* DMA5 Current Descriptor Pointer */
-#define pREG_DMA5_DSCPTR_PRV ((void * volatile *)REG_DMA5_DSCPTR_PRV) /* DMA5 Previous Initial Descriptor Pointer */
-#define pREG_DMA5_ADDR_CUR ((void * volatile *)REG_DMA5_ADDR_CUR) /* DMA5 Current Address */
-#define pREG_DMA5_STAT ((volatile uint32_t *)REG_DMA5_STAT) /* DMA5 Status Register */
-#define pREG_DMA5_XCNT_CUR ((volatile uint32_t *)REG_DMA5_XCNT_CUR) /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA5_YCNT_CUR ((volatile uint32_t *)REG_DMA5_YCNT_CUR) /* DMA5 Current Row Count (2D only) */
-#define pREG_DMA5_BWLCNT ((volatile uint32_t *)REG_DMA5_BWLCNT) /* DMA5 Bandwidth Limit Count */
-#define pREG_DMA5_BWLCNT_CUR ((volatile uint32_t *)REG_DMA5_BWLCNT_CUR) /* DMA5 Bandwidth Limit Count Current */
-#define pREG_DMA5_BWMCNT ((volatile uint32_t *)REG_DMA5_BWMCNT) /* DMA5 Bandwidth Monitor Count */
-#define pREG_DMA5_BWMCNT_CUR ((volatile uint32_t *)REG_DMA5_BWMCNT_CUR) /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA6
- ========================================================================= */
-#define pREG_DMA6_DSCPTR_NXT ((void * volatile *)REG_DMA6_DSCPTR_NXT) /* DMA6 Pointer to Next Initial Descriptor */
-#define pREG_DMA6_ADDRSTART ((void * volatile *)REG_DMA6_ADDRSTART) /* DMA6 Start Address of Current Buffer */
-#define pREG_DMA6_CFG ((volatile uint32_t *)REG_DMA6_CFG) /* DMA6 Configuration Register */
-#define pREG_DMA6_XCNT ((volatile uint32_t *)REG_DMA6_XCNT) /* DMA6 Inner Loop Count Start Value */
-#define pREG_DMA6_XMOD ((volatile int32_t *)REG_DMA6_XMOD) /* DMA6 Inner Loop Address Increment */
-#define pREG_DMA6_YCNT ((volatile uint32_t *)REG_DMA6_YCNT) /* DMA6 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA6_YMOD ((volatile int32_t *)REG_DMA6_YMOD) /* DMA6 Outer Loop Address Increment (2D only) */
-#define pREG_DMA6_DSCPTR_CUR ((void * volatile *)REG_DMA6_DSCPTR_CUR) /* DMA6 Current Descriptor Pointer */
-#define pREG_DMA6_DSCPTR_PRV ((void * volatile *)REG_DMA6_DSCPTR_PRV) /* DMA6 Previous Initial Descriptor Pointer */
-#define pREG_DMA6_ADDR_CUR ((void * volatile *)REG_DMA6_ADDR_CUR) /* DMA6 Current Address */
-#define pREG_DMA6_STAT ((volatile uint32_t *)REG_DMA6_STAT) /* DMA6 Status Register */
-#define pREG_DMA6_XCNT_CUR ((volatile uint32_t *)REG_DMA6_XCNT_CUR) /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA6_YCNT_CUR ((volatile uint32_t *)REG_DMA6_YCNT_CUR) /* DMA6 Current Row Count (2D only) */
-#define pREG_DMA6_BWLCNT ((volatile uint32_t *)REG_DMA6_BWLCNT) /* DMA6 Bandwidth Limit Count */
-#define pREG_DMA6_BWLCNT_CUR ((volatile uint32_t *)REG_DMA6_BWLCNT_CUR) /* DMA6 Bandwidth Limit Count Current */
-#define pREG_DMA6_BWMCNT ((volatile uint32_t *)REG_DMA6_BWMCNT) /* DMA6 Bandwidth Monitor Count */
-#define pREG_DMA6_BWMCNT_CUR ((volatile uint32_t *)REG_DMA6_BWMCNT_CUR) /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA7
- ========================================================================= */
-#define pREG_DMA7_DSCPTR_NXT ((void * volatile *)REG_DMA7_DSCPTR_NXT) /* DMA7 Pointer to Next Initial Descriptor */
-#define pREG_DMA7_ADDRSTART ((void * volatile *)REG_DMA7_ADDRSTART) /* DMA7 Start Address of Current Buffer */
-#define pREG_DMA7_CFG ((volatile uint32_t *)REG_DMA7_CFG) /* DMA7 Configuration Register */
-#define pREG_DMA7_XCNT ((volatile uint32_t *)REG_DMA7_XCNT) /* DMA7 Inner Loop Count Start Value */
-#define pREG_DMA7_XMOD ((volatile int32_t *)REG_DMA7_XMOD) /* DMA7 Inner Loop Address Increment */
-#define pREG_DMA7_YCNT ((volatile uint32_t *)REG_DMA7_YCNT) /* DMA7 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA7_YMOD ((volatile int32_t *)REG_DMA7_YMOD) /* DMA7 Outer Loop Address Increment (2D only) */
-#define pREG_DMA7_DSCPTR_CUR ((void * volatile *)REG_DMA7_DSCPTR_CUR) /* DMA7 Current Descriptor Pointer */
-#define pREG_DMA7_DSCPTR_PRV ((void * volatile *)REG_DMA7_DSCPTR_PRV) /* DMA7 Previous Initial Descriptor Pointer */
-#define pREG_DMA7_ADDR_CUR ((void * volatile *)REG_DMA7_ADDR_CUR) /* DMA7 Current Address */
-#define pREG_DMA7_STAT ((volatile uint32_t *)REG_DMA7_STAT) /* DMA7 Status Register */
-#define pREG_DMA7_XCNT_CUR ((volatile uint32_t *)REG_DMA7_XCNT_CUR) /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA7_YCNT_CUR ((volatile uint32_t *)REG_DMA7_YCNT_CUR) /* DMA7 Current Row Count (2D only) */
-#define pREG_DMA7_BWLCNT ((volatile uint32_t *)REG_DMA7_BWLCNT) /* DMA7 Bandwidth Limit Count */
-#define pREG_DMA7_BWLCNT_CUR ((volatile uint32_t *)REG_DMA7_BWLCNT_CUR) /* DMA7 Bandwidth Limit Count Current */
-#define pREG_DMA7_BWMCNT ((volatile uint32_t *)REG_DMA7_BWMCNT) /* DMA7 Bandwidth Monitor Count */
-#define pREG_DMA7_BWMCNT_CUR ((volatile uint32_t *)REG_DMA7_BWMCNT_CUR) /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA8
- ========================================================================= */
-#define pREG_DMA8_DSCPTR_NXT ((void * volatile *)REG_DMA8_DSCPTR_NXT) /* DMA8 Pointer to Next Initial Descriptor */
-#define pREG_DMA8_ADDRSTART ((void * volatile *)REG_DMA8_ADDRSTART) /* DMA8 Start Address of Current Buffer */
-#define pREG_DMA8_CFG ((volatile uint32_t *)REG_DMA8_CFG) /* DMA8 Configuration Register */
-#define pREG_DMA8_XCNT ((volatile uint32_t *)REG_DMA8_XCNT) /* DMA8 Inner Loop Count Start Value */
-#define pREG_DMA8_XMOD ((volatile int32_t *)REG_DMA8_XMOD) /* DMA8 Inner Loop Address Increment */
-#define pREG_DMA8_YCNT ((volatile uint32_t *)REG_DMA8_YCNT) /* DMA8 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA8_YMOD ((volatile int32_t *)REG_DMA8_YMOD) /* DMA8 Outer Loop Address Increment (2D only) */
-#define pREG_DMA8_DSCPTR_CUR ((void * volatile *)REG_DMA8_DSCPTR_CUR) /* DMA8 Current Descriptor Pointer */
-#define pREG_DMA8_DSCPTR_PRV ((void * volatile *)REG_DMA8_DSCPTR_PRV) /* DMA8 Previous Initial Descriptor Pointer */
-#define pREG_DMA8_ADDR_CUR ((void * volatile *)REG_DMA8_ADDR_CUR) /* DMA8 Current Address */
-#define pREG_DMA8_STAT ((volatile uint32_t *)REG_DMA8_STAT) /* DMA8 Status Register */
-#define pREG_DMA8_XCNT_CUR ((volatile uint32_t *)REG_DMA8_XCNT_CUR) /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA8_YCNT_CUR ((volatile uint32_t *)REG_DMA8_YCNT_CUR) /* DMA8 Current Row Count (2D only) */
-#define pREG_DMA8_BWLCNT ((volatile uint32_t *)REG_DMA8_BWLCNT) /* DMA8 Bandwidth Limit Count */
-#define pREG_DMA8_BWLCNT_CUR ((volatile uint32_t *)REG_DMA8_BWLCNT_CUR) /* DMA8 Bandwidth Limit Count Current */
-#define pREG_DMA8_BWMCNT ((volatile uint32_t *)REG_DMA8_BWMCNT) /* DMA8 Bandwidth Monitor Count */
-#define pREG_DMA8_BWMCNT_CUR ((volatile uint32_t *)REG_DMA8_BWMCNT_CUR) /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA9
- ========================================================================= */
-#define pREG_DMA9_DSCPTR_NXT ((void * volatile *)REG_DMA9_DSCPTR_NXT) /* DMA9 Pointer to Next Initial Descriptor */
-#define pREG_DMA9_ADDRSTART ((void * volatile *)REG_DMA9_ADDRSTART) /* DMA9 Start Address of Current Buffer */
-#define pREG_DMA9_CFG ((volatile uint32_t *)REG_DMA9_CFG) /* DMA9 Configuration Register */
-#define pREG_DMA9_XCNT ((volatile uint32_t *)REG_DMA9_XCNT) /* DMA9 Inner Loop Count Start Value */
-#define pREG_DMA9_XMOD ((volatile int32_t *)REG_DMA9_XMOD) /* DMA9 Inner Loop Address Increment */
-#define pREG_DMA9_YCNT ((volatile uint32_t *)REG_DMA9_YCNT) /* DMA9 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA9_YMOD ((volatile int32_t *)REG_DMA9_YMOD) /* DMA9 Outer Loop Address Increment (2D only) */
-#define pREG_DMA9_DSCPTR_CUR ((void * volatile *)REG_DMA9_DSCPTR_CUR) /* DMA9 Current Descriptor Pointer */
-#define pREG_DMA9_DSCPTR_PRV ((void * volatile *)REG_DMA9_DSCPTR_PRV) /* DMA9 Previous Initial Descriptor Pointer */
-#define pREG_DMA9_ADDR_CUR ((void * volatile *)REG_DMA9_ADDR_CUR) /* DMA9 Current Address */
-#define pREG_DMA9_STAT ((volatile uint32_t *)REG_DMA9_STAT) /* DMA9 Status Register */
-#define pREG_DMA9_XCNT_CUR ((volatile uint32_t *)REG_DMA9_XCNT_CUR) /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA9_YCNT_CUR ((volatile uint32_t *)REG_DMA9_YCNT_CUR) /* DMA9 Current Row Count (2D only) */
-#define pREG_DMA9_BWLCNT ((volatile uint32_t *)REG_DMA9_BWLCNT) /* DMA9 Bandwidth Limit Count */
-#define pREG_DMA9_BWLCNT_CUR ((volatile uint32_t *)REG_DMA9_BWLCNT_CUR) /* DMA9 Bandwidth Limit Count Current */
-#define pREG_DMA9_BWMCNT ((volatile uint32_t *)REG_DMA9_BWMCNT) /* DMA9 Bandwidth Monitor Count */
-#define pREG_DMA9_BWMCNT_CUR ((volatile uint32_t *)REG_DMA9_BWMCNT_CUR) /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA10
- ========================================================================= */
-#define pREG_DMA10_DSCPTR_NXT ((void * volatile *)REG_DMA10_DSCPTR_NXT) /* DMA10 Pointer to Next Initial Descriptor */
-#define pREG_DMA10_ADDRSTART ((void * volatile *)REG_DMA10_ADDRSTART) /* DMA10 Start Address of Current Buffer */
-#define pREG_DMA10_CFG ((volatile uint32_t *)REG_DMA10_CFG) /* DMA10 Configuration Register */
-#define pREG_DMA10_XCNT ((volatile uint32_t *)REG_DMA10_XCNT) /* DMA10 Inner Loop Count Start Value */
-#define pREG_DMA10_XMOD ((volatile int32_t *)REG_DMA10_XMOD) /* DMA10 Inner Loop Address Increment */
-#define pREG_DMA10_YCNT ((volatile uint32_t *)REG_DMA10_YCNT) /* DMA10 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA10_YMOD ((volatile int32_t *)REG_DMA10_YMOD) /* DMA10 Outer Loop Address Increment (2D only) */
-#define pREG_DMA10_DSCPTR_CUR ((void * volatile *)REG_DMA10_DSCPTR_CUR) /* DMA10 Current Descriptor Pointer */
-#define pREG_DMA10_DSCPTR_PRV ((void * volatile *)REG_DMA10_DSCPTR_PRV) /* DMA10 Previous Initial Descriptor Pointer */
-#define pREG_DMA10_ADDR_CUR ((void * volatile *)REG_DMA10_ADDR_CUR) /* DMA10 Current Address */
-#define pREG_DMA10_STAT ((volatile uint32_t *)REG_DMA10_STAT) /* DMA10 Status Register */
-#define pREG_DMA10_XCNT_CUR ((volatile uint32_t *)REG_DMA10_XCNT_CUR) /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA10_YCNT_CUR ((volatile uint32_t *)REG_DMA10_YCNT_CUR) /* DMA10 Current Row Count (2D only) */
-#define pREG_DMA10_BWLCNT ((volatile uint32_t *)REG_DMA10_BWLCNT) /* DMA10 Bandwidth Limit Count */
-#define pREG_DMA10_BWLCNT_CUR ((volatile uint32_t *)REG_DMA10_BWLCNT_CUR) /* DMA10 Bandwidth Limit Count Current */
-#define pREG_DMA10_BWMCNT ((volatile uint32_t *)REG_DMA10_BWMCNT) /* DMA10 Bandwidth Monitor Count */
-#define pREG_DMA10_BWMCNT_CUR ((volatile uint32_t *)REG_DMA10_BWMCNT_CUR) /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA11
- ========================================================================= */
-#define pREG_DMA11_DSCPTR_NXT ((void * volatile *)REG_DMA11_DSCPTR_NXT) /* DMA11 Pointer to Next Initial Descriptor */
-#define pREG_DMA11_ADDRSTART ((void * volatile *)REG_DMA11_ADDRSTART) /* DMA11 Start Address of Current Buffer */
-#define pREG_DMA11_CFG ((volatile uint32_t *)REG_DMA11_CFG) /* DMA11 Configuration Register */
-#define pREG_DMA11_XCNT ((volatile uint32_t *)REG_DMA11_XCNT) /* DMA11 Inner Loop Count Start Value */
-#define pREG_DMA11_XMOD ((volatile int32_t *)REG_DMA11_XMOD) /* DMA11 Inner Loop Address Increment */
-#define pREG_DMA11_YCNT ((volatile uint32_t *)REG_DMA11_YCNT) /* DMA11 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA11_YMOD ((volatile int32_t *)REG_DMA11_YMOD) /* DMA11 Outer Loop Address Increment (2D only) */
-#define pREG_DMA11_DSCPTR_CUR ((void * volatile *)REG_DMA11_DSCPTR_CUR) /* DMA11 Current Descriptor Pointer */
-#define pREG_DMA11_DSCPTR_PRV ((void * volatile *)REG_DMA11_DSCPTR_PRV) /* DMA11 Previous Initial Descriptor Pointer */
-#define pREG_DMA11_ADDR_CUR ((void * volatile *)REG_DMA11_ADDR_CUR) /* DMA11 Current Address */
-#define pREG_DMA11_STAT ((volatile uint32_t *)REG_DMA11_STAT) /* DMA11 Status Register */
-#define pREG_DMA11_XCNT_CUR ((volatile uint32_t *)REG_DMA11_XCNT_CUR) /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA11_YCNT_CUR ((volatile uint32_t *)REG_DMA11_YCNT_CUR) /* DMA11 Current Row Count (2D only) */
-#define pREG_DMA11_BWLCNT ((volatile uint32_t *)REG_DMA11_BWLCNT) /* DMA11 Bandwidth Limit Count */
-#define pREG_DMA11_BWLCNT_CUR ((volatile uint32_t *)REG_DMA11_BWLCNT_CUR) /* DMA11 Bandwidth Limit Count Current */
-#define pREG_DMA11_BWMCNT ((volatile uint32_t *)REG_DMA11_BWMCNT) /* DMA11 Bandwidth Monitor Count */
-#define pREG_DMA11_BWMCNT_CUR ((volatile uint32_t *)REG_DMA11_BWMCNT_CUR) /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA12
- ========================================================================= */
-#define pREG_DMA12_DSCPTR_NXT ((void * volatile *)REG_DMA12_DSCPTR_NXT) /* DMA12 Pointer to Next Initial Descriptor */
-#define pREG_DMA12_ADDRSTART ((void * volatile *)REG_DMA12_ADDRSTART) /* DMA12 Start Address of Current Buffer */
-#define pREG_DMA12_CFG ((volatile uint32_t *)REG_DMA12_CFG) /* DMA12 Configuration Register */
-#define pREG_DMA12_XCNT ((volatile uint32_t *)REG_DMA12_XCNT) /* DMA12 Inner Loop Count Start Value */
-#define pREG_DMA12_XMOD ((volatile int32_t *)REG_DMA12_XMOD) /* DMA12 Inner Loop Address Increment */
-#define pREG_DMA12_YCNT ((volatile uint32_t *)REG_DMA12_YCNT) /* DMA12 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA12_YMOD ((volatile int32_t *)REG_DMA12_YMOD) /* DMA12 Outer Loop Address Increment (2D only) */
-#define pREG_DMA12_DSCPTR_CUR ((void * volatile *)REG_DMA12_DSCPTR_CUR) /* DMA12 Current Descriptor Pointer */
-#define pREG_DMA12_DSCPTR_PRV ((void * volatile *)REG_DMA12_DSCPTR_PRV) /* DMA12 Previous Initial Descriptor Pointer */
-#define pREG_DMA12_ADDR_CUR ((void * volatile *)REG_DMA12_ADDR_CUR) /* DMA12 Current Address */
-#define pREG_DMA12_STAT ((volatile uint32_t *)REG_DMA12_STAT) /* DMA12 Status Register */
-#define pREG_DMA12_XCNT_CUR ((volatile uint32_t *)REG_DMA12_XCNT_CUR) /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA12_YCNT_CUR ((volatile uint32_t *)REG_DMA12_YCNT_CUR) /* DMA12 Current Row Count (2D only) */
-#define pREG_DMA12_BWLCNT ((volatile uint32_t *)REG_DMA12_BWLCNT) /* DMA12 Bandwidth Limit Count */
-#define pREG_DMA12_BWLCNT_CUR ((volatile uint32_t *)REG_DMA12_BWLCNT_CUR) /* DMA12 Bandwidth Limit Count Current */
-#define pREG_DMA12_BWMCNT ((volatile uint32_t *)REG_DMA12_BWMCNT) /* DMA12 Bandwidth Monitor Count */
-#define pREG_DMA12_BWMCNT_CUR ((volatile uint32_t *)REG_DMA12_BWMCNT_CUR) /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA13
- ========================================================================= */
-#define pREG_DMA13_DSCPTR_NXT ((void * volatile *)REG_DMA13_DSCPTR_NXT) /* DMA13 Pointer to Next Initial Descriptor */
-#define pREG_DMA13_ADDRSTART ((void * volatile *)REG_DMA13_ADDRSTART) /* DMA13 Start Address of Current Buffer */
-#define pREG_DMA13_CFG ((volatile uint32_t *)REG_DMA13_CFG) /* DMA13 Configuration Register */
-#define pREG_DMA13_XCNT ((volatile uint32_t *)REG_DMA13_XCNT) /* DMA13 Inner Loop Count Start Value */
-#define pREG_DMA13_XMOD ((volatile int32_t *)REG_DMA13_XMOD) /* DMA13 Inner Loop Address Increment */
-#define pREG_DMA13_YCNT ((volatile uint32_t *)REG_DMA13_YCNT) /* DMA13 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA13_YMOD ((volatile int32_t *)REG_DMA13_YMOD) /* DMA13 Outer Loop Address Increment (2D only) */
-#define pREG_DMA13_DSCPTR_CUR ((void * volatile *)REG_DMA13_DSCPTR_CUR) /* DMA13 Current Descriptor Pointer */
-#define pREG_DMA13_DSCPTR_PRV ((void * volatile *)REG_DMA13_DSCPTR_PRV) /* DMA13 Previous Initial Descriptor Pointer */
-#define pREG_DMA13_ADDR_CUR ((void * volatile *)REG_DMA13_ADDR_CUR) /* DMA13 Current Address */
-#define pREG_DMA13_STAT ((volatile uint32_t *)REG_DMA13_STAT) /* DMA13 Status Register */
-#define pREG_DMA13_XCNT_CUR ((volatile uint32_t *)REG_DMA13_XCNT_CUR) /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA13_YCNT_CUR ((volatile uint32_t *)REG_DMA13_YCNT_CUR) /* DMA13 Current Row Count (2D only) */
-#define pREG_DMA13_BWLCNT ((volatile uint32_t *)REG_DMA13_BWLCNT) /* DMA13 Bandwidth Limit Count */
-#define pREG_DMA13_BWLCNT_CUR ((volatile uint32_t *)REG_DMA13_BWLCNT_CUR) /* DMA13 Bandwidth Limit Count Current */
-#define pREG_DMA13_BWMCNT ((volatile uint32_t *)REG_DMA13_BWMCNT) /* DMA13 Bandwidth Monitor Count */
-#define pREG_DMA13_BWMCNT_CUR ((volatile uint32_t *)REG_DMA13_BWMCNT_CUR) /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA14
- ========================================================================= */
-#define pREG_DMA14_DSCPTR_NXT ((void * volatile *)REG_DMA14_DSCPTR_NXT) /* DMA14 Pointer to Next Initial Descriptor */
-#define pREG_DMA14_ADDRSTART ((void * volatile *)REG_DMA14_ADDRSTART) /* DMA14 Start Address of Current Buffer */
-#define pREG_DMA14_CFG ((volatile uint32_t *)REG_DMA14_CFG) /* DMA14 Configuration Register */
-#define pREG_DMA14_XCNT ((volatile uint32_t *)REG_DMA14_XCNT) /* DMA14 Inner Loop Count Start Value */
-#define pREG_DMA14_XMOD ((volatile int32_t *)REG_DMA14_XMOD) /* DMA14 Inner Loop Address Increment */
-#define pREG_DMA14_YCNT ((volatile uint32_t *)REG_DMA14_YCNT) /* DMA14 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA14_YMOD ((volatile int32_t *)REG_DMA14_YMOD) /* DMA14 Outer Loop Address Increment (2D only) */
-#define pREG_DMA14_DSCPTR_CUR ((void * volatile *)REG_DMA14_DSCPTR_CUR) /* DMA14 Current Descriptor Pointer */
-#define pREG_DMA14_DSCPTR_PRV ((void * volatile *)REG_DMA14_DSCPTR_PRV) /* DMA14 Previous Initial Descriptor Pointer */
-#define pREG_DMA14_ADDR_CUR ((void * volatile *)REG_DMA14_ADDR_CUR) /* DMA14 Current Address */
-#define pREG_DMA14_STAT ((volatile uint32_t *)REG_DMA14_STAT) /* DMA14 Status Register */
-#define pREG_DMA14_XCNT_CUR ((volatile uint32_t *)REG_DMA14_XCNT_CUR) /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA14_YCNT_CUR ((volatile uint32_t *)REG_DMA14_YCNT_CUR) /* DMA14 Current Row Count (2D only) */
-#define pREG_DMA14_BWLCNT ((volatile uint32_t *)REG_DMA14_BWLCNT) /* DMA14 Bandwidth Limit Count */
-#define pREG_DMA14_BWLCNT_CUR ((volatile uint32_t *)REG_DMA14_BWLCNT_CUR) /* DMA14 Bandwidth Limit Count Current */
-#define pREG_DMA14_BWMCNT ((volatile uint32_t *)REG_DMA14_BWMCNT) /* DMA14 Bandwidth Monitor Count */
-#define pREG_DMA14_BWMCNT_CUR ((volatile uint32_t *)REG_DMA14_BWMCNT_CUR) /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA15
- ========================================================================= */
-#define pREG_DMA15_DSCPTR_NXT ((void * volatile *)REG_DMA15_DSCPTR_NXT) /* DMA15 Pointer to Next Initial Descriptor */
-#define pREG_DMA15_ADDRSTART ((void * volatile *)REG_DMA15_ADDRSTART) /* DMA15 Start Address of Current Buffer */
-#define pREG_DMA15_CFG ((volatile uint32_t *)REG_DMA15_CFG) /* DMA15 Configuration Register */
-#define pREG_DMA15_XCNT ((volatile uint32_t *)REG_DMA15_XCNT) /* DMA15 Inner Loop Count Start Value */
-#define pREG_DMA15_XMOD ((volatile int32_t *)REG_DMA15_XMOD) /* DMA15 Inner Loop Address Increment */
-#define pREG_DMA15_YCNT ((volatile uint32_t *)REG_DMA15_YCNT) /* DMA15 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA15_YMOD ((volatile int32_t *)REG_DMA15_YMOD) /* DMA15 Outer Loop Address Increment (2D only) */
-#define pREG_DMA15_DSCPTR_CUR ((void * volatile *)REG_DMA15_DSCPTR_CUR) /* DMA15 Current Descriptor Pointer */
-#define pREG_DMA15_DSCPTR_PRV ((void * volatile *)REG_DMA15_DSCPTR_PRV) /* DMA15 Previous Initial Descriptor Pointer */
-#define pREG_DMA15_ADDR_CUR ((void * volatile *)REG_DMA15_ADDR_CUR) /* DMA15 Current Address */
-#define pREG_DMA15_STAT ((volatile uint32_t *)REG_DMA15_STAT) /* DMA15 Status Register */
-#define pREG_DMA15_XCNT_CUR ((volatile uint32_t *)REG_DMA15_XCNT_CUR) /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA15_YCNT_CUR ((volatile uint32_t *)REG_DMA15_YCNT_CUR) /* DMA15 Current Row Count (2D only) */
-#define pREG_DMA15_BWLCNT ((volatile uint32_t *)REG_DMA15_BWLCNT) /* DMA15 Bandwidth Limit Count */
-#define pREG_DMA15_BWLCNT_CUR ((volatile uint32_t *)REG_DMA15_BWLCNT_CUR) /* DMA15 Bandwidth Limit Count Current */
-#define pREG_DMA15_BWMCNT ((volatile uint32_t *)REG_DMA15_BWMCNT) /* DMA15 Bandwidth Monitor Count */
-#define pREG_DMA15_BWMCNT_CUR ((volatile uint32_t *)REG_DMA15_BWMCNT_CUR) /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA16
- ========================================================================= */
-#define pREG_DMA16_DSCPTR_NXT ((void * volatile *)REG_DMA16_DSCPTR_NXT) /* DMA16 Pointer to Next Initial Descriptor */
-#define pREG_DMA16_ADDRSTART ((void * volatile *)REG_DMA16_ADDRSTART) /* DMA16 Start Address of Current Buffer */
-#define pREG_DMA16_CFG ((volatile uint32_t *)REG_DMA16_CFG) /* DMA16 Configuration Register */
-#define pREG_DMA16_XCNT ((volatile uint32_t *)REG_DMA16_XCNT) /* DMA16 Inner Loop Count Start Value */
-#define pREG_DMA16_XMOD ((volatile int32_t *)REG_DMA16_XMOD) /* DMA16 Inner Loop Address Increment */
-#define pREG_DMA16_YCNT ((volatile uint32_t *)REG_DMA16_YCNT) /* DMA16 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA16_YMOD ((volatile int32_t *)REG_DMA16_YMOD) /* DMA16 Outer Loop Address Increment (2D only) */
-#define pREG_DMA16_DSCPTR_CUR ((void * volatile *)REG_DMA16_DSCPTR_CUR) /* DMA16 Current Descriptor Pointer */
-#define pREG_DMA16_DSCPTR_PRV ((void * volatile *)REG_DMA16_DSCPTR_PRV) /* DMA16 Previous Initial Descriptor Pointer */
-#define pREG_DMA16_ADDR_CUR ((void * volatile *)REG_DMA16_ADDR_CUR) /* DMA16 Current Address */
-#define pREG_DMA16_STAT ((volatile uint32_t *)REG_DMA16_STAT) /* DMA16 Status Register */
-#define pREG_DMA16_XCNT_CUR ((volatile uint32_t *)REG_DMA16_XCNT_CUR) /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA16_YCNT_CUR ((volatile uint32_t *)REG_DMA16_YCNT_CUR) /* DMA16 Current Row Count (2D only) */
-#define pREG_DMA16_BWLCNT ((volatile uint32_t *)REG_DMA16_BWLCNT) /* DMA16 Bandwidth Limit Count */
-#define pREG_DMA16_BWLCNT_CUR ((volatile uint32_t *)REG_DMA16_BWLCNT_CUR) /* DMA16 Bandwidth Limit Count Current */
-#define pREG_DMA16_BWMCNT ((volatile uint32_t *)REG_DMA16_BWMCNT) /* DMA16 Bandwidth Monitor Count */
-#define pREG_DMA16_BWMCNT_CUR ((volatile uint32_t *)REG_DMA16_BWMCNT_CUR) /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA17
- ========================================================================= */
-#define pREG_DMA17_DSCPTR_NXT ((void * volatile *)REG_DMA17_DSCPTR_NXT) /* DMA17 Pointer to Next Initial Descriptor */
-#define pREG_DMA17_ADDRSTART ((void * volatile *)REG_DMA17_ADDRSTART) /* DMA17 Start Address of Current Buffer */
-#define pREG_DMA17_CFG ((volatile uint32_t *)REG_DMA17_CFG) /* DMA17 Configuration Register */
-#define pREG_DMA17_XCNT ((volatile uint32_t *)REG_DMA17_XCNT) /* DMA17 Inner Loop Count Start Value */
-#define pREG_DMA17_XMOD ((volatile int32_t *)REG_DMA17_XMOD) /* DMA17 Inner Loop Address Increment */
-#define pREG_DMA17_YCNT ((volatile uint32_t *)REG_DMA17_YCNT) /* DMA17 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA17_YMOD ((volatile int32_t *)REG_DMA17_YMOD) /* DMA17 Outer Loop Address Increment (2D only) */
-#define pREG_DMA17_DSCPTR_CUR ((void * volatile *)REG_DMA17_DSCPTR_CUR) /* DMA17 Current Descriptor Pointer */
-#define pREG_DMA17_DSCPTR_PRV ((void * volatile *)REG_DMA17_DSCPTR_PRV) /* DMA17 Previous Initial Descriptor Pointer */
-#define pREG_DMA17_ADDR_CUR ((void * volatile *)REG_DMA17_ADDR_CUR) /* DMA17 Current Address */
-#define pREG_DMA17_STAT ((volatile uint32_t *)REG_DMA17_STAT) /* DMA17 Status Register */
-#define pREG_DMA17_XCNT_CUR ((volatile uint32_t *)REG_DMA17_XCNT_CUR) /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA17_YCNT_CUR ((volatile uint32_t *)REG_DMA17_YCNT_CUR) /* DMA17 Current Row Count (2D only) */
-#define pREG_DMA17_BWLCNT ((volatile uint32_t *)REG_DMA17_BWLCNT) /* DMA17 Bandwidth Limit Count */
-#define pREG_DMA17_BWLCNT_CUR ((volatile uint32_t *)REG_DMA17_BWLCNT_CUR) /* DMA17 Bandwidth Limit Count Current */
-#define pREG_DMA17_BWMCNT ((volatile uint32_t *)REG_DMA17_BWMCNT) /* DMA17 Bandwidth Monitor Count */
-#define pREG_DMA17_BWMCNT_CUR ((volatile uint32_t *)REG_DMA17_BWMCNT_CUR) /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA18
- ========================================================================= */
-#define pREG_DMA18_DSCPTR_NXT ((void * volatile *)REG_DMA18_DSCPTR_NXT) /* DMA18 Pointer to Next Initial Descriptor */
-#define pREG_DMA18_ADDRSTART ((void * volatile *)REG_DMA18_ADDRSTART) /* DMA18 Start Address of Current Buffer */
-#define pREG_DMA18_CFG ((volatile uint32_t *)REG_DMA18_CFG) /* DMA18 Configuration Register */
-#define pREG_DMA18_XCNT ((volatile uint32_t *)REG_DMA18_XCNT) /* DMA18 Inner Loop Count Start Value */
-#define pREG_DMA18_XMOD ((volatile int32_t *)REG_DMA18_XMOD) /* DMA18 Inner Loop Address Increment */
-#define pREG_DMA18_YCNT ((volatile uint32_t *)REG_DMA18_YCNT) /* DMA18 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA18_YMOD ((volatile int32_t *)REG_DMA18_YMOD) /* DMA18 Outer Loop Address Increment (2D only) */
-#define pREG_DMA18_DSCPTR_CUR ((void * volatile *)REG_DMA18_DSCPTR_CUR) /* DMA18 Current Descriptor Pointer */
-#define pREG_DMA18_DSCPTR_PRV ((void * volatile *)REG_DMA18_DSCPTR_PRV) /* DMA18 Previous Initial Descriptor Pointer */
-#define pREG_DMA18_ADDR_CUR ((void * volatile *)REG_DMA18_ADDR_CUR) /* DMA18 Current Address */
-#define pREG_DMA18_STAT ((volatile uint32_t *)REG_DMA18_STAT) /* DMA18 Status Register */
-#define pREG_DMA18_XCNT_CUR ((volatile uint32_t *)REG_DMA18_XCNT_CUR) /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA18_YCNT_CUR ((volatile uint32_t *)REG_DMA18_YCNT_CUR) /* DMA18 Current Row Count (2D only) */
-#define pREG_DMA18_BWLCNT ((volatile uint32_t *)REG_DMA18_BWLCNT) /* DMA18 Bandwidth Limit Count */
-#define pREG_DMA18_BWLCNT_CUR ((volatile uint32_t *)REG_DMA18_BWLCNT_CUR) /* DMA18 Bandwidth Limit Count Current */
-#define pREG_DMA18_BWMCNT ((volatile uint32_t *)REG_DMA18_BWMCNT) /* DMA18 Bandwidth Monitor Count */
-#define pREG_DMA18_BWMCNT_CUR ((volatile uint32_t *)REG_DMA18_BWMCNT_CUR) /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA19
- ========================================================================= */
-#define pREG_DMA19_DSCPTR_NXT ((void * volatile *)REG_DMA19_DSCPTR_NXT) /* DMA19 Pointer to Next Initial Descriptor */
-#define pREG_DMA19_ADDRSTART ((void * volatile *)REG_DMA19_ADDRSTART) /* DMA19 Start Address of Current Buffer */
-#define pREG_DMA19_CFG ((volatile uint32_t *)REG_DMA19_CFG) /* DMA19 Configuration Register */
-#define pREG_DMA19_XCNT ((volatile uint32_t *)REG_DMA19_XCNT) /* DMA19 Inner Loop Count Start Value */
-#define pREG_DMA19_XMOD ((volatile int32_t *)REG_DMA19_XMOD) /* DMA19 Inner Loop Address Increment */
-#define pREG_DMA19_YCNT ((volatile uint32_t *)REG_DMA19_YCNT) /* DMA19 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA19_YMOD ((volatile int32_t *)REG_DMA19_YMOD) /* DMA19 Outer Loop Address Increment (2D only) */
-#define pREG_DMA19_DSCPTR_CUR ((void * volatile *)REG_DMA19_DSCPTR_CUR) /* DMA19 Current Descriptor Pointer */
-#define pREG_DMA19_DSCPTR_PRV ((void * volatile *)REG_DMA19_DSCPTR_PRV) /* DMA19 Previous Initial Descriptor Pointer */
-#define pREG_DMA19_ADDR_CUR ((void * volatile *)REG_DMA19_ADDR_CUR) /* DMA19 Current Address */
-#define pREG_DMA19_STAT ((volatile uint32_t *)REG_DMA19_STAT) /* DMA19 Status Register */
-#define pREG_DMA19_XCNT_CUR ((volatile uint32_t *)REG_DMA19_XCNT_CUR) /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA19_YCNT_CUR ((volatile uint32_t *)REG_DMA19_YCNT_CUR) /* DMA19 Current Row Count (2D only) */
-#define pREG_DMA19_BWLCNT ((volatile uint32_t *)REG_DMA19_BWLCNT) /* DMA19 Bandwidth Limit Count */
-#define pREG_DMA19_BWLCNT_CUR ((volatile uint32_t *)REG_DMA19_BWLCNT_CUR) /* DMA19 Bandwidth Limit Count Current */
-#define pREG_DMA19_BWMCNT ((volatile uint32_t *)REG_DMA19_BWMCNT) /* DMA19 Bandwidth Monitor Count */
-#define pREG_DMA19_BWMCNT_CUR ((volatile uint32_t *)REG_DMA19_BWMCNT_CUR) /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA20
- ========================================================================= */
-#define pREG_DMA20_DSCPTR_NXT ((void * volatile *)REG_DMA20_DSCPTR_NXT) /* DMA20 Pointer to Next Initial Descriptor */
-#define pREG_DMA20_ADDRSTART ((void * volatile *)REG_DMA20_ADDRSTART) /* DMA20 Start Address of Current Buffer */
-#define pREG_DMA20_CFG ((volatile uint32_t *)REG_DMA20_CFG) /* DMA20 Configuration Register */
-#define pREG_DMA20_XCNT ((volatile uint32_t *)REG_DMA20_XCNT) /* DMA20 Inner Loop Count Start Value */
-#define pREG_DMA20_XMOD ((volatile int32_t *)REG_DMA20_XMOD) /* DMA20 Inner Loop Address Increment */
-#define pREG_DMA20_YCNT ((volatile uint32_t *)REG_DMA20_YCNT) /* DMA20 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA20_YMOD ((volatile int32_t *)REG_DMA20_YMOD) /* DMA20 Outer Loop Address Increment (2D only) */
-#define pREG_DMA20_DSCPTR_CUR ((void * volatile *)REG_DMA20_DSCPTR_CUR) /* DMA20 Current Descriptor Pointer */
-#define pREG_DMA20_DSCPTR_PRV ((void * volatile *)REG_DMA20_DSCPTR_PRV) /* DMA20 Previous Initial Descriptor Pointer */
-#define pREG_DMA20_ADDR_CUR ((void * volatile *)REG_DMA20_ADDR_CUR) /* DMA20 Current Address */
-#define pREG_DMA20_STAT ((volatile uint32_t *)REG_DMA20_STAT) /* DMA20 Status Register */
-#define pREG_DMA20_XCNT_CUR ((volatile uint32_t *)REG_DMA20_XCNT_CUR) /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA20_YCNT_CUR ((volatile uint32_t *)REG_DMA20_YCNT_CUR) /* DMA20 Current Row Count (2D only) */
-#define pREG_DMA20_BWLCNT ((volatile uint32_t *)REG_DMA20_BWLCNT) /* DMA20 Bandwidth Limit Count */
-#define pREG_DMA20_BWLCNT_CUR ((volatile uint32_t *)REG_DMA20_BWLCNT_CUR) /* DMA20 Bandwidth Limit Count Current */
-#define pREG_DMA20_BWMCNT ((volatile uint32_t *)REG_DMA20_BWMCNT) /* DMA20 Bandwidth Monitor Count */
-#define pREG_DMA20_BWMCNT_CUR ((volatile uint32_t *)REG_DMA20_BWMCNT_CUR) /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA21
- ========================================================================= */
-#define pREG_DMA21_DSCPTR_NXT ((void * volatile *)REG_DMA21_DSCPTR_NXT) /* DMA21 Pointer to Next Initial Descriptor */
-#define pREG_DMA21_ADDRSTART ((void * volatile *)REG_DMA21_ADDRSTART) /* DMA21 Start Address of Current Buffer */
-#define pREG_DMA21_CFG ((volatile uint32_t *)REG_DMA21_CFG) /* DMA21 Configuration Register */
-#define pREG_DMA21_XCNT ((volatile uint32_t *)REG_DMA21_XCNT) /* DMA21 Inner Loop Count Start Value */
-#define pREG_DMA21_XMOD ((volatile int32_t *)REG_DMA21_XMOD) /* DMA21 Inner Loop Address Increment */
-#define pREG_DMA21_YCNT ((volatile uint32_t *)REG_DMA21_YCNT) /* DMA21 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA21_YMOD ((volatile int32_t *)REG_DMA21_YMOD) /* DMA21 Outer Loop Address Increment (2D only) */
-#define pREG_DMA21_DSCPTR_CUR ((void * volatile *)REG_DMA21_DSCPTR_CUR) /* DMA21 Current Descriptor Pointer */
-#define pREG_DMA21_DSCPTR_PRV ((void * volatile *)REG_DMA21_DSCPTR_PRV) /* DMA21 Previous Initial Descriptor Pointer */
-#define pREG_DMA21_ADDR_CUR ((void * volatile *)REG_DMA21_ADDR_CUR) /* DMA21 Current Address */
-#define pREG_DMA21_STAT ((volatile uint32_t *)REG_DMA21_STAT) /* DMA21 Status Register */
-#define pREG_DMA21_XCNT_CUR ((volatile uint32_t *)REG_DMA21_XCNT_CUR) /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA21_YCNT_CUR ((volatile uint32_t *)REG_DMA21_YCNT_CUR) /* DMA21 Current Row Count (2D only) */
-#define pREG_DMA21_BWLCNT ((volatile uint32_t *)REG_DMA21_BWLCNT) /* DMA21 Bandwidth Limit Count */
-#define pREG_DMA21_BWLCNT_CUR ((volatile uint32_t *)REG_DMA21_BWLCNT_CUR) /* DMA21 Bandwidth Limit Count Current */
-#define pREG_DMA21_BWMCNT ((volatile uint32_t *)REG_DMA21_BWMCNT) /* DMA21 Bandwidth Monitor Count */
-#define pREG_DMA21_BWMCNT_CUR ((volatile uint32_t *)REG_DMA21_BWMCNT_CUR) /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA22
- ========================================================================= */
-#define pREG_DMA22_DSCPTR_NXT ((void * volatile *)REG_DMA22_DSCPTR_NXT) /* DMA22 Pointer to Next Initial Descriptor */
-#define pREG_DMA22_ADDRSTART ((void * volatile *)REG_DMA22_ADDRSTART) /* DMA22 Start Address of Current Buffer */
-#define pREG_DMA22_CFG ((volatile uint32_t *)REG_DMA22_CFG) /* DMA22 Configuration Register */
-#define pREG_DMA22_XCNT ((volatile uint32_t *)REG_DMA22_XCNT) /* DMA22 Inner Loop Count Start Value */
-#define pREG_DMA22_XMOD ((volatile int32_t *)REG_DMA22_XMOD) /* DMA22 Inner Loop Address Increment */
-#define pREG_DMA22_YCNT ((volatile uint32_t *)REG_DMA22_YCNT) /* DMA22 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA22_YMOD ((volatile int32_t *)REG_DMA22_YMOD) /* DMA22 Outer Loop Address Increment (2D only) */
-#define pREG_DMA22_DSCPTR_CUR ((void * volatile *)REG_DMA22_DSCPTR_CUR) /* DMA22 Current Descriptor Pointer */
-#define pREG_DMA22_DSCPTR_PRV ((void * volatile *)REG_DMA22_DSCPTR_PRV) /* DMA22 Previous Initial Descriptor Pointer */
-#define pREG_DMA22_ADDR_CUR ((void * volatile *)REG_DMA22_ADDR_CUR) /* DMA22 Current Address */
-#define pREG_DMA22_STAT ((volatile uint32_t *)REG_DMA22_STAT) /* DMA22 Status Register */
-#define pREG_DMA22_XCNT_CUR ((volatile uint32_t *)REG_DMA22_XCNT_CUR) /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA22_YCNT_CUR ((volatile uint32_t *)REG_DMA22_YCNT_CUR) /* DMA22 Current Row Count (2D only) */
-#define pREG_DMA22_BWLCNT ((volatile uint32_t *)REG_DMA22_BWLCNT) /* DMA22 Bandwidth Limit Count */
-#define pREG_DMA22_BWLCNT_CUR ((volatile uint32_t *)REG_DMA22_BWLCNT_CUR) /* DMA22 Bandwidth Limit Count Current */
-#define pREG_DMA22_BWMCNT ((volatile uint32_t *)REG_DMA22_BWMCNT) /* DMA22 Bandwidth Monitor Count */
-#define pREG_DMA22_BWMCNT_CUR ((volatile uint32_t *)REG_DMA22_BWMCNT_CUR) /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA23
- ========================================================================= */
-#define pREG_DMA23_DSCPTR_NXT ((void * volatile *)REG_DMA23_DSCPTR_NXT) /* DMA23 Pointer to Next Initial Descriptor */
-#define pREG_DMA23_ADDRSTART ((void * volatile *)REG_DMA23_ADDRSTART) /* DMA23 Start Address of Current Buffer */
-#define pREG_DMA23_CFG ((volatile uint32_t *)REG_DMA23_CFG) /* DMA23 Configuration Register */
-#define pREG_DMA23_XCNT ((volatile uint32_t *)REG_DMA23_XCNT) /* DMA23 Inner Loop Count Start Value */
-#define pREG_DMA23_XMOD ((volatile int32_t *)REG_DMA23_XMOD) /* DMA23 Inner Loop Address Increment */
-#define pREG_DMA23_YCNT ((volatile uint32_t *)REG_DMA23_YCNT) /* DMA23 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA23_YMOD ((volatile int32_t *)REG_DMA23_YMOD) /* DMA23 Outer Loop Address Increment (2D only) */
-#define pREG_DMA23_DSCPTR_CUR ((void * volatile *)REG_DMA23_DSCPTR_CUR) /* DMA23 Current Descriptor Pointer */
-#define pREG_DMA23_DSCPTR_PRV ((void * volatile *)REG_DMA23_DSCPTR_PRV) /* DMA23 Previous Initial Descriptor Pointer */
-#define pREG_DMA23_ADDR_CUR ((void * volatile *)REG_DMA23_ADDR_CUR) /* DMA23 Current Address */
-#define pREG_DMA23_STAT ((volatile uint32_t *)REG_DMA23_STAT) /* DMA23 Status Register */
-#define pREG_DMA23_XCNT_CUR ((volatile uint32_t *)REG_DMA23_XCNT_CUR) /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA23_YCNT_CUR ((volatile uint32_t *)REG_DMA23_YCNT_CUR) /* DMA23 Current Row Count (2D only) */
-#define pREG_DMA23_BWLCNT ((volatile uint32_t *)REG_DMA23_BWLCNT) /* DMA23 Bandwidth Limit Count */
-#define pREG_DMA23_BWLCNT_CUR ((volatile uint32_t *)REG_DMA23_BWLCNT_CUR) /* DMA23 Bandwidth Limit Count Current */
-#define pREG_DMA23_BWMCNT ((volatile uint32_t *)REG_DMA23_BWMCNT) /* DMA23 Bandwidth Monitor Count */
-#define pREG_DMA23_BWMCNT_CUR ((volatile uint32_t *)REG_DMA23_BWMCNT_CUR) /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA24
- ========================================================================= */
-#define pREG_DMA24_DSCPTR_NXT ((void * volatile *)REG_DMA24_DSCPTR_NXT) /* DMA24 Pointer to Next Initial Descriptor */
-#define pREG_DMA24_ADDRSTART ((void * volatile *)REG_DMA24_ADDRSTART) /* DMA24 Start Address of Current Buffer */
-#define pREG_DMA24_CFG ((volatile uint32_t *)REG_DMA24_CFG) /* DMA24 Configuration Register */
-#define pREG_DMA24_XCNT ((volatile uint32_t *)REG_DMA24_XCNT) /* DMA24 Inner Loop Count Start Value */
-#define pREG_DMA24_XMOD ((volatile int32_t *)REG_DMA24_XMOD) /* DMA24 Inner Loop Address Increment */
-#define pREG_DMA24_YCNT ((volatile uint32_t *)REG_DMA24_YCNT) /* DMA24 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA24_YMOD ((volatile int32_t *)REG_DMA24_YMOD) /* DMA24 Outer Loop Address Increment (2D only) */
-#define pREG_DMA24_DSCPTR_CUR ((void * volatile *)REG_DMA24_DSCPTR_CUR) /* DMA24 Current Descriptor Pointer */
-#define pREG_DMA24_DSCPTR_PRV ((void * volatile *)REG_DMA24_DSCPTR_PRV) /* DMA24 Previous Initial Descriptor Pointer */
-#define pREG_DMA24_ADDR_CUR ((void * volatile *)REG_DMA24_ADDR_CUR) /* DMA24 Current Address */
-#define pREG_DMA24_STAT ((volatile uint32_t *)REG_DMA24_STAT) /* DMA24 Status Register */
-#define pREG_DMA24_XCNT_CUR ((volatile uint32_t *)REG_DMA24_XCNT_CUR) /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA24_YCNT_CUR ((volatile uint32_t *)REG_DMA24_YCNT_CUR) /* DMA24 Current Row Count (2D only) */
-#define pREG_DMA24_BWLCNT ((volatile uint32_t *)REG_DMA24_BWLCNT) /* DMA24 Bandwidth Limit Count */
-#define pREG_DMA24_BWLCNT_CUR ((volatile uint32_t *)REG_DMA24_BWLCNT_CUR) /* DMA24 Bandwidth Limit Count Current */
-#define pREG_DMA24_BWMCNT ((volatile uint32_t *)REG_DMA24_BWMCNT) /* DMA24 Bandwidth Monitor Count */
-#define pREG_DMA24_BWMCNT_CUR ((volatile uint32_t *)REG_DMA24_BWMCNT_CUR) /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA25
- ========================================================================= */
-#define pREG_DMA25_DSCPTR_NXT ((void * volatile *)REG_DMA25_DSCPTR_NXT) /* DMA25 Pointer to Next Initial Descriptor */
-#define pREG_DMA25_ADDRSTART ((void * volatile *)REG_DMA25_ADDRSTART) /* DMA25 Start Address of Current Buffer */
-#define pREG_DMA25_CFG ((volatile uint32_t *)REG_DMA25_CFG) /* DMA25 Configuration Register */
-#define pREG_DMA25_XCNT ((volatile uint32_t *)REG_DMA25_XCNT) /* DMA25 Inner Loop Count Start Value */
-#define pREG_DMA25_XMOD ((volatile int32_t *)REG_DMA25_XMOD) /* DMA25 Inner Loop Address Increment */
-#define pREG_DMA25_YCNT ((volatile uint32_t *)REG_DMA25_YCNT) /* DMA25 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA25_YMOD ((volatile int32_t *)REG_DMA25_YMOD) /* DMA25 Outer Loop Address Increment (2D only) */
-#define pREG_DMA25_DSCPTR_CUR ((void * volatile *)REG_DMA25_DSCPTR_CUR) /* DMA25 Current Descriptor Pointer */
-#define pREG_DMA25_DSCPTR_PRV ((void * volatile *)REG_DMA25_DSCPTR_PRV) /* DMA25 Previous Initial Descriptor Pointer */
-#define pREG_DMA25_ADDR_CUR ((void * volatile *)REG_DMA25_ADDR_CUR) /* DMA25 Current Address */
-#define pREG_DMA25_STAT ((volatile uint32_t *)REG_DMA25_STAT) /* DMA25 Status Register */
-#define pREG_DMA25_XCNT_CUR ((volatile uint32_t *)REG_DMA25_XCNT_CUR) /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA25_YCNT_CUR ((volatile uint32_t *)REG_DMA25_YCNT_CUR) /* DMA25 Current Row Count (2D only) */
-#define pREG_DMA25_BWLCNT ((volatile uint32_t *)REG_DMA25_BWLCNT) /* DMA25 Bandwidth Limit Count */
-#define pREG_DMA25_BWLCNT_CUR ((volatile uint32_t *)REG_DMA25_BWLCNT_CUR) /* DMA25 Bandwidth Limit Count Current */
-#define pREG_DMA25_BWMCNT ((volatile uint32_t *)REG_DMA25_BWMCNT) /* DMA25 Bandwidth Monitor Count */
-#define pREG_DMA25_BWMCNT_CUR ((volatile uint32_t *)REG_DMA25_BWMCNT_CUR) /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA26
- ========================================================================= */
-#define pREG_DMA26_DSCPTR_NXT ((void * volatile *)REG_DMA26_DSCPTR_NXT) /* DMA26 Pointer to Next Initial Descriptor */
-#define pREG_DMA26_ADDRSTART ((void * volatile *)REG_DMA26_ADDRSTART) /* DMA26 Start Address of Current Buffer */
-#define pREG_DMA26_CFG ((volatile uint32_t *)REG_DMA26_CFG) /* DMA26 Configuration Register */
-#define pREG_DMA26_XCNT ((volatile uint32_t *)REG_DMA26_XCNT) /* DMA26 Inner Loop Count Start Value */
-#define pREG_DMA26_XMOD ((volatile int32_t *)REG_DMA26_XMOD) /* DMA26 Inner Loop Address Increment */
-#define pREG_DMA26_YCNT ((volatile uint32_t *)REG_DMA26_YCNT) /* DMA26 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA26_YMOD ((volatile int32_t *)REG_DMA26_YMOD) /* DMA26 Outer Loop Address Increment (2D only) */
-#define pREG_DMA26_DSCPTR_CUR ((void * volatile *)REG_DMA26_DSCPTR_CUR) /* DMA26 Current Descriptor Pointer */
-#define pREG_DMA26_DSCPTR_PRV ((void * volatile *)REG_DMA26_DSCPTR_PRV) /* DMA26 Previous Initial Descriptor Pointer */
-#define pREG_DMA26_ADDR_CUR ((void * volatile *)REG_DMA26_ADDR_CUR) /* DMA26 Current Address */
-#define pREG_DMA26_STAT ((volatile uint32_t *)REG_DMA26_STAT) /* DMA26 Status Register */
-#define pREG_DMA26_XCNT_CUR ((volatile uint32_t *)REG_DMA26_XCNT_CUR) /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA26_YCNT_CUR ((volatile uint32_t *)REG_DMA26_YCNT_CUR) /* DMA26 Current Row Count (2D only) */
-#define pREG_DMA26_BWLCNT ((volatile uint32_t *)REG_DMA26_BWLCNT) /* DMA26 Bandwidth Limit Count */
-#define pREG_DMA26_BWLCNT_CUR ((volatile uint32_t *)REG_DMA26_BWLCNT_CUR) /* DMA26 Bandwidth Limit Count Current */
-#define pREG_DMA26_BWMCNT ((volatile uint32_t *)REG_DMA26_BWMCNT) /* DMA26 Bandwidth Monitor Count */
-#define pREG_DMA26_BWMCNT_CUR ((volatile uint32_t *)REG_DMA26_BWMCNT_CUR) /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA27
- ========================================================================= */
-#define pREG_DMA27_DSCPTR_NXT ((void * volatile *)REG_DMA27_DSCPTR_NXT) /* DMA27 Pointer to Next Initial Descriptor */
-#define pREG_DMA27_ADDRSTART ((void * volatile *)REG_DMA27_ADDRSTART) /* DMA27 Start Address of Current Buffer */
-#define pREG_DMA27_CFG ((volatile uint32_t *)REG_DMA27_CFG) /* DMA27 Configuration Register */
-#define pREG_DMA27_XCNT ((volatile uint32_t *)REG_DMA27_XCNT) /* DMA27 Inner Loop Count Start Value */
-#define pREG_DMA27_XMOD ((volatile int32_t *)REG_DMA27_XMOD) /* DMA27 Inner Loop Address Increment */
-#define pREG_DMA27_YCNT ((volatile uint32_t *)REG_DMA27_YCNT) /* DMA27 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA27_YMOD ((volatile int32_t *)REG_DMA27_YMOD) /* DMA27 Outer Loop Address Increment (2D only) */
-#define pREG_DMA27_DSCPTR_CUR ((void * volatile *)REG_DMA27_DSCPTR_CUR) /* DMA27 Current Descriptor Pointer */
-#define pREG_DMA27_DSCPTR_PRV ((void * volatile *)REG_DMA27_DSCPTR_PRV) /* DMA27 Previous Initial Descriptor Pointer */
-#define pREG_DMA27_ADDR_CUR ((void * volatile *)REG_DMA27_ADDR_CUR) /* DMA27 Current Address */
-#define pREG_DMA27_STAT ((volatile uint32_t *)REG_DMA27_STAT) /* DMA27 Status Register */
-#define pREG_DMA27_XCNT_CUR ((volatile uint32_t *)REG_DMA27_XCNT_CUR) /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA27_YCNT_CUR ((volatile uint32_t *)REG_DMA27_YCNT_CUR) /* DMA27 Current Row Count (2D only) */
-#define pREG_DMA27_BWLCNT ((volatile uint32_t *)REG_DMA27_BWLCNT) /* DMA27 Bandwidth Limit Count */
-#define pREG_DMA27_BWLCNT_CUR ((volatile uint32_t *)REG_DMA27_BWLCNT_CUR) /* DMA27 Bandwidth Limit Count Current */
-#define pREG_DMA27_BWMCNT ((volatile uint32_t *)REG_DMA27_BWMCNT) /* DMA27 Bandwidth Monitor Count */
-#define pREG_DMA27_BWMCNT_CUR ((volatile uint32_t *)REG_DMA27_BWMCNT_CUR) /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA28
- ========================================================================= */
-#define pREG_DMA28_DSCPTR_NXT ((void * volatile *)REG_DMA28_DSCPTR_NXT) /* DMA28 Pointer to Next Initial Descriptor */
-#define pREG_DMA28_ADDRSTART ((void * volatile *)REG_DMA28_ADDRSTART) /* DMA28 Start Address of Current Buffer */
-#define pREG_DMA28_CFG ((volatile uint32_t *)REG_DMA28_CFG) /* DMA28 Configuration Register */
-#define pREG_DMA28_XCNT ((volatile uint32_t *)REG_DMA28_XCNT) /* DMA28 Inner Loop Count Start Value */
-#define pREG_DMA28_XMOD ((volatile int32_t *)REG_DMA28_XMOD) /* DMA28 Inner Loop Address Increment */
-#define pREG_DMA28_YCNT ((volatile uint32_t *)REG_DMA28_YCNT) /* DMA28 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA28_YMOD ((volatile int32_t *)REG_DMA28_YMOD) /* DMA28 Outer Loop Address Increment (2D only) */
-#define pREG_DMA28_DSCPTR_CUR ((void * volatile *)REG_DMA28_DSCPTR_CUR) /* DMA28 Current Descriptor Pointer */
-#define pREG_DMA28_DSCPTR_PRV ((void * volatile *)REG_DMA28_DSCPTR_PRV) /* DMA28 Previous Initial Descriptor Pointer */
-#define pREG_DMA28_ADDR_CUR ((void * volatile *)REG_DMA28_ADDR_CUR) /* DMA28 Current Address */
-#define pREG_DMA28_STAT ((volatile uint32_t *)REG_DMA28_STAT) /* DMA28 Status Register */
-#define pREG_DMA28_XCNT_CUR ((volatile uint32_t *)REG_DMA28_XCNT_CUR) /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA28_YCNT_CUR ((volatile uint32_t *)REG_DMA28_YCNT_CUR) /* DMA28 Current Row Count (2D only) */
-#define pREG_DMA28_BWLCNT ((volatile uint32_t *)REG_DMA28_BWLCNT) /* DMA28 Bandwidth Limit Count */
-#define pREG_DMA28_BWLCNT_CUR ((volatile uint32_t *)REG_DMA28_BWLCNT_CUR) /* DMA28 Bandwidth Limit Count Current */
-#define pREG_DMA28_BWMCNT ((volatile uint32_t *)REG_DMA28_BWMCNT) /* DMA28 Bandwidth Monitor Count */
-#define pREG_DMA28_BWMCNT_CUR ((volatile uint32_t *)REG_DMA28_BWMCNT_CUR) /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA29
- ========================================================================= */
-#define pREG_DMA29_DSCPTR_NXT ((void * volatile *)REG_DMA29_DSCPTR_NXT) /* DMA29 Pointer to Next Initial Descriptor */
-#define pREG_DMA29_ADDRSTART ((void * volatile *)REG_DMA29_ADDRSTART) /* DMA29 Start Address of Current Buffer */
-#define pREG_DMA29_CFG ((volatile uint32_t *)REG_DMA29_CFG) /* DMA29 Configuration Register */
-#define pREG_DMA29_XCNT ((volatile uint32_t *)REG_DMA29_XCNT) /* DMA29 Inner Loop Count Start Value */
-#define pREG_DMA29_XMOD ((volatile int32_t *)REG_DMA29_XMOD) /* DMA29 Inner Loop Address Increment */
-#define pREG_DMA29_YCNT ((volatile uint32_t *)REG_DMA29_YCNT) /* DMA29 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA29_YMOD ((volatile int32_t *)REG_DMA29_YMOD) /* DMA29 Outer Loop Address Increment (2D only) */
-#define pREG_DMA29_DSCPTR_CUR ((void * volatile *)REG_DMA29_DSCPTR_CUR) /* DMA29 Current Descriptor Pointer */
-#define pREG_DMA29_DSCPTR_PRV ((void * volatile *)REG_DMA29_DSCPTR_PRV) /* DMA29 Previous Initial Descriptor Pointer */
-#define pREG_DMA29_ADDR_CUR ((void * volatile *)REG_DMA29_ADDR_CUR) /* DMA29 Current Address */
-#define pREG_DMA29_STAT ((volatile uint32_t *)REG_DMA29_STAT) /* DMA29 Status Register */
-#define pREG_DMA29_XCNT_CUR ((volatile uint32_t *)REG_DMA29_XCNT_CUR) /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA29_YCNT_CUR ((volatile uint32_t *)REG_DMA29_YCNT_CUR) /* DMA29 Current Row Count (2D only) */
-#define pREG_DMA29_BWLCNT ((volatile uint32_t *)REG_DMA29_BWLCNT) /* DMA29 Bandwidth Limit Count */
-#define pREG_DMA29_BWLCNT_CUR ((volatile uint32_t *)REG_DMA29_BWLCNT_CUR) /* DMA29 Bandwidth Limit Count Current */
-#define pREG_DMA29_BWMCNT ((volatile uint32_t *)REG_DMA29_BWMCNT) /* DMA29 Bandwidth Monitor Count */
-#define pREG_DMA29_BWMCNT_CUR ((volatile uint32_t *)REG_DMA29_BWMCNT_CUR) /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA30
- ========================================================================= */
-#define pREG_DMA30_DSCPTR_NXT ((void * volatile *)REG_DMA30_DSCPTR_NXT) /* DMA30 Pointer to Next Initial Descriptor */
-#define pREG_DMA30_ADDRSTART ((void * volatile *)REG_DMA30_ADDRSTART) /* DMA30 Start Address of Current Buffer */
-#define pREG_DMA30_CFG ((volatile uint32_t *)REG_DMA30_CFG) /* DMA30 Configuration Register */
-#define pREG_DMA30_XCNT ((volatile uint32_t *)REG_DMA30_XCNT) /* DMA30 Inner Loop Count Start Value */
-#define pREG_DMA30_XMOD ((volatile int32_t *)REG_DMA30_XMOD) /* DMA30 Inner Loop Address Increment */
-#define pREG_DMA30_YCNT ((volatile uint32_t *)REG_DMA30_YCNT) /* DMA30 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA30_YMOD ((volatile int32_t *)REG_DMA30_YMOD) /* DMA30 Outer Loop Address Increment (2D only) */
-#define pREG_DMA30_DSCPTR_CUR ((void * volatile *)REG_DMA30_DSCPTR_CUR) /* DMA30 Current Descriptor Pointer */
-#define pREG_DMA30_DSCPTR_PRV ((void * volatile *)REG_DMA30_DSCPTR_PRV) /* DMA30 Previous Initial Descriptor Pointer */
-#define pREG_DMA30_ADDR_CUR ((void * volatile *)REG_DMA30_ADDR_CUR) /* DMA30 Current Address */
-#define pREG_DMA30_STAT ((volatile uint32_t *)REG_DMA30_STAT) /* DMA30 Status Register */
-#define pREG_DMA30_XCNT_CUR ((volatile uint32_t *)REG_DMA30_XCNT_CUR) /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA30_YCNT_CUR ((volatile uint32_t *)REG_DMA30_YCNT_CUR) /* DMA30 Current Row Count (2D only) */
-#define pREG_DMA30_BWLCNT ((volatile uint32_t *)REG_DMA30_BWLCNT) /* DMA30 Bandwidth Limit Count */
-#define pREG_DMA30_BWLCNT_CUR ((volatile uint32_t *)REG_DMA30_BWLCNT_CUR) /* DMA30 Bandwidth Limit Count Current */
-#define pREG_DMA30_BWMCNT ((volatile uint32_t *)REG_DMA30_BWMCNT) /* DMA30 Bandwidth Monitor Count */
-#define pREG_DMA30_BWMCNT_CUR ((volatile uint32_t *)REG_DMA30_BWMCNT_CUR) /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA31
- ========================================================================= */
-#define pREG_DMA31_DSCPTR_NXT ((void * volatile *)REG_DMA31_DSCPTR_NXT) /* DMA31 Pointer to Next Initial Descriptor */
-#define pREG_DMA31_ADDRSTART ((void * volatile *)REG_DMA31_ADDRSTART) /* DMA31 Start Address of Current Buffer */
-#define pREG_DMA31_CFG ((volatile uint32_t *)REG_DMA31_CFG) /* DMA31 Configuration Register */
-#define pREG_DMA31_XCNT ((volatile uint32_t *)REG_DMA31_XCNT) /* DMA31 Inner Loop Count Start Value */
-#define pREG_DMA31_XMOD ((volatile int32_t *)REG_DMA31_XMOD) /* DMA31 Inner Loop Address Increment */
-#define pREG_DMA31_YCNT ((volatile uint32_t *)REG_DMA31_YCNT) /* DMA31 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA31_YMOD ((volatile int32_t *)REG_DMA31_YMOD) /* DMA31 Outer Loop Address Increment (2D only) */
-#define pREG_DMA31_DSCPTR_CUR ((void * volatile *)REG_DMA31_DSCPTR_CUR) /* DMA31 Current Descriptor Pointer */
-#define pREG_DMA31_DSCPTR_PRV ((void * volatile *)REG_DMA31_DSCPTR_PRV) /* DMA31 Previous Initial Descriptor Pointer */
-#define pREG_DMA31_ADDR_CUR ((void * volatile *)REG_DMA31_ADDR_CUR) /* DMA31 Current Address */
-#define pREG_DMA31_STAT ((volatile uint32_t *)REG_DMA31_STAT) /* DMA31 Status Register */
-#define pREG_DMA31_XCNT_CUR ((volatile uint32_t *)REG_DMA31_XCNT_CUR) /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA31_YCNT_CUR ((volatile uint32_t *)REG_DMA31_YCNT_CUR) /* DMA31 Current Row Count (2D only) */
-#define pREG_DMA31_BWLCNT ((volatile uint32_t *)REG_DMA31_BWLCNT) /* DMA31 Bandwidth Limit Count */
-#define pREG_DMA31_BWLCNT_CUR ((volatile uint32_t *)REG_DMA31_BWLCNT_CUR) /* DMA31 Bandwidth Limit Count Current */
-#define pREG_DMA31_BWMCNT ((volatile uint32_t *)REG_DMA31_BWMCNT) /* DMA31 Bandwidth Monitor Count */
-#define pREG_DMA31_BWMCNT_CUR ((volatile uint32_t *)REG_DMA31_BWMCNT_CUR) /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA32
- ========================================================================= */
-#define pREG_DMA32_DSCPTR_NXT ((void * volatile *)REG_DMA32_DSCPTR_NXT) /* DMA32 Pointer to Next Initial Descriptor */
-#define pREG_DMA32_ADDRSTART ((void * volatile *)REG_DMA32_ADDRSTART) /* DMA32 Start Address of Current Buffer */
-#define pREG_DMA32_CFG ((volatile uint32_t *)REG_DMA32_CFG) /* DMA32 Configuration Register */
-#define pREG_DMA32_XCNT ((volatile uint32_t *)REG_DMA32_XCNT) /* DMA32 Inner Loop Count Start Value */
-#define pREG_DMA32_XMOD ((volatile int32_t *)REG_DMA32_XMOD) /* DMA32 Inner Loop Address Increment */
-#define pREG_DMA32_YCNT ((volatile uint32_t *)REG_DMA32_YCNT) /* DMA32 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA32_YMOD ((volatile int32_t *)REG_DMA32_YMOD) /* DMA32 Outer Loop Address Increment (2D only) */
-#define pREG_DMA32_DSCPTR_CUR ((void * volatile *)REG_DMA32_DSCPTR_CUR) /* DMA32 Current Descriptor Pointer */
-#define pREG_DMA32_DSCPTR_PRV ((void * volatile *)REG_DMA32_DSCPTR_PRV) /* DMA32 Previous Initial Descriptor Pointer */
-#define pREG_DMA32_ADDR_CUR ((void * volatile *)REG_DMA32_ADDR_CUR) /* DMA32 Current Address */
-#define pREG_DMA32_STAT ((volatile uint32_t *)REG_DMA32_STAT) /* DMA32 Status Register */
-#define pREG_DMA32_XCNT_CUR ((volatile uint32_t *)REG_DMA32_XCNT_CUR) /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA32_YCNT_CUR ((volatile uint32_t *)REG_DMA32_YCNT_CUR) /* DMA32 Current Row Count (2D only) */
-#define pREG_DMA32_BWLCNT ((volatile uint32_t *)REG_DMA32_BWLCNT) /* DMA32 Bandwidth Limit Count */
-#define pREG_DMA32_BWLCNT_CUR ((volatile uint32_t *)REG_DMA32_BWLCNT_CUR) /* DMA32 Bandwidth Limit Count Current */
-#define pREG_DMA32_BWMCNT ((volatile uint32_t *)REG_DMA32_BWMCNT) /* DMA32 Bandwidth Monitor Count */
-#define pREG_DMA32_BWMCNT_CUR ((volatile uint32_t *)REG_DMA32_BWMCNT_CUR) /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA33
- ========================================================================= */
-#define pREG_DMA33_DSCPTR_NXT ((void * volatile *)REG_DMA33_DSCPTR_NXT) /* DMA33 Pointer to Next Initial Descriptor */
-#define pREG_DMA33_ADDRSTART ((void * volatile *)REG_DMA33_ADDRSTART) /* DMA33 Start Address of Current Buffer */
-#define pREG_DMA33_CFG ((volatile uint32_t *)REG_DMA33_CFG) /* DMA33 Configuration Register */
-#define pREG_DMA33_XCNT ((volatile uint32_t *)REG_DMA33_XCNT) /* DMA33 Inner Loop Count Start Value */
-#define pREG_DMA33_XMOD ((volatile int32_t *)REG_DMA33_XMOD) /* DMA33 Inner Loop Address Increment */
-#define pREG_DMA33_YCNT ((volatile uint32_t *)REG_DMA33_YCNT) /* DMA33 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA33_YMOD ((volatile int32_t *)REG_DMA33_YMOD) /* DMA33 Outer Loop Address Increment (2D only) */
-#define pREG_DMA33_DSCPTR_CUR ((void * volatile *)REG_DMA33_DSCPTR_CUR) /* DMA33 Current Descriptor Pointer */
-#define pREG_DMA33_DSCPTR_PRV ((void * volatile *)REG_DMA33_DSCPTR_PRV) /* DMA33 Previous Initial Descriptor Pointer */
-#define pREG_DMA33_ADDR_CUR ((void * volatile *)REG_DMA33_ADDR_CUR) /* DMA33 Current Address */
-#define pREG_DMA33_STAT ((volatile uint32_t *)REG_DMA33_STAT) /* DMA33 Status Register */
-#define pREG_DMA33_XCNT_CUR ((volatile uint32_t *)REG_DMA33_XCNT_CUR) /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA33_YCNT_CUR ((volatile uint32_t *)REG_DMA33_YCNT_CUR) /* DMA33 Current Row Count (2D only) */
-#define pREG_DMA33_BWLCNT ((volatile uint32_t *)REG_DMA33_BWLCNT) /* DMA33 Bandwidth Limit Count */
-#define pREG_DMA33_BWLCNT_CUR ((volatile uint32_t *)REG_DMA33_BWLCNT_CUR) /* DMA33 Bandwidth Limit Count Current */
-#define pREG_DMA33_BWMCNT ((volatile uint32_t *)REG_DMA33_BWMCNT) /* DMA33 Bandwidth Monitor Count */
-#define pREG_DMA33_BWMCNT_CUR ((volatile uint32_t *)REG_DMA33_BWMCNT_CUR) /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA34
- ========================================================================= */
-#define pREG_DMA34_DSCPTR_NXT ((void * volatile *)REG_DMA34_DSCPTR_NXT) /* DMA34 Pointer to Next Initial Descriptor */
-#define pREG_DMA34_ADDRSTART ((void * volatile *)REG_DMA34_ADDRSTART) /* DMA34 Start Address of Current Buffer */
-#define pREG_DMA34_CFG ((volatile uint32_t *)REG_DMA34_CFG) /* DMA34 Configuration Register */
-#define pREG_DMA34_XCNT ((volatile uint32_t *)REG_DMA34_XCNT) /* DMA34 Inner Loop Count Start Value */
-#define pREG_DMA34_XMOD ((volatile int32_t *)REG_DMA34_XMOD) /* DMA34 Inner Loop Address Increment */
-#define pREG_DMA34_YCNT ((volatile uint32_t *)REG_DMA34_YCNT) /* DMA34 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA34_YMOD ((volatile int32_t *)REG_DMA34_YMOD) /* DMA34 Outer Loop Address Increment (2D only) */
-#define pREG_DMA34_DSCPTR_CUR ((void * volatile *)REG_DMA34_DSCPTR_CUR) /* DMA34 Current Descriptor Pointer */
-#define pREG_DMA34_DSCPTR_PRV ((void * volatile *)REG_DMA34_DSCPTR_PRV) /* DMA34 Previous Initial Descriptor Pointer */
-#define pREG_DMA34_ADDR_CUR ((void * volatile *)REG_DMA34_ADDR_CUR) /* DMA34 Current Address */
-#define pREG_DMA34_STAT ((volatile uint32_t *)REG_DMA34_STAT) /* DMA34 Status Register */
-#define pREG_DMA34_XCNT_CUR ((volatile uint32_t *)REG_DMA34_XCNT_CUR) /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA34_YCNT_CUR ((volatile uint32_t *)REG_DMA34_YCNT_CUR) /* DMA34 Current Row Count (2D only) */
-#define pREG_DMA34_BWLCNT ((volatile uint32_t *)REG_DMA34_BWLCNT) /* DMA34 Bandwidth Limit Count */
-#define pREG_DMA34_BWLCNT_CUR ((volatile uint32_t *)REG_DMA34_BWLCNT_CUR) /* DMA34 Bandwidth Limit Count Current */
-#define pREG_DMA34_BWMCNT ((volatile uint32_t *)REG_DMA34_BWMCNT) /* DMA34 Bandwidth Monitor Count */
-#define pREG_DMA34_BWMCNT_CUR ((volatile uint32_t *)REG_DMA34_BWMCNT_CUR) /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA35
- ========================================================================= */
-#define pREG_DMA35_DSCPTR_NXT ((void * volatile *)REG_DMA35_DSCPTR_NXT) /* DMA35 Pointer to Next Initial Descriptor */
-#define pREG_DMA35_ADDRSTART ((void * volatile *)REG_DMA35_ADDRSTART) /* DMA35 Start Address of Current Buffer */
-#define pREG_DMA35_CFG ((volatile uint32_t *)REG_DMA35_CFG) /* DMA35 Configuration Register */
-#define pREG_DMA35_XCNT ((volatile uint32_t *)REG_DMA35_XCNT) /* DMA35 Inner Loop Count Start Value */
-#define pREG_DMA35_XMOD ((volatile int32_t *)REG_DMA35_XMOD) /* DMA35 Inner Loop Address Increment */
-#define pREG_DMA35_YCNT ((volatile uint32_t *)REG_DMA35_YCNT) /* DMA35 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA35_YMOD ((volatile int32_t *)REG_DMA35_YMOD) /* DMA35 Outer Loop Address Increment (2D only) */
-#define pREG_DMA35_DSCPTR_CUR ((void * volatile *)REG_DMA35_DSCPTR_CUR) /* DMA35 Current Descriptor Pointer */
-#define pREG_DMA35_DSCPTR_PRV ((void * volatile *)REG_DMA35_DSCPTR_PRV) /* DMA35 Previous Initial Descriptor Pointer */
-#define pREG_DMA35_ADDR_CUR ((void * volatile *)REG_DMA35_ADDR_CUR) /* DMA35 Current Address */
-#define pREG_DMA35_STAT ((volatile uint32_t *)REG_DMA35_STAT) /* DMA35 Status Register */
-#define pREG_DMA35_XCNT_CUR ((volatile uint32_t *)REG_DMA35_XCNT_CUR) /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA35_YCNT_CUR ((volatile uint32_t *)REG_DMA35_YCNT_CUR) /* DMA35 Current Row Count (2D only) */
-#define pREG_DMA35_BWLCNT ((volatile uint32_t *)REG_DMA35_BWLCNT) /* DMA35 Bandwidth Limit Count */
-#define pREG_DMA35_BWLCNT_CUR ((volatile uint32_t *)REG_DMA35_BWLCNT_CUR) /* DMA35 Bandwidth Limit Count Current */
-#define pREG_DMA35_BWMCNT ((volatile uint32_t *)REG_DMA35_BWMCNT) /* DMA35 Bandwidth Monitor Count */
-#define pREG_DMA35_BWMCNT_CUR ((volatile uint32_t *)REG_DMA35_BWMCNT_CUR) /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA36
- ========================================================================= */
-#define pREG_DMA36_DSCPTR_NXT ((void * volatile *)REG_DMA36_DSCPTR_NXT) /* DMA36 Pointer to Next Initial Descriptor */
-#define pREG_DMA36_ADDRSTART ((void * volatile *)REG_DMA36_ADDRSTART) /* DMA36 Start Address of Current Buffer */
-#define pREG_DMA36_CFG ((volatile uint32_t *)REG_DMA36_CFG) /* DMA36 Configuration Register */
-#define pREG_DMA36_XCNT ((volatile uint32_t *)REG_DMA36_XCNT) /* DMA36 Inner Loop Count Start Value */
-#define pREG_DMA36_XMOD ((volatile int32_t *)REG_DMA36_XMOD) /* DMA36 Inner Loop Address Increment */
-#define pREG_DMA36_YCNT ((volatile uint32_t *)REG_DMA36_YCNT) /* DMA36 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA36_YMOD ((volatile int32_t *)REG_DMA36_YMOD) /* DMA36 Outer Loop Address Increment (2D only) */
-#define pREG_DMA36_DSCPTR_CUR ((void * volatile *)REG_DMA36_DSCPTR_CUR) /* DMA36 Current Descriptor Pointer */
-#define pREG_DMA36_DSCPTR_PRV ((void * volatile *)REG_DMA36_DSCPTR_PRV) /* DMA36 Previous Initial Descriptor Pointer */
-#define pREG_DMA36_ADDR_CUR ((void * volatile *)REG_DMA36_ADDR_CUR) /* DMA36 Current Address */
-#define pREG_DMA36_STAT ((volatile uint32_t *)REG_DMA36_STAT) /* DMA36 Status Register */
-#define pREG_DMA36_XCNT_CUR ((volatile uint32_t *)REG_DMA36_XCNT_CUR) /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA36_YCNT_CUR ((volatile uint32_t *)REG_DMA36_YCNT_CUR) /* DMA36 Current Row Count (2D only) */
-#define pREG_DMA36_BWLCNT ((volatile uint32_t *)REG_DMA36_BWLCNT) /* DMA36 Bandwidth Limit Count */
-#define pREG_DMA36_BWLCNT_CUR ((volatile uint32_t *)REG_DMA36_BWLCNT_CUR) /* DMA36 Bandwidth Limit Count Current */
-#define pREG_DMA36_BWMCNT ((volatile uint32_t *)REG_DMA36_BWMCNT) /* DMA36 Bandwidth Monitor Count */
-#define pREG_DMA36_BWMCNT_CUR ((volatile uint32_t *)REG_DMA36_BWMCNT_CUR) /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA37
- ========================================================================= */
-#define pREG_DMA37_DSCPTR_NXT ((void * volatile *)REG_DMA37_DSCPTR_NXT) /* DMA37 Pointer to Next Initial Descriptor */
-#define pREG_DMA37_ADDRSTART ((void * volatile *)REG_DMA37_ADDRSTART) /* DMA37 Start Address of Current Buffer */
-#define pREG_DMA37_CFG ((volatile uint32_t *)REG_DMA37_CFG) /* DMA37 Configuration Register */
-#define pREG_DMA37_XCNT ((volatile uint32_t *)REG_DMA37_XCNT) /* DMA37 Inner Loop Count Start Value */
-#define pREG_DMA37_XMOD ((volatile int32_t *)REG_DMA37_XMOD) /* DMA37 Inner Loop Address Increment */
-#define pREG_DMA37_YCNT ((volatile uint32_t *)REG_DMA37_YCNT) /* DMA37 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA37_YMOD ((volatile int32_t *)REG_DMA37_YMOD) /* DMA37 Outer Loop Address Increment (2D only) */
-#define pREG_DMA37_DSCPTR_CUR ((void * volatile *)REG_DMA37_DSCPTR_CUR) /* DMA37 Current Descriptor Pointer */
-#define pREG_DMA37_DSCPTR_PRV ((void * volatile *)REG_DMA37_DSCPTR_PRV) /* DMA37 Previous Initial Descriptor Pointer */
-#define pREG_DMA37_ADDR_CUR ((void * volatile *)REG_DMA37_ADDR_CUR) /* DMA37 Current Address */
-#define pREG_DMA37_STAT ((volatile uint32_t *)REG_DMA37_STAT) /* DMA37 Status Register */
-#define pREG_DMA37_XCNT_CUR ((volatile uint32_t *)REG_DMA37_XCNT_CUR) /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA37_YCNT_CUR ((volatile uint32_t *)REG_DMA37_YCNT_CUR) /* DMA37 Current Row Count (2D only) */
-#define pREG_DMA37_BWLCNT ((volatile uint32_t *)REG_DMA37_BWLCNT) /* DMA37 Bandwidth Limit Count */
-#define pREG_DMA37_BWLCNT_CUR ((volatile uint32_t *)REG_DMA37_BWLCNT_CUR) /* DMA37 Bandwidth Limit Count Current */
-#define pREG_DMA37_BWMCNT ((volatile uint32_t *)REG_DMA37_BWMCNT) /* DMA37 Bandwidth Monitor Count */
-#define pREG_DMA37_BWMCNT_CUR ((volatile uint32_t *)REG_DMA37_BWMCNT_CUR) /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA38
- ========================================================================= */
-#define pREG_DMA38_DSCPTR_NXT ((void * volatile *)REG_DMA38_DSCPTR_NXT) /* DMA38 Pointer to Next Initial Descriptor */
-#define pREG_DMA38_ADDRSTART ((void * volatile *)REG_DMA38_ADDRSTART) /* DMA38 Start Address of Current Buffer */
-#define pREG_DMA38_CFG ((volatile uint32_t *)REG_DMA38_CFG) /* DMA38 Configuration Register */
-#define pREG_DMA38_XCNT ((volatile uint32_t *)REG_DMA38_XCNT) /* DMA38 Inner Loop Count Start Value */
-#define pREG_DMA38_XMOD ((volatile int32_t *)REG_DMA38_XMOD) /* DMA38 Inner Loop Address Increment */
-#define pREG_DMA38_YCNT ((volatile uint32_t *)REG_DMA38_YCNT) /* DMA38 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA38_YMOD ((volatile int32_t *)REG_DMA38_YMOD) /* DMA38 Outer Loop Address Increment (2D only) */
-#define pREG_DMA38_DSCPTR_CUR ((void * volatile *)REG_DMA38_DSCPTR_CUR) /* DMA38 Current Descriptor Pointer */
-#define pREG_DMA38_DSCPTR_PRV ((void * volatile *)REG_DMA38_DSCPTR_PRV) /* DMA38 Previous Initial Descriptor Pointer */
-#define pREG_DMA38_ADDR_CUR ((void * volatile *)REG_DMA38_ADDR_CUR) /* DMA38 Current Address */
-#define pREG_DMA38_STAT ((volatile uint32_t *)REG_DMA38_STAT) /* DMA38 Status Register */
-#define pREG_DMA38_XCNT_CUR ((volatile uint32_t *)REG_DMA38_XCNT_CUR) /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA38_YCNT_CUR ((volatile uint32_t *)REG_DMA38_YCNT_CUR) /* DMA38 Current Row Count (2D only) */
-#define pREG_DMA38_BWLCNT ((volatile uint32_t *)REG_DMA38_BWLCNT) /* DMA38 Bandwidth Limit Count */
-#define pREG_DMA38_BWLCNT_CUR ((volatile uint32_t *)REG_DMA38_BWLCNT_CUR) /* DMA38 Bandwidth Limit Count Current */
-#define pREG_DMA38_BWMCNT ((volatile uint32_t *)REG_DMA38_BWMCNT) /* DMA38 Bandwidth Monitor Count */
-#define pREG_DMA38_BWMCNT_CUR ((volatile uint32_t *)REG_DMA38_BWMCNT_CUR) /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA39
- ========================================================================= */
-#define pREG_DMA39_DSCPTR_NXT ((void * volatile *)REG_DMA39_DSCPTR_NXT) /* DMA39 Pointer to Next Initial Descriptor */
-#define pREG_DMA39_ADDRSTART ((void * volatile *)REG_DMA39_ADDRSTART) /* DMA39 Start Address of Current Buffer */
-#define pREG_DMA39_CFG ((volatile uint32_t *)REG_DMA39_CFG) /* DMA39 Configuration Register */
-#define pREG_DMA39_XCNT ((volatile uint32_t *)REG_DMA39_XCNT) /* DMA39 Inner Loop Count Start Value */
-#define pREG_DMA39_XMOD ((volatile int32_t *)REG_DMA39_XMOD) /* DMA39 Inner Loop Address Increment */
-#define pREG_DMA39_YCNT ((volatile uint32_t *)REG_DMA39_YCNT) /* DMA39 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA39_YMOD ((volatile int32_t *)REG_DMA39_YMOD) /* DMA39 Outer Loop Address Increment (2D only) */
-#define pREG_DMA39_DSCPTR_CUR ((void * volatile *)REG_DMA39_DSCPTR_CUR) /* DMA39 Current Descriptor Pointer */
-#define pREG_DMA39_DSCPTR_PRV ((void * volatile *)REG_DMA39_DSCPTR_PRV) /* DMA39 Previous Initial Descriptor Pointer */
-#define pREG_DMA39_ADDR_CUR ((void * volatile *)REG_DMA39_ADDR_CUR) /* DMA39 Current Address */
-#define pREG_DMA39_STAT ((volatile uint32_t *)REG_DMA39_STAT) /* DMA39 Status Register */
-#define pREG_DMA39_XCNT_CUR ((volatile uint32_t *)REG_DMA39_XCNT_CUR) /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA39_YCNT_CUR ((volatile uint32_t *)REG_DMA39_YCNT_CUR) /* DMA39 Current Row Count (2D only) */
-#define pREG_DMA39_BWLCNT ((volatile uint32_t *)REG_DMA39_BWLCNT) /* DMA39 Bandwidth Limit Count */
-#define pREG_DMA39_BWLCNT_CUR ((volatile uint32_t *)REG_DMA39_BWLCNT_CUR) /* DMA39 Bandwidth Limit Count Current */
-#define pREG_DMA39_BWMCNT ((volatile uint32_t *)REG_DMA39_BWMCNT) /* DMA39 Bandwidth Monitor Count */
-#define pREG_DMA39_BWMCNT_CUR ((volatile uint32_t *)REG_DMA39_BWMCNT_CUR) /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA40
- ========================================================================= */
-#define pREG_DMA40_DSCPTR_NXT ((void * volatile *)REG_DMA40_DSCPTR_NXT) /* DMA40 Pointer to Next Initial Descriptor */
-#define pREG_DMA40_ADDRSTART ((void * volatile *)REG_DMA40_ADDRSTART) /* DMA40 Start Address of Current Buffer */
-#define pREG_DMA40_CFG ((volatile uint32_t *)REG_DMA40_CFG) /* DMA40 Configuration Register */
-#define pREG_DMA40_XCNT ((volatile uint32_t *)REG_DMA40_XCNT) /* DMA40 Inner Loop Count Start Value */
-#define pREG_DMA40_XMOD ((volatile int32_t *)REG_DMA40_XMOD) /* DMA40 Inner Loop Address Increment */
-#define pREG_DMA40_YCNT ((volatile uint32_t *)REG_DMA40_YCNT) /* DMA40 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA40_YMOD ((volatile int32_t *)REG_DMA40_YMOD) /* DMA40 Outer Loop Address Increment (2D only) */
-#define pREG_DMA40_DSCPTR_CUR ((void * volatile *)REG_DMA40_DSCPTR_CUR) /* DMA40 Current Descriptor Pointer */
-#define pREG_DMA40_DSCPTR_PRV ((void * volatile *)REG_DMA40_DSCPTR_PRV) /* DMA40 Previous Initial Descriptor Pointer */
-#define pREG_DMA40_ADDR_CUR ((void * volatile *)REG_DMA40_ADDR_CUR) /* DMA40 Current Address */
-#define pREG_DMA40_STAT ((volatile uint32_t *)REG_DMA40_STAT) /* DMA40 Status Register */
-#define pREG_DMA40_XCNT_CUR ((volatile uint32_t *)REG_DMA40_XCNT_CUR) /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA40_YCNT_CUR ((volatile uint32_t *)REG_DMA40_YCNT_CUR) /* DMA40 Current Row Count (2D only) */
-#define pREG_DMA40_BWLCNT ((volatile uint32_t *)REG_DMA40_BWLCNT) /* DMA40 Bandwidth Limit Count */
-#define pREG_DMA40_BWLCNT_CUR ((volatile uint32_t *)REG_DMA40_BWLCNT_CUR) /* DMA40 Bandwidth Limit Count Current */
-#define pREG_DMA40_BWMCNT ((volatile uint32_t *)REG_DMA40_BWMCNT) /* DMA40 Bandwidth Monitor Count */
-#define pREG_DMA40_BWMCNT_CUR ((volatile uint32_t *)REG_DMA40_BWMCNT_CUR) /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA41
- ========================================================================= */
-#define pREG_DMA41_DSCPTR_NXT ((void * volatile *)REG_DMA41_DSCPTR_NXT) /* DMA41 Pointer to Next Initial Descriptor */
-#define pREG_DMA41_ADDRSTART ((void * volatile *)REG_DMA41_ADDRSTART) /* DMA41 Start Address of Current Buffer */
-#define pREG_DMA41_CFG ((volatile uint32_t *)REG_DMA41_CFG) /* DMA41 Configuration Register */
-#define pREG_DMA41_XCNT ((volatile uint32_t *)REG_DMA41_XCNT) /* DMA41 Inner Loop Count Start Value */
-#define pREG_DMA41_XMOD ((volatile int32_t *)REG_DMA41_XMOD) /* DMA41 Inner Loop Address Increment */
-#define pREG_DMA41_YCNT ((volatile uint32_t *)REG_DMA41_YCNT) /* DMA41 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA41_YMOD ((volatile int32_t *)REG_DMA41_YMOD) /* DMA41 Outer Loop Address Increment (2D only) */
-#define pREG_DMA41_DSCPTR_CUR ((void * volatile *)REG_DMA41_DSCPTR_CUR) /* DMA41 Current Descriptor Pointer */
-#define pREG_DMA41_DSCPTR_PRV ((void * volatile *)REG_DMA41_DSCPTR_PRV) /* DMA41 Previous Initial Descriptor Pointer */
-#define pREG_DMA41_ADDR_CUR ((void * volatile *)REG_DMA41_ADDR_CUR) /* DMA41 Current Address */
-#define pREG_DMA41_STAT ((volatile uint32_t *)REG_DMA41_STAT) /* DMA41 Status Register */
-#define pREG_DMA41_XCNT_CUR ((volatile uint32_t *)REG_DMA41_XCNT_CUR) /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA41_YCNT_CUR ((volatile uint32_t *)REG_DMA41_YCNT_CUR) /* DMA41 Current Row Count (2D only) */
-#define pREG_DMA41_BWLCNT ((volatile uint32_t *)REG_DMA41_BWLCNT) /* DMA41 Bandwidth Limit Count */
-#define pREG_DMA41_BWLCNT_CUR ((volatile uint32_t *)REG_DMA41_BWLCNT_CUR) /* DMA41 Bandwidth Limit Count Current */
-#define pREG_DMA41_BWMCNT ((volatile uint32_t *)REG_DMA41_BWMCNT) /* DMA41 Bandwidth Monitor Count */
-#define pREG_DMA41_BWMCNT_CUR ((volatile uint32_t *)REG_DMA41_BWMCNT_CUR) /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA42
- ========================================================================= */
-#define pREG_DMA42_DSCPTR_NXT ((void * volatile *)REG_DMA42_DSCPTR_NXT) /* DMA42 Pointer to Next Initial Descriptor */
-#define pREG_DMA42_ADDRSTART ((void * volatile *)REG_DMA42_ADDRSTART) /* DMA42 Start Address of Current Buffer */
-#define pREG_DMA42_CFG ((volatile uint32_t *)REG_DMA42_CFG) /* DMA42 Configuration Register */
-#define pREG_DMA42_XCNT ((volatile uint32_t *)REG_DMA42_XCNT) /* DMA42 Inner Loop Count Start Value */
-#define pREG_DMA42_XMOD ((volatile int32_t *)REG_DMA42_XMOD) /* DMA42 Inner Loop Address Increment */
-#define pREG_DMA42_YCNT ((volatile uint32_t *)REG_DMA42_YCNT) /* DMA42 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA42_YMOD ((volatile int32_t *)REG_DMA42_YMOD) /* DMA42 Outer Loop Address Increment (2D only) */
-#define pREG_DMA42_DSCPTR_CUR ((void * volatile *)REG_DMA42_DSCPTR_CUR) /* DMA42 Current Descriptor Pointer */
-#define pREG_DMA42_DSCPTR_PRV ((void * volatile *)REG_DMA42_DSCPTR_PRV) /* DMA42 Previous Initial Descriptor Pointer */
-#define pREG_DMA42_ADDR_CUR ((void * volatile *)REG_DMA42_ADDR_CUR) /* DMA42 Current Address */
-#define pREG_DMA42_STAT ((volatile uint32_t *)REG_DMA42_STAT) /* DMA42 Status Register */
-#define pREG_DMA42_XCNT_CUR ((volatile uint32_t *)REG_DMA42_XCNT_CUR) /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA42_YCNT_CUR ((volatile uint32_t *)REG_DMA42_YCNT_CUR) /* DMA42 Current Row Count (2D only) */
-#define pREG_DMA42_BWLCNT ((volatile uint32_t *)REG_DMA42_BWLCNT) /* DMA42 Bandwidth Limit Count */
-#define pREG_DMA42_BWLCNT_CUR ((volatile uint32_t *)REG_DMA42_BWLCNT_CUR) /* DMA42 Bandwidth Limit Count Current */
-#define pREG_DMA42_BWMCNT ((volatile uint32_t *)REG_DMA42_BWMCNT) /* DMA42 Bandwidth Monitor Count */
-#define pREG_DMA42_BWMCNT_CUR ((volatile uint32_t *)REG_DMA42_BWMCNT_CUR) /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA43
- ========================================================================= */
-#define pREG_DMA43_DSCPTR_NXT ((void * volatile *)REG_DMA43_DSCPTR_NXT) /* DMA43 Pointer to Next Initial Descriptor */
-#define pREG_DMA43_ADDRSTART ((void * volatile *)REG_DMA43_ADDRSTART) /* DMA43 Start Address of Current Buffer */
-#define pREG_DMA43_CFG ((volatile uint32_t *)REG_DMA43_CFG) /* DMA43 Configuration Register */
-#define pREG_DMA43_XCNT ((volatile uint32_t *)REG_DMA43_XCNT) /* DMA43 Inner Loop Count Start Value */
-#define pREG_DMA43_XMOD ((volatile int32_t *)REG_DMA43_XMOD) /* DMA43 Inner Loop Address Increment */
-#define pREG_DMA43_YCNT ((volatile uint32_t *)REG_DMA43_YCNT) /* DMA43 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA43_YMOD ((volatile int32_t *)REG_DMA43_YMOD) /* DMA43 Outer Loop Address Increment (2D only) */
-#define pREG_DMA43_DSCPTR_CUR ((void * volatile *)REG_DMA43_DSCPTR_CUR) /* DMA43 Current Descriptor Pointer */
-#define pREG_DMA43_DSCPTR_PRV ((void * volatile *)REG_DMA43_DSCPTR_PRV) /* DMA43 Previous Initial Descriptor Pointer */
-#define pREG_DMA43_ADDR_CUR ((void * volatile *)REG_DMA43_ADDR_CUR) /* DMA43 Current Address */
-#define pREG_DMA43_STAT ((volatile uint32_t *)REG_DMA43_STAT) /* DMA43 Status Register */
-#define pREG_DMA43_XCNT_CUR ((volatile uint32_t *)REG_DMA43_XCNT_CUR) /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA43_YCNT_CUR ((volatile uint32_t *)REG_DMA43_YCNT_CUR) /* DMA43 Current Row Count (2D only) */
-#define pREG_DMA43_BWLCNT ((volatile uint32_t *)REG_DMA43_BWLCNT) /* DMA43 Bandwidth Limit Count */
-#define pREG_DMA43_BWLCNT_CUR ((volatile uint32_t *)REG_DMA43_BWLCNT_CUR) /* DMA43 Bandwidth Limit Count Current */
-#define pREG_DMA43_BWMCNT ((volatile uint32_t *)REG_DMA43_BWMCNT) /* DMA43 Bandwidth Monitor Count */
-#define pREG_DMA43_BWMCNT_CUR ((volatile uint32_t *)REG_DMA43_BWMCNT_CUR) /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA44
- ========================================================================= */
-#define pREG_DMA44_DSCPTR_NXT ((void * volatile *)REG_DMA44_DSCPTR_NXT) /* DMA44 Pointer to Next Initial Descriptor */
-#define pREG_DMA44_ADDRSTART ((void * volatile *)REG_DMA44_ADDRSTART) /* DMA44 Start Address of Current Buffer */
-#define pREG_DMA44_CFG ((volatile uint32_t *)REG_DMA44_CFG) /* DMA44 Configuration Register */
-#define pREG_DMA44_XCNT ((volatile uint32_t *)REG_DMA44_XCNT) /* DMA44 Inner Loop Count Start Value */
-#define pREG_DMA44_XMOD ((volatile int32_t *)REG_DMA44_XMOD) /* DMA44 Inner Loop Address Increment */
-#define pREG_DMA44_YCNT ((volatile uint32_t *)REG_DMA44_YCNT) /* DMA44 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA44_YMOD ((volatile int32_t *)REG_DMA44_YMOD) /* DMA44 Outer Loop Address Increment (2D only) */
-#define pREG_DMA44_DSCPTR_CUR ((void * volatile *)REG_DMA44_DSCPTR_CUR) /* DMA44 Current Descriptor Pointer */
-#define pREG_DMA44_DSCPTR_PRV ((void * volatile *)REG_DMA44_DSCPTR_PRV) /* DMA44 Previous Initial Descriptor Pointer */
-#define pREG_DMA44_ADDR_CUR ((void * volatile *)REG_DMA44_ADDR_CUR) /* DMA44 Current Address */
-#define pREG_DMA44_STAT ((volatile uint32_t *)REG_DMA44_STAT) /* DMA44 Status Register */
-#define pREG_DMA44_XCNT_CUR ((volatile uint32_t *)REG_DMA44_XCNT_CUR) /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA44_YCNT_CUR ((volatile uint32_t *)REG_DMA44_YCNT_CUR) /* DMA44 Current Row Count (2D only) */
-#define pREG_DMA44_BWLCNT ((volatile uint32_t *)REG_DMA44_BWLCNT) /* DMA44 Bandwidth Limit Count */
-#define pREG_DMA44_BWLCNT_CUR ((volatile uint32_t *)REG_DMA44_BWLCNT_CUR) /* DMA44 Bandwidth Limit Count Current */
-#define pREG_DMA44_BWMCNT ((volatile uint32_t *)REG_DMA44_BWMCNT) /* DMA44 Bandwidth Monitor Count */
-#define pREG_DMA44_BWMCNT_CUR ((volatile uint32_t *)REG_DMA44_BWMCNT_CUR) /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA45
- ========================================================================= */
-#define pREG_DMA45_DSCPTR_NXT ((void * volatile *)REG_DMA45_DSCPTR_NXT) /* DMA45 Pointer to Next Initial Descriptor */
-#define pREG_DMA45_ADDRSTART ((void * volatile *)REG_DMA45_ADDRSTART) /* DMA45 Start Address of Current Buffer */
-#define pREG_DMA45_CFG ((volatile uint32_t *)REG_DMA45_CFG) /* DMA45 Configuration Register */
-#define pREG_DMA45_XCNT ((volatile uint32_t *)REG_DMA45_XCNT) /* DMA45 Inner Loop Count Start Value */
-#define pREG_DMA45_XMOD ((volatile int32_t *)REG_DMA45_XMOD) /* DMA45 Inner Loop Address Increment */
-#define pREG_DMA45_YCNT ((volatile uint32_t *)REG_DMA45_YCNT) /* DMA45 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA45_YMOD ((volatile int32_t *)REG_DMA45_YMOD) /* DMA45 Outer Loop Address Increment (2D only) */
-#define pREG_DMA45_DSCPTR_CUR ((void * volatile *)REG_DMA45_DSCPTR_CUR) /* DMA45 Current Descriptor Pointer */
-#define pREG_DMA45_DSCPTR_PRV ((void * volatile *)REG_DMA45_DSCPTR_PRV) /* DMA45 Previous Initial Descriptor Pointer */
-#define pREG_DMA45_ADDR_CUR ((void * volatile *)REG_DMA45_ADDR_CUR) /* DMA45 Current Address */
-#define pREG_DMA45_STAT ((volatile uint32_t *)REG_DMA45_STAT) /* DMA45 Status Register */
-#define pREG_DMA45_XCNT_CUR ((volatile uint32_t *)REG_DMA45_XCNT_CUR) /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA45_YCNT_CUR ((volatile uint32_t *)REG_DMA45_YCNT_CUR) /* DMA45 Current Row Count (2D only) */
-#define pREG_DMA45_BWLCNT ((volatile uint32_t *)REG_DMA45_BWLCNT) /* DMA45 Bandwidth Limit Count */
-#define pREG_DMA45_BWLCNT_CUR ((volatile uint32_t *)REG_DMA45_BWLCNT_CUR) /* DMA45 Bandwidth Limit Count Current */
-#define pREG_DMA45_BWMCNT ((volatile uint32_t *)REG_DMA45_BWMCNT) /* DMA45 Bandwidth Monitor Count */
-#define pREG_DMA45_BWMCNT_CUR ((volatile uint32_t *)REG_DMA45_BWMCNT_CUR) /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA46
- ========================================================================= */
-#define pREG_DMA46_DSCPTR_NXT ((void * volatile *)REG_DMA46_DSCPTR_NXT) /* DMA46 Pointer to Next Initial Descriptor */
-#define pREG_DMA46_ADDRSTART ((void * volatile *)REG_DMA46_ADDRSTART) /* DMA46 Start Address of Current Buffer */
-#define pREG_DMA46_CFG ((volatile uint32_t *)REG_DMA46_CFG) /* DMA46 Configuration Register */
-#define pREG_DMA46_XCNT ((volatile uint32_t *)REG_DMA46_XCNT) /* DMA46 Inner Loop Count Start Value */
-#define pREG_DMA46_XMOD ((volatile int32_t *)REG_DMA46_XMOD) /* DMA46 Inner Loop Address Increment */
-#define pREG_DMA46_YCNT ((volatile uint32_t *)REG_DMA46_YCNT) /* DMA46 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA46_YMOD ((volatile int32_t *)REG_DMA46_YMOD) /* DMA46 Outer Loop Address Increment (2D only) */
-#define pREG_DMA46_DSCPTR_CUR ((void * volatile *)REG_DMA46_DSCPTR_CUR) /* DMA46 Current Descriptor Pointer */
-#define pREG_DMA46_DSCPTR_PRV ((void * volatile *)REG_DMA46_DSCPTR_PRV) /* DMA46 Previous Initial Descriptor Pointer */
-#define pREG_DMA46_ADDR_CUR ((void * volatile *)REG_DMA46_ADDR_CUR) /* DMA46 Current Address */
-#define pREG_DMA46_STAT ((volatile uint32_t *)REG_DMA46_STAT) /* DMA46 Status Register */
-#define pREG_DMA46_XCNT_CUR ((volatile uint32_t *)REG_DMA46_XCNT_CUR) /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA46_YCNT_CUR ((volatile uint32_t *)REG_DMA46_YCNT_CUR) /* DMA46 Current Row Count (2D only) */
-#define pREG_DMA46_BWLCNT ((volatile uint32_t *)REG_DMA46_BWLCNT) /* DMA46 Bandwidth Limit Count */
-#define pREG_DMA46_BWLCNT_CUR ((volatile uint32_t *)REG_DMA46_BWLCNT_CUR) /* DMA46 Bandwidth Limit Count Current */
-#define pREG_DMA46_BWMCNT ((volatile uint32_t *)REG_DMA46_BWMCNT) /* DMA46 Bandwidth Monitor Count */
-#define pREG_DMA46_BWMCNT_CUR ((volatile uint32_t *)REG_DMA46_BWMCNT_CUR) /* DMA46 Bandwidth Monitor Count Current */
-
-
-/* =========================================================================
- ACM0
- ========================================================================= */
-#define pREG_ACM0_CTL ((volatile uint32_t *)REG_ACM0_CTL) /* ACM0 ACM Control Register */
-#define pREG_ACM0_TC0 ((volatile uint32_t *)REG_ACM0_TC0) /* ACM0 ACM Timing Configuration 0 Register */
-#define pREG_ACM0_TC1 ((volatile uint32_t *)REG_ACM0_TC1) /* ACM0 ACM Timing Configuration 1 Register */
-#define pREG_ACM0_STAT ((volatile uint32_t *)REG_ACM0_STAT) /* ACM0 ACM Status Register */
-#define pREG_ACM0_EVSTAT ((volatile uint32_t *)REG_ACM0_EVSTAT) /* ACM0 ACM Event Status Register */
-#define pREG_ACM0_EVMSK ((volatile uint32_t *)REG_ACM0_EVMSK) /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define pREG_ACM0_MEVSTAT ((volatile uint32_t *)REG_ACM0_MEVSTAT) /* ACM0 ACM Missed Event Status Register */
-#define pREG_ACM0_MEVMSK ((volatile uint32_t *)REG_ACM0_MEVMSK) /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define pREG_ACM0_EVCTL0 ((volatile uint32_t *)REG_ACM0_EVCTL0) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL1 ((volatile uint32_t *)REG_ACM0_EVCTL1) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL2 ((volatile uint32_t *)REG_ACM0_EVCTL2) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL3 ((volatile uint32_t *)REG_ACM0_EVCTL3) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL4 ((volatile uint32_t *)REG_ACM0_EVCTL4) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL5 ((volatile uint32_t *)REG_ACM0_EVCTL5) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL6 ((volatile uint32_t *)REG_ACM0_EVCTL6) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL7 ((volatile uint32_t *)REG_ACM0_EVCTL7) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL8 ((volatile uint32_t *)REG_ACM0_EVCTL8) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL9 ((volatile uint32_t *)REG_ACM0_EVCTL9) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL10 ((volatile uint32_t *)REG_ACM0_EVCTL10) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL11 ((volatile uint32_t *)REG_ACM0_EVCTL11) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL12 ((volatile uint32_t *)REG_ACM0_EVCTL12) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL13 ((volatile uint32_t *)REG_ACM0_EVCTL13) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL14 ((volatile uint32_t *)REG_ACM0_EVCTL14) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL15 ((volatile uint32_t *)REG_ACM0_EVCTL15) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVTIME0 ((volatile uint32_t *)REG_ACM0_EVTIME0) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME1 ((volatile uint32_t *)REG_ACM0_EVTIME1) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME2 ((volatile uint32_t *)REG_ACM0_EVTIME2) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME3 ((volatile uint32_t *)REG_ACM0_EVTIME3) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME4 ((volatile uint32_t *)REG_ACM0_EVTIME4) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME5 ((volatile uint32_t *)REG_ACM0_EVTIME5) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME6 ((volatile uint32_t *)REG_ACM0_EVTIME6) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME7 ((volatile uint32_t *)REG_ACM0_EVTIME7) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME8 ((volatile uint32_t *)REG_ACM0_EVTIME8) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME9 ((volatile uint32_t *)REG_ACM0_EVTIME9) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME10 ((volatile uint32_t *)REG_ACM0_EVTIME10) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME11 ((volatile uint32_t *)REG_ACM0_EVTIME11) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME12 ((volatile uint32_t *)REG_ACM0_EVTIME12) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME13 ((volatile uint32_t *)REG_ACM0_EVTIME13) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME14 ((volatile uint32_t *)REG_ACM0_EVTIME14) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME15 ((volatile uint32_t *)REG_ACM0_EVTIME15) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVORD0 ((volatile uint32_t *)REG_ACM0_EVORD0) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD1 ((volatile uint32_t *)REG_ACM0_EVORD1) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD2 ((volatile uint32_t *)REG_ACM0_EVORD2) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD3 ((volatile uint32_t *)REG_ACM0_EVORD3) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD4 ((volatile uint32_t *)REG_ACM0_EVORD4) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD5 ((volatile uint32_t *)REG_ACM0_EVORD5) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD6 ((volatile uint32_t *)REG_ACM0_EVORD6) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD7 ((volatile uint32_t *)REG_ACM0_EVORD7) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD8 ((volatile uint32_t *)REG_ACM0_EVORD8) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD9 ((volatile uint32_t *)REG_ACM0_EVORD9) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD10 ((volatile uint32_t *)REG_ACM0_EVORD10) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD11 ((volatile uint32_t *)REG_ACM0_EVORD11) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD12 ((volatile uint32_t *)REG_ACM0_EVORD12) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD13 ((volatile uint32_t *)REG_ACM0_EVORD13) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD14 ((volatile uint32_t *)REG_ACM0_EVORD14) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD15 ((volatile uint32_t *)REG_ACM0_EVORD15) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_TMR0 ((volatile uint32_t *)REG_ACM0_TMR0) /* ACM0 ACM Timer 0 Register */
-#define pREG_ACM0_TMR1 ((volatile uint32_t *)REG_ACM0_TMR1) /* ACM0 ACM Timer 1 Register */
-
-
-/* =========================================================================
- DMC0
- ========================================================================= */
-#define pREG_DMC0_CTL ((volatile uint32_t *)REG_DMC0_CTL) /* DMC0 Control Register */
-#define pREG_DMC0_STAT ((volatile uint32_t *)REG_DMC0_STAT) /* DMC0 Status Register */
-#define pREG_DMC0_EFFCTL ((volatile uint32_t *)REG_DMC0_EFFCTL) /* DMC0 Efficiency Control Register */
-#define pREG_DMC0_PRIO ((volatile uint32_t *)REG_DMC0_PRIO) /* DMC0 Priority ID Register */
-#define pREG_DMC0_PRIOMSK ((volatile uint32_t *)REG_DMC0_PRIOMSK) /* DMC0 Priority ID Mask Register */
-#define pREG_DMC0_CFG ((volatile uint32_t *)REG_DMC0_CFG) /* DMC0 Configuration Register */
-#define pREG_DMC0_TR0 ((volatile uint32_t *)REG_DMC0_TR0) /* DMC0 Timing 0 Register */
-#define pREG_DMC0_TR1 ((volatile uint32_t *)REG_DMC0_TR1) /* DMC0 Timing 1 Register */
-#define pREG_DMC0_TR2 ((volatile uint32_t *)REG_DMC0_TR2) /* DMC0 Timing 2 Register */
-#define pREG_DMC0_MSK ((volatile uint32_t *)REG_DMC0_MSK) /* DMC0 Mask (Mode Register Shadow) Register */
-#define pREG_DMC0_MR ((volatile uint32_t *)REG_DMC0_MR) /* DMC0 Shadow MR Register */
-#define pREG_DMC0_EMR1 ((volatile uint32_t *)REG_DMC0_EMR1) /* DMC0 Shadow EMR1 Register */
-#define pREG_DMC0_EMR2 ((volatile uint32_t *)REG_DMC0_EMR2) /* DMC0 Shadow EMR2 Register */
-#define pREG_DMC0_EMR3 ((volatile uint32_t *)REG_DMC0_EMR3) /* DMC0 Shadow EMR3 Register */
-#define pREG_DMC0_DLLCTL ((volatile uint32_t *)REG_DMC0_DLLCTL) /* DMC0 DLL Control Register */
-#define pREG_DMC0_PHY_CTL0 ((volatile uint32_t *)REG_DMC0_PHY_CTL0) /* DMC0 PHY Control 0 Register */
-#define pREG_DMC0_PHY_CTL1 ((volatile uint32_t *)REG_DMC0_PHY_CTL1) /* DMC0 PHY Control 1 Register */
-#define pREG_DMC0_PHY_CTL2 ((volatile uint32_t *)REG_DMC0_PHY_CTL2) /* DMC0 PHY Control 2 Register */
-#define pREG_DMC0_PHY_CTL3 ((volatile uint32_t *)REG_DMC0_PHY_CTL3) /* DMC0 PHY Control 3 Register */
-#define pREG_DMC0_PADCTL ((volatile uint32_t *)REG_DMC0_PADCTL) /* DMC0 PAD Control Register */
-
-
-/* =========================================================================
- SCB0
- ========================================================================= */
-#define pREG_SCB0_ARBR0 ((volatile uint32_t *)REG_SCB0_ARBR0) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR1 ((volatile uint32_t *)REG_SCB0_ARBR1) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR2 ((volatile uint32_t *)REG_SCB0_ARBR2) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR3 ((volatile uint32_t *)REG_SCB0_ARBR3) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR4 ((volatile uint32_t *)REG_SCB0_ARBR4) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR5 ((volatile uint32_t *)REG_SCB0_ARBR5) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBW0 ((volatile uint32_t *)REG_SCB0_ARBW0) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW1 ((volatile uint32_t *)REG_SCB0_ARBW1) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW2 ((volatile uint32_t *)REG_SCB0_ARBW2) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW3 ((volatile uint32_t *)REG_SCB0_ARBW3) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW4 ((volatile uint32_t *)REG_SCB0_ARBW4) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW5 ((volatile uint32_t *)REG_SCB0_ARBW5) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_SLAVES ((volatile uint32_t *)REG_SCB0_SLAVES) /* SCB0 Slave Interfaces Number Register */
-#define pREG_SCB0_MASTERS ((volatile uint32_t *)REG_SCB0_MASTERS) /* SCB0 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB1
- ========================================================================= */
-#define pREG_SCB1_ARBR0 ((volatile uint32_t *)REG_SCB1_ARBR0) /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB1_ARBW0 ((volatile uint32_t *)REG_SCB1_ARBW0) /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB1_SLAVES ((volatile uint32_t *)REG_SCB1_SLAVES) /* SCB1 Slave Interfaces Number Register */
-#define pREG_SCB1_MASTERS ((volatile uint32_t *)REG_SCB1_MASTERS) /* SCB1 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB2
- ========================================================================= */
-#define pREG_SCB2_ARBR0 ((volatile uint32_t *)REG_SCB2_ARBR0) /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB2_ARBW0 ((volatile uint32_t *)REG_SCB2_ARBW0) /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB2_SLAVES ((volatile uint32_t *)REG_SCB2_SLAVES) /* SCB2 Slave Interfaces Number Register */
-#define pREG_SCB2_MASTERS ((volatile uint32_t *)REG_SCB2_MASTERS) /* SCB2 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB3
- ========================================================================= */
-#define pREG_SCB3_ARBR0 ((volatile uint32_t *)REG_SCB3_ARBR0) /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB3_ARBW0 ((volatile uint32_t *)REG_SCB3_ARBW0) /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB3_SLAVES ((volatile uint32_t *)REG_SCB3_SLAVES) /* SCB3 Slave Interfaces Number Register */
-#define pREG_SCB3_MASTERS ((volatile uint32_t *)REG_SCB3_MASTERS) /* SCB3 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB4
- ========================================================================= */
-#define pREG_SCB4_ARBR0 ((volatile uint32_t *)REG_SCB4_ARBR0) /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB4_ARBW0 ((volatile uint32_t *)REG_SCB4_ARBW0) /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB4_SLAVES ((volatile uint32_t *)REG_SCB4_SLAVES) /* SCB4 Slave Interfaces Number Register */
-#define pREG_SCB4_MASTERS ((volatile uint32_t *)REG_SCB4_MASTERS) /* SCB4 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB5
- ========================================================================= */
-#define pREG_SCB5_ARBR0 ((volatile uint32_t *)REG_SCB5_ARBR0) /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB5_ARBW0 ((volatile uint32_t *)REG_SCB5_ARBW0) /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB5_SLAVES ((volatile uint32_t *)REG_SCB5_SLAVES) /* SCB5 Slave Interfaces Number Register */
-#define pREG_SCB5_MASTERS ((volatile uint32_t *)REG_SCB5_MASTERS) /* SCB5 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB6
- ========================================================================= */
-#define pREG_SCB6_ARBR0 ((volatile uint32_t *)REG_SCB6_ARBR0) /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB6_ARBW0 ((volatile uint32_t *)REG_SCB6_ARBW0) /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB6_SLAVES ((volatile uint32_t *)REG_SCB6_SLAVES) /* SCB6 Slave Interfaces Number Register */
-#define pREG_SCB6_MASTERS ((volatile uint32_t *)REG_SCB6_MASTERS) /* SCB6 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB7
- ========================================================================= */
-#define pREG_SCB7_ARBR0 ((volatile uint32_t *)REG_SCB7_ARBR0) /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB7_ARBW0 ((volatile uint32_t *)REG_SCB7_ARBW0) /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB7_SLAVES ((volatile uint32_t *)REG_SCB7_SLAVES) /* SCB7 Slave Interfaces Number Register */
-#define pREG_SCB7_MASTERS ((volatile uint32_t *)REG_SCB7_MASTERS) /* SCB7 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB8
- ========================================================================= */
-#define pREG_SCB8_ARBR0 ((volatile uint32_t *)REG_SCB8_ARBR0) /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB8_ARBW0 ((volatile uint32_t *)REG_SCB8_ARBW0) /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB8_SLAVES ((volatile uint32_t *)REG_SCB8_SLAVES) /* SCB8 Slave Interfaces Number Register */
-#define pREG_SCB8_MASTERS ((volatile uint32_t *)REG_SCB8_MASTERS) /* SCB8 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB9
- ========================================================================= */
-#define pREG_SCB9_ARBR0 ((volatile uint32_t *)REG_SCB9_ARBR0) /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB9_ARBW0 ((volatile uint32_t *)REG_SCB9_ARBW0) /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB9_SLAVES ((volatile uint32_t *)REG_SCB9_SLAVES) /* SCB9 Slave Interfaces Number Register */
-#define pREG_SCB9_MASTERS ((volatile uint32_t *)REG_SCB9_MASTERS) /* SCB9 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB10
- ========================================================================= */
-#define pREG_SCB10_ARBR0 ((volatile uint32_t *)REG_SCB10_ARBR0) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR1 ((volatile uint32_t *)REG_SCB10_ARBR1) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR2 ((volatile uint32_t *)REG_SCB10_ARBR2) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBW0 ((volatile uint32_t *)REG_SCB10_ARBW0) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW1 ((volatile uint32_t *)REG_SCB10_ARBW1) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW2 ((volatile uint32_t *)REG_SCB10_ARBW2) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_SLAVES ((volatile uint32_t *)REG_SCB10_SLAVES) /* SCB10 Slave Interfaces Number Register */
-#define pREG_SCB10_MASTERS ((volatile uint32_t *)REG_SCB10_MASTERS) /* SCB10 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB11
- ========================================================================= */
-#define pREG_SCB11_ARBR0 ((volatile uint32_t *)REG_SCB11_ARBR0) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR1 ((volatile uint32_t *)REG_SCB11_ARBR1) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR2 ((volatile uint32_t *)REG_SCB11_ARBR2) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR3 ((volatile uint32_t *)REG_SCB11_ARBR3) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR4 ((volatile uint32_t *)REG_SCB11_ARBR4) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR5 ((volatile uint32_t *)REG_SCB11_ARBR5) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR6 ((volatile uint32_t *)REG_SCB11_ARBR6) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBW0 ((volatile uint32_t *)REG_SCB11_ARBW0) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW1 ((volatile uint32_t *)REG_SCB11_ARBW1) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW2 ((volatile uint32_t *)REG_SCB11_ARBW2) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW3 ((volatile uint32_t *)REG_SCB11_ARBW3) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW4 ((volatile uint32_t *)REG_SCB11_ARBW4) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW5 ((volatile uint32_t *)REG_SCB11_ARBW5) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW6 ((volatile uint32_t *)REG_SCB11_ARBW6) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_SLAVES ((volatile uint32_t *)REG_SCB11_SLAVES) /* SCB11 Slave Interfaces Number Register */
-#define pREG_SCB11_MASTERS ((volatile uint32_t *)REG_SCB11_MASTERS) /* SCB11 Master Interfaces Number Register */
-
-
-/* =========================================================================
- L2CTL0
- ========================================================================= */
-#define pREG_L2CTL0_CTL ((volatile uint32_t *)REG_L2CTL0_CTL) /* L2CTL0 Control Register */
-#define pREG_L2CTL0_ACTL_C0 ((volatile uint32_t *)REG_L2CTL0_ACTL_C0) /* L2CTL0 Access Control Core 0 Register */
-#define pREG_L2CTL0_ACTL_C1 ((volatile uint32_t *)REG_L2CTL0_ACTL_C1) /* L2CTL0 Access Control Core 1 Register */
-#define pREG_L2CTL0_ACTL_SYS ((volatile uint32_t *)REG_L2CTL0_ACTL_SYS) /* L2CTL0 Access Control System Register */
-#define pREG_L2CTL0_STAT ((volatile uint32_t *)REG_L2CTL0_STAT) /* L2CTL0 Status Register */
-#define pREG_L2CTL0_RPCR ((volatile uint32_t *)REG_L2CTL0_RPCR) /* L2CTL0 Read Priority Count Register */
-#define pREG_L2CTL0_WPCR ((volatile uint32_t *)REG_L2CTL0_WPCR) /* L2CTL0 Write Priority Count Register */
-#define pREG_L2CTL0_RFA ((void * volatile *)REG_L2CTL0_RFA) /* L2CTL0 Refresh Address Register */
-#define pREG_L2CTL0_ERRADDR0 ((void * volatile *)REG_L2CTL0_ERRADDR0) /* L2CTL0 ECC Error Address 0 Register */
-#define pREG_L2CTL0_ERRADDR1 ((void * volatile *)REG_L2CTL0_ERRADDR1) /* L2CTL0 ECC Error Address 1 Register */
-#define pREG_L2CTL0_ERRADDR2 ((void * volatile *)REG_L2CTL0_ERRADDR2) /* L2CTL0 ECC Error Address 2 Register */
-#define pREG_L2CTL0_ERRADDR3 ((void * volatile *)REG_L2CTL0_ERRADDR3) /* L2CTL0 ECC Error Address 3 Register */
-#define pREG_L2CTL0_ERRADDR4 ((void * volatile *)REG_L2CTL0_ERRADDR4) /* L2CTL0 ECC Error Address 4 Register */
-#define pREG_L2CTL0_ERRADDR5 ((void * volatile *)REG_L2CTL0_ERRADDR5) /* L2CTL0 ECC Error Address 5 Register */
-#define pREG_L2CTL0_ERRADDR6 ((void * volatile *)REG_L2CTL0_ERRADDR6) /* L2CTL0 ECC Error Address 6 Register */
-#define pREG_L2CTL0_ERRADDR7 ((void * volatile *)REG_L2CTL0_ERRADDR7) /* L2CTL0 ECC Error Address 7 Register */
-#define pREG_L2CTL0_ET0 ((volatile uint32_t *)REG_L2CTL0_ET0) /* L2CTL0 Error Type 0 Register */
-#define pREG_L2CTL0_EADDR0 ((void * volatile *)REG_L2CTL0_EADDR0) /* L2CTL0 Error Type 0 Address Register */
-#define pREG_L2CTL0_ET1 ((volatile uint32_t *)REG_L2CTL0_ET1) /* L2CTL0 Error Type 1 Register */
-#define pREG_L2CTL0_EADDR1 ((void * volatile *)REG_L2CTL0_EADDR1) /* L2CTL0 Error Type 1 Address Register */
-
-
-/* =========================================================================
- SEC0
- ========================================================================= */
-
-/* SEC Core Interface (SCI) Registers */
-#define pREG_SEC0_CCTL0 ((volatile uint32_t *)REG_SEC0_CCTL0) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CCTL1 ((volatile uint32_t *)REG_SEC0_CCTL1) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CSTAT0 ((volatile uint32_t *)REG_SEC0_CSTAT0) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CSTAT1 ((volatile uint32_t *)REG_SEC0_CSTAT1) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CPND0 ((volatile uint32_t *)REG_SEC0_CPND0) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CPND1 ((volatile uint32_t *)REG_SEC0_CPND1) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CACT0 ((volatile uint32_t *)REG_SEC0_CACT0) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CACT1 ((volatile uint32_t *)REG_SEC0_CACT1) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CPMSK0 ((volatile uint32_t *)REG_SEC0_CPMSK0) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CPMSK1 ((volatile uint32_t *)REG_SEC0_CPMSK1) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CGMSK0 ((volatile uint32_t *)REG_SEC0_CGMSK0) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CGMSK1 ((volatile uint32_t *)REG_SEC0_CGMSK1) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CPLVL0 ((volatile uint32_t *)REG_SEC0_CPLVL0) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CPLVL1 ((volatile uint32_t *)REG_SEC0_CPLVL1) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CSID0 ((volatile uint32_t *)REG_SEC0_CSID0) /* SEC0 SCI Source ID Register n */
-#define pREG_SEC0_CSID1 ((volatile uint32_t *)REG_SEC0_CSID1) /* SEC0 SCI Source ID Register n */
-
-/* SEC Fault Management Interface (SFI) Registers */
-#define pREG_SEC0_FCTL ((volatile uint32_t *)REG_SEC0_FCTL) /* SEC0 Fault Control Register */
-#define pREG_SEC0_FSTAT ((volatile uint32_t *)REG_SEC0_FSTAT) /* SEC0 Fault Status Register */
-#define pREG_SEC0_FSID ((volatile uint32_t *)REG_SEC0_FSID) /* SEC0 Fault Source ID Register */
-#define pREG_SEC0_FEND ((volatile uint32_t *)REG_SEC0_FEND) /* SEC0 Fault End Register */
-#define pREG_SEC0_FDLY ((volatile uint32_t *)REG_SEC0_FDLY) /* SEC0 Fault Delay Register */
-#define pREG_SEC0_FDLY_CUR ((volatile uint32_t *)REG_SEC0_FDLY_CUR) /* SEC0 Fault Delay Current Register */
-#define pREG_SEC0_FSRDLY ((volatile uint32_t *)REG_SEC0_FSRDLY) /* SEC0 Fault System Reset Delay Register */
-#define pREG_SEC0_FSRDLY_CUR ((volatile uint32_t *)REG_SEC0_FSRDLY_CUR) /* SEC0 Fault System Reset Delay Current Register */
-#define pREG_SEC0_FCOPP ((volatile uint32_t *)REG_SEC0_FCOPP) /* SEC0 Fault COP Period Register */
-#define pREG_SEC0_FCOPP_CUR ((volatile uint32_t *)REG_SEC0_FCOPP_CUR) /* SEC0 Fault COP Period Current Register */
-
-/* SEC Global Registers */
-#define pREG_SEC0_GCTL ((volatile uint32_t *)REG_SEC0_GCTL) /* SEC0 Global Control Register */
-#define pREG_SEC0_GSTAT ((volatile uint32_t *)REG_SEC0_GSTAT) /* SEC0 Global Status Register */
-#define pREG_SEC0_RAISE ((volatile uint32_t *)REG_SEC0_RAISE) /* SEC0 Global Raise Register */
-#define pREG_SEC0_END ((volatile uint32_t *)REG_SEC0_END) /* SEC0 Global End Register */
-
-/* SEC Source Interface (SSI) Registers */
-#define pREG_SEC0_SCTL0 ((volatile uint32_t *)REG_SEC0_SCTL0) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL1 ((volatile uint32_t *)REG_SEC0_SCTL1) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL2 ((volatile uint32_t *)REG_SEC0_SCTL2) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL3 ((volatile uint32_t *)REG_SEC0_SCTL3) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL4 ((volatile uint32_t *)REG_SEC0_SCTL4) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL5 ((volatile uint32_t *)REG_SEC0_SCTL5) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL6 ((volatile uint32_t *)REG_SEC0_SCTL6) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL7 ((volatile uint32_t *)REG_SEC0_SCTL7) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL8 ((volatile uint32_t *)REG_SEC0_SCTL8) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL9 ((volatile uint32_t *)REG_SEC0_SCTL9) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL10 ((volatile uint32_t *)REG_SEC0_SCTL10) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL11 ((volatile uint32_t *)REG_SEC0_SCTL11) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL12 ((volatile uint32_t *)REG_SEC0_SCTL12) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL13 ((volatile uint32_t *)REG_SEC0_SCTL13) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL14 ((volatile uint32_t *)REG_SEC0_SCTL14) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL15 ((volatile uint32_t *)REG_SEC0_SCTL15) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL16 ((volatile uint32_t *)REG_SEC0_SCTL16) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL17 ((volatile uint32_t *)REG_SEC0_SCTL17) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL18 ((volatile uint32_t *)REG_SEC0_SCTL18) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL19 ((volatile uint32_t *)REG_SEC0_SCTL19) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL20 ((volatile uint32_t *)REG_SEC0_SCTL20) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL21 ((volatile uint32_t *)REG_SEC0_SCTL21) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL22 ((volatile uint32_t *)REG_SEC0_SCTL22) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL23 ((volatile uint32_t *)REG_SEC0_SCTL23) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL24 ((volatile uint32_t *)REG_SEC0_SCTL24) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL25 ((volatile uint32_t *)REG_SEC0_SCTL25) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL26 ((volatile uint32_t *)REG_SEC0_SCTL26) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL27 ((volatile uint32_t *)REG_SEC0_SCTL27) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL28 ((volatile uint32_t *)REG_SEC0_SCTL28) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL29 ((volatile uint32_t *)REG_SEC0_SCTL29) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL30 ((volatile uint32_t *)REG_SEC0_SCTL30) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL31 ((volatile uint32_t *)REG_SEC0_SCTL31) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL32 ((volatile uint32_t *)REG_SEC0_SCTL32) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL33 ((volatile uint32_t *)REG_SEC0_SCTL33) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL34 ((volatile uint32_t *)REG_SEC0_SCTL34) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL35 ((volatile uint32_t *)REG_SEC0_SCTL35) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL36 ((volatile uint32_t *)REG_SEC0_SCTL36) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL37 ((volatile uint32_t *)REG_SEC0_SCTL37) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL38 ((volatile uint32_t *)REG_SEC0_SCTL38) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL39 ((volatile uint32_t *)REG_SEC0_SCTL39) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL40 ((volatile uint32_t *)REG_SEC0_SCTL40) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL41 ((volatile uint32_t *)REG_SEC0_SCTL41) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL42 ((volatile uint32_t *)REG_SEC0_SCTL42) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL43 ((volatile uint32_t *)REG_SEC0_SCTL43) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL44 ((volatile uint32_t *)REG_SEC0_SCTL44) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL45 ((volatile uint32_t *)REG_SEC0_SCTL45) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL46 ((volatile uint32_t *)REG_SEC0_SCTL46) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL47 ((volatile uint32_t *)REG_SEC0_SCTL47) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL48 ((volatile uint32_t *)REG_SEC0_SCTL48) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL49 ((volatile uint32_t *)REG_SEC0_SCTL49) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL50 ((volatile uint32_t *)REG_SEC0_SCTL50) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL51 ((volatile uint32_t *)REG_SEC0_SCTL51) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL52 ((volatile uint32_t *)REG_SEC0_SCTL52) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL53 ((volatile uint32_t *)REG_SEC0_SCTL53) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL54 ((volatile uint32_t *)REG_SEC0_SCTL54) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL55 ((volatile uint32_t *)REG_SEC0_SCTL55) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL56 ((volatile uint32_t *)REG_SEC0_SCTL56) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL57 ((volatile uint32_t *)REG_SEC0_SCTL57) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL58 ((volatile uint32_t *)REG_SEC0_SCTL58) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL59 ((volatile uint32_t *)REG_SEC0_SCTL59) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL60 ((volatile uint32_t *)REG_SEC0_SCTL60) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL61 ((volatile uint32_t *)REG_SEC0_SCTL61) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL62 ((volatile uint32_t *)REG_SEC0_SCTL62) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL63 ((volatile uint32_t *)REG_SEC0_SCTL63) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL64 ((volatile uint32_t *)REG_SEC0_SCTL64) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL65 ((volatile uint32_t *)REG_SEC0_SCTL65) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL66 ((volatile uint32_t *)REG_SEC0_SCTL66) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL67 ((volatile uint32_t *)REG_SEC0_SCTL67) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL68 ((volatile uint32_t *)REG_SEC0_SCTL68) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL69 ((volatile uint32_t *)REG_SEC0_SCTL69) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL70 ((volatile uint32_t *)REG_SEC0_SCTL70) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL71 ((volatile uint32_t *)REG_SEC0_SCTL71) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL72 ((volatile uint32_t *)REG_SEC0_SCTL72) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL73 ((volatile uint32_t *)REG_SEC0_SCTL73) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL74 ((volatile uint32_t *)REG_SEC0_SCTL74) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL75 ((volatile uint32_t *)REG_SEC0_SCTL75) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL76 ((volatile uint32_t *)REG_SEC0_SCTL76) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL77 ((volatile uint32_t *)REG_SEC0_SCTL77) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL78 ((volatile uint32_t *)REG_SEC0_SCTL78) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL79 ((volatile uint32_t *)REG_SEC0_SCTL79) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL80 ((volatile uint32_t *)REG_SEC0_SCTL80) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL81 ((volatile uint32_t *)REG_SEC0_SCTL81) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL82 ((volatile uint32_t *)REG_SEC0_SCTL82) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL83 ((volatile uint32_t *)REG_SEC0_SCTL83) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL84 ((volatile uint32_t *)REG_SEC0_SCTL84) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL85 ((volatile uint32_t *)REG_SEC0_SCTL85) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL86 ((volatile uint32_t *)REG_SEC0_SCTL86) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL87 ((volatile uint32_t *)REG_SEC0_SCTL87) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL88 ((volatile uint32_t *)REG_SEC0_SCTL88) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL89 ((volatile uint32_t *)REG_SEC0_SCTL89) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL90 ((volatile uint32_t *)REG_SEC0_SCTL90) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL91 ((volatile uint32_t *)REG_SEC0_SCTL91) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL92 ((volatile uint32_t *)REG_SEC0_SCTL92) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL93 ((volatile uint32_t *)REG_SEC0_SCTL93) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL94 ((volatile uint32_t *)REG_SEC0_SCTL94) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL95 ((volatile uint32_t *)REG_SEC0_SCTL95) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL96 ((volatile uint32_t *)REG_SEC0_SCTL96) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL97 ((volatile uint32_t *)REG_SEC0_SCTL97) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL98 ((volatile uint32_t *)REG_SEC0_SCTL98) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL99 ((volatile uint32_t *)REG_SEC0_SCTL99) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL100 ((volatile uint32_t *)REG_SEC0_SCTL100) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL101 ((volatile uint32_t *)REG_SEC0_SCTL101) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL102 ((volatile uint32_t *)REG_SEC0_SCTL102) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL103 ((volatile uint32_t *)REG_SEC0_SCTL103) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL104 ((volatile uint32_t *)REG_SEC0_SCTL104) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL105 ((volatile uint32_t *)REG_SEC0_SCTL105) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL106 ((volatile uint32_t *)REG_SEC0_SCTL106) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL107 ((volatile uint32_t *)REG_SEC0_SCTL107) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL108 ((volatile uint32_t *)REG_SEC0_SCTL108) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL109 ((volatile uint32_t *)REG_SEC0_SCTL109) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL110 ((volatile uint32_t *)REG_SEC0_SCTL110) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL111 ((volatile uint32_t *)REG_SEC0_SCTL111) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL112 ((volatile uint32_t *)REG_SEC0_SCTL112) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL113 ((volatile uint32_t *)REG_SEC0_SCTL113) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL114 ((volatile uint32_t *)REG_SEC0_SCTL114) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL115 ((volatile uint32_t *)REG_SEC0_SCTL115) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL116 ((volatile uint32_t *)REG_SEC0_SCTL116) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL117 ((volatile uint32_t *)REG_SEC0_SCTL117) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL118 ((volatile uint32_t *)REG_SEC0_SCTL118) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL119 ((volatile uint32_t *)REG_SEC0_SCTL119) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL120 ((volatile uint32_t *)REG_SEC0_SCTL120) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL121 ((volatile uint32_t *)REG_SEC0_SCTL121) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL122 ((volatile uint32_t *)REG_SEC0_SCTL122) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL123 ((volatile uint32_t *)REG_SEC0_SCTL123) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL124 ((volatile uint32_t *)REG_SEC0_SCTL124) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL125 ((volatile uint32_t *)REG_SEC0_SCTL125) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL126 ((volatile uint32_t *)REG_SEC0_SCTL126) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL127 ((volatile uint32_t *)REG_SEC0_SCTL127) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL128 ((volatile uint32_t *)REG_SEC0_SCTL128) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL129 ((volatile uint32_t *)REG_SEC0_SCTL129) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL130 ((volatile uint32_t *)REG_SEC0_SCTL130) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL131 ((volatile uint32_t *)REG_SEC0_SCTL131) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL132 ((volatile uint32_t *)REG_SEC0_SCTL132) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL133 ((volatile uint32_t *)REG_SEC0_SCTL133) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL134 ((volatile uint32_t *)REG_SEC0_SCTL134) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL135 ((volatile uint32_t *)REG_SEC0_SCTL135) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL136 ((volatile uint32_t *)REG_SEC0_SCTL136) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL137 ((volatile uint32_t *)REG_SEC0_SCTL137) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL138 ((volatile uint32_t *)REG_SEC0_SCTL138) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL139 ((volatile uint32_t *)REG_SEC0_SCTL139) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SSTAT0 ((volatile uint32_t *)REG_SEC0_SSTAT0) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT1 ((volatile uint32_t *)REG_SEC0_SSTAT1) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT2 ((volatile uint32_t *)REG_SEC0_SSTAT2) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT3 ((volatile uint32_t *)REG_SEC0_SSTAT3) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT4 ((volatile uint32_t *)REG_SEC0_SSTAT4) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT5 ((volatile uint32_t *)REG_SEC0_SSTAT5) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT6 ((volatile uint32_t *)REG_SEC0_SSTAT6) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT7 ((volatile uint32_t *)REG_SEC0_SSTAT7) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT8 ((volatile uint32_t *)REG_SEC0_SSTAT8) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT9 ((volatile uint32_t *)REG_SEC0_SSTAT9) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT10 ((volatile uint32_t *)REG_SEC0_SSTAT10) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT11 ((volatile uint32_t *)REG_SEC0_SSTAT11) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT12 ((volatile uint32_t *)REG_SEC0_SSTAT12) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT13 ((volatile uint32_t *)REG_SEC0_SSTAT13) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT14 ((volatile uint32_t *)REG_SEC0_SSTAT14) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT15 ((volatile uint32_t *)REG_SEC0_SSTAT15) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT16 ((volatile uint32_t *)REG_SEC0_SSTAT16) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT17 ((volatile uint32_t *)REG_SEC0_SSTAT17) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT18 ((volatile uint32_t *)REG_SEC0_SSTAT18) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT19 ((volatile uint32_t *)REG_SEC0_SSTAT19) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT20 ((volatile uint32_t *)REG_SEC0_SSTAT20) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT21 ((volatile uint32_t *)REG_SEC0_SSTAT21) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT22 ((volatile uint32_t *)REG_SEC0_SSTAT22) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT23 ((volatile uint32_t *)REG_SEC0_SSTAT23) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT24 ((volatile uint32_t *)REG_SEC0_SSTAT24) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT25 ((volatile uint32_t *)REG_SEC0_SSTAT25) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT26 ((volatile uint32_t *)REG_SEC0_SSTAT26) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT27 ((volatile uint32_t *)REG_SEC0_SSTAT27) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT28 ((volatile uint32_t *)REG_SEC0_SSTAT28) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT29 ((volatile uint32_t *)REG_SEC0_SSTAT29) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT30 ((volatile uint32_t *)REG_SEC0_SSTAT30) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT31 ((volatile uint32_t *)REG_SEC0_SSTAT31) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT32 ((volatile uint32_t *)REG_SEC0_SSTAT32) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT33 ((volatile uint32_t *)REG_SEC0_SSTAT33) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT34 ((volatile uint32_t *)REG_SEC0_SSTAT34) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT35 ((volatile uint32_t *)REG_SEC0_SSTAT35) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT36 ((volatile uint32_t *)REG_SEC0_SSTAT36) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT37 ((volatile uint32_t *)REG_SEC0_SSTAT37) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT38 ((volatile uint32_t *)REG_SEC0_SSTAT38) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT39 ((volatile uint32_t *)REG_SEC0_SSTAT39) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT40 ((volatile uint32_t *)REG_SEC0_SSTAT40) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT41 ((volatile uint32_t *)REG_SEC0_SSTAT41) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT42 ((volatile uint32_t *)REG_SEC0_SSTAT42) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT43 ((volatile uint32_t *)REG_SEC0_SSTAT43) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT44 ((volatile uint32_t *)REG_SEC0_SSTAT44) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT45 ((volatile uint32_t *)REG_SEC0_SSTAT45) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT46 ((volatile uint32_t *)REG_SEC0_SSTAT46) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT47 ((volatile uint32_t *)REG_SEC0_SSTAT47) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT48 ((volatile uint32_t *)REG_SEC0_SSTAT48) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT49 ((volatile uint32_t *)REG_SEC0_SSTAT49) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT50 ((volatile uint32_t *)REG_SEC0_SSTAT50) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT51 ((volatile uint32_t *)REG_SEC0_SSTAT51) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT52 ((volatile uint32_t *)REG_SEC0_SSTAT52) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT53 ((volatile uint32_t *)REG_SEC0_SSTAT53) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT54 ((volatile uint32_t *)REG_SEC0_SSTAT54) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT55 ((volatile uint32_t *)REG_SEC0_SSTAT55) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT56 ((volatile uint32_t *)REG_SEC0_SSTAT56) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT57 ((volatile uint32_t *)REG_SEC0_SSTAT57) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT58 ((volatile uint32_t *)REG_SEC0_SSTAT58) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT59 ((volatile uint32_t *)REG_SEC0_SSTAT59) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT60 ((volatile uint32_t *)REG_SEC0_SSTAT60) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT61 ((volatile uint32_t *)REG_SEC0_SSTAT61) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT62 ((volatile uint32_t *)REG_SEC0_SSTAT62) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT63 ((volatile uint32_t *)REG_SEC0_SSTAT63) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT64 ((volatile uint32_t *)REG_SEC0_SSTAT64) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT65 ((volatile uint32_t *)REG_SEC0_SSTAT65) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT66 ((volatile uint32_t *)REG_SEC0_SSTAT66) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT67 ((volatile uint32_t *)REG_SEC0_SSTAT67) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT68 ((volatile uint32_t *)REG_SEC0_SSTAT68) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT69 ((volatile uint32_t *)REG_SEC0_SSTAT69) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT70 ((volatile uint32_t *)REG_SEC0_SSTAT70) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT71 ((volatile uint32_t *)REG_SEC0_SSTAT71) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT72 ((volatile uint32_t *)REG_SEC0_SSTAT72) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT73 ((volatile uint32_t *)REG_SEC0_SSTAT73) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT74 ((volatile uint32_t *)REG_SEC0_SSTAT74) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT75 ((volatile uint32_t *)REG_SEC0_SSTAT75) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT76 ((volatile uint32_t *)REG_SEC0_SSTAT76) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT77 ((volatile uint32_t *)REG_SEC0_SSTAT77) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT78 ((volatile uint32_t *)REG_SEC0_SSTAT78) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT79 ((volatile uint32_t *)REG_SEC0_SSTAT79) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT80 ((volatile uint32_t *)REG_SEC0_SSTAT80) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT81 ((volatile uint32_t *)REG_SEC0_SSTAT81) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT82 ((volatile uint32_t *)REG_SEC0_SSTAT82) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT83 ((volatile uint32_t *)REG_SEC0_SSTAT83) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT84 ((volatile uint32_t *)REG_SEC0_SSTAT84) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT85 ((volatile uint32_t *)REG_SEC0_SSTAT85) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT86 ((volatile uint32_t *)REG_SEC0_SSTAT86) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT87 ((volatile uint32_t *)REG_SEC0_SSTAT87) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT88 ((volatile uint32_t *)REG_SEC0_SSTAT88) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT89 ((volatile uint32_t *)REG_SEC0_SSTAT89) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT90 ((volatile uint32_t *)REG_SEC0_SSTAT90) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT91 ((volatile uint32_t *)REG_SEC0_SSTAT91) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT92 ((volatile uint32_t *)REG_SEC0_SSTAT92) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT93 ((volatile uint32_t *)REG_SEC0_SSTAT93) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT94 ((volatile uint32_t *)REG_SEC0_SSTAT94) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT95 ((volatile uint32_t *)REG_SEC0_SSTAT95) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT96 ((volatile uint32_t *)REG_SEC0_SSTAT96) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT97 ((volatile uint32_t *)REG_SEC0_SSTAT97) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT98 ((volatile uint32_t *)REG_SEC0_SSTAT98) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT99 ((volatile uint32_t *)REG_SEC0_SSTAT99) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT100 ((volatile uint32_t *)REG_SEC0_SSTAT100) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT101 ((volatile uint32_t *)REG_SEC0_SSTAT101) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT102 ((volatile uint32_t *)REG_SEC0_SSTAT102) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT103 ((volatile uint32_t *)REG_SEC0_SSTAT103) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT104 ((volatile uint32_t *)REG_SEC0_SSTAT104) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT105 ((volatile uint32_t *)REG_SEC0_SSTAT105) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT106 ((volatile uint32_t *)REG_SEC0_SSTAT106) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT107 ((volatile uint32_t *)REG_SEC0_SSTAT107) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT108 ((volatile uint32_t *)REG_SEC0_SSTAT108) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT109 ((volatile uint32_t *)REG_SEC0_SSTAT109) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT110 ((volatile uint32_t *)REG_SEC0_SSTAT110) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT111 ((volatile uint32_t *)REG_SEC0_SSTAT111) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT112 ((volatile uint32_t *)REG_SEC0_SSTAT112) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT113 ((volatile uint32_t *)REG_SEC0_SSTAT113) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT114 ((volatile uint32_t *)REG_SEC0_SSTAT114) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT115 ((volatile uint32_t *)REG_SEC0_SSTAT115) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT116 ((volatile uint32_t *)REG_SEC0_SSTAT116) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT117 ((volatile uint32_t *)REG_SEC0_SSTAT117) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT118 ((volatile uint32_t *)REG_SEC0_SSTAT118) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT119 ((volatile uint32_t *)REG_SEC0_SSTAT119) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT120 ((volatile uint32_t *)REG_SEC0_SSTAT120) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT121 ((volatile uint32_t *)REG_SEC0_SSTAT121) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT122 ((volatile uint32_t *)REG_SEC0_SSTAT122) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT123 ((volatile uint32_t *)REG_SEC0_SSTAT123) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT124 ((volatile uint32_t *)REG_SEC0_SSTAT124) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT125 ((volatile uint32_t *)REG_SEC0_SSTAT125) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT126 ((volatile uint32_t *)REG_SEC0_SSTAT126) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT127 ((volatile uint32_t *)REG_SEC0_SSTAT127) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT128 ((volatile uint32_t *)REG_SEC0_SSTAT128) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT129 ((volatile uint32_t *)REG_SEC0_SSTAT129) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT130 ((volatile uint32_t *)REG_SEC0_SSTAT130) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT131 ((volatile uint32_t *)REG_SEC0_SSTAT131) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT132 ((volatile uint32_t *)REG_SEC0_SSTAT132) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT133 ((volatile uint32_t *)REG_SEC0_SSTAT133) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT134 ((volatile uint32_t *)REG_SEC0_SSTAT134) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT135 ((volatile uint32_t *)REG_SEC0_SSTAT135) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT136 ((volatile uint32_t *)REG_SEC0_SSTAT136) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT137 ((volatile uint32_t *)REG_SEC0_SSTAT137) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT138 ((volatile uint32_t *)REG_SEC0_SSTAT138) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT139 ((volatile uint32_t *)REG_SEC0_SSTAT139) /* SEC0 Source Status Register n */
-
-
-/* =========================================================================
- TRU0
- ========================================================================= */
-#define pREG_TRU0_SSR0 ((volatile uint32_t *)REG_TRU0_SSR0) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR1 ((volatile uint32_t *)REG_TRU0_SSR1) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR2 ((volatile uint32_t *)REG_TRU0_SSR2) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR3 ((volatile uint32_t *)REG_TRU0_SSR3) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR4 ((volatile uint32_t *)REG_TRU0_SSR4) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR5 ((volatile uint32_t *)REG_TRU0_SSR5) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR6 ((volatile uint32_t *)REG_TRU0_SSR6) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR7 ((volatile uint32_t *)REG_TRU0_SSR7) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR8 ((volatile uint32_t *)REG_TRU0_SSR8) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR9 ((volatile uint32_t *)REG_TRU0_SSR9) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR10 ((volatile uint32_t *)REG_TRU0_SSR10) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR11 ((volatile uint32_t *)REG_TRU0_SSR11) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR12 ((volatile uint32_t *)REG_TRU0_SSR12) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR13 ((volatile uint32_t *)REG_TRU0_SSR13) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR14 ((volatile uint32_t *)REG_TRU0_SSR14) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR15 ((volatile uint32_t *)REG_TRU0_SSR15) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR16 ((volatile uint32_t *)REG_TRU0_SSR16) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR17 ((volatile uint32_t *)REG_TRU0_SSR17) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR18 ((volatile uint32_t *)REG_TRU0_SSR18) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR19 ((volatile uint32_t *)REG_TRU0_SSR19) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR20 ((volatile uint32_t *)REG_TRU0_SSR20) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR21 ((volatile uint32_t *)REG_TRU0_SSR21) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR22 ((volatile uint32_t *)REG_TRU0_SSR22) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR23 ((volatile uint32_t *)REG_TRU0_SSR23) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR24 ((volatile uint32_t *)REG_TRU0_SSR24) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR25 ((volatile uint32_t *)REG_TRU0_SSR25) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR26 ((volatile uint32_t *)REG_TRU0_SSR26) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR27 ((volatile uint32_t *)REG_TRU0_SSR27) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR28 ((volatile uint32_t *)REG_TRU0_SSR28) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR29 ((volatile uint32_t *)REG_TRU0_SSR29) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR30 ((volatile uint32_t *)REG_TRU0_SSR30) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR31 ((volatile uint32_t *)REG_TRU0_SSR31) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR32 ((volatile uint32_t *)REG_TRU0_SSR32) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR33 ((volatile uint32_t *)REG_TRU0_SSR33) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR34 ((volatile uint32_t *)REG_TRU0_SSR34) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR35 ((volatile uint32_t *)REG_TRU0_SSR35) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR36 ((volatile uint32_t *)REG_TRU0_SSR36) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR37 ((volatile uint32_t *)REG_TRU0_SSR37) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR38 ((volatile uint32_t *)REG_TRU0_SSR38) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR39 ((volatile uint32_t *)REG_TRU0_SSR39) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR40 ((volatile uint32_t *)REG_TRU0_SSR40) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR41 ((volatile uint32_t *)REG_TRU0_SSR41) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR42 ((volatile uint32_t *)REG_TRU0_SSR42) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR43 ((volatile uint32_t *)REG_TRU0_SSR43) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR44 ((volatile uint32_t *)REG_TRU0_SSR44) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR45 ((volatile uint32_t *)REG_TRU0_SSR45) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR46 ((volatile uint32_t *)REG_TRU0_SSR46) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR47 ((volatile uint32_t *)REG_TRU0_SSR47) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR48 ((volatile uint32_t *)REG_TRU0_SSR48) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR49 ((volatile uint32_t *)REG_TRU0_SSR49) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR50 ((volatile uint32_t *)REG_TRU0_SSR50) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR51 ((volatile uint32_t *)REG_TRU0_SSR51) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR52 ((volatile uint32_t *)REG_TRU0_SSR52) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR53 ((volatile uint32_t *)REG_TRU0_SSR53) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR54 ((volatile uint32_t *)REG_TRU0_SSR54) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR55 ((volatile uint32_t *)REG_TRU0_SSR55) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR56 ((volatile uint32_t *)REG_TRU0_SSR56) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR57 ((volatile uint32_t *)REG_TRU0_SSR57) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR58 ((volatile uint32_t *)REG_TRU0_SSR58) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR59 ((volatile uint32_t *)REG_TRU0_SSR59) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR60 ((volatile uint32_t *)REG_TRU0_SSR60) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR61 ((volatile uint32_t *)REG_TRU0_SSR61) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR62 ((volatile uint32_t *)REG_TRU0_SSR62) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR63 ((volatile uint32_t *)REG_TRU0_SSR63) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR64 ((volatile uint32_t *)REG_TRU0_SSR64) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR65 ((volatile uint32_t *)REG_TRU0_SSR65) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR66 ((volatile uint32_t *)REG_TRU0_SSR66) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR67 ((volatile uint32_t *)REG_TRU0_SSR67) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR68 ((volatile uint32_t *)REG_TRU0_SSR68) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR69 ((volatile uint32_t *)REG_TRU0_SSR69) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR70 ((volatile uint32_t *)REG_TRU0_SSR70) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR71 ((volatile uint32_t *)REG_TRU0_SSR71) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR72 ((volatile uint32_t *)REG_TRU0_SSR72) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR73 ((volatile uint32_t *)REG_TRU0_SSR73) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR74 ((volatile uint32_t *)REG_TRU0_SSR74) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR75 ((volatile uint32_t *)REG_TRU0_SSR75) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR76 ((volatile uint32_t *)REG_TRU0_SSR76) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR77 ((volatile uint32_t *)REG_TRU0_SSR77) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR78 ((volatile uint32_t *)REG_TRU0_SSR78) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR79 ((volatile uint32_t *)REG_TRU0_SSR79) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR80 ((volatile uint32_t *)REG_TRU0_SSR80) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR81 ((volatile uint32_t *)REG_TRU0_SSR81) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR82 ((volatile uint32_t *)REG_TRU0_SSR82) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR83 ((volatile uint32_t *)REG_TRU0_SSR83) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR84 ((volatile uint32_t *)REG_TRU0_SSR84) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR85 ((volatile uint32_t *)REG_TRU0_SSR85) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR86 ((volatile uint32_t *)REG_TRU0_SSR86) /* TRU0 Slave Select Register */
-#define pREG_TRU0_MTR ((volatile uint32_t *)REG_TRU0_MTR) /* TRU0 Master Trigger Register */
-#define pREG_TRU0_ERRADDR ((volatile uint32_t *)REG_TRU0_ERRADDR) /* TRU0 Error Address Register */
-#define pREG_TRU0_STAT ((volatile uint32_t *)REG_TRU0_STAT) /* TRU0 Status Information Register */
-#define pREG_TRU0_REVID ((volatile uint32_t *)REG_TRU0_REVID) /* TRU0 Revision ID Register */
-#define pREG_TRU0_GCTL ((volatile uint32_t *)REG_TRU0_GCTL) /* TRU0 Global Control Register */
-
-
-/* =========================================================================
- RCU0
- ========================================================================= */
-#define pREG_RCU0_CTL ((volatile uint32_t *)REG_RCU0_CTL) /* RCU0 Control Register */
-#define pREG_RCU0_STAT ((volatile uint32_t *)REG_RCU0_STAT) /* RCU0 Status Register */
-#define pREG_RCU0_CRCTL ((volatile uint32_t *)REG_RCU0_CRCTL) /* RCU0 Core Reset Control Register */
-#define pREG_RCU0_CRSTAT ((volatile uint32_t *)REG_RCU0_CRSTAT) /* RCU0 Core Reset Status Register */
-#define pREG_RCU0_SIDIS ((volatile uint32_t *)REG_RCU0_SIDIS) /* RCU0 System Interface Disable Register */
-#define pREG_RCU0_SISTAT ((volatile uint32_t *)REG_RCU0_SISTAT) /* RCU0 System Interface Status Register */
-#define pREG_RCU0_SVECT_LCK ((volatile uint32_t *)REG_RCU0_SVECT_LCK) /* RCU0 SVECT Lock Register */
-#define pREG_RCU0_BCODE ((volatile uint32_t *)REG_RCU0_BCODE) /* RCU0 Boot Code Register */
-#define pREG_RCU0_SVECT0 ((void * volatile *)REG_RCU0_SVECT0) /* RCU0 Software Vector Register n */
-#define pREG_RCU0_SVECT1 ((void * volatile *)REG_RCU0_SVECT1) /* RCU0 Software Vector Register n */
-
-
-/* =========================================================================
- SPU0
- ========================================================================= */
-#define pREG_SPU0_CTL ((volatile uint32_t *)REG_SPU0_CTL) /* SPU0 Control Register */
-#define pREG_SPU0_STAT ((volatile uint32_t *)REG_SPU0_STAT) /* SPU0 Status Register */
-#define pREG_SPU0_WP0 ((volatile uint32_t *)REG_SPU0_WP0) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP1 ((volatile uint32_t *)REG_SPU0_WP1) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP2 ((volatile uint32_t *)REG_SPU0_WP2) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP3 ((volatile uint32_t *)REG_SPU0_WP3) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP4 ((volatile uint32_t *)REG_SPU0_WP4) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP5 ((volatile uint32_t *)REG_SPU0_WP5) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP6 ((volatile uint32_t *)REG_SPU0_WP6) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP7 ((volatile uint32_t *)REG_SPU0_WP7) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP8 ((volatile uint32_t *)REG_SPU0_WP8) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP9 ((volatile uint32_t *)REG_SPU0_WP9) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP10 ((volatile uint32_t *)REG_SPU0_WP10) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP11 ((volatile uint32_t *)REG_SPU0_WP11) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP12 ((volatile uint32_t *)REG_SPU0_WP12) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP13 ((volatile uint32_t *)REG_SPU0_WP13) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP14 ((volatile uint32_t *)REG_SPU0_WP14) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP15 ((volatile uint32_t *)REG_SPU0_WP15) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP16 ((volatile uint32_t *)REG_SPU0_WP16) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP17 ((volatile uint32_t *)REG_SPU0_WP17) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP18 ((volatile uint32_t *)REG_SPU0_WP18) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP19 ((volatile uint32_t *)REG_SPU0_WP19) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP20 ((volatile uint32_t *)REG_SPU0_WP20) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP21 ((volatile uint32_t *)REG_SPU0_WP21) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP22 ((volatile uint32_t *)REG_SPU0_WP22) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP23 ((volatile uint32_t *)REG_SPU0_WP23) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP24 ((volatile uint32_t *)REG_SPU0_WP24) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP25 ((volatile uint32_t *)REG_SPU0_WP25) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP26 ((volatile uint32_t *)REG_SPU0_WP26) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP27 ((volatile uint32_t *)REG_SPU0_WP27) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP28 ((volatile uint32_t *)REG_SPU0_WP28) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP29 ((volatile uint32_t *)REG_SPU0_WP29) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP30 ((volatile uint32_t *)REG_SPU0_WP30) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP31 ((volatile uint32_t *)REG_SPU0_WP31) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP32 ((volatile uint32_t *)REG_SPU0_WP32) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP33 ((volatile uint32_t *)REG_SPU0_WP33) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP34 ((volatile uint32_t *)REG_SPU0_WP34) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP35 ((volatile uint32_t *)REG_SPU0_WP35) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP36 ((volatile uint32_t *)REG_SPU0_WP36) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP37 ((volatile uint32_t *)REG_SPU0_WP37) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP38 ((volatile uint32_t *)REG_SPU0_WP38) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP39 ((volatile uint32_t *)REG_SPU0_WP39) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP40 ((volatile uint32_t *)REG_SPU0_WP40) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP41 ((volatile uint32_t *)REG_SPU0_WP41) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP42 ((volatile uint32_t *)REG_SPU0_WP42) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP43 ((volatile uint32_t *)REG_SPU0_WP43) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP44 ((volatile uint32_t *)REG_SPU0_WP44) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP45 ((volatile uint32_t *)REG_SPU0_WP45) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP46 ((volatile uint32_t *)REG_SPU0_WP46) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP47 ((volatile uint32_t *)REG_SPU0_WP47) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP48 ((volatile uint32_t *)REG_SPU0_WP48) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP49 ((volatile uint32_t *)REG_SPU0_WP49) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP50 ((volatile uint32_t *)REG_SPU0_WP50) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP51 ((volatile uint32_t *)REG_SPU0_WP51) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP52 ((volatile uint32_t *)REG_SPU0_WP52) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP53 ((volatile uint32_t *)REG_SPU0_WP53) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP54 ((volatile uint32_t *)REG_SPU0_WP54) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP55 ((volatile uint32_t *)REG_SPU0_WP55) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP56 ((volatile uint32_t *)REG_SPU0_WP56) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP57 ((volatile uint32_t *)REG_SPU0_WP57) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP58 ((volatile uint32_t *)REG_SPU0_WP58) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP59 ((volatile uint32_t *)REG_SPU0_WP59) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP60 ((volatile uint32_t *)REG_SPU0_WP60) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP61 ((volatile uint32_t *)REG_SPU0_WP61) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP62 ((volatile uint32_t *)REG_SPU0_WP62) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP63 ((volatile uint32_t *)REG_SPU0_WP63) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP64 ((volatile uint32_t *)REG_SPU0_WP64) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP65 ((volatile uint32_t *)REG_SPU0_WP65) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP66 ((volatile uint32_t *)REG_SPU0_WP66) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP67 ((volatile uint32_t *)REG_SPU0_WP67) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP68 ((volatile uint32_t *)REG_SPU0_WP68) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP69 ((volatile uint32_t *)REG_SPU0_WP69) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP70 ((volatile uint32_t *)REG_SPU0_WP70) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP71 ((volatile uint32_t *)REG_SPU0_WP71) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP72 ((volatile uint32_t *)REG_SPU0_WP72) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP73 ((volatile uint32_t *)REG_SPU0_WP73) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP74 ((volatile uint32_t *)REG_SPU0_WP74) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP75 ((volatile uint32_t *)REG_SPU0_WP75) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP76 ((volatile uint32_t *)REG_SPU0_WP76) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP77 ((volatile uint32_t *)REG_SPU0_WP77) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP78 ((volatile uint32_t *)REG_SPU0_WP78) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP79 ((volatile uint32_t *)REG_SPU0_WP79) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP80 ((volatile uint32_t *)REG_SPU0_WP80) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP81 ((volatile uint32_t *)REG_SPU0_WP81) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP82 ((volatile uint32_t *)REG_SPU0_WP82) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP83 ((volatile uint32_t *)REG_SPU0_WP83) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP84 ((volatile uint32_t *)REG_SPU0_WP84) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP85 ((volatile uint32_t *)REG_SPU0_WP85) /* SPU0 Write Protect Register n */
-
-
-/* =========================================================================
- CGU0
- ========================================================================= */
-#define pREG_CGU0_CTL ((volatile uint32_t *)REG_CGU0_CTL) /* CGU0 Control Register */
-#define pREG_CGU0_STAT ((volatile uint32_t *)REG_CGU0_STAT) /* CGU0 Status Register */
-#define pREG_CGU0_DIV ((volatile uint32_t *)REG_CGU0_DIV) /* CGU0 Divisor Register */
-#define pREG_CGU0_CLKOUTSEL ((volatile uint32_t *)REG_CGU0_CLKOUTSEL) /* CGU0 CLKOUT Select Register */
-
-
-/* =========================================================================
- DPM0
- ========================================================================= */
-#define pREG_DPM0_CTL ((volatile uint32_t *)REG_DPM0_CTL) /* DPM0 Control Register */
-#define pREG_DPM0_STAT ((volatile uint32_t *)REG_DPM0_STAT) /* DPM0 Status Register */
-#define pREG_DPM0_CCBF_DIS ((volatile uint32_t *)REG_DPM0_CCBF_DIS) /* DPM0 Core Clock Buffer Disable Register */
-#define pREG_DPM0_CCBF_EN ((volatile uint32_t *)REG_DPM0_CCBF_EN) /* DPM0 Core Clock Buffer Enable Register */
-#define pREG_DPM0_CCBF_STAT ((volatile uint32_t *)REG_DPM0_CCBF_STAT) /* DPM0 Core Clock Buffer Status Register */
-#define pREG_DPM0_CCBF_STAT_STKY ((volatile uint32_t *)REG_DPM0_CCBF_STAT_STKY) /* DPM0 Core Clock Buffer Status Sticky Register */
-#define pREG_DPM0_SCBF_DIS ((volatile uint32_t *)REG_DPM0_SCBF_DIS) /* DPM0 System Clock Buffer Disable Register */
-#define pREG_DPM0_WAKE_EN ((volatile uint32_t *)REG_DPM0_WAKE_EN) /* DPM0 Wakeup Enable Register */
-#define pREG_DPM0_WAKE_POL ((volatile uint32_t *)REG_DPM0_WAKE_POL) /* DPM0 Wakeup Polarity Register */
-#define pREG_DPM0_WAKE_STAT ((volatile uint32_t *)REG_DPM0_WAKE_STAT) /* DPM0 Wakeup Status Register */
-#define pREG_DPM0_HIB_DIS ((volatile uint32_t *)REG_DPM0_HIB_DIS) /* DPM0 Hibernate Disable Register */
-#define pREG_DPM0_PGCNTR ((volatile uint32_t *)REG_DPM0_PGCNTR) /* DPM0 Power Good Counter Register */
-#define pREG_DPM0_RESTORE0 ((volatile uint32_t *)REG_DPM0_RESTORE0) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE1 ((volatile uint32_t *)REG_DPM0_RESTORE1) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE2 ((volatile uint32_t *)REG_DPM0_RESTORE2) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE3 ((volatile uint32_t *)REG_DPM0_RESTORE3) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE4 ((volatile uint32_t *)REG_DPM0_RESTORE4) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE5 ((volatile uint32_t *)REG_DPM0_RESTORE5) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE6 ((volatile uint32_t *)REG_DPM0_RESTORE6) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE7 ((volatile uint32_t *)REG_DPM0_RESTORE7) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE8 ((volatile uint32_t *)REG_DPM0_RESTORE8) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE9 ((volatile uint32_t *)REG_DPM0_RESTORE9) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE10 ((volatile uint32_t *)REG_DPM0_RESTORE10) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE11 ((volatile uint32_t *)REG_DPM0_RESTORE11) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE12 ((volatile uint32_t *)REG_DPM0_RESTORE12) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE13 ((volatile uint32_t *)REG_DPM0_RESTORE13) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE14 ((volatile uint32_t *)REG_DPM0_RESTORE14) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE15 ((volatile uint32_t *)REG_DPM0_RESTORE15) /* DPM0 Restore n Register */
-
-
-/* =========================================================================
- EFS0
- ========================================================================= */
-#define pREG_EFS0_CTL ((volatile uint32_t *)REG_EFS0_CTL) /* EFS0 Control Register */
-#define pREG_EFS0_DAT0 ((volatile uint32_t *)REG_EFS0_DAT0) /* EFS0 Data Register 0 */
-#define pREG_EFS0_DAT1 ((volatile uint32_t *)REG_EFS0_DAT1) /* EFS0 Data Register 1 */
-#define pREG_EFS0_DAT2 ((volatile uint32_t *)REG_EFS0_DAT2) /* EFS0 Data Register 2 */
-#define pREG_EFS0_DAT3 ((volatile uint32_t *)REG_EFS0_DAT3) /* EFS0 Data Register 3 */
-#define pREG_EFS0_DAT4 ((volatile uint32_t *)REG_EFS0_DAT4) /* EFS0 Data Register 4 */
-#define pREG_EFS0_DAT5 ((volatile uint32_t *)REG_EFS0_DAT5) /* EFS0 Data Register 5 */
-#define pREG_EFS0_DAT6 ((volatile uint32_t *)REG_EFS0_DAT6) /* EFS0 Data Register 6 */
-#define pREG_EFS0_DAT7 ((volatile uint32_t *)REG_EFS0_DAT7) /* EFS0 Data Register 7 */
-
-
-/* =========================================================================
- USB0
- ========================================================================= */
-#define pREG_USB0_FADDR ((volatile uint8_t *)REG_USB0_FADDR) /* USB0 Function Address Register */
-#define pREG_USB0_POWER ((volatile uint8_t *)REG_USB0_POWER) /* USB0 Power and Device Control Register */
-#define pREG_USB0_INTRTX ((volatile uint16_t *)REG_USB0_INTRTX) /* USB0 Transmit Interrupt Register */
-#define pREG_USB0_INTRRX ((volatile uint16_t *)REG_USB0_INTRRX) /* USB0 Receive Interrupt Register */
-#define pREG_USB0_INTRTXE ((volatile uint16_t *)REG_USB0_INTRTXE) /* USB0 Transmit Interrupt Enable Register */
-#define pREG_USB0_INTRRXE ((volatile uint16_t *)REG_USB0_INTRRXE) /* USB0 Receive Interrupt Enable Register */
-#define pREG_USB0_IRQ ((volatile uint8_t *)REG_USB0_IRQ) /* USB0 Common Interrupts Register */
-#define pREG_USB0_IEN ((volatile uint8_t *)REG_USB0_IEN) /* USB0 Common Interrupts Enable Register */
-#define pREG_USB0_FRAME ((volatile uint16_t *)REG_USB0_FRAME) /* USB0 Frame Number Register */
-#define pREG_USB0_INDEX ((volatile uint8_t *)REG_USB0_INDEX) /* USB0 Index Register */
-#define pREG_USB0_TESTMODE ((volatile uint8_t *)REG_USB0_TESTMODE) /* USB0 Testmode Register */
-#define pREG_USB0_EPI_TXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_TXMAXP0) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EPI_TXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_P0) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EPI_TXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_H0) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0I_CSR0_P ((volatile uint16_t *)REG_USB0_EP0I_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CSR0_H ((volatile uint16_t *)REG_USB0_EP0I_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_RXMAXP0) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EPI_RXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_H0) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_P0) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CNT0 ((volatile uint16_t *)REG_USB0_EP0I_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EPI_RXCNT0 ((volatile uint16_t *)REG_USB0_EPI_RXCNT0) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EPI_TXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_TXTYPE0) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0I_TYPE0 ((volatile uint8_t *)REG_USB0_EP0I_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EPI_TXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_TXINTERVAL0) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0I_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0I_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EPI_RXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_RXTYPE0) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EPI_RXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_RXINTERVAL0) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0I_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0I_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_FIFOB0 ((volatile uint8_t *)REG_USB0_FIFOB0) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB1 ((volatile uint8_t *)REG_USB0_FIFOB1) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB2 ((volatile uint8_t *)REG_USB0_FIFOB2) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB3 ((volatile uint8_t *)REG_USB0_FIFOB3) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB4 ((volatile uint8_t *)REG_USB0_FIFOB4) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB5 ((volatile uint8_t *)REG_USB0_FIFOB5) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB6 ((volatile uint8_t *)REG_USB0_FIFOB6) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB7 ((volatile uint8_t *)REG_USB0_FIFOB7) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB8 ((volatile uint8_t *)REG_USB0_FIFOB8) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB9 ((volatile uint8_t *)REG_USB0_FIFOB9) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB10 ((volatile uint8_t *)REG_USB0_FIFOB10) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB11 ((volatile uint8_t *)REG_USB0_FIFOB11) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOH0 ((volatile uint16_t *)REG_USB0_FIFOH0) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH1 ((volatile uint16_t *)REG_USB0_FIFOH1) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH2 ((volatile uint16_t *)REG_USB0_FIFOH2) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH3 ((volatile uint16_t *)REG_USB0_FIFOH3) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH4 ((volatile uint16_t *)REG_USB0_FIFOH4) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH5 ((volatile uint16_t *)REG_USB0_FIFOH5) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH6 ((volatile uint16_t *)REG_USB0_FIFOH6) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH7 ((volatile uint16_t *)REG_USB0_FIFOH7) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH8 ((volatile uint16_t *)REG_USB0_FIFOH8) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH9 ((volatile uint16_t *)REG_USB0_FIFOH9) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH10 ((volatile uint16_t *)REG_USB0_FIFOH10) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH11 ((volatile uint16_t *)REG_USB0_FIFOH11) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFO0 ((volatile uint32_t *)REG_USB0_FIFO0) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO1 ((volatile uint32_t *)REG_USB0_FIFO1) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO2 ((volatile uint32_t *)REG_USB0_FIFO2) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO3 ((volatile uint32_t *)REG_USB0_FIFO3) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO4 ((volatile uint32_t *)REG_USB0_FIFO4) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO5 ((volatile uint32_t *)REG_USB0_FIFO5) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO6 ((volatile uint32_t *)REG_USB0_FIFO6) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO7 ((volatile uint32_t *)REG_USB0_FIFO7) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO8 ((volatile uint32_t *)REG_USB0_FIFO8) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO9 ((volatile uint32_t *)REG_USB0_FIFO9) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO10 ((volatile uint32_t *)REG_USB0_FIFO10) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO11 ((volatile uint32_t *)REG_USB0_FIFO11) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_DEV_CTL ((volatile uint8_t *)REG_USB0_DEV_CTL) /* USB0 Device Control Register */
-#define pREG_USB0_TXFIFOSZ ((volatile uint8_t *)REG_USB0_TXFIFOSZ) /* USB0 Transmit FIFO Size Register */
-#define pREG_USB0_RXFIFOSZ ((volatile uint8_t *)REG_USB0_RXFIFOSZ) /* USB0 Receive FIFO Size Register */
-#define pREG_USB0_TXFIFOADDR ((volatile uint16_t *)REG_USB0_TXFIFOADDR) /* USB0 Transmit FIFO Address Register */
-#define pREG_USB0_RXFIFOADDR ((volatile uint16_t *)REG_USB0_RXFIFOADDR) /* USB0 Receive FIFO Address Register */
-#define pREG_USB0_EPINFO ((volatile uint8_t *)REG_USB0_EPINFO) /* USB0 Endpoint Information Register */
-#define pREG_USB0_RAMINFO ((volatile uint8_t *)REG_USB0_RAMINFO) /* USB0 RAM Information Register */
-#define pREG_USB0_LINKINFO ((volatile uint8_t *)REG_USB0_LINKINFO) /* USB0 Link Information Register */
-#define pREG_USB0_VPLEN ((volatile uint8_t *)REG_USB0_VPLEN) /* USB0 VBUS Pulse Length Register */
-#define pREG_USB0_HS_EOF1 ((volatile uint8_t *)REG_USB0_HS_EOF1) /* USB0 High-Speed EOF 1 Register */
-#define pREG_USB0_FS_EOF1 ((volatile uint8_t *)REG_USB0_FS_EOF1) /* USB0 Full-Speed EOF 1 Register */
-#define pREG_USB0_LS_EOF1 ((volatile uint8_t *)REG_USB0_LS_EOF1) /* USB0 Low-Speed EOF 1 Register */
-#define pREG_USB0_SOFT_RST ((volatile uint8_t *)REG_USB0_SOFT_RST) /* USB0 Software Reset Register */
-#define pREG_USB0_MP0_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP1_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP2_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP3_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP4_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP5_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP6_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP7_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP8_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP9_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP10_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP11_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP0_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP1_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP2_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP3_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP4_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP5_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP6_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP7_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP8_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP9_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP10_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP11_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP0_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP1_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP2_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP3_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP4_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP5_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP6_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP7_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP8_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP9_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP10_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP11_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP0_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP1_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP2_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP3_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP4_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP5_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP6_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP7_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP8_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP9_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP10_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP11_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP0_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP1_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP2_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP3_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP4_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP5_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP6_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP7_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP8_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP9_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP10_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP11_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP0_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP1_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP2_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP3_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP4_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP5_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP6_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP7_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP8_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP9_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP10_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP11_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_EP0_TXMAXP ((volatile uint16_t *)REG_USB0_EP0_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP1_TXMAXP ((volatile uint16_t *)REG_USB0_EP1_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP2_TXMAXP ((volatile uint16_t *)REG_USB0_EP2_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP3_TXMAXP ((volatile uint16_t *)REG_USB0_EP3_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP4_TXMAXP ((volatile uint16_t *)REG_USB0_EP4_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP5_TXMAXP ((volatile uint16_t *)REG_USB0_EP5_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP6_TXMAXP ((volatile uint16_t *)REG_USB0_EP6_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP7_TXMAXP ((volatile uint16_t *)REG_USB0_EP7_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP8_TXMAXP ((volatile uint16_t *)REG_USB0_EP8_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP9_TXMAXP ((volatile uint16_t *)REG_USB0_EP9_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP10_TXMAXP ((volatile uint16_t *)REG_USB0_EP10_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP11_TXMAXP ((volatile uint16_t *)REG_USB0_EP11_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP0_CSR0_H ((volatile uint16_t *)REG_USB0_EP0_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_TXCSR_H ((volatile uint16_t *)REG_USB0_EP0_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_TXCSR_H ((volatile uint16_t *)REG_USB0_EP1_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_TXCSR_H ((volatile uint16_t *)REG_USB0_EP2_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_TXCSR_H ((volatile uint16_t *)REG_USB0_EP3_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_TXCSR_H ((volatile uint16_t *)REG_USB0_EP4_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_TXCSR_H ((volatile uint16_t *)REG_USB0_EP5_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_TXCSR_H ((volatile uint16_t *)REG_USB0_EP6_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_TXCSR_H ((volatile uint16_t *)REG_USB0_EP7_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_TXCSR_H ((volatile uint16_t *)REG_USB0_EP8_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_TXCSR_H ((volatile uint16_t *)REG_USB0_EP9_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_TXCSR_H ((volatile uint16_t *)REG_USB0_EP10_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_TXCSR_H ((volatile uint16_t *)REG_USB0_EP11_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_CSR0_P ((volatile uint16_t *)REG_USB0_EP0_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_TXCSR_P ((volatile uint16_t *)REG_USB0_EP0_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_TXCSR_P ((volatile uint16_t *)REG_USB0_EP1_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_TXCSR_P ((volatile uint16_t *)REG_USB0_EP2_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_TXCSR_P ((volatile uint16_t *)REG_USB0_EP3_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_TXCSR_P ((volatile uint16_t *)REG_USB0_EP4_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_TXCSR_P ((volatile uint16_t *)REG_USB0_EP5_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_TXCSR_P ((volatile uint16_t *)REG_USB0_EP6_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_TXCSR_P ((volatile uint16_t *)REG_USB0_EP7_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_TXCSR_P ((volatile uint16_t *)REG_USB0_EP8_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_TXCSR_P ((volatile uint16_t *)REG_USB0_EP9_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_TXCSR_P ((volatile uint16_t *)REG_USB0_EP10_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_TXCSR_P ((volatile uint16_t *)REG_USB0_EP11_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_RXMAXP ((volatile uint16_t *)REG_USB0_EP0_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP1_RXMAXP ((volatile uint16_t *)REG_USB0_EP1_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP2_RXMAXP ((volatile uint16_t *)REG_USB0_EP2_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP3_RXMAXP ((volatile uint16_t *)REG_USB0_EP3_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP4_RXMAXP ((volatile uint16_t *)REG_USB0_EP4_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP5_RXMAXP ((volatile uint16_t *)REG_USB0_EP5_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP6_RXMAXP ((volatile uint16_t *)REG_USB0_EP6_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP7_RXMAXP ((volatile uint16_t *)REG_USB0_EP7_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP8_RXMAXP ((volatile uint16_t *)REG_USB0_EP8_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP9_RXMAXP ((volatile uint16_t *)REG_USB0_EP9_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP10_RXMAXP ((volatile uint16_t *)REG_USB0_EP10_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP11_RXMAXP ((volatile uint16_t *)REG_USB0_EP11_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP0_RXCSR_H ((volatile uint16_t *)REG_USB0_EP0_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_RXCSR_H ((volatile uint16_t *)REG_USB0_EP1_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_RXCSR_H ((volatile uint16_t *)REG_USB0_EP2_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_RXCSR_H ((volatile uint16_t *)REG_USB0_EP3_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_RXCSR_H ((volatile uint16_t *)REG_USB0_EP4_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_RXCSR_H ((volatile uint16_t *)REG_USB0_EP5_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_RXCSR_H ((volatile uint16_t *)REG_USB0_EP6_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_RXCSR_H ((volatile uint16_t *)REG_USB0_EP7_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_RXCSR_H ((volatile uint16_t *)REG_USB0_EP8_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_RXCSR_H ((volatile uint16_t *)REG_USB0_EP9_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_RXCSR_H ((volatile uint16_t *)REG_USB0_EP10_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_RXCSR_H ((volatile uint16_t *)REG_USB0_EP11_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_RXCSR_P ((volatile uint16_t *)REG_USB0_EP0_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_RXCSR_P ((volatile uint16_t *)REG_USB0_EP1_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_RXCSR_P ((volatile uint16_t *)REG_USB0_EP2_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_RXCSR_P ((volatile uint16_t *)REG_USB0_EP3_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_RXCSR_P ((volatile uint16_t *)REG_USB0_EP4_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_RXCSR_P ((volatile uint16_t *)REG_USB0_EP5_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_RXCSR_P ((volatile uint16_t *)REG_USB0_EP6_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_RXCSR_P ((volatile uint16_t *)REG_USB0_EP7_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_RXCSR_P ((volatile uint16_t *)REG_USB0_EP8_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_RXCSR_P ((volatile uint16_t *)REG_USB0_EP9_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_RXCSR_P ((volatile uint16_t *)REG_USB0_EP10_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_RXCSR_P ((volatile uint16_t *)REG_USB0_EP11_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_CNT0 ((volatile uint16_t *)REG_USB0_EP0_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EP0_RXCNT ((volatile uint16_t *)REG_USB0_EP0_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP1_RXCNT ((volatile uint16_t *)REG_USB0_EP1_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP2_RXCNT ((volatile uint16_t *)REG_USB0_EP2_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP3_RXCNT ((volatile uint16_t *)REG_USB0_EP3_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP4_RXCNT ((volatile uint16_t *)REG_USB0_EP4_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP5_RXCNT ((volatile uint16_t *)REG_USB0_EP5_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP6_RXCNT ((volatile uint16_t *)REG_USB0_EP6_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP7_RXCNT ((volatile uint16_t *)REG_USB0_EP7_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP8_RXCNT ((volatile uint16_t *)REG_USB0_EP8_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP9_RXCNT ((volatile uint16_t *)REG_USB0_EP9_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP10_RXCNT ((volatile uint16_t *)REG_USB0_EP10_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP11_RXCNT ((volatile uint16_t *)REG_USB0_EP11_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP0_TYPE0 ((volatile uint8_t *)REG_USB0_EP0_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EP0_TXTYPE ((volatile uint8_t *)REG_USB0_EP0_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP1_TXTYPE ((volatile uint8_t *)REG_USB0_EP1_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP2_TXTYPE ((volatile uint8_t *)REG_USB0_EP2_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP3_TXTYPE ((volatile uint8_t *)REG_USB0_EP3_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP4_TXTYPE ((volatile uint8_t *)REG_USB0_EP4_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP5_TXTYPE ((volatile uint8_t *)REG_USB0_EP5_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP6_TXTYPE ((volatile uint8_t *)REG_USB0_EP6_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP7_TXTYPE ((volatile uint8_t *)REG_USB0_EP7_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP8_TXTYPE ((volatile uint8_t *)REG_USB0_EP8_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP9_TXTYPE ((volatile uint8_t *)REG_USB0_EP9_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP10_TXTYPE ((volatile uint8_t *)REG_USB0_EP10_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP11_TXTYPE ((volatile uint8_t *)REG_USB0_EP11_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EP0_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP1_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP2_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP3_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP4_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP5_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP6_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP7_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP8_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP9_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP10_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP11_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0_RXTYPE ((volatile uint8_t *)REG_USB0_EP0_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP1_RXTYPE ((volatile uint8_t *)REG_USB0_EP1_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP2_RXTYPE ((volatile uint8_t *)REG_USB0_EP2_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP3_RXTYPE ((volatile uint8_t *)REG_USB0_EP3_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP4_RXTYPE ((volatile uint8_t *)REG_USB0_EP4_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP5_RXTYPE ((volatile uint8_t *)REG_USB0_EP5_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP6_RXTYPE ((volatile uint8_t *)REG_USB0_EP6_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP7_RXTYPE ((volatile uint8_t *)REG_USB0_EP7_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP8_RXTYPE ((volatile uint8_t *)REG_USB0_EP8_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP9_RXTYPE ((volatile uint8_t *)REG_USB0_EP9_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP10_RXTYPE ((volatile uint8_t *)REG_USB0_EP10_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP11_RXTYPE ((volatile uint8_t *)REG_USB0_EP11_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP0_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP1_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP2_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP3_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP4_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP5_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP6_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP7_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP8_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP9_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP10_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP11_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_DMA_IRQ ((volatile uint8_t *)REG_USB0_DMA_IRQ) /* USB0 DMA Interrupt Register */
-#define pREG_USB0_DMA0_CTL ((volatile uint16_t *)REG_USB0_DMA0_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA1_CTL ((volatile uint16_t *)REG_USB0_DMA1_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA2_CTL ((volatile uint16_t *)REG_USB0_DMA2_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA3_CTL ((volatile uint16_t *)REG_USB0_DMA3_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA4_CTL ((volatile uint16_t *)REG_USB0_DMA4_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA5_CTL ((volatile uint16_t *)REG_USB0_DMA5_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA6_CTL ((volatile uint16_t *)REG_USB0_DMA6_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA7_CTL ((volatile uint16_t *)REG_USB0_DMA7_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA0_ADDR ((void * volatile *)REG_USB0_DMA0_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA1_ADDR ((void * volatile *)REG_USB0_DMA1_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA2_ADDR ((void * volatile *)REG_USB0_DMA2_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA3_ADDR ((void * volatile *)REG_USB0_DMA3_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA4_ADDR ((void * volatile *)REG_USB0_DMA4_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA5_ADDR ((void * volatile *)REG_USB0_DMA5_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA6_ADDR ((void * volatile *)REG_USB0_DMA6_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA7_ADDR ((void * volatile *)REG_USB0_DMA7_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA0_CNT ((volatile uint32_t *)REG_USB0_DMA0_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA1_CNT ((volatile uint32_t *)REG_USB0_DMA1_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA2_CNT ((volatile uint32_t *)REG_USB0_DMA2_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA3_CNT ((volatile uint32_t *)REG_USB0_DMA3_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA4_CNT ((volatile uint32_t *)REG_USB0_DMA4_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA5_CNT ((volatile uint32_t *)REG_USB0_DMA5_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA6_CNT ((volatile uint32_t *)REG_USB0_DMA6_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA7_CNT ((volatile uint32_t *)REG_USB0_DMA7_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_RQPKTCNT0 ((volatile uint16_t *)REG_USB0_RQPKTCNT0) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT1 ((volatile uint16_t *)REG_USB0_RQPKTCNT1) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT2 ((volatile uint16_t *)REG_USB0_RQPKTCNT2) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT3 ((volatile uint16_t *)REG_USB0_RQPKTCNT3) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT4 ((volatile uint16_t *)REG_USB0_RQPKTCNT4) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT5 ((volatile uint16_t *)REG_USB0_RQPKTCNT5) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT6 ((volatile uint16_t *)REG_USB0_RQPKTCNT6) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT7 ((volatile uint16_t *)REG_USB0_RQPKTCNT7) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT8 ((volatile uint16_t *)REG_USB0_RQPKTCNT8) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT9 ((volatile uint16_t *)REG_USB0_RQPKTCNT9) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT10 ((volatile uint16_t *)REG_USB0_RQPKTCNT10) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_CT_UCH ((volatile uint16_t *)REG_USB0_CT_UCH) /* USB0 Chirp Timeout Register */
-#define pREG_USB0_CT_HHSRTN ((volatile uint16_t *)REG_USB0_CT_HHSRTN) /* USB0 Host High Speed Return to Normal Register */
-#define pREG_USB0_CT_HSBT ((volatile uint16_t *)REG_USB0_CT_HSBT) /* USB0 High Speed Timeout Register */
-#define pREG_USB0_LPM_ATTR ((volatile uint16_t *)REG_USB0_LPM_ATTR) /* USB0 LPM Attribute Register */
-#define pREG_USB0_LPM_CTL ((volatile uint8_t *)REG_USB0_LPM_CTL) /* USB0 LPM Control Register */
-#define pREG_USB0_LPM_IEN ((volatile uint8_t *)REG_USB0_LPM_IEN) /* USB0 LPM Interrupt Enable Register */
-#define pREG_USB0_LPM_IRQ ((volatile uint8_t *)REG_USB0_LPM_IRQ) /* USB0 LPM Interrupt Status Register */
-#define pREG_USB0_LPM_FADDR ((volatile uint8_t *)REG_USB0_LPM_FADDR) /* USB0 LPM Function Address Register */
-#define pREG_USB0_VBUS_CTL ((volatile uint8_t *)REG_USB0_VBUS_CTL) /* USB0 VBUS Control Register */
-#define pREG_USB0_BAT_CHG ((volatile uint8_t *)REG_USB0_BAT_CHG) /* USB0 Battery Charging Control Register */
-#define pREG_USB0_PHY_CTL ((volatile uint8_t *)REG_USB0_PHY_CTL) /* USB0 PHY Control Register */
-#define pREG_USB0_PLL_OSC ((volatile uint16_t *)REG_USB0_PLL_OSC) /* USB0 PLL and Oscillator Control Register */
-
-
-/* =========================================================================
- L1DM0
- ========================================================================= */
-#define pSRAM_BASE_ADDRESS ((void * volatile *)SRAM_BASE_ADDRESS) /* SRAM Base Address */
-#define pDMEM_CONTROL ((volatile uint32_t *)DMEM_CONTROL) /* Data memory control */
-#define pDCPLB_STATUS ((volatile uint32_t *)DCPLB_STATUS) /* Data Cacheability Protection Lookaside Buffer Status */
-#define pDCPLB_FAULT_ADDR ((void * volatile *)DCPLB_FAULT_ADDR) /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define pDCPLB_ADDR0 ((void * volatile *)DCPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR1 ((void * volatile *)DCPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR2 ((void * volatile *)DCPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR3 ((void * volatile *)DCPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR4 ((void * volatile *)DCPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR5 ((void * volatile *)DCPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR6 ((void * volatile *)DCPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR7 ((void * volatile *)DCPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR8 ((void * volatile *)DCPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR9 ((void * volatile *)DCPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR10 ((void * volatile *)DCPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR11 ((void * volatile *)DCPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR12 ((void * volatile *)DCPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR13 ((void * volatile *)DCPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR14 ((void * volatile *)DCPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR15 ((void * volatile *)DCPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_DATA0 ((volatile uint32_t *)DCPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA1 ((volatile uint32_t *)DCPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA2 ((volatile uint32_t *)DCPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA3 ((volatile uint32_t *)DCPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA4 ((volatile uint32_t *)DCPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA5 ((volatile uint32_t *)DCPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA6 ((volatile uint32_t *)DCPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA7 ((volatile uint32_t *)DCPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA8 ((volatile uint32_t *)DCPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA9 ((volatile uint32_t *)DCPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA10 ((volatile uint32_t *)DCPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA11 ((volatile uint32_t *)DCPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA12 ((volatile uint32_t *)DCPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA13 ((volatile uint32_t *)DCPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA14 ((volatile uint32_t *)DCPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA15 ((volatile uint32_t *)DCPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDTEST_COMMAND ((volatile uint32_t *)DTEST_COMMAND) /* Data Test Command Register */
-#define pDTEST_DATA0 ((volatile uint32_t *)DTEST_DATA0) /* Data Test Data Register */
-#define pDTEST_DATA1 ((volatile uint32_t *)DTEST_DATA1) /* Data Test Data Register */
-#define pL1DBNKA_PELOC ((volatile uint32_t *)L1DBNKA_PELOC) /* Data Bank A Parity Error Location */
-#define pL1DBNKB_PELOC ((volatile uint32_t *)L1DBNKB_PELOC) /* Data Bank B Parity Error Location */
-
-
-/* =========================================================================
- L1IM0
- ========================================================================= */
-#define pIMEM_CONTROL ((volatile uint32_t *)IMEM_CONTROL) /* Instruction memory control */
-#define pICPLB_STATUS ((volatile uint32_t *)ICPLB_STATUS) /* Cacheability Protection Lookaside Buffer Status */
-#define pICPLB_FAULT_ADDR ((void * volatile *)ICPLB_FAULT_ADDR) /* Cacheability Protection Lookaside Buffer Fault Address */
-#define pICPLB_ADDR0 ((void * volatile *)ICPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR1 ((void * volatile *)ICPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR2 ((void * volatile *)ICPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR3 ((void * volatile *)ICPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR4 ((void * volatile *)ICPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR5 ((void * volatile *)ICPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR6 ((void * volatile *)ICPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR7 ((void * volatile *)ICPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR8 ((void * volatile *)ICPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR9 ((void * volatile *)ICPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR10 ((void * volatile *)ICPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR11 ((void * volatile *)ICPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR12 ((void * volatile *)ICPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR13 ((void * volatile *)ICPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR14 ((void * volatile *)ICPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR15 ((void * volatile *)ICPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_DATA0 ((volatile uint32_t *)ICPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA1 ((volatile uint32_t *)ICPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA2 ((volatile uint32_t *)ICPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA3 ((volatile uint32_t *)ICPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA4 ((volatile uint32_t *)ICPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA5 ((volatile uint32_t *)ICPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA6 ((volatile uint32_t *)ICPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA7 ((volatile uint32_t *)ICPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA8 ((volatile uint32_t *)ICPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA9 ((volatile uint32_t *)ICPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA10 ((volatile uint32_t *)ICPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA11 ((volatile uint32_t *)ICPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA12 ((volatile uint32_t *)ICPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA13 ((volatile uint32_t *)ICPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA14 ((volatile uint32_t *)ICPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA15 ((volatile uint32_t *)ICPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pITEST_COMMAND ((volatile uint32_t *)ITEST_COMMAND) /* Instruction Test Command Register */
-#define pITEST_DATA0 ((volatile uint32_t *)ITEST_DATA0) /* Instruction Test Data Register */
-#define pITEST_DATA1 ((volatile uint32_t *)ITEST_DATA1) /* Instruction Test Data Register */
-#define pL1IBNKA_PELOC ((volatile uint32_t *)L1IBNKA_PELOC) /* Instruction Bank A Parity Error Location */
-#define pL1IBNKB_PELOC ((volatile uint32_t *)L1IBNKB_PELOC) /* Instruction Bank B Parity Error Location */
-#define pL1IBNKC_PELOC ((volatile uint32_t *)L1IBNKC_PELOC) /* Instruction Bank C Parity Error Location */
-
-
-/* =========================================================================
- ICU0
- ========================================================================= */
-#define pEVT0 ((void * volatile *)EVT0) /* Event Vector */
-#define pEVT1 ((void * volatile *)EVT1) /* Event Vector */
-#define pEVT2 ((void * volatile *)EVT2) /* Event Vector */
-#define pEVT3 ((void * volatile *)EVT3) /* Event Vector */
-#define pEVT4 ((void * volatile *)EVT4) /* Event Vector */
-#define pEVT5 ((void * volatile *)EVT5) /* Event Vector */
-#define pEVT6 ((void * volatile *)EVT6) /* Event Vector */
-#define pEVT7 ((void * volatile *)EVT7) /* Event Vector */
-#define pEVT8 ((void * volatile *)EVT8) /* Event Vector */
-#define pEVT9 ((void * volatile *)EVT9) /* Event Vector */
-#define pEVT10 ((void * volatile *)EVT10) /* Event Vector */
-#define pEVT11 ((void * volatile *)EVT11) /* Event Vector */
-#define pEVT12 ((void * volatile *)EVT12) /* Event Vector */
-#define pEVT13 ((void * volatile *)EVT13) /* Event Vector */
-#define pEVT14 ((void * volatile *)EVT14) /* Event Vector */
-#define pEVT15 ((void * volatile *)EVT15) /* Event Vector */
-#define pIMASK ((volatile uint32_t *)IMASK) /* Interrupt Mask Register */
-#define pIPEND ((volatile uint32_t *)IPEND) /* Interrupts Pending Register */
-#define pILAT ((volatile uint32_t *)ILAT) /* Interrupt Latch Register */
-#define pIPRIO ((volatile uint32_t *)IPRIO) /* Interrupt Priority Register */
-#define pCEC_SID ((volatile uint32_t *)CEC_SID) /* Core System Interrupt ID */
-
-
-/* =========================================================================
- TMR0
- ========================================================================= */
-#define pTCNTL ((volatile uint32_t *)TCNTL) /* Timer Control Register */
-#define pTPERIOD ((volatile uint32_t *)TPERIOD) /* Timer Period Register */
-#define pTSCALE ((volatile uint32_t *)TSCALE) /* Timer Scale Register */
-#define pTCOUNT ((volatile uint32_t *)TCOUNT) /* Timer Count Register */
-
-
-/* =========================================================================
- DBG0
- ========================================================================= */
-#define pDSPID ((volatile uint32_t *)DSPID) /* DSP Identification Register */
-
-
-/* =========================================================================
- TB0
- ========================================================================= */
-#define pTBUFCTL ((volatile uint32_t *)TBUFCTL) /* Trace Buffer Control Register */
-#define pTBUFSTAT ((volatile uint32_t *)TBUFSTAT) /* Trace Buffer Status Register */
-#define pTBUF ((void * volatile *)TBUF) /* Trace Buffer */
-
-
-/* =========================================================================
- WP0
- ========================================================================= */
-#define pWPIACTL ((volatile uint32_t *)WPIACTL) /* Watchpoint Instruction Address Control Register 01 */
-#define pWPIA0 ((void * volatile *)WPIA0) /* Watchpoint Instruction Address Register */
-#define pWPIA1 ((void * volatile *)WPIA1) /* Watchpoint Instruction Address Register */
-#define pWPIA2 ((void * volatile *)WPIA2) /* Watchpoint Instruction Address Register */
-#define pWPIA3 ((void * volatile *)WPIA3) /* Watchpoint Instruction Address Register */
-#define pWPIA4 ((void * volatile *)WPIA4) /* Watchpoint Instruction Address Register */
-#define pWPIA5 ((void * volatile *)WPIA5) /* Watchpoint Instruction Address Register */
-#define pWPIACNT0 ((volatile uint32_t *)WPIACNT0) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT1 ((volatile uint32_t *)WPIACNT1) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT2 ((volatile uint32_t *)WPIACNT2) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT3 ((volatile uint32_t *)WPIACNT3) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT4 ((volatile uint32_t *)WPIACNT4) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT5 ((volatile uint32_t *)WPIACNT5) /* Watchpoint Instruction Address Count Register */
-#define pWPDACTL ((volatile uint32_t *)WPDACTL) /* Watchpoint Data Address Control Register */
-#define pWPDA0 ((void * volatile *)WPDA0) /* Watchpoint Data Address Register */
-#define pWPDA1 ((void * volatile *)WPDA1) /* Watchpoint Data Address Register */
-#define pWPDACNT0 ((volatile uint32_t *)WPDACNT0) /* Watchpoint Data Address Count Value Register */
-#define pWPDACNT1 ((volatile uint32_t *)WPDACNT1) /* Watchpoint Data Address Count Value Register */
-#define pWPSTAT ((volatile uint32_t *)WPSTAT) /* Watchpoint Status Register */
-
-
-/* =========================================================================
- PF0
- ========================================================================= */
-#define pPFCTL ((volatile uint32_t *)PFCTL) /* Performance Monitor Control Register */
-#define pPFCNTR0 ((volatile uint32_t *)PFCNTR0) /* Performance Monitor Counter 0 */
-#define pPFCNTR1 ((volatile uint32_t *)PFCNTR1) /* Performance Monitor Counter 1 */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* end ifndef _CDEF_BF606_H */
diff --git a/libgloss/bfin/include/cdefBF607.h b/libgloss/bfin/include/cdefBF607.h
deleted file mode 100644
index 3ed6b8a..0000000
--- a/libgloss/bfin/include/cdefBF607.h
+++ /dev/null
@@ -1,4153 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* =========================================================================
-
- Project : ADSP-BF607
- File : cdefBF607.h
- Description : C register and bitfield definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ========================================================================= */
-#ifndef _CDEF_BF607_H
-#define _CDEF_BF607_H
-
-#include <stdint.h>
-#include <defBF607.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_7:"ADI header will re-use identifiers")
-#pragma diag(suppress:misra_rule_6_3:"ADI header allows use of basic types")
-#endif /* _MISRA_RULES */
-
-
-
-
-/* =========================================================================
- CNT0
- ========================================================================= */
-#define pREG_CNT0_CFG ((volatile uint16_t *)REG_CNT0_CFG) /* CNT0 Configuration Register */
-#define pREG_CNT0_IMSK ((volatile uint16_t *)REG_CNT0_IMSK) /* CNT0 Interrupt Mask Register */
-#define pREG_CNT0_STAT ((volatile uint16_t *)REG_CNT0_STAT) /* CNT0 Status Register */
-#define pREG_CNT0_CMD ((volatile uint16_t *)REG_CNT0_CMD) /* CNT0 Command Register */
-#define pREG_CNT0_DEBNCE ((volatile uint16_t *)REG_CNT0_DEBNCE) /* CNT0 Debounce Register */
-#define pREG_CNT0_CNTR ((volatile uint32_t *)REG_CNT0_CNTR) /* CNT0 Counter Register */
-#define pREG_CNT0_MAX ((volatile uint32_t *)REG_CNT0_MAX) /* CNT0 Maximum Count Register */
-#define pREG_CNT0_MIN ((volatile uint32_t *)REG_CNT0_MIN) /* CNT0 Minimum Count Register */
-
-
-/* =========================================================================
- RSI0
- ========================================================================= */
-#define pREG_RSI0_CTL ((volatile uint16_t *)REG_RSI0_CTL) /* RSI0 Control Register */
-#define pREG_RSI0_ARG ((volatile uint32_t *)REG_RSI0_ARG) /* RSI0 Argument Register */
-#define pREG_RSI0_CMD ((volatile uint16_t *)REG_RSI0_CMD) /* RSI0 Command Register */
-#define pREG_RSI0_RESP_CMD ((volatile uint16_t *)REG_RSI0_RESP_CMD) /* RSI0 Response Command Register */
-#define pREG_RSI0_RESP0 ((volatile uint32_t *)REG_RSI0_RESP0) /* RSI0 Response 0 Register */
-#define pREG_RSI0_RESP1 ((volatile uint32_t *)REG_RSI0_RESP1) /* RSI0 Response 1 Register */
-#define pREG_RSI0_RESP2 ((volatile uint32_t *)REG_RSI0_RESP2) /* RSI0 Response 2 Register */
-#define pREG_RSI0_RESP3 ((volatile uint32_t *)REG_RSI0_RESP3) /* RSI0 Response 3 Register */
-#define pREG_RSI0_DATA_TMR ((volatile uint32_t *)REG_RSI0_DATA_TMR) /* RSI0 Data Timer Register */
-#define pREG_RSI0_DATA_LEN ((volatile uint16_t *)REG_RSI0_DATA_LEN) /* RSI0 Data Length Register */
-#define pREG_RSI0_DATA_CTL ((volatile uint16_t *)REG_RSI0_DATA_CTL) /* RSI0 Data Control Register */
-#define pREG_RSI0_DATA_CNT ((volatile uint16_t *)REG_RSI0_DATA_CNT) /* RSI0 Data Count Register */
-#define pREG_RSI0_XFRSTAT ((volatile uint32_t *)REG_RSI0_XFRSTAT) /* RSI0 Status Register */
-#define pREG_RSI0_XFRSTAT_CLR ((volatile uint16_t *)REG_RSI0_XFRSTAT_CLR) /* RSI0 Status Clear Register */
-#define pREG_RSI0_XFR_IMSK0 ((volatile uint32_t *)REG_RSI0_XFR_IMSK0) /* RSI0 Interrupt 0 Mask Register */
-#define pREG_RSI0_XFR_IMSK1 ((volatile uint32_t *)REG_RSI0_XFR_IMSK1) /* RSI0 Interrupt 1 Mask Register */
-#define pREG_RSI0_FIFO_CNT ((volatile uint16_t *)REG_RSI0_FIFO_CNT) /* RSI0 FIFO Counter Register */
-#define pREG_RSI0_CEATA ((volatile uint32_t *)REG_RSI0_CEATA) /* RSI0 This register contains bit to dis CCS gen */
-#define pREG_RSI0_BOOT_TCNTR ((volatile uint16_t *)REG_RSI0_BOOT_TCNTR) /* RSI0 Boot Timing Counter Register */
-#define pREG_RSI0_BACK_TOUT ((volatile uint32_t *)REG_RSI0_BACK_TOUT) /* RSI0 Boot Acknowledge Timeout Register */
-#define pREG_RSI0_SLP_WKUP_TOUT ((volatile uint32_t *)REG_RSI0_SLP_WKUP_TOUT) /* RSI0 Sleep Wakeup Timeout Register */
-#define pREG_RSI0_BLKSZ ((volatile uint16_t *)REG_RSI0_BLKSZ) /* RSI0 Block Size Register */
-#define pREG_RSI0_FIFO ((volatile uint32_t *)REG_RSI0_FIFO) /* RSI0 Data FIFO Register */
-#define pREG_RSI0_STAT0 ((volatile uint32_t *)REG_RSI0_STAT0) /* RSI0 Exception Status Register */
-#define pREG_RSI0_IMSK0 ((volatile uint32_t *)REG_RSI0_IMSK0) /* RSI0 Exception Mask Register */
-#define pREG_RSI0_CFG ((volatile uint16_t *)REG_RSI0_CFG) /* RSI0 Configuration Register */
-#define pREG_RSI0_RD_WAIT ((volatile uint16_t *)REG_RSI0_RD_WAIT) /* RSI0 Read Wait Enable Register */
-#define pREG_RSI0_PID0 ((volatile uint32_t *)REG_RSI0_PID0) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID1 ((volatile uint32_t *)REG_RSI0_PID1) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID2 ((volatile uint32_t *)REG_RSI0_PID2) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID3 ((volatile uint32_t *)REG_RSI0_PID3) /* RSI0 Peripheral Identification Register */
-
-
-/* =========================================================================
- CAN0
- ========================================================================= */
-#define pREG_CAN0_MC1 ((volatile uint16_t *)REG_CAN0_MC1) /* CAN0 Mailbox Configuration 1 Register */
-#define pREG_CAN0_MD1 ((volatile uint16_t *)REG_CAN0_MD1) /* CAN0 Mailbox Direction 1 Register */
-#define pREG_CAN0_TRS1 ((volatile uint16_t *)REG_CAN0_TRS1) /* CAN0 Transmission Request Set 1 Register */
-#define pREG_CAN0_TRR1 ((volatile uint16_t *)REG_CAN0_TRR1) /* CAN0 Transmission Request Reset 1 Register */
-#define pREG_CAN0_TA1 ((volatile uint16_t *)REG_CAN0_TA1) /* CAN0 Transmission Acknowledge 1 Register */
-#define pREG_CAN0_AA1 ((volatile uint16_t *)REG_CAN0_AA1) /* CAN0 Abort Acknowledge 1 Register */
-#define pREG_CAN0_RMP1 ((volatile uint16_t *)REG_CAN0_RMP1) /* CAN0 Receive Message Pending 1 Register */
-#define pREG_CAN0_RML1 ((volatile uint16_t *)REG_CAN0_RML1) /* CAN0 Receive Message Lost 1 Register */
-#define pREG_CAN0_MBTIF1 ((volatile uint16_t *)REG_CAN0_MBTIF1) /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define pREG_CAN0_MBRIF1 ((volatile uint16_t *)REG_CAN0_MBRIF1) /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define pREG_CAN0_MBIM1 ((volatile uint16_t *)REG_CAN0_MBIM1) /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define pREG_CAN0_RFH1 ((volatile uint16_t *)REG_CAN0_RFH1) /* CAN0 Remote Frame Handling 1 Register */
-#define pREG_CAN0_OPSS1 ((volatile uint16_t *)REG_CAN0_OPSS1) /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define pREG_CAN0_MC2 ((volatile uint16_t *)REG_CAN0_MC2) /* CAN0 Mailbox Configuration 2 Register */
-#define pREG_CAN0_MD2 ((volatile uint16_t *)REG_CAN0_MD2) /* CAN0 Mailbox Direction 2 Register */
-#define pREG_CAN0_TRS2 ((volatile uint16_t *)REG_CAN0_TRS2) /* CAN0 Transmission Request Set 2 Register */
-#define pREG_CAN0_TRR2 ((volatile uint16_t *)REG_CAN0_TRR2) /* CAN0 Transmission Request Reset 2 Register */
-#define pREG_CAN0_TA2 ((volatile uint16_t *)REG_CAN0_TA2) /* CAN0 Transmission Acknowledge 2 Register */
-#define pREG_CAN0_AA2 ((volatile uint16_t *)REG_CAN0_AA2) /* CAN0 Abort Acknowledge 2 Register */
-#define pREG_CAN0_RMP2 ((volatile uint16_t *)REG_CAN0_RMP2) /* CAN0 Receive Message Pending 2 Register */
-#define pREG_CAN0_RML2 ((volatile uint16_t *)REG_CAN0_RML2) /* CAN0 Receive Message Lost 2 Register */
-#define pREG_CAN0_MBTIF2 ((volatile uint16_t *)REG_CAN0_MBTIF2) /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define pREG_CAN0_MBRIF2 ((volatile uint16_t *)REG_CAN0_MBRIF2) /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define pREG_CAN0_MBIM2 ((volatile uint16_t *)REG_CAN0_MBIM2) /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define pREG_CAN0_RFH2 ((volatile uint16_t *)REG_CAN0_RFH2) /* CAN0 Remote Frame Handling 2 Register */
-#define pREG_CAN0_OPSS2 ((volatile uint16_t *)REG_CAN0_OPSS2) /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define pREG_CAN0_CLK ((volatile uint16_t *)REG_CAN0_CLK) /* CAN0 Clock Register */
-#define pREG_CAN0_TIMING ((volatile uint16_t *)REG_CAN0_TIMING) /* CAN0 Timing Register */
-#define pREG_CAN0_DBG ((volatile uint16_t *)REG_CAN0_DBG) /* CAN0 Debug Register */
-#define pREG_CAN0_STAT ((volatile uint16_t *)REG_CAN0_STAT) /* CAN0 Status Register */
-#define pREG_CAN0_CEC ((volatile uint16_t *)REG_CAN0_CEC) /* CAN0 Error Counter Register */
-#define pREG_CAN0_GIS ((volatile uint16_t *)REG_CAN0_GIS) /* CAN0 Global CAN Interrupt Status Register */
-#define pREG_CAN0_GIM ((volatile uint16_t *)REG_CAN0_GIM) /* CAN0 Global CAN Interrupt Mask Register */
-#define pREG_CAN0_GIF ((volatile uint16_t *)REG_CAN0_GIF) /* CAN0 Global CAN Interrupt Flag Register */
-#define pREG_CAN0_CTL ((volatile uint16_t *)REG_CAN0_CTL) /* CAN0 CAN Master Control Register */
-#define pREG_CAN0_INT ((volatile uint16_t *)REG_CAN0_INT) /* CAN0 Interrupt Pending Register */
-#define pREG_CAN0_MBTD ((volatile uint16_t *)REG_CAN0_MBTD) /* CAN0 Temporary Mailbox Disable Register */
-#define pREG_CAN0_EWR ((volatile uint16_t *)REG_CAN0_EWR) /* CAN0 Error Counter Warning Level Register */
-#define pREG_CAN0_ESR ((volatile uint16_t *)REG_CAN0_ESR) /* CAN0 Error Status Register */
-#define pREG_CAN0_UCCNT ((volatile uint16_t *)REG_CAN0_UCCNT) /* CAN0 Universal Counter Register */
-#define pREG_CAN0_UCRC ((volatile uint16_t *)REG_CAN0_UCRC) /* CAN0 Universal Counter Reload/Capture Register */
-#define pREG_CAN0_UCCNF ((volatile uint16_t *)REG_CAN0_UCCNF) /* CAN0 Universal Counter Configuration Mode Register */
-#define pREG_CAN0_AM00L ((volatile uint16_t *)REG_CAN0_AM00L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM01L ((volatile uint16_t *)REG_CAN0_AM01L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM02L ((volatile uint16_t *)REG_CAN0_AM02L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM03L ((volatile uint16_t *)REG_CAN0_AM03L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM04L ((volatile uint16_t *)REG_CAN0_AM04L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM05L ((volatile uint16_t *)REG_CAN0_AM05L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM06L ((volatile uint16_t *)REG_CAN0_AM06L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM07L ((volatile uint16_t *)REG_CAN0_AM07L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM08L ((volatile uint16_t *)REG_CAN0_AM08L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM09L ((volatile uint16_t *)REG_CAN0_AM09L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM10L ((volatile uint16_t *)REG_CAN0_AM10L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM11L ((volatile uint16_t *)REG_CAN0_AM11L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM12L ((volatile uint16_t *)REG_CAN0_AM12L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM13L ((volatile uint16_t *)REG_CAN0_AM13L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM14L ((volatile uint16_t *)REG_CAN0_AM14L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM15L ((volatile uint16_t *)REG_CAN0_AM15L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM16L ((volatile uint16_t *)REG_CAN0_AM16L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM17L ((volatile uint16_t *)REG_CAN0_AM17L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM18L ((volatile uint16_t *)REG_CAN0_AM18L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM19L ((volatile uint16_t *)REG_CAN0_AM19L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM20L ((volatile uint16_t *)REG_CAN0_AM20L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM21L ((volatile uint16_t *)REG_CAN0_AM21L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM22L ((volatile uint16_t *)REG_CAN0_AM22L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM23L ((volatile uint16_t *)REG_CAN0_AM23L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM24L ((volatile uint16_t *)REG_CAN0_AM24L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM25L ((volatile uint16_t *)REG_CAN0_AM25L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM26L ((volatile uint16_t *)REG_CAN0_AM26L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM27L ((volatile uint16_t *)REG_CAN0_AM27L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM28L ((volatile uint16_t *)REG_CAN0_AM28L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM29L ((volatile uint16_t *)REG_CAN0_AM29L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM30L ((volatile uint16_t *)REG_CAN0_AM30L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM31L ((volatile uint16_t *)REG_CAN0_AM31L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM00H ((volatile uint16_t *)REG_CAN0_AM00H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM01H ((volatile uint16_t *)REG_CAN0_AM01H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM02H ((volatile uint16_t *)REG_CAN0_AM02H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM03H ((volatile uint16_t *)REG_CAN0_AM03H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM04H ((volatile uint16_t *)REG_CAN0_AM04H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM05H ((volatile uint16_t *)REG_CAN0_AM05H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM06H ((volatile uint16_t *)REG_CAN0_AM06H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM07H ((volatile uint16_t *)REG_CAN0_AM07H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM08H ((volatile uint16_t *)REG_CAN0_AM08H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM09H ((volatile uint16_t *)REG_CAN0_AM09H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM10H ((volatile uint16_t *)REG_CAN0_AM10H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM11H ((volatile uint16_t *)REG_CAN0_AM11H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM12H ((volatile uint16_t *)REG_CAN0_AM12H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM13H ((volatile uint16_t *)REG_CAN0_AM13H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM14H ((volatile uint16_t *)REG_CAN0_AM14H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM15H ((volatile uint16_t *)REG_CAN0_AM15H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM16H ((volatile uint16_t *)REG_CAN0_AM16H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM17H ((volatile uint16_t *)REG_CAN0_AM17H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM18H ((volatile uint16_t *)REG_CAN0_AM18H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM19H ((volatile uint16_t *)REG_CAN0_AM19H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM20H ((volatile uint16_t *)REG_CAN0_AM20H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM21H ((volatile uint16_t *)REG_CAN0_AM21H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM22H ((volatile uint16_t *)REG_CAN0_AM22H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM23H ((volatile uint16_t *)REG_CAN0_AM23H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM24H ((volatile uint16_t *)REG_CAN0_AM24H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM25H ((volatile uint16_t *)REG_CAN0_AM25H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM26H ((volatile uint16_t *)REG_CAN0_AM26H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM27H ((volatile uint16_t *)REG_CAN0_AM27H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM28H ((volatile uint16_t *)REG_CAN0_AM28H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM29H ((volatile uint16_t *)REG_CAN0_AM29H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM30H ((volatile uint16_t *)REG_CAN0_AM30H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM31H ((volatile uint16_t *)REG_CAN0_AM31H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_MB00_DATA0 ((volatile uint16_t *)REG_CAN0_MB00_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB01_DATA0 ((volatile uint16_t *)REG_CAN0_MB01_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB02_DATA0 ((volatile uint16_t *)REG_CAN0_MB02_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB03_DATA0 ((volatile uint16_t *)REG_CAN0_MB03_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB04_DATA0 ((volatile uint16_t *)REG_CAN0_MB04_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB05_DATA0 ((volatile uint16_t *)REG_CAN0_MB05_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB06_DATA0 ((volatile uint16_t *)REG_CAN0_MB06_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB07_DATA0 ((volatile uint16_t *)REG_CAN0_MB07_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB08_DATA0 ((volatile uint16_t *)REG_CAN0_MB08_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB09_DATA0 ((volatile uint16_t *)REG_CAN0_MB09_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB10_DATA0 ((volatile uint16_t *)REG_CAN0_MB10_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB11_DATA0 ((volatile uint16_t *)REG_CAN0_MB11_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB12_DATA0 ((volatile uint16_t *)REG_CAN0_MB12_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB13_DATA0 ((volatile uint16_t *)REG_CAN0_MB13_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB14_DATA0 ((volatile uint16_t *)REG_CAN0_MB14_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB15_DATA0 ((volatile uint16_t *)REG_CAN0_MB15_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB16_DATA0 ((volatile uint16_t *)REG_CAN0_MB16_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB17_DATA0 ((volatile uint16_t *)REG_CAN0_MB17_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB18_DATA0 ((volatile uint16_t *)REG_CAN0_MB18_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB19_DATA0 ((volatile uint16_t *)REG_CAN0_MB19_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB20_DATA0 ((volatile uint16_t *)REG_CAN0_MB20_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB21_DATA0 ((volatile uint16_t *)REG_CAN0_MB21_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB22_DATA0 ((volatile uint16_t *)REG_CAN0_MB22_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB23_DATA0 ((volatile uint16_t *)REG_CAN0_MB23_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB24_DATA0 ((volatile uint16_t *)REG_CAN0_MB24_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB25_DATA0 ((volatile uint16_t *)REG_CAN0_MB25_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB26_DATA0 ((volatile uint16_t *)REG_CAN0_MB26_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB27_DATA0 ((volatile uint16_t *)REG_CAN0_MB27_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB28_DATA0 ((volatile uint16_t *)REG_CAN0_MB28_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB29_DATA0 ((volatile uint16_t *)REG_CAN0_MB29_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB30_DATA0 ((volatile uint16_t *)REG_CAN0_MB30_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB31_DATA0 ((volatile uint16_t *)REG_CAN0_MB31_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB00_DATA1 ((volatile uint16_t *)REG_CAN0_MB00_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB01_DATA1 ((volatile uint16_t *)REG_CAN0_MB01_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB02_DATA1 ((volatile uint16_t *)REG_CAN0_MB02_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB03_DATA1 ((volatile uint16_t *)REG_CAN0_MB03_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB04_DATA1 ((volatile uint16_t *)REG_CAN0_MB04_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB05_DATA1 ((volatile uint16_t *)REG_CAN0_MB05_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB06_DATA1 ((volatile uint16_t *)REG_CAN0_MB06_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB07_DATA1 ((volatile uint16_t *)REG_CAN0_MB07_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB08_DATA1 ((volatile uint16_t *)REG_CAN0_MB08_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB09_DATA1 ((volatile uint16_t *)REG_CAN0_MB09_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB10_DATA1 ((volatile uint16_t *)REG_CAN0_MB10_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB11_DATA1 ((volatile uint16_t *)REG_CAN0_MB11_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB12_DATA1 ((volatile uint16_t *)REG_CAN0_MB12_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB13_DATA1 ((volatile uint16_t *)REG_CAN0_MB13_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB14_DATA1 ((volatile uint16_t *)REG_CAN0_MB14_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB15_DATA1 ((volatile uint16_t *)REG_CAN0_MB15_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB16_DATA1 ((volatile uint16_t *)REG_CAN0_MB16_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB17_DATA1 ((volatile uint16_t *)REG_CAN0_MB17_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB18_DATA1 ((volatile uint16_t *)REG_CAN0_MB18_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB19_DATA1 ((volatile uint16_t *)REG_CAN0_MB19_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB20_DATA1 ((volatile uint16_t *)REG_CAN0_MB20_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB21_DATA1 ((volatile uint16_t *)REG_CAN0_MB21_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB22_DATA1 ((volatile uint16_t *)REG_CAN0_MB22_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB23_DATA1 ((volatile uint16_t *)REG_CAN0_MB23_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB24_DATA1 ((volatile uint16_t *)REG_CAN0_MB24_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB25_DATA1 ((volatile uint16_t *)REG_CAN0_MB25_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB26_DATA1 ((volatile uint16_t *)REG_CAN0_MB26_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB27_DATA1 ((volatile uint16_t *)REG_CAN0_MB27_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB28_DATA1 ((volatile uint16_t *)REG_CAN0_MB28_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB29_DATA1 ((volatile uint16_t *)REG_CAN0_MB29_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB30_DATA1 ((volatile uint16_t *)REG_CAN0_MB30_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB31_DATA1 ((volatile uint16_t *)REG_CAN0_MB31_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB00_DATA2 ((volatile uint16_t *)REG_CAN0_MB00_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB01_DATA2 ((volatile uint16_t *)REG_CAN0_MB01_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB02_DATA2 ((volatile uint16_t *)REG_CAN0_MB02_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB03_DATA2 ((volatile uint16_t *)REG_CAN0_MB03_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB04_DATA2 ((volatile uint16_t *)REG_CAN0_MB04_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB05_DATA2 ((volatile uint16_t *)REG_CAN0_MB05_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB06_DATA2 ((volatile uint16_t *)REG_CAN0_MB06_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB07_DATA2 ((volatile uint16_t *)REG_CAN0_MB07_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB08_DATA2 ((volatile uint16_t *)REG_CAN0_MB08_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB09_DATA2 ((volatile uint16_t *)REG_CAN0_MB09_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB10_DATA2 ((volatile uint16_t *)REG_CAN0_MB10_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB11_DATA2 ((volatile uint16_t *)REG_CAN0_MB11_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB12_DATA2 ((volatile uint16_t *)REG_CAN0_MB12_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB13_DATA2 ((volatile uint16_t *)REG_CAN0_MB13_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB14_DATA2 ((volatile uint16_t *)REG_CAN0_MB14_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB15_DATA2 ((volatile uint16_t *)REG_CAN0_MB15_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB16_DATA2 ((volatile uint16_t *)REG_CAN0_MB16_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB17_DATA2 ((volatile uint16_t *)REG_CAN0_MB17_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB18_DATA2 ((volatile uint16_t *)REG_CAN0_MB18_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB19_DATA2 ((volatile uint16_t *)REG_CAN0_MB19_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB20_DATA2 ((volatile uint16_t *)REG_CAN0_MB20_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB21_DATA2 ((volatile uint16_t *)REG_CAN0_MB21_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB22_DATA2 ((volatile uint16_t *)REG_CAN0_MB22_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB23_DATA2 ((volatile uint16_t *)REG_CAN0_MB23_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB24_DATA2 ((volatile uint16_t *)REG_CAN0_MB24_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB25_DATA2 ((volatile uint16_t *)REG_CAN0_MB25_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB26_DATA2 ((volatile uint16_t *)REG_CAN0_MB26_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB27_DATA2 ((volatile uint16_t *)REG_CAN0_MB27_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB28_DATA2 ((volatile uint16_t *)REG_CAN0_MB28_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB29_DATA2 ((volatile uint16_t *)REG_CAN0_MB29_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB30_DATA2 ((volatile uint16_t *)REG_CAN0_MB30_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB31_DATA2 ((volatile uint16_t *)REG_CAN0_MB31_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB00_DATA3 ((volatile uint16_t *)REG_CAN0_MB00_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB01_DATA3 ((volatile uint16_t *)REG_CAN0_MB01_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB02_DATA3 ((volatile uint16_t *)REG_CAN0_MB02_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB03_DATA3 ((volatile uint16_t *)REG_CAN0_MB03_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB04_DATA3 ((volatile uint16_t *)REG_CAN0_MB04_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB05_DATA3 ((volatile uint16_t *)REG_CAN0_MB05_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB06_DATA3 ((volatile uint16_t *)REG_CAN0_MB06_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB07_DATA3 ((volatile uint16_t *)REG_CAN0_MB07_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB08_DATA3 ((volatile uint16_t *)REG_CAN0_MB08_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB09_DATA3 ((volatile uint16_t *)REG_CAN0_MB09_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB10_DATA3 ((volatile uint16_t *)REG_CAN0_MB10_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB11_DATA3 ((volatile uint16_t *)REG_CAN0_MB11_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB12_DATA3 ((volatile uint16_t *)REG_CAN0_MB12_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB13_DATA3 ((volatile uint16_t *)REG_CAN0_MB13_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB14_DATA3 ((volatile uint16_t *)REG_CAN0_MB14_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB15_DATA3 ((volatile uint16_t *)REG_CAN0_MB15_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB16_DATA3 ((volatile uint16_t *)REG_CAN0_MB16_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB17_DATA3 ((volatile uint16_t *)REG_CAN0_MB17_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB18_DATA3 ((volatile uint16_t *)REG_CAN0_MB18_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB19_DATA3 ((volatile uint16_t *)REG_CAN0_MB19_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB20_DATA3 ((volatile uint16_t *)REG_CAN0_MB20_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB21_DATA3 ((volatile uint16_t *)REG_CAN0_MB21_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB22_DATA3 ((volatile uint16_t *)REG_CAN0_MB22_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB23_DATA3 ((volatile uint16_t *)REG_CAN0_MB23_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB24_DATA3 ((volatile uint16_t *)REG_CAN0_MB24_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB25_DATA3 ((volatile uint16_t *)REG_CAN0_MB25_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB26_DATA3 ((volatile uint16_t *)REG_CAN0_MB26_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB27_DATA3 ((volatile uint16_t *)REG_CAN0_MB27_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB28_DATA3 ((volatile uint16_t *)REG_CAN0_MB28_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB29_DATA3 ((volatile uint16_t *)REG_CAN0_MB29_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB30_DATA3 ((volatile uint16_t *)REG_CAN0_MB30_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB31_DATA3 ((volatile uint16_t *)REG_CAN0_MB31_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB00_LENGTH ((volatile uint16_t *)REG_CAN0_MB00_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB01_LENGTH ((volatile uint16_t *)REG_CAN0_MB01_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB02_LENGTH ((volatile uint16_t *)REG_CAN0_MB02_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB03_LENGTH ((volatile uint16_t *)REG_CAN0_MB03_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB04_LENGTH ((volatile uint16_t *)REG_CAN0_MB04_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB05_LENGTH ((volatile uint16_t *)REG_CAN0_MB05_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB06_LENGTH ((volatile uint16_t *)REG_CAN0_MB06_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB07_LENGTH ((volatile uint16_t *)REG_CAN0_MB07_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB08_LENGTH ((volatile uint16_t *)REG_CAN0_MB08_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB09_LENGTH ((volatile uint16_t *)REG_CAN0_MB09_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB10_LENGTH ((volatile uint16_t *)REG_CAN0_MB10_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB11_LENGTH ((volatile uint16_t *)REG_CAN0_MB11_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB12_LENGTH ((volatile uint16_t *)REG_CAN0_MB12_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB13_LENGTH ((volatile uint16_t *)REG_CAN0_MB13_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB14_LENGTH ((volatile uint16_t *)REG_CAN0_MB14_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB15_LENGTH ((volatile uint16_t *)REG_CAN0_MB15_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB16_LENGTH ((volatile uint16_t *)REG_CAN0_MB16_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB17_LENGTH ((volatile uint16_t *)REG_CAN0_MB17_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB18_LENGTH ((volatile uint16_t *)REG_CAN0_MB18_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB19_LENGTH ((volatile uint16_t *)REG_CAN0_MB19_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB20_LENGTH ((volatile uint16_t *)REG_CAN0_MB20_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB21_LENGTH ((volatile uint16_t *)REG_CAN0_MB21_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB22_LENGTH ((volatile uint16_t *)REG_CAN0_MB22_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB23_LENGTH ((volatile uint16_t *)REG_CAN0_MB23_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB24_LENGTH ((volatile uint16_t *)REG_CAN0_MB24_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB25_LENGTH ((volatile uint16_t *)REG_CAN0_MB25_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB26_LENGTH ((volatile uint16_t *)REG_CAN0_MB26_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB27_LENGTH ((volatile uint16_t *)REG_CAN0_MB27_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB28_LENGTH ((volatile uint16_t *)REG_CAN0_MB28_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB29_LENGTH ((volatile uint16_t *)REG_CAN0_MB29_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB30_LENGTH ((volatile uint16_t *)REG_CAN0_MB30_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB31_LENGTH ((volatile uint16_t *)REG_CAN0_MB31_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB00_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB00_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB01_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB01_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB02_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB02_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB03_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB03_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB04_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB04_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB05_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB05_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB06_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB06_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB07_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB07_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB08_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB08_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB09_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB09_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB10_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB10_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB11_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB11_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB12_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB12_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB13_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB13_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB14_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB14_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB15_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB15_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB16_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB16_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB17_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB17_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB18_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB18_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB19_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB19_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB20_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB20_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB21_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB21_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB22_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB22_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB23_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB23_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB24_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB24_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB25_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB25_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB26_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB26_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB27_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB27_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB28_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB28_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB29_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB29_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB30_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB30_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB31_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB31_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB00_ID0 ((volatile uint16_t *)REG_CAN0_MB00_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB01_ID0 ((volatile uint16_t *)REG_CAN0_MB01_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB02_ID0 ((volatile uint16_t *)REG_CAN0_MB02_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB03_ID0 ((volatile uint16_t *)REG_CAN0_MB03_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB04_ID0 ((volatile uint16_t *)REG_CAN0_MB04_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB05_ID0 ((volatile uint16_t *)REG_CAN0_MB05_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB06_ID0 ((volatile uint16_t *)REG_CAN0_MB06_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB07_ID0 ((volatile uint16_t *)REG_CAN0_MB07_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB08_ID0 ((volatile uint16_t *)REG_CAN0_MB08_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB09_ID0 ((volatile uint16_t *)REG_CAN0_MB09_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB10_ID0 ((volatile uint16_t *)REG_CAN0_MB10_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB11_ID0 ((volatile uint16_t *)REG_CAN0_MB11_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB12_ID0 ((volatile uint16_t *)REG_CAN0_MB12_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB13_ID0 ((volatile uint16_t *)REG_CAN0_MB13_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB14_ID0 ((volatile uint16_t *)REG_CAN0_MB14_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB15_ID0 ((volatile uint16_t *)REG_CAN0_MB15_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB16_ID0 ((volatile uint16_t *)REG_CAN0_MB16_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB17_ID0 ((volatile uint16_t *)REG_CAN0_MB17_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB18_ID0 ((volatile uint16_t *)REG_CAN0_MB18_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB19_ID0 ((volatile uint16_t *)REG_CAN0_MB19_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB20_ID0 ((volatile uint16_t *)REG_CAN0_MB20_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB21_ID0 ((volatile uint16_t *)REG_CAN0_MB21_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB22_ID0 ((volatile uint16_t *)REG_CAN0_MB22_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB23_ID0 ((volatile uint16_t *)REG_CAN0_MB23_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB24_ID0 ((volatile uint16_t *)REG_CAN0_MB24_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB25_ID0 ((volatile uint16_t *)REG_CAN0_MB25_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB26_ID0 ((volatile uint16_t *)REG_CAN0_MB26_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB27_ID0 ((volatile uint16_t *)REG_CAN0_MB27_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB28_ID0 ((volatile uint16_t *)REG_CAN0_MB28_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB29_ID0 ((volatile uint16_t *)REG_CAN0_MB29_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB30_ID0 ((volatile uint16_t *)REG_CAN0_MB30_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB31_ID0 ((volatile uint16_t *)REG_CAN0_MB31_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB00_ID1 ((volatile uint16_t *)REG_CAN0_MB00_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB01_ID1 ((volatile uint16_t *)REG_CAN0_MB01_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB02_ID1 ((volatile uint16_t *)REG_CAN0_MB02_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB03_ID1 ((volatile uint16_t *)REG_CAN0_MB03_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB04_ID1 ((volatile uint16_t *)REG_CAN0_MB04_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB05_ID1 ((volatile uint16_t *)REG_CAN0_MB05_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB06_ID1 ((volatile uint16_t *)REG_CAN0_MB06_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB07_ID1 ((volatile uint16_t *)REG_CAN0_MB07_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB08_ID1 ((volatile uint16_t *)REG_CAN0_MB08_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB09_ID1 ((volatile uint16_t *)REG_CAN0_MB09_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB10_ID1 ((volatile uint16_t *)REG_CAN0_MB10_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB11_ID1 ((volatile uint16_t *)REG_CAN0_MB11_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB12_ID1 ((volatile uint16_t *)REG_CAN0_MB12_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB13_ID1 ((volatile uint16_t *)REG_CAN0_MB13_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB14_ID1 ((volatile uint16_t *)REG_CAN0_MB14_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB15_ID1 ((volatile uint16_t *)REG_CAN0_MB15_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB16_ID1 ((volatile uint16_t *)REG_CAN0_MB16_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB17_ID1 ((volatile uint16_t *)REG_CAN0_MB17_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB18_ID1 ((volatile uint16_t *)REG_CAN0_MB18_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB19_ID1 ((volatile uint16_t *)REG_CAN0_MB19_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB20_ID1 ((volatile uint16_t *)REG_CAN0_MB20_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB21_ID1 ((volatile uint16_t *)REG_CAN0_MB21_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB22_ID1 ((volatile uint16_t *)REG_CAN0_MB22_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB23_ID1 ((volatile uint16_t *)REG_CAN0_MB23_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB24_ID1 ((volatile uint16_t *)REG_CAN0_MB24_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB25_ID1 ((volatile uint16_t *)REG_CAN0_MB25_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB26_ID1 ((volatile uint16_t *)REG_CAN0_MB26_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB27_ID1 ((volatile uint16_t *)REG_CAN0_MB27_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB28_ID1 ((volatile uint16_t *)REG_CAN0_MB28_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB29_ID1 ((volatile uint16_t *)REG_CAN0_MB29_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB30_ID1 ((volatile uint16_t *)REG_CAN0_MB30_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB31_ID1 ((volatile uint16_t *)REG_CAN0_MB31_ID1) /* CAN0 Mailbox ID 1 Register */
-
-
-/* =========================================================================
- LP0
- ========================================================================= */
-#define pREG_LP0_CTL ((volatile uint32_t *)REG_LP0_CTL) /* LP0 Control Register */
-#define pREG_LP0_STAT ((volatile uint32_t *)REG_LP0_STAT) /* LP0 Status Register */
-#define pREG_LP0_DIV ((volatile uint32_t *)REG_LP0_DIV) /* LP0 Clock Divider Value */
-#define pREG_LP0_TX ((volatile uint32_t *)REG_LP0_TX) /* LP0 Transmit Buffer */
-#define pREG_LP0_RX ((volatile uint32_t *)REG_LP0_RX) /* LP0 Receive Buffer */
-#define pREG_LP0_TXIN_SHDW ((volatile uint32_t *)REG_LP0_TXIN_SHDW) /* LP0 Shadow Input Transmit Buffer */
-#define pREG_LP0_TXOUT_SHDW ((volatile uint32_t *)REG_LP0_TXOUT_SHDW) /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP1
- ========================================================================= */
-#define pREG_LP1_CTL ((volatile uint32_t *)REG_LP1_CTL) /* LP1 Control Register */
-#define pREG_LP1_STAT ((volatile uint32_t *)REG_LP1_STAT) /* LP1 Status Register */
-#define pREG_LP1_DIV ((volatile uint32_t *)REG_LP1_DIV) /* LP1 Clock Divider Value */
-#define pREG_LP1_TX ((volatile uint32_t *)REG_LP1_TX) /* LP1 Transmit Buffer */
-#define pREG_LP1_RX ((volatile uint32_t *)REG_LP1_RX) /* LP1 Receive Buffer */
-#define pREG_LP1_TXIN_SHDW ((volatile uint32_t *)REG_LP1_TXIN_SHDW) /* LP1 Shadow Input Transmit Buffer */
-#define pREG_LP1_TXOUT_SHDW ((volatile uint32_t *)REG_LP1_TXOUT_SHDW) /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP2
- ========================================================================= */
-#define pREG_LP2_CTL ((volatile uint32_t *)REG_LP2_CTL) /* LP2 Control Register */
-#define pREG_LP2_STAT ((volatile uint32_t *)REG_LP2_STAT) /* LP2 Status Register */
-#define pREG_LP2_DIV ((volatile uint32_t *)REG_LP2_DIV) /* LP2 Clock Divider Value */
-#define pREG_LP2_TX ((volatile uint32_t *)REG_LP2_TX) /* LP2 Transmit Buffer */
-#define pREG_LP2_RX ((volatile uint32_t *)REG_LP2_RX) /* LP2 Receive Buffer */
-#define pREG_LP2_TXIN_SHDW ((volatile uint32_t *)REG_LP2_TXIN_SHDW) /* LP2 Shadow Input Transmit Buffer */
-#define pREG_LP2_TXOUT_SHDW ((volatile uint32_t *)REG_LP2_TXOUT_SHDW) /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP3
- ========================================================================= */
-#define pREG_LP3_CTL ((volatile uint32_t *)REG_LP3_CTL) /* LP3 Control Register */
-#define pREG_LP3_STAT ((volatile uint32_t *)REG_LP3_STAT) /* LP3 Status Register */
-#define pREG_LP3_DIV ((volatile uint32_t *)REG_LP3_DIV) /* LP3 Clock Divider Value */
-#define pREG_LP3_TX ((volatile uint32_t *)REG_LP3_TX) /* LP3 Transmit Buffer */
-#define pREG_LP3_RX ((volatile uint32_t *)REG_LP3_RX) /* LP3 Receive Buffer */
-#define pREG_LP3_TXIN_SHDW ((volatile uint32_t *)REG_LP3_TXIN_SHDW) /* LP3 Shadow Input Transmit Buffer */
-#define pREG_LP3_TXOUT_SHDW ((volatile uint32_t *)REG_LP3_TXOUT_SHDW) /* LP3 Shadow Output Transmit Buffer */
-
-
-/* =========================================================================
- TIMER0
- ========================================================================= */
-#define pREG_TIMER0_REVID ((volatile uint16_t *)REG_TIMER0_REVID) /* TIMER0 Revision ID Register */
-#define pREG_TIMER0_RUN ((volatile uint16_t *)REG_TIMER0_RUN) /* TIMER0 Run Register */
-#define pREG_TIMER0_RUN_SET ((volatile uint16_t *)REG_TIMER0_RUN_SET) /* TIMER0 Run Set Register */
-#define pREG_TIMER0_RUN_CLR ((volatile uint16_t *)REG_TIMER0_RUN_CLR) /* TIMER0 Run Clear Register */
-#define pREG_TIMER0_STOP_CFG ((volatile uint16_t *)REG_TIMER0_STOP_CFG) /* TIMER0 Stop Configuration Register */
-#define pREG_TIMER0_STOP_CFG_SET ((volatile uint16_t *)REG_TIMER0_STOP_CFG_SET) /* TIMER0 Stop Configuration Set Register */
-#define pREG_TIMER0_STOP_CFG_CLR ((volatile uint16_t *)REG_TIMER0_STOP_CFG_CLR) /* TIMER0 Stop Configuration Clear Register */
-#define pREG_TIMER0_DATA_IMSK ((volatile uint16_t *)REG_TIMER0_DATA_IMSK) /* TIMER0 Data Interrupt Mask Register */
-#define pREG_TIMER0_STAT_IMSK ((volatile uint16_t *)REG_TIMER0_STAT_IMSK) /* TIMER0 Status Interrupt Mask Register */
-#define pREG_TIMER0_TRG_MSK ((volatile uint16_t *)REG_TIMER0_TRG_MSK) /* TIMER0 Trigger Master Mask Register */
-#define pREG_TIMER0_TRG_IE ((volatile uint16_t *)REG_TIMER0_TRG_IE) /* TIMER0 Trigger Slave Enable Register */
-#define pREG_TIMER0_DATA_ILAT ((volatile uint16_t *)REG_TIMER0_DATA_ILAT) /* TIMER0 Data Interrupt Latch Register */
-#define pREG_TIMER0_STAT_ILAT ((volatile uint16_t *)REG_TIMER0_STAT_ILAT) /* TIMER0 Status Interrupt Latch Register */
-#define pREG_TIMER0_ERR_TYPE ((volatile uint32_t *)REG_TIMER0_ERR_TYPE) /* TIMER0 Error Type Status Register */
-#define pREG_TIMER0_BCAST_PER ((volatile uint32_t *)REG_TIMER0_BCAST_PER) /* TIMER0 Broadcast Period Register */
-#define pREG_TIMER0_BCAST_WID ((volatile uint32_t *)REG_TIMER0_BCAST_WID) /* TIMER0 Broadcast Width Register */
-#define pREG_TIMER0_BCAST_DLY ((volatile uint32_t *)REG_TIMER0_BCAST_DLY) /* TIMER0 Broadcast Delay Register */
-#define pREG_TIMER0_TMR0_CFG ((volatile uint16_t *)REG_TIMER0_TMR0_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR1_CFG ((volatile uint16_t *)REG_TIMER0_TMR1_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR2_CFG ((volatile uint16_t *)REG_TIMER0_TMR2_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR3_CFG ((volatile uint16_t *)REG_TIMER0_TMR3_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR4_CFG ((volatile uint16_t *)REG_TIMER0_TMR4_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR5_CFG ((volatile uint16_t *)REG_TIMER0_TMR5_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR6_CFG ((volatile uint16_t *)REG_TIMER0_TMR6_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR7_CFG ((volatile uint16_t *)REG_TIMER0_TMR7_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR0_CNT ((volatile uint32_t *)REG_TIMER0_TMR0_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR1_CNT ((volatile uint32_t *)REG_TIMER0_TMR1_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR2_CNT ((volatile uint32_t *)REG_TIMER0_TMR2_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR3_CNT ((volatile uint32_t *)REG_TIMER0_TMR3_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR4_CNT ((volatile uint32_t *)REG_TIMER0_TMR4_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR5_CNT ((volatile uint32_t *)REG_TIMER0_TMR5_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR6_CNT ((volatile uint32_t *)REG_TIMER0_TMR6_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR7_CNT ((volatile uint32_t *)REG_TIMER0_TMR7_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR0_PER ((volatile uint32_t *)REG_TIMER0_TMR0_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR1_PER ((volatile uint32_t *)REG_TIMER0_TMR1_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR2_PER ((volatile uint32_t *)REG_TIMER0_TMR2_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR3_PER ((volatile uint32_t *)REG_TIMER0_TMR3_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR4_PER ((volatile uint32_t *)REG_TIMER0_TMR4_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR5_PER ((volatile uint32_t *)REG_TIMER0_TMR5_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR6_PER ((volatile uint32_t *)REG_TIMER0_TMR6_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR7_PER ((volatile uint32_t *)REG_TIMER0_TMR7_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR0_WID ((volatile uint32_t *)REG_TIMER0_TMR0_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR1_WID ((volatile uint32_t *)REG_TIMER0_TMR1_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR2_WID ((volatile uint32_t *)REG_TIMER0_TMR2_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR3_WID ((volatile uint32_t *)REG_TIMER0_TMR3_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR4_WID ((volatile uint32_t *)REG_TIMER0_TMR4_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR5_WID ((volatile uint32_t *)REG_TIMER0_TMR5_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR6_WID ((volatile uint32_t *)REG_TIMER0_TMR6_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR7_WID ((volatile uint32_t *)REG_TIMER0_TMR7_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR0_DLY ((volatile uint32_t *)REG_TIMER0_TMR0_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR1_DLY ((volatile uint32_t *)REG_TIMER0_TMR1_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR2_DLY ((volatile uint32_t *)REG_TIMER0_TMR2_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR3_DLY ((volatile uint32_t *)REG_TIMER0_TMR3_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR4_DLY ((volatile uint32_t *)REG_TIMER0_TMR4_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR5_DLY ((volatile uint32_t *)REG_TIMER0_TMR5_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR6_DLY ((volatile uint32_t *)REG_TIMER0_TMR6_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR7_DLY ((volatile uint32_t *)REG_TIMER0_TMR7_DLY) /* TIMER0 Timer n Delay Register */
-
-
-/* =========================================================================
- CRC0
- ========================================================================= */
-#define pREG_CRC0_CTL ((volatile uint32_t *)REG_CRC0_CTL) /* CRC0 Control Register */
-#define pREG_CRC0_DCNT ((volatile uint32_t *)REG_CRC0_DCNT) /* CRC0 Data Word Count Register */
-#define pREG_CRC0_DCNTRLD ((volatile uint32_t *)REG_CRC0_DCNTRLD) /* CRC0 Data Word Count Reload Register */
-#define pREG_CRC0_COMP ((volatile uint32_t *)REG_CRC0_COMP) /* CRC0 Data Compare Register */
-#define pREG_CRC0_FILLVAL ((volatile uint32_t *)REG_CRC0_FILLVAL) /* CRC0 Fill Value Register */
-#define pREG_CRC0_DFIFO ((volatile uint32_t *)REG_CRC0_DFIFO) /* CRC0 Data FIFO Register */
-#define pREG_CRC0_INEN ((volatile uint32_t *)REG_CRC0_INEN) /* CRC0 Interrupt Enable Register */
-#define pREG_CRC0_INEN_SET ((volatile uint32_t *)REG_CRC0_INEN_SET) /* CRC0 Interrupt Enable Set Register */
-#define pREG_CRC0_INEN_CLR ((volatile uint32_t *)REG_CRC0_INEN_CLR) /* CRC0 Interrupt Enable Clear Register */
-#define pREG_CRC0_POLY ((volatile uint32_t *)REG_CRC0_POLY) /* CRC0 Polynomial Register */
-#define pREG_CRC0_STAT ((volatile uint32_t *)REG_CRC0_STAT) /* CRC0 Status Register */
-#define pREG_CRC0_DCNTCAP ((volatile uint32_t *)REG_CRC0_DCNTCAP) /* CRC0 Data Count Capture Register */
-#define pREG_CRC0_RESULT_FIN ((volatile uint32_t *)REG_CRC0_RESULT_FIN) /* CRC0 CRC Final Result Register */
-#define pREG_CRC0_RESULT_CUR ((volatile uint32_t *)REG_CRC0_RESULT_CUR) /* CRC0 CRC Current Result Register */
-#define pREG_CRC0_REVID ((volatile uint32_t *)REG_CRC0_REVID) /* CRC0 Revision ID Register */
-
-/* =========================================================================
- CRC1
- ========================================================================= */
-#define pREG_CRC1_CTL ((volatile uint32_t *)REG_CRC1_CTL) /* CRC1 Control Register */
-#define pREG_CRC1_DCNT ((volatile uint32_t *)REG_CRC1_DCNT) /* CRC1 Data Word Count Register */
-#define pREG_CRC1_DCNTRLD ((volatile uint32_t *)REG_CRC1_DCNTRLD) /* CRC1 Data Word Count Reload Register */
-#define pREG_CRC1_COMP ((volatile uint32_t *)REG_CRC1_COMP) /* CRC1 Data Compare Register */
-#define pREG_CRC1_FILLVAL ((volatile uint32_t *)REG_CRC1_FILLVAL) /* CRC1 Fill Value Register */
-#define pREG_CRC1_DFIFO ((volatile uint32_t *)REG_CRC1_DFIFO) /* CRC1 Data FIFO Register */
-#define pREG_CRC1_INEN ((volatile uint32_t *)REG_CRC1_INEN) /* CRC1 Interrupt Enable Register */
-#define pREG_CRC1_INEN_SET ((volatile uint32_t *)REG_CRC1_INEN_SET) /* CRC1 Interrupt Enable Set Register */
-#define pREG_CRC1_INEN_CLR ((volatile uint32_t *)REG_CRC1_INEN_CLR) /* CRC1 Interrupt Enable Clear Register */
-#define pREG_CRC1_POLY ((volatile uint32_t *)REG_CRC1_POLY) /* CRC1 Polynomial Register */
-#define pREG_CRC1_STAT ((volatile uint32_t *)REG_CRC1_STAT) /* CRC1 Status Register */
-#define pREG_CRC1_DCNTCAP ((volatile uint32_t *)REG_CRC1_DCNTCAP) /* CRC1 Data Count Capture Register */
-#define pREG_CRC1_RESULT_FIN ((volatile uint32_t *)REG_CRC1_RESULT_FIN) /* CRC1 CRC Final Result Register */
-#define pREG_CRC1_RESULT_CUR ((volatile uint32_t *)REG_CRC1_RESULT_CUR) /* CRC1 CRC Current Result Register */
-#define pREG_CRC1_REVID ((volatile uint32_t *)REG_CRC1_REVID) /* CRC1 Revision ID Register */
-
-
-/* =========================================================================
- TWI0
- ========================================================================= */
-#define pREG_TWI0_CLKDIV ((volatile uint16_t *)REG_TWI0_CLKDIV) /* TWI0 SCL Clock Divider Register */
-#define pREG_TWI0_CTL ((volatile uint16_t *)REG_TWI0_CTL) /* TWI0 Control Register */
-#define pREG_TWI0_SLVCTL ((volatile uint16_t *)REG_TWI0_SLVCTL) /* TWI0 Slave Mode Control Register */
-#define pREG_TWI0_SLVSTAT ((volatile uint16_t *)REG_TWI0_SLVSTAT) /* TWI0 Slave Mode Status Register */
-#define pREG_TWI0_SLVADDR ((volatile uint16_t *)REG_TWI0_SLVADDR) /* TWI0 Slave Mode Address Register */
-#define pREG_TWI0_MSTRCTL ((volatile uint16_t *)REG_TWI0_MSTRCTL) /* TWI0 Master Mode Control Registers */
-#define pREG_TWI0_MSTRSTAT ((volatile uint16_t *)REG_TWI0_MSTRSTAT) /* TWI0 Master Mode Status Register */
-#define pREG_TWI0_MSTRADDR ((volatile uint16_t *)REG_TWI0_MSTRADDR) /* TWI0 Master Mode Address Register */
-#define pREG_TWI0_ISTAT ((volatile uint16_t *)REG_TWI0_ISTAT) /* TWI0 Interrupt Status Register */
-#define pREG_TWI0_IMSK ((volatile uint16_t *)REG_TWI0_IMSK) /* TWI0 Interrupt Mask Register */
-#define pREG_TWI0_FIFOCTL ((volatile uint16_t *)REG_TWI0_FIFOCTL) /* TWI0 FIFO Control Register */
-#define pREG_TWI0_FIFOSTAT ((volatile uint16_t *)REG_TWI0_FIFOSTAT) /* TWI0 FIFO Status Register */
-#define pREG_TWI0_TXDATA8 ((volatile uint16_t *)REG_TWI0_TXDATA8) /* TWI0 Tx Data Single-Byte Register */
-#define pREG_TWI0_TXDATA16 ((volatile uint16_t *)REG_TWI0_TXDATA16) /* TWI0 Tx Data Double-Byte Register */
-#define pREG_TWI0_RXDATA8 ((volatile uint16_t *)REG_TWI0_RXDATA8) /* TWI0 Rx Data Single-Byte Register */
-#define pREG_TWI0_RXDATA16 ((volatile uint16_t *)REG_TWI0_RXDATA16) /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================================================================
- TWI1
- ========================================================================= */
-#define pREG_TWI1_CLKDIV ((volatile uint16_t *)REG_TWI1_CLKDIV) /* TWI1 SCL Clock Divider Register */
-#define pREG_TWI1_CTL ((volatile uint16_t *)REG_TWI1_CTL) /* TWI1 Control Register */
-#define pREG_TWI1_SLVCTL ((volatile uint16_t *)REG_TWI1_SLVCTL) /* TWI1 Slave Mode Control Register */
-#define pREG_TWI1_SLVSTAT ((volatile uint16_t *)REG_TWI1_SLVSTAT) /* TWI1 Slave Mode Status Register */
-#define pREG_TWI1_SLVADDR ((volatile uint16_t *)REG_TWI1_SLVADDR) /* TWI1 Slave Mode Address Register */
-#define pREG_TWI1_MSTRCTL ((volatile uint16_t *)REG_TWI1_MSTRCTL) /* TWI1 Master Mode Control Registers */
-#define pREG_TWI1_MSTRSTAT ((volatile uint16_t *)REG_TWI1_MSTRSTAT) /* TWI1 Master Mode Status Register */
-#define pREG_TWI1_MSTRADDR ((volatile uint16_t *)REG_TWI1_MSTRADDR) /* TWI1 Master Mode Address Register */
-#define pREG_TWI1_ISTAT ((volatile uint16_t *)REG_TWI1_ISTAT) /* TWI1 Interrupt Status Register */
-#define pREG_TWI1_IMSK ((volatile uint16_t *)REG_TWI1_IMSK) /* TWI1 Interrupt Mask Register */
-#define pREG_TWI1_FIFOCTL ((volatile uint16_t *)REG_TWI1_FIFOCTL) /* TWI1 FIFO Control Register */
-#define pREG_TWI1_FIFOSTAT ((volatile uint16_t *)REG_TWI1_FIFOSTAT) /* TWI1 FIFO Status Register */
-#define pREG_TWI1_TXDATA8 ((volatile uint16_t *)REG_TWI1_TXDATA8) /* TWI1 Tx Data Single-Byte Register */
-#define pREG_TWI1_TXDATA16 ((volatile uint16_t *)REG_TWI1_TXDATA16) /* TWI1 Tx Data Double-Byte Register */
-#define pREG_TWI1_RXDATA8 ((volatile uint16_t *)REG_TWI1_RXDATA8) /* TWI1 Rx Data Single-Byte Register */
-#define pREG_TWI1_RXDATA16 ((volatile uint16_t *)REG_TWI1_RXDATA16) /* TWI1 Rx Data Double-Byte Register */
-
-
-/* =========================================================================
- UART0
- ========================================================================= */
-#define pREG_UART0_REVID ((volatile uint32_t *)REG_UART0_REVID) /* UART0 Revision ID Register */
-#define pREG_UART0_CTL ((volatile uint32_t *)REG_UART0_CTL) /* UART0 Control Register */
-#define pREG_UART0_STAT ((volatile uint32_t *)REG_UART0_STAT) /* UART0 Status Register */
-#define pREG_UART0_SCR ((volatile uint32_t *)REG_UART0_SCR) /* UART0 Scratch Register */
-#define pREG_UART0_CLK ((volatile uint32_t *)REG_UART0_CLK) /* UART0 Clock Rate Register */
-#define pREG_UART0_IMSK ((volatile uint32_t *)REG_UART0_IMSK) /* UART0 Interrupt Mask Register */
-#define pREG_UART0_IMSK_SET ((volatile uint32_t *)REG_UART0_IMSK_SET) /* UART0 Interrupt Mask Set Register */
-#define pREG_UART0_IMSK_CLR ((volatile uint32_t *)REG_UART0_IMSK_CLR) /* UART0 Interrupt Mask Clear Register */
-#define pREG_UART0_RBR ((volatile uint32_t *)REG_UART0_RBR) /* UART0 Receive Buffer Register */
-#define pREG_UART0_THR ((volatile uint32_t *)REG_UART0_THR) /* UART0 Transmit Hold Register */
-#define pREG_UART0_TAIP ((volatile uint32_t *)REG_UART0_TAIP) /* UART0 Transmit Address/Insert Pulse Register */
-#define pREG_UART0_TSR ((volatile uint32_t *)REG_UART0_TSR) /* UART0 Transmit Shift Register */
-#define pREG_UART0_RSR ((volatile uint32_t *)REG_UART0_RSR) /* UART0 Receive Shift Register */
-#define pREG_UART0_TXCNT ((volatile uint32_t *)REG_UART0_TXCNT) /* UART0 Transmit Counter Register */
-#define pREG_UART0_RXCNT ((volatile uint32_t *)REG_UART0_RXCNT) /* UART0 Receive Counter Register */
-
-/* =========================================================================
- UART1
- ========================================================================= */
-#define pREG_UART1_REVID ((volatile uint32_t *)REG_UART1_REVID) /* UART1 Revision ID Register */
-#define pREG_UART1_CTL ((volatile uint32_t *)REG_UART1_CTL) /* UART1 Control Register */
-#define pREG_UART1_STAT ((volatile uint32_t *)REG_UART1_STAT) /* UART1 Status Register */
-#define pREG_UART1_SCR ((volatile uint32_t *)REG_UART1_SCR) /* UART1 Scratch Register */
-#define pREG_UART1_CLK ((volatile uint32_t *)REG_UART1_CLK) /* UART1 Clock Rate Register */
-#define pREG_UART1_IMSK ((volatile uint32_t *)REG_UART1_IMSK) /* UART1 Interrupt Mask Register */
-#define pREG_UART1_IMSK_SET ((volatile uint32_t *)REG_UART1_IMSK_SET) /* UART1 Interrupt Mask Set Register */
-#define pREG_UART1_IMSK_CLR ((volatile uint32_t *)REG_UART1_IMSK_CLR) /* UART1 Interrupt Mask Clear Register */
-#define pREG_UART1_RBR ((volatile uint32_t *)REG_UART1_RBR) /* UART1 Receive Buffer Register */
-#define pREG_UART1_THR ((volatile uint32_t *)REG_UART1_THR) /* UART1 Transmit Hold Register */
-#define pREG_UART1_TAIP ((volatile uint32_t *)REG_UART1_TAIP) /* UART1 Transmit Address/Insert Pulse Register */
-#define pREG_UART1_TSR ((volatile uint32_t *)REG_UART1_TSR) /* UART1 Transmit Shift Register */
-#define pREG_UART1_RSR ((volatile uint32_t *)REG_UART1_RSR) /* UART1 Receive Shift Register */
-#define pREG_UART1_TXCNT ((volatile uint32_t *)REG_UART1_TXCNT) /* UART1 Transmit Counter Register */
-#define pREG_UART1_RXCNT ((volatile uint32_t *)REG_UART1_RXCNT) /* UART1 Receive Counter Register */
-
-
-/* =========================================================================
- PORTA
- ========================================================================= */
-#define pREG_PORTA_FER ((volatile uint32_t *)REG_PORTA_FER) /* PORTA Port x Function Enable Register */
-#define pREG_PORTA_FER_SET ((volatile uint32_t *)REG_PORTA_FER_SET) /* PORTA Port x Function Enable Set Register */
-#define pREG_PORTA_FER_CLR ((volatile uint32_t *)REG_PORTA_FER_CLR) /* PORTA Port x Function Enable Clear Register */
-#define pREG_PORTA_DATA ((volatile uint32_t *)REG_PORTA_DATA) /* PORTA Port x GPIO Data Register */
-#define pREG_PORTA_DATA_SET ((volatile uint32_t *)REG_PORTA_DATA_SET) /* PORTA Port x GPIO Data Set Register */
-#define pREG_PORTA_DATA_CLR ((volatile uint32_t *)REG_PORTA_DATA_CLR) /* PORTA Port x GPIO Data Clear Register */
-#define pREG_PORTA_DIR ((volatile uint32_t *)REG_PORTA_DIR) /* PORTA Port x GPIO Direction Register */
-#define pREG_PORTA_DIR_SET ((volatile uint32_t *)REG_PORTA_DIR_SET) /* PORTA Port x GPIO Direction Set Register */
-#define pREG_PORTA_DIR_CLR ((volatile uint32_t *)REG_PORTA_DIR_CLR) /* PORTA Port x GPIO Direction Clear Register */
-#define pREG_PORTA_INEN ((volatile uint32_t *)REG_PORTA_INEN) /* PORTA Port x GPIO Input Enable Register */
-#define pREG_PORTA_INEN_SET ((volatile uint32_t *)REG_PORTA_INEN_SET) /* PORTA Port x GPIO Input Enable Set Register */
-#define pREG_PORTA_INEN_CLR ((volatile uint32_t *)REG_PORTA_INEN_CLR) /* PORTA Port x GPIO Input Enable Clear Register */
-#define pREG_PORTA_MUX ((volatile uint32_t *)REG_PORTA_MUX) /* PORTA Port x Multiplexer Control Register */
-#define pREG_PORTA_DATA_TGL ((volatile uint32_t *)REG_PORTA_DATA_TGL) /* PORTA Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTA_POL ((volatile uint32_t *)REG_PORTA_POL) /* PORTA Port x GPIO Polarity Invert Register */
-#define pREG_PORTA_POL_SET ((volatile uint32_t *)REG_PORTA_POL_SET) /* PORTA Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTA_POL_CLR ((volatile uint32_t *)REG_PORTA_POL_CLR) /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTA_LOCK ((volatile uint32_t *)REG_PORTA_LOCK) /* PORTA Port x GPIO Lock Register */
-#define pREG_PORTA_REVID ((volatile uint32_t *)REG_PORTA_REVID) /* PORTA Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTB
- ========================================================================= */
-#define pREG_PORTB_FER ((volatile uint32_t *)REG_PORTB_FER) /* PORTB Port x Function Enable Register */
-#define pREG_PORTB_FER_SET ((volatile uint32_t *)REG_PORTB_FER_SET) /* PORTB Port x Function Enable Set Register */
-#define pREG_PORTB_FER_CLR ((volatile uint32_t *)REG_PORTB_FER_CLR) /* PORTB Port x Function Enable Clear Register */
-#define pREG_PORTB_DATA ((volatile uint32_t *)REG_PORTB_DATA) /* PORTB Port x GPIO Data Register */
-#define pREG_PORTB_DATA_SET ((volatile uint32_t *)REG_PORTB_DATA_SET) /* PORTB Port x GPIO Data Set Register */
-#define pREG_PORTB_DATA_CLR ((volatile uint32_t *)REG_PORTB_DATA_CLR) /* PORTB Port x GPIO Data Clear Register */
-#define pREG_PORTB_DIR ((volatile uint32_t *)REG_PORTB_DIR) /* PORTB Port x GPIO Direction Register */
-#define pREG_PORTB_DIR_SET ((volatile uint32_t *)REG_PORTB_DIR_SET) /* PORTB Port x GPIO Direction Set Register */
-#define pREG_PORTB_DIR_CLR ((volatile uint32_t *)REG_PORTB_DIR_CLR) /* PORTB Port x GPIO Direction Clear Register */
-#define pREG_PORTB_INEN ((volatile uint32_t *)REG_PORTB_INEN) /* PORTB Port x GPIO Input Enable Register */
-#define pREG_PORTB_INEN_SET ((volatile uint32_t *)REG_PORTB_INEN_SET) /* PORTB Port x GPIO Input Enable Set Register */
-#define pREG_PORTB_INEN_CLR ((volatile uint32_t *)REG_PORTB_INEN_CLR) /* PORTB Port x GPIO Input Enable Clear Register */
-#define pREG_PORTB_MUX ((volatile uint32_t *)REG_PORTB_MUX) /* PORTB Port x Multiplexer Control Register */
-#define pREG_PORTB_DATA_TGL ((volatile uint32_t *)REG_PORTB_DATA_TGL) /* PORTB Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTB_POL ((volatile uint32_t *)REG_PORTB_POL) /* PORTB Port x GPIO Polarity Invert Register */
-#define pREG_PORTB_POL_SET ((volatile uint32_t *)REG_PORTB_POL_SET) /* PORTB Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTB_POL_CLR ((volatile uint32_t *)REG_PORTB_POL_CLR) /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTB_LOCK ((volatile uint32_t *)REG_PORTB_LOCK) /* PORTB Port x GPIO Lock Register */
-#define pREG_PORTB_REVID ((volatile uint32_t *)REG_PORTB_REVID) /* PORTB Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTC
- ========================================================================= */
-#define pREG_PORTC_FER ((volatile uint32_t *)REG_PORTC_FER) /* PORTC Port x Function Enable Register */
-#define pREG_PORTC_FER_SET ((volatile uint32_t *)REG_PORTC_FER_SET) /* PORTC Port x Function Enable Set Register */
-#define pREG_PORTC_FER_CLR ((volatile uint32_t *)REG_PORTC_FER_CLR) /* PORTC Port x Function Enable Clear Register */
-#define pREG_PORTC_DATA ((volatile uint32_t *)REG_PORTC_DATA) /* PORTC Port x GPIO Data Register */
-#define pREG_PORTC_DATA_SET ((volatile uint32_t *)REG_PORTC_DATA_SET) /* PORTC Port x GPIO Data Set Register */
-#define pREG_PORTC_DATA_CLR ((volatile uint32_t *)REG_PORTC_DATA_CLR) /* PORTC Port x GPIO Data Clear Register */
-#define pREG_PORTC_DIR ((volatile uint32_t *)REG_PORTC_DIR) /* PORTC Port x GPIO Direction Register */
-#define pREG_PORTC_DIR_SET ((volatile uint32_t *)REG_PORTC_DIR_SET) /* PORTC Port x GPIO Direction Set Register */
-#define pREG_PORTC_DIR_CLR ((volatile uint32_t *)REG_PORTC_DIR_CLR) /* PORTC Port x GPIO Direction Clear Register */
-#define pREG_PORTC_INEN ((volatile uint32_t *)REG_PORTC_INEN) /* PORTC Port x GPIO Input Enable Register */
-#define pREG_PORTC_INEN_SET ((volatile uint32_t *)REG_PORTC_INEN_SET) /* PORTC Port x GPIO Input Enable Set Register */
-#define pREG_PORTC_INEN_CLR ((volatile uint32_t *)REG_PORTC_INEN_CLR) /* PORTC Port x GPIO Input Enable Clear Register */
-#define pREG_PORTC_MUX ((volatile uint32_t *)REG_PORTC_MUX) /* PORTC Port x Multiplexer Control Register */
-#define pREG_PORTC_DATA_TGL ((volatile uint32_t *)REG_PORTC_DATA_TGL) /* PORTC Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTC_POL ((volatile uint32_t *)REG_PORTC_POL) /* PORTC Port x GPIO Polarity Invert Register */
-#define pREG_PORTC_POL_SET ((volatile uint32_t *)REG_PORTC_POL_SET) /* PORTC Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTC_POL_CLR ((volatile uint32_t *)REG_PORTC_POL_CLR) /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTC_LOCK ((volatile uint32_t *)REG_PORTC_LOCK) /* PORTC Port x GPIO Lock Register */
-#define pREG_PORTC_REVID ((volatile uint32_t *)REG_PORTC_REVID) /* PORTC Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTD
- ========================================================================= */
-#define pREG_PORTD_FER ((volatile uint32_t *)REG_PORTD_FER) /* PORTD Port x Function Enable Register */
-#define pREG_PORTD_FER_SET ((volatile uint32_t *)REG_PORTD_FER_SET) /* PORTD Port x Function Enable Set Register */
-#define pREG_PORTD_FER_CLR ((volatile uint32_t *)REG_PORTD_FER_CLR) /* PORTD Port x Function Enable Clear Register */
-#define pREG_PORTD_DATA ((volatile uint32_t *)REG_PORTD_DATA) /* PORTD Port x GPIO Data Register */
-#define pREG_PORTD_DATA_SET ((volatile uint32_t *)REG_PORTD_DATA_SET) /* PORTD Port x GPIO Data Set Register */
-#define pREG_PORTD_DATA_CLR ((volatile uint32_t *)REG_PORTD_DATA_CLR) /* PORTD Port x GPIO Data Clear Register */
-#define pREG_PORTD_DIR ((volatile uint32_t *)REG_PORTD_DIR) /* PORTD Port x GPIO Direction Register */
-#define pREG_PORTD_DIR_SET ((volatile uint32_t *)REG_PORTD_DIR_SET) /* PORTD Port x GPIO Direction Set Register */
-#define pREG_PORTD_DIR_CLR ((volatile uint32_t *)REG_PORTD_DIR_CLR) /* PORTD Port x GPIO Direction Clear Register */
-#define pREG_PORTD_INEN ((volatile uint32_t *)REG_PORTD_INEN) /* PORTD Port x GPIO Input Enable Register */
-#define pREG_PORTD_INEN_SET ((volatile uint32_t *)REG_PORTD_INEN_SET) /* PORTD Port x GPIO Input Enable Set Register */
-#define pREG_PORTD_INEN_CLR ((volatile uint32_t *)REG_PORTD_INEN_CLR) /* PORTD Port x GPIO Input Enable Clear Register */
-#define pREG_PORTD_MUX ((volatile uint32_t *)REG_PORTD_MUX) /* PORTD Port x Multiplexer Control Register */
-#define pREG_PORTD_DATA_TGL ((volatile uint32_t *)REG_PORTD_DATA_TGL) /* PORTD Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTD_POL ((volatile uint32_t *)REG_PORTD_POL) /* PORTD Port x GPIO Polarity Invert Register */
-#define pREG_PORTD_POL_SET ((volatile uint32_t *)REG_PORTD_POL_SET) /* PORTD Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTD_POL_CLR ((volatile uint32_t *)REG_PORTD_POL_CLR) /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTD_LOCK ((volatile uint32_t *)REG_PORTD_LOCK) /* PORTD Port x GPIO Lock Register */
-#define pREG_PORTD_REVID ((volatile uint32_t *)REG_PORTD_REVID) /* PORTD Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTE
- ========================================================================= */
-#define pREG_PORTE_FER ((volatile uint32_t *)REG_PORTE_FER) /* PORTE Port x Function Enable Register */
-#define pREG_PORTE_FER_SET ((volatile uint32_t *)REG_PORTE_FER_SET) /* PORTE Port x Function Enable Set Register */
-#define pREG_PORTE_FER_CLR ((volatile uint32_t *)REG_PORTE_FER_CLR) /* PORTE Port x Function Enable Clear Register */
-#define pREG_PORTE_DATA ((volatile uint32_t *)REG_PORTE_DATA) /* PORTE Port x GPIO Data Register */
-#define pREG_PORTE_DATA_SET ((volatile uint32_t *)REG_PORTE_DATA_SET) /* PORTE Port x GPIO Data Set Register */
-#define pREG_PORTE_DATA_CLR ((volatile uint32_t *)REG_PORTE_DATA_CLR) /* PORTE Port x GPIO Data Clear Register */
-#define pREG_PORTE_DIR ((volatile uint32_t *)REG_PORTE_DIR) /* PORTE Port x GPIO Direction Register */
-#define pREG_PORTE_DIR_SET ((volatile uint32_t *)REG_PORTE_DIR_SET) /* PORTE Port x GPIO Direction Set Register */
-#define pREG_PORTE_DIR_CLR ((volatile uint32_t *)REG_PORTE_DIR_CLR) /* PORTE Port x GPIO Direction Clear Register */
-#define pREG_PORTE_INEN ((volatile uint32_t *)REG_PORTE_INEN) /* PORTE Port x GPIO Input Enable Register */
-#define pREG_PORTE_INEN_SET ((volatile uint32_t *)REG_PORTE_INEN_SET) /* PORTE Port x GPIO Input Enable Set Register */
-#define pREG_PORTE_INEN_CLR ((volatile uint32_t *)REG_PORTE_INEN_CLR) /* PORTE Port x GPIO Input Enable Clear Register */
-#define pREG_PORTE_MUX ((volatile uint32_t *)REG_PORTE_MUX) /* PORTE Port x Multiplexer Control Register */
-#define pREG_PORTE_DATA_TGL ((volatile uint32_t *)REG_PORTE_DATA_TGL) /* PORTE Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTE_POL ((volatile uint32_t *)REG_PORTE_POL) /* PORTE Port x GPIO Polarity Invert Register */
-#define pREG_PORTE_POL_SET ((volatile uint32_t *)REG_PORTE_POL_SET) /* PORTE Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTE_POL_CLR ((volatile uint32_t *)REG_PORTE_POL_CLR) /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTE_LOCK ((volatile uint32_t *)REG_PORTE_LOCK) /* PORTE Port x GPIO Lock Register */
-#define pREG_PORTE_REVID ((volatile uint32_t *)REG_PORTE_REVID) /* PORTE Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTF
- ========================================================================= */
-#define pREG_PORTF_FER ((volatile uint32_t *)REG_PORTF_FER) /* PORTF Port x Function Enable Register */
-#define pREG_PORTF_FER_SET ((volatile uint32_t *)REG_PORTF_FER_SET) /* PORTF Port x Function Enable Set Register */
-#define pREG_PORTF_FER_CLR ((volatile uint32_t *)REG_PORTF_FER_CLR) /* PORTF Port x Function Enable Clear Register */
-#define pREG_PORTF_DATA ((volatile uint32_t *)REG_PORTF_DATA) /* PORTF Port x GPIO Data Register */
-#define pREG_PORTF_DATA_SET ((volatile uint32_t *)REG_PORTF_DATA_SET) /* PORTF Port x GPIO Data Set Register */
-#define pREG_PORTF_DATA_CLR ((volatile uint32_t *)REG_PORTF_DATA_CLR) /* PORTF Port x GPIO Data Clear Register */
-#define pREG_PORTF_DIR ((volatile uint32_t *)REG_PORTF_DIR) /* PORTF Port x GPIO Direction Register */
-#define pREG_PORTF_DIR_SET ((volatile uint32_t *)REG_PORTF_DIR_SET) /* PORTF Port x GPIO Direction Set Register */
-#define pREG_PORTF_DIR_CLR ((volatile uint32_t *)REG_PORTF_DIR_CLR) /* PORTF Port x GPIO Direction Clear Register */
-#define pREG_PORTF_INEN ((volatile uint32_t *)REG_PORTF_INEN) /* PORTF Port x GPIO Input Enable Register */
-#define pREG_PORTF_INEN_SET ((volatile uint32_t *)REG_PORTF_INEN_SET) /* PORTF Port x GPIO Input Enable Set Register */
-#define pREG_PORTF_INEN_CLR ((volatile uint32_t *)REG_PORTF_INEN_CLR) /* PORTF Port x GPIO Input Enable Clear Register */
-#define pREG_PORTF_MUX ((volatile uint32_t *)REG_PORTF_MUX) /* PORTF Port x Multiplexer Control Register */
-#define pREG_PORTF_DATA_TGL ((volatile uint32_t *)REG_PORTF_DATA_TGL) /* PORTF Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTF_POL ((volatile uint32_t *)REG_PORTF_POL) /* PORTF Port x GPIO Polarity Invert Register */
-#define pREG_PORTF_POL_SET ((volatile uint32_t *)REG_PORTF_POL_SET) /* PORTF Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTF_POL_CLR ((volatile uint32_t *)REG_PORTF_POL_CLR) /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTF_LOCK ((volatile uint32_t *)REG_PORTF_LOCK) /* PORTF Port x GPIO Lock Register */
-#define pREG_PORTF_REVID ((volatile uint32_t *)REG_PORTF_REVID) /* PORTF Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTG
- ========================================================================= */
-#define pREG_PORTG_FER ((volatile uint32_t *)REG_PORTG_FER) /* PORTG Port x Function Enable Register */
-#define pREG_PORTG_FER_SET ((volatile uint32_t *)REG_PORTG_FER_SET) /* PORTG Port x Function Enable Set Register */
-#define pREG_PORTG_FER_CLR ((volatile uint32_t *)REG_PORTG_FER_CLR) /* PORTG Port x Function Enable Clear Register */
-#define pREG_PORTG_DATA ((volatile uint32_t *)REG_PORTG_DATA) /* PORTG Port x GPIO Data Register */
-#define pREG_PORTG_DATA_SET ((volatile uint32_t *)REG_PORTG_DATA_SET) /* PORTG Port x GPIO Data Set Register */
-#define pREG_PORTG_DATA_CLR ((volatile uint32_t *)REG_PORTG_DATA_CLR) /* PORTG Port x GPIO Data Clear Register */
-#define pREG_PORTG_DIR ((volatile uint32_t *)REG_PORTG_DIR) /* PORTG Port x GPIO Direction Register */
-#define pREG_PORTG_DIR_SET ((volatile uint32_t *)REG_PORTG_DIR_SET) /* PORTG Port x GPIO Direction Set Register */
-#define pREG_PORTG_DIR_CLR ((volatile uint32_t *)REG_PORTG_DIR_CLR) /* PORTG Port x GPIO Direction Clear Register */
-#define pREG_PORTG_INEN ((volatile uint32_t *)REG_PORTG_INEN) /* PORTG Port x GPIO Input Enable Register */
-#define pREG_PORTG_INEN_SET ((volatile uint32_t *)REG_PORTG_INEN_SET) /* PORTG Port x GPIO Input Enable Set Register */
-#define pREG_PORTG_INEN_CLR ((volatile uint32_t *)REG_PORTG_INEN_CLR) /* PORTG Port x GPIO Input Enable Clear Register */
-#define pREG_PORTG_MUX ((volatile uint32_t *)REG_PORTG_MUX) /* PORTG Port x Multiplexer Control Register */
-#define pREG_PORTG_DATA_TGL ((volatile uint32_t *)REG_PORTG_DATA_TGL) /* PORTG Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTG_POL ((volatile uint32_t *)REG_PORTG_POL) /* PORTG Port x GPIO Polarity Invert Register */
-#define pREG_PORTG_POL_SET ((volatile uint32_t *)REG_PORTG_POL_SET) /* PORTG Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTG_POL_CLR ((volatile uint32_t *)REG_PORTG_POL_CLR) /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTG_LOCK ((volatile uint32_t *)REG_PORTG_LOCK) /* PORTG Port x GPIO Lock Register */
-#define pREG_PORTG_REVID ((volatile uint32_t *)REG_PORTG_REVID) /* PORTG Port x GPIO Revision ID */
-
-
-/* =========================================================================
- PADS0
- ========================================================================= */
-#define pREG_PADS0_EMAC_PTP_CLKSEL ((volatile uint32_t *)REG_PADS0_EMAC_PTP_CLKSEL) /* PADS0 Clock Selection for EMAC and PTP */
-#define pREG_PADS0_TWI_VSEL ((volatile uint32_t *)REG_PADS0_TWI_VSEL) /* PADS0 TWI Voltage Selection */
-#define pREG_PADS0_PORTS_HYST ((volatile uint32_t *)REG_PADS0_PORTS_HYST) /* PADS0 Hysteresis Enable Register */
-
-
-/* =========================================================================
- PINT0
- ========================================================================= */
-#define pREG_PINT0_MSK_SET ((volatile uint32_t *)REG_PINT0_MSK_SET) /* PINT0 Pint Mask Set Register */
-#define pREG_PINT0_MSK_CLR ((volatile uint32_t *)REG_PINT0_MSK_CLR) /* PINT0 Pint Mask Clear Register */
-#define pREG_PINT0_REQ ((volatile uint32_t *)REG_PINT0_REQ) /* PINT0 Pint Request Register */
-#define pREG_PINT0_ASSIGN ((volatile uint32_t *)REG_PINT0_ASSIGN) /* PINT0 Pint Assign Register */
-#define pREG_PINT0_EDGE_SET ((volatile uint32_t *)REG_PINT0_EDGE_SET) /* PINT0 Pint Edge Set Register */
-#define pREG_PINT0_EDGE_CLR ((volatile uint32_t *)REG_PINT0_EDGE_CLR) /* PINT0 Pint Edge Clear Register */
-#define pREG_PINT0_INV_SET ((volatile uint32_t *)REG_PINT0_INV_SET) /* PINT0 Pint Invert Set Register */
-#define pREG_PINT0_INV_CLR ((volatile uint32_t *)REG_PINT0_INV_CLR) /* PINT0 Pint Invert Clear Register */
-#define pREG_PINT0_PINSTATE ((volatile uint32_t *)REG_PINT0_PINSTATE) /* PINT0 Pint Pinstate Register */
-#define pREG_PINT0_LATCH ((volatile uint32_t *)REG_PINT0_LATCH) /* PINT0 Pint Latch Register */
-
-/* =========================================================================
- PINT1
- ========================================================================= */
-#define pREG_PINT1_MSK_SET ((volatile uint32_t *)REG_PINT1_MSK_SET) /* PINT1 Pint Mask Set Register */
-#define pREG_PINT1_MSK_CLR ((volatile uint32_t *)REG_PINT1_MSK_CLR) /* PINT1 Pint Mask Clear Register */
-#define pREG_PINT1_REQ ((volatile uint32_t *)REG_PINT1_REQ) /* PINT1 Pint Request Register */
-#define pREG_PINT1_ASSIGN ((volatile uint32_t *)REG_PINT1_ASSIGN) /* PINT1 Pint Assign Register */
-#define pREG_PINT1_EDGE_SET ((volatile uint32_t *)REG_PINT1_EDGE_SET) /* PINT1 Pint Edge Set Register */
-#define pREG_PINT1_EDGE_CLR ((volatile uint32_t *)REG_PINT1_EDGE_CLR) /* PINT1 Pint Edge Clear Register */
-#define pREG_PINT1_INV_SET ((volatile uint32_t *)REG_PINT1_INV_SET) /* PINT1 Pint Invert Set Register */
-#define pREG_PINT1_INV_CLR ((volatile uint32_t *)REG_PINT1_INV_CLR) /* PINT1 Pint Invert Clear Register */
-#define pREG_PINT1_PINSTATE ((volatile uint32_t *)REG_PINT1_PINSTATE) /* PINT1 Pint Pinstate Register */
-#define pREG_PINT1_LATCH ((volatile uint32_t *)REG_PINT1_LATCH) /* PINT1 Pint Latch Register */
-
-/* =========================================================================
- PINT2
- ========================================================================= */
-#define pREG_PINT2_MSK_SET ((volatile uint32_t *)REG_PINT2_MSK_SET) /* PINT2 Pint Mask Set Register */
-#define pREG_PINT2_MSK_CLR ((volatile uint32_t *)REG_PINT2_MSK_CLR) /* PINT2 Pint Mask Clear Register */
-#define pREG_PINT2_REQ ((volatile uint32_t *)REG_PINT2_REQ) /* PINT2 Pint Request Register */
-#define pREG_PINT2_ASSIGN ((volatile uint32_t *)REG_PINT2_ASSIGN) /* PINT2 Pint Assign Register */
-#define pREG_PINT2_EDGE_SET ((volatile uint32_t *)REG_PINT2_EDGE_SET) /* PINT2 Pint Edge Set Register */
-#define pREG_PINT2_EDGE_CLR ((volatile uint32_t *)REG_PINT2_EDGE_CLR) /* PINT2 Pint Edge Clear Register */
-#define pREG_PINT2_INV_SET ((volatile uint32_t *)REG_PINT2_INV_SET) /* PINT2 Pint Invert Set Register */
-#define pREG_PINT2_INV_CLR ((volatile uint32_t *)REG_PINT2_INV_CLR) /* PINT2 Pint Invert Clear Register */
-#define pREG_PINT2_PINSTATE ((volatile uint32_t *)REG_PINT2_PINSTATE) /* PINT2 Pint Pinstate Register */
-#define pREG_PINT2_LATCH ((volatile uint32_t *)REG_PINT2_LATCH) /* PINT2 Pint Latch Register */
-
-/* =========================================================================
- PINT3
- ========================================================================= */
-#define pREG_PINT3_MSK_SET ((volatile uint32_t *)REG_PINT3_MSK_SET) /* PINT3 Pint Mask Set Register */
-#define pREG_PINT3_MSK_CLR ((volatile uint32_t *)REG_PINT3_MSK_CLR) /* PINT3 Pint Mask Clear Register */
-#define pREG_PINT3_REQ ((volatile uint32_t *)REG_PINT3_REQ) /* PINT3 Pint Request Register */
-#define pREG_PINT3_ASSIGN ((volatile uint32_t *)REG_PINT3_ASSIGN) /* PINT3 Pint Assign Register */
-#define pREG_PINT3_EDGE_SET ((volatile uint32_t *)REG_PINT3_EDGE_SET) /* PINT3 Pint Edge Set Register */
-#define pREG_PINT3_EDGE_CLR ((volatile uint32_t *)REG_PINT3_EDGE_CLR) /* PINT3 Pint Edge Clear Register */
-#define pREG_PINT3_INV_SET ((volatile uint32_t *)REG_PINT3_INV_SET) /* PINT3 Pint Invert Set Register */
-#define pREG_PINT3_INV_CLR ((volatile uint32_t *)REG_PINT3_INV_CLR) /* PINT3 Pint Invert Clear Register */
-#define pREG_PINT3_PINSTATE ((volatile uint32_t *)REG_PINT3_PINSTATE) /* PINT3 Pint Pinstate Register */
-#define pREG_PINT3_LATCH ((volatile uint32_t *)REG_PINT3_LATCH) /* PINT3 Pint Latch Register */
-
-/* =========================================================================
- PINT4
- ========================================================================= */
-#define pREG_PINT4_MSK_SET ((volatile uint32_t *)REG_PINT4_MSK_SET) /* PINT4 Pint Mask Set Register */
-#define pREG_PINT4_MSK_CLR ((volatile uint32_t *)REG_PINT4_MSK_CLR) /* PINT4 Pint Mask Clear Register */
-#define pREG_PINT4_REQ ((volatile uint32_t *)REG_PINT4_REQ) /* PINT4 Pint Request Register */
-#define pREG_PINT4_ASSIGN ((volatile uint32_t *)REG_PINT4_ASSIGN) /* PINT4 Pint Assign Register */
-#define pREG_PINT4_EDGE_SET ((volatile uint32_t *)REG_PINT4_EDGE_SET) /* PINT4 Pint Edge Set Register */
-#define pREG_PINT4_EDGE_CLR ((volatile uint32_t *)REG_PINT4_EDGE_CLR) /* PINT4 Pint Edge Clear Register */
-#define pREG_PINT4_INV_SET ((volatile uint32_t *)REG_PINT4_INV_SET) /* PINT4 Pint Invert Set Register */
-#define pREG_PINT4_INV_CLR ((volatile uint32_t *)REG_PINT4_INV_CLR) /* PINT4 Pint Invert Clear Register */
-#define pREG_PINT4_PINSTATE ((volatile uint32_t *)REG_PINT4_PINSTATE) /* PINT4 Pint Pinstate Register */
-#define pREG_PINT4_LATCH ((volatile uint32_t *)REG_PINT4_LATCH) /* PINT4 Pint Latch Register */
-
-/* =========================================================================
- PINT5
- ========================================================================= */
-#define pREG_PINT5_MSK_SET ((volatile uint32_t *)REG_PINT5_MSK_SET) /* PINT5 Pint Mask Set Register */
-#define pREG_PINT5_MSK_CLR ((volatile uint32_t *)REG_PINT5_MSK_CLR) /* PINT5 Pint Mask Clear Register */
-#define pREG_PINT5_REQ ((volatile uint32_t *)REG_PINT5_REQ) /* PINT5 Pint Request Register */
-#define pREG_PINT5_ASSIGN ((volatile uint32_t *)REG_PINT5_ASSIGN) /* PINT5 Pint Assign Register */
-#define pREG_PINT5_EDGE_SET ((volatile uint32_t *)REG_PINT5_EDGE_SET) /* PINT5 Pint Edge Set Register */
-#define pREG_PINT5_EDGE_CLR ((volatile uint32_t *)REG_PINT5_EDGE_CLR) /* PINT5 Pint Edge Clear Register */
-#define pREG_PINT5_INV_SET ((volatile uint32_t *)REG_PINT5_INV_SET) /* PINT5 Pint Invert Set Register */
-#define pREG_PINT5_INV_CLR ((volatile uint32_t *)REG_PINT5_INV_CLR) /* PINT5 Pint Invert Clear Register */
-#define pREG_PINT5_PINSTATE ((volatile uint32_t *)REG_PINT5_PINSTATE) /* PINT5 Pint Pinstate Register */
-#define pREG_PINT5_LATCH ((volatile uint32_t *)REG_PINT5_LATCH) /* PINT5 Pint Latch Register */
-
-
-/* =========================================================================
- SMC0
- ========================================================================= */
-#define pREG_SMC0_GCTL ((volatile uint32_t *)REG_SMC0_GCTL) /* SMC0 Grant Control Register */
-#define pREG_SMC0_GSTAT ((volatile uint32_t *)REG_SMC0_GSTAT) /* SMC0 Grant Status Register */
-#define pREG_SMC0_B0CTL ((volatile uint32_t *)REG_SMC0_B0CTL) /* SMC0 Bank 0 Control Register */
-#define pREG_SMC0_B0TIM ((volatile uint32_t *)REG_SMC0_B0TIM) /* SMC0 Bank 0 Timing Register */
-#define pREG_SMC0_B0ETIM ((volatile uint32_t *)REG_SMC0_B0ETIM) /* SMC0 Bank 0 Extended Timing Register */
-#define pREG_SMC0_B1CTL ((volatile uint32_t *)REG_SMC0_B1CTL) /* SMC0 Bank 1 Control Register */
-#define pREG_SMC0_B1TIM ((volatile uint32_t *)REG_SMC0_B1TIM) /* SMC0 Bank 1 Timing Register */
-#define pREG_SMC0_B1ETIM ((volatile uint32_t *)REG_SMC0_B1ETIM) /* SMC0 Bank 1 Extended Timing Register */
-#define pREG_SMC0_B2CTL ((volatile uint32_t *)REG_SMC0_B2CTL) /* SMC0 Bank 2 Control Register */
-#define pREG_SMC0_B2TIM ((volatile uint32_t *)REG_SMC0_B2TIM) /* SMC0 Bank 2 Timing Register */
-#define pREG_SMC0_B2ETIM ((volatile uint32_t *)REG_SMC0_B2ETIM) /* SMC0 Bank 2 Extended Timing Register */
-#define pREG_SMC0_B3CTL ((volatile uint32_t *)REG_SMC0_B3CTL) /* SMC0 Bank 3 Control Register */
-#define pREG_SMC0_B3TIM ((volatile uint32_t *)REG_SMC0_B3TIM) /* SMC0 Bank 3 Timing Register */
-#define pREG_SMC0_B3ETIM ((volatile uint32_t *)REG_SMC0_B3ETIM) /* SMC0 Bank 3 Extended Timing Register */
-
-
-/* =========================================================================
- WDOG0
- ========================================================================= */
-#define pREG_WDOG0_CTL ((volatile uint32_t *)REG_WDOG0_CTL) /* WDOG0 Control Register */
-#define pREG_WDOG0_CNT ((volatile uint32_t *)REG_WDOG0_CNT) /* WDOG0 Count Register */
-#define pREG_WDOG0_STAT ((volatile uint32_t *)REG_WDOG0_STAT) /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================================================================
- WDOG1
- ========================================================================= */
-#define pREG_WDOG1_CTL ((volatile uint32_t *)REG_WDOG1_CTL) /* WDOG1 Control Register */
-#define pREG_WDOG1_CNT ((volatile uint32_t *)REG_WDOG1_CNT) /* WDOG1 Count Register */
-#define pREG_WDOG1_STAT ((volatile uint32_t *)REG_WDOG1_STAT) /* WDOG1 Watchdog Timer Status Register */
-
-
-/* =========================================================================
- EPPI0
- ========================================================================= */
-#define pREG_EPPI0_STAT ((volatile uint32_t *)REG_EPPI0_STAT) /* EPPI0 Status Register */
-#define pREG_EPPI0_HCNT ((volatile uint32_t *)REG_EPPI0_HCNT) /* EPPI0 Horizontal Transfer Count Register */
-#define pREG_EPPI0_HDLY ((volatile uint32_t *)REG_EPPI0_HDLY) /* EPPI0 Horizontal Delay Count Register */
-#define pREG_EPPI0_VCNT ((volatile uint32_t *)REG_EPPI0_VCNT) /* EPPI0 Vertical Transfer Count Register */
-#define pREG_EPPI0_VDLY ((volatile uint32_t *)REG_EPPI0_VDLY) /* EPPI0 Vertical Delay Count Register */
-#define pREG_EPPI0_FRAME ((volatile uint32_t *)REG_EPPI0_FRAME) /* EPPI0 Lines Per Frame Register */
-#define pREG_EPPI0_LINE ((volatile uint32_t *)REG_EPPI0_LINE) /* EPPI0 Samples Per Line Register */
-#define pREG_EPPI0_CLKDIV ((volatile uint32_t *)REG_EPPI0_CLKDIV) /* EPPI0 Clock Divide Register */
-#define pREG_EPPI0_CTL ((volatile uint32_t *)REG_EPPI0_CTL) /* EPPI0 Control Register */
-#define pREG_EPPI0_FS1_WLHB ((volatile uint32_t *)REG_EPPI0_FS1_WLHB) /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI0_FS1_PASPL ((volatile uint32_t *)REG_EPPI0_FS1_PASPL) /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI0_FS2_WLVB ((volatile uint32_t *)REG_EPPI0_FS2_WLVB) /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI0_FS2_PALPF ((volatile uint32_t *)REG_EPPI0_FS2_PALPF) /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI0_IMSK ((volatile uint32_t *)REG_EPPI0_IMSK) /* EPPI0 Interrupt Mask Register */
-#define pREG_EPPI0_ODDCLIP ((volatile uint32_t *)REG_EPPI0_ODDCLIP) /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI0_EVENCLIP ((volatile uint32_t *)REG_EPPI0_EVENCLIP) /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI0_FS1_DLY ((volatile uint32_t *)REG_EPPI0_FS1_DLY) /* EPPI0 Frame Sync 1 Delay Value */
-#define pREG_EPPI0_FS2_DLY ((volatile uint32_t *)REG_EPPI0_FS2_DLY) /* EPPI0 Frame Sync 2 Delay Value */
-#define pREG_EPPI0_CTL2 ((volatile uint32_t *)REG_EPPI0_CTL2) /* EPPI0 Control Register 2 */
-
-/* =========================================================================
- EPPI1
- ========================================================================= */
-#define pREG_EPPI1_STAT ((volatile uint32_t *)REG_EPPI1_STAT) /* EPPI1 Status Register */
-#define pREG_EPPI1_HCNT ((volatile uint32_t *)REG_EPPI1_HCNT) /* EPPI1 Horizontal Transfer Count Register */
-#define pREG_EPPI1_HDLY ((volatile uint32_t *)REG_EPPI1_HDLY) /* EPPI1 Horizontal Delay Count Register */
-#define pREG_EPPI1_VCNT ((volatile uint32_t *)REG_EPPI1_VCNT) /* EPPI1 Vertical Transfer Count Register */
-#define pREG_EPPI1_VDLY ((volatile uint32_t *)REG_EPPI1_VDLY) /* EPPI1 Vertical Delay Count Register */
-#define pREG_EPPI1_FRAME ((volatile uint32_t *)REG_EPPI1_FRAME) /* EPPI1 Lines Per Frame Register */
-#define pREG_EPPI1_LINE ((volatile uint32_t *)REG_EPPI1_LINE) /* EPPI1 Samples Per Line Register */
-#define pREG_EPPI1_CLKDIV ((volatile uint32_t *)REG_EPPI1_CLKDIV) /* EPPI1 Clock Divide Register */
-#define pREG_EPPI1_CTL ((volatile uint32_t *)REG_EPPI1_CTL) /* EPPI1 Control Register */
-#define pREG_EPPI1_FS1_WLHB ((volatile uint32_t *)REG_EPPI1_FS1_WLHB) /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI1_FS1_PASPL ((volatile uint32_t *)REG_EPPI1_FS1_PASPL) /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI1_FS2_WLVB ((volatile uint32_t *)REG_EPPI1_FS2_WLVB) /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI1_FS2_PALPF ((volatile uint32_t *)REG_EPPI1_FS2_PALPF) /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI1_IMSK ((volatile uint32_t *)REG_EPPI1_IMSK) /* EPPI1 Interrupt Mask Register */
-#define pREG_EPPI1_ODDCLIP ((volatile uint32_t *)REG_EPPI1_ODDCLIP) /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI1_EVENCLIP ((volatile uint32_t *)REG_EPPI1_EVENCLIP) /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI1_FS1_DLY ((volatile uint32_t *)REG_EPPI1_FS1_DLY) /* EPPI1 Frame Sync 1 Delay Value */
-#define pREG_EPPI1_FS2_DLY ((volatile uint32_t *)REG_EPPI1_FS2_DLY) /* EPPI1 Frame Sync 2 Delay Value */
-#define pREG_EPPI1_CTL2 ((volatile uint32_t *)REG_EPPI1_CTL2) /* EPPI1 Control Register 2 */
-
-/* =========================================================================
- EPPI2
- ========================================================================= */
-#define pREG_EPPI2_STAT ((volatile uint32_t *)REG_EPPI2_STAT) /* EPPI2 Status Register */
-#define pREG_EPPI2_HCNT ((volatile uint32_t *)REG_EPPI2_HCNT) /* EPPI2 Horizontal Transfer Count Register */
-#define pREG_EPPI2_HDLY ((volatile uint32_t *)REG_EPPI2_HDLY) /* EPPI2 Horizontal Delay Count Register */
-#define pREG_EPPI2_VCNT ((volatile uint32_t *)REG_EPPI2_VCNT) /* EPPI2 Vertical Transfer Count Register */
-#define pREG_EPPI2_VDLY ((volatile uint32_t *)REG_EPPI2_VDLY) /* EPPI2 Vertical Delay Count Register */
-#define pREG_EPPI2_FRAME ((volatile uint32_t *)REG_EPPI2_FRAME) /* EPPI2 Lines Per Frame Register */
-#define pREG_EPPI2_LINE ((volatile uint32_t *)REG_EPPI2_LINE) /* EPPI2 Samples Per Line Register */
-#define pREG_EPPI2_CLKDIV ((volatile uint32_t *)REG_EPPI2_CLKDIV) /* EPPI2 Clock Divide Register */
-#define pREG_EPPI2_CTL ((volatile uint32_t *)REG_EPPI2_CTL) /* EPPI2 Control Register */
-#define pREG_EPPI2_FS1_WLHB ((volatile uint32_t *)REG_EPPI2_FS1_WLHB) /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI2_FS1_PASPL ((volatile uint32_t *)REG_EPPI2_FS1_PASPL) /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI2_FS2_WLVB ((volatile uint32_t *)REG_EPPI2_FS2_WLVB) /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI2_FS2_PALPF ((volatile uint32_t *)REG_EPPI2_FS2_PALPF) /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI2_IMSK ((volatile uint32_t *)REG_EPPI2_IMSK) /* EPPI2 Interrupt Mask Register */
-#define pREG_EPPI2_ODDCLIP ((volatile uint32_t *)REG_EPPI2_ODDCLIP) /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI2_EVENCLIP ((volatile uint32_t *)REG_EPPI2_EVENCLIP) /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI2_FS1_DLY ((volatile uint32_t *)REG_EPPI2_FS1_DLY) /* EPPI2 Frame Sync 1 Delay Value */
-#define pREG_EPPI2_FS2_DLY ((volatile uint32_t *)REG_EPPI2_FS2_DLY) /* EPPI2 Frame Sync 2 Delay Value */
-#define pREG_EPPI2_CTL2 ((volatile uint32_t *)REG_EPPI2_CTL2) /* EPPI2 Control Register 2 */
-
-
-/* =========================================================================
- PWM0
- ========================================================================= */
-#define pREG_PWM0_CTL ((volatile uint32_t *)REG_PWM0_CTL) /* PWM0 Control Register */
-#define pREG_PWM0_CHANCFG ((volatile uint32_t *)REG_PWM0_CHANCFG) /* PWM0 Channel Config Register */
-#define pREG_PWM0_TRIPCFG ((volatile uint32_t *)REG_PWM0_TRIPCFG) /* PWM0 Trip Config Register */
-#define pREG_PWM0_STAT ((volatile uint32_t *)REG_PWM0_STAT) /* PWM0 Status Register */
-#define pREG_PWM0_IMSK ((volatile uint32_t *)REG_PWM0_IMSK) /* PWM0 Interrupt Mask Register */
-#define pREG_PWM0_ILAT ((volatile uint32_t *)REG_PWM0_ILAT) /* PWM0 Interrupt Latch Register */
-#define pREG_PWM0_CHOPCFG ((volatile uint32_t *)REG_PWM0_CHOPCFG) /* PWM0 Chop Configuration Register */
-#define pREG_PWM0_DT ((volatile uint32_t *)REG_PWM0_DT) /* PWM0 Dead Time Register */
-#define pREG_PWM0_SYNC_WID ((volatile uint32_t *)REG_PWM0_SYNC_WID) /* PWM0 Sync Pulse Width Register */
-#define pREG_PWM0_TM0 ((volatile uint32_t *)REG_PWM0_TM0) /* PWM0 Timer 0 Period Register */
-#define pREG_PWM0_TM1 ((volatile uint32_t *)REG_PWM0_TM1) /* PWM0 Timer 1 Period Register */
-#define pREG_PWM0_TM2 ((volatile uint32_t *)REG_PWM0_TM2) /* PWM0 Timer 2 Period Register */
-#define pREG_PWM0_TM3 ((volatile uint32_t *)REG_PWM0_TM3) /* PWM0 Timer 3 Period Register */
-#define pREG_PWM0_TM4 ((volatile uint32_t *)REG_PWM0_TM4) /* PWM0 Timer 4 Period Register */
-#define pREG_PWM0_DLYA ((volatile uint32_t *)REG_PWM0_DLYA) /* PWM0 Channel A Delay Register */
-#define pREG_PWM0_DLYB ((volatile uint32_t *)REG_PWM0_DLYB) /* PWM0 Channel B Delay Register */
-#define pREG_PWM0_DLYC ((volatile uint32_t *)REG_PWM0_DLYC) /* PWM0 Channel C Delay Register */
-#define pREG_PWM0_DLYD ((volatile uint32_t *)REG_PWM0_DLYD) /* PWM0 Channel D Delay Register */
-#define pREG_PWM0_ACTL ((volatile uint32_t *)REG_PWM0_ACTL) /* PWM0 Channel A Control Register */
-#define pREG_PWM0_AH0 ((volatile uint32_t *)REG_PWM0_AH0) /* PWM0 Channel A-High Duty-0 Register */
-#define pREG_PWM0_AH1 ((volatile uint32_t *)REG_PWM0_AH1) /* PWM0 Channel A-High Duty-1 Register */
-#define pREG_PWM0_AL0 ((volatile uint32_t *)REG_PWM0_AL0) /* PWM0 Channel A-Low Duty-0 Register */
-#define pREG_PWM0_AL1 ((volatile uint32_t *)REG_PWM0_AL1) /* PWM0 Channel A-Low Duty-1 Register */
-#define pREG_PWM0_BCTL ((volatile uint32_t *)REG_PWM0_BCTL) /* PWM0 Channel B Control Register */
-#define pREG_PWM0_BH0 ((volatile uint32_t *)REG_PWM0_BH0) /* PWM0 Channel B-High Duty-0 Register */
-#define pREG_PWM0_BH1 ((volatile uint32_t *)REG_PWM0_BH1) /* PWM0 Channel B-High Duty-1 Register */
-#define pREG_PWM0_BL0 ((volatile uint32_t *)REG_PWM0_BL0) /* PWM0 Channel B-Low Duty-0 Register */
-#define pREG_PWM0_BL1 ((volatile uint32_t *)REG_PWM0_BL1) /* PWM0 Channel B-Low Duty-1 Register */
-#define pREG_PWM0_CCTL ((volatile uint32_t *)REG_PWM0_CCTL) /* PWM0 Channel C Control Register */
-#define pREG_PWM0_CH0 ((volatile uint32_t *)REG_PWM0_CH0) /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM0_CH1 ((volatile uint32_t *)REG_PWM0_CH1) /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM0_CL0 ((volatile uint32_t *)REG_PWM0_CL0) /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM0_CL1 ((volatile uint32_t *)REG_PWM0_CL1) /* PWM0 Channel C-Low Duty-1 Register */
-#define pREG_PWM0_DCTL ((volatile uint32_t *)REG_PWM0_DCTL) /* PWM0 Channel D Control Register */
-#define pREG_PWM0_DH0 ((volatile uint32_t *)REG_PWM0_DH0) /* PWM0 Channel D-High Duty-0 Register */
-#define pREG_PWM0_DH1 ((volatile uint32_t *)REG_PWM0_DH1) /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM0_DL0 ((volatile uint32_t *)REG_PWM0_DL0) /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM0_DL1 ((volatile uint32_t *)REG_PWM0_DL1) /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================================================================
- PWM1
- ========================================================================= */
-#define pREG_PWM1_CTL ((volatile uint32_t *)REG_PWM1_CTL) /* PWM1 Control Register */
-#define pREG_PWM1_CHANCFG ((volatile uint32_t *)REG_PWM1_CHANCFG) /* PWM1 Channel Config Register */
-#define pREG_PWM1_TRIPCFG ((volatile uint32_t *)REG_PWM1_TRIPCFG) /* PWM1 Trip Config Register */
-#define pREG_PWM1_STAT ((volatile uint32_t *)REG_PWM1_STAT) /* PWM1 Status Register */
-#define pREG_PWM1_IMSK ((volatile uint32_t *)REG_PWM1_IMSK) /* PWM1 Interrupt Mask Register */
-#define pREG_PWM1_ILAT ((volatile uint32_t *)REG_PWM1_ILAT) /* PWM1 Interrupt Latch Register */
-#define pREG_PWM1_CHOPCFG ((volatile uint32_t *)REG_PWM1_CHOPCFG) /* PWM1 Chop Configuration Register */
-#define pREG_PWM1_DT ((volatile uint32_t *)REG_PWM1_DT) /* PWM1 Dead Time Register */
-#define pREG_PWM1_SYNC_WID ((volatile uint32_t *)REG_PWM1_SYNC_WID) /* PWM1 Sync Pulse Width Register */
-#define pREG_PWM1_TM0 ((volatile uint32_t *)REG_PWM1_TM0) /* PWM1 Timer 0 Period Register */
-#define pREG_PWM1_TM1 ((volatile uint32_t *)REG_PWM1_TM1) /* PWM1 Timer 1 Period Register */
-#define pREG_PWM1_TM2 ((volatile uint32_t *)REG_PWM1_TM2) /* PWM1 Timer 2 Period Register */
-#define pREG_PWM1_TM3 ((volatile uint32_t *)REG_PWM1_TM3) /* PWM1 Timer 3 Period Register */
-#define pREG_PWM1_TM4 ((volatile uint32_t *)REG_PWM1_TM4) /* PWM1 Timer 4 Period Register */
-#define pREG_PWM1_DLYA ((volatile uint32_t *)REG_PWM1_DLYA) /* PWM1 Channel A Delay Register */
-#define pREG_PWM1_DLYB ((volatile uint32_t *)REG_PWM1_DLYB) /* PWM1 Channel B Delay Register */
-#define pREG_PWM1_DLYC ((volatile uint32_t *)REG_PWM1_DLYC) /* PWM1 Channel C Delay Register */
-#define pREG_PWM1_DLYD ((volatile uint32_t *)REG_PWM1_DLYD) /* PWM1 Channel D Delay Register */
-#define pREG_PWM1_ACTL ((volatile uint32_t *)REG_PWM1_ACTL) /* PWM1 Channel A Control Register */
-#define pREG_PWM1_AH0 ((volatile uint32_t *)REG_PWM1_AH0) /* PWM1 Channel A-High Duty-0 Register */
-#define pREG_PWM1_AH1 ((volatile uint32_t *)REG_PWM1_AH1) /* PWM1 Channel A-High Duty-1 Register */
-#define pREG_PWM1_AL0 ((volatile uint32_t *)REG_PWM1_AL0) /* PWM1 Channel A-Low Duty-0 Register */
-#define pREG_PWM1_AL1 ((volatile uint32_t *)REG_PWM1_AL1) /* PWM1 Channel A-Low Duty-1 Register */
-#define pREG_PWM1_BCTL ((volatile uint32_t *)REG_PWM1_BCTL) /* PWM1 Channel B Control Register */
-#define pREG_PWM1_BH0 ((volatile uint32_t *)REG_PWM1_BH0) /* PWM1 Channel B-High Duty-0 Register */
-#define pREG_PWM1_BH1 ((volatile uint32_t *)REG_PWM1_BH1) /* PWM1 Channel B-High Duty-1 Register */
-#define pREG_PWM1_BL0 ((volatile uint32_t *)REG_PWM1_BL0) /* PWM1 Channel B-Low Duty-0 Register */
-#define pREG_PWM1_BL1 ((volatile uint32_t *)REG_PWM1_BL1) /* PWM1 Channel B-Low Duty-1 Register */
-#define pREG_PWM1_CCTL ((volatile uint32_t *)REG_PWM1_CCTL) /* PWM1 Channel C Control Register */
-#define pREG_PWM1_CH0 ((volatile uint32_t *)REG_PWM1_CH0) /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM1_CH1 ((volatile uint32_t *)REG_PWM1_CH1) /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM1_CL0 ((volatile uint32_t *)REG_PWM1_CL0) /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM1_CL1 ((volatile uint32_t *)REG_PWM1_CL1) /* PWM1 Channel C-Low Duty-1 Register */
-#define pREG_PWM1_DCTL ((volatile uint32_t *)REG_PWM1_DCTL) /* PWM1 Channel D Control Register */
-#define pREG_PWM1_DH0 ((volatile uint32_t *)REG_PWM1_DH0) /* PWM1 Channel D-High Duty-0 Register */
-#define pREG_PWM1_DH1 ((volatile uint32_t *)REG_PWM1_DH1) /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM1_DL0 ((volatile uint32_t *)REG_PWM1_DL0) /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM1_DL1 ((volatile uint32_t *)REG_PWM1_DL1) /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-
-/* =========================================================================
- VID0
- ========================================================================= */
-#define pREG_VID0_CONN ((volatile uint32_t *)REG_VID0_CONN) /* VID0 Video Subsystem Connect Register */
-
-
-/* =========================================================================
- SWU0
- ========================================================================= */
-#define pREG_SWU0_GCTL ((volatile uint32_t *)REG_SWU0_GCTL) /* SWU0 Global Control Register */
-#define pREG_SWU0_GSTAT ((volatile uint32_t *)REG_SWU0_GSTAT) /* SWU0 Global Status Register */
-#define pREG_SWU0_CTL0 ((volatile uint32_t *)REG_SWU0_CTL0) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL1 ((volatile uint32_t *)REG_SWU0_CTL1) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL2 ((volatile uint32_t *)REG_SWU0_CTL2) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL3 ((volatile uint32_t *)REG_SWU0_CTL3) /* SWU0 Control Register n */
-#define pREG_SWU0_LA0 ((void * volatile *)REG_SWU0_LA0) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA1 ((void * volatile *)REG_SWU0_LA1) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA2 ((void * volatile *)REG_SWU0_LA2) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA3 ((void * volatile *)REG_SWU0_LA3) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_UA0 ((void * volatile *)REG_SWU0_UA0) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA1 ((void * volatile *)REG_SWU0_UA1) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA2 ((void * volatile *)REG_SWU0_UA2) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA3 ((void * volatile *)REG_SWU0_UA3) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_ID0 ((volatile uint32_t *)REG_SWU0_ID0) /* SWU0 ID Register n */
-#define pREG_SWU0_ID1 ((volatile uint32_t *)REG_SWU0_ID1) /* SWU0 ID Register n */
-#define pREG_SWU0_ID2 ((volatile uint32_t *)REG_SWU0_ID2) /* SWU0 ID Register n */
-#define pREG_SWU0_ID3 ((volatile uint32_t *)REG_SWU0_ID3) /* SWU0 ID Register n */
-#define pREG_SWU0_CNT0 ((volatile uint32_t *)REG_SWU0_CNT0) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT1 ((volatile uint32_t *)REG_SWU0_CNT1) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT2 ((volatile uint32_t *)REG_SWU0_CNT2) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT3 ((volatile uint32_t *)REG_SWU0_CNT3) /* SWU0 Count Register n */
-#define pREG_SWU0_TARG0 ((volatile uint32_t *)REG_SWU0_TARG0) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG1 ((volatile uint32_t *)REG_SWU0_TARG1) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG2 ((volatile uint32_t *)REG_SWU0_TARG2) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG3 ((volatile uint32_t *)REG_SWU0_TARG3) /* SWU0 Target Register n */
-#define pREG_SWU0_HIST0 ((volatile uint32_t *)REG_SWU0_HIST0) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST1 ((volatile uint32_t *)REG_SWU0_HIST1) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST2 ((volatile uint32_t *)REG_SWU0_HIST2) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST3 ((volatile uint32_t *)REG_SWU0_HIST3) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_CUR0 ((volatile uint32_t *)REG_SWU0_CUR0) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR1 ((volatile uint32_t *)REG_SWU0_CUR1) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR2 ((volatile uint32_t *)REG_SWU0_CUR2) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR3 ((volatile uint32_t *)REG_SWU0_CUR3) /* SWU0 Current Register n */
-
-/* =========================================================================
- SWU1
- ========================================================================= */
-#define pREG_SWU1_GCTL ((volatile uint32_t *)REG_SWU1_GCTL) /* SWU1 Global Control Register */
-#define pREG_SWU1_GSTAT ((volatile uint32_t *)REG_SWU1_GSTAT) /* SWU1 Global Status Register */
-#define pREG_SWU1_CTL0 ((volatile uint32_t *)REG_SWU1_CTL0) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL1 ((volatile uint32_t *)REG_SWU1_CTL1) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL2 ((volatile uint32_t *)REG_SWU1_CTL2) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL3 ((volatile uint32_t *)REG_SWU1_CTL3) /* SWU1 Control Register n */
-#define pREG_SWU1_LA0 ((void * volatile *)REG_SWU1_LA0) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA1 ((void * volatile *)REG_SWU1_LA1) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA2 ((void * volatile *)REG_SWU1_LA2) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA3 ((void * volatile *)REG_SWU1_LA3) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_UA0 ((void * volatile *)REG_SWU1_UA0) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA1 ((void * volatile *)REG_SWU1_UA1) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA2 ((void * volatile *)REG_SWU1_UA2) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA3 ((void * volatile *)REG_SWU1_UA3) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_ID0 ((volatile uint32_t *)REG_SWU1_ID0) /* SWU1 ID Register n */
-#define pREG_SWU1_ID1 ((volatile uint32_t *)REG_SWU1_ID1) /* SWU1 ID Register n */
-#define pREG_SWU1_ID2 ((volatile uint32_t *)REG_SWU1_ID2) /* SWU1 ID Register n */
-#define pREG_SWU1_ID3 ((volatile uint32_t *)REG_SWU1_ID3) /* SWU1 ID Register n */
-#define pREG_SWU1_CNT0 ((volatile uint32_t *)REG_SWU1_CNT0) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT1 ((volatile uint32_t *)REG_SWU1_CNT1) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT2 ((volatile uint32_t *)REG_SWU1_CNT2) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT3 ((volatile uint32_t *)REG_SWU1_CNT3) /* SWU1 Count Register n */
-#define pREG_SWU1_TARG0 ((volatile uint32_t *)REG_SWU1_TARG0) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG1 ((volatile uint32_t *)REG_SWU1_TARG1) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG2 ((volatile uint32_t *)REG_SWU1_TARG2) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG3 ((volatile uint32_t *)REG_SWU1_TARG3) /* SWU1 Target Register n */
-#define pREG_SWU1_HIST0 ((volatile uint32_t *)REG_SWU1_HIST0) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST1 ((volatile uint32_t *)REG_SWU1_HIST1) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST2 ((volatile uint32_t *)REG_SWU1_HIST2) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST3 ((volatile uint32_t *)REG_SWU1_HIST3) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_CUR0 ((volatile uint32_t *)REG_SWU1_CUR0) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR1 ((volatile uint32_t *)REG_SWU1_CUR1) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR2 ((volatile uint32_t *)REG_SWU1_CUR2) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR3 ((volatile uint32_t *)REG_SWU1_CUR3) /* SWU1 Current Register n */
-
-/* =========================================================================
- SWU2
- ========================================================================= */
-#define pREG_SWU2_GCTL ((volatile uint32_t *)REG_SWU2_GCTL) /* SWU2 Global Control Register */
-#define pREG_SWU2_GSTAT ((volatile uint32_t *)REG_SWU2_GSTAT) /* SWU2 Global Status Register */
-#define pREG_SWU2_CTL0 ((volatile uint32_t *)REG_SWU2_CTL0) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL1 ((volatile uint32_t *)REG_SWU2_CTL1) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL2 ((volatile uint32_t *)REG_SWU2_CTL2) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL3 ((volatile uint32_t *)REG_SWU2_CTL3) /* SWU2 Control Register n */
-#define pREG_SWU2_LA0 ((void * volatile *)REG_SWU2_LA0) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA1 ((void * volatile *)REG_SWU2_LA1) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA2 ((void * volatile *)REG_SWU2_LA2) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA3 ((void * volatile *)REG_SWU2_LA3) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_UA0 ((void * volatile *)REG_SWU2_UA0) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA1 ((void * volatile *)REG_SWU2_UA1) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA2 ((void * volatile *)REG_SWU2_UA2) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA3 ((void * volatile *)REG_SWU2_UA3) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_ID0 ((volatile uint32_t *)REG_SWU2_ID0) /* SWU2 ID Register n */
-#define pREG_SWU2_ID1 ((volatile uint32_t *)REG_SWU2_ID1) /* SWU2 ID Register n */
-#define pREG_SWU2_ID2 ((volatile uint32_t *)REG_SWU2_ID2) /* SWU2 ID Register n */
-#define pREG_SWU2_ID3 ((volatile uint32_t *)REG_SWU2_ID3) /* SWU2 ID Register n */
-#define pREG_SWU2_CNT0 ((volatile uint32_t *)REG_SWU2_CNT0) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT1 ((volatile uint32_t *)REG_SWU2_CNT1) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT2 ((volatile uint32_t *)REG_SWU2_CNT2) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT3 ((volatile uint32_t *)REG_SWU2_CNT3) /* SWU2 Count Register n */
-#define pREG_SWU2_TARG0 ((volatile uint32_t *)REG_SWU2_TARG0) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG1 ((volatile uint32_t *)REG_SWU2_TARG1) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG2 ((volatile uint32_t *)REG_SWU2_TARG2) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG3 ((volatile uint32_t *)REG_SWU2_TARG3) /* SWU2 Target Register n */
-#define pREG_SWU2_HIST0 ((volatile uint32_t *)REG_SWU2_HIST0) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST1 ((volatile uint32_t *)REG_SWU2_HIST1) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST2 ((volatile uint32_t *)REG_SWU2_HIST2) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST3 ((volatile uint32_t *)REG_SWU2_HIST3) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_CUR0 ((volatile uint32_t *)REG_SWU2_CUR0) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR1 ((volatile uint32_t *)REG_SWU2_CUR1) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR2 ((volatile uint32_t *)REG_SWU2_CUR2) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR3 ((volatile uint32_t *)REG_SWU2_CUR3) /* SWU2 Current Register n */
-
-/* =========================================================================
- SWU3
- ========================================================================= */
-#define pREG_SWU3_GCTL ((volatile uint32_t *)REG_SWU3_GCTL) /* SWU3 Global Control Register */
-#define pREG_SWU3_GSTAT ((volatile uint32_t *)REG_SWU3_GSTAT) /* SWU3 Global Status Register */
-#define pREG_SWU3_CTL0 ((volatile uint32_t *)REG_SWU3_CTL0) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL1 ((volatile uint32_t *)REG_SWU3_CTL1) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL2 ((volatile uint32_t *)REG_SWU3_CTL2) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL3 ((volatile uint32_t *)REG_SWU3_CTL3) /* SWU3 Control Register n */
-#define pREG_SWU3_LA0 ((void * volatile *)REG_SWU3_LA0) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA1 ((void * volatile *)REG_SWU3_LA1) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA2 ((void * volatile *)REG_SWU3_LA2) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA3 ((void * volatile *)REG_SWU3_LA3) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_UA0 ((void * volatile *)REG_SWU3_UA0) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA1 ((void * volatile *)REG_SWU3_UA1) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA2 ((void * volatile *)REG_SWU3_UA2) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA3 ((void * volatile *)REG_SWU3_UA3) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_ID0 ((volatile uint32_t *)REG_SWU3_ID0) /* SWU3 ID Register n */
-#define pREG_SWU3_ID1 ((volatile uint32_t *)REG_SWU3_ID1) /* SWU3 ID Register n */
-#define pREG_SWU3_ID2 ((volatile uint32_t *)REG_SWU3_ID2) /* SWU3 ID Register n */
-#define pREG_SWU3_ID3 ((volatile uint32_t *)REG_SWU3_ID3) /* SWU3 ID Register n */
-#define pREG_SWU3_CNT0 ((volatile uint32_t *)REG_SWU3_CNT0) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT1 ((volatile uint32_t *)REG_SWU3_CNT1) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT2 ((volatile uint32_t *)REG_SWU3_CNT2) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT3 ((volatile uint32_t *)REG_SWU3_CNT3) /* SWU3 Count Register n */
-#define pREG_SWU3_TARG0 ((volatile uint32_t *)REG_SWU3_TARG0) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG1 ((volatile uint32_t *)REG_SWU3_TARG1) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG2 ((volatile uint32_t *)REG_SWU3_TARG2) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG3 ((volatile uint32_t *)REG_SWU3_TARG3) /* SWU3 Target Register n */
-#define pREG_SWU3_HIST0 ((volatile uint32_t *)REG_SWU3_HIST0) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST1 ((volatile uint32_t *)REG_SWU3_HIST1) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST2 ((volatile uint32_t *)REG_SWU3_HIST2) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST3 ((volatile uint32_t *)REG_SWU3_HIST3) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_CUR0 ((volatile uint32_t *)REG_SWU3_CUR0) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR1 ((volatile uint32_t *)REG_SWU3_CUR1) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR2 ((volatile uint32_t *)REG_SWU3_CUR2) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR3 ((volatile uint32_t *)REG_SWU3_CUR3) /* SWU3 Current Register n */
-
-/* =========================================================================
- SWU4
- ========================================================================= */
-#define pREG_SWU4_GCTL ((volatile uint32_t *)REG_SWU4_GCTL) /* SWU4 Global Control Register */
-#define pREG_SWU4_GSTAT ((volatile uint32_t *)REG_SWU4_GSTAT) /* SWU4 Global Status Register */
-#define pREG_SWU4_CTL0 ((volatile uint32_t *)REG_SWU4_CTL0) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL1 ((volatile uint32_t *)REG_SWU4_CTL1) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL2 ((volatile uint32_t *)REG_SWU4_CTL2) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL3 ((volatile uint32_t *)REG_SWU4_CTL3) /* SWU4 Control Register n */
-#define pREG_SWU4_LA0 ((void * volatile *)REG_SWU4_LA0) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA1 ((void * volatile *)REG_SWU4_LA1) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA2 ((void * volatile *)REG_SWU4_LA2) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA3 ((void * volatile *)REG_SWU4_LA3) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_UA0 ((void * volatile *)REG_SWU4_UA0) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA1 ((void * volatile *)REG_SWU4_UA1) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA2 ((void * volatile *)REG_SWU4_UA2) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA3 ((void * volatile *)REG_SWU4_UA3) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_ID0 ((volatile uint32_t *)REG_SWU4_ID0) /* SWU4 ID Register n */
-#define pREG_SWU4_ID1 ((volatile uint32_t *)REG_SWU4_ID1) /* SWU4 ID Register n */
-#define pREG_SWU4_ID2 ((volatile uint32_t *)REG_SWU4_ID2) /* SWU4 ID Register n */
-#define pREG_SWU4_ID3 ((volatile uint32_t *)REG_SWU4_ID3) /* SWU4 ID Register n */
-#define pREG_SWU4_CNT0 ((volatile uint32_t *)REG_SWU4_CNT0) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT1 ((volatile uint32_t *)REG_SWU4_CNT1) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT2 ((volatile uint32_t *)REG_SWU4_CNT2) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT3 ((volatile uint32_t *)REG_SWU4_CNT3) /* SWU4 Count Register n */
-#define pREG_SWU4_TARG0 ((volatile uint32_t *)REG_SWU4_TARG0) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG1 ((volatile uint32_t *)REG_SWU4_TARG1) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG2 ((volatile uint32_t *)REG_SWU4_TARG2) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG3 ((volatile uint32_t *)REG_SWU4_TARG3) /* SWU4 Target Register n */
-#define pREG_SWU4_HIST0 ((volatile uint32_t *)REG_SWU4_HIST0) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST1 ((volatile uint32_t *)REG_SWU4_HIST1) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST2 ((volatile uint32_t *)REG_SWU4_HIST2) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST3 ((volatile uint32_t *)REG_SWU4_HIST3) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_CUR0 ((volatile uint32_t *)REG_SWU4_CUR0) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR1 ((volatile uint32_t *)REG_SWU4_CUR1) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR2 ((volatile uint32_t *)REG_SWU4_CUR2) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR3 ((volatile uint32_t *)REG_SWU4_CUR3) /* SWU4 Current Register n */
-
-/* =========================================================================
- SWU5
- ========================================================================= */
-#define pREG_SWU5_GCTL ((volatile uint32_t *)REG_SWU5_GCTL) /* SWU5 Global Control Register */
-#define pREG_SWU5_GSTAT ((volatile uint32_t *)REG_SWU5_GSTAT) /* SWU5 Global Status Register */
-#define pREG_SWU5_CTL0 ((volatile uint32_t *)REG_SWU5_CTL0) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL1 ((volatile uint32_t *)REG_SWU5_CTL1) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL2 ((volatile uint32_t *)REG_SWU5_CTL2) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL3 ((volatile uint32_t *)REG_SWU5_CTL3) /* SWU5 Control Register n */
-#define pREG_SWU5_LA0 ((void * volatile *)REG_SWU5_LA0) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA1 ((void * volatile *)REG_SWU5_LA1) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA2 ((void * volatile *)REG_SWU5_LA2) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA3 ((void * volatile *)REG_SWU5_LA3) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_UA0 ((void * volatile *)REG_SWU5_UA0) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA1 ((void * volatile *)REG_SWU5_UA1) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA2 ((void * volatile *)REG_SWU5_UA2) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA3 ((void * volatile *)REG_SWU5_UA3) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_ID0 ((volatile uint32_t *)REG_SWU5_ID0) /* SWU5 ID Register n */
-#define pREG_SWU5_ID1 ((volatile uint32_t *)REG_SWU5_ID1) /* SWU5 ID Register n */
-#define pREG_SWU5_ID2 ((volatile uint32_t *)REG_SWU5_ID2) /* SWU5 ID Register n */
-#define pREG_SWU5_ID3 ((volatile uint32_t *)REG_SWU5_ID3) /* SWU5 ID Register n */
-#define pREG_SWU5_CNT0 ((volatile uint32_t *)REG_SWU5_CNT0) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT1 ((volatile uint32_t *)REG_SWU5_CNT1) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT2 ((volatile uint32_t *)REG_SWU5_CNT2) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT3 ((volatile uint32_t *)REG_SWU5_CNT3) /* SWU5 Count Register n */
-#define pREG_SWU5_TARG0 ((volatile uint32_t *)REG_SWU5_TARG0) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG1 ((volatile uint32_t *)REG_SWU5_TARG1) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG2 ((volatile uint32_t *)REG_SWU5_TARG2) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG3 ((volatile uint32_t *)REG_SWU5_TARG3) /* SWU5 Target Register n */
-#define pREG_SWU5_HIST0 ((volatile uint32_t *)REG_SWU5_HIST0) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST1 ((volatile uint32_t *)REG_SWU5_HIST1) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST2 ((volatile uint32_t *)REG_SWU5_HIST2) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST3 ((volatile uint32_t *)REG_SWU5_HIST3) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_CUR0 ((volatile uint32_t *)REG_SWU5_CUR0) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR1 ((volatile uint32_t *)REG_SWU5_CUR1) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR2 ((volatile uint32_t *)REG_SWU5_CUR2) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR3 ((volatile uint32_t *)REG_SWU5_CUR3) /* SWU5 Current Register n */
-
-/* =========================================================================
- SWU6
- ========================================================================= */
-#define pREG_SWU6_GCTL ((volatile uint32_t *)REG_SWU6_GCTL) /* SWU6 Global Control Register */
-#define pREG_SWU6_GSTAT ((volatile uint32_t *)REG_SWU6_GSTAT) /* SWU6 Global Status Register */
-#define pREG_SWU6_CTL0 ((volatile uint32_t *)REG_SWU6_CTL0) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL1 ((volatile uint32_t *)REG_SWU6_CTL1) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL2 ((volatile uint32_t *)REG_SWU6_CTL2) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL3 ((volatile uint32_t *)REG_SWU6_CTL3) /* SWU6 Control Register n */
-#define pREG_SWU6_LA0 ((void * volatile *)REG_SWU6_LA0) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA1 ((void * volatile *)REG_SWU6_LA1) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA2 ((void * volatile *)REG_SWU6_LA2) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA3 ((void * volatile *)REG_SWU6_LA3) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_UA0 ((void * volatile *)REG_SWU6_UA0) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA1 ((void * volatile *)REG_SWU6_UA1) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA2 ((void * volatile *)REG_SWU6_UA2) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA3 ((void * volatile *)REG_SWU6_UA3) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_ID0 ((volatile uint32_t *)REG_SWU6_ID0) /* SWU6 ID Register n */
-#define pREG_SWU6_ID1 ((volatile uint32_t *)REG_SWU6_ID1) /* SWU6 ID Register n */
-#define pREG_SWU6_ID2 ((volatile uint32_t *)REG_SWU6_ID2) /* SWU6 ID Register n */
-#define pREG_SWU6_ID3 ((volatile uint32_t *)REG_SWU6_ID3) /* SWU6 ID Register n */
-#define pREG_SWU6_CNT0 ((volatile uint32_t *)REG_SWU6_CNT0) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT1 ((volatile uint32_t *)REG_SWU6_CNT1) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT2 ((volatile uint32_t *)REG_SWU6_CNT2) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT3 ((volatile uint32_t *)REG_SWU6_CNT3) /* SWU6 Count Register n */
-#define pREG_SWU6_TARG0 ((volatile uint32_t *)REG_SWU6_TARG0) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG1 ((volatile uint32_t *)REG_SWU6_TARG1) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG2 ((volatile uint32_t *)REG_SWU6_TARG2) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG3 ((volatile uint32_t *)REG_SWU6_TARG3) /* SWU6 Target Register n */
-#define pREG_SWU6_HIST0 ((volatile uint32_t *)REG_SWU6_HIST0) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST1 ((volatile uint32_t *)REG_SWU6_HIST1) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST2 ((volatile uint32_t *)REG_SWU6_HIST2) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST3 ((volatile uint32_t *)REG_SWU6_HIST3) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_CUR0 ((volatile uint32_t *)REG_SWU6_CUR0) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR1 ((volatile uint32_t *)REG_SWU6_CUR1) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR2 ((volatile uint32_t *)REG_SWU6_CUR2) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR3 ((volatile uint32_t *)REG_SWU6_CUR3) /* SWU6 Current Register n */
-
-
-/* =========================================================================
- SDU0
- ========================================================================= */
-#define pREG_SDU0_IDCODE ((volatile uint32_t *)REG_SDU0_IDCODE) /* SDU0 ID Code Register */
-#define pREG_SDU0_CTL ((volatile uint32_t *)REG_SDU0_CTL) /* SDU0 Control Register */
-#define pREG_SDU0_STAT ((volatile uint32_t *)REG_SDU0_STAT) /* SDU0 Status Register */
-#define pREG_SDU0_MACCTL ((volatile uint32_t *)REG_SDU0_MACCTL) /* SDU0 Memory Access Control Register */
-#define pREG_SDU0_MACADDR ((void * volatile *)REG_SDU0_MACADDR) /* SDU0 Memory Access Address Register */
-#define pREG_SDU0_MACDATA ((volatile uint32_t *)REG_SDU0_MACDATA) /* SDU0 Memory Access Data Register */
-#define pREG_SDU0_DMARD ((volatile uint32_t *)REG_SDU0_DMARD) /* SDU0 DMA Read Data Register */
-#define pREG_SDU0_DMAWD ((volatile uint32_t *)REG_SDU0_DMAWD) /* SDU0 DMA Write Data Register */
-#define pREG_SDU0_MSG ((volatile uint32_t *)REG_SDU0_MSG) /* SDU0 Message Register */
-#define pREG_SDU0_MSG_SET ((volatile uint32_t *)REG_SDU0_MSG_SET) /* SDU0 Message Set Register */
-#define pREG_SDU0_MSG_CLR ((volatile uint32_t *)REG_SDU0_MSG_CLR) /* SDU0 Message Clear Register */
-#define pREG_SDU0_GHLT ((volatile uint32_t *)REG_SDU0_GHLT) /* SDU0 Group Halt Register */
-
-
-/* =========================================================================
- EMAC0
- ========================================================================= */
-#define pREG_EMAC0_MACCFG ((volatile uint32_t *)REG_EMAC0_MACCFG) /* EMAC0 MAC Configuration Register */
-#define pREG_EMAC0_MACFRMFILT ((volatile uint32_t *)REG_EMAC0_MACFRMFILT) /* EMAC0 MAC Rx Frame Filter Register */
-#define pREG_EMAC0_HASHTBL_HI ((volatile uint32_t *)REG_EMAC0_HASHTBL_HI) /* EMAC0 Hash Table High Register */
-#define pREG_EMAC0_HASHTBL_LO ((volatile uint32_t *)REG_EMAC0_HASHTBL_LO) /* EMAC0 Hash Table Low Register */
-#define pREG_EMAC0_SMI_ADDR ((volatile uint32_t *)REG_EMAC0_SMI_ADDR) /* EMAC0 SMI Address Register */
-#define pREG_EMAC0_SMI_DATA ((volatile uint32_t *)REG_EMAC0_SMI_DATA) /* EMAC0 SMI Data Register */
-#define pREG_EMAC0_FLOWCTL ((volatile uint32_t *)REG_EMAC0_FLOWCTL) /* EMAC0 FLow Control Register */
-#define pREG_EMAC0_VLANTAG ((volatile uint32_t *)REG_EMAC0_VLANTAG) /* EMAC0 VLAN Tag Register */
-#define pREG_EMAC0_DBG ((volatile uint32_t *)REG_EMAC0_DBG) /* EMAC0 Debug Register */
-#define pREG_EMAC0_ISTAT ((volatile uint32_t *)REG_EMAC0_ISTAT) /* EMAC0 Interrupt Status Register */
-#define pREG_EMAC0_IMSK ((volatile uint32_t *)REG_EMAC0_IMSK) /* EMAC0 Interrupt Mask Register */
-#define pREG_EMAC0_ADDR0_HI ((volatile uint32_t *)REG_EMAC0_ADDR0_HI) /* EMAC0 MAC Address 0 High Register */
-#define pREG_EMAC0_ADDR0_LO ((volatile uint32_t *)REG_EMAC0_ADDR0_LO) /* EMAC0 MAC Address 0 Low Register */
-#define pREG_EMAC0_MMC_CTL ((volatile uint32_t *)REG_EMAC0_MMC_CTL) /* EMAC0 MMC Control Register */
-#define pREG_EMAC0_MMC_RXINT ((volatile uint32_t *)REG_EMAC0_MMC_RXINT) /* EMAC0 MMC Rx Interrupt Register */
-#define pREG_EMAC0_MMC_TXINT ((volatile uint32_t *)REG_EMAC0_MMC_TXINT) /* EMAC0 MMC Tx Interrupt Register */
-#define pREG_EMAC0_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_RXIMSK) /* EMAC0 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC0_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_TXIMSK) /* EMAC0 MMC TX Interrupt Mask Register */
-#define pREG_EMAC0_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_GB) /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC0_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_GB) /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_G) /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_G) /* EMAC0 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC0_TX64_GB ((volatile uint32_t *)REG_EMAC0_TX64_GB) /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX65TO127_GB ((volatile uint32_t *)REG_EMAC0_TX65TO127_GB) /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX128TO255_GB ((volatile uint32_t *)REG_EMAC0_TX128TO255_GB) /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX256TO511_GB ((volatile uint32_t *)REG_EMAC0_TX256TO511_GB) /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_TX512TO1023_GB) /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_TX1024TOMAX_GB) /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXUCASTFRM_GB) /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_GB) /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_GB) /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC0_TXUNDR_ERR) /* EMAC0 Tx Underflow Error Register */
-#define pREG_EMAC0_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC0_TXSNGCOL_G) /* EMAC0 Tx Single Collision (Good) Register */
-#define pREG_EMAC0_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC0_TXMULTCOL_G) /* EMAC0 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC0_TXDEFERRED ((volatile uint32_t *)REG_EMAC0_TXDEFERRED) /* EMAC0 Tx Deferred Register */
-#define pREG_EMAC0_TXLATECOL ((volatile uint32_t *)REG_EMAC0_TXLATECOL) /* EMAC0 Tx Late Collision Register */
-#define pREG_EMAC0_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC0_TXEXCESSCOL) /* EMAC0 Tx Excess Collision Register */
-#define pREG_EMAC0_TXCARR_ERR ((volatile uint32_t *)REG_EMAC0_TXCARR_ERR) /* EMAC0 Tx Carrier Error Register */
-#define pREG_EMAC0_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_G) /* EMAC0 Tx Octet Count (Good) Register */
-#define pREG_EMAC0_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_G) /* EMAC0 Tx Frame Count (Good) Register */
-#define pREG_EMAC0_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC0_TXEXCESSDEF) /* EMAC0 Tx Excess Deferral Register */
-#define pREG_EMAC0_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_TXPAUSEFRM) /* EMAC0 Tx Pause Frame Register */
-#define pREG_EMAC0_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC0_TXVLANFRM_G) /* EMAC0 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC0_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_RXFRMCNT_GB) /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_GB) /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_G) /* EMAC0 Rx Octet Count (Good) Register */
-#define pREG_EMAC0_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXBCASTFRM_G) /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXMCASTFRM_G) /* EMAC0 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC0_RXCRC_ERR ((volatile uint32_t *)REG_EMAC0_RXCRC_ERR) /* EMAC0 Rx CRC Error Register */
-#define pREG_EMAC0_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC0_RXALIGN_ERR) /* EMAC0 Rx alignment Error Register */
-#define pREG_EMAC0_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC0_RXRUNT_ERR) /* EMAC0 Rx Runt Error Register */
-#define pREG_EMAC0_RXJAB_ERR ((volatile uint32_t *)REG_EMAC0_RXJAB_ERR) /* EMAC0 Rx Jab Error Register */
-#define pREG_EMAC0_RXUSIZE_G ((volatile uint32_t *)REG_EMAC0_RXUSIZE_G) /* EMAC0 Rx Undersize (Good) Register */
-#define pREG_EMAC0_RXOSIZE_G ((volatile uint32_t *)REG_EMAC0_RXOSIZE_G) /* EMAC0 Rx Oversize (Good) Register */
-#define pREG_EMAC0_RX64_GB ((volatile uint32_t *)REG_EMAC0_RX64_GB) /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX65TO127_GB ((volatile uint32_t *)REG_EMAC0_RX65TO127_GB) /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX128TO255_GB ((volatile uint32_t *)REG_EMAC0_RX128TO255_GB) /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX256TO511_GB ((volatile uint32_t *)REG_EMAC0_RX256TO511_GB) /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_RX512TO1023_GB) /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_RX1024TOMAX_GB) /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXUCASTFRM_G) /* EMAC0 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC0_RXLEN_ERR ((volatile uint32_t *)REG_EMAC0_RXLEN_ERR) /* EMAC0 Rx Length Error Register */
-#define pREG_EMAC0_RXOORTYPE ((volatile uint32_t *)REG_EMAC0_RXOORTYPE) /* EMAC0 Rx Out Of Range Type Register */
-#define pREG_EMAC0_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_RXPAUSEFRM) /* EMAC0 Rx Pause Frames Register */
-#define pREG_EMAC0_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC0_RXFIFO_OVF) /* EMAC0 Rx FIFO Overflow Register */
-#define pREG_EMAC0_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC0_RXVLANFRM_GB) /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC0_RXWDOG_ERR) /* EMAC0 Rx Watch Dog Error Register */
-#define pREG_EMAC0_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC0_IPC_RXIMSK) /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC0_IPC_RXINT ((volatile uint32_t *)REG_EMAC0_IPC_RXINT) /* EMAC0 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC0_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_FRM) /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_FRM) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_FRM) /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC0_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_FRM) /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_FRM) /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC0_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_FRM) /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_FRM) /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_FRM) /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC0_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_FRM) /* EMAC0 Rx UDP Good Frames Register */
-#define pREG_EMAC0_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_FRM) /* EMAC0 Rx UDP Error Frames Register */
-#define pREG_EMAC0_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_FRM) /* EMAC0 Rx TCP Good Frames Register */
-#define pREG_EMAC0_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_FRM) /* EMAC0 Rx TCP Error Frames Register */
-#define pREG_EMAC0_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_FRM) /* EMAC0 Rx ICMP Good Frames Register */
-#define pREG_EMAC0_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_FRM) /* EMAC0 Rx ICMP Error Frames Register */
-#define pREG_EMAC0_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_OCT) /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_OCT) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_OCT) /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC0_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_OCT) /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_OCT) /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC0_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_OCT) /* EMAC0 Rx IPv6 Good Octets Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_OCT) /* EMAC0 Rx IPv6 Header Errors Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_OCT) /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC0_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_OCT) /* EMAC0 Rx UDP Good Octets Register */
-#define pREG_EMAC0_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_OCT) /* EMAC0 Rx UDP Error Octets Register */
-#define pREG_EMAC0_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_OCT) /* EMAC0 Rx TCP Good Octets Register */
-#define pREG_EMAC0_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_OCT) /* EMAC0 Rx TCP Error Octets Register */
-#define pREG_EMAC0_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_OCT) /* EMAC0 Rx ICMP Good Octets Register */
-#define pREG_EMAC0_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_OCT) /* EMAC0 Rx ICMP Error Octets Register */
-#define pREG_EMAC0_TM_CTL ((volatile uint32_t *)REG_EMAC0_TM_CTL) /* EMAC0 Time Stamp Control Register */
-#define pREG_EMAC0_TM_SUBSEC ((volatile uint32_t *)REG_EMAC0_TM_SUBSEC) /* EMAC0 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC0_TM_SEC ((volatile uint32_t *)REG_EMAC0_TM_SEC) /* EMAC0 Time Stamp Low Seconds Register */
-#define pREG_EMAC0_TM_NSEC ((volatile uint32_t *)REG_EMAC0_TM_NSEC) /* EMAC0 Time Stamp Nano Seconds Register */
-#define pREG_EMAC0_TM_SECUPDT ((volatile uint32_t *)REG_EMAC0_TM_SECUPDT) /* EMAC0 Time Stamp Seconds Update Register */
-#define pREG_EMAC0_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC0_TM_NSECUPDT) /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC0_TM_ADDEND ((volatile uint32_t *)REG_EMAC0_TM_ADDEND) /* EMAC0 Time Stamp Addend Register */
-#define pREG_EMAC0_TM_TGTM ((volatile uint32_t *)REG_EMAC0_TM_TGTM) /* EMAC0 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC0_TM_NTGTM ((volatile uint32_t *)REG_EMAC0_TM_NTGTM) /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC0_TM_HISEC ((volatile uint32_t *)REG_EMAC0_TM_HISEC) /* EMAC0 Time Stamp High Second Register */
-#define pREG_EMAC0_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC0_TM_STMPSTAT) /* EMAC0 Time Stamp Status Register */
-#define pREG_EMAC0_TM_PPSCTL ((volatile uint32_t *)REG_EMAC0_TM_PPSCTL) /* EMAC0 PPS Control Register */
-#define pREG_EMAC0_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_NSEC) /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC0_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_SEC) /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC0_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC0_TM_PPSINTVL) /* EMAC0 Time Stamp PPS Interval Register */
-#define pREG_EMAC0_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC0_TM_PPSWIDTH) /* EMAC0 PPS Width Register */
-#define pREG_EMAC0_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC0_DMA_BUSMODE) /* EMAC0 DMA Bus Mode Register */
-#define pREG_EMAC0_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_TXPOLL) /* EMAC0 DMA Tx Poll Demand Register */
-#define pREG_EMAC0_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_RXPOLL) /* EMAC0 DMA Rx Poll Demand register */
-#define pREG_EMAC0_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_ADDR) /* EMAC0 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_ADDR) /* EMAC0 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_STAT ((volatile uint32_t *)REG_EMAC0_DMA_STAT) /* EMAC0 DMA Status Register */
-#define pREG_EMAC0_DMA_OPMODE ((volatile uint32_t *)REG_EMAC0_DMA_OPMODE) /* EMAC0 DMA Operation Mode Register */
-#define pREG_EMAC0_DMA_IEN ((volatile uint32_t *)REG_EMAC0_DMA_IEN) /* EMAC0 DMA Interrupt Enable Register */
-#define pREG_EMAC0_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC0_DMA_MISS_FRM) /* EMAC0 DMA Missed Frame Register */
-#define pREG_EMAC0_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC0_DMA_RXIWDOG) /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC0_DMA_BMMODE ((volatile uint32_t *)REG_EMAC0_DMA_BMMODE) /* EMAC0 DMA SCB Bus Mode Register */
-#define pREG_EMAC0_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC0_DMA_BMSTAT) /* EMAC0 DMA SCB Status Register */
-#define pREG_EMAC0_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_CUR) /* EMAC0 DMA Tx Descriptor Current Register */
-#define pREG_EMAC0_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_CUR) /* EMAC0 DMA Rx Descriptor Current Register */
-#define pREG_EMAC0_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXBUF_CUR) /* EMAC0 DMA Tx Buffer Current Register */
-#define pREG_EMAC0_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXBUF_CUR) /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================================================================
- EMAC1
- ========================================================================= */
-#define pREG_EMAC1_MACCFG ((volatile uint32_t *)REG_EMAC1_MACCFG) /* EMAC1 MAC Configuration Register */
-#define pREG_EMAC1_MACFRMFILT ((volatile uint32_t *)REG_EMAC1_MACFRMFILT) /* EMAC1 MAC Rx Frame Filter Register */
-#define pREG_EMAC1_HASHTBL_HI ((volatile uint32_t *)REG_EMAC1_HASHTBL_HI) /* EMAC1 Hash Table High Register */
-#define pREG_EMAC1_HASHTBL_LO ((volatile uint32_t *)REG_EMAC1_HASHTBL_LO) /* EMAC1 Hash Table Low Register */
-#define pREG_EMAC1_SMI_ADDR ((volatile uint32_t *)REG_EMAC1_SMI_ADDR) /* EMAC1 SMI Address Register */
-#define pREG_EMAC1_SMI_DATA ((volatile uint32_t *)REG_EMAC1_SMI_DATA) /* EMAC1 SMI Data Register */
-#define pREG_EMAC1_FLOWCTL ((volatile uint32_t *)REG_EMAC1_FLOWCTL) /* EMAC1 FLow Control Register */
-#define pREG_EMAC1_VLANTAG ((volatile uint32_t *)REG_EMAC1_VLANTAG) /* EMAC1 VLAN Tag Register */
-#define pREG_EMAC1_DBG ((volatile uint32_t *)REG_EMAC1_DBG) /* EMAC1 Debug Register */
-#define pREG_EMAC1_ISTAT ((volatile uint32_t *)REG_EMAC1_ISTAT) /* EMAC1 Interrupt Status Register */
-#define pREG_EMAC1_IMSK ((volatile uint32_t *)REG_EMAC1_IMSK) /* EMAC1 Interrupt Mask Register */
-#define pREG_EMAC1_ADDR0_HI ((volatile uint32_t *)REG_EMAC1_ADDR0_HI) /* EMAC1 MAC Address 0 High Register */
-#define pREG_EMAC1_ADDR0_LO ((volatile uint32_t *)REG_EMAC1_ADDR0_LO) /* EMAC1 MAC Address 0 Low Register */
-#define pREG_EMAC1_MMC_CTL ((volatile uint32_t *)REG_EMAC1_MMC_CTL) /* EMAC1 MMC Control Register */
-#define pREG_EMAC1_MMC_RXINT ((volatile uint32_t *)REG_EMAC1_MMC_RXINT) /* EMAC1 MMC Rx Interrupt Register */
-#define pREG_EMAC1_MMC_TXINT ((volatile uint32_t *)REG_EMAC1_MMC_TXINT) /* EMAC1 MMC Tx Interrupt Register */
-#define pREG_EMAC1_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_RXIMSK) /* EMAC1 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC1_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_TXIMSK) /* EMAC1 MMC TX Interrupt Mask Register */
-#define pREG_EMAC1_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_GB) /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC1_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_GB) /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_G) /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_G) /* EMAC1 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC1_TX64_GB ((volatile uint32_t *)REG_EMAC1_TX64_GB) /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX65TO127_GB ((volatile uint32_t *)REG_EMAC1_TX65TO127_GB) /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX128TO255_GB ((volatile uint32_t *)REG_EMAC1_TX128TO255_GB) /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX256TO511_GB ((volatile uint32_t *)REG_EMAC1_TX256TO511_GB) /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_TX512TO1023_GB) /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_TX1024TOMAX_GB) /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXUCASTFRM_GB) /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_GB) /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_GB) /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC1_TXUNDR_ERR) /* EMAC1 Tx Underflow Error Register */
-#define pREG_EMAC1_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC1_TXSNGCOL_G) /* EMAC1 Tx Single Collision (Good) Register */
-#define pREG_EMAC1_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC1_TXMULTCOL_G) /* EMAC1 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC1_TXDEFERRED ((volatile uint32_t *)REG_EMAC1_TXDEFERRED) /* EMAC1 Tx Deferred Register */
-#define pREG_EMAC1_TXLATECOL ((volatile uint32_t *)REG_EMAC1_TXLATECOL) /* EMAC1 Tx Late Collision Register */
-#define pREG_EMAC1_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC1_TXEXCESSCOL) /* EMAC1 Tx Excess Collision Register */
-#define pREG_EMAC1_TXCARR_ERR ((volatile uint32_t *)REG_EMAC1_TXCARR_ERR) /* EMAC1 Tx Carrier Error Register */
-#define pREG_EMAC1_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_G) /* EMAC1 Tx Octet Count (Good) Register */
-#define pREG_EMAC1_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_G) /* EMAC1 Tx Frame Count (Good) Register */
-#define pREG_EMAC1_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC1_TXEXCESSDEF) /* EMAC1 Tx Excess Deferral Register */
-#define pREG_EMAC1_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_TXPAUSEFRM) /* EMAC1 Tx Pause Frame Register */
-#define pREG_EMAC1_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC1_TXVLANFRM_G) /* EMAC1 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC1_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_RXFRMCNT_GB) /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_GB) /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_G) /* EMAC1 Rx Octet Count (Good) Register */
-#define pREG_EMAC1_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXBCASTFRM_G) /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXMCASTFRM_G) /* EMAC1 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC1_RXCRC_ERR ((volatile uint32_t *)REG_EMAC1_RXCRC_ERR) /* EMAC1 Rx CRC Error Register */
-#define pREG_EMAC1_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC1_RXALIGN_ERR) /* EMAC1 Rx alignment Error Register */
-#define pREG_EMAC1_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC1_RXRUNT_ERR) /* EMAC1 Rx Runt Error Register */
-#define pREG_EMAC1_RXJAB_ERR ((volatile uint32_t *)REG_EMAC1_RXJAB_ERR) /* EMAC1 Rx Jab Error Register */
-#define pREG_EMAC1_RXUSIZE_G ((volatile uint32_t *)REG_EMAC1_RXUSIZE_G) /* EMAC1 Rx Undersize (Good) Register */
-#define pREG_EMAC1_RXOSIZE_G ((volatile uint32_t *)REG_EMAC1_RXOSIZE_G) /* EMAC1 Rx Oversize (Good) Register */
-#define pREG_EMAC1_RX64_GB ((volatile uint32_t *)REG_EMAC1_RX64_GB) /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX65TO127_GB ((volatile uint32_t *)REG_EMAC1_RX65TO127_GB) /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX128TO255_GB ((volatile uint32_t *)REG_EMAC1_RX128TO255_GB) /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX256TO511_GB ((volatile uint32_t *)REG_EMAC1_RX256TO511_GB) /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_RX512TO1023_GB) /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_RX1024TOMAX_GB) /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXUCASTFRM_G) /* EMAC1 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC1_RXLEN_ERR ((volatile uint32_t *)REG_EMAC1_RXLEN_ERR) /* EMAC1 Rx Length Error Register */
-#define pREG_EMAC1_RXOORTYPE ((volatile uint32_t *)REG_EMAC1_RXOORTYPE) /* EMAC1 Rx Out Of Range Type Register */
-#define pREG_EMAC1_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_RXPAUSEFRM) /* EMAC1 Rx Pause Frames Register */
-#define pREG_EMAC1_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC1_RXFIFO_OVF) /* EMAC1 Rx FIFO Overflow Register */
-#define pREG_EMAC1_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC1_RXVLANFRM_GB) /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC1_RXWDOG_ERR) /* EMAC1 Rx Watch Dog Error Register */
-#define pREG_EMAC1_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC1_IPC_RXIMSK) /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC1_IPC_RXINT ((volatile uint32_t *)REG_EMAC1_IPC_RXINT) /* EMAC1 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC1_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_FRM) /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_FRM) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_FRM) /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC1_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_FRM) /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_FRM) /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC1_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_FRM) /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_FRM) /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_FRM) /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC1_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_FRM) /* EMAC1 Rx UDP Good Frames Register */
-#define pREG_EMAC1_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_FRM) /* EMAC1 Rx UDP Error Frames Register */
-#define pREG_EMAC1_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_FRM) /* EMAC1 Rx TCP Good Frames Register */
-#define pREG_EMAC1_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_FRM) /* EMAC1 Rx TCP Error Frames Register */
-#define pREG_EMAC1_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_FRM) /* EMAC1 Rx ICMP Good Frames Register */
-#define pREG_EMAC1_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_FRM) /* EMAC1 Rx ICMP Error Frames Register */
-#define pREG_EMAC1_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_OCT) /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_OCT) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_OCT) /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC1_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_OCT) /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_OCT) /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC1_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_OCT) /* EMAC1 Rx IPv6 Good Octets Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_OCT) /* EMAC1 Rx IPv6 Header Errors Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_OCT) /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC1_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_OCT) /* EMAC1 Rx UDP Good Octets Register */
-#define pREG_EMAC1_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_OCT) /* EMAC1 Rx UDP Error Octets Register */
-#define pREG_EMAC1_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_OCT) /* EMAC1 Rx TCP Good Octets Register */
-#define pREG_EMAC1_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_OCT) /* EMAC1 Rx TCP Error Octets Register */
-#define pREG_EMAC1_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_OCT) /* EMAC1 Rx ICMP Good Octets Register */
-#define pREG_EMAC1_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_OCT) /* EMAC1 Rx ICMP Error Octets Register */
-#define pREG_EMAC1_TM_CTL ((volatile uint32_t *)REG_EMAC1_TM_CTL) /* EMAC1 Time Stamp Control Register */
-#define pREG_EMAC1_TM_SUBSEC ((volatile uint32_t *)REG_EMAC1_TM_SUBSEC) /* EMAC1 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC1_TM_SEC ((volatile uint32_t *)REG_EMAC1_TM_SEC) /* EMAC1 Time Stamp Low Seconds Register */
-#define pREG_EMAC1_TM_NSEC ((volatile uint32_t *)REG_EMAC1_TM_NSEC) /* EMAC1 Time Stamp Nano Seconds Register */
-#define pREG_EMAC1_TM_SECUPDT ((volatile uint32_t *)REG_EMAC1_TM_SECUPDT) /* EMAC1 Time Stamp Seconds Update Register */
-#define pREG_EMAC1_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC1_TM_NSECUPDT) /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC1_TM_ADDEND ((volatile uint32_t *)REG_EMAC1_TM_ADDEND) /* EMAC1 Time Stamp Addend Register */
-#define pREG_EMAC1_TM_TGTM ((volatile uint32_t *)REG_EMAC1_TM_TGTM) /* EMAC1 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC1_TM_NTGTM ((volatile uint32_t *)REG_EMAC1_TM_NTGTM) /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC1_TM_HISEC ((volatile uint32_t *)REG_EMAC1_TM_HISEC) /* EMAC1 Time Stamp High Second Register */
-#define pREG_EMAC1_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC1_TM_STMPSTAT) /* EMAC1 Time Stamp Status Register */
-#define pREG_EMAC1_TM_PPSCTL ((volatile uint32_t *)REG_EMAC1_TM_PPSCTL) /* EMAC1 PPS Control Register */
-#define pREG_EMAC1_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_NSEC) /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC1_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_SEC) /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC1_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC1_TM_PPSINTVL) /* EMAC1 Time Stamp PPS Interval Register */
-#define pREG_EMAC1_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC1_TM_PPSWIDTH) /* EMAC1 PPS Width Register */
-#define pREG_EMAC1_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC1_DMA_BUSMODE) /* EMAC1 DMA Bus Mode Register */
-#define pREG_EMAC1_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_TXPOLL) /* EMAC1 DMA Tx Poll Demand Register */
-#define pREG_EMAC1_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_RXPOLL) /* EMAC1 DMA Rx Poll Demand register */
-#define pREG_EMAC1_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_ADDR) /* EMAC1 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_ADDR) /* EMAC1 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_STAT ((volatile uint32_t *)REG_EMAC1_DMA_STAT) /* EMAC1 DMA Status Register */
-#define pREG_EMAC1_DMA_OPMODE ((volatile uint32_t *)REG_EMAC1_DMA_OPMODE) /* EMAC1 DMA Operation Mode Register */
-#define pREG_EMAC1_DMA_IEN ((volatile uint32_t *)REG_EMAC1_DMA_IEN) /* EMAC1 DMA Interrupt Enable Register */
-#define pREG_EMAC1_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC1_DMA_MISS_FRM) /* EMAC1 DMA Missed Frame Register */
-#define pREG_EMAC1_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC1_DMA_RXIWDOG) /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC1_DMA_BMMODE ((volatile uint32_t *)REG_EMAC1_DMA_BMMODE) /* EMAC1 DMA SCB Bus Mode Register */
-#define pREG_EMAC1_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC1_DMA_BMSTAT) /* EMAC1 DMA SCB Status Register */
-#define pREG_EMAC1_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_CUR) /* EMAC1 DMA Tx Descriptor Current Register */
-#define pREG_EMAC1_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_CUR) /* EMAC1 DMA Rx Descriptor Current Register */
-#define pREG_EMAC1_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXBUF_CUR) /* EMAC1 DMA Tx Buffer Current Register */
-#define pREG_EMAC1_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXBUF_CUR) /* EMAC1 DMA Rx Buffer Current Register */
-
-
-/* =========================================================================
- SPORT0
- ========================================================================= */
-#define pREG_SPORT0_CTL_A ((volatile uint32_t *)REG_SPORT0_CTL_A) /* SPORT0 Half SPORT 'A' Control Register */
-#define pREG_SPORT0_DIV_A ((volatile uint32_t *)REG_SPORT0_DIV_A) /* SPORT0 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT0_MCTL_A ((volatile uint32_t *)REG_SPORT0_MCTL_A) /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_A ((volatile uint32_t *)REG_SPORT0_CS0_A) /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_A ((volatile uint32_t *)REG_SPORT0_CS1_A) /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_A ((volatile uint32_t *)REG_SPORT0_CS2_A) /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT0_CS3_A ((volatile uint32_t *)REG_SPORT0_CS3_A) /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT0_ERR_A ((volatile uint32_t *)REG_SPORT0_ERR_A) /* SPORT0 Half SPORT 'A' Error Register */
-#define pREG_SPORT0_MSTAT_A ((volatile uint32_t *)REG_SPORT0_MSTAT_A) /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_A ((volatile uint32_t *)REG_SPORT0_CTL2_A) /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT0_TXPRI_A ((volatile uint32_t *)REG_SPORT0_TXPRI_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_A ((volatile uint32_t *)REG_SPORT0_RXPRI_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_A ((volatile uint32_t *)REG_SPORT0_TXSEC_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_A ((volatile uint32_t *)REG_SPORT0_RXSEC_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT0_CTL_B ((volatile uint32_t *)REG_SPORT0_CTL_B) /* SPORT0 Half SPORT 'B' Control Register */
-#define pREG_SPORT0_DIV_B ((volatile uint32_t *)REG_SPORT0_DIV_B) /* SPORT0 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT0_MCTL_B ((volatile uint32_t *)REG_SPORT0_MCTL_B) /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_B ((volatile uint32_t *)REG_SPORT0_CS0_B) /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_B ((volatile uint32_t *)REG_SPORT0_CS1_B) /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_B ((volatile uint32_t *)REG_SPORT0_CS2_B) /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT0_CS3_B ((volatile uint32_t *)REG_SPORT0_CS3_B) /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT0_ERR_B ((volatile uint32_t *)REG_SPORT0_ERR_B) /* SPORT0 Half SPORT 'B' Error Register */
-#define pREG_SPORT0_MSTAT_B ((volatile uint32_t *)REG_SPORT0_MSTAT_B) /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_B ((volatile uint32_t *)REG_SPORT0_CTL2_B) /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT0_TXPRI_B ((volatile uint32_t *)REG_SPORT0_TXPRI_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_B ((volatile uint32_t *)REG_SPORT0_RXPRI_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_B ((volatile uint32_t *)REG_SPORT0_TXSEC_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_B ((volatile uint32_t *)REG_SPORT0_RXSEC_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT1
- ========================================================================= */
-#define pREG_SPORT1_CTL_A ((volatile uint32_t *)REG_SPORT1_CTL_A) /* SPORT1 Half SPORT 'A' Control Register */
-#define pREG_SPORT1_DIV_A ((volatile uint32_t *)REG_SPORT1_DIV_A) /* SPORT1 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT1_MCTL_A ((volatile uint32_t *)REG_SPORT1_MCTL_A) /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_A ((volatile uint32_t *)REG_SPORT1_CS0_A) /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_A ((volatile uint32_t *)REG_SPORT1_CS1_A) /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_A ((volatile uint32_t *)REG_SPORT1_CS2_A) /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT1_CS3_A ((volatile uint32_t *)REG_SPORT1_CS3_A) /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT1_ERR_A ((volatile uint32_t *)REG_SPORT1_ERR_A) /* SPORT1 Half SPORT 'A' Error Register */
-#define pREG_SPORT1_MSTAT_A ((volatile uint32_t *)REG_SPORT1_MSTAT_A) /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_A ((volatile uint32_t *)REG_SPORT1_CTL2_A) /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT1_TXPRI_A ((volatile uint32_t *)REG_SPORT1_TXPRI_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_A ((volatile uint32_t *)REG_SPORT1_RXPRI_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_A ((volatile uint32_t *)REG_SPORT1_TXSEC_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_A ((volatile uint32_t *)REG_SPORT1_RXSEC_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT1_CTL_B ((volatile uint32_t *)REG_SPORT1_CTL_B) /* SPORT1 Half SPORT 'B' Control Register */
-#define pREG_SPORT1_DIV_B ((volatile uint32_t *)REG_SPORT1_DIV_B) /* SPORT1 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT1_MCTL_B ((volatile uint32_t *)REG_SPORT1_MCTL_B) /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_B ((volatile uint32_t *)REG_SPORT1_CS0_B) /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_B ((volatile uint32_t *)REG_SPORT1_CS1_B) /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_B ((volatile uint32_t *)REG_SPORT1_CS2_B) /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT1_CS3_B ((volatile uint32_t *)REG_SPORT1_CS3_B) /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT1_ERR_B ((volatile uint32_t *)REG_SPORT1_ERR_B) /* SPORT1 Half SPORT 'B' Error Register */
-#define pREG_SPORT1_MSTAT_B ((volatile uint32_t *)REG_SPORT1_MSTAT_B) /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_B ((volatile uint32_t *)REG_SPORT1_CTL2_B) /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT1_TXPRI_B ((volatile uint32_t *)REG_SPORT1_TXPRI_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_B ((volatile uint32_t *)REG_SPORT1_RXPRI_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_B ((volatile uint32_t *)REG_SPORT1_TXSEC_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_B ((volatile uint32_t *)REG_SPORT1_RXSEC_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT2
- ========================================================================= */
-#define pREG_SPORT2_CTL_A ((volatile uint32_t *)REG_SPORT2_CTL_A) /* SPORT2 Half SPORT 'A' Control Register */
-#define pREG_SPORT2_DIV_A ((volatile uint32_t *)REG_SPORT2_DIV_A) /* SPORT2 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT2_MCTL_A ((volatile uint32_t *)REG_SPORT2_MCTL_A) /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_A ((volatile uint32_t *)REG_SPORT2_CS0_A) /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_A ((volatile uint32_t *)REG_SPORT2_CS1_A) /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_A ((volatile uint32_t *)REG_SPORT2_CS2_A) /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT2_CS3_A ((volatile uint32_t *)REG_SPORT2_CS3_A) /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT2_ERR_A ((volatile uint32_t *)REG_SPORT2_ERR_A) /* SPORT2 Half SPORT 'A' Error Register */
-#define pREG_SPORT2_MSTAT_A ((volatile uint32_t *)REG_SPORT2_MSTAT_A) /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_A ((volatile uint32_t *)REG_SPORT2_CTL2_A) /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT2_TXPRI_A ((volatile uint32_t *)REG_SPORT2_TXPRI_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_A ((volatile uint32_t *)REG_SPORT2_RXPRI_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_A ((volatile uint32_t *)REG_SPORT2_TXSEC_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_A ((volatile uint32_t *)REG_SPORT2_RXSEC_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT2_CTL_B ((volatile uint32_t *)REG_SPORT2_CTL_B) /* SPORT2 Half SPORT 'B' Control Register */
-#define pREG_SPORT2_DIV_B ((volatile uint32_t *)REG_SPORT2_DIV_B) /* SPORT2 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT2_MCTL_B ((volatile uint32_t *)REG_SPORT2_MCTL_B) /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_B ((volatile uint32_t *)REG_SPORT2_CS0_B) /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_B ((volatile uint32_t *)REG_SPORT2_CS1_B) /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_B ((volatile uint32_t *)REG_SPORT2_CS2_B) /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT2_CS3_B ((volatile uint32_t *)REG_SPORT2_CS3_B) /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT2_ERR_B ((volatile uint32_t *)REG_SPORT2_ERR_B) /* SPORT2 Half SPORT 'B' Error Register */
-#define pREG_SPORT2_MSTAT_B ((volatile uint32_t *)REG_SPORT2_MSTAT_B) /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_B ((volatile uint32_t *)REG_SPORT2_CTL2_B) /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT2_TXPRI_B ((volatile uint32_t *)REG_SPORT2_TXPRI_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_B ((volatile uint32_t *)REG_SPORT2_RXPRI_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_B ((volatile uint32_t *)REG_SPORT2_TXSEC_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_B ((volatile uint32_t *)REG_SPORT2_RXSEC_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-
-/* =========================================================================
- SPI0
- ========================================================================= */
-#define pREG_SPI0_CTL ((volatile uint32_t *)REG_SPI0_CTL) /* SPI0 Control Register */
-#define pREG_SPI0_RXCTL ((volatile uint32_t *)REG_SPI0_RXCTL) /* SPI0 Receive Control Register */
-#define pREG_SPI0_TXCTL ((volatile uint32_t *)REG_SPI0_TXCTL) /* SPI0 Transmit Control Register */
-#define pREG_SPI0_CLK ((volatile uint32_t *)REG_SPI0_CLK) /* SPI0 Clock Rate Register */
-#define pREG_SPI0_DLY ((volatile uint32_t *)REG_SPI0_DLY) /* SPI0 Delay Register */
-#define pREG_SPI0_SLVSEL ((volatile uint32_t *)REG_SPI0_SLVSEL) /* SPI0 Slave Select Register */
-#define pREG_SPI0_RWC ((volatile uint32_t *)REG_SPI0_RWC) /* SPI0 Received Word Count Register */
-#define pREG_SPI0_RWCR ((volatile uint32_t *)REG_SPI0_RWCR) /* SPI0 Received Word Count Reload Register */
-#define pREG_SPI0_TWC ((volatile uint32_t *)REG_SPI0_TWC) /* SPI0 Transmitted Word Count Register */
-#define pREG_SPI0_TWCR ((volatile uint32_t *)REG_SPI0_TWCR) /* SPI0 Transmitted Word Count Reload Register */
-#define pREG_SPI0_IMSK ((volatile uint32_t *)REG_SPI0_IMSK) /* SPI0 Interrupt Mask Register */
-#define pREG_SPI0_IMSK_CLR ((volatile uint32_t *)REG_SPI0_IMSK_CLR) /* SPI0 Interrupt Mask Clear Register */
-#define pREG_SPI0_IMSK_SET ((volatile uint32_t *)REG_SPI0_IMSK_SET) /* SPI0 Interrupt Mask Set Register */
-#define pREG_SPI0_STAT ((volatile uint32_t *)REG_SPI0_STAT) /* SPI0 Status Register */
-#define pREG_SPI0_ILAT ((volatile uint32_t *)REG_SPI0_ILAT) /* SPI0 Masked Interrupt Condition Register */
-#define pREG_SPI0_ILAT_CLR ((volatile uint32_t *)REG_SPI0_ILAT_CLR) /* SPI0 Masked Interrupt Clear Register */
-#define pREG_SPI0_RFIFO ((volatile uint32_t *)REG_SPI0_RFIFO) /* SPI0 Receive FIFO Data Register */
-#define pREG_SPI0_TFIFO ((volatile uint32_t *)REG_SPI0_TFIFO) /* SPI0 Transmit FIFO Data Register */
-
-/* =========================================================================
- SPI1
- ========================================================================= */
-#define pREG_SPI1_CTL ((volatile uint32_t *)REG_SPI1_CTL) /* SPI1 Control Register */
-#define pREG_SPI1_RXCTL ((volatile uint32_t *)REG_SPI1_RXCTL) /* SPI1 Receive Control Register */
-#define pREG_SPI1_TXCTL ((volatile uint32_t *)REG_SPI1_TXCTL) /* SPI1 Transmit Control Register */
-#define pREG_SPI1_CLK ((volatile uint32_t *)REG_SPI1_CLK) /* SPI1 Clock Rate Register */
-#define pREG_SPI1_DLY ((volatile uint32_t *)REG_SPI1_DLY) /* SPI1 Delay Register */
-#define pREG_SPI1_SLVSEL ((volatile uint32_t *)REG_SPI1_SLVSEL) /* SPI1 Slave Select Register */
-#define pREG_SPI1_RWC ((volatile uint32_t *)REG_SPI1_RWC) /* SPI1 Received Word Count Register */
-#define pREG_SPI1_RWCR ((volatile uint32_t *)REG_SPI1_RWCR) /* SPI1 Received Word Count Reload Register */
-#define pREG_SPI1_TWC ((volatile uint32_t *)REG_SPI1_TWC) /* SPI1 Transmitted Word Count Register */
-#define pREG_SPI1_TWCR ((volatile uint32_t *)REG_SPI1_TWCR) /* SPI1 Transmitted Word Count Reload Register */
-#define pREG_SPI1_IMSK ((volatile uint32_t *)REG_SPI1_IMSK) /* SPI1 Interrupt Mask Register */
-#define pREG_SPI1_IMSK_CLR ((volatile uint32_t *)REG_SPI1_IMSK_CLR) /* SPI1 Interrupt Mask Clear Register */
-#define pREG_SPI1_IMSK_SET ((volatile uint32_t *)REG_SPI1_IMSK_SET) /* SPI1 Interrupt Mask Set Register */
-#define pREG_SPI1_STAT ((volatile uint32_t *)REG_SPI1_STAT) /* SPI1 Status Register */
-#define pREG_SPI1_ILAT ((volatile uint32_t *)REG_SPI1_ILAT) /* SPI1 Masked Interrupt Condition Register */
-#define pREG_SPI1_ILAT_CLR ((volatile uint32_t *)REG_SPI1_ILAT_CLR) /* SPI1 Masked Interrupt Clear Register */
-#define pREG_SPI1_RFIFO ((volatile uint32_t *)REG_SPI1_RFIFO) /* SPI1 Receive FIFO Data Register */
-#define pREG_SPI1_TFIFO ((volatile uint32_t *)REG_SPI1_TFIFO) /* SPI1 Transmit FIFO Data Register */
-
-
-/* =========================================================================
- DMA0
- ========================================================================= */
-#define pREG_DMA0_DSCPTR_NXT ((void * volatile *)REG_DMA0_DSCPTR_NXT) /* DMA0 Pointer to Next Initial Descriptor */
-#define pREG_DMA0_ADDRSTART ((void * volatile *)REG_DMA0_ADDRSTART) /* DMA0 Start Address of Current Buffer */
-#define pREG_DMA0_CFG ((volatile uint32_t *)REG_DMA0_CFG) /* DMA0 Configuration Register */
-#define pREG_DMA0_XCNT ((volatile uint32_t *)REG_DMA0_XCNT) /* DMA0 Inner Loop Count Start Value */
-#define pREG_DMA0_XMOD ((volatile int32_t *)REG_DMA0_XMOD) /* DMA0 Inner Loop Address Increment */
-#define pREG_DMA0_YCNT ((volatile uint32_t *)REG_DMA0_YCNT) /* DMA0 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA0_YMOD ((volatile int32_t *)REG_DMA0_YMOD) /* DMA0 Outer Loop Address Increment (2D only) */
-#define pREG_DMA0_DSCPTR_CUR ((void * volatile *)REG_DMA0_DSCPTR_CUR) /* DMA0 Current Descriptor Pointer */
-#define pREG_DMA0_DSCPTR_PRV ((void * volatile *)REG_DMA0_DSCPTR_PRV) /* DMA0 Previous Initial Descriptor Pointer */
-#define pREG_DMA0_ADDR_CUR ((void * volatile *)REG_DMA0_ADDR_CUR) /* DMA0 Current Address */
-#define pREG_DMA0_STAT ((volatile uint32_t *)REG_DMA0_STAT) /* DMA0 Status Register */
-#define pREG_DMA0_XCNT_CUR ((volatile uint32_t *)REG_DMA0_XCNT_CUR) /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA0_YCNT_CUR ((volatile uint32_t *)REG_DMA0_YCNT_CUR) /* DMA0 Current Row Count (2D only) */
-#define pREG_DMA0_BWLCNT ((volatile uint32_t *)REG_DMA0_BWLCNT) /* DMA0 Bandwidth Limit Count */
-#define pREG_DMA0_BWLCNT_CUR ((volatile uint32_t *)REG_DMA0_BWLCNT_CUR) /* DMA0 Bandwidth Limit Count Current */
-#define pREG_DMA0_BWMCNT ((volatile uint32_t *)REG_DMA0_BWMCNT) /* DMA0 Bandwidth Monitor Count */
-#define pREG_DMA0_BWMCNT_CUR ((volatile uint32_t *)REG_DMA0_BWMCNT_CUR) /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA1
- ========================================================================= */
-#define pREG_DMA1_DSCPTR_NXT ((void * volatile *)REG_DMA1_DSCPTR_NXT) /* DMA1 Pointer to Next Initial Descriptor */
-#define pREG_DMA1_ADDRSTART ((void * volatile *)REG_DMA1_ADDRSTART) /* DMA1 Start Address of Current Buffer */
-#define pREG_DMA1_CFG ((volatile uint32_t *)REG_DMA1_CFG) /* DMA1 Configuration Register */
-#define pREG_DMA1_XCNT ((volatile uint32_t *)REG_DMA1_XCNT) /* DMA1 Inner Loop Count Start Value */
-#define pREG_DMA1_XMOD ((volatile int32_t *)REG_DMA1_XMOD) /* DMA1 Inner Loop Address Increment */
-#define pREG_DMA1_YCNT ((volatile uint32_t *)REG_DMA1_YCNT) /* DMA1 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA1_YMOD ((volatile int32_t *)REG_DMA1_YMOD) /* DMA1 Outer Loop Address Increment (2D only) */
-#define pREG_DMA1_DSCPTR_CUR ((void * volatile *)REG_DMA1_DSCPTR_CUR) /* DMA1 Current Descriptor Pointer */
-#define pREG_DMA1_DSCPTR_PRV ((void * volatile *)REG_DMA1_DSCPTR_PRV) /* DMA1 Previous Initial Descriptor Pointer */
-#define pREG_DMA1_ADDR_CUR ((void * volatile *)REG_DMA1_ADDR_CUR) /* DMA1 Current Address */
-#define pREG_DMA1_STAT ((volatile uint32_t *)REG_DMA1_STAT) /* DMA1 Status Register */
-#define pREG_DMA1_XCNT_CUR ((volatile uint32_t *)REG_DMA1_XCNT_CUR) /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA1_YCNT_CUR ((volatile uint32_t *)REG_DMA1_YCNT_CUR) /* DMA1 Current Row Count (2D only) */
-#define pREG_DMA1_BWLCNT ((volatile uint32_t *)REG_DMA1_BWLCNT) /* DMA1 Bandwidth Limit Count */
-#define pREG_DMA1_BWLCNT_CUR ((volatile uint32_t *)REG_DMA1_BWLCNT_CUR) /* DMA1 Bandwidth Limit Count Current */
-#define pREG_DMA1_BWMCNT ((volatile uint32_t *)REG_DMA1_BWMCNT) /* DMA1 Bandwidth Monitor Count */
-#define pREG_DMA1_BWMCNT_CUR ((volatile uint32_t *)REG_DMA1_BWMCNT_CUR) /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA2
- ========================================================================= */
-#define pREG_DMA2_DSCPTR_NXT ((void * volatile *)REG_DMA2_DSCPTR_NXT) /* DMA2 Pointer to Next Initial Descriptor */
-#define pREG_DMA2_ADDRSTART ((void * volatile *)REG_DMA2_ADDRSTART) /* DMA2 Start Address of Current Buffer */
-#define pREG_DMA2_CFG ((volatile uint32_t *)REG_DMA2_CFG) /* DMA2 Configuration Register */
-#define pREG_DMA2_XCNT ((volatile uint32_t *)REG_DMA2_XCNT) /* DMA2 Inner Loop Count Start Value */
-#define pREG_DMA2_XMOD ((volatile int32_t *)REG_DMA2_XMOD) /* DMA2 Inner Loop Address Increment */
-#define pREG_DMA2_YCNT ((volatile uint32_t *)REG_DMA2_YCNT) /* DMA2 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA2_YMOD ((volatile int32_t *)REG_DMA2_YMOD) /* DMA2 Outer Loop Address Increment (2D only) */
-#define pREG_DMA2_DSCPTR_CUR ((void * volatile *)REG_DMA2_DSCPTR_CUR) /* DMA2 Current Descriptor Pointer */
-#define pREG_DMA2_DSCPTR_PRV ((void * volatile *)REG_DMA2_DSCPTR_PRV) /* DMA2 Previous Initial Descriptor Pointer */
-#define pREG_DMA2_ADDR_CUR ((void * volatile *)REG_DMA2_ADDR_CUR) /* DMA2 Current Address */
-#define pREG_DMA2_STAT ((volatile uint32_t *)REG_DMA2_STAT) /* DMA2 Status Register */
-#define pREG_DMA2_XCNT_CUR ((volatile uint32_t *)REG_DMA2_XCNT_CUR) /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA2_YCNT_CUR ((volatile uint32_t *)REG_DMA2_YCNT_CUR) /* DMA2 Current Row Count (2D only) */
-#define pREG_DMA2_BWLCNT ((volatile uint32_t *)REG_DMA2_BWLCNT) /* DMA2 Bandwidth Limit Count */
-#define pREG_DMA2_BWLCNT_CUR ((volatile uint32_t *)REG_DMA2_BWLCNT_CUR) /* DMA2 Bandwidth Limit Count Current */
-#define pREG_DMA2_BWMCNT ((volatile uint32_t *)REG_DMA2_BWMCNT) /* DMA2 Bandwidth Monitor Count */
-#define pREG_DMA2_BWMCNT_CUR ((volatile uint32_t *)REG_DMA2_BWMCNT_CUR) /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA3
- ========================================================================= */
-#define pREG_DMA3_DSCPTR_NXT ((void * volatile *)REG_DMA3_DSCPTR_NXT) /* DMA3 Pointer to Next Initial Descriptor */
-#define pREG_DMA3_ADDRSTART ((void * volatile *)REG_DMA3_ADDRSTART) /* DMA3 Start Address of Current Buffer */
-#define pREG_DMA3_CFG ((volatile uint32_t *)REG_DMA3_CFG) /* DMA3 Configuration Register */
-#define pREG_DMA3_XCNT ((volatile uint32_t *)REG_DMA3_XCNT) /* DMA3 Inner Loop Count Start Value */
-#define pREG_DMA3_XMOD ((volatile int32_t *)REG_DMA3_XMOD) /* DMA3 Inner Loop Address Increment */
-#define pREG_DMA3_YCNT ((volatile uint32_t *)REG_DMA3_YCNT) /* DMA3 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA3_YMOD ((volatile int32_t *)REG_DMA3_YMOD) /* DMA3 Outer Loop Address Increment (2D only) */
-#define pREG_DMA3_DSCPTR_CUR ((void * volatile *)REG_DMA3_DSCPTR_CUR) /* DMA3 Current Descriptor Pointer */
-#define pREG_DMA3_DSCPTR_PRV ((void * volatile *)REG_DMA3_DSCPTR_PRV) /* DMA3 Previous Initial Descriptor Pointer */
-#define pREG_DMA3_ADDR_CUR ((void * volatile *)REG_DMA3_ADDR_CUR) /* DMA3 Current Address */
-#define pREG_DMA3_STAT ((volatile uint32_t *)REG_DMA3_STAT) /* DMA3 Status Register */
-#define pREG_DMA3_XCNT_CUR ((volatile uint32_t *)REG_DMA3_XCNT_CUR) /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA3_YCNT_CUR ((volatile uint32_t *)REG_DMA3_YCNT_CUR) /* DMA3 Current Row Count (2D only) */
-#define pREG_DMA3_BWLCNT ((volatile uint32_t *)REG_DMA3_BWLCNT) /* DMA3 Bandwidth Limit Count */
-#define pREG_DMA3_BWLCNT_CUR ((volatile uint32_t *)REG_DMA3_BWLCNT_CUR) /* DMA3 Bandwidth Limit Count Current */
-#define pREG_DMA3_BWMCNT ((volatile uint32_t *)REG_DMA3_BWMCNT) /* DMA3 Bandwidth Monitor Count */
-#define pREG_DMA3_BWMCNT_CUR ((volatile uint32_t *)REG_DMA3_BWMCNT_CUR) /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA4
- ========================================================================= */
-#define pREG_DMA4_DSCPTR_NXT ((void * volatile *)REG_DMA4_DSCPTR_NXT) /* DMA4 Pointer to Next Initial Descriptor */
-#define pREG_DMA4_ADDRSTART ((void * volatile *)REG_DMA4_ADDRSTART) /* DMA4 Start Address of Current Buffer */
-#define pREG_DMA4_CFG ((volatile uint32_t *)REG_DMA4_CFG) /* DMA4 Configuration Register */
-#define pREG_DMA4_XCNT ((volatile uint32_t *)REG_DMA4_XCNT) /* DMA4 Inner Loop Count Start Value */
-#define pREG_DMA4_XMOD ((volatile int32_t *)REG_DMA4_XMOD) /* DMA4 Inner Loop Address Increment */
-#define pREG_DMA4_YCNT ((volatile uint32_t *)REG_DMA4_YCNT) /* DMA4 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA4_YMOD ((volatile int32_t *)REG_DMA4_YMOD) /* DMA4 Outer Loop Address Increment (2D only) */
-#define pREG_DMA4_DSCPTR_CUR ((void * volatile *)REG_DMA4_DSCPTR_CUR) /* DMA4 Current Descriptor Pointer */
-#define pREG_DMA4_DSCPTR_PRV ((void * volatile *)REG_DMA4_DSCPTR_PRV) /* DMA4 Previous Initial Descriptor Pointer */
-#define pREG_DMA4_ADDR_CUR ((void * volatile *)REG_DMA4_ADDR_CUR) /* DMA4 Current Address */
-#define pREG_DMA4_STAT ((volatile uint32_t *)REG_DMA4_STAT) /* DMA4 Status Register */
-#define pREG_DMA4_XCNT_CUR ((volatile uint32_t *)REG_DMA4_XCNT_CUR) /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA4_YCNT_CUR ((volatile uint32_t *)REG_DMA4_YCNT_CUR) /* DMA4 Current Row Count (2D only) */
-#define pREG_DMA4_BWLCNT ((volatile uint32_t *)REG_DMA4_BWLCNT) /* DMA4 Bandwidth Limit Count */
-#define pREG_DMA4_BWLCNT_CUR ((volatile uint32_t *)REG_DMA4_BWLCNT_CUR) /* DMA4 Bandwidth Limit Count Current */
-#define pREG_DMA4_BWMCNT ((volatile uint32_t *)REG_DMA4_BWMCNT) /* DMA4 Bandwidth Monitor Count */
-#define pREG_DMA4_BWMCNT_CUR ((volatile uint32_t *)REG_DMA4_BWMCNT_CUR) /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA5
- ========================================================================= */
-#define pREG_DMA5_DSCPTR_NXT ((void * volatile *)REG_DMA5_DSCPTR_NXT) /* DMA5 Pointer to Next Initial Descriptor */
-#define pREG_DMA5_ADDRSTART ((void * volatile *)REG_DMA5_ADDRSTART) /* DMA5 Start Address of Current Buffer */
-#define pREG_DMA5_CFG ((volatile uint32_t *)REG_DMA5_CFG) /* DMA5 Configuration Register */
-#define pREG_DMA5_XCNT ((volatile uint32_t *)REG_DMA5_XCNT) /* DMA5 Inner Loop Count Start Value */
-#define pREG_DMA5_XMOD ((volatile int32_t *)REG_DMA5_XMOD) /* DMA5 Inner Loop Address Increment */
-#define pREG_DMA5_YCNT ((volatile uint32_t *)REG_DMA5_YCNT) /* DMA5 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA5_YMOD ((volatile int32_t *)REG_DMA5_YMOD) /* DMA5 Outer Loop Address Increment (2D only) */
-#define pREG_DMA5_DSCPTR_CUR ((void * volatile *)REG_DMA5_DSCPTR_CUR) /* DMA5 Current Descriptor Pointer */
-#define pREG_DMA5_DSCPTR_PRV ((void * volatile *)REG_DMA5_DSCPTR_PRV) /* DMA5 Previous Initial Descriptor Pointer */
-#define pREG_DMA5_ADDR_CUR ((void * volatile *)REG_DMA5_ADDR_CUR) /* DMA5 Current Address */
-#define pREG_DMA5_STAT ((volatile uint32_t *)REG_DMA5_STAT) /* DMA5 Status Register */
-#define pREG_DMA5_XCNT_CUR ((volatile uint32_t *)REG_DMA5_XCNT_CUR) /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA5_YCNT_CUR ((volatile uint32_t *)REG_DMA5_YCNT_CUR) /* DMA5 Current Row Count (2D only) */
-#define pREG_DMA5_BWLCNT ((volatile uint32_t *)REG_DMA5_BWLCNT) /* DMA5 Bandwidth Limit Count */
-#define pREG_DMA5_BWLCNT_CUR ((volatile uint32_t *)REG_DMA5_BWLCNT_CUR) /* DMA5 Bandwidth Limit Count Current */
-#define pREG_DMA5_BWMCNT ((volatile uint32_t *)REG_DMA5_BWMCNT) /* DMA5 Bandwidth Monitor Count */
-#define pREG_DMA5_BWMCNT_CUR ((volatile uint32_t *)REG_DMA5_BWMCNT_CUR) /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA6
- ========================================================================= */
-#define pREG_DMA6_DSCPTR_NXT ((void * volatile *)REG_DMA6_DSCPTR_NXT) /* DMA6 Pointer to Next Initial Descriptor */
-#define pREG_DMA6_ADDRSTART ((void * volatile *)REG_DMA6_ADDRSTART) /* DMA6 Start Address of Current Buffer */
-#define pREG_DMA6_CFG ((volatile uint32_t *)REG_DMA6_CFG) /* DMA6 Configuration Register */
-#define pREG_DMA6_XCNT ((volatile uint32_t *)REG_DMA6_XCNT) /* DMA6 Inner Loop Count Start Value */
-#define pREG_DMA6_XMOD ((volatile int32_t *)REG_DMA6_XMOD) /* DMA6 Inner Loop Address Increment */
-#define pREG_DMA6_YCNT ((volatile uint32_t *)REG_DMA6_YCNT) /* DMA6 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA6_YMOD ((volatile int32_t *)REG_DMA6_YMOD) /* DMA6 Outer Loop Address Increment (2D only) */
-#define pREG_DMA6_DSCPTR_CUR ((void * volatile *)REG_DMA6_DSCPTR_CUR) /* DMA6 Current Descriptor Pointer */
-#define pREG_DMA6_DSCPTR_PRV ((void * volatile *)REG_DMA6_DSCPTR_PRV) /* DMA6 Previous Initial Descriptor Pointer */
-#define pREG_DMA6_ADDR_CUR ((void * volatile *)REG_DMA6_ADDR_CUR) /* DMA6 Current Address */
-#define pREG_DMA6_STAT ((volatile uint32_t *)REG_DMA6_STAT) /* DMA6 Status Register */
-#define pREG_DMA6_XCNT_CUR ((volatile uint32_t *)REG_DMA6_XCNT_CUR) /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA6_YCNT_CUR ((volatile uint32_t *)REG_DMA6_YCNT_CUR) /* DMA6 Current Row Count (2D only) */
-#define pREG_DMA6_BWLCNT ((volatile uint32_t *)REG_DMA6_BWLCNT) /* DMA6 Bandwidth Limit Count */
-#define pREG_DMA6_BWLCNT_CUR ((volatile uint32_t *)REG_DMA6_BWLCNT_CUR) /* DMA6 Bandwidth Limit Count Current */
-#define pREG_DMA6_BWMCNT ((volatile uint32_t *)REG_DMA6_BWMCNT) /* DMA6 Bandwidth Monitor Count */
-#define pREG_DMA6_BWMCNT_CUR ((volatile uint32_t *)REG_DMA6_BWMCNT_CUR) /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA7
- ========================================================================= */
-#define pREG_DMA7_DSCPTR_NXT ((void * volatile *)REG_DMA7_DSCPTR_NXT) /* DMA7 Pointer to Next Initial Descriptor */
-#define pREG_DMA7_ADDRSTART ((void * volatile *)REG_DMA7_ADDRSTART) /* DMA7 Start Address of Current Buffer */
-#define pREG_DMA7_CFG ((volatile uint32_t *)REG_DMA7_CFG) /* DMA7 Configuration Register */
-#define pREG_DMA7_XCNT ((volatile uint32_t *)REG_DMA7_XCNT) /* DMA7 Inner Loop Count Start Value */
-#define pREG_DMA7_XMOD ((volatile int32_t *)REG_DMA7_XMOD) /* DMA7 Inner Loop Address Increment */
-#define pREG_DMA7_YCNT ((volatile uint32_t *)REG_DMA7_YCNT) /* DMA7 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA7_YMOD ((volatile int32_t *)REG_DMA7_YMOD) /* DMA7 Outer Loop Address Increment (2D only) */
-#define pREG_DMA7_DSCPTR_CUR ((void * volatile *)REG_DMA7_DSCPTR_CUR) /* DMA7 Current Descriptor Pointer */
-#define pREG_DMA7_DSCPTR_PRV ((void * volatile *)REG_DMA7_DSCPTR_PRV) /* DMA7 Previous Initial Descriptor Pointer */
-#define pREG_DMA7_ADDR_CUR ((void * volatile *)REG_DMA7_ADDR_CUR) /* DMA7 Current Address */
-#define pREG_DMA7_STAT ((volatile uint32_t *)REG_DMA7_STAT) /* DMA7 Status Register */
-#define pREG_DMA7_XCNT_CUR ((volatile uint32_t *)REG_DMA7_XCNT_CUR) /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA7_YCNT_CUR ((volatile uint32_t *)REG_DMA7_YCNT_CUR) /* DMA7 Current Row Count (2D only) */
-#define pREG_DMA7_BWLCNT ((volatile uint32_t *)REG_DMA7_BWLCNT) /* DMA7 Bandwidth Limit Count */
-#define pREG_DMA7_BWLCNT_CUR ((volatile uint32_t *)REG_DMA7_BWLCNT_CUR) /* DMA7 Bandwidth Limit Count Current */
-#define pREG_DMA7_BWMCNT ((volatile uint32_t *)REG_DMA7_BWMCNT) /* DMA7 Bandwidth Monitor Count */
-#define pREG_DMA7_BWMCNT_CUR ((volatile uint32_t *)REG_DMA7_BWMCNT_CUR) /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA8
- ========================================================================= */
-#define pREG_DMA8_DSCPTR_NXT ((void * volatile *)REG_DMA8_DSCPTR_NXT) /* DMA8 Pointer to Next Initial Descriptor */
-#define pREG_DMA8_ADDRSTART ((void * volatile *)REG_DMA8_ADDRSTART) /* DMA8 Start Address of Current Buffer */
-#define pREG_DMA8_CFG ((volatile uint32_t *)REG_DMA8_CFG) /* DMA8 Configuration Register */
-#define pREG_DMA8_XCNT ((volatile uint32_t *)REG_DMA8_XCNT) /* DMA8 Inner Loop Count Start Value */
-#define pREG_DMA8_XMOD ((volatile int32_t *)REG_DMA8_XMOD) /* DMA8 Inner Loop Address Increment */
-#define pREG_DMA8_YCNT ((volatile uint32_t *)REG_DMA8_YCNT) /* DMA8 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA8_YMOD ((volatile int32_t *)REG_DMA8_YMOD) /* DMA8 Outer Loop Address Increment (2D only) */
-#define pREG_DMA8_DSCPTR_CUR ((void * volatile *)REG_DMA8_DSCPTR_CUR) /* DMA8 Current Descriptor Pointer */
-#define pREG_DMA8_DSCPTR_PRV ((void * volatile *)REG_DMA8_DSCPTR_PRV) /* DMA8 Previous Initial Descriptor Pointer */
-#define pREG_DMA8_ADDR_CUR ((void * volatile *)REG_DMA8_ADDR_CUR) /* DMA8 Current Address */
-#define pREG_DMA8_STAT ((volatile uint32_t *)REG_DMA8_STAT) /* DMA8 Status Register */
-#define pREG_DMA8_XCNT_CUR ((volatile uint32_t *)REG_DMA8_XCNT_CUR) /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA8_YCNT_CUR ((volatile uint32_t *)REG_DMA8_YCNT_CUR) /* DMA8 Current Row Count (2D only) */
-#define pREG_DMA8_BWLCNT ((volatile uint32_t *)REG_DMA8_BWLCNT) /* DMA8 Bandwidth Limit Count */
-#define pREG_DMA8_BWLCNT_CUR ((volatile uint32_t *)REG_DMA8_BWLCNT_CUR) /* DMA8 Bandwidth Limit Count Current */
-#define pREG_DMA8_BWMCNT ((volatile uint32_t *)REG_DMA8_BWMCNT) /* DMA8 Bandwidth Monitor Count */
-#define pREG_DMA8_BWMCNT_CUR ((volatile uint32_t *)REG_DMA8_BWMCNT_CUR) /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA9
- ========================================================================= */
-#define pREG_DMA9_DSCPTR_NXT ((void * volatile *)REG_DMA9_DSCPTR_NXT) /* DMA9 Pointer to Next Initial Descriptor */
-#define pREG_DMA9_ADDRSTART ((void * volatile *)REG_DMA9_ADDRSTART) /* DMA9 Start Address of Current Buffer */
-#define pREG_DMA9_CFG ((volatile uint32_t *)REG_DMA9_CFG) /* DMA9 Configuration Register */
-#define pREG_DMA9_XCNT ((volatile uint32_t *)REG_DMA9_XCNT) /* DMA9 Inner Loop Count Start Value */
-#define pREG_DMA9_XMOD ((volatile int32_t *)REG_DMA9_XMOD) /* DMA9 Inner Loop Address Increment */
-#define pREG_DMA9_YCNT ((volatile uint32_t *)REG_DMA9_YCNT) /* DMA9 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA9_YMOD ((volatile int32_t *)REG_DMA9_YMOD) /* DMA9 Outer Loop Address Increment (2D only) */
-#define pREG_DMA9_DSCPTR_CUR ((void * volatile *)REG_DMA9_DSCPTR_CUR) /* DMA9 Current Descriptor Pointer */
-#define pREG_DMA9_DSCPTR_PRV ((void * volatile *)REG_DMA9_DSCPTR_PRV) /* DMA9 Previous Initial Descriptor Pointer */
-#define pREG_DMA9_ADDR_CUR ((void * volatile *)REG_DMA9_ADDR_CUR) /* DMA9 Current Address */
-#define pREG_DMA9_STAT ((volatile uint32_t *)REG_DMA9_STAT) /* DMA9 Status Register */
-#define pREG_DMA9_XCNT_CUR ((volatile uint32_t *)REG_DMA9_XCNT_CUR) /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA9_YCNT_CUR ((volatile uint32_t *)REG_DMA9_YCNT_CUR) /* DMA9 Current Row Count (2D only) */
-#define pREG_DMA9_BWLCNT ((volatile uint32_t *)REG_DMA9_BWLCNT) /* DMA9 Bandwidth Limit Count */
-#define pREG_DMA9_BWLCNT_CUR ((volatile uint32_t *)REG_DMA9_BWLCNT_CUR) /* DMA9 Bandwidth Limit Count Current */
-#define pREG_DMA9_BWMCNT ((volatile uint32_t *)REG_DMA9_BWMCNT) /* DMA9 Bandwidth Monitor Count */
-#define pREG_DMA9_BWMCNT_CUR ((volatile uint32_t *)REG_DMA9_BWMCNT_CUR) /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA10
- ========================================================================= */
-#define pREG_DMA10_DSCPTR_NXT ((void * volatile *)REG_DMA10_DSCPTR_NXT) /* DMA10 Pointer to Next Initial Descriptor */
-#define pREG_DMA10_ADDRSTART ((void * volatile *)REG_DMA10_ADDRSTART) /* DMA10 Start Address of Current Buffer */
-#define pREG_DMA10_CFG ((volatile uint32_t *)REG_DMA10_CFG) /* DMA10 Configuration Register */
-#define pREG_DMA10_XCNT ((volatile uint32_t *)REG_DMA10_XCNT) /* DMA10 Inner Loop Count Start Value */
-#define pREG_DMA10_XMOD ((volatile int32_t *)REG_DMA10_XMOD) /* DMA10 Inner Loop Address Increment */
-#define pREG_DMA10_YCNT ((volatile uint32_t *)REG_DMA10_YCNT) /* DMA10 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA10_YMOD ((volatile int32_t *)REG_DMA10_YMOD) /* DMA10 Outer Loop Address Increment (2D only) */
-#define pREG_DMA10_DSCPTR_CUR ((void * volatile *)REG_DMA10_DSCPTR_CUR) /* DMA10 Current Descriptor Pointer */
-#define pREG_DMA10_DSCPTR_PRV ((void * volatile *)REG_DMA10_DSCPTR_PRV) /* DMA10 Previous Initial Descriptor Pointer */
-#define pREG_DMA10_ADDR_CUR ((void * volatile *)REG_DMA10_ADDR_CUR) /* DMA10 Current Address */
-#define pREG_DMA10_STAT ((volatile uint32_t *)REG_DMA10_STAT) /* DMA10 Status Register */
-#define pREG_DMA10_XCNT_CUR ((volatile uint32_t *)REG_DMA10_XCNT_CUR) /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA10_YCNT_CUR ((volatile uint32_t *)REG_DMA10_YCNT_CUR) /* DMA10 Current Row Count (2D only) */
-#define pREG_DMA10_BWLCNT ((volatile uint32_t *)REG_DMA10_BWLCNT) /* DMA10 Bandwidth Limit Count */
-#define pREG_DMA10_BWLCNT_CUR ((volatile uint32_t *)REG_DMA10_BWLCNT_CUR) /* DMA10 Bandwidth Limit Count Current */
-#define pREG_DMA10_BWMCNT ((volatile uint32_t *)REG_DMA10_BWMCNT) /* DMA10 Bandwidth Monitor Count */
-#define pREG_DMA10_BWMCNT_CUR ((volatile uint32_t *)REG_DMA10_BWMCNT_CUR) /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA11
- ========================================================================= */
-#define pREG_DMA11_DSCPTR_NXT ((void * volatile *)REG_DMA11_DSCPTR_NXT) /* DMA11 Pointer to Next Initial Descriptor */
-#define pREG_DMA11_ADDRSTART ((void * volatile *)REG_DMA11_ADDRSTART) /* DMA11 Start Address of Current Buffer */
-#define pREG_DMA11_CFG ((volatile uint32_t *)REG_DMA11_CFG) /* DMA11 Configuration Register */
-#define pREG_DMA11_XCNT ((volatile uint32_t *)REG_DMA11_XCNT) /* DMA11 Inner Loop Count Start Value */
-#define pREG_DMA11_XMOD ((volatile int32_t *)REG_DMA11_XMOD) /* DMA11 Inner Loop Address Increment */
-#define pREG_DMA11_YCNT ((volatile uint32_t *)REG_DMA11_YCNT) /* DMA11 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA11_YMOD ((volatile int32_t *)REG_DMA11_YMOD) /* DMA11 Outer Loop Address Increment (2D only) */
-#define pREG_DMA11_DSCPTR_CUR ((void * volatile *)REG_DMA11_DSCPTR_CUR) /* DMA11 Current Descriptor Pointer */
-#define pREG_DMA11_DSCPTR_PRV ((void * volatile *)REG_DMA11_DSCPTR_PRV) /* DMA11 Previous Initial Descriptor Pointer */
-#define pREG_DMA11_ADDR_CUR ((void * volatile *)REG_DMA11_ADDR_CUR) /* DMA11 Current Address */
-#define pREG_DMA11_STAT ((volatile uint32_t *)REG_DMA11_STAT) /* DMA11 Status Register */
-#define pREG_DMA11_XCNT_CUR ((volatile uint32_t *)REG_DMA11_XCNT_CUR) /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA11_YCNT_CUR ((volatile uint32_t *)REG_DMA11_YCNT_CUR) /* DMA11 Current Row Count (2D only) */
-#define pREG_DMA11_BWLCNT ((volatile uint32_t *)REG_DMA11_BWLCNT) /* DMA11 Bandwidth Limit Count */
-#define pREG_DMA11_BWLCNT_CUR ((volatile uint32_t *)REG_DMA11_BWLCNT_CUR) /* DMA11 Bandwidth Limit Count Current */
-#define pREG_DMA11_BWMCNT ((volatile uint32_t *)REG_DMA11_BWMCNT) /* DMA11 Bandwidth Monitor Count */
-#define pREG_DMA11_BWMCNT_CUR ((volatile uint32_t *)REG_DMA11_BWMCNT_CUR) /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA12
- ========================================================================= */
-#define pREG_DMA12_DSCPTR_NXT ((void * volatile *)REG_DMA12_DSCPTR_NXT) /* DMA12 Pointer to Next Initial Descriptor */
-#define pREG_DMA12_ADDRSTART ((void * volatile *)REG_DMA12_ADDRSTART) /* DMA12 Start Address of Current Buffer */
-#define pREG_DMA12_CFG ((volatile uint32_t *)REG_DMA12_CFG) /* DMA12 Configuration Register */
-#define pREG_DMA12_XCNT ((volatile uint32_t *)REG_DMA12_XCNT) /* DMA12 Inner Loop Count Start Value */
-#define pREG_DMA12_XMOD ((volatile int32_t *)REG_DMA12_XMOD) /* DMA12 Inner Loop Address Increment */
-#define pREG_DMA12_YCNT ((volatile uint32_t *)REG_DMA12_YCNT) /* DMA12 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA12_YMOD ((volatile int32_t *)REG_DMA12_YMOD) /* DMA12 Outer Loop Address Increment (2D only) */
-#define pREG_DMA12_DSCPTR_CUR ((void * volatile *)REG_DMA12_DSCPTR_CUR) /* DMA12 Current Descriptor Pointer */
-#define pREG_DMA12_DSCPTR_PRV ((void * volatile *)REG_DMA12_DSCPTR_PRV) /* DMA12 Previous Initial Descriptor Pointer */
-#define pREG_DMA12_ADDR_CUR ((void * volatile *)REG_DMA12_ADDR_CUR) /* DMA12 Current Address */
-#define pREG_DMA12_STAT ((volatile uint32_t *)REG_DMA12_STAT) /* DMA12 Status Register */
-#define pREG_DMA12_XCNT_CUR ((volatile uint32_t *)REG_DMA12_XCNT_CUR) /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA12_YCNT_CUR ((volatile uint32_t *)REG_DMA12_YCNT_CUR) /* DMA12 Current Row Count (2D only) */
-#define pREG_DMA12_BWLCNT ((volatile uint32_t *)REG_DMA12_BWLCNT) /* DMA12 Bandwidth Limit Count */
-#define pREG_DMA12_BWLCNT_CUR ((volatile uint32_t *)REG_DMA12_BWLCNT_CUR) /* DMA12 Bandwidth Limit Count Current */
-#define pREG_DMA12_BWMCNT ((volatile uint32_t *)REG_DMA12_BWMCNT) /* DMA12 Bandwidth Monitor Count */
-#define pREG_DMA12_BWMCNT_CUR ((volatile uint32_t *)REG_DMA12_BWMCNT_CUR) /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA13
- ========================================================================= */
-#define pREG_DMA13_DSCPTR_NXT ((void * volatile *)REG_DMA13_DSCPTR_NXT) /* DMA13 Pointer to Next Initial Descriptor */
-#define pREG_DMA13_ADDRSTART ((void * volatile *)REG_DMA13_ADDRSTART) /* DMA13 Start Address of Current Buffer */
-#define pREG_DMA13_CFG ((volatile uint32_t *)REG_DMA13_CFG) /* DMA13 Configuration Register */
-#define pREG_DMA13_XCNT ((volatile uint32_t *)REG_DMA13_XCNT) /* DMA13 Inner Loop Count Start Value */
-#define pREG_DMA13_XMOD ((volatile int32_t *)REG_DMA13_XMOD) /* DMA13 Inner Loop Address Increment */
-#define pREG_DMA13_YCNT ((volatile uint32_t *)REG_DMA13_YCNT) /* DMA13 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA13_YMOD ((volatile int32_t *)REG_DMA13_YMOD) /* DMA13 Outer Loop Address Increment (2D only) */
-#define pREG_DMA13_DSCPTR_CUR ((void * volatile *)REG_DMA13_DSCPTR_CUR) /* DMA13 Current Descriptor Pointer */
-#define pREG_DMA13_DSCPTR_PRV ((void * volatile *)REG_DMA13_DSCPTR_PRV) /* DMA13 Previous Initial Descriptor Pointer */
-#define pREG_DMA13_ADDR_CUR ((void * volatile *)REG_DMA13_ADDR_CUR) /* DMA13 Current Address */
-#define pREG_DMA13_STAT ((volatile uint32_t *)REG_DMA13_STAT) /* DMA13 Status Register */
-#define pREG_DMA13_XCNT_CUR ((volatile uint32_t *)REG_DMA13_XCNT_CUR) /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA13_YCNT_CUR ((volatile uint32_t *)REG_DMA13_YCNT_CUR) /* DMA13 Current Row Count (2D only) */
-#define pREG_DMA13_BWLCNT ((volatile uint32_t *)REG_DMA13_BWLCNT) /* DMA13 Bandwidth Limit Count */
-#define pREG_DMA13_BWLCNT_CUR ((volatile uint32_t *)REG_DMA13_BWLCNT_CUR) /* DMA13 Bandwidth Limit Count Current */
-#define pREG_DMA13_BWMCNT ((volatile uint32_t *)REG_DMA13_BWMCNT) /* DMA13 Bandwidth Monitor Count */
-#define pREG_DMA13_BWMCNT_CUR ((volatile uint32_t *)REG_DMA13_BWMCNT_CUR) /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA14
- ========================================================================= */
-#define pREG_DMA14_DSCPTR_NXT ((void * volatile *)REG_DMA14_DSCPTR_NXT) /* DMA14 Pointer to Next Initial Descriptor */
-#define pREG_DMA14_ADDRSTART ((void * volatile *)REG_DMA14_ADDRSTART) /* DMA14 Start Address of Current Buffer */
-#define pREG_DMA14_CFG ((volatile uint32_t *)REG_DMA14_CFG) /* DMA14 Configuration Register */
-#define pREG_DMA14_XCNT ((volatile uint32_t *)REG_DMA14_XCNT) /* DMA14 Inner Loop Count Start Value */
-#define pREG_DMA14_XMOD ((volatile int32_t *)REG_DMA14_XMOD) /* DMA14 Inner Loop Address Increment */
-#define pREG_DMA14_YCNT ((volatile uint32_t *)REG_DMA14_YCNT) /* DMA14 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA14_YMOD ((volatile int32_t *)REG_DMA14_YMOD) /* DMA14 Outer Loop Address Increment (2D only) */
-#define pREG_DMA14_DSCPTR_CUR ((void * volatile *)REG_DMA14_DSCPTR_CUR) /* DMA14 Current Descriptor Pointer */
-#define pREG_DMA14_DSCPTR_PRV ((void * volatile *)REG_DMA14_DSCPTR_PRV) /* DMA14 Previous Initial Descriptor Pointer */
-#define pREG_DMA14_ADDR_CUR ((void * volatile *)REG_DMA14_ADDR_CUR) /* DMA14 Current Address */
-#define pREG_DMA14_STAT ((volatile uint32_t *)REG_DMA14_STAT) /* DMA14 Status Register */
-#define pREG_DMA14_XCNT_CUR ((volatile uint32_t *)REG_DMA14_XCNT_CUR) /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA14_YCNT_CUR ((volatile uint32_t *)REG_DMA14_YCNT_CUR) /* DMA14 Current Row Count (2D only) */
-#define pREG_DMA14_BWLCNT ((volatile uint32_t *)REG_DMA14_BWLCNT) /* DMA14 Bandwidth Limit Count */
-#define pREG_DMA14_BWLCNT_CUR ((volatile uint32_t *)REG_DMA14_BWLCNT_CUR) /* DMA14 Bandwidth Limit Count Current */
-#define pREG_DMA14_BWMCNT ((volatile uint32_t *)REG_DMA14_BWMCNT) /* DMA14 Bandwidth Monitor Count */
-#define pREG_DMA14_BWMCNT_CUR ((volatile uint32_t *)REG_DMA14_BWMCNT_CUR) /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA15
- ========================================================================= */
-#define pREG_DMA15_DSCPTR_NXT ((void * volatile *)REG_DMA15_DSCPTR_NXT) /* DMA15 Pointer to Next Initial Descriptor */
-#define pREG_DMA15_ADDRSTART ((void * volatile *)REG_DMA15_ADDRSTART) /* DMA15 Start Address of Current Buffer */
-#define pREG_DMA15_CFG ((volatile uint32_t *)REG_DMA15_CFG) /* DMA15 Configuration Register */
-#define pREG_DMA15_XCNT ((volatile uint32_t *)REG_DMA15_XCNT) /* DMA15 Inner Loop Count Start Value */
-#define pREG_DMA15_XMOD ((volatile int32_t *)REG_DMA15_XMOD) /* DMA15 Inner Loop Address Increment */
-#define pREG_DMA15_YCNT ((volatile uint32_t *)REG_DMA15_YCNT) /* DMA15 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA15_YMOD ((volatile int32_t *)REG_DMA15_YMOD) /* DMA15 Outer Loop Address Increment (2D only) */
-#define pREG_DMA15_DSCPTR_CUR ((void * volatile *)REG_DMA15_DSCPTR_CUR) /* DMA15 Current Descriptor Pointer */
-#define pREG_DMA15_DSCPTR_PRV ((void * volatile *)REG_DMA15_DSCPTR_PRV) /* DMA15 Previous Initial Descriptor Pointer */
-#define pREG_DMA15_ADDR_CUR ((void * volatile *)REG_DMA15_ADDR_CUR) /* DMA15 Current Address */
-#define pREG_DMA15_STAT ((volatile uint32_t *)REG_DMA15_STAT) /* DMA15 Status Register */
-#define pREG_DMA15_XCNT_CUR ((volatile uint32_t *)REG_DMA15_XCNT_CUR) /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA15_YCNT_CUR ((volatile uint32_t *)REG_DMA15_YCNT_CUR) /* DMA15 Current Row Count (2D only) */
-#define pREG_DMA15_BWLCNT ((volatile uint32_t *)REG_DMA15_BWLCNT) /* DMA15 Bandwidth Limit Count */
-#define pREG_DMA15_BWLCNT_CUR ((volatile uint32_t *)REG_DMA15_BWLCNT_CUR) /* DMA15 Bandwidth Limit Count Current */
-#define pREG_DMA15_BWMCNT ((volatile uint32_t *)REG_DMA15_BWMCNT) /* DMA15 Bandwidth Monitor Count */
-#define pREG_DMA15_BWMCNT_CUR ((volatile uint32_t *)REG_DMA15_BWMCNT_CUR) /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA16
- ========================================================================= */
-#define pREG_DMA16_DSCPTR_NXT ((void * volatile *)REG_DMA16_DSCPTR_NXT) /* DMA16 Pointer to Next Initial Descriptor */
-#define pREG_DMA16_ADDRSTART ((void * volatile *)REG_DMA16_ADDRSTART) /* DMA16 Start Address of Current Buffer */
-#define pREG_DMA16_CFG ((volatile uint32_t *)REG_DMA16_CFG) /* DMA16 Configuration Register */
-#define pREG_DMA16_XCNT ((volatile uint32_t *)REG_DMA16_XCNT) /* DMA16 Inner Loop Count Start Value */
-#define pREG_DMA16_XMOD ((volatile int32_t *)REG_DMA16_XMOD) /* DMA16 Inner Loop Address Increment */
-#define pREG_DMA16_YCNT ((volatile uint32_t *)REG_DMA16_YCNT) /* DMA16 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA16_YMOD ((volatile int32_t *)REG_DMA16_YMOD) /* DMA16 Outer Loop Address Increment (2D only) */
-#define pREG_DMA16_DSCPTR_CUR ((void * volatile *)REG_DMA16_DSCPTR_CUR) /* DMA16 Current Descriptor Pointer */
-#define pREG_DMA16_DSCPTR_PRV ((void * volatile *)REG_DMA16_DSCPTR_PRV) /* DMA16 Previous Initial Descriptor Pointer */
-#define pREG_DMA16_ADDR_CUR ((void * volatile *)REG_DMA16_ADDR_CUR) /* DMA16 Current Address */
-#define pREG_DMA16_STAT ((volatile uint32_t *)REG_DMA16_STAT) /* DMA16 Status Register */
-#define pREG_DMA16_XCNT_CUR ((volatile uint32_t *)REG_DMA16_XCNT_CUR) /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA16_YCNT_CUR ((volatile uint32_t *)REG_DMA16_YCNT_CUR) /* DMA16 Current Row Count (2D only) */
-#define pREG_DMA16_BWLCNT ((volatile uint32_t *)REG_DMA16_BWLCNT) /* DMA16 Bandwidth Limit Count */
-#define pREG_DMA16_BWLCNT_CUR ((volatile uint32_t *)REG_DMA16_BWLCNT_CUR) /* DMA16 Bandwidth Limit Count Current */
-#define pREG_DMA16_BWMCNT ((volatile uint32_t *)REG_DMA16_BWMCNT) /* DMA16 Bandwidth Monitor Count */
-#define pREG_DMA16_BWMCNT_CUR ((volatile uint32_t *)REG_DMA16_BWMCNT_CUR) /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA17
- ========================================================================= */
-#define pREG_DMA17_DSCPTR_NXT ((void * volatile *)REG_DMA17_DSCPTR_NXT) /* DMA17 Pointer to Next Initial Descriptor */
-#define pREG_DMA17_ADDRSTART ((void * volatile *)REG_DMA17_ADDRSTART) /* DMA17 Start Address of Current Buffer */
-#define pREG_DMA17_CFG ((volatile uint32_t *)REG_DMA17_CFG) /* DMA17 Configuration Register */
-#define pREG_DMA17_XCNT ((volatile uint32_t *)REG_DMA17_XCNT) /* DMA17 Inner Loop Count Start Value */
-#define pREG_DMA17_XMOD ((volatile int32_t *)REG_DMA17_XMOD) /* DMA17 Inner Loop Address Increment */
-#define pREG_DMA17_YCNT ((volatile uint32_t *)REG_DMA17_YCNT) /* DMA17 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA17_YMOD ((volatile int32_t *)REG_DMA17_YMOD) /* DMA17 Outer Loop Address Increment (2D only) */
-#define pREG_DMA17_DSCPTR_CUR ((void * volatile *)REG_DMA17_DSCPTR_CUR) /* DMA17 Current Descriptor Pointer */
-#define pREG_DMA17_DSCPTR_PRV ((void * volatile *)REG_DMA17_DSCPTR_PRV) /* DMA17 Previous Initial Descriptor Pointer */
-#define pREG_DMA17_ADDR_CUR ((void * volatile *)REG_DMA17_ADDR_CUR) /* DMA17 Current Address */
-#define pREG_DMA17_STAT ((volatile uint32_t *)REG_DMA17_STAT) /* DMA17 Status Register */
-#define pREG_DMA17_XCNT_CUR ((volatile uint32_t *)REG_DMA17_XCNT_CUR) /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA17_YCNT_CUR ((volatile uint32_t *)REG_DMA17_YCNT_CUR) /* DMA17 Current Row Count (2D only) */
-#define pREG_DMA17_BWLCNT ((volatile uint32_t *)REG_DMA17_BWLCNT) /* DMA17 Bandwidth Limit Count */
-#define pREG_DMA17_BWLCNT_CUR ((volatile uint32_t *)REG_DMA17_BWLCNT_CUR) /* DMA17 Bandwidth Limit Count Current */
-#define pREG_DMA17_BWMCNT ((volatile uint32_t *)REG_DMA17_BWMCNT) /* DMA17 Bandwidth Monitor Count */
-#define pREG_DMA17_BWMCNT_CUR ((volatile uint32_t *)REG_DMA17_BWMCNT_CUR) /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA18
- ========================================================================= */
-#define pREG_DMA18_DSCPTR_NXT ((void * volatile *)REG_DMA18_DSCPTR_NXT) /* DMA18 Pointer to Next Initial Descriptor */
-#define pREG_DMA18_ADDRSTART ((void * volatile *)REG_DMA18_ADDRSTART) /* DMA18 Start Address of Current Buffer */
-#define pREG_DMA18_CFG ((volatile uint32_t *)REG_DMA18_CFG) /* DMA18 Configuration Register */
-#define pREG_DMA18_XCNT ((volatile uint32_t *)REG_DMA18_XCNT) /* DMA18 Inner Loop Count Start Value */
-#define pREG_DMA18_XMOD ((volatile int32_t *)REG_DMA18_XMOD) /* DMA18 Inner Loop Address Increment */
-#define pREG_DMA18_YCNT ((volatile uint32_t *)REG_DMA18_YCNT) /* DMA18 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA18_YMOD ((volatile int32_t *)REG_DMA18_YMOD) /* DMA18 Outer Loop Address Increment (2D only) */
-#define pREG_DMA18_DSCPTR_CUR ((void * volatile *)REG_DMA18_DSCPTR_CUR) /* DMA18 Current Descriptor Pointer */
-#define pREG_DMA18_DSCPTR_PRV ((void * volatile *)REG_DMA18_DSCPTR_PRV) /* DMA18 Previous Initial Descriptor Pointer */
-#define pREG_DMA18_ADDR_CUR ((void * volatile *)REG_DMA18_ADDR_CUR) /* DMA18 Current Address */
-#define pREG_DMA18_STAT ((volatile uint32_t *)REG_DMA18_STAT) /* DMA18 Status Register */
-#define pREG_DMA18_XCNT_CUR ((volatile uint32_t *)REG_DMA18_XCNT_CUR) /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA18_YCNT_CUR ((volatile uint32_t *)REG_DMA18_YCNT_CUR) /* DMA18 Current Row Count (2D only) */
-#define pREG_DMA18_BWLCNT ((volatile uint32_t *)REG_DMA18_BWLCNT) /* DMA18 Bandwidth Limit Count */
-#define pREG_DMA18_BWLCNT_CUR ((volatile uint32_t *)REG_DMA18_BWLCNT_CUR) /* DMA18 Bandwidth Limit Count Current */
-#define pREG_DMA18_BWMCNT ((volatile uint32_t *)REG_DMA18_BWMCNT) /* DMA18 Bandwidth Monitor Count */
-#define pREG_DMA18_BWMCNT_CUR ((volatile uint32_t *)REG_DMA18_BWMCNT_CUR) /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA19
- ========================================================================= */
-#define pREG_DMA19_DSCPTR_NXT ((void * volatile *)REG_DMA19_DSCPTR_NXT) /* DMA19 Pointer to Next Initial Descriptor */
-#define pREG_DMA19_ADDRSTART ((void * volatile *)REG_DMA19_ADDRSTART) /* DMA19 Start Address of Current Buffer */
-#define pREG_DMA19_CFG ((volatile uint32_t *)REG_DMA19_CFG) /* DMA19 Configuration Register */
-#define pREG_DMA19_XCNT ((volatile uint32_t *)REG_DMA19_XCNT) /* DMA19 Inner Loop Count Start Value */
-#define pREG_DMA19_XMOD ((volatile int32_t *)REG_DMA19_XMOD) /* DMA19 Inner Loop Address Increment */
-#define pREG_DMA19_YCNT ((volatile uint32_t *)REG_DMA19_YCNT) /* DMA19 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA19_YMOD ((volatile int32_t *)REG_DMA19_YMOD) /* DMA19 Outer Loop Address Increment (2D only) */
-#define pREG_DMA19_DSCPTR_CUR ((void * volatile *)REG_DMA19_DSCPTR_CUR) /* DMA19 Current Descriptor Pointer */
-#define pREG_DMA19_DSCPTR_PRV ((void * volatile *)REG_DMA19_DSCPTR_PRV) /* DMA19 Previous Initial Descriptor Pointer */
-#define pREG_DMA19_ADDR_CUR ((void * volatile *)REG_DMA19_ADDR_CUR) /* DMA19 Current Address */
-#define pREG_DMA19_STAT ((volatile uint32_t *)REG_DMA19_STAT) /* DMA19 Status Register */
-#define pREG_DMA19_XCNT_CUR ((volatile uint32_t *)REG_DMA19_XCNT_CUR) /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA19_YCNT_CUR ((volatile uint32_t *)REG_DMA19_YCNT_CUR) /* DMA19 Current Row Count (2D only) */
-#define pREG_DMA19_BWLCNT ((volatile uint32_t *)REG_DMA19_BWLCNT) /* DMA19 Bandwidth Limit Count */
-#define pREG_DMA19_BWLCNT_CUR ((volatile uint32_t *)REG_DMA19_BWLCNT_CUR) /* DMA19 Bandwidth Limit Count Current */
-#define pREG_DMA19_BWMCNT ((volatile uint32_t *)REG_DMA19_BWMCNT) /* DMA19 Bandwidth Monitor Count */
-#define pREG_DMA19_BWMCNT_CUR ((volatile uint32_t *)REG_DMA19_BWMCNT_CUR) /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA20
- ========================================================================= */
-#define pREG_DMA20_DSCPTR_NXT ((void * volatile *)REG_DMA20_DSCPTR_NXT) /* DMA20 Pointer to Next Initial Descriptor */
-#define pREG_DMA20_ADDRSTART ((void * volatile *)REG_DMA20_ADDRSTART) /* DMA20 Start Address of Current Buffer */
-#define pREG_DMA20_CFG ((volatile uint32_t *)REG_DMA20_CFG) /* DMA20 Configuration Register */
-#define pREG_DMA20_XCNT ((volatile uint32_t *)REG_DMA20_XCNT) /* DMA20 Inner Loop Count Start Value */
-#define pREG_DMA20_XMOD ((volatile int32_t *)REG_DMA20_XMOD) /* DMA20 Inner Loop Address Increment */
-#define pREG_DMA20_YCNT ((volatile uint32_t *)REG_DMA20_YCNT) /* DMA20 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA20_YMOD ((volatile int32_t *)REG_DMA20_YMOD) /* DMA20 Outer Loop Address Increment (2D only) */
-#define pREG_DMA20_DSCPTR_CUR ((void * volatile *)REG_DMA20_DSCPTR_CUR) /* DMA20 Current Descriptor Pointer */
-#define pREG_DMA20_DSCPTR_PRV ((void * volatile *)REG_DMA20_DSCPTR_PRV) /* DMA20 Previous Initial Descriptor Pointer */
-#define pREG_DMA20_ADDR_CUR ((void * volatile *)REG_DMA20_ADDR_CUR) /* DMA20 Current Address */
-#define pREG_DMA20_STAT ((volatile uint32_t *)REG_DMA20_STAT) /* DMA20 Status Register */
-#define pREG_DMA20_XCNT_CUR ((volatile uint32_t *)REG_DMA20_XCNT_CUR) /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA20_YCNT_CUR ((volatile uint32_t *)REG_DMA20_YCNT_CUR) /* DMA20 Current Row Count (2D only) */
-#define pREG_DMA20_BWLCNT ((volatile uint32_t *)REG_DMA20_BWLCNT) /* DMA20 Bandwidth Limit Count */
-#define pREG_DMA20_BWLCNT_CUR ((volatile uint32_t *)REG_DMA20_BWLCNT_CUR) /* DMA20 Bandwidth Limit Count Current */
-#define pREG_DMA20_BWMCNT ((volatile uint32_t *)REG_DMA20_BWMCNT) /* DMA20 Bandwidth Monitor Count */
-#define pREG_DMA20_BWMCNT_CUR ((volatile uint32_t *)REG_DMA20_BWMCNT_CUR) /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA21
- ========================================================================= */
-#define pREG_DMA21_DSCPTR_NXT ((void * volatile *)REG_DMA21_DSCPTR_NXT) /* DMA21 Pointer to Next Initial Descriptor */
-#define pREG_DMA21_ADDRSTART ((void * volatile *)REG_DMA21_ADDRSTART) /* DMA21 Start Address of Current Buffer */
-#define pREG_DMA21_CFG ((volatile uint32_t *)REG_DMA21_CFG) /* DMA21 Configuration Register */
-#define pREG_DMA21_XCNT ((volatile uint32_t *)REG_DMA21_XCNT) /* DMA21 Inner Loop Count Start Value */
-#define pREG_DMA21_XMOD ((volatile int32_t *)REG_DMA21_XMOD) /* DMA21 Inner Loop Address Increment */
-#define pREG_DMA21_YCNT ((volatile uint32_t *)REG_DMA21_YCNT) /* DMA21 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA21_YMOD ((volatile int32_t *)REG_DMA21_YMOD) /* DMA21 Outer Loop Address Increment (2D only) */
-#define pREG_DMA21_DSCPTR_CUR ((void * volatile *)REG_DMA21_DSCPTR_CUR) /* DMA21 Current Descriptor Pointer */
-#define pREG_DMA21_DSCPTR_PRV ((void * volatile *)REG_DMA21_DSCPTR_PRV) /* DMA21 Previous Initial Descriptor Pointer */
-#define pREG_DMA21_ADDR_CUR ((void * volatile *)REG_DMA21_ADDR_CUR) /* DMA21 Current Address */
-#define pREG_DMA21_STAT ((volatile uint32_t *)REG_DMA21_STAT) /* DMA21 Status Register */
-#define pREG_DMA21_XCNT_CUR ((volatile uint32_t *)REG_DMA21_XCNT_CUR) /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA21_YCNT_CUR ((volatile uint32_t *)REG_DMA21_YCNT_CUR) /* DMA21 Current Row Count (2D only) */
-#define pREG_DMA21_BWLCNT ((volatile uint32_t *)REG_DMA21_BWLCNT) /* DMA21 Bandwidth Limit Count */
-#define pREG_DMA21_BWLCNT_CUR ((volatile uint32_t *)REG_DMA21_BWLCNT_CUR) /* DMA21 Bandwidth Limit Count Current */
-#define pREG_DMA21_BWMCNT ((volatile uint32_t *)REG_DMA21_BWMCNT) /* DMA21 Bandwidth Monitor Count */
-#define pREG_DMA21_BWMCNT_CUR ((volatile uint32_t *)REG_DMA21_BWMCNT_CUR) /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA22
- ========================================================================= */
-#define pREG_DMA22_DSCPTR_NXT ((void * volatile *)REG_DMA22_DSCPTR_NXT) /* DMA22 Pointer to Next Initial Descriptor */
-#define pREG_DMA22_ADDRSTART ((void * volatile *)REG_DMA22_ADDRSTART) /* DMA22 Start Address of Current Buffer */
-#define pREG_DMA22_CFG ((volatile uint32_t *)REG_DMA22_CFG) /* DMA22 Configuration Register */
-#define pREG_DMA22_XCNT ((volatile uint32_t *)REG_DMA22_XCNT) /* DMA22 Inner Loop Count Start Value */
-#define pREG_DMA22_XMOD ((volatile int32_t *)REG_DMA22_XMOD) /* DMA22 Inner Loop Address Increment */
-#define pREG_DMA22_YCNT ((volatile uint32_t *)REG_DMA22_YCNT) /* DMA22 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA22_YMOD ((volatile int32_t *)REG_DMA22_YMOD) /* DMA22 Outer Loop Address Increment (2D only) */
-#define pREG_DMA22_DSCPTR_CUR ((void * volatile *)REG_DMA22_DSCPTR_CUR) /* DMA22 Current Descriptor Pointer */
-#define pREG_DMA22_DSCPTR_PRV ((void * volatile *)REG_DMA22_DSCPTR_PRV) /* DMA22 Previous Initial Descriptor Pointer */
-#define pREG_DMA22_ADDR_CUR ((void * volatile *)REG_DMA22_ADDR_CUR) /* DMA22 Current Address */
-#define pREG_DMA22_STAT ((volatile uint32_t *)REG_DMA22_STAT) /* DMA22 Status Register */
-#define pREG_DMA22_XCNT_CUR ((volatile uint32_t *)REG_DMA22_XCNT_CUR) /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA22_YCNT_CUR ((volatile uint32_t *)REG_DMA22_YCNT_CUR) /* DMA22 Current Row Count (2D only) */
-#define pREG_DMA22_BWLCNT ((volatile uint32_t *)REG_DMA22_BWLCNT) /* DMA22 Bandwidth Limit Count */
-#define pREG_DMA22_BWLCNT_CUR ((volatile uint32_t *)REG_DMA22_BWLCNT_CUR) /* DMA22 Bandwidth Limit Count Current */
-#define pREG_DMA22_BWMCNT ((volatile uint32_t *)REG_DMA22_BWMCNT) /* DMA22 Bandwidth Monitor Count */
-#define pREG_DMA22_BWMCNT_CUR ((volatile uint32_t *)REG_DMA22_BWMCNT_CUR) /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA23
- ========================================================================= */
-#define pREG_DMA23_DSCPTR_NXT ((void * volatile *)REG_DMA23_DSCPTR_NXT) /* DMA23 Pointer to Next Initial Descriptor */
-#define pREG_DMA23_ADDRSTART ((void * volatile *)REG_DMA23_ADDRSTART) /* DMA23 Start Address of Current Buffer */
-#define pREG_DMA23_CFG ((volatile uint32_t *)REG_DMA23_CFG) /* DMA23 Configuration Register */
-#define pREG_DMA23_XCNT ((volatile uint32_t *)REG_DMA23_XCNT) /* DMA23 Inner Loop Count Start Value */
-#define pREG_DMA23_XMOD ((volatile int32_t *)REG_DMA23_XMOD) /* DMA23 Inner Loop Address Increment */
-#define pREG_DMA23_YCNT ((volatile uint32_t *)REG_DMA23_YCNT) /* DMA23 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA23_YMOD ((volatile int32_t *)REG_DMA23_YMOD) /* DMA23 Outer Loop Address Increment (2D only) */
-#define pREG_DMA23_DSCPTR_CUR ((void * volatile *)REG_DMA23_DSCPTR_CUR) /* DMA23 Current Descriptor Pointer */
-#define pREG_DMA23_DSCPTR_PRV ((void * volatile *)REG_DMA23_DSCPTR_PRV) /* DMA23 Previous Initial Descriptor Pointer */
-#define pREG_DMA23_ADDR_CUR ((void * volatile *)REG_DMA23_ADDR_CUR) /* DMA23 Current Address */
-#define pREG_DMA23_STAT ((volatile uint32_t *)REG_DMA23_STAT) /* DMA23 Status Register */
-#define pREG_DMA23_XCNT_CUR ((volatile uint32_t *)REG_DMA23_XCNT_CUR) /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA23_YCNT_CUR ((volatile uint32_t *)REG_DMA23_YCNT_CUR) /* DMA23 Current Row Count (2D only) */
-#define pREG_DMA23_BWLCNT ((volatile uint32_t *)REG_DMA23_BWLCNT) /* DMA23 Bandwidth Limit Count */
-#define pREG_DMA23_BWLCNT_CUR ((volatile uint32_t *)REG_DMA23_BWLCNT_CUR) /* DMA23 Bandwidth Limit Count Current */
-#define pREG_DMA23_BWMCNT ((volatile uint32_t *)REG_DMA23_BWMCNT) /* DMA23 Bandwidth Monitor Count */
-#define pREG_DMA23_BWMCNT_CUR ((volatile uint32_t *)REG_DMA23_BWMCNT_CUR) /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA24
- ========================================================================= */
-#define pREG_DMA24_DSCPTR_NXT ((void * volatile *)REG_DMA24_DSCPTR_NXT) /* DMA24 Pointer to Next Initial Descriptor */
-#define pREG_DMA24_ADDRSTART ((void * volatile *)REG_DMA24_ADDRSTART) /* DMA24 Start Address of Current Buffer */
-#define pREG_DMA24_CFG ((volatile uint32_t *)REG_DMA24_CFG) /* DMA24 Configuration Register */
-#define pREG_DMA24_XCNT ((volatile uint32_t *)REG_DMA24_XCNT) /* DMA24 Inner Loop Count Start Value */
-#define pREG_DMA24_XMOD ((volatile int32_t *)REG_DMA24_XMOD) /* DMA24 Inner Loop Address Increment */
-#define pREG_DMA24_YCNT ((volatile uint32_t *)REG_DMA24_YCNT) /* DMA24 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA24_YMOD ((volatile int32_t *)REG_DMA24_YMOD) /* DMA24 Outer Loop Address Increment (2D only) */
-#define pREG_DMA24_DSCPTR_CUR ((void * volatile *)REG_DMA24_DSCPTR_CUR) /* DMA24 Current Descriptor Pointer */
-#define pREG_DMA24_DSCPTR_PRV ((void * volatile *)REG_DMA24_DSCPTR_PRV) /* DMA24 Previous Initial Descriptor Pointer */
-#define pREG_DMA24_ADDR_CUR ((void * volatile *)REG_DMA24_ADDR_CUR) /* DMA24 Current Address */
-#define pREG_DMA24_STAT ((volatile uint32_t *)REG_DMA24_STAT) /* DMA24 Status Register */
-#define pREG_DMA24_XCNT_CUR ((volatile uint32_t *)REG_DMA24_XCNT_CUR) /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA24_YCNT_CUR ((volatile uint32_t *)REG_DMA24_YCNT_CUR) /* DMA24 Current Row Count (2D only) */
-#define pREG_DMA24_BWLCNT ((volatile uint32_t *)REG_DMA24_BWLCNT) /* DMA24 Bandwidth Limit Count */
-#define pREG_DMA24_BWLCNT_CUR ((volatile uint32_t *)REG_DMA24_BWLCNT_CUR) /* DMA24 Bandwidth Limit Count Current */
-#define pREG_DMA24_BWMCNT ((volatile uint32_t *)REG_DMA24_BWMCNT) /* DMA24 Bandwidth Monitor Count */
-#define pREG_DMA24_BWMCNT_CUR ((volatile uint32_t *)REG_DMA24_BWMCNT_CUR) /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA25
- ========================================================================= */
-#define pREG_DMA25_DSCPTR_NXT ((void * volatile *)REG_DMA25_DSCPTR_NXT) /* DMA25 Pointer to Next Initial Descriptor */
-#define pREG_DMA25_ADDRSTART ((void * volatile *)REG_DMA25_ADDRSTART) /* DMA25 Start Address of Current Buffer */
-#define pREG_DMA25_CFG ((volatile uint32_t *)REG_DMA25_CFG) /* DMA25 Configuration Register */
-#define pREG_DMA25_XCNT ((volatile uint32_t *)REG_DMA25_XCNT) /* DMA25 Inner Loop Count Start Value */
-#define pREG_DMA25_XMOD ((volatile int32_t *)REG_DMA25_XMOD) /* DMA25 Inner Loop Address Increment */
-#define pREG_DMA25_YCNT ((volatile uint32_t *)REG_DMA25_YCNT) /* DMA25 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA25_YMOD ((volatile int32_t *)REG_DMA25_YMOD) /* DMA25 Outer Loop Address Increment (2D only) */
-#define pREG_DMA25_DSCPTR_CUR ((void * volatile *)REG_DMA25_DSCPTR_CUR) /* DMA25 Current Descriptor Pointer */
-#define pREG_DMA25_DSCPTR_PRV ((void * volatile *)REG_DMA25_DSCPTR_PRV) /* DMA25 Previous Initial Descriptor Pointer */
-#define pREG_DMA25_ADDR_CUR ((void * volatile *)REG_DMA25_ADDR_CUR) /* DMA25 Current Address */
-#define pREG_DMA25_STAT ((volatile uint32_t *)REG_DMA25_STAT) /* DMA25 Status Register */
-#define pREG_DMA25_XCNT_CUR ((volatile uint32_t *)REG_DMA25_XCNT_CUR) /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA25_YCNT_CUR ((volatile uint32_t *)REG_DMA25_YCNT_CUR) /* DMA25 Current Row Count (2D only) */
-#define pREG_DMA25_BWLCNT ((volatile uint32_t *)REG_DMA25_BWLCNT) /* DMA25 Bandwidth Limit Count */
-#define pREG_DMA25_BWLCNT_CUR ((volatile uint32_t *)REG_DMA25_BWLCNT_CUR) /* DMA25 Bandwidth Limit Count Current */
-#define pREG_DMA25_BWMCNT ((volatile uint32_t *)REG_DMA25_BWMCNT) /* DMA25 Bandwidth Monitor Count */
-#define pREG_DMA25_BWMCNT_CUR ((volatile uint32_t *)REG_DMA25_BWMCNT_CUR) /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA26
- ========================================================================= */
-#define pREG_DMA26_DSCPTR_NXT ((void * volatile *)REG_DMA26_DSCPTR_NXT) /* DMA26 Pointer to Next Initial Descriptor */
-#define pREG_DMA26_ADDRSTART ((void * volatile *)REG_DMA26_ADDRSTART) /* DMA26 Start Address of Current Buffer */
-#define pREG_DMA26_CFG ((volatile uint32_t *)REG_DMA26_CFG) /* DMA26 Configuration Register */
-#define pREG_DMA26_XCNT ((volatile uint32_t *)REG_DMA26_XCNT) /* DMA26 Inner Loop Count Start Value */
-#define pREG_DMA26_XMOD ((volatile int32_t *)REG_DMA26_XMOD) /* DMA26 Inner Loop Address Increment */
-#define pREG_DMA26_YCNT ((volatile uint32_t *)REG_DMA26_YCNT) /* DMA26 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA26_YMOD ((volatile int32_t *)REG_DMA26_YMOD) /* DMA26 Outer Loop Address Increment (2D only) */
-#define pREG_DMA26_DSCPTR_CUR ((void * volatile *)REG_DMA26_DSCPTR_CUR) /* DMA26 Current Descriptor Pointer */
-#define pREG_DMA26_DSCPTR_PRV ((void * volatile *)REG_DMA26_DSCPTR_PRV) /* DMA26 Previous Initial Descriptor Pointer */
-#define pREG_DMA26_ADDR_CUR ((void * volatile *)REG_DMA26_ADDR_CUR) /* DMA26 Current Address */
-#define pREG_DMA26_STAT ((volatile uint32_t *)REG_DMA26_STAT) /* DMA26 Status Register */
-#define pREG_DMA26_XCNT_CUR ((volatile uint32_t *)REG_DMA26_XCNT_CUR) /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA26_YCNT_CUR ((volatile uint32_t *)REG_DMA26_YCNT_CUR) /* DMA26 Current Row Count (2D only) */
-#define pREG_DMA26_BWLCNT ((volatile uint32_t *)REG_DMA26_BWLCNT) /* DMA26 Bandwidth Limit Count */
-#define pREG_DMA26_BWLCNT_CUR ((volatile uint32_t *)REG_DMA26_BWLCNT_CUR) /* DMA26 Bandwidth Limit Count Current */
-#define pREG_DMA26_BWMCNT ((volatile uint32_t *)REG_DMA26_BWMCNT) /* DMA26 Bandwidth Monitor Count */
-#define pREG_DMA26_BWMCNT_CUR ((volatile uint32_t *)REG_DMA26_BWMCNT_CUR) /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA27
- ========================================================================= */
-#define pREG_DMA27_DSCPTR_NXT ((void * volatile *)REG_DMA27_DSCPTR_NXT) /* DMA27 Pointer to Next Initial Descriptor */
-#define pREG_DMA27_ADDRSTART ((void * volatile *)REG_DMA27_ADDRSTART) /* DMA27 Start Address of Current Buffer */
-#define pREG_DMA27_CFG ((volatile uint32_t *)REG_DMA27_CFG) /* DMA27 Configuration Register */
-#define pREG_DMA27_XCNT ((volatile uint32_t *)REG_DMA27_XCNT) /* DMA27 Inner Loop Count Start Value */
-#define pREG_DMA27_XMOD ((volatile int32_t *)REG_DMA27_XMOD) /* DMA27 Inner Loop Address Increment */
-#define pREG_DMA27_YCNT ((volatile uint32_t *)REG_DMA27_YCNT) /* DMA27 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA27_YMOD ((volatile int32_t *)REG_DMA27_YMOD) /* DMA27 Outer Loop Address Increment (2D only) */
-#define pREG_DMA27_DSCPTR_CUR ((void * volatile *)REG_DMA27_DSCPTR_CUR) /* DMA27 Current Descriptor Pointer */
-#define pREG_DMA27_DSCPTR_PRV ((void * volatile *)REG_DMA27_DSCPTR_PRV) /* DMA27 Previous Initial Descriptor Pointer */
-#define pREG_DMA27_ADDR_CUR ((void * volatile *)REG_DMA27_ADDR_CUR) /* DMA27 Current Address */
-#define pREG_DMA27_STAT ((volatile uint32_t *)REG_DMA27_STAT) /* DMA27 Status Register */
-#define pREG_DMA27_XCNT_CUR ((volatile uint32_t *)REG_DMA27_XCNT_CUR) /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA27_YCNT_CUR ((volatile uint32_t *)REG_DMA27_YCNT_CUR) /* DMA27 Current Row Count (2D only) */
-#define pREG_DMA27_BWLCNT ((volatile uint32_t *)REG_DMA27_BWLCNT) /* DMA27 Bandwidth Limit Count */
-#define pREG_DMA27_BWLCNT_CUR ((volatile uint32_t *)REG_DMA27_BWLCNT_CUR) /* DMA27 Bandwidth Limit Count Current */
-#define pREG_DMA27_BWMCNT ((volatile uint32_t *)REG_DMA27_BWMCNT) /* DMA27 Bandwidth Monitor Count */
-#define pREG_DMA27_BWMCNT_CUR ((volatile uint32_t *)REG_DMA27_BWMCNT_CUR) /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA28
- ========================================================================= */
-#define pREG_DMA28_DSCPTR_NXT ((void * volatile *)REG_DMA28_DSCPTR_NXT) /* DMA28 Pointer to Next Initial Descriptor */
-#define pREG_DMA28_ADDRSTART ((void * volatile *)REG_DMA28_ADDRSTART) /* DMA28 Start Address of Current Buffer */
-#define pREG_DMA28_CFG ((volatile uint32_t *)REG_DMA28_CFG) /* DMA28 Configuration Register */
-#define pREG_DMA28_XCNT ((volatile uint32_t *)REG_DMA28_XCNT) /* DMA28 Inner Loop Count Start Value */
-#define pREG_DMA28_XMOD ((volatile int32_t *)REG_DMA28_XMOD) /* DMA28 Inner Loop Address Increment */
-#define pREG_DMA28_YCNT ((volatile uint32_t *)REG_DMA28_YCNT) /* DMA28 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA28_YMOD ((volatile int32_t *)REG_DMA28_YMOD) /* DMA28 Outer Loop Address Increment (2D only) */
-#define pREG_DMA28_DSCPTR_CUR ((void * volatile *)REG_DMA28_DSCPTR_CUR) /* DMA28 Current Descriptor Pointer */
-#define pREG_DMA28_DSCPTR_PRV ((void * volatile *)REG_DMA28_DSCPTR_PRV) /* DMA28 Previous Initial Descriptor Pointer */
-#define pREG_DMA28_ADDR_CUR ((void * volatile *)REG_DMA28_ADDR_CUR) /* DMA28 Current Address */
-#define pREG_DMA28_STAT ((volatile uint32_t *)REG_DMA28_STAT) /* DMA28 Status Register */
-#define pREG_DMA28_XCNT_CUR ((volatile uint32_t *)REG_DMA28_XCNT_CUR) /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA28_YCNT_CUR ((volatile uint32_t *)REG_DMA28_YCNT_CUR) /* DMA28 Current Row Count (2D only) */
-#define pREG_DMA28_BWLCNT ((volatile uint32_t *)REG_DMA28_BWLCNT) /* DMA28 Bandwidth Limit Count */
-#define pREG_DMA28_BWLCNT_CUR ((volatile uint32_t *)REG_DMA28_BWLCNT_CUR) /* DMA28 Bandwidth Limit Count Current */
-#define pREG_DMA28_BWMCNT ((volatile uint32_t *)REG_DMA28_BWMCNT) /* DMA28 Bandwidth Monitor Count */
-#define pREG_DMA28_BWMCNT_CUR ((volatile uint32_t *)REG_DMA28_BWMCNT_CUR) /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA29
- ========================================================================= */
-#define pREG_DMA29_DSCPTR_NXT ((void * volatile *)REG_DMA29_DSCPTR_NXT) /* DMA29 Pointer to Next Initial Descriptor */
-#define pREG_DMA29_ADDRSTART ((void * volatile *)REG_DMA29_ADDRSTART) /* DMA29 Start Address of Current Buffer */
-#define pREG_DMA29_CFG ((volatile uint32_t *)REG_DMA29_CFG) /* DMA29 Configuration Register */
-#define pREG_DMA29_XCNT ((volatile uint32_t *)REG_DMA29_XCNT) /* DMA29 Inner Loop Count Start Value */
-#define pREG_DMA29_XMOD ((volatile int32_t *)REG_DMA29_XMOD) /* DMA29 Inner Loop Address Increment */
-#define pREG_DMA29_YCNT ((volatile uint32_t *)REG_DMA29_YCNT) /* DMA29 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA29_YMOD ((volatile int32_t *)REG_DMA29_YMOD) /* DMA29 Outer Loop Address Increment (2D only) */
-#define pREG_DMA29_DSCPTR_CUR ((void * volatile *)REG_DMA29_DSCPTR_CUR) /* DMA29 Current Descriptor Pointer */
-#define pREG_DMA29_DSCPTR_PRV ((void * volatile *)REG_DMA29_DSCPTR_PRV) /* DMA29 Previous Initial Descriptor Pointer */
-#define pREG_DMA29_ADDR_CUR ((void * volatile *)REG_DMA29_ADDR_CUR) /* DMA29 Current Address */
-#define pREG_DMA29_STAT ((volatile uint32_t *)REG_DMA29_STAT) /* DMA29 Status Register */
-#define pREG_DMA29_XCNT_CUR ((volatile uint32_t *)REG_DMA29_XCNT_CUR) /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA29_YCNT_CUR ((volatile uint32_t *)REG_DMA29_YCNT_CUR) /* DMA29 Current Row Count (2D only) */
-#define pREG_DMA29_BWLCNT ((volatile uint32_t *)REG_DMA29_BWLCNT) /* DMA29 Bandwidth Limit Count */
-#define pREG_DMA29_BWLCNT_CUR ((volatile uint32_t *)REG_DMA29_BWLCNT_CUR) /* DMA29 Bandwidth Limit Count Current */
-#define pREG_DMA29_BWMCNT ((volatile uint32_t *)REG_DMA29_BWMCNT) /* DMA29 Bandwidth Monitor Count */
-#define pREG_DMA29_BWMCNT_CUR ((volatile uint32_t *)REG_DMA29_BWMCNT_CUR) /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA30
- ========================================================================= */
-#define pREG_DMA30_DSCPTR_NXT ((void * volatile *)REG_DMA30_DSCPTR_NXT) /* DMA30 Pointer to Next Initial Descriptor */
-#define pREG_DMA30_ADDRSTART ((void * volatile *)REG_DMA30_ADDRSTART) /* DMA30 Start Address of Current Buffer */
-#define pREG_DMA30_CFG ((volatile uint32_t *)REG_DMA30_CFG) /* DMA30 Configuration Register */
-#define pREG_DMA30_XCNT ((volatile uint32_t *)REG_DMA30_XCNT) /* DMA30 Inner Loop Count Start Value */
-#define pREG_DMA30_XMOD ((volatile int32_t *)REG_DMA30_XMOD) /* DMA30 Inner Loop Address Increment */
-#define pREG_DMA30_YCNT ((volatile uint32_t *)REG_DMA30_YCNT) /* DMA30 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA30_YMOD ((volatile int32_t *)REG_DMA30_YMOD) /* DMA30 Outer Loop Address Increment (2D only) */
-#define pREG_DMA30_DSCPTR_CUR ((void * volatile *)REG_DMA30_DSCPTR_CUR) /* DMA30 Current Descriptor Pointer */
-#define pREG_DMA30_DSCPTR_PRV ((void * volatile *)REG_DMA30_DSCPTR_PRV) /* DMA30 Previous Initial Descriptor Pointer */
-#define pREG_DMA30_ADDR_CUR ((void * volatile *)REG_DMA30_ADDR_CUR) /* DMA30 Current Address */
-#define pREG_DMA30_STAT ((volatile uint32_t *)REG_DMA30_STAT) /* DMA30 Status Register */
-#define pREG_DMA30_XCNT_CUR ((volatile uint32_t *)REG_DMA30_XCNT_CUR) /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA30_YCNT_CUR ((volatile uint32_t *)REG_DMA30_YCNT_CUR) /* DMA30 Current Row Count (2D only) */
-#define pREG_DMA30_BWLCNT ((volatile uint32_t *)REG_DMA30_BWLCNT) /* DMA30 Bandwidth Limit Count */
-#define pREG_DMA30_BWLCNT_CUR ((volatile uint32_t *)REG_DMA30_BWLCNT_CUR) /* DMA30 Bandwidth Limit Count Current */
-#define pREG_DMA30_BWMCNT ((volatile uint32_t *)REG_DMA30_BWMCNT) /* DMA30 Bandwidth Monitor Count */
-#define pREG_DMA30_BWMCNT_CUR ((volatile uint32_t *)REG_DMA30_BWMCNT_CUR) /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA31
- ========================================================================= */
-#define pREG_DMA31_DSCPTR_NXT ((void * volatile *)REG_DMA31_DSCPTR_NXT) /* DMA31 Pointer to Next Initial Descriptor */
-#define pREG_DMA31_ADDRSTART ((void * volatile *)REG_DMA31_ADDRSTART) /* DMA31 Start Address of Current Buffer */
-#define pREG_DMA31_CFG ((volatile uint32_t *)REG_DMA31_CFG) /* DMA31 Configuration Register */
-#define pREG_DMA31_XCNT ((volatile uint32_t *)REG_DMA31_XCNT) /* DMA31 Inner Loop Count Start Value */
-#define pREG_DMA31_XMOD ((volatile int32_t *)REG_DMA31_XMOD) /* DMA31 Inner Loop Address Increment */
-#define pREG_DMA31_YCNT ((volatile uint32_t *)REG_DMA31_YCNT) /* DMA31 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA31_YMOD ((volatile int32_t *)REG_DMA31_YMOD) /* DMA31 Outer Loop Address Increment (2D only) */
-#define pREG_DMA31_DSCPTR_CUR ((void * volatile *)REG_DMA31_DSCPTR_CUR) /* DMA31 Current Descriptor Pointer */
-#define pREG_DMA31_DSCPTR_PRV ((void * volatile *)REG_DMA31_DSCPTR_PRV) /* DMA31 Previous Initial Descriptor Pointer */
-#define pREG_DMA31_ADDR_CUR ((void * volatile *)REG_DMA31_ADDR_CUR) /* DMA31 Current Address */
-#define pREG_DMA31_STAT ((volatile uint32_t *)REG_DMA31_STAT) /* DMA31 Status Register */
-#define pREG_DMA31_XCNT_CUR ((volatile uint32_t *)REG_DMA31_XCNT_CUR) /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA31_YCNT_CUR ((volatile uint32_t *)REG_DMA31_YCNT_CUR) /* DMA31 Current Row Count (2D only) */
-#define pREG_DMA31_BWLCNT ((volatile uint32_t *)REG_DMA31_BWLCNT) /* DMA31 Bandwidth Limit Count */
-#define pREG_DMA31_BWLCNT_CUR ((volatile uint32_t *)REG_DMA31_BWLCNT_CUR) /* DMA31 Bandwidth Limit Count Current */
-#define pREG_DMA31_BWMCNT ((volatile uint32_t *)REG_DMA31_BWMCNT) /* DMA31 Bandwidth Monitor Count */
-#define pREG_DMA31_BWMCNT_CUR ((volatile uint32_t *)REG_DMA31_BWMCNT_CUR) /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA32
- ========================================================================= */
-#define pREG_DMA32_DSCPTR_NXT ((void * volatile *)REG_DMA32_DSCPTR_NXT) /* DMA32 Pointer to Next Initial Descriptor */
-#define pREG_DMA32_ADDRSTART ((void * volatile *)REG_DMA32_ADDRSTART) /* DMA32 Start Address of Current Buffer */
-#define pREG_DMA32_CFG ((volatile uint32_t *)REG_DMA32_CFG) /* DMA32 Configuration Register */
-#define pREG_DMA32_XCNT ((volatile uint32_t *)REG_DMA32_XCNT) /* DMA32 Inner Loop Count Start Value */
-#define pREG_DMA32_XMOD ((volatile int32_t *)REG_DMA32_XMOD) /* DMA32 Inner Loop Address Increment */
-#define pREG_DMA32_YCNT ((volatile uint32_t *)REG_DMA32_YCNT) /* DMA32 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA32_YMOD ((volatile int32_t *)REG_DMA32_YMOD) /* DMA32 Outer Loop Address Increment (2D only) */
-#define pREG_DMA32_DSCPTR_CUR ((void * volatile *)REG_DMA32_DSCPTR_CUR) /* DMA32 Current Descriptor Pointer */
-#define pREG_DMA32_DSCPTR_PRV ((void * volatile *)REG_DMA32_DSCPTR_PRV) /* DMA32 Previous Initial Descriptor Pointer */
-#define pREG_DMA32_ADDR_CUR ((void * volatile *)REG_DMA32_ADDR_CUR) /* DMA32 Current Address */
-#define pREG_DMA32_STAT ((volatile uint32_t *)REG_DMA32_STAT) /* DMA32 Status Register */
-#define pREG_DMA32_XCNT_CUR ((volatile uint32_t *)REG_DMA32_XCNT_CUR) /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA32_YCNT_CUR ((volatile uint32_t *)REG_DMA32_YCNT_CUR) /* DMA32 Current Row Count (2D only) */
-#define pREG_DMA32_BWLCNT ((volatile uint32_t *)REG_DMA32_BWLCNT) /* DMA32 Bandwidth Limit Count */
-#define pREG_DMA32_BWLCNT_CUR ((volatile uint32_t *)REG_DMA32_BWLCNT_CUR) /* DMA32 Bandwidth Limit Count Current */
-#define pREG_DMA32_BWMCNT ((volatile uint32_t *)REG_DMA32_BWMCNT) /* DMA32 Bandwidth Monitor Count */
-#define pREG_DMA32_BWMCNT_CUR ((volatile uint32_t *)REG_DMA32_BWMCNT_CUR) /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA33
- ========================================================================= */
-#define pREG_DMA33_DSCPTR_NXT ((void * volatile *)REG_DMA33_DSCPTR_NXT) /* DMA33 Pointer to Next Initial Descriptor */
-#define pREG_DMA33_ADDRSTART ((void * volatile *)REG_DMA33_ADDRSTART) /* DMA33 Start Address of Current Buffer */
-#define pREG_DMA33_CFG ((volatile uint32_t *)REG_DMA33_CFG) /* DMA33 Configuration Register */
-#define pREG_DMA33_XCNT ((volatile uint32_t *)REG_DMA33_XCNT) /* DMA33 Inner Loop Count Start Value */
-#define pREG_DMA33_XMOD ((volatile int32_t *)REG_DMA33_XMOD) /* DMA33 Inner Loop Address Increment */
-#define pREG_DMA33_YCNT ((volatile uint32_t *)REG_DMA33_YCNT) /* DMA33 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA33_YMOD ((volatile int32_t *)REG_DMA33_YMOD) /* DMA33 Outer Loop Address Increment (2D only) */
-#define pREG_DMA33_DSCPTR_CUR ((void * volatile *)REG_DMA33_DSCPTR_CUR) /* DMA33 Current Descriptor Pointer */
-#define pREG_DMA33_DSCPTR_PRV ((void * volatile *)REG_DMA33_DSCPTR_PRV) /* DMA33 Previous Initial Descriptor Pointer */
-#define pREG_DMA33_ADDR_CUR ((void * volatile *)REG_DMA33_ADDR_CUR) /* DMA33 Current Address */
-#define pREG_DMA33_STAT ((volatile uint32_t *)REG_DMA33_STAT) /* DMA33 Status Register */
-#define pREG_DMA33_XCNT_CUR ((volatile uint32_t *)REG_DMA33_XCNT_CUR) /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA33_YCNT_CUR ((volatile uint32_t *)REG_DMA33_YCNT_CUR) /* DMA33 Current Row Count (2D only) */
-#define pREG_DMA33_BWLCNT ((volatile uint32_t *)REG_DMA33_BWLCNT) /* DMA33 Bandwidth Limit Count */
-#define pREG_DMA33_BWLCNT_CUR ((volatile uint32_t *)REG_DMA33_BWLCNT_CUR) /* DMA33 Bandwidth Limit Count Current */
-#define pREG_DMA33_BWMCNT ((volatile uint32_t *)REG_DMA33_BWMCNT) /* DMA33 Bandwidth Monitor Count */
-#define pREG_DMA33_BWMCNT_CUR ((volatile uint32_t *)REG_DMA33_BWMCNT_CUR) /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA34
- ========================================================================= */
-#define pREG_DMA34_DSCPTR_NXT ((void * volatile *)REG_DMA34_DSCPTR_NXT) /* DMA34 Pointer to Next Initial Descriptor */
-#define pREG_DMA34_ADDRSTART ((void * volatile *)REG_DMA34_ADDRSTART) /* DMA34 Start Address of Current Buffer */
-#define pREG_DMA34_CFG ((volatile uint32_t *)REG_DMA34_CFG) /* DMA34 Configuration Register */
-#define pREG_DMA34_XCNT ((volatile uint32_t *)REG_DMA34_XCNT) /* DMA34 Inner Loop Count Start Value */
-#define pREG_DMA34_XMOD ((volatile int32_t *)REG_DMA34_XMOD) /* DMA34 Inner Loop Address Increment */
-#define pREG_DMA34_YCNT ((volatile uint32_t *)REG_DMA34_YCNT) /* DMA34 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA34_YMOD ((volatile int32_t *)REG_DMA34_YMOD) /* DMA34 Outer Loop Address Increment (2D only) */
-#define pREG_DMA34_DSCPTR_CUR ((void * volatile *)REG_DMA34_DSCPTR_CUR) /* DMA34 Current Descriptor Pointer */
-#define pREG_DMA34_DSCPTR_PRV ((void * volatile *)REG_DMA34_DSCPTR_PRV) /* DMA34 Previous Initial Descriptor Pointer */
-#define pREG_DMA34_ADDR_CUR ((void * volatile *)REG_DMA34_ADDR_CUR) /* DMA34 Current Address */
-#define pREG_DMA34_STAT ((volatile uint32_t *)REG_DMA34_STAT) /* DMA34 Status Register */
-#define pREG_DMA34_XCNT_CUR ((volatile uint32_t *)REG_DMA34_XCNT_CUR) /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA34_YCNT_CUR ((volatile uint32_t *)REG_DMA34_YCNT_CUR) /* DMA34 Current Row Count (2D only) */
-#define pREG_DMA34_BWLCNT ((volatile uint32_t *)REG_DMA34_BWLCNT) /* DMA34 Bandwidth Limit Count */
-#define pREG_DMA34_BWLCNT_CUR ((volatile uint32_t *)REG_DMA34_BWLCNT_CUR) /* DMA34 Bandwidth Limit Count Current */
-#define pREG_DMA34_BWMCNT ((volatile uint32_t *)REG_DMA34_BWMCNT) /* DMA34 Bandwidth Monitor Count */
-#define pREG_DMA34_BWMCNT_CUR ((volatile uint32_t *)REG_DMA34_BWMCNT_CUR) /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA35
- ========================================================================= */
-#define pREG_DMA35_DSCPTR_NXT ((void * volatile *)REG_DMA35_DSCPTR_NXT) /* DMA35 Pointer to Next Initial Descriptor */
-#define pREG_DMA35_ADDRSTART ((void * volatile *)REG_DMA35_ADDRSTART) /* DMA35 Start Address of Current Buffer */
-#define pREG_DMA35_CFG ((volatile uint32_t *)REG_DMA35_CFG) /* DMA35 Configuration Register */
-#define pREG_DMA35_XCNT ((volatile uint32_t *)REG_DMA35_XCNT) /* DMA35 Inner Loop Count Start Value */
-#define pREG_DMA35_XMOD ((volatile int32_t *)REG_DMA35_XMOD) /* DMA35 Inner Loop Address Increment */
-#define pREG_DMA35_YCNT ((volatile uint32_t *)REG_DMA35_YCNT) /* DMA35 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA35_YMOD ((volatile int32_t *)REG_DMA35_YMOD) /* DMA35 Outer Loop Address Increment (2D only) */
-#define pREG_DMA35_DSCPTR_CUR ((void * volatile *)REG_DMA35_DSCPTR_CUR) /* DMA35 Current Descriptor Pointer */
-#define pREG_DMA35_DSCPTR_PRV ((void * volatile *)REG_DMA35_DSCPTR_PRV) /* DMA35 Previous Initial Descriptor Pointer */
-#define pREG_DMA35_ADDR_CUR ((void * volatile *)REG_DMA35_ADDR_CUR) /* DMA35 Current Address */
-#define pREG_DMA35_STAT ((volatile uint32_t *)REG_DMA35_STAT) /* DMA35 Status Register */
-#define pREG_DMA35_XCNT_CUR ((volatile uint32_t *)REG_DMA35_XCNT_CUR) /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA35_YCNT_CUR ((volatile uint32_t *)REG_DMA35_YCNT_CUR) /* DMA35 Current Row Count (2D only) */
-#define pREG_DMA35_BWLCNT ((volatile uint32_t *)REG_DMA35_BWLCNT) /* DMA35 Bandwidth Limit Count */
-#define pREG_DMA35_BWLCNT_CUR ((volatile uint32_t *)REG_DMA35_BWLCNT_CUR) /* DMA35 Bandwidth Limit Count Current */
-#define pREG_DMA35_BWMCNT ((volatile uint32_t *)REG_DMA35_BWMCNT) /* DMA35 Bandwidth Monitor Count */
-#define pREG_DMA35_BWMCNT_CUR ((volatile uint32_t *)REG_DMA35_BWMCNT_CUR) /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA36
- ========================================================================= */
-#define pREG_DMA36_DSCPTR_NXT ((void * volatile *)REG_DMA36_DSCPTR_NXT) /* DMA36 Pointer to Next Initial Descriptor */
-#define pREG_DMA36_ADDRSTART ((void * volatile *)REG_DMA36_ADDRSTART) /* DMA36 Start Address of Current Buffer */
-#define pREG_DMA36_CFG ((volatile uint32_t *)REG_DMA36_CFG) /* DMA36 Configuration Register */
-#define pREG_DMA36_XCNT ((volatile uint32_t *)REG_DMA36_XCNT) /* DMA36 Inner Loop Count Start Value */
-#define pREG_DMA36_XMOD ((volatile int32_t *)REG_DMA36_XMOD) /* DMA36 Inner Loop Address Increment */
-#define pREG_DMA36_YCNT ((volatile uint32_t *)REG_DMA36_YCNT) /* DMA36 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA36_YMOD ((volatile int32_t *)REG_DMA36_YMOD) /* DMA36 Outer Loop Address Increment (2D only) */
-#define pREG_DMA36_DSCPTR_CUR ((void * volatile *)REG_DMA36_DSCPTR_CUR) /* DMA36 Current Descriptor Pointer */
-#define pREG_DMA36_DSCPTR_PRV ((void * volatile *)REG_DMA36_DSCPTR_PRV) /* DMA36 Previous Initial Descriptor Pointer */
-#define pREG_DMA36_ADDR_CUR ((void * volatile *)REG_DMA36_ADDR_CUR) /* DMA36 Current Address */
-#define pREG_DMA36_STAT ((volatile uint32_t *)REG_DMA36_STAT) /* DMA36 Status Register */
-#define pREG_DMA36_XCNT_CUR ((volatile uint32_t *)REG_DMA36_XCNT_CUR) /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA36_YCNT_CUR ((volatile uint32_t *)REG_DMA36_YCNT_CUR) /* DMA36 Current Row Count (2D only) */
-#define pREG_DMA36_BWLCNT ((volatile uint32_t *)REG_DMA36_BWLCNT) /* DMA36 Bandwidth Limit Count */
-#define pREG_DMA36_BWLCNT_CUR ((volatile uint32_t *)REG_DMA36_BWLCNT_CUR) /* DMA36 Bandwidth Limit Count Current */
-#define pREG_DMA36_BWMCNT ((volatile uint32_t *)REG_DMA36_BWMCNT) /* DMA36 Bandwidth Monitor Count */
-#define pREG_DMA36_BWMCNT_CUR ((volatile uint32_t *)REG_DMA36_BWMCNT_CUR) /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA37
- ========================================================================= */
-#define pREG_DMA37_DSCPTR_NXT ((void * volatile *)REG_DMA37_DSCPTR_NXT) /* DMA37 Pointer to Next Initial Descriptor */
-#define pREG_DMA37_ADDRSTART ((void * volatile *)REG_DMA37_ADDRSTART) /* DMA37 Start Address of Current Buffer */
-#define pREG_DMA37_CFG ((volatile uint32_t *)REG_DMA37_CFG) /* DMA37 Configuration Register */
-#define pREG_DMA37_XCNT ((volatile uint32_t *)REG_DMA37_XCNT) /* DMA37 Inner Loop Count Start Value */
-#define pREG_DMA37_XMOD ((volatile int32_t *)REG_DMA37_XMOD) /* DMA37 Inner Loop Address Increment */
-#define pREG_DMA37_YCNT ((volatile uint32_t *)REG_DMA37_YCNT) /* DMA37 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA37_YMOD ((volatile int32_t *)REG_DMA37_YMOD) /* DMA37 Outer Loop Address Increment (2D only) */
-#define pREG_DMA37_DSCPTR_CUR ((void * volatile *)REG_DMA37_DSCPTR_CUR) /* DMA37 Current Descriptor Pointer */
-#define pREG_DMA37_DSCPTR_PRV ((void * volatile *)REG_DMA37_DSCPTR_PRV) /* DMA37 Previous Initial Descriptor Pointer */
-#define pREG_DMA37_ADDR_CUR ((void * volatile *)REG_DMA37_ADDR_CUR) /* DMA37 Current Address */
-#define pREG_DMA37_STAT ((volatile uint32_t *)REG_DMA37_STAT) /* DMA37 Status Register */
-#define pREG_DMA37_XCNT_CUR ((volatile uint32_t *)REG_DMA37_XCNT_CUR) /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA37_YCNT_CUR ((volatile uint32_t *)REG_DMA37_YCNT_CUR) /* DMA37 Current Row Count (2D only) */
-#define pREG_DMA37_BWLCNT ((volatile uint32_t *)REG_DMA37_BWLCNT) /* DMA37 Bandwidth Limit Count */
-#define pREG_DMA37_BWLCNT_CUR ((volatile uint32_t *)REG_DMA37_BWLCNT_CUR) /* DMA37 Bandwidth Limit Count Current */
-#define pREG_DMA37_BWMCNT ((volatile uint32_t *)REG_DMA37_BWMCNT) /* DMA37 Bandwidth Monitor Count */
-#define pREG_DMA37_BWMCNT_CUR ((volatile uint32_t *)REG_DMA37_BWMCNT_CUR) /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA38
- ========================================================================= */
-#define pREG_DMA38_DSCPTR_NXT ((void * volatile *)REG_DMA38_DSCPTR_NXT) /* DMA38 Pointer to Next Initial Descriptor */
-#define pREG_DMA38_ADDRSTART ((void * volatile *)REG_DMA38_ADDRSTART) /* DMA38 Start Address of Current Buffer */
-#define pREG_DMA38_CFG ((volatile uint32_t *)REG_DMA38_CFG) /* DMA38 Configuration Register */
-#define pREG_DMA38_XCNT ((volatile uint32_t *)REG_DMA38_XCNT) /* DMA38 Inner Loop Count Start Value */
-#define pREG_DMA38_XMOD ((volatile int32_t *)REG_DMA38_XMOD) /* DMA38 Inner Loop Address Increment */
-#define pREG_DMA38_YCNT ((volatile uint32_t *)REG_DMA38_YCNT) /* DMA38 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA38_YMOD ((volatile int32_t *)REG_DMA38_YMOD) /* DMA38 Outer Loop Address Increment (2D only) */
-#define pREG_DMA38_DSCPTR_CUR ((void * volatile *)REG_DMA38_DSCPTR_CUR) /* DMA38 Current Descriptor Pointer */
-#define pREG_DMA38_DSCPTR_PRV ((void * volatile *)REG_DMA38_DSCPTR_PRV) /* DMA38 Previous Initial Descriptor Pointer */
-#define pREG_DMA38_ADDR_CUR ((void * volatile *)REG_DMA38_ADDR_CUR) /* DMA38 Current Address */
-#define pREG_DMA38_STAT ((volatile uint32_t *)REG_DMA38_STAT) /* DMA38 Status Register */
-#define pREG_DMA38_XCNT_CUR ((volatile uint32_t *)REG_DMA38_XCNT_CUR) /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA38_YCNT_CUR ((volatile uint32_t *)REG_DMA38_YCNT_CUR) /* DMA38 Current Row Count (2D only) */
-#define pREG_DMA38_BWLCNT ((volatile uint32_t *)REG_DMA38_BWLCNT) /* DMA38 Bandwidth Limit Count */
-#define pREG_DMA38_BWLCNT_CUR ((volatile uint32_t *)REG_DMA38_BWLCNT_CUR) /* DMA38 Bandwidth Limit Count Current */
-#define pREG_DMA38_BWMCNT ((volatile uint32_t *)REG_DMA38_BWMCNT) /* DMA38 Bandwidth Monitor Count */
-#define pREG_DMA38_BWMCNT_CUR ((volatile uint32_t *)REG_DMA38_BWMCNT_CUR) /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA39
- ========================================================================= */
-#define pREG_DMA39_DSCPTR_NXT ((void * volatile *)REG_DMA39_DSCPTR_NXT) /* DMA39 Pointer to Next Initial Descriptor */
-#define pREG_DMA39_ADDRSTART ((void * volatile *)REG_DMA39_ADDRSTART) /* DMA39 Start Address of Current Buffer */
-#define pREG_DMA39_CFG ((volatile uint32_t *)REG_DMA39_CFG) /* DMA39 Configuration Register */
-#define pREG_DMA39_XCNT ((volatile uint32_t *)REG_DMA39_XCNT) /* DMA39 Inner Loop Count Start Value */
-#define pREG_DMA39_XMOD ((volatile int32_t *)REG_DMA39_XMOD) /* DMA39 Inner Loop Address Increment */
-#define pREG_DMA39_YCNT ((volatile uint32_t *)REG_DMA39_YCNT) /* DMA39 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA39_YMOD ((volatile int32_t *)REG_DMA39_YMOD) /* DMA39 Outer Loop Address Increment (2D only) */
-#define pREG_DMA39_DSCPTR_CUR ((void * volatile *)REG_DMA39_DSCPTR_CUR) /* DMA39 Current Descriptor Pointer */
-#define pREG_DMA39_DSCPTR_PRV ((void * volatile *)REG_DMA39_DSCPTR_PRV) /* DMA39 Previous Initial Descriptor Pointer */
-#define pREG_DMA39_ADDR_CUR ((void * volatile *)REG_DMA39_ADDR_CUR) /* DMA39 Current Address */
-#define pREG_DMA39_STAT ((volatile uint32_t *)REG_DMA39_STAT) /* DMA39 Status Register */
-#define pREG_DMA39_XCNT_CUR ((volatile uint32_t *)REG_DMA39_XCNT_CUR) /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA39_YCNT_CUR ((volatile uint32_t *)REG_DMA39_YCNT_CUR) /* DMA39 Current Row Count (2D only) */
-#define pREG_DMA39_BWLCNT ((volatile uint32_t *)REG_DMA39_BWLCNT) /* DMA39 Bandwidth Limit Count */
-#define pREG_DMA39_BWLCNT_CUR ((volatile uint32_t *)REG_DMA39_BWLCNT_CUR) /* DMA39 Bandwidth Limit Count Current */
-#define pREG_DMA39_BWMCNT ((volatile uint32_t *)REG_DMA39_BWMCNT) /* DMA39 Bandwidth Monitor Count */
-#define pREG_DMA39_BWMCNT_CUR ((volatile uint32_t *)REG_DMA39_BWMCNT_CUR) /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA40
- ========================================================================= */
-#define pREG_DMA40_DSCPTR_NXT ((void * volatile *)REG_DMA40_DSCPTR_NXT) /* DMA40 Pointer to Next Initial Descriptor */
-#define pREG_DMA40_ADDRSTART ((void * volatile *)REG_DMA40_ADDRSTART) /* DMA40 Start Address of Current Buffer */
-#define pREG_DMA40_CFG ((volatile uint32_t *)REG_DMA40_CFG) /* DMA40 Configuration Register */
-#define pREG_DMA40_XCNT ((volatile uint32_t *)REG_DMA40_XCNT) /* DMA40 Inner Loop Count Start Value */
-#define pREG_DMA40_XMOD ((volatile int32_t *)REG_DMA40_XMOD) /* DMA40 Inner Loop Address Increment */
-#define pREG_DMA40_YCNT ((volatile uint32_t *)REG_DMA40_YCNT) /* DMA40 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA40_YMOD ((volatile int32_t *)REG_DMA40_YMOD) /* DMA40 Outer Loop Address Increment (2D only) */
-#define pREG_DMA40_DSCPTR_CUR ((void * volatile *)REG_DMA40_DSCPTR_CUR) /* DMA40 Current Descriptor Pointer */
-#define pREG_DMA40_DSCPTR_PRV ((void * volatile *)REG_DMA40_DSCPTR_PRV) /* DMA40 Previous Initial Descriptor Pointer */
-#define pREG_DMA40_ADDR_CUR ((void * volatile *)REG_DMA40_ADDR_CUR) /* DMA40 Current Address */
-#define pREG_DMA40_STAT ((volatile uint32_t *)REG_DMA40_STAT) /* DMA40 Status Register */
-#define pREG_DMA40_XCNT_CUR ((volatile uint32_t *)REG_DMA40_XCNT_CUR) /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA40_YCNT_CUR ((volatile uint32_t *)REG_DMA40_YCNT_CUR) /* DMA40 Current Row Count (2D only) */
-#define pREG_DMA40_BWLCNT ((volatile uint32_t *)REG_DMA40_BWLCNT) /* DMA40 Bandwidth Limit Count */
-#define pREG_DMA40_BWLCNT_CUR ((volatile uint32_t *)REG_DMA40_BWLCNT_CUR) /* DMA40 Bandwidth Limit Count Current */
-#define pREG_DMA40_BWMCNT ((volatile uint32_t *)REG_DMA40_BWMCNT) /* DMA40 Bandwidth Monitor Count */
-#define pREG_DMA40_BWMCNT_CUR ((volatile uint32_t *)REG_DMA40_BWMCNT_CUR) /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA41
- ========================================================================= */
-#define pREG_DMA41_DSCPTR_NXT ((void * volatile *)REG_DMA41_DSCPTR_NXT) /* DMA41 Pointer to Next Initial Descriptor */
-#define pREG_DMA41_ADDRSTART ((void * volatile *)REG_DMA41_ADDRSTART) /* DMA41 Start Address of Current Buffer */
-#define pREG_DMA41_CFG ((volatile uint32_t *)REG_DMA41_CFG) /* DMA41 Configuration Register */
-#define pREG_DMA41_XCNT ((volatile uint32_t *)REG_DMA41_XCNT) /* DMA41 Inner Loop Count Start Value */
-#define pREG_DMA41_XMOD ((volatile int32_t *)REG_DMA41_XMOD) /* DMA41 Inner Loop Address Increment */
-#define pREG_DMA41_YCNT ((volatile uint32_t *)REG_DMA41_YCNT) /* DMA41 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA41_YMOD ((volatile int32_t *)REG_DMA41_YMOD) /* DMA41 Outer Loop Address Increment (2D only) */
-#define pREG_DMA41_DSCPTR_CUR ((void * volatile *)REG_DMA41_DSCPTR_CUR) /* DMA41 Current Descriptor Pointer */
-#define pREG_DMA41_DSCPTR_PRV ((void * volatile *)REG_DMA41_DSCPTR_PRV) /* DMA41 Previous Initial Descriptor Pointer */
-#define pREG_DMA41_ADDR_CUR ((void * volatile *)REG_DMA41_ADDR_CUR) /* DMA41 Current Address */
-#define pREG_DMA41_STAT ((volatile uint32_t *)REG_DMA41_STAT) /* DMA41 Status Register */
-#define pREG_DMA41_XCNT_CUR ((volatile uint32_t *)REG_DMA41_XCNT_CUR) /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA41_YCNT_CUR ((volatile uint32_t *)REG_DMA41_YCNT_CUR) /* DMA41 Current Row Count (2D only) */
-#define pREG_DMA41_BWLCNT ((volatile uint32_t *)REG_DMA41_BWLCNT) /* DMA41 Bandwidth Limit Count */
-#define pREG_DMA41_BWLCNT_CUR ((volatile uint32_t *)REG_DMA41_BWLCNT_CUR) /* DMA41 Bandwidth Limit Count Current */
-#define pREG_DMA41_BWMCNT ((volatile uint32_t *)REG_DMA41_BWMCNT) /* DMA41 Bandwidth Monitor Count */
-#define pREG_DMA41_BWMCNT_CUR ((volatile uint32_t *)REG_DMA41_BWMCNT_CUR) /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA42
- ========================================================================= */
-#define pREG_DMA42_DSCPTR_NXT ((void * volatile *)REG_DMA42_DSCPTR_NXT) /* DMA42 Pointer to Next Initial Descriptor */
-#define pREG_DMA42_ADDRSTART ((void * volatile *)REG_DMA42_ADDRSTART) /* DMA42 Start Address of Current Buffer */
-#define pREG_DMA42_CFG ((volatile uint32_t *)REG_DMA42_CFG) /* DMA42 Configuration Register */
-#define pREG_DMA42_XCNT ((volatile uint32_t *)REG_DMA42_XCNT) /* DMA42 Inner Loop Count Start Value */
-#define pREG_DMA42_XMOD ((volatile int32_t *)REG_DMA42_XMOD) /* DMA42 Inner Loop Address Increment */
-#define pREG_DMA42_YCNT ((volatile uint32_t *)REG_DMA42_YCNT) /* DMA42 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA42_YMOD ((volatile int32_t *)REG_DMA42_YMOD) /* DMA42 Outer Loop Address Increment (2D only) */
-#define pREG_DMA42_DSCPTR_CUR ((void * volatile *)REG_DMA42_DSCPTR_CUR) /* DMA42 Current Descriptor Pointer */
-#define pREG_DMA42_DSCPTR_PRV ((void * volatile *)REG_DMA42_DSCPTR_PRV) /* DMA42 Previous Initial Descriptor Pointer */
-#define pREG_DMA42_ADDR_CUR ((void * volatile *)REG_DMA42_ADDR_CUR) /* DMA42 Current Address */
-#define pREG_DMA42_STAT ((volatile uint32_t *)REG_DMA42_STAT) /* DMA42 Status Register */
-#define pREG_DMA42_XCNT_CUR ((volatile uint32_t *)REG_DMA42_XCNT_CUR) /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA42_YCNT_CUR ((volatile uint32_t *)REG_DMA42_YCNT_CUR) /* DMA42 Current Row Count (2D only) */
-#define pREG_DMA42_BWLCNT ((volatile uint32_t *)REG_DMA42_BWLCNT) /* DMA42 Bandwidth Limit Count */
-#define pREG_DMA42_BWLCNT_CUR ((volatile uint32_t *)REG_DMA42_BWLCNT_CUR) /* DMA42 Bandwidth Limit Count Current */
-#define pREG_DMA42_BWMCNT ((volatile uint32_t *)REG_DMA42_BWMCNT) /* DMA42 Bandwidth Monitor Count */
-#define pREG_DMA42_BWMCNT_CUR ((volatile uint32_t *)REG_DMA42_BWMCNT_CUR) /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA43
- ========================================================================= */
-#define pREG_DMA43_DSCPTR_NXT ((void * volatile *)REG_DMA43_DSCPTR_NXT) /* DMA43 Pointer to Next Initial Descriptor */
-#define pREG_DMA43_ADDRSTART ((void * volatile *)REG_DMA43_ADDRSTART) /* DMA43 Start Address of Current Buffer */
-#define pREG_DMA43_CFG ((volatile uint32_t *)REG_DMA43_CFG) /* DMA43 Configuration Register */
-#define pREG_DMA43_XCNT ((volatile uint32_t *)REG_DMA43_XCNT) /* DMA43 Inner Loop Count Start Value */
-#define pREG_DMA43_XMOD ((volatile int32_t *)REG_DMA43_XMOD) /* DMA43 Inner Loop Address Increment */
-#define pREG_DMA43_YCNT ((volatile uint32_t *)REG_DMA43_YCNT) /* DMA43 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA43_YMOD ((volatile int32_t *)REG_DMA43_YMOD) /* DMA43 Outer Loop Address Increment (2D only) */
-#define pREG_DMA43_DSCPTR_CUR ((void * volatile *)REG_DMA43_DSCPTR_CUR) /* DMA43 Current Descriptor Pointer */
-#define pREG_DMA43_DSCPTR_PRV ((void * volatile *)REG_DMA43_DSCPTR_PRV) /* DMA43 Previous Initial Descriptor Pointer */
-#define pREG_DMA43_ADDR_CUR ((void * volatile *)REG_DMA43_ADDR_CUR) /* DMA43 Current Address */
-#define pREG_DMA43_STAT ((volatile uint32_t *)REG_DMA43_STAT) /* DMA43 Status Register */
-#define pREG_DMA43_XCNT_CUR ((volatile uint32_t *)REG_DMA43_XCNT_CUR) /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA43_YCNT_CUR ((volatile uint32_t *)REG_DMA43_YCNT_CUR) /* DMA43 Current Row Count (2D only) */
-#define pREG_DMA43_BWLCNT ((volatile uint32_t *)REG_DMA43_BWLCNT) /* DMA43 Bandwidth Limit Count */
-#define pREG_DMA43_BWLCNT_CUR ((volatile uint32_t *)REG_DMA43_BWLCNT_CUR) /* DMA43 Bandwidth Limit Count Current */
-#define pREG_DMA43_BWMCNT ((volatile uint32_t *)REG_DMA43_BWMCNT) /* DMA43 Bandwidth Monitor Count */
-#define pREG_DMA43_BWMCNT_CUR ((volatile uint32_t *)REG_DMA43_BWMCNT_CUR) /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA44
- ========================================================================= */
-#define pREG_DMA44_DSCPTR_NXT ((void * volatile *)REG_DMA44_DSCPTR_NXT) /* DMA44 Pointer to Next Initial Descriptor */
-#define pREG_DMA44_ADDRSTART ((void * volatile *)REG_DMA44_ADDRSTART) /* DMA44 Start Address of Current Buffer */
-#define pREG_DMA44_CFG ((volatile uint32_t *)REG_DMA44_CFG) /* DMA44 Configuration Register */
-#define pREG_DMA44_XCNT ((volatile uint32_t *)REG_DMA44_XCNT) /* DMA44 Inner Loop Count Start Value */
-#define pREG_DMA44_XMOD ((volatile int32_t *)REG_DMA44_XMOD) /* DMA44 Inner Loop Address Increment */
-#define pREG_DMA44_YCNT ((volatile uint32_t *)REG_DMA44_YCNT) /* DMA44 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA44_YMOD ((volatile int32_t *)REG_DMA44_YMOD) /* DMA44 Outer Loop Address Increment (2D only) */
-#define pREG_DMA44_DSCPTR_CUR ((void * volatile *)REG_DMA44_DSCPTR_CUR) /* DMA44 Current Descriptor Pointer */
-#define pREG_DMA44_DSCPTR_PRV ((void * volatile *)REG_DMA44_DSCPTR_PRV) /* DMA44 Previous Initial Descriptor Pointer */
-#define pREG_DMA44_ADDR_CUR ((void * volatile *)REG_DMA44_ADDR_CUR) /* DMA44 Current Address */
-#define pREG_DMA44_STAT ((volatile uint32_t *)REG_DMA44_STAT) /* DMA44 Status Register */
-#define pREG_DMA44_XCNT_CUR ((volatile uint32_t *)REG_DMA44_XCNT_CUR) /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA44_YCNT_CUR ((volatile uint32_t *)REG_DMA44_YCNT_CUR) /* DMA44 Current Row Count (2D only) */
-#define pREG_DMA44_BWLCNT ((volatile uint32_t *)REG_DMA44_BWLCNT) /* DMA44 Bandwidth Limit Count */
-#define pREG_DMA44_BWLCNT_CUR ((volatile uint32_t *)REG_DMA44_BWLCNT_CUR) /* DMA44 Bandwidth Limit Count Current */
-#define pREG_DMA44_BWMCNT ((volatile uint32_t *)REG_DMA44_BWMCNT) /* DMA44 Bandwidth Monitor Count */
-#define pREG_DMA44_BWMCNT_CUR ((volatile uint32_t *)REG_DMA44_BWMCNT_CUR) /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA45
- ========================================================================= */
-#define pREG_DMA45_DSCPTR_NXT ((void * volatile *)REG_DMA45_DSCPTR_NXT) /* DMA45 Pointer to Next Initial Descriptor */
-#define pREG_DMA45_ADDRSTART ((void * volatile *)REG_DMA45_ADDRSTART) /* DMA45 Start Address of Current Buffer */
-#define pREG_DMA45_CFG ((volatile uint32_t *)REG_DMA45_CFG) /* DMA45 Configuration Register */
-#define pREG_DMA45_XCNT ((volatile uint32_t *)REG_DMA45_XCNT) /* DMA45 Inner Loop Count Start Value */
-#define pREG_DMA45_XMOD ((volatile int32_t *)REG_DMA45_XMOD) /* DMA45 Inner Loop Address Increment */
-#define pREG_DMA45_YCNT ((volatile uint32_t *)REG_DMA45_YCNT) /* DMA45 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA45_YMOD ((volatile int32_t *)REG_DMA45_YMOD) /* DMA45 Outer Loop Address Increment (2D only) */
-#define pREG_DMA45_DSCPTR_CUR ((void * volatile *)REG_DMA45_DSCPTR_CUR) /* DMA45 Current Descriptor Pointer */
-#define pREG_DMA45_DSCPTR_PRV ((void * volatile *)REG_DMA45_DSCPTR_PRV) /* DMA45 Previous Initial Descriptor Pointer */
-#define pREG_DMA45_ADDR_CUR ((void * volatile *)REG_DMA45_ADDR_CUR) /* DMA45 Current Address */
-#define pREG_DMA45_STAT ((volatile uint32_t *)REG_DMA45_STAT) /* DMA45 Status Register */
-#define pREG_DMA45_XCNT_CUR ((volatile uint32_t *)REG_DMA45_XCNT_CUR) /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA45_YCNT_CUR ((volatile uint32_t *)REG_DMA45_YCNT_CUR) /* DMA45 Current Row Count (2D only) */
-#define pREG_DMA45_BWLCNT ((volatile uint32_t *)REG_DMA45_BWLCNT) /* DMA45 Bandwidth Limit Count */
-#define pREG_DMA45_BWLCNT_CUR ((volatile uint32_t *)REG_DMA45_BWLCNT_CUR) /* DMA45 Bandwidth Limit Count Current */
-#define pREG_DMA45_BWMCNT ((volatile uint32_t *)REG_DMA45_BWMCNT) /* DMA45 Bandwidth Monitor Count */
-#define pREG_DMA45_BWMCNT_CUR ((volatile uint32_t *)REG_DMA45_BWMCNT_CUR) /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA46
- ========================================================================= */
-#define pREG_DMA46_DSCPTR_NXT ((void * volatile *)REG_DMA46_DSCPTR_NXT) /* DMA46 Pointer to Next Initial Descriptor */
-#define pREG_DMA46_ADDRSTART ((void * volatile *)REG_DMA46_ADDRSTART) /* DMA46 Start Address of Current Buffer */
-#define pREG_DMA46_CFG ((volatile uint32_t *)REG_DMA46_CFG) /* DMA46 Configuration Register */
-#define pREG_DMA46_XCNT ((volatile uint32_t *)REG_DMA46_XCNT) /* DMA46 Inner Loop Count Start Value */
-#define pREG_DMA46_XMOD ((volatile int32_t *)REG_DMA46_XMOD) /* DMA46 Inner Loop Address Increment */
-#define pREG_DMA46_YCNT ((volatile uint32_t *)REG_DMA46_YCNT) /* DMA46 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA46_YMOD ((volatile int32_t *)REG_DMA46_YMOD) /* DMA46 Outer Loop Address Increment (2D only) */
-#define pREG_DMA46_DSCPTR_CUR ((void * volatile *)REG_DMA46_DSCPTR_CUR) /* DMA46 Current Descriptor Pointer */
-#define pREG_DMA46_DSCPTR_PRV ((void * volatile *)REG_DMA46_DSCPTR_PRV) /* DMA46 Previous Initial Descriptor Pointer */
-#define pREG_DMA46_ADDR_CUR ((void * volatile *)REG_DMA46_ADDR_CUR) /* DMA46 Current Address */
-#define pREG_DMA46_STAT ((volatile uint32_t *)REG_DMA46_STAT) /* DMA46 Status Register */
-#define pREG_DMA46_XCNT_CUR ((volatile uint32_t *)REG_DMA46_XCNT_CUR) /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA46_YCNT_CUR ((volatile uint32_t *)REG_DMA46_YCNT_CUR) /* DMA46 Current Row Count (2D only) */
-#define pREG_DMA46_BWLCNT ((volatile uint32_t *)REG_DMA46_BWLCNT) /* DMA46 Bandwidth Limit Count */
-#define pREG_DMA46_BWLCNT_CUR ((volatile uint32_t *)REG_DMA46_BWLCNT_CUR) /* DMA46 Bandwidth Limit Count Current */
-#define pREG_DMA46_BWMCNT ((volatile uint32_t *)REG_DMA46_BWMCNT) /* DMA46 Bandwidth Monitor Count */
-#define pREG_DMA46_BWMCNT_CUR ((volatile uint32_t *)REG_DMA46_BWMCNT_CUR) /* DMA46 Bandwidth Monitor Count Current */
-
-
-/* =========================================================================
- ACM0
- ========================================================================= */
-#define pREG_ACM0_CTL ((volatile uint32_t *)REG_ACM0_CTL) /* ACM0 ACM Control Register */
-#define pREG_ACM0_TC0 ((volatile uint32_t *)REG_ACM0_TC0) /* ACM0 ACM Timing Configuration 0 Register */
-#define pREG_ACM0_TC1 ((volatile uint32_t *)REG_ACM0_TC1) /* ACM0 ACM Timing Configuration 1 Register */
-#define pREG_ACM0_STAT ((volatile uint32_t *)REG_ACM0_STAT) /* ACM0 ACM Status Register */
-#define pREG_ACM0_EVSTAT ((volatile uint32_t *)REG_ACM0_EVSTAT) /* ACM0 ACM Event Status Register */
-#define pREG_ACM0_EVMSK ((volatile uint32_t *)REG_ACM0_EVMSK) /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define pREG_ACM0_MEVSTAT ((volatile uint32_t *)REG_ACM0_MEVSTAT) /* ACM0 ACM Missed Event Status Register */
-#define pREG_ACM0_MEVMSK ((volatile uint32_t *)REG_ACM0_MEVMSK) /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define pREG_ACM0_EVCTL0 ((volatile uint32_t *)REG_ACM0_EVCTL0) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL1 ((volatile uint32_t *)REG_ACM0_EVCTL1) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL2 ((volatile uint32_t *)REG_ACM0_EVCTL2) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL3 ((volatile uint32_t *)REG_ACM0_EVCTL3) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL4 ((volatile uint32_t *)REG_ACM0_EVCTL4) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL5 ((volatile uint32_t *)REG_ACM0_EVCTL5) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL6 ((volatile uint32_t *)REG_ACM0_EVCTL6) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL7 ((volatile uint32_t *)REG_ACM0_EVCTL7) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL8 ((volatile uint32_t *)REG_ACM0_EVCTL8) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL9 ((volatile uint32_t *)REG_ACM0_EVCTL9) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL10 ((volatile uint32_t *)REG_ACM0_EVCTL10) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL11 ((volatile uint32_t *)REG_ACM0_EVCTL11) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL12 ((volatile uint32_t *)REG_ACM0_EVCTL12) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL13 ((volatile uint32_t *)REG_ACM0_EVCTL13) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL14 ((volatile uint32_t *)REG_ACM0_EVCTL14) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL15 ((volatile uint32_t *)REG_ACM0_EVCTL15) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVTIME0 ((volatile uint32_t *)REG_ACM0_EVTIME0) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME1 ((volatile uint32_t *)REG_ACM0_EVTIME1) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME2 ((volatile uint32_t *)REG_ACM0_EVTIME2) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME3 ((volatile uint32_t *)REG_ACM0_EVTIME3) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME4 ((volatile uint32_t *)REG_ACM0_EVTIME4) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME5 ((volatile uint32_t *)REG_ACM0_EVTIME5) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME6 ((volatile uint32_t *)REG_ACM0_EVTIME6) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME7 ((volatile uint32_t *)REG_ACM0_EVTIME7) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME8 ((volatile uint32_t *)REG_ACM0_EVTIME8) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME9 ((volatile uint32_t *)REG_ACM0_EVTIME9) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME10 ((volatile uint32_t *)REG_ACM0_EVTIME10) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME11 ((volatile uint32_t *)REG_ACM0_EVTIME11) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME12 ((volatile uint32_t *)REG_ACM0_EVTIME12) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME13 ((volatile uint32_t *)REG_ACM0_EVTIME13) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME14 ((volatile uint32_t *)REG_ACM0_EVTIME14) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME15 ((volatile uint32_t *)REG_ACM0_EVTIME15) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVORD0 ((volatile uint32_t *)REG_ACM0_EVORD0) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD1 ((volatile uint32_t *)REG_ACM0_EVORD1) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD2 ((volatile uint32_t *)REG_ACM0_EVORD2) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD3 ((volatile uint32_t *)REG_ACM0_EVORD3) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD4 ((volatile uint32_t *)REG_ACM0_EVORD4) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD5 ((volatile uint32_t *)REG_ACM0_EVORD5) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD6 ((volatile uint32_t *)REG_ACM0_EVORD6) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD7 ((volatile uint32_t *)REG_ACM0_EVORD7) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD8 ((volatile uint32_t *)REG_ACM0_EVORD8) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD9 ((volatile uint32_t *)REG_ACM0_EVORD9) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD10 ((volatile uint32_t *)REG_ACM0_EVORD10) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD11 ((volatile uint32_t *)REG_ACM0_EVORD11) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD12 ((volatile uint32_t *)REG_ACM0_EVORD12) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD13 ((volatile uint32_t *)REG_ACM0_EVORD13) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD14 ((volatile uint32_t *)REG_ACM0_EVORD14) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD15 ((volatile uint32_t *)REG_ACM0_EVORD15) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_TMR0 ((volatile uint32_t *)REG_ACM0_TMR0) /* ACM0 ACM Timer 0 Register */
-#define pREG_ACM0_TMR1 ((volatile uint32_t *)REG_ACM0_TMR1) /* ACM0 ACM Timer 1 Register */
-
-
-/* =========================================================================
- DMC0
- ========================================================================= */
-#define pREG_DMC0_CTL ((volatile uint32_t *)REG_DMC0_CTL) /* DMC0 Control Register */
-#define pREG_DMC0_STAT ((volatile uint32_t *)REG_DMC0_STAT) /* DMC0 Status Register */
-#define pREG_DMC0_EFFCTL ((volatile uint32_t *)REG_DMC0_EFFCTL) /* DMC0 Efficiency Control Register */
-#define pREG_DMC0_PRIO ((volatile uint32_t *)REG_DMC0_PRIO) /* DMC0 Priority ID Register */
-#define pREG_DMC0_PRIOMSK ((volatile uint32_t *)REG_DMC0_PRIOMSK) /* DMC0 Priority ID Mask Register */
-#define pREG_DMC0_CFG ((volatile uint32_t *)REG_DMC0_CFG) /* DMC0 Configuration Register */
-#define pREG_DMC0_TR0 ((volatile uint32_t *)REG_DMC0_TR0) /* DMC0 Timing 0 Register */
-#define pREG_DMC0_TR1 ((volatile uint32_t *)REG_DMC0_TR1) /* DMC0 Timing 1 Register */
-#define pREG_DMC0_TR2 ((volatile uint32_t *)REG_DMC0_TR2) /* DMC0 Timing 2 Register */
-#define pREG_DMC0_MSK ((volatile uint32_t *)REG_DMC0_MSK) /* DMC0 Mask (Mode Register Shadow) Register */
-#define pREG_DMC0_MR ((volatile uint32_t *)REG_DMC0_MR) /* DMC0 Shadow MR Register */
-#define pREG_DMC0_EMR1 ((volatile uint32_t *)REG_DMC0_EMR1) /* DMC0 Shadow EMR1 Register */
-#define pREG_DMC0_EMR2 ((volatile uint32_t *)REG_DMC0_EMR2) /* DMC0 Shadow EMR2 Register */
-#define pREG_DMC0_EMR3 ((volatile uint32_t *)REG_DMC0_EMR3) /* DMC0 Shadow EMR3 Register */
-#define pREG_DMC0_DLLCTL ((volatile uint32_t *)REG_DMC0_DLLCTL) /* DMC0 DLL Control Register */
-#define pREG_DMC0_PHY_CTL0 ((volatile uint32_t *)REG_DMC0_PHY_CTL0) /* DMC0 PHY Control 0 Register */
-#define pREG_DMC0_PHY_CTL1 ((volatile uint32_t *)REG_DMC0_PHY_CTL1) /* DMC0 PHY Control 1 Register */
-#define pREG_DMC0_PHY_CTL2 ((volatile uint32_t *)REG_DMC0_PHY_CTL2) /* DMC0 PHY Control 2 Register */
-#define pREG_DMC0_PHY_CTL3 ((volatile uint32_t *)REG_DMC0_PHY_CTL3) /* DMC0 PHY Control 3 Register */
-#define pREG_DMC0_PADCTL ((volatile uint32_t *)REG_DMC0_PADCTL) /* DMC0 PAD Control Register */
-
-
-/* =========================================================================
- SCB0
- ========================================================================= */
-#define pREG_SCB0_ARBR0 ((volatile uint32_t *)REG_SCB0_ARBR0) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR1 ((volatile uint32_t *)REG_SCB0_ARBR1) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR2 ((volatile uint32_t *)REG_SCB0_ARBR2) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR3 ((volatile uint32_t *)REG_SCB0_ARBR3) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR4 ((volatile uint32_t *)REG_SCB0_ARBR4) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR5 ((volatile uint32_t *)REG_SCB0_ARBR5) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBW0 ((volatile uint32_t *)REG_SCB0_ARBW0) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW1 ((volatile uint32_t *)REG_SCB0_ARBW1) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW2 ((volatile uint32_t *)REG_SCB0_ARBW2) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW3 ((volatile uint32_t *)REG_SCB0_ARBW3) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW4 ((volatile uint32_t *)REG_SCB0_ARBW4) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW5 ((volatile uint32_t *)REG_SCB0_ARBW5) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_SLAVES ((volatile uint32_t *)REG_SCB0_SLAVES) /* SCB0 Slave Interfaces Number Register */
-#define pREG_SCB0_MASTERS ((volatile uint32_t *)REG_SCB0_MASTERS) /* SCB0 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB1
- ========================================================================= */
-#define pREG_SCB1_ARBR0 ((volatile uint32_t *)REG_SCB1_ARBR0) /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB1_ARBW0 ((volatile uint32_t *)REG_SCB1_ARBW0) /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB1_SLAVES ((volatile uint32_t *)REG_SCB1_SLAVES) /* SCB1 Slave Interfaces Number Register */
-#define pREG_SCB1_MASTERS ((volatile uint32_t *)REG_SCB1_MASTERS) /* SCB1 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB2
- ========================================================================= */
-#define pREG_SCB2_ARBR0 ((volatile uint32_t *)REG_SCB2_ARBR0) /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB2_ARBW0 ((volatile uint32_t *)REG_SCB2_ARBW0) /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB2_SLAVES ((volatile uint32_t *)REG_SCB2_SLAVES) /* SCB2 Slave Interfaces Number Register */
-#define pREG_SCB2_MASTERS ((volatile uint32_t *)REG_SCB2_MASTERS) /* SCB2 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB3
- ========================================================================= */
-#define pREG_SCB3_ARBR0 ((volatile uint32_t *)REG_SCB3_ARBR0) /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB3_ARBW0 ((volatile uint32_t *)REG_SCB3_ARBW0) /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB3_SLAVES ((volatile uint32_t *)REG_SCB3_SLAVES) /* SCB3 Slave Interfaces Number Register */
-#define pREG_SCB3_MASTERS ((volatile uint32_t *)REG_SCB3_MASTERS) /* SCB3 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB4
- ========================================================================= */
-#define pREG_SCB4_ARBR0 ((volatile uint32_t *)REG_SCB4_ARBR0) /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB4_ARBW0 ((volatile uint32_t *)REG_SCB4_ARBW0) /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB4_SLAVES ((volatile uint32_t *)REG_SCB4_SLAVES) /* SCB4 Slave Interfaces Number Register */
-#define pREG_SCB4_MASTERS ((volatile uint32_t *)REG_SCB4_MASTERS) /* SCB4 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB5
- ========================================================================= */
-#define pREG_SCB5_ARBR0 ((volatile uint32_t *)REG_SCB5_ARBR0) /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB5_ARBW0 ((volatile uint32_t *)REG_SCB5_ARBW0) /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB5_SLAVES ((volatile uint32_t *)REG_SCB5_SLAVES) /* SCB5 Slave Interfaces Number Register */
-#define pREG_SCB5_MASTERS ((volatile uint32_t *)REG_SCB5_MASTERS) /* SCB5 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB6
- ========================================================================= */
-#define pREG_SCB6_ARBR0 ((volatile uint32_t *)REG_SCB6_ARBR0) /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB6_ARBW0 ((volatile uint32_t *)REG_SCB6_ARBW0) /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB6_SLAVES ((volatile uint32_t *)REG_SCB6_SLAVES) /* SCB6 Slave Interfaces Number Register */
-#define pREG_SCB6_MASTERS ((volatile uint32_t *)REG_SCB6_MASTERS) /* SCB6 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB7
- ========================================================================= */
-#define pREG_SCB7_ARBR0 ((volatile uint32_t *)REG_SCB7_ARBR0) /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB7_ARBW0 ((volatile uint32_t *)REG_SCB7_ARBW0) /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB7_SLAVES ((volatile uint32_t *)REG_SCB7_SLAVES) /* SCB7 Slave Interfaces Number Register */
-#define pREG_SCB7_MASTERS ((volatile uint32_t *)REG_SCB7_MASTERS) /* SCB7 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB8
- ========================================================================= */
-#define pREG_SCB8_ARBR0 ((volatile uint32_t *)REG_SCB8_ARBR0) /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB8_ARBW0 ((volatile uint32_t *)REG_SCB8_ARBW0) /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB8_SLAVES ((volatile uint32_t *)REG_SCB8_SLAVES) /* SCB8 Slave Interfaces Number Register */
-#define pREG_SCB8_MASTERS ((volatile uint32_t *)REG_SCB8_MASTERS) /* SCB8 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB9
- ========================================================================= */
-#define pREG_SCB9_ARBR0 ((volatile uint32_t *)REG_SCB9_ARBR0) /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB9_ARBW0 ((volatile uint32_t *)REG_SCB9_ARBW0) /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB9_SLAVES ((volatile uint32_t *)REG_SCB9_SLAVES) /* SCB9 Slave Interfaces Number Register */
-#define pREG_SCB9_MASTERS ((volatile uint32_t *)REG_SCB9_MASTERS) /* SCB9 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB10
- ========================================================================= */
-#define pREG_SCB10_ARBR0 ((volatile uint32_t *)REG_SCB10_ARBR0) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR1 ((volatile uint32_t *)REG_SCB10_ARBR1) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR2 ((volatile uint32_t *)REG_SCB10_ARBR2) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBW0 ((volatile uint32_t *)REG_SCB10_ARBW0) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW1 ((volatile uint32_t *)REG_SCB10_ARBW1) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW2 ((volatile uint32_t *)REG_SCB10_ARBW2) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_SLAVES ((volatile uint32_t *)REG_SCB10_SLAVES) /* SCB10 Slave Interfaces Number Register */
-#define pREG_SCB10_MASTERS ((volatile uint32_t *)REG_SCB10_MASTERS) /* SCB10 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB11
- ========================================================================= */
-#define pREG_SCB11_ARBR0 ((volatile uint32_t *)REG_SCB11_ARBR0) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR1 ((volatile uint32_t *)REG_SCB11_ARBR1) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR2 ((volatile uint32_t *)REG_SCB11_ARBR2) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR3 ((volatile uint32_t *)REG_SCB11_ARBR3) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR4 ((volatile uint32_t *)REG_SCB11_ARBR4) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR5 ((volatile uint32_t *)REG_SCB11_ARBR5) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR6 ((volatile uint32_t *)REG_SCB11_ARBR6) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBW0 ((volatile uint32_t *)REG_SCB11_ARBW0) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW1 ((volatile uint32_t *)REG_SCB11_ARBW1) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW2 ((volatile uint32_t *)REG_SCB11_ARBW2) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW3 ((volatile uint32_t *)REG_SCB11_ARBW3) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW4 ((volatile uint32_t *)REG_SCB11_ARBW4) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW5 ((volatile uint32_t *)REG_SCB11_ARBW5) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW6 ((volatile uint32_t *)REG_SCB11_ARBW6) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_SLAVES ((volatile uint32_t *)REG_SCB11_SLAVES) /* SCB11 Slave Interfaces Number Register */
-#define pREG_SCB11_MASTERS ((volatile uint32_t *)REG_SCB11_MASTERS) /* SCB11 Master Interfaces Number Register */
-
-
-/* =========================================================================
- L2CTL0
- ========================================================================= */
-#define pREG_L2CTL0_CTL ((volatile uint32_t *)REG_L2CTL0_CTL) /* L2CTL0 Control Register */
-#define pREG_L2CTL0_ACTL_C0 ((volatile uint32_t *)REG_L2CTL0_ACTL_C0) /* L2CTL0 Access Control Core 0 Register */
-#define pREG_L2CTL0_ACTL_C1 ((volatile uint32_t *)REG_L2CTL0_ACTL_C1) /* L2CTL0 Access Control Core 1 Register */
-#define pREG_L2CTL0_ACTL_SYS ((volatile uint32_t *)REG_L2CTL0_ACTL_SYS) /* L2CTL0 Access Control System Register */
-#define pREG_L2CTL0_STAT ((volatile uint32_t *)REG_L2CTL0_STAT) /* L2CTL0 Status Register */
-#define pREG_L2CTL0_RPCR ((volatile uint32_t *)REG_L2CTL0_RPCR) /* L2CTL0 Read Priority Count Register */
-#define pREG_L2CTL0_WPCR ((volatile uint32_t *)REG_L2CTL0_WPCR) /* L2CTL0 Write Priority Count Register */
-#define pREG_L2CTL0_RFA ((void * volatile *)REG_L2CTL0_RFA) /* L2CTL0 Refresh Address Register */
-#define pREG_L2CTL0_ERRADDR0 ((void * volatile *)REG_L2CTL0_ERRADDR0) /* L2CTL0 ECC Error Address 0 Register */
-#define pREG_L2CTL0_ERRADDR1 ((void * volatile *)REG_L2CTL0_ERRADDR1) /* L2CTL0 ECC Error Address 1 Register */
-#define pREG_L2CTL0_ERRADDR2 ((void * volatile *)REG_L2CTL0_ERRADDR2) /* L2CTL0 ECC Error Address 2 Register */
-#define pREG_L2CTL0_ERRADDR3 ((void * volatile *)REG_L2CTL0_ERRADDR3) /* L2CTL0 ECC Error Address 3 Register */
-#define pREG_L2CTL0_ERRADDR4 ((void * volatile *)REG_L2CTL0_ERRADDR4) /* L2CTL0 ECC Error Address 4 Register */
-#define pREG_L2CTL0_ERRADDR5 ((void * volatile *)REG_L2CTL0_ERRADDR5) /* L2CTL0 ECC Error Address 5 Register */
-#define pREG_L2CTL0_ERRADDR6 ((void * volatile *)REG_L2CTL0_ERRADDR6) /* L2CTL0 ECC Error Address 6 Register */
-#define pREG_L2CTL0_ERRADDR7 ((void * volatile *)REG_L2CTL0_ERRADDR7) /* L2CTL0 ECC Error Address 7 Register */
-#define pREG_L2CTL0_ET0 ((volatile uint32_t *)REG_L2CTL0_ET0) /* L2CTL0 Error Type 0 Register */
-#define pREG_L2CTL0_EADDR0 ((void * volatile *)REG_L2CTL0_EADDR0) /* L2CTL0 Error Type 0 Address Register */
-#define pREG_L2CTL0_ET1 ((volatile uint32_t *)REG_L2CTL0_ET1) /* L2CTL0 Error Type 1 Register */
-#define pREG_L2CTL0_EADDR1 ((void * volatile *)REG_L2CTL0_EADDR1) /* L2CTL0 Error Type 1 Address Register */
-
-
-/* =========================================================================
- SEC0
- ========================================================================= */
-
-/* SEC Core Interface (SCI) Registers */
-#define pREG_SEC0_CCTL0 ((volatile uint32_t *)REG_SEC0_CCTL0) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CCTL1 ((volatile uint32_t *)REG_SEC0_CCTL1) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CSTAT0 ((volatile uint32_t *)REG_SEC0_CSTAT0) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CSTAT1 ((volatile uint32_t *)REG_SEC0_CSTAT1) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CPND0 ((volatile uint32_t *)REG_SEC0_CPND0) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CPND1 ((volatile uint32_t *)REG_SEC0_CPND1) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CACT0 ((volatile uint32_t *)REG_SEC0_CACT0) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CACT1 ((volatile uint32_t *)REG_SEC0_CACT1) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CPMSK0 ((volatile uint32_t *)REG_SEC0_CPMSK0) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CPMSK1 ((volatile uint32_t *)REG_SEC0_CPMSK1) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CGMSK0 ((volatile uint32_t *)REG_SEC0_CGMSK0) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CGMSK1 ((volatile uint32_t *)REG_SEC0_CGMSK1) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CPLVL0 ((volatile uint32_t *)REG_SEC0_CPLVL0) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CPLVL1 ((volatile uint32_t *)REG_SEC0_CPLVL1) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CSID0 ((volatile uint32_t *)REG_SEC0_CSID0) /* SEC0 SCI Source ID Register n */
-#define pREG_SEC0_CSID1 ((volatile uint32_t *)REG_SEC0_CSID1) /* SEC0 SCI Source ID Register n */
-
-/* SEC Fault Management Interface (SFI) Registers */
-#define pREG_SEC0_FCTL ((volatile uint32_t *)REG_SEC0_FCTL) /* SEC0 Fault Control Register */
-#define pREG_SEC0_FSTAT ((volatile uint32_t *)REG_SEC0_FSTAT) /* SEC0 Fault Status Register */
-#define pREG_SEC0_FSID ((volatile uint32_t *)REG_SEC0_FSID) /* SEC0 Fault Source ID Register */
-#define pREG_SEC0_FEND ((volatile uint32_t *)REG_SEC0_FEND) /* SEC0 Fault End Register */
-#define pREG_SEC0_FDLY ((volatile uint32_t *)REG_SEC0_FDLY) /* SEC0 Fault Delay Register */
-#define pREG_SEC0_FDLY_CUR ((volatile uint32_t *)REG_SEC0_FDLY_CUR) /* SEC0 Fault Delay Current Register */
-#define pREG_SEC0_FSRDLY ((volatile uint32_t *)REG_SEC0_FSRDLY) /* SEC0 Fault System Reset Delay Register */
-#define pREG_SEC0_FSRDLY_CUR ((volatile uint32_t *)REG_SEC0_FSRDLY_CUR) /* SEC0 Fault System Reset Delay Current Register */
-#define pREG_SEC0_FCOPP ((volatile uint32_t *)REG_SEC0_FCOPP) /* SEC0 Fault COP Period Register */
-#define pREG_SEC0_FCOPP_CUR ((volatile uint32_t *)REG_SEC0_FCOPP_CUR) /* SEC0 Fault COP Period Current Register */
-
-/* SEC Global Registers */
-#define pREG_SEC0_GCTL ((volatile uint32_t *)REG_SEC0_GCTL) /* SEC0 Global Control Register */
-#define pREG_SEC0_GSTAT ((volatile uint32_t *)REG_SEC0_GSTAT) /* SEC0 Global Status Register */
-#define pREG_SEC0_RAISE ((volatile uint32_t *)REG_SEC0_RAISE) /* SEC0 Global Raise Register */
-#define pREG_SEC0_END ((volatile uint32_t *)REG_SEC0_END) /* SEC0 Global End Register */
-
-/* SEC Source Interface (SSI) Registers */
-#define pREG_SEC0_SCTL0 ((volatile uint32_t *)REG_SEC0_SCTL0) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL1 ((volatile uint32_t *)REG_SEC0_SCTL1) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL2 ((volatile uint32_t *)REG_SEC0_SCTL2) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL3 ((volatile uint32_t *)REG_SEC0_SCTL3) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL4 ((volatile uint32_t *)REG_SEC0_SCTL4) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL5 ((volatile uint32_t *)REG_SEC0_SCTL5) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL6 ((volatile uint32_t *)REG_SEC0_SCTL6) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL7 ((volatile uint32_t *)REG_SEC0_SCTL7) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL8 ((volatile uint32_t *)REG_SEC0_SCTL8) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL9 ((volatile uint32_t *)REG_SEC0_SCTL9) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL10 ((volatile uint32_t *)REG_SEC0_SCTL10) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL11 ((volatile uint32_t *)REG_SEC0_SCTL11) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL12 ((volatile uint32_t *)REG_SEC0_SCTL12) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL13 ((volatile uint32_t *)REG_SEC0_SCTL13) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL14 ((volatile uint32_t *)REG_SEC0_SCTL14) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL15 ((volatile uint32_t *)REG_SEC0_SCTL15) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL16 ((volatile uint32_t *)REG_SEC0_SCTL16) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL17 ((volatile uint32_t *)REG_SEC0_SCTL17) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL18 ((volatile uint32_t *)REG_SEC0_SCTL18) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL19 ((volatile uint32_t *)REG_SEC0_SCTL19) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL20 ((volatile uint32_t *)REG_SEC0_SCTL20) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL21 ((volatile uint32_t *)REG_SEC0_SCTL21) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL22 ((volatile uint32_t *)REG_SEC0_SCTL22) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL23 ((volatile uint32_t *)REG_SEC0_SCTL23) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL24 ((volatile uint32_t *)REG_SEC0_SCTL24) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL25 ((volatile uint32_t *)REG_SEC0_SCTL25) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL26 ((volatile uint32_t *)REG_SEC0_SCTL26) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL27 ((volatile uint32_t *)REG_SEC0_SCTL27) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL28 ((volatile uint32_t *)REG_SEC0_SCTL28) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL29 ((volatile uint32_t *)REG_SEC0_SCTL29) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL30 ((volatile uint32_t *)REG_SEC0_SCTL30) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL31 ((volatile uint32_t *)REG_SEC0_SCTL31) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL32 ((volatile uint32_t *)REG_SEC0_SCTL32) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL33 ((volatile uint32_t *)REG_SEC0_SCTL33) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL34 ((volatile uint32_t *)REG_SEC0_SCTL34) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL35 ((volatile uint32_t *)REG_SEC0_SCTL35) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL36 ((volatile uint32_t *)REG_SEC0_SCTL36) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL37 ((volatile uint32_t *)REG_SEC0_SCTL37) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL38 ((volatile uint32_t *)REG_SEC0_SCTL38) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL39 ((volatile uint32_t *)REG_SEC0_SCTL39) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL40 ((volatile uint32_t *)REG_SEC0_SCTL40) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL41 ((volatile uint32_t *)REG_SEC0_SCTL41) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL42 ((volatile uint32_t *)REG_SEC0_SCTL42) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL43 ((volatile uint32_t *)REG_SEC0_SCTL43) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL44 ((volatile uint32_t *)REG_SEC0_SCTL44) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL45 ((volatile uint32_t *)REG_SEC0_SCTL45) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL46 ((volatile uint32_t *)REG_SEC0_SCTL46) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL47 ((volatile uint32_t *)REG_SEC0_SCTL47) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL48 ((volatile uint32_t *)REG_SEC0_SCTL48) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL49 ((volatile uint32_t *)REG_SEC0_SCTL49) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL50 ((volatile uint32_t *)REG_SEC0_SCTL50) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL51 ((volatile uint32_t *)REG_SEC0_SCTL51) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL52 ((volatile uint32_t *)REG_SEC0_SCTL52) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL53 ((volatile uint32_t *)REG_SEC0_SCTL53) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL54 ((volatile uint32_t *)REG_SEC0_SCTL54) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL55 ((volatile uint32_t *)REG_SEC0_SCTL55) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL56 ((volatile uint32_t *)REG_SEC0_SCTL56) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL57 ((volatile uint32_t *)REG_SEC0_SCTL57) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL58 ((volatile uint32_t *)REG_SEC0_SCTL58) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL59 ((volatile uint32_t *)REG_SEC0_SCTL59) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL60 ((volatile uint32_t *)REG_SEC0_SCTL60) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL61 ((volatile uint32_t *)REG_SEC0_SCTL61) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL62 ((volatile uint32_t *)REG_SEC0_SCTL62) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL63 ((volatile uint32_t *)REG_SEC0_SCTL63) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL64 ((volatile uint32_t *)REG_SEC0_SCTL64) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL65 ((volatile uint32_t *)REG_SEC0_SCTL65) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL66 ((volatile uint32_t *)REG_SEC0_SCTL66) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL67 ((volatile uint32_t *)REG_SEC0_SCTL67) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL68 ((volatile uint32_t *)REG_SEC0_SCTL68) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL69 ((volatile uint32_t *)REG_SEC0_SCTL69) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL70 ((volatile uint32_t *)REG_SEC0_SCTL70) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL71 ((volatile uint32_t *)REG_SEC0_SCTL71) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL72 ((volatile uint32_t *)REG_SEC0_SCTL72) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL73 ((volatile uint32_t *)REG_SEC0_SCTL73) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL74 ((volatile uint32_t *)REG_SEC0_SCTL74) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL75 ((volatile uint32_t *)REG_SEC0_SCTL75) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL76 ((volatile uint32_t *)REG_SEC0_SCTL76) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL77 ((volatile uint32_t *)REG_SEC0_SCTL77) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL78 ((volatile uint32_t *)REG_SEC0_SCTL78) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL79 ((volatile uint32_t *)REG_SEC0_SCTL79) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL80 ((volatile uint32_t *)REG_SEC0_SCTL80) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL81 ((volatile uint32_t *)REG_SEC0_SCTL81) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL82 ((volatile uint32_t *)REG_SEC0_SCTL82) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL83 ((volatile uint32_t *)REG_SEC0_SCTL83) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL84 ((volatile uint32_t *)REG_SEC0_SCTL84) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL85 ((volatile uint32_t *)REG_SEC0_SCTL85) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL86 ((volatile uint32_t *)REG_SEC0_SCTL86) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL87 ((volatile uint32_t *)REG_SEC0_SCTL87) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL88 ((volatile uint32_t *)REG_SEC0_SCTL88) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL89 ((volatile uint32_t *)REG_SEC0_SCTL89) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL90 ((volatile uint32_t *)REG_SEC0_SCTL90) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL91 ((volatile uint32_t *)REG_SEC0_SCTL91) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL92 ((volatile uint32_t *)REG_SEC0_SCTL92) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL93 ((volatile uint32_t *)REG_SEC0_SCTL93) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL94 ((volatile uint32_t *)REG_SEC0_SCTL94) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL95 ((volatile uint32_t *)REG_SEC0_SCTL95) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL96 ((volatile uint32_t *)REG_SEC0_SCTL96) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL97 ((volatile uint32_t *)REG_SEC0_SCTL97) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL98 ((volatile uint32_t *)REG_SEC0_SCTL98) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL99 ((volatile uint32_t *)REG_SEC0_SCTL99) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL100 ((volatile uint32_t *)REG_SEC0_SCTL100) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL101 ((volatile uint32_t *)REG_SEC0_SCTL101) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL102 ((volatile uint32_t *)REG_SEC0_SCTL102) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL103 ((volatile uint32_t *)REG_SEC0_SCTL103) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL104 ((volatile uint32_t *)REG_SEC0_SCTL104) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL105 ((volatile uint32_t *)REG_SEC0_SCTL105) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL106 ((volatile uint32_t *)REG_SEC0_SCTL106) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL107 ((volatile uint32_t *)REG_SEC0_SCTL107) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL108 ((volatile uint32_t *)REG_SEC0_SCTL108) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL109 ((volatile uint32_t *)REG_SEC0_SCTL109) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL110 ((volatile uint32_t *)REG_SEC0_SCTL110) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL111 ((volatile uint32_t *)REG_SEC0_SCTL111) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL112 ((volatile uint32_t *)REG_SEC0_SCTL112) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL113 ((volatile uint32_t *)REG_SEC0_SCTL113) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL114 ((volatile uint32_t *)REG_SEC0_SCTL114) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL115 ((volatile uint32_t *)REG_SEC0_SCTL115) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL116 ((volatile uint32_t *)REG_SEC0_SCTL116) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL117 ((volatile uint32_t *)REG_SEC0_SCTL117) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL118 ((volatile uint32_t *)REG_SEC0_SCTL118) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL119 ((volatile uint32_t *)REG_SEC0_SCTL119) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL120 ((volatile uint32_t *)REG_SEC0_SCTL120) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL121 ((volatile uint32_t *)REG_SEC0_SCTL121) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL122 ((volatile uint32_t *)REG_SEC0_SCTL122) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL123 ((volatile uint32_t *)REG_SEC0_SCTL123) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL124 ((volatile uint32_t *)REG_SEC0_SCTL124) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL125 ((volatile uint32_t *)REG_SEC0_SCTL125) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL126 ((volatile uint32_t *)REG_SEC0_SCTL126) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL127 ((volatile uint32_t *)REG_SEC0_SCTL127) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL128 ((volatile uint32_t *)REG_SEC0_SCTL128) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL129 ((volatile uint32_t *)REG_SEC0_SCTL129) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL130 ((volatile uint32_t *)REG_SEC0_SCTL130) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL131 ((volatile uint32_t *)REG_SEC0_SCTL131) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL132 ((volatile uint32_t *)REG_SEC0_SCTL132) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL133 ((volatile uint32_t *)REG_SEC0_SCTL133) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL134 ((volatile uint32_t *)REG_SEC0_SCTL134) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL135 ((volatile uint32_t *)REG_SEC0_SCTL135) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL136 ((volatile uint32_t *)REG_SEC0_SCTL136) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL137 ((volatile uint32_t *)REG_SEC0_SCTL137) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL138 ((volatile uint32_t *)REG_SEC0_SCTL138) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL139 ((volatile uint32_t *)REG_SEC0_SCTL139) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SSTAT0 ((volatile uint32_t *)REG_SEC0_SSTAT0) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT1 ((volatile uint32_t *)REG_SEC0_SSTAT1) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT2 ((volatile uint32_t *)REG_SEC0_SSTAT2) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT3 ((volatile uint32_t *)REG_SEC0_SSTAT3) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT4 ((volatile uint32_t *)REG_SEC0_SSTAT4) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT5 ((volatile uint32_t *)REG_SEC0_SSTAT5) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT6 ((volatile uint32_t *)REG_SEC0_SSTAT6) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT7 ((volatile uint32_t *)REG_SEC0_SSTAT7) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT8 ((volatile uint32_t *)REG_SEC0_SSTAT8) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT9 ((volatile uint32_t *)REG_SEC0_SSTAT9) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT10 ((volatile uint32_t *)REG_SEC0_SSTAT10) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT11 ((volatile uint32_t *)REG_SEC0_SSTAT11) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT12 ((volatile uint32_t *)REG_SEC0_SSTAT12) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT13 ((volatile uint32_t *)REG_SEC0_SSTAT13) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT14 ((volatile uint32_t *)REG_SEC0_SSTAT14) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT15 ((volatile uint32_t *)REG_SEC0_SSTAT15) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT16 ((volatile uint32_t *)REG_SEC0_SSTAT16) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT17 ((volatile uint32_t *)REG_SEC0_SSTAT17) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT18 ((volatile uint32_t *)REG_SEC0_SSTAT18) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT19 ((volatile uint32_t *)REG_SEC0_SSTAT19) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT20 ((volatile uint32_t *)REG_SEC0_SSTAT20) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT21 ((volatile uint32_t *)REG_SEC0_SSTAT21) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT22 ((volatile uint32_t *)REG_SEC0_SSTAT22) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT23 ((volatile uint32_t *)REG_SEC0_SSTAT23) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT24 ((volatile uint32_t *)REG_SEC0_SSTAT24) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT25 ((volatile uint32_t *)REG_SEC0_SSTAT25) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT26 ((volatile uint32_t *)REG_SEC0_SSTAT26) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT27 ((volatile uint32_t *)REG_SEC0_SSTAT27) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT28 ((volatile uint32_t *)REG_SEC0_SSTAT28) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT29 ((volatile uint32_t *)REG_SEC0_SSTAT29) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT30 ((volatile uint32_t *)REG_SEC0_SSTAT30) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT31 ((volatile uint32_t *)REG_SEC0_SSTAT31) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT32 ((volatile uint32_t *)REG_SEC0_SSTAT32) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT33 ((volatile uint32_t *)REG_SEC0_SSTAT33) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT34 ((volatile uint32_t *)REG_SEC0_SSTAT34) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT35 ((volatile uint32_t *)REG_SEC0_SSTAT35) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT36 ((volatile uint32_t *)REG_SEC0_SSTAT36) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT37 ((volatile uint32_t *)REG_SEC0_SSTAT37) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT38 ((volatile uint32_t *)REG_SEC0_SSTAT38) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT39 ((volatile uint32_t *)REG_SEC0_SSTAT39) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT40 ((volatile uint32_t *)REG_SEC0_SSTAT40) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT41 ((volatile uint32_t *)REG_SEC0_SSTAT41) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT42 ((volatile uint32_t *)REG_SEC0_SSTAT42) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT43 ((volatile uint32_t *)REG_SEC0_SSTAT43) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT44 ((volatile uint32_t *)REG_SEC0_SSTAT44) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT45 ((volatile uint32_t *)REG_SEC0_SSTAT45) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT46 ((volatile uint32_t *)REG_SEC0_SSTAT46) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT47 ((volatile uint32_t *)REG_SEC0_SSTAT47) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT48 ((volatile uint32_t *)REG_SEC0_SSTAT48) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT49 ((volatile uint32_t *)REG_SEC0_SSTAT49) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT50 ((volatile uint32_t *)REG_SEC0_SSTAT50) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT51 ((volatile uint32_t *)REG_SEC0_SSTAT51) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT52 ((volatile uint32_t *)REG_SEC0_SSTAT52) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT53 ((volatile uint32_t *)REG_SEC0_SSTAT53) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT54 ((volatile uint32_t *)REG_SEC0_SSTAT54) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT55 ((volatile uint32_t *)REG_SEC0_SSTAT55) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT56 ((volatile uint32_t *)REG_SEC0_SSTAT56) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT57 ((volatile uint32_t *)REG_SEC0_SSTAT57) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT58 ((volatile uint32_t *)REG_SEC0_SSTAT58) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT59 ((volatile uint32_t *)REG_SEC0_SSTAT59) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT60 ((volatile uint32_t *)REG_SEC0_SSTAT60) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT61 ((volatile uint32_t *)REG_SEC0_SSTAT61) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT62 ((volatile uint32_t *)REG_SEC0_SSTAT62) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT63 ((volatile uint32_t *)REG_SEC0_SSTAT63) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT64 ((volatile uint32_t *)REG_SEC0_SSTAT64) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT65 ((volatile uint32_t *)REG_SEC0_SSTAT65) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT66 ((volatile uint32_t *)REG_SEC0_SSTAT66) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT67 ((volatile uint32_t *)REG_SEC0_SSTAT67) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT68 ((volatile uint32_t *)REG_SEC0_SSTAT68) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT69 ((volatile uint32_t *)REG_SEC0_SSTAT69) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT70 ((volatile uint32_t *)REG_SEC0_SSTAT70) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT71 ((volatile uint32_t *)REG_SEC0_SSTAT71) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT72 ((volatile uint32_t *)REG_SEC0_SSTAT72) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT73 ((volatile uint32_t *)REG_SEC0_SSTAT73) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT74 ((volatile uint32_t *)REG_SEC0_SSTAT74) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT75 ((volatile uint32_t *)REG_SEC0_SSTAT75) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT76 ((volatile uint32_t *)REG_SEC0_SSTAT76) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT77 ((volatile uint32_t *)REG_SEC0_SSTAT77) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT78 ((volatile uint32_t *)REG_SEC0_SSTAT78) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT79 ((volatile uint32_t *)REG_SEC0_SSTAT79) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT80 ((volatile uint32_t *)REG_SEC0_SSTAT80) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT81 ((volatile uint32_t *)REG_SEC0_SSTAT81) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT82 ((volatile uint32_t *)REG_SEC0_SSTAT82) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT83 ((volatile uint32_t *)REG_SEC0_SSTAT83) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT84 ((volatile uint32_t *)REG_SEC0_SSTAT84) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT85 ((volatile uint32_t *)REG_SEC0_SSTAT85) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT86 ((volatile uint32_t *)REG_SEC0_SSTAT86) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT87 ((volatile uint32_t *)REG_SEC0_SSTAT87) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT88 ((volatile uint32_t *)REG_SEC0_SSTAT88) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT89 ((volatile uint32_t *)REG_SEC0_SSTAT89) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT90 ((volatile uint32_t *)REG_SEC0_SSTAT90) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT91 ((volatile uint32_t *)REG_SEC0_SSTAT91) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT92 ((volatile uint32_t *)REG_SEC0_SSTAT92) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT93 ((volatile uint32_t *)REG_SEC0_SSTAT93) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT94 ((volatile uint32_t *)REG_SEC0_SSTAT94) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT95 ((volatile uint32_t *)REG_SEC0_SSTAT95) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT96 ((volatile uint32_t *)REG_SEC0_SSTAT96) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT97 ((volatile uint32_t *)REG_SEC0_SSTAT97) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT98 ((volatile uint32_t *)REG_SEC0_SSTAT98) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT99 ((volatile uint32_t *)REG_SEC0_SSTAT99) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT100 ((volatile uint32_t *)REG_SEC0_SSTAT100) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT101 ((volatile uint32_t *)REG_SEC0_SSTAT101) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT102 ((volatile uint32_t *)REG_SEC0_SSTAT102) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT103 ((volatile uint32_t *)REG_SEC0_SSTAT103) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT104 ((volatile uint32_t *)REG_SEC0_SSTAT104) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT105 ((volatile uint32_t *)REG_SEC0_SSTAT105) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT106 ((volatile uint32_t *)REG_SEC0_SSTAT106) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT107 ((volatile uint32_t *)REG_SEC0_SSTAT107) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT108 ((volatile uint32_t *)REG_SEC0_SSTAT108) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT109 ((volatile uint32_t *)REG_SEC0_SSTAT109) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT110 ((volatile uint32_t *)REG_SEC0_SSTAT110) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT111 ((volatile uint32_t *)REG_SEC0_SSTAT111) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT112 ((volatile uint32_t *)REG_SEC0_SSTAT112) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT113 ((volatile uint32_t *)REG_SEC0_SSTAT113) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT114 ((volatile uint32_t *)REG_SEC0_SSTAT114) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT115 ((volatile uint32_t *)REG_SEC0_SSTAT115) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT116 ((volatile uint32_t *)REG_SEC0_SSTAT116) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT117 ((volatile uint32_t *)REG_SEC0_SSTAT117) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT118 ((volatile uint32_t *)REG_SEC0_SSTAT118) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT119 ((volatile uint32_t *)REG_SEC0_SSTAT119) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT120 ((volatile uint32_t *)REG_SEC0_SSTAT120) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT121 ((volatile uint32_t *)REG_SEC0_SSTAT121) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT122 ((volatile uint32_t *)REG_SEC0_SSTAT122) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT123 ((volatile uint32_t *)REG_SEC0_SSTAT123) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT124 ((volatile uint32_t *)REG_SEC0_SSTAT124) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT125 ((volatile uint32_t *)REG_SEC0_SSTAT125) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT126 ((volatile uint32_t *)REG_SEC0_SSTAT126) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT127 ((volatile uint32_t *)REG_SEC0_SSTAT127) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT128 ((volatile uint32_t *)REG_SEC0_SSTAT128) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT129 ((volatile uint32_t *)REG_SEC0_SSTAT129) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT130 ((volatile uint32_t *)REG_SEC0_SSTAT130) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT131 ((volatile uint32_t *)REG_SEC0_SSTAT131) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT132 ((volatile uint32_t *)REG_SEC0_SSTAT132) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT133 ((volatile uint32_t *)REG_SEC0_SSTAT133) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT134 ((volatile uint32_t *)REG_SEC0_SSTAT134) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT135 ((volatile uint32_t *)REG_SEC0_SSTAT135) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT136 ((volatile uint32_t *)REG_SEC0_SSTAT136) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT137 ((volatile uint32_t *)REG_SEC0_SSTAT137) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT138 ((volatile uint32_t *)REG_SEC0_SSTAT138) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT139 ((volatile uint32_t *)REG_SEC0_SSTAT139) /* SEC0 Source Status Register n */
-
-
-/* =========================================================================
- TRU0
- ========================================================================= */
-#define pREG_TRU0_SSR0 ((volatile uint32_t *)REG_TRU0_SSR0) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR1 ((volatile uint32_t *)REG_TRU0_SSR1) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR2 ((volatile uint32_t *)REG_TRU0_SSR2) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR3 ((volatile uint32_t *)REG_TRU0_SSR3) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR4 ((volatile uint32_t *)REG_TRU0_SSR4) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR5 ((volatile uint32_t *)REG_TRU0_SSR5) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR6 ((volatile uint32_t *)REG_TRU0_SSR6) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR7 ((volatile uint32_t *)REG_TRU0_SSR7) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR8 ((volatile uint32_t *)REG_TRU0_SSR8) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR9 ((volatile uint32_t *)REG_TRU0_SSR9) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR10 ((volatile uint32_t *)REG_TRU0_SSR10) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR11 ((volatile uint32_t *)REG_TRU0_SSR11) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR12 ((volatile uint32_t *)REG_TRU0_SSR12) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR13 ((volatile uint32_t *)REG_TRU0_SSR13) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR14 ((volatile uint32_t *)REG_TRU0_SSR14) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR15 ((volatile uint32_t *)REG_TRU0_SSR15) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR16 ((volatile uint32_t *)REG_TRU0_SSR16) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR17 ((volatile uint32_t *)REG_TRU0_SSR17) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR18 ((volatile uint32_t *)REG_TRU0_SSR18) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR19 ((volatile uint32_t *)REG_TRU0_SSR19) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR20 ((volatile uint32_t *)REG_TRU0_SSR20) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR21 ((volatile uint32_t *)REG_TRU0_SSR21) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR22 ((volatile uint32_t *)REG_TRU0_SSR22) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR23 ((volatile uint32_t *)REG_TRU0_SSR23) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR24 ((volatile uint32_t *)REG_TRU0_SSR24) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR25 ((volatile uint32_t *)REG_TRU0_SSR25) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR26 ((volatile uint32_t *)REG_TRU0_SSR26) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR27 ((volatile uint32_t *)REG_TRU0_SSR27) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR28 ((volatile uint32_t *)REG_TRU0_SSR28) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR29 ((volatile uint32_t *)REG_TRU0_SSR29) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR30 ((volatile uint32_t *)REG_TRU0_SSR30) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR31 ((volatile uint32_t *)REG_TRU0_SSR31) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR32 ((volatile uint32_t *)REG_TRU0_SSR32) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR33 ((volatile uint32_t *)REG_TRU0_SSR33) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR34 ((volatile uint32_t *)REG_TRU0_SSR34) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR35 ((volatile uint32_t *)REG_TRU0_SSR35) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR36 ((volatile uint32_t *)REG_TRU0_SSR36) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR37 ((volatile uint32_t *)REG_TRU0_SSR37) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR38 ((volatile uint32_t *)REG_TRU0_SSR38) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR39 ((volatile uint32_t *)REG_TRU0_SSR39) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR40 ((volatile uint32_t *)REG_TRU0_SSR40) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR41 ((volatile uint32_t *)REG_TRU0_SSR41) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR42 ((volatile uint32_t *)REG_TRU0_SSR42) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR43 ((volatile uint32_t *)REG_TRU0_SSR43) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR44 ((volatile uint32_t *)REG_TRU0_SSR44) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR45 ((volatile uint32_t *)REG_TRU0_SSR45) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR46 ((volatile uint32_t *)REG_TRU0_SSR46) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR47 ((volatile uint32_t *)REG_TRU0_SSR47) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR48 ((volatile uint32_t *)REG_TRU0_SSR48) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR49 ((volatile uint32_t *)REG_TRU0_SSR49) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR50 ((volatile uint32_t *)REG_TRU0_SSR50) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR51 ((volatile uint32_t *)REG_TRU0_SSR51) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR52 ((volatile uint32_t *)REG_TRU0_SSR52) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR53 ((volatile uint32_t *)REG_TRU0_SSR53) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR54 ((volatile uint32_t *)REG_TRU0_SSR54) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR55 ((volatile uint32_t *)REG_TRU0_SSR55) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR56 ((volatile uint32_t *)REG_TRU0_SSR56) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR57 ((volatile uint32_t *)REG_TRU0_SSR57) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR58 ((volatile uint32_t *)REG_TRU0_SSR58) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR59 ((volatile uint32_t *)REG_TRU0_SSR59) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR60 ((volatile uint32_t *)REG_TRU0_SSR60) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR61 ((volatile uint32_t *)REG_TRU0_SSR61) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR62 ((volatile uint32_t *)REG_TRU0_SSR62) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR63 ((volatile uint32_t *)REG_TRU0_SSR63) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR64 ((volatile uint32_t *)REG_TRU0_SSR64) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR65 ((volatile uint32_t *)REG_TRU0_SSR65) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR66 ((volatile uint32_t *)REG_TRU0_SSR66) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR67 ((volatile uint32_t *)REG_TRU0_SSR67) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR68 ((volatile uint32_t *)REG_TRU0_SSR68) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR69 ((volatile uint32_t *)REG_TRU0_SSR69) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR70 ((volatile uint32_t *)REG_TRU0_SSR70) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR71 ((volatile uint32_t *)REG_TRU0_SSR71) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR72 ((volatile uint32_t *)REG_TRU0_SSR72) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR73 ((volatile uint32_t *)REG_TRU0_SSR73) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR74 ((volatile uint32_t *)REG_TRU0_SSR74) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR75 ((volatile uint32_t *)REG_TRU0_SSR75) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR76 ((volatile uint32_t *)REG_TRU0_SSR76) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR77 ((volatile uint32_t *)REG_TRU0_SSR77) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR78 ((volatile uint32_t *)REG_TRU0_SSR78) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR79 ((volatile uint32_t *)REG_TRU0_SSR79) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR80 ((volatile uint32_t *)REG_TRU0_SSR80) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR81 ((volatile uint32_t *)REG_TRU0_SSR81) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR82 ((volatile uint32_t *)REG_TRU0_SSR82) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR83 ((volatile uint32_t *)REG_TRU0_SSR83) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR84 ((volatile uint32_t *)REG_TRU0_SSR84) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR85 ((volatile uint32_t *)REG_TRU0_SSR85) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR86 ((volatile uint32_t *)REG_TRU0_SSR86) /* TRU0 Slave Select Register */
-#define pREG_TRU0_MTR ((volatile uint32_t *)REG_TRU0_MTR) /* TRU0 Master Trigger Register */
-#define pREG_TRU0_ERRADDR ((volatile uint32_t *)REG_TRU0_ERRADDR) /* TRU0 Error Address Register */
-#define pREG_TRU0_STAT ((volatile uint32_t *)REG_TRU0_STAT) /* TRU0 Status Information Register */
-#define pREG_TRU0_REVID ((volatile uint32_t *)REG_TRU0_REVID) /* TRU0 Revision ID Register */
-#define pREG_TRU0_GCTL ((volatile uint32_t *)REG_TRU0_GCTL) /* TRU0 Global Control Register */
-
-
-/* =========================================================================
- RCU0
- ========================================================================= */
-#define pREG_RCU0_CTL ((volatile uint32_t *)REG_RCU0_CTL) /* RCU0 Control Register */
-#define pREG_RCU0_STAT ((volatile uint32_t *)REG_RCU0_STAT) /* RCU0 Status Register */
-#define pREG_RCU0_CRCTL ((volatile uint32_t *)REG_RCU0_CRCTL) /* RCU0 Core Reset Control Register */
-#define pREG_RCU0_CRSTAT ((volatile uint32_t *)REG_RCU0_CRSTAT) /* RCU0 Core Reset Status Register */
-#define pREG_RCU0_SIDIS ((volatile uint32_t *)REG_RCU0_SIDIS) /* RCU0 System Interface Disable Register */
-#define pREG_RCU0_SISTAT ((volatile uint32_t *)REG_RCU0_SISTAT) /* RCU0 System Interface Status Register */
-#define pREG_RCU0_SVECT_LCK ((volatile uint32_t *)REG_RCU0_SVECT_LCK) /* RCU0 SVECT Lock Register */
-#define pREG_RCU0_BCODE ((volatile uint32_t *)REG_RCU0_BCODE) /* RCU0 Boot Code Register */
-#define pREG_RCU0_SVECT0 ((void * volatile *)REG_RCU0_SVECT0) /* RCU0 Software Vector Register n */
-#define pREG_RCU0_SVECT1 ((void * volatile *)REG_RCU0_SVECT1) /* RCU0 Software Vector Register n */
-
-
-/* =========================================================================
- SPU0
- ========================================================================= */
-#define pREG_SPU0_CTL ((volatile uint32_t *)REG_SPU0_CTL) /* SPU0 Control Register */
-#define pREG_SPU0_STAT ((volatile uint32_t *)REG_SPU0_STAT) /* SPU0 Status Register */
-#define pREG_SPU0_WP0 ((volatile uint32_t *)REG_SPU0_WP0) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP1 ((volatile uint32_t *)REG_SPU0_WP1) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP2 ((volatile uint32_t *)REG_SPU0_WP2) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP3 ((volatile uint32_t *)REG_SPU0_WP3) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP4 ((volatile uint32_t *)REG_SPU0_WP4) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP5 ((volatile uint32_t *)REG_SPU0_WP5) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP6 ((volatile uint32_t *)REG_SPU0_WP6) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP7 ((volatile uint32_t *)REG_SPU0_WP7) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP8 ((volatile uint32_t *)REG_SPU0_WP8) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP9 ((volatile uint32_t *)REG_SPU0_WP9) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP10 ((volatile uint32_t *)REG_SPU0_WP10) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP11 ((volatile uint32_t *)REG_SPU0_WP11) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP12 ((volatile uint32_t *)REG_SPU0_WP12) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP13 ((volatile uint32_t *)REG_SPU0_WP13) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP14 ((volatile uint32_t *)REG_SPU0_WP14) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP15 ((volatile uint32_t *)REG_SPU0_WP15) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP16 ((volatile uint32_t *)REG_SPU0_WP16) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP17 ((volatile uint32_t *)REG_SPU0_WP17) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP18 ((volatile uint32_t *)REG_SPU0_WP18) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP19 ((volatile uint32_t *)REG_SPU0_WP19) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP20 ((volatile uint32_t *)REG_SPU0_WP20) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP21 ((volatile uint32_t *)REG_SPU0_WP21) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP22 ((volatile uint32_t *)REG_SPU0_WP22) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP23 ((volatile uint32_t *)REG_SPU0_WP23) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP24 ((volatile uint32_t *)REG_SPU0_WP24) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP25 ((volatile uint32_t *)REG_SPU0_WP25) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP26 ((volatile uint32_t *)REG_SPU0_WP26) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP27 ((volatile uint32_t *)REG_SPU0_WP27) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP28 ((volatile uint32_t *)REG_SPU0_WP28) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP29 ((volatile uint32_t *)REG_SPU0_WP29) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP30 ((volatile uint32_t *)REG_SPU0_WP30) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP31 ((volatile uint32_t *)REG_SPU0_WP31) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP32 ((volatile uint32_t *)REG_SPU0_WP32) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP33 ((volatile uint32_t *)REG_SPU0_WP33) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP34 ((volatile uint32_t *)REG_SPU0_WP34) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP35 ((volatile uint32_t *)REG_SPU0_WP35) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP36 ((volatile uint32_t *)REG_SPU0_WP36) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP37 ((volatile uint32_t *)REG_SPU0_WP37) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP38 ((volatile uint32_t *)REG_SPU0_WP38) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP39 ((volatile uint32_t *)REG_SPU0_WP39) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP40 ((volatile uint32_t *)REG_SPU0_WP40) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP41 ((volatile uint32_t *)REG_SPU0_WP41) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP42 ((volatile uint32_t *)REG_SPU0_WP42) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP43 ((volatile uint32_t *)REG_SPU0_WP43) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP44 ((volatile uint32_t *)REG_SPU0_WP44) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP45 ((volatile uint32_t *)REG_SPU0_WP45) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP46 ((volatile uint32_t *)REG_SPU0_WP46) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP47 ((volatile uint32_t *)REG_SPU0_WP47) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP48 ((volatile uint32_t *)REG_SPU0_WP48) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP49 ((volatile uint32_t *)REG_SPU0_WP49) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP50 ((volatile uint32_t *)REG_SPU0_WP50) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP51 ((volatile uint32_t *)REG_SPU0_WP51) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP52 ((volatile uint32_t *)REG_SPU0_WP52) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP53 ((volatile uint32_t *)REG_SPU0_WP53) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP54 ((volatile uint32_t *)REG_SPU0_WP54) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP55 ((volatile uint32_t *)REG_SPU0_WP55) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP56 ((volatile uint32_t *)REG_SPU0_WP56) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP57 ((volatile uint32_t *)REG_SPU0_WP57) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP58 ((volatile uint32_t *)REG_SPU0_WP58) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP59 ((volatile uint32_t *)REG_SPU0_WP59) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP60 ((volatile uint32_t *)REG_SPU0_WP60) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP61 ((volatile uint32_t *)REG_SPU0_WP61) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP62 ((volatile uint32_t *)REG_SPU0_WP62) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP63 ((volatile uint32_t *)REG_SPU0_WP63) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP64 ((volatile uint32_t *)REG_SPU0_WP64) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP65 ((volatile uint32_t *)REG_SPU0_WP65) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP66 ((volatile uint32_t *)REG_SPU0_WP66) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP67 ((volatile uint32_t *)REG_SPU0_WP67) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP68 ((volatile uint32_t *)REG_SPU0_WP68) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP69 ((volatile uint32_t *)REG_SPU0_WP69) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP70 ((volatile uint32_t *)REG_SPU0_WP70) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP71 ((volatile uint32_t *)REG_SPU0_WP71) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP72 ((volatile uint32_t *)REG_SPU0_WP72) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP73 ((volatile uint32_t *)REG_SPU0_WP73) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP74 ((volatile uint32_t *)REG_SPU0_WP74) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP75 ((volatile uint32_t *)REG_SPU0_WP75) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP76 ((volatile uint32_t *)REG_SPU0_WP76) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP77 ((volatile uint32_t *)REG_SPU0_WP77) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP78 ((volatile uint32_t *)REG_SPU0_WP78) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP79 ((volatile uint32_t *)REG_SPU0_WP79) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP80 ((volatile uint32_t *)REG_SPU0_WP80) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP81 ((volatile uint32_t *)REG_SPU0_WP81) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP82 ((volatile uint32_t *)REG_SPU0_WP82) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP83 ((volatile uint32_t *)REG_SPU0_WP83) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP84 ((volatile uint32_t *)REG_SPU0_WP84) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP85 ((volatile uint32_t *)REG_SPU0_WP85) /* SPU0 Write Protect Register n */
-
-
-/* =========================================================================
- CGU0
- ========================================================================= */
-#define pREG_CGU0_CTL ((volatile uint32_t *)REG_CGU0_CTL) /* CGU0 Control Register */
-#define pREG_CGU0_STAT ((volatile uint32_t *)REG_CGU0_STAT) /* CGU0 Status Register */
-#define pREG_CGU0_DIV ((volatile uint32_t *)REG_CGU0_DIV) /* CGU0 Divisor Register */
-#define pREG_CGU0_CLKOUTSEL ((volatile uint32_t *)REG_CGU0_CLKOUTSEL) /* CGU0 CLKOUT Select Register */
-
-
-/* =========================================================================
- DPM0
- ========================================================================= */
-#define pREG_DPM0_CTL ((volatile uint32_t *)REG_DPM0_CTL) /* DPM0 Control Register */
-#define pREG_DPM0_STAT ((volatile uint32_t *)REG_DPM0_STAT) /* DPM0 Status Register */
-#define pREG_DPM0_CCBF_DIS ((volatile uint32_t *)REG_DPM0_CCBF_DIS) /* DPM0 Core Clock Buffer Disable Register */
-#define pREG_DPM0_CCBF_EN ((volatile uint32_t *)REG_DPM0_CCBF_EN) /* DPM0 Core Clock Buffer Enable Register */
-#define pREG_DPM0_CCBF_STAT ((volatile uint32_t *)REG_DPM0_CCBF_STAT) /* DPM0 Core Clock Buffer Status Register */
-#define pREG_DPM0_CCBF_STAT_STKY ((volatile uint32_t *)REG_DPM0_CCBF_STAT_STKY) /* DPM0 Core Clock Buffer Status Sticky Register */
-#define pREG_DPM0_SCBF_DIS ((volatile uint32_t *)REG_DPM0_SCBF_DIS) /* DPM0 System Clock Buffer Disable Register */
-#define pREG_DPM0_WAKE_EN ((volatile uint32_t *)REG_DPM0_WAKE_EN) /* DPM0 Wakeup Enable Register */
-#define pREG_DPM0_WAKE_POL ((volatile uint32_t *)REG_DPM0_WAKE_POL) /* DPM0 Wakeup Polarity Register */
-#define pREG_DPM0_WAKE_STAT ((volatile uint32_t *)REG_DPM0_WAKE_STAT) /* DPM0 Wakeup Status Register */
-#define pREG_DPM0_HIB_DIS ((volatile uint32_t *)REG_DPM0_HIB_DIS) /* DPM0 Hibernate Disable Register */
-#define pREG_DPM0_PGCNTR ((volatile uint32_t *)REG_DPM0_PGCNTR) /* DPM0 Power Good Counter Register */
-#define pREG_DPM0_RESTORE0 ((volatile uint32_t *)REG_DPM0_RESTORE0) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE1 ((volatile uint32_t *)REG_DPM0_RESTORE1) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE2 ((volatile uint32_t *)REG_DPM0_RESTORE2) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE3 ((volatile uint32_t *)REG_DPM0_RESTORE3) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE4 ((volatile uint32_t *)REG_DPM0_RESTORE4) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE5 ((volatile uint32_t *)REG_DPM0_RESTORE5) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE6 ((volatile uint32_t *)REG_DPM0_RESTORE6) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE7 ((volatile uint32_t *)REG_DPM0_RESTORE7) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE8 ((volatile uint32_t *)REG_DPM0_RESTORE8) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE9 ((volatile uint32_t *)REG_DPM0_RESTORE9) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE10 ((volatile uint32_t *)REG_DPM0_RESTORE10) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE11 ((volatile uint32_t *)REG_DPM0_RESTORE11) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE12 ((volatile uint32_t *)REG_DPM0_RESTORE12) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE13 ((volatile uint32_t *)REG_DPM0_RESTORE13) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE14 ((volatile uint32_t *)REG_DPM0_RESTORE14) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE15 ((volatile uint32_t *)REG_DPM0_RESTORE15) /* DPM0 Restore n Register */
-
-
-/* =========================================================================
- EFS0
- ========================================================================= */
-#define pREG_EFS0_CTL ((volatile uint32_t *)REG_EFS0_CTL) /* EFS0 Control Register */
-#define pREG_EFS0_DAT0 ((volatile uint32_t *)REG_EFS0_DAT0) /* EFS0 Data Register 0 */
-#define pREG_EFS0_DAT1 ((volatile uint32_t *)REG_EFS0_DAT1) /* EFS0 Data Register 1 */
-#define pREG_EFS0_DAT2 ((volatile uint32_t *)REG_EFS0_DAT2) /* EFS0 Data Register 2 */
-#define pREG_EFS0_DAT3 ((volatile uint32_t *)REG_EFS0_DAT3) /* EFS0 Data Register 3 */
-#define pREG_EFS0_DAT4 ((volatile uint32_t *)REG_EFS0_DAT4) /* EFS0 Data Register 4 */
-#define pREG_EFS0_DAT5 ((volatile uint32_t *)REG_EFS0_DAT5) /* EFS0 Data Register 5 */
-#define pREG_EFS0_DAT6 ((volatile uint32_t *)REG_EFS0_DAT6) /* EFS0 Data Register 6 */
-#define pREG_EFS0_DAT7 ((volatile uint32_t *)REG_EFS0_DAT7) /* EFS0 Data Register 7 */
-
-
-/* =========================================================================
- USB0
- ========================================================================= */
-#define pREG_USB0_FADDR ((volatile uint8_t *)REG_USB0_FADDR) /* USB0 Function Address Register */
-#define pREG_USB0_POWER ((volatile uint8_t *)REG_USB0_POWER) /* USB0 Power and Device Control Register */
-#define pREG_USB0_INTRTX ((volatile uint16_t *)REG_USB0_INTRTX) /* USB0 Transmit Interrupt Register */
-#define pREG_USB0_INTRRX ((volatile uint16_t *)REG_USB0_INTRRX) /* USB0 Receive Interrupt Register */
-#define pREG_USB0_INTRTXE ((volatile uint16_t *)REG_USB0_INTRTXE) /* USB0 Transmit Interrupt Enable Register */
-#define pREG_USB0_INTRRXE ((volatile uint16_t *)REG_USB0_INTRRXE) /* USB0 Receive Interrupt Enable Register */
-#define pREG_USB0_IRQ ((volatile uint8_t *)REG_USB0_IRQ) /* USB0 Common Interrupts Register */
-#define pREG_USB0_IEN ((volatile uint8_t *)REG_USB0_IEN) /* USB0 Common Interrupts Enable Register */
-#define pREG_USB0_FRAME ((volatile uint16_t *)REG_USB0_FRAME) /* USB0 Frame Number Register */
-#define pREG_USB0_INDEX ((volatile uint8_t *)REG_USB0_INDEX) /* USB0 Index Register */
-#define pREG_USB0_TESTMODE ((volatile uint8_t *)REG_USB0_TESTMODE) /* USB0 Testmode Register */
-#define pREG_USB0_EPI_TXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_TXMAXP0) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EPI_TXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_P0) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EPI_TXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_H0) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0I_CSR0_P ((volatile uint16_t *)REG_USB0_EP0I_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CSR0_H ((volatile uint16_t *)REG_USB0_EP0I_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_RXMAXP0) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EPI_RXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_H0) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_P0) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CNT0 ((volatile uint16_t *)REG_USB0_EP0I_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EPI_RXCNT0 ((volatile uint16_t *)REG_USB0_EPI_RXCNT0) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EPI_TXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_TXTYPE0) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0I_TYPE0 ((volatile uint8_t *)REG_USB0_EP0I_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EPI_TXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_TXINTERVAL0) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0I_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0I_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EPI_RXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_RXTYPE0) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EPI_RXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_RXINTERVAL0) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0I_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0I_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_FIFOB0 ((volatile uint8_t *)REG_USB0_FIFOB0) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB1 ((volatile uint8_t *)REG_USB0_FIFOB1) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB2 ((volatile uint8_t *)REG_USB0_FIFOB2) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB3 ((volatile uint8_t *)REG_USB0_FIFOB3) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB4 ((volatile uint8_t *)REG_USB0_FIFOB4) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB5 ((volatile uint8_t *)REG_USB0_FIFOB5) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB6 ((volatile uint8_t *)REG_USB0_FIFOB6) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB7 ((volatile uint8_t *)REG_USB0_FIFOB7) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB8 ((volatile uint8_t *)REG_USB0_FIFOB8) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB9 ((volatile uint8_t *)REG_USB0_FIFOB9) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB10 ((volatile uint8_t *)REG_USB0_FIFOB10) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB11 ((volatile uint8_t *)REG_USB0_FIFOB11) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOH0 ((volatile uint16_t *)REG_USB0_FIFOH0) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH1 ((volatile uint16_t *)REG_USB0_FIFOH1) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH2 ((volatile uint16_t *)REG_USB0_FIFOH2) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH3 ((volatile uint16_t *)REG_USB0_FIFOH3) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH4 ((volatile uint16_t *)REG_USB0_FIFOH4) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH5 ((volatile uint16_t *)REG_USB0_FIFOH5) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH6 ((volatile uint16_t *)REG_USB0_FIFOH6) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH7 ((volatile uint16_t *)REG_USB0_FIFOH7) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH8 ((volatile uint16_t *)REG_USB0_FIFOH8) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH9 ((volatile uint16_t *)REG_USB0_FIFOH9) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH10 ((volatile uint16_t *)REG_USB0_FIFOH10) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH11 ((volatile uint16_t *)REG_USB0_FIFOH11) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFO0 ((volatile uint32_t *)REG_USB0_FIFO0) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO1 ((volatile uint32_t *)REG_USB0_FIFO1) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO2 ((volatile uint32_t *)REG_USB0_FIFO2) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO3 ((volatile uint32_t *)REG_USB0_FIFO3) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO4 ((volatile uint32_t *)REG_USB0_FIFO4) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO5 ((volatile uint32_t *)REG_USB0_FIFO5) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO6 ((volatile uint32_t *)REG_USB0_FIFO6) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO7 ((volatile uint32_t *)REG_USB0_FIFO7) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO8 ((volatile uint32_t *)REG_USB0_FIFO8) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO9 ((volatile uint32_t *)REG_USB0_FIFO9) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO10 ((volatile uint32_t *)REG_USB0_FIFO10) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO11 ((volatile uint32_t *)REG_USB0_FIFO11) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_DEV_CTL ((volatile uint8_t *)REG_USB0_DEV_CTL) /* USB0 Device Control Register */
-#define pREG_USB0_TXFIFOSZ ((volatile uint8_t *)REG_USB0_TXFIFOSZ) /* USB0 Transmit FIFO Size Register */
-#define pREG_USB0_RXFIFOSZ ((volatile uint8_t *)REG_USB0_RXFIFOSZ) /* USB0 Receive FIFO Size Register */
-#define pREG_USB0_TXFIFOADDR ((volatile uint16_t *)REG_USB0_TXFIFOADDR) /* USB0 Transmit FIFO Address Register */
-#define pREG_USB0_RXFIFOADDR ((volatile uint16_t *)REG_USB0_RXFIFOADDR) /* USB0 Receive FIFO Address Register */
-#define pREG_USB0_EPINFO ((volatile uint8_t *)REG_USB0_EPINFO) /* USB0 Endpoint Information Register */
-#define pREG_USB0_RAMINFO ((volatile uint8_t *)REG_USB0_RAMINFO) /* USB0 RAM Information Register */
-#define pREG_USB0_LINKINFO ((volatile uint8_t *)REG_USB0_LINKINFO) /* USB0 Link Information Register */
-#define pREG_USB0_VPLEN ((volatile uint8_t *)REG_USB0_VPLEN) /* USB0 VBUS Pulse Length Register */
-#define pREG_USB0_HS_EOF1 ((volatile uint8_t *)REG_USB0_HS_EOF1) /* USB0 High-Speed EOF 1 Register */
-#define pREG_USB0_FS_EOF1 ((volatile uint8_t *)REG_USB0_FS_EOF1) /* USB0 Full-Speed EOF 1 Register */
-#define pREG_USB0_LS_EOF1 ((volatile uint8_t *)REG_USB0_LS_EOF1) /* USB0 Low-Speed EOF 1 Register */
-#define pREG_USB0_SOFT_RST ((volatile uint8_t *)REG_USB0_SOFT_RST) /* USB0 Software Reset Register */
-#define pREG_USB0_MP0_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP1_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP2_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP3_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP4_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP5_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP6_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP7_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP8_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP9_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP10_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP11_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP0_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP1_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP2_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP3_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP4_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP5_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP6_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP7_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP8_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP9_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP10_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP11_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP0_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP1_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP2_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP3_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP4_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP5_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP6_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP7_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP8_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP9_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP10_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP11_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP0_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP1_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP2_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP3_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP4_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP5_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP6_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP7_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP8_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP9_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP10_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP11_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP0_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP1_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP2_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP3_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP4_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP5_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP6_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP7_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP8_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP9_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP10_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP11_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP0_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP1_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP2_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP3_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP4_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP5_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP6_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP7_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP8_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP9_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP10_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP11_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_EP0_TXMAXP ((volatile uint16_t *)REG_USB0_EP0_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP1_TXMAXP ((volatile uint16_t *)REG_USB0_EP1_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP2_TXMAXP ((volatile uint16_t *)REG_USB0_EP2_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP3_TXMAXP ((volatile uint16_t *)REG_USB0_EP3_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP4_TXMAXP ((volatile uint16_t *)REG_USB0_EP4_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP5_TXMAXP ((volatile uint16_t *)REG_USB0_EP5_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP6_TXMAXP ((volatile uint16_t *)REG_USB0_EP6_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP7_TXMAXP ((volatile uint16_t *)REG_USB0_EP7_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP8_TXMAXP ((volatile uint16_t *)REG_USB0_EP8_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP9_TXMAXP ((volatile uint16_t *)REG_USB0_EP9_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP10_TXMAXP ((volatile uint16_t *)REG_USB0_EP10_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP11_TXMAXP ((volatile uint16_t *)REG_USB0_EP11_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP0_CSR0_H ((volatile uint16_t *)REG_USB0_EP0_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_TXCSR_H ((volatile uint16_t *)REG_USB0_EP0_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_TXCSR_H ((volatile uint16_t *)REG_USB0_EP1_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_TXCSR_H ((volatile uint16_t *)REG_USB0_EP2_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_TXCSR_H ((volatile uint16_t *)REG_USB0_EP3_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_TXCSR_H ((volatile uint16_t *)REG_USB0_EP4_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_TXCSR_H ((volatile uint16_t *)REG_USB0_EP5_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_TXCSR_H ((volatile uint16_t *)REG_USB0_EP6_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_TXCSR_H ((volatile uint16_t *)REG_USB0_EP7_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_TXCSR_H ((volatile uint16_t *)REG_USB0_EP8_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_TXCSR_H ((volatile uint16_t *)REG_USB0_EP9_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_TXCSR_H ((volatile uint16_t *)REG_USB0_EP10_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_TXCSR_H ((volatile uint16_t *)REG_USB0_EP11_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_CSR0_P ((volatile uint16_t *)REG_USB0_EP0_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_TXCSR_P ((volatile uint16_t *)REG_USB0_EP0_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_TXCSR_P ((volatile uint16_t *)REG_USB0_EP1_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_TXCSR_P ((volatile uint16_t *)REG_USB0_EP2_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_TXCSR_P ((volatile uint16_t *)REG_USB0_EP3_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_TXCSR_P ((volatile uint16_t *)REG_USB0_EP4_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_TXCSR_P ((volatile uint16_t *)REG_USB0_EP5_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_TXCSR_P ((volatile uint16_t *)REG_USB0_EP6_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_TXCSR_P ((volatile uint16_t *)REG_USB0_EP7_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_TXCSR_P ((volatile uint16_t *)REG_USB0_EP8_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_TXCSR_P ((volatile uint16_t *)REG_USB0_EP9_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_TXCSR_P ((volatile uint16_t *)REG_USB0_EP10_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_TXCSR_P ((volatile uint16_t *)REG_USB0_EP11_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_RXMAXP ((volatile uint16_t *)REG_USB0_EP0_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP1_RXMAXP ((volatile uint16_t *)REG_USB0_EP1_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP2_RXMAXP ((volatile uint16_t *)REG_USB0_EP2_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP3_RXMAXP ((volatile uint16_t *)REG_USB0_EP3_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP4_RXMAXP ((volatile uint16_t *)REG_USB0_EP4_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP5_RXMAXP ((volatile uint16_t *)REG_USB0_EP5_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP6_RXMAXP ((volatile uint16_t *)REG_USB0_EP6_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP7_RXMAXP ((volatile uint16_t *)REG_USB0_EP7_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP8_RXMAXP ((volatile uint16_t *)REG_USB0_EP8_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP9_RXMAXP ((volatile uint16_t *)REG_USB0_EP9_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP10_RXMAXP ((volatile uint16_t *)REG_USB0_EP10_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP11_RXMAXP ((volatile uint16_t *)REG_USB0_EP11_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP0_RXCSR_H ((volatile uint16_t *)REG_USB0_EP0_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_RXCSR_H ((volatile uint16_t *)REG_USB0_EP1_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_RXCSR_H ((volatile uint16_t *)REG_USB0_EP2_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_RXCSR_H ((volatile uint16_t *)REG_USB0_EP3_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_RXCSR_H ((volatile uint16_t *)REG_USB0_EP4_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_RXCSR_H ((volatile uint16_t *)REG_USB0_EP5_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_RXCSR_H ((volatile uint16_t *)REG_USB0_EP6_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_RXCSR_H ((volatile uint16_t *)REG_USB0_EP7_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_RXCSR_H ((volatile uint16_t *)REG_USB0_EP8_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_RXCSR_H ((volatile uint16_t *)REG_USB0_EP9_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_RXCSR_H ((volatile uint16_t *)REG_USB0_EP10_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_RXCSR_H ((volatile uint16_t *)REG_USB0_EP11_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_RXCSR_P ((volatile uint16_t *)REG_USB0_EP0_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_RXCSR_P ((volatile uint16_t *)REG_USB0_EP1_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_RXCSR_P ((volatile uint16_t *)REG_USB0_EP2_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_RXCSR_P ((volatile uint16_t *)REG_USB0_EP3_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_RXCSR_P ((volatile uint16_t *)REG_USB0_EP4_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_RXCSR_P ((volatile uint16_t *)REG_USB0_EP5_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_RXCSR_P ((volatile uint16_t *)REG_USB0_EP6_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_RXCSR_P ((volatile uint16_t *)REG_USB0_EP7_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_RXCSR_P ((volatile uint16_t *)REG_USB0_EP8_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_RXCSR_P ((volatile uint16_t *)REG_USB0_EP9_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_RXCSR_P ((volatile uint16_t *)REG_USB0_EP10_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_RXCSR_P ((volatile uint16_t *)REG_USB0_EP11_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_CNT0 ((volatile uint16_t *)REG_USB0_EP0_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EP0_RXCNT ((volatile uint16_t *)REG_USB0_EP0_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP1_RXCNT ((volatile uint16_t *)REG_USB0_EP1_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP2_RXCNT ((volatile uint16_t *)REG_USB0_EP2_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP3_RXCNT ((volatile uint16_t *)REG_USB0_EP3_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP4_RXCNT ((volatile uint16_t *)REG_USB0_EP4_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP5_RXCNT ((volatile uint16_t *)REG_USB0_EP5_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP6_RXCNT ((volatile uint16_t *)REG_USB0_EP6_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP7_RXCNT ((volatile uint16_t *)REG_USB0_EP7_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP8_RXCNT ((volatile uint16_t *)REG_USB0_EP8_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP9_RXCNT ((volatile uint16_t *)REG_USB0_EP9_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP10_RXCNT ((volatile uint16_t *)REG_USB0_EP10_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP11_RXCNT ((volatile uint16_t *)REG_USB0_EP11_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP0_TYPE0 ((volatile uint8_t *)REG_USB0_EP0_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EP0_TXTYPE ((volatile uint8_t *)REG_USB0_EP0_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP1_TXTYPE ((volatile uint8_t *)REG_USB0_EP1_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP2_TXTYPE ((volatile uint8_t *)REG_USB0_EP2_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP3_TXTYPE ((volatile uint8_t *)REG_USB0_EP3_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP4_TXTYPE ((volatile uint8_t *)REG_USB0_EP4_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP5_TXTYPE ((volatile uint8_t *)REG_USB0_EP5_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP6_TXTYPE ((volatile uint8_t *)REG_USB0_EP6_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP7_TXTYPE ((volatile uint8_t *)REG_USB0_EP7_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP8_TXTYPE ((volatile uint8_t *)REG_USB0_EP8_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP9_TXTYPE ((volatile uint8_t *)REG_USB0_EP9_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP10_TXTYPE ((volatile uint8_t *)REG_USB0_EP10_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP11_TXTYPE ((volatile uint8_t *)REG_USB0_EP11_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EP0_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP1_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP2_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP3_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP4_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP5_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP6_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP7_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP8_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP9_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP10_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP11_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0_RXTYPE ((volatile uint8_t *)REG_USB0_EP0_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP1_RXTYPE ((volatile uint8_t *)REG_USB0_EP1_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP2_RXTYPE ((volatile uint8_t *)REG_USB0_EP2_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP3_RXTYPE ((volatile uint8_t *)REG_USB0_EP3_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP4_RXTYPE ((volatile uint8_t *)REG_USB0_EP4_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP5_RXTYPE ((volatile uint8_t *)REG_USB0_EP5_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP6_RXTYPE ((volatile uint8_t *)REG_USB0_EP6_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP7_RXTYPE ((volatile uint8_t *)REG_USB0_EP7_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP8_RXTYPE ((volatile uint8_t *)REG_USB0_EP8_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP9_RXTYPE ((volatile uint8_t *)REG_USB0_EP9_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP10_RXTYPE ((volatile uint8_t *)REG_USB0_EP10_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP11_RXTYPE ((volatile uint8_t *)REG_USB0_EP11_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP0_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP1_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP2_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP3_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP4_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP5_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP6_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP7_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP8_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP9_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP10_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP11_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_DMA_IRQ ((volatile uint8_t *)REG_USB0_DMA_IRQ) /* USB0 DMA Interrupt Register */
-#define pREG_USB0_DMA0_CTL ((volatile uint16_t *)REG_USB0_DMA0_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA1_CTL ((volatile uint16_t *)REG_USB0_DMA1_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA2_CTL ((volatile uint16_t *)REG_USB0_DMA2_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA3_CTL ((volatile uint16_t *)REG_USB0_DMA3_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA4_CTL ((volatile uint16_t *)REG_USB0_DMA4_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA5_CTL ((volatile uint16_t *)REG_USB0_DMA5_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA6_CTL ((volatile uint16_t *)REG_USB0_DMA6_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA7_CTL ((volatile uint16_t *)REG_USB0_DMA7_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA0_ADDR ((void * volatile *)REG_USB0_DMA0_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA1_ADDR ((void * volatile *)REG_USB0_DMA1_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA2_ADDR ((void * volatile *)REG_USB0_DMA2_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA3_ADDR ((void * volatile *)REG_USB0_DMA3_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA4_ADDR ((void * volatile *)REG_USB0_DMA4_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA5_ADDR ((void * volatile *)REG_USB0_DMA5_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA6_ADDR ((void * volatile *)REG_USB0_DMA6_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA7_ADDR ((void * volatile *)REG_USB0_DMA7_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA0_CNT ((volatile uint32_t *)REG_USB0_DMA0_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA1_CNT ((volatile uint32_t *)REG_USB0_DMA1_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA2_CNT ((volatile uint32_t *)REG_USB0_DMA2_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA3_CNT ((volatile uint32_t *)REG_USB0_DMA3_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA4_CNT ((volatile uint32_t *)REG_USB0_DMA4_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA5_CNT ((volatile uint32_t *)REG_USB0_DMA5_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA6_CNT ((volatile uint32_t *)REG_USB0_DMA6_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA7_CNT ((volatile uint32_t *)REG_USB0_DMA7_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_RQPKTCNT0 ((volatile uint16_t *)REG_USB0_RQPKTCNT0) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT1 ((volatile uint16_t *)REG_USB0_RQPKTCNT1) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT2 ((volatile uint16_t *)REG_USB0_RQPKTCNT2) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT3 ((volatile uint16_t *)REG_USB0_RQPKTCNT3) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT4 ((volatile uint16_t *)REG_USB0_RQPKTCNT4) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT5 ((volatile uint16_t *)REG_USB0_RQPKTCNT5) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT6 ((volatile uint16_t *)REG_USB0_RQPKTCNT6) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT7 ((volatile uint16_t *)REG_USB0_RQPKTCNT7) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT8 ((volatile uint16_t *)REG_USB0_RQPKTCNT8) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT9 ((volatile uint16_t *)REG_USB0_RQPKTCNT9) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT10 ((volatile uint16_t *)REG_USB0_RQPKTCNT10) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_CT_UCH ((volatile uint16_t *)REG_USB0_CT_UCH) /* USB0 Chirp Timeout Register */
-#define pREG_USB0_CT_HHSRTN ((volatile uint16_t *)REG_USB0_CT_HHSRTN) /* USB0 Host High Speed Return to Normal Register */
-#define pREG_USB0_CT_HSBT ((volatile uint16_t *)REG_USB0_CT_HSBT) /* USB0 High Speed Timeout Register */
-#define pREG_USB0_LPM_ATTR ((volatile uint16_t *)REG_USB0_LPM_ATTR) /* USB0 LPM Attribute Register */
-#define pREG_USB0_LPM_CTL ((volatile uint8_t *)REG_USB0_LPM_CTL) /* USB0 LPM Control Register */
-#define pREG_USB0_LPM_IEN ((volatile uint8_t *)REG_USB0_LPM_IEN) /* USB0 LPM Interrupt Enable Register */
-#define pREG_USB0_LPM_IRQ ((volatile uint8_t *)REG_USB0_LPM_IRQ) /* USB0 LPM Interrupt Status Register */
-#define pREG_USB0_LPM_FADDR ((volatile uint8_t *)REG_USB0_LPM_FADDR) /* USB0 LPM Function Address Register */
-#define pREG_USB0_VBUS_CTL ((volatile uint8_t *)REG_USB0_VBUS_CTL) /* USB0 VBUS Control Register */
-#define pREG_USB0_BAT_CHG ((volatile uint8_t *)REG_USB0_BAT_CHG) /* USB0 Battery Charging Control Register */
-#define pREG_USB0_PHY_CTL ((volatile uint8_t *)REG_USB0_PHY_CTL) /* USB0 PHY Control Register */
-#define pREG_USB0_PLL_OSC ((volatile uint16_t *)REG_USB0_PLL_OSC) /* USB0 PLL and Oscillator Control Register */
-
-
-/* =========================================================================
- L1DM0
- ========================================================================= */
-#define pSRAM_BASE_ADDRESS ((void * volatile *)SRAM_BASE_ADDRESS) /* SRAM Base Address */
-#define pDMEM_CONTROL ((volatile uint32_t *)DMEM_CONTROL) /* Data memory control */
-#define pDCPLB_STATUS ((volatile uint32_t *)DCPLB_STATUS) /* Data Cacheability Protection Lookaside Buffer Status */
-#define pDCPLB_FAULT_ADDR ((void * volatile *)DCPLB_FAULT_ADDR) /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define pDCPLB_ADDR0 ((void * volatile *)DCPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR1 ((void * volatile *)DCPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR2 ((void * volatile *)DCPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR3 ((void * volatile *)DCPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR4 ((void * volatile *)DCPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR5 ((void * volatile *)DCPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR6 ((void * volatile *)DCPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR7 ((void * volatile *)DCPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR8 ((void * volatile *)DCPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR9 ((void * volatile *)DCPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR10 ((void * volatile *)DCPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR11 ((void * volatile *)DCPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR12 ((void * volatile *)DCPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR13 ((void * volatile *)DCPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR14 ((void * volatile *)DCPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR15 ((void * volatile *)DCPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_DATA0 ((volatile uint32_t *)DCPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA1 ((volatile uint32_t *)DCPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA2 ((volatile uint32_t *)DCPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA3 ((volatile uint32_t *)DCPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA4 ((volatile uint32_t *)DCPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA5 ((volatile uint32_t *)DCPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA6 ((volatile uint32_t *)DCPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA7 ((volatile uint32_t *)DCPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA8 ((volatile uint32_t *)DCPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA9 ((volatile uint32_t *)DCPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA10 ((volatile uint32_t *)DCPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA11 ((volatile uint32_t *)DCPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA12 ((volatile uint32_t *)DCPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA13 ((volatile uint32_t *)DCPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA14 ((volatile uint32_t *)DCPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA15 ((volatile uint32_t *)DCPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDTEST_COMMAND ((volatile uint32_t *)DTEST_COMMAND) /* Data Test Command Register */
-#define pDTEST_DATA0 ((volatile uint32_t *)DTEST_DATA0) /* Data Test Data Register */
-#define pDTEST_DATA1 ((volatile uint32_t *)DTEST_DATA1) /* Data Test Data Register */
-#define pL1DBNKA_PELOC ((volatile uint32_t *)L1DBNKA_PELOC) /* Data Bank A Parity Error Location */
-#define pL1DBNKB_PELOC ((volatile uint32_t *)L1DBNKB_PELOC) /* Data Bank B Parity Error Location */
-
-
-/* =========================================================================
- L1IM0
- ========================================================================= */
-#define pIMEM_CONTROL ((volatile uint32_t *)IMEM_CONTROL) /* Instruction memory control */
-#define pICPLB_STATUS ((volatile uint32_t *)ICPLB_STATUS) /* Cacheability Protection Lookaside Buffer Status */
-#define pICPLB_FAULT_ADDR ((void * volatile *)ICPLB_FAULT_ADDR) /* Cacheability Protection Lookaside Buffer Fault Address */
-#define pICPLB_ADDR0 ((void * volatile *)ICPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR1 ((void * volatile *)ICPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR2 ((void * volatile *)ICPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR3 ((void * volatile *)ICPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR4 ((void * volatile *)ICPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR5 ((void * volatile *)ICPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR6 ((void * volatile *)ICPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR7 ((void * volatile *)ICPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR8 ((void * volatile *)ICPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR9 ((void * volatile *)ICPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR10 ((void * volatile *)ICPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR11 ((void * volatile *)ICPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR12 ((void * volatile *)ICPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR13 ((void * volatile *)ICPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR14 ((void * volatile *)ICPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR15 ((void * volatile *)ICPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_DATA0 ((volatile uint32_t *)ICPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA1 ((volatile uint32_t *)ICPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA2 ((volatile uint32_t *)ICPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA3 ((volatile uint32_t *)ICPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA4 ((volatile uint32_t *)ICPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA5 ((volatile uint32_t *)ICPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA6 ((volatile uint32_t *)ICPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA7 ((volatile uint32_t *)ICPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA8 ((volatile uint32_t *)ICPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA9 ((volatile uint32_t *)ICPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA10 ((volatile uint32_t *)ICPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA11 ((volatile uint32_t *)ICPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA12 ((volatile uint32_t *)ICPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA13 ((volatile uint32_t *)ICPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA14 ((volatile uint32_t *)ICPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA15 ((volatile uint32_t *)ICPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pITEST_COMMAND ((volatile uint32_t *)ITEST_COMMAND) /* Instruction Test Command Register */
-#define pITEST_DATA0 ((volatile uint32_t *)ITEST_DATA0) /* Instruction Test Data Register */
-#define pITEST_DATA1 ((volatile uint32_t *)ITEST_DATA1) /* Instruction Test Data Register */
-#define pL1IBNKA_PELOC ((volatile uint32_t *)L1IBNKA_PELOC) /* Instruction Bank A Parity Error Location */
-#define pL1IBNKB_PELOC ((volatile uint32_t *)L1IBNKB_PELOC) /* Instruction Bank B Parity Error Location */
-#define pL1IBNKC_PELOC ((volatile uint32_t *)L1IBNKC_PELOC) /* Instruction Bank C Parity Error Location */
-
-
-/* =========================================================================
- ICU0
- ========================================================================= */
-#define pEVT0 ((void * volatile *)EVT0) /* Event Vector */
-#define pEVT1 ((void * volatile *)EVT1) /* Event Vector */
-#define pEVT2 ((void * volatile *)EVT2) /* Event Vector */
-#define pEVT3 ((void * volatile *)EVT3) /* Event Vector */
-#define pEVT4 ((void * volatile *)EVT4) /* Event Vector */
-#define pEVT5 ((void * volatile *)EVT5) /* Event Vector */
-#define pEVT6 ((void * volatile *)EVT6) /* Event Vector */
-#define pEVT7 ((void * volatile *)EVT7) /* Event Vector */
-#define pEVT8 ((void * volatile *)EVT8) /* Event Vector */
-#define pEVT9 ((void * volatile *)EVT9) /* Event Vector */
-#define pEVT10 ((void * volatile *)EVT10) /* Event Vector */
-#define pEVT11 ((void * volatile *)EVT11) /* Event Vector */
-#define pEVT12 ((void * volatile *)EVT12) /* Event Vector */
-#define pEVT13 ((void * volatile *)EVT13) /* Event Vector */
-#define pEVT14 ((void * volatile *)EVT14) /* Event Vector */
-#define pEVT15 ((void * volatile *)EVT15) /* Event Vector */
-#define pIMASK ((volatile uint32_t *)IMASK) /* Interrupt Mask Register */
-#define pIPEND ((volatile uint32_t *)IPEND) /* Interrupts Pending Register */
-#define pILAT ((volatile uint32_t *)ILAT) /* Interrupt Latch Register */
-#define pIPRIO ((volatile uint32_t *)IPRIO) /* Interrupt Priority Register */
-#define pCEC_SID ((volatile uint32_t *)CEC_SID) /* Core System Interrupt ID */
-
-
-/* =========================================================================
- TMR0
- ========================================================================= */
-#define pTCNTL ((volatile uint32_t *)TCNTL) /* Timer Control Register */
-#define pTPERIOD ((volatile uint32_t *)TPERIOD) /* Timer Period Register */
-#define pTSCALE ((volatile uint32_t *)TSCALE) /* Timer Scale Register */
-#define pTCOUNT ((volatile uint32_t *)TCOUNT) /* Timer Count Register */
-
-
-/* =========================================================================
- DBG0
- ========================================================================= */
-#define pDSPID ((volatile uint32_t *)DSPID) /* DSP Identification Register */
-
-
-/* =========================================================================
- TB0
- ========================================================================= */
-#define pTBUFCTL ((volatile uint32_t *)TBUFCTL) /* Trace Buffer Control Register */
-#define pTBUFSTAT ((volatile uint32_t *)TBUFSTAT) /* Trace Buffer Status Register */
-#define pTBUF ((void * volatile *)TBUF) /* Trace Buffer */
-
-
-/* =========================================================================
- WP0
- ========================================================================= */
-#define pWPIACTL ((volatile uint32_t *)WPIACTL) /* Watchpoint Instruction Address Control Register 01 */
-#define pWPIA0 ((void * volatile *)WPIA0) /* Watchpoint Instruction Address Register */
-#define pWPIA1 ((void * volatile *)WPIA1) /* Watchpoint Instruction Address Register */
-#define pWPIA2 ((void * volatile *)WPIA2) /* Watchpoint Instruction Address Register */
-#define pWPIA3 ((void * volatile *)WPIA3) /* Watchpoint Instruction Address Register */
-#define pWPIA4 ((void * volatile *)WPIA4) /* Watchpoint Instruction Address Register */
-#define pWPIA5 ((void * volatile *)WPIA5) /* Watchpoint Instruction Address Register */
-#define pWPIACNT0 ((volatile uint32_t *)WPIACNT0) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT1 ((volatile uint32_t *)WPIACNT1) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT2 ((volatile uint32_t *)WPIACNT2) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT3 ((volatile uint32_t *)WPIACNT3) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT4 ((volatile uint32_t *)WPIACNT4) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT5 ((volatile uint32_t *)WPIACNT5) /* Watchpoint Instruction Address Count Register */
-#define pWPDACTL ((volatile uint32_t *)WPDACTL) /* Watchpoint Data Address Control Register */
-#define pWPDA0 ((void * volatile *)WPDA0) /* Watchpoint Data Address Register */
-#define pWPDA1 ((void * volatile *)WPDA1) /* Watchpoint Data Address Register */
-#define pWPDACNT0 ((volatile uint32_t *)WPDACNT0) /* Watchpoint Data Address Count Value Register */
-#define pWPDACNT1 ((volatile uint32_t *)WPDACNT1) /* Watchpoint Data Address Count Value Register */
-#define pWPSTAT ((volatile uint32_t *)WPSTAT) /* Watchpoint Status Register */
-
-
-/* =========================================================================
- PF0
- ========================================================================= */
-#define pPFCTL ((volatile uint32_t *)PFCTL) /* Performance Monitor Control Register */
-#define pPFCNTR0 ((volatile uint32_t *)PFCNTR0) /* Performance Monitor Counter 0 */
-#define pPFCNTR1 ((volatile uint32_t *)PFCNTR1) /* Performance Monitor Counter 1 */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* end ifndef _CDEF_BF607_H */
diff --git a/libgloss/bfin/include/cdefBF608.h b/libgloss/bfin/include/cdefBF608.h
deleted file mode 100644
index c7d8437..0000000
--- a/libgloss/bfin/include/cdefBF608.h
+++ /dev/null
@@ -1,4419 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* =========================================================================
-
- Project : ADSP-BF608
- File : cdefBF608.h
- Description : C register and bitfield definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ========================================================================= */
-#ifndef _CDEF_BF608_H
-#define _CDEF_BF608_H
-
-#include <stdint.h>
-#include <defBF608.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_7:"ADI header will re-use identifiers")
-#pragma diag(suppress:misra_rule_6_3:"ADI header allows use of basic types")
-#endif /* _MISRA_RULES */
-
-
-
-
-/* =========================================================================
- CNT0
- ========================================================================= */
-#define pREG_CNT0_CFG ((volatile uint16_t *)REG_CNT0_CFG) /* CNT0 Configuration Register */
-#define pREG_CNT0_IMSK ((volatile uint16_t *)REG_CNT0_IMSK) /* CNT0 Interrupt Mask Register */
-#define pREG_CNT0_STAT ((volatile uint16_t *)REG_CNT0_STAT) /* CNT0 Status Register */
-#define pREG_CNT0_CMD ((volatile uint16_t *)REG_CNT0_CMD) /* CNT0 Command Register */
-#define pREG_CNT0_DEBNCE ((volatile uint16_t *)REG_CNT0_DEBNCE) /* CNT0 Debounce Register */
-#define pREG_CNT0_CNTR ((volatile uint32_t *)REG_CNT0_CNTR) /* CNT0 Counter Register */
-#define pREG_CNT0_MAX ((volatile uint32_t *)REG_CNT0_MAX) /* CNT0 Maximum Count Register */
-#define pREG_CNT0_MIN ((volatile uint32_t *)REG_CNT0_MIN) /* CNT0 Minimum Count Register */
-
-
-/* =========================================================================
- RSI0
- ========================================================================= */
-#define pREG_RSI0_CTL ((volatile uint16_t *)REG_RSI0_CTL) /* RSI0 Control Register */
-#define pREG_RSI0_ARG ((volatile uint32_t *)REG_RSI0_ARG) /* RSI0 Argument Register */
-#define pREG_RSI0_CMD ((volatile uint16_t *)REG_RSI0_CMD) /* RSI0 Command Register */
-#define pREG_RSI0_RESP_CMD ((volatile uint16_t *)REG_RSI0_RESP_CMD) /* RSI0 Response Command Register */
-#define pREG_RSI0_RESP0 ((volatile uint32_t *)REG_RSI0_RESP0) /* RSI0 Response 0 Register */
-#define pREG_RSI0_RESP1 ((volatile uint32_t *)REG_RSI0_RESP1) /* RSI0 Response 1 Register */
-#define pREG_RSI0_RESP2 ((volatile uint32_t *)REG_RSI0_RESP2) /* RSI0 Response 2 Register */
-#define pREG_RSI0_RESP3 ((volatile uint32_t *)REG_RSI0_RESP3) /* RSI0 Response 3 Register */
-#define pREG_RSI0_DATA_TMR ((volatile uint32_t *)REG_RSI0_DATA_TMR) /* RSI0 Data Timer Register */
-#define pREG_RSI0_DATA_LEN ((volatile uint16_t *)REG_RSI0_DATA_LEN) /* RSI0 Data Length Register */
-#define pREG_RSI0_DATA_CTL ((volatile uint16_t *)REG_RSI0_DATA_CTL) /* RSI0 Data Control Register */
-#define pREG_RSI0_DATA_CNT ((volatile uint16_t *)REG_RSI0_DATA_CNT) /* RSI0 Data Count Register */
-#define pREG_RSI0_XFRSTAT ((volatile uint32_t *)REG_RSI0_XFRSTAT) /* RSI0 Status Register */
-#define pREG_RSI0_XFRSTAT_CLR ((volatile uint16_t *)REG_RSI0_XFRSTAT_CLR) /* RSI0 Status Clear Register */
-#define pREG_RSI0_XFR_IMSK0 ((volatile uint32_t *)REG_RSI0_XFR_IMSK0) /* RSI0 Interrupt 0 Mask Register */
-#define pREG_RSI0_XFR_IMSK1 ((volatile uint32_t *)REG_RSI0_XFR_IMSK1) /* RSI0 Interrupt 1 Mask Register */
-#define pREG_RSI0_FIFO_CNT ((volatile uint16_t *)REG_RSI0_FIFO_CNT) /* RSI0 FIFO Counter Register */
-#define pREG_RSI0_CEATA ((volatile uint32_t *)REG_RSI0_CEATA) /* RSI0 This register contains bit to dis CCS gen */
-#define pREG_RSI0_BOOT_TCNTR ((volatile uint16_t *)REG_RSI0_BOOT_TCNTR) /* RSI0 Boot Timing Counter Register */
-#define pREG_RSI0_BACK_TOUT ((volatile uint32_t *)REG_RSI0_BACK_TOUT) /* RSI0 Boot Acknowledge Timeout Register */
-#define pREG_RSI0_SLP_WKUP_TOUT ((volatile uint32_t *)REG_RSI0_SLP_WKUP_TOUT) /* RSI0 Sleep Wakeup Timeout Register */
-#define pREG_RSI0_BLKSZ ((volatile uint16_t *)REG_RSI0_BLKSZ) /* RSI0 Block Size Register */
-#define pREG_RSI0_FIFO ((volatile uint32_t *)REG_RSI0_FIFO) /* RSI0 Data FIFO Register */
-#define pREG_RSI0_STAT0 ((volatile uint32_t *)REG_RSI0_STAT0) /* RSI0 Exception Status Register */
-#define pREG_RSI0_IMSK0 ((volatile uint32_t *)REG_RSI0_IMSK0) /* RSI0 Exception Mask Register */
-#define pREG_RSI0_CFG ((volatile uint16_t *)REG_RSI0_CFG) /* RSI0 Configuration Register */
-#define pREG_RSI0_RD_WAIT ((volatile uint16_t *)REG_RSI0_RD_WAIT) /* RSI0 Read Wait Enable Register */
-#define pREG_RSI0_PID0 ((volatile uint32_t *)REG_RSI0_PID0) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID1 ((volatile uint32_t *)REG_RSI0_PID1) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID2 ((volatile uint32_t *)REG_RSI0_PID2) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID3 ((volatile uint32_t *)REG_RSI0_PID3) /* RSI0 Peripheral Identification Register */
-
-
-/* =========================================================================
- CAN0
- ========================================================================= */
-#define pREG_CAN0_MC1 ((volatile uint16_t *)REG_CAN0_MC1) /* CAN0 Mailbox Configuration 1 Register */
-#define pREG_CAN0_MD1 ((volatile uint16_t *)REG_CAN0_MD1) /* CAN0 Mailbox Direction 1 Register */
-#define pREG_CAN0_TRS1 ((volatile uint16_t *)REG_CAN0_TRS1) /* CAN0 Transmission Request Set 1 Register */
-#define pREG_CAN0_TRR1 ((volatile uint16_t *)REG_CAN0_TRR1) /* CAN0 Transmission Request Reset 1 Register */
-#define pREG_CAN0_TA1 ((volatile uint16_t *)REG_CAN0_TA1) /* CAN0 Transmission Acknowledge 1 Register */
-#define pREG_CAN0_AA1 ((volatile uint16_t *)REG_CAN0_AA1) /* CAN0 Abort Acknowledge 1 Register */
-#define pREG_CAN0_RMP1 ((volatile uint16_t *)REG_CAN0_RMP1) /* CAN0 Receive Message Pending 1 Register */
-#define pREG_CAN0_RML1 ((volatile uint16_t *)REG_CAN0_RML1) /* CAN0 Receive Message Lost 1 Register */
-#define pREG_CAN0_MBTIF1 ((volatile uint16_t *)REG_CAN0_MBTIF1) /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define pREG_CAN0_MBRIF1 ((volatile uint16_t *)REG_CAN0_MBRIF1) /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define pREG_CAN0_MBIM1 ((volatile uint16_t *)REG_CAN0_MBIM1) /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define pREG_CAN0_RFH1 ((volatile uint16_t *)REG_CAN0_RFH1) /* CAN0 Remote Frame Handling 1 Register */
-#define pREG_CAN0_OPSS1 ((volatile uint16_t *)REG_CAN0_OPSS1) /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define pREG_CAN0_MC2 ((volatile uint16_t *)REG_CAN0_MC2) /* CAN0 Mailbox Configuration 2 Register */
-#define pREG_CAN0_MD2 ((volatile uint16_t *)REG_CAN0_MD2) /* CAN0 Mailbox Direction 2 Register */
-#define pREG_CAN0_TRS2 ((volatile uint16_t *)REG_CAN0_TRS2) /* CAN0 Transmission Request Set 2 Register */
-#define pREG_CAN0_TRR2 ((volatile uint16_t *)REG_CAN0_TRR2) /* CAN0 Transmission Request Reset 2 Register */
-#define pREG_CAN0_TA2 ((volatile uint16_t *)REG_CAN0_TA2) /* CAN0 Transmission Acknowledge 2 Register */
-#define pREG_CAN0_AA2 ((volatile uint16_t *)REG_CAN0_AA2) /* CAN0 Abort Acknowledge 2 Register */
-#define pREG_CAN0_RMP2 ((volatile uint16_t *)REG_CAN0_RMP2) /* CAN0 Receive Message Pending 2 Register */
-#define pREG_CAN0_RML2 ((volatile uint16_t *)REG_CAN0_RML2) /* CAN0 Receive Message Lost 2 Register */
-#define pREG_CAN0_MBTIF2 ((volatile uint16_t *)REG_CAN0_MBTIF2) /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define pREG_CAN0_MBRIF2 ((volatile uint16_t *)REG_CAN0_MBRIF2) /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define pREG_CAN0_MBIM2 ((volatile uint16_t *)REG_CAN0_MBIM2) /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define pREG_CAN0_RFH2 ((volatile uint16_t *)REG_CAN0_RFH2) /* CAN0 Remote Frame Handling 2 Register */
-#define pREG_CAN0_OPSS2 ((volatile uint16_t *)REG_CAN0_OPSS2) /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define pREG_CAN0_CLK ((volatile uint16_t *)REG_CAN0_CLK) /* CAN0 Clock Register */
-#define pREG_CAN0_TIMING ((volatile uint16_t *)REG_CAN0_TIMING) /* CAN0 Timing Register */
-#define pREG_CAN0_DBG ((volatile uint16_t *)REG_CAN0_DBG) /* CAN0 Debug Register */
-#define pREG_CAN0_STAT ((volatile uint16_t *)REG_CAN0_STAT) /* CAN0 Status Register */
-#define pREG_CAN0_CEC ((volatile uint16_t *)REG_CAN0_CEC) /* CAN0 Error Counter Register */
-#define pREG_CAN0_GIS ((volatile uint16_t *)REG_CAN0_GIS) /* CAN0 Global CAN Interrupt Status Register */
-#define pREG_CAN0_GIM ((volatile uint16_t *)REG_CAN0_GIM) /* CAN0 Global CAN Interrupt Mask Register */
-#define pREG_CAN0_GIF ((volatile uint16_t *)REG_CAN0_GIF) /* CAN0 Global CAN Interrupt Flag Register */
-#define pREG_CAN0_CTL ((volatile uint16_t *)REG_CAN0_CTL) /* CAN0 CAN Master Control Register */
-#define pREG_CAN0_INT ((volatile uint16_t *)REG_CAN0_INT) /* CAN0 Interrupt Pending Register */
-#define pREG_CAN0_MBTD ((volatile uint16_t *)REG_CAN0_MBTD) /* CAN0 Temporary Mailbox Disable Register */
-#define pREG_CAN0_EWR ((volatile uint16_t *)REG_CAN0_EWR) /* CAN0 Error Counter Warning Level Register */
-#define pREG_CAN0_ESR ((volatile uint16_t *)REG_CAN0_ESR) /* CAN0 Error Status Register */
-#define pREG_CAN0_UCCNT ((volatile uint16_t *)REG_CAN0_UCCNT) /* CAN0 Universal Counter Register */
-#define pREG_CAN0_UCRC ((volatile uint16_t *)REG_CAN0_UCRC) /* CAN0 Universal Counter Reload/Capture Register */
-#define pREG_CAN0_UCCNF ((volatile uint16_t *)REG_CAN0_UCCNF) /* CAN0 Universal Counter Configuration Mode Register */
-#define pREG_CAN0_AM00L ((volatile uint16_t *)REG_CAN0_AM00L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM01L ((volatile uint16_t *)REG_CAN0_AM01L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM02L ((volatile uint16_t *)REG_CAN0_AM02L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM03L ((volatile uint16_t *)REG_CAN0_AM03L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM04L ((volatile uint16_t *)REG_CAN0_AM04L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM05L ((volatile uint16_t *)REG_CAN0_AM05L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM06L ((volatile uint16_t *)REG_CAN0_AM06L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM07L ((volatile uint16_t *)REG_CAN0_AM07L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM08L ((volatile uint16_t *)REG_CAN0_AM08L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM09L ((volatile uint16_t *)REG_CAN0_AM09L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM10L ((volatile uint16_t *)REG_CAN0_AM10L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM11L ((volatile uint16_t *)REG_CAN0_AM11L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM12L ((volatile uint16_t *)REG_CAN0_AM12L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM13L ((volatile uint16_t *)REG_CAN0_AM13L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM14L ((volatile uint16_t *)REG_CAN0_AM14L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM15L ((volatile uint16_t *)REG_CAN0_AM15L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM16L ((volatile uint16_t *)REG_CAN0_AM16L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM17L ((volatile uint16_t *)REG_CAN0_AM17L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM18L ((volatile uint16_t *)REG_CAN0_AM18L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM19L ((volatile uint16_t *)REG_CAN0_AM19L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM20L ((volatile uint16_t *)REG_CAN0_AM20L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM21L ((volatile uint16_t *)REG_CAN0_AM21L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM22L ((volatile uint16_t *)REG_CAN0_AM22L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM23L ((volatile uint16_t *)REG_CAN0_AM23L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM24L ((volatile uint16_t *)REG_CAN0_AM24L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM25L ((volatile uint16_t *)REG_CAN0_AM25L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM26L ((volatile uint16_t *)REG_CAN0_AM26L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM27L ((volatile uint16_t *)REG_CAN0_AM27L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM28L ((volatile uint16_t *)REG_CAN0_AM28L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM29L ((volatile uint16_t *)REG_CAN0_AM29L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM30L ((volatile uint16_t *)REG_CAN0_AM30L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM31L ((volatile uint16_t *)REG_CAN0_AM31L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM00H ((volatile uint16_t *)REG_CAN0_AM00H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM01H ((volatile uint16_t *)REG_CAN0_AM01H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM02H ((volatile uint16_t *)REG_CAN0_AM02H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM03H ((volatile uint16_t *)REG_CAN0_AM03H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM04H ((volatile uint16_t *)REG_CAN0_AM04H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM05H ((volatile uint16_t *)REG_CAN0_AM05H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM06H ((volatile uint16_t *)REG_CAN0_AM06H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM07H ((volatile uint16_t *)REG_CAN0_AM07H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM08H ((volatile uint16_t *)REG_CAN0_AM08H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM09H ((volatile uint16_t *)REG_CAN0_AM09H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM10H ((volatile uint16_t *)REG_CAN0_AM10H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM11H ((volatile uint16_t *)REG_CAN0_AM11H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM12H ((volatile uint16_t *)REG_CAN0_AM12H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM13H ((volatile uint16_t *)REG_CAN0_AM13H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM14H ((volatile uint16_t *)REG_CAN0_AM14H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM15H ((volatile uint16_t *)REG_CAN0_AM15H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM16H ((volatile uint16_t *)REG_CAN0_AM16H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM17H ((volatile uint16_t *)REG_CAN0_AM17H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM18H ((volatile uint16_t *)REG_CAN0_AM18H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM19H ((volatile uint16_t *)REG_CAN0_AM19H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM20H ((volatile uint16_t *)REG_CAN0_AM20H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM21H ((volatile uint16_t *)REG_CAN0_AM21H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM22H ((volatile uint16_t *)REG_CAN0_AM22H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM23H ((volatile uint16_t *)REG_CAN0_AM23H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM24H ((volatile uint16_t *)REG_CAN0_AM24H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM25H ((volatile uint16_t *)REG_CAN0_AM25H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM26H ((volatile uint16_t *)REG_CAN0_AM26H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM27H ((volatile uint16_t *)REG_CAN0_AM27H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM28H ((volatile uint16_t *)REG_CAN0_AM28H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM29H ((volatile uint16_t *)REG_CAN0_AM29H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM30H ((volatile uint16_t *)REG_CAN0_AM30H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM31H ((volatile uint16_t *)REG_CAN0_AM31H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_MB00_DATA0 ((volatile uint16_t *)REG_CAN0_MB00_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB01_DATA0 ((volatile uint16_t *)REG_CAN0_MB01_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB02_DATA0 ((volatile uint16_t *)REG_CAN0_MB02_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB03_DATA0 ((volatile uint16_t *)REG_CAN0_MB03_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB04_DATA0 ((volatile uint16_t *)REG_CAN0_MB04_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB05_DATA0 ((volatile uint16_t *)REG_CAN0_MB05_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB06_DATA0 ((volatile uint16_t *)REG_CAN0_MB06_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB07_DATA0 ((volatile uint16_t *)REG_CAN0_MB07_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB08_DATA0 ((volatile uint16_t *)REG_CAN0_MB08_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB09_DATA0 ((volatile uint16_t *)REG_CAN0_MB09_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB10_DATA0 ((volatile uint16_t *)REG_CAN0_MB10_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB11_DATA0 ((volatile uint16_t *)REG_CAN0_MB11_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB12_DATA0 ((volatile uint16_t *)REG_CAN0_MB12_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB13_DATA0 ((volatile uint16_t *)REG_CAN0_MB13_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB14_DATA0 ((volatile uint16_t *)REG_CAN0_MB14_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB15_DATA0 ((volatile uint16_t *)REG_CAN0_MB15_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB16_DATA0 ((volatile uint16_t *)REG_CAN0_MB16_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB17_DATA0 ((volatile uint16_t *)REG_CAN0_MB17_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB18_DATA0 ((volatile uint16_t *)REG_CAN0_MB18_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB19_DATA0 ((volatile uint16_t *)REG_CAN0_MB19_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB20_DATA0 ((volatile uint16_t *)REG_CAN0_MB20_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB21_DATA0 ((volatile uint16_t *)REG_CAN0_MB21_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB22_DATA0 ((volatile uint16_t *)REG_CAN0_MB22_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB23_DATA0 ((volatile uint16_t *)REG_CAN0_MB23_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB24_DATA0 ((volatile uint16_t *)REG_CAN0_MB24_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB25_DATA0 ((volatile uint16_t *)REG_CAN0_MB25_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB26_DATA0 ((volatile uint16_t *)REG_CAN0_MB26_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB27_DATA0 ((volatile uint16_t *)REG_CAN0_MB27_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB28_DATA0 ((volatile uint16_t *)REG_CAN0_MB28_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB29_DATA0 ((volatile uint16_t *)REG_CAN0_MB29_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB30_DATA0 ((volatile uint16_t *)REG_CAN0_MB30_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB31_DATA0 ((volatile uint16_t *)REG_CAN0_MB31_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB00_DATA1 ((volatile uint16_t *)REG_CAN0_MB00_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB01_DATA1 ((volatile uint16_t *)REG_CAN0_MB01_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB02_DATA1 ((volatile uint16_t *)REG_CAN0_MB02_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB03_DATA1 ((volatile uint16_t *)REG_CAN0_MB03_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB04_DATA1 ((volatile uint16_t *)REG_CAN0_MB04_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB05_DATA1 ((volatile uint16_t *)REG_CAN0_MB05_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB06_DATA1 ((volatile uint16_t *)REG_CAN0_MB06_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB07_DATA1 ((volatile uint16_t *)REG_CAN0_MB07_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB08_DATA1 ((volatile uint16_t *)REG_CAN0_MB08_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB09_DATA1 ((volatile uint16_t *)REG_CAN0_MB09_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB10_DATA1 ((volatile uint16_t *)REG_CAN0_MB10_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB11_DATA1 ((volatile uint16_t *)REG_CAN0_MB11_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB12_DATA1 ((volatile uint16_t *)REG_CAN0_MB12_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB13_DATA1 ((volatile uint16_t *)REG_CAN0_MB13_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB14_DATA1 ((volatile uint16_t *)REG_CAN0_MB14_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB15_DATA1 ((volatile uint16_t *)REG_CAN0_MB15_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB16_DATA1 ((volatile uint16_t *)REG_CAN0_MB16_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB17_DATA1 ((volatile uint16_t *)REG_CAN0_MB17_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB18_DATA1 ((volatile uint16_t *)REG_CAN0_MB18_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB19_DATA1 ((volatile uint16_t *)REG_CAN0_MB19_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB20_DATA1 ((volatile uint16_t *)REG_CAN0_MB20_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB21_DATA1 ((volatile uint16_t *)REG_CAN0_MB21_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB22_DATA1 ((volatile uint16_t *)REG_CAN0_MB22_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB23_DATA1 ((volatile uint16_t *)REG_CAN0_MB23_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB24_DATA1 ((volatile uint16_t *)REG_CAN0_MB24_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB25_DATA1 ((volatile uint16_t *)REG_CAN0_MB25_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB26_DATA1 ((volatile uint16_t *)REG_CAN0_MB26_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB27_DATA1 ((volatile uint16_t *)REG_CAN0_MB27_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB28_DATA1 ((volatile uint16_t *)REG_CAN0_MB28_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB29_DATA1 ((volatile uint16_t *)REG_CAN0_MB29_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB30_DATA1 ((volatile uint16_t *)REG_CAN0_MB30_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB31_DATA1 ((volatile uint16_t *)REG_CAN0_MB31_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB00_DATA2 ((volatile uint16_t *)REG_CAN0_MB00_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB01_DATA2 ((volatile uint16_t *)REG_CAN0_MB01_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB02_DATA2 ((volatile uint16_t *)REG_CAN0_MB02_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB03_DATA2 ((volatile uint16_t *)REG_CAN0_MB03_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB04_DATA2 ((volatile uint16_t *)REG_CAN0_MB04_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB05_DATA2 ((volatile uint16_t *)REG_CAN0_MB05_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB06_DATA2 ((volatile uint16_t *)REG_CAN0_MB06_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB07_DATA2 ((volatile uint16_t *)REG_CAN0_MB07_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB08_DATA2 ((volatile uint16_t *)REG_CAN0_MB08_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB09_DATA2 ((volatile uint16_t *)REG_CAN0_MB09_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB10_DATA2 ((volatile uint16_t *)REG_CAN0_MB10_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB11_DATA2 ((volatile uint16_t *)REG_CAN0_MB11_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB12_DATA2 ((volatile uint16_t *)REG_CAN0_MB12_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB13_DATA2 ((volatile uint16_t *)REG_CAN0_MB13_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB14_DATA2 ((volatile uint16_t *)REG_CAN0_MB14_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB15_DATA2 ((volatile uint16_t *)REG_CAN0_MB15_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB16_DATA2 ((volatile uint16_t *)REG_CAN0_MB16_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB17_DATA2 ((volatile uint16_t *)REG_CAN0_MB17_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB18_DATA2 ((volatile uint16_t *)REG_CAN0_MB18_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB19_DATA2 ((volatile uint16_t *)REG_CAN0_MB19_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB20_DATA2 ((volatile uint16_t *)REG_CAN0_MB20_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB21_DATA2 ((volatile uint16_t *)REG_CAN0_MB21_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB22_DATA2 ((volatile uint16_t *)REG_CAN0_MB22_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB23_DATA2 ((volatile uint16_t *)REG_CAN0_MB23_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB24_DATA2 ((volatile uint16_t *)REG_CAN0_MB24_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB25_DATA2 ((volatile uint16_t *)REG_CAN0_MB25_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB26_DATA2 ((volatile uint16_t *)REG_CAN0_MB26_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB27_DATA2 ((volatile uint16_t *)REG_CAN0_MB27_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB28_DATA2 ((volatile uint16_t *)REG_CAN0_MB28_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB29_DATA2 ((volatile uint16_t *)REG_CAN0_MB29_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB30_DATA2 ((volatile uint16_t *)REG_CAN0_MB30_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB31_DATA2 ((volatile uint16_t *)REG_CAN0_MB31_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB00_DATA3 ((volatile uint16_t *)REG_CAN0_MB00_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB01_DATA3 ((volatile uint16_t *)REG_CAN0_MB01_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB02_DATA3 ((volatile uint16_t *)REG_CAN0_MB02_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB03_DATA3 ((volatile uint16_t *)REG_CAN0_MB03_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB04_DATA3 ((volatile uint16_t *)REG_CAN0_MB04_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB05_DATA3 ((volatile uint16_t *)REG_CAN0_MB05_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB06_DATA3 ((volatile uint16_t *)REG_CAN0_MB06_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB07_DATA3 ((volatile uint16_t *)REG_CAN0_MB07_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB08_DATA3 ((volatile uint16_t *)REG_CAN0_MB08_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB09_DATA3 ((volatile uint16_t *)REG_CAN0_MB09_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB10_DATA3 ((volatile uint16_t *)REG_CAN0_MB10_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB11_DATA3 ((volatile uint16_t *)REG_CAN0_MB11_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB12_DATA3 ((volatile uint16_t *)REG_CAN0_MB12_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB13_DATA3 ((volatile uint16_t *)REG_CAN0_MB13_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB14_DATA3 ((volatile uint16_t *)REG_CAN0_MB14_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB15_DATA3 ((volatile uint16_t *)REG_CAN0_MB15_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB16_DATA3 ((volatile uint16_t *)REG_CAN0_MB16_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB17_DATA3 ((volatile uint16_t *)REG_CAN0_MB17_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB18_DATA3 ((volatile uint16_t *)REG_CAN0_MB18_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB19_DATA3 ((volatile uint16_t *)REG_CAN0_MB19_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB20_DATA3 ((volatile uint16_t *)REG_CAN0_MB20_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB21_DATA3 ((volatile uint16_t *)REG_CAN0_MB21_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB22_DATA3 ((volatile uint16_t *)REG_CAN0_MB22_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB23_DATA3 ((volatile uint16_t *)REG_CAN0_MB23_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB24_DATA3 ((volatile uint16_t *)REG_CAN0_MB24_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB25_DATA3 ((volatile uint16_t *)REG_CAN0_MB25_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB26_DATA3 ((volatile uint16_t *)REG_CAN0_MB26_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB27_DATA3 ((volatile uint16_t *)REG_CAN0_MB27_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB28_DATA3 ((volatile uint16_t *)REG_CAN0_MB28_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB29_DATA3 ((volatile uint16_t *)REG_CAN0_MB29_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB30_DATA3 ((volatile uint16_t *)REG_CAN0_MB30_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB31_DATA3 ((volatile uint16_t *)REG_CAN0_MB31_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB00_LENGTH ((volatile uint16_t *)REG_CAN0_MB00_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB01_LENGTH ((volatile uint16_t *)REG_CAN0_MB01_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB02_LENGTH ((volatile uint16_t *)REG_CAN0_MB02_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB03_LENGTH ((volatile uint16_t *)REG_CAN0_MB03_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB04_LENGTH ((volatile uint16_t *)REG_CAN0_MB04_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB05_LENGTH ((volatile uint16_t *)REG_CAN0_MB05_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB06_LENGTH ((volatile uint16_t *)REG_CAN0_MB06_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB07_LENGTH ((volatile uint16_t *)REG_CAN0_MB07_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB08_LENGTH ((volatile uint16_t *)REG_CAN0_MB08_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB09_LENGTH ((volatile uint16_t *)REG_CAN0_MB09_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB10_LENGTH ((volatile uint16_t *)REG_CAN0_MB10_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB11_LENGTH ((volatile uint16_t *)REG_CAN0_MB11_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB12_LENGTH ((volatile uint16_t *)REG_CAN0_MB12_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB13_LENGTH ((volatile uint16_t *)REG_CAN0_MB13_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB14_LENGTH ((volatile uint16_t *)REG_CAN0_MB14_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB15_LENGTH ((volatile uint16_t *)REG_CAN0_MB15_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB16_LENGTH ((volatile uint16_t *)REG_CAN0_MB16_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB17_LENGTH ((volatile uint16_t *)REG_CAN0_MB17_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB18_LENGTH ((volatile uint16_t *)REG_CAN0_MB18_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB19_LENGTH ((volatile uint16_t *)REG_CAN0_MB19_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB20_LENGTH ((volatile uint16_t *)REG_CAN0_MB20_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB21_LENGTH ((volatile uint16_t *)REG_CAN0_MB21_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB22_LENGTH ((volatile uint16_t *)REG_CAN0_MB22_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB23_LENGTH ((volatile uint16_t *)REG_CAN0_MB23_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB24_LENGTH ((volatile uint16_t *)REG_CAN0_MB24_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB25_LENGTH ((volatile uint16_t *)REG_CAN0_MB25_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB26_LENGTH ((volatile uint16_t *)REG_CAN0_MB26_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB27_LENGTH ((volatile uint16_t *)REG_CAN0_MB27_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB28_LENGTH ((volatile uint16_t *)REG_CAN0_MB28_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB29_LENGTH ((volatile uint16_t *)REG_CAN0_MB29_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB30_LENGTH ((volatile uint16_t *)REG_CAN0_MB30_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB31_LENGTH ((volatile uint16_t *)REG_CAN0_MB31_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB00_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB00_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB01_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB01_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB02_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB02_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB03_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB03_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB04_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB04_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB05_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB05_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB06_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB06_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB07_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB07_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB08_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB08_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB09_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB09_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB10_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB10_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB11_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB11_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB12_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB12_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB13_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB13_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB14_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB14_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB15_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB15_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB16_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB16_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB17_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB17_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB18_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB18_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB19_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB19_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB20_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB20_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB21_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB21_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB22_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB22_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB23_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB23_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB24_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB24_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB25_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB25_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB26_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB26_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB27_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB27_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB28_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB28_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB29_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB29_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB30_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB30_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB31_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB31_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB00_ID0 ((volatile uint16_t *)REG_CAN0_MB00_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB01_ID0 ((volatile uint16_t *)REG_CAN0_MB01_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB02_ID0 ((volatile uint16_t *)REG_CAN0_MB02_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB03_ID0 ((volatile uint16_t *)REG_CAN0_MB03_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB04_ID0 ((volatile uint16_t *)REG_CAN0_MB04_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB05_ID0 ((volatile uint16_t *)REG_CAN0_MB05_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB06_ID0 ((volatile uint16_t *)REG_CAN0_MB06_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB07_ID0 ((volatile uint16_t *)REG_CAN0_MB07_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB08_ID0 ((volatile uint16_t *)REG_CAN0_MB08_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB09_ID0 ((volatile uint16_t *)REG_CAN0_MB09_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB10_ID0 ((volatile uint16_t *)REG_CAN0_MB10_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB11_ID0 ((volatile uint16_t *)REG_CAN0_MB11_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB12_ID0 ((volatile uint16_t *)REG_CAN0_MB12_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB13_ID0 ((volatile uint16_t *)REG_CAN0_MB13_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB14_ID0 ((volatile uint16_t *)REG_CAN0_MB14_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB15_ID0 ((volatile uint16_t *)REG_CAN0_MB15_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB16_ID0 ((volatile uint16_t *)REG_CAN0_MB16_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB17_ID0 ((volatile uint16_t *)REG_CAN0_MB17_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB18_ID0 ((volatile uint16_t *)REG_CAN0_MB18_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB19_ID0 ((volatile uint16_t *)REG_CAN0_MB19_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB20_ID0 ((volatile uint16_t *)REG_CAN0_MB20_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB21_ID0 ((volatile uint16_t *)REG_CAN0_MB21_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB22_ID0 ((volatile uint16_t *)REG_CAN0_MB22_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB23_ID0 ((volatile uint16_t *)REG_CAN0_MB23_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB24_ID0 ((volatile uint16_t *)REG_CAN0_MB24_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB25_ID0 ((volatile uint16_t *)REG_CAN0_MB25_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB26_ID0 ((volatile uint16_t *)REG_CAN0_MB26_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB27_ID0 ((volatile uint16_t *)REG_CAN0_MB27_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB28_ID0 ((volatile uint16_t *)REG_CAN0_MB28_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB29_ID0 ((volatile uint16_t *)REG_CAN0_MB29_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB30_ID0 ((volatile uint16_t *)REG_CAN0_MB30_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB31_ID0 ((volatile uint16_t *)REG_CAN0_MB31_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB00_ID1 ((volatile uint16_t *)REG_CAN0_MB00_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB01_ID1 ((volatile uint16_t *)REG_CAN0_MB01_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB02_ID1 ((volatile uint16_t *)REG_CAN0_MB02_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB03_ID1 ((volatile uint16_t *)REG_CAN0_MB03_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB04_ID1 ((volatile uint16_t *)REG_CAN0_MB04_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB05_ID1 ((volatile uint16_t *)REG_CAN0_MB05_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB06_ID1 ((volatile uint16_t *)REG_CAN0_MB06_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB07_ID1 ((volatile uint16_t *)REG_CAN0_MB07_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB08_ID1 ((volatile uint16_t *)REG_CAN0_MB08_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB09_ID1 ((volatile uint16_t *)REG_CAN0_MB09_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB10_ID1 ((volatile uint16_t *)REG_CAN0_MB10_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB11_ID1 ((volatile uint16_t *)REG_CAN0_MB11_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB12_ID1 ((volatile uint16_t *)REG_CAN0_MB12_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB13_ID1 ((volatile uint16_t *)REG_CAN0_MB13_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB14_ID1 ((volatile uint16_t *)REG_CAN0_MB14_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB15_ID1 ((volatile uint16_t *)REG_CAN0_MB15_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB16_ID1 ((volatile uint16_t *)REG_CAN0_MB16_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB17_ID1 ((volatile uint16_t *)REG_CAN0_MB17_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB18_ID1 ((volatile uint16_t *)REG_CAN0_MB18_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB19_ID1 ((volatile uint16_t *)REG_CAN0_MB19_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB20_ID1 ((volatile uint16_t *)REG_CAN0_MB20_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB21_ID1 ((volatile uint16_t *)REG_CAN0_MB21_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB22_ID1 ((volatile uint16_t *)REG_CAN0_MB22_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB23_ID1 ((volatile uint16_t *)REG_CAN0_MB23_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB24_ID1 ((volatile uint16_t *)REG_CAN0_MB24_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB25_ID1 ((volatile uint16_t *)REG_CAN0_MB25_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB26_ID1 ((volatile uint16_t *)REG_CAN0_MB26_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB27_ID1 ((volatile uint16_t *)REG_CAN0_MB27_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB28_ID1 ((volatile uint16_t *)REG_CAN0_MB28_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB29_ID1 ((volatile uint16_t *)REG_CAN0_MB29_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB30_ID1 ((volatile uint16_t *)REG_CAN0_MB30_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB31_ID1 ((volatile uint16_t *)REG_CAN0_MB31_ID1) /* CAN0 Mailbox ID 1 Register */
-
-
-/* =========================================================================
- LP0
- ========================================================================= */
-#define pREG_LP0_CTL ((volatile uint32_t *)REG_LP0_CTL) /* LP0 Control Register */
-#define pREG_LP0_STAT ((volatile uint32_t *)REG_LP0_STAT) /* LP0 Status Register */
-#define pREG_LP0_DIV ((volatile uint32_t *)REG_LP0_DIV) /* LP0 Clock Divider Value */
-#define pREG_LP0_TX ((volatile uint32_t *)REG_LP0_TX) /* LP0 Transmit Buffer */
-#define pREG_LP0_RX ((volatile uint32_t *)REG_LP0_RX) /* LP0 Receive Buffer */
-#define pREG_LP0_TXIN_SHDW ((volatile uint32_t *)REG_LP0_TXIN_SHDW) /* LP0 Shadow Input Transmit Buffer */
-#define pREG_LP0_TXOUT_SHDW ((volatile uint32_t *)REG_LP0_TXOUT_SHDW) /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP1
- ========================================================================= */
-#define pREG_LP1_CTL ((volatile uint32_t *)REG_LP1_CTL) /* LP1 Control Register */
-#define pREG_LP1_STAT ((volatile uint32_t *)REG_LP1_STAT) /* LP1 Status Register */
-#define pREG_LP1_DIV ((volatile uint32_t *)REG_LP1_DIV) /* LP1 Clock Divider Value */
-#define pREG_LP1_TX ((volatile uint32_t *)REG_LP1_TX) /* LP1 Transmit Buffer */
-#define pREG_LP1_RX ((volatile uint32_t *)REG_LP1_RX) /* LP1 Receive Buffer */
-#define pREG_LP1_TXIN_SHDW ((volatile uint32_t *)REG_LP1_TXIN_SHDW) /* LP1 Shadow Input Transmit Buffer */
-#define pREG_LP1_TXOUT_SHDW ((volatile uint32_t *)REG_LP1_TXOUT_SHDW) /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP2
- ========================================================================= */
-#define pREG_LP2_CTL ((volatile uint32_t *)REG_LP2_CTL) /* LP2 Control Register */
-#define pREG_LP2_STAT ((volatile uint32_t *)REG_LP2_STAT) /* LP2 Status Register */
-#define pREG_LP2_DIV ((volatile uint32_t *)REG_LP2_DIV) /* LP2 Clock Divider Value */
-#define pREG_LP2_TX ((volatile uint32_t *)REG_LP2_TX) /* LP2 Transmit Buffer */
-#define pREG_LP2_RX ((volatile uint32_t *)REG_LP2_RX) /* LP2 Receive Buffer */
-#define pREG_LP2_TXIN_SHDW ((volatile uint32_t *)REG_LP2_TXIN_SHDW) /* LP2 Shadow Input Transmit Buffer */
-#define pREG_LP2_TXOUT_SHDW ((volatile uint32_t *)REG_LP2_TXOUT_SHDW) /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP3
- ========================================================================= */
-#define pREG_LP3_CTL ((volatile uint32_t *)REG_LP3_CTL) /* LP3 Control Register */
-#define pREG_LP3_STAT ((volatile uint32_t *)REG_LP3_STAT) /* LP3 Status Register */
-#define pREG_LP3_DIV ((volatile uint32_t *)REG_LP3_DIV) /* LP3 Clock Divider Value */
-#define pREG_LP3_TX ((volatile uint32_t *)REG_LP3_TX) /* LP3 Transmit Buffer */
-#define pREG_LP3_RX ((volatile uint32_t *)REG_LP3_RX) /* LP3 Receive Buffer */
-#define pREG_LP3_TXIN_SHDW ((volatile uint32_t *)REG_LP3_TXIN_SHDW) /* LP3 Shadow Input Transmit Buffer */
-#define pREG_LP3_TXOUT_SHDW ((volatile uint32_t *)REG_LP3_TXOUT_SHDW) /* LP3 Shadow Output Transmit Buffer */
-
-
-/* =========================================================================
- TIMER0
- ========================================================================= */
-#define pREG_TIMER0_REVID ((volatile uint16_t *)REG_TIMER0_REVID) /* TIMER0 Revision ID Register */
-#define pREG_TIMER0_RUN ((volatile uint16_t *)REG_TIMER0_RUN) /* TIMER0 Run Register */
-#define pREG_TIMER0_RUN_SET ((volatile uint16_t *)REG_TIMER0_RUN_SET) /* TIMER0 Run Set Register */
-#define pREG_TIMER0_RUN_CLR ((volatile uint16_t *)REG_TIMER0_RUN_CLR) /* TIMER0 Run Clear Register */
-#define pREG_TIMER0_STOP_CFG ((volatile uint16_t *)REG_TIMER0_STOP_CFG) /* TIMER0 Stop Configuration Register */
-#define pREG_TIMER0_STOP_CFG_SET ((volatile uint16_t *)REG_TIMER0_STOP_CFG_SET) /* TIMER0 Stop Configuration Set Register */
-#define pREG_TIMER0_STOP_CFG_CLR ((volatile uint16_t *)REG_TIMER0_STOP_CFG_CLR) /* TIMER0 Stop Configuration Clear Register */
-#define pREG_TIMER0_DATA_IMSK ((volatile uint16_t *)REG_TIMER0_DATA_IMSK) /* TIMER0 Data Interrupt Mask Register */
-#define pREG_TIMER0_STAT_IMSK ((volatile uint16_t *)REG_TIMER0_STAT_IMSK) /* TIMER0 Status Interrupt Mask Register */
-#define pREG_TIMER0_TRG_MSK ((volatile uint16_t *)REG_TIMER0_TRG_MSK) /* TIMER0 Trigger Master Mask Register */
-#define pREG_TIMER0_TRG_IE ((volatile uint16_t *)REG_TIMER0_TRG_IE) /* TIMER0 Trigger Slave Enable Register */
-#define pREG_TIMER0_DATA_ILAT ((volatile uint16_t *)REG_TIMER0_DATA_ILAT) /* TIMER0 Data Interrupt Latch Register */
-#define pREG_TIMER0_STAT_ILAT ((volatile uint16_t *)REG_TIMER0_STAT_ILAT) /* TIMER0 Status Interrupt Latch Register */
-#define pREG_TIMER0_ERR_TYPE ((volatile uint32_t *)REG_TIMER0_ERR_TYPE) /* TIMER0 Error Type Status Register */
-#define pREG_TIMER0_BCAST_PER ((volatile uint32_t *)REG_TIMER0_BCAST_PER) /* TIMER0 Broadcast Period Register */
-#define pREG_TIMER0_BCAST_WID ((volatile uint32_t *)REG_TIMER0_BCAST_WID) /* TIMER0 Broadcast Width Register */
-#define pREG_TIMER0_BCAST_DLY ((volatile uint32_t *)REG_TIMER0_BCAST_DLY) /* TIMER0 Broadcast Delay Register */
-#define pREG_TIMER0_TMR0_CFG ((volatile uint16_t *)REG_TIMER0_TMR0_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR1_CFG ((volatile uint16_t *)REG_TIMER0_TMR1_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR2_CFG ((volatile uint16_t *)REG_TIMER0_TMR2_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR3_CFG ((volatile uint16_t *)REG_TIMER0_TMR3_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR4_CFG ((volatile uint16_t *)REG_TIMER0_TMR4_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR5_CFG ((volatile uint16_t *)REG_TIMER0_TMR5_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR6_CFG ((volatile uint16_t *)REG_TIMER0_TMR6_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR7_CFG ((volatile uint16_t *)REG_TIMER0_TMR7_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR0_CNT ((volatile uint32_t *)REG_TIMER0_TMR0_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR1_CNT ((volatile uint32_t *)REG_TIMER0_TMR1_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR2_CNT ((volatile uint32_t *)REG_TIMER0_TMR2_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR3_CNT ((volatile uint32_t *)REG_TIMER0_TMR3_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR4_CNT ((volatile uint32_t *)REG_TIMER0_TMR4_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR5_CNT ((volatile uint32_t *)REG_TIMER0_TMR5_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR6_CNT ((volatile uint32_t *)REG_TIMER0_TMR6_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR7_CNT ((volatile uint32_t *)REG_TIMER0_TMR7_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR0_PER ((volatile uint32_t *)REG_TIMER0_TMR0_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR1_PER ((volatile uint32_t *)REG_TIMER0_TMR1_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR2_PER ((volatile uint32_t *)REG_TIMER0_TMR2_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR3_PER ((volatile uint32_t *)REG_TIMER0_TMR3_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR4_PER ((volatile uint32_t *)REG_TIMER0_TMR4_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR5_PER ((volatile uint32_t *)REG_TIMER0_TMR5_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR6_PER ((volatile uint32_t *)REG_TIMER0_TMR6_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR7_PER ((volatile uint32_t *)REG_TIMER0_TMR7_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR0_WID ((volatile uint32_t *)REG_TIMER0_TMR0_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR1_WID ((volatile uint32_t *)REG_TIMER0_TMR1_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR2_WID ((volatile uint32_t *)REG_TIMER0_TMR2_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR3_WID ((volatile uint32_t *)REG_TIMER0_TMR3_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR4_WID ((volatile uint32_t *)REG_TIMER0_TMR4_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR5_WID ((volatile uint32_t *)REG_TIMER0_TMR5_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR6_WID ((volatile uint32_t *)REG_TIMER0_TMR6_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR7_WID ((volatile uint32_t *)REG_TIMER0_TMR7_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR0_DLY ((volatile uint32_t *)REG_TIMER0_TMR0_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR1_DLY ((volatile uint32_t *)REG_TIMER0_TMR1_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR2_DLY ((volatile uint32_t *)REG_TIMER0_TMR2_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR3_DLY ((volatile uint32_t *)REG_TIMER0_TMR3_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR4_DLY ((volatile uint32_t *)REG_TIMER0_TMR4_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR5_DLY ((volatile uint32_t *)REG_TIMER0_TMR5_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR6_DLY ((volatile uint32_t *)REG_TIMER0_TMR6_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR7_DLY ((volatile uint32_t *)REG_TIMER0_TMR7_DLY) /* TIMER0 Timer n Delay Register */
-
-
-/* =========================================================================
- CRC0
- ========================================================================= */
-#define pREG_CRC0_CTL ((volatile uint32_t *)REG_CRC0_CTL) /* CRC0 Control Register */
-#define pREG_CRC0_DCNT ((volatile uint32_t *)REG_CRC0_DCNT) /* CRC0 Data Word Count Register */
-#define pREG_CRC0_DCNTRLD ((volatile uint32_t *)REG_CRC0_DCNTRLD) /* CRC0 Data Word Count Reload Register */
-#define pREG_CRC0_COMP ((volatile uint32_t *)REG_CRC0_COMP) /* CRC0 Data Compare Register */
-#define pREG_CRC0_FILLVAL ((volatile uint32_t *)REG_CRC0_FILLVAL) /* CRC0 Fill Value Register */
-#define pREG_CRC0_DFIFO ((volatile uint32_t *)REG_CRC0_DFIFO) /* CRC0 Data FIFO Register */
-#define pREG_CRC0_INEN ((volatile uint32_t *)REG_CRC0_INEN) /* CRC0 Interrupt Enable Register */
-#define pREG_CRC0_INEN_SET ((volatile uint32_t *)REG_CRC0_INEN_SET) /* CRC0 Interrupt Enable Set Register */
-#define pREG_CRC0_INEN_CLR ((volatile uint32_t *)REG_CRC0_INEN_CLR) /* CRC0 Interrupt Enable Clear Register */
-#define pREG_CRC0_POLY ((volatile uint32_t *)REG_CRC0_POLY) /* CRC0 Polynomial Register */
-#define pREG_CRC0_STAT ((volatile uint32_t *)REG_CRC0_STAT) /* CRC0 Status Register */
-#define pREG_CRC0_DCNTCAP ((volatile uint32_t *)REG_CRC0_DCNTCAP) /* CRC0 Data Count Capture Register */
-#define pREG_CRC0_RESULT_FIN ((volatile uint32_t *)REG_CRC0_RESULT_FIN) /* CRC0 CRC Final Result Register */
-#define pREG_CRC0_RESULT_CUR ((volatile uint32_t *)REG_CRC0_RESULT_CUR) /* CRC0 CRC Current Result Register */
-#define pREG_CRC0_REVID ((volatile uint32_t *)REG_CRC0_REVID) /* CRC0 Revision ID Register */
-
-/* =========================================================================
- CRC1
- ========================================================================= */
-#define pREG_CRC1_CTL ((volatile uint32_t *)REG_CRC1_CTL) /* CRC1 Control Register */
-#define pREG_CRC1_DCNT ((volatile uint32_t *)REG_CRC1_DCNT) /* CRC1 Data Word Count Register */
-#define pREG_CRC1_DCNTRLD ((volatile uint32_t *)REG_CRC1_DCNTRLD) /* CRC1 Data Word Count Reload Register */
-#define pREG_CRC1_COMP ((volatile uint32_t *)REG_CRC1_COMP) /* CRC1 Data Compare Register */
-#define pREG_CRC1_FILLVAL ((volatile uint32_t *)REG_CRC1_FILLVAL) /* CRC1 Fill Value Register */
-#define pREG_CRC1_DFIFO ((volatile uint32_t *)REG_CRC1_DFIFO) /* CRC1 Data FIFO Register */
-#define pREG_CRC1_INEN ((volatile uint32_t *)REG_CRC1_INEN) /* CRC1 Interrupt Enable Register */
-#define pREG_CRC1_INEN_SET ((volatile uint32_t *)REG_CRC1_INEN_SET) /* CRC1 Interrupt Enable Set Register */
-#define pREG_CRC1_INEN_CLR ((volatile uint32_t *)REG_CRC1_INEN_CLR) /* CRC1 Interrupt Enable Clear Register */
-#define pREG_CRC1_POLY ((volatile uint32_t *)REG_CRC1_POLY) /* CRC1 Polynomial Register */
-#define pREG_CRC1_STAT ((volatile uint32_t *)REG_CRC1_STAT) /* CRC1 Status Register */
-#define pREG_CRC1_DCNTCAP ((volatile uint32_t *)REG_CRC1_DCNTCAP) /* CRC1 Data Count Capture Register */
-#define pREG_CRC1_RESULT_FIN ((volatile uint32_t *)REG_CRC1_RESULT_FIN) /* CRC1 CRC Final Result Register */
-#define pREG_CRC1_RESULT_CUR ((volatile uint32_t *)REG_CRC1_RESULT_CUR) /* CRC1 CRC Current Result Register */
-#define pREG_CRC1_REVID ((volatile uint32_t *)REG_CRC1_REVID) /* CRC1 Revision ID Register */
-
-
-/* =========================================================================
- TWI0
- ========================================================================= */
-#define pREG_TWI0_CLKDIV ((volatile uint16_t *)REG_TWI0_CLKDIV) /* TWI0 SCL Clock Divider Register */
-#define pREG_TWI0_CTL ((volatile uint16_t *)REG_TWI0_CTL) /* TWI0 Control Register */
-#define pREG_TWI0_SLVCTL ((volatile uint16_t *)REG_TWI0_SLVCTL) /* TWI0 Slave Mode Control Register */
-#define pREG_TWI0_SLVSTAT ((volatile uint16_t *)REG_TWI0_SLVSTAT) /* TWI0 Slave Mode Status Register */
-#define pREG_TWI0_SLVADDR ((volatile uint16_t *)REG_TWI0_SLVADDR) /* TWI0 Slave Mode Address Register */
-#define pREG_TWI0_MSTRCTL ((volatile uint16_t *)REG_TWI0_MSTRCTL) /* TWI0 Master Mode Control Registers */
-#define pREG_TWI0_MSTRSTAT ((volatile uint16_t *)REG_TWI0_MSTRSTAT) /* TWI0 Master Mode Status Register */
-#define pREG_TWI0_MSTRADDR ((volatile uint16_t *)REG_TWI0_MSTRADDR) /* TWI0 Master Mode Address Register */
-#define pREG_TWI0_ISTAT ((volatile uint16_t *)REG_TWI0_ISTAT) /* TWI0 Interrupt Status Register */
-#define pREG_TWI0_IMSK ((volatile uint16_t *)REG_TWI0_IMSK) /* TWI0 Interrupt Mask Register */
-#define pREG_TWI0_FIFOCTL ((volatile uint16_t *)REG_TWI0_FIFOCTL) /* TWI0 FIFO Control Register */
-#define pREG_TWI0_FIFOSTAT ((volatile uint16_t *)REG_TWI0_FIFOSTAT) /* TWI0 FIFO Status Register */
-#define pREG_TWI0_TXDATA8 ((volatile uint16_t *)REG_TWI0_TXDATA8) /* TWI0 Tx Data Single-Byte Register */
-#define pREG_TWI0_TXDATA16 ((volatile uint16_t *)REG_TWI0_TXDATA16) /* TWI0 Tx Data Double-Byte Register */
-#define pREG_TWI0_RXDATA8 ((volatile uint16_t *)REG_TWI0_RXDATA8) /* TWI0 Rx Data Single-Byte Register */
-#define pREG_TWI0_RXDATA16 ((volatile uint16_t *)REG_TWI0_RXDATA16) /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================================================================
- TWI1
- ========================================================================= */
-#define pREG_TWI1_CLKDIV ((volatile uint16_t *)REG_TWI1_CLKDIV) /* TWI1 SCL Clock Divider Register */
-#define pREG_TWI1_CTL ((volatile uint16_t *)REG_TWI1_CTL) /* TWI1 Control Register */
-#define pREG_TWI1_SLVCTL ((volatile uint16_t *)REG_TWI1_SLVCTL) /* TWI1 Slave Mode Control Register */
-#define pREG_TWI1_SLVSTAT ((volatile uint16_t *)REG_TWI1_SLVSTAT) /* TWI1 Slave Mode Status Register */
-#define pREG_TWI1_SLVADDR ((volatile uint16_t *)REG_TWI1_SLVADDR) /* TWI1 Slave Mode Address Register */
-#define pREG_TWI1_MSTRCTL ((volatile uint16_t *)REG_TWI1_MSTRCTL) /* TWI1 Master Mode Control Registers */
-#define pREG_TWI1_MSTRSTAT ((volatile uint16_t *)REG_TWI1_MSTRSTAT) /* TWI1 Master Mode Status Register */
-#define pREG_TWI1_MSTRADDR ((volatile uint16_t *)REG_TWI1_MSTRADDR) /* TWI1 Master Mode Address Register */
-#define pREG_TWI1_ISTAT ((volatile uint16_t *)REG_TWI1_ISTAT) /* TWI1 Interrupt Status Register */
-#define pREG_TWI1_IMSK ((volatile uint16_t *)REG_TWI1_IMSK) /* TWI1 Interrupt Mask Register */
-#define pREG_TWI1_FIFOCTL ((volatile uint16_t *)REG_TWI1_FIFOCTL) /* TWI1 FIFO Control Register */
-#define pREG_TWI1_FIFOSTAT ((volatile uint16_t *)REG_TWI1_FIFOSTAT) /* TWI1 FIFO Status Register */
-#define pREG_TWI1_TXDATA8 ((volatile uint16_t *)REG_TWI1_TXDATA8) /* TWI1 Tx Data Single-Byte Register */
-#define pREG_TWI1_TXDATA16 ((volatile uint16_t *)REG_TWI1_TXDATA16) /* TWI1 Tx Data Double-Byte Register */
-#define pREG_TWI1_RXDATA8 ((volatile uint16_t *)REG_TWI1_RXDATA8) /* TWI1 Rx Data Single-Byte Register */
-#define pREG_TWI1_RXDATA16 ((volatile uint16_t *)REG_TWI1_RXDATA16) /* TWI1 Rx Data Double-Byte Register */
-
-
-/* =========================================================================
- UART0
- ========================================================================= */
-#define pREG_UART0_REVID ((volatile uint32_t *)REG_UART0_REVID) /* UART0 Revision ID Register */
-#define pREG_UART0_CTL ((volatile uint32_t *)REG_UART0_CTL) /* UART0 Control Register */
-#define pREG_UART0_STAT ((volatile uint32_t *)REG_UART0_STAT) /* UART0 Status Register */
-#define pREG_UART0_SCR ((volatile uint32_t *)REG_UART0_SCR) /* UART0 Scratch Register */
-#define pREG_UART0_CLK ((volatile uint32_t *)REG_UART0_CLK) /* UART0 Clock Rate Register */
-#define pREG_UART0_IMSK ((volatile uint32_t *)REG_UART0_IMSK) /* UART0 Interrupt Mask Register */
-#define pREG_UART0_IMSK_SET ((volatile uint32_t *)REG_UART0_IMSK_SET) /* UART0 Interrupt Mask Set Register */
-#define pREG_UART0_IMSK_CLR ((volatile uint32_t *)REG_UART0_IMSK_CLR) /* UART0 Interrupt Mask Clear Register */
-#define pREG_UART0_RBR ((volatile uint32_t *)REG_UART0_RBR) /* UART0 Receive Buffer Register */
-#define pREG_UART0_THR ((volatile uint32_t *)REG_UART0_THR) /* UART0 Transmit Hold Register */
-#define pREG_UART0_TAIP ((volatile uint32_t *)REG_UART0_TAIP) /* UART0 Transmit Address/Insert Pulse Register */
-#define pREG_UART0_TSR ((volatile uint32_t *)REG_UART0_TSR) /* UART0 Transmit Shift Register */
-#define pREG_UART0_RSR ((volatile uint32_t *)REG_UART0_RSR) /* UART0 Receive Shift Register */
-#define pREG_UART0_TXCNT ((volatile uint32_t *)REG_UART0_TXCNT) /* UART0 Transmit Counter Register */
-#define pREG_UART0_RXCNT ((volatile uint32_t *)REG_UART0_RXCNT) /* UART0 Receive Counter Register */
-
-/* =========================================================================
- UART1
- ========================================================================= */
-#define pREG_UART1_REVID ((volatile uint32_t *)REG_UART1_REVID) /* UART1 Revision ID Register */
-#define pREG_UART1_CTL ((volatile uint32_t *)REG_UART1_CTL) /* UART1 Control Register */
-#define pREG_UART1_STAT ((volatile uint32_t *)REG_UART1_STAT) /* UART1 Status Register */
-#define pREG_UART1_SCR ((volatile uint32_t *)REG_UART1_SCR) /* UART1 Scratch Register */
-#define pREG_UART1_CLK ((volatile uint32_t *)REG_UART1_CLK) /* UART1 Clock Rate Register */
-#define pREG_UART1_IMSK ((volatile uint32_t *)REG_UART1_IMSK) /* UART1 Interrupt Mask Register */
-#define pREG_UART1_IMSK_SET ((volatile uint32_t *)REG_UART1_IMSK_SET) /* UART1 Interrupt Mask Set Register */
-#define pREG_UART1_IMSK_CLR ((volatile uint32_t *)REG_UART1_IMSK_CLR) /* UART1 Interrupt Mask Clear Register */
-#define pREG_UART1_RBR ((volatile uint32_t *)REG_UART1_RBR) /* UART1 Receive Buffer Register */
-#define pREG_UART1_THR ((volatile uint32_t *)REG_UART1_THR) /* UART1 Transmit Hold Register */
-#define pREG_UART1_TAIP ((volatile uint32_t *)REG_UART1_TAIP) /* UART1 Transmit Address/Insert Pulse Register */
-#define pREG_UART1_TSR ((volatile uint32_t *)REG_UART1_TSR) /* UART1 Transmit Shift Register */
-#define pREG_UART1_RSR ((volatile uint32_t *)REG_UART1_RSR) /* UART1 Receive Shift Register */
-#define pREG_UART1_TXCNT ((volatile uint32_t *)REG_UART1_TXCNT) /* UART1 Transmit Counter Register */
-#define pREG_UART1_RXCNT ((volatile uint32_t *)REG_UART1_RXCNT) /* UART1 Receive Counter Register */
-
-
-/* =========================================================================
- PORTA
- ========================================================================= */
-#define pREG_PORTA_FER ((volatile uint32_t *)REG_PORTA_FER) /* PORTA Port x Function Enable Register */
-#define pREG_PORTA_FER_SET ((volatile uint32_t *)REG_PORTA_FER_SET) /* PORTA Port x Function Enable Set Register */
-#define pREG_PORTA_FER_CLR ((volatile uint32_t *)REG_PORTA_FER_CLR) /* PORTA Port x Function Enable Clear Register */
-#define pREG_PORTA_DATA ((volatile uint32_t *)REG_PORTA_DATA) /* PORTA Port x GPIO Data Register */
-#define pREG_PORTA_DATA_SET ((volatile uint32_t *)REG_PORTA_DATA_SET) /* PORTA Port x GPIO Data Set Register */
-#define pREG_PORTA_DATA_CLR ((volatile uint32_t *)REG_PORTA_DATA_CLR) /* PORTA Port x GPIO Data Clear Register */
-#define pREG_PORTA_DIR ((volatile uint32_t *)REG_PORTA_DIR) /* PORTA Port x GPIO Direction Register */
-#define pREG_PORTA_DIR_SET ((volatile uint32_t *)REG_PORTA_DIR_SET) /* PORTA Port x GPIO Direction Set Register */
-#define pREG_PORTA_DIR_CLR ((volatile uint32_t *)REG_PORTA_DIR_CLR) /* PORTA Port x GPIO Direction Clear Register */
-#define pREG_PORTA_INEN ((volatile uint32_t *)REG_PORTA_INEN) /* PORTA Port x GPIO Input Enable Register */
-#define pREG_PORTA_INEN_SET ((volatile uint32_t *)REG_PORTA_INEN_SET) /* PORTA Port x GPIO Input Enable Set Register */
-#define pREG_PORTA_INEN_CLR ((volatile uint32_t *)REG_PORTA_INEN_CLR) /* PORTA Port x GPIO Input Enable Clear Register */
-#define pREG_PORTA_MUX ((volatile uint32_t *)REG_PORTA_MUX) /* PORTA Port x Multiplexer Control Register */
-#define pREG_PORTA_DATA_TGL ((volatile uint32_t *)REG_PORTA_DATA_TGL) /* PORTA Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTA_POL ((volatile uint32_t *)REG_PORTA_POL) /* PORTA Port x GPIO Polarity Invert Register */
-#define pREG_PORTA_POL_SET ((volatile uint32_t *)REG_PORTA_POL_SET) /* PORTA Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTA_POL_CLR ((volatile uint32_t *)REG_PORTA_POL_CLR) /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTA_LOCK ((volatile uint32_t *)REG_PORTA_LOCK) /* PORTA Port x GPIO Lock Register */
-#define pREG_PORTA_REVID ((volatile uint32_t *)REG_PORTA_REVID) /* PORTA Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTB
- ========================================================================= */
-#define pREG_PORTB_FER ((volatile uint32_t *)REG_PORTB_FER) /* PORTB Port x Function Enable Register */
-#define pREG_PORTB_FER_SET ((volatile uint32_t *)REG_PORTB_FER_SET) /* PORTB Port x Function Enable Set Register */
-#define pREG_PORTB_FER_CLR ((volatile uint32_t *)REG_PORTB_FER_CLR) /* PORTB Port x Function Enable Clear Register */
-#define pREG_PORTB_DATA ((volatile uint32_t *)REG_PORTB_DATA) /* PORTB Port x GPIO Data Register */
-#define pREG_PORTB_DATA_SET ((volatile uint32_t *)REG_PORTB_DATA_SET) /* PORTB Port x GPIO Data Set Register */
-#define pREG_PORTB_DATA_CLR ((volatile uint32_t *)REG_PORTB_DATA_CLR) /* PORTB Port x GPIO Data Clear Register */
-#define pREG_PORTB_DIR ((volatile uint32_t *)REG_PORTB_DIR) /* PORTB Port x GPIO Direction Register */
-#define pREG_PORTB_DIR_SET ((volatile uint32_t *)REG_PORTB_DIR_SET) /* PORTB Port x GPIO Direction Set Register */
-#define pREG_PORTB_DIR_CLR ((volatile uint32_t *)REG_PORTB_DIR_CLR) /* PORTB Port x GPIO Direction Clear Register */
-#define pREG_PORTB_INEN ((volatile uint32_t *)REG_PORTB_INEN) /* PORTB Port x GPIO Input Enable Register */
-#define pREG_PORTB_INEN_SET ((volatile uint32_t *)REG_PORTB_INEN_SET) /* PORTB Port x GPIO Input Enable Set Register */
-#define pREG_PORTB_INEN_CLR ((volatile uint32_t *)REG_PORTB_INEN_CLR) /* PORTB Port x GPIO Input Enable Clear Register */
-#define pREG_PORTB_MUX ((volatile uint32_t *)REG_PORTB_MUX) /* PORTB Port x Multiplexer Control Register */
-#define pREG_PORTB_DATA_TGL ((volatile uint32_t *)REG_PORTB_DATA_TGL) /* PORTB Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTB_POL ((volatile uint32_t *)REG_PORTB_POL) /* PORTB Port x GPIO Polarity Invert Register */
-#define pREG_PORTB_POL_SET ((volatile uint32_t *)REG_PORTB_POL_SET) /* PORTB Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTB_POL_CLR ((volatile uint32_t *)REG_PORTB_POL_CLR) /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTB_LOCK ((volatile uint32_t *)REG_PORTB_LOCK) /* PORTB Port x GPIO Lock Register */
-#define pREG_PORTB_REVID ((volatile uint32_t *)REG_PORTB_REVID) /* PORTB Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTC
- ========================================================================= */
-#define pREG_PORTC_FER ((volatile uint32_t *)REG_PORTC_FER) /* PORTC Port x Function Enable Register */
-#define pREG_PORTC_FER_SET ((volatile uint32_t *)REG_PORTC_FER_SET) /* PORTC Port x Function Enable Set Register */
-#define pREG_PORTC_FER_CLR ((volatile uint32_t *)REG_PORTC_FER_CLR) /* PORTC Port x Function Enable Clear Register */
-#define pREG_PORTC_DATA ((volatile uint32_t *)REG_PORTC_DATA) /* PORTC Port x GPIO Data Register */
-#define pREG_PORTC_DATA_SET ((volatile uint32_t *)REG_PORTC_DATA_SET) /* PORTC Port x GPIO Data Set Register */
-#define pREG_PORTC_DATA_CLR ((volatile uint32_t *)REG_PORTC_DATA_CLR) /* PORTC Port x GPIO Data Clear Register */
-#define pREG_PORTC_DIR ((volatile uint32_t *)REG_PORTC_DIR) /* PORTC Port x GPIO Direction Register */
-#define pREG_PORTC_DIR_SET ((volatile uint32_t *)REG_PORTC_DIR_SET) /* PORTC Port x GPIO Direction Set Register */
-#define pREG_PORTC_DIR_CLR ((volatile uint32_t *)REG_PORTC_DIR_CLR) /* PORTC Port x GPIO Direction Clear Register */
-#define pREG_PORTC_INEN ((volatile uint32_t *)REG_PORTC_INEN) /* PORTC Port x GPIO Input Enable Register */
-#define pREG_PORTC_INEN_SET ((volatile uint32_t *)REG_PORTC_INEN_SET) /* PORTC Port x GPIO Input Enable Set Register */
-#define pREG_PORTC_INEN_CLR ((volatile uint32_t *)REG_PORTC_INEN_CLR) /* PORTC Port x GPIO Input Enable Clear Register */
-#define pREG_PORTC_MUX ((volatile uint32_t *)REG_PORTC_MUX) /* PORTC Port x Multiplexer Control Register */
-#define pREG_PORTC_DATA_TGL ((volatile uint32_t *)REG_PORTC_DATA_TGL) /* PORTC Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTC_POL ((volatile uint32_t *)REG_PORTC_POL) /* PORTC Port x GPIO Polarity Invert Register */
-#define pREG_PORTC_POL_SET ((volatile uint32_t *)REG_PORTC_POL_SET) /* PORTC Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTC_POL_CLR ((volatile uint32_t *)REG_PORTC_POL_CLR) /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTC_LOCK ((volatile uint32_t *)REG_PORTC_LOCK) /* PORTC Port x GPIO Lock Register */
-#define pREG_PORTC_REVID ((volatile uint32_t *)REG_PORTC_REVID) /* PORTC Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTD
- ========================================================================= */
-#define pREG_PORTD_FER ((volatile uint32_t *)REG_PORTD_FER) /* PORTD Port x Function Enable Register */
-#define pREG_PORTD_FER_SET ((volatile uint32_t *)REG_PORTD_FER_SET) /* PORTD Port x Function Enable Set Register */
-#define pREG_PORTD_FER_CLR ((volatile uint32_t *)REG_PORTD_FER_CLR) /* PORTD Port x Function Enable Clear Register */
-#define pREG_PORTD_DATA ((volatile uint32_t *)REG_PORTD_DATA) /* PORTD Port x GPIO Data Register */
-#define pREG_PORTD_DATA_SET ((volatile uint32_t *)REG_PORTD_DATA_SET) /* PORTD Port x GPIO Data Set Register */
-#define pREG_PORTD_DATA_CLR ((volatile uint32_t *)REG_PORTD_DATA_CLR) /* PORTD Port x GPIO Data Clear Register */
-#define pREG_PORTD_DIR ((volatile uint32_t *)REG_PORTD_DIR) /* PORTD Port x GPIO Direction Register */
-#define pREG_PORTD_DIR_SET ((volatile uint32_t *)REG_PORTD_DIR_SET) /* PORTD Port x GPIO Direction Set Register */
-#define pREG_PORTD_DIR_CLR ((volatile uint32_t *)REG_PORTD_DIR_CLR) /* PORTD Port x GPIO Direction Clear Register */
-#define pREG_PORTD_INEN ((volatile uint32_t *)REG_PORTD_INEN) /* PORTD Port x GPIO Input Enable Register */
-#define pREG_PORTD_INEN_SET ((volatile uint32_t *)REG_PORTD_INEN_SET) /* PORTD Port x GPIO Input Enable Set Register */
-#define pREG_PORTD_INEN_CLR ((volatile uint32_t *)REG_PORTD_INEN_CLR) /* PORTD Port x GPIO Input Enable Clear Register */
-#define pREG_PORTD_MUX ((volatile uint32_t *)REG_PORTD_MUX) /* PORTD Port x Multiplexer Control Register */
-#define pREG_PORTD_DATA_TGL ((volatile uint32_t *)REG_PORTD_DATA_TGL) /* PORTD Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTD_POL ((volatile uint32_t *)REG_PORTD_POL) /* PORTD Port x GPIO Polarity Invert Register */
-#define pREG_PORTD_POL_SET ((volatile uint32_t *)REG_PORTD_POL_SET) /* PORTD Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTD_POL_CLR ((volatile uint32_t *)REG_PORTD_POL_CLR) /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTD_LOCK ((volatile uint32_t *)REG_PORTD_LOCK) /* PORTD Port x GPIO Lock Register */
-#define pREG_PORTD_REVID ((volatile uint32_t *)REG_PORTD_REVID) /* PORTD Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTE
- ========================================================================= */
-#define pREG_PORTE_FER ((volatile uint32_t *)REG_PORTE_FER) /* PORTE Port x Function Enable Register */
-#define pREG_PORTE_FER_SET ((volatile uint32_t *)REG_PORTE_FER_SET) /* PORTE Port x Function Enable Set Register */
-#define pREG_PORTE_FER_CLR ((volatile uint32_t *)REG_PORTE_FER_CLR) /* PORTE Port x Function Enable Clear Register */
-#define pREG_PORTE_DATA ((volatile uint32_t *)REG_PORTE_DATA) /* PORTE Port x GPIO Data Register */
-#define pREG_PORTE_DATA_SET ((volatile uint32_t *)REG_PORTE_DATA_SET) /* PORTE Port x GPIO Data Set Register */
-#define pREG_PORTE_DATA_CLR ((volatile uint32_t *)REG_PORTE_DATA_CLR) /* PORTE Port x GPIO Data Clear Register */
-#define pREG_PORTE_DIR ((volatile uint32_t *)REG_PORTE_DIR) /* PORTE Port x GPIO Direction Register */
-#define pREG_PORTE_DIR_SET ((volatile uint32_t *)REG_PORTE_DIR_SET) /* PORTE Port x GPIO Direction Set Register */
-#define pREG_PORTE_DIR_CLR ((volatile uint32_t *)REG_PORTE_DIR_CLR) /* PORTE Port x GPIO Direction Clear Register */
-#define pREG_PORTE_INEN ((volatile uint32_t *)REG_PORTE_INEN) /* PORTE Port x GPIO Input Enable Register */
-#define pREG_PORTE_INEN_SET ((volatile uint32_t *)REG_PORTE_INEN_SET) /* PORTE Port x GPIO Input Enable Set Register */
-#define pREG_PORTE_INEN_CLR ((volatile uint32_t *)REG_PORTE_INEN_CLR) /* PORTE Port x GPIO Input Enable Clear Register */
-#define pREG_PORTE_MUX ((volatile uint32_t *)REG_PORTE_MUX) /* PORTE Port x Multiplexer Control Register */
-#define pREG_PORTE_DATA_TGL ((volatile uint32_t *)REG_PORTE_DATA_TGL) /* PORTE Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTE_POL ((volatile uint32_t *)REG_PORTE_POL) /* PORTE Port x GPIO Polarity Invert Register */
-#define pREG_PORTE_POL_SET ((volatile uint32_t *)REG_PORTE_POL_SET) /* PORTE Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTE_POL_CLR ((volatile uint32_t *)REG_PORTE_POL_CLR) /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTE_LOCK ((volatile uint32_t *)REG_PORTE_LOCK) /* PORTE Port x GPIO Lock Register */
-#define pREG_PORTE_REVID ((volatile uint32_t *)REG_PORTE_REVID) /* PORTE Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTF
- ========================================================================= */
-#define pREG_PORTF_FER ((volatile uint32_t *)REG_PORTF_FER) /* PORTF Port x Function Enable Register */
-#define pREG_PORTF_FER_SET ((volatile uint32_t *)REG_PORTF_FER_SET) /* PORTF Port x Function Enable Set Register */
-#define pREG_PORTF_FER_CLR ((volatile uint32_t *)REG_PORTF_FER_CLR) /* PORTF Port x Function Enable Clear Register */
-#define pREG_PORTF_DATA ((volatile uint32_t *)REG_PORTF_DATA) /* PORTF Port x GPIO Data Register */
-#define pREG_PORTF_DATA_SET ((volatile uint32_t *)REG_PORTF_DATA_SET) /* PORTF Port x GPIO Data Set Register */
-#define pREG_PORTF_DATA_CLR ((volatile uint32_t *)REG_PORTF_DATA_CLR) /* PORTF Port x GPIO Data Clear Register */
-#define pREG_PORTF_DIR ((volatile uint32_t *)REG_PORTF_DIR) /* PORTF Port x GPIO Direction Register */
-#define pREG_PORTF_DIR_SET ((volatile uint32_t *)REG_PORTF_DIR_SET) /* PORTF Port x GPIO Direction Set Register */
-#define pREG_PORTF_DIR_CLR ((volatile uint32_t *)REG_PORTF_DIR_CLR) /* PORTF Port x GPIO Direction Clear Register */
-#define pREG_PORTF_INEN ((volatile uint32_t *)REG_PORTF_INEN) /* PORTF Port x GPIO Input Enable Register */
-#define pREG_PORTF_INEN_SET ((volatile uint32_t *)REG_PORTF_INEN_SET) /* PORTF Port x GPIO Input Enable Set Register */
-#define pREG_PORTF_INEN_CLR ((volatile uint32_t *)REG_PORTF_INEN_CLR) /* PORTF Port x GPIO Input Enable Clear Register */
-#define pREG_PORTF_MUX ((volatile uint32_t *)REG_PORTF_MUX) /* PORTF Port x Multiplexer Control Register */
-#define pREG_PORTF_DATA_TGL ((volatile uint32_t *)REG_PORTF_DATA_TGL) /* PORTF Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTF_POL ((volatile uint32_t *)REG_PORTF_POL) /* PORTF Port x GPIO Polarity Invert Register */
-#define pREG_PORTF_POL_SET ((volatile uint32_t *)REG_PORTF_POL_SET) /* PORTF Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTF_POL_CLR ((volatile uint32_t *)REG_PORTF_POL_CLR) /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTF_LOCK ((volatile uint32_t *)REG_PORTF_LOCK) /* PORTF Port x GPIO Lock Register */
-#define pREG_PORTF_REVID ((volatile uint32_t *)REG_PORTF_REVID) /* PORTF Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTG
- ========================================================================= */
-#define pREG_PORTG_FER ((volatile uint32_t *)REG_PORTG_FER) /* PORTG Port x Function Enable Register */
-#define pREG_PORTG_FER_SET ((volatile uint32_t *)REG_PORTG_FER_SET) /* PORTG Port x Function Enable Set Register */
-#define pREG_PORTG_FER_CLR ((volatile uint32_t *)REG_PORTG_FER_CLR) /* PORTG Port x Function Enable Clear Register */
-#define pREG_PORTG_DATA ((volatile uint32_t *)REG_PORTG_DATA) /* PORTG Port x GPIO Data Register */
-#define pREG_PORTG_DATA_SET ((volatile uint32_t *)REG_PORTG_DATA_SET) /* PORTG Port x GPIO Data Set Register */
-#define pREG_PORTG_DATA_CLR ((volatile uint32_t *)REG_PORTG_DATA_CLR) /* PORTG Port x GPIO Data Clear Register */
-#define pREG_PORTG_DIR ((volatile uint32_t *)REG_PORTG_DIR) /* PORTG Port x GPIO Direction Register */
-#define pREG_PORTG_DIR_SET ((volatile uint32_t *)REG_PORTG_DIR_SET) /* PORTG Port x GPIO Direction Set Register */
-#define pREG_PORTG_DIR_CLR ((volatile uint32_t *)REG_PORTG_DIR_CLR) /* PORTG Port x GPIO Direction Clear Register */
-#define pREG_PORTG_INEN ((volatile uint32_t *)REG_PORTG_INEN) /* PORTG Port x GPIO Input Enable Register */
-#define pREG_PORTG_INEN_SET ((volatile uint32_t *)REG_PORTG_INEN_SET) /* PORTG Port x GPIO Input Enable Set Register */
-#define pREG_PORTG_INEN_CLR ((volatile uint32_t *)REG_PORTG_INEN_CLR) /* PORTG Port x GPIO Input Enable Clear Register */
-#define pREG_PORTG_MUX ((volatile uint32_t *)REG_PORTG_MUX) /* PORTG Port x Multiplexer Control Register */
-#define pREG_PORTG_DATA_TGL ((volatile uint32_t *)REG_PORTG_DATA_TGL) /* PORTG Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTG_POL ((volatile uint32_t *)REG_PORTG_POL) /* PORTG Port x GPIO Polarity Invert Register */
-#define pREG_PORTG_POL_SET ((volatile uint32_t *)REG_PORTG_POL_SET) /* PORTG Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTG_POL_CLR ((volatile uint32_t *)REG_PORTG_POL_CLR) /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTG_LOCK ((volatile uint32_t *)REG_PORTG_LOCK) /* PORTG Port x GPIO Lock Register */
-#define pREG_PORTG_REVID ((volatile uint32_t *)REG_PORTG_REVID) /* PORTG Port x GPIO Revision ID */
-
-
-/* =========================================================================
- PADS0
- ========================================================================= */
-#define pREG_PADS0_EMAC_PTP_CLKSEL ((volatile uint32_t *)REG_PADS0_EMAC_PTP_CLKSEL) /* PADS0 Clock Selection for EMAC and PTP */
-#define pREG_PADS0_TWI_VSEL ((volatile uint32_t *)REG_PADS0_TWI_VSEL) /* PADS0 TWI Voltage Selection */
-#define pREG_PADS0_PORTS_HYST ((volatile uint32_t *)REG_PADS0_PORTS_HYST) /* PADS0 Hysteresis Enable Register */
-
-
-/* =========================================================================
- PINT0
- ========================================================================= */
-#define pREG_PINT0_MSK_SET ((volatile uint32_t *)REG_PINT0_MSK_SET) /* PINT0 Pint Mask Set Register */
-#define pREG_PINT0_MSK_CLR ((volatile uint32_t *)REG_PINT0_MSK_CLR) /* PINT0 Pint Mask Clear Register */
-#define pREG_PINT0_REQ ((volatile uint32_t *)REG_PINT0_REQ) /* PINT0 Pint Request Register */
-#define pREG_PINT0_ASSIGN ((volatile uint32_t *)REG_PINT0_ASSIGN) /* PINT0 Pint Assign Register */
-#define pREG_PINT0_EDGE_SET ((volatile uint32_t *)REG_PINT0_EDGE_SET) /* PINT0 Pint Edge Set Register */
-#define pREG_PINT0_EDGE_CLR ((volatile uint32_t *)REG_PINT0_EDGE_CLR) /* PINT0 Pint Edge Clear Register */
-#define pREG_PINT0_INV_SET ((volatile uint32_t *)REG_PINT0_INV_SET) /* PINT0 Pint Invert Set Register */
-#define pREG_PINT0_INV_CLR ((volatile uint32_t *)REG_PINT0_INV_CLR) /* PINT0 Pint Invert Clear Register */
-#define pREG_PINT0_PINSTATE ((volatile uint32_t *)REG_PINT0_PINSTATE) /* PINT0 Pint Pinstate Register */
-#define pREG_PINT0_LATCH ((volatile uint32_t *)REG_PINT0_LATCH) /* PINT0 Pint Latch Register */
-
-/* =========================================================================
- PINT1
- ========================================================================= */
-#define pREG_PINT1_MSK_SET ((volatile uint32_t *)REG_PINT1_MSK_SET) /* PINT1 Pint Mask Set Register */
-#define pREG_PINT1_MSK_CLR ((volatile uint32_t *)REG_PINT1_MSK_CLR) /* PINT1 Pint Mask Clear Register */
-#define pREG_PINT1_REQ ((volatile uint32_t *)REG_PINT1_REQ) /* PINT1 Pint Request Register */
-#define pREG_PINT1_ASSIGN ((volatile uint32_t *)REG_PINT1_ASSIGN) /* PINT1 Pint Assign Register */
-#define pREG_PINT1_EDGE_SET ((volatile uint32_t *)REG_PINT1_EDGE_SET) /* PINT1 Pint Edge Set Register */
-#define pREG_PINT1_EDGE_CLR ((volatile uint32_t *)REG_PINT1_EDGE_CLR) /* PINT1 Pint Edge Clear Register */
-#define pREG_PINT1_INV_SET ((volatile uint32_t *)REG_PINT1_INV_SET) /* PINT1 Pint Invert Set Register */
-#define pREG_PINT1_INV_CLR ((volatile uint32_t *)REG_PINT1_INV_CLR) /* PINT1 Pint Invert Clear Register */
-#define pREG_PINT1_PINSTATE ((volatile uint32_t *)REG_PINT1_PINSTATE) /* PINT1 Pint Pinstate Register */
-#define pREG_PINT1_LATCH ((volatile uint32_t *)REG_PINT1_LATCH) /* PINT1 Pint Latch Register */
-
-/* =========================================================================
- PINT2
- ========================================================================= */
-#define pREG_PINT2_MSK_SET ((volatile uint32_t *)REG_PINT2_MSK_SET) /* PINT2 Pint Mask Set Register */
-#define pREG_PINT2_MSK_CLR ((volatile uint32_t *)REG_PINT2_MSK_CLR) /* PINT2 Pint Mask Clear Register */
-#define pREG_PINT2_REQ ((volatile uint32_t *)REG_PINT2_REQ) /* PINT2 Pint Request Register */
-#define pREG_PINT2_ASSIGN ((volatile uint32_t *)REG_PINT2_ASSIGN) /* PINT2 Pint Assign Register */
-#define pREG_PINT2_EDGE_SET ((volatile uint32_t *)REG_PINT2_EDGE_SET) /* PINT2 Pint Edge Set Register */
-#define pREG_PINT2_EDGE_CLR ((volatile uint32_t *)REG_PINT2_EDGE_CLR) /* PINT2 Pint Edge Clear Register */
-#define pREG_PINT2_INV_SET ((volatile uint32_t *)REG_PINT2_INV_SET) /* PINT2 Pint Invert Set Register */
-#define pREG_PINT2_INV_CLR ((volatile uint32_t *)REG_PINT2_INV_CLR) /* PINT2 Pint Invert Clear Register */
-#define pREG_PINT2_PINSTATE ((volatile uint32_t *)REG_PINT2_PINSTATE) /* PINT2 Pint Pinstate Register */
-#define pREG_PINT2_LATCH ((volatile uint32_t *)REG_PINT2_LATCH) /* PINT2 Pint Latch Register */
-
-/* =========================================================================
- PINT3
- ========================================================================= */
-#define pREG_PINT3_MSK_SET ((volatile uint32_t *)REG_PINT3_MSK_SET) /* PINT3 Pint Mask Set Register */
-#define pREG_PINT3_MSK_CLR ((volatile uint32_t *)REG_PINT3_MSK_CLR) /* PINT3 Pint Mask Clear Register */
-#define pREG_PINT3_REQ ((volatile uint32_t *)REG_PINT3_REQ) /* PINT3 Pint Request Register */
-#define pREG_PINT3_ASSIGN ((volatile uint32_t *)REG_PINT3_ASSIGN) /* PINT3 Pint Assign Register */
-#define pREG_PINT3_EDGE_SET ((volatile uint32_t *)REG_PINT3_EDGE_SET) /* PINT3 Pint Edge Set Register */
-#define pREG_PINT3_EDGE_CLR ((volatile uint32_t *)REG_PINT3_EDGE_CLR) /* PINT3 Pint Edge Clear Register */
-#define pREG_PINT3_INV_SET ((volatile uint32_t *)REG_PINT3_INV_SET) /* PINT3 Pint Invert Set Register */
-#define pREG_PINT3_INV_CLR ((volatile uint32_t *)REG_PINT3_INV_CLR) /* PINT3 Pint Invert Clear Register */
-#define pREG_PINT3_PINSTATE ((volatile uint32_t *)REG_PINT3_PINSTATE) /* PINT3 Pint Pinstate Register */
-#define pREG_PINT3_LATCH ((volatile uint32_t *)REG_PINT3_LATCH) /* PINT3 Pint Latch Register */
-
-/* =========================================================================
- PINT4
- ========================================================================= */
-#define pREG_PINT4_MSK_SET ((volatile uint32_t *)REG_PINT4_MSK_SET) /* PINT4 Pint Mask Set Register */
-#define pREG_PINT4_MSK_CLR ((volatile uint32_t *)REG_PINT4_MSK_CLR) /* PINT4 Pint Mask Clear Register */
-#define pREG_PINT4_REQ ((volatile uint32_t *)REG_PINT4_REQ) /* PINT4 Pint Request Register */
-#define pREG_PINT4_ASSIGN ((volatile uint32_t *)REG_PINT4_ASSIGN) /* PINT4 Pint Assign Register */
-#define pREG_PINT4_EDGE_SET ((volatile uint32_t *)REG_PINT4_EDGE_SET) /* PINT4 Pint Edge Set Register */
-#define pREG_PINT4_EDGE_CLR ((volatile uint32_t *)REG_PINT4_EDGE_CLR) /* PINT4 Pint Edge Clear Register */
-#define pREG_PINT4_INV_SET ((volatile uint32_t *)REG_PINT4_INV_SET) /* PINT4 Pint Invert Set Register */
-#define pREG_PINT4_INV_CLR ((volatile uint32_t *)REG_PINT4_INV_CLR) /* PINT4 Pint Invert Clear Register */
-#define pREG_PINT4_PINSTATE ((volatile uint32_t *)REG_PINT4_PINSTATE) /* PINT4 Pint Pinstate Register */
-#define pREG_PINT4_LATCH ((volatile uint32_t *)REG_PINT4_LATCH) /* PINT4 Pint Latch Register */
-
-/* =========================================================================
- PINT5
- ========================================================================= */
-#define pREG_PINT5_MSK_SET ((volatile uint32_t *)REG_PINT5_MSK_SET) /* PINT5 Pint Mask Set Register */
-#define pREG_PINT5_MSK_CLR ((volatile uint32_t *)REG_PINT5_MSK_CLR) /* PINT5 Pint Mask Clear Register */
-#define pREG_PINT5_REQ ((volatile uint32_t *)REG_PINT5_REQ) /* PINT5 Pint Request Register */
-#define pREG_PINT5_ASSIGN ((volatile uint32_t *)REG_PINT5_ASSIGN) /* PINT5 Pint Assign Register */
-#define pREG_PINT5_EDGE_SET ((volatile uint32_t *)REG_PINT5_EDGE_SET) /* PINT5 Pint Edge Set Register */
-#define pREG_PINT5_EDGE_CLR ((volatile uint32_t *)REG_PINT5_EDGE_CLR) /* PINT5 Pint Edge Clear Register */
-#define pREG_PINT5_INV_SET ((volatile uint32_t *)REG_PINT5_INV_SET) /* PINT5 Pint Invert Set Register */
-#define pREG_PINT5_INV_CLR ((volatile uint32_t *)REG_PINT5_INV_CLR) /* PINT5 Pint Invert Clear Register */
-#define pREG_PINT5_PINSTATE ((volatile uint32_t *)REG_PINT5_PINSTATE) /* PINT5 Pint Pinstate Register */
-#define pREG_PINT5_LATCH ((volatile uint32_t *)REG_PINT5_LATCH) /* PINT5 Pint Latch Register */
-
-
-/* =========================================================================
- SMC0
- ========================================================================= */
-#define pREG_SMC0_GCTL ((volatile uint32_t *)REG_SMC0_GCTL) /* SMC0 Grant Control Register */
-#define pREG_SMC0_GSTAT ((volatile uint32_t *)REG_SMC0_GSTAT) /* SMC0 Grant Status Register */
-#define pREG_SMC0_B0CTL ((volatile uint32_t *)REG_SMC0_B0CTL) /* SMC0 Bank 0 Control Register */
-#define pREG_SMC0_B0TIM ((volatile uint32_t *)REG_SMC0_B0TIM) /* SMC0 Bank 0 Timing Register */
-#define pREG_SMC0_B0ETIM ((volatile uint32_t *)REG_SMC0_B0ETIM) /* SMC0 Bank 0 Extended Timing Register */
-#define pREG_SMC0_B1CTL ((volatile uint32_t *)REG_SMC0_B1CTL) /* SMC0 Bank 1 Control Register */
-#define pREG_SMC0_B1TIM ((volatile uint32_t *)REG_SMC0_B1TIM) /* SMC0 Bank 1 Timing Register */
-#define pREG_SMC0_B1ETIM ((volatile uint32_t *)REG_SMC0_B1ETIM) /* SMC0 Bank 1 Extended Timing Register */
-#define pREG_SMC0_B2CTL ((volatile uint32_t *)REG_SMC0_B2CTL) /* SMC0 Bank 2 Control Register */
-#define pREG_SMC0_B2TIM ((volatile uint32_t *)REG_SMC0_B2TIM) /* SMC0 Bank 2 Timing Register */
-#define pREG_SMC0_B2ETIM ((volatile uint32_t *)REG_SMC0_B2ETIM) /* SMC0 Bank 2 Extended Timing Register */
-#define pREG_SMC0_B3CTL ((volatile uint32_t *)REG_SMC0_B3CTL) /* SMC0 Bank 3 Control Register */
-#define pREG_SMC0_B3TIM ((volatile uint32_t *)REG_SMC0_B3TIM) /* SMC0 Bank 3 Timing Register */
-#define pREG_SMC0_B3ETIM ((volatile uint32_t *)REG_SMC0_B3ETIM) /* SMC0 Bank 3 Extended Timing Register */
-
-
-/* =========================================================================
- WDOG0
- ========================================================================= */
-#define pREG_WDOG0_CTL ((volatile uint32_t *)REG_WDOG0_CTL) /* WDOG0 Control Register */
-#define pREG_WDOG0_CNT ((volatile uint32_t *)REG_WDOG0_CNT) /* WDOG0 Count Register */
-#define pREG_WDOG0_STAT ((volatile uint32_t *)REG_WDOG0_STAT) /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================================================================
- WDOG1
- ========================================================================= */
-#define pREG_WDOG1_CTL ((volatile uint32_t *)REG_WDOG1_CTL) /* WDOG1 Control Register */
-#define pREG_WDOG1_CNT ((volatile uint32_t *)REG_WDOG1_CNT) /* WDOG1 Count Register */
-#define pREG_WDOG1_STAT ((volatile uint32_t *)REG_WDOG1_STAT) /* WDOG1 Watchdog Timer Status Register */
-
-
-/* =========================================================================
- EPPI0
- ========================================================================= */
-#define pREG_EPPI0_STAT ((volatile uint32_t *)REG_EPPI0_STAT) /* EPPI0 Status Register */
-#define pREG_EPPI0_HCNT ((volatile uint32_t *)REG_EPPI0_HCNT) /* EPPI0 Horizontal Transfer Count Register */
-#define pREG_EPPI0_HDLY ((volatile uint32_t *)REG_EPPI0_HDLY) /* EPPI0 Horizontal Delay Count Register */
-#define pREG_EPPI0_VCNT ((volatile uint32_t *)REG_EPPI0_VCNT) /* EPPI0 Vertical Transfer Count Register */
-#define pREG_EPPI0_VDLY ((volatile uint32_t *)REG_EPPI0_VDLY) /* EPPI0 Vertical Delay Count Register */
-#define pREG_EPPI0_FRAME ((volatile uint32_t *)REG_EPPI0_FRAME) /* EPPI0 Lines Per Frame Register */
-#define pREG_EPPI0_LINE ((volatile uint32_t *)REG_EPPI0_LINE) /* EPPI0 Samples Per Line Register */
-#define pREG_EPPI0_CLKDIV ((volatile uint32_t *)REG_EPPI0_CLKDIV) /* EPPI0 Clock Divide Register */
-#define pREG_EPPI0_CTL ((volatile uint32_t *)REG_EPPI0_CTL) /* EPPI0 Control Register */
-#define pREG_EPPI0_FS1_WLHB ((volatile uint32_t *)REG_EPPI0_FS1_WLHB) /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI0_FS1_PASPL ((volatile uint32_t *)REG_EPPI0_FS1_PASPL) /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI0_FS2_WLVB ((volatile uint32_t *)REG_EPPI0_FS2_WLVB) /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI0_FS2_PALPF ((volatile uint32_t *)REG_EPPI0_FS2_PALPF) /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI0_IMSK ((volatile uint32_t *)REG_EPPI0_IMSK) /* EPPI0 Interrupt Mask Register */
-#define pREG_EPPI0_ODDCLIP ((volatile uint32_t *)REG_EPPI0_ODDCLIP) /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI0_EVENCLIP ((volatile uint32_t *)REG_EPPI0_EVENCLIP) /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI0_FS1_DLY ((volatile uint32_t *)REG_EPPI0_FS1_DLY) /* EPPI0 Frame Sync 1 Delay Value */
-#define pREG_EPPI0_FS2_DLY ((volatile uint32_t *)REG_EPPI0_FS2_DLY) /* EPPI0 Frame Sync 2 Delay Value */
-#define pREG_EPPI0_CTL2 ((volatile uint32_t *)REG_EPPI0_CTL2) /* EPPI0 Control Register 2 */
-
-/* =========================================================================
- EPPI1
- ========================================================================= */
-#define pREG_EPPI1_STAT ((volatile uint32_t *)REG_EPPI1_STAT) /* EPPI1 Status Register */
-#define pREG_EPPI1_HCNT ((volatile uint32_t *)REG_EPPI1_HCNT) /* EPPI1 Horizontal Transfer Count Register */
-#define pREG_EPPI1_HDLY ((volatile uint32_t *)REG_EPPI1_HDLY) /* EPPI1 Horizontal Delay Count Register */
-#define pREG_EPPI1_VCNT ((volatile uint32_t *)REG_EPPI1_VCNT) /* EPPI1 Vertical Transfer Count Register */
-#define pREG_EPPI1_VDLY ((volatile uint32_t *)REG_EPPI1_VDLY) /* EPPI1 Vertical Delay Count Register */
-#define pREG_EPPI1_FRAME ((volatile uint32_t *)REG_EPPI1_FRAME) /* EPPI1 Lines Per Frame Register */
-#define pREG_EPPI1_LINE ((volatile uint32_t *)REG_EPPI1_LINE) /* EPPI1 Samples Per Line Register */
-#define pREG_EPPI1_CLKDIV ((volatile uint32_t *)REG_EPPI1_CLKDIV) /* EPPI1 Clock Divide Register */
-#define pREG_EPPI1_CTL ((volatile uint32_t *)REG_EPPI1_CTL) /* EPPI1 Control Register */
-#define pREG_EPPI1_FS1_WLHB ((volatile uint32_t *)REG_EPPI1_FS1_WLHB) /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI1_FS1_PASPL ((volatile uint32_t *)REG_EPPI1_FS1_PASPL) /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI1_FS2_WLVB ((volatile uint32_t *)REG_EPPI1_FS2_WLVB) /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI1_FS2_PALPF ((volatile uint32_t *)REG_EPPI1_FS2_PALPF) /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI1_IMSK ((volatile uint32_t *)REG_EPPI1_IMSK) /* EPPI1 Interrupt Mask Register */
-#define pREG_EPPI1_ODDCLIP ((volatile uint32_t *)REG_EPPI1_ODDCLIP) /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI1_EVENCLIP ((volatile uint32_t *)REG_EPPI1_EVENCLIP) /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI1_FS1_DLY ((volatile uint32_t *)REG_EPPI1_FS1_DLY) /* EPPI1 Frame Sync 1 Delay Value */
-#define pREG_EPPI1_FS2_DLY ((volatile uint32_t *)REG_EPPI1_FS2_DLY) /* EPPI1 Frame Sync 2 Delay Value */
-#define pREG_EPPI1_CTL2 ((volatile uint32_t *)REG_EPPI1_CTL2) /* EPPI1 Control Register 2 */
-
-/* =========================================================================
- EPPI2
- ========================================================================= */
-#define pREG_EPPI2_STAT ((volatile uint32_t *)REG_EPPI2_STAT) /* EPPI2 Status Register */
-#define pREG_EPPI2_HCNT ((volatile uint32_t *)REG_EPPI2_HCNT) /* EPPI2 Horizontal Transfer Count Register */
-#define pREG_EPPI2_HDLY ((volatile uint32_t *)REG_EPPI2_HDLY) /* EPPI2 Horizontal Delay Count Register */
-#define pREG_EPPI2_VCNT ((volatile uint32_t *)REG_EPPI2_VCNT) /* EPPI2 Vertical Transfer Count Register */
-#define pREG_EPPI2_VDLY ((volatile uint32_t *)REG_EPPI2_VDLY) /* EPPI2 Vertical Delay Count Register */
-#define pREG_EPPI2_FRAME ((volatile uint32_t *)REG_EPPI2_FRAME) /* EPPI2 Lines Per Frame Register */
-#define pREG_EPPI2_LINE ((volatile uint32_t *)REG_EPPI2_LINE) /* EPPI2 Samples Per Line Register */
-#define pREG_EPPI2_CLKDIV ((volatile uint32_t *)REG_EPPI2_CLKDIV) /* EPPI2 Clock Divide Register */
-#define pREG_EPPI2_CTL ((volatile uint32_t *)REG_EPPI2_CTL) /* EPPI2 Control Register */
-#define pREG_EPPI2_FS1_WLHB ((volatile uint32_t *)REG_EPPI2_FS1_WLHB) /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI2_FS1_PASPL ((volatile uint32_t *)REG_EPPI2_FS1_PASPL) /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI2_FS2_WLVB ((volatile uint32_t *)REG_EPPI2_FS2_WLVB) /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI2_FS2_PALPF ((volatile uint32_t *)REG_EPPI2_FS2_PALPF) /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI2_IMSK ((volatile uint32_t *)REG_EPPI2_IMSK) /* EPPI2 Interrupt Mask Register */
-#define pREG_EPPI2_ODDCLIP ((volatile uint32_t *)REG_EPPI2_ODDCLIP) /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI2_EVENCLIP ((volatile uint32_t *)REG_EPPI2_EVENCLIP) /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI2_FS1_DLY ((volatile uint32_t *)REG_EPPI2_FS1_DLY) /* EPPI2 Frame Sync 1 Delay Value */
-#define pREG_EPPI2_FS2_DLY ((volatile uint32_t *)REG_EPPI2_FS2_DLY) /* EPPI2 Frame Sync 2 Delay Value */
-#define pREG_EPPI2_CTL2 ((volatile uint32_t *)REG_EPPI2_CTL2) /* EPPI2 Control Register 2 */
-
-
-/* =========================================================================
- PIXC0
- ========================================================================= */
-#define pREG_PIXC0_CTL ((volatile uint32_t *)REG_PIXC0_CTL) /* PIXC0 Control Register */
-#define pREG_PIXC0_PPL ((volatile uint16_t *)REG_PIXC0_PPL) /* PIXC0 Pixels Per Line Register */
-#define pREG_PIXC0_LPF ((volatile uint16_t *)REG_PIXC0_LPF) /* PIXC0 Line Per Frame Register */
-#define pREG_PIXC0_HSTART_A ((volatile uint16_t *)REG_PIXC0_HSTART_A) /* PIXC0 Overlay A Horizontal Start Register */
-#define pREG_PIXC0_HEND_A ((volatile uint16_t *)REG_PIXC0_HEND_A) /* PIXC0 Overlay A Horizontal End Register */
-#define pREG_PIXC0_VSTART_A ((volatile uint16_t *)REG_PIXC0_VSTART_A) /* PIXC0 Overlay A Vertical Start Register */
-#define pREG_PIXC0_VEND_A ((volatile uint16_t *)REG_PIXC0_VEND_A) /* PIXC0 Overlay A Vertical End Register */
-#define pREG_PIXC0_TRANSP_A ((volatile uint16_t *)REG_PIXC0_TRANSP_A) /* PIXC0 Overlay A Transparency Ratio Register */
-#define pREG_PIXC0_HSTART_B ((volatile uint16_t *)REG_PIXC0_HSTART_B) /* PIXC0 Overlay B Horizontal Start Register */
-#define pREG_PIXC0_HEND_B ((volatile uint16_t *)REG_PIXC0_HEND_B) /* PIXC0 Overlay B Horizontal End Register */
-#define pREG_PIXC0_VSTART_B ((volatile uint16_t *)REG_PIXC0_VSTART_B) /* PIXC0 Overlay B Vertical Start Register */
-#define pREG_PIXC0_VEND_B ((volatile uint16_t *)REG_PIXC0_VEND_B) /* PIXC0 Overlay B Vertical End Register */
-#define pREG_PIXC0_TRANSP_B ((volatile uint16_t *)REG_PIXC0_TRANSP_B) /* PIXC0 Overlay B Transparency Ratio Register */
-#define pREG_PIXC0_IRQSTAT ((volatile uint16_t *)REG_PIXC0_IRQSTAT) /* PIXC0 Interrupt Status Register */
-#define pREG_PIXC0_CONRY ((volatile uint32_t *)REG_PIXC0_CONRY) /* PIXC0 RY Conversion Component Register */
-#define pREG_PIXC0_CONGU ((volatile uint32_t *)REG_PIXC0_CONGU) /* PIXC0 GU Conversion Component Register */
-#define pREG_PIXC0_CONBV ((volatile uint32_t *)REG_PIXC0_CONBV) /* PIXC0 BV Conversion Component Register */
-#define pREG_PIXC0_CCBIAS ((volatile uint32_t *)REG_PIXC0_CCBIAS) /* PIXC0 Conversion Bias Register */
-#define pREG_PIXC0_TC ((volatile uint32_t *)REG_PIXC0_TC) /* PIXC0 Transparency Color Register */
-#define pREG_PIXC0_REVID ((volatile uint32_t *)REG_PIXC0_REVID) /* PIXC0 Revision Id */
-
-
-/* =========================================================================
- PVP0
- ========================================================================= */
-#define pREG_PVP0_REVID ((volatile uint32_t *)REG_PVP0_REVID) /* PVP0 Revision ID */
-#define pREG_PVP0_CTL ((volatile uint32_t *)REG_PVP0_CTL) /* PVP0 Control */
-#define pREG_PVP0_IMSK0 ((volatile uint32_t *)REG_PVP0_IMSK0) /* PVP0 Interrupt Mask n */
-#define pREG_PVP0_IMSK1 ((volatile uint32_t *)REG_PVP0_IMSK1) /* PVP0 Interrupt Mask n */
-#define pREG_PVP0_STAT ((volatile uint32_t *)REG_PVP0_STAT) /* PVP0 Status */
-#define pREG_PVP0_ILAT ((volatile uint32_t *)REG_PVP0_ILAT) /* PVP0 Interrupt Latch Status n */
-#define pREG_PVP0_IREQ0 ((volatile uint32_t *)REG_PVP0_IREQ0) /* PVP0 Interrupt Request n */
-#define pREG_PVP0_IREQ1 ((volatile uint32_t *)REG_PVP0_IREQ1) /* PVP0 Interrupt Request n */
-#define pREG_PVP0_OPF0_CFG ((volatile uint32_t *)REG_PVP0_OPF0_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF1_CFG ((volatile uint32_t *)REG_PVP0_OPF1_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF2_CFG ((volatile uint32_t *)REG_PVP0_OPF2_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF0_CTL ((volatile uint32_t *)REG_PVP0_OPF0_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF1_CTL ((volatile uint32_t *)REG_PVP0_OPF1_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF2_CTL ((volatile uint32_t *)REG_PVP0_OPF2_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF3_CFG ((volatile uint32_t *)REG_PVP0_OPF3_CFG) /* PVP0 OPF3 (Memory Pipe) Configuration */
-#define pREG_PVP0_OPF3_CTL ((volatile uint32_t *)REG_PVP0_OPF3_CTL) /* PVP0 OPF3 (Memory Pipe) Control */
-#define pREG_PVP0_PEC_CFG ((volatile uint32_t *)REG_PVP0_PEC_CFG) /* PVP0 PEC Configuration */
-#define pREG_PVP0_PEC_CTL ((volatile uint32_t *)REG_PVP0_PEC_CTL) /* PVP0 PEC Control */
-#define pREG_PVP0_PEC_D1TH0 ((volatile uint32_t *)REG_PVP0_PEC_D1TH0) /* PVP0 PEC Lower Hysteresis Threshold */
-#define pREG_PVP0_PEC_D1TH1 ((volatile uint32_t *)REG_PVP0_PEC_D1TH1) /* PVP0 PEC Upper Hysteresis Threshold */
-#define pREG_PVP0_PEC_D2TH0 ((volatile uint32_t *)REG_PVP0_PEC_D2TH0) /* PVP0 PEC Weak Zero Crossing Threshold */
-#define pREG_PVP0_PEC_D2TH1 ((volatile uint32_t *)REG_PVP0_PEC_D2TH1) /* PVP0 PEC Strong Zero Crossing Threshold */
-#define pREG_PVP0_IIM0_CFG ((volatile uint32_t *)REG_PVP0_IIM0_CFG) /* PVP0 IIMn Configuration */
-#define pREG_PVP0_IIM1_CFG ((volatile uint32_t *)REG_PVP0_IIM1_CFG) /* PVP0 IIMn Configuration */
-#define pREG_PVP0_IIM0_CTL ((volatile uint32_t *)REG_PVP0_IIM0_CTL) /* PVP0 IIMn Control */
-#define pREG_PVP0_IIM1_CTL ((volatile uint32_t *)REG_PVP0_IIM1_CTL) /* PVP0 IIMn Control */
-#define pREG_PVP0_IIM0_SCALE ((volatile uint32_t *)REG_PVP0_IIM0_SCALE) /* PVP0 IIMn Scaling Values */
-#define pREG_PVP0_IIM1_SCALE ((volatile uint32_t *)REG_PVP0_IIM1_SCALE) /* PVP0 IIMn Scaling Values */
-#define pREG_PVP0_IIM0_SOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM0_SOVF_STAT) /* PVP0 IIMn Signed Overflow Status */
-#define pREG_PVP0_IIM1_SOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM1_SOVF_STAT) /* PVP0 IIMn Signed Overflow Status */
-#define pREG_PVP0_IIM0_UOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM0_UOVF_STAT) /* PVP0 IIMn Unsigned Overflow Status */
-#define pREG_PVP0_IIM1_UOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM1_UOVF_STAT) /* PVP0 IIMn Unsigned Overflow Status */
-#define pREG_PVP0_ACU_CFG ((volatile uint32_t *)REG_PVP0_ACU_CFG) /* PVP0 ACU Configuration */
-#define pREG_PVP0_ACU_CTL ((volatile uint32_t *)REG_PVP0_ACU_CTL) /* PVP0 ACU Control */
-#define pREG_PVP0_ACU_OFFSET ((volatile uint32_t *)REG_PVP0_ACU_OFFSET) /* PVP0 ACU SUM Constant */
-#define pREG_PVP0_ACU_FACTOR ((volatile uint32_t *)REG_PVP0_ACU_FACTOR) /* PVP0 ACU PROD Constant */
-#define pREG_PVP0_ACU_SHIFT ((volatile uint32_t *)REG_PVP0_ACU_SHIFT) /* PVP0 ACU Shift Constant */
-#define pREG_PVP0_ACU_MIN ((volatile uint32_t *)REG_PVP0_ACU_MIN) /* PVP0 ACU Lower Sat Threshold Min */
-#define pREG_PVP0_ACU_MAX ((volatile uint32_t *)REG_PVP0_ACU_MAX) /* PVP0 ACU Upper Sat Threshold Max */
-#define pREG_PVP0_UDS_CFG ((volatile uint32_t *)REG_PVP0_UDS_CFG) /* PVP0 UDS Configuration */
-#define pREG_PVP0_UDS_CTL ((volatile uint32_t *)REG_PVP0_UDS_CTL) /* PVP0 UDS Control */
-#define pREG_PVP0_UDS_OHCNT ((volatile uint32_t *)REG_PVP0_UDS_OHCNT) /* PVP0 UDS Output HCNT */
-#define pREG_PVP0_UDS_OVCNT ((volatile uint32_t *)REG_PVP0_UDS_OVCNT) /* PVP0 UDS Output VCNT */
-#define pREG_PVP0_UDS_HAVG ((volatile uint32_t *)REG_PVP0_UDS_HAVG) /* PVP0 UDS HAVG */
-#define pREG_PVP0_UDS_VAVG ((volatile uint32_t *)REG_PVP0_UDS_VAVG) /* PVP0 UDS VAVG */
-#define pREG_PVP0_IPF0_CFG ((volatile uint32_t *)REG_PVP0_IPF0_CFG) /* PVP0 IPF0 (Camera Pipe) Configuration */
-#define pREG_PVP0_IPF0_PIPECTL ((volatile uint32_t *)REG_PVP0_IPF0_PIPECTL) /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define pREG_PVP0_IPF1_PIPECTL ((volatile uint32_t *)REG_PVP0_IPF1_PIPECTL) /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define pREG_PVP0_IPF0_CTL ((volatile uint32_t *)REG_PVP0_IPF0_CTL) /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define pREG_PVP0_IPF1_CTL ((volatile uint32_t *)REG_PVP0_IPF1_CTL) /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define pREG_PVP0_IPF0_TAG ((volatile uint32_t *)REG_PVP0_IPF0_TAG) /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define pREG_PVP0_IPF1_TAG ((volatile uint32_t *)REG_PVP0_IPF1_TAG) /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define pREG_PVP0_IPF0_FCNT ((volatile uint32_t *)REG_PVP0_IPF0_FCNT) /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define pREG_PVP0_IPF1_FCNT ((volatile uint32_t *)REG_PVP0_IPF1_FCNT) /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define pREG_PVP0_IPF0_HCNT ((volatile uint32_t *)REG_PVP0_IPF0_HCNT) /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define pREG_PVP0_IPF1_HCNT ((volatile uint32_t *)REG_PVP0_IPF1_HCNT) /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define pREG_PVP0_IPF0_VCNT ((volatile uint32_t *)REG_PVP0_IPF0_VCNT) /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define pREG_PVP0_IPF1_VCNT ((volatile uint32_t *)REG_PVP0_IPF1_VCNT) /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define pREG_PVP0_IPF0_HPOS ((volatile uint32_t *)REG_PVP0_IPF0_HPOS) /* PVP0 IPF0 (Camera Pipe) Horizontal Position */
-#define pREG_PVP0_IPF0_VPOS ((volatile uint32_t *)REG_PVP0_IPF0_VPOS) /* PVP0 IPF0 (Camera Pipe) Vertical Position */
-#define pREG_PVP0_IPF0_TAG_STAT ((volatile uint32_t *)REG_PVP0_IPF0_TAG_STAT) /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define pREG_PVP0_IPF1_TAG_STAT ((volatile uint32_t *)REG_PVP0_IPF1_TAG_STAT) /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define pREG_PVP0_IPF1_CFG ((volatile uint32_t *)REG_PVP0_IPF1_CFG) /* PVP0 IPF1 (Memory Pipe) Configuration */
-#define pREG_PVP0_CNV0_CFG ((volatile uint32_t *)REG_PVP0_CNV0_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV1_CFG ((volatile uint32_t *)REG_PVP0_CNV1_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV2_CFG ((volatile uint32_t *)REG_PVP0_CNV2_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV3_CFG ((volatile uint32_t *)REG_PVP0_CNV3_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV0_CTL ((volatile uint32_t *)REG_PVP0_CNV0_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV1_CTL ((volatile uint32_t *)REG_PVP0_CNV1_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV2_CTL ((volatile uint32_t *)REG_PVP0_CNV2_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV3_CTL ((volatile uint32_t *)REG_PVP0_CNV3_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV0_C00C01 ((volatile uint32_t *)REG_PVP0_CNV0_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV1_C00C01 ((volatile uint32_t *)REG_PVP0_CNV1_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV2_C00C01 ((volatile uint32_t *)REG_PVP0_CNV2_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV3_C00C01 ((volatile uint32_t *)REG_PVP0_CNV3_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV0_C02C03 ((volatile uint32_t *)REG_PVP0_CNV0_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV1_C02C03 ((volatile uint32_t *)REG_PVP0_CNV1_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV2_C02C03 ((volatile uint32_t *)REG_PVP0_CNV2_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV3_C02C03 ((volatile uint32_t *)REG_PVP0_CNV3_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV0_C04 ((volatile uint32_t *)REG_PVP0_CNV0_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV1_C04 ((volatile uint32_t *)REG_PVP0_CNV1_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV2_C04 ((volatile uint32_t *)REG_PVP0_CNV2_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV3_C04 ((volatile uint32_t *)REG_PVP0_CNV3_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV0_C10C11 ((volatile uint32_t *)REG_PVP0_CNV0_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV1_C10C11 ((volatile uint32_t *)REG_PVP0_CNV1_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV2_C10C11 ((volatile uint32_t *)REG_PVP0_CNV2_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV3_C10C11 ((volatile uint32_t *)REG_PVP0_CNV3_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV0_C12C13 ((volatile uint32_t *)REG_PVP0_CNV0_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV1_C12C13 ((volatile uint32_t *)REG_PVP0_CNV1_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV2_C12C13 ((volatile uint32_t *)REG_PVP0_CNV2_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV3_C12C13 ((volatile uint32_t *)REG_PVP0_CNV3_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV0_C14 ((volatile uint32_t *)REG_PVP0_CNV0_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV1_C14 ((volatile uint32_t *)REG_PVP0_CNV1_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV2_C14 ((volatile uint32_t *)REG_PVP0_CNV2_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV3_C14 ((volatile uint32_t *)REG_PVP0_CNV3_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV0_C20C21 ((volatile uint32_t *)REG_PVP0_CNV0_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV1_C20C21 ((volatile uint32_t *)REG_PVP0_CNV1_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV2_C20C21 ((volatile uint32_t *)REG_PVP0_CNV2_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV3_C20C21 ((volatile uint32_t *)REG_PVP0_CNV3_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV0_C22C23 ((volatile uint32_t *)REG_PVP0_CNV0_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV1_C22C23 ((volatile uint32_t *)REG_PVP0_CNV1_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV2_C22C23 ((volatile uint32_t *)REG_PVP0_CNV2_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV3_C22C23 ((volatile uint32_t *)REG_PVP0_CNV3_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV0_C24 ((volatile uint32_t *)REG_PVP0_CNV0_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV1_C24 ((volatile uint32_t *)REG_PVP0_CNV1_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV2_C24 ((volatile uint32_t *)REG_PVP0_CNV2_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV3_C24 ((volatile uint32_t *)REG_PVP0_CNV3_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV0_C30C31 ((volatile uint32_t *)REG_PVP0_CNV0_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV1_C30C31 ((volatile uint32_t *)REG_PVP0_CNV1_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV2_C30C31 ((volatile uint32_t *)REG_PVP0_CNV2_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV3_C30C31 ((volatile uint32_t *)REG_PVP0_CNV3_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV0_C32C33 ((volatile uint32_t *)REG_PVP0_CNV0_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV1_C32C33 ((volatile uint32_t *)REG_PVP0_CNV1_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV2_C32C33 ((volatile uint32_t *)REG_PVP0_CNV2_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV3_C32C33 ((volatile uint32_t *)REG_PVP0_CNV3_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV0_C34 ((volatile uint32_t *)REG_PVP0_CNV0_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV1_C34 ((volatile uint32_t *)REG_PVP0_CNV1_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV2_C34 ((volatile uint32_t *)REG_PVP0_CNV2_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV3_C34 ((volatile uint32_t *)REG_PVP0_CNV3_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV0_C40C41 ((volatile uint32_t *)REG_PVP0_CNV0_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV1_C40C41 ((volatile uint32_t *)REG_PVP0_CNV1_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV2_C40C41 ((volatile uint32_t *)REG_PVP0_CNV2_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV3_C40C41 ((volatile uint32_t *)REG_PVP0_CNV3_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV0_C42C43 ((volatile uint32_t *)REG_PVP0_CNV0_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV1_C42C43 ((volatile uint32_t *)REG_PVP0_CNV1_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV2_C42C43 ((volatile uint32_t *)REG_PVP0_CNV2_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV3_C42C43 ((volatile uint32_t *)REG_PVP0_CNV3_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV0_C44 ((volatile uint32_t *)REG_PVP0_CNV0_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV1_C44 ((volatile uint32_t *)REG_PVP0_CNV1_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV2_C44 ((volatile uint32_t *)REG_PVP0_CNV2_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV3_C44 ((volatile uint32_t *)REG_PVP0_CNV3_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV0_SCALE ((volatile uint32_t *)REG_PVP0_CNV0_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV1_SCALE ((volatile uint32_t *)REG_PVP0_CNV1_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV2_SCALE ((volatile uint32_t *)REG_PVP0_CNV2_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV3_SCALE ((volatile uint32_t *)REG_PVP0_CNV3_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_THC0_CFG ((volatile uint32_t *)REG_PVP0_THC0_CFG) /* PVP0 THCn Configuration */
-#define pREG_PVP0_THC1_CFG ((volatile uint32_t *)REG_PVP0_THC1_CFG) /* PVP0 THCn Configuration */
-#define pREG_PVP0_THC0_CTL ((volatile uint32_t *)REG_PVP0_THC0_CTL) /* PVP0 THCn Control */
-#define pREG_PVP0_THC1_CTL ((volatile uint32_t *)REG_PVP0_THC1_CTL) /* PVP0 THCn Control */
-#define pREG_PVP0_THC0_HFCNT ((volatile uint32_t *)REG_PVP0_THC0_HFCNT) /* PVP0 THCn Histogram Frame Count */
-#define pREG_PVP0_THC1_HFCNT ((volatile uint32_t *)REG_PVP0_THC1_HFCNT) /* PVP0 THCn Histogram Frame Count */
-#define pREG_PVP0_THC0_RMAXREP ((volatile uint32_t *)REG_PVP0_THC0_RMAXREP) /* PVP0 THCn Max RLE Reports */
-#define pREG_PVP0_THC1_RMAXREP ((volatile uint32_t *)REG_PVP0_THC1_RMAXREP) /* PVP0 THCn Max RLE Reports */
-#define pREG_PVP0_THC0_CMINVAL ((volatile int32_t *)REG_PVP0_THC0_CMINVAL) /* PVP0 THCn Min Clip Value */
-#define pREG_PVP0_THC1_CMINVAL ((volatile int32_t *)REG_PVP0_THC1_CMINVAL) /* PVP0 THCn Min Clip Value */
-#define pREG_PVP0_THC0_CMINTH ((volatile int32_t *)REG_PVP0_THC0_CMINTH) /* PVP0 THCn Clip Min Threshold */
-#define pREG_PVP0_THC1_CMINTH ((volatile int32_t *)REG_PVP0_THC1_CMINTH) /* PVP0 THCn Clip Min Threshold */
-#define pREG_PVP0_THC0_CMAXTH ((volatile int32_t *)REG_PVP0_THC0_CMAXTH) /* PVP0 THCn Clip Max Threshold */
-#define pREG_PVP0_THC1_CMAXTH ((volatile int32_t *)REG_PVP0_THC1_CMAXTH) /* PVP0 THCn Clip Max Threshold */
-#define pREG_PVP0_THC0_CMAXVAL ((volatile int32_t *)REG_PVP0_THC0_CMAXVAL) /* PVP0 THCn Max Clip Value */
-#define pREG_PVP0_THC1_CMAXVAL ((volatile int32_t *)REG_PVP0_THC1_CMAXVAL) /* PVP0 THCn Max Clip Value */
-#define pREG_PVP0_THC0_TH0 ((volatile int32_t *)REG_PVP0_THC0_TH0) /* PVP0 THCn Threshold Value 0 */
-#define pREG_PVP0_THC1_TH0 ((volatile int32_t *)REG_PVP0_THC1_TH0) /* PVP0 THCn Threshold Value 0 */
-#define pREG_PVP0_THC0_TH1 ((volatile int32_t *)REG_PVP0_THC0_TH1) /* PVP0 THCn Threshold Value 1 */
-#define pREG_PVP0_THC1_TH1 ((volatile int32_t *)REG_PVP0_THC1_TH1) /* PVP0 THCn Threshold Value 1 */
-#define pREG_PVP0_THC0_TH2 ((volatile int32_t *)REG_PVP0_THC0_TH2) /* PVP0 THCn Threshold Value 2 */
-#define pREG_PVP0_THC1_TH2 ((volatile int32_t *)REG_PVP0_THC1_TH2) /* PVP0 THCn Threshold Value 2 */
-#define pREG_PVP0_THC0_TH3 ((volatile int32_t *)REG_PVP0_THC0_TH3) /* PVP0 THCn Threshold Value 3 */
-#define pREG_PVP0_THC1_TH3 ((volatile int32_t *)REG_PVP0_THC1_TH3) /* PVP0 THCn Threshold Value 3 */
-#define pREG_PVP0_THC0_TH4 ((volatile int32_t *)REG_PVP0_THC0_TH4) /* PVP0 THCn Threshold Value 4 */
-#define pREG_PVP0_THC1_TH4 ((volatile int32_t *)REG_PVP0_THC1_TH4) /* PVP0 THCn Threshold Value 4 */
-#define pREG_PVP0_THC0_TH5 ((volatile int32_t *)REG_PVP0_THC0_TH5) /* PVP0 THCn Threshold Value 5 */
-#define pREG_PVP0_THC1_TH5 ((volatile int32_t *)REG_PVP0_THC1_TH5) /* PVP0 THCn Threshold Value 5 */
-#define pREG_PVP0_THC0_TH6 ((volatile int32_t *)REG_PVP0_THC0_TH6) /* PVP0 THCn Threshold Value 6 */
-#define pREG_PVP0_THC1_TH6 ((volatile int32_t *)REG_PVP0_THC1_TH6) /* PVP0 THCn Threshold Value 6 */
-#define pREG_PVP0_THC0_TH7 ((volatile int32_t *)REG_PVP0_THC0_TH7) /* PVP0 THCn Threshold Value 7 */
-#define pREG_PVP0_THC1_TH7 ((volatile int32_t *)REG_PVP0_THC1_TH7) /* PVP0 THCn Threshold Value 7 */
-#define pREG_PVP0_THC0_TH8 ((volatile int32_t *)REG_PVP0_THC0_TH8) /* PVP0 THCn Threshold Value 8 */
-#define pREG_PVP0_THC1_TH8 ((volatile int32_t *)REG_PVP0_THC1_TH8) /* PVP0 THCn Threshold Value 8 */
-#define pREG_PVP0_THC0_TH9 ((volatile int32_t *)REG_PVP0_THC0_TH9) /* PVP0 THCn Threshold Value 9 */
-#define pREG_PVP0_THC1_TH9 ((volatile int32_t *)REG_PVP0_THC1_TH9) /* PVP0 THCn Threshold Value 9 */
-#define pREG_PVP0_THC0_TH10 ((volatile int32_t *)REG_PVP0_THC0_TH10) /* PVP0 THCn Threshold Value 10 */
-#define pREG_PVP0_THC1_TH10 ((volatile int32_t *)REG_PVP0_THC1_TH10) /* PVP0 THCn Threshold Value 10 */
-#define pREG_PVP0_THC0_TH11 ((volatile int32_t *)REG_PVP0_THC0_TH11) /* PVP0 THCn Threshold Value 11 */
-#define pREG_PVP0_THC1_TH11 ((volatile int32_t *)REG_PVP0_THC1_TH11) /* PVP0 THCn Threshold Value 11 */
-#define pREG_PVP0_THC0_TH12 ((volatile int32_t *)REG_PVP0_THC0_TH12) /* PVP0 THCn Threshold Value 12 */
-#define pREG_PVP0_THC1_TH12 ((volatile int32_t *)REG_PVP0_THC1_TH12) /* PVP0 THCn Threshold Value 12 */
-#define pREG_PVP0_THC0_TH13 ((volatile int32_t *)REG_PVP0_THC0_TH13) /* PVP0 THCn Threshold Value 13 */
-#define pREG_PVP0_THC1_TH13 ((volatile int32_t *)REG_PVP0_THC1_TH13) /* PVP0 THCn Threshold Value 13 */
-#define pREG_PVP0_THC0_TH14 ((volatile int32_t *)REG_PVP0_THC0_TH14) /* PVP0 THCn Threshold Value 14 */
-#define pREG_PVP0_THC1_TH14 ((volatile int32_t *)REG_PVP0_THC1_TH14) /* PVP0 THCn Threshold Value 14 */
-#define pREG_PVP0_THC0_TH15 ((volatile int32_t *)REG_PVP0_THC0_TH15) /* PVP0 THCn Threshold Value 15 */
-#define pREG_PVP0_THC1_TH15 ((volatile int32_t *)REG_PVP0_THC1_TH15) /* PVP0 THCn Threshold Value 15 */
-#define pREG_PVP0_THC0_HHPOS ((volatile uint32_t *)REG_PVP0_THC0_HHPOS) /* PVP0 THCn Histogram Horzontal Position */
-#define pREG_PVP0_THC1_HHPOS ((volatile uint32_t *)REG_PVP0_THC1_HHPOS) /* PVP0 THCn Histogram Horzontal Position */
-#define pREG_PVP0_THC0_HVPOS ((volatile uint32_t *)REG_PVP0_THC0_HVPOS) /* PVP0 THCn Histogram Vertical Position */
-#define pREG_PVP0_THC1_HVPOS ((volatile uint32_t *)REG_PVP0_THC1_HVPOS) /* PVP0 THCn Histogram Vertical Position */
-#define pREG_PVP0_THC0_HHCNT ((volatile uint32_t *)REG_PVP0_THC0_HHCNT) /* PVP0 THCn Histogram Horizontal Count */
-#define pREG_PVP0_THC1_HHCNT ((volatile uint32_t *)REG_PVP0_THC1_HHCNT) /* PVP0 THCn Histogram Horizontal Count */
-#define pREG_PVP0_THC0_HVCNT ((volatile uint32_t *)REG_PVP0_THC0_HVCNT) /* PVP0 THCn Histogram Vertical Count */
-#define pREG_PVP0_THC1_HVCNT ((volatile uint32_t *)REG_PVP0_THC1_HVCNT) /* PVP0 THCn Histogram Vertical Count */
-#define pREG_PVP0_THC0_RHPOS ((volatile uint32_t *)REG_PVP0_THC0_RHPOS) /* PVP0 THCn RLE Horizontal Position */
-#define pREG_PVP0_THC1_RHPOS ((volatile uint32_t *)REG_PVP0_THC1_RHPOS) /* PVP0 THCn RLE Horizontal Position */
-#define pREG_PVP0_THC0_RVPOS ((volatile uint32_t *)REG_PVP0_THC0_RVPOS) /* PVP0 THCn RLE Vertical Position */
-#define pREG_PVP0_THC1_RVPOS ((volatile uint32_t *)REG_PVP0_THC1_RVPOS) /* PVP0 THCn RLE Vertical Position */
-#define pREG_PVP0_THC0_RHCNT ((volatile uint32_t *)REG_PVP0_THC0_RHCNT) /* PVP0 THCn RLE Horizontal Count */
-#define pREG_PVP0_THC1_RHCNT ((volatile uint32_t *)REG_PVP0_THC1_RHCNT) /* PVP0 THCn RLE Horizontal Count */
-#define pREG_PVP0_THC0_RVCNT ((volatile uint32_t *)REG_PVP0_THC0_RVCNT) /* PVP0 THCn RLE Vertical Count */
-#define pREG_PVP0_THC1_RVCNT ((volatile uint32_t *)REG_PVP0_THC1_RVCNT) /* PVP0 THCn RLE Vertical Count */
-#define pREG_PVP0_THC0_HFCNT_STAT ((volatile uint32_t *)REG_PVP0_THC0_HFCNT_STAT) /* PVP0 THCn Histogram Frame Count Status */
-#define pREG_PVP0_THC1_HFCNT_STAT ((volatile uint32_t *)REG_PVP0_THC1_HFCNT_STAT) /* PVP0 THCn Histogram Frame Count Status */
-#define pREG_PVP0_THC0_HCNT0_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT0_STAT) /* PVP0 THCn Histogram Counter Value 0 */
-#define pREG_PVP0_THC1_HCNT0_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT0_STAT) /* PVP0 THCn Histogram Counter Value 0 */
-#define pREG_PVP0_THC0_HCNT1_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT1_STAT) /* PVP0 THCn Histogram Counter Value 1 */
-#define pREG_PVP0_THC1_HCNT1_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT1_STAT) /* PVP0 THCn Histogram Counter Value 1 */
-#define pREG_PVP0_THC0_HCNT2_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT2_STAT) /* PVP0 THCn Histogram Counter Value 2 */
-#define pREG_PVP0_THC1_HCNT2_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT2_STAT) /* PVP0 THCn Histogram Counter Value 2 */
-#define pREG_PVP0_THC0_HCNT3_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT3_STAT) /* PVP0 THCn Histogram Counter Value 3 */
-#define pREG_PVP0_THC1_HCNT3_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT3_STAT) /* PVP0 THCn Histogram Counter Value 3 */
-#define pREG_PVP0_THC0_HCNT4_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT4_STAT) /* PVP0 THCn Histogram Counter Value 4 */
-#define pREG_PVP0_THC1_HCNT4_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT4_STAT) /* PVP0 THCn Histogram Counter Value 4 */
-#define pREG_PVP0_THC0_HCNT5_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT5_STAT) /* PVP0 THCn Histogram Counter Value 5 */
-#define pREG_PVP0_THC1_HCNT5_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT5_STAT) /* PVP0 THCn Histogram Counter Value 5 */
-#define pREG_PVP0_THC0_HCNT6_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT6_STAT) /* PVP0 THCn Histogram Counter Value 6 */
-#define pREG_PVP0_THC1_HCNT6_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT6_STAT) /* PVP0 THCn Histogram Counter Value 6 */
-#define pREG_PVP0_THC0_HCNT7_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT7_STAT) /* PVP0 THCn Histogram Counter Value 7 */
-#define pREG_PVP0_THC1_HCNT7_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT7_STAT) /* PVP0 THCn Histogram Counter Value 7 */
-#define pREG_PVP0_THC0_HCNT8_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT8_STAT) /* PVP0 THCn Histogram Counter Value 8 */
-#define pREG_PVP0_THC1_HCNT8_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT8_STAT) /* PVP0 THCn Histogram Counter Value 8 */
-#define pREG_PVP0_THC0_HCNT9_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT9_STAT) /* PVP0 THCn Histogram Counter Value 9 */
-#define pREG_PVP0_THC1_HCNT9_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT9_STAT) /* PVP0 THCn Histogram Counter Value 9 */
-#define pREG_PVP0_THC0_HCNT10_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT10_STAT) /* PVP0 THCn Histogram Counter Value 10 */
-#define pREG_PVP0_THC1_HCNT10_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT10_STAT) /* PVP0 THCn Histogram Counter Value 10 */
-#define pREG_PVP0_THC0_HCNT11_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT11_STAT) /* PVP0 THCn Histogram Counter Value 11 */
-#define pREG_PVP0_THC1_HCNT11_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT11_STAT) /* PVP0 THCn Histogram Counter Value 11 */
-#define pREG_PVP0_THC0_HCNT12_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT12_STAT) /* PVP0 THCn Histogram Counter Value 12 */
-#define pREG_PVP0_THC1_HCNT12_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT12_STAT) /* PVP0 THCn Histogram Counter Value 12 */
-#define pREG_PVP0_THC0_HCNT13_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT13_STAT) /* PVP0 THCn Histogram Counter Value 13 */
-#define pREG_PVP0_THC1_HCNT13_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT13_STAT) /* PVP0 THCn Histogram Counter Value 13 */
-#define pREG_PVP0_THC0_HCNT14_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT14_STAT) /* PVP0 THCn Histogram Counter Value 14 */
-#define pREG_PVP0_THC1_HCNT14_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT14_STAT) /* PVP0 THCn Histogram Counter Value 14 */
-#define pREG_PVP0_THC0_HCNT15_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT15_STAT) /* PVP0 THCn Histogram Counter Value 15 */
-#define pREG_PVP0_THC1_HCNT15_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT15_STAT) /* PVP0 THCn Histogram Counter Value 15 */
-#define pREG_PVP0_THC0_RREP_STAT ((volatile uint32_t *)REG_PVP0_THC0_RREP_STAT) /* PVP0 THCn Number of RLE Reports */
-#define pREG_PVP0_THC1_RREP_STAT ((volatile uint32_t *)REG_PVP0_THC1_RREP_STAT) /* PVP0 THCn Number of RLE Reports */
-#define pREG_PVP0_PMA_CFG ((volatile uint32_t *)REG_PVP0_PMA_CFG) /* PVP0 PMA Configuration */
-
-
-/* =========================================================================
- PWM0
- ========================================================================= */
-#define pREG_PWM0_CTL ((volatile uint32_t *)REG_PWM0_CTL) /* PWM0 Control Register */
-#define pREG_PWM0_CHANCFG ((volatile uint32_t *)REG_PWM0_CHANCFG) /* PWM0 Channel Config Register */
-#define pREG_PWM0_TRIPCFG ((volatile uint32_t *)REG_PWM0_TRIPCFG) /* PWM0 Trip Config Register */
-#define pREG_PWM0_STAT ((volatile uint32_t *)REG_PWM0_STAT) /* PWM0 Status Register */
-#define pREG_PWM0_IMSK ((volatile uint32_t *)REG_PWM0_IMSK) /* PWM0 Interrupt Mask Register */
-#define pREG_PWM0_ILAT ((volatile uint32_t *)REG_PWM0_ILAT) /* PWM0 Interrupt Latch Register */
-#define pREG_PWM0_CHOPCFG ((volatile uint32_t *)REG_PWM0_CHOPCFG) /* PWM0 Chop Configuration Register */
-#define pREG_PWM0_DT ((volatile uint32_t *)REG_PWM0_DT) /* PWM0 Dead Time Register */
-#define pREG_PWM0_SYNC_WID ((volatile uint32_t *)REG_PWM0_SYNC_WID) /* PWM0 Sync Pulse Width Register */
-#define pREG_PWM0_TM0 ((volatile uint32_t *)REG_PWM0_TM0) /* PWM0 Timer 0 Period Register */
-#define pREG_PWM0_TM1 ((volatile uint32_t *)REG_PWM0_TM1) /* PWM0 Timer 1 Period Register */
-#define pREG_PWM0_TM2 ((volatile uint32_t *)REG_PWM0_TM2) /* PWM0 Timer 2 Period Register */
-#define pREG_PWM0_TM3 ((volatile uint32_t *)REG_PWM0_TM3) /* PWM0 Timer 3 Period Register */
-#define pREG_PWM0_TM4 ((volatile uint32_t *)REG_PWM0_TM4) /* PWM0 Timer 4 Period Register */
-#define pREG_PWM0_DLYA ((volatile uint32_t *)REG_PWM0_DLYA) /* PWM0 Channel A Delay Register */
-#define pREG_PWM0_DLYB ((volatile uint32_t *)REG_PWM0_DLYB) /* PWM0 Channel B Delay Register */
-#define pREG_PWM0_DLYC ((volatile uint32_t *)REG_PWM0_DLYC) /* PWM0 Channel C Delay Register */
-#define pREG_PWM0_DLYD ((volatile uint32_t *)REG_PWM0_DLYD) /* PWM0 Channel D Delay Register */
-#define pREG_PWM0_ACTL ((volatile uint32_t *)REG_PWM0_ACTL) /* PWM0 Channel A Control Register */
-#define pREG_PWM0_AH0 ((volatile uint32_t *)REG_PWM0_AH0) /* PWM0 Channel A-High Duty-0 Register */
-#define pREG_PWM0_AH1 ((volatile uint32_t *)REG_PWM0_AH1) /* PWM0 Channel A-High Duty-1 Register */
-#define pREG_PWM0_AL0 ((volatile uint32_t *)REG_PWM0_AL0) /* PWM0 Channel A-Low Duty-0 Register */
-#define pREG_PWM0_AL1 ((volatile uint32_t *)REG_PWM0_AL1) /* PWM0 Channel A-Low Duty-1 Register */
-#define pREG_PWM0_BCTL ((volatile uint32_t *)REG_PWM0_BCTL) /* PWM0 Channel B Control Register */
-#define pREG_PWM0_BH0 ((volatile uint32_t *)REG_PWM0_BH0) /* PWM0 Channel B-High Duty-0 Register */
-#define pREG_PWM0_BH1 ((volatile uint32_t *)REG_PWM0_BH1) /* PWM0 Channel B-High Duty-1 Register */
-#define pREG_PWM0_BL0 ((volatile uint32_t *)REG_PWM0_BL0) /* PWM0 Channel B-Low Duty-0 Register */
-#define pREG_PWM0_BL1 ((volatile uint32_t *)REG_PWM0_BL1) /* PWM0 Channel B-Low Duty-1 Register */
-#define pREG_PWM0_CCTL ((volatile uint32_t *)REG_PWM0_CCTL) /* PWM0 Channel C Control Register */
-#define pREG_PWM0_CH0 ((volatile uint32_t *)REG_PWM0_CH0) /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM0_CH1 ((volatile uint32_t *)REG_PWM0_CH1) /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM0_CL0 ((volatile uint32_t *)REG_PWM0_CL0) /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM0_CL1 ((volatile uint32_t *)REG_PWM0_CL1) /* PWM0 Channel C-Low Duty-1 Register */
-#define pREG_PWM0_DCTL ((volatile uint32_t *)REG_PWM0_DCTL) /* PWM0 Channel D Control Register */
-#define pREG_PWM0_DH0 ((volatile uint32_t *)REG_PWM0_DH0) /* PWM0 Channel D-High Duty-0 Register */
-#define pREG_PWM0_DH1 ((volatile uint32_t *)REG_PWM0_DH1) /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM0_DL0 ((volatile uint32_t *)REG_PWM0_DL0) /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM0_DL1 ((volatile uint32_t *)REG_PWM0_DL1) /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================================================================
- PWM1
- ========================================================================= */
-#define pREG_PWM1_CTL ((volatile uint32_t *)REG_PWM1_CTL) /* PWM1 Control Register */
-#define pREG_PWM1_CHANCFG ((volatile uint32_t *)REG_PWM1_CHANCFG) /* PWM1 Channel Config Register */
-#define pREG_PWM1_TRIPCFG ((volatile uint32_t *)REG_PWM1_TRIPCFG) /* PWM1 Trip Config Register */
-#define pREG_PWM1_STAT ((volatile uint32_t *)REG_PWM1_STAT) /* PWM1 Status Register */
-#define pREG_PWM1_IMSK ((volatile uint32_t *)REG_PWM1_IMSK) /* PWM1 Interrupt Mask Register */
-#define pREG_PWM1_ILAT ((volatile uint32_t *)REG_PWM1_ILAT) /* PWM1 Interrupt Latch Register */
-#define pREG_PWM1_CHOPCFG ((volatile uint32_t *)REG_PWM1_CHOPCFG) /* PWM1 Chop Configuration Register */
-#define pREG_PWM1_DT ((volatile uint32_t *)REG_PWM1_DT) /* PWM1 Dead Time Register */
-#define pREG_PWM1_SYNC_WID ((volatile uint32_t *)REG_PWM1_SYNC_WID) /* PWM1 Sync Pulse Width Register */
-#define pREG_PWM1_TM0 ((volatile uint32_t *)REG_PWM1_TM0) /* PWM1 Timer 0 Period Register */
-#define pREG_PWM1_TM1 ((volatile uint32_t *)REG_PWM1_TM1) /* PWM1 Timer 1 Period Register */
-#define pREG_PWM1_TM2 ((volatile uint32_t *)REG_PWM1_TM2) /* PWM1 Timer 2 Period Register */
-#define pREG_PWM1_TM3 ((volatile uint32_t *)REG_PWM1_TM3) /* PWM1 Timer 3 Period Register */
-#define pREG_PWM1_TM4 ((volatile uint32_t *)REG_PWM1_TM4) /* PWM1 Timer 4 Period Register */
-#define pREG_PWM1_DLYA ((volatile uint32_t *)REG_PWM1_DLYA) /* PWM1 Channel A Delay Register */
-#define pREG_PWM1_DLYB ((volatile uint32_t *)REG_PWM1_DLYB) /* PWM1 Channel B Delay Register */
-#define pREG_PWM1_DLYC ((volatile uint32_t *)REG_PWM1_DLYC) /* PWM1 Channel C Delay Register */
-#define pREG_PWM1_DLYD ((volatile uint32_t *)REG_PWM1_DLYD) /* PWM1 Channel D Delay Register */
-#define pREG_PWM1_ACTL ((volatile uint32_t *)REG_PWM1_ACTL) /* PWM1 Channel A Control Register */
-#define pREG_PWM1_AH0 ((volatile uint32_t *)REG_PWM1_AH0) /* PWM1 Channel A-High Duty-0 Register */
-#define pREG_PWM1_AH1 ((volatile uint32_t *)REG_PWM1_AH1) /* PWM1 Channel A-High Duty-1 Register */
-#define pREG_PWM1_AL0 ((volatile uint32_t *)REG_PWM1_AL0) /* PWM1 Channel A-Low Duty-0 Register */
-#define pREG_PWM1_AL1 ((volatile uint32_t *)REG_PWM1_AL1) /* PWM1 Channel A-Low Duty-1 Register */
-#define pREG_PWM1_BCTL ((volatile uint32_t *)REG_PWM1_BCTL) /* PWM1 Channel B Control Register */
-#define pREG_PWM1_BH0 ((volatile uint32_t *)REG_PWM1_BH0) /* PWM1 Channel B-High Duty-0 Register */
-#define pREG_PWM1_BH1 ((volatile uint32_t *)REG_PWM1_BH1) /* PWM1 Channel B-High Duty-1 Register */
-#define pREG_PWM1_BL0 ((volatile uint32_t *)REG_PWM1_BL0) /* PWM1 Channel B-Low Duty-0 Register */
-#define pREG_PWM1_BL1 ((volatile uint32_t *)REG_PWM1_BL1) /* PWM1 Channel B-Low Duty-1 Register */
-#define pREG_PWM1_CCTL ((volatile uint32_t *)REG_PWM1_CCTL) /* PWM1 Channel C Control Register */
-#define pREG_PWM1_CH0 ((volatile uint32_t *)REG_PWM1_CH0) /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM1_CH1 ((volatile uint32_t *)REG_PWM1_CH1) /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM1_CL0 ((volatile uint32_t *)REG_PWM1_CL0) /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM1_CL1 ((volatile uint32_t *)REG_PWM1_CL1) /* PWM1 Channel C-Low Duty-1 Register */
-#define pREG_PWM1_DCTL ((volatile uint32_t *)REG_PWM1_DCTL) /* PWM1 Channel D Control Register */
-#define pREG_PWM1_DH0 ((volatile uint32_t *)REG_PWM1_DH0) /* PWM1 Channel D-High Duty-0 Register */
-#define pREG_PWM1_DH1 ((volatile uint32_t *)REG_PWM1_DH1) /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM1_DL0 ((volatile uint32_t *)REG_PWM1_DL0) /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM1_DL1 ((volatile uint32_t *)REG_PWM1_DL1) /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-
-/* =========================================================================
- VID0
- ========================================================================= */
-#define pREG_VID0_CONN ((volatile uint32_t *)REG_VID0_CONN) /* VID0 Video Subsystem Connect Register */
-
-
-/* =========================================================================
- SWU0
- ========================================================================= */
-#define pREG_SWU0_GCTL ((volatile uint32_t *)REG_SWU0_GCTL) /* SWU0 Global Control Register */
-#define pREG_SWU0_GSTAT ((volatile uint32_t *)REG_SWU0_GSTAT) /* SWU0 Global Status Register */
-#define pREG_SWU0_CTL0 ((volatile uint32_t *)REG_SWU0_CTL0) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL1 ((volatile uint32_t *)REG_SWU0_CTL1) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL2 ((volatile uint32_t *)REG_SWU0_CTL2) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL3 ((volatile uint32_t *)REG_SWU0_CTL3) /* SWU0 Control Register n */
-#define pREG_SWU0_LA0 ((void * volatile *)REG_SWU0_LA0) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA1 ((void * volatile *)REG_SWU0_LA1) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA2 ((void * volatile *)REG_SWU0_LA2) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA3 ((void * volatile *)REG_SWU0_LA3) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_UA0 ((void * volatile *)REG_SWU0_UA0) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA1 ((void * volatile *)REG_SWU0_UA1) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA2 ((void * volatile *)REG_SWU0_UA2) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA3 ((void * volatile *)REG_SWU0_UA3) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_ID0 ((volatile uint32_t *)REG_SWU0_ID0) /* SWU0 ID Register n */
-#define pREG_SWU0_ID1 ((volatile uint32_t *)REG_SWU0_ID1) /* SWU0 ID Register n */
-#define pREG_SWU0_ID2 ((volatile uint32_t *)REG_SWU0_ID2) /* SWU0 ID Register n */
-#define pREG_SWU0_ID3 ((volatile uint32_t *)REG_SWU0_ID3) /* SWU0 ID Register n */
-#define pREG_SWU0_CNT0 ((volatile uint32_t *)REG_SWU0_CNT0) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT1 ((volatile uint32_t *)REG_SWU0_CNT1) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT2 ((volatile uint32_t *)REG_SWU0_CNT2) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT3 ((volatile uint32_t *)REG_SWU0_CNT3) /* SWU0 Count Register n */
-#define pREG_SWU0_TARG0 ((volatile uint32_t *)REG_SWU0_TARG0) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG1 ((volatile uint32_t *)REG_SWU0_TARG1) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG2 ((volatile uint32_t *)REG_SWU0_TARG2) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG3 ((volatile uint32_t *)REG_SWU0_TARG3) /* SWU0 Target Register n */
-#define pREG_SWU0_HIST0 ((volatile uint32_t *)REG_SWU0_HIST0) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST1 ((volatile uint32_t *)REG_SWU0_HIST1) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST2 ((volatile uint32_t *)REG_SWU0_HIST2) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST3 ((volatile uint32_t *)REG_SWU0_HIST3) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_CUR0 ((volatile uint32_t *)REG_SWU0_CUR0) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR1 ((volatile uint32_t *)REG_SWU0_CUR1) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR2 ((volatile uint32_t *)REG_SWU0_CUR2) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR3 ((volatile uint32_t *)REG_SWU0_CUR3) /* SWU0 Current Register n */
-
-/* =========================================================================
- SWU1
- ========================================================================= */
-#define pREG_SWU1_GCTL ((volatile uint32_t *)REG_SWU1_GCTL) /* SWU1 Global Control Register */
-#define pREG_SWU1_GSTAT ((volatile uint32_t *)REG_SWU1_GSTAT) /* SWU1 Global Status Register */
-#define pREG_SWU1_CTL0 ((volatile uint32_t *)REG_SWU1_CTL0) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL1 ((volatile uint32_t *)REG_SWU1_CTL1) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL2 ((volatile uint32_t *)REG_SWU1_CTL2) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL3 ((volatile uint32_t *)REG_SWU1_CTL3) /* SWU1 Control Register n */
-#define pREG_SWU1_LA0 ((void * volatile *)REG_SWU1_LA0) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA1 ((void * volatile *)REG_SWU1_LA1) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA2 ((void * volatile *)REG_SWU1_LA2) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA3 ((void * volatile *)REG_SWU1_LA3) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_UA0 ((void * volatile *)REG_SWU1_UA0) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA1 ((void * volatile *)REG_SWU1_UA1) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA2 ((void * volatile *)REG_SWU1_UA2) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA3 ((void * volatile *)REG_SWU1_UA3) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_ID0 ((volatile uint32_t *)REG_SWU1_ID0) /* SWU1 ID Register n */
-#define pREG_SWU1_ID1 ((volatile uint32_t *)REG_SWU1_ID1) /* SWU1 ID Register n */
-#define pREG_SWU1_ID2 ((volatile uint32_t *)REG_SWU1_ID2) /* SWU1 ID Register n */
-#define pREG_SWU1_ID3 ((volatile uint32_t *)REG_SWU1_ID3) /* SWU1 ID Register n */
-#define pREG_SWU1_CNT0 ((volatile uint32_t *)REG_SWU1_CNT0) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT1 ((volatile uint32_t *)REG_SWU1_CNT1) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT2 ((volatile uint32_t *)REG_SWU1_CNT2) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT3 ((volatile uint32_t *)REG_SWU1_CNT3) /* SWU1 Count Register n */
-#define pREG_SWU1_TARG0 ((volatile uint32_t *)REG_SWU1_TARG0) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG1 ((volatile uint32_t *)REG_SWU1_TARG1) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG2 ((volatile uint32_t *)REG_SWU1_TARG2) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG3 ((volatile uint32_t *)REG_SWU1_TARG3) /* SWU1 Target Register n */
-#define pREG_SWU1_HIST0 ((volatile uint32_t *)REG_SWU1_HIST0) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST1 ((volatile uint32_t *)REG_SWU1_HIST1) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST2 ((volatile uint32_t *)REG_SWU1_HIST2) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST3 ((volatile uint32_t *)REG_SWU1_HIST3) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_CUR0 ((volatile uint32_t *)REG_SWU1_CUR0) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR1 ((volatile uint32_t *)REG_SWU1_CUR1) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR2 ((volatile uint32_t *)REG_SWU1_CUR2) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR3 ((volatile uint32_t *)REG_SWU1_CUR3) /* SWU1 Current Register n */
-
-/* =========================================================================
- SWU2
- ========================================================================= */
-#define pREG_SWU2_GCTL ((volatile uint32_t *)REG_SWU2_GCTL) /* SWU2 Global Control Register */
-#define pREG_SWU2_GSTAT ((volatile uint32_t *)REG_SWU2_GSTAT) /* SWU2 Global Status Register */
-#define pREG_SWU2_CTL0 ((volatile uint32_t *)REG_SWU2_CTL0) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL1 ((volatile uint32_t *)REG_SWU2_CTL1) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL2 ((volatile uint32_t *)REG_SWU2_CTL2) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL3 ((volatile uint32_t *)REG_SWU2_CTL3) /* SWU2 Control Register n */
-#define pREG_SWU2_LA0 ((void * volatile *)REG_SWU2_LA0) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA1 ((void * volatile *)REG_SWU2_LA1) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA2 ((void * volatile *)REG_SWU2_LA2) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA3 ((void * volatile *)REG_SWU2_LA3) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_UA0 ((void * volatile *)REG_SWU2_UA0) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA1 ((void * volatile *)REG_SWU2_UA1) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA2 ((void * volatile *)REG_SWU2_UA2) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA3 ((void * volatile *)REG_SWU2_UA3) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_ID0 ((volatile uint32_t *)REG_SWU2_ID0) /* SWU2 ID Register n */
-#define pREG_SWU2_ID1 ((volatile uint32_t *)REG_SWU2_ID1) /* SWU2 ID Register n */
-#define pREG_SWU2_ID2 ((volatile uint32_t *)REG_SWU2_ID2) /* SWU2 ID Register n */
-#define pREG_SWU2_ID3 ((volatile uint32_t *)REG_SWU2_ID3) /* SWU2 ID Register n */
-#define pREG_SWU2_CNT0 ((volatile uint32_t *)REG_SWU2_CNT0) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT1 ((volatile uint32_t *)REG_SWU2_CNT1) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT2 ((volatile uint32_t *)REG_SWU2_CNT2) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT3 ((volatile uint32_t *)REG_SWU2_CNT3) /* SWU2 Count Register n */
-#define pREG_SWU2_TARG0 ((volatile uint32_t *)REG_SWU2_TARG0) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG1 ((volatile uint32_t *)REG_SWU2_TARG1) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG2 ((volatile uint32_t *)REG_SWU2_TARG2) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG3 ((volatile uint32_t *)REG_SWU2_TARG3) /* SWU2 Target Register n */
-#define pREG_SWU2_HIST0 ((volatile uint32_t *)REG_SWU2_HIST0) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST1 ((volatile uint32_t *)REG_SWU2_HIST1) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST2 ((volatile uint32_t *)REG_SWU2_HIST2) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST3 ((volatile uint32_t *)REG_SWU2_HIST3) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_CUR0 ((volatile uint32_t *)REG_SWU2_CUR0) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR1 ((volatile uint32_t *)REG_SWU2_CUR1) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR2 ((volatile uint32_t *)REG_SWU2_CUR2) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR3 ((volatile uint32_t *)REG_SWU2_CUR3) /* SWU2 Current Register n */
-
-/* =========================================================================
- SWU3
- ========================================================================= */
-#define pREG_SWU3_GCTL ((volatile uint32_t *)REG_SWU3_GCTL) /* SWU3 Global Control Register */
-#define pREG_SWU3_GSTAT ((volatile uint32_t *)REG_SWU3_GSTAT) /* SWU3 Global Status Register */
-#define pREG_SWU3_CTL0 ((volatile uint32_t *)REG_SWU3_CTL0) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL1 ((volatile uint32_t *)REG_SWU3_CTL1) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL2 ((volatile uint32_t *)REG_SWU3_CTL2) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL3 ((volatile uint32_t *)REG_SWU3_CTL3) /* SWU3 Control Register n */
-#define pREG_SWU3_LA0 ((void * volatile *)REG_SWU3_LA0) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA1 ((void * volatile *)REG_SWU3_LA1) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA2 ((void * volatile *)REG_SWU3_LA2) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA3 ((void * volatile *)REG_SWU3_LA3) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_UA0 ((void * volatile *)REG_SWU3_UA0) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA1 ((void * volatile *)REG_SWU3_UA1) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA2 ((void * volatile *)REG_SWU3_UA2) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA3 ((void * volatile *)REG_SWU3_UA3) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_ID0 ((volatile uint32_t *)REG_SWU3_ID0) /* SWU3 ID Register n */
-#define pREG_SWU3_ID1 ((volatile uint32_t *)REG_SWU3_ID1) /* SWU3 ID Register n */
-#define pREG_SWU3_ID2 ((volatile uint32_t *)REG_SWU3_ID2) /* SWU3 ID Register n */
-#define pREG_SWU3_ID3 ((volatile uint32_t *)REG_SWU3_ID3) /* SWU3 ID Register n */
-#define pREG_SWU3_CNT0 ((volatile uint32_t *)REG_SWU3_CNT0) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT1 ((volatile uint32_t *)REG_SWU3_CNT1) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT2 ((volatile uint32_t *)REG_SWU3_CNT2) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT3 ((volatile uint32_t *)REG_SWU3_CNT3) /* SWU3 Count Register n */
-#define pREG_SWU3_TARG0 ((volatile uint32_t *)REG_SWU3_TARG0) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG1 ((volatile uint32_t *)REG_SWU3_TARG1) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG2 ((volatile uint32_t *)REG_SWU3_TARG2) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG3 ((volatile uint32_t *)REG_SWU3_TARG3) /* SWU3 Target Register n */
-#define pREG_SWU3_HIST0 ((volatile uint32_t *)REG_SWU3_HIST0) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST1 ((volatile uint32_t *)REG_SWU3_HIST1) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST2 ((volatile uint32_t *)REG_SWU3_HIST2) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST3 ((volatile uint32_t *)REG_SWU3_HIST3) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_CUR0 ((volatile uint32_t *)REG_SWU3_CUR0) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR1 ((volatile uint32_t *)REG_SWU3_CUR1) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR2 ((volatile uint32_t *)REG_SWU3_CUR2) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR3 ((volatile uint32_t *)REG_SWU3_CUR3) /* SWU3 Current Register n */
-
-/* =========================================================================
- SWU4
- ========================================================================= */
-#define pREG_SWU4_GCTL ((volatile uint32_t *)REG_SWU4_GCTL) /* SWU4 Global Control Register */
-#define pREG_SWU4_GSTAT ((volatile uint32_t *)REG_SWU4_GSTAT) /* SWU4 Global Status Register */
-#define pREG_SWU4_CTL0 ((volatile uint32_t *)REG_SWU4_CTL0) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL1 ((volatile uint32_t *)REG_SWU4_CTL1) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL2 ((volatile uint32_t *)REG_SWU4_CTL2) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL3 ((volatile uint32_t *)REG_SWU4_CTL3) /* SWU4 Control Register n */
-#define pREG_SWU4_LA0 ((void * volatile *)REG_SWU4_LA0) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA1 ((void * volatile *)REG_SWU4_LA1) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA2 ((void * volatile *)REG_SWU4_LA2) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA3 ((void * volatile *)REG_SWU4_LA3) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_UA0 ((void * volatile *)REG_SWU4_UA0) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA1 ((void * volatile *)REG_SWU4_UA1) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA2 ((void * volatile *)REG_SWU4_UA2) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA3 ((void * volatile *)REG_SWU4_UA3) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_ID0 ((volatile uint32_t *)REG_SWU4_ID0) /* SWU4 ID Register n */
-#define pREG_SWU4_ID1 ((volatile uint32_t *)REG_SWU4_ID1) /* SWU4 ID Register n */
-#define pREG_SWU4_ID2 ((volatile uint32_t *)REG_SWU4_ID2) /* SWU4 ID Register n */
-#define pREG_SWU4_ID3 ((volatile uint32_t *)REG_SWU4_ID3) /* SWU4 ID Register n */
-#define pREG_SWU4_CNT0 ((volatile uint32_t *)REG_SWU4_CNT0) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT1 ((volatile uint32_t *)REG_SWU4_CNT1) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT2 ((volatile uint32_t *)REG_SWU4_CNT2) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT3 ((volatile uint32_t *)REG_SWU4_CNT3) /* SWU4 Count Register n */
-#define pREG_SWU4_TARG0 ((volatile uint32_t *)REG_SWU4_TARG0) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG1 ((volatile uint32_t *)REG_SWU4_TARG1) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG2 ((volatile uint32_t *)REG_SWU4_TARG2) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG3 ((volatile uint32_t *)REG_SWU4_TARG3) /* SWU4 Target Register n */
-#define pREG_SWU4_HIST0 ((volatile uint32_t *)REG_SWU4_HIST0) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST1 ((volatile uint32_t *)REG_SWU4_HIST1) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST2 ((volatile uint32_t *)REG_SWU4_HIST2) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST3 ((volatile uint32_t *)REG_SWU4_HIST3) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_CUR0 ((volatile uint32_t *)REG_SWU4_CUR0) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR1 ((volatile uint32_t *)REG_SWU4_CUR1) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR2 ((volatile uint32_t *)REG_SWU4_CUR2) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR3 ((volatile uint32_t *)REG_SWU4_CUR3) /* SWU4 Current Register n */
-
-/* =========================================================================
- SWU5
- ========================================================================= */
-#define pREG_SWU5_GCTL ((volatile uint32_t *)REG_SWU5_GCTL) /* SWU5 Global Control Register */
-#define pREG_SWU5_GSTAT ((volatile uint32_t *)REG_SWU5_GSTAT) /* SWU5 Global Status Register */
-#define pREG_SWU5_CTL0 ((volatile uint32_t *)REG_SWU5_CTL0) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL1 ((volatile uint32_t *)REG_SWU5_CTL1) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL2 ((volatile uint32_t *)REG_SWU5_CTL2) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL3 ((volatile uint32_t *)REG_SWU5_CTL3) /* SWU5 Control Register n */
-#define pREG_SWU5_LA0 ((void * volatile *)REG_SWU5_LA0) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA1 ((void * volatile *)REG_SWU5_LA1) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA2 ((void * volatile *)REG_SWU5_LA2) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA3 ((void * volatile *)REG_SWU5_LA3) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_UA0 ((void * volatile *)REG_SWU5_UA0) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA1 ((void * volatile *)REG_SWU5_UA1) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA2 ((void * volatile *)REG_SWU5_UA2) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA3 ((void * volatile *)REG_SWU5_UA3) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_ID0 ((volatile uint32_t *)REG_SWU5_ID0) /* SWU5 ID Register n */
-#define pREG_SWU5_ID1 ((volatile uint32_t *)REG_SWU5_ID1) /* SWU5 ID Register n */
-#define pREG_SWU5_ID2 ((volatile uint32_t *)REG_SWU5_ID2) /* SWU5 ID Register n */
-#define pREG_SWU5_ID3 ((volatile uint32_t *)REG_SWU5_ID3) /* SWU5 ID Register n */
-#define pREG_SWU5_CNT0 ((volatile uint32_t *)REG_SWU5_CNT0) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT1 ((volatile uint32_t *)REG_SWU5_CNT1) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT2 ((volatile uint32_t *)REG_SWU5_CNT2) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT3 ((volatile uint32_t *)REG_SWU5_CNT3) /* SWU5 Count Register n */
-#define pREG_SWU5_TARG0 ((volatile uint32_t *)REG_SWU5_TARG0) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG1 ((volatile uint32_t *)REG_SWU5_TARG1) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG2 ((volatile uint32_t *)REG_SWU5_TARG2) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG3 ((volatile uint32_t *)REG_SWU5_TARG3) /* SWU5 Target Register n */
-#define pREG_SWU5_HIST0 ((volatile uint32_t *)REG_SWU5_HIST0) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST1 ((volatile uint32_t *)REG_SWU5_HIST1) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST2 ((volatile uint32_t *)REG_SWU5_HIST2) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST3 ((volatile uint32_t *)REG_SWU5_HIST3) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_CUR0 ((volatile uint32_t *)REG_SWU5_CUR0) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR1 ((volatile uint32_t *)REG_SWU5_CUR1) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR2 ((volatile uint32_t *)REG_SWU5_CUR2) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR3 ((volatile uint32_t *)REG_SWU5_CUR3) /* SWU5 Current Register n */
-
-/* =========================================================================
- SWU6
- ========================================================================= */
-#define pREG_SWU6_GCTL ((volatile uint32_t *)REG_SWU6_GCTL) /* SWU6 Global Control Register */
-#define pREG_SWU6_GSTAT ((volatile uint32_t *)REG_SWU6_GSTAT) /* SWU6 Global Status Register */
-#define pREG_SWU6_CTL0 ((volatile uint32_t *)REG_SWU6_CTL0) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL1 ((volatile uint32_t *)REG_SWU6_CTL1) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL2 ((volatile uint32_t *)REG_SWU6_CTL2) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL3 ((volatile uint32_t *)REG_SWU6_CTL3) /* SWU6 Control Register n */
-#define pREG_SWU6_LA0 ((void * volatile *)REG_SWU6_LA0) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA1 ((void * volatile *)REG_SWU6_LA1) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA2 ((void * volatile *)REG_SWU6_LA2) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA3 ((void * volatile *)REG_SWU6_LA3) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_UA0 ((void * volatile *)REG_SWU6_UA0) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA1 ((void * volatile *)REG_SWU6_UA1) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA2 ((void * volatile *)REG_SWU6_UA2) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA3 ((void * volatile *)REG_SWU6_UA3) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_ID0 ((volatile uint32_t *)REG_SWU6_ID0) /* SWU6 ID Register n */
-#define pREG_SWU6_ID1 ((volatile uint32_t *)REG_SWU6_ID1) /* SWU6 ID Register n */
-#define pREG_SWU6_ID2 ((volatile uint32_t *)REG_SWU6_ID2) /* SWU6 ID Register n */
-#define pREG_SWU6_ID3 ((volatile uint32_t *)REG_SWU6_ID3) /* SWU6 ID Register n */
-#define pREG_SWU6_CNT0 ((volatile uint32_t *)REG_SWU6_CNT0) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT1 ((volatile uint32_t *)REG_SWU6_CNT1) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT2 ((volatile uint32_t *)REG_SWU6_CNT2) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT3 ((volatile uint32_t *)REG_SWU6_CNT3) /* SWU6 Count Register n */
-#define pREG_SWU6_TARG0 ((volatile uint32_t *)REG_SWU6_TARG0) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG1 ((volatile uint32_t *)REG_SWU6_TARG1) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG2 ((volatile uint32_t *)REG_SWU6_TARG2) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG3 ((volatile uint32_t *)REG_SWU6_TARG3) /* SWU6 Target Register n */
-#define pREG_SWU6_HIST0 ((volatile uint32_t *)REG_SWU6_HIST0) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST1 ((volatile uint32_t *)REG_SWU6_HIST1) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST2 ((volatile uint32_t *)REG_SWU6_HIST2) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST3 ((volatile uint32_t *)REG_SWU6_HIST3) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_CUR0 ((volatile uint32_t *)REG_SWU6_CUR0) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR1 ((volatile uint32_t *)REG_SWU6_CUR1) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR2 ((volatile uint32_t *)REG_SWU6_CUR2) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR3 ((volatile uint32_t *)REG_SWU6_CUR3) /* SWU6 Current Register n */
-
-
-/* =========================================================================
- SDU0
- ========================================================================= */
-#define pREG_SDU0_IDCODE ((volatile uint32_t *)REG_SDU0_IDCODE) /* SDU0 ID Code Register */
-#define pREG_SDU0_CTL ((volatile uint32_t *)REG_SDU0_CTL) /* SDU0 Control Register */
-#define pREG_SDU0_STAT ((volatile uint32_t *)REG_SDU0_STAT) /* SDU0 Status Register */
-#define pREG_SDU0_MACCTL ((volatile uint32_t *)REG_SDU0_MACCTL) /* SDU0 Memory Access Control Register */
-#define pREG_SDU0_MACADDR ((void * volatile *)REG_SDU0_MACADDR) /* SDU0 Memory Access Address Register */
-#define pREG_SDU0_MACDATA ((volatile uint32_t *)REG_SDU0_MACDATA) /* SDU0 Memory Access Data Register */
-#define pREG_SDU0_DMARD ((volatile uint32_t *)REG_SDU0_DMARD) /* SDU0 DMA Read Data Register */
-#define pREG_SDU0_DMAWD ((volatile uint32_t *)REG_SDU0_DMAWD) /* SDU0 DMA Write Data Register */
-#define pREG_SDU0_MSG ((volatile uint32_t *)REG_SDU0_MSG) /* SDU0 Message Register */
-#define pREG_SDU0_MSG_SET ((volatile uint32_t *)REG_SDU0_MSG_SET) /* SDU0 Message Set Register */
-#define pREG_SDU0_MSG_CLR ((volatile uint32_t *)REG_SDU0_MSG_CLR) /* SDU0 Message Clear Register */
-#define pREG_SDU0_GHLT ((volatile uint32_t *)REG_SDU0_GHLT) /* SDU0 Group Halt Register */
-
-
-/* =========================================================================
- EMAC0
- ========================================================================= */
-#define pREG_EMAC0_MACCFG ((volatile uint32_t *)REG_EMAC0_MACCFG) /* EMAC0 MAC Configuration Register */
-#define pREG_EMAC0_MACFRMFILT ((volatile uint32_t *)REG_EMAC0_MACFRMFILT) /* EMAC0 MAC Rx Frame Filter Register */
-#define pREG_EMAC0_HASHTBL_HI ((volatile uint32_t *)REG_EMAC0_HASHTBL_HI) /* EMAC0 Hash Table High Register */
-#define pREG_EMAC0_HASHTBL_LO ((volatile uint32_t *)REG_EMAC0_HASHTBL_LO) /* EMAC0 Hash Table Low Register */
-#define pREG_EMAC0_SMI_ADDR ((volatile uint32_t *)REG_EMAC0_SMI_ADDR) /* EMAC0 SMI Address Register */
-#define pREG_EMAC0_SMI_DATA ((volatile uint32_t *)REG_EMAC0_SMI_DATA) /* EMAC0 SMI Data Register */
-#define pREG_EMAC0_FLOWCTL ((volatile uint32_t *)REG_EMAC0_FLOWCTL) /* EMAC0 FLow Control Register */
-#define pREG_EMAC0_VLANTAG ((volatile uint32_t *)REG_EMAC0_VLANTAG) /* EMAC0 VLAN Tag Register */
-#define pREG_EMAC0_DBG ((volatile uint32_t *)REG_EMAC0_DBG) /* EMAC0 Debug Register */
-#define pREG_EMAC0_ISTAT ((volatile uint32_t *)REG_EMAC0_ISTAT) /* EMAC0 Interrupt Status Register */
-#define pREG_EMAC0_IMSK ((volatile uint32_t *)REG_EMAC0_IMSK) /* EMAC0 Interrupt Mask Register */
-#define pREG_EMAC0_ADDR0_HI ((volatile uint32_t *)REG_EMAC0_ADDR0_HI) /* EMAC0 MAC Address 0 High Register */
-#define pREG_EMAC0_ADDR0_LO ((volatile uint32_t *)REG_EMAC0_ADDR0_LO) /* EMAC0 MAC Address 0 Low Register */
-#define pREG_EMAC0_MMC_CTL ((volatile uint32_t *)REG_EMAC0_MMC_CTL) /* EMAC0 MMC Control Register */
-#define pREG_EMAC0_MMC_RXINT ((volatile uint32_t *)REG_EMAC0_MMC_RXINT) /* EMAC0 MMC Rx Interrupt Register */
-#define pREG_EMAC0_MMC_TXINT ((volatile uint32_t *)REG_EMAC0_MMC_TXINT) /* EMAC0 MMC Tx Interrupt Register */
-#define pREG_EMAC0_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_RXIMSK) /* EMAC0 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC0_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_TXIMSK) /* EMAC0 MMC TX Interrupt Mask Register */
-#define pREG_EMAC0_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_GB) /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC0_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_GB) /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_G) /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_G) /* EMAC0 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC0_TX64_GB ((volatile uint32_t *)REG_EMAC0_TX64_GB) /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX65TO127_GB ((volatile uint32_t *)REG_EMAC0_TX65TO127_GB) /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX128TO255_GB ((volatile uint32_t *)REG_EMAC0_TX128TO255_GB) /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX256TO511_GB ((volatile uint32_t *)REG_EMAC0_TX256TO511_GB) /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_TX512TO1023_GB) /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_TX1024TOMAX_GB) /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXUCASTFRM_GB) /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_GB) /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_GB) /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC0_TXUNDR_ERR) /* EMAC0 Tx Underflow Error Register */
-#define pREG_EMAC0_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC0_TXSNGCOL_G) /* EMAC0 Tx Single Collision (Good) Register */
-#define pREG_EMAC0_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC0_TXMULTCOL_G) /* EMAC0 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC0_TXDEFERRED ((volatile uint32_t *)REG_EMAC0_TXDEFERRED) /* EMAC0 Tx Deferred Register */
-#define pREG_EMAC0_TXLATECOL ((volatile uint32_t *)REG_EMAC0_TXLATECOL) /* EMAC0 Tx Late Collision Register */
-#define pREG_EMAC0_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC0_TXEXCESSCOL) /* EMAC0 Tx Excess Collision Register */
-#define pREG_EMAC0_TXCARR_ERR ((volatile uint32_t *)REG_EMAC0_TXCARR_ERR) /* EMAC0 Tx Carrier Error Register */
-#define pREG_EMAC0_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_G) /* EMAC0 Tx Octet Count (Good) Register */
-#define pREG_EMAC0_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_G) /* EMAC0 Tx Frame Count (Good) Register */
-#define pREG_EMAC0_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC0_TXEXCESSDEF) /* EMAC0 Tx Excess Deferral Register */
-#define pREG_EMAC0_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_TXPAUSEFRM) /* EMAC0 Tx Pause Frame Register */
-#define pREG_EMAC0_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC0_TXVLANFRM_G) /* EMAC0 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC0_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_RXFRMCNT_GB) /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_GB) /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_G) /* EMAC0 Rx Octet Count (Good) Register */
-#define pREG_EMAC0_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXBCASTFRM_G) /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXMCASTFRM_G) /* EMAC0 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC0_RXCRC_ERR ((volatile uint32_t *)REG_EMAC0_RXCRC_ERR) /* EMAC0 Rx CRC Error Register */
-#define pREG_EMAC0_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC0_RXALIGN_ERR) /* EMAC0 Rx alignment Error Register */
-#define pREG_EMAC0_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC0_RXRUNT_ERR) /* EMAC0 Rx Runt Error Register */
-#define pREG_EMAC0_RXJAB_ERR ((volatile uint32_t *)REG_EMAC0_RXJAB_ERR) /* EMAC0 Rx Jab Error Register */
-#define pREG_EMAC0_RXUSIZE_G ((volatile uint32_t *)REG_EMAC0_RXUSIZE_G) /* EMAC0 Rx Undersize (Good) Register */
-#define pREG_EMAC0_RXOSIZE_G ((volatile uint32_t *)REG_EMAC0_RXOSIZE_G) /* EMAC0 Rx Oversize (Good) Register */
-#define pREG_EMAC0_RX64_GB ((volatile uint32_t *)REG_EMAC0_RX64_GB) /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX65TO127_GB ((volatile uint32_t *)REG_EMAC0_RX65TO127_GB) /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX128TO255_GB ((volatile uint32_t *)REG_EMAC0_RX128TO255_GB) /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX256TO511_GB ((volatile uint32_t *)REG_EMAC0_RX256TO511_GB) /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_RX512TO1023_GB) /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_RX1024TOMAX_GB) /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXUCASTFRM_G) /* EMAC0 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC0_RXLEN_ERR ((volatile uint32_t *)REG_EMAC0_RXLEN_ERR) /* EMAC0 Rx Length Error Register */
-#define pREG_EMAC0_RXOORTYPE ((volatile uint32_t *)REG_EMAC0_RXOORTYPE) /* EMAC0 Rx Out Of Range Type Register */
-#define pREG_EMAC0_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_RXPAUSEFRM) /* EMAC0 Rx Pause Frames Register */
-#define pREG_EMAC0_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC0_RXFIFO_OVF) /* EMAC0 Rx FIFO Overflow Register */
-#define pREG_EMAC0_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC0_RXVLANFRM_GB) /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC0_RXWDOG_ERR) /* EMAC0 Rx Watch Dog Error Register */
-#define pREG_EMAC0_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC0_IPC_RXIMSK) /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC0_IPC_RXINT ((volatile uint32_t *)REG_EMAC0_IPC_RXINT) /* EMAC0 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC0_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_FRM) /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_FRM) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_FRM) /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC0_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_FRM) /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_FRM) /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC0_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_FRM) /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_FRM) /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_FRM) /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC0_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_FRM) /* EMAC0 Rx UDP Good Frames Register */
-#define pREG_EMAC0_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_FRM) /* EMAC0 Rx UDP Error Frames Register */
-#define pREG_EMAC0_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_FRM) /* EMAC0 Rx TCP Good Frames Register */
-#define pREG_EMAC0_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_FRM) /* EMAC0 Rx TCP Error Frames Register */
-#define pREG_EMAC0_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_FRM) /* EMAC0 Rx ICMP Good Frames Register */
-#define pREG_EMAC0_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_FRM) /* EMAC0 Rx ICMP Error Frames Register */
-#define pREG_EMAC0_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_OCT) /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_OCT) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_OCT) /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC0_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_OCT) /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_OCT) /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC0_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_OCT) /* EMAC0 Rx IPv6 Good Octets Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_OCT) /* EMAC0 Rx IPv6 Header Errors Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_OCT) /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC0_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_OCT) /* EMAC0 Rx UDP Good Octets Register */
-#define pREG_EMAC0_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_OCT) /* EMAC0 Rx UDP Error Octets Register */
-#define pREG_EMAC0_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_OCT) /* EMAC0 Rx TCP Good Octets Register */
-#define pREG_EMAC0_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_OCT) /* EMAC0 Rx TCP Error Octets Register */
-#define pREG_EMAC0_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_OCT) /* EMAC0 Rx ICMP Good Octets Register */
-#define pREG_EMAC0_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_OCT) /* EMAC0 Rx ICMP Error Octets Register */
-#define pREG_EMAC0_TM_CTL ((volatile uint32_t *)REG_EMAC0_TM_CTL) /* EMAC0 Time Stamp Control Register */
-#define pREG_EMAC0_TM_SUBSEC ((volatile uint32_t *)REG_EMAC0_TM_SUBSEC) /* EMAC0 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC0_TM_SEC ((volatile uint32_t *)REG_EMAC0_TM_SEC) /* EMAC0 Time Stamp Low Seconds Register */
-#define pREG_EMAC0_TM_NSEC ((volatile uint32_t *)REG_EMAC0_TM_NSEC) /* EMAC0 Time Stamp Nano Seconds Register */
-#define pREG_EMAC0_TM_SECUPDT ((volatile uint32_t *)REG_EMAC0_TM_SECUPDT) /* EMAC0 Time Stamp Seconds Update Register */
-#define pREG_EMAC0_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC0_TM_NSECUPDT) /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC0_TM_ADDEND ((volatile uint32_t *)REG_EMAC0_TM_ADDEND) /* EMAC0 Time Stamp Addend Register */
-#define pREG_EMAC0_TM_TGTM ((volatile uint32_t *)REG_EMAC0_TM_TGTM) /* EMAC0 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC0_TM_NTGTM ((volatile uint32_t *)REG_EMAC0_TM_NTGTM) /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC0_TM_HISEC ((volatile uint32_t *)REG_EMAC0_TM_HISEC) /* EMAC0 Time Stamp High Second Register */
-#define pREG_EMAC0_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC0_TM_STMPSTAT) /* EMAC0 Time Stamp Status Register */
-#define pREG_EMAC0_TM_PPSCTL ((volatile uint32_t *)REG_EMAC0_TM_PPSCTL) /* EMAC0 PPS Control Register */
-#define pREG_EMAC0_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_NSEC) /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC0_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_SEC) /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC0_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC0_TM_PPSINTVL) /* EMAC0 Time Stamp PPS Interval Register */
-#define pREG_EMAC0_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC0_TM_PPSWIDTH) /* EMAC0 PPS Width Register */
-#define pREG_EMAC0_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC0_DMA_BUSMODE) /* EMAC0 DMA Bus Mode Register */
-#define pREG_EMAC0_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_TXPOLL) /* EMAC0 DMA Tx Poll Demand Register */
-#define pREG_EMAC0_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_RXPOLL) /* EMAC0 DMA Rx Poll Demand register */
-#define pREG_EMAC0_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_ADDR) /* EMAC0 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_ADDR) /* EMAC0 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_STAT ((volatile uint32_t *)REG_EMAC0_DMA_STAT) /* EMAC0 DMA Status Register */
-#define pREG_EMAC0_DMA_OPMODE ((volatile uint32_t *)REG_EMAC0_DMA_OPMODE) /* EMAC0 DMA Operation Mode Register */
-#define pREG_EMAC0_DMA_IEN ((volatile uint32_t *)REG_EMAC0_DMA_IEN) /* EMAC0 DMA Interrupt Enable Register */
-#define pREG_EMAC0_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC0_DMA_MISS_FRM) /* EMAC0 DMA Missed Frame Register */
-#define pREG_EMAC0_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC0_DMA_RXIWDOG) /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC0_DMA_BMMODE ((volatile uint32_t *)REG_EMAC0_DMA_BMMODE) /* EMAC0 DMA SCB Bus Mode Register */
-#define pREG_EMAC0_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC0_DMA_BMSTAT) /* EMAC0 DMA SCB Status Register */
-#define pREG_EMAC0_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_CUR) /* EMAC0 DMA Tx Descriptor Current Register */
-#define pREG_EMAC0_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_CUR) /* EMAC0 DMA Rx Descriptor Current Register */
-#define pREG_EMAC0_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXBUF_CUR) /* EMAC0 DMA Tx Buffer Current Register */
-#define pREG_EMAC0_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXBUF_CUR) /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================================================================
- EMAC1
- ========================================================================= */
-#define pREG_EMAC1_MACCFG ((volatile uint32_t *)REG_EMAC1_MACCFG) /* EMAC1 MAC Configuration Register */
-#define pREG_EMAC1_MACFRMFILT ((volatile uint32_t *)REG_EMAC1_MACFRMFILT) /* EMAC1 MAC Rx Frame Filter Register */
-#define pREG_EMAC1_HASHTBL_HI ((volatile uint32_t *)REG_EMAC1_HASHTBL_HI) /* EMAC1 Hash Table High Register */
-#define pREG_EMAC1_HASHTBL_LO ((volatile uint32_t *)REG_EMAC1_HASHTBL_LO) /* EMAC1 Hash Table Low Register */
-#define pREG_EMAC1_SMI_ADDR ((volatile uint32_t *)REG_EMAC1_SMI_ADDR) /* EMAC1 SMI Address Register */
-#define pREG_EMAC1_SMI_DATA ((volatile uint32_t *)REG_EMAC1_SMI_DATA) /* EMAC1 SMI Data Register */
-#define pREG_EMAC1_FLOWCTL ((volatile uint32_t *)REG_EMAC1_FLOWCTL) /* EMAC1 FLow Control Register */
-#define pREG_EMAC1_VLANTAG ((volatile uint32_t *)REG_EMAC1_VLANTAG) /* EMAC1 VLAN Tag Register */
-#define pREG_EMAC1_DBG ((volatile uint32_t *)REG_EMAC1_DBG) /* EMAC1 Debug Register */
-#define pREG_EMAC1_ISTAT ((volatile uint32_t *)REG_EMAC1_ISTAT) /* EMAC1 Interrupt Status Register */
-#define pREG_EMAC1_IMSK ((volatile uint32_t *)REG_EMAC1_IMSK) /* EMAC1 Interrupt Mask Register */
-#define pREG_EMAC1_ADDR0_HI ((volatile uint32_t *)REG_EMAC1_ADDR0_HI) /* EMAC1 MAC Address 0 High Register */
-#define pREG_EMAC1_ADDR0_LO ((volatile uint32_t *)REG_EMAC1_ADDR0_LO) /* EMAC1 MAC Address 0 Low Register */
-#define pREG_EMAC1_MMC_CTL ((volatile uint32_t *)REG_EMAC1_MMC_CTL) /* EMAC1 MMC Control Register */
-#define pREG_EMAC1_MMC_RXINT ((volatile uint32_t *)REG_EMAC1_MMC_RXINT) /* EMAC1 MMC Rx Interrupt Register */
-#define pREG_EMAC1_MMC_TXINT ((volatile uint32_t *)REG_EMAC1_MMC_TXINT) /* EMAC1 MMC Tx Interrupt Register */
-#define pREG_EMAC1_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_RXIMSK) /* EMAC1 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC1_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_TXIMSK) /* EMAC1 MMC TX Interrupt Mask Register */
-#define pREG_EMAC1_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_GB) /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC1_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_GB) /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_G) /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_G) /* EMAC1 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC1_TX64_GB ((volatile uint32_t *)REG_EMAC1_TX64_GB) /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX65TO127_GB ((volatile uint32_t *)REG_EMAC1_TX65TO127_GB) /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX128TO255_GB ((volatile uint32_t *)REG_EMAC1_TX128TO255_GB) /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX256TO511_GB ((volatile uint32_t *)REG_EMAC1_TX256TO511_GB) /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_TX512TO1023_GB) /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_TX1024TOMAX_GB) /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXUCASTFRM_GB) /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_GB) /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_GB) /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC1_TXUNDR_ERR) /* EMAC1 Tx Underflow Error Register */
-#define pREG_EMAC1_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC1_TXSNGCOL_G) /* EMAC1 Tx Single Collision (Good) Register */
-#define pREG_EMAC1_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC1_TXMULTCOL_G) /* EMAC1 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC1_TXDEFERRED ((volatile uint32_t *)REG_EMAC1_TXDEFERRED) /* EMAC1 Tx Deferred Register */
-#define pREG_EMAC1_TXLATECOL ((volatile uint32_t *)REG_EMAC1_TXLATECOL) /* EMAC1 Tx Late Collision Register */
-#define pREG_EMAC1_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC1_TXEXCESSCOL) /* EMAC1 Tx Excess Collision Register */
-#define pREG_EMAC1_TXCARR_ERR ((volatile uint32_t *)REG_EMAC1_TXCARR_ERR) /* EMAC1 Tx Carrier Error Register */
-#define pREG_EMAC1_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_G) /* EMAC1 Tx Octet Count (Good) Register */
-#define pREG_EMAC1_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_G) /* EMAC1 Tx Frame Count (Good) Register */
-#define pREG_EMAC1_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC1_TXEXCESSDEF) /* EMAC1 Tx Excess Deferral Register */
-#define pREG_EMAC1_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_TXPAUSEFRM) /* EMAC1 Tx Pause Frame Register */
-#define pREG_EMAC1_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC1_TXVLANFRM_G) /* EMAC1 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC1_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_RXFRMCNT_GB) /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_GB) /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_G) /* EMAC1 Rx Octet Count (Good) Register */
-#define pREG_EMAC1_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXBCASTFRM_G) /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXMCASTFRM_G) /* EMAC1 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC1_RXCRC_ERR ((volatile uint32_t *)REG_EMAC1_RXCRC_ERR) /* EMAC1 Rx CRC Error Register */
-#define pREG_EMAC1_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC1_RXALIGN_ERR) /* EMAC1 Rx alignment Error Register */
-#define pREG_EMAC1_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC1_RXRUNT_ERR) /* EMAC1 Rx Runt Error Register */
-#define pREG_EMAC1_RXJAB_ERR ((volatile uint32_t *)REG_EMAC1_RXJAB_ERR) /* EMAC1 Rx Jab Error Register */
-#define pREG_EMAC1_RXUSIZE_G ((volatile uint32_t *)REG_EMAC1_RXUSIZE_G) /* EMAC1 Rx Undersize (Good) Register */
-#define pREG_EMAC1_RXOSIZE_G ((volatile uint32_t *)REG_EMAC1_RXOSIZE_G) /* EMAC1 Rx Oversize (Good) Register */
-#define pREG_EMAC1_RX64_GB ((volatile uint32_t *)REG_EMAC1_RX64_GB) /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX65TO127_GB ((volatile uint32_t *)REG_EMAC1_RX65TO127_GB) /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX128TO255_GB ((volatile uint32_t *)REG_EMAC1_RX128TO255_GB) /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX256TO511_GB ((volatile uint32_t *)REG_EMAC1_RX256TO511_GB) /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_RX512TO1023_GB) /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_RX1024TOMAX_GB) /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXUCASTFRM_G) /* EMAC1 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC1_RXLEN_ERR ((volatile uint32_t *)REG_EMAC1_RXLEN_ERR) /* EMAC1 Rx Length Error Register */
-#define pREG_EMAC1_RXOORTYPE ((volatile uint32_t *)REG_EMAC1_RXOORTYPE) /* EMAC1 Rx Out Of Range Type Register */
-#define pREG_EMAC1_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_RXPAUSEFRM) /* EMAC1 Rx Pause Frames Register */
-#define pREG_EMAC1_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC1_RXFIFO_OVF) /* EMAC1 Rx FIFO Overflow Register */
-#define pREG_EMAC1_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC1_RXVLANFRM_GB) /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC1_RXWDOG_ERR) /* EMAC1 Rx Watch Dog Error Register */
-#define pREG_EMAC1_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC1_IPC_RXIMSK) /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC1_IPC_RXINT ((volatile uint32_t *)REG_EMAC1_IPC_RXINT) /* EMAC1 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC1_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_FRM) /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_FRM) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_FRM) /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC1_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_FRM) /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_FRM) /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC1_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_FRM) /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_FRM) /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_FRM) /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC1_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_FRM) /* EMAC1 Rx UDP Good Frames Register */
-#define pREG_EMAC1_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_FRM) /* EMAC1 Rx UDP Error Frames Register */
-#define pREG_EMAC1_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_FRM) /* EMAC1 Rx TCP Good Frames Register */
-#define pREG_EMAC1_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_FRM) /* EMAC1 Rx TCP Error Frames Register */
-#define pREG_EMAC1_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_FRM) /* EMAC1 Rx ICMP Good Frames Register */
-#define pREG_EMAC1_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_FRM) /* EMAC1 Rx ICMP Error Frames Register */
-#define pREG_EMAC1_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_OCT) /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_OCT) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_OCT) /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC1_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_OCT) /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_OCT) /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC1_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_OCT) /* EMAC1 Rx IPv6 Good Octets Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_OCT) /* EMAC1 Rx IPv6 Header Errors Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_OCT) /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC1_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_OCT) /* EMAC1 Rx UDP Good Octets Register */
-#define pREG_EMAC1_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_OCT) /* EMAC1 Rx UDP Error Octets Register */
-#define pREG_EMAC1_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_OCT) /* EMAC1 Rx TCP Good Octets Register */
-#define pREG_EMAC1_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_OCT) /* EMAC1 Rx TCP Error Octets Register */
-#define pREG_EMAC1_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_OCT) /* EMAC1 Rx ICMP Good Octets Register */
-#define pREG_EMAC1_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_OCT) /* EMAC1 Rx ICMP Error Octets Register */
-#define pREG_EMAC1_TM_CTL ((volatile uint32_t *)REG_EMAC1_TM_CTL) /* EMAC1 Time Stamp Control Register */
-#define pREG_EMAC1_TM_SUBSEC ((volatile uint32_t *)REG_EMAC1_TM_SUBSEC) /* EMAC1 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC1_TM_SEC ((volatile uint32_t *)REG_EMAC1_TM_SEC) /* EMAC1 Time Stamp Low Seconds Register */
-#define pREG_EMAC1_TM_NSEC ((volatile uint32_t *)REG_EMAC1_TM_NSEC) /* EMAC1 Time Stamp Nano Seconds Register */
-#define pREG_EMAC1_TM_SECUPDT ((volatile uint32_t *)REG_EMAC1_TM_SECUPDT) /* EMAC1 Time Stamp Seconds Update Register */
-#define pREG_EMAC1_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC1_TM_NSECUPDT) /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC1_TM_ADDEND ((volatile uint32_t *)REG_EMAC1_TM_ADDEND) /* EMAC1 Time Stamp Addend Register */
-#define pREG_EMAC1_TM_TGTM ((volatile uint32_t *)REG_EMAC1_TM_TGTM) /* EMAC1 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC1_TM_NTGTM ((volatile uint32_t *)REG_EMAC1_TM_NTGTM) /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC1_TM_HISEC ((volatile uint32_t *)REG_EMAC1_TM_HISEC) /* EMAC1 Time Stamp High Second Register */
-#define pREG_EMAC1_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC1_TM_STMPSTAT) /* EMAC1 Time Stamp Status Register */
-#define pREG_EMAC1_TM_PPSCTL ((volatile uint32_t *)REG_EMAC1_TM_PPSCTL) /* EMAC1 PPS Control Register */
-#define pREG_EMAC1_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_NSEC) /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC1_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_SEC) /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC1_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC1_TM_PPSINTVL) /* EMAC1 Time Stamp PPS Interval Register */
-#define pREG_EMAC1_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC1_TM_PPSWIDTH) /* EMAC1 PPS Width Register */
-#define pREG_EMAC1_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC1_DMA_BUSMODE) /* EMAC1 DMA Bus Mode Register */
-#define pREG_EMAC1_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_TXPOLL) /* EMAC1 DMA Tx Poll Demand Register */
-#define pREG_EMAC1_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_RXPOLL) /* EMAC1 DMA Rx Poll Demand register */
-#define pREG_EMAC1_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_ADDR) /* EMAC1 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_ADDR) /* EMAC1 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_STAT ((volatile uint32_t *)REG_EMAC1_DMA_STAT) /* EMAC1 DMA Status Register */
-#define pREG_EMAC1_DMA_OPMODE ((volatile uint32_t *)REG_EMAC1_DMA_OPMODE) /* EMAC1 DMA Operation Mode Register */
-#define pREG_EMAC1_DMA_IEN ((volatile uint32_t *)REG_EMAC1_DMA_IEN) /* EMAC1 DMA Interrupt Enable Register */
-#define pREG_EMAC1_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC1_DMA_MISS_FRM) /* EMAC1 DMA Missed Frame Register */
-#define pREG_EMAC1_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC1_DMA_RXIWDOG) /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC1_DMA_BMMODE ((volatile uint32_t *)REG_EMAC1_DMA_BMMODE) /* EMAC1 DMA SCB Bus Mode Register */
-#define pREG_EMAC1_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC1_DMA_BMSTAT) /* EMAC1 DMA SCB Status Register */
-#define pREG_EMAC1_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_CUR) /* EMAC1 DMA Tx Descriptor Current Register */
-#define pREG_EMAC1_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_CUR) /* EMAC1 DMA Rx Descriptor Current Register */
-#define pREG_EMAC1_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXBUF_CUR) /* EMAC1 DMA Tx Buffer Current Register */
-#define pREG_EMAC1_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXBUF_CUR) /* EMAC1 DMA Rx Buffer Current Register */
-
-
-/* =========================================================================
- SPORT0
- ========================================================================= */
-#define pREG_SPORT0_CTL_A ((volatile uint32_t *)REG_SPORT0_CTL_A) /* SPORT0 Half SPORT 'A' Control Register */
-#define pREG_SPORT0_DIV_A ((volatile uint32_t *)REG_SPORT0_DIV_A) /* SPORT0 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT0_MCTL_A ((volatile uint32_t *)REG_SPORT0_MCTL_A) /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_A ((volatile uint32_t *)REG_SPORT0_CS0_A) /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_A ((volatile uint32_t *)REG_SPORT0_CS1_A) /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_A ((volatile uint32_t *)REG_SPORT0_CS2_A) /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT0_CS3_A ((volatile uint32_t *)REG_SPORT0_CS3_A) /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT0_ERR_A ((volatile uint32_t *)REG_SPORT0_ERR_A) /* SPORT0 Half SPORT 'A' Error Register */
-#define pREG_SPORT0_MSTAT_A ((volatile uint32_t *)REG_SPORT0_MSTAT_A) /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_A ((volatile uint32_t *)REG_SPORT0_CTL2_A) /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT0_TXPRI_A ((volatile uint32_t *)REG_SPORT0_TXPRI_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_A ((volatile uint32_t *)REG_SPORT0_RXPRI_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_A ((volatile uint32_t *)REG_SPORT0_TXSEC_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_A ((volatile uint32_t *)REG_SPORT0_RXSEC_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT0_CTL_B ((volatile uint32_t *)REG_SPORT0_CTL_B) /* SPORT0 Half SPORT 'B' Control Register */
-#define pREG_SPORT0_DIV_B ((volatile uint32_t *)REG_SPORT0_DIV_B) /* SPORT0 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT0_MCTL_B ((volatile uint32_t *)REG_SPORT0_MCTL_B) /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_B ((volatile uint32_t *)REG_SPORT0_CS0_B) /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_B ((volatile uint32_t *)REG_SPORT0_CS1_B) /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_B ((volatile uint32_t *)REG_SPORT0_CS2_B) /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT0_CS3_B ((volatile uint32_t *)REG_SPORT0_CS3_B) /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT0_ERR_B ((volatile uint32_t *)REG_SPORT0_ERR_B) /* SPORT0 Half SPORT 'B' Error Register */
-#define pREG_SPORT0_MSTAT_B ((volatile uint32_t *)REG_SPORT0_MSTAT_B) /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_B ((volatile uint32_t *)REG_SPORT0_CTL2_B) /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT0_TXPRI_B ((volatile uint32_t *)REG_SPORT0_TXPRI_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_B ((volatile uint32_t *)REG_SPORT0_RXPRI_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_B ((volatile uint32_t *)REG_SPORT0_TXSEC_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_B ((volatile uint32_t *)REG_SPORT0_RXSEC_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT1
- ========================================================================= */
-#define pREG_SPORT1_CTL_A ((volatile uint32_t *)REG_SPORT1_CTL_A) /* SPORT1 Half SPORT 'A' Control Register */
-#define pREG_SPORT1_DIV_A ((volatile uint32_t *)REG_SPORT1_DIV_A) /* SPORT1 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT1_MCTL_A ((volatile uint32_t *)REG_SPORT1_MCTL_A) /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_A ((volatile uint32_t *)REG_SPORT1_CS0_A) /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_A ((volatile uint32_t *)REG_SPORT1_CS1_A) /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_A ((volatile uint32_t *)REG_SPORT1_CS2_A) /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT1_CS3_A ((volatile uint32_t *)REG_SPORT1_CS3_A) /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT1_ERR_A ((volatile uint32_t *)REG_SPORT1_ERR_A) /* SPORT1 Half SPORT 'A' Error Register */
-#define pREG_SPORT1_MSTAT_A ((volatile uint32_t *)REG_SPORT1_MSTAT_A) /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_A ((volatile uint32_t *)REG_SPORT1_CTL2_A) /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT1_TXPRI_A ((volatile uint32_t *)REG_SPORT1_TXPRI_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_A ((volatile uint32_t *)REG_SPORT1_RXPRI_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_A ((volatile uint32_t *)REG_SPORT1_TXSEC_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_A ((volatile uint32_t *)REG_SPORT1_RXSEC_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT1_CTL_B ((volatile uint32_t *)REG_SPORT1_CTL_B) /* SPORT1 Half SPORT 'B' Control Register */
-#define pREG_SPORT1_DIV_B ((volatile uint32_t *)REG_SPORT1_DIV_B) /* SPORT1 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT1_MCTL_B ((volatile uint32_t *)REG_SPORT1_MCTL_B) /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_B ((volatile uint32_t *)REG_SPORT1_CS0_B) /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_B ((volatile uint32_t *)REG_SPORT1_CS1_B) /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_B ((volatile uint32_t *)REG_SPORT1_CS2_B) /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT1_CS3_B ((volatile uint32_t *)REG_SPORT1_CS3_B) /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT1_ERR_B ((volatile uint32_t *)REG_SPORT1_ERR_B) /* SPORT1 Half SPORT 'B' Error Register */
-#define pREG_SPORT1_MSTAT_B ((volatile uint32_t *)REG_SPORT1_MSTAT_B) /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_B ((volatile uint32_t *)REG_SPORT1_CTL2_B) /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT1_TXPRI_B ((volatile uint32_t *)REG_SPORT1_TXPRI_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_B ((volatile uint32_t *)REG_SPORT1_RXPRI_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_B ((volatile uint32_t *)REG_SPORT1_TXSEC_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_B ((volatile uint32_t *)REG_SPORT1_RXSEC_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT2
- ========================================================================= */
-#define pREG_SPORT2_CTL_A ((volatile uint32_t *)REG_SPORT2_CTL_A) /* SPORT2 Half SPORT 'A' Control Register */
-#define pREG_SPORT2_DIV_A ((volatile uint32_t *)REG_SPORT2_DIV_A) /* SPORT2 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT2_MCTL_A ((volatile uint32_t *)REG_SPORT2_MCTL_A) /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_A ((volatile uint32_t *)REG_SPORT2_CS0_A) /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_A ((volatile uint32_t *)REG_SPORT2_CS1_A) /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_A ((volatile uint32_t *)REG_SPORT2_CS2_A) /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT2_CS3_A ((volatile uint32_t *)REG_SPORT2_CS3_A) /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT2_ERR_A ((volatile uint32_t *)REG_SPORT2_ERR_A) /* SPORT2 Half SPORT 'A' Error Register */
-#define pREG_SPORT2_MSTAT_A ((volatile uint32_t *)REG_SPORT2_MSTAT_A) /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_A ((volatile uint32_t *)REG_SPORT2_CTL2_A) /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT2_TXPRI_A ((volatile uint32_t *)REG_SPORT2_TXPRI_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_A ((volatile uint32_t *)REG_SPORT2_RXPRI_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_A ((volatile uint32_t *)REG_SPORT2_TXSEC_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_A ((volatile uint32_t *)REG_SPORT2_RXSEC_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT2_CTL_B ((volatile uint32_t *)REG_SPORT2_CTL_B) /* SPORT2 Half SPORT 'B' Control Register */
-#define pREG_SPORT2_DIV_B ((volatile uint32_t *)REG_SPORT2_DIV_B) /* SPORT2 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT2_MCTL_B ((volatile uint32_t *)REG_SPORT2_MCTL_B) /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_B ((volatile uint32_t *)REG_SPORT2_CS0_B) /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_B ((volatile uint32_t *)REG_SPORT2_CS1_B) /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_B ((volatile uint32_t *)REG_SPORT2_CS2_B) /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT2_CS3_B ((volatile uint32_t *)REG_SPORT2_CS3_B) /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT2_ERR_B ((volatile uint32_t *)REG_SPORT2_ERR_B) /* SPORT2 Half SPORT 'B' Error Register */
-#define pREG_SPORT2_MSTAT_B ((volatile uint32_t *)REG_SPORT2_MSTAT_B) /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_B ((volatile uint32_t *)REG_SPORT2_CTL2_B) /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT2_TXPRI_B ((volatile uint32_t *)REG_SPORT2_TXPRI_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_B ((volatile uint32_t *)REG_SPORT2_RXPRI_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_B ((volatile uint32_t *)REG_SPORT2_TXSEC_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_B ((volatile uint32_t *)REG_SPORT2_RXSEC_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-
-/* =========================================================================
- SPI0
- ========================================================================= */
-#define pREG_SPI0_CTL ((volatile uint32_t *)REG_SPI0_CTL) /* SPI0 Control Register */
-#define pREG_SPI0_RXCTL ((volatile uint32_t *)REG_SPI0_RXCTL) /* SPI0 Receive Control Register */
-#define pREG_SPI0_TXCTL ((volatile uint32_t *)REG_SPI0_TXCTL) /* SPI0 Transmit Control Register */
-#define pREG_SPI0_CLK ((volatile uint32_t *)REG_SPI0_CLK) /* SPI0 Clock Rate Register */
-#define pREG_SPI0_DLY ((volatile uint32_t *)REG_SPI0_DLY) /* SPI0 Delay Register */
-#define pREG_SPI0_SLVSEL ((volatile uint32_t *)REG_SPI0_SLVSEL) /* SPI0 Slave Select Register */
-#define pREG_SPI0_RWC ((volatile uint32_t *)REG_SPI0_RWC) /* SPI0 Received Word Count Register */
-#define pREG_SPI0_RWCR ((volatile uint32_t *)REG_SPI0_RWCR) /* SPI0 Received Word Count Reload Register */
-#define pREG_SPI0_TWC ((volatile uint32_t *)REG_SPI0_TWC) /* SPI0 Transmitted Word Count Register */
-#define pREG_SPI0_TWCR ((volatile uint32_t *)REG_SPI0_TWCR) /* SPI0 Transmitted Word Count Reload Register */
-#define pREG_SPI0_IMSK ((volatile uint32_t *)REG_SPI0_IMSK) /* SPI0 Interrupt Mask Register */
-#define pREG_SPI0_IMSK_CLR ((volatile uint32_t *)REG_SPI0_IMSK_CLR) /* SPI0 Interrupt Mask Clear Register */
-#define pREG_SPI0_IMSK_SET ((volatile uint32_t *)REG_SPI0_IMSK_SET) /* SPI0 Interrupt Mask Set Register */
-#define pREG_SPI0_STAT ((volatile uint32_t *)REG_SPI0_STAT) /* SPI0 Status Register */
-#define pREG_SPI0_ILAT ((volatile uint32_t *)REG_SPI0_ILAT) /* SPI0 Masked Interrupt Condition Register */
-#define pREG_SPI0_ILAT_CLR ((volatile uint32_t *)REG_SPI0_ILAT_CLR) /* SPI0 Masked Interrupt Clear Register */
-#define pREG_SPI0_RFIFO ((volatile uint32_t *)REG_SPI0_RFIFO) /* SPI0 Receive FIFO Data Register */
-#define pREG_SPI0_TFIFO ((volatile uint32_t *)REG_SPI0_TFIFO) /* SPI0 Transmit FIFO Data Register */
-
-/* =========================================================================
- SPI1
- ========================================================================= */
-#define pREG_SPI1_CTL ((volatile uint32_t *)REG_SPI1_CTL) /* SPI1 Control Register */
-#define pREG_SPI1_RXCTL ((volatile uint32_t *)REG_SPI1_RXCTL) /* SPI1 Receive Control Register */
-#define pREG_SPI1_TXCTL ((volatile uint32_t *)REG_SPI1_TXCTL) /* SPI1 Transmit Control Register */
-#define pREG_SPI1_CLK ((volatile uint32_t *)REG_SPI1_CLK) /* SPI1 Clock Rate Register */
-#define pREG_SPI1_DLY ((volatile uint32_t *)REG_SPI1_DLY) /* SPI1 Delay Register */
-#define pREG_SPI1_SLVSEL ((volatile uint32_t *)REG_SPI1_SLVSEL) /* SPI1 Slave Select Register */
-#define pREG_SPI1_RWC ((volatile uint32_t *)REG_SPI1_RWC) /* SPI1 Received Word Count Register */
-#define pREG_SPI1_RWCR ((volatile uint32_t *)REG_SPI1_RWCR) /* SPI1 Received Word Count Reload Register */
-#define pREG_SPI1_TWC ((volatile uint32_t *)REG_SPI1_TWC) /* SPI1 Transmitted Word Count Register */
-#define pREG_SPI1_TWCR ((volatile uint32_t *)REG_SPI1_TWCR) /* SPI1 Transmitted Word Count Reload Register */
-#define pREG_SPI1_IMSK ((volatile uint32_t *)REG_SPI1_IMSK) /* SPI1 Interrupt Mask Register */
-#define pREG_SPI1_IMSK_CLR ((volatile uint32_t *)REG_SPI1_IMSK_CLR) /* SPI1 Interrupt Mask Clear Register */
-#define pREG_SPI1_IMSK_SET ((volatile uint32_t *)REG_SPI1_IMSK_SET) /* SPI1 Interrupt Mask Set Register */
-#define pREG_SPI1_STAT ((volatile uint32_t *)REG_SPI1_STAT) /* SPI1 Status Register */
-#define pREG_SPI1_ILAT ((volatile uint32_t *)REG_SPI1_ILAT) /* SPI1 Masked Interrupt Condition Register */
-#define pREG_SPI1_ILAT_CLR ((volatile uint32_t *)REG_SPI1_ILAT_CLR) /* SPI1 Masked Interrupt Clear Register */
-#define pREG_SPI1_RFIFO ((volatile uint32_t *)REG_SPI1_RFIFO) /* SPI1 Receive FIFO Data Register */
-#define pREG_SPI1_TFIFO ((volatile uint32_t *)REG_SPI1_TFIFO) /* SPI1 Transmit FIFO Data Register */
-
-
-/* =========================================================================
- DMA0
- ========================================================================= */
-#define pREG_DMA0_DSCPTR_NXT ((void * volatile *)REG_DMA0_DSCPTR_NXT) /* DMA0 Pointer to Next Initial Descriptor */
-#define pREG_DMA0_ADDRSTART ((void * volatile *)REG_DMA0_ADDRSTART) /* DMA0 Start Address of Current Buffer */
-#define pREG_DMA0_CFG ((volatile uint32_t *)REG_DMA0_CFG) /* DMA0 Configuration Register */
-#define pREG_DMA0_XCNT ((volatile uint32_t *)REG_DMA0_XCNT) /* DMA0 Inner Loop Count Start Value */
-#define pREG_DMA0_XMOD ((volatile int32_t *)REG_DMA0_XMOD) /* DMA0 Inner Loop Address Increment */
-#define pREG_DMA0_YCNT ((volatile uint32_t *)REG_DMA0_YCNT) /* DMA0 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA0_YMOD ((volatile int32_t *)REG_DMA0_YMOD) /* DMA0 Outer Loop Address Increment (2D only) */
-#define pREG_DMA0_DSCPTR_CUR ((void * volatile *)REG_DMA0_DSCPTR_CUR) /* DMA0 Current Descriptor Pointer */
-#define pREG_DMA0_DSCPTR_PRV ((void * volatile *)REG_DMA0_DSCPTR_PRV) /* DMA0 Previous Initial Descriptor Pointer */
-#define pREG_DMA0_ADDR_CUR ((void * volatile *)REG_DMA0_ADDR_CUR) /* DMA0 Current Address */
-#define pREG_DMA0_STAT ((volatile uint32_t *)REG_DMA0_STAT) /* DMA0 Status Register */
-#define pREG_DMA0_XCNT_CUR ((volatile uint32_t *)REG_DMA0_XCNT_CUR) /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA0_YCNT_CUR ((volatile uint32_t *)REG_DMA0_YCNT_CUR) /* DMA0 Current Row Count (2D only) */
-#define pREG_DMA0_BWLCNT ((volatile uint32_t *)REG_DMA0_BWLCNT) /* DMA0 Bandwidth Limit Count */
-#define pREG_DMA0_BWLCNT_CUR ((volatile uint32_t *)REG_DMA0_BWLCNT_CUR) /* DMA0 Bandwidth Limit Count Current */
-#define pREG_DMA0_BWMCNT ((volatile uint32_t *)REG_DMA0_BWMCNT) /* DMA0 Bandwidth Monitor Count */
-#define pREG_DMA0_BWMCNT_CUR ((volatile uint32_t *)REG_DMA0_BWMCNT_CUR) /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA1
- ========================================================================= */
-#define pREG_DMA1_DSCPTR_NXT ((void * volatile *)REG_DMA1_DSCPTR_NXT) /* DMA1 Pointer to Next Initial Descriptor */
-#define pREG_DMA1_ADDRSTART ((void * volatile *)REG_DMA1_ADDRSTART) /* DMA1 Start Address of Current Buffer */
-#define pREG_DMA1_CFG ((volatile uint32_t *)REG_DMA1_CFG) /* DMA1 Configuration Register */
-#define pREG_DMA1_XCNT ((volatile uint32_t *)REG_DMA1_XCNT) /* DMA1 Inner Loop Count Start Value */
-#define pREG_DMA1_XMOD ((volatile int32_t *)REG_DMA1_XMOD) /* DMA1 Inner Loop Address Increment */
-#define pREG_DMA1_YCNT ((volatile uint32_t *)REG_DMA1_YCNT) /* DMA1 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA1_YMOD ((volatile int32_t *)REG_DMA1_YMOD) /* DMA1 Outer Loop Address Increment (2D only) */
-#define pREG_DMA1_DSCPTR_CUR ((void * volatile *)REG_DMA1_DSCPTR_CUR) /* DMA1 Current Descriptor Pointer */
-#define pREG_DMA1_DSCPTR_PRV ((void * volatile *)REG_DMA1_DSCPTR_PRV) /* DMA1 Previous Initial Descriptor Pointer */
-#define pREG_DMA1_ADDR_CUR ((void * volatile *)REG_DMA1_ADDR_CUR) /* DMA1 Current Address */
-#define pREG_DMA1_STAT ((volatile uint32_t *)REG_DMA1_STAT) /* DMA1 Status Register */
-#define pREG_DMA1_XCNT_CUR ((volatile uint32_t *)REG_DMA1_XCNT_CUR) /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA1_YCNT_CUR ((volatile uint32_t *)REG_DMA1_YCNT_CUR) /* DMA1 Current Row Count (2D only) */
-#define pREG_DMA1_BWLCNT ((volatile uint32_t *)REG_DMA1_BWLCNT) /* DMA1 Bandwidth Limit Count */
-#define pREG_DMA1_BWLCNT_CUR ((volatile uint32_t *)REG_DMA1_BWLCNT_CUR) /* DMA1 Bandwidth Limit Count Current */
-#define pREG_DMA1_BWMCNT ((volatile uint32_t *)REG_DMA1_BWMCNT) /* DMA1 Bandwidth Monitor Count */
-#define pREG_DMA1_BWMCNT_CUR ((volatile uint32_t *)REG_DMA1_BWMCNT_CUR) /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA2
- ========================================================================= */
-#define pREG_DMA2_DSCPTR_NXT ((void * volatile *)REG_DMA2_DSCPTR_NXT) /* DMA2 Pointer to Next Initial Descriptor */
-#define pREG_DMA2_ADDRSTART ((void * volatile *)REG_DMA2_ADDRSTART) /* DMA2 Start Address of Current Buffer */
-#define pREG_DMA2_CFG ((volatile uint32_t *)REG_DMA2_CFG) /* DMA2 Configuration Register */
-#define pREG_DMA2_XCNT ((volatile uint32_t *)REG_DMA2_XCNT) /* DMA2 Inner Loop Count Start Value */
-#define pREG_DMA2_XMOD ((volatile int32_t *)REG_DMA2_XMOD) /* DMA2 Inner Loop Address Increment */
-#define pREG_DMA2_YCNT ((volatile uint32_t *)REG_DMA2_YCNT) /* DMA2 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA2_YMOD ((volatile int32_t *)REG_DMA2_YMOD) /* DMA2 Outer Loop Address Increment (2D only) */
-#define pREG_DMA2_DSCPTR_CUR ((void * volatile *)REG_DMA2_DSCPTR_CUR) /* DMA2 Current Descriptor Pointer */
-#define pREG_DMA2_DSCPTR_PRV ((void * volatile *)REG_DMA2_DSCPTR_PRV) /* DMA2 Previous Initial Descriptor Pointer */
-#define pREG_DMA2_ADDR_CUR ((void * volatile *)REG_DMA2_ADDR_CUR) /* DMA2 Current Address */
-#define pREG_DMA2_STAT ((volatile uint32_t *)REG_DMA2_STAT) /* DMA2 Status Register */
-#define pREG_DMA2_XCNT_CUR ((volatile uint32_t *)REG_DMA2_XCNT_CUR) /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA2_YCNT_CUR ((volatile uint32_t *)REG_DMA2_YCNT_CUR) /* DMA2 Current Row Count (2D only) */
-#define pREG_DMA2_BWLCNT ((volatile uint32_t *)REG_DMA2_BWLCNT) /* DMA2 Bandwidth Limit Count */
-#define pREG_DMA2_BWLCNT_CUR ((volatile uint32_t *)REG_DMA2_BWLCNT_CUR) /* DMA2 Bandwidth Limit Count Current */
-#define pREG_DMA2_BWMCNT ((volatile uint32_t *)REG_DMA2_BWMCNT) /* DMA2 Bandwidth Monitor Count */
-#define pREG_DMA2_BWMCNT_CUR ((volatile uint32_t *)REG_DMA2_BWMCNT_CUR) /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA3
- ========================================================================= */
-#define pREG_DMA3_DSCPTR_NXT ((void * volatile *)REG_DMA3_DSCPTR_NXT) /* DMA3 Pointer to Next Initial Descriptor */
-#define pREG_DMA3_ADDRSTART ((void * volatile *)REG_DMA3_ADDRSTART) /* DMA3 Start Address of Current Buffer */
-#define pREG_DMA3_CFG ((volatile uint32_t *)REG_DMA3_CFG) /* DMA3 Configuration Register */
-#define pREG_DMA3_XCNT ((volatile uint32_t *)REG_DMA3_XCNT) /* DMA3 Inner Loop Count Start Value */
-#define pREG_DMA3_XMOD ((volatile int32_t *)REG_DMA3_XMOD) /* DMA3 Inner Loop Address Increment */
-#define pREG_DMA3_YCNT ((volatile uint32_t *)REG_DMA3_YCNT) /* DMA3 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA3_YMOD ((volatile int32_t *)REG_DMA3_YMOD) /* DMA3 Outer Loop Address Increment (2D only) */
-#define pREG_DMA3_DSCPTR_CUR ((void * volatile *)REG_DMA3_DSCPTR_CUR) /* DMA3 Current Descriptor Pointer */
-#define pREG_DMA3_DSCPTR_PRV ((void * volatile *)REG_DMA3_DSCPTR_PRV) /* DMA3 Previous Initial Descriptor Pointer */
-#define pREG_DMA3_ADDR_CUR ((void * volatile *)REG_DMA3_ADDR_CUR) /* DMA3 Current Address */
-#define pREG_DMA3_STAT ((volatile uint32_t *)REG_DMA3_STAT) /* DMA3 Status Register */
-#define pREG_DMA3_XCNT_CUR ((volatile uint32_t *)REG_DMA3_XCNT_CUR) /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA3_YCNT_CUR ((volatile uint32_t *)REG_DMA3_YCNT_CUR) /* DMA3 Current Row Count (2D only) */
-#define pREG_DMA3_BWLCNT ((volatile uint32_t *)REG_DMA3_BWLCNT) /* DMA3 Bandwidth Limit Count */
-#define pREG_DMA3_BWLCNT_CUR ((volatile uint32_t *)REG_DMA3_BWLCNT_CUR) /* DMA3 Bandwidth Limit Count Current */
-#define pREG_DMA3_BWMCNT ((volatile uint32_t *)REG_DMA3_BWMCNT) /* DMA3 Bandwidth Monitor Count */
-#define pREG_DMA3_BWMCNT_CUR ((volatile uint32_t *)REG_DMA3_BWMCNT_CUR) /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA4
- ========================================================================= */
-#define pREG_DMA4_DSCPTR_NXT ((void * volatile *)REG_DMA4_DSCPTR_NXT) /* DMA4 Pointer to Next Initial Descriptor */
-#define pREG_DMA4_ADDRSTART ((void * volatile *)REG_DMA4_ADDRSTART) /* DMA4 Start Address of Current Buffer */
-#define pREG_DMA4_CFG ((volatile uint32_t *)REG_DMA4_CFG) /* DMA4 Configuration Register */
-#define pREG_DMA4_XCNT ((volatile uint32_t *)REG_DMA4_XCNT) /* DMA4 Inner Loop Count Start Value */
-#define pREG_DMA4_XMOD ((volatile int32_t *)REG_DMA4_XMOD) /* DMA4 Inner Loop Address Increment */
-#define pREG_DMA4_YCNT ((volatile uint32_t *)REG_DMA4_YCNT) /* DMA4 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA4_YMOD ((volatile int32_t *)REG_DMA4_YMOD) /* DMA4 Outer Loop Address Increment (2D only) */
-#define pREG_DMA4_DSCPTR_CUR ((void * volatile *)REG_DMA4_DSCPTR_CUR) /* DMA4 Current Descriptor Pointer */
-#define pREG_DMA4_DSCPTR_PRV ((void * volatile *)REG_DMA4_DSCPTR_PRV) /* DMA4 Previous Initial Descriptor Pointer */
-#define pREG_DMA4_ADDR_CUR ((void * volatile *)REG_DMA4_ADDR_CUR) /* DMA4 Current Address */
-#define pREG_DMA4_STAT ((volatile uint32_t *)REG_DMA4_STAT) /* DMA4 Status Register */
-#define pREG_DMA4_XCNT_CUR ((volatile uint32_t *)REG_DMA4_XCNT_CUR) /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA4_YCNT_CUR ((volatile uint32_t *)REG_DMA4_YCNT_CUR) /* DMA4 Current Row Count (2D only) */
-#define pREG_DMA4_BWLCNT ((volatile uint32_t *)REG_DMA4_BWLCNT) /* DMA4 Bandwidth Limit Count */
-#define pREG_DMA4_BWLCNT_CUR ((volatile uint32_t *)REG_DMA4_BWLCNT_CUR) /* DMA4 Bandwidth Limit Count Current */
-#define pREG_DMA4_BWMCNT ((volatile uint32_t *)REG_DMA4_BWMCNT) /* DMA4 Bandwidth Monitor Count */
-#define pREG_DMA4_BWMCNT_CUR ((volatile uint32_t *)REG_DMA4_BWMCNT_CUR) /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA5
- ========================================================================= */
-#define pREG_DMA5_DSCPTR_NXT ((void * volatile *)REG_DMA5_DSCPTR_NXT) /* DMA5 Pointer to Next Initial Descriptor */
-#define pREG_DMA5_ADDRSTART ((void * volatile *)REG_DMA5_ADDRSTART) /* DMA5 Start Address of Current Buffer */
-#define pREG_DMA5_CFG ((volatile uint32_t *)REG_DMA5_CFG) /* DMA5 Configuration Register */
-#define pREG_DMA5_XCNT ((volatile uint32_t *)REG_DMA5_XCNT) /* DMA5 Inner Loop Count Start Value */
-#define pREG_DMA5_XMOD ((volatile int32_t *)REG_DMA5_XMOD) /* DMA5 Inner Loop Address Increment */
-#define pREG_DMA5_YCNT ((volatile uint32_t *)REG_DMA5_YCNT) /* DMA5 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA5_YMOD ((volatile int32_t *)REG_DMA5_YMOD) /* DMA5 Outer Loop Address Increment (2D only) */
-#define pREG_DMA5_DSCPTR_CUR ((void * volatile *)REG_DMA5_DSCPTR_CUR) /* DMA5 Current Descriptor Pointer */
-#define pREG_DMA5_DSCPTR_PRV ((void * volatile *)REG_DMA5_DSCPTR_PRV) /* DMA5 Previous Initial Descriptor Pointer */
-#define pREG_DMA5_ADDR_CUR ((void * volatile *)REG_DMA5_ADDR_CUR) /* DMA5 Current Address */
-#define pREG_DMA5_STAT ((volatile uint32_t *)REG_DMA5_STAT) /* DMA5 Status Register */
-#define pREG_DMA5_XCNT_CUR ((volatile uint32_t *)REG_DMA5_XCNT_CUR) /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA5_YCNT_CUR ((volatile uint32_t *)REG_DMA5_YCNT_CUR) /* DMA5 Current Row Count (2D only) */
-#define pREG_DMA5_BWLCNT ((volatile uint32_t *)REG_DMA5_BWLCNT) /* DMA5 Bandwidth Limit Count */
-#define pREG_DMA5_BWLCNT_CUR ((volatile uint32_t *)REG_DMA5_BWLCNT_CUR) /* DMA5 Bandwidth Limit Count Current */
-#define pREG_DMA5_BWMCNT ((volatile uint32_t *)REG_DMA5_BWMCNT) /* DMA5 Bandwidth Monitor Count */
-#define pREG_DMA5_BWMCNT_CUR ((volatile uint32_t *)REG_DMA5_BWMCNT_CUR) /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA6
- ========================================================================= */
-#define pREG_DMA6_DSCPTR_NXT ((void * volatile *)REG_DMA6_DSCPTR_NXT) /* DMA6 Pointer to Next Initial Descriptor */
-#define pREG_DMA6_ADDRSTART ((void * volatile *)REG_DMA6_ADDRSTART) /* DMA6 Start Address of Current Buffer */
-#define pREG_DMA6_CFG ((volatile uint32_t *)REG_DMA6_CFG) /* DMA6 Configuration Register */
-#define pREG_DMA6_XCNT ((volatile uint32_t *)REG_DMA6_XCNT) /* DMA6 Inner Loop Count Start Value */
-#define pREG_DMA6_XMOD ((volatile int32_t *)REG_DMA6_XMOD) /* DMA6 Inner Loop Address Increment */
-#define pREG_DMA6_YCNT ((volatile uint32_t *)REG_DMA6_YCNT) /* DMA6 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA6_YMOD ((volatile int32_t *)REG_DMA6_YMOD) /* DMA6 Outer Loop Address Increment (2D only) */
-#define pREG_DMA6_DSCPTR_CUR ((void * volatile *)REG_DMA6_DSCPTR_CUR) /* DMA6 Current Descriptor Pointer */
-#define pREG_DMA6_DSCPTR_PRV ((void * volatile *)REG_DMA6_DSCPTR_PRV) /* DMA6 Previous Initial Descriptor Pointer */
-#define pREG_DMA6_ADDR_CUR ((void * volatile *)REG_DMA6_ADDR_CUR) /* DMA6 Current Address */
-#define pREG_DMA6_STAT ((volatile uint32_t *)REG_DMA6_STAT) /* DMA6 Status Register */
-#define pREG_DMA6_XCNT_CUR ((volatile uint32_t *)REG_DMA6_XCNT_CUR) /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA6_YCNT_CUR ((volatile uint32_t *)REG_DMA6_YCNT_CUR) /* DMA6 Current Row Count (2D only) */
-#define pREG_DMA6_BWLCNT ((volatile uint32_t *)REG_DMA6_BWLCNT) /* DMA6 Bandwidth Limit Count */
-#define pREG_DMA6_BWLCNT_CUR ((volatile uint32_t *)REG_DMA6_BWLCNT_CUR) /* DMA6 Bandwidth Limit Count Current */
-#define pREG_DMA6_BWMCNT ((volatile uint32_t *)REG_DMA6_BWMCNT) /* DMA6 Bandwidth Monitor Count */
-#define pREG_DMA6_BWMCNT_CUR ((volatile uint32_t *)REG_DMA6_BWMCNT_CUR) /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA7
- ========================================================================= */
-#define pREG_DMA7_DSCPTR_NXT ((void * volatile *)REG_DMA7_DSCPTR_NXT) /* DMA7 Pointer to Next Initial Descriptor */
-#define pREG_DMA7_ADDRSTART ((void * volatile *)REG_DMA7_ADDRSTART) /* DMA7 Start Address of Current Buffer */
-#define pREG_DMA7_CFG ((volatile uint32_t *)REG_DMA7_CFG) /* DMA7 Configuration Register */
-#define pREG_DMA7_XCNT ((volatile uint32_t *)REG_DMA7_XCNT) /* DMA7 Inner Loop Count Start Value */
-#define pREG_DMA7_XMOD ((volatile int32_t *)REG_DMA7_XMOD) /* DMA7 Inner Loop Address Increment */
-#define pREG_DMA7_YCNT ((volatile uint32_t *)REG_DMA7_YCNT) /* DMA7 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA7_YMOD ((volatile int32_t *)REG_DMA7_YMOD) /* DMA7 Outer Loop Address Increment (2D only) */
-#define pREG_DMA7_DSCPTR_CUR ((void * volatile *)REG_DMA7_DSCPTR_CUR) /* DMA7 Current Descriptor Pointer */
-#define pREG_DMA7_DSCPTR_PRV ((void * volatile *)REG_DMA7_DSCPTR_PRV) /* DMA7 Previous Initial Descriptor Pointer */
-#define pREG_DMA7_ADDR_CUR ((void * volatile *)REG_DMA7_ADDR_CUR) /* DMA7 Current Address */
-#define pREG_DMA7_STAT ((volatile uint32_t *)REG_DMA7_STAT) /* DMA7 Status Register */
-#define pREG_DMA7_XCNT_CUR ((volatile uint32_t *)REG_DMA7_XCNT_CUR) /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA7_YCNT_CUR ((volatile uint32_t *)REG_DMA7_YCNT_CUR) /* DMA7 Current Row Count (2D only) */
-#define pREG_DMA7_BWLCNT ((volatile uint32_t *)REG_DMA7_BWLCNT) /* DMA7 Bandwidth Limit Count */
-#define pREG_DMA7_BWLCNT_CUR ((volatile uint32_t *)REG_DMA7_BWLCNT_CUR) /* DMA7 Bandwidth Limit Count Current */
-#define pREG_DMA7_BWMCNT ((volatile uint32_t *)REG_DMA7_BWMCNT) /* DMA7 Bandwidth Monitor Count */
-#define pREG_DMA7_BWMCNT_CUR ((volatile uint32_t *)REG_DMA7_BWMCNT_CUR) /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA8
- ========================================================================= */
-#define pREG_DMA8_DSCPTR_NXT ((void * volatile *)REG_DMA8_DSCPTR_NXT) /* DMA8 Pointer to Next Initial Descriptor */
-#define pREG_DMA8_ADDRSTART ((void * volatile *)REG_DMA8_ADDRSTART) /* DMA8 Start Address of Current Buffer */
-#define pREG_DMA8_CFG ((volatile uint32_t *)REG_DMA8_CFG) /* DMA8 Configuration Register */
-#define pREG_DMA8_XCNT ((volatile uint32_t *)REG_DMA8_XCNT) /* DMA8 Inner Loop Count Start Value */
-#define pREG_DMA8_XMOD ((volatile int32_t *)REG_DMA8_XMOD) /* DMA8 Inner Loop Address Increment */
-#define pREG_DMA8_YCNT ((volatile uint32_t *)REG_DMA8_YCNT) /* DMA8 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA8_YMOD ((volatile int32_t *)REG_DMA8_YMOD) /* DMA8 Outer Loop Address Increment (2D only) */
-#define pREG_DMA8_DSCPTR_CUR ((void * volatile *)REG_DMA8_DSCPTR_CUR) /* DMA8 Current Descriptor Pointer */
-#define pREG_DMA8_DSCPTR_PRV ((void * volatile *)REG_DMA8_DSCPTR_PRV) /* DMA8 Previous Initial Descriptor Pointer */
-#define pREG_DMA8_ADDR_CUR ((void * volatile *)REG_DMA8_ADDR_CUR) /* DMA8 Current Address */
-#define pREG_DMA8_STAT ((volatile uint32_t *)REG_DMA8_STAT) /* DMA8 Status Register */
-#define pREG_DMA8_XCNT_CUR ((volatile uint32_t *)REG_DMA8_XCNT_CUR) /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA8_YCNT_CUR ((volatile uint32_t *)REG_DMA8_YCNT_CUR) /* DMA8 Current Row Count (2D only) */
-#define pREG_DMA8_BWLCNT ((volatile uint32_t *)REG_DMA8_BWLCNT) /* DMA8 Bandwidth Limit Count */
-#define pREG_DMA8_BWLCNT_CUR ((volatile uint32_t *)REG_DMA8_BWLCNT_CUR) /* DMA8 Bandwidth Limit Count Current */
-#define pREG_DMA8_BWMCNT ((volatile uint32_t *)REG_DMA8_BWMCNT) /* DMA8 Bandwidth Monitor Count */
-#define pREG_DMA8_BWMCNT_CUR ((volatile uint32_t *)REG_DMA8_BWMCNT_CUR) /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA9
- ========================================================================= */
-#define pREG_DMA9_DSCPTR_NXT ((void * volatile *)REG_DMA9_DSCPTR_NXT) /* DMA9 Pointer to Next Initial Descriptor */
-#define pREG_DMA9_ADDRSTART ((void * volatile *)REG_DMA9_ADDRSTART) /* DMA9 Start Address of Current Buffer */
-#define pREG_DMA9_CFG ((volatile uint32_t *)REG_DMA9_CFG) /* DMA9 Configuration Register */
-#define pREG_DMA9_XCNT ((volatile uint32_t *)REG_DMA9_XCNT) /* DMA9 Inner Loop Count Start Value */
-#define pREG_DMA9_XMOD ((volatile int32_t *)REG_DMA9_XMOD) /* DMA9 Inner Loop Address Increment */
-#define pREG_DMA9_YCNT ((volatile uint32_t *)REG_DMA9_YCNT) /* DMA9 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA9_YMOD ((volatile int32_t *)REG_DMA9_YMOD) /* DMA9 Outer Loop Address Increment (2D only) */
-#define pREG_DMA9_DSCPTR_CUR ((void * volatile *)REG_DMA9_DSCPTR_CUR) /* DMA9 Current Descriptor Pointer */
-#define pREG_DMA9_DSCPTR_PRV ((void * volatile *)REG_DMA9_DSCPTR_PRV) /* DMA9 Previous Initial Descriptor Pointer */
-#define pREG_DMA9_ADDR_CUR ((void * volatile *)REG_DMA9_ADDR_CUR) /* DMA9 Current Address */
-#define pREG_DMA9_STAT ((volatile uint32_t *)REG_DMA9_STAT) /* DMA9 Status Register */
-#define pREG_DMA9_XCNT_CUR ((volatile uint32_t *)REG_DMA9_XCNT_CUR) /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA9_YCNT_CUR ((volatile uint32_t *)REG_DMA9_YCNT_CUR) /* DMA9 Current Row Count (2D only) */
-#define pREG_DMA9_BWLCNT ((volatile uint32_t *)REG_DMA9_BWLCNT) /* DMA9 Bandwidth Limit Count */
-#define pREG_DMA9_BWLCNT_CUR ((volatile uint32_t *)REG_DMA9_BWLCNT_CUR) /* DMA9 Bandwidth Limit Count Current */
-#define pREG_DMA9_BWMCNT ((volatile uint32_t *)REG_DMA9_BWMCNT) /* DMA9 Bandwidth Monitor Count */
-#define pREG_DMA9_BWMCNT_CUR ((volatile uint32_t *)REG_DMA9_BWMCNT_CUR) /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA10
- ========================================================================= */
-#define pREG_DMA10_DSCPTR_NXT ((void * volatile *)REG_DMA10_DSCPTR_NXT) /* DMA10 Pointer to Next Initial Descriptor */
-#define pREG_DMA10_ADDRSTART ((void * volatile *)REG_DMA10_ADDRSTART) /* DMA10 Start Address of Current Buffer */
-#define pREG_DMA10_CFG ((volatile uint32_t *)REG_DMA10_CFG) /* DMA10 Configuration Register */
-#define pREG_DMA10_XCNT ((volatile uint32_t *)REG_DMA10_XCNT) /* DMA10 Inner Loop Count Start Value */
-#define pREG_DMA10_XMOD ((volatile int32_t *)REG_DMA10_XMOD) /* DMA10 Inner Loop Address Increment */
-#define pREG_DMA10_YCNT ((volatile uint32_t *)REG_DMA10_YCNT) /* DMA10 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA10_YMOD ((volatile int32_t *)REG_DMA10_YMOD) /* DMA10 Outer Loop Address Increment (2D only) */
-#define pREG_DMA10_DSCPTR_CUR ((void * volatile *)REG_DMA10_DSCPTR_CUR) /* DMA10 Current Descriptor Pointer */
-#define pREG_DMA10_DSCPTR_PRV ((void * volatile *)REG_DMA10_DSCPTR_PRV) /* DMA10 Previous Initial Descriptor Pointer */
-#define pREG_DMA10_ADDR_CUR ((void * volatile *)REG_DMA10_ADDR_CUR) /* DMA10 Current Address */
-#define pREG_DMA10_STAT ((volatile uint32_t *)REG_DMA10_STAT) /* DMA10 Status Register */
-#define pREG_DMA10_XCNT_CUR ((volatile uint32_t *)REG_DMA10_XCNT_CUR) /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA10_YCNT_CUR ((volatile uint32_t *)REG_DMA10_YCNT_CUR) /* DMA10 Current Row Count (2D only) */
-#define pREG_DMA10_BWLCNT ((volatile uint32_t *)REG_DMA10_BWLCNT) /* DMA10 Bandwidth Limit Count */
-#define pREG_DMA10_BWLCNT_CUR ((volatile uint32_t *)REG_DMA10_BWLCNT_CUR) /* DMA10 Bandwidth Limit Count Current */
-#define pREG_DMA10_BWMCNT ((volatile uint32_t *)REG_DMA10_BWMCNT) /* DMA10 Bandwidth Monitor Count */
-#define pREG_DMA10_BWMCNT_CUR ((volatile uint32_t *)REG_DMA10_BWMCNT_CUR) /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA11
- ========================================================================= */
-#define pREG_DMA11_DSCPTR_NXT ((void * volatile *)REG_DMA11_DSCPTR_NXT) /* DMA11 Pointer to Next Initial Descriptor */
-#define pREG_DMA11_ADDRSTART ((void * volatile *)REG_DMA11_ADDRSTART) /* DMA11 Start Address of Current Buffer */
-#define pREG_DMA11_CFG ((volatile uint32_t *)REG_DMA11_CFG) /* DMA11 Configuration Register */
-#define pREG_DMA11_XCNT ((volatile uint32_t *)REG_DMA11_XCNT) /* DMA11 Inner Loop Count Start Value */
-#define pREG_DMA11_XMOD ((volatile int32_t *)REG_DMA11_XMOD) /* DMA11 Inner Loop Address Increment */
-#define pREG_DMA11_YCNT ((volatile uint32_t *)REG_DMA11_YCNT) /* DMA11 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA11_YMOD ((volatile int32_t *)REG_DMA11_YMOD) /* DMA11 Outer Loop Address Increment (2D only) */
-#define pREG_DMA11_DSCPTR_CUR ((void * volatile *)REG_DMA11_DSCPTR_CUR) /* DMA11 Current Descriptor Pointer */
-#define pREG_DMA11_DSCPTR_PRV ((void * volatile *)REG_DMA11_DSCPTR_PRV) /* DMA11 Previous Initial Descriptor Pointer */
-#define pREG_DMA11_ADDR_CUR ((void * volatile *)REG_DMA11_ADDR_CUR) /* DMA11 Current Address */
-#define pREG_DMA11_STAT ((volatile uint32_t *)REG_DMA11_STAT) /* DMA11 Status Register */
-#define pREG_DMA11_XCNT_CUR ((volatile uint32_t *)REG_DMA11_XCNT_CUR) /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA11_YCNT_CUR ((volatile uint32_t *)REG_DMA11_YCNT_CUR) /* DMA11 Current Row Count (2D only) */
-#define pREG_DMA11_BWLCNT ((volatile uint32_t *)REG_DMA11_BWLCNT) /* DMA11 Bandwidth Limit Count */
-#define pREG_DMA11_BWLCNT_CUR ((volatile uint32_t *)REG_DMA11_BWLCNT_CUR) /* DMA11 Bandwidth Limit Count Current */
-#define pREG_DMA11_BWMCNT ((volatile uint32_t *)REG_DMA11_BWMCNT) /* DMA11 Bandwidth Monitor Count */
-#define pREG_DMA11_BWMCNT_CUR ((volatile uint32_t *)REG_DMA11_BWMCNT_CUR) /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA12
- ========================================================================= */
-#define pREG_DMA12_DSCPTR_NXT ((void * volatile *)REG_DMA12_DSCPTR_NXT) /* DMA12 Pointer to Next Initial Descriptor */
-#define pREG_DMA12_ADDRSTART ((void * volatile *)REG_DMA12_ADDRSTART) /* DMA12 Start Address of Current Buffer */
-#define pREG_DMA12_CFG ((volatile uint32_t *)REG_DMA12_CFG) /* DMA12 Configuration Register */
-#define pREG_DMA12_XCNT ((volatile uint32_t *)REG_DMA12_XCNT) /* DMA12 Inner Loop Count Start Value */
-#define pREG_DMA12_XMOD ((volatile int32_t *)REG_DMA12_XMOD) /* DMA12 Inner Loop Address Increment */
-#define pREG_DMA12_YCNT ((volatile uint32_t *)REG_DMA12_YCNT) /* DMA12 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA12_YMOD ((volatile int32_t *)REG_DMA12_YMOD) /* DMA12 Outer Loop Address Increment (2D only) */
-#define pREG_DMA12_DSCPTR_CUR ((void * volatile *)REG_DMA12_DSCPTR_CUR) /* DMA12 Current Descriptor Pointer */
-#define pREG_DMA12_DSCPTR_PRV ((void * volatile *)REG_DMA12_DSCPTR_PRV) /* DMA12 Previous Initial Descriptor Pointer */
-#define pREG_DMA12_ADDR_CUR ((void * volatile *)REG_DMA12_ADDR_CUR) /* DMA12 Current Address */
-#define pREG_DMA12_STAT ((volatile uint32_t *)REG_DMA12_STAT) /* DMA12 Status Register */
-#define pREG_DMA12_XCNT_CUR ((volatile uint32_t *)REG_DMA12_XCNT_CUR) /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA12_YCNT_CUR ((volatile uint32_t *)REG_DMA12_YCNT_CUR) /* DMA12 Current Row Count (2D only) */
-#define pREG_DMA12_BWLCNT ((volatile uint32_t *)REG_DMA12_BWLCNT) /* DMA12 Bandwidth Limit Count */
-#define pREG_DMA12_BWLCNT_CUR ((volatile uint32_t *)REG_DMA12_BWLCNT_CUR) /* DMA12 Bandwidth Limit Count Current */
-#define pREG_DMA12_BWMCNT ((volatile uint32_t *)REG_DMA12_BWMCNT) /* DMA12 Bandwidth Monitor Count */
-#define pREG_DMA12_BWMCNT_CUR ((volatile uint32_t *)REG_DMA12_BWMCNT_CUR) /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA13
- ========================================================================= */
-#define pREG_DMA13_DSCPTR_NXT ((void * volatile *)REG_DMA13_DSCPTR_NXT) /* DMA13 Pointer to Next Initial Descriptor */
-#define pREG_DMA13_ADDRSTART ((void * volatile *)REG_DMA13_ADDRSTART) /* DMA13 Start Address of Current Buffer */
-#define pREG_DMA13_CFG ((volatile uint32_t *)REG_DMA13_CFG) /* DMA13 Configuration Register */
-#define pREG_DMA13_XCNT ((volatile uint32_t *)REG_DMA13_XCNT) /* DMA13 Inner Loop Count Start Value */
-#define pREG_DMA13_XMOD ((volatile int32_t *)REG_DMA13_XMOD) /* DMA13 Inner Loop Address Increment */
-#define pREG_DMA13_YCNT ((volatile uint32_t *)REG_DMA13_YCNT) /* DMA13 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA13_YMOD ((volatile int32_t *)REG_DMA13_YMOD) /* DMA13 Outer Loop Address Increment (2D only) */
-#define pREG_DMA13_DSCPTR_CUR ((void * volatile *)REG_DMA13_DSCPTR_CUR) /* DMA13 Current Descriptor Pointer */
-#define pREG_DMA13_DSCPTR_PRV ((void * volatile *)REG_DMA13_DSCPTR_PRV) /* DMA13 Previous Initial Descriptor Pointer */
-#define pREG_DMA13_ADDR_CUR ((void * volatile *)REG_DMA13_ADDR_CUR) /* DMA13 Current Address */
-#define pREG_DMA13_STAT ((volatile uint32_t *)REG_DMA13_STAT) /* DMA13 Status Register */
-#define pREG_DMA13_XCNT_CUR ((volatile uint32_t *)REG_DMA13_XCNT_CUR) /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA13_YCNT_CUR ((volatile uint32_t *)REG_DMA13_YCNT_CUR) /* DMA13 Current Row Count (2D only) */
-#define pREG_DMA13_BWLCNT ((volatile uint32_t *)REG_DMA13_BWLCNT) /* DMA13 Bandwidth Limit Count */
-#define pREG_DMA13_BWLCNT_CUR ((volatile uint32_t *)REG_DMA13_BWLCNT_CUR) /* DMA13 Bandwidth Limit Count Current */
-#define pREG_DMA13_BWMCNT ((volatile uint32_t *)REG_DMA13_BWMCNT) /* DMA13 Bandwidth Monitor Count */
-#define pREG_DMA13_BWMCNT_CUR ((volatile uint32_t *)REG_DMA13_BWMCNT_CUR) /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA14
- ========================================================================= */
-#define pREG_DMA14_DSCPTR_NXT ((void * volatile *)REG_DMA14_DSCPTR_NXT) /* DMA14 Pointer to Next Initial Descriptor */
-#define pREG_DMA14_ADDRSTART ((void * volatile *)REG_DMA14_ADDRSTART) /* DMA14 Start Address of Current Buffer */
-#define pREG_DMA14_CFG ((volatile uint32_t *)REG_DMA14_CFG) /* DMA14 Configuration Register */
-#define pREG_DMA14_XCNT ((volatile uint32_t *)REG_DMA14_XCNT) /* DMA14 Inner Loop Count Start Value */
-#define pREG_DMA14_XMOD ((volatile int32_t *)REG_DMA14_XMOD) /* DMA14 Inner Loop Address Increment */
-#define pREG_DMA14_YCNT ((volatile uint32_t *)REG_DMA14_YCNT) /* DMA14 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA14_YMOD ((volatile int32_t *)REG_DMA14_YMOD) /* DMA14 Outer Loop Address Increment (2D only) */
-#define pREG_DMA14_DSCPTR_CUR ((void * volatile *)REG_DMA14_DSCPTR_CUR) /* DMA14 Current Descriptor Pointer */
-#define pREG_DMA14_DSCPTR_PRV ((void * volatile *)REG_DMA14_DSCPTR_PRV) /* DMA14 Previous Initial Descriptor Pointer */
-#define pREG_DMA14_ADDR_CUR ((void * volatile *)REG_DMA14_ADDR_CUR) /* DMA14 Current Address */
-#define pREG_DMA14_STAT ((volatile uint32_t *)REG_DMA14_STAT) /* DMA14 Status Register */
-#define pREG_DMA14_XCNT_CUR ((volatile uint32_t *)REG_DMA14_XCNT_CUR) /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA14_YCNT_CUR ((volatile uint32_t *)REG_DMA14_YCNT_CUR) /* DMA14 Current Row Count (2D only) */
-#define pREG_DMA14_BWLCNT ((volatile uint32_t *)REG_DMA14_BWLCNT) /* DMA14 Bandwidth Limit Count */
-#define pREG_DMA14_BWLCNT_CUR ((volatile uint32_t *)REG_DMA14_BWLCNT_CUR) /* DMA14 Bandwidth Limit Count Current */
-#define pREG_DMA14_BWMCNT ((volatile uint32_t *)REG_DMA14_BWMCNT) /* DMA14 Bandwidth Monitor Count */
-#define pREG_DMA14_BWMCNT_CUR ((volatile uint32_t *)REG_DMA14_BWMCNT_CUR) /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA15
- ========================================================================= */
-#define pREG_DMA15_DSCPTR_NXT ((void * volatile *)REG_DMA15_DSCPTR_NXT) /* DMA15 Pointer to Next Initial Descriptor */
-#define pREG_DMA15_ADDRSTART ((void * volatile *)REG_DMA15_ADDRSTART) /* DMA15 Start Address of Current Buffer */
-#define pREG_DMA15_CFG ((volatile uint32_t *)REG_DMA15_CFG) /* DMA15 Configuration Register */
-#define pREG_DMA15_XCNT ((volatile uint32_t *)REG_DMA15_XCNT) /* DMA15 Inner Loop Count Start Value */
-#define pREG_DMA15_XMOD ((volatile int32_t *)REG_DMA15_XMOD) /* DMA15 Inner Loop Address Increment */
-#define pREG_DMA15_YCNT ((volatile uint32_t *)REG_DMA15_YCNT) /* DMA15 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA15_YMOD ((volatile int32_t *)REG_DMA15_YMOD) /* DMA15 Outer Loop Address Increment (2D only) */
-#define pREG_DMA15_DSCPTR_CUR ((void * volatile *)REG_DMA15_DSCPTR_CUR) /* DMA15 Current Descriptor Pointer */
-#define pREG_DMA15_DSCPTR_PRV ((void * volatile *)REG_DMA15_DSCPTR_PRV) /* DMA15 Previous Initial Descriptor Pointer */
-#define pREG_DMA15_ADDR_CUR ((void * volatile *)REG_DMA15_ADDR_CUR) /* DMA15 Current Address */
-#define pREG_DMA15_STAT ((volatile uint32_t *)REG_DMA15_STAT) /* DMA15 Status Register */
-#define pREG_DMA15_XCNT_CUR ((volatile uint32_t *)REG_DMA15_XCNT_CUR) /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA15_YCNT_CUR ((volatile uint32_t *)REG_DMA15_YCNT_CUR) /* DMA15 Current Row Count (2D only) */
-#define pREG_DMA15_BWLCNT ((volatile uint32_t *)REG_DMA15_BWLCNT) /* DMA15 Bandwidth Limit Count */
-#define pREG_DMA15_BWLCNT_CUR ((volatile uint32_t *)REG_DMA15_BWLCNT_CUR) /* DMA15 Bandwidth Limit Count Current */
-#define pREG_DMA15_BWMCNT ((volatile uint32_t *)REG_DMA15_BWMCNT) /* DMA15 Bandwidth Monitor Count */
-#define pREG_DMA15_BWMCNT_CUR ((volatile uint32_t *)REG_DMA15_BWMCNT_CUR) /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA16
- ========================================================================= */
-#define pREG_DMA16_DSCPTR_NXT ((void * volatile *)REG_DMA16_DSCPTR_NXT) /* DMA16 Pointer to Next Initial Descriptor */
-#define pREG_DMA16_ADDRSTART ((void * volatile *)REG_DMA16_ADDRSTART) /* DMA16 Start Address of Current Buffer */
-#define pREG_DMA16_CFG ((volatile uint32_t *)REG_DMA16_CFG) /* DMA16 Configuration Register */
-#define pREG_DMA16_XCNT ((volatile uint32_t *)REG_DMA16_XCNT) /* DMA16 Inner Loop Count Start Value */
-#define pREG_DMA16_XMOD ((volatile int32_t *)REG_DMA16_XMOD) /* DMA16 Inner Loop Address Increment */
-#define pREG_DMA16_YCNT ((volatile uint32_t *)REG_DMA16_YCNT) /* DMA16 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA16_YMOD ((volatile int32_t *)REG_DMA16_YMOD) /* DMA16 Outer Loop Address Increment (2D only) */
-#define pREG_DMA16_DSCPTR_CUR ((void * volatile *)REG_DMA16_DSCPTR_CUR) /* DMA16 Current Descriptor Pointer */
-#define pREG_DMA16_DSCPTR_PRV ((void * volatile *)REG_DMA16_DSCPTR_PRV) /* DMA16 Previous Initial Descriptor Pointer */
-#define pREG_DMA16_ADDR_CUR ((void * volatile *)REG_DMA16_ADDR_CUR) /* DMA16 Current Address */
-#define pREG_DMA16_STAT ((volatile uint32_t *)REG_DMA16_STAT) /* DMA16 Status Register */
-#define pREG_DMA16_XCNT_CUR ((volatile uint32_t *)REG_DMA16_XCNT_CUR) /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA16_YCNT_CUR ((volatile uint32_t *)REG_DMA16_YCNT_CUR) /* DMA16 Current Row Count (2D only) */
-#define pREG_DMA16_BWLCNT ((volatile uint32_t *)REG_DMA16_BWLCNT) /* DMA16 Bandwidth Limit Count */
-#define pREG_DMA16_BWLCNT_CUR ((volatile uint32_t *)REG_DMA16_BWLCNT_CUR) /* DMA16 Bandwidth Limit Count Current */
-#define pREG_DMA16_BWMCNT ((volatile uint32_t *)REG_DMA16_BWMCNT) /* DMA16 Bandwidth Monitor Count */
-#define pREG_DMA16_BWMCNT_CUR ((volatile uint32_t *)REG_DMA16_BWMCNT_CUR) /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA17
- ========================================================================= */
-#define pREG_DMA17_DSCPTR_NXT ((void * volatile *)REG_DMA17_DSCPTR_NXT) /* DMA17 Pointer to Next Initial Descriptor */
-#define pREG_DMA17_ADDRSTART ((void * volatile *)REG_DMA17_ADDRSTART) /* DMA17 Start Address of Current Buffer */
-#define pREG_DMA17_CFG ((volatile uint32_t *)REG_DMA17_CFG) /* DMA17 Configuration Register */
-#define pREG_DMA17_XCNT ((volatile uint32_t *)REG_DMA17_XCNT) /* DMA17 Inner Loop Count Start Value */
-#define pREG_DMA17_XMOD ((volatile int32_t *)REG_DMA17_XMOD) /* DMA17 Inner Loop Address Increment */
-#define pREG_DMA17_YCNT ((volatile uint32_t *)REG_DMA17_YCNT) /* DMA17 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA17_YMOD ((volatile int32_t *)REG_DMA17_YMOD) /* DMA17 Outer Loop Address Increment (2D only) */
-#define pREG_DMA17_DSCPTR_CUR ((void * volatile *)REG_DMA17_DSCPTR_CUR) /* DMA17 Current Descriptor Pointer */
-#define pREG_DMA17_DSCPTR_PRV ((void * volatile *)REG_DMA17_DSCPTR_PRV) /* DMA17 Previous Initial Descriptor Pointer */
-#define pREG_DMA17_ADDR_CUR ((void * volatile *)REG_DMA17_ADDR_CUR) /* DMA17 Current Address */
-#define pREG_DMA17_STAT ((volatile uint32_t *)REG_DMA17_STAT) /* DMA17 Status Register */
-#define pREG_DMA17_XCNT_CUR ((volatile uint32_t *)REG_DMA17_XCNT_CUR) /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA17_YCNT_CUR ((volatile uint32_t *)REG_DMA17_YCNT_CUR) /* DMA17 Current Row Count (2D only) */
-#define pREG_DMA17_BWLCNT ((volatile uint32_t *)REG_DMA17_BWLCNT) /* DMA17 Bandwidth Limit Count */
-#define pREG_DMA17_BWLCNT_CUR ((volatile uint32_t *)REG_DMA17_BWLCNT_CUR) /* DMA17 Bandwidth Limit Count Current */
-#define pREG_DMA17_BWMCNT ((volatile uint32_t *)REG_DMA17_BWMCNT) /* DMA17 Bandwidth Monitor Count */
-#define pREG_DMA17_BWMCNT_CUR ((volatile uint32_t *)REG_DMA17_BWMCNT_CUR) /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA18
- ========================================================================= */
-#define pREG_DMA18_DSCPTR_NXT ((void * volatile *)REG_DMA18_DSCPTR_NXT) /* DMA18 Pointer to Next Initial Descriptor */
-#define pREG_DMA18_ADDRSTART ((void * volatile *)REG_DMA18_ADDRSTART) /* DMA18 Start Address of Current Buffer */
-#define pREG_DMA18_CFG ((volatile uint32_t *)REG_DMA18_CFG) /* DMA18 Configuration Register */
-#define pREG_DMA18_XCNT ((volatile uint32_t *)REG_DMA18_XCNT) /* DMA18 Inner Loop Count Start Value */
-#define pREG_DMA18_XMOD ((volatile int32_t *)REG_DMA18_XMOD) /* DMA18 Inner Loop Address Increment */
-#define pREG_DMA18_YCNT ((volatile uint32_t *)REG_DMA18_YCNT) /* DMA18 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA18_YMOD ((volatile int32_t *)REG_DMA18_YMOD) /* DMA18 Outer Loop Address Increment (2D only) */
-#define pREG_DMA18_DSCPTR_CUR ((void * volatile *)REG_DMA18_DSCPTR_CUR) /* DMA18 Current Descriptor Pointer */
-#define pREG_DMA18_DSCPTR_PRV ((void * volatile *)REG_DMA18_DSCPTR_PRV) /* DMA18 Previous Initial Descriptor Pointer */
-#define pREG_DMA18_ADDR_CUR ((void * volatile *)REG_DMA18_ADDR_CUR) /* DMA18 Current Address */
-#define pREG_DMA18_STAT ((volatile uint32_t *)REG_DMA18_STAT) /* DMA18 Status Register */
-#define pREG_DMA18_XCNT_CUR ((volatile uint32_t *)REG_DMA18_XCNT_CUR) /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA18_YCNT_CUR ((volatile uint32_t *)REG_DMA18_YCNT_CUR) /* DMA18 Current Row Count (2D only) */
-#define pREG_DMA18_BWLCNT ((volatile uint32_t *)REG_DMA18_BWLCNT) /* DMA18 Bandwidth Limit Count */
-#define pREG_DMA18_BWLCNT_CUR ((volatile uint32_t *)REG_DMA18_BWLCNT_CUR) /* DMA18 Bandwidth Limit Count Current */
-#define pREG_DMA18_BWMCNT ((volatile uint32_t *)REG_DMA18_BWMCNT) /* DMA18 Bandwidth Monitor Count */
-#define pREG_DMA18_BWMCNT_CUR ((volatile uint32_t *)REG_DMA18_BWMCNT_CUR) /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA19
- ========================================================================= */
-#define pREG_DMA19_DSCPTR_NXT ((void * volatile *)REG_DMA19_DSCPTR_NXT) /* DMA19 Pointer to Next Initial Descriptor */
-#define pREG_DMA19_ADDRSTART ((void * volatile *)REG_DMA19_ADDRSTART) /* DMA19 Start Address of Current Buffer */
-#define pREG_DMA19_CFG ((volatile uint32_t *)REG_DMA19_CFG) /* DMA19 Configuration Register */
-#define pREG_DMA19_XCNT ((volatile uint32_t *)REG_DMA19_XCNT) /* DMA19 Inner Loop Count Start Value */
-#define pREG_DMA19_XMOD ((volatile int32_t *)REG_DMA19_XMOD) /* DMA19 Inner Loop Address Increment */
-#define pREG_DMA19_YCNT ((volatile uint32_t *)REG_DMA19_YCNT) /* DMA19 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA19_YMOD ((volatile int32_t *)REG_DMA19_YMOD) /* DMA19 Outer Loop Address Increment (2D only) */
-#define pREG_DMA19_DSCPTR_CUR ((void * volatile *)REG_DMA19_DSCPTR_CUR) /* DMA19 Current Descriptor Pointer */
-#define pREG_DMA19_DSCPTR_PRV ((void * volatile *)REG_DMA19_DSCPTR_PRV) /* DMA19 Previous Initial Descriptor Pointer */
-#define pREG_DMA19_ADDR_CUR ((void * volatile *)REG_DMA19_ADDR_CUR) /* DMA19 Current Address */
-#define pREG_DMA19_STAT ((volatile uint32_t *)REG_DMA19_STAT) /* DMA19 Status Register */
-#define pREG_DMA19_XCNT_CUR ((volatile uint32_t *)REG_DMA19_XCNT_CUR) /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA19_YCNT_CUR ((volatile uint32_t *)REG_DMA19_YCNT_CUR) /* DMA19 Current Row Count (2D only) */
-#define pREG_DMA19_BWLCNT ((volatile uint32_t *)REG_DMA19_BWLCNT) /* DMA19 Bandwidth Limit Count */
-#define pREG_DMA19_BWLCNT_CUR ((volatile uint32_t *)REG_DMA19_BWLCNT_CUR) /* DMA19 Bandwidth Limit Count Current */
-#define pREG_DMA19_BWMCNT ((volatile uint32_t *)REG_DMA19_BWMCNT) /* DMA19 Bandwidth Monitor Count */
-#define pREG_DMA19_BWMCNT_CUR ((volatile uint32_t *)REG_DMA19_BWMCNT_CUR) /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA20
- ========================================================================= */
-#define pREG_DMA20_DSCPTR_NXT ((void * volatile *)REG_DMA20_DSCPTR_NXT) /* DMA20 Pointer to Next Initial Descriptor */
-#define pREG_DMA20_ADDRSTART ((void * volatile *)REG_DMA20_ADDRSTART) /* DMA20 Start Address of Current Buffer */
-#define pREG_DMA20_CFG ((volatile uint32_t *)REG_DMA20_CFG) /* DMA20 Configuration Register */
-#define pREG_DMA20_XCNT ((volatile uint32_t *)REG_DMA20_XCNT) /* DMA20 Inner Loop Count Start Value */
-#define pREG_DMA20_XMOD ((volatile int32_t *)REG_DMA20_XMOD) /* DMA20 Inner Loop Address Increment */
-#define pREG_DMA20_YCNT ((volatile uint32_t *)REG_DMA20_YCNT) /* DMA20 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA20_YMOD ((volatile int32_t *)REG_DMA20_YMOD) /* DMA20 Outer Loop Address Increment (2D only) */
-#define pREG_DMA20_DSCPTR_CUR ((void * volatile *)REG_DMA20_DSCPTR_CUR) /* DMA20 Current Descriptor Pointer */
-#define pREG_DMA20_DSCPTR_PRV ((void * volatile *)REG_DMA20_DSCPTR_PRV) /* DMA20 Previous Initial Descriptor Pointer */
-#define pREG_DMA20_ADDR_CUR ((void * volatile *)REG_DMA20_ADDR_CUR) /* DMA20 Current Address */
-#define pREG_DMA20_STAT ((volatile uint32_t *)REG_DMA20_STAT) /* DMA20 Status Register */
-#define pREG_DMA20_XCNT_CUR ((volatile uint32_t *)REG_DMA20_XCNT_CUR) /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA20_YCNT_CUR ((volatile uint32_t *)REG_DMA20_YCNT_CUR) /* DMA20 Current Row Count (2D only) */
-#define pREG_DMA20_BWLCNT ((volatile uint32_t *)REG_DMA20_BWLCNT) /* DMA20 Bandwidth Limit Count */
-#define pREG_DMA20_BWLCNT_CUR ((volatile uint32_t *)REG_DMA20_BWLCNT_CUR) /* DMA20 Bandwidth Limit Count Current */
-#define pREG_DMA20_BWMCNT ((volatile uint32_t *)REG_DMA20_BWMCNT) /* DMA20 Bandwidth Monitor Count */
-#define pREG_DMA20_BWMCNT_CUR ((volatile uint32_t *)REG_DMA20_BWMCNT_CUR) /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA21
- ========================================================================= */
-#define pREG_DMA21_DSCPTR_NXT ((void * volatile *)REG_DMA21_DSCPTR_NXT) /* DMA21 Pointer to Next Initial Descriptor */
-#define pREG_DMA21_ADDRSTART ((void * volatile *)REG_DMA21_ADDRSTART) /* DMA21 Start Address of Current Buffer */
-#define pREG_DMA21_CFG ((volatile uint32_t *)REG_DMA21_CFG) /* DMA21 Configuration Register */
-#define pREG_DMA21_XCNT ((volatile uint32_t *)REG_DMA21_XCNT) /* DMA21 Inner Loop Count Start Value */
-#define pREG_DMA21_XMOD ((volatile int32_t *)REG_DMA21_XMOD) /* DMA21 Inner Loop Address Increment */
-#define pREG_DMA21_YCNT ((volatile uint32_t *)REG_DMA21_YCNT) /* DMA21 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA21_YMOD ((volatile int32_t *)REG_DMA21_YMOD) /* DMA21 Outer Loop Address Increment (2D only) */
-#define pREG_DMA21_DSCPTR_CUR ((void * volatile *)REG_DMA21_DSCPTR_CUR) /* DMA21 Current Descriptor Pointer */
-#define pREG_DMA21_DSCPTR_PRV ((void * volatile *)REG_DMA21_DSCPTR_PRV) /* DMA21 Previous Initial Descriptor Pointer */
-#define pREG_DMA21_ADDR_CUR ((void * volatile *)REG_DMA21_ADDR_CUR) /* DMA21 Current Address */
-#define pREG_DMA21_STAT ((volatile uint32_t *)REG_DMA21_STAT) /* DMA21 Status Register */
-#define pREG_DMA21_XCNT_CUR ((volatile uint32_t *)REG_DMA21_XCNT_CUR) /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA21_YCNT_CUR ((volatile uint32_t *)REG_DMA21_YCNT_CUR) /* DMA21 Current Row Count (2D only) */
-#define pREG_DMA21_BWLCNT ((volatile uint32_t *)REG_DMA21_BWLCNT) /* DMA21 Bandwidth Limit Count */
-#define pREG_DMA21_BWLCNT_CUR ((volatile uint32_t *)REG_DMA21_BWLCNT_CUR) /* DMA21 Bandwidth Limit Count Current */
-#define pREG_DMA21_BWMCNT ((volatile uint32_t *)REG_DMA21_BWMCNT) /* DMA21 Bandwidth Monitor Count */
-#define pREG_DMA21_BWMCNT_CUR ((volatile uint32_t *)REG_DMA21_BWMCNT_CUR) /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA22
- ========================================================================= */
-#define pREG_DMA22_DSCPTR_NXT ((void * volatile *)REG_DMA22_DSCPTR_NXT) /* DMA22 Pointer to Next Initial Descriptor */
-#define pREG_DMA22_ADDRSTART ((void * volatile *)REG_DMA22_ADDRSTART) /* DMA22 Start Address of Current Buffer */
-#define pREG_DMA22_CFG ((volatile uint32_t *)REG_DMA22_CFG) /* DMA22 Configuration Register */
-#define pREG_DMA22_XCNT ((volatile uint32_t *)REG_DMA22_XCNT) /* DMA22 Inner Loop Count Start Value */
-#define pREG_DMA22_XMOD ((volatile int32_t *)REG_DMA22_XMOD) /* DMA22 Inner Loop Address Increment */
-#define pREG_DMA22_YCNT ((volatile uint32_t *)REG_DMA22_YCNT) /* DMA22 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA22_YMOD ((volatile int32_t *)REG_DMA22_YMOD) /* DMA22 Outer Loop Address Increment (2D only) */
-#define pREG_DMA22_DSCPTR_CUR ((void * volatile *)REG_DMA22_DSCPTR_CUR) /* DMA22 Current Descriptor Pointer */
-#define pREG_DMA22_DSCPTR_PRV ((void * volatile *)REG_DMA22_DSCPTR_PRV) /* DMA22 Previous Initial Descriptor Pointer */
-#define pREG_DMA22_ADDR_CUR ((void * volatile *)REG_DMA22_ADDR_CUR) /* DMA22 Current Address */
-#define pREG_DMA22_STAT ((volatile uint32_t *)REG_DMA22_STAT) /* DMA22 Status Register */
-#define pREG_DMA22_XCNT_CUR ((volatile uint32_t *)REG_DMA22_XCNT_CUR) /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA22_YCNT_CUR ((volatile uint32_t *)REG_DMA22_YCNT_CUR) /* DMA22 Current Row Count (2D only) */
-#define pREG_DMA22_BWLCNT ((volatile uint32_t *)REG_DMA22_BWLCNT) /* DMA22 Bandwidth Limit Count */
-#define pREG_DMA22_BWLCNT_CUR ((volatile uint32_t *)REG_DMA22_BWLCNT_CUR) /* DMA22 Bandwidth Limit Count Current */
-#define pREG_DMA22_BWMCNT ((volatile uint32_t *)REG_DMA22_BWMCNT) /* DMA22 Bandwidth Monitor Count */
-#define pREG_DMA22_BWMCNT_CUR ((volatile uint32_t *)REG_DMA22_BWMCNT_CUR) /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA23
- ========================================================================= */
-#define pREG_DMA23_DSCPTR_NXT ((void * volatile *)REG_DMA23_DSCPTR_NXT) /* DMA23 Pointer to Next Initial Descriptor */
-#define pREG_DMA23_ADDRSTART ((void * volatile *)REG_DMA23_ADDRSTART) /* DMA23 Start Address of Current Buffer */
-#define pREG_DMA23_CFG ((volatile uint32_t *)REG_DMA23_CFG) /* DMA23 Configuration Register */
-#define pREG_DMA23_XCNT ((volatile uint32_t *)REG_DMA23_XCNT) /* DMA23 Inner Loop Count Start Value */
-#define pREG_DMA23_XMOD ((volatile int32_t *)REG_DMA23_XMOD) /* DMA23 Inner Loop Address Increment */
-#define pREG_DMA23_YCNT ((volatile uint32_t *)REG_DMA23_YCNT) /* DMA23 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA23_YMOD ((volatile int32_t *)REG_DMA23_YMOD) /* DMA23 Outer Loop Address Increment (2D only) */
-#define pREG_DMA23_DSCPTR_CUR ((void * volatile *)REG_DMA23_DSCPTR_CUR) /* DMA23 Current Descriptor Pointer */
-#define pREG_DMA23_DSCPTR_PRV ((void * volatile *)REG_DMA23_DSCPTR_PRV) /* DMA23 Previous Initial Descriptor Pointer */
-#define pREG_DMA23_ADDR_CUR ((void * volatile *)REG_DMA23_ADDR_CUR) /* DMA23 Current Address */
-#define pREG_DMA23_STAT ((volatile uint32_t *)REG_DMA23_STAT) /* DMA23 Status Register */
-#define pREG_DMA23_XCNT_CUR ((volatile uint32_t *)REG_DMA23_XCNT_CUR) /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA23_YCNT_CUR ((volatile uint32_t *)REG_DMA23_YCNT_CUR) /* DMA23 Current Row Count (2D only) */
-#define pREG_DMA23_BWLCNT ((volatile uint32_t *)REG_DMA23_BWLCNT) /* DMA23 Bandwidth Limit Count */
-#define pREG_DMA23_BWLCNT_CUR ((volatile uint32_t *)REG_DMA23_BWLCNT_CUR) /* DMA23 Bandwidth Limit Count Current */
-#define pREG_DMA23_BWMCNT ((volatile uint32_t *)REG_DMA23_BWMCNT) /* DMA23 Bandwidth Monitor Count */
-#define pREG_DMA23_BWMCNT_CUR ((volatile uint32_t *)REG_DMA23_BWMCNT_CUR) /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA24
- ========================================================================= */
-#define pREG_DMA24_DSCPTR_NXT ((void * volatile *)REG_DMA24_DSCPTR_NXT) /* DMA24 Pointer to Next Initial Descriptor */
-#define pREG_DMA24_ADDRSTART ((void * volatile *)REG_DMA24_ADDRSTART) /* DMA24 Start Address of Current Buffer */
-#define pREG_DMA24_CFG ((volatile uint32_t *)REG_DMA24_CFG) /* DMA24 Configuration Register */
-#define pREG_DMA24_XCNT ((volatile uint32_t *)REG_DMA24_XCNT) /* DMA24 Inner Loop Count Start Value */
-#define pREG_DMA24_XMOD ((volatile int32_t *)REG_DMA24_XMOD) /* DMA24 Inner Loop Address Increment */
-#define pREG_DMA24_YCNT ((volatile uint32_t *)REG_DMA24_YCNT) /* DMA24 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA24_YMOD ((volatile int32_t *)REG_DMA24_YMOD) /* DMA24 Outer Loop Address Increment (2D only) */
-#define pREG_DMA24_DSCPTR_CUR ((void * volatile *)REG_DMA24_DSCPTR_CUR) /* DMA24 Current Descriptor Pointer */
-#define pREG_DMA24_DSCPTR_PRV ((void * volatile *)REG_DMA24_DSCPTR_PRV) /* DMA24 Previous Initial Descriptor Pointer */
-#define pREG_DMA24_ADDR_CUR ((void * volatile *)REG_DMA24_ADDR_CUR) /* DMA24 Current Address */
-#define pREG_DMA24_STAT ((volatile uint32_t *)REG_DMA24_STAT) /* DMA24 Status Register */
-#define pREG_DMA24_XCNT_CUR ((volatile uint32_t *)REG_DMA24_XCNT_CUR) /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA24_YCNT_CUR ((volatile uint32_t *)REG_DMA24_YCNT_CUR) /* DMA24 Current Row Count (2D only) */
-#define pREG_DMA24_BWLCNT ((volatile uint32_t *)REG_DMA24_BWLCNT) /* DMA24 Bandwidth Limit Count */
-#define pREG_DMA24_BWLCNT_CUR ((volatile uint32_t *)REG_DMA24_BWLCNT_CUR) /* DMA24 Bandwidth Limit Count Current */
-#define pREG_DMA24_BWMCNT ((volatile uint32_t *)REG_DMA24_BWMCNT) /* DMA24 Bandwidth Monitor Count */
-#define pREG_DMA24_BWMCNT_CUR ((volatile uint32_t *)REG_DMA24_BWMCNT_CUR) /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA25
- ========================================================================= */
-#define pREG_DMA25_DSCPTR_NXT ((void * volatile *)REG_DMA25_DSCPTR_NXT) /* DMA25 Pointer to Next Initial Descriptor */
-#define pREG_DMA25_ADDRSTART ((void * volatile *)REG_DMA25_ADDRSTART) /* DMA25 Start Address of Current Buffer */
-#define pREG_DMA25_CFG ((volatile uint32_t *)REG_DMA25_CFG) /* DMA25 Configuration Register */
-#define pREG_DMA25_XCNT ((volatile uint32_t *)REG_DMA25_XCNT) /* DMA25 Inner Loop Count Start Value */
-#define pREG_DMA25_XMOD ((volatile int32_t *)REG_DMA25_XMOD) /* DMA25 Inner Loop Address Increment */
-#define pREG_DMA25_YCNT ((volatile uint32_t *)REG_DMA25_YCNT) /* DMA25 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA25_YMOD ((volatile int32_t *)REG_DMA25_YMOD) /* DMA25 Outer Loop Address Increment (2D only) */
-#define pREG_DMA25_DSCPTR_CUR ((void * volatile *)REG_DMA25_DSCPTR_CUR) /* DMA25 Current Descriptor Pointer */
-#define pREG_DMA25_DSCPTR_PRV ((void * volatile *)REG_DMA25_DSCPTR_PRV) /* DMA25 Previous Initial Descriptor Pointer */
-#define pREG_DMA25_ADDR_CUR ((void * volatile *)REG_DMA25_ADDR_CUR) /* DMA25 Current Address */
-#define pREG_DMA25_STAT ((volatile uint32_t *)REG_DMA25_STAT) /* DMA25 Status Register */
-#define pREG_DMA25_XCNT_CUR ((volatile uint32_t *)REG_DMA25_XCNT_CUR) /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA25_YCNT_CUR ((volatile uint32_t *)REG_DMA25_YCNT_CUR) /* DMA25 Current Row Count (2D only) */
-#define pREG_DMA25_BWLCNT ((volatile uint32_t *)REG_DMA25_BWLCNT) /* DMA25 Bandwidth Limit Count */
-#define pREG_DMA25_BWLCNT_CUR ((volatile uint32_t *)REG_DMA25_BWLCNT_CUR) /* DMA25 Bandwidth Limit Count Current */
-#define pREG_DMA25_BWMCNT ((volatile uint32_t *)REG_DMA25_BWMCNT) /* DMA25 Bandwidth Monitor Count */
-#define pREG_DMA25_BWMCNT_CUR ((volatile uint32_t *)REG_DMA25_BWMCNT_CUR) /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA26
- ========================================================================= */
-#define pREG_DMA26_DSCPTR_NXT ((void * volatile *)REG_DMA26_DSCPTR_NXT) /* DMA26 Pointer to Next Initial Descriptor */
-#define pREG_DMA26_ADDRSTART ((void * volatile *)REG_DMA26_ADDRSTART) /* DMA26 Start Address of Current Buffer */
-#define pREG_DMA26_CFG ((volatile uint32_t *)REG_DMA26_CFG) /* DMA26 Configuration Register */
-#define pREG_DMA26_XCNT ((volatile uint32_t *)REG_DMA26_XCNT) /* DMA26 Inner Loop Count Start Value */
-#define pREG_DMA26_XMOD ((volatile int32_t *)REG_DMA26_XMOD) /* DMA26 Inner Loop Address Increment */
-#define pREG_DMA26_YCNT ((volatile uint32_t *)REG_DMA26_YCNT) /* DMA26 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA26_YMOD ((volatile int32_t *)REG_DMA26_YMOD) /* DMA26 Outer Loop Address Increment (2D only) */
-#define pREG_DMA26_DSCPTR_CUR ((void * volatile *)REG_DMA26_DSCPTR_CUR) /* DMA26 Current Descriptor Pointer */
-#define pREG_DMA26_DSCPTR_PRV ((void * volatile *)REG_DMA26_DSCPTR_PRV) /* DMA26 Previous Initial Descriptor Pointer */
-#define pREG_DMA26_ADDR_CUR ((void * volatile *)REG_DMA26_ADDR_CUR) /* DMA26 Current Address */
-#define pREG_DMA26_STAT ((volatile uint32_t *)REG_DMA26_STAT) /* DMA26 Status Register */
-#define pREG_DMA26_XCNT_CUR ((volatile uint32_t *)REG_DMA26_XCNT_CUR) /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA26_YCNT_CUR ((volatile uint32_t *)REG_DMA26_YCNT_CUR) /* DMA26 Current Row Count (2D only) */
-#define pREG_DMA26_BWLCNT ((volatile uint32_t *)REG_DMA26_BWLCNT) /* DMA26 Bandwidth Limit Count */
-#define pREG_DMA26_BWLCNT_CUR ((volatile uint32_t *)REG_DMA26_BWLCNT_CUR) /* DMA26 Bandwidth Limit Count Current */
-#define pREG_DMA26_BWMCNT ((volatile uint32_t *)REG_DMA26_BWMCNT) /* DMA26 Bandwidth Monitor Count */
-#define pREG_DMA26_BWMCNT_CUR ((volatile uint32_t *)REG_DMA26_BWMCNT_CUR) /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA27
- ========================================================================= */
-#define pREG_DMA27_DSCPTR_NXT ((void * volatile *)REG_DMA27_DSCPTR_NXT) /* DMA27 Pointer to Next Initial Descriptor */
-#define pREG_DMA27_ADDRSTART ((void * volatile *)REG_DMA27_ADDRSTART) /* DMA27 Start Address of Current Buffer */
-#define pREG_DMA27_CFG ((volatile uint32_t *)REG_DMA27_CFG) /* DMA27 Configuration Register */
-#define pREG_DMA27_XCNT ((volatile uint32_t *)REG_DMA27_XCNT) /* DMA27 Inner Loop Count Start Value */
-#define pREG_DMA27_XMOD ((volatile int32_t *)REG_DMA27_XMOD) /* DMA27 Inner Loop Address Increment */
-#define pREG_DMA27_YCNT ((volatile uint32_t *)REG_DMA27_YCNT) /* DMA27 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA27_YMOD ((volatile int32_t *)REG_DMA27_YMOD) /* DMA27 Outer Loop Address Increment (2D only) */
-#define pREG_DMA27_DSCPTR_CUR ((void * volatile *)REG_DMA27_DSCPTR_CUR) /* DMA27 Current Descriptor Pointer */
-#define pREG_DMA27_DSCPTR_PRV ((void * volatile *)REG_DMA27_DSCPTR_PRV) /* DMA27 Previous Initial Descriptor Pointer */
-#define pREG_DMA27_ADDR_CUR ((void * volatile *)REG_DMA27_ADDR_CUR) /* DMA27 Current Address */
-#define pREG_DMA27_STAT ((volatile uint32_t *)REG_DMA27_STAT) /* DMA27 Status Register */
-#define pREG_DMA27_XCNT_CUR ((volatile uint32_t *)REG_DMA27_XCNT_CUR) /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA27_YCNT_CUR ((volatile uint32_t *)REG_DMA27_YCNT_CUR) /* DMA27 Current Row Count (2D only) */
-#define pREG_DMA27_BWLCNT ((volatile uint32_t *)REG_DMA27_BWLCNT) /* DMA27 Bandwidth Limit Count */
-#define pREG_DMA27_BWLCNT_CUR ((volatile uint32_t *)REG_DMA27_BWLCNT_CUR) /* DMA27 Bandwidth Limit Count Current */
-#define pREG_DMA27_BWMCNT ((volatile uint32_t *)REG_DMA27_BWMCNT) /* DMA27 Bandwidth Monitor Count */
-#define pREG_DMA27_BWMCNT_CUR ((volatile uint32_t *)REG_DMA27_BWMCNT_CUR) /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA28
- ========================================================================= */
-#define pREG_DMA28_DSCPTR_NXT ((void * volatile *)REG_DMA28_DSCPTR_NXT) /* DMA28 Pointer to Next Initial Descriptor */
-#define pREG_DMA28_ADDRSTART ((void * volatile *)REG_DMA28_ADDRSTART) /* DMA28 Start Address of Current Buffer */
-#define pREG_DMA28_CFG ((volatile uint32_t *)REG_DMA28_CFG) /* DMA28 Configuration Register */
-#define pREG_DMA28_XCNT ((volatile uint32_t *)REG_DMA28_XCNT) /* DMA28 Inner Loop Count Start Value */
-#define pREG_DMA28_XMOD ((volatile int32_t *)REG_DMA28_XMOD) /* DMA28 Inner Loop Address Increment */
-#define pREG_DMA28_YCNT ((volatile uint32_t *)REG_DMA28_YCNT) /* DMA28 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA28_YMOD ((volatile int32_t *)REG_DMA28_YMOD) /* DMA28 Outer Loop Address Increment (2D only) */
-#define pREG_DMA28_DSCPTR_CUR ((void * volatile *)REG_DMA28_DSCPTR_CUR) /* DMA28 Current Descriptor Pointer */
-#define pREG_DMA28_DSCPTR_PRV ((void * volatile *)REG_DMA28_DSCPTR_PRV) /* DMA28 Previous Initial Descriptor Pointer */
-#define pREG_DMA28_ADDR_CUR ((void * volatile *)REG_DMA28_ADDR_CUR) /* DMA28 Current Address */
-#define pREG_DMA28_STAT ((volatile uint32_t *)REG_DMA28_STAT) /* DMA28 Status Register */
-#define pREG_DMA28_XCNT_CUR ((volatile uint32_t *)REG_DMA28_XCNT_CUR) /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA28_YCNT_CUR ((volatile uint32_t *)REG_DMA28_YCNT_CUR) /* DMA28 Current Row Count (2D only) */
-#define pREG_DMA28_BWLCNT ((volatile uint32_t *)REG_DMA28_BWLCNT) /* DMA28 Bandwidth Limit Count */
-#define pREG_DMA28_BWLCNT_CUR ((volatile uint32_t *)REG_DMA28_BWLCNT_CUR) /* DMA28 Bandwidth Limit Count Current */
-#define pREG_DMA28_BWMCNT ((volatile uint32_t *)REG_DMA28_BWMCNT) /* DMA28 Bandwidth Monitor Count */
-#define pREG_DMA28_BWMCNT_CUR ((volatile uint32_t *)REG_DMA28_BWMCNT_CUR) /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA29
- ========================================================================= */
-#define pREG_DMA29_DSCPTR_NXT ((void * volatile *)REG_DMA29_DSCPTR_NXT) /* DMA29 Pointer to Next Initial Descriptor */
-#define pREG_DMA29_ADDRSTART ((void * volatile *)REG_DMA29_ADDRSTART) /* DMA29 Start Address of Current Buffer */
-#define pREG_DMA29_CFG ((volatile uint32_t *)REG_DMA29_CFG) /* DMA29 Configuration Register */
-#define pREG_DMA29_XCNT ((volatile uint32_t *)REG_DMA29_XCNT) /* DMA29 Inner Loop Count Start Value */
-#define pREG_DMA29_XMOD ((volatile int32_t *)REG_DMA29_XMOD) /* DMA29 Inner Loop Address Increment */
-#define pREG_DMA29_YCNT ((volatile uint32_t *)REG_DMA29_YCNT) /* DMA29 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA29_YMOD ((volatile int32_t *)REG_DMA29_YMOD) /* DMA29 Outer Loop Address Increment (2D only) */
-#define pREG_DMA29_DSCPTR_CUR ((void * volatile *)REG_DMA29_DSCPTR_CUR) /* DMA29 Current Descriptor Pointer */
-#define pREG_DMA29_DSCPTR_PRV ((void * volatile *)REG_DMA29_DSCPTR_PRV) /* DMA29 Previous Initial Descriptor Pointer */
-#define pREG_DMA29_ADDR_CUR ((void * volatile *)REG_DMA29_ADDR_CUR) /* DMA29 Current Address */
-#define pREG_DMA29_STAT ((volatile uint32_t *)REG_DMA29_STAT) /* DMA29 Status Register */
-#define pREG_DMA29_XCNT_CUR ((volatile uint32_t *)REG_DMA29_XCNT_CUR) /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA29_YCNT_CUR ((volatile uint32_t *)REG_DMA29_YCNT_CUR) /* DMA29 Current Row Count (2D only) */
-#define pREG_DMA29_BWLCNT ((volatile uint32_t *)REG_DMA29_BWLCNT) /* DMA29 Bandwidth Limit Count */
-#define pREG_DMA29_BWLCNT_CUR ((volatile uint32_t *)REG_DMA29_BWLCNT_CUR) /* DMA29 Bandwidth Limit Count Current */
-#define pREG_DMA29_BWMCNT ((volatile uint32_t *)REG_DMA29_BWMCNT) /* DMA29 Bandwidth Monitor Count */
-#define pREG_DMA29_BWMCNT_CUR ((volatile uint32_t *)REG_DMA29_BWMCNT_CUR) /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA30
- ========================================================================= */
-#define pREG_DMA30_DSCPTR_NXT ((void * volatile *)REG_DMA30_DSCPTR_NXT) /* DMA30 Pointer to Next Initial Descriptor */
-#define pREG_DMA30_ADDRSTART ((void * volatile *)REG_DMA30_ADDRSTART) /* DMA30 Start Address of Current Buffer */
-#define pREG_DMA30_CFG ((volatile uint32_t *)REG_DMA30_CFG) /* DMA30 Configuration Register */
-#define pREG_DMA30_XCNT ((volatile uint32_t *)REG_DMA30_XCNT) /* DMA30 Inner Loop Count Start Value */
-#define pREG_DMA30_XMOD ((volatile int32_t *)REG_DMA30_XMOD) /* DMA30 Inner Loop Address Increment */
-#define pREG_DMA30_YCNT ((volatile uint32_t *)REG_DMA30_YCNT) /* DMA30 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA30_YMOD ((volatile int32_t *)REG_DMA30_YMOD) /* DMA30 Outer Loop Address Increment (2D only) */
-#define pREG_DMA30_DSCPTR_CUR ((void * volatile *)REG_DMA30_DSCPTR_CUR) /* DMA30 Current Descriptor Pointer */
-#define pREG_DMA30_DSCPTR_PRV ((void * volatile *)REG_DMA30_DSCPTR_PRV) /* DMA30 Previous Initial Descriptor Pointer */
-#define pREG_DMA30_ADDR_CUR ((void * volatile *)REG_DMA30_ADDR_CUR) /* DMA30 Current Address */
-#define pREG_DMA30_STAT ((volatile uint32_t *)REG_DMA30_STAT) /* DMA30 Status Register */
-#define pREG_DMA30_XCNT_CUR ((volatile uint32_t *)REG_DMA30_XCNT_CUR) /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA30_YCNT_CUR ((volatile uint32_t *)REG_DMA30_YCNT_CUR) /* DMA30 Current Row Count (2D only) */
-#define pREG_DMA30_BWLCNT ((volatile uint32_t *)REG_DMA30_BWLCNT) /* DMA30 Bandwidth Limit Count */
-#define pREG_DMA30_BWLCNT_CUR ((volatile uint32_t *)REG_DMA30_BWLCNT_CUR) /* DMA30 Bandwidth Limit Count Current */
-#define pREG_DMA30_BWMCNT ((volatile uint32_t *)REG_DMA30_BWMCNT) /* DMA30 Bandwidth Monitor Count */
-#define pREG_DMA30_BWMCNT_CUR ((volatile uint32_t *)REG_DMA30_BWMCNT_CUR) /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA31
- ========================================================================= */
-#define pREG_DMA31_DSCPTR_NXT ((void * volatile *)REG_DMA31_DSCPTR_NXT) /* DMA31 Pointer to Next Initial Descriptor */
-#define pREG_DMA31_ADDRSTART ((void * volatile *)REG_DMA31_ADDRSTART) /* DMA31 Start Address of Current Buffer */
-#define pREG_DMA31_CFG ((volatile uint32_t *)REG_DMA31_CFG) /* DMA31 Configuration Register */
-#define pREG_DMA31_XCNT ((volatile uint32_t *)REG_DMA31_XCNT) /* DMA31 Inner Loop Count Start Value */
-#define pREG_DMA31_XMOD ((volatile int32_t *)REG_DMA31_XMOD) /* DMA31 Inner Loop Address Increment */
-#define pREG_DMA31_YCNT ((volatile uint32_t *)REG_DMA31_YCNT) /* DMA31 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA31_YMOD ((volatile int32_t *)REG_DMA31_YMOD) /* DMA31 Outer Loop Address Increment (2D only) */
-#define pREG_DMA31_DSCPTR_CUR ((void * volatile *)REG_DMA31_DSCPTR_CUR) /* DMA31 Current Descriptor Pointer */
-#define pREG_DMA31_DSCPTR_PRV ((void * volatile *)REG_DMA31_DSCPTR_PRV) /* DMA31 Previous Initial Descriptor Pointer */
-#define pREG_DMA31_ADDR_CUR ((void * volatile *)REG_DMA31_ADDR_CUR) /* DMA31 Current Address */
-#define pREG_DMA31_STAT ((volatile uint32_t *)REG_DMA31_STAT) /* DMA31 Status Register */
-#define pREG_DMA31_XCNT_CUR ((volatile uint32_t *)REG_DMA31_XCNT_CUR) /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA31_YCNT_CUR ((volatile uint32_t *)REG_DMA31_YCNT_CUR) /* DMA31 Current Row Count (2D only) */
-#define pREG_DMA31_BWLCNT ((volatile uint32_t *)REG_DMA31_BWLCNT) /* DMA31 Bandwidth Limit Count */
-#define pREG_DMA31_BWLCNT_CUR ((volatile uint32_t *)REG_DMA31_BWLCNT_CUR) /* DMA31 Bandwidth Limit Count Current */
-#define pREG_DMA31_BWMCNT ((volatile uint32_t *)REG_DMA31_BWMCNT) /* DMA31 Bandwidth Monitor Count */
-#define pREG_DMA31_BWMCNT_CUR ((volatile uint32_t *)REG_DMA31_BWMCNT_CUR) /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA32
- ========================================================================= */
-#define pREG_DMA32_DSCPTR_NXT ((void * volatile *)REG_DMA32_DSCPTR_NXT) /* DMA32 Pointer to Next Initial Descriptor */
-#define pREG_DMA32_ADDRSTART ((void * volatile *)REG_DMA32_ADDRSTART) /* DMA32 Start Address of Current Buffer */
-#define pREG_DMA32_CFG ((volatile uint32_t *)REG_DMA32_CFG) /* DMA32 Configuration Register */
-#define pREG_DMA32_XCNT ((volatile uint32_t *)REG_DMA32_XCNT) /* DMA32 Inner Loop Count Start Value */
-#define pREG_DMA32_XMOD ((volatile int32_t *)REG_DMA32_XMOD) /* DMA32 Inner Loop Address Increment */
-#define pREG_DMA32_YCNT ((volatile uint32_t *)REG_DMA32_YCNT) /* DMA32 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA32_YMOD ((volatile int32_t *)REG_DMA32_YMOD) /* DMA32 Outer Loop Address Increment (2D only) */
-#define pREG_DMA32_DSCPTR_CUR ((void * volatile *)REG_DMA32_DSCPTR_CUR) /* DMA32 Current Descriptor Pointer */
-#define pREG_DMA32_DSCPTR_PRV ((void * volatile *)REG_DMA32_DSCPTR_PRV) /* DMA32 Previous Initial Descriptor Pointer */
-#define pREG_DMA32_ADDR_CUR ((void * volatile *)REG_DMA32_ADDR_CUR) /* DMA32 Current Address */
-#define pREG_DMA32_STAT ((volatile uint32_t *)REG_DMA32_STAT) /* DMA32 Status Register */
-#define pREG_DMA32_XCNT_CUR ((volatile uint32_t *)REG_DMA32_XCNT_CUR) /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA32_YCNT_CUR ((volatile uint32_t *)REG_DMA32_YCNT_CUR) /* DMA32 Current Row Count (2D only) */
-#define pREG_DMA32_BWLCNT ((volatile uint32_t *)REG_DMA32_BWLCNT) /* DMA32 Bandwidth Limit Count */
-#define pREG_DMA32_BWLCNT_CUR ((volatile uint32_t *)REG_DMA32_BWLCNT_CUR) /* DMA32 Bandwidth Limit Count Current */
-#define pREG_DMA32_BWMCNT ((volatile uint32_t *)REG_DMA32_BWMCNT) /* DMA32 Bandwidth Monitor Count */
-#define pREG_DMA32_BWMCNT_CUR ((volatile uint32_t *)REG_DMA32_BWMCNT_CUR) /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA33
- ========================================================================= */
-#define pREG_DMA33_DSCPTR_NXT ((void * volatile *)REG_DMA33_DSCPTR_NXT) /* DMA33 Pointer to Next Initial Descriptor */
-#define pREG_DMA33_ADDRSTART ((void * volatile *)REG_DMA33_ADDRSTART) /* DMA33 Start Address of Current Buffer */
-#define pREG_DMA33_CFG ((volatile uint32_t *)REG_DMA33_CFG) /* DMA33 Configuration Register */
-#define pREG_DMA33_XCNT ((volatile uint32_t *)REG_DMA33_XCNT) /* DMA33 Inner Loop Count Start Value */
-#define pREG_DMA33_XMOD ((volatile int32_t *)REG_DMA33_XMOD) /* DMA33 Inner Loop Address Increment */
-#define pREG_DMA33_YCNT ((volatile uint32_t *)REG_DMA33_YCNT) /* DMA33 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA33_YMOD ((volatile int32_t *)REG_DMA33_YMOD) /* DMA33 Outer Loop Address Increment (2D only) */
-#define pREG_DMA33_DSCPTR_CUR ((void * volatile *)REG_DMA33_DSCPTR_CUR) /* DMA33 Current Descriptor Pointer */
-#define pREG_DMA33_DSCPTR_PRV ((void * volatile *)REG_DMA33_DSCPTR_PRV) /* DMA33 Previous Initial Descriptor Pointer */
-#define pREG_DMA33_ADDR_CUR ((void * volatile *)REG_DMA33_ADDR_CUR) /* DMA33 Current Address */
-#define pREG_DMA33_STAT ((volatile uint32_t *)REG_DMA33_STAT) /* DMA33 Status Register */
-#define pREG_DMA33_XCNT_CUR ((volatile uint32_t *)REG_DMA33_XCNT_CUR) /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA33_YCNT_CUR ((volatile uint32_t *)REG_DMA33_YCNT_CUR) /* DMA33 Current Row Count (2D only) */
-#define pREG_DMA33_BWLCNT ((volatile uint32_t *)REG_DMA33_BWLCNT) /* DMA33 Bandwidth Limit Count */
-#define pREG_DMA33_BWLCNT_CUR ((volatile uint32_t *)REG_DMA33_BWLCNT_CUR) /* DMA33 Bandwidth Limit Count Current */
-#define pREG_DMA33_BWMCNT ((volatile uint32_t *)REG_DMA33_BWMCNT) /* DMA33 Bandwidth Monitor Count */
-#define pREG_DMA33_BWMCNT_CUR ((volatile uint32_t *)REG_DMA33_BWMCNT_CUR) /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA34
- ========================================================================= */
-#define pREG_DMA34_DSCPTR_NXT ((void * volatile *)REG_DMA34_DSCPTR_NXT) /* DMA34 Pointer to Next Initial Descriptor */
-#define pREG_DMA34_ADDRSTART ((void * volatile *)REG_DMA34_ADDRSTART) /* DMA34 Start Address of Current Buffer */
-#define pREG_DMA34_CFG ((volatile uint32_t *)REG_DMA34_CFG) /* DMA34 Configuration Register */
-#define pREG_DMA34_XCNT ((volatile uint32_t *)REG_DMA34_XCNT) /* DMA34 Inner Loop Count Start Value */
-#define pREG_DMA34_XMOD ((volatile int32_t *)REG_DMA34_XMOD) /* DMA34 Inner Loop Address Increment */
-#define pREG_DMA34_YCNT ((volatile uint32_t *)REG_DMA34_YCNT) /* DMA34 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA34_YMOD ((volatile int32_t *)REG_DMA34_YMOD) /* DMA34 Outer Loop Address Increment (2D only) */
-#define pREG_DMA34_DSCPTR_CUR ((void * volatile *)REG_DMA34_DSCPTR_CUR) /* DMA34 Current Descriptor Pointer */
-#define pREG_DMA34_DSCPTR_PRV ((void * volatile *)REG_DMA34_DSCPTR_PRV) /* DMA34 Previous Initial Descriptor Pointer */
-#define pREG_DMA34_ADDR_CUR ((void * volatile *)REG_DMA34_ADDR_CUR) /* DMA34 Current Address */
-#define pREG_DMA34_STAT ((volatile uint32_t *)REG_DMA34_STAT) /* DMA34 Status Register */
-#define pREG_DMA34_XCNT_CUR ((volatile uint32_t *)REG_DMA34_XCNT_CUR) /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA34_YCNT_CUR ((volatile uint32_t *)REG_DMA34_YCNT_CUR) /* DMA34 Current Row Count (2D only) */
-#define pREG_DMA34_BWLCNT ((volatile uint32_t *)REG_DMA34_BWLCNT) /* DMA34 Bandwidth Limit Count */
-#define pREG_DMA34_BWLCNT_CUR ((volatile uint32_t *)REG_DMA34_BWLCNT_CUR) /* DMA34 Bandwidth Limit Count Current */
-#define pREG_DMA34_BWMCNT ((volatile uint32_t *)REG_DMA34_BWMCNT) /* DMA34 Bandwidth Monitor Count */
-#define pREG_DMA34_BWMCNT_CUR ((volatile uint32_t *)REG_DMA34_BWMCNT_CUR) /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA35
- ========================================================================= */
-#define pREG_DMA35_DSCPTR_NXT ((void * volatile *)REG_DMA35_DSCPTR_NXT) /* DMA35 Pointer to Next Initial Descriptor */
-#define pREG_DMA35_ADDRSTART ((void * volatile *)REG_DMA35_ADDRSTART) /* DMA35 Start Address of Current Buffer */
-#define pREG_DMA35_CFG ((volatile uint32_t *)REG_DMA35_CFG) /* DMA35 Configuration Register */
-#define pREG_DMA35_XCNT ((volatile uint32_t *)REG_DMA35_XCNT) /* DMA35 Inner Loop Count Start Value */
-#define pREG_DMA35_XMOD ((volatile int32_t *)REG_DMA35_XMOD) /* DMA35 Inner Loop Address Increment */
-#define pREG_DMA35_YCNT ((volatile uint32_t *)REG_DMA35_YCNT) /* DMA35 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA35_YMOD ((volatile int32_t *)REG_DMA35_YMOD) /* DMA35 Outer Loop Address Increment (2D only) */
-#define pREG_DMA35_DSCPTR_CUR ((void * volatile *)REG_DMA35_DSCPTR_CUR) /* DMA35 Current Descriptor Pointer */
-#define pREG_DMA35_DSCPTR_PRV ((void * volatile *)REG_DMA35_DSCPTR_PRV) /* DMA35 Previous Initial Descriptor Pointer */
-#define pREG_DMA35_ADDR_CUR ((void * volatile *)REG_DMA35_ADDR_CUR) /* DMA35 Current Address */
-#define pREG_DMA35_STAT ((volatile uint32_t *)REG_DMA35_STAT) /* DMA35 Status Register */
-#define pREG_DMA35_XCNT_CUR ((volatile uint32_t *)REG_DMA35_XCNT_CUR) /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA35_YCNT_CUR ((volatile uint32_t *)REG_DMA35_YCNT_CUR) /* DMA35 Current Row Count (2D only) */
-#define pREG_DMA35_BWLCNT ((volatile uint32_t *)REG_DMA35_BWLCNT) /* DMA35 Bandwidth Limit Count */
-#define pREG_DMA35_BWLCNT_CUR ((volatile uint32_t *)REG_DMA35_BWLCNT_CUR) /* DMA35 Bandwidth Limit Count Current */
-#define pREG_DMA35_BWMCNT ((volatile uint32_t *)REG_DMA35_BWMCNT) /* DMA35 Bandwidth Monitor Count */
-#define pREG_DMA35_BWMCNT_CUR ((volatile uint32_t *)REG_DMA35_BWMCNT_CUR) /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA36
- ========================================================================= */
-#define pREG_DMA36_DSCPTR_NXT ((void * volatile *)REG_DMA36_DSCPTR_NXT) /* DMA36 Pointer to Next Initial Descriptor */
-#define pREG_DMA36_ADDRSTART ((void * volatile *)REG_DMA36_ADDRSTART) /* DMA36 Start Address of Current Buffer */
-#define pREG_DMA36_CFG ((volatile uint32_t *)REG_DMA36_CFG) /* DMA36 Configuration Register */
-#define pREG_DMA36_XCNT ((volatile uint32_t *)REG_DMA36_XCNT) /* DMA36 Inner Loop Count Start Value */
-#define pREG_DMA36_XMOD ((volatile int32_t *)REG_DMA36_XMOD) /* DMA36 Inner Loop Address Increment */
-#define pREG_DMA36_YCNT ((volatile uint32_t *)REG_DMA36_YCNT) /* DMA36 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA36_YMOD ((volatile int32_t *)REG_DMA36_YMOD) /* DMA36 Outer Loop Address Increment (2D only) */
-#define pREG_DMA36_DSCPTR_CUR ((void * volatile *)REG_DMA36_DSCPTR_CUR) /* DMA36 Current Descriptor Pointer */
-#define pREG_DMA36_DSCPTR_PRV ((void * volatile *)REG_DMA36_DSCPTR_PRV) /* DMA36 Previous Initial Descriptor Pointer */
-#define pREG_DMA36_ADDR_CUR ((void * volatile *)REG_DMA36_ADDR_CUR) /* DMA36 Current Address */
-#define pREG_DMA36_STAT ((volatile uint32_t *)REG_DMA36_STAT) /* DMA36 Status Register */
-#define pREG_DMA36_XCNT_CUR ((volatile uint32_t *)REG_DMA36_XCNT_CUR) /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA36_YCNT_CUR ((volatile uint32_t *)REG_DMA36_YCNT_CUR) /* DMA36 Current Row Count (2D only) */
-#define pREG_DMA36_BWLCNT ((volatile uint32_t *)REG_DMA36_BWLCNT) /* DMA36 Bandwidth Limit Count */
-#define pREG_DMA36_BWLCNT_CUR ((volatile uint32_t *)REG_DMA36_BWLCNT_CUR) /* DMA36 Bandwidth Limit Count Current */
-#define pREG_DMA36_BWMCNT ((volatile uint32_t *)REG_DMA36_BWMCNT) /* DMA36 Bandwidth Monitor Count */
-#define pREG_DMA36_BWMCNT_CUR ((volatile uint32_t *)REG_DMA36_BWMCNT_CUR) /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA37
- ========================================================================= */
-#define pREG_DMA37_DSCPTR_NXT ((void * volatile *)REG_DMA37_DSCPTR_NXT) /* DMA37 Pointer to Next Initial Descriptor */
-#define pREG_DMA37_ADDRSTART ((void * volatile *)REG_DMA37_ADDRSTART) /* DMA37 Start Address of Current Buffer */
-#define pREG_DMA37_CFG ((volatile uint32_t *)REG_DMA37_CFG) /* DMA37 Configuration Register */
-#define pREG_DMA37_XCNT ((volatile uint32_t *)REG_DMA37_XCNT) /* DMA37 Inner Loop Count Start Value */
-#define pREG_DMA37_XMOD ((volatile int32_t *)REG_DMA37_XMOD) /* DMA37 Inner Loop Address Increment */
-#define pREG_DMA37_YCNT ((volatile uint32_t *)REG_DMA37_YCNT) /* DMA37 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA37_YMOD ((volatile int32_t *)REG_DMA37_YMOD) /* DMA37 Outer Loop Address Increment (2D only) */
-#define pREG_DMA37_DSCPTR_CUR ((void * volatile *)REG_DMA37_DSCPTR_CUR) /* DMA37 Current Descriptor Pointer */
-#define pREG_DMA37_DSCPTR_PRV ((void * volatile *)REG_DMA37_DSCPTR_PRV) /* DMA37 Previous Initial Descriptor Pointer */
-#define pREG_DMA37_ADDR_CUR ((void * volatile *)REG_DMA37_ADDR_CUR) /* DMA37 Current Address */
-#define pREG_DMA37_STAT ((volatile uint32_t *)REG_DMA37_STAT) /* DMA37 Status Register */
-#define pREG_DMA37_XCNT_CUR ((volatile uint32_t *)REG_DMA37_XCNT_CUR) /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA37_YCNT_CUR ((volatile uint32_t *)REG_DMA37_YCNT_CUR) /* DMA37 Current Row Count (2D only) */
-#define pREG_DMA37_BWLCNT ((volatile uint32_t *)REG_DMA37_BWLCNT) /* DMA37 Bandwidth Limit Count */
-#define pREG_DMA37_BWLCNT_CUR ((volatile uint32_t *)REG_DMA37_BWLCNT_CUR) /* DMA37 Bandwidth Limit Count Current */
-#define pREG_DMA37_BWMCNT ((volatile uint32_t *)REG_DMA37_BWMCNT) /* DMA37 Bandwidth Monitor Count */
-#define pREG_DMA37_BWMCNT_CUR ((volatile uint32_t *)REG_DMA37_BWMCNT_CUR) /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA38
- ========================================================================= */
-#define pREG_DMA38_DSCPTR_NXT ((void * volatile *)REG_DMA38_DSCPTR_NXT) /* DMA38 Pointer to Next Initial Descriptor */
-#define pREG_DMA38_ADDRSTART ((void * volatile *)REG_DMA38_ADDRSTART) /* DMA38 Start Address of Current Buffer */
-#define pREG_DMA38_CFG ((volatile uint32_t *)REG_DMA38_CFG) /* DMA38 Configuration Register */
-#define pREG_DMA38_XCNT ((volatile uint32_t *)REG_DMA38_XCNT) /* DMA38 Inner Loop Count Start Value */
-#define pREG_DMA38_XMOD ((volatile int32_t *)REG_DMA38_XMOD) /* DMA38 Inner Loop Address Increment */
-#define pREG_DMA38_YCNT ((volatile uint32_t *)REG_DMA38_YCNT) /* DMA38 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA38_YMOD ((volatile int32_t *)REG_DMA38_YMOD) /* DMA38 Outer Loop Address Increment (2D only) */
-#define pREG_DMA38_DSCPTR_CUR ((void * volatile *)REG_DMA38_DSCPTR_CUR) /* DMA38 Current Descriptor Pointer */
-#define pREG_DMA38_DSCPTR_PRV ((void * volatile *)REG_DMA38_DSCPTR_PRV) /* DMA38 Previous Initial Descriptor Pointer */
-#define pREG_DMA38_ADDR_CUR ((void * volatile *)REG_DMA38_ADDR_CUR) /* DMA38 Current Address */
-#define pREG_DMA38_STAT ((volatile uint32_t *)REG_DMA38_STAT) /* DMA38 Status Register */
-#define pREG_DMA38_XCNT_CUR ((volatile uint32_t *)REG_DMA38_XCNT_CUR) /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA38_YCNT_CUR ((volatile uint32_t *)REG_DMA38_YCNT_CUR) /* DMA38 Current Row Count (2D only) */
-#define pREG_DMA38_BWLCNT ((volatile uint32_t *)REG_DMA38_BWLCNT) /* DMA38 Bandwidth Limit Count */
-#define pREG_DMA38_BWLCNT_CUR ((volatile uint32_t *)REG_DMA38_BWLCNT_CUR) /* DMA38 Bandwidth Limit Count Current */
-#define pREG_DMA38_BWMCNT ((volatile uint32_t *)REG_DMA38_BWMCNT) /* DMA38 Bandwidth Monitor Count */
-#define pREG_DMA38_BWMCNT_CUR ((volatile uint32_t *)REG_DMA38_BWMCNT_CUR) /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA39
- ========================================================================= */
-#define pREG_DMA39_DSCPTR_NXT ((void * volatile *)REG_DMA39_DSCPTR_NXT) /* DMA39 Pointer to Next Initial Descriptor */
-#define pREG_DMA39_ADDRSTART ((void * volatile *)REG_DMA39_ADDRSTART) /* DMA39 Start Address of Current Buffer */
-#define pREG_DMA39_CFG ((volatile uint32_t *)REG_DMA39_CFG) /* DMA39 Configuration Register */
-#define pREG_DMA39_XCNT ((volatile uint32_t *)REG_DMA39_XCNT) /* DMA39 Inner Loop Count Start Value */
-#define pREG_DMA39_XMOD ((volatile int32_t *)REG_DMA39_XMOD) /* DMA39 Inner Loop Address Increment */
-#define pREG_DMA39_YCNT ((volatile uint32_t *)REG_DMA39_YCNT) /* DMA39 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA39_YMOD ((volatile int32_t *)REG_DMA39_YMOD) /* DMA39 Outer Loop Address Increment (2D only) */
-#define pREG_DMA39_DSCPTR_CUR ((void * volatile *)REG_DMA39_DSCPTR_CUR) /* DMA39 Current Descriptor Pointer */
-#define pREG_DMA39_DSCPTR_PRV ((void * volatile *)REG_DMA39_DSCPTR_PRV) /* DMA39 Previous Initial Descriptor Pointer */
-#define pREG_DMA39_ADDR_CUR ((void * volatile *)REG_DMA39_ADDR_CUR) /* DMA39 Current Address */
-#define pREG_DMA39_STAT ((volatile uint32_t *)REG_DMA39_STAT) /* DMA39 Status Register */
-#define pREG_DMA39_XCNT_CUR ((volatile uint32_t *)REG_DMA39_XCNT_CUR) /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA39_YCNT_CUR ((volatile uint32_t *)REG_DMA39_YCNT_CUR) /* DMA39 Current Row Count (2D only) */
-#define pREG_DMA39_BWLCNT ((volatile uint32_t *)REG_DMA39_BWLCNT) /* DMA39 Bandwidth Limit Count */
-#define pREG_DMA39_BWLCNT_CUR ((volatile uint32_t *)REG_DMA39_BWLCNT_CUR) /* DMA39 Bandwidth Limit Count Current */
-#define pREG_DMA39_BWMCNT ((volatile uint32_t *)REG_DMA39_BWMCNT) /* DMA39 Bandwidth Monitor Count */
-#define pREG_DMA39_BWMCNT_CUR ((volatile uint32_t *)REG_DMA39_BWMCNT_CUR) /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA40
- ========================================================================= */
-#define pREG_DMA40_DSCPTR_NXT ((void * volatile *)REG_DMA40_DSCPTR_NXT) /* DMA40 Pointer to Next Initial Descriptor */
-#define pREG_DMA40_ADDRSTART ((void * volatile *)REG_DMA40_ADDRSTART) /* DMA40 Start Address of Current Buffer */
-#define pREG_DMA40_CFG ((volatile uint32_t *)REG_DMA40_CFG) /* DMA40 Configuration Register */
-#define pREG_DMA40_XCNT ((volatile uint32_t *)REG_DMA40_XCNT) /* DMA40 Inner Loop Count Start Value */
-#define pREG_DMA40_XMOD ((volatile int32_t *)REG_DMA40_XMOD) /* DMA40 Inner Loop Address Increment */
-#define pREG_DMA40_YCNT ((volatile uint32_t *)REG_DMA40_YCNT) /* DMA40 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA40_YMOD ((volatile int32_t *)REG_DMA40_YMOD) /* DMA40 Outer Loop Address Increment (2D only) */
-#define pREG_DMA40_DSCPTR_CUR ((void * volatile *)REG_DMA40_DSCPTR_CUR) /* DMA40 Current Descriptor Pointer */
-#define pREG_DMA40_DSCPTR_PRV ((void * volatile *)REG_DMA40_DSCPTR_PRV) /* DMA40 Previous Initial Descriptor Pointer */
-#define pREG_DMA40_ADDR_CUR ((void * volatile *)REG_DMA40_ADDR_CUR) /* DMA40 Current Address */
-#define pREG_DMA40_STAT ((volatile uint32_t *)REG_DMA40_STAT) /* DMA40 Status Register */
-#define pREG_DMA40_XCNT_CUR ((volatile uint32_t *)REG_DMA40_XCNT_CUR) /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA40_YCNT_CUR ((volatile uint32_t *)REG_DMA40_YCNT_CUR) /* DMA40 Current Row Count (2D only) */
-#define pREG_DMA40_BWLCNT ((volatile uint32_t *)REG_DMA40_BWLCNT) /* DMA40 Bandwidth Limit Count */
-#define pREG_DMA40_BWLCNT_CUR ((volatile uint32_t *)REG_DMA40_BWLCNT_CUR) /* DMA40 Bandwidth Limit Count Current */
-#define pREG_DMA40_BWMCNT ((volatile uint32_t *)REG_DMA40_BWMCNT) /* DMA40 Bandwidth Monitor Count */
-#define pREG_DMA40_BWMCNT_CUR ((volatile uint32_t *)REG_DMA40_BWMCNT_CUR) /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA41
- ========================================================================= */
-#define pREG_DMA41_DSCPTR_NXT ((void * volatile *)REG_DMA41_DSCPTR_NXT) /* DMA41 Pointer to Next Initial Descriptor */
-#define pREG_DMA41_ADDRSTART ((void * volatile *)REG_DMA41_ADDRSTART) /* DMA41 Start Address of Current Buffer */
-#define pREG_DMA41_CFG ((volatile uint32_t *)REG_DMA41_CFG) /* DMA41 Configuration Register */
-#define pREG_DMA41_XCNT ((volatile uint32_t *)REG_DMA41_XCNT) /* DMA41 Inner Loop Count Start Value */
-#define pREG_DMA41_XMOD ((volatile int32_t *)REG_DMA41_XMOD) /* DMA41 Inner Loop Address Increment */
-#define pREG_DMA41_YCNT ((volatile uint32_t *)REG_DMA41_YCNT) /* DMA41 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA41_YMOD ((volatile int32_t *)REG_DMA41_YMOD) /* DMA41 Outer Loop Address Increment (2D only) */
-#define pREG_DMA41_DSCPTR_CUR ((void * volatile *)REG_DMA41_DSCPTR_CUR) /* DMA41 Current Descriptor Pointer */
-#define pREG_DMA41_DSCPTR_PRV ((void * volatile *)REG_DMA41_DSCPTR_PRV) /* DMA41 Previous Initial Descriptor Pointer */
-#define pREG_DMA41_ADDR_CUR ((void * volatile *)REG_DMA41_ADDR_CUR) /* DMA41 Current Address */
-#define pREG_DMA41_STAT ((volatile uint32_t *)REG_DMA41_STAT) /* DMA41 Status Register */
-#define pREG_DMA41_XCNT_CUR ((volatile uint32_t *)REG_DMA41_XCNT_CUR) /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA41_YCNT_CUR ((volatile uint32_t *)REG_DMA41_YCNT_CUR) /* DMA41 Current Row Count (2D only) */
-#define pREG_DMA41_BWLCNT ((volatile uint32_t *)REG_DMA41_BWLCNT) /* DMA41 Bandwidth Limit Count */
-#define pREG_DMA41_BWLCNT_CUR ((volatile uint32_t *)REG_DMA41_BWLCNT_CUR) /* DMA41 Bandwidth Limit Count Current */
-#define pREG_DMA41_BWMCNT ((volatile uint32_t *)REG_DMA41_BWMCNT) /* DMA41 Bandwidth Monitor Count */
-#define pREG_DMA41_BWMCNT_CUR ((volatile uint32_t *)REG_DMA41_BWMCNT_CUR) /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA42
- ========================================================================= */
-#define pREG_DMA42_DSCPTR_NXT ((void * volatile *)REG_DMA42_DSCPTR_NXT) /* DMA42 Pointer to Next Initial Descriptor */
-#define pREG_DMA42_ADDRSTART ((void * volatile *)REG_DMA42_ADDRSTART) /* DMA42 Start Address of Current Buffer */
-#define pREG_DMA42_CFG ((volatile uint32_t *)REG_DMA42_CFG) /* DMA42 Configuration Register */
-#define pREG_DMA42_XCNT ((volatile uint32_t *)REG_DMA42_XCNT) /* DMA42 Inner Loop Count Start Value */
-#define pREG_DMA42_XMOD ((volatile int32_t *)REG_DMA42_XMOD) /* DMA42 Inner Loop Address Increment */
-#define pREG_DMA42_YCNT ((volatile uint32_t *)REG_DMA42_YCNT) /* DMA42 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA42_YMOD ((volatile int32_t *)REG_DMA42_YMOD) /* DMA42 Outer Loop Address Increment (2D only) */
-#define pREG_DMA42_DSCPTR_CUR ((void * volatile *)REG_DMA42_DSCPTR_CUR) /* DMA42 Current Descriptor Pointer */
-#define pREG_DMA42_DSCPTR_PRV ((void * volatile *)REG_DMA42_DSCPTR_PRV) /* DMA42 Previous Initial Descriptor Pointer */
-#define pREG_DMA42_ADDR_CUR ((void * volatile *)REG_DMA42_ADDR_CUR) /* DMA42 Current Address */
-#define pREG_DMA42_STAT ((volatile uint32_t *)REG_DMA42_STAT) /* DMA42 Status Register */
-#define pREG_DMA42_XCNT_CUR ((volatile uint32_t *)REG_DMA42_XCNT_CUR) /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA42_YCNT_CUR ((volatile uint32_t *)REG_DMA42_YCNT_CUR) /* DMA42 Current Row Count (2D only) */
-#define pREG_DMA42_BWLCNT ((volatile uint32_t *)REG_DMA42_BWLCNT) /* DMA42 Bandwidth Limit Count */
-#define pREG_DMA42_BWLCNT_CUR ((volatile uint32_t *)REG_DMA42_BWLCNT_CUR) /* DMA42 Bandwidth Limit Count Current */
-#define pREG_DMA42_BWMCNT ((volatile uint32_t *)REG_DMA42_BWMCNT) /* DMA42 Bandwidth Monitor Count */
-#define pREG_DMA42_BWMCNT_CUR ((volatile uint32_t *)REG_DMA42_BWMCNT_CUR) /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA43
- ========================================================================= */
-#define pREG_DMA43_DSCPTR_NXT ((void * volatile *)REG_DMA43_DSCPTR_NXT) /* DMA43 Pointer to Next Initial Descriptor */
-#define pREG_DMA43_ADDRSTART ((void * volatile *)REG_DMA43_ADDRSTART) /* DMA43 Start Address of Current Buffer */
-#define pREG_DMA43_CFG ((volatile uint32_t *)REG_DMA43_CFG) /* DMA43 Configuration Register */
-#define pREG_DMA43_XCNT ((volatile uint32_t *)REG_DMA43_XCNT) /* DMA43 Inner Loop Count Start Value */
-#define pREG_DMA43_XMOD ((volatile int32_t *)REG_DMA43_XMOD) /* DMA43 Inner Loop Address Increment */
-#define pREG_DMA43_YCNT ((volatile uint32_t *)REG_DMA43_YCNT) /* DMA43 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA43_YMOD ((volatile int32_t *)REG_DMA43_YMOD) /* DMA43 Outer Loop Address Increment (2D only) */
-#define pREG_DMA43_DSCPTR_CUR ((void * volatile *)REG_DMA43_DSCPTR_CUR) /* DMA43 Current Descriptor Pointer */
-#define pREG_DMA43_DSCPTR_PRV ((void * volatile *)REG_DMA43_DSCPTR_PRV) /* DMA43 Previous Initial Descriptor Pointer */
-#define pREG_DMA43_ADDR_CUR ((void * volatile *)REG_DMA43_ADDR_CUR) /* DMA43 Current Address */
-#define pREG_DMA43_STAT ((volatile uint32_t *)REG_DMA43_STAT) /* DMA43 Status Register */
-#define pREG_DMA43_XCNT_CUR ((volatile uint32_t *)REG_DMA43_XCNT_CUR) /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA43_YCNT_CUR ((volatile uint32_t *)REG_DMA43_YCNT_CUR) /* DMA43 Current Row Count (2D only) */
-#define pREG_DMA43_BWLCNT ((volatile uint32_t *)REG_DMA43_BWLCNT) /* DMA43 Bandwidth Limit Count */
-#define pREG_DMA43_BWLCNT_CUR ((volatile uint32_t *)REG_DMA43_BWLCNT_CUR) /* DMA43 Bandwidth Limit Count Current */
-#define pREG_DMA43_BWMCNT ((volatile uint32_t *)REG_DMA43_BWMCNT) /* DMA43 Bandwidth Monitor Count */
-#define pREG_DMA43_BWMCNT_CUR ((volatile uint32_t *)REG_DMA43_BWMCNT_CUR) /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA44
- ========================================================================= */
-#define pREG_DMA44_DSCPTR_NXT ((void * volatile *)REG_DMA44_DSCPTR_NXT) /* DMA44 Pointer to Next Initial Descriptor */
-#define pREG_DMA44_ADDRSTART ((void * volatile *)REG_DMA44_ADDRSTART) /* DMA44 Start Address of Current Buffer */
-#define pREG_DMA44_CFG ((volatile uint32_t *)REG_DMA44_CFG) /* DMA44 Configuration Register */
-#define pREG_DMA44_XCNT ((volatile uint32_t *)REG_DMA44_XCNT) /* DMA44 Inner Loop Count Start Value */
-#define pREG_DMA44_XMOD ((volatile int32_t *)REG_DMA44_XMOD) /* DMA44 Inner Loop Address Increment */
-#define pREG_DMA44_YCNT ((volatile uint32_t *)REG_DMA44_YCNT) /* DMA44 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA44_YMOD ((volatile int32_t *)REG_DMA44_YMOD) /* DMA44 Outer Loop Address Increment (2D only) */
-#define pREG_DMA44_DSCPTR_CUR ((void * volatile *)REG_DMA44_DSCPTR_CUR) /* DMA44 Current Descriptor Pointer */
-#define pREG_DMA44_DSCPTR_PRV ((void * volatile *)REG_DMA44_DSCPTR_PRV) /* DMA44 Previous Initial Descriptor Pointer */
-#define pREG_DMA44_ADDR_CUR ((void * volatile *)REG_DMA44_ADDR_CUR) /* DMA44 Current Address */
-#define pREG_DMA44_STAT ((volatile uint32_t *)REG_DMA44_STAT) /* DMA44 Status Register */
-#define pREG_DMA44_XCNT_CUR ((volatile uint32_t *)REG_DMA44_XCNT_CUR) /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA44_YCNT_CUR ((volatile uint32_t *)REG_DMA44_YCNT_CUR) /* DMA44 Current Row Count (2D only) */
-#define pREG_DMA44_BWLCNT ((volatile uint32_t *)REG_DMA44_BWLCNT) /* DMA44 Bandwidth Limit Count */
-#define pREG_DMA44_BWLCNT_CUR ((volatile uint32_t *)REG_DMA44_BWLCNT_CUR) /* DMA44 Bandwidth Limit Count Current */
-#define pREG_DMA44_BWMCNT ((volatile uint32_t *)REG_DMA44_BWMCNT) /* DMA44 Bandwidth Monitor Count */
-#define pREG_DMA44_BWMCNT_CUR ((volatile uint32_t *)REG_DMA44_BWMCNT_CUR) /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA45
- ========================================================================= */
-#define pREG_DMA45_DSCPTR_NXT ((void * volatile *)REG_DMA45_DSCPTR_NXT) /* DMA45 Pointer to Next Initial Descriptor */
-#define pREG_DMA45_ADDRSTART ((void * volatile *)REG_DMA45_ADDRSTART) /* DMA45 Start Address of Current Buffer */
-#define pREG_DMA45_CFG ((volatile uint32_t *)REG_DMA45_CFG) /* DMA45 Configuration Register */
-#define pREG_DMA45_XCNT ((volatile uint32_t *)REG_DMA45_XCNT) /* DMA45 Inner Loop Count Start Value */
-#define pREG_DMA45_XMOD ((volatile int32_t *)REG_DMA45_XMOD) /* DMA45 Inner Loop Address Increment */
-#define pREG_DMA45_YCNT ((volatile uint32_t *)REG_DMA45_YCNT) /* DMA45 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA45_YMOD ((volatile int32_t *)REG_DMA45_YMOD) /* DMA45 Outer Loop Address Increment (2D only) */
-#define pREG_DMA45_DSCPTR_CUR ((void * volatile *)REG_DMA45_DSCPTR_CUR) /* DMA45 Current Descriptor Pointer */
-#define pREG_DMA45_DSCPTR_PRV ((void * volatile *)REG_DMA45_DSCPTR_PRV) /* DMA45 Previous Initial Descriptor Pointer */
-#define pREG_DMA45_ADDR_CUR ((void * volatile *)REG_DMA45_ADDR_CUR) /* DMA45 Current Address */
-#define pREG_DMA45_STAT ((volatile uint32_t *)REG_DMA45_STAT) /* DMA45 Status Register */
-#define pREG_DMA45_XCNT_CUR ((volatile uint32_t *)REG_DMA45_XCNT_CUR) /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA45_YCNT_CUR ((volatile uint32_t *)REG_DMA45_YCNT_CUR) /* DMA45 Current Row Count (2D only) */
-#define pREG_DMA45_BWLCNT ((volatile uint32_t *)REG_DMA45_BWLCNT) /* DMA45 Bandwidth Limit Count */
-#define pREG_DMA45_BWLCNT_CUR ((volatile uint32_t *)REG_DMA45_BWLCNT_CUR) /* DMA45 Bandwidth Limit Count Current */
-#define pREG_DMA45_BWMCNT ((volatile uint32_t *)REG_DMA45_BWMCNT) /* DMA45 Bandwidth Monitor Count */
-#define pREG_DMA45_BWMCNT_CUR ((volatile uint32_t *)REG_DMA45_BWMCNT_CUR) /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA46
- ========================================================================= */
-#define pREG_DMA46_DSCPTR_NXT ((void * volatile *)REG_DMA46_DSCPTR_NXT) /* DMA46 Pointer to Next Initial Descriptor */
-#define pREG_DMA46_ADDRSTART ((void * volatile *)REG_DMA46_ADDRSTART) /* DMA46 Start Address of Current Buffer */
-#define pREG_DMA46_CFG ((volatile uint32_t *)REG_DMA46_CFG) /* DMA46 Configuration Register */
-#define pREG_DMA46_XCNT ((volatile uint32_t *)REG_DMA46_XCNT) /* DMA46 Inner Loop Count Start Value */
-#define pREG_DMA46_XMOD ((volatile int32_t *)REG_DMA46_XMOD) /* DMA46 Inner Loop Address Increment */
-#define pREG_DMA46_YCNT ((volatile uint32_t *)REG_DMA46_YCNT) /* DMA46 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA46_YMOD ((volatile int32_t *)REG_DMA46_YMOD) /* DMA46 Outer Loop Address Increment (2D only) */
-#define pREG_DMA46_DSCPTR_CUR ((void * volatile *)REG_DMA46_DSCPTR_CUR) /* DMA46 Current Descriptor Pointer */
-#define pREG_DMA46_DSCPTR_PRV ((void * volatile *)REG_DMA46_DSCPTR_PRV) /* DMA46 Previous Initial Descriptor Pointer */
-#define pREG_DMA46_ADDR_CUR ((void * volatile *)REG_DMA46_ADDR_CUR) /* DMA46 Current Address */
-#define pREG_DMA46_STAT ((volatile uint32_t *)REG_DMA46_STAT) /* DMA46 Status Register */
-#define pREG_DMA46_XCNT_CUR ((volatile uint32_t *)REG_DMA46_XCNT_CUR) /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA46_YCNT_CUR ((volatile uint32_t *)REG_DMA46_YCNT_CUR) /* DMA46 Current Row Count (2D only) */
-#define pREG_DMA46_BWLCNT ((volatile uint32_t *)REG_DMA46_BWLCNT) /* DMA46 Bandwidth Limit Count */
-#define pREG_DMA46_BWLCNT_CUR ((volatile uint32_t *)REG_DMA46_BWLCNT_CUR) /* DMA46 Bandwidth Limit Count Current */
-#define pREG_DMA46_BWMCNT ((volatile uint32_t *)REG_DMA46_BWMCNT) /* DMA46 Bandwidth Monitor Count */
-#define pREG_DMA46_BWMCNT_CUR ((volatile uint32_t *)REG_DMA46_BWMCNT_CUR) /* DMA46 Bandwidth Monitor Count Current */
-
-
-/* =========================================================================
- ACM0
- ========================================================================= */
-#define pREG_ACM0_CTL ((volatile uint32_t *)REG_ACM0_CTL) /* ACM0 ACM Control Register */
-#define pREG_ACM0_TC0 ((volatile uint32_t *)REG_ACM0_TC0) /* ACM0 ACM Timing Configuration 0 Register */
-#define pREG_ACM0_TC1 ((volatile uint32_t *)REG_ACM0_TC1) /* ACM0 ACM Timing Configuration 1 Register */
-#define pREG_ACM0_STAT ((volatile uint32_t *)REG_ACM0_STAT) /* ACM0 ACM Status Register */
-#define pREG_ACM0_EVSTAT ((volatile uint32_t *)REG_ACM0_EVSTAT) /* ACM0 ACM Event Status Register */
-#define pREG_ACM0_EVMSK ((volatile uint32_t *)REG_ACM0_EVMSK) /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define pREG_ACM0_MEVSTAT ((volatile uint32_t *)REG_ACM0_MEVSTAT) /* ACM0 ACM Missed Event Status Register */
-#define pREG_ACM0_MEVMSK ((volatile uint32_t *)REG_ACM0_MEVMSK) /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define pREG_ACM0_EVCTL0 ((volatile uint32_t *)REG_ACM0_EVCTL0) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL1 ((volatile uint32_t *)REG_ACM0_EVCTL1) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL2 ((volatile uint32_t *)REG_ACM0_EVCTL2) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL3 ((volatile uint32_t *)REG_ACM0_EVCTL3) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL4 ((volatile uint32_t *)REG_ACM0_EVCTL4) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL5 ((volatile uint32_t *)REG_ACM0_EVCTL5) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL6 ((volatile uint32_t *)REG_ACM0_EVCTL6) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL7 ((volatile uint32_t *)REG_ACM0_EVCTL7) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL8 ((volatile uint32_t *)REG_ACM0_EVCTL8) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL9 ((volatile uint32_t *)REG_ACM0_EVCTL9) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL10 ((volatile uint32_t *)REG_ACM0_EVCTL10) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL11 ((volatile uint32_t *)REG_ACM0_EVCTL11) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL12 ((volatile uint32_t *)REG_ACM0_EVCTL12) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL13 ((volatile uint32_t *)REG_ACM0_EVCTL13) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL14 ((volatile uint32_t *)REG_ACM0_EVCTL14) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL15 ((volatile uint32_t *)REG_ACM0_EVCTL15) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVTIME0 ((volatile uint32_t *)REG_ACM0_EVTIME0) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME1 ((volatile uint32_t *)REG_ACM0_EVTIME1) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME2 ((volatile uint32_t *)REG_ACM0_EVTIME2) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME3 ((volatile uint32_t *)REG_ACM0_EVTIME3) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME4 ((volatile uint32_t *)REG_ACM0_EVTIME4) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME5 ((volatile uint32_t *)REG_ACM0_EVTIME5) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME6 ((volatile uint32_t *)REG_ACM0_EVTIME6) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME7 ((volatile uint32_t *)REG_ACM0_EVTIME7) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME8 ((volatile uint32_t *)REG_ACM0_EVTIME8) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME9 ((volatile uint32_t *)REG_ACM0_EVTIME9) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME10 ((volatile uint32_t *)REG_ACM0_EVTIME10) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME11 ((volatile uint32_t *)REG_ACM0_EVTIME11) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME12 ((volatile uint32_t *)REG_ACM0_EVTIME12) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME13 ((volatile uint32_t *)REG_ACM0_EVTIME13) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME14 ((volatile uint32_t *)REG_ACM0_EVTIME14) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME15 ((volatile uint32_t *)REG_ACM0_EVTIME15) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVORD0 ((volatile uint32_t *)REG_ACM0_EVORD0) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD1 ((volatile uint32_t *)REG_ACM0_EVORD1) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD2 ((volatile uint32_t *)REG_ACM0_EVORD2) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD3 ((volatile uint32_t *)REG_ACM0_EVORD3) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD4 ((volatile uint32_t *)REG_ACM0_EVORD4) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD5 ((volatile uint32_t *)REG_ACM0_EVORD5) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD6 ((volatile uint32_t *)REG_ACM0_EVORD6) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD7 ((volatile uint32_t *)REG_ACM0_EVORD7) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD8 ((volatile uint32_t *)REG_ACM0_EVORD8) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD9 ((volatile uint32_t *)REG_ACM0_EVORD9) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD10 ((volatile uint32_t *)REG_ACM0_EVORD10) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD11 ((volatile uint32_t *)REG_ACM0_EVORD11) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD12 ((volatile uint32_t *)REG_ACM0_EVORD12) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD13 ((volatile uint32_t *)REG_ACM0_EVORD13) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD14 ((volatile uint32_t *)REG_ACM0_EVORD14) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD15 ((volatile uint32_t *)REG_ACM0_EVORD15) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_TMR0 ((volatile uint32_t *)REG_ACM0_TMR0) /* ACM0 ACM Timer 0 Register */
-#define pREG_ACM0_TMR1 ((volatile uint32_t *)REG_ACM0_TMR1) /* ACM0 ACM Timer 1 Register */
-
-
-/* =========================================================================
- DMC0
- ========================================================================= */
-#define pREG_DMC0_CTL ((volatile uint32_t *)REG_DMC0_CTL) /* DMC0 Control Register */
-#define pREG_DMC0_STAT ((volatile uint32_t *)REG_DMC0_STAT) /* DMC0 Status Register */
-#define pREG_DMC0_EFFCTL ((volatile uint32_t *)REG_DMC0_EFFCTL) /* DMC0 Efficiency Control Register */
-#define pREG_DMC0_PRIO ((volatile uint32_t *)REG_DMC0_PRIO) /* DMC0 Priority ID Register */
-#define pREG_DMC0_PRIOMSK ((volatile uint32_t *)REG_DMC0_PRIOMSK) /* DMC0 Priority ID Mask Register */
-#define pREG_DMC0_CFG ((volatile uint32_t *)REG_DMC0_CFG) /* DMC0 Configuration Register */
-#define pREG_DMC0_TR0 ((volatile uint32_t *)REG_DMC0_TR0) /* DMC0 Timing 0 Register */
-#define pREG_DMC0_TR1 ((volatile uint32_t *)REG_DMC0_TR1) /* DMC0 Timing 1 Register */
-#define pREG_DMC0_TR2 ((volatile uint32_t *)REG_DMC0_TR2) /* DMC0 Timing 2 Register */
-#define pREG_DMC0_MSK ((volatile uint32_t *)REG_DMC0_MSK) /* DMC0 Mask (Mode Register Shadow) Register */
-#define pREG_DMC0_MR ((volatile uint32_t *)REG_DMC0_MR) /* DMC0 Shadow MR Register */
-#define pREG_DMC0_EMR1 ((volatile uint32_t *)REG_DMC0_EMR1) /* DMC0 Shadow EMR1 Register */
-#define pREG_DMC0_EMR2 ((volatile uint32_t *)REG_DMC0_EMR2) /* DMC0 Shadow EMR2 Register */
-#define pREG_DMC0_EMR3 ((volatile uint32_t *)REG_DMC0_EMR3) /* DMC0 Shadow EMR3 Register */
-#define pREG_DMC0_DLLCTL ((volatile uint32_t *)REG_DMC0_DLLCTL) /* DMC0 DLL Control Register */
-#define pREG_DMC0_PHY_CTL0 ((volatile uint32_t *)REG_DMC0_PHY_CTL0) /* DMC0 PHY Control 0 Register */
-#define pREG_DMC0_PHY_CTL1 ((volatile uint32_t *)REG_DMC0_PHY_CTL1) /* DMC0 PHY Control 1 Register */
-#define pREG_DMC0_PHY_CTL2 ((volatile uint32_t *)REG_DMC0_PHY_CTL2) /* DMC0 PHY Control 2 Register */
-#define pREG_DMC0_PHY_CTL3 ((volatile uint32_t *)REG_DMC0_PHY_CTL3) /* DMC0 PHY Control 3 Register */
-#define pREG_DMC0_PADCTL ((volatile uint32_t *)REG_DMC0_PADCTL) /* DMC0 PAD Control Register */
-
-
-/* =========================================================================
- SCB0
- ========================================================================= */
-#define pREG_SCB0_ARBR0 ((volatile uint32_t *)REG_SCB0_ARBR0) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR1 ((volatile uint32_t *)REG_SCB0_ARBR1) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR2 ((volatile uint32_t *)REG_SCB0_ARBR2) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR3 ((volatile uint32_t *)REG_SCB0_ARBR3) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR4 ((volatile uint32_t *)REG_SCB0_ARBR4) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR5 ((volatile uint32_t *)REG_SCB0_ARBR5) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBW0 ((volatile uint32_t *)REG_SCB0_ARBW0) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW1 ((volatile uint32_t *)REG_SCB0_ARBW1) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW2 ((volatile uint32_t *)REG_SCB0_ARBW2) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW3 ((volatile uint32_t *)REG_SCB0_ARBW3) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW4 ((volatile uint32_t *)REG_SCB0_ARBW4) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW5 ((volatile uint32_t *)REG_SCB0_ARBW5) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_SLAVES ((volatile uint32_t *)REG_SCB0_SLAVES) /* SCB0 Slave Interfaces Number Register */
-#define pREG_SCB0_MASTERS ((volatile uint32_t *)REG_SCB0_MASTERS) /* SCB0 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB1
- ========================================================================= */
-#define pREG_SCB1_ARBR0 ((volatile uint32_t *)REG_SCB1_ARBR0) /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB1_ARBW0 ((volatile uint32_t *)REG_SCB1_ARBW0) /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB1_SLAVES ((volatile uint32_t *)REG_SCB1_SLAVES) /* SCB1 Slave Interfaces Number Register */
-#define pREG_SCB1_MASTERS ((volatile uint32_t *)REG_SCB1_MASTERS) /* SCB1 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB2
- ========================================================================= */
-#define pREG_SCB2_ARBR0 ((volatile uint32_t *)REG_SCB2_ARBR0) /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB2_ARBW0 ((volatile uint32_t *)REG_SCB2_ARBW0) /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB2_SLAVES ((volatile uint32_t *)REG_SCB2_SLAVES) /* SCB2 Slave Interfaces Number Register */
-#define pREG_SCB2_MASTERS ((volatile uint32_t *)REG_SCB2_MASTERS) /* SCB2 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB3
- ========================================================================= */
-#define pREG_SCB3_ARBR0 ((volatile uint32_t *)REG_SCB3_ARBR0) /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB3_ARBW0 ((volatile uint32_t *)REG_SCB3_ARBW0) /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB3_SLAVES ((volatile uint32_t *)REG_SCB3_SLAVES) /* SCB3 Slave Interfaces Number Register */
-#define pREG_SCB3_MASTERS ((volatile uint32_t *)REG_SCB3_MASTERS) /* SCB3 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB4
- ========================================================================= */
-#define pREG_SCB4_ARBR0 ((volatile uint32_t *)REG_SCB4_ARBR0) /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB4_ARBW0 ((volatile uint32_t *)REG_SCB4_ARBW0) /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB4_SLAVES ((volatile uint32_t *)REG_SCB4_SLAVES) /* SCB4 Slave Interfaces Number Register */
-#define pREG_SCB4_MASTERS ((volatile uint32_t *)REG_SCB4_MASTERS) /* SCB4 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB5
- ========================================================================= */
-#define pREG_SCB5_ARBR0 ((volatile uint32_t *)REG_SCB5_ARBR0) /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB5_ARBW0 ((volatile uint32_t *)REG_SCB5_ARBW0) /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB5_SLAVES ((volatile uint32_t *)REG_SCB5_SLAVES) /* SCB5 Slave Interfaces Number Register */
-#define pREG_SCB5_MASTERS ((volatile uint32_t *)REG_SCB5_MASTERS) /* SCB5 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB6
- ========================================================================= */
-#define pREG_SCB6_ARBR0 ((volatile uint32_t *)REG_SCB6_ARBR0) /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB6_ARBW0 ((volatile uint32_t *)REG_SCB6_ARBW0) /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB6_SLAVES ((volatile uint32_t *)REG_SCB6_SLAVES) /* SCB6 Slave Interfaces Number Register */
-#define pREG_SCB6_MASTERS ((volatile uint32_t *)REG_SCB6_MASTERS) /* SCB6 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB7
- ========================================================================= */
-#define pREG_SCB7_ARBR0 ((volatile uint32_t *)REG_SCB7_ARBR0) /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB7_ARBW0 ((volatile uint32_t *)REG_SCB7_ARBW0) /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB7_SLAVES ((volatile uint32_t *)REG_SCB7_SLAVES) /* SCB7 Slave Interfaces Number Register */
-#define pREG_SCB7_MASTERS ((volatile uint32_t *)REG_SCB7_MASTERS) /* SCB7 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB8
- ========================================================================= */
-#define pREG_SCB8_ARBR0 ((volatile uint32_t *)REG_SCB8_ARBR0) /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB8_ARBW0 ((volatile uint32_t *)REG_SCB8_ARBW0) /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB8_SLAVES ((volatile uint32_t *)REG_SCB8_SLAVES) /* SCB8 Slave Interfaces Number Register */
-#define pREG_SCB8_MASTERS ((volatile uint32_t *)REG_SCB8_MASTERS) /* SCB8 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB9
- ========================================================================= */
-#define pREG_SCB9_ARBR0 ((volatile uint32_t *)REG_SCB9_ARBR0) /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB9_ARBW0 ((volatile uint32_t *)REG_SCB9_ARBW0) /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB9_SLAVES ((volatile uint32_t *)REG_SCB9_SLAVES) /* SCB9 Slave Interfaces Number Register */
-#define pREG_SCB9_MASTERS ((volatile uint32_t *)REG_SCB9_MASTERS) /* SCB9 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB10
- ========================================================================= */
-#define pREG_SCB10_ARBR0 ((volatile uint32_t *)REG_SCB10_ARBR0) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR1 ((volatile uint32_t *)REG_SCB10_ARBR1) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR2 ((volatile uint32_t *)REG_SCB10_ARBR2) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBW0 ((volatile uint32_t *)REG_SCB10_ARBW0) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW1 ((volatile uint32_t *)REG_SCB10_ARBW1) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW2 ((volatile uint32_t *)REG_SCB10_ARBW2) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_SLAVES ((volatile uint32_t *)REG_SCB10_SLAVES) /* SCB10 Slave Interfaces Number Register */
-#define pREG_SCB10_MASTERS ((volatile uint32_t *)REG_SCB10_MASTERS) /* SCB10 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB11
- ========================================================================= */
-#define pREG_SCB11_ARBR0 ((volatile uint32_t *)REG_SCB11_ARBR0) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR1 ((volatile uint32_t *)REG_SCB11_ARBR1) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR2 ((volatile uint32_t *)REG_SCB11_ARBR2) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR3 ((volatile uint32_t *)REG_SCB11_ARBR3) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR4 ((volatile uint32_t *)REG_SCB11_ARBR4) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR5 ((volatile uint32_t *)REG_SCB11_ARBR5) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR6 ((volatile uint32_t *)REG_SCB11_ARBR6) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBW0 ((volatile uint32_t *)REG_SCB11_ARBW0) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW1 ((volatile uint32_t *)REG_SCB11_ARBW1) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW2 ((volatile uint32_t *)REG_SCB11_ARBW2) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW3 ((volatile uint32_t *)REG_SCB11_ARBW3) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW4 ((volatile uint32_t *)REG_SCB11_ARBW4) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW5 ((volatile uint32_t *)REG_SCB11_ARBW5) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW6 ((volatile uint32_t *)REG_SCB11_ARBW6) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_SLAVES ((volatile uint32_t *)REG_SCB11_SLAVES) /* SCB11 Slave Interfaces Number Register */
-#define pREG_SCB11_MASTERS ((volatile uint32_t *)REG_SCB11_MASTERS) /* SCB11 Master Interfaces Number Register */
-
-
-/* =========================================================================
- L2CTL0
- ========================================================================= */
-#define pREG_L2CTL0_CTL ((volatile uint32_t *)REG_L2CTL0_CTL) /* L2CTL0 Control Register */
-#define pREG_L2CTL0_ACTL_C0 ((volatile uint32_t *)REG_L2CTL0_ACTL_C0) /* L2CTL0 Access Control Core 0 Register */
-#define pREG_L2CTL0_ACTL_C1 ((volatile uint32_t *)REG_L2CTL0_ACTL_C1) /* L2CTL0 Access Control Core 1 Register */
-#define pREG_L2CTL0_ACTL_SYS ((volatile uint32_t *)REG_L2CTL0_ACTL_SYS) /* L2CTL0 Access Control System Register */
-#define pREG_L2CTL0_STAT ((volatile uint32_t *)REG_L2CTL0_STAT) /* L2CTL0 Status Register */
-#define pREG_L2CTL0_RPCR ((volatile uint32_t *)REG_L2CTL0_RPCR) /* L2CTL0 Read Priority Count Register */
-#define pREG_L2CTL0_WPCR ((volatile uint32_t *)REG_L2CTL0_WPCR) /* L2CTL0 Write Priority Count Register */
-#define pREG_L2CTL0_RFA ((void * volatile *)REG_L2CTL0_RFA) /* L2CTL0 Refresh Address Register */
-#define pREG_L2CTL0_ERRADDR0 ((void * volatile *)REG_L2CTL0_ERRADDR0) /* L2CTL0 ECC Error Address 0 Register */
-#define pREG_L2CTL0_ERRADDR1 ((void * volatile *)REG_L2CTL0_ERRADDR1) /* L2CTL0 ECC Error Address 1 Register */
-#define pREG_L2CTL0_ERRADDR2 ((void * volatile *)REG_L2CTL0_ERRADDR2) /* L2CTL0 ECC Error Address 2 Register */
-#define pREG_L2CTL0_ERRADDR3 ((void * volatile *)REG_L2CTL0_ERRADDR3) /* L2CTL0 ECC Error Address 3 Register */
-#define pREG_L2CTL0_ERRADDR4 ((void * volatile *)REG_L2CTL0_ERRADDR4) /* L2CTL0 ECC Error Address 4 Register */
-#define pREG_L2CTL0_ERRADDR5 ((void * volatile *)REG_L2CTL0_ERRADDR5) /* L2CTL0 ECC Error Address 5 Register */
-#define pREG_L2CTL0_ERRADDR6 ((void * volatile *)REG_L2CTL0_ERRADDR6) /* L2CTL0 ECC Error Address 6 Register */
-#define pREG_L2CTL0_ERRADDR7 ((void * volatile *)REG_L2CTL0_ERRADDR7) /* L2CTL0 ECC Error Address 7 Register */
-#define pREG_L2CTL0_ET0 ((volatile uint32_t *)REG_L2CTL0_ET0) /* L2CTL0 Error Type 0 Register */
-#define pREG_L2CTL0_EADDR0 ((void * volatile *)REG_L2CTL0_EADDR0) /* L2CTL0 Error Type 0 Address Register */
-#define pREG_L2CTL0_ET1 ((volatile uint32_t *)REG_L2CTL0_ET1) /* L2CTL0 Error Type 1 Register */
-#define pREG_L2CTL0_EADDR1 ((void * volatile *)REG_L2CTL0_EADDR1) /* L2CTL0 Error Type 1 Address Register */
-
-
-/* =========================================================================
- SEC0
- ========================================================================= */
-
-/* SEC Core Interface (SCI) Registers */
-#define pREG_SEC0_CCTL0 ((volatile uint32_t *)REG_SEC0_CCTL0) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CCTL1 ((volatile uint32_t *)REG_SEC0_CCTL1) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CSTAT0 ((volatile uint32_t *)REG_SEC0_CSTAT0) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CSTAT1 ((volatile uint32_t *)REG_SEC0_CSTAT1) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CPND0 ((volatile uint32_t *)REG_SEC0_CPND0) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CPND1 ((volatile uint32_t *)REG_SEC0_CPND1) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CACT0 ((volatile uint32_t *)REG_SEC0_CACT0) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CACT1 ((volatile uint32_t *)REG_SEC0_CACT1) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CPMSK0 ((volatile uint32_t *)REG_SEC0_CPMSK0) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CPMSK1 ((volatile uint32_t *)REG_SEC0_CPMSK1) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CGMSK0 ((volatile uint32_t *)REG_SEC0_CGMSK0) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CGMSK1 ((volatile uint32_t *)REG_SEC0_CGMSK1) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CPLVL0 ((volatile uint32_t *)REG_SEC0_CPLVL0) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CPLVL1 ((volatile uint32_t *)REG_SEC0_CPLVL1) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CSID0 ((volatile uint32_t *)REG_SEC0_CSID0) /* SEC0 SCI Source ID Register n */
-#define pREG_SEC0_CSID1 ((volatile uint32_t *)REG_SEC0_CSID1) /* SEC0 SCI Source ID Register n */
-
-/* SEC Fault Management Interface (SFI) Registers */
-#define pREG_SEC0_FCTL ((volatile uint32_t *)REG_SEC0_FCTL) /* SEC0 Fault Control Register */
-#define pREG_SEC0_FSTAT ((volatile uint32_t *)REG_SEC0_FSTAT) /* SEC0 Fault Status Register */
-#define pREG_SEC0_FSID ((volatile uint32_t *)REG_SEC0_FSID) /* SEC0 Fault Source ID Register */
-#define pREG_SEC0_FEND ((volatile uint32_t *)REG_SEC0_FEND) /* SEC0 Fault End Register */
-#define pREG_SEC0_FDLY ((volatile uint32_t *)REG_SEC0_FDLY) /* SEC0 Fault Delay Register */
-#define pREG_SEC0_FDLY_CUR ((volatile uint32_t *)REG_SEC0_FDLY_CUR) /* SEC0 Fault Delay Current Register */
-#define pREG_SEC0_FSRDLY ((volatile uint32_t *)REG_SEC0_FSRDLY) /* SEC0 Fault System Reset Delay Register */
-#define pREG_SEC0_FSRDLY_CUR ((volatile uint32_t *)REG_SEC0_FSRDLY_CUR) /* SEC0 Fault System Reset Delay Current Register */
-#define pREG_SEC0_FCOPP ((volatile uint32_t *)REG_SEC0_FCOPP) /* SEC0 Fault COP Period Register */
-#define pREG_SEC0_FCOPP_CUR ((volatile uint32_t *)REG_SEC0_FCOPP_CUR) /* SEC0 Fault COP Period Current Register */
-
-/* SEC Global Registers */
-#define pREG_SEC0_GCTL ((volatile uint32_t *)REG_SEC0_GCTL) /* SEC0 Global Control Register */
-#define pREG_SEC0_GSTAT ((volatile uint32_t *)REG_SEC0_GSTAT) /* SEC0 Global Status Register */
-#define pREG_SEC0_RAISE ((volatile uint32_t *)REG_SEC0_RAISE) /* SEC0 Global Raise Register */
-#define pREG_SEC0_END ((volatile uint32_t *)REG_SEC0_END) /* SEC0 Global End Register */
-
-/* SEC Source Interface (SSI) Registers */
-#define pREG_SEC0_SCTL0 ((volatile uint32_t *)REG_SEC0_SCTL0) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL1 ((volatile uint32_t *)REG_SEC0_SCTL1) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL2 ((volatile uint32_t *)REG_SEC0_SCTL2) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL3 ((volatile uint32_t *)REG_SEC0_SCTL3) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL4 ((volatile uint32_t *)REG_SEC0_SCTL4) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL5 ((volatile uint32_t *)REG_SEC0_SCTL5) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL6 ((volatile uint32_t *)REG_SEC0_SCTL6) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL7 ((volatile uint32_t *)REG_SEC0_SCTL7) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL8 ((volatile uint32_t *)REG_SEC0_SCTL8) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL9 ((volatile uint32_t *)REG_SEC0_SCTL9) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL10 ((volatile uint32_t *)REG_SEC0_SCTL10) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL11 ((volatile uint32_t *)REG_SEC0_SCTL11) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL12 ((volatile uint32_t *)REG_SEC0_SCTL12) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL13 ((volatile uint32_t *)REG_SEC0_SCTL13) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL14 ((volatile uint32_t *)REG_SEC0_SCTL14) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL15 ((volatile uint32_t *)REG_SEC0_SCTL15) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL16 ((volatile uint32_t *)REG_SEC0_SCTL16) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL17 ((volatile uint32_t *)REG_SEC0_SCTL17) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL18 ((volatile uint32_t *)REG_SEC0_SCTL18) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL19 ((volatile uint32_t *)REG_SEC0_SCTL19) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL20 ((volatile uint32_t *)REG_SEC0_SCTL20) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL21 ((volatile uint32_t *)REG_SEC0_SCTL21) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL22 ((volatile uint32_t *)REG_SEC0_SCTL22) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL23 ((volatile uint32_t *)REG_SEC0_SCTL23) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL24 ((volatile uint32_t *)REG_SEC0_SCTL24) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL25 ((volatile uint32_t *)REG_SEC0_SCTL25) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL26 ((volatile uint32_t *)REG_SEC0_SCTL26) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL27 ((volatile uint32_t *)REG_SEC0_SCTL27) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL28 ((volatile uint32_t *)REG_SEC0_SCTL28) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL29 ((volatile uint32_t *)REG_SEC0_SCTL29) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL30 ((volatile uint32_t *)REG_SEC0_SCTL30) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL31 ((volatile uint32_t *)REG_SEC0_SCTL31) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL32 ((volatile uint32_t *)REG_SEC0_SCTL32) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL33 ((volatile uint32_t *)REG_SEC0_SCTL33) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL34 ((volatile uint32_t *)REG_SEC0_SCTL34) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL35 ((volatile uint32_t *)REG_SEC0_SCTL35) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL36 ((volatile uint32_t *)REG_SEC0_SCTL36) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL37 ((volatile uint32_t *)REG_SEC0_SCTL37) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL38 ((volatile uint32_t *)REG_SEC0_SCTL38) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL39 ((volatile uint32_t *)REG_SEC0_SCTL39) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL40 ((volatile uint32_t *)REG_SEC0_SCTL40) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL41 ((volatile uint32_t *)REG_SEC0_SCTL41) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL42 ((volatile uint32_t *)REG_SEC0_SCTL42) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL43 ((volatile uint32_t *)REG_SEC0_SCTL43) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL44 ((volatile uint32_t *)REG_SEC0_SCTL44) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL45 ((volatile uint32_t *)REG_SEC0_SCTL45) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL46 ((volatile uint32_t *)REG_SEC0_SCTL46) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL47 ((volatile uint32_t *)REG_SEC0_SCTL47) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL48 ((volatile uint32_t *)REG_SEC0_SCTL48) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL49 ((volatile uint32_t *)REG_SEC0_SCTL49) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL50 ((volatile uint32_t *)REG_SEC0_SCTL50) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL51 ((volatile uint32_t *)REG_SEC0_SCTL51) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL52 ((volatile uint32_t *)REG_SEC0_SCTL52) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL53 ((volatile uint32_t *)REG_SEC0_SCTL53) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL54 ((volatile uint32_t *)REG_SEC0_SCTL54) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL55 ((volatile uint32_t *)REG_SEC0_SCTL55) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL56 ((volatile uint32_t *)REG_SEC0_SCTL56) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL57 ((volatile uint32_t *)REG_SEC0_SCTL57) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL58 ((volatile uint32_t *)REG_SEC0_SCTL58) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL59 ((volatile uint32_t *)REG_SEC0_SCTL59) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL60 ((volatile uint32_t *)REG_SEC0_SCTL60) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL61 ((volatile uint32_t *)REG_SEC0_SCTL61) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL62 ((volatile uint32_t *)REG_SEC0_SCTL62) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL63 ((volatile uint32_t *)REG_SEC0_SCTL63) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL64 ((volatile uint32_t *)REG_SEC0_SCTL64) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL65 ((volatile uint32_t *)REG_SEC0_SCTL65) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL66 ((volatile uint32_t *)REG_SEC0_SCTL66) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL67 ((volatile uint32_t *)REG_SEC0_SCTL67) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL68 ((volatile uint32_t *)REG_SEC0_SCTL68) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL69 ((volatile uint32_t *)REG_SEC0_SCTL69) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL70 ((volatile uint32_t *)REG_SEC0_SCTL70) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL71 ((volatile uint32_t *)REG_SEC0_SCTL71) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL72 ((volatile uint32_t *)REG_SEC0_SCTL72) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL73 ((volatile uint32_t *)REG_SEC0_SCTL73) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL74 ((volatile uint32_t *)REG_SEC0_SCTL74) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL75 ((volatile uint32_t *)REG_SEC0_SCTL75) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL76 ((volatile uint32_t *)REG_SEC0_SCTL76) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL77 ((volatile uint32_t *)REG_SEC0_SCTL77) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL78 ((volatile uint32_t *)REG_SEC0_SCTL78) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL79 ((volatile uint32_t *)REG_SEC0_SCTL79) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL80 ((volatile uint32_t *)REG_SEC0_SCTL80) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL81 ((volatile uint32_t *)REG_SEC0_SCTL81) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL82 ((volatile uint32_t *)REG_SEC0_SCTL82) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL83 ((volatile uint32_t *)REG_SEC0_SCTL83) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL84 ((volatile uint32_t *)REG_SEC0_SCTL84) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL85 ((volatile uint32_t *)REG_SEC0_SCTL85) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL86 ((volatile uint32_t *)REG_SEC0_SCTL86) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL87 ((volatile uint32_t *)REG_SEC0_SCTL87) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL88 ((volatile uint32_t *)REG_SEC0_SCTL88) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL89 ((volatile uint32_t *)REG_SEC0_SCTL89) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL90 ((volatile uint32_t *)REG_SEC0_SCTL90) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL91 ((volatile uint32_t *)REG_SEC0_SCTL91) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL92 ((volatile uint32_t *)REG_SEC0_SCTL92) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL93 ((volatile uint32_t *)REG_SEC0_SCTL93) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL94 ((volatile uint32_t *)REG_SEC0_SCTL94) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL95 ((volatile uint32_t *)REG_SEC0_SCTL95) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL96 ((volatile uint32_t *)REG_SEC0_SCTL96) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL97 ((volatile uint32_t *)REG_SEC0_SCTL97) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL98 ((volatile uint32_t *)REG_SEC0_SCTL98) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL99 ((volatile uint32_t *)REG_SEC0_SCTL99) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL100 ((volatile uint32_t *)REG_SEC0_SCTL100) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL101 ((volatile uint32_t *)REG_SEC0_SCTL101) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL102 ((volatile uint32_t *)REG_SEC0_SCTL102) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL103 ((volatile uint32_t *)REG_SEC0_SCTL103) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL104 ((volatile uint32_t *)REG_SEC0_SCTL104) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL105 ((volatile uint32_t *)REG_SEC0_SCTL105) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL106 ((volatile uint32_t *)REG_SEC0_SCTL106) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL107 ((volatile uint32_t *)REG_SEC0_SCTL107) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL108 ((volatile uint32_t *)REG_SEC0_SCTL108) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL109 ((volatile uint32_t *)REG_SEC0_SCTL109) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL110 ((volatile uint32_t *)REG_SEC0_SCTL110) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL111 ((volatile uint32_t *)REG_SEC0_SCTL111) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL112 ((volatile uint32_t *)REG_SEC0_SCTL112) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL113 ((volatile uint32_t *)REG_SEC0_SCTL113) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL114 ((volatile uint32_t *)REG_SEC0_SCTL114) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL115 ((volatile uint32_t *)REG_SEC0_SCTL115) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL116 ((volatile uint32_t *)REG_SEC0_SCTL116) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL117 ((volatile uint32_t *)REG_SEC0_SCTL117) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL118 ((volatile uint32_t *)REG_SEC0_SCTL118) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL119 ((volatile uint32_t *)REG_SEC0_SCTL119) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL120 ((volatile uint32_t *)REG_SEC0_SCTL120) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL121 ((volatile uint32_t *)REG_SEC0_SCTL121) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL122 ((volatile uint32_t *)REG_SEC0_SCTL122) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL123 ((volatile uint32_t *)REG_SEC0_SCTL123) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL124 ((volatile uint32_t *)REG_SEC0_SCTL124) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL125 ((volatile uint32_t *)REG_SEC0_SCTL125) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL126 ((volatile uint32_t *)REG_SEC0_SCTL126) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL127 ((volatile uint32_t *)REG_SEC0_SCTL127) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL128 ((volatile uint32_t *)REG_SEC0_SCTL128) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL129 ((volatile uint32_t *)REG_SEC0_SCTL129) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL130 ((volatile uint32_t *)REG_SEC0_SCTL130) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL131 ((volatile uint32_t *)REG_SEC0_SCTL131) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL132 ((volatile uint32_t *)REG_SEC0_SCTL132) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL133 ((volatile uint32_t *)REG_SEC0_SCTL133) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL134 ((volatile uint32_t *)REG_SEC0_SCTL134) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL135 ((volatile uint32_t *)REG_SEC0_SCTL135) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL136 ((volatile uint32_t *)REG_SEC0_SCTL136) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL137 ((volatile uint32_t *)REG_SEC0_SCTL137) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL138 ((volatile uint32_t *)REG_SEC0_SCTL138) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL139 ((volatile uint32_t *)REG_SEC0_SCTL139) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SSTAT0 ((volatile uint32_t *)REG_SEC0_SSTAT0) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT1 ((volatile uint32_t *)REG_SEC0_SSTAT1) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT2 ((volatile uint32_t *)REG_SEC0_SSTAT2) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT3 ((volatile uint32_t *)REG_SEC0_SSTAT3) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT4 ((volatile uint32_t *)REG_SEC0_SSTAT4) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT5 ((volatile uint32_t *)REG_SEC0_SSTAT5) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT6 ((volatile uint32_t *)REG_SEC0_SSTAT6) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT7 ((volatile uint32_t *)REG_SEC0_SSTAT7) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT8 ((volatile uint32_t *)REG_SEC0_SSTAT8) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT9 ((volatile uint32_t *)REG_SEC0_SSTAT9) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT10 ((volatile uint32_t *)REG_SEC0_SSTAT10) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT11 ((volatile uint32_t *)REG_SEC0_SSTAT11) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT12 ((volatile uint32_t *)REG_SEC0_SSTAT12) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT13 ((volatile uint32_t *)REG_SEC0_SSTAT13) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT14 ((volatile uint32_t *)REG_SEC0_SSTAT14) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT15 ((volatile uint32_t *)REG_SEC0_SSTAT15) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT16 ((volatile uint32_t *)REG_SEC0_SSTAT16) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT17 ((volatile uint32_t *)REG_SEC0_SSTAT17) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT18 ((volatile uint32_t *)REG_SEC0_SSTAT18) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT19 ((volatile uint32_t *)REG_SEC0_SSTAT19) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT20 ((volatile uint32_t *)REG_SEC0_SSTAT20) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT21 ((volatile uint32_t *)REG_SEC0_SSTAT21) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT22 ((volatile uint32_t *)REG_SEC0_SSTAT22) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT23 ((volatile uint32_t *)REG_SEC0_SSTAT23) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT24 ((volatile uint32_t *)REG_SEC0_SSTAT24) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT25 ((volatile uint32_t *)REG_SEC0_SSTAT25) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT26 ((volatile uint32_t *)REG_SEC0_SSTAT26) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT27 ((volatile uint32_t *)REG_SEC0_SSTAT27) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT28 ((volatile uint32_t *)REG_SEC0_SSTAT28) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT29 ((volatile uint32_t *)REG_SEC0_SSTAT29) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT30 ((volatile uint32_t *)REG_SEC0_SSTAT30) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT31 ((volatile uint32_t *)REG_SEC0_SSTAT31) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT32 ((volatile uint32_t *)REG_SEC0_SSTAT32) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT33 ((volatile uint32_t *)REG_SEC0_SSTAT33) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT34 ((volatile uint32_t *)REG_SEC0_SSTAT34) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT35 ((volatile uint32_t *)REG_SEC0_SSTAT35) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT36 ((volatile uint32_t *)REG_SEC0_SSTAT36) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT37 ((volatile uint32_t *)REG_SEC0_SSTAT37) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT38 ((volatile uint32_t *)REG_SEC0_SSTAT38) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT39 ((volatile uint32_t *)REG_SEC0_SSTAT39) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT40 ((volatile uint32_t *)REG_SEC0_SSTAT40) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT41 ((volatile uint32_t *)REG_SEC0_SSTAT41) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT42 ((volatile uint32_t *)REG_SEC0_SSTAT42) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT43 ((volatile uint32_t *)REG_SEC0_SSTAT43) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT44 ((volatile uint32_t *)REG_SEC0_SSTAT44) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT45 ((volatile uint32_t *)REG_SEC0_SSTAT45) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT46 ((volatile uint32_t *)REG_SEC0_SSTAT46) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT47 ((volatile uint32_t *)REG_SEC0_SSTAT47) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT48 ((volatile uint32_t *)REG_SEC0_SSTAT48) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT49 ((volatile uint32_t *)REG_SEC0_SSTAT49) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT50 ((volatile uint32_t *)REG_SEC0_SSTAT50) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT51 ((volatile uint32_t *)REG_SEC0_SSTAT51) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT52 ((volatile uint32_t *)REG_SEC0_SSTAT52) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT53 ((volatile uint32_t *)REG_SEC0_SSTAT53) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT54 ((volatile uint32_t *)REG_SEC0_SSTAT54) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT55 ((volatile uint32_t *)REG_SEC0_SSTAT55) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT56 ((volatile uint32_t *)REG_SEC0_SSTAT56) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT57 ((volatile uint32_t *)REG_SEC0_SSTAT57) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT58 ((volatile uint32_t *)REG_SEC0_SSTAT58) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT59 ((volatile uint32_t *)REG_SEC0_SSTAT59) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT60 ((volatile uint32_t *)REG_SEC0_SSTAT60) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT61 ((volatile uint32_t *)REG_SEC0_SSTAT61) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT62 ((volatile uint32_t *)REG_SEC0_SSTAT62) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT63 ((volatile uint32_t *)REG_SEC0_SSTAT63) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT64 ((volatile uint32_t *)REG_SEC0_SSTAT64) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT65 ((volatile uint32_t *)REG_SEC0_SSTAT65) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT66 ((volatile uint32_t *)REG_SEC0_SSTAT66) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT67 ((volatile uint32_t *)REG_SEC0_SSTAT67) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT68 ((volatile uint32_t *)REG_SEC0_SSTAT68) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT69 ((volatile uint32_t *)REG_SEC0_SSTAT69) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT70 ((volatile uint32_t *)REG_SEC0_SSTAT70) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT71 ((volatile uint32_t *)REG_SEC0_SSTAT71) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT72 ((volatile uint32_t *)REG_SEC0_SSTAT72) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT73 ((volatile uint32_t *)REG_SEC0_SSTAT73) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT74 ((volatile uint32_t *)REG_SEC0_SSTAT74) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT75 ((volatile uint32_t *)REG_SEC0_SSTAT75) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT76 ((volatile uint32_t *)REG_SEC0_SSTAT76) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT77 ((volatile uint32_t *)REG_SEC0_SSTAT77) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT78 ((volatile uint32_t *)REG_SEC0_SSTAT78) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT79 ((volatile uint32_t *)REG_SEC0_SSTAT79) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT80 ((volatile uint32_t *)REG_SEC0_SSTAT80) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT81 ((volatile uint32_t *)REG_SEC0_SSTAT81) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT82 ((volatile uint32_t *)REG_SEC0_SSTAT82) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT83 ((volatile uint32_t *)REG_SEC0_SSTAT83) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT84 ((volatile uint32_t *)REG_SEC0_SSTAT84) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT85 ((volatile uint32_t *)REG_SEC0_SSTAT85) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT86 ((volatile uint32_t *)REG_SEC0_SSTAT86) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT87 ((volatile uint32_t *)REG_SEC0_SSTAT87) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT88 ((volatile uint32_t *)REG_SEC0_SSTAT88) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT89 ((volatile uint32_t *)REG_SEC0_SSTAT89) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT90 ((volatile uint32_t *)REG_SEC0_SSTAT90) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT91 ((volatile uint32_t *)REG_SEC0_SSTAT91) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT92 ((volatile uint32_t *)REG_SEC0_SSTAT92) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT93 ((volatile uint32_t *)REG_SEC0_SSTAT93) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT94 ((volatile uint32_t *)REG_SEC0_SSTAT94) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT95 ((volatile uint32_t *)REG_SEC0_SSTAT95) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT96 ((volatile uint32_t *)REG_SEC0_SSTAT96) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT97 ((volatile uint32_t *)REG_SEC0_SSTAT97) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT98 ((volatile uint32_t *)REG_SEC0_SSTAT98) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT99 ((volatile uint32_t *)REG_SEC0_SSTAT99) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT100 ((volatile uint32_t *)REG_SEC0_SSTAT100) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT101 ((volatile uint32_t *)REG_SEC0_SSTAT101) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT102 ((volatile uint32_t *)REG_SEC0_SSTAT102) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT103 ((volatile uint32_t *)REG_SEC0_SSTAT103) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT104 ((volatile uint32_t *)REG_SEC0_SSTAT104) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT105 ((volatile uint32_t *)REG_SEC0_SSTAT105) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT106 ((volatile uint32_t *)REG_SEC0_SSTAT106) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT107 ((volatile uint32_t *)REG_SEC0_SSTAT107) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT108 ((volatile uint32_t *)REG_SEC0_SSTAT108) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT109 ((volatile uint32_t *)REG_SEC0_SSTAT109) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT110 ((volatile uint32_t *)REG_SEC0_SSTAT110) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT111 ((volatile uint32_t *)REG_SEC0_SSTAT111) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT112 ((volatile uint32_t *)REG_SEC0_SSTAT112) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT113 ((volatile uint32_t *)REG_SEC0_SSTAT113) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT114 ((volatile uint32_t *)REG_SEC0_SSTAT114) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT115 ((volatile uint32_t *)REG_SEC0_SSTAT115) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT116 ((volatile uint32_t *)REG_SEC0_SSTAT116) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT117 ((volatile uint32_t *)REG_SEC0_SSTAT117) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT118 ((volatile uint32_t *)REG_SEC0_SSTAT118) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT119 ((volatile uint32_t *)REG_SEC0_SSTAT119) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT120 ((volatile uint32_t *)REG_SEC0_SSTAT120) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT121 ((volatile uint32_t *)REG_SEC0_SSTAT121) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT122 ((volatile uint32_t *)REG_SEC0_SSTAT122) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT123 ((volatile uint32_t *)REG_SEC0_SSTAT123) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT124 ((volatile uint32_t *)REG_SEC0_SSTAT124) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT125 ((volatile uint32_t *)REG_SEC0_SSTAT125) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT126 ((volatile uint32_t *)REG_SEC0_SSTAT126) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT127 ((volatile uint32_t *)REG_SEC0_SSTAT127) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT128 ((volatile uint32_t *)REG_SEC0_SSTAT128) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT129 ((volatile uint32_t *)REG_SEC0_SSTAT129) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT130 ((volatile uint32_t *)REG_SEC0_SSTAT130) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT131 ((volatile uint32_t *)REG_SEC0_SSTAT131) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT132 ((volatile uint32_t *)REG_SEC0_SSTAT132) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT133 ((volatile uint32_t *)REG_SEC0_SSTAT133) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT134 ((volatile uint32_t *)REG_SEC0_SSTAT134) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT135 ((volatile uint32_t *)REG_SEC0_SSTAT135) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT136 ((volatile uint32_t *)REG_SEC0_SSTAT136) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT137 ((volatile uint32_t *)REG_SEC0_SSTAT137) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT138 ((volatile uint32_t *)REG_SEC0_SSTAT138) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT139 ((volatile uint32_t *)REG_SEC0_SSTAT139) /* SEC0 Source Status Register n */
-
-
-/* =========================================================================
- TRU0
- ========================================================================= */
-#define pREG_TRU0_SSR0 ((volatile uint32_t *)REG_TRU0_SSR0) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR1 ((volatile uint32_t *)REG_TRU0_SSR1) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR2 ((volatile uint32_t *)REG_TRU0_SSR2) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR3 ((volatile uint32_t *)REG_TRU0_SSR3) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR4 ((volatile uint32_t *)REG_TRU0_SSR4) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR5 ((volatile uint32_t *)REG_TRU0_SSR5) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR6 ((volatile uint32_t *)REG_TRU0_SSR6) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR7 ((volatile uint32_t *)REG_TRU0_SSR7) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR8 ((volatile uint32_t *)REG_TRU0_SSR8) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR9 ((volatile uint32_t *)REG_TRU0_SSR9) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR10 ((volatile uint32_t *)REG_TRU0_SSR10) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR11 ((volatile uint32_t *)REG_TRU0_SSR11) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR12 ((volatile uint32_t *)REG_TRU0_SSR12) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR13 ((volatile uint32_t *)REG_TRU0_SSR13) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR14 ((volatile uint32_t *)REG_TRU0_SSR14) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR15 ((volatile uint32_t *)REG_TRU0_SSR15) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR16 ((volatile uint32_t *)REG_TRU0_SSR16) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR17 ((volatile uint32_t *)REG_TRU0_SSR17) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR18 ((volatile uint32_t *)REG_TRU0_SSR18) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR19 ((volatile uint32_t *)REG_TRU0_SSR19) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR20 ((volatile uint32_t *)REG_TRU0_SSR20) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR21 ((volatile uint32_t *)REG_TRU0_SSR21) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR22 ((volatile uint32_t *)REG_TRU0_SSR22) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR23 ((volatile uint32_t *)REG_TRU0_SSR23) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR24 ((volatile uint32_t *)REG_TRU0_SSR24) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR25 ((volatile uint32_t *)REG_TRU0_SSR25) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR26 ((volatile uint32_t *)REG_TRU0_SSR26) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR27 ((volatile uint32_t *)REG_TRU0_SSR27) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR28 ((volatile uint32_t *)REG_TRU0_SSR28) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR29 ((volatile uint32_t *)REG_TRU0_SSR29) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR30 ((volatile uint32_t *)REG_TRU0_SSR30) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR31 ((volatile uint32_t *)REG_TRU0_SSR31) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR32 ((volatile uint32_t *)REG_TRU0_SSR32) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR33 ((volatile uint32_t *)REG_TRU0_SSR33) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR34 ((volatile uint32_t *)REG_TRU0_SSR34) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR35 ((volatile uint32_t *)REG_TRU0_SSR35) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR36 ((volatile uint32_t *)REG_TRU0_SSR36) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR37 ((volatile uint32_t *)REG_TRU0_SSR37) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR38 ((volatile uint32_t *)REG_TRU0_SSR38) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR39 ((volatile uint32_t *)REG_TRU0_SSR39) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR40 ((volatile uint32_t *)REG_TRU0_SSR40) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR41 ((volatile uint32_t *)REG_TRU0_SSR41) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR42 ((volatile uint32_t *)REG_TRU0_SSR42) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR43 ((volatile uint32_t *)REG_TRU0_SSR43) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR44 ((volatile uint32_t *)REG_TRU0_SSR44) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR45 ((volatile uint32_t *)REG_TRU0_SSR45) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR46 ((volatile uint32_t *)REG_TRU0_SSR46) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR47 ((volatile uint32_t *)REG_TRU0_SSR47) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR48 ((volatile uint32_t *)REG_TRU0_SSR48) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR49 ((volatile uint32_t *)REG_TRU0_SSR49) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR50 ((volatile uint32_t *)REG_TRU0_SSR50) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR51 ((volatile uint32_t *)REG_TRU0_SSR51) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR52 ((volatile uint32_t *)REG_TRU0_SSR52) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR53 ((volatile uint32_t *)REG_TRU0_SSR53) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR54 ((volatile uint32_t *)REG_TRU0_SSR54) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR55 ((volatile uint32_t *)REG_TRU0_SSR55) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR56 ((volatile uint32_t *)REG_TRU0_SSR56) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR57 ((volatile uint32_t *)REG_TRU0_SSR57) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR58 ((volatile uint32_t *)REG_TRU0_SSR58) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR59 ((volatile uint32_t *)REG_TRU0_SSR59) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR60 ((volatile uint32_t *)REG_TRU0_SSR60) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR61 ((volatile uint32_t *)REG_TRU0_SSR61) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR62 ((volatile uint32_t *)REG_TRU0_SSR62) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR63 ((volatile uint32_t *)REG_TRU0_SSR63) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR64 ((volatile uint32_t *)REG_TRU0_SSR64) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR65 ((volatile uint32_t *)REG_TRU0_SSR65) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR66 ((volatile uint32_t *)REG_TRU0_SSR66) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR67 ((volatile uint32_t *)REG_TRU0_SSR67) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR68 ((volatile uint32_t *)REG_TRU0_SSR68) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR69 ((volatile uint32_t *)REG_TRU0_SSR69) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR70 ((volatile uint32_t *)REG_TRU0_SSR70) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR71 ((volatile uint32_t *)REG_TRU0_SSR71) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR72 ((volatile uint32_t *)REG_TRU0_SSR72) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR73 ((volatile uint32_t *)REG_TRU0_SSR73) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR74 ((volatile uint32_t *)REG_TRU0_SSR74) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR75 ((volatile uint32_t *)REG_TRU0_SSR75) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR76 ((volatile uint32_t *)REG_TRU0_SSR76) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR77 ((volatile uint32_t *)REG_TRU0_SSR77) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR78 ((volatile uint32_t *)REG_TRU0_SSR78) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR79 ((volatile uint32_t *)REG_TRU0_SSR79) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR80 ((volatile uint32_t *)REG_TRU0_SSR80) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR81 ((volatile uint32_t *)REG_TRU0_SSR81) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR82 ((volatile uint32_t *)REG_TRU0_SSR82) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR83 ((volatile uint32_t *)REG_TRU0_SSR83) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR84 ((volatile uint32_t *)REG_TRU0_SSR84) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR85 ((volatile uint32_t *)REG_TRU0_SSR85) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR86 ((volatile uint32_t *)REG_TRU0_SSR86) /* TRU0 Slave Select Register */
-#define pREG_TRU0_MTR ((volatile uint32_t *)REG_TRU0_MTR) /* TRU0 Master Trigger Register */
-#define pREG_TRU0_ERRADDR ((volatile uint32_t *)REG_TRU0_ERRADDR) /* TRU0 Error Address Register */
-#define pREG_TRU0_STAT ((volatile uint32_t *)REG_TRU0_STAT) /* TRU0 Status Information Register */
-#define pREG_TRU0_REVID ((volatile uint32_t *)REG_TRU0_REVID) /* TRU0 Revision ID Register */
-#define pREG_TRU0_GCTL ((volatile uint32_t *)REG_TRU0_GCTL) /* TRU0 Global Control Register */
-
-
-/* =========================================================================
- RCU0
- ========================================================================= */
-#define pREG_RCU0_CTL ((volatile uint32_t *)REG_RCU0_CTL) /* RCU0 Control Register */
-#define pREG_RCU0_STAT ((volatile uint32_t *)REG_RCU0_STAT) /* RCU0 Status Register */
-#define pREG_RCU0_CRCTL ((volatile uint32_t *)REG_RCU0_CRCTL) /* RCU0 Core Reset Control Register */
-#define pREG_RCU0_CRSTAT ((volatile uint32_t *)REG_RCU0_CRSTAT) /* RCU0 Core Reset Status Register */
-#define pREG_RCU0_SIDIS ((volatile uint32_t *)REG_RCU0_SIDIS) /* RCU0 System Interface Disable Register */
-#define pREG_RCU0_SISTAT ((volatile uint32_t *)REG_RCU0_SISTAT) /* RCU0 System Interface Status Register */
-#define pREG_RCU0_SVECT_LCK ((volatile uint32_t *)REG_RCU0_SVECT_LCK) /* RCU0 SVECT Lock Register */
-#define pREG_RCU0_BCODE ((volatile uint32_t *)REG_RCU0_BCODE) /* RCU0 Boot Code Register */
-#define pREG_RCU0_SVECT0 ((void * volatile *)REG_RCU0_SVECT0) /* RCU0 Software Vector Register n */
-#define pREG_RCU0_SVECT1 ((void * volatile *)REG_RCU0_SVECT1) /* RCU0 Software Vector Register n */
-
-
-/* =========================================================================
- SPU0
- ========================================================================= */
-#define pREG_SPU0_CTL ((volatile uint32_t *)REG_SPU0_CTL) /* SPU0 Control Register */
-#define pREG_SPU0_STAT ((volatile uint32_t *)REG_SPU0_STAT) /* SPU0 Status Register */
-#define pREG_SPU0_WP0 ((volatile uint32_t *)REG_SPU0_WP0) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP1 ((volatile uint32_t *)REG_SPU0_WP1) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP2 ((volatile uint32_t *)REG_SPU0_WP2) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP3 ((volatile uint32_t *)REG_SPU0_WP3) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP4 ((volatile uint32_t *)REG_SPU0_WP4) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP5 ((volatile uint32_t *)REG_SPU0_WP5) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP6 ((volatile uint32_t *)REG_SPU0_WP6) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP7 ((volatile uint32_t *)REG_SPU0_WP7) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP8 ((volatile uint32_t *)REG_SPU0_WP8) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP9 ((volatile uint32_t *)REG_SPU0_WP9) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP10 ((volatile uint32_t *)REG_SPU0_WP10) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP11 ((volatile uint32_t *)REG_SPU0_WP11) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP12 ((volatile uint32_t *)REG_SPU0_WP12) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP13 ((volatile uint32_t *)REG_SPU0_WP13) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP14 ((volatile uint32_t *)REG_SPU0_WP14) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP15 ((volatile uint32_t *)REG_SPU0_WP15) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP16 ((volatile uint32_t *)REG_SPU0_WP16) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP17 ((volatile uint32_t *)REG_SPU0_WP17) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP18 ((volatile uint32_t *)REG_SPU0_WP18) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP19 ((volatile uint32_t *)REG_SPU0_WP19) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP20 ((volatile uint32_t *)REG_SPU0_WP20) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP21 ((volatile uint32_t *)REG_SPU0_WP21) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP22 ((volatile uint32_t *)REG_SPU0_WP22) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP23 ((volatile uint32_t *)REG_SPU0_WP23) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP24 ((volatile uint32_t *)REG_SPU0_WP24) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP25 ((volatile uint32_t *)REG_SPU0_WP25) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP26 ((volatile uint32_t *)REG_SPU0_WP26) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP27 ((volatile uint32_t *)REG_SPU0_WP27) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP28 ((volatile uint32_t *)REG_SPU0_WP28) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP29 ((volatile uint32_t *)REG_SPU0_WP29) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP30 ((volatile uint32_t *)REG_SPU0_WP30) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP31 ((volatile uint32_t *)REG_SPU0_WP31) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP32 ((volatile uint32_t *)REG_SPU0_WP32) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP33 ((volatile uint32_t *)REG_SPU0_WP33) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP34 ((volatile uint32_t *)REG_SPU0_WP34) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP35 ((volatile uint32_t *)REG_SPU0_WP35) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP36 ((volatile uint32_t *)REG_SPU0_WP36) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP37 ((volatile uint32_t *)REG_SPU0_WP37) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP38 ((volatile uint32_t *)REG_SPU0_WP38) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP39 ((volatile uint32_t *)REG_SPU0_WP39) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP40 ((volatile uint32_t *)REG_SPU0_WP40) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP41 ((volatile uint32_t *)REG_SPU0_WP41) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP42 ((volatile uint32_t *)REG_SPU0_WP42) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP43 ((volatile uint32_t *)REG_SPU0_WP43) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP44 ((volatile uint32_t *)REG_SPU0_WP44) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP45 ((volatile uint32_t *)REG_SPU0_WP45) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP46 ((volatile uint32_t *)REG_SPU0_WP46) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP47 ((volatile uint32_t *)REG_SPU0_WP47) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP48 ((volatile uint32_t *)REG_SPU0_WP48) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP49 ((volatile uint32_t *)REG_SPU0_WP49) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP50 ((volatile uint32_t *)REG_SPU0_WP50) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP51 ((volatile uint32_t *)REG_SPU0_WP51) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP52 ((volatile uint32_t *)REG_SPU0_WP52) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP53 ((volatile uint32_t *)REG_SPU0_WP53) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP54 ((volatile uint32_t *)REG_SPU0_WP54) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP55 ((volatile uint32_t *)REG_SPU0_WP55) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP56 ((volatile uint32_t *)REG_SPU0_WP56) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP57 ((volatile uint32_t *)REG_SPU0_WP57) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP58 ((volatile uint32_t *)REG_SPU0_WP58) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP59 ((volatile uint32_t *)REG_SPU0_WP59) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP60 ((volatile uint32_t *)REG_SPU0_WP60) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP61 ((volatile uint32_t *)REG_SPU0_WP61) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP62 ((volatile uint32_t *)REG_SPU0_WP62) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP63 ((volatile uint32_t *)REG_SPU0_WP63) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP64 ((volatile uint32_t *)REG_SPU0_WP64) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP65 ((volatile uint32_t *)REG_SPU0_WP65) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP66 ((volatile uint32_t *)REG_SPU0_WP66) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP67 ((volatile uint32_t *)REG_SPU0_WP67) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP68 ((volatile uint32_t *)REG_SPU0_WP68) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP69 ((volatile uint32_t *)REG_SPU0_WP69) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP70 ((volatile uint32_t *)REG_SPU0_WP70) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP71 ((volatile uint32_t *)REG_SPU0_WP71) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP72 ((volatile uint32_t *)REG_SPU0_WP72) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP73 ((volatile uint32_t *)REG_SPU0_WP73) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP74 ((volatile uint32_t *)REG_SPU0_WP74) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP75 ((volatile uint32_t *)REG_SPU0_WP75) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP76 ((volatile uint32_t *)REG_SPU0_WP76) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP77 ((volatile uint32_t *)REG_SPU0_WP77) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP78 ((volatile uint32_t *)REG_SPU0_WP78) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP79 ((volatile uint32_t *)REG_SPU0_WP79) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP80 ((volatile uint32_t *)REG_SPU0_WP80) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP81 ((volatile uint32_t *)REG_SPU0_WP81) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP82 ((volatile uint32_t *)REG_SPU0_WP82) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP83 ((volatile uint32_t *)REG_SPU0_WP83) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP84 ((volatile uint32_t *)REG_SPU0_WP84) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP85 ((volatile uint32_t *)REG_SPU0_WP85) /* SPU0 Write Protect Register n */
-
-
-/* =========================================================================
- CGU0
- ========================================================================= */
-#define pREG_CGU0_CTL ((volatile uint32_t *)REG_CGU0_CTL) /* CGU0 Control Register */
-#define pREG_CGU0_STAT ((volatile uint32_t *)REG_CGU0_STAT) /* CGU0 Status Register */
-#define pREG_CGU0_DIV ((volatile uint32_t *)REG_CGU0_DIV) /* CGU0 Divisor Register */
-#define pREG_CGU0_CLKOUTSEL ((volatile uint32_t *)REG_CGU0_CLKOUTSEL) /* CGU0 CLKOUT Select Register */
-
-
-/* =========================================================================
- DPM0
- ========================================================================= */
-#define pREG_DPM0_CTL ((volatile uint32_t *)REG_DPM0_CTL) /* DPM0 Control Register */
-#define pREG_DPM0_STAT ((volatile uint32_t *)REG_DPM0_STAT) /* DPM0 Status Register */
-#define pREG_DPM0_CCBF_DIS ((volatile uint32_t *)REG_DPM0_CCBF_DIS) /* DPM0 Core Clock Buffer Disable Register */
-#define pREG_DPM0_CCBF_EN ((volatile uint32_t *)REG_DPM0_CCBF_EN) /* DPM0 Core Clock Buffer Enable Register */
-#define pREG_DPM0_CCBF_STAT ((volatile uint32_t *)REG_DPM0_CCBF_STAT) /* DPM0 Core Clock Buffer Status Register */
-#define pREG_DPM0_CCBF_STAT_STKY ((volatile uint32_t *)REG_DPM0_CCBF_STAT_STKY) /* DPM0 Core Clock Buffer Status Sticky Register */
-#define pREG_DPM0_SCBF_DIS ((volatile uint32_t *)REG_DPM0_SCBF_DIS) /* DPM0 System Clock Buffer Disable Register */
-#define pREG_DPM0_WAKE_EN ((volatile uint32_t *)REG_DPM0_WAKE_EN) /* DPM0 Wakeup Enable Register */
-#define pREG_DPM0_WAKE_POL ((volatile uint32_t *)REG_DPM0_WAKE_POL) /* DPM0 Wakeup Polarity Register */
-#define pREG_DPM0_WAKE_STAT ((volatile uint32_t *)REG_DPM0_WAKE_STAT) /* DPM0 Wakeup Status Register */
-#define pREG_DPM0_HIB_DIS ((volatile uint32_t *)REG_DPM0_HIB_DIS) /* DPM0 Hibernate Disable Register */
-#define pREG_DPM0_PGCNTR ((volatile uint32_t *)REG_DPM0_PGCNTR) /* DPM0 Power Good Counter Register */
-#define pREG_DPM0_RESTORE0 ((volatile uint32_t *)REG_DPM0_RESTORE0) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE1 ((volatile uint32_t *)REG_DPM0_RESTORE1) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE2 ((volatile uint32_t *)REG_DPM0_RESTORE2) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE3 ((volatile uint32_t *)REG_DPM0_RESTORE3) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE4 ((volatile uint32_t *)REG_DPM0_RESTORE4) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE5 ((volatile uint32_t *)REG_DPM0_RESTORE5) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE6 ((volatile uint32_t *)REG_DPM0_RESTORE6) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE7 ((volatile uint32_t *)REG_DPM0_RESTORE7) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE8 ((volatile uint32_t *)REG_DPM0_RESTORE8) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE9 ((volatile uint32_t *)REG_DPM0_RESTORE9) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE10 ((volatile uint32_t *)REG_DPM0_RESTORE10) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE11 ((volatile uint32_t *)REG_DPM0_RESTORE11) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE12 ((volatile uint32_t *)REG_DPM0_RESTORE12) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE13 ((volatile uint32_t *)REG_DPM0_RESTORE13) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE14 ((volatile uint32_t *)REG_DPM0_RESTORE14) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE15 ((volatile uint32_t *)REG_DPM0_RESTORE15) /* DPM0 Restore n Register */
-
-
-/* =========================================================================
- EFS0
- ========================================================================= */
-#define pREG_EFS0_CTL ((volatile uint32_t *)REG_EFS0_CTL) /* EFS0 Control Register */
-#define pREG_EFS0_DAT0 ((volatile uint32_t *)REG_EFS0_DAT0) /* EFS0 Data Register 0 */
-#define pREG_EFS0_DAT1 ((volatile uint32_t *)REG_EFS0_DAT1) /* EFS0 Data Register 1 */
-#define pREG_EFS0_DAT2 ((volatile uint32_t *)REG_EFS0_DAT2) /* EFS0 Data Register 2 */
-#define pREG_EFS0_DAT3 ((volatile uint32_t *)REG_EFS0_DAT3) /* EFS0 Data Register 3 */
-#define pREG_EFS0_DAT4 ((volatile uint32_t *)REG_EFS0_DAT4) /* EFS0 Data Register 4 */
-#define pREG_EFS0_DAT5 ((volatile uint32_t *)REG_EFS0_DAT5) /* EFS0 Data Register 5 */
-#define pREG_EFS0_DAT6 ((volatile uint32_t *)REG_EFS0_DAT6) /* EFS0 Data Register 6 */
-#define pREG_EFS0_DAT7 ((volatile uint32_t *)REG_EFS0_DAT7) /* EFS0 Data Register 7 */
-
-
-/* =========================================================================
- USB0
- ========================================================================= */
-#define pREG_USB0_FADDR ((volatile uint8_t *)REG_USB0_FADDR) /* USB0 Function Address Register */
-#define pREG_USB0_POWER ((volatile uint8_t *)REG_USB0_POWER) /* USB0 Power and Device Control Register */
-#define pREG_USB0_INTRTX ((volatile uint16_t *)REG_USB0_INTRTX) /* USB0 Transmit Interrupt Register */
-#define pREG_USB0_INTRRX ((volatile uint16_t *)REG_USB0_INTRRX) /* USB0 Receive Interrupt Register */
-#define pREG_USB0_INTRTXE ((volatile uint16_t *)REG_USB0_INTRTXE) /* USB0 Transmit Interrupt Enable Register */
-#define pREG_USB0_INTRRXE ((volatile uint16_t *)REG_USB0_INTRRXE) /* USB0 Receive Interrupt Enable Register */
-#define pREG_USB0_IRQ ((volatile uint8_t *)REG_USB0_IRQ) /* USB0 Common Interrupts Register */
-#define pREG_USB0_IEN ((volatile uint8_t *)REG_USB0_IEN) /* USB0 Common Interrupts Enable Register */
-#define pREG_USB0_FRAME ((volatile uint16_t *)REG_USB0_FRAME) /* USB0 Frame Number Register */
-#define pREG_USB0_INDEX ((volatile uint8_t *)REG_USB0_INDEX) /* USB0 Index Register */
-#define pREG_USB0_TESTMODE ((volatile uint8_t *)REG_USB0_TESTMODE) /* USB0 Testmode Register */
-#define pREG_USB0_EPI_TXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_TXMAXP0) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EPI_TXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_P0) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EPI_TXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_H0) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0I_CSR0_P ((volatile uint16_t *)REG_USB0_EP0I_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CSR0_H ((volatile uint16_t *)REG_USB0_EP0I_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_RXMAXP0) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EPI_RXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_H0) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_P0) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CNT0 ((volatile uint16_t *)REG_USB0_EP0I_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EPI_RXCNT0 ((volatile uint16_t *)REG_USB0_EPI_RXCNT0) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EPI_TXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_TXTYPE0) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0I_TYPE0 ((volatile uint8_t *)REG_USB0_EP0I_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EPI_TXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_TXINTERVAL0) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0I_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0I_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EPI_RXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_RXTYPE0) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EPI_RXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_RXINTERVAL0) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0I_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0I_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_FIFOB0 ((volatile uint8_t *)REG_USB0_FIFOB0) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB1 ((volatile uint8_t *)REG_USB0_FIFOB1) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB2 ((volatile uint8_t *)REG_USB0_FIFOB2) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB3 ((volatile uint8_t *)REG_USB0_FIFOB3) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB4 ((volatile uint8_t *)REG_USB0_FIFOB4) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB5 ((volatile uint8_t *)REG_USB0_FIFOB5) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB6 ((volatile uint8_t *)REG_USB0_FIFOB6) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB7 ((volatile uint8_t *)REG_USB0_FIFOB7) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB8 ((volatile uint8_t *)REG_USB0_FIFOB8) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB9 ((volatile uint8_t *)REG_USB0_FIFOB9) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB10 ((volatile uint8_t *)REG_USB0_FIFOB10) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB11 ((volatile uint8_t *)REG_USB0_FIFOB11) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOH0 ((volatile uint16_t *)REG_USB0_FIFOH0) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH1 ((volatile uint16_t *)REG_USB0_FIFOH1) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH2 ((volatile uint16_t *)REG_USB0_FIFOH2) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH3 ((volatile uint16_t *)REG_USB0_FIFOH3) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH4 ((volatile uint16_t *)REG_USB0_FIFOH4) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH5 ((volatile uint16_t *)REG_USB0_FIFOH5) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH6 ((volatile uint16_t *)REG_USB0_FIFOH6) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH7 ((volatile uint16_t *)REG_USB0_FIFOH7) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH8 ((volatile uint16_t *)REG_USB0_FIFOH8) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH9 ((volatile uint16_t *)REG_USB0_FIFOH9) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH10 ((volatile uint16_t *)REG_USB0_FIFOH10) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH11 ((volatile uint16_t *)REG_USB0_FIFOH11) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFO0 ((volatile uint32_t *)REG_USB0_FIFO0) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO1 ((volatile uint32_t *)REG_USB0_FIFO1) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO2 ((volatile uint32_t *)REG_USB0_FIFO2) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO3 ((volatile uint32_t *)REG_USB0_FIFO3) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO4 ((volatile uint32_t *)REG_USB0_FIFO4) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO5 ((volatile uint32_t *)REG_USB0_FIFO5) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO6 ((volatile uint32_t *)REG_USB0_FIFO6) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO7 ((volatile uint32_t *)REG_USB0_FIFO7) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO8 ((volatile uint32_t *)REG_USB0_FIFO8) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO9 ((volatile uint32_t *)REG_USB0_FIFO9) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO10 ((volatile uint32_t *)REG_USB0_FIFO10) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO11 ((volatile uint32_t *)REG_USB0_FIFO11) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_DEV_CTL ((volatile uint8_t *)REG_USB0_DEV_CTL) /* USB0 Device Control Register */
-#define pREG_USB0_TXFIFOSZ ((volatile uint8_t *)REG_USB0_TXFIFOSZ) /* USB0 Transmit FIFO Size Register */
-#define pREG_USB0_RXFIFOSZ ((volatile uint8_t *)REG_USB0_RXFIFOSZ) /* USB0 Receive FIFO Size Register */
-#define pREG_USB0_TXFIFOADDR ((volatile uint16_t *)REG_USB0_TXFIFOADDR) /* USB0 Transmit FIFO Address Register */
-#define pREG_USB0_RXFIFOADDR ((volatile uint16_t *)REG_USB0_RXFIFOADDR) /* USB0 Receive FIFO Address Register */
-#define pREG_USB0_EPINFO ((volatile uint8_t *)REG_USB0_EPINFO) /* USB0 Endpoint Information Register */
-#define pREG_USB0_RAMINFO ((volatile uint8_t *)REG_USB0_RAMINFO) /* USB0 RAM Information Register */
-#define pREG_USB0_LINKINFO ((volatile uint8_t *)REG_USB0_LINKINFO) /* USB0 Link Information Register */
-#define pREG_USB0_VPLEN ((volatile uint8_t *)REG_USB0_VPLEN) /* USB0 VBUS Pulse Length Register */
-#define pREG_USB0_HS_EOF1 ((volatile uint8_t *)REG_USB0_HS_EOF1) /* USB0 High-Speed EOF 1 Register */
-#define pREG_USB0_FS_EOF1 ((volatile uint8_t *)REG_USB0_FS_EOF1) /* USB0 Full-Speed EOF 1 Register */
-#define pREG_USB0_LS_EOF1 ((volatile uint8_t *)REG_USB0_LS_EOF1) /* USB0 Low-Speed EOF 1 Register */
-#define pREG_USB0_SOFT_RST ((volatile uint8_t *)REG_USB0_SOFT_RST) /* USB0 Software Reset Register */
-#define pREG_USB0_MP0_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP1_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP2_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP3_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP4_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP5_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP6_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP7_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP8_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP9_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP10_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP11_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP0_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP1_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP2_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP3_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP4_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP5_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP6_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP7_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP8_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP9_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP10_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP11_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP0_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP1_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP2_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP3_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP4_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP5_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP6_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP7_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP8_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP9_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP10_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP11_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP0_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP1_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP2_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP3_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP4_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP5_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP6_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP7_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP8_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP9_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP10_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP11_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP0_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP1_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP2_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP3_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP4_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP5_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP6_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP7_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP8_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP9_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP10_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP11_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP0_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP1_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP2_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP3_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP4_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP5_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP6_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP7_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP8_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP9_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP10_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP11_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_EP0_TXMAXP ((volatile uint16_t *)REG_USB0_EP0_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP1_TXMAXP ((volatile uint16_t *)REG_USB0_EP1_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP2_TXMAXP ((volatile uint16_t *)REG_USB0_EP2_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP3_TXMAXP ((volatile uint16_t *)REG_USB0_EP3_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP4_TXMAXP ((volatile uint16_t *)REG_USB0_EP4_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP5_TXMAXP ((volatile uint16_t *)REG_USB0_EP5_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP6_TXMAXP ((volatile uint16_t *)REG_USB0_EP6_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP7_TXMAXP ((volatile uint16_t *)REG_USB0_EP7_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP8_TXMAXP ((volatile uint16_t *)REG_USB0_EP8_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP9_TXMAXP ((volatile uint16_t *)REG_USB0_EP9_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP10_TXMAXP ((volatile uint16_t *)REG_USB0_EP10_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP11_TXMAXP ((volatile uint16_t *)REG_USB0_EP11_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP0_CSR0_H ((volatile uint16_t *)REG_USB0_EP0_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_TXCSR_H ((volatile uint16_t *)REG_USB0_EP0_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_TXCSR_H ((volatile uint16_t *)REG_USB0_EP1_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_TXCSR_H ((volatile uint16_t *)REG_USB0_EP2_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_TXCSR_H ((volatile uint16_t *)REG_USB0_EP3_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_TXCSR_H ((volatile uint16_t *)REG_USB0_EP4_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_TXCSR_H ((volatile uint16_t *)REG_USB0_EP5_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_TXCSR_H ((volatile uint16_t *)REG_USB0_EP6_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_TXCSR_H ((volatile uint16_t *)REG_USB0_EP7_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_TXCSR_H ((volatile uint16_t *)REG_USB0_EP8_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_TXCSR_H ((volatile uint16_t *)REG_USB0_EP9_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_TXCSR_H ((volatile uint16_t *)REG_USB0_EP10_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_TXCSR_H ((volatile uint16_t *)REG_USB0_EP11_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_CSR0_P ((volatile uint16_t *)REG_USB0_EP0_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_TXCSR_P ((volatile uint16_t *)REG_USB0_EP0_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_TXCSR_P ((volatile uint16_t *)REG_USB0_EP1_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_TXCSR_P ((volatile uint16_t *)REG_USB0_EP2_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_TXCSR_P ((volatile uint16_t *)REG_USB0_EP3_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_TXCSR_P ((volatile uint16_t *)REG_USB0_EP4_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_TXCSR_P ((volatile uint16_t *)REG_USB0_EP5_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_TXCSR_P ((volatile uint16_t *)REG_USB0_EP6_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_TXCSR_P ((volatile uint16_t *)REG_USB0_EP7_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_TXCSR_P ((volatile uint16_t *)REG_USB0_EP8_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_TXCSR_P ((volatile uint16_t *)REG_USB0_EP9_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_TXCSR_P ((volatile uint16_t *)REG_USB0_EP10_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_TXCSR_P ((volatile uint16_t *)REG_USB0_EP11_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_RXMAXP ((volatile uint16_t *)REG_USB0_EP0_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP1_RXMAXP ((volatile uint16_t *)REG_USB0_EP1_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP2_RXMAXP ((volatile uint16_t *)REG_USB0_EP2_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP3_RXMAXP ((volatile uint16_t *)REG_USB0_EP3_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP4_RXMAXP ((volatile uint16_t *)REG_USB0_EP4_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP5_RXMAXP ((volatile uint16_t *)REG_USB0_EP5_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP6_RXMAXP ((volatile uint16_t *)REG_USB0_EP6_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP7_RXMAXP ((volatile uint16_t *)REG_USB0_EP7_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP8_RXMAXP ((volatile uint16_t *)REG_USB0_EP8_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP9_RXMAXP ((volatile uint16_t *)REG_USB0_EP9_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP10_RXMAXP ((volatile uint16_t *)REG_USB0_EP10_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP11_RXMAXP ((volatile uint16_t *)REG_USB0_EP11_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP0_RXCSR_H ((volatile uint16_t *)REG_USB0_EP0_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_RXCSR_H ((volatile uint16_t *)REG_USB0_EP1_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_RXCSR_H ((volatile uint16_t *)REG_USB0_EP2_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_RXCSR_H ((volatile uint16_t *)REG_USB0_EP3_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_RXCSR_H ((volatile uint16_t *)REG_USB0_EP4_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_RXCSR_H ((volatile uint16_t *)REG_USB0_EP5_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_RXCSR_H ((volatile uint16_t *)REG_USB0_EP6_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_RXCSR_H ((volatile uint16_t *)REG_USB0_EP7_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_RXCSR_H ((volatile uint16_t *)REG_USB0_EP8_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_RXCSR_H ((volatile uint16_t *)REG_USB0_EP9_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_RXCSR_H ((volatile uint16_t *)REG_USB0_EP10_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_RXCSR_H ((volatile uint16_t *)REG_USB0_EP11_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_RXCSR_P ((volatile uint16_t *)REG_USB0_EP0_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_RXCSR_P ((volatile uint16_t *)REG_USB0_EP1_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_RXCSR_P ((volatile uint16_t *)REG_USB0_EP2_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_RXCSR_P ((volatile uint16_t *)REG_USB0_EP3_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_RXCSR_P ((volatile uint16_t *)REG_USB0_EP4_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_RXCSR_P ((volatile uint16_t *)REG_USB0_EP5_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_RXCSR_P ((volatile uint16_t *)REG_USB0_EP6_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_RXCSR_P ((volatile uint16_t *)REG_USB0_EP7_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_RXCSR_P ((volatile uint16_t *)REG_USB0_EP8_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_RXCSR_P ((volatile uint16_t *)REG_USB0_EP9_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_RXCSR_P ((volatile uint16_t *)REG_USB0_EP10_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_RXCSR_P ((volatile uint16_t *)REG_USB0_EP11_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_CNT0 ((volatile uint16_t *)REG_USB0_EP0_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EP0_RXCNT ((volatile uint16_t *)REG_USB0_EP0_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP1_RXCNT ((volatile uint16_t *)REG_USB0_EP1_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP2_RXCNT ((volatile uint16_t *)REG_USB0_EP2_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP3_RXCNT ((volatile uint16_t *)REG_USB0_EP3_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP4_RXCNT ((volatile uint16_t *)REG_USB0_EP4_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP5_RXCNT ((volatile uint16_t *)REG_USB0_EP5_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP6_RXCNT ((volatile uint16_t *)REG_USB0_EP6_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP7_RXCNT ((volatile uint16_t *)REG_USB0_EP7_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP8_RXCNT ((volatile uint16_t *)REG_USB0_EP8_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP9_RXCNT ((volatile uint16_t *)REG_USB0_EP9_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP10_RXCNT ((volatile uint16_t *)REG_USB0_EP10_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP11_RXCNT ((volatile uint16_t *)REG_USB0_EP11_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP0_TYPE0 ((volatile uint8_t *)REG_USB0_EP0_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EP0_TXTYPE ((volatile uint8_t *)REG_USB0_EP0_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP1_TXTYPE ((volatile uint8_t *)REG_USB0_EP1_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP2_TXTYPE ((volatile uint8_t *)REG_USB0_EP2_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP3_TXTYPE ((volatile uint8_t *)REG_USB0_EP3_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP4_TXTYPE ((volatile uint8_t *)REG_USB0_EP4_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP5_TXTYPE ((volatile uint8_t *)REG_USB0_EP5_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP6_TXTYPE ((volatile uint8_t *)REG_USB0_EP6_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP7_TXTYPE ((volatile uint8_t *)REG_USB0_EP7_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP8_TXTYPE ((volatile uint8_t *)REG_USB0_EP8_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP9_TXTYPE ((volatile uint8_t *)REG_USB0_EP9_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP10_TXTYPE ((volatile uint8_t *)REG_USB0_EP10_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP11_TXTYPE ((volatile uint8_t *)REG_USB0_EP11_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EP0_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP1_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP2_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP3_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP4_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP5_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP6_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP7_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP8_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP9_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP10_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP11_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0_RXTYPE ((volatile uint8_t *)REG_USB0_EP0_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP1_RXTYPE ((volatile uint8_t *)REG_USB0_EP1_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP2_RXTYPE ((volatile uint8_t *)REG_USB0_EP2_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP3_RXTYPE ((volatile uint8_t *)REG_USB0_EP3_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP4_RXTYPE ((volatile uint8_t *)REG_USB0_EP4_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP5_RXTYPE ((volatile uint8_t *)REG_USB0_EP5_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP6_RXTYPE ((volatile uint8_t *)REG_USB0_EP6_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP7_RXTYPE ((volatile uint8_t *)REG_USB0_EP7_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP8_RXTYPE ((volatile uint8_t *)REG_USB0_EP8_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP9_RXTYPE ((volatile uint8_t *)REG_USB0_EP9_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP10_RXTYPE ((volatile uint8_t *)REG_USB0_EP10_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP11_RXTYPE ((volatile uint8_t *)REG_USB0_EP11_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP0_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP1_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP2_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP3_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP4_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP5_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP6_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP7_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP8_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP9_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP10_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP11_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_DMA_IRQ ((volatile uint8_t *)REG_USB0_DMA_IRQ) /* USB0 DMA Interrupt Register */
-#define pREG_USB0_DMA0_CTL ((volatile uint16_t *)REG_USB0_DMA0_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA1_CTL ((volatile uint16_t *)REG_USB0_DMA1_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA2_CTL ((volatile uint16_t *)REG_USB0_DMA2_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA3_CTL ((volatile uint16_t *)REG_USB0_DMA3_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA4_CTL ((volatile uint16_t *)REG_USB0_DMA4_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA5_CTL ((volatile uint16_t *)REG_USB0_DMA5_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA6_CTL ((volatile uint16_t *)REG_USB0_DMA6_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA7_CTL ((volatile uint16_t *)REG_USB0_DMA7_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA0_ADDR ((void * volatile *)REG_USB0_DMA0_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA1_ADDR ((void * volatile *)REG_USB0_DMA1_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA2_ADDR ((void * volatile *)REG_USB0_DMA2_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA3_ADDR ((void * volatile *)REG_USB0_DMA3_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA4_ADDR ((void * volatile *)REG_USB0_DMA4_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA5_ADDR ((void * volatile *)REG_USB0_DMA5_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA6_ADDR ((void * volatile *)REG_USB0_DMA6_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA7_ADDR ((void * volatile *)REG_USB0_DMA7_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA0_CNT ((volatile uint32_t *)REG_USB0_DMA0_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA1_CNT ((volatile uint32_t *)REG_USB0_DMA1_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA2_CNT ((volatile uint32_t *)REG_USB0_DMA2_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA3_CNT ((volatile uint32_t *)REG_USB0_DMA3_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA4_CNT ((volatile uint32_t *)REG_USB0_DMA4_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA5_CNT ((volatile uint32_t *)REG_USB0_DMA5_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA6_CNT ((volatile uint32_t *)REG_USB0_DMA6_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA7_CNT ((volatile uint32_t *)REG_USB0_DMA7_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_RQPKTCNT0 ((volatile uint16_t *)REG_USB0_RQPKTCNT0) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT1 ((volatile uint16_t *)REG_USB0_RQPKTCNT1) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT2 ((volatile uint16_t *)REG_USB0_RQPKTCNT2) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT3 ((volatile uint16_t *)REG_USB0_RQPKTCNT3) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT4 ((volatile uint16_t *)REG_USB0_RQPKTCNT4) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT5 ((volatile uint16_t *)REG_USB0_RQPKTCNT5) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT6 ((volatile uint16_t *)REG_USB0_RQPKTCNT6) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT7 ((volatile uint16_t *)REG_USB0_RQPKTCNT7) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT8 ((volatile uint16_t *)REG_USB0_RQPKTCNT8) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT9 ((volatile uint16_t *)REG_USB0_RQPKTCNT9) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT10 ((volatile uint16_t *)REG_USB0_RQPKTCNT10) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_CT_UCH ((volatile uint16_t *)REG_USB0_CT_UCH) /* USB0 Chirp Timeout Register */
-#define pREG_USB0_CT_HHSRTN ((volatile uint16_t *)REG_USB0_CT_HHSRTN) /* USB0 Host High Speed Return to Normal Register */
-#define pREG_USB0_CT_HSBT ((volatile uint16_t *)REG_USB0_CT_HSBT) /* USB0 High Speed Timeout Register */
-#define pREG_USB0_LPM_ATTR ((volatile uint16_t *)REG_USB0_LPM_ATTR) /* USB0 LPM Attribute Register */
-#define pREG_USB0_LPM_CTL ((volatile uint8_t *)REG_USB0_LPM_CTL) /* USB0 LPM Control Register */
-#define pREG_USB0_LPM_IEN ((volatile uint8_t *)REG_USB0_LPM_IEN) /* USB0 LPM Interrupt Enable Register */
-#define pREG_USB0_LPM_IRQ ((volatile uint8_t *)REG_USB0_LPM_IRQ) /* USB0 LPM Interrupt Status Register */
-#define pREG_USB0_LPM_FADDR ((volatile uint8_t *)REG_USB0_LPM_FADDR) /* USB0 LPM Function Address Register */
-#define pREG_USB0_VBUS_CTL ((volatile uint8_t *)REG_USB0_VBUS_CTL) /* USB0 VBUS Control Register */
-#define pREG_USB0_BAT_CHG ((volatile uint8_t *)REG_USB0_BAT_CHG) /* USB0 Battery Charging Control Register */
-#define pREG_USB0_PHY_CTL ((volatile uint8_t *)REG_USB0_PHY_CTL) /* USB0 PHY Control Register */
-#define pREG_USB0_PLL_OSC ((volatile uint16_t *)REG_USB0_PLL_OSC) /* USB0 PLL and Oscillator Control Register */
-
-
-/* =========================================================================
- L1DM0
- ========================================================================= */
-#define pSRAM_BASE_ADDRESS ((void * volatile *)SRAM_BASE_ADDRESS) /* SRAM Base Address */
-#define pDMEM_CONTROL ((volatile uint32_t *)DMEM_CONTROL) /* Data memory control */
-#define pDCPLB_STATUS ((volatile uint32_t *)DCPLB_STATUS) /* Data Cacheability Protection Lookaside Buffer Status */
-#define pDCPLB_FAULT_ADDR ((void * volatile *)DCPLB_FAULT_ADDR) /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define pDCPLB_ADDR0 ((void * volatile *)DCPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR1 ((void * volatile *)DCPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR2 ((void * volatile *)DCPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR3 ((void * volatile *)DCPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR4 ((void * volatile *)DCPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR5 ((void * volatile *)DCPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR6 ((void * volatile *)DCPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR7 ((void * volatile *)DCPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR8 ((void * volatile *)DCPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR9 ((void * volatile *)DCPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR10 ((void * volatile *)DCPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR11 ((void * volatile *)DCPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR12 ((void * volatile *)DCPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR13 ((void * volatile *)DCPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR14 ((void * volatile *)DCPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR15 ((void * volatile *)DCPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_DATA0 ((volatile uint32_t *)DCPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA1 ((volatile uint32_t *)DCPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA2 ((volatile uint32_t *)DCPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA3 ((volatile uint32_t *)DCPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA4 ((volatile uint32_t *)DCPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA5 ((volatile uint32_t *)DCPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA6 ((volatile uint32_t *)DCPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA7 ((volatile uint32_t *)DCPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA8 ((volatile uint32_t *)DCPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA9 ((volatile uint32_t *)DCPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA10 ((volatile uint32_t *)DCPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA11 ((volatile uint32_t *)DCPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA12 ((volatile uint32_t *)DCPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA13 ((volatile uint32_t *)DCPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA14 ((volatile uint32_t *)DCPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA15 ((volatile uint32_t *)DCPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDTEST_COMMAND ((volatile uint32_t *)DTEST_COMMAND) /* Data Test Command Register */
-#define pDTEST_DATA0 ((volatile uint32_t *)DTEST_DATA0) /* Data Test Data Register */
-#define pDTEST_DATA1 ((volatile uint32_t *)DTEST_DATA1) /* Data Test Data Register */
-#define pL1DBNKA_PELOC ((volatile uint32_t *)L1DBNKA_PELOC) /* Data Bank A Parity Error Location */
-#define pL1DBNKB_PELOC ((volatile uint32_t *)L1DBNKB_PELOC) /* Data Bank B Parity Error Location */
-
-
-/* =========================================================================
- L1IM0
- ========================================================================= */
-#define pIMEM_CONTROL ((volatile uint32_t *)IMEM_CONTROL) /* Instruction memory control */
-#define pICPLB_STATUS ((volatile uint32_t *)ICPLB_STATUS) /* Cacheability Protection Lookaside Buffer Status */
-#define pICPLB_FAULT_ADDR ((void * volatile *)ICPLB_FAULT_ADDR) /* Cacheability Protection Lookaside Buffer Fault Address */
-#define pICPLB_ADDR0 ((void * volatile *)ICPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR1 ((void * volatile *)ICPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR2 ((void * volatile *)ICPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR3 ((void * volatile *)ICPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR4 ((void * volatile *)ICPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR5 ((void * volatile *)ICPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR6 ((void * volatile *)ICPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR7 ((void * volatile *)ICPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR8 ((void * volatile *)ICPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR9 ((void * volatile *)ICPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR10 ((void * volatile *)ICPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR11 ((void * volatile *)ICPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR12 ((void * volatile *)ICPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR13 ((void * volatile *)ICPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR14 ((void * volatile *)ICPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR15 ((void * volatile *)ICPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_DATA0 ((volatile uint32_t *)ICPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA1 ((volatile uint32_t *)ICPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA2 ((volatile uint32_t *)ICPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA3 ((volatile uint32_t *)ICPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA4 ((volatile uint32_t *)ICPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA5 ((volatile uint32_t *)ICPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA6 ((volatile uint32_t *)ICPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA7 ((volatile uint32_t *)ICPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA8 ((volatile uint32_t *)ICPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA9 ((volatile uint32_t *)ICPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA10 ((volatile uint32_t *)ICPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA11 ((volatile uint32_t *)ICPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA12 ((volatile uint32_t *)ICPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA13 ((volatile uint32_t *)ICPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA14 ((volatile uint32_t *)ICPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA15 ((volatile uint32_t *)ICPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pITEST_COMMAND ((volatile uint32_t *)ITEST_COMMAND) /* Instruction Test Command Register */
-#define pITEST_DATA0 ((volatile uint32_t *)ITEST_DATA0) /* Instruction Test Data Register */
-#define pITEST_DATA1 ((volatile uint32_t *)ITEST_DATA1) /* Instruction Test Data Register */
-#define pL1IBNKA_PELOC ((volatile uint32_t *)L1IBNKA_PELOC) /* Instruction Bank A Parity Error Location */
-#define pL1IBNKB_PELOC ((volatile uint32_t *)L1IBNKB_PELOC) /* Instruction Bank B Parity Error Location */
-#define pL1IBNKC_PELOC ((volatile uint32_t *)L1IBNKC_PELOC) /* Instruction Bank C Parity Error Location */
-
-
-/* =========================================================================
- ICU0
- ========================================================================= */
-#define pEVT0 ((void * volatile *)EVT0) /* Event Vector */
-#define pEVT1 ((void * volatile *)EVT1) /* Event Vector */
-#define pEVT2 ((void * volatile *)EVT2) /* Event Vector */
-#define pEVT3 ((void * volatile *)EVT3) /* Event Vector */
-#define pEVT4 ((void * volatile *)EVT4) /* Event Vector */
-#define pEVT5 ((void * volatile *)EVT5) /* Event Vector */
-#define pEVT6 ((void * volatile *)EVT6) /* Event Vector */
-#define pEVT7 ((void * volatile *)EVT7) /* Event Vector */
-#define pEVT8 ((void * volatile *)EVT8) /* Event Vector */
-#define pEVT9 ((void * volatile *)EVT9) /* Event Vector */
-#define pEVT10 ((void * volatile *)EVT10) /* Event Vector */
-#define pEVT11 ((void * volatile *)EVT11) /* Event Vector */
-#define pEVT12 ((void * volatile *)EVT12) /* Event Vector */
-#define pEVT13 ((void * volatile *)EVT13) /* Event Vector */
-#define pEVT14 ((void * volatile *)EVT14) /* Event Vector */
-#define pEVT15 ((void * volatile *)EVT15) /* Event Vector */
-#define pIMASK ((volatile uint32_t *)IMASK) /* Interrupt Mask Register */
-#define pIPEND ((volatile uint32_t *)IPEND) /* Interrupts Pending Register */
-#define pILAT ((volatile uint32_t *)ILAT) /* Interrupt Latch Register */
-#define pIPRIO ((volatile uint32_t *)IPRIO) /* Interrupt Priority Register */
-#define pCEC_SID ((volatile uint32_t *)CEC_SID) /* Core System Interrupt ID */
-
-
-/* =========================================================================
- TMR0
- ========================================================================= */
-#define pTCNTL ((volatile uint32_t *)TCNTL) /* Timer Control Register */
-#define pTPERIOD ((volatile uint32_t *)TPERIOD) /* Timer Period Register */
-#define pTSCALE ((volatile uint32_t *)TSCALE) /* Timer Scale Register */
-#define pTCOUNT ((volatile uint32_t *)TCOUNT) /* Timer Count Register */
-
-
-/* =========================================================================
- DBG0
- ========================================================================= */
-#define pDSPID ((volatile uint32_t *)DSPID) /* DSP Identification Register */
-
-
-/* =========================================================================
- TB0
- ========================================================================= */
-#define pTBUFCTL ((volatile uint32_t *)TBUFCTL) /* Trace Buffer Control Register */
-#define pTBUFSTAT ((volatile uint32_t *)TBUFSTAT) /* Trace Buffer Status Register */
-#define pTBUF ((void * volatile *)TBUF) /* Trace Buffer */
-
-
-/* =========================================================================
- WP0
- ========================================================================= */
-#define pWPIACTL ((volatile uint32_t *)WPIACTL) /* Watchpoint Instruction Address Control Register 01 */
-#define pWPIA0 ((void * volatile *)WPIA0) /* Watchpoint Instruction Address Register */
-#define pWPIA1 ((void * volatile *)WPIA1) /* Watchpoint Instruction Address Register */
-#define pWPIA2 ((void * volatile *)WPIA2) /* Watchpoint Instruction Address Register */
-#define pWPIA3 ((void * volatile *)WPIA3) /* Watchpoint Instruction Address Register */
-#define pWPIA4 ((void * volatile *)WPIA4) /* Watchpoint Instruction Address Register */
-#define pWPIA5 ((void * volatile *)WPIA5) /* Watchpoint Instruction Address Register */
-#define pWPIACNT0 ((volatile uint32_t *)WPIACNT0) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT1 ((volatile uint32_t *)WPIACNT1) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT2 ((volatile uint32_t *)WPIACNT2) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT3 ((volatile uint32_t *)WPIACNT3) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT4 ((volatile uint32_t *)WPIACNT4) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT5 ((volatile uint32_t *)WPIACNT5) /* Watchpoint Instruction Address Count Register */
-#define pWPDACTL ((volatile uint32_t *)WPDACTL) /* Watchpoint Data Address Control Register */
-#define pWPDA0 ((void * volatile *)WPDA0) /* Watchpoint Data Address Register */
-#define pWPDA1 ((void * volatile *)WPDA1) /* Watchpoint Data Address Register */
-#define pWPDACNT0 ((volatile uint32_t *)WPDACNT0) /* Watchpoint Data Address Count Value Register */
-#define pWPDACNT1 ((volatile uint32_t *)WPDACNT1) /* Watchpoint Data Address Count Value Register */
-#define pWPSTAT ((volatile uint32_t *)WPSTAT) /* Watchpoint Status Register */
-
-
-/* =========================================================================
- PF0
- ========================================================================= */
-#define pPFCTL ((volatile uint32_t *)PFCTL) /* Performance Monitor Control Register */
-#define pPFCNTR0 ((volatile uint32_t *)PFCNTR0) /* Performance Monitor Counter 0 */
-#define pPFCNTR1 ((volatile uint32_t *)PFCNTR1) /* Performance Monitor Counter 1 */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* end ifndef _CDEF_BF608_H */
diff --git a/libgloss/bfin/include/cdefBF609.h b/libgloss/bfin/include/cdefBF609.h
deleted file mode 100644
index 1a3a3e7..0000000
--- a/libgloss/bfin/include/cdefBF609.h
+++ /dev/null
@@ -1,4419 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* =========================================================================
-
- Project : ADSP-BF609
- File : cdefBF609.h
- Description : C register and bitfield definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ========================================================================= */
-#ifndef _CDEF_BF609_H
-#define _CDEF_BF609_H
-
-#include <stdint.h>
-#include <defBF609.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_7:"ADI header will re-use identifiers")
-#pragma diag(suppress:misra_rule_6_3:"ADI header allows use of basic types")
-#endif /* _MISRA_RULES */
-
-
-
-
-/* =========================================================================
- CNT0
- ========================================================================= */
-#define pREG_CNT0_CFG ((volatile uint16_t *)REG_CNT0_CFG) /* CNT0 Configuration Register */
-#define pREG_CNT0_IMSK ((volatile uint16_t *)REG_CNT0_IMSK) /* CNT0 Interrupt Mask Register */
-#define pREG_CNT0_STAT ((volatile uint16_t *)REG_CNT0_STAT) /* CNT0 Status Register */
-#define pREG_CNT0_CMD ((volatile uint16_t *)REG_CNT0_CMD) /* CNT0 Command Register */
-#define pREG_CNT0_DEBNCE ((volatile uint16_t *)REG_CNT0_DEBNCE) /* CNT0 Debounce Register */
-#define pREG_CNT0_CNTR ((volatile uint32_t *)REG_CNT0_CNTR) /* CNT0 Counter Register */
-#define pREG_CNT0_MAX ((volatile uint32_t *)REG_CNT0_MAX) /* CNT0 Maximum Count Register */
-#define pREG_CNT0_MIN ((volatile uint32_t *)REG_CNT0_MIN) /* CNT0 Minimum Count Register */
-
-
-/* =========================================================================
- RSI0
- ========================================================================= */
-#define pREG_RSI0_CTL ((volatile uint16_t *)REG_RSI0_CTL) /* RSI0 Control Register */
-#define pREG_RSI0_ARG ((volatile uint32_t *)REG_RSI0_ARG) /* RSI0 Argument Register */
-#define pREG_RSI0_CMD ((volatile uint16_t *)REG_RSI0_CMD) /* RSI0 Command Register */
-#define pREG_RSI0_RESP_CMD ((volatile uint16_t *)REG_RSI0_RESP_CMD) /* RSI0 Response Command Register */
-#define pREG_RSI0_RESP0 ((volatile uint32_t *)REG_RSI0_RESP0) /* RSI0 Response 0 Register */
-#define pREG_RSI0_RESP1 ((volatile uint32_t *)REG_RSI0_RESP1) /* RSI0 Response 1 Register */
-#define pREG_RSI0_RESP2 ((volatile uint32_t *)REG_RSI0_RESP2) /* RSI0 Response 2 Register */
-#define pREG_RSI0_RESP3 ((volatile uint32_t *)REG_RSI0_RESP3) /* RSI0 Response 3 Register */
-#define pREG_RSI0_DATA_TMR ((volatile uint32_t *)REG_RSI0_DATA_TMR) /* RSI0 Data Timer Register */
-#define pREG_RSI0_DATA_LEN ((volatile uint16_t *)REG_RSI0_DATA_LEN) /* RSI0 Data Length Register */
-#define pREG_RSI0_DATA_CTL ((volatile uint16_t *)REG_RSI0_DATA_CTL) /* RSI0 Data Control Register */
-#define pREG_RSI0_DATA_CNT ((volatile uint16_t *)REG_RSI0_DATA_CNT) /* RSI0 Data Count Register */
-#define pREG_RSI0_XFRSTAT ((volatile uint32_t *)REG_RSI0_XFRSTAT) /* RSI0 Status Register */
-#define pREG_RSI0_XFRSTAT_CLR ((volatile uint16_t *)REG_RSI0_XFRSTAT_CLR) /* RSI0 Status Clear Register */
-#define pREG_RSI0_XFR_IMSK0 ((volatile uint32_t *)REG_RSI0_XFR_IMSK0) /* RSI0 Interrupt 0 Mask Register */
-#define pREG_RSI0_XFR_IMSK1 ((volatile uint32_t *)REG_RSI0_XFR_IMSK1) /* RSI0 Interrupt 1 Mask Register */
-#define pREG_RSI0_FIFO_CNT ((volatile uint16_t *)REG_RSI0_FIFO_CNT) /* RSI0 FIFO Counter Register */
-#define pREG_RSI0_CEATA ((volatile uint32_t *)REG_RSI0_CEATA) /* RSI0 This register contains bit to dis CCS gen */
-#define pREG_RSI0_BOOT_TCNTR ((volatile uint16_t *)REG_RSI0_BOOT_TCNTR) /* RSI0 Boot Timing Counter Register */
-#define pREG_RSI0_BACK_TOUT ((volatile uint32_t *)REG_RSI0_BACK_TOUT) /* RSI0 Boot Acknowledge Timeout Register */
-#define pREG_RSI0_SLP_WKUP_TOUT ((volatile uint32_t *)REG_RSI0_SLP_WKUP_TOUT) /* RSI0 Sleep Wakeup Timeout Register */
-#define pREG_RSI0_BLKSZ ((volatile uint16_t *)REG_RSI0_BLKSZ) /* RSI0 Block Size Register */
-#define pREG_RSI0_FIFO ((volatile uint32_t *)REG_RSI0_FIFO) /* RSI0 Data FIFO Register */
-#define pREG_RSI0_STAT0 ((volatile uint32_t *)REG_RSI0_STAT0) /* RSI0 Exception Status Register */
-#define pREG_RSI0_IMSK0 ((volatile uint32_t *)REG_RSI0_IMSK0) /* RSI0 Exception Mask Register */
-#define pREG_RSI0_CFG ((volatile uint16_t *)REG_RSI0_CFG) /* RSI0 Configuration Register */
-#define pREG_RSI0_RD_WAIT ((volatile uint16_t *)REG_RSI0_RD_WAIT) /* RSI0 Read Wait Enable Register */
-#define pREG_RSI0_PID0 ((volatile uint32_t *)REG_RSI0_PID0) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID1 ((volatile uint32_t *)REG_RSI0_PID1) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID2 ((volatile uint32_t *)REG_RSI0_PID2) /* RSI0 Peripheral Identification Register */
-#define pREG_RSI0_PID3 ((volatile uint32_t *)REG_RSI0_PID3) /* RSI0 Peripheral Identification Register */
-
-
-/* =========================================================================
- CAN0
- ========================================================================= */
-#define pREG_CAN0_MC1 ((volatile uint16_t *)REG_CAN0_MC1) /* CAN0 Mailbox Configuration 1 Register */
-#define pREG_CAN0_MD1 ((volatile uint16_t *)REG_CAN0_MD1) /* CAN0 Mailbox Direction 1 Register */
-#define pREG_CAN0_TRS1 ((volatile uint16_t *)REG_CAN0_TRS1) /* CAN0 Transmission Request Set 1 Register */
-#define pREG_CAN0_TRR1 ((volatile uint16_t *)REG_CAN0_TRR1) /* CAN0 Transmission Request Reset 1 Register */
-#define pREG_CAN0_TA1 ((volatile uint16_t *)REG_CAN0_TA1) /* CAN0 Transmission Acknowledge 1 Register */
-#define pREG_CAN0_AA1 ((volatile uint16_t *)REG_CAN0_AA1) /* CAN0 Abort Acknowledge 1 Register */
-#define pREG_CAN0_RMP1 ((volatile uint16_t *)REG_CAN0_RMP1) /* CAN0 Receive Message Pending 1 Register */
-#define pREG_CAN0_RML1 ((volatile uint16_t *)REG_CAN0_RML1) /* CAN0 Receive Message Lost 1 Register */
-#define pREG_CAN0_MBTIF1 ((volatile uint16_t *)REG_CAN0_MBTIF1) /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define pREG_CAN0_MBRIF1 ((volatile uint16_t *)REG_CAN0_MBRIF1) /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define pREG_CAN0_MBIM1 ((volatile uint16_t *)REG_CAN0_MBIM1) /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define pREG_CAN0_RFH1 ((volatile uint16_t *)REG_CAN0_RFH1) /* CAN0 Remote Frame Handling 1 Register */
-#define pREG_CAN0_OPSS1 ((volatile uint16_t *)REG_CAN0_OPSS1) /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define pREG_CAN0_MC2 ((volatile uint16_t *)REG_CAN0_MC2) /* CAN0 Mailbox Configuration 2 Register */
-#define pREG_CAN0_MD2 ((volatile uint16_t *)REG_CAN0_MD2) /* CAN0 Mailbox Direction 2 Register */
-#define pREG_CAN0_TRS2 ((volatile uint16_t *)REG_CAN0_TRS2) /* CAN0 Transmission Request Set 2 Register */
-#define pREG_CAN0_TRR2 ((volatile uint16_t *)REG_CAN0_TRR2) /* CAN0 Transmission Request Reset 2 Register */
-#define pREG_CAN0_TA2 ((volatile uint16_t *)REG_CAN0_TA2) /* CAN0 Transmission Acknowledge 2 Register */
-#define pREG_CAN0_AA2 ((volatile uint16_t *)REG_CAN0_AA2) /* CAN0 Abort Acknowledge 2 Register */
-#define pREG_CAN0_RMP2 ((volatile uint16_t *)REG_CAN0_RMP2) /* CAN0 Receive Message Pending 2 Register */
-#define pREG_CAN0_RML2 ((volatile uint16_t *)REG_CAN0_RML2) /* CAN0 Receive Message Lost 2 Register */
-#define pREG_CAN0_MBTIF2 ((volatile uint16_t *)REG_CAN0_MBTIF2) /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define pREG_CAN0_MBRIF2 ((volatile uint16_t *)REG_CAN0_MBRIF2) /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define pREG_CAN0_MBIM2 ((volatile uint16_t *)REG_CAN0_MBIM2) /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define pREG_CAN0_RFH2 ((volatile uint16_t *)REG_CAN0_RFH2) /* CAN0 Remote Frame Handling 2 Register */
-#define pREG_CAN0_OPSS2 ((volatile uint16_t *)REG_CAN0_OPSS2) /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define pREG_CAN0_CLK ((volatile uint16_t *)REG_CAN0_CLK) /* CAN0 Clock Register */
-#define pREG_CAN0_TIMING ((volatile uint16_t *)REG_CAN0_TIMING) /* CAN0 Timing Register */
-#define pREG_CAN0_DBG ((volatile uint16_t *)REG_CAN0_DBG) /* CAN0 Debug Register */
-#define pREG_CAN0_STAT ((volatile uint16_t *)REG_CAN0_STAT) /* CAN0 Status Register */
-#define pREG_CAN0_CEC ((volatile uint16_t *)REG_CAN0_CEC) /* CAN0 Error Counter Register */
-#define pREG_CAN0_GIS ((volatile uint16_t *)REG_CAN0_GIS) /* CAN0 Global CAN Interrupt Status Register */
-#define pREG_CAN0_GIM ((volatile uint16_t *)REG_CAN0_GIM) /* CAN0 Global CAN Interrupt Mask Register */
-#define pREG_CAN0_GIF ((volatile uint16_t *)REG_CAN0_GIF) /* CAN0 Global CAN Interrupt Flag Register */
-#define pREG_CAN0_CTL ((volatile uint16_t *)REG_CAN0_CTL) /* CAN0 CAN Master Control Register */
-#define pREG_CAN0_INT ((volatile uint16_t *)REG_CAN0_INT) /* CAN0 Interrupt Pending Register */
-#define pREG_CAN0_MBTD ((volatile uint16_t *)REG_CAN0_MBTD) /* CAN0 Temporary Mailbox Disable Register */
-#define pREG_CAN0_EWR ((volatile uint16_t *)REG_CAN0_EWR) /* CAN0 Error Counter Warning Level Register */
-#define pREG_CAN0_ESR ((volatile uint16_t *)REG_CAN0_ESR) /* CAN0 Error Status Register */
-#define pREG_CAN0_UCCNT ((volatile uint16_t *)REG_CAN0_UCCNT) /* CAN0 Universal Counter Register */
-#define pREG_CAN0_UCRC ((volatile uint16_t *)REG_CAN0_UCRC) /* CAN0 Universal Counter Reload/Capture Register */
-#define pREG_CAN0_UCCNF ((volatile uint16_t *)REG_CAN0_UCCNF) /* CAN0 Universal Counter Configuration Mode Register */
-#define pREG_CAN0_AM00L ((volatile uint16_t *)REG_CAN0_AM00L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM01L ((volatile uint16_t *)REG_CAN0_AM01L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM02L ((volatile uint16_t *)REG_CAN0_AM02L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM03L ((volatile uint16_t *)REG_CAN0_AM03L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM04L ((volatile uint16_t *)REG_CAN0_AM04L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM05L ((volatile uint16_t *)REG_CAN0_AM05L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM06L ((volatile uint16_t *)REG_CAN0_AM06L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM07L ((volatile uint16_t *)REG_CAN0_AM07L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM08L ((volatile uint16_t *)REG_CAN0_AM08L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM09L ((volatile uint16_t *)REG_CAN0_AM09L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM10L ((volatile uint16_t *)REG_CAN0_AM10L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM11L ((volatile uint16_t *)REG_CAN0_AM11L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM12L ((volatile uint16_t *)REG_CAN0_AM12L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM13L ((volatile uint16_t *)REG_CAN0_AM13L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM14L ((volatile uint16_t *)REG_CAN0_AM14L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM15L ((volatile uint16_t *)REG_CAN0_AM15L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM16L ((volatile uint16_t *)REG_CAN0_AM16L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM17L ((volatile uint16_t *)REG_CAN0_AM17L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM18L ((volatile uint16_t *)REG_CAN0_AM18L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM19L ((volatile uint16_t *)REG_CAN0_AM19L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM20L ((volatile uint16_t *)REG_CAN0_AM20L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM21L ((volatile uint16_t *)REG_CAN0_AM21L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM22L ((volatile uint16_t *)REG_CAN0_AM22L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM23L ((volatile uint16_t *)REG_CAN0_AM23L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM24L ((volatile uint16_t *)REG_CAN0_AM24L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM25L ((volatile uint16_t *)REG_CAN0_AM25L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM26L ((volatile uint16_t *)REG_CAN0_AM26L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM27L ((volatile uint16_t *)REG_CAN0_AM27L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM28L ((volatile uint16_t *)REG_CAN0_AM28L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM29L ((volatile uint16_t *)REG_CAN0_AM29L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM30L ((volatile uint16_t *)REG_CAN0_AM30L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM31L ((volatile uint16_t *)REG_CAN0_AM31L) /* CAN0 Acceptance Mask (L) Register */
-#define pREG_CAN0_AM00H ((volatile uint16_t *)REG_CAN0_AM00H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM01H ((volatile uint16_t *)REG_CAN0_AM01H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM02H ((volatile uint16_t *)REG_CAN0_AM02H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM03H ((volatile uint16_t *)REG_CAN0_AM03H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM04H ((volatile uint16_t *)REG_CAN0_AM04H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM05H ((volatile uint16_t *)REG_CAN0_AM05H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM06H ((volatile uint16_t *)REG_CAN0_AM06H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM07H ((volatile uint16_t *)REG_CAN0_AM07H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM08H ((volatile uint16_t *)REG_CAN0_AM08H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM09H ((volatile uint16_t *)REG_CAN0_AM09H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM10H ((volatile uint16_t *)REG_CAN0_AM10H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM11H ((volatile uint16_t *)REG_CAN0_AM11H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM12H ((volatile uint16_t *)REG_CAN0_AM12H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM13H ((volatile uint16_t *)REG_CAN0_AM13H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM14H ((volatile uint16_t *)REG_CAN0_AM14H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM15H ((volatile uint16_t *)REG_CAN0_AM15H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM16H ((volatile uint16_t *)REG_CAN0_AM16H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM17H ((volatile uint16_t *)REG_CAN0_AM17H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM18H ((volatile uint16_t *)REG_CAN0_AM18H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM19H ((volatile uint16_t *)REG_CAN0_AM19H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM20H ((volatile uint16_t *)REG_CAN0_AM20H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM21H ((volatile uint16_t *)REG_CAN0_AM21H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM22H ((volatile uint16_t *)REG_CAN0_AM22H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM23H ((volatile uint16_t *)REG_CAN0_AM23H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM24H ((volatile uint16_t *)REG_CAN0_AM24H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM25H ((volatile uint16_t *)REG_CAN0_AM25H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM26H ((volatile uint16_t *)REG_CAN0_AM26H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM27H ((volatile uint16_t *)REG_CAN0_AM27H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM28H ((volatile uint16_t *)REG_CAN0_AM28H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM29H ((volatile uint16_t *)REG_CAN0_AM29H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM30H ((volatile uint16_t *)REG_CAN0_AM30H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_AM31H ((volatile uint16_t *)REG_CAN0_AM31H) /* CAN0 Acceptance Mask (H) Register */
-#define pREG_CAN0_MB00_DATA0 ((volatile uint16_t *)REG_CAN0_MB00_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB01_DATA0 ((volatile uint16_t *)REG_CAN0_MB01_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB02_DATA0 ((volatile uint16_t *)REG_CAN0_MB02_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB03_DATA0 ((volatile uint16_t *)REG_CAN0_MB03_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB04_DATA0 ((volatile uint16_t *)REG_CAN0_MB04_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB05_DATA0 ((volatile uint16_t *)REG_CAN0_MB05_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB06_DATA0 ((volatile uint16_t *)REG_CAN0_MB06_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB07_DATA0 ((volatile uint16_t *)REG_CAN0_MB07_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB08_DATA0 ((volatile uint16_t *)REG_CAN0_MB08_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB09_DATA0 ((volatile uint16_t *)REG_CAN0_MB09_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB10_DATA0 ((volatile uint16_t *)REG_CAN0_MB10_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB11_DATA0 ((volatile uint16_t *)REG_CAN0_MB11_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB12_DATA0 ((volatile uint16_t *)REG_CAN0_MB12_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB13_DATA0 ((volatile uint16_t *)REG_CAN0_MB13_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB14_DATA0 ((volatile uint16_t *)REG_CAN0_MB14_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB15_DATA0 ((volatile uint16_t *)REG_CAN0_MB15_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB16_DATA0 ((volatile uint16_t *)REG_CAN0_MB16_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB17_DATA0 ((volatile uint16_t *)REG_CAN0_MB17_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB18_DATA0 ((volatile uint16_t *)REG_CAN0_MB18_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB19_DATA0 ((volatile uint16_t *)REG_CAN0_MB19_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB20_DATA0 ((volatile uint16_t *)REG_CAN0_MB20_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB21_DATA0 ((volatile uint16_t *)REG_CAN0_MB21_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB22_DATA0 ((volatile uint16_t *)REG_CAN0_MB22_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB23_DATA0 ((volatile uint16_t *)REG_CAN0_MB23_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB24_DATA0 ((volatile uint16_t *)REG_CAN0_MB24_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB25_DATA0 ((volatile uint16_t *)REG_CAN0_MB25_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB26_DATA0 ((volatile uint16_t *)REG_CAN0_MB26_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB27_DATA0 ((volatile uint16_t *)REG_CAN0_MB27_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB28_DATA0 ((volatile uint16_t *)REG_CAN0_MB28_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB29_DATA0 ((volatile uint16_t *)REG_CAN0_MB29_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB30_DATA0 ((volatile uint16_t *)REG_CAN0_MB30_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB31_DATA0 ((volatile uint16_t *)REG_CAN0_MB31_DATA0) /* CAN0 Mailbox Word 0 Register */
-#define pREG_CAN0_MB00_DATA1 ((volatile uint16_t *)REG_CAN0_MB00_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB01_DATA1 ((volatile uint16_t *)REG_CAN0_MB01_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB02_DATA1 ((volatile uint16_t *)REG_CAN0_MB02_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB03_DATA1 ((volatile uint16_t *)REG_CAN0_MB03_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB04_DATA1 ((volatile uint16_t *)REG_CAN0_MB04_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB05_DATA1 ((volatile uint16_t *)REG_CAN0_MB05_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB06_DATA1 ((volatile uint16_t *)REG_CAN0_MB06_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB07_DATA1 ((volatile uint16_t *)REG_CAN0_MB07_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB08_DATA1 ((volatile uint16_t *)REG_CAN0_MB08_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB09_DATA1 ((volatile uint16_t *)REG_CAN0_MB09_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB10_DATA1 ((volatile uint16_t *)REG_CAN0_MB10_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB11_DATA1 ((volatile uint16_t *)REG_CAN0_MB11_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB12_DATA1 ((volatile uint16_t *)REG_CAN0_MB12_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB13_DATA1 ((volatile uint16_t *)REG_CAN0_MB13_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB14_DATA1 ((volatile uint16_t *)REG_CAN0_MB14_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB15_DATA1 ((volatile uint16_t *)REG_CAN0_MB15_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB16_DATA1 ((volatile uint16_t *)REG_CAN0_MB16_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB17_DATA1 ((volatile uint16_t *)REG_CAN0_MB17_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB18_DATA1 ((volatile uint16_t *)REG_CAN0_MB18_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB19_DATA1 ((volatile uint16_t *)REG_CAN0_MB19_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB20_DATA1 ((volatile uint16_t *)REG_CAN0_MB20_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB21_DATA1 ((volatile uint16_t *)REG_CAN0_MB21_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB22_DATA1 ((volatile uint16_t *)REG_CAN0_MB22_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB23_DATA1 ((volatile uint16_t *)REG_CAN0_MB23_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB24_DATA1 ((volatile uint16_t *)REG_CAN0_MB24_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB25_DATA1 ((volatile uint16_t *)REG_CAN0_MB25_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB26_DATA1 ((volatile uint16_t *)REG_CAN0_MB26_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB27_DATA1 ((volatile uint16_t *)REG_CAN0_MB27_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB28_DATA1 ((volatile uint16_t *)REG_CAN0_MB28_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB29_DATA1 ((volatile uint16_t *)REG_CAN0_MB29_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB30_DATA1 ((volatile uint16_t *)REG_CAN0_MB30_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB31_DATA1 ((volatile uint16_t *)REG_CAN0_MB31_DATA1) /* CAN0 Mailbox Word 1 Register */
-#define pREG_CAN0_MB00_DATA2 ((volatile uint16_t *)REG_CAN0_MB00_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB01_DATA2 ((volatile uint16_t *)REG_CAN0_MB01_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB02_DATA2 ((volatile uint16_t *)REG_CAN0_MB02_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB03_DATA2 ((volatile uint16_t *)REG_CAN0_MB03_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB04_DATA2 ((volatile uint16_t *)REG_CAN0_MB04_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB05_DATA2 ((volatile uint16_t *)REG_CAN0_MB05_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB06_DATA2 ((volatile uint16_t *)REG_CAN0_MB06_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB07_DATA2 ((volatile uint16_t *)REG_CAN0_MB07_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB08_DATA2 ((volatile uint16_t *)REG_CAN0_MB08_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB09_DATA2 ((volatile uint16_t *)REG_CAN0_MB09_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB10_DATA2 ((volatile uint16_t *)REG_CAN0_MB10_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB11_DATA2 ((volatile uint16_t *)REG_CAN0_MB11_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB12_DATA2 ((volatile uint16_t *)REG_CAN0_MB12_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB13_DATA2 ((volatile uint16_t *)REG_CAN0_MB13_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB14_DATA2 ((volatile uint16_t *)REG_CAN0_MB14_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB15_DATA2 ((volatile uint16_t *)REG_CAN0_MB15_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB16_DATA2 ((volatile uint16_t *)REG_CAN0_MB16_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB17_DATA2 ((volatile uint16_t *)REG_CAN0_MB17_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB18_DATA2 ((volatile uint16_t *)REG_CAN0_MB18_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB19_DATA2 ((volatile uint16_t *)REG_CAN0_MB19_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB20_DATA2 ((volatile uint16_t *)REG_CAN0_MB20_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB21_DATA2 ((volatile uint16_t *)REG_CAN0_MB21_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB22_DATA2 ((volatile uint16_t *)REG_CAN0_MB22_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB23_DATA2 ((volatile uint16_t *)REG_CAN0_MB23_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB24_DATA2 ((volatile uint16_t *)REG_CAN0_MB24_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB25_DATA2 ((volatile uint16_t *)REG_CAN0_MB25_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB26_DATA2 ((volatile uint16_t *)REG_CAN0_MB26_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB27_DATA2 ((volatile uint16_t *)REG_CAN0_MB27_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB28_DATA2 ((volatile uint16_t *)REG_CAN0_MB28_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB29_DATA2 ((volatile uint16_t *)REG_CAN0_MB29_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB30_DATA2 ((volatile uint16_t *)REG_CAN0_MB30_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB31_DATA2 ((volatile uint16_t *)REG_CAN0_MB31_DATA2) /* CAN0 Mailbox Word 2 Register */
-#define pREG_CAN0_MB00_DATA3 ((volatile uint16_t *)REG_CAN0_MB00_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB01_DATA3 ((volatile uint16_t *)REG_CAN0_MB01_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB02_DATA3 ((volatile uint16_t *)REG_CAN0_MB02_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB03_DATA3 ((volatile uint16_t *)REG_CAN0_MB03_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB04_DATA3 ((volatile uint16_t *)REG_CAN0_MB04_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB05_DATA3 ((volatile uint16_t *)REG_CAN0_MB05_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB06_DATA3 ((volatile uint16_t *)REG_CAN0_MB06_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB07_DATA3 ((volatile uint16_t *)REG_CAN0_MB07_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB08_DATA3 ((volatile uint16_t *)REG_CAN0_MB08_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB09_DATA3 ((volatile uint16_t *)REG_CAN0_MB09_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB10_DATA3 ((volatile uint16_t *)REG_CAN0_MB10_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB11_DATA3 ((volatile uint16_t *)REG_CAN0_MB11_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB12_DATA3 ((volatile uint16_t *)REG_CAN0_MB12_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB13_DATA3 ((volatile uint16_t *)REG_CAN0_MB13_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB14_DATA3 ((volatile uint16_t *)REG_CAN0_MB14_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB15_DATA3 ((volatile uint16_t *)REG_CAN0_MB15_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB16_DATA3 ((volatile uint16_t *)REG_CAN0_MB16_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB17_DATA3 ((volatile uint16_t *)REG_CAN0_MB17_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB18_DATA3 ((volatile uint16_t *)REG_CAN0_MB18_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB19_DATA3 ((volatile uint16_t *)REG_CAN0_MB19_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB20_DATA3 ((volatile uint16_t *)REG_CAN0_MB20_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB21_DATA3 ((volatile uint16_t *)REG_CAN0_MB21_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB22_DATA3 ((volatile uint16_t *)REG_CAN0_MB22_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB23_DATA3 ((volatile uint16_t *)REG_CAN0_MB23_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB24_DATA3 ((volatile uint16_t *)REG_CAN0_MB24_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB25_DATA3 ((volatile uint16_t *)REG_CAN0_MB25_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB26_DATA3 ((volatile uint16_t *)REG_CAN0_MB26_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB27_DATA3 ((volatile uint16_t *)REG_CAN0_MB27_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB28_DATA3 ((volatile uint16_t *)REG_CAN0_MB28_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB29_DATA3 ((volatile uint16_t *)REG_CAN0_MB29_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB30_DATA3 ((volatile uint16_t *)REG_CAN0_MB30_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB31_DATA3 ((volatile uint16_t *)REG_CAN0_MB31_DATA3) /* CAN0 Mailbox Word 3 Register */
-#define pREG_CAN0_MB00_LENGTH ((volatile uint16_t *)REG_CAN0_MB00_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB01_LENGTH ((volatile uint16_t *)REG_CAN0_MB01_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB02_LENGTH ((volatile uint16_t *)REG_CAN0_MB02_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB03_LENGTH ((volatile uint16_t *)REG_CAN0_MB03_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB04_LENGTH ((volatile uint16_t *)REG_CAN0_MB04_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB05_LENGTH ((volatile uint16_t *)REG_CAN0_MB05_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB06_LENGTH ((volatile uint16_t *)REG_CAN0_MB06_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB07_LENGTH ((volatile uint16_t *)REG_CAN0_MB07_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB08_LENGTH ((volatile uint16_t *)REG_CAN0_MB08_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB09_LENGTH ((volatile uint16_t *)REG_CAN0_MB09_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB10_LENGTH ((volatile uint16_t *)REG_CAN0_MB10_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB11_LENGTH ((volatile uint16_t *)REG_CAN0_MB11_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB12_LENGTH ((volatile uint16_t *)REG_CAN0_MB12_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB13_LENGTH ((volatile uint16_t *)REG_CAN0_MB13_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB14_LENGTH ((volatile uint16_t *)REG_CAN0_MB14_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB15_LENGTH ((volatile uint16_t *)REG_CAN0_MB15_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB16_LENGTH ((volatile uint16_t *)REG_CAN0_MB16_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB17_LENGTH ((volatile uint16_t *)REG_CAN0_MB17_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB18_LENGTH ((volatile uint16_t *)REG_CAN0_MB18_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB19_LENGTH ((volatile uint16_t *)REG_CAN0_MB19_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB20_LENGTH ((volatile uint16_t *)REG_CAN0_MB20_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB21_LENGTH ((volatile uint16_t *)REG_CAN0_MB21_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB22_LENGTH ((volatile uint16_t *)REG_CAN0_MB22_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB23_LENGTH ((volatile uint16_t *)REG_CAN0_MB23_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB24_LENGTH ((volatile uint16_t *)REG_CAN0_MB24_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB25_LENGTH ((volatile uint16_t *)REG_CAN0_MB25_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB26_LENGTH ((volatile uint16_t *)REG_CAN0_MB26_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB27_LENGTH ((volatile uint16_t *)REG_CAN0_MB27_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB28_LENGTH ((volatile uint16_t *)REG_CAN0_MB28_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB29_LENGTH ((volatile uint16_t *)REG_CAN0_MB29_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB30_LENGTH ((volatile uint16_t *)REG_CAN0_MB30_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB31_LENGTH ((volatile uint16_t *)REG_CAN0_MB31_LENGTH) /* CAN0 Mailbox Length Register */
-#define pREG_CAN0_MB00_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB00_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB01_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB01_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB02_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB02_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB03_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB03_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB04_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB04_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB05_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB05_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB06_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB06_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB07_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB07_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB08_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB08_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB09_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB09_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB10_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB10_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB11_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB11_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB12_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB12_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB13_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB13_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB14_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB14_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB15_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB15_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB16_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB16_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB17_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB17_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB18_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB18_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB19_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB19_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB20_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB20_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB21_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB21_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB22_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB22_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB23_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB23_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB24_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB24_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB25_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB25_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB26_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB26_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB27_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB27_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB28_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB28_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB29_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB29_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB30_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB30_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB31_TIMESTAMP ((volatile uint16_t *)REG_CAN0_MB31_TIMESTAMP) /* CAN0 Mailbox Timestamp Register */
-#define pREG_CAN0_MB00_ID0 ((volatile uint16_t *)REG_CAN0_MB00_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB01_ID0 ((volatile uint16_t *)REG_CAN0_MB01_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB02_ID0 ((volatile uint16_t *)REG_CAN0_MB02_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB03_ID0 ((volatile uint16_t *)REG_CAN0_MB03_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB04_ID0 ((volatile uint16_t *)REG_CAN0_MB04_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB05_ID0 ((volatile uint16_t *)REG_CAN0_MB05_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB06_ID0 ((volatile uint16_t *)REG_CAN0_MB06_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB07_ID0 ((volatile uint16_t *)REG_CAN0_MB07_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB08_ID0 ((volatile uint16_t *)REG_CAN0_MB08_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB09_ID0 ((volatile uint16_t *)REG_CAN0_MB09_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB10_ID0 ((volatile uint16_t *)REG_CAN0_MB10_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB11_ID0 ((volatile uint16_t *)REG_CAN0_MB11_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB12_ID0 ((volatile uint16_t *)REG_CAN0_MB12_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB13_ID0 ((volatile uint16_t *)REG_CAN0_MB13_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB14_ID0 ((volatile uint16_t *)REG_CAN0_MB14_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB15_ID0 ((volatile uint16_t *)REG_CAN0_MB15_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB16_ID0 ((volatile uint16_t *)REG_CAN0_MB16_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB17_ID0 ((volatile uint16_t *)REG_CAN0_MB17_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB18_ID0 ((volatile uint16_t *)REG_CAN0_MB18_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB19_ID0 ((volatile uint16_t *)REG_CAN0_MB19_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB20_ID0 ((volatile uint16_t *)REG_CAN0_MB20_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB21_ID0 ((volatile uint16_t *)REG_CAN0_MB21_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB22_ID0 ((volatile uint16_t *)REG_CAN0_MB22_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB23_ID0 ((volatile uint16_t *)REG_CAN0_MB23_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB24_ID0 ((volatile uint16_t *)REG_CAN0_MB24_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB25_ID0 ((volatile uint16_t *)REG_CAN0_MB25_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB26_ID0 ((volatile uint16_t *)REG_CAN0_MB26_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB27_ID0 ((volatile uint16_t *)REG_CAN0_MB27_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB28_ID0 ((volatile uint16_t *)REG_CAN0_MB28_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB29_ID0 ((volatile uint16_t *)REG_CAN0_MB29_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB30_ID0 ((volatile uint16_t *)REG_CAN0_MB30_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB31_ID0 ((volatile uint16_t *)REG_CAN0_MB31_ID0) /* CAN0 Mailbox ID 0 Register */
-#define pREG_CAN0_MB00_ID1 ((volatile uint16_t *)REG_CAN0_MB00_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB01_ID1 ((volatile uint16_t *)REG_CAN0_MB01_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB02_ID1 ((volatile uint16_t *)REG_CAN0_MB02_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB03_ID1 ((volatile uint16_t *)REG_CAN0_MB03_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB04_ID1 ((volatile uint16_t *)REG_CAN0_MB04_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB05_ID1 ((volatile uint16_t *)REG_CAN0_MB05_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB06_ID1 ((volatile uint16_t *)REG_CAN0_MB06_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB07_ID1 ((volatile uint16_t *)REG_CAN0_MB07_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB08_ID1 ((volatile uint16_t *)REG_CAN0_MB08_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB09_ID1 ((volatile uint16_t *)REG_CAN0_MB09_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB10_ID1 ((volatile uint16_t *)REG_CAN0_MB10_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB11_ID1 ((volatile uint16_t *)REG_CAN0_MB11_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB12_ID1 ((volatile uint16_t *)REG_CAN0_MB12_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB13_ID1 ((volatile uint16_t *)REG_CAN0_MB13_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB14_ID1 ((volatile uint16_t *)REG_CAN0_MB14_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB15_ID1 ((volatile uint16_t *)REG_CAN0_MB15_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB16_ID1 ((volatile uint16_t *)REG_CAN0_MB16_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB17_ID1 ((volatile uint16_t *)REG_CAN0_MB17_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB18_ID1 ((volatile uint16_t *)REG_CAN0_MB18_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB19_ID1 ((volatile uint16_t *)REG_CAN0_MB19_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB20_ID1 ((volatile uint16_t *)REG_CAN0_MB20_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB21_ID1 ((volatile uint16_t *)REG_CAN0_MB21_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB22_ID1 ((volatile uint16_t *)REG_CAN0_MB22_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB23_ID1 ((volatile uint16_t *)REG_CAN0_MB23_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB24_ID1 ((volatile uint16_t *)REG_CAN0_MB24_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB25_ID1 ((volatile uint16_t *)REG_CAN0_MB25_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB26_ID1 ((volatile uint16_t *)REG_CAN0_MB26_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB27_ID1 ((volatile uint16_t *)REG_CAN0_MB27_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB28_ID1 ((volatile uint16_t *)REG_CAN0_MB28_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB29_ID1 ((volatile uint16_t *)REG_CAN0_MB29_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB30_ID1 ((volatile uint16_t *)REG_CAN0_MB30_ID1) /* CAN0 Mailbox ID 1 Register */
-#define pREG_CAN0_MB31_ID1 ((volatile uint16_t *)REG_CAN0_MB31_ID1) /* CAN0 Mailbox ID 1 Register */
-
-
-/* =========================================================================
- LP0
- ========================================================================= */
-#define pREG_LP0_CTL ((volatile uint32_t *)REG_LP0_CTL) /* LP0 Control Register */
-#define pREG_LP0_STAT ((volatile uint32_t *)REG_LP0_STAT) /* LP0 Status Register */
-#define pREG_LP0_DIV ((volatile uint32_t *)REG_LP0_DIV) /* LP0 Clock Divider Value */
-#define pREG_LP0_TX ((volatile uint32_t *)REG_LP0_TX) /* LP0 Transmit Buffer */
-#define pREG_LP0_RX ((volatile uint32_t *)REG_LP0_RX) /* LP0 Receive Buffer */
-#define pREG_LP0_TXIN_SHDW ((volatile uint32_t *)REG_LP0_TXIN_SHDW) /* LP0 Shadow Input Transmit Buffer */
-#define pREG_LP0_TXOUT_SHDW ((volatile uint32_t *)REG_LP0_TXOUT_SHDW) /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP1
- ========================================================================= */
-#define pREG_LP1_CTL ((volatile uint32_t *)REG_LP1_CTL) /* LP1 Control Register */
-#define pREG_LP1_STAT ((volatile uint32_t *)REG_LP1_STAT) /* LP1 Status Register */
-#define pREG_LP1_DIV ((volatile uint32_t *)REG_LP1_DIV) /* LP1 Clock Divider Value */
-#define pREG_LP1_TX ((volatile uint32_t *)REG_LP1_TX) /* LP1 Transmit Buffer */
-#define pREG_LP1_RX ((volatile uint32_t *)REG_LP1_RX) /* LP1 Receive Buffer */
-#define pREG_LP1_TXIN_SHDW ((volatile uint32_t *)REG_LP1_TXIN_SHDW) /* LP1 Shadow Input Transmit Buffer */
-#define pREG_LP1_TXOUT_SHDW ((volatile uint32_t *)REG_LP1_TXOUT_SHDW) /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP2
- ========================================================================= */
-#define pREG_LP2_CTL ((volatile uint32_t *)REG_LP2_CTL) /* LP2 Control Register */
-#define pREG_LP2_STAT ((volatile uint32_t *)REG_LP2_STAT) /* LP2 Status Register */
-#define pREG_LP2_DIV ((volatile uint32_t *)REG_LP2_DIV) /* LP2 Clock Divider Value */
-#define pREG_LP2_TX ((volatile uint32_t *)REG_LP2_TX) /* LP2 Transmit Buffer */
-#define pREG_LP2_RX ((volatile uint32_t *)REG_LP2_RX) /* LP2 Receive Buffer */
-#define pREG_LP2_TXIN_SHDW ((volatile uint32_t *)REG_LP2_TXIN_SHDW) /* LP2 Shadow Input Transmit Buffer */
-#define pREG_LP2_TXOUT_SHDW ((volatile uint32_t *)REG_LP2_TXOUT_SHDW) /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================================================================
- LP3
- ========================================================================= */
-#define pREG_LP3_CTL ((volatile uint32_t *)REG_LP3_CTL) /* LP3 Control Register */
-#define pREG_LP3_STAT ((volatile uint32_t *)REG_LP3_STAT) /* LP3 Status Register */
-#define pREG_LP3_DIV ((volatile uint32_t *)REG_LP3_DIV) /* LP3 Clock Divider Value */
-#define pREG_LP3_TX ((volatile uint32_t *)REG_LP3_TX) /* LP3 Transmit Buffer */
-#define pREG_LP3_RX ((volatile uint32_t *)REG_LP3_RX) /* LP3 Receive Buffer */
-#define pREG_LP3_TXIN_SHDW ((volatile uint32_t *)REG_LP3_TXIN_SHDW) /* LP3 Shadow Input Transmit Buffer */
-#define pREG_LP3_TXOUT_SHDW ((volatile uint32_t *)REG_LP3_TXOUT_SHDW) /* LP3 Shadow Output Transmit Buffer */
-
-
-/* =========================================================================
- TIMER0
- ========================================================================= */
-#define pREG_TIMER0_REVID ((volatile uint16_t *)REG_TIMER0_REVID) /* TIMER0 Revision ID Register */
-#define pREG_TIMER0_RUN ((volatile uint16_t *)REG_TIMER0_RUN) /* TIMER0 Run Register */
-#define pREG_TIMER0_RUN_SET ((volatile uint16_t *)REG_TIMER0_RUN_SET) /* TIMER0 Run Set Register */
-#define pREG_TIMER0_RUN_CLR ((volatile uint16_t *)REG_TIMER0_RUN_CLR) /* TIMER0 Run Clear Register */
-#define pREG_TIMER0_STOP_CFG ((volatile uint16_t *)REG_TIMER0_STOP_CFG) /* TIMER0 Stop Configuration Register */
-#define pREG_TIMER0_STOP_CFG_SET ((volatile uint16_t *)REG_TIMER0_STOP_CFG_SET) /* TIMER0 Stop Configuration Set Register */
-#define pREG_TIMER0_STOP_CFG_CLR ((volatile uint16_t *)REG_TIMER0_STOP_CFG_CLR) /* TIMER0 Stop Configuration Clear Register */
-#define pREG_TIMER0_DATA_IMSK ((volatile uint16_t *)REG_TIMER0_DATA_IMSK) /* TIMER0 Data Interrupt Mask Register */
-#define pREG_TIMER0_STAT_IMSK ((volatile uint16_t *)REG_TIMER0_STAT_IMSK) /* TIMER0 Status Interrupt Mask Register */
-#define pREG_TIMER0_TRG_MSK ((volatile uint16_t *)REG_TIMER0_TRG_MSK) /* TIMER0 Trigger Master Mask Register */
-#define pREG_TIMER0_TRG_IE ((volatile uint16_t *)REG_TIMER0_TRG_IE) /* TIMER0 Trigger Slave Enable Register */
-#define pREG_TIMER0_DATA_ILAT ((volatile uint16_t *)REG_TIMER0_DATA_ILAT) /* TIMER0 Data Interrupt Latch Register */
-#define pREG_TIMER0_STAT_ILAT ((volatile uint16_t *)REG_TIMER0_STAT_ILAT) /* TIMER0 Status Interrupt Latch Register */
-#define pREG_TIMER0_ERR_TYPE ((volatile uint32_t *)REG_TIMER0_ERR_TYPE) /* TIMER0 Error Type Status Register */
-#define pREG_TIMER0_BCAST_PER ((volatile uint32_t *)REG_TIMER0_BCAST_PER) /* TIMER0 Broadcast Period Register */
-#define pREG_TIMER0_BCAST_WID ((volatile uint32_t *)REG_TIMER0_BCAST_WID) /* TIMER0 Broadcast Width Register */
-#define pREG_TIMER0_BCAST_DLY ((volatile uint32_t *)REG_TIMER0_BCAST_DLY) /* TIMER0 Broadcast Delay Register */
-#define pREG_TIMER0_TMR0_CFG ((volatile uint16_t *)REG_TIMER0_TMR0_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR1_CFG ((volatile uint16_t *)REG_TIMER0_TMR1_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR2_CFG ((volatile uint16_t *)REG_TIMER0_TMR2_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR3_CFG ((volatile uint16_t *)REG_TIMER0_TMR3_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR4_CFG ((volatile uint16_t *)REG_TIMER0_TMR4_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR5_CFG ((volatile uint16_t *)REG_TIMER0_TMR5_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR6_CFG ((volatile uint16_t *)REG_TIMER0_TMR6_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR7_CFG ((volatile uint16_t *)REG_TIMER0_TMR7_CFG) /* TIMER0 Timer n Configuration Register */
-#define pREG_TIMER0_TMR0_CNT ((volatile uint32_t *)REG_TIMER0_TMR0_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR1_CNT ((volatile uint32_t *)REG_TIMER0_TMR1_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR2_CNT ((volatile uint32_t *)REG_TIMER0_TMR2_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR3_CNT ((volatile uint32_t *)REG_TIMER0_TMR3_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR4_CNT ((volatile uint32_t *)REG_TIMER0_TMR4_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR5_CNT ((volatile uint32_t *)REG_TIMER0_TMR5_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR6_CNT ((volatile uint32_t *)REG_TIMER0_TMR6_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR7_CNT ((volatile uint32_t *)REG_TIMER0_TMR7_CNT) /* TIMER0 Timer n Counter Register */
-#define pREG_TIMER0_TMR0_PER ((volatile uint32_t *)REG_TIMER0_TMR0_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR1_PER ((volatile uint32_t *)REG_TIMER0_TMR1_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR2_PER ((volatile uint32_t *)REG_TIMER0_TMR2_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR3_PER ((volatile uint32_t *)REG_TIMER0_TMR3_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR4_PER ((volatile uint32_t *)REG_TIMER0_TMR4_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR5_PER ((volatile uint32_t *)REG_TIMER0_TMR5_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR6_PER ((volatile uint32_t *)REG_TIMER0_TMR6_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR7_PER ((volatile uint32_t *)REG_TIMER0_TMR7_PER) /* TIMER0 Timer n Period Register */
-#define pREG_TIMER0_TMR0_WID ((volatile uint32_t *)REG_TIMER0_TMR0_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR1_WID ((volatile uint32_t *)REG_TIMER0_TMR1_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR2_WID ((volatile uint32_t *)REG_TIMER0_TMR2_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR3_WID ((volatile uint32_t *)REG_TIMER0_TMR3_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR4_WID ((volatile uint32_t *)REG_TIMER0_TMR4_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR5_WID ((volatile uint32_t *)REG_TIMER0_TMR5_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR6_WID ((volatile uint32_t *)REG_TIMER0_TMR6_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR7_WID ((volatile uint32_t *)REG_TIMER0_TMR7_WID) /* TIMER0 Timer n Width Register */
-#define pREG_TIMER0_TMR0_DLY ((volatile uint32_t *)REG_TIMER0_TMR0_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR1_DLY ((volatile uint32_t *)REG_TIMER0_TMR1_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR2_DLY ((volatile uint32_t *)REG_TIMER0_TMR2_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR3_DLY ((volatile uint32_t *)REG_TIMER0_TMR3_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR4_DLY ((volatile uint32_t *)REG_TIMER0_TMR4_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR5_DLY ((volatile uint32_t *)REG_TIMER0_TMR5_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR6_DLY ((volatile uint32_t *)REG_TIMER0_TMR6_DLY) /* TIMER0 Timer n Delay Register */
-#define pREG_TIMER0_TMR7_DLY ((volatile uint32_t *)REG_TIMER0_TMR7_DLY) /* TIMER0 Timer n Delay Register */
-
-
-/* =========================================================================
- CRC0
- ========================================================================= */
-#define pREG_CRC0_CTL ((volatile uint32_t *)REG_CRC0_CTL) /* CRC0 Control Register */
-#define pREG_CRC0_DCNT ((volatile uint32_t *)REG_CRC0_DCNT) /* CRC0 Data Word Count Register */
-#define pREG_CRC0_DCNTRLD ((volatile uint32_t *)REG_CRC0_DCNTRLD) /* CRC0 Data Word Count Reload Register */
-#define pREG_CRC0_COMP ((volatile uint32_t *)REG_CRC0_COMP) /* CRC0 Data Compare Register */
-#define pREG_CRC0_FILLVAL ((volatile uint32_t *)REG_CRC0_FILLVAL) /* CRC0 Fill Value Register */
-#define pREG_CRC0_DFIFO ((volatile uint32_t *)REG_CRC0_DFIFO) /* CRC0 Data FIFO Register */
-#define pREG_CRC0_INEN ((volatile uint32_t *)REG_CRC0_INEN) /* CRC0 Interrupt Enable Register */
-#define pREG_CRC0_INEN_SET ((volatile uint32_t *)REG_CRC0_INEN_SET) /* CRC0 Interrupt Enable Set Register */
-#define pREG_CRC0_INEN_CLR ((volatile uint32_t *)REG_CRC0_INEN_CLR) /* CRC0 Interrupt Enable Clear Register */
-#define pREG_CRC0_POLY ((volatile uint32_t *)REG_CRC0_POLY) /* CRC0 Polynomial Register */
-#define pREG_CRC0_STAT ((volatile uint32_t *)REG_CRC0_STAT) /* CRC0 Status Register */
-#define pREG_CRC0_DCNTCAP ((volatile uint32_t *)REG_CRC0_DCNTCAP) /* CRC0 Data Count Capture Register */
-#define pREG_CRC0_RESULT_FIN ((volatile uint32_t *)REG_CRC0_RESULT_FIN) /* CRC0 CRC Final Result Register */
-#define pREG_CRC0_RESULT_CUR ((volatile uint32_t *)REG_CRC0_RESULT_CUR) /* CRC0 CRC Current Result Register */
-#define pREG_CRC0_REVID ((volatile uint32_t *)REG_CRC0_REVID) /* CRC0 Revision ID Register */
-
-/* =========================================================================
- CRC1
- ========================================================================= */
-#define pREG_CRC1_CTL ((volatile uint32_t *)REG_CRC1_CTL) /* CRC1 Control Register */
-#define pREG_CRC1_DCNT ((volatile uint32_t *)REG_CRC1_DCNT) /* CRC1 Data Word Count Register */
-#define pREG_CRC1_DCNTRLD ((volatile uint32_t *)REG_CRC1_DCNTRLD) /* CRC1 Data Word Count Reload Register */
-#define pREG_CRC1_COMP ((volatile uint32_t *)REG_CRC1_COMP) /* CRC1 Data Compare Register */
-#define pREG_CRC1_FILLVAL ((volatile uint32_t *)REG_CRC1_FILLVAL) /* CRC1 Fill Value Register */
-#define pREG_CRC1_DFIFO ((volatile uint32_t *)REG_CRC1_DFIFO) /* CRC1 Data FIFO Register */
-#define pREG_CRC1_INEN ((volatile uint32_t *)REG_CRC1_INEN) /* CRC1 Interrupt Enable Register */
-#define pREG_CRC1_INEN_SET ((volatile uint32_t *)REG_CRC1_INEN_SET) /* CRC1 Interrupt Enable Set Register */
-#define pREG_CRC1_INEN_CLR ((volatile uint32_t *)REG_CRC1_INEN_CLR) /* CRC1 Interrupt Enable Clear Register */
-#define pREG_CRC1_POLY ((volatile uint32_t *)REG_CRC1_POLY) /* CRC1 Polynomial Register */
-#define pREG_CRC1_STAT ((volatile uint32_t *)REG_CRC1_STAT) /* CRC1 Status Register */
-#define pREG_CRC1_DCNTCAP ((volatile uint32_t *)REG_CRC1_DCNTCAP) /* CRC1 Data Count Capture Register */
-#define pREG_CRC1_RESULT_FIN ((volatile uint32_t *)REG_CRC1_RESULT_FIN) /* CRC1 CRC Final Result Register */
-#define pREG_CRC1_RESULT_CUR ((volatile uint32_t *)REG_CRC1_RESULT_CUR) /* CRC1 CRC Current Result Register */
-#define pREG_CRC1_REVID ((volatile uint32_t *)REG_CRC1_REVID) /* CRC1 Revision ID Register */
-
-
-/* =========================================================================
- TWI0
- ========================================================================= */
-#define pREG_TWI0_CLKDIV ((volatile uint16_t *)REG_TWI0_CLKDIV) /* TWI0 SCL Clock Divider Register */
-#define pREG_TWI0_CTL ((volatile uint16_t *)REG_TWI0_CTL) /* TWI0 Control Register */
-#define pREG_TWI0_SLVCTL ((volatile uint16_t *)REG_TWI0_SLVCTL) /* TWI0 Slave Mode Control Register */
-#define pREG_TWI0_SLVSTAT ((volatile uint16_t *)REG_TWI0_SLVSTAT) /* TWI0 Slave Mode Status Register */
-#define pREG_TWI0_SLVADDR ((volatile uint16_t *)REG_TWI0_SLVADDR) /* TWI0 Slave Mode Address Register */
-#define pREG_TWI0_MSTRCTL ((volatile uint16_t *)REG_TWI0_MSTRCTL) /* TWI0 Master Mode Control Registers */
-#define pREG_TWI0_MSTRSTAT ((volatile uint16_t *)REG_TWI0_MSTRSTAT) /* TWI0 Master Mode Status Register */
-#define pREG_TWI0_MSTRADDR ((volatile uint16_t *)REG_TWI0_MSTRADDR) /* TWI0 Master Mode Address Register */
-#define pREG_TWI0_ISTAT ((volatile uint16_t *)REG_TWI0_ISTAT) /* TWI0 Interrupt Status Register */
-#define pREG_TWI0_IMSK ((volatile uint16_t *)REG_TWI0_IMSK) /* TWI0 Interrupt Mask Register */
-#define pREG_TWI0_FIFOCTL ((volatile uint16_t *)REG_TWI0_FIFOCTL) /* TWI0 FIFO Control Register */
-#define pREG_TWI0_FIFOSTAT ((volatile uint16_t *)REG_TWI0_FIFOSTAT) /* TWI0 FIFO Status Register */
-#define pREG_TWI0_TXDATA8 ((volatile uint16_t *)REG_TWI0_TXDATA8) /* TWI0 Tx Data Single-Byte Register */
-#define pREG_TWI0_TXDATA16 ((volatile uint16_t *)REG_TWI0_TXDATA16) /* TWI0 Tx Data Double-Byte Register */
-#define pREG_TWI0_RXDATA8 ((volatile uint16_t *)REG_TWI0_RXDATA8) /* TWI0 Rx Data Single-Byte Register */
-#define pREG_TWI0_RXDATA16 ((volatile uint16_t *)REG_TWI0_RXDATA16) /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================================================================
- TWI1
- ========================================================================= */
-#define pREG_TWI1_CLKDIV ((volatile uint16_t *)REG_TWI1_CLKDIV) /* TWI1 SCL Clock Divider Register */
-#define pREG_TWI1_CTL ((volatile uint16_t *)REG_TWI1_CTL) /* TWI1 Control Register */
-#define pREG_TWI1_SLVCTL ((volatile uint16_t *)REG_TWI1_SLVCTL) /* TWI1 Slave Mode Control Register */
-#define pREG_TWI1_SLVSTAT ((volatile uint16_t *)REG_TWI1_SLVSTAT) /* TWI1 Slave Mode Status Register */
-#define pREG_TWI1_SLVADDR ((volatile uint16_t *)REG_TWI1_SLVADDR) /* TWI1 Slave Mode Address Register */
-#define pREG_TWI1_MSTRCTL ((volatile uint16_t *)REG_TWI1_MSTRCTL) /* TWI1 Master Mode Control Registers */
-#define pREG_TWI1_MSTRSTAT ((volatile uint16_t *)REG_TWI1_MSTRSTAT) /* TWI1 Master Mode Status Register */
-#define pREG_TWI1_MSTRADDR ((volatile uint16_t *)REG_TWI1_MSTRADDR) /* TWI1 Master Mode Address Register */
-#define pREG_TWI1_ISTAT ((volatile uint16_t *)REG_TWI1_ISTAT) /* TWI1 Interrupt Status Register */
-#define pREG_TWI1_IMSK ((volatile uint16_t *)REG_TWI1_IMSK) /* TWI1 Interrupt Mask Register */
-#define pREG_TWI1_FIFOCTL ((volatile uint16_t *)REG_TWI1_FIFOCTL) /* TWI1 FIFO Control Register */
-#define pREG_TWI1_FIFOSTAT ((volatile uint16_t *)REG_TWI1_FIFOSTAT) /* TWI1 FIFO Status Register */
-#define pREG_TWI1_TXDATA8 ((volatile uint16_t *)REG_TWI1_TXDATA8) /* TWI1 Tx Data Single-Byte Register */
-#define pREG_TWI1_TXDATA16 ((volatile uint16_t *)REG_TWI1_TXDATA16) /* TWI1 Tx Data Double-Byte Register */
-#define pREG_TWI1_RXDATA8 ((volatile uint16_t *)REG_TWI1_RXDATA8) /* TWI1 Rx Data Single-Byte Register */
-#define pREG_TWI1_RXDATA16 ((volatile uint16_t *)REG_TWI1_RXDATA16) /* TWI1 Rx Data Double-Byte Register */
-
-
-/* =========================================================================
- UART0
- ========================================================================= */
-#define pREG_UART0_REVID ((volatile uint32_t *)REG_UART0_REVID) /* UART0 Revision ID Register */
-#define pREG_UART0_CTL ((volatile uint32_t *)REG_UART0_CTL) /* UART0 Control Register */
-#define pREG_UART0_STAT ((volatile uint32_t *)REG_UART0_STAT) /* UART0 Status Register */
-#define pREG_UART0_SCR ((volatile uint32_t *)REG_UART0_SCR) /* UART0 Scratch Register */
-#define pREG_UART0_CLK ((volatile uint32_t *)REG_UART0_CLK) /* UART0 Clock Rate Register */
-#define pREG_UART0_IMSK ((volatile uint32_t *)REG_UART0_IMSK) /* UART0 Interrupt Mask Register */
-#define pREG_UART0_IMSK_SET ((volatile uint32_t *)REG_UART0_IMSK_SET) /* UART0 Interrupt Mask Set Register */
-#define pREG_UART0_IMSK_CLR ((volatile uint32_t *)REG_UART0_IMSK_CLR) /* UART0 Interrupt Mask Clear Register */
-#define pREG_UART0_RBR ((volatile uint32_t *)REG_UART0_RBR) /* UART0 Receive Buffer Register */
-#define pREG_UART0_THR ((volatile uint32_t *)REG_UART0_THR) /* UART0 Transmit Hold Register */
-#define pREG_UART0_TAIP ((volatile uint32_t *)REG_UART0_TAIP) /* UART0 Transmit Address/Insert Pulse Register */
-#define pREG_UART0_TSR ((volatile uint32_t *)REG_UART0_TSR) /* UART0 Transmit Shift Register */
-#define pREG_UART0_RSR ((volatile uint32_t *)REG_UART0_RSR) /* UART0 Receive Shift Register */
-#define pREG_UART0_TXCNT ((volatile uint32_t *)REG_UART0_TXCNT) /* UART0 Transmit Counter Register */
-#define pREG_UART0_RXCNT ((volatile uint32_t *)REG_UART0_RXCNT) /* UART0 Receive Counter Register */
-
-/* =========================================================================
- UART1
- ========================================================================= */
-#define pREG_UART1_REVID ((volatile uint32_t *)REG_UART1_REVID) /* UART1 Revision ID Register */
-#define pREG_UART1_CTL ((volatile uint32_t *)REG_UART1_CTL) /* UART1 Control Register */
-#define pREG_UART1_STAT ((volatile uint32_t *)REG_UART1_STAT) /* UART1 Status Register */
-#define pREG_UART1_SCR ((volatile uint32_t *)REG_UART1_SCR) /* UART1 Scratch Register */
-#define pREG_UART1_CLK ((volatile uint32_t *)REG_UART1_CLK) /* UART1 Clock Rate Register */
-#define pREG_UART1_IMSK ((volatile uint32_t *)REG_UART1_IMSK) /* UART1 Interrupt Mask Register */
-#define pREG_UART1_IMSK_SET ((volatile uint32_t *)REG_UART1_IMSK_SET) /* UART1 Interrupt Mask Set Register */
-#define pREG_UART1_IMSK_CLR ((volatile uint32_t *)REG_UART1_IMSK_CLR) /* UART1 Interrupt Mask Clear Register */
-#define pREG_UART1_RBR ((volatile uint32_t *)REG_UART1_RBR) /* UART1 Receive Buffer Register */
-#define pREG_UART1_THR ((volatile uint32_t *)REG_UART1_THR) /* UART1 Transmit Hold Register */
-#define pREG_UART1_TAIP ((volatile uint32_t *)REG_UART1_TAIP) /* UART1 Transmit Address/Insert Pulse Register */
-#define pREG_UART1_TSR ((volatile uint32_t *)REG_UART1_TSR) /* UART1 Transmit Shift Register */
-#define pREG_UART1_RSR ((volatile uint32_t *)REG_UART1_RSR) /* UART1 Receive Shift Register */
-#define pREG_UART1_TXCNT ((volatile uint32_t *)REG_UART1_TXCNT) /* UART1 Transmit Counter Register */
-#define pREG_UART1_RXCNT ((volatile uint32_t *)REG_UART1_RXCNT) /* UART1 Receive Counter Register */
-
-
-/* =========================================================================
- PORTA
- ========================================================================= */
-#define pREG_PORTA_FER ((volatile uint32_t *)REG_PORTA_FER) /* PORTA Port x Function Enable Register */
-#define pREG_PORTA_FER_SET ((volatile uint32_t *)REG_PORTA_FER_SET) /* PORTA Port x Function Enable Set Register */
-#define pREG_PORTA_FER_CLR ((volatile uint32_t *)REG_PORTA_FER_CLR) /* PORTA Port x Function Enable Clear Register */
-#define pREG_PORTA_DATA ((volatile uint32_t *)REG_PORTA_DATA) /* PORTA Port x GPIO Data Register */
-#define pREG_PORTA_DATA_SET ((volatile uint32_t *)REG_PORTA_DATA_SET) /* PORTA Port x GPIO Data Set Register */
-#define pREG_PORTA_DATA_CLR ((volatile uint32_t *)REG_PORTA_DATA_CLR) /* PORTA Port x GPIO Data Clear Register */
-#define pREG_PORTA_DIR ((volatile uint32_t *)REG_PORTA_DIR) /* PORTA Port x GPIO Direction Register */
-#define pREG_PORTA_DIR_SET ((volatile uint32_t *)REG_PORTA_DIR_SET) /* PORTA Port x GPIO Direction Set Register */
-#define pREG_PORTA_DIR_CLR ((volatile uint32_t *)REG_PORTA_DIR_CLR) /* PORTA Port x GPIO Direction Clear Register */
-#define pREG_PORTA_INEN ((volatile uint32_t *)REG_PORTA_INEN) /* PORTA Port x GPIO Input Enable Register */
-#define pREG_PORTA_INEN_SET ((volatile uint32_t *)REG_PORTA_INEN_SET) /* PORTA Port x GPIO Input Enable Set Register */
-#define pREG_PORTA_INEN_CLR ((volatile uint32_t *)REG_PORTA_INEN_CLR) /* PORTA Port x GPIO Input Enable Clear Register */
-#define pREG_PORTA_MUX ((volatile uint32_t *)REG_PORTA_MUX) /* PORTA Port x Multiplexer Control Register */
-#define pREG_PORTA_DATA_TGL ((volatile uint32_t *)REG_PORTA_DATA_TGL) /* PORTA Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTA_POL ((volatile uint32_t *)REG_PORTA_POL) /* PORTA Port x GPIO Polarity Invert Register */
-#define pREG_PORTA_POL_SET ((volatile uint32_t *)REG_PORTA_POL_SET) /* PORTA Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTA_POL_CLR ((volatile uint32_t *)REG_PORTA_POL_CLR) /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTA_LOCK ((volatile uint32_t *)REG_PORTA_LOCK) /* PORTA Port x GPIO Lock Register */
-#define pREG_PORTA_REVID ((volatile uint32_t *)REG_PORTA_REVID) /* PORTA Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTB
- ========================================================================= */
-#define pREG_PORTB_FER ((volatile uint32_t *)REG_PORTB_FER) /* PORTB Port x Function Enable Register */
-#define pREG_PORTB_FER_SET ((volatile uint32_t *)REG_PORTB_FER_SET) /* PORTB Port x Function Enable Set Register */
-#define pREG_PORTB_FER_CLR ((volatile uint32_t *)REG_PORTB_FER_CLR) /* PORTB Port x Function Enable Clear Register */
-#define pREG_PORTB_DATA ((volatile uint32_t *)REG_PORTB_DATA) /* PORTB Port x GPIO Data Register */
-#define pREG_PORTB_DATA_SET ((volatile uint32_t *)REG_PORTB_DATA_SET) /* PORTB Port x GPIO Data Set Register */
-#define pREG_PORTB_DATA_CLR ((volatile uint32_t *)REG_PORTB_DATA_CLR) /* PORTB Port x GPIO Data Clear Register */
-#define pREG_PORTB_DIR ((volatile uint32_t *)REG_PORTB_DIR) /* PORTB Port x GPIO Direction Register */
-#define pREG_PORTB_DIR_SET ((volatile uint32_t *)REG_PORTB_DIR_SET) /* PORTB Port x GPIO Direction Set Register */
-#define pREG_PORTB_DIR_CLR ((volatile uint32_t *)REG_PORTB_DIR_CLR) /* PORTB Port x GPIO Direction Clear Register */
-#define pREG_PORTB_INEN ((volatile uint32_t *)REG_PORTB_INEN) /* PORTB Port x GPIO Input Enable Register */
-#define pREG_PORTB_INEN_SET ((volatile uint32_t *)REG_PORTB_INEN_SET) /* PORTB Port x GPIO Input Enable Set Register */
-#define pREG_PORTB_INEN_CLR ((volatile uint32_t *)REG_PORTB_INEN_CLR) /* PORTB Port x GPIO Input Enable Clear Register */
-#define pREG_PORTB_MUX ((volatile uint32_t *)REG_PORTB_MUX) /* PORTB Port x Multiplexer Control Register */
-#define pREG_PORTB_DATA_TGL ((volatile uint32_t *)REG_PORTB_DATA_TGL) /* PORTB Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTB_POL ((volatile uint32_t *)REG_PORTB_POL) /* PORTB Port x GPIO Polarity Invert Register */
-#define pREG_PORTB_POL_SET ((volatile uint32_t *)REG_PORTB_POL_SET) /* PORTB Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTB_POL_CLR ((volatile uint32_t *)REG_PORTB_POL_CLR) /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTB_LOCK ((volatile uint32_t *)REG_PORTB_LOCK) /* PORTB Port x GPIO Lock Register */
-#define pREG_PORTB_REVID ((volatile uint32_t *)REG_PORTB_REVID) /* PORTB Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTC
- ========================================================================= */
-#define pREG_PORTC_FER ((volatile uint32_t *)REG_PORTC_FER) /* PORTC Port x Function Enable Register */
-#define pREG_PORTC_FER_SET ((volatile uint32_t *)REG_PORTC_FER_SET) /* PORTC Port x Function Enable Set Register */
-#define pREG_PORTC_FER_CLR ((volatile uint32_t *)REG_PORTC_FER_CLR) /* PORTC Port x Function Enable Clear Register */
-#define pREG_PORTC_DATA ((volatile uint32_t *)REG_PORTC_DATA) /* PORTC Port x GPIO Data Register */
-#define pREG_PORTC_DATA_SET ((volatile uint32_t *)REG_PORTC_DATA_SET) /* PORTC Port x GPIO Data Set Register */
-#define pREG_PORTC_DATA_CLR ((volatile uint32_t *)REG_PORTC_DATA_CLR) /* PORTC Port x GPIO Data Clear Register */
-#define pREG_PORTC_DIR ((volatile uint32_t *)REG_PORTC_DIR) /* PORTC Port x GPIO Direction Register */
-#define pREG_PORTC_DIR_SET ((volatile uint32_t *)REG_PORTC_DIR_SET) /* PORTC Port x GPIO Direction Set Register */
-#define pREG_PORTC_DIR_CLR ((volatile uint32_t *)REG_PORTC_DIR_CLR) /* PORTC Port x GPIO Direction Clear Register */
-#define pREG_PORTC_INEN ((volatile uint32_t *)REG_PORTC_INEN) /* PORTC Port x GPIO Input Enable Register */
-#define pREG_PORTC_INEN_SET ((volatile uint32_t *)REG_PORTC_INEN_SET) /* PORTC Port x GPIO Input Enable Set Register */
-#define pREG_PORTC_INEN_CLR ((volatile uint32_t *)REG_PORTC_INEN_CLR) /* PORTC Port x GPIO Input Enable Clear Register */
-#define pREG_PORTC_MUX ((volatile uint32_t *)REG_PORTC_MUX) /* PORTC Port x Multiplexer Control Register */
-#define pREG_PORTC_DATA_TGL ((volatile uint32_t *)REG_PORTC_DATA_TGL) /* PORTC Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTC_POL ((volatile uint32_t *)REG_PORTC_POL) /* PORTC Port x GPIO Polarity Invert Register */
-#define pREG_PORTC_POL_SET ((volatile uint32_t *)REG_PORTC_POL_SET) /* PORTC Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTC_POL_CLR ((volatile uint32_t *)REG_PORTC_POL_CLR) /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTC_LOCK ((volatile uint32_t *)REG_PORTC_LOCK) /* PORTC Port x GPIO Lock Register */
-#define pREG_PORTC_REVID ((volatile uint32_t *)REG_PORTC_REVID) /* PORTC Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTD
- ========================================================================= */
-#define pREG_PORTD_FER ((volatile uint32_t *)REG_PORTD_FER) /* PORTD Port x Function Enable Register */
-#define pREG_PORTD_FER_SET ((volatile uint32_t *)REG_PORTD_FER_SET) /* PORTD Port x Function Enable Set Register */
-#define pREG_PORTD_FER_CLR ((volatile uint32_t *)REG_PORTD_FER_CLR) /* PORTD Port x Function Enable Clear Register */
-#define pREG_PORTD_DATA ((volatile uint32_t *)REG_PORTD_DATA) /* PORTD Port x GPIO Data Register */
-#define pREG_PORTD_DATA_SET ((volatile uint32_t *)REG_PORTD_DATA_SET) /* PORTD Port x GPIO Data Set Register */
-#define pREG_PORTD_DATA_CLR ((volatile uint32_t *)REG_PORTD_DATA_CLR) /* PORTD Port x GPIO Data Clear Register */
-#define pREG_PORTD_DIR ((volatile uint32_t *)REG_PORTD_DIR) /* PORTD Port x GPIO Direction Register */
-#define pREG_PORTD_DIR_SET ((volatile uint32_t *)REG_PORTD_DIR_SET) /* PORTD Port x GPIO Direction Set Register */
-#define pREG_PORTD_DIR_CLR ((volatile uint32_t *)REG_PORTD_DIR_CLR) /* PORTD Port x GPIO Direction Clear Register */
-#define pREG_PORTD_INEN ((volatile uint32_t *)REG_PORTD_INEN) /* PORTD Port x GPIO Input Enable Register */
-#define pREG_PORTD_INEN_SET ((volatile uint32_t *)REG_PORTD_INEN_SET) /* PORTD Port x GPIO Input Enable Set Register */
-#define pREG_PORTD_INEN_CLR ((volatile uint32_t *)REG_PORTD_INEN_CLR) /* PORTD Port x GPIO Input Enable Clear Register */
-#define pREG_PORTD_MUX ((volatile uint32_t *)REG_PORTD_MUX) /* PORTD Port x Multiplexer Control Register */
-#define pREG_PORTD_DATA_TGL ((volatile uint32_t *)REG_PORTD_DATA_TGL) /* PORTD Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTD_POL ((volatile uint32_t *)REG_PORTD_POL) /* PORTD Port x GPIO Polarity Invert Register */
-#define pREG_PORTD_POL_SET ((volatile uint32_t *)REG_PORTD_POL_SET) /* PORTD Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTD_POL_CLR ((volatile uint32_t *)REG_PORTD_POL_CLR) /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTD_LOCK ((volatile uint32_t *)REG_PORTD_LOCK) /* PORTD Port x GPIO Lock Register */
-#define pREG_PORTD_REVID ((volatile uint32_t *)REG_PORTD_REVID) /* PORTD Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTE
- ========================================================================= */
-#define pREG_PORTE_FER ((volatile uint32_t *)REG_PORTE_FER) /* PORTE Port x Function Enable Register */
-#define pREG_PORTE_FER_SET ((volatile uint32_t *)REG_PORTE_FER_SET) /* PORTE Port x Function Enable Set Register */
-#define pREG_PORTE_FER_CLR ((volatile uint32_t *)REG_PORTE_FER_CLR) /* PORTE Port x Function Enable Clear Register */
-#define pREG_PORTE_DATA ((volatile uint32_t *)REG_PORTE_DATA) /* PORTE Port x GPIO Data Register */
-#define pREG_PORTE_DATA_SET ((volatile uint32_t *)REG_PORTE_DATA_SET) /* PORTE Port x GPIO Data Set Register */
-#define pREG_PORTE_DATA_CLR ((volatile uint32_t *)REG_PORTE_DATA_CLR) /* PORTE Port x GPIO Data Clear Register */
-#define pREG_PORTE_DIR ((volatile uint32_t *)REG_PORTE_DIR) /* PORTE Port x GPIO Direction Register */
-#define pREG_PORTE_DIR_SET ((volatile uint32_t *)REG_PORTE_DIR_SET) /* PORTE Port x GPIO Direction Set Register */
-#define pREG_PORTE_DIR_CLR ((volatile uint32_t *)REG_PORTE_DIR_CLR) /* PORTE Port x GPIO Direction Clear Register */
-#define pREG_PORTE_INEN ((volatile uint32_t *)REG_PORTE_INEN) /* PORTE Port x GPIO Input Enable Register */
-#define pREG_PORTE_INEN_SET ((volatile uint32_t *)REG_PORTE_INEN_SET) /* PORTE Port x GPIO Input Enable Set Register */
-#define pREG_PORTE_INEN_CLR ((volatile uint32_t *)REG_PORTE_INEN_CLR) /* PORTE Port x GPIO Input Enable Clear Register */
-#define pREG_PORTE_MUX ((volatile uint32_t *)REG_PORTE_MUX) /* PORTE Port x Multiplexer Control Register */
-#define pREG_PORTE_DATA_TGL ((volatile uint32_t *)REG_PORTE_DATA_TGL) /* PORTE Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTE_POL ((volatile uint32_t *)REG_PORTE_POL) /* PORTE Port x GPIO Polarity Invert Register */
-#define pREG_PORTE_POL_SET ((volatile uint32_t *)REG_PORTE_POL_SET) /* PORTE Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTE_POL_CLR ((volatile uint32_t *)REG_PORTE_POL_CLR) /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTE_LOCK ((volatile uint32_t *)REG_PORTE_LOCK) /* PORTE Port x GPIO Lock Register */
-#define pREG_PORTE_REVID ((volatile uint32_t *)REG_PORTE_REVID) /* PORTE Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTF
- ========================================================================= */
-#define pREG_PORTF_FER ((volatile uint32_t *)REG_PORTF_FER) /* PORTF Port x Function Enable Register */
-#define pREG_PORTF_FER_SET ((volatile uint32_t *)REG_PORTF_FER_SET) /* PORTF Port x Function Enable Set Register */
-#define pREG_PORTF_FER_CLR ((volatile uint32_t *)REG_PORTF_FER_CLR) /* PORTF Port x Function Enable Clear Register */
-#define pREG_PORTF_DATA ((volatile uint32_t *)REG_PORTF_DATA) /* PORTF Port x GPIO Data Register */
-#define pREG_PORTF_DATA_SET ((volatile uint32_t *)REG_PORTF_DATA_SET) /* PORTF Port x GPIO Data Set Register */
-#define pREG_PORTF_DATA_CLR ((volatile uint32_t *)REG_PORTF_DATA_CLR) /* PORTF Port x GPIO Data Clear Register */
-#define pREG_PORTF_DIR ((volatile uint32_t *)REG_PORTF_DIR) /* PORTF Port x GPIO Direction Register */
-#define pREG_PORTF_DIR_SET ((volatile uint32_t *)REG_PORTF_DIR_SET) /* PORTF Port x GPIO Direction Set Register */
-#define pREG_PORTF_DIR_CLR ((volatile uint32_t *)REG_PORTF_DIR_CLR) /* PORTF Port x GPIO Direction Clear Register */
-#define pREG_PORTF_INEN ((volatile uint32_t *)REG_PORTF_INEN) /* PORTF Port x GPIO Input Enable Register */
-#define pREG_PORTF_INEN_SET ((volatile uint32_t *)REG_PORTF_INEN_SET) /* PORTF Port x GPIO Input Enable Set Register */
-#define pREG_PORTF_INEN_CLR ((volatile uint32_t *)REG_PORTF_INEN_CLR) /* PORTF Port x GPIO Input Enable Clear Register */
-#define pREG_PORTF_MUX ((volatile uint32_t *)REG_PORTF_MUX) /* PORTF Port x Multiplexer Control Register */
-#define pREG_PORTF_DATA_TGL ((volatile uint32_t *)REG_PORTF_DATA_TGL) /* PORTF Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTF_POL ((volatile uint32_t *)REG_PORTF_POL) /* PORTF Port x GPIO Polarity Invert Register */
-#define pREG_PORTF_POL_SET ((volatile uint32_t *)REG_PORTF_POL_SET) /* PORTF Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTF_POL_CLR ((volatile uint32_t *)REG_PORTF_POL_CLR) /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTF_LOCK ((volatile uint32_t *)REG_PORTF_LOCK) /* PORTF Port x GPIO Lock Register */
-#define pREG_PORTF_REVID ((volatile uint32_t *)REG_PORTF_REVID) /* PORTF Port x GPIO Revision ID */
-
-/* =========================================================================
- PORTG
- ========================================================================= */
-#define pREG_PORTG_FER ((volatile uint32_t *)REG_PORTG_FER) /* PORTG Port x Function Enable Register */
-#define pREG_PORTG_FER_SET ((volatile uint32_t *)REG_PORTG_FER_SET) /* PORTG Port x Function Enable Set Register */
-#define pREG_PORTG_FER_CLR ((volatile uint32_t *)REG_PORTG_FER_CLR) /* PORTG Port x Function Enable Clear Register */
-#define pREG_PORTG_DATA ((volatile uint32_t *)REG_PORTG_DATA) /* PORTG Port x GPIO Data Register */
-#define pREG_PORTG_DATA_SET ((volatile uint32_t *)REG_PORTG_DATA_SET) /* PORTG Port x GPIO Data Set Register */
-#define pREG_PORTG_DATA_CLR ((volatile uint32_t *)REG_PORTG_DATA_CLR) /* PORTG Port x GPIO Data Clear Register */
-#define pREG_PORTG_DIR ((volatile uint32_t *)REG_PORTG_DIR) /* PORTG Port x GPIO Direction Register */
-#define pREG_PORTG_DIR_SET ((volatile uint32_t *)REG_PORTG_DIR_SET) /* PORTG Port x GPIO Direction Set Register */
-#define pREG_PORTG_DIR_CLR ((volatile uint32_t *)REG_PORTG_DIR_CLR) /* PORTG Port x GPIO Direction Clear Register */
-#define pREG_PORTG_INEN ((volatile uint32_t *)REG_PORTG_INEN) /* PORTG Port x GPIO Input Enable Register */
-#define pREG_PORTG_INEN_SET ((volatile uint32_t *)REG_PORTG_INEN_SET) /* PORTG Port x GPIO Input Enable Set Register */
-#define pREG_PORTG_INEN_CLR ((volatile uint32_t *)REG_PORTG_INEN_CLR) /* PORTG Port x GPIO Input Enable Clear Register */
-#define pREG_PORTG_MUX ((volatile uint32_t *)REG_PORTG_MUX) /* PORTG Port x Multiplexer Control Register */
-#define pREG_PORTG_DATA_TGL ((volatile uint32_t *)REG_PORTG_DATA_TGL) /* PORTG Port x GPIO Input Enable Toggle Register */
-#define pREG_PORTG_POL ((volatile uint32_t *)REG_PORTG_POL) /* PORTG Port x GPIO Polarity Invert Register */
-#define pREG_PORTG_POL_SET ((volatile uint32_t *)REG_PORTG_POL_SET) /* PORTG Port x GPIO Polarity Invert Set Register */
-#define pREG_PORTG_POL_CLR ((volatile uint32_t *)REG_PORTG_POL_CLR) /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define pREG_PORTG_LOCK ((volatile uint32_t *)REG_PORTG_LOCK) /* PORTG Port x GPIO Lock Register */
-#define pREG_PORTG_REVID ((volatile uint32_t *)REG_PORTG_REVID) /* PORTG Port x GPIO Revision ID */
-
-
-/* =========================================================================
- PADS0
- ========================================================================= */
-#define pREG_PADS0_EMAC_PTP_CLKSEL ((volatile uint32_t *)REG_PADS0_EMAC_PTP_CLKSEL) /* PADS0 Clock Selection for EMAC and PTP */
-#define pREG_PADS0_TWI_VSEL ((volatile uint32_t *)REG_PADS0_TWI_VSEL) /* PADS0 TWI Voltage Selection */
-#define pREG_PADS0_PORTS_HYST ((volatile uint32_t *)REG_PADS0_PORTS_HYST) /* PADS0 Hysteresis Enable Register */
-
-
-/* =========================================================================
- PINT0
- ========================================================================= */
-#define pREG_PINT0_MSK_SET ((volatile uint32_t *)REG_PINT0_MSK_SET) /* PINT0 Pint Mask Set Register */
-#define pREG_PINT0_MSK_CLR ((volatile uint32_t *)REG_PINT0_MSK_CLR) /* PINT0 Pint Mask Clear Register */
-#define pREG_PINT0_REQ ((volatile uint32_t *)REG_PINT0_REQ) /* PINT0 Pint Request Register */
-#define pREG_PINT0_ASSIGN ((volatile uint32_t *)REG_PINT0_ASSIGN) /* PINT0 Pint Assign Register */
-#define pREG_PINT0_EDGE_SET ((volatile uint32_t *)REG_PINT0_EDGE_SET) /* PINT0 Pint Edge Set Register */
-#define pREG_PINT0_EDGE_CLR ((volatile uint32_t *)REG_PINT0_EDGE_CLR) /* PINT0 Pint Edge Clear Register */
-#define pREG_PINT0_INV_SET ((volatile uint32_t *)REG_PINT0_INV_SET) /* PINT0 Pint Invert Set Register */
-#define pREG_PINT0_INV_CLR ((volatile uint32_t *)REG_PINT0_INV_CLR) /* PINT0 Pint Invert Clear Register */
-#define pREG_PINT0_PINSTATE ((volatile uint32_t *)REG_PINT0_PINSTATE) /* PINT0 Pint Pinstate Register */
-#define pREG_PINT0_LATCH ((volatile uint32_t *)REG_PINT0_LATCH) /* PINT0 Pint Latch Register */
-
-/* =========================================================================
- PINT1
- ========================================================================= */
-#define pREG_PINT1_MSK_SET ((volatile uint32_t *)REG_PINT1_MSK_SET) /* PINT1 Pint Mask Set Register */
-#define pREG_PINT1_MSK_CLR ((volatile uint32_t *)REG_PINT1_MSK_CLR) /* PINT1 Pint Mask Clear Register */
-#define pREG_PINT1_REQ ((volatile uint32_t *)REG_PINT1_REQ) /* PINT1 Pint Request Register */
-#define pREG_PINT1_ASSIGN ((volatile uint32_t *)REG_PINT1_ASSIGN) /* PINT1 Pint Assign Register */
-#define pREG_PINT1_EDGE_SET ((volatile uint32_t *)REG_PINT1_EDGE_SET) /* PINT1 Pint Edge Set Register */
-#define pREG_PINT1_EDGE_CLR ((volatile uint32_t *)REG_PINT1_EDGE_CLR) /* PINT1 Pint Edge Clear Register */
-#define pREG_PINT1_INV_SET ((volatile uint32_t *)REG_PINT1_INV_SET) /* PINT1 Pint Invert Set Register */
-#define pREG_PINT1_INV_CLR ((volatile uint32_t *)REG_PINT1_INV_CLR) /* PINT1 Pint Invert Clear Register */
-#define pREG_PINT1_PINSTATE ((volatile uint32_t *)REG_PINT1_PINSTATE) /* PINT1 Pint Pinstate Register */
-#define pREG_PINT1_LATCH ((volatile uint32_t *)REG_PINT1_LATCH) /* PINT1 Pint Latch Register */
-
-/* =========================================================================
- PINT2
- ========================================================================= */
-#define pREG_PINT2_MSK_SET ((volatile uint32_t *)REG_PINT2_MSK_SET) /* PINT2 Pint Mask Set Register */
-#define pREG_PINT2_MSK_CLR ((volatile uint32_t *)REG_PINT2_MSK_CLR) /* PINT2 Pint Mask Clear Register */
-#define pREG_PINT2_REQ ((volatile uint32_t *)REG_PINT2_REQ) /* PINT2 Pint Request Register */
-#define pREG_PINT2_ASSIGN ((volatile uint32_t *)REG_PINT2_ASSIGN) /* PINT2 Pint Assign Register */
-#define pREG_PINT2_EDGE_SET ((volatile uint32_t *)REG_PINT2_EDGE_SET) /* PINT2 Pint Edge Set Register */
-#define pREG_PINT2_EDGE_CLR ((volatile uint32_t *)REG_PINT2_EDGE_CLR) /* PINT2 Pint Edge Clear Register */
-#define pREG_PINT2_INV_SET ((volatile uint32_t *)REG_PINT2_INV_SET) /* PINT2 Pint Invert Set Register */
-#define pREG_PINT2_INV_CLR ((volatile uint32_t *)REG_PINT2_INV_CLR) /* PINT2 Pint Invert Clear Register */
-#define pREG_PINT2_PINSTATE ((volatile uint32_t *)REG_PINT2_PINSTATE) /* PINT2 Pint Pinstate Register */
-#define pREG_PINT2_LATCH ((volatile uint32_t *)REG_PINT2_LATCH) /* PINT2 Pint Latch Register */
-
-/* =========================================================================
- PINT3
- ========================================================================= */
-#define pREG_PINT3_MSK_SET ((volatile uint32_t *)REG_PINT3_MSK_SET) /* PINT3 Pint Mask Set Register */
-#define pREG_PINT3_MSK_CLR ((volatile uint32_t *)REG_PINT3_MSK_CLR) /* PINT3 Pint Mask Clear Register */
-#define pREG_PINT3_REQ ((volatile uint32_t *)REG_PINT3_REQ) /* PINT3 Pint Request Register */
-#define pREG_PINT3_ASSIGN ((volatile uint32_t *)REG_PINT3_ASSIGN) /* PINT3 Pint Assign Register */
-#define pREG_PINT3_EDGE_SET ((volatile uint32_t *)REG_PINT3_EDGE_SET) /* PINT3 Pint Edge Set Register */
-#define pREG_PINT3_EDGE_CLR ((volatile uint32_t *)REG_PINT3_EDGE_CLR) /* PINT3 Pint Edge Clear Register */
-#define pREG_PINT3_INV_SET ((volatile uint32_t *)REG_PINT3_INV_SET) /* PINT3 Pint Invert Set Register */
-#define pREG_PINT3_INV_CLR ((volatile uint32_t *)REG_PINT3_INV_CLR) /* PINT3 Pint Invert Clear Register */
-#define pREG_PINT3_PINSTATE ((volatile uint32_t *)REG_PINT3_PINSTATE) /* PINT3 Pint Pinstate Register */
-#define pREG_PINT3_LATCH ((volatile uint32_t *)REG_PINT3_LATCH) /* PINT3 Pint Latch Register */
-
-/* =========================================================================
- PINT4
- ========================================================================= */
-#define pREG_PINT4_MSK_SET ((volatile uint32_t *)REG_PINT4_MSK_SET) /* PINT4 Pint Mask Set Register */
-#define pREG_PINT4_MSK_CLR ((volatile uint32_t *)REG_PINT4_MSK_CLR) /* PINT4 Pint Mask Clear Register */
-#define pREG_PINT4_REQ ((volatile uint32_t *)REG_PINT4_REQ) /* PINT4 Pint Request Register */
-#define pREG_PINT4_ASSIGN ((volatile uint32_t *)REG_PINT4_ASSIGN) /* PINT4 Pint Assign Register */
-#define pREG_PINT4_EDGE_SET ((volatile uint32_t *)REG_PINT4_EDGE_SET) /* PINT4 Pint Edge Set Register */
-#define pREG_PINT4_EDGE_CLR ((volatile uint32_t *)REG_PINT4_EDGE_CLR) /* PINT4 Pint Edge Clear Register */
-#define pREG_PINT4_INV_SET ((volatile uint32_t *)REG_PINT4_INV_SET) /* PINT4 Pint Invert Set Register */
-#define pREG_PINT4_INV_CLR ((volatile uint32_t *)REG_PINT4_INV_CLR) /* PINT4 Pint Invert Clear Register */
-#define pREG_PINT4_PINSTATE ((volatile uint32_t *)REG_PINT4_PINSTATE) /* PINT4 Pint Pinstate Register */
-#define pREG_PINT4_LATCH ((volatile uint32_t *)REG_PINT4_LATCH) /* PINT4 Pint Latch Register */
-
-/* =========================================================================
- PINT5
- ========================================================================= */
-#define pREG_PINT5_MSK_SET ((volatile uint32_t *)REG_PINT5_MSK_SET) /* PINT5 Pint Mask Set Register */
-#define pREG_PINT5_MSK_CLR ((volatile uint32_t *)REG_PINT5_MSK_CLR) /* PINT5 Pint Mask Clear Register */
-#define pREG_PINT5_REQ ((volatile uint32_t *)REG_PINT5_REQ) /* PINT5 Pint Request Register */
-#define pREG_PINT5_ASSIGN ((volatile uint32_t *)REG_PINT5_ASSIGN) /* PINT5 Pint Assign Register */
-#define pREG_PINT5_EDGE_SET ((volatile uint32_t *)REG_PINT5_EDGE_SET) /* PINT5 Pint Edge Set Register */
-#define pREG_PINT5_EDGE_CLR ((volatile uint32_t *)REG_PINT5_EDGE_CLR) /* PINT5 Pint Edge Clear Register */
-#define pREG_PINT5_INV_SET ((volatile uint32_t *)REG_PINT5_INV_SET) /* PINT5 Pint Invert Set Register */
-#define pREG_PINT5_INV_CLR ((volatile uint32_t *)REG_PINT5_INV_CLR) /* PINT5 Pint Invert Clear Register */
-#define pREG_PINT5_PINSTATE ((volatile uint32_t *)REG_PINT5_PINSTATE) /* PINT5 Pint Pinstate Register */
-#define pREG_PINT5_LATCH ((volatile uint32_t *)REG_PINT5_LATCH) /* PINT5 Pint Latch Register */
-
-
-/* =========================================================================
- SMC0
- ========================================================================= */
-#define pREG_SMC0_GCTL ((volatile uint32_t *)REG_SMC0_GCTL) /* SMC0 Grant Control Register */
-#define pREG_SMC0_GSTAT ((volatile uint32_t *)REG_SMC0_GSTAT) /* SMC0 Grant Status Register */
-#define pREG_SMC0_B0CTL ((volatile uint32_t *)REG_SMC0_B0CTL) /* SMC0 Bank 0 Control Register */
-#define pREG_SMC0_B0TIM ((volatile uint32_t *)REG_SMC0_B0TIM) /* SMC0 Bank 0 Timing Register */
-#define pREG_SMC0_B0ETIM ((volatile uint32_t *)REG_SMC0_B0ETIM) /* SMC0 Bank 0 Extended Timing Register */
-#define pREG_SMC0_B1CTL ((volatile uint32_t *)REG_SMC0_B1CTL) /* SMC0 Bank 1 Control Register */
-#define pREG_SMC0_B1TIM ((volatile uint32_t *)REG_SMC0_B1TIM) /* SMC0 Bank 1 Timing Register */
-#define pREG_SMC0_B1ETIM ((volatile uint32_t *)REG_SMC0_B1ETIM) /* SMC0 Bank 1 Extended Timing Register */
-#define pREG_SMC0_B2CTL ((volatile uint32_t *)REG_SMC0_B2CTL) /* SMC0 Bank 2 Control Register */
-#define pREG_SMC0_B2TIM ((volatile uint32_t *)REG_SMC0_B2TIM) /* SMC0 Bank 2 Timing Register */
-#define pREG_SMC0_B2ETIM ((volatile uint32_t *)REG_SMC0_B2ETIM) /* SMC0 Bank 2 Extended Timing Register */
-#define pREG_SMC0_B3CTL ((volatile uint32_t *)REG_SMC0_B3CTL) /* SMC0 Bank 3 Control Register */
-#define pREG_SMC0_B3TIM ((volatile uint32_t *)REG_SMC0_B3TIM) /* SMC0 Bank 3 Timing Register */
-#define pREG_SMC0_B3ETIM ((volatile uint32_t *)REG_SMC0_B3ETIM) /* SMC0 Bank 3 Extended Timing Register */
-
-
-/* =========================================================================
- WDOG0
- ========================================================================= */
-#define pREG_WDOG0_CTL ((volatile uint32_t *)REG_WDOG0_CTL) /* WDOG0 Control Register */
-#define pREG_WDOG0_CNT ((volatile uint32_t *)REG_WDOG0_CNT) /* WDOG0 Count Register */
-#define pREG_WDOG0_STAT ((volatile uint32_t *)REG_WDOG0_STAT) /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================================================================
- WDOG1
- ========================================================================= */
-#define pREG_WDOG1_CTL ((volatile uint32_t *)REG_WDOG1_CTL) /* WDOG1 Control Register */
-#define pREG_WDOG1_CNT ((volatile uint32_t *)REG_WDOG1_CNT) /* WDOG1 Count Register */
-#define pREG_WDOG1_STAT ((volatile uint32_t *)REG_WDOG1_STAT) /* WDOG1 Watchdog Timer Status Register */
-
-
-/* =========================================================================
- EPPI0
- ========================================================================= */
-#define pREG_EPPI0_STAT ((volatile uint32_t *)REG_EPPI0_STAT) /* EPPI0 Status Register */
-#define pREG_EPPI0_HCNT ((volatile uint32_t *)REG_EPPI0_HCNT) /* EPPI0 Horizontal Transfer Count Register */
-#define pREG_EPPI0_HDLY ((volatile uint32_t *)REG_EPPI0_HDLY) /* EPPI0 Horizontal Delay Count Register */
-#define pREG_EPPI0_VCNT ((volatile uint32_t *)REG_EPPI0_VCNT) /* EPPI0 Vertical Transfer Count Register */
-#define pREG_EPPI0_VDLY ((volatile uint32_t *)REG_EPPI0_VDLY) /* EPPI0 Vertical Delay Count Register */
-#define pREG_EPPI0_FRAME ((volatile uint32_t *)REG_EPPI0_FRAME) /* EPPI0 Lines Per Frame Register */
-#define pREG_EPPI0_LINE ((volatile uint32_t *)REG_EPPI0_LINE) /* EPPI0 Samples Per Line Register */
-#define pREG_EPPI0_CLKDIV ((volatile uint32_t *)REG_EPPI0_CLKDIV) /* EPPI0 Clock Divide Register */
-#define pREG_EPPI0_CTL ((volatile uint32_t *)REG_EPPI0_CTL) /* EPPI0 Control Register */
-#define pREG_EPPI0_FS1_WLHB ((volatile uint32_t *)REG_EPPI0_FS1_WLHB) /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI0_FS1_PASPL ((volatile uint32_t *)REG_EPPI0_FS1_PASPL) /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI0_FS2_WLVB ((volatile uint32_t *)REG_EPPI0_FS2_WLVB) /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI0_FS2_PALPF ((volatile uint32_t *)REG_EPPI0_FS2_PALPF) /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI0_IMSK ((volatile uint32_t *)REG_EPPI0_IMSK) /* EPPI0 Interrupt Mask Register */
-#define pREG_EPPI0_ODDCLIP ((volatile uint32_t *)REG_EPPI0_ODDCLIP) /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI0_EVENCLIP ((volatile uint32_t *)REG_EPPI0_EVENCLIP) /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI0_FS1_DLY ((volatile uint32_t *)REG_EPPI0_FS1_DLY) /* EPPI0 Frame Sync 1 Delay Value */
-#define pREG_EPPI0_FS2_DLY ((volatile uint32_t *)REG_EPPI0_FS2_DLY) /* EPPI0 Frame Sync 2 Delay Value */
-#define pREG_EPPI0_CTL2 ((volatile uint32_t *)REG_EPPI0_CTL2) /* EPPI0 Control Register 2 */
-
-/* =========================================================================
- EPPI1
- ========================================================================= */
-#define pREG_EPPI1_STAT ((volatile uint32_t *)REG_EPPI1_STAT) /* EPPI1 Status Register */
-#define pREG_EPPI1_HCNT ((volatile uint32_t *)REG_EPPI1_HCNT) /* EPPI1 Horizontal Transfer Count Register */
-#define pREG_EPPI1_HDLY ((volatile uint32_t *)REG_EPPI1_HDLY) /* EPPI1 Horizontal Delay Count Register */
-#define pREG_EPPI1_VCNT ((volatile uint32_t *)REG_EPPI1_VCNT) /* EPPI1 Vertical Transfer Count Register */
-#define pREG_EPPI1_VDLY ((volatile uint32_t *)REG_EPPI1_VDLY) /* EPPI1 Vertical Delay Count Register */
-#define pREG_EPPI1_FRAME ((volatile uint32_t *)REG_EPPI1_FRAME) /* EPPI1 Lines Per Frame Register */
-#define pREG_EPPI1_LINE ((volatile uint32_t *)REG_EPPI1_LINE) /* EPPI1 Samples Per Line Register */
-#define pREG_EPPI1_CLKDIV ((volatile uint32_t *)REG_EPPI1_CLKDIV) /* EPPI1 Clock Divide Register */
-#define pREG_EPPI1_CTL ((volatile uint32_t *)REG_EPPI1_CTL) /* EPPI1 Control Register */
-#define pREG_EPPI1_FS1_WLHB ((volatile uint32_t *)REG_EPPI1_FS1_WLHB) /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI1_FS1_PASPL ((volatile uint32_t *)REG_EPPI1_FS1_PASPL) /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI1_FS2_WLVB ((volatile uint32_t *)REG_EPPI1_FS2_WLVB) /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI1_FS2_PALPF ((volatile uint32_t *)REG_EPPI1_FS2_PALPF) /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI1_IMSK ((volatile uint32_t *)REG_EPPI1_IMSK) /* EPPI1 Interrupt Mask Register */
-#define pREG_EPPI1_ODDCLIP ((volatile uint32_t *)REG_EPPI1_ODDCLIP) /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI1_EVENCLIP ((volatile uint32_t *)REG_EPPI1_EVENCLIP) /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI1_FS1_DLY ((volatile uint32_t *)REG_EPPI1_FS1_DLY) /* EPPI1 Frame Sync 1 Delay Value */
-#define pREG_EPPI1_FS2_DLY ((volatile uint32_t *)REG_EPPI1_FS2_DLY) /* EPPI1 Frame Sync 2 Delay Value */
-#define pREG_EPPI1_CTL2 ((volatile uint32_t *)REG_EPPI1_CTL2) /* EPPI1 Control Register 2 */
-
-/* =========================================================================
- EPPI2
- ========================================================================= */
-#define pREG_EPPI2_STAT ((volatile uint32_t *)REG_EPPI2_STAT) /* EPPI2 Status Register */
-#define pREG_EPPI2_HCNT ((volatile uint32_t *)REG_EPPI2_HCNT) /* EPPI2 Horizontal Transfer Count Register */
-#define pREG_EPPI2_HDLY ((volatile uint32_t *)REG_EPPI2_HDLY) /* EPPI2 Horizontal Delay Count Register */
-#define pREG_EPPI2_VCNT ((volatile uint32_t *)REG_EPPI2_VCNT) /* EPPI2 Vertical Transfer Count Register */
-#define pREG_EPPI2_VDLY ((volatile uint32_t *)REG_EPPI2_VDLY) /* EPPI2 Vertical Delay Count Register */
-#define pREG_EPPI2_FRAME ((volatile uint32_t *)REG_EPPI2_FRAME) /* EPPI2 Lines Per Frame Register */
-#define pREG_EPPI2_LINE ((volatile uint32_t *)REG_EPPI2_LINE) /* EPPI2 Samples Per Line Register */
-#define pREG_EPPI2_CLKDIV ((volatile uint32_t *)REG_EPPI2_CLKDIV) /* EPPI2 Clock Divide Register */
-#define pREG_EPPI2_CTL ((volatile uint32_t *)REG_EPPI2_CTL) /* EPPI2 Control Register */
-#define pREG_EPPI2_FS1_WLHB ((volatile uint32_t *)REG_EPPI2_FS1_WLHB) /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define pREG_EPPI2_FS1_PASPL ((volatile uint32_t *)REG_EPPI2_FS1_PASPL) /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define pREG_EPPI2_FS2_WLVB ((volatile uint32_t *)REG_EPPI2_FS2_WLVB) /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define pREG_EPPI2_FS2_PALPF ((volatile uint32_t *)REG_EPPI2_FS2_PALPF) /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define pREG_EPPI2_IMSK ((volatile uint32_t *)REG_EPPI2_IMSK) /* EPPI2 Interrupt Mask Register */
-#define pREG_EPPI2_ODDCLIP ((volatile uint32_t *)REG_EPPI2_ODDCLIP) /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define pREG_EPPI2_EVENCLIP ((volatile uint32_t *)REG_EPPI2_EVENCLIP) /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define pREG_EPPI2_FS1_DLY ((volatile uint32_t *)REG_EPPI2_FS1_DLY) /* EPPI2 Frame Sync 1 Delay Value */
-#define pREG_EPPI2_FS2_DLY ((volatile uint32_t *)REG_EPPI2_FS2_DLY) /* EPPI2 Frame Sync 2 Delay Value */
-#define pREG_EPPI2_CTL2 ((volatile uint32_t *)REG_EPPI2_CTL2) /* EPPI2 Control Register 2 */
-
-
-/* =========================================================================
- PIXC0
- ========================================================================= */
-#define pREG_PIXC0_CTL ((volatile uint32_t *)REG_PIXC0_CTL) /* PIXC0 Control Register */
-#define pREG_PIXC0_PPL ((volatile uint16_t *)REG_PIXC0_PPL) /* PIXC0 Pixels Per Line Register */
-#define pREG_PIXC0_LPF ((volatile uint16_t *)REG_PIXC0_LPF) /* PIXC0 Line Per Frame Register */
-#define pREG_PIXC0_HSTART_A ((volatile uint16_t *)REG_PIXC0_HSTART_A) /* PIXC0 Overlay A Horizontal Start Register */
-#define pREG_PIXC0_HEND_A ((volatile uint16_t *)REG_PIXC0_HEND_A) /* PIXC0 Overlay A Horizontal End Register */
-#define pREG_PIXC0_VSTART_A ((volatile uint16_t *)REG_PIXC0_VSTART_A) /* PIXC0 Overlay A Vertical Start Register */
-#define pREG_PIXC0_VEND_A ((volatile uint16_t *)REG_PIXC0_VEND_A) /* PIXC0 Overlay A Vertical End Register */
-#define pREG_PIXC0_TRANSP_A ((volatile uint16_t *)REG_PIXC0_TRANSP_A) /* PIXC0 Overlay A Transparency Ratio Register */
-#define pREG_PIXC0_HSTART_B ((volatile uint16_t *)REG_PIXC0_HSTART_B) /* PIXC0 Overlay B Horizontal Start Register */
-#define pREG_PIXC0_HEND_B ((volatile uint16_t *)REG_PIXC0_HEND_B) /* PIXC0 Overlay B Horizontal End Register */
-#define pREG_PIXC0_VSTART_B ((volatile uint16_t *)REG_PIXC0_VSTART_B) /* PIXC0 Overlay B Vertical Start Register */
-#define pREG_PIXC0_VEND_B ((volatile uint16_t *)REG_PIXC0_VEND_B) /* PIXC0 Overlay B Vertical End Register */
-#define pREG_PIXC0_TRANSP_B ((volatile uint16_t *)REG_PIXC0_TRANSP_B) /* PIXC0 Overlay B Transparency Ratio Register */
-#define pREG_PIXC0_IRQSTAT ((volatile uint16_t *)REG_PIXC0_IRQSTAT) /* PIXC0 Interrupt Status Register */
-#define pREG_PIXC0_CONRY ((volatile uint32_t *)REG_PIXC0_CONRY) /* PIXC0 RY Conversion Component Register */
-#define pREG_PIXC0_CONGU ((volatile uint32_t *)REG_PIXC0_CONGU) /* PIXC0 GU Conversion Component Register */
-#define pREG_PIXC0_CONBV ((volatile uint32_t *)REG_PIXC0_CONBV) /* PIXC0 BV Conversion Component Register */
-#define pREG_PIXC0_CCBIAS ((volatile uint32_t *)REG_PIXC0_CCBIAS) /* PIXC0 Conversion Bias Register */
-#define pREG_PIXC0_TC ((volatile uint32_t *)REG_PIXC0_TC) /* PIXC0 Transparency Color Register */
-#define pREG_PIXC0_REVID ((volatile uint32_t *)REG_PIXC0_REVID) /* PIXC0 Revision Id */
-
-
-/* =========================================================================
- PVP0
- ========================================================================= */
-#define pREG_PVP0_REVID ((volatile uint32_t *)REG_PVP0_REVID) /* PVP0 Revision ID */
-#define pREG_PVP0_CTL ((volatile uint32_t *)REG_PVP0_CTL) /* PVP0 Control */
-#define pREG_PVP0_IMSK0 ((volatile uint32_t *)REG_PVP0_IMSK0) /* PVP0 Interrupt Mask n */
-#define pREG_PVP0_IMSK1 ((volatile uint32_t *)REG_PVP0_IMSK1) /* PVP0 Interrupt Mask n */
-#define pREG_PVP0_STAT ((volatile uint32_t *)REG_PVP0_STAT) /* PVP0 Status */
-#define pREG_PVP0_ILAT ((volatile uint32_t *)REG_PVP0_ILAT) /* PVP0 Interrupt Latch Status n */
-#define pREG_PVP0_IREQ0 ((volatile uint32_t *)REG_PVP0_IREQ0) /* PVP0 Interrupt Request n */
-#define pREG_PVP0_IREQ1 ((volatile uint32_t *)REG_PVP0_IREQ1) /* PVP0 Interrupt Request n */
-#define pREG_PVP0_OPF0_CFG ((volatile uint32_t *)REG_PVP0_OPF0_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF1_CFG ((volatile uint32_t *)REG_PVP0_OPF1_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF2_CFG ((volatile uint32_t *)REG_PVP0_OPF2_CFG) /* PVP0 OPFn (Camera Pipe) Configuration */
-#define pREG_PVP0_OPF0_CTL ((volatile uint32_t *)REG_PVP0_OPF0_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF1_CTL ((volatile uint32_t *)REG_PVP0_OPF1_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF2_CTL ((volatile uint32_t *)REG_PVP0_OPF2_CTL) /* PVP0 OPFn (Camera Pipe) Control */
-#define pREG_PVP0_OPF3_CFG ((volatile uint32_t *)REG_PVP0_OPF3_CFG) /* PVP0 OPF3 (Memory Pipe) Configuration */
-#define pREG_PVP0_OPF3_CTL ((volatile uint32_t *)REG_PVP0_OPF3_CTL) /* PVP0 OPF3 (Memory Pipe) Control */
-#define pREG_PVP0_PEC_CFG ((volatile uint32_t *)REG_PVP0_PEC_CFG) /* PVP0 PEC Configuration */
-#define pREG_PVP0_PEC_CTL ((volatile uint32_t *)REG_PVP0_PEC_CTL) /* PVP0 PEC Control */
-#define pREG_PVP0_PEC_D1TH0 ((volatile uint32_t *)REG_PVP0_PEC_D1TH0) /* PVP0 PEC Lower Hysteresis Threshold */
-#define pREG_PVP0_PEC_D1TH1 ((volatile uint32_t *)REG_PVP0_PEC_D1TH1) /* PVP0 PEC Upper Hysteresis Threshold */
-#define pREG_PVP0_PEC_D2TH0 ((volatile uint32_t *)REG_PVP0_PEC_D2TH0) /* PVP0 PEC Weak Zero Crossing Threshold */
-#define pREG_PVP0_PEC_D2TH1 ((volatile uint32_t *)REG_PVP0_PEC_D2TH1) /* PVP0 PEC Strong Zero Crossing Threshold */
-#define pREG_PVP0_IIM0_CFG ((volatile uint32_t *)REG_PVP0_IIM0_CFG) /* PVP0 IIMn Configuration */
-#define pREG_PVP0_IIM1_CFG ((volatile uint32_t *)REG_PVP0_IIM1_CFG) /* PVP0 IIMn Configuration */
-#define pREG_PVP0_IIM0_CTL ((volatile uint32_t *)REG_PVP0_IIM0_CTL) /* PVP0 IIMn Control */
-#define pREG_PVP0_IIM1_CTL ((volatile uint32_t *)REG_PVP0_IIM1_CTL) /* PVP0 IIMn Control */
-#define pREG_PVP0_IIM0_SCALE ((volatile uint32_t *)REG_PVP0_IIM0_SCALE) /* PVP0 IIMn Scaling Values */
-#define pREG_PVP0_IIM1_SCALE ((volatile uint32_t *)REG_PVP0_IIM1_SCALE) /* PVP0 IIMn Scaling Values */
-#define pREG_PVP0_IIM0_SOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM0_SOVF_STAT) /* PVP0 IIMn Signed Overflow Status */
-#define pREG_PVP0_IIM1_SOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM1_SOVF_STAT) /* PVP0 IIMn Signed Overflow Status */
-#define pREG_PVP0_IIM0_UOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM0_UOVF_STAT) /* PVP0 IIMn Unsigned Overflow Status */
-#define pREG_PVP0_IIM1_UOVF_STAT ((volatile uint32_t *)REG_PVP0_IIM1_UOVF_STAT) /* PVP0 IIMn Unsigned Overflow Status */
-#define pREG_PVP0_ACU_CFG ((volatile uint32_t *)REG_PVP0_ACU_CFG) /* PVP0 ACU Configuration */
-#define pREG_PVP0_ACU_CTL ((volatile uint32_t *)REG_PVP0_ACU_CTL) /* PVP0 ACU Control */
-#define pREG_PVP0_ACU_OFFSET ((volatile uint32_t *)REG_PVP0_ACU_OFFSET) /* PVP0 ACU SUM Constant */
-#define pREG_PVP0_ACU_FACTOR ((volatile uint32_t *)REG_PVP0_ACU_FACTOR) /* PVP0 ACU PROD Constant */
-#define pREG_PVP0_ACU_SHIFT ((volatile uint32_t *)REG_PVP0_ACU_SHIFT) /* PVP0 ACU Shift Constant */
-#define pREG_PVP0_ACU_MIN ((volatile uint32_t *)REG_PVP0_ACU_MIN) /* PVP0 ACU Lower Sat Threshold Min */
-#define pREG_PVP0_ACU_MAX ((volatile uint32_t *)REG_PVP0_ACU_MAX) /* PVP0 ACU Upper Sat Threshold Max */
-#define pREG_PVP0_UDS_CFG ((volatile uint32_t *)REG_PVP0_UDS_CFG) /* PVP0 UDS Configuration */
-#define pREG_PVP0_UDS_CTL ((volatile uint32_t *)REG_PVP0_UDS_CTL) /* PVP0 UDS Control */
-#define pREG_PVP0_UDS_OHCNT ((volatile uint32_t *)REG_PVP0_UDS_OHCNT) /* PVP0 UDS Output HCNT */
-#define pREG_PVP0_UDS_OVCNT ((volatile uint32_t *)REG_PVP0_UDS_OVCNT) /* PVP0 UDS Output VCNT */
-#define pREG_PVP0_UDS_HAVG ((volatile uint32_t *)REG_PVP0_UDS_HAVG) /* PVP0 UDS HAVG */
-#define pREG_PVP0_UDS_VAVG ((volatile uint32_t *)REG_PVP0_UDS_VAVG) /* PVP0 UDS VAVG */
-#define pREG_PVP0_IPF0_CFG ((volatile uint32_t *)REG_PVP0_IPF0_CFG) /* PVP0 IPF0 (Camera Pipe) Configuration */
-#define pREG_PVP0_IPF0_PIPECTL ((volatile uint32_t *)REG_PVP0_IPF0_PIPECTL) /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define pREG_PVP0_IPF1_PIPECTL ((volatile uint32_t *)REG_PVP0_IPF1_PIPECTL) /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define pREG_PVP0_IPF0_CTL ((volatile uint32_t *)REG_PVP0_IPF0_CTL) /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define pREG_PVP0_IPF1_CTL ((volatile uint32_t *)REG_PVP0_IPF1_CTL) /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define pREG_PVP0_IPF0_TAG ((volatile uint32_t *)REG_PVP0_IPF0_TAG) /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define pREG_PVP0_IPF1_TAG ((volatile uint32_t *)REG_PVP0_IPF1_TAG) /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define pREG_PVP0_IPF0_FCNT ((volatile uint32_t *)REG_PVP0_IPF0_FCNT) /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define pREG_PVP0_IPF1_FCNT ((volatile uint32_t *)REG_PVP0_IPF1_FCNT) /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define pREG_PVP0_IPF0_HCNT ((volatile uint32_t *)REG_PVP0_IPF0_HCNT) /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define pREG_PVP0_IPF1_HCNT ((volatile uint32_t *)REG_PVP0_IPF1_HCNT) /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define pREG_PVP0_IPF0_VCNT ((volatile uint32_t *)REG_PVP0_IPF0_VCNT) /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define pREG_PVP0_IPF1_VCNT ((volatile uint32_t *)REG_PVP0_IPF1_VCNT) /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define pREG_PVP0_IPF0_HPOS ((volatile uint32_t *)REG_PVP0_IPF0_HPOS) /* PVP0 IPF0 (Camera Pipe) Horizontal Position */
-#define pREG_PVP0_IPF0_VPOS ((volatile uint32_t *)REG_PVP0_IPF0_VPOS) /* PVP0 IPF0 (Camera Pipe) Vertical Position */
-#define pREG_PVP0_IPF0_TAG_STAT ((volatile uint32_t *)REG_PVP0_IPF0_TAG_STAT) /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define pREG_PVP0_IPF1_TAG_STAT ((volatile uint32_t *)REG_PVP0_IPF1_TAG_STAT) /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define pREG_PVP0_IPF1_CFG ((volatile uint32_t *)REG_PVP0_IPF1_CFG) /* PVP0 IPF1 (Memory Pipe) Configuration */
-#define pREG_PVP0_CNV0_CFG ((volatile uint32_t *)REG_PVP0_CNV0_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV1_CFG ((volatile uint32_t *)REG_PVP0_CNV1_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV2_CFG ((volatile uint32_t *)REG_PVP0_CNV2_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV3_CFG ((volatile uint32_t *)REG_PVP0_CNV3_CFG) /* PVP0 CNVn Configuration */
-#define pREG_PVP0_CNV0_CTL ((volatile uint32_t *)REG_PVP0_CNV0_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV1_CTL ((volatile uint32_t *)REG_PVP0_CNV1_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV2_CTL ((volatile uint32_t *)REG_PVP0_CNV2_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV3_CTL ((volatile uint32_t *)REG_PVP0_CNV3_CTL) /* PVP0 CNVn Control */
-#define pREG_PVP0_CNV0_C00C01 ((volatile uint32_t *)REG_PVP0_CNV0_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV1_C00C01 ((volatile uint32_t *)REG_PVP0_CNV1_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV2_C00C01 ((volatile uint32_t *)REG_PVP0_CNV2_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV3_C00C01 ((volatile uint32_t *)REG_PVP0_CNV3_C00C01) /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define pREG_PVP0_CNV0_C02C03 ((volatile uint32_t *)REG_PVP0_CNV0_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV1_C02C03 ((volatile uint32_t *)REG_PVP0_CNV1_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV2_C02C03 ((volatile uint32_t *)REG_PVP0_CNV2_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV3_C02C03 ((volatile uint32_t *)REG_PVP0_CNV3_C02C03) /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define pREG_PVP0_CNV0_C04 ((volatile uint32_t *)REG_PVP0_CNV0_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV1_C04 ((volatile uint32_t *)REG_PVP0_CNV1_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV2_C04 ((volatile uint32_t *)REG_PVP0_CNV2_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV3_C04 ((volatile uint32_t *)REG_PVP0_CNV3_C04) /* PVP0 CNVn Coefficient 0,4 */
-#define pREG_PVP0_CNV0_C10C11 ((volatile uint32_t *)REG_PVP0_CNV0_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV1_C10C11 ((volatile uint32_t *)REG_PVP0_CNV1_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV2_C10C11 ((volatile uint32_t *)REG_PVP0_CNV2_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV3_C10C11 ((volatile uint32_t *)REG_PVP0_CNV3_C10C11) /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define pREG_PVP0_CNV0_C12C13 ((volatile uint32_t *)REG_PVP0_CNV0_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV1_C12C13 ((volatile uint32_t *)REG_PVP0_CNV1_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV2_C12C13 ((volatile uint32_t *)REG_PVP0_CNV2_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV3_C12C13 ((volatile uint32_t *)REG_PVP0_CNV3_C12C13) /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define pREG_PVP0_CNV0_C14 ((volatile uint32_t *)REG_PVP0_CNV0_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV1_C14 ((volatile uint32_t *)REG_PVP0_CNV1_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV2_C14 ((volatile uint32_t *)REG_PVP0_CNV2_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV3_C14 ((volatile uint32_t *)REG_PVP0_CNV3_C14) /* PVP0 CNVn Coefficient 1,4 */
-#define pREG_PVP0_CNV0_C20C21 ((volatile uint32_t *)REG_PVP0_CNV0_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV1_C20C21 ((volatile uint32_t *)REG_PVP0_CNV1_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV2_C20C21 ((volatile uint32_t *)REG_PVP0_CNV2_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV3_C20C21 ((volatile uint32_t *)REG_PVP0_CNV3_C20C21) /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define pREG_PVP0_CNV0_C22C23 ((volatile uint32_t *)REG_PVP0_CNV0_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV1_C22C23 ((volatile uint32_t *)REG_PVP0_CNV1_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV2_C22C23 ((volatile uint32_t *)REG_PVP0_CNV2_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV3_C22C23 ((volatile uint32_t *)REG_PVP0_CNV3_C22C23) /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define pREG_PVP0_CNV0_C24 ((volatile uint32_t *)REG_PVP0_CNV0_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV1_C24 ((volatile uint32_t *)REG_PVP0_CNV1_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV2_C24 ((volatile uint32_t *)REG_PVP0_CNV2_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV3_C24 ((volatile uint32_t *)REG_PVP0_CNV3_C24) /* PVP0 CNVn Coefficient 2,4 */
-#define pREG_PVP0_CNV0_C30C31 ((volatile uint32_t *)REG_PVP0_CNV0_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV1_C30C31 ((volatile uint32_t *)REG_PVP0_CNV1_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV2_C30C31 ((volatile uint32_t *)REG_PVP0_CNV2_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV3_C30C31 ((volatile uint32_t *)REG_PVP0_CNV3_C30C31) /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define pREG_PVP0_CNV0_C32C33 ((volatile uint32_t *)REG_PVP0_CNV0_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV1_C32C33 ((volatile uint32_t *)REG_PVP0_CNV1_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV2_C32C33 ((volatile uint32_t *)REG_PVP0_CNV2_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV3_C32C33 ((volatile uint32_t *)REG_PVP0_CNV3_C32C33) /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define pREG_PVP0_CNV0_C34 ((volatile uint32_t *)REG_PVP0_CNV0_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV1_C34 ((volatile uint32_t *)REG_PVP0_CNV1_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV2_C34 ((volatile uint32_t *)REG_PVP0_CNV2_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV3_C34 ((volatile uint32_t *)REG_PVP0_CNV3_C34) /* PVP0 CNVn Coefficient 3,4 */
-#define pREG_PVP0_CNV0_C40C41 ((volatile uint32_t *)REG_PVP0_CNV0_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV1_C40C41 ((volatile uint32_t *)REG_PVP0_CNV1_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV2_C40C41 ((volatile uint32_t *)REG_PVP0_CNV2_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV3_C40C41 ((volatile uint32_t *)REG_PVP0_CNV3_C40C41) /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define pREG_PVP0_CNV0_C42C43 ((volatile uint32_t *)REG_PVP0_CNV0_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV1_C42C43 ((volatile uint32_t *)REG_PVP0_CNV1_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV2_C42C43 ((volatile uint32_t *)REG_PVP0_CNV2_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV3_C42C43 ((volatile uint32_t *)REG_PVP0_CNV3_C42C43) /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define pREG_PVP0_CNV0_C44 ((volatile uint32_t *)REG_PVP0_CNV0_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV1_C44 ((volatile uint32_t *)REG_PVP0_CNV1_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV2_C44 ((volatile uint32_t *)REG_PVP0_CNV2_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV3_C44 ((volatile uint32_t *)REG_PVP0_CNV3_C44) /* PVP0 CNVn Coefficient 4,4 */
-#define pREG_PVP0_CNV0_SCALE ((volatile uint32_t *)REG_PVP0_CNV0_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV1_SCALE ((volatile uint32_t *)REG_PVP0_CNV1_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV2_SCALE ((volatile uint32_t *)REG_PVP0_CNV2_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_CNV3_SCALE ((volatile uint32_t *)REG_PVP0_CNV3_SCALE) /* PVP0 CNVn Scaling Factor */
-#define pREG_PVP0_THC0_CFG ((volatile uint32_t *)REG_PVP0_THC0_CFG) /* PVP0 THCn Configuration */
-#define pREG_PVP0_THC1_CFG ((volatile uint32_t *)REG_PVP0_THC1_CFG) /* PVP0 THCn Configuration */
-#define pREG_PVP0_THC0_CTL ((volatile uint32_t *)REG_PVP0_THC0_CTL) /* PVP0 THCn Control */
-#define pREG_PVP0_THC1_CTL ((volatile uint32_t *)REG_PVP0_THC1_CTL) /* PVP0 THCn Control */
-#define pREG_PVP0_THC0_HFCNT ((volatile uint32_t *)REG_PVP0_THC0_HFCNT) /* PVP0 THCn Histogram Frame Count */
-#define pREG_PVP0_THC1_HFCNT ((volatile uint32_t *)REG_PVP0_THC1_HFCNT) /* PVP0 THCn Histogram Frame Count */
-#define pREG_PVP0_THC0_RMAXREP ((volatile uint32_t *)REG_PVP0_THC0_RMAXREP) /* PVP0 THCn Max RLE Reports */
-#define pREG_PVP0_THC1_RMAXREP ((volatile uint32_t *)REG_PVP0_THC1_RMAXREP) /* PVP0 THCn Max RLE Reports */
-#define pREG_PVP0_THC0_CMINVAL ((volatile int32_t *)REG_PVP0_THC0_CMINVAL) /* PVP0 THCn Min Clip Value */
-#define pREG_PVP0_THC1_CMINVAL ((volatile int32_t *)REG_PVP0_THC1_CMINVAL) /* PVP0 THCn Min Clip Value */
-#define pREG_PVP0_THC0_CMINTH ((volatile int32_t *)REG_PVP0_THC0_CMINTH) /* PVP0 THCn Clip Min Threshold */
-#define pREG_PVP0_THC1_CMINTH ((volatile int32_t *)REG_PVP0_THC1_CMINTH) /* PVP0 THCn Clip Min Threshold */
-#define pREG_PVP0_THC0_CMAXTH ((volatile int32_t *)REG_PVP0_THC0_CMAXTH) /* PVP0 THCn Clip Max Threshold */
-#define pREG_PVP0_THC1_CMAXTH ((volatile int32_t *)REG_PVP0_THC1_CMAXTH) /* PVP0 THCn Clip Max Threshold */
-#define pREG_PVP0_THC0_CMAXVAL ((volatile int32_t *)REG_PVP0_THC0_CMAXVAL) /* PVP0 THCn Max Clip Value */
-#define pREG_PVP0_THC1_CMAXVAL ((volatile int32_t *)REG_PVP0_THC1_CMAXVAL) /* PVP0 THCn Max Clip Value */
-#define pREG_PVP0_THC0_TH0 ((volatile int32_t *)REG_PVP0_THC0_TH0) /* PVP0 THCn Threshold Value 0 */
-#define pREG_PVP0_THC1_TH0 ((volatile int32_t *)REG_PVP0_THC1_TH0) /* PVP0 THCn Threshold Value 0 */
-#define pREG_PVP0_THC0_TH1 ((volatile int32_t *)REG_PVP0_THC0_TH1) /* PVP0 THCn Threshold Value 1 */
-#define pREG_PVP0_THC1_TH1 ((volatile int32_t *)REG_PVP0_THC1_TH1) /* PVP0 THCn Threshold Value 1 */
-#define pREG_PVP0_THC0_TH2 ((volatile int32_t *)REG_PVP0_THC0_TH2) /* PVP0 THCn Threshold Value 2 */
-#define pREG_PVP0_THC1_TH2 ((volatile int32_t *)REG_PVP0_THC1_TH2) /* PVP0 THCn Threshold Value 2 */
-#define pREG_PVP0_THC0_TH3 ((volatile int32_t *)REG_PVP0_THC0_TH3) /* PVP0 THCn Threshold Value 3 */
-#define pREG_PVP0_THC1_TH3 ((volatile int32_t *)REG_PVP0_THC1_TH3) /* PVP0 THCn Threshold Value 3 */
-#define pREG_PVP0_THC0_TH4 ((volatile int32_t *)REG_PVP0_THC0_TH4) /* PVP0 THCn Threshold Value 4 */
-#define pREG_PVP0_THC1_TH4 ((volatile int32_t *)REG_PVP0_THC1_TH4) /* PVP0 THCn Threshold Value 4 */
-#define pREG_PVP0_THC0_TH5 ((volatile int32_t *)REG_PVP0_THC0_TH5) /* PVP0 THCn Threshold Value 5 */
-#define pREG_PVP0_THC1_TH5 ((volatile int32_t *)REG_PVP0_THC1_TH5) /* PVP0 THCn Threshold Value 5 */
-#define pREG_PVP0_THC0_TH6 ((volatile int32_t *)REG_PVP0_THC0_TH6) /* PVP0 THCn Threshold Value 6 */
-#define pREG_PVP0_THC1_TH6 ((volatile int32_t *)REG_PVP0_THC1_TH6) /* PVP0 THCn Threshold Value 6 */
-#define pREG_PVP0_THC0_TH7 ((volatile int32_t *)REG_PVP0_THC0_TH7) /* PVP0 THCn Threshold Value 7 */
-#define pREG_PVP0_THC1_TH7 ((volatile int32_t *)REG_PVP0_THC1_TH7) /* PVP0 THCn Threshold Value 7 */
-#define pREG_PVP0_THC0_TH8 ((volatile int32_t *)REG_PVP0_THC0_TH8) /* PVP0 THCn Threshold Value 8 */
-#define pREG_PVP0_THC1_TH8 ((volatile int32_t *)REG_PVP0_THC1_TH8) /* PVP0 THCn Threshold Value 8 */
-#define pREG_PVP0_THC0_TH9 ((volatile int32_t *)REG_PVP0_THC0_TH9) /* PVP0 THCn Threshold Value 9 */
-#define pREG_PVP0_THC1_TH9 ((volatile int32_t *)REG_PVP0_THC1_TH9) /* PVP0 THCn Threshold Value 9 */
-#define pREG_PVP0_THC0_TH10 ((volatile int32_t *)REG_PVP0_THC0_TH10) /* PVP0 THCn Threshold Value 10 */
-#define pREG_PVP0_THC1_TH10 ((volatile int32_t *)REG_PVP0_THC1_TH10) /* PVP0 THCn Threshold Value 10 */
-#define pREG_PVP0_THC0_TH11 ((volatile int32_t *)REG_PVP0_THC0_TH11) /* PVP0 THCn Threshold Value 11 */
-#define pREG_PVP0_THC1_TH11 ((volatile int32_t *)REG_PVP0_THC1_TH11) /* PVP0 THCn Threshold Value 11 */
-#define pREG_PVP0_THC0_TH12 ((volatile int32_t *)REG_PVP0_THC0_TH12) /* PVP0 THCn Threshold Value 12 */
-#define pREG_PVP0_THC1_TH12 ((volatile int32_t *)REG_PVP0_THC1_TH12) /* PVP0 THCn Threshold Value 12 */
-#define pREG_PVP0_THC0_TH13 ((volatile int32_t *)REG_PVP0_THC0_TH13) /* PVP0 THCn Threshold Value 13 */
-#define pREG_PVP0_THC1_TH13 ((volatile int32_t *)REG_PVP0_THC1_TH13) /* PVP0 THCn Threshold Value 13 */
-#define pREG_PVP0_THC0_TH14 ((volatile int32_t *)REG_PVP0_THC0_TH14) /* PVP0 THCn Threshold Value 14 */
-#define pREG_PVP0_THC1_TH14 ((volatile int32_t *)REG_PVP0_THC1_TH14) /* PVP0 THCn Threshold Value 14 */
-#define pREG_PVP0_THC0_TH15 ((volatile int32_t *)REG_PVP0_THC0_TH15) /* PVP0 THCn Threshold Value 15 */
-#define pREG_PVP0_THC1_TH15 ((volatile int32_t *)REG_PVP0_THC1_TH15) /* PVP0 THCn Threshold Value 15 */
-#define pREG_PVP0_THC0_HHPOS ((volatile uint32_t *)REG_PVP0_THC0_HHPOS) /* PVP0 THCn Histogram Horzontal Position */
-#define pREG_PVP0_THC1_HHPOS ((volatile uint32_t *)REG_PVP0_THC1_HHPOS) /* PVP0 THCn Histogram Horzontal Position */
-#define pREG_PVP0_THC0_HVPOS ((volatile uint32_t *)REG_PVP0_THC0_HVPOS) /* PVP0 THCn Histogram Vertical Position */
-#define pREG_PVP0_THC1_HVPOS ((volatile uint32_t *)REG_PVP0_THC1_HVPOS) /* PVP0 THCn Histogram Vertical Position */
-#define pREG_PVP0_THC0_HHCNT ((volatile uint32_t *)REG_PVP0_THC0_HHCNT) /* PVP0 THCn Histogram Horizontal Count */
-#define pREG_PVP0_THC1_HHCNT ((volatile uint32_t *)REG_PVP0_THC1_HHCNT) /* PVP0 THCn Histogram Horizontal Count */
-#define pREG_PVP0_THC0_HVCNT ((volatile uint32_t *)REG_PVP0_THC0_HVCNT) /* PVP0 THCn Histogram Vertical Count */
-#define pREG_PVP0_THC1_HVCNT ((volatile uint32_t *)REG_PVP0_THC1_HVCNT) /* PVP0 THCn Histogram Vertical Count */
-#define pREG_PVP0_THC0_RHPOS ((volatile uint32_t *)REG_PVP0_THC0_RHPOS) /* PVP0 THCn RLE Horizontal Position */
-#define pREG_PVP0_THC1_RHPOS ((volatile uint32_t *)REG_PVP0_THC1_RHPOS) /* PVP0 THCn RLE Horizontal Position */
-#define pREG_PVP0_THC0_RVPOS ((volatile uint32_t *)REG_PVP0_THC0_RVPOS) /* PVP0 THCn RLE Vertical Position */
-#define pREG_PVP0_THC1_RVPOS ((volatile uint32_t *)REG_PVP0_THC1_RVPOS) /* PVP0 THCn RLE Vertical Position */
-#define pREG_PVP0_THC0_RHCNT ((volatile uint32_t *)REG_PVP0_THC0_RHCNT) /* PVP0 THCn RLE Horizontal Count */
-#define pREG_PVP0_THC1_RHCNT ((volatile uint32_t *)REG_PVP0_THC1_RHCNT) /* PVP0 THCn RLE Horizontal Count */
-#define pREG_PVP0_THC0_RVCNT ((volatile uint32_t *)REG_PVP0_THC0_RVCNT) /* PVP0 THCn RLE Vertical Count */
-#define pREG_PVP0_THC1_RVCNT ((volatile uint32_t *)REG_PVP0_THC1_RVCNT) /* PVP0 THCn RLE Vertical Count */
-#define pREG_PVP0_THC0_HFCNT_STAT ((volatile uint32_t *)REG_PVP0_THC0_HFCNT_STAT) /* PVP0 THCn Histogram Frame Count Status */
-#define pREG_PVP0_THC1_HFCNT_STAT ((volatile uint32_t *)REG_PVP0_THC1_HFCNT_STAT) /* PVP0 THCn Histogram Frame Count Status */
-#define pREG_PVP0_THC0_HCNT0_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT0_STAT) /* PVP0 THCn Histogram Counter Value 0 */
-#define pREG_PVP0_THC1_HCNT0_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT0_STAT) /* PVP0 THCn Histogram Counter Value 0 */
-#define pREG_PVP0_THC0_HCNT1_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT1_STAT) /* PVP0 THCn Histogram Counter Value 1 */
-#define pREG_PVP0_THC1_HCNT1_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT1_STAT) /* PVP0 THCn Histogram Counter Value 1 */
-#define pREG_PVP0_THC0_HCNT2_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT2_STAT) /* PVP0 THCn Histogram Counter Value 2 */
-#define pREG_PVP0_THC1_HCNT2_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT2_STAT) /* PVP0 THCn Histogram Counter Value 2 */
-#define pREG_PVP0_THC0_HCNT3_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT3_STAT) /* PVP0 THCn Histogram Counter Value 3 */
-#define pREG_PVP0_THC1_HCNT3_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT3_STAT) /* PVP0 THCn Histogram Counter Value 3 */
-#define pREG_PVP0_THC0_HCNT4_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT4_STAT) /* PVP0 THCn Histogram Counter Value 4 */
-#define pREG_PVP0_THC1_HCNT4_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT4_STAT) /* PVP0 THCn Histogram Counter Value 4 */
-#define pREG_PVP0_THC0_HCNT5_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT5_STAT) /* PVP0 THCn Histogram Counter Value 5 */
-#define pREG_PVP0_THC1_HCNT5_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT5_STAT) /* PVP0 THCn Histogram Counter Value 5 */
-#define pREG_PVP0_THC0_HCNT6_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT6_STAT) /* PVP0 THCn Histogram Counter Value 6 */
-#define pREG_PVP0_THC1_HCNT6_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT6_STAT) /* PVP0 THCn Histogram Counter Value 6 */
-#define pREG_PVP0_THC0_HCNT7_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT7_STAT) /* PVP0 THCn Histogram Counter Value 7 */
-#define pREG_PVP0_THC1_HCNT7_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT7_STAT) /* PVP0 THCn Histogram Counter Value 7 */
-#define pREG_PVP0_THC0_HCNT8_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT8_STAT) /* PVP0 THCn Histogram Counter Value 8 */
-#define pREG_PVP0_THC1_HCNT8_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT8_STAT) /* PVP0 THCn Histogram Counter Value 8 */
-#define pREG_PVP0_THC0_HCNT9_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT9_STAT) /* PVP0 THCn Histogram Counter Value 9 */
-#define pREG_PVP0_THC1_HCNT9_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT9_STAT) /* PVP0 THCn Histogram Counter Value 9 */
-#define pREG_PVP0_THC0_HCNT10_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT10_STAT) /* PVP0 THCn Histogram Counter Value 10 */
-#define pREG_PVP0_THC1_HCNT10_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT10_STAT) /* PVP0 THCn Histogram Counter Value 10 */
-#define pREG_PVP0_THC0_HCNT11_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT11_STAT) /* PVP0 THCn Histogram Counter Value 11 */
-#define pREG_PVP0_THC1_HCNT11_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT11_STAT) /* PVP0 THCn Histogram Counter Value 11 */
-#define pREG_PVP0_THC0_HCNT12_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT12_STAT) /* PVP0 THCn Histogram Counter Value 12 */
-#define pREG_PVP0_THC1_HCNT12_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT12_STAT) /* PVP0 THCn Histogram Counter Value 12 */
-#define pREG_PVP0_THC0_HCNT13_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT13_STAT) /* PVP0 THCn Histogram Counter Value 13 */
-#define pREG_PVP0_THC1_HCNT13_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT13_STAT) /* PVP0 THCn Histogram Counter Value 13 */
-#define pREG_PVP0_THC0_HCNT14_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT14_STAT) /* PVP0 THCn Histogram Counter Value 14 */
-#define pREG_PVP0_THC1_HCNT14_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT14_STAT) /* PVP0 THCn Histogram Counter Value 14 */
-#define pREG_PVP0_THC0_HCNT15_STAT ((volatile uint32_t *)REG_PVP0_THC0_HCNT15_STAT) /* PVP0 THCn Histogram Counter Value 15 */
-#define pREG_PVP0_THC1_HCNT15_STAT ((volatile uint32_t *)REG_PVP0_THC1_HCNT15_STAT) /* PVP0 THCn Histogram Counter Value 15 */
-#define pREG_PVP0_THC0_RREP_STAT ((volatile uint32_t *)REG_PVP0_THC0_RREP_STAT) /* PVP0 THCn Number of RLE Reports */
-#define pREG_PVP0_THC1_RREP_STAT ((volatile uint32_t *)REG_PVP0_THC1_RREP_STAT) /* PVP0 THCn Number of RLE Reports */
-#define pREG_PVP0_PMA_CFG ((volatile uint32_t *)REG_PVP0_PMA_CFG) /* PVP0 PMA Configuration */
-
-
-/* =========================================================================
- PWM0
- ========================================================================= */
-#define pREG_PWM0_CTL ((volatile uint32_t *)REG_PWM0_CTL) /* PWM0 Control Register */
-#define pREG_PWM0_CHANCFG ((volatile uint32_t *)REG_PWM0_CHANCFG) /* PWM0 Channel Config Register */
-#define pREG_PWM0_TRIPCFG ((volatile uint32_t *)REG_PWM0_TRIPCFG) /* PWM0 Trip Config Register */
-#define pREG_PWM0_STAT ((volatile uint32_t *)REG_PWM0_STAT) /* PWM0 Status Register */
-#define pREG_PWM0_IMSK ((volatile uint32_t *)REG_PWM0_IMSK) /* PWM0 Interrupt Mask Register */
-#define pREG_PWM0_ILAT ((volatile uint32_t *)REG_PWM0_ILAT) /* PWM0 Interrupt Latch Register */
-#define pREG_PWM0_CHOPCFG ((volatile uint32_t *)REG_PWM0_CHOPCFG) /* PWM0 Chop Configuration Register */
-#define pREG_PWM0_DT ((volatile uint32_t *)REG_PWM0_DT) /* PWM0 Dead Time Register */
-#define pREG_PWM0_SYNC_WID ((volatile uint32_t *)REG_PWM0_SYNC_WID) /* PWM0 Sync Pulse Width Register */
-#define pREG_PWM0_TM0 ((volatile uint32_t *)REG_PWM0_TM0) /* PWM0 Timer 0 Period Register */
-#define pREG_PWM0_TM1 ((volatile uint32_t *)REG_PWM0_TM1) /* PWM0 Timer 1 Period Register */
-#define pREG_PWM0_TM2 ((volatile uint32_t *)REG_PWM0_TM2) /* PWM0 Timer 2 Period Register */
-#define pREG_PWM0_TM3 ((volatile uint32_t *)REG_PWM0_TM3) /* PWM0 Timer 3 Period Register */
-#define pREG_PWM0_TM4 ((volatile uint32_t *)REG_PWM0_TM4) /* PWM0 Timer 4 Period Register */
-#define pREG_PWM0_DLYA ((volatile uint32_t *)REG_PWM0_DLYA) /* PWM0 Channel A Delay Register */
-#define pREG_PWM0_DLYB ((volatile uint32_t *)REG_PWM0_DLYB) /* PWM0 Channel B Delay Register */
-#define pREG_PWM0_DLYC ((volatile uint32_t *)REG_PWM0_DLYC) /* PWM0 Channel C Delay Register */
-#define pREG_PWM0_DLYD ((volatile uint32_t *)REG_PWM0_DLYD) /* PWM0 Channel D Delay Register */
-#define pREG_PWM0_ACTL ((volatile uint32_t *)REG_PWM0_ACTL) /* PWM0 Channel A Control Register */
-#define pREG_PWM0_AH0 ((volatile uint32_t *)REG_PWM0_AH0) /* PWM0 Channel A-High Duty-0 Register */
-#define pREG_PWM0_AH1 ((volatile uint32_t *)REG_PWM0_AH1) /* PWM0 Channel A-High Duty-1 Register */
-#define pREG_PWM0_AL0 ((volatile uint32_t *)REG_PWM0_AL0) /* PWM0 Channel A-Low Duty-0 Register */
-#define pREG_PWM0_AL1 ((volatile uint32_t *)REG_PWM0_AL1) /* PWM0 Channel A-Low Duty-1 Register */
-#define pREG_PWM0_BCTL ((volatile uint32_t *)REG_PWM0_BCTL) /* PWM0 Channel B Control Register */
-#define pREG_PWM0_BH0 ((volatile uint32_t *)REG_PWM0_BH0) /* PWM0 Channel B-High Duty-0 Register */
-#define pREG_PWM0_BH1 ((volatile uint32_t *)REG_PWM0_BH1) /* PWM0 Channel B-High Duty-1 Register */
-#define pREG_PWM0_BL0 ((volatile uint32_t *)REG_PWM0_BL0) /* PWM0 Channel B-Low Duty-0 Register */
-#define pREG_PWM0_BL1 ((volatile uint32_t *)REG_PWM0_BL1) /* PWM0 Channel B-Low Duty-1 Register */
-#define pREG_PWM0_CCTL ((volatile uint32_t *)REG_PWM0_CCTL) /* PWM0 Channel C Control Register */
-#define pREG_PWM0_CH0 ((volatile uint32_t *)REG_PWM0_CH0) /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM0_CH1 ((volatile uint32_t *)REG_PWM0_CH1) /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM0_CL0 ((volatile uint32_t *)REG_PWM0_CL0) /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM0_CL1 ((volatile uint32_t *)REG_PWM0_CL1) /* PWM0 Channel C-Low Duty-1 Register */
-#define pREG_PWM0_DCTL ((volatile uint32_t *)REG_PWM0_DCTL) /* PWM0 Channel D Control Register */
-#define pREG_PWM0_DH0 ((volatile uint32_t *)REG_PWM0_DH0) /* PWM0 Channel D-High Duty-0 Register */
-#define pREG_PWM0_DH1 ((volatile uint32_t *)REG_PWM0_DH1) /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM0_DL0 ((volatile uint32_t *)REG_PWM0_DL0) /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM0_DL1 ((volatile uint32_t *)REG_PWM0_DL1) /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================================================================
- PWM1
- ========================================================================= */
-#define pREG_PWM1_CTL ((volatile uint32_t *)REG_PWM1_CTL) /* PWM1 Control Register */
-#define pREG_PWM1_CHANCFG ((volatile uint32_t *)REG_PWM1_CHANCFG) /* PWM1 Channel Config Register */
-#define pREG_PWM1_TRIPCFG ((volatile uint32_t *)REG_PWM1_TRIPCFG) /* PWM1 Trip Config Register */
-#define pREG_PWM1_STAT ((volatile uint32_t *)REG_PWM1_STAT) /* PWM1 Status Register */
-#define pREG_PWM1_IMSK ((volatile uint32_t *)REG_PWM1_IMSK) /* PWM1 Interrupt Mask Register */
-#define pREG_PWM1_ILAT ((volatile uint32_t *)REG_PWM1_ILAT) /* PWM1 Interrupt Latch Register */
-#define pREG_PWM1_CHOPCFG ((volatile uint32_t *)REG_PWM1_CHOPCFG) /* PWM1 Chop Configuration Register */
-#define pREG_PWM1_DT ((volatile uint32_t *)REG_PWM1_DT) /* PWM1 Dead Time Register */
-#define pREG_PWM1_SYNC_WID ((volatile uint32_t *)REG_PWM1_SYNC_WID) /* PWM1 Sync Pulse Width Register */
-#define pREG_PWM1_TM0 ((volatile uint32_t *)REG_PWM1_TM0) /* PWM1 Timer 0 Period Register */
-#define pREG_PWM1_TM1 ((volatile uint32_t *)REG_PWM1_TM1) /* PWM1 Timer 1 Period Register */
-#define pREG_PWM1_TM2 ((volatile uint32_t *)REG_PWM1_TM2) /* PWM1 Timer 2 Period Register */
-#define pREG_PWM1_TM3 ((volatile uint32_t *)REG_PWM1_TM3) /* PWM1 Timer 3 Period Register */
-#define pREG_PWM1_TM4 ((volatile uint32_t *)REG_PWM1_TM4) /* PWM1 Timer 4 Period Register */
-#define pREG_PWM1_DLYA ((volatile uint32_t *)REG_PWM1_DLYA) /* PWM1 Channel A Delay Register */
-#define pREG_PWM1_DLYB ((volatile uint32_t *)REG_PWM1_DLYB) /* PWM1 Channel B Delay Register */
-#define pREG_PWM1_DLYC ((volatile uint32_t *)REG_PWM1_DLYC) /* PWM1 Channel C Delay Register */
-#define pREG_PWM1_DLYD ((volatile uint32_t *)REG_PWM1_DLYD) /* PWM1 Channel D Delay Register */
-#define pREG_PWM1_ACTL ((volatile uint32_t *)REG_PWM1_ACTL) /* PWM1 Channel A Control Register */
-#define pREG_PWM1_AH0 ((volatile uint32_t *)REG_PWM1_AH0) /* PWM1 Channel A-High Duty-0 Register */
-#define pREG_PWM1_AH1 ((volatile uint32_t *)REG_PWM1_AH1) /* PWM1 Channel A-High Duty-1 Register */
-#define pREG_PWM1_AL0 ((volatile uint32_t *)REG_PWM1_AL0) /* PWM1 Channel A-Low Duty-0 Register */
-#define pREG_PWM1_AL1 ((volatile uint32_t *)REG_PWM1_AL1) /* PWM1 Channel A-Low Duty-1 Register */
-#define pREG_PWM1_BCTL ((volatile uint32_t *)REG_PWM1_BCTL) /* PWM1 Channel B Control Register */
-#define pREG_PWM1_BH0 ((volatile uint32_t *)REG_PWM1_BH0) /* PWM1 Channel B-High Duty-0 Register */
-#define pREG_PWM1_BH1 ((volatile uint32_t *)REG_PWM1_BH1) /* PWM1 Channel B-High Duty-1 Register */
-#define pREG_PWM1_BL0 ((volatile uint32_t *)REG_PWM1_BL0) /* PWM1 Channel B-Low Duty-0 Register */
-#define pREG_PWM1_BL1 ((volatile uint32_t *)REG_PWM1_BL1) /* PWM1 Channel B-Low Duty-1 Register */
-#define pREG_PWM1_CCTL ((volatile uint32_t *)REG_PWM1_CCTL) /* PWM1 Channel C Control Register */
-#define pREG_PWM1_CH0 ((volatile uint32_t *)REG_PWM1_CH0) /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define pREG_PWM1_CH1 ((volatile uint32_t *)REG_PWM1_CH1) /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define pREG_PWM1_CL0 ((volatile uint32_t *)REG_PWM1_CL0) /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define pREG_PWM1_CL1 ((volatile uint32_t *)REG_PWM1_CL1) /* PWM1 Channel C-Low Duty-1 Register */
-#define pREG_PWM1_DCTL ((volatile uint32_t *)REG_PWM1_DCTL) /* PWM1 Channel D Control Register */
-#define pREG_PWM1_DH0 ((volatile uint32_t *)REG_PWM1_DH0) /* PWM1 Channel D-High Duty-0 Register */
-#define pREG_PWM1_DH1 ((volatile uint32_t *)REG_PWM1_DH1) /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define pREG_PWM1_DL0 ((volatile uint32_t *)REG_PWM1_DL0) /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define pREG_PWM1_DL1 ((volatile uint32_t *)REG_PWM1_DL1) /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-
-/* =========================================================================
- VID0
- ========================================================================= */
-#define pREG_VID0_CONN ((volatile uint32_t *)REG_VID0_CONN) /* VID0 Video Subsystem Connect Register */
-
-
-/* =========================================================================
- SWU0
- ========================================================================= */
-#define pREG_SWU0_GCTL ((volatile uint32_t *)REG_SWU0_GCTL) /* SWU0 Global Control Register */
-#define pREG_SWU0_GSTAT ((volatile uint32_t *)REG_SWU0_GSTAT) /* SWU0 Global Status Register */
-#define pREG_SWU0_CTL0 ((volatile uint32_t *)REG_SWU0_CTL0) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL1 ((volatile uint32_t *)REG_SWU0_CTL1) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL2 ((volatile uint32_t *)REG_SWU0_CTL2) /* SWU0 Control Register n */
-#define pREG_SWU0_CTL3 ((volatile uint32_t *)REG_SWU0_CTL3) /* SWU0 Control Register n */
-#define pREG_SWU0_LA0 ((void * volatile *)REG_SWU0_LA0) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA1 ((void * volatile *)REG_SWU0_LA1) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA2 ((void * volatile *)REG_SWU0_LA2) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_LA3 ((void * volatile *)REG_SWU0_LA3) /* SWU0 Lower Address Register n */
-#define pREG_SWU0_UA0 ((void * volatile *)REG_SWU0_UA0) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA1 ((void * volatile *)REG_SWU0_UA1) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA2 ((void * volatile *)REG_SWU0_UA2) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_UA3 ((void * volatile *)REG_SWU0_UA3) /* SWU0 Upper Address Register n */
-#define pREG_SWU0_ID0 ((volatile uint32_t *)REG_SWU0_ID0) /* SWU0 ID Register n */
-#define pREG_SWU0_ID1 ((volatile uint32_t *)REG_SWU0_ID1) /* SWU0 ID Register n */
-#define pREG_SWU0_ID2 ((volatile uint32_t *)REG_SWU0_ID2) /* SWU0 ID Register n */
-#define pREG_SWU0_ID3 ((volatile uint32_t *)REG_SWU0_ID3) /* SWU0 ID Register n */
-#define pREG_SWU0_CNT0 ((volatile uint32_t *)REG_SWU0_CNT0) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT1 ((volatile uint32_t *)REG_SWU0_CNT1) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT2 ((volatile uint32_t *)REG_SWU0_CNT2) /* SWU0 Count Register n */
-#define pREG_SWU0_CNT3 ((volatile uint32_t *)REG_SWU0_CNT3) /* SWU0 Count Register n */
-#define pREG_SWU0_TARG0 ((volatile uint32_t *)REG_SWU0_TARG0) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG1 ((volatile uint32_t *)REG_SWU0_TARG1) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG2 ((volatile uint32_t *)REG_SWU0_TARG2) /* SWU0 Target Register n */
-#define pREG_SWU0_TARG3 ((volatile uint32_t *)REG_SWU0_TARG3) /* SWU0 Target Register n */
-#define pREG_SWU0_HIST0 ((volatile uint32_t *)REG_SWU0_HIST0) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST1 ((volatile uint32_t *)REG_SWU0_HIST1) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST2 ((volatile uint32_t *)REG_SWU0_HIST2) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_HIST3 ((volatile uint32_t *)REG_SWU0_HIST3) /* SWU0 Bandwidth History Register n */
-#define pREG_SWU0_CUR0 ((volatile uint32_t *)REG_SWU0_CUR0) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR1 ((volatile uint32_t *)REG_SWU0_CUR1) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR2 ((volatile uint32_t *)REG_SWU0_CUR2) /* SWU0 Current Register n */
-#define pREG_SWU0_CUR3 ((volatile uint32_t *)REG_SWU0_CUR3) /* SWU0 Current Register n */
-
-/* =========================================================================
- SWU1
- ========================================================================= */
-#define pREG_SWU1_GCTL ((volatile uint32_t *)REG_SWU1_GCTL) /* SWU1 Global Control Register */
-#define pREG_SWU1_GSTAT ((volatile uint32_t *)REG_SWU1_GSTAT) /* SWU1 Global Status Register */
-#define pREG_SWU1_CTL0 ((volatile uint32_t *)REG_SWU1_CTL0) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL1 ((volatile uint32_t *)REG_SWU1_CTL1) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL2 ((volatile uint32_t *)REG_SWU1_CTL2) /* SWU1 Control Register n */
-#define pREG_SWU1_CTL3 ((volatile uint32_t *)REG_SWU1_CTL3) /* SWU1 Control Register n */
-#define pREG_SWU1_LA0 ((void * volatile *)REG_SWU1_LA0) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA1 ((void * volatile *)REG_SWU1_LA1) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA2 ((void * volatile *)REG_SWU1_LA2) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_LA3 ((void * volatile *)REG_SWU1_LA3) /* SWU1 Lower Address Register n */
-#define pREG_SWU1_UA0 ((void * volatile *)REG_SWU1_UA0) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA1 ((void * volatile *)REG_SWU1_UA1) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA2 ((void * volatile *)REG_SWU1_UA2) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_UA3 ((void * volatile *)REG_SWU1_UA3) /* SWU1 Upper Address Register n */
-#define pREG_SWU1_ID0 ((volatile uint32_t *)REG_SWU1_ID0) /* SWU1 ID Register n */
-#define pREG_SWU1_ID1 ((volatile uint32_t *)REG_SWU1_ID1) /* SWU1 ID Register n */
-#define pREG_SWU1_ID2 ((volatile uint32_t *)REG_SWU1_ID2) /* SWU1 ID Register n */
-#define pREG_SWU1_ID3 ((volatile uint32_t *)REG_SWU1_ID3) /* SWU1 ID Register n */
-#define pREG_SWU1_CNT0 ((volatile uint32_t *)REG_SWU1_CNT0) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT1 ((volatile uint32_t *)REG_SWU1_CNT1) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT2 ((volatile uint32_t *)REG_SWU1_CNT2) /* SWU1 Count Register n */
-#define pREG_SWU1_CNT3 ((volatile uint32_t *)REG_SWU1_CNT3) /* SWU1 Count Register n */
-#define pREG_SWU1_TARG0 ((volatile uint32_t *)REG_SWU1_TARG0) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG1 ((volatile uint32_t *)REG_SWU1_TARG1) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG2 ((volatile uint32_t *)REG_SWU1_TARG2) /* SWU1 Target Register n */
-#define pREG_SWU1_TARG3 ((volatile uint32_t *)REG_SWU1_TARG3) /* SWU1 Target Register n */
-#define pREG_SWU1_HIST0 ((volatile uint32_t *)REG_SWU1_HIST0) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST1 ((volatile uint32_t *)REG_SWU1_HIST1) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST2 ((volatile uint32_t *)REG_SWU1_HIST2) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_HIST3 ((volatile uint32_t *)REG_SWU1_HIST3) /* SWU1 Bandwidth History Register n */
-#define pREG_SWU1_CUR0 ((volatile uint32_t *)REG_SWU1_CUR0) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR1 ((volatile uint32_t *)REG_SWU1_CUR1) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR2 ((volatile uint32_t *)REG_SWU1_CUR2) /* SWU1 Current Register n */
-#define pREG_SWU1_CUR3 ((volatile uint32_t *)REG_SWU1_CUR3) /* SWU1 Current Register n */
-
-/* =========================================================================
- SWU2
- ========================================================================= */
-#define pREG_SWU2_GCTL ((volatile uint32_t *)REG_SWU2_GCTL) /* SWU2 Global Control Register */
-#define pREG_SWU2_GSTAT ((volatile uint32_t *)REG_SWU2_GSTAT) /* SWU2 Global Status Register */
-#define pREG_SWU2_CTL0 ((volatile uint32_t *)REG_SWU2_CTL0) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL1 ((volatile uint32_t *)REG_SWU2_CTL1) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL2 ((volatile uint32_t *)REG_SWU2_CTL2) /* SWU2 Control Register n */
-#define pREG_SWU2_CTL3 ((volatile uint32_t *)REG_SWU2_CTL3) /* SWU2 Control Register n */
-#define pREG_SWU2_LA0 ((void * volatile *)REG_SWU2_LA0) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA1 ((void * volatile *)REG_SWU2_LA1) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA2 ((void * volatile *)REG_SWU2_LA2) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_LA3 ((void * volatile *)REG_SWU2_LA3) /* SWU2 Lower Address Register n */
-#define pREG_SWU2_UA0 ((void * volatile *)REG_SWU2_UA0) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA1 ((void * volatile *)REG_SWU2_UA1) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA2 ((void * volatile *)REG_SWU2_UA2) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_UA3 ((void * volatile *)REG_SWU2_UA3) /* SWU2 Upper Address Register n */
-#define pREG_SWU2_ID0 ((volatile uint32_t *)REG_SWU2_ID0) /* SWU2 ID Register n */
-#define pREG_SWU2_ID1 ((volatile uint32_t *)REG_SWU2_ID1) /* SWU2 ID Register n */
-#define pREG_SWU2_ID2 ((volatile uint32_t *)REG_SWU2_ID2) /* SWU2 ID Register n */
-#define pREG_SWU2_ID3 ((volatile uint32_t *)REG_SWU2_ID3) /* SWU2 ID Register n */
-#define pREG_SWU2_CNT0 ((volatile uint32_t *)REG_SWU2_CNT0) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT1 ((volatile uint32_t *)REG_SWU2_CNT1) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT2 ((volatile uint32_t *)REG_SWU2_CNT2) /* SWU2 Count Register n */
-#define pREG_SWU2_CNT3 ((volatile uint32_t *)REG_SWU2_CNT3) /* SWU2 Count Register n */
-#define pREG_SWU2_TARG0 ((volatile uint32_t *)REG_SWU2_TARG0) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG1 ((volatile uint32_t *)REG_SWU2_TARG1) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG2 ((volatile uint32_t *)REG_SWU2_TARG2) /* SWU2 Target Register n */
-#define pREG_SWU2_TARG3 ((volatile uint32_t *)REG_SWU2_TARG3) /* SWU2 Target Register n */
-#define pREG_SWU2_HIST0 ((volatile uint32_t *)REG_SWU2_HIST0) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST1 ((volatile uint32_t *)REG_SWU2_HIST1) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST2 ((volatile uint32_t *)REG_SWU2_HIST2) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_HIST3 ((volatile uint32_t *)REG_SWU2_HIST3) /* SWU2 Bandwidth History Register n */
-#define pREG_SWU2_CUR0 ((volatile uint32_t *)REG_SWU2_CUR0) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR1 ((volatile uint32_t *)REG_SWU2_CUR1) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR2 ((volatile uint32_t *)REG_SWU2_CUR2) /* SWU2 Current Register n */
-#define pREG_SWU2_CUR3 ((volatile uint32_t *)REG_SWU2_CUR3) /* SWU2 Current Register n */
-
-/* =========================================================================
- SWU3
- ========================================================================= */
-#define pREG_SWU3_GCTL ((volatile uint32_t *)REG_SWU3_GCTL) /* SWU3 Global Control Register */
-#define pREG_SWU3_GSTAT ((volatile uint32_t *)REG_SWU3_GSTAT) /* SWU3 Global Status Register */
-#define pREG_SWU3_CTL0 ((volatile uint32_t *)REG_SWU3_CTL0) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL1 ((volatile uint32_t *)REG_SWU3_CTL1) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL2 ((volatile uint32_t *)REG_SWU3_CTL2) /* SWU3 Control Register n */
-#define pREG_SWU3_CTL3 ((volatile uint32_t *)REG_SWU3_CTL3) /* SWU3 Control Register n */
-#define pREG_SWU3_LA0 ((void * volatile *)REG_SWU3_LA0) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA1 ((void * volatile *)REG_SWU3_LA1) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA2 ((void * volatile *)REG_SWU3_LA2) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_LA3 ((void * volatile *)REG_SWU3_LA3) /* SWU3 Lower Address Register n */
-#define pREG_SWU3_UA0 ((void * volatile *)REG_SWU3_UA0) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA1 ((void * volatile *)REG_SWU3_UA1) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA2 ((void * volatile *)REG_SWU3_UA2) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_UA3 ((void * volatile *)REG_SWU3_UA3) /* SWU3 Upper Address Register n */
-#define pREG_SWU3_ID0 ((volatile uint32_t *)REG_SWU3_ID0) /* SWU3 ID Register n */
-#define pREG_SWU3_ID1 ((volatile uint32_t *)REG_SWU3_ID1) /* SWU3 ID Register n */
-#define pREG_SWU3_ID2 ((volatile uint32_t *)REG_SWU3_ID2) /* SWU3 ID Register n */
-#define pREG_SWU3_ID3 ((volatile uint32_t *)REG_SWU3_ID3) /* SWU3 ID Register n */
-#define pREG_SWU3_CNT0 ((volatile uint32_t *)REG_SWU3_CNT0) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT1 ((volatile uint32_t *)REG_SWU3_CNT1) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT2 ((volatile uint32_t *)REG_SWU3_CNT2) /* SWU3 Count Register n */
-#define pREG_SWU3_CNT3 ((volatile uint32_t *)REG_SWU3_CNT3) /* SWU3 Count Register n */
-#define pREG_SWU3_TARG0 ((volatile uint32_t *)REG_SWU3_TARG0) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG1 ((volatile uint32_t *)REG_SWU3_TARG1) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG2 ((volatile uint32_t *)REG_SWU3_TARG2) /* SWU3 Target Register n */
-#define pREG_SWU3_TARG3 ((volatile uint32_t *)REG_SWU3_TARG3) /* SWU3 Target Register n */
-#define pREG_SWU3_HIST0 ((volatile uint32_t *)REG_SWU3_HIST0) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST1 ((volatile uint32_t *)REG_SWU3_HIST1) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST2 ((volatile uint32_t *)REG_SWU3_HIST2) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_HIST3 ((volatile uint32_t *)REG_SWU3_HIST3) /* SWU3 Bandwidth History Register n */
-#define pREG_SWU3_CUR0 ((volatile uint32_t *)REG_SWU3_CUR0) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR1 ((volatile uint32_t *)REG_SWU3_CUR1) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR2 ((volatile uint32_t *)REG_SWU3_CUR2) /* SWU3 Current Register n */
-#define pREG_SWU3_CUR3 ((volatile uint32_t *)REG_SWU3_CUR3) /* SWU3 Current Register n */
-
-/* =========================================================================
- SWU4
- ========================================================================= */
-#define pREG_SWU4_GCTL ((volatile uint32_t *)REG_SWU4_GCTL) /* SWU4 Global Control Register */
-#define pREG_SWU4_GSTAT ((volatile uint32_t *)REG_SWU4_GSTAT) /* SWU4 Global Status Register */
-#define pREG_SWU4_CTL0 ((volatile uint32_t *)REG_SWU4_CTL0) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL1 ((volatile uint32_t *)REG_SWU4_CTL1) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL2 ((volatile uint32_t *)REG_SWU4_CTL2) /* SWU4 Control Register n */
-#define pREG_SWU4_CTL3 ((volatile uint32_t *)REG_SWU4_CTL3) /* SWU4 Control Register n */
-#define pREG_SWU4_LA0 ((void * volatile *)REG_SWU4_LA0) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA1 ((void * volatile *)REG_SWU4_LA1) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA2 ((void * volatile *)REG_SWU4_LA2) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_LA3 ((void * volatile *)REG_SWU4_LA3) /* SWU4 Lower Address Register n */
-#define pREG_SWU4_UA0 ((void * volatile *)REG_SWU4_UA0) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA1 ((void * volatile *)REG_SWU4_UA1) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA2 ((void * volatile *)REG_SWU4_UA2) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_UA3 ((void * volatile *)REG_SWU4_UA3) /* SWU4 Upper Address Register n */
-#define pREG_SWU4_ID0 ((volatile uint32_t *)REG_SWU4_ID0) /* SWU4 ID Register n */
-#define pREG_SWU4_ID1 ((volatile uint32_t *)REG_SWU4_ID1) /* SWU4 ID Register n */
-#define pREG_SWU4_ID2 ((volatile uint32_t *)REG_SWU4_ID2) /* SWU4 ID Register n */
-#define pREG_SWU4_ID3 ((volatile uint32_t *)REG_SWU4_ID3) /* SWU4 ID Register n */
-#define pREG_SWU4_CNT0 ((volatile uint32_t *)REG_SWU4_CNT0) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT1 ((volatile uint32_t *)REG_SWU4_CNT1) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT2 ((volatile uint32_t *)REG_SWU4_CNT2) /* SWU4 Count Register n */
-#define pREG_SWU4_CNT3 ((volatile uint32_t *)REG_SWU4_CNT3) /* SWU4 Count Register n */
-#define pREG_SWU4_TARG0 ((volatile uint32_t *)REG_SWU4_TARG0) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG1 ((volatile uint32_t *)REG_SWU4_TARG1) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG2 ((volatile uint32_t *)REG_SWU4_TARG2) /* SWU4 Target Register n */
-#define pREG_SWU4_TARG3 ((volatile uint32_t *)REG_SWU4_TARG3) /* SWU4 Target Register n */
-#define pREG_SWU4_HIST0 ((volatile uint32_t *)REG_SWU4_HIST0) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST1 ((volatile uint32_t *)REG_SWU4_HIST1) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST2 ((volatile uint32_t *)REG_SWU4_HIST2) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_HIST3 ((volatile uint32_t *)REG_SWU4_HIST3) /* SWU4 Bandwidth History Register n */
-#define pREG_SWU4_CUR0 ((volatile uint32_t *)REG_SWU4_CUR0) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR1 ((volatile uint32_t *)REG_SWU4_CUR1) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR2 ((volatile uint32_t *)REG_SWU4_CUR2) /* SWU4 Current Register n */
-#define pREG_SWU4_CUR3 ((volatile uint32_t *)REG_SWU4_CUR3) /* SWU4 Current Register n */
-
-/* =========================================================================
- SWU5
- ========================================================================= */
-#define pREG_SWU5_GCTL ((volatile uint32_t *)REG_SWU5_GCTL) /* SWU5 Global Control Register */
-#define pREG_SWU5_GSTAT ((volatile uint32_t *)REG_SWU5_GSTAT) /* SWU5 Global Status Register */
-#define pREG_SWU5_CTL0 ((volatile uint32_t *)REG_SWU5_CTL0) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL1 ((volatile uint32_t *)REG_SWU5_CTL1) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL2 ((volatile uint32_t *)REG_SWU5_CTL2) /* SWU5 Control Register n */
-#define pREG_SWU5_CTL3 ((volatile uint32_t *)REG_SWU5_CTL3) /* SWU5 Control Register n */
-#define pREG_SWU5_LA0 ((void * volatile *)REG_SWU5_LA0) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA1 ((void * volatile *)REG_SWU5_LA1) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA2 ((void * volatile *)REG_SWU5_LA2) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_LA3 ((void * volatile *)REG_SWU5_LA3) /* SWU5 Lower Address Register n */
-#define pREG_SWU5_UA0 ((void * volatile *)REG_SWU5_UA0) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA1 ((void * volatile *)REG_SWU5_UA1) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA2 ((void * volatile *)REG_SWU5_UA2) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_UA3 ((void * volatile *)REG_SWU5_UA3) /* SWU5 Upper Address Register n */
-#define pREG_SWU5_ID0 ((volatile uint32_t *)REG_SWU5_ID0) /* SWU5 ID Register n */
-#define pREG_SWU5_ID1 ((volatile uint32_t *)REG_SWU5_ID1) /* SWU5 ID Register n */
-#define pREG_SWU5_ID2 ((volatile uint32_t *)REG_SWU5_ID2) /* SWU5 ID Register n */
-#define pREG_SWU5_ID3 ((volatile uint32_t *)REG_SWU5_ID3) /* SWU5 ID Register n */
-#define pREG_SWU5_CNT0 ((volatile uint32_t *)REG_SWU5_CNT0) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT1 ((volatile uint32_t *)REG_SWU5_CNT1) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT2 ((volatile uint32_t *)REG_SWU5_CNT2) /* SWU5 Count Register n */
-#define pREG_SWU5_CNT3 ((volatile uint32_t *)REG_SWU5_CNT3) /* SWU5 Count Register n */
-#define pREG_SWU5_TARG0 ((volatile uint32_t *)REG_SWU5_TARG0) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG1 ((volatile uint32_t *)REG_SWU5_TARG1) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG2 ((volatile uint32_t *)REG_SWU5_TARG2) /* SWU5 Target Register n */
-#define pREG_SWU5_TARG3 ((volatile uint32_t *)REG_SWU5_TARG3) /* SWU5 Target Register n */
-#define pREG_SWU5_HIST0 ((volatile uint32_t *)REG_SWU5_HIST0) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST1 ((volatile uint32_t *)REG_SWU5_HIST1) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST2 ((volatile uint32_t *)REG_SWU5_HIST2) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_HIST3 ((volatile uint32_t *)REG_SWU5_HIST3) /* SWU5 Bandwidth History Register n */
-#define pREG_SWU5_CUR0 ((volatile uint32_t *)REG_SWU5_CUR0) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR1 ((volatile uint32_t *)REG_SWU5_CUR1) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR2 ((volatile uint32_t *)REG_SWU5_CUR2) /* SWU5 Current Register n */
-#define pREG_SWU5_CUR3 ((volatile uint32_t *)REG_SWU5_CUR3) /* SWU5 Current Register n */
-
-/* =========================================================================
- SWU6
- ========================================================================= */
-#define pREG_SWU6_GCTL ((volatile uint32_t *)REG_SWU6_GCTL) /* SWU6 Global Control Register */
-#define pREG_SWU6_GSTAT ((volatile uint32_t *)REG_SWU6_GSTAT) /* SWU6 Global Status Register */
-#define pREG_SWU6_CTL0 ((volatile uint32_t *)REG_SWU6_CTL0) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL1 ((volatile uint32_t *)REG_SWU6_CTL1) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL2 ((volatile uint32_t *)REG_SWU6_CTL2) /* SWU6 Control Register n */
-#define pREG_SWU6_CTL3 ((volatile uint32_t *)REG_SWU6_CTL3) /* SWU6 Control Register n */
-#define pREG_SWU6_LA0 ((void * volatile *)REG_SWU6_LA0) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA1 ((void * volatile *)REG_SWU6_LA1) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA2 ((void * volatile *)REG_SWU6_LA2) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_LA3 ((void * volatile *)REG_SWU6_LA3) /* SWU6 Lower Address Register n */
-#define pREG_SWU6_UA0 ((void * volatile *)REG_SWU6_UA0) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA1 ((void * volatile *)REG_SWU6_UA1) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA2 ((void * volatile *)REG_SWU6_UA2) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_UA3 ((void * volatile *)REG_SWU6_UA3) /* SWU6 Upper Address Register n */
-#define pREG_SWU6_ID0 ((volatile uint32_t *)REG_SWU6_ID0) /* SWU6 ID Register n */
-#define pREG_SWU6_ID1 ((volatile uint32_t *)REG_SWU6_ID1) /* SWU6 ID Register n */
-#define pREG_SWU6_ID2 ((volatile uint32_t *)REG_SWU6_ID2) /* SWU6 ID Register n */
-#define pREG_SWU6_ID3 ((volatile uint32_t *)REG_SWU6_ID3) /* SWU6 ID Register n */
-#define pREG_SWU6_CNT0 ((volatile uint32_t *)REG_SWU6_CNT0) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT1 ((volatile uint32_t *)REG_SWU6_CNT1) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT2 ((volatile uint32_t *)REG_SWU6_CNT2) /* SWU6 Count Register n */
-#define pREG_SWU6_CNT3 ((volatile uint32_t *)REG_SWU6_CNT3) /* SWU6 Count Register n */
-#define pREG_SWU6_TARG0 ((volatile uint32_t *)REG_SWU6_TARG0) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG1 ((volatile uint32_t *)REG_SWU6_TARG1) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG2 ((volatile uint32_t *)REG_SWU6_TARG2) /* SWU6 Target Register n */
-#define pREG_SWU6_TARG3 ((volatile uint32_t *)REG_SWU6_TARG3) /* SWU6 Target Register n */
-#define pREG_SWU6_HIST0 ((volatile uint32_t *)REG_SWU6_HIST0) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST1 ((volatile uint32_t *)REG_SWU6_HIST1) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST2 ((volatile uint32_t *)REG_SWU6_HIST2) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_HIST3 ((volatile uint32_t *)REG_SWU6_HIST3) /* SWU6 Bandwidth History Register n */
-#define pREG_SWU6_CUR0 ((volatile uint32_t *)REG_SWU6_CUR0) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR1 ((volatile uint32_t *)REG_SWU6_CUR1) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR2 ((volatile uint32_t *)REG_SWU6_CUR2) /* SWU6 Current Register n */
-#define pREG_SWU6_CUR3 ((volatile uint32_t *)REG_SWU6_CUR3) /* SWU6 Current Register n */
-
-
-/* =========================================================================
- SDU0
- ========================================================================= */
-#define pREG_SDU0_IDCODE ((volatile uint32_t *)REG_SDU0_IDCODE) /* SDU0 ID Code Register */
-#define pREG_SDU0_CTL ((volatile uint32_t *)REG_SDU0_CTL) /* SDU0 Control Register */
-#define pREG_SDU0_STAT ((volatile uint32_t *)REG_SDU0_STAT) /* SDU0 Status Register */
-#define pREG_SDU0_MACCTL ((volatile uint32_t *)REG_SDU0_MACCTL) /* SDU0 Memory Access Control Register */
-#define pREG_SDU0_MACADDR ((void * volatile *)REG_SDU0_MACADDR) /* SDU0 Memory Access Address Register */
-#define pREG_SDU0_MACDATA ((volatile uint32_t *)REG_SDU0_MACDATA) /* SDU0 Memory Access Data Register */
-#define pREG_SDU0_DMARD ((volatile uint32_t *)REG_SDU0_DMARD) /* SDU0 DMA Read Data Register */
-#define pREG_SDU0_DMAWD ((volatile uint32_t *)REG_SDU0_DMAWD) /* SDU0 DMA Write Data Register */
-#define pREG_SDU0_MSG ((volatile uint32_t *)REG_SDU0_MSG) /* SDU0 Message Register */
-#define pREG_SDU0_MSG_SET ((volatile uint32_t *)REG_SDU0_MSG_SET) /* SDU0 Message Set Register */
-#define pREG_SDU0_MSG_CLR ((volatile uint32_t *)REG_SDU0_MSG_CLR) /* SDU0 Message Clear Register */
-#define pREG_SDU0_GHLT ((volatile uint32_t *)REG_SDU0_GHLT) /* SDU0 Group Halt Register */
-
-
-/* =========================================================================
- EMAC0
- ========================================================================= */
-#define pREG_EMAC0_MACCFG ((volatile uint32_t *)REG_EMAC0_MACCFG) /* EMAC0 MAC Configuration Register */
-#define pREG_EMAC0_MACFRMFILT ((volatile uint32_t *)REG_EMAC0_MACFRMFILT) /* EMAC0 MAC Rx Frame Filter Register */
-#define pREG_EMAC0_HASHTBL_HI ((volatile uint32_t *)REG_EMAC0_HASHTBL_HI) /* EMAC0 Hash Table High Register */
-#define pREG_EMAC0_HASHTBL_LO ((volatile uint32_t *)REG_EMAC0_HASHTBL_LO) /* EMAC0 Hash Table Low Register */
-#define pREG_EMAC0_SMI_ADDR ((volatile uint32_t *)REG_EMAC0_SMI_ADDR) /* EMAC0 SMI Address Register */
-#define pREG_EMAC0_SMI_DATA ((volatile uint32_t *)REG_EMAC0_SMI_DATA) /* EMAC0 SMI Data Register */
-#define pREG_EMAC0_FLOWCTL ((volatile uint32_t *)REG_EMAC0_FLOWCTL) /* EMAC0 FLow Control Register */
-#define pREG_EMAC0_VLANTAG ((volatile uint32_t *)REG_EMAC0_VLANTAG) /* EMAC0 VLAN Tag Register */
-#define pREG_EMAC0_DBG ((volatile uint32_t *)REG_EMAC0_DBG) /* EMAC0 Debug Register */
-#define pREG_EMAC0_ISTAT ((volatile uint32_t *)REG_EMAC0_ISTAT) /* EMAC0 Interrupt Status Register */
-#define pREG_EMAC0_IMSK ((volatile uint32_t *)REG_EMAC0_IMSK) /* EMAC0 Interrupt Mask Register */
-#define pREG_EMAC0_ADDR0_HI ((volatile uint32_t *)REG_EMAC0_ADDR0_HI) /* EMAC0 MAC Address 0 High Register */
-#define pREG_EMAC0_ADDR0_LO ((volatile uint32_t *)REG_EMAC0_ADDR0_LO) /* EMAC0 MAC Address 0 Low Register */
-#define pREG_EMAC0_MMC_CTL ((volatile uint32_t *)REG_EMAC0_MMC_CTL) /* EMAC0 MMC Control Register */
-#define pREG_EMAC0_MMC_RXINT ((volatile uint32_t *)REG_EMAC0_MMC_RXINT) /* EMAC0 MMC Rx Interrupt Register */
-#define pREG_EMAC0_MMC_TXINT ((volatile uint32_t *)REG_EMAC0_MMC_TXINT) /* EMAC0 MMC Tx Interrupt Register */
-#define pREG_EMAC0_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_RXIMSK) /* EMAC0 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC0_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC0_MMC_TXIMSK) /* EMAC0 MMC TX Interrupt Mask Register */
-#define pREG_EMAC0_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_GB) /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC0_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_GB) /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_G) /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_G) /* EMAC0 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC0_TX64_GB ((volatile uint32_t *)REG_EMAC0_TX64_GB) /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX65TO127_GB ((volatile uint32_t *)REG_EMAC0_TX65TO127_GB) /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX128TO255_GB ((volatile uint32_t *)REG_EMAC0_TX128TO255_GB) /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX256TO511_GB ((volatile uint32_t *)REG_EMAC0_TX256TO511_GB) /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_TX512TO1023_GB) /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_TX1024TOMAX_GB) /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXUCASTFRM_GB) /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXMCASTFRM_GB) /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC0_TXBCASTFRM_GB) /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC0_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC0_TXUNDR_ERR) /* EMAC0 Tx Underflow Error Register */
-#define pREG_EMAC0_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC0_TXSNGCOL_G) /* EMAC0 Tx Single Collision (Good) Register */
-#define pREG_EMAC0_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC0_TXMULTCOL_G) /* EMAC0 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC0_TXDEFERRED ((volatile uint32_t *)REG_EMAC0_TXDEFERRED) /* EMAC0 Tx Deferred Register */
-#define pREG_EMAC0_TXLATECOL ((volatile uint32_t *)REG_EMAC0_TXLATECOL) /* EMAC0 Tx Late Collision Register */
-#define pREG_EMAC0_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC0_TXEXCESSCOL) /* EMAC0 Tx Excess Collision Register */
-#define pREG_EMAC0_TXCARR_ERR ((volatile uint32_t *)REG_EMAC0_TXCARR_ERR) /* EMAC0 Tx Carrier Error Register */
-#define pREG_EMAC0_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_TXOCTCNT_G) /* EMAC0 Tx Octet Count (Good) Register */
-#define pREG_EMAC0_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC0_TXFRMCNT_G) /* EMAC0 Tx Frame Count (Good) Register */
-#define pREG_EMAC0_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC0_TXEXCESSDEF) /* EMAC0 Tx Excess Deferral Register */
-#define pREG_EMAC0_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_TXPAUSEFRM) /* EMAC0 Tx Pause Frame Register */
-#define pREG_EMAC0_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC0_TXVLANFRM_G) /* EMAC0 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC0_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC0_RXFRMCNT_GB) /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_GB) /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC0_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC0_RXOCTCNT_G) /* EMAC0 Rx Octet Count (Good) Register */
-#define pREG_EMAC0_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXBCASTFRM_G) /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC0_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXMCASTFRM_G) /* EMAC0 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC0_RXCRC_ERR ((volatile uint32_t *)REG_EMAC0_RXCRC_ERR) /* EMAC0 Rx CRC Error Register */
-#define pREG_EMAC0_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC0_RXALIGN_ERR) /* EMAC0 Rx alignment Error Register */
-#define pREG_EMAC0_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC0_RXRUNT_ERR) /* EMAC0 Rx Runt Error Register */
-#define pREG_EMAC0_RXJAB_ERR ((volatile uint32_t *)REG_EMAC0_RXJAB_ERR) /* EMAC0 Rx Jab Error Register */
-#define pREG_EMAC0_RXUSIZE_G ((volatile uint32_t *)REG_EMAC0_RXUSIZE_G) /* EMAC0 Rx Undersize (Good) Register */
-#define pREG_EMAC0_RXOSIZE_G ((volatile uint32_t *)REG_EMAC0_RXOSIZE_G) /* EMAC0 Rx Oversize (Good) Register */
-#define pREG_EMAC0_RX64_GB ((volatile uint32_t *)REG_EMAC0_RX64_GB) /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX65TO127_GB ((volatile uint32_t *)REG_EMAC0_RX65TO127_GB) /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX128TO255_GB ((volatile uint32_t *)REG_EMAC0_RX128TO255_GB) /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX256TO511_GB ((volatile uint32_t *)REG_EMAC0_RX256TO511_GB) /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC0_RX512TO1023_GB) /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC0_RX1024TOMAX_GB) /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC0_RXUCASTFRM_G) /* EMAC0 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC0_RXLEN_ERR ((volatile uint32_t *)REG_EMAC0_RXLEN_ERR) /* EMAC0 Rx Length Error Register */
-#define pREG_EMAC0_RXOORTYPE ((volatile uint32_t *)REG_EMAC0_RXOORTYPE) /* EMAC0 Rx Out Of Range Type Register */
-#define pREG_EMAC0_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC0_RXPAUSEFRM) /* EMAC0 Rx Pause Frames Register */
-#define pREG_EMAC0_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC0_RXFIFO_OVF) /* EMAC0 Rx FIFO Overflow Register */
-#define pREG_EMAC0_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC0_RXVLANFRM_GB) /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC0_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC0_RXWDOG_ERR) /* EMAC0 Rx Watch Dog Error Register */
-#define pREG_EMAC0_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC0_IPC_RXIMSK) /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC0_IPC_RXINT ((volatile uint32_t *)REG_EMAC0_IPC_RXINT) /* EMAC0 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC0_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_FRM) /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_FRM) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_FRM) /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC0_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_FRM) /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_FRM) /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC0_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_FRM) /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_FRM) /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_FRM) /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC0_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_FRM) /* EMAC0 Rx UDP Good Frames Register */
-#define pREG_EMAC0_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_FRM) /* EMAC0 Rx UDP Error Frames Register */
-#define pREG_EMAC0_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_FRM) /* EMAC0 Rx TCP Good Frames Register */
-#define pREG_EMAC0_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_FRM) /* EMAC0 Rx TCP Error Frames Register */
-#define pREG_EMAC0_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_FRM) /* EMAC0 Rx ICMP Good Frames Register */
-#define pREG_EMAC0_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_FRM) /* EMAC0 Rx ICMP Error Frames Register */
-#define pREG_EMAC0_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_GD_OCT) /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC0_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_HDR_ERR_OCT) /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC0_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_NOPAY_OCT) /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC0_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_FRAG_OCT) /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC0_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV4_UDSBL_OCT) /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC0_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_GD_OCT) /* EMAC0 Rx IPv6 Good Octets Register */
-#define pREG_EMAC0_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_HDR_ERR_OCT) /* EMAC0 Rx IPv6 Header Errors Register */
-#define pREG_EMAC0_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC0_RXIPV6_NOPAY_OCT) /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC0_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_GD_OCT) /* EMAC0 Rx UDP Good Octets Register */
-#define pREG_EMAC0_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXUDP_ERR_OCT) /* EMAC0 Rx UDP Error Octets Register */
-#define pREG_EMAC0_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_GD_OCT) /* EMAC0 Rx TCP Good Octets Register */
-#define pREG_EMAC0_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXTCP_ERR_OCT) /* EMAC0 Rx TCP Error Octets Register */
-#define pREG_EMAC0_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_GD_OCT) /* EMAC0 Rx ICMP Good Octets Register */
-#define pREG_EMAC0_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC0_RXICMP_ERR_OCT) /* EMAC0 Rx ICMP Error Octets Register */
-#define pREG_EMAC0_TM_CTL ((volatile uint32_t *)REG_EMAC0_TM_CTL) /* EMAC0 Time Stamp Control Register */
-#define pREG_EMAC0_TM_SUBSEC ((volatile uint32_t *)REG_EMAC0_TM_SUBSEC) /* EMAC0 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC0_TM_SEC ((volatile uint32_t *)REG_EMAC0_TM_SEC) /* EMAC0 Time Stamp Low Seconds Register */
-#define pREG_EMAC0_TM_NSEC ((volatile uint32_t *)REG_EMAC0_TM_NSEC) /* EMAC0 Time Stamp Nano Seconds Register */
-#define pREG_EMAC0_TM_SECUPDT ((volatile uint32_t *)REG_EMAC0_TM_SECUPDT) /* EMAC0 Time Stamp Seconds Update Register */
-#define pREG_EMAC0_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC0_TM_NSECUPDT) /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC0_TM_ADDEND ((volatile uint32_t *)REG_EMAC0_TM_ADDEND) /* EMAC0 Time Stamp Addend Register */
-#define pREG_EMAC0_TM_TGTM ((volatile uint32_t *)REG_EMAC0_TM_TGTM) /* EMAC0 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC0_TM_NTGTM ((volatile uint32_t *)REG_EMAC0_TM_NTGTM) /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC0_TM_HISEC ((volatile uint32_t *)REG_EMAC0_TM_HISEC) /* EMAC0 Time Stamp High Second Register */
-#define pREG_EMAC0_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC0_TM_STMPSTAT) /* EMAC0 Time Stamp Status Register */
-#define pREG_EMAC0_TM_PPSCTL ((volatile uint32_t *)REG_EMAC0_TM_PPSCTL) /* EMAC0 PPS Control Register */
-#define pREG_EMAC0_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_NSEC) /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC0_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC0_TM_AUXSTMP_SEC) /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC0_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC0_TM_PPSINTVL) /* EMAC0 Time Stamp PPS Interval Register */
-#define pREG_EMAC0_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC0_TM_PPSWIDTH) /* EMAC0 PPS Width Register */
-#define pREG_EMAC0_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC0_DMA_BUSMODE) /* EMAC0 DMA Bus Mode Register */
-#define pREG_EMAC0_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_TXPOLL) /* EMAC0 DMA Tx Poll Demand Register */
-#define pREG_EMAC0_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC0_DMA_RXPOLL) /* EMAC0 DMA Rx Poll Demand register */
-#define pREG_EMAC0_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_ADDR) /* EMAC0 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_ADDR) /* EMAC0 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC0_DMA_STAT ((volatile uint32_t *)REG_EMAC0_DMA_STAT) /* EMAC0 DMA Status Register */
-#define pREG_EMAC0_DMA_OPMODE ((volatile uint32_t *)REG_EMAC0_DMA_OPMODE) /* EMAC0 DMA Operation Mode Register */
-#define pREG_EMAC0_DMA_IEN ((volatile uint32_t *)REG_EMAC0_DMA_IEN) /* EMAC0 DMA Interrupt Enable Register */
-#define pREG_EMAC0_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC0_DMA_MISS_FRM) /* EMAC0 DMA Missed Frame Register */
-#define pREG_EMAC0_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC0_DMA_RXIWDOG) /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC0_DMA_BMMODE ((volatile uint32_t *)REG_EMAC0_DMA_BMMODE) /* EMAC0 DMA SCB Bus Mode Register */
-#define pREG_EMAC0_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC0_DMA_BMSTAT) /* EMAC0 DMA SCB Status Register */
-#define pREG_EMAC0_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXDSC_CUR) /* EMAC0 DMA Tx Descriptor Current Register */
-#define pREG_EMAC0_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXDSC_CUR) /* EMAC0 DMA Rx Descriptor Current Register */
-#define pREG_EMAC0_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_TXBUF_CUR) /* EMAC0 DMA Tx Buffer Current Register */
-#define pREG_EMAC0_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC0_DMA_RXBUF_CUR) /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================================================================
- EMAC1
- ========================================================================= */
-#define pREG_EMAC1_MACCFG ((volatile uint32_t *)REG_EMAC1_MACCFG) /* EMAC1 MAC Configuration Register */
-#define pREG_EMAC1_MACFRMFILT ((volatile uint32_t *)REG_EMAC1_MACFRMFILT) /* EMAC1 MAC Rx Frame Filter Register */
-#define pREG_EMAC1_HASHTBL_HI ((volatile uint32_t *)REG_EMAC1_HASHTBL_HI) /* EMAC1 Hash Table High Register */
-#define pREG_EMAC1_HASHTBL_LO ((volatile uint32_t *)REG_EMAC1_HASHTBL_LO) /* EMAC1 Hash Table Low Register */
-#define pREG_EMAC1_SMI_ADDR ((volatile uint32_t *)REG_EMAC1_SMI_ADDR) /* EMAC1 SMI Address Register */
-#define pREG_EMAC1_SMI_DATA ((volatile uint32_t *)REG_EMAC1_SMI_DATA) /* EMAC1 SMI Data Register */
-#define pREG_EMAC1_FLOWCTL ((volatile uint32_t *)REG_EMAC1_FLOWCTL) /* EMAC1 FLow Control Register */
-#define pREG_EMAC1_VLANTAG ((volatile uint32_t *)REG_EMAC1_VLANTAG) /* EMAC1 VLAN Tag Register */
-#define pREG_EMAC1_DBG ((volatile uint32_t *)REG_EMAC1_DBG) /* EMAC1 Debug Register */
-#define pREG_EMAC1_ISTAT ((volatile uint32_t *)REG_EMAC1_ISTAT) /* EMAC1 Interrupt Status Register */
-#define pREG_EMAC1_IMSK ((volatile uint32_t *)REG_EMAC1_IMSK) /* EMAC1 Interrupt Mask Register */
-#define pREG_EMAC1_ADDR0_HI ((volatile uint32_t *)REG_EMAC1_ADDR0_HI) /* EMAC1 MAC Address 0 High Register */
-#define pREG_EMAC1_ADDR0_LO ((volatile uint32_t *)REG_EMAC1_ADDR0_LO) /* EMAC1 MAC Address 0 Low Register */
-#define pREG_EMAC1_MMC_CTL ((volatile uint32_t *)REG_EMAC1_MMC_CTL) /* EMAC1 MMC Control Register */
-#define pREG_EMAC1_MMC_RXINT ((volatile uint32_t *)REG_EMAC1_MMC_RXINT) /* EMAC1 MMC Rx Interrupt Register */
-#define pREG_EMAC1_MMC_TXINT ((volatile uint32_t *)REG_EMAC1_MMC_TXINT) /* EMAC1 MMC Tx Interrupt Register */
-#define pREG_EMAC1_MMC_RXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_RXIMSK) /* EMAC1 MMC Rx Interrupt Mask Register */
-#define pREG_EMAC1_MMC_TXIMSK ((volatile uint32_t *)REG_EMAC1_MMC_TXIMSK) /* EMAC1 MMC TX Interrupt Mask Register */
-#define pREG_EMAC1_TXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_GB) /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define pREG_EMAC1_TXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_GB) /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_G) /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_TXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_G) /* EMAC1 Tx Multicast Frames (Good) Register */
-#define pREG_EMAC1_TX64_GB ((volatile uint32_t *)REG_EMAC1_TX64_GB) /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX65TO127_GB ((volatile uint32_t *)REG_EMAC1_TX65TO127_GB) /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX128TO255_GB ((volatile uint32_t *)REG_EMAC1_TX128TO255_GB) /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX256TO511_GB ((volatile uint32_t *)REG_EMAC1_TX256TO511_GB) /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_TX512TO1023_GB) /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_TX1024TOMAX_GB) /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXUCASTFRM_GB) /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXMCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXMCASTFRM_GB) /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXBCASTFRM_GB ((volatile uint32_t *)REG_EMAC1_TXBCASTFRM_GB) /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define pREG_EMAC1_TXUNDR_ERR ((volatile uint32_t *)REG_EMAC1_TXUNDR_ERR) /* EMAC1 Tx Underflow Error Register */
-#define pREG_EMAC1_TXSNGCOL_G ((volatile uint32_t *)REG_EMAC1_TXSNGCOL_G) /* EMAC1 Tx Single Collision (Good) Register */
-#define pREG_EMAC1_TXMULTCOL_G ((volatile uint32_t *)REG_EMAC1_TXMULTCOL_G) /* EMAC1 Tx Multiple Collision (Good) Register */
-#define pREG_EMAC1_TXDEFERRED ((volatile uint32_t *)REG_EMAC1_TXDEFERRED) /* EMAC1 Tx Deferred Register */
-#define pREG_EMAC1_TXLATECOL ((volatile uint32_t *)REG_EMAC1_TXLATECOL) /* EMAC1 Tx Late Collision Register */
-#define pREG_EMAC1_TXEXCESSCOL ((volatile uint32_t *)REG_EMAC1_TXEXCESSCOL) /* EMAC1 Tx Excess Collision Register */
-#define pREG_EMAC1_TXCARR_ERR ((volatile uint32_t *)REG_EMAC1_TXCARR_ERR) /* EMAC1 Tx Carrier Error Register */
-#define pREG_EMAC1_TXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_TXOCTCNT_G) /* EMAC1 Tx Octet Count (Good) Register */
-#define pREG_EMAC1_TXFRMCNT_G ((volatile uint32_t *)REG_EMAC1_TXFRMCNT_G) /* EMAC1 Tx Frame Count (Good) Register */
-#define pREG_EMAC1_TXEXCESSDEF ((volatile uint32_t *)REG_EMAC1_TXEXCESSDEF) /* EMAC1 Tx Excess Deferral Register */
-#define pREG_EMAC1_TXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_TXPAUSEFRM) /* EMAC1 Tx Pause Frame Register */
-#define pREG_EMAC1_TXVLANFRM_G ((volatile uint32_t *)REG_EMAC1_TXVLANFRM_G) /* EMAC1 Tx VLAN Frames (Good) Register */
-#define pREG_EMAC1_RXFRMCNT_GB ((volatile uint32_t *)REG_EMAC1_RXFRMCNT_GB) /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_GB ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_GB) /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define pREG_EMAC1_RXOCTCNT_G ((volatile uint32_t *)REG_EMAC1_RXOCTCNT_G) /* EMAC1 Rx Octet Count (Good) Register */
-#define pREG_EMAC1_RXBCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXBCASTFRM_G) /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define pREG_EMAC1_RXMCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXMCASTFRM_G) /* EMAC1 Rx Multicast Frames (Good) Register */
-#define pREG_EMAC1_RXCRC_ERR ((volatile uint32_t *)REG_EMAC1_RXCRC_ERR) /* EMAC1 Rx CRC Error Register */
-#define pREG_EMAC1_RXALIGN_ERR ((volatile uint32_t *)REG_EMAC1_RXALIGN_ERR) /* EMAC1 Rx alignment Error Register */
-#define pREG_EMAC1_RXRUNT_ERR ((volatile uint32_t *)REG_EMAC1_RXRUNT_ERR) /* EMAC1 Rx Runt Error Register */
-#define pREG_EMAC1_RXJAB_ERR ((volatile uint32_t *)REG_EMAC1_RXJAB_ERR) /* EMAC1 Rx Jab Error Register */
-#define pREG_EMAC1_RXUSIZE_G ((volatile uint32_t *)REG_EMAC1_RXUSIZE_G) /* EMAC1 Rx Undersize (Good) Register */
-#define pREG_EMAC1_RXOSIZE_G ((volatile uint32_t *)REG_EMAC1_RXOSIZE_G) /* EMAC1 Rx Oversize (Good) Register */
-#define pREG_EMAC1_RX64_GB ((volatile uint32_t *)REG_EMAC1_RX64_GB) /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX65TO127_GB ((volatile uint32_t *)REG_EMAC1_RX65TO127_GB) /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX128TO255_GB ((volatile uint32_t *)REG_EMAC1_RX128TO255_GB) /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX256TO511_GB ((volatile uint32_t *)REG_EMAC1_RX256TO511_GB) /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX512TO1023_GB ((volatile uint32_t *)REG_EMAC1_RX512TO1023_GB) /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RX1024TOMAX_GB ((volatile uint32_t *)REG_EMAC1_RX1024TOMAX_GB) /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXUCASTFRM_G ((volatile uint32_t *)REG_EMAC1_RXUCASTFRM_G) /* EMAC1 Rx Unicast Frames (Good) Register */
-#define pREG_EMAC1_RXLEN_ERR ((volatile uint32_t *)REG_EMAC1_RXLEN_ERR) /* EMAC1 Rx Length Error Register */
-#define pREG_EMAC1_RXOORTYPE ((volatile uint32_t *)REG_EMAC1_RXOORTYPE) /* EMAC1 Rx Out Of Range Type Register */
-#define pREG_EMAC1_RXPAUSEFRM ((volatile uint32_t *)REG_EMAC1_RXPAUSEFRM) /* EMAC1 Rx Pause Frames Register */
-#define pREG_EMAC1_RXFIFO_OVF ((volatile uint32_t *)REG_EMAC1_RXFIFO_OVF) /* EMAC1 Rx FIFO Overflow Register */
-#define pREG_EMAC1_RXVLANFRM_GB ((volatile uint32_t *)REG_EMAC1_RXVLANFRM_GB) /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define pREG_EMAC1_RXWDOG_ERR ((volatile uint32_t *)REG_EMAC1_RXWDOG_ERR) /* EMAC1 Rx Watch Dog Error Register */
-#define pREG_EMAC1_IPC_RXIMSK ((volatile uint32_t *)REG_EMAC1_IPC_RXIMSK) /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define pREG_EMAC1_IPC_RXINT ((volatile uint32_t *)REG_EMAC1_IPC_RXINT) /* EMAC1 MMC IPC Rx Interrupt Register */
-#define pREG_EMAC1_RXIPV4_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_FRM) /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_FRM) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_FRM) /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define pREG_EMAC1_RXIPV4_FRAG_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_FRM) /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_FRM) /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define pREG_EMAC1_RXIPV6_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_FRM) /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_FRM) /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_FRM ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_FRM) /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define pREG_EMAC1_RXUDP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_FRM) /* EMAC1 Rx UDP Good Frames Register */
-#define pREG_EMAC1_RXUDP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_FRM) /* EMAC1 Rx UDP Error Frames Register */
-#define pREG_EMAC1_RXTCP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_FRM) /* EMAC1 Rx TCP Good Frames Register */
-#define pREG_EMAC1_RXTCP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_FRM) /* EMAC1 Rx TCP Error Frames Register */
-#define pREG_EMAC1_RXICMP_GD_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_FRM) /* EMAC1 Rx ICMP Good Frames Register */
-#define pREG_EMAC1_RXICMP_ERR_FRM ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_FRM) /* EMAC1 Rx ICMP Error Frames Register */
-#define pREG_EMAC1_RXIPV4_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_GD_OCT) /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define pREG_EMAC1_RXIPV4_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_HDR_ERR_OCT) /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define pREG_EMAC1_RXIPV4_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_NOPAY_OCT) /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define pREG_EMAC1_RXIPV4_FRAG_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_FRAG_OCT) /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define pREG_EMAC1_RXIPV4_UDSBL_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV4_UDSBL_OCT) /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define pREG_EMAC1_RXIPV6_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_GD_OCT) /* EMAC1 Rx IPv6 Good Octets Register */
-#define pREG_EMAC1_RXIPV6_HDR_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_HDR_ERR_OCT) /* EMAC1 Rx IPv6 Header Errors Register */
-#define pREG_EMAC1_RXIPV6_NOPAY_OCT ((volatile uint32_t *)REG_EMAC1_RXIPV6_NOPAY_OCT) /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define pREG_EMAC1_RXUDP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_GD_OCT) /* EMAC1 Rx UDP Good Octets Register */
-#define pREG_EMAC1_RXUDP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXUDP_ERR_OCT) /* EMAC1 Rx UDP Error Octets Register */
-#define pREG_EMAC1_RXTCP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_GD_OCT) /* EMAC1 Rx TCP Good Octets Register */
-#define pREG_EMAC1_RXTCP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXTCP_ERR_OCT) /* EMAC1 Rx TCP Error Octets Register */
-#define pREG_EMAC1_RXICMP_GD_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_GD_OCT) /* EMAC1 Rx ICMP Good Octets Register */
-#define pREG_EMAC1_RXICMP_ERR_OCT ((volatile uint32_t *)REG_EMAC1_RXICMP_ERR_OCT) /* EMAC1 Rx ICMP Error Octets Register */
-#define pREG_EMAC1_TM_CTL ((volatile uint32_t *)REG_EMAC1_TM_CTL) /* EMAC1 Time Stamp Control Register */
-#define pREG_EMAC1_TM_SUBSEC ((volatile uint32_t *)REG_EMAC1_TM_SUBSEC) /* EMAC1 Time Stamp Sub Second Increment Register */
-#define pREG_EMAC1_TM_SEC ((volatile uint32_t *)REG_EMAC1_TM_SEC) /* EMAC1 Time Stamp Low Seconds Register */
-#define pREG_EMAC1_TM_NSEC ((volatile uint32_t *)REG_EMAC1_TM_NSEC) /* EMAC1 Time Stamp Nano Seconds Register */
-#define pREG_EMAC1_TM_SECUPDT ((volatile uint32_t *)REG_EMAC1_TM_SECUPDT) /* EMAC1 Time Stamp Seconds Update Register */
-#define pREG_EMAC1_TM_NSECUPDT ((volatile uint32_t *)REG_EMAC1_TM_NSECUPDT) /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define pREG_EMAC1_TM_ADDEND ((volatile uint32_t *)REG_EMAC1_TM_ADDEND) /* EMAC1 Time Stamp Addend Register */
-#define pREG_EMAC1_TM_TGTM ((volatile uint32_t *)REG_EMAC1_TM_TGTM) /* EMAC1 Time Stamp Target Time Seconds Register */
-#define pREG_EMAC1_TM_NTGTM ((volatile uint32_t *)REG_EMAC1_TM_NTGTM) /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define pREG_EMAC1_TM_HISEC ((volatile uint32_t *)REG_EMAC1_TM_HISEC) /* EMAC1 Time Stamp High Second Register */
-#define pREG_EMAC1_TM_STMPSTAT ((volatile uint32_t *)REG_EMAC1_TM_STMPSTAT) /* EMAC1 Time Stamp Status Register */
-#define pREG_EMAC1_TM_PPSCTL ((volatile uint32_t *)REG_EMAC1_TM_PPSCTL) /* EMAC1 PPS Control Register */
-#define pREG_EMAC1_TM_AUXSTMP_NSEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_NSEC) /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define pREG_EMAC1_TM_AUXSTMP_SEC ((volatile uint32_t *)REG_EMAC1_TM_AUXSTMP_SEC) /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define pREG_EMAC1_TM_PPSINTVL ((volatile uint32_t *)REG_EMAC1_TM_PPSINTVL) /* EMAC1 Time Stamp PPS Interval Register */
-#define pREG_EMAC1_TM_PPSWIDTH ((volatile uint32_t *)REG_EMAC1_TM_PPSWIDTH) /* EMAC1 PPS Width Register */
-#define pREG_EMAC1_DMA_BUSMODE ((volatile uint32_t *)REG_EMAC1_DMA_BUSMODE) /* EMAC1 DMA Bus Mode Register */
-#define pREG_EMAC1_DMA_TXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_TXPOLL) /* EMAC1 DMA Tx Poll Demand Register */
-#define pREG_EMAC1_DMA_RXPOLL ((volatile uint32_t *)REG_EMAC1_DMA_RXPOLL) /* EMAC1 DMA Rx Poll Demand register */
-#define pREG_EMAC1_DMA_RXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_ADDR) /* EMAC1 DMA Rx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_TXDSC_ADDR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_ADDR) /* EMAC1 DMA Tx Descriptor List Address Register */
-#define pREG_EMAC1_DMA_STAT ((volatile uint32_t *)REG_EMAC1_DMA_STAT) /* EMAC1 DMA Status Register */
-#define pREG_EMAC1_DMA_OPMODE ((volatile uint32_t *)REG_EMAC1_DMA_OPMODE) /* EMAC1 DMA Operation Mode Register */
-#define pREG_EMAC1_DMA_IEN ((volatile uint32_t *)REG_EMAC1_DMA_IEN) /* EMAC1 DMA Interrupt Enable Register */
-#define pREG_EMAC1_DMA_MISS_FRM ((volatile uint32_t *)REG_EMAC1_DMA_MISS_FRM) /* EMAC1 DMA Missed Frame Register */
-#define pREG_EMAC1_DMA_RXIWDOG ((volatile uint32_t *)REG_EMAC1_DMA_RXIWDOG) /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define pREG_EMAC1_DMA_BMMODE ((volatile uint32_t *)REG_EMAC1_DMA_BMMODE) /* EMAC1 DMA SCB Bus Mode Register */
-#define pREG_EMAC1_DMA_BMSTAT ((volatile uint32_t *)REG_EMAC1_DMA_BMSTAT) /* EMAC1 DMA SCB Status Register */
-#define pREG_EMAC1_DMA_TXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXDSC_CUR) /* EMAC1 DMA Tx Descriptor Current Register */
-#define pREG_EMAC1_DMA_RXDSC_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXDSC_CUR) /* EMAC1 DMA Rx Descriptor Current Register */
-#define pREG_EMAC1_DMA_TXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_TXBUF_CUR) /* EMAC1 DMA Tx Buffer Current Register */
-#define pREG_EMAC1_DMA_RXBUF_CUR ((volatile uint32_t *)REG_EMAC1_DMA_RXBUF_CUR) /* EMAC1 DMA Rx Buffer Current Register */
-
-
-/* =========================================================================
- SPORT0
- ========================================================================= */
-#define pREG_SPORT0_CTL_A ((volatile uint32_t *)REG_SPORT0_CTL_A) /* SPORT0 Half SPORT 'A' Control Register */
-#define pREG_SPORT0_DIV_A ((volatile uint32_t *)REG_SPORT0_DIV_A) /* SPORT0 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT0_MCTL_A ((volatile uint32_t *)REG_SPORT0_MCTL_A) /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_A ((volatile uint32_t *)REG_SPORT0_CS0_A) /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_A ((volatile uint32_t *)REG_SPORT0_CS1_A) /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_A ((volatile uint32_t *)REG_SPORT0_CS2_A) /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT0_CS3_A ((volatile uint32_t *)REG_SPORT0_CS3_A) /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT0_ERR_A ((volatile uint32_t *)REG_SPORT0_ERR_A) /* SPORT0 Half SPORT 'A' Error Register */
-#define pREG_SPORT0_MSTAT_A ((volatile uint32_t *)REG_SPORT0_MSTAT_A) /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_A ((volatile uint32_t *)REG_SPORT0_CTL2_A) /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT0_TXPRI_A ((volatile uint32_t *)REG_SPORT0_TXPRI_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_A ((volatile uint32_t *)REG_SPORT0_RXPRI_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_A ((volatile uint32_t *)REG_SPORT0_TXSEC_A) /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_A ((volatile uint32_t *)REG_SPORT0_RXSEC_A) /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT0_CTL_B ((volatile uint32_t *)REG_SPORT0_CTL_B) /* SPORT0 Half SPORT 'B' Control Register */
-#define pREG_SPORT0_DIV_B ((volatile uint32_t *)REG_SPORT0_DIV_B) /* SPORT0 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT0_MCTL_B ((volatile uint32_t *)REG_SPORT0_MCTL_B) /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT0_CS0_B ((volatile uint32_t *)REG_SPORT0_CS0_B) /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT0_CS1_B ((volatile uint32_t *)REG_SPORT0_CS1_B) /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT0_CS2_B ((volatile uint32_t *)REG_SPORT0_CS2_B) /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT0_CS3_B ((volatile uint32_t *)REG_SPORT0_CS3_B) /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT0_ERR_B ((volatile uint32_t *)REG_SPORT0_ERR_B) /* SPORT0 Half SPORT 'B' Error Register */
-#define pREG_SPORT0_MSTAT_B ((volatile uint32_t *)REG_SPORT0_MSTAT_B) /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT0_CTL2_B ((volatile uint32_t *)REG_SPORT0_CTL2_B) /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT0_TXPRI_B ((volatile uint32_t *)REG_SPORT0_TXPRI_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT0_RXPRI_B ((volatile uint32_t *)REG_SPORT0_RXPRI_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT0_TXSEC_B ((volatile uint32_t *)REG_SPORT0_TXSEC_B) /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT0_RXSEC_B ((volatile uint32_t *)REG_SPORT0_RXSEC_B) /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT1
- ========================================================================= */
-#define pREG_SPORT1_CTL_A ((volatile uint32_t *)REG_SPORT1_CTL_A) /* SPORT1 Half SPORT 'A' Control Register */
-#define pREG_SPORT1_DIV_A ((volatile uint32_t *)REG_SPORT1_DIV_A) /* SPORT1 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT1_MCTL_A ((volatile uint32_t *)REG_SPORT1_MCTL_A) /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_A ((volatile uint32_t *)REG_SPORT1_CS0_A) /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_A ((volatile uint32_t *)REG_SPORT1_CS1_A) /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_A ((volatile uint32_t *)REG_SPORT1_CS2_A) /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT1_CS3_A ((volatile uint32_t *)REG_SPORT1_CS3_A) /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT1_ERR_A ((volatile uint32_t *)REG_SPORT1_ERR_A) /* SPORT1 Half SPORT 'A' Error Register */
-#define pREG_SPORT1_MSTAT_A ((volatile uint32_t *)REG_SPORT1_MSTAT_A) /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_A ((volatile uint32_t *)REG_SPORT1_CTL2_A) /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT1_TXPRI_A ((volatile uint32_t *)REG_SPORT1_TXPRI_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_A ((volatile uint32_t *)REG_SPORT1_RXPRI_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_A ((volatile uint32_t *)REG_SPORT1_TXSEC_A) /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_A ((volatile uint32_t *)REG_SPORT1_RXSEC_A) /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT1_CTL_B ((volatile uint32_t *)REG_SPORT1_CTL_B) /* SPORT1 Half SPORT 'B' Control Register */
-#define pREG_SPORT1_DIV_B ((volatile uint32_t *)REG_SPORT1_DIV_B) /* SPORT1 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT1_MCTL_B ((volatile uint32_t *)REG_SPORT1_MCTL_B) /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT1_CS0_B ((volatile uint32_t *)REG_SPORT1_CS0_B) /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT1_CS1_B ((volatile uint32_t *)REG_SPORT1_CS1_B) /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT1_CS2_B ((volatile uint32_t *)REG_SPORT1_CS2_B) /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT1_CS3_B ((volatile uint32_t *)REG_SPORT1_CS3_B) /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT1_ERR_B ((volatile uint32_t *)REG_SPORT1_ERR_B) /* SPORT1 Half SPORT 'B' Error Register */
-#define pREG_SPORT1_MSTAT_B ((volatile uint32_t *)REG_SPORT1_MSTAT_B) /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT1_CTL2_B ((volatile uint32_t *)REG_SPORT1_CTL2_B) /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT1_TXPRI_B ((volatile uint32_t *)REG_SPORT1_TXPRI_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT1_RXPRI_B ((volatile uint32_t *)REG_SPORT1_RXPRI_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT1_TXSEC_B ((volatile uint32_t *)REG_SPORT1_TXSEC_B) /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT1_RXSEC_B ((volatile uint32_t *)REG_SPORT1_RXSEC_B) /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================================================================
- SPORT2
- ========================================================================= */
-#define pREG_SPORT2_CTL_A ((volatile uint32_t *)REG_SPORT2_CTL_A) /* SPORT2 Half SPORT 'A' Control Register */
-#define pREG_SPORT2_DIV_A ((volatile uint32_t *)REG_SPORT2_DIV_A) /* SPORT2 Half SPORT 'A' Divisor Register */
-#define pREG_SPORT2_MCTL_A ((volatile uint32_t *)REG_SPORT2_MCTL_A) /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_A ((volatile uint32_t *)REG_SPORT2_CS0_A) /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_A ((volatile uint32_t *)REG_SPORT2_CS1_A) /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_A ((volatile uint32_t *)REG_SPORT2_CS2_A) /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define pREG_SPORT2_CS3_A ((volatile uint32_t *)REG_SPORT2_CS3_A) /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define pREG_SPORT2_ERR_A ((volatile uint32_t *)REG_SPORT2_ERR_A) /* SPORT2 Half SPORT 'A' Error Register */
-#define pREG_SPORT2_MSTAT_A ((volatile uint32_t *)REG_SPORT2_MSTAT_A) /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_A ((volatile uint32_t *)REG_SPORT2_CTL2_A) /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define pREG_SPORT2_TXPRI_A ((volatile uint32_t *)REG_SPORT2_TXPRI_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_A ((volatile uint32_t *)REG_SPORT2_RXPRI_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_A ((volatile uint32_t *)REG_SPORT2_TXSEC_A) /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_A ((volatile uint32_t *)REG_SPORT2_RXSEC_A) /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define pREG_SPORT2_CTL_B ((volatile uint32_t *)REG_SPORT2_CTL_B) /* SPORT2 Half SPORT 'B' Control Register */
-#define pREG_SPORT2_DIV_B ((volatile uint32_t *)REG_SPORT2_DIV_B) /* SPORT2 Half SPORT 'B' Divisor Register */
-#define pREG_SPORT2_MCTL_B ((volatile uint32_t *)REG_SPORT2_MCTL_B) /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define pREG_SPORT2_CS0_B ((volatile uint32_t *)REG_SPORT2_CS0_B) /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define pREG_SPORT2_CS1_B ((volatile uint32_t *)REG_SPORT2_CS1_B) /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define pREG_SPORT2_CS2_B ((volatile uint32_t *)REG_SPORT2_CS2_B) /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define pREG_SPORT2_CS3_B ((volatile uint32_t *)REG_SPORT2_CS3_B) /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define pREG_SPORT2_ERR_B ((volatile uint32_t *)REG_SPORT2_ERR_B) /* SPORT2 Half SPORT 'B' Error Register */
-#define pREG_SPORT2_MSTAT_B ((volatile uint32_t *)REG_SPORT2_MSTAT_B) /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define pREG_SPORT2_CTL2_B ((volatile uint32_t *)REG_SPORT2_CTL2_B) /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define pREG_SPORT2_TXPRI_B ((volatile uint32_t *)REG_SPORT2_TXPRI_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define pREG_SPORT2_RXPRI_B ((volatile uint32_t *)REG_SPORT2_RXPRI_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define pREG_SPORT2_TXSEC_B ((volatile uint32_t *)REG_SPORT2_TXSEC_B) /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define pREG_SPORT2_RXSEC_B ((volatile uint32_t *)REG_SPORT2_RXSEC_B) /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-
-/* =========================================================================
- SPI0
- ========================================================================= */
-#define pREG_SPI0_CTL ((volatile uint32_t *)REG_SPI0_CTL) /* SPI0 Control Register */
-#define pREG_SPI0_RXCTL ((volatile uint32_t *)REG_SPI0_RXCTL) /* SPI0 Receive Control Register */
-#define pREG_SPI0_TXCTL ((volatile uint32_t *)REG_SPI0_TXCTL) /* SPI0 Transmit Control Register */
-#define pREG_SPI0_CLK ((volatile uint32_t *)REG_SPI0_CLK) /* SPI0 Clock Rate Register */
-#define pREG_SPI0_DLY ((volatile uint32_t *)REG_SPI0_DLY) /* SPI0 Delay Register */
-#define pREG_SPI0_SLVSEL ((volatile uint32_t *)REG_SPI0_SLVSEL) /* SPI0 Slave Select Register */
-#define pREG_SPI0_RWC ((volatile uint32_t *)REG_SPI0_RWC) /* SPI0 Received Word Count Register */
-#define pREG_SPI0_RWCR ((volatile uint32_t *)REG_SPI0_RWCR) /* SPI0 Received Word Count Reload Register */
-#define pREG_SPI0_TWC ((volatile uint32_t *)REG_SPI0_TWC) /* SPI0 Transmitted Word Count Register */
-#define pREG_SPI0_TWCR ((volatile uint32_t *)REG_SPI0_TWCR) /* SPI0 Transmitted Word Count Reload Register */
-#define pREG_SPI0_IMSK ((volatile uint32_t *)REG_SPI0_IMSK) /* SPI0 Interrupt Mask Register */
-#define pREG_SPI0_IMSK_CLR ((volatile uint32_t *)REG_SPI0_IMSK_CLR) /* SPI0 Interrupt Mask Clear Register */
-#define pREG_SPI0_IMSK_SET ((volatile uint32_t *)REG_SPI0_IMSK_SET) /* SPI0 Interrupt Mask Set Register */
-#define pREG_SPI0_STAT ((volatile uint32_t *)REG_SPI0_STAT) /* SPI0 Status Register */
-#define pREG_SPI0_ILAT ((volatile uint32_t *)REG_SPI0_ILAT) /* SPI0 Masked Interrupt Condition Register */
-#define pREG_SPI0_ILAT_CLR ((volatile uint32_t *)REG_SPI0_ILAT_CLR) /* SPI0 Masked Interrupt Clear Register */
-#define pREG_SPI0_RFIFO ((volatile uint32_t *)REG_SPI0_RFIFO) /* SPI0 Receive FIFO Data Register */
-#define pREG_SPI0_TFIFO ((volatile uint32_t *)REG_SPI0_TFIFO) /* SPI0 Transmit FIFO Data Register */
-
-/* =========================================================================
- SPI1
- ========================================================================= */
-#define pREG_SPI1_CTL ((volatile uint32_t *)REG_SPI1_CTL) /* SPI1 Control Register */
-#define pREG_SPI1_RXCTL ((volatile uint32_t *)REG_SPI1_RXCTL) /* SPI1 Receive Control Register */
-#define pREG_SPI1_TXCTL ((volatile uint32_t *)REG_SPI1_TXCTL) /* SPI1 Transmit Control Register */
-#define pREG_SPI1_CLK ((volatile uint32_t *)REG_SPI1_CLK) /* SPI1 Clock Rate Register */
-#define pREG_SPI1_DLY ((volatile uint32_t *)REG_SPI1_DLY) /* SPI1 Delay Register */
-#define pREG_SPI1_SLVSEL ((volatile uint32_t *)REG_SPI1_SLVSEL) /* SPI1 Slave Select Register */
-#define pREG_SPI1_RWC ((volatile uint32_t *)REG_SPI1_RWC) /* SPI1 Received Word Count Register */
-#define pREG_SPI1_RWCR ((volatile uint32_t *)REG_SPI1_RWCR) /* SPI1 Received Word Count Reload Register */
-#define pREG_SPI1_TWC ((volatile uint32_t *)REG_SPI1_TWC) /* SPI1 Transmitted Word Count Register */
-#define pREG_SPI1_TWCR ((volatile uint32_t *)REG_SPI1_TWCR) /* SPI1 Transmitted Word Count Reload Register */
-#define pREG_SPI1_IMSK ((volatile uint32_t *)REG_SPI1_IMSK) /* SPI1 Interrupt Mask Register */
-#define pREG_SPI1_IMSK_CLR ((volatile uint32_t *)REG_SPI1_IMSK_CLR) /* SPI1 Interrupt Mask Clear Register */
-#define pREG_SPI1_IMSK_SET ((volatile uint32_t *)REG_SPI1_IMSK_SET) /* SPI1 Interrupt Mask Set Register */
-#define pREG_SPI1_STAT ((volatile uint32_t *)REG_SPI1_STAT) /* SPI1 Status Register */
-#define pREG_SPI1_ILAT ((volatile uint32_t *)REG_SPI1_ILAT) /* SPI1 Masked Interrupt Condition Register */
-#define pREG_SPI1_ILAT_CLR ((volatile uint32_t *)REG_SPI1_ILAT_CLR) /* SPI1 Masked Interrupt Clear Register */
-#define pREG_SPI1_RFIFO ((volatile uint32_t *)REG_SPI1_RFIFO) /* SPI1 Receive FIFO Data Register */
-#define pREG_SPI1_TFIFO ((volatile uint32_t *)REG_SPI1_TFIFO) /* SPI1 Transmit FIFO Data Register */
-
-
-/* =========================================================================
- DMA0
- ========================================================================= */
-#define pREG_DMA0_DSCPTR_NXT ((void * volatile *)REG_DMA0_DSCPTR_NXT) /* DMA0 Pointer to Next Initial Descriptor */
-#define pREG_DMA0_ADDRSTART ((void * volatile *)REG_DMA0_ADDRSTART) /* DMA0 Start Address of Current Buffer */
-#define pREG_DMA0_CFG ((volatile uint32_t *)REG_DMA0_CFG) /* DMA0 Configuration Register */
-#define pREG_DMA0_XCNT ((volatile uint32_t *)REG_DMA0_XCNT) /* DMA0 Inner Loop Count Start Value */
-#define pREG_DMA0_XMOD ((volatile int32_t *)REG_DMA0_XMOD) /* DMA0 Inner Loop Address Increment */
-#define pREG_DMA0_YCNT ((volatile uint32_t *)REG_DMA0_YCNT) /* DMA0 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA0_YMOD ((volatile int32_t *)REG_DMA0_YMOD) /* DMA0 Outer Loop Address Increment (2D only) */
-#define pREG_DMA0_DSCPTR_CUR ((void * volatile *)REG_DMA0_DSCPTR_CUR) /* DMA0 Current Descriptor Pointer */
-#define pREG_DMA0_DSCPTR_PRV ((void * volatile *)REG_DMA0_DSCPTR_PRV) /* DMA0 Previous Initial Descriptor Pointer */
-#define pREG_DMA0_ADDR_CUR ((void * volatile *)REG_DMA0_ADDR_CUR) /* DMA0 Current Address */
-#define pREG_DMA0_STAT ((volatile uint32_t *)REG_DMA0_STAT) /* DMA0 Status Register */
-#define pREG_DMA0_XCNT_CUR ((volatile uint32_t *)REG_DMA0_XCNT_CUR) /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA0_YCNT_CUR ((volatile uint32_t *)REG_DMA0_YCNT_CUR) /* DMA0 Current Row Count (2D only) */
-#define pREG_DMA0_BWLCNT ((volatile uint32_t *)REG_DMA0_BWLCNT) /* DMA0 Bandwidth Limit Count */
-#define pREG_DMA0_BWLCNT_CUR ((volatile uint32_t *)REG_DMA0_BWLCNT_CUR) /* DMA0 Bandwidth Limit Count Current */
-#define pREG_DMA0_BWMCNT ((volatile uint32_t *)REG_DMA0_BWMCNT) /* DMA0 Bandwidth Monitor Count */
-#define pREG_DMA0_BWMCNT_CUR ((volatile uint32_t *)REG_DMA0_BWMCNT_CUR) /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA1
- ========================================================================= */
-#define pREG_DMA1_DSCPTR_NXT ((void * volatile *)REG_DMA1_DSCPTR_NXT) /* DMA1 Pointer to Next Initial Descriptor */
-#define pREG_DMA1_ADDRSTART ((void * volatile *)REG_DMA1_ADDRSTART) /* DMA1 Start Address of Current Buffer */
-#define pREG_DMA1_CFG ((volatile uint32_t *)REG_DMA1_CFG) /* DMA1 Configuration Register */
-#define pREG_DMA1_XCNT ((volatile uint32_t *)REG_DMA1_XCNT) /* DMA1 Inner Loop Count Start Value */
-#define pREG_DMA1_XMOD ((volatile int32_t *)REG_DMA1_XMOD) /* DMA1 Inner Loop Address Increment */
-#define pREG_DMA1_YCNT ((volatile uint32_t *)REG_DMA1_YCNT) /* DMA1 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA1_YMOD ((volatile int32_t *)REG_DMA1_YMOD) /* DMA1 Outer Loop Address Increment (2D only) */
-#define pREG_DMA1_DSCPTR_CUR ((void * volatile *)REG_DMA1_DSCPTR_CUR) /* DMA1 Current Descriptor Pointer */
-#define pREG_DMA1_DSCPTR_PRV ((void * volatile *)REG_DMA1_DSCPTR_PRV) /* DMA1 Previous Initial Descriptor Pointer */
-#define pREG_DMA1_ADDR_CUR ((void * volatile *)REG_DMA1_ADDR_CUR) /* DMA1 Current Address */
-#define pREG_DMA1_STAT ((volatile uint32_t *)REG_DMA1_STAT) /* DMA1 Status Register */
-#define pREG_DMA1_XCNT_CUR ((volatile uint32_t *)REG_DMA1_XCNT_CUR) /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA1_YCNT_CUR ((volatile uint32_t *)REG_DMA1_YCNT_CUR) /* DMA1 Current Row Count (2D only) */
-#define pREG_DMA1_BWLCNT ((volatile uint32_t *)REG_DMA1_BWLCNT) /* DMA1 Bandwidth Limit Count */
-#define pREG_DMA1_BWLCNT_CUR ((volatile uint32_t *)REG_DMA1_BWLCNT_CUR) /* DMA1 Bandwidth Limit Count Current */
-#define pREG_DMA1_BWMCNT ((volatile uint32_t *)REG_DMA1_BWMCNT) /* DMA1 Bandwidth Monitor Count */
-#define pREG_DMA1_BWMCNT_CUR ((volatile uint32_t *)REG_DMA1_BWMCNT_CUR) /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA2
- ========================================================================= */
-#define pREG_DMA2_DSCPTR_NXT ((void * volatile *)REG_DMA2_DSCPTR_NXT) /* DMA2 Pointer to Next Initial Descriptor */
-#define pREG_DMA2_ADDRSTART ((void * volatile *)REG_DMA2_ADDRSTART) /* DMA2 Start Address of Current Buffer */
-#define pREG_DMA2_CFG ((volatile uint32_t *)REG_DMA2_CFG) /* DMA2 Configuration Register */
-#define pREG_DMA2_XCNT ((volatile uint32_t *)REG_DMA2_XCNT) /* DMA2 Inner Loop Count Start Value */
-#define pREG_DMA2_XMOD ((volatile int32_t *)REG_DMA2_XMOD) /* DMA2 Inner Loop Address Increment */
-#define pREG_DMA2_YCNT ((volatile uint32_t *)REG_DMA2_YCNT) /* DMA2 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA2_YMOD ((volatile int32_t *)REG_DMA2_YMOD) /* DMA2 Outer Loop Address Increment (2D only) */
-#define pREG_DMA2_DSCPTR_CUR ((void * volatile *)REG_DMA2_DSCPTR_CUR) /* DMA2 Current Descriptor Pointer */
-#define pREG_DMA2_DSCPTR_PRV ((void * volatile *)REG_DMA2_DSCPTR_PRV) /* DMA2 Previous Initial Descriptor Pointer */
-#define pREG_DMA2_ADDR_CUR ((void * volatile *)REG_DMA2_ADDR_CUR) /* DMA2 Current Address */
-#define pREG_DMA2_STAT ((volatile uint32_t *)REG_DMA2_STAT) /* DMA2 Status Register */
-#define pREG_DMA2_XCNT_CUR ((volatile uint32_t *)REG_DMA2_XCNT_CUR) /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA2_YCNT_CUR ((volatile uint32_t *)REG_DMA2_YCNT_CUR) /* DMA2 Current Row Count (2D only) */
-#define pREG_DMA2_BWLCNT ((volatile uint32_t *)REG_DMA2_BWLCNT) /* DMA2 Bandwidth Limit Count */
-#define pREG_DMA2_BWLCNT_CUR ((volatile uint32_t *)REG_DMA2_BWLCNT_CUR) /* DMA2 Bandwidth Limit Count Current */
-#define pREG_DMA2_BWMCNT ((volatile uint32_t *)REG_DMA2_BWMCNT) /* DMA2 Bandwidth Monitor Count */
-#define pREG_DMA2_BWMCNT_CUR ((volatile uint32_t *)REG_DMA2_BWMCNT_CUR) /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA3
- ========================================================================= */
-#define pREG_DMA3_DSCPTR_NXT ((void * volatile *)REG_DMA3_DSCPTR_NXT) /* DMA3 Pointer to Next Initial Descriptor */
-#define pREG_DMA3_ADDRSTART ((void * volatile *)REG_DMA3_ADDRSTART) /* DMA3 Start Address of Current Buffer */
-#define pREG_DMA3_CFG ((volatile uint32_t *)REG_DMA3_CFG) /* DMA3 Configuration Register */
-#define pREG_DMA3_XCNT ((volatile uint32_t *)REG_DMA3_XCNT) /* DMA3 Inner Loop Count Start Value */
-#define pREG_DMA3_XMOD ((volatile int32_t *)REG_DMA3_XMOD) /* DMA3 Inner Loop Address Increment */
-#define pREG_DMA3_YCNT ((volatile uint32_t *)REG_DMA3_YCNT) /* DMA3 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA3_YMOD ((volatile int32_t *)REG_DMA3_YMOD) /* DMA3 Outer Loop Address Increment (2D only) */
-#define pREG_DMA3_DSCPTR_CUR ((void * volatile *)REG_DMA3_DSCPTR_CUR) /* DMA3 Current Descriptor Pointer */
-#define pREG_DMA3_DSCPTR_PRV ((void * volatile *)REG_DMA3_DSCPTR_PRV) /* DMA3 Previous Initial Descriptor Pointer */
-#define pREG_DMA3_ADDR_CUR ((void * volatile *)REG_DMA3_ADDR_CUR) /* DMA3 Current Address */
-#define pREG_DMA3_STAT ((volatile uint32_t *)REG_DMA3_STAT) /* DMA3 Status Register */
-#define pREG_DMA3_XCNT_CUR ((volatile uint32_t *)REG_DMA3_XCNT_CUR) /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA3_YCNT_CUR ((volatile uint32_t *)REG_DMA3_YCNT_CUR) /* DMA3 Current Row Count (2D only) */
-#define pREG_DMA3_BWLCNT ((volatile uint32_t *)REG_DMA3_BWLCNT) /* DMA3 Bandwidth Limit Count */
-#define pREG_DMA3_BWLCNT_CUR ((volatile uint32_t *)REG_DMA3_BWLCNT_CUR) /* DMA3 Bandwidth Limit Count Current */
-#define pREG_DMA3_BWMCNT ((volatile uint32_t *)REG_DMA3_BWMCNT) /* DMA3 Bandwidth Monitor Count */
-#define pREG_DMA3_BWMCNT_CUR ((volatile uint32_t *)REG_DMA3_BWMCNT_CUR) /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA4
- ========================================================================= */
-#define pREG_DMA4_DSCPTR_NXT ((void * volatile *)REG_DMA4_DSCPTR_NXT) /* DMA4 Pointer to Next Initial Descriptor */
-#define pREG_DMA4_ADDRSTART ((void * volatile *)REG_DMA4_ADDRSTART) /* DMA4 Start Address of Current Buffer */
-#define pREG_DMA4_CFG ((volatile uint32_t *)REG_DMA4_CFG) /* DMA4 Configuration Register */
-#define pREG_DMA4_XCNT ((volatile uint32_t *)REG_DMA4_XCNT) /* DMA4 Inner Loop Count Start Value */
-#define pREG_DMA4_XMOD ((volatile int32_t *)REG_DMA4_XMOD) /* DMA4 Inner Loop Address Increment */
-#define pREG_DMA4_YCNT ((volatile uint32_t *)REG_DMA4_YCNT) /* DMA4 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA4_YMOD ((volatile int32_t *)REG_DMA4_YMOD) /* DMA4 Outer Loop Address Increment (2D only) */
-#define pREG_DMA4_DSCPTR_CUR ((void * volatile *)REG_DMA4_DSCPTR_CUR) /* DMA4 Current Descriptor Pointer */
-#define pREG_DMA4_DSCPTR_PRV ((void * volatile *)REG_DMA4_DSCPTR_PRV) /* DMA4 Previous Initial Descriptor Pointer */
-#define pREG_DMA4_ADDR_CUR ((void * volatile *)REG_DMA4_ADDR_CUR) /* DMA4 Current Address */
-#define pREG_DMA4_STAT ((volatile uint32_t *)REG_DMA4_STAT) /* DMA4 Status Register */
-#define pREG_DMA4_XCNT_CUR ((volatile uint32_t *)REG_DMA4_XCNT_CUR) /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA4_YCNT_CUR ((volatile uint32_t *)REG_DMA4_YCNT_CUR) /* DMA4 Current Row Count (2D only) */
-#define pREG_DMA4_BWLCNT ((volatile uint32_t *)REG_DMA4_BWLCNT) /* DMA4 Bandwidth Limit Count */
-#define pREG_DMA4_BWLCNT_CUR ((volatile uint32_t *)REG_DMA4_BWLCNT_CUR) /* DMA4 Bandwidth Limit Count Current */
-#define pREG_DMA4_BWMCNT ((volatile uint32_t *)REG_DMA4_BWMCNT) /* DMA4 Bandwidth Monitor Count */
-#define pREG_DMA4_BWMCNT_CUR ((volatile uint32_t *)REG_DMA4_BWMCNT_CUR) /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA5
- ========================================================================= */
-#define pREG_DMA5_DSCPTR_NXT ((void * volatile *)REG_DMA5_DSCPTR_NXT) /* DMA5 Pointer to Next Initial Descriptor */
-#define pREG_DMA5_ADDRSTART ((void * volatile *)REG_DMA5_ADDRSTART) /* DMA5 Start Address of Current Buffer */
-#define pREG_DMA5_CFG ((volatile uint32_t *)REG_DMA5_CFG) /* DMA5 Configuration Register */
-#define pREG_DMA5_XCNT ((volatile uint32_t *)REG_DMA5_XCNT) /* DMA5 Inner Loop Count Start Value */
-#define pREG_DMA5_XMOD ((volatile int32_t *)REG_DMA5_XMOD) /* DMA5 Inner Loop Address Increment */
-#define pREG_DMA5_YCNT ((volatile uint32_t *)REG_DMA5_YCNT) /* DMA5 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA5_YMOD ((volatile int32_t *)REG_DMA5_YMOD) /* DMA5 Outer Loop Address Increment (2D only) */
-#define pREG_DMA5_DSCPTR_CUR ((void * volatile *)REG_DMA5_DSCPTR_CUR) /* DMA5 Current Descriptor Pointer */
-#define pREG_DMA5_DSCPTR_PRV ((void * volatile *)REG_DMA5_DSCPTR_PRV) /* DMA5 Previous Initial Descriptor Pointer */
-#define pREG_DMA5_ADDR_CUR ((void * volatile *)REG_DMA5_ADDR_CUR) /* DMA5 Current Address */
-#define pREG_DMA5_STAT ((volatile uint32_t *)REG_DMA5_STAT) /* DMA5 Status Register */
-#define pREG_DMA5_XCNT_CUR ((volatile uint32_t *)REG_DMA5_XCNT_CUR) /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA5_YCNT_CUR ((volatile uint32_t *)REG_DMA5_YCNT_CUR) /* DMA5 Current Row Count (2D only) */
-#define pREG_DMA5_BWLCNT ((volatile uint32_t *)REG_DMA5_BWLCNT) /* DMA5 Bandwidth Limit Count */
-#define pREG_DMA5_BWLCNT_CUR ((volatile uint32_t *)REG_DMA5_BWLCNT_CUR) /* DMA5 Bandwidth Limit Count Current */
-#define pREG_DMA5_BWMCNT ((volatile uint32_t *)REG_DMA5_BWMCNT) /* DMA5 Bandwidth Monitor Count */
-#define pREG_DMA5_BWMCNT_CUR ((volatile uint32_t *)REG_DMA5_BWMCNT_CUR) /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA6
- ========================================================================= */
-#define pREG_DMA6_DSCPTR_NXT ((void * volatile *)REG_DMA6_DSCPTR_NXT) /* DMA6 Pointer to Next Initial Descriptor */
-#define pREG_DMA6_ADDRSTART ((void * volatile *)REG_DMA6_ADDRSTART) /* DMA6 Start Address of Current Buffer */
-#define pREG_DMA6_CFG ((volatile uint32_t *)REG_DMA6_CFG) /* DMA6 Configuration Register */
-#define pREG_DMA6_XCNT ((volatile uint32_t *)REG_DMA6_XCNT) /* DMA6 Inner Loop Count Start Value */
-#define pREG_DMA6_XMOD ((volatile int32_t *)REG_DMA6_XMOD) /* DMA6 Inner Loop Address Increment */
-#define pREG_DMA6_YCNT ((volatile uint32_t *)REG_DMA6_YCNT) /* DMA6 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA6_YMOD ((volatile int32_t *)REG_DMA6_YMOD) /* DMA6 Outer Loop Address Increment (2D only) */
-#define pREG_DMA6_DSCPTR_CUR ((void * volatile *)REG_DMA6_DSCPTR_CUR) /* DMA6 Current Descriptor Pointer */
-#define pREG_DMA6_DSCPTR_PRV ((void * volatile *)REG_DMA6_DSCPTR_PRV) /* DMA6 Previous Initial Descriptor Pointer */
-#define pREG_DMA6_ADDR_CUR ((void * volatile *)REG_DMA6_ADDR_CUR) /* DMA6 Current Address */
-#define pREG_DMA6_STAT ((volatile uint32_t *)REG_DMA6_STAT) /* DMA6 Status Register */
-#define pREG_DMA6_XCNT_CUR ((volatile uint32_t *)REG_DMA6_XCNT_CUR) /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA6_YCNT_CUR ((volatile uint32_t *)REG_DMA6_YCNT_CUR) /* DMA6 Current Row Count (2D only) */
-#define pREG_DMA6_BWLCNT ((volatile uint32_t *)REG_DMA6_BWLCNT) /* DMA6 Bandwidth Limit Count */
-#define pREG_DMA6_BWLCNT_CUR ((volatile uint32_t *)REG_DMA6_BWLCNT_CUR) /* DMA6 Bandwidth Limit Count Current */
-#define pREG_DMA6_BWMCNT ((volatile uint32_t *)REG_DMA6_BWMCNT) /* DMA6 Bandwidth Monitor Count */
-#define pREG_DMA6_BWMCNT_CUR ((volatile uint32_t *)REG_DMA6_BWMCNT_CUR) /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA7
- ========================================================================= */
-#define pREG_DMA7_DSCPTR_NXT ((void * volatile *)REG_DMA7_DSCPTR_NXT) /* DMA7 Pointer to Next Initial Descriptor */
-#define pREG_DMA7_ADDRSTART ((void * volatile *)REG_DMA7_ADDRSTART) /* DMA7 Start Address of Current Buffer */
-#define pREG_DMA7_CFG ((volatile uint32_t *)REG_DMA7_CFG) /* DMA7 Configuration Register */
-#define pREG_DMA7_XCNT ((volatile uint32_t *)REG_DMA7_XCNT) /* DMA7 Inner Loop Count Start Value */
-#define pREG_DMA7_XMOD ((volatile int32_t *)REG_DMA7_XMOD) /* DMA7 Inner Loop Address Increment */
-#define pREG_DMA7_YCNT ((volatile uint32_t *)REG_DMA7_YCNT) /* DMA7 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA7_YMOD ((volatile int32_t *)REG_DMA7_YMOD) /* DMA7 Outer Loop Address Increment (2D only) */
-#define pREG_DMA7_DSCPTR_CUR ((void * volatile *)REG_DMA7_DSCPTR_CUR) /* DMA7 Current Descriptor Pointer */
-#define pREG_DMA7_DSCPTR_PRV ((void * volatile *)REG_DMA7_DSCPTR_PRV) /* DMA7 Previous Initial Descriptor Pointer */
-#define pREG_DMA7_ADDR_CUR ((void * volatile *)REG_DMA7_ADDR_CUR) /* DMA7 Current Address */
-#define pREG_DMA7_STAT ((volatile uint32_t *)REG_DMA7_STAT) /* DMA7 Status Register */
-#define pREG_DMA7_XCNT_CUR ((volatile uint32_t *)REG_DMA7_XCNT_CUR) /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA7_YCNT_CUR ((volatile uint32_t *)REG_DMA7_YCNT_CUR) /* DMA7 Current Row Count (2D only) */
-#define pREG_DMA7_BWLCNT ((volatile uint32_t *)REG_DMA7_BWLCNT) /* DMA7 Bandwidth Limit Count */
-#define pREG_DMA7_BWLCNT_CUR ((volatile uint32_t *)REG_DMA7_BWLCNT_CUR) /* DMA7 Bandwidth Limit Count Current */
-#define pREG_DMA7_BWMCNT ((volatile uint32_t *)REG_DMA7_BWMCNT) /* DMA7 Bandwidth Monitor Count */
-#define pREG_DMA7_BWMCNT_CUR ((volatile uint32_t *)REG_DMA7_BWMCNT_CUR) /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA8
- ========================================================================= */
-#define pREG_DMA8_DSCPTR_NXT ((void * volatile *)REG_DMA8_DSCPTR_NXT) /* DMA8 Pointer to Next Initial Descriptor */
-#define pREG_DMA8_ADDRSTART ((void * volatile *)REG_DMA8_ADDRSTART) /* DMA8 Start Address of Current Buffer */
-#define pREG_DMA8_CFG ((volatile uint32_t *)REG_DMA8_CFG) /* DMA8 Configuration Register */
-#define pREG_DMA8_XCNT ((volatile uint32_t *)REG_DMA8_XCNT) /* DMA8 Inner Loop Count Start Value */
-#define pREG_DMA8_XMOD ((volatile int32_t *)REG_DMA8_XMOD) /* DMA8 Inner Loop Address Increment */
-#define pREG_DMA8_YCNT ((volatile uint32_t *)REG_DMA8_YCNT) /* DMA8 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA8_YMOD ((volatile int32_t *)REG_DMA8_YMOD) /* DMA8 Outer Loop Address Increment (2D only) */
-#define pREG_DMA8_DSCPTR_CUR ((void * volatile *)REG_DMA8_DSCPTR_CUR) /* DMA8 Current Descriptor Pointer */
-#define pREG_DMA8_DSCPTR_PRV ((void * volatile *)REG_DMA8_DSCPTR_PRV) /* DMA8 Previous Initial Descriptor Pointer */
-#define pREG_DMA8_ADDR_CUR ((void * volatile *)REG_DMA8_ADDR_CUR) /* DMA8 Current Address */
-#define pREG_DMA8_STAT ((volatile uint32_t *)REG_DMA8_STAT) /* DMA8 Status Register */
-#define pREG_DMA8_XCNT_CUR ((volatile uint32_t *)REG_DMA8_XCNT_CUR) /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA8_YCNT_CUR ((volatile uint32_t *)REG_DMA8_YCNT_CUR) /* DMA8 Current Row Count (2D only) */
-#define pREG_DMA8_BWLCNT ((volatile uint32_t *)REG_DMA8_BWLCNT) /* DMA8 Bandwidth Limit Count */
-#define pREG_DMA8_BWLCNT_CUR ((volatile uint32_t *)REG_DMA8_BWLCNT_CUR) /* DMA8 Bandwidth Limit Count Current */
-#define pREG_DMA8_BWMCNT ((volatile uint32_t *)REG_DMA8_BWMCNT) /* DMA8 Bandwidth Monitor Count */
-#define pREG_DMA8_BWMCNT_CUR ((volatile uint32_t *)REG_DMA8_BWMCNT_CUR) /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA9
- ========================================================================= */
-#define pREG_DMA9_DSCPTR_NXT ((void * volatile *)REG_DMA9_DSCPTR_NXT) /* DMA9 Pointer to Next Initial Descriptor */
-#define pREG_DMA9_ADDRSTART ((void * volatile *)REG_DMA9_ADDRSTART) /* DMA9 Start Address of Current Buffer */
-#define pREG_DMA9_CFG ((volatile uint32_t *)REG_DMA9_CFG) /* DMA9 Configuration Register */
-#define pREG_DMA9_XCNT ((volatile uint32_t *)REG_DMA9_XCNT) /* DMA9 Inner Loop Count Start Value */
-#define pREG_DMA9_XMOD ((volatile int32_t *)REG_DMA9_XMOD) /* DMA9 Inner Loop Address Increment */
-#define pREG_DMA9_YCNT ((volatile uint32_t *)REG_DMA9_YCNT) /* DMA9 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA9_YMOD ((volatile int32_t *)REG_DMA9_YMOD) /* DMA9 Outer Loop Address Increment (2D only) */
-#define pREG_DMA9_DSCPTR_CUR ((void * volatile *)REG_DMA9_DSCPTR_CUR) /* DMA9 Current Descriptor Pointer */
-#define pREG_DMA9_DSCPTR_PRV ((void * volatile *)REG_DMA9_DSCPTR_PRV) /* DMA9 Previous Initial Descriptor Pointer */
-#define pREG_DMA9_ADDR_CUR ((void * volatile *)REG_DMA9_ADDR_CUR) /* DMA9 Current Address */
-#define pREG_DMA9_STAT ((volatile uint32_t *)REG_DMA9_STAT) /* DMA9 Status Register */
-#define pREG_DMA9_XCNT_CUR ((volatile uint32_t *)REG_DMA9_XCNT_CUR) /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA9_YCNT_CUR ((volatile uint32_t *)REG_DMA9_YCNT_CUR) /* DMA9 Current Row Count (2D only) */
-#define pREG_DMA9_BWLCNT ((volatile uint32_t *)REG_DMA9_BWLCNT) /* DMA9 Bandwidth Limit Count */
-#define pREG_DMA9_BWLCNT_CUR ((volatile uint32_t *)REG_DMA9_BWLCNT_CUR) /* DMA9 Bandwidth Limit Count Current */
-#define pREG_DMA9_BWMCNT ((volatile uint32_t *)REG_DMA9_BWMCNT) /* DMA9 Bandwidth Monitor Count */
-#define pREG_DMA9_BWMCNT_CUR ((volatile uint32_t *)REG_DMA9_BWMCNT_CUR) /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA10
- ========================================================================= */
-#define pREG_DMA10_DSCPTR_NXT ((void * volatile *)REG_DMA10_DSCPTR_NXT) /* DMA10 Pointer to Next Initial Descriptor */
-#define pREG_DMA10_ADDRSTART ((void * volatile *)REG_DMA10_ADDRSTART) /* DMA10 Start Address of Current Buffer */
-#define pREG_DMA10_CFG ((volatile uint32_t *)REG_DMA10_CFG) /* DMA10 Configuration Register */
-#define pREG_DMA10_XCNT ((volatile uint32_t *)REG_DMA10_XCNT) /* DMA10 Inner Loop Count Start Value */
-#define pREG_DMA10_XMOD ((volatile int32_t *)REG_DMA10_XMOD) /* DMA10 Inner Loop Address Increment */
-#define pREG_DMA10_YCNT ((volatile uint32_t *)REG_DMA10_YCNT) /* DMA10 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA10_YMOD ((volatile int32_t *)REG_DMA10_YMOD) /* DMA10 Outer Loop Address Increment (2D only) */
-#define pREG_DMA10_DSCPTR_CUR ((void * volatile *)REG_DMA10_DSCPTR_CUR) /* DMA10 Current Descriptor Pointer */
-#define pREG_DMA10_DSCPTR_PRV ((void * volatile *)REG_DMA10_DSCPTR_PRV) /* DMA10 Previous Initial Descriptor Pointer */
-#define pREG_DMA10_ADDR_CUR ((void * volatile *)REG_DMA10_ADDR_CUR) /* DMA10 Current Address */
-#define pREG_DMA10_STAT ((volatile uint32_t *)REG_DMA10_STAT) /* DMA10 Status Register */
-#define pREG_DMA10_XCNT_CUR ((volatile uint32_t *)REG_DMA10_XCNT_CUR) /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA10_YCNT_CUR ((volatile uint32_t *)REG_DMA10_YCNT_CUR) /* DMA10 Current Row Count (2D only) */
-#define pREG_DMA10_BWLCNT ((volatile uint32_t *)REG_DMA10_BWLCNT) /* DMA10 Bandwidth Limit Count */
-#define pREG_DMA10_BWLCNT_CUR ((volatile uint32_t *)REG_DMA10_BWLCNT_CUR) /* DMA10 Bandwidth Limit Count Current */
-#define pREG_DMA10_BWMCNT ((volatile uint32_t *)REG_DMA10_BWMCNT) /* DMA10 Bandwidth Monitor Count */
-#define pREG_DMA10_BWMCNT_CUR ((volatile uint32_t *)REG_DMA10_BWMCNT_CUR) /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA11
- ========================================================================= */
-#define pREG_DMA11_DSCPTR_NXT ((void * volatile *)REG_DMA11_DSCPTR_NXT) /* DMA11 Pointer to Next Initial Descriptor */
-#define pREG_DMA11_ADDRSTART ((void * volatile *)REG_DMA11_ADDRSTART) /* DMA11 Start Address of Current Buffer */
-#define pREG_DMA11_CFG ((volatile uint32_t *)REG_DMA11_CFG) /* DMA11 Configuration Register */
-#define pREG_DMA11_XCNT ((volatile uint32_t *)REG_DMA11_XCNT) /* DMA11 Inner Loop Count Start Value */
-#define pREG_DMA11_XMOD ((volatile int32_t *)REG_DMA11_XMOD) /* DMA11 Inner Loop Address Increment */
-#define pREG_DMA11_YCNT ((volatile uint32_t *)REG_DMA11_YCNT) /* DMA11 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA11_YMOD ((volatile int32_t *)REG_DMA11_YMOD) /* DMA11 Outer Loop Address Increment (2D only) */
-#define pREG_DMA11_DSCPTR_CUR ((void * volatile *)REG_DMA11_DSCPTR_CUR) /* DMA11 Current Descriptor Pointer */
-#define pREG_DMA11_DSCPTR_PRV ((void * volatile *)REG_DMA11_DSCPTR_PRV) /* DMA11 Previous Initial Descriptor Pointer */
-#define pREG_DMA11_ADDR_CUR ((void * volatile *)REG_DMA11_ADDR_CUR) /* DMA11 Current Address */
-#define pREG_DMA11_STAT ((volatile uint32_t *)REG_DMA11_STAT) /* DMA11 Status Register */
-#define pREG_DMA11_XCNT_CUR ((volatile uint32_t *)REG_DMA11_XCNT_CUR) /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA11_YCNT_CUR ((volatile uint32_t *)REG_DMA11_YCNT_CUR) /* DMA11 Current Row Count (2D only) */
-#define pREG_DMA11_BWLCNT ((volatile uint32_t *)REG_DMA11_BWLCNT) /* DMA11 Bandwidth Limit Count */
-#define pREG_DMA11_BWLCNT_CUR ((volatile uint32_t *)REG_DMA11_BWLCNT_CUR) /* DMA11 Bandwidth Limit Count Current */
-#define pREG_DMA11_BWMCNT ((volatile uint32_t *)REG_DMA11_BWMCNT) /* DMA11 Bandwidth Monitor Count */
-#define pREG_DMA11_BWMCNT_CUR ((volatile uint32_t *)REG_DMA11_BWMCNT_CUR) /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA12
- ========================================================================= */
-#define pREG_DMA12_DSCPTR_NXT ((void * volatile *)REG_DMA12_DSCPTR_NXT) /* DMA12 Pointer to Next Initial Descriptor */
-#define pREG_DMA12_ADDRSTART ((void * volatile *)REG_DMA12_ADDRSTART) /* DMA12 Start Address of Current Buffer */
-#define pREG_DMA12_CFG ((volatile uint32_t *)REG_DMA12_CFG) /* DMA12 Configuration Register */
-#define pREG_DMA12_XCNT ((volatile uint32_t *)REG_DMA12_XCNT) /* DMA12 Inner Loop Count Start Value */
-#define pREG_DMA12_XMOD ((volatile int32_t *)REG_DMA12_XMOD) /* DMA12 Inner Loop Address Increment */
-#define pREG_DMA12_YCNT ((volatile uint32_t *)REG_DMA12_YCNT) /* DMA12 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA12_YMOD ((volatile int32_t *)REG_DMA12_YMOD) /* DMA12 Outer Loop Address Increment (2D only) */
-#define pREG_DMA12_DSCPTR_CUR ((void * volatile *)REG_DMA12_DSCPTR_CUR) /* DMA12 Current Descriptor Pointer */
-#define pREG_DMA12_DSCPTR_PRV ((void * volatile *)REG_DMA12_DSCPTR_PRV) /* DMA12 Previous Initial Descriptor Pointer */
-#define pREG_DMA12_ADDR_CUR ((void * volatile *)REG_DMA12_ADDR_CUR) /* DMA12 Current Address */
-#define pREG_DMA12_STAT ((volatile uint32_t *)REG_DMA12_STAT) /* DMA12 Status Register */
-#define pREG_DMA12_XCNT_CUR ((volatile uint32_t *)REG_DMA12_XCNT_CUR) /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA12_YCNT_CUR ((volatile uint32_t *)REG_DMA12_YCNT_CUR) /* DMA12 Current Row Count (2D only) */
-#define pREG_DMA12_BWLCNT ((volatile uint32_t *)REG_DMA12_BWLCNT) /* DMA12 Bandwidth Limit Count */
-#define pREG_DMA12_BWLCNT_CUR ((volatile uint32_t *)REG_DMA12_BWLCNT_CUR) /* DMA12 Bandwidth Limit Count Current */
-#define pREG_DMA12_BWMCNT ((volatile uint32_t *)REG_DMA12_BWMCNT) /* DMA12 Bandwidth Monitor Count */
-#define pREG_DMA12_BWMCNT_CUR ((volatile uint32_t *)REG_DMA12_BWMCNT_CUR) /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA13
- ========================================================================= */
-#define pREG_DMA13_DSCPTR_NXT ((void * volatile *)REG_DMA13_DSCPTR_NXT) /* DMA13 Pointer to Next Initial Descriptor */
-#define pREG_DMA13_ADDRSTART ((void * volatile *)REG_DMA13_ADDRSTART) /* DMA13 Start Address of Current Buffer */
-#define pREG_DMA13_CFG ((volatile uint32_t *)REG_DMA13_CFG) /* DMA13 Configuration Register */
-#define pREG_DMA13_XCNT ((volatile uint32_t *)REG_DMA13_XCNT) /* DMA13 Inner Loop Count Start Value */
-#define pREG_DMA13_XMOD ((volatile int32_t *)REG_DMA13_XMOD) /* DMA13 Inner Loop Address Increment */
-#define pREG_DMA13_YCNT ((volatile uint32_t *)REG_DMA13_YCNT) /* DMA13 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA13_YMOD ((volatile int32_t *)REG_DMA13_YMOD) /* DMA13 Outer Loop Address Increment (2D only) */
-#define pREG_DMA13_DSCPTR_CUR ((void * volatile *)REG_DMA13_DSCPTR_CUR) /* DMA13 Current Descriptor Pointer */
-#define pREG_DMA13_DSCPTR_PRV ((void * volatile *)REG_DMA13_DSCPTR_PRV) /* DMA13 Previous Initial Descriptor Pointer */
-#define pREG_DMA13_ADDR_CUR ((void * volatile *)REG_DMA13_ADDR_CUR) /* DMA13 Current Address */
-#define pREG_DMA13_STAT ((volatile uint32_t *)REG_DMA13_STAT) /* DMA13 Status Register */
-#define pREG_DMA13_XCNT_CUR ((volatile uint32_t *)REG_DMA13_XCNT_CUR) /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA13_YCNT_CUR ((volatile uint32_t *)REG_DMA13_YCNT_CUR) /* DMA13 Current Row Count (2D only) */
-#define pREG_DMA13_BWLCNT ((volatile uint32_t *)REG_DMA13_BWLCNT) /* DMA13 Bandwidth Limit Count */
-#define pREG_DMA13_BWLCNT_CUR ((volatile uint32_t *)REG_DMA13_BWLCNT_CUR) /* DMA13 Bandwidth Limit Count Current */
-#define pREG_DMA13_BWMCNT ((volatile uint32_t *)REG_DMA13_BWMCNT) /* DMA13 Bandwidth Monitor Count */
-#define pREG_DMA13_BWMCNT_CUR ((volatile uint32_t *)REG_DMA13_BWMCNT_CUR) /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA14
- ========================================================================= */
-#define pREG_DMA14_DSCPTR_NXT ((void * volatile *)REG_DMA14_DSCPTR_NXT) /* DMA14 Pointer to Next Initial Descriptor */
-#define pREG_DMA14_ADDRSTART ((void * volatile *)REG_DMA14_ADDRSTART) /* DMA14 Start Address of Current Buffer */
-#define pREG_DMA14_CFG ((volatile uint32_t *)REG_DMA14_CFG) /* DMA14 Configuration Register */
-#define pREG_DMA14_XCNT ((volatile uint32_t *)REG_DMA14_XCNT) /* DMA14 Inner Loop Count Start Value */
-#define pREG_DMA14_XMOD ((volatile int32_t *)REG_DMA14_XMOD) /* DMA14 Inner Loop Address Increment */
-#define pREG_DMA14_YCNT ((volatile uint32_t *)REG_DMA14_YCNT) /* DMA14 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA14_YMOD ((volatile int32_t *)REG_DMA14_YMOD) /* DMA14 Outer Loop Address Increment (2D only) */
-#define pREG_DMA14_DSCPTR_CUR ((void * volatile *)REG_DMA14_DSCPTR_CUR) /* DMA14 Current Descriptor Pointer */
-#define pREG_DMA14_DSCPTR_PRV ((void * volatile *)REG_DMA14_DSCPTR_PRV) /* DMA14 Previous Initial Descriptor Pointer */
-#define pREG_DMA14_ADDR_CUR ((void * volatile *)REG_DMA14_ADDR_CUR) /* DMA14 Current Address */
-#define pREG_DMA14_STAT ((volatile uint32_t *)REG_DMA14_STAT) /* DMA14 Status Register */
-#define pREG_DMA14_XCNT_CUR ((volatile uint32_t *)REG_DMA14_XCNT_CUR) /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA14_YCNT_CUR ((volatile uint32_t *)REG_DMA14_YCNT_CUR) /* DMA14 Current Row Count (2D only) */
-#define pREG_DMA14_BWLCNT ((volatile uint32_t *)REG_DMA14_BWLCNT) /* DMA14 Bandwidth Limit Count */
-#define pREG_DMA14_BWLCNT_CUR ((volatile uint32_t *)REG_DMA14_BWLCNT_CUR) /* DMA14 Bandwidth Limit Count Current */
-#define pREG_DMA14_BWMCNT ((volatile uint32_t *)REG_DMA14_BWMCNT) /* DMA14 Bandwidth Monitor Count */
-#define pREG_DMA14_BWMCNT_CUR ((volatile uint32_t *)REG_DMA14_BWMCNT_CUR) /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA15
- ========================================================================= */
-#define pREG_DMA15_DSCPTR_NXT ((void * volatile *)REG_DMA15_DSCPTR_NXT) /* DMA15 Pointer to Next Initial Descriptor */
-#define pREG_DMA15_ADDRSTART ((void * volatile *)REG_DMA15_ADDRSTART) /* DMA15 Start Address of Current Buffer */
-#define pREG_DMA15_CFG ((volatile uint32_t *)REG_DMA15_CFG) /* DMA15 Configuration Register */
-#define pREG_DMA15_XCNT ((volatile uint32_t *)REG_DMA15_XCNT) /* DMA15 Inner Loop Count Start Value */
-#define pREG_DMA15_XMOD ((volatile int32_t *)REG_DMA15_XMOD) /* DMA15 Inner Loop Address Increment */
-#define pREG_DMA15_YCNT ((volatile uint32_t *)REG_DMA15_YCNT) /* DMA15 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA15_YMOD ((volatile int32_t *)REG_DMA15_YMOD) /* DMA15 Outer Loop Address Increment (2D only) */
-#define pREG_DMA15_DSCPTR_CUR ((void * volatile *)REG_DMA15_DSCPTR_CUR) /* DMA15 Current Descriptor Pointer */
-#define pREG_DMA15_DSCPTR_PRV ((void * volatile *)REG_DMA15_DSCPTR_PRV) /* DMA15 Previous Initial Descriptor Pointer */
-#define pREG_DMA15_ADDR_CUR ((void * volatile *)REG_DMA15_ADDR_CUR) /* DMA15 Current Address */
-#define pREG_DMA15_STAT ((volatile uint32_t *)REG_DMA15_STAT) /* DMA15 Status Register */
-#define pREG_DMA15_XCNT_CUR ((volatile uint32_t *)REG_DMA15_XCNT_CUR) /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA15_YCNT_CUR ((volatile uint32_t *)REG_DMA15_YCNT_CUR) /* DMA15 Current Row Count (2D only) */
-#define pREG_DMA15_BWLCNT ((volatile uint32_t *)REG_DMA15_BWLCNT) /* DMA15 Bandwidth Limit Count */
-#define pREG_DMA15_BWLCNT_CUR ((volatile uint32_t *)REG_DMA15_BWLCNT_CUR) /* DMA15 Bandwidth Limit Count Current */
-#define pREG_DMA15_BWMCNT ((volatile uint32_t *)REG_DMA15_BWMCNT) /* DMA15 Bandwidth Monitor Count */
-#define pREG_DMA15_BWMCNT_CUR ((volatile uint32_t *)REG_DMA15_BWMCNT_CUR) /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA16
- ========================================================================= */
-#define pREG_DMA16_DSCPTR_NXT ((void * volatile *)REG_DMA16_DSCPTR_NXT) /* DMA16 Pointer to Next Initial Descriptor */
-#define pREG_DMA16_ADDRSTART ((void * volatile *)REG_DMA16_ADDRSTART) /* DMA16 Start Address of Current Buffer */
-#define pREG_DMA16_CFG ((volatile uint32_t *)REG_DMA16_CFG) /* DMA16 Configuration Register */
-#define pREG_DMA16_XCNT ((volatile uint32_t *)REG_DMA16_XCNT) /* DMA16 Inner Loop Count Start Value */
-#define pREG_DMA16_XMOD ((volatile int32_t *)REG_DMA16_XMOD) /* DMA16 Inner Loop Address Increment */
-#define pREG_DMA16_YCNT ((volatile uint32_t *)REG_DMA16_YCNT) /* DMA16 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA16_YMOD ((volatile int32_t *)REG_DMA16_YMOD) /* DMA16 Outer Loop Address Increment (2D only) */
-#define pREG_DMA16_DSCPTR_CUR ((void * volatile *)REG_DMA16_DSCPTR_CUR) /* DMA16 Current Descriptor Pointer */
-#define pREG_DMA16_DSCPTR_PRV ((void * volatile *)REG_DMA16_DSCPTR_PRV) /* DMA16 Previous Initial Descriptor Pointer */
-#define pREG_DMA16_ADDR_CUR ((void * volatile *)REG_DMA16_ADDR_CUR) /* DMA16 Current Address */
-#define pREG_DMA16_STAT ((volatile uint32_t *)REG_DMA16_STAT) /* DMA16 Status Register */
-#define pREG_DMA16_XCNT_CUR ((volatile uint32_t *)REG_DMA16_XCNT_CUR) /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA16_YCNT_CUR ((volatile uint32_t *)REG_DMA16_YCNT_CUR) /* DMA16 Current Row Count (2D only) */
-#define pREG_DMA16_BWLCNT ((volatile uint32_t *)REG_DMA16_BWLCNT) /* DMA16 Bandwidth Limit Count */
-#define pREG_DMA16_BWLCNT_CUR ((volatile uint32_t *)REG_DMA16_BWLCNT_CUR) /* DMA16 Bandwidth Limit Count Current */
-#define pREG_DMA16_BWMCNT ((volatile uint32_t *)REG_DMA16_BWMCNT) /* DMA16 Bandwidth Monitor Count */
-#define pREG_DMA16_BWMCNT_CUR ((volatile uint32_t *)REG_DMA16_BWMCNT_CUR) /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA17
- ========================================================================= */
-#define pREG_DMA17_DSCPTR_NXT ((void * volatile *)REG_DMA17_DSCPTR_NXT) /* DMA17 Pointer to Next Initial Descriptor */
-#define pREG_DMA17_ADDRSTART ((void * volatile *)REG_DMA17_ADDRSTART) /* DMA17 Start Address of Current Buffer */
-#define pREG_DMA17_CFG ((volatile uint32_t *)REG_DMA17_CFG) /* DMA17 Configuration Register */
-#define pREG_DMA17_XCNT ((volatile uint32_t *)REG_DMA17_XCNT) /* DMA17 Inner Loop Count Start Value */
-#define pREG_DMA17_XMOD ((volatile int32_t *)REG_DMA17_XMOD) /* DMA17 Inner Loop Address Increment */
-#define pREG_DMA17_YCNT ((volatile uint32_t *)REG_DMA17_YCNT) /* DMA17 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA17_YMOD ((volatile int32_t *)REG_DMA17_YMOD) /* DMA17 Outer Loop Address Increment (2D only) */
-#define pREG_DMA17_DSCPTR_CUR ((void * volatile *)REG_DMA17_DSCPTR_CUR) /* DMA17 Current Descriptor Pointer */
-#define pREG_DMA17_DSCPTR_PRV ((void * volatile *)REG_DMA17_DSCPTR_PRV) /* DMA17 Previous Initial Descriptor Pointer */
-#define pREG_DMA17_ADDR_CUR ((void * volatile *)REG_DMA17_ADDR_CUR) /* DMA17 Current Address */
-#define pREG_DMA17_STAT ((volatile uint32_t *)REG_DMA17_STAT) /* DMA17 Status Register */
-#define pREG_DMA17_XCNT_CUR ((volatile uint32_t *)REG_DMA17_XCNT_CUR) /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA17_YCNT_CUR ((volatile uint32_t *)REG_DMA17_YCNT_CUR) /* DMA17 Current Row Count (2D only) */
-#define pREG_DMA17_BWLCNT ((volatile uint32_t *)REG_DMA17_BWLCNT) /* DMA17 Bandwidth Limit Count */
-#define pREG_DMA17_BWLCNT_CUR ((volatile uint32_t *)REG_DMA17_BWLCNT_CUR) /* DMA17 Bandwidth Limit Count Current */
-#define pREG_DMA17_BWMCNT ((volatile uint32_t *)REG_DMA17_BWMCNT) /* DMA17 Bandwidth Monitor Count */
-#define pREG_DMA17_BWMCNT_CUR ((volatile uint32_t *)REG_DMA17_BWMCNT_CUR) /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA18
- ========================================================================= */
-#define pREG_DMA18_DSCPTR_NXT ((void * volatile *)REG_DMA18_DSCPTR_NXT) /* DMA18 Pointer to Next Initial Descriptor */
-#define pREG_DMA18_ADDRSTART ((void * volatile *)REG_DMA18_ADDRSTART) /* DMA18 Start Address of Current Buffer */
-#define pREG_DMA18_CFG ((volatile uint32_t *)REG_DMA18_CFG) /* DMA18 Configuration Register */
-#define pREG_DMA18_XCNT ((volatile uint32_t *)REG_DMA18_XCNT) /* DMA18 Inner Loop Count Start Value */
-#define pREG_DMA18_XMOD ((volatile int32_t *)REG_DMA18_XMOD) /* DMA18 Inner Loop Address Increment */
-#define pREG_DMA18_YCNT ((volatile uint32_t *)REG_DMA18_YCNT) /* DMA18 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA18_YMOD ((volatile int32_t *)REG_DMA18_YMOD) /* DMA18 Outer Loop Address Increment (2D only) */
-#define pREG_DMA18_DSCPTR_CUR ((void * volatile *)REG_DMA18_DSCPTR_CUR) /* DMA18 Current Descriptor Pointer */
-#define pREG_DMA18_DSCPTR_PRV ((void * volatile *)REG_DMA18_DSCPTR_PRV) /* DMA18 Previous Initial Descriptor Pointer */
-#define pREG_DMA18_ADDR_CUR ((void * volatile *)REG_DMA18_ADDR_CUR) /* DMA18 Current Address */
-#define pREG_DMA18_STAT ((volatile uint32_t *)REG_DMA18_STAT) /* DMA18 Status Register */
-#define pREG_DMA18_XCNT_CUR ((volatile uint32_t *)REG_DMA18_XCNT_CUR) /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA18_YCNT_CUR ((volatile uint32_t *)REG_DMA18_YCNT_CUR) /* DMA18 Current Row Count (2D only) */
-#define pREG_DMA18_BWLCNT ((volatile uint32_t *)REG_DMA18_BWLCNT) /* DMA18 Bandwidth Limit Count */
-#define pREG_DMA18_BWLCNT_CUR ((volatile uint32_t *)REG_DMA18_BWLCNT_CUR) /* DMA18 Bandwidth Limit Count Current */
-#define pREG_DMA18_BWMCNT ((volatile uint32_t *)REG_DMA18_BWMCNT) /* DMA18 Bandwidth Monitor Count */
-#define pREG_DMA18_BWMCNT_CUR ((volatile uint32_t *)REG_DMA18_BWMCNT_CUR) /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA19
- ========================================================================= */
-#define pREG_DMA19_DSCPTR_NXT ((void * volatile *)REG_DMA19_DSCPTR_NXT) /* DMA19 Pointer to Next Initial Descriptor */
-#define pREG_DMA19_ADDRSTART ((void * volatile *)REG_DMA19_ADDRSTART) /* DMA19 Start Address of Current Buffer */
-#define pREG_DMA19_CFG ((volatile uint32_t *)REG_DMA19_CFG) /* DMA19 Configuration Register */
-#define pREG_DMA19_XCNT ((volatile uint32_t *)REG_DMA19_XCNT) /* DMA19 Inner Loop Count Start Value */
-#define pREG_DMA19_XMOD ((volatile int32_t *)REG_DMA19_XMOD) /* DMA19 Inner Loop Address Increment */
-#define pREG_DMA19_YCNT ((volatile uint32_t *)REG_DMA19_YCNT) /* DMA19 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA19_YMOD ((volatile int32_t *)REG_DMA19_YMOD) /* DMA19 Outer Loop Address Increment (2D only) */
-#define pREG_DMA19_DSCPTR_CUR ((void * volatile *)REG_DMA19_DSCPTR_CUR) /* DMA19 Current Descriptor Pointer */
-#define pREG_DMA19_DSCPTR_PRV ((void * volatile *)REG_DMA19_DSCPTR_PRV) /* DMA19 Previous Initial Descriptor Pointer */
-#define pREG_DMA19_ADDR_CUR ((void * volatile *)REG_DMA19_ADDR_CUR) /* DMA19 Current Address */
-#define pREG_DMA19_STAT ((volatile uint32_t *)REG_DMA19_STAT) /* DMA19 Status Register */
-#define pREG_DMA19_XCNT_CUR ((volatile uint32_t *)REG_DMA19_XCNT_CUR) /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA19_YCNT_CUR ((volatile uint32_t *)REG_DMA19_YCNT_CUR) /* DMA19 Current Row Count (2D only) */
-#define pREG_DMA19_BWLCNT ((volatile uint32_t *)REG_DMA19_BWLCNT) /* DMA19 Bandwidth Limit Count */
-#define pREG_DMA19_BWLCNT_CUR ((volatile uint32_t *)REG_DMA19_BWLCNT_CUR) /* DMA19 Bandwidth Limit Count Current */
-#define pREG_DMA19_BWMCNT ((volatile uint32_t *)REG_DMA19_BWMCNT) /* DMA19 Bandwidth Monitor Count */
-#define pREG_DMA19_BWMCNT_CUR ((volatile uint32_t *)REG_DMA19_BWMCNT_CUR) /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA20
- ========================================================================= */
-#define pREG_DMA20_DSCPTR_NXT ((void * volatile *)REG_DMA20_DSCPTR_NXT) /* DMA20 Pointer to Next Initial Descriptor */
-#define pREG_DMA20_ADDRSTART ((void * volatile *)REG_DMA20_ADDRSTART) /* DMA20 Start Address of Current Buffer */
-#define pREG_DMA20_CFG ((volatile uint32_t *)REG_DMA20_CFG) /* DMA20 Configuration Register */
-#define pREG_DMA20_XCNT ((volatile uint32_t *)REG_DMA20_XCNT) /* DMA20 Inner Loop Count Start Value */
-#define pREG_DMA20_XMOD ((volatile int32_t *)REG_DMA20_XMOD) /* DMA20 Inner Loop Address Increment */
-#define pREG_DMA20_YCNT ((volatile uint32_t *)REG_DMA20_YCNT) /* DMA20 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA20_YMOD ((volatile int32_t *)REG_DMA20_YMOD) /* DMA20 Outer Loop Address Increment (2D only) */
-#define pREG_DMA20_DSCPTR_CUR ((void * volatile *)REG_DMA20_DSCPTR_CUR) /* DMA20 Current Descriptor Pointer */
-#define pREG_DMA20_DSCPTR_PRV ((void * volatile *)REG_DMA20_DSCPTR_PRV) /* DMA20 Previous Initial Descriptor Pointer */
-#define pREG_DMA20_ADDR_CUR ((void * volatile *)REG_DMA20_ADDR_CUR) /* DMA20 Current Address */
-#define pREG_DMA20_STAT ((volatile uint32_t *)REG_DMA20_STAT) /* DMA20 Status Register */
-#define pREG_DMA20_XCNT_CUR ((volatile uint32_t *)REG_DMA20_XCNT_CUR) /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA20_YCNT_CUR ((volatile uint32_t *)REG_DMA20_YCNT_CUR) /* DMA20 Current Row Count (2D only) */
-#define pREG_DMA20_BWLCNT ((volatile uint32_t *)REG_DMA20_BWLCNT) /* DMA20 Bandwidth Limit Count */
-#define pREG_DMA20_BWLCNT_CUR ((volatile uint32_t *)REG_DMA20_BWLCNT_CUR) /* DMA20 Bandwidth Limit Count Current */
-#define pREG_DMA20_BWMCNT ((volatile uint32_t *)REG_DMA20_BWMCNT) /* DMA20 Bandwidth Monitor Count */
-#define pREG_DMA20_BWMCNT_CUR ((volatile uint32_t *)REG_DMA20_BWMCNT_CUR) /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA21
- ========================================================================= */
-#define pREG_DMA21_DSCPTR_NXT ((void * volatile *)REG_DMA21_DSCPTR_NXT) /* DMA21 Pointer to Next Initial Descriptor */
-#define pREG_DMA21_ADDRSTART ((void * volatile *)REG_DMA21_ADDRSTART) /* DMA21 Start Address of Current Buffer */
-#define pREG_DMA21_CFG ((volatile uint32_t *)REG_DMA21_CFG) /* DMA21 Configuration Register */
-#define pREG_DMA21_XCNT ((volatile uint32_t *)REG_DMA21_XCNT) /* DMA21 Inner Loop Count Start Value */
-#define pREG_DMA21_XMOD ((volatile int32_t *)REG_DMA21_XMOD) /* DMA21 Inner Loop Address Increment */
-#define pREG_DMA21_YCNT ((volatile uint32_t *)REG_DMA21_YCNT) /* DMA21 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA21_YMOD ((volatile int32_t *)REG_DMA21_YMOD) /* DMA21 Outer Loop Address Increment (2D only) */
-#define pREG_DMA21_DSCPTR_CUR ((void * volatile *)REG_DMA21_DSCPTR_CUR) /* DMA21 Current Descriptor Pointer */
-#define pREG_DMA21_DSCPTR_PRV ((void * volatile *)REG_DMA21_DSCPTR_PRV) /* DMA21 Previous Initial Descriptor Pointer */
-#define pREG_DMA21_ADDR_CUR ((void * volatile *)REG_DMA21_ADDR_CUR) /* DMA21 Current Address */
-#define pREG_DMA21_STAT ((volatile uint32_t *)REG_DMA21_STAT) /* DMA21 Status Register */
-#define pREG_DMA21_XCNT_CUR ((volatile uint32_t *)REG_DMA21_XCNT_CUR) /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA21_YCNT_CUR ((volatile uint32_t *)REG_DMA21_YCNT_CUR) /* DMA21 Current Row Count (2D only) */
-#define pREG_DMA21_BWLCNT ((volatile uint32_t *)REG_DMA21_BWLCNT) /* DMA21 Bandwidth Limit Count */
-#define pREG_DMA21_BWLCNT_CUR ((volatile uint32_t *)REG_DMA21_BWLCNT_CUR) /* DMA21 Bandwidth Limit Count Current */
-#define pREG_DMA21_BWMCNT ((volatile uint32_t *)REG_DMA21_BWMCNT) /* DMA21 Bandwidth Monitor Count */
-#define pREG_DMA21_BWMCNT_CUR ((volatile uint32_t *)REG_DMA21_BWMCNT_CUR) /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA22
- ========================================================================= */
-#define pREG_DMA22_DSCPTR_NXT ((void * volatile *)REG_DMA22_DSCPTR_NXT) /* DMA22 Pointer to Next Initial Descriptor */
-#define pREG_DMA22_ADDRSTART ((void * volatile *)REG_DMA22_ADDRSTART) /* DMA22 Start Address of Current Buffer */
-#define pREG_DMA22_CFG ((volatile uint32_t *)REG_DMA22_CFG) /* DMA22 Configuration Register */
-#define pREG_DMA22_XCNT ((volatile uint32_t *)REG_DMA22_XCNT) /* DMA22 Inner Loop Count Start Value */
-#define pREG_DMA22_XMOD ((volatile int32_t *)REG_DMA22_XMOD) /* DMA22 Inner Loop Address Increment */
-#define pREG_DMA22_YCNT ((volatile uint32_t *)REG_DMA22_YCNT) /* DMA22 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA22_YMOD ((volatile int32_t *)REG_DMA22_YMOD) /* DMA22 Outer Loop Address Increment (2D only) */
-#define pREG_DMA22_DSCPTR_CUR ((void * volatile *)REG_DMA22_DSCPTR_CUR) /* DMA22 Current Descriptor Pointer */
-#define pREG_DMA22_DSCPTR_PRV ((void * volatile *)REG_DMA22_DSCPTR_PRV) /* DMA22 Previous Initial Descriptor Pointer */
-#define pREG_DMA22_ADDR_CUR ((void * volatile *)REG_DMA22_ADDR_CUR) /* DMA22 Current Address */
-#define pREG_DMA22_STAT ((volatile uint32_t *)REG_DMA22_STAT) /* DMA22 Status Register */
-#define pREG_DMA22_XCNT_CUR ((volatile uint32_t *)REG_DMA22_XCNT_CUR) /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA22_YCNT_CUR ((volatile uint32_t *)REG_DMA22_YCNT_CUR) /* DMA22 Current Row Count (2D only) */
-#define pREG_DMA22_BWLCNT ((volatile uint32_t *)REG_DMA22_BWLCNT) /* DMA22 Bandwidth Limit Count */
-#define pREG_DMA22_BWLCNT_CUR ((volatile uint32_t *)REG_DMA22_BWLCNT_CUR) /* DMA22 Bandwidth Limit Count Current */
-#define pREG_DMA22_BWMCNT ((volatile uint32_t *)REG_DMA22_BWMCNT) /* DMA22 Bandwidth Monitor Count */
-#define pREG_DMA22_BWMCNT_CUR ((volatile uint32_t *)REG_DMA22_BWMCNT_CUR) /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA23
- ========================================================================= */
-#define pREG_DMA23_DSCPTR_NXT ((void * volatile *)REG_DMA23_DSCPTR_NXT) /* DMA23 Pointer to Next Initial Descriptor */
-#define pREG_DMA23_ADDRSTART ((void * volatile *)REG_DMA23_ADDRSTART) /* DMA23 Start Address of Current Buffer */
-#define pREG_DMA23_CFG ((volatile uint32_t *)REG_DMA23_CFG) /* DMA23 Configuration Register */
-#define pREG_DMA23_XCNT ((volatile uint32_t *)REG_DMA23_XCNT) /* DMA23 Inner Loop Count Start Value */
-#define pREG_DMA23_XMOD ((volatile int32_t *)REG_DMA23_XMOD) /* DMA23 Inner Loop Address Increment */
-#define pREG_DMA23_YCNT ((volatile uint32_t *)REG_DMA23_YCNT) /* DMA23 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA23_YMOD ((volatile int32_t *)REG_DMA23_YMOD) /* DMA23 Outer Loop Address Increment (2D only) */
-#define pREG_DMA23_DSCPTR_CUR ((void * volatile *)REG_DMA23_DSCPTR_CUR) /* DMA23 Current Descriptor Pointer */
-#define pREG_DMA23_DSCPTR_PRV ((void * volatile *)REG_DMA23_DSCPTR_PRV) /* DMA23 Previous Initial Descriptor Pointer */
-#define pREG_DMA23_ADDR_CUR ((void * volatile *)REG_DMA23_ADDR_CUR) /* DMA23 Current Address */
-#define pREG_DMA23_STAT ((volatile uint32_t *)REG_DMA23_STAT) /* DMA23 Status Register */
-#define pREG_DMA23_XCNT_CUR ((volatile uint32_t *)REG_DMA23_XCNT_CUR) /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA23_YCNT_CUR ((volatile uint32_t *)REG_DMA23_YCNT_CUR) /* DMA23 Current Row Count (2D only) */
-#define pREG_DMA23_BWLCNT ((volatile uint32_t *)REG_DMA23_BWLCNT) /* DMA23 Bandwidth Limit Count */
-#define pREG_DMA23_BWLCNT_CUR ((volatile uint32_t *)REG_DMA23_BWLCNT_CUR) /* DMA23 Bandwidth Limit Count Current */
-#define pREG_DMA23_BWMCNT ((volatile uint32_t *)REG_DMA23_BWMCNT) /* DMA23 Bandwidth Monitor Count */
-#define pREG_DMA23_BWMCNT_CUR ((volatile uint32_t *)REG_DMA23_BWMCNT_CUR) /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA24
- ========================================================================= */
-#define pREG_DMA24_DSCPTR_NXT ((void * volatile *)REG_DMA24_DSCPTR_NXT) /* DMA24 Pointer to Next Initial Descriptor */
-#define pREG_DMA24_ADDRSTART ((void * volatile *)REG_DMA24_ADDRSTART) /* DMA24 Start Address of Current Buffer */
-#define pREG_DMA24_CFG ((volatile uint32_t *)REG_DMA24_CFG) /* DMA24 Configuration Register */
-#define pREG_DMA24_XCNT ((volatile uint32_t *)REG_DMA24_XCNT) /* DMA24 Inner Loop Count Start Value */
-#define pREG_DMA24_XMOD ((volatile int32_t *)REG_DMA24_XMOD) /* DMA24 Inner Loop Address Increment */
-#define pREG_DMA24_YCNT ((volatile uint32_t *)REG_DMA24_YCNT) /* DMA24 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA24_YMOD ((volatile int32_t *)REG_DMA24_YMOD) /* DMA24 Outer Loop Address Increment (2D only) */
-#define pREG_DMA24_DSCPTR_CUR ((void * volatile *)REG_DMA24_DSCPTR_CUR) /* DMA24 Current Descriptor Pointer */
-#define pREG_DMA24_DSCPTR_PRV ((void * volatile *)REG_DMA24_DSCPTR_PRV) /* DMA24 Previous Initial Descriptor Pointer */
-#define pREG_DMA24_ADDR_CUR ((void * volatile *)REG_DMA24_ADDR_CUR) /* DMA24 Current Address */
-#define pREG_DMA24_STAT ((volatile uint32_t *)REG_DMA24_STAT) /* DMA24 Status Register */
-#define pREG_DMA24_XCNT_CUR ((volatile uint32_t *)REG_DMA24_XCNT_CUR) /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA24_YCNT_CUR ((volatile uint32_t *)REG_DMA24_YCNT_CUR) /* DMA24 Current Row Count (2D only) */
-#define pREG_DMA24_BWLCNT ((volatile uint32_t *)REG_DMA24_BWLCNT) /* DMA24 Bandwidth Limit Count */
-#define pREG_DMA24_BWLCNT_CUR ((volatile uint32_t *)REG_DMA24_BWLCNT_CUR) /* DMA24 Bandwidth Limit Count Current */
-#define pREG_DMA24_BWMCNT ((volatile uint32_t *)REG_DMA24_BWMCNT) /* DMA24 Bandwidth Monitor Count */
-#define pREG_DMA24_BWMCNT_CUR ((volatile uint32_t *)REG_DMA24_BWMCNT_CUR) /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA25
- ========================================================================= */
-#define pREG_DMA25_DSCPTR_NXT ((void * volatile *)REG_DMA25_DSCPTR_NXT) /* DMA25 Pointer to Next Initial Descriptor */
-#define pREG_DMA25_ADDRSTART ((void * volatile *)REG_DMA25_ADDRSTART) /* DMA25 Start Address of Current Buffer */
-#define pREG_DMA25_CFG ((volatile uint32_t *)REG_DMA25_CFG) /* DMA25 Configuration Register */
-#define pREG_DMA25_XCNT ((volatile uint32_t *)REG_DMA25_XCNT) /* DMA25 Inner Loop Count Start Value */
-#define pREG_DMA25_XMOD ((volatile int32_t *)REG_DMA25_XMOD) /* DMA25 Inner Loop Address Increment */
-#define pREG_DMA25_YCNT ((volatile uint32_t *)REG_DMA25_YCNT) /* DMA25 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA25_YMOD ((volatile int32_t *)REG_DMA25_YMOD) /* DMA25 Outer Loop Address Increment (2D only) */
-#define pREG_DMA25_DSCPTR_CUR ((void * volatile *)REG_DMA25_DSCPTR_CUR) /* DMA25 Current Descriptor Pointer */
-#define pREG_DMA25_DSCPTR_PRV ((void * volatile *)REG_DMA25_DSCPTR_PRV) /* DMA25 Previous Initial Descriptor Pointer */
-#define pREG_DMA25_ADDR_CUR ((void * volatile *)REG_DMA25_ADDR_CUR) /* DMA25 Current Address */
-#define pREG_DMA25_STAT ((volatile uint32_t *)REG_DMA25_STAT) /* DMA25 Status Register */
-#define pREG_DMA25_XCNT_CUR ((volatile uint32_t *)REG_DMA25_XCNT_CUR) /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA25_YCNT_CUR ((volatile uint32_t *)REG_DMA25_YCNT_CUR) /* DMA25 Current Row Count (2D only) */
-#define pREG_DMA25_BWLCNT ((volatile uint32_t *)REG_DMA25_BWLCNT) /* DMA25 Bandwidth Limit Count */
-#define pREG_DMA25_BWLCNT_CUR ((volatile uint32_t *)REG_DMA25_BWLCNT_CUR) /* DMA25 Bandwidth Limit Count Current */
-#define pREG_DMA25_BWMCNT ((volatile uint32_t *)REG_DMA25_BWMCNT) /* DMA25 Bandwidth Monitor Count */
-#define pREG_DMA25_BWMCNT_CUR ((volatile uint32_t *)REG_DMA25_BWMCNT_CUR) /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA26
- ========================================================================= */
-#define pREG_DMA26_DSCPTR_NXT ((void * volatile *)REG_DMA26_DSCPTR_NXT) /* DMA26 Pointer to Next Initial Descriptor */
-#define pREG_DMA26_ADDRSTART ((void * volatile *)REG_DMA26_ADDRSTART) /* DMA26 Start Address of Current Buffer */
-#define pREG_DMA26_CFG ((volatile uint32_t *)REG_DMA26_CFG) /* DMA26 Configuration Register */
-#define pREG_DMA26_XCNT ((volatile uint32_t *)REG_DMA26_XCNT) /* DMA26 Inner Loop Count Start Value */
-#define pREG_DMA26_XMOD ((volatile int32_t *)REG_DMA26_XMOD) /* DMA26 Inner Loop Address Increment */
-#define pREG_DMA26_YCNT ((volatile uint32_t *)REG_DMA26_YCNT) /* DMA26 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA26_YMOD ((volatile int32_t *)REG_DMA26_YMOD) /* DMA26 Outer Loop Address Increment (2D only) */
-#define pREG_DMA26_DSCPTR_CUR ((void * volatile *)REG_DMA26_DSCPTR_CUR) /* DMA26 Current Descriptor Pointer */
-#define pREG_DMA26_DSCPTR_PRV ((void * volatile *)REG_DMA26_DSCPTR_PRV) /* DMA26 Previous Initial Descriptor Pointer */
-#define pREG_DMA26_ADDR_CUR ((void * volatile *)REG_DMA26_ADDR_CUR) /* DMA26 Current Address */
-#define pREG_DMA26_STAT ((volatile uint32_t *)REG_DMA26_STAT) /* DMA26 Status Register */
-#define pREG_DMA26_XCNT_CUR ((volatile uint32_t *)REG_DMA26_XCNT_CUR) /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA26_YCNT_CUR ((volatile uint32_t *)REG_DMA26_YCNT_CUR) /* DMA26 Current Row Count (2D only) */
-#define pREG_DMA26_BWLCNT ((volatile uint32_t *)REG_DMA26_BWLCNT) /* DMA26 Bandwidth Limit Count */
-#define pREG_DMA26_BWLCNT_CUR ((volatile uint32_t *)REG_DMA26_BWLCNT_CUR) /* DMA26 Bandwidth Limit Count Current */
-#define pREG_DMA26_BWMCNT ((volatile uint32_t *)REG_DMA26_BWMCNT) /* DMA26 Bandwidth Monitor Count */
-#define pREG_DMA26_BWMCNT_CUR ((volatile uint32_t *)REG_DMA26_BWMCNT_CUR) /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA27
- ========================================================================= */
-#define pREG_DMA27_DSCPTR_NXT ((void * volatile *)REG_DMA27_DSCPTR_NXT) /* DMA27 Pointer to Next Initial Descriptor */
-#define pREG_DMA27_ADDRSTART ((void * volatile *)REG_DMA27_ADDRSTART) /* DMA27 Start Address of Current Buffer */
-#define pREG_DMA27_CFG ((volatile uint32_t *)REG_DMA27_CFG) /* DMA27 Configuration Register */
-#define pREG_DMA27_XCNT ((volatile uint32_t *)REG_DMA27_XCNT) /* DMA27 Inner Loop Count Start Value */
-#define pREG_DMA27_XMOD ((volatile int32_t *)REG_DMA27_XMOD) /* DMA27 Inner Loop Address Increment */
-#define pREG_DMA27_YCNT ((volatile uint32_t *)REG_DMA27_YCNT) /* DMA27 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA27_YMOD ((volatile int32_t *)REG_DMA27_YMOD) /* DMA27 Outer Loop Address Increment (2D only) */
-#define pREG_DMA27_DSCPTR_CUR ((void * volatile *)REG_DMA27_DSCPTR_CUR) /* DMA27 Current Descriptor Pointer */
-#define pREG_DMA27_DSCPTR_PRV ((void * volatile *)REG_DMA27_DSCPTR_PRV) /* DMA27 Previous Initial Descriptor Pointer */
-#define pREG_DMA27_ADDR_CUR ((void * volatile *)REG_DMA27_ADDR_CUR) /* DMA27 Current Address */
-#define pREG_DMA27_STAT ((volatile uint32_t *)REG_DMA27_STAT) /* DMA27 Status Register */
-#define pREG_DMA27_XCNT_CUR ((volatile uint32_t *)REG_DMA27_XCNT_CUR) /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA27_YCNT_CUR ((volatile uint32_t *)REG_DMA27_YCNT_CUR) /* DMA27 Current Row Count (2D only) */
-#define pREG_DMA27_BWLCNT ((volatile uint32_t *)REG_DMA27_BWLCNT) /* DMA27 Bandwidth Limit Count */
-#define pREG_DMA27_BWLCNT_CUR ((volatile uint32_t *)REG_DMA27_BWLCNT_CUR) /* DMA27 Bandwidth Limit Count Current */
-#define pREG_DMA27_BWMCNT ((volatile uint32_t *)REG_DMA27_BWMCNT) /* DMA27 Bandwidth Monitor Count */
-#define pREG_DMA27_BWMCNT_CUR ((volatile uint32_t *)REG_DMA27_BWMCNT_CUR) /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA28
- ========================================================================= */
-#define pREG_DMA28_DSCPTR_NXT ((void * volatile *)REG_DMA28_DSCPTR_NXT) /* DMA28 Pointer to Next Initial Descriptor */
-#define pREG_DMA28_ADDRSTART ((void * volatile *)REG_DMA28_ADDRSTART) /* DMA28 Start Address of Current Buffer */
-#define pREG_DMA28_CFG ((volatile uint32_t *)REG_DMA28_CFG) /* DMA28 Configuration Register */
-#define pREG_DMA28_XCNT ((volatile uint32_t *)REG_DMA28_XCNT) /* DMA28 Inner Loop Count Start Value */
-#define pREG_DMA28_XMOD ((volatile int32_t *)REG_DMA28_XMOD) /* DMA28 Inner Loop Address Increment */
-#define pREG_DMA28_YCNT ((volatile uint32_t *)REG_DMA28_YCNT) /* DMA28 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA28_YMOD ((volatile int32_t *)REG_DMA28_YMOD) /* DMA28 Outer Loop Address Increment (2D only) */
-#define pREG_DMA28_DSCPTR_CUR ((void * volatile *)REG_DMA28_DSCPTR_CUR) /* DMA28 Current Descriptor Pointer */
-#define pREG_DMA28_DSCPTR_PRV ((void * volatile *)REG_DMA28_DSCPTR_PRV) /* DMA28 Previous Initial Descriptor Pointer */
-#define pREG_DMA28_ADDR_CUR ((void * volatile *)REG_DMA28_ADDR_CUR) /* DMA28 Current Address */
-#define pREG_DMA28_STAT ((volatile uint32_t *)REG_DMA28_STAT) /* DMA28 Status Register */
-#define pREG_DMA28_XCNT_CUR ((volatile uint32_t *)REG_DMA28_XCNT_CUR) /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA28_YCNT_CUR ((volatile uint32_t *)REG_DMA28_YCNT_CUR) /* DMA28 Current Row Count (2D only) */
-#define pREG_DMA28_BWLCNT ((volatile uint32_t *)REG_DMA28_BWLCNT) /* DMA28 Bandwidth Limit Count */
-#define pREG_DMA28_BWLCNT_CUR ((volatile uint32_t *)REG_DMA28_BWLCNT_CUR) /* DMA28 Bandwidth Limit Count Current */
-#define pREG_DMA28_BWMCNT ((volatile uint32_t *)REG_DMA28_BWMCNT) /* DMA28 Bandwidth Monitor Count */
-#define pREG_DMA28_BWMCNT_CUR ((volatile uint32_t *)REG_DMA28_BWMCNT_CUR) /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA29
- ========================================================================= */
-#define pREG_DMA29_DSCPTR_NXT ((void * volatile *)REG_DMA29_DSCPTR_NXT) /* DMA29 Pointer to Next Initial Descriptor */
-#define pREG_DMA29_ADDRSTART ((void * volatile *)REG_DMA29_ADDRSTART) /* DMA29 Start Address of Current Buffer */
-#define pREG_DMA29_CFG ((volatile uint32_t *)REG_DMA29_CFG) /* DMA29 Configuration Register */
-#define pREG_DMA29_XCNT ((volatile uint32_t *)REG_DMA29_XCNT) /* DMA29 Inner Loop Count Start Value */
-#define pREG_DMA29_XMOD ((volatile int32_t *)REG_DMA29_XMOD) /* DMA29 Inner Loop Address Increment */
-#define pREG_DMA29_YCNT ((volatile uint32_t *)REG_DMA29_YCNT) /* DMA29 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA29_YMOD ((volatile int32_t *)REG_DMA29_YMOD) /* DMA29 Outer Loop Address Increment (2D only) */
-#define pREG_DMA29_DSCPTR_CUR ((void * volatile *)REG_DMA29_DSCPTR_CUR) /* DMA29 Current Descriptor Pointer */
-#define pREG_DMA29_DSCPTR_PRV ((void * volatile *)REG_DMA29_DSCPTR_PRV) /* DMA29 Previous Initial Descriptor Pointer */
-#define pREG_DMA29_ADDR_CUR ((void * volatile *)REG_DMA29_ADDR_CUR) /* DMA29 Current Address */
-#define pREG_DMA29_STAT ((volatile uint32_t *)REG_DMA29_STAT) /* DMA29 Status Register */
-#define pREG_DMA29_XCNT_CUR ((volatile uint32_t *)REG_DMA29_XCNT_CUR) /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA29_YCNT_CUR ((volatile uint32_t *)REG_DMA29_YCNT_CUR) /* DMA29 Current Row Count (2D only) */
-#define pREG_DMA29_BWLCNT ((volatile uint32_t *)REG_DMA29_BWLCNT) /* DMA29 Bandwidth Limit Count */
-#define pREG_DMA29_BWLCNT_CUR ((volatile uint32_t *)REG_DMA29_BWLCNT_CUR) /* DMA29 Bandwidth Limit Count Current */
-#define pREG_DMA29_BWMCNT ((volatile uint32_t *)REG_DMA29_BWMCNT) /* DMA29 Bandwidth Monitor Count */
-#define pREG_DMA29_BWMCNT_CUR ((volatile uint32_t *)REG_DMA29_BWMCNT_CUR) /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA30
- ========================================================================= */
-#define pREG_DMA30_DSCPTR_NXT ((void * volatile *)REG_DMA30_DSCPTR_NXT) /* DMA30 Pointer to Next Initial Descriptor */
-#define pREG_DMA30_ADDRSTART ((void * volatile *)REG_DMA30_ADDRSTART) /* DMA30 Start Address of Current Buffer */
-#define pREG_DMA30_CFG ((volatile uint32_t *)REG_DMA30_CFG) /* DMA30 Configuration Register */
-#define pREG_DMA30_XCNT ((volatile uint32_t *)REG_DMA30_XCNT) /* DMA30 Inner Loop Count Start Value */
-#define pREG_DMA30_XMOD ((volatile int32_t *)REG_DMA30_XMOD) /* DMA30 Inner Loop Address Increment */
-#define pREG_DMA30_YCNT ((volatile uint32_t *)REG_DMA30_YCNT) /* DMA30 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA30_YMOD ((volatile int32_t *)REG_DMA30_YMOD) /* DMA30 Outer Loop Address Increment (2D only) */
-#define pREG_DMA30_DSCPTR_CUR ((void * volatile *)REG_DMA30_DSCPTR_CUR) /* DMA30 Current Descriptor Pointer */
-#define pREG_DMA30_DSCPTR_PRV ((void * volatile *)REG_DMA30_DSCPTR_PRV) /* DMA30 Previous Initial Descriptor Pointer */
-#define pREG_DMA30_ADDR_CUR ((void * volatile *)REG_DMA30_ADDR_CUR) /* DMA30 Current Address */
-#define pREG_DMA30_STAT ((volatile uint32_t *)REG_DMA30_STAT) /* DMA30 Status Register */
-#define pREG_DMA30_XCNT_CUR ((volatile uint32_t *)REG_DMA30_XCNT_CUR) /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA30_YCNT_CUR ((volatile uint32_t *)REG_DMA30_YCNT_CUR) /* DMA30 Current Row Count (2D only) */
-#define pREG_DMA30_BWLCNT ((volatile uint32_t *)REG_DMA30_BWLCNT) /* DMA30 Bandwidth Limit Count */
-#define pREG_DMA30_BWLCNT_CUR ((volatile uint32_t *)REG_DMA30_BWLCNT_CUR) /* DMA30 Bandwidth Limit Count Current */
-#define pREG_DMA30_BWMCNT ((volatile uint32_t *)REG_DMA30_BWMCNT) /* DMA30 Bandwidth Monitor Count */
-#define pREG_DMA30_BWMCNT_CUR ((volatile uint32_t *)REG_DMA30_BWMCNT_CUR) /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA31
- ========================================================================= */
-#define pREG_DMA31_DSCPTR_NXT ((void * volatile *)REG_DMA31_DSCPTR_NXT) /* DMA31 Pointer to Next Initial Descriptor */
-#define pREG_DMA31_ADDRSTART ((void * volatile *)REG_DMA31_ADDRSTART) /* DMA31 Start Address of Current Buffer */
-#define pREG_DMA31_CFG ((volatile uint32_t *)REG_DMA31_CFG) /* DMA31 Configuration Register */
-#define pREG_DMA31_XCNT ((volatile uint32_t *)REG_DMA31_XCNT) /* DMA31 Inner Loop Count Start Value */
-#define pREG_DMA31_XMOD ((volatile int32_t *)REG_DMA31_XMOD) /* DMA31 Inner Loop Address Increment */
-#define pREG_DMA31_YCNT ((volatile uint32_t *)REG_DMA31_YCNT) /* DMA31 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA31_YMOD ((volatile int32_t *)REG_DMA31_YMOD) /* DMA31 Outer Loop Address Increment (2D only) */
-#define pREG_DMA31_DSCPTR_CUR ((void * volatile *)REG_DMA31_DSCPTR_CUR) /* DMA31 Current Descriptor Pointer */
-#define pREG_DMA31_DSCPTR_PRV ((void * volatile *)REG_DMA31_DSCPTR_PRV) /* DMA31 Previous Initial Descriptor Pointer */
-#define pREG_DMA31_ADDR_CUR ((void * volatile *)REG_DMA31_ADDR_CUR) /* DMA31 Current Address */
-#define pREG_DMA31_STAT ((volatile uint32_t *)REG_DMA31_STAT) /* DMA31 Status Register */
-#define pREG_DMA31_XCNT_CUR ((volatile uint32_t *)REG_DMA31_XCNT_CUR) /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA31_YCNT_CUR ((volatile uint32_t *)REG_DMA31_YCNT_CUR) /* DMA31 Current Row Count (2D only) */
-#define pREG_DMA31_BWLCNT ((volatile uint32_t *)REG_DMA31_BWLCNT) /* DMA31 Bandwidth Limit Count */
-#define pREG_DMA31_BWLCNT_CUR ((volatile uint32_t *)REG_DMA31_BWLCNT_CUR) /* DMA31 Bandwidth Limit Count Current */
-#define pREG_DMA31_BWMCNT ((volatile uint32_t *)REG_DMA31_BWMCNT) /* DMA31 Bandwidth Monitor Count */
-#define pREG_DMA31_BWMCNT_CUR ((volatile uint32_t *)REG_DMA31_BWMCNT_CUR) /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA32
- ========================================================================= */
-#define pREG_DMA32_DSCPTR_NXT ((void * volatile *)REG_DMA32_DSCPTR_NXT) /* DMA32 Pointer to Next Initial Descriptor */
-#define pREG_DMA32_ADDRSTART ((void * volatile *)REG_DMA32_ADDRSTART) /* DMA32 Start Address of Current Buffer */
-#define pREG_DMA32_CFG ((volatile uint32_t *)REG_DMA32_CFG) /* DMA32 Configuration Register */
-#define pREG_DMA32_XCNT ((volatile uint32_t *)REG_DMA32_XCNT) /* DMA32 Inner Loop Count Start Value */
-#define pREG_DMA32_XMOD ((volatile int32_t *)REG_DMA32_XMOD) /* DMA32 Inner Loop Address Increment */
-#define pREG_DMA32_YCNT ((volatile uint32_t *)REG_DMA32_YCNT) /* DMA32 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA32_YMOD ((volatile int32_t *)REG_DMA32_YMOD) /* DMA32 Outer Loop Address Increment (2D only) */
-#define pREG_DMA32_DSCPTR_CUR ((void * volatile *)REG_DMA32_DSCPTR_CUR) /* DMA32 Current Descriptor Pointer */
-#define pREG_DMA32_DSCPTR_PRV ((void * volatile *)REG_DMA32_DSCPTR_PRV) /* DMA32 Previous Initial Descriptor Pointer */
-#define pREG_DMA32_ADDR_CUR ((void * volatile *)REG_DMA32_ADDR_CUR) /* DMA32 Current Address */
-#define pREG_DMA32_STAT ((volatile uint32_t *)REG_DMA32_STAT) /* DMA32 Status Register */
-#define pREG_DMA32_XCNT_CUR ((volatile uint32_t *)REG_DMA32_XCNT_CUR) /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA32_YCNT_CUR ((volatile uint32_t *)REG_DMA32_YCNT_CUR) /* DMA32 Current Row Count (2D only) */
-#define pREG_DMA32_BWLCNT ((volatile uint32_t *)REG_DMA32_BWLCNT) /* DMA32 Bandwidth Limit Count */
-#define pREG_DMA32_BWLCNT_CUR ((volatile uint32_t *)REG_DMA32_BWLCNT_CUR) /* DMA32 Bandwidth Limit Count Current */
-#define pREG_DMA32_BWMCNT ((volatile uint32_t *)REG_DMA32_BWMCNT) /* DMA32 Bandwidth Monitor Count */
-#define pREG_DMA32_BWMCNT_CUR ((volatile uint32_t *)REG_DMA32_BWMCNT_CUR) /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA33
- ========================================================================= */
-#define pREG_DMA33_DSCPTR_NXT ((void * volatile *)REG_DMA33_DSCPTR_NXT) /* DMA33 Pointer to Next Initial Descriptor */
-#define pREG_DMA33_ADDRSTART ((void * volatile *)REG_DMA33_ADDRSTART) /* DMA33 Start Address of Current Buffer */
-#define pREG_DMA33_CFG ((volatile uint32_t *)REG_DMA33_CFG) /* DMA33 Configuration Register */
-#define pREG_DMA33_XCNT ((volatile uint32_t *)REG_DMA33_XCNT) /* DMA33 Inner Loop Count Start Value */
-#define pREG_DMA33_XMOD ((volatile int32_t *)REG_DMA33_XMOD) /* DMA33 Inner Loop Address Increment */
-#define pREG_DMA33_YCNT ((volatile uint32_t *)REG_DMA33_YCNT) /* DMA33 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA33_YMOD ((volatile int32_t *)REG_DMA33_YMOD) /* DMA33 Outer Loop Address Increment (2D only) */
-#define pREG_DMA33_DSCPTR_CUR ((void * volatile *)REG_DMA33_DSCPTR_CUR) /* DMA33 Current Descriptor Pointer */
-#define pREG_DMA33_DSCPTR_PRV ((void * volatile *)REG_DMA33_DSCPTR_PRV) /* DMA33 Previous Initial Descriptor Pointer */
-#define pREG_DMA33_ADDR_CUR ((void * volatile *)REG_DMA33_ADDR_CUR) /* DMA33 Current Address */
-#define pREG_DMA33_STAT ((volatile uint32_t *)REG_DMA33_STAT) /* DMA33 Status Register */
-#define pREG_DMA33_XCNT_CUR ((volatile uint32_t *)REG_DMA33_XCNT_CUR) /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA33_YCNT_CUR ((volatile uint32_t *)REG_DMA33_YCNT_CUR) /* DMA33 Current Row Count (2D only) */
-#define pREG_DMA33_BWLCNT ((volatile uint32_t *)REG_DMA33_BWLCNT) /* DMA33 Bandwidth Limit Count */
-#define pREG_DMA33_BWLCNT_CUR ((volatile uint32_t *)REG_DMA33_BWLCNT_CUR) /* DMA33 Bandwidth Limit Count Current */
-#define pREG_DMA33_BWMCNT ((volatile uint32_t *)REG_DMA33_BWMCNT) /* DMA33 Bandwidth Monitor Count */
-#define pREG_DMA33_BWMCNT_CUR ((volatile uint32_t *)REG_DMA33_BWMCNT_CUR) /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA34
- ========================================================================= */
-#define pREG_DMA34_DSCPTR_NXT ((void * volatile *)REG_DMA34_DSCPTR_NXT) /* DMA34 Pointer to Next Initial Descriptor */
-#define pREG_DMA34_ADDRSTART ((void * volatile *)REG_DMA34_ADDRSTART) /* DMA34 Start Address of Current Buffer */
-#define pREG_DMA34_CFG ((volatile uint32_t *)REG_DMA34_CFG) /* DMA34 Configuration Register */
-#define pREG_DMA34_XCNT ((volatile uint32_t *)REG_DMA34_XCNT) /* DMA34 Inner Loop Count Start Value */
-#define pREG_DMA34_XMOD ((volatile int32_t *)REG_DMA34_XMOD) /* DMA34 Inner Loop Address Increment */
-#define pREG_DMA34_YCNT ((volatile uint32_t *)REG_DMA34_YCNT) /* DMA34 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA34_YMOD ((volatile int32_t *)REG_DMA34_YMOD) /* DMA34 Outer Loop Address Increment (2D only) */
-#define pREG_DMA34_DSCPTR_CUR ((void * volatile *)REG_DMA34_DSCPTR_CUR) /* DMA34 Current Descriptor Pointer */
-#define pREG_DMA34_DSCPTR_PRV ((void * volatile *)REG_DMA34_DSCPTR_PRV) /* DMA34 Previous Initial Descriptor Pointer */
-#define pREG_DMA34_ADDR_CUR ((void * volatile *)REG_DMA34_ADDR_CUR) /* DMA34 Current Address */
-#define pREG_DMA34_STAT ((volatile uint32_t *)REG_DMA34_STAT) /* DMA34 Status Register */
-#define pREG_DMA34_XCNT_CUR ((volatile uint32_t *)REG_DMA34_XCNT_CUR) /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA34_YCNT_CUR ((volatile uint32_t *)REG_DMA34_YCNT_CUR) /* DMA34 Current Row Count (2D only) */
-#define pREG_DMA34_BWLCNT ((volatile uint32_t *)REG_DMA34_BWLCNT) /* DMA34 Bandwidth Limit Count */
-#define pREG_DMA34_BWLCNT_CUR ((volatile uint32_t *)REG_DMA34_BWLCNT_CUR) /* DMA34 Bandwidth Limit Count Current */
-#define pREG_DMA34_BWMCNT ((volatile uint32_t *)REG_DMA34_BWMCNT) /* DMA34 Bandwidth Monitor Count */
-#define pREG_DMA34_BWMCNT_CUR ((volatile uint32_t *)REG_DMA34_BWMCNT_CUR) /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA35
- ========================================================================= */
-#define pREG_DMA35_DSCPTR_NXT ((void * volatile *)REG_DMA35_DSCPTR_NXT) /* DMA35 Pointer to Next Initial Descriptor */
-#define pREG_DMA35_ADDRSTART ((void * volatile *)REG_DMA35_ADDRSTART) /* DMA35 Start Address of Current Buffer */
-#define pREG_DMA35_CFG ((volatile uint32_t *)REG_DMA35_CFG) /* DMA35 Configuration Register */
-#define pREG_DMA35_XCNT ((volatile uint32_t *)REG_DMA35_XCNT) /* DMA35 Inner Loop Count Start Value */
-#define pREG_DMA35_XMOD ((volatile int32_t *)REG_DMA35_XMOD) /* DMA35 Inner Loop Address Increment */
-#define pREG_DMA35_YCNT ((volatile uint32_t *)REG_DMA35_YCNT) /* DMA35 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA35_YMOD ((volatile int32_t *)REG_DMA35_YMOD) /* DMA35 Outer Loop Address Increment (2D only) */
-#define pREG_DMA35_DSCPTR_CUR ((void * volatile *)REG_DMA35_DSCPTR_CUR) /* DMA35 Current Descriptor Pointer */
-#define pREG_DMA35_DSCPTR_PRV ((void * volatile *)REG_DMA35_DSCPTR_PRV) /* DMA35 Previous Initial Descriptor Pointer */
-#define pREG_DMA35_ADDR_CUR ((void * volatile *)REG_DMA35_ADDR_CUR) /* DMA35 Current Address */
-#define pREG_DMA35_STAT ((volatile uint32_t *)REG_DMA35_STAT) /* DMA35 Status Register */
-#define pREG_DMA35_XCNT_CUR ((volatile uint32_t *)REG_DMA35_XCNT_CUR) /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA35_YCNT_CUR ((volatile uint32_t *)REG_DMA35_YCNT_CUR) /* DMA35 Current Row Count (2D only) */
-#define pREG_DMA35_BWLCNT ((volatile uint32_t *)REG_DMA35_BWLCNT) /* DMA35 Bandwidth Limit Count */
-#define pREG_DMA35_BWLCNT_CUR ((volatile uint32_t *)REG_DMA35_BWLCNT_CUR) /* DMA35 Bandwidth Limit Count Current */
-#define pREG_DMA35_BWMCNT ((volatile uint32_t *)REG_DMA35_BWMCNT) /* DMA35 Bandwidth Monitor Count */
-#define pREG_DMA35_BWMCNT_CUR ((volatile uint32_t *)REG_DMA35_BWMCNT_CUR) /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA36
- ========================================================================= */
-#define pREG_DMA36_DSCPTR_NXT ((void * volatile *)REG_DMA36_DSCPTR_NXT) /* DMA36 Pointer to Next Initial Descriptor */
-#define pREG_DMA36_ADDRSTART ((void * volatile *)REG_DMA36_ADDRSTART) /* DMA36 Start Address of Current Buffer */
-#define pREG_DMA36_CFG ((volatile uint32_t *)REG_DMA36_CFG) /* DMA36 Configuration Register */
-#define pREG_DMA36_XCNT ((volatile uint32_t *)REG_DMA36_XCNT) /* DMA36 Inner Loop Count Start Value */
-#define pREG_DMA36_XMOD ((volatile int32_t *)REG_DMA36_XMOD) /* DMA36 Inner Loop Address Increment */
-#define pREG_DMA36_YCNT ((volatile uint32_t *)REG_DMA36_YCNT) /* DMA36 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA36_YMOD ((volatile int32_t *)REG_DMA36_YMOD) /* DMA36 Outer Loop Address Increment (2D only) */
-#define pREG_DMA36_DSCPTR_CUR ((void * volatile *)REG_DMA36_DSCPTR_CUR) /* DMA36 Current Descriptor Pointer */
-#define pREG_DMA36_DSCPTR_PRV ((void * volatile *)REG_DMA36_DSCPTR_PRV) /* DMA36 Previous Initial Descriptor Pointer */
-#define pREG_DMA36_ADDR_CUR ((void * volatile *)REG_DMA36_ADDR_CUR) /* DMA36 Current Address */
-#define pREG_DMA36_STAT ((volatile uint32_t *)REG_DMA36_STAT) /* DMA36 Status Register */
-#define pREG_DMA36_XCNT_CUR ((volatile uint32_t *)REG_DMA36_XCNT_CUR) /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA36_YCNT_CUR ((volatile uint32_t *)REG_DMA36_YCNT_CUR) /* DMA36 Current Row Count (2D only) */
-#define pREG_DMA36_BWLCNT ((volatile uint32_t *)REG_DMA36_BWLCNT) /* DMA36 Bandwidth Limit Count */
-#define pREG_DMA36_BWLCNT_CUR ((volatile uint32_t *)REG_DMA36_BWLCNT_CUR) /* DMA36 Bandwidth Limit Count Current */
-#define pREG_DMA36_BWMCNT ((volatile uint32_t *)REG_DMA36_BWMCNT) /* DMA36 Bandwidth Monitor Count */
-#define pREG_DMA36_BWMCNT_CUR ((volatile uint32_t *)REG_DMA36_BWMCNT_CUR) /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA37
- ========================================================================= */
-#define pREG_DMA37_DSCPTR_NXT ((void * volatile *)REG_DMA37_DSCPTR_NXT) /* DMA37 Pointer to Next Initial Descriptor */
-#define pREG_DMA37_ADDRSTART ((void * volatile *)REG_DMA37_ADDRSTART) /* DMA37 Start Address of Current Buffer */
-#define pREG_DMA37_CFG ((volatile uint32_t *)REG_DMA37_CFG) /* DMA37 Configuration Register */
-#define pREG_DMA37_XCNT ((volatile uint32_t *)REG_DMA37_XCNT) /* DMA37 Inner Loop Count Start Value */
-#define pREG_DMA37_XMOD ((volatile int32_t *)REG_DMA37_XMOD) /* DMA37 Inner Loop Address Increment */
-#define pREG_DMA37_YCNT ((volatile uint32_t *)REG_DMA37_YCNT) /* DMA37 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA37_YMOD ((volatile int32_t *)REG_DMA37_YMOD) /* DMA37 Outer Loop Address Increment (2D only) */
-#define pREG_DMA37_DSCPTR_CUR ((void * volatile *)REG_DMA37_DSCPTR_CUR) /* DMA37 Current Descriptor Pointer */
-#define pREG_DMA37_DSCPTR_PRV ((void * volatile *)REG_DMA37_DSCPTR_PRV) /* DMA37 Previous Initial Descriptor Pointer */
-#define pREG_DMA37_ADDR_CUR ((void * volatile *)REG_DMA37_ADDR_CUR) /* DMA37 Current Address */
-#define pREG_DMA37_STAT ((volatile uint32_t *)REG_DMA37_STAT) /* DMA37 Status Register */
-#define pREG_DMA37_XCNT_CUR ((volatile uint32_t *)REG_DMA37_XCNT_CUR) /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA37_YCNT_CUR ((volatile uint32_t *)REG_DMA37_YCNT_CUR) /* DMA37 Current Row Count (2D only) */
-#define pREG_DMA37_BWLCNT ((volatile uint32_t *)REG_DMA37_BWLCNT) /* DMA37 Bandwidth Limit Count */
-#define pREG_DMA37_BWLCNT_CUR ((volatile uint32_t *)REG_DMA37_BWLCNT_CUR) /* DMA37 Bandwidth Limit Count Current */
-#define pREG_DMA37_BWMCNT ((volatile uint32_t *)REG_DMA37_BWMCNT) /* DMA37 Bandwidth Monitor Count */
-#define pREG_DMA37_BWMCNT_CUR ((volatile uint32_t *)REG_DMA37_BWMCNT_CUR) /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA38
- ========================================================================= */
-#define pREG_DMA38_DSCPTR_NXT ((void * volatile *)REG_DMA38_DSCPTR_NXT) /* DMA38 Pointer to Next Initial Descriptor */
-#define pREG_DMA38_ADDRSTART ((void * volatile *)REG_DMA38_ADDRSTART) /* DMA38 Start Address of Current Buffer */
-#define pREG_DMA38_CFG ((volatile uint32_t *)REG_DMA38_CFG) /* DMA38 Configuration Register */
-#define pREG_DMA38_XCNT ((volatile uint32_t *)REG_DMA38_XCNT) /* DMA38 Inner Loop Count Start Value */
-#define pREG_DMA38_XMOD ((volatile int32_t *)REG_DMA38_XMOD) /* DMA38 Inner Loop Address Increment */
-#define pREG_DMA38_YCNT ((volatile uint32_t *)REG_DMA38_YCNT) /* DMA38 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA38_YMOD ((volatile int32_t *)REG_DMA38_YMOD) /* DMA38 Outer Loop Address Increment (2D only) */
-#define pREG_DMA38_DSCPTR_CUR ((void * volatile *)REG_DMA38_DSCPTR_CUR) /* DMA38 Current Descriptor Pointer */
-#define pREG_DMA38_DSCPTR_PRV ((void * volatile *)REG_DMA38_DSCPTR_PRV) /* DMA38 Previous Initial Descriptor Pointer */
-#define pREG_DMA38_ADDR_CUR ((void * volatile *)REG_DMA38_ADDR_CUR) /* DMA38 Current Address */
-#define pREG_DMA38_STAT ((volatile uint32_t *)REG_DMA38_STAT) /* DMA38 Status Register */
-#define pREG_DMA38_XCNT_CUR ((volatile uint32_t *)REG_DMA38_XCNT_CUR) /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA38_YCNT_CUR ((volatile uint32_t *)REG_DMA38_YCNT_CUR) /* DMA38 Current Row Count (2D only) */
-#define pREG_DMA38_BWLCNT ((volatile uint32_t *)REG_DMA38_BWLCNT) /* DMA38 Bandwidth Limit Count */
-#define pREG_DMA38_BWLCNT_CUR ((volatile uint32_t *)REG_DMA38_BWLCNT_CUR) /* DMA38 Bandwidth Limit Count Current */
-#define pREG_DMA38_BWMCNT ((volatile uint32_t *)REG_DMA38_BWMCNT) /* DMA38 Bandwidth Monitor Count */
-#define pREG_DMA38_BWMCNT_CUR ((volatile uint32_t *)REG_DMA38_BWMCNT_CUR) /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA39
- ========================================================================= */
-#define pREG_DMA39_DSCPTR_NXT ((void * volatile *)REG_DMA39_DSCPTR_NXT) /* DMA39 Pointer to Next Initial Descriptor */
-#define pREG_DMA39_ADDRSTART ((void * volatile *)REG_DMA39_ADDRSTART) /* DMA39 Start Address of Current Buffer */
-#define pREG_DMA39_CFG ((volatile uint32_t *)REG_DMA39_CFG) /* DMA39 Configuration Register */
-#define pREG_DMA39_XCNT ((volatile uint32_t *)REG_DMA39_XCNT) /* DMA39 Inner Loop Count Start Value */
-#define pREG_DMA39_XMOD ((volatile int32_t *)REG_DMA39_XMOD) /* DMA39 Inner Loop Address Increment */
-#define pREG_DMA39_YCNT ((volatile uint32_t *)REG_DMA39_YCNT) /* DMA39 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA39_YMOD ((volatile int32_t *)REG_DMA39_YMOD) /* DMA39 Outer Loop Address Increment (2D only) */
-#define pREG_DMA39_DSCPTR_CUR ((void * volatile *)REG_DMA39_DSCPTR_CUR) /* DMA39 Current Descriptor Pointer */
-#define pREG_DMA39_DSCPTR_PRV ((void * volatile *)REG_DMA39_DSCPTR_PRV) /* DMA39 Previous Initial Descriptor Pointer */
-#define pREG_DMA39_ADDR_CUR ((void * volatile *)REG_DMA39_ADDR_CUR) /* DMA39 Current Address */
-#define pREG_DMA39_STAT ((volatile uint32_t *)REG_DMA39_STAT) /* DMA39 Status Register */
-#define pREG_DMA39_XCNT_CUR ((volatile uint32_t *)REG_DMA39_XCNT_CUR) /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA39_YCNT_CUR ((volatile uint32_t *)REG_DMA39_YCNT_CUR) /* DMA39 Current Row Count (2D only) */
-#define pREG_DMA39_BWLCNT ((volatile uint32_t *)REG_DMA39_BWLCNT) /* DMA39 Bandwidth Limit Count */
-#define pREG_DMA39_BWLCNT_CUR ((volatile uint32_t *)REG_DMA39_BWLCNT_CUR) /* DMA39 Bandwidth Limit Count Current */
-#define pREG_DMA39_BWMCNT ((volatile uint32_t *)REG_DMA39_BWMCNT) /* DMA39 Bandwidth Monitor Count */
-#define pREG_DMA39_BWMCNT_CUR ((volatile uint32_t *)REG_DMA39_BWMCNT_CUR) /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA40
- ========================================================================= */
-#define pREG_DMA40_DSCPTR_NXT ((void * volatile *)REG_DMA40_DSCPTR_NXT) /* DMA40 Pointer to Next Initial Descriptor */
-#define pREG_DMA40_ADDRSTART ((void * volatile *)REG_DMA40_ADDRSTART) /* DMA40 Start Address of Current Buffer */
-#define pREG_DMA40_CFG ((volatile uint32_t *)REG_DMA40_CFG) /* DMA40 Configuration Register */
-#define pREG_DMA40_XCNT ((volatile uint32_t *)REG_DMA40_XCNT) /* DMA40 Inner Loop Count Start Value */
-#define pREG_DMA40_XMOD ((volatile int32_t *)REG_DMA40_XMOD) /* DMA40 Inner Loop Address Increment */
-#define pREG_DMA40_YCNT ((volatile uint32_t *)REG_DMA40_YCNT) /* DMA40 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA40_YMOD ((volatile int32_t *)REG_DMA40_YMOD) /* DMA40 Outer Loop Address Increment (2D only) */
-#define pREG_DMA40_DSCPTR_CUR ((void * volatile *)REG_DMA40_DSCPTR_CUR) /* DMA40 Current Descriptor Pointer */
-#define pREG_DMA40_DSCPTR_PRV ((void * volatile *)REG_DMA40_DSCPTR_PRV) /* DMA40 Previous Initial Descriptor Pointer */
-#define pREG_DMA40_ADDR_CUR ((void * volatile *)REG_DMA40_ADDR_CUR) /* DMA40 Current Address */
-#define pREG_DMA40_STAT ((volatile uint32_t *)REG_DMA40_STAT) /* DMA40 Status Register */
-#define pREG_DMA40_XCNT_CUR ((volatile uint32_t *)REG_DMA40_XCNT_CUR) /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA40_YCNT_CUR ((volatile uint32_t *)REG_DMA40_YCNT_CUR) /* DMA40 Current Row Count (2D only) */
-#define pREG_DMA40_BWLCNT ((volatile uint32_t *)REG_DMA40_BWLCNT) /* DMA40 Bandwidth Limit Count */
-#define pREG_DMA40_BWLCNT_CUR ((volatile uint32_t *)REG_DMA40_BWLCNT_CUR) /* DMA40 Bandwidth Limit Count Current */
-#define pREG_DMA40_BWMCNT ((volatile uint32_t *)REG_DMA40_BWMCNT) /* DMA40 Bandwidth Monitor Count */
-#define pREG_DMA40_BWMCNT_CUR ((volatile uint32_t *)REG_DMA40_BWMCNT_CUR) /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA41
- ========================================================================= */
-#define pREG_DMA41_DSCPTR_NXT ((void * volatile *)REG_DMA41_DSCPTR_NXT) /* DMA41 Pointer to Next Initial Descriptor */
-#define pREG_DMA41_ADDRSTART ((void * volatile *)REG_DMA41_ADDRSTART) /* DMA41 Start Address of Current Buffer */
-#define pREG_DMA41_CFG ((volatile uint32_t *)REG_DMA41_CFG) /* DMA41 Configuration Register */
-#define pREG_DMA41_XCNT ((volatile uint32_t *)REG_DMA41_XCNT) /* DMA41 Inner Loop Count Start Value */
-#define pREG_DMA41_XMOD ((volatile int32_t *)REG_DMA41_XMOD) /* DMA41 Inner Loop Address Increment */
-#define pREG_DMA41_YCNT ((volatile uint32_t *)REG_DMA41_YCNT) /* DMA41 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA41_YMOD ((volatile int32_t *)REG_DMA41_YMOD) /* DMA41 Outer Loop Address Increment (2D only) */
-#define pREG_DMA41_DSCPTR_CUR ((void * volatile *)REG_DMA41_DSCPTR_CUR) /* DMA41 Current Descriptor Pointer */
-#define pREG_DMA41_DSCPTR_PRV ((void * volatile *)REG_DMA41_DSCPTR_PRV) /* DMA41 Previous Initial Descriptor Pointer */
-#define pREG_DMA41_ADDR_CUR ((void * volatile *)REG_DMA41_ADDR_CUR) /* DMA41 Current Address */
-#define pREG_DMA41_STAT ((volatile uint32_t *)REG_DMA41_STAT) /* DMA41 Status Register */
-#define pREG_DMA41_XCNT_CUR ((volatile uint32_t *)REG_DMA41_XCNT_CUR) /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA41_YCNT_CUR ((volatile uint32_t *)REG_DMA41_YCNT_CUR) /* DMA41 Current Row Count (2D only) */
-#define pREG_DMA41_BWLCNT ((volatile uint32_t *)REG_DMA41_BWLCNT) /* DMA41 Bandwidth Limit Count */
-#define pREG_DMA41_BWLCNT_CUR ((volatile uint32_t *)REG_DMA41_BWLCNT_CUR) /* DMA41 Bandwidth Limit Count Current */
-#define pREG_DMA41_BWMCNT ((volatile uint32_t *)REG_DMA41_BWMCNT) /* DMA41 Bandwidth Monitor Count */
-#define pREG_DMA41_BWMCNT_CUR ((volatile uint32_t *)REG_DMA41_BWMCNT_CUR) /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA42
- ========================================================================= */
-#define pREG_DMA42_DSCPTR_NXT ((void * volatile *)REG_DMA42_DSCPTR_NXT) /* DMA42 Pointer to Next Initial Descriptor */
-#define pREG_DMA42_ADDRSTART ((void * volatile *)REG_DMA42_ADDRSTART) /* DMA42 Start Address of Current Buffer */
-#define pREG_DMA42_CFG ((volatile uint32_t *)REG_DMA42_CFG) /* DMA42 Configuration Register */
-#define pREG_DMA42_XCNT ((volatile uint32_t *)REG_DMA42_XCNT) /* DMA42 Inner Loop Count Start Value */
-#define pREG_DMA42_XMOD ((volatile int32_t *)REG_DMA42_XMOD) /* DMA42 Inner Loop Address Increment */
-#define pREG_DMA42_YCNT ((volatile uint32_t *)REG_DMA42_YCNT) /* DMA42 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA42_YMOD ((volatile int32_t *)REG_DMA42_YMOD) /* DMA42 Outer Loop Address Increment (2D only) */
-#define pREG_DMA42_DSCPTR_CUR ((void * volatile *)REG_DMA42_DSCPTR_CUR) /* DMA42 Current Descriptor Pointer */
-#define pREG_DMA42_DSCPTR_PRV ((void * volatile *)REG_DMA42_DSCPTR_PRV) /* DMA42 Previous Initial Descriptor Pointer */
-#define pREG_DMA42_ADDR_CUR ((void * volatile *)REG_DMA42_ADDR_CUR) /* DMA42 Current Address */
-#define pREG_DMA42_STAT ((volatile uint32_t *)REG_DMA42_STAT) /* DMA42 Status Register */
-#define pREG_DMA42_XCNT_CUR ((volatile uint32_t *)REG_DMA42_XCNT_CUR) /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA42_YCNT_CUR ((volatile uint32_t *)REG_DMA42_YCNT_CUR) /* DMA42 Current Row Count (2D only) */
-#define pREG_DMA42_BWLCNT ((volatile uint32_t *)REG_DMA42_BWLCNT) /* DMA42 Bandwidth Limit Count */
-#define pREG_DMA42_BWLCNT_CUR ((volatile uint32_t *)REG_DMA42_BWLCNT_CUR) /* DMA42 Bandwidth Limit Count Current */
-#define pREG_DMA42_BWMCNT ((volatile uint32_t *)REG_DMA42_BWMCNT) /* DMA42 Bandwidth Monitor Count */
-#define pREG_DMA42_BWMCNT_CUR ((volatile uint32_t *)REG_DMA42_BWMCNT_CUR) /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA43
- ========================================================================= */
-#define pREG_DMA43_DSCPTR_NXT ((void * volatile *)REG_DMA43_DSCPTR_NXT) /* DMA43 Pointer to Next Initial Descriptor */
-#define pREG_DMA43_ADDRSTART ((void * volatile *)REG_DMA43_ADDRSTART) /* DMA43 Start Address of Current Buffer */
-#define pREG_DMA43_CFG ((volatile uint32_t *)REG_DMA43_CFG) /* DMA43 Configuration Register */
-#define pREG_DMA43_XCNT ((volatile uint32_t *)REG_DMA43_XCNT) /* DMA43 Inner Loop Count Start Value */
-#define pREG_DMA43_XMOD ((volatile int32_t *)REG_DMA43_XMOD) /* DMA43 Inner Loop Address Increment */
-#define pREG_DMA43_YCNT ((volatile uint32_t *)REG_DMA43_YCNT) /* DMA43 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA43_YMOD ((volatile int32_t *)REG_DMA43_YMOD) /* DMA43 Outer Loop Address Increment (2D only) */
-#define pREG_DMA43_DSCPTR_CUR ((void * volatile *)REG_DMA43_DSCPTR_CUR) /* DMA43 Current Descriptor Pointer */
-#define pREG_DMA43_DSCPTR_PRV ((void * volatile *)REG_DMA43_DSCPTR_PRV) /* DMA43 Previous Initial Descriptor Pointer */
-#define pREG_DMA43_ADDR_CUR ((void * volatile *)REG_DMA43_ADDR_CUR) /* DMA43 Current Address */
-#define pREG_DMA43_STAT ((volatile uint32_t *)REG_DMA43_STAT) /* DMA43 Status Register */
-#define pREG_DMA43_XCNT_CUR ((volatile uint32_t *)REG_DMA43_XCNT_CUR) /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA43_YCNT_CUR ((volatile uint32_t *)REG_DMA43_YCNT_CUR) /* DMA43 Current Row Count (2D only) */
-#define pREG_DMA43_BWLCNT ((volatile uint32_t *)REG_DMA43_BWLCNT) /* DMA43 Bandwidth Limit Count */
-#define pREG_DMA43_BWLCNT_CUR ((volatile uint32_t *)REG_DMA43_BWLCNT_CUR) /* DMA43 Bandwidth Limit Count Current */
-#define pREG_DMA43_BWMCNT ((volatile uint32_t *)REG_DMA43_BWMCNT) /* DMA43 Bandwidth Monitor Count */
-#define pREG_DMA43_BWMCNT_CUR ((volatile uint32_t *)REG_DMA43_BWMCNT_CUR) /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA44
- ========================================================================= */
-#define pREG_DMA44_DSCPTR_NXT ((void * volatile *)REG_DMA44_DSCPTR_NXT) /* DMA44 Pointer to Next Initial Descriptor */
-#define pREG_DMA44_ADDRSTART ((void * volatile *)REG_DMA44_ADDRSTART) /* DMA44 Start Address of Current Buffer */
-#define pREG_DMA44_CFG ((volatile uint32_t *)REG_DMA44_CFG) /* DMA44 Configuration Register */
-#define pREG_DMA44_XCNT ((volatile uint32_t *)REG_DMA44_XCNT) /* DMA44 Inner Loop Count Start Value */
-#define pREG_DMA44_XMOD ((volatile int32_t *)REG_DMA44_XMOD) /* DMA44 Inner Loop Address Increment */
-#define pREG_DMA44_YCNT ((volatile uint32_t *)REG_DMA44_YCNT) /* DMA44 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA44_YMOD ((volatile int32_t *)REG_DMA44_YMOD) /* DMA44 Outer Loop Address Increment (2D only) */
-#define pREG_DMA44_DSCPTR_CUR ((void * volatile *)REG_DMA44_DSCPTR_CUR) /* DMA44 Current Descriptor Pointer */
-#define pREG_DMA44_DSCPTR_PRV ((void * volatile *)REG_DMA44_DSCPTR_PRV) /* DMA44 Previous Initial Descriptor Pointer */
-#define pREG_DMA44_ADDR_CUR ((void * volatile *)REG_DMA44_ADDR_CUR) /* DMA44 Current Address */
-#define pREG_DMA44_STAT ((volatile uint32_t *)REG_DMA44_STAT) /* DMA44 Status Register */
-#define pREG_DMA44_XCNT_CUR ((volatile uint32_t *)REG_DMA44_XCNT_CUR) /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA44_YCNT_CUR ((volatile uint32_t *)REG_DMA44_YCNT_CUR) /* DMA44 Current Row Count (2D only) */
-#define pREG_DMA44_BWLCNT ((volatile uint32_t *)REG_DMA44_BWLCNT) /* DMA44 Bandwidth Limit Count */
-#define pREG_DMA44_BWLCNT_CUR ((volatile uint32_t *)REG_DMA44_BWLCNT_CUR) /* DMA44 Bandwidth Limit Count Current */
-#define pREG_DMA44_BWMCNT ((volatile uint32_t *)REG_DMA44_BWMCNT) /* DMA44 Bandwidth Monitor Count */
-#define pREG_DMA44_BWMCNT_CUR ((volatile uint32_t *)REG_DMA44_BWMCNT_CUR) /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA45
- ========================================================================= */
-#define pREG_DMA45_DSCPTR_NXT ((void * volatile *)REG_DMA45_DSCPTR_NXT) /* DMA45 Pointer to Next Initial Descriptor */
-#define pREG_DMA45_ADDRSTART ((void * volatile *)REG_DMA45_ADDRSTART) /* DMA45 Start Address of Current Buffer */
-#define pREG_DMA45_CFG ((volatile uint32_t *)REG_DMA45_CFG) /* DMA45 Configuration Register */
-#define pREG_DMA45_XCNT ((volatile uint32_t *)REG_DMA45_XCNT) /* DMA45 Inner Loop Count Start Value */
-#define pREG_DMA45_XMOD ((volatile int32_t *)REG_DMA45_XMOD) /* DMA45 Inner Loop Address Increment */
-#define pREG_DMA45_YCNT ((volatile uint32_t *)REG_DMA45_YCNT) /* DMA45 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA45_YMOD ((volatile int32_t *)REG_DMA45_YMOD) /* DMA45 Outer Loop Address Increment (2D only) */
-#define pREG_DMA45_DSCPTR_CUR ((void * volatile *)REG_DMA45_DSCPTR_CUR) /* DMA45 Current Descriptor Pointer */
-#define pREG_DMA45_DSCPTR_PRV ((void * volatile *)REG_DMA45_DSCPTR_PRV) /* DMA45 Previous Initial Descriptor Pointer */
-#define pREG_DMA45_ADDR_CUR ((void * volatile *)REG_DMA45_ADDR_CUR) /* DMA45 Current Address */
-#define pREG_DMA45_STAT ((volatile uint32_t *)REG_DMA45_STAT) /* DMA45 Status Register */
-#define pREG_DMA45_XCNT_CUR ((volatile uint32_t *)REG_DMA45_XCNT_CUR) /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA45_YCNT_CUR ((volatile uint32_t *)REG_DMA45_YCNT_CUR) /* DMA45 Current Row Count (2D only) */
-#define pREG_DMA45_BWLCNT ((volatile uint32_t *)REG_DMA45_BWLCNT) /* DMA45 Bandwidth Limit Count */
-#define pREG_DMA45_BWLCNT_CUR ((volatile uint32_t *)REG_DMA45_BWLCNT_CUR) /* DMA45 Bandwidth Limit Count Current */
-#define pREG_DMA45_BWMCNT ((volatile uint32_t *)REG_DMA45_BWMCNT) /* DMA45 Bandwidth Monitor Count */
-#define pREG_DMA45_BWMCNT_CUR ((volatile uint32_t *)REG_DMA45_BWMCNT_CUR) /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================================================================
- DMA46
- ========================================================================= */
-#define pREG_DMA46_DSCPTR_NXT ((void * volatile *)REG_DMA46_DSCPTR_NXT) /* DMA46 Pointer to Next Initial Descriptor */
-#define pREG_DMA46_ADDRSTART ((void * volatile *)REG_DMA46_ADDRSTART) /* DMA46 Start Address of Current Buffer */
-#define pREG_DMA46_CFG ((volatile uint32_t *)REG_DMA46_CFG) /* DMA46 Configuration Register */
-#define pREG_DMA46_XCNT ((volatile uint32_t *)REG_DMA46_XCNT) /* DMA46 Inner Loop Count Start Value */
-#define pREG_DMA46_XMOD ((volatile int32_t *)REG_DMA46_XMOD) /* DMA46 Inner Loop Address Increment */
-#define pREG_DMA46_YCNT ((volatile uint32_t *)REG_DMA46_YCNT) /* DMA46 Outer Loop Count Start Value (2D only) */
-#define pREG_DMA46_YMOD ((volatile int32_t *)REG_DMA46_YMOD) /* DMA46 Outer Loop Address Increment (2D only) */
-#define pREG_DMA46_DSCPTR_CUR ((void * volatile *)REG_DMA46_DSCPTR_CUR) /* DMA46 Current Descriptor Pointer */
-#define pREG_DMA46_DSCPTR_PRV ((void * volatile *)REG_DMA46_DSCPTR_PRV) /* DMA46 Previous Initial Descriptor Pointer */
-#define pREG_DMA46_ADDR_CUR ((void * volatile *)REG_DMA46_ADDR_CUR) /* DMA46 Current Address */
-#define pREG_DMA46_STAT ((volatile uint32_t *)REG_DMA46_STAT) /* DMA46 Status Register */
-#define pREG_DMA46_XCNT_CUR ((volatile uint32_t *)REG_DMA46_XCNT_CUR) /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define pREG_DMA46_YCNT_CUR ((volatile uint32_t *)REG_DMA46_YCNT_CUR) /* DMA46 Current Row Count (2D only) */
-#define pREG_DMA46_BWLCNT ((volatile uint32_t *)REG_DMA46_BWLCNT) /* DMA46 Bandwidth Limit Count */
-#define pREG_DMA46_BWLCNT_CUR ((volatile uint32_t *)REG_DMA46_BWLCNT_CUR) /* DMA46 Bandwidth Limit Count Current */
-#define pREG_DMA46_BWMCNT ((volatile uint32_t *)REG_DMA46_BWMCNT) /* DMA46 Bandwidth Monitor Count */
-#define pREG_DMA46_BWMCNT_CUR ((volatile uint32_t *)REG_DMA46_BWMCNT_CUR) /* DMA46 Bandwidth Monitor Count Current */
-
-
-/* =========================================================================
- ACM0
- ========================================================================= */
-#define pREG_ACM0_CTL ((volatile uint32_t *)REG_ACM0_CTL) /* ACM0 ACM Control Register */
-#define pREG_ACM0_TC0 ((volatile uint32_t *)REG_ACM0_TC0) /* ACM0 ACM Timing Configuration 0 Register */
-#define pREG_ACM0_TC1 ((volatile uint32_t *)REG_ACM0_TC1) /* ACM0 ACM Timing Configuration 1 Register */
-#define pREG_ACM0_STAT ((volatile uint32_t *)REG_ACM0_STAT) /* ACM0 ACM Status Register */
-#define pREG_ACM0_EVSTAT ((volatile uint32_t *)REG_ACM0_EVSTAT) /* ACM0 ACM Event Status Register */
-#define pREG_ACM0_EVMSK ((volatile uint32_t *)REG_ACM0_EVMSK) /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define pREG_ACM0_MEVSTAT ((volatile uint32_t *)REG_ACM0_MEVSTAT) /* ACM0 ACM Missed Event Status Register */
-#define pREG_ACM0_MEVMSK ((volatile uint32_t *)REG_ACM0_MEVMSK) /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define pREG_ACM0_EVCTL0 ((volatile uint32_t *)REG_ACM0_EVCTL0) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL1 ((volatile uint32_t *)REG_ACM0_EVCTL1) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL2 ((volatile uint32_t *)REG_ACM0_EVCTL2) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL3 ((volatile uint32_t *)REG_ACM0_EVCTL3) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL4 ((volatile uint32_t *)REG_ACM0_EVCTL4) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL5 ((volatile uint32_t *)REG_ACM0_EVCTL5) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL6 ((volatile uint32_t *)REG_ACM0_EVCTL6) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL7 ((volatile uint32_t *)REG_ACM0_EVCTL7) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL8 ((volatile uint32_t *)REG_ACM0_EVCTL8) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL9 ((volatile uint32_t *)REG_ACM0_EVCTL9) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL10 ((volatile uint32_t *)REG_ACM0_EVCTL10) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL11 ((volatile uint32_t *)REG_ACM0_EVCTL11) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL12 ((volatile uint32_t *)REG_ACM0_EVCTL12) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL13 ((volatile uint32_t *)REG_ACM0_EVCTL13) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL14 ((volatile uint32_t *)REG_ACM0_EVCTL14) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVCTL15 ((volatile uint32_t *)REG_ACM0_EVCTL15) /* ACM0 ACM Eventn Control Register */
-#define pREG_ACM0_EVTIME0 ((volatile uint32_t *)REG_ACM0_EVTIME0) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME1 ((volatile uint32_t *)REG_ACM0_EVTIME1) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME2 ((volatile uint32_t *)REG_ACM0_EVTIME2) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME3 ((volatile uint32_t *)REG_ACM0_EVTIME3) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME4 ((volatile uint32_t *)REG_ACM0_EVTIME4) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME5 ((volatile uint32_t *)REG_ACM0_EVTIME5) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME6 ((volatile uint32_t *)REG_ACM0_EVTIME6) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME7 ((volatile uint32_t *)REG_ACM0_EVTIME7) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME8 ((volatile uint32_t *)REG_ACM0_EVTIME8) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME9 ((volatile uint32_t *)REG_ACM0_EVTIME9) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME10 ((volatile uint32_t *)REG_ACM0_EVTIME10) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME11 ((volatile uint32_t *)REG_ACM0_EVTIME11) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME12 ((volatile uint32_t *)REG_ACM0_EVTIME12) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME13 ((volatile uint32_t *)REG_ACM0_EVTIME13) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME14 ((volatile uint32_t *)REG_ACM0_EVTIME14) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVTIME15 ((volatile uint32_t *)REG_ACM0_EVTIME15) /* ACM0 ACM Eventn Time Register */
-#define pREG_ACM0_EVORD0 ((volatile uint32_t *)REG_ACM0_EVORD0) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD1 ((volatile uint32_t *)REG_ACM0_EVORD1) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD2 ((volatile uint32_t *)REG_ACM0_EVORD2) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD3 ((volatile uint32_t *)REG_ACM0_EVORD3) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD4 ((volatile uint32_t *)REG_ACM0_EVORD4) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD5 ((volatile uint32_t *)REG_ACM0_EVORD5) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD6 ((volatile uint32_t *)REG_ACM0_EVORD6) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD7 ((volatile uint32_t *)REG_ACM0_EVORD7) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD8 ((volatile uint32_t *)REG_ACM0_EVORD8) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD9 ((volatile uint32_t *)REG_ACM0_EVORD9) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD10 ((volatile uint32_t *)REG_ACM0_EVORD10) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD11 ((volatile uint32_t *)REG_ACM0_EVORD11) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD12 ((volatile uint32_t *)REG_ACM0_EVORD12) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD13 ((volatile uint32_t *)REG_ACM0_EVORD13) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD14 ((volatile uint32_t *)REG_ACM0_EVORD14) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_EVORD15 ((volatile uint32_t *)REG_ACM0_EVORD15) /* ACM0 ACM Eventn Order Register */
-#define pREG_ACM0_TMR0 ((volatile uint32_t *)REG_ACM0_TMR0) /* ACM0 ACM Timer 0 Register */
-#define pREG_ACM0_TMR1 ((volatile uint32_t *)REG_ACM0_TMR1) /* ACM0 ACM Timer 1 Register */
-
-
-/* =========================================================================
- DMC0
- ========================================================================= */
-#define pREG_DMC0_CTL ((volatile uint32_t *)REG_DMC0_CTL) /* DMC0 Control Register */
-#define pREG_DMC0_STAT ((volatile uint32_t *)REG_DMC0_STAT) /* DMC0 Status Register */
-#define pREG_DMC0_EFFCTL ((volatile uint32_t *)REG_DMC0_EFFCTL) /* DMC0 Efficiency Control Register */
-#define pREG_DMC0_PRIO ((volatile uint32_t *)REG_DMC0_PRIO) /* DMC0 Priority ID Register */
-#define pREG_DMC0_PRIOMSK ((volatile uint32_t *)REG_DMC0_PRIOMSK) /* DMC0 Priority ID Mask Register */
-#define pREG_DMC0_CFG ((volatile uint32_t *)REG_DMC0_CFG) /* DMC0 Configuration Register */
-#define pREG_DMC0_TR0 ((volatile uint32_t *)REG_DMC0_TR0) /* DMC0 Timing 0 Register */
-#define pREG_DMC0_TR1 ((volatile uint32_t *)REG_DMC0_TR1) /* DMC0 Timing 1 Register */
-#define pREG_DMC0_TR2 ((volatile uint32_t *)REG_DMC0_TR2) /* DMC0 Timing 2 Register */
-#define pREG_DMC0_MSK ((volatile uint32_t *)REG_DMC0_MSK) /* DMC0 Mask (Mode Register Shadow) Register */
-#define pREG_DMC0_MR ((volatile uint32_t *)REG_DMC0_MR) /* DMC0 Shadow MR Register */
-#define pREG_DMC0_EMR1 ((volatile uint32_t *)REG_DMC0_EMR1) /* DMC0 Shadow EMR1 Register */
-#define pREG_DMC0_EMR2 ((volatile uint32_t *)REG_DMC0_EMR2) /* DMC0 Shadow EMR2 Register */
-#define pREG_DMC0_EMR3 ((volatile uint32_t *)REG_DMC0_EMR3) /* DMC0 Shadow EMR3 Register */
-#define pREG_DMC0_DLLCTL ((volatile uint32_t *)REG_DMC0_DLLCTL) /* DMC0 DLL Control Register */
-#define pREG_DMC0_PHY_CTL0 ((volatile uint32_t *)REG_DMC0_PHY_CTL0) /* DMC0 PHY Control 0 Register */
-#define pREG_DMC0_PHY_CTL1 ((volatile uint32_t *)REG_DMC0_PHY_CTL1) /* DMC0 PHY Control 1 Register */
-#define pREG_DMC0_PHY_CTL2 ((volatile uint32_t *)REG_DMC0_PHY_CTL2) /* DMC0 PHY Control 2 Register */
-#define pREG_DMC0_PHY_CTL3 ((volatile uint32_t *)REG_DMC0_PHY_CTL3) /* DMC0 PHY Control 3 Register */
-#define pREG_DMC0_PADCTL ((volatile uint32_t *)REG_DMC0_PADCTL) /* DMC0 PAD Control Register */
-
-
-/* =========================================================================
- SCB0
- ========================================================================= */
-#define pREG_SCB0_ARBR0 ((volatile uint32_t *)REG_SCB0_ARBR0) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR1 ((volatile uint32_t *)REG_SCB0_ARBR1) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR2 ((volatile uint32_t *)REG_SCB0_ARBR2) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR3 ((volatile uint32_t *)REG_SCB0_ARBR3) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR4 ((volatile uint32_t *)REG_SCB0_ARBR4) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBR5 ((volatile uint32_t *)REG_SCB0_ARBR5) /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB0_ARBW0 ((volatile uint32_t *)REG_SCB0_ARBW0) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW1 ((volatile uint32_t *)REG_SCB0_ARBW1) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW2 ((volatile uint32_t *)REG_SCB0_ARBW2) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW3 ((volatile uint32_t *)REG_SCB0_ARBW3) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW4 ((volatile uint32_t *)REG_SCB0_ARBW4) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_ARBW5 ((volatile uint32_t *)REG_SCB0_ARBW5) /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB0_SLAVES ((volatile uint32_t *)REG_SCB0_SLAVES) /* SCB0 Slave Interfaces Number Register */
-#define pREG_SCB0_MASTERS ((volatile uint32_t *)REG_SCB0_MASTERS) /* SCB0 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB1
- ========================================================================= */
-#define pREG_SCB1_ARBR0 ((volatile uint32_t *)REG_SCB1_ARBR0) /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB1_ARBW0 ((volatile uint32_t *)REG_SCB1_ARBW0) /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB1_SLAVES ((volatile uint32_t *)REG_SCB1_SLAVES) /* SCB1 Slave Interfaces Number Register */
-#define pREG_SCB1_MASTERS ((volatile uint32_t *)REG_SCB1_MASTERS) /* SCB1 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB2
- ========================================================================= */
-#define pREG_SCB2_ARBR0 ((volatile uint32_t *)REG_SCB2_ARBR0) /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB2_ARBW0 ((volatile uint32_t *)REG_SCB2_ARBW0) /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB2_SLAVES ((volatile uint32_t *)REG_SCB2_SLAVES) /* SCB2 Slave Interfaces Number Register */
-#define pREG_SCB2_MASTERS ((volatile uint32_t *)REG_SCB2_MASTERS) /* SCB2 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB3
- ========================================================================= */
-#define pREG_SCB3_ARBR0 ((volatile uint32_t *)REG_SCB3_ARBR0) /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB3_ARBW0 ((volatile uint32_t *)REG_SCB3_ARBW0) /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB3_SLAVES ((volatile uint32_t *)REG_SCB3_SLAVES) /* SCB3 Slave Interfaces Number Register */
-#define pREG_SCB3_MASTERS ((volatile uint32_t *)REG_SCB3_MASTERS) /* SCB3 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB4
- ========================================================================= */
-#define pREG_SCB4_ARBR0 ((volatile uint32_t *)REG_SCB4_ARBR0) /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB4_ARBW0 ((volatile uint32_t *)REG_SCB4_ARBW0) /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB4_SLAVES ((volatile uint32_t *)REG_SCB4_SLAVES) /* SCB4 Slave Interfaces Number Register */
-#define pREG_SCB4_MASTERS ((volatile uint32_t *)REG_SCB4_MASTERS) /* SCB4 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB5
- ========================================================================= */
-#define pREG_SCB5_ARBR0 ((volatile uint32_t *)REG_SCB5_ARBR0) /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB5_ARBW0 ((volatile uint32_t *)REG_SCB5_ARBW0) /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB5_SLAVES ((volatile uint32_t *)REG_SCB5_SLAVES) /* SCB5 Slave Interfaces Number Register */
-#define pREG_SCB5_MASTERS ((volatile uint32_t *)REG_SCB5_MASTERS) /* SCB5 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB6
- ========================================================================= */
-#define pREG_SCB6_ARBR0 ((volatile uint32_t *)REG_SCB6_ARBR0) /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB6_ARBW0 ((volatile uint32_t *)REG_SCB6_ARBW0) /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB6_SLAVES ((volatile uint32_t *)REG_SCB6_SLAVES) /* SCB6 Slave Interfaces Number Register */
-#define pREG_SCB6_MASTERS ((volatile uint32_t *)REG_SCB6_MASTERS) /* SCB6 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB7
- ========================================================================= */
-#define pREG_SCB7_ARBR0 ((volatile uint32_t *)REG_SCB7_ARBR0) /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB7_ARBW0 ((volatile uint32_t *)REG_SCB7_ARBW0) /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB7_SLAVES ((volatile uint32_t *)REG_SCB7_SLAVES) /* SCB7 Slave Interfaces Number Register */
-#define pREG_SCB7_MASTERS ((volatile uint32_t *)REG_SCB7_MASTERS) /* SCB7 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB8
- ========================================================================= */
-#define pREG_SCB8_ARBR0 ((volatile uint32_t *)REG_SCB8_ARBR0) /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB8_ARBW0 ((volatile uint32_t *)REG_SCB8_ARBW0) /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB8_SLAVES ((volatile uint32_t *)REG_SCB8_SLAVES) /* SCB8 Slave Interfaces Number Register */
-#define pREG_SCB8_MASTERS ((volatile uint32_t *)REG_SCB8_MASTERS) /* SCB8 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB9
- ========================================================================= */
-#define pREG_SCB9_ARBR0 ((volatile uint32_t *)REG_SCB9_ARBR0) /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB9_ARBW0 ((volatile uint32_t *)REG_SCB9_ARBW0) /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB9_SLAVES ((volatile uint32_t *)REG_SCB9_SLAVES) /* SCB9 Slave Interfaces Number Register */
-#define pREG_SCB9_MASTERS ((volatile uint32_t *)REG_SCB9_MASTERS) /* SCB9 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB10
- ========================================================================= */
-#define pREG_SCB10_ARBR0 ((volatile uint32_t *)REG_SCB10_ARBR0) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR1 ((volatile uint32_t *)REG_SCB10_ARBR1) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBR2 ((volatile uint32_t *)REG_SCB10_ARBR2) /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB10_ARBW0 ((volatile uint32_t *)REG_SCB10_ARBW0) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW1 ((volatile uint32_t *)REG_SCB10_ARBW1) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_ARBW2 ((volatile uint32_t *)REG_SCB10_ARBW2) /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB10_SLAVES ((volatile uint32_t *)REG_SCB10_SLAVES) /* SCB10 Slave Interfaces Number Register */
-#define pREG_SCB10_MASTERS ((volatile uint32_t *)REG_SCB10_MASTERS) /* SCB10 Master Interfaces Number Register */
-
-/* =========================================================================
- SCB11
- ========================================================================= */
-#define pREG_SCB11_ARBR0 ((volatile uint32_t *)REG_SCB11_ARBR0) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR1 ((volatile uint32_t *)REG_SCB11_ARBR1) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR2 ((volatile uint32_t *)REG_SCB11_ARBR2) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR3 ((volatile uint32_t *)REG_SCB11_ARBR3) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR4 ((volatile uint32_t *)REG_SCB11_ARBR4) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR5 ((volatile uint32_t *)REG_SCB11_ARBR5) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBR6 ((volatile uint32_t *)REG_SCB11_ARBR6) /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define pREG_SCB11_ARBW0 ((volatile uint32_t *)REG_SCB11_ARBW0) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW1 ((volatile uint32_t *)REG_SCB11_ARBW1) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW2 ((volatile uint32_t *)REG_SCB11_ARBW2) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW3 ((volatile uint32_t *)REG_SCB11_ARBW3) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW4 ((volatile uint32_t *)REG_SCB11_ARBW4) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW5 ((volatile uint32_t *)REG_SCB11_ARBW5) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_ARBW6 ((volatile uint32_t *)REG_SCB11_ARBW6) /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define pREG_SCB11_SLAVES ((volatile uint32_t *)REG_SCB11_SLAVES) /* SCB11 Slave Interfaces Number Register */
-#define pREG_SCB11_MASTERS ((volatile uint32_t *)REG_SCB11_MASTERS) /* SCB11 Master Interfaces Number Register */
-
-
-/* =========================================================================
- L2CTL0
- ========================================================================= */
-#define pREG_L2CTL0_CTL ((volatile uint32_t *)REG_L2CTL0_CTL) /* L2CTL0 Control Register */
-#define pREG_L2CTL0_ACTL_C0 ((volatile uint32_t *)REG_L2CTL0_ACTL_C0) /* L2CTL0 Access Control Core 0 Register */
-#define pREG_L2CTL0_ACTL_C1 ((volatile uint32_t *)REG_L2CTL0_ACTL_C1) /* L2CTL0 Access Control Core 1 Register */
-#define pREG_L2CTL0_ACTL_SYS ((volatile uint32_t *)REG_L2CTL0_ACTL_SYS) /* L2CTL0 Access Control System Register */
-#define pREG_L2CTL0_STAT ((volatile uint32_t *)REG_L2CTL0_STAT) /* L2CTL0 Status Register */
-#define pREG_L2CTL0_RPCR ((volatile uint32_t *)REG_L2CTL0_RPCR) /* L2CTL0 Read Priority Count Register */
-#define pREG_L2CTL0_WPCR ((volatile uint32_t *)REG_L2CTL0_WPCR) /* L2CTL0 Write Priority Count Register */
-#define pREG_L2CTL0_RFA ((void * volatile *)REG_L2CTL0_RFA) /* L2CTL0 Refresh Address Register */
-#define pREG_L2CTL0_ERRADDR0 ((void * volatile *)REG_L2CTL0_ERRADDR0) /* L2CTL0 ECC Error Address 0 Register */
-#define pREG_L2CTL0_ERRADDR1 ((void * volatile *)REG_L2CTL0_ERRADDR1) /* L2CTL0 ECC Error Address 1 Register */
-#define pREG_L2CTL0_ERRADDR2 ((void * volatile *)REG_L2CTL0_ERRADDR2) /* L2CTL0 ECC Error Address 2 Register */
-#define pREG_L2CTL0_ERRADDR3 ((void * volatile *)REG_L2CTL0_ERRADDR3) /* L2CTL0 ECC Error Address 3 Register */
-#define pREG_L2CTL0_ERRADDR4 ((void * volatile *)REG_L2CTL0_ERRADDR4) /* L2CTL0 ECC Error Address 4 Register */
-#define pREG_L2CTL0_ERRADDR5 ((void * volatile *)REG_L2CTL0_ERRADDR5) /* L2CTL0 ECC Error Address 5 Register */
-#define pREG_L2CTL0_ERRADDR6 ((void * volatile *)REG_L2CTL0_ERRADDR6) /* L2CTL0 ECC Error Address 6 Register */
-#define pREG_L2CTL0_ERRADDR7 ((void * volatile *)REG_L2CTL0_ERRADDR7) /* L2CTL0 ECC Error Address 7 Register */
-#define pREG_L2CTL0_ET0 ((volatile uint32_t *)REG_L2CTL0_ET0) /* L2CTL0 Error Type 0 Register */
-#define pREG_L2CTL0_EADDR0 ((void * volatile *)REG_L2CTL0_EADDR0) /* L2CTL0 Error Type 0 Address Register */
-#define pREG_L2CTL0_ET1 ((volatile uint32_t *)REG_L2CTL0_ET1) /* L2CTL0 Error Type 1 Register */
-#define pREG_L2CTL0_EADDR1 ((void * volatile *)REG_L2CTL0_EADDR1) /* L2CTL0 Error Type 1 Address Register */
-
-
-/* =========================================================================
- SEC0
- ========================================================================= */
-
-/* SEC Core Interface (SCI) Registers */
-#define pREG_SEC0_CCTL0 ((volatile uint32_t *)REG_SEC0_CCTL0) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CCTL1 ((volatile uint32_t *)REG_SEC0_CCTL1) /* SEC0 SCI Control Register n */
-#define pREG_SEC0_CSTAT0 ((volatile uint32_t *)REG_SEC0_CSTAT0) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CSTAT1 ((volatile uint32_t *)REG_SEC0_CSTAT1) /* SEC0 SCI Status Register n */
-#define pREG_SEC0_CPND0 ((volatile uint32_t *)REG_SEC0_CPND0) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CPND1 ((volatile uint32_t *)REG_SEC0_CPND1) /* SEC0 Core Pending Register n */
-#define pREG_SEC0_CACT0 ((volatile uint32_t *)REG_SEC0_CACT0) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CACT1 ((volatile uint32_t *)REG_SEC0_CACT1) /* SEC0 SCI Active Register n */
-#define pREG_SEC0_CPMSK0 ((volatile uint32_t *)REG_SEC0_CPMSK0) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CPMSK1 ((volatile uint32_t *)REG_SEC0_CPMSK1) /* SEC0 SCI Priority Mask Register n */
-#define pREG_SEC0_CGMSK0 ((volatile uint32_t *)REG_SEC0_CGMSK0) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CGMSK1 ((volatile uint32_t *)REG_SEC0_CGMSK1) /* SEC0 SCI Group Mask Register n */
-#define pREG_SEC0_CPLVL0 ((volatile uint32_t *)REG_SEC0_CPLVL0) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CPLVL1 ((volatile uint32_t *)REG_SEC0_CPLVL1) /* SEC0 SCI Priority Level Register n */
-#define pREG_SEC0_CSID0 ((volatile uint32_t *)REG_SEC0_CSID0) /* SEC0 SCI Source ID Register n */
-#define pREG_SEC0_CSID1 ((volatile uint32_t *)REG_SEC0_CSID1) /* SEC0 SCI Source ID Register n */
-
-/* SEC Fault Management Interface (SFI) Registers */
-#define pREG_SEC0_FCTL ((volatile uint32_t *)REG_SEC0_FCTL) /* SEC0 Fault Control Register */
-#define pREG_SEC0_FSTAT ((volatile uint32_t *)REG_SEC0_FSTAT) /* SEC0 Fault Status Register */
-#define pREG_SEC0_FSID ((volatile uint32_t *)REG_SEC0_FSID) /* SEC0 Fault Source ID Register */
-#define pREG_SEC0_FEND ((volatile uint32_t *)REG_SEC0_FEND) /* SEC0 Fault End Register */
-#define pREG_SEC0_FDLY ((volatile uint32_t *)REG_SEC0_FDLY) /* SEC0 Fault Delay Register */
-#define pREG_SEC0_FDLY_CUR ((volatile uint32_t *)REG_SEC0_FDLY_CUR) /* SEC0 Fault Delay Current Register */
-#define pREG_SEC0_FSRDLY ((volatile uint32_t *)REG_SEC0_FSRDLY) /* SEC0 Fault System Reset Delay Register */
-#define pREG_SEC0_FSRDLY_CUR ((volatile uint32_t *)REG_SEC0_FSRDLY_CUR) /* SEC0 Fault System Reset Delay Current Register */
-#define pREG_SEC0_FCOPP ((volatile uint32_t *)REG_SEC0_FCOPP) /* SEC0 Fault COP Period Register */
-#define pREG_SEC0_FCOPP_CUR ((volatile uint32_t *)REG_SEC0_FCOPP_CUR) /* SEC0 Fault COP Period Current Register */
-
-/* SEC Global Registers */
-#define pREG_SEC0_GCTL ((volatile uint32_t *)REG_SEC0_GCTL) /* SEC0 Global Control Register */
-#define pREG_SEC0_GSTAT ((volatile uint32_t *)REG_SEC0_GSTAT) /* SEC0 Global Status Register */
-#define pREG_SEC0_RAISE ((volatile uint32_t *)REG_SEC0_RAISE) /* SEC0 Global Raise Register */
-#define pREG_SEC0_END ((volatile uint32_t *)REG_SEC0_END) /* SEC0 Global End Register */
-
-/* SEC Source Interface (SSI) Registers */
-#define pREG_SEC0_SCTL0 ((volatile uint32_t *)REG_SEC0_SCTL0) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL1 ((volatile uint32_t *)REG_SEC0_SCTL1) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL2 ((volatile uint32_t *)REG_SEC0_SCTL2) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL3 ((volatile uint32_t *)REG_SEC0_SCTL3) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL4 ((volatile uint32_t *)REG_SEC0_SCTL4) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL5 ((volatile uint32_t *)REG_SEC0_SCTL5) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL6 ((volatile uint32_t *)REG_SEC0_SCTL6) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL7 ((volatile uint32_t *)REG_SEC0_SCTL7) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL8 ((volatile uint32_t *)REG_SEC0_SCTL8) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL9 ((volatile uint32_t *)REG_SEC0_SCTL9) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL10 ((volatile uint32_t *)REG_SEC0_SCTL10) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL11 ((volatile uint32_t *)REG_SEC0_SCTL11) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL12 ((volatile uint32_t *)REG_SEC0_SCTL12) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL13 ((volatile uint32_t *)REG_SEC0_SCTL13) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL14 ((volatile uint32_t *)REG_SEC0_SCTL14) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL15 ((volatile uint32_t *)REG_SEC0_SCTL15) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL16 ((volatile uint32_t *)REG_SEC0_SCTL16) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL17 ((volatile uint32_t *)REG_SEC0_SCTL17) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL18 ((volatile uint32_t *)REG_SEC0_SCTL18) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL19 ((volatile uint32_t *)REG_SEC0_SCTL19) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL20 ((volatile uint32_t *)REG_SEC0_SCTL20) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL21 ((volatile uint32_t *)REG_SEC0_SCTL21) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL22 ((volatile uint32_t *)REG_SEC0_SCTL22) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL23 ((volatile uint32_t *)REG_SEC0_SCTL23) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL24 ((volatile uint32_t *)REG_SEC0_SCTL24) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL25 ((volatile uint32_t *)REG_SEC0_SCTL25) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL26 ((volatile uint32_t *)REG_SEC0_SCTL26) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL27 ((volatile uint32_t *)REG_SEC0_SCTL27) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL28 ((volatile uint32_t *)REG_SEC0_SCTL28) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL29 ((volatile uint32_t *)REG_SEC0_SCTL29) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL30 ((volatile uint32_t *)REG_SEC0_SCTL30) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL31 ((volatile uint32_t *)REG_SEC0_SCTL31) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL32 ((volatile uint32_t *)REG_SEC0_SCTL32) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL33 ((volatile uint32_t *)REG_SEC0_SCTL33) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL34 ((volatile uint32_t *)REG_SEC0_SCTL34) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL35 ((volatile uint32_t *)REG_SEC0_SCTL35) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL36 ((volatile uint32_t *)REG_SEC0_SCTL36) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL37 ((volatile uint32_t *)REG_SEC0_SCTL37) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL38 ((volatile uint32_t *)REG_SEC0_SCTL38) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL39 ((volatile uint32_t *)REG_SEC0_SCTL39) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL40 ((volatile uint32_t *)REG_SEC0_SCTL40) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL41 ((volatile uint32_t *)REG_SEC0_SCTL41) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL42 ((volatile uint32_t *)REG_SEC0_SCTL42) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL43 ((volatile uint32_t *)REG_SEC0_SCTL43) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL44 ((volatile uint32_t *)REG_SEC0_SCTL44) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL45 ((volatile uint32_t *)REG_SEC0_SCTL45) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL46 ((volatile uint32_t *)REG_SEC0_SCTL46) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL47 ((volatile uint32_t *)REG_SEC0_SCTL47) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL48 ((volatile uint32_t *)REG_SEC0_SCTL48) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL49 ((volatile uint32_t *)REG_SEC0_SCTL49) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL50 ((volatile uint32_t *)REG_SEC0_SCTL50) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL51 ((volatile uint32_t *)REG_SEC0_SCTL51) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL52 ((volatile uint32_t *)REG_SEC0_SCTL52) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL53 ((volatile uint32_t *)REG_SEC0_SCTL53) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL54 ((volatile uint32_t *)REG_SEC0_SCTL54) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL55 ((volatile uint32_t *)REG_SEC0_SCTL55) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL56 ((volatile uint32_t *)REG_SEC0_SCTL56) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL57 ((volatile uint32_t *)REG_SEC0_SCTL57) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL58 ((volatile uint32_t *)REG_SEC0_SCTL58) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL59 ((volatile uint32_t *)REG_SEC0_SCTL59) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL60 ((volatile uint32_t *)REG_SEC0_SCTL60) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL61 ((volatile uint32_t *)REG_SEC0_SCTL61) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL62 ((volatile uint32_t *)REG_SEC0_SCTL62) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL63 ((volatile uint32_t *)REG_SEC0_SCTL63) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL64 ((volatile uint32_t *)REG_SEC0_SCTL64) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL65 ((volatile uint32_t *)REG_SEC0_SCTL65) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL66 ((volatile uint32_t *)REG_SEC0_SCTL66) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL67 ((volatile uint32_t *)REG_SEC0_SCTL67) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL68 ((volatile uint32_t *)REG_SEC0_SCTL68) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL69 ((volatile uint32_t *)REG_SEC0_SCTL69) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL70 ((volatile uint32_t *)REG_SEC0_SCTL70) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL71 ((volatile uint32_t *)REG_SEC0_SCTL71) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL72 ((volatile uint32_t *)REG_SEC0_SCTL72) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL73 ((volatile uint32_t *)REG_SEC0_SCTL73) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL74 ((volatile uint32_t *)REG_SEC0_SCTL74) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL75 ((volatile uint32_t *)REG_SEC0_SCTL75) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL76 ((volatile uint32_t *)REG_SEC0_SCTL76) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL77 ((volatile uint32_t *)REG_SEC0_SCTL77) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL78 ((volatile uint32_t *)REG_SEC0_SCTL78) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL79 ((volatile uint32_t *)REG_SEC0_SCTL79) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL80 ((volatile uint32_t *)REG_SEC0_SCTL80) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL81 ((volatile uint32_t *)REG_SEC0_SCTL81) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL82 ((volatile uint32_t *)REG_SEC0_SCTL82) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL83 ((volatile uint32_t *)REG_SEC0_SCTL83) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL84 ((volatile uint32_t *)REG_SEC0_SCTL84) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL85 ((volatile uint32_t *)REG_SEC0_SCTL85) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL86 ((volatile uint32_t *)REG_SEC0_SCTL86) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL87 ((volatile uint32_t *)REG_SEC0_SCTL87) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL88 ((volatile uint32_t *)REG_SEC0_SCTL88) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL89 ((volatile uint32_t *)REG_SEC0_SCTL89) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL90 ((volatile uint32_t *)REG_SEC0_SCTL90) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL91 ((volatile uint32_t *)REG_SEC0_SCTL91) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL92 ((volatile uint32_t *)REG_SEC0_SCTL92) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL93 ((volatile uint32_t *)REG_SEC0_SCTL93) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL94 ((volatile uint32_t *)REG_SEC0_SCTL94) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL95 ((volatile uint32_t *)REG_SEC0_SCTL95) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL96 ((volatile uint32_t *)REG_SEC0_SCTL96) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL97 ((volatile uint32_t *)REG_SEC0_SCTL97) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL98 ((volatile uint32_t *)REG_SEC0_SCTL98) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL99 ((volatile uint32_t *)REG_SEC0_SCTL99) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL100 ((volatile uint32_t *)REG_SEC0_SCTL100) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL101 ((volatile uint32_t *)REG_SEC0_SCTL101) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL102 ((volatile uint32_t *)REG_SEC0_SCTL102) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL103 ((volatile uint32_t *)REG_SEC0_SCTL103) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL104 ((volatile uint32_t *)REG_SEC0_SCTL104) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL105 ((volatile uint32_t *)REG_SEC0_SCTL105) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL106 ((volatile uint32_t *)REG_SEC0_SCTL106) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL107 ((volatile uint32_t *)REG_SEC0_SCTL107) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL108 ((volatile uint32_t *)REG_SEC0_SCTL108) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL109 ((volatile uint32_t *)REG_SEC0_SCTL109) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL110 ((volatile uint32_t *)REG_SEC0_SCTL110) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL111 ((volatile uint32_t *)REG_SEC0_SCTL111) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL112 ((volatile uint32_t *)REG_SEC0_SCTL112) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL113 ((volatile uint32_t *)REG_SEC0_SCTL113) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL114 ((volatile uint32_t *)REG_SEC0_SCTL114) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL115 ((volatile uint32_t *)REG_SEC0_SCTL115) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL116 ((volatile uint32_t *)REG_SEC0_SCTL116) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL117 ((volatile uint32_t *)REG_SEC0_SCTL117) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL118 ((volatile uint32_t *)REG_SEC0_SCTL118) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL119 ((volatile uint32_t *)REG_SEC0_SCTL119) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL120 ((volatile uint32_t *)REG_SEC0_SCTL120) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL121 ((volatile uint32_t *)REG_SEC0_SCTL121) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL122 ((volatile uint32_t *)REG_SEC0_SCTL122) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL123 ((volatile uint32_t *)REG_SEC0_SCTL123) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL124 ((volatile uint32_t *)REG_SEC0_SCTL124) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL125 ((volatile uint32_t *)REG_SEC0_SCTL125) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL126 ((volatile uint32_t *)REG_SEC0_SCTL126) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL127 ((volatile uint32_t *)REG_SEC0_SCTL127) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL128 ((volatile uint32_t *)REG_SEC0_SCTL128) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL129 ((volatile uint32_t *)REG_SEC0_SCTL129) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL130 ((volatile uint32_t *)REG_SEC0_SCTL130) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL131 ((volatile uint32_t *)REG_SEC0_SCTL131) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL132 ((volatile uint32_t *)REG_SEC0_SCTL132) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL133 ((volatile uint32_t *)REG_SEC0_SCTL133) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL134 ((volatile uint32_t *)REG_SEC0_SCTL134) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL135 ((volatile uint32_t *)REG_SEC0_SCTL135) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL136 ((volatile uint32_t *)REG_SEC0_SCTL136) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL137 ((volatile uint32_t *)REG_SEC0_SCTL137) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL138 ((volatile uint32_t *)REG_SEC0_SCTL138) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SCTL139 ((volatile uint32_t *)REG_SEC0_SCTL139) /* SEC0 Source Control Register n */
-#define pREG_SEC0_SSTAT0 ((volatile uint32_t *)REG_SEC0_SSTAT0) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT1 ((volatile uint32_t *)REG_SEC0_SSTAT1) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT2 ((volatile uint32_t *)REG_SEC0_SSTAT2) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT3 ((volatile uint32_t *)REG_SEC0_SSTAT3) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT4 ((volatile uint32_t *)REG_SEC0_SSTAT4) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT5 ((volatile uint32_t *)REG_SEC0_SSTAT5) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT6 ((volatile uint32_t *)REG_SEC0_SSTAT6) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT7 ((volatile uint32_t *)REG_SEC0_SSTAT7) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT8 ((volatile uint32_t *)REG_SEC0_SSTAT8) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT9 ((volatile uint32_t *)REG_SEC0_SSTAT9) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT10 ((volatile uint32_t *)REG_SEC0_SSTAT10) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT11 ((volatile uint32_t *)REG_SEC0_SSTAT11) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT12 ((volatile uint32_t *)REG_SEC0_SSTAT12) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT13 ((volatile uint32_t *)REG_SEC0_SSTAT13) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT14 ((volatile uint32_t *)REG_SEC0_SSTAT14) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT15 ((volatile uint32_t *)REG_SEC0_SSTAT15) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT16 ((volatile uint32_t *)REG_SEC0_SSTAT16) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT17 ((volatile uint32_t *)REG_SEC0_SSTAT17) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT18 ((volatile uint32_t *)REG_SEC0_SSTAT18) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT19 ((volatile uint32_t *)REG_SEC0_SSTAT19) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT20 ((volatile uint32_t *)REG_SEC0_SSTAT20) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT21 ((volatile uint32_t *)REG_SEC0_SSTAT21) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT22 ((volatile uint32_t *)REG_SEC0_SSTAT22) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT23 ((volatile uint32_t *)REG_SEC0_SSTAT23) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT24 ((volatile uint32_t *)REG_SEC0_SSTAT24) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT25 ((volatile uint32_t *)REG_SEC0_SSTAT25) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT26 ((volatile uint32_t *)REG_SEC0_SSTAT26) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT27 ((volatile uint32_t *)REG_SEC0_SSTAT27) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT28 ((volatile uint32_t *)REG_SEC0_SSTAT28) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT29 ((volatile uint32_t *)REG_SEC0_SSTAT29) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT30 ((volatile uint32_t *)REG_SEC0_SSTAT30) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT31 ((volatile uint32_t *)REG_SEC0_SSTAT31) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT32 ((volatile uint32_t *)REG_SEC0_SSTAT32) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT33 ((volatile uint32_t *)REG_SEC0_SSTAT33) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT34 ((volatile uint32_t *)REG_SEC0_SSTAT34) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT35 ((volatile uint32_t *)REG_SEC0_SSTAT35) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT36 ((volatile uint32_t *)REG_SEC0_SSTAT36) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT37 ((volatile uint32_t *)REG_SEC0_SSTAT37) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT38 ((volatile uint32_t *)REG_SEC0_SSTAT38) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT39 ((volatile uint32_t *)REG_SEC0_SSTAT39) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT40 ((volatile uint32_t *)REG_SEC0_SSTAT40) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT41 ((volatile uint32_t *)REG_SEC0_SSTAT41) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT42 ((volatile uint32_t *)REG_SEC0_SSTAT42) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT43 ((volatile uint32_t *)REG_SEC0_SSTAT43) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT44 ((volatile uint32_t *)REG_SEC0_SSTAT44) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT45 ((volatile uint32_t *)REG_SEC0_SSTAT45) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT46 ((volatile uint32_t *)REG_SEC0_SSTAT46) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT47 ((volatile uint32_t *)REG_SEC0_SSTAT47) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT48 ((volatile uint32_t *)REG_SEC0_SSTAT48) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT49 ((volatile uint32_t *)REG_SEC0_SSTAT49) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT50 ((volatile uint32_t *)REG_SEC0_SSTAT50) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT51 ((volatile uint32_t *)REG_SEC0_SSTAT51) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT52 ((volatile uint32_t *)REG_SEC0_SSTAT52) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT53 ((volatile uint32_t *)REG_SEC0_SSTAT53) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT54 ((volatile uint32_t *)REG_SEC0_SSTAT54) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT55 ((volatile uint32_t *)REG_SEC0_SSTAT55) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT56 ((volatile uint32_t *)REG_SEC0_SSTAT56) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT57 ((volatile uint32_t *)REG_SEC0_SSTAT57) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT58 ((volatile uint32_t *)REG_SEC0_SSTAT58) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT59 ((volatile uint32_t *)REG_SEC0_SSTAT59) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT60 ((volatile uint32_t *)REG_SEC0_SSTAT60) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT61 ((volatile uint32_t *)REG_SEC0_SSTAT61) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT62 ((volatile uint32_t *)REG_SEC0_SSTAT62) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT63 ((volatile uint32_t *)REG_SEC0_SSTAT63) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT64 ((volatile uint32_t *)REG_SEC0_SSTAT64) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT65 ((volatile uint32_t *)REG_SEC0_SSTAT65) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT66 ((volatile uint32_t *)REG_SEC0_SSTAT66) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT67 ((volatile uint32_t *)REG_SEC0_SSTAT67) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT68 ((volatile uint32_t *)REG_SEC0_SSTAT68) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT69 ((volatile uint32_t *)REG_SEC0_SSTAT69) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT70 ((volatile uint32_t *)REG_SEC0_SSTAT70) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT71 ((volatile uint32_t *)REG_SEC0_SSTAT71) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT72 ((volatile uint32_t *)REG_SEC0_SSTAT72) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT73 ((volatile uint32_t *)REG_SEC0_SSTAT73) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT74 ((volatile uint32_t *)REG_SEC0_SSTAT74) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT75 ((volatile uint32_t *)REG_SEC0_SSTAT75) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT76 ((volatile uint32_t *)REG_SEC0_SSTAT76) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT77 ((volatile uint32_t *)REG_SEC0_SSTAT77) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT78 ((volatile uint32_t *)REG_SEC0_SSTAT78) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT79 ((volatile uint32_t *)REG_SEC0_SSTAT79) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT80 ((volatile uint32_t *)REG_SEC0_SSTAT80) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT81 ((volatile uint32_t *)REG_SEC0_SSTAT81) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT82 ((volatile uint32_t *)REG_SEC0_SSTAT82) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT83 ((volatile uint32_t *)REG_SEC0_SSTAT83) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT84 ((volatile uint32_t *)REG_SEC0_SSTAT84) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT85 ((volatile uint32_t *)REG_SEC0_SSTAT85) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT86 ((volatile uint32_t *)REG_SEC0_SSTAT86) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT87 ((volatile uint32_t *)REG_SEC0_SSTAT87) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT88 ((volatile uint32_t *)REG_SEC0_SSTAT88) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT89 ((volatile uint32_t *)REG_SEC0_SSTAT89) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT90 ((volatile uint32_t *)REG_SEC0_SSTAT90) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT91 ((volatile uint32_t *)REG_SEC0_SSTAT91) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT92 ((volatile uint32_t *)REG_SEC0_SSTAT92) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT93 ((volatile uint32_t *)REG_SEC0_SSTAT93) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT94 ((volatile uint32_t *)REG_SEC0_SSTAT94) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT95 ((volatile uint32_t *)REG_SEC0_SSTAT95) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT96 ((volatile uint32_t *)REG_SEC0_SSTAT96) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT97 ((volatile uint32_t *)REG_SEC0_SSTAT97) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT98 ((volatile uint32_t *)REG_SEC0_SSTAT98) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT99 ((volatile uint32_t *)REG_SEC0_SSTAT99) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT100 ((volatile uint32_t *)REG_SEC0_SSTAT100) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT101 ((volatile uint32_t *)REG_SEC0_SSTAT101) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT102 ((volatile uint32_t *)REG_SEC0_SSTAT102) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT103 ((volatile uint32_t *)REG_SEC0_SSTAT103) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT104 ((volatile uint32_t *)REG_SEC0_SSTAT104) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT105 ((volatile uint32_t *)REG_SEC0_SSTAT105) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT106 ((volatile uint32_t *)REG_SEC0_SSTAT106) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT107 ((volatile uint32_t *)REG_SEC0_SSTAT107) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT108 ((volatile uint32_t *)REG_SEC0_SSTAT108) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT109 ((volatile uint32_t *)REG_SEC0_SSTAT109) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT110 ((volatile uint32_t *)REG_SEC0_SSTAT110) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT111 ((volatile uint32_t *)REG_SEC0_SSTAT111) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT112 ((volatile uint32_t *)REG_SEC0_SSTAT112) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT113 ((volatile uint32_t *)REG_SEC0_SSTAT113) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT114 ((volatile uint32_t *)REG_SEC0_SSTAT114) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT115 ((volatile uint32_t *)REG_SEC0_SSTAT115) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT116 ((volatile uint32_t *)REG_SEC0_SSTAT116) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT117 ((volatile uint32_t *)REG_SEC0_SSTAT117) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT118 ((volatile uint32_t *)REG_SEC0_SSTAT118) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT119 ((volatile uint32_t *)REG_SEC0_SSTAT119) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT120 ((volatile uint32_t *)REG_SEC0_SSTAT120) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT121 ((volatile uint32_t *)REG_SEC0_SSTAT121) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT122 ((volatile uint32_t *)REG_SEC0_SSTAT122) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT123 ((volatile uint32_t *)REG_SEC0_SSTAT123) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT124 ((volatile uint32_t *)REG_SEC0_SSTAT124) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT125 ((volatile uint32_t *)REG_SEC0_SSTAT125) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT126 ((volatile uint32_t *)REG_SEC0_SSTAT126) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT127 ((volatile uint32_t *)REG_SEC0_SSTAT127) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT128 ((volatile uint32_t *)REG_SEC0_SSTAT128) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT129 ((volatile uint32_t *)REG_SEC0_SSTAT129) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT130 ((volatile uint32_t *)REG_SEC0_SSTAT130) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT131 ((volatile uint32_t *)REG_SEC0_SSTAT131) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT132 ((volatile uint32_t *)REG_SEC0_SSTAT132) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT133 ((volatile uint32_t *)REG_SEC0_SSTAT133) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT134 ((volatile uint32_t *)REG_SEC0_SSTAT134) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT135 ((volatile uint32_t *)REG_SEC0_SSTAT135) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT136 ((volatile uint32_t *)REG_SEC0_SSTAT136) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT137 ((volatile uint32_t *)REG_SEC0_SSTAT137) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT138 ((volatile uint32_t *)REG_SEC0_SSTAT138) /* SEC0 Source Status Register n */
-#define pREG_SEC0_SSTAT139 ((volatile uint32_t *)REG_SEC0_SSTAT139) /* SEC0 Source Status Register n */
-
-
-/* =========================================================================
- TRU0
- ========================================================================= */
-#define pREG_TRU0_SSR0 ((volatile uint32_t *)REG_TRU0_SSR0) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR1 ((volatile uint32_t *)REG_TRU0_SSR1) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR2 ((volatile uint32_t *)REG_TRU0_SSR2) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR3 ((volatile uint32_t *)REG_TRU0_SSR3) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR4 ((volatile uint32_t *)REG_TRU0_SSR4) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR5 ((volatile uint32_t *)REG_TRU0_SSR5) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR6 ((volatile uint32_t *)REG_TRU0_SSR6) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR7 ((volatile uint32_t *)REG_TRU0_SSR7) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR8 ((volatile uint32_t *)REG_TRU0_SSR8) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR9 ((volatile uint32_t *)REG_TRU0_SSR9) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR10 ((volatile uint32_t *)REG_TRU0_SSR10) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR11 ((volatile uint32_t *)REG_TRU0_SSR11) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR12 ((volatile uint32_t *)REG_TRU0_SSR12) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR13 ((volatile uint32_t *)REG_TRU0_SSR13) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR14 ((volatile uint32_t *)REG_TRU0_SSR14) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR15 ((volatile uint32_t *)REG_TRU0_SSR15) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR16 ((volatile uint32_t *)REG_TRU0_SSR16) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR17 ((volatile uint32_t *)REG_TRU0_SSR17) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR18 ((volatile uint32_t *)REG_TRU0_SSR18) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR19 ((volatile uint32_t *)REG_TRU0_SSR19) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR20 ((volatile uint32_t *)REG_TRU0_SSR20) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR21 ((volatile uint32_t *)REG_TRU0_SSR21) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR22 ((volatile uint32_t *)REG_TRU0_SSR22) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR23 ((volatile uint32_t *)REG_TRU0_SSR23) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR24 ((volatile uint32_t *)REG_TRU0_SSR24) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR25 ((volatile uint32_t *)REG_TRU0_SSR25) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR26 ((volatile uint32_t *)REG_TRU0_SSR26) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR27 ((volatile uint32_t *)REG_TRU0_SSR27) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR28 ((volatile uint32_t *)REG_TRU0_SSR28) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR29 ((volatile uint32_t *)REG_TRU0_SSR29) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR30 ((volatile uint32_t *)REG_TRU0_SSR30) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR31 ((volatile uint32_t *)REG_TRU0_SSR31) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR32 ((volatile uint32_t *)REG_TRU0_SSR32) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR33 ((volatile uint32_t *)REG_TRU0_SSR33) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR34 ((volatile uint32_t *)REG_TRU0_SSR34) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR35 ((volatile uint32_t *)REG_TRU0_SSR35) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR36 ((volatile uint32_t *)REG_TRU0_SSR36) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR37 ((volatile uint32_t *)REG_TRU0_SSR37) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR38 ((volatile uint32_t *)REG_TRU0_SSR38) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR39 ((volatile uint32_t *)REG_TRU0_SSR39) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR40 ((volatile uint32_t *)REG_TRU0_SSR40) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR41 ((volatile uint32_t *)REG_TRU0_SSR41) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR42 ((volatile uint32_t *)REG_TRU0_SSR42) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR43 ((volatile uint32_t *)REG_TRU0_SSR43) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR44 ((volatile uint32_t *)REG_TRU0_SSR44) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR45 ((volatile uint32_t *)REG_TRU0_SSR45) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR46 ((volatile uint32_t *)REG_TRU0_SSR46) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR47 ((volatile uint32_t *)REG_TRU0_SSR47) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR48 ((volatile uint32_t *)REG_TRU0_SSR48) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR49 ((volatile uint32_t *)REG_TRU0_SSR49) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR50 ((volatile uint32_t *)REG_TRU0_SSR50) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR51 ((volatile uint32_t *)REG_TRU0_SSR51) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR52 ((volatile uint32_t *)REG_TRU0_SSR52) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR53 ((volatile uint32_t *)REG_TRU0_SSR53) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR54 ((volatile uint32_t *)REG_TRU0_SSR54) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR55 ((volatile uint32_t *)REG_TRU0_SSR55) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR56 ((volatile uint32_t *)REG_TRU0_SSR56) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR57 ((volatile uint32_t *)REG_TRU0_SSR57) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR58 ((volatile uint32_t *)REG_TRU0_SSR58) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR59 ((volatile uint32_t *)REG_TRU0_SSR59) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR60 ((volatile uint32_t *)REG_TRU0_SSR60) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR61 ((volatile uint32_t *)REG_TRU0_SSR61) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR62 ((volatile uint32_t *)REG_TRU0_SSR62) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR63 ((volatile uint32_t *)REG_TRU0_SSR63) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR64 ((volatile uint32_t *)REG_TRU0_SSR64) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR65 ((volatile uint32_t *)REG_TRU0_SSR65) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR66 ((volatile uint32_t *)REG_TRU0_SSR66) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR67 ((volatile uint32_t *)REG_TRU0_SSR67) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR68 ((volatile uint32_t *)REG_TRU0_SSR68) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR69 ((volatile uint32_t *)REG_TRU0_SSR69) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR70 ((volatile uint32_t *)REG_TRU0_SSR70) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR71 ((volatile uint32_t *)REG_TRU0_SSR71) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR72 ((volatile uint32_t *)REG_TRU0_SSR72) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR73 ((volatile uint32_t *)REG_TRU0_SSR73) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR74 ((volatile uint32_t *)REG_TRU0_SSR74) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR75 ((volatile uint32_t *)REG_TRU0_SSR75) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR76 ((volatile uint32_t *)REG_TRU0_SSR76) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR77 ((volatile uint32_t *)REG_TRU0_SSR77) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR78 ((volatile uint32_t *)REG_TRU0_SSR78) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR79 ((volatile uint32_t *)REG_TRU0_SSR79) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR80 ((volatile uint32_t *)REG_TRU0_SSR80) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR81 ((volatile uint32_t *)REG_TRU0_SSR81) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR82 ((volatile uint32_t *)REG_TRU0_SSR82) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR83 ((volatile uint32_t *)REG_TRU0_SSR83) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR84 ((volatile uint32_t *)REG_TRU0_SSR84) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR85 ((volatile uint32_t *)REG_TRU0_SSR85) /* TRU0 Slave Select Register */
-#define pREG_TRU0_SSR86 ((volatile uint32_t *)REG_TRU0_SSR86) /* TRU0 Slave Select Register */
-#define pREG_TRU0_MTR ((volatile uint32_t *)REG_TRU0_MTR) /* TRU0 Master Trigger Register */
-#define pREG_TRU0_ERRADDR ((volatile uint32_t *)REG_TRU0_ERRADDR) /* TRU0 Error Address Register */
-#define pREG_TRU0_STAT ((volatile uint32_t *)REG_TRU0_STAT) /* TRU0 Status Information Register */
-#define pREG_TRU0_REVID ((volatile uint32_t *)REG_TRU0_REVID) /* TRU0 Revision ID Register */
-#define pREG_TRU0_GCTL ((volatile uint32_t *)REG_TRU0_GCTL) /* TRU0 Global Control Register */
-
-
-/* =========================================================================
- RCU0
- ========================================================================= */
-#define pREG_RCU0_CTL ((volatile uint32_t *)REG_RCU0_CTL) /* RCU0 Control Register */
-#define pREG_RCU0_STAT ((volatile uint32_t *)REG_RCU0_STAT) /* RCU0 Status Register */
-#define pREG_RCU0_CRCTL ((volatile uint32_t *)REG_RCU0_CRCTL) /* RCU0 Core Reset Control Register */
-#define pREG_RCU0_CRSTAT ((volatile uint32_t *)REG_RCU0_CRSTAT) /* RCU0 Core Reset Status Register */
-#define pREG_RCU0_SIDIS ((volatile uint32_t *)REG_RCU0_SIDIS) /* RCU0 System Interface Disable Register */
-#define pREG_RCU0_SISTAT ((volatile uint32_t *)REG_RCU0_SISTAT) /* RCU0 System Interface Status Register */
-#define pREG_RCU0_SVECT_LCK ((volatile uint32_t *)REG_RCU0_SVECT_LCK) /* RCU0 SVECT Lock Register */
-#define pREG_RCU0_BCODE ((volatile uint32_t *)REG_RCU0_BCODE) /* RCU0 Boot Code Register */
-#define pREG_RCU0_SVECT0 ((void * volatile *)REG_RCU0_SVECT0) /* RCU0 Software Vector Register n */
-#define pREG_RCU0_SVECT1 ((void * volatile *)REG_RCU0_SVECT1) /* RCU0 Software Vector Register n */
-
-
-/* =========================================================================
- SPU0
- ========================================================================= */
-#define pREG_SPU0_CTL ((volatile uint32_t *)REG_SPU0_CTL) /* SPU0 Control Register */
-#define pREG_SPU0_STAT ((volatile uint32_t *)REG_SPU0_STAT) /* SPU0 Status Register */
-#define pREG_SPU0_WP0 ((volatile uint32_t *)REG_SPU0_WP0) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP1 ((volatile uint32_t *)REG_SPU0_WP1) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP2 ((volatile uint32_t *)REG_SPU0_WP2) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP3 ((volatile uint32_t *)REG_SPU0_WP3) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP4 ((volatile uint32_t *)REG_SPU0_WP4) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP5 ((volatile uint32_t *)REG_SPU0_WP5) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP6 ((volatile uint32_t *)REG_SPU0_WP6) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP7 ((volatile uint32_t *)REG_SPU0_WP7) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP8 ((volatile uint32_t *)REG_SPU0_WP8) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP9 ((volatile uint32_t *)REG_SPU0_WP9) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP10 ((volatile uint32_t *)REG_SPU0_WP10) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP11 ((volatile uint32_t *)REG_SPU0_WP11) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP12 ((volatile uint32_t *)REG_SPU0_WP12) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP13 ((volatile uint32_t *)REG_SPU0_WP13) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP14 ((volatile uint32_t *)REG_SPU0_WP14) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP15 ((volatile uint32_t *)REG_SPU0_WP15) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP16 ((volatile uint32_t *)REG_SPU0_WP16) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP17 ((volatile uint32_t *)REG_SPU0_WP17) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP18 ((volatile uint32_t *)REG_SPU0_WP18) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP19 ((volatile uint32_t *)REG_SPU0_WP19) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP20 ((volatile uint32_t *)REG_SPU0_WP20) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP21 ((volatile uint32_t *)REG_SPU0_WP21) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP22 ((volatile uint32_t *)REG_SPU0_WP22) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP23 ((volatile uint32_t *)REG_SPU0_WP23) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP24 ((volatile uint32_t *)REG_SPU0_WP24) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP25 ((volatile uint32_t *)REG_SPU0_WP25) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP26 ((volatile uint32_t *)REG_SPU0_WP26) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP27 ((volatile uint32_t *)REG_SPU0_WP27) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP28 ((volatile uint32_t *)REG_SPU0_WP28) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP29 ((volatile uint32_t *)REG_SPU0_WP29) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP30 ((volatile uint32_t *)REG_SPU0_WP30) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP31 ((volatile uint32_t *)REG_SPU0_WP31) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP32 ((volatile uint32_t *)REG_SPU0_WP32) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP33 ((volatile uint32_t *)REG_SPU0_WP33) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP34 ((volatile uint32_t *)REG_SPU0_WP34) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP35 ((volatile uint32_t *)REG_SPU0_WP35) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP36 ((volatile uint32_t *)REG_SPU0_WP36) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP37 ((volatile uint32_t *)REG_SPU0_WP37) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP38 ((volatile uint32_t *)REG_SPU0_WP38) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP39 ((volatile uint32_t *)REG_SPU0_WP39) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP40 ((volatile uint32_t *)REG_SPU0_WP40) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP41 ((volatile uint32_t *)REG_SPU0_WP41) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP42 ((volatile uint32_t *)REG_SPU0_WP42) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP43 ((volatile uint32_t *)REG_SPU0_WP43) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP44 ((volatile uint32_t *)REG_SPU0_WP44) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP45 ((volatile uint32_t *)REG_SPU0_WP45) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP46 ((volatile uint32_t *)REG_SPU0_WP46) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP47 ((volatile uint32_t *)REG_SPU0_WP47) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP48 ((volatile uint32_t *)REG_SPU0_WP48) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP49 ((volatile uint32_t *)REG_SPU0_WP49) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP50 ((volatile uint32_t *)REG_SPU0_WP50) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP51 ((volatile uint32_t *)REG_SPU0_WP51) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP52 ((volatile uint32_t *)REG_SPU0_WP52) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP53 ((volatile uint32_t *)REG_SPU0_WP53) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP54 ((volatile uint32_t *)REG_SPU0_WP54) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP55 ((volatile uint32_t *)REG_SPU0_WP55) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP56 ((volatile uint32_t *)REG_SPU0_WP56) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP57 ((volatile uint32_t *)REG_SPU0_WP57) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP58 ((volatile uint32_t *)REG_SPU0_WP58) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP59 ((volatile uint32_t *)REG_SPU0_WP59) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP60 ((volatile uint32_t *)REG_SPU0_WP60) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP61 ((volatile uint32_t *)REG_SPU0_WP61) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP62 ((volatile uint32_t *)REG_SPU0_WP62) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP63 ((volatile uint32_t *)REG_SPU0_WP63) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP64 ((volatile uint32_t *)REG_SPU0_WP64) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP65 ((volatile uint32_t *)REG_SPU0_WP65) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP66 ((volatile uint32_t *)REG_SPU0_WP66) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP67 ((volatile uint32_t *)REG_SPU0_WP67) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP68 ((volatile uint32_t *)REG_SPU0_WP68) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP69 ((volatile uint32_t *)REG_SPU0_WP69) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP70 ((volatile uint32_t *)REG_SPU0_WP70) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP71 ((volatile uint32_t *)REG_SPU0_WP71) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP72 ((volatile uint32_t *)REG_SPU0_WP72) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP73 ((volatile uint32_t *)REG_SPU0_WP73) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP74 ((volatile uint32_t *)REG_SPU0_WP74) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP75 ((volatile uint32_t *)REG_SPU0_WP75) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP76 ((volatile uint32_t *)REG_SPU0_WP76) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP77 ((volatile uint32_t *)REG_SPU0_WP77) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP78 ((volatile uint32_t *)REG_SPU0_WP78) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP79 ((volatile uint32_t *)REG_SPU0_WP79) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP80 ((volatile uint32_t *)REG_SPU0_WP80) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP81 ((volatile uint32_t *)REG_SPU0_WP81) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP82 ((volatile uint32_t *)REG_SPU0_WP82) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP83 ((volatile uint32_t *)REG_SPU0_WP83) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP84 ((volatile uint32_t *)REG_SPU0_WP84) /* SPU0 Write Protect Register n */
-#define pREG_SPU0_WP85 ((volatile uint32_t *)REG_SPU0_WP85) /* SPU0 Write Protect Register n */
-
-
-/* =========================================================================
- CGU0
- ========================================================================= */
-#define pREG_CGU0_CTL ((volatile uint32_t *)REG_CGU0_CTL) /* CGU0 Control Register */
-#define pREG_CGU0_STAT ((volatile uint32_t *)REG_CGU0_STAT) /* CGU0 Status Register */
-#define pREG_CGU0_DIV ((volatile uint32_t *)REG_CGU0_DIV) /* CGU0 Divisor Register */
-#define pREG_CGU0_CLKOUTSEL ((volatile uint32_t *)REG_CGU0_CLKOUTSEL) /* CGU0 CLKOUT Select Register */
-
-
-/* =========================================================================
- DPM0
- ========================================================================= */
-#define pREG_DPM0_CTL ((volatile uint32_t *)REG_DPM0_CTL) /* DPM0 Control Register */
-#define pREG_DPM0_STAT ((volatile uint32_t *)REG_DPM0_STAT) /* DPM0 Status Register */
-#define pREG_DPM0_CCBF_DIS ((volatile uint32_t *)REG_DPM0_CCBF_DIS) /* DPM0 Core Clock Buffer Disable Register */
-#define pREG_DPM0_CCBF_EN ((volatile uint32_t *)REG_DPM0_CCBF_EN) /* DPM0 Core Clock Buffer Enable Register */
-#define pREG_DPM0_CCBF_STAT ((volatile uint32_t *)REG_DPM0_CCBF_STAT) /* DPM0 Core Clock Buffer Status Register */
-#define pREG_DPM0_CCBF_STAT_STKY ((volatile uint32_t *)REG_DPM0_CCBF_STAT_STKY) /* DPM0 Core Clock Buffer Status Sticky Register */
-#define pREG_DPM0_SCBF_DIS ((volatile uint32_t *)REG_DPM0_SCBF_DIS) /* DPM0 System Clock Buffer Disable Register */
-#define pREG_DPM0_WAKE_EN ((volatile uint32_t *)REG_DPM0_WAKE_EN) /* DPM0 Wakeup Enable Register */
-#define pREG_DPM0_WAKE_POL ((volatile uint32_t *)REG_DPM0_WAKE_POL) /* DPM0 Wakeup Polarity Register */
-#define pREG_DPM0_WAKE_STAT ((volatile uint32_t *)REG_DPM0_WAKE_STAT) /* DPM0 Wakeup Status Register */
-#define pREG_DPM0_HIB_DIS ((volatile uint32_t *)REG_DPM0_HIB_DIS) /* DPM0 Hibernate Disable Register */
-#define pREG_DPM0_PGCNTR ((volatile uint32_t *)REG_DPM0_PGCNTR) /* DPM0 Power Good Counter Register */
-#define pREG_DPM0_RESTORE0 ((volatile uint32_t *)REG_DPM0_RESTORE0) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE1 ((volatile uint32_t *)REG_DPM0_RESTORE1) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE2 ((volatile uint32_t *)REG_DPM0_RESTORE2) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE3 ((volatile uint32_t *)REG_DPM0_RESTORE3) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE4 ((volatile uint32_t *)REG_DPM0_RESTORE4) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE5 ((volatile uint32_t *)REG_DPM0_RESTORE5) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE6 ((volatile uint32_t *)REG_DPM0_RESTORE6) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE7 ((volatile uint32_t *)REG_DPM0_RESTORE7) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE8 ((volatile uint32_t *)REG_DPM0_RESTORE8) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE9 ((volatile uint32_t *)REG_DPM0_RESTORE9) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE10 ((volatile uint32_t *)REG_DPM0_RESTORE10) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE11 ((volatile uint32_t *)REG_DPM0_RESTORE11) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE12 ((volatile uint32_t *)REG_DPM0_RESTORE12) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE13 ((volatile uint32_t *)REG_DPM0_RESTORE13) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE14 ((volatile uint32_t *)REG_DPM0_RESTORE14) /* DPM0 Restore n Register */
-#define pREG_DPM0_RESTORE15 ((volatile uint32_t *)REG_DPM0_RESTORE15) /* DPM0 Restore n Register */
-
-
-/* =========================================================================
- EFS0
- ========================================================================= */
-#define pREG_EFS0_CTL ((volatile uint32_t *)REG_EFS0_CTL) /* EFS0 Control Register */
-#define pREG_EFS0_DAT0 ((volatile uint32_t *)REG_EFS0_DAT0) /* EFS0 Data Register 0 */
-#define pREG_EFS0_DAT1 ((volatile uint32_t *)REG_EFS0_DAT1) /* EFS0 Data Register 1 */
-#define pREG_EFS0_DAT2 ((volatile uint32_t *)REG_EFS0_DAT2) /* EFS0 Data Register 2 */
-#define pREG_EFS0_DAT3 ((volatile uint32_t *)REG_EFS0_DAT3) /* EFS0 Data Register 3 */
-#define pREG_EFS0_DAT4 ((volatile uint32_t *)REG_EFS0_DAT4) /* EFS0 Data Register 4 */
-#define pREG_EFS0_DAT5 ((volatile uint32_t *)REG_EFS0_DAT5) /* EFS0 Data Register 5 */
-#define pREG_EFS0_DAT6 ((volatile uint32_t *)REG_EFS0_DAT6) /* EFS0 Data Register 6 */
-#define pREG_EFS0_DAT7 ((volatile uint32_t *)REG_EFS0_DAT7) /* EFS0 Data Register 7 */
-
-
-/* =========================================================================
- USB0
- ========================================================================= */
-#define pREG_USB0_FADDR ((volatile uint8_t *)REG_USB0_FADDR) /* USB0 Function Address Register */
-#define pREG_USB0_POWER ((volatile uint8_t *)REG_USB0_POWER) /* USB0 Power and Device Control Register */
-#define pREG_USB0_INTRTX ((volatile uint16_t *)REG_USB0_INTRTX) /* USB0 Transmit Interrupt Register */
-#define pREG_USB0_INTRRX ((volatile uint16_t *)REG_USB0_INTRRX) /* USB0 Receive Interrupt Register */
-#define pREG_USB0_INTRTXE ((volatile uint16_t *)REG_USB0_INTRTXE) /* USB0 Transmit Interrupt Enable Register */
-#define pREG_USB0_INTRRXE ((volatile uint16_t *)REG_USB0_INTRRXE) /* USB0 Receive Interrupt Enable Register */
-#define pREG_USB0_IRQ ((volatile uint8_t *)REG_USB0_IRQ) /* USB0 Common Interrupts Register */
-#define pREG_USB0_IEN ((volatile uint8_t *)REG_USB0_IEN) /* USB0 Common Interrupts Enable Register */
-#define pREG_USB0_FRAME ((volatile uint16_t *)REG_USB0_FRAME) /* USB0 Frame Number Register */
-#define pREG_USB0_INDEX ((volatile uint8_t *)REG_USB0_INDEX) /* USB0 Index Register */
-#define pREG_USB0_TESTMODE ((volatile uint8_t *)REG_USB0_TESTMODE) /* USB0 Testmode Register */
-#define pREG_USB0_EPI_TXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_TXMAXP0) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EPI_TXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_P0) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EPI_TXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_TXCSR_H0) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0I_CSR0_P ((volatile uint16_t *)REG_USB0_EP0I_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CSR0_H ((volatile uint16_t *)REG_USB0_EP0I_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXMAXP0 ((volatile uint16_t *)REG_USB0_EPI_RXMAXP0) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EPI_RXCSR_H0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_H0) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EPI_RXCSR_P0 ((volatile uint16_t *)REG_USB0_EPI_RXCSR_P0) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0I_CNT0 ((volatile uint16_t *)REG_USB0_EP0I_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EPI_RXCNT0 ((volatile uint16_t *)REG_USB0_EPI_RXCNT0) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EPI_TXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_TXTYPE0) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0I_TYPE0 ((volatile uint8_t *)REG_USB0_EP0I_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EPI_TXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_TXINTERVAL0) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0I_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0I_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EPI_RXTYPE0 ((volatile uint8_t *)REG_USB0_EPI_RXTYPE0) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EPI_RXINTERVAL0 ((volatile uint8_t *)REG_USB0_EPI_RXINTERVAL0) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0I_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0I_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_FIFOB0 ((volatile uint8_t *)REG_USB0_FIFOB0) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB1 ((volatile uint8_t *)REG_USB0_FIFOB1) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB2 ((volatile uint8_t *)REG_USB0_FIFOB2) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB3 ((volatile uint8_t *)REG_USB0_FIFOB3) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB4 ((volatile uint8_t *)REG_USB0_FIFOB4) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB5 ((volatile uint8_t *)REG_USB0_FIFOB5) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB6 ((volatile uint8_t *)REG_USB0_FIFOB6) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB7 ((volatile uint8_t *)REG_USB0_FIFOB7) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB8 ((volatile uint8_t *)REG_USB0_FIFOB8) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB9 ((volatile uint8_t *)REG_USB0_FIFOB9) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB10 ((volatile uint8_t *)REG_USB0_FIFOB10) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOB11 ((volatile uint8_t *)REG_USB0_FIFOB11) /* USB0 FIFO Byte (8-Bit) Register */
-#define pREG_USB0_FIFOH0 ((volatile uint16_t *)REG_USB0_FIFOH0) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH1 ((volatile uint16_t *)REG_USB0_FIFOH1) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH2 ((volatile uint16_t *)REG_USB0_FIFOH2) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH3 ((volatile uint16_t *)REG_USB0_FIFOH3) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH4 ((volatile uint16_t *)REG_USB0_FIFOH4) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH5 ((volatile uint16_t *)REG_USB0_FIFOH5) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH6 ((volatile uint16_t *)REG_USB0_FIFOH6) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH7 ((volatile uint16_t *)REG_USB0_FIFOH7) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH8 ((volatile uint16_t *)REG_USB0_FIFOH8) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH9 ((volatile uint16_t *)REG_USB0_FIFOH9) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH10 ((volatile uint16_t *)REG_USB0_FIFOH10) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFOH11 ((volatile uint16_t *)REG_USB0_FIFOH11) /* USB0 FIFO Half-Word (16-Bit) Register */
-#define pREG_USB0_FIFO0 ((volatile uint32_t *)REG_USB0_FIFO0) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO1 ((volatile uint32_t *)REG_USB0_FIFO1) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO2 ((volatile uint32_t *)REG_USB0_FIFO2) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO3 ((volatile uint32_t *)REG_USB0_FIFO3) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO4 ((volatile uint32_t *)REG_USB0_FIFO4) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO5 ((volatile uint32_t *)REG_USB0_FIFO5) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO6 ((volatile uint32_t *)REG_USB0_FIFO6) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO7 ((volatile uint32_t *)REG_USB0_FIFO7) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO8 ((volatile uint32_t *)REG_USB0_FIFO8) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO9 ((volatile uint32_t *)REG_USB0_FIFO9) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO10 ((volatile uint32_t *)REG_USB0_FIFO10) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_FIFO11 ((volatile uint32_t *)REG_USB0_FIFO11) /* USB0 FIFO Word (32-Bit) Register */
-#define pREG_USB0_DEV_CTL ((volatile uint8_t *)REG_USB0_DEV_CTL) /* USB0 Device Control Register */
-#define pREG_USB0_TXFIFOSZ ((volatile uint8_t *)REG_USB0_TXFIFOSZ) /* USB0 Transmit FIFO Size Register */
-#define pREG_USB0_RXFIFOSZ ((volatile uint8_t *)REG_USB0_RXFIFOSZ) /* USB0 Receive FIFO Size Register */
-#define pREG_USB0_TXFIFOADDR ((volatile uint16_t *)REG_USB0_TXFIFOADDR) /* USB0 Transmit FIFO Address Register */
-#define pREG_USB0_RXFIFOADDR ((volatile uint16_t *)REG_USB0_RXFIFOADDR) /* USB0 Receive FIFO Address Register */
-#define pREG_USB0_EPINFO ((volatile uint8_t *)REG_USB0_EPINFO) /* USB0 Endpoint Information Register */
-#define pREG_USB0_RAMINFO ((volatile uint8_t *)REG_USB0_RAMINFO) /* USB0 RAM Information Register */
-#define pREG_USB0_LINKINFO ((volatile uint8_t *)REG_USB0_LINKINFO) /* USB0 Link Information Register */
-#define pREG_USB0_VPLEN ((volatile uint8_t *)REG_USB0_VPLEN) /* USB0 VBUS Pulse Length Register */
-#define pREG_USB0_HS_EOF1 ((volatile uint8_t *)REG_USB0_HS_EOF1) /* USB0 High-Speed EOF 1 Register */
-#define pREG_USB0_FS_EOF1 ((volatile uint8_t *)REG_USB0_FS_EOF1) /* USB0 Full-Speed EOF 1 Register */
-#define pREG_USB0_LS_EOF1 ((volatile uint8_t *)REG_USB0_LS_EOF1) /* USB0 Low-Speed EOF 1 Register */
-#define pREG_USB0_SOFT_RST ((volatile uint8_t *)REG_USB0_SOFT_RST) /* USB0 Software Reset Register */
-#define pREG_USB0_MP0_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP1_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP2_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP3_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP4_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP5_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP6_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP7_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP8_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP9_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP10_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP11_TXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_TXFUNCADDR) /* USB0 MPn Transmit Function Address Register */
-#define pREG_USB0_MP0_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP1_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP2_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP3_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP4_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP5_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP6_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP7_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP8_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP9_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP10_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP11_TXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_TXHUBADDR) /* USB0 MPn Transmit Hub Address Register */
-#define pREG_USB0_MP0_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP1_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP2_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP3_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP4_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP5_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP6_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP7_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP8_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP9_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP10_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP11_TXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_TXHUBPORT) /* USB0 MPn Transmit Hub Port Register */
-#define pREG_USB0_MP0_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP0_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP1_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP1_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP2_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP2_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP3_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP3_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP4_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP4_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP5_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP5_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP6_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP6_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP7_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP7_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP8_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP8_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP9_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP9_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP10_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP10_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP11_RXFUNCADDR ((volatile uint8_t *)REG_USB0_MP11_RXFUNCADDR) /* USB0 MPn Receive Function Address Register */
-#define pREG_USB0_MP0_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP0_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP1_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP1_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP2_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP2_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP3_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP3_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP4_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP4_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP5_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP5_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP6_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP6_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP7_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP7_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP8_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP8_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP9_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP9_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP10_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP10_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP11_RXHUBADDR ((volatile uint8_t *)REG_USB0_MP11_RXHUBADDR) /* USB0 MPn Receive Hub Address Register */
-#define pREG_USB0_MP0_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP0_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP1_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP1_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP2_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP2_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP3_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP3_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP4_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP4_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP5_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP5_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP6_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP6_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP7_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP7_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP8_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP8_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP9_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP9_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP10_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP10_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_MP11_RXHUBPORT ((volatile uint8_t *)REG_USB0_MP11_RXHUBPORT) /* USB0 MPn Receive Hub Port Register */
-#define pREG_USB0_EP0_TXMAXP ((volatile uint16_t *)REG_USB0_EP0_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP1_TXMAXP ((volatile uint16_t *)REG_USB0_EP1_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP2_TXMAXP ((volatile uint16_t *)REG_USB0_EP2_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP3_TXMAXP ((volatile uint16_t *)REG_USB0_EP3_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP4_TXMAXP ((volatile uint16_t *)REG_USB0_EP4_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP5_TXMAXP ((volatile uint16_t *)REG_USB0_EP5_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP6_TXMAXP ((volatile uint16_t *)REG_USB0_EP6_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP7_TXMAXP ((volatile uint16_t *)REG_USB0_EP7_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP8_TXMAXP ((volatile uint16_t *)REG_USB0_EP8_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP9_TXMAXP ((volatile uint16_t *)REG_USB0_EP9_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP10_TXMAXP ((volatile uint16_t *)REG_USB0_EP10_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP11_TXMAXP ((volatile uint16_t *)REG_USB0_EP11_TXMAXP) /* USB0 EPn Transmit Maximum Packet Length Register */
-#define pREG_USB0_EP0_CSR0_H ((volatile uint16_t *)REG_USB0_EP0_CSR0_H) /* USB0 EP0 Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_TXCSR_H ((volatile uint16_t *)REG_USB0_EP0_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_TXCSR_H ((volatile uint16_t *)REG_USB0_EP1_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_TXCSR_H ((volatile uint16_t *)REG_USB0_EP2_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_TXCSR_H ((volatile uint16_t *)REG_USB0_EP3_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_TXCSR_H ((volatile uint16_t *)REG_USB0_EP4_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_TXCSR_H ((volatile uint16_t *)REG_USB0_EP5_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_TXCSR_H ((volatile uint16_t *)REG_USB0_EP6_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_TXCSR_H ((volatile uint16_t *)REG_USB0_EP7_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_TXCSR_H ((volatile uint16_t *)REG_USB0_EP8_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_TXCSR_H ((volatile uint16_t *)REG_USB0_EP9_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_TXCSR_H ((volatile uint16_t *)REG_USB0_EP10_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_TXCSR_H ((volatile uint16_t *)REG_USB0_EP11_TXCSR_H) /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_CSR0_P ((volatile uint16_t *)REG_USB0_EP0_CSR0_P) /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_TXCSR_P ((volatile uint16_t *)REG_USB0_EP0_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_TXCSR_P ((volatile uint16_t *)REG_USB0_EP1_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_TXCSR_P ((volatile uint16_t *)REG_USB0_EP2_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_TXCSR_P ((volatile uint16_t *)REG_USB0_EP3_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_TXCSR_P ((volatile uint16_t *)REG_USB0_EP4_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_TXCSR_P ((volatile uint16_t *)REG_USB0_EP5_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_TXCSR_P ((volatile uint16_t *)REG_USB0_EP6_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_TXCSR_P ((volatile uint16_t *)REG_USB0_EP7_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_TXCSR_P ((volatile uint16_t *)REG_USB0_EP8_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_TXCSR_P ((volatile uint16_t *)REG_USB0_EP9_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_TXCSR_P ((volatile uint16_t *)REG_USB0_EP10_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_TXCSR_P ((volatile uint16_t *)REG_USB0_EP11_TXCSR_P) /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_RXMAXP ((volatile uint16_t *)REG_USB0_EP0_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP1_RXMAXP ((volatile uint16_t *)REG_USB0_EP1_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP2_RXMAXP ((volatile uint16_t *)REG_USB0_EP2_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP3_RXMAXP ((volatile uint16_t *)REG_USB0_EP3_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP4_RXMAXP ((volatile uint16_t *)REG_USB0_EP4_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP5_RXMAXP ((volatile uint16_t *)REG_USB0_EP5_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP6_RXMAXP ((volatile uint16_t *)REG_USB0_EP6_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP7_RXMAXP ((volatile uint16_t *)REG_USB0_EP7_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP8_RXMAXP ((volatile uint16_t *)REG_USB0_EP8_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP9_RXMAXP ((volatile uint16_t *)REG_USB0_EP9_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP10_RXMAXP ((volatile uint16_t *)REG_USB0_EP10_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP11_RXMAXP ((volatile uint16_t *)REG_USB0_EP11_RXMAXP) /* USB0 EPn Receive Maximum Packet Length Register */
-#define pREG_USB0_EP0_RXCSR_H ((volatile uint16_t *)REG_USB0_EP0_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP1_RXCSR_H ((volatile uint16_t *)REG_USB0_EP1_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP2_RXCSR_H ((volatile uint16_t *)REG_USB0_EP2_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP3_RXCSR_H ((volatile uint16_t *)REG_USB0_EP3_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP4_RXCSR_H ((volatile uint16_t *)REG_USB0_EP4_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP5_RXCSR_H ((volatile uint16_t *)REG_USB0_EP5_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP6_RXCSR_H ((volatile uint16_t *)REG_USB0_EP6_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP7_RXCSR_H ((volatile uint16_t *)REG_USB0_EP7_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP8_RXCSR_H ((volatile uint16_t *)REG_USB0_EP8_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP9_RXCSR_H ((volatile uint16_t *)REG_USB0_EP9_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP10_RXCSR_H ((volatile uint16_t *)REG_USB0_EP10_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP11_RXCSR_H ((volatile uint16_t *)REG_USB0_EP11_RXCSR_H) /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define pREG_USB0_EP0_RXCSR_P ((volatile uint16_t *)REG_USB0_EP0_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP1_RXCSR_P ((volatile uint16_t *)REG_USB0_EP1_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP2_RXCSR_P ((volatile uint16_t *)REG_USB0_EP2_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP3_RXCSR_P ((volatile uint16_t *)REG_USB0_EP3_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP4_RXCSR_P ((volatile uint16_t *)REG_USB0_EP4_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP5_RXCSR_P ((volatile uint16_t *)REG_USB0_EP5_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP6_RXCSR_P ((volatile uint16_t *)REG_USB0_EP6_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP7_RXCSR_P ((volatile uint16_t *)REG_USB0_EP7_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP8_RXCSR_P ((volatile uint16_t *)REG_USB0_EP8_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP9_RXCSR_P ((volatile uint16_t *)REG_USB0_EP9_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP10_RXCSR_P ((volatile uint16_t *)REG_USB0_EP10_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP11_RXCSR_P ((volatile uint16_t *)REG_USB0_EP11_RXCSR_P) /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define pREG_USB0_EP0_CNT0 ((volatile uint16_t *)REG_USB0_EP0_CNT0) /* USB0 EP0 Number of Received Bytes Register */
-#define pREG_USB0_EP0_RXCNT ((volatile uint16_t *)REG_USB0_EP0_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP1_RXCNT ((volatile uint16_t *)REG_USB0_EP1_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP2_RXCNT ((volatile uint16_t *)REG_USB0_EP2_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP3_RXCNT ((volatile uint16_t *)REG_USB0_EP3_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP4_RXCNT ((volatile uint16_t *)REG_USB0_EP4_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP5_RXCNT ((volatile uint16_t *)REG_USB0_EP5_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP6_RXCNT ((volatile uint16_t *)REG_USB0_EP6_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP7_RXCNT ((volatile uint16_t *)REG_USB0_EP7_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP8_RXCNT ((volatile uint16_t *)REG_USB0_EP8_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP9_RXCNT ((volatile uint16_t *)REG_USB0_EP9_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP10_RXCNT ((volatile uint16_t *)REG_USB0_EP10_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP11_RXCNT ((volatile uint16_t *)REG_USB0_EP11_RXCNT) /* USB0 EPn Number of Bytes Received Register */
-#define pREG_USB0_EP0_TYPE0 ((volatile uint8_t *)REG_USB0_EP0_TYPE0) /* USB0 EP0 Connection Type Register */
-#define pREG_USB0_EP0_TXTYPE ((volatile uint8_t *)REG_USB0_EP0_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP1_TXTYPE ((volatile uint8_t *)REG_USB0_EP1_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP2_TXTYPE ((volatile uint8_t *)REG_USB0_EP2_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP3_TXTYPE ((volatile uint8_t *)REG_USB0_EP3_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP4_TXTYPE ((volatile uint8_t *)REG_USB0_EP4_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP5_TXTYPE ((volatile uint8_t *)REG_USB0_EP5_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP6_TXTYPE ((volatile uint8_t *)REG_USB0_EP6_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP7_TXTYPE ((volatile uint8_t *)REG_USB0_EP7_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP8_TXTYPE ((volatile uint8_t *)REG_USB0_EP8_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP9_TXTYPE ((volatile uint8_t *)REG_USB0_EP9_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP10_TXTYPE ((volatile uint8_t *)REG_USB0_EP10_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP11_TXTYPE ((volatile uint8_t *)REG_USB0_EP11_TXTYPE) /* USB0 EPn Transmit Type Register */
-#define pREG_USB0_EP0_NAKLIMIT0 ((volatile uint8_t *)REG_USB0_EP0_NAKLIMIT0) /* USB0 EP0 NAK Limit Register */
-#define pREG_USB0_EP0_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP1_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP2_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP3_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP4_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP5_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP6_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP7_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP8_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP9_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP10_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP11_TXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_TXINTERVAL) /* USB0 EPn Transmit Polling Interval Register */
-#define pREG_USB0_EP0_RXTYPE ((volatile uint8_t *)REG_USB0_EP0_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP1_RXTYPE ((volatile uint8_t *)REG_USB0_EP1_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP2_RXTYPE ((volatile uint8_t *)REG_USB0_EP2_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP3_RXTYPE ((volatile uint8_t *)REG_USB0_EP3_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP4_RXTYPE ((volatile uint8_t *)REG_USB0_EP4_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP5_RXTYPE ((volatile uint8_t *)REG_USB0_EP5_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP6_RXTYPE ((volatile uint8_t *)REG_USB0_EP6_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP7_RXTYPE ((volatile uint8_t *)REG_USB0_EP7_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP8_RXTYPE ((volatile uint8_t *)REG_USB0_EP8_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP9_RXTYPE ((volatile uint8_t *)REG_USB0_EP9_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP10_RXTYPE ((volatile uint8_t *)REG_USB0_EP10_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP11_RXTYPE ((volatile uint8_t *)REG_USB0_EP11_RXTYPE) /* USB0 EPn Receive Type Register */
-#define pREG_USB0_EP0_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP0_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP1_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP1_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP2_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP2_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP3_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP3_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP4_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP4_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP5_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP5_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP6_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP6_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP7_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP7_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP8_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP8_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP9_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP9_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP10_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP10_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP11_RXINTERVAL ((volatile uint8_t *)REG_USB0_EP11_RXINTERVAL) /* USB0 EPn Receive Polling Interval Register */
-#define pREG_USB0_EP0_CFGDATA0 ((volatile uint8_t *)REG_USB0_EP0_CFGDATA0) /* USB0 EP0 Configuration Information Register */
-#define pREG_USB0_DMA_IRQ ((volatile uint8_t *)REG_USB0_DMA_IRQ) /* USB0 DMA Interrupt Register */
-#define pREG_USB0_DMA0_CTL ((volatile uint16_t *)REG_USB0_DMA0_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA1_CTL ((volatile uint16_t *)REG_USB0_DMA1_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA2_CTL ((volatile uint16_t *)REG_USB0_DMA2_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA3_CTL ((volatile uint16_t *)REG_USB0_DMA3_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA4_CTL ((volatile uint16_t *)REG_USB0_DMA4_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA5_CTL ((volatile uint16_t *)REG_USB0_DMA5_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA6_CTL ((volatile uint16_t *)REG_USB0_DMA6_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA7_CTL ((volatile uint16_t *)REG_USB0_DMA7_CTL) /* USB0 DMA Channel n Control Register */
-#define pREG_USB0_DMA0_ADDR ((void * volatile *)REG_USB0_DMA0_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA1_ADDR ((void * volatile *)REG_USB0_DMA1_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA2_ADDR ((void * volatile *)REG_USB0_DMA2_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA3_ADDR ((void * volatile *)REG_USB0_DMA3_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA4_ADDR ((void * volatile *)REG_USB0_DMA4_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA5_ADDR ((void * volatile *)REG_USB0_DMA5_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA6_ADDR ((void * volatile *)REG_USB0_DMA6_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA7_ADDR ((void * volatile *)REG_USB0_DMA7_ADDR) /* USB0 DMA Channel n Address Register */
-#define pREG_USB0_DMA0_CNT ((volatile uint32_t *)REG_USB0_DMA0_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA1_CNT ((volatile uint32_t *)REG_USB0_DMA1_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA2_CNT ((volatile uint32_t *)REG_USB0_DMA2_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA3_CNT ((volatile uint32_t *)REG_USB0_DMA3_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA4_CNT ((volatile uint32_t *)REG_USB0_DMA4_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA5_CNT ((volatile uint32_t *)REG_USB0_DMA5_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA6_CNT ((volatile uint32_t *)REG_USB0_DMA6_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_DMA7_CNT ((volatile uint32_t *)REG_USB0_DMA7_CNT) /* USB0 DMA Channel n Count Register */
-#define pREG_USB0_RQPKTCNT0 ((volatile uint16_t *)REG_USB0_RQPKTCNT0) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT1 ((volatile uint16_t *)REG_USB0_RQPKTCNT1) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT2 ((volatile uint16_t *)REG_USB0_RQPKTCNT2) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT3 ((volatile uint16_t *)REG_USB0_RQPKTCNT3) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT4 ((volatile uint16_t *)REG_USB0_RQPKTCNT4) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT5 ((volatile uint16_t *)REG_USB0_RQPKTCNT5) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT6 ((volatile uint16_t *)REG_USB0_RQPKTCNT6) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT7 ((volatile uint16_t *)REG_USB0_RQPKTCNT7) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT8 ((volatile uint16_t *)REG_USB0_RQPKTCNT8) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT9 ((volatile uint16_t *)REG_USB0_RQPKTCNT9) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_RQPKTCNT10 ((volatile uint16_t *)REG_USB0_RQPKTCNT10) /* USB0 EPn Request Packet Count Register */
-#define pREG_USB0_CT_UCH ((volatile uint16_t *)REG_USB0_CT_UCH) /* USB0 Chirp Timeout Register */
-#define pREG_USB0_CT_HHSRTN ((volatile uint16_t *)REG_USB0_CT_HHSRTN) /* USB0 Host High Speed Return to Normal Register */
-#define pREG_USB0_CT_HSBT ((volatile uint16_t *)REG_USB0_CT_HSBT) /* USB0 High Speed Timeout Register */
-#define pREG_USB0_LPM_ATTR ((volatile uint16_t *)REG_USB0_LPM_ATTR) /* USB0 LPM Attribute Register */
-#define pREG_USB0_LPM_CTL ((volatile uint8_t *)REG_USB0_LPM_CTL) /* USB0 LPM Control Register */
-#define pREG_USB0_LPM_IEN ((volatile uint8_t *)REG_USB0_LPM_IEN) /* USB0 LPM Interrupt Enable Register */
-#define pREG_USB0_LPM_IRQ ((volatile uint8_t *)REG_USB0_LPM_IRQ) /* USB0 LPM Interrupt Status Register */
-#define pREG_USB0_LPM_FADDR ((volatile uint8_t *)REG_USB0_LPM_FADDR) /* USB0 LPM Function Address Register */
-#define pREG_USB0_VBUS_CTL ((volatile uint8_t *)REG_USB0_VBUS_CTL) /* USB0 VBUS Control Register */
-#define pREG_USB0_BAT_CHG ((volatile uint8_t *)REG_USB0_BAT_CHG) /* USB0 Battery Charging Control Register */
-#define pREG_USB0_PHY_CTL ((volatile uint8_t *)REG_USB0_PHY_CTL) /* USB0 PHY Control Register */
-#define pREG_USB0_PLL_OSC ((volatile uint16_t *)REG_USB0_PLL_OSC) /* USB0 PLL and Oscillator Control Register */
-
-
-/* =========================================================================
- L1DM0
- ========================================================================= */
-#define pSRAM_BASE_ADDRESS ((void * volatile *)SRAM_BASE_ADDRESS) /* SRAM Base Address */
-#define pDMEM_CONTROL ((volatile uint32_t *)DMEM_CONTROL) /* Data memory control */
-#define pDCPLB_STATUS ((volatile uint32_t *)DCPLB_STATUS) /* Data Cacheability Protection Lookaside Buffer Status */
-#define pDCPLB_FAULT_ADDR ((void * volatile *)DCPLB_FAULT_ADDR) /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define pDCPLB_ADDR0 ((void * volatile *)DCPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR1 ((void * volatile *)DCPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR2 ((void * volatile *)DCPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR3 ((void * volatile *)DCPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR4 ((void * volatile *)DCPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR5 ((void * volatile *)DCPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR6 ((void * volatile *)DCPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR7 ((void * volatile *)DCPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR8 ((void * volatile *)DCPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR9 ((void * volatile *)DCPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR10 ((void * volatile *)DCPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR11 ((void * volatile *)DCPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR12 ((void * volatile *)DCPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR13 ((void * volatile *)DCPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR14 ((void * volatile *)DCPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_ADDR15 ((void * volatile *)DCPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pDCPLB_DATA0 ((volatile uint32_t *)DCPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA1 ((volatile uint32_t *)DCPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA2 ((volatile uint32_t *)DCPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA3 ((volatile uint32_t *)DCPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA4 ((volatile uint32_t *)DCPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA5 ((volatile uint32_t *)DCPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA6 ((volatile uint32_t *)DCPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA7 ((volatile uint32_t *)DCPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA8 ((volatile uint32_t *)DCPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA9 ((volatile uint32_t *)DCPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA10 ((volatile uint32_t *)DCPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA11 ((volatile uint32_t *)DCPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA12 ((volatile uint32_t *)DCPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA13 ((volatile uint32_t *)DCPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA14 ((volatile uint32_t *)DCPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDCPLB_DATA15 ((volatile uint32_t *)DCPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define pDTEST_COMMAND ((volatile uint32_t *)DTEST_COMMAND) /* Data Test Command Register */
-#define pDTEST_DATA0 ((volatile uint32_t *)DTEST_DATA0) /* Data Test Data Register */
-#define pDTEST_DATA1 ((volatile uint32_t *)DTEST_DATA1) /* Data Test Data Register */
-#define pL1DBNKA_PELOC ((volatile uint32_t *)L1DBNKA_PELOC) /* Data Bank A Parity Error Location */
-#define pL1DBNKB_PELOC ((volatile uint32_t *)L1DBNKB_PELOC) /* Data Bank B Parity Error Location */
-
-
-/* =========================================================================
- L1IM0
- ========================================================================= */
-#define pIMEM_CONTROL ((volatile uint32_t *)IMEM_CONTROL) /* Instruction memory control */
-#define pICPLB_STATUS ((volatile uint32_t *)ICPLB_STATUS) /* Cacheability Protection Lookaside Buffer Status */
-#define pICPLB_FAULT_ADDR ((void * volatile *)ICPLB_FAULT_ADDR) /* Cacheability Protection Lookaside Buffer Fault Address */
-#define pICPLB_ADDR0 ((void * volatile *)ICPLB_ADDR0) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR1 ((void * volatile *)ICPLB_ADDR1) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR2 ((void * volatile *)ICPLB_ADDR2) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR3 ((void * volatile *)ICPLB_ADDR3) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR4 ((void * volatile *)ICPLB_ADDR4) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR5 ((void * volatile *)ICPLB_ADDR5) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR6 ((void * volatile *)ICPLB_ADDR6) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR7 ((void * volatile *)ICPLB_ADDR7) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR8 ((void * volatile *)ICPLB_ADDR8) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR9 ((void * volatile *)ICPLB_ADDR9) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR10 ((void * volatile *)ICPLB_ADDR10) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR11 ((void * volatile *)ICPLB_ADDR11) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR12 ((void * volatile *)ICPLB_ADDR12) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR13 ((void * volatile *)ICPLB_ADDR13) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR14 ((void * volatile *)ICPLB_ADDR14) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_ADDR15 ((void * volatile *)ICPLB_ADDR15) /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define pICPLB_DATA0 ((volatile uint32_t *)ICPLB_DATA0) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA1 ((volatile uint32_t *)ICPLB_DATA1) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA2 ((volatile uint32_t *)ICPLB_DATA2) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA3 ((volatile uint32_t *)ICPLB_DATA3) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA4 ((volatile uint32_t *)ICPLB_DATA4) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA5 ((volatile uint32_t *)ICPLB_DATA5) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA6 ((volatile uint32_t *)ICPLB_DATA6) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA7 ((volatile uint32_t *)ICPLB_DATA7) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA8 ((volatile uint32_t *)ICPLB_DATA8) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA9 ((volatile uint32_t *)ICPLB_DATA9) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA10 ((volatile uint32_t *)ICPLB_DATA10) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA11 ((volatile uint32_t *)ICPLB_DATA11) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA12 ((volatile uint32_t *)ICPLB_DATA12) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA13 ((volatile uint32_t *)ICPLB_DATA13) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA14 ((volatile uint32_t *)ICPLB_DATA14) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pICPLB_DATA15 ((volatile uint32_t *)ICPLB_DATA15) /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define pITEST_COMMAND ((volatile uint32_t *)ITEST_COMMAND) /* Instruction Test Command Register */
-#define pITEST_DATA0 ((volatile uint32_t *)ITEST_DATA0) /* Instruction Test Data Register */
-#define pITEST_DATA1 ((volatile uint32_t *)ITEST_DATA1) /* Instruction Test Data Register */
-#define pL1IBNKA_PELOC ((volatile uint32_t *)L1IBNKA_PELOC) /* Instruction Bank A Parity Error Location */
-#define pL1IBNKB_PELOC ((volatile uint32_t *)L1IBNKB_PELOC) /* Instruction Bank B Parity Error Location */
-#define pL1IBNKC_PELOC ((volatile uint32_t *)L1IBNKC_PELOC) /* Instruction Bank C Parity Error Location */
-
-
-/* =========================================================================
- ICU0
- ========================================================================= */
-#define pEVT0 ((void * volatile *)EVT0) /* Event Vector */
-#define pEVT1 ((void * volatile *)EVT1) /* Event Vector */
-#define pEVT2 ((void * volatile *)EVT2) /* Event Vector */
-#define pEVT3 ((void * volatile *)EVT3) /* Event Vector */
-#define pEVT4 ((void * volatile *)EVT4) /* Event Vector */
-#define pEVT5 ((void * volatile *)EVT5) /* Event Vector */
-#define pEVT6 ((void * volatile *)EVT6) /* Event Vector */
-#define pEVT7 ((void * volatile *)EVT7) /* Event Vector */
-#define pEVT8 ((void * volatile *)EVT8) /* Event Vector */
-#define pEVT9 ((void * volatile *)EVT9) /* Event Vector */
-#define pEVT10 ((void * volatile *)EVT10) /* Event Vector */
-#define pEVT11 ((void * volatile *)EVT11) /* Event Vector */
-#define pEVT12 ((void * volatile *)EVT12) /* Event Vector */
-#define pEVT13 ((void * volatile *)EVT13) /* Event Vector */
-#define pEVT14 ((void * volatile *)EVT14) /* Event Vector */
-#define pEVT15 ((void * volatile *)EVT15) /* Event Vector */
-#define pIMASK ((volatile uint32_t *)IMASK) /* Interrupt Mask Register */
-#define pIPEND ((volatile uint32_t *)IPEND) /* Interrupts Pending Register */
-#define pILAT ((volatile uint32_t *)ILAT) /* Interrupt Latch Register */
-#define pIPRIO ((volatile uint32_t *)IPRIO) /* Interrupt Priority Register */
-#define pCEC_SID ((volatile uint32_t *)CEC_SID) /* Core System Interrupt ID */
-
-
-/* =========================================================================
- TMR0
- ========================================================================= */
-#define pTCNTL ((volatile uint32_t *)TCNTL) /* Timer Control Register */
-#define pTPERIOD ((volatile uint32_t *)TPERIOD) /* Timer Period Register */
-#define pTSCALE ((volatile uint32_t *)TSCALE) /* Timer Scale Register */
-#define pTCOUNT ((volatile uint32_t *)TCOUNT) /* Timer Count Register */
-
-
-/* =========================================================================
- DBG0
- ========================================================================= */
-#define pDSPID ((volatile uint32_t *)DSPID) /* DSP Identification Register */
-
-
-/* =========================================================================
- TB0
- ========================================================================= */
-#define pTBUFCTL ((volatile uint32_t *)TBUFCTL) /* Trace Buffer Control Register */
-#define pTBUFSTAT ((volatile uint32_t *)TBUFSTAT) /* Trace Buffer Status Register */
-#define pTBUF ((void * volatile *)TBUF) /* Trace Buffer */
-
-
-/* =========================================================================
- WP0
- ========================================================================= */
-#define pWPIACTL ((volatile uint32_t *)WPIACTL) /* Watchpoint Instruction Address Control Register 01 */
-#define pWPIA0 ((void * volatile *)WPIA0) /* Watchpoint Instruction Address Register */
-#define pWPIA1 ((void * volatile *)WPIA1) /* Watchpoint Instruction Address Register */
-#define pWPIA2 ((void * volatile *)WPIA2) /* Watchpoint Instruction Address Register */
-#define pWPIA3 ((void * volatile *)WPIA3) /* Watchpoint Instruction Address Register */
-#define pWPIA4 ((void * volatile *)WPIA4) /* Watchpoint Instruction Address Register */
-#define pWPIA5 ((void * volatile *)WPIA5) /* Watchpoint Instruction Address Register */
-#define pWPIACNT0 ((volatile uint32_t *)WPIACNT0) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT1 ((volatile uint32_t *)WPIACNT1) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT2 ((volatile uint32_t *)WPIACNT2) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT3 ((volatile uint32_t *)WPIACNT3) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT4 ((volatile uint32_t *)WPIACNT4) /* Watchpoint Instruction Address Count Register */
-#define pWPIACNT5 ((volatile uint32_t *)WPIACNT5) /* Watchpoint Instruction Address Count Register */
-#define pWPDACTL ((volatile uint32_t *)WPDACTL) /* Watchpoint Data Address Control Register */
-#define pWPDA0 ((void * volatile *)WPDA0) /* Watchpoint Data Address Register */
-#define pWPDA1 ((void * volatile *)WPDA1) /* Watchpoint Data Address Register */
-#define pWPDACNT0 ((volatile uint32_t *)WPDACNT0) /* Watchpoint Data Address Count Value Register */
-#define pWPDACNT1 ((volatile uint32_t *)WPDACNT1) /* Watchpoint Data Address Count Value Register */
-#define pWPSTAT ((volatile uint32_t *)WPSTAT) /* Watchpoint Status Register */
-
-
-/* =========================================================================
- PF0
- ========================================================================= */
-#define pPFCTL ((volatile uint32_t *)PFCTL) /* Performance Monitor Control Register */
-#define pPFCNTR0 ((volatile uint32_t *)PFCNTR0) /* Performance Monitor Counter 0 */
-#define pPFCNTR1 ((volatile uint32_t *)PFCNTR1) /* Performance Monitor Counter 1 */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* end ifndef _CDEF_BF609_H */
diff --git a/libgloss/bfin/include/cdef_LPBlackfin.h b/libgloss/bfin/include/cdef_LPBlackfin.h
deleted file mode 100644
index 3034273..0000000
--- a/libgloss/bfin/include/cdef_LPBlackfin.h
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdef_LPBlackfin.h
- *
- * (c) Copyright 2002-2005 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEF_LPBLACKFIN_H
-#define _CDEF_LPBLACKFIN_H
-
-#if !defined(__ADSPLPBLACKFIN__)
-#warning cdef_LPBlackfin.h should only be included for 532 compatible chips.
-#endif
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-/* Cache & SRAM Memory */
-#define pSRAM_BASE_ADDRESS (_PTR_TO_VOL_VOID_PTR SRAM_BASE_ADDRESS)
-#define pDMEM_CONTROL ((volatile unsigned long *)DMEM_CONTROL)
-#define pDCPLB_STATUS ((volatile unsigned long *)DCPLB_STATUS)
-#define pDCPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR DCPLB_FAULT_ADDR)
-#define pDCPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR0)
-#define pDCPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR1)
-#define pDCPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR2)
-#define pDCPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR3)
-#define pDCPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR4)
-#define pDCPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR5)
-#define pDCPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR6)
-#define pDCPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR7)
-#define pDCPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR8)
-#define pDCPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR9)
-#define pDCPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR10)
-#define pDCPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR11)
-#define pDCPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR12)
-#define pDCPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR13)
-#define pDCPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR14)
-#define pDCPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR15)
-#define pDCPLB_DATA0 ((volatile unsigned long *)DCPLB_DATA0)
-#define pDCPLB_DATA1 ((volatile unsigned long *)DCPLB_DATA1)
-#define pDCPLB_DATA2 ((volatile unsigned long *)DCPLB_DATA2)
-#define pDCPLB_DATA3 ((volatile unsigned long *)DCPLB_DATA3)
-#define pDCPLB_DATA4 ((volatile unsigned long *)DCPLB_DATA4)
-#define pDCPLB_DATA5 ((volatile unsigned long *)DCPLB_DATA5)
-#define pDCPLB_DATA6 ((volatile unsigned long *)DCPLB_DATA6)
-#define pDCPLB_DATA7 ((volatile unsigned long *)DCPLB_DATA7)
-#define pDCPLB_DATA8 ((volatile unsigned long *)DCPLB_DATA8)
-#define pDCPLB_DATA9 ((volatile unsigned long *)DCPLB_DATA9)
-#define pDCPLB_DATA10 ((volatile unsigned long *)DCPLB_DATA10)
-#define pDCPLB_DATA11 ((volatile unsigned long *)DCPLB_DATA11)
-#define pDCPLB_DATA12 ((volatile unsigned long *)DCPLB_DATA12)
-#define pDCPLB_DATA13 ((volatile unsigned long *)DCPLB_DATA13)
-#define pDCPLB_DATA14 ((volatile unsigned long *)DCPLB_DATA14)
-#define pDCPLB_DATA15 ((volatile unsigned long *)DCPLB_DATA15)
-#define pDTEST_COMMAND ((volatile unsigned long *)DTEST_COMMAND)
-#define pDTEST_DATA0 ((volatile unsigned long *)DTEST_DATA0)
-#define pDTEST_DATA1 ((volatile unsigned long *)DTEST_DATA1)
-#define pIMEM_CONTROL ((volatile unsigned long *)IMEM_CONTROL)
-#define pICPLB_STATUS ((volatile unsigned long *)ICPLB_STATUS)
-#define pICPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR ICPLB_FAULT_ADDR)
-#define pICPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR0)
-#define pICPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR1)
-#define pICPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR2)
-#define pICPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR3)
-#define pICPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR4)
-#define pICPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR5)
-#define pICPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR6)
-#define pICPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR7)
-#define pICPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR8)
-#define pICPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR9)
-#define pICPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR10)
-#define pICPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR11)
-#define pICPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR12)
-#define pICPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR13)
-#define pICPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR14)
-#define pICPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR15)
-#define pICPLB_DATA0 ((volatile unsigned long *)ICPLB_DATA0)
-#define pICPLB_DATA1 ((volatile unsigned long *)ICPLB_DATA1)
-#define pICPLB_DATA2 ((volatile unsigned long *)ICPLB_DATA2)
-#define pICPLB_DATA3 ((volatile unsigned long *)ICPLB_DATA3)
-#define pICPLB_DATA4 ((volatile unsigned long *)ICPLB_DATA4)
-#define pICPLB_DATA5 ((volatile unsigned long *)ICPLB_DATA5)
-#define pICPLB_DATA6 ((volatile unsigned long *)ICPLB_DATA6)
-#define pICPLB_DATA7 ((volatile unsigned long *)ICPLB_DATA7)
-#define pICPLB_DATA8 ((volatile unsigned long *)ICPLB_DATA8)
-#define pICPLB_DATA9 ((volatile unsigned long *)ICPLB_DATA9)
-#define pICPLB_DATA10 ((volatile unsigned long *)ICPLB_DATA10)
-#define pICPLB_DATA11 ((volatile unsigned long *)ICPLB_DATA11)
-#define pICPLB_DATA12 ((volatile unsigned long *)ICPLB_DATA12)
-#define pICPLB_DATA13 ((volatile unsigned long *)ICPLB_DATA13)
-#define pICPLB_DATA14 ((volatile unsigned long *)ICPLB_DATA14)
-#define pICPLB_DATA15 ((volatile unsigned long *)ICPLB_DATA15)
-#define pITEST_COMMAND ((volatile unsigned long *)ITEST_COMMAND)
-#define pITEST_DATA0 ((volatile unsigned long *)ITEST_DATA0)
-#define pITEST_DATA1 ((volatile unsigned long *)ITEST_DATA1)
-
-/* Event/Interrupt Registers */
-#define pEVT0 (_PTR_TO_VOL_VOID_PTR EVT0)
-#define pEVT1 (_PTR_TO_VOL_VOID_PTR EVT1)
-#define pEVT2 (_PTR_TO_VOL_VOID_PTR EVT2)
-#define pEVT3 (_PTR_TO_VOL_VOID_PTR EVT3)
-#define pEVT4 (_PTR_TO_VOL_VOID_PTR EVT4)
-#define pEVT5 (_PTR_TO_VOL_VOID_PTR EVT5)
-#define pEVT6 (_PTR_TO_VOL_VOID_PTR EVT6)
-#define pEVT7 (_PTR_TO_VOL_VOID_PTR EVT7)
-#define pEVT8 (_PTR_TO_VOL_VOID_PTR EVT8)
-#define pEVT9 (_PTR_TO_VOL_VOID_PTR EVT9)
-#define pEVT10 (_PTR_TO_VOL_VOID_PTR EVT10)
-#define pEVT11 (_PTR_TO_VOL_VOID_PTR EVT11)
-#define pEVT12 (_PTR_TO_VOL_VOID_PTR EVT12)
-#define pEVT13 (_PTR_TO_VOL_VOID_PTR EVT13)
-#define pEVT14 (_PTR_TO_VOL_VOID_PTR EVT14)
-#define pEVT15 (_PTR_TO_VOL_VOID_PTR EVT15)
-#define pIMASK ((volatile unsigned long *)IMASK)
-#define pIPEND ((volatile unsigned long *)IPEND)
-#define pILAT ((volatile unsigned long *)ILAT)
-
-/* Core Timer Registers */
-#define pTCNTL ((volatile unsigned long *)TCNTL)
-#define pTPERIOD ((volatile unsigned long *)TPERIOD)
-#define pTSCALE ((volatile unsigned long *)TSCALE)
-#define pTCOUNT ((volatile unsigned long *)TCOUNT)
-
-/* Debug/MP/Emulation Registers */
-#define pDSPID ((volatile unsigned long *)DSPID)
-#define pDBGCTL ((volatile unsigned long *)DBGCTL)
-#define pDBGSTAT ((volatile unsigned long *)DBGSTAT)
-#define pEMUDAT ((volatile unsigned long *)EMUDAT)
-
-/* Trace Buffer Registers */
-#define pTBUFCTL ((volatile unsigned long *)TBUFCTL)
-#define pTBUFSTAT ((volatile unsigned long *)TBUFSTAT)
-#define pTBUF (_PTR_TO_VOL_VOID_PTR TBUF)
-
-/* Watch Point Control Registers */
-#define pWPIACTL ((volatile unsigned long *)WPIACTL)
-#define pWPIA0 (_PTR_TO_VOL_VOID_PTR WPIA0)
-#define pWPIA1 (_PTR_TO_VOL_VOID_PTR WPIA1)
-#define pWPIA2 (_PTR_TO_VOL_VOID_PTR WPIA2)
-#define pWPIA3 (_PTR_TO_VOL_VOID_PTR WPIA3)
-#define pWPIA4 (_PTR_TO_VOL_VOID_PTR WPIA4)
-#define pWPIA5 (_PTR_TO_VOL_VOID_PTR WPIA5)
-#define pWPIACNT0 ((volatile unsigned long *)WPIACNT0)
-#define pWPIACNT1 ((volatile unsigned long *)WPIACNT1)
-#define pWPIACNT2 ((volatile unsigned long *)WPIACNT2)
-#define pWPIACNT3 ((volatile unsigned long *)WPIACNT3)
-#define pWPIACNT4 ((volatile unsigned long *)WPIACNT4)
-#define pWPIACNT5 ((volatile unsigned long *)WPIACNT5)
-#define pWPDACTL ((volatile unsigned long *)WPDACTL)
-#define pWPDA0 (_PTR_TO_VOL_VOID_PTR WPDA0)
-#define pWPDA1 (_PTR_TO_VOL_VOID_PTR WPDA1)
-#define pWPDACNT0 ((volatile unsigned long *)WPDACNT0)
-#define pWPDACNT1 ((volatile unsigned long *)WPDACNT1)
-#define pWPSTAT ((volatile unsigned long *)WPSTAT)
-
-/* Performance Monitor Registers */
-#define pPFCTL ((volatile unsigned long *)PFCTL)
-#define pPFCNTR0 ((volatile unsigned long *)PFCNTR0)
-#define pPFCNTR1 ((volatile unsigned long *)PFCNTR1)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_LPBLACKFIN_H */
diff --git a/libgloss/bfin/include/cdefblackfin.h b/libgloss/bfin/include/cdefblackfin.h
deleted file mode 100644
index 031a429..0000000
--- a/libgloss/bfin/include/cdefblackfin.h
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cdefblackfin.h
- *
- * (c) Copyright 2002-2005 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _CDEF_BLACKFIN_H
-#define _CDEF_BLACKFIN_H
-
-#if defined(__ADSPLPBLACKFIN__)
-#warning cdefblackfin.h should only be included for 535 compatible chips.
-#endif
-#include <defblackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-#ifndef _PTR_TO_VOL_VOID_PTR
-#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
-#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
-#else
-#define _PTR_TO_VOL_VOID_PTR (volatile void **)
-#endif
-#endif
-
-/* Cache & SRAM Memory */
-#define pSRAM_BASE_ADDRESS (_PTR_TO_VOL_VOID_PTR SRAM_BASE_ADDRESS)
-#define pDMEM_CONTROL ((volatile unsigned long *)DMEM_CONTROL)
-#define pDCPLB_STATUS ((volatile unsigned long *)DCPLB_STATUS)
-#define pDCPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR DCPLB_FAULT_ADDR)
-#define pDCPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR0)
-#define pDCPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR1)
-#define pDCPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR2)
-#define pDCPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR3)
-#define pDCPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR4)
-#define pDCPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR5)
-#define pDCPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR6)
-#define pDCPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR7)
-#define pDCPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR8)
-#define pDCPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR9)
-#define pDCPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR10)
-#define pDCPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR11)
-#define pDCPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR12)
-#define pDCPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR13)
-#define pDCPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR14)
-#define pDCPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR15)
-#define pDCPLB_DATA0 ((volatile unsigned long *)DCPLB_DATA0)
-#define pDCPLB_DATA1 ((volatile unsigned long *)DCPLB_DATA1)
-#define pDCPLB_DATA2 ((volatile unsigned long *)DCPLB_DATA2)
-#define pDCPLB_DATA3 ((volatile unsigned long *)DCPLB_DATA3)
-#define pDCPLB_DATA4 ((volatile unsigned long *)DCPLB_DATA4)
-#define pDCPLB_DATA5 ((volatile unsigned long *)DCPLB_DATA5)
-#define pDCPLB_DATA6 ((volatile unsigned long *)DCPLB_DATA6)
-#define pDCPLB_DATA7 ((volatile unsigned long *)DCPLB_DATA7)
-#define pDCPLB_DATA8 ((volatile unsigned long *)DCPLB_DATA8)
-#define pDCPLB_DATA9 ((volatile unsigned long *)DCPLB_DATA9)
-#define pDCPLB_DATA10 ((volatile unsigned long *)DCPLB_DATA10)
-#define pDCPLB_DATA11 ((volatile unsigned long *)DCPLB_DATA11)
-#define pDCPLB_DATA12 ((volatile unsigned long *)DCPLB_DATA12)
-#define pDCPLB_DATA13 ((volatile unsigned long *)DCPLB_DATA13)
-#define pDCPLB_DATA14 ((volatile unsigned long *)DCPLB_DATA14)
-#define pDCPLB_DATA15 ((volatile unsigned long *)DCPLB_DATA15)
-#define pDTEST_COMMAND ((volatile unsigned long *)DTEST_COMMAND)
-#define pDTEST_DATA0 ((volatile unsigned long *)DTEST_DATA0)
-#define pDTEST_DATA1 ((volatile unsigned long *)DTEST_DATA1)
-#define pIMEM_CONTROL ((volatile unsigned long *)IMEM_CONTROL)
-#define pICPLB_STATUS ((volatile unsigned long *)ICPLB_STATUS)
-#define pICPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR ICPLB_FAULT_ADDR)
-#define pICPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR0)
-#define pICPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR1)
-#define pICPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR2)
-#define pICPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR3)
-#define pICPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR4)
-#define pICPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR5)
-#define pICPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR6)
-#define pICPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR7)
-#define pICPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR8)
-#define pICPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR9)
-#define pICPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR10)
-#define pICPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR11)
-#define pICPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR12)
-#define pICPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR13)
-#define pICPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR14)
-#define pICPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR15)
-#define pICPLB_DATA0 ((volatile unsigned long *)ICPLB_DATA0)
-#define pICPLB_DATA1 ((volatile unsigned long *)ICPLB_DATA1)
-#define pICPLB_DATA2 ((volatile unsigned long *)ICPLB_DATA2)
-#define pICPLB_DATA3 ((volatile unsigned long *)ICPLB_DATA3)
-#define pICPLB_DATA4 ((volatile unsigned long *)ICPLB_DATA4)
-#define pICPLB_DATA5 ((volatile unsigned long *)ICPLB_DATA5)
-#define pICPLB_DATA6 ((volatile unsigned long *)ICPLB_DATA6)
-#define pICPLB_DATA7 ((volatile unsigned long *)ICPLB_DATA7)
-#define pICPLB_DATA8 ((volatile unsigned long *)ICPLB_DATA8)
-#define pICPLB_DATA9 ((volatile unsigned long *)ICPLB_DATA9)
-#define pICPLB_DATA10 ((volatile unsigned long *)ICPLB_DATA10)
-#define pICPLB_DATA11 ((volatile unsigned long *)ICPLB_DATA11)
-#define pICPLB_DATA12 ((volatile unsigned long *)ICPLB_DATA12)
-#define pICPLB_DATA13 ((volatile unsigned long *)ICPLB_DATA13)
-#define pICPLB_DATA14 ((volatile unsigned long *)ICPLB_DATA14)
-#define pICPLB_DATA15 ((volatile unsigned long *)ICPLB_DATA15)
-#define pITEST_COMMAND ((volatile unsigned long *)ITEST_COMMAND)
-#define pITEST_DATA0 ((volatile unsigned long *)ITEST_DATA0)
-#define pITEST_DATA1 ((volatile unsigned long *)ITEST_DATA1)
-
-/* Event/Interrupt Registers */
-#define pEVT0 (_PTR_TO_VOL_VOID_PTR EVT0)
-#define pEVT1 (_PTR_TO_VOL_VOID_PTR EVT1)
-#define pEVT2 (_PTR_TO_VOL_VOID_PTR EVT2)
-#define pEVT3 (_PTR_TO_VOL_VOID_PTR EVT3)
-#define pEVT4 (_PTR_TO_VOL_VOID_PTR EVT4)
-#define pEVT5 (_PTR_TO_VOL_VOID_PTR EVT5)
-#define pEVT6 (_PTR_TO_VOL_VOID_PTR EVT6)
-#define pEVT7 (_PTR_TO_VOL_VOID_PTR EVT7)
-#define pEVT8 (_PTR_TO_VOL_VOID_PTR EVT8)
-#define pEVT9 (_PTR_TO_VOL_VOID_PTR EVT9)
-#define pEVT10 (_PTR_TO_VOL_VOID_PTR EVT10)
-#define pEVT11 (_PTR_TO_VOL_VOID_PTR EVT11)
-#define pEVT12 (_PTR_TO_VOL_VOID_PTR EVT12)
-#define pEVT13 (_PTR_TO_VOL_VOID_PTR EVT13)
-#define pEVT14 (_PTR_TO_VOL_VOID_PTR EVT14)
-#define pEVT15 (_PTR_TO_VOL_VOID_PTR EVT15)
-#define pIMASK ((volatile unsigned short *)IMASK)
-#define pIPEND ((volatile unsigned short *)IPEND)
-#define pILAT ((volatile unsigned short *)ILAT)
-
-/* Core Timer Registers */
-#define pTCNTL ((volatile unsigned long *)TCNTL)
-#define pTPERIOD ((volatile unsigned long *)TPERIOD)
-#define pTSCALE ((volatile unsigned long *)TSCALE)
-#define pTCOUNT ((volatile unsigned long *)TCOUNT)
-
-/* Debug/MP/Emulation Registers */
-#define pDSPID ((volatile unsigned long *)DSPID)
-#define pDBGCTL ((volatile unsigned long *)DBGCTL)
-#define pDBGSTAT ((volatile unsigned long *)DBGSTAT)
-#define pEMUDAT ((volatile unsigned long *)EMUDAT)
-
-/* Trace Buffer Registers */
-#define pTBUFCTL ((volatile unsigned long *)TBUFCTL)
-#define pTBUFSTAT ((volatile unsigned long *)TBUFSTAT)
-#define pTBUF (_PTR_TO_VOL_VOID_PTR TBUF)
-
-/* Watch Point Control Registers */
-#define pWPIACTL ((volatile unsigned long *)WPIACTL)
-#define pWPIA0 (_PTR_TO_VOL_VOID_PTR WPIA0)
-#define pWPIA1 (_PTR_TO_VOL_VOID_PTR WPIA1)
-#define pWPIA2 (_PTR_TO_VOL_VOID_PTR WPIA2)
-#define pWPIA3 (_PTR_TO_VOL_VOID_PTR WPIA3)
-#define pWPIA4 (_PTR_TO_VOL_VOID_PTR WPIA4)
-#define pWPIA5 (_PTR_TO_VOL_VOID_PTR WPIA5)
-#define pWPIACNT0 ((volatile unsigned long *)WPIACNT0)
-#define pWPIACNT1 ((volatile unsigned long *)WPIACNT1)
-#define pWPIACNT2 ((volatile unsigned long *)WPIACNT2)
-#define pWPIACNT3 ((volatile unsigned long *)WPIACNT3)
-#define pWPIACNT4 ((volatile unsigned long *)WPIACNT4)
-#define pWPIACNT5 ((volatile unsigned long *)WPIACNT5)
-#define pWPDACTL ((volatile unsigned long *)WPDACTL)
-#define pWPDA0 (_PTR_TO_VOL_VOID_PTR WPDA0)
-#define pWPDA1 (_PTR_TO_VOL_VOID_PTR WPDA1)
-#define pWPDACNT0 ((volatile unsigned long *)WPDACNT0)
-#define pWPDACNT1 ((volatile unsigned long *)WPDACNT1)
-#define pWPSTAT ((volatile unsigned long *)WPSTAT)
-
-/* Performance Monitor Registers */
-#define pPFCTL ((volatile unsigned long *)PFCTL)
-#define pPFCNTR0 ((volatile unsigned long *)PFCNTR0)
-#define pPFCNTR1 ((volatile unsigned long *)PFCNTR1)
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CDEF_BLACKFIN_H */
diff --git a/libgloss/bfin/include/cplb.h b/libgloss/bfin/include/cplb.h
deleted file mode 100644
index 71a47c6..0000000
--- a/libgloss/bfin/include/cplb.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * cplb.h
- *
- * (c) Copyright 2002-2007 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* Defines necessary for cplb initialisation routines. */
-
-#ifndef _CPLB_H
-#define _CPLB_H
-
-#include <sys/platform.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#endif /* _MISRA_RULES */
-
-#define CPLB_ENABLE_ICACHE_P 0
-#define CPLB_ENABLE_DCACHE_P 1
-#define CPLB_ENABLE_DCACHE2_P 2
-#define CPLB_ENABLE_CPLBS_P 3 /* Deprecated! */
-#define CPLB_ENABLE_ICPLBS_P 4
-#define CPLB_ENABLE_DCPLBS_P 5
-#define CPLB_SET_DCBS_P 6
-#define CPLB_INVALIDATE_B_P 23
-
-/* ___cplb_ctrl bitmasks */
-#define CPLB_ENABLE_ICACHE (1<<CPLB_ENABLE_ICACHE_P)
-#define CPLB_ENABLE_DCACHE (1<<CPLB_ENABLE_DCACHE_P)
-#define CPLB_ENABLE_DCACHE2 (1<<CPLB_ENABLE_DCACHE2_P)
-#define CPLB_ENABLE_CPLBS (1<<CPLB_ENABLE_CPLBS_P)
-#define CPLB_ENABLE_ICPLBS (1<<CPLB_ENABLE_ICPLBS_P)
-#define CPLB_ENABLE_DCPLBS (1<<CPLB_ENABLE_DCPLBS_P)
-#define CPLB_ENABLE_ANY_CPLBS \
- ( CPLB_ENABLE_CPLBS | CPLB_ENABLE_ICPLBS | CPLB_ENABLE_DCPLBS )
-#define CPLB_SET_DCBS (1<<CPLB_SET_DCBS_P)
-
-/* Bitmasks for dcache_invalidate routine parameters */
-#define CPLB_INVALIDATE_A 0
-#define CPLB_INVALIDATE_B (1<<CPLB_INVALIDATE_B_P)
-
-/* _cplb_mgr return values */
-#define CPLB_RELOADED 0x0000
-#define CPLB_NO_UNLOCKED 0x0001
-#define CPLB_NO_ADDR_MATCH 0x0002
-#define CPLB_PROT_VIOL 0x0003
-#define CPLB_NO_ACTION 0x0004
-
-/* CPLB configurations */
-#define CPLB_DEF_CACHE_WT ( CPLB_L1_CHBL | CPLB_WT )
-#define CPLB_DEF_CACHE_WB ( CPLB_L1_CHBL )
-#define CPLB_CACHE_ENABLED ( CPLB_L1_CHBL | CPLB_DIRTY )
-
-#define CPLB_DEF_CACHE ( CPLB_L1_CHBL | CPLB_WT )
-#define CPLB_ALL_ACCESS ( CPLB_SUPV_WR | CPLB_USER_RD | CPLB_USER_WR )
-
-#define CPLB_I_PAGE_MGMT ( CPLB_LOCK | CPLB_VALID )
-#define CPLB_D_PAGE_MGMT ( CPLB_LOCK | CPLB_ALL_ACCESS | CPLB_VALID )
-#define CPLB_DNOCACHE ( CPLB_ALL_ACCESS | CPLB_VALID )
-#define CPLB_DDOCACHE ( CPLB_DNOCACHE | CPLB_DEF_CACHE )
-#define CPLB_INOCACHE ( CPLB_USER_RD | CPLB_VALID )
-#define CPLB_IDOCACHE ( CPLB_INOCACHE | CPLB_L1_CHBL )
-
-#define CPLB_DDOCACHE_WT ( CPLB_DNOCACHE | CPLB_DEF_CACHE_WT )
-#define CPLB_DDOCACHE_WB ( CPLB_DNOCACHE | CPLB_DEF_CACHE_WB )
-
-/* Event type parameter for replacement manager _cplb_mgr */
-#define CPLB_EVT_ICPLB_MISS 0
-#define CPLB_EVT_DCPLB_MISS 1
-#define CPLB_EVT_DCPLB_WRITE 2
-
-/* size of cplb tables */
-#define __CPLB_TABLE_SIZE 16
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CPLB_H */
diff --git a/libgloss/bfin/include/cplbtab.h b/libgloss/bfin/include/cplbtab.h
deleted file mode 100644
index e3cd97c..0000000
--- a/libgloss/bfin/include/cplbtab.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#pragma once
-#ifndef __NO_BUILTIN
-#pragma system_header /* cplbtab.h */
-#endif
-/************************************************************************
- *
- * cplbtab.h
- *
- * (c) Copyright 2002-2007 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* Define structures for the CPLB tables. */
-
-#ifndef _CPLBTAB_H
-#define _CPLBTAB_H
-
-#include <cplb.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_6_3)
-#pragma diag(suppress:misra_rule_8_12)
-#endif /* _MISRA_RULES */
-
-typedef struct {
- unsigned long addr;
- unsigned long flags;
-} cplb_entry;
-
-extern cplb_entry dcplbs_table[];
-extern cplb_entry icplbs_table[];
-extern int __cplb_ctrl;
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-void cplb_init(int _enable_cpls_caches);
-int cplb_mgr(int _is_data_miss, int _enable_cache);
-void cplb_hdr(void);
-void cache_invalidate(int _caches);
-void icache_invalidate(void);
-void dcache_invalidate(int _caches);
-void dcache_invalidate_both(void);
-void flush_data_cache(void);
-void flush_data_buffer(void *_start, void *_end, int _invalidate);
-void disable_data_cache(void);
-void enable_data_cache(int _cplb_ctrl);
-
-#ifdef __cplusplus
- }
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _CPLBTAB_H */
-
diff --git a/libgloss/bfin/include/defBF504.h b/libgloss/bfin/include/defBF504.h
deleted file mode 100644
index 220e264..0000000
--- a/libgloss/bfin/include/defBF504.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF504 processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _DEF_BF504_H
-#define _DEF_BF504_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* Include defBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <defBF50x_base.h>
-
-/* Define the set of macros that are specific to the ADSP-BF504 processor */
-
-#endif /* _DEF_BF504_H */
diff --git a/libgloss/bfin/include/defBF504F.h b/libgloss/bfin/include/defBF504F.h
deleted file mode 100644
index be3e202..0000000
--- a/libgloss/bfin/include/defBF504F.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF504F processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _DEF_BF504F_H
-#define _DEF_BF504F_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_1:"ADI header disables rule 5.1 which bars use of long identifiers (>31 chars).")
-#endif /* _MISRA_RULES */
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* Include defBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <defBF50x_base.h>
-
-/* Define the set of macros that are specific to the ADSP-BF504F processor */
-
-
-/* Flash commands */
-#define FLASH_CMD_BLOCK_LOCK_CONFIRM 0x01
-#define FLASH_CMD_SET_CONFIG_CONFIRM 0x03
-#define FLASH_CMD_ALT_PROGRAM_SETUP 0x10
-#define FLASH_CMD_BLOCK_ERASE_SETUP 0x20
-#define FLASH_CMD_BLOCK_LOCKDOWN_CONFIRM 0x2F
-#define FLASH_CMD_ENH_FACT_PROG_SETUP 0x30
-#define FLASH_CMD_DOUBLE_WORD_PROG_SETUP 0x35
-#define FLASH_CMD_PROGRAM_SETUP 0x40
-#define FLASH_CMD_CLEAR_STATUS 0x50
-#define FLASH_CMD_QUAD_WORD_PROG_SETUP 0x56
-#define FLASH_CMD_BLOCK_LOCK_SETUP 0x60
-#define FLASH_CMD_BLOCK_UNLOCK_SETUP 0x60
-#define FLASH_CMD_BLOCK_LOCKDOWN_SETUP 0x60
-#define FLASH_CMD_SET_CONFIG_SETUP 0x60
-#define FLASH_CMD_READ_STATUS 0x70
-#define FLASH_CMD_QUAD_ENH_PROG_SETUP 0x75
-#define FLASH_CMD_READ_ELECTRONIC_SIG 0x90
-#define FLASH_CMD_READ_CFI_QUERY 0x98
-#define FLASH_CMD_PROGRAM_SUSPEND 0xB0
-#define FLASH_CMD_ERASE_SUSPEND 0xB0
-#define FLASH_CMD_PROTECTION_REG_PROGRAM 0xC0
-#define FLASH_CMD_PROGRAM_RESUME 0xD0
-#define FLASH_CMD_ERASE_RESUME 0xD0
-#define FLASH_CMD_BLOCK_ERASE_CONFIRM 0xD0
-#define FLASH_CMD_BLOCK_UNLOCK_CONFIRM 0xD0
-#define FLASH_CMD_ENH_FACT_PROG_CONFIRM 0xD0
-#define FLASH_CMD_READ_ARRAY 0xFF
-
-/* Bit definitions for Flash Configuration Register */
-#define FLASH_CR_ASYNC_READ 0x8000
-#define FLASH_CR_XLAT_5 0x2800
-#define FLASH_CR_XLAT_4 0x2000
-#define FLASH_CR_XLAT_3 0x1800
-#define FLASH_CR_XLAT_2 0x1000
-#define FLASH_CR_WAIT_HIGH 0x0400
-#define FLASH_CR_DATA_HOLD 0x0200
-#define FLASH_CR_WAIT_ONE 0x0100
-#define FLASH_CR_BURST_SEQ 0x0080
-#define FLASH_CR_CLK_RISE 0x0040
-#define FLASH_CR_WRAP_DIS 0x0008
-#define FLASH_CR_BURST_CONT 0x0007
-#define FLASH_CR_BURST_16 0x0003
-#define FLASH_CR_BURST_8 0x0002
-#define FLASH_CR_BURST_4 0x0001
-
-/* Bit definitions for Flash Status Register */
-#define FLASH_SR_PRG_ERASE_READY 0x0080
-#define FLASH_SR_ERASE_SUSPENDED 0x0040
-#define FLASH_SR_ERASE_ERROR 0x0020
-#define FLASH_SR_PRG_ERROR 0x0010
-#define FLASH_SR_VPP_INVALID_ABORT 0x0008
-#define FLASH_SR_PRG_SUSPENDED 0x0004
-#define FLASH_SR_BLK_PROT_ABORT 0x0002
-#define FLASH_SR_BNK_WRITE 0x0001
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF504F_H */
diff --git a/libgloss/bfin/include/defBF506F.h b/libgloss/bfin/include/defBF506F.h
deleted file mode 100644
index 89f94b2..0000000
--- a/libgloss/bfin/include/defBF506F.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable programs
-** to use symbolic names for register-access and bit-manipulation for the
-** ADSP-BF506F processor.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _DEF_BF506F_H
-#define _DEF_BF506F_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_1:"ADI header disables rule 5.1 which bars use of long identifiers (>31 chars).")
-#endif /* _MISRA_RULES */
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* Include defBF50x_base.h for the set of #defines that are
-** common to all ADSP-BF50x processors
-*/
-#include <defBF50x_base.h>
-
-/*
-** Define the set of macros that are specific to the ADSP-BF506F processor
-*/
-
-/* Flash commands */
-#define FLASH_CMD_BLOCK_LOCK_CONFIRM 0x01
-#define FLASH_CMD_SET_CONFIG_CONFIRM 0x03
-#define FLASH_CMD_ALT_PROGRAM_SETUP 0x10
-#define FLASH_CMD_BLOCK_ERASE_SETUP 0x20
-#define FLASH_CMD_BLOCK_LOCKDOWN_CONFIRM 0x2F
-#define FLASH_CMD_ENH_FACT_PROG_SETUP 0x30
-#define FLASH_CMD_DOUBLE_WORD_PROG_SETUP 0x35
-#define FLASH_CMD_PROGRAM_SETUP 0x40
-#define FLASH_CMD_CLEAR_STATUS 0x50
-#define FLASH_CMD_QUAD_WORD_PROG_SETUP 0x56
-#define FLASH_CMD_BLOCK_LOCK_SETUP 0x60
-#define FLASH_CMD_BLOCK_UNLOCK_SETUP 0x60
-#define FLASH_CMD_BLOCK_LOCKDOWN_SETUP 0x60
-#define FLASH_CMD_SET_CONFIG_SETUP 0x60
-#define FLASH_CMD_READ_STATUS 0x70
-#define FLASH_CMD_QUAD_ENH_PROG_SETUP 0x75
-#define FLASH_CMD_READ_ELECTRONIC_SIG 0x90
-#define FLASH_CMD_READ_CFI_QUERY 0x98
-#define FLASH_CMD_PROGRAM_SUSPEND 0xB0
-#define FLASH_CMD_ERASE_SUSPEND 0xB0
-#define FLASH_CMD_PROTECTION_REG_PROGRAM 0xC0
-#define FLASH_CMD_PROGRAM_RESUME 0xD0
-#define FLASH_CMD_ERASE_RESUME 0xD0
-#define FLASH_CMD_BLOCK_ERASE_CONFIRM 0xD0
-#define FLASH_CMD_BLOCK_UNLOCK_CONFIRM 0xD0
-#define FLASH_CMD_ENH_FACT_PROG_CONFIRM 0xD0
-#define FLASH_CMD_READ_ARRAY 0xFF
-
-/* Bit definitions for Flash Configuration Register */
-#define FLASH_CR_ASYNC_READ 0x8000
-#define FLASH_CR_XLAT_5 0x2800
-#define FLASH_CR_XLAT_4 0x2000
-#define FLASH_CR_XLAT_3 0x1800
-#define FLASH_CR_XLAT_2 0x1000
-#define FLASH_CR_WAIT_HIGH 0x0400
-#define FLASH_CR_DATA_HOLD 0x0200
-#define FLASH_CR_WAIT_ONE 0x0100
-#define FLASH_CR_BURST_SEQ 0x0080
-#define FLASH_CR_CLK_RISE 0x0040
-#define FLASH_CR_WRAP_DIS 0x0008
-#define FLASH_CR_BURST_CONT 0x0007
-#define FLASH_CR_BURST_16 0x0003
-#define FLASH_CR_BURST_8 0x0002
-#define FLASH_CR_BURST_4 0x0001
-
-/* Bit definitions for Flash Status Register */
-#define FLASH_SR_PRG_ERASE_READY 0x0080
-#define FLASH_SR_ERASE_SUSPENDED 0x0040
-#define FLASH_SR_ERASE_ERROR 0x0020
-#define FLASH_SR_PRG_ERROR 0x0010
-#define FLASH_SR_VPP_INVALID_ABORT 0x0008
-#define FLASH_SR_PRG_SUSPENDED 0x0004
-#define FLASH_SR_BLK_PROT_ABORT 0x0002
-#define FLASH_SR_BNK_WRITE 0x0001
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF506F_H */
diff --git a/libgloss/bfin/include/defBF50x_base.h b/libgloss/bfin/include/defBF50x_base.h
deleted file mode 100644
index a5aa09d..0000000
--- a/libgloss/bfin/include/defBF50x_base.h
+++ /dev/null
@@ -1,3445 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF50x_base.h
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the system MMRs common to the ADSP-BF50x parts
-** peripherals.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _DEF_BF50X_H
-#define _DEF_BF50X_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros.")
-#endif /* _MISRA_RULES */
-
-
-/* ************************************************************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF50x */
-/* ************************************************************************************************************** */
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control Register */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xFFC0000C /* PLL Status Register */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count Register */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register */
-#define SYSCR 0xFFC00104 /* System Configuration Register */
-
-#define SIC_IMASK0 0xFFC0010C /* Interrupt Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IMASK (SIC_IMASK0)
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_ISR0 0xFFC00120 /* Interrupt Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_ISR (SIC_ISR0)
-#define SIC_IWR0 0xFFC00124 /* Interrupt Wakeup Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IWR (SIC_IWR0)
-
-/* SIC Additions to ADSP-BF50x (0xFFC0014C - 0xFFC00162) */
-#define SIC_IMASK1 0xFFC0014C /* Interrupt Mask register of SIC2 */
-#define SIC_IAR4 0xFFC00150 /* Interrupt Assignment register4 */
-#define SIC_IAR5 0xFFC00154 /* Interrupt Assignment register5 */
-#define SIC_IAR6 0xFFC00158 /* Interrupt Assignment register6 */
-#define SIC_ISR1 0xFFC00160 /* Interrupt Statur register */
-#define SIC_IWR1 0xFFC00164 /* Interrupt Wakeup register */
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_DLL 0xffc00400 /* Divisor Latch Low Byte */
-#define UART0_DLH 0xffc00404 /* Divisor Latch High Byte */
-#define UART0_GCTL 0xffc00408 /* Global Control Register */
-#define UART0_LCR 0xffc0040c /* Line Control Register */
-#define UART0_MCR 0xffc00410 /* Modem Control Register */
-#define UART0_LSR 0xffc00414 /* Line Status Register */
-#define UART0_MSR 0xffc00418 /* Modem Status Register */
-#define UART0_SCR 0xffc0041c /* Scratch Register */
-#define UART0_IER_SET 0xffc00420 /* Interrupt Enable Register Set */
-#define UART0_IER_CLEAR 0xffc00424 /* Interrupt Enable Register Clear */
-#define UART0_THR 0xffc00428 /* Transmit Hold Register */
-#define UART0_RBR 0xffc0042c /* Receive Buffer Register */
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI0_CTL 0xFFC00500 /* SPI Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_CTL (SPI0_CTL)
-#define SPI0_FLG 0xFFC00504 /* SPI Flag register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_FLG (SPI0_FLG)
-#define SPI0_STAT 0xFFC00508 /* SPI Status register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_STAT (SPI0_STAT)
-#define SPI0_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_TDBR (SPI0_TDBR)
-#define SPI0_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_RDBR (SPI0_RDBR)
-#define SPI0_BAUD 0xFFC00514 /* SPI Baud rate Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_BAUD (SPI0_BAUD)
-#define SPI0_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_SHADOW (SPI0_SHADOW)
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER3_CONFIG 0xFFC00630 /* Timer 3 Configuration Register */
-#define TIMER3_COUNTER 0xFFC00634 /* Timer 3 Counter Register */
-#define TIMER3_PERIOD 0xFFC00638 /* Timer 3 Period Register */
-#define TIMER3_WIDTH 0xFFC0063C /* Timer 3 Width Register */
-
-#define TIMER4_CONFIG 0xFFC00640 /* Timer 4 Configuration Register */
-#define TIMER4_COUNTER 0xFFC00644 /* Timer 4 Counter Register */
-#define TIMER4_PERIOD 0xFFC00648 /* Timer 4 Period Register */
-#define TIMER4_WIDTH 0xFFC0064C /* Timer 4 Width Register */
-
-#define TIMER5_CONFIG 0xFFC00650 /* Timer 5 Configuration Register */
-#define TIMER5_COUNTER 0xFFC00654 /* Timer 5 Counter Register */
-#define TIMER5_PERIOD 0xFFC00658 /* Timer 5 Period Register */
-#define TIMER5_WIDTH 0xFFC0065C /* Timer 5 Width Register */
-
-#define TIMER6_CONFIG 0xFFC00660 /* Timer 6 Configuration Register */
-#define TIMER6_COUNTER 0xFFC00664 /* Timer 6 Counter Register */
-#define TIMER6_PERIOD 0xFFC00668 /* Timer 6 Period Register */
-#define TIMER6_WIDTH 0xFFC0066C /* Timer 6 Width Register */
-
-#define TIMER7_CONFIG 0xFFC00670 /* Timer 7 Configuration Register */
-#define TIMER7_COUNTER 0xFFC00674 /* Timer 7 Counter Register */
-#define TIMER7_PERIOD 0xFFC00678 /* Timer 7 Period Register */
-#define TIMER7_WIDTH 0xFFC0067C /* Timer 7 Width Register */
-
-#define TIMER_ENABLE 0xFFC00680 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00684 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00688 /* Timer Status Register */
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define PORTFIO 0xFFC00700 /* Port F I/O Pin State Specify Register */
-#define PORTFIO_CLEAR 0xFFC00704 /* Port F I/O Peripheral Interrupt Clear Register */
-#define PORTFIO_SET 0xFFC00708 /* Port F I/O Peripheral Interrupt Set Register */
-#define PORTFIO_TOGGLE 0xFFC0070C /* Port F I/O Pin State Toggle Register */
-#define PORTFIO_MASKA 0xFFC00710 /* Port F I/O Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR 0xFFC00714 /* Port F I/O Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET 0xFFC00718 /* Port F I/O Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE 0xFFC0071C /* Port F I/O Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB 0xFFC00720 /* Port F I/O Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR 0xFFC00724 /* Port F I/O Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET 0xFFC00728 /* Port F I/O Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE 0xFFC0072C /* Port F I/O Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR 0xFFC00730 /* Port F I/O Direction Register */
-#define PORTFIO_POLAR 0xFFC00734 /* Port F I/O Source Polarity Register */
-#define PORTFIO_EDGE 0xFFC00738 /* Port F I/O Source Sensitivity Register */
-#define PORTFIO_BOTH 0xFFC0073C /* Port F I/O Set on BOTH Edges Register */
-#define PORTFIO_INEN 0xFFC00740 /* Port F I/O Input Enable Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL 0xFFC00A04 /* Asynchronous Memory Bank Control Register */
-#define EBIU_MODE 0xFFC00A20 /* Asynchronous Memory Mode Control Register */
-#define EBIU_FCTL 0xFFC00A24 /* Asynchronous Memory Parameter Control Register */
-
-#define EBIU_AMBCTL0 (EBIU_AMBCTL)/* Asynchronous Memory Bank Control Register */
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define DMA8_NEXT_DESC_PTR 0xFFC00E00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC00E04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC00E08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC00E10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC00E14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC00E18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC00E1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC00E20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC00E24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC00E28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC00E2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC00E30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC00E38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC00E40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC00E44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC00E48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC00E50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC00E54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC00E58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC00E5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC00E60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC00E64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC00E68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC00E6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC00E70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC00E78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC00E80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC00E84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC00E88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC00E90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC00E94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC00E98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC00E9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC00EA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC00EA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC00EA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC00EAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC00EB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC00EB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC00EC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC00EC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC00EC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC00ED0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC00ED4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC00ED8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC00EDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC00EE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC00EE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC00EE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC00EEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC00EF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC00EF8 /* DMA Channel 11 Current Y Count Register */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00F04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xFFC00F08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xFFC00F10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00F14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xFFC00F18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00F1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00F20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA_D0_CURR_ADDR 0xFFC00F24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00F28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00F30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00F38 /* MemDMA Stream 0 Destination Current Y Count Register */
-
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00F44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xFFC00F48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xFFC00F50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00F54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xFFC00F58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00F5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00F60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00F64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00F68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C /* MemDMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00F70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00F78 /* MemDMA Stream 0 Source Current Y Count Register */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00F84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xFFC00F88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xFFC00F90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00F94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xFFC00F98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00F9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA_D1_CURR_ADDR 0xFFC00FA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00FA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00FB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00FC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xFFC00FC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xFFC00FD0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00FD4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xFFC00FD8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00FDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00FE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00FE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC /* MemDMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00FF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8 /* MemDMA Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define TWI_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI_CONTROL 0xFFC01404 /* TWI Control Register */
-#define TWI_SLAVE_CTL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI_MASTER_CTL 0xFFC01414 /* Master Mode Control Register */
-#define TWI_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI_INT_STAT 0xFFC01420 /* TWI Interrupt Status Register */
-#define TWI_INT_MASK 0xFFC01424 /* TWI Master Interrupt Mask Register */
-#define TWI_FIFO_CTL 0xFFC01428 /* FIFO Control Register */
-#define TWI_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define PORTGIO 0xFFC01500 /* Port G I/O Pin State Specify Register */
-#define PORTGIO_CLEAR 0xFFC01504 /* Port G I/O Peripheral Interrupt Clear Register */
-#define PORTGIO_SET 0xFFC01508 /* Port G I/O Peripheral Interrupt Set Register */
-#define PORTGIO_TOGGLE 0xFFC0150C /* Port G I/O Pin State Toggle Register */
-#define PORTGIO_MASKA 0xFFC01510 /* Port G I/O Mask State Specify Interrupt A Register */
-#define PORTGIO_MASKA_CLEAR 0xFFC01514 /* Port G I/O Mask Disable Interrupt A Register */
-#define PORTGIO_MASKA_SET 0xFFC01518 /* Port G I/O Mask Enable Interrupt A Register */
-#define PORTGIO_MASKA_TOGGLE 0xFFC0151C /* Port G I/O Mask Toggle Enable Interrupt A Register */
-#define PORTGIO_MASKB 0xFFC01520 /* Port G I/O Mask State Specify Interrupt B Register */
-#define PORTGIO_MASKB_CLEAR 0xFFC01524 /* Port G I/O Mask Disable Interrupt B Register */
-#define PORTGIO_MASKB_SET 0xFFC01528 /* Port G I/O Mask Enable Interrupt B Register */
-#define PORTGIO_MASKB_TOGGLE 0xFFC0152C /* Port G I/O Mask Toggle Enable Interrupt B Register */
-#define PORTGIO_DIR 0xFFC01530 /* Port G I/O Direction Register */
-#define PORTGIO_POLAR 0xFFC01534 /* Port G I/O Source Polarity Register */
-#define PORTGIO_EDGE 0xFFC01538 /* Port G I/O Source Sensitivity Register */
-#define PORTGIO_BOTH 0xFFC0153C /* Port G I/O Set on BOTH Edges Register */
-#define PORTGIO_INEN 0xFFC01540 /* Port G I/O Input Enable Register */
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define PORTHIO 0xFFC01700 /* Port H I/O Pin State Specify Register */
-#define PORTHIO_CLEAR 0xFFC01704 /* Port H I/O Peripheral Interrupt Clear Register */
-#define PORTHIO_SET 0xFFC01708 /* Port H I/O Peripheral Interrupt Set Register */
-#define PORTHIO_TOGGLE 0xFFC0170C /* Port H I/O Pin State Toggle Register */
-#define PORTHIO_MASKA 0xFFC01710 /* Port H I/O Mask State Specify Interrupt A Register */
-#define PORTHIO_MASKA_CLEAR 0xFFC01714 /* Port H I/O Mask Disable Interrupt A Register */
-#define PORTHIO_MASKA_SET 0xFFC01718 /* Port H I/O Mask Enable Interrupt A Register */
-#define PORTHIO_MASKA_TOGGLE 0xFFC0171C /* Port H I/O Mask Toggle Enable Interrupt A Register */
-#define PORTHIO_MASKB 0xFFC01720 /* Port H I/O Mask State Specify Interrupt B Register */
-#define PORTHIO_MASKB_CLEAR 0xFFC01724 /* Port H I/O Mask Disable Interrupt B Register */
-#define PORTHIO_MASKB_SET 0xFFC01728 /* Port H I/O Mask Enable Interrupt B Register */
-#define PORTHIO_MASKB_TOGGLE 0xFFC0172C /* Port H I/O Mask Toggle Enable Interrupt B Register */
-#define PORTHIO_DIR 0xFFC01730 /* Port H I/O Direction Register */
-#define PORTHIO_POLAR 0xFFC01734 /* Port H I/O Source Polarity Register */
-#define PORTHIO_EDGE 0xFFC01738 /* Port H I/O Source Sensitivity Register */
-#define PORTHIO_BOTH 0xFFC0173C /* Port H I/O Set on BOTH Edges Register */
-#define PORTHIO_INEN 0xFFC01740 /* Port H I/O Input Enable Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_DLL 0xffc02000 /* Divisor Latch Low Byte */
-#define UART1_DLH 0xffc02004 /* Divisor Latch High Byte */
-#define UART1_GCTL 0xffc02008 /* Global Control Register */
-#define UART1_LCR 0xffc0200c /* Line Control Register */
-#define UART1_MCR 0xffc02010 /* Modem Control Register */
-#define UART1_LSR 0xffc02014 /* Line Status Register */
-#define UART1_MSR 0xffc02018 /* Modem Status Register */
-#define UART1_SCR 0xffc0201c /* Scratch Register */
-#define UART1_IER_SET 0xffc02020 /* Interrupt Enable Register Set */
-#define UART1_IER_CLEAR 0xffc02024 /* Interrupt Enable Register Clear */
-#define UART1_THR 0xffc02028 /* Transmit Hold Register */
-#define UART1_RBR 0xffc0202c /* Receive Buffer Register */
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define CAN_MC1 0xFFC02A00 /* Mailbox config reg 1 */
-#define CAN_MD1 0xFFC02A04 /* Mailbox direction reg 1 */
-#define CAN_TRS1 0xFFC02A08 /* Transmit Request Set reg 1 */
-#define CAN_TRR1 0xFFC02A0C /* Transmit Request Reset reg 1 */
-#define CAN_TA1 0xFFC02A10 /* Transmit Acknowledge reg 1 */
-#define CAN_AA1 0xFFC02A14 /* Transmit Abort Acknowledge reg 1 */
-#define CAN_RMP1 0xFFC02A18 /* Receive Message Pending reg 1 */
-#define CAN_RML1 0xFFC02A1C /* Receive Message Lost reg 1 */
-#define CAN_MBTIF1 0xFFC02A20 /* Mailbox Transmit Interrupt Flag reg 1 */
-#define CAN_MBRIF1 0xFFC02A24 /* Mailbox Receive Interrupt Flag reg 1 */
-#define CAN_MBIM1 0xFFC02A28 /* Mailbox Interrupt Mask reg 1 */
-#define CAN_RFH1 0xFFC02A2C /* Remote Frame Handling reg 1 */
-#define CAN_OPSS1 0xFFC02A30 /* Overwrite Protection Single Shot Xmission reg 1 */
-
-/* For Mailboxes 16-31 */
-#define CAN_MC2 0xFFC02A40 /* Mailbox config reg 2 */
-#define CAN_MD2 0xFFC02A44 /* Mailbox direction reg 2 */
-#define CAN_TRS2 0xFFC02A48 /* Transmit Request Set reg 2 */
-#define CAN_TRR2 0xFFC02A4C /* Transmit Request Reset reg 2 */
-#define CAN_TA2 0xFFC02A50 /* Transmit Acknowledge reg 2 */
-#define CAN_AA2 0xFFC02A54 /* Transmit Abort Acknowledge reg 2 */
-#define CAN_RMP2 0xFFC02A58 /* Receive Message Pending reg 2 */
-#define CAN_RML2 0xFFC02A5C /* Receive Message Lost reg 2 */
-#define CAN_MBTIF2 0xFFC02A60 /* Mailbox Transmit Interrupt Flag reg 2 */
-#define CAN_MBRIF2 0xFFC02A64 /* Mailbox Receive Interrupt Flag reg 2 */
-#define CAN_MBIM2 0xFFC02A68 /* Mailbox Interrupt Mask reg 2 */
-#define CAN_RFH2 0xFFC02A6C /* Remote Frame Handling reg 2 */
-#define CAN_OPSS2 0xFFC02A70 /* Overwrite Protection Single Shot Xmission reg 2 */
-
-#define CAN_CLOCK 0xFFC02A80 /* Bit Timing Configuration register 0 */
-#define CAN_TIMING 0xFFC02A84 /* Bit Timing Configuration register 1 */
-
-#define CAN_DEBUG 0xFFC02A88 /* Debug Register */
-/* the following is for backwards compatibility */
-#define CAN_CNF (CAN_DEBUG )
-
-#define CAN_STATUS 0xFFC02A8C /* Global Status Register */
-#define CAN_CEC 0xFFC02A90 /* Error Counter Register */
-#define CAN_GIS 0xFFC02A94 /* Global Interrupt Status Register */
-#define CAN_GIM 0xFFC02A98 /* Global Interrupt Mask Register */
-#define CAN_GIF 0xFFC02A9C /* Global Interrupt Flag Register */
-#define CAN_CONTROL 0xFFC02AA0 /* Master Control Register */
-#define CAN_INTR 0xFFC02AA4 /* Interrupt Pending Register */
-#define CAN_MBTD 0xFFC02AAC /* Mailbox Temporary Disable Feature */
-#define CAN_EWR 0xFFC02AB0 /* Programmable Warning Level */
-#define CAN_ESR 0xFFC02AB4 /* Error Status Register */
-#define CAN_UCCNT 0xFFC02AC4 /* Universal Counter */
-#define CAN_UCRC 0xFFC02AC8 /* Universal Counter Reload/Capture Register */
-#define CAN_UCCNF 0xFFC02ACC /* Universal Counter Configuration Register */
-
-/* Mailbox Acceptance Masks */
-#define CAN_AM00L 0xFFC02B00 /* Mailbox 0 Low Acceptance Mask */
-#define CAN_AM00H 0xFFC02B04 /* Mailbox 0 High Acceptance Mask */
-#define CAN_AM01L 0xFFC02B08 /* Mailbox 1 Low Acceptance Mask */
-#define CAN_AM01H 0xFFC02B0C /* Mailbox 1 High Acceptance Mask */
-#define CAN_AM02L 0xFFC02B10 /* Mailbox 2 Low Acceptance Mask */
-#define CAN_AM02H 0xFFC02B14 /* Mailbox 2 High Acceptance Mask */
-#define CAN_AM03L 0xFFC02B18 /* Mailbox 3 Low Acceptance Mask */
-#define CAN_AM03H 0xFFC02B1C /* Mailbox 3 High Acceptance Mask */
-#define CAN_AM04L 0xFFC02B20 /* Mailbox 4 Low Acceptance Mask */
-#define CAN_AM04H 0xFFC02B24 /* Mailbox 4 High Acceptance Mask */
-#define CAN_AM05L 0xFFC02B28 /* Mailbox 5 Low Acceptance Mask */
-#define CAN_AM05H 0xFFC02B2C /* Mailbox 5 High Acceptance Mask */
-#define CAN_AM06L 0xFFC02B30 /* Mailbox 6 Low Acceptance Mask */
-#define CAN_AM06H 0xFFC02B34 /* Mailbox 6 High Acceptance Mask */
-#define CAN_AM07L 0xFFC02B38 /* Mailbox 7 Low Acceptance Mask */
-#define CAN_AM07H 0xFFC02B3C /* Mailbox 7 High Acceptance Mask */
-#define CAN_AM08L 0xFFC02B40 /* Mailbox 8 Low Acceptance Mask */
-#define CAN_AM08H 0xFFC02B44 /* Mailbox 8 High Acceptance Mask */
-#define CAN_AM09L 0xFFC02B48 /* Mailbox 9 Low Acceptance Mask */
-#define CAN_AM09H 0xFFC02B4C /* Mailbox 9 High Acceptance Mask */
-#define CAN_AM10L 0xFFC02B50 /* Mailbox 10 Low Acceptance Mask */
-#define CAN_AM10H 0xFFC02B54 /* Mailbox 10 High Acceptance Mask */
-#define CAN_AM11L 0xFFC02B58 /* Mailbox 11 Low Acceptance Mask */
-#define CAN_AM11H 0xFFC02B5C /* Mailbox 11 High Acceptance Mask */
-#define CAN_AM12L 0xFFC02B60 /* Mailbox 12 Low Acceptance Mask */
-#define CAN_AM12H 0xFFC02B64 /* Mailbox 12 High Acceptance Mask */
-#define CAN_AM13L 0xFFC02B68 /* Mailbox 13 Low Acceptance Mask */
-#define CAN_AM13H 0xFFC02B6C /* Mailbox 13 High Acceptance Mask */
-#define CAN_AM14L 0xFFC02B70 /* Mailbox 14 Low Acceptance Mask */
-#define CAN_AM14H 0xFFC02B74 /* Mailbox 14 High Acceptance Mask */
-#define CAN_AM15L 0xFFC02B78 /* Mailbox 15 Low Acceptance Mask */
-#define CAN_AM15H 0xFFC02B7C /* Mailbox 15 High Acceptance Mask */
-
-#define CAN_AM16L 0xFFC02B80 /* Mailbox 16 Low Acceptance Mask */
-#define CAN_AM16H 0xFFC02B84 /* Mailbox 16 High Acceptance Mask */
-#define CAN_AM17L 0xFFC02B88 /* Mailbox 17 Low Acceptance Mask */
-#define CAN_AM17H 0xFFC02B8C /* Mailbox 17 High Acceptance Mask */
-#define CAN_AM18L 0xFFC02B90 /* Mailbox 18 Low Acceptance Mask */
-#define CAN_AM18H 0xFFC02B94 /* Mailbox 18 High Acceptance Mask */
-#define CAN_AM19L 0xFFC02B98 /* Mailbox 19 Low Acceptance Mask */
-#define CAN_AM19H 0xFFC02B9C /* Mailbox 19 High Acceptance Mask */
-#define CAN_AM20L 0xFFC02BA0 /* Mailbox 20 Low Acceptance Mask */
-#define CAN_AM20H 0xFFC02BA4 /* Mailbox 20 High Acceptance Mask */
-#define CAN_AM21L 0xFFC02BA8 /* Mailbox 21 Low Acceptance Mask */
-#define CAN_AM21H 0xFFC02BAC /* Mailbox 21 High Acceptance Mask */
-#define CAN_AM22L 0xFFC02BB0 /* Mailbox 22 Low Acceptance Mask */
-#define CAN_AM22H 0xFFC02BB4 /* Mailbox 22 High Acceptance Mask */
-#define CAN_AM23L 0xFFC02BB8 /* Mailbox 23 Low Acceptance Mask */
-#define CAN_AM23H 0xFFC02BBC /* Mailbox 23 High Acceptance Mask */
-#define CAN_AM24L 0xFFC02BC0 /* Mailbox 24 Low Acceptance Mask */
-#define CAN_AM24H 0xFFC02BC4 /* Mailbox 24 High Acceptance Mask */
-#define CAN_AM25L 0xFFC02BC8 /* Mailbox 25 Low Acceptance Mask */
-#define CAN_AM25H 0xFFC02BCC /* Mailbox 25 High Acceptance Mask */
-#define CAN_AM26L 0xFFC02BD0 /* Mailbox 26 Low Acceptance Mask */
-#define CAN_AM26H 0xFFC02BD4 /* Mailbox 26 High Acceptance Mask */
-#define CAN_AM27L 0xFFC02BD8 /* Mailbox 27 Low Acceptance Mask */
-#define CAN_AM27H 0xFFC02BDC /* Mailbox 27 High Acceptance Mask */
-#define CAN_AM28L 0xFFC02BE0 /* Mailbox 28 Low Acceptance Mask */
-#define CAN_AM28H 0xFFC02BE4 /* Mailbox 28 High Acceptance Mask */
-#define CAN_AM29L 0xFFC02BE8 /* Mailbox 29 Low Acceptance Mask */
-#define CAN_AM29H 0xFFC02BEC /* Mailbox 29 High Acceptance Mask */
-#define CAN_AM30L 0xFFC02BF0 /* Mailbox 30 Low Acceptance Mask */
-#define CAN_AM30H 0xFFC02BF4 /* Mailbox 30 High Acceptance Mask */
-#define CAN_AM31L 0xFFC02BF8 /* Mailbox 31 Low Acceptance Mask */
-#define CAN_AM31H 0xFFC02BFC /* Mailbox 31 High Acceptance Mask */
-
-/* CAN Acceptance Mask Macros */
-#define CAN_AM_L(x) (CAN_AM00L+((x)*0x8))
-#define CAN_AM_H(x) (CAN_AM00H+((x)*0x8))
-
-/* Mailbox Registers */
-#define CAN_MB00_DATA0 0xFFC02C00 /* Mailbox 0 Data Word 0 [15:0] Register */
-#define CAN_MB00_DATA1 0xFFC02C04 /* Mailbox 0 Data Word 1 [31:16] Register */
-#define CAN_MB00_DATA2 0xFFC02C08 /* Mailbox 0 Data Word 2 [47:32] Register */
-#define CAN_MB00_DATA3 0xFFC02C0C /* Mailbox 0 Data Word 3 [63:48] Register */
-#define CAN_MB00_LENGTH 0xFFC02C10 /* Mailbox 0 Data Length Code Register */
-#define CAN_MB00_TIMESTAMP 0xFFC02C14 /* Mailbox 0 Time Stamp Value Register */
-#define CAN_MB00_ID0 0xFFC02C18 /* Mailbox 0 Identifier Low Register */
-#define CAN_MB00_ID1 0xFFC02C1C /* Mailbox 0 Identifier High Register */
-
-#define CAN_MB01_DATA0 0xFFC02C20 /* Mailbox 1 Data Word 0 [15:0] Register */
-#define CAN_MB01_DATA1 0xFFC02C24 /* Mailbox 1 Data Word 1 [31:16] Register */
-#define CAN_MB01_DATA2 0xFFC02C28 /* Mailbox 1 Data Word 2 [47:32] Register */
-#define CAN_MB01_DATA3 0xFFC02C2C /* Mailbox 1 Data Word 3 [63:48] Register */
-#define CAN_MB01_LENGTH 0xFFC02C30 /* Mailbox 1 Data Length Code Register */
-#define CAN_MB01_TIMESTAMP 0xFFC02C34 /* Mailbox 1 Time Stamp Value Register */
-#define CAN_MB01_ID0 0xFFC02C38 /* Mailbox 1 Identifier Low Register */
-#define CAN_MB01_ID1 0xFFC02C3C /* Mailbox 1 Identifier High Register */
-
-#define CAN_MB02_DATA0 0xFFC02C40 /* Mailbox 2 Data Word 0 [15:0] Register */
-#define CAN_MB02_DATA1 0xFFC02C44 /* Mailbox 2 Data Word 1 [31:16] Register */
-#define CAN_MB02_DATA2 0xFFC02C48 /* Mailbox 2 Data Word 2 [47:32] Register */
-#define CAN_MB02_DATA3 0xFFC02C4C /* Mailbox 2 Data Word 3 [63:48] Register */
-#define CAN_MB02_LENGTH 0xFFC02C50 /* Mailbox 2 Data Length Code Register */
-#define CAN_MB02_TIMESTAMP 0xFFC02C54 /* Mailbox 2 Time Stamp Value Register */
-#define CAN_MB02_ID0 0xFFC02C58 /* Mailbox 2 Identifier Low Register */
-#define CAN_MB02_ID1 0xFFC02C5C /* Mailbox 2 Identifier High Register */
-
-#define CAN_MB03_DATA0 0xFFC02C60 /* Mailbox 3 Data Word 0 [15:0] Register */
-#define CAN_MB03_DATA1 0xFFC02C64 /* Mailbox 3 Data Word 1 [31:16] Register */
-#define CAN_MB03_DATA2 0xFFC02C68 /* Mailbox 3 Data Word 2 [47:32] Register */
-#define CAN_MB03_DATA3 0xFFC02C6C /* Mailbox 3 Data Word 3 [63:48] Register */
-#define CAN_MB03_LENGTH 0xFFC02C70 /* Mailbox 3 Data Length Code Register */
-#define CAN_MB03_TIMESTAMP 0xFFC02C74 /* Mailbox 3 Time Stamp Value Register */
-#define CAN_MB03_ID0 0xFFC02C78 /* Mailbox 3 Identifier Low Register */
-#define CAN_MB03_ID1 0xFFC02C7C /* Mailbox 3 Identifier High Register */
-
-#define CAN_MB04_DATA0 0xFFC02C80 /* Mailbox 4 Data Word 0 [15:0] Register */
-#define CAN_MB04_DATA1 0xFFC02C84 /* Mailbox 4 Data Word 1 [31:16] Register */
-#define CAN_MB04_DATA2 0xFFC02C88 /* Mailbox 4 Data Word 2 [47:32] Register */
-#define CAN_MB04_DATA3 0xFFC02C8C /* Mailbox 4 Data Word 3 [63:48] Register */
-#define CAN_MB04_LENGTH 0xFFC02C90 /* Mailbox 4 Data Length Code Register */
-#define CAN_MB04_TIMESTAMP 0xFFC02C94 /* Mailbox 4 Time Stamp Value Register */
-#define CAN_MB04_ID0 0xFFC02C98 /* Mailbox 4 Identifier Low Register */
-#define CAN_MB04_ID1 0xFFC02C9C /* Mailbox 4 Identifier High Register */
-
-#define CAN_MB05_DATA0 0xFFC02CA0 /* Mailbox 5 Data Word 0 [15:0] Register */
-#define CAN_MB05_DATA1 0xFFC02CA4 /* Mailbox 5 Data Word 1 [31:16] Register */
-#define CAN_MB05_DATA2 0xFFC02CA8 /* Mailbox 5 Data Word 2 [47:32] Register */
-#define CAN_MB05_DATA3 0xFFC02CAC /* Mailbox 5 Data Word 3 [63:48] Register */
-#define CAN_MB05_LENGTH 0xFFC02CB0 /* Mailbox 5 Data Length Code Register */
-#define CAN_MB05_TIMESTAMP 0xFFC02CB4 /* Mailbox 5 Time Stamp Value Register */
-#define CAN_MB05_ID0 0xFFC02CB8 /* Mailbox 5 Identifier Low Register */
-#define CAN_MB05_ID1 0xFFC02CBC /* Mailbox 5 Identifier High Register */
-
-#define CAN_MB06_DATA0 0xFFC02CC0 /* Mailbox 6 Data Word 0 [15:0] Register */
-#define CAN_MB06_DATA1 0xFFC02CC4 /* Mailbox 6 Data Word 1 [31:16] Register */
-#define CAN_MB06_DATA2 0xFFC02CC8 /* Mailbox 6 Data Word 2 [47:32] Register */
-#define CAN_MB06_DATA3 0xFFC02CCC /* Mailbox 6 Data Word 3 [63:48] Register */
-#define CAN_MB06_LENGTH 0xFFC02CD0 /* Mailbox 6 Data Length Code Register */
-#define CAN_MB06_TIMESTAMP 0xFFC02CD4 /* Mailbox 6 Time Stamp Value Register */
-#define CAN_MB06_ID0 0xFFC02CD8 /* Mailbox 6 Identifier Low Register */
-#define CAN_MB06_ID1 0xFFC02CDC /* Mailbox 6 Identifier High Register */
-
-#define CAN_MB07_DATA0 0xFFC02CE0 /* Mailbox 7 Data Word 0 [15:0] Register */
-#define CAN_MB07_DATA1 0xFFC02CE4 /* Mailbox 7 Data Word 1 [31:16] Register */
-#define CAN_MB07_DATA2 0xFFC02CE8 /* Mailbox 7 Data Word 2 [47:32] Register */
-#define CAN_MB07_DATA3 0xFFC02CEC /* Mailbox 7 Data Word 3 [63:48] Register */
-#define CAN_MB07_LENGTH 0xFFC02CF0 /* Mailbox 7 Data Length Code Register */
-#define CAN_MB07_TIMESTAMP 0xFFC02CF4 /* Mailbox 7 Time Stamp Value Register */
-#define CAN_MB07_ID0 0xFFC02CF8 /* Mailbox 7 Identifier Low Register */
-#define CAN_MB07_ID1 0xFFC02CFC /* Mailbox 7 Identifier High Register */
-
-#define CAN_MB08_DATA0 0xFFC02D00 /* Mailbox 8 Data Word 0 [15:0] Register */
-#define CAN_MB08_DATA1 0xFFC02D04 /* Mailbox 8 Data Word 1 [31:16] Register */
-#define CAN_MB08_DATA2 0xFFC02D08 /* Mailbox 8 Data Word 2 [47:32] Register */
-#define CAN_MB08_DATA3 0xFFC02D0C /* Mailbox 8 Data Word 3 [63:48] Register */
-#define CAN_MB08_LENGTH 0xFFC02D10 /* Mailbox 8 Data Length Code Register */
-#define CAN_MB08_TIMESTAMP 0xFFC02D14 /* Mailbox 8 Time Stamp Value Register */
-#define CAN_MB08_ID0 0xFFC02D18 /* Mailbox 8 Identifier Low Register */
-#define CAN_MB08_ID1 0xFFC02D1C /* Mailbox 8 Identifier High Register */
-
-#define CAN_MB09_DATA0 0xFFC02D20 /* Mailbox 9 Data Word 0 [15:0] Register */
-#define CAN_MB09_DATA1 0xFFC02D24 /* Mailbox 9 Data Word 1 [31:16] Register */
-#define CAN_MB09_DATA2 0xFFC02D28 /* Mailbox 9 Data Word 2 [47:32] Register */
-#define CAN_MB09_DATA3 0xFFC02D2C /* Mailbox 9 Data Word 3 [63:48] Register */
-#define CAN_MB09_LENGTH 0xFFC02D30 /* Mailbox 9 Data Length Code Register */
-#define CAN_MB09_TIMESTAMP 0xFFC02D34 /* Mailbox 9 Time Stamp Value Register */
-#define CAN_MB09_ID0 0xFFC02D38 /* Mailbox 9 Identifier Low Register */
-#define CAN_MB09_ID1 0xFFC02D3C /* Mailbox 9 Identifier High Register */
-
-#define CAN_MB10_DATA0 0xFFC02D40 /* Mailbox 10 Data Word 0 [15:0] Register */
-#define CAN_MB10_DATA1 0xFFC02D44 /* Mailbox 10 Data Word 1 [31:16] Register */
-#define CAN_MB10_DATA2 0xFFC02D48 /* Mailbox 10 Data Word 2 [47:32] Register */
-#define CAN_MB10_DATA3 0xFFC02D4C /* Mailbox 10 Data Word 3 [63:48] Register */
-#define CAN_MB10_LENGTH 0xFFC02D50 /* Mailbox 10 Data Length Code Register */
-#define CAN_MB10_TIMESTAMP 0xFFC02D54 /* Mailbox 10 Time Stamp Value Register */
-#define CAN_MB10_ID0 0xFFC02D58 /* Mailbox 10 Identifier Low Register */
-#define CAN_MB10_ID1 0xFFC02D5C /* Mailbox 10 Identifier High Register */
-
-#define CAN_MB11_DATA0 0xFFC02D60 /* Mailbox 11 Data Word 0 [15:0] Register */
-#define CAN_MB11_DATA1 0xFFC02D64 /* Mailbox 11 Data Word 1 [31:16] Register */
-#define CAN_MB11_DATA2 0xFFC02D68 /* Mailbox 11 Data Word 2 [47:32] Register */
-#define CAN_MB11_DATA3 0xFFC02D6C /* Mailbox 11 Data Word 3 [63:48] Register */
-#define CAN_MB11_LENGTH 0xFFC02D70 /* Mailbox 11 Data Length Code Register */
-#define CAN_MB11_TIMESTAMP 0xFFC02D74 /* Mailbox 11 Time Stamp Value Register */
-#define CAN_MB11_ID0 0xFFC02D78 /* Mailbox 11 Identifier Low Register */
-#define CAN_MB11_ID1 0xFFC02D7C /* Mailbox 11 Identifier High Register */
-
-#define CAN_MB12_DATA0 0xFFC02D80 /* Mailbox 12 Data Word 0 [15:0] Register */
-#define CAN_MB12_DATA1 0xFFC02D84 /* Mailbox 12 Data Word 1 [31:16] Register */
-#define CAN_MB12_DATA2 0xFFC02D88 /* Mailbox 12 Data Word 2 [47:32] Register */
-#define CAN_MB12_DATA3 0xFFC02D8C /* Mailbox 12 Data Word 3 [63:48] Register */
-#define CAN_MB12_LENGTH 0xFFC02D90 /* Mailbox 12 Data Length Code Register */
-#define CAN_MB12_TIMESTAMP 0xFFC02D94 /* Mailbox 12 Time Stamp Value Register */
-#define CAN_MB12_ID0 0xFFC02D98 /* Mailbox 12 Identifier Low Register */
-#define CAN_MB12_ID1 0xFFC02D9C /* Mailbox 12 Identifier High Register */
-
-#define CAN_MB13_DATA0 0xFFC02DA0 /* Mailbox 13 Data Word 0 [15:0] Register */
-#define CAN_MB13_DATA1 0xFFC02DA4 /* Mailbox 13 Data Word 1 [31:16] Register */
-#define CAN_MB13_DATA2 0xFFC02DA8 /* Mailbox 13 Data Word 2 [47:32] Register */
-#define CAN_MB13_DATA3 0xFFC02DAC /* Mailbox 13 Data Word 3 [63:48] Register */
-#define CAN_MB13_LENGTH 0xFFC02DB0 /* Mailbox 13 Data Length Code Register */
-#define CAN_MB13_TIMESTAMP 0xFFC02DB4 /* Mailbox 13 Time Stamp Value Register */
-#define CAN_MB13_ID0 0xFFC02DB8 /* Mailbox 13 Identifier Low Register */
-#define CAN_MB13_ID1 0xFFC02DBC /* Mailbox 13 Identifier High Register */
-
-#define CAN_MB14_DATA0 0xFFC02DC0 /* Mailbox 14 Data Word 0 [15:0] Register */
-#define CAN_MB14_DATA1 0xFFC02DC4 /* Mailbox 14 Data Word 1 [31:16] Register */
-#define CAN_MB14_DATA2 0xFFC02DC8 /* Mailbox 14 Data Word 2 [47:32] Register */
-#define CAN_MB14_DATA3 0xFFC02DCC /* Mailbox 14 Data Word 3 [63:48] Register */
-#define CAN_MB14_LENGTH 0xFFC02DD0 /* Mailbox 14 Data Length Code Register */
-#define CAN_MB14_TIMESTAMP 0xFFC02DD4 /* Mailbox 14 Time Stamp Value Register */
-#define CAN_MB14_ID0 0xFFC02DD8 /* Mailbox 14 Identifier Low Register */
-#define CAN_MB14_ID1 0xFFC02DDC /* Mailbox 14 Identifier High Register */
-
-#define CAN_MB15_DATA0 0xFFC02DE0 /* Mailbox 15 Data Word 0 [15:0] Register */
-#define CAN_MB15_DATA1 0xFFC02DE4 /* Mailbox 15 Data Word 1 [31:16] Register */
-#define CAN_MB15_DATA2 0xFFC02DE8 /* Mailbox 15 Data Word 2 [47:32] Register */
-#define CAN_MB15_DATA3 0xFFC02DEC /* Mailbox 15 Data Word 3 [63:48] Register */
-#define CAN_MB15_LENGTH 0xFFC02DF0 /* Mailbox 15 Data Length Code Register */
-#define CAN_MB15_TIMESTAMP 0xFFC02DF4 /* Mailbox 15 Time Stamp Value Register */
-#define CAN_MB15_ID0 0xFFC02DF8 /* Mailbox 15 Identifier Low Register */
-#define CAN_MB15_ID1 0xFFC02DFC /* Mailbox 15 Identifier High Register */
-
-#define CAN_MB16_DATA0 0xFFC02E00 /* Mailbox 16 Data Word 0 [15:0] Register */
-#define CAN_MB16_DATA1 0xFFC02E04 /* Mailbox 16 Data Word 1 [31:16] Register */
-#define CAN_MB16_DATA2 0xFFC02E08 /* Mailbox 16 Data Word 2 [47:32] Register */
-#define CAN_MB16_DATA3 0xFFC02E0C /* Mailbox 16 Data Word 3 [63:48] Register */
-#define CAN_MB16_LENGTH 0xFFC02E10 /* Mailbox 16 Data Length Code Register */
-#define CAN_MB16_TIMESTAMP 0xFFC02E14 /* Mailbox 16 Time Stamp Value Register */
-#define CAN_MB16_ID0 0xFFC02E18 /* Mailbox 16 Identifier Low Register */
-#define CAN_MB16_ID1 0xFFC02E1C /* Mailbox 16 Identifier High Register */
-
-#define CAN_MB17_DATA0 0xFFC02E20 /* Mailbox 17 Data Word 0 [15:0] Register */
-#define CAN_MB17_DATA1 0xFFC02E24 /* Mailbox 17 Data Word 1 [31:16] Register */
-#define CAN_MB17_DATA2 0xFFC02E28 /* Mailbox 17 Data Word 2 [47:32] Register */
-#define CAN_MB17_DATA3 0xFFC02E2C /* Mailbox 17 Data Word 3 [63:48] Register */
-#define CAN_MB17_LENGTH 0xFFC02E30 /* Mailbox 17 Data Length Code Register */
-#define CAN_MB17_TIMESTAMP 0xFFC02E34 /* Mailbox 17 Time Stamp Value Register */
-#define CAN_MB17_ID0 0xFFC02E38 /* Mailbox 17 Identifier Low Register */
-#define CAN_MB17_ID1 0xFFC02E3C /* Mailbox 17 Identifier High Register */
-
-#define CAN_MB18_DATA0 0xFFC02E40 /* Mailbox 18 Data Word 0 [15:0] Register */
-#define CAN_MB18_DATA1 0xFFC02E44 /* Mailbox 18 Data Word 1 [31:16] Register */
-#define CAN_MB18_DATA2 0xFFC02E48 /* Mailbox 18 Data Word 2 [47:32] Register */
-#define CAN_MB18_DATA3 0xFFC02E4C /* Mailbox 18 Data Word 3 [63:48] Register */
-#define CAN_MB18_LENGTH 0xFFC02E50 /* Mailbox 18 Data Length Code Register */
-#define CAN_MB18_TIMESTAMP 0xFFC02E54 /* Mailbox 18 Time Stamp Value Register */
-#define CAN_MB18_ID0 0xFFC02E58 /* Mailbox 18 Identifier Low Register */
-#define CAN_MB18_ID1 0xFFC02E5C /* Mailbox 18 Identifier High Register */
-
-#define CAN_MB19_DATA0 0xFFC02E60 /* Mailbox 19 Data Word 0 [15:0] Register */
-#define CAN_MB19_DATA1 0xFFC02E64 /* Mailbox 19 Data Word 1 [31:16] Register */
-#define CAN_MB19_DATA2 0xFFC02E68 /* Mailbox 19 Data Word 2 [47:32] Register */
-#define CAN_MB19_DATA3 0xFFC02E6C /* Mailbox 19 Data Word 3 [63:48] Register */
-#define CAN_MB19_LENGTH 0xFFC02E70 /* Mailbox 19 Data Length Code Register */
-#define CAN_MB19_TIMESTAMP 0xFFC02E74 /* Mailbox 19 Time Stamp Value Register */
-#define CAN_MB19_ID0 0xFFC02E78 /* Mailbox 19 Identifier Low Register */
-#define CAN_MB19_ID1 0xFFC02E7C /* Mailbox 19 Identifier High Register */
-
-#define CAN_MB20_DATA0 0xFFC02E80 /* Mailbox 20 Data Word 0 [15:0] Register */
-#define CAN_MB20_DATA1 0xFFC02E84 /* Mailbox 20 Data Word 1 [31:16] Register */
-#define CAN_MB20_DATA2 0xFFC02E88 /* Mailbox 20 Data Word 2 [47:32] Register */
-#define CAN_MB20_DATA3 0xFFC02E8C /* Mailbox 20 Data Word 3 [63:48] Register */
-#define CAN_MB20_LENGTH 0xFFC02E90 /* Mailbox 20 Data Length Code Register */
-#define CAN_MB20_TIMESTAMP 0xFFC02E94 /* Mailbox 20 Time Stamp Value Register */
-#define CAN_MB20_ID0 0xFFC02E98 /* Mailbox 20 Identifier Low Register */
-#define CAN_MB20_ID1 0xFFC02E9C /* Mailbox 20 Identifier High Register */
-
-#define CAN_MB21_DATA0 0xFFC02EA0 /* Mailbox 21 Data Word 0 [15:0] Register */
-#define CAN_MB21_DATA1 0xFFC02EA4 /* Mailbox 21 Data Word 1 [31:16] Register */
-#define CAN_MB21_DATA2 0xFFC02EA8 /* Mailbox 21 Data Word 2 [47:32] Register */
-#define CAN_MB21_DATA3 0xFFC02EAC /* Mailbox 21 Data Word 3 [63:48] Register */
-#define CAN_MB21_LENGTH 0xFFC02EB0 /* Mailbox 21 Data Length Code Register */
-#define CAN_MB21_TIMESTAMP 0xFFC02EB4 /* Mailbox 21 Time Stamp Value Register */
-#define CAN_MB21_ID0 0xFFC02EB8 /* Mailbox 21 Identifier Low Register */
-#define CAN_MB21_ID1 0xFFC02EBC /* Mailbox 21 Identifier High Register */
-
-#define CAN_MB22_DATA0 0xFFC02EC0 /* Mailbox 22 Data Word 0 [15:0] Register */
-#define CAN_MB22_DATA1 0xFFC02EC4 /* Mailbox 22 Data Word 1 [31:16] Register */
-#define CAN_MB22_DATA2 0xFFC02EC8 /* Mailbox 22 Data Word 2 [47:32] Register */
-#define CAN_MB22_DATA3 0xFFC02ECC /* Mailbox 22 Data Word 3 [63:48] Register */
-#define CAN_MB22_LENGTH 0xFFC02ED0 /* Mailbox 22 Data Length Code Register */
-#define CAN_MB22_TIMESTAMP 0xFFC02ED4 /* Mailbox 22 Time Stamp Value Register */
-#define CAN_MB22_ID0 0xFFC02ED8 /* Mailbox 22 Identifier Low Register */
-#define CAN_MB22_ID1 0xFFC02EDC /* Mailbox 22 Identifier High Register */
-
-#define CAN_MB23_DATA0 0xFFC02EE0 /* Mailbox 23 Data Word 0 [15:0] Register */
-#define CAN_MB23_DATA1 0xFFC02EE4 /* Mailbox 23 Data Word 1 [31:16] Register */
-#define CAN_MB23_DATA2 0xFFC02EE8 /* Mailbox 23 Data Word 2 [47:32] Register */
-#define CAN_MB23_DATA3 0xFFC02EEC /* Mailbox 23 Data Word 3 [63:48] Register */
-#define CAN_MB23_LENGTH 0xFFC02EF0 /* Mailbox 23 Data Length Code Register */
-#define CAN_MB23_TIMESTAMP 0xFFC02EF4 /* Mailbox 23 Time Stamp Value Register */
-#define CAN_MB23_ID0 0xFFC02EF8 /* Mailbox 23 Identifier Low Register */
-#define CAN_MB23_ID1 0xFFC02EFC /* Mailbox 23 Identifier High Register */
-
-#define CAN_MB24_DATA0 0xFFC02F00 /* Mailbox 24 Data Word 0 [15:0] Register */
-#define CAN_MB24_DATA1 0xFFC02F04 /* Mailbox 24 Data Word 1 [31:16] Register */
-#define CAN_MB24_DATA2 0xFFC02F08 /* Mailbox 24 Data Word 2 [47:32] Register */
-#define CAN_MB24_DATA3 0xFFC02F0C /* Mailbox 24 Data Word 3 [63:48] Register */
-#define CAN_MB24_LENGTH 0xFFC02F10 /* Mailbox 24 Data Length Code Register */
-#define CAN_MB24_TIMESTAMP 0xFFC02F14 /* Mailbox 24 Time Stamp Value Register */
-#define CAN_MB24_ID0 0xFFC02F18 /* Mailbox 24 Identifier Low Register */
-#define CAN_MB24_ID1 0xFFC02F1C /* Mailbox 24 Identifier High Register */
-
-#define CAN_MB25_DATA0 0xFFC02F20 /* Mailbox 25 Data Word 0 [15:0] Register */
-#define CAN_MB25_DATA1 0xFFC02F24 /* Mailbox 25 Data Word 1 [31:16] Register */
-#define CAN_MB25_DATA2 0xFFC02F28 /* Mailbox 25 Data Word 2 [47:32] Register */
-#define CAN_MB25_DATA3 0xFFC02F2C /* Mailbox 25 Data Word 3 [63:48] Register */
-#define CAN_MB25_LENGTH 0xFFC02F30 /* Mailbox 25 Data Length Code Register */
-#define CAN_MB25_TIMESTAMP 0xFFC02F34 /* Mailbox 25 Time Stamp Value Register */
-#define CAN_MB25_ID0 0xFFC02F38 /* Mailbox 25 Identifier Low Register */
-#define CAN_MB25_ID1 0xFFC02F3C /* Mailbox 25 Identifier High Register */
-
-#define CAN_MB26_DATA0 0xFFC02F40 /* Mailbox 26 Data Word 0 [15:0] Register */
-#define CAN_MB26_DATA1 0xFFC02F44 /* Mailbox 26 Data Word 1 [31:16] Register */
-#define CAN_MB26_DATA2 0xFFC02F48 /* Mailbox 26 Data Word 2 [47:32] Register */
-#define CAN_MB26_DATA3 0xFFC02F4C /* Mailbox 26 Data Word 3 [63:48] Register */
-#define CAN_MB26_LENGTH 0xFFC02F50 /* Mailbox 26 Data Length Code Register */
-#define CAN_MB26_TIMESTAMP 0xFFC02F54 /* Mailbox 26 Time Stamp Value Register */
-#define CAN_MB26_ID0 0xFFC02F58 /* Mailbox 26 Identifier Low Register */
-#define CAN_MB26_ID1 0xFFC02F5C /* Mailbox 26 Identifier High Register */
-
-#define CAN_MB27_DATA0 0xFFC02F60 /* Mailbox 27 Data Word 0 [15:0] Register */
-#define CAN_MB27_DATA1 0xFFC02F64 /* Mailbox 27 Data Word 1 [31:16] Register */
-#define CAN_MB27_DATA2 0xFFC02F68 /* Mailbox 27 Data Word 2 [47:32] Register */
-#define CAN_MB27_DATA3 0xFFC02F6C /* Mailbox 27 Data Word 3 [63:48] Register */
-#define CAN_MB27_LENGTH 0xFFC02F70 /* Mailbox 27 Data Length Code Register */
-#define CAN_MB27_TIMESTAMP 0xFFC02F74 /* Mailbox 27 Time Stamp Value Register */
-#define CAN_MB27_ID0 0xFFC02F78 /* Mailbox 27 Identifier Low Register */
-#define CAN_MB27_ID1 0xFFC02F7C /* Mailbox 27 Identifier High Register */
-
-#define CAN_MB28_DATA0 0xFFC02F80 /* Mailbox 28 Data Word 0 [15:0] Register */
-#define CAN_MB28_DATA1 0xFFC02F84 /* Mailbox 28 Data Word 1 [31:16] Register */
-#define CAN_MB28_DATA2 0xFFC02F88 /* Mailbox 28 Data Word 2 [47:32] Register */
-#define CAN_MB28_DATA3 0xFFC02F8C /* Mailbox 28 Data Word 3 [63:48] Register */
-#define CAN_MB28_LENGTH 0xFFC02F90 /* Mailbox 28 Data Length Code Register */
-#define CAN_MB28_TIMESTAMP 0xFFC02F94 /* Mailbox 28 Time Stamp Value Register */
-#define CAN_MB28_ID0 0xFFC02F98 /* Mailbox 28 Identifier Low Register */
-#define CAN_MB28_ID1 0xFFC02F9C /* Mailbox 28 Identifier High Register */
-
-#define CAN_MB29_DATA0 0xFFC02FA0 /* Mailbox 29 Data Word 0 [15:0] Register */
-#define CAN_MB29_DATA1 0xFFC02FA4 /* Mailbox 29 Data Word 1 [31:16] Register */
-#define CAN_MB29_DATA2 0xFFC02FA8 /* Mailbox 29 Data Word 2 [47:32] Register */
-#define CAN_MB29_DATA3 0xFFC02FAC /* Mailbox 29 Data Word 3 [63:48] Register */
-#define CAN_MB29_LENGTH 0xFFC02FB0 /* Mailbox 29 Data Length Code Register */
-#define CAN_MB29_TIMESTAMP 0xFFC02FB4 /* Mailbox 29 Time Stamp Value Register */
-#define CAN_MB29_ID0 0xFFC02FB8 /* Mailbox 29 Identifier Low Register */
-#define CAN_MB29_ID1 0xFFC02FBC /* Mailbox 29 Identifier High Register */
-
-#define CAN_MB30_DATA0 0xFFC02FC0 /* Mailbox 30 Data Word 0 [15:0] Register */
-#define CAN_MB30_DATA1 0xFFC02FC4 /* Mailbox 30 Data Word 1 [31:16] Register */
-#define CAN_MB30_DATA2 0xFFC02FC8 /* Mailbox 30 Data Word 2 [47:32] Register */
-#define CAN_MB30_DATA3 0xFFC02FCC /* Mailbox 30 Data Word 3 [63:48] Register */
-#define CAN_MB30_LENGTH 0xFFC02FD0 /* Mailbox 30 Data Length Code Register */
-#define CAN_MB30_TIMESTAMP 0xFFC02FD4 /* Mailbox 30 Time Stamp Value Register */
-#define CAN_MB30_ID0 0xFFC02FD8 /* Mailbox 30 Identifier Low Register */
-#define CAN_MB30_ID1 0xFFC02FDC /* Mailbox 30 Identifier High Register */
-
-#define CAN_MB31_DATA0 0xFFC02FE0 /* Mailbox 31 Data Word 0 [15:0] Register */
-#define CAN_MB31_DATA1 0xFFC02FE4 /* Mailbox 31 Data Word 1 [31:16] Register */
-#define CAN_MB31_DATA2 0xFFC02FE8 /* Mailbox 31 Data Word 2 [47:32] Register */
-#define CAN_MB31_DATA3 0xFFC02FEC /* Mailbox 31 Data Word 3 [63:48] Register */
-#define CAN_MB31_LENGTH 0xFFC02FF0 /* Mailbox 31 Data Length Code Register */
-#define CAN_MB31_TIMESTAMP 0xFFC02FF4 /* Mailbox 31 Time Stamp Value Register */
-#define CAN_MB31_ID0 0xFFC02FF8 /* Mailbox 31 Identifier Low Register */
-#define CAN_MB31_ID1 0xFFC02FFC /* Mailbox 31 Identifier High Register */
-
-/* CAN Mailbox Area Macros */
-#define CAN_MB_ID1(x) (CAN_MB00_ID1+((x)*0x20))
-#define CAN_MB_ID0(x) (CAN_MB00_ID0+((x)*0x20))
-#define CAN_MB_TIMESTAMP(x) (CAN_MB00_TIMESTAMP+((x)*0x20))
-#define CAN_MB_LENGTH(x) (CAN_MB00_LENGTH+((x)*0x20))
-#define CAN_MB_DATA3(x) (CAN_MB00_DATA3+((x)*0x20))
-#define CAN_MB_DATA2(x) (CAN_MB00_DATA2+((x)*0x20))
-#define CAN_MB_DATA1(x) (CAN_MB00_DATA1+((x)*0x20))
-#define CAN_MB_DATA0(x) (CAN_MB00_DATA0+((x)*0x20))
-
-
-
-/* Motor Control PWM1 Registers (0xFFC03000 - 0xFFC030FF) */
-#define PWM1_CTRL 0xFFC03000 /* PWM1 Control Register */
-#define PWM1_STAT 0xFFC03004 /* PWM1 Status Register */
-#define PWM1_TM 0xFFC03008 /* PWM1 Period Register */
-#define PWM1_DT 0xFFC0300C /* PWM1 Dead Time Register */
-#define PWM1_GATE 0xFFC03010 /* PWM1 Chopping Control */
-#define PWM1_CHA 0xFFC03014 /* PWM1 Channel A Duty Control */
-#define PWM1_CHB 0xFFC03018 /* PWM1 Channel B Duty Control */
-#define PWM1_CHC 0xFFC0301C /* PWM1 Channel C Duty Control */
-#define PWM1_SEG 0xFFC03020 /* PWM1 Crossover and Output Enable */
-#define PWM1_SYNCWT 0xFFC03024 /* PWM1 Sync pulse width control */
-#define PWM1_CHAL 0xFFC03028 /* PWM1 Channel AL Duty Control (SR mode only) */
-#define PWM1_CHBL 0xFFC0302C /* PWM1 Channel BL Duty Control (SR mode only) */
-#define PWM1_CHCL 0xFFC03030 /* PWM1 Channel CL Duty Control (SR mode only) */
-#define PWM1_LSI 0xFFC03034 /* Low Side Invert (SR mode only) */
-#define PWM1_STAT2 0xFFC03038 /* PWM1 Status Register */
-
-
-/* ADC Controller Module Registers (0xFFC03100 - 0xFFC031FF) */
-#define ACM_CTL 0xFFC03100 /* ACM Control Register */
-#define ACM_TC0 0xFFC03104 /* ACM Timing Configuration 0 Register */
-#define ACM_TC1 0xFFC03108 /* ACM Timing Configuration 1 Register */
-#define ACM_STAT 0xFFC0310C /* ACM Status Register */
-#define ACM_ES 0xFFC03110 /* ACM Event Status Register */
-#define ACM_IMSK 0xFFC03114 /* ACM Interrupt Mask Register */
-#define ACM_MS 0xFFC03118 /* ACM Missed Event Status Register */
-#define ACM_EMSK 0xFFC0311C /* ACM Missed Event Interrupt Mask Register */
-
-#define ACM_ER0 0xFFC03120 /* ACM Event 0 Control Register */
-#define ACM_ER1 0xFFC03124 /* ACM Event 1 Control Register */
-#define ACM_ER2 0xFFC03128 /* ACM Event 2 Control Register */
-#define ACM_ER3 0xFFC0312C /* ACM Event 3 Control Register */
-#define ACM_ER4 0xFFC03130 /* ACM Event 4 Control Register */
-#define ACM_ER5 0xFFC03134 /* ACM Event 5 Control Register */
-#define ACM_ER6 0xFFC03138 /* ACM Event 6 Control Register */
-#define ACM_ER7 0xFFC0313C /* ACM Event 7 Control Register */
-#define ACM_ER8 0xFFC03140 /* ACM Event 8 Control Register */
-#define ACM_ER9 0xFFC03144 /* ACM Event 9 Control Register */
-#define ACM_ER10 0xFFC03148 /* ACM Event 10 Control Register */
-#define ACM_ER11 0xFFC0314C /* ACM Event 11 Control Register */
-#define ACM_ER12 0xFFC03150 /* ACM Event 12 Control Register */
-#define ACM_ER13 0xFFC03154 /* ACM Event 13 Control Register */
-#define ACM_ER14 0xFFC03158 /* ACM Event 14 Control Register */
-#define ACM_ER15 0xFFC0315C /* ACM Event 15 Control Register */
-
-#define ACM_ET0 0xFFC03180 /* ACM Event 0 Time Register */
-#define ACM_ET1 0xFFC03184 /* ACM Event 1 Time Register */
-#define ACM_ET2 0xFFC03188 /* ACM Event 2 Time Register */
-#define ACM_ET3 0xFFC0318C /* ACM Event 3 Time Register */
-#define ACM_ET4 0xFFC03190 /* ACM Event 4 Time Register */
-#define ACM_ET5 0xFFC03194 /* ACM Event 5 Time Register */
-#define ACM_ET6 0xFFC03198 /* ACM Event 6 Time Register */
-#define ACM_ET7 0xFFC0319C /* ACM Event 7 Time Register */
-#define ACM_ET8 0xFFC031A0 /* ACM Event 8 Time Register */
-#define ACM_ET9 0xFFC031A4 /* ACM Event 9 Time Register */
-#define ACM_ET10 0xFFC031A8 /* ACM Event 10 Time Register */
-#define ACM_ET11 0xFFC031AC /* ACM Event 11 Time Register */
-#define ACM_ET12 0xFFC031B0 /* ACM Event 12 Time Register */
-#define ACM_ET13 0xFFC031B4 /* ACM Event 13 Time Register */
-#define ACM_ET14 0xFFC031B8 /* ACM Event 14 Time Register */
-#define ACM_ET15 0xFFC031BC /* ACM Event 15 Time Register */
-
-#define ACM_TMR0 0xFFC031C0 /* ACM Timer 0 Registers */
-#define ACM_TMR1 0xFFC031C4 /* ACM Timer 1 Registers */
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define PORTF_FER 0xFFC03200 /* Port F Function Enable Register (Alternate/Flag*) */
-#define PORTG_FER 0xFFC03204 /* Port G Function Enable Register (Alternate/Flag*) */
-#define PORTH_FER 0xFFC03208 /* Port H Function Enable Register (Alternate/Flag*) */
-
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-#define PORTF_MUX 0xFFC03210 /* Port F mux control */
-#define PORTG_MUX 0xFFC03214 /* Port G mux control */
-#define PORTH_MUX 0xFFC03218 /* Port H mux control */
-#define PORTF_HYSTERESIS 0xFFC03240 /* Port F Schmitt trigger control */
-#define PORTG_HYSTERESIS 0xFFC03244 /* Port G Schmitt trigger control */
-#define PORTH_HYSTERESIS 0xFFC03248 /* Port H Schmitt trigger control */
-
-#define NONGPIO_DRIVE 0xFFC03280 /* Misc Port drive strength control */
-#define NONGPIO_HYSTERESIS 0xFFC03288 /* Misc Port Schmitt Trigger control */
-
-#define FLASH_CONTROL 0xFFC0328C /* Stacked flash control register */
-#define FLASH_CONTROL_SET 0xFFC03290 /* Stacked flash control set register */
-#define FLASH_CONTROL_CLEAR 0xFFC03294 /* Stacked flash control clear register */
-
-
-/* Counter 1 Registers (0xFFC03300 - 0xFFC033FF) */
-#define CNT1_CONFIG 0xFFC03300 /* Counter 1 Configuration Register */
-#define CNT1_IMASK 0xFFC03304 /* Counter 1 Interrupt Mask Register */
-#define CNT1_STATUS 0xFFC03308 /* Counter 1 Status Register */
-#define CNT1_COMMAND 0xFFC0330C /* Counter 1 Command Register */
-#define CNT1_DEBOUNCE 0xFFC03310 /* Counter 1 Debounce Register */
-#define CNT1_COUNTER 0xFFC03314 /* Counter 1 Counter Register */
-#define CNT1_MAX 0xFFC03318 /* Counter 1 Boundry Value Register - max count */
-#define CNT1_MIN 0xFFC0331C /* Counter 1 Boundry Value Register - min count */
-
-
-/* SPI1 Controller (0xFFC03400 - 0xFFC034FF) */
-#define SPI1_CTL 0xFFC03400 /* SPI1 Control Register */
-#define SPI1_FLG 0xFFC03404 /* SPI1 Flag register */
-#define SPI1_STAT 0xFFC03408 /* SPI1 Status register */
-#define SPI1_TDBR 0xFFC0340C /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC03410 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC03414 /* SPI1 Baud rate Register */
-#define SPI1_SHADOW 0xFFC03418 /* SPI1_RDBR Shadow Register */
-
-
-/* Counter 0 Registers (0xFFC03500 - 0xFFC035FF) */
-#define CNT0_CONFIG 0xFFC03500 /* Counter 0 Configuration Register */
-#define CNT0_IMASK 0xFFC03504 /* Counter 0 Interrupt Mask Register */
-#define CNT0_STATUS 0xFFC03508 /* Counter 0 Status Register */
-#define CNT0_COMMAND 0xFFC0350C /* Counter 0 Command Register */
-#define CNT0_DEBOUNCE 0xFFC03510 /* Counter 0 Debounce Register */
-#define CNT0_COUNTER 0xFFC03514 /* Counter 0 Counter Register */
-#define CNT0_MAX 0xFFC03518 /* Counter 0 Boundry Value Register - max count */
-#define CNT0_MIN 0xFFC0351C /* Counter 0 Boundry Value Register - min count */
-
-
-/* Motor Control PWM0 Registers (0xFFC03700 - 0xFFC037FF) */
-#define PWM0_CTRL 0xFFC03700 /* PWM0 Control Register */
-#define PWM0_STAT 0xFFC03704 /* PWM0 Status Register */
-#define PWM0_TM 0xFFC03708 /* PWM0 Period Register */
-#define PWM0_DT 0xFFC0370C /* PWM0 Dead Time Register */
-#define PWM0_GATE 0xFFC03710 /* PWM0 Chopping Control */
-#define PWM0_CHA 0xFFC03714 /* PWM0 Channel A Duty Control */
-#define PWM0_CHB 0xFFC03718 /* PWM0 Channel B Duty Control */
-#define PWM0_CHC 0xFFC0371C /* PWM0 Channel C Duty Control */
-#define PWM0_SEG 0xFFC03720 /* PWM0 Crossover and Output Enable */
-#define PWM0_SYNCWT 0xFFC03724 /* PWM0 Sync pulse width control */
-#define PWM0_CHAL 0xFFC03728 /* PWM0 Channel AL Duty Control (SR mode only) */
-#define PWM0_CHBL 0xFFC0372C /* PWM0 Channel BL Duty Control (SR mode only) */
-#define PWM0_CHCL 0xFFC03730 /* PWM0 Channel CL Duty Control (SR mode only) */
-#define PWM0_LSI 0xFFC03734 /* Low Side Invert (SR mode only) */
-#define PWM0_STAT2 0xFFC03738 /* PWM0 Status Register */
-
-
-/* RSI Registers (0xFFC03800 - 0xFFC03CFF) */
-#define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PWR_CTL (RSI_PWR_CONTROL)/* SDH Power Control */
-#define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CLK_CTL (RSI_CLK_CONTROL)/* SDH Clock Control */
-#define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_ARGUMENT (RSI_ARGUMENT) /* SDH Argument */
-#define RSI_COMMAND 0xFFC0380C /* RSI Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_COMMAND (RSI_COMMAND) /* SDH Command */
-#define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESP_CMD (RSI_RESP_CMD) /* SDH Response Command */
-#define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE0 (RSI_RESPONSE0) /* SDH Response0 */
-#define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE1 (RSI_RESPONSE1) /* SDH Response1 */
-#define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE2 (RSI_RESPONSE2) /* SDH Response2 */
-#define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE3 (RSI_RESPONSE3) /* SDH Response3 */
-#define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_TIMER (RSI_DATA_TIMER) /* SDH Data Timer */
-#define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_LGTH (RSI_DATA_LGTH) /* SDH Data Length */
-#define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CTL (RSI_DATA_CONTROL) /* SDH Data Control */
-#define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CNT (RSI_DATA_CNT) /* SDH Data Counter */
-#define RSI_STATUS 0xFFC03834 /* RSI Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS (RSI_STATUS) /* SDH Status */
-#define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS_CLR (RSI_STATUSCL) /* SDH Status Clear */
-#define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK0 (RSI_MASK0) /* SDH Interrupt0 Mask */
-#define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK1 (RSI_MASK1) /* SDH Interrupt1 Mask */
-#define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO_CNT (RSI_FIFO_CNT) /* SDH FIFO Counter */
-#define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */
-#define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO (RSI_FIFO) /* SDH Data FIFO */
-#define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_STATUS (RSI_ESTAT) /* SDH Exception Status */
-#define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_MASK (RSI_EMASK) /* SDH Exception Mask */
-#define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CFG (RSI_CONFIG) /* SDH Configuration */
-#define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RD_WAIT_EN (RSI_RD_WAIT_EN) /* SDH Read Wait Enable */
-#define RSI_PID0 0xFFC038D0 /* RSI Peripheral ID Register 0 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID0 (RSI_PID0) /* SDH Peripheral Identification0 */
-#define RSI_PID1 0xFFC038D4 /* RSI Peripheral ID Register 1 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID1 (RSI_PID1) /* SDH Peripheral Identification1 */
-#define RSI_PID2 0xFFC038D8 /* RSI Peripheral ID Register 2 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID2 (RSI_PID2) /* SDH Peripheral Identification2 */
-#define RSI_PID3 0xFFC038DC /* RSI Peripheral ID Register 3 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID3 (RSI_PID3) /* SDH Peripheral Identification3 */
-
-
-/******************************************************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*******************************************************************************************************************/
-
-/************************************** PLL AND RESET MASKS *******************************************************/
-
-/* PLL_CTL Masks */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* PLL Not Powered */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Enter Deep Sleep Mode */
-#define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */
-#define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks */
-#define WAKE_POLARITY 0x8000 /* GPIO wakeup active level */
-#define EXTCLK_OE 0x4000 /* Enable/disable EXTCLK */
-#define EXTCLK_SEL 0x2000 /* EXTCLK Select */
-#define HIBERNATEB 0x1000 /* Bit mask for HIBERNATEB */
-#define HIBERNATE 0x0000 /* Enter Hibernate - this bit is active LOW */
-#define WAKE_EN0 0x0100 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN0 signal */
-#define WAKE_EN1 0x0200 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN1 signal */
-#define CANWE 0x0400 /* CAN Rx Wakeup Enable */
-#define WAKE_EN2 0x0800 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN3 signal */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-
-/* SWRST Masks */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-#define BMODE_BYPASS 0x0000 /* Bypass boot ROM, execute from 16-bit external memory */
-#define BMODE_FLASH_ASYNC 0x0001 /* Boot from stacked parallel flash in asynchornous mode */
-#define BMODE_FLASH_SYNC 0x0002 /* Boot from stacked parallel flash in synchornous mode */
-#define BMODE_SPIMEM 0x0003 /* Boot from serial SPI memory (master mode) */
-#define BMODE_SPIHOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_PPIHOST 0x0005 /* Boot from PPI host */
-#define BMODE_UART0HOST 0x0007 /* Boot from UART0 host */
-
-#define BMODE 0x000F /* Boot Mode. Mirror of BMODE Mode Pins */
-
-#define BCODE 0x00F0
-#define BCODE_NORMAL 0x0000 /* normal boot, update PLL/VR, quickboot as by WURESET */
-#define BCODE_NOBOOT 0x0010 /* bypass boot, don't update PLL/VR */
-#define BCODE_QUICKBOOT 0x0020 /* quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_ALLBOOT 0x0040 /* no quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_FULLBOOT 0x0060 /* no quick boot, overrule WURESET, update PLL/VR */
-
-#define WURESET 0x1000 /* wakeup event since last hardware reset */
-#define DFRESET 0x2000 /* recent reset was due to a double fault event */
-#define WDRESET 0x4000 /* recent reset was due to a watchdog event */
-#define SWRESET 0x8000 /* recent reset was issued by software */
-
-/********************************* SYSTEM INTERRUPT CONTROLLER MASKS *********************************************/
-
-/* Peripheral Masks For SIC_ISR0, SIC_IWR0, SIC_IMASK0 */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt */
-#define IRQ_DMA_ERR0 0x00000002 /* Error Interrupt (DMA error interrupt (generic)) */
-#define IRQ_PPI_ERR 0x00000004 /* Error Interrupt (PPI error interrupt) */
-#define IRQ_SPORT0_ERR 0x00000008 /* Error Interrupt (SPORT0 status interrupt) */
-#define IRQ_SPORT1_ERR 0x00000010 /* Error Interrupt (SPORT1 status interrupt) */
-#define IRQ_UART0_ERR 0x00000020 /* Error Interrupt (UART0 status interrupt) */
-#define IRQ_UART1_ERR 0x00000040 /* Error Interrupt (UART1 status interrupt) */
-#define IRQ_SPI0_ERR 0x00000080 /* Error Interrupt (SPI0 status interrupt) */
-#define IRQ_SPI1_ERR 0x00000100 /* Error Interrupt (SPI1 status interrupt) */
-#define IRQ_CAN_ERR 0x00000200 /* Error Interrupt (CAN status interrupt) */
-#define IRQ_RSI_INT0 0x00000400 /* RSI Mask 0 Interrupt */
- /* Bit 11 is reserved */
-#define IRQ_CNT0 0x00001000 /* GP Counter 0 Interrupt */
-#define IRQ_CNT1 0x00002000 /* GP Counter 1 Interrupt */
-#define IRQ_DMA0 0x00004000 /* DMA Channel 0 (PPI Rx/Tx) Interrupt */
-#define IRQ_DMA1 0x00008000 /* DMA Channel 1 (RSI Rx/Tx) Interrupt */
-#define IRQ_DMA2 0x00010000 /* DMA Channel 2 (SPORT0 Rx) Interrupt */
-#define IRQ_DMA3 0x00020000 /* DMA Channel 3 (SPORT0 Tx) Interrupt */
-#define IRQ_DMA4 0x00040000 /* DMA Channel 4 (SPORT1 Rx) Interrupt */
-#define IRQ_DMA5 0x00080000 /* DMA Channel 5 (SPORT1 Tx) Interrupt */
-#define IRQ_DMA6 0x00100000 /* DMA Channel 6 (SPI0 Rx/Tx) Interrupt */
-#define IRQ_DMA7 0x00200000 /* DMA Channel 7 (SPI1 Rx/Tx) Interrupt */
-#define IRQ_DMA8 0x00400000 /* DMA Channel 8 (UART0 Rx) Interrupt */
-#define IRQ_DMA9 0x00800000 /* DMA Channel 9 (UART0 Tx) Interrupt */
-#define IRQ_DMA10 0x01000000 /* DMA Channel 10 (UART1 Rx) Interrupt */
-#define IRQ_DMA11 0x02000000 /* DMA Channel 11 (UART1 Tx) Interrupt */
-#define IRQ_CAN_RX 0x04000000 /* CAN Rx Interrupt */
-#define IRQ_CAN_TX 0x08000000 /* CAN Tx Interrupt */
-#define IRQ_TWI 0x10000000 /* TWI Interrupt */
-#define IRQ_PFA_PORTF 0x20000000 /* PF Port F Interrupt A */
-#define IRQ_PFB_PORTF 0x40000000 /* PF Port F Interrupt B */
- /* Bit 31 is reserved */
-
-
-/* Peripheral Masks For SIC_ISR1, SIC_IWR1, SIC_IMASK1 */
-#define IRQ_TIMER0 0x00000001 /* Timer 0 Interrupt */
-#define IRQ_TIMER1 0x00000002 /* Timer 1 Interrupt */
-#define IRQ_TIMER2 0x00000004 /* Timer 2 Interrupt */
-#define IRQ_TIMER3 0x00000008 /* Timer 3 Interrupt */
-#define IRQ_TIMER4 0x00000010 /* Timer 4 Interrupt */
-#define IRQ_TIMER5 0x00000020 /* Timer 5 Interrupt */
-#define IRQ_TIMER6 0x00000040 /* Timer 6 Interrupt */
-#define IRQ_TIMER7 0x00000080 /* Timer 7 Interrupt */
-#define IRQ_PFA_PORTG 0x00000100 /* PF Port G Interrupt A */
-#define IRQ_PFB_PORTG 0x00000200 /* PF Port G Interrupt B */
-#define IRQ_DMA12 0x00000400 /* DMA Channel 12 (MDMA0 Destination) Rx Interrupt */
-#define IRQ_DMA13 0x00000400 /* DMA Channel 13 (MDMA0 Source) Tx Interrupt */
-#define IRQ_DMA14 0x00000800 /* DMA Channels 14 (MDMA1 Destination) Rx Interrupt */
-#define IRQ_DMA15 0x00000800 /* DMA Channels 15 (MDMA1 Source) Tx Interrupt */
-#define IRQ_WDOG 0x00001000 /* Software Watchdog Timer Interrupt */
-#define IRQ_PFA_PORTH 0x00002000 /* PF Port H Interrupt A */
-#define IRQ_PFB_PORTH 0x00004000 /* PF Port H Interrupt B */
-#define IRQ_ACM_ERR 0x00008000 /* Error Interrupt (ACM status interrupt) */
-#define IRQ_ACM 0x00010000 /* ACM (ADC Controller Module) Interrupt */
- /* Bit 49 is reserved */
- /* Bit 50 is reserved */
-#define IRQ_PWM0_TRIPINT 0x00080000 /* PWM 0 Trip Interrupt */
-#define IRQ_PWM0_SYNCINT 0x00100000 /* PWM 0 Sync Interrupt */
-#define IRQ_PWM1_TRIPINT 0x00200000 /* PWM 1 Trip Interrupt */
-#define IRQ_PWM1_SYNCINT 0x00400000 /* PWM 1 Sync Interrupt */
-#define IRQ_RSI_INT1 0x00800000 /* RSI Mask 1 interrupt */
- /* Bits 63:56 are reserved */
-
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#define IWR_ENABLE(x) (1 << (x)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF^(1<<(x))) /* Wakeup Disable Peripheral #x */
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-
-/* SIC_IAR0 Macros*/
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros*/
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) /* Reserved */
-#define P12_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros*/
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #23 assigned IVG #x */
-
-
-/* SIC_IAR3 Macros*/
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) /* Reserved */
-
-/* SIC_IAR4 Macros*/
-#define P32_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR5 Macros*/
-#define P40_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR6 Macros*/
-#define P48_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) /* Reserved */
-#define P50_IVG(x) /* Reserved */
-#define P51_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #51 assigned IVG #x */
-#define P52_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #55 assigned IVG #x */
-
-
-/* SIC_IMASK0 Masks*/
-#define SIC_UNMASK0_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK0_ALL 0xEFFFF7FF /* Mask all peripheral interrupts */
-
-#if 0 /* scheduled for removal */
-#ifdef _MISRA_RULES
-#define SIC_MASK0(x) (1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFFu ^ (1 << ((x)&0x1Fu)))/*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK0(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-#endif
-
-/* SIC_IMASK1 Masks*/
-#define SIC_UNMASK1_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK1_ALL 0x00F9FFFF /* Mask all peripheral interrupts */
-
-#if 0 /* scheduled for removal */
-#ifdef _MISRA_RULES
-#define SIC_MASK1(x) (1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFFu ^ (1 << ((x)&0x1Fu)))/*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK1(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-#endif
-
-
-/* SIC_IWR0 Masks*/
-#define IWR0_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR0_ENABLE_ALL 0xEFFFF7FF /* Wakeup Enable all peripherals */
-
-#if 0 /* scheduled for removal */
-#ifdef _MISRA_RULES
-#define IWR0_ENABLE(x) (1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFFu ^ (1 << ((x)&0x1Fu)))/*Wakeup Disable Peripheral #x */
-#else
-#define IWR0_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-#endif
-
-/* SIC_IWR1 Masks*/
-#define IWR1_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR1_ENABLE_ALL 0x00F9FFFF /* Wakeup Enable all peripherals */
-
-#if 0 /* scheduled for removal */
-#ifdef _MISRA_RULES
-#define IWR1_ENABLE(x) (1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFFu ^ (1 << ((x)&0x1Fu)))/* Wakeup Disable Peripheral #x*/
-#else
-#define IWR1_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-#endif
-
-
-/* ************************************** WATCHDOG TIMER MASKS ****************************************************/
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-#define ICTL (WDEV)
-#define ENABLE_RESET (WDEV_RESET)
-#define WDOG_RESET (WDEV_RESET)
-#define ENABLE_NMI (WDEV_NMI)
-#define WDOG_NMI (WDEV_NMI)
-#define ENABLE_GPI (WDEV_GPI)
-#define WDOG_GPI (WDEV_GPI)
-#define DISABLE_EVT (WDEV_NONE)
-#define WDOG_NONE (WDEV_NONE)
-
-#define TMR_EN (WDEN)
-#define TMR_DIS (WDDIS)
-#define TRO (WDRO)
-#define ICTL_P0 (0x01)
-#define ICTL_P1 (0x02)
-#define TRO_P (0x0F)
-
-
-/* ************************************ UART CONTROLLER MASKS *****************************************************/
-
-/* Bit masks for UARTx_LCR */
-
-#if 0
-/* conflicts with legacy one in last section */
-#define WLS 0x3 /* Word Length Select */
-#endif
-#define STB 0x4 /* Stop Bits */
-#define nSTB 0x0
-#define PEN 0x8 /* Parity Enable */
-#define nPEN 0x0
-#define EPS 0x10 /* Even Parity Select */
-#define nEPS 0x0
-#define STP 0x20 /* Sticky Parity */
-#define nSTP 0x0
-#define SB 0x40 /* Set Break */
-#define nSB 0x0
-
-/* for legacy compatibility */
-
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for UARTx_MCR */
-
-#define XOFF 0x1 /* Transmitter Off */
-#define nXOFF 0x0
-#define MRTS 0x2 /* Manual Request To Send */
-#define nMRTS 0x0
-#define RFIT 0x4 /* Receive FIFO IRQ Threshold */
-#define nRFIT 0x0
-#define RFRT 0x8 /* Receive FIFO RTS Threshold */
-#define nRFRT 0x0
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define nLOOP_ENA 0x0
-#define FCPOL 0x20 /* Flow Control Pin Polarity */
-#define nFCPOL 0x0
-#define ARTS 0x40 /* Automatic Request To Send */
-#define nARTS 0x0
-#define ACTS 0x80 /* Automatic Clear To Send */
-#define nACTS 0x0
-
-/* Bit masks for UARTx_LSR */
-
-#define DR 0x1 /* Data Ready */
-#define nDR 0x0
-#define OE 0x2 /* Overrun Error */
-#define nOE 0x0
-#define PE 0x4 /* Parity Error */
-#define nPE 0x0
-#define FE 0x8 /* Framing Error */
-#define nFE 0x0
-#define BI 0x10 /* Break Interrupt */
-#define nBI 0x0
-#define THRE 0x20 /* THR Empty */
-#define nTHRE 0x0
-#define TEMT 0x40 /* Transmitter Empty */
-#define nTEMT 0x0
-#define TFI 0x80 /* Transmission Finished Indicator */
-#define nTFI 0x0
-
-/* Bit masks for UARTx_MSR */
-
-#define SCTS 0x1 /* Sticky CTS */
-#define nSCTS 0x0
-#define CTS 0x10 /* Clear To Send */
-#define nCTS 0x0
-#define RFCS 0x20 /* Receive FIFO Count Status */
-#define nRFCS 0x0
-
-/* Bit masks for UARTx_IER_SET and UARTx_IER_CLEAR */
-
-#define ERBFI 0x1 /* Enable Receive Buffer Full Interrupt */
-#define nERBFI 0x0
-#define ETBEI 0x2 /* Enable Transmit Buffer Empty Interrupt */
-#define nETBEI 0x0
-#define ELSI 0x4 /* Enable Receive Status Interrupt */
-#define nELSI 0x0
-#define EDSSI 0x8 /* Enable Modem Status Interrupt */
-#define nEDSSI 0x0
-
-#define ETFI 0x20 /* Enable Transmission Finished Interrupt */
-#define nETFI 0x0
-
-#define ERFCI 0x40 /* Enable Receive FIFO Count Interrupt */
-#define nERFCI 0x0
-
-
-/* Bit masks for UARTx_GCTL */
-
-#define UCEN 0x1 /* UART Enable */
-#define nUCEN 0x0
-#define IREN 0x2 /* IrDA Mode Enable */
-#define nIREN 0x0
-#define TPOLC 0x4 /* IrDA TX Polarity Change */
-#define nTPOLC 0x0
-#define RPOLC 0x8 /* IrDA RX Polarity Change */
-#define nRPOLC 0x0
-#define FPE 0x10 /* Force Parity Error */
-#define nFPE 0x0
-#define FFE 0x20 /* Force Framing Error */
-#define nFFE 0x0
-#define EDBO 0x40 /* Enable Divide-by-One */
-#define nEDBO 0x0
-#define EGLSI 0x80 /* Enable Global LS Interrupt */
-#define nEGLSI 0x0
-
-/* UARTx_LCR bit field options */
-
-#define WLS_5 0x0000 /* 5 data bits */
-#define WLS_6 0x0001 /* 6 data bits */
-#define WLS_7 0x0002 /* 7 data bits */
-#define WLS_8 0x0003 /* 8 data bits */
-
-
-/******************************** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ***************************************/
-
-/* SPI_CTL Masks*/
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPI_FLG Masks*/
-#define FLS1 0x0002 /* Enables SPI_FLOUT1 as SPI Slave-Select Output */
-#define FLS2 0x0004 /* Enables SPI_FLOUT2 as SPI Slave-Select Output */
-#define FLS3 0x0008 /* Enables SPI_FLOUT3 as SPI Slave-Select Output */
-#define FLS4 0x0010 /* Enables SPI_FLOUT4 as SPI Slave-Select Output */
-#define FLS5 0x0020 /* Enables SPI_FLOUT5 as SPI Slave-Select Output */
-#define FLS6 0x0040 /* Enables SPI_FLOUT6 as SPI Slave-Select Output */
-#define FLS7 0x0080 /* Enables SPI_FLOUT7 as SPI Slave-Select Output */
-#define FLG1 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7 0x7FFF /* Activates SPI_FLOUT7 */
-
-/* SPI_STAT Masks*/
-#define SPIF 0x0001 /* SPI Finished (Single-Word Transfer Complete) */
-#define MODF 0x0002 /* Mode Fault Error (Another Device Tried To Become Master) */
-#define TXE 0x0004 /* Transmission Error (Data Sent With No New Data In TDBR) */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (Full/Empty*) */
-#define RBSY 0x0010 /* Receive Error (Data Received With RDBR Full) */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (Full/Empty*) */
-#define TXCOL 0x0040 /* Transmit Collision Error (Corrupt Data May Have Been Sent) */
-
-
-/*********************************** GENERAL PURPOSE TIMER MASKS ************************************************/
-/* TIMER_ENABLE Masks*/
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-#define TIMEN3 0x0008 /* Enable Timer 3 */
-#define TIMEN4 0x0010 /* Enable Timer 4 */
-#define TIMEN5 0x0020 /* Enable Timer 5 */
-#define TIMEN6 0x0040 /* Enable Timer 6 */
-#define TIMEN7 0x0080 /* Enable Timer 7 */
-
-/* TIMER_DISABLE Masks*/
-#define TIMDIS0 (TIMEN0) /* Disable Timer 0 */
-#define TIMDIS1 (TIMEN1) /* Disable Timer 1 */
-#define TIMDIS2 (TIMEN2) /* Disable Timer 2 */
-#define TIMDIS3 (TIMEN3) /* Disable Timer 3 */
-#define TIMDIS4 (TIMEN4) /* Disable Timer 4 */
-#define TIMDIS5 (TIMEN5) /* Disable Timer 5 */
-#define TIMDIS6 (TIMEN6) /* Disable Timer 6 */
-#define TIMDIS7 (TIMEN7) /* Disable Timer 7 */
-
-/* TIMER_STATUS Masks*/
-#define TIMIL0 0x00000001 /* Timer 0 Interrupt */
-#define TIMIL1 0x00000002 /* Timer 1 Interrupt */
-#define TIMIL2 0x00000004 /* Timer 2 Interrupt */
-#define TIMIL3 0x00000008 /* Timer 3 Interrupt */
-#define TOVF_ERR0 0x00000010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x00000020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x00000040 /* Timer 2 Counter Overflow */
-#define TOVF_ERR3 0x00000080 /* Timer 3 Counter Overflow */
-#define TRUN0 0x00001000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x00002000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x00004000 /* Timer 2 Slave Enable Status */
-#define TRUN3 0x00008000 /* Timer 3 Slave Enable Status */
-#define TIMIL4 0x00010000 /* Timer 4 Interrupt */
-#define TIMIL5 0x00020000 /* Timer 5 Interrupt */
-#define TIMIL6 0x00040000 /* Timer 6 Interrupt */
-#define TIMIL7 0x00080000 /* Timer 7 Interrupt */
-#define TOVF_ERR4 0x00100000 /* Timer 4 Counter Overflow */
-#define TOVF_ERR5 0x00200000 /* Timer 5 Counter Overflow */
-#define TOVF_ERR6 0x00400000 /* Timer 6 Counter Overflow */
-#define TOVF_ERR7 0x00800000 /* Timer 7 Counter Overflow */
-#define TRUN4 0x10000000 /* Timer 4 Slave Enable Status */
-#define TRUN5 0x20000000 /* Timer 5 Slave Enable Status */
-#define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */
-#define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 (TOVF_ERR0)
-#define TOVL_ERR1 (TOVF_ERR1)
-#define TOVL_ERR2 (TOVF_ERR2)
-#define TOVL_ERR3 (TOVF_ERR3)
-#define TOVL_ERR4 (TOVF_ERR4)
-#define TOVL_ERR5 (TOVF_ERR5)
-#define TOVL_ERR6 (TOVF_ERR6)
-#define TOVL_ERR7 (TOVF_ERR7)
-
-/* TIMERx_CONFIG Masks */
-#define PWM_OUT 0x0001 /* Pulse-Width Modulation Output Mode */
-#define WDTH_CAP 0x0002 /* Width Capture Input Mode */
-#define EXT_CLK 0x0003 /* External Clock Mode */
-#define PULSE_HI 0x0004 /* Action Pulse (Positive/Negative*) */
-#define PERIOD_CNT 0x0008 /* Period Count */
-#define IRQ_ENA 0x0010 /* Interrupt Request Enable */
-#define TIN_SEL 0x0020 /* Timer Input Select */
-#define OUT_DIS 0x0040 /* Output Pad Disable */
-#define CLK_SEL 0x0080 /* Timer Clock Select */
-#define TOGGLE_HI 0x0100 /* PWM_OUT PULSE_HI Toggle Mode */
-#define EMU_RUN 0x0200 /* Emulation Behavior Select */
-#define ERR_TYP 0xC000 /* Error Type */
-
-
-/* ************************************* GPIO PORTS F, G, H MASKS **********************************************/
-
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
-/* Port F Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* Port G Masks */
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* Port H Masks */
-#define PH0 0x0001
-#define PH1 0x0002
-#define PH2 0x0004
-
-
-/* ************************************** SERIAL PORT MASKS *****************************************************/
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* Transmit Enable */
-#define ITCLK 0x0002 /* Internal Transmit Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* Transmit Bit Order */
-#define ITFS 0x0200 /* Internal Transmit Frame Sync Select */
-#define TFSR 0x0400 /* Transmit Frame Sync Required Select */
-#define DITFS 0x0800 /* Data-Independent Transmit Frame Sync Select */
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define LATFS 0x2000 /* Late Transmit Frame Sync Select */
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks and Macro */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define TXSE 0x0100 /* TX Secondary Enable */
-#define TSFSE 0x0200 /* Transmit Stereo Frame Sync Enable */
-#define TRFST 0x0400 /* Left/Right Order (1 = Right Channel 1st) */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* Receive Enable */
-#define IRCLK 0x0002 /* Internal Receive Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* Receive Bit Order */
-#define IRFS 0x0200 /* Internal Receive Frame Sync Select */
-#define RFSR 0x0400 /* Receive Frame Sync Required Select */
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define LARFS 0x2000 /* Late Receive Frame Sync Select */
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define RXSE 0x0100 /* RX Secondary Enable */
-#define RSFSE 0x0200 /* RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /* Right-First Data Order */
-
-/* SPORTx_STAT Masks */
-#define RXNE 0x0001 /* Receive FIFO Not Empty Status */
-#define RUVF 0x0002 /* Sticky Receive Underflow Status */
-#define ROVF 0x0004 /* Sticky Receive Overflow Status */
-#define TXF 0x0008 /* Transmit FIFO Full Status */
-#define TUVF 0x0010 /* Sticky Transmit Underflow Status */
-#define TOVF 0x0020 /* Sticky Transmit Overflow Status */
-#define TXHRE 0x0040 /* Transmit Hold Register Empty */
-
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits*/
-#define WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-/* SPORTx_MCMC2 Masks */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /* Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /* Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /* Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /* Multichannel Frame Sync to Data Relationship */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/*********************************** ASYNCHRONOUS MEMORY CONTROLLER MASKS ***************************************/
-
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN 0x0002 /* Enable Asynchronous memory bank */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-
-#define AMBEN_B0 (AMBEN) /* Enable Async Memory Bank 0 only */
-
-#define AMBEN_ALL 0x0002 /* Enable Asynchronous memory bank */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMBCTL Masks */
-#define RDYEN 0x00000001 /* ARDY Enable */
-#define RDYPOL 0x00000002 /* RDY Active High */
-#define TT_1 0x00000004 /* Transition Time (Read to Write) = 1 cycle */
-#define TT_2 0x00000008 /* Transition Time (Read to Write) = 2 cycles */
-#define TT_3 0x0000000C /* Transition Time (Read to Write) = 3 cycles */
-#define TT_4 0x00000000 /* Transition Time (Read to Write) = 4 cycles */
-#define ST_1 0x00000010 /* Setup Time (AOE to Read/Write) = 1 cycle */
-#define ST_2 0x00000020 /* Setup Time (AOE to Read/Write) = 2 cycles */
-#define ST_3 0x00000030 /* Setup Time (AOE to Read/Write) = 3 cycles */
-#define ST_4 0x00000000 /* Setup Time (AOE to Read/Write) = 4 cycles */
-#define HT_1 0x00000040 /* Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define HT_2 0x00000080 /* Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define HT_3 0x000000C0 /* Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define HT_0 0x00000000 /* Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define RAT_1 0x00000100 /* Read Access Time = 1 cycle */
-#define RAT_2 0x00000200 /* Read Access Time = 2 cycles */
-#define RAT_3 0x00000300 /* Read Access Time = 3 cycles */
-#define RAT_4 0x00000400 /* Read Access Time = 4 cycles */
-#define RAT_5 0x00000500 /* Read Access Time = 5 cycles */
-#define RAT_6 0x00000600 /* Read Access Time = 6 cycles */
-#define RAT_7 0x00000700 /* Read Access Time = 7 cycles */
-#define RAT_8 0x00000800 /* Read Access Time = 8 cycles */
-#define RAT_9 0x00000900 /* Read Access Time = 9 cycles */
-#define RAT_10 0x00000A00 /* Read Access Time = 10 cycles */
-#define RAT_11 0x00000B00 /* Read Access Time = 11 cycles */
-#define RAT_12 0x00000C00 /* Read Access Time = 12 cycles */
-#define RAT_13 0x00000D00 /* Read Access Time = 13 cycles */
-#define RAT_14 0x00000E00 /* Read Access Time = 14 cycles */
-#define RAT_15 0x00000F00 /* Read Access Time = 15 cycles */
-#define WAT_1 0x00001000 /* Write Access Time = 1 cycle */
-#define WAT_2 0x00002000 /* Write Access Time = 2 cycles */
-#define WAT_3 0x00003000 /* Write Access Time = 3 cycles */
-#define WAT_4 0x00004000 /* Write Access Time = 4 cycles */
-#define WAT_5 0x00005000 /* Write Access Time = 5 cycles */
-#define WAT_6 0x00006000 /* Write Access Time = 6 cycles */
-#define WAT_7 0x00007000 /* Write Access Time = 7 cycles */
-#define WAT_8 0x00008000 /* Write Access Time = 8 cycles */
-#define WAT_9 0x00009000 /* Write Access Time = 9 cycles */
-#define WAT_10 0x0000A000 /* Write Access Time = 10 cycles */
-#define WAT_11 0x0000B000 /* Write Access Time = 11 cycles */
-#define WAT_12 0x0000C000 /* Write Access Time = 12 cycles */
-#define WAT_13 0x0000D000 /* Write Access Time = 13 cycles */
-#define WAT_14 0x0000E000 /* Write Access Time = 14 cycles */
-#define WAT_15 0x0000F000 /* Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN (RDYEN) /* Bank 0 (B0) RDY Enable */
-#define B0RDYPOL (RDYPOL) /* B0 RDY Active High */
-#define B0TT_1 (TT_1) /* B0 Transition Time (Read to Write) = 1 cycle */
-#define B0TT_2 (TT_2) /* B0 Transition Time (Read to Write) = 2 cycles */
-#define B0TT_3 (TT_3) /* B0 Transition Time (Read to Write) = 3 cycles */
-#define B0TT_4 (TT_4) /* B0 Transition Time (Read to Write) = 4 cycles */
-#define B0ST_1 (ST_1) /* B0 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B0ST_2 (ST_2) /* B0 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B0ST_3 (ST_3) /* B0 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B0ST_4 (ST_4) /* B0 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B0HT_1 (HT_1) /* B0 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B0HT_2 (HT_2) /* B0 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B0HT_3 (HT_3) /* B0 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B0HT_0 (HT_0) /* B0 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B0RAT_1 (RAT_1) /* B0 Read Access Time = 1 cycle */
-#define B0RAT_2 (RAT_2) /* B0 Read Access Time = 2 cycles */
-#define B0RAT_3 (RAT_3) /* B0 Read Access Time = 3 cycles */
-#define B0RAT_4 (RAT_4) /* B0 Read Access Time = 4 cycles */
-#define B0RAT_5 (RAT_5) /* B0 Read Access Time = 5 cycles */
-#define B0RAT_6 (RAT_6) /* B0 Read Access Time = 6 cycles */
-#define B0RAT_7 (RAT_7) /* B0 Read Access Time = 7 cycles */
-#define B0RAT_8 (RAT_8) /* B0 Read Access Time = 8 cycles */
-#define B0RAT_9 (RAT_9) /* B0 Read Access Time = 9 cycles */
-#define B0RAT_10 (RAT_10) /* B0 Read Access Time = 10 cycles */
-#define B0RAT_11 (RAT_11) /* B0 Read Access Time = 11 cycles */
-#define B0RAT_12 (RAT_12) /* B0 Read Access Time = 12 cycles */
-#define B0RAT_13 (RAT_13) /* B0 Read Access Time = 13 cycles */
-#define B0RAT_14 (RAT_14) /* B0 Read Access Time = 14 cycles */
-#define B0RAT_15 (RAT_15) /* B0 Read Access Time = 15 cycles */
-#define B0WAT_1 (WAT_1) /* B0 Write Access Time = 1 cycle */
-#define B0WAT_2 (WAT_2) /* B0 Write Access Time = 2 cycles */
-#define B0WAT_3 (WAT_3) /* B0 Write Access Time = 3 cycles */
-#define B0WAT_4 (WAT_4) /* B0 Write Access Time = 4 cycles */
-#define B0WAT_5 (WAT_5) /* B0 Write Access Time = 5 cycles */
-#define B0WAT_6 (WAT_6) /* B0 Write Access Time = 6 cycles */
-#define B0WAT_7 (WAT_7) /* B0 Write Access Time = 7 cycles */
-#define B0WAT_8 (WAT_8) /* B0 Write Access Time = 8 cycles */
-#define B0WAT_9 (WAT_9) /* B0 Write Access Time = 9 cycles */
-#define B0WAT_10 (WAT_10) /* B0 Write Access Time = 10 cycles */
-#define B0WAT_11 (WAT_11) /* B0 Write Access Time = 11 cycles */
-#define B0WAT_12 (WAT_12) /* B0 Write Access Time = 12 cycles */
-#define B0WAT_13 (WAT_13) /* B0 Write Access Time = 13 cycles */
-#define B0WAT_14 (WAT_14) /* B0 Write Access Time = 14 cycles */
-#define B0WAT_15 (WAT_15) /* B0 Write Access Time = 15 cycles */
-
-
-/* Bit masks for EBIU_MODE */
-
-#define B0MODE 0x3 /* Async Memory Bank Access Mode */
-
-/* Bit masks for EBIU_MODE */
-#define MODE_ASYNC 0x00000000 /* Access Mode - 00 - Asynchronous Mode */
-#define MODE_FLASH 0x00000001 /* Access Mode - 01 - Asynchronous Flash Mode */
-#define MODE_BURST 0x00000003 /* Access Mode - 11 - Synchronous (Burst) Mode */
-
-/* legacy bit fields (below) provided for backwards code compatibility */
-#define B0MODE_ASYNC (MODE_ASYNC)
-#define B0MODE_FLASH (MODE_FLASH)
-#define B0MODE_BURST (MODE_BURST)
-
-/* Bit masks for EBIU_FCTL (BCLK) */
-#define BCLK2 0x00000002 /* Burst clock frequency: 01 - SCLK/2 */
-#define BCLK3 0x00000004 /* Burst clock frequency: 10 - SCLK/3 */
-#define BCLK4 0x00000006 /* Burst clock frequency: 11 - SCLK/4 */
-
-
-/**************************************** DMA CONTROLLER MASKS **************************************************/
-
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* DMA Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define DMA2D 0x0010 /* DMA Mode (2D/1D*) */
-#define SYNC 0x0020 /* DMA Buffer Clear */
-#define DI_SEL 0x0040 /* Data Interrupt Timing Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-#define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral) */
-#define PMAP 0xF000 /* Peripheral Mapped To This Channel */
-#define PMAP_PPI 0x0000 /* PPI Port DMA */
-#define PMAP_RSI 0x1000 /* RSI DMA */
-#define PMAP_SPORT0RX 0x2000 /* SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x3000 /* SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x4000 /* SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x5000 /* SPORT1 Transmit DMA */
-#define PMAP_SPI0 0x6000 /* SPI0 Transmit/Receive DMA */
-#define PMAP_SPI1 0x7000 /* SPI1 Transmit/Receive DMA */
-#define PMAP_UART0RX 0x8000 /* UART0 Port Receive DMA */
-#define PMAP_UART0TX 0x9000 /* UART0 Port Transmit DMA */
-#define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */
-#define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */
-#define DMA_ERR 0x0002 /* DMA Error Interrupt Status */
-#define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Channel Running Indicator */
-
-
-/********************************* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************************************/
-
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */ /* previous versions of defBF532.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLEN_8 0x0000 /* Data Length = 8 Bits */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-/* PPI_STATUS Masks */
-#define LT_ERR_OVR 0x0100 /* Line Track Overflow Error */
-#define LT_ERR_UNDR 0x0200 /* Line Track Underflow Error */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/*************************************** TWO-WIRE INTERFACE (TWI) MASKS *****************************************/
-
-/* TWI_CLKDIV Macros (Use: *pTWI_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8)/* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWI_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWI_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWI_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWI_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWI_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWI_INT_SRC and TWI_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWI_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWI_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/************************************* STACKED FLASH REGISTER MASKS AND DEFINITIONS ******************************/
-
-#define FLASH_ENABLE 0x0001 /* Enable stacked flash for reads/writes or reset flash */
-#define FLASH_UNPROTECT 0x0100 /* Protect/unprotect stacked flash from programming/erase */
-#define FLASH_UNLOCK 0x8000 /* Enable/disable the setting of the upper byte of FLASH_CONTROL */
-
-#define FLASH_BASE_ADDRESS 0x20000000
-
-
-
-/**************************************** COUNTER MASKS ******************************************************/
-
-/* Bit masks for CNT_CONFIG */
-#define CNTE 0x1 /* Counter Enable */
-#define nCNTE 0x0
-#define DEBE 0x2 /* Debounce Enable */
-#define nDEBE 0x0
-#define CDGINV 0x10 /* CDG Pin Polarity Invert */
-#define nCDGINV 0x0
-#define CUDINV 0x20 /* CUD Pin Polarity Invert */
-#define nCUDINV 0x0
-#define CZMINV 0x40 /* CZM Pin Polarity Invert */
-#define nCZMINV 0x0
-#define CNTMODE 0x700 /* Counter Operating Mode */
-#define ZMZC 0x800 /* CZM Zeroes Counter Enable */
-#define nZMZC 0x0
-#define BNDMODE 0x3000 /* Boundary register Mode */
-#define INPDIS 0x8000 /* CUG and CDG Input Disable */
-#define nINPDIS 0x0
-
-/* Bit masks for CNT_IMASK */
-#define ICIE 0x1 /* Illegal Gray/Binary Code Interrupt Enable */
-#define nICIE 0x0
-#define UCIE 0x2 /* Up count Interrupt Enable */
-#define nUCIE 0x0
-#define DCIE 0x4 /* Down count Interrupt Enable */
-#define nDCIE 0x0
-#define MINCIE 0x8 /* Min Count Interrupt Enable */
-#define nMINCIE 0x0
-#define MAXCIE 0x10 /* Max Count Interrupt Enable */
-#define nMAXCIE 0x0
-#define COV31IE 0x20 /* Bit 31 Overflow Interrupt Enable */
-#define nCOV31IE 0x0
-#define COV15IE 0x40 /* Bit 15 Overflow Interrupt Enable */
-#define nCOV15IE 0x0
-#define CZEROIE 0x80 /* Count to Zero Interrupt Enable */
-#define nCZEROIE 0x0
-#define CZMIE 0x100 /* CZM Pin Interrupt Enable */
-#define nCZMIE 0x0
-#define CZMEIE 0x200 /* CZM Error Interrupt Enable */
-#define nCZMEIE 0x0
-#define CZMZIE 0x400 /* CZM Zeroes Counter Interrupt Enable */
-#define nCZMZIE 0x0
-
-/* Bit masks for CNT_STATUS */
-#define ICII 0x1 /* Illegal Gray/Binary Code Interrupt Identifier */
-#define nICII 0x0
-#define UCII 0x2 /* Up count Interrupt Identifier */
-#define nUCII 0x0
-#define DCII 0x4 /* Down count Interrupt Identifier */
-#define nDCII 0x0
-#define MINCII 0x8 /* Min Count Interrupt Identifier */
-#define nMINCII 0x0
-#define MAXCII 0x10 /* Max Count Interrupt Identifier */
-#define nMAXCII 0x0
-#define COV31II 0x20 /* Bit 31 Overflow Interrupt Identifier */
-#define nCOV31II 0x0
-#define COV15II 0x40 /* Bit 15 Overflow Interrupt Identifier */
-#define nCOV15II 0x0
-#define CZEROII 0x80 /* Count to Zero Interrupt Identifier */
-#define nCZEROII 0x0
-#define CZMII 0x100 /* CZM Pin Interrupt Identifier */
-#define nCZMII 0x0
-#define CZMEII 0x200 /* CZM Error Interrupt Identifier */
-#define nCZMEII 0x0
-#define CZMZII 0x400 /* CZM Zeroes Counter Interrupt Identifier */
-#define nCZMZII 0x0
-
-/* Bit masks for CNT_COMMAND */
-#define W1LCNT 0xf /* Load Counter Register */
-#define W1LMIN 0xf0 /* Load Min Register */
-#define W1LMAX 0xf00 /* Load Max Register */
-#define W1ZMONCE 0x1000 /* Enable CZM Clear Counter Once */
-#define nW1ZMONCE 0x0
-
-/* Bit masks for CNT_DEBOUNCE */
-#define DPRESCALE 0xf /* Load Counter Register */
-
-
-/********************************************** PWM Masks *******************************************************/
-
-/* Bit masks for PWM_CTRL */
-#define PWM_EN 0x1 /* PWM Enable */
-#define PWM_SYNC_EN 0X2 /* Enable Sync Enable */
-#define PWM_DBL 0x4 /* Double Update Mode */
-#define PWM_EXTSYNC 0x8 /* External Sync */
-#define PWM_SYNCSEL 0x10 /* External Sync Select */
-#define PWM_POLARITY 0x20 /* PWM Output Polarity */
-#define PWM_SRMODE 0x40 /* PWM SR MODE */
-#define PWMTRIPINT_EN 0x80 /* Trip Interrupt Enable */
-#define PWMSYNCINT_EN 0x100 /* Sync Interrupt Enable */
-#define PWMTRIP_DSBL 0x200 /* Trip Input Disable */
-
-/* Bit masks for PWM_STAT */
-#define PWM_PHASE 0x1 /* PWM phase */
-#define PWM_POL 0x2 /* PWM polarity */
-#define PWM_SR 0x4 /* PWM SR mode */
-#define PWM_TRIP 0x8 /* PWM Trip mode */
-#define PWM_TRIPINT 0x100 /* PWM Trip Interrupt */
-#define PWM_SYNCINT 0x200 /* PWM Sync Interrupt */
-
-/* Bit masks for PWMGATE Register */
-
-#define CHOPHI 0x100 /* Gate Chopping Enable High Side */
-#define CHOPLO 0x200 /* Gate Chopping Enable Low Side */
-
-/* Bit masks for PWMSEG Register */
-
-#define CH_EN 0x1 /* CH output Enable */
-#define CL_EN 0x2 /* CL output Enable */
-#define BH_EN 0x4 /* BH output Enable */
-#define BL_EN 0x8 /* BL output Enable */
-#define AH_EN 0x10 /* AH output Enable */
-#define AL_EN 0x20 /* AL output Enable */
-#define CHCL_XOVR 0x40 /* Channel C output Crossover */
-#define BHBL_XOVR 0x80 /* Channel B output Crossover */
-#define AHAL_XOVR 0x100 /* Channel A output Crossover */
-
-/* Bit masks for PWMLSI Register */
-#define PWM_SR_LSI_A 0x1 /* PWM SR Low Side Invert Channel A */
-#define PWM_SR_LSI_B 0x2 /* PWM SR Low Side Invert Channel A */
-#define PWM_SR_LSI_C 0x4 /* PWM SR Low Side Invert Channel A */
-
-/* Bit masks for PWM_STAT2 Register */
-#define PWM_AL 0x1 /* pwm_al output signal for S/W observation */
-#define PWM_AH 0x2 /* pwm_ah output signal for S/W observation */
-#define PWM_BL 0x4 /* pwm_bl output signal for S/W observation */
-#define PWM_BH 0x8 /* pwm_bh output signal for S/W observation */
-#define PWM_CL 0x10 /* pwm_cl output signal for S/W observation */
-#define PWM_CH 0x20 /* pwm_ch output signal for S/W observation */
-
-
-/*********************************** RSI MASKS ************************************/
-
-/* Bit masks for RSI_PWR_CONTROL */
-#define PWR_ON 0x3 /* Power On */
-#define RSI_CMD_OD 0x40 /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_CMD_OD (RSI_CMD_OD) /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CMD_OD 0x0
-/* legacy bit mask (below) provided for backwards code compatibility */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define ROD_CTL 0x80
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nROD_CTL 0x80
-
-
-/* Bit masks for RSI_CLK_CONTROL */
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_EN 0x100 /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLK_E (CLK_EN) /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLK_E 0x0
-#define PWR_SV_EN 0x200 /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PWR_SV_E (PWR_SV_EN) /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKDIV_BYPASS 0x0
-#define BUS_MODE 0x1800 /* Bus width selection */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define WIDE_BUS 0x0800 /* Wide Bus Mode Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nWIDE_BUS 0x0
-
-
-/* Bit masks for RSI_COMMAND */
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP_EN 0x40 /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_RSP (CMD_RSP_EN) /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RSP 0x0
-#define CMD_LRSP_EN 0x80 /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_L_RSP (CMD_LRSP_EN) /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_EN 0x100 /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_INT_E (CMD_INT_EN) /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_EN 0x200 /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_PEND_E (CMD_PEND_EN) /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_PEND_E 0x0
-#define CMD_EN 0x400 /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_E (CMD_EN) /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_E 0x0
-
-
-/* Bit masks for RSI_RESP_CMD */
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for RSI_DATA_LGTH */
-#define DATA_LENGTH 0xffff /* Data Length */
-
-
-/* Bit masks for RSI_DATA_CONTROL */
-#define DATA_EN 0x1 /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_E (DATA_EN) /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_E 0x0
-#define DATA_DIR 0x2 /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DIR (DATA_DIR) /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DIR 0x0
-#define DATA_MODE 0x4 /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_MODE (DATA_MODE) /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_MODE 0x0
-#define DATA_DMA_EN 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DMA_E 0x0
-#define DATA_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-#define CEATA_EN 0x100 /* CE-ATA operation mode enable */
-#define CEATA_CCS_EN 0x200 /* CE-ATA CCS mode enable */
-
-/* Bit masks for RSI_DATA_CNT */
-#define DATA_COUNT 0xffff /* Data Count */
-
-/* Bit masks for RSI_STATUS */
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for RSI_STATCL */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for RSI_MASKx */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for RSI_FIFO_CNT */
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for RSI_CEATA_CONTROL */
-#define CEATA_TX_CCSD 0x1 /* Send CE-ATA CCSD sequence */
-
-/* Bit masks for RSI_ESTAT */
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CARD_DET 0x0
-#define CEATA_INT_DET 0x20
-
-/* Bit masks for RSI_EMASK */
-#define SDIO_INT_DET_MASK 0x2 /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SDIO_MSK (SDIO_INT_DET_MASK)/* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_MSK 0x0
-#define SD_CARD_DET_MASK 0x10 /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SCD_MASK (SD_CARD_DET_MASK) /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSCD_MSK 0x0
-#define CEATA_INT_DET_MASK 0x20
-
-
-/* Bit masks for SDH_CFG */
-
-/* Left in for backwards compatibility */
-#define RSI_CLK_EN 0x1
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLKS_EN (RSI_CLK_EN) /* Clocks Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKS_EN 0x0
-#define SDIO4_EN 0x4 /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD4E (SDIO4_EN) /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD4E 0x0
-#define MW_EN 0x8 /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define MWE (MW_EN) /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nMWE 0x0
-#define RSI_RST 0x10 /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_RST (RSI_RST) /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_RST 0x0
-#define PU_DAT 0x20 /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT (PU_DAT) /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT 0x0
-#define PU_DAT3 0x40 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT3 (PU_DAT3) /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT3 0x0
-#define PD_DAT3 0x80 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PD_SDDAT3 (PD_DAT3) /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPD_SDDAT3 0x0
-
-
-/* Bit masks for RSI_RD_WAIT_EN */
-#define SDIO_RWR 0x1 /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define RWR (SDIO_RWR) /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRWR 0x0
-
-/* Bit masks for RSI_PIDx */
-#define RSI_PID 0xff /* RSI Peripheral ID */
-
-
-/* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/
-
-/* CAN_CONTROL Masks */
-#define SRS 0x0001 /* Software Reset */
-#define DNM 0x0002 /* Device Net Mode */
-#define ABO 0x0004 /* Auto-Bus On Enable */
-#define WBA 0x0010 /* Wake-Up On CAN Bus Activity Enable */
-#define SMR 0x0020 /* Sleep Mode Request */
-#define CSR 0x0040 /* CAN Suspend Mode Request */
-#define CCR 0x0080 /* CAN Configuration Mode Request */
-
-/* CAN_STATUS Masks */
-#define WT 0x0001 /* TX Warning Flag */
-#define WR 0x0002 /* RX Warning Flag */
-#define EP 0x0004 /* Error Passive Mode */
-#define EBO 0x0008 /* Error Bus Off Mode */
-#define CSA 0x0040 /* Suspend Mode Acknowledge */
-#define CCA 0x0080 /* Configuration Mode Acknowledge */
-#define MBPTR 0x1F00 /* Mailbox Pointer */
-#define TRM 0x4000 /* Transmit Mode */
-#define REC 0x8000 /* Receive Mode */
-
-/* CAN_CLOCK Masks */
-#define BRP 0x03FF /* Bit-Rate Pre-Scaler */
-
-/* CAN_TIMING Masks */
-#define TSEG1 0x000F /* Time Segment 1 */
-#define TSEG2 0x0070 /* Time Segment 2 */
-#define SAM 0x0080 /* Sampling */
-#define SJW 0x0300 /* Synchronization Jump Width */
-
-/* CAN_DEBUG Masks */
-#define DEC 0x0001 /* Disable CAN Error Counters */
-#define DRI 0x0002 /* Disable CAN RX Input */
-#define DTO 0x0004 /* Disable CAN TX Output */
-#define DIL 0x0008 /* Disable CAN Internal Loop */
-#define MAA 0x0010 /* Mode Auto-Acknowledge Enable */
-#define MRB 0x0020 /* Mode Read Back Enable */
-#define CDE 0x8000 /* CAN Debug Enable */
-
-/* CAN_CEC Masks */
-#define RXECNT 0x00FF /* Receive Error Counter */
-#define TXECNT 0xFF00 /* Transmit Error Counter */
-
-/* CAN_INTR Masks */
-#define MBRIRQ 0x0001 /* Mailbox Receive Interrupt */
-#define MBRIF (MBRIRQ) /* legacy */
-#define MBTIRQ 0x0002 /* Mailbox Transmit Interrupt */
-#define MBTIF (MBTIRQ) /* legacy */
-#define GIRQ 0x0004 /* Global Interrupt */
-#define SMACK 0x0008 /* Sleep Mode Acknowledge */
-#define CANTX 0x0040 /* CAN TX Bus Value */
-#define CANRX 0x0080 /* CAN RX Bus Value */
-
-/* CAN_MBxx_ID1 and CAN_MBxx_ID0 Masks */
-#define DFC 0xFFFF /* Data Filtering Code (If Enabled) (ID0) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (ID0) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (ID1) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define IDE 0x2000 /* Identifier Extension */
-#define RTR 0x4000 /* Remote Frame Transmission Request */
-#define AME 0x8000 /* Acceptance Mask Enable */
-
-/* CAN_MBxx_TIMESTAMP Masks */
-#define TSV 0xFFFF /* Timestamp */
-
-/* CAN_MBxx_LENGTH Masks */
-#define DLC 0x000F /* Data Length Code */
-
-/* CAN_AMxxH and CAN_AMxxL Masks */
-#define DFM 0xFFFF /* Data Field Mask (If Enabled) (CAN_AMxxL) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (CAN_AMxxL) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (CAN_AMxxH) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define AMIDE 0x2000 /* Acceptance Mask ID Extension Enable */
-#define FMD 0x4000 /* Full Mask Data Field Enable */
-#define FDF 0x8000 /* Filter On Data Field Enable */
-
-/* CAN_MC1 Masks */
-#define MC0 0x0001 /* Enable Mailbox 0 */
-#define MC1 0x0002 /* Enable Mailbox 1 */
-#define MC2 0x0004 /* Enable Mailbox 2 */
-#define MC3 0x0008 /* Enable Mailbox 3 */
-#define MC4 0x0010 /* Enable Mailbox 4 */
-#define MC5 0x0020 /* Enable Mailbox 5 */
-#define MC6 0x0040 /* Enable Mailbox 6 */
-#define MC7 0x0080 /* Enable Mailbox 7 */
-#define MC8 0x0100 /* Enable Mailbox 8 */
-#define MC9 0x0200 /* Enable Mailbox 9 */
-#define MC10 0x0400 /* Enable Mailbox 10 */
-#define MC11 0x0800 /* Enable Mailbox 11 */
-#define MC12 0x1000 /* Enable Mailbox 12 */
-#define MC13 0x2000 /* Enable Mailbox 13 */
-#define MC14 0x4000 /* Enable Mailbox 14 */
-#define MC15 0x8000 /* Enable Mailbox 15 */
-
-/* CAN_MC2 Masks */
-#define MC16 0x0001 /* Enable Mailbox 16 */
-#define MC17 0x0002 /* Enable Mailbox 17 */
-#define MC18 0x0004 /* Enable Mailbox 18 */
-#define MC19 0x0008 /* Enable Mailbox 19 */
-#define MC20 0x0010 /* Enable Mailbox 20 */
-#define MC21 0x0020 /* Enable Mailbox 21 */
-#define MC22 0x0040 /* Enable Mailbox 22 */
-#define MC23 0x0080 /* Enable Mailbox 23 */
-#define MC24 0x0100 /* Enable Mailbox 24 */
-#define MC25 0x0200 /* Enable Mailbox 25 */
-#define MC26 0x0400 /* Enable Mailbox 26 */
-#define MC27 0x0800 /* Enable Mailbox 27 */
-#define MC28 0x1000 /* Enable Mailbox 28 */
-#define MC29 0x2000 /* Enable Mailbox 29 */
-#define MC30 0x4000 /* Enable Mailbox 30 */
-#define MC31 0x8000 /* Enable Mailbox 31 */
-
-/* CAN_MD1 Masks */
-#define MD0 0x0001 /* Enable Mailbox 0 For Receive */
-#define MD1 0x0002 /* Enable Mailbox 1 For Receive */
-#define MD2 0x0004 /* Enable Mailbox 2 For Receive */
-#define MD3 0x0008 /* Enable Mailbox 3 For Receive */
-#define MD4 0x0010 /* Enable Mailbox 4 For Receive */
-#define MD5 0x0020 /* Enable Mailbox 5 For Receive */
-#define MD6 0x0040 /* Enable Mailbox 6 For Receive */
-#define MD7 0x0080 /* Enable Mailbox 7 For Receive */
-#define MD8 0x0100 /* Enable Mailbox 8 For Receive */
-#define MD9 0x0200 /* Enable Mailbox 9 For Receive */
-#define MD10 0x0400 /* Enable Mailbox 10 For Receive */
-#define MD11 0x0800 /* Enable Mailbox 11 For Receive */
-#define MD12 0x1000 /* Enable Mailbox 12 For Receive */
-#define MD13 0x2000 /* Enable Mailbox 13 For Receive */
-#define MD14 0x4000 /* Enable Mailbox 14 For Receive */
-#define MD15 0x8000 /* Enable Mailbox 15 For Receive */
-
-/* CAN_MD2 Masks */
-#define MD16 0x0001 /* Enable Mailbox 16 For Receive */
-#define MD17 0x0002 /* Enable Mailbox 17 For Receive */
-#define MD18 0x0004 /* Enable Mailbox 18 For Receive */
-#define MD19 0x0008 /* Enable Mailbox 19 For Receive */
-#define MD20 0x0010 /* Enable Mailbox 20 For Receive */
-#define MD21 0x0020 /* Enable Mailbox 21 For Receive */
-#define MD22 0x0040 /* Enable Mailbox 22 For Receive */
-#define MD23 0x0080 /* Enable Mailbox 23 For Receive */
-#define MD24 0x0100 /* Enable Mailbox 24 For Receive */
-#define MD25 0x0200 /* Enable Mailbox 25 For Receive */
-#define MD26 0x0400 /* Enable Mailbox 26 For Receive */
-#define MD27 0x0800 /* Enable Mailbox 27 For Receive */
-#define MD28 0x1000 /* Enable Mailbox 28 For Receive */
-#define MD29 0x2000 /* Enable Mailbox 29 For Receive */
-#define MD30 0x4000 /* Enable Mailbox 30 For Receive */
-#define MD31 0x8000 /* Enable Mailbox 31 For Receive */
-
-/* CAN_RMP1 Masks */
-#define RMP0 0x0001 /* RX Message Pending In Mailbox 0 */
-#define RMP1 0x0002 /* RX Message Pending In Mailbox 1 */
-#define RMP2 0x0004 /* RX Message Pending In Mailbox 2 */
-#define RMP3 0x0008 /* RX Message Pending In Mailbox 3 */
-#define RMP4 0x0010 /* RX Message Pending In Mailbox 4 */
-#define RMP5 0x0020 /* RX Message Pending In Mailbox 5 */
-#define RMP6 0x0040 /* RX Message Pending In Mailbox 6 */
-#define RMP7 0x0080 /* RX Message Pending In Mailbox 7 */
-#define RMP8 0x0100 /* RX Message Pending In Mailbox 8 */
-#define RMP9 0x0200 /* RX Message Pending In Mailbox 9 */
-#define RMP10 0x0400 /* RX Message Pending In Mailbox 10 */
-#define RMP11 0x0800 /* RX Message Pending In Mailbox 11 */
-#define RMP12 0x1000 /* RX Message Pending In Mailbox 12 */
-#define RMP13 0x2000 /* RX Message Pending In Mailbox 13 */
-#define RMP14 0x4000 /* RX Message Pending In Mailbox 14 */
-#define RMP15 0x8000 /* RX Message Pending In Mailbox 15 */
-
-/* CAN_RMP2 Masks */
-#define RMP16 0x0001 /* RX Message Pending In Mailbox 16 */
-#define RMP17 0x0002 /* RX Message Pending In Mailbox 17 */
-#define RMP18 0x0004 /* RX Message Pending In Mailbox 18 */
-#define RMP19 0x0008 /* RX Message Pending In Mailbox 19 */
-#define RMP20 0x0010 /* RX Message Pending In Mailbox 20 */
-#define RMP21 0x0020 /* RX Message Pending In Mailbox 21 */
-#define RMP22 0x0040 /* RX Message Pending In Mailbox 22 */
-#define RMP23 0x0080 /* RX Message Pending In Mailbox 23 */
-#define RMP24 0x0100 /* RX Message Pending In Mailbox 24 */
-#define RMP25 0x0200 /* RX Message Pending In Mailbox 25 */
-#define RMP26 0x0400 /* RX Message Pending In Mailbox 26 */
-#define RMP27 0x0800 /* RX Message Pending In Mailbox 27 */
-#define RMP28 0x1000 /* RX Message Pending In Mailbox 28 */
-#define RMP29 0x2000 /* RX Message Pending In Mailbox 29 */
-#define RMP30 0x4000 /* RX Message Pending In Mailbox 30 */
-#define RMP31 0x8000 /* RX Message Pending In Mailbox 31 */
-
-/* CAN_RML1 Masks */
-#define RML0 0x0001 /* RX Message Lost In Mailbox 0 */
-#define RML1 0x0002 /* RX Message Lost In Mailbox 1 */
-#define RML2 0x0004 /* RX Message Lost In Mailbox 2 */
-#define RML3 0x0008 /* RX Message Lost In Mailbox 3 */
-#define RML4 0x0010 /* RX Message Lost In Mailbox 4 */
-#define RML5 0x0020 /* RX Message Lost In Mailbox 5 */
-#define RML6 0x0040 /* RX Message Lost In Mailbox 6 */
-#define RML7 0x0080 /* RX Message Lost In Mailbox 7 */
-#define RML8 0x0100 /* RX Message Lost In Mailbox 8 */
-#define RML9 0x0200 /* RX Message Lost In Mailbox 9 */
-#define RML10 0x0400 /* RX Message Lost In Mailbox 10 */
-#define RML11 0x0800 /* RX Message Lost In Mailbox 11 */
-#define RML12 0x1000 /* RX Message Lost In Mailbox 12 */
-#define RML13 0x2000 /* RX Message Lost In Mailbox 13 */
-#define RML14 0x4000 /* RX Message Lost In Mailbox 14 */
-#define RML15 0x8000 /* RX Message Lost In Mailbox 15 */
-
-/* CAN_RML2 Masks */
-#define RML16 0x0001 /* RX Message Lost In Mailbox 16 */
-#define RML17 0x0002 /* RX Message Lost In Mailbox 17 */
-#define RML18 0x0004 /* RX Message Lost In Mailbox 18 */
-#define RML19 0x0008 /* RX Message Lost In Mailbox 19 */
-#define RML20 0x0010 /* RX Message Lost In Mailbox 20 */
-#define RML21 0x0020 /* RX Message Lost In Mailbox 21 */
-#define RML22 0x0040 /* RX Message Lost In Mailbox 22 */
-#define RML23 0x0080 /* RX Message Lost In Mailbox 23 */
-#define RML24 0x0100 /* RX Message Lost In Mailbox 24 */
-#define RML25 0x0200 /* RX Message Lost In Mailbox 25 */
-#define RML26 0x0400 /* RX Message Lost In Mailbox 26 */
-#define RML27 0x0800 /* RX Message Lost In Mailbox 27 */
-#define RML28 0x1000 /* RX Message Lost In Mailbox 28 */
-#define RML29 0x2000 /* RX Message Lost In Mailbox 29 */
-#define RML30 0x4000 /* RX Message Lost In Mailbox 30 */
-#define RML31 0x8000 /* RX Message Lost In Mailbox 31 */
-
-/* CAN_OPSS1 Masks */
-#define OPSS0 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 0 */
-#define OPSS1 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 1 */
-#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
-#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
-#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
-#define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */
-#define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */
-#define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */
-#define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */
-#define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */
-#define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */
-#define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */
-#define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */
-#define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */
-#define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */
-#define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */
-
-/* CAN_OPSS2 Masks */
-#define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */
-#define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */
-#define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */
-#define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */
-#define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */
-#define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */
-#define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */
-#define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */
-#define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */
-#define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */
-#define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */
-#define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */
-#define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */
-#define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */
-#define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */
-#define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */
-
-/* CAN_TRR1 Masks */
-#define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */
-#define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */
-#define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */
-#define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */
-#define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */
-#define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */
-#define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */
-#define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */
-#define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */
-#define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */
-#define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */
-#define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */
-#define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */
-#define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */
-#define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */
-#define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */
-
-/* CAN_TRR2 Masks */
-#define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */
-#define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */
-#define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */
-#define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */
-#define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */
-#define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */
-#define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */
-#define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */
-#define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */
-#define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */
-#define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */
-#define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */
-#define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */
-#define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */
-#define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */
-#define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */
-
-/* CAN_TRS1 Masks */
-#define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */
-#define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */
-#define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */
-#define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */
-#define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */
-#define TRS5 0x0020 /* Remote Frame Request For Mailbox 5 */
-#define TRS6 0x0040 /* Remote Frame Request For Mailbox 6 */
-#define TRS7 0x0080 /* Remote Frame Request For Mailbox 7 */
-#define TRS8 0x0100 /* Remote Frame Request For Mailbox 8 */
-#define TRS9 0x0200 /* Remote Frame Request For Mailbox 9 */
-#define TRS10 0x0400 /* Remote Frame Request For Mailbox 10 */
-#define TRS11 0x0800 /* Remote Frame Request For Mailbox 11 */
-#define TRS12 0x1000 /* Remote Frame Request For Mailbox 12 */
-#define TRS13 0x2000 /* Remote Frame Request For Mailbox 13 */
-#define TRS14 0x4000 /* Remote Frame Request For Mailbox 14 */
-#define TRS15 0x8000 /* Remote Frame Request For Mailbox 15 */
-
-/* CAN_TRS2 Masks */
-#define TRS16 0x0001 /* Remote Frame Request For Mailbox 16 */
-#define TRS17 0x0002 /* Remote Frame Request For Mailbox 17 */
-#define TRS18 0x0004 /* Remote Frame Request For Mailbox 18 */
-#define TRS19 0x0008 /* Remote Frame Request For Mailbox 19 */
-#define TRS20 0x0010 /* Remote Frame Request For Mailbox 20 */
-#define TRS21 0x0020 /* Remote Frame Request For Mailbox 21 */
-#define TRS22 0x0040 /* Remote Frame Request For Mailbox 22 */
-#define TRS23 0x0080 /* Remote Frame Request For Mailbox 23 */
-#define TRS24 0x0100 /* Remote Frame Request For Mailbox 24 */
-#define TRS25 0x0200 /* Remote Frame Request For Mailbox 25 */
-#define TRS26 0x0400 /* Remote Frame Request For Mailbox 26 */
-#define TRS27 0x0800 /* Remote Frame Request For Mailbox 27 */
-#define TRS28 0x1000 /* Remote Frame Request For Mailbox 28 */
-#define TRS29 0x2000 /* Remote Frame Request For Mailbox 29 */
-#define TRS30 0x4000 /* Remote Frame Request For Mailbox 30 */
-#define TRS31 0x8000 /* Remote Frame Request For Mailbox 31 */
-
-/* CAN_AA1 Masks */
-#define AA0 0x0001 /* Aborted Message In Mailbox 0 */
-#define AA1 0x0002 /* Aborted Message In Mailbox 1 */
-#define AA2 0x0004 /* Aborted Message In Mailbox 2 */
-#define AA3 0x0008 /* Aborted Message In Mailbox 3 */
-#define AA4 0x0010 /* Aborted Message In Mailbox 4 */
-#define AA5 0x0020 /* Aborted Message In Mailbox 5 */
-#define AA6 0x0040 /* Aborted Message In Mailbox 6 */
-#define AA7 0x0080 /* Aborted Message In Mailbox 7 */
-#define AA8 0x0100 /* Aborted Message In Mailbox 8 */
-#define AA9 0x0200 /* Aborted Message In Mailbox 9 */
-#define AA10 0x0400 /* Aborted Message In Mailbox 10 */
-#define AA11 0x0800 /* Aborted Message In Mailbox 11 */
-#define AA12 0x1000 /* Aborted Message In Mailbox 12 */
-#define AA13 0x2000 /* Aborted Message In Mailbox 13 */
-#define AA14 0x4000 /* Aborted Message In Mailbox 14 */
-#define AA15 0x8000 /* Aborted Message In Mailbox 15 */
-
-/* CAN_AA2 Masks */
-#define AA16 0x0001 /* Aborted Message In Mailbox 16 */
-#define AA17 0x0002 /* Aborted Message In Mailbox 17 */
-#define AA18 0x0004 /* Aborted Message In Mailbox 18 */
-#define AA19 0x0008 /* Aborted Message In Mailbox 19 */
-#define AA20 0x0010 /* Aborted Message In Mailbox 20 */
-#define AA21 0x0020 /* Aborted Message In Mailbox 21 */
-#define AA22 0x0040 /* Aborted Message In Mailbox 22 */
-#define AA23 0x0080 /* Aborted Message In Mailbox 23 */
-#define AA24 0x0100 /* Aborted Message In Mailbox 24 */
-#define AA25 0x0200 /* Aborted Message In Mailbox 25 */
-#define AA26 0x0400 /* Aborted Message In Mailbox 26 */
-#define AA27 0x0800 /* Aborted Message In Mailbox 27 */
-#define AA28 0x1000 /* Aborted Message In Mailbox 28 */
-#define AA29 0x2000 /* Aborted Message In Mailbox 29 */
-#define AA30 0x4000 /* Aborted Message In Mailbox 30 */
-#define AA31 0x8000 /* Aborted Message In Mailbox 31 */
-
-/* CAN_TA1 Masks */
-#define TA0 0x0001 /* Transmit Successful From Mailbox 0 */
-#define TA1 0x0002 /* Transmit Successful From Mailbox 1 */
-#define TA2 0x0004 /* Transmit Successful From Mailbox 2 */
-#define TA3 0x0008 /* Transmit Successful From Mailbox 3 */
-#define TA4 0x0010 /* Transmit Successful From Mailbox 4 */
-#define TA5 0x0020 /* Transmit Successful From Mailbox 5 */
-#define TA6 0x0040 /* Transmit Successful From Mailbox 6 */
-#define TA7 0x0080 /* Transmit Successful From Mailbox 7 */
-#define TA8 0x0100 /* Transmit Successful From Mailbox 8 */
-#define TA9 0x0200 /* Transmit Successful From Mailbox 9 */
-#define TA10 0x0400 /* Transmit Successful From Mailbox 10 */
-#define TA11 0x0800 /* Transmit Successful From Mailbox 11 */
-#define TA12 0x1000 /* Transmit Successful From Mailbox 12 */
-#define TA13 0x2000 /* Transmit Successful From Mailbox 13 */
-#define TA14 0x4000 /* Transmit Successful From Mailbox 14 */
-#define TA15 0x8000 /* Transmit Successful From Mailbox 15 */
-
-/* CAN_TA2 Masks */
-#define TA16 0x0001 /* Transmit Successful From Mailbox 16 */
-#define TA17 0x0002 /* Transmit Successful From Mailbox 17 */
-#define TA18 0x0004 /* Transmit Successful From Mailbox 18 */
-#define TA19 0x0008 /* Transmit Successful From Mailbox 19 */
-#define TA20 0x0010 /* Transmit Successful From Mailbox 20 */
-#define TA21 0x0020 /* Transmit Successful From Mailbox 21 */
-#define TA22 0x0040 /* Transmit Successful From Mailbox 22 */
-#define TA23 0x0080 /* Transmit Successful From Mailbox 23 */
-#define TA24 0x0100 /* Transmit Successful From Mailbox 24 */
-#define TA25 0x0200 /* Transmit Successful From Mailbox 25 */
-#define TA26 0x0400 /* Transmit Successful From Mailbox 26 */
-#define TA27 0x0800 /* Transmit Successful From Mailbox 27 */
-#define TA28 0x1000 /* Transmit Successful From Mailbox 28 */
-#define TA29 0x2000 /* Transmit Successful From Mailbox 29 */
-#define TA30 0x4000 /* Transmit Successful From Mailbox 30 */
-#define TA31 0x8000 /* Transmit Successful From Mailbox 31 */
-
-/* CAN_MBTD Masks */
-#define TDPTR 0x001F /* Mailbox To Temporarily Disable */
-#define TDA 0x0040 /* Temporary Disable Acknowledge */
-#define TDR 0x0080 /* Temporary Disable Request */
-
-/* CAN_RFH1 Masks */
-#define RFH0 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 0 */
-#define RFH1 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 1 */
-#define RFH2 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 2 */
-#define RFH3 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 3 */
-#define RFH4 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 4 */
-#define RFH5 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 5 */
-#define RFH6 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 6 */
-#define RFH7 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 7 */
-#define RFH8 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 8 */
-#define RFH9 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 9 */
-#define RFH10 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 10 */
-#define RFH11 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 11 */
-#define RFH12 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 12 */
-#define RFH13 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 13 */
-#define RFH14 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 14 */
-#define RFH15 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 15 */
-
-/* CAN_RFH2 Masks */
-#define RFH16 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 16 */
-#define RFH17 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 17 */
-#define RFH18 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 18 */
-#define RFH19 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 19 */
-#define RFH20 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 20 */
-#define RFH21 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 21 */
-#define RFH22 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 22 */
-#define RFH23 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 23 */
-#define RFH24 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 24 */
-#define RFH25 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 25 */
-#define RFH26 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 26 */
-#define RFH27 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 27 */
-#define RFH28 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 28 */
-#define RFH29 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 29 */
-#define RFH30 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 30 */
-#define RFH31 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 31 */
-
-/* CAN_MBTIF1 Masks */
-#define MBTIF0 0x0001 /* TX Interrupt Active In Mailbox 0 */
-#define MBTIF1 0x0002 /* TX Interrupt Active In Mailbox 1 */
-#define MBTIF2 0x0004 /* TX Interrupt Active In Mailbox 2 */
-#define MBTIF3 0x0008 /* TX Interrupt Active In Mailbox 3 */
-#define MBTIF4 0x0010 /* TX Interrupt Active In Mailbox 4 */
-#define MBTIF5 0x0020 /* TX Interrupt Active In Mailbox 5 */
-#define MBTIF6 0x0040 /* TX Interrupt Active In Mailbox 6 */
-#define MBTIF7 0x0080 /* TX Interrupt Active In Mailbox 7 */
-#define MBTIF8 0x0100 /* TX Interrupt Active In Mailbox 8 */
-#define MBTIF9 0x0200 /* TX Interrupt Active In Mailbox 9 */
-#define MBTIF10 0x0400 /* TX Interrupt Active In Mailbox 10 */
-#define MBTIF11 0x0800 /* TX Interrupt Active In Mailbox 11 */
-#define MBTIF12 0x1000 /* TX Interrupt Active In Mailbox 12 */
-#define MBTIF13 0x2000 /* TX Interrupt Active In Mailbox 13 */
-#define MBTIF14 0x4000 /* TX Interrupt Active In Mailbox 14 */
-#define MBTIF15 0x8000 /* TX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBTIF2 Masks */
-#define MBTIF16 0x0001 /* TX Interrupt Active In Mailbox 16 */
-#define MBTIF17 0x0002 /* TX Interrupt Active In Mailbox 17 */
-#define MBTIF18 0x0004 /* TX Interrupt Active In Mailbox 18 */
-#define MBTIF19 0x0008 /* TX Interrupt Active In Mailbox 19 */
-#define MBTIF20 0x0010 /* TX Interrupt Active In Mailbox 20 */
-#define MBTIF21 0x0020 /* TX Interrupt Active In Mailbox 21 */
-#define MBTIF22 0x0040 /* TX Interrupt Active In Mailbox 22 */
-#define MBTIF23 0x0080 /* TX Interrupt Active In Mailbox 23 */
-#define MBTIF24 0x0100 /* TX Interrupt Active In Mailbox 24 */
-#define MBTIF25 0x0200 /* TX Interrupt Active In Mailbox 25 */
-#define MBTIF26 0x0400 /* TX Interrupt Active In Mailbox 26 */
-#define MBTIF27 0x0800 /* TX Interrupt Active In Mailbox 27 */
-#define MBTIF28 0x1000 /* TX Interrupt Active In Mailbox 28 */
-#define MBTIF29 0x2000 /* TX Interrupt Active In Mailbox 29 */
-#define MBTIF30 0x4000 /* TX Interrupt Active In Mailbox 30 */
-#define MBTIF31 0x8000 /* TX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBRIF1 Masks */
-#define MBRIF0 0x0001 /* RX Interrupt Active In Mailbox 0 */
-#define MBRIF1 0x0002 /* RX Interrupt Active In Mailbox 1 */
-#define MBRIF2 0x0004 /* RX Interrupt Active In Mailbox 2 */
-#define MBRIF3 0x0008 /* RX Interrupt Active In Mailbox 3 */
-#define MBRIF4 0x0010 /* RX Interrupt Active In Mailbox 4 */
-#define MBRIF5 0x0020 /* RX Interrupt Active In Mailbox 5 */
-#define MBRIF6 0x0040 /* RX Interrupt Active In Mailbox 6 */
-#define MBRIF7 0x0080 /* RX Interrupt Active In Mailbox 7 */
-#define MBRIF8 0x0100 /* RX Interrupt Active In Mailbox 8 */
-#define MBRIF9 0x0200 /* RX Interrupt Active In Mailbox 9 */
-#define MBRIF10 0x0400 /* RX Interrupt Active In Mailbox 10 */
-#define MBRIF11 0x0800 /* RX Interrupt Active In Mailbox 11 */
-#define MBRIF12 0x1000 /* RX Interrupt Active In Mailbox 12 */
-#define MBRIF13 0x2000 /* RX Interrupt Active In Mailbox 13 */
-#define MBRIF14 0x4000 /* RX Interrupt Active In Mailbox 14 */
-#define MBRIF15 0x8000 /* RX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBRIF2 Masks */
-#define MBRIF16 0x0001 /* RX Interrupt Active In Mailbox 16 */
-#define MBRIF17 0x0002 /* RX Interrupt Active In Mailbox 17 */
-#define MBRIF18 0x0004 /* RX Interrupt Active In Mailbox 18 */
-#define MBRIF19 0x0008 /* RX Interrupt Active In Mailbox 19 */
-#define MBRIF20 0x0010 /* RX Interrupt Active In Mailbox 20 */
-#define MBRIF21 0x0020 /* RX Interrupt Active In Mailbox 21 */
-#define MBRIF22 0x0040 /* RX Interrupt Active In Mailbox 22 */
-#define MBRIF23 0x0080 /* RX Interrupt Active In Mailbox 23 */
-#define MBRIF24 0x0100 /* RX Interrupt Active In Mailbox 24 */
-#define MBRIF25 0x0200 /* RX Interrupt Active In Mailbox 25 */
-#define MBRIF26 0x0400 /* RX Interrupt Active In Mailbox 26 */
-#define MBRIF27 0x0800 /* RX Interrupt Active In Mailbox 27 */
-#define MBRIF28 0x1000 /* RX Interrupt Active In Mailbox 28 */
-#define MBRIF29 0x2000 /* RX Interrupt Active In Mailbox 29 */
-#define MBRIF30 0x4000 /* RX Interrupt Active In Mailbox 30 */
-#define MBRIF31 0x8000 /* RX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBIM1 Masks */
-#define MBIM0 0x0001 /* Enable Interrupt For Mailbox 0 */
-#define MBIM1 0x0002 /* Enable Interrupt For Mailbox 1 */
-#define MBIM2 0x0004 /* Enable Interrupt For Mailbox 2 */
-#define MBIM3 0x0008 /* Enable Interrupt For Mailbox 3 */
-#define MBIM4 0x0010 /* Enable Interrupt For Mailbox 4 */
-#define MBIM5 0x0020 /* Enable Interrupt For Mailbox 5 */
-#define MBIM6 0x0040 /* Enable Interrupt For Mailbox 6 */
-#define MBIM7 0x0080 /* Enable Interrupt For Mailbox 7 */
-#define MBIM8 0x0100 /* Enable Interrupt For Mailbox 8 */
-#define MBIM9 0x0200 /* Enable Interrupt For Mailbox 9 */
-#define MBIM10 0x0400 /* Enable Interrupt For Mailbox 10 */
-#define MBIM11 0x0800 /* Enable Interrupt For Mailbox 11 */
-#define MBIM12 0x1000 /* Enable Interrupt For Mailbox 12 */
-#define MBIM13 0x2000 /* Enable Interrupt For Mailbox 13 */
-#define MBIM14 0x4000 /* Enable Interrupt For Mailbox 14 */
-#define MBIM15 0x8000 /* Enable Interrupt For Mailbox 15 */
-
-/* CAN_MBIM2 Masks */
-#define MBIM16 0x0001 /* Enable Interrupt For Mailbox 16 */
-#define MBIM17 0x0002 /* Enable Interrupt For Mailbox 17 */
-#define MBIM18 0x0004 /* Enable Interrupt For Mailbox 18 */
-#define MBIM19 0x0008 /* Enable Interrupt For Mailbox 19 */
-#define MBIM20 0x0010 /* Enable Interrupt For Mailbox 20 */
-#define MBIM21 0x0020 /* Enable Interrupt For Mailbox 21 */
-#define MBIM22 0x0040 /* Enable Interrupt For Mailbox 22 */
-#define MBIM23 0x0080 /* Enable Interrupt For Mailbox 23 */
-#define MBIM24 0x0100 /* Enable Interrupt For Mailbox 24 */
-#define MBIM25 0x0200 /* Enable Interrupt For Mailbox 25 */
-#define MBIM26 0x0400 /* Enable Interrupt For Mailbox 26 */
-#define MBIM27 0x0800 /* Enable Interrupt For Mailbox 27 */
-#define MBIM28 0x1000 /* Enable Interrupt For Mailbox 28 */
-#define MBIM29 0x2000 /* Enable Interrupt For Mailbox 29 */
-#define MBIM30 0x4000 /* Enable Interrupt For Mailbox 30 */
-#define MBIM31 0x8000 /* Enable Interrupt For Mailbox 31 */
-
-/* CAN_GIM Masks */
-#define EWTIM 0x0001 /* Enable TX Error Count Interrupt */
-#define EWRIM 0x0002 /* Enable RX Error Count Interrupt */
-#define EPIM 0x0004 /* Enable Error-Passive Mode Interrupt */
-#define BOIM 0x0008 /* Enable Bus Off Interrupt */
-#define WUIM 0x0010 /* Enable Wake-Up Interrupt */
-#define UIAIM 0x0020 /* Enable Access To Unimplemented Address Interrupt */
-#define AAIM 0x0040 /* Enable Abort Acknowledge Interrupt */
-#define RMLIM 0x0080 /* Enable RX Message Lost Interrupt */
-#define UCEIM 0x0100 /* Enable Universal Counter Overflow Interrupt */
-#define EXTIM 0x0200 /* Enable External Trigger Output Interrupt */
-#define ADIM 0x0400 /* Enable Access Denied Interrupt */
-
-/* CAN_GIS Masks */
-#define EWTIS 0x0001 /* TX Error Count IRQ Status */
-#define EWRIS 0x0002 /* RX Error Count IRQ Status */
-#define EPIS 0x0004 /* Error-Passive Mode IRQ Status */
-#define BOIS 0x0008 /* Bus Off IRQ Status */
-#define WUIS 0x0010 /* Wake-Up IRQ Status */
-#define UIAIS 0x0020 /* Access To Unimplemented Address IRQ Status */
-#define AAIS 0x0040 /* Abort Acknowledge IRQ Status */
-#define RMLIS 0x0080 /* RX Message Lost IRQ Status */
-#define UCEIS 0x0100 /* Universal Counter Overflow IRQ Status */
-#define EXTIS 0x0200 /* External Trigger Output IRQ Status */
-#define ADIS 0x0400 /* Access Denied IRQ Status */
-
-/* CAN_GIF Masks */
-#define EWTIF 0x0001 /* TX Error Count IRQ Flag */
-#define EWRIF 0x0002 /* RX Error Count IRQ Flag */
-#define EPIF 0x0004 /* Error-Passive Mode IRQ Flag */
-#define BOIF 0x0008 /* Bus Off IRQ Flag */
-#define WUIF 0x0010 /* Wake-Up IRQ Flag */
-#define UIAIF 0x0020 /* Access To Unimplemented Address IRQ Flag */
-#define AAIF 0x0040 /* Abort Acknowledge IRQ Flag */
-#define RMLIF 0x0080 /* RX Message Lost IRQ Flag */
-#define UCEIF 0x0100 /* Universal Counter Overflow IRQ Flag */
-#define EXTIF 0x0200 /* External Trigger Output IRQ Flag */
-#define ADIF 0x0400 /* Access Denied IRQ Flag */
-
-/* CAN_UCCNF Masks */
-#define UCCNF 0x000F /* Universal Counter Mode */
-#define UC_STAMP 0x0001 /* Timestamp Mode */
-#define UC_WDOG 0x0002 /* Watchdog Mode */
-#define UC_AUTOTX 0x0003 /* Auto-Transmit Mode */
-#define UC_ERROR 0x0006 /* CAN Error Frame Count */
-#define UC_OVER 0x0007 /* CAN Overload Frame Count */
-#define UC_LOST 0x0008 /* Arbitration Lost During TX Count */
-#define UC_AA 0x0009 /* TX Abort Count */
-#define UC_TA 0x000A /* TX Successful Count */
-#define UC_REJECT 0x000B /* RX Message Rejected Count */
-#define UC_RML 0x000C /* RX Message Lost Count */
-#define UC_RX 0x000D /* Total Successful RX Messages Count */
-#define UC_RMP 0x000E /* Successful RX W/Matching ID Count */
-#define UC_ALL 0x000F /* Correct Message On CAN Bus Line Count */
-#define UCRC 0x0020 /* Universal Counter Reload/Clear */
-#define UCCT 0x0040 /* Universal Counter CAN Trigger */
-#define UCE 0x0080 /* Universal Counter Enable */
-
-/* CAN_ESR Masks */
-#define ACKE 0x0004 /* Acknowledge Error */
-#define SER 0x0008 /* Stuff Error */
-#define CRCE 0x0010 /* CRC Error */
-#define SA0 0x0020 /* Stuck At Dominant Error */
-#define BEF 0x0040 /* Bit Error Flag */
-#define FER 0x0080 /* Form Error Flag */
-
-/* CAN_EWR Masks */
-#define EWLREC 0x00FF /* RX Error Count Limit (For EWRIS) */
-#define EWLTEC 0xFF00 /* TX Error Count Limit (For EWTIS) */
-
-
-/* ************ ADC Controller Module (ACM) MASKS ***************/
-
-/* Bit masks for ACM_CTL */
-#define ACM_EN 0x0001
-#define ACM_TMR0_EN 0x0002
-#define ACM_TMR1_EN 0x0004
-#define ACM_TRG_SEL0 0x0018
-#define ACM_TRG_SEL1 0x0060
-#define ACM_TRG_POL0 0x0080
-#define ACM_TRG_POL1 0x0100
-#define ACM_CS_POL 0x0200
-#define ACM_CLK_POL 0x0400
-#define ACM_EPS 0xC000
-
-/* Bit masks for ACM_STAT */
-#define ACM_BSY 0x0001
-#define ACM_EMISS 0x0002
-#define ACM_ECOM 0x0004
-#define ACM_CEVNT 0x0078
-
-/* Bit masks for ACM_ES */
-#define ACM_ES0 0x0001
-#define ACM_ES1 0x0002
-#define ACM_ES2 0x0004
-#define ACM_ES3 0x0008
-#define ACM_ES4 0x0010
-#define ACM_ES5 0x0020
-#define ACM_ES6 0x0040
-#define ACM_ES7 0x0080
-#define ACM_ES8 0x0100
-#define ACM_ES9 0x0200
-#define ACM_ES10 0x0400
-#define ACM_ES11 0x0800
-#define ACM_ES12 0x1000
-#define ACM_ES13 0x2000
-#define ACM_ES14 0x4000
-#define ACM_ES15 0x8000
-
-/* Bit masks for ACM_IMSK */
-#define ACM_IE0 0x0001
-#define ACM_IE1 0x0002
-#define ACM_IE2 0x0004
-#define ACM_IE3 0x0008
-#define ACM_IE4 0x0010
-#define ACM_IE5 0x0020
-#define ACM_IE6 0x0040
-#define ACM_IE7 0x0080
-#define ACM_IE8 0x0100
-#define ACM_IE9 0x0200
-#define ACM_IE10 0x0400
-#define ACM_IE11 0x0800
-#define ACM_IE12 0x1000
-#define ACM_IE13 0x2000
-#define ACM_IE14 0x4000
-#define ACM_IE15 0x8000
-
-/* Bit masks for ACM_MS */
-#define ACM_EM0 0x0001
-#define ACM_EM1 0x0002
-#define ACM_EM2 0x0004
-#define ACM_EM3 0x0008
-#define ACM_EM4 0x0010
-#define ACM_EM5 0x0020
-#define ACM_EM6 0x0040
-#define ACM_EM7 0x0080
-#define ACM_EM8 0x0100
-#define ACM_EM9 0x0200
-#define ACM_EM10 0x0400
-#define ACM_EM11 0x0800
-#define ACM_EM12 0x1000
-#define ACM_EM13 0x2000
-#define ACM_EM14 0x4000
-#define ACM_EM15 0x8000
-
-/* Bit masks for ACM_EMSK */
-#define ACM_MIE0 0x0001
-#define ACM_MIE1 0x0002
-#define ACM_MIE2 0x0004
-#define ACM_MIE3 0x0008
-#define ACM_MIE4 0x0010
-#define ACM_MIE5 0x0020
-#define ACM_MIE6 0x0040
-#define ACM_MIE7 0x0080
-#define ACM_MIE8 0x0100
-#define ACM_MIE9 0x0200
-#define ACM_MIE10 0x0400
-#define ACM_MIE11 0x0800
-#define ACM_MIE12 0x1000
-#define ACM_MIE13 0x2000
-#define ACM_MIE14 0x4000
-#define ACM_MIE15 0x8000
-
-/* Bit masks for ACM_ER0 & ACM_ER1 */
-#define ACM_EVNT_EN 0x0001
-#define ACM_EVNT_PF 0x003E
-
-/* Bit masks for ACM_ET0 & ACM_ET1 */
-#define ACM_EVNT_TIME 0xFFFFFFFF
-
-/* Bit masks for ACM_TC0 */
-#define ACM_CLK_DIV 0x00FF
-#define ACM_SC 0xFF00
-
-/* Bit masks for ACM_TC1 */
-#define ACM_CSW 0x00FF
-#define ACM_HC 0x0F00
-#define ACM_ZC 0xF000
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF50x_H */
diff --git a/libgloss/bfin/include/defBF512.h b/libgloss/bfin/include/defBF512.h
deleted file mode 100644
index 183624b..0000000
--- a/libgloss/bfin/include/defBF512.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF512_H
-#define _DEF_BF512_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF512 */
-
-/* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <defBF51x_base.h>
-
-#endif /* _DEF_BF512_H */
diff --git a/libgloss/bfin/include/defBF514.h b/libgloss/bfin/include/defBF514.h
deleted file mode 100644
index 36bf2e9..0000000
--- a/libgloss/bfin/include/defBF514.h
+++ /dev/null
@@ -1,490 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF514_H
-#define _DEF_BF514_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF514 */
-
-/* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <defBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"macros violate rule 19.4")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF514 that are not in the common header */
-
-/* RSI Registers */
-
-#define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PWR_CTL RSI_PWR_CONTROL /* SDH Power Control */
-#define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CLK_CTL RSI_CLK_CONTROL /* SDH Clock Control */
-#define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_ARGUMENT RSI_ARGUMENT /* SDH Argument */
-#define RSI_COMMAND 0xFFC0380C /* RSI Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_COMMAND RSI_COMMAND /* SDH Command */
-#define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESP_CMD RSI_RESP_CMD /* SDH Response Command */
-#define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE0 RSI_RESPONSE0 /* SDH Response0 */
-#define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE1 RSI_RESPONSE1 /* SDH Response1 */
-#define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE2 RSI_RESPONSE2 /* SDH Response2 */
-#define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE3 RSI_RESPONSE3 /* SDH Response3 */
-#define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_TIMER RSI_DATA_TIMER /* SDH Data Timer */
-#define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_LGTH RSI_DATA_LGTH /* SDH Data Length */
-#define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CTL RSI_DATA_CONTROL /* SDH Data Control */
-#define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CNT RSI_DATA_CNT /* SDH Data Counter */
-#define RSI_STATUS 0xFFC03834 /* RSI Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS RSI_STATUS /* SDH Status */
-#define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS_CLR RSI_STATUSCL /* SDH Status Clear */
-#define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK0 RSI_MASK0 /* SDH Interrupt0 Mask */
-#define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK1 RSI_MASK1 /* SDH Interrupt1 Mask */
-#define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO_CNT RSI_FIFO_CNT /* SDH FIFO Counter */
-#define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */
-#define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO RSI_FIFO /* SDH Data FIFO */
-#define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_STATUS RSI_ESTAT /* SDH Exception Status */
-#define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_MASK RSI_EMASK /* SDH Exception Mask */
-#define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CFG RSI_CONFIG /* SDH Configuration */
-#define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RD_WAIT_EN RSI_RD_WAIT_EN /* SDH Read Wait Enable */
-#define RSI_PID0 0xFFC038D0 /* RSI Peripheral ID Register 0 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID0 RSI_PID0 /* SDH Peripheral Identification0 */
-#define RSI_PID1 0xFFC038D4 /* RSI Peripheral ID Register 1 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID1 RSI_PID1 /* SDH Peripheral Identification1 */
-#define RSI_PID2 0xFFC038D8 /* RSI Peripheral ID Register 2 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID2 RSI_PID2 /* SDH Peripheral Identification2 */
-#define RSI_PID3 0xFFC038DC /* RSI Peripheral ID Register 3 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID3 RSI_PID3 /* SDH Peripheral Identification3 */
-/* RSI Registers */
-
-
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for RSI_PWR_CONTROL */
-#define PWR_ON 0x3 /* Power On */
-#define RSI_CMD_OD 0x40 /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_CMD_OD RSI_CMD_OD /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CMD_OD 0x0
-/* legacy bit mask (below) provided for backwards code compatibility */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define ROD_CTL 0x80
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nROD_CTL 0x80
-
-
-/* Bit masks for RSI_CLK_CONTROL */
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_EN 0x100 /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLK_E CLK_EN /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLK_E 0x0
-#define PWR_SV_EN 0x200 /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PWR_SV_E PWR_SV_EN /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKDIV_BYPASS 0x0
-#define BUS_MODE 0x1800 /* Bus width selection */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define WIDE_BUS 0x0800 /* Wide Bus Mode Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nWIDE_BUS 0x0
-
-
-/* Bit masks for RSI_COMMAND */
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP_EN 0x40 /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_RSP CMD_RSP_EN /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RSP 0x0
-#define CMD_LRSP_EN 0x80 /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_L_RSP CMD_LRSP_EN /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_EN 0x100 /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_INT_E CMD_INT_EN /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_EN 0x200 /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_PEND_E CMD_PEND_EN /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_PEND_E 0x0
-#define CMD_EN 0x400 /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_E CMD_EN /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_E 0x0
-
-
-/* Bit masks for RSI_RESP_CMD */
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for RSI_DATA_LGTH */
-#define DATA_LENGTH 0xffff /* Data Length */
-
-
-/* Bit masks for RSI_DATA_CONTROL */
-#define DATA_EN 0x1 /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_E DATA_EN /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_E 0x0
-#define DATA_DIR 0x2 /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DIR DATA_DIR /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DIR 0x0
-#define DATA_MODE 0x4 /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_MODE DATA_MODE /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_MODE 0x0
-#define DATA_DMA_EN 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DMA_E 0x0
-#define DATA_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-#define CEATA_EN 0x100 /* CE-ATA operation mode enable */
-#define CEATA_CCS_EN 0x200 /* CE-ATA CCS mode enable */
-
-/* Bit masks for RSI_DATA_CNT */
-#define DATA_COUNT 0xffff /* Data Count */
-
-/* Bit masks for RSI_STATUS */
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for RSI_STATCL */
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for RSI_MASKx */
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for RSI_FIFO_CNT */
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for RSI_CEATA_CONTROL */
-#define CEATA_TX_CCSD 0x1 /* Send CE-ATA CCSD sequence */
-
-/* Bit masks for RSI_ESTAT */
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CARD_DET 0x0
-#define CEATA_INT_DET 0x20
-
-/* Bit masks for RSI_EMASK */
-#define SDIO_INT_DET_MASK 0x2 /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SDIO_MSK SDIO_INT_DET_MASK /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_MSK 0x0
-#define SD_CARD_DET_MASK 0x10 /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SCD_MASK SD_CARD_DET_MASK /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSCD_MSK 0x0
-#define CEATA_INT_DET_MASK 0x20
-
-
-/* Bit masks for RSI_CFG */
-/* Left in for backwards compatibility */
-#define RSI_CLK_EN 0x1
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLKS_EN RSI_CLK_EN /* Clocks Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKS_EN 0x0
-#define SDIO4_EN 0x4 /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD4E SDIO4_EN /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD4E 0x0
-#define MW_EN 0x8 /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define MWE MW_EN /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nMWE 0x0
-#define RSI_RST 0x10 /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_RST RSI_RST /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_RST 0x0
-#define PU_DAT 0x20 /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT PU_DAT /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT 0x0
-#define PU_DAT3 0x40 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT3 PU_DAT3 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT3 0x0
-#define PD_DAT3 0x80 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PD_SDDAT3 PD_DAT3 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPD_SDDAT3 0x0
-
-
-/* Bit masks for RSI_RD_WAIT_EN */
-#define SDIO_RWR 0x1 /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define RWR SDIO_RWR /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRWR 0x0
-
-/* Bit masks for RSI_PIDx */
-#define RSI_PID 0xff /* RSI Peripheral ID */
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF514_H */
diff --git a/libgloss/bfin/include/defBF516.h b/libgloss/bfin/include/defBF516.h
deleted file mode 100644
index 096bb48..0000000
--- a/libgloss/bfin/include/defBF516.h
+++ /dev/null
@@ -1,936 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF516_H
-#define _DEF_BF516_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF516 */
-
-/* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <defBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"macros not strictly following 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF516 that are not in the common header */
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */
-#define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */
-#define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */
-#define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */
-#define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */
-#define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */
-#define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */
-#define EMAC_FLC 0xFFC0301C /* Flow Control Register */
-#define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */
-#define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */
-#define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */
-#define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */
-#define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */
-#define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */
-#define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */
-#define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */
-#define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */
-#define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */
-#define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */
-
-#define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */
-#define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */
-#define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */
-#define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */
-#define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */
-#define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */
-#define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */
-#define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */
-
-#define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */
-#define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */
-#define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */
-#define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */
-#define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */
-
-#define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */
-#define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */
-#define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */
-#define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */
-#define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */
-#define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */
-#define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */
-#define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */
-#define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */
-#define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */
-#define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */
-#define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */
-#define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */
-#define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */
-#define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */
-#define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */
-#define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */
-#define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */
-#define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */
-#define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */
-#define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */
-#define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */
-#define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */
-#define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */
-#define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */
-#define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */
-#define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */
-#define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */
-#define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */
-#define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */
-#define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */
-#define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */
-#define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */
-#define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */
-#define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */
-#define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */
-#define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */
-
-/* Listing for IEEE-Supported Count Registers */
-
-#define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */
-#define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */
-#define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */
-#define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */
-#define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */
-#define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */
-#define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */
-#define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */
-#define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */
-#define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */
-#define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */
-#define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */
-#define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */
-#define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */
-#define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */
-#define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */
-#define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */
-#define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */
-#define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */
-#define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */
-#define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */
-#define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */
-#define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */
-#define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */
-#define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */
-#define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */
-#define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */
-#define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */
-#define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */
-#define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */
-#define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */
-#define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */
-#define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */
-#define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */
-#define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */
-
-
-/* RSI Registers */
-
-#define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PWR_CTL RSI_PWR_CONTROL /* SDH Power Control */
-#define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CLK_CTL RSI_CLK_CONTROL /* SDH Clock Control */
-#define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_ARGUMENT RSI_ARGUMENT /* SDH Argument */
-#define RSI_COMMAND 0xFFC0380C /* RSI Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_COMMAND RSI_COMMAND /* SDH Command */
-#define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESP_CMD RSI_RESP_CMD /* SDH Response Command */
-#define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE0 RSI_RESPONSE0 /* SDH Response0 */
-#define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE1 RSI_RESPONSE1 /* SDH Response1 */
-#define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE2 RSI_RESPONSE2 /* SDH Response2 */
-#define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE3 RSI_RESPONSE3 /* SDH Response3 */
-#define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_TIMER RSI_DATA_TIMER /* SDH Data Timer */
-#define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_LGTH RSI_DATA_LGTH /* SDH Data Length */
-#define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CTL RSI_DATA_CONTROL /* SDH Data Control */
-#define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CNT RSI_DATA_CNT /* SDH Data Counter */
-#define RSI_STATUS 0xFFC03834 /* RSI Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS RSI_STATUS /* SDH Status */
-#define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS_CLR RSI_STATUSCL /* SDH Status Clear */
-#define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK0 RSI_MASK0 /* SDH Interrupt0 Mask */
-#define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK1 RSI_MASK1 /* SDH Interrupt1 Mask */
-#define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO_CNT RSI_FIFO_CNT /* SDH FIFO Counter */
-#define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */
-#define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO RSI_FIFO /* SDH Data FIFO */
-#define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_STATUS RSI_ESTAT /* SDH Exception Status */
-#define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_MASK RSI_EMASK /* SDH Exception Mask */
-#define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CFG RSI_CONFIG /* SDH Configuration */
-#define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RD_WAIT_EN RSI_RD_WAIT_EN /* SDH Read Wait Enable */
-#define RSI_PID0 0xFFC038D0 /* RSI Peripheral ID Register 0 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID0 RSI_PID0 /* SDH Peripheral Identification0 */
-#define RSI_PID1 0xFFC038D4 /* RSI Peripheral ID Register 1 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID1 RSI_PID1 /* SDH Peripheral Identification1 */
-#define RSI_PID2 0xFFC038D8 /* RSI Peripheral ID Register 2 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID2 RSI_PID2 /* SDH Peripheral Identification2 */
-#define RSI_PID3 0xFFC038DC /* RSI Peripheral ID Register 3 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID3 RSI_PID3 /* SDH Peripheral Identification3 */
-/* RSI Registers */
-
-
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-
-/************************ ETHERNET 10/100 CONTROLLER MASKS ************************/
-
-/* EMAC_OPMODE Masks */
-
-#define RE 0x00000001 /* Receiver Enable */
-#define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */
-#define HU 0x00000010 /* Hash Filter Unicast Address */
-#define HM 0x00000020 /* Hash Filter Multicast Address */
-#define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */
-#define PR 0x00000080 /* Promiscuous Mode Enable */
-#define IFE 0x00000100 /* Inverse Filtering Enable */
-#define DBF 0x00000200 /* Disable Broadcast Frame Reception */
-#define PBF 0x00000400 /* Pass Bad Frames Enable */
-#define PSF 0x00000800 /* Pass Short Frames Enable */
-#define RAF 0x00001000 /* Receive-All Mode */
-#define TE 0x00010000 /* Transmitter Enable */
-#define DTXPAD 0x00020000 /* Disable Automatic TX Padding */
-#define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */
-#define DC 0x00080000 /* Deferral Check */
-#define BOLMT 0x00300000 /* Back-Off Limit */
-#define BOLMT_10 0x00000000 /* 10-bit range */
-#define BOLMT_8 0x00100000 /* 8-bit range */
-#define BOLMT_4 0x00200000 /* 4-bit range */
-#define BOLMT_1 0x00300000 /* 1-bit range */
-#define DRTY 0x00400000 /* Disable TX Retry On Collision */
-#define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */
-#define RMII 0x01000000 /* RMII/MII* Mode */
-#define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */
-#define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */
-#define LB 0x08000000 /* Internal Loopback Enable */
-#define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */
-
-/* EMAC_STAADD Masks */
-
-#define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */
-#define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */
-#define STADISPRE 0x00000004 /* Disable Preamble Generation */
-#define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */
-#define REGAD 0x000007C0 /* STA Register Address */
-#define PHYAD 0x0000F800 /* PHY Device Address */
-
-#ifdef _MISRA_RULES
-#define SET_REGAD(x) (((x)&0x1Fu)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1Fu)<< 11 ) /* Set PHY Device Address */
-#else
-#define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */
-#endif /* _MISRA_RULES */
-
-/* EMAC_STADAT Mask */
-
-#define STADATA 0x0000FFFF /* Station Management Data */
-
-/* EMAC_FLC Masks */
-
-#define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */
-#define FLCE 0x00000002 /* Flow Control Enable */
-#define PCF 0x00000004 /* Pass Control Frames */
-#define BKPRSEN 0x00000008 /* Enable Backpressure */
-#define FLCPAUSE 0xFFFF0000 /* Pause Time */
-
-#ifdef _MISRA_RULES
-#define SET_FLCPAUSE(x) (((x)&0xFFFFu)<< 16) /* Set Pause Time */
-#else
-#define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_CTL Masks */
-
-#define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */
-#define MPKE 0x00000002 /* Magic Packet Enable */
-#define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */
-#define GUWKE 0x00000008 /* Global Unicast Wake Enable */
-#define MPKS 0x00000020 /* Magic Packet Received Status */
-#define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */
-
-/* EMAC_WKUP_FFCMD Masks */
-
-#define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */
-#define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */
-#define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */
-#define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */
-#define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */
-#define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */
-#define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */
-#define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */
-
-/* EMAC_WKUP_FFOFF Masks */
-
-#define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */
-#define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */
-#define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */
-#define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_OFF(x) (((x)&0xFFu)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFFu)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFFu)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFFu)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#else
-#define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#endif /* _MISRA_RULES */
-
-/* Set ALL Offsets */
-#define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3)))
-
-/* EMAC_WKUP_FFCRC0 Masks */
-
-#define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */
-#define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#else
-#define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_FFCRC1 Masks */
-
-#define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */
-#define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF2_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#else
-#define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSCTL Masks */
-
-#define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */
-#define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */
-#define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */
-#define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */
-
-#ifdef _MISRA_RULES
-#define SET_MDCDIV(x) (((x)&0x3Fu)<< 8) /* Set MDC Clock Divisor */
-#else
-#define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSTAT Masks */
-
-#define PHYINT 0x00000001 /* PHY_INT Interrupt Status */
-#define MMCINT 0x00000002 /* MMC Counter Interrupt Status */
-#define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */
-#define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */
-#define WAKEDET 0x00000010 /* Wake-Up Detected Status */
-#define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */
-#define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */
-#define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */
-
-/* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */
-
-#define RX_FRLEN 0x000007FF /* Frame Length In Bytes */
-#define RX_COMP 0x00001000 /* RX Frame Complete */
-#define RX_OK 0x00002000 /* RX Frame Received With No Errors */
-#define RX_LONG 0x00004000 /* RX Frame Too Long Error */
-#define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */
-#define RX_CRC 0x00010000 /* RX Frame CRC Error */
-#define RX_LEN 0x00020000 /* RX Frame Length Error */
-#define RX_FRAG 0x00040000 /* RX Frame Fragment Error */
-#define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */
-#define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */
-#define RX_PHY 0x00200000 /* RX Frame PHY Error */
-#define RX_LATE 0x00400000 /* RX Frame Late Collision Error */
-#define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */
-#define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */
-#define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */
-#define RX_CTL 0x04000000 /* RX Control Frame Indicator */
-#define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */
-#define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */
-#define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */
-#define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */
-#define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */
-
-/* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */
-
-#define TX_COMP 0x00000001 /* TX Frame Complete */
-#define TX_OK 0x00000002 /* TX Frame Sent With No Errors */
-#define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */
-#define TX_LATE 0x00000008 /* TX Frame Late Collision Error */
-#define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */
-#define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */
-#define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */
-#define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */
-#define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */
-#define TX_CCNT 0x00000F00 /* TX Frame Collision Count */
-#define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */
-#define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */
-#define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */
-#define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */
-#define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */
-
-/* EMAC_MMC_CTL Masks */
-#define RSTC 0x00000001 /* Reset All Counters */
-#define CROLL 0x00000002 /* Counter Roll-Over Enable */
-#define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */
-#define MMCE 0x00000008 /* Enable MMC Counter Operation */
-
-/* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */
-#define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */
-#define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */
-#define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */
-#define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */
-#define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */
-#define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */
-#define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */
-#define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */
-#define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */
-#define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */
-#define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */
-#define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */
-#define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */
-#define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */
-#define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */
-#define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */
-#define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */
-#define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */
-#define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */
-#define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */
-#define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */
-#define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */
-#define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */
-#define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */
-
-/* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */
-
-#define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */
-#define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */
-#define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */
-#define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */
-#define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */
-#define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */
-#define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */
-#define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */
-#define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */
-#define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */
-#define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */
-#define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */
-#define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */
-#define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */
-#define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */
-#define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */
-#define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */
-#define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */
-#define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */
-#define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */
-#define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */
-#define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */
-#define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */
-
-
-/* Bit masks for EMAC_PTP_CTL */
-
-#define EMAC_PTP_CTL_EN 0x1 /* Block Enable */
-#define EMAC_PTP_CTL_TL 0x2 /* Time Stamp Lock */
-#define EMAC_PTP_CTL_CKS 0xC /* Clock source for the PTP_TSYNC block */
-#define EMAC_PTP_CTL_ASEN 0x10 /* Auxiliary Snapshot Enable */
-#define EMAC_PTP_CTL_CKDIV 0x60 /* Divider for the selected PTP_CLK output */
-#define EMAC_PTP_CTL_PPSEN 0x80 /* Pulse Per Second (PPS) Enable */
-#define EMAC_PTP_CTL_EFTM 0x100 /* Ethernet Frame type field compare mask */
-#define EMAC_PTP_CTL_IPVM 0x200 /* IP Version field compare mask */
-#define EMAC_PTP_CTL_IPTM 0x400 /* IP Type Frame field (Layer 4 protocol) compare mask */
-#define EMAC_PTP_CTL_UDPEM 0x800 /* UDP Event port field compare mask */
-#define EMAC_PTP_CTL_PTPCM 0x1000 /* PTP Control field compare mask */
-#define EMAC_PTP_CTL_CKOEN 0x2000 /* Clock output Enable */
-
-/* Bit masks for EMAC_PTP_IE */
-
-#define EMAC_PTP_IE_ALIE 0x1 /* Alarm Feature and Interrupt Enable */
-#define EMAC_PTP_IE_RXEIE 0x2 /* Receive Event Interrupt Enable */
-#define EMAC_PTP_IE_RXGIE 0x4 /* Receive General Interrupt Enable */
-#define EMAC_PTP_IE_TXIE 0x8 /* Transmit Interrupt Enable */
-#define EMAC_PTP_IE_TXOVE 0x10 /* Transmit Overrun Error Interrupt Enable */
-#define EMAC_PTP_IE_RXOVE 0x20 /* Receive Overrun Error Interrupt Enable */
-#define EMAC_PTP_IE_ASIE 0x40 /* Auxiliary Snapshot Interrupt Enable */
-
-/* Bit masks for EMAC_PTP_ISTAT */
-
-#define EMAC_PTP_ISTAT_ALS 0x1 /* Alarm Status */
-#define EMAC_PTP_ISTAT_RXEL 0x2 /* Receive Event Interrupt Locked */
-#define EMAC_PTP_ISTAT_RXGL 0x4 /* Receive General Interrupt Locked */
-#define EMAC_PTP_ISTAT_TXTL 0x8 /* Transmit Snapshot Locked */
-#define EMAC_PTP_ISTAT_RXOV 0x10 /* Receive Snapshot Overrun Status */
-#define EMAC_PTP_ISTAT_TXOV 0x20 /* Transmit snapshot Overrun Status */
-#define EMAC_PTP_ISTAT_ASL 0x40 /* Auxiliary Snapshot Interrupt Status */
-
-
-/* Bit masks for RSI_PWR_CONTROL */
-#define PWR_ON 0x3 /* Power On */
-#define RSI_CMD_OD 0x40 /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_CMD_OD RSI_CMD_OD /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CMD_OD 0x0
-/* legacy bit mask (below) provided for backwards code compatibility */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define ROD_CTL 0x80
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nROD_CTL 0x80
-
-
-/* Bit masks for RSI_CLK_CONTROL */
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_EN 0x100 /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLK_E CLK_EN /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLK_E 0x0
-#define PWR_SV_EN 0x200 /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PWR_SV_E PWR_SV_EN /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKDIV_BYPASS 0x0
-#define BUS_MODE 0x1800 /* Bus width selection */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define WIDE_BUS 0x0800 /* Wide Bus Mode Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nWIDE_BUS 0x0
-
-
-/* Bit masks for RSI_COMMAND */
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP_EN 0x40 /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_RSP CMD_RSP_EN /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RSP 0x0
-#define CMD_LRSP_EN 0x80 /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_L_RSP CMD_LRSP_EN /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_EN 0x100 /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_INT_E CMD_INT_EN /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_EN 0x200 /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_PEND_E CMD_PEND_EN /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_PEND_E 0x0
-#define CMD_EN 0x400 /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_E CMD_EN /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_E 0x0
-
-
-/* Bit masks for RSI_RESP_CMD */
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for RSI_DATA_LGTH */
-#define DATA_LENGTH 0xffff /* Data Length */
-
-
-/* Bit masks for RSI_DATA_CONTROL */
-#define DATA_EN 0x1 /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_E DATA_EN /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_E 0x0
-#define DATA_DIR 0x2 /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DIR DATA_DIR /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DIR 0x0
-#define DATA_MODE 0x4 /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_MODE DATA_MODE /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_MODE 0x0
-#define DATA_DMA_EN 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DMA_E 0x0
-#define DATA_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-#define CEATA_EN 0x100 /* CE-ATA operation mode enable */
-#define CEATA_CCS_EN 0x200 /* CE-ATA CCS mode enable */
-
-/* Bit masks for RSI_DATA_CNT */
-#define DATA_COUNT 0xffff /* Data Count */
-
-/* Bit masks for RSI_STATUS */
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for RSI_STATCL */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for RSI_MASKx */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for RSI_FIFO_CNT */
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for RSI_CEATA_CONTROL */
-#define CEATA_TX_CCSD 0x1 /* Send CE-ATA CCSD sequence */
-
-/* Bit masks for RSI_ESTAT */
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CARD_DET 0x0
-#define CEATA_INT_DET 0x20
-
-/* Bit masks for RSI_EMASK */
-#define SDIO_INT_DET_MASK 0x2 /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SDIO_MSK SDIO_INT_DET_MASK /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_MSK 0x0
-#define SD_CARD_DET_MASK 0x10 /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SCD_MASK SD_CARD_DET_MASK /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSCD_MSK 0x0
-#define CEATA_INT_DET_MASK 0x20
-
-
-/* Bit masks for SDH_CFG */
-
-/* Left in for backwards compatibility */
-#define RSI_CLK_EN 0x1
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLKS_EN RSI_CLK_EN /* Clocks Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKS_EN 0x0
-#define SDIO4_EN 0x4 /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD4E SDIO4_EN /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD4E 0x0
-#define MW_EN 0x8 /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define MWE MW_EN /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nMWE 0x0
-#define RSI_RST 0x10 /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_RST RSI_RST /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_RST 0x0
-#define PU_DAT 0x20 /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT PU_DAT /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT 0x0
-#define PU_DAT3 0x40 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT3 PU_DAT3 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT3 0x0
-#define PD_DAT3 0x80 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PD_SDDAT3 PD_DAT3 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPD_SDDAT3 0x0
-
-
-/* Bit masks for RSI_RD_WAIT_EN */
-#define SDIO_RWR 0x1 /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define RWR SDIO_RWR /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRWR 0x0
-
-/* Bit masks for RSI_PIDx */
-#define RSI_PID 0xff /* RSI Peripheral ID */
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF516_H */
diff --git a/libgloss/bfin/include/defBF518.h b/libgloss/bfin/include/defBF518.h
deleted file mode 100644
index c618ea6..0000000
--- a/libgloss/bfin/include/defBF518.h
+++ /dev/null
@@ -1,962 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF518_H
-#define _DEF_BF518_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF518 */
-
-/* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
-#include <defBF51x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"macros not strictly following 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF518 that are not in the common header */
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */
-#define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */
-#define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */
-#define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */
-#define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */
-#define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */
-#define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */
-#define EMAC_FLC 0xFFC0301C /* Flow Control Register */
-#define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */
-#define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */
-#define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */
-#define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */
-#define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */
-#define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */
-#define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */
-#define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */
-#define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */
-#define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */
-#define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */
-
-#define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */
-#define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */
-#define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */
-#define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */
-#define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */
-#define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */
-#define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */
-#define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */
-
-#define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */
-#define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */
-#define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */
-#define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */
-#define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */
-
-/* EMAC PTP (IEEE 1588) */
-
-#define EMAC_PTP_CTL 0xffc030a0 /* PTP Block Control */
-#define EMAC_PTP_IE 0xffc030a4 /* PTP Block Interrupt Enable */
-#define EMAC_PTP_ISTAT 0xffc030a8 /* PTP Block Interrupt Status */
-#define EMAC_PTP_FOFF 0xffc030ac /* PTP Filter offset Register */
-#define EMAC_PTP_FV1 0xffc030b0 /* PTP Filter Value Register 1 */
-#define EMAC_PTP_FV2 0xffc030b4 /* PTP Filter Value Register 2 */
-#define EMAC_PTP_FV3 0xffc030b8 /* PTP Filter Value Register 3 */
-#define EMAC_PTP_ADDEND 0xffc030bc /* PTP Addend for Frequency Compensation */
-#define EMAC_PTP_ACCR 0xffc030c0 /* PTP Accumulator for Frequency Compensation */
-#define EMAC_PTP_OFFSET 0xffc030c4 /* PTP Time Offset Register */
-#define EMAC_PTP_TIMELO 0xffc030c8 /* PTP Precision Clock Time Low */
-#define EMAC_PTP_TIMEHI 0xffc030cc /* PTP Precision Clock Time High */
-#define EMAC_PTP_RXSNAPLO 0xffc030d0 /* PTP Receive Snapshot Register Low */
-#define EMAC_PTP_RXSNAPHI 0xffc030d4 /* PTP Receive Snapshot Register High */
-#define EMAC_PTP_TXSNAPLO 0xffc030d8 /* PTP Transmit Snapshot Register Low */
-#define EMAC_PTP_TXSNAPHI 0xffc030dc /* PTP Transmit Snapshot Register High */
-#define EMAC_PTP_ALARMLO 0xffc030e0 /* PTP Alarm time Low */
-#define EMAC_PTP_ALARMHI 0xffc030e4 /* PTP Alarm time High */
-#define EMAC_PTP_ID_OFF 0xffc030e8 /* PTP Capture ID offset register */
-#define EMAC_PTP_ID_SNAP 0xffc030ec /* PTP Capture ID register */
-#define EMAC_PTP_PPS_STARTLOP 0xffc030f0 /* PPS Start Time Low */
-#define EMAC_PTP_PPS_STARTHIP 0xffc030f4 /* PPS Start Time High */
-#define EMAC_PTP_PPS_PERIOD 0xffc030f8 /* PPS Count Register */
-
-#define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */
-#define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */
-#define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */
-#define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */
-#define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */
-#define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */
-#define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */
-#define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */
-#define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */
-#define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */
-#define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */
-#define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */
-#define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */
-#define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */
-#define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */
-#define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */
-#define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */
-#define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */
-#define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */
-#define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */
-#define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */
-#define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */
-#define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */
-#define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */
-#define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */
-#define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */
-#define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */
-#define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */
-#define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */
-#define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */
-#define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */
-#define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */
-#define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */
-#define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */
-#define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */
-#define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */
-#define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */
-
-/* Listing for IEEE-Supported Count Registers */
-
-#define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */
-#define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */
-#define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */
-#define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */
-#define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */
-#define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */
-#define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */
-#define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */
-#define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */
-#define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */
-#define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */
-#define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */
-#define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */
-#define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */
-#define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */
-#define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */
-#define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */
-#define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */
-#define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */
-#define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */
-#define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */
-#define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */
-#define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */
-#define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */
-#define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */
-#define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */
-#define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */
-#define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */
-#define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */
-#define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */
-#define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */
-#define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */
-#define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */
-#define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */
-#define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */
-
-
-/* RSI Registers */
-
-#define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PWR_CTL RSI_PWR_CONTROL /* SDH Power Control */
-#define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CLK_CTL RSI_CLK_CONTROL /* SDH Clock Control */
-#define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_ARGUMENT RSI_ARGUMENT /* SDH Argument */
-#define RSI_COMMAND 0xFFC0380C /* RSI Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_COMMAND RSI_COMMAND /* SDH Command */
-#define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESP_CMD RSI_RESP_CMD /* SDH Response Command */
-#define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE0 RSI_RESPONSE0 /* SDH Response0 */
-#define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE1 RSI_RESPONSE1 /* SDH Response1 */
-#define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE2 RSI_RESPONSE2 /* SDH Response2 */
-#define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RESPONSE3 RSI_RESPONSE3 /* SDH Response3 */
-#define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_TIMER RSI_DATA_TIMER /* SDH Data Timer */
-#define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_LGTH RSI_DATA_LGTH /* SDH Data Length */
-#define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CTL RSI_DATA_CONTROL /* SDH Data Control */
-#define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_DATA_CNT RSI_DATA_CNT /* SDH Data Counter */
-#define RSI_STATUS 0xFFC03834 /* RSI Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS RSI_STATUS /* SDH Status */
-#define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_STATUS_CLR RSI_STATUSCL /* SDH Status Clear */
-#define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK0 RSI_MASK0 /* SDH Interrupt0 Mask */
-#define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_MASK1 RSI_MASK1 /* SDH Interrupt1 Mask */
-#define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO_CNT RSI_FIFO_CNT /* SDH FIFO Counter */
-#define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */
-#define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_FIFO RSI_FIFO /* SDH Data FIFO */
-#define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_STATUS RSI_ESTAT /* SDH Exception Status */
-#define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_E_MASK RSI_EMASK /* SDH Exception Mask */
-#define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_CFG RSI_CONFIG /* SDH Configuration */
-#define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_RD_WAIT_EN RSI_RD_WAIT_EN /* SDH Read Wait Enable */
-#define RSI_PID0 0xFFC038D0 /* RSI Peripheral ID Register 0 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID0 RSI_PID0 /* SDH Peripheral Identification0 */
-#define RSI_PID1 0xFFC038D4 /* RSI Peripheral ID Register 1 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID1 RSI_PID1 /* SDH Peripheral Identification1 */
-#define RSI_PID2 0xFFC038D8 /* RSI Peripheral ID Register 2 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID2 RSI_PID2 /* SDH Peripheral Identification2 */
-#define RSI_PID3 0xFFC038DC /* RSI Peripheral ID Register 3 */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SDH_PID3 RSI_PID3 /* SDH Peripheral Identification3 */
-/* RSI Registers */
-
-
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-
-/************************ ETHERNET 10/100 CONTROLLER MASKS ************************/
-
-/* EMAC_OPMODE Masks */
-
-#define RE 0x00000001 /* Receiver Enable */
-#define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */
-#define HU 0x00000010 /* Hash Filter Unicast Address */
-#define HM 0x00000020 /* Hash Filter Multicast Address */
-#define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */
-#define PR 0x00000080 /* Promiscuous Mode Enable */
-#define IFE 0x00000100 /* Inverse Filtering Enable */
-#define DBF 0x00000200 /* Disable Broadcast Frame Reception */
-#define PBF 0x00000400 /* Pass Bad Frames Enable */
-#define PSF 0x00000800 /* Pass Short Frames Enable */
-#define RAF 0x00001000 /* Receive-All Mode */
-#define TE 0x00010000 /* Transmitter Enable */
-#define DTXPAD 0x00020000 /* Disable Automatic TX Padding */
-#define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */
-#define DC 0x00080000 /* Deferral Check */
-#define BOLMT 0x00300000 /* Back-Off Limit */
-#define BOLMT_10 0x00000000 /* 10-bit range */
-#define BOLMT_8 0x00100000 /* 8-bit range */
-#define BOLMT_4 0x00200000 /* 4-bit range */
-#define BOLMT_1 0x00300000 /* 1-bit range */
-#define DRTY 0x00400000 /* Disable TX Retry On Collision */
-#define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */
-#define RMII 0x01000000 /* RMII/MII* Mode */
-#define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */
-#define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */
-#define LB 0x08000000 /* Internal Loopback Enable */
-#define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */
-
-/* EMAC_STAADD Masks */
-
-#define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */
-#define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */
-#define STADISPRE 0x00000004 /* Disable Preamble Generation */
-#define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */
-#define REGAD 0x000007C0 /* STA Register Address */
-#define PHYAD 0x0000F800 /* PHY Device Address */
-
-#ifdef _MISRA_RULES
-#define SET_REGAD(x) (((x)&0x1Fu)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1Fu)<< 11 ) /* Set PHY Device Address */
-#else
-#define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */
-#endif /* _MISRA_RULES */
-
-/* EMAC_STADAT Mask */
-
-#define STADATA 0x0000FFFF /* Station Management Data */
-
-/* EMAC_FLC Masks */
-
-#define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */
-#define FLCE 0x00000002 /* Flow Control Enable */
-#define PCF 0x00000004 /* Pass Control Frames */
-#define BKPRSEN 0x00000008 /* Enable Backpressure */
-#define FLCPAUSE 0xFFFF0000 /* Pause Time */
-
-#ifdef _MISRA_RULES
-#define SET_FLCPAUSE(x) (((x)&0xFFFFu)<< 16) /* Set Pause Time */
-#else
-#define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_CTL Masks */
-
-#define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */
-#define MPKE 0x00000002 /* Magic Packet Enable */
-#define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */
-#define GUWKE 0x00000008 /* Global Unicast Wake Enable */
-#define MPKS 0x00000020 /* Magic Packet Received Status */
-#define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */
-
-/* EMAC_WKUP_FFCMD Masks */
-
-#define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */
-#define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */
-#define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */
-#define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */
-#define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */
-#define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */
-#define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */
-#define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */
-
-/* EMAC_WKUP_FFOFF Masks */
-
-#define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */
-#define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */
-#define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */
-#define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_OFF(x) (((x)&0xFFu)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFFu)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFFu)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFFu)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#else
-#define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#endif /* _MISRA_RULES */
-
-/* Set ALL Offsets */
-#define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3)))
-
-/* EMAC_WKUP_FFCRC0 Masks */
-
-#define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */
-#define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#else
-#define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_FFCRC1 Masks */
-
-#define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */
-#define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF2_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#else
-#define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSCTL Masks */
-
-#define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */
-#define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */
-#define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */
-#define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */
-
-#ifdef _MISRA_RULES
-#define SET_MDCDIV(x) (((x)&0x3Fu)<< 8) /* Set MDC Clock Divisor */
-#else
-#define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSTAT Masks */
-
-#define PHYINT 0x00000001 /* PHY_INT Interrupt Status */
-#define MMCINT 0x00000002 /* MMC Counter Interrupt Status */
-#define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */
-#define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */
-#define WAKEDET 0x00000010 /* Wake-Up Detected Status */
-#define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */
-#define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */
-#define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */
-
-/* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */
-
-#define RX_FRLEN 0x000007FF /* Frame Length In Bytes */
-#define RX_COMP 0x00001000 /* RX Frame Complete */
-#define RX_OK 0x00002000 /* RX Frame Received With No Errors */
-#define RX_LONG 0x00004000 /* RX Frame Too Long Error */
-#define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */
-#define RX_CRC 0x00010000 /* RX Frame CRC Error */
-#define RX_LEN 0x00020000 /* RX Frame Length Error */
-#define RX_FRAG 0x00040000 /* RX Frame Fragment Error */
-#define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */
-#define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */
-#define RX_PHY 0x00200000 /* RX Frame PHY Error */
-#define RX_LATE 0x00400000 /* RX Frame Late Collision Error */
-#define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */
-#define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */
-#define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */
-#define RX_CTL 0x04000000 /* RX Control Frame Indicator */
-#define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */
-#define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */
-#define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */
-#define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */
-#define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */
-
-/* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */
-
-#define TX_COMP 0x00000001 /* TX Frame Complete */
-#define TX_OK 0x00000002 /* TX Frame Sent With No Errors */
-#define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */
-#define TX_LATE 0x00000008 /* TX Frame Late Collision Error */
-#define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */
-#define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */
-#define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */
-#define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */
-#define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */
-#define TX_CCNT 0x00000F00 /* TX Frame Collision Count */
-#define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */
-#define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */
-#define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */
-#define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */
-#define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */
-
-/* EMAC_MMC_CTL Masks */
-#define RSTC 0x00000001 /* Reset All Counters */
-#define CROLL 0x00000002 /* Counter Roll-Over Enable */
-#define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */
-#define MMCE 0x00000008 /* Enable MMC Counter Operation */
-
-/* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */
-#define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */
-#define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */
-#define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */
-#define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */
-#define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */
-#define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */
-#define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */
-#define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */
-#define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */
-#define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */
-#define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */
-#define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */
-#define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */
-#define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */
-#define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */
-#define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */
-#define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */
-#define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */
-#define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */
-#define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */
-#define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */
-#define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */
-#define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */
-#define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */
-
-/* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */
-
-#define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */
-#define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */
-#define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */
-#define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */
-#define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */
-#define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */
-#define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */
-#define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */
-#define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */
-#define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */
-#define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */
-#define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */
-#define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */
-#define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */
-#define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */
-#define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */
-#define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */
-#define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */
-#define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */
-#define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */
-#define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */
-#define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */
-#define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */
-
-
-/* Bit masks for EMAC_PTP_CTL */
-
-#define EMAC_PTP_CTL_EN 0x1 /* Block Enable */
-#define EMAC_PTP_CTL_TL 0x2 /* Time Stamp Lock */
-#define EMAC_PTP_CTL_CKS 0xC /* Clock source for the PTP_TSYNC block */
-#define EMAC_PTP_CTL_ASEN 0x10 /* Auxiliary Snapshot Enable */
-#define EMAC_PTP_CTL_CKDIV 0x60 /* Divider for the selected PTP_CLK output */
-#define EMAC_PTP_CTL_PPSEN 0x80 /* Pulse Per Second (PPS) Enable */
-#define EMAC_PTP_CTL_EFTM 0x100 /* Ethernet Frame type field compare mask */
-#define EMAC_PTP_CTL_IPVM 0x200 /* IP Version field compare mask */
-#define EMAC_PTP_CTL_IPTM 0x400 /* IP Type Frame field (Layer 4 protocol) compare mask */
-#define EMAC_PTP_CTL_UDPEM 0x800 /* UDP Event port field compare mask */
-#define EMAC_PTP_CTL_PTPCM 0x1000 /* PTP Control field compare mask */
-#define EMAC_PTP_CTL_CKOEN 0x2000 /* Clock output Enable */
-
-/* Bit masks for EMAC_PTP_IE */
-
-#define EMAC_PTP_IE_ALIE 0x1 /* Alarm Feature and Interrupt Enable */
-#define EMAC_PTP_IE_RXEIE 0x2 /* Receive Event Interrupt Enable */
-#define EMAC_PTP_IE_RXGIE 0x4 /* Receive General Interrupt Enable */
-#define EMAC_PTP_IE_TXIE 0x8 /* Transmit Interrupt Enable */
-#define EMAC_PTP_IE_TXOVE 0x10 /* Transmit Overrun Error Interrupt Enable */
-#define EMAC_PTP_IE_RXOVE 0x20 /* Receive Overrun Error Interrupt Enable */
-#define EMAC_PTP_IE_ASIE 0x40 /* Auxiliary Snapshot Interrupt Enable */
-
-/* Bit masks for EMAC_PTP_ISTAT */
-
-#define EMAC_PTP_ISTAT_ALS 0x1 /* Alarm Status */
-#define EMAC_PTP_ISTAT_RXEL 0x2 /* Receive Event Interrupt Locked */
-#define EMAC_PTP_ISTAT_RXGL 0x4 /* Receive General Interrupt Locked */
-#define EMAC_PTP_ISTAT_TXTL 0x8 /* Transmit Snapshot Locked */
-#define EMAC_PTP_ISTAT_RXOV 0x10 /* Receive Snapshot Overrun Status */
-#define EMAC_PTP_ISTAT_TXOV 0x20 /* Transmit snapshot Overrun Status */
-#define EMAC_PTP_ISTAT_ASL 0x40 /* Auxiliary Snapshot Interrupt Status */
-
-
-/* Bit masks for RSI_PWR_CONTROL */
-#define PWR_ON 0x3 /* Power On */
-#define RSI_CMD_OD 0x40 /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_CMD_OD RSI_CMD_OD /* Open Drain Output */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CMD_OD 0x0
-/* legacy bit mask (below) provided for backwards code compatibility */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define ROD_CTL 0x80
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nROD_CTL 0x80
-
-
-/* Bit masks for RSI_CLK_CONTROL */
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_EN 0x100 /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLK_E CLK_EN /* MC_CLK Bus Clock Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLK_E 0x0
-#define PWR_SV_EN 0x200 /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PWR_SV_E PWR_SV_EN /* Power Save Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKDIV_BYPASS 0x0
-#define BUS_MODE 0x1800 /* Bus width selection */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define WIDE_BUS 0x0800 /* Wide Bus Mode Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nWIDE_BUS 0x0
-
-
-/* Bit masks for RSI_COMMAND */
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP_EN 0x40 /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_RSP CMD_RSP_EN /* Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RSP 0x0
-#define CMD_LRSP_EN 0x80 /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_L_RSP CMD_LRSP_EN /* Long Response */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_EN 0x100 /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_INT_E CMD_INT_EN /* Command Interrupt */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_EN 0x200 /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_PEND_E CMD_PEND_EN /* Command Pending */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_PEND_E 0x0
-#define CMD_EN 0x400 /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CMD_E CMD_EN /* Command Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_E 0x0
-
-
-/* Bit masks for RSI_RESP_CMD */
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for RSI_DATA_LGTH */
-#define DATA_LENGTH 0xffff /* Data Length */
-
-
-/* Bit masks for RSI_DATA_CONTROL */
-#define DATA_EN 0x1 /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_E DATA_EN /* Data Transfer Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_E 0x0
-#define DATA_DIR 0x2 /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DIR DATA_DIR /* Data Transfer Direction */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DIR 0x0
-#define DATA_MODE 0x4 /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_MODE DATA_MODE /* Data Transfer Mode */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_MODE 0x0
-#define DATA_DMA_EN 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDTX_DMA_E 0x0
-#define DATA_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-#define CEATA_EN 0x100 /* CE-ATA operation mode enable */
-#define CEATA_CCS_EN 0x200 /* CE-ATA CCS mode enable */
-
-/* Bit masks for RSI_DATA_CNT */
-#define DATA_COUNT 0xffff /* Data Count */
-
-/* Bit masks for RSI_STATUS */
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for RSI_STATCL */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for RSI_MASKx */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for RSI_FIFO_CNT */
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for RSI_CEATA_CONTROL */
-#define CEATA_TX_CCSD 0x1 /* Send CE-ATA CCSD sequence */
-
-/* Bit masks for RSI_ESTAT */
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_CARD_DET 0x0
-#define CEATA_INT_DET 0x20
-
-/* Bit masks for RSI_EMASK */
-#define SDIO_INT_DET_MASK 0x2 /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SDIO_MSK SDIO_INT_DET_MASK /* Mask SDIO Int Detected */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSDIO_MSK 0x0
-#define SD_CARD_DET_MASK 0x10 /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SCD_MASK SD_CARD_DET_MASK /* Mask Card Detect */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSCD_MSK 0x0
-#define CEATA_INT_DET_MASK 0x20
-
-
-/* Bit masks for SDH_CFG */
-
-/* Left in for backwards compatibility */
-#define RSI_CLK_EN 0x1
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define CLKS_EN RSI_CLK_EN /* Clocks Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nCLKS_EN 0x0
-#define SDIO4_EN 0x4 /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD4E SDIO4_EN /* SDIO 4-Bit Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD4E 0x0
-#define MW_EN 0x8 /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define MWE MW_EN /* Moving Window Enable */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nMWE 0x0
-#define RSI_RST 0x10 /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define SD_RST RSI_RST /* SDMMC Reset */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nSD_RST 0x0
-#define PU_DAT 0x20 /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT PU_DAT /* Pull-up SD_DAT */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT 0x0
-#define PU_DAT3 0x40 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PUP_SDDAT3 PU_DAT3 /* Pull-up SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPUP_SDDAT3 0x0
-#define PD_DAT3 0x80 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define PD_SDDAT3 PD_DAT3 /* Pull-down SD_DAT3 */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nPD_SDDAT3 0x0
-
-
-/* Bit masks for RSI_RD_WAIT_EN */
-#define SDIO_RWR 0x1 /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define RWR SDIO_RWR /* Read Wait Request */
-/* legacy bit mask (below) provided for backwards code compatibility */
-#define nRWR 0x0
-
-/* Bit masks for RSI_PIDx */
-#define RSI_PID 0xff /* RSI Peripheral ID */
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF518_H */
diff --git a/libgloss/bfin/include/defBF51x_base.h b/libgloss/bfin/include/defBF51x_base.h
deleted file mode 100644
index 2cc0697..0000000
--- a/libgloss/bfin/include/defBF51x_base.h
+++ /dev/null
@@ -1,2016 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF51x_base.h
-**
-** Copyright (C) 2007-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF51x peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _DEF_BF51X_H
-#define _DEF_BF51X_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-
-/* ************************************************************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF51x */
-/* ************************************************************************************************************** */
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control Register */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xFFC0000C /* PLL Status Register */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count Register */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register */
-#define SYSCR 0xFFC00104 /* System Configuration Register */
-
-#define SIC_IMASK0 0xFFC0010C /* Interrupt Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IMASK SIC_IMASK0
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_ISR0 0xFFC00120 /* Interrupt Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_ISR SIC_ISR0
-#define SIC_IWR0 0xFFC00124 /* Interrupt Wakeup Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IWR SIC_IWR0
-
-/* SIC Additions to ADSP-BF51x (0xFFC0014C - 0xFFC00162) */
-#define SIC_IMASK1 0xFFC0014C /* Interrupt Mask register of SIC2 */
-#define SIC_IAR4 0xFFC00150 /* Interrupt Assignment register4 */
-#define SIC_IAR5 0xFFC00154 /* Interrupt Assignment register5 */
-#define SIC_IAR6 0xFFC00158 /* Interrupt Assignment register6 */
-#define SIC_IAR7 0xFFC0015C /* Interrupt Assignment register7 */
-#define SIC_ISR1 0xFFC00160 /* Interrupt Statur register */
-#define SIC_IWR1 0xFFC00164 /* Interrupt Wakeup register */
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define RTC_STAT 0xFFC00300 /* RTC Status Register */
-#define RTC_ICTL 0xFFC00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xFFC00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xFFC0030C /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xFFC00310 /* RTC Alarm Time Register */
-#define RTC_FAST 0xFFC00314 /* RTC Prescaler Enable Register */
-#define RTC_PREN 0xFFC00314 /* RTC Prescaler Enable Alternate Macro */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_THR 0xFFC00400 /* Transmit Holding register */
-#define UART0_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART0_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC0040C /* Line Control Register */
-#define UART0_MCR 0xFFC00410 /* Modem Control Register */
-#define UART0_LSR 0xFFC00414 /* Line Status Register */
-#define UART0_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART0_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI0_CTL 0xFFC00500 /* SPI Control Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_CTL SPI0_CTL
-#define SPI0_FLG 0xFFC00504 /* SPI Flag register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_FLG SPI0_FLG
-#define SPI0_STAT 0xFFC00508 /* SPI Status register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_STAT SPI0_STAT
-#define SPI0_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_TDBR SPI0_TDBR
-#define SPI0_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_RDBR SPI0_RDBR
-#define SPI0_BAUD 0xFFC00514 /* SPI Baud rate Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_BAUD SPI0_BAUD
-#define SPI0_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SPI_SHADOW SPI0_SHADOW
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER3_CONFIG 0xFFC00630 /* Timer 3 Configuration Register */
-#define TIMER3_COUNTER 0xFFC00634 /* Timer 3 Counter Register */
-#define TIMER3_PERIOD 0xFFC00638 /* Timer 3 Period Register */
-#define TIMER3_WIDTH 0xFFC0063C /* Timer 3 Width Register */
-
-#define TIMER4_CONFIG 0xFFC00640 /* Timer 4 Configuration Register */
-#define TIMER4_COUNTER 0xFFC00644 /* Timer 4 Counter Register */
-#define TIMER4_PERIOD 0xFFC00648 /* Timer 4 Period Register */
-#define TIMER4_WIDTH 0xFFC0064C /* Timer 4 Width Register */
-
-#define TIMER5_CONFIG 0xFFC00650 /* Timer 5 Configuration Register */
-#define TIMER5_COUNTER 0xFFC00654 /* Timer 5 Counter Register */
-#define TIMER5_PERIOD 0xFFC00658 /* Timer 5 Period Register */
-#define TIMER5_WIDTH 0xFFC0065C /* Timer 5 Width Register */
-
-#define TIMER6_CONFIG 0xFFC00660 /* Timer 6 Configuration Register */
-#define TIMER6_COUNTER 0xFFC00664 /* Timer 6 Counter Register */
-#define TIMER6_PERIOD 0xFFC00668 /* Timer 6 Period Register */
-#define TIMER6_WIDTH 0xFFC0066C /* Timer 6 Width Register */
-
-#define TIMER7_CONFIG 0xFFC00670 /* Timer 7 Configuration Register */
-#define TIMER7_COUNTER 0xFFC00674 /* Timer 7 Counter Register */
-#define TIMER7_PERIOD 0xFFC00678 /* Timer 7 Period Register */
-#define TIMER7_WIDTH 0xFFC0067C /* Timer 7 Width Register */
-
-#define TIMER_ENABLE 0xFFC00680 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00684 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00688 /* Timer Status Register */
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define PORTFIO 0xFFC00700 /* Port F I/O Pin State Specify Register */
-#define PORTFIO_CLEAR 0xFFC00704 /* Port F I/O Peripheral Interrupt Clear Register */
-#define PORTFIO_SET 0xFFC00708 /* Port F I/O Peripheral Interrupt Set Register */
-#define PORTFIO_TOGGLE 0xFFC0070C /* Port F I/O Pin State Toggle Register */
-#define PORTFIO_MASKA 0xFFC00710 /* Port F I/O Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR 0xFFC00714 /* Port F I/O Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET 0xFFC00718 /* Port F I/O Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE 0xFFC0071C /* Port F I/O Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB 0xFFC00720 /* Port F I/O Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR 0xFFC00724 /* Port F I/O Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET 0xFFC00728 /* Port F I/O Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE 0xFFC0072C /* Port F I/O Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR 0xFFC00730 /* Port F I/O Direction Register */
-#define PORTFIO_POLAR 0xFFC00734 /* Port F I/O Source Polarity Register */
-#define PORTFIO_EDGE 0xFFC00738 /* Port F I/O Source Sensitivity Register */
-#define PORTFIO_BOTH 0xFFC0073C /* Port F I/O Set on BOTH Edges Register */
-#define PORTFIO_INEN 0xFFC00740 /* Port F I/O Input Enable Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define DMA8_NEXT_DESC_PTR 0xFFC00E00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC00E04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC00E08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC00E10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC00E14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC00E18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC00E1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC00E20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC00E24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC00E28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC00E2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC00E30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC00E38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC00E40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC00E44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC00E48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC00E50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC00E54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC00E58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC00E5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC00E60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC00E64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC00E68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC00E6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC00E70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC00E78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC00E80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC00E84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC00E88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC00E90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC00E94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC00E98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC00E9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC00EA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC00EA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC00EA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC00EAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC00EB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC00EB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC00EC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC00EC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC00EC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC00ED0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC00ED4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC00ED8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC00EDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC00EE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC00EE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC00EE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC00EEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC00EF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC00EF8 /* DMA Channel 11 Current Y Count Register */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00F04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xFFC00F08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xFFC00F10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00F14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xFFC00F18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00F1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00F20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register*/
-#define MDMA_D0_CURR_ADDR 0xFFC00F24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00F28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00F30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00F38 /* MemDMA Stream 0 Destination Current Y Count Register */
-
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00F44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xFFC00F48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xFFC00F50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00F54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xFFC00F58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00F5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00F60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00F64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00F68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C /* MemDMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00F70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00F78 /* MemDMA Stream 0 Source Current Y Count Register */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00F84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xFFC00F88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xFFC00F90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00F94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xFFC00F98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00F9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register*/
-#define MDMA_D1_CURR_ADDR 0xFFC00FA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00FA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00FB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00FC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xFFC00FC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xFFC00FD0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00FD4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xFFC00FD8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00FDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00FE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00FE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC /* MemDMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00FF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8 /* MemDMA Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define TWI_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI_CONTROL 0xFFC01404 /* TWI Control Register */
-#define TWI_SLAVE_CTL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI_MASTER_CTL 0xFFC01414 /* Master Mode Control Register */
-#define TWI_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI_INT_STAT 0xFFC01420 /* TWI Interrupt Status Register */
-#define TWI_INT_MASK 0xFFC01424 /* TWI Master Interrupt Mask Register */
-#define TWI_FIFO_CTL 0xFFC01428 /* FIFO Control Register */
-#define TWI_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define PORTGIO 0xFFC01500 /* Port G I/O Pin State Specify Register */
-#define PORTGIO_CLEAR 0xFFC01504 /* Port G I/O Peripheral Interrupt Clear Register */
-#define PORTGIO_SET 0xFFC01508 /* Port G I/O Peripheral Interrupt Set Register */
-#define PORTGIO_TOGGLE 0xFFC0150C /* Port G I/O Pin State Toggle Register */
-#define PORTGIO_MASKA 0xFFC01510 /* Port G I/O Mask State Specify Interrupt A Register */
-#define PORTGIO_MASKA_CLEAR 0xFFC01514 /* Port G I/O Mask Disable Interrupt A Register */
-#define PORTGIO_MASKA_SET 0xFFC01518 /* Port G I/O Mask Enable Interrupt A Register */
-#define PORTGIO_MASKA_TOGGLE 0xFFC0151C /* Port G I/O Mask Toggle Enable Interrupt A Register */
-#define PORTGIO_MASKB 0xFFC01520 /* Port G I/O Mask State Specify Interrupt B Register */
-#define PORTGIO_MASKB_CLEAR 0xFFC01524 /* Port G I/O Mask Disable Interrupt B Register */
-#define PORTGIO_MASKB_SET 0xFFC01528 /* Port G I/O Mask Enable Interrupt B Register */
-#define PORTGIO_MASKB_TOGGLE 0xFFC0152C /* Port G I/O Mask Toggle Enable Interrupt B Register */
-#define PORTGIO_DIR 0xFFC01530 /* Port G I/O Direction Register */
-#define PORTGIO_POLAR 0xFFC01534 /* Port G I/O Source Polarity Register */
-#define PORTGIO_EDGE 0xFFC01538 /* Port G I/O Source Sensitivity Register */
-#define PORTGIO_BOTH 0xFFC0153C /* Port G I/O Set on BOTH Edges Register */
-#define PORTGIO_INEN 0xFFC01540 /* Port G I/O Input Enable Register */
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define PORTHIO 0xFFC01700 /* Port H I/O Pin State Specify Register */
-#define PORTHIO_CLEAR 0xFFC01704 /* Port H I/O Peripheral Interrupt Clear Register */
-#define PORTHIO_SET 0xFFC01708 /* Port H I/O Peripheral Interrupt Set Register */
-#define PORTHIO_TOGGLE 0xFFC0170C /* Port H I/O Pin State Toggle Register */
-#define PORTHIO_MASKA 0xFFC01710 /* Port H I/O Mask State Specify Interrupt A Register */
-#define PORTHIO_MASKA_CLEAR 0xFFC01714 /* Port H I/O Mask Disable Interrupt A Register */
-#define PORTHIO_MASKA_SET 0xFFC01718 /* Port H I/O Mask Enable Interrupt A Register */
-#define PORTHIO_MASKA_TOGGLE 0xFFC0171C /* Port H I/O Mask Toggle Enable Interrupt A Register */
-#define PORTHIO_MASKB 0xFFC01720 /* Port H I/O Mask State Specify Interrupt B Register */
-#define PORTHIO_MASKB_CLEAR 0xFFC01724 /* Port H I/O Mask Disable Interrupt B Register */
-#define PORTHIO_MASKB_SET 0xFFC01728 /* Port H I/O Mask Enable Interrupt B Register */
-#define PORTHIO_MASKB_TOGGLE 0xFFC0172C /* Port H I/O Mask Toggle Enable Interrupt B Register */
-#define PORTHIO_DIR 0xFFC01730 /* Port H I/O Direction Register */
-#define PORTHIO_POLAR 0xFFC01734 /* Port H I/O Source Polarity Register */
-#define PORTHIO_EDGE 0xFFC01738 /* Port H I/O Source Sensitivity Register */
-#define PORTHIO_BOTH 0xFFC0173C /* Port H I/O Set on BOTH Edges Register */
-#define PORTHIO_INEN 0xFFC01740 /* Port H I/O Input Enable Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_THR 0xFFC02000 /* Transmit Holding register */
-#define UART1_RBR 0xFFC02000 /* Receive Buffer register */
-#define UART1_DLL 0xFFC02000 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC02004 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC02004 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC02008 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC0200C /* Line Control Register */
-#define UART1_MCR 0xFFC02010 /* Modem Control Register */
-#define UART1_LSR 0xFFC02014 /* Line Status Register */
-#define UART1_SCR 0xFFC0201C /* SCR Scratch Register */
-#define UART1_GCTL 0xFFC02024 /* Global Control Register */
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define PORTF_FER 0xFFC03200 /* Port F Function Enable Register (Alternate/Flag*) */
-#define PORTG_FER 0xFFC03204 /* Port G Function Enable Register (Alternate/Flag*) */
-#define PORTH_FER 0xFFC03208 /* Port H Function Enable Register (Alternate/Flag*) */
-
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-#define PORTF_MUX 0xFFC03210 /* Port F mux control */
-#define PORTG_MUX 0xFFC03214 /* Port G mux control */
-#define PORTH_MUX 0xFFC03218 /* Port H mux control */
-#define PORTF_DRIVE 0xFFC03220 /* Port F drive strength control */
-#define PORTG_DRIVE 0xFFC03224 /* Port G drive strength control */
-#define PORTH_DRIVE 0xFFC03228 /* Port H drive strength control */
-#define PORTF_HYSTERESIS 0xFFC03240 /* Port F Schmitt trigger control */
-#define PORTG_HYSTERESIS 0xFFC03244 /* Port G Schmitt trigger control */
-#define PORTH_HYSTERESIS 0xFFC03248 /* Port H Schmitt trigger control */
-#define NONGPIO_DRIVE 0xFFC03280 /* Misc Port drive strength control */
-#define NONGPIO_HYSTERESIS 0xFFC03288 /* Misc Port Schmitt Trigger control */
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define HMDMA0_CONTROL 0xFFC03300 /* Handshake MDMA0 Control Register */
-#define HMDMA0_ECINIT 0xFFC03304 /* HMDMA0 Initial Edge Count Register */
-#define HMDMA0_BCINIT 0xFFC03308 /* HMDMA0 Initial Block Count Register */
-#define HMDMA0_ECURGENT 0xFFC0330C /* HMDMA0 Urgent Edge Count Threshhold Register */
-#define HMDMA0_ECOVERFLOW 0xFFC03310 /* HMDMA0 Edge Count Overflow Interrupt Register */
-#define HMDMA0_ECOUNT 0xFFC03314 /* HMDMA0 Current Edge Count Register */
-#define HMDMA0_BCOUNT 0xFFC03318 /* HMDMA0 Current Block Count Register */
-
-#define HMDMA1_CONTROL 0xFFC03340 /* Handshake MDMA1 Control Register */
-#define HMDMA1_ECINIT 0xFFC03344 /* HMDMA1 Initial Edge Count Register */
-#define HMDMA1_BCINIT 0xFFC03348 /* HMDMA1 Initial Block Count Register */
-#define HMDMA1_ECURGENT 0xFFC0334C /* HMDMA1 Urgent Edge Count Threshhold Register */
-#define HMDMA1_ECOVERFLOW 0xFFC03350 /* HMDMA1 Edge Count Overflow Interrupt Register */
-#define HMDMA1_ECOUNT 0xFFC03354 /* HMDMA1 Current Edge Count Register */
-#define HMDMA1_BCOUNT 0xFFC03358 /* HMDMA1 Current Block Count Register */
-
-
-/* SPI1 Controller (0xFFC03400 - 0xFFC034FF) */
-#define SPI1_CTL 0xFFC03400 /* SPI0 Control Register */
-#define SPI1_FLG 0xFFC03404 /* SPI0 Flag register */
-#define SPI1_STAT 0xFFC03408 /* SPI0 Status register */
-#define SPI1_TDBR 0xFFC0340C /* SPI0 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC03410 /* SPI0 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC03414 /* SPI0 Baud rate Register */
-#define SPI1_SHADOW 0xFFC03418 /* SPI0_RDBR Shadow Register */
-
-
-/* Counter Registers (0xFFC03500 - 0xFFC035FF) */
-#define CNT_CONFIG 0xFFC03500 /* Configuration Register */
-#define CNT_IMASK 0xFFC03504 /* Interrupt Mask Register */
-#define CNT_STATUS 0xFFC03508 /* Status Register */
-#define CNT_COMMAND 0xFFC0350C /* Command Register */
-#define CNT_DEBOUNCE 0xFFC03510 /* Debounce Register */
-#define CNT_COUNTER 0xFFC03514 /* Counter Register */
-#define CNT_MAX 0xFFC03518 /* Boundry Value Register - max count */
-#define CNT_MIN 0xFFC0351C /* Boundry Value Register - min count */
-
-
-/* OTP/FUSE Registers (0xFFC03600 - 0xFFC036FF) */
-#define OTP_CONTROL 0xFFC03600 /* OTPSEC Fuse Control */
-#define OTP_BEN 0xFFC03604 /* OTPSEC Fuse Byte Enable */
-#define OTP_STATUS 0xFFC03608 /* OTPSEC Fuse Status */
-#define OTP_TIMING 0xFFC0360C /* OTPSEC Fuse SCLK Divider */
-
-/* Security Registers */
-#define SECURE_SYSSWT 0xFFC03620 /* OTPSEC Secure System Switches */
-#define SECURE_CONTROL 0xFFC03624 /* OTPSEC Secure Control */
-#define SECURE_STATUS 0xFFC03628 /* OTPSEC Secure Status */
-
-/* OTP Read/Write Data Buffer Registers */
-#define OTP_DATA0 0xFFC03680 /* OTP Read Write buffer */
-#define OTP_DATA1 0xFFC03684 /* OTP Read Write buffer */
-#define OTP_DATA2 0xFFC03688 /* OTP Read Write buffer */
-#define OTP_DATA3 0xFFC0368C /* OTP Read Write buffer */
-
-
-/* Motor Control PWM Registers (0xFFC03700 - 0xFFC037FF) */
-#define PWM_CTRL 0xFFC03700 /* PWM Control Register */
-#define PWM_STAT 0xFFC03704 /* PWM Status Register */
-#define PWM_TM 0xFFC03708 /* PWM Period Register */
-#define PWM_DT 0xFFC0370C /* PWM Dead Time Register */
-#define PWM_GATE 0xFFC03710 /* PWM Chopping Control */
-#define PWM_CHA 0xFFC03714 /* PWM Channel A Duty Control */
-#define PWM_CHB 0xFFC03718 /* PWM Channel B Duty Control */
-#define PWM_CHC 0xFFC0371C /* PWM Channel C Duty Control */
-#define PWM_SEG 0xFFC03720 /* PWM Crossover and Output Enable */
-#define PWM_SYNCWT 0xFFC03724 /* PWM Sync pulse width control */
-#define PWM_CHAL 0xFFC03728 /* PWM Channel AL Duty Control (SR mode only) */
-#define PWM_CHBL 0xFFC0372C /* PWM Channel BL Duty Control (SR mode only) */
-#define PWM_CHCL 0xFFC03730 /* PWM Channel CL Duty Control (SR mode only) */
-#define PWM_LSI 0xFFC03734 /* Low Side Invert (SR mode only) */
-#define PWM_STAT2 0xFFC03738 /* PWM Status Register */
-
-
-
-/******************************************************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*******************************************************************************************************************/
-
-/************************************** PLL AND RESET MASKS *******************************************************/
-
-/* PLL_CTL Masks */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* PLL Not Powered */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Enter Deep Sleep Mode */
-#define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */
-#define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks */
-#define FREQ 0x3000 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_085 0x0040 /* VLEV = 0.85 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_090 0x0050 /* VLEV = 0.90 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_095 0x0060 /* VLEV = 0.95 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_100 0x0070 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x0080 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x0090 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00A0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00B0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-/* no USB WAKE UP */
-#define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */
-#define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */
-#define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */
-#define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-#define VSTAT 0x0080 /* Voltage Regulator Status: Regulator at programmed voltage */
-
-/* SWRST Masks */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-#define BMODE_BYPASS 0x0000 /* No boot mode */
-#define BMODE_FLASH 0x0001 /* Use Boot ROM to load from 8-bit or 16-bit flash */
-#define BMODE_SPI0MEM_INT 0x0002 /* Boot from internal SPI0 memory */
-#define BMODE_SPI0MEM_EXT 0x0003 /* Boot from external SPI0 memory */
-#define BMODE_SPI0HOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_OTPMEM 0x0005 /* Boot from OTP memory */
-#define BMODE_SDRAMMEM 0x0006 /* Boot from SDRAM memory (warm boot) */
-#define BMODE_UART0HOST 0x0007 /* Boot from UART0 host */
-#define BMODE 0x0007 /* Boot Mode. Mirror of BMODE Mode Pins */
-
-#define BCODE 0x00F0
-#define BCODE_NORMAL 0x0000 /* normal boot, update PLL/VR, quickboot as by WURESET */
-#define BCODE_NOBOOT 0x0010 /* bypass boot, don't update PLL/VR */
-#define BCODE_QUICKBOOT 0x0020 /* quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_ALLBOOT 0x0040 /* no quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_FULLBOOT 0x0060 /* no quick boot, overrule WURESET, update PLL/VR */
-
-#define WURESET 0x1000 /* wakeup event since last hardware reset */
-#define DFRESET 0x2000 /* recent reset was due to a double fault event */
-#define WDRESET 0x4000 /* recent reset was due to a watchdog event */
-#define SWRESET 0x8000 /* recent reset was issued by software */
-
-/********************************* SYSTEM INTERRUPT CONTROLLER MASKS *********************************************/
-
-/* Peripheral Masks For SIC_ISR0, SIC_IWR0, SIC_IMASK0 */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt */
-#define IRQ_DMA_ERR0 0x00000002 /* Error Interrupt (DMA error 0 interrupt (generic)) */
-#define IRQ_DMAR0 0x00000004 /* DMAR0 Block (DMAR0 block interrupt) */
-#define IRQ_DMAR1 0x00000008 /* DMAR1 Block (DMAR1 block interrupt) */
-#define IRQ_DMAR0_ERR 0x00000010 /* Error Interrupt (DMAR0 overflow error interrupt) */
-#define IRQ_DMAR1_ERR 0x00000020 /* Error Interrupt (DMAR1 overflow error interrupt) */
-#define IRQ_PPI_ERR 0x00000040 /* Error Interrupt (PPI error interrupt) */
-#define IRQ_MAC_ERR 0x00000080 /* Error Interrupt (MAC status interrupt) */
-#define IRQ_SPORT0_ERR 0x00000100 /* Error Interrupt (SPORT0 status interrupt) */
-#define IRQ_SPORT1_ERR 0x00000200 /* Error Interrupt (SPORT1 status interrupt) */
-#define IRQ_PTP_ERR 0x00000400 /* Error Interrupt (PTP error interrupt) */
-
-#define IRQ_UART0_ERR 0x00001000 /* Error Interrupt (UART0 status interrupt) */
-#define IRQ_UART1_ERR 0x00002000 /* Error Interrupt (UART1 status interrupt) */
-#define IRQ_RTC 0x00004000 /* Real Time Clock Interrupt */
-#define IRQ_DMA0 0x00008000 /* DMA channel 0 (PPI/NFC) Interrupt */
-#define IRQ_DMA3 0x00010000 /* DMA Channel 3 (SPORT0 RX) Interrupt */
-#define IRQ_DMA4 0x00020000 /* DMA Channel 4 (SPORT0 TX) Interrupt */
-#define IRQ_DMA5 0x00040000 /* DMA Channel 5 (SPORT1 RX) Interrupt */
-#define IRQ_DMA6 0x00080000 /* DMA Channel 6 (SPORT1 TX) Interrupt */
-#define IRQ_TWI 0x00100000 /* TWI Interrupt */
-#define IRQ_DMA7 0x00200000 /* DMA Channel 7 (SPI) Interrupt */
-#define IRQ_DMA8 0x00400000 /* DMA Channel 8 (UART0 RX) Interrupt */
-#define IRQ_DMA9 0x00800000 /* DMA Channel 9 (UART0 TX) Interrupt */
-#define IRQ_DMA10 0x01000000 /* DMA Channel 10 (UART1 RX) Interrupt */
-#define IRQ_DMA11 0x02000000 /* DMA Channel 11 (UART1 TX) Interrupt */
-#define IRQ_OTP 0x04000000 /* OTP Interrupt */
-#define IRQ_CNT 0x08000000 /* GP Counter Interrupt */
-#define IRQ_DMA1 0x10000000 /* DMA Channel 1 (EthernetRX/HOSTDP) Interrupt */
-#define IRQ_PFA_PORTH 0x20000000 /* PF Port H Interrupt A */
-#define IRQ_DMA2 0x40000000 /* DMA Channel 2 (Ethernet TX/NFC) Interrupt */
-#define IRQ_PFB_PORTH 0x80000000 /* PF Port H Interrupt B */
-
-/* Peripheral Masks For SIC_ISR1, SIC_IWR1, SIC_IMASK1 */
-#define IRQ_TIMER0 0x00000001 /* Timer 0 Interrupt */
-#define IRQ_TIMER1 0x00000002 /* Timer 1 Interrupt */
-#define IRQ_TIMER2 0x00000004 /* Timer 2 Interrupt */
-#define IRQ_TIMER3 0x00000008 /* Timer 3 Interrupt */
-#define IRQ_TIMER4 0x00000010 /* Timer 4 Interrupt */
-#define IRQ_TIMER5 0x00000020 /* Timer 5 Interrupt */
-#define IRQ_TIMER6 0x00000040 /* Timer 6 Interrupt */
-#define IRQ_TIMER7 0x00000080 /* Timer 7 Interrupt */
-#define IRQ_PFA_PORTG 0x00000100 /* PF Port G Interrupt A */
-#define IRQ_PFB_PORTG 0x00000200 /* PF Port G Interrupt B */
-#define IRQ_DMA12 0x00000400 /* DMA Channels 12 (MDMA0 Destination) TX Interrupt */
-#define IRQ_DMA13 0x00000400 /* DMA Channels 13 (MDMA0 Source) RX Interrupt */
-#define IRQ_DMA14 0x00000800 /* DMA Channels 14 (MDMA1 Destination) TX Interrupt */
-#define IRQ_DMA15 0x00000800 /* DMA Channels 15 (MDMA1 Source) RX Interrupt */
-#define IRQ_WDOG 0x00001000 /* Software Watchdog Timer Interrupt */
-#define IRQ_PFA_PORTF 0x00002000 /* PF Port F Interrupt A */
-#define IRQ_PFB_PORTF 0x00004000 /* PF Port F Interrupt B */
-#define IRQ_SPI0_ERR 0x00008000 /* Error Interrupt (SPI0 status interrupt) */
-#define IRQ_SPI1_ERR 0x00010000 /* Error Interrupt (SPI1 status interrupt) */
-
-#define IRQ_RSI_INT0 0x00080000 /* USB EINT interrupt */
-#define IRQ_RSI_INT1 0x00100000 /* USB INT0 interrupt */
-#define IRQ_PWM_TRIPINT 0x00200000 /* USB INT1 interrupt */
-#define IRQ_PWM_SYNCINT 0x00400000 /* USB INT1 interrupt */
-#define IRQ_PTP_STATINT 0x00800000 /* USB DMAINT interrupt */
-
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#define IWR_ENABLE(x) (1 << (x)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF^(1<<(x))) /* Wakeup Disable Peripheral #x */
-
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) /* Reserved */
-#define P12_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P32_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P40_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR6 Macros */
-#define P48_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) /* Reserved */
-#define P50_IVG(x) /* Reserved */
-#define P51_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #51 assigned IVG #x */
-#define P52_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #55 assigned IVG #x */
-
-/* SIC_IAR7 Macros */
-#define P56_IVG(x) /* Reserved */
-#define P57_IVG(x) /* Reserved */
-#define P58_IVG(x) /* Reserved */
-#define P59_IVG(x) /* Reserved */
-#define P60_IVG(x) /* Reserved */
-#define P61_IVG(x) /* Reserved */
-#define P62_IVG(x) /* Reserved */
-#define P63_IVG(x) /* Reserved */
-
-
-/* SIC_IMASK0 Masks*/
-#define SIC_UNMASK0_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK0_ALL 0xFFFFF3FF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK0(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK0(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IMASK1 Masks*/
-#define SIC_UNMASK1_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK1_ALL 0xFFFFFF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK1(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK1(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-
-/* SIC_IWR0 Masks*/
-#define IWR0_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR0_ENABLE_ALL 0xFFFFF3FF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR0_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR0_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR1 Masks*/
-#define IWR1_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR1_ENABLE_ALL 0xFFFFFF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR1_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /* Wakeup Disable Peripheral #x*/
-#else
-#define IWR1_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-/* ************************************** WATCHDOG TIMER MASKS ****************************************************/
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define TMR_DIS WDDIS
-#define TRO WDRO
-#define ICTL_P0 0x01
-#define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-/* ************************************** REAL TIME CLOCK MASKS *************************************************/
-
-/* RTC_STAT and RTC_ALARM Masks*/
-#define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */
-#define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */
-#define RTC_HR 0x0001F000 /* Real-Time Clock Hours */
-#define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */
-
-/* RTC_ALARM Macro z=day y=hr x=min w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* RTC_ICTL and RTC_ISTAT Masks*/
-#define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */
-#define ALARM 0x0002 /* Alarm Interrupt Enable */
-#define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */
-#define MINUTE 0x0008 /* Minutes Interrupt Enable */
-#define HOUR 0x0010 /* Hours Interrupt Enable */
-#define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */
-#define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WRITE_PENDING 0x4000 /* Write Pending Status */
-#define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */
-
-/* RTC_FAST / RTC_PREN Mask */
-#define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */
-
-
-/* ************************************ UART CONTROLLER MASKS *****************************************************/
-
-/* UARTx_LCR Masks*/
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-/* UARTx_MCR Mask */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-
-/* UARTx_LSR Masks */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-/* UARTx_IER Masks*/
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-/* UARTx_IIR Masks*/
-#define NINT 0x01 /* Pending Interrupt */
-#define STATUS 0x06 /* Highest Priority Pending Interrupt */
-
-/* UARTx_GCTL Masks*/
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-/* Bit masks for UART Divisor Latch Registers: UARTx_DLL & UARTx_DLH */
-#define UARTDLL 0x00FF /* Divisor Latch Low Byte */
-#define UARTDLH 0xFF00 /* Divisor Latch High Byte */
-
-
-/******************************** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ***************************************/
-
-/* SPI_CTL Masks*/
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPI_FLG Masks*/
-#define FLS1 0x0002 /* Enables SPI_FLOUT1 as SPI Slave-Select Output */
-#define FLS2 0x0004 /* Enables SPI_FLOUT2 as SPI Slave-Select Output */
-#define FLS3 0x0008 /* Enables SPI_FLOUT3 as SPI Slave-Select Output */
-#define FLS4 0x0010 /* Enables SPI_FLOUT4 as SPI Slave-Select Output */
-#define FLS5 0x0020 /* Enables SPI_FLOUT5 as SPI Slave-Select Output */
-#define FLS6 0x0040 /* Enables SPI_FLOUT6 as SPI Slave-Select Output */
-#define FLS7 0x0080 /* Enables SPI_FLOUT7 as SPI Slave-Select Output */
-#define FLG1 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7 0x7FFF /* Activates SPI_FLOUT7 */
-
-/* SPI_STAT Masks*/
-#define SPIF 0x0001 /* SPI Finished (Single-Word Transfer Complete) */
-#define MODF 0x0002 /* Mode Fault Error (Another Device Tried To Become Master) */
-#define TXE 0x0004 /* Transmission Error (Data Sent With No New Data In TDBR) */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (Full/Empty*) */
-#define RBSY 0x0010 /* Receive Error (Data Received With RDBR Full) */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (Full/Empty*) */
-#define TXCOL 0x0040 /* Transmit Collision Error (Corrupt Data May Have Been Sent) */
-
-
-/*********************************** GENERAL PURPOSE TIMER MASKS ************************************************/
-/* TIMER_ENABLE Masks*/
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-#define TIMEN3 0x0008 /* Enable Timer 3 */
-#define TIMEN4 0x0010 /* Enable Timer 4 */
-#define TIMEN5 0x0020 /* Enable Timer 5 */
-#define TIMEN6 0x0040 /* Enable Timer 6 */
-#define TIMEN7 0x0080 /* Enable Timer 7 */
-
-/* TIMER_DISABLE Masks*/
-#define TIMDIS0 TIMEN0 /* Disable Timer 0 */
-#define TIMDIS1 TIMEN1 /* Disable Timer 1 */
-#define TIMDIS2 TIMEN2 /* Disable Timer 2 */
-#define TIMDIS3 TIMEN3 /* Disable Timer 3 */
-#define TIMDIS4 TIMEN4 /* Disable Timer 4 */
-#define TIMDIS5 TIMEN5 /* Disable Timer 5 */
-#define TIMDIS6 TIMEN6 /* Disable Timer 6 */
-#define TIMDIS7 TIMEN7 /* Disable Timer 7 */
-
-/* TIMER_STATUS Masks*/
-#define TIMIL0 0x00000001 /* Timer 0 Interrupt */
-#define TIMIL1 0x00000002 /* Timer 1 Interrupt */
-#define TIMIL2 0x00000004 /* Timer 2 Interrupt */
-#define TIMIL3 0x00000008 /* Timer 3 Interrupt */
-#define TOVF_ERR0 0x00000010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x00000020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x00000040 /* Timer 2 Counter Overflow */
-#define TOVF_ERR3 0x00000080 /* Timer 3 Counter Overflow */
-#define TRUN0 0x00001000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x00002000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x00004000 /* Timer 2 Slave Enable Status */
-#define TRUN3 0x00008000 /* Timer 3 Slave Enable Status */
-#define TIMIL4 0x00010000 /* Timer 4 Interrupt */
-#define TIMIL5 0x00020000 /* Timer 5 Interrupt */
-#define TIMIL6 0x00040000 /* Timer 6 Interrupt */
-#define TIMIL7 0x00080000 /* Timer 7 Interrupt */
-#define TOVF_ERR4 0x00100000 /* Timer 4 Counter Overflow */
-#define TOVF_ERR5 0x00200000 /* Timer 5 Counter Overflow */
-#define TOVF_ERR6 0x00400000 /* Timer 6 Counter Overflow */
-#define TOVF_ERR7 0x00800000 /* Timer 7 Counter Overflow */
-#define TRUN4 0x10000000 /* Timer 4 Slave Enable Status */
-#define TRUN5 0x20000000 /* Timer 5 Slave Enable Status */
-#define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */
-#define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR3 TOVF_ERR3
-#define TOVL_ERR4 TOVF_ERR4
-#define TOVL_ERR5 TOVF_ERR5
-#define TOVL_ERR6 TOVF_ERR6
-#define TOVL_ERR7 TOVF_ERR7
-
-/* TIMERx_CONFIG Masks */
-#define PWM_OUT 0x0001 /* Pulse-Width Modulation Output Mode */
-#define WDTH_CAP 0x0002 /* Width Capture Input Mode */
-#define EXT_CLK 0x0003 /* External Clock Mode */
-#define PULSE_HI 0x0004 /* Action Pulse (Positive/Negative*) */
-#define PERIOD_CNT 0x0008 /* Period Count */
-#define IRQ_ENA 0x0010 /* Interrupt Request Enable */
-#define TIN_SEL 0x0020 /* Timer Input Select */
-#define OUT_DIS 0x0040 /* Output Pad Disable */
-#define CLK_SEL 0x0080 /* Timer Clock Select */
-#define TOGGLE_HI 0x0100 /* PWM_OUT PULSE_HI Toggle Mode */
-#define EMU_RUN 0x0200 /* Emulation Behavior Select */
-#define ERR_TYP 0xC000 /* Error Type */
-
-
-/* ************************************* GPIO PORTS F, G, H MASKS **********************************************/
-
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
-/* Port F Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* Port G Masks */
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* Port H Masks */
-#define PH0 0x0001
-#define PH1 0x0002
-#define PH2 0x0004
-#define PH3 0x0008
-#define PH4 0x0010
-#define PH5 0x0020
-#define PH6 0x0040
-#define PH7 0x0080
-#define PH8 0x0100
-
-/* ************************************** SERIAL PORT MASKS *****************************************************/
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* Transmit Enable */
-#define ITCLK 0x0002 /* Internal Transmit Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* Transmit Bit Order */
-#define ITFS 0x0200 /* Internal Transmit Frame Sync Select */
-#define TFSR 0x0400 /* Transmit Frame Sync Required Select */
-#define DITFS 0x0800 /* Data-Independent Transmit Frame Sync Select */
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define LATFS 0x2000 /* Late Transmit Frame Sync Select */
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks and Macro */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define TXSE 0x0100 /* TX Secondary Enable */
-#define TSFSE 0x0200 /* Transmit Stereo Frame Sync Enable */
-#define TRFST 0x0400 /* Left/Right Order (1 = Right Channel 1st) */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* Receive Enable */
-#define IRCLK 0x0002 /* Internal Receive Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* Receive Bit Order */
-#define IRFS 0x0200 /* Internal Receive Frame Sync Select */
-#define RFSR 0x0400 /* Receive Frame Sync Required Select */
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define LARFS 0x2000 /* Late Receive Frame Sync Select */
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define RXSE 0x0100 /* RX Secondary Enable */
-#define RSFSE 0x0200 /* RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /* Right-First Data Order */
-
-/* SPORTx_STAT Masks */
-#define RXNE 0x0001 /* Receive FIFO Not Empty Status */
-#define RUVF 0x0002 /* Sticky Receive Underflow Status */
-#define ROVF 0x0004 /* Sticky Receive Overflow Status */
-#define TXF 0x0008 /* Transmit FIFO Full Status */
-#define TUVF 0x0010 /* Sticky Transmit Underflow Status */
-#define TOVF 0x0020 /* Sticky Transmit Overflow Status */
-#define TXHRE 0x0040 /* Transmit Hold Register Empty */
-
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits*/
-#define WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-/* SPORTx_MCMC2 Masks */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /* Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /* Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /* Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /* Multichannel Frame Sync to Data Relationship */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/*********************************** ASYNCHRONOUS MEMORY CONTROLLER MASKS ***************************************/
-
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN 0x000e /* Async bank enable */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Async Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Async Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Async Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Async Memory Banks (all) 0, 1, 2, and 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 (B0) RDY Enable */
-#define B0RDYPOL 0x00000002 /* B0 RDY Active High */
-#define B0TT_1 0x00000004 /* B0 Transition Time (Read to Write) = 1 cycle */
-#define B0TT_2 0x00000008 /* B0 Transition Time (Read to Write) = 2 cycles */
-#define B0TT_3 0x0000000C /* B0 Transition Time (Read to Write) = 3 cycles */
-#define B0TT_4 0x00000000 /* B0 Transition Time (Read to Write) = 4 cycles */
-#define B0ST_1 0x00000010 /* B0 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B0ST_2 0x00000020 /* B0 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B0ST_3 0x00000030 /* B0 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B0ST_4 0x00000000 /* B0 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B0HT_1 0x00000040 /* B0 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B0HT_2 0x00000080 /* B0 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B0HT_3 0x000000C0 /* B0 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B0HT_0 0x00000000 /* B0 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B0RAT_1 0x00000100 /* B0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* B0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* B0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* B0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* B0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* B0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* B0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* B0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* B0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* B0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* B0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* B0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* B0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* B0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* B0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* B0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* B0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* B0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* B0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* B0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* B0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* B0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* B0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* B0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* B0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* B0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* B0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* B0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* B0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* B0 Write Access Time = 15 cycles */
-
-#define B1RDYEN 0x00010000 /* Bank 1 (B1) RDY Enable */
-#define B1RDYPOL 0x00020000 /* B1 RDY Active High */
-#define B1TT_1 0x00040000 /* B1 Transition Time (Read to Write) = 1 cycle */
-#define B1TT_2 0x00080000 /* B1 Transition Time (Read to Write) = 2 cycles */
-#define B1TT_3 0x000C0000 /* B1 Transition Time (Read to Write) = 3 cycles */
-#define B1TT_4 0x00000000 /* B1 Transition Time (Read to Write) = 4 cycles */
-#define B1ST_1 0x00100000 /* B1 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B1ST_2 0x00200000 /* B1 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B1ST_3 0x00300000 /* B1 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B1ST_4 0x00000000 /* B1 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B1HT_1 0x00400000 /* B1 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B1HT_2 0x00800000 /* B1 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B1HT_3 0x00C00000 /* B1 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B1HT_0 0x00000000 /* B1 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B1RAT_1 0x01000000 /* B1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* B1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* B1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* B1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* B1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* B1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* B1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* B1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* B1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* B1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* B1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* B1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* B1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* B1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* B1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* B1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* B1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* B1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* B1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* B1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* B1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* B1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* B1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* B1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* B1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* B1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* B1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* B1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* B1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* B1 Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 (B2) RDY Enable */
-#define B2RDYPOL 0x00000002 /* B2 RDY Active High */
-#define B2TT_1 0x00000004 /* B2 Transition Time (Read to Write) = 1 cycle */
-#define B2TT_2 0x00000008 /* B2 Transition Time (Read to Write) = 2 cycles */
-#define B2TT_3 0x0000000C /* B2 Transition Time (Read to Write) = 3 cycles */
-#define B2TT_4 0x00000000 /* B2 Transition Time (Read to Write) = 4 cycles */
-#define B2ST_1 0x00000010 /* B2 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B2ST_2 0x00000020 /* B2 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B2ST_3 0x00000030 /* B2 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B2ST_4 0x00000000 /* B2 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B2HT_1 0x00000040 /* B2 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B2HT_2 0x00000080 /* B2 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B2HT_3 0x000000C0 /* B2 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B2HT_0 0x00000000 /* B2 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B2RAT_1 0x00000100 /* B2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* B2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* B2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* B2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* B2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* B2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* B2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* B2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* B2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* B2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* B2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* B2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* B2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* B2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* B2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* B2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* B2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* B2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* B2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* B2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* B2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* B2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* B2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* B2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* B2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* B2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* B2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* B2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* B2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* B2 Write Access Time = 15 cycles */
-
-#define B3RDYEN 0x00010000 /* Bank 3 (B3) RDY Enable */
-#define B3RDYPOL 0x00020000 /* B3 RDY Active High */
-#define B3TT_1 0x00040000 /* B3 Transition Time (Read to Write) = 1 cycle */
-#define B3TT_2 0x00080000 /* B3 Transition Time (Read to Write) = 2 cycles */
-#define B3TT_3 0x000C0000 /* B3 Transition Time (Read to Write) = 3 cycles */
-#define B3TT_4 0x00000000 /* B3 Transition Time (Read to Write) = 4 cycles */
-#define B3ST_1 0x00100000 /* B3 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B3ST_2 0x00200000 /* B3 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B3ST_3 0x00300000 /* B3 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B3ST_4 0x00000000 /* B3 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B3HT_1 0x00400000 /* B3 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B3HT_2 0x00800000 /* B3 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B3HT_3 0x00C00000 /* B3 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B3HT_0 0x00000000 /* B3 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B3RAT_1 0x01000000 /* B3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* B3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* B3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* B3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* B3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* B3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* B3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* B3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* B3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* B3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* B3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* B3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* B3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* B3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* B3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* B3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* B3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* B3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* B3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* B3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* B3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* B3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* B3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* B3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* B3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* B3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* B3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* B3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* B3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* B3 Write Access Time = 15 cycles */
-
-
-/***************************************** SDRAM CONTROLLER MASKS ***********************************************/
-
-/* EBIU_SDGCTL Masks */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-
-#define SCTLE 0x00000001 /* Enable SDRAM Signals */
-#define CL_2 0x00000008 /* SDRAM CAS Latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS Latency = 3 cycles */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define PUPSD 0x00200000 /* Power-Up Start Delay (15 SCLK Cycles Delay) */
-#define PSM 0x00400000 /* Power-Up Sequence (Mode Register Before/After* Refresh) */
-#define PSS 0x00800000 /* Enable Power-Up Sequence on Next SDRAM Access */
-#define SRFS 0x01000000 /* Enable SDRAM Self-Refresh Mode */
-#define EBUFE 0x02000000 /* Enable External Buffering Timing */
-#define FBBRW 0x04000000 /* Enable Fast Back-To-Back Read To Write */
-#define EMREN 0x10000000 /* Extended Mode Register Enable */
-#define TCSR 0x20000000 /* Temp-Compensated Self-Refresh Value (85/45* Deg C) */
-#define CDDBG 0x40000000 /* Tristate SDRAM Controls During Bus Grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBE 0x0001 /* Enable SDRAM External Bank */
-#define EBSZ_16 0x0000 /* SDRAM External Bank Size = 16MB */
-#define EBSZ_32 0x0002 /* SDRAM External Bank Size = 32MB */
-#define EBSZ_64 0x0004 /* SDRAM External Bank Size = 64MB */
-#define EBSZ_128 0x0006 /* SDRAM External Bank Size = 128MB */
-#define EBCAW_8 0x0000 /* SDRAM External Bank Column Address Width = 8 Bits */
-#define EBCAW_9 0x0010 /* SDRAM External Bank Column Address Width = 9 Bits */
-#define EBCAW_10 0x0020 /* SDRAM External Bank Column Address Width = 10 Bits */
-#define EBCAW_11 0x0030 /* SDRAM External Bank Column Address Width = 11 Bits */
-
-#define EBSZ 0x0006 /* SDRAM external bank size */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x0001 /* SDRAM Controller Idle */
-#define SDSRA 0x0002 /* SDRAM Self-Refresh Active */
-#define SDPUA 0x0004 /* SDRAM Power-Up Active */
-#define SDRS 0x0008 /* SDRAM Will Power-Up On Next Access */
-#define SDEASE 0x0010 /* SDRAM EAB Sticky Error Status */
-#define BGSTAT 0x0020 /* Bus Grant Status */
-
-
-/**************************************** DMA CONTROLLER MASKS **************************************************/
-
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* DMA Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define DMA2D 0x0010 /* DMA Mode (2D/1D*) */
-#define SYNC 0x0020 /* DMA Buffer Clear */
-#define DI_SEL 0x0040 /* Data Interrupt Timing Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-#define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */
-#define PMAP 0xF000 /* Peripheral Mapped To This Channel */
-#define PMAP_PPI 0x0000 /* PPI Port DMA */
-#define PMAP_EMACRX 0x1000 /* Ethernet Receive DMA */
-#define PMAP_EMACTX 0x2000 /* Ethernet Transmit DMA */
-#define PMAP_SPORT0RX 0x3000 /* SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x4000 /* SPORT0 Transmit DMA */
-#define PMAP_RSI 0x4000 /* RSI DMA */
-#define PMAP_SPORT1RX 0x5000 /* SPORT1 Receive DMA */
-#define PMAP_SPI1 0x5000 /* SPI1 Transmit/Receive DMA */
-#define PMAP_SPORT1TX 0x6000 /* SPORT1 Transmit DMA */
-#define PMAP_SPI 0x7000 /* SPI DMA */
-#define PMAP_SPI0 0x7000 /* SPI0 DMA */
-#define PMAP_UART0RX 0x8000 /* UART0 Port Receive DMA */
-#define PMAP_UART0TX 0x9000 /* UART0 Port Transmit DMA */
-#define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */
-#define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */
-#define DMA_ERR 0x0002 /* DMA Error Interrupt Status */
-#define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Channel Running Indicator */
-
-
-/********************************* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************************************/
-
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */ /* previous versions of defBF532.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLEN_8 0x0000 /* Data Length = 8 Bits */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-/* PPI_STATUS Masks */
-#define LT_ERR_OVR 0x0100 /* Line Track Overflow Error */
-#define LT_ERR_UNDR 0x0200 /* Line Track Underflow Error */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/*************************************** TWO-WIRE INTERFACE (TWI) MASKS *****************************************/
-
-/* TWI_CLKDIV Macros (Use: *pTWI_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8)/* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWI_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWI_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWI_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWI_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWI_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWI_INT_SRC and TWI_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWI_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWI_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/************************************* PIN CONTROL REGISTER MASKS ***********************************************/
-
-/* PORT_MUX deleted in VisualDSP++ 5.0 Update 3 */
-
-
-/*********************************** HANDSHAKE DMA (HMDMA) MASKS ************************************************/
-
-/* HMDMAx_CTL Masks */
-#define HMDMAEN 0x0001 /* Enable Handshake DMA 0/1 */
-#define REP 0x0002 /* HMDMA Request Polarity */
-#define UTE 0x0004 /* Urgency Threshold Enable */
-#define OIE 0x0010 /* Overflow Interrupt Enable */
-#define BDIE 0x0020 /* Block Done Interrupt Enable */
-#define MBDI 0x0040 /* Mask Block Done IRQ If Pending ECNT */
-#define DRQ 0x0300 /* HMDMA Request Type */
-#define DRQ_NONE 0x0000 /* No Request */
-#define DRQ_SINGLE 0x0100 /* Channels Request Single */
-#define DRQ_MULTI 0x0200 /* Channels Request Multi (Default) */
-#define DRQ_URGENT 0x0300 /* Channels Request Multi Urgent */
-#define RBC 0x1000 /* Reload BCNT With IBCNT */
-#define PS 0x2000 /* HMDMA Pin Status */
-#define OI 0x4000 /* Overflow Interrupt Generated */
-#define BDI 0x8000 /* Block Done Interrupt Generated */
-
-/* entry addresses of the user-callable Boot ROM functions */
-#define _BOOTROM_RESET 0xEF000000
-#define _BOOTROM_FINAL_INIT 0xEF000002
-#define _BOOTROM_DO_MEMORY_DMA 0xEF000006
-#define _BOOTROM_BOOT_DXE_FLASH 0xEF000008
-#define _BOOTROM_BOOT_DXE_SPI 0xEF00000A
-#define _BOOTROM_BOOT_DXE_TWI 0xEF00000C
-#define _BOOTROM_GET_DXE_ADDRESS_FLASH 0xEF000010
-#define _BOOTROM_GET_DXE_ADDRESS_SPI 0xEF000012
-#define _BOOTROM_GET_DXE_ADDRESS_TWI 0xEF000014
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define CKELOW SCKELOW
-
-
-/**************************************** COUNTER MASKS ******************************************************/
-
-/* Bit masks for CNT_CONFIG */
-#define CNTE 0x1 /* Counter Enable */
-#define nCNTE 0x0
-#define DEBE 0x2 /* Debounce Enable */
-#define nDEBE 0x0
-#define CDGINV 0x10 /* CDG Pin Polarity Invert */
-#define nCDGINV 0x0
-#define CUDINV 0x20 /* CUD Pin Polarity Invert */
-#define nCUDINV 0x0
-#define CZMINV 0x40 /* CZM Pin Polarity Invert */
-#define nCZMINV 0x0
-#define CNTMODE 0x700 /* Counter Operating Mode */
-#define ZMZC 0x800 /* CZM Zeroes Counter Enable */
-#define nZMZC 0x0
-#define BNDMODE 0x3000 /* Boundary register Mode */
-#define INPDIS 0x8000 /* CUG and CDG Input Disable */
-#define nINPDIS 0x0
-
-/* Bit masks for CNT_IMASK */
-#define ICIE 0x1 /* Illegal Gray/Binary Code Interrupt Enable */
-#define nICIE 0x0
-#define UCIE 0x2 /* Up count Interrupt Enable */
-#define nUCIE 0x0
-#define DCIE 0x4 /* Down count Interrupt Enable */
-#define nDCIE 0x0
-#define MINCIE 0x8 /* Min Count Interrupt Enable */
-#define nMINCIE 0x0
-#define MAXCIE 0x10 /* Max Count Interrupt Enable */
-#define nMAXCIE 0x0
-#define COV31IE 0x20 /* Bit 31 Overflow Interrupt Enable */
-#define nCOV31IE 0x0
-#define COV15IE 0x40 /* Bit 15 Overflow Interrupt Enable */
-#define nCOV15IE 0x0
-#define CZEROIE 0x80 /* Count to Zero Interrupt Enable */
-#define nCZEROIE 0x0
-#define CZMIE 0x100 /* CZM Pin Interrupt Enable */
-#define nCZMIE 0x0
-#define CZMEIE 0x200 /* CZM Error Interrupt Enable */
-#define nCZMEIE 0x0
-#define CZMZIE 0x400 /* CZM Zeroes Counter Interrupt Enable */
-#define nCZMZIE 0x0
-
-/* Bit masks for CNT_STATUS */
-#define ICII 0x1 /* Illegal Gray/Binary Code Interrupt Identifier */
-#define nICII 0x0
-#define UCII 0x2 /* Up count Interrupt Identifier */
-#define nUCII 0x0
-#define DCII 0x4 /* Down count Interrupt Identifier */
-#define nDCII 0x0
-#define MINCII 0x8 /* Min Count Interrupt Identifier */
-#define nMINCII 0x0
-#define MAXCII 0x10 /* Max Count Interrupt Identifier */
-#define nMAXCII 0x0
-#define COV31II 0x20 /* Bit 31 Overflow Interrupt Identifier */
-#define nCOV31II 0x0
-#define COV15II 0x40 /* Bit 15 Overflow Interrupt Identifier */
-#define nCOV15II 0x0
-#define CZEROII 0x80 /* Count to Zero Interrupt Identifier */
-#define nCZEROII 0x0
-#define CZMII 0x100 /* CZM Pin Interrupt Identifier */
-#define nCZMII 0x0
-#define CZMEII 0x200 /* CZM Error Interrupt Identifier */
-#define nCZMEII 0x0
-#define CZMZII 0x400 /* CZM Zeroes Counter Interrupt Identifier */
-#define nCZMZII 0x0
-
-/* Bit masks for CNT_COMMAND */
-#define W1LCNT 0xf /* Load Counter Register */
-#define W1LMIN 0xf0 /* Load Min Register */
-#define W1LMAX 0xf00 /* Load Max Register */
-#define W1ZMONCE 0x1000 /* Enable CZM Clear Counter Once */
-#define nW1ZMONCE 0x0
-
-/* Bit masks for CNT_DEBOUNCE */
-#define DPRESCALE 0xf /* Load Counter Register */
-
-
-/************************************* SECURITY REGISTER MASKs **************************************************/
-
-/* Bit masks for SECURE_SYSSWT */
-#define EMUDABL 0x1 /* Emulation Disable. */
-#define nEMUDABL 0x0
-#define RSTDABL 0x2 /* Reset Disable */
-#define nRSTDABL 0x0
-#define L1IDABL 0x1c /* L1 Instruction Memory Disable. */
-#define L1DADABL 0xe0 /* L1 Data Bank A Memory Disable. */
-#define L1DBDABL 0x700 /* L1 Data Bank B Memory Disable. */
-#define DMA0OVR 0x800 /* DMA0 Memory Access Override */
-#define nDMA0OVR 0x0
-#define DMA1OVR 0x1000 /* DMA1 Memory Access Override */
-#define nDMA1OVR 0x0
-#define EMUOVR 0x4000 /* Emulation Override */
-#define nEMUOVR 0x0
-#define OTPSEN 0x8000 /* OTP Secrets Enable. */
-#define nOTPSEN 0x0
-
-/* Bit masks for SECURE_CONTROL */
-#define SECURE0 0x1 /* SECURE 0 */
-#define nSECURE0 0x0
-#define SECURE1 0x2 /* SECURE 1 */
-#define nSECURE1 0x0
-#define SECURE2 0x4 /* SECURE 2 */
-#define nSECURE2 0x0
-#define SECURE3 0x8 /* SECURE 3 */
-#define nSECURE3 0x0
-
-/* Bit masks for SECURE_STATUS */
-#define SECMODE 0x3 /* Secured Mode Control State */
-#define NMI 0x4 /* Non Maskable Interrupt */
-#define nNMI 0x0
-#define AFVALID 0x8 /* Authentication Firmware Valid */
-#define nAFVALID 0x0
-#define AFEXIT 0x10 /* Authentication Firmware Exit */
-#define nAFEXIT 0x0
-#define SECSTAT 0xe0 /* Secure Status */
-
-
-/********************************************** PWM Masks *******************************************************/
-
-/* Bit masks for PWM_CTRL */
-#define PWM_EN 0x1 /* PWM Enable */
-#define PWM_SYNC_EN 0X2 /* Enable Sync Enable */
-#define PWM_DBL 0x4 /* Double Update Mode */
-#define PWM_EXTSYNC 0x8 /* External Sync */
-#define PWM_SYNCSEL 0x10 /* External Sync Select */
-#define PWM_POLARITY 0x20 /* PWM Output Polarity */
-#define PWM_SRMODE 0x40 /* PWM SR MODE */
-#define PWMTRIPINT_EN 0x80 /* Trip Interrupt Enable */
-#define PWMSYNCINT_EN 0x100 /* Sync Interrupt Enable */
-#define PWMTRIP_DSBL 0x200 /* Trip Input Disable */
-
-/* Bit masks for PWM_STAT */
-#define PWM_PHASE 0x1 /* PWM phase */
-#define PWM_POL 0x2 /* PWM polarity */
-#define PWM_SR 0x4 /* PWM SR mode */
-#define PWM_TRIP 0x8 /* PWM Trip mode */
-#define PWM_TRIPINT 0x100 /* PWM Trip Interrupt */
-#define PWM_SYNCINT 0x200 /* PWM Sync Interrupt */
-
-/* Bit masks for PWMGATE Register */
-
-#define CHOPHI 0x100 /* Gate Chopping Enable High Side */
-#define CHOPLO 0x200 /* Gate Chopping Enable Low Side */
-
-/* Bit masks for PWMSEG Register */
-
-#define CH_EN 0x1 /* CH output Enable */
-#define CL_EN 0x2 /* CL output Enable */
-#define BH_EN 0x4 /* BH output Enable */
-#define BL_EN 0x8 /* BL output Enable */
-#define AH_EN 0x10 /* AH output Enable */
-#define AL_EN 0x20 /* AL output Enable */
-#define CHCL_XOVR 0x40 /* Channel C output Crossover */
-#define BHBL_XOVR 0x80 /* Channel B output Crossover */
-#define AHAL_XOVR 0x100 /* Channel A output Crossover */
-
-/* Bit masks for PWMLSI Register */
-#define PWM_SR_LSI_A 0x1 /* PWM SR Low Side Invert Channel A */
-#define PWM_SR_LSI_B 0x2 /* PWM SR Low Side Invert Channel A */
-#define PWM_SR_LSI_C 0x4 /* PWM SR Low Side Invert Channel A */
-
-/* Bit masks for PWM_STAT2 Register */
-#define PWM_AL 0x1 /* pwm_al output signal for S/W observation */
-#define PWM_AH 0x2 /* pwm_ah output signal for S/W observation */
-#define PWM_BL 0x4 /* pwm_bl output signal for S/W observation */
-#define PWM_BH 0x8 /* pwm_bh output signal for S/W observation */
-#define PWM_CL 0x10 /* pwm_cl output signal for S/W observation */
-#define PWM_CH 0x20 /* pwm_ch output signal for S/W observation */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF51x_H */
diff --git a/libgloss/bfin/include/defBF522.h b/libgloss/bfin/include/defBF522.h
deleted file mode 100644
index 67c3976..0000000
--- a/libgloss/bfin/include/defBF522.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF522_H
-#define _DEF_BF522_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF522 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-#endif /* _DEF_BF522_H */
diff --git a/libgloss/bfin/include/defBF523.h b/libgloss/bfin/include/defBF523.h
deleted file mode 100644
index fe14172..0000000
--- a/libgloss/bfin/include/defBF523.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF523_H
-#define _DEF_BF523_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF523 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-#endif /* _DEF_BF523_H */
diff --git a/libgloss/bfin/include/defBF524.h b/libgloss/bfin/include/defBF524.h
deleted file mode 100644
index 2dc3182..0000000
--- a/libgloss/bfin/include/defBF524.h
+++ /dev/null
@@ -1,704 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF524_H
-#define _DEF_BF524_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF524 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-/* The following are the #defines needed by ADSP-BF524 that are not in the common header */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03800 /* Function address register */
-#define USB_POWER 0xffc03804 /* Power management register */
-#define USB_INTRTX 0xffc03808 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc0380c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03810 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03814 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03818 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc0381c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03820 /* USB frame number */
-#define USB_INDEX 0xffc03824 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03828 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc0382c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03830 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03840 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03848 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc0384c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03854 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc0385c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03860 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03868 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03880 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03888 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03890 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03898 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc038a0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc038a8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc038b0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc038b8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03900 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03904 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03908 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03948 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc0394c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03950 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03954 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03958 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc039e0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc039e4 /* Register used to set some calibration values */
-
-#define USB_APHY_CNTRL2 0xffc039e8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc039ec /* Used for reducing simulation time and simplifies FIFO testability */
-
-#define USB_PLLOSC_CTRL 0xffc039f0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc039f4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03a00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03a04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03a08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03a0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03a10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03a14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03a18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03a1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03a20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-#define USB_EP_NI0_TXCOUNT 0xffc03a28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI1_TXMAXP 0xffc03a40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03a44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03a48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03a4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03a50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03a54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03a58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03a5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03a60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-#define USB_EP_NI1_TXCOUNT 0xffc03a68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI2_TXMAXP 0xffc03a80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03a84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03a88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03a8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03a90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03a94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03a98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03a9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03aa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-#define USB_EP_NI2_TXCOUNT 0xffc03aa8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI3_TXMAXP 0xffc03ac0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ac4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ac8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03acc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ad0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ad4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ad8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03adc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ae0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-#define USB_EP_NI3_TXCOUNT 0xffc03ae8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI4_TXMAXP 0xffc03b00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03b04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03b08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03b0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03b10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03b14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03b18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03b1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03b20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-#define USB_EP_NI4_TXCOUNT 0xffc03b28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI5_TXMAXP 0xffc03b40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03b44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03b48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03b4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03b50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03b54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03b58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03b5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03b60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-#define USB_EP_NI5_TXCOUNT 0xffc03b68 /* Number of bytes to be written to the endpoint5 Tx FIFO */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI6_TXMAXP 0xffc03b80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03b84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03b88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03b8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03b90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03b94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03b98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03b9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03ba0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-#define USB_EP_NI6_TXCOUNT 0xffc03ba8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI7_TXMAXP 0xffc03bc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03bc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03bc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03bcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03bd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03bd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03bd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03bdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03bf0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03bf8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-
-#define USB_DMA_INTERRUPT 0xffc03c00 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc03c04 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc03c08 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc03c0c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc03c10 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc03c14 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc03c24 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc03c28 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc03c2c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc03c30 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc03c34 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc03c44 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc03c48 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc03c4c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc03c50 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc03c54 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc03c64 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc03c68 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc03c6c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc03c70 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc03c74 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc03c84 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc03c88 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc03c8c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc03c90 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc03c94 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc03ca4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc03ca8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc03cac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc03cb0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc03cb4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc03cc4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc03cc8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc03ccc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc03cd0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc03cd4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc03ce4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc03ce8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc03cec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc03cf0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc03cf4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-#endif /* _DEF_BF524_H */
diff --git a/libgloss/bfin/include/defBF525.h b/libgloss/bfin/include/defBF525.h
deleted file mode 100644
index 563ac66..0000000
--- a/libgloss/bfin/include/defBF525.h
+++ /dev/null
@@ -1,704 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF525_H
-#define _DEF_BF525_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF525 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-/* The following are the #defines needed by ADSP-BF525 that are not in the common header */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03800 /* Function address register */
-#define USB_POWER 0xffc03804 /* Power management register */
-#define USB_INTRTX 0xffc03808 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc0380c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03810 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03814 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03818 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc0381c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03820 /* USB frame number */
-#define USB_INDEX 0xffc03824 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03828 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc0382c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03830 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03840 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03848 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc0384c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03854 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc0385c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03860 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03868 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03880 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03888 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03890 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03898 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc038a0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc038a8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc038b0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc038b8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03900 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03904 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03908 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03948 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc0394c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03950 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03954 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03958 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc039e0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc039e4 /* Register used to set some calibration values */
-
-#define USB_APHY_CNTRL2 0xffc039e8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc039ec /* Used for reducing simulation time and simplifies FIFO testability */
-
-#define USB_PLLOSC_CTRL 0xffc039f0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc039f4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03a00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03a04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03a08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03a0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03a10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03a14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03a18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03a1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03a20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-#define USB_EP_NI0_TXCOUNT 0xffc03a28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI1_TXMAXP 0xffc03a40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03a44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03a48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03a4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03a50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03a54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03a58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03a5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03a60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-#define USB_EP_NI1_TXCOUNT 0xffc03a68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI2_TXMAXP 0xffc03a80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03a84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03a88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03a8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03a90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03a94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03a98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03a9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03aa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-#define USB_EP_NI2_TXCOUNT 0xffc03aa8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI3_TXMAXP 0xffc03ac0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ac4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ac8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03acc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ad0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ad4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ad8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03adc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ae0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-#define USB_EP_NI3_TXCOUNT 0xffc03ae8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI4_TXMAXP 0xffc03b00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03b04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03b08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03b0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03b10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03b14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03b18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03b1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03b20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-#define USB_EP_NI4_TXCOUNT 0xffc03b28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI5_TXMAXP 0xffc03b40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03b44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03b48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03b4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03b50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03b54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03b58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03b5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03b60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-#define USB_EP_NI5_TXCOUNT 0xffc03b68 /* Number of bytes to be written to the endpoint5 Tx FIFO */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI6_TXMAXP 0xffc03b80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03b84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03b88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03b8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03b90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03b94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03b98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03b9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03ba0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-#define USB_EP_NI6_TXCOUNT 0xffc03ba8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI7_TXMAXP 0xffc03bc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03bc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03bc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03bcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03bd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03bd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03bd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03bdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03bf0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03bf8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-
-#define USB_DMA_INTERRUPT 0xffc03c00 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc03c04 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc03c08 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc03c0c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc03c10 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc03c14 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc03c24 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc03c28 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc03c2c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc03c30 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc03c34 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc03c44 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc03c48 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc03c4c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc03c50 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc03c54 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc03c64 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc03c68 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc03c6c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc03c70 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc03c74 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc03c84 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc03c88 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc03c8c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc03c90 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc03c94 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc03ca4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc03ca8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc03cac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc03cb0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc03cb4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc03cc4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc03cc8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc03ccc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc03cd0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc03cd4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc03ce4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc03ce8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc03cec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc03cf0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc03cf4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-#endif /* _DEF_BF525_H */
diff --git a/libgloss/bfin/include/defBF526.h b/libgloss/bfin/include/defBF526.h
deleted file mode 100644
index 64b72ed..0000000
--- a/libgloss/bfin/include/defBF526.h
+++ /dev/null
@@ -1,1121 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF526_H
-#define _DEF_BF526_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF526 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some acros violate rule 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF526 that are not in the common header */
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */
-#define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */
-#define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */
-#define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */
-#define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */
-#define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */
-#define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */
-#define EMAC_FLC 0xFFC0301C /* Flow Control Register */
-#define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */
-#define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */
-#define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */
-#define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */
-#define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */
-#define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */
-#define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */
-#define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */
-#define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */
-#define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */
-#define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */
-
-#define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */
-#define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */
-#define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */
-#define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */
-#define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */
-#define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */
-#define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */
-#define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */
-
-#define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */
-#define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */
-#define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */
-#define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */
-#define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */
-
-#define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */
-#define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */
-#define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */
-#define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */
-#define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */
-#define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */
-#define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */
-#define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */
-#define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */
-#define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */
-#define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */
-#define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */
-#define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */
-#define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */
-#define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */
-#define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */
-#define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */
-#define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */
-#define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */
-#define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */
-#define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */
-#define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */
-#define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */
-#define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */
-#define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */
-#define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */
-#define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */
-#define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */
-#define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */
-#define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */
-#define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */
-#define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */
-#define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */
-#define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */
-#define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */
-#define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */
-#define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */
-
-/* Listing for IEEE-Supported Count Registers */
-
-#define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */
-#define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */
-#define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */
-#define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */
-#define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */
-#define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */
-#define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */
-#define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */
-#define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */
-#define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */
-#define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */
-#define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */
-#define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */
-#define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */
-#define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */
-#define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */
-#define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */
-#define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */
-#define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */
-#define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */
-#define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */
-#define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */
-#define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */
-#define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */
-#define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */
-#define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */
-#define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */
-#define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */
-#define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */
-#define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */
-#define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */
-#define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */
-#define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */
-#define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */
-#define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-
-/************************ ETHERNET 10/100 CONTROLLER MASKS ************************/
-
-/* EMAC_OPMODE Masks */
-
-#define RE 0x00000001 /* Receiver Enable */
-#define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */
-#define HU 0x00000010 /* Hash Filter Unicast Address */
-#define HM 0x00000020 /* Hash Filter Multicast Address */
-#define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */
-#define PR 0x00000080 /* Promiscuous Mode Enable */
-#define IFE 0x00000100 /* Inverse Filtering Enable */
-#define DBF 0x00000200 /* Disable Broadcast Frame Reception */
-#define PBF 0x00000400 /* Pass Bad Frames Enable */
-#define PSF 0x00000800 /* Pass Short Frames Enable */
-#define RAF 0x00001000 /* Receive-All Mode */
-#define TE 0x00010000 /* Transmitter Enable */
-#define DTXPAD 0x00020000 /* Disable Automatic TX Padding */
-#define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */
-#define DC 0x00080000 /* Deferral Check */
-#define BOLMT 0x00300000 /* Back-Off Limit */
-#define BOLMT_10 0x00000000 /* 10-bit range */
-#define BOLMT_8 0x00100000 /* 8-bit range */
-#define BOLMT_4 0x00200000 /* 4-bit range */
-#define BOLMT_1 0x00300000 /* 1-bit range */
-#define DRTY 0x00400000 /* Disable TX Retry On Collision */
-#define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */
-#define RMII 0x01000000 /* RMII/MII* Mode */
-#define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */
-#define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */
-#define LB 0x08000000 /* Internal Loopback Enable */
-#define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */
-
-/* EMAC_STAADD Masks */
-
-#define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */
-#define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */
-#define STADISPRE 0x00000004 /* Disable Preamble Generation */
-#define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */
-#define REGAD 0x000007C0 /* STA Register Address */
-#define PHYAD 0x0000F800 /* PHY Device Address */
-
-#ifdef _MISRA_RULES
-#define SET_REGAD(x) (((x)&0x1Fu)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1Fu)<< 11 ) /* Set PHY Device Address */
-#else
-#define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */
-#endif /* _MISRA_RULES */
-
-/* EMAC_STADAT Mask */
-
-#define STADATA 0x0000FFFF /* Station Management Data */
-
-/* EMAC_FLC Masks */
-
-#define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */
-#define FLCE 0x00000002 /* Flow Control Enable */
-#define PCF 0x00000004 /* Pass Control Frames */
-#define BKPRSEN 0x00000008 /* Enable Backpressure */
-#define FLCPAUSE 0xFFFF0000 /* Pause Time */
-
-#ifdef _MISRA_RULES
-#define SET_FLCPAUSE(x) (((x)&0xFFFFu)<< 16) /* Set Pause Time */
-#else
-#define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_CTL Masks */
-
-#define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */
-#define MPKE 0x00000002 /* Magic Packet Enable */
-#define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */
-#define GUWKE 0x00000008 /* Global Unicast Wake Enable */
-#define MPKS 0x00000020 /* Magic Packet Received Status */
-#define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */
-
-/* EMAC_WKUP_FFCMD Masks */
-
-#define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */
-#define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */
-#define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */
-#define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */
-#define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */
-#define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */
-#define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */
-#define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */
-
-/* EMAC_WKUP_FFOFF Masks */
-
-#define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */
-#define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */
-#define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */
-#define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_OFF(x) (((x)&0xFFu)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFFu)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFFu)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFFu)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#else
-#define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#endif /* _MISRA_RULES */
-
-/* Set ALL Offsets */
-#define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3)))
-
-/* EMAC_WKUP_FFCRC0 Masks */
-
-#define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */
-#define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#else
-#define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_FFCRC1 Masks */
-
-#define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */
-#define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF2_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#else
-#define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSCTL Masks */
-
-#define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */
-#define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */
-#define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */
-#define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */
-
-#ifdef _MISRA_RULES
-#define SET_MDCDIV(x) (((x)&0x3Fu)<< 8) /* Set MDC Clock Divisor */
-#else
-#define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSTAT Masks */
-
-#define PHYINT 0x00000001 /* PHY_INT Interrupt Status */
-#define MMCINT 0x00000002 /* MMC Counter Interrupt Status */
-#define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */
-#define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */
-#define WAKEDET 0x00000010 /* Wake-Up Detected Status */
-#define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */
-#define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */
-#define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */
-
-/* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */
-
-#define RX_FRLEN 0x000007FF /* Frame Length In Bytes */
-#define RX_COMP 0x00001000 /* RX Frame Complete */
-#define RX_OK 0x00002000 /* RX Frame Received With No Errors */
-#define RX_LONG 0x00004000 /* RX Frame Too Long Error */
-#define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */
-#define RX_CRC 0x00010000 /* RX Frame CRC Error */
-#define RX_LEN 0x00020000 /* RX Frame Length Error */
-#define RX_FRAG 0x00040000 /* RX Frame Fragment Error */
-#define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */
-#define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */
-#define RX_PHY 0x00200000 /* RX Frame PHY Error */
-#define RX_LATE 0x00400000 /* RX Frame Late Collision Error */
-#define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */
-#define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */
-#define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */
-#define RX_CTL 0x04000000 /* RX Control Frame Indicator */
-#define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */
-#define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */
-#define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */
-#define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */
-#define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */
-
-/* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */
-
-#define TX_COMP 0x00000001 /* TX Frame Complete */
-#define TX_OK 0x00000002 /* TX Frame Sent With No Errors */
-#define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */
-#define TX_LATE 0x00000008 /* TX Frame Late Collision Error */
-#define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */
-#define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */
-#define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */
-#define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */
-#define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */
-#define TX_CCNT 0x00000F00 /* TX Frame Collision Count */
-#define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */
-#define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */
-#define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */
-#define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */
-#define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */
-
-/* EMAC_MMC_CTL Masks */
-#define RSTC 0x00000001 /* Reset All Counters */
-#define CROLL 0x00000002 /* Counter Roll-Over Enable */
-#define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */
-#define MMCE 0x00000008 /* Enable MMC Counter Operation */
-
-/* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */
-#define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */
-#define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */
-#define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */
-#define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */
-#define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */
-#define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */
-#define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */
-#define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */
-#define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */
-#define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */
-#define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */
-#define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */
-#define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */
-#define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */
-#define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */
-#define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */
-#define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */
-#define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */
-#define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */
-#define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */
-#define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */
-#define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */
-#define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */
-#define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */
-
-/* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */
-
-#define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */
-#define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */
-#define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */
-#define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */
-#define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */
-#define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */
-#define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */
-#define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */
-#define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */
-#define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */
-#define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */
-#define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */
-#define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */
-#define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */
-#define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */
-#define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */
-#define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */
-#define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */
-#define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */
-#define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */
-#define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */
-#define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */
-#define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03800 /* Function address register */
-#define USB_POWER 0xffc03804 /* Power management register */
-#define USB_INTRTX 0xffc03808 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc0380c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03810 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03814 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03818 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc0381c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03820 /* USB frame number */
-#define USB_INDEX 0xffc03824 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03828 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc0382c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03830 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03840 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03848 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc0384c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03854 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc0385c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03860 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03868 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03880 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03888 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03890 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03898 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc038a0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc038a8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc038b0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc038b8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03900 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03904 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03908 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03948 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc0394c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03950 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03954 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03958 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc039e0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc039e4 /* Register used to set some calibration values */
-
-#define USB_APHY_CNTRL2 0xffc039e8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc039ec /* Used for reducing simulation time and simplifies FIFO testability */
-
-#define USB_PLLOSC_CTRL 0xffc039f0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc039f4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03a00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03a04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03a08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03a0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03a10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03a14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03a18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03a1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03a20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-#define USB_EP_NI0_TXCOUNT 0xffc03a28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI1_TXMAXP 0xffc03a40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03a44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03a48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03a4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03a50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03a54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03a58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03a5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03a60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-#define USB_EP_NI1_TXCOUNT 0xffc03a68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI2_TXMAXP 0xffc03a80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03a84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03a88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03a8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03a90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03a94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03a98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03a9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03aa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-#define USB_EP_NI2_TXCOUNT 0xffc03aa8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI3_TXMAXP 0xffc03ac0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ac4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ac8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03acc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ad0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ad4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ad8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03adc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ae0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-#define USB_EP_NI3_TXCOUNT 0xffc03ae8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI4_TXMAXP 0xffc03b00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03b04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03b08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03b0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03b10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03b14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03b18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03b1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03b20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-#define USB_EP_NI4_TXCOUNT 0xffc03b28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI5_TXMAXP 0xffc03b40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03b44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03b48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03b4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03b50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03b54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03b58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03b5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03b60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-#define USB_EP_NI5_TXCOUNT 0xffc03b68 /* Number of bytes to be written to the endpoint5 Tx FIFO */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI6_TXMAXP 0xffc03b80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03b84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03b88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03b8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03b90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03b94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03b98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03b9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03ba0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-#define USB_EP_NI6_TXCOUNT 0xffc03ba8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI7_TXMAXP 0xffc03bc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03bc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03bc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03bcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03bd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03bd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03bd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03bdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03bf0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03bf8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-
-#define USB_DMA_INTERRUPT 0xffc03c00 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc03c04 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc03c08 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc03c0c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc03c10 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc03c14 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc03c24 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc03c28 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc03c2c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc03c30 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc03c34 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc03c44 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc03c48 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc03c4c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc03c50 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc03c54 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc03c64 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc03c68 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc03c6c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc03c70 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc03c74 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc03c84 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc03c88 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc03c8c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc03c90 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc03c94 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc03ca4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc03ca8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc03cac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc03cb0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc03cb4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc03cc4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc03cc8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc03ccc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc03cd0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc03cd4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc03ce4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc03ce8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc03cec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc03cf0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc03cf4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF526_H */
diff --git a/libgloss/bfin/include/defBF527.h b/libgloss/bfin/include/defBF527.h
deleted file mode 100644
index 1bf4d39..0000000
--- a/libgloss/bfin/include/defBF527.h
+++ /dev/null
@@ -1,1121 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF527_H
-#define _DEF_BF527_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF527 */
-
-/* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
-#include <defBF52x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macros violate rule 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros ")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF527 that are not in the common header */
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-
-#define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */
-#define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */
-#define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */
-#define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */
-#define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */
-#define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */
-#define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */
-#define EMAC_FLC 0xFFC0301C /* Flow Control Register */
-#define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */
-#define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */
-#define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */
-#define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */
-#define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */
-#define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */
-#define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */
-#define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */
-#define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */
-#define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */
-#define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */
-
-#define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */
-#define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */
-#define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */
-#define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */
-#define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */
-#define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */
-#define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */
-#define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */
-
-#define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */
-#define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */
-#define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */
-#define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */
-#define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */
-
-#define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */
-#define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */
-#define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */
-#define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */
-#define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */
-#define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */
-#define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */
-#define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */
-#define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */
-#define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */
-#define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */
-#define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */
-#define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */
-#define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */
-#define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */
-#define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */
-#define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */
-#define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */
-#define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */
-#define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */
-#define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */
-#define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */
-#define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */
-#define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */
-#define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */
-#define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */
-#define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */
-#define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */
-#define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */
-#define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */
-#define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */
-#define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */
-#define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */
-#define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */
-#define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */
-#define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */
-#define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */
-
-/* Listing for IEEE-Supported Count Registers */
-
-#define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */
-#define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */
-#define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */
-#define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */
-#define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */
-#define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */
-#define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */
-#define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */
-#define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */
-#define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */
-#define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */
-#define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */
-#define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */
-#define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */
-#define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */
-#define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */
-#define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */
-#define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */
-#define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */
-#define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */
-#define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */
-#define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */
-#define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */
-#define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */
-#define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */
-#define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */
-#define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */
-#define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */
-#define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */
-#define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */
-#define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */
-#define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */
-#define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */
-#define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */
-#define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-
-/************************ ETHERNET 10/100 CONTROLLER MASKS ************************/
-
-/* EMAC_OPMODE Masks */
-
-#define RE 0x00000001 /* Receiver Enable */
-#define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */
-#define HU 0x00000010 /* Hash Filter Unicast Address */
-#define HM 0x00000020 /* Hash Filter Multicast Address */
-#define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */
-#define PR 0x00000080 /* Promiscuous Mode Enable */
-#define IFE 0x00000100 /* Inverse Filtering Enable */
-#define DBF 0x00000200 /* Disable Broadcast Frame Reception */
-#define PBF 0x00000400 /* Pass Bad Frames Enable */
-#define PSF 0x00000800 /* Pass Short Frames Enable */
-#define RAF 0x00001000 /* Receive-All Mode */
-#define TE 0x00010000 /* Transmitter Enable */
-#define DTXPAD 0x00020000 /* Disable Automatic TX Padding */
-#define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */
-#define DC 0x00080000 /* Deferral Check */
-#define BOLMT 0x00300000 /* Back-Off Limit */
-#define BOLMT_10 0x00000000 /* 10-bit range */
-#define BOLMT_8 0x00100000 /* 8-bit range */
-#define BOLMT_4 0x00200000 /* 4-bit range */
-#define BOLMT_1 0x00300000 /* 1-bit range */
-#define DRTY 0x00400000 /* Disable TX Retry On Collision */
-#define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */
-#define RMII 0x01000000 /* RMII/MII* Mode */
-#define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */
-#define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */
-#define LB 0x08000000 /* Internal Loopback Enable */
-#define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */
-
-/* EMAC_STAADD Masks */
-
-#define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */
-#define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */
-#define STADISPRE 0x00000004 /* Disable Preamble Generation */
-#define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */
-#define REGAD 0x000007C0 /* STA Register Address */
-#define PHYAD 0x0000F800 /* PHY Device Address */
-
-#ifdef _MISRA_RULES
-#define SET_REGAD(x) (((x)&0x1Fu)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1Fu)<< 11 ) /* Set PHY Device Address */
-#else
-#define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */
-#endif /* _MISRA_RULES */
-
-/* EMAC_STADAT Mask */
-
-#define STADATA 0x0000FFFF /* Station Management Data */
-
-/* EMAC_FLC Masks */
-
-#define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */
-#define FLCE 0x00000002 /* Flow Control Enable */
-#define PCF 0x00000004 /* Pass Control Frames */
-#define BKPRSEN 0x00000008 /* Enable Backpressure */
-#define FLCPAUSE 0xFFFF0000 /* Pause Time */
-
-#ifdef _MISRA_RULES
-#define SET_FLCPAUSE(x) (((x)&0xFFFFu)<< 16) /* Set Pause Time */
-#else
-#define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_CTL Masks */
-
-#define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */
-#define MPKE 0x00000002 /* Magic Packet Enable */
-#define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */
-#define GUWKE 0x00000008 /* Global Unicast Wake Enable */
-#define MPKS 0x00000020 /* Magic Packet Received Status */
-#define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */
-
-/* EMAC_WKUP_FFCMD Masks */
-
-#define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */
-#define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */
-#define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */
-#define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */
-#define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */
-#define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */
-#define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */
-#define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */
-
-/* EMAC_WKUP_FFOFF Masks */
-
-#define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */
-#define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */
-#define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */
-#define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_OFF(x) (((x)&0xFFu)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFFu)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFFu)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFFu)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#else
-#define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#endif /* _MISRA_RULES */
-
-/* Set ALL Offsets */
-#define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3)))
-
-/* EMAC_WKUP_FFCRC0 Masks */
-
-#define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */
-#define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#else
-#define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_FFCRC1 Masks */
-
-#define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */
-#define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF2_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#else
-#define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSCTL Masks */
-
-#define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */
-#define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */
-#define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */
-#define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */
-
-#ifdef _MISRA_RULES
-#define SET_MDCDIV(x) (((x)&0x3Fu)<< 8) /* Set MDC Clock Divisor */
-#else
-#define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSTAT Masks */
-
-#define PHYINT 0x00000001 /* PHY_INT Interrupt Status */
-#define MMCINT 0x00000002 /* MMC Counter Interrupt Status */
-#define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */
-#define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */
-#define WAKEDET 0x00000010 /* Wake-Up Detected Status */
-#define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */
-#define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */
-#define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */
-
-/* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */
-
-#define RX_FRLEN 0x000007FF /* Frame Length In Bytes */
-#define RX_COMP 0x00001000 /* RX Frame Complete */
-#define RX_OK 0x00002000 /* RX Frame Received With No Errors */
-#define RX_LONG 0x00004000 /* RX Frame Too Long Error */
-#define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */
-#define RX_CRC 0x00010000 /* RX Frame CRC Error */
-#define RX_LEN 0x00020000 /* RX Frame Length Error */
-#define RX_FRAG 0x00040000 /* RX Frame Fragment Error */
-#define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */
-#define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */
-#define RX_PHY 0x00200000 /* RX Frame PHY Error */
-#define RX_LATE 0x00400000 /* RX Frame Late Collision Error */
-#define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */
-#define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */
-#define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */
-#define RX_CTL 0x04000000 /* RX Control Frame Indicator */
-#define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */
-#define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */
-#define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */
-#define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */
-#define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */
-
-/* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */
-
-#define TX_COMP 0x00000001 /* TX Frame Complete */
-#define TX_OK 0x00000002 /* TX Frame Sent With No Errors */
-#define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */
-#define TX_LATE 0x00000008 /* TX Frame Late Collision Error */
-#define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */
-#define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */
-#define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */
-#define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */
-#define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */
-#define TX_CCNT 0x00000F00 /* TX Frame Collision Count */
-#define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */
-#define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */
-#define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */
-#define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */
-#define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */
-
-/* EMAC_MMC_CTL Masks */
-#define RSTC 0x00000001 /* Reset All Counters */
-#define CROLL 0x00000002 /* Counter Roll-Over Enable */
-#define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */
-#define MMCE 0x00000008 /* Enable MMC Counter Operation */
-
-/* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */
-#define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */
-#define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */
-#define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */
-#define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */
-#define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */
-#define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */
-#define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */
-#define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */
-#define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */
-#define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */
-#define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */
-#define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */
-#define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */
-#define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */
-#define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */
-#define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */
-#define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */
-#define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */
-#define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */
-#define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */
-#define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */
-#define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */
-#define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */
-#define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */
-
-/* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */
-
-#define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */
-#define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */
-#define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */
-#define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */
-#define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */
-#define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */
-#define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */
-#define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */
-#define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */
-#define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */
-#define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */
-#define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */
-#define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */
-#define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */
-#define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */
-#define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */
-#define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */
-#define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */
-#define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */
-#define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */
-#define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */
-#define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */
-#define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03800 /* Function address register */
-#define USB_POWER 0xffc03804 /* Power management register */
-#define USB_INTRTX 0xffc03808 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc0380c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03810 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03814 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03818 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc0381c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03820 /* USB frame number */
-#define USB_INDEX 0xffc03824 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03828 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc0382c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03830 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03840 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03848 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc0384c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03854 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc0385c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03860 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03868 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03880 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03888 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03890 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03898 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc038a0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc038a8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc038b0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc038b8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03900 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03904 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03908 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03948 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc0394c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03950 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03954 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03958 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc039e0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc039e4 /* Register used to set some calibration values */
-
-#define USB_APHY_CNTRL2 0xffc039e8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc039ec /* Used for reducing simulation time and simplifies FIFO testability */
-
-#define USB_PLLOSC_CTRL 0xffc039f0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc039f4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03a00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03a04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03a08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03a0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03a10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03a14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03a18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03a1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03a20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-#define USB_EP_NI0_TXCOUNT 0xffc03a28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI1_TXMAXP 0xffc03a40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03a44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03a48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03a4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03a50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03a54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03a58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03a5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03a60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-#define USB_EP_NI1_TXCOUNT 0xffc03a68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI2_TXMAXP 0xffc03a80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03a84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03a88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03a8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03a90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03a94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03a98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03a9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03aa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-#define USB_EP_NI2_TXCOUNT 0xffc03aa8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI3_TXMAXP 0xffc03ac0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ac4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ac8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03acc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ad0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ad4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ad8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03adc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ae0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-#define USB_EP_NI3_TXCOUNT 0xffc03ae8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI4_TXMAXP 0xffc03b00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03b04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03b08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03b0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03b10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03b14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03b18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03b1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03b20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-#define USB_EP_NI4_TXCOUNT 0xffc03b28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI5_TXMAXP 0xffc03b40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03b44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03b48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03b4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03b50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03b54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03b58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03b5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03b60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-#define USB_EP_NI5_TXCOUNT 0xffc03b68 /* Number of bytes to be written to the endpoint5 Tx FIFO */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI6_TXMAXP 0xffc03b80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03b84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03b88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03b8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03b90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03b94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03b98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03b9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03ba0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-#define USB_EP_NI6_TXCOUNT 0xffc03ba8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI7_TXMAXP 0xffc03bc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03bc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03bc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03bcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03bd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03bd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03bd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03bdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03bf0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03bf8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-
-#define USB_DMA_INTERRUPT 0xffc03c00 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc03c04 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc03c08 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc03c0c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc03c10 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc03c14 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc03c24 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc03c28 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc03c2c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc03c30 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc03c34 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc03c44 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc03c48 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc03c4c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc03c50 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc03c54 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc03c64 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc03c68 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc03c6c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc03c70 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc03c74 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc03c84 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc03c88 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc03c8c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc03c90 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc03c94 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc03ca4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc03ca8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc03cac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc03cb0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc03cb4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc03cc4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc03cc8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc03ccc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc03cd0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc03cd4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc03ce4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc03ce8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc03cec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc03cf0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc03cf4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF527_H */
diff --git a/libgloss/bfin/include/defBF52x_base.h b/libgloss/bfin/include/defBF52x_base.h
deleted file mode 100644
index 6483d0f..0000000
--- a/libgloss/bfin/include/defBF52x_base.h
+++ /dev/null
@@ -1,2101 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF52x_base.h
-**
-** Copyright (C) 2007-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF52x peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _DEF_BF52X_H
-#define _DEF_BF52X_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-
-/* ************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF52x */
-/* ************************************************************** */
-
-/* ==== begin from defBF534.h ==== */
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control Register */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xFFC0000C /* PLL Status Register */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count Register */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register */
-#define SYSCR 0xFFC00104 /* System Configuration Register */
-
-#define SIC_IMASK0 0xFFC0010C /* Interrupt Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IMASK SIC_IMASK0
-
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-
-#define SIC_ISR0 0xFFC00120 /* Interrupt Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_ISR SIC_ISR0
-
-#define SIC_IWR0 0xFFC00124 /* Interrupt Wakeup Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IWR SIC_IWR0
-
-/* SIC Additions to ADSP-BF52x (0xFFC0014C - 0xFFC00162) */
-#define SIC_IMASK1 0xFFC0014C /* Interrupt Mask register of SIC2 */
-#define SIC_IAR4 0xFFC00150 /* Interrupt Assignment register4 */
-#define SIC_IAR5 0xFFC00154 /* Interrupt Assignment register5 */
-#define SIC_IAR6 0xFFC00158 /* Interrupt Assignment register6 */
-#define SIC_IAR7 0xFFC0015C /* Interrupt Assignment register7 */
-#define SIC_ISR1 0xFFC00160 /* Interrupt Statur register */
-#define SIC_IWR1 0xFFC00164 /* Interrupt Wakeup register */
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define RTC_STAT 0xFFC00300 /* RTC Status Register */
-#define RTC_ICTL 0xFFC00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xFFC00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xFFC0030C /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xFFC00310 /* RTC Alarm Time Register */
-#define RTC_FAST 0xFFC00314 /* RTC Prescaler Enable Register */
-#define RTC_PREN 0xFFC00314 /* RTC Prescaler Enable Alternate Macro */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_THR 0xFFC00400 /* Transmit Holding register */
-#define UART0_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART0_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC0040C /* Line Control Register */
-#define UART0_MCR 0xFFC00410 /* Modem Control Register */
-#define UART0_LSR 0xFFC00414 /* Line Status Register */
-#define UART0_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART0_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI_CTL 0xFFC00500 /* SPI Control Register */
-#define SPI_FLG 0xFFC00504 /* SPI Flag register */
-#define SPI_STAT 0xFFC00508 /* SPI Status register */
-#define SPI_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-#define SPI_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-#define SPI_BAUD 0xFFC00514 /* SPI Baud rate Register */
-#define SPI_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER3_CONFIG 0xFFC00630 /* Timer 3 Configuration Register */
-#define TIMER3_COUNTER 0xFFC00634 /* Timer 3 Counter Register */
-#define TIMER3_PERIOD 0xFFC00638 /* Timer 3 Period Register */
-#define TIMER3_WIDTH 0xFFC0063C /* Timer 3 Width Register */
-
-#define TIMER4_CONFIG 0xFFC00640 /* Timer 4 Configuration Register */
-#define TIMER4_COUNTER 0xFFC00644 /* Timer 4 Counter Register */
-#define TIMER4_PERIOD 0xFFC00648 /* Timer 4 Period Register */
-#define TIMER4_WIDTH 0xFFC0064C /* Timer 4 Width Register */
-
-#define TIMER5_CONFIG 0xFFC00650 /* Timer 5 Configuration Register */
-#define TIMER5_COUNTER 0xFFC00654 /* Timer 5 Counter Register */
-#define TIMER5_PERIOD 0xFFC00658 /* Timer 5 Period Register */
-#define TIMER5_WIDTH 0xFFC0065C /* Timer 5 Width Register */
-
-#define TIMER6_CONFIG 0xFFC00660 /* Timer 6 Configuration Register */
-#define TIMER6_COUNTER 0xFFC00664 /* Timer 6 Counter Register */
-#define TIMER6_PERIOD 0xFFC00668 /* Timer 6 Period Register */
-#define TIMER6_WIDTH 0xFFC0066C /* Timer 6 Width Register */
-
-#define TIMER7_CONFIG 0xFFC00670 /* Timer 7 Configuration Register */
-#define TIMER7_COUNTER 0xFFC00674 /* Timer 7 Counter Register */
-#define TIMER7_PERIOD 0xFFC00678 /* Timer 7 Period Register */
-#define TIMER7_WIDTH 0xFFC0067C /* Timer 7 Width Register */
-
-#define TIMER_ENABLE 0xFFC00680 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00684 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00688 /* Timer Status Register */
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define PORTFIO 0xFFC00700 /* Port F I/O Pin State Specify Register */
-#define PORTFIO_CLEAR 0xFFC00704 /* Port F I/O Peripheral Interrupt Clear Register */
-#define PORTFIO_SET 0xFFC00708 /* Port F I/O Peripheral Interrupt Set Register */
-#define PORTFIO_TOGGLE 0xFFC0070C /* Port F I/O Pin State Toggle Register */
-#define PORTFIO_MASKA 0xFFC00710 /* Port F I/O Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR 0xFFC00714 /* Port F I/O Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET 0xFFC00718 /* Port F I/O Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE 0xFFC0071C /* Port F I/O Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB 0xFFC00720 /* Port F I/O Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR 0xFFC00724 /* Port F I/O Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET 0xFFC00728 /* Port F I/O Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE 0xFFC0072C /* Port F I/O Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR 0xFFC00730 /* Port F I/O Direction Register */
-#define PORTFIO_POLAR 0xFFC00734 /* Port F I/O Source Polarity Register */
-#define PORTFIO_EDGE 0xFFC00738 /* Port F I/O Source Sensitivity Register */
-#define PORTFIO_BOTH 0xFFC0073C /* Port F I/O Set on BOTH Edges Register */
-#define PORTFIO_INEN 0xFFC00740 /* Port F I/O Input Enable Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-/* DMA Traffic Control Registers */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define DMA8_NEXT_DESC_PTR 0xFFC00E00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC00E04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC00E08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC00E10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC00E14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC00E18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC00E1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC00E20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC00E24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC00E28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC00E2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC00E30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC00E38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC00E40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC00E44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC00E48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC00E50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC00E54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC00E58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC00E5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC00E60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC00E64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC00E68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC00E6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC00E70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC00E78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC00E80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC00E84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC00E88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC00E90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC00E94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC00E98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC00E9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC00EA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC00EA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC00EA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC00EAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC00EB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC00EB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC00EC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC00EC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC00EC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC00ED0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC00ED4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC00ED8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC00EDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC00EE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC00EE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC00EE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC00EEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC00EF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC00EF8 /* DMA Channel 11 Current Y Count Register */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00F04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xFFC00F08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xFFC00F10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00F14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xFFC00F18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00F1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00F20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA_D0_CURR_ADDR 0xFFC00F24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00F28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00F30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00F38 /* MemDMA Stream 0 Destination Current Y Count Register */
-
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00F44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xFFC00F48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xFFC00F50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00F54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xFFC00F58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00F5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00F60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00F64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00F68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C /* MemDMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00F70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00F78 /* MemDMA Stream 0 Source Current Y Count Register */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00F84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xFFC00F88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xFFC00F90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00F94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xFFC00F98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00F9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA_D1_CURR_ADDR 0xFFC00FA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00FA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00FB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00FC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xFFC00FC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xFFC00FD0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00FD4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xFFC00FD8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00FDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00FE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00FE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC /* MemDMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00FF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8 /* MemDMA Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define TWI_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI_CONTROL 0xFFC01404 /* TWI Control Register */
-#define TWI_SLAVE_CTL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI_MASTER_CTL 0xFFC01414 /* Master Mode Control Register */
-#define TWI_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI_INT_STAT 0xFFC01420 /* TWI Interrupt Status Register */
-#define TWI_INT_MASK 0xFFC01424 /* TWI Master Interrupt Mask Register */
-#define TWI_FIFO_CTL 0xFFC01428 /* FIFO Control Register */
-#define TWI_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define PORTGIO 0xFFC01500 /* Port G I/O Pin State Specify Register */
-#define PORTGIO_CLEAR 0xFFC01504 /* Port G I/O Peripheral Interrupt Clear Register */
-#define PORTGIO_SET 0xFFC01508 /* Port G I/O Peripheral Interrupt Set Register */
-#define PORTGIO_TOGGLE 0xFFC0150C /* Port G I/O Pin State Toggle Register */
-#define PORTGIO_MASKA 0xFFC01510 /* Port G I/O Mask State Specify Interrupt A Register */
-#define PORTGIO_MASKA_CLEAR 0xFFC01514 /* Port G I/O Mask Disable Interrupt A Register */
-#define PORTGIO_MASKA_SET 0xFFC01518 /* Port G I/O Mask Enable Interrupt A Register */
-#define PORTGIO_MASKA_TOGGLE 0xFFC0151C /* Port G I/O Mask Toggle Enable Interrupt A Register */
-#define PORTGIO_MASKB 0xFFC01520 /* Port G I/O Mask State Specify Interrupt B Register */
-#define PORTGIO_MASKB_CLEAR 0xFFC01524 /* Port G I/O Mask Disable Interrupt B Register */
-#define PORTGIO_MASKB_SET 0xFFC01528 /* Port G I/O Mask Enable Interrupt B Register */
-#define PORTGIO_MASKB_TOGGLE 0xFFC0152C /* Port G I/O Mask Toggle Enable Interrupt B Register */
-#define PORTGIO_DIR 0xFFC01530 /* Port G I/O Direction Register */
-#define PORTGIO_POLAR 0xFFC01534 /* Port G I/O Source Polarity Register */
-#define PORTGIO_EDGE 0xFFC01538 /* Port G I/O Source Sensitivity Register */
-#define PORTGIO_BOTH 0xFFC0153C /* Port G I/O Set on BOTH Edges Register */
-#define PORTGIO_INEN 0xFFC01540 /* Port G I/O Input Enable Register */
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define PORTHIO 0xFFC01700 /* Port H I/O Pin State Specify Register */
-#define PORTHIO_CLEAR 0xFFC01704 /* Port H I/O Peripheral Interrupt Clear Register */
-#define PORTHIO_SET 0xFFC01708 /* Port H I/O Peripheral Interrupt Set Register */
-#define PORTHIO_TOGGLE 0xFFC0170C /* Port H I/O Pin State Toggle Register */
-#define PORTHIO_MASKA 0xFFC01710 /* Port H I/O Mask State Specify Interrupt A Register */
-#define PORTHIO_MASKA_CLEAR 0xFFC01714 /* Port H I/O Mask Disable Interrupt A Register */
-#define PORTHIO_MASKA_SET 0xFFC01718 /* Port H I/O Mask Enable Interrupt A Register */
-#define PORTHIO_MASKA_TOGGLE 0xFFC0171C /* Port H I/O Mask Toggle Enable Interrupt A Register */
-#define PORTHIO_MASKB 0xFFC01720 /* Port H I/O Mask State Specify Interrupt B Register */
-#define PORTHIO_MASKB_CLEAR 0xFFC01724 /* Port H I/O Mask Disable Interrupt B Register */
-#define PORTHIO_MASKB_SET 0xFFC01728 /* Port H I/O Mask Enable Interrupt B Register */
-#define PORTHIO_MASKB_TOGGLE 0xFFC0172C /* Port H I/O Mask Toggle Enable Interrupt B Register */
-#define PORTHIO_DIR 0xFFC01730 /* Port H I/O Direction Register */
-#define PORTHIO_POLAR 0xFFC01734 /* Port H I/O Source Polarity Register */
-#define PORTHIO_EDGE 0xFFC01738 /* Port H I/O Source Sensitivity Register */
-#define PORTHIO_BOTH 0xFFC0173C /* Port H I/O Set on BOTH Edges Register */
-#define PORTHIO_INEN 0xFFC01740 /* Port H I/O Input Enable Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_THR 0xFFC02000 /* Transmit Holding register */
-#define UART1_RBR 0xFFC02000 /* Receive Buffer register */
-#define UART1_DLL 0xFFC02000 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC02004 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC02004 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC02008 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC0200C /* Line Control Register */
-#define UART1_MCR 0xFFC02010 /* Modem Control Register */
-#define UART1_LSR 0xFFC02014 /* Line Status Register */
-#define UART1_SCR 0xFFC0201C /* SCR Scratch Register */
-#define UART1_GCTL 0xFFC02024 /* Global Control Register */
-
-
-/* Omit CAN register sets from the defBF534.h (CAN is not in the ADSP-BF52x processor) */
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define PORTF_FER 0xFFC03200 /* Port F Function Enable Register (Alternate/Flag*) */
-#define PORTG_FER 0xFFC03204 /* Port G Function Enable Register (Alternate/Flag*) */
-#define PORTH_FER 0xFFC03208 /* Port H Function Enable Register (Alternate/Flag*) */
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define HMDMA0_CONTROL 0xFFC03300 /* Handshake MDMA0 Control Register */
-#define HMDMA0_ECINIT 0xFFC03304 /* HMDMA0 Initial Edge Count Register */
-#define HMDMA0_BCINIT 0xFFC03308 /* HMDMA0 Initial Block Count Register */
-#define HMDMA0_ECURGENT 0xFFC0330C /* HMDMA0 Urgent Edge Count Threshhold Register */
-#define HMDMA0_ECOVERFLOW 0xFFC03310 /* HMDMA0 Edge Count Overflow Interrupt Register */
-#define HMDMA0_ECOUNT 0xFFC03314 /* HMDMA0 Current Edge Count Register */
-#define HMDMA0_BCOUNT 0xFFC03318 /* HMDMA0 Current Block Count Register */
-
-#define HMDMA1_CONTROL 0xFFC03340 /* Handshake MDMA1 Control Register */
-#define HMDMA1_ECINIT 0xFFC03344 /* HMDMA1 Initial Edge Count Register */
-#define HMDMA1_BCINIT 0xFFC03348 /* HMDMA1 Initial Block Count Register */
-#define HMDMA1_ECURGENT 0xFFC0334C /* HMDMA1 Urgent Edge Count Threshhold Register */
-#define HMDMA1_ECOVERFLOW 0xFFC03350 /* HMDMA1 Edge Count Overflow Interrupt Register */
-#define HMDMA1_ECOUNT 0xFFC03354 /* HMDMA1 Current Edge Count Register */
-#define HMDMA1_BCOUNT 0xFFC03358 /* HMDMA1 Current Block Count Register */
-
-/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
-#define PORTF_MUX 0xFFC03210 /* Port F mux control */
-#define PORTG_MUX 0xFFC03214 /* Port G mux control */
-#define PORTH_MUX 0xFFC03218 /* Port H mux control */
-#define PORTF_DRIVE 0xFFC03220 /* Port F drive strength control */
-#define PORTG_DRIVE 0xFFC03224 /* Port G drive strength control */
-#define PORTH_DRIVE 0xFFC03228 /* Port H drive strength control */
-#define PORTF_HYSTERESIS 0xFFC03240 /* Port F Schmitt trigger control */
-#define PORTG_HYSTERESIS 0xFFC03244 /* Port G Schmitt trigger control */
-#define PORTH_HYSTERESIS 0xFFC03248 /* Port H Schmitt trigger control */
-#define NONGPIO_DRIVE 0xFFC03280 /* Drive strength control for non-GPIO pins */
-#define NONGPIO_HYSTERESIS 0xFFC03288 /* Schmitt trigger control for non-GPIO pins */
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-/*
-** ********************* PLL AND RESET MASKS ****************************************/
-/* PLL_CTL Masks */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* PLL Not Powered */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Enter Deep Sleep Mode */
-#define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */
-#define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks */
-#define FREQ 0x3000 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_085 0x0040 /* VLEV = 0.85 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_090 0x0050 /* VLEV = 0.90 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_095 0x0060 /* VLEV = 0.95 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_100 0x0070 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x0080 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x0090 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00A0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00B0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-#define USBWE 0x0200 /* Enable USB Wakeup From Hibernate */
-#define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */
-#define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */
-#define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */
-#define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-#define VSTAT 0x0080 /* Voltage Regulator Status: Regulator at programmed voltage */
-
-/* SWRST Masks */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-
-#define BMODE_BYPASS 0x0000 /* Bypass boot ROM, execute from 16-bit external memory */
-#define BMODE_FLASH 0x0001 /* Use Boot ROM to load from 8-bit or 16-bit flash */
-#define BMODE_SPIMEM 0x0003 /* Boot from serial SPI memory */
-#define BMODE_SPIHOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_TWIMEM 0x0005 /* Boot from serial TWI memory */
-#define BMODE_TWIHOST 0x0006 /* Boot from TWI0 host (slave mode) */
-#define BMODE_UART0HOST 0x0007 /* Boot from UART0 host */
-#define BMODE_UART1HOST 0x0008 /* Boot from UART1 host */
-#define BMODE_SDRAMMEM 0x000A /* Boot from SDRAM memory (warm boot) */
-#define BMODE_OTPMEM 0x000B /* Boot from OTP memory */
-#define BMODE_HOSTDMA_ACK 0x000E /* Boot from 16-bit host DMA (ACK mode) */
-#define BMODE_HOSTDMA_INT 0x000F /* Boot from 8-bit host DMA (INT mode) */
-#define BMODE 0x000F /* Boot Mode. Mirror of BMODE Mode Pins */
-
-#define BCODE 0x00F0
-#define BCODE_NORMAL 0x0000 /* normal boot, update PLL/VR, quickboot as by WURESET */
-#define BCODE_NOBOOT 0x0010 /* bypass boot, don't update PLL/VR */
-#define BCODE_QUICKBOOT 0x0020 /* quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_ALLBOOT 0x0040 /* no quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_FULLBOOT 0x0060 /* no quick boot, overrule WURESET, update PLL/VR */
-
-#define DCB1_PRIO 0x0100 /* DCB1 requests are urgent */
-#define DCB_ROT_PRIO 0x0200 /* enable rotating DCB priority */
-#define DEB1_PRIO 0x0400 /* DEB1 requests are urgent */
-#define DEB_ROT_PRIO 0x0800 /* enable rotating DEB priority */
-
-#define WURESET 0x1000 /* wakeup event since last hardware reset */
-#define DFRESET 0x2000 /* recent reset was due to a double fault event */
-#define WDRESET 0x4000 /* recent reset was due to a watchdog event */
-#define SWRESET 0x8000 /* recent reset was issued by software */
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS *************************************/
-/* Peripheral Masks For SIC_ISR0, SIC_IWR0, SIC_IMASK0 */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt */
-
-#define IRQ_DMA_ERR0 0x00000002 /* Error Interrupt (DMA error 0 interrupt (generic)) */
-#define IRQ_DMAR0 0x00000004 /* DMAR0 Block (DMAR0 block interrupt) */
-#define IRQ_DMAR1 0x00000008 /* DMAR1 Block (DMAR1 block interrupt) */
-#define IRQ_DMAR0_ERR 0x00000010 /* Error Interrupt (DMAR0 overflow error interrupt) */
-#define IRQ_DMAR1_ERR 0x00000020 /* Error Interrupt (DMAR1 overflow error interrupt) */
-#define IRQ_PPI_ERR 0x00000040 /* Error Interrupt (PPI error interrupt) */
-#define IRQ_MAC_ERR 0x00000080 /* Error Interrupt (MAC status interrupt) */
-#define IRQ_SPORT0_ERR 0x00000100 /* Error Interrupt (SPORT0 status interrupt) */
-#define IRQ_SPORT1_ERR 0x00000200 /* Error Interrupt (SPORT1 status interrupt) */
-#define IRQ_UART0_ERR 0x00001000 /* Error Interrupt (UART0 status interrupt) */
-#define IRQ_UART1_ERR 0x00002000 /* Error Interrupt (UART1 status interrupt) */
-#define IRQ_RTC 0x00004000 /* Real Time Clock Interrupt */
-#define IRQ_DMA0 0x00008000 /* DMA channel 0 (PPI/NFC) Interrupt */
-#define IRQ_DMA3 0x00010000 /* DMA Channel 3 (SPORT0 RX) Interrupt */
-#define IRQ_DMA4 0x00020000 /* DMA Channel 4 (SPORT0 TX) Interrupt */
-#define IRQ_DMA5 0x00040000 /* DMA Channel 5 (SPORT1 RX) Interrupt */
-#define IRQ_DMA6 0x00080000 /* DMA Channel 6 (SPORT1 TX) Interrupt */
-#define IRQ_TWI 0x00100000 /* TWI Interrupt */
-#define IRQ_DMA7 0x00200000 /* DMA Channel 7 (SPI) Interrupt */
-#define IRQ_DMA8 0x00400000 /* DMA Channel 8 (UART0 RX) Interrupt */
-#define IRQ_DMA9 0x00800000 /* DMA Channel 9 (UART0 TX) Interrupt */
-#define IRQ_DMA10 0x01000000 /* DMA Channel 10 (UART1 RX) Interrupt */
-#define IRQ_DMA11 0x02000000 /* DMA Channel 11 (UART1 TX) Interrupt */
-#define IRQ_OTP 0x04000000 /* OTP Interrupt */
-#define IRQ_CNT 0x08000000 /* GP Counter Interrupt */
-#define IRQ_DMA1 0x10000000 /* DMA Channel 1 (EthernetRX/HOSTDP) Interrupt */
-#define IRQ_PFA_PORTH 0x20000000 /* PF Port H Interrupt A */
-#define IRQ_DMA2 0x40000000 /* DMA Channel 2 (Ethernet TX/NFC) Interrupt */
-#define IRQ_PFB_PORTH 0x80000000 /* PF Port H Interrupt B */
-
-/* Peripheral Masks For SIC_ISR1, SIC_IWR1, SIC_IMASK1 */
-
-#define IRQ_TIMER0 0x00000001 /* Timer 0 Interrupt */
-#define IRQ_TIMER1 0x00000002 /* Timer 1 Interrupt */
-#define IRQ_TIMER2 0x00000004 /* Timer 2 Interrupt */
-#define IRQ_TIMER3 0x00000008 /* Timer 3 Interrupt */
-#define IRQ_TIMER4 0x00000010 /* Timer 4 Interrupt */
-#define IRQ_TIMER5 0x00000020 /* Timer 5 Interrupt */
-#define IRQ_TIMER6 0x00000040 /* Timer 6 Interrupt */
-#define IRQ_TIMER7 0x00000080 /* Timer 7 Interrupt */
-#define IRQ_PFA_PORTG 0x00000100 /* PF Port G Interrupt A */
-#define IRQ_PFB_PORTG 0x00000200 /* PF Port G Interrupt B */
-#define IRQ_DMA12 0x00000400 /* DMA Channels 12 (MDMA0 Destination) TX Interrupt */
-#define IRQ_DMA13 0x00000400 /* DMA Channels 13 (MDMA0 Source) RX Interrupt */
-#define IRQ_DMA14 0x00000800 /* DMA Channels 14 (MDMA1 Destination) TX Interrupt */
-#define IRQ_DMA15 0x00000800 /* DMA Channels 15 (MDMA1 Source) RX Interrupt */
-#define IRQ_WDOG 0x00001000 /* Software Watchdog Timer Interrupt */
-#define IRQ_PFA_PORTF 0x00002000 /* PF Port F Interrupt A */
-#define IRQ_PFB_PORTF 0x00004000 /* PF Port F Interrupt B */
-#define IRQ_SPI_ERR 0x00008000 /* Error Interrupt (SPI status interrupt) */
-#define IRQ_NAND_ERR 0x00010000 /* NAND error interrupt */
-#define IRQ_HOSTDP_STATUS 0x00020000 /* HOSTDP status interrupt */
-#define IRQ_HOSTRD_DONE 0x00040000 /* Host Read Done interrupt */
-#define IRQ_USB_EINT 0x00080000 /* USB EINT interrupt */
-#define IRQ_USB_INT0 0x00100000 /* USB INT0 interrupt */
-#define IRQ_USB_INT1 0x00200000 /* USB INT1 interrupt */
-#define IRQ_USB_INT2 0x00400000 /* USB INT1 interrupt */
-#define IRQ_USB_DMAINT 0x00800000 /* USB DMAINT interrupt */
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#define IWR_ENABLE(x) (1 << (x)) /* Wakeup Enable Peripheral #x */
-#ifdef _MISRA_RULES
-#define IWR_DISABLE(x) (0xFFFFFFFFu^(1<<(x)))/* Wakeup Disable Peripheral #x */
-#else
-#define IWR_DISABLE(x) (0xFFFFFFFF^(1<<(x)))/* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) /* Reserved */
-#define P11_IVG(x) /* Reserved */
-#define P12_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P32_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P40_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) ((((x)&_MF15)-_MF7) << 0xC) /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR6 Macros */
-#define P48_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) ((((x)&_MF15)-_MF7) << 0x4) /* Peripheral #49 assigned IVG #x */
-#define P50_IVG(x) ((((x)&_MF15)-_MF7) << 0x8) /* Peripheral #50 assigned IVG #x */
-#define P51_IVG(x) /* Reserved */
-#define P52_IVG(x) ((((x)&_MF15)-_MF7) << 0x10) /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) ((((x)&_MF15)-_MF7) << 0x14) /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) ((((x)&_MF15)-_MF7) << 0x18) /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) ((((x)&_MF15)-_MF7) << 0x1C) /* Peripheral #55 assigned IVG #x */
-
-/* SIC_IAR7 Macros */
-#define P56_IVG(x) /* Reserved */
-#define P57_IVG(x) /* Reserved */
-#define P58_IVG(x) /* Reserved */
-#define P59_IVG(x) /* Reserved */
-#define P60_IVG(x) /* Reserved */
-#define P61_IVG(x) /* Reserved */
-#define P62_IVG(x) /* Reserved */
-#define P63_IVG(x) /* Reserved */
-
-
-/* SIC_IMASK0 Masks*/
-#define SIC_UNMASK0_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK0_ALL 0xFFFFF3FF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK0(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK0(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK0(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IMASK1 Masks*/
-#define SIC_UNMASK1_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK1_ALL 0xFFFFFF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK1(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK1(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK1(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-
-/* SIC_IWR0 Masks*/
-#define IWR0_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR0_ENABLE_ALL 0xFFFFF3FF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR0_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR0_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR0_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR1 Masks*/
-#define IWR1_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR1_ENABLE_ALL 0xFFFFFF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR1_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /* Wakeup Disable Peripheral #x*/
-#else
-#define IWR1_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR1_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))/* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-
-
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define TMR_DIS WDDIS
-#define TRO WDRO
-#define ICTL_P0 0x01
- #define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-
-/* *************** REAL TIME CLOCK MASKS **************************/
-/* RTC_STAT and RTC_ALARM Masks */
-#define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */
-#define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */
-#define RTC_HR 0x0001F000 /* Real-Time Clock Hours */
-#define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */
-
-/* RTC_ALARM Macro z=day y=hr x=min w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* RTC_ICTL and RTC_ISTAT Masks */
-#define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */
-#define ALARM 0x0002 /* Alarm Interrupt Enable */
-#define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */
-#define MINUTE 0x0008 /* Minutes Interrupt Enable */
-#define HOUR 0x0010 /* Hours Interrupt Enable */
-#define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */
-#define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WRITE_PENDING 0x4000 /* Write Pending Status */
-#define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */
-
-/* RTC_FAST / RTC_PREN Mask */
-#define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */
-
-
-/* ************** UART CONTROLLER MASKS *************************/
-/* UARTx_LCR Masks */
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-/* UARTx_MCR Mask */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-
-/* UARTx_LSR Masks */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-/* UARTx_IER Masks */
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-/* UARTx_IIR Masks */
-#define NINT 0x01 /* Pending Interrupt */
-#define STATUS 0x06 /* Highest Priority Pending Interrupt */
-
-/* UARTx_GCTL Masks */
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-/* Bit masks for UART Divisor Latch Registers: UARTx_DLL & UARTx_DLH */
-#define UARTDLL 0x00FF /* Divisor Latch Low Byte */
-#define UARTDLH 0xFF00 /* Divisor Latch High Byte */
-
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ****************************/
-/* SPI_CTL Masks */
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPI_FLG Masks */
-#define FLS1 0x0002 /* Enables SPI_FLOUT1 as SPI Slave-Select Output */
-#define FLS2 0x0004 /* Enables SPI_FLOUT2 as SPI Slave-Select Output */
-#define FLS3 0x0008 /* Enables SPI_FLOUT3 as SPI Slave-Select Output */
-#define FLS4 0x0010 /* Enables SPI_FLOUT4 as SPI Slave-Select Output */
-#define FLS5 0x0020 /* Enables SPI_FLOUT5 as SPI Slave-Select Output */
-#define FLS6 0x0040 /* Enables SPI_FLOUT6 as SPI Slave-Select Output */
-#define FLS7 0x0080 /* Enables SPI_FLOUT7 as SPI Slave-Select Output */
-#define FLG1 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7 0x7FFF /* Activates SPI_FLOUT7 */
-
-/* SPI_STAT Masks */
-#define SPIF 0x0001 /* SPI Finished (Single-Word Transfer Complete) */
-#define MODF 0x0002 /* Mode Fault Error (Another Device Tried To Become Master) */
-#define TXE 0x0004 /* Transmission Error (Data Sent With No New Data In TDBR) */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (Full/Empty*) */
-#define RBSY 0x0010 /* Receive Error (Data Received With RDBR Full) */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (Full/Empty*) */
-#define TXCOL 0x0040 /* Transmit Collision Error (Corrupt Data May Have Been Sent) */
-
-
-/* **************** GENERAL PURPOSE TIMER MASKS **********************/
-/* TIMER_ENABLE Masks */
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-#define TIMEN3 0x0008 /* Enable Timer 3 */
-#define TIMEN4 0x0010 /* Enable Timer 4 */
-#define TIMEN5 0x0020 /* Enable Timer 5 */
-#define TIMEN6 0x0040 /* Enable Timer 6 */
-#define TIMEN7 0x0080 /* Enable Timer 7 */
-
-/* TIMER_DISABLE Masks */
-#define TIMDIS0 TIMEN0 /* Disable Timer 0 */
-#define TIMDIS1 TIMEN1 /* Disable Timer 1 */
-#define TIMDIS2 TIMEN2 /* Disable Timer 2 */
-#define TIMDIS3 TIMEN3 /* Disable Timer 3 */
-#define TIMDIS4 TIMEN4 /* Disable Timer 4 */
-#define TIMDIS5 TIMEN5 /* Disable Timer 5 */
-#define TIMDIS6 TIMEN6 /* Disable Timer 6 */
-#define TIMDIS7 TIMEN7 /* Disable Timer 7 */
-
-/* TIMER_STATUS Masks */
-#define TIMIL0 0x00000001 /* Timer 0 Interrupt */
-#define TIMIL1 0x00000002 /* Timer 1 Interrupt */
-#define TIMIL2 0x00000004 /* Timer 2 Interrupt */
-#define TIMIL3 0x00000008 /* Timer 3 Interrupt */
-#define TOVF_ERR0 0x00000010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x00000020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x00000040 /* Timer 2 Counter Overflow */
-#define TOVF_ERR3 0x00000080 /* Timer 3 Counter Overflow */
-#define TRUN0 0x00001000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x00002000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x00004000 /* Timer 2 Slave Enable Status */
-#define TRUN3 0x00008000 /* Timer 3 Slave Enable Status */
-#define TIMIL4 0x00010000 /* Timer 4 Interrupt */
-#define TIMIL5 0x00020000 /* Timer 5 Interrupt */
-#define TIMIL6 0x00040000 /* Timer 6 Interrupt */
-#define TIMIL7 0x00080000 /* Timer 7 Interrupt */
-#define TOVF_ERR4 0x00100000 /* Timer 4 Counter Overflow */
-#define TOVF_ERR5 0x00200000 /* Timer 5 Counter Overflow */
-#define TOVF_ERR6 0x00400000 /* Timer 6 Counter Overflow */
-#define TOVF_ERR7 0x00800000 /* Timer 7 Counter Overflow */
-#define TRUN4 0x10000000 /* Timer 4 Slave Enable Status */
-#define TRUN5 0x20000000 /* Timer 5 Slave Enable Status */
-#define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */
-#define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR3 TOVF_ERR3
-#define TOVL_ERR4 TOVF_ERR4
-#define TOVL_ERR5 TOVF_ERR5
-#define TOVL_ERR6 TOVF_ERR6
-#define TOVL_ERR7 TOVF_ERR7
-
-/* TIMERx_CONFIG Masks */
-#define PWM_OUT 0x0001 /* Pulse-Width Modulation Output Mode */
-#define WDTH_CAP 0x0002 /* Width Capture Input Mode */
-#define EXT_CLK 0x0003 /* External Clock Mode */
-#define PULSE_HI 0x0004 /* Action Pulse (Positive/Negative*) */
-#define PERIOD_CNT 0x0008 /* Period Count */
-#define IRQ_ENA 0x0010 /* Interrupt Request Enable */
-#define TIN_SEL 0x0020 /* Timer Input Select */
-#define OUT_DIS 0x0040 /* Output Pad Disable */
-#define CLK_SEL 0x0080 /* Timer Clock Select */
-#define TOGGLE_HI 0x0100 /* PWM_OUT PULSE_HI Toggle Mode */
-#define EMU_RUN 0x0200 /* Emulation Behavior Select */
-#define ERR_TYP 0xC000 /* Error Type */
-
-
-/* ****************** GPIO PORTS F, G, H MASKS ***********************/
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
-/* Port F Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* Port G Masks */
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* Port H Masks */
-#define PH0 0x0001
-#define PH1 0x0002
-#define PH2 0x0004
-#define PH3 0x0008
-#define PH4 0x0010
-#define PH5 0x0020
-#define PH6 0x0040
-#define PH7 0x0080
-#define PH8 0x0100
-#define PH9 0x0200
-#define PH10 0x0400
-#define PH11 0x0800
-#define PH12 0x1000
-#define PH13 0x2000
-#define PH14 0x4000
-#define PH15 0x8000
-
-
-/* ******************* SERIAL PORT MASKS **************************************/
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* Transmit Enable */
-#define ITCLK 0x0002 /* Internal Transmit Clock Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* Transmit Bit Order */
-#define ITFS 0x0200 /* Internal Transmit Frame Sync Select */
-#define TFSR 0x0400 /* Transmit Frame Sync Required Select */
-#define DITFS 0x0800 /* Data-Independent Transmit Frame Sync Select */
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define LATFS 0x2000 /* Late Transmit Frame Sync Select */
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks and Macro */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define TXSE 0x0100 /* TX Secondary Enable */
-#define TSFSE 0x0200 /* Transmit Stereo Frame Sync Enable */
-#define TRFST 0x0400 /* Left/Right Order (1 = Right Channel 1st) */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* Receive Enable */
-#define IRCLK 0x0002 /* Internal Receive Clock Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* Receive Bit Order */
-#define IRFS 0x0200 /* Internal Receive Frame Sync Select */
-#define RFSR 0x0400 /* Receive Frame Sync Required Select */
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define LARFS 0x2000 /* Late Receive Frame Sync Select */
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#define RXSE 0x0100 /* RX Secondary Enable */
-#define RSFSE 0x0200 /* RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /* Right-First Data Order */
-
-/* SPORTx_STAT Masks */
-#define RXNE 0x0001 /* Receive FIFO Not Empty Status */
-#define RUVF 0x0002 /* Sticky Receive Underflow Status */
-#define ROVF 0x0004 /* Sticky Receive Overflow Status */
-#define TXF 0x0008 /* Transmit FIFO Full Status */
-#define TUVF 0x0010 /* Sticky Transmit Underflow Status */
-#define TOVF 0x0020 /* Sticky Transmit Overflow Status */
-#define TXHRE 0x0040 /* Transmit Hold Register Empty */
-
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-
-#else
-#define WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-
-#endif /* _MISRA_RULES */
-
-/* SPORTx_MCMC2 Masks */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /* Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /* Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /* Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /* Multichannel Frame Sync to Data Relationship */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN 0x000e /* Async bank enable */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Async Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Async Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Async Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Async Memory Banks (all) 0, 1, 2, and 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 (B0) RDY Enable */
-#define B0RDYPOL 0x00000002 /* B0 RDY Active High */
-#define B0TT_1 0x00000004 /* B0 Transition Time (Read to Write) = 1 cycle */
-#define B0TT_2 0x00000008 /* B0 Transition Time (Read to Write) = 2 cycles */
-#define B0TT_3 0x0000000C /* B0 Transition Time (Read to Write) = 3 cycles */
-#define B0TT_4 0x00000000 /* B0 Transition Time (Read to Write) = 4 cycles */
-#define B0ST_1 0x00000010 /* B0 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B0ST_2 0x00000020 /* B0 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B0ST_3 0x00000030 /* B0 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B0ST_4 0x00000000 /* B0 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B0HT_1 0x00000040 /* B0 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B0HT_2 0x00000080 /* B0 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B0HT_3 0x000000C0 /* B0 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B0HT_0 0x00000000 /* B0 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B0RAT_1 0x00000100 /* B0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* B0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* B0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* B0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* B0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* B0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* B0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* B0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* B0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* B0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* B0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* B0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* B0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* B0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* B0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* B0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* B0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* B0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* B0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* B0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* B0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* B0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* B0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* B0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* B0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* B0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* B0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* B0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* B0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* B0 Write Access Time = 15 cycles */
-
-#define B1RDYEN 0x00010000 /* Bank 1 (B1) RDY Enable */
-#define B1RDYPOL 0x00020000 /* B1 RDY Active High */
-#define B1TT_1 0x00040000 /* B1 Transition Time (Read to Write) = 1 cycle */
-#define B1TT_2 0x00080000 /* B1 Transition Time (Read to Write) = 2 cycles */
-#define B1TT_3 0x000C0000 /* B1 Transition Time (Read to Write) = 3 cycles */
-#define B1TT_4 0x00000000 /* B1 Transition Time (Read to Write) = 4 cycles */
-#define B1ST_1 0x00100000 /* B1 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B1ST_2 0x00200000 /* B1 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B1ST_3 0x00300000 /* B1 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B1ST_4 0x00000000 /* B1 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B1HT_1 0x00400000 /* B1 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B1HT_2 0x00800000 /* B1 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B1HT_3 0x00C00000 /* B1 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B1HT_0 0x00000000 /* B1 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B1RAT_1 0x01000000 /* B1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* B1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* B1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* B1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* B1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* B1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* B1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* B1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* B1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* B1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* B1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* B1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* B1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* B1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* B1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* B1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* B1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* B1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* B1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* B1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* B1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* B1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* B1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* B1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* B1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* B1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* B1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* B1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* B1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* B1 Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 (B2) RDY Enable */
-#define B2RDYPOL 0x00000002 /* B2 RDY Active High */
-#define B2TT_1 0x00000004 /* B2 Transition Time (Read to Write) = 1 cycle */
-#define B2TT_2 0x00000008 /* B2 Transition Time (Read to Write) = 2 cycles */
-#define B2TT_3 0x0000000C /* B2 Transition Time (Read to Write) = 3 cycles */
-#define B2TT_4 0x00000000 /* B2 Transition Time (Read to Write) = 4 cycles */
-#define B2ST_1 0x00000010 /* B2 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B2ST_2 0x00000020 /* B2 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B2ST_3 0x00000030 /* B2 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B2ST_4 0x00000000 /* B2 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B2HT_1 0x00000040 /* B2 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B2HT_2 0x00000080 /* B2 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B2HT_3 0x000000C0 /* B2 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B2HT_0 0x00000000 /* B2 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B2RAT_1 0x00000100 /* B2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* B2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* B2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* B2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* B2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* B2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* B2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* B2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* B2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* B2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* B2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* B2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* B2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* B2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* B2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* B2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* B2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* B2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* B2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* B2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* B2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* B2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* B2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* B2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* B2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* B2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* B2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* B2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* B2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* B2 Write Access Time = 15 cycles */
-
-#define B3RDYEN 0x00010000 /* Bank 3 (B3) RDY Enable */
-#define B3RDYPOL 0x00020000 /* B3 RDY Active High */
-#define B3TT_1 0x00040000 /* B3 Transition Time (Read to Write) = 1 cycle */
-#define B3TT_2 0x00080000 /* B3 Transition Time (Read to Write) = 2 cycles */
-#define B3TT_3 0x000C0000 /* B3 Transition Time (Read to Write) = 3 cycles */
-#define B3TT_4 0x00000000 /* B3 Transition Time (Read to Write) = 4 cycles */
-#define B3ST_1 0x00100000 /* B3 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B3ST_2 0x00200000 /* B3 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B3ST_3 0x00300000 /* B3 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B3ST_4 0x00000000 /* B3 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B3HT_1 0x00400000 /* B3 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B3HT_2 0x00800000 /* B3 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B3HT_3 0x00C00000 /* B3 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B3HT_0 0x00000000 /* B3 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B3RAT_1 0x01000000 /* B3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* B3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* B3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* B3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* B3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* B3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* B3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* B3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* B3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* B3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* B3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* B3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* B3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* B3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* B3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* B3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* B3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* B3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* B3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* B3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* B3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* B3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* B3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* B3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* B3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* B3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* B3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* B3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* B3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* B3 Write Access Time = 15 cycles */
-
-
-/* ********************** SDRAM CONTROLLER MASKS **********************************************/
-/* EBIU_SDGCTL Masks */
-#define SCTLE 0x00000001 /* Enable SDRAM Signals */
-#define CL_2 0x00000008 /* SDRAM CAS Latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS Latency = 3 cycles */
-/* EBIU_SDGCTL Masks */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-#define PUPSD 0x00200000 /* Power-Up Start Delay (15 SCLK Cycles Delay) */
-#define PSM 0x00400000 /* Power-Up Sequence (Mode Register Before/After* Refresh) */
-#define PSS 0x00800000 /* Enable Power-Up Sequence on Next SDRAM Access */
-#define SRFS 0x01000000 /* Enable SDRAM Self-Refresh Mode */
-#define EBUFE 0x02000000 /* Enable External Buffering Timing */
-#define FBBRW 0x04000000 /* Enable Fast Back-To-Back Read To Write */
-#define EMREN 0x10000000 /* Extended Mode Register Enable */
-#define TCSR 0x20000000 /* Temp-Compensated Self-Refresh Value (85/45* Deg C) */
-#define CDDBG 0x40000000 /* Tristate SDRAM Controls During Bus Grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBE 0x0001 /* Enable SDRAM External Bank */
-#define EBSZ_16 0x0000 /* SDRAM External Bank Size = 16MB */
-#define EBSZ_32 0x0002 /* SDRAM External Bank Size = 32MB */
-#define EBSZ_64 0x0004 /* SDRAM External Bank Size = 64MB */
-#define EBSZ_128 0x0006 /* SDRAM External Bank Size = 128MB */
-#define EBSZ 0x0006 /* SDRAM external bank size */
-#define EBCAW_8 0x0000 /* SDRAM External Bank Column Address Width = 8 Bits */
-#define EBCAW_9 0x0010 /* SDRAM External Bank Column Address Width = 9 Bits */
-#define EBCAW_10 0x0020 /* SDRAM External Bank Column Address Width = 10 Bits */
-#define EBCAW_11 0x0030 /* SDRAM External Bank Column Address Width = 11 Bits */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x0001 /* SDRAM Controller Idle */
-#define SDSRA 0x0002 /* SDRAM Self-Refresh Active */
-#define SDPUA 0x0004 /* SDRAM Power-Up Active */
-#define SDRS 0x0008 /* SDRAM Will Power-Up On Next Access */
-#define SDEASE 0x0010 /* SDRAM EAB Sticky Error Status */
-#define BGSTAT 0x0020 /* Bus Grant Status */
-
-
-/* ************************** DMA CONTROLLER MASKS ********************************/
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* DMA Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define DMA2D 0x0010 /* DMA Mode (2D/1D*) */
-#define SYNC 0x0020 /* DMA Buffer Clear */
-#define DI_SEL 0x0040 /* Data Interrupt Timing Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-#define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */
-#define PMAP 0xF000 /* Peripheral Mapped To This Channel */
-#define PMAP_PPI 0x0000 /* PPI Port DMA */
-#define PMAP_EMACRX 0x1000 /* Ethernet Receive DMA */
-#define PMAP_EMACTX 0x2000 /* Ethernet Transmit DMA */
-#define PMAP_SPORT0RX 0x3000 /* SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x4000 /* SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x5000 /* SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x6000 /* SPORT1 Transmit DMA */
-#define PMAP_SPI 0x7000 /* SPI Port DMA */
-#define PMAP_UART0RX 0x8000 /* UART0 Port Receive DMA */
-#define PMAP_UART0TX 0x9000 /* UART0 Port Transmit DMA */
-#define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */
-#define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */
-#define DMA_ERR 0x0002 /* DMA Error Interrupt Status */
-#define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Channel Running Indicator */
-
-
-/* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */
-/* previous versions of defBF532.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLEN_8 0x0000 /* Data Length = 8 Bits */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-/* PPI_STATUS Masks */
-#define LT_ERR_OVR 0x0100 /* Line Track Overflow Error */
-#define LT_ERR_UNDR 0x0200 /* Line Track Underflow Error */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/* ******************** TWO-WIRE INTERFACE (TWI) MASKS ***********************/
-/* TWI_CLKDIV Macros (Use: *pTWI_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8) /* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWI_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWI_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWI_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWI_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWI_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWI_INT_SRC and TWI_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWI_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWI_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/* Omit CAN masks from defBF534.h */
-
-/* ******************* PIN CONTROL REGISTER MASKS ************************/
-/* PORT_MUX deleted in VisualDSP++ 5.0 Update 3 */
-
-
-/* ****************** HANDSHAKE DMA (HMDMA) MASKS *********************/
-/* HMDMAx_CTL Masks */
-#define HMDMAEN 0x0001 /* Enable Handshake DMA 0/1 */
-#define REP 0x0002 /* HMDMA Request Polarity */
-#define UTE 0x0004 /* Urgency Threshold Enable */
-#define OIE 0x0010 /* Overflow Interrupt Enable */
-#define BDIE 0x0020 /* Block Done Interrupt Enable */
-#define MBDI 0x0040 /* Mask Block Done IRQ If Pending ECNT */
-#define DRQ 0x0300 /* HMDMA Request Type */
-#define DRQ_NONE 0x0000 /* No Request */
-#define DRQ_SINGLE 0x0100 /* Channels Request Single */
-#define DRQ_MULTI 0x0200 /* Channels Request Multi (Default) */
-#define DRQ_URGENT 0x0300 /* Channels Request Multi Urgent */
-#define RBC 0x1000 /* Reload BCNT With IBCNT */
-#define PS 0x2000 /* HMDMA Pin Status */
-#define OI 0x4000 /* Overflow Interrupt Generated */
-#define BDI 0x8000 /* Block Done Interrupt Generated */
-
-/* entry addresses of the user-callable Boot ROM functions */
-
-#define _BOOTROM_RESET 0xEF000000
-#define _BOOTROM_FINAL_INIT 0xEF000002
-#define _BOOTROM_DO_MEMORY_DMA 0xEF000006
-#define _BOOTROM_BOOT_DXE_FLASH 0xEF000008
-#define _BOOTROM_BOOT_DXE_SPI 0xEF00000A
-#define _BOOTROM_BOOT_DXE_TWI 0xEF00000C
-#define _BOOTROM_GET_DXE_ADDRESS_FLASH 0xEF000010
-#define _BOOTROM_GET_DXE_ADDRESS_SPI 0xEF000012
-#define _BOOTROM_GET_DXE_ADDRESS_TWI 0xEF000014
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define CKELOW SCKELOW
-
-/* ==== end from defBF534.h ==== */
-
-/* HOST Port Registers */
-
-#define HOST_CONTROL 0xffc03400 /* HOSTDP Control Register */
-#define HOST_STATUS 0xffc03404 /* HOSTDP Status Register */
-#define HOST_TIMEOUT 0xffc03408 /* HOSTDP Acknowledge Mode Timeout Register */
-
-/* Counter Registers */
-
-#define CNT_CONFIG 0xffc03500 /* Configuration Register */
-#define CNT_IMASK 0xffc03504 /* Interrupt Mask Register */
-#define CNT_STATUS 0xffc03508 /* Status Register */
-#define CNT_COMMAND 0xffc0350c /* Command Register */
-#define CNT_DEBOUNCE 0xffc03510 /* Debounce Register */
-#define CNT_COUNTER 0xffc03514 /* Counter Register */
-#define CNT_MAX 0xffc03518 /* Maximal Count Register */
-#define CNT_MIN 0xffc0351c /* Minimal Count Register */
-
-/* OTP/FUSE Registers */
-
-#define OTP_CONTROL 0xffc03600 /* OTP/Fuse Control Register */
-#define OTP_BEN 0xffc03604 /* OTP/Fuse Byte Enable */
-#define OTP_STATUS 0xffc03608 /* OTP/Fuse Status */
-#define OTP_TIMING 0xffc0360c /* OTP/Fuse Access Timing */
-
-/* Security Registers */
-
-#define SECURE_SYSSWT 0xffc03620 /* Secure System Switches */
-#define SECURE_CONTROL 0xffc03624 /* Secure Control */
-#define SECURE_STATUS 0xffc03628 /* Secure Status */
-
-/* OTP Read/Write Data Buffer Registers */
-
-#define OTP_DATA0 0xffc03680 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA1 0xffc03684 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA2 0xffc03688 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA3 0xffc0368c /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-
-/* NFC Registers */
-
-#define NFC_CTL 0xffc03700 /* NAND Control Register */
-#define NFC_STAT 0xffc03704 /* NAND Status Register */
-#define NFC_IRQSTAT 0xffc03708 /* NAND Interrupt Status Register */
-#define NFC_IRQMASK 0xffc0370c /* NAND Interrupt Mask Register */
-#define NFC_ECC0 0xffc03710 /* NAND ECC Register 0 */
-#define NFC_ECC1 0xffc03714 /* NAND ECC Register 1 */
-#define NFC_ECC2 0xffc03718 /* NAND ECC Register 2 */
-#define NFC_ECC3 0xffc0371c /* NAND ECC Register 3 */
-#define NFC_COUNT 0xffc03720 /* NAND ECC Count Register */
-#define NFC_RST 0xffc03724 /* NAND ECC Reset Register */
-#define NFC_PGCTL 0xffc03728 /* NAND Page Control Register */
-#define NFC_READ 0xffc0372c /* NAND Read Data Register */
-#define NFC_ADDR 0xffc03740 /* NAND Address Register */
-#define NFC_CMD 0xffc03744 /* NAND Command Register */
-#define NFC_DATA_WR 0xffc03748 /* NAND Data Write Register */
-#define NFC_DATA_RD 0xffc0374c /* NAND Data Read Register */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for HOST_CONTROL */
-
-#define HOSTDP_EN 0x1 /* HOSTDP Enable */
-#define nHOSTDP_EN 0x0
-#define HOSTDP_END 0x2 /* Host Endianess */
-#define nHOSTDP_END 0x0
-#define HOSTDP_DATA_SIZE 0x4 /* Data Size */
-#define nHOSTDP_DATA_SIZE 0x0
-#define HOSTDP_RST 0x8 /* HOSTDP Reset */
-#define nHOSTDP_RST 0x0
-#define HRDY_OVR 0x20 /* HRDY Override */
-#define nHRDY_OVR 0x0
-#define INT_MODE 0x40 /* Interrupt Mode */
-#define nINT_MODE 0x0
-#define BT_EN 0x80 /* Bus Timeout Enable */
-#define nBT_EN 0x0
-#define EHW 0x100 /* Enable Host Write */
-#define nEHW 0x0
-#define EHR 0x200 /* Enable Host Read */
-#define nEHR 0x0
-#define BDR 0x400 /* Burst DMA Requests */
-#define nBDR 0x0
-
-/* Bit masks for HOST_STATUS */
-
-#define DMA_RDY 0x1 /* DMA Ready */
-#define nDMA_RDY 0x0
-#define FIFOFULL 0x2 /* FIFO Full */
-#define nFIFOFULL 0x0
-#define FIFOEMPTY 0x4 /* FIFO Empty */
-#define nFIFOEMPTY 0x0
-#define DMA_CMPLT 0x8 /* DMA Complete */
-#define nDMA_CMPLT 0x0
-#define HSHK 0x10 /* Host Handshake */
-#define nHSHK 0x0
-#define HOSTDP_TOUT 0x20 /* HOSTDP Timeout */
-#define nHOSTDP_TOUT 0x0
-#define HIRQ 0x40 /* Host Interrupt Request */
-#define nHIRQ 0x0
-#define ALLOW_CNFG 0x80 /* Allow New Configuration */
-#define nALLOW_CNFG 0x0
-#define DMA_DIR 0x100 /* DMA Direction */
-#define nDMA_DIR 0x0
-#define BTE 0x200 /* Bus Timeout Enabled */
-#define nBTE 0x0
-#define HOSTRD_DONE 0x8000 /* Host Read Completion Interrupt */
-#define nHOSTRD_DONE 0x0
-
-/* Bit masks for HOST_TIMEOUT */
-
-#define COUNT_TIMEOUT 0x7ff /* Host Timeout count */
-
-/* Bit masks for CNT_CONFIG */
-
-#define CNTE 0x1 /* Counter Enable */
-#define nCNTE 0x0
-#define DEBE 0x2 /* Debounce Enable */
-#define nDEBE 0x0
-#define CDGINV 0x10 /* CDG Pin Polarity Invert */
-#define nCDGINV 0x0
-#define CUDINV 0x20 /* CUD Pin Polarity Invert */
-#define nCUDINV 0x0
-#define CZMINV 0x40 /* CZM Pin Polarity Invert */
-#define nCZMINV 0x0
-#define CNTMODE 0x700 /* Counter Operating Mode */
-#define ZMZC 0x800 /* CZM Zeroes Counter Enable */
-#define nZMZC 0x0
-#define BNDMODE 0x3000 /* Boundary register Mode */
-#define INPDIS 0x8000 /* CUG and CDG Input Disable */
-#define nINPDIS 0x0
-
-/* Bit masks for CNT_IMASK */
-
-#define ICIE 0x1 /* Illegal Gray/Binary Code Interrupt Enable */
-#define nICIE 0x0
-#define UCIE 0x2 /* Up count Interrupt Enable */
-#define nUCIE 0x0
-#define DCIE 0x4 /* Down count Interrupt Enable */
-#define nDCIE 0x0
-#define MINCIE 0x8 /* Min Count Interrupt Enable */
-#define nMINCIE 0x0
-#define MAXCIE 0x10 /* Max Count Interrupt Enable */
-#define nMAXCIE 0x0
-#define COV31IE 0x20 /* Bit 31 Overflow Interrupt Enable */
-#define nCOV31IE 0x0
-#define COV15IE 0x40 /* Bit 15 Overflow Interrupt Enable */
-#define nCOV15IE 0x0
-#define CZEROIE 0x80 /* Count to Zero Interrupt Enable */
-#define nCZEROIE 0x0
-#define CZMIE 0x100 /* CZM Pin Interrupt Enable */
-#define nCZMIE 0x0
-#define CZMEIE 0x200 /* CZM Error Interrupt Enable */
-#define nCZMEIE 0x0
-#define CZMZIE 0x400 /* CZM Zeroes Counter Interrupt Enable */
-#define nCZMZIE 0x0
-
-/* Bit masks for CNT_STATUS */
-
-#define ICII 0x1 /* Illegal Gray/Binary Code Interrupt Identifier */
-#define nICII 0x0
-#define UCII 0x2 /* Up count Interrupt Identifier */
-#define nUCII 0x0
-#define DCII 0x4 /* Down count Interrupt Identifier */
-#define nDCII 0x0
-#define MINCII 0x8 /* Min Count Interrupt Identifier */
-#define nMINCII 0x0
-#define MAXCII 0x10 /* Max Count Interrupt Identifier */
-#define nMAXCII 0x0
-#define COV31II 0x20 /* Bit 31 Overflow Interrupt Identifier */
-#define nCOV31II 0x0
-#define COV15II 0x40 /* Bit 15 Overflow Interrupt Identifier */
-#define nCOV15II 0x0
-#define CZEROII 0x80 /* Count to Zero Interrupt Identifier */
-#define nCZEROII 0x0
-#define CZMII 0x100 /* CZM Pin Interrupt Identifier */
-#define nCZMII 0x0
-#define CZMEII 0x200 /* CZM Error Interrupt Identifier */
-#define nCZMEII 0x0
-#define CZMZII 0x400 /* CZM Zeroes Counter Interrupt Identifier */
-#define nCZMZII 0x0
-
-/* Bit masks for CNT_COMMAND */
-
-#define W1LCNT 0xf /* Load Counter Register */
-#define W1LMIN 0xf0 /* Load Min Register */
-#define W1LMAX 0xf00 /* Load Max Register */
-#define W1ZMONCE 0x1000 /* Enable CZM Clear Counter Once */
-#define nW1ZMONCE 0x0
-
-/* Bit masks for CNT_DEBOUNCE */
-
-#define DPRESCALE 0xf /* Load Counter Register */
-
-/* Bit masks for SECURE_SYSSWT */
-
-#define EMUDABL 0x1 /* Emulation Disable. */
-#define nEMUDABL 0x0
-#define RSTDABL 0x2 /* Reset Disable */
-#define nRSTDABL 0x0
-#define L1IDABL 0x1c /* L1 Instruction Memory Disable. */
-#define L1DADABL 0xe0 /* L1 Data Bank A Memory Disable. */
-#define L1DBDABL 0x700 /* L1 Data Bank B Memory Disable. */
-#define DMA0OVR 0x800 /* DMA0 Memory Access Override */
-#define nDMA0OVR 0x0
-#define DMA1OVR 0x1000 /* DMA1 Memory Access Override */
-#define nDMA1OVR 0x0
-#define EMUOVR 0x4000 /* Emulation Override */
-#define nEMUOVR 0x0
-#define OTPSEN 0x8000 /* OTP Secrets Enable. */
-#define nOTPSEN 0x0
-
-/* Bit masks for SECURE_CONTROL */
-
-#define SECURE0 0x1 /* SECURE 0 */
-#define nSECURE0 0x0
-#define SECURE1 0x2 /* SECURE 1 */
-#define nSECURE1 0x0
-#define SECURE2 0x4 /* SECURE 2 */
-#define nSECURE2 0x0
-#define SECURE3 0x8 /* SECURE 3 */
-#define nSECURE3 0x0
-
-/* Bit masks for SECURE_STATUS */
-
-#define SECMODE 0x3 /* Secured Mode Control State */
-#define NMI 0x4 /* Non Maskable Interrupt */
-#define nNMI 0x0
-#define AFVALID 0x8 /* Authentication Firmware Valid */
-#define nAFVALID 0x0
-#define AFEXIT 0x10 /* Authentication Firmware Exit */
-#define nAFEXIT 0x0
-#define SECSTAT 0xe0 /* Secure Status */
-
-/* Bit masks for NFC_CTL */
-
-#define WR_DLY 0xf /* Write Strobe Delay */
-#define RD_DLY 0xf0 /* Read Strobe Delay */
-#define PG_SIZE 0x200 /* Page Size */
-#define nPG_SIZE 0x0
-
-/* Bit masks for NFC_STAT */
-
-#define NBUSY 0x1 /* Not Busy */
-#define nNBUSY 0x0
-#define WB_FULL 0x2 /* Write Buffer Full */
-#define nWB_FULL 0x0
-#define PG_WR_STAT 0x4 /* Page Write Pending */
-#define nPG_WR_STAT 0x0
-#define PG_RD_STAT 0x8 /* Page Read Pending */
-#define nPG_RD_STAT 0x0
-#define WB_EMPTY 0x10 /* Write Buffer Empty */
-#define nWB_EMPTY 0x0
-
-/* Bit masks for NFC_IRQSTAT */
-
-#define NBUSYIRQ 0x1 /* Not Busy IRQ */
-#define nNBUSYIRQ 0x0
-#define WB_OVF 0x2 /* Write Buffer Overflow */
-#define nWB_OVF 0x0
-#define WB_EDGE 0x4 /* Write Buffer Edge Detect */
-#define nWB_EDGE 0x0
-#define RD_RDY 0x8 /* Read Data Ready */
-#define nRD_RDY 0x0
-#define WR_DONE 0x10 /* Page Write Done */
-#define nWR_DONE 0x0
-
-/* Bit masks for NFC_IRQMASK */
-
-#define MASK_BUSYIRQ 0x1 /* Mask Not Busy IRQ */
-#define nMASK_BUSYIRQ 0x0
-#define MASK_WBOVF 0x2 /* Mask Write Buffer Overflow */
-#define nMASK_WBOVF 0x0
-#define MASK_WBEDGE 0x4 /* Mask Write Buffer Edge Detect */
-#define nMASK_WBEDGE 0x0
-#define MASK_RDRDY 0x8 /* Mask Read Data Ready */
-#define nMASK_RDRDY 0x0
-#define MASK_WRDONE 0x10 /* Mask Write Done */
-#define nMASK_WRDONE 0x0
-
-/* Bit masks for NFC_RST */
-
-#define ECC_RST 0x1 /* ECC (and NFC counters) Reset */
-#define nECC_RST 0x0
-
-/* Bit masks for NFC_PGCTL */
-
-#define PG_RD_START 0x1 /* Page Read Start */
-#define nPG_RD_START 0x0
-#define PG_WR_START 0x2 /* Page Write Start */
-#define nPG_WR_START 0x0
-
-/* Bit masks for NFC_ECC0 */
-
-#define ECC0 0x7ff /* Parity Calculation Result0 */
-
-/* Bit masks for NFC_ECC1 */
-
-#define ECC1 0x7ff /* Parity Calculation Result1 */
-
-/* Bit masks for NFC_ECC2 */
-
-#define ECC2 0x7ff /* Parity Calculation Result2 */
-
-/* Bit masks for NFC_ECC3 */
-
-#define ECC3 0x7ff /* Parity Calculation Result3 */
-
-/* Bit masks for NFC_COUNT */
-
-#define ECCCNT 0x3ff /* Transfer Count */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF52X_H */
diff --git a/libgloss/bfin/include/defBF531.h b/libgloss/bfin/include/defBF531.h
deleted file mode 100644
index 9e49056..0000000
--- a/libgloss/bfin/include/defBF531.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defBF531.h
- *
- * (c) Copyright 2001-2003 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _DEFBF531_H
-#define _DEFBF531_H
-
-#include <defBF532.h>
-
-#endif /* _DEFBF531_H */
diff --git a/libgloss/bfin/include/defBF532.h b/libgloss/bfin/include/defBF532.h
deleted file mode 100644
index 64669be..0000000
--- a/libgloss/bfin/include/defBF532.h
+++ /dev/null
@@ -1,1462 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defBF532.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532 */
-
-#ifndef _DEF_BF532_H
-#define _DEF_BF532_H
-
-#if !defined(__ADSPLPBLACKFIN__)
-#warning defBF532.h should only be included for 532 compatible chips
-#endif
-/* include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System MMR Register Map */
-/*********************************************************************************** */
-/*// Clock/Regulator Control (0xFFC00000 - 0xFFC000FF) */
-
-#define PLL_CTL 0xFFC00000 /* PLL Control register (16-bit) */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register (16-bit) */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register (16-bit) */
-#define PLL_STAT 0xFFC0000C /* PLL Status register (16-bit) */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count register (16-bit) */
-#define CHIPID 0xFFC00014 /* Chip ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register (16-bit) */
-#define SYSCR 0xFFC00104 /* System Configuration registe */
-#define SIC_IMASK 0xFFC0010C /* Interrupt Mask Register */
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_ISR 0xFFC00120 /* Interrupt Status Register */
-#define SIC_IWR 0xFFC00124 /* Interrupt Wakeup Register */
-
-
-/*// Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/*// Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define RTC_STAT 0xFFC00300 /* RTC Status Register */
-#define RTC_ICTL 0xFFC00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xFFC00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xFFC0030C /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xFFC00310 /* RTC Alarm Time Register */
-#define RTC_FAST 0xFFC00314 /* RTC Prescaler Enable Register */
-#define RTC_PREN 0xFFC00314 /* RTC Prescaler Enable Register (alternate macro) */
-
-
-/* UART Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART_THR 0xFFC00400 /* Transmit Holding register */
-#define UART_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART_LCR 0xFFC0040C /* Line Control Register */
-#define UART_MCR 0xFFC00410 /* Modem Control Register */
-#define UART_LSR 0xFFC00414 /* Line Status Register */
-#define UART_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI_CTL 0xFFC00500 /* SPI Control Register */
-#define SPI_FLG 0xFFC00504 /* SPI Flag register */
-#define SPI_STAT 0xFFC00508 /* SPI Status register */
-#define SPI_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-#define SPI_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-#define SPI_BAUD 0xFFC00514 /* SPI Baud rate Register */
-#define SPI_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-
-
-/* TIMER 0, 1, 2 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER_ENABLE 0xFFC00640 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00644 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00648 /* Timer Status Register */
-
-
-/*// General Purpose IO (0xFFC00700 - 0xFFC007FF) */
-#define FIO_FLAG_D 0xFFC00700 /* Flag Mask to directly specify state of pins */
-#define FIO_FLAG_C 0xFFC00704 /* Peripheral Interrupt Flag Register (clear) */
-#define FIO_FLAG_S 0xFFC00708 /* Peripheral Interrupt Flag Register (set) */
-#define FIO_FLAG_T 0xFFC0070C /* Flag Mask to directly toggle state of pins */
-#define FIO_MASKA_D 0xFFC00710 /* Flag Mask Interrupt A Register (set directly) */
-#define FIO_MASKA_C 0xFFC00714 /* Flag Mask Interrupt A Register (clear) */
-#define FIO_MASKA_S 0xFFC00718 /* Flag Mask Interrupt A Register (set) */
-#define FIO_MASKA_T 0xFFC0071C /* Flag Mask Interrupt A Register (toggle) */
-#define FIO_MASKB_D 0xFFC00720 /* Flag Mask Interrupt B Register (set directly) */
-#define FIO_MASKB_C 0xFFC00724 /* Flag Mask Interrupt B Register (clear) */
-#define FIO_MASKB_S 0xFFC00728 /* Flag Mask Interrupt B Register (set) */
-#define FIO_MASKB_T 0xFFC0072C /* Flag Mask Interrupt B Register (toggle) */
-#define FIO_DIR 0xFFC00730 /* Peripheral Flag Direction Register */
-#define FIO_POLAR 0xFFC00734 /* Flag Source Polarity Register */
-#define FIO_EDGE 0xFFC00738 /* Flag Source Sensitivity Register */
-#define FIO_BOTH 0xFFC0073C /* Flag Set on BOTH Edges Register */
-#define FIO_INEN 0xFFC00740 /* Flag Input Enable Register */
-
-
-/*// SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/*// SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-/* Asynchronous Memory Controller */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-
-/* SDRAM Controller */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-/* DMA Traffic controls */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-
-#define MDMA_D1_CONFIG 0xFFC00E88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00E80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00E84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_X_COUNT 0xFFC00E90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_Y_COUNT 0xFFC00E98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00E94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00E9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00EA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA_D1_CURR_ADDR 0xFFC00EA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00EB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00EB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00EA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00EAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-
-#define MDMA_S1_CONFIG 0xFFC00EC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00EC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00EC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_X_COUNT 0xFFC00ED0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_Y_COUNT 0xFFC00ED8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00ED4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00EDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00EE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00EE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00EF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00EF8 /* MemDMA Stream 1 Source Current Y Count Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00EE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00EEC /* MemDMA Stream 1 Source Peripheral Map Register */
-
-#define MDMA_D0_CONFIG 0xFFC00E08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00E00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00E04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_X_COUNT 0xFFC00E10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_Y_COUNT 0xFFC00E18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00E14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00E1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00E20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA_D0_CURR_ADDR 0xFFC00E24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00E30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00E38 /* MemDMA Stream 0 Destination Current Y Count Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00E28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00E2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-
-#define MDMA_S0_CONFIG 0xFFC00E48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00E40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00E44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_X_COUNT 0xFFC00E50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_Y_COUNT 0xFFC00E58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00E54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00E5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00E60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00E64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00E70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00E78 /* MemDMA Stream 0 Source Current Y Count Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00E68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00E6C /* MemDMA Stream 0 Source Peripheral Map Register */
-
-
-/*// Parallel Peripheral Interface (PPI) (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-/*********************************************************************************** */
-/* System MMR Register Bits */
-/******************************************************************************* */
-
-/* ********************* PLL AND RESET MASKS ************************ */
-/*// PLL_CTL Masks */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-#define SPORT_HYS 0x8000 /* Add 250mV of Hysteresis to SPORT Inputs */
-
-/* PLL_STAT Masks */
-#define VSTAT 0x0080 /* Voltage Regulator Status: Regulator at programmed voltage */
-#define CORE_IDLE 0x0040 /* processor is in the IDLE operating mode */
-#define SLEEP 0x0010 /* processor is in the Sleep operating mode */
-#define DEEP_SLEEP 0x0008 /* processor is in the Deep Sleep operating mode */
-
-#define PLL_CLKIN 0x0000 /* Pass CLKIN to PLL */
-#define PLL_CLKIN_DIV2 0x0001 /* Pass CLKIN/2 to PLL */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* Shut off PLL clocks */
-#define STOPCK_OFF 0x0008 /* Core clock off */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Put the PLL in a Deep Sleep state */
-
-#if !defined(__ADSPBF538__)
-/* this file is included in defBF538.h but IN_DELAY/OUT_DELAY are different */
-# define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */
-# define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */
-#endif
-
-#define BYPASS 0x0100 /* Bypass the PLL */
-/* PLL_CTL Macros */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-
-#define SCLK_DIV(x) (x) /* SCLK = VCO / x */
-
-#define CCLK_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CCLK_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CCLK_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CCLK_DIV8 0x0030 /* CCLK = VCO / 8 */
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-
-/* VR_CTL Masks */
-#define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-#define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */
-#define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */
-#define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */
-
-#define GAIN 0x000C /* Voltage Level Gain */
-#define GAIN_5 0x0000 /* GAIN = 5 */
-#define GAIN_10 0x0004 /* GAIN = 10 */
-#define GAIN_20 0x0008 /* GAIN = 20 */
-#define GAIN_50 0x000C /* GAIN = 50 */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_085 0x0060 /* VLEV = 0.85 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_090 0x0070 /* VLEV = 0.90 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_095 0x0080 /* VLEV = 0.95 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_100 0x0090 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x00A0 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x00B0 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00C0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00D0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_125 0x00E0 /* VLEV = 1.25 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_130 0x00F0 /* VLEV = 1.30 V (See Datasheet for Regulator Tolerance) */
-
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-#define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */
-
-/* SWRST Mask */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-#define BMODE_BYPASS 0x0000 /* Bypass boot ROM, execute from 16-bit external memory */
-#define BMODE_FLASH 0x0002 /* Use Boot ROM to load from 8-bit or 16-bit flash */
-#define BMODE_SPIHOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_SPIMEM 0x0006 /* Boot from serial SPI memory */
-#define BMODE 0x0006 /* Boot Mode - Latched During HW Reset From Mode Pins */
-#define NOBOOT 0x0010 /* Execute From L1 or ASYNC Bank 0 When BMODE = 0 */
-
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS ***************** */
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define PLL_WAKEUP_IRQ 0x00000001 /* PLL Wakeup Interrupt Request */
-#define DMA_ERR_IRQ 0x00000002 /* DMA Controller Error Interrupt Request */
-#define PPI_ERR_IRQ 0x00000004 /* PPI Error Interrupt Request */
-#define SPORT0_ERR_IRQ 0x00000008 /* SPORT0 Error Interrupt Request */
-#define SPORT1_ERR_IRQ 0x00000010 /* SPORT1 Error Interrupt Request */
-#define SPI_ERR_IRQ 0x00000020 /* SPI Error Interrupt Request */
-#define UART_ERR_IRQ 0x00000040 /* UART Error Interrupt Request */
-#define RTC_IRQ 0x00000080 /* Real-Time Clock Interrupt Request */
-#define DMA0_IRQ 0x00000100 /* DMA Channel 0 (PPI) Interrupt Request */
-#define DMA1_IRQ 0x00000200 /* DMA Channel 1 (SPORT0 RX) Interrupt Request */
-#define DMA2_IRQ 0x00000400 /* DMA Channel 2 (SPORT0 TX) Interrupt Request */
-#define DMA3_IRQ 0x00000800 /* DMA Channel 3 (SPORT1 RX) Interrupt Request */
-#define DMA4_IRQ 0x00001000 /* DMA Channel 4 (SPORT1 TX) Interrupt Request */
-#define DMA5_IRQ 0x00002000 /* DMA Channel 5 (SPI) Interrupt Request */
-#define DMA6_IRQ 0x00004000 /* DMA Channel 6 (UART RX) Interrupt Request */
-#define DMA7_IRQ 0x00008000 /* DMA Channel 7 (UART TX) Interrupt Request */
-#define TIMER0_IRQ 0x00010000 /* Timer 0 Interrupt Request */
-#define TIMER1_IRQ 0x00020000 /* Timer 1 Interrupt Request */
-#define TIMER2_IRQ 0x00040000 /* Timer 2 Interrupt Request */
-#define PFA_IRQ 0x00080000 /* Programmable Flag Interrupt Request A */
-#define PFB_IRQ 0x00100000 /* Programmable Flag Interrupt Request B */
-#define MDMA0_IRQ 0x00200000 /* MemDMA Stream 0 Interrupt Request */
-#define MDMA1_IRQ 0x00400000 /* MemDMA Stream 1 Interrupt Request */
-#define WDOG_IRQ 0x00800000 /* Software Watchdog Timer Interrupt Request */
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #11 assigned IVG #x */
-#define P12_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IARx Macros */
-#ifdef _MISRA_RULES
-#define PX_IVG_CLR(x) (0xFFFFFFFFu ^ (0xFu << (((x)%8)*4))) /* Clear IVG Select for Peripheral #x */
-/* Usage: *pSIC_IAR1 &= PX_IVG_CLR(11); // Clears IVG Level of Peripheral #11 */
-#define PX_IVG(x,y) ((((y)-7u)&0xFu) << (((x)%8)*4)) /* Set IVG Select to #y for Peripheral #x */
-/* Usage: *pSIC_IAR1 |= PX_IVG(11, 8); // Sets Peripheral #11 to IVG8 */
-#else
-#define PX_IVG_CLR(x) (0xFFFFFFFF ^ (0xF << (((x)%8)*4))) /* Clear IVG Select for Peripheral #x */
-/* Usage: *pSIC_IAR1 &= PX_IVG_CLR(11); // Clears IVG Level of Peripheral #11 */
-#define PX_IVG(x,y) ((((y)-7)&0xF) << (((x)%8)*4)) /* Set IVG Select to #y for Peripheral #x */
-/* Usage: *pSIC_IAR1 |= PX_IVG(11, 8); // Sets Peripheral #11 to IVG8 */
-#endif /* _MISRA_RULES */
-
-/* SIC_IMASK Masks*/
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR Masks*/
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define WDOG_DISABLE WDDIS
-#define TRO WDRO
-
-#define ICTL_P0 0x01
-#define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-/* *************** REAL TIME CLOCK MASKS **************************/
-/* RTC_STAT and RTC_ALARM register */
-#define RTSEC 0x0000003F /* Real-Time Clock Seconds */
-#define RTMIN 0x00000FC0 /* Real-Time Clock Minutes */
-#define RTHR 0x0001F000 /* Real-Time Clock Hours */
-#define RTDAY 0xFFFE0000 /* Real-Time Clock Days */
-
-/* RTC_ICTL register */
-#define SWIE 0x0001 /* Stopwatch Interrupt Enable */
-#define AIE 0x0002 /* Alarm Interrupt Enable */
-#define SIE 0x0004 /* Seconds (1 Hz) Interrupt Enable */
-#define MIE 0x0008 /* Minutes Interrupt Enable */
-#define HIE 0x0010 /* Hours Interrupt Enable */
-#define DIE 0x0020 /* 24 Hours (Days) Interrupt Enable */
-#define DAIE 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WCIE 0x8000 /* Write Complete Interrupt Enable */
-
-/* RTC_ISTAT register */
-#define SWEF 0x0001 /* Stopwatch Event Flag */
-#define AEF 0x0002 /* Alarm Event Flag */
-#define SEF 0x0004 /* Seconds (1 Hz) Event Flag */
-#define MEF 0x0008 /* Minutes Event Flag */
-#define HEF 0x0010 /* Hours Event Flag */
-#define DEF 0x0020 /* 24 Hours (Days) Event Flag */
-#define DAEF 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Event Flag */
-#define WPS 0x4000 /* Write Pending Status (RO) */
-#define WCOM 0x8000 /* Write Complete */
-
-/*// RTC_FAST Mask (RTC_PREN Mask) */
-#define ENABLE_PRESCALE 0x00000001 /* Enable prescaler so RTC runs at 1 Hz */
-#define PREN 0x00000001
- /* ** Must be set after power-up for proper operation of RTC */
-
-/* RTC_ALARM Macro z=day y=hr x=min w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* Deprecated RTC_STAT and RTC_ALARM Masks */
-#define RTC_SEC RTSEC /* Real-Time Clock Seconds */
-#define RTC_MIN RTMIN /* Real-Time Clock Minutes */
-#define RTC_HR RTHR /* Real-Time Clock Hours */
-#define RTC_DAY RTDAY /* Real-Time Clock Days */
-
-/* Deprecated RTC_ICTL/RTC_ISTAT Masks */
-#define STOPWATCH SWIE /* Stopwatch Interrupt Enable */
-#define ALARM AIE /* Alarm Interrupt Enable */
-#define SECOND SIE /* Seconds (1 Hz) Interrupt Enable */
-#define MINUTE MIE /* Minutes Interrupt Enable */
-#define HOUR HIE /* Hours Interrupt Enable */
-#define DAY DIE /* 24 Hours (Days) Interrupt Enable */
-#define DAY_ALARM DAIE /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WRITE_COMPLETE WCIE /* Write Complete Interrupt Enable */
-
-
-/* ***************************** UART CONTROLLER MASKS ********************** */
-/* UART_LCR Register */
-
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-#define DLAB_P 0x07
-#define SB_P 0x06
-#define STP_P 0x05
-#define EPS_P 0x04
-#define PEN_P 0x03
-#define STB_P 0x02
-#define WLS_P1 0x01
-#define WLS_P0 0x00
-
-/* UART_MCR Register */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-/* Deprecated UARTx_MCR Mask */
-
-/* UART_LSR Register */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-#define TEMP_P 0x06
-#define THRE_P 0x05
-#define BI_P 0x04
-#define FE_P 0x03
-#define PE_P 0x02
-#define OE_P 0x01
-#define DR_P 0x00
-
-/* UART_IER Register */
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-#define ELSI_P 0x02
-#define ETBEI_P 0x01
-#define ERBFI_P 0x00
-
-/* UART_IIR Register */
-#ifdef _MISRA_RULES
-#define STATUS(x) (((x) << 1) & 0x06u)
-#else
-#define STATUS(x) (((x) << 1) & 0x06)
-#endif /* _MISRA_RULES */
-#define NINT 0x01
-#define STATUS_P1 0x02
-#define STATUS_P0 0x01
-#define NINT_P 0x00
-
-/* UART_GCTL Register */
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-#define FFE_P 0x05
-#define FPE_P 0x04
-#define RPOLC_P 0x03
-#define TPOLC_P 0x02
-#define IREN_P 0x01
-#define UCEN_P 0x00
-
-
-/* ********** SERIAL PORT MASKS ********************** */
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* TX enable */
-#define ITCLK 0x0002 /* Internal TX Clock Select */
-#define TDTYPE 0x000C /* TX Data Formatting Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* TX Bit Order */
-#define ITFS 0x0200 /* Internal TX Frame Sync Select */
-#define TFSR 0x0400 /* TX Frame Sync Required Select */
-#define DITFS 0x0800 /* Data Independent TX Frame Sync Select */
-#define LTFS 0x1000 /* Low TX Frame Sync Select */
-#define LATFS 0x2000 /* Late TX Frame Sync Select */
-#define TCKFE 0x4000 /* TX Clock Falling Edge Select */
-/* SPORTx_RCR1 Deprecated Masks */
-#define TULAW DTYPE_ULAW /* Compand Using u-Law */
-#define TALAW DTYPE_ALAW /* Compand Using A-Law */
-
-/* SPORTx_TCR2 Masks */
-#if defined(__ADSPBF531__) || defined(__ADSPBF532__) || \
- defined(__ADSPBF533__)
-# define SLEN 0x001F
-#else
-#ifdef _MISRA_RULES
-# define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-# define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#endif
-#define TXSE 0x0100 /*TX Secondary Enable */
-#define TSFSE 0x0200 /*TX Stereo Frame Sync Enable */
-#define TRFST 0x0400 /*TX Right-First Data Order */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* RX enable */
-#define IRCLK 0x0002 /* Internal RX Clock Select */
-#define RDTYPE 0x000C /* RX Data Formatting Select */
-#define DTYPE_NORM 0x0000 /* no companding */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* RX Bit Order */
-#define IRFS 0x0200 /* Internal RX Frame Sync Select */
-#define RFSR 0x0400 /* RX Frame Sync Required Select */
-#define LRFS 0x1000 /* Low RX Frame Sync Select */
-#define LARFS 0x2000 /* Late RX Frame Sync Select */
-#define RCKFE 0x4000 /* RX Clock Falling Edge Select */
-/* SPORTx_RCR1 Deprecated Masks */
-#define RULAW DTYPE_ULAW /* Compand Using u-Law */
-#define RALAW DTYPE_ALAW /* Compand Using A-Law */
-
-/* SPORTx_RCR2 Masks */
-/* SLEN defined above */
-#define RXSE 0x0100 /*RX Secondary Enable */
-#define RSFSE 0x0200 /*RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /*Right-First Data Order */
-
-/*SPORTx_STAT Masks */
-#define RXNE 0x0001 /*RX FIFO Not Empty Status */
-#define RUVF 0x0002 /*RX Underflow Status */
-#define ROVF 0x0004 /*RX Overflow Status */
-#define TXF 0x0008 /*TX FIFO Full Status */
-#define TUVF 0x0010 /*TX Underflow Status */
-#define TOVF 0x0020 /*TX Overflow Status */
-#define TXHRE 0x0040 /*TX Hold Register Empty */
-
-/*SPORTx_MCMC1 Masks */
-#define WSIZE 0x0000F000 /*Multichannel Window Size Field */
-#define WOFF 0x000003FF /*Multichannel Window Offset Field */
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define SET_WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use SET_WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define SET_WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define SET_WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use SET_WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define SET_WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-/*SPORTx_MCMC2 Masks */
-#define MCCRM 0x0003 /*Multichannel Clock Recovery Mode */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /*Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /*Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /*Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /*Multichannel Frame Sync to Data Relationship */
-#define MFD 0xF000 /*Multichannel Frame Delay */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/* ********* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS **************** */
-/*// PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */
-/* previous versions of defBF532.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define ALT_TIMING 0x0100 /* Enable Alternate PPI Timing (0.5 Silicon And Beyond) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLENGTH 0x3800 /* PPI Data Length */
-#define DLEN_8 0x0 /* PPI Data Length mask for DLEN=8 */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#ifdef _MISRA_RULES
-#define DLEN(x) ((((x)-9u) & 0x07u) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#else
-#define DLEN(x) ((((x)-9) & 0x07) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#endif /* _MISRA_RULES */
-#define POL 0xC000 /* PPI Signal Polarities */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-
-/*// PPI_STATUS Masks */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/* ********** DMA CONTROLLER MASKS ***********************/
-/*//DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Word Size 8 bits */
-#define WDSIZE_16 0x0004 /* Word Size 16 bits */
-#define WDSIZE_32 0x0008 /* Word Size 32 bits */
-#define DMA2D 0x0010 /* 2D/1D* Mode */
-#define RESTART 0x0020 /* Restart */
-#define DI_SEL 0x0040 /* Data Interrupt Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE 0x0900 /* Next Descriptor Size */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW 0x7000 /* Flow Control */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-#define DMAEN_P 0x0 /* Channel Enable */
-#define WNR_P 0x1 /* Channel Direction (W/R*) */
-#define DMA2D_P 0x4 /* 2D/1D* Mode */
-#define RESTART_P 0x5 /* Restart */
-#define DI_SEL_P 0x6 /* Data Interrupt Select */
-#define DI_EN_P 0x7 /* Data Interrupt Enable */
-
-/*//DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Done Indicator */
-#define DMA_ERR 0x0002 /* DMA Error Indicator */
-#define DFETCH 0x0004 /* Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Running Indicator */
-
-#define DMA_DONE_P 0x0 /* DMA Done Indicator */
-#define DMA_ERR_P 0x1 /* DMA Error Indicator */
-#define DFETCH_P 0x2 /* Descriptor Fetch Indicator */
-#define DMA_RUN_P 0x3 /* DMA Running Indicator */
-
-/*//DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-
-#define CTYPE 0x0040 /* DMA Channel Type Indicator */
-#define CTYPE_P 0x6 /* DMA Channel Type Indicator BIT POSITION */
-#define PCAP8 0x0080 /* DMA 8-bit Operation Indicator */
-#define PCAP16 0x0100 /* DMA 16-bit Operation Indicator */
-#define PCAP32 0x0200 /* DMA 32-bit Operation Indicator */
-#define PCAPWR 0x0400 /* DMA Write Operation Indicator */
-#define PCAPRD 0x0800 /* DMA Read Operation Indicator */
-#define PMAP 0xF000 /* DMA Peripheral Map Field */
-
-#define PMAP_PPI 0x0000 /* PMAP PPI Port DMA */
-#define PMAP_SPORT0RX 0x1000 /* PMAP SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x2000 /* PMAP SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x3000 /* PMAP SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x4000 /* PMAP SPORT1 Transmit DMA */
-#define PMAP_SPI 0x5000 /* PMAP SPI DMA */
-#define PMAP_UARTRX 0x6000 /* PMAP UART Receive DMA */
-#define PMAP_UARTTX 0x7000 /* PMAP UART Transmit DMA */
-
-
-/* ************* GENERAL PURPOSE TIMER MASKS ******************** */
-/* PWM Timer bit definitions */
-/* TIMER_ENABLE Register */
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-
-#define TIMEN0_P 0x00
-#define TIMEN1_P 0x01
-#define TIMEN2_P 0x02
-
-/* TIMER_DISABLE Register */
-#define TIMDIS0 0x0001 /* Disable Timer 0 */
-#define TIMDIS1 0x0002 /* Disable Timer 1 */
-#define TIMDIS2 0x0004 /* Disable Timer 2 */
-
-#define TIMDIS0_P 0x00
-#define TIMDIS1_P 0x01
-#define TIMDIS2_P 0x02
-
-/* TIMER_STATUS Register */
-#define TIMIL0 0x0001 /* Timer 0 Interrupt */
-#define TIMIL1 0x0002 /* Timer 1 Interrupt */
-#define TIMIL2 0x0004 /* Timer 2 Interrupt */
-#define TOVF_ERR0 0x0010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x0020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x0040 /* Timer 2 Counter Overflow */
-#define TRUN0 0x1000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x2000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x4000 /* Timer 2 Slave Enable Status */
-
-#define TIMIL0_P 0x00
-#define TIMIL1_P 0x01
-#define TIMIL2_P 0x02
-#define TOVF_ERR0_P 0x04
-#define TOVF_ERR1_P 0x05
-#define TOVF_ERR2_P 0x06
-#define TRUN0_P 0x0C
-#define TRUN1_P 0x0D
-#define TRUN2_P 0x0E
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR0_P TOVF_ERR0_P
-#define TOVL_ERR1_P TOVF_ERR1_P
-#define TOVL_ERR2_P TOVF_ERR2_P
-
-/* TIMERx_CONFIG Registers */
-#define PWM_OUT 0x0001
-#define WDTH_CAP 0x0002
-#define EXT_CLK 0x0003
-#define PULSE_HI 0x0004
-#define PERIOD_CNT 0x0008
-#define IRQ_ENA 0x0010
-#define TIN_SEL 0x0020
-#define OUT_DIS 0x0040
-#define CLK_SEL 0x0080
-#define TOGGLE_HI 0x0100
-#define EMU_RUN 0x0200
-#ifdef _MISRA_RULES
-#define ERR_TYP(x) (((x) & 0x03u) << 14)
-#else
-#define ERR_TYP(x) (((x) & 0x03) << 14)
-#endif /* _MISRA_RULES */
-
-#define TMODE_P0 0x00
-#define TMODE_P1 0x01
-#define PULSE_HI_P 0x02
-#define PERIOD_CNT_P 0x03
-#define IRQ_ENA_P 0x04
-#define TIN_SEL_P 0x05
-#define OUT_DIS_P 0x06
-#define CLK_SEL_P 0x07
-#define TOGGLE_HI_P 0x08
-#define EMU_RUN_P 0x09
-#define ERR_TYP_P0 0x0E
-#define ERR_TYP_P1 0x0F
-
-
-/*/ ****************** GENERAL-PURPOSE I/O ********************* */
-/* Port F (Previously Flag I/O_ Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* PORT F BIT POSITIONS */
-#define PF0_P 0x0
-#define PF1_P 0x1
-#define PF2_P 0x2
-#define PF3_P 0x3
-#define PF4_P 0x4
-#define PF5_P 0x5
-#define PF6_P 0x6
-#define PF7_P 0x7
-#define PF8_P 0x8
-#define PF9_P 0x9
-#define PF10_P 0xA
-#define PF11_P 0xB
-#define PF12_P 0xC
-#define PF13_P 0xD
-#define PF14_P 0xE
-#define PF15_P 0xF
-
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS **************** */
-/* SPI_CTL Masks */
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPI_FLG Masks */
-#define FLS1 0x0002 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2 0x0004 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3 0x0008 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4 0x0010 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5 0x0020 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6 0x0040 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7 0x0080 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-#define FLG1 0x0200 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2 0x0400 /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3 0x0800 /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4 0x1000 /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5 0x2000 /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6 0x4000 /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7 0x8000 /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* SPI_FLG Bit Positions */
-#define FLS1_P 0x0001 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2_P 0x0002 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3_P 0x0003 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4_P 0x0004 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5_P 0x0005 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6_P 0x0006 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7_P 0x0007 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1_P 0x0009 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2_P 0x000A /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3_P 0x000B /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4_P 0x000C /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5_P 0x000D /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6_P 0x000E /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7_P 0x000F /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* SPI_STAT Masks */
-#define SPIF 0x0001 /* Set (=1) when SPI single-word transfer complete */
-#define MODF 0x0002 /* Set (=1) in a master device when some other device tries to become master */
-#define TXE 0x0004 /* Set (=1) when transmission occurs with no new data in SPI_TDBR */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (0=Empty, 1=Full) */
-#define RBSY 0x0010 /* Set (=1) when data is received with RDBR full */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (0=Empty, 1=Full) */
-#define TXCOL 0x0040 /* When set (=1), corrupt data may have been transmitted */
-
-/* SPIx_FLG Masks */
-#define FLG1E 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2E 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3E 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4E 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5E 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6E 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7E 0x7FFF /* Activates SPI_FLOUT7 */
-
-
-/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Asynchronous Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Asynchronous Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Asynchronous Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Asynchronous Memory Banks (all) 0, 1, 2, and 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMGCTL Bit Positions */
-#define AMCKEN_P 0x0000 /* Enable CLKOUT */
-#define AMBEN_P0 0x0001 /* Asynchronous Memory Enable, 000 - banks 0-3 disabled, 001 - Bank 0 enabled */
-#define AMBEN_P1 0x0002 /* Asynchronous Memory Enable, 010 - banks 0&1 enabled, 011 - banks 0-3 enabled */
-#define AMBEN_P2 0x0003 /* Asynchronous Memory Enable, 1xx - All banks (bank 0, 1, 2, and 3) enabled */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 RDY Enable, 0=disable, 1=enable */
-#define B0RDYPOL 0x00000002 /* Bank 0 RDY Active high, 0=active low, 1=active high */
-#define B0TT_1 0x00000004 /* Bank 0 Transition Time from Read to Write = 1 cycle */
-#define B0TT_2 0x00000008 /* Bank 0 Transition Time from Read to Write = 2 cycles */
-#define B0TT_3 0x0000000C /* Bank 0 Transition Time from Read to Write = 3 cycles */
-#define B0TT_4 0x00000000 /* Bank 0 Transition Time from Read to Write = 4 cycles */
-#define B0ST_1 0x00000010 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=1 cycle */
-#define B0ST_2 0x00000020 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=2 cycles */
-#define B0ST_3 0x00000030 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=3 cycles */
-#define B0ST_4 0x00000000 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=4 cycles */
-#define B0HT_1 0x00000040 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 1 cycle */
-#define B0HT_2 0x00000080 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 2 cycles */
-#define B0HT_3 0x000000C0 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 3 cycles */
-#define B0HT_0 0x00000000 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 0 cycles */
-#define B0RAT_1 0x00000100 /* Bank 0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* Bank 0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* Bank 0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* Bank 0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* Bank 0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* Bank 0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* Bank 0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* Bank 0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* Bank 0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* Bank 0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* Bank 0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* Bank 0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* Bank 0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* Bank 0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* Bank 0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* Bank 0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* Bank 0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* Bank 0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* Bank 0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* Bank 0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* Bank 0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* Bank 0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* Bank 0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* Bank 0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* Bank 0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* Bank 0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* Bank 0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* Bank 0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* Bank 0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* Bank 0 Write Access Time = 15 cycles */
-#define B1RDYEN 0x00010000 /* Bank 1 RDY enable, 0=disable, 1=enable */
-#define B1RDYPOL 0x00020000 /* Bank 1 RDY Active high, 0=active low, 1=active high */
-#define B1TT_1 0x00040000 /* Bank 1 Transition Time from Read to Write = 1 cycle */
-#define B1TT_2 0x00080000 /* Bank 1 Transition Time from Read to Write = 2 cycles */
-#define B1TT_3 0x000C0000 /* Bank 1 Transition Time from Read to Write = 3 cycles */
-#define B1TT_4 0x00000000 /* Bank 1 Transition Time from Read to Write = 4 cycles */
-#define B1ST_1 0x00100000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B1ST_2 0x00200000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B1ST_3 0x00300000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B1ST_4 0x00000000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B1HT_1 0x00400000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B1HT_2 0x00800000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B1HT_3 0x00C00000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B1HT_0 0x00000000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B1RAT_1 0x01000000 /* Bank 1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* Bank 1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* Bank 1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* Bank 1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* Bank 1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* Bank 1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* Bank 1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* Bank 1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* Bank 1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* Bank 1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* Bank 1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* Bank 1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* Bank 1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* Bank 1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* Bank 1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* Bank 1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* Bank 1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* Bank 1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* Bank 1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* Bank 1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* Bank 1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* Bank 1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* Bank 1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* Bank 1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* Bank 1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* Bank 1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* Bank 1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* Bank 1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* Bank 1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* Bank 1 Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 RDY Enable, 0=disable, 1=enable */
-#define B2RDYPOL 0x00000002 /* Bank 2 RDY Active high, 0=active low, 1=active high */
-#define B2TT_1 0x00000004 /* Bank 2 Transition Time from Read to Write = 1 cycle */
-#define B2TT_2 0x00000008 /* Bank 2 Transition Time from Read to Write = 2 cycles */
-#define B2TT_3 0x0000000C /* Bank 2 Transition Time from Read to Write = 3 cycles */
-#define B2TT_4 0x00000000 /* Bank 2 Transition Time from Read to Write = 4 cycles */
-#define B2ST_1 0x00000010 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B2ST_2 0x00000020 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B2ST_3 0x00000030 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B2ST_4 0x00000000 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B2HT_1 0x00000040 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B2HT_2 0x00000080 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B2HT_3 0x000000C0 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B2HT_0 0x00000000 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B2RAT_1 0x00000100 /* Bank 2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* Bank 2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* Bank 2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* Bank 2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* Bank 2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* Bank 2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* Bank 2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* Bank 2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* Bank 2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* Bank 2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* Bank 2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* Bank 2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* Bank 2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* Bank 2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* Bank 2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* Bank 2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* Bank 2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* Bank 2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* Bank 2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* Bank 2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* Bank 2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* Bank 2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* Bank 2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* Bank 2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* Bank 2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* Bank 2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* Bank 2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* Bank 2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* Bank 2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* Bank 2 Write Access Time = 15 cycles */
-#define B3RDYEN 0x00010000 /* Bank 3 RDY enable, 0=disable, 1=enable */
-#define B3RDYPOL 0x00020000 /* Bank 3 RDY Active high, 0=active low, 1=active high */
-#define B3TT_1 0x00040000 /* Bank 3 Transition Time from Read to Write = 1 cycle */
-#define B3TT_2 0x00080000 /* Bank 3 Transition Time from Read to Write = 2 cycles */
-#define B3TT_3 0x000C0000 /* Bank 3 Transition Time from Read to Write = 3 cycles */
-#define B3TT_4 0x00000000 /* Bank 3 Transition Time from Read to Write = 4 cycles */
-#define B3ST_1 0x00100000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B3ST_2 0x00200000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B3ST_3 0x00300000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B3ST_4 0x00000000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B3HT_1 0x00400000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B3HT_2 0x00800000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B3HT_3 0x00C00000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B3HT_0 0x00000000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B3RAT_1 0x01000000 /* Bank 3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* Bank 3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* Bank 3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* Bank 3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* Bank 3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* Bank 3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* Bank 3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* Bank 3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* Bank 3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* Bank 3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* Bank 3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* Bank 3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* Bank 3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* Bank 3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* Bank 3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* Bank 3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* Bank 3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* Bank 3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* Bank 3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* Bank 3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* Bank 3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* Bank 3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* Bank 3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* Bank 3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* Bank 3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* Bank 3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* Bank 3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* Bank 3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* Bank 3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* Bank 3 Write Access Time = 15 cycles */
-
-/* ********************** SDRAM CONTROLLER MASKS *************************** */
-/* EBIU_SDGCTL Masks */
-
-
-#define SCTLE 0x00000001 /* Enable SCLK[0], /SRAS, /SCAS, /SWE, SDQM[3:0] */
-#define CL_2 0x00000008 /* SDRAM CAS latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS latency = 3 cycles */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PFE 0x00000010 /* Enable SDRAM prefetch */
-#define PFP 0x00000020 /* Prefetch has priority over AMC requests */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-#define PUPSD 0x00200000 /*Power-up start delay */
-#define PSM 0x00400000 /* SDRAM power-up sequence = Precharge, mode register set, 8 CBR refresh cycles */
-#define PSS 0x00800000 /* enable SDRAM power-up sequence on next SDRAM access */
-#define SRFS 0x01000000 /* Start SDRAM self-refresh mode */
-#define EBUFE 0x02000000 /* Enable external buffering timing */
-#define FBBRW 0x04000000 /* Fast back-to-back read write enable */
-#define EMREN 0x10000000 /* Extended mode register enable */
-#define TCSR 0x20000000 /* Temp compensated self refresh value 85 deg C */
-#define CDDBG 0x40000000 /* Tristate SDRAM controls during bus grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBE 0x00000001 /* Enable SDRAM external bank */
-#define EBSZ_16 0x00000000 /* SDRAM external bank size = 16MB */
-#define EBSZ_32 0x00000002 /* SDRAM external bank size = 32MB */
-#define EBSZ_64 0x00000004 /* SDRAM external bank size = 64MB */
-#define EBSZ_128 0x00000006 /* SDRAM external bank size = 128MB */
-#define EBCAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
-#define EBSZ 0x0006 /* SDRAM external bank size */
-#define EBCAW_9 0x00000010 /* SDRAM external bank column address width = 9 bits */
-#define EBCAW_10 0x00000020 /* SDRAM external bank column address width = 9 bits */
-#define EBCAW_11 0x00000030 /* SDRAM external bank column address width = 9 bits */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x00000001 /* SDRAM controller is idle */
-#define SDSRA 0x00000002 /* SDRAM SDRAM self refresh is active */
-#define SDPUA 0x00000004 /* SDRAM power up active */
-#define SDRS 0x00000008 /* SDRAM is in reset state */
-#define SDEASE 0x00000010 /* SDRAM EAB sticky error status - W1C */
-#define BGSTAT 0x00000020 /* Bus granted */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF532_H */
diff --git a/libgloss/bfin/include/defBF533.h b/libgloss/bfin/include/defBF533.h
deleted file mode 100644
index c8100ec..0000000
--- a/libgloss/bfin/include/defBF533.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defBF533.h
- *
- * (c) Copyright 2001-2003 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _DEFBF533_H
-#define _DEFBF533_H
-
-#include <defBF532.h>
-
-#endif /* _DEFBF533_H */
diff --git a/libgloss/bfin/include/defBF534.h b/libgloss/bfin/include/defBF534.h
deleted file mode 100644
index b5ecc95..0000000
--- a/libgloss/bfin/include/defBF534.h
+++ /dev/null
@@ -1,2733 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2004-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF534_H
-#define _DEF_BF534_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"ADI header allows any substitution")
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-/************************************************************************************
-** System MMR Register Map
-*************************************************************************************/
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control Register */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xFFC0000C /* PLL Status Register */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count Register */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register */
-#define SYSCR 0xFFC00104 /* System Configuration Register */
-#define SIC_IMASK 0xFFC0010C /* Interrupt Mask Register */
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_ISR 0xFFC00120 /* Interrupt Status Register */
-#define SIC_IWR 0xFFC00124 /* Interrupt Wakeup Register */
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define RTC_STAT 0xFFC00300 /* RTC Status Register */
-#define RTC_ICTL 0xFFC00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xFFC00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xFFC0030C /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xFFC00310 /* RTC Alarm Time Register */
-#define RTC_FAST 0xFFC00314 /* RTC Prescaler Enable Register */
-#define RTC_PREN 0xFFC00314 /* RTC Prescaler Enable Alternate Macro */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_THR 0xFFC00400 /* Transmit Holding register */
-#define UART0_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART0_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC0040C /* Line Control Register */
-#define UART0_MCR 0xFFC00410 /* Modem Control Register */
-#define UART0_LSR 0xFFC00414 /* Line Status Register */
-#define UART0_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART0_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI_CTL 0xFFC00500 /* SPI Control Register */
-#define SPI_FLG 0xFFC00504 /* SPI Flag register */
-#define SPI_STAT 0xFFC00508 /* SPI Status register */
-#define SPI_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-#define SPI_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-#define SPI_BAUD 0xFFC00514 /* SPI Baud rate Register */
-#define SPI_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-
-
-/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER3_CONFIG 0xFFC00630 /* Timer 3 Configuration Register */
-#define TIMER3_COUNTER 0xFFC00634 /* Timer 3 Counter Register */
-#define TIMER3_PERIOD 0xFFC00638 /* Timer 3 Period Register */
-#define TIMER3_WIDTH 0xFFC0063C /* Timer 3 Width Register */
-
-#define TIMER4_CONFIG 0xFFC00640 /* Timer 4 Configuration Register */
-#define TIMER4_COUNTER 0xFFC00644 /* Timer 4 Counter Register */
-#define TIMER4_PERIOD 0xFFC00648 /* Timer 4 Period Register */
-#define TIMER4_WIDTH 0xFFC0064C /* Timer 4 Width Register */
-
-#define TIMER5_CONFIG 0xFFC00650 /* Timer 5 Configuration Register */
-#define TIMER5_COUNTER 0xFFC00654 /* Timer 5 Counter Register */
-#define TIMER5_PERIOD 0xFFC00658 /* Timer 5 Period Register */
-#define TIMER5_WIDTH 0xFFC0065C /* Timer 5 Width Register */
-
-#define TIMER6_CONFIG 0xFFC00660 /* Timer 6 Configuration Register */
-#define TIMER6_COUNTER 0xFFC00664 /* Timer 6 Counter Register */
-#define TIMER6_PERIOD 0xFFC00668 /* Timer 6 Period Register */
-#define TIMER6_WIDTH 0xFFC0066C /* Timer 6 Width Register */
-
-#define TIMER7_CONFIG 0xFFC00670 /* Timer 7 Configuration Register */
-#define TIMER7_COUNTER 0xFFC00674 /* Timer 7 Counter Register */
-#define TIMER7_PERIOD 0xFFC00678 /* Timer 7 Period Register */
-#define TIMER7_WIDTH 0xFFC0067C /* Timer 7 Width Register */
-
-#define TIMER_ENABLE 0xFFC00680 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00684 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00688 /* Timer Status Register */
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define PORTFIO 0xFFC00700 /* Port F I/O Pin State Specify Register */
-#define PORTFIO_CLEAR 0xFFC00704 /* Port F I/O Peripheral Interrupt Clear Register */
-#define PORTFIO_SET 0xFFC00708 /* Port F I/O Peripheral Interrupt Set Register */
-#define PORTFIO_TOGGLE 0xFFC0070C /* Port F I/O Pin State Toggle Register */
-#define PORTFIO_MASKA 0xFFC00710 /* Port F I/O Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR 0xFFC00714 /* Port F I/O Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET 0xFFC00718 /* Port F I/O Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE 0xFFC0071C /* Port F I/O Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB 0xFFC00720 /* Port F I/O Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR 0xFFC00724 /* Port F I/O Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET 0xFFC00728 /* Port F I/O Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE 0xFFC0072C /* Port F I/O Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR 0xFFC00730 /* Port F I/O Direction Register */
-#define PORTFIO_POLAR 0xFFC00734 /* Port F I/O Source Polarity Register */
-#define PORTFIO_EDGE 0xFFC00738 /* Port F I/O Source Sensitivity Register */
-#define PORTFIO_BOTH 0xFFC0073C /* Port F I/O Set on BOTH Edges Register */
-#define PORTFIO_INEN 0xFFC00740 /* Port F I/O Input Enable Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-/* DMA Traffic Control Registers */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define DMA8_NEXT_DESC_PTR 0xFFC00E00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC00E04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC00E08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC00E10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC00E14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC00E18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC00E1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC00E20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC00E24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC00E28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC00E2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC00E30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC00E38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC00E40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC00E44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC00E48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC00E50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC00E54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC00E58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC00E5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC00E60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC00E64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC00E68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC00E6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC00E70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC00E78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC00E80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC00E84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC00E88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC00E90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC00E94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC00E98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC00E9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC00EA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC00EA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC00EA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC00EAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC00EB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC00EB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC00EC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC00EC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC00EC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC00ED0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC00ED4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC00ED8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC00EDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC00EE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC00EE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC00EE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC00EEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC00EF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC00EF8 /* DMA Channel 11 Current Y Count Register */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00F04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xFFC00F08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xFFC00F10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00F14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xFFC00F18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00F1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00F20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA_D0_CURR_ADDR 0xFFC00F24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00F28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00F30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00F38 /* MemDMA Stream 0 Destination Current Y Count Register */
-
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00F44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xFFC00F48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xFFC00F50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00F54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xFFC00F58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00F5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00F60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00F64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00F68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C /* MemDMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00F70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00F78 /* MemDMA Stream 0 Source Current Y Count Register */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00F84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xFFC00F88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xFFC00F90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00F94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xFFC00F98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00F9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA_D1_CURR_ADDR 0xFFC00FA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00FA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00FB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00FC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xFFC00FC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xFFC00FD0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00FD4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xFFC00FD8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00FDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00FE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00FE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC /* MemDMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00FF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8 /* MemDMA Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define TWI_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI_CONTROL 0xFFC01404 /* TWI Control Register */
-#define TWI_SLAVE_CTL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI_MASTER_CTL 0xFFC01414 /* Master Mode Control Register */
-#define TWI_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI_INT_STAT 0xFFC01420 /* TWI Interrupt Status Register */
-#define TWI_INT_MASK 0xFFC01424 /* TWI Master Interrupt Mask Register */
-#define TWI_FIFO_CTL 0xFFC01428 /* FIFO Control Register */
-#define TWI_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define PORTGIO 0xFFC01500 /* Port G I/O Pin State Specify Register */
-#define PORTGIO_CLEAR 0xFFC01504 /* Port G I/O Peripheral Interrupt Clear Register */
-#define PORTGIO_SET 0xFFC01508 /* Port G I/O Peripheral Interrupt Set Register */
-#define PORTGIO_TOGGLE 0xFFC0150C /* Port G I/O Pin State Toggle Register */
-#define PORTGIO_MASKA 0xFFC01510 /* Port G I/O Mask State Specify Interrupt A Register */
-#define PORTGIO_MASKA_CLEAR 0xFFC01514 /* Port G I/O Mask Disable Interrupt A Register */
-#define PORTGIO_MASKA_SET 0xFFC01518 /* Port G I/O Mask Enable Interrupt A Register */
-#define PORTGIO_MASKA_TOGGLE 0xFFC0151C /* Port G I/O Mask Toggle Enable Interrupt A Register */
-#define PORTGIO_MASKB 0xFFC01520 /* Port G I/O Mask State Specify Interrupt B Register */
-#define PORTGIO_MASKB_CLEAR 0xFFC01524 /* Port G I/O Mask Disable Interrupt B Register */
-#define PORTGIO_MASKB_SET 0xFFC01528 /* Port G I/O Mask Enable Interrupt B Register */
-#define PORTGIO_MASKB_TOGGLE 0xFFC0152C /* Port G I/O Mask Toggle Enable Interrupt B Register */
-#define PORTGIO_DIR 0xFFC01530 /* Port G I/O Direction Register */
-#define PORTGIO_POLAR 0xFFC01534 /* Port G I/O Source Polarity Register */
-#define PORTGIO_EDGE 0xFFC01538 /* Port G I/O Source Sensitivity Register */
-#define PORTGIO_BOTH 0xFFC0153C /* Port G I/O Set on BOTH Edges Register */
-#define PORTGIO_INEN 0xFFC01540 /* Port G I/O Input Enable Register */
-
-
-/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
-#define PORTHIO 0xFFC01700 /* Port H I/O Pin State Specify Register */
-#define PORTHIO_CLEAR 0xFFC01704 /* Port H I/O Peripheral Interrupt Clear Register */
-#define PORTHIO_SET 0xFFC01708 /* Port H I/O Peripheral Interrupt Set Register */
-#define PORTHIO_TOGGLE 0xFFC0170C /* Port H I/O Pin State Toggle Register */
-#define PORTHIO_MASKA 0xFFC01710 /* Port H I/O Mask State Specify Interrupt A Register */
-#define PORTHIO_MASKA_CLEAR 0xFFC01714 /* Port H I/O Mask Disable Interrupt A Register */
-#define PORTHIO_MASKA_SET 0xFFC01718 /* Port H I/O Mask Enable Interrupt A Register */
-#define PORTHIO_MASKA_TOGGLE 0xFFC0171C /* Port H I/O Mask Toggle Enable Interrupt A Register */
-#define PORTHIO_MASKB 0xFFC01720 /* Port H I/O Mask State Specify Interrupt B Register */
-#define PORTHIO_MASKB_CLEAR 0xFFC01724 /* Port H I/O Mask Disable Interrupt B Register */
-#define PORTHIO_MASKB_SET 0xFFC01728 /* Port H I/O Mask Enable Interrupt B Register */
-#define PORTHIO_MASKB_TOGGLE 0xFFC0172C /* Port H I/O Mask Toggle Enable Interrupt B Register */
-#define PORTHIO_DIR 0xFFC01730 /* Port H I/O Direction Register */
-#define PORTHIO_POLAR 0xFFC01734 /* Port H I/O Source Polarity Register */
-#define PORTHIO_EDGE 0xFFC01738 /* Port H I/O Source Sensitivity Register */
-#define PORTHIO_BOTH 0xFFC0173C /* Port H I/O Set on BOTH Edges Register */
-#define PORTHIO_INEN 0xFFC01740 /* Port H I/O Input Enable Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_THR 0xFFC02000 /* Transmit Holding register */
-#define UART1_RBR 0xFFC02000 /* Receive Buffer register */
-#define UART1_DLL 0xFFC02000 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC02004 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC02004 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC02008 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC0200C /* Line Control Register */
-#define UART1_MCR 0xFFC02010 /* Modem Control Register */
-#define UART1_LSR 0xFFC02014 /* Line Status Register */
-#define UART1_SCR 0xFFC0201C /* SCR Scratch Register */
-#define UART1_GCTL 0xFFC02024 /* Global Control Register */
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define CAN_MC1 0xFFC02A00 /* Mailbox config reg 1 */
-#define CAN_MD1 0xFFC02A04 /* Mailbox direction reg 1 */
-#define CAN_TRS1 0xFFC02A08 /* Transmit Request Set reg 1 */
-#define CAN_TRR1 0xFFC02A0C /* Transmit Request Reset reg 1 */
-#define CAN_TA1 0xFFC02A10 /* Transmit Acknowledge reg 1 */
-#define CAN_AA1 0xFFC02A14 /* Transmit Abort Acknowledge reg 1 */
-#define CAN_RMP1 0xFFC02A18 /* Receive Message Pending reg 1 */
-#define CAN_RML1 0xFFC02A1C /* Receive Message Lost reg 1 */
-#define CAN_MBTIF1 0xFFC02A20 /* Mailbox Transmit Interrupt Flag reg 1 */
-#define CAN_MBRIF1 0xFFC02A24 /* Mailbox Receive Interrupt Flag reg 1 */
-#define CAN_MBIM1 0xFFC02A28 /* Mailbox Interrupt Mask reg 1 */
-#define CAN_RFH1 0xFFC02A2C /* Remote Frame Handling reg 1 */
-#define CAN_OPSS1 0xFFC02A30 /* Overwrite Protection Single Shot Xmit reg 1 */
-
-/* For Mailboxes 16-31 */
-#define CAN_MC2 0xFFC02A40 /* Mailbox config reg 2 */
-#define CAN_MD2 0xFFC02A44 /* Mailbox direction reg 2 */
-#define CAN_TRS2 0xFFC02A48 /* Transmit Request Set reg 2 */
-#define CAN_TRR2 0xFFC02A4C /* Transmit Request Reset reg 2 */
-#define CAN_TA2 0xFFC02A50 /* Transmit Acknowledge reg 2 */
-#define CAN_AA2 0xFFC02A54 /* Transmit Abort Acknowledge reg 2 */
-#define CAN_RMP2 0xFFC02A58 /* Receive Message Pending reg 2 */
-#define CAN_RML2 0xFFC02A5C /* Receive Message Lost reg 2 */
-#define CAN_MBTIF2 0xFFC02A60 /* Mailbox Transmit Interrupt Flag reg 2 */
-#define CAN_MBRIF2 0xFFC02A64 /* Mailbox Receive Interrupt Flag reg 2 */
-#define CAN_MBIM2 0xFFC02A68 /* Mailbox Interrupt Mask reg 2 */
-#define CAN_RFH2 0xFFC02A6C /* Remote Frame Handling reg 2 */
-#define CAN_OPSS2 0xFFC02A70 /* Overwrite Protection Single Shot Xmit reg 2 */
-
-/* CAN Configuration, Control, and Status Registers */
-#define CAN_CLOCK 0xFFC02A80 /* Bit Timing Configuration register 0 */
-#define CAN_TIMING 0xFFC02A84 /* Bit Timing Configuration register 1 */
-#define CAN_DEBUG 0xFFC02A88 /* Debug Register */
-#define CAN_STATUS 0xFFC02A8C /* Global Status Register */
-#define CAN_CEC 0xFFC02A90 /* Error Counter Register */
-#define CAN_GIS 0xFFC02A94 /* Global Interrupt Status Register */
-#define CAN_GIM 0xFFC02A98 /* Global Interrupt Mask Register */
-#define CAN_GIF 0xFFC02A9C /* Global Interrupt Flag Register */
-#define CAN_CONTROL 0xFFC02AA0 /* Master Control Register */
-#define CAN_INTR 0xFFC02AA4 /* Interrupt Pending Register */
-#define CAN_MBTD 0xFFC02AAC /* Mailbox Temporary Disable Feature */
-#define CAN_EWR 0xFFC02AB0 /* Programmable Warning Level */
-#define CAN_ESR 0xFFC02AB4 /* Error Status Register */
-#define CAN_UCCNT 0xFFC02AC4 /* Universal Counter */
-#define CAN_UCRC 0xFFC02AC8 /* Universal Counter Reload/Capture Register */
-#define CAN_UCCNF 0xFFC02ACC /* Universal Counter Configuration Register */
-
-/* Mailbox Acceptance Masks */
-#define CAN_AM00L 0xFFC02B00 /* Mailbox 0 Low Acceptance Mask */
-#define CAN_AM00H 0xFFC02B04 /* Mailbox 0 High Acceptance Mask */
-#define CAN_AM01L 0xFFC02B08 /* Mailbox 1 Low Acceptance Mask */
-#define CAN_AM01H 0xFFC02B0C /* Mailbox 1 High Acceptance Mask */
-#define CAN_AM02L 0xFFC02B10 /* Mailbox 2 Low Acceptance Mask */
-#define CAN_AM02H 0xFFC02B14 /* Mailbox 2 High Acceptance Mask */
-#define CAN_AM03L 0xFFC02B18 /* Mailbox 3 Low Acceptance Mask */
-#define CAN_AM03H 0xFFC02B1C /* Mailbox 3 High Acceptance Mask */
-#define CAN_AM04L 0xFFC02B20 /* Mailbox 4 Low Acceptance Mask */
-#define CAN_AM04H 0xFFC02B24 /* Mailbox 4 High Acceptance Mask */
-#define CAN_AM05L 0xFFC02B28 /* Mailbox 5 Low Acceptance Mask */
-#define CAN_AM05H 0xFFC02B2C /* Mailbox 5 High Acceptance Mask */
-#define CAN_AM06L 0xFFC02B30 /* Mailbox 6 Low Acceptance Mask */
-#define CAN_AM06H 0xFFC02B34 /* Mailbox 6 High Acceptance Mask */
-#define CAN_AM07L 0xFFC02B38 /* Mailbox 7 Low Acceptance Mask */
-#define CAN_AM07H 0xFFC02B3C /* Mailbox 7 High Acceptance Mask */
-#define CAN_AM08L 0xFFC02B40 /* Mailbox 8 Low Acceptance Mask */
-#define CAN_AM08H 0xFFC02B44 /* Mailbox 8 High Acceptance Mask */
-#define CAN_AM09L 0xFFC02B48 /* Mailbox 9 Low Acceptance Mask */
-#define CAN_AM09H 0xFFC02B4C /* Mailbox 9 High Acceptance Mask */
-#define CAN_AM10L 0xFFC02B50 /* Mailbox 10 Low Acceptance Mask */
-#define CAN_AM10H 0xFFC02B54 /* Mailbox 10 High Acceptance Mask */
-#define CAN_AM11L 0xFFC02B58 /* Mailbox 11 Low Acceptance Mask */
-#define CAN_AM11H 0xFFC02B5C /* Mailbox 11 High Acceptance Mask */
-#define CAN_AM12L 0xFFC02B60 /* Mailbox 12 Low Acceptance Mask */
-#define CAN_AM12H 0xFFC02B64 /* Mailbox 12 High Acceptance Mask */
-#define CAN_AM13L 0xFFC02B68 /* Mailbox 13 Low Acceptance Mask */
-#define CAN_AM13H 0xFFC02B6C /* Mailbox 13 High Acceptance Mask */
-#define CAN_AM14L 0xFFC02B70 /* Mailbox 14 Low Acceptance Mask */
-#define CAN_AM14H 0xFFC02B74 /* Mailbox 14 High Acceptance Mask */
-#define CAN_AM15L 0xFFC02B78 /* Mailbox 15 Low Acceptance Mask */
-#define CAN_AM15H 0xFFC02B7C /* Mailbox 15 High Acceptance Mask */
-
-#define CAN_AM16L 0xFFC02B80 /* Mailbox 16 Low Acceptance Mask */
-#define CAN_AM16H 0xFFC02B84 /* Mailbox 16 High Acceptance Mask */
-#define CAN_AM17L 0xFFC02B88 /* Mailbox 17 Low Acceptance Mask */
-#define CAN_AM17H 0xFFC02B8C /* Mailbox 17 High Acceptance Mask */
-#define CAN_AM18L 0xFFC02B90 /* Mailbox 18 Low Acceptance Mask */
-#define CAN_AM18H 0xFFC02B94 /* Mailbox 18 High Acceptance Mask */
-#define CAN_AM19L 0xFFC02B98 /* Mailbox 19 Low Acceptance Mask */
-#define CAN_AM19H 0xFFC02B9C /* Mailbox 19 High Acceptance Mask */
-#define CAN_AM20L 0xFFC02BA0 /* Mailbox 20 Low Acceptance Mask */
-#define CAN_AM20H 0xFFC02BA4 /* Mailbox 20 High Acceptance Mask */
-#define CAN_AM21L 0xFFC02BA8 /* Mailbox 21 Low Acceptance Mask */
-#define CAN_AM21H 0xFFC02BAC /* Mailbox 21 High Acceptance Mask */
-#define CAN_AM22L 0xFFC02BB0 /* Mailbox 22 Low Acceptance Mask */
-#define CAN_AM22H 0xFFC02BB4 /* Mailbox 22 High Acceptance Mask */
-#define CAN_AM23L 0xFFC02BB8 /* Mailbox 23 Low Acceptance Mask */
-#define CAN_AM23H 0xFFC02BBC /* Mailbox 23 High Acceptance Mask */
-#define CAN_AM24L 0xFFC02BC0 /* Mailbox 24 Low Acceptance Mask */
-#define CAN_AM24H 0xFFC02BC4 /* Mailbox 24 High Acceptance Mask */
-#define CAN_AM25L 0xFFC02BC8 /* Mailbox 25 Low Acceptance Mask */
-#define CAN_AM25H 0xFFC02BCC /* Mailbox 25 High Acceptance Mask */
-#define CAN_AM26L 0xFFC02BD0 /* Mailbox 26 Low Acceptance Mask */
-#define CAN_AM26H 0xFFC02BD4 /* Mailbox 26 High Acceptance Mask */
-#define CAN_AM27L 0xFFC02BD8 /* Mailbox 27 Low Acceptance Mask */
-#define CAN_AM27H 0xFFC02BDC /* Mailbox 27 High Acceptance Mask */
-#define CAN_AM28L 0xFFC02BE0 /* Mailbox 28 Low Acceptance Mask */
-#define CAN_AM28H 0xFFC02BE4 /* Mailbox 28 High Acceptance Mask */
-#define CAN_AM29L 0xFFC02BE8 /* Mailbox 29 Low Acceptance Mask */
-#define CAN_AM29H 0xFFC02BEC /* Mailbox 29 High Acceptance Mask */
-#define CAN_AM30L 0xFFC02BF0 /* Mailbox 30 Low Acceptance Mask */
-#define CAN_AM30H 0xFFC02BF4 /* Mailbox 30 High Acceptance Mask */
-#define CAN_AM31L 0xFFC02BF8 /* Mailbox 31 Low Acceptance Mask */
-#define CAN_AM31H 0xFFC02BFC /* Mailbox 31 High Acceptance Mask */
-
-/* CAN Acceptance Mask Macros */
-#define CAN_AM_L(x) (CAN_AM00L+((x)*0x8))
-#define CAN_AM_H(x) (CAN_AM00H+((x)*0x8))
-
-/* Mailbox Registers */
-#define CAN_MB00_DATA0 0xFFC02C00 /* Mailbox 0 Data Word 0 [15:0] Register */
-#define CAN_MB00_DATA1 0xFFC02C04 /* Mailbox 0 Data Word 1 [31:16] Register */
-#define CAN_MB00_DATA2 0xFFC02C08 /* Mailbox 0 Data Word 2 [47:32] Register */
-#define CAN_MB00_DATA3 0xFFC02C0C /* Mailbox 0 Data Word 3 [63:48] Register */
-#define CAN_MB00_LENGTH 0xFFC02C10 /* Mailbox 0 Data Length Code Register */
-#define CAN_MB00_TIMESTAMP 0xFFC02C14 /* Mailbox 0 Time Stamp Value Register */
-#define CAN_MB00_ID0 0xFFC02C18 /* Mailbox 0 Identifier Low Register */
-#define CAN_MB00_ID1 0xFFC02C1C /* Mailbox 0 Identifier High Register */
-
-#define CAN_MB01_DATA0 0xFFC02C20 /* Mailbox 1 Data Word 0 [15:0] Register */
-#define CAN_MB01_DATA1 0xFFC02C24 /* Mailbox 1 Data Word 1 [31:16] Register */
-#define CAN_MB01_DATA2 0xFFC02C28 /* Mailbox 1 Data Word 2 [47:32] Register */
-#define CAN_MB01_DATA3 0xFFC02C2C /* Mailbox 1 Data Word 3 [63:48] Register */
-#define CAN_MB01_LENGTH 0xFFC02C30 /* Mailbox 1 Data Length Code Register */
-#define CAN_MB01_TIMESTAMP 0xFFC02C34 /* Mailbox 1 Time Stamp Value Register */
-#define CAN_MB01_ID0 0xFFC02C38 /* Mailbox 1 Identifier Low Register */
-#define CAN_MB01_ID1 0xFFC02C3C /* Mailbox 1 Identifier High Register */
-
-#define CAN_MB02_DATA0 0xFFC02C40 /* Mailbox 2 Data Word 0 [15:0] Register */
-#define CAN_MB02_DATA1 0xFFC02C44 /* Mailbox 2 Data Word 1 [31:16] Register */
-#define CAN_MB02_DATA2 0xFFC02C48 /* Mailbox 2 Data Word 2 [47:32] Register */
-#define CAN_MB02_DATA3 0xFFC02C4C /* Mailbox 2 Data Word 3 [63:48] Register */
-#define CAN_MB02_LENGTH 0xFFC02C50 /* Mailbox 2 Data Length Code Register */
-#define CAN_MB02_TIMESTAMP 0xFFC02C54 /* Mailbox 2 Time Stamp Value Register */
-#define CAN_MB02_ID0 0xFFC02C58 /* Mailbox 2 Identifier Low Register */
-#define CAN_MB02_ID1 0xFFC02C5C /* Mailbox 2 Identifier High Register */
-
-#define CAN_MB03_DATA0 0xFFC02C60 /* Mailbox 3 Data Word 0 [15:0] Register */
-#define CAN_MB03_DATA1 0xFFC02C64 /* Mailbox 3 Data Word 1 [31:16] Register */
-#define CAN_MB03_DATA2 0xFFC02C68 /* Mailbox 3 Data Word 2 [47:32] Register */
-#define CAN_MB03_DATA3 0xFFC02C6C /* Mailbox 3 Data Word 3 [63:48] Register */
-#define CAN_MB03_LENGTH 0xFFC02C70 /* Mailbox 3 Data Length Code Register */
-#define CAN_MB03_TIMESTAMP 0xFFC02C74 /* Mailbox 3 Time Stamp Value Register */
-#define CAN_MB03_ID0 0xFFC02C78 /* Mailbox 3 Identifier Low Register */
-#define CAN_MB03_ID1 0xFFC02C7C /* Mailbox 3 Identifier High Register */
-
-#define CAN_MB04_DATA0 0xFFC02C80 /* Mailbox 4 Data Word 0 [15:0] Register */
-#define CAN_MB04_DATA1 0xFFC02C84 /* Mailbox 4 Data Word 1 [31:16] Register */
-#define CAN_MB04_DATA2 0xFFC02C88 /* Mailbox 4 Data Word 2 [47:32] Register */
-#define CAN_MB04_DATA3 0xFFC02C8C /* Mailbox 4 Data Word 3 [63:48] Register */
-#define CAN_MB04_LENGTH 0xFFC02C90 /* Mailbox 4 Data Length Code Register */
-#define CAN_MB04_TIMESTAMP 0xFFC02C94 /* Mailbox 4 Time Stamp Value Register */
-#define CAN_MB04_ID0 0xFFC02C98 /* Mailbox 4 Identifier Low Register */
-#define CAN_MB04_ID1 0xFFC02C9C /* Mailbox 4 Identifier High Register */
-
-#define CAN_MB05_DATA0 0xFFC02CA0 /* Mailbox 5 Data Word 0 [15:0] Register */
-#define CAN_MB05_DATA1 0xFFC02CA4 /* Mailbox 5 Data Word 1 [31:16] Register */
-#define CAN_MB05_DATA2 0xFFC02CA8 /* Mailbox 5 Data Word 2 [47:32] Register */
-#define CAN_MB05_DATA3 0xFFC02CAC /* Mailbox 5 Data Word 3 [63:48] Register */
-#define CAN_MB05_LENGTH 0xFFC02CB0 /* Mailbox 5 Data Length Code Register */
-#define CAN_MB05_TIMESTAMP 0xFFC02CB4 /* Mailbox 5 Time Stamp Value Register */
-#define CAN_MB05_ID0 0xFFC02CB8 /* Mailbox 5 Identifier Low Register */
-#define CAN_MB05_ID1 0xFFC02CBC /* Mailbox 5 Identifier High Register */
-
-#define CAN_MB06_DATA0 0xFFC02CC0 /* Mailbox 6 Data Word 0 [15:0] Register */
-#define CAN_MB06_DATA1 0xFFC02CC4 /* Mailbox 6 Data Word 1 [31:16] Register */
-#define CAN_MB06_DATA2 0xFFC02CC8 /* Mailbox 6 Data Word 2 [47:32] Register */
-#define CAN_MB06_DATA3 0xFFC02CCC /* Mailbox 6 Data Word 3 [63:48] Register */
-#define CAN_MB06_LENGTH 0xFFC02CD0 /* Mailbox 6 Data Length Code Register */
-#define CAN_MB06_TIMESTAMP 0xFFC02CD4 /* Mailbox 6 Time Stamp Value Register */
-#define CAN_MB06_ID0 0xFFC02CD8 /* Mailbox 6 Identifier Low Register */
-#define CAN_MB06_ID1 0xFFC02CDC /* Mailbox 6 Identifier High Register */
-
-#define CAN_MB07_DATA0 0xFFC02CE0 /* Mailbox 7 Data Word 0 [15:0] Register */
-#define CAN_MB07_DATA1 0xFFC02CE4 /* Mailbox 7 Data Word 1 [31:16] Register */
-#define CAN_MB07_DATA2 0xFFC02CE8 /* Mailbox 7 Data Word 2 [47:32] Register */
-#define CAN_MB07_DATA3 0xFFC02CEC /* Mailbox 7 Data Word 3 [63:48] Register */
-#define CAN_MB07_LENGTH 0xFFC02CF0 /* Mailbox 7 Data Length Code Register */
-#define CAN_MB07_TIMESTAMP 0xFFC02CF4 /* Mailbox 7 Time Stamp Value Register */
-#define CAN_MB07_ID0 0xFFC02CF8 /* Mailbox 7 Identifier Low Register */
-#define CAN_MB07_ID1 0xFFC02CFC /* Mailbox 7 Identifier High Register */
-
-#define CAN_MB08_DATA0 0xFFC02D00 /* Mailbox 8 Data Word 0 [15:0] Register */
-#define CAN_MB08_DATA1 0xFFC02D04 /* Mailbox 8 Data Word 1 [31:16] Register */
-#define CAN_MB08_DATA2 0xFFC02D08 /* Mailbox 8 Data Word 2 [47:32] Register */
-#define CAN_MB08_DATA3 0xFFC02D0C /* Mailbox 8 Data Word 3 [63:48] Register */
-#define CAN_MB08_LENGTH 0xFFC02D10 /* Mailbox 8 Data Length Code Register */
-#define CAN_MB08_TIMESTAMP 0xFFC02D14 /* Mailbox 8 Time Stamp Value Register */
-#define CAN_MB08_ID0 0xFFC02D18 /* Mailbox 8 Identifier Low Register */
-#define CAN_MB08_ID1 0xFFC02D1C /* Mailbox 8 Identifier High Register */
-
-#define CAN_MB09_DATA0 0xFFC02D20 /* Mailbox 9 Data Word 0 [15:0] Register */
-#define CAN_MB09_DATA1 0xFFC02D24 /* Mailbox 9 Data Word 1 [31:16] Register */
-#define CAN_MB09_DATA2 0xFFC02D28 /* Mailbox 9 Data Word 2 [47:32] Register */
-#define CAN_MB09_DATA3 0xFFC02D2C /* Mailbox 9 Data Word 3 [63:48] Register */
-#define CAN_MB09_LENGTH 0xFFC02D30 /* Mailbox 9 Data Length Code Register */
-#define CAN_MB09_TIMESTAMP 0xFFC02D34 /* Mailbox 9 Time Stamp Value Register */
-#define CAN_MB09_ID0 0xFFC02D38 /* Mailbox 9 Identifier Low Register */
-#define CAN_MB09_ID1 0xFFC02D3C /* Mailbox 9 Identifier High Register */
-
-#define CAN_MB10_DATA0 0xFFC02D40 /* Mailbox 10 Data Word 0 [15:0] Register */
-#define CAN_MB10_DATA1 0xFFC02D44 /* Mailbox 10 Data Word 1 [31:16] Register */
-#define CAN_MB10_DATA2 0xFFC02D48 /* Mailbox 10 Data Word 2 [47:32] Register */
-#define CAN_MB10_DATA3 0xFFC02D4C /* Mailbox 10 Data Word 3 [63:48] Register */
-#define CAN_MB10_LENGTH 0xFFC02D50 /* Mailbox 10 Data Length Code Register */
-#define CAN_MB10_TIMESTAMP 0xFFC02D54 /* Mailbox 10 Time Stamp Value Register */
-#define CAN_MB10_ID0 0xFFC02D58 /* Mailbox 10 Identifier Low Register */
-#define CAN_MB10_ID1 0xFFC02D5C /* Mailbox 10 Identifier High Register */
-
-#define CAN_MB11_DATA0 0xFFC02D60 /* Mailbox 11 Data Word 0 [15:0] Register */
-#define CAN_MB11_DATA1 0xFFC02D64 /* Mailbox 11 Data Word 1 [31:16] Register */
-#define CAN_MB11_DATA2 0xFFC02D68 /* Mailbox 11 Data Word 2 [47:32] Register */
-#define CAN_MB11_DATA3 0xFFC02D6C /* Mailbox 11 Data Word 3 [63:48] Register */
-#define CAN_MB11_LENGTH 0xFFC02D70 /* Mailbox 11 Data Length Code Register */
-#define CAN_MB11_TIMESTAMP 0xFFC02D74 /* Mailbox 11 Time Stamp Value Register */
-#define CAN_MB11_ID0 0xFFC02D78 /* Mailbox 11 Identifier Low Register */
-#define CAN_MB11_ID1 0xFFC02D7C /* Mailbox 11 Identifier High Register */
-
-#define CAN_MB12_DATA0 0xFFC02D80 /* Mailbox 12 Data Word 0 [15:0] Register */
-#define CAN_MB12_DATA1 0xFFC02D84 /* Mailbox 12 Data Word 1 [31:16] Register */
-#define CAN_MB12_DATA2 0xFFC02D88 /* Mailbox 12 Data Word 2 [47:32] Register */
-#define CAN_MB12_DATA3 0xFFC02D8C /* Mailbox 12 Data Word 3 [63:48] Register */
-#define CAN_MB12_LENGTH 0xFFC02D90 /* Mailbox 12 Data Length Code Register */
-#define CAN_MB12_TIMESTAMP 0xFFC02D94 /* Mailbox 12 Time Stamp Value Register */
-#define CAN_MB12_ID0 0xFFC02D98 /* Mailbox 12 Identifier Low Register */
-#define CAN_MB12_ID1 0xFFC02D9C /* Mailbox 12 Identifier High Register */
-
-#define CAN_MB13_DATA0 0xFFC02DA0 /* Mailbox 13 Data Word 0 [15:0] Register */
-#define CAN_MB13_DATA1 0xFFC02DA4 /* Mailbox 13 Data Word 1 [31:16] Register */
-#define CAN_MB13_DATA2 0xFFC02DA8 /* Mailbox 13 Data Word 2 [47:32] Register */
-#define CAN_MB13_DATA3 0xFFC02DAC /* Mailbox 13 Data Word 3 [63:48] Register */
-#define CAN_MB13_LENGTH 0xFFC02DB0 /* Mailbox 13 Data Length Code Register */
-#define CAN_MB13_TIMESTAMP 0xFFC02DB4 /* Mailbox 13 Time Stamp Value Register */
-#define CAN_MB13_ID0 0xFFC02DB8 /* Mailbox 13 Identifier Low Register */
-#define CAN_MB13_ID1 0xFFC02DBC /* Mailbox 13 Identifier High Register */
-
-#define CAN_MB14_DATA0 0xFFC02DC0 /* Mailbox 14 Data Word 0 [15:0] Register */
-#define CAN_MB14_DATA1 0xFFC02DC4 /* Mailbox 14 Data Word 1 [31:16] Register */
-#define CAN_MB14_DATA2 0xFFC02DC8 /* Mailbox 14 Data Word 2 [47:32] Register */
-#define CAN_MB14_DATA3 0xFFC02DCC /* Mailbox 14 Data Word 3 [63:48] Register */
-#define CAN_MB14_LENGTH 0xFFC02DD0 /* Mailbox 14 Data Length Code Register */
-#define CAN_MB14_TIMESTAMP 0xFFC02DD4 /* Mailbox 14 Time Stamp Value Register */
-#define CAN_MB14_ID0 0xFFC02DD8 /* Mailbox 14 Identifier Low Register */
-#define CAN_MB14_ID1 0xFFC02DDC /* Mailbox 14 Identifier High Register */
-
-#define CAN_MB15_DATA0 0xFFC02DE0 /* Mailbox 15 Data Word 0 [15:0] Register */
-#define CAN_MB15_DATA1 0xFFC02DE4 /* Mailbox 15 Data Word 1 [31:16] Register */
-#define CAN_MB15_DATA2 0xFFC02DE8 /* Mailbox 15 Data Word 2 [47:32] Register */
-#define CAN_MB15_DATA3 0xFFC02DEC /* Mailbox 15 Data Word 3 [63:48] Register */
-#define CAN_MB15_LENGTH 0xFFC02DF0 /* Mailbox 15 Data Length Code Register */
-#define CAN_MB15_TIMESTAMP 0xFFC02DF4 /* Mailbox 15 Time Stamp Value Register */
-#define CAN_MB15_ID0 0xFFC02DF8 /* Mailbox 15 Identifier Low Register */
-#define CAN_MB15_ID1 0xFFC02DFC /* Mailbox 15 Identifier High Register */
-
-#define CAN_MB16_DATA0 0xFFC02E00 /* Mailbox 16 Data Word 0 [15:0] Register */
-#define CAN_MB16_DATA1 0xFFC02E04 /* Mailbox 16 Data Word 1 [31:16] Register */
-#define CAN_MB16_DATA2 0xFFC02E08 /* Mailbox 16 Data Word 2 [47:32] Register */
-#define CAN_MB16_DATA3 0xFFC02E0C /* Mailbox 16 Data Word 3 [63:48] Register */
-#define CAN_MB16_LENGTH 0xFFC02E10 /* Mailbox 16 Data Length Code Register */
-#define CAN_MB16_TIMESTAMP 0xFFC02E14 /* Mailbox 16 Time Stamp Value Register */
-#define CAN_MB16_ID0 0xFFC02E18 /* Mailbox 16 Identifier Low Register */
-#define CAN_MB16_ID1 0xFFC02E1C /* Mailbox 16 Identifier High Register */
-
-#define CAN_MB17_DATA0 0xFFC02E20 /* Mailbox 17 Data Word 0 [15:0] Register */
-#define CAN_MB17_DATA1 0xFFC02E24 /* Mailbox 17 Data Word 1 [31:16] Register */
-#define CAN_MB17_DATA2 0xFFC02E28 /* Mailbox 17 Data Word 2 [47:32] Register */
-#define CAN_MB17_DATA3 0xFFC02E2C /* Mailbox 17 Data Word 3 [63:48] Register */
-#define CAN_MB17_LENGTH 0xFFC02E30 /* Mailbox 17 Data Length Code Register */
-#define CAN_MB17_TIMESTAMP 0xFFC02E34 /* Mailbox 17 Time Stamp Value Register */
-#define CAN_MB17_ID0 0xFFC02E38 /* Mailbox 17 Identifier Low Register */
-#define CAN_MB17_ID1 0xFFC02E3C /* Mailbox 17 Identifier High Register */
-
-#define CAN_MB18_DATA0 0xFFC02E40 /* Mailbox 18 Data Word 0 [15:0] Register */
-#define CAN_MB18_DATA1 0xFFC02E44 /* Mailbox 18 Data Word 1 [31:16] Register */
-#define CAN_MB18_DATA2 0xFFC02E48 /* Mailbox 18 Data Word 2 [47:32] Register */
-#define CAN_MB18_DATA3 0xFFC02E4C /* Mailbox 18 Data Word 3 [63:48] Register */
-#define CAN_MB18_LENGTH 0xFFC02E50 /* Mailbox 18 Data Length Code Register */
-#define CAN_MB18_TIMESTAMP 0xFFC02E54 /* Mailbox 18 Time Stamp Value Register */
-#define CAN_MB18_ID0 0xFFC02E58 /* Mailbox 18 Identifier Low Register */
-#define CAN_MB18_ID1 0xFFC02E5C /* Mailbox 18 Identifier High Register */
-
-#define CAN_MB19_DATA0 0xFFC02E60 /* Mailbox 19 Data Word 0 [15:0] Register */
-#define CAN_MB19_DATA1 0xFFC02E64 /* Mailbox 19 Data Word 1 [31:16] Register */
-#define CAN_MB19_DATA2 0xFFC02E68 /* Mailbox 19 Data Word 2 [47:32] Register */
-#define CAN_MB19_DATA3 0xFFC02E6C /* Mailbox 19 Data Word 3 [63:48] Register */
-#define CAN_MB19_LENGTH 0xFFC02E70 /* Mailbox 19 Data Length Code Register */
-#define CAN_MB19_TIMESTAMP 0xFFC02E74 /* Mailbox 19 Time Stamp Value Register */
-#define CAN_MB19_ID0 0xFFC02E78 /* Mailbox 19 Identifier Low Register */
-#define CAN_MB19_ID1 0xFFC02E7C /* Mailbox 19 Identifier High Register */
-
-#define CAN_MB20_DATA0 0xFFC02E80 /* Mailbox 20 Data Word 0 [15:0] Register */
-#define CAN_MB20_DATA1 0xFFC02E84 /* Mailbox 20 Data Word 1 [31:16] Register */
-#define CAN_MB20_DATA2 0xFFC02E88 /* Mailbox 20 Data Word 2 [47:32] Register */
-#define CAN_MB20_DATA3 0xFFC02E8C /* Mailbox 20 Data Word 3 [63:48] Register */
-#define CAN_MB20_LENGTH 0xFFC02E90 /* Mailbox 20 Data Length Code Register */
-#define CAN_MB20_TIMESTAMP 0xFFC02E94 /* Mailbox 20 Time Stamp Value Register */
-#define CAN_MB20_ID0 0xFFC02E98 /* Mailbox 20 Identifier Low Register */
-#define CAN_MB20_ID1 0xFFC02E9C /* Mailbox 20 Identifier High Register */
-
-#define CAN_MB21_DATA0 0xFFC02EA0 /* Mailbox 21 Data Word 0 [15:0] Register */
-#define CAN_MB21_DATA1 0xFFC02EA4 /* Mailbox 21 Data Word 1 [31:16] Register */
-#define CAN_MB21_DATA2 0xFFC02EA8 /* Mailbox 21 Data Word 2 [47:32] Register */
-#define CAN_MB21_DATA3 0xFFC02EAC /* Mailbox 21 Data Word 3 [63:48] Register */
-#define CAN_MB21_LENGTH 0xFFC02EB0 /* Mailbox 21 Data Length Code Register */
-#define CAN_MB21_TIMESTAMP 0xFFC02EB4 /* Mailbox 21 Time Stamp Value Register */
-#define CAN_MB21_ID0 0xFFC02EB8 /* Mailbox 21 Identifier Low Register */
-#define CAN_MB21_ID1 0xFFC02EBC /* Mailbox 21 Identifier High Register */
-
-#define CAN_MB22_DATA0 0xFFC02EC0 /* Mailbox 22 Data Word 0 [15:0] Register */
-#define CAN_MB22_DATA1 0xFFC02EC4 /* Mailbox 22 Data Word 1 [31:16] Register */
-#define CAN_MB22_DATA2 0xFFC02EC8 /* Mailbox 22 Data Word 2 [47:32] Register */
-#define CAN_MB22_DATA3 0xFFC02ECC /* Mailbox 22 Data Word 3 [63:48] Register */
-#define CAN_MB22_LENGTH 0xFFC02ED0 /* Mailbox 22 Data Length Code Register */
-#define CAN_MB22_TIMESTAMP 0xFFC02ED4 /* Mailbox 22 Time Stamp Value Register */
-#define CAN_MB22_ID0 0xFFC02ED8 /* Mailbox 22 Identifier Low Register */
-#define CAN_MB22_ID1 0xFFC02EDC /* Mailbox 22 Identifier High Register */
-
-#define CAN_MB23_DATA0 0xFFC02EE0 /* Mailbox 23 Data Word 0 [15:0] Register */
-#define CAN_MB23_DATA1 0xFFC02EE4 /* Mailbox 23 Data Word 1 [31:16] Register */
-#define CAN_MB23_DATA2 0xFFC02EE8 /* Mailbox 23 Data Word 2 [47:32] Register */
-#define CAN_MB23_DATA3 0xFFC02EEC /* Mailbox 23 Data Word 3 [63:48] Register */
-#define CAN_MB23_LENGTH 0xFFC02EF0 /* Mailbox 23 Data Length Code Register */
-#define CAN_MB23_TIMESTAMP 0xFFC02EF4 /* Mailbox 23 Time Stamp Value Register */
-#define CAN_MB23_ID0 0xFFC02EF8 /* Mailbox 23 Identifier Low Register */
-#define CAN_MB23_ID1 0xFFC02EFC /* Mailbox 23 Identifier High Register */
-
-#define CAN_MB24_DATA0 0xFFC02F00 /* Mailbox 24 Data Word 0 [15:0] Register */
-#define CAN_MB24_DATA1 0xFFC02F04 /* Mailbox 24 Data Word 1 [31:16] Register */
-#define CAN_MB24_DATA2 0xFFC02F08 /* Mailbox 24 Data Word 2 [47:32] Register */
-#define CAN_MB24_DATA3 0xFFC02F0C /* Mailbox 24 Data Word 3 [63:48] Register */
-#define CAN_MB24_LENGTH 0xFFC02F10 /* Mailbox 24 Data Length Code Register */
-#define CAN_MB24_TIMESTAMP 0xFFC02F14 /* Mailbox 24 Time Stamp Value Register */
-#define CAN_MB24_ID0 0xFFC02F18 /* Mailbox 24 Identifier Low Register */
-#define CAN_MB24_ID1 0xFFC02F1C /* Mailbox 24 Identifier High Register */
-
-#define CAN_MB25_DATA0 0xFFC02F20 /* Mailbox 25 Data Word 0 [15:0] Register */
-#define CAN_MB25_DATA1 0xFFC02F24 /* Mailbox 25 Data Word 1 [31:16] Register */
-#define CAN_MB25_DATA2 0xFFC02F28 /* Mailbox 25 Data Word 2 [47:32] Register */
-#define CAN_MB25_DATA3 0xFFC02F2C /* Mailbox 25 Data Word 3 [63:48] Register */
-#define CAN_MB25_LENGTH 0xFFC02F30 /* Mailbox 25 Data Length Code Register */
-#define CAN_MB25_TIMESTAMP 0xFFC02F34 /* Mailbox 25 Time Stamp Value Register */
-#define CAN_MB25_ID0 0xFFC02F38 /* Mailbox 25 Identifier Low Register */
-#define CAN_MB25_ID1 0xFFC02F3C /* Mailbox 25 Identifier High Register */
-
-#define CAN_MB26_DATA0 0xFFC02F40 /* Mailbox 26 Data Word 0 [15:0] Register */
-#define CAN_MB26_DATA1 0xFFC02F44 /* Mailbox 26 Data Word 1 [31:16] Register */
-#define CAN_MB26_DATA2 0xFFC02F48 /* Mailbox 26 Data Word 2 [47:32] Register */
-#define CAN_MB26_DATA3 0xFFC02F4C /* Mailbox 26 Data Word 3 [63:48] Register */
-#define CAN_MB26_LENGTH 0xFFC02F50 /* Mailbox 26 Data Length Code Register */
-#define CAN_MB26_TIMESTAMP 0xFFC02F54 /* Mailbox 26 Time Stamp Value Register */
-#define CAN_MB26_ID0 0xFFC02F58 /* Mailbox 26 Identifier Low Register */
-#define CAN_MB26_ID1 0xFFC02F5C /* Mailbox 26 Identifier High Register */
-
-#define CAN_MB27_DATA0 0xFFC02F60 /* Mailbox 27 Data Word 0 [15:0] Register */
-#define CAN_MB27_DATA1 0xFFC02F64 /* Mailbox 27 Data Word 1 [31:16] Register */
-#define CAN_MB27_DATA2 0xFFC02F68 /* Mailbox 27 Data Word 2 [47:32] Register */
-#define CAN_MB27_DATA3 0xFFC02F6C /* Mailbox 27 Data Word 3 [63:48] Register */
-#define CAN_MB27_LENGTH 0xFFC02F70 /* Mailbox 27 Data Length Code Register */
-#define CAN_MB27_TIMESTAMP 0xFFC02F74 /* Mailbox 27 Time Stamp Value Register */
-#define CAN_MB27_ID0 0xFFC02F78 /* Mailbox 27 Identifier Low Register */
-#define CAN_MB27_ID1 0xFFC02F7C /* Mailbox 27 Identifier High Register */
-
-#define CAN_MB28_DATA0 0xFFC02F80 /* Mailbox 28 Data Word 0 [15:0] Register */
-#define CAN_MB28_DATA1 0xFFC02F84 /* Mailbox 28 Data Word 1 [31:16] Register */
-#define CAN_MB28_DATA2 0xFFC02F88 /* Mailbox 28 Data Word 2 [47:32] Register */
-#define CAN_MB28_DATA3 0xFFC02F8C /* Mailbox 28 Data Word 3 [63:48] Register */
-#define CAN_MB28_LENGTH 0xFFC02F90 /* Mailbox 28 Data Length Code Register */
-#define CAN_MB28_TIMESTAMP 0xFFC02F94 /* Mailbox 28 Time Stamp Value Register */
-#define CAN_MB28_ID0 0xFFC02F98 /* Mailbox 28 Identifier Low Register */
-#define CAN_MB28_ID1 0xFFC02F9C /* Mailbox 28 Identifier High Register */
-
-#define CAN_MB29_DATA0 0xFFC02FA0 /* Mailbox 29 Data Word 0 [15:0] Register */
-#define CAN_MB29_DATA1 0xFFC02FA4 /* Mailbox 29 Data Word 1 [31:16] Register */
-#define CAN_MB29_DATA2 0xFFC02FA8 /* Mailbox 29 Data Word 2 [47:32] Register */
-#define CAN_MB29_DATA3 0xFFC02FAC /* Mailbox 29 Data Word 3 [63:48] Register */
-#define CAN_MB29_LENGTH 0xFFC02FB0 /* Mailbox 29 Data Length Code Register */
-#define CAN_MB29_TIMESTAMP 0xFFC02FB4 /* Mailbox 29 Time Stamp Value Register */
-#define CAN_MB29_ID0 0xFFC02FB8 /* Mailbox 29 Identifier Low Register */
-#define CAN_MB29_ID1 0xFFC02FBC /* Mailbox 29 Identifier High Register */
-
-#define CAN_MB30_DATA0 0xFFC02FC0 /* Mailbox 30 Data Word 0 [15:0] Register */
-#define CAN_MB30_DATA1 0xFFC02FC4 /* Mailbox 30 Data Word 1 [31:16] Register */
-#define CAN_MB30_DATA2 0xFFC02FC8 /* Mailbox 30 Data Word 2 [47:32] Register */
-#define CAN_MB30_DATA3 0xFFC02FCC /* Mailbox 30 Data Word 3 [63:48] Register */
-#define CAN_MB30_LENGTH 0xFFC02FD0 /* Mailbox 30 Data Length Code Register */
-#define CAN_MB30_TIMESTAMP 0xFFC02FD4 /* Mailbox 30 Time Stamp Value Register */
-#define CAN_MB30_ID0 0xFFC02FD8 /* Mailbox 30 Identifier Low Register */
-#define CAN_MB30_ID1 0xFFC02FDC /* Mailbox 30 Identifier High Register */
-
-#define CAN_MB31_DATA0 0xFFC02FE0 /* Mailbox 31 Data Word 0 [15:0] Register */
-#define CAN_MB31_DATA1 0xFFC02FE4 /* Mailbox 31 Data Word 1 [31:16] Register */
-#define CAN_MB31_DATA2 0xFFC02FE8 /* Mailbox 31 Data Word 2 [47:32] Register */
-#define CAN_MB31_DATA3 0xFFC02FEC /* Mailbox 31 Data Word 3 [63:48] Register */
-#define CAN_MB31_LENGTH 0xFFC02FF0 /* Mailbox 31 Data Length Code Register */
-#define CAN_MB31_TIMESTAMP 0xFFC02FF4 /* Mailbox 31 Time Stamp Value Register */
-#define CAN_MB31_ID0 0xFFC02FF8 /* Mailbox 31 Identifier Low Register */
-#define CAN_MB31_ID1 0xFFC02FFC /* Mailbox 31 Identifier High Register */
-
-/* CAN Mailbox Area Macros */
-#define CAN_MB_ID1(x) (CAN_MB00_ID1+((x)*0x20))
-#define CAN_MB_ID0(x) (CAN_MB00_ID0+((x)*0x20))
-#define CAN_MB_TIMESTAMP(x) (CAN_MB00_TIMESTAMP+((x)*0x20))
-#define CAN_MB_LENGTH(x) (CAN_MB00_LENGTH+((x)*0x20))
-#define CAN_MB_DATA3(x) (CAN_MB00_DATA3+((x)*0x20))
-#define CAN_MB_DATA2(x) (CAN_MB00_DATA2+((x)*0x20))
-#define CAN_MB_DATA1(x) (CAN_MB00_DATA1+((x)*0x20))
-#define CAN_MB_DATA0(x) (CAN_MB00_DATA0+((x)*0x20))
-
-
-/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
-#define PORTF_FER 0xFFC03200 /* Port F Function Enable Register (Alternate/Flag*) */
-#define PORTG_FER 0xFFC03204 /* Port G Function Enable Register (Alternate/Flag*) */
-#define PORTH_FER 0xFFC03208 /* Port H Function Enable Register (Alternate/Flag*) */
-#define PORT_MUX 0xFFC0320C /* Port Multiplexer Control Register */
-
-
-/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
-#define HMDMA0_CONTROL 0xFFC03300 /* Handshake MDMA0 Control Register */
-#define HMDMA0_ECINIT 0xFFC03304 /* HMDMA0 Initial Edge Count Register */
-#define HMDMA0_BCINIT 0xFFC03308 /* HMDMA0 Initial Block Count Register */
-#define HMDMA0_ECURGENT 0xFFC0330C /* HMDMA0 Urgent Edge Count Threshhold Register */
-#define HMDMA0_ECOVERFLOW 0xFFC03310 /* HMDMA0 Edge Count Overflow Interrupt Register */
-#define HMDMA0_ECOUNT 0xFFC03314 /* HMDMA0 Current Edge Count Register */
-#define HMDMA0_BCOUNT 0xFFC03318 /* HMDMA0 Current Block Count Register */
-
-#define HMDMA1_CONTROL 0xFFC03340 /* Handshake MDMA1 Control Register */
-#define HMDMA1_ECINIT 0xFFC03344 /* HMDMA1 Initial Edge Count Register */
-#define HMDMA1_BCINIT 0xFFC03348 /* HMDMA1 Initial Block Count Register */
-#define HMDMA1_ECURGENT 0xFFC0334C /* HMDMA1 Urgent Edge Count Threshhold Register */
-#define HMDMA1_ECOVERFLOW 0xFFC03350 /* HMDMA1 Edge Count Overflow Interrupt Register */
-#define HMDMA1_ECOUNT 0xFFC03354 /* HMDMA1 Current Edge Count Register */
-#define HMDMA1_BCOUNT 0xFFC03358 /* HMDMA1 Current Block Count Register */
-
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-/*
-** ********************* PLL AND RESET MASKS ****************************************/
-/* PLL_CTL Masks */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* PLL Not Powered */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Enter Deep Sleep Mode */
-#define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */
-#define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-#define SPORT_HYS 0x8000 /* Add 250mV of Hysteresis to SPORT Inputs */
-/* PLL_CTL Macros */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks */
-#define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-#define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */
-#define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */
-#define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */
-
-#define GAIN 0x000C /* Voltage Level Gain */
-#define GAIN_5 0x0000 /* GAIN = 5 */
-#define GAIN_10 0x0004 /* GAIN = 10 */
-#define GAIN_20 0x0008 /* GAIN = 20 */
-#define GAIN_50 0x000C /* GAIN = 50 */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_085 0x0060 /* VLEV = 0.85 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_090 0x0070 /* VLEV = 0.90 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_095 0x0080 /* VLEV = 0.95 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_100 0x0090 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x00A0 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x00B0 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00C0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00D0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_125 0x00E0 /* VLEV = 1.25 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_130 0x00F0 /* VLEV = 1.30 V (See Datasheet for Regulator Tolerance) */
-
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-#define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */
-#define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */
-#define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */
-#define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */
-#define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-
-/* SWRST Masks */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-/* SYSCR Masks */
-#define BMODE_BYPASS 0x0000 /* Bypass boot ROM, execute from 16-bit external memory */
-#define BMODE_FLASH 0x0001 /* Use Boot ROM to load from 8-bit or 16-bit flash */
-#define BMODE_SPIMEM 0x0003 /* Boot from serial SPI memory */
-#define BMODE_SPIHOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_TWIMEM 0x0005 /* Boot from serial TWI memory */
-#define BMODE_TWIHOST 0x0006 /* Boot from TWI0 host (slave mode) */
-#define BMODE_UARTHOST 0x0007 /* Boot from UART0 host */
-#define BMODE 0x0007 /* Boot Mode - Latched During HW Reset From Mode Pins */
-#define NOBOOT 0x0010 /* Execute From L1 or ASYNC Bank 0 When BMODE = 0 */
-
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS *************************************/
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt */
-
-#define IRQ_ERROR1 0x00000002 /* Error Interrupt (DMA, DMARx Block, DMARx Overflow) */
-#define IRQ_ERROR2 0x00000004 /* Error Interrupt (CAN, Ethernet, SPORTx, PPI, SPI, UARTx) */
-#define IRQ_RTC 0x00000008 /* Real Time Clock Interrupt */
-#define IRQ_DMA0 0x00000010 /* DMA Channel 0 (PPI) Interrupt */
-#define IRQ_DMA3 0x00000020 /* DMA Channel 3 (SPORT0 RX) Interrupt */
-#define IRQ_DMA4 0x00000040 /* DMA Channel 4 (SPORT0 TX) Interrupt */
-#define IRQ_DMA5 0x00000080 /* DMA Channel 5 (SPORT1 RX) Interrupt */
-
-#define IRQ_DMA6 0x00000100 /* DMA Channel 6 (SPORT1 TX) Interrupt */
-#define IRQ_TWI 0x00000200 /* TWI Interrupt */
-#define IRQ_DMA7 0x00000400 /* DMA Channel 7 (SPI) Interrupt */
-#define IRQ_DMA8 0x00000800 /* DMA Channel 8 (UART0 RX) Interrupt */
-#define IRQ_DMA9 0x00001000 /* DMA Channel 9 (UART0 TX) Interrupt */
-#define IRQ_DMA10 0x00002000 /* DMA Channel 10 (UART1 RX) Interrupt */
-#define IRQ_DMA11 0x00004000 /* DMA Channel 11 (UART1 TX) Interrupt */
-#define IRQ_CAN_RX 0x00008000 /* CAN Receive Interrupt */
-
-#define IRQ_CAN_TX 0x00010000 /* CAN Transmit Interrupt */
-#define IRQ_DMA1 0x00020000 /* DMA Channel 1 (Ethernet RX) Interrupt */
-#define IRQ_PFA_PORTH 0x00020000 /* PF Port H (PF47:32) Interrupt A */
-#define IRQ_DMA2 0x00040000 /* DMA Channel 2 (Ethernet TX) Interrupt */
-#define IRQ_PFB_PORTH 0x00040000 /* PF Port H (PF47:32) Interrupt B */
-#define IRQ_TIMER0 0x00080000 /* Timer 0 Interrupt */
-#define IRQ_TIMER1 0x00100000 /* Timer 1 Interrupt */
-#define IRQ_TIMER2 0x00200000 /* Timer 2 Interrupt */
-#define IRQ_TIMER3 0x00400000 /* Timer 3 Interrupt */
-#define IRQ_TIMER4 0x00800000 /* Timer 4 Interrupt */
-
-#define IRQ_TIMER5 0x01000000 /* Timer 5 Interrupt */
-#define IRQ_TIMER6 0x02000000 /* Timer 6 Interrupt */
-#define IRQ_TIMER7 0x04000000 /* Timer 7 Interrupt */
-#define IRQ_PFA_PORTFG 0x08000000 /* PF Ports F&G (PF31:0) Interrupt A */
-#define IRQ_PFB_PORTF 0x80000000 /* PF Port F (PF15:0) Interrupt B */
-#define IRQ_DMA12 0x20000000 /* DMA Channels 12 (MDMA1 Source) RX Interrupt */
-#define IRQ_DMA13 0x20000000 /* DMA Channels 13 (MDMA1 Destination) TX Interrupt */
-#define IRQ_DMA14 0x40000000 /* DMA Channels 14 (MDMA0 Source) RX Interrupt */
-#define IRQ_DMA15 0x40000000 /* DMA Channels 15 (MDMA0 Destination) TX Interrupt */
-#define IRQ_WDOG 0x80000000 /* Software Watchdog Timer Interrupt */
-#define IRQ_PFB_PORTG 0x10000000 /* PF Port G (PF31:16) Interrupt B */
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #11 assigned IVG #x */
-#define P12_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IMASK Masks*/
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR Masks*/
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-
-
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define WDOG_DISABLE WDDIS
-#define TRO WDRO
-#define ICTL_P0 0x01
- #define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-
-/* *************** REAL TIME CLOCK MASKS **************************/
-/* RTC_STAT and RTC_ALARM Masks */
-#define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */
-#define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */
-#define RTC_HR 0x0001F000 /* Real-Time Clock Hours */
-#define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */
-
-/* RTC_ALARM Macro z=day y=hr x=min w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* RTC_ICTL and RTC_ISTAT Masks */
-#define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */
-#define ALARM 0x0002 /* Alarm Interrupt Enable */
-#define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */
-#define MINUTE 0x0008 /* Minutes Interrupt Enable */
-#define HOUR 0x0010 /* Hours Interrupt Enable */
-#define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */
-#define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WRITE_PENDING 0x4000 /* Write Pending Status */
-#define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */
-
-/* RTC_FAST / RTC_PREN Mask */
-#define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */
-
-
-/* ************** UART CONTROLLER MASKS *************************/
-/* UARTx_LCR Masks */
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-/* UARTx_MCR Mask */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-
-/* UARTx_LSR Masks */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-/* UARTx_IER Masks */
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-/* UARTx_IIR Masks */
-#define NINT 0x01 /* Pending Interrupt */
-#define STATUS 0x06 /* Highest Priority Pending Interrupt */
-
-/* UARTx_GCTL Masks */
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-/* Bit masks for UART Divisor Latch Registers: UARTx_DLL & UARTx_DLH */
-#define UARTDLL 0x00FF /* Divisor Latch Low Byte */
-#define UARTDLH 0xFF00 /* Divisor Latch High Byte */
-
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ****************************/
-/* SPI_CTL Masks */
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPI_FLG Masks */
-#define FLS1 0x0002 /* Enables SPI_FLOUT1 as SPI Slave-Select Output */
-#define FLS2 0x0004 /* Enables SPI_FLOUT2 as SPI Slave-Select Output */
-#define FLS3 0x0008 /* Enables SPI_FLOUT3 as SPI Slave-Select Output */
-#define FLS4 0x0010 /* Enables SPI_FLOUT4 as SPI Slave-Select Output */
-#define FLS5 0x0020 /* Enables SPI_FLOUT5 as SPI Slave-Select Output */
-#define FLS6 0x0040 /* Enables SPI_FLOUT6 as SPI Slave-Select Output */
-#define FLS7 0x0080 /* Enables SPI_FLOUT7 as SPI Slave-Select Output */
-#define FLG1 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7 0x7FFF /* Activates SPI_FLOUT7 */
-
-/* SPI_STAT Masks */
-#define SPIF 0x0001 /* SPI Finished (Single-Word Transfer Complete) */
-#define MODF 0x0002 /* Mode Fault Error (Another Device Tried To Become Master) */
-#define TXE 0x0004 /* Transmission Error (Data Sent With No New Data In TDBR) */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (Full/Empty*) */
-#define RBSY 0x0010 /* Receive Error (Data Received With RDBR Full) */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (Full/Empty*) */
-#define TXCOL 0x0040 /* Transmit Collision Error (Corrupt Data May Have Been Sent) */
-
-
-/* **************** GENERAL PURPOSE TIMER MASKS **********************/
-/* TIMER_ENABLE Masks */
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-#define TIMEN3 0x0008 /* Enable Timer 3 */
-#define TIMEN4 0x0010 /* Enable Timer 4 */
-#define TIMEN5 0x0020 /* Enable Timer 5 */
-#define TIMEN6 0x0040 /* Enable Timer 6 */
-#define TIMEN7 0x0080 /* Enable Timer 7 */
-
-/* TIMER_DISABLE Masks */
-#define TIMDIS0 TIMEN0 /* Disable Timer 0 */
-#define TIMDIS1 TIMEN1 /* Disable Timer 1 */
-#define TIMDIS2 TIMEN2 /* Disable Timer 2 */
-#define TIMDIS3 TIMEN3 /* Disable Timer 3 */
-#define TIMDIS4 TIMEN4 /* Disable Timer 4 */
-#define TIMDIS5 TIMEN5 /* Disable Timer 5 */
-#define TIMDIS6 TIMEN6 /* Disable Timer 6 */
-#define TIMDIS7 TIMEN7 /* Disable Timer 7 */
-
-/* TIMER_STATUS Masks */
-#define TIMIL0 0x00000001 /* Timer 0 Interrupt */
-#define TIMIL1 0x00000002 /* Timer 1 Interrupt */
-#define TIMIL2 0x00000004 /* Timer 2 Interrupt */
-#define TIMIL3 0x00000008 /* Timer 3 Interrupt */
-#define TOVF_ERR0 0x00000010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x00000020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x00000040 /* Timer 2 Counter Overflow */
-#define TOVF_ERR3 0x00000080 /* Timer 3 Counter Overflow */
-#define TRUN0 0x00001000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x00002000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x00004000 /* Timer 2 Slave Enable Status */
-#define TRUN3 0x00008000 /* Timer 3 Slave Enable Status */
-#define TIMIL4 0x00010000 /* Timer 4 Interrupt */
-#define TIMIL5 0x00020000 /* Timer 5 Interrupt */
-#define TIMIL6 0x00040000 /* Timer 6 Interrupt */
-#define TIMIL7 0x00080000 /* Timer 7 Interrupt */
-#define TOVF_ERR4 0x00100000 /* Timer 4 Counter Overflow */
-#define TOVF_ERR5 0x00200000 /* Timer 5 Counter Overflow */
-#define TOVF_ERR6 0x00400000 /* Timer 6 Counter Overflow */
-#define TOVF_ERR7 0x00800000 /* Timer 7 Counter Overflow */
-#define TRUN4 0x10000000 /* Timer 4 Slave Enable Status */
-#define TRUN5 0x20000000 /* Timer 5 Slave Enable Status */
-#define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */
-#define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR3 TOVF_ERR3
-#define TOVL_ERR4 TOVF_ERR4
-#define TOVL_ERR5 TOVF_ERR5
-#define TOVL_ERR6 TOVF_ERR6
-#define TOVL_ERR7 TOVF_ERR7
-
-/* TIMERx_CONFIG Masks */
-#define PWM_OUT 0x0001 /* Pulse-Width Modulation Output Mode */
-#define WDTH_CAP 0x0002 /* Width Capture Input Mode */
-#define EXT_CLK 0x0003 /* External Clock Mode */
-#define PULSE_HI 0x0004 /* Action Pulse (Positive/Negative*) */
-#define PERIOD_CNT 0x0008 /* Period Count */
-#define IRQ_ENA 0x0010 /* Interrupt Request Enable */
-#define TIN_SEL 0x0020 /* Timer Input Select */
-#define OUT_DIS 0x0040 /* Output Pad Disable */
-#define CLK_SEL 0x0080 /* Timer Clock Select */
-#define TOGGLE_HI 0x0100 /* PWM_OUT PULSE_HI Toggle Mode */
-#define EMU_RUN 0x0200 /* Emulation Behavior Select */
-#define ERR_TYP 0xC000 /* Error Type */
-
-
-/* ****************** GPIO PORTS F, G, H MASKS ***********************/
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
-/* Port F Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* Port G Masks */
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* Port H Masks */
-#define PH0 0x0001
-#define PH1 0x0002
-#define PH2 0x0004
-#define PH3 0x0008
-#define PH4 0x0010
-#define PH5 0x0020
-#define PH6 0x0040
-#define PH7 0x0080
-#define PH8 0x0100
-#define PH9 0x0200
-#define PH10 0x0400
-#define PH11 0x0800
-#define PH12 0x1000
-#define PH13 0x2000
-#define PH14 0x4000
-#define PH15 0x8000
-
-
-/* ******************* SERIAL PORT MASKS **************************************/
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* Transmit Enable */
-#define ITCLK 0x0002 /* Internal Transmit Clock Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* Transmit Bit Order */
-#define ITFS 0x0200 /* Internal Transmit Frame Sync Select */
-#define TFSR 0x0400 /* Transmit Frame Sync Required Select */
-#define DITFS 0x0800 /* Data-Independent Transmit Frame Sync Select */
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define LATFS 0x2000 /* Late Transmit Frame Sync Select */
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks and Macro */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#define TXSE 0x0100 /* TX Secondary Enable */
-#define TSFSE 0x0200 /* Transmit Stereo Frame Sync Enable */
-#define TRFST 0x0400 /* Left/Right Order (1 = Right Channel 1st) */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* Receive Enable */
-#define IRCLK 0x0002 /* Internal Receive Clock Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* Receive Bit Order */
-#define IRFS 0x0200 /* Internal Receive Frame Sync Select */
-#define RFSR 0x0400 /* Receive Frame Sync Required Select */
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define LARFS 0x2000 /* Late Receive Frame Sync Select */
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#define RXSE 0x0100 /* RX Secondary Enable */
-#define RSFSE 0x0200 /* RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /* Right-First Data Order */
-
-/* SPORTx_STAT Masks */
-#define RXNE 0x0001 /* Receive FIFO Not Empty Status */
-#define RUVF 0x0002 /* Sticky Receive Underflow Status */
-#define ROVF 0x0004 /* Sticky Receive Overflow Status */
-#define TXF 0x0008 /* Transmit FIFO Full Status */
-#define TUVF 0x0010 /* Sticky Transmit Underflow Status */
-#define TOVF 0x0020 /* Sticky Transmit Overflow Status */
-#define TXHRE 0x0040 /* Transmit Hold Register Empty */
-
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-/* SPORTx_MCMC2 Masks */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /* Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /* Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /* Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /* Multichannel Frame Sync to Data Relationship */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS *************************/
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Async Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Async Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Async Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Async Memory Banks (all) 0, 1, 2, and 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 (B0) RDY Enable */
-#define B0RDYPOL 0x00000002 /* B0 RDY Active High */
-#define B0TT_1 0x00000004 /* B0 Transition Time (Read to Write) = 1 cycle */
-#define B0TT_2 0x00000008 /* B0 Transition Time (Read to Write) = 2 cycles */
-#define B0TT_3 0x0000000C /* B0 Transition Time (Read to Write) = 3 cycles */
-#define B0TT_4 0x00000000 /* B0 Transition Time (Read to Write) = 4 cycles */
-#define B0ST_1 0x00000010 /* B0 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B0ST_2 0x00000020 /* B0 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B0ST_3 0x00000030 /* B0 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B0ST_4 0x00000000 /* B0 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B0HT_1 0x00000040 /* B0 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B0HT_2 0x00000080 /* B0 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B0HT_3 0x000000C0 /* B0 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B0HT_0 0x00000000 /* B0 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B0RAT_1 0x00000100 /* B0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* B0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* B0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* B0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* B0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* B0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* B0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* B0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* B0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* B0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* B0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* B0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* B0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* B0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* B0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* B0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* B0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* B0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* B0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* B0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* B0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* B0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* B0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* B0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* B0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* B0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* B0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* B0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* B0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* B0 Write Access Time = 15 cycles */
-
-#define B1RDYEN 0x00010000 /* Bank 1 (B1) RDY Enable */
-#define B1RDYPOL 0x00020000 /* B1 RDY Active High */
-#define B1TT_1 0x00040000 /* B1 Transition Time (Read to Write) = 1 cycle */
-#define B1TT_2 0x00080000 /* B1 Transition Time (Read to Write) = 2 cycles */
-#define B1TT_3 0x000C0000 /* B1 Transition Time (Read to Write) = 3 cycles */
-#define B1TT_4 0x00000000 /* B1 Transition Time (Read to Write) = 4 cycles */
-#define B1ST_1 0x00100000 /* B1 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B1ST_2 0x00200000 /* B1 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B1ST_3 0x00300000 /* B1 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B1ST_4 0x00000000 /* B1 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B1HT_1 0x00400000 /* B1 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B1HT_2 0x00800000 /* B1 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B1HT_3 0x00C00000 /* B1 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B1HT_0 0x00000000 /* B1 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B1RAT_1 0x01000000 /* B1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* B1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* B1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* B1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* B1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* B1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* B1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* B1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* B1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* B1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* B1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* B1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* B1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* B1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* B1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* B1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* B1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* B1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* B1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* B1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* B1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* B1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* B1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* B1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* B1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* B1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* B1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* B1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* B1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* B1 Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 (B2) RDY Enable */
-#define B2RDYPOL 0x00000002 /* B2 RDY Active High */
-#define B2TT_1 0x00000004 /* B2 Transition Time (Read to Write) = 1 cycle */
-#define B2TT_2 0x00000008 /* B2 Transition Time (Read to Write) = 2 cycles */
-#define B2TT_3 0x0000000C /* B2 Transition Time (Read to Write) = 3 cycles */
-#define B2TT_4 0x00000000 /* B2 Transition Time (Read to Write) = 4 cycles */
-#define B2ST_1 0x00000010 /* B2 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B2ST_2 0x00000020 /* B2 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B2ST_3 0x00000030 /* B2 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B2ST_4 0x00000000 /* B2 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B2HT_1 0x00000040 /* B2 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B2HT_2 0x00000080 /* B2 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B2HT_3 0x000000C0 /* B2 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B2HT_0 0x00000000 /* B2 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B2RAT_1 0x00000100 /* B2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* B2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* B2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* B2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* B2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* B2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* B2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* B2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* B2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* B2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* B2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* B2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* B2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* B2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* B2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* B2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* B2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* B2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* B2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* B2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* B2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* B2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* B2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* B2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* B2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* B2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* B2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* B2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* B2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* B2 Write Access Time = 15 cycles */
-
-#define B3RDYEN 0x00010000 /* Bank 3 (B3) RDY Enable */
-#define B3RDYPOL 0x00020000 /* B3 RDY Active High */
-#define B3TT_1 0x00040000 /* B3 Transition Time (Read to Write) = 1 cycle */
-#define B3TT_2 0x00080000 /* B3 Transition Time (Read to Write) = 2 cycles */
-#define B3TT_3 0x000C0000 /* B3 Transition Time (Read to Write) = 3 cycles */
-#define B3TT_4 0x00000000 /* B3 Transition Time (Read to Write) = 4 cycles */
-#define B3ST_1 0x00100000 /* B3 Setup Time (AOE to Read/Write) = 1 cycle */
-#define B3ST_2 0x00200000 /* B3 Setup Time (AOE to Read/Write) = 2 cycles */
-#define B3ST_3 0x00300000 /* B3 Setup Time (AOE to Read/Write) = 3 cycles */
-#define B3ST_4 0x00000000 /* B3 Setup Time (AOE to Read/Write) = 4 cycles */
-#define B3HT_1 0x00400000 /* B3 Hold Time (~Read/Write to ~AOE) = 1 cycle */
-#define B3HT_2 0x00800000 /* B3 Hold Time (~Read/Write to ~AOE) = 2 cycles */
-#define B3HT_3 0x00C00000 /* B3 Hold Time (~Read/Write to ~AOE) = 3 cycles */
-#define B3HT_0 0x00000000 /* B3 Hold Time (~Read/Write to ~AOE) = 0 cycles */
-#define B3RAT_1 0x01000000 /* B3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* B3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* B3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* B3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* B3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* B3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* B3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* B3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* B3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* B3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* B3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* B3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* B3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* B3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* B3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* B3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* B3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* B3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* B3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* B3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* B3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* B3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* B3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* B3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* B3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* B3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* B3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* B3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* B3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* B3 Write Access Time = 15 cycles */
-
-
-/* ********************** SDRAM CONTROLLER MASKS **********************************************/
-/* EBIU_SDGCTL Masks */
-
-#define SCTLE 0x00000001 /* Enable SDRAM Signals */
-#define CL_2 0x00000008 /* SDRAM CAS Latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS Latency = 3 cycles */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-#define PUPSD 0x00200000 /* Power-Up Start Delay (15 SCLK Cycles Delay) */
-#define PSM 0x00400000 /* Power-Up Sequence (Mode Register Before/After* Refresh) */
-#define PSS 0x00800000 /* Enable Power-Up Sequence on Next SDRAM Access */
-#define SRFS 0x01000000 /* Enable SDRAM Self-Refresh Mode */
-#define EBUFE 0x02000000 /* Enable External Buffering Timing */
-#define FBBRW 0x04000000 /* Enable Fast Back-To-Back Read To Write */
-#define EMREN 0x10000000 /* Extended Mode Register Enable */
-#define TCSR 0x20000000 /* Temp-Compensated Self-Refresh Value (85/45* Deg C) */
-#define CDDBG 0x40000000 /* Tristate SDRAM Controls During Bus Grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBE 0x0001 /* Enable SDRAM External Bank */
-#define EBSZ_16 0x0000 /* SDRAM External Bank Size = 16MB */
-#define EBSZ_32 0x0002 /* SDRAM External Bank Size = 32MB */
-#define EBSZ_64 0x0004 /* SDRAM External Bank Size = 64MB */
-#define EBSZ_128 0x0006 /* SDRAM External Bank Size = 128MB */
-#define EBSZ 0x0006 /* SDRAM external bank size */
-
-#define EBCAW_8 0x0000 /* SDRAM External Bank Column Address Width = 8 Bits */
-#define EBCAW_9 0x0010 /* SDRAM External Bank Column Address Width = 9 Bits */
-#define EBCAW_10 0x0020 /* SDRAM External Bank Column Address Width = 10 Bits */
-#define EBCAW_11 0x0030 /* SDRAM External Bank Column Address Width = 11 Bits */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x0001 /* SDRAM Controller Idle */
-#define SDSRA 0x0002 /* SDRAM Self-Refresh Active */
-#define SDPUA 0x0004 /* SDRAM Power-Up Active */
-#define SDRS 0x0008 /* SDRAM Will Power-Up On Next Access */
-#define SDEASE 0x0010 /* SDRAM EAB Sticky Error Status */
-#define BGSTAT 0x0020 /* Bus Grant Status */
-
-
-/* ************************** DMA CONTROLLER MASKS ********************************/
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* DMA Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define DMA2D 0x0010 /* DMA Mode (2D/1D*) */
-#define SYNC 0x0020 /* DMA Buffer Clear */
-#define DI_SEL 0x0040 /* Data Interrupt Timing Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-#define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */
-#define PMAP 0xF000 /* Peripheral Mapped To This Channel */
-#define PMAP_PPI 0x0000 /* PPI Port DMA */
-#define PMAP_EMACRX 0x1000 /* Ethernet Receive DMA */
-#define PMAP_EMACTX 0x2000 /* Ethernet Transmit DMA */
-#define PMAP_SPORT0RX 0x3000 /* SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x4000 /* SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x5000 /* SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x6000 /* SPORT1 Transmit DMA */
-#define PMAP_SPI 0x7000 /* SPI Port DMA */
-#define PMAP_UART0RX 0x8000 /* UART0 Port Receive DMA */
-#define PMAP_UART0TX 0x9000 /* UART0 Port Transmit DMA */
-#define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */
-#define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */
-#define DMA_ERR 0x0002 /* DMA Error Interrupt Status */
-#define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Channel Running Indicator */
-
-
-/* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */
-/* previous versions of defBF534.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLEN_8 0x0000 /* Data Length = 8 Bits */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-/* PPI_STATUS Masks */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/* ******************** TWO-WIRE INTERFACE (TWI) MASKS ***********************/
-/* TWI_CLKDIV Macros (Use: *pTWI_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8) /* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWI_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWI_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWI_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWI_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWI_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWI_INT_SRC and TWI_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWI_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWI_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/
-/* CAN_CONTROL Masks */
-#define SRS 0x0001 /* Software Reset */
-#define DNM 0x0002 /* Device Net Mode */
-#define ABO 0x0004 /* Auto-Bus On Enable */
-#define WBA 0x0010 /* Wake-Up On CAN Bus Activity Enable */
-#define SMR 0x0020 /* Sleep Mode Request */
-#define CSR 0x0040 /* CAN Suspend Mode Request */
-#define CCR 0x0080 /* CAN Configuration Mode Request */
-
-/* CAN_STATUS Masks */
-#define WT 0x0001 /* TX Warning Flag */
-#define WR 0x0002 /* RX Warning Flag */
-#define EP 0x0004 /* Error Passive Mode */
-#define EBO 0x0008 /* Error Bus Off Mode */
-#define CSA 0x0040 /* Suspend Mode Acknowledge */
-#define CCA 0x0080 /* Configuration Mode Acknowledge */
-#define MBPTR 0x1F00 /* Mailbox Pointer */
-#define TRM 0x4000 /* Transmit Mode */
-#define REC 0x8000 /* Receive Mode */
-
-/* CAN_CLOCK Masks */
-#define BRP 0x03FF /* Bit-Rate Pre-Scaler */
-
-/* CAN_TIMING Masks */
-#define TSEG1 0x000F /* Time Segment 1 */
-#define TSEG2 0x0070 /* Time Segment 2 */
-#define SAM 0x0080 /* Sampling */
-#define SJW 0x0300 /* Synchronization Jump Width */
-
-/* CAN_DEBUG Masks */
-#define DEC 0x0001 /* Disable CAN Error Counters */
-#define DRI 0x0002 /* Disable CAN RX Input */
-#define DTO 0x0004 /* Disable CAN TX Output */
-#define DIL 0x0008 /* Disable CAN Internal Loop */
-#define MAA 0x0010 /* Mode Auto-Acknowledge Enable */
-#define MRB 0x0020 /* Mode Read Back Enable */
-#define CDE 0x8000 /* CAN Debug Enable */
-
-/* CAN_CEC Masks */
-#define RXECNT 0x00FF /* Receive Error Counter */
-#define TXECNT 0xFF00 /* Transmit Error Counter */
-
-/* CAN_INTR Masks */
-#define MBRIRQ 0x0001 /* Mailbox Receive Interrupt */
-#define MBRIF MBRIRQ /* legacy */
-#define MBTIRQ 0x0002 /* Mailbox Transmit Interrupt */
-#define MBTIF MBTIRQ /* legacy */
-#define GIRQ 0x0004 /* Global Interrupt */
-#define SMACK 0x0008 /* Sleep Mode Acknowledge */
-#define CANTX 0x0040 /* CAN TX Bus Value */
-#define CANRX 0x0080 /* CAN RX Bus Value */
-
-/* CAN_MBxx_ID1 and CAN_MBxx_ID0 Masks */
-#define DFC 0xFFFF /* Data Filtering Code (If Enabled) (ID0) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (ID0) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (ID1) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define IDE 0x2000 /* Identifier Extension */
-#define RTR 0x4000 /* Remote Frame Transmission Request */
-#define AME 0x8000 /* Acceptance Mask Enable */
-
-/* CAN_MBxx_TIMESTAMP Masks */
-#define TSV 0xFFFF /* Timestamp */
-
-/* CAN_MBxx_LENGTH Masks */
-#define DLC 0x000F /* Data Length Code */
-
-/* CAN_AMxxH and CAN_AMxxL Masks */
-#define DFM 0xFFFF /* Data Field Mask (If Enabled) (CAN_AMxxL) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (CAN_AMxxL) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (CAN_AMxxH) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define AMIDE 0x2000 /* Acceptance Mask ID Extension Enable */
-#define FMD 0x4000 /* Full Mask Data Field Enable */
-#define FDF 0x8000 /* Filter On Data Field Enable */
-
-/* CAN_MC1 Masks */
-#define MC0 0x0001 /* Enable Mailbox 0 */
-#define MC1 0x0002 /* Enable Mailbox 1 */
-#define MC2 0x0004 /* Enable Mailbox 2 */
-#define MC3 0x0008 /* Enable Mailbox 3 */
-#define MC4 0x0010 /* Enable Mailbox 4 */
-#define MC5 0x0020 /* Enable Mailbox 5 */
-#define MC6 0x0040 /* Enable Mailbox 6 */
-#define MC7 0x0080 /* Enable Mailbox 7 */
-#define MC8 0x0100 /* Enable Mailbox 8 */
-#define MC9 0x0200 /* Enable Mailbox 9 */
-#define MC10 0x0400 /* Enable Mailbox 10 */
-#define MC11 0x0800 /* Enable Mailbox 11 */
-#define MC12 0x1000 /* Enable Mailbox 12 */
-#define MC13 0x2000 /* Enable Mailbox 13 */
-#define MC14 0x4000 /* Enable Mailbox 14 */
-#define MC15 0x8000 /* Enable Mailbox 15 */
-
-/* CAN_MC2 Masks */
-#define MC16 0x0001 /* Enable Mailbox 16 */
-#define MC17 0x0002 /* Enable Mailbox 17 */
-#define MC18 0x0004 /* Enable Mailbox 18 */
-#define MC19 0x0008 /* Enable Mailbox 19 */
-#define MC20 0x0010 /* Enable Mailbox 20 */
-#define MC21 0x0020 /* Enable Mailbox 21 */
-#define MC22 0x0040 /* Enable Mailbox 22 */
-#define MC23 0x0080 /* Enable Mailbox 23 */
-#define MC24 0x0100 /* Enable Mailbox 24 */
-#define MC25 0x0200 /* Enable Mailbox 25 */
-#define MC26 0x0400 /* Enable Mailbox 26 */
-#define MC27 0x0800 /* Enable Mailbox 27 */
-#define MC28 0x1000 /* Enable Mailbox 28 */
-#define MC29 0x2000 /* Enable Mailbox 29 */
-#define MC30 0x4000 /* Enable Mailbox 30 */
-#define MC31 0x8000 /* Enable Mailbox 31 */
-
-/* CAN_MD1 Masks */
-#define MD0 0x0001 /* Enable Mailbox 0 For Receive */
-#define MD1 0x0002 /* Enable Mailbox 1 For Receive */
-#define MD2 0x0004 /* Enable Mailbox 2 For Receive */
-#define MD3 0x0008 /* Enable Mailbox 3 For Receive */
-#define MD4 0x0010 /* Enable Mailbox 4 For Receive */
-#define MD5 0x0020 /* Enable Mailbox 5 For Receive */
-#define MD6 0x0040 /* Enable Mailbox 6 For Receive */
-#define MD7 0x0080 /* Enable Mailbox 7 For Receive */
-#define MD8 0x0100 /* Enable Mailbox 8 For Receive */
-#define MD9 0x0200 /* Enable Mailbox 9 For Receive */
-#define MD10 0x0400 /* Enable Mailbox 10 For Receive */
-#define MD11 0x0800 /* Enable Mailbox 11 For Receive */
-#define MD12 0x1000 /* Enable Mailbox 12 For Receive */
-#define MD13 0x2000 /* Enable Mailbox 13 For Receive */
-#define MD14 0x4000 /* Enable Mailbox 14 For Receive */
-#define MD15 0x8000 /* Enable Mailbox 15 For Receive */
-
-/* CAN_MD2 Masks */
-#define MD16 0x0001 /* Enable Mailbox 16 For Receive */
-#define MD17 0x0002 /* Enable Mailbox 17 For Receive */
-#define MD18 0x0004 /* Enable Mailbox 18 For Receive */
-#define MD19 0x0008 /* Enable Mailbox 19 For Receive */
-#define MD20 0x0010 /* Enable Mailbox 20 For Receive */
-#define MD21 0x0020 /* Enable Mailbox 21 For Receive */
-#define MD22 0x0040 /* Enable Mailbox 22 For Receive */
-#define MD23 0x0080 /* Enable Mailbox 23 For Receive */
-#define MD24 0x0100 /* Enable Mailbox 24 For Receive */
-#define MD25 0x0200 /* Enable Mailbox 25 For Receive */
-#define MD26 0x0400 /* Enable Mailbox 26 For Receive */
-#define MD27 0x0800 /* Enable Mailbox 27 For Receive */
-#define MD28 0x1000 /* Enable Mailbox 28 For Receive */
-#define MD29 0x2000 /* Enable Mailbox 29 For Receive */
-#define MD30 0x4000 /* Enable Mailbox 30 For Receive */
-#define MD31 0x8000 /* Enable Mailbox 31 For Receive */
-
-/* CAN_RMP1 Masks */
-#define RMP0 0x0001 /* RX Message Pending In Mailbox 0 */
-#define RMP1 0x0002 /* RX Message Pending In Mailbox 1 */
-#define RMP2 0x0004 /* RX Message Pending In Mailbox 2 */
-#define RMP3 0x0008 /* RX Message Pending In Mailbox 3 */
-#define RMP4 0x0010 /* RX Message Pending In Mailbox 4 */
-#define RMP5 0x0020 /* RX Message Pending In Mailbox 5 */
-#define RMP6 0x0040 /* RX Message Pending In Mailbox 6 */
-#define RMP7 0x0080 /* RX Message Pending In Mailbox 7 */
-#define RMP8 0x0100 /* RX Message Pending In Mailbox 8 */
-#define RMP9 0x0200 /* RX Message Pending In Mailbox 9 */
-#define RMP10 0x0400 /* RX Message Pending In Mailbox 10 */
-#define RMP11 0x0800 /* RX Message Pending In Mailbox 11 */
-#define RMP12 0x1000 /* RX Message Pending In Mailbox 12 */
-#define RMP13 0x2000 /* RX Message Pending In Mailbox 13 */
-#define RMP14 0x4000 /* RX Message Pending In Mailbox 14 */
-#define RMP15 0x8000 /* RX Message Pending In Mailbox 15 */
-
-/* CAN_RMP2 Masks */
-#define RMP16 0x0001 /* RX Message Pending In Mailbox 16 */
-#define RMP17 0x0002 /* RX Message Pending In Mailbox 17 */
-#define RMP18 0x0004 /* RX Message Pending In Mailbox 18 */
-#define RMP19 0x0008 /* RX Message Pending In Mailbox 19 */
-#define RMP20 0x0010 /* RX Message Pending In Mailbox 20 */
-#define RMP21 0x0020 /* RX Message Pending In Mailbox 21 */
-#define RMP22 0x0040 /* RX Message Pending In Mailbox 22 */
-#define RMP23 0x0080 /* RX Message Pending In Mailbox 23 */
-#define RMP24 0x0100 /* RX Message Pending In Mailbox 24 */
-#define RMP25 0x0200 /* RX Message Pending In Mailbox 25 */
-#define RMP26 0x0400 /* RX Message Pending In Mailbox 26 */
-#define RMP27 0x0800 /* RX Message Pending In Mailbox 27 */
-#define RMP28 0x1000 /* RX Message Pending In Mailbox 28 */
-#define RMP29 0x2000 /* RX Message Pending In Mailbox 29 */
-#define RMP30 0x4000 /* RX Message Pending In Mailbox 30 */
-#define RMP31 0x8000 /* RX Message Pending In Mailbox 31 */
-
-/* CAN_RML1 Masks */
-#define RML0 0x0001 /* RX Message Lost In Mailbox 0 */
-#define RML1 0x0002 /* RX Message Lost In Mailbox 1 */
-#define RML2 0x0004 /* RX Message Lost In Mailbox 2 */
-#define RML3 0x0008 /* RX Message Lost In Mailbox 3 */
-#define RML4 0x0010 /* RX Message Lost In Mailbox 4 */
-#define RML5 0x0020 /* RX Message Lost In Mailbox 5 */
-#define RML6 0x0040 /* RX Message Lost In Mailbox 6 */
-#define RML7 0x0080 /* RX Message Lost In Mailbox 7 */
-#define RML8 0x0100 /* RX Message Lost In Mailbox 8 */
-#define RML9 0x0200 /* RX Message Lost In Mailbox 9 */
-#define RML10 0x0400 /* RX Message Lost In Mailbox 10 */
-#define RML11 0x0800 /* RX Message Lost In Mailbox 11 */
-#define RML12 0x1000 /* RX Message Lost In Mailbox 12 */
-#define RML13 0x2000 /* RX Message Lost In Mailbox 13 */
-#define RML14 0x4000 /* RX Message Lost In Mailbox 14 */
-#define RML15 0x8000 /* RX Message Lost In Mailbox 15 */
-
-/* CAN_RML2 Masks */
-#define RML16 0x0001 /* RX Message Lost In Mailbox 16 */
-#define RML17 0x0002 /* RX Message Lost In Mailbox 17 */
-#define RML18 0x0004 /* RX Message Lost In Mailbox 18 */
-#define RML19 0x0008 /* RX Message Lost In Mailbox 19 */
-#define RML20 0x0010 /* RX Message Lost In Mailbox 20 */
-#define RML21 0x0020 /* RX Message Lost In Mailbox 21 */
-#define RML22 0x0040 /* RX Message Lost In Mailbox 22 */
-#define RML23 0x0080 /* RX Message Lost In Mailbox 23 */
-#define RML24 0x0100 /* RX Message Lost In Mailbox 24 */
-#define RML25 0x0200 /* RX Message Lost In Mailbox 25 */
-#define RML26 0x0400 /* RX Message Lost In Mailbox 26 */
-#define RML27 0x0800 /* RX Message Lost In Mailbox 27 */
-#define RML28 0x1000 /* RX Message Lost In Mailbox 28 */
-#define RML29 0x2000 /* RX Message Lost In Mailbox 29 */
-#define RML30 0x4000 /* RX Message Lost In Mailbox 30 */
-#define RML31 0x8000 /* RX Message Lost In Mailbox 31 */
-
-/* CAN_OPSS1 Masks */
-#define OPSS0 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 0 */
-#define OPSS1 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 1 */
-#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
-#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
-#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
-#define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */
-#define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */
-#define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */
-#define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */
-#define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */
-#define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */
-#define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */
-#define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */
-#define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */
-#define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */
-#define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */
-
-/* CAN_OPSS2 Masks */
-#define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */
-#define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */
-#define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */
-#define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */
-#define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */
-#define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */
-#define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */
-#define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */
-#define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */
-#define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */
-#define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */
-#define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */
-#define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */
-#define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */
-#define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */
-#define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */
-
-/* CAN_TRR1 Masks */
-#define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */
-#define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */
-#define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */
-#define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */
-#define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */
-#define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */
-#define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */
-#define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */
-#define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */
-#define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */
-#define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */
-#define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */
-#define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */
-#define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */
-#define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */
-#define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */
-
-/* CAN_TRR2 Masks */
-#define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */
-#define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */
-#define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */
-#define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */
-#define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */
-#define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */
-#define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */
-#define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */
-#define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */
-#define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */
-#define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */
-#define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */
-#define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */
-#define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */
-#define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */
-#define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */
-
-/* CAN_TRS1 Masks */
-#define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */
-#define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */
-#define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */
-#define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */
-#define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */
-#define TRS5 0x0020 /* Remote Frame Request For Mailbox 5 */
-#define TRS6 0x0040 /* Remote Frame Request For Mailbox 6 */
-#define TRS7 0x0080 /* Remote Frame Request For Mailbox 7 */
-#define TRS8 0x0100 /* Remote Frame Request For Mailbox 8 */
-#define TRS9 0x0200 /* Remote Frame Request For Mailbox 9 */
-#define TRS10 0x0400 /* Remote Frame Request For Mailbox 10 */
-#define TRS11 0x0800 /* Remote Frame Request For Mailbox 11 */
-#define TRS12 0x1000 /* Remote Frame Request For Mailbox 12 */
-#define TRS13 0x2000 /* Remote Frame Request For Mailbox 13 */
-#define TRS14 0x4000 /* Remote Frame Request For Mailbox 14 */
-#define TRS15 0x8000 /* Remote Frame Request For Mailbox 15 */
-
-/* CAN_TRS2 Masks */
-#define TRS16 0x0001 /* Remote Frame Request For Mailbox 16 */
-#define TRS17 0x0002 /* Remote Frame Request For Mailbox 17 */
-#define TRS18 0x0004 /* Remote Frame Request For Mailbox 18 */
-#define TRS19 0x0008 /* Remote Frame Request For Mailbox 19 */
-#define TRS20 0x0010 /* Remote Frame Request For Mailbox 20 */
-#define TRS21 0x0020 /* Remote Frame Request For Mailbox 21 */
-#define TRS22 0x0040 /* Remote Frame Request For Mailbox 22 */
-#define TRS23 0x0080 /* Remote Frame Request For Mailbox 23 */
-#define TRS24 0x0100 /* Remote Frame Request For Mailbox 24 */
-#define TRS25 0x0200 /* Remote Frame Request For Mailbox 25 */
-#define TRS26 0x0400 /* Remote Frame Request For Mailbox 26 */
-#define TRS27 0x0800 /* Remote Frame Request For Mailbox 27 */
-#define TRS28 0x1000 /* Remote Frame Request For Mailbox 28 */
-#define TRS29 0x2000 /* Remote Frame Request For Mailbox 29 */
-#define TRS30 0x4000 /* Remote Frame Request For Mailbox 30 */
-#define TRS31 0x8000 /* Remote Frame Request For Mailbox 31 */
-
-/* CAN_AA1 Masks */
-#define AA0 0x0001 /* Aborted Message In Mailbox 0 */
-#define AA1 0x0002 /* Aborted Message In Mailbox 1 */
-#define AA2 0x0004 /* Aborted Message In Mailbox 2 */
-#define AA3 0x0008 /* Aborted Message In Mailbox 3 */
-#define AA4 0x0010 /* Aborted Message In Mailbox 4 */
-#define AA5 0x0020 /* Aborted Message In Mailbox 5 */
-#define AA6 0x0040 /* Aborted Message In Mailbox 6 */
-#define AA7 0x0080 /* Aborted Message In Mailbox 7 */
-#define AA8 0x0100 /* Aborted Message In Mailbox 8 */
-#define AA9 0x0200 /* Aborted Message In Mailbox 9 */
-#define AA10 0x0400 /* Aborted Message In Mailbox 10 */
-#define AA11 0x0800 /* Aborted Message In Mailbox 11 */
-#define AA12 0x1000 /* Aborted Message In Mailbox 12 */
-#define AA13 0x2000 /* Aborted Message In Mailbox 13 */
-#define AA14 0x4000 /* Aborted Message In Mailbox 14 */
-#define AA15 0x8000 /* Aborted Message In Mailbox 15 */
-
-/* CAN_AA2 Masks */
-#define AA16 0x0001 /* Aborted Message In Mailbox 16 */
-#define AA17 0x0002 /* Aborted Message In Mailbox 17 */
-#define AA18 0x0004 /* Aborted Message In Mailbox 18 */
-#define AA19 0x0008 /* Aborted Message In Mailbox 19 */
-#define AA20 0x0010 /* Aborted Message In Mailbox 20 */
-#define AA21 0x0020 /* Aborted Message In Mailbox 21 */
-#define AA22 0x0040 /* Aborted Message In Mailbox 22 */
-#define AA23 0x0080 /* Aborted Message In Mailbox 23 */
-#define AA24 0x0100 /* Aborted Message In Mailbox 24 */
-#define AA25 0x0200 /* Aborted Message In Mailbox 25 */
-#define AA26 0x0400 /* Aborted Message In Mailbox 26 */
-#define AA27 0x0800 /* Aborted Message In Mailbox 27 */
-#define AA28 0x1000 /* Aborted Message In Mailbox 28 */
-#define AA29 0x2000 /* Aborted Message In Mailbox 29 */
-#define AA30 0x4000 /* Aborted Message In Mailbox 30 */
-#define AA31 0x8000 /* Aborted Message In Mailbox 31 */
-
-/* CAN_TA1 Masks */
-#define TA0 0x0001 /* Transmit Successful From Mailbox 0 */
-#define TA1 0x0002 /* Transmit Successful From Mailbox 1 */
-#define TA2 0x0004 /* Transmit Successful From Mailbox 2 */
-#define TA3 0x0008 /* Transmit Successful From Mailbox 3 */
-#define TA4 0x0010 /* Transmit Successful From Mailbox 4 */
-#define TA5 0x0020 /* Transmit Successful From Mailbox 5 */
-#define TA6 0x0040 /* Transmit Successful From Mailbox 6 */
-#define TA7 0x0080 /* Transmit Successful From Mailbox 7 */
-#define TA8 0x0100 /* Transmit Successful From Mailbox 8 */
-#define TA9 0x0200 /* Transmit Successful From Mailbox 9 */
-#define TA10 0x0400 /* Transmit Successful From Mailbox 10 */
-#define TA11 0x0800 /* Transmit Successful From Mailbox 11 */
-#define TA12 0x1000 /* Transmit Successful From Mailbox 12 */
-#define TA13 0x2000 /* Transmit Successful From Mailbox 13 */
-#define TA14 0x4000 /* Transmit Successful From Mailbox 14 */
-#define TA15 0x8000 /* Transmit Successful From Mailbox 15 */
-
-/* CAN_TA2 Masks */
-#define TA16 0x0001 /* Transmit Successful From Mailbox 16 */
-#define TA17 0x0002 /* Transmit Successful From Mailbox 17 */
-#define TA18 0x0004 /* Transmit Successful From Mailbox 18 */
-#define TA19 0x0008 /* Transmit Successful From Mailbox 19 */
-#define TA20 0x0010 /* Transmit Successful From Mailbox 20 */
-#define TA21 0x0020 /* Transmit Successful From Mailbox 21 */
-#define TA22 0x0040 /* Transmit Successful From Mailbox 22 */
-#define TA23 0x0080 /* Transmit Successful From Mailbox 23 */
-#define TA24 0x0100 /* Transmit Successful From Mailbox 24 */
-#define TA25 0x0200 /* Transmit Successful From Mailbox 25 */
-#define TA26 0x0400 /* Transmit Successful From Mailbox 26 */
-#define TA27 0x0800 /* Transmit Successful From Mailbox 27 */
-#define TA28 0x1000 /* Transmit Successful From Mailbox 28 */
-#define TA29 0x2000 /* Transmit Successful From Mailbox 29 */
-#define TA30 0x4000 /* Transmit Successful From Mailbox 30 */
-#define TA31 0x8000 /* Transmit Successful From Mailbox 31 */
-
-/* CAN_MBTD Masks */
-#define TDPTR 0x001F /* Mailbox To Temporarily Disable */
-#define TDA 0x0040 /* Temporary Disable Acknowledge */
-#define TDR 0x0080 /* Temporary Disable Request */
-
-/* CAN_RFH1 Masks */
-#define RFH0 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 0 */
-#define RFH1 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 1 */
-#define RFH2 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 2 */
-#define RFH3 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 3 */
-#define RFH4 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 4 */
-#define RFH5 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 5 */
-#define RFH6 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 6 */
-#define RFH7 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 7 */
-#define RFH8 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 8 */
-#define RFH9 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 9 */
-#define RFH10 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 10 */
-#define RFH11 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 11 */
-#define RFH12 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 12 */
-#define RFH13 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 13 */
-#define RFH14 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 14 */
-#define RFH15 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 15 */
-
-/* CAN_RFH2 Masks */
-#define RFH16 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 16 */
-#define RFH17 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 17 */
-#define RFH18 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 18 */
-#define RFH19 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 19 */
-#define RFH20 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 20 */
-#define RFH21 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 21 */
-#define RFH22 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 22 */
-#define RFH23 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 23 */
-#define RFH24 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 24 */
-#define RFH25 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 25 */
-#define RFH26 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 26 */
-#define RFH27 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 27 */
-#define RFH28 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 28 */
-#define RFH29 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 29 */
-#define RFH30 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 30 */
-#define RFH31 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 31 */
-
-/* CAN_MBTIF1 Masks */
-#define MBTIF0 0x0001 /* TX Interrupt Active In Mailbox 0 */
-#define MBTIF1 0x0002 /* TX Interrupt Active In Mailbox 1 */
-#define MBTIF2 0x0004 /* TX Interrupt Active In Mailbox 2 */
-#define MBTIF3 0x0008 /* TX Interrupt Active In Mailbox 3 */
-#define MBTIF4 0x0010 /* TX Interrupt Active In Mailbox 4 */
-#define MBTIF5 0x0020 /* TX Interrupt Active In Mailbox 5 */
-#define MBTIF6 0x0040 /* TX Interrupt Active In Mailbox 6 */
-#define MBTIF7 0x0080 /* TX Interrupt Active In Mailbox 7 */
-#define MBTIF8 0x0100 /* TX Interrupt Active In Mailbox 8 */
-#define MBTIF9 0x0200 /* TX Interrupt Active In Mailbox 9 */
-#define MBTIF10 0x0400 /* TX Interrupt Active In Mailbox 10 */
-#define MBTIF11 0x0800 /* TX Interrupt Active In Mailbox 11 */
-#define MBTIF12 0x1000 /* TX Interrupt Active In Mailbox 12 */
-#define MBTIF13 0x2000 /* TX Interrupt Active In Mailbox 13 */
-#define MBTIF14 0x4000 /* TX Interrupt Active In Mailbox 14 */
-#define MBTIF15 0x8000 /* TX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBTIF2 Masks */
-#define MBTIF16 0x0001 /* TX Interrupt Active In Mailbox 16 */
-#define MBTIF17 0x0002 /* TX Interrupt Active In Mailbox 17 */
-#define MBTIF18 0x0004 /* TX Interrupt Active In Mailbox 18 */
-#define MBTIF19 0x0008 /* TX Interrupt Active In Mailbox 19 */
-#define MBTIF20 0x0010 /* TX Interrupt Active In Mailbox 20 */
-#define MBTIF21 0x0020 /* TX Interrupt Active In Mailbox 21 */
-#define MBTIF22 0x0040 /* TX Interrupt Active In Mailbox 22 */
-#define MBTIF23 0x0080 /* TX Interrupt Active In Mailbox 23 */
-#define MBTIF24 0x0100 /* TX Interrupt Active In Mailbox 24 */
-#define MBTIF25 0x0200 /* TX Interrupt Active In Mailbox 25 */
-#define MBTIF26 0x0400 /* TX Interrupt Active In Mailbox 26 */
-#define MBTIF27 0x0800 /* TX Interrupt Active In Mailbox 27 */
-#define MBTIF28 0x1000 /* TX Interrupt Active In Mailbox 28 */
-#define MBTIF29 0x2000 /* TX Interrupt Active In Mailbox 29 */
-#define MBTIF30 0x4000 /* TX Interrupt Active In Mailbox 30 */
-#define MBTIF31 0x8000 /* TX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBRIF1 Masks */
-#define MBRIF0 0x0001 /* RX Interrupt Active In Mailbox 0 */
-#define MBRIF1 0x0002 /* RX Interrupt Active In Mailbox 1 */
-#define MBRIF2 0x0004 /* RX Interrupt Active In Mailbox 2 */
-#define MBRIF3 0x0008 /* RX Interrupt Active In Mailbox 3 */
-#define MBRIF4 0x0010 /* RX Interrupt Active In Mailbox 4 */
-#define MBRIF5 0x0020 /* RX Interrupt Active In Mailbox 5 */
-#define MBRIF6 0x0040 /* RX Interrupt Active In Mailbox 6 */
-#define MBRIF7 0x0080 /* RX Interrupt Active In Mailbox 7 */
-#define MBRIF8 0x0100 /* RX Interrupt Active In Mailbox 8 */
-#define MBRIF9 0x0200 /* RX Interrupt Active In Mailbox 9 */
-#define MBRIF10 0x0400 /* RX Interrupt Active In Mailbox 10 */
-#define MBRIF11 0x0800 /* RX Interrupt Active In Mailbox 11 */
-#define MBRIF12 0x1000 /* RX Interrupt Active In Mailbox 12 */
-#define MBRIF13 0x2000 /* RX Interrupt Active In Mailbox 13 */
-#define MBRIF14 0x4000 /* RX Interrupt Active In Mailbox 14 */
-#define MBRIF15 0x8000 /* RX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBRIF2 Masks */
-#define MBRIF16 0x0001 /* RX Interrupt Active In Mailbox 16 */
-#define MBRIF17 0x0002 /* RX Interrupt Active In Mailbox 17 */
-#define MBRIF18 0x0004 /* RX Interrupt Active In Mailbox 18 */
-#define MBRIF19 0x0008 /* RX Interrupt Active In Mailbox 19 */
-#define MBRIF20 0x0010 /* RX Interrupt Active In Mailbox 20 */
-#define MBRIF21 0x0020 /* RX Interrupt Active In Mailbox 21 */
-#define MBRIF22 0x0040 /* RX Interrupt Active In Mailbox 22 */
-#define MBRIF23 0x0080 /* RX Interrupt Active In Mailbox 23 */
-#define MBRIF24 0x0100 /* RX Interrupt Active In Mailbox 24 */
-#define MBRIF25 0x0200 /* RX Interrupt Active In Mailbox 25 */
-#define MBRIF26 0x0400 /* RX Interrupt Active In Mailbox 26 */
-#define MBRIF27 0x0800 /* RX Interrupt Active In Mailbox 27 */
-#define MBRIF28 0x1000 /* RX Interrupt Active In Mailbox 28 */
-#define MBRIF29 0x2000 /* RX Interrupt Active In Mailbox 29 */
-#define MBRIF30 0x4000 /* RX Interrupt Active In Mailbox 30 */
-#define MBRIF31 0x8000 /* RX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBIM1 Masks */
-#define MBIM0 0x0001 /* Enable Interrupt For Mailbox 0 */
-#define MBIM1 0x0002 /* Enable Interrupt For Mailbox 1 */
-#define MBIM2 0x0004 /* Enable Interrupt For Mailbox 2 */
-#define MBIM3 0x0008 /* Enable Interrupt For Mailbox 3 */
-#define MBIM4 0x0010 /* Enable Interrupt For Mailbox 4 */
-#define MBIM5 0x0020 /* Enable Interrupt For Mailbox 5 */
-#define MBIM6 0x0040 /* Enable Interrupt For Mailbox 6 */
-#define MBIM7 0x0080 /* Enable Interrupt For Mailbox 7 */
-#define MBIM8 0x0100 /* Enable Interrupt For Mailbox 8 */
-#define MBIM9 0x0200 /* Enable Interrupt For Mailbox 9 */
-#define MBIM10 0x0400 /* Enable Interrupt For Mailbox 10 */
-#define MBIM11 0x0800 /* Enable Interrupt For Mailbox 11 */
-#define MBIM12 0x1000 /* Enable Interrupt For Mailbox 12 */
-#define MBIM13 0x2000 /* Enable Interrupt For Mailbox 13 */
-#define MBIM14 0x4000 /* Enable Interrupt For Mailbox 14 */
-#define MBIM15 0x8000 /* Enable Interrupt For Mailbox 15 */
-
-/* CAN_MBIM2 Masks */
-#define MBIM16 0x0001 /* Enable Interrupt For Mailbox 16 */
-#define MBIM17 0x0002 /* Enable Interrupt For Mailbox 17 */
-#define MBIM18 0x0004 /* Enable Interrupt For Mailbox 18 */
-#define MBIM19 0x0008 /* Enable Interrupt For Mailbox 19 */
-#define MBIM20 0x0010 /* Enable Interrupt For Mailbox 20 */
-#define MBIM21 0x0020 /* Enable Interrupt For Mailbox 21 */
-#define MBIM22 0x0040 /* Enable Interrupt For Mailbox 22 */
-#define MBIM23 0x0080 /* Enable Interrupt For Mailbox 23 */
-#define MBIM24 0x0100 /* Enable Interrupt For Mailbox 24 */
-#define MBIM25 0x0200 /* Enable Interrupt For Mailbox 25 */
-#define MBIM26 0x0400 /* Enable Interrupt For Mailbox 26 */
-#define MBIM27 0x0800 /* Enable Interrupt For Mailbox 27 */
-#define MBIM28 0x1000 /* Enable Interrupt For Mailbox 28 */
-#define MBIM29 0x2000 /* Enable Interrupt For Mailbox 29 */
-#define MBIM30 0x4000 /* Enable Interrupt For Mailbox 30 */
-#define MBIM31 0x8000 /* Enable Interrupt For Mailbox 31 */
-
-/* CAN_GIM Masks */
-#define EWTIM 0x0001 /* Enable TX Error Count Interrupt */
-#define EWRIM 0x0002 /* Enable RX Error Count Interrupt */
-#define EPIM 0x0004 /* Enable Error-Passive Mode Interrupt */
-#define BOIM 0x0008 /* Enable Bus Off Interrupt */
-#define WUIM 0x0010 /* Enable Wake-Up Interrupt */
-#define UIAIM 0x0020 /* Enable Access To Unimplemented Address Interrupt */
-#define AAIM 0x0040 /* Enable Abort Acknowledge Interrupt */
-#define RMLIM 0x0080 /* Enable RX Message Lost Interrupt */
-#define UCEIM 0x0100 /* Enable Universal Counter Overflow Interrupt */
-#define EXTIM 0x0200 /* Enable External Trigger Output Interrupt */
-#define ADIM 0x0400 /* Enable Access Denied Interrupt */
-
-/* CAN_GIS Masks */
-#define EWTIS 0x0001 /* TX Error Count IRQ Status */
-#define EWRIS 0x0002 /* RX Error Count IRQ Status */
-#define EPIS 0x0004 /* Error-Passive Mode IRQ Status */
-#define BOIS 0x0008 /* Bus Off IRQ Status */
-#define WUIS 0x0010 /* Wake-Up IRQ Status */
-#define UIAIS 0x0020 /* Access To Unimplemented Address IRQ Status */
-#define AAIS 0x0040 /* Abort Acknowledge IRQ Status */
-#define RMLIS 0x0080 /* RX Message Lost IRQ Status */
-#define UCEIS 0x0100 /* Universal Counter Overflow IRQ Status */
-#define EXTIS 0x0200 /* External Trigger Output IRQ Status */
-#define ADIS 0x0400 /* Access Denied IRQ Status */
-
-/* CAN_GIF Masks */
-#define EWTIF 0x0001 /* TX Error Count IRQ Flag */
-#define EWRIF 0x0002 /* RX Error Count IRQ Flag */
-#define EPIF 0x0004 /* Error-Passive Mode IRQ Flag */
-#define BOIF 0x0008 /* Bus Off IRQ Flag */
-#define WUIF 0x0010 /* Wake-Up IRQ Flag */
-#define UIAIF 0x0020 /* Access To Unimplemented Address IRQ Flag */
-#define AAIF 0x0040 /* Abort Acknowledge IRQ Flag */
-#define RMLIF 0x0080 /* RX Message Lost IRQ Flag */
-#define UCEIF 0x0100 /* Universal Counter Overflow IRQ Flag */
-#define EXTIF 0x0200 /* External Trigger Output IRQ Flag */
-#define ADIF 0x0400 /* Access Denied IRQ Flag */
-
-/* CAN_UCCNF Masks */
-#define UCCNF 0x000F /* Universal Counter Mode */
-#define UC_STAMP 0x0001 /* Timestamp Mode */
-#define UC_WDOG 0x0002 /* Watchdog Mode */
-#define UC_AUTOTX 0x0003 /* Auto-Transmit Mode */
-#define UC_ERROR 0x0006 /* CAN Error Frame Count */
-#define UC_OVER 0x0007 /* CAN Overload Frame Count */
-#define UC_LOST 0x0008 /* Arbitration Lost During TX Count */
-#define UC_AA 0x0009 /* TX Abort Count */
-#define UC_TA 0x000A /* TX Successful Count */
-#define UC_REJECT 0x000B /* RX Message Rejected Count */
-#define UC_RML 0x000C /* RX Message Lost Count */
-#define UC_RX 0x000D /* Total Successful RX Messages Count */
-#define UC_RMP 0x000E /* Successful RX W/Matching ID Count */
-#define UC_ALL 0x000F /* Correct Message On CAN Bus Line Count */
-#define UCRC 0x0020 /* Universal Counter Reload/Clear */
-#define UCCT 0x0040 /* Universal Counter CAN Trigger */
-#define UCE 0x0080 /* Universal Counter Enable */
-
-/* CAN_ESR Masks */
-#define ACKE 0x0004 /* Acknowledge Error */
-#define SER 0x0008 /* Stuff Error */
-#define CRCE 0x0010 /* CRC Error */
-#define SA0 0x0020 /* Stuck At Dominant Error */
-#define BEF 0x0040 /* Bit Error Flag */
-#define FER 0x0080 /* Form Error Flag */
-
-/* CAN_EWR Masks */
-#define EWLREC 0x00FF /* RX Error Count Limit (For EWRIS) */
-#define EWLTEC 0xFF00 /* TX Error Count Limit (For EWTIS) */
-
-
-/* ******************* PIN CONTROL REGISTER MASKS ************************/
-/* PORT_MUX Masks */
-#define PJSE 0x0001 /* Port J SPI/SPORT Enable */
-#define PJSE_SPORT 0x0000 /* Enable TFS0/DT0PRI */
-#define PJSE_SPI 0x0001 /* Enable SPI_SSEL3:2 */
-
-#ifdef _MISRA_RULES
-#define PJCE(x) (((x)&0x3u)<<1) /* Port J CAN/SPI/SPORT Enable */
-#else
-#define PJCE(x) (((x)&0x3)<<1) /* Port J CAN/SPI/SPORT Enable */
-#endif /* _MISRA_RULES */
-
-#define PJCE_SPORT 0x0000 /* Enable DR0SEC/DT0SEC */
-#define PJCE_CAN 0x0002 /* Enable CAN RX/TX */
-#define PJCE_SPI 0x0004 /* Enable SPI_SSEL7 */
-
-#define PFDE 0x0008 /* Port F DMA Request Enable */
-#define PFDE_UART 0x0000 /* Enable UART0 RX/TX */
-#define PFDE_DMA 0x0008 /* Enable DMAR1:0 */
-
-#define PFTE 0x0010 /* Port F Timer Enable */
-#define PFTE_UART 0x0000 /* Enable UART1 RX/TX */
-#define PFTE_TIMER 0x0010 /* Enable TMR7:6 */
-
-#define PFS6E 0x0020 /* Port F SPI SSEL 6 Enable */
-#define PFS6E_TIMER 0x0000 /* Enable TMR5 */
-#define PFS6E_SPI 0x0020 /* Enable SPI_SSEL6 */
-
-#define PFS5E 0x0040 /* Port F SPI SSEL 5 Enable */
-#define PFS5E_TIMER 0x0000 /* Enable TMR4 */
-#define PFS5E_SPI 0x0040 /* Enable SPI_SSEL5 */
-
-#define PFS4E 0x0080 /* Port F SPI SSEL 4 Enable */
-#define PFS4E_TIMER 0x0000 /* Enable TMR3 */
-#define PFS4E_SPI 0x0080 /* Enable SPI_SSEL4 */
-
-#define PFFE 0x0100 /* Port F PPI Frame Sync Enable */
-#define PFFE_TIMER 0x0000 /* Enable TMR2 */
-#define PFFE_PPI 0x0100 /* Enable PPI FS3 */
-
-#define PGSE 0x0200 /* Port G SPORT1 Secondary Enable */
-#define PGSE_PPI 0x0000 /* Enable PPI D9:8 */
-#define PGSE_SPORT 0x0200 /* Enable DR1SEC/DT1SEC */
-
-#define PGRE 0x0400 /* Port G SPORT1 Receive Enable */
-#define PGRE_PPI 0x0000 /* Enable PPI D12:10 */
-#define PGRE_SPORT 0x0400 /* Enable DR1PRI/RFS1/RSCLK1 */
-
-#define PGTE 0x0800 /* Port G SPORT1 Transmit Enable */
-#define PGTE_PPI 0x0000 /* Enable PPI D15:13 */
-#define PGTE_SPORT 0x0800 /* Enable DT1PRI/TFS1/TSCLK1 */
-
-
-/* ****************** HANDSHAKE DMA (HDMA) MASKS *********************/
-/* HDMAx_CTL Masks */
-#define HMDMAEN 0x0001 /* Enable Handshake DMA 0/1 */
-#define REP 0x0002 /* HDMA Request Polarity */
-#define UTE 0x0004 /* Urgency Threshold Enable */
-#define OIE 0x0010 /* Overflow Interrupt Enable */
-#define BDIE 0x0020 /* Block Done Interrupt Enable */
-#define MBDI 0x0040 /* Mask Block Done IRQ If Pending ECNT */
-#define DRQ 0x0300 /* HDMA Request Type */
-#define DRQ_NONE 0x0000 /* No Request */
-#define DRQ_SINGLE 0x0100 /* Channels Request Single */
-#define DRQ_MULTI 0x0200 /* Channels Request Multi (Default) */
-#define DRQ_URGENT 0x0300 /* Channels Request Multi Urgent */
-#define RBC 0x1000 /* Reload BCNT With IBCNT */
-#define PS 0x2000 /* HDMA Pin Status */
-#define OI 0x4000 /* Overflow Interrupt Generated */
-#define BDI 0x8000 /* Block Done Interrupt Generated */
-
-/* entry addresses of the user-callable Boot ROM functions */
-
-#define _BOOTROM_RESET 0xEF000000
-#define _BOOTROM_FINAL_INIT 0xEF000002
-#define _BOOTROM_DO_MEMORY_DMA 0xEF000006
-#define _BOOTROM_BOOT_DXE_FLASH 0xEF000008
-#define _BOOTROM_BOOT_DXE_SPI 0xEF00000A
-#define _BOOTROM_BOOT_DXE_TWI 0xEF00000C
-#define _BOOTROM_GET_DXE_ADDRESS_FLASH 0xEF000010
-#define _BOOTROM_GET_DXE_ADDRESS_SPI 0xEF000012
-#define _BOOTROM_GET_DXE_ADDRESS_TWI 0xEF000014
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define PGDE_UART PFDE_UART
-#define PGDE_DMA PFDE_DMA
-#define CKELOW SCKELOW
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF534_H */
-
diff --git a/libgloss/bfin/include/defBF535.h b/libgloss/bfin/include/defBF535.h
deleted file mode 100644
index babae8c..0000000
--- a/libgloss/bfin/include/defBF535.h
+++ /dev/null
@@ -1,1154 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defBF535.h
- *
- * (c) Copyright 2001-2008 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF535 */
-
-#ifndef _DEF_BF535_H
-#define _DEF_BF535_H
-
-#if defined(__ADSPLPBLACKFIN__)
-#warning defBF535.h should only be included for 535 compatible chips.
-#endif
-/* include all Core registers and bit definitions */
-#include <defblackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* Memory Map */
-/*********************************************************************************** */
-
-/* Core MMRs */
-#define COREMMR_BASE 0xFFE00000 /* Core MMRs */
-#define COREMMR_SIZE 0x200000 /* 2MB */
-
-/* System MMRs */
-#define SYSMMR_BASE 0xFFC00000 /* System MMRs */
-#define SYSMMR_SIZE 0x200000 /* 2MB */
-
-/* L1 cache/SRAM internal memory */
-#define L1_DATA_A 0xFF800000 /* L1 Data Bank A */
-#define L1_DATA_B 0xFF900000 /* L1 Data Bank B */
-#define L1_DATA_SIZE 0x4000 /* 16K */
-#define L1_CODE 0xFFA00000 /* L1 Code SRAM */
-#define L1_CODE_SIZE 0x4000 /* 16K */
-#define L1_SCRATCH 0xFFB00000 /* L1 Scratch SRAM */
-#define L1_SCRATCH_SIZE 0x1000 /* 4K */
-
-/* L2 SRAM external memory */
-#define L2_BASE 0xF0000000 /* L2 SRAM */
-#define L2_SIZE 0x40000 /* 256K */
-
-/* PCI Spaces */
-#define PCI_CONFIG_SPACE_PORT 0xEEFFFFFC /* PCI config space reg */
-#define PCI_CONFIG_BASE 0xEEFFFF00 /* PCI config region */
-#define PCI_CONFIG_SIZE 0x10000 /* 64K */
-#define PCI_IO_BASE 0xEEFE0000 /* PCI I/O space */
-#define PCI_IO_SIZE 0x10000 /* 64K */
-#define PCI_MEM_BASE 0xE0000000 /* PCI Mem space */
-#define PCI_MEM_SIZE 0x8000000 /* 64K */
-
-/* Async Memory Banks */
-#define ASYNC_BANK3_BASE 0x2C000000 /* Async Bank 3 */
-#define ASYNC_BANK3_SIZE 0x4000000 /* 64 MB */
-#define ASYNC_BANK2_BASE 0x28000000 /* Async Bank 2 */
-#define ASYNC_BANK2_SIZE 0x4000000 /* 64 MB */
-#define ASYNC_BANK1_BASE 0x24000000 /* Async Bank 1 */
-#define ASYNC_BANK1_SIZE 0x4000000 /* 64 MB */
-#define ASYNC_BANK0_BASE 0x20000000 /* Async Bank 0 */
-#define ASYNC_BANK0_SIZE 0x4000000 /* 64 MB */
-
-/* Sync DRAM Banks */
-#define SDRAM_BANK3_BASE 0x18000000 /* Sync Bank 3 */
-#define SDRAM_BANK2_BASE 0x10000000 /* Sync Bank 2 */
-#define SDRAM_BANK1_BASE 0x08000000 /* Sync Bank 1 */
-#define SDRAM_BANK0_BASE 0x00000000 /* Sync Bank 0 */
-
-
-/*********************************************************************************** */
-/* System MMR Register Map */
-/*********************************************************************************** */
-
-/* L2 MISR MMRs (0xFFC0 0000-0xFFC0 03FF) */
-#define MISR_CTL 0xFFC00000 /* Control Register */
-#define MISR_RMISR0 0xFFC00004 /* coreL2[31:0] read bus */
-#define MISR_RMISR1 0xFFC00008 /* coreL2[63:32] read bus */
-#define MISR_RMISR2 0xFFC0000C /* sysL2[31:0] read bus */
-#define MISR_WMISR0 0xFFC00010 /* coreL2[31:0] write bus */
-#define MISR_WMISR1 0xFFC00014 /* coreL2[63:32] write bus */
-#define MISR_WMISR2 0xFFC00018 /* sysL2[31:0] write bus */
-
-/* Clock and System Control (0xFFC0 0400-0xFFC0 07FF) */
-#define PLL_CTL 0xFFC00400 /* PLL Control register (32-bit) */
-#define PLL_STAT 0xFFC00404 /* PLL Status register */
-#define PLL_LOCKCNT 0xFFC00406 /* PLL Lock Counter register */
-#define PLL_IOCKR 0xFFC00408 /* Peripheral Clock Enable register (32-bit) */
-#define PLL_IOCK 0xFFC00408 /* Peripheral Clock Enable register (32-bit) - alternate spelling */
-#define SWRST 0xFFC00410 /* Software Reset Register */
-
-#define PLLCTL PLL_CTL
-#define PLLSTAT PLL_STAT
-#define LOCKCNT PLL_LOCKCNT
-#define IOCKR PLL_IOCKR
-
-#define SYSCR 0xFFC00414 /* System Configuration register (RCSR) */
-
-/* JTAG/Debug Communication Channel (0xFFC0 0800-0xFFC0 0BFF) */
-#define CHIPID 0xFFC048C0 /* Device ID Register */
-
-/* System Interrupt Controller (0xFFC0 0C00-0xFFC0 0FFF) */
-#define SIC_IAR0 0xFFC00C04 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00C08 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00C0C /* Interrupt Assignment Register 2 */
-#define SIC_IMASK 0xFFC00C10 /* Interrupt Mask Register */
-#define SIC_ISR 0xFFC00C14 /* Interrupt Status Register */
-#define SIC_IWR 0xFFC00C18 /* Interrupt Wakeup Register */
-
-/* Watchdog Timer (0xFFC0 1000-0xFFC0 13FF) */
-#define WDOGCTL 0xFFC01000 /* Watchdog Control Register */
-#define WDOGCNT 0xFFC01004 /* Watchdog Count Register */
-#define WDOGSTAT 0xFFC01008 /* Watchdog Status Register */
-
-#define WDOG_CTL WDOGCTL
-#define WDOG_CNT WDOGCNT
-#define WDOG_STAT WDOGSTAT
-
-/* Real Time Clock (0xFFC0 1400-0xFFC0 17FF) */
-#define RTCSTAT 0xFFC01400 /* RTC Status Register */
-#define RTCICTL 0xFFC01404 /* RTC Interrupt Control Register */
-#define RTCISTAT 0xFFC01408 /* RTC Interrupt Status Register */
-#define RTCSWCNT 0xFFC0140C /* RTC Stopwatch Count Register */
-#define RTCALARM 0xFFC01410 /* RTC Alarm Time Register */
-#define RTCFAST 0xFFC01414 /* RTC Prescaler Control Register */
-
-#define RTC_STAT RTCSTAT
-#define RTC_ICTL RTCICTL
-#define RTC_ISTAT RTCISTAT
-#define RTC_SWCNT RTCSWCNT
-#define RTC_ALARM RTCALARM
-#define RTC_FAST RTCFAST
-
-/* UART 0 Controller (0xFFC0 1800-0xFFC0 1BFF) */
-#define UART0_THR 0xFFC01800 /* Transmit Holding register */
-#define UART0_RBR 0xFFC01800 /* Receive Buffer register */
-#define UART0_DLL 0xFFC01800 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC01802 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC01802 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC01804 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC01806 /* Line Control Register */
-#define UART0_MCR 0xFFC01808 /* Module Control Register */
-#define UART0_LSR 0xFFC0180A /* Line Status Register */
-#define UART0_MSR 0xFFC0180C /* MSR Modem Status Register */
-#define UART0_SCR 0xFFC0180E /* SCR Scratch Register */
-#define UART0_IRCR 0xFFC01810 /* IRCR IrDA Control Register */
-#define UART0_CURR_PTR_RX 0xFFC01A00 /* UART -DMA RCV Current Pointer register */
-#define UART0_CONFIG_RX 0xFFC01A02 /* UART -RCV DMA Configuration register */
-#define UART0_START_ADDR_HI_RX 0xFFC01A04 /* UART -RCV DMA Start Page register */
-#define UART0_START_ADDR_LO_RX 0xFFC01A06 /* UART -RCV DMA Start Address register */
-#define UART0_COUNT_RX 0xFFC01A08 /* UART -RCV DMA Count register */
-#define UART0_NEXT_DESCR_RX 0xFFC01A0A /* UART -RCV DMA Next Descriptor Pointer register */
-#define UART0_DESCR_RDY_RX 0xFFC01A0C /* UART -RCV DMA Descriptor Ready */
-#define UART0_IRQSTAT_RX 0xFFC01A0E /* UART -RCV DMA Interrupt Register */
-#define UART0_CURR_PTR_TX 0xFFC01B00 /* UART -XMT DMA Current Pointer register */
-#define UART0_CONFIG_TX 0xFFC01B02 /* UART -XMT DMA Configuration register */
-#define UART0_START_ADDR_HI_TX 0xFFC01B04 /* UART -XMT DMA Start Page register */
-#define UART0_START_ADDR_LO_TX 0xFFC01B06 /* UART -XMT DMA Start Address register */
-#define UART0_COUNT_TX 0xFFC01B08 /* UART -XMT DMA Count register */
-#define UART0_NEXT_DESCR_TX 0xFFC01B0A /* UART -XMT DMA Next Descriptor Pointer register */
-#define UART0_DESCR_RDY_TX 0xFFC01B0C /* UART -XMT DMA Descriptor Ready */
-#define UART0_IRQSTAT_TX 0xFFC01B0E /* UART -XMT DMA Interrupt register */
-
-/* UART 1 Controller (0xFFC0 1C00-0xFFC0 1FFF) */
-#define UART1_THR 0xFFC01C00 /* Transmit Holding register */
-#define UART1_RBR 0xFFC01C00 /* Receive Buffer register */
-#define UART1_DLL 0xFFC01C00 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC01C02 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC01C02 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC01C04 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC01C06 /* Line Control Register */
-#define UART1_MCR 0xFFC01C08 /* Module Control Register */
-#define UART1_LSR 0xFFC01C0A /* Line Status Register */
-#define UART1_MSR 0xFFC01C0C /* MSR Modem Status Register */
-#define UART1_SCR 0xFFC01C0E /* SCR Scratch Register */
-#define UART1_CURR_PTR_RX 0xFFC01E00 /* UART -DMA RCV Current Pointer register */
-#define UART1_CONFIG_RX 0xFFC01E02 /* UART -RCV DMA Configuration register */
-#define UART1_START_ADDR_HI_RX 0xFFC01E04 /* UART -RCV DMA Start Page register */
-#define UART1_START_ADDR_LO_RX 0xFFC01E06 /* UART -RCV DMA Start Address register */
-#define UART1_COUNT_RX 0xFFC01E08 /* UART -RCV DMA Count register */
-#define UART1_NEXT_DESCR_RX 0xFFC01E0A /* UART -RCV DMA Next Descriptor Pointer register */
-#define UART1_DESCR_RDY_RX 0xFFC01E0C /* UART -RCV DMA Descriptor Ready */
-#define UART1_IRQSTAT_RX 0xFFC01E0E /* UART -RCV DMA Interrupt Register */
-#define UART1_CURR_PTR_TX 0xFFC01F00 /* UART -XMT DMA Current Pointer register */
-#define UART1_CONFIG_TX 0xFFC01F02 /* UART -XMT DMA Configuration register */
-#define UART1_START_ADDR_HI_TX 0xFFC01F04 /* UART -XMT DMA Start Page register */
-#define UART1_START_ADDR_LO_TX 0xFFC01F06 /* UART -XMT DMA Start Address register */
-#define UART1_COUNT_TX 0xFFC01F08 /* UART -XMT DMA Count register */
-#define UART1_NEXT_DESCR_TX 0xFFC01F0A /* UART -XMT DMA Next Descriptor Pointer register */
-#define UART1_DESCR_RDY_TX 0xFFC01F0C /* UART -XMT DMA Descriptor Ready */
-#define UART1_IRQSTAT_TX 0xFFC01F0E /* UART -XMT DMA Interrupt register */
-
-/* TIMER 0, 1, 2 Registers (0xFFC0 2000-0xFFC0 23FF) */
-#define TIMER0_STATUS 0xFFC02000 /* Timer 0 Global Status and Sticky Register */
-#define TIMER0_CONFIG 0xFFC02002 /* Timer 0 configuration Register */
-#define TIMER0_COUNTER_LO 0xFFC02004 /* Timer 0 Counter Register (low word) */
-#define TIMER0_COUNTER_HI 0xFFC02006 /* Timer 0 Counter Register (high word) */
-#define TIMER0_PERIOD_LO 0xFFC02008 /* Timer 0 Period Register (low word) */
-#define TIMER0_PERIOD_HI 0xFFC0200A /* Timer 0 Period Register (high word) */
-#define TIMER0_WIDTH_LO 0xFFC0200C /* Timer 0 Width Register (low word) */
-#define TIMER0_WIDTH_HI 0xFFC0200E /* Timer 0 Width Register (high word) */
-#define TIMER1_STATUS 0xFFC02010 /* Timer 1 Global Status and Sticky Register */
-#define TIMER1_CONFIG 0xFFC02012 /* Timer 1 configuration register */
-#define TIMER1_COUNTER_LO 0xFFC02014 /* Timer 1 Counter Register (low word) */
-#define TIMER1_COUNTER_HI 0xFFC02016 /* Timer 1 Counter Register (high word) */
-#define TIMER1_PERIOD_LO 0xFFC02018 /* Timer 1 Period Register (low word) */
-#define TIMER1_PERIOD_HI 0xFFC0201A /* Timer 1 Period Register (high word) */
-#define TIMER1_WIDTH_LO 0xFFC0201C /* Timer 1 Width Register (low word) */
-#define TIMER1_WIDTH_HI 0xFFC0201E /* Timer 1 Width Register (high word) */
-#define TIMER2_STATUS 0xFFC02020 /* Timer 2 Global Status and Sticky Register */
-#define TIMER2_CONFIG 0xFFC02022 /* Timer 2 configuration register */
-#define TIMER2_COUNTER_LO 0xFFC02024 /* Timer 2 Counter Register (low word) */
-#define TIMER2_COUNTER_HI 0xFFC02026 /* Timer 2 Counter Register (high word) */
-#define TIMER2_PERIOD_LO 0xFFC02028 /* Timer 2 Period Register (low word) */
-#define TIMER2_PERIOD_HI 0xFFC0202A /* Timer 2 Period Register (high word) */
-#define TIMER2_WIDTH_LO 0xFFC0202C /* Timer 2 Width Register (low word) */
-#define TIMER2_WIDTH_HI 0xFFC0202E /* Timer 2 Width Register (high word) */
-
-/* General Purpose IO (0xFFC0 2400-0xFFC0 27FF) */
-#define FIO_DIR 0xFFC02400 /* Peripheral Flag Direction Register */
-#define FIO_FLAG_C 0xFFC02404 /* Peripheral Interrupt Flag Register (clear) */
-#define FIO_FLAG_S 0xFFC02406 /* Peripheral Interrupt Flag Register (set) */
-#define FIO_MASKA_C 0xFFC02408 /* Flag Mask Interrupt A Register (clear) */
-#define FIO_MASKA_S 0xFFC0240A /* Flag Mask Interrupt A Register (set) */
-#define FIO_MASKB_C 0xFFC0240C /* Flag Mask Interrupt B Register (clear) */
-#define FIO_MASKB_S 0xFFC0240E /* Flag Mask Interrupt B Register (set) */
-#define FIO_POLAR 0xFFC02410 /* Flag Source Polarity Register */
-#define FIO_EDGE 0xFFC02414 /* Flag Source Sensitivity Register */
-#define FIO_BOTH 0xFFC02418 /* Flag Set on BOTH Edges Register */
-
-/* SPORT0 Controller (0xFFC0 2800-0xFFC0 2BFF) */
-#define SPORT0_TX_CONFIG 0xFFC02800 /* SPORT0 Transmit Configuration Register */
-#define SPORT0_RX_CONFIG 0xFFC02802 /* SPORT0 Receive Configuration Register */
-#define SPORT0_TX 0xFFC02804 /* SPORT0 TX transmit Register */
-#define SPORT0_RX 0xFFC02806 /* SPORT0 RX Receive register */
-#define SPORT0_TSCLKDIV 0xFFC02808 /* SPORT0 Transmit Serial Clock Divider */
-#define SPORT0_RSCLKDIV 0xFFC0280A /* SPORT0 Receive Serial Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0280C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_RFSDIV 0xFFC0280E /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC02810 /* SPORT0 Status Register */
-#define SPORT0_MTCS0 0xFFC02812 /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS1 0xFFC02814 /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS2 0xFFC02816 /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS3 0xFFC02818 /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS4 0xFFC0281A /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS5 0xFFC0281C /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS6 0xFFC0281E /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MTCS7 0xFFC02820 /* SPORT0 Multi-Channel Transmit Select Register */
-#define SPORT0_MRCS0 0xFFC02822 /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS1 0xFFC02824 /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS2 0xFFC02826 /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS3 0xFFC02828 /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS4 0xFFC0282A /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS5 0xFFC0282C /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS6 0xFFC0282E /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MRCS7 0xFFC02830 /* SPORT0 Multi-Channel Receive Select Register */
-#define SPORT0_MCMC1 0xFFC02832 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC02834 /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_CURR_PTR_RX 0xFFC02A00 /* SPORT0 -RCV DMA Current Pointer */
-#define SPORT0_CONFIG_DMA_RX 0xFFC02A02 /* SPORT0 -RCV DMA Configuration */
-#define SPORT0_START_ADDR_HI_RX 0xFFC02A04 /* SPORT0 -RCV DMA Start Page */
-#define SPORT0_START_ADDR_LO_RX 0xFFC02A06 /* SPORT0 -RCV DMA Start Address */
-#define SPORT0_COUNT_RX 0xFFC02A08 /* SPORT0 -RCV DMA Count */
-#define SPORT0_NEXT_DESCR_RX 0xFFC02A0A /* SPORT0 -RCV DMA Next Descriptor Pointer */
-#define SPORT0_DESCR_RDY_RX 0xFFC02A0C /* SPORT0 -RCV DMA Descriptor Ready */
-#define SPORT0_IRQSTAT_RX 0xFFC02A0E /* SPORT0 -RCV DMA Interrupt Register */
-#define SPORT0_CURR_PTR_TX 0xFFC02B00 /* SPORT0 -XMT DMA Current Pointer */
-#define SPORT0_CONFIG_DMA_TX 0xFFC02B02 /* SPORT0 -XMT DMA Configuration */
-#define SPORT0_START_ADDR_HI_TX 0xFFC02B04 /* SPORT0 -XMT DMA Start Page */
-#define SPORT0_START_ADDR_LO_TX 0xFFC02B06 /* SPORT0 -XMT DMA Start Address */
-#define SPORT0_COUNT_TX 0xFFC02B08 /* SPORT0 -XMT DMA Count */
-#define SPORT0_NEXT_DESCR_TX 0xFFC02B0A /* SPORT0 -XMT DMA Next Descriptor Pointer */
-#define SPORT0_DESCR_RDY_TX 0xFFC02B0C /* SPORT0 -XMT DMA Descriptor Ready */
-#define SPORT0_IRQSTAT_TX 0xFFC02B0E /* SPORT0 -XMT DMA Interrupt Register */
-
-/* SPORT1 Controller (0xFFC0 2C00-0xFFC0 2FFF) */
-#define SPORT1_TX_CONFIG 0xFFC02C00 /* SPORT1 Transmit Configuration Register */
-#define SPORT1_RX_CONFIG 0xFFC02C02 /* SPORT1 Receive Configuration Register */
-#define SPORT1_TX 0xFFC02C04 /* SPORT1 TX transmit Register */
-#define SPORT1_RX 0xFFC02C06 /* SPORT1 RX Receive register */
-#define SPORT1_TSCLKDIV 0xFFC02C08 /* SPORT1 Transmit Serial Clock Divider */
-#define SPORT1_RSCLKDIV 0xFFC02C0A /* SPORT1 Receive Serial Clock Divider */
-#define SPORT1_TFSDIV 0xFFC02C0C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_RFSDIV 0xFFC02C0E /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC02C10 /* SPORT1 Status Register */
-#define SPORT1_MTCS0 0xFFC02C12 /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS1 0xFFC02C14 /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS2 0xFFC02C16 /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS3 0xFFC02C18 /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS4 0xFFC02C1A /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS5 0xFFC02C1C /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS6 0xFFC02C1E /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MTCS7 0xFFC02C20 /* SPORT1 Multi-Channel Transmit Select Register */
-#define SPORT1_MRCS0 0xFFC02C22 /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS1 0xFFC02C24 /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS2 0xFFC02C26 /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS3 0xFFC02C28 /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS4 0xFFC02C2A /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS5 0xFFC02C2C /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS6 0xFFC02C2E /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MRCS7 0xFFC02C30 /* SPORT1 Multi-Channel Receive Select Register */
-#define SPORT1_MCMC1 0xFFC02C32 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC02C34 /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_CURR_PTR_RX 0xFFC02E00 /* SPORT1 -RCV DMA Current Pointer */
-#define SPORT1_CONFIG_DMA_RX 0xFFC02E02 /* SPORT1 -RCV DMA Configuration */
-#define SPORT1_START_ADDR_HI_RX 0xFFC02E04 /* SPORT1 -RCV DMA Start Page */
-#define SPORT1_START_ADDR_LO_RX 0xFFC02E06 /* SPORT1 -RCV DMA Start Address */
-#define SPORT1_COUNT_RX 0xFFC02E08 /* SPORT1 -RCV DMA Count */
-#define SPORT1_NEXT_DESCR_RX 0xFFC02E0A /* SPORT1 -RCV DMA Next Descriptor Pointer */
-#define SPORT1_DESCR_RDY_RX 0xFFC02E0C /* SPORT1 -RCV DMA Descriptor Ready */
-#define SPORT1_IRQSTAT_RX 0xFFC02E0E /* SPORT1 -RCV DMA Interrupt Register */
-#define SPORT1_CURR_PTR_TX 0xFFC02F00 /* SPORT1 -XMT DMA Current Pointer */
-#define SPORT1_CONFIG_DMA_TX 0xFFC02F02 /* SPORT1 -XMT DMA Configuration */
-#define SPORT1_START_ADDR_HI_TX 0xFFC02F04 /* SPORT1 -XMT DMA Start Page */
-#define SPORT1_START_ADDR_LO_TX 0xFFC02F06 /* SPORT1 -XMT DMA Start Address */
-#define SPORT1_COUNT_TX 0xFFC02F08 /* SPORT1 -XMT DMA Count */
-#define SPORT1_NEXT_DESCR_TX 0xFFC02F0A /* SPORT1 -XMT DMA Next Descriptor Pointer */
-#define SPORT1_DESCR_RDY_TX 0xFFC02F0C /* SPORT1 -XMT DMA Descriptor Ready */
-#define SPORT1_IRQSTAT_TX 0xFFC02F0E /* SPORT1 -XMT DMA Interrupt Register */
-
-/* SPI 0 Controller (0xFFC0 3000-0xFFC0 33FF) */
-#define SPI0_CTL 0xFFC03000 /* SPI0 Control Register */
-#define SPI0_FLG 0xFFC03002 /* SPI0 Flag register */
-#define SPI0_ST 0xFFC03004 /* SPI0 Status register */
-#define SPI0_TDBR 0xFFC03006 /* SPI0 Transmit Data Buffer Register */
-#define SPI0_RDBR 0xFFC03008 /* SPI0 Receive Data Buffer Register */
-#define SPI0_BAUD 0xFFC0300A /* SPI0 Baud rate Register */
-#define SPI0_SHADOW 0xFFC0300C
-#define SPI0_CURR_PTR 0xFFC03200 /* SPI0 -DMA Current Pointer register */
-#define SPI0_CONFIG 0xFFC03202 /* SPI0 -DMA Configuration register */
-#define SPI0_START_ADDR_HI 0xFFC03204 /* SPI0 -DMA Start Page register */
-#define SPI0_START_ADDR_LO 0xFFC03206 /* SPI0 -DMA Start Address register */
-#define SPI0_COUNT 0xFFC03208 /* SPI0 -DMA Count register */
-#define SPI0_NEXT_DESCR 0xFFC0320A /* SPI0 -DMA Next Descriptor Pointer */
-#define SPI0_DESCR_RDY 0xFFC0320C /* SPI0 -DMA Descriptor Ready */
-#define SPI0_DMA_INT 0xFFC0320E /* SPI0 -DMA Interrupt register */
-
-/* SPI 1 Controller (0xFFC0 3400-0xFFC0 37FF) */
-#define SPI1_CTL 0xFFC03400 /* SPI1 Control Register */
-#define SPI1_FLG 0xFFC03402 /* SPI1 Flag register */
-#define SPI1_ST 0xFFC03404 /* SPI1 Status register */
-#define SPI1_TDBR 0xFFC03406 /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC03408 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC0340A /* SPI1 Baud rate Register */
-#define SPI1_SHADOW 0xFFC0340C
-#define SPI1_CURR_PTR 0xFFC03600 /* SPI1 -DMA Current Pointer register */
-#define SPI1_CONFIG 0xFFC03602 /* SPI1 -DMA Configuration register */
-#define SPI1_START_ADDR_HI 0xFFC03604 /* SPI1 -DMA Start Page register */
-#define SPI1_START_ADDR_LO 0xFFC03606 /* SPI1 -DMA Start Address register */
-#define SPI1_COUNT 0xFFC03608 /* SPI1 -DMA Count register */
-#define SPI1_NEXT_DESCR 0xFFC0360A /* SPI1 -DMA Next Descriptor Pointer */
-#define SPI1_DESCR_RDY 0xFFC0360C /* SPI1 -DMA Descriptor Ready */
-#define SPI1_DMA_INT 0xFFC0360E /* SPI1 -DMA Interrupt register */
-
-/* Memory DMA Controller (0xFFC0 3800-0xFFC0 3BFF) */
-#define MDD_DCP 0xFFC03800 /* Current Pointer - Write Channel */
-#define MDD_DCFG 0xFFC03802 /* DMA Configuration - Write Channel */
-#define MDD_DSAH 0xFFC03804 /* Start Address Hi - Write Channel */
-#define MDD_DSAL 0xFFC03806 /* Start Address Lo - Write Channel */
-#define MDD_DCT 0xFFC03808 /* DMA Count - Write Channel */
-#define MDD_DND 0xFFC0380A /* Next Descriptor Pointer - Write Channel */
-#define MDD_DDR 0xFFC0380C /* Descriptor Ready - Write Channel */
-#define MDD_DI 0xFFC0380E /* DMA Interrupt - Write Channel */
-#define MDS_DCP 0xFFC03900 /* Current Pointer - Read Channel */
-#define MDS_DCFG 0xFFC03902 /* DMA Configuration - Read Channel */
-#define MDS_DSAH 0xFFC03904 /* Start Address Hi - Read Channel */
-#define MDS_DSAL 0xFFC03906 /* Start Address Lo - Read Channel */
-#define MDS_DCT 0xFFC03908 /* DMA Count - Read Channel */
-#define MDS_DND 0xFFC0390A /* Next Descriptor Pointer - Read Channel */
-#define MDS_DDR 0xFFC0390C /* Descriptor Ready - Read Channel */
-#define MDS_DI 0xFFC0390E /* DMA Interrupt - Read Channel */
-
-/* For backwards-compatibility with VDSP++3.0 and earlier code... */
-#define MDW_DCP MDD_DCP
-#define MDW_DCFG MDD_DCFG
-#define MDW_DSAH MDD_DSAH
-#define MDW_DSAL MDD_DSAL
-#define MDW_DCT MDD_DCT
-#define MDW_DND MDD_DND
-#define MDW_DDR MDD_DDR
-#define MDW_DI MDD_DI
-#define MDR_DCP MDS_DCP
-#define MDR_DCFG MDS_DCFG
-#define MDR_DSAH MDS_DSAH
-#define MDR_DSAL MDS_DSAL
-#define MDR_DCT MDS_DCT
-#define MDR_DND MDS_DND
-#define MDR_DDR MDS_DDR
-#define MDR_DI MDS_DI
-
-/* Aysnchronous Memory Controller - External Bus Interface Unit (0xFFC0 3C00-0xFFC0 3FFF) */
-#define EBIU_AMGCTL 0xFFC03C00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC03C04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC03C08 /* Asynchronous Memory Bank Control Register 1 */
-
-/* PCI Bridge PAB Registers (0xFFC0 4000-0xFFC0 43FF) */
-#define PCI_CTL 0xFFC04000 /* PCI Bridge Control */
-#define PCI_CTL_HOST 0x01
-#define PCI_CTL_ENABPCI 0x02
-#define PCI_CTL_FASTBCK2BCK 0x04
-#define PCI_CTL_ENABINTA 0x08
-#define PCI_CTL_OUTPUTINTA 0x10
-#define PCI_CTL_ENABRST 0x20
-#define PCI_CTL_OUTPUTRST 0x40
-
-
-#define PCI_STAT 0xFFC04004 /* PCI Bridge Status */
-#define PCI_STAT_INTA 0x0001
-#define PCI_STAT_INTB 0x0002
-#define PCI_STAT_INTC 0x0004
-#define PCI_STAT_INTD 0x0008
-#define PCI_STAT_PARERR 0x0010
-#define PCI_STAT_FATERR 0x0020
-#define PCI_STAT_RESET 0x0040
-#define PCI_STAT_TXEMPTY 0x0080
-#define PCI_STAT_TXFULL 0x0100
-#define PCI_STAT_QUEFULL 0x0200
-#define PCI_STAT_MEMWRINV 0x0400
-#define PCI_STAT_INRDERR 0x0800
-#define PCI_STAT_INWRERR 0x1000
-#define PCI_STAT_INVEABACC 0x2000
-#define PCI_STAT_SYSERR 0x4000
-
-#define PCI_ICTL 0xFFC04008 /* PCI Bridge Interrupt Control */
-#define PCI_ICTL_INTA 0x0001
-#define PCI_ICTL_INTB 0x0002
-#define PCI_ICTL_INTC 0x0004
-#define PCI_ICTL_INTD 0x0008
-#define PCI_ICTL_PARERR 0x0010
-#define PCI_ICTL_FATERR 0x0020
-#define PCI_ICTL_RESET 0x0040
-#define PCI_ICTL_TXFULL 0x0080
-#define PCI_ICTL_MEMWRINV 0x0400
-#define PCI_ICTL_INRDERR 0x0800
-#define PCI_ICTL_INWRERR 0x1000
-#define PCI_ICTL_INVEABACC 0x2000
-#define PCI_ICTL_SYSERR 0x4000
-
-#define PCI_MBAP 0xFFC0400C /* PCI Memory Space Base Address Pointer [31:27] */
-#define PCI_IBAP 0xFFC04010 /* PCI IO Space Base Address Pointer */
-#define PCI_CBAP 0xFFC04014 /* PCI Config Space Base Address Port */
-#define PCI_TMBAP 0xFFC04018 /* PCI to BF535 Memory Base Address Pointer */
-#define PCI_TIBAP 0xFFC0401C /* PCI to BF535 IO Base Address Pointer */
-
-/* PCI Bridge External Access Bus Registers (0xEEFF FF00-0xEEFF FFFF) */
-#define PCI_DMBARM 0xEEFFFF00 /* PCI Device Memory Bar Mask */
-#define PCI_DIBARM 0xEEFFFF04 /* PCI Device IO Bar Mask */
-#define PCI_CFG_DIC 0xEEFFFF08 /* PCI Config Device ID */
-#define PCI_CFG_VIC 0xEEFFFF0C /* PCI Config Vendor ID */
-#define PCI_CFG_STAT 0xEEFFFF10 /* PCI Config Status (Read-only) */
-#define PCI_CFG_CMD 0xEEFFFF14 /* PCI Config Command */
-#define PCI_CFG_CC 0xEEFFFF18 /* PCI Config Class Code */
-#define PCI_CFG_RID 0xEEFFFF1C /* PCI Config Revision ID */
-#define PCI_CFG_BIST 0xEEFFFF20 /* PCI Config BIST */
-#define PCI_CFG_HT 0xEEFFFF24 /* PCI Config Header Type */
-#define PCI_CFG_MLT 0xEEFFFF28 /* PCI Config Memory Latency Timer */
-#define PCI_CFG_CLS 0xEEFFFF2C /* PCI Config Cache Line Size */
-#define PCI_CFG_MBAR 0xEEFFFF30 /* PCI Config Memory Base Address Register */
-#define PCI_CFG_IBAR 0xEEFFFF34 /* PCI Config IO Base Address Register */
-#define PCI_CFG_SID 0xEEFFFF38 /* PCI Config Sub-system ID */
-#define PCI_CFG_SVID 0xEEFFFF3C /* PCI Config Sub-system Vendor ID */
-#define PCI_CFG_MAXL 0xEEFFFF40 /* PCI Config Maximum Latency Cycles */
-#define PCI_CFG_MING 0xEEFFFF44 /* PCI Config Minimum Grant Cycles */
-#define PCI_CFG_IP 0xEEFFFF48 /* PCI Config Interrupt Pin */
-#define PCI_CFG_IL 0xEEFFFF4C /* PCI Config Interrupt Line */
-#define PCI_HMCTL 0xEEFFFF50 /* PCI Blocking BAR Host Mode Control */
-
-#define PCI_HMCTL_SYSMMRENAB 0x1
-#define PCI_HMCTL_L2ENAB 0x2
-#define PCI_HMCTL_ASYNCENAB 0x4
-#define PCI_HMCTL_ASYNCSIZE 0x18 /* 00-64MB, 01-128MB, 10-192MB, 11-256MB */
-#define PCI_HMCTL_SDRAMENAB 0x20
-#define PCI_HMCTL_SDRAMSIZE 0x7C0 /* 0-32MB, 1-64MB, 2-96MB, 128MB, 160MB */
-
-/* USB Registers (0xFFC0 4400 - 0xFFC0 47FF) */
-#define USBD_ID 0xFFC04400 /* USB Device ID Register */
-#define USBD_FRM 0xFFC04402 /* Current USB Frame Number */
-#define USBD_FRMAT 0xFFC04404 /* Match value for USB frame number. */
-#define USBD_EPBUF 0xFFC04406 /* Enables Download of Configuration Into UDC Core */
-#define USBD_STAT 0xFFC04408 /* Returns USBD Module Status */
-#define USBD_CTRL 0xFFC0440A /* Allows Configuration and Control of USBD Module. */
-#define USBD_GINTR 0xFFC0440C /* Global Interrupt Register */
-#define USBD_GMASK 0xFFC0440E /* Global Interrupt Register Mask */
-#define USBD_DMACFG 0xFFC04440 /* DMA Master Channel Configuration Register */
-#define USBD_DMABL 0xFFC04442 /* DMA Master Channel Base Address, Low */
-#define USBD_DMABH 0xFFC04444 /* DMA Master Channel Base Address, High */
-#define USBD_DMACT 0xFFC04446 /* DMA Master Channel Count Register */
-#define USBD_DMAIRQ 0xFFC04448 /* DMA Master Channel DMA Count Register */
-#define USBD_INTR0 0xFFC04480 /* USB Endpoint 0 Interrupt Register */
-#define USBD_MASK0 0xFFC04482 /* USB Endpoint 0 Mask Register */
-#define USBD_EPCFG0 0xFFC04484 /* USB Endpoint 0 Control Register */
-#define USBD_EPADR0 0xFFC04486 /* USB Endpoint 0 Address Offset Register */
-#define USBD_EPLEN0 0xFFC04488 /* USB Endpoint 0 Buffer Length Register */
-#define USBD_INTR1 0xFFC0448A /* USB Endpoint 1 Interrupt Register */
-#define USBD_MASK1 0xFFC0448C /* USB Endpoint 1 Mask Register */
-#define USBD_EPCFG1 0xFFC0448E /* USB Endpoint 1 Control Register */
-#define USBD_EPADR1 0xFFC04490 /* USB Endpoint 1 Address Offset Register */
-#define USBD_EPLEN1 0xFFC04492 /* USB Endpoint 1 Buffer Length Register */
-#define USBD_INTR2 0xFFC04494 /* USB Endpoint 2 Interrupt Register */
-#define USBD_MASK2 0xFFC04496 /* USB Endpoint 2 Mask Register */
-#define USBD_EPCFG2 0xFFC04498 /* USB Endpoint 2 Control Register */
-#define USBD_EPADR2 0xFFC0449A /* USB Endpoint 2 Address Offset Register */
-#define USBD_EPLEN2 0xFFC0449C /* USB Endpoint 2 Buffer Length Register */
-#define USBD_INTR3 0xFFC0449E /* USB Endpoint 3 Interrupt Register */
-#define USBD_MASK3 0xFFC044A0 /* USB Endpoint 3 Mask Register */
-#define USBD_EPCFG3 0xFFC044A2 /* USB Endpoint 3 Control Register */
-#define USBD_EPADR3 0xFFC044A4 /* USB Endpoint 3 Address Offset Register */
-#define USBD_EPLEN3 0xFFC044A6 /* USB Endpoint 3 Buffer Length Register */
-#define USBD_INTR4 0xFFC044A8 /* USB Endpoint 4 Interrupt Register */
-#define USBD_MASK4 0xFFC044AA /* USB Endpoint 4 Mask Register */
-#define USBD_EPCFG4 0xFFC044AC /* USB Endpoint 4 Control Register */
-#define USBD_EPADR4 0xFFC044AE /* USB Endpoint 4 Address Offset Register */
-#define USBD_EPLEN4 0xFFC044B0 /* USB Endpoint 4 Buffer Length Register */
-#define USBD_INTR5 0xFFC044B2 /* USB Endpoint 5 Interrupt Register */
-#define USBD_MASK5 0xFFC044B4 /* USB Endpoint 5 Mask Register */
-#define USBD_EPCFG5 0xFFC044B6 /* USB Endpoint 5 Control Register */
-#define USBD_EPADR5 0xFFC044B8 /* USB Endpoint 5 Address Offset Register */
-#define USBD_EPLEN5 0xFFC044BA /* USB Endpoint 5 Buffer Length Register */
-#define USBD_INTR6 0xFFC044BC /* USB Endpoint 6 Interrupt Register */
-#define USBD_MASK6 0xFFC044BE /* USB Endpoint 6 Mask Register */
-#define USBD_EPCFG6 0xFFC044C0 /* USB Endpoint 6 Control Register */
-#define USBD_EPADR6 0xFFC044C2 /* USB Endpoint 6 Address Offset Register */
-#define USBD_EPLEN6 0xFFC044C4 /* USB Endpoint 6 Buffer Length Register */
-#define USBD_INTR7 0xFFC044C6 /* USB Endpoint 7 Interrupt Register */
-#define USBD_MASK7 0xFFC044C8 /* USB Endpoint 7 Mask Register */
-#define USBD_EPCFG7 0xFFC044CA /* USB Endpoint 7 Control Register */
-#define USBD_EPADR7 0xFFC044CC /* USB Endpoint 7 Address Offset Register */
-#define USBD_EPLEN7 0xFFC044CE /* USB Endpoint 7 Buffer Length Register */
-
-/* System Bus Interface Unit (0xFFC0 4800-0xFFC0 4FFF) */
-#define L1SBAR 0xFFC04840 /* L1 SRAM Base Address Register */
-#define L1CSR 0xFFC04844 /* L1 SRAM Control Initialization Register */
-#define DMA_DBP 0xFFC04880 /* Next Descriptor Base Pointer */
-#define DB_ACOMP 0xFFC04884 /* DMA Bus Address Comparator */
-#define DB_CCOMP 0xFFC04888 /* DMA Bus Control Comparator */
-
-#define DB_NDBP DMA_DBP /* Backward compatibility */
-
-#define L1_SBAR L1SBAR
-#define L1_CSR L1CSR
-
-/* SDRAM Controller External Bus Interface Unit (0xFFC0 4C00-0xFFC0 4FFF) */
-#define EBIU_SDGCTL 0xFFC04C00 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC04C04 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC04C0A /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC04C0E /* SDRAM Status Register */
-
-/* PAB Reserved (0xFFC0 5000-0xFFDF FFFF) (**Reserved**) */
-
-/*********************************************************************************** */
-/* System MMR Register Bits */
-/*********************************************************************************** */
-
-/* PLLCTL Masks */
-#define PLL_CLKIN 0x00000000 /* Pass CLKIN to PLL */
-#define PLL_CLKIN_DIV2 0x00000001 /* Pass CLKIN/2 to PLL */
-#define PLL_OFF 0x00000002 /* Shut off PLL clocks */
-#define STOPCK_OFF 0x00000008 /* Core clock off */
-#define PDWN 0x00000020 /* Put the PLL in a Deep Sleep state */
-#define BYPASS 0x00000100 /* Bypass the PLL */
-#define CCLK_DIV2 0x00000000 /* SCLK = CCLK / 2 */
-#define CCLK_DIV2_5 0x00010000 /* SCLK = CCLK / 2.5 */
-#define CCLK_DIV3 0x00020000 /* SCLK = CCLK / 3 */
-#define CCLK_DIV4 0x00030000 /* SCLK = CCLK / 4 */
-
-/* IOCKR Masks */
-#define IOCK_PCI 0x00000001 /* Enable PCI peripheral clock */
-#define IOCK_L2 0x00000002 /* Enable L2 memory peripheral clock */
-#define IOCK_EBIU 0x00000004 /* Enable EBIU controller peripheral clock */
-#define IOCK_GPIO 0x00000008 /* Enable GPIO peripheral clock */
-#define IOCK_MEMDMA 0x00000010 /* Enable MemDMA controller peripheral clock */
-#define IOCK_SPORT0 0x00000020 /* Enable SPORT0 controller peripheral clock */
-#define IOCK_SPORT1 0x00000040 /* Enable SPORT1 controller peripheral clock */
-#define IOCK_SPI0 0x00000080 /* Enable SPI0 controller peripheral clock */
-#define IOCK_SPI1 0x00000100 /* Enable SPI1 controller peripheral clock */
-#define IOCK_UART0 0x00000200 /* Enable UART0 controller peripheral clock */
-#define IOCK_UART1 0x00000400 /* Enable UART1 controller peripheral clock */
-#define IOCK_TIMER0 0x00000800 /* Enable TIMER0 peripheral clock */
-#define IOCK_TIMER1 0x00001000 /* Enable TIMER1 peripheral clock */
-#define IOCK_TIMER2 0x00002000 /* Enable TIMER2 peripheral clock */
-#define IOCK_USB 0x00004000 /* Enable USB peripheral clock */
-
-/* SWRST Mask */
-#define SYSTEM_RESET 0x00000007 /* Initiates a system software reset */
-
-/* System Interrupt Controller Masks (SIC_IAR0, SIC_IAR1, SIC_IAR2, SIC_IMASK, SIC_IWR) */
-/* SIC_IAR0 Masks */
-
-/* */
-#define P0_IVG7 0x00000000 /* Peripheral #0 assigned IVG7 */
-#define P0_IVG8 0x00000001 /* Peripheral #0 assigned IVG8 */
-#define P0_IVG9 0x00000002 /* Peripheral #0 assigned IVG9 */
-#define P0_IVG10 0x00000003 /* Peripheral #0 assigned IVG10 */
-#define P0_IVG11 0x00000004 /* Peripheral #0 assigned IVG11 */
-#define P0_IVG12 0x00000005 /* Peripheral #0 assigned IVG12 */
-#define P0_IVG13 0x00000006 /* Peripheral #0 assigned IVG13 */
-#define P0_IVG14 0x00000007 /* Peripheral #0 assigned IVG14 */
-#define P0_IVG15 0x00000008 /* Peripheral #0 assigned IVG15 */
-#define P1_IVG7 0x00000000 /* Peripheral #1 assigned IVG7 */
-#define P1_IVG8 0x00000010 /* Peripheral #1 assigned IVG8 */
-#define P1_IVG9 0x00000020 /* Peripheral #1 assigned IVG9 */
-#define P1_IVG10 0x00000030 /* Peripheral #1 assigned IVG10 */
-#define P1_IVG11 0x00000040 /* Peripheral #1 assigned IVG11 */
-#define P1_IVG12 0x00000050 /* Peripheral #1 assigned IVG12 */
-#define P1_IVG13 0x00000060 /* Peripheral #1 assigned IVG13 */
-#define P1_IVG14 0x00000070 /* Peripheral #1 assigned IVG14 */
-#define P1_IVG15 0x00000080 /* Peripheral #1 assigned IVG15 */
-#define P2_IVG7 0x00000000 /* Peripheral #2 assigned IVG7 */
-#define P2_IVG8 0x00000100 /* Peripheral #2 assigned IVG8 */
-#define P2_IVG9 0x00000200 /* Peripheral #2 assigned IVG9 */
-#define P2_IVG10 0x00000300 /* Peripheral #2 assigned IVG10 */
-#define P2_IVG11 0x00000400 /* Peripheral #2 assigned IVG11 */
-#define P2_IVG12 0x00000500 /* Peripheral #2 assigned IVG12 */
-#define P2_IVG13 0x00000600 /* Peripheral #2 assigned IVG13 */
-#define P2_IVG14 0x00000700 /* Peripheral #2 assigned IVG14 */
-#define P2_IVG15 0x00000800 /* Peripheral #2 assigned IVG15 */
-#define P3_IVG7 0x00000000 /* Peripheral #3 assigned IVG7 */
-#define P3_IVG8 0x00001000 /* Peripheral #3 assigned IVG8 */
-#define P3_IVG9 0x00002000 /* Peripheral #3 assigned IVG9 */
-#define P3_IVG10 0x00003000 /* Peripheral #3 assigned IVG10 */
-#define P3_IVG11 0x00004000 /* Peripheral #3 assigned IVG11 */
-#define P3_IVG12 0x00005000 /* Peripheral #3 assigned IVG12 */
-#define P3_IVG13 0x00006000 /* Peripheral #3 assigned IVG13 */
-#define P3_IVG14 0x00007000 /* Peripheral #3 assigned IVG14 */
-#define P3_IVG15 0x00008000 /* Peripheral #3 assigned IVG15 */
-#define P4_IVG7 0x00000000 /* Peripheral #4 assigned IVG7 */
-#define P4_IVG8 0x00010000 /* Peripheral #4 assigned IVG8 */
-#define P4_IVG9 0x00020000 /* Peripheral #4 assigned IVG9 */
-#define P4_IVG10 0x00030000 /* Peripheral #4 assigned IVG10 */
-#define P4_IVG11 0x00040000 /* Peripheral #4 assigned IVG11 */
-#define P4_IVG12 0x00050000 /* Peripheral #4 assigned IVG12 */
-#define P4_IVG13 0x00060000 /* Peripheral #4 assigned IVG13 */
-#define P4_IVG14 0x00070000 /* Peripheral #4 assigned IVG14 */
-#define P4_IVG15 0x00080000 /* Peripheral #4 assigned IVG15 */
-#define P5_IVG7 0x00000000 /* Peripheral #5 assigned IVG7 */
-#define P5_IVG8 0x00100000 /* Peripheral #5 assigned IVG8 */
-#define P5_IVG9 0x00200000 /* Peripheral #5 assigned IVG9 */
-#define P5_IVG10 0x00300000 /* Peripheral #5 assigned IVG10 */
-#define P5_IVG11 0x00400000 /* Peripheral #5 assigned IVG11 */
-#define P5_IVG12 0x00500000 /* Peripheral #5 assigned IVG12 */
-#define P5_IVG13 0x00600000 /* Peripheral #5 assigned IVG13 */
-#define P5_IVG14 0x00700000 /* Peripheral #5 assigned IVG14 */
-#define P5_IVG15 0x00800000 /* Peripheral #5 assigned IVG15 */
-#define P6_IVG7 0x00000000 /* Peripheral #6 assigned IVG7 */
-#define P6_IVG8 0x01000000 /* Peripheral #6 assigned IVG8 */
-#define P6_IVG9 0x02000000 /* Peripheral #6 assigned IVG9 */
-#define P6_IVG10 0x03000000 /* Peripheral #6 assigned IVG10 */
-#define P6_IVG11 0x04000000 /* Peripheral #6 assigned IVG11 */
-#define P6_IVG12 0x05000000 /* Peripheral #6 assigned IVG12 */
-#define P6_IVG13 0x06000000 /* Peripheral #6 assigned IVG13 */
-#define P6_IVG14 0x07000000 /* Peripheral #6 assigned IVG14 */
-#define P6_IVG15 0x08000000 /* Peripheral #6 assigned IVG15 */
-#define P7_IVG7 0x00000000 /* Peripheral #7 assigned IVG7 */
-#define P7_IVG8 0x10000000 /* Peripheral #7 assigned IVG8 */
-#define P7_IVG9 0x20000000 /* Peripheral #7 assigned IVG9 */
-#define P7_IVG10 0x30000000 /* Peripheral #7 assigned IVG10 */
-#define P7_IVG11 0x40000000 /* Peripheral #7 assigned IVG11 */
-#define P7_IVG12 0x50000000 /* Peripheral #7 assigned IVG12 */
-#define P7_IVG13 0x60000000 /* Peripheral #7 assigned IVG13 */
-#define P7_IVG14 0x70000000 /* Peripheral #7 assigned IVG14 */
-#define P7_IVG15 0x80000000 /* Peripheral #7 assigned IVG15 */
-
-/* SIC_IAR1 Masks */
-#define P8_IVG7 0x00000000 /* Peripheral #8 assigned IVG7 */
-#define P8_IVG8 0x00000001 /* Peripheral #8 assigned IVG8 */
-#define P8_IVG9 0x00000002 /* Peripheral #8 assigned IVG9 */
-#define P8_IVG10 0x00000003 /* Peripheral #8 assigned IVG10 */
-#define P8_IVG11 0x00000004 /* Peripheral #8 assigned IVG11 */
-#define P8_IVG12 0x00000005 /* Peripheral #8 assigned IVG12 */
-#define P8_IVG13 0x00000006 /* Peripheral #8 assigned IVG13 */
-#define P8_IVG14 0x00000007 /* Peripheral #8 assigned IVG14 */
-#define P8_IVG15 0x00000008 /* Peripheral #8 assigned IVG15 */
-#define P9_IVG7 0x00000000 /* Peripheral #9 assigned IVG7 */
-#define P9_IVG8 0x00000010 /* Peripheral #9 assigned IVG8 */
-#define P9_IVG9 0x00000020 /* Peripheral #9 assigned IVG9 */
-#define P9_IVG10 0x00000030 /* Peripheral #9 assigned IVG10 */
-#define P9_IVG11 0x00000040 /* Peripheral #9 assigned IVG11 */
-#define P9_IVG12 0x00000050 /* Peripheral #9 assigned IVG12 */
-#define P9_IVG13 0x00000060 /* Peripheral #9 assigned IVG13 */
-#define P9_IVG14 0x00000070 /* Peripheral #9 assigned IVG14 */
-#define P9_IVG15 0x00000080 /* Peripheral #9 assigned IVG15 */
-#define P10_IVG7 0x00000000 /* Peripheral #10 assigned IVG7 */
-#define P10_IVG8 0x00000100 /* Peripheral #10 assigned IVG8 */
-#define P10_IVG9 0x00000200 /* Peripheral #10 assigned IVG9 */
-#define P10_IVG10 0x00000300 /* Peripheral #10 assigned IVG10 */
-#define P10_IVG11 0x00000400 /* Peripheral #10 assigned IVG11 */
-#define P10_IVG12 0x00000500 /* Peripheral #10 assigned IVG12 */
-#define P10_IVG13 0x00000600 /* Peripheral #10 assigned IVG13 */
-#define P10_IVG14 0x00000700 /* Peripheral #10 assigned IVG14 */
-#define P10_IVG15 0x00000800 /* Peripheral #10 assigned IVG15 */
-#define P11_IVG7 0x00000000 /* Peripheral #11 assigned IVG7 */
-#define P11_IVG8 0x00001000 /* Peripheral #11 assigned IVG8 */
-#define P11_IVG9 0x00002000 /* Peripheral #11 assigned IVG9 */
-#define P11_IVG10 0x00003000 /* Peripheral #11 assigned IVG10 */
-#define P11_IVG11 0x00004000 /* Peripheral #11 assigned IVG11 */
-#define P11_IVG12 0x00005000 /* Peripheral #11 assigned IVG12 */
-#define P11_IVG13 0x00006000 /* Peripheral #11 assigned IVG13 */
-#define P11_IVG14 0x00007000 /* Peripheral #11 assigned IVG14 */
-#define P11_IVG15 0x00008000 /* Peripheral #11 assigned IVG15 */
-#define P12_IVG7 0x00000000 /* Peripheral #12 assigned IVG7 */
-#define P12_IVG8 0x00010000 /* Peripheral #12 assigned IVG8 */
-#define P12_IVG9 0x00020000 /* Peripheral #12 assigned IVG9 */
-#define P12_IVG10 0x00030000 /* Peripheral #12 assigned IVG10 */
-#define P12_IVG11 0x00040000 /* Peripheral #12 assigned IVG11 */
-#define P12_IVG12 0x00050000 /* Peripheral #12 assigned IVG12 */
-#define P12_IVG13 0x00060000 /* Peripheral #12 assigned IVG13 */
-#define P12_IVG14 0x00070000 /* Peripheral #12 assigned IVG14 */
-#define P12_IVG15 0x00080000 /* Peripheral #12 assigned IVG15 */
-#define P13_IVG7 0x00000000 /* Peripheral #13 assigned IVG7 */
-#define P13_IVG8 0x00100000 /* Peripheral #13 assigned IVG8 */
-#define P13_IVG9 0x00200000 /* Peripheral #13 assigned IVG9 */
-#define P13_IVG10 0x00300000 /* Peripheral #13 assigned IVG10 */
-#define P13_IVG11 0x00400000 /* Peripheral #13 assigned IVG11 */
-#define P13_IVG12 0x00500000 /* Peripheral #13 assigned IVG12 */
-#define P13_IVG13 0x00600000 /* Peripheral #13 assigned IVG13 */
-#define P13_IVG14 0x00700000 /* Peripheral #14 assigned IVG14 */
-#define P13_IVG15 0x00800000 /* Peripheral #14 assigned IVG15 */
-#define P14_IVG7 0x00000000 /* Peripheral #14 assigned IVG7 */
-#define P14_IVG8 0x01000000 /* Peripheral #14 assigned IVG8 */
-#define P14_IVG9 0x02000000 /* Peripheral #14 assigned IVG9 */
-#define P14_IVG10 0x03000000 /* Peripheral #14 assigned IVG10 */
-#define P14_IVG11 0x04000000 /* Peripheral #14 assigned IVG11 */
-#define P14_IVG12 0x05000000 /* Peripheral #14 assigned IVG12 */
-#define P14_IVG13 0x06000000 /* Peripheral #14 assigned IVG13 */
-#define P14_IVG14 0x07000000 /* Peripheral #14 assigned IVG14 */
-#define P14_IVG15 0x08000000 /* Peripheral #14 assigned IVG15 */
-#define P15_IVG7 0x00000000 /* Peripheral #15 assigned IVG7 */
-#define P15_IVG8 0x10000000 /* Peripheral #15 assigned IVG8 */
-#define P15_IVG9 0x20000000 /* Peripheral #15 assigned IVG9 */
-#define P15_IVG10 0x30000000 /* Peripheral #15 assigned IVG10 */
-#define P15_IVG11 0x40000000 /* Peripheral #15 assigned IVG11 */
-#define P15_IVG12 0x50000000 /* Peripheral #15 assigned IVG12 */
-#define P15_IVG13 0x60000000 /* Peripheral #15 assigned IVG13 */
-#define P15_IVG14 0x70000000 /* Peripheral #15 assigned IVG14 */
-#define P15_IVG15 0x80000000 /* Peripheral #15 assigned IVG15 */
-
-/* SIC_IAR2 Masks */
-#define P16_IVG7 0x00000000 /* Peripheral #16 assigned IVG7 */
-#define P16_IVG8 0x00000001 /* Peripheral #16 assigned IVG8 */
-#define P16_IVG9 0x00000002 /* Peripheral #16 assigned IVG9 */
-#define P16_IVG10 0x00000003 /* Peripheral #16 assigned IVG10 */
-#define P16_IVG11 0x00000004 /* Peripheral #16 assigned IVG11 */
-#define P16_IVG12 0x00000005 /* Peripheral #16 assigned IVG12 */
-#define P16_IVG13 0x00000006 /* Peripheral #16 assigned IVG13 */
-#define P16_IVG14 0x00000007 /* Peripheral #16 assigned IVG14 */
-#define P16_IVG15 0x00000008 /* Peripheral #16 assigned IVG15 */
-#define P17_IVG7 0x00000000 /* Peripheral #17 assigned IVG7 */
-#define P17_IVG8 0x00000010 /* Peripheral #17 assigned IVG8 */
-#define P17_IVG9 0x00000020 /* Peripheral #17 assigned IVG9 */
-#define P17_IVG10 0x00000030 /* Peripheral #17 assigned IVG10 */
-#define P17_IVG11 0x00000040 /* Peripheral #17 assigned IVG11 */
-#define P17_IVG12 0x00000050 /* Peripheral #17 assigned IVG12 */
-#define P17_IVG13 0x00000060 /* Peripheral #17 assigned IVG13 */
-#define P17_IVG14 0x00000070 /* Peripheral #17 assigned IVG14 */
-#define P17_IVG15 0x00000080 /* Peripheral #17 assigned IVG15 */
-#define P18_IVG7 0x00000000 /* Peripheral #18 assigned IVG7 */
-#define P18_IVG8 0x00000100 /* Peripheral #18 assigned IVG8 */
-#define P18_IVG9 0x00000200 /* Peripheral #18 assigned IVG9 */
-#define P18_IVG10 0x00000300 /* Peripheral #18 assigned IVG10 */
-#define P18_IVG11 0x00000400 /* Peripheral #18 assigned IVG11 */
-#define P18_IVG12 0x00000500 /* Peripheral #18 assigned IVG12 */
-#define P18_IVG13 0x00000600 /* Peripheral #18 assigned IVG13 */
-#define P18_IVG14 0x00000700 /* Peripheral #18 assigned IVG14 */
-#define P18_IVG15 0x00000800 /* Peripheral #18 assigned IVG15 */
-#define P19_IVG7 0x00000000 /* Peripheral #19 assigned IVG7 */
-#define P19_IVG8 0x00001000 /* Peripheral #19 assigned IVG8 */
-#define P19_IVG9 0x00002000 /* Peripheral #19 assigned IVG9 */
-#define P19_IVG10 0x00003000 /* Peripheral #19 assigned IVG10 */
-#define P19_IVG11 0x00004000 /* Peripheral #19 assigned IVG11 */
-#define P19_IVG12 0x00005000 /* Peripheral #19 assigned IVG12 */
-#define P19_IVG13 0x00006000 /* Peripheral #19 assigned IVG13 */
-#define P19_IVG14 0x00007000 /* Peripheral #19 assigned IVG14 */
-#define P19_IVG15 0x00008000 /* Peripheral #19 assigned IVG15 */
-#define P20_IVG7 0x00000000 /* Peripheral #20 assigned IVG7 */
-#define P20_IVG8 0x00010000 /* Peripheral #20 assigned IVG8 */
-#define P20_IVG9 0x00020000 /* Peripheral #20 assigned IVG9 */
-#define P20_IVG10 0x00030000 /* Peripheral #20 assigned IVG10 */
-#define P20_IVG11 0x00040000 /* Peripheral #20 assigned IVG11 */
-#define P20_IVG12 0x00050000 /* Peripheral #20 assigned IVG12 */
-#define P20_IVG13 0x00060000 /* Peripheral #20 assigned IVG13 */
-#define P20_IVG14 0x00070000 /* Peripheral #20 assigned IVG14 */
-#define P20_IVG15 0x00080000 /* Peripheral #20 assigned IVG15 */
-/* */
-/* SIC_IMASK Masks */
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-#define SIC_MASK0 0x00000001 /* Mask Peripheral #0 interrupt */
-#define SIC_MASK1 0x00000002 /* Mask Peripheral #1 interrupt */
-#define SIC_MASK2 0x00000004 /* Mask Peripheral #2 interrupt */
-#define SIC_MASK3 0x00000008 /* Mask Peripheral #3 interrupt */
-#define SIC_MASK4 0x00000010 /* Mask Peripheral #4 interrupt */
-#define SIC_MASK5 0x00000020 /* Mask Peripheral #5 interrupt */
-#define SIC_MASK6 0x00000040 /* Mask Peripheral #6 interrupt */
-#define SIC_MASK7 0x00000080 /* Mask Peripheral #7 interrupt */
-#define SIC_MASK8 0x00000100 /* Mask Peripheral #8 interrupt */
-#define SIC_MASK9 0x00000200 /* Mask Peripheral #9 interrupt */
-#define SIC_MASK10 0x00000400 /* Mask Peripheral #10 interrupt */
-#define SIC_MASK11 0x00000800 /* Mask Peripheral #11 interrupt */
-#define SIC_MASK12 0x00001000 /* Mask Peripheral #12 interrupt */
-#define SIC_MASK13 0x00002000 /* Mask Peripheral #13 interrupt */
-#define SIC_MASK14 0x00004000 /* Mask Peripheral #14 interrupt */
-#define SIC_MASK15 0x00008000 /* Mask Peripheral #15 interrupt */
-#define SIC_MASK16 0x00010000 /* Mask Peripheral #16 interrupt */
-#define SIC_MASK17 0x00020000 /* Mask Peripheral #17 interrupt */
-#define SIC_MASK18 0x00040000 /* Mask Peripheral #18 interrupt */
-#define SIC_MASK19 0x00080000 /* Mask Peripheral #19 interrupt */
-#define SIC_MASK20 0x00100000 /* Mask Peripheral #20 interrupt */
-#define SIC_MASK_DFR 0x80000000 /* Mask Core Double Fault Reset */
-#define SIC_UNMASK0 0xFFFFFFFE /* Unmask Peripheral #0 interrupt */
-#define SIC_UNMASK1 0xFFFFFFFD /* Unmask Peripheral #1 interrupt */
-#define SIC_UNMASK2 0xFFFFFFFB /* Unmask Peripheral #2 interrupt */
-#define SIC_UNMASK3 0xFFFFFFF7 /* Unmask Peripheral #3 interrupt */
-#define SIC_UNMASK4 0xFFFFFFEF /* Unmask Peripheral #4 interrupt */
-#define SIC_UNMASK5 0xFFFFFFDF /* Unmask Peripheral #5 interrupt */
-#define SIC_UNMASK6 0xFFFFFFBF /* Unmask Peripheral #6 interrupt */
-#define SIC_UNMASK7 0xFFFFFF7F /* Unmask Peripheral #7 interrupt */
-#define SIC_UNMASK8 0xFFFFFEFF /* Unmask Peripheral #8 interrupt */
-#define SIC_UNMASK9 0xFFFFFDFF /* Unmask Peripheral #9 interrupt */
-#define SIC_UNMASK10 0xFFFFFBFF /* Unmask Peripheral #10 interrupt */
-#define SIC_UNMASK11 0xFFFFF7FF /* Unmask Peripheral #11 interrupt */
-#define SIC_UNMASK12 0xFFFFEFFF /* Unmask Peripheral #12 interrupt */
-#define SIC_UNMASK13 0xFFFFDFFF /* Unmask Peripheral #13 interrupt */
-#define SIC_UNMASK14 0xFFFFBFFF /* Unmask Peripheral #14 interrupt */
-#define SIC_UNMASK15 0xFFFF7FFF /* Unmask Peripheral #15 interrupt */
-#define SIC_UNMASK16 0xFFFEFFFF /* Unmask Peripheral #16 interrupt */
-#define SIC_UNMASK17 0xFFFDFFFF /* Unmask Peripheral #17 interrupt */
-#define SIC_UNMASK18 0xFFFBFFFF /* Unmask Peripheral #18 interrupt */
-#define SIC_UNMASK19 0xFFF7FFFF /* Unmask Peripheral #19 interrupt */
-#define SIC_UNMASK20 0xFFEFFFFF /* Unmask Peripheral #20 interrupt */
-#define SIC_UNMASK_DFR 0x7FFFFFFF /* Unmask Core Double Fault Reset */
-
-/* SIC_IWR Masks */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-#define IWR_ENABLE0 0x00000001 /* Wakeup Enable Peripheral #0 */
-#define IWR_ENABLE1 0x00000002 /* Wakeup Enable Peripheral #1 */
-#define IWR_ENABLE2 0x00000004 /* Wakeup Enable Peripheral #2 */
-#define IWR_ENABLE3 0x00000008 /* Wakeup Enable Peripheral #3 */
-#define IWR_ENABLE4 0x00000010 /* Wakeup Enable Peripheral #4 */
-#define IWR_ENABLE5 0x00000020 /* Wakeup Enable Peripheral #5 */
-#define IWR_ENABLE6 0x00000040 /* Wakeup Enable Peripheral #6 */
-#define IWR_ENABLE7 0x00000080 /* Wakeup Enable Peripheral #7 */
-#define IWR_ENABLE8 0x00000100 /* Wakeup Enable Peripheral #8 */
-#define IWR_ENABLE9 0x00000200 /* Wakeup Enable Peripheral #9 */
-#define IWR_ENABLE10 0x00000400 /* Wakeup Enable Peripheral #10 */
-#define IWR_ENABLE11 0x00000800 /* Wakeup Enable Peripheral #11 */
-#define IWR_ENABLE12 0x00001000 /* Wakeup Enable Peripheral #12 */
-#define IWR_ENABLE13 0x00002000 /* Wakeup Enable Peripheral #13 */
-#define IWR_ENABLE14 0x00004000 /* Wakeup Enable Peripheral #14 */
-#define IWR_ENABLE15 0x00008000 /* Wakeup Enable Peripheral #15 */
-#define IWR_ENABLE16 0x00010000 /* Wakeup Enable Peripheral #16 */
-#define IWR_ENABLE17 0x00020000 /* Wakeup Enable Peripheral #17 */
-#define IWR_ENABLE18 0x00040000 /* Wakeup Enable Peripheral #18 */
-#define IWR_ENABLE19 0x00080000 /* Wakeup Enable Peripheral #19 */
-#define IWR_ENABLE20 0x00100000 /* Wakeup Enable Peripheral #20 */
-#define IWR_DISABLE0 0xFFFFFFFE /* Wakeup Disable Peripheral #0 */
-#define IWR_DISABLE1 0xFFFFFFFD /* Wakeup Disable Peripheral #1 */
-#define IWR_DISABLE2 0xFFFFFFFB /* Wakeup Disable Peripheral #2 */
-#define IWR_DISABLE3 0xFFFFFFF7 /* Wakeup Disable Peripheral #3 */
-#define IWR_DISABLE4 0xFFFFFFEF /* Wakeup Disable Peripheral #4 */
-#define IWR_DISABLE5 0xFFFFFFDF /* Wakeup Disable Peripheral #5 */
-#define IWR_DISABLE6 0xFFFFFFBF /* Wakeup Disable Peripheral #6 */
-#define IWR_DISABLE7 0xFFFFFF7F /* Wakeup Disable Peripheral #7 */
-#define IWR_DISABLE8 0xFFFFFEFF /* Wakeup Disable Peripheral #8 */
-#define IWR_DISABLE9 0xFFFFFDFF /* Wakeup Disable Peripheral #9 */
-#define IWR_DISABLE10 0xFFFFFBFF /* Wakeup Disable Peripheral #10 */
-#define IWR_DISABLE11 0xFFFFF7FF /* Wakeup Disable Peripheral #11 */
-#define IWR_DISABLE12 0xFFFFEFFF /* Wakeup Disable Peripheral #12 */
-#define IWR_DISABLE13 0xFFFFDFFF /* Wakeup Disable Peripheral #13 */
-#define IWR_DISABLE14 0xFFFFBFFF /* Wakeup Disable Peripheral #14 */
-#define IWR_DISABLE15 0xFFFF7FFF /* Wakeup Disable Peripheral #15 */
-#define IWR_DISABLE16 0xFFFEFFFF /* Wakeup Disable Peripheral #16 */
-#define IWR_DISABLE17 0xFFFDFFFF /* Wakeup Disable Peripheral #17 */
-#define IWR_DISABLE18 0xFFFBFFFF /* Wakeup Disable Peripheral #18 */
-#define IWR_DISABLE19 0xFFF7FFFF /* Wakeup Disable Peripheral #19 */
-#define IWR_DISABLE20 0xFFEFFFFF /* Wakeup Disable Peripheral #20 */
-
-/* WDOGCTL Masks */
-#define ENABLE_RESET 0x00000000 /* Set Watchdog Timer to generate reset */
-#define ENABLE_NMI 0x00000002 /* Set Watchdog Timer to generate non-maskable interrupt */
-#define ENABLE_GPI 0x00000004 /* Set Watchdog Timer to generate general-purpose interrupt */
-#define DISABLE_EVT 0x00000006 /* Disable Watchdog Timer interrupts */
-
-/* RTCFAST Mask */
-#define ENABLE_PRESCALE 0x00000001 /* Enable prescaler so RTC runs at 1 Hz */
- /* Must be set after power-up for proper operation of RTC */
-
-/* SPICTLx Masks */
-#define TIMOD 0x00000003 /* Transfer initiation mode and interrupt generation */
-#define SZ 0x00000004 /* Send Zero (=0) or last (=1) word when TDBR empty. */
-#define GM 0x00000008 /* When RDBR full, get more (=1) data or discard (=0) incoming Data */
-#define PSSE 0x00000010 /* Enable (=1) Slave-Select input for Master. */
-#define EMISO 0x00000020 /* Enable (=1) MISO pin as an output. */
-#define SIZE 0x00000100 /* Word length (0 => 8 bits, 1 => 16 bits) */
-#define LSBF 0x00000200 /* Data format (0 => MSB sent/received first 1 => LSB sent/received first) */
-#define CPHA 0x00000400 /* Clock phase (0 => SPICLK starts toggling in middle of xfer, 1 => SPICLK toggles at the beginning of xfer. */
-#define CPOL 0x00000800 /* Clock polarity (0 => active-high, 1 => active-low) */
-#define MSTR 0x00001000 /* Configures SPI as master (=1) or slave (=0) */
-#define WOM 0x00002000 /* Open drain (=1) data output enable (for MOSI and MISO) */
-#define SPE 0x00004000 /* SPI module enable (=1), disable (=0) */
-
-/* SPIFLGx Masks */
-#define FLS1 0x00000002 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2 0x00000004 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3 0x00000008 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4 0x00000010 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5 0x00000020 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6 0x00000040 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7 0x00000080 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1 0x00000200 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2 0x00000400 /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3 0x00000800 /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4 0x00001000 /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5 0x00002000 /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6 0x00004000 /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7 0x00008000 /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* SPIFLGx Bit Positions */
-#define FLS1_P 0x00000001 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2_P 0x00000002 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3_P 0x00000003 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4_P 0x00000004 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5_P 0x00000005 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6_P 0x00000006 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7_P 0x00000007 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1_P 0x00000009 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2_P 0x0000000A /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3_P 0x0000000B /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4_P 0x0000000C /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5_P 0x0000000D /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6_P 0x0000000E /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7_P 0x0000000F /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* AMGCTL Masks */
-#define AMCKEN 0x00000001 /* Enable CLKOUT */
-#define AMBEN_B4 0x00000002 /* Enable Asynchronous Memory Bank 6 only */
-#define AMBEN_B4_B5 0x00000004 /* Enable Asynchronous Memory Banks 4 & 5 only */
-#define AMBEN_ALL 0x00000006 /* Enable Asynchronous Memory Banks (all) 4, 5, 6, and 7 */
-#define B4PEN 0x00000010 /* Enable 16-bit packing for Asynchronous Memory Bank 4 */
-#define B5PEN 0x00000020 /* Enable 16-bit packing for Asynchronous Memory Bank 5 */
-#define B6PEN 0x00000040 /* Enable 16-bit packing for Asynchronous Memory Bank 6 */
-#define B7PEN 0x00000080 /* Enable 16-bit packing for Asynchronous Memory Bank 7 */
-
-/* AMGCTL Bit Positions */
-#define AMCKEN_P 0x00000000 /* Enable CLKOUT */
-#define AMBEN_P0 0x00000001 /* Asynchronous Memory Enable, 00 - banks 4-7 disabled, 01 - bank 4 enabled */
-#define AMBEN_P1 0x00000002 /* Asynchronous Memory Enable, 10 - banks 4&5 enabled, 11 - banks 4-7 enabled */
-#define B4PEN_P 0x00000004 /* Enable 16-bit packing for Asynchronous Memory Bank 4 */
-#define B5PEN_P 0x00000005 /* Enable 16-bit packing for Asynchronous Memory Bank 5 */
-#define B6PEN_P 0x00000006 /* Enable 16-bit packing for Asynchronous Memory Bank 6 */
-#define B7PEN_P 0x00000007 /* Enable 16-bit packing for Asynchronous Memory Bank 7 */
-
-/* AMBCTL0 Masks */
-#define B4RDYEN 0x00000001 /* Bank 4 RDY Enable, 0=disable, 1=enable */
-#define B4RDYPOL 0x00000002 /* Bank 4 RDY Active high, 0=active low, 1=active high */
-#define B4TT_1 0x00000004 /* Bank 4 Transition Time from Read to Write = 1 cycle */
-#define B4TT_2 0x00000008 /* Bank 4 Transition Time from Read to Write = 2 cycles */
-#define B4TT_3 0x0000000C /* Bank 4 Transition Time from Read to Write = 3 cycles */
-#define B4TT_4 0x00000000 /* Bank 4 Transition Time from Read to Write = 4 cycles */
-#define B4ST_1 0x00000010 /* Bank 4 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B4ST_2 0x00000020 /* Bank 4 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B4ST_3 0x00000030 /* Bank 4 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B4ST_4 0x00000000 /* Bank 4 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B4HT_1 0x00000040 /* Bank 4 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B4HT_2 0x00000080 /* Bank 4 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B4HT_3 0x000000C0 /* Bank 4 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B4HT_4 0x00000000 /* Bank 4 Hold Time from Read or Write deasserted to AOE deasserted = 4 cycles */
-#define B4RAT_1 0x00000100 /* Bank 4 Read Access Time = 1 cycle */
-#define B4RAT_2 0x00000200 /* Bank 4 Read Access Time = 2 cycles */
-#define B4RAT_3 0x00000300 /* Bank 4 Read Access Time = 3 cycles */
-#define B4RAT_4 0x00000400 /* Bank 4 Read Access Time = 4 cycles */
-#define B4RAT_5 0x00000500 /* Bank 4 Read Access Time = 5 cycles */
-#define B4RAT_6 0x00000600 /* Bank 4 Read Access Time = 6 cycles */
-#define B4RAT_7 0x00000700 /* Bank 4 Read Access Time = 7 cycles */
-#define B4RAT_8 0x00000800 /* Bank 4 Read Access Time = 8 cycles */
-#define B4RAT_9 0x00000900 /* Bank 4 Read Access Time = 9 cycles */
-#define B4RAT_10 0x00000A00 /* Bank 4 Read Access Time = 10 cycles */
-#define B4RAT_11 0x00000B00 /* Bank 4 Read Access Time = 11 cycles */
-#define B4RAT_12 0x00000C00 /* Bank 4 Read Access Time = 12 cycles */
-#define B4RAT_13 0x00000D00 /* Bank 4 Read Access Time = 13 cycles */
-#define B4RAT_14 0x00000E00 /* Bank 4 Read Access Time = 14 cycles */
-#define B4RAT_15 0x00000F00 /* Bank 4 Read Access Time = 15 cycles */
-#define B4WAT_1 0x00001000 /* Bank 4 Write Access Time = 1 cycle */
-#define B4WAT_2 0x00002000 /* Bank 4 Write Access Time = 2 cycles */
-#define B4WAT_3 0x00003000 /* Bank 4 Write Access Time = 3 cycles */
-#define B4WAT_4 0x00004000 /* Bank 4 Write Access Time = 4 cycles */
-#define B4WAT_5 0x00005000 /* Bank 4 Write Access Time = 5 cycles */
-#define B4WAT_6 0x00006000 /* Bank 4 Write Access Time = 6 cycles */
-#define B4WAT_7 0x00007000 /* Bank 4 Write Access Time = 7 cycles */
-#define B4WAT_8 0x00008000 /* Bank 4 Write Access Time = 8 cycles */
-#define B4WAT_9 0x00009000 /* Bank 4 Write Access Time = 9 cycles */
-#define B4WAT_10 0x0000A000 /* Bank 4 Write Access Time = 10 cycles */
-#define B4WAT_11 0x0000B000 /* Bank 4 Write Access Time = 11 cycles */
-#define B4WAT_12 0x0000C000 /* Bank 4 Write Access Time = 12 cycles */
-#define B4WAT_13 0x0000D000 /* Bank 4 Write Access Time = 13 cycles */
-#define B4WAT_14 0x0000E000 /* Bank 4 Write Access Time = 14 cycles */
-#define B4WAT_15 0x0000F000 /* Bank 4 Write Access Time = 15 cycles */
-#define B5RDYEN 0x00000001 /* Bank 5 RDY enable, 0=disable, 1=enable */
-#define B5RDYPOL 0x00000002 /* Bank 5 RDY Active high, 0=active low, 1=active high */
-#define B5TT_1 0x00000004 /* Bank 5 Transition Time from Read to Write = 1 cycle */
-#define B5TT_2 0x00000008 /* Bank 5 Transition Time from Read to Write = 2 cycles */
-#define B5TT_3 0x0000000C /* Bank 5 Transition Time from Read to Write = 3 cycles */
-#define B5TT_4 0x00000000 /* Bank 5 Transition Time from Read to Write = 4 cycles */
-#define B5ST_1 0x00000010 /* Bank 5 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B5ST_2 0x00000020 /* Bank 5 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B5ST_3 0x00000030 /* Bank 5 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B5ST_4 0x00000000 /* Bank 5 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B5HT_1 0x00000040 /* Bank 5 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B5HT_2 0x00000080 /* Bank 5 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B5HT_3 0x000000C0 /* Bank 5 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B5HT_4 0x00000000 /* Bank 5 Hold Time from Read or Write deasserted to AOE deasserted = 4 cycles */
-#define B5RAT_1 0x00000100 /* Bank 5 Read Access Time = 1 cycle */
-#define B5RAT_2 0x00000200 /* Bank 5 Read Access Time = 2 cycles */
-#define B5RAT_3 0x00000300 /* Bank 5 Read Access Time = 3 cycles */
-#define B5RAT_4 0x00000400 /* Bank 5 Read Access Time = 4 cycles */
-#define B5RAT_5 0x00000500 /* Bank 5 Read Access Time = 5 cycles */
-#define B5RAT_6 0x00000600 /* Bank 5 Read Access Time = 6 cycles */
-#define B5RAT_7 0x00000700 /* Bank 5 Read Access Time = 7 cycles */
-#define B5RAT_8 0x00000800 /* Bank 5 Read Access Time = 8 cycles */
-#define B5RAT_9 0x00000900 /* Bank 5 Read Access Time = 9 cycles */
-#define B5RAT_10 0x00000A00 /* Bank 5 Read Access Time = 10 cycles */
-#define B5RAT_11 0x00000B00 /* Bank 5 Read Access Time = 11 cycles */
-#define B5RAT_12 0x00000C00 /* Bank 5 Read Access Time = 12 cycles */
-#define B5RAT_13 0x00000D00 /* Bank 5 Read Access Time = 13 cycles */
-#define B5RAT_14 0x00000E00 /* Bank 5 Read Access Time = 14 cycles */
-#define B5RAT_15 0x00000F00 /* Bank 5 Read Access Time = 15 cycles */
-#define B5WAT_1 0x00001000 /* Bank 5 Write Access Time = 1 cycle */
-#define B5WAT_2 0x00002000 /* Bank 5 Write Access Time = 2 cycles */
-#define B5WAT_3 0x00003000 /* Bank 5 Write Access Time = 3 cycles */
-#define B5WAT_4 0x00004000 /* Bank 5 Write Access Time = 4 cycles */
-#define B5WAT_5 0x00005000 /* Bank 5 Write Access Time = 5 cycles */
-#define B5WAT_6 0x00006000 /* Bank 5 Write Access Time = 6 cycles */
-#define B5WAT_7 0x00007000 /* Bank 5 Write Access Time = 7 cycles */
-#define B5WAT_8 0x00008000 /* Bank 5 Write Access Time = 8 cycles */
-#define B5WAT_9 0x00009000 /* Bank 5 Write Access Time = 9 cycles */
-#define B5WAT_10 0x0000A000 /* Bank 5 Write Access Time = 10 cycles */
-#define B5WAT_11 0x0000B000 /* Bank 5 Write Access Time = 11 cycles */
-#define B5WAT_12 0x0000C000 /* Bank 5 Write Access Time = 12 cycles */
-#define B5WAT_13 0x0000D000 /* Bank 5 Write Access Time = 13 cycles */
-#define B5WAT_14 0x0000E000 /* Bank 5 Write Access Time = 14 cycles */
-#define B5WAT_15 0x0000F000 /* Bank 5 Write Access Time = 15 cycles */
-
-/* AMBCTL1 Masks */
-#define B6RDYEN 0x00000001 /* Bank 6 RDY Enable, 0=disable, 1=enable */
-#define B6RDYPOL 0x00000002 /* Bank 6 RDY Active high, 0=active low, 1=active high */
-#define B6TT_1 0x00000004 /* Bank 6 Transition Time from Read to Write = 1 cycle */
-#define B6TT_2 0x00000008 /* Bank 6 Transition Time from Read to Write = 2 cycles */
-#define B6TT_3 0x0000000C /* Bank 6 Transition Time from Read to Write = 3 cycles */
-#define B6TT_4 0x00000000 /* Bank 6 Transition Time from Read to Write = 4 cycles */
-#define B6ST_1 0x00000010 /* Bank 6 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B6ST_2 0x00000020 /* Bank 6 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B6ST_3 0x00000030 /* Bank 6 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B6ST_4 0x00000000 /* Bank 6 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B6HT_1 0x00000040 /* Bank 6 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B6HT_2 0x00000080 /* Bank 6 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B6HT_3 0x000000C0 /* Bank 6 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B6HT_4 0x00000000 /* Bank 6 Hold Time from Read or Write deasserted to AOE deasserted = 4 cycles */
-#define B6RAT_1 0x00000100 /* Bank 6 Read Access Time = 1 cycle */
-#define B6RAT_2 0x00000200 /* Bank 6 Read Access Time = 2 cycles */
-#define B6RAT_3 0x00000300 /* Bank 6 Read Access Time = 3 cycles */
-#define B6RAT_4 0x00000400 /* Bank 6 Read Access Time = 4 cycles */
-#define B6RAT_5 0x00000500 /* Bank 6 Read Access Time = 5 cycles */
-#define B6RAT_6 0x00000600 /* Bank 6 Read Access Time = 6 cycles */
-#define B6RAT_7 0x00000700 /* Bank 6 Read Access Time = 7 cycles */
-#define B6RAT_8 0x00000800 /* Bank 6 Read Access Time = 8 cycles */
-#define B6RAT_9 0x00000900 /* Bank 6 Read Access Time = 9 cycles */
-#define B6RAT_10 0x00000A00 /* Bank 6 Read Access Time = 10 cycles */
-#define B6RAT_11 0x00000B00 /* Bank 6 Read Access Time = 11 cycles */
-#define B6RAT_12 0x00000C00 /* Bank 6 Read Access Time = 12 cycles */
-#define B6RAT_13 0x00000D00 /* Bank 6 Read Access Time = 13 cycles */
-#define B6RAT_14 0x00000E00 /* Bank 6 Read Access Time = 14 cycles */
-#define B6RAT_15 0x00000F00 /* Bank 6 Read Access Time = 15 cycles */
-#define B6WAT_1 0x00001000 /* Bank 6 Write Access Time = 1 cycle */
-#define B6WAT_2 0x00002000 /* Bank 6 Write Access Time = 2 cycles */
-#define B6WAT_3 0x00003000 /* Bank 6 Write Access Time = 3 cycles */
-#define B6WAT_4 0x00004000 /* Bank 6 Write Access Time = 4 cycles */
-#define B6WAT_5 0x00005000 /* Bank 6 Write Access Time = 5 cycles */
-#define B6WAT_6 0x00006000 /* Bank 6 Write Access Time = 6 cycles */
-#define B6WAT_7 0x00007000 /* Bank 6 Write Access Time = 7 cycles */
-#define B6WAT_8 0x00008000 /* Bank 6 Write Access Time = 8 cycles */
-#define B6WAT_9 0x00009000 /* Bank 6 Write Access Time = 9 cycles */
-#define B6WAT_10 0x0000A000 /* Bank 6 Write Access Time = 10 cycles */
-#define B6WAT_11 0x0000B000 /* Bank 6 Write Access Time = 11 cycles */
-#define B6WAT_12 0x0000C000 /* Bank 6 Write Access Time = 12 cycles */
-#define B6WAT_13 0x0000D000 /* Bank 6 Write Access Time = 13 cycles */
-#define B6WAT_14 0x0000E000 /* Bank 6 Write Access Time = 14 cycles */
-#define B6WAT_15 0x0000F000 /* Bank 6 Write Access Time = 15 cycles */
-#define B7RDYEN 0x00000001 /* Bank 7 RDY enable, 0=disable, 1=enable */
-#define B7RDYPOL 0x00000002 /* Bank 7 RDY Active high, 0=active low, 1=active high */
-#define B7TT_1 0x00000004 /* Bank 7 Transition Time from Read to Write = 1 cycle */
-#define B7TT_2 0x00000008 /* Bank 7 Transition Time from Read to Write = 2 cycles */
-#define B7TT_3 0x0000000C /* Bank 7 Transition Time from Read to Write = 3 cycles */
-#define B7TT_4 0x00000000 /* Bank 7 Transition Time from Read to Write = 4 cycles */
-#define B7ST_1 0x00000010 /* Bank 7 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B7ST_2 0x00000020 /* Bank 7 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B7ST_3 0x00000030 /* Bank 7 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B7ST_4 0x00000000 /* Bank 7 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B7HT_1 0x00000040 /* Bank 7 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B7HT_2 0x00000080 /* Bank 7 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B7HT_3 0x000000C0 /* Bank 7 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B7HT_4 0x00000000 /* Bank 7 Hold Time from Read or Write deasserted to AOE deasserted = 4 cycles */
-#define B7RAT_1 0x00000100 /* Bank 7 Read Access Time = 1 cycle */
-#define B7RAT_2 0x00000200 /* Bank 7 Read Access Time = 2 cycles */
-#define B7RAT_3 0x00000300 /* Bank 7 Read Access Time = 3 cycles */
-#define B7RAT_4 0x00000400 /* Bank 7 Read Access Time = 4 cycles */
-#define B7RAT_5 0x00000500 /* Bank 7 Read Access Time = 5 cycles */
-#define B7RAT_6 0x00000600 /* Bank 7 Read Access Time = 6 cycles */
-#define B7RAT_7 0x00000700 /* Bank 7 Read Access Time = 7 cycles */
-#define B7RAT_8 0x00000800 /* Bank 7 Read Access Time = 8 cycles */
-#define B7RAT_9 0x00000900 /* Bank 7 Read Access Time = 9 cycles */
-#define B7RAT_10 0x00000A00 /* Bank 7 Read Access Time = 10 cycles */
-#define B7RAT_11 0x00000B00 /* Bank 7 Read Access Time = 11 cycles */
-#define B7RAT_12 0x00000C00 /* Bank 7 Read Access Time = 12 cycles */
-#define B7RAT_13 0x00000D00 /* Bank 7 Read Access Time = 13 cycles */
-#define B7RAT_14 0x00000E00 /* Bank 7 Read Access Time = 14 cycles */
-#define B7RAT_15 0x00000F00 /* Bank 7 Read Access Time = 15 cycles */
-#define B7WAT_1 0x00001000 /* Bank 7 Write Access Time = 1 cycle */
-#define B7WAT_2 0x00002000 /* Bank 7 Write Access Time = 2 cycles */
-#define B7WAT_3 0x00003000 /* Bank 7 Write Access Time = 3 cycles */
-#define B7WAT_4 0x00004000 /* Bank 7 Write Access Time = 4 cycles */
-#define B7WAT_5 0x00005000 /* Bank 7 Write Access Time = 5 cycles */
-#define B7WAT_6 0x00006000 /* Bank 7 Write Access Time = 6 cycles */
-#define B7WAT_7 0x00007000 /* Bank 7 Write Access Time = 7 cycles */
-#define B7WAT_8 0x00008000 /* Bank 7 Write Access Time = 8 cycles */
-#define B7WAT_9 0x00009000 /* Bank 7 Write Access Time = 9 cycles */
-#define B7WAT_10 0x0000A000 /* Bank 7 Write Access Time = 10 cycles */
-#define B7WAT_11 0x0000B000 /* Bank 7 Write Access Time = 11 cycles */
-#define B7WAT_12 0x0000C000 /* Bank 7 Write Access Time = 12 cycles */
-#define B7WAT_13 0x0000D000 /* Bank 7 Write Access Time = 13 cycles */
-#define B7WAT_14 0x0000E000 /* Bank 7 Write Access Time = 14 cycles */
-#define B7WAT_15 0x0000F000 /* Bank 7 Write Access Time = 15 cycles */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* __DEF_BF535_H */
diff --git a/libgloss/bfin/include/defBF536.h b/libgloss/bfin/include/defBF536.h
deleted file mode 100644
index 93aaf67..0000000
--- a/libgloss/bfin/include/defBF536.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2005 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF536_H
-#define _DEF_BF536_H
-
-/* Identical MMR Space To BF537 Processor */
-#include <defBF537.h>
-
-#endif /* _DEF_BF536_H */
-
diff --git a/libgloss/bfin/include/defBF537.h b/libgloss/bfin/include/defBF537.h
deleted file mode 100644
index 29fa7e9..0000000
--- a/libgloss/bfin/include/defBF537.h
+++ /dev/null
@@ -1,441 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2004-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF537_H
-#define _DEF_BF537_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* Include all MMR and bit defines common to BF534 */
-#include <defBF534.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#pragma diag(suppress:misra_rule_19_11)
-#endif /* _MISRA_RULES */
-
-
-/************************************************************************************
-** Define EMAC Section Unique to BF536/BF537
-*************************************************************************************/
-
-/* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */
-#define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */
-#define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */
-#define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */
-#define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */
-#define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */
-#define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */
-#define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */
-#define EMAC_FLC 0xFFC0301C /* Flow Control Register */
-#define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */
-#define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */
-#define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */
-#define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */
-#define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */
-#define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */
-#define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */
-#define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */
-#define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */
-#define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */
-#define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */
-
-#define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */
-#define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */
-#define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */
-#define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */
-#define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */
-#define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */
-#define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */
-#define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */
-
-#define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */
-#define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */
-#define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */
-#define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */
-#define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */
-
-#define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */
-#define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */
-#define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */
-#define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */
-#define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */
-#define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */
-#define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */
-#define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */
-#define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */
-#define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */
-#define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */
-#define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */
-#define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */
-#define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */
-#define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */
-#define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */
-#define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */
-#define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */
-#define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */
-#define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */
-#define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */
-#define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */
-#define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */
-#define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */
-#define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */
-#define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */
-#define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */
-#define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */
-#define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */
-#define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */
-#define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */
-#define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */
-#define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */
-#define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */
-#define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */
-#define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */
-#define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */
-
-/* Listing for IEEE-Supported Count Registers */
-#define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */
-#define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */
-#define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */
-#define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */
-#define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */
-#define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */
-#define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */
-#define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */
-#define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */
-#define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */
-#define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */
-#define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */
-#define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */
-#define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */
-#define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */
-#define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */
-#define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */
-#define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */
-#define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */
-
-#define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */
-#define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */
-#define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */
-#define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */
-#define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */
-#define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */
-#define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */
-#define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */
-#define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */
-#define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */
-#define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */
-#define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */
-#define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */
-#define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */
-#define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */
-#define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */
-#define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */
-#define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */
-#define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */
-#define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */
-#define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */
-#define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */
-#define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */
-
-
-/***********************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*************************************************************************************/
-/************************ ETHERNET 10/100 CONTROLLER MASKS ************************/
-/* EMAC_OPMODE Masks */
-#define RE 0x00000001 /* Receiver Enable */
-#define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */
-#define HU 0x00000010 /* Hash Filter Unicast Address */
-#define HM 0x00000020 /* Hash Filter Multicast Address */
-#define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */
-#define PR 0x00000080 /* Promiscuous Mode Enable */
-#define IFE 0x00000100 /* Inverse Filtering Enable */
-#define DBF 0x00000200 /* Disable Broadcast Frame Reception */
-#define PBF 0x00000400 /* Pass Bad Frames Enable */
-#define PSF 0x00000800 /* Pass Short Frames Enable */
-#define RAF 0x00001000 /* Receive-All Mode */
-#define TE 0x00010000 /* Transmitter Enable */
-#define DTXPAD 0x00020000 /* Disable Automatic TX Padding */
-#define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */
-#define DC 0x00080000 /* Deferral Check */
-#define BOLMT 0x00300000 /* Back-Off Limit */
-#define BOLMT_10 0x00000000 /* 10-bit range */
-#define BOLMT_8 0x00100000 /* 8-bit range */
-#define BOLMT_4 0x00200000 /* 4-bit range */
-#define BOLMT_1 0x00300000 /* 1-bit range */
-#define DRTY 0x00400000 /* Disable TX Retry On Collision */
-#define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */
-#define RMII 0x01000000 /* RMII/MII* Mode */
-#define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */
-#define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */
-#define LB 0x08000000 /* Internal Loopback Enable */
-#define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */
-
-/* EMAC_STAADD Masks */
-#define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */
-#define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */
-#define STADISPRE 0x00000004 /* Disable Preamble Generation */
-#define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */
-#define REGAD 0x000007C0 /* STA Register Address */
-#define PHYAD 0x0000F800 /* PHY Device Address */
-
-#ifdef _MISRA_RULES
-#define SET_REGAD(x) (((x)&0x1Fu)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1Fu)<< 11 ) /* Set PHY Device Address */
-#else
-#define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */
-#define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */
-#endif /* _MISRA_RULES */
-
-/* EMAC_STADAT Mask */
-#define STADATA 0x0000FFFF /* Station Management Data */
-
-/* EMAC_FLC Masks */
-#define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */
-#define FLCE 0x00000002 /* Flow Control Enable */
-#define PCF 0x00000004 /* Pass Control Frames */
-#define BKPRSEN 0x00000008 /* Enable Backpressure */
-#define FLCPAUSE 0xFFFF0000 /* Pause Time */
-
-#ifdef _MISRA_RULES
-#define SET_FLCPAUSE(x) (((x)&0xFFFFu)<< 16) /* Set Pause Time */
-#else
-#define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_CTL Masks */
-#define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */
-#define MPKE 0x00000002 /* Magic Packet Enable */
-#define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */
-#define GUWKE 0x00000008 /* Global Unicast Wake Enable */
-#define MPKS 0x00000020 /* Magic Packet Received Status */
-#define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */
-
-/* EMAC_WKUP_FFCMD Masks */
-#define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */
-#define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */
-#define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */
-#define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */
-#define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */
-#define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */
-#define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */
-#define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */
-
-/* EMAC_WKUP_FFOFF Masks */
-#define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */
-#define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */
-#define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */
-#define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_OFF(x) (((x)&0xFFu)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFFu)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFFu)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFFu)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#else
-#define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */
-#define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */
-#define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */
-#define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */
-#endif /* _MISRA_RULES */
-
-/* Set ALL Offsets */
-#define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3)))
-
-/* EMAC_WKUP_FFCRC0 Masks */
-#define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */
-#define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF0_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#else
-#define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */
-#define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_WKUP_FFCRC1 Masks */
-#define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */
-#define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */
-
-#ifdef _MISRA_RULES
-#define SET_WF2_CRC(x) (((x)&0xFFFFu)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFFu)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#else
-#define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */
-#define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSCTL Masks */
-#define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */
-#define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */
-#define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */
-#define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */
-#if !defined(__SILICON_REVISION__) || (__SILICON_REVISION__>0x2)
-/* In BF536/7 revs. 0.0, 0.1 and 0.2, this bit was reserved */
-#define TXDWA 0x00000010 /* Transmit Frame DMA Word Alignment(Even/Odd*) */
-#endif
-#ifdef _MISRA_RULES
-#define SET_MDCDIV(x) (((x)&0x3Fu)<< 8) /* Set MDC Clock Divisor */
-#else
-#define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */
-#endif /* _MISRA_RULES */
-
-/* EMAC_SYSTAT Masks */
-#define PHYINT 0x00000001 /* PHY_INT Interrupt Status */
-#define MMCINT 0x00000002 /* MMC Counter Interrupt Status */
-#define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */
-#define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */
-#define WAKEDET 0x00000010 /* Wake-Up Detected Status */
-#define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */
-#define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */
-#define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */
-
-/* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */
-#define RX_FRLEN 0x000007FF /* Frame Length In Bytes */
-#define RX_COMP 0x00001000 /* RX Frame Complete */
-#define RX_OK 0x00002000 /* RX Frame Received With No Errors */
-#define RX_LONG 0x00004000 /* RX Frame Too Long Error */
-#define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */
-#define RX_CRC 0x00010000 /* RX Frame CRC Error */
-#define RX_LEN 0x00020000 /* RX Frame Length Error */
-#define RX_FRAG 0x00040000 /* RX Frame Fragment Error */
-#define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */
-#define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */
-#define RX_PHY 0x00200000 /* RX Frame PHY Error */
-#define RX_LATE 0x00400000 /* RX Frame Late Collision Error */
-#define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */
-#define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */
-#define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */
-#define RX_CTL 0x04000000 /* RX Control Frame Indicator */
-#define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */
-#define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */
-#define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */
-#define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */
-#define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */
-
-/* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */
-#define TX_COMP 0x00000001 /* TX Frame Complete */
-#define TX_OK 0x00000002 /* TX Frame Sent With No Errors */
-#define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */
-#define TX_LATE 0x00000008 /* TX Frame Late Collision Error */
-#define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */
-#define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */
-#define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */
-#define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */
-#define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */
-#define TX_CCNT 0x00000F00 /* TX Frame Collision Count */
-#define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */
-#define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */
-#define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */
-#define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */
-#define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */
-
-/* EMAC_MMC_CTL Masks */
-#define RSTC 0x00000001 /* Reset All Counters */
-#define CROLL 0x00000002 /* Counter Roll-Over Enable */
-#define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */
-#define MMCE 0x00000008 /* Enable MMC Counter Operation */
-
-/* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */
-#define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */
-#define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */
-#define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */
-#define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */
-#define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */
-#define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */
-#define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */
-#define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */
-#define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */
-#define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */
-#define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */
-#define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */
-#define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */
-#define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */
-#define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */
-#define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */
-#define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */
-#define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */
-#define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */
-#define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */
-#define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */
-#define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */
-#define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */
-#define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */
-
-/* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */
-#define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */
-#define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */
-#define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */
-#define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */
-#define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */
-#define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */
-#define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */
-#define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */
-#define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */
-#define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */
-#define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */
-#define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */
-#define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */
-#define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */
-#define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */
-#define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */
-#define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */
-#define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */
-#define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */
-#define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */
-#define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */
-#define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */
-#define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF537_H */
-
diff --git a/libgloss/bfin/include/defBF538.h b/libgloss/bfin/include/defBF538.h
deleted file mode 100644
index 2757a04..0000000
--- a/libgloss/bfin/include/defBF538.h
+++ /dev/null
@@ -1,1948 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
-**
-** defBF538.h
-**
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-*************************************************************************/
-
-/*
-** This include file contains a list of macro "defines" to enable the
-** programmer to use symbolic names for ADSP-BF538 peripherals.
-*/
-
-#ifndef _DEF_BF538_H
-#define _DEF_BF538_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* Include all System registers and bit definitions common to ADSP-BF532 */
-#include <defBF532.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_6)
-#pragma diag(suppress:misra_rule_19_7)
-#endif /* _MISRA_RULES */
-
-
-/********************************************************************************
- * System MMR Register Map
- ********************************************************************************/
-/* Define MMR Space for Additional BF538 Peripherals */
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-/* SIC0 on ADSP-BF538 Is Same As SIC on ADSP-BF532 */
-#define SIC_IMASK0 SIC_IMASK /* Interrupt Mask Register 0 */
-#define SIC_ISR0 SIC_ISR /* Interrupt Status Register 0 */
-#define SIC_IWR0 SIC_IWR /* Interrupt Wakeup Register 0 */
-
-/* Add SIC1 MMRs for ADSP-BF538 Processors */
-#define SIC_IMASK1 0xFFC00128 /* Interrupt Mask Register 1 */
-#define SIC_ISR1 0xFFC0012C /* Interrupt Status Register 1 */
-#define SIC_IWR1 0xFFC00130 /* Interrupt Wakeup Register 1 */
-
-/* Add SIC1 Interrupt Sources for ADSP-BF538 Processors */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_IAR4 0xFFC00134 /* Interrupt Assignment Register 4 */
-#define SIC_IAR5 0xFFC00138 /* Interrupt Assignment Register 5 */
-#define SIC_IAR6 0xFFC0013C /* Interrupt Assignment Register 6 */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-/* UART0 on ADSP-BF538 Is Same As UART on ADSP-BF532 */
-#define UART0_THR UART_THR /* Transmit Holding register */
-#define UART0_RBR UART_RBR /* Receive Buffer register */
-#define UART0_DLL UART_DLL /* Divisor Latch (Low-Byte) */
-#define UART0_IER UART_IER /* Interrupt Enable Register */
-#define UART0_DLH UART_DLH /* Divisor Latch (High-Byte) */
-#define UART0_IIR UART_IIR /* Interrupt Identification Register */
-#define UART0_LCR UART_LCR /* Line Control Register */
-#define UART0_MCR UART_MCR /* Modem Control Register */
-#define UART0_LSR UART_LSR /* Line Status Register */
-#define UART0_SCR UART_SCR /* SCR Scratch Register */
-#define UART0_GCTL UART_GCTL /* Global Control Register */
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF) */
-/* SPI0 on ADSP-BF538 Is Same As SPI on ADSP-BF532 */
-#define SPI0_CTL SPI_CTL /* SPI0 Control Register */
-#define SPI0_FLG SPI_FLG /* SPI0 Flag register */
-#define SPI0_STAT SPI_STAT /* SPI0 Status register */
-#define SPI0_TDBR SPI_TDBR /* SPI0 Transmit Data Buffer Register */
-#define SPI0_RDBR SPI_RDBR /* SPI0 Receive Data Buffer Register */
-#define SPI0_BAUD SPI_BAUD /* SPI0 Baud rate Register */
-#define SPI0_SHADOW SPI_SHADOW /* SPI0_RDBR Shadow Register */
-
-
-/* General-Purpose Port F (0xFFC00700 - 0xFFC007FF) */
-/* ADSP-BF538 Refers to FIO as GPIO Port F */
-#define PORTFIO FIO_FLAG_D /* GPIO Port F Pin State Specify Register */
-#define PORTFIO_CLEAR FIO_FLAG_C /* Peripheral Interrupt GPIO Clear Register */
-#define PORTFIO_SET FIO_FLAG_S /* Peripheral Interrupt GPIO Set Register */
-#define PORTFIO_TOGGLE FIO_FLAG_T /* GPIO Port F Pin State Toggle Register */
-#define PORTFIO_MASKA FIO_MASKA_D /* GPIO Port F Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR FIO_MASKA_C /* GPIO Port F Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET FIO_MASKA_S /* GPIO Port F Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE FIO_MASKA_T /* GPIO Port F Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB FIO_MASKB_D /* GPIO Port F Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR FIO_MASKB_C /* GPIO Port F Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET FIO_MASKB_S /* GPIO Port F Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE FIO_MASKB_T /* GPIO Port F Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR FIO_DIR /* GPIO Port F Direction Register */
-#define PORTFIO_POLAR FIO_POLAR /* GPIO Port F Source Polarity Register */
-#define PORTFIO_EDGE FIO_EDGE /* GPIO Port F Source Sensitivity Register */
-#define PORTFIO_BOTH FIO_BOTH /* GPIO Port F Set on BOTH Edges Register */
-#define PORTFIO_INEN FIO_INEN /* GPIO Port F Input Enable Register */
-
-
-/* DMA0 Test Registers (0xFFC00B00 - 0xFFC00BFF) */
-/* ADSP-BF538 DMA0 Controller Is Same As ADSP-BF532 DMA Controller */
-#define DMAC0_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMAC0_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA0_TC_PER DMAC0_TC_PER /* Traffic Control Periods Register */
-#define DMA0_TC_CNT DMAC0_TC_CNT /* Traffic Control Current Counts Register */
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA0_TCPER DMA0_TC_PER /* Traffic Control Periods Register */
-#define DMA0_TCCNT DMA0_TC_CNT /* Traffic Control Current Counts Register */
-
-/* ADSP-BF538 Must Enumerate Memory DMA Channels By Controller */
-#define MDMA0_D0_NEXT_DESC_PTR MDMA_D0_NEXT_DESC_PTR /* MemDMA0 Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA0_D0_START_ADDR MDMA_D0_START_ADDR /* MemDMA0 Stream 0 Destination Start Address Register */
-#define MDMA0_D0_CONFIG MDMA_D0_CONFIG /* MemDMA0 Stream 0 Destination Configuration Register */
-#define MDMA0_D0_X_COUNT MDMA_D0_X_COUNT /* MemDMA0 Stream 0 Destination X Count Register */
-#define MDMA0_D0_X_MODIFY MDMA_D0_X_MODIFY /* MemDMA0 Stream 0 Destination X Modify Register */
-#define MDMA0_D0_Y_COUNT MDMA_D0_Y_COUNT /* MemDMA0 Stream 0 Destination Y Count Register */
-#define MDMA0_D0_Y_MODIFY MDMA_D0_Y_MODIFY /* MemDMA0 Stream 0 Destination Y Modify Register */
-#define MDMA0_D0_CURR_DESC_PTR MDMA_D0_CURR_DESC_PTR /* MemDMA0 Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA0_D0_CURR_ADDR MDMA_D0_CURR_ADDR /* MemDMA0 Stream 0 Destination Current Address Register */
-#define MDMA0_D0_IRQ_STATUS MDMA_D0_IRQ_STATUS /* MemDMA0 Stream 0 Destination Interrupt/Status Register */
-#define MDMA0_D0_PERIPHERAL_MAP MDMA_D0_PERIPHERAL_MAP /* MemDMA0 Stream 0 Destination Peripheral Map Register */
-#define MDMA0_D0_CURR_X_COUNT MDMA_D0_CURR_X_COUNT /* MemDMA0 Stream 0 Destination Current X Count Register */
-#define MDMA0_D0_CURR_Y_COUNT MDMA_D0_CURR_Y_COUNT /* MemDMA0 Stream 0 Destination Current Y Count Register */
-
-#define MDMA0_S0_NEXT_DESC_PTR MDMA_S0_NEXT_DESC_PTR /* MemDMA0 Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA0_S0_START_ADDR MDMA_S0_START_ADDR /* MemDMA0 Stream 0 Source Start Address Register */
-#define MDMA0_S0_CONFIG MDMA_S0_CONFIG /* MemDMA0 Stream 0 Source Configuration Register */
-#define MDMA0_S0_X_COUNT MDMA_S0_X_COUNT /* MemDMA Stream 0 Source X Count Register */
-#define MDMA0_S0_X_MODIFY MDMA_S0_X_MODIFY /* MemDMA0 Stream 0 Source X Modify Register */
-#define MDMA0_S0_Y_COUNT MDMA_S0_Y_COUNT /* MemDMA0 Stream 0 Source Y Count Register */
-#define MDMA0_S0_Y_MODIFY MDMA_S0_Y_MODIFY /* MemDMA0 Stream 0 Source Y Modify Register */
-#define MDMA0_S0_CURR_DESC_PTR MDMA_S0_CURR_DESC_PTR /* MemDMA0 Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA0_S0_CURR_ADDR MDMA_S0_CURR_ADDR /* MemDMA0 Stream 0 Source Current Address Register */
-#define MDMA0_S0_IRQ_STATUS MDMA_S0_IRQ_STATUS /* MemDMA0 Stream 0 Source Interrupt/Status Register */
-#define MDMA0_S0_PERIPHERAL_MAP MDMA_S0_PERIPHERAL_MAP /* MemDMA0 Stream 0 Source Peripheral Map Register */
-#define MDMA0_S0_CURR_X_COUNT MDMA_S0_CURR_X_COUNT /* MemDMA0 Stream 0 Source Current X Count Register */
-#define MDMA0_S0_CURR_Y_COUNT MDMA_S0_CURR_Y_COUNT /* MemDMA0 Stream 0 Source Current Y Count Register */
-
-#define MDMA0_D1_NEXT_DESC_PTR MDMA_D1_NEXT_DESC_PTR /* MemDMA0 Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA0_D1_START_ADDR MDMA_D1_START_ADDR /* MemDMA0 Stream 1 Destination Start Address Register */
-#define MDMA0_D1_CONFIG MDMA_D1_CONFIG /* MemDMA0 Stream 1 Destination Configuration Register */
-#define MDMA0_D1_X_COUNT MDMA_D1_X_COUNT /* MemDMA0 Stream 1 Destination X Count Register */
-#define MDMA0_D1_X_MODIFY MDMA_D1_X_MODIFY /* MemDMA0 Stream 1 Destination X Modify Register */
-#define MDMA0_D1_Y_COUNT MDMA_D1_Y_COUNT /* MemDMA0 Stream 1 Destination Y Count Register */
-#define MDMA0_D1_Y_MODIFY MDMA_D1_Y_MODIFY /* MemDMA0 Stream 1 Destination Y Modify Register */
-#define MDMA0_D1_CURR_DESC_PTR MDMA_D1_CURR_DESC_PTR /* MemDMA0 Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA0_D1_CURR_ADDR MDMA_D1_CURR_ADDR /* MemDMA0 Stream 1 Destination Current Address Register */
-#define MDMA0_D1_IRQ_STATUS MDMA_D1_IRQ_STATUS /* MemDMA0 Stream 1 Destination Interrupt/Status Register */
-#define MDMA0_D1_PERIPHERAL_MAP MDMA_D1_PERIPHERAL_MAP /* MemDMA0 Stream 1 Destination Peripheral Map Register */
-#define MDMA0_D1_CURR_X_COUNT MDMA_D1_CURR_X_COUNT /* MemDMA0 Stream 1 Destination Current X Count Register */
-#define MDMA0_D1_CURR_Y_COUNT MDMA_D1_CURR_Y_COUNT /* MemDMA0 Stream 1 Destination Current Y Count Register */
-
-#define MDMA0_S1_NEXT_DESC_PTR MDMA_S1_NEXT_DESC_PTR /* MemDMA0 Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA0_S1_START_ADDR MDMA_S1_START_ADDR /* MemDMA0 Stream 1 Source Start Address Register */
-#define MDMA0_S1_CONFIG MDMA_S1_CONFIG /* MemDMA0 Stream 1 Source Configuration Register */
-#define MDMA0_S1_X_COUNT MDMA_S1_X_COUNT /* MemDMA0 Stream 1 Source X Count Register */
-#define MDMA0_S1_X_MODIFY MDMA_S1_X_MODIFY /* MemDMA0 Stream 1 Source X Modify Register */
-#define MDMA0_S1_Y_COUNT MDMA_S1_Y_COUNT /* MemDMA0 Stream 1 Source Y Count Register */
-#define MDMA0_S1_Y_MODIFY MDMA_S1_Y_MODIFY /* MemDMA0 Stream 1 Source Y Modify Register */
-#define MDMA0_S1_CURR_DESC_PTR MDMA_S1_CURR_DESC_PTR /* MemDMA0 Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA0_S1_CURR_ADDR MDMA_S1_CURR_ADDR /* MemDMA0 Stream 1 Source Current Address Register */
-#define MDMA0_S1_IRQ_STATUS MDMA_S1_IRQ_STATUS /* MemDMA0 Stream 1 Source Interrupt/Status Register */
-#define MDMA0_S1_PERIPHERAL_MAP MDMA_S1_PERIPHERAL_MAP /* MemDMA0 Stream 1 Source Peripheral Map Register */
-#define MDMA0_S1_CURR_X_COUNT MDMA_S1_CURR_X_COUNT /* MemDMA0 Stream 1 Source Current X Count Register */
-#define MDMA0_S1_CURR_Y_COUNT MDMA_S1_CURR_Y_COUNT /* MemDMA0 Stream 1 Source Current Y Count Register */
-
-
-/* Two-Wire Interface 0 (0xFFC01400 - 0xFFC014FF) */
-#define TWI0_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI0_CONTROL 0xFFC01404 /* TWI0 Master Internal Time Reference Register */
-#define TWI0_SLAVE_CTRL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI0_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI0_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI0_MASTER_CTRL 0xFFC01414 /* Master Mode Control Register */
-#define TWI0_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI0_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI0_INT_STAT 0xFFC01420 /* TWI0 Master Interrupt Register */
-#define TWI0_INT_MASK 0xFFC01424 /* TWI0 Master Interrupt Mask Register */
-#define TWI0_FIFO_CTRL 0xFFC01428 /* FIFO Control Register */
-#define TWI0_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI0_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI0_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI0_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI0_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/* General-Purpose Ports (0xFFC01500 - 0xFFC015FF) */
-/* Port C */
-#define PORTCIO_FER 0xFFC01500 /* GPIO Pin Port C Configuration Register */
-#define PORTCIO 0xFFC01510 /* GPIO Pin Port C Data Register */
-#define PORTCIO_CLEAR 0xFFC01520 /* Clear GPIO Pin Port C Register */
-#define PORTCIO_SET 0xFFC01530 /* Set GPIO Pin Port C Register */
-#define PORTCIO_TOGGLE 0xFFC01540 /* Toggle GPIO Pin Port C Register */
-#define PORTCIO_DIR 0xFFC01550 /* GPIO Pin Port C Direction Register */
-#define PORTCIO_INEN 0xFFC01560 /* GPIO Pin Port C Input Enable Register */
-
-/* Port D */
-#define PORTDIO_FER 0xFFC01504 /* GPIO Pin Port D Configuration Register */
-#define PORTDIO 0xFFC01514 /* GPIO Pin Port D Data Register */
-#define PORTDIO_CLEAR 0xFFC01524 /* Clear GPIO Pin Port D Register */
-#define PORTDIO_SET 0xFFC01534 /* Set GPIO Pin Port D Register */
-#define PORTDIO_TOGGLE 0xFFC01544 /* Toggle GPIO Pin Port D Register */
-#define PORTDIO_DIR 0xFFC01554 /* GPIO Pin Port D Direction Register */
-#define PORTDIO_INEN 0xFFC01564 /* GPIO Pin Port D Input Enable Register */
-
-/* Port E */
-#define PORTEIO_FER 0xFFC01508 /* GPIO Pin Port E Configuration Register */
-#define PORTEIO 0xFFC01518 /* GPIO Pin Port E Data Register */
-#define PORTEIO_CLEAR 0xFFC01528 /* Clear GPIO Pin Port E Register */
-#define PORTEIO_SET 0xFFC01538 /* Set GPIO Pin Port E Register */
-#define PORTEIO_TOGGLE 0xFFC01548 /* Toggle GPIO Pin Port E Register */
-#define PORTEIO_DIR 0xFFC01558 /* GPIO Pin Port E Direction Register */
-#define PORTEIO_INEN 0xFFC01568 /* GPIO Pin Port E Input Enable Register */
-
-
-/* ADSP-BF538 Adds DMA1 Controller */
-/* DMA1 Test Registers (0xFFC01B00 - 0xFFC01BFF) */
-#define DMAC1_TC_PER 0xFFC01B0C /* Traffic Control Periods Register */
-#define DMAC1_TC_CNT 0xFFC01B10 /* Traffic Control Current Counts Register */
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA1_TC_PER DMAC1_TC_PER /* Traffic Control Periods Register */
-#define DMA1_TC_CNT DMAC1_TC_CNT /* Traffic Control Current Counts Register */
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA1_TCPER DMA1_TC_PER /* Traffic Control Periods Register */
-#define DMA1_TCCNT DMA1_TC_CNT /* Traffic Control Current Counts Register */
-
-/* DMA Controller 1 (0xFFC01C00 - 0xFFC01FFF) */
-#define DMA8_NEXT_DESC_PTR 0xFFC01C00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC01C04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC01C08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC01C10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC01C14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC01C18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC01C1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC01C20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC01C24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC01C28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC01C2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC01C30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC01C38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC01C40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC01C44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC01C48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC01C50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC01C54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC01C58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC01C5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC01C60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC01C64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC01C68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC01C6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC01C70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC01C78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC01C80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC01C84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC01C88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC01C90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC01C94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC01C98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC01C9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC01CA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC01CA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC01CA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC01CAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC01CB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC01CB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC01CC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC01CC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC01CC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC01CD0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC01CD4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC01CD8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC01CDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC01CE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC01CE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC01CE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC01CEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC01CF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC01CF8 /* DMA Channel 11 Current Y Count Register */
-
-#define DMA12_NEXT_DESC_PTR 0xFFC01D00 /* DMA Channel 12 Next Descriptor Pointer Register */
-#define DMA12_START_ADDR 0xFFC01D04 /* DMA Channel 12 Start Address Register */
-#define DMA12_CONFIG 0xFFC01D08 /* DMA Channel 12 Configuration Register */
-#define DMA12_X_COUNT 0xFFC01D10 /* DMA Channel 12 X Count Register */
-#define DMA12_X_MODIFY 0xFFC01D14 /* DMA Channel 12 X Modify Register */
-#define DMA12_Y_COUNT 0xFFC01D18 /* DMA Channel 12 Y Count Register */
-#define DMA12_Y_MODIFY 0xFFC01D1C /* DMA Channel 12 Y Modify Register */
-#define DMA12_CURR_DESC_PTR 0xFFC01D20 /* DMA Channel 12 Current Descriptor Pointer Register */
-#define DMA12_CURR_ADDR 0xFFC01D24 /* DMA Channel 12 Current Address Register */
-#define DMA12_IRQ_STATUS 0xFFC01D28 /* DMA Channel 12 Interrupt/Status Register */
-#define DMA12_PERIPHERAL_MAP 0xFFC01D2C /* DMA Channel 12 Peripheral Map Register */
-#define DMA12_CURR_X_COUNT 0xFFC01D30 /* DMA Channel 12 Current X Count Register */
-#define DMA12_CURR_Y_COUNT 0xFFC01D38 /* DMA Channel 12 Current Y Count Register */
-
-#define DMA13_NEXT_DESC_PTR 0xFFC01D40 /* DMA Channel 13 Next Descriptor Pointer Register */
-#define DMA13_START_ADDR 0xFFC01D44 /* DMA Channel 13 Start Address Register */
-#define DMA13_CONFIG 0xFFC01D48 /* DMA Channel 13 Configuration Register */
-#define DMA13_X_COUNT 0xFFC01D50 /* DMA Channel 13 X Count Register */
-#define DMA13_X_MODIFY 0xFFC01D54 /* DMA Channel 13 X Modify Register */
-#define DMA13_Y_COUNT 0xFFC01D58 /* DMA Channel 13 Y Count Register */
-#define DMA13_Y_MODIFY 0xFFC01D5C /* DMA Channel 13 Y Modify Register */
-#define DMA13_CURR_DESC_PTR 0xFFC01D60 /* DMA Channel 13 Current Descriptor Pointer Register */
-#define DMA13_CURR_ADDR 0xFFC01D64 /* DMA Channel 13 Current Address Register */
-#define DMA13_IRQ_STATUS 0xFFC01D68 /* DMA Channel 13 Interrupt/Status Register */
-#define DMA13_PERIPHERAL_MAP 0xFFC01D6C /* DMA Channel 13 Peripheral Map Register */
-#define DMA13_CURR_X_COUNT 0xFFC01D70 /* DMA Channel 13 Current X Count Register */
-#define DMA13_CURR_Y_COUNT 0xFFC01D78 /* DMA Channel 13 Current Y Count Register */
-
-#define DMA14_NEXT_DESC_PTR 0xFFC01D80 /* DMA Channel 14 Next Descriptor Pointer Register */
-#define DMA14_START_ADDR 0xFFC01D84 /* DMA Channel 14 Start Address Register */
-#define DMA14_CONFIG 0xFFC01D88 /* DMA Channel 14 Configuration Register */
-#define DMA14_X_COUNT 0xFFC01D90 /* DMA Channel 14 X Count Register */
-#define DMA14_X_MODIFY 0xFFC01D94 /* DMA Channel 14 X Modify Register */
-#define DMA14_Y_COUNT 0xFFC01D98 /* DMA Channel 14 Y Count Register */
-#define DMA14_Y_MODIFY 0xFFC01D9C /* DMA Channel 14 Y Modify Register */
-#define DMA14_CURR_DESC_PTR 0xFFC01DA0 /* DMA Channel 14 Current Descriptor Pointer Register */
-#define DMA14_CURR_ADDR 0xFFC01DA4 /* DMA Channel 14 Current Address Register */
-#define DMA14_IRQ_STATUS 0xFFC01DA8 /* DMA Channel 14 Interrupt/Status Register */
-#define DMA14_PERIPHERAL_MAP 0xFFC01DAC /* DMA Channel 14 Peripheral Map Register */
-#define DMA14_CURR_X_COUNT 0xFFC01DB0 /* DMA Channel 14 Current X Count Register */
-#define DMA14_CURR_Y_COUNT 0xFFC01DB8 /* DMA Channel 14 Current Y Count Register */
-
-#define DMA15_NEXT_DESC_PTR 0xFFC01DC0 /* DMA Channel 15 Next Descriptor Pointer Register */
-#define DMA15_START_ADDR 0xFFC01DC4 /* DMA Channel 15 Start Address Register */
-#define DMA15_CONFIG 0xFFC01DC8 /* DMA Channel 15 Configuration Register */
-#define DMA15_X_COUNT 0xFFC01DD0 /* DMA Channel 15 X Count Register */
-#define DMA15_X_MODIFY 0xFFC01DD4 /* DMA Channel 15 X Modify Register */
-#define DMA15_Y_COUNT 0xFFC01DD8 /* DMA Channel 15 Y Count Register */
-#define DMA15_Y_MODIFY 0xFFC01DDC /* DMA Channel 15 Y Modify Register */
-#define DMA15_CURR_DESC_PTR 0xFFC01DE0 /* DMA Channel 15 Current Descriptor Pointer Register */
-#define DMA15_CURR_ADDR 0xFFC01DE4 /* DMA Channel 15 Current Address Register */
-#define DMA15_IRQ_STATUS 0xFFC01DE8 /* DMA Channel 15 Interrupt/Status Register */
-#define DMA15_PERIPHERAL_MAP 0xFFC01DEC /* DMA Channel 15 Peripheral Map Register */
-#define DMA15_CURR_X_COUNT 0xFFC01DF0 /* DMA Channel 15 Current X Count Register */
-#define DMA15_CURR_Y_COUNT 0xFFC01DF8 /* DMA Channel 15 Current Y Count Register */
-
-#define DMA16_NEXT_DESC_PTR 0xFFC01E00 /* DMA Channel 16 Next Descriptor Pointer Register */
-#define DMA16_START_ADDR 0xFFC01E04 /* DMA Channel 16 Start Address Register */
-#define DMA16_CONFIG 0xFFC01E08 /* DMA Channel 16 Configuration Register */
-#define DMA16_X_COUNT 0xFFC01E10 /* DMA Channel 16 X Count Register */
-#define DMA16_X_MODIFY 0xFFC01E14 /* DMA Channel 16 X Modify Register */
-#define DMA16_Y_COUNT 0xFFC01E18 /* DMA Channel 16 Y Count Register */
-#define DMA16_Y_MODIFY 0xFFC01E1C /* DMA Channel 16 Y Modify Register */
-#define DMA16_CURR_DESC_PTR 0xFFC01E20 /* DMA Channel 16 Current Descriptor Pointer Register */
-#define DMA16_CURR_ADDR 0xFFC01E24 /* DMA Channel 16 Current Address Register */
-#define DMA16_IRQ_STATUS 0xFFC01E28 /* DMA Channel 16 Interrupt/Status Register */
-#define DMA16_PERIPHERAL_MAP 0xFFC01E2C /* DMA Channel 16 Peripheral Map Register */
-#define DMA16_CURR_X_COUNT 0xFFC01E30 /* DMA Channel 16 Current X Count Register */
-#define DMA16_CURR_Y_COUNT 0xFFC01E38 /* DMA Channel 16 Current Y Count Register */
-
-#define DMA17_NEXT_DESC_PTR 0xFFC01E40 /* DMA Channel 17 Next Descriptor Pointer Register */
-#define DMA17_START_ADDR 0xFFC01E44 /* DMA Channel 17 Start Address Register */
-#define DMA17_CONFIG 0xFFC01E48 /* DMA Channel 17 Configuration Register */
-#define DMA17_X_COUNT 0xFFC01E50 /* DMA Channel 17 X Count Register */
-#define DMA17_X_MODIFY 0xFFC01E54 /* DMA Channel 17 X Modify Register */
-#define DMA17_Y_COUNT 0xFFC01E58 /* DMA Channel 17 Y Count Register */
-#define DMA17_Y_MODIFY 0xFFC01E5C /* DMA Channel 17 Y Modify Register */
-#define DMA17_CURR_DESC_PTR 0xFFC01E60 /* DMA Channel 17 Current Descriptor Pointer Register */
-#define DMA17_CURR_ADDR 0xFFC01E64 /* DMA Channel 17 Current Address Register */
-#define DMA17_IRQ_STATUS 0xFFC01E68 /* DMA Channel 17 Interrupt/Status Register */
-#define DMA17_PERIPHERAL_MAP 0xFFC01E6C /* DMA Channel 17 Peripheral Map Register */
-#define DMA17_CURR_X_COUNT 0xFFC01E70 /* DMA Channel 17 Current X Count Register */
-#define DMA17_CURR_Y_COUNT 0xFFC01E78 /* DMA Channel 17 Current Y Count Register */
-
-#define DMA18_NEXT_DESC_PTR 0xFFC01E80 /* DMA Channel 18 Next Descriptor Pointer Register */
-#define DMA18_START_ADDR 0xFFC01E84 /* DMA Channel 18 Start Address Register */
-#define DMA18_CONFIG 0xFFC01E88 /* DMA Channel 18 Configuration Register */
-#define DMA18_X_COUNT 0xFFC01E90 /* DMA Channel 18 X Count Register */
-#define DMA18_X_MODIFY 0xFFC01E94 /* DMA Channel 18 X Modify Register */
-#define DMA18_Y_COUNT 0xFFC01E98 /* DMA Channel 18 Y Count Register */
-#define DMA18_Y_MODIFY 0xFFC01E9C /* DMA Channel 18 Y Modify Register */
-#define DMA18_CURR_DESC_PTR 0xFFC01EA0 /* DMA Channel 18 Current Descriptor Pointer Register */
-#define DMA18_CURR_ADDR 0xFFC01EA4 /* DMA Channel 18 Current Address Register */
-#define DMA18_IRQ_STATUS 0xFFC01EA8 /* DMA Channel 18 Interrupt/Status Register */
-#define DMA18_PERIPHERAL_MAP 0xFFC01EAC /* DMA Channel 18 Peripheral Map Register */
-#define DMA18_CURR_X_COUNT 0xFFC01EB0 /* DMA Channel 18 Current X Count Register */
-#define DMA18_CURR_Y_COUNT 0xFFC01EB8 /* DMA Channel 18 Current Y Count Register */
-
-#define DMA19_NEXT_DESC_PTR 0xFFC01EC0 /* DMA Channel 19 Next Descriptor Pointer Register */
-#define DMA19_START_ADDR 0xFFC01EC4 /* DMA Channel 19 Start Address Register */
-#define DMA19_CONFIG 0xFFC01EC8 /* DMA Channel 19 Configuration Register */
-#define DMA19_X_COUNT 0xFFC01ED0 /* DMA Channel 19 X Count Register */
-#define DMA19_X_MODIFY 0xFFC01ED4 /* DMA Channel 19 X Modify Register */
-#define DMA19_Y_COUNT 0xFFC01ED8 /* DMA Channel 19 Y Count Register */
-#define DMA19_Y_MODIFY 0xFFC01EDC /* DMA Channel 19 Y Modify Register */
-#define DMA19_CURR_DESC_PTR 0xFFC01EE0 /* DMA Channel 19 Current Descriptor Pointer Register */
-#define DMA19_CURR_ADDR 0xFFC01EE4 /* DMA Channel 19 Current Address Register */
-#define DMA19_IRQ_STATUS 0xFFC01EE8 /* DMA Channel 19 Interrupt/Status Register */
-#define DMA19_PERIPHERAL_MAP 0xFFC01EEC /* DMA Channel 19 Peripheral Map Register */
-#define DMA19_CURR_X_COUNT 0xFFC01EF0 /* DMA Channel 19 Current X Count Register */
-#define DMA19_CURR_Y_COUNT 0xFFC01EF8 /* DMA Channel 19 Current Y Count Register */
-
-#define MDMA1_D0_NEXT_DESC_PTR 0xFFC01F00 /* MemDMA1 Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA1_D0_START_ADDR 0xFFC01F04 /* MemDMA1 Stream 0 Destination Start Address Register */
-#define MDMA1_D0_CONFIG 0xFFC01F08 /* MemDMA1 Stream 0 Destination Configuration Register */
-#define MDMA1_D0_X_COUNT 0xFFC01F10 /* MemDMA1 Stream 0 Destination X Count Register */
-#define MDMA1_D0_X_MODIFY 0xFFC01F14 /* MemDMA1 Stream 0 Destination X Modify Register */
-#define MDMA1_D0_Y_COUNT 0xFFC01F18 /* MemDMA1 Stream 0 Destination Y Count Register */
-#define MDMA1_D0_Y_MODIFY 0xFFC01F1C /* MemDMA1 Stream 0 Destination Y Modify Register */
-#define MDMA1_D0_CURR_DESC_PTR 0xFFC01F20 /* MemDMA1 Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA1_D0_CURR_ADDR 0xFFC01F24 /* MemDMA1 Stream 0 Destination Current Address Register */
-#define MDMA1_D0_IRQ_STATUS 0xFFC01F28 /* MemDMA1 Stream 0 Destination Interrupt/Status Register */
-#define MDMA1_D0_PERIPHERAL_MAP 0xFFC01F2C /* MemDMA1 Stream 0 Destination Peripheral Map Register */
-#define MDMA1_D0_CURR_X_COUNT 0xFFC01F30 /* MemDMA1 Stream 0 Destination Current X Count Register */
-#define MDMA1_D0_CURR_Y_COUNT 0xFFC01F38 /* MemDMA1 Stream 0 Destination Current Y Count Register */
-
-#define MDMA1_S0_NEXT_DESC_PTR 0xFFC01F40 /* MemDMA1 Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA1_S0_START_ADDR 0xFFC01F44 /* MemDMA1 Stream 0 Source Start Address Register */
-#define MDMA1_S0_CONFIG 0xFFC01F48 /* MemDMA1 Stream 0 Source Configuration Register */
-#define MDMA1_S0_X_COUNT 0xFFC01F50 /* MemDMA1 Stream 0 Source X Count Register */
-#define MDMA1_S0_X_MODIFY 0xFFC01F54 /* MemDMA1 Stream 0 Source X Modify Register */
-#define MDMA1_S0_Y_COUNT 0xFFC01F58 /* MemDMA1 Stream 0 Source Y Count Register */
-#define MDMA1_S0_Y_MODIFY 0xFFC01F5C /* MemDMA1 Stream 0 Source Y Modify Register */
-#define MDMA1_S0_CURR_DESC_PTR 0xFFC01F60 /* MemDMA1 Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA1_S0_CURR_ADDR 0xFFC01F64 /* MemDMA1 Stream 0 Source Current Address Register */
-#define MDMA1_S0_IRQ_STATUS 0xFFC01F68 /* MemDMA1 Stream 0 Source Interrupt/Status Register */
-#define MDMA1_S0_PERIPHERAL_MAP 0xFFC01F6C /* MemDMA1 Stream 0 Source Peripheral Map Register */
-#define MDMA1_S0_CURR_X_COUNT 0xFFC01F70 /* MemDMA1 Stream 0 Source Current X Count Register */
-#define MDMA1_S0_CURR_Y_COUNT 0xFFC01F78 /* MemDMA1 Stream 0 Source Current Y Count Register */
-
-#define MDMA1_D1_NEXT_DESC_PTR 0xFFC01F80 /* MemDMA1 Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA1_D1_START_ADDR 0xFFC01F84 /* MemDMA1 Stream 1 Destination Start Address Register */
-#define MDMA1_D1_CONFIG 0xFFC01F88 /* MemDMA1 Stream 1 Destination Configuration Register */
-#define MDMA1_D1_X_COUNT 0xFFC01F90 /* MemDMA1 Stream 1 Destination X Count Register */
-#define MDMA1_D1_X_MODIFY 0xFFC01F94 /* MemDMA1 Stream 1 Destination X Modify Register */
-#define MDMA1_D1_Y_COUNT 0xFFC01F98 /* MemDMA1 Stream 1 Destination Y Count Register */
-#define MDMA1_D1_Y_MODIFY 0xFFC01F9C /* MemDMA1 Stream 1 Destination Y Modify Register */
-#define MDMA1_D1_CURR_DESC_PTR 0xFFC01FA0 /* MemDMA1 Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA1_D1_CURR_ADDR 0xFFC01FA4 /* MemDMA1 Stream 1 Destination Current Address Register */
-#define MDMA1_D1_IRQ_STATUS 0xFFC01FA8 /* MemDMA1 Stream 1 Destination Interrupt/Status Register */
-#define MDMA1_D1_PERIPHERAL_MAP 0xFFC01FAC /* MemDMA1 Stream 1 Destination Peripheral Map Register */
-#define MDMA1_D1_CURR_X_COUNT 0xFFC01FB0 /* MemDMA1 Stream 1 Destination Current X Count Register */
-#define MDMA1_D1_CURR_Y_COUNT 0xFFC01FB8 /* MemDMA1 Stream 1 Destination Current Y Count Register */
-
-#define MDMA1_S1_NEXT_DESC_PTR 0xFFC01FC0 /* MemDMA1 Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA1_S1_START_ADDR 0xFFC01FC4 /* MemDMA1 Stream 1 Source Start Address Register */
-#define MDMA1_S1_CONFIG 0xFFC01FC8 /* MemDMA1 Stream 1 Source Configuration Register */
-#define MDMA1_S1_X_COUNT 0xFFC01FD0 /* MemDMA1 Stream 1 Source X Count Register */
-#define MDMA1_S1_X_MODIFY 0xFFC01FD4 /* MemDMA1 Stream 1 Source X Modify Register */
-#define MDMA1_S1_Y_COUNT 0xFFC01FD8 /* MemDMA1 Stream 1 Source Y Count Register */
-#define MDMA1_S1_Y_MODIFY 0xFFC01FDC /* MemDMA1 Stream 1 Source Y Modify Register */
-#define MDMA1_S1_CURR_DESC_PTR 0xFFC01FE0 /* MemDMA1 Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA1_S1_CURR_ADDR 0xFFC01FE4 /* MemDMA1 Stream 1 Source Current Address Register */
-#define MDMA1_S1_IRQ_STATUS 0xFFC01FE8 /* MemDMA1 Stream 1 Source Interrupt/Status Register */
-#define MDMA1_S1_PERIPHERAL_MAP 0xFFC01FEC /* MemDMA1 Stream 1 Source Peripheral Map Register */
-#define MDMA1_S1_CURR_X_COUNT 0xFFC01FF0 /* MemDMA1 Stream 1 Source Current X Count Register */
-#define MDMA1_S1_CURR_Y_COUNT 0xFFC01FF8 /* MemDMA1 Stream 1 Source Current Y Count Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_THR 0xFFC02000 /* Transmit Holding register */
-#define UART1_RBR 0xFFC02000 /* Receive Buffer register */
-#define UART1_DLL 0xFFC02000 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC02004 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC02004 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC02008 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC0200C /* Line Control Register */
-#define UART1_MCR 0xFFC02010 /* Modem Control Register */
-#define UART1_LSR 0xFFC02014 /* Line Status Register */
-#define UART1_SCR 0xFFC0201C /* SCR Scratch Register */
-#define UART1_GCTL 0xFFC02024 /* Global Control Register */
-
-
-/* UART2 Controller (0xFFC02100 - 0xFFC021FF) */
-#define UART2_THR 0xFFC02100 /* Transmit Holding register */
-#define UART2_RBR 0xFFC02100 /* Receive Buffer register */
-#define UART2_DLL 0xFFC02100 /* Divisor Latch (Low-Byte) */
-#define UART2_IER 0xFFC02104 /* Interrupt Enable Register */
-#define UART2_DLH 0xFFC02104 /* Divisor Latch (High-Byte) */
-#define UART2_IIR 0xFFC02108 /* Interrupt Identification Register */
-#define UART2_LCR 0xFFC0210C /* Line Control Register */
-#define UART2_MCR 0xFFC02110 /* Modem Control Register */
-#define UART2_LSR 0xFFC02114 /* Line Status Register */
-#define UART2_SCR 0xFFC0211C /* SCR Scratch Register */
-#define UART2_GCTL 0xFFC02124 /* Global Control Register */
-
-
-/* Two-Wire Interface 1 (0xFFC02200 - 0xFFC022FF) */
-#define TWI1_CLKDIV 0xFFC02200 /* Serial Clock Divider Register */
-#define TWI1_CONTROL 0xFFC02204 /* TWI1 Master Internal Time Reference Register */
-#define TWI1_SLAVE_CTRL 0xFFC02208 /* Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xFFC0220C /* Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xFFC02210 /* Slave Mode Address Register */
-#define TWI1_MASTER_CTRL 0xFFC02214 /* Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xFFC02218 /* Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xFFC0221C /* Master Mode Address Register */
-#define TWI1_INT_STAT 0xFFC02220 /* TWI1 Master Interrupt Register */
-#define TWI1_INT_MASK 0xFFC02224 /* TWI1 Master Interrupt Mask Register */
-#define TWI1_FIFO_CTRL 0xFFC02228 /* FIFO Control Register */
-#define TWI1_FIFO_STAT 0xFFC0222C /* FIFO Status Register */
-#define TWI1_XMT_DATA8 0xFFC02280 /* FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xFFC02284 /* FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xFFC02288 /* FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xFFC0228C /* FIFO Receive Data Double Byte Register */
-
-
-/* SPI1 Controller (0xFFC02300 - 0xFFC023FF) */
-#define SPI1_CTL 0xFFC02300 /* SPI1 Control Register */
-#define SPI1_FLG 0xFFC02304 /* SPI1 Flag register */
-#define SPI1_STAT 0xFFC02308 /* SPI1 Status register */
-#define SPI1_TDBR 0xFFC0230C /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC02310 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC02314 /* SPI1 Baud rate Register */
-#define SPI1_SHADOW 0xFFC02318 /* SPI1_RDBR Shadow Register */
-
-
-/* SPI2 Controller (0xFFC02400 - 0xFFC024FF) */
-#define SPI2_CTL 0xFFC02400 /* SPI2 Control Register */
-#define SPI2_FLG 0xFFC02404 /* SPI2 Flag register */
-#define SPI2_STAT 0xFFC02408 /* SPI2 Status register */
-#define SPI2_TDBR 0xFFC0240C /* SPI2 Transmit Data Buffer Register */
-#define SPI2_RDBR 0xFFC02410 /* SPI2 Receive Data Buffer Register */
-#define SPI2_BAUD 0xFFC02414 /* SPI2 Baud rate Register */
-#define SPI2_SHADOW 0xFFC02418 /* SPI2_RDBR Shadow Register */
-
-
-/* SPORT2 Controller (0xFFC02500 - 0xFFC025FF) */
-#define SPORT2_TCR1 0xFFC02500 /* SPORT2 Transmit Configuration 1 Register */
-#define SPORT2_TCR2 0xFFC02504 /* SPORT2 Transmit Configuration 2 Register */
-#define SPORT2_TCLKDIV 0xFFC02508 /* SPORT2 Transmit Clock Divider */
-#define SPORT2_TFSDIV 0xFFC0250C /* SPORT2 Transmit Frame Sync Divider */
-#define SPORT2_TX 0xFFC02510 /* SPORT2 TX Data Register */
-#define SPORT2_RX 0xFFC02518 /* SPORT2 RX Data Register */
-#define SPORT2_RCR1 0xFFC02520 /* SPORT2 Transmit Configuration 1 Register */
-#define SPORT2_RCR2 0xFFC02524 /* SPORT2 Transmit Configuration 2 Register */
-#define SPORT2_RCLKDIV 0xFFC02528 /* SPORT2 Receive Clock Divider */
-#define SPORT2_RFSDIV 0xFFC0252C /* SPORT2 Receive Frame Sync Divider */
-#define SPORT2_STAT 0xFFC02530 /* SPORT2 Status Register */
-#define SPORT2_CHNL 0xFFC02534 /* SPORT2 Current Channel Register */
-#define SPORT2_MCMC1 0xFFC02538 /* SPORT2 Multi-Channel Configuration Register 1 */
-#define SPORT2_MCMC2 0xFFC0253C /* SPORT2 Multi-Channel Configuration Register 2 */
-#define SPORT2_MTCS0 0xFFC02540 /* SPORT2 Multi-Channel Transmit Select Register 0 */
-#define SPORT2_MTCS1 0xFFC02544 /* SPORT2 Multi-Channel Transmit Select Register 1 */
-#define SPORT2_MTCS2 0xFFC02548 /* SPORT2 Multi-Channel Transmit Select Register 2 */
-#define SPORT2_MTCS3 0xFFC0254C /* SPORT2 Multi-Channel Transmit Select Register 3 */
-#define SPORT2_MRCS0 0xFFC02550 /* SPORT2 Multi-Channel Receive Select Register 0 */
-#define SPORT2_MRCS1 0xFFC02554 /* SPORT2 Multi-Channel Receive Select Register 1 */
-#define SPORT2_MRCS2 0xFFC02558 /* SPORT2 Multi-Channel Receive Select Register 2 */
-#define SPORT2_MRCS3 0xFFC0255C /* SPORT2 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT3 Controller (0xFFC02600 - 0xFFC026FF) */
-#define SPORT3_TCR1 0xFFC02600 /* SPORT3 Transmit Configuration 1 Register */
-#define SPORT3_TCR2 0xFFC02604 /* SPORT3 Transmit Configuration 2 Register */
-#define SPORT3_TCLKDIV 0xFFC02608 /* SPORT3 Transmit Clock Divider */
-#define SPORT3_TFSDIV 0xFFC0260C /* SPORT3 Transmit Frame Sync Divider */
-#define SPORT3_TX 0xFFC02610 /* SPORT3 TX Data Register */
-#define SPORT3_RX 0xFFC02618 /* SPORT3 RX Data Register */
-#define SPORT3_RCR1 0xFFC02620 /* SPORT3 Transmit Configuration 1 Register */
-#define SPORT3_RCR2 0xFFC02624 /* SPORT3 Transmit Configuration 2 Register */
-#define SPORT3_RCLKDIV 0xFFC02628 /* SPORT3 Receive Clock Divider */
-#define SPORT3_RFSDIV 0xFFC0262C /* SPORT3 Receive Frame Sync Divider */
-#define SPORT3_STAT 0xFFC02630 /* SPORT3 Status Register */
-#define SPORT3_CHNL 0xFFC02634 /* SPORT3 Current Channel Register */
-#define SPORT3_MCMC1 0xFFC02638 /* SPORT3 Multi-Channel Configuration Register 1 */
-#define SPORT3_MCMC2 0xFFC0263C /* SPORT3 Multi-Channel Configuration Register 2 */
-#define SPORT3_MTCS0 0xFFC02640 /* SPORT3 Multi-Channel Transmit Select Register 0 */
-#define SPORT3_MTCS1 0xFFC02644 /* SPORT3 Multi-Channel Transmit Select Register 1 */
-#define SPORT3_MTCS2 0xFFC02648 /* SPORT3 Multi-Channel Transmit Select Register 2 */
-#define SPORT3_MTCS3 0xFFC0264C /* SPORT3 Multi-Channel Transmit Select Register 3 */
-#define SPORT3_MRCS0 0xFFC02650 /* SPORT3 Multi-Channel Receive Select Register 0 */
-#define SPORT3_MRCS1 0xFFC02654 /* SPORT3 Multi-Channel Receive Select Register 1 */
-#define SPORT3_MRCS2 0xFFC02658 /* SPORT3 Multi-Channel Receive Select Register 2 */
-#define SPORT3_MRCS3 0xFFC0265C /* SPORT3 Multi-Channel Receive Select Register 3 */
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define CAN_MC1 0xFFC02A00 /* Mailbox config reg 1 */
-#define CAN_MD1 0xFFC02A04 /* Mailbox direction reg 1 */
-#define CAN_TRS1 0xFFC02A08 /* Transmit Request Set reg 1 */
-#define CAN_TRR1 0xFFC02A0C /* Transmit Request Reset reg 1 */
-#define CAN_TA1 0xFFC02A10 /* Transmit Acknowledge reg 1 */
-#define CAN_AA1 0xFFC02A14 /* Transmit Abort Acknowledge reg 1 */
-#define CAN_RMP1 0xFFC02A18 /* Receive Message Pending reg 1 */
-#define CAN_RML1 0xFFC02A1C /* Receive Message Lost reg 1 */
-#define CAN_MBTIF1 0xFFC02A20 /* Mailbox Transmit Interrupt Flag reg 1 */
-#define CAN_MBRIF1 0xFFC02A24 /* Mailbox Receive Interrupt Flag reg 1 */
-#define CAN_MBIM1 0xFFC02A28 /* Mailbox Interrupt Mask reg 1 */
-#define CAN_RFH1 0xFFC02A2C /* Remote Frame Handling reg 1 */
-#define CAN_OPSS1 0xFFC02A30 /* Overwrite Protection Single Shot Xmission reg 1 */
-
-/* For Mailboxes 16-31 */
-#define CAN_MC2 0xFFC02A40 /* Mailbox config reg 2 */
-#define CAN_MD2 0xFFC02A44 /* Mailbox direction reg 2 */
-#define CAN_TRS2 0xFFC02A48 /* Transmit Request Set reg 2 */
-#define CAN_TRR2 0xFFC02A4C /* Transmit Request Reset reg 2 */
-#define CAN_TA2 0xFFC02A50 /* Transmit Acknowledge reg 2 */
-#define CAN_AA2 0xFFC02A54 /* Transmit Abort Acknowledge reg 2 */
-#define CAN_RMP2 0xFFC02A58 /* Receive Message Pending reg 2 */
-#define CAN_RML2 0xFFC02A5C /* Receive Message Lost reg 2 */
-#define CAN_MBTIF2 0xFFC02A60 /* Mailbox Transmit Interrupt Flag reg 2 */
-#define CAN_MBRIF2 0xFFC02A64 /* Mailbox Receive Interrupt Flag reg 2 */
-#define CAN_MBIM2 0xFFC02A68 /* Mailbox Interrupt Mask reg 2 */
-#define CAN_RFH2 0xFFC02A6C /* Remote Frame Handling reg 2 */
-#define CAN_OPSS2 0xFFC02A70 /* Overwrite Protection Single Shot Xmission reg 2 */
-
-#define CAN_CLOCK 0xFFC02A80 /* Bit Timing Configuration register 0 */
-#define CAN_TIMING 0xFFC02A84 /* Bit Timing Configuration register 1 */
-#define CAN_DEBUG 0xFFC02A88 /* Debug Register */
-#define CAN_STATUS 0xFFC02A8C /* Global Status Register */
-#define CAN_CEC 0xFFC02A90 /* Error Counter Register */
-#define CAN_GIS 0xFFC02A94 /* Global Interrupt Status Register */
-#define CAN_GIM 0xFFC02A98 /* Global Interrupt Mask Register */
-#define CAN_GIF 0xFFC02A9C /* Global Interrupt Flag Register */
-#define CAN_CONTROL 0xFFC02AA0 /* Master Control Register */
-#define CAN_INTR 0xFFC02AA4 /* Interrupt Pending Register */
-#define CAN_MBTD 0xFFC02AAC /* Mailbox Temporary Disable Feature */
-#define CAN_EWR 0xFFC02AB0 /* Programmable Warning Level */
-#define CAN_ESR 0xFFC02AB4 /* Error Status Register */
-#define CAN_UCCNT 0xFFC02AC4 /* Universal Counter */
-#define CAN_UCRC 0xFFC02AC8 /* Universal Counter Reload/Capture Register */
-#define CAN_UCCNF 0xFFC02ACC /* Universal Counter Configuration Register */
-
-/* Mailbox Acceptance Masks */
-#define CAN_AM00L 0xFFC02B00 /* Mailbox 0 Low Acceptance Mask */
-#define CAN_AM00H 0xFFC02B04 /* Mailbox 0 High Acceptance Mask */
-#define CAN_AM01L 0xFFC02B08 /* Mailbox 1 Low Acceptance Mask */
-#define CAN_AM01H 0xFFC02B0C /* Mailbox 1 High Acceptance Mask */
-#define CAN_AM02L 0xFFC02B10 /* Mailbox 2 Low Acceptance Mask */
-#define CAN_AM02H 0xFFC02B14 /* Mailbox 2 High Acceptance Mask */
-#define CAN_AM03L 0xFFC02B18 /* Mailbox 3 Low Acceptance Mask */
-#define CAN_AM03H 0xFFC02B1C /* Mailbox 3 High Acceptance Mask */
-#define CAN_AM04L 0xFFC02B20 /* Mailbox 4 Low Acceptance Mask */
-#define CAN_AM04H 0xFFC02B24 /* Mailbox 4 High Acceptance Mask */
-#define CAN_AM05L 0xFFC02B28 /* Mailbox 5 Low Acceptance Mask */
-#define CAN_AM05H 0xFFC02B2C /* Mailbox 5 High Acceptance Mask */
-#define CAN_AM06L 0xFFC02B30 /* Mailbox 6 Low Acceptance Mask */
-#define CAN_AM06H 0xFFC02B34 /* Mailbox 6 High Acceptance Mask */
-#define CAN_AM07L 0xFFC02B38 /* Mailbox 7 Low Acceptance Mask */
-#define CAN_AM07H 0xFFC02B3C /* Mailbox 7 High Acceptance Mask */
-#define CAN_AM08L 0xFFC02B40 /* Mailbox 8 Low Acceptance Mask */
-#define CAN_AM08H 0xFFC02B44 /* Mailbox 8 High Acceptance Mask */
-#define CAN_AM09L 0xFFC02B48 /* Mailbox 9 Low Acceptance Mask */
-#define CAN_AM09H 0xFFC02B4C /* Mailbox 9 High Acceptance Mask */
-#define CAN_AM10L 0xFFC02B50 /* Mailbox 10 Low Acceptance Mask */
-#define CAN_AM10H 0xFFC02B54 /* Mailbox 10 High Acceptance Mask */
-#define CAN_AM11L 0xFFC02B58 /* Mailbox 11 Low Acceptance Mask */
-#define CAN_AM11H 0xFFC02B5C /* Mailbox 11 High Acceptance Mask */
-#define CAN_AM12L 0xFFC02B60 /* Mailbox 12 Low Acceptance Mask */
-#define CAN_AM12H 0xFFC02B64 /* Mailbox 12 High Acceptance Mask */
-#define CAN_AM13L 0xFFC02B68 /* Mailbox 13 Low Acceptance Mask */
-#define CAN_AM13H 0xFFC02B6C /* Mailbox 13 High Acceptance Mask */
-#define CAN_AM14L 0xFFC02B70 /* Mailbox 14 Low Acceptance Mask */
-#define CAN_AM14H 0xFFC02B74 /* Mailbox 14 High Acceptance Mask */
-#define CAN_AM15L 0xFFC02B78 /* Mailbox 15 Low Acceptance Mask */
-#define CAN_AM15H 0xFFC02B7C /* Mailbox 15 High Acceptance Mask */
-
-#define CAN_AM16L 0xFFC02B80 /* Mailbox 16 Low Acceptance Mask */
-#define CAN_AM16H 0xFFC02B84 /* Mailbox 16 High Acceptance Mask */
-#define CAN_AM17L 0xFFC02B88 /* Mailbox 17 Low Acceptance Mask */
-#define CAN_AM17H 0xFFC02B8C /* Mailbox 17 High Acceptance Mask */
-#define CAN_AM18L 0xFFC02B90 /* Mailbox 18 Low Acceptance Mask */
-#define CAN_AM18H 0xFFC02B94 /* Mailbox 18 High Acceptance Mask */
-#define CAN_AM19L 0xFFC02B98 /* Mailbox 19 Low Acceptance Mask */
-#define CAN_AM19H 0xFFC02B9C /* Mailbox 19 High Acceptance Mask */
-#define CAN_AM20L 0xFFC02BA0 /* Mailbox 20 Low Acceptance Mask */
-#define CAN_AM20H 0xFFC02BA4 /* Mailbox 20 High Acceptance Mask */
-#define CAN_AM21L 0xFFC02BA8 /* Mailbox 21 Low Acceptance Mask */
-#define CAN_AM21H 0xFFC02BAC /* Mailbox 21 High Acceptance Mask */
-#define CAN_AM22L 0xFFC02BB0 /* Mailbox 22 Low Acceptance Mask */
-#define CAN_AM22H 0xFFC02BB4 /* Mailbox 22 High Acceptance Mask */
-#define CAN_AM23L 0xFFC02BB8 /* Mailbox 23 Low Acceptance Mask */
-#define CAN_AM23H 0xFFC02BBC /* Mailbox 23 High Acceptance Mask */
-#define CAN_AM24L 0xFFC02BC0 /* Mailbox 24 Low Acceptance Mask */
-#define CAN_AM24H 0xFFC02BC4 /* Mailbox 24 High Acceptance Mask */
-#define CAN_AM25L 0xFFC02BC8 /* Mailbox 25 Low Acceptance Mask */
-#define CAN_AM25H 0xFFC02BCC /* Mailbox 25 High Acceptance Mask */
-#define CAN_AM26L 0xFFC02BD0 /* Mailbox 26 Low Acceptance Mask */
-#define CAN_AM26H 0xFFC02BD4 /* Mailbox 26 High Acceptance Mask */
-#define CAN_AM27L 0xFFC02BD8 /* Mailbox 27 Low Acceptance Mask */
-#define CAN_AM27H 0xFFC02BDC /* Mailbox 27 High Acceptance Mask */
-#define CAN_AM28L 0xFFC02BE0 /* Mailbox 28 Low Acceptance Mask */
-#define CAN_AM28H 0xFFC02BE4 /* Mailbox 28 High Acceptance Mask */
-#define CAN_AM29L 0xFFC02BE8 /* Mailbox 29 Low Acceptance Mask */
-#define CAN_AM29H 0xFFC02BEC /* Mailbox 29 High Acceptance Mask */
-#define CAN_AM30L 0xFFC02BF0 /* Mailbox 30 Low Acceptance Mask */
-#define CAN_AM30H 0xFFC02BF4 /* Mailbox 30 High Acceptance Mask */
-#define CAN_AM31L 0xFFC02BF8 /* Mailbox 31 Low Acceptance Mask */
-#define CAN_AM31H 0xFFC02BFC /* Mailbox 31 High Acceptance Mask */
-
-/* CAN Acceptance Mask Macros */
-#define CAN_AM_L(x) (CAN_AM00L+((x)*0x8))
-#define CAN_AM_H(x) (CAN_AM00H+((x)*0x8))
-
-/* Mailbox Registers */
-#define CAN_MB00_DATA0 0xFFC02C00 /* Mailbox 0 Data Word 0 [15:0] Register */
-#define CAN_MB00_DATA1 0xFFC02C04 /* Mailbox 0 Data Word 1 [31:16] Register */
-#define CAN_MB00_DATA2 0xFFC02C08 /* Mailbox 0 Data Word 2 [47:32] Register */
-#define CAN_MB00_DATA3 0xFFC02C0C /* Mailbox 0 Data Word 3 [63:48] Register */
-#define CAN_MB00_LENGTH 0xFFC02C10 /* Mailbox 0 Data Length Code Register */
-#define CAN_MB00_TIMESTAMP 0xFFC02C14 /* Mailbox 0 Time Stamp Value Register */
-#define CAN_MB00_ID0 0xFFC02C18 /* Mailbox 0 Identifier Low Register */
-#define CAN_MB00_ID1 0xFFC02C1C /* Mailbox 0 Identifier High Register */
-
-#define CAN_MB01_DATA0 0xFFC02C20 /* Mailbox 1 Data Word 0 [15:0] Register */
-#define CAN_MB01_DATA1 0xFFC02C24 /* Mailbox 1 Data Word 1 [31:16] Register */
-#define CAN_MB01_DATA2 0xFFC02C28 /* Mailbox 1 Data Word 2 [47:32] Register */
-#define CAN_MB01_DATA3 0xFFC02C2C /* Mailbox 1 Data Word 3 [63:48] Register */
-#define CAN_MB01_LENGTH 0xFFC02C30 /* Mailbox 1 Data Length Code Register */
-#define CAN_MB01_TIMESTAMP 0xFFC02C34 /* Mailbox 1 Time Stamp Value Register */
-#define CAN_MB01_ID0 0xFFC02C38 /* Mailbox 1 Identifier Low Register */
-#define CAN_MB01_ID1 0xFFC02C3C /* Mailbox 1 Identifier High Register */
-
-#define CAN_MB02_DATA0 0xFFC02C40 /* Mailbox 2 Data Word 0 [15:0] Register */
-#define CAN_MB02_DATA1 0xFFC02C44 /* Mailbox 2 Data Word 1 [31:16] Register */
-#define CAN_MB02_DATA2 0xFFC02C48 /* Mailbox 2 Data Word 2 [47:32] Register */
-#define CAN_MB02_DATA3 0xFFC02C4C /* Mailbox 2 Data Word 3 [63:48] Register */
-#define CAN_MB02_LENGTH 0xFFC02C50 /* Mailbox 2 Data Length Code Register */
-#define CAN_MB02_TIMESTAMP 0xFFC02C54 /* Mailbox 2 Time Stamp Value Register */
-#define CAN_MB02_ID0 0xFFC02C58 /* Mailbox 2 Identifier Low Register */
-#define CAN_MB02_ID1 0xFFC02C5C /* Mailbox 2 Identifier High Register */
-
-#define CAN_MB03_DATA0 0xFFC02C60 /* Mailbox 3 Data Word 0 [15:0] Register */
-#define CAN_MB03_DATA1 0xFFC02C64 /* Mailbox 3 Data Word 1 [31:16] Register */
-#define CAN_MB03_DATA2 0xFFC02C68 /* Mailbox 3 Data Word 2 [47:32] Register */
-#define CAN_MB03_DATA3 0xFFC02C6C /* Mailbox 3 Data Word 3 [63:48] Register */
-#define CAN_MB03_LENGTH 0xFFC02C70 /* Mailbox 3 Data Length Code Register */
-#define CAN_MB03_TIMESTAMP 0xFFC02C74 /* Mailbox 3 Time Stamp Value Register */
-#define CAN_MB03_ID0 0xFFC02C78 /* Mailbox 3 Identifier Low Register */
-#define CAN_MB03_ID1 0xFFC02C7C /* Mailbox 3 Identifier High Register */
-
-#define CAN_MB04_DATA0 0xFFC02C80 /* Mailbox 4 Data Word 0 [15:0] Register */
-#define CAN_MB04_DATA1 0xFFC02C84 /* Mailbox 4 Data Word 1 [31:16] Register */
-#define CAN_MB04_DATA2 0xFFC02C88 /* Mailbox 4 Data Word 2 [47:32] Register */
-#define CAN_MB04_DATA3 0xFFC02C8C /* Mailbox 4 Data Word 3 [63:48] Register */
-#define CAN_MB04_LENGTH 0xFFC02C90 /* Mailbox 4 Data Length Code Register */
-#define CAN_MB04_TIMESTAMP 0xFFC02C94 /* Mailbox 4 Time Stamp Value Register */
-#define CAN_MB04_ID0 0xFFC02C98 /* Mailbox 4 Identifier Low Register */
-#define CAN_MB04_ID1 0xFFC02C9C /* Mailbox 4 Identifier High Register */
-
-#define CAN_MB05_DATA0 0xFFC02CA0 /* Mailbox 5 Data Word 0 [15:0] Register */
-#define CAN_MB05_DATA1 0xFFC02CA4 /* Mailbox 5 Data Word 1 [31:16] Register */
-#define CAN_MB05_DATA2 0xFFC02CA8 /* Mailbox 5 Data Word 2 [47:32] Register */
-#define CAN_MB05_DATA3 0xFFC02CAC /* Mailbox 5 Data Word 3 [63:48] Register */
-#define CAN_MB05_LENGTH 0xFFC02CB0 /* Mailbox 5 Data Length Code Register */
-#define CAN_MB05_TIMESTAMP 0xFFC02CB4 /* Mailbox 5 Time Stamp Value Register */
-#define CAN_MB05_ID0 0xFFC02CB8 /* Mailbox 5 Identifier Low Register */
-#define CAN_MB05_ID1 0xFFC02CBC /* Mailbox 5 Identifier High Register */
-
-#define CAN_MB06_DATA0 0xFFC02CC0 /* Mailbox 6 Data Word 0 [15:0] Register */
-#define CAN_MB06_DATA1 0xFFC02CC4 /* Mailbox 6 Data Word 1 [31:16] Register */
-#define CAN_MB06_DATA2 0xFFC02CC8 /* Mailbox 6 Data Word 2 [47:32] Register */
-#define CAN_MB06_DATA3 0xFFC02CCC /* Mailbox 6 Data Word 3 [63:48] Register */
-#define CAN_MB06_LENGTH 0xFFC02CD0 /* Mailbox 6 Data Length Code Register */
-#define CAN_MB06_TIMESTAMP 0xFFC02CD4 /* Mailbox 6 Time Stamp Value Register */
-#define CAN_MB06_ID0 0xFFC02CD8 /* Mailbox 6 Identifier Low Register */
-#define CAN_MB06_ID1 0xFFC02CDC /* Mailbox 6 Identifier High Register */
-
-#define CAN_MB07_DATA0 0xFFC02CE0 /* Mailbox 7 Data Word 0 [15:0] Register */
-#define CAN_MB07_DATA1 0xFFC02CE4 /* Mailbox 7 Data Word 1 [31:16] Register */
-#define CAN_MB07_DATA2 0xFFC02CE8 /* Mailbox 7 Data Word 2 [47:32] Register */
-#define CAN_MB07_DATA3 0xFFC02CEC /* Mailbox 7 Data Word 3 [63:48] Register */
-#define CAN_MB07_LENGTH 0xFFC02CF0 /* Mailbox 7 Data Length Code Register */
-#define CAN_MB07_TIMESTAMP 0xFFC02CF4 /* Mailbox 7 Time Stamp Value Register */
-#define CAN_MB07_ID0 0xFFC02CF8 /* Mailbox 7 Identifier Low Register */
-#define CAN_MB07_ID1 0xFFC02CFC /* Mailbox 7 Identifier High Register */
-
-#define CAN_MB08_DATA0 0xFFC02D00 /* Mailbox 8 Data Word 0 [15:0] Register */
-#define CAN_MB08_DATA1 0xFFC02D04 /* Mailbox 8 Data Word 1 [31:16] Register */
-#define CAN_MB08_DATA2 0xFFC02D08 /* Mailbox 8 Data Word 2 [47:32] Register */
-#define CAN_MB08_DATA3 0xFFC02D0C /* Mailbox 8 Data Word 3 [63:48] Register */
-#define CAN_MB08_LENGTH 0xFFC02D10 /* Mailbox 8 Data Length Code Register */
-#define CAN_MB08_TIMESTAMP 0xFFC02D14 /* Mailbox 8 Time Stamp Value Register */
-#define CAN_MB08_ID0 0xFFC02D18 /* Mailbox 8 Identifier Low Register */
-#define CAN_MB08_ID1 0xFFC02D1C /* Mailbox 8 Identifier High Register */
-
-#define CAN_MB09_DATA0 0xFFC02D20 /* Mailbox 9 Data Word 0 [15:0] Register */
-#define CAN_MB09_DATA1 0xFFC02D24 /* Mailbox 9 Data Word 1 [31:16] Register */
-#define CAN_MB09_DATA2 0xFFC02D28 /* Mailbox 9 Data Word 2 [47:32] Register */
-#define CAN_MB09_DATA3 0xFFC02D2C /* Mailbox 9 Data Word 3 [63:48] Register */
-#define CAN_MB09_LENGTH 0xFFC02D30 /* Mailbox 9 Data Length Code Register */
-#define CAN_MB09_TIMESTAMP 0xFFC02D34 /* Mailbox 9 Time Stamp Value Register */
-#define CAN_MB09_ID0 0xFFC02D38 /* Mailbox 9 Identifier Low Register */
-#define CAN_MB09_ID1 0xFFC02D3C /* Mailbox 9 Identifier High Register */
-
-#define CAN_MB10_DATA0 0xFFC02D40 /* Mailbox 10 Data Word 0 [15:0] Register */
-#define CAN_MB10_DATA1 0xFFC02D44 /* Mailbox 10 Data Word 1 [31:16] Register */
-#define CAN_MB10_DATA2 0xFFC02D48 /* Mailbox 10 Data Word 2 [47:32] Register */
-#define CAN_MB10_DATA3 0xFFC02D4C /* Mailbox 10 Data Word 3 [63:48] Register */
-#define CAN_MB10_LENGTH 0xFFC02D50 /* Mailbox 10 Data Length Code Register */
-#define CAN_MB10_TIMESTAMP 0xFFC02D54 /* Mailbox 10 Time Stamp Value Register */
-#define CAN_MB10_ID0 0xFFC02D58 /* Mailbox 10 Identifier Low Register */
-#define CAN_MB10_ID1 0xFFC02D5C /* Mailbox 10 Identifier High Register */
-
-#define CAN_MB11_DATA0 0xFFC02D60 /* Mailbox 11 Data Word 0 [15:0] Register */
-#define CAN_MB11_DATA1 0xFFC02D64 /* Mailbox 11 Data Word 1 [31:16] Register */
-#define CAN_MB11_DATA2 0xFFC02D68 /* Mailbox 11 Data Word 2 [47:32] Register */
-#define CAN_MB11_DATA3 0xFFC02D6C /* Mailbox 11 Data Word 3 [63:48] Register */
-#define CAN_MB11_LENGTH 0xFFC02D70 /* Mailbox 11 Data Length Code Register */
-#define CAN_MB11_TIMESTAMP 0xFFC02D74 /* Mailbox 11 Time Stamp Value Register */
-#define CAN_MB11_ID0 0xFFC02D78 /* Mailbox 11 Identifier Low Register */
-#define CAN_MB11_ID1 0xFFC02D7C /* Mailbox 11 Identifier High Register */
-
-#define CAN_MB12_DATA0 0xFFC02D80 /* Mailbox 12 Data Word 0 [15:0] Register */
-#define CAN_MB12_DATA1 0xFFC02D84 /* Mailbox 12 Data Word 1 [31:16] Register */
-#define CAN_MB12_DATA2 0xFFC02D88 /* Mailbox 12 Data Word 2 [47:32] Register */
-#define CAN_MB12_DATA3 0xFFC02D8C /* Mailbox 12 Data Word 3 [63:48] Register */
-#define CAN_MB12_LENGTH 0xFFC02D90 /* Mailbox 12 Data Length Code Register */
-#define CAN_MB12_TIMESTAMP 0xFFC02D94 /* Mailbox 12 Time Stamp Value Register */
-#define CAN_MB12_ID0 0xFFC02D98 /* Mailbox 12 Identifier Low Register */
-#define CAN_MB12_ID1 0xFFC02D9C /* Mailbox 12 Identifier High Register */
-
-#define CAN_MB13_DATA0 0xFFC02DA0 /* Mailbox 13 Data Word 0 [15:0] Register */
-#define CAN_MB13_DATA1 0xFFC02DA4 /* Mailbox 13 Data Word 1 [31:16] Register */
-#define CAN_MB13_DATA2 0xFFC02DA8 /* Mailbox 13 Data Word 2 [47:32] Register */
-#define CAN_MB13_DATA3 0xFFC02DAC /* Mailbox 13 Data Word 3 [63:48] Register */
-#define CAN_MB13_LENGTH 0xFFC02DB0 /* Mailbox 13 Data Length Code Register */
-#define CAN_MB13_TIMESTAMP 0xFFC02DB4 /* Mailbox 13 Time Stamp Value Register */
-#define CAN_MB13_ID0 0xFFC02DB8 /* Mailbox 13 Identifier Low Register */
-#define CAN_MB13_ID1 0xFFC02DBC /* Mailbox 13 Identifier High Register */
-
-#define CAN_MB14_DATA0 0xFFC02DC0 /* Mailbox 14 Data Word 0 [15:0] Register */
-#define CAN_MB14_DATA1 0xFFC02DC4 /* Mailbox 14 Data Word 1 [31:16] Register */
-#define CAN_MB14_DATA2 0xFFC02DC8 /* Mailbox 14 Data Word 2 [47:32] Register */
-#define CAN_MB14_DATA3 0xFFC02DCC /* Mailbox 14 Data Word 3 [63:48] Register */
-#define CAN_MB14_LENGTH 0xFFC02DD0 /* Mailbox 14 Data Length Code Register */
-#define CAN_MB14_TIMESTAMP 0xFFC02DD4 /* Mailbox 14 Time Stamp Value Register */
-#define CAN_MB14_ID0 0xFFC02DD8 /* Mailbox 14 Identifier Low Register */
-#define CAN_MB14_ID1 0xFFC02DDC /* Mailbox 14 Identifier High Register */
-
-#define CAN_MB15_DATA0 0xFFC02DE0 /* Mailbox 15 Data Word 0 [15:0] Register */
-#define CAN_MB15_DATA1 0xFFC02DE4 /* Mailbox 15 Data Word 1 [31:16] Register */
-#define CAN_MB15_DATA2 0xFFC02DE8 /* Mailbox 15 Data Word 2 [47:32] Register */
-#define CAN_MB15_DATA3 0xFFC02DEC /* Mailbox 15 Data Word 3 [63:48] Register */
-#define CAN_MB15_LENGTH 0xFFC02DF0 /* Mailbox 15 Data Length Code Register */
-#define CAN_MB15_TIMESTAMP 0xFFC02DF4 /* Mailbox 15 Time Stamp Value Register */
-#define CAN_MB15_ID0 0xFFC02DF8 /* Mailbox 15 Identifier Low Register */
-#define CAN_MB15_ID1 0xFFC02DFC /* Mailbox 15 Identifier High Register */
-
-#define CAN_MB16_DATA0 0xFFC02E00 /* Mailbox 16 Data Word 0 [15:0] Register */
-#define CAN_MB16_DATA1 0xFFC02E04 /* Mailbox 16 Data Word 1 [31:16] Register */
-#define CAN_MB16_DATA2 0xFFC02E08 /* Mailbox 16 Data Word 2 [47:32] Register */
-#define CAN_MB16_DATA3 0xFFC02E0C /* Mailbox 16 Data Word 3 [63:48] Register */
-#define CAN_MB16_LENGTH 0xFFC02E10 /* Mailbox 16 Data Length Code Register */
-#define CAN_MB16_TIMESTAMP 0xFFC02E14 /* Mailbox 16 Time Stamp Value Register */
-#define CAN_MB16_ID0 0xFFC02E18 /* Mailbox 16 Identifier Low Register */
-#define CAN_MB16_ID1 0xFFC02E1C /* Mailbox 16 Identifier High Register */
-
-#define CAN_MB17_DATA0 0xFFC02E20 /* Mailbox 17 Data Word 0 [15:0] Register */
-#define CAN_MB17_DATA1 0xFFC02E24 /* Mailbox 17 Data Word 1 [31:16] Register */
-#define CAN_MB17_DATA2 0xFFC02E28 /* Mailbox 17 Data Word 2 [47:32] Register */
-#define CAN_MB17_DATA3 0xFFC02E2C /* Mailbox 17 Data Word 3 [63:48] Register */
-#define CAN_MB17_LENGTH 0xFFC02E30 /* Mailbox 17 Data Length Code Register */
-#define CAN_MB17_TIMESTAMP 0xFFC02E34 /* Mailbox 17 Time Stamp Value Register */
-#define CAN_MB17_ID0 0xFFC02E38 /* Mailbox 17 Identifier Low Register */
-#define CAN_MB17_ID1 0xFFC02E3C /* Mailbox 17 Identifier High Register */
-
-#define CAN_MB18_DATA0 0xFFC02E40 /* Mailbox 18 Data Word 0 [15:0] Register */
-#define CAN_MB18_DATA1 0xFFC02E44 /* Mailbox 18 Data Word 1 [31:16] Register */
-#define CAN_MB18_DATA2 0xFFC02E48 /* Mailbox 18 Data Word 2 [47:32] Register */
-#define CAN_MB18_DATA3 0xFFC02E4C /* Mailbox 18 Data Word 3 [63:48] Register */
-#define CAN_MB18_LENGTH 0xFFC02E50 /* Mailbox 18 Data Length Code Register */
-#define CAN_MB18_TIMESTAMP 0xFFC02E54 /* Mailbox 18 Time Stamp Value Register */
-#define CAN_MB18_ID0 0xFFC02E58 /* Mailbox 18 Identifier Low Register */
-#define CAN_MB18_ID1 0xFFC02E5C /* Mailbox 18 Identifier High Register */
-
-#define CAN_MB19_DATA0 0xFFC02E60 /* Mailbox 19 Data Word 0 [15:0] Register */
-#define CAN_MB19_DATA1 0xFFC02E64 /* Mailbox 19 Data Word 1 [31:16] Register */
-#define CAN_MB19_DATA2 0xFFC02E68 /* Mailbox 19 Data Word 2 [47:32] Register */
-#define CAN_MB19_DATA3 0xFFC02E6C /* Mailbox 19 Data Word 3 [63:48] Register */
-#define CAN_MB19_LENGTH 0xFFC02E70 /* Mailbox 19 Data Length Code Register */
-#define CAN_MB19_TIMESTAMP 0xFFC02E74 /* Mailbox 19 Time Stamp Value Register */
-#define CAN_MB19_ID0 0xFFC02E78 /* Mailbox 19 Identifier Low Register */
-#define CAN_MB19_ID1 0xFFC02E7C /* Mailbox 19 Identifier High Register */
-
-#define CAN_MB20_DATA0 0xFFC02E80 /* Mailbox 20 Data Word 0 [15:0] Register */
-#define CAN_MB20_DATA1 0xFFC02E84 /* Mailbox 20 Data Word 1 [31:16] Register */
-#define CAN_MB20_DATA2 0xFFC02E88 /* Mailbox 20 Data Word 2 [47:32] Register */
-#define CAN_MB20_DATA3 0xFFC02E8C /* Mailbox 20 Data Word 3 [63:48] Register */
-#define CAN_MB20_LENGTH 0xFFC02E90 /* Mailbox 20 Data Length Code Register */
-#define CAN_MB20_TIMESTAMP 0xFFC02E94 /* Mailbox 20 Time Stamp Value Register */
-#define CAN_MB20_ID0 0xFFC02E98 /* Mailbox 20 Identifier Low Register */
-#define CAN_MB20_ID1 0xFFC02E9C /* Mailbox 20 Identifier High Register */
-
-#define CAN_MB21_DATA0 0xFFC02EA0 /* Mailbox 21 Data Word 0 [15:0] Register */
-#define CAN_MB21_DATA1 0xFFC02EA4 /* Mailbox 21 Data Word 1 [31:16] Register */
-#define CAN_MB21_DATA2 0xFFC02EA8 /* Mailbox 21 Data Word 2 [47:32] Register */
-#define CAN_MB21_DATA3 0xFFC02EAC /* Mailbox 21 Data Word 3 [63:48] Register */
-#define CAN_MB21_LENGTH 0xFFC02EB0 /* Mailbox 21 Data Length Code Register */
-#define CAN_MB21_TIMESTAMP 0xFFC02EB4 /* Mailbox 21 Time Stamp Value Register */
-#define CAN_MB21_ID0 0xFFC02EB8 /* Mailbox 21 Identifier Low Register */
-#define CAN_MB21_ID1 0xFFC02EBC /* Mailbox 21 Identifier High Register */
-
-#define CAN_MB22_DATA0 0xFFC02EC0 /* Mailbox 22 Data Word 0 [15:0] Register */
-#define CAN_MB22_DATA1 0xFFC02EC4 /* Mailbox 22 Data Word 1 [31:16] Register */
-#define CAN_MB22_DATA2 0xFFC02EC8 /* Mailbox 22 Data Word 2 [47:32] Register */
-#define CAN_MB22_DATA3 0xFFC02ECC /* Mailbox 22 Data Word 3 [63:48] Register */
-#define CAN_MB22_LENGTH 0xFFC02ED0 /* Mailbox 22 Data Length Code Register */
-#define CAN_MB22_TIMESTAMP 0xFFC02ED4 /* Mailbox 22 Time Stamp Value Register */
-#define CAN_MB22_ID0 0xFFC02ED8 /* Mailbox 22 Identifier Low Register */
-#define CAN_MB22_ID1 0xFFC02EDC /* Mailbox 22 Identifier High Register */
-
-#define CAN_MB23_DATA0 0xFFC02EE0 /* Mailbox 23 Data Word 0 [15:0] Register */
-#define CAN_MB23_DATA1 0xFFC02EE4 /* Mailbox 23 Data Word 1 [31:16] Register */
-#define CAN_MB23_DATA2 0xFFC02EE8 /* Mailbox 23 Data Word 2 [47:32] Register */
-#define CAN_MB23_DATA3 0xFFC02EEC /* Mailbox 23 Data Word 3 [63:48] Register */
-#define CAN_MB23_LENGTH 0xFFC02EF0 /* Mailbox 23 Data Length Code Register */
-#define CAN_MB23_TIMESTAMP 0xFFC02EF4 /* Mailbox 23 Time Stamp Value Register */
-#define CAN_MB23_ID0 0xFFC02EF8 /* Mailbox 23 Identifier Low Register */
-#define CAN_MB23_ID1 0xFFC02EFC /* Mailbox 23 Identifier High Register */
-
-#define CAN_MB24_DATA0 0xFFC02F00 /* Mailbox 24 Data Word 0 [15:0] Register */
-#define CAN_MB24_DATA1 0xFFC02F04 /* Mailbox 24 Data Word 1 [31:16] Register */
-#define CAN_MB24_DATA2 0xFFC02F08 /* Mailbox 24 Data Word 2 [47:32] Register */
-#define CAN_MB24_DATA3 0xFFC02F0C /* Mailbox 24 Data Word 3 [63:48] Register */
-#define CAN_MB24_LENGTH 0xFFC02F10 /* Mailbox 24 Data Length Code Register */
-#define CAN_MB24_TIMESTAMP 0xFFC02F14 /* Mailbox 24 Time Stamp Value Register */
-#define CAN_MB24_ID0 0xFFC02F18 /* Mailbox 24 Identifier Low Register */
-#define CAN_MB24_ID1 0xFFC02F1C /* Mailbox 24 Identifier High Register */
-
-#define CAN_MB25_DATA0 0xFFC02F20 /* Mailbox 25 Data Word 0 [15:0] Register */
-#define CAN_MB25_DATA1 0xFFC02F24 /* Mailbox 25 Data Word 1 [31:16] Register */
-#define CAN_MB25_DATA2 0xFFC02F28 /* Mailbox 25 Data Word 2 [47:32] Register */
-#define CAN_MB25_DATA3 0xFFC02F2C /* Mailbox 25 Data Word 3 [63:48] Register */
-#define CAN_MB25_LENGTH 0xFFC02F30 /* Mailbox 25 Data Length Code Register */
-#define CAN_MB25_TIMESTAMP 0xFFC02F34 /* Mailbox 25 Time Stamp Value Register */
-#define CAN_MB25_ID0 0xFFC02F38 /* Mailbox 25 Identifier Low Register */
-#define CAN_MB25_ID1 0xFFC02F3C /* Mailbox 25 Identifier High Register */
-
-#define CAN_MB26_DATA0 0xFFC02F40 /* Mailbox 26 Data Word 0 [15:0] Register */
-#define CAN_MB26_DATA1 0xFFC02F44 /* Mailbox 26 Data Word 1 [31:16] Register */
-#define CAN_MB26_DATA2 0xFFC02F48 /* Mailbox 26 Data Word 2 [47:32] Register */
-#define CAN_MB26_DATA3 0xFFC02F4C /* Mailbox 26 Data Word 3 [63:48] Register */
-#define CAN_MB26_LENGTH 0xFFC02F50 /* Mailbox 26 Data Length Code Register */
-#define CAN_MB26_TIMESTAMP 0xFFC02F54 /* Mailbox 26 Time Stamp Value Register */
-#define CAN_MB26_ID0 0xFFC02F58 /* Mailbox 26 Identifier Low Register */
-#define CAN_MB26_ID1 0xFFC02F5C /* Mailbox 26 Identifier High Register */
-
-#define CAN_MB27_DATA0 0xFFC02F60 /* Mailbox 27 Data Word 0 [15:0] Register */
-#define CAN_MB27_DATA1 0xFFC02F64 /* Mailbox 27 Data Word 1 [31:16] Register */
-#define CAN_MB27_DATA2 0xFFC02F68 /* Mailbox 27 Data Word 2 [47:32] Register */
-#define CAN_MB27_DATA3 0xFFC02F6C /* Mailbox 27 Data Word 3 [63:48] Register */
-#define CAN_MB27_LENGTH 0xFFC02F70 /* Mailbox 27 Data Length Code Register */
-#define CAN_MB27_TIMESTAMP 0xFFC02F74 /* Mailbox 27 Time Stamp Value Register */
-#define CAN_MB27_ID0 0xFFC02F78 /* Mailbox 27 Identifier Low Register */
-#define CAN_MB27_ID1 0xFFC02F7C /* Mailbox 27 Identifier High Register */
-
-#define CAN_MB28_DATA0 0xFFC02F80 /* Mailbox 28 Data Word 0 [15:0] Register */
-#define CAN_MB28_DATA1 0xFFC02F84 /* Mailbox 28 Data Word 1 [31:16] Register */
-#define CAN_MB28_DATA2 0xFFC02F88 /* Mailbox 28 Data Word 2 [47:32] Register */
-#define CAN_MB28_DATA3 0xFFC02F8C /* Mailbox 28 Data Word 3 [63:48] Register */
-#define CAN_MB28_LENGTH 0xFFC02F90 /* Mailbox 28 Data Length Code Register */
-#define CAN_MB28_TIMESTAMP 0xFFC02F94 /* Mailbox 28 Time Stamp Value Register */
-#define CAN_MB28_ID0 0xFFC02F98 /* Mailbox 28 Identifier Low Register */
-#define CAN_MB28_ID1 0xFFC02F9C /* Mailbox 28 Identifier High Register */
-
-#define CAN_MB29_DATA0 0xFFC02FA0 /* Mailbox 29 Data Word 0 [15:0] Register */
-#define CAN_MB29_DATA1 0xFFC02FA4 /* Mailbox 29 Data Word 1 [31:16] Register */
-#define CAN_MB29_DATA2 0xFFC02FA8 /* Mailbox 29 Data Word 2 [47:32] Register */
-#define CAN_MB29_DATA3 0xFFC02FAC /* Mailbox 29 Data Word 3 [63:48] Register */
-#define CAN_MB29_LENGTH 0xFFC02FB0 /* Mailbox 29 Data Length Code Register */
-#define CAN_MB29_TIMESTAMP 0xFFC02FB4 /* Mailbox 29 Time Stamp Value Register */
-#define CAN_MB29_ID0 0xFFC02FB8 /* Mailbox 29 Identifier Low Register */
-#define CAN_MB29_ID1 0xFFC02FBC /* Mailbox 29 Identifier High Register */
-
-#define CAN_MB30_DATA0 0xFFC02FC0 /* Mailbox 30 Data Word 0 [15:0] Register */
-#define CAN_MB30_DATA1 0xFFC02FC4 /* Mailbox 30 Data Word 1 [31:16] Register */
-#define CAN_MB30_DATA2 0xFFC02FC8 /* Mailbox 30 Data Word 2 [47:32] Register */
-#define CAN_MB30_DATA3 0xFFC02FCC /* Mailbox 30 Data Word 3 [63:48] Register */
-#define CAN_MB30_LENGTH 0xFFC02FD0 /* Mailbox 30 Data Length Code Register */
-#define CAN_MB30_TIMESTAMP 0xFFC02FD4 /* Mailbox 30 Time Stamp Value Register */
-#define CAN_MB30_ID0 0xFFC02FD8 /* Mailbox 30 Identifier Low Register */
-#define CAN_MB30_ID1 0xFFC02FDC /* Mailbox 30 Identifier High Register */
-
-#define CAN_MB31_DATA0 0xFFC02FE0 /* Mailbox 31 Data Word 0 [15:0] Register */
-#define CAN_MB31_DATA1 0xFFC02FE4 /* Mailbox 31 Data Word 1 [31:16] Register */
-#define CAN_MB31_DATA2 0xFFC02FE8 /* Mailbox 31 Data Word 2 [47:32] Register */
-#define CAN_MB31_DATA3 0xFFC02FEC /* Mailbox 31 Data Word 3 [63:48] Register */
-#define CAN_MB31_LENGTH 0xFFC02FF0 /* Mailbox 31 Data Length Code Register */
-#define CAN_MB31_TIMESTAMP 0xFFC02FF4 /* Mailbox 31 Time Stamp Value Register */
-#define CAN_MB31_ID0 0xFFC02FF8 /* Mailbox 31 Identifier Low Register */
-#define CAN_MB31_ID1 0xFFC02FFC /* Mailbox 31 Identifier High Register */
-
-/* CAN Mailbox Area Macros */
-#define CAN_MB_ID1(x) (CAN_MB00_ID1+((x)*0x20))
-#define CAN_MB_ID0(x) (CAN_MB00_ID0+((x)*0x20))
-#define CAN_MB_TIMESTAMP(x) (CAN_MB00_TIMESTAMP+((x)*0x20))
-#define CAN_MB_LENGTH(x) (CAN_MB00_LENGTH+((x)*0x20))
-#define CAN_MB_DATA3(x) (CAN_MB00_DATA3+((x)*0x20))
-#define CAN_MB_DATA2(x) (CAN_MB00_DATA2+((x)*0x20))
-#define CAN_MB_DATA1(x) (CAN_MB00_DATA1+((x)*0x20))
-#define CAN_MB_DATA0(x) (CAN_MB00_DATA0+((x)*0x20))
-
-
-/************************************************************************************
-** System MMR Register Bits And Macros
-*************************************************************************************
-**/
-
-/* ********************* PLL AND RESET MASKS ****************************************/
-
-/* PLL_CTL Masks (IN_DELAY and OUT_DELAY bit field definitions differ from BF533/BF532/BF531) */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-#define IN_DELAY 0x0014 /* EBIU Input Delay Select */
-#define OUT_DELAY 0x00C0 /* EBIU Output Delay Select */
-
-#ifdef _MISRA_RULES
-#define SET_OUT_DELAY(x) (((x)&0x03u) << 0x6)
-#define SET_IN_DELAY(x) ((((x)&0x02u) << 0x3) | (((x)&0x01u) << 0x2))
-#else
-#define SET_OUT_DELAY(x) (((x)&0x03) << 0x6)
-#define SET_IN_DELAY(x) ((((x)&0x02) << 0x3) | (((x)&0x01) << 0x2))
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks (Additional WakeUp Events) */
-#define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */
-#define GPWE 0x0400 /* Enable General-Purpose Wakeup From Hibernate */
-
-
-/* ********************** SYSTEM INTERRUPT CONTROLLER MASKS ********************** */
-/* Peripheral Masks For SIC_ISR0, SIC_IWR0, SIC_IMASK0 */
-#define DMAC0_ERR_IRQ 0x00000002 /* DMA Controller 0 Error Interrupt Request */
-#define SPI0_ERR_IRQ 0x00000020 /* SPI0 Error Interrupt Request */
-#define UART0_ERR_IRQ 0x00000040 /* UART0 Error Interrupt Request */
-#define MDMA0_0_IRQ 0x00200000 /* MemDMA0 Stream 0 Interrupt Request */
-#define MDMA0_1_IRQ 0x00400000 /* MemDMA0 Stream 1 Interrupt Request */
-#define DMAC1_ERR_IRQ 0x01000000 /* DMA Controller 1 Error Interrupt Request */
-#define SPORT2_ERR_IRQ 0x02000000 /* SPORT2 Error Interrupt Request */
-#define SPORT3_ERR_IRQ 0x04000000 /* SPORT3 Error Interrupt Request */
-#define SPI1_ERR_IRQ 0x10000000 /* SPI1 Error Interrupt Request */
-#define SPI2_ERR_IRQ 0x20000000 /* SPI2 Error Interrupt Request */
-#define UART1_ERR_IRQ 0x40000000 /* UART1 Error Interrupt Request */
-#define UART2_ERR_IRQ 0x80000000 /* UART2 Error Interrupt Request */
-
-#define DMA0_ERR_IRQ DMAC0_ERR_IRQ /* legacy */
-#define DMA1_ERR_IRQ DMAC1_ERR_IRQ /* legacy */
-
-/* Peripheral Masks For SIC_ISR1, SIC_IWR1, SIC_IMASK1 */
-#define CAN_ERR_IRQ 0x00000001 /* CAN Error Interrupt Request */
-#define DMA8_IRQ 0x00000002 /* DMA Channel 8 (SPORT2 RX) Interrupt Request */
-#define DMA9_IRQ 0x00000004 /* DMA Channel 9 (SPORT2 TX) Interrupt Request */
-#define DMA10_IRQ 0x00000008 /* DMA Channel 10 (SPORT3 RX) Interrupt Request */
-#define DMA11_IRQ 0x00000010 /* DMA Channel 11 (SPORT3 TX) Interrupt Request */
-#define DMA12_IRQ 0x00000020 /* DMA Channel 12 Interrupt Request */
-#define DMA13_IRQ 0x00000040 /* DMA Channel 13 Interrupt Request */
-#define DMA14_IRQ 0x00000080 /* DMA Channel 14 (SPI1) Interrupt Request */
-#define DMA15_IRQ 0x00000100 /* DMA Channel 15 (SPI2) Interrupt Request */
-#define DMA16_IRQ 0x00000200 /* DMA Channel 16 (UART1 RX) Interrupt Request */
-#define DMA17_IRQ 0x00000400 /* DMA Channel 17 (UART1 TX) Interrupt Request */
-#define DMA18_IRQ 0x00000800 /* DMA Channel 18 (UART2 RX) Interrupt Request */
-#define DMA19_IRQ 0x00001000 /* DMA Channel 19 (UART2 TX) Interrupt Request */
-#define TWI0_IRQ 0x00002000 /* TWI0 Interrupt Request */
-#define TWI1_IRQ 0x00004000 /* TWI1 Interrupt Request */
-#define CAN_RX_IRQ 0x00008000 /* CAN Receive Interrupt Request */
-#define CAN_TX_IRQ 0x00010000 /* CAN Transmit Interrupt Request */
-#define MDMA1_0_IRQ 0x00020000 /* MemDMA1 Stream 0 Interrupt Request */
-#define MDMA1_1_IRQ 0x00040000 /* MemDMA1 Stream 1 Interrupt Request */
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P32_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P40_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR6 Macros */
-#define P48_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #49 assigned IVG #x */
-#define P50_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #50 assigned IVG #x */
-#define P51_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #51 assigned IVG #x */
-#define P52_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #55 assigned IVG #x */
-
-
-/******************* GPIO MASKS *********************/
-/* Port C Masks */
-#define PC0 0x0001
-#define PC1 0x0002
-#define PC4 0x0010
-#define PC5 0x0020
-#define PC6 0x0040
-#define PC7 0x0080
-#define PC8 0x0100
-#define PC9 0x0200
-/* Port C Bit Positions */
-#define PC0_P 0x0
-#define PC1_P 0x1
-#define PC4_P 0x4
-#define PC5_P 0x5
-#define PC6_P 0x6
-#define PC7_P 0x7
-#define PC8_P 0x8
-#define PC9_P 0x9
-
-/* Port D */
-#define PD0 0x0001
-#define PD1 0x0002
-#define PD2 0x0004
-#define PD3 0x0008
-#define PD4 0x0010
-#define PD5 0x0020
-#define PD6 0x0040
-#define PD7 0x0080
-#define PD8 0x0100
-#define PD9 0x0200
-#define PD10 0x0400
-#define PD11 0x0800
-#define PD12 0x1000
-#define PD13 0x2000
-#define PD14 0x4000
-#define PD15 0x8000
-/* Port D Bit Positions */
-#define PD0_P 0x0
-#define PD1_P 0x1
-#define PD2_P 0x2
-#define PD3_P 0x3
-#define PD4_P 0x4
-#define PD5_P 0x5
-#define PD6_P 0x6
-#define PD7_P 0x7
-#define PD8_P 0x8
-#define PD9_P 0x9
-#define PD10_P 0xA
-#define PD11_P 0xB
-#define PD12_P 0xC
-#define PD13_P 0xD
-#define PD14_P 0xE
-#define PD15_P 0xF
-
-/* Port E */
-#define PE0 0x0001
-#define PE1 0x0002
-#define PE2 0x0004
-#define PE3 0x0008
-#define PE4 0x0010
-#define PE5 0x0020
-#define PE6 0x0040
-#define PE7 0x0080
-#define PE8 0x0100
-#define PE9 0x0200
-#define PE10 0x0400
-#define PE11 0x0800
-#define PE12 0x1000
-#define PE13 0x2000
-#define PE14 0x4000
-#define PE15 0x8000
-/* Port E Bit Positions */
-#define PE0_P 0x0
-#define PE1_P 0x1
-#define PE2_P 0x2
-#define PE3_P 0x3
-#define PE4_P 0x4
-#define PE5_P 0x5
-#define PE6_P 0x6
-#define PE7_P 0x7
-#define PE8_P 0x8
-#define PE9_P 0x9
-#define PE10_P 0xA
-#define PE11_P 0xB
-#define PE12_P 0xC
-#define PE13_P 0xD
-#define PE14_P 0xE
-#define PE15_P 0xF
-
-
-/* **************** DMA CONTROLLER 0 (DMAC0) MASKS ***************************/
-/* PMAP Encodings For DMA Controller 0 */
-#define PMAP_SPI0 PMAP_SPI /* PMAP SPI0 DMA */
-#define PMAP_UART0RX PMAP_UARTRX /* PMAP UART0 Receive DMA */
-#define PMAP_UART0TX PMAP_UARTTX /* PMAP UART0 Transmit DMA */
-
-/* **************** DMA CONTROLLER 1 (DMAC1) MASKS ***************************/
-/* PMAP Encodings For DMA Controller 1 */
-#define PMAP_SPORT2RX 0x0000 /* PMAP SPORT2 Receive DMA */
-#define PMAP_SPORT2TX 0x1000 /* PMAP SPORT2 Transmit DMA */
-#define PMAP_SPORT3RX 0x2000 /* PMAP SPORT3 Receive DMA */
-#define PMAP_SPORT3TX 0x3000 /* PMAP SPORT3 Transmit DMA */
-#define PMAP_SPI1 0x6000 /* PMAP SPI1 DMA */
-#define PMAP_SPI2 0x7000 /* PMAP SPI2 DMA */
-#define PMAP_UART1RX 0x8000 /* PMAP UART1 Receive DMA */
-#define PMAP_UART1TX 0x9000 /* PMAP UART1 Transmit DMA */
-#define PMAP_UART2RX 0xA000 /* PMAP UART2 Receive DMA */
-#define PMAP_UART2TX 0xB000 /* PMAP UART2 Transmit DMA */
-
-/* EBIU_SDBCTL Masks */
-#define EBSZ 0x0006 /* SDRAM external bank size */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-
-/* EBIU_SDGCTL Masks */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-
-/* ******************** TWO-WIRE INTERFACE (TWIx) MASKS ***********************/
-/* TWIx_CLKDIV Macros (Use: *pTWIx_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8) /* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWIx_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWIx_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWIx_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWIx_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWIx_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWIx_INT_SRC and TWIx_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWIx_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWIx_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/
-/* CAN_CONTROL Masks */
-#define SRS 0x0001 /* Software Reset */
-#define DNM 0x0002 /* Device Net Mode */
-#define ABO 0x0004 /* Auto-Bus On Enable */
-#define WBA 0x0010 /* Wake-Up On CAN Bus Activity Enable */
-#define SMR 0x0020 /* Sleep Mode Request */
-#define CSR 0x0040 /* CAN Suspend Mode Request */
-#define CCR 0x0080 /* CAN Configuration Mode Request */
-
-/* CAN_STATUS Masks */
-#define WT 0x0001 /* TX Warning Flag */
-#define WR 0x0002 /* RX Warning Flag */
-#define EP 0x0004 /* Error Passive Mode */
-#define EBO 0x0008 /* Error Bus Off Mode */
-#define CSA 0x0040 /* Suspend Mode Acknowledge */
-#define CCA 0x0080 /* Configuration Mode Acknowledge */
-#define MBPTR 0x1F00 /* Mailbox Pointer */
-#define TRM 0x4000 /* Transmit Mode */
-#define REC 0x8000 /* Receive Mode */
-
-/* CAN_CLOCK Masks */
-#define BRP 0x03FF /* Bit-Rate Pre-Scaler */
-
-/* CAN_TIMING Masks */
-#define TSEG1 0x000F /* Time Segment 1 */
-#define TSEG2 0x0070 /* Time Segment 2 */
-#define SAM 0x0080 /* Sampling */
-#define SJW 0x0300 /* Synchronization Jump Width */
-
-/* CAN_DEBUG Masks */
-#define DEC 0x0001 /* Disable CAN Error Counters */
-#define DRI 0x0002 /* Disable CAN RX Input */
-#define DTO 0x0004 /* Disable CAN TX Output */
-#define DIL 0x0008 /* Disable CAN Internal Loop */
-#define MAA 0x0010 /* Mode Auto-Acknowledge Enable */
-#define MRB 0x0020 /* Mode Read Back Enable */
-#define CDE 0x8000 /* CAN Debug Enable */
-
-/* CAN_CEC Masks */
-#define RXECNT 0x00FF /* Receive Error Counter */
-#define TXECNT 0xFF00 /* Transmit Error Counter */
-
-/* CAN_INTR Masks */
-#define MBRIRQ 0x0001 /* Mailbox Receive Interrupt */
-#define MBRIF MBRIRQ /* legacy */
-#define MBTIRQ 0x0002 /* Mailbox Transmit Interrupt */
-#define MBTIF MBTIRQ /* legacy */
-#define GIRQ 0x0004 /* Global Interrupt */
-#define SMACK 0x0008 /* Sleep Mode Acknowledge */
-#define CANTX 0x0040 /* CAN TX Bus Value */
-#define CANRX 0x0080 /* CAN RX Bus Value */
-
-/* CAN_MBxx_ID1 and CAN_MBxx_ID0 Masks */
-#define DFC 0xFFFF /* Data Filtering Code (If Enabled) (ID0) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (ID0) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (ID1) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define IDE 0x2000 /* Identifier Extension */
-#define RTR 0x4000 /* Remote Frame Transmission Request */
-#define AME 0x8000 /* Acceptance Mask Enable */
-
-/* CAN_MBxx_TIMESTAMP Masks */
-#define TSV 0xFFFF /* Timestamp */
-
-/* CAN_MBxx_LENGTH Masks */
-#define DLC 0x000F /* Data Length Code */
-
-/* CAN_AMxxH and CAN_AMxxL Masks */
-#define DFM 0xFFFF /* Data Field Mask (If Enabled) (CAN_AMxxL) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (CAN_AMxxL) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (CAN_AMxxH) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define AMIDE 0x2000 /* Acceptance Mask ID Extension Enable */
-#define FMD 0x4000 /* Full Mask Data Field Enable */
-#define FDF 0x8000 /* Filter On Data Field Enable */
-
-/* CAN_MC1 Masks */
-#define MC0 0x0001 /* Enable Mailbox 0 */
-#define MC1 0x0002 /* Enable Mailbox 1 */
-#define MC2 0x0004 /* Enable Mailbox 2 */
-#define MC3 0x0008 /* Enable Mailbox 3 */
-#define MC4 0x0010 /* Enable Mailbox 4 */
-#define MC5 0x0020 /* Enable Mailbox 5 */
-#define MC6 0x0040 /* Enable Mailbox 6 */
-#define MC7 0x0080 /* Enable Mailbox 7 */
-#define MC8 0x0100 /* Enable Mailbox 8 */
-#define MC9 0x0200 /* Enable Mailbox 9 */
-#define MC10 0x0400 /* Enable Mailbox 10 */
-#define MC11 0x0800 /* Enable Mailbox 11 */
-#define MC12 0x1000 /* Enable Mailbox 12 */
-#define MC13 0x2000 /* Enable Mailbox 13 */
-#define MC14 0x4000 /* Enable Mailbox 14 */
-#define MC15 0x8000 /* Enable Mailbox 15 */
-
-/* CAN_MC2 Masks */
-#define MC16 0x0001 /* Enable Mailbox 16 */
-#define MC17 0x0002 /* Enable Mailbox 17 */
-#define MC18 0x0004 /* Enable Mailbox 18 */
-#define MC19 0x0008 /* Enable Mailbox 19 */
-#define MC20 0x0010 /* Enable Mailbox 20 */
-#define MC21 0x0020 /* Enable Mailbox 21 */
-#define MC22 0x0040 /* Enable Mailbox 22 */
-#define MC23 0x0080 /* Enable Mailbox 23 */
-#define MC24 0x0100 /* Enable Mailbox 24 */
-#define MC25 0x0200 /* Enable Mailbox 25 */
-#define MC26 0x0400 /* Enable Mailbox 26 */
-#define MC27 0x0800 /* Enable Mailbox 27 */
-#define MC28 0x1000 /* Enable Mailbox 28 */
-#define MC29 0x2000 /* Enable Mailbox 29 */
-#define MC30 0x4000 /* Enable Mailbox 30 */
-#define MC31 0x8000 /* Enable Mailbox 31 */
-
-/* CAN_MD1 Masks */
-#define MD0 0x0001 /* Enable Mailbox 0 For Receive */
-#define MD1 0x0002 /* Enable Mailbox 1 For Receive */
-#define MD2 0x0004 /* Enable Mailbox 2 For Receive */
-#define MD3 0x0008 /* Enable Mailbox 3 For Receive */
-#define MD4 0x0010 /* Enable Mailbox 4 For Receive */
-#define MD5 0x0020 /* Enable Mailbox 5 For Receive */
-#define MD6 0x0040 /* Enable Mailbox 6 For Receive */
-#define MD7 0x0080 /* Enable Mailbox 7 For Receive */
-#define MD8 0x0100 /* Enable Mailbox 8 For Receive */
-#define MD9 0x0200 /* Enable Mailbox 9 For Receive */
-#define MD10 0x0400 /* Enable Mailbox 10 For Receive */
-#define MD11 0x0800 /* Enable Mailbox 11 For Receive */
-#define MD12 0x1000 /* Enable Mailbox 12 For Receive */
-#define MD13 0x2000 /* Enable Mailbox 13 For Receive */
-#define MD14 0x4000 /* Enable Mailbox 14 For Receive */
-#define MD15 0x8000 /* Enable Mailbox 15 For Receive */
-
-/* CAN_MD2 Masks */
-#define MD16 0x0001 /* Enable Mailbox 16 For Receive */
-#define MD17 0x0002 /* Enable Mailbox 17 For Receive */
-#define MD18 0x0004 /* Enable Mailbox 18 For Receive */
-#define MD19 0x0008 /* Enable Mailbox 19 For Receive */
-#define MD20 0x0010 /* Enable Mailbox 20 For Receive */
-#define MD21 0x0020 /* Enable Mailbox 21 For Receive */
-#define MD22 0x0040 /* Enable Mailbox 22 For Receive */
-#define MD23 0x0080 /* Enable Mailbox 23 For Receive */
-#define MD24 0x0100 /* Enable Mailbox 24 For Receive */
-#define MD25 0x0200 /* Enable Mailbox 25 For Receive */
-#define MD26 0x0400 /* Enable Mailbox 26 For Receive */
-#define MD27 0x0800 /* Enable Mailbox 27 For Receive */
-#define MD28 0x1000 /* Enable Mailbox 28 For Receive */
-#define MD29 0x2000 /* Enable Mailbox 29 For Receive */
-#define MD30 0x4000 /* Enable Mailbox 30 For Receive */
-#define MD31 0x8000 /* Enable Mailbox 31 For Receive */
-
-/* CAN_RMP1 Masks */
-#define RMP0 0x0001 /* RX Message Pending In Mailbox 0 */
-#define RMP1 0x0002 /* RX Message Pending In Mailbox 1 */
-#define RMP2 0x0004 /* RX Message Pending In Mailbox 2 */
-#define RMP3 0x0008 /* RX Message Pending In Mailbox 3 */
-#define RMP4 0x0010 /* RX Message Pending In Mailbox 4 */
-#define RMP5 0x0020 /* RX Message Pending In Mailbox 5 */
-#define RMP6 0x0040 /* RX Message Pending In Mailbox 6 */
-#define RMP7 0x0080 /* RX Message Pending In Mailbox 7 */
-#define RMP8 0x0100 /* RX Message Pending In Mailbox 8 */
-#define RMP9 0x0200 /* RX Message Pending In Mailbox 9 */
-#define RMP10 0x0400 /* RX Message Pending In Mailbox 10 */
-#define RMP11 0x0800 /* RX Message Pending In Mailbox 11 */
-#define RMP12 0x1000 /* RX Message Pending In Mailbox 12 */
-#define RMP13 0x2000 /* RX Message Pending In Mailbox 13 */
-#define RMP14 0x4000 /* RX Message Pending In Mailbox 14 */
-#define RMP15 0x8000 /* RX Message Pending In Mailbox 15 */
-
-/* CAN_RMP2 Masks */
-#define RMP16 0x0001 /* RX Message Pending In Mailbox 16 */
-#define RMP17 0x0002 /* RX Message Pending In Mailbox 17 */
-#define RMP18 0x0004 /* RX Message Pending In Mailbox 18 */
-#define RMP19 0x0008 /* RX Message Pending In Mailbox 19 */
-#define RMP20 0x0010 /* RX Message Pending In Mailbox 20 */
-#define RMP21 0x0020 /* RX Message Pending In Mailbox 21 */
-#define RMP22 0x0040 /* RX Message Pending In Mailbox 22 */
-#define RMP23 0x0080 /* RX Message Pending In Mailbox 23 */
-#define RMP24 0x0100 /* RX Message Pending In Mailbox 24 */
-#define RMP25 0x0200 /* RX Message Pending In Mailbox 25 */
-#define RMP26 0x0400 /* RX Message Pending In Mailbox 26 */
-#define RMP27 0x0800 /* RX Message Pending In Mailbox 27 */
-#define RMP28 0x1000 /* RX Message Pending In Mailbox 28 */
-#define RMP29 0x2000 /* RX Message Pending In Mailbox 29 */
-#define RMP30 0x4000 /* RX Message Pending In Mailbox 30 */
-#define RMP31 0x8000 /* RX Message Pending In Mailbox 31 */
-
-/* CAN_RML1 Masks */
-#define RML0 0x0001 /* RX Message Lost In Mailbox 0 */
-#define RML1 0x0002 /* RX Message Lost In Mailbox 1 */
-#define RML2 0x0004 /* RX Message Lost In Mailbox 2 */
-#define RML3 0x0008 /* RX Message Lost In Mailbox 3 */
-#define RML4 0x0010 /* RX Message Lost In Mailbox 4 */
-#define RML5 0x0020 /* RX Message Lost In Mailbox 5 */
-#define RML6 0x0040 /* RX Message Lost In Mailbox 6 */
-#define RML7 0x0080 /* RX Message Lost In Mailbox 7 */
-#define RML8 0x0100 /* RX Message Lost In Mailbox 8 */
-#define RML9 0x0200 /* RX Message Lost In Mailbox 9 */
-#define RML10 0x0400 /* RX Message Lost In Mailbox 10 */
-#define RML11 0x0800 /* RX Message Lost In Mailbox 11 */
-#define RML12 0x1000 /* RX Message Lost In Mailbox 12 */
-#define RML13 0x2000 /* RX Message Lost In Mailbox 13 */
-#define RML14 0x4000 /* RX Message Lost In Mailbox 14 */
-#define RML15 0x8000 /* RX Message Lost In Mailbox 15 */
-
-/* CAN_RML2 Masks */
-#define RML16 0x0001 /* RX Message Lost In Mailbox 16 */
-#define RML17 0x0002 /* RX Message Lost In Mailbox 17 */
-#define RML18 0x0004 /* RX Message Lost In Mailbox 18 */
-#define RML19 0x0008 /* RX Message Lost In Mailbox 19 */
-#define RML20 0x0010 /* RX Message Lost In Mailbox 20 */
-#define RML21 0x0020 /* RX Message Lost In Mailbox 21 */
-#define RML22 0x0040 /* RX Message Lost In Mailbox 22 */
-#define RML23 0x0080 /* RX Message Lost In Mailbox 23 */
-#define RML24 0x0100 /* RX Message Lost In Mailbox 24 */
-#define RML25 0x0200 /* RX Message Lost In Mailbox 25 */
-#define RML26 0x0400 /* RX Message Lost In Mailbox 26 */
-#define RML27 0x0800 /* RX Message Lost In Mailbox 27 */
-#define RML28 0x1000 /* RX Message Lost In Mailbox 28 */
-#define RML29 0x2000 /* RX Message Lost In Mailbox 29 */
-#define RML30 0x4000 /* RX Message Lost In Mailbox 30 */
-#define RML31 0x8000 /* RX Message Lost In Mailbox 31 */
-
-/* CAN_OPSS1 Masks */
-#define OPSS0 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 0 */
-#define OPSS1 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 1 */
-#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
-#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
-#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
-#define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */
-#define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */
-#define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */
-#define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */
-#define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */
-#define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */
-#define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */
-#define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */
-#define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */
-#define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */
-#define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */
-
-/* CAN_OPSS2 Masks */
-#define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */
-#define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */
-#define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */
-#define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */
-#define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */
-#define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */
-#define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */
-#define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */
-#define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */
-#define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */
-#define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */
-#define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */
-#define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */
-#define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */
-#define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */
-#define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */
-
-/* CAN_TRR1 Masks */
-#define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */
-#define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */
-#define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */
-#define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */
-#define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */
-#define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */
-#define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */
-#define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */
-#define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */
-#define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */
-#define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */
-#define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */
-#define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */
-#define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */
-#define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */
-#define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */
-
-/* CAN_TRR2 Masks */
-#define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */
-#define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */
-#define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */
-#define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */
-#define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */
-#define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */
-#define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */
-#define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */
-#define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */
-#define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */
-#define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */
-#define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */
-#define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */
-#define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */
-#define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */
-#define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */
-
-/* CAN_TRS1 Masks */
-#define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */
-#define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */
-#define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */
-#define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */
-#define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */
-#define TRS5 0x0020 /* Remote Frame Request For Mailbox 5 */
-#define TRS6 0x0040 /* Remote Frame Request For Mailbox 6 */
-#define TRS7 0x0080 /* Remote Frame Request For Mailbox 7 */
-#define TRS8 0x0100 /* Remote Frame Request For Mailbox 8 */
-#define TRS9 0x0200 /* Remote Frame Request For Mailbox 9 */
-#define TRS10 0x0400 /* Remote Frame Request For Mailbox 10 */
-#define TRS11 0x0800 /* Remote Frame Request For Mailbox 11 */
-#define TRS12 0x1000 /* Remote Frame Request For Mailbox 12 */
-#define TRS13 0x2000 /* Remote Frame Request For Mailbox 13 */
-#define TRS14 0x4000 /* Remote Frame Request For Mailbox 14 */
-#define TRS15 0x8000 /* Remote Frame Request For Mailbox 15 */
-
-/* CAN_TRS2 Masks */
-#define TRS16 0x0001 /* Remote Frame Request For Mailbox 16 */
-#define TRS17 0x0002 /* Remote Frame Request For Mailbox 17 */
-#define TRS18 0x0004 /* Remote Frame Request For Mailbox 18 */
-#define TRS19 0x0008 /* Remote Frame Request For Mailbox 19 */
-#define TRS20 0x0010 /* Remote Frame Request For Mailbox 20 */
-#define TRS21 0x0020 /* Remote Frame Request For Mailbox 21 */
-#define TRS22 0x0040 /* Remote Frame Request For Mailbox 22 */
-#define TRS23 0x0080 /* Remote Frame Request For Mailbox 23 */
-#define TRS24 0x0100 /* Remote Frame Request For Mailbox 24 */
-#define TRS25 0x0200 /* Remote Frame Request For Mailbox 25 */
-#define TRS26 0x0400 /* Remote Frame Request For Mailbox 26 */
-#define TRS27 0x0800 /* Remote Frame Request For Mailbox 27 */
-#define TRS28 0x1000 /* Remote Frame Request For Mailbox 28 */
-#define TRS29 0x2000 /* Remote Frame Request For Mailbox 29 */
-#define TRS30 0x4000 /* Remote Frame Request For Mailbox 30 */
-#define TRS31 0x8000 /* Remote Frame Request For Mailbox 31 */
-
-/* CAN_AA1 Masks */
-#define AA0 0x0001 /* Aborted Message In Mailbox 0 */
-#define AA1 0x0002 /* Aborted Message In Mailbox 1 */
-#define AA2 0x0004 /* Aborted Message In Mailbox 2 */
-#define AA3 0x0008 /* Aborted Message In Mailbox 3 */
-#define AA4 0x0010 /* Aborted Message In Mailbox 4 */
-#define AA5 0x0020 /* Aborted Message In Mailbox 5 */
-#define AA6 0x0040 /* Aborted Message In Mailbox 6 */
-#define AA7 0x0080 /* Aborted Message In Mailbox 7 */
-#define AA8 0x0100 /* Aborted Message In Mailbox 8 */
-#define AA9 0x0200 /* Aborted Message In Mailbox 9 */
-#define AA10 0x0400 /* Aborted Message In Mailbox 10 */
-#define AA11 0x0800 /* Aborted Message In Mailbox 11 */
-#define AA12 0x1000 /* Aborted Message In Mailbox 12 */
-#define AA13 0x2000 /* Aborted Message In Mailbox 13 */
-#define AA14 0x4000 /* Aborted Message In Mailbox 14 */
-#define AA15 0x8000 /* Aborted Message In Mailbox 15 */
-
-/* CAN_AA2 Masks */
-#define AA16 0x0001 /* Aborted Message In Mailbox 16 */
-#define AA17 0x0002 /* Aborted Message In Mailbox 17 */
-#define AA18 0x0004 /* Aborted Message In Mailbox 18 */
-#define AA19 0x0008 /* Aborted Message In Mailbox 19 */
-#define AA20 0x0010 /* Aborted Message In Mailbox 20 */
-#define AA21 0x0020 /* Aborted Message In Mailbox 21 */
-#define AA22 0x0040 /* Aborted Message In Mailbox 22 */
-#define AA23 0x0080 /* Aborted Message In Mailbox 23 */
-#define AA24 0x0100 /* Aborted Message In Mailbox 24 */
-#define AA25 0x0200 /* Aborted Message In Mailbox 25 */
-#define AA26 0x0400 /* Aborted Message In Mailbox 26 */
-#define AA27 0x0800 /* Aborted Message In Mailbox 27 */
-#define AA28 0x1000 /* Aborted Message In Mailbox 28 */
-#define AA29 0x2000 /* Aborted Message In Mailbox 29 */
-#define AA30 0x4000 /* Aborted Message In Mailbox 30 */
-#define AA31 0x8000 /* Aborted Message In Mailbox 31 */
-
-/* CAN_TA1 Masks */
-#define TA0 0x0001 /* Transmit Successful From Mailbox 0 */
-#define TA1 0x0002 /* Transmit Successful From Mailbox 1 */
-#define TA2 0x0004 /* Transmit Successful From Mailbox 2 */
-#define TA3 0x0008 /* Transmit Successful From Mailbox 3 */
-#define TA4 0x0010 /* Transmit Successful From Mailbox 4 */
-#define TA5 0x0020 /* Transmit Successful From Mailbox 5 */
-#define TA6 0x0040 /* Transmit Successful From Mailbox 6 */
-#define TA7 0x0080 /* Transmit Successful From Mailbox 7 */
-#define TA8 0x0100 /* Transmit Successful From Mailbox 8 */
-#define TA9 0x0200 /* Transmit Successful From Mailbox 9 */
-#define TA10 0x0400 /* Transmit Successful From Mailbox 10 */
-#define TA11 0x0800 /* Transmit Successful From Mailbox 11 */
-#define TA12 0x1000 /* Transmit Successful From Mailbox 12 */
-#define TA13 0x2000 /* Transmit Successful From Mailbox 13 */
-#define TA14 0x4000 /* Transmit Successful From Mailbox 14 */
-#define TA15 0x8000 /* Transmit Successful From Mailbox 15 */
-
-/* CAN_TA2 Masks */
-#define TA16 0x0001 /* Transmit Successful From Mailbox 16 */
-#define TA17 0x0002 /* Transmit Successful From Mailbox 17 */
-#define TA18 0x0004 /* Transmit Successful From Mailbox 18 */
-#define TA19 0x0008 /* Transmit Successful From Mailbox 19 */
-#define TA20 0x0010 /* Transmit Successful From Mailbox 20 */
-#define TA21 0x0020 /* Transmit Successful From Mailbox 21 */
-#define TA22 0x0040 /* Transmit Successful From Mailbox 22 */
-#define TA23 0x0080 /* Transmit Successful From Mailbox 23 */
-#define TA24 0x0100 /* Transmit Successful From Mailbox 24 */
-#define TA25 0x0200 /* Transmit Successful From Mailbox 25 */
-#define TA26 0x0400 /* Transmit Successful From Mailbox 26 */
-#define TA27 0x0800 /* Transmit Successful From Mailbox 27 */
-#define TA28 0x1000 /* Transmit Successful From Mailbox 28 */
-#define TA29 0x2000 /* Transmit Successful From Mailbox 29 */
-#define TA30 0x4000 /* Transmit Successful From Mailbox 30 */
-#define TA31 0x8000 /* Transmit Successful From Mailbox 31 */
-
-/* CAN_MBTD Masks */
-#define TDPTR 0x001F /* Mailbox To Temporarily Disable */
-#define TDA 0x0040 /* Temporary Disable Acknowledge */
-#define TDR 0x0080 /* Temporary Disable Request */
-
-/* CAN_RFH1 Masks */
-#define RFH0 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 0 */
-#define RFH1 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 1 */
-#define RFH2 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 2 */
-#define RFH3 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 3 */
-#define RFH4 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 4 */
-#define RFH5 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 5 */
-#define RFH6 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 6 */
-#define RFH7 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 7 */
-#define RFH8 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 8 */
-#define RFH9 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 9 */
-#define RFH10 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 10 */
-#define RFH11 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 11 */
-#define RFH12 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 12 */
-#define RFH13 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 13 */
-#define RFH14 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 14 */
-#define RFH15 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 15 */
-
-/* CAN_RFH2 Masks */
-#define RFH16 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 16 */
-#define RFH17 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 17 */
-#define RFH18 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 18 */
-#define RFH19 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 19 */
-#define RFH20 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 20 */
-#define RFH21 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 21 */
-#define RFH22 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 22 */
-#define RFH23 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 23 */
-#define RFH24 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 24 */
-#define RFH25 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 25 */
-#define RFH26 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 26 */
-#define RFH27 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 27 */
-#define RFH28 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 28 */
-#define RFH29 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 29 */
-#define RFH30 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 30 */
-#define RFH31 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 31 */
-
-/* CAN_MBTIF1 Masks */
-#define MBTIF0 0x0001 /* TX Interrupt Active In Mailbox 0 */
-#define MBTIF1 0x0002 /* TX Interrupt Active In Mailbox 1 */
-#define MBTIF2 0x0004 /* TX Interrupt Active In Mailbox 2 */
-#define MBTIF3 0x0008 /* TX Interrupt Active In Mailbox 3 */
-#define MBTIF4 0x0010 /* TX Interrupt Active In Mailbox 4 */
-#define MBTIF5 0x0020 /* TX Interrupt Active In Mailbox 5 */
-#define MBTIF6 0x0040 /* TX Interrupt Active In Mailbox 6 */
-#define MBTIF7 0x0080 /* TX Interrupt Active In Mailbox 7 */
-#define MBTIF8 0x0100 /* TX Interrupt Active In Mailbox 8 */
-#define MBTIF9 0x0200 /* TX Interrupt Active In Mailbox 9 */
-#define MBTIF10 0x0400 /* TX Interrupt Active In Mailbox 10 */
-#define MBTIF11 0x0800 /* TX Interrupt Active In Mailbox 11 */
-#define MBTIF12 0x1000 /* TX Interrupt Active In Mailbox 12 */
-#define MBTIF13 0x2000 /* TX Interrupt Active In Mailbox 13 */
-#define MBTIF14 0x4000 /* TX Interrupt Active In Mailbox 14 */
-#define MBTIF15 0x8000 /* TX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBTIF2 Masks */
-#define MBTIF16 0x0001 /* TX Interrupt Active In Mailbox 16 */
-#define MBTIF17 0x0002 /* TX Interrupt Active In Mailbox 17 */
-#define MBTIF18 0x0004 /* TX Interrupt Active In Mailbox 18 */
-#define MBTIF19 0x0008 /* TX Interrupt Active In Mailbox 19 */
-#define MBTIF20 0x0010 /* TX Interrupt Active In Mailbox 20 */
-#define MBTIF21 0x0020 /* TX Interrupt Active In Mailbox 21 */
-#define MBTIF22 0x0040 /* TX Interrupt Active In Mailbox 22 */
-#define MBTIF23 0x0080 /* TX Interrupt Active In Mailbox 23 */
-#define MBTIF24 0x0100 /* TX Interrupt Active In Mailbox 24 */
-#define MBTIF25 0x0200 /* TX Interrupt Active In Mailbox 25 */
-#define MBTIF26 0x0400 /* TX Interrupt Active In Mailbox 26 */
-#define MBTIF27 0x0800 /* TX Interrupt Active In Mailbox 27 */
-#define MBTIF28 0x1000 /* TX Interrupt Active In Mailbox 28 */
-#define MBTIF29 0x2000 /* TX Interrupt Active In Mailbox 29 */
-#define MBTIF30 0x4000 /* TX Interrupt Active In Mailbox 30 */
-#define MBTIF31 0x8000 /* TX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBRIF1 Masks */
-#define MBRIF0 0x0001 /* RX Interrupt Active In Mailbox 0 */
-#define MBRIF1 0x0002 /* RX Interrupt Active In Mailbox 1 */
-#define MBRIF2 0x0004 /* RX Interrupt Active In Mailbox 2 */
-#define MBRIF3 0x0008 /* RX Interrupt Active In Mailbox 3 */
-#define MBRIF4 0x0010 /* RX Interrupt Active In Mailbox 4 */
-#define MBRIF5 0x0020 /* RX Interrupt Active In Mailbox 5 */
-#define MBRIF6 0x0040 /* RX Interrupt Active In Mailbox 6 */
-#define MBRIF7 0x0080 /* RX Interrupt Active In Mailbox 7 */
-#define MBRIF8 0x0100 /* RX Interrupt Active In Mailbox 8 */
-#define MBRIF9 0x0200 /* RX Interrupt Active In Mailbox 9 */
-#define MBRIF10 0x0400 /* RX Interrupt Active In Mailbox 10 */
-#define MBRIF11 0x0800 /* RX Interrupt Active In Mailbox 11 */
-#define MBRIF12 0x1000 /* RX Interrupt Active In Mailbox 12 */
-#define MBRIF13 0x2000 /* RX Interrupt Active In Mailbox 13 */
-#define MBRIF14 0x4000 /* RX Interrupt Active In Mailbox 14 */
-#define MBRIF15 0x8000 /* RX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBRIF2 Masks */
-#define MBRIF16 0x0001 /* RX Interrupt Active In Mailbox 16 */
-#define MBRIF17 0x0002 /* RX Interrupt Active In Mailbox 17 */
-#define MBRIF18 0x0004 /* RX Interrupt Active In Mailbox 18 */
-#define MBRIF19 0x0008 /* RX Interrupt Active In Mailbox 19 */
-#define MBRIF20 0x0010 /* RX Interrupt Active In Mailbox 20 */
-#define MBRIF21 0x0020 /* RX Interrupt Active In Mailbox 21 */
-#define MBRIF22 0x0040 /* RX Interrupt Active In Mailbox 22 */
-#define MBRIF23 0x0080 /* RX Interrupt Active In Mailbox 23 */
-#define MBRIF24 0x0100 /* RX Interrupt Active In Mailbox 24 */
-#define MBRIF25 0x0200 /* RX Interrupt Active In Mailbox 25 */
-#define MBRIF26 0x0400 /* RX Interrupt Active In Mailbox 26 */
-#define MBRIF27 0x0800 /* RX Interrupt Active In Mailbox 27 */
-#define MBRIF28 0x1000 /* RX Interrupt Active In Mailbox 28 */
-#define MBRIF29 0x2000 /* RX Interrupt Active In Mailbox 29 */
-#define MBRIF30 0x4000 /* RX Interrupt Active In Mailbox 30 */
-#define MBRIF31 0x8000 /* RX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBIM1 Masks */
-#define MBIM0 0x0001 /* Enable Interrupt For Mailbox 0 */
-#define MBIM1 0x0002 /* Enable Interrupt For Mailbox 1 */
-#define MBIM2 0x0004 /* Enable Interrupt For Mailbox 2 */
-#define MBIM3 0x0008 /* Enable Interrupt For Mailbox 3 */
-#define MBIM4 0x0010 /* Enable Interrupt For Mailbox 4 */
-#define MBIM5 0x0020 /* Enable Interrupt For Mailbox 5 */
-#define MBIM6 0x0040 /* Enable Interrupt For Mailbox 6 */
-#define MBIM7 0x0080 /* Enable Interrupt For Mailbox 7 */
-#define MBIM8 0x0100 /* Enable Interrupt For Mailbox 8 */
-#define MBIM9 0x0200 /* Enable Interrupt For Mailbox 9 */
-#define MBIM10 0x0400 /* Enable Interrupt For Mailbox 10 */
-#define MBIM11 0x0800 /* Enable Interrupt For Mailbox 11 */
-#define MBIM12 0x1000 /* Enable Interrupt For Mailbox 12 */
-#define MBIM13 0x2000 /* Enable Interrupt For Mailbox 13 */
-#define MBIM14 0x4000 /* Enable Interrupt For Mailbox 14 */
-#define MBIM15 0x8000 /* Enable Interrupt For Mailbox 15 */
-
-/* CAN_MBIM2 Masks */
-#define MBIM16 0x0001 /* Enable Interrupt For Mailbox 16 */
-#define MBIM17 0x0002 /* Enable Interrupt For Mailbox 17 */
-#define MBIM18 0x0004 /* Enable Interrupt For Mailbox 18 */
-#define MBIM19 0x0008 /* Enable Interrupt For Mailbox 19 */
-#define MBIM20 0x0010 /* Enable Interrupt For Mailbox 20 */
-#define MBIM21 0x0020 /* Enable Interrupt For Mailbox 21 */
-#define MBIM22 0x0040 /* Enable Interrupt For Mailbox 22 */
-#define MBIM23 0x0080 /* Enable Interrupt For Mailbox 23 */
-#define MBIM24 0x0100 /* Enable Interrupt For Mailbox 24 */
-#define MBIM25 0x0200 /* Enable Interrupt For Mailbox 25 */
-#define MBIM26 0x0400 /* Enable Interrupt For Mailbox 26 */
-#define MBIM27 0x0800 /* Enable Interrupt For Mailbox 27 */
-#define MBIM28 0x1000 /* Enable Interrupt For Mailbox 28 */
-#define MBIM29 0x2000 /* Enable Interrupt For Mailbox 29 */
-#define MBIM30 0x4000 /* Enable Interrupt For Mailbox 30 */
-#define MBIM31 0x8000 /* Enable Interrupt For Mailbox 31 */
-
-/* CAN_GIM Masks */
-#define EWTIM 0x0001 /* Enable TX Error Count Interrupt */
-#define EWRIM 0x0002 /* Enable RX Error Count Interrupt */
-#define EPIM 0x0004 /* Enable Error-Passive Mode Interrupt */
-#define BOIM 0x0008 /* Enable Bus Off Interrupt */
-#define WUIM 0x0010 /* Enable Wake-Up Interrupt */
-#define UIAIM 0x0020 /* Enable Access To Unimplemented Address Interrupt */
-#define AAIM 0x0040 /* Enable Abort Acknowledge Interrupt */
-#define RMLIM 0x0080 /* Enable RX Message Lost Interrupt */
-#define UCEIM 0x0100 /* Enable Universal Counter Overflow Interrupt */
-#define EXTIM 0x0200 /* Enable External Trigger Output Interrupt */
-#define ADIM 0x0400 /* Enable Access Denied Interrupt */
-
-/* CAN_GIS Masks */
-#define EWTIS 0x0001 /* TX Error Count IRQ Status */
-#define EWRIS 0x0002 /* RX Error Count IRQ Status */
-#define EPIS 0x0004 /* Error-Passive Mode IRQ Status */
-#define BOIS 0x0008 /* Bus Off IRQ Status */
-#define WUIS 0x0010 /* Wake-Up IRQ Status */
-#define UIAIS 0x0020 /* Access To Unimplemented Address IRQ Status */
-#define AAIS 0x0040 /* Abort Acknowledge IRQ Status */
-#define RMLIS 0x0080 /* RX Message Lost IRQ Status */
-#define UCEIS 0x0100 /* Universal Counter Overflow IRQ Status */
-#define EXTIS 0x0200 /* External Trigger Output IRQ Status */
-#define ADIS 0x0400 /* Access Denied IRQ Status */
-
-/* CAN_GIF Masks */
-#define EWTIF 0x0001 /* TX Error Count IRQ Flag */
-#define EWRIF 0x0002 /* RX Error Count IRQ Flag */
-#define EPIF 0x0004 /* Error-Passive Mode IRQ Flag */
-#define BOIF 0x0008 /* Bus Off IRQ Flag */
-#define WUIF 0x0010 /* Wake-Up IRQ Flag */
-#define UIAIF 0x0020 /* Access To Unimplemented Address IRQ Flag */
-#define AAIF 0x0040 /* Abort Acknowledge IRQ Flag */
-#define RMLIF 0x0080 /* RX Message Lost IRQ Flag */
-#define UCEIF 0x0100 /* Universal Counter Overflow IRQ Flag */
-#define EXTIF 0x0200 /* External Trigger Output IRQ Flag */
-#define ADIF 0x0400 /* Access Denied IRQ Flag */
-
-/* CAN_UCCNF Masks */
-#define UCCNF 0x000F /* Universal Counter Mode */
-#define UC_STAMP 0x0001 /* Timestamp Mode */
-#define UC_WDOG 0x0002 /* Watchdog Mode */
-#define UC_AUTOTX 0x0003 /* Auto-Transmit Mode */
-#define UC_ERROR 0x0006 /* CAN Error Frame Count */
-#define UC_OVER 0x0007 /* CAN Overload Frame Count */
-#define UC_LOST 0x0008 /* Arbitration Lost During TX Count */
-#define UC_AA 0x0009 /* TX Abort Count */
-#define UC_TA 0x000A /* TX Successful Count */
-#define UC_REJECT 0x000B /* RX Message Rejected Count */
-#define UC_RML 0x000C /* RX Message Lost Count */
-#define UC_RX 0x000D /* Total Successful RX Messages Count */
-#define UC_RMP 0x000E /* Successful RX W/Matching ID Count */
-#define UC_ALL 0x000F /* Correct Message On CAN Bus Line Count */
-#define UCRC 0x0020 /* Universal Counter Reload/Clear */
-#define UCCT 0x0040 /* Universal Counter CAN Trigger */
-#define UCE 0x0080 /* Universal Counter Enable */
-
-/* CAN_ESR Masks */
-#define ACKE 0x0004 /* Acknowledge Error */
-#define SER 0x0008 /* Stuff Error */
-#define CRCE 0x0010 /* CRC Error */
-#define SA0 0x0020 /* Stuck At Dominant Error */
-#define BEF 0x0040 /* Bit Error Flag */
-#define FER 0x0080 /* Form Error Flag */
-
-/* CAN_EWR Masks */
-#define EWLREC 0x00FF /* RX Error Count Limit (For EWRIS) */
-#define EWLTEC 0xFF00 /* TX Error Count Limit (For EWTIS) */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define CAN_CNF CAN_DEBUG
-#define TWI0_PRESCALE TWI0_CONTROL
-#define TWI0_INT_SRC TWI0_INT_STAT
-#define TWI0_INT_ENABLE TWI0_INT_MASK
-#define TWI1_PRESCALE TWI1_CONTROL
-#define TWI1_INT_SRC TWI1_INT_STAT
-#define TWI1_INT_ENABLE TWI1_INT_MASK
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF538_H */
diff --git a/libgloss/bfin/include/defBF539.h b/libgloss/bfin/include/defBF539.h
deleted file mode 100644
index daae302..0000000
--- a/libgloss/bfin/include/defBF539.h
+++ /dev/null
@@ -1,4344 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Copyright (C) 2006-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for Stirling peripherals.
-**
-*/
-#ifndef _DEF_BF539_H
-#define _DEF_BF539_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macros violate rule 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros ")
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System MMR Register Map */
-/*********************************************************************************** */
-/* Clock/Regulator Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control register (16-bit) */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register (16-bit) */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register (16-bit) */
-#define PLL_STAT 0xFFC0000C /* PLL Status register (16-bit) */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count register (16-bit) */
-#define CHIPID 0xFFC00014 /* Chip ID Register */
-
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register (16-bit) */
-#define SYSCR 0xFFC00104 /* System Configuration registe */
-#define SIC_IMASK0 0xFFC0010C /* Interrupt Mask Register */
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_ISR0 0xFFC00120 /* Interrupt Status Register */
-#define SIC_IWR0 0xFFC00124 /* Interrupt Wakeup Register */
-#define SIC_IMASK1 0xFFC00128 /* Interrupt Mask Register 1 */
-#define SIC_ISR1 0xFFC0012C /* Interrupt Status Register 1 */
-#define SIC_IWR1 0xFFC00130 /* Interrupt Wakeup Register 1 */
-#define SIC_IAR4 0xFFC00134 /* Interrupt Assignment Register 4 */
-#define SIC_IAR5 0xFFC00138 /* Interrupt Assignment Register 5 */
-#define SIC_IAR6 0xFFC0013C /* Interrupt Assignment Register 6 */
-
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-
-/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
-#define RTC_STAT 0xFFC00300 /* RTC Status Register */
-#define RTC_ICTL 0xFFC00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xFFC00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xFFC0030C /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xFFC00310 /* RTC Alarm Time Register */
-#define RTC_FAST 0xFFC00314 /* RTC Prescaler Enable Register */
-#define RTC_PREN 0xFFC00314 /* RTC Prescaler Enable Register (alternate macro) */
-
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_THR 0xFFC00400 /* Transmit Holding register */
-#define UART0_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART0_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC0040C /* Line Control Register */
-#define UART0_MCR 0xFFC00410 /* Modem Control Register */
-#define UART0_LSR 0xFFC00414 /* Line Status Register */
-#define UART0_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART0_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI0_CTL 0xFFC00500 /* SPI0 Control Register */
-#define SPI0_FLG 0xFFC00504 /* SPI0 Flag register */
-#define SPI0_STAT 0xFFC00508 /* SPI0 Status register */
-#define SPI0_TDBR 0xFFC0050C /* SPI0 Transmit Data Buffer Register */
-#define SPI0_RDBR 0xFFC00510 /* SPI0 Receive Data Buffer Register */
-#define SPI0_BAUD 0xFFC00514 /* SPI0 Baud rate Register */
-#define SPI0_SHADOW 0xFFC00518 /* SPI0_RDBR Shadow Register */
-
-
-/* TIMER 0, 1, 2 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER_ENABLE 0xFFC00640 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00644 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00648 /* Timer Status Register */
-
-
-/* Programmable Flags (0xFFC00700 - 0xFFC007FF) */
-#define FIO_FLAG_D 0xFFC00700 /* Flag Mask to directly specify state of pins */
-#define FIO_FLAG_C 0xFFC00704 /* Peripheral Interrupt Flag Register (clear) */
-#define FIO_FLAG_S 0xFFC00708 /* Peripheral Interrupt Flag Register (set) */
-#define FIO_FLAG_T 0xFFC0070C /* Flag Mask to directly toggle state of pins */
-#define FIO_MASKA_D 0xFFC00710 /* Flag Mask Interrupt A Register (set directly) */
-#define FIO_MASKA_C 0xFFC00714 /* Flag Mask Interrupt A Register (clear) */
-#define FIO_MASKA_S 0xFFC00718 /* Flag Mask Interrupt A Register (set) */
-#define FIO_MASKA_T 0xFFC0071C /* Flag Mask Interrupt A Register (toggle) */
-#define FIO_MASKB_D 0xFFC00720 /* Flag Mask Interrupt B Register (set directly) */
-#define FIO_MASKB_C 0xFFC00724 /* Flag Mask Interrupt B Register (clear) */
-#define FIO_MASKB_S 0xFFC00728 /* Flag Mask Interrupt B Register (set) */
-#define FIO_MASKB_T 0xFFC0072C /* Flag Mask Interrupt B Register (toggle) */
-#define FIO_DIR 0xFFC00730 /* Peripheral Flag Direction Register */
-#define FIO_POLAR 0xFFC00734 /* Flag Source Polarity Register */
-#define FIO_EDGE 0xFFC00738 /* Flag Source Sensitivity Register */
-#define FIO_BOTH 0xFFC0073C /* Flag Set on BOTH Edges Register */
-#define FIO_INEN 0xFFC00740 /* Flag Input Enable Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-/* Asynchronous Memory Controller */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-
-/* SDRAM Controller */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-
-/* DMA Controller 0 Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-
-#define DMAC0_TC_PER 0xFFC00B0C /* DMA Controller 0 Traffic Control Periods Register */
-#define DMAC0_TC_CNT 0xFFC00B10 /* DMA Controller 0 Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA0_TCPER DMAC0_TC_PER
-#define DMA0_TCCNT DMAC0_TC_CNT
-
-
-/* DMA Controller 0 (0xFFC00C00 - 0xFFC00FFF) */
-
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define MDMA0_D0_NEXT_DESC_PTR 0xFFC00E00 /* MemDMA0 Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA0_D0_START_ADDR 0xFFC00E04 /* MemDMA0 Stream 0 Destination Start Address Register */
-#define MDMA0_D0_CONFIG 0xFFC00E08 /* MemDMA0 Stream 0 Destination Configuration Register */
-#define MDMA0_D0_X_COUNT 0xFFC00E10 /* MemDMA0 Stream 0 Destination X Count Register */
-#define MDMA0_D0_X_MODIFY 0xFFC00E14 /* MemDMA0 Stream 0 Destination X Modify Register */
-#define MDMA0_D0_Y_COUNT 0xFFC00E18 /* MemDMA0 Stream 0 Destination Y Count Register */
-#define MDMA0_D0_Y_MODIFY 0xFFC00E1C /* MemDMA0 Stream 0 Destination Y Modify Register */
-#define MDMA0_D0_CURR_DESC_PTR 0xFFC00E20 /* MemDMA0 Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA0_D0_CURR_ADDR 0xFFC00E24 /* MemDMA0 Stream 0 Destination Current Address Register */
-#define MDMA0_D0_IRQ_STATUS 0xFFC00E28 /* MemDMA0 Stream 0 Destination Interrupt/Status Register */
-#define MDMA0_D0_PERIPHERAL_MAP 0xFFC00E2C /* MemDMA0 Stream 0 Destination Peripheral Map Register */
-#define MDMA0_D0_CURR_X_COUNT 0xFFC00E30 /* MemDMA0 Stream 0 Destination Current X Count Register */
-#define MDMA0_D0_CURR_Y_COUNT 0xFFC00E38 /* MemDMA0 Stream 0 Destination Current Y Count Register */
-
-#define MDMA0_S0_NEXT_DESC_PTR 0xFFC00E40 /* MemDMA0 Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA0_S0_START_ADDR 0xFFC00E44 /* MemDMA0 Stream 0 Source Start Address Register */
-#define MDMA0_S0_CONFIG 0xFFC00E48 /* MemDMA0 Stream 0 Source Configuration Register */
-#define MDMA0_S0_X_COUNT 0xFFC00E50 /* MemDMA0 Stream 0 Source X Count Register */
-#define MDMA0_S0_X_MODIFY 0xFFC00E54 /* MemDMA0 Stream 0 Source X Modify Register */
-#define MDMA0_S0_Y_COUNT 0xFFC00E58 /* MemDMA0 Stream 0 Source Y Count Register */
-#define MDMA0_S0_Y_MODIFY 0xFFC00E5C /* MemDMA0 Stream 0 Source Y Modify Register */
-#define MDMA0_S0_CURR_DESC_PTR 0xFFC00E60 /* MemDMA0 Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA0_S0_CURR_ADDR 0xFFC00E64 /* MemDMA0 Stream 0 Source Current Address Register */
-#define MDMA0_S0_IRQ_STATUS 0xFFC00E68 /* MemDMA0 Stream 0 Source Interrupt/Status Register */
-#define MDMA0_S0_PERIPHERAL_MAP 0xFFC00E6C /* MemDMA0 Stream 0 Source Peripheral Map Register */
-#define MDMA0_S0_CURR_X_COUNT 0xFFC00E70 /* MemDMA0 Stream 0 Source Current X Count Register */
-#define MDMA0_S0_CURR_Y_COUNT 0xFFC00E78 /* MemDMA0 Stream 0 Source Current Y Count Register */
-
-#define MDMA0_D1_NEXT_DESC_PTR 0xFFC00E80 /* MemDMA0 Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA0_D1_START_ADDR 0xFFC00E84 /* MemDMA0 Stream 1 Destination Start Address Register */
-#define MDMA0_D1_CONFIG 0xFFC00E88 /* MemDMA0 Stream 1 Destination Configuration Register */
-#define MDMA0_D1_X_COUNT 0xFFC00E90 /* MemDMA0 Stream 1 Destination X Count Register */
-#define MDMA0_D1_X_MODIFY 0xFFC00E94 /* MemDMA0 Stream 1 Destination X Modify Register */
-#define MDMA0_D1_Y_COUNT 0xFFC00E98 /* MemDMA0 Stream 1 Destination Y Count Register */
-#define MDMA0_D1_Y_MODIFY 0xFFC00E9C /* MemDMA0 Stream 1 Destination Y Modify Register */
-#define MDMA0_D1_CURR_DESC_PTR 0xFFC00EA0 /* MemDMA0 Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA0_D1_CURR_ADDR 0xFFC00EA4 /* MemDMA0 Stream 1 Destination Current Address Register */
-#define MDMA0_D1_IRQ_STATUS 0xFFC00EA8 /* MemDMA0 Stream 1 Destination Interrupt/Status Register */
-#define MDMA0_D1_PERIPHERAL_MAP 0xFFC00EAC /* MemDMA0 Stream 1 Destination Peripheral Map Register */
-#define MDMA0_D1_CURR_X_COUNT 0xFFC00EB0 /* MemDMA0 Stream 1 Destination Current X Count Register */
-#define MDMA0_D1_CURR_Y_COUNT 0xFFC00EB8 /* MemDMA0 Stream 1 Destination Current Y Count Register */
-
-#define MDMA0_S1_NEXT_DESC_PTR 0xFFC00EC0 /* MemDMA0 Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA0_S1_START_ADDR 0xFFC00EC4 /* MemDMA0 Stream 1 Source Start Address Register */
-#define MDMA0_S1_CONFIG 0xFFC00EC8 /* MemDMA0 Stream 1 Source Configuration Register */
-#define MDMA0_S1_X_COUNT 0xFFC00ED0 /* MemDMA0 Stream 1 Source X Count Register */
-#define MDMA0_S1_X_MODIFY 0xFFC00ED4 /* MemDMA0 Stream 1 Source X Modify Register */
-#define MDMA0_S1_Y_COUNT 0xFFC00ED8 /* MemDMA0 Stream 1 Source Y Count Register */
-#define MDMA0_S1_Y_MODIFY 0xFFC00EDC /* MemDMA0 Stream 1 Source Y Modify Register */
-#define MDMA0_S1_CURR_DESC_PTR 0xFFC00EE0 /* MemDMA0 Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA0_S1_CURR_ADDR 0xFFC00EE4 /* MemDMA0 Stream 1 Source Current Address Register */
-#define MDMA0_S1_IRQ_STATUS 0xFFC00EE8 /* MemDMA0 Stream 1 Source Interrupt/Status Register */
-#define MDMA0_S1_PERIPHERAL_MAP 0xFFC00EEC /* MemDMA0 Stream 1 Source Peripheral Map Register */
-#define MDMA0_S1_CURR_X_COUNT 0xFFC00EF0 /* MemDMA0 Stream 1 Source Current X Count Register */
-#define MDMA0_S1_CURR_Y_COUNT 0xFFC00EF8 /* MemDMA0 Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (PPI) (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface 0 (0xFFC01400 - 0xFFC014FF) */
-#define TWI0_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI0_CONTROL 0xFFC01404 /* TWI0 Master Internal Time Reference Register */
-#define TWI0_SLAVE_CTRL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI0_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI0_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI0_MASTER_CTRL 0xFFC01414 /* Master Mode Control Register */
-#define TWI0_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI0_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI0_INT_STAT 0xFFC01420 /* TWI0 Master Interrupt Register */
-#define TWI0_INT_MASK 0xFFC01424 /* TWI0 Master Interrupt Mask Register */
-#define TWI0_FIFO_CTRL 0xFFC01428 /* FIFO Control Register */
-#define TWI0_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI0_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI0_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI0_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI0_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-/* the following are for backwards compatibility */
-#define TWI0_PRESCALE TWI0_CONTROL
-#define TWI0_INT_SRC TWI0_INT_STAT
-#define TWI0_INT_ENABLE TWI0_INT_MASK
-
-
-/* General-Purpose Ports (0xFFC01500 - 0xFFC015FF) */
-
-/* GPIO Port C Register Names */
-#define GPIO_C_CNFG 0xFFC01500 /* GPIO Pin Port C Configuration Register */
-#define GPIO_C_D 0xFFC01510 /* GPIO Pin Port C Data Register */
-#define GPIO_C_C 0xFFC01520 /* Clear GPIO Pin Port C Register */
-#define GPIO_C_S 0xFFC01530 /* Set GPIO Pin Port C Register */
-#define GPIO_C_T 0xFFC01540 /* Toggle GPIO Pin Port C Register */
-#define GPIO_C_DIR 0xFFC01550 /* GPIO Pin Port C Direction Register */
-#define GPIO_C_INEN 0xFFC01560 /* GPIO Pin Port C Input Enable Register */
-
-/* GPIO Port D Register Names */
-#define GPIO_D_CNFG 0xFFC01504 /* GPIO Pin Port D Configuration Register */
-#define GPIO_D_D 0xFFC01514 /* GPIO Pin Port D Data Register */
-#define GPIO_D_C 0xFFC01524 /* Clear GPIO Pin Port D Register */
-#define GPIO_D_S 0xFFC01534 /* Set GPIO Pin Port D Register */
-#define GPIO_D_T 0xFFC01544 /* Toggle GPIO Pin Port D Register */
-#define GPIO_D_DIR 0xFFC01554 /* GPIO Pin Port D Direction Register */
-#define GPIO_D_INEN 0xFFC01564 /* GPIO Pin Port D Input Enable Register */
-
-/* GPIO Port E Register Names */
-#define GPIO_E_CNFG 0xFFC01508 /* GPIO Pin Port E Configuration Register */
-#define GPIO_E_D 0xFFC01518 /* GPIO Pin Port E Data Register */
-#define GPIO_E_C 0xFFC01528 /* Clear GPIO Pin Port E Register */
-#define GPIO_E_S 0xFFC01538 /* Set GPIO Pin Port E Register */
-#define GPIO_E_T 0xFFC01548 /* Toggle GPIO Pin Port E Register */
-#define GPIO_E_DIR 0xFFC01558 /* GPIO Pin Port E Direction Register */
-#define GPIO_E_INEN 0xFFC01568 /* GPIO Pin Port E Input Enable Register */
-
-/* Deprecate old macros */
-#define GPIO_C_DAT GPIO_C_D
-#define GPIO_C_CLR GPIO_C_C
-#define GPIO_C_SET GPIO_C_S
-#define GPIO_C_TGL GPIO_C_T
-
-#define GPIO_D_DAT GPIO_D_D
-#define GPIO_D_CLR GPIO_D_C
-#define GPIO_D_SET GPIO_D_S
-#define GPIO_D_TGL GPIO_D_T
-
-#define GPIO_E_DAT GPIO_E_D
-#define GPIO_E_CLR GPIO_E_C
-#define GPIO_E_SET GPIO_E_S
-#define GPIO_E_TGL GPIO_E_T
-
-/* DMA Controller 1 Traffic Control Registers (0xFFC01B00 - 0xFFC01BFF) */
-
-#define DMAC1_TC_PER 0xFFC01B0C /* DMA Controller 1 Traffic Control Periods Register */
-#define DMAC1_TC_CNT 0xFFC01B10 /* DMA Controller 1 Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA1_TCPER DMAC1_TC_PER
-#define DMA1_TCCNT DMAC1_TC_CNT
-
-
-/* DMA Controller 1 (0xFFC01C00 - 0xFFC01FFF) */
-#define DMA8_NEXT_DESC_PTR 0xFFC01C00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC01C04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC01C08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC01C10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC01C14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC01C18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC01C1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC01C20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC01C24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC01C28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC01C2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC01C30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC01C38 /* DMA Channel 8 Current Y Count Register */
-
-#define DMA9_NEXT_DESC_PTR 0xFFC01C40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xFFC01C44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xFFC01C48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xFFC01C50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xFFC01C54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xFFC01C58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xFFC01C5C /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xFFC01C60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xFFC01C64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xFFC01C68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xFFC01C6C /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xFFC01C70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xFFC01C78 /* DMA Channel 9 Current Y Count Register */
-
-#define DMA10_NEXT_DESC_PTR 0xFFC01C80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xFFC01C84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xFFC01C88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xFFC01C90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xFFC01C94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xFFC01C98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xFFC01C9C /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xFFC01CA0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xFFC01CA4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xFFC01CA8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xFFC01CAC /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xFFC01CB0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xFFC01CB8 /* DMA Channel 10 Current Y Count Register */
-
-#define DMA11_NEXT_DESC_PTR 0xFFC01CC0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xFFC01CC4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xFFC01CC8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xFFC01CD0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xFFC01CD4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xFFC01CD8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xFFC01CDC /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xFFC01CE0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xFFC01CE4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xFFC01CE8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xFFC01CEC /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xFFC01CF0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xFFC01CF8 /* DMA Channel 11 Current Y Count Register */
-
-#define DMA12_NEXT_DESC_PTR 0xFFC01D00 /* DMA Channel 12 Next Descriptor Pointer Register */
-#define DMA12_START_ADDR 0xFFC01D04 /* DMA Channel 12 Start Address Register */
-#define DMA12_CONFIG 0xFFC01D08 /* DMA Channel 12 Configuration Register */
-#define DMA12_X_COUNT 0xFFC01D10 /* DMA Channel 12 X Count Register */
-#define DMA12_X_MODIFY 0xFFC01D14 /* DMA Channel 12 X Modify Register */
-#define DMA12_Y_COUNT 0xFFC01D18 /* DMA Channel 12 Y Count Register */
-#define DMA12_Y_MODIFY 0xFFC01D1C /* DMA Channel 12 Y Modify Register */
-#define DMA12_CURR_DESC_PTR 0xFFC01D20 /* DMA Channel 12 Current Descriptor Pointer Register */
-#define DMA12_CURR_ADDR 0xFFC01D24 /* DMA Channel 12 Current Address Register */
-#define DMA12_IRQ_STATUS 0xFFC01D28 /* DMA Channel 12 Interrupt/Status Register */
-#define DMA12_PERIPHERAL_MAP 0xFFC01D2C /* DMA Channel 12 Peripheral Map Register */
-#define DMA12_CURR_X_COUNT 0xFFC01D30 /* DMA Channel 12 Current X Count Register */
-#define DMA12_CURR_Y_COUNT 0xFFC01D38 /* DMA Channel 12 Current Y Count Register */
-
-#define DMA13_NEXT_DESC_PTR 0xFFC01D40 /* DMA Channel 13 Next Descriptor Pointer Register */
-#define DMA13_START_ADDR 0xFFC01D44 /* DMA Channel 13 Start Address Register */
-#define DMA13_CONFIG 0xFFC01D48 /* DMA Channel 13 Configuration Register */
-#define DMA13_X_COUNT 0xFFC01D50 /* DMA Channel 13 X Count Register */
-#define DMA13_X_MODIFY 0xFFC01D54 /* DMA Channel 13 X Modify Register */
-#define DMA13_Y_COUNT 0xFFC01D58 /* DMA Channel 13 Y Count Register */
-#define DMA13_Y_MODIFY 0xFFC01D5C /* DMA Channel 13 Y Modify Register */
-#define DMA13_CURR_DESC_PTR 0xFFC01D60 /* DMA Channel 13 Current Descriptor Pointer Register */
-#define DMA13_CURR_ADDR 0xFFC01D64 /* DMA Channel 13 Current Address Register */
-#define DMA13_IRQ_STATUS 0xFFC01D68 /* DMA Channel 13 Interrupt/Status Register */
-#define DMA13_PERIPHERAL_MAP 0xFFC01D6C /* DMA Channel 13 Peripheral Map Register */
-#define DMA13_CURR_X_COUNT 0xFFC01D70 /* DMA Channel 13 Current X Count Register */
-#define DMA13_CURR_Y_COUNT 0xFFC01D78 /* DMA Channel 13 Current Y Count Register */
-
-#define DMA14_NEXT_DESC_PTR 0xFFC01D80 /* DMA Channel 14 Next Descriptor Pointer Register */
-#define DMA14_START_ADDR 0xFFC01D84 /* DMA Channel 14 Start Address Register */
-#define DMA14_CONFIG 0xFFC01D88 /* DMA Channel 14 Configuration Register */
-#define DMA14_X_COUNT 0xFFC01D90 /* DMA Channel 14 X Count Register */
-#define DMA14_X_MODIFY 0xFFC01D94 /* DMA Channel 14 X Modify Register */
-#define DMA14_Y_COUNT 0xFFC01D98 /* DMA Channel 14 Y Count Register */
-#define DMA14_Y_MODIFY 0xFFC01D9C /* DMA Channel 14 Y Modify Register */
-#define DMA14_CURR_DESC_PTR 0xFFC01DA0 /* DMA Channel 14 Current Descriptor Pointer Register */
-#define DMA14_CURR_ADDR 0xFFC01DA4 /* DMA Channel 14 Current Address Register */
-#define DMA14_IRQ_STATUS 0xFFC01DA8 /* DMA Channel 14 Interrupt/Status Register */
-#define DMA14_PERIPHERAL_MAP 0xFFC01DAC /* DMA Channel 14 Peripheral Map Register */
-#define DMA14_CURR_X_COUNT 0xFFC01DB0 /* DMA Channel 14 Current X Count Register */
-#define DMA14_CURR_Y_COUNT 0xFFC01DB8 /* DMA Channel 14 Current Y Count Register */
-
-#define DMA15_NEXT_DESC_PTR 0xFFC01DC0 /* DMA Channel 15 Next Descriptor Pointer Register */
-#define DMA15_START_ADDR 0xFFC01DC4 /* DMA Channel 15 Start Address Register */
-#define DMA15_CONFIG 0xFFC01DC8 /* DMA Channel 15 Configuration Register */
-#define DMA15_X_COUNT 0xFFC01DD0 /* DMA Channel 15 X Count Register */
-#define DMA15_X_MODIFY 0xFFC01DD4 /* DMA Channel 15 X Modify Register */
-#define DMA15_Y_COUNT 0xFFC01DD8 /* DMA Channel 15 Y Count Register */
-#define DMA15_Y_MODIFY 0xFFC01DDC /* DMA Channel 15 Y Modify Register */
-#define DMA15_CURR_DESC_PTR 0xFFC01DE0 /* DMA Channel 15 Current Descriptor Pointer Register */
-#define DMA15_CURR_ADDR 0xFFC01DE4 /* DMA Channel 15 Current Address Register */
-#define DMA15_IRQ_STATUS 0xFFC01DE8 /* DMA Channel 15 Interrupt/Status Register */
-#define DMA15_PERIPHERAL_MAP 0xFFC01DEC /* DMA Channel 15 Peripheral Map Register */
-#define DMA15_CURR_X_COUNT 0xFFC01DF0 /* DMA Channel 15 Current X Count Register */
-#define DMA15_CURR_Y_COUNT 0xFFC01DF8 /* DMA Channel 15 Current Y Count Register */
-
-#define DMA16_NEXT_DESC_PTR 0xFFC01E00 /* DMA Channel 16 Next Descriptor Pointer Register */
-#define DMA16_START_ADDR 0xFFC01E04 /* DMA Channel 16 Start Address Register */
-#define DMA16_CONFIG 0xFFC01E08 /* DMA Channel 16 Configuration Register */
-#define DMA16_X_COUNT 0xFFC01E10 /* DMA Channel 16 X Count Register */
-#define DMA16_X_MODIFY 0xFFC01E14 /* DMA Channel 16 X Modify Register */
-#define DMA16_Y_COUNT 0xFFC01E18 /* DMA Channel 16 Y Count Register */
-#define DMA16_Y_MODIFY 0xFFC01E1C /* DMA Channel 16 Y Modify Register */
-#define DMA16_CURR_DESC_PTR 0xFFC01E20 /* DMA Channel 16 Current Descriptor Pointer Register */
-#define DMA16_CURR_ADDR 0xFFC01E24 /* DMA Channel 16 Current Address Register */
-#define DMA16_IRQ_STATUS 0xFFC01E28 /* DMA Channel 16 Interrupt/Status Register */
-#define DMA16_PERIPHERAL_MAP 0xFFC01E2C /* DMA Channel 16 Peripheral Map Register */
-#define DMA16_CURR_X_COUNT 0xFFC01E30 /* DMA Channel 16 Current X Count Register */
-#define DMA16_CURR_Y_COUNT 0xFFC01E38 /* DMA Channel 16 Current Y Count Register */
-
-#define DMA17_NEXT_DESC_PTR 0xFFC01E40 /* DMA Channel 17 Next Descriptor Pointer Register */
-#define DMA17_START_ADDR 0xFFC01E44 /* DMA Channel 17 Start Address Register */
-#define DMA17_CONFIG 0xFFC01E48 /* DMA Channel 17 Configuration Register */
-#define DMA17_X_COUNT 0xFFC01E50 /* DMA Channel 17 X Count Register */
-#define DMA17_X_MODIFY 0xFFC01E54 /* DMA Channel 17 X Modify Register */
-#define DMA17_Y_COUNT 0xFFC01E58 /* DMA Channel 17 Y Count Register */
-#define DMA17_Y_MODIFY 0xFFC01E5C /* DMA Channel 17 Y Modify Register */
-#define DMA17_CURR_DESC_PTR 0xFFC01E60 /* DMA Channel 17 Current Descriptor Pointer Register */
-#define DMA17_CURR_ADDR 0xFFC01E64 /* DMA Channel 17 Current Address Register */
-#define DMA17_IRQ_STATUS 0xFFC01E68 /* DMA Channel 17 Interrupt/Status Register */
-#define DMA17_PERIPHERAL_MAP 0xFFC01E6C /* DMA Channel 17 Peripheral Map Register */
-#define DMA17_CURR_X_COUNT 0xFFC01E70 /* DMA Channel 17 Current X Count Register */
-#define DMA17_CURR_Y_COUNT 0xFFC01E78 /* DMA Channel 17 Current Y Count Register */
-
-#define DMA18_NEXT_DESC_PTR 0xFFC01E80 /* DMA Channel 18 Next Descriptor Pointer Register */
-#define DMA18_START_ADDR 0xFFC01E84 /* DMA Channel 18 Start Address Register */
-#define DMA18_CONFIG 0xFFC01E88 /* DMA Channel 18 Configuration Register */
-#define DMA18_X_COUNT 0xFFC01E90 /* DMA Channel 18 X Count Register */
-#define DMA18_X_MODIFY 0xFFC01E94 /* DMA Channel 18 X Modify Register */
-#define DMA18_Y_COUNT 0xFFC01E98 /* DMA Channel 18 Y Count Register */
-#define DMA18_Y_MODIFY 0xFFC01E9C /* DMA Channel 18 Y Modify Register */
-#define DMA18_CURR_DESC_PTR 0xFFC01EA0 /* DMA Channel 18 Current Descriptor Pointer Register */
-#define DMA18_CURR_ADDR 0xFFC01EA4 /* DMA Channel 18 Current Address Register */
-#define DMA18_IRQ_STATUS 0xFFC01EA8 /* DMA Channel 18 Interrupt/Status Register */
-#define DMA18_PERIPHERAL_MAP 0xFFC01EAC /* DMA Channel 18 Peripheral Map Register */
-#define DMA18_CURR_X_COUNT 0xFFC01EB0 /* DMA Channel 18 Current X Count Register */
-#define DMA18_CURR_Y_COUNT 0xFFC01EB8 /* DMA Channel 18 Current Y Count Register */
-
-#define DMA19_NEXT_DESC_PTR 0xFFC01EC0 /* DMA Channel 19 Next Descriptor Pointer Register */
-#define DMA19_START_ADDR 0xFFC01EC4 /* DMA Channel 19 Start Address Register */
-#define DMA19_CONFIG 0xFFC01EC8 /* DMA Channel 19 Configuration Register */
-#define DMA19_X_COUNT 0xFFC01ED0 /* DMA Channel 19 X Count Register */
-#define DMA19_X_MODIFY 0xFFC01ED4 /* DMA Channel 19 X Modify Register */
-#define DMA19_Y_COUNT 0xFFC01ED8 /* DMA Channel 19 Y Count Register */
-#define DMA19_Y_MODIFY 0xFFC01EDC /* DMA Channel 19 Y Modify Register */
-#define DMA19_CURR_DESC_PTR 0xFFC01EE0 /* DMA Channel 19 Current Descriptor Pointer Register */
-#define DMA19_CURR_ADDR 0xFFC01EE4 /* DMA Channel 19 Current Address Register */
-#define DMA19_IRQ_STATUS 0xFFC01EE8 /* DMA Channel 19 Interrupt/Status Register */
-#define DMA19_PERIPHERAL_MAP 0xFFC01EEC /* DMA Channel 19 Peripheral Map Register */
-#define DMA19_CURR_X_COUNT 0xFFC01EF0 /* DMA Channel 19 Current X Count Register */
-#define DMA19_CURR_Y_COUNT 0xFFC01EF8 /* DMA Channel 19 Current Y Count Register */
-
-#define MDMA1_D0_NEXT_DESC_PTR 0xFFC01F00 /* MemDMA1 Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA1_D0_START_ADDR 0xFFC01F04 /* MemDMA1 Stream 0 Destination Start Address Register */
-#define MDMA1_D0_CONFIG 0xFFC01F08 /* MemDMA1 Stream 0 Destination Configuration Register */
-#define MDMA1_D0_X_COUNT 0xFFC01F10 /* MemDMA1 Stream 0 Destination X Count Register */
-#define MDMA1_D0_X_MODIFY 0xFFC01F14 /* MemDMA1 Stream 0 Destination X Modify Register */
-#define MDMA1_D0_Y_COUNT 0xFFC01F18 /* MemDMA1 Stream 0 Destination Y Count Register */
-#define MDMA1_D0_Y_MODIFY 0xFFC01F1C /* MemDMA1 Stream 0 Destination Y Modify Register */
-#define MDMA1_D0_CURR_DESC_PTR 0xFFC01F20 /* MemDMA1 Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA1_D0_CURR_ADDR 0xFFC01F24 /* MemDMA1 Stream 0 Destination Current Address Register */
-#define MDMA1_D0_IRQ_STATUS 0xFFC01F28 /* MemDMA1 Stream 0 Destination Interrupt/Status Register */
-#define MDMA1_D0_PERIPHERAL_MAP 0xFFC01F2C /* MemDMA1 Stream 0 Destination Peripheral Map Register */
-#define MDMA1_D0_CURR_X_COUNT 0xFFC01F30 /* MemDMA1 Stream 0 Destination Current X Count Register */
-#define MDMA1_D0_CURR_Y_COUNT 0xFFC01F38 /* MemDMA1 Stream 0 Destination Current Y Count Register */
-
-#define MDMA1_S0_NEXT_DESC_PTR 0xFFC01F40 /* MemDMA1 Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA1_S0_START_ADDR 0xFFC01F44 /* MemDMA1 Stream 0 Source Start Address Register */
-#define MDMA1_S0_CONFIG 0xFFC01F48 /* MemDMA1 Stream 0 Source Configuration Register */
-#define MDMA1_S0_X_COUNT 0xFFC01F50 /* MemDMA1 Stream 0 Source X Count Register */
-#define MDMA1_S0_X_MODIFY 0xFFC01F54 /* MemDMA1 Stream 0 Source X Modify Register */
-#define MDMA1_S0_Y_COUNT 0xFFC01F58 /* MemDMA1 Stream 0 Source Y Count Register */
-#define MDMA1_S0_Y_MODIFY 0xFFC01F5C /* MemDMA1 Stream 0 Source Y Modify Register */
-#define MDMA1_S0_CURR_DESC_PTR 0xFFC01F60 /* MemDMA1 Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA1_S0_CURR_ADDR 0xFFC01F64 /* MemDMA1 Stream 0 Source Current Address Register */
-#define MDMA1_S0_IRQ_STATUS 0xFFC01F68 /* MemDMA1 Stream 0 Source Interrupt/Status Register */
-#define MDMA1_S0_PERIPHERAL_MAP 0xFFC01F6C /* MemDMA1 Stream 0 Source Peripheral Map Register */
-#define MDMA1_S0_CURR_X_COUNT 0xFFC01F70 /* MemDMA1 Stream 0 Source Current X Count Register */
-#define MDMA1_S0_CURR_Y_COUNT 0xFFC01F78 /* MemDMA1 Stream 0 Source Current Y Count Register */
-
-#define MDMA1_D1_NEXT_DESC_PTR 0xFFC01F80 /* MemDMA1 Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA1_D1_START_ADDR 0xFFC01F84 /* MemDMA1 Stream 1 Destination Start Address Register */
-#define MDMA1_D1_CONFIG 0xFFC01F88 /* MemDMA1 Stream 1 Destination Configuration Register */
-#define MDMA1_D1_X_COUNT 0xFFC01F90 /* MemDMA1 Stream 1 Destination X Count Register */
-#define MDMA1_D1_X_MODIFY 0xFFC01F94 /* MemDMA1 Stream 1 Destination X Modify Register */
-#define MDMA1_D1_Y_COUNT 0xFFC01F98 /* MemDMA1 Stream 1 Destination Y Count Register */
-#define MDMA1_D1_Y_MODIFY 0xFFC01F9C /* MemDMA1 Stream 1 Destination Y Modify Register */
-#define MDMA1_D1_CURR_DESC_PTR 0xFFC01FA0 /* MemDMA1 Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA1_D1_CURR_ADDR 0xFFC01FA4 /* MemDMA1 Stream 1 Destination Current Address Register */
-#define MDMA1_D1_IRQ_STATUS 0xFFC01FA8 /* MemDMA1 Stream 1 Destination Interrupt/Status Register */
-#define MDMA1_D1_PERIPHERAL_MAP 0xFFC01FAC /* MemDMA1 Stream 1 Destination Peripheral Map Register */
-#define MDMA1_D1_CURR_X_COUNT 0xFFC01FB0 /* MemDMA1 Stream 1 Destination Current X Count Register */
-#define MDMA1_D1_CURR_Y_COUNT 0xFFC01FB8 /* MemDMA1 Stream 1 Destination Current Y Count Register */
-
-#define MDMA1_S1_NEXT_DESC_PTR 0xFFC01FC0 /* MemDMA1 Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA1_S1_START_ADDR 0xFFC01FC4 /* MemDMA1 Stream 1 Source Start Address Register */
-#define MDMA1_S1_CONFIG 0xFFC01FC8 /* MemDMA1 Stream 1 Source Configuration Register */
-#define MDMA1_S1_X_COUNT 0xFFC01FD0 /* MemDMA1 Stream 1 Source X Count Register */
-#define MDMA1_S1_X_MODIFY 0xFFC01FD4 /* MemDMA1 Stream 1 Source X Modify Register */
-#define MDMA1_S1_Y_COUNT 0xFFC01FD8 /* MemDMA1 Stream 1 Source Y Count Register */
-#define MDMA1_S1_Y_MODIFY 0xFFC01FDC /* MemDMA1 Stream 1 Source Y Modify Register */
-#define MDMA1_S1_CURR_DESC_PTR 0xFFC01FE0 /* MemDMA1 Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA1_S1_CURR_ADDR 0xFFC01FE4 /* MemDMA1 Stream 1 Source Current Address Register */
-#define MDMA1_S1_IRQ_STATUS 0xFFC01FE8 /* MemDMA1 Stream 1 Source Interrupt/Status Register */
-#define MDMA1_S1_PERIPHERAL_MAP 0xFFC01FEC /* MemDMA1 Stream 1 Source Peripheral Map Register */
-#define MDMA1_S1_CURR_X_COUNT 0xFFC01FF0 /* MemDMA1 Stream 1 Source Current X Count Register */
-#define MDMA1_S1_CURR_Y_COUNT 0xFFC01FF8 /* MemDMA1 Stream 1 Source Current Y Count Register */
-
-
-/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
-#define UART1_THR 0xFFC02000 /* Transmit Holding register */
-#define UART1_RBR 0xFFC02000 /* Receive Buffer register */
-#define UART1_DLL 0xFFC02000 /* Divisor Latch (Low-Byte) */
-#define UART1_IER 0xFFC02004 /* Interrupt Enable Register */
-#define UART1_DLH 0xFFC02004 /* Divisor Latch (High-Byte) */
-#define UART1_IIR 0xFFC02008 /* Interrupt Identification Register */
-#define UART1_LCR 0xFFC0200C /* Line Control Register */
-#define UART1_MCR 0xFFC02010 /* Modem Control Register */
-#define UART1_LSR 0xFFC02014 /* Line Status Register */
-#define UART1_SCR 0xFFC0201C /* SCR Scratch Register */
-#define UART1_GCTL 0xFFC02024 /* Global Control Register */
-
-
-/* UART2 Controller (0xFFC02100 - 0xFFC021FF) */
-#define UART2_THR 0xFFC02100 /* Transmit Holding register */
-#define UART2_RBR 0xFFC02100 /* Receive Buffer register */
-#define UART2_DLL 0xFFC02100 /* Divisor Latch (Low-Byte) */
-#define UART2_IER 0xFFC02104 /* Interrupt Enable Register */
-#define UART2_DLH 0xFFC02104 /* Divisor Latch (High-Byte) */
-#define UART2_IIR 0xFFC02108 /* Interrupt Identification Register */
-#define UART2_LCR 0xFFC0210C /* Line Control Register */
-#define UART2_MCR 0xFFC02110 /* Modem Control Register */
-#define UART2_LSR 0xFFC02114 /* Line Status Register */
-#define UART2_SCR 0xFFC0211C /* SCR Scratch Register */
-#define UART2_GCTL 0xFFC02124 /* Global Control Register */
-
-
-/* Two-Wire Interface 1 (0xFFC02200 - 0xFFC022FF) */
-#define TWI1_CLKDIV 0xFFC02200 /* Serial Clock Divider Register */
-#define TWI1_CONTROL 0xFFC02204 /* TWI1 Master Internal Time Reference Register */
-#define TWI1_SLAVE_CTRL 0xFFC02208 /* Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xFFC0220C /* Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xFFC02210 /* Slave Mode Address Register */
-#define TWI1_MASTER_CTRL 0xFFC02214 /* Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xFFC02218 /* Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xFFC0221C /* Master Mode Address Register */
-#define TWI1_INT_STAT 0xFFC02220 /* TWI1 Master Interrupt Register */
-#define TWI1_INT_MASK 0xFFC02224 /* TWI1 Master Interrupt Mask Register */
-#define TWI1_FIFO_CTRL 0xFFC02228 /* FIFO Control Register */
-#define TWI1_FIFO_STAT 0xFFC0222C /* FIFO Status Register */
-#define TWI1_XMT_DATA8 0xFFC02280 /* FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xFFC02284 /* FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xFFC02288 /* FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xFFC0228C /* FIFO Receive Data Double Byte Register */
-
-/* the following are for backwards compatibility */
-#define TWI1_PRESCALE TWI1_CONTROL
-#define TWI1_INT_SRC TWI1_INT_STAT
-#define TWI1_INT_ENABLE TWI1_INT_MASK
-
-
-/* SPI1 Controller (0xFFC02300 - 0xFFC023FF) */
-#define SPI1_CTL 0xFFC02300 /* SPI1 Control Register */
-#define SPI1_FLG 0xFFC02304 /* SPI1 Flag register */
-#define SPI1_STAT 0xFFC02308 /* SPI1 Status register */
-#define SPI1_TDBR 0xFFC0230C /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC02310 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC02314 /* SPI1 Baud rate Register */
-#define SPI1_SHADOW 0xFFC02318 /* SPI1_RDBR Shadow Register */
-
-
-/* SPI2 Controller (0xFFC02400 - 0xFFC024FF) */
-#define SPI2_CTL 0xFFC02400 /* SPI2 Control Register */
-#define SPI2_FLG 0xFFC02404 /* SPI2 Flag register */
-#define SPI2_STAT 0xFFC02408 /* SPI2 Status register */
-#define SPI2_TDBR 0xFFC0240C /* SPI2 Transmit Data Buffer Register */
-#define SPI2_RDBR 0xFFC02410 /* SPI2 Receive Data Buffer Register */
-#define SPI2_BAUD 0xFFC02414 /* SPI2 Baud rate Register */
-#define SPI2_SHADOW 0xFFC02418 /* SPI2_RDBR Shadow Register */
-
-
-/* SPORT2 Controller (0xFFC02500 - 0xFFC025FF) */
-#define SPORT2_TCR1 0xFFC02500 /* SPORT2 Transmit Configuration 1 Register */
-#define SPORT2_TCR2 0xFFC02504 /* SPORT2 Transmit Configuration 2 Register */
-#define SPORT2_TCLKDIV 0xFFC02508 /* SPORT2 Transmit Clock Divider */
-#define SPORT2_TFSDIV 0xFFC0250C /* SPORT2 Transmit Frame Sync Divider */
-#define SPORT2_TX 0xFFC02510 /* SPORT2 TX Data Register */
-#define SPORT2_RX 0xFFC02518 /* SPORT2 RX Data Register */
-#define SPORT2_RCR1 0xFFC02520 /* SPORT2 Transmit Configuration 1 Register */
-#define SPORT2_RCR2 0xFFC02524 /* SPORT2 Transmit Configuration 2 Register */
-#define SPORT2_RCLKDIV 0xFFC02528 /* SPORT2 Receive Clock Divider */
-#define SPORT2_RFSDIV 0xFFC0252C /* SPORT2 Receive Frame Sync Divider */
-#define SPORT2_STAT 0xFFC02530 /* SPORT2 Status Register */
-#define SPORT2_CHNL 0xFFC02534 /* SPORT2 Current Channel Register */
-#define SPORT2_MCMC1 0xFFC02538 /* SPORT2 Multi-Channel Configuration Register 1 */
-#define SPORT2_MCMC2 0xFFC0253C /* SPORT2 Multi-Channel Configuration Register 2 */
-#define SPORT2_MTCS0 0xFFC02540 /* SPORT2 Multi-Channel Transmit Select Register 0 */
-#define SPORT2_MTCS1 0xFFC02544 /* SPORT2 Multi-Channel Transmit Select Register 1 */
-#define SPORT2_MTCS2 0xFFC02548 /* SPORT2 Multi-Channel Transmit Select Register 2 */
-#define SPORT2_MTCS3 0xFFC0254C /* SPORT2 Multi-Channel Transmit Select Register 3 */
-#define SPORT2_MRCS0 0xFFC02550 /* SPORT2 Multi-Channel Receive Select Register 0 */
-#define SPORT2_MRCS1 0xFFC02554 /* SPORT2 Multi-Channel Receive Select Register 1 */
-#define SPORT2_MRCS2 0xFFC02558 /* SPORT2 Multi-Channel Receive Select Register 2 */
-#define SPORT2_MRCS3 0xFFC0255C /* SPORT2 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT3 Controller (0xFFC02600 - 0xFFC026FF) */
-#define SPORT3_TCR1 0xFFC02600 /* SPORT3 Transmit Configuration 1 Register */
-#define SPORT3_TCR2 0xFFC02604 /* SPORT3 Transmit Configuration 2 Register */
-#define SPORT3_TCLKDIV 0xFFC02608 /* SPORT3 Transmit Clock Divider */
-#define SPORT3_TFSDIV 0xFFC0260C /* SPORT3 Transmit Frame Sync Divider */
-#define SPORT3_TX 0xFFC02610 /* SPORT3 TX Data Register */
-#define SPORT3_RX 0xFFC02618 /* SPORT3 RX Data Register */
-#define SPORT3_RCR1 0xFFC02620 /* SPORT3 Transmit Configuration 1 Register */
-#define SPORT3_RCR2 0xFFC02624 /* SPORT3 Transmit Configuration 2 Register */
-#define SPORT3_RCLKDIV 0xFFC02628 /* SPORT3 Receive Clock Divider */
-#define SPORT3_RFSDIV 0xFFC0262C /* SPORT3 Receive Frame Sync Divider */
-#define SPORT3_STAT 0xFFC02630 /* SPORT3 Status Register */
-#define SPORT3_CHNL 0xFFC02634 /* SPORT3 Current Channel Register */
-#define SPORT3_MCMC1 0xFFC02638 /* SPORT3 Multi-Channel Configuration Register 1 */
-#define SPORT3_MCMC2 0xFFC0263C /* SPORT3 Multi-Channel Configuration Register 2 */
-#define SPORT3_MTCS0 0xFFC02640 /* SPORT3 Multi-Channel Transmit Select Register 0 */
-#define SPORT3_MTCS1 0xFFC02644 /* SPORT3 Multi-Channel Transmit Select Register 1 */
-#define SPORT3_MTCS2 0xFFC02648 /* SPORT3 Multi-Channel Transmit Select Register 2 */
-#define SPORT3_MTCS3 0xFFC0264C /* SPORT3 Multi-Channel Transmit Select Register 3 */
-#define SPORT3_MRCS0 0xFFC02650 /* SPORT3 Multi-Channel Receive Select Register 0 */
-#define SPORT3_MRCS1 0xFFC02654 /* SPORT3 Multi-Channel Receive Select Register 1 */
-#define SPORT3_MRCS2 0xFFC02658 /* SPORT3 Multi-Channel Receive Select Register 2 */
-#define SPORT3_MRCS3 0xFFC0265C /* SPORT3 Multi-Channel Receive Select Register 3 */
-
-
-/* Media Transceiver (MXVR) (0xFFC02700 - 0xFFC028FF) */
-
-#define MXVR_CONFIG 0xFFC02700 /* MXVR Configuration Register */
-#define MXVR_PLL_CTL_0 0xFFC02704 /* MXVR Phase Lock Loop Control Register 0 */
-
-#define MXVR_STATE_0 0xFFC02708 /* MXVR State Register 0 */
-#define MXVR_STATE_1 0xFFC0270C /* MXVR State Register 1 */
-
-#define MXVR_INT_STAT_0 0xFFC02710 /* MXVR Interrupt Status Register 0 */
-#define MXVR_INT_STAT_1 0xFFC02714 /* MXVR Interrupt Status Register 1 */
-
-#define MXVR_INT_EN_0 0xFFC02718 /* MXVR Interrupt Enable Register 0 */
-#define MXVR_INT_EN_1 0xFFC0271C /* MXVR Interrupt Enable Register 1 */
-
-#define MXVR_POSITION 0xFFC02720 /* MXVR Node Position Register */
-#define MXVR_MAX_POSITION 0xFFC02724 /* MXVR Maximum Node Position Register */
-
-#define MXVR_DELAY 0xFFC02728 /* MXVR Node Frame Delay Register */
-#define MXVR_MAX_DELAY 0xFFC0272C /* MXVR Maximum Node Frame Delay Register */
-
-#define MXVR_LADDR 0xFFC02730 /* MXVR Logical Address Register */
-#define MXVR_GADDR 0xFFC02734 /* MXVR Group Address Register */
-#define MXVR_AADDR 0xFFC02738 /* MXVR Alternate Address Register */
-
-#define MXVR_ALLOC_0 0xFFC0273C /* MXVR Allocation Table Register 0 */
-#define MXVR_ALLOC_1 0xFFC02740 /* MXVR Allocation Table Register 1 */
-#define MXVR_ALLOC_2 0xFFC02744 /* MXVR Allocation Table Register 2 */
-#define MXVR_ALLOC_3 0xFFC02748 /* MXVR Allocation Table Register 3 */
-#define MXVR_ALLOC_4 0xFFC0274C /* MXVR Allocation Table Register 4 */
-#define MXVR_ALLOC_5 0xFFC02750 /* MXVR Allocation Table Register 5 */
-#define MXVR_ALLOC_6 0xFFC02754 /* MXVR Allocation Table Register 6 */
-#define MXVR_ALLOC_7 0xFFC02758 /* MXVR Allocation Table Register 7 */
-#define MXVR_ALLOC_8 0xFFC0275C /* MXVR Allocation Table Register 8 */
-#define MXVR_ALLOC_9 0xFFC02760 /* MXVR Allocation Table Register 9 */
-#define MXVR_ALLOC_10 0xFFC02764 /* MXVR Allocation Table Register 10 */
-#define MXVR_ALLOC_11 0xFFC02768 /* MXVR Allocation Table Register 11 */
-#define MXVR_ALLOC_12 0xFFC0276C /* MXVR Allocation Table Register 12 */
-#define MXVR_ALLOC_13 0xFFC02770 /* MXVR Allocation Table Register 13 */
-#define MXVR_ALLOC_14 0xFFC02774 /* MXVR Allocation Table Register 14 */
-
-#define MXVR_SYNC_LCHAN_0 0xFFC02778 /* MXVR Sync Data Logical Channel Assign Register 0 */
-#define MXVR_SYNC_LCHAN_1 0xFFC0277C /* MXVR Sync Data Logical Channel Assign Register 1 */
-#define MXVR_SYNC_LCHAN_2 0xFFC02780 /* MXVR Sync Data Logical Channel Assign Register 2 */
-#define MXVR_SYNC_LCHAN_3 0xFFC02784 /* MXVR Sync Data Logical Channel Assign Register 3 */
-#define MXVR_SYNC_LCHAN_4 0xFFC02788 /* MXVR Sync Data Logical Channel Assign Register 4 */
-#define MXVR_SYNC_LCHAN_5 0xFFC0278C /* MXVR Sync Data Logical Channel Assign Register 5 */
-#define MXVR_SYNC_LCHAN_6 0xFFC02790 /* MXVR Sync Data Logical Channel Assign Register 6 */
-#define MXVR_SYNC_LCHAN_7 0xFFC02794 /* MXVR Sync Data Logical Channel Assign Register 7 */
-
-#define MXVR_DMA0_CONFIG 0xFFC02798 /* MXVR Sync Data DMA0 Config Register */
-#define MXVR_DMA0_START_ADDR 0xFFC0279C /* MXVR Sync Data DMA0 Start Address Register */
-#define MXVR_DMA0_COUNT 0xFFC027A0 /* MXVR Sync Data DMA0 Loop Count Register */
-#define MXVR_DMA0_CURR_ADDR 0xFFC027A4 /* MXVR Sync Data DMA0 Current Address Register */
-#define MXVR_DMA0_CURR_COUNT 0xFFC027A8 /* MXVR Sync Data DMA0 Current Loop Count Register */
-
-#define MXVR_DMA1_CONFIG 0xFFC027AC /* MXVR Sync Data DMA1 Config Register */
-#define MXVR_DMA1_START_ADDR 0xFFC027B0 /* MXVR Sync Data DMA1 Start Address Register */
-#define MXVR_DMA1_COUNT 0xFFC027B4 /* MXVR Sync Data DMA1 Loop Count Register */
-#define MXVR_DMA1_CURR_ADDR 0xFFC027B8 /* MXVR Sync Data DMA1 Current Address Register */
-#define MXVR_DMA1_CURR_COUNT 0xFFC027BC /* MXVR Sync Data DMA1 Current Loop Count Register */
-
-#define MXVR_DMA2_CONFIG 0xFFC027C0 /* MXVR Sync Data DMA2 Config Register */
-#define MXVR_DMA2_START_ADDR 0xFFC027C4 /* MXVR Sync Data DMA2 Start Address Register */
-#define MXVR_DMA2_COUNT 0xFFC027C8 /* MXVR Sync Data DMA2 Loop Count Register */
-#define MXVR_DMA2_CURR_ADDR 0xFFC027CC /* MXVR Sync Data DMA2 Current Address Register */
-#define MXVR_DMA2_CURR_COUNT 0xFFC027D0 /* MXVR Sync Data DMA2 Current Loop Count Register */
-
-#define MXVR_DMA3_CONFIG 0xFFC027D4 /* MXVR Sync Data DMA3 Config Register */
-#define MXVR_DMA3_START_ADDR 0xFFC027D8 /* MXVR Sync Data DMA3 Start Address Register */
-#define MXVR_DMA3_COUNT 0xFFC027DC /* MXVR Sync Data DMA3 Loop Count Register */
-#define MXVR_DMA3_CURR_ADDR 0xFFC027E0 /* MXVR Sync Data DMA3 Current Address Register */
-#define MXVR_DMA3_CURR_COUNT 0xFFC027E4 /* MXVR Sync Data DMA3 Current Loop Count Register */
-
-#define MXVR_DMA4_CONFIG 0xFFC027E8 /* MXVR Sync Data DMA4 Config Register */
-#define MXVR_DMA4_START_ADDR 0xFFC027EC /* MXVR Sync Data DMA4 Start Address Register */
-#define MXVR_DMA4_COUNT 0xFFC027F0 /* MXVR Sync Data DMA4 Loop Count Register */
-#define MXVR_DMA4_CURR_ADDR 0xFFC027F4 /* MXVR Sync Data DMA4 Current Address Register */
-#define MXVR_DMA4_CURR_COUNT 0xFFC027F8 /* MXVR Sync Data DMA4 Current Loop Count Register */
-
-#define MXVR_DMA5_CONFIG 0xFFC027FC /* MXVR Sync Data DMA5 Config Register */
-#define MXVR_DMA5_START_ADDR 0xFFC02800 /* MXVR Sync Data DMA5 Start Address Register */
-#define MXVR_DMA5_COUNT 0xFFC02804 /* MXVR Sync Data DMA5 Loop Count Register */
-#define MXVR_DMA5_CURR_ADDR 0xFFC02808 /* MXVR Sync Data DMA5 Current Address Register */
-#define MXVR_DMA5_CURR_COUNT 0xFFC0280C /* MXVR Sync Data DMA5 Current Loop Count Register */
-
-#define MXVR_DMA6_CONFIG 0xFFC02810 /* MXVR Sync Data DMA6 Config Register */
-#define MXVR_DMA6_START_ADDR 0xFFC02814 /* MXVR Sync Data DMA6 Start Address Register */
-#define MXVR_DMA6_COUNT 0xFFC02818 /* MXVR Sync Data DMA6 Loop Count Register */
-#define MXVR_DMA6_CURR_ADDR 0xFFC0281C /* MXVR Sync Data DMA6 Current Address Register */
-#define MXVR_DMA6_CURR_COUNT 0xFFC02820 /* MXVR Sync Data DMA6 Current Loop Count Register */
-
-#define MXVR_DMA7_CONFIG 0xFFC02824 /* MXVR Sync Data DMA7 Config Register */
-#define MXVR_DMA7_START_ADDR 0xFFC02828 /* MXVR Sync Data DMA7 Start Address Register */
-#define MXVR_DMA7_COUNT 0xFFC0282C /* MXVR Sync Data DMA7 Loop Count Register */
-#define MXVR_DMA7_CURR_ADDR 0xFFC02830 /* MXVR Sync Data DMA7 Current Address Register */
-#define MXVR_DMA7_CURR_COUNT 0xFFC02834 /* MXVR Sync Data DMA7 Current Loop Count Register */
-
-#define MXVR_AP_CTL 0xFFC02838 /* MXVR Async Packet Control Register */
-#define MXVR_APRB_START_ADDR 0xFFC0283C /* MXVR Async Packet RX Buffer Start Addr Register */
-#define MXVR_APRB_CURR_ADDR 0xFFC02840 /* MXVR Async Packet RX Buffer Current Addr Register */
-#define MXVR_APTB_START_ADDR 0xFFC02844 /* MXVR Async Packet TX Buffer Start Addr Register */
-#define MXVR_APTB_CURR_ADDR 0xFFC02848 /* MXVR Async Packet TX Buffer Current Addr Register */
-
-#define MXVR_CM_CTL 0xFFC0284C /* MXVR Control Message Control Register */
-#define MXVR_CMRB_START_ADDR 0xFFC02850 /* MXVR Control Message RX Buffer Start Addr Register */
-#define MXVR_CMRB_CURR_ADDR 0xFFC02854 /* MXVR Control Message RX Buffer Current Address */
-#define MXVR_CMTB_START_ADDR 0xFFC02858 /* MXVR Control Message TX Buffer Start Addr Register */
-#define MXVR_CMTB_CURR_ADDR 0xFFC0285C /* MXVR Control Message TX Buffer Current Address */
-
-#define MXVR_RRDB_START_ADDR 0xFFC02860 /* MXVR Remote Read Buffer Start Addr Register */
-#define MXVR_RRDB_CURR_ADDR 0xFFC02864 /* MXVR Remote Read Buffer Current Addr Register */
-
-#define MXVR_PAT_DATA_0 0xFFC02868 /* MXVR Pattern Data Register 0 */
-#define MXVR_PAT_EN_0 0xFFC0286C /* MXVR Pattern Enable Register 0 */
-#define MXVR_PAT_DATA_1 0xFFC02870 /* MXVR Pattern Data Register 1 */
-#define MXVR_PAT_EN_1 0xFFC02874 /* MXVR Pattern Enable Register 1 */
-
-#define MXVR_FRAME_CNT_0 0xFFC02878 /* MXVR Frame Counter 0 */
-#define MXVR_FRAME_CNT_1 0xFFC0287C /* MXVR Frame Counter 1 */
-
-#define MXVR_ROUTING_0 0xFFC02880 /* MXVR Routing Table Register 0 */
-#define MXVR_ROUTING_1 0xFFC02884 /* MXVR Routing Table Register 1 */
-#define MXVR_ROUTING_2 0xFFC02888 /* MXVR Routing Table Register 2 */
-#define MXVR_ROUTING_3 0xFFC0288C /* MXVR Routing Table Register 3 */
-#define MXVR_ROUTING_4 0xFFC02890 /* MXVR Routing Table Register 4 */
-#define MXVR_ROUTING_5 0xFFC02894 /* MXVR Routing Table Register 5 */
-#define MXVR_ROUTING_6 0xFFC02898 /* MXVR Routing Table Register 6 */
-#define MXVR_ROUTING_7 0xFFC0289C /* MXVR Routing Table Register 7 */
-#define MXVR_ROUTING_8 0xFFC028A0 /* MXVR Routing Table Register 8 */
-#define MXVR_ROUTING_9 0xFFC028A4 /* MXVR Routing Table Register 9 */
-#define MXVR_ROUTING_10 0xFFC028A8 /* MXVR Routing Table Register 10 */
-#define MXVR_ROUTING_11 0xFFC028AC /* MXVR Routing Table Register 11 */
-#define MXVR_ROUTING_12 0xFFC028B0 /* MXVR Routing Table Register 12 */
-#define MXVR_ROUTING_13 0xFFC028B4 /* MXVR Routing Table Register 13 */
-#define MXVR_ROUTING_14 0xFFC028B8 /* MXVR Routing Table Register 14 */
-
-#define MXVR_PLL_CTL_1 0xFFC028BC /* MXVR Phase Lock Loop Control Register 1 */
-#define MXVR_BLOCK_CNT 0xFFC028C0 /* MXVR Block Counter */
-#define MXVR_PLL_CTL_2 0xFFC028C4 /* MXVR Phase Lock Loop Control Register 2 */
-
-
-/* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */
-/* For Mailboxes 0-15 */
-#define CAN_MC1 0xFFC02A00 /* Mailbox config reg 1 */
-#define CAN_MD1 0xFFC02A04 /* Mailbox direction reg 1 */
-#define CAN_TRS1 0xFFC02A08 /* Transmit Request Set reg 1 */
-#define CAN_TRR1 0xFFC02A0C /* Transmit Request Reset reg 1 */
-#define CAN_TA1 0xFFC02A10 /* Transmit Acknowledge reg 1 */
-#define CAN_AA1 0xFFC02A14 /* Transmit Abort Acknowledge reg 1 */
-#define CAN_RMP1 0xFFC02A18 /* Receive Message Pending reg 1 */
-#define CAN_RML1 0xFFC02A1C /* Receive Message Lost reg 1 */
-#define CAN_MBTIF1 0xFFC02A20 /* Mailbox Transmit Interrupt Flag reg 1 */
-#define CAN_MBRIF1 0xFFC02A24 /* Mailbox Receive Interrupt Flag reg 1 */
-#define CAN_MBIM1 0xFFC02A28 /* Mailbox Interrupt Mask reg 1 */
-#define CAN_RFH1 0xFFC02A2C /* Remote Frame Handling reg 1 */
-#define CAN_OPSS1 0xFFC02A30 /* Overwrite Protection Single Shot Xmission reg 1 */
-
-/* For Mailboxes 16-31 */
-#define CAN_MC2 0xFFC02A40 /* Mailbox config reg 2 */
-#define CAN_MD2 0xFFC02A44 /* Mailbox direction reg 2 */
-#define CAN_TRS2 0xFFC02A48 /* Transmit Request Set reg 2 */
-#define CAN_TRR2 0xFFC02A4C /* Transmit Request Reset reg 2 */
-#define CAN_TA2 0xFFC02A50 /* Transmit Acknowledge reg 2 */
-#define CAN_AA2 0xFFC02A54 /* Transmit Abort Acknowledge reg 2 */
-#define CAN_RMP2 0xFFC02A58 /* Receive Message Pending reg 2 */
-#define CAN_RML2 0xFFC02A5C /* Receive Message Lost reg 2 */
-#define CAN_MBTIF2 0xFFC02A60 /* Mailbox Transmit Interrupt Flag reg 2 */
-#define CAN_MBRIF2 0xFFC02A64 /* Mailbox Receive Interrupt Flag reg 2 */
-#define CAN_MBIM2 0xFFC02A68 /* Mailbox Interrupt Mask reg 2 */
-#define CAN_RFH2 0xFFC02A6C /* Remote Frame Handling reg 2 */
-#define CAN_OPSS2 0xFFC02A70 /* Overwrite Protection Single Shot Xmission reg 2 */
-
-#define CAN_CLOCK 0xFFC02A80 /* Bit Timing Configuration register 0 */
-#define CAN_TIMING 0xFFC02A84 /* Bit Timing Configuration register 1 */
-
-#define CAN_DEBUG 0xFFC02A88 /* Debug Register */
-/* the following is for backwards compatibility */
-#define CAN_CNF CAN_DEBUG
-
-#define CAN_STATUS 0xFFC02A8C /* Global Status Register */
-#define CAN_CEC 0xFFC02A90 /* Error Counter Register */
-#define CAN_GIS 0xFFC02A94 /* Global Interrupt Status Register */
-#define CAN_GIM 0xFFC02A98 /* Global Interrupt Mask Register */
-#define CAN_GIF 0xFFC02A9C /* Global Interrupt Flag Register */
-#define CAN_CONTROL 0xFFC02AA0 /* Master Control Register */
-#define CAN_INTR 0xFFC02AA4 /* Interrupt Pending Register */
-#define CAN_MBTD 0xFFC02AAC /* Mailbox Temporary Disable Feature */
-#define CAN_EWR 0xFFC02AB0 /* Programmable Warning Level */
-#define CAN_ESR 0xFFC02AB4 /* Error Status Register */
-#define CAN_UCCNT 0xFFC02AC4 /* Universal Counter */
-#define CAN_UCRC 0xFFC02AC8 /* Universal Counter Reload/Capture Register */
-#define CAN_UCCNF 0xFFC02ACC /* Universal Counter Configuration Register */
-
-/* Mailbox Acceptance Masks */
-#define CAN_AM00L 0xFFC02B00 /* Mailbox 0 Low Acceptance Mask */
-#define CAN_AM00H 0xFFC02B04 /* Mailbox 0 High Acceptance Mask */
-#define CAN_AM01L 0xFFC02B08 /* Mailbox 1 Low Acceptance Mask */
-#define CAN_AM01H 0xFFC02B0C /* Mailbox 1 High Acceptance Mask */
-#define CAN_AM02L 0xFFC02B10 /* Mailbox 2 Low Acceptance Mask */
-#define CAN_AM02H 0xFFC02B14 /* Mailbox 2 High Acceptance Mask */
-#define CAN_AM03L 0xFFC02B18 /* Mailbox 3 Low Acceptance Mask */
-#define CAN_AM03H 0xFFC02B1C /* Mailbox 3 High Acceptance Mask */
-#define CAN_AM04L 0xFFC02B20 /* Mailbox 4 Low Acceptance Mask */
-#define CAN_AM04H 0xFFC02B24 /* Mailbox 4 High Acceptance Mask */
-#define CAN_AM05L 0xFFC02B28 /* Mailbox 5 Low Acceptance Mask */
-#define CAN_AM05H 0xFFC02B2C /* Mailbox 5 High Acceptance Mask */
-#define CAN_AM06L 0xFFC02B30 /* Mailbox 6 Low Acceptance Mask */
-#define CAN_AM06H 0xFFC02B34 /* Mailbox 6 High Acceptance Mask */
-#define CAN_AM07L 0xFFC02B38 /* Mailbox 7 Low Acceptance Mask */
-#define CAN_AM07H 0xFFC02B3C /* Mailbox 7 High Acceptance Mask */
-#define CAN_AM08L 0xFFC02B40 /* Mailbox 8 Low Acceptance Mask */
-#define CAN_AM08H 0xFFC02B44 /* Mailbox 8 High Acceptance Mask */
-#define CAN_AM09L 0xFFC02B48 /* Mailbox 9 Low Acceptance Mask */
-#define CAN_AM09H 0xFFC02B4C /* Mailbox 9 High Acceptance Mask */
-#define CAN_AM10L 0xFFC02B50 /* Mailbox 10 Low Acceptance Mask */
-#define CAN_AM10H 0xFFC02B54 /* Mailbox 10 High Acceptance Mask */
-#define CAN_AM11L 0xFFC02B58 /* Mailbox 11 Low Acceptance Mask */
-#define CAN_AM11H 0xFFC02B5C /* Mailbox 11 High Acceptance Mask */
-#define CAN_AM12L 0xFFC02B60 /* Mailbox 12 Low Acceptance Mask */
-#define CAN_AM12H 0xFFC02B64 /* Mailbox 12 High Acceptance Mask */
-#define CAN_AM13L 0xFFC02B68 /* Mailbox 13 Low Acceptance Mask */
-#define CAN_AM13H 0xFFC02B6C /* Mailbox 13 High Acceptance Mask */
-#define CAN_AM14L 0xFFC02B70 /* Mailbox 14 Low Acceptance Mask */
-#define CAN_AM14H 0xFFC02B74 /* Mailbox 14 High Acceptance Mask */
-#define CAN_AM15L 0xFFC02B78 /* Mailbox 15 Low Acceptance Mask */
-#define CAN_AM15H 0xFFC02B7C /* Mailbox 15 High Acceptance Mask */
-
-#define CAN_AM16L 0xFFC02B80 /* Mailbox 16 Low Acceptance Mask */
-#define CAN_AM16H 0xFFC02B84 /* Mailbox 16 High Acceptance Mask */
-#define CAN_AM17L 0xFFC02B88 /* Mailbox 17 Low Acceptance Mask */
-#define CAN_AM17H 0xFFC02B8C /* Mailbox 17 High Acceptance Mask */
-#define CAN_AM18L 0xFFC02B90 /* Mailbox 18 Low Acceptance Mask */
-#define CAN_AM18H 0xFFC02B94 /* Mailbox 18 High Acceptance Mask */
-#define CAN_AM19L 0xFFC02B98 /* Mailbox 19 Low Acceptance Mask */
-#define CAN_AM19H 0xFFC02B9C /* Mailbox 19 High Acceptance Mask */
-#define CAN_AM20L 0xFFC02BA0 /* Mailbox 20 Low Acceptance Mask */
-#define CAN_AM20H 0xFFC02BA4 /* Mailbox 20 High Acceptance Mask */
-#define CAN_AM21L 0xFFC02BA8 /* Mailbox 21 Low Acceptance Mask */
-#define CAN_AM21H 0xFFC02BAC /* Mailbox 21 High Acceptance Mask */
-#define CAN_AM22L 0xFFC02BB0 /* Mailbox 22 Low Acceptance Mask */
-#define CAN_AM22H 0xFFC02BB4 /* Mailbox 22 High Acceptance Mask */
-#define CAN_AM23L 0xFFC02BB8 /* Mailbox 23 Low Acceptance Mask */
-#define CAN_AM23H 0xFFC02BBC /* Mailbox 23 High Acceptance Mask */
-#define CAN_AM24L 0xFFC02BC0 /* Mailbox 24 Low Acceptance Mask */
-#define CAN_AM24H 0xFFC02BC4 /* Mailbox 24 High Acceptance Mask */
-#define CAN_AM25L 0xFFC02BC8 /* Mailbox 25 Low Acceptance Mask */
-#define CAN_AM25H 0xFFC02BCC /* Mailbox 25 High Acceptance Mask */
-#define CAN_AM26L 0xFFC02BD0 /* Mailbox 26 Low Acceptance Mask */
-#define CAN_AM26H 0xFFC02BD4 /* Mailbox 26 High Acceptance Mask */
-#define CAN_AM27L 0xFFC02BD8 /* Mailbox 27 Low Acceptance Mask */
-#define CAN_AM27H 0xFFC02BDC /* Mailbox 27 High Acceptance Mask */
-#define CAN_AM28L 0xFFC02BE0 /* Mailbox 28 Low Acceptance Mask */
-#define CAN_AM28H 0xFFC02BE4 /* Mailbox 28 High Acceptance Mask */
-#define CAN_AM29L 0xFFC02BE8 /* Mailbox 29 Low Acceptance Mask */
-#define CAN_AM29H 0xFFC02BEC /* Mailbox 29 High Acceptance Mask */
-#define CAN_AM30L 0xFFC02BF0 /* Mailbox 30 Low Acceptance Mask */
-#define CAN_AM30H 0xFFC02BF4 /* Mailbox 30 High Acceptance Mask */
-#define CAN_AM31L 0xFFC02BF8 /* Mailbox 31 Low Acceptance Mask */
-#define CAN_AM31H 0xFFC02BFC /* Mailbox 31 High Acceptance Mask */
-
-/* CAN Acceptance Mask Macros */
-#define CAN_AM_L(x) (CAN_AM00L+((x)*0x8))
-#define CAN_AM_H(x) (CAN_AM00H+((x)*0x8))
-
-/* Mailbox Registers */
-#define CAN_MB00_DATA0 0xFFC02C00 /* Mailbox 0 Data Word 0 [15:0] Register */
-#define CAN_MB00_DATA1 0xFFC02C04 /* Mailbox 0 Data Word 1 [31:16] Register */
-#define CAN_MB00_DATA2 0xFFC02C08 /* Mailbox 0 Data Word 2 [47:32] Register */
-#define CAN_MB00_DATA3 0xFFC02C0C /* Mailbox 0 Data Word 3 [63:48] Register */
-#define CAN_MB00_LENGTH 0xFFC02C10 /* Mailbox 0 Data Length Code Register */
-#define CAN_MB00_TIMESTAMP 0xFFC02C14 /* Mailbox 0 Time Stamp Value Register */
-#define CAN_MB00_ID0 0xFFC02C18 /* Mailbox 0 Identifier Low Register */
-#define CAN_MB00_ID1 0xFFC02C1C /* Mailbox 0 Identifier High Register */
-
-#define CAN_MB01_DATA0 0xFFC02C20 /* Mailbox 1 Data Word 0 [15:0] Register */
-#define CAN_MB01_DATA1 0xFFC02C24 /* Mailbox 1 Data Word 1 [31:16] Register */
-#define CAN_MB01_DATA2 0xFFC02C28 /* Mailbox 1 Data Word 2 [47:32] Register */
-#define CAN_MB01_DATA3 0xFFC02C2C /* Mailbox 1 Data Word 3 [63:48] Register */
-#define CAN_MB01_LENGTH 0xFFC02C30 /* Mailbox 1 Data Length Code Register */
-#define CAN_MB01_TIMESTAMP 0xFFC02C34 /* Mailbox 1 Time Stamp Value Register */
-#define CAN_MB01_ID0 0xFFC02C38 /* Mailbox 1 Identifier Low Register */
-#define CAN_MB01_ID1 0xFFC02C3C /* Mailbox 1 Identifier High Register */
-
-#define CAN_MB02_DATA0 0xFFC02C40 /* Mailbox 2 Data Word 0 [15:0] Register */
-#define CAN_MB02_DATA1 0xFFC02C44 /* Mailbox 2 Data Word 1 [31:16] Register */
-#define CAN_MB02_DATA2 0xFFC02C48 /* Mailbox 2 Data Word 2 [47:32] Register */
-#define CAN_MB02_DATA3 0xFFC02C4C /* Mailbox 2 Data Word 3 [63:48] Register */
-#define CAN_MB02_LENGTH 0xFFC02C50 /* Mailbox 2 Data Length Code Register */
-#define CAN_MB02_TIMESTAMP 0xFFC02C54 /* Mailbox 2 Time Stamp Value Register */
-#define CAN_MB02_ID0 0xFFC02C58 /* Mailbox 2 Identifier Low Register */
-#define CAN_MB02_ID1 0xFFC02C5C /* Mailbox 2 Identifier High Register */
-
-#define CAN_MB03_DATA0 0xFFC02C60 /* Mailbox 3 Data Word 0 [15:0] Register */
-#define CAN_MB03_DATA1 0xFFC02C64 /* Mailbox 3 Data Word 1 [31:16] Register */
-#define CAN_MB03_DATA2 0xFFC02C68 /* Mailbox 3 Data Word 2 [47:32] Register */
-#define CAN_MB03_DATA3 0xFFC02C6C /* Mailbox 3 Data Word 3 [63:48] Register */
-#define CAN_MB03_LENGTH 0xFFC02C70 /* Mailbox 3 Data Length Code Register */
-#define CAN_MB03_TIMESTAMP 0xFFC02C74 /* Mailbox 3 Time Stamp Value Register */
-#define CAN_MB03_ID0 0xFFC02C78 /* Mailbox 3 Identifier Low Register */
-#define CAN_MB03_ID1 0xFFC02C7C /* Mailbox 3 Identifier High Register */
-
-#define CAN_MB04_DATA0 0xFFC02C80 /* Mailbox 4 Data Word 0 [15:0] Register */
-#define CAN_MB04_DATA1 0xFFC02C84 /* Mailbox 4 Data Word 1 [31:16] Register */
-#define CAN_MB04_DATA2 0xFFC02C88 /* Mailbox 4 Data Word 2 [47:32] Register */
-#define CAN_MB04_DATA3 0xFFC02C8C /* Mailbox 4 Data Word 3 [63:48] Register */
-#define CAN_MB04_LENGTH 0xFFC02C90 /* Mailbox 4 Data Length Code Register */
-#define CAN_MB04_TIMESTAMP 0xFFC02C94 /* Mailbox 4 Time Stamp Value Register */
-#define CAN_MB04_ID0 0xFFC02C98 /* Mailbox 4 Identifier Low Register */
-#define CAN_MB04_ID1 0xFFC02C9C /* Mailbox 4 Identifier High Register */
-
-#define CAN_MB05_DATA0 0xFFC02CA0 /* Mailbox 5 Data Word 0 [15:0] Register */
-#define CAN_MB05_DATA1 0xFFC02CA4 /* Mailbox 5 Data Word 1 [31:16] Register */
-#define CAN_MB05_DATA2 0xFFC02CA8 /* Mailbox 5 Data Word 2 [47:32] Register */
-#define CAN_MB05_DATA3 0xFFC02CAC /* Mailbox 5 Data Word 3 [63:48] Register */
-#define CAN_MB05_LENGTH 0xFFC02CB0 /* Mailbox 5 Data Length Code Register */
-#define CAN_MB05_TIMESTAMP 0xFFC02CB4 /* Mailbox 5 Time Stamp Value Register */
-#define CAN_MB05_ID0 0xFFC02CB8 /* Mailbox 5 Identifier Low Register */
-#define CAN_MB05_ID1 0xFFC02CBC /* Mailbox 5 Identifier High Register */
-
-#define CAN_MB06_DATA0 0xFFC02CC0 /* Mailbox 6 Data Word 0 [15:0] Register */
-#define CAN_MB06_DATA1 0xFFC02CC4 /* Mailbox 6 Data Word 1 [31:16] Register */
-#define CAN_MB06_DATA2 0xFFC02CC8 /* Mailbox 6 Data Word 2 [47:32] Register */
-#define CAN_MB06_DATA3 0xFFC02CCC /* Mailbox 6 Data Word 3 [63:48] Register */
-#define CAN_MB06_LENGTH 0xFFC02CD0 /* Mailbox 6 Data Length Code Register */
-#define CAN_MB06_TIMESTAMP 0xFFC02CD4 /* Mailbox 6 Time Stamp Value Register */
-#define CAN_MB06_ID0 0xFFC02CD8 /* Mailbox 6 Identifier Low Register */
-#define CAN_MB06_ID1 0xFFC02CDC /* Mailbox 6 Identifier High Register */
-
-#define CAN_MB07_DATA0 0xFFC02CE0 /* Mailbox 7 Data Word 0 [15:0] Register */
-#define CAN_MB07_DATA1 0xFFC02CE4 /* Mailbox 7 Data Word 1 [31:16] Register */
-#define CAN_MB07_DATA2 0xFFC02CE8 /* Mailbox 7 Data Word 2 [47:32] Register */
-#define CAN_MB07_DATA3 0xFFC02CEC /* Mailbox 7 Data Word 3 [63:48] Register */
-#define CAN_MB07_LENGTH 0xFFC02CF0 /* Mailbox 7 Data Length Code Register */
-#define CAN_MB07_TIMESTAMP 0xFFC02CF4 /* Mailbox 7 Time Stamp Value Register */
-#define CAN_MB07_ID0 0xFFC02CF8 /* Mailbox 7 Identifier Low Register */
-#define CAN_MB07_ID1 0xFFC02CFC /* Mailbox 7 Identifier High Register */
-
-#define CAN_MB08_DATA0 0xFFC02D00 /* Mailbox 8 Data Word 0 [15:0] Register */
-#define CAN_MB08_DATA1 0xFFC02D04 /* Mailbox 8 Data Word 1 [31:16] Register */
-#define CAN_MB08_DATA2 0xFFC02D08 /* Mailbox 8 Data Word 2 [47:32] Register */
-#define CAN_MB08_DATA3 0xFFC02D0C /* Mailbox 8 Data Word 3 [63:48] Register */
-#define CAN_MB08_LENGTH 0xFFC02D10 /* Mailbox 8 Data Length Code Register */
-#define CAN_MB08_TIMESTAMP 0xFFC02D14 /* Mailbox 8 Time Stamp Value Register */
-#define CAN_MB08_ID0 0xFFC02D18 /* Mailbox 8 Identifier Low Register */
-#define CAN_MB08_ID1 0xFFC02D1C /* Mailbox 8 Identifier High Register */
-
-#define CAN_MB09_DATA0 0xFFC02D20 /* Mailbox 9 Data Word 0 [15:0] Register */
-#define CAN_MB09_DATA1 0xFFC02D24 /* Mailbox 9 Data Word 1 [31:16] Register */
-#define CAN_MB09_DATA2 0xFFC02D28 /* Mailbox 9 Data Word 2 [47:32] Register */
-#define CAN_MB09_DATA3 0xFFC02D2C /* Mailbox 9 Data Word 3 [63:48] Register */
-#define CAN_MB09_LENGTH 0xFFC02D30 /* Mailbox 9 Data Length Code Register */
-#define CAN_MB09_TIMESTAMP 0xFFC02D34 /* Mailbox 9 Time Stamp Value Register */
-#define CAN_MB09_ID0 0xFFC02D38 /* Mailbox 9 Identifier Low Register */
-#define CAN_MB09_ID1 0xFFC02D3C /* Mailbox 9 Identifier High Register */
-
-#define CAN_MB10_DATA0 0xFFC02D40 /* Mailbox 10 Data Word 0 [15:0] Register */
-#define CAN_MB10_DATA1 0xFFC02D44 /* Mailbox 10 Data Word 1 [31:16] Register */
-#define CAN_MB10_DATA2 0xFFC02D48 /* Mailbox 10 Data Word 2 [47:32] Register */
-#define CAN_MB10_DATA3 0xFFC02D4C /* Mailbox 10 Data Word 3 [63:48] Register */
-#define CAN_MB10_LENGTH 0xFFC02D50 /* Mailbox 10 Data Length Code Register */
-#define CAN_MB10_TIMESTAMP 0xFFC02D54 /* Mailbox 10 Time Stamp Value Register */
-#define CAN_MB10_ID0 0xFFC02D58 /* Mailbox 10 Identifier Low Register */
-#define CAN_MB10_ID1 0xFFC02D5C /* Mailbox 10 Identifier High Register */
-
-#define CAN_MB11_DATA0 0xFFC02D60 /* Mailbox 11 Data Word 0 [15:0] Register */
-#define CAN_MB11_DATA1 0xFFC02D64 /* Mailbox 11 Data Word 1 [31:16] Register */
-#define CAN_MB11_DATA2 0xFFC02D68 /* Mailbox 11 Data Word 2 [47:32] Register */
-#define CAN_MB11_DATA3 0xFFC02D6C /* Mailbox 11 Data Word 3 [63:48] Register */
-#define CAN_MB11_LENGTH 0xFFC02D70 /* Mailbox 11 Data Length Code Register */
-#define CAN_MB11_TIMESTAMP 0xFFC02D74 /* Mailbox 11 Time Stamp Value Register */
-#define CAN_MB11_ID0 0xFFC02D78 /* Mailbox 11 Identifier Low Register */
-#define CAN_MB11_ID1 0xFFC02D7C /* Mailbox 11 Identifier High Register */
-
-#define CAN_MB12_DATA0 0xFFC02D80 /* Mailbox 12 Data Word 0 [15:0] Register */
-#define CAN_MB12_DATA1 0xFFC02D84 /* Mailbox 12 Data Word 1 [31:16] Register */
-#define CAN_MB12_DATA2 0xFFC02D88 /* Mailbox 12 Data Word 2 [47:32] Register */
-#define CAN_MB12_DATA3 0xFFC02D8C /* Mailbox 12 Data Word 3 [63:48] Register */
-#define CAN_MB12_LENGTH 0xFFC02D90 /* Mailbox 12 Data Length Code Register */
-#define CAN_MB12_TIMESTAMP 0xFFC02D94 /* Mailbox 12 Time Stamp Value Register */
-#define CAN_MB12_ID0 0xFFC02D98 /* Mailbox 12 Identifier Low Register */
-#define CAN_MB12_ID1 0xFFC02D9C /* Mailbox 12 Identifier High Register */
-
-#define CAN_MB13_DATA0 0xFFC02DA0 /* Mailbox 13 Data Word 0 [15:0] Register */
-#define CAN_MB13_DATA1 0xFFC02DA4 /* Mailbox 13 Data Word 1 [31:16] Register */
-#define CAN_MB13_DATA2 0xFFC02DA8 /* Mailbox 13 Data Word 2 [47:32] Register */
-#define CAN_MB13_DATA3 0xFFC02DAC /* Mailbox 13 Data Word 3 [63:48] Register */
-#define CAN_MB13_LENGTH 0xFFC02DB0 /* Mailbox 13 Data Length Code Register */
-#define CAN_MB13_TIMESTAMP 0xFFC02DB4 /* Mailbox 13 Time Stamp Value Register */
-#define CAN_MB13_ID0 0xFFC02DB8 /* Mailbox 13 Identifier Low Register */
-#define CAN_MB13_ID1 0xFFC02DBC /* Mailbox 13 Identifier High Register */
-
-#define CAN_MB14_DATA0 0xFFC02DC0 /* Mailbox 14 Data Word 0 [15:0] Register */
-#define CAN_MB14_DATA1 0xFFC02DC4 /* Mailbox 14 Data Word 1 [31:16] Register */
-#define CAN_MB14_DATA2 0xFFC02DC8 /* Mailbox 14 Data Word 2 [47:32] Register */
-#define CAN_MB14_DATA3 0xFFC02DCC /* Mailbox 14 Data Word 3 [63:48] Register */
-#define CAN_MB14_LENGTH 0xFFC02DD0 /* Mailbox 14 Data Length Code Register */
-#define CAN_MB14_TIMESTAMP 0xFFC02DD4 /* Mailbox 14 Time Stamp Value Register */
-#define CAN_MB14_ID0 0xFFC02DD8 /* Mailbox 14 Identifier Low Register */
-#define CAN_MB14_ID1 0xFFC02DDC /* Mailbox 14 Identifier High Register */
-
-#define CAN_MB15_DATA0 0xFFC02DE0 /* Mailbox 15 Data Word 0 [15:0] Register */
-#define CAN_MB15_DATA1 0xFFC02DE4 /* Mailbox 15 Data Word 1 [31:16] Register */
-#define CAN_MB15_DATA2 0xFFC02DE8 /* Mailbox 15 Data Word 2 [47:32] Register */
-#define CAN_MB15_DATA3 0xFFC02DEC /* Mailbox 15 Data Word 3 [63:48] Register */
-#define CAN_MB15_LENGTH 0xFFC02DF0 /* Mailbox 15 Data Length Code Register */
-#define CAN_MB15_TIMESTAMP 0xFFC02DF4 /* Mailbox 15 Time Stamp Value Register */
-#define CAN_MB15_ID0 0xFFC02DF8 /* Mailbox 15 Identifier Low Register */
-#define CAN_MB15_ID1 0xFFC02DFC /* Mailbox 15 Identifier High Register */
-
-#define CAN_MB16_DATA0 0xFFC02E00 /* Mailbox 16 Data Word 0 [15:0] Register */
-#define CAN_MB16_DATA1 0xFFC02E04 /* Mailbox 16 Data Word 1 [31:16] Register */
-#define CAN_MB16_DATA2 0xFFC02E08 /* Mailbox 16 Data Word 2 [47:32] Register */
-#define CAN_MB16_DATA3 0xFFC02E0C /* Mailbox 16 Data Word 3 [63:48] Register */
-#define CAN_MB16_LENGTH 0xFFC02E10 /* Mailbox 16 Data Length Code Register */
-#define CAN_MB16_TIMESTAMP 0xFFC02E14 /* Mailbox 16 Time Stamp Value Register */
-#define CAN_MB16_ID0 0xFFC02E18 /* Mailbox 16 Identifier Low Register */
-#define CAN_MB16_ID1 0xFFC02E1C /* Mailbox 16 Identifier High Register */
-
-#define CAN_MB17_DATA0 0xFFC02E20 /* Mailbox 17 Data Word 0 [15:0] Register */
-#define CAN_MB17_DATA1 0xFFC02E24 /* Mailbox 17 Data Word 1 [31:16] Register */
-#define CAN_MB17_DATA2 0xFFC02E28 /* Mailbox 17 Data Word 2 [47:32] Register */
-#define CAN_MB17_DATA3 0xFFC02E2C /* Mailbox 17 Data Word 3 [63:48] Register */
-#define CAN_MB17_LENGTH 0xFFC02E30 /* Mailbox 17 Data Length Code Register */
-#define CAN_MB17_TIMESTAMP 0xFFC02E34 /* Mailbox 17 Time Stamp Value Register */
-#define CAN_MB17_ID0 0xFFC02E38 /* Mailbox 17 Identifier Low Register */
-#define CAN_MB17_ID1 0xFFC02E3C /* Mailbox 17 Identifier High Register */
-
-#define CAN_MB18_DATA0 0xFFC02E40 /* Mailbox 18 Data Word 0 [15:0] Register */
-#define CAN_MB18_DATA1 0xFFC02E44 /* Mailbox 18 Data Word 1 [31:16] Register */
-#define CAN_MB18_DATA2 0xFFC02E48 /* Mailbox 18 Data Word 2 [47:32] Register */
-#define CAN_MB18_DATA3 0xFFC02E4C /* Mailbox 18 Data Word 3 [63:48] Register */
-#define CAN_MB18_LENGTH 0xFFC02E50 /* Mailbox 18 Data Length Code Register */
-#define CAN_MB18_TIMESTAMP 0xFFC02E54 /* Mailbox 18 Time Stamp Value Register */
-#define CAN_MB18_ID0 0xFFC02E58 /* Mailbox 18 Identifier Low Register */
-#define CAN_MB18_ID1 0xFFC02E5C /* Mailbox 18 Identifier High Register */
-
-#define CAN_MB19_DATA0 0xFFC02E60 /* Mailbox 19 Data Word 0 [15:0] Register */
-#define CAN_MB19_DATA1 0xFFC02E64 /* Mailbox 19 Data Word 1 [31:16] Register */
-#define CAN_MB19_DATA2 0xFFC02E68 /* Mailbox 19 Data Word 2 [47:32] Register */
-#define CAN_MB19_DATA3 0xFFC02E6C /* Mailbox 19 Data Word 3 [63:48] Register */
-#define CAN_MB19_LENGTH 0xFFC02E70 /* Mailbox 19 Data Length Code Register */
-#define CAN_MB19_TIMESTAMP 0xFFC02E74 /* Mailbox 19 Time Stamp Value Register */
-#define CAN_MB19_ID0 0xFFC02E78 /* Mailbox 19 Identifier Low Register */
-#define CAN_MB19_ID1 0xFFC02E7C /* Mailbox 19 Identifier High Register */
-
-#define CAN_MB20_DATA0 0xFFC02E80 /* Mailbox 20 Data Word 0 [15:0] Register */
-#define CAN_MB20_DATA1 0xFFC02E84 /* Mailbox 20 Data Word 1 [31:16] Register */
-#define CAN_MB20_DATA2 0xFFC02E88 /* Mailbox 20 Data Word 2 [47:32] Register */
-#define CAN_MB20_DATA3 0xFFC02E8C /* Mailbox 20 Data Word 3 [63:48] Register */
-#define CAN_MB20_LENGTH 0xFFC02E90 /* Mailbox 20 Data Length Code Register */
-#define CAN_MB20_TIMESTAMP 0xFFC02E94 /* Mailbox 20 Time Stamp Value Register */
-#define CAN_MB20_ID0 0xFFC02E98 /* Mailbox 20 Identifier Low Register */
-#define CAN_MB20_ID1 0xFFC02E9C /* Mailbox 20 Identifier High Register */
-
-#define CAN_MB21_DATA0 0xFFC02EA0 /* Mailbox 21 Data Word 0 [15:0] Register */
-#define CAN_MB21_DATA1 0xFFC02EA4 /* Mailbox 21 Data Word 1 [31:16] Register */
-#define CAN_MB21_DATA2 0xFFC02EA8 /* Mailbox 21 Data Word 2 [47:32] Register */
-#define CAN_MB21_DATA3 0xFFC02EAC /* Mailbox 21 Data Word 3 [63:48] Register */
-#define CAN_MB21_LENGTH 0xFFC02EB0 /* Mailbox 21 Data Length Code Register */
-#define CAN_MB21_TIMESTAMP 0xFFC02EB4 /* Mailbox 21 Time Stamp Value Register */
-#define CAN_MB21_ID0 0xFFC02EB8 /* Mailbox 21 Identifier Low Register */
-#define CAN_MB21_ID1 0xFFC02EBC /* Mailbox 21 Identifier High Register */
-
-#define CAN_MB22_DATA0 0xFFC02EC0 /* Mailbox 22 Data Word 0 [15:0] Register */
-#define CAN_MB22_DATA1 0xFFC02EC4 /* Mailbox 22 Data Word 1 [31:16] Register */
-#define CAN_MB22_DATA2 0xFFC02EC8 /* Mailbox 22 Data Word 2 [47:32] Register */
-#define CAN_MB22_DATA3 0xFFC02ECC /* Mailbox 22 Data Word 3 [63:48] Register */
-#define CAN_MB22_LENGTH 0xFFC02ED0 /* Mailbox 22 Data Length Code Register */
-#define CAN_MB22_TIMESTAMP 0xFFC02ED4 /* Mailbox 22 Time Stamp Value Register */
-#define CAN_MB22_ID0 0xFFC02ED8 /* Mailbox 22 Identifier Low Register */
-#define CAN_MB22_ID1 0xFFC02EDC /* Mailbox 22 Identifier High Register */
-
-#define CAN_MB23_DATA0 0xFFC02EE0 /* Mailbox 23 Data Word 0 [15:0] Register */
-#define CAN_MB23_DATA1 0xFFC02EE4 /* Mailbox 23 Data Word 1 [31:16] Register */
-#define CAN_MB23_DATA2 0xFFC02EE8 /* Mailbox 23 Data Word 2 [47:32] Register */
-#define CAN_MB23_DATA3 0xFFC02EEC /* Mailbox 23 Data Word 3 [63:48] Register */
-#define CAN_MB23_LENGTH 0xFFC02EF0 /* Mailbox 23 Data Length Code Register */
-#define CAN_MB23_TIMESTAMP 0xFFC02EF4 /* Mailbox 23 Time Stamp Value Register */
-#define CAN_MB23_ID0 0xFFC02EF8 /* Mailbox 23 Identifier Low Register */
-#define CAN_MB23_ID1 0xFFC02EFC /* Mailbox 23 Identifier High Register */
-
-#define CAN_MB24_DATA0 0xFFC02F00 /* Mailbox 24 Data Word 0 [15:0] Register */
-#define CAN_MB24_DATA1 0xFFC02F04 /* Mailbox 24 Data Word 1 [31:16] Register */
-#define CAN_MB24_DATA2 0xFFC02F08 /* Mailbox 24 Data Word 2 [47:32] Register */
-#define CAN_MB24_DATA3 0xFFC02F0C /* Mailbox 24 Data Word 3 [63:48] Register */
-#define CAN_MB24_LENGTH 0xFFC02F10 /* Mailbox 24 Data Length Code Register */
-#define CAN_MB24_TIMESTAMP 0xFFC02F14 /* Mailbox 24 Time Stamp Value Register */
-#define CAN_MB24_ID0 0xFFC02F18 /* Mailbox 24 Identifier Low Register */
-#define CAN_MB24_ID1 0xFFC02F1C /* Mailbox 24 Identifier High Register */
-
-#define CAN_MB25_DATA0 0xFFC02F20 /* Mailbox 25 Data Word 0 [15:0] Register */
-#define CAN_MB25_DATA1 0xFFC02F24 /* Mailbox 25 Data Word 1 [31:16] Register */
-#define CAN_MB25_DATA2 0xFFC02F28 /* Mailbox 25 Data Word 2 [47:32] Register */
-#define CAN_MB25_DATA3 0xFFC02F2C /* Mailbox 25 Data Word 3 [63:48] Register */
-#define CAN_MB25_LENGTH 0xFFC02F30 /* Mailbox 25 Data Length Code Register */
-#define CAN_MB25_TIMESTAMP 0xFFC02F34 /* Mailbox 25 Time Stamp Value Register */
-#define CAN_MB25_ID0 0xFFC02F38 /* Mailbox 25 Identifier Low Register */
-#define CAN_MB25_ID1 0xFFC02F3C /* Mailbox 25 Identifier High Register */
-
-#define CAN_MB26_DATA0 0xFFC02F40 /* Mailbox 26 Data Word 0 [15:0] Register */
-#define CAN_MB26_DATA1 0xFFC02F44 /* Mailbox 26 Data Word 1 [31:16] Register */
-#define CAN_MB26_DATA2 0xFFC02F48 /* Mailbox 26 Data Word 2 [47:32] Register */
-#define CAN_MB26_DATA3 0xFFC02F4C /* Mailbox 26 Data Word 3 [63:48] Register */
-#define CAN_MB26_LENGTH 0xFFC02F50 /* Mailbox 26 Data Length Code Register */
-#define CAN_MB26_TIMESTAMP 0xFFC02F54 /* Mailbox 26 Time Stamp Value Register */
-#define CAN_MB26_ID0 0xFFC02F58 /* Mailbox 26 Identifier Low Register */
-#define CAN_MB26_ID1 0xFFC02F5C /* Mailbox 26 Identifier High Register */
-
-#define CAN_MB27_DATA0 0xFFC02F60 /* Mailbox 27 Data Word 0 [15:0] Register */
-#define CAN_MB27_DATA1 0xFFC02F64 /* Mailbox 27 Data Word 1 [31:16] Register */
-#define CAN_MB27_DATA2 0xFFC02F68 /* Mailbox 27 Data Word 2 [47:32] Register */
-#define CAN_MB27_DATA3 0xFFC02F6C /* Mailbox 27 Data Word 3 [63:48] Register */
-#define CAN_MB27_LENGTH 0xFFC02F70 /* Mailbox 27 Data Length Code Register */
-#define CAN_MB27_TIMESTAMP 0xFFC02F74 /* Mailbox 27 Time Stamp Value Register */
-#define CAN_MB27_ID0 0xFFC02F78 /* Mailbox 27 Identifier Low Register */
-#define CAN_MB27_ID1 0xFFC02F7C /* Mailbox 27 Identifier High Register */
-
-#define CAN_MB28_DATA0 0xFFC02F80 /* Mailbox 28 Data Word 0 [15:0] Register */
-#define CAN_MB28_DATA1 0xFFC02F84 /* Mailbox 28 Data Word 1 [31:16] Register */
-#define CAN_MB28_DATA2 0xFFC02F88 /* Mailbox 28 Data Word 2 [47:32] Register */
-#define CAN_MB28_DATA3 0xFFC02F8C /* Mailbox 28 Data Word 3 [63:48] Register */
-#define CAN_MB28_LENGTH 0xFFC02F90 /* Mailbox 28 Data Length Code Register */
-#define CAN_MB28_TIMESTAMP 0xFFC02F94 /* Mailbox 28 Time Stamp Value Register */
-#define CAN_MB28_ID0 0xFFC02F98 /* Mailbox 28 Identifier Low Register */
-#define CAN_MB28_ID1 0xFFC02F9C /* Mailbox 28 Identifier High Register */
-
-#define CAN_MB29_DATA0 0xFFC02FA0 /* Mailbox 29 Data Word 0 [15:0] Register */
-#define CAN_MB29_DATA1 0xFFC02FA4 /* Mailbox 29 Data Word 1 [31:16] Register */
-#define CAN_MB29_DATA2 0xFFC02FA8 /* Mailbox 29 Data Word 2 [47:32] Register */
-#define CAN_MB29_DATA3 0xFFC02FAC /* Mailbox 29 Data Word 3 [63:48] Register */
-#define CAN_MB29_LENGTH 0xFFC02FB0 /* Mailbox 29 Data Length Code Register */
-#define CAN_MB29_TIMESTAMP 0xFFC02FB4 /* Mailbox 29 Time Stamp Value Register */
-#define CAN_MB29_ID0 0xFFC02FB8 /* Mailbox 29 Identifier Low Register */
-#define CAN_MB29_ID1 0xFFC02FBC /* Mailbox 29 Identifier High Register */
-
-#define CAN_MB30_DATA0 0xFFC02FC0 /* Mailbox 30 Data Word 0 [15:0] Register */
-#define CAN_MB30_DATA1 0xFFC02FC4 /* Mailbox 30 Data Word 1 [31:16] Register */
-#define CAN_MB30_DATA2 0xFFC02FC8 /* Mailbox 30 Data Word 2 [47:32] Register */
-#define CAN_MB30_DATA3 0xFFC02FCC /* Mailbox 30 Data Word 3 [63:48] Register */
-#define CAN_MB30_LENGTH 0xFFC02FD0 /* Mailbox 30 Data Length Code Register */
-#define CAN_MB30_TIMESTAMP 0xFFC02FD4 /* Mailbox 30 Time Stamp Value Register */
-#define CAN_MB30_ID0 0xFFC02FD8 /* Mailbox 30 Identifier Low Register */
-#define CAN_MB30_ID1 0xFFC02FDC /* Mailbox 30 Identifier High Register */
-
-#define CAN_MB31_DATA0 0xFFC02FE0 /* Mailbox 31 Data Word 0 [15:0] Register */
-#define CAN_MB31_DATA1 0xFFC02FE4 /* Mailbox 31 Data Word 1 [31:16] Register */
-#define CAN_MB31_DATA2 0xFFC02FE8 /* Mailbox 31 Data Word 2 [47:32] Register */
-#define CAN_MB31_DATA3 0xFFC02FEC /* Mailbox 31 Data Word 3 [63:48] Register */
-#define CAN_MB31_LENGTH 0xFFC02FF0 /* Mailbox 31 Data Length Code Register */
-#define CAN_MB31_TIMESTAMP 0xFFC02FF4 /* Mailbox 31 Time Stamp Value Register */
-#define CAN_MB31_ID0 0xFFC02FF8 /* Mailbox 31 Identifier Low Register */
-#define CAN_MB31_ID1 0xFFC02FFC /* Mailbox 31 Identifier High Register */
-
-/* CAN Mailbox Area Macros */
-#define CAN_MB_ID1(x) (CAN_MB00_ID1+((x)*0x20))
-#define CAN_MB_ID0(x) (CAN_MB00_ID0+((x)*0x20))
-#define CAN_MB_TIMESTAMP(x) (CAN_MB00_TIMESTAMP+((x)*0x20))
-#define CAN_MB_LENGTH(x) (CAN_MB00_LENGTH+((x)*0x20))
-#define CAN_MB_DATA3(x) (CAN_MB00_DATA3+((x)*0x20))
-#define CAN_MB_DATA2(x) (CAN_MB00_DATA2+((x)*0x20))
-#define CAN_MB_DATA1(x) (CAN_MB00_DATA1+((x)*0x20))
-#define CAN_MB_DATA0(x) (CAN_MB00_DATA0+((x)*0x20))
-
-
-/*********************************************************************************** */
-/* System MMR Register Bits and Macros */
-/******************************************************************************* */
-
-/* ********************* PLL AND RESET MASKS ************************ */
-/* PLL_CTL Masks */
-#define PLL_CLKIN 0x0000 /* Pass CLKIN to PLL */
-#define PLL_CLKIN_DIV2 0x0001 /* Pass CLKIN/2 to PLL */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* Shut off PLL clocks */
-#define STOPCK_OFF 0x0008 /* Core clock off */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Put the PLL in a Deep Sleep state */
-#define IN_DELAY 0x0014 /* EBIU Input Delay Select */
-#define OUT_DELAY 0x00C0 /* EBIU Output Delay Select */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-
-/* PLL_CTL Macros */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#define SET_OUT_DELAY(x) (((x)&0x03u) << 0x6)
-#define SET_IN_DELAY(x) ((((x)&0x02u) << 0x3) | (((x)&0x01u) << 0x2))
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#define SET_OUT_DELAY(x) (((x)&0x03) << 0x6)
-#define SET_IN_DELAY(x) ((((x)&0x02) << 0x3) | (((x)&0x01) << 0x2))
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-#define SCLK_DIV(x) (x) /* SCLK = VCO / x */
-
-#define CCLK_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CCLK_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CCLK_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CCLK_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-
-/* VR_CTL Masks */
-#define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-#define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */
-#define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */
-#define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */
-
-#define GAIN 0x000C /* Voltage Level Gain */
-#define GAIN_5 0x0000 /* GAIN = 5 */
-#define GAIN_10 0x0004 /* GAIN = 10 */
-#define GAIN_20 0x0008 /* GAIN = 20 */
-#define GAIN_50 0x000C /* GAIN = 50 */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_100 0x0090 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x00A0 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x00B0 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00C0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00D0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_125 0x00E0 /* VLEV = 1.25 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_130 0x00F0 /* VLEV = 1.30 V (See Datasheet for Regulator Tolerance) */
-
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-#define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */
-#define MXVRWE 0x0400 /* Enable MXVR Wakeup From Hibernate */
-#define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */
-
-/* SWRST Mask */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-#define BMODE 0x0006 /* Boot Mode - Latched During HW Reset From Mode Pins */
-#define NOBOOT 0x0010 /* Execute From L1 or ASYNC Bank 0 When BMODE = 0 */
-
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS ***************** */
-
-/* Peripheral Masks For SIC0_ISR, SIC0_IWR, SIC0_IMASK */
-#define PLL_WAKEUP_IRQ 0x00000001 /* PLL Wakeup Interrupt Request */
-#define DMAC0_ERR_IRQ 0x00000002 /* DMA Controller 0 Error Interrupt Request */
-#define PPI_ERR_IRQ 0x00000004 /* PPI Error Interrupt Request */
-#define SPORT0_ERR_IRQ 0x00000008 /* SPORT0 Error Interrupt Request */
-#define SPORT1_ERR_IRQ 0x00000010 /* SPORT1 Error Interrupt Request */
-#define SPI0_ERR_IRQ 0x00000020 /* SPI0 Error Interrupt Request */
-#define UART0_ERR_IRQ 0x00000040 /* UART0 Error Interrupt Request */
-#define RTC_IRQ 0x00000080 /* Real-Time Clock Interrupt Request */
-#define DMA0_IRQ 0x00000100 /* DMA Channel 0 (PPI) Interrupt Request */
-#define DMA1_IRQ 0x00000200 /* DMA Channel 1 (SPORT0 RX) Interrupt Request */
-#define DMA2_IRQ 0x00000400 /* DMA Channel 2 (SPORT0 TX) Interrupt Request */
-#define DMA3_IRQ 0x00000800 /* DMA Channel 3 (SPORT1 RX) Interrupt Request */
-#define DMA4_IRQ 0x00001000 /* DMA Channel 4 (SPORT1 TX) Interrupt Request */
-#define DMA5_IRQ 0x00002000 /* DMA Channel 5 (SPI) Interrupt Request */
-#define DMA6_IRQ 0x00004000 /* DMA Channel 6 (UART RX) Interrupt Request */
-#define DMA7_IRQ 0x00008000 /* DMA Channel 7 (UART TX) Interrupt Request */
-#define TIMER0_IRQ 0x00010000 /* Timer 0 Interrupt Request */
-#define TIMER1_IRQ 0x00020000 /* Timer 1 Interrupt Request */
-#define TIMER2_IRQ 0x00040000 /* Timer 2 Interrupt Request */
-#define PFA_IRQ 0x00080000 /* Programmable Flag Interrupt Request A */
-#define PFB_IRQ 0x00100000 /* Programmable Flag Interrupt Request B */
-#define MDMA0_0_IRQ 0x00200000 /* MemDMA0 Stream 0 Interrupt Request */
-#define MDMA0_1_IRQ 0x00400000 /* MemDMA0 Stream 1 Interrupt Request */
-#define WDOG_IRQ 0x00800000 /* Software Watchdog Timer Interrupt Request */
-#define DMAC1_ERR_IRQ 0x01000000 /* DMA Controller 1 Error Interrupt Request */
-#define SPORT2_ERR_IRQ 0x02000000 /* SPORT2 Error Interrupt Request */
-#define SPORT3_ERR_IRQ 0x04000000 /* SPORT3 Error Interrupt Request */
-#define MXVR_SD_IRQ 0x08000000 /* MXVR Synchronous Data Interrupt Request */
-#define SPI1_ERR_IRQ 0x10000000 /* SPI1 Error Interrupt Request */
-#define SPI2_ERR_IRQ 0x20000000 /* SPI2 Error Interrupt Request */
-#define UART1_ERR_IRQ 0x40000000 /* UART1 Error Interrupt Request */
-#define UART2_ERR_IRQ 0x80000000 /* UART2 Error Interrupt Request */
-
-/* the following are for backwards compatibility */
-#define DMA0_ERR_IRQ DMAC0_ERR_IRQ
-#define DMA1_ERR_IRQ DMAC1_ERR_IRQ
-
-
-/* Peripheral Masks For SIC_ISR1, SIC_IWR1, SIC_IMASK1 */
-#define CAN_ERR_IRQ 0x00000001 /* CAN Error Interrupt Request */
-#define DMA8_IRQ 0x00000002 /* DMA Channel 8 (SPORT2 RX) Interrupt Request */
-#define DMA9_IRQ 0x00000004 /* DMA Channel 9 (SPORT2 TX) Interrupt Request */
-#define DMA10_IRQ 0x00000008 /* DMA Channel 10 (SPORT3 RX) Interrupt Request */
-#define DMA11_IRQ 0x00000010 /* DMA Channel 11 (SPORT3 TX) Interrupt Request */
-#define DMA12_IRQ 0x00000020 /* DMA Channel 12 Interrupt Request */
-#define DMA13_IRQ 0x00000040 /* DMA Channel 13 Interrupt Request */
-#define DMA14_IRQ 0x00000080 /* DMA Channel 14 (SPI1) Interrupt Request */
-#define DMA15_IRQ 0x00000100 /* DMA Channel 15 (SPI2) Interrupt Request */
-#define DMA16_IRQ 0x00000200 /* DMA Channel 16 (UART1 RX) Interrupt Request */
-#define DMA17_IRQ 0x00000400 /* DMA Channel 17 (UART1 TX) Interrupt Request */
-#define DMA18_IRQ 0x00000800 /* DMA Channel 18 (UART2 RX) Interrupt Request */
-#define DMA19_IRQ 0x00001000 /* DMA Channel 19 (UART2 TX) Interrupt Request */
-#define TWI0_IRQ 0x00002000 /* TWI0 Interrupt Request */
-#define TWI1_IRQ 0x00004000 /* TWI1 Interrupt Request */
-#define CAN_RX_IRQ 0x00008000 /* CAN Receive Interrupt Request */
-#define CAN_TX_IRQ 0x00010000 /* CAN Transmit Interrupt Request */
-#define MDMA1_0_IRQ 0x00020000 /* MemDMA1 Stream 0 Interrupt Request */
-#define MDMA1_1_IRQ 0x00040000 /* MemDMA1 Stream 1 Interrupt Request */
-#define MXVR_STAT_IRQ 0x00080000 /* MXVR Status Interrupt Request */
-#define MXVR_CM_IRQ 0x00100000 /* MXVR Control Message Interrupt Request */
-#define MXVR_AP_IRQ 0x00200000 /* MXVR Asynchronous Packet Interrupt */
-
-/* the following are for backwards compatibility */
-#define MDMA0_IRQ MDMA1_0_IRQ
-#define MDMA1_IRQ MDMA1_1_IRQ
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #11 assigned IVG #x */
-#define P12_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P32_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P40_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR6 Macros */
-#define P48_IVG(x) (((x)-_MF7)&_MF15) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) (((x)-_MF7)&_MF15) << 0x4 /* Peripheral #49 assigned IVG #x */
-#define P50_IVG(x) (((x)-_MF7)&_MF15) << 0x8 /* Peripheral #50 assigned IVG #x */
-#define P51_IVG(x) (((x)-_MF7)&_MF15) << 0xC /* Peripheral #51 assigned IVG #x */
-#define P52_IVG(x) (((x)-_MF7)&_MF15) << 0x10 /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) (((x)-_MF7)&_MF15) << 0x14 /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) (((x)-_MF7)&_MF15) << 0x18 /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) (((x)-_MF7)&_MF15) << 0x1C /* Peripheral #55 assigned IVG #x */
-
-/* SIC_IARx Macros */
-
-#ifdef _MISRA_RULES
-#define PX_IVG_CLR(x) (0xFFFFFFFFu ^ (0xFu << (((x)%8)*4))) /* Clear IVG Select for Peripheral #x */
-/* Usage: *pSIC_IAR1 &= PX_IVG_CLR(11); // Clears IVG Level of Peripheral #11 */
-#define PX_IVG(x,y) ((((y)-7u)&0xFu) << (((x)%8)*4)) /* Set IVG Select to #y for Peripheral #x */
-/* Usage: *pSIC_IAR1 |= PX_IVG(11, 8); // Sets Peripheral #11 to IVG8 */
-#else
-#define PX_IVG_CLR(x) (0xFFFFFFFF ^ (0xF << (((x)%8)*4))) /* Clear IVG Select for Peripheral #x */
-/* Usage: *pSIC_IAR1 &= PX_IVG_CLR(11); // Clears IVG Level of Peripheral #11 */
-#define PX_IVG(x,y) ((((y)-7)&0xF) << (((x)%8)*4)) /* Set IVG Select to #y for Peripheral #x */
-/* Usage: *pSIC_IAR1 |= PX_IVG(11, 8); // Sets Peripheral #11 to IVG8 */
-#endif /* _MISRA_RULES */
-
-/* SIC_IMASKx Masks*/
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-#ifdef _MISRA_RULES
-#define SIC_MASK(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWRx Masks*/
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-#ifdef _MISRA_RULES
-#define IWR_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-/* Watchdog Timer WDOG_CTL Register Masks */
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* deprecated WDOG_CTL Register Masks for legacy code */
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define WDOG_DISABLE WDDIS
-#define TRO WDRO
-
-#define ICTL_P0 0x01
-#define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-/* *************** REAL TIME CLOCK MASKS **************************/
-/* RTC_STAT and RTC_ALARM register */
-#define RTSEC 0x0000003F /* Real-Time Clock Seconds */
-#define RTMIN 0x00000FC0 /* Real-Time Clock Minutes */
-#define RTHR 0x0001F000 /* Real-Time Clock Hours */
-#define RTDAY 0xFFFE0000 /* Real-Time Clock Days */
-
-/* RTC_ICTL register */
-#define SWIE 0x0001 /* Stopwatch Interrupt Enable */
-#define AIE 0x0002 /* Alarm Interrupt Enable */
-#define SIE 0x0004 /* Seconds (1 Hz) Interrupt Enable */
-#define MIE 0x0008 /* Minutes Interrupt Enable */
-#define HIE 0x0010 /* Hours Interrupt Enable */
-#define DIE 0x0020 /* 24 Hours (Days) Interrupt Enable */
-#define DAIE 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WCIE 0x8000 /* Write Complete Interrupt Enable */
-
-/* RTC_ISTAT register */
-#define SWEF 0x0001 /* Stopwatch Event Flag */
-#define AEF 0x0002 /* Alarm Event Flag */
-#define SEF 0x0004 /* Seconds (1 Hz) Event Flag */
-#define MEF 0x0008 /* Minutes Event Flag */
-#define HEF 0x0010 /* Hours Event Flag */
-#define DEF 0x0020 /* 24 Hours (Days) Event Flag */
-#define DAEF 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Event Flag */
-#define WPS 0x4000 /* Write Pending Status (RO) */
-#define WCOM 0x8000 /* Write Complete */
-
-/* RTC_FAST Mask (RTC_PREN Mask) */
-#define ENABLE_PRESCALE 0x00000001 /* Enable prescaler so RTC runs at 1 Hz */
-#define PREN 0x00000001
- /* ** Must be set after power-up for proper operation of RTC */
-
-/* RTC_ALARM Macro z=day y=hr x=min w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* Deprecated RTC_STAT and RTC_ALARM Masks */
-#define RTC_SEC RTSEC /* Real-Time Clock Seconds */
-#define RTC_MIN RTMIN /* Real-Time Clock Minutes */
-#define RTC_HR RTHR /* Real-Time Clock Hours */
-#define RTC_DAY RTDAY /* Real-Time Clock Days */
-
-/* Deprecated RTC_ICTL/RTC_ISTAT Masks */
-#define STOPWATCH SWIE /* Stopwatch Interrupt Enable */
-#define ALARM AIE /* Alarm Interrupt Enable */
-#define SECOND SIE /* Seconds (1 Hz) Interrupt Enable */
-#define MINUTE MIE /* Minutes Interrupt Enable */
-#define HOUR HIE /* Hours Interrupt Enable */
-#define DAY DIE /* 24 Hours (Days) Interrupt Enable */
-#define DAY_ALARM DAIE /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
-#define WRITE_COMPLETE WCIE /* Write Complete Interrupt Enable */
-
-
-/* ***************************** UART CONTROLLER MASKS ********************** */
-/* UARTx_LCR Register */
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-#define DLAB_P 0x07
-#define SB_P 0x06
-#define STP_P 0x05
-#define EPS_P 0x04
-#define PEN_P 0x03
-#define STB_P 0x02
-#define WLS_P1 0x01
-#define WLS_P0 0x00
-
-/* UARTx_MCR Register */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-/* Deprecated UARTx_MCR Mask */
-
-/* UARTx_LSR Register */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-#define TEMP_P 0x06
-#define THRE_P 0x05
-#define BI_P 0x04
-#define FE_P 0x03
-#define PE_P 0x02
-#define OE_P 0x01
-#define DR_P 0x00
-
-/* UARTx_IER Register */
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-#define ELSI_P 0x02
-#define ETBEI_P 0x01
-#define ERBFI_P 0x00
-
-/* UARTx_IIR Register */
-#ifdef _MISRA_RULES
-#define STATUS(x) (((x) << 1) & 0x06u)
-#else
-#define STATUS(x) (((x) << 1) & 0x06)
-#endif /* _MISRA_RULES */
-#define NINT 0x01
-#define STATUS_P1 0x02
-#define STATUS_P0 0x01
-#define NINT_P 0x00
-
-/* UARTx_GCTL Register */
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-#define FFE_P 0x05
-#define FPE_P 0x04
-#define RPOLC_P 0x03
-#define TPOLC_P 0x02
-#define IREN_P 0x01
-#define UCEN_P 0x00
-
-
-/* ********** SERIAL PORT MASKS ********************** */
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* TX enable */
-#define ITCLK 0x0002 /* Internal TX Clock Select */
-#define TDTYPE 0x000C /* TX Data Formatting Select */
-#define DTYPE_NORM 0x0000 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* TX Bit Order */
-#define ITFS 0x0200 /* Internal TX Frame Sync Select */
-#define TFSR 0x0400 /* TX Frame Sync Required Select */
-#define DITFS 0x0800 /* Data Independent TX Frame Sync Select */
-#define LTFS 0x1000 /* Low TX Frame Sync Select */
-#define LATFS 0x2000 /* Late TX Frame Sync Select */
-#define TCKFE 0x4000 /* TX Clock Falling Edge Select */
-/* SPORTx_RCR1 Deprecated Masks */
-#define TULAW DTYPE_ULAW /* Compand Using u-Law */
-#define TALAW DTYPE_ALAW /* Compand Using A-Law */
-
-/* SPORTx_TCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#define TXSE 0x0100 /*TX Secondary Enable */
-#define TSFSE 0x0200 /*TX Stereo Frame Sync Enable */
-#define TRFST 0x0400 /*TX Right-First Data Order */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* RX enable */
-#define IRCLK 0x0002 /* Internal RX Clock Select */
-#define RDTYPE 0x000C /* RX Data Formatting Select */
-#define DTYPE_NORM 0x0000 /* no companding */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* RX Bit Order */
-#define IRFS 0x0200 /* Internal RX Frame Sync Select */
-#define RFSR 0x0400 /* RX Frame Sync Required Select */
-#define LRFS 0x1000 /* Low RX Frame Sync Select */
-#define LARFS 0x2000 /* Late RX Frame Sync Select */
-#define RCKFE 0x4000 /* RX Clock Falling Edge Select */
-/* SPORTx_RCR1 Deprecated Masks */
-#define RULAW DTYPE_ULAW /* Compand Using u-Law */
-#define RALAW DTYPE_ALAW /* Compand Using A-Law */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-#define RXSE 0x0100 /*RX Secondary Enable */
-#define RSFSE 0x0200 /*RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /*Right-First Data Order */
-
-/*SPORTx_STAT Masks */
-#define RXNE 0x0001 /*RX FIFO Not Empty Status */
-#define RUVF 0x0002 /*RX Underflow Status */
-#define ROVF 0x0004 /*RX Overflow Status */
-#define TXF 0x0008 /*TX FIFO Full Status */
-#define TUVF 0x0010 /*TX Underflow Status */
-#define TOVF 0x0020 /*TX Overflow Status */
-#define TXHRE 0x0040 /*TX Hold Register Empty */
-
-/*SPORTx_MCMC1 Masks */
-#define WSIZE 0x0000F000 /*Multichannel Window Size Field */
-#define WOFF 0x000003FF /*Multichannel Window Offset Field */
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define SET_WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use SET_WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define SET_WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define SET_WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use SET_WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define SET_WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-
-/*SPORTx_MCMC2 Masks */
-#define MCCRM 0x0003 /*Multichannel Clock Recovery Mode */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /*Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /*Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /*Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /*Multichannel Frame Sync to Data Relationship */
-#define MFD 0xF000 /*Multichannel Frame Delay */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/* ********* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS **************** */
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */
-/* previous versions of defBF539.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLENGTH 0x3800 /* PPI Data Length */
-#define DLEN_8 0x0 /* PPI Data Length mask for DLEN=8 */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#ifdef _MISRA_RULES
-#define DLEN(x) ((((x)-9u) & 0x07u) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#else
-#define DLEN(x) ((((x)-9) & 0x07) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#endif /* _MISRA_RULES */
-#define POL 0xC000 /* PPI Signal Polarities */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-
-/* PPI_STATUS Masks */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/* ********** DMA CONTROLLER MASKS ***********************/
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Word Size 8 bits */
-#define WDSIZE_16 0x0004 /* Word Size 16 bits */
-#define WDSIZE_32 0x0008 /* Word Size 32 bits */
-#define DMA2D 0x0010 /* 2D/1D* Mode */
-#define RESTART 0x0020 /* Restart */
-#define DI_SEL 0x0040 /* Data Interrupt Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE 0x0900 /* Next Descriptor Size */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW 0x7000 /* Flow Control */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-#define DMAEN_P 0x0 /* Channel Enable */
-#define WNR_P 0x1 /* Channel Direction (W/R*) */
-#define DMA2D_P 0x4 /* 2D/1D* Mode */
-#define RESTART_P 0x5 /* Restart */
-#define DI_SEL_P 0x6 /* Data Interrupt Select */
-#define DI_EN_P 0x7 /* Data Interrupt Enable */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Done Indicator */
-#define DMA_ERR 0x0002 /* DMA Error Indicator */
-#define DFETCH 0x0004 /* Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Running Indicator */
-
-#define DMA_DONE_P 0x0 /* DMA Done Indicator */
-#define DMA_ERR_P 0x1 /* DMA Error Indicator */
-#define DFETCH_P 0x2 /* Descriptor Fetch Indicator */
-#define DMA_RUN_P 0x3 /* DMA Running Indicator */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-
-#define CTYPE 0x0040 /* DMA Channel Type Indicator */
-#define CTYPE_P 0x6 /* DMA Channel Type Indicator BIT POSITION */
-#define PCAP8 0x0080 /* DMA 8-bit Operation Indicator */
-#define PCAP16 0x0100 /* DMA 16-bit Operation Indicator */
-#define PCAP32 0x0200 /* DMA 32-bit Operation Indicator */
-#define PCAPWR 0x0400 /* DMA Write Operation Indicator */
-#define PCAPRD 0x0800 /* DMA Read Operation Indicator */
-#define PMAP 0xF000 /* DMA Peripheral Map Field */
-
-/* PMAP Encodings For DMA Controller 0 */
-#define PMAP_PPI 0x0000 /* PMAP PPI Port DMA */
-#define PMAP_SPORT0RX 0x1000 /* PMAP SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x2000 /* PMAP SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x3000 /* PMAP SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x4000 /* PMAP SPORT1 Transmit DMA */
-#define PMAP_SPI0 0x5000 /* PMAP SPI DMA */
-#define PMAP_UART0RX 0x6000 /* PMAP UART Receive DMA */
-#define PMAP_UART0TX 0x7000 /* PMAP UART Transmit DMA */
-
-/* PMAP Encodings For DMA Controller 1 */
-#define PMAP_SPORT2RX 0x0000 /* PMAP SPORT2 Receive DMA */
-#define PMAP_SPORT2TX 0x1000 /* PMAP SPORT2 Transmit DMA */
-#define PMAP_SPORT3RX 0x2000 /* PMAP SPORT3 Receive DMA */
-#define PMAP_SPORT3TX 0x3000 /* PMAP SPORT3 Transmit DMA */
-#define PMAP_SPI1 0x6000 /* PMAP SPI1 DMA */
-#define PMAP_SPI2 0x7000 /* PMAP SPI2 DMA */
-#define PMAP_UART1RX 0x8000 /* PMAP UART1 Receive DMA */
-#define PMAP_UART1TX 0x9000 /* PMAP UART1 Transmit DMA */
-#define PMAP_UART2RX 0xA000 /* PMAP UART2 Receive DMA */
-#define PMAP_UART2TX 0xB000 /* PMAP UART2 Transmit DMA */
-
-
-/* ************* GENERAL PURPOSE TIMER MASKS ******************** */
-/* PWM Timer bit definitions */
-/* TIMER_ENABLE Register */
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-
-#define TIMEN0_P 0x00
-#define TIMEN1_P 0x01
-#define TIMEN2_P 0x02
-
-/* TIMER_DISABLE Register */
-#define TIMDIS0 0x0001 /* Disable Timer 0 */
-#define TIMDIS1 0x0002 /* Disable Timer 1 */
-#define TIMDIS2 0x0004 /* Disable Timer 2 */
-
-#define TIMDIS0_P 0x00
-#define TIMDIS1_P 0x01
-#define TIMDIS2_P 0x02
-
-/* TIMER_STATUS Register */
-#define TIMIL0 0x0001 /* Timer 0 Interrupt */
-#define TIMIL1 0x0002 /* Timer 1 Interrupt */
-#define TIMIL2 0x0004 /* Timer 2 Interrupt */
-#define TOVF_ERR0 0x0010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x0020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x0040 /* Timer 2 Counter Overflow */
-#define TRUN0 0x1000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x2000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x4000 /* Timer 2 Slave Enable Status */
-
-#define TIMIL0_P 0x00
-#define TIMIL1_P 0x01
-#define TIMIL2_P 0x02
-#define TOVF_ERR0_P 0x04
-#define TOVF_ERR1_P 0x05
-#define TOVF_ERR2_P 0x06
-#define TRUN0_P 0x0C
-#define TRUN1_P 0x0D
-#define TRUN2_P 0x0E
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR0_P TOVF_ERR0_P
-#define TOVL_ERR1_P TOVF_ERR1_P
-#define TOVL_ERR2_P TOVF_ERR2_P
-
-/* TIMERx_CONFIG Registers */
-#define PWM_OUT 0x0001
-#define WDTH_CAP 0x0002
-#define EXT_CLK 0x0003
-#define PULSE_HI 0x0004
-#define PERIOD_CNT 0x0008
-#define IRQ_ENA 0x0010
-#define TIN_SEL 0x0020
-#define OUT_DIS 0x0040
-#define CLK_SEL 0x0080
-#define TOGGLE_HI 0x0100
-#define EMU_RUN 0x0200
-#ifdef _MISRA_RULES
-#define ERR_TYP(x) (((x) & 0x03u) << 14)
-#else
-#define ERR_TYP(x) (((x) & 0x03) << 14)
-#endif /* _MISRA_RULES */
-
-#define TMODE_P0 0x00
-#define TMODE_P1 0x01
-#define PULSE_HI_P 0x02
-#define PERIOD_CNT_P 0x03
-#define IRQ_ENA_P 0x04
-#define TIN_SEL_P 0x05
-#define OUT_DIS_P 0x06
-#define CLK_SEL_P 0x07
-#define TOGGLE_HI_P 0x08
-#define EMU_RUN_P 0x09
-#define ERR_TYP_P0 0x0E
-#define ERR_TYP_P1 0x0F
-
-
-/*/ ****************** GENERAL-PURPOSE I/O ********************* */
-/* Flag I/O (FIO_) Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* PORT F BIT POSITIONS */
-#define PF0_P 0x0
-#define PF1_P 0x1
-#define PF2_P 0x2
-#define PF3_P 0x3
-#define PF4_P 0x4
-#define PF5_P 0x5
-#define PF6_P 0x6
-#define PF7_P 0x7
-#define PF8_P 0x8
-#define PF9_P 0x9
-#define PF10_P 0xA
-#define PF11_P 0xB
-#define PF12_P 0xC
-#define PF13_P 0xD
-#define PF14_P 0xE
-#define PF15_P 0xF
-
-
-/******************* GPIO MASKS *********************/
-/* Port C Masks */
-#define PC0 0x0001
-#define PC1 0x0002
-#define PC4 0x0010
-#define PC5 0x0020
-#define PC6 0x0040
-#define PC7 0x0080
-#define PC8 0x0100
-#define PC9 0x0200
-/* Port C Bit Positions */
-#define PC0_P 0x0
-#define PC1_P 0x1
-#define PC4_P 0x4
-#define PC5_P 0x5
-#define PC6_P 0x6
-#define PC7_P 0x7
-#define PC8_P 0x8
-#define PC9_P 0x9
-
-/* Port D */
-#define PD0 0x0001
-#define PD1 0x0002
-#define PD2 0x0004
-#define PD3 0x0008
-#define PD4 0x0010
-#define PD5 0x0020
-#define PD6 0x0040
-#define PD7 0x0080
-#define PD8 0x0100
-#define PD9 0x0200
-#define PD10 0x0400
-#define PD11 0x0800
-#define PD12 0x1000
-#define PD13 0x2000
-#define PD14 0x4000
-#define PD15 0x8000
-/* Port D Bit Positions */
-#define PD0_P 0x0
-#define PD1_P 0x1
-#define PD2_P 0x2
-#define PD3_P 0x3
-#define PD4_P 0x4
-#define PD5_P 0x5
-#define PD6_P 0x6
-#define PD7_P 0x7
-#define PD8_P 0x8
-#define PD9_P 0x9
-#define PD10_P 0xA
-#define PD11_P 0xB
-#define PD12_P 0xC
-#define PD13_P 0xD
-#define PD14_P 0xE
-#define PD15_P 0xF
-
-/* Port E */
-#define PE0 0x0001
-#define PE1 0x0002
-#define PE2 0x0004
-#define PE3 0x0008
-#define PE4 0x0010
-#define PE5 0x0020
-#define PE6 0x0040
-#define PE7 0x0080
-#define PE8 0x0100
-#define PE9 0x0200
-#define PE10 0x0400
-#define PE11 0x0800
-#define PE12 0x1000
-#define PE13 0x2000
-#define PE14 0x4000
-#define PE15 0x8000
-/* Port E Bit Positions */
-#define PE0_P 0x0
-#define PE1_P 0x1
-#define PE2_P 0x2
-#define PE3_P 0x3
-#define PE4_P 0x4
-#define PE5_P 0x5
-#define PE6_P 0x6
-#define PE7_P 0x7
-#define PE8_P 0x8
-#define PE9_P 0x9
-#define PE10_P 0xA
-#define PE11_P 0xB
-#define PE12_P 0xC
-#define PE13_P 0xD
-#define PE14_P 0xE
-#define PE15_P 0xF
-
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS **************** */
-/* SPIx_CTL Masks */
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPIx_FLG Masks */
-#define FLS1 0x0002 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2 0x0004 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3 0x0008 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4 0x0010 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5 0x0020 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6 0x0040 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7 0x0080 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-#define FLG1 0x0200 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2 0x0400 /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3 0x0800 /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4 0x1000 /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5 0x2000 /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6 0x4000 /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7 0x8000 /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* SPIx_FLG Bit Positions */
-#define FLS1_P 0x0001 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2_P 0x0002 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3_P 0x0003 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4_P 0x0004 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5_P 0x0005 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6_P 0x0006 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7_P 0x0007 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1_P 0x0009 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2_P 0x000A /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3_P 0x000B /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4_P 0x000C /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5_P 0x000D /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6_P 0x000E /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7_P 0x000F /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/* SPIx_STAT Masks */
-#define SPIF 0x0001 /* Set (=1) when SPI single-word transfer complete */
-#define MODF 0x0002 /* Set (=1) in a master device when some other device tries to become master */
-#define TXE 0x0004 /* Set (=1) when transmission occurs with no new data in SPI_TDBR */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (0=Empty, 1=Full) */
-#define RBSY 0x0010 /* Set (=1) when data is received with RDBR full */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (0=Empty, 1=Full) */
-#define TXCOL 0x0040 /* When set (=1), corrupt data may have been transmitted */
-
-/* SPIx_FLG Masks */
-#define FLG1E 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2E 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3E 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4E 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5E 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6E 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7E 0x7FFF /* Activates SPI_FLOUT7 */
-
-
-/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */
-/* EBIU_AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Asynchronous Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Asynchronous Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Asynchronous Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Asynchronous Memory Banks (all) 0, 1, 2, and 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMGCTL Bit Positions */
-#define AMCKEN_P 0x0000 /* Enable CLKOUT */
-#define AMBEN_P0 0x0001 /* Asynchronous Memory Enable, 000 - banks 0-3 disabled, 001 - Bank 0 enabled */
-#define AMBEN_P1 0x0002 /* Asynchronous Memory Enable, 010 - banks 0&1 enabled, 011 - banks 0-3 enabled */
-#define AMBEN_P2 0x0003 /* Asynchronous Memory Enable, 1xx - All banks (bank 0, 1, 2, and 3) enabled */
-
-/* EBIU_AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 RDY Enable, 0=disable, 1=enable */
-#define B0RDYPOL 0x00000002 /* Bank 0 RDY Active high, 0=active low, 1=active high */
-#define B0TT_1 0x00000004 /* Bank 0 Transition Time from Read to Write = 1 cycle */
-#define B0TT_2 0x00000008 /* Bank 0 Transition Time from Read to Write = 2 cycles */
-#define B0TT_3 0x0000000C /* Bank 0 Transition Time from Read to Write = 3 cycles */
-#define B0TT_4 0x00000000 /* Bank 0 Transition Time from Read to Write = 4 cycles */
-#define B0ST_1 0x00000010 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=1 cycle */
-#define B0ST_2 0x00000020 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=2 cycles */
-#define B0ST_3 0x00000030 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=3 cycles */
-#define B0ST_4 0x00000000 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=4 cycles */
-#define B0HT_1 0x00000040 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 1 cycle */
-#define B0HT_2 0x00000080 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 2 cycles */
-#define B0HT_3 0x000000C0 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 3 cycles */
-#define B0HT_0 0x00000000 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 0 cycles */
-#define B0RAT_1 0x00000100 /* Bank 0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* Bank 0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* Bank 0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* Bank 0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* Bank 0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* Bank 0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* Bank 0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* Bank 0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* Bank 0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* Bank 0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* Bank 0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* Bank 0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* Bank 0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* Bank 0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* Bank 0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* Bank 0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* Bank 0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* Bank 0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* Bank 0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* Bank 0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* Bank 0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* Bank 0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* Bank 0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* Bank 0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* Bank 0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* Bank 0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* Bank 0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* Bank 0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* Bank 0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* Bank 0 Write Access Time = 15 cycles */
-#define B1RDYEN 0x00010000 /* Bank 1 RDY enable, 0=disable, 1=enable */
-#define B1RDYPOL 0x00020000 /* Bank 1 RDY Active high, 0=active low, 1=active high */
-#define B1TT_1 0x00040000 /* Bank 1 Transition Time from Read to Write = 1 cycle */
-#define B1TT_2 0x00080000 /* Bank 1 Transition Time from Read to Write = 2 cycles */
-#define B1TT_3 0x000C0000 /* Bank 1 Transition Time from Read to Write = 3 cycles */
-#define B1TT_4 0x00000000 /* Bank 1 Transition Time from Read to Write = 4 cycles */
-#define B1ST_1 0x00100000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B1ST_2 0x00200000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B1ST_3 0x00300000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B1ST_4 0x00000000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B1HT_1 0x00400000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B1HT_2 0x00800000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B1HT_3 0x00C00000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B1HT_0 0x00000000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B1RAT_1 0x01000000 /* Bank 1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* Bank 1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* Bank 1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* Bank 1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* Bank 1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* Bank 1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* Bank 1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* Bank 1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* Bank 1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* Bank 1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* Bank 1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* Bank 1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* Bank 1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* Bank 1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* Bank 1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* Bank 1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* Bank 1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* Bank 1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* Bank 1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* Bank 1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* Bank 1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* Bank 1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* Bank 1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* Bank 1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* Bank 1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* Bank 1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* Bank 1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* Bank 1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* Bank 1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* Bank 1 Write Access Time = 15 cycles */
-
-/* EBIU_AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 RDY Enable, 0=disable, 1=enable */
-#define B2RDYPOL 0x00000002 /* Bank 2 RDY Active high, 0=active low, 1=active high */
-#define B2TT_1 0x00000004 /* Bank 2 Transition Time from Read to Write = 1 cycle */
-#define B2TT_2 0x00000008 /* Bank 2 Transition Time from Read to Write = 2 cycles */
-#define B2TT_3 0x0000000C /* Bank 2 Transition Time from Read to Write = 3 cycles */
-#define B2TT_4 0x00000000 /* Bank 2 Transition Time from Read to Write = 4 cycles */
-#define B2ST_1 0x00000010 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B2ST_2 0x00000020 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B2ST_3 0x00000030 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B2ST_4 0x00000000 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B2HT_1 0x00000040 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B2HT_2 0x00000080 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B2HT_3 0x000000C0 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B2HT_0 0x00000000 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B2RAT_1 0x00000100 /* Bank 2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* Bank 2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* Bank 2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* Bank 2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* Bank 2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* Bank 2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* Bank 2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* Bank 2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* Bank 2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* Bank 2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* Bank 2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* Bank 2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* Bank 2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* Bank 2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* Bank 2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* Bank 2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* Bank 2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* Bank 2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* Bank 2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* Bank 2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* Bank 2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* Bank 2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* Bank 2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* Bank 2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* Bank 2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* Bank 2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* Bank 2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* Bank 2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* Bank 2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* Bank 2 Write Access Time = 15 cycles */
-#define B3RDYEN 0x00010000 /* Bank 3 RDY enable, 0=disable, 1=enable */
-#define B3RDYPOL 0x00020000 /* Bank 3 RDY Active high, 0=active low, 1=active high */
-#define B3TT_1 0x00040000 /* Bank 3 Transition Time from Read to Write = 1 cycle */
-#define B3TT_2 0x00080000 /* Bank 3 Transition Time from Read to Write = 2 cycles */
-#define B3TT_3 0x000C0000 /* Bank 3 Transition Time from Read to Write = 3 cycles */
-#define B3TT_4 0x00000000 /* Bank 3 Transition Time from Read to Write = 4 cycles */
-#define B3ST_1 0x00100000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B3ST_2 0x00200000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B3ST_3 0x00300000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B3ST_4 0x00000000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B3HT_1 0x00400000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B3HT_2 0x00800000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B3HT_3 0x00C00000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B3HT_0 0x00000000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B3RAT_1 0x01000000 /* Bank 3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* Bank 3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* Bank 3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* Bank 3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* Bank 3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* Bank 3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* Bank 3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* Bank 3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* Bank 3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* Bank 3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* Bank 3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* Bank 3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* Bank 3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* Bank 3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* Bank 3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* Bank 3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* Bank 3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* Bank 3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* Bank 3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* Bank 3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* Bank 3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* Bank 3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* Bank 3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* Bank 3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* Bank 3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* Bank 3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* Bank 3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* Bank 3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* Bank 3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* Bank 3 Write Access Time = 15 cycles */
-
-/* ********************** SDRAM CONTROLLER MASKS *************************** */
-/* EBIU_SDGCTL Masks */
-#define SCTLE 0x00000001 /* Enable SCLK[0], /SRAS, /SCAS, /SWE, SDQM[3:0] */
-#define CL_2 0x00000008 /* SDRAM CAS latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS latency = 3 cycles */
-#define PFE 0x00000010 /* Enable SDRAM prefetch */
-#define PFP 0x00000020 /* Prefetch has priority over AMC requests */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define PUPSD 0x00200000 /*Power-up start delay */
-#define PSM 0x00400000 /* SDRAM power-up sequence = Precharge, mode register set, 8 CBR refresh cycles */
-#define PSS 0x00800000 /* enable SDRAM power-up sequence on next SDRAM access */
-#define SRFS 0x01000000 /* Start SDRAM self-refresh mode */
-#define EBUFE 0x02000000 /* Enable external buffering timing */
-#define FBBRW 0x04000000 /* Fast back-to-back read write enable */
-#define EMREN 0x10000000 /* Extended mode register enable */
-#define TCSR 0x20000000 /* Temp compensated self refresh value 85 deg C */
-#define CDDBG 0x40000000 /* Tristate SDRAM controls during bus grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBE 0x0001 /* Enable SDRAM external bank */
-#define EBSZ_16 0x0000 /* SDRAM external bank size = 16MB */
-#define EBSZ_32 0x0002 /* SDRAM external bank size = 32MB */
-#define EBSZ_64 0x0004 /* SDRAM external bank size = 64MB */
-#define EBSZ_128 0x0006 /* SDRAM external bank size = 128MB */
-#define EBSZ 0x0006 /* SDRAM external bank size */
-#define EBCAW_8 0x0000 /* SDRAM external bank column address width = 8 bits */
-#define EBCAW_9 0x0010 /* SDRAM external bank column address width = 9 bits */
-#define EBCAW_10 0x0020 /* SDRAM external bank column address width = 9 bits */
-#define EBCAW_11 0x0030 /* SDRAM external bank column address width = 9 bits */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x00000001 /* SDRAM controller is idle */
-#define SDSRA 0x00000002 /* SDRAM SDRAM self refresh is active */
-#define SDPUA 0x00000004 /* SDRAM power up active */
-#define SDRS 0x00000008 /* SDRAM is in reset state */
-#define SDEASE 0x00000010 /* SDRAM EAB sticky error status - W1C */
-#define BGSTAT 0x00000020 /* Bus granted */
-
-
-/* ******************** TWO-WIRE INTERFACE (TWIx) MASKS ***********************/
-/* TWIx_CLKDIV Macros (Use: *pTWIx_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8) /* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF) /* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWIx_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWIx_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWIx_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWIx_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWIx_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWIx_INT_SRC and TWIx_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWIx_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWIx_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-
-/********************************* MXVR MASKS ****************************************/
-
-/* MXVR_CONFIG Masks */
-
-#define MXVREN 0x00000001lu
-#define MMSM 0x00000002lu
-#define ACTIVE 0x00000004lu
-#define SDELAY 0x00000008lu
-#define NCMRXEN 0x00000010lu
-#define RWRRXEN 0x00000020lu
-#define MTXEN 0x00000040lu
-#define MTXON 0x00000080lu /*legacy*/
-#define MTXONB 0x00000080lu
-#define EPARITY 0x00000100lu
-#define MSB 0x00001E00lu
-#define APRXEN 0x00002000lu
-#define WAKEUP 0x00004000lu
-#define LMECH 0x00008000lu
-
-#ifdef _MISRA_RULES
-#define SET_MSB(x) (((x)&0xFu) << 0x9)
-#else
-#define SET_MSB(x) (((x)&0xF) << 0x9)
-#endif /* _MISRA_RULES */
-
-
-/* MXVR_PLL_CTL_0 Masks */
-
-#define MXTALCEN 0x00000001lu
-#define MXTALFEN 0x00000002lu
-#define MPLLMS 0x00000008lu
-#define MXTALMUL 0x00000030lu
-#define MPLLEN 0x00000040lu
-#define MPLLEN0 0x00000040lu /* legacy */
-#define MPLLEN1 0x00000080lu /* legacy */
-#define MMCLKEN 0x00000100lu
-#define MMCLKMUL 0x00001E00lu
-#define MPLLRSTB 0x00002000lu
-#define MPLLRSTB0 0x00002000lu /* legacy */
-#define MPLLRSTB1 0x00004000lu /* legacy */
-#define MBCLKEN 0x00010000lu
-#define MBCLKDIV 0x001E0000lu
-#define MPLLCDR 0x00200000lu
-#define MPLLCDR0 0x00200000lu /* legacy */
-#define MPLLCDR1 0x00400000lu /* legacy */
-#define INVRX 0x00800000lu
-#define MFSEN 0x01000000lu
-#define MFSDIV 0x1E000000lu
-#define MFSSEL 0x60000000lu
-#define MFSSYNC 0x80000000lu
-
-#define MXTALMUL_256FS 0x00000000lu /* legacy */
-#define MXTALMUL_384FS 0x00000010lu /* legacy */
-#define MXTALMUL_512FS 0x00000020lu /* legacy */
-#define MXTALMUL_1024FS 0x00000030lu
-
-#define MMCLKMUL_1024FS 0x00000000lu
-#define MMCLKMUL_512FS 0x00000200lu
-#define MMCLKMUL_256FS 0x00000400lu
-#define MMCLKMUL_128FS 0x00000600lu
-#define MMCLKMUL_64FS 0x00000800lu
-#define MMCLKMUL_32FS 0x00000A00lu
-#define MMCLKMUL_16FS 0x00000C00lu
-#define MMCLKMUL_8FS 0x00000E00lu
-#define MMCLKMUL_4FS 0x00001000lu
-#define MMCLKMUL_2FS 0x00001200lu
-#define MMCLKMUL_1FS 0x00001400lu
-#define MMCLKMUL_1536FS 0x00001A00lu
-#define MMCLKMUL_768FS 0x00001C00lu
-#define MMCLKMUL_384FS 0x00001E00lu
-
-#define MBCLKDIV_DIV2 0x00020000lu
-#define MBCLKDIV_DIV4 0x00040000lu
-#define MBCLKDIV_DIV8 0x00060000lu
-#define MBCLKDIV_DIV16 0x00080000lu
-#define MBCLKDIV_DIV32 0x000A0000lu
-#define MBCLKDIV_DIV64 0x000C0000lu
-#define MBCLKDIV_DIV128 0x000E0000lu
-#define MBCLKDIV_DIV256 0x00100000lu
-#define MBCLKDIV_DIV512 0x00120000lu
-#define MBCLKDIV_DIV1024 0x00140000lu
-
-#define MFSDIV_DIV2 0x02000000lu
-#define MFSDIV_DIV4 0x04000000lu
-#define MFSDIV_DIV8 0x06000000lu
-#define MFSDIV_DIV16 0x08000000lu
-#define MFSDIV_DIV32 0x0A000000lu
-#define MFSDIV_DIV64 0x0C000000lu
-#define MFSDIV_DIV128 0x0E000000lu
-#define MFSDIV_DIV256 0x10000000lu
-#define MFSDIV_DIV512 0x12000000lu
-#define MFSDIV_DIV1024 0x14000000lu
-
-#define MFSSEL_CLOCK 0x00000000lu
-#define MFSSEL_PULSE_HI 0x20000000lu
-#define MFSSEL_PULSE_LO 0x40000000lu
-
-
-/* MXVR_PLL_CTL_1 Masks */
-
-#define MSTO 0x00000001lu
-#define MSTO0 0x00000001lu /* legacy */
-#define MHOGGD 0x00000004lu
-#define MHOGGD0 0x00000004lu /* legacy */
-#define MHOGGD1 0x00000008lu /* legacy */
-#define MSHAPEREN 0x00000010lu
-#define MSHAPEREN0 0x00000010lu /* legacy */
-#define MSHAPEREN1 0x00000020lu /* legacy */
-#define MPLLCNTEN 0x00008000lu
-#define MPLLCNT 0xFFFF0000lu
-
-#ifdef _MISRA_RULES
-#define SET_MPLLCNT(x) (((x)&0xFFFFu) << 0x10)
-#else
-#define SET_MPLLCNT(x) (((x)&0xFFFF) << 0x10)
-#endif /* _MISRA_RULES */
-
-
-/* MXVR_PLL_CTL_2 Masks */
-
-#define MSHAPERSEL 0x00000007lu
-#define MCPSEL 0x000000E0lu
-
-#ifdef _MISRA_RULES
-#define SET_MSHAPERSEL(x) ( (x) & 0x0007u )
-#define SET_MCPSEL(x) ( ( (x) & 0x0007u ) << 0x5 )
-#else
-#define SET_MSHAPERSEL(x) ( (x) & 0x0007 )
-#define SET_MCPSEL(x) ( ( (x) & 0x0007 ) << 0x5 )
-#endif /* _MISRA_RULES */
-
-
-/* MXVR_INT_STAT_0 Masks */
-
-#define NI2A 0x00000001lu
-#define NA2I 0x00000002lu
-#define SBU2L 0x00000004lu
-#define SBL2U 0x00000008lu
-#define PRU 0x00000010lu
-#define MPRU 0x00000020lu
-#define DRU 0x00000040lu
-#define MDRU 0x00000080lu
-#define SBU 0x00000100lu
-#define ATU 0x00000200lu
-#define FCZ0 0x00000400lu
-#define FCZ1 0x00000800lu
-#define PERR 0x00001000lu
-#define MH2L 0x00002000lu
-#define ML2H 0x00004000lu
-#define WUP 0x00008000lu
-#define FU2L 0x00010000lu
-#define FL2U 0x00020000lu
-#define BU2L 0x00040000lu
-#define BL2U 0x00080000lu
-#define PCZ 0x00400000lu
-#define FERR 0x00800000lu
-#define CMR 0x01000000lu
-#define CMROF 0x02000000lu
-#define CMTS 0x04000000lu
-#define CMTC 0x08000000lu
-#define RWRC 0x10000000lu
-#define BCZ 0x20000000lu
-#define BMERR 0x40000000lu
-#define DERR 0x80000000lu
-
-
-/* MXVR_INT_EN_0 Masks */
-
-#define NI2AEN NI2A
-#define NA2IEN NA2I
-#define SBU2LEN SBU2L
-#define SBL2UEN SBL2U
-#define PRUEN PRU
-#define MPRUEN MPRU
-#define DRUEN DRU
-#define MDRUEN MDRU
-#define SBUEN SBU
-#define ATUEN ATU
-#define FCZ0EN FCZ0
-#define FCZ1EN FCZ1
-#define PERREN PERR
-#define MH2LEN MH2L
-#define ML2HEN ML2H
-#define WUPEN WUP
-#define FU2LEN FU2L
-#define FL2UEN FL2U
-#define BU2LEN BU2L
-#define BL2UEN BL2U
-#define PCZEN PCZ
-#define FERREN FERR
-#define CMREN CMR
-#define CMROFEN CMROF
-#define CMTSEN CMTS
-#define CMTCEN CMTC
-#define RWRCEN RWRC
-#define BCZEN BCZ
-#define BMERREN BMERR
-#define DERREN DERR
-
-
-/* MXVR_INT_STAT_1 Masks */
-
-#define APR 0x00000004lu
-#define APROF 0x00000008lu
-#define APTS 0x00000040lu
-#define APTC 0x00000080lu
-#define APRCE 0x00000400lu
-#define APRPE 0x00000800lu
-
-#define HDONE0 0x00000001lu
-#define DONE0 0x00000002lu
-#define HDONE1 0x00000010lu
-#define DONE1 0x00000020lu
-#define HDONE2 0x00000100lu
-#define DONE2 0x00000200lu
-#define HDONE3 0x00001000lu
-#define DONE3 0x00002000lu
-#define HDONE4 0x00010000lu
-#define DONE4 0x00020000lu
-#define HDONE5 0x00100000lu
-#define DONE5 0x00200000lu
-#define HDONE6 0x01000000lu
-#define DONE6 0x02000000lu
-#define HDONE7 0x10000000lu
-#define DONE7 0x20000000lu
-
-#define DONEX(x) (0x00000002 << (4 * (x)))
-#define HDONEX(x) (0x00000001 << (4 * (x)))
-
-
-/* MXVR_INT_EN_1 Masks */
-
-#define APREN APR
-#define APROFEN APROF
-#define APTSEN APTS
-#define APTCEN APTC
-#define APRCEEN APRCE
-#define APRPEEN APRPE
-
-#define HDONEEN0 HDONE0
-#define DONEEN0 DONE0
-#define HDONEEN1 HDONE1
-#define DONEEN1 DONE1
-#define HDONEEN2 HDONE2
-#define DONEEN2 DONE2
-#define HDONEEN3 HDONE3
-#define DONEEN3 DONE3
-#define HDONEEN4 HDONE4
-#define DONEEN4 DONE4
-#define HDONEEN5 HDONE5
-#define DONEEN5 DONE5
-#define HDONEEN6 HDONE6
-#define DONEEN6 DONE6
-#define HDONEEN7 HDONE7
-#define DONEEN7 DONE7
-
-#define DONEENX(x) (0x00000002 << (4 * (x)))
-#define HDONEENX(x) (0x00000001 << (4 * (x)))
-
-
-/* MXVR_STATE_0 Masks */
-
-#define NACT 0x00000001lu
-#define SBLOCK 0x00000002lu
-#define PFDLOCK 0x00000004lu
-#define PFDLOCK0 0x00000004lu /* legacy */
-#define PDD 0x00000008lu
-#define PDD0 0x00000008lu /* legacy */
-#define PVCO 0x00000010lu
-#define PVCO0 0x00000010lu /* legacy */
-#define PFDLOCK1 0x00000020lu /* legacy */
-#define PDD1 0x00000040lu /* legacy */
-#define PVCO1 0x00000080lu /* legacy */
-#define APBSY 0x00000100lu
-#define APARB 0x00000200lu
-#define APTX 0x00000400lu
-#define APRX 0x00000800lu
-#define CMBSY 0x00001000lu
-#define CMARB 0x00002000lu
-#define CMTX 0x00004000lu
-#define CMRX 0x00008000lu
-#define MRXONB 0x00010000lu
-#define RGSIP 0x00020000lu
-#define DALIP 0x00040000lu
-#define ALIP 0x00080000lu
-#define RRDIP 0x00100000lu
-#define RWRIP 0x00200000lu
-#define FLOCK 0x00400000lu
-#define BLOCK 0x00800000lu
-#define RSB 0x0F000000lu
-#define DERRNUM 0xF0000000lu
-
-
-/* MXVR_STATE_1 Masks */
-
-#define STXNUMB 0x0000000Flu
-#define SRXNUMB 0x000000F0lu
-#define APCONT 0x00000100lu
-#define DMAACTIVEX 0x00FF0000lu
-#define DMAACTIVE0 0x00010000lu
-#define DMAACTIVE1 0x00020000lu
-#define DMAACTIVE2 0x00040000lu
-#define DMAACTIVE3 0x00080000lu
-#define DMAACTIVE4 0x00100000lu
-#define DMAACTIVE5 0x00200000lu
-#define DMAACTIVE6 0x00400000lu
-#define DMAACTIVE7 0x00800000lu
-#define DMAPMENX 0xFF000000lu
-#define DMAPMEN0 0x01000000lu
-#define DMAPMEN1 0x02000000lu
-#define DMAPMEN2 0x04000000lu
-#define DMAPMEN3 0x08000000lu
-#define DMAPMEN4 0x10000000lu
-#define DMAPMEN5 0x20000000lu
-#define DMAPMEN6 0x40000000lu
-#define DMAPMEN7 0x80000000lu
-
-
-/* MXVR_POSITION Masks */
-
-#define PVALID 0x8000
-#define POSITION 0x003F
-
-
-/* MXVR_MAX_POSITION Masks */
-
-#define MPVALID 0x8000
-#define MPOSITION 0x003F
-
-
-/* MXVR_DELAY Masks */
-
-#define DVALID 0x8000
-#define DELAY 0x003F
-
-
-/* MXVR_MAX_DELAY Masks */
-
-#define MDVALID 0x8000
-#define MDELAY 0x003F
-
-
-/* MXVR_LADDR Masks */
-
-#define LVALID 0x80000000lu
-#define LADDR 0x0000FFFFlu
-
-
-/* MXVR_GADDR Masks */
-
-#define GVALID 0x8000
-#define GADDRL 0x00FF
-
-
-/* MXVR_AADDR Masks */
-
-#define AVALID 0x80000000lu
-#define AADDR 0x0000FFFFlu
-
-
-/* MXVR_ALLOC_0 Masks */
-
-#define CIU0 0x00000080lu
-#define CIU1 0x00008000lu
-#define CIU2 0x00800000lu
-#define CIU3 0x80000000lu
-
-#define CL0 0x0000007Flu
-#define CL1 0x00007F00lu
-#define CL2 0x007F0000lu
-#define CL3 0x7F000000lu
-
-
-/* MXVR_ALLOC_1 Masks */
-
-#define CIU4 0x00000080lu
-#define CIU5 0x00008000lu
-#define CIU6 0x00800000lu
-#define CIU7 0x80000000lu
-
-#define CL4 0x0000007Flu
-#define CL5 0x00007F00lu
-#define CL6 0x007F0000lu
-#define CL7 0x7F000000lu
-
-
-/* MXVR_ALLOC_2 Masks */
-
-#define CIU8 0x00000080lu
-#define CIU9 0x00008000lu
-#define CIU10 0x00800000lu
-#define CIU11 0x80000000lu
-
-#define CL8 0x0000007Flu
-#define CL9 0x00007F00lu
-#define CL10 0x007F0000lu
-#define CL11 0x7F000000lu
-
-
-/* MXVR_ALLOC_3 Masks */
-
-#define CIU12 0x00000080lu
-#define CIU13 0x00008000lu
-#define CIU14 0x00800000lu
-#define CIU15 0x80000000lu
-
-#define CL12 0x0000007Flu
-#define CL13 0x00007F00lu
-#define CL14 0x007F0000lu
-#define CL15 0x7F000000lu
-
-
-/* MXVR_ALLOC_4 Masks */
-
-#define CIU16 0x00000080lu
-#define CIU17 0x00008000lu
-#define CIU18 0x00800000lu
-#define CIU19 0x80000000lu
-
-#define CL16 0x0000007Flu
-#define CL17 0x00007F00lu
-#define CL18 0x007F0000lu
-#define CL19 0x7F000000lu
-
-
-/* MXVR_ALLOC_5 Masks */
-
-#define CIU20 0x00000080lu
-#define CIU21 0x00008000lu
-#define CIU22 0x00800000lu
-#define CIU23 0x80000000lu
-
-#define CL20 0x0000007Flu
-#define CL21 0x00007F00lu
-#define CL22 0x007F0000lu
-#define CL23 0x7F000000lu
-
-
-/* MXVR_ALLOC_6 Masks */
-
-#define CIU24 0x00000080lu
-#define CIU25 0x00008000lu
-#define CIU26 0x00800000lu
-#define CIU27 0x80000000lu
-
-#define CL24 0x0000007Flu
-#define CL25 0x00007F00lu
-#define CL26 0x007F0000lu
-#define CL27 0x7F000000lu
-
-
-/* MXVR_ALLOC_7 Masks */
-
-#define CIU28 0x00000080lu
-#define CIU29 0x00008000lu
-#define CIU30 0x00800000lu
-#define CIU31 0x80000000lu
-
-#define CL28 0x0000007Flu
-#define CL29 0x00007F00lu
-#define CL30 0x007F0000lu
-#define CL31 0x7F000000lu
-
-
-/* MXVR_ALLOC_8 Masks */
-
-#define CIU32 0x00000080lu
-#define CIU33 0x00008000lu
-#define CIU34 0x00800000lu
-#define CIU35 0x80000000lu
-
-#define CL32 0x0000007Flu
-#define CL33 0x00007F00lu
-#define CL34 0x007F0000lu
-#define CL35 0x7F000000lu
-
-
-/* MXVR_ALLOC_9 Masks */
-
-#define CIU36 0x00000080lu
-#define CIU37 0x00008000lu
-#define CIU38 0x00800000lu
-#define CIU39 0x80000000lu
-
-#define CL36 0x0000007Flu
-#define CL37 0x00007F00lu
-#define CL38 0x007F0000lu
-#define CL39 0x7F000000lu
-
-
-/* MXVR_ALLOC_10 Masks */
-
-#define CIU40 0x00000080lu
-#define CIU41 0x00008000lu
-#define CIU42 0x00800000lu
-#define CIU43 0x80000000lu
-
-#define CL40 0x0000007Flu
-#define CL41 0x00007F00lu
-#define CL42 0x007F0000lu
-#define CL43 0x7F000000lu
-
-
-/* MXVR_ALLOC_11 Masks */
-
-#define CIU44 0x00000080lu
-#define CIU45 0x00008000lu
-#define CIU46 0x00800000lu
-#define CIU47 0x80000000lu
-
-#define CL44 0x0000007Flu
-#define CL45 0x00007F00lu
-#define CL46 0x007F0000lu
-#define CL47 0x7F000000lu
-
-
-/* MXVR_ALLOC_12 Masks */
-
-#define CIU48 0x00000080lu
-#define CIU49 0x00008000lu
-#define CIU50 0x00800000lu
-#define CIU51 0x80000000lu
-
-#define CL48 0x0000007Flu
-#define CL49 0x00007F00lu
-#define CL50 0x007F0000lu
-#define CL51 0x7F000000lu
-
-
-/* MXVR_ALLOC_13 Masks */
-
-#define CIU52 0x00000080lu
-#define CIU53 0x00008000lu
-#define CIU54 0x00800000lu
-#define CIU55 0x80000000lu
-
-#define CL52 0x0000007Flu
-#define CL53 0x00007F00lu
-#define CL54 0x007F0000lu
-#define CL55 0x7F000000lu
-
-
-/* MXVR_ALLOC_14 Masks */
-
-#define CIU56 0x00000080lu
-#define CIU57 0x00008000lu
-#define CIU58 0x00800000lu
-#define CIU59 0x80000000lu
-
-#define CL56 0x0000007Flu
-#define CL57 0x00007F00lu
-#define CL58 0x007F0000lu
-#define CL59 0x7F000000lu
-
-
-/* MXVR_SYNC_LCHAN_0 Masks */
-
-#define LCHANPC0 0x0000000Flu
-#define LCHANPC1 0x000000F0lu
-#define LCHANPC2 0x00000F00lu
-#define LCHANPC3 0x0000F000lu
-#define LCHANPC4 0x000F0000lu
-#define LCHANPC5 0x00F00000lu
-#define LCHANPC6 0x0F000000lu
-#define LCHANPC7 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_1 Masks */
-
-#define LCHANPC8 0x0000000Flu
-#define LCHANPC9 0x000000F0lu
-#define LCHANPC10 0x00000F00lu
-#define LCHANPC11 0x0000F000lu
-#define LCHANPC12 0x000F0000lu
-#define LCHANPC13 0x00F00000lu
-#define LCHANPC14 0x0F000000lu
-#define LCHANPC15 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_2 Masks */
-
-#define LCHANPC16 0x0000000Flu
-#define LCHANPC17 0x000000F0lu
-#define LCHANPC18 0x00000F00lu
-#define LCHANPC19 0x0000F000lu
-#define LCHANPC20 0x000F0000lu
-#define LCHANPC21 0x00F00000lu
-#define LCHANPC22 0x0F000000lu
-#define LCHANPC23 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_3 Masks */
-
-#define LCHANPC24 0x0000000Flu
-#define LCHANPC25 0x000000F0lu
-#define LCHANPC26 0x00000F00lu
-#define LCHANPC27 0x0000F000lu
-#define LCHANPC28 0x000F0000lu
-#define LCHANPC29 0x00F00000lu
-#define LCHANPC30 0x0F000000lu
-#define LCHANPC31 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_4 Masks */
-
-#define LCHANPC32 0x0000000Flu
-#define LCHANPC33 0x000000F0lu
-#define LCHANPC34 0x00000F00lu
-#define LCHANPC35 0x0000F000lu
-#define LCHANPC36 0x000F0000lu
-#define LCHANPC37 0x00F00000lu
-#define LCHANPC38 0x0F000000lu
-#define LCHANPC39 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_5 Masks */
-
-#define LCHANPC40 0x0000000Flu
-#define LCHANPC41 0x000000F0lu
-#define LCHANPC42 0x00000F00lu
-#define LCHANPC43 0x0000F000lu
-#define LCHANPC44 0x000F0000lu
-#define LCHANPC45 0x00F00000lu
-#define LCHANPC46 0x0F000000lu
-#define LCHANPC47 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_6 Masks */
-
-#define LCHANPC48 0x0000000Flu
-#define LCHANPC49 0x000000F0lu
-#define LCHANPC50 0x00000F00lu
-#define LCHANPC51 0x0000F000lu
-#define LCHANPC52 0x000F0000lu
-#define LCHANPC53 0x00F00000lu
-#define LCHANPC54 0x0F000000lu
-#define LCHANPC55 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_7 Masks */
-
-#define LCHANPC56 0x0000000Flu
-#define LCHANPC57 0x000000F0lu
-#define LCHANPC58 0x00000F00lu
-#define LCHANPC59 0x0000F000lu
-
-
-/* MXVR_DMAx_CONFIG Masks */
-
-#define MDMAEN 0x00000001lu
-#define DD 0x00000002lu
-#define LCHAN 0x000003C0lu
-#define BITSWAPEN 0x00000400lu
-#define BYSWAPEN 0x00000800lu
-#define MFLOW 0x00007000lu
-#define FIXEDPM 0x00080000lu
-#define STARTPAT 0x00300000lu
-#define STOPPAT 0x00C00000lu
-#define COUNTPOS 0x1C000000lu
-
-#define DD_TX 0x00000000lu
-#define DD_RX 0x00000002lu
-
-#define LCHAN_0 0x00000000lu
-#define LCHAN_1 0x00000040lu
-#define LCHAN_2 0x00000080lu
-#define LCHAN_3 0x000000C0lu
-#define LCHAN_4 0x00000100lu
-#define LCHAN_5 0x00000140lu
-#define LCHAN_6 0x00000180lu
-#define LCHAN_7 0x000001C0lu
-
-#define MFLOW_STOP 0x00000000lu
-#define MFLOW_AUTO 0x00001000lu
-#define MFLOW_PVC 0x00002000lu
-#define MFLOW_PSS 0x00003000lu
-#define MFLOW_PFC 0x00004000lu
-
-#define STARTPAT_0 0x00000000lu
-#define STARTPAT_1 0x00100000lu
-
-#define STOPPAT_0 0x00000000lu
-#define STOPPAT_1 0x00400000lu
-
-#define COUNTPOS_0 0x00000000lu
-#define COUNTPOS_1 0x04000000lu
-#define COUNTPOS_2 0x08000000lu
-#define COUNTPOS_3 0x0C000000lu
-#define COUNTPOS_4 0x10000000lu
-#define COUNTPOS_5 0x14000000lu
-#define COUNTPOS_6 0x18000000lu
-#define COUNTPOS_7 0x1C000000lu
-
-
-/* MXVR_AP_CTL Masks */
-
-#define STARTAP 0x00000001lu
-#define CANCELAP 0x00000002lu
-#define RESETAP 0x00000004lu
-#define APRBE0 0x00004000lu
-#define APRBE1 0x00008000lu
-#define APRBEX 0x0000C000lu
-
-
-/* MXVR_CM_CTL Masks */
-
-#define STARTCM 0x00000001lu
-#define CANCELCM 0x00000002lu
-#define CMRBEX 0xFFFF0000lu
-#define CMRBE0 0x00010000lu
-#define CMRBE1 0x00020000lu
-#define CMRBE2 0x00040000lu
-#define CMRBE3 0x00080000lu
-#define CMRBE4 0x00100000lu
-#define CMRBE5 0x00200000lu
-#define CMRBE6 0x00400000lu
-#define CMRBE7 0x00800000lu
-#define CMRBE8 0x01000000lu
-#define CMRBE9 0x02000000lu
-#define CMRBE10 0x04000000lu
-#define CMRBE11 0x08000000lu
-#define CMRBE12 0x10000000lu
-#define CMRBE13 0x20000000lu
-#define CMRBE14 0x40000000lu
-#define CMRBE15 0x80000000lu
-
-
-/* MXVR_PAT_DATA_x Masks */
-
-#define MATCH_DATA_0 0x000000FFlu
-#define MATCH_DATA_1 0x0000FF00lu
-#define MATCH_DATA_2 0x00FF0000lu
-#define MATCH_DATA_3 0xFF000000lu
-
-
-
-/* MXVR_PAT_EN_x Masks */
-
-#define MATCH_EN_0_0 0x00000001lu
-#define MATCH_EN_0_1 0x00000002lu
-#define MATCH_EN_0_2 0x00000004lu
-#define MATCH_EN_0_3 0x00000008lu
-#define MATCH_EN_0_4 0x00000010lu
-#define MATCH_EN_0_5 0x00000020lu
-#define MATCH_EN_0_6 0x00000040lu
-#define MATCH_EN_0_7 0x00000080lu
-
-#define MATCH_EN_1_0 0x00000100lu
-#define MATCH_EN_1_1 0x00000200lu
-#define MATCH_EN_1_2 0x00000400lu
-#define MATCH_EN_1_3 0x00000800lu
-#define MATCH_EN_1_4 0x00001000lu
-#define MATCH_EN_1_5 0x00002000lu
-#define MATCH_EN_1_6 0x00004000lu
-#define MATCH_EN_1_7 0x00008000lu
-
-#define MATCH_EN_2_0 0x00010000lu
-#define MATCH_EN_2_1 0x00020000lu
-#define MATCH_EN_2_2 0x00040000lu
-#define MATCH_EN_2_3 0x00080000lu
-#define MATCH_EN_2_4 0x00100000lu
-#define MATCH_EN_2_5 0x00200000lu
-#define MATCH_EN_2_6 0x00400000lu
-#define MATCH_EN_2_7 0x00800000lu
-
-#define MATCH_EN_3_0 0x01000000lu
-#define MATCH_EN_3_1 0x02000000lu
-#define MATCH_EN_3_2 0x04000000lu
-#define MATCH_EN_3_3 0x08000000lu
-#define MATCH_EN_3_4 0x10000000lu
-#define MATCH_EN_3_5 0x20000000lu
-#define MATCH_EN_3_6 0x40000000lu
-#define MATCH_EN_3_7 0x80000000lu
-
-
-/* MXVR_ROUTING_0 Masks */
-
-#define MUTE_CH0 0x00000080lu
-#define MUTE_CH1 0x00008000lu
-#define MUTE_CH2 0x00800000lu
-#define MUTE_CH3 0x80000000lu
-
-#define TX_CH0 0x0000007Flu
-#define TX_CH1 0x00007F00lu
-#define TX_CH2 0x007F0000lu
-#define TX_CH3 0x7F000000lu
-
-
-/* MXVR_ROUTING_1 Masks */
-
-#define MUTE_CH4 0x00000080lu
-#define MUTE_CH5 0x00008000lu
-#define MUTE_CH6 0x00800000lu
-#define MUTE_CH7 0x80000000lu
-
-#define TX_CH4 0x0000007Flu
-#define TX_CH5 0x00007F00lu
-#define TX_CH6 0x007F0000lu
-#define TX_CH7 0x7F000000lu
-
-
-/* MXVR_ROUTING_2 Masks */
-
-#define MUTE_CH8 0x00000080lu
-#define MUTE_CH9 0x00008000lu
-#define MUTE_CH10 0x00800000lu
-#define MUTE_CH11 0x80000000lu
-
-#define TX_CH8 0x0000007Flu
-#define TX_CH9 0x00007F00lu
-#define TX_CH10 0x007F0000lu
-#define TX_CH11 0x7F000000lu
-
-/* MXVR_ROUTING_3 Masks */
-
-#define MUTE_CH12 0x00000080lu
-#define MUTE_CH13 0x00008000lu
-#define MUTE_CH14 0x00800000lu
-#define MUTE_CH15 0x80000000lu
-
-#define TX_CH12 0x0000007Flu
-#define TX_CH13 0x00007F00lu
-#define TX_CH14 0x007F0000lu
-#define TX_CH15 0x7F000000lu
-
-
-/* MXVR_ROUTING_4 Masks */
-
-#define MUTE_CH16 0x00000080lu
-#define MUTE_CH17 0x00008000lu
-#define MUTE_CH18 0x00800000lu
-#define MUTE_CH19 0x80000000lu
-
-#define TX_CH16 0x0000007Flu
-#define TX_CH17 0x00007F00lu
-#define TX_CH18 0x007F0000lu
-#define TX_CH19 0x7F000000lu
-
-
-/* MXVR_ROUTING_5 Masks */
-
-#define MUTE_CH20 0x00000080lu
-#define MUTE_CH21 0x00008000lu
-#define MUTE_CH22 0x00800000lu
-#define MUTE_CH23 0x80000000lu
-
-#define TX_CH20 0x0000007Flu
-#define TX_CH21 0x00007F00lu
-#define TX_CH22 0x007F0000lu
-#define TX_CH23 0x7F000000lu
-
-
-/* MXVR_ROUTING_6 Masks */
-
-#define MUTE_CH24 0x00000080lu
-#define MUTE_CH25 0x00008000lu
-#define MUTE_CH26 0x00800000lu
-#define MUTE_CH27 0x80000000lu
-
-#define TX_CH24 0x0000007Flu
-#define TX_CH25 0x00007F00lu
-#define TX_CH26 0x007F0000lu
-#define TX_CH27 0x7F000000lu
-
-
-/* MXVR_ROUTING_7 Masks */
-
-#define MUTE_CH28 0x00000080lu
-#define MUTE_CH29 0x00008000lu
-#define MUTE_CH30 0x00800000lu
-#define MUTE_CH31 0x80000000lu
-
-#define TX_CH28 0x0000007Flu
-#define TX_CH29 0x00007F00lu
-#define TX_CH30 0x007F0000lu
-#define TX_CH31 0x7F000000lu
-
-
-/* MXVR_ROUTING_8 Masks */
-
-#define MUTE_CH32 0x00000080lu
-#define MUTE_CH33 0x00008000lu
-#define MUTE_CH34 0x00800000lu
-#define MUTE_CH35 0x80000000lu
-
-#define TX_CH32 0x0000007Flu
-#define TX_CH33 0x00007F00lu
-#define TX_CH34 0x007F0000lu
-#define TX_CH35 0x7F000000lu
-
-
-/* MXVR_ROUTING_9 Masks */
-
-#define MUTE_CH36 0x00000080lu
-#define MUTE_CH37 0x00008000lu
-#define MUTE_CH38 0x00800000lu
-#define MUTE_CH39 0x80000000lu
-
-#define TX_CH36 0x0000007Flu
-#define TX_CH37 0x00007F00lu
-#define TX_CH38 0x007F0000lu
-#define TX_CH39 0x7F000000lu
-
-
-/* MXVR_ROUTING_10 Masks */
-
-#define MUTE_CH40 0x00000080lu
-#define MUTE_CH41 0x00008000lu
-#define MUTE_CH42 0x00800000lu
-#define MUTE_CH43 0x80000000lu
-
-#define TX_CH40 0x0000007Flu
-#define TX_CH41 0x00007F00lu
-#define TX_CH42 0x007F0000lu
-#define TX_CH43 0x7F000000lu
-
-
-/* MXVR_ROUTING_11 Masks */
-
-#define MUTE_CH44 0x00000080lu
-#define MUTE_CH45 0x00008000lu
-#define MUTE_CH46 0x00800000lu
-#define MUTE_CH47 0x80000000lu
-
-#define TX_CH44 0x0000007Flu
-#define TX_CH45 0x00007F00lu
-#define TX_CH46 0x007F0000lu
-#define TX_CH47 0x7F000000lu
-
-
-/* MXVR_ROUTING_12 Masks */
-
-#define MUTE_CH48 0x00000080lu
-#define MUTE_CH49 0x00008000lu
-#define MUTE_CH50 0x00800000lu
-#define MUTE_CH51 0x80000000lu
-
-#define TX_CH48 0x0000007Flu
-#define TX_CH49 0x00007F00lu
-#define TX_CH50 0x007F0000lu
-#define TX_CH51 0x7F000000lu
-
-
-/* MXVR_ROUTING_13 Masks */
-
-#define MUTE_CH52 0x00000080lu
-#define MUTE_CH53 0x00008000lu
-#define MUTE_CH54 0x00800000lu
-#define MUTE_CH55 0x80000000lu
-
-#define TX_CH52 0x0000007Flu
-#define TX_CH53 0x00007F00lu
-#define TX_CH54 0x007F0000lu
-#define TX_CH55 0x7F000000lu
-
-
-/* MXVR_ROUTING_14 Masks */
-
-#define MUTE_CH56 0x00000080lu
-#define MUTE_CH57 0x00008000lu
-#define MUTE_CH58 0x00800000lu
-#define MUTE_CH59 0x80000000lu
-
-#define TX_CH56 0x0000007Flu
-#define TX_CH57 0x00007F00lu
-#define TX_CH58 0x007F0000lu
-#define TX_CH59 0x7F000000lu
-
-
-/* Control Message Receive Buffer (CMRB) Address Offsets */
-
-#define CMRB_STRIDE 0x00000016lu
-
-#define CMRB_DST_OFFSET 0x00000000lu
-#define CMRB_SRC_OFFSET 0x00000002lu
-#define CMRB_DATA_OFFSET 0x00000005lu
-
-
-/* Control Message Transmit Buffer (CMTB) Address Offsets */
-
-#define CMTB_PRIO_OFFSET 0x00000000lu
-#define CMTB_DST_OFFSET 0x00000002lu
-#define CMTB_SRC_OFFSET 0x00000004lu
-#define CMTB_TYPE_OFFSET 0x00000006lu
-#define CMTB_DATA_OFFSET 0x00000007lu
-
-#define CMTB_ANSWER_OFFSET 0x0000000Alu
-
-#define CMTB_STAT_N_OFFSET 0x00000018lu
-#define CMTB_STAT_A_OFFSET 0x00000016lu
-#define CMTB_STAT_D_OFFSET 0x0000000Elu
-#define CMTB_STAT_R_OFFSET 0x00000014lu
-#define CMTB_STAT_W_OFFSET 0x00000014lu
-#define CMTB_STAT_G_OFFSET 0x00000014lu
-
-
-/* Asynchronous Packet Receive Buffer (APRB) Address Offsets */
-
-#define APRB_STRIDE 0x00000400lu
-
-#define APRB_DST_OFFSET 0x00000000lu
-#define APRB_LEN_OFFSET 0x00000002lu
-#define APRB_SRC_OFFSET 0x00000004lu
-#define APRB_DATA_OFFSET 0x00000006lu
-
-
-/* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */
-
-#define APTB_PRIO_OFFSET 0x00000000lu
-#define APTB_DST_OFFSET 0x00000002lu
-#define APTB_LEN_OFFSET 0x00000004lu
-#define APTB_SRC_OFFSET 0x00000006lu
-#define APTB_DATA_OFFSET 0x00000008lu
-
-
-/* Remote Read Buffer (RRDB) Address Offsets */
-
-#define RRDB_WADDR_OFFSET 0x00000100lu
-#define RRDB_WLEN_OFFSET 0x00000101lu
-
-
-
-/* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/
-/* CAN_CONTROL Masks */
-#define SRS 0x0001 /* Software Reset */
-#define DNM 0x0002 /* Device Net Mode */
-#define ABO 0x0004 /* Auto-Bus On Enable */
-#define WBA 0x0010 /* Wake-Up On CAN Bus Activity Enable */
-#define SMR 0x0020 /* Sleep Mode Request */
-#define CSR 0x0040 /* CAN Suspend Mode Request */
-#define CCR 0x0080 /* CAN Configuration Mode Request */
-
-/* CAN_STATUS Masks */
-#define WT 0x0001 /* TX Warning Flag */
-#define WR 0x0002 /* RX Warning Flag */
-#define EP 0x0004 /* Error Passive Mode */
-#define EBO 0x0008 /* Error Bus Off Mode */
-#define CSA 0x0040 /* Suspend Mode Acknowledge */
-#define CCA 0x0080 /* Configuration Mode Acknowledge */
-#define MBPTR 0x1F00 /* Mailbox Pointer */
-#define TRM 0x4000 /* Transmit Mode */
-#define REC 0x8000 /* Receive Mode */
-
-/* CAN_CLOCK Masks */
-#define BRP 0x03FF /* Bit-Rate Pre-Scaler */
-
-/* CAN_TIMING Masks */
-#define TSEG1 0x000F /* Time Segment 1 */
-#define TSEG2 0x0070 /* Time Segment 2 */
-#define SAM 0x0080 /* Sampling */
-#define SJW 0x0300 /* Synchronization Jump Width */
-
-/* CAN_DEBUG Masks */
-#define DEC 0x0001 /* Disable CAN Error Counters */
-#define DRI 0x0002 /* Disable CAN RX Input */
-#define DTO 0x0004 /* Disable CAN TX Output */
-#define DIL 0x0008 /* Disable CAN Internal Loop */
-#define MAA 0x0010 /* Mode Auto-Acknowledge Enable */
-#define MRB 0x0020 /* Mode Read Back Enable */
-#define CDE 0x8000 /* CAN Debug Enable */
-
-/* CAN_CEC Masks */
-#define RXECNT 0x00FF /* Receive Error Counter */
-#define TXECNT 0xFF00 /* Transmit Error Counter */
-
-/* CAN_INTR Masks */
-#define MBRIRQ 0x0001 /* Mailbox Receive Interrupt */
-#define MBRIF MBRIRQ /* legacy */
-#define MBTIRQ 0x0002 /* Mailbox Transmit Interrupt */
-#define MBTIF MBTIRQ /* legacy */
-#define GIRQ 0x0004 /* Global Interrupt */
-#define SMACK 0x0008 /* Sleep Mode Acknowledge */
-#define CANTX 0x0040 /* CAN TX Bus Value */
-#define CANRX 0x0080 /* CAN RX Bus Value */
-
-/* CAN_MBxx_ID1 and CAN_MBxx_ID0 Masks */
-#define DFC 0xFFFF /* Data Filtering Code (If Enabled) (ID0) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (ID0) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (ID1) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define IDE 0x2000 /* Identifier Extension */
-#define RTR 0x4000 /* Remote Frame Transmission Request */
-#define AME 0x8000 /* Acceptance Mask Enable */
-
-/* CAN_MBxx_TIMESTAMP Masks */
-#define TSV 0xFFFF /* Timestamp */
-
-/* CAN_MBxx_LENGTH Masks */
-#define DLC 0x000F /* Data Length Code */
-
-/* CAN_AMxxH and CAN_AMxxL Masks */
-#define DFM 0xFFFF /* Data Field Mask (If Enabled) (CAN_AMxxL) */
-#define EXTID_LO 0xFFFF /* Lower 16 Bits of Extended Identifier (CAN_AMxxL) */
-#define EXTID_HI 0x0003 /* Upper 2 Bits of Extended Identifier (CAN_AMxxH) */
-#define BASEID 0x1FFC /* Base Identifier */
-#define AMIDE 0x2000 /* Acceptance Mask ID Extension Enable */
-#define FMD 0x4000 /* Full Mask Data Field Enable */
-#define FDF 0x8000 /* Filter On Data Field Enable */
-
-/* CAN_MC1 Masks */
-#define MC0 0x0001 /* Enable Mailbox 0 */
-#define MC1 0x0002 /* Enable Mailbox 1 */
-#define MC2 0x0004 /* Enable Mailbox 2 */
-#define MC3 0x0008 /* Enable Mailbox 3 */
-#define MC4 0x0010 /* Enable Mailbox 4 */
-#define MC5 0x0020 /* Enable Mailbox 5 */
-#define MC6 0x0040 /* Enable Mailbox 6 */
-#define MC7 0x0080 /* Enable Mailbox 7 */
-#define MC8 0x0100 /* Enable Mailbox 8 */
-#define MC9 0x0200 /* Enable Mailbox 9 */
-#define MC10 0x0400 /* Enable Mailbox 10 */
-#define MC11 0x0800 /* Enable Mailbox 11 */
-#define MC12 0x1000 /* Enable Mailbox 12 */
-#define MC13 0x2000 /* Enable Mailbox 13 */
-#define MC14 0x4000 /* Enable Mailbox 14 */
-#define MC15 0x8000 /* Enable Mailbox 15 */
-
-/* CAN_MC2 Masks */
-#define MC16 0x0001 /* Enable Mailbox 16 */
-#define MC17 0x0002 /* Enable Mailbox 17 */
-#define MC18 0x0004 /* Enable Mailbox 18 */
-#define MC19 0x0008 /* Enable Mailbox 19 */
-#define MC20 0x0010 /* Enable Mailbox 20 */
-#define MC21 0x0020 /* Enable Mailbox 21 */
-#define MC22 0x0040 /* Enable Mailbox 22 */
-#define MC23 0x0080 /* Enable Mailbox 23 */
-#define MC24 0x0100 /* Enable Mailbox 24 */
-#define MC25 0x0200 /* Enable Mailbox 25 */
-#define MC26 0x0400 /* Enable Mailbox 26 */
-#define MC27 0x0800 /* Enable Mailbox 27 */
-#define MC28 0x1000 /* Enable Mailbox 28 */
-#define MC29 0x2000 /* Enable Mailbox 29 */
-#define MC30 0x4000 /* Enable Mailbox 30 */
-#define MC31 0x8000 /* Enable Mailbox 31 */
-
-/* CAN_MD1 Masks */
-#define MD0 0x0001 /* Enable Mailbox 0 For Receive */
-#define MD1 0x0002 /* Enable Mailbox 1 For Receive */
-#define MD2 0x0004 /* Enable Mailbox 2 For Receive */
-#define MD3 0x0008 /* Enable Mailbox 3 For Receive */
-#define MD4 0x0010 /* Enable Mailbox 4 For Receive */
-#define MD5 0x0020 /* Enable Mailbox 5 For Receive */
-#define MD6 0x0040 /* Enable Mailbox 6 For Receive */
-#define MD7 0x0080 /* Enable Mailbox 7 For Receive */
-#define MD8 0x0100 /* Enable Mailbox 8 For Receive */
-#define MD9 0x0200 /* Enable Mailbox 9 For Receive */
-#define MD10 0x0400 /* Enable Mailbox 10 For Receive */
-#define MD11 0x0800 /* Enable Mailbox 11 For Receive */
-#define MD12 0x1000 /* Enable Mailbox 12 For Receive */
-#define MD13 0x2000 /* Enable Mailbox 13 For Receive */
-#define MD14 0x4000 /* Enable Mailbox 14 For Receive */
-#define MD15 0x8000 /* Enable Mailbox 15 For Receive */
-
-/* CAN_MD2 Masks */
-#define MD16 0x0001 /* Enable Mailbox 16 For Receive */
-#define MD17 0x0002 /* Enable Mailbox 17 For Receive */
-#define MD18 0x0004 /* Enable Mailbox 18 For Receive */
-#define MD19 0x0008 /* Enable Mailbox 19 For Receive */
-#define MD20 0x0010 /* Enable Mailbox 20 For Receive */
-#define MD21 0x0020 /* Enable Mailbox 21 For Receive */
-#define MD22 0x0040 /* Enable Mailbox 22 For Receive */
-#define MD23 0x0080 /* Enable Mailbox 23 For Receive */
-#define MD24 0x0100 /* Enable Mailbox 24 For Receive */
-#define MD25 0x0200 /* Enable Mailbox 25 For Receive */
-#define MD26 0x0400 /* Enable Mailbox 26 For Receive */
-#define MD27 0x0800 /* Enable Mailbox 27 For Receive */
-#define MD28 0x1000 /* Enable Mailbox 28 For Receive */
-#define MD29 0x2000 /* Enable Mailbox 29 For Receive */
-#define MD30 0x4000 /* Enable Mailbox 30 For Receive */
-#define MD31 0x8000 /* Enable Mailbox 31 For Receive */
-
-/* CAN_RMP1 Masks */
-#define RMP0 0x0001 /* RX Message Pending In Mailbox 0 */
-#define RMP1 0x0002 /* RX Message Pending In Mailbox 1 */
-#define RMP2 0x0004 /* RX Message Pending In Mailbox 2 */
-#define RMP3 0x0008 /* RX Message Pending In Mailbox 3 */
-#define RMP4 0x0010 /* RX Message Pending In Mailbox 4 */
-#define RMP5 0x0020 /* RX Message Pending In Mailbox 5 */
-#define RMP6 0x0040 /* RX Message Pending In Mailbox 6 */
-#define RMP7 0x0080 /* RX Message Pending In Mailbox 7 */
-#define RMP8 0x0100 /* RX Message Pending In Mailbox 8 */
-#define RMP9 0x0200 /* RX Message Pending In Mailbox 9 */
-#define RMP10 0x0400 /* RX Message Pending In Mailbox 10 */
-#define RMP11 0x0800 /* RX Message Pending In Mailbox 11 */
-#define RMP12 0x1000 /* RX Message Pending In Mailbox 12 */
-#define RMP13 0x2000 /* RX Message Pending In Mailbox 13 */
-#define RMP14 0x4000 /* RX Message Pending In Mailbox 14 */
-#define RMP15 0x8000 /* RX Message Pending In Mailbox 15 */
-
-/* CAN_RMP2 Masks */
-#define RMP16 0x0001 /* RX Message Pending In Mailbox 16 */
-#define RMP17 0x0002 /* RX Message Pending In Mailbox 17 */
-#define RMP18 0x0004 /* RX Message Pending In Mailbox 18 */
-#define RMP19 0x0008 /* RX Message Pending In Mailbox 19 */
-#define RMP20 0x0010 /* RX Message Pending In Mailbox 20 */
-#define RMP21 0x0020 /* RX Message Pending In Mailbox 21 */
-#define RMP22 0x0040 /* RX Message Pending In Mailbox 22 */
-#define RMP23 0x0080 /* RX Message Pending In Mailbox 23 */
-#define RMP24 0x0100 /* RX Message Pending In Mailbox 24 */
-#define RMP25 0x0200 /* RX Message Pending In Mailbox 25 */
-#define RMP26 0x0400 /* RX Message Pending In Mailbox 26 */
-#define RMP27 0x0800 /* RX Message Pending In Mailbox 27 */
-#define RMP28 0x1000 /* RX Message Pending In Mailbox 28 */
-#define RMP29 0x2000 /* RX Message Pending In Mailbox 29 */
-#define RMP30 0x4000 /* RX Message Pending In Mailbox 30 */
-#define RMP31 0x8000 /* RX Message Pending In Mailbox 31 */
-
-/* CAN_RML1 Masks */
-#define RML0 0x0001 /* RX Message Lost In Mailbox 0 */
-#define RML1 0x0002 /* RX Message Lost In Mailbox 1 */
-#define RML2 0x0004 /* RX Message Lost In Mailbox 2 */
-#define RML3 0x0008 /* RX Message Lost In Mailbox 3 */
-#define RML4 0x0010 /* RX Message Lost In Mailbox 4 */
-#define RML5 0x0020 /* RX Message Lost In Mailbox 5 */
-#define RML6 0x0040 /* RX Message Lost In Mailbox 6 */
-#define RML7 0x0080 /* RX Message Lost In Mailbox 7 */
-#define RML8 0x0100 /* RX Message Lost In Mailbox 8 */
-#define RML9 0x0200 /* RX Message Lost In Mailbox 9 */
-#define RML10 0x0400 /* RX Message Lost In Mailbox 10 */
-#define RML11 0x0800 /* RX Message Lost In Mailbox 11 */
-#define RML12 0x1000 /* RX Message Lost In Mailbox 12 */
-#define RML13 0x2000 /* RX Message Lost In Mailbox 13 */
-#define RML14 0x4000 /* RX Message Lost In Mailbox 14 */
-#define RML15 0x8000 /* RX Message Lost In Mailbox 15 */
-
-/* CAN_RML2 Masks */
-#define RML16 0x0001 /* RX Message Lost In Mailbox 16 */
-#define RML17 0x0002 /* RX Message Lost In Mailbox 17 */
-#define RML18 0x0004 /* RX Message Lost In Mailbox 18 */
-#define RML19 0x0008 /* RX Message Lost In Mailbox 19 */
-#define RML20 0x0010 /* RX Message Lost In Mailbox 20 */
-#define RML21 0x0020 /* RX Message Lost In Mailbox 21 */
-#define RML22 0x0040 /* RX Message Lost In Mailbox 22 */
-#define RML23 0x0080 /* RX Message Lost In Mailbox 23 */
-#define RML24 0x0100 /* RX Message Lost In Mailbox 24 */
-#define RML25 0x0200 /* RX Message Lost In Mailbox 25 */
-#define RML26 0x0400 /* RX Message Lost In Mailbox 26 */
-#define RML27 0x0800 /* RX Message Lost In Mailbox 27 */
-#define RML28 0x1000 /* RX Message Lost In Mailbox 28 */
-#define RML29 0x2000 /* RX Message Lost In Mailbox 29 */
-#define RML30 0x4000 /* RX Message Lost In Mailbox 30 */
-#define RML31 0x8000 /* RX Message Lost In Mailbox 31 */
-
-/* CAN_OPSS1 Masks */
-#define OPSS0 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 0 */
-#define OPSS1 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 1 */
-#define OPSS2 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 2 */
-#define OPSS3 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 3 */
-#define OPSS4 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 4 */
-#define OPSS5 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 5 */
-#define OPSS6 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 6 */
-#define OPSS7 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 7 */
-#define OPSS8 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 8 */
-#define OPSS9 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 9 */
-#define OPSS10 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 10 */
-#define OPSS11 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 11 */
-#define OPSS12 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 12 */
-#define OPSS13 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 13 */
-#define OPSS14 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 14 */
-#define OPSS15 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 15 */
-
-/* CAN_OPSS2 Masks */
-#define OPSS16 0x0001 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 16 */
-#define OPSS17 0x0002 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 17 */
-#define OPSS18 0x0004 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 18 */
-#define OPSS19 0x0008 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 19 */
-#define OPSS20 0x0010 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 20 */
-#define OPSS21 0x0020 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 21 */
-#define OPSS22 0x0040 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 22 */
-#define OPSS23 0x0080 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 23 */
-#define OPSS24 0x0100 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 24 */
-#define OPSS25 0x0200 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 25 */
-#define OPSS26 0x0400 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 26 */
-#define OPSS27 0x0800 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 27 */
-#define OPSS28 0x1000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 28 */
-#define OPSS29 0x2000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 29 */
-#define OPSS30 0x4000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 30 */
-#define OPSS31 0x8000 /* Enable RX Overwrite Protection or TX Single-Shot For Mailbox 31 */
-
-/* CAN_TRR1 Masks */
-#define TRR0 0x0001 /* Deny But Don't Lock Access To Mailbox 0 */
-#define TRR1 0x0002 /* Deny But Don't Lock Access To Mailbox 1 */
-#define TRR2 0x0004 /* Deny But Don't Lock Access To Mailbox 2 */
-#define TRR3 0x0008 /* Deny But Don't Lock Access To Mailbox 3 */
-#define TRR4 0x0010 /* Deny But Don't Lock Access To Mailbox 4 */
-#define TRR5 0x0020 /* Deny But Don't Lock Access To Mailbox 5 */
-#define TRR6 0x0040 /* Deny But Don't Lock Access To Mailbox 6 */
-#define TRR7 0x0080 /* Deny But Don't Lock Access To Mailbox 7 */
-#define TRR8 0x0100 /* Deny But Don't Lock Access To Mailbox 8 */
-#define TRR9 0x0200 /* Deny But Don't Lock Access To Mailbox 9 */
-#define TRR10 0x0400 /* Deny But Don't Lock Access To Mailbox 10 */
-#define TRR11 0x0800 /* Deny But Don't Lock Access To Mailbox 11 */
-#define TRR12 0x1000 /* Deny But Don't Lock Access To Mailbox 12 */
-#define TRR13 0x2000 /* Deny But Don't Lock Access To Mailbox 13 */
-#define TRR14 0x4000 /* Deny But Don't Lock Access To Mailbox 14 */
-#define TRR15 0x8000 /* Deny But Don't Lock Access To Mailbox 15 */
-
-/* CAN_TRR2 Masks */
-#define TRR16 0x0001 /* Deny But Don't Lock Access To Mailbox 16 */
-#define TRR17 0x0002 /* Deny But Don't Lock Access To Mailbox 17 */
-#define TRR18 0x0004 /* Deny But Don't Lock Access To Mailbox 18 */
-#define TRR19 0x0008 /* Deny But Don't Lock Access To Mailbox 19 */
-#define TRR20 0x0010 /* Deny But Don't Lock Access To Mailbox 20 */
-#define TRR21 0x0020 /* Deny But Don't Lock Access To Mailbox 21 */
-#define TRR22 0x0040 /* Deny But Don't Lock Access To Mailbox 22 */
-#define TRR23 0x0080 /* Deny But Don't Lock Access To Mailbox 23 */
-#define TRR24 0x0100 /* Deny But Don't Lock Access To Mailbox 24 */
-#define TRR25 0x0200 /* Deny But Don't Lock Access To Mailbox 25 */
-#define TRR26 0x0400 /* Deny But Don't Lock Access To Mailbox 26 */
-#define TRR27 0x0800 /* Deny But Don't Lock Access To Mailbox 27 */
-#define TRR28 0x1000 /* Deny But Don't Lock Access To Mailbox 28 */
-#define TRR29 0x2000 /* Deny But Don't Lock Access To Mailbox 29 */
-#define TRR30 0x4000 /* Deny But Don't Lock Access To Mailbox 30 */
-#define TRR31 0x8000 /* Deny But Don't Lock Access To Mailbox 31 */
-
-/* CAN_TRS1 Masks */
-#define TRS0 0x0001 /* Remote Frame Request For Mailbox 0 */
-#define TRS1 0x0002 /* Remote Frame Request For Mailbox 1 */
-#define TRS2 0x0004 /* Remote Frame Request For Mailbox 2 */
-#define TRS3 0x0008 /* Remote Frame Request For Mailbox 3 */
-#define TRS4 0x0010 /* Remote Frame Request For Mailbox 4 */
-#define TRS5 0x0020 /* Remote Frame Request For Mailbox 5 */
-#define TRS6 0x0040 /* Remote Frame Request For Mailbox 6 */
-#define TRS7 0x0080 /* Remote Frame Request For Mailbox 7 */
-#define TRS8 0x0100 /* Remote Frame Request For Mailbox 8 */
-#define TRS9 0x0200 /* Remote Frame Request For Mailbox 9 */
-#define TRS10 0x0400 /* Remote Frame Request For Mailbox 10 */
-#define TRS11 0x0800 /* Remote Frame Request For Mailbox 11 */
-#define TRS12 0x1000 /* Remote Frame Request For Mailbox 12 */
-#define TRS13 0x2000 /* Remote Frame Request For Mailbox 13 */
-#define TRS14 0x4000 /* Remote Frame Request For Mailbox 14 */
-#define TRS15 0x8000 /* Remote Frame Request For Mailbox 15 */
-
-/* CAN_TRS2 Masks */
-#define TRS16 0x0001 /* Remote Frame Request For Mailbox 16 */
-#define TRS17 0x0002 /* Remote Frame Request For Mailbox 17 */
-#define TRS18 0x0004 /* Remote Frame Request For Mailbox 18 */
-#define TRS19 0x0008 /* Remote Frame Request For Mailbox 19 */
-#define TRS20 0x0010 /* Remote Frame Request For Mailbox 20 */
-#define TRS21 0x0020 /* Remote Frame Request For Mailbox 21 */
-#define TRS22 0x0040 /* Remote Frame Request For Mailbox 22 */
-#define TRS23 0x0080 /* Remote Frame Request For Mailbox 23 */
-#define TRS24 0x0100 /* Remote Frame Request For Mailbox 24 */
-#define TRS25 0x0200 /* Remote Frame Request For Mailbox 25 */
-#define TRS26 0x0400 /* Remote Frame Request For Mailbox 26 */
-#define TRS27 0x0800 /* Remote Frame Request For Mailbox 27 */
-#define TRS28 0x1000 /* Remote Frame Request For Mailbox 28 */
-#define TRS29 0x2000 /* Remote Frame Request For Mailbox 29 */
-#define TRS30 0x4000 /* Remote Frame Request For Mailbox 30 */
-#define TRS31 0x8000 /* Remote Frame Request For Mailbox 31 */
-
-/* CAN_AA1 Masks */
-#define AA0 0x0001 /* Aborted Message In Mailbox 0 */
-#define AA1 0x0002 /* Aborted Message In Mailbox 1 */
-#define AA2 0x0004 /* Aborted Message In Mailbox 2 */
-#define AA3 0x0008 /* Aborted Message In Mailbox 3 */
-#define AA4 0x0010 /* Aborted Message In Mailbox 4 */
-#define AA5 0x0020 /* Aborted Message In Mailbox 5 */
-#define AA6 0x0040 /* Aborted Message In Mailbox 6 */
-#define AA7 0x0080 /* Aborted Message In Mailbox 7 */
-#define AA8 0x0100 /* Aborted Message In Mailbox 8 */
-#define AA9 0x0200 /* Aborted Message In Mailbox 9 */
-#define AA10 0x0400 /* Aborted Message In Mailbox 10 */
-#define AA11 0x0800 /* Aborted Message In Mailbox 11 */
-#define AA12 0x1000 /* Aborted Message In Mailbox 12 */
-#define AA13 0x2000 /* Aborted Message In Mailbox 13 */
-#define AA14 0x4000 /* Aborted Message In Mailbox 14 */
-#define AA15 0x8000 /* Aborted Message In Mailbox 15 */
-
-/* CAN_AA2 Masks */
-#define AA16 0x0001 /* Aborted Message In Mailbox 16 */
-#define AA17 0x0002 /* Aborted Message In Mailbox 17 */
-#define AA18 0x0004 /* Aborted Message In Mailbox 18 */
-#define AA19 0x0008 /* Aborted Message In Mailbox 19 */
-#define AA20 0x0010 /* Aborted Message In Mailbox 20 */
-#define AA21 0x0020 /* Aborted Message In Mailbox 21 */
-#define AA22 0x0040 /* Aborted Message In Mailbox 22 */
-#define AA23 0x0080 /* Aborted Message In Mailbox 23 */
-#define AA24 0x0100 /* Aborted Message In Mailbox 24 */
-#define AA25 0x0200 /* Aborted Message In Mailbox 25 */
-#define AA26 0x0400 /* Aborted Message In Mailbox 26 */
-#define AA27 0x0800 /* Aborted Message In Mailbox 27 */
-#define AA28 0x1000 /* Aborted Message In Mailbox 28 */
-#define AA29 0x2000 /* Aborted Message In Mailbox 29 */
-#define AA30 0x4000 /* Aborted Message In Mailbox 30 */
-#define AA31 0x8000 /* Aborted Message In Mailbox 31 */
-
-/* CAN_TA1 Masks */
-#define TA0 0x0001 /* Transmit Successful From Mailbox 0 */
-#define TA1 0x0002 /* Transmit Successful From Mailbox 1 */
-#define TA2 0x0004 /* Transmit Successful From Mailbox 2 */
-#define TA3 0x0008 /* Transmit Successful From Mailbox 3 */
-#define TA4 0x0010 /* Transmit Successful From Mailbox 4 */
-#define TA5 0x0020 /* Transmit Successful From Mailbox 5 */
-#define TA6 0x0040 /* Transmit Successful From Mailbox 6 */
-#define TA7 0x0080 /* Transmit Successful From Mailbox 7 */
-#define TA8 0x0100 /* Transmit Successful From Mailbox 8 */
-#define TA9 0x0200 /* Transmit Successful From Mailbox 9 */
-#define TA10 0x0400 /* Transmit Successful From Mailbox 10 */
-#define TA11 0x0800 /* Transmit Successful From Mailbox 11 */
-#define TA12 0x1000 /* Transmit Successful From Mailbox 12 */
-#define TA13 0x2000 /* Transmit Successful From Mailbox 13 */
-#define TA14 0x4000 /* Transmit Successful From Mailbox 14 */
-#define TA15 0x8000 /* Transmit Successful From Mailbox 15 */
-
-/* CAN_TA2 Masks */
-#define TA16 0x0001 /* Transmit Successful From Mailbox 16 */
-#define TA17 0x0002 /* Transmit Successful From Mailbox 17 */
-#define TA18 0x0004 /* Transmit Successful From Mailbox 18 */
-#define TA19 0x0008 /* Transmit Successful From Mailbox 19 */
-#define TA20 0x0010 /* Transmit Successful From Mailbox 20 */
-#define TA21 0x0020 /* Transmit Successful From Mailbox 21 */
-#define TA22 0x0040 /* Transmit Successful From Mailbox 22 */
-#define TA23 0x0080 /* Transmit Successful From Mailbox 23 */
-#define TA24 0x0100 /* Transmit Successful From Mailbox 24 */
-#define TA25 0x0200 /* Transmit Successful From Mailbox 25 */
-#define TA26 0x0400 /* Transmit Successful From Mailbox 26 */
-#define TA27 0x0800 /* Transmit Successful From Mailbox 27 */
-#define TA28 0x1000 /* Transmit Successful From Mailbox 28 */
-#define TA29 0x2000 /* Transmit Successful From Mailbox 29 */
-#define TA30 0x4000 /* Transmit Successful From Mailbox 30 */
-#define TA31 0x8000 /* Transmit Successful From Mailbox 31 */
-
-/* CAN_MBTD Masks */
-#define TDPTR 0x001F /* Mailbox To Temporarily Disable */
-#define TDA 0x0040 /* Temporary Disable Acknowledge */
-#define TDR 0x0080 /* Temporary Disable Request */
-
-/* CAN_RFH1 Masks */
-#define RFH0 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 0 */
-#define RFH1 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 1 */
-#define RFH2 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 2 */
-#define RFH3 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 3 */
-#define RFH4 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 4 */
-#define RFH5 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 5 */
-#define RFH6 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 6 */
-#define RFH7 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 7 */
-#define RFH8 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 8 */
-#define RFH9 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 9 */
-#define RFH10 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 10 */
-#define RFH11 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 11 */
-#define RFH12 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 12 */
-#define RFH13 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 13 */
-#define RFH14 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 14 */
-#define RFH15 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 15 */
-
-/* CAN_RFH2 Masks */
-#define RFH16 0x0001 /* Enable Automatic Remote Frame Handling For Mailbox 16 */
-#define RFH17 0x0002 /* Enable Automatic Remote Frame Handling For Mailbox 17 */
-#define RFH18 0x0004 /* Enable Automatic Remote Frame Handling For Mailbox 18 */
-#define RFH19 0x0008 /* Enable Automatic Remote Frame Handling For Mailbox 19 */
-#define RFH20 0x0010 /* Enable Automatic Remote Frame Handling For Mailbox 20 */
-#define RFH21 0x0020 /* Enable Automatic Remote Frame Handling For Mailbox 21 */
-#define RFH22 0x0040 /* Enable Automatic Remote Frame Handling For Mailbox 22 */
-#define RFH23 0x0080 /* Enable Automatic Remote Frame Handling For Mailbox 23 */
-#define RFH24 0x0100 /* Enable Automatic Remote Frame Handling For Mailbox 24 */
-#define RFH25 0x0200 /* Enable Automatic Remote Frame Handling For Mailbox 25 */
-#define RFH26 0x0400 /* Enable Automatic Remote Frame Handling For Mailbox 26 */
-#define RFH27 0x0800 /* Enable Automatic Remote Frame Handling For Mailbox 27 */
-#define RFH28 0x1000 /* Enable Automatic Remote Frame Handling For Mailbox 28 */
-#define RFH29 0x2000 /* Enable Automatic Remote Frame Handling For Mailbox 29 */
-#define RFH30 0x4000 /* Enable Automatic Remote Frame Handling For Mailbox 30 */
-#define RFH31 0x8000 /* Enable Automatic Remote Frame Handling For Mailbox 31 */
-
-/* CAN_MBTIF1 Masks */
-#define MBTIF0 0x0001 /* TX Interrupt Active In Mailbox 0 */
-#define MBTIF1 0x0002 /* TX Interrupt Active In Mailbox 1 */
-#define MBTIF2 0x0004 /* TX Interrupt Active In Mailbox 2 */
-#define MBTIF3 0x0008 /* TX Interrupt Active In Mailbox 3 */
-#define MBTIF4 0x0010 /* TX Interrupt Active In Mailbox 4 */
-#define MBTIF5 0x0020 /* TX Interrupt Active In Mailbox 5 */
-#define MBTIF6 0x0040 /* TX Interrupt Active In Mailbox 6 */
-#define MBTIF7 0x0080 /* TX Interrupt Active In Mailbox 7 */
-#define MBTIF8 0x0100 /* TX Interrupt Active In Mailbox 8 */
-#define MBTIF9 0x0200 /* TX Interrupt Active In Mailbox 9 */
-#define MBTIF10 0x0400 /* TX Interrupt Active In Mailbox 10 */
-#define MBTIF11 0x0800 /* TX Interrupt Active In Mailbox 11 */
-#define MBTIF12 0x1000 /* TX Interrupt Active In Mailbox 12 */
-#define MBTIF13 0x2000 /* TX Interrupt Active In Mailbox 13 */
-#define MBTIF14 0x4000 /* TX Interrupt Active In Mailbox 14 */
-#define MBTIF15 0x8000 /* TX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBTIF2 Masks */
-#define MBTIF16 0x0001 /* TX Interrupt Active In Mailbox 16 */
-#define MBTIF17 0x0002 /* TX Interrupt Active In Mailbox 17 */
-#define MBTIF18 0x0004 /* TX Interrupt Active In Mailbox 18 */
-#define MBTIF19 0x0008 /* TX Interrupt Active In Mailbox 19 */
-#define MBTIF20 0x0010 /* TX Interrupt Active In Mailbox 20 */
-#define MBTIF21 0x0020 /* TX Interrupt Active In Mailbox 21 */
-#define MBTIF22 0x0040 /* TX Interrupt Active In Mailbox 22 */
-#define MBTIF23 0x0080 /* TX Interrupt Active In Mailbox 23 */
-#define MBTIF24 0x0100 /* TX Interrupt Active In Mailbox 24 */
-#define MBTIF25 0x0200 /* TX Interrupt Active In Mailbox 25 */
-#define MBTIF26 0x0400 /* TX Interrupt Active In Mailbox 26 */
-#define MBTIF27 0x0800 /* TX Interrupt Active In Mailbox 27 */
-#define MBTIF28 0x1000 /* TX Interrupt Active In Mailbox 28 */
-#define MBTIF29 0x2000 /* TX Interrupt Active In Mailbox 29 */
-#define MBTIF30 0x4000 /* TX Interrupt Active In Mailbox 30 */
-#define MBTIF31 0x8000 /* TX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBRIF1 Masks */
-#define MBRIF0 0x0001 /* RX Interrupt Active In Mailbox 0 */
-#define MBRIF1 0x0002 /* RX Interrupt Active In Mailbox 1 */
-#define MBRIF2 0x0004 /* RX Interrupt Active In Mailbox 2 */
-#define MBRIF3 0x0008 /* RX Interrupt Active In Mailbox 3 */
-#define MBRIF4 0x0010 /* RX Interrupt Active In Mailbox 4 */
-#define MBRIF5 0x0020 /* RX Interrupt Active In Mailbox 5 */
-#define MBRIF6 0x0040 /* RX Interrupt Active In Mailbox 6 */
-#define MBRIF7 0x0080 /* RX Interrupt Active In Mailbox 7 */
-#define MBRIF8 0x0100 /* RX Interrupt Active In Mailbox 8 */
-#define MBRIF9 0x0200 /* RX Interrupt Active In Mailbox 9 */
-#define MBRIF10 0x0400 /* RX Interrupt Active In Mailbox 10 */
-#define MBRIF11 0x0800 /* RX Interrupt Active In Mailbox 11 */
-#define MBRIF12 0x1000 /* RX Interrupt Active In Mailbox 12 */
-#define MBRIF13 0x2000 /* RX Interrupt Active In Mailbox 13 */
-#define MBRIF14 0x4000 /* RX Interrupt Active In Mailbox 14 */
-#define MBRIF15 0x8000 /* RX Interrupt Active In Mailbox 15 */
-
-/* CAN_MBRIF2 Masks */
-#define MBRIF16 0x0001 /* RX Interrupt Active In Mailbox 16 */
-#define MBRIF17 0x0002 /* RX Interrupt Active In Mailbox 17 */
-#define MBRIF18 0x0004 /* RX Interrupt Active In Mailbox 18 */
-#define MBRIF19 0x0008 /* RX Interrupt Active In Mailbox 19 */
-#define MBRIF20 0x0010 /* RX Interrupt Active In Mailbox 20 */
-#define MBRIF21 0x0020 /* RX Interrupt Active In Mailbox 21 */
-#define MBRIF22 0x0040 /* RX Interrupt Active In Mailbox 22 */
-#define MBRIF23 0x0080 /* RX Interrupt Active In Mailbox 23 */
-#define MBRIF24 0x0100 /* RX Interrupt Active In Mailbox 24 */
-#define MBRIF25 0x0200 /* RX Interrupt Active In Mailbox 25 */
-#define MBRIF26 0x0400 /* RX Interrupt Active In Mailbox 26 */
-#define MBRIF27 0x0800 /* RX Interrupt Active In Mailbox 27 */
-#define MBRIF28 0x1000 /* RX Interrupt Active In Mailbox 28 */
-#define MBRIF29 0x2000 /* RX Interrupt Active In Mailbox 29 */
-#define MBRIF30 0x4000 /* RX Interrupt Active In Mailbox 30 */
-#define MBRIF31 0x8000 /* RX Interrupt Active In Mailbox 31 */
-
-/* CAN_MBIM1 Masks */
-#define MBIM0 0x0001 /* Enable Interrupt For Mailbox 0 */
-#define MBIM1 0x0002 /* Enable Interrupt For Mailbox 1 */
-#define MBIM2 0x0004 /* Enable Interrupt For Mailbox 2 */
-#define MBIM3 0x0008 /* Enable Interrupt For Mailbox 3 */
-#define MBIM4 0x0010 /* Enable Interrupt For Mailbox 4 */
-#define MBIM5 0x0020 /* Enable Interrupt For Mailbox 5 */
-#define MBIM6 0x0040 /* Enable Interrupt For Mailbox 6 */
-#define MBIM7 0x0080 /* Enable Interrupt For Mailbox 7 */
-#define MBIM8 0x0100 /* Enable Interrupt For Mailbox 8 */
-#define MBIM9 0x0200 /* Enable Interrupt For Mailbox 9 */
-#define MBIM10 0x0400 /* Enable Interrupt For Mailbox 10 */
-#define MBIM11 0x0800 /* Enable Interrupt For Mailbox 11 */
-#define MBIM12 0x1000 /* Enable Interrupt For Mailbox 12 */
-#define MBIM13 0x2000 /* Enable Interrupt For Mailbox 13 */
-#define MBIM14 0x4000 /* Enable Interrupt For Mailbox 14 */
-#define MBIM15 0x8000 /* Enable Interrupt For Mailbox 15 */
-
-/* CAN_MBIM2 Masks */
-#define MBIM16 0x0001 /* Enable Interrupt For Mailbox 16 */
-#define MBIM17 0x0002 /* Enable Interrupt For Mailbox 17 */
-#define MBIM18 0x0004 /* Enable Interrupt For Mailbox 18 */
-#define MBIM19 0x0008 /* Enable Interrupt For Mailbox 19 */
-#define MBIM20 0x0010 /* Enable Interrupt For Mailbox 20 */
-#define MBIM21 0x0020 /* Enable Interrupt For Mailbox 21 */
-#define MBIM22 0x0040 /* Enable Interrupt For Mailbox 22 */
-#define MBIM23 0x0080 /* Enable Interrupt For Mailbox 23 */
-#define MBIM24 0x0100 /* Enable Interrupt For Mailbox 24 */
-#define MBIM25 0x0200 /* Enable Interrupt For Mailbox 25 */
-#define MBIM26 0x0400 /* Enable Interrupt For Mailbox 26 */
-#define MBIM27 0x0800 /* Enable Interrupt For Mailbox 27 */
-#define MBIM28 0x1000 /* Enable Interrupt For Mailbox 28 */
-#define MBIM29 0x2000 /* Enable Interrupt For Mailbox 29 */
-#define MBIM30 0x4000 /* Enable Interrupt For Mailbox 30 */
-#define MBIM31 0x8000 /* Enable Interrupt For Mailbox 31 */
-
-/* CAN_GIM Masks */
-#define EWTIM 0x0001 /* Enable TX Error Count Interrupt */
-#define EWRIM 0x0002 /* Enable RX Error Count Interrupt */
-#define EPIM 0x0004 /* Enable Error-Passive Mode Interrupt */
-#define BOIM 0x0008 /* Enable Bus Off Interrupt */
-#define WUIM 0x0010 /* Enable Wake-Up Interrupt */
-#define UIAIM 0x0020 /* Enable Access To Unimplemented Address Interrupt */
-#define AAIM 0x0040 /* Enable Abort Acknowledge Interrupt */
-#define RMLIM 0x0080 /* Enable RX Message Lost Interrupt */
-#define UCEIM 0x0100 /* Enable Universal Counter Overflow Interrupt */
-#define EXTIM 0x0200 /* Enable External Trigger Output Interrupt */
-#define ADIM 0x0400 /* Enable Access Denied Interrupt */
-
-/* CAN_GIS Masks */
-#define EWTIS 0x0001 /* TX Error Count IRQ Status */
-#define EWRIS 0x0002 /* RX Error Count IRQ Status */
-#define EPIS 0x0004 /* Error-Passive Mode IRQ Status */
-#define BOIS 0x0008 /* Bus Off IRQ Status */
-#define WUIS 0x0010 /* Wake-Up IRQ Status */
-#define UIAIS 0x0020 /* Access To Unimplemented Address IRQ Status */
-#define AAIS 0x0040 /* Abort Acknowledge IRQ Status */
-#define RMLIS 0x0080 /* RX Message Lost IRQ Status */
-#define UCEIS 0x0100 /* Universal Counter Overflow IRQ Status */
-#define EXTIS 0x0200 /* External Trigger Output IRQ Status */
-#define ADIS 0x0400 /* Access Denied IRQ Status */
-
-/* CAN_GIF Masks */
-#define EWTIF 0x0001 /* TX Error Count IRQ Flag */
-#define EWRIF 0x0002 /* RX Error Count IRQ Flag */
-#define EPIF 0x0004 /* Error-Passive Mode IRQ Flag */
-#define BOIF 0x0008 /* Bus Off IRQ Flag */
-#define WUIF 0x0010 /* Wake-Up IRQ Flag */
-#define UIAIF 0x0020 /* Access To Unimplemented Address IRQ Flag */
-#define AAIF 0x0040 /* Abort Acknowledge IRQ Flag */
-#define RMLIF 0x0080 /* RX Message Lost IRQ Flag */
-#define UCEIF 0x0100 /* Universal Counter Overflow IRQ Flag */
-#define EXTIF 0x0200 /* External Trigger Output IRQ Flag */
-#define ADIF 0x0400 /* Access Denied IRQ Flag */
-
-/* CAN_UCCNF Masks */
-#define UCCNF 0x000F /* Universal Counter Mode */
-#define UC_STAMP 0x0001 /* Timestamp Mode */
-#define UC_WDOG 0x0002 /* Watchdog Mode */
-#define UC_AUTOTX 0x0003 /* Auto-Transmit Mode */
-#define UC_ERROR 0x0006 /* CAN Error Frame Count */
-#define UC_OVER 0x0007 /* CAN Overload Frame Count */
-#define UC_LOST 0x0008 /* Arbitration Lost During TX Count */
-#define UC_AA 0x0009 /* TX Abort Count */
-#define UC_TA 0x000A /* TX Successful Count */
-#define UC_REJECT 0x000B /* RX Message Rejected Count */
-#define UC_RML 0x000C /* RX Message Lost Count */
-#define UC_RX 0x000D /* Total Successful RX Messages Count */
-#define UC_RMP 0x000E /* Successful RX W/Matching ID Count */
-#define UC_ALL 0x000F /* Correct Message On CAN Bus Line Count */
-#define UCRC 0x0020 /* Universal Counter Reload/Clear */
-#define UCCT 0x0040 /* Universal Counter CAN Trigger */
-#define UCE 0x0080 /* Universal Counter Enable */
-
-/* CAN_ESR Masks */
-#define ACKE 0x0004 /* Acknowledge Error */
-#define SER 0x0008 /* Stuff Error */
-#define CRCE 0x0010 /* CRC Error */
-#define SA0 0x0020 /* Stuck At Dominant Error */
-#define BEF 0x0040 /* Bit Error Flag */
-#define FER 0x0080 /* Form Error Flag */
-
-/* CAN_EWR Masks */
-#define EWLREC 0x00FF /* RX Error Count Limit (For EWRIS) */
-#define EWLTEC 0xFF00 /* TX Error Count Limit (For EWTIS) */
-
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF539_H */
diff --git a/libgloss/bfin/include/defBF542.h b/libgloss/bfin/include/defBF542.h
deleted file mode 100644
index be1e57d..0000000
--- a/libgloss/bfin/include/defBF542.h
+++ /dev/null
@@ -1,1238 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF542.h
-**
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF542_H
-#define _DEF_BF542_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF542 */
-
-/* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <defBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macros violate rule 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros ")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF542 that are not in the common header */
-
-/* ATAPI Registers */
-
-#define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */
-#define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */
-#define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */
-#define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */
-#define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */
-#define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */
-#define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */
-#define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */
-#define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */
-#define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */
-#define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */
-#define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */
-#define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */
-#define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */
-#define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */
-#define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */
-#define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */
-#define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */
-#define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */
-#define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */
-#define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */
-#define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */
-#define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */
-
-/* SDH Registers */
-
-#define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */
-#define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */
-#define SDH_ARGUMENT 0xffc03908 /* SDH Argument */
-#define SDH_COMMAND 0xffc0390c /* SDH Command */
-#define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */
-#define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */
-#define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */
-#define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */
-#define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */
-#define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */
-#define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */
-#define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */
-#define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */
-#define SDH_STATUS 0xffc03934 /* SDH Status */
-#define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */
-#define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */
-#define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */
-#define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */
-#define SDH_FIFO 0xffc03980 /* SDH Data FIFO */
-#define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */
-#define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */
-#define SDH_CFG 0xffc039c8 /* SDH Configuration */
-#define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */
-#define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */
-#define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */
-#define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */
-#define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */
-#define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */
-#define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */
-#define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */
-#define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03c00 /* Function address register */
-#define USB_POWER 0xffc03c04 /* Power management register */
-#define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03c20 /* USB frame number */
-#define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */
-#define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */
-#define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-#define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-#define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-#define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-#define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-#define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */
-#define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-#define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-#define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Keypad Registers */
-
-#define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */
-#define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */
-#define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */
-#define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */
-#define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */
-#define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */
-
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for KPAD_CTL */
-
-#define KPAD_EN 0x1 /* Keypad Enable */
-#define nKPAD_EN 0x0
-#define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */
-#define nKPAD_IRQMODE 0x0 /* Interrupt Disabled */
-#define KPAD_IRQMODE_SK 0x2 /* Single key (single row, single column) press interrupt enable */
-#define KPAD_IRQMODE_MK 0x4 /* Single key press multiple key press interrupt enable */
-
-#define KPAD_ROWEN 0x1c00 /* Row Enable Width */
-#define KPAD_COLEN 0xe000 /* Column Enable Width */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_ROWEN(x) (((x)&0x7u)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7u)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#else
-#define SET_KPAD_ROWEN(x) (((x)&0x7)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for KPAD_PRESCALE */
-
-#define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_PRESCALE(x) ((x)&0x3Fu) /* KPAD_PRESCALE_VAL (Key Prescale) Key Prescale Value (5:0) */
-#else
-#define SET_KPAD_PRESCALE(x) ((x)&0x3F) /* KPAD_PRESCALE_VAL (Key Prescale) Key Prescale Value (5:0) */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for KPAD_MSEL */
-
-#define DBON_SCALE 0xff /* Debounce Scale Value */
-#define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */
-
-/* Bit masks for KPAD_ROWCOL */
-
-#define KPAD_ROW 0xff /* Rows Pressed */
-#define KPAD_COL 0xff00 /* Columns Pressed */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFFu) /* DBON_SCALE (Debounce Scale) Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFFu)<<8) /* COLDRV_SCALE (Column Driver Scale) Column Driver Period Multiplier Select [15:8] */
-#else
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFF) /* DBON_SCALE (Debounce Scale) Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFF)<<8) /* COLDRV_SCALE (Column Driver Scale) Column Driver Period Multiplier Select [15:8] */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for KPAD_STAT */
-
-#define KPAD_IRQ 0x1 /* Keypad Interrupt Status */
-#define nKPAD_IRQ 0x0
-#define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */
-#define KPAD_PRESSED 0x8 /* Key press current status */
-#define nKPAD_PRESSED 0x0
-#define KPAD_NO_KEY 0x0 /* No Keypress Status*/
-#define KPAD_SINGLE_KEY 0x2 /* Single Keypress Status */
-#define KPAD_MKSROWCOL 0x4 /* Multiple Keypress in the same row or column Status */
-#define KPAD_MKMROWCOL 0x6 /* Multiple Keypress in the same multiple rows and multiple columns Status */
-
-/* Bit masks for KPAD_SOFTEVAL */
-
-#define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */
-#define nKPAD_SOFTEVAL_E 0x0
-
-/* Bit masks for SDH_COMMAND */
-
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP 0x40 /* Response */
-#define nCMD_RSP 0x0
-#define CMD_L_RSP 0x80 /* Long Response */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_E 0x100 /* Command Interrupt */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_E 0x200 /* Command Pending */
-#define nCMD_PEND_E 0x0
-#define CMD_E 0x400 /* Command Enable */
-#define nCMD_E 0x0
-
-/* Bit masks for SDH_PWR_CTL */
-
-#define PWR_ON 0x3 /* Power On */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-#define SD_CMD_OD 0x40 /* Open Drain Output */
-#define nSD_CMD_OD 0x0
-#define ROD_CTL 0x80 /* Rod Control */
-#define nROD_CTL 0x0
-
-/* Bit masks for SDH_CLK_CTL */
-
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_E 0x100 /* MC_CLK Bus Clock Enable */
-#define nCLK_E 0x0
-#define PWR_SV_E 0x200 /* Power Save Enable */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-#define nCLKDIV_BYPASS 0x0
-#define WIDE_BUS 0x800 /* Wide Bus Mode Enable */
-#define nWIDE_BUS 0x0
-
-/* Bit masks for SDH_RESP_CMD */
-
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for SDH_DATA_CTL */
-
-#define DTX_E 0x1 /* Data Transfer Enable */
-#define nDTX_E 0x0
-#define DTX_DIR 0x2 /* Data Transfer Direction */
-#define nDTX_DIR 0x0
-#define DTX_MODE 0x4 /* Data Transfer Mode */
-#define nDTX_MODE 0x0
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-#define nDTX_DMA_E 0x0
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-
-/* Bit masks for SDH_STATUS */
-
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for SDH_STATUS_CLR */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for SDH_MASK0 */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for SDH_FIFO_CNT */
-
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for SDH_E_STATUS */
-
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-#define nSD_CARD_DET 0x0
-
-/* Bit masks for SDH_E_MASK */
-
-#define SDIO_MSK 0x2 /* Mask SDIO Int Detected */
-#define nSDIO_MSK 0x0
-#define SCD_MSK 0x40 /* Mask Card Detect */
-#define nSCD_MSK 0x0
-
-/* Bit masks for SDH_CFG */
-
-#define CLKS_EN 0x1 /* Clocks Enable */
-#define nCLKS_EN 0x0
-#define SD4E 0x4 /* SDIO 4-Bit Enable */
-#define nSD4E 0x0
-#define MWE 0x8 /* Moving Window Enable */
-#define nMWE 0x0
-#define SD_RST 0x10 /* SDMMC Reset */
-#define nSD_RST 0x0
-#define PUP_SDDAT 0x20 /* Pull-up SD_DAT */
-#define nPUP_SDDAT 0x0
-#define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */
-#define nPUP_SDDAT3 0x0
-#define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */
-#define nPD_SDDAT3 0x0
-
-/* Bit masks for SDH_RD_WAIT_EN */
-
-#define RWR 0x1 /* Read Wait Request */
-#define nRWR 0x0
-
-/* Bit masks for ATAPI_CONTROL */
-
-#define PIO_START 0x1 /* Start PIO/Reg Op */
-#define nPIO_START 0x0
-#define MULTI_START 0x2 /* Start Multi-DMA Op */
-#define nMULTI_START 0x0
-#define ULTRA_START 0x4 /* Start Ultra-DMA Op */
-#define nULTRA_START 0x0
-#define XFER_DIR 0x8 /* Transfer Direction */
-#define nXFER_DIR 0x0
-#define IORDY_EN 0x10 /* IORDY Enable */
-#define nIORDY_EN 0x0
-#define FIFO_FLUSH 0x20 /* Flush FIFOs */
-#define nFIFO_FLUSH 0x0
-#define SOFT_RST 0x40 /* Soft Reset */
-#define nSOFT_RST 0x0
-#define DEV_RST 0x80 /* Device Reset */
-#define nDEV_RST 0x0
-#define TFRCNT_RST 0x100 /* Trans Count Reset */
-#define nTFRCNT_RST 0x0
-#define END_ON_TERM 0x200 /* End/Terminate Select */
-#define nEND_ON_TERM 0x0
-#define PIO_USE_DMA 0x400 /* PIO-DMA Enable */
-#define nPIO_USE_DMA 0x0
-#define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */
-
-/* Bit masks for ATAPI_STATUS */
-
-#define PIO_XFER_ON 0x1 /* PIO transfer in progress */
-#define nPIO_XFER_ON 0x0
-#define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */
-#define nMULTI_XFER_ON 0x0
-#define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */
-#define nULTRA_XFER_ON 0x0
-#define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */
-
-/* Bit masks for ATAPI_DEV_ADDR */
-
-#define DEV_ADDR 0x1f /* Device Address */
-
-/* Bit masks for ATAPI_INT_MASK */
-
-#define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */
-#define nATAPI_DEV_INT_MASK 0x0
-#define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */
-#define nPIO_DONE_MASK 0x0
-#define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */
-#define nMULTI_DONE_MASK 0x0
-#define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */
-#define nUDMAIN_DONE_MASK 0x0
-#define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */
-#define nUDMAOUT_DONE_MASK 0x0
-#define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */
-#define nHOST_TERM_XFER_MASK 0x0
-#define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */
-#define nMULTI_TERM_MASK 0x0
-#define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */
-#define nUDMAIN_TERM_MASK 0x0
-#define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */
-#define nUDMAOUT_TERM_MASK 0x0
-
-/* Bit masks for ATAPI_INT_STATUS */
-
-#define ATAPI_DEV_INT 0x1 /* Device interrupt status */
-#define nATAPI_DEV_INT 0x0
-#define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */
-#define nPIO_DONE_INT 0x0
-#define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */
-#define nMULTI_DONE_INT 0x0
-#define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */
-#define nUDMAIN_DONE_INT 0x0
-#define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */
-#define nUDMAOUT_DONE_INT 0x0
-#define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */
-#define nHOST_TERM_XFER_INT 0x0
-#define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */
-#define nMULTI_TERM_INT 0x0
-#define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */
-#define nUDMAIN_TERM_INT 0x0
-#define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */
-#define nUDMAOUT_TERM_INT 0x0
-
-/* Bit masks for ATAPI_LINE_STATUS */
-
-#define ATAPI_INTR 0x1 /* Device interrupt to host line status */
-#define nATAPI_INTR 0x0
-#define ATAPI_DASP 0x2 /* Device dasp to host line status */
-#define nATAPI_DASP 0x0
-#define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */
-#define nATAPI_CS0N 0x0
-#define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */
-#define nATAPI_CS1N 0x0
-#define ATAPI_ADDR 0x70 /* ATAPI address line status */
-#define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */
-#define nATAPI_DMAREQ 0x0
-#define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */
-#define nATAPI_DMAACKN 0x0
-#define ATAPI_DIOWN 0x200 /* ATAPI write line status */
-#define nATAPI_DIOWN 0x0
-#define ATAPI_DIORN 0x400 /* ATAPI read line status */
-#define nATAPI_DIORN 0x0
-#define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */
-#define nATAPI_IORDY 0x0
-
-/* Bit masks for ATAPI_SM_STATE */
-
-#define PIO_CSTATE 0xf /* PIO mode state machine current state */
-#define DMA_CSTATE 0xf0 /* DMA mode state machine current state */
-#define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */
-#define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */
-
-/* Bit masks for ATAPI_TERMINATE */
-
-#define ATAPI_HOST_TERM 0x1 /* Host terminationation */
-#define nATAPI_HOST_TERM 0x0
-
-/* Bit masks for ATAPI_REG_TIM_0 */
-
-#define T2_REG 0xff /* End of cycle time for register access transfers */
-#define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */
-
-/* Bit masks for ATAPI_PIO_TIM_0 */
-
-#define T1_REG 0xf /* Time from address valid to DIOR/DIOW */
-#define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */
-#define T4_REG 0xf000 /* DIOW data hold */
-
-/* Bit masks for ATAPI_PIO_TIM_1 */
-
-#define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */
-
-/* Bit masks for ATAPI_MULTI_TIM_0 */
-
-#define TD 0xff /* DIOR/DIOW asserted pulsewidth */
-#define TM 0xff00 /* Time from address valid to DIOR/DIOW */
-
-/* Bit masks for ATAPI_MULTI_TIM_1 */
-
-#define TKW 0xff /* Selects DIOW negated pulsewidth */
-#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
-
-/* Bit masks for ATAPI_MULTI_TIM_2 */
-
-#define TH 0xff /* Selects DIOW data hold */
-#define TEOC 0xff00 /* Selects end of cycle for DMA */
-
-/* Bit masks for ATAPI_ULTRA_TIM_0 */
-
-#define TACK 0xff /* Selects setup and hold times for TACK */
-#define TENV 0xff00 /* Selects envelope time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_1 */
-
-#define TDVS 0xff /* Selects data valid setup time */
-#define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_2 */
-
-#define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
-#define TMLI 0xff00 /* Selects interlock time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_3 */
-
-#define TZAH 0xff /* Selects minimum delay required for output */
-#define READY_PAUSE 0xff00 /* Selects ready to pause */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF542_H */
diff --git a/libgloss/bfin/include/defBF542M.h b/libgloss/bfin/include/defBF542M.h
deleted file mode 100644
index ea38f82..0000000
--- a/libgloss/bfin/include/defBF542M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF542M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps directly onto the def file for BF542, unless
-** anything is required to change for the M derivative.
-**
-**/
-
-#ifndef _DEF_BF542M_H
-#define _DEF_BF542M_H
-
-#include <defBF542.h>
-
-#endif /* _DEF_BF542M_H */
diff --git a/libgloss/bfin/include/defBF544.h b/libgloss/bfin/include/defBF544.h
deleted file mode 100644
index 681f042..0000000
--- a/libgloss/bfin/include/defBF544.h
+++ /dev/null
@@ -1,714 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF544.h
-**
-** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF544_H
-#define _DEF_BF544_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF544 */
-
-/* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <defBF54x_base.h>
-
-/* The following are the #defines needed by ADSP-BF544 that are not in the common header */
-
-/* Timer Registers */
-
-#define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
-#define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
-#define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
-#define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
-#define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
-#define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
-#define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
-#define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
-#define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
-#define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
-#define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
-#define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
-
-/* Timer Group of 3 Registers */
-
-#define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
-#define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
-#define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
-
-/* EPPI0 Registers */
-
-#define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
-#define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
-#define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
-#define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
-#define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
-#define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
-#define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */
-#define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */
-#define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */
-#define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */
-#define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */
-#define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */
-#define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */
-#define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */
-#define TWI1_CONTROL 0xffc02204 /* TWI Control Register */
-#define TWI1_SLAVE_CTL 0xffc02208 /* TWI Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */
-#define TWI1_MASTER_CTL 0xffc02214 /* TWI Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */
-#define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */
-#define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */
-#define TWI1_FIFO_CTL 0xffc02228 /* TWI FIFO Control Register */
-#define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */
-#define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define CAN1_MC1 0xffc03200 /* CAN Controller 1 Mailbox Configuration Register 1 */
-#define CAN1_MD1 0xffc03204 /* CAN Controller 1 Mailbox Direction Register 1 */
-#define CAN1_TRS1 0xffc03208 /* CAN Controller 1 Transmit Request Set Register 1 */
-#define CAN1_TRR1 0xffc0320c /* CAN Controller 1 Transmit Request Reset Register 1 */
-#define CAN1_TA1 0xffc03210 /* CAN Controller 1 Transmit Acknowledge Register 1 */
-#define CAN1_AA1 0xffc03214 /* CAN Controller 1 Abort Acknowledge Register 1 */
-#define CAN1_RMP1 0xffc03218 /* CAN Controller 1 Receive Message Pending Register 1 */
-#define CAN1_RML1 0xffc0321c /* CAN Controller 1 Receive Message Lost Register 1 */
-#define CAN1_MBTIF1 0xffc03220 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 1 */
-#define CAN1_MBRIF1 0xffc03224 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 1 */
-#define CAN1_MBIM1 0xffc03228 /* CAN Controller 1 Mailbox Interrupt Mask Register 1 */
-#define CAN1_RFH1 0xffc0322c /* CAN Controller 1 Remote Frame Handling Enable Register 1 */
-#define CAN1_OPSS1 0xffc03230 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 1 */
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define CAN1_MC2 0xffc03240 /* CAN Controller 1 Mailbox Configuration Register 2 */
-#define CAN1_MD2 0xffc03244 /* CAN Controller 1 Mailbox Direction Register 2 */
-#define CAN1_TRS2 0xffc03248 /* CAN Controller 1 Transmit Request Set Register 2 */
-#define CAN1_TRR2 0xffc0324c /* CAN Controller 1 Transmit Request Reset Register 2 */
-#define CAN1_TA2 0xffc03250 /* CAN Controller 1 Transmit Acknowledge Register 2 */
-#define CAN1_AA2 0xffc03254 /* CAN Controller 1 Abort Acknowledge Register 2 */
-#define CAN1_RMP2 0xffc03258 /* CAN Controller 1 Receive Message Pending Register 2 */
-#define CAN1_RML2 0xffc0325c /* CAN Controller 1 Receive Message Lost Register 2 */
-#define CAN1_MBTIF2 0xffc03260 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 2 */
-#define CAN1_MBRIF2 0xffc03264 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 2 */
-#define CAN1_MBIM2 0xffc03268 /* CAN Controller 1 Mailbox Interrupt Mask Register 2 */
-#define CAN1_RFH2 0xffc0326c /* CAN Controller 1 Remote Frame Handling Enable Register 2 */
-#define CAN1_OPSS2 0xffc03270 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 2 */
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define CAN1_CLOCK 0xffc03280 /* CAN Controller 1 Clock Register */
-#define CAN1_TIMING 0xffc03284 /* CAN Controller 1 Timing Register */
-#define CAN1_DEBUG 0xffc03288 /* CAN Controller 1 Debug Register */
-#define CAN1_STATUS 0xffc0328c /* CAN Controller 1 Global Status Register */
-#define CAN1_CEC 0xffc03290 /* CAN Controller 1 Error Counter Register */
-#define CAN1_GIS 0xffc03294 /* CAN Controller 1 Global Interrupt Status Register */
-#define CAN1_GIM 0xffc03298 /* CAN Controller 1 Global Interrupt Mask Register */
-#define CAN1_GIF 0xffc0329c /* CAN Controller 1 Global Interrupt Flag Register */
-#define CAN1_CONTROL 0xffc032a0 /* CAN Controller 1 Master Control Register */
-#define CAN1_INTR 0xffc032a4 /* CAN Controller 1 Interrupt Pending Register */
-#define CAN1_MBTD 0xffc032ac /* CAN Controller 1 Mailbox Temporary Disable Register */
-#define CAN1_EWR 0xffc032b0 /* CAN Controller 1 Programmable Warning Level Register */
-#define CAN1_ESR 0xffc032b4 /* CAN Controller 1 Error Status Register */
-#define CAN1_UCCNT 0xffc032c4 /* CAN Controller 1 Universal Counter Register */
-#define CAN1_UCRC 0xffc032c8 /* Universal Counter Reload/Capture Register */
-#define CAN1_UCCNF 0xffc032cc /* CAN Controller 1 Universal Counter Configuration Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM00L 0xffc03300 /* CAN Controller 1 Mailbox 0 Acceptance Mask High Register */
-#define CAN1_AM00H 0xffc03304 /* CAN Controller 1 Mailbox 0 Acceptance Mask Low Register */
-#define CAN1_AM01L 0xffc03308 /* CAN Controller 1 Mailbox 1 Acceptance Mask High Register */
-#define CAN1_AM01H 0xffc0330c /* CAN Controller 1 Mailbox 1 Acceptance Mask Low Register */
-#define CAN1_AM02L 0xffc03310 /* CAN Controller 1 Mailbox 2 Acceptance Mask High Register */
-#define CAN1_AM02H 0xffc03314 /* CAN Controller 1 Mailbox 2 Acceptance Mask Low Register */
-#define CAN1_AM03L 0xffc03318 /* CAN Controller 1 Mailbox 3 Acceptance Mask High Register */
-#define CAN1_AM03H 0xffc0331c /* CAN Controller 1 Mailbox 3 Acceptance Mask Low Register */
-#define CAN1_AM04L 0xffc03320 /* CAN Controller 1 Mailbox 4 Acceptance Mask High Register */
-#define CAN1_AM04H 0xffc03324 /* CAN Controller 1 Mailbox 4 Acceptance Mask Low Register */
-#define CAN1_AM05L 0xffc03328 /* CAN Controller 1 Mailbox 5 Acceptance Mask High Register */
-#define CAN1_AM05H 0xffc0332c /* CAN Controller 1 Mailbox 5 Acceptance Mask Low Register */
-#define CAN1_AM06L 0xffc03330 /* CAN Controller 1 Mailbox 6 Acceptance Mask High Register */
-#define CAN1_AM06H 0xffc03334 /* CAN Controller 1 Mailbox 6 Acceptance Mask Low Register */
-#define CAN1_AM07L 0xffc03338 /* CAN Controller 1 Mailbox 7 Acceptance Mask High Register */
-#define CAN1_AM07H 0xffc0333c /* CAN Controller 1 Mailbox 7 Acceptance Mask Low Register */
-#define CAN1_AM08L 0xffc03340 /* CAN Controller 1 Mailbox 8 Acceptance Mask High Register */
-#define CAN1_AM08H 0xffc03344 /* CAN Controller 1 Mailbox 8 Acceptance Mask Low Register */
-#define CAN1_AM09L 0xffc03348 /* CAN Controller 1 Mailbox 9 Acceptance Mask High Register */
-#define CAN1_AM09H 0xffc0334c /* CAN Controller 1 Mailbox 9 Acceptance Mask Low Register */
-#define CAN1_AM10L 0xffc03350 /* CAN Controller 1 Mailbox 10 Acceptance Mask High Register */
-#define CAN1_AM10H 0xffc03354 /* CAN Controller 1 Mailbox 10 Acceptance Mask Low Register */
-#define CAN1_AM11L 0xffc03358 /* CAN Controller 1 Mailbox 11 Acceptance Mask High Register */
-#define CAN1_AM11H 0xffc0335c /* CAN Controller 1 Mailbox 11 Acceptance Mask Low Register */
-#define CAN1_AM12L 0xffc03360 /* CAN Controller 1 Mailbox 12 Acceptance Mask High Register */
-#define CAN1_AM12H 0xffc03364 /* CAN Controller 1 Mailbox 12 Acceptance Mask Low Register */
-#define CAN1_AM13L 0xffc03368 /* CAN Controller 1 Mailbox 13 Acceptance Mask High Register */
-#define CAN1_AM13H 0xffc0336c /* CAN Controller 1 Mailbox 13 Acceptance Mask Low Register */
-#define CAN1_AM14L 0xffc03370 /* CAN Controller 1 Mailbox 14 Acceptance Mask High Register */
-#define CAN1_AM14H 0xffc03374 /* CAN Controller 1 Mailbox 14 Acceptance Mask Low Register */
-#define CAN1_AM15L 0xffc03378 /* CAN Controller 1 Mailbox 15 Acceptance Mask High Register */
-#define CAN1_AM15H 0xffc0337c /* CAN Controller 1 Mailbox 15 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM16L 0xffc03380 /* CAN Controller 1 Mailbox 16 Acceptance Mask High Register */
-#define CAN1_AM16H 0xffc03384 /* CAN Controller 1 Mailbox 16 Acceptance Mask Low Register */
-#define CAN1_AM17L 0xffc03388 /* CAN Controller 1 Mailbox 17 Acceptance Mask High Register */
-#define CAN1_AM17H 0xffc0338c /* CAN Controller 1 Mailbox 17 Acceptance Mask Low Register */
-#define CAN1_AM18L 0xffc03390 /* CAN Controller 1 Mailbox 18 Acceptance Mask High Register */
-#define CAN1_AM18H 0xffc03394 /* CAN Controller 1 Mailbox 18 Acceptance Mask Low Register */
-#define CAN1_AM19L 0xffc03398 /* CAN Controller 1 Mailbox 19 Acceptance Mask High Register */
-#define CAN1_AM19H 0xffc0339c /* CAN Controller 1 Mailbox 19 Acceptance Mask Low Register */
-#define CAN1_AM20L 0xffc033a0 /* CAN Controller 1 Mailbox 20 Acceptance Mask High Register */
-#define CAN1_AM20H 0xffc033a4 /* CAN Controller 1 Mailbox 20 Acceptance Mask Low Register */
-#define CAN1_AM21L 0xffc033a8 /* CAN Controller 1 Mailbox 21 Acceptance Mask High Register */
-#define CAN1_AM21H 0xffc033ac /* CAN Controller 1 Mailbox 21 Acceptance Mask Low Register */
-#define CAN1_AM22L 0xffc033b0 /* CAN Controller 1 Mailbox 22 Acceptance Mask High Register */
-#define CAN1_AM22H 0xffc033b4 /* CAN Controller 1 Mailbox 22 Acceptance Mask Low Register */
-#define CAN1_AM23L 0xffc033b8 /* CAN Controller 1 Mailbox 23 Acceptance Mask High Register */
-#define CAN1_AM23H 0xffc033bc /* CAN Controller 1 Mailbox 23 Acceptance Mask Low Register */
-#define CAN1_AM24L 0xffc033c0 /* CAN Controller 1 Mailbox 24 Acceptance Mask High Register */
-#define CAN1_AM24H 0xffc033c4 /* CAN Controller 1 Mailbox 24 Acceptance Mask Low Register */
-#define CAN1_AM25L 0xffc033c8 /* CAN Controller 1 Mailbox 25 Acceptance Mask High Register */
-#define CAN1_AM25H 0xffc033cc /* CAN Controller 1 Mailbox 25 Acceptance Mask Low Register */
-#define CAN1_AM26L 0xffc033d0 /* CAN Controller 1 Mailbox 26 Acceptance Mask High Register */
-#define CAN1_AM26H 0xffc033d4 /* CAN Controller 1 Mailbox 26 Acceptance Mask Low Register */
-#define CAN1_AM27L 0xffc033d8 /* CAN Controller 1 Mailbox 27 Acceptance Mask High Register */
-#define CAN1_AM27H 0xffc033dc /* CAN Controller 1 Mailbox 27 Acceptance Mask Low Register */
-#define CAN1_AM28L 0xffc033e0 /* CAN Controller 1 Mailbox 28 Acceptance Mask High Register */
-#define CAN1_AM28H 0xffc033e4 /* CAN Controller 1 Mailbox 28 Acceptance Mask Low Register */
-#define CAN1_AM29L 0xffc033e8 /* CAN Controller 1 Mailbox 29 Acceptance Mask High Register */
-#define CAN1_AM29H 0xffc033ec /* CAN Controller 1 Mailbox 29 Acceptance Mask Low Register */
-#define CAN1_AM30L 0xffc033f0 /* CAN Controller 1 Mailbox 30 Acceptance Mask High Register */
-#define CAN1_AM30H 0xffc033f4 /* CAN Controller 1 Mailbox 30 Acceptance Mask Low Register */
-#define CAN1_AM31L 0xffc033f8 /* CAN Controller 1 Mailbox 31 Acceptance Mask High Register */
-#define CAN1_AM31H 0xffc033fc /* CAN Controller 1 Mailbox 31 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB00_DATA0 0xffc03400 /* CAN Controller 1 Mailbox 0 Data 0 Register */
-#define CAN1_MB00_DATA1 0xffc03404 /* CAN Controller 1 Mailbox 0 Data 1 Register */
-#define CAN1_MB00_DATA2 0xffc03408 /* CAN Controller 1 Mailbox 0 Data 2 Register */
-#define CAN1_MB00_DATA3 0xffc0340c /* CAN Controller 1 Mailbox 0 Data 3 Register */
-#define CAN1_MB00_LENGTH 0xffc03410 /* CAN Controller 1 Mailbox 0 Length Register */
-#define CAN1_MB00_TIMESTAMP 0xffc03414 /* CAN Controller 1 Mailbox 0 Timestamp Register */
-#define CAN1_MB00_ID0 0xffc03418 /* CAN Controller 1 Mailbox 0 ID0 Register */
-#define CAN1_MB00_ID1 0xffc0341c /* CAN Controller 1 Mailbox 0 ID1 Register */
-#define CAN1_MB01_DATA0 0xffc03420 /* CAN Controller 1 Mailbox 1 Data 0 Register */
-#define CAN1_MB01_DATA1 0xffc03424 /* CAN Controller 1 Mailbox 1 Data 1 Register */
-#define CAN1_MB01_DATA2 0xffc03428 /* CAN Controller 1 Mailbox 1 Data 2 Register */
-#define CAN1_MB01_DATA3 0xffc0342c /* CAN Controller 1 Mailbox 1 Data 3 Register */
-#define CAN1_MB01_LENGTH 0xffc03430 /* CAN Controller 1 Mailbox 1 Length Register */
-#define CAN1_MB01_TIMESTAMP 0xffc03434 /* CAN Controller 1 Mailbox 1 Timestamp Register */
-#define CAN1_MB01_ID0 0xffc03438 /* CAN Controller 1 Mailbox 1 ID0 Register */
-#define CAN1_MB01_ID1 0xffc0343c /* CAN Controller 1 Mailbox 1 ID1 Register */
-#define CAN1_MB02_DATA0 0xffc03440 /* CAN Controller 1 Mailbox 2 Data 0 Register */
-#define CAN1_MB02_DATA1 0xffc03444 /* CAN Controller 1 Mailbox 2 Data 1 Register */
-#define CAN1_MB02_DATA2 0xffc03448 /* CAN Controller 1 Mailbox 2 Data 2 Register */
-#define CAN1_MB02_DATA3 0xffc0344c /* CAN Controller 1 Mailbox 2 Data 3 Register */
-#define CAN1_MB02_LENGTH 0xffc03450 /* CAN Controller 1 Mailbox 2 Length Register */
-#define CAN1_MB02_TIMESTAMP 0xffc03454 /* CAN Controller 1 Mailbox 2 Timestamp Register */
-#define CAN1_MB02_ID0 0xffc03458 /* CAN Controller 1 Mailbox 2 ID0 Register */
-#define CAN1_MB02_ID1 0xffc0345c /* CAN Controller 1 Mailbox 2 ID1 Register */
-#define CAN1_MB03_DATA0 0xffc03460 /* CAN Controller 1 Mailbox 3 Data 0 Register */
-#define CAN1_MB03_DATA1 0xffc03464 /* CAN Controller 1 Mailbox 3 Data 1 Register */
-#define CAN1_MB03_DATA2 0xffc03468 /* CAN Controller 1 Mailbox 3 Data 2 Register */
-#define CAN1_MB03_DATA3 0xffc0346c /* CAN Controller 1 Mailbox 3 Data 3 Register */
-#define CAN1_MB03_LENGTH 0xffc03470 /* CAN Controller 1 Mailbox 3 Length Register */
-#define CAN1_MB03_TIMESTAMP 0xffc03474 /* CAN Controller 1 Mailbox 3 Timestamp Register */
-#define CAN1_MB03_ID0 0xffc03478 /* CAN Controller 1 Mailbox 3 ID0 Register */
-#define CAN1_MB03_ID1 0xffc0347c /* CAN Controller 1 Mailbox 3 ID1 Register */
-#define CAN1_MB04_DATA0 0xffc03480 /* CAN Controller 1 Mailbox 4 Data 0 Register */
-#define CAN1_MB04_DATA1 0xffc03484 /* CAN Controller 1 Mailbox 4 Data 1 Register */
-#define CAN1_MB04_DATA2 0xffc03488 /* CAN Controller 1 Mailbox 4 Data 2 Register */
-#define CAN1_MB04_DATA3 0xffc0348c /* CAN Controller 1 Mailbox 4 Data 3 Register */
-#define CAN1_MB04_LENGTH 0xffc03490 /* CAN Controller 1 Mailbox 4 Length Register */
-#define CAN1_MB04_TIMESTAMP 0xffc03494 /* CAN Controller 1 Mailbox 4 Timestamp Register */
-#define CAN1_MB04_ID0 0xffc03498 /* CAN Controller 1 Mailbox 4 ID0 Register */
-#define CAN1_MB04_ID1 0xffc0349c /* CAN Controller 1 Mailbox 4 ID1 Register */
-#define CAN1_MB05_DATA0 0xffc034a0 /* CAN Controller 1 Mailbox 5 Data 0 Register */
-#define CAN1_MB05_DATA1 0xffc034a4 /* CAN Controller 1 Mailbox 5 Data 1 Register */
-#define CAN1_MB05_DATA2 0xffc034a8 /* CAN Controller 1 Mailbox 5 Data 2 Register */
-#define CAN1_MB05_DATA3 0xffc034ac /* CAN Controller 1 Mailbox 5 Data 3 Register */
-#define CAN1_MB05_LENGTH 0xffc034b0 /* CAN Controller 1 Mailbox 5 Length Register */
-#define CAN1_MB05_TIMESTAMP 0xffc034b4 /* CAN Controller 1 Mailbox 5 Timestamp Register */
-#define CAN1_MB05_ID0 0xffc034b8 /* CAN Controller 1 Mailbox 5 ID0 Register */
-#define CAN1_MB05_ID1 0xffc034bc /* CAN Controller 1 Mailbox 5 ID1 Register */
-#define CAN1_MB06_DATA0 0xffc034c0 /* CAN Controller 1 Mailbox 6 Data 0 Register */
-#define CAN1_MB06_DATA1 0xffc034c4 /* CAN Controller 1 Mailbox 6 Data 1 Register */
-#define CAN1_MB06_DATA2 0xffc034c8 /* CAN Controller 1 Mailbox 6 Data 2 Register */
-#define CAN1_MB06_DATA3 0xffc034cc /* CAN Controller 1 Mailbox 6 Data 3 Register */
-#define CAN1_MB06_LENGTH 0xffc034d0 /* CAN Controller 1 Mailbox 6 Length Register */
-#define CAN1_MB06_TIMESTAMP 0xffc034d4 /* CAN Controller 1 Mailbox 6 Timestamp Register */
-#define CAN1_MB06_ID0 0xffc034d8 /* CAN Controller 1 Mailbox 6 ID0 Register */
-#define CAN1_MB06_ID1 0xffc034dc /* CAN Controller 1 Mailbox 6 ID1 Register */
-#define CAN1_MB07_DATA0 0xffc034e0 /* CAN Controller 1 Mailbox 7 Data 0 Register */
-#define CAN1_MB07_DATA1 0xffc034e4 /* CAN Controller 1 Mailbox 7 Data 1 Register */
-#define CAN1_MB07_DATA2 0xffc034e8 /* CAN Controller 1 Mailbox 7 Data 2 Register */
-#define CAN1_MB07_DATA3 0xffc034ec /* CAN Controller 1 Mailbox 7 Data 3 Register */
-#define CAN1_MB07_LENGTH 0xffc034f0 /* CAN Controller 1 Mailbox 7 Length Register */
-#define CAN1_MB07_TIMESTAMP 0xffc034f4 /* CAN Controller 1 Mailbox 7 Timestamp Register */
-#define CAN1_MB07_ID0 0xffc034f8 /* CAN Controller 1 Mailbox 7 ID0 Register */
-#define CAN1_MB07_ID1 0xffc034fc /* CAN Controller 1 Mailbox 7 ID1 Register */
-#define CAN1_MB08_DATA0 0xffc03500 /* CAN Controller 1 Mailbox 8 Data 0 Register */
-#define CAN1_MB08_DATA1 0xffc03504 /* CAN Controller 1 Mailbox 8 Data 1 Register */
-#define CAN1_MB08_DATA2 0xffc03508 /* CAN Controller 1 Mailbox 8 Data 2 Register */
-#define CAN1_MB08_DATA3 0xffc0350c /* CAN Controller 1 Mailbox 8 Data 3 Register */
-#define CAN1_MB08_LENGTH 0xffc03510 /* CAN Controller 1 Mailbox 8 Length Register */
-#define CAN1_MB08_TIMESTAMP 0xffc03514 /* CAN Controller 1 Mailbox 8 Timestamp Register */
-#define CAN1_MB08_ID0 0xffc03518 /* CAN Controller 1 Mailbox 8 ID0 Register */
-#define CAN1_MB08_ID1 0xffc0351c /* CAN Controller 1 Mailbox 8 ID1 Register */
-#define CAN1_MB09_DATA0 0xffc03520 /* CAN Controller 1 Mailbox 9 Data 0 Register */
-#define CAN1_MB09_DATA1 0xffc03524 /* CAN Controller 1 Mailbox 9 Data 1 Register */
-#define CAN1_MB09_DATA2 0xffc03528 /* CAN Controller 1 Mailbox 9 Data 2 Register */
-#define CAN1_MB09_DATA3 0xffc0352c /* CAN Controller 1 Mailbox 9 Data 3 Register */
-#define CAN1_MB09_LENGTH 0xffc03530 /* CAN Controller 1 Mailbox 9 Length Register */
-#define CAN1_MB09_TIMESTAMP 0xffc03534 /* CAN Controller 1 Mailbox 9 Timestamp Register */
-#define CAN1_MB09_ID0 0xffc03538 /* CAN Controller 1 Mailbox 9 ID0 Register */
-#define CAN1_MB09_ID1 0xffc0353c /* CAN Controller 1 Mailbox 9 ID1 Register */
-#define CAN1_MB10_DATA0 0xffc03540 /* CAN Controller 1 Mailbox 10 Data 0 Register */
-#define CAN1_MB10_DATA1 0xffc03544 /* CAN Controller 1 Mailbox 10 Data 1 Register */
-#define CAN1_MB10_DATA2 0xffc03548 /* CAN Controller 1 Mailbox 10 Data 2 Register */
-#define CAN1_MB10_DATA3 0xffc0354c /* CAN Controller 1 Mailbox 10 Data 3 Register */
-#define CAN1_MB10_LENGTH 0xffc03550 /* CAN Controller 1 Mailbox 10 Length Register */
-#define CAN1_MB10_TIMESTAMP 0xffc03554 /* CAN Controller 1 Mailbox 10 Timestamp Register */
-#define CAN1_MB10_ID0 0xffc03558 /* CAN Controller 1 Mailbox 10 ID0 Register */
-#define CAN1_MB10_ID1 0xffc0355c /* CAN Controller 1 Mailbox 10 ID1 Register */
-#define CAN1_MB11_DATA0 0xffc03560 /* CAN Controller 1 Mailbox 11 Data 0 Register */
-#define CAN1_MB11_DATA1 0xffc03564 /* CAN Controller 1 Mailbox 11 Data 1 Register */
-#define CAN1_MB11_DATA2 0xffc03568 /* CAN Controller 1 Mailbox 11 Data 2 Register */
-#define CAN1_MB11_DATA3 0xffc0356c /* CAN Controller 1 Mailbox 11 Data 3 Register */
-#define CAN1_MB11_LENGTH 0xffc03570 /* CAN Controller 1 Mailbox 11 Length Register */
-#define CAN1_MB11_TIMESTAMP 0xffc03574 /* CAN Controller 1 Mailbox 11 Timestamp Register */
-#define CAN1_MB11_ID0 0xffc03578 /* CAN Controller 1 Mailbox 11 ID0 Register */
-#define CAN1_MB11_ID1 0xffc0357c /* CAN Controller 1 Mailbox 11 ID1 Register */
-#define CAN1_MB12_DATA0 0xffc03580 /* CAN Controller 1 Mailbox 12 Data 0 Register */
-#define CAN1_MB12_DATA1 0xffc03584 /* CAN Controller 1 Mailbox 12 Data 1 Register */
-#define CAN1_MB12_DATA2 0xffc03588 /* CAN Controller 1 Mailbox 12 Data 2 Register */
-#define CAN1_MB12_DATA3 0xffc0358c /* CAN Controller 1 Mailbox 12 Data 3 Register */
-#define CAN1_MB12_LENGTH 0xffc03590 /* CAN Controller 1 Mailbox 12 Length Register */
-#define CAN1_MB12_TIMESTAMP 0xffc03594 /* CAN Controller 1 Mailbox 12 Timestamp Register */
-#define CAN1_MB12_ID0 0xffc03598 /* CAN Controller 1 Mailbox 12 ID0 Register */
-#define CAN1_MB12_ID1 0xffc0359c /* CAN Controller 1 Mailbox 12 ID1 Register */
-#define CAN1_MB13_DATA0 0xffc035a0 /* CAN Controller 1 Mailbox 13 Data 0 Register */
-#define CAN1_MB13_DATA1 0xffc035a4 /* CAN Controller 1 Mailbox 13 Data 1 Register */
-#define CAN1_MB13_DATA2 0xffc035a8 /* CAN Controller 1 Mailbox 13 Data 2 Register */
-#define CAN1_MB13_DATA3 0xffc035ac /* CAN Controller 1 Mailbox 13 Data 3 Register */
-#define CAN1_MB13_LENGTH 0xffc035b0 /* CAN Controller 1 Mailbox 13 Length Register */
-#define CAN1_MB13_TIMESTAMP 0xffc035b4 /* CAN Controller 1 Mailbox 13 Timestamp Register */
-#define CAN1_MB13_ID0 0xffc035b8 /* CAN Controller 1 Mailbox 13 ID0 Register */
-#define CAN1_MB13_ID1 0xffc035bc /* CAN Controller 1 Mailbox 13 ID1 Register */
-#define CAN1_MB14_DATA0 0xffc035c0 /* CAN Controller 1 Mailbox 14 Data 0 Register */
-#define CAN1_MB14_DATA1 0xffc035c4 /* CAN Controller 1 Mailbox 14 Data 1 Register */
-#define CAN1_MB14_DATA2 0xffc035c8 /* CAN Controller 1 Mailbox 14 Data 2 Register */
-#define CAN1_MB14_DATA3 0xffc035cc /* CAN Controller 1 Mailbox 14 Data 3 Register */
-#define CAN1_MB14_LENGTH 0xffc035d0 /* CAN Controller 1 Mailbox 14 Length Register */
-#define CAN1_MB14_TIMESTAMP 0xffc035d4 /* CAN Controller 1 Mailbox 14 Timestamp Register */
-#define CAN1_MB14_ID0 0xffc035d8 /* CAN Controller 1 Mailbox 14 ID0 Register */
-#define CAN1_MB14_ID1 0xffc035dc /* CAN Controller 1 Mailbox 14 ID1 Register */
-#define CAN1_MB15_DATA0 0xffc035e0 /* CAN Controller 1 Mailbox 15 Data 0 Register */
-#define CAN1_MB15_DATA1 0xffc035e4 /* CAN Controller 1 Mailbox 15 Data 1 Register */
-#define CAN1_MB15_DATA2 0xffc035e8 /* CAN Controller 1 Mailbox 15 Data 2 Register */
-#define CAN1_MB15_DATA3 0xffc035ec /* CAN Controller 1 Mailbox 15 Data 3 Register */
-#define CAN1_MB15_LENGTH 0xffc035f0 /* CAN Controller 1 Mailbox 15 Length Register */
-#define CAN1_MB15_TIMESTAMP 0xffc035f4 /* CAN Controller 1 Mailbox 15 Timestamp Register */
-#define CAN1_MB15_ID0 0xffc035f8 /* CAN Controller 1 Mailbox 15 ID0 Register */
-#define CAN1_MB15_ID1 0xffc035fc /* CAN Controller 1 Mailbox 15 ID1 Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB16_DATA0 0xffc03600 /* CAN Controller 1 Mailbox 16 Data 0 Register */
-#define CAN1_MB16_DATA1 0xffc03604 /* CAN Controller 1 Mailbox 16 Data 1 Register */
-#define CAN1_MB16_DATA2 0xffc03608 /* CAN Controller 1 Mailbox 16 Data 2 Register */
-#define CAN1_MB16_DATA3 0xffc0360c /* CAN Controller 1 Mailbox 16 Data 3 Register */
-#define CAN1_MB16_LENGTH 0xffc03610 /* CAN Controller 1 Mailbox 16 Length Register */
-#define CAN1_MB16_TIMESTAMP 0xffc03614 /* CAN Controller 1 Mailbox 16 Timestamp Register */
-#define CAN1_MB16_ID0 0xffc03618 /* CAN Controller 1 Mailbox 16 ID0 Register */
-#define CAN1_MB16_ID1 0xffc0361c /* CAN Controller 1 Mailbox 16 ID1 Register */
-#define CAN1_MB17_DATA0 0xffc03620 /* CAN Controller 1 Mailbox 17 Data 0 Register */
-#define CAN1_MB17_DATA1 0xffc03624 /* CAN Controller 1 Mailbox 17 Data 1 Register */
-#define CAN1_MB17_DATA2 0xffc03628 /* CAN Controller 1 Mailbox 17 Data 2 Register */
-#define CAN1_MB17_DATA3 0xffc0362c /* CAN Controller 1 Mailbox 17 Data 3 Register */
-#define CAN1_MB17_LENGTH 0xffc03630 /* CAN Controller 1 Mailbox 17 Length Register */
-#define CAN1_MB17_TIMESTAMP 0xffc03634 /* CAN Controller 1 Mailbox 17 Timestamp Register */
-#define CAN1_MB17_ID0 0xffc03638 /* CAN Controller 1 Mailbox 17 ID0 Register */
-#define CAN1_MB17_ID1 0xffc0363c /* CAN Controller 1 Mailbox 17 ID1 Register */
-#define CAN1_MB18_DATA0 0xffc03640 /* CAN Controller 1 Mailbox 18 Data 0 Register */
-#define CAN1_MB18_DATA1 0xffc03644 /* CAN Controller 1 Mailbox 18 Data 1 Register */
-#define CAN1_MB18_DATA2 0xffc03648 /* CAN Controller 1 Mailbox 18 Data 2 Register */
-#define CAN1_MB18_DATA3 0xffc0364c /* CAN Controller 1 Mailbox 18 Data 3 Register */
-#define CAN1_MB18_LENGTH 0xffc03650 /* CAN Controller 1 Mailbox 18 Length Register */
-#define CAN1_MB18_TIMESTAMP 0xffc03654 /* CAN Controller 1 Mailbox 18 Timestamp Register */
-#define CAN1_MB18_ID0 0xffc03658 /* CAN Controller 1 Mailbox 18 ID0 Register */
-#define CAN1_MB18_ID1 0xffc0365c /* CAN Controller 1 Mailbox 18 ID1 Register */
-#define CAN1_MB19_DATA0 0xffc03660 /* CAN Controller 1 Mailbox 19 Data 0 Register */
-#define CAN1_MB19_DATA1 0xffc03664 /* CAN Controller 1 Mailbox 19 Data 1 Register */
-#define CAN1_MB19_DATA2 0xffc03668 /* CAN Controller 1 Mailbox 19 Data 2 Register */
-#define CAN1_MB19_DATA3 0xffc0366c /* CAN Controller 1 Mailbox 19 Data 3 Register */
-#define CAN1_MB19_LENGTH 0xffc03670 /* CAN Controller 1 Mailbox 19 Length Register */
-#define CAN1_MB19_TIMESTAMP 0xffc03674 /* CAN Controller 1 Mailbox 19 Timestamp Register */
-#define CAN1_MB19_ID0 0xffc03678 /* CAN Controller 1 Mailbox 19 ID0 Register */
-#define CAN1_MB19_ID1 0xffc0367c /* CAN Controller 1 Mailbox 19 ID1 Register */
-#define CAN1_MB20_DATA0 0xffc03680 /* CAN Controller 1 Mailbox 20 Data 0 Register */
-#define CAN1_MB20_DATA1 0xffc03684 /* CAN Controller 1 Mailbox 20 Data 1 Register */
-#define CAN1_MB20_DATA2 0xffc03688 /* CAN Controller 1 Mailbox 20 Data 2 Register */
-#define CAN1_MB20_DATA3 0xffc0368c /* CAN Controller 1 Mailbox 20 Data 3 Register */
-#define CAN1_MB20_LENGTH 0xffc03690 /* CAN Controller 1 Mailbox 20 Length Register */
-#define CAN1_MB20_TIMESTAMP 0xffc03694 /* CAN Controller 1 Mailbox 20 Timestamp Register */
-#define CAN1_MB20_ID0 0xffc03698 /* CAN Controller 1 Mailbox 20 ID0 Register */
-#define CAN1_MB20_ID1 0xffc0369c /* CAN Controller 1 Mailbox 20 ID1 Register */
-#define CAN1_MB21_DATA0 0xffc036a0 /* CAN Controller 1 Mailbox 21 Data 0 Register */
-#define CAN1_MB21_DATA1 0xffc036a4 /* CAN Controller 1 Mailbox 21 Data 1 Register */
-#define CAN1_MB21_DATA2 0xffc036a8 /* CAN Controller 1 Mailbox 21 Data 2 Register */
-#define CAN1_MB21_DATA3 0xffc036ac /* CAN Controller 1 Mailbox 21 Data 3 Register */
-#define CAN1_MB21_LENGTH 0xffc036b0 /* CAN Controller 1 Mailbox 21 Length Register */
-#define CAN1_MB21_TIMESTAMP 0xffc036b4 /* CAN Controller 1 Mailbox 21 Timestamp Register */
-#define CAN1_MB21_ID0 0xffc036b8 /* CAN Controller 1 Mailbox 21 ID0 Register */
-#define CAN1_MB21_ID1 0xffc036bc /* CAN Controller 1 Mailbox 21 ID1 Register */
-#define CAN1_MB22_DATA0 0xffc036c0 /* CAN Controller 1 Mailbox 22 Data 0 Register */
-#define CAN1_MB22_DATA1 0xffc036c4 /* CAN Controller 1 Mailbox 22 Data 1 Register */
-#define CAN1_MB22_DATA2 0xffc036c8 /* CAN Controller 1 Mailbox 22 Data 2 Register */
-#define CAN1_MB22_DATA3 0xffc036cc /* CAN Controller 1 Mailbox 22 Data 3 Register */
-#define CAN1_MB22_LENGTH 0xffc036d0 /* CAN Controller 1 Mailbox 22 Length Register */
-#define CAN1_MB22_TIMESTAMP 0xffc036d4 /* CAN Controller 1 Mailbox 22 Timestamp Register */
-#define CAN1_MB22_ID0 0xffc036d8 /* CAN Controller 1 Mailbox 22 ID0 Register */
-#define CAN1_MB22_ID1 0xffc036dc /* CAN Controller 1 Mailbox 22 ID1 Register */
-#define CAN1_MB23_DATA0 0xffc036e0 /* CAN Controller 1 Mailbox 23 Data 0 Register */
-#define CAN1_MB23_DATA1 0xffc036e4 /* CAN Controller 1 Mailbox 23 Data 1 Register */
-#define CAN1_MB23_DATA2 0xffc036e8 /* CAN Controller 1 Mailbox 23 Data 2 Register */
-#define CAN1_MB23_DATA3 0xffc036ec /* CAN Controller 1 Mailbox 23 Data 3 Register */
-#define CAN1_MB23_LENGTH 0xffc036f0 /* CAN Controller 1 Mailbox 23 Length Register */
-#define CAN1_MB23_TIMESTAMP 0xffc036f4 /* CAN Controller 1 Mailbox 23 Timestamp Register */
-#define CAN1_MB23_ID0 0xffc036f8 /* CAN Controller 1 Mailbox 23 ID0 Register */
-#define CAN1_MB23_ID1 0xffc036fc /* CAN Controller 1 Mailbox 23 ID1 Register */
-#define CAN1_MB24_DATA0 0xffc03700 /* CAN Controller 1 Mailbox 24 Data 0 Register */
-#define CAN1_MB24_DATA1 0xffc03704 /* CAN Controller 1 Mailbox 24 Data 1 Register */
-#define CAN1_MB24_DATA2 0xffc03708 /* CAN Controller 1 Mailbox 24 Data 2 Register */
-#define CAN1_MB24_DATA3 0xffc0370c /* CAN Controller 1 Mailbox 24 Data 3 Register */
-#define CAN1_MB24_LENGTH 0xffc03710 /* CAN Controller 1 Mailbox 24 Length Register */
-#define CAN1_MB24_TIMESTAMP 0xffc03714 /* CAN Controller 1 Mailbox 24 Timestamp Register */
-#define CAN1_MB24_ID0 0xffc03718 /* CAN Controller 1 Mailbox 24 ID0 Register */
-#define CAN1_MB24_ID1 0xffc0371c /* CAN Controller 1 Mailbox 24 ID1 Register */
-#define CAN1_MB25_DATA0 0xffc03720 /* CAN Controller 1 Mailbox 25 Data 0 Register */
-#define CAN1_MB25_DATA1 0xffc03724 /* CAN Controller 1 Mailbox 25 Data 1 Register */
-#define CAN1_MB25_DATA2 0xffc03728 /* CAN Controller 1 Mailbox 25 Data 2 Register */
-#define CAN1_MB25_DATA3 0xffc0372c /* CAN Controller 1 Mailbox 25 Data 3 Register */
-#define CAN1_MB25_LENGTH 0xffc03730 /* CAN Controller 1 Mailbox 25 Length Register */
-#define CAN1_MB25_TIMESTAMP 0xffc03734 /* CAN Controller 1 Mailbox 25 Timestamp Register */
-#define CAN1_MB25_ID0 0xffc03738 /* CAN Controller 1 Mailbox 25 ID0 Register */
-#define CAN1_MB25_ID1 0xffc0373c /* CAN Controller 1 Mailbox 25 ID1 Register */
-#define CAN1_MB26_DATA0 0xffc03740 /* CAN Controller 1 Mailbox 26 Data 0 Register */
-#define CAN1_MB26_DATA1 0xffc03744 /* CAN Controller 1 Mailbox 26 Data 1 Register */
-#define CAN1_MB26_DATA2 0xffc03748 /* CAN Controller 1 Mailbox 26 Data 2 Register */
-#define CAN1_MB26_DATA3 0xffc0374c /* CAN Controller 1 Mailbox 26 Data 3 Register */
-#define CAN1_MB26_LENGTH 0xffc03750 /* CAN Controller 1 Mailbox 26 Length Register */
-#define CAN1_MB26_TIMESTAMP 0xffc03754 /* CAN Controller 1 Mailbox 26 Timestamp Register */
-#define CAN1_MB26_ID0 0xffc03758 /* CAN Controller 1 Mailbox 26 ID0 Register */
-#define CAN1_MB26_ID1 0xffc0375c /* CAN Controller 1 Mailbox 26 ID1 Register */
-#define CAN1_MB27_DATA0 0xffc03760 /* CAN Controller 1 Mailbox 27 Data 0 Register */
-#define CAN1_MB27_DATA1 0xffc03764 /* CAN Controller 1 Mailbox 27 Data 1 Register */
-#define CAN1_MB27_DATA2 0xffc03768 /* CAN Controller 1 Mailbox 27 Data 2 Register */
-#define CAN1_MB27_DATA3 0xffc0376c /* CAN Controller 1 Mailbox 27 Data 3 Register */
-#define CAN1_MB27_LENGTH 0xffc03770 /* CAN Controller 1 Mailbox 27 Length Register */
-#define CAN1_MB27_TIMESTAMP 0xffc03774 /* CAN Controller 1 Mailbox 27 Timestamp Register */
-#define CAN1_MB27_ID0 0xffc03778 /* CAN Controller 1 Mailbox 27 ID0 Register */
-#define CAN1_MB27_ID1 0xffc0377c /* CAN Controller 1 Mailbox 27 ID1 Register */
-#define CAN1_MB28_DATA0 0xffc03780 /* CAN Controller 1 Mailbox 28 Data 0 Register */
-#define CAN1_MB28_DATA1 0xffc03784 /* CAN Controller 1 Mailbox 28 Data 1 Register */
-#define CAN1_MB28_DATA2 0xffc03788 /* CAN Controller 1 Mailbox 28 Data 2 Register */
-#define CAN1_MB28_DATA3 0xffc0378c /* CAN Controller 1 Mailbox 28 Data 3 Register */
-#define CAN1_MB28_LENGTH 0xffc03790 /* CAN Controller 1 Mailbox 28 Length Register */
-#define CAN1_MB28_TIMESTAMP 0xffc03794 /* CAN Controller 1 Mailbox 28 Timestamp Register */
-#define CAN1_MB28_ID0 0xffc03798 /* CAN Controller 1 Mailbox 28 ID0 Register */
-#define CAN1_MB28_ID1 0xffc0379c /* CAN Controller 1 Mailbox 28 ID1 Register */
-#define CAN1_MB29_DATA0 0xffc037a0 /* CAN Controller 1 Mailbox 29 Data 0 Register */
-#define CAN1_MB29_DATA1 0xffc037a4 /* CAN Controller 1 Mailbox 29 Data 1 Register */
-#define CAN1_MB29_DATA2 0xffc037a8 /* CAN Controller 1 Mailbox 29 Data 2 Register */
-#define CAN1_MB29_DATA3 0xffc037ac /* CAN Controller 1 Mailbox 29 Data 3 Register */
-#define CAN1_MB29_LENGTH 0xffc037b0 /* CAN Controller 1 Mailbox 29 Length Register */
-#define CAN1_MB29_TIMESTAMP 0xffc037b4 /* CAN Controller 1 Mailbox 29 Timestamp Register */
-#define CAN1_MB29_ID0 0xffc037b8 /* CAN Controller 1 Mailbox 29 ID0 Register */
-#define CAN1_MB29_ID1 0xffc037bc /* CAN Controller 1 Mailbox 29 ID1 Register */
-#define CAN1_MB30_DATA0 0xffc037c0 /* CAN Controller 1 Mailbox 30 Data 0 Register */
-#define CAN1_MB30_DATA1 0xffc037c4 /* CAN Controller 1 Mailbox 30 Data 1 Register */
-#define CAN1_MB30_DATA2 0xffc037c8 /* CAN Controller 1 Mailbox 30 Data 2 Register */
-#define CAN1_MB30_DATA3 0xffc037cc /* CAN Controller 1 Mailbox 30 Data 3 Register */
-#define CAN1_MB30_LENGTH 0xffc037d0 /* CAN Controller 1 Mailbox 30 Length Register */
-#define CAN1_MB30_TIMESTAMP 0xffc037d4 /* CAN Controller 1 Mailbox 30 Timestamp Register */
-#define CAN1_MB30_ID0 0xffc037d8 /* CAN Controller 1 Mailbox 30 ID0 Register */
-#define CAN1_MB30_ID1 0xffc037dc /* CAN Controller 1 Mailbox 30 ID1 Register */
-#define CAN1_MB31_DATA0 0xffc037e0 /* CAN Controller 1 Mailbox 31 Data 0 Register */
-#define CAN1_MB31_DATA1 0xffc037e4 /* CAN Controller 1 Mailbox 31 Data 1 Register */
-#define CAN1_MB31_DATA2 0xffc037e8 /* CAN Controller 1 Mailbox 31 Data 2 Register */
-#define CAN1_MB31_DATA3 0xffc037ec /* CAN Controller 1 Mailbox 31 Data 3 Register */
-#define CAN1_MB31_LENGTH 0xffc037f0 /* CAN Controller 1 Mailbox 31 Length Register */
-#define CAN1_MB31_TIMESTAMP 0xffc037f4 /* CAN Controller 1 Mailbox 31 Timestamp Register */
-#define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */
-#define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */
-
-/* HOST Port Registers */
-
-#define HOST_CONTROL 0xffc03a00 /* HOSTDP Control Register */
-#define HOST_STATUS 0xffc03a04 /* HOSTDP Status Register */
-#define HOST_TIMEOUT 0xffc03a08 /* HOSTDP Acknowledge Mode Timeout Register */
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */
-#define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */
-#define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */
-#define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
-#define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
-#define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
-#define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
-#define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */
-#define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
-#define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
-#define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
-#define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
-#define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */
-#define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */
-#define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */
-#define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */
-#define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */
-#define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */
-#define PIXC_TC 0xffc04450 /* Holds the transparent color value */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for PIXC_CTL */
-
-#define PIXC_EN 0x1 /* Pixel Compositor Enable */
-#define nPIXC_EN 0x0
-#define OVR_A_EN 0x2 /* Overlay A Enable */
-#define nOVR_A_EN 0x0
-#define OVR_B_EN 0x4 /* Overlay B Enable */
-#define nOVR_B_EN 0x0
-#define IMG_FORM 0x8 /* Image Data Format */
-#define nIMG_FORM 0x0
-#define OVR_FORM 0x10 /* Overlay Data Format */
-#define nOVR_FORM 0x0
-#define OUT_FORM 0x20 /* Output Data Format */
-#define nOUT_FORM 0x0
-#define UDS_MOD 0x40 /* Resampling Mode */
-#define nUDS_MOD 0x0
-#define TC_EN 0x80 /* Transparent Color Enable */
-#define nTC_EN 0x0
-#define IMG_STAT 0x300 /* Image FIFO Status */
-#define OVR_STAT 0xc00 /* Overlay FIFO Status */
-#define WM_LVL 0x3000 /* FIFO Watermark Level */
-
-/* Bit masks for PIXC_AHSTART */
-
-#define A_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_AHEND */
-
-#define A_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_AVSTART */
-
-#define A_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_AVEND */
-
-#define A_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_ATRANSP */
-
-#define A_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_BHSTART */
-
-#define B_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_BHEND */
-
-#define B_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_BVSTART */
-
-#define B_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_BVEND */
-
-#define B_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_BTRANSP */
-
-#define B_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_INTRSTAT */
-
-#define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */
-#define nOVR_INT_EN 0x0
-#define FRM_INT_EN 0x2 /* Interrupt at End of Frame */
-#define nFRM_INT_EN 0x0
-#define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */
-#define nOVR_INT_STAT 0x0
-#define FRM_INT_STAT 0x8 /* Frame Interrupt Status */
-#define nFRM_INT_STAT 0x0
-
-/* Bit masks for PIXC_RYCON */
-
-#define A11 0x3ff /* A11 in the Coefficient Matrix */
-#define A12 0xffc00 /* A12 in the Coefficient Matrix */
-#define A13 0x3ff00000 /* A13 in the Coefficient Matrix */
-#define RY_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nRY_MULT4 0x0
-
-/* Bit masks for PIXC_GUCON */
-
-#define A21 0x3ff /* A21 in the Coefficient Matrix */
-#define A22 0xffc00 /* A22 in the Coefficient Matrix */
-#define A23 0x3ff00000 /* A23 in the Coefficient Matrix */
-#define GU_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nGU_MULT4 0x0
-
-/* Bit masks for PIXC_BVCON */
-
-#define A31 0x3ff /* A31 in the Coefficient Matrix */
-#define A32 0xffc00 /* A32 in the Coefficient Matrix */
-#define A33 0x3ff00000 /* A33 in the Coefficient Matrix */
-#define BV_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nBV_MULT4 0x0
-
-/* Bit masks for PIXC_CCBIAS */
-
-#define A14 0x3ff /* A14 in the Bias Vector */
-#define A24 0xffc00 /* A24 in the Bias Vector */
-#define A34 0x3ff00000 /* A34 in the Bias Vector */
-
-/* Bit masks for PIXC_TC */
-
-#define RY_TRANS 0xff /* Transparent Color - R/Y Component */
-#define GU_TRANS 0xff00 /* Transparent Color - G/U Component */
-#define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */
-
-/* Bit masks for HOST_CONTROL */
-
-#define HOSTDP_EN 0x1 /* HOSTDP Enable */
-#define nHOSTDP_EN 0x0
-#define HOSTDP_END 0x2 /* Host Endianess */
-#define nHOSTDP_END 0x0
-#define HOSTDP_DATA_SIZE 0x4 /* Data Size */
-#define nHOSTDP_DATA_SIZE 0x0
-#define HOSTDP_RST 0x8 /* HOSTDP Reset */
-#define nHOSTDP_RST 0x0
-#define HRDY_OVR 0x20 /* HRDY Override */
-#define nHRDY_OVR 0x0
-#define INT_MODE 0x40 /* Interrupt Mode */
-#define nINT_MODE 0x0
-#define BT_EN 0x80 /* Bus Timeout Enable */
-#define nBT_EN 0x0
-#define EHW 0x100 /* Enable Host Write */
-#define nEHW 0x0
-#define EHR 0x200 /* Enable Host Read */
-#define nEHR 0x0
-#define BDR 0x400 /* Burst DMA Requests */
-#define nBDR 0x0
-
-/* Bit masks for HOST_STATUS */
-
-#define DMA_RDY 0x1 /* DMA Ready */
-#define nDMA_RDY 0x0
-#define FIFOFULL 0x2 /* FIFO Full */
-#define nFIFOFULL 0x0
-#define FIFOEMPTY 0x4 /* FIFO Empty */
-#define nFIFOEMPTY 0x0
-#define DMA_CMPLT 0x8 /* DMA Complete */
-#define nDMA_CMPLT 0x0
-#define HSHK 0x10 /* Host Handshake */
-#define nHSHK 0x0
-#define HOSTDP_TOUT 0x20 /* HOSTDP Timeout */
-#define nHOSTDP_TOUT 0x0
-#define HIRQ 0x40 /* Host Interrupt Request */
-#define nHIRQ 0x0
-#define ALLOW_CNFG 0x80 /* Allow New Configuration */
-#define nALLOW_CNFG 0x0
-#define DMA_DIR 0x100 /* DMA Direction */
-#define nDMA_DIR 0x0
-#define BTE 0x200 /* Bus Timeout Enabled */
-#define nBTE 0x0
-
-/* Bit masks for HOST_TIMEOUT */
-
-#define COUNT_TIMEOUT 0x7ff /* HOSTDP Timeout count */
-
-/* Bit masks for TIMER_ENABLE1 */
-
-#define TIMEN8 0x1 /* Timer 8 Enable */
-#define nTIMEN8 0x0
-#define TIMEN9 0x2 /* Timer 9 Enable */
-#define nTIMEN9 0x0
-#define TIMEN10 0x4 /* Timer 10 Enable */
-#define nTIMEN10 0x0
-
-/* Bit masks for TIMER_DISABLE1 */
-
-#define TIMDIS8 0x1 /* Timer 8 Disable */
-#define nTIMDIS8 0x0
-#define TIMDIS9 0x2 /* Timer 9 Disable */
-#define nTIMDIS9 0x0
-#define TIMDIS10 0x4 /* Timer 10 Disable */
-#define nTIMDIS10 0x0
-
-/* Bit masks for TIMER_STATUS1 */
-
-#define TIMIL8 0x1 /* Timer 8 Interrupt */
-#define nTIMIL8 0x0
-#define TIMIL9 0x2 /* Timer 9 Interrupt */
-#define nTIMIL9 0x0
-#define TIMIL10 0x4 /* Timer 10 Interrupt */
-#define nTIMIL10 0x0
-#define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */
-#define nTOVF_ERR8 0x0
-#define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */
-#define nTOVF_ERR9 0x0
-#define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */
-#define nTOVF_ERR10 0x0
-#define TRUN8 0x1000 /* Timer 8 Slave Enable Status */
-#define nTRUN8 0x0
-#define TRUN9 0x2000 /* Timer 9 Slave Enable Status */
-#define nTRUN9 0x0
-#define TRUN10 0x4000 /* Timer 10 Slave Enable Status */
-#define nTRUN10 0x0
-
-/* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-#endif /* _DEF_BF544_H */
diff --git a/libgloss/bfin/include/defBF544M.h b/libgloss/bfin/include/defBF544M.h
deleted file mode 100644
index c61640a..0000000
--- a/libgloss/bfin/include/defBF544M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF544M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps directly onto the def file for BF544, unless
-** anything is required to change for the M derivative.
-**
-**/
-
-#ifndef _DEF_BF544M_H
-#define _DEF_BF544M_H
-
-#include <defBF544.h>
-
-#endif /* _DEF_BF544M_H */
diff --git a/libgloss/bfin/include/defBF547.h b/libgloss/bfin/include/defBF547.h
deleted file mode 100644
index d87a96c..0000000
--- a/libgloss/bfin/include/defBF547.h
+++ /dev/null
@@ -1,1575 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF547.h
-**
-** Copyright (C) 2007-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF547_H
-#define _DEF_BF547_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF547 */
-
-/* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <defBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macros violate rule 19.4 ")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros ")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF547 that are not in the common header */
-
-/* Timer Registers */
-
-#define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
-#define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
-#define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
-#define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
-#define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
-#define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
-#define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
-#define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
-#define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
-#define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
-#define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
-#define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
-
-/* Timer Group of 3 Registers */
-
-#define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
-#define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
-#define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
-
-/* SPORT0 Registers */
-
-#define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */
-#define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */
-#define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */
-#define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */
-#define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */
-#define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */
-#define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */
-#define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */
-
-/* EPPI0 Registers */
-
-#define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
-#define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
-#define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
-#define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
-#define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
-#define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
-#define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */
-#define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */
-#define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */
-#define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */
-#define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */
-#define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */
-#define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */
-#define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */
-
-/* UART2 Registers */
-
-#define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */
-#define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */
-#define UART2_GCTL 0xffc02108 /* Global Control Register */
-#define UART2_LCR 0xffc0210c /* Line Control Register */
-#define UART2_MCR 0xffc02110 /* Modem Control Register */
-#define UART2_LSR 0xffc02114 /* Line Status Register */
-#define UART2_MSR 0xffc02118 /* Modem Status Register */
-#define UART2_SCR 0xffc0211c /* Scratch Register */
-#define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */
-#define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */
-#define UART2_THR 0xffc02128 /* Transmit Hold Register */
-#define UART2_RBR 0xffc0212c /* Receive Buffer Register */
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */
-#define TWI1_CONTROL 0xffc02204 /* TWI Control Register */
-#define TWI1_SLAVE_CTL 0xffc02208 /* TWI Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */
-#define TWI1_MASTER_CTL 0xffc02214 /* TWI Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */
-#define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */
-#define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */
-#define TWI1_FIFO_CTL 0xffc02228 /* TWI FIFO Control Register */
-#define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */
-#define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */
-
-/* SPI2 Registers */
-
-#define SPI2_CTL 0xffc02400 /* SPI2 Control Register */
-#define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */
-#define SPI2_STAT 0xffc02408 /* SPI2 Status Register */
-#define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */
-#define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */
-#define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */
-#define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */
-
-
-/* ATAPI Registers */
-
-#define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */
-#define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */
-#define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */
-#define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */
-#define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */
-#define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */
-#define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */
-#define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */
-#define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */
-#define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */
-#define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */
-#define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */
-#define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */
-#define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */
-#define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */
-#define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */
-#define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */
-#define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */
-#define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */
-#define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */
-#define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */
-#define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */
-#define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */
-
-/* SDH Registers */
-
-#define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */
-#define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */
-#define SDH_ARGUMENT 0xffc03908 /* SDH Argument */
-#define SDH_COMMAND 0xffc0390c /* SDH Command */
-#define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */
-#define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */
-#define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */
-#define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */
-#define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */
-#define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */
-#define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */
-#define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */
-#define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */
-#define SDH_STATUS 0xffc03934 /* SDH Status */
-#define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */
-#define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */
-#define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */
-#define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */
-#define SDH_FIFO 0xffc03980 /* SDH Data FIFO */
-#define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */
-#define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */
-#define SDH_CFG 0xffc039c8 /* SDH Configuration */
-#define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */
-#define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */
-#define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */
-#define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */
-#define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */
-#define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */
-#define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */
-#define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */
-#define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */
-
-/* HOST Port Registers */
-
-#define HOST_CONTROL 0xffc03a00 /* HOSTDP Control Register */
-#define HOST_STATUS 0xffc03a04 /* HOSTDP Status Register */
-#define HOST_TIMEOUT 0xffc03a08 /* HOSTDP Acknowledge Mode Timeout Register */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03c00 /* Function address register */
-#define USB_POWER 0xffc03c04 /* Power management register */
-#define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03c20 /* USB frame number */
-#define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */
-#define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */
-#define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-#define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-#define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-#define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-#define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-#define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */
-#define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-#define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-#define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Keypad Registers */
-
-#define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */
-#define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */
-#define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */
-#define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */
-#define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */
-#define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */
-#define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */
-#define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */
-#define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
-#define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
-#define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
-#define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
-#define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */
-#define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
-#define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
-#define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
-#define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
-#define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */
-#define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */
-#define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */
-#define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */
-#define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */
-#define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */
-#define PIXC_TC 0xffc04450 /* Holds the transparent color value */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for PIXC_CTL */
-
-#define PIXC_EN 0x1 /* Pixel Compositor Enable */
-#define nPIXC_EN 0x0
-#define OVR_A_EN 0x2 /* Overlay A Enable */
-#define nOVR_A_EN 0x0
-#define OVR_B_EN 0x4 /* Overlay B Enable */
-#define nOVR_B_EN 0x0
-#define IMG_FORM 0x8 /* Image Data Format */
-#define nIMG_FORM 0x0
-#define OVR_FORM 0x10 /* Overlay Data Format */
-#define nOVR_FORM 0x0
-#define OUT_FORM 0x20 /* Output Data Format */
-#define nOUT_FORM 0x0
-#define UDS_MOD 0x40 /* Resampling Mode */
-#define nUDS_MOD 0x0
-#define TC_EN 0x80 /* Transparent Color Enable */
-#define nTC_EN 0x0
-#define IMG_STAT 0x300 /* Image FIFO Status */
-#define OVR_STAT 0xc00 /* Overlay FIFO Status */
-#define WM_LVL 0x3000 /* FIFO Watermark Level */
-
-/* Bit masks for PIXC_AHSTART */
-
-#define A_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_AHEND */
-
-#define A_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_AVSTART */
-
-#define A_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_AVEND */
-
-#define A_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_ATRANSP */
-
-#define A_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_BHSTART */
-
-#define B_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_BHEND */
-
-#define B_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_BVSTART */
-
-#define B_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_BVEND */
-
-#define B_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_BTRANSP */
-
-#define B_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_INTRSTAT */
-
-#define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */
-#define nOVR_INT_EN 0x0
-#define FRM_INT_EN 0x2 /* Interrupt at End of Frame */
-#define nFRM_INT_EN 0x0
-#define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */
-#define nOVR_INT_STAT 0x0
-#define FRM_INT_STAT 0x8 /* Frame Interrupt Status */
-#define nFRM_INT_STAT 0x0
-
-/* Bit masks for PIXC_RYCON */
-
-#define A11 0x3ff /* A11 in the Coefficient Matrix */
-#define A12 0xffc00 /* A12 in the Coefficient Matrix */
-#define A13 0x3ff00000 /* A13 in the Coefficient Matrix */
-#define RY_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nRY_MULT4 0x0
-
-/* Bit masks for PIXC_GUCON */
-
-#define A21 0x3ff /* A21 in the Coefficient Matrix */
-#define A22 0xffc00 /* A22 in the Coefficient Matrix */
-#define A23 0x3ff00000 /* A23 in the Coefficient Matrix */
-#define GU_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nGU_MULT4 0x0
-
-/* Bit masks for PIXC_BVCON */
-
-#define A31 0x3ff /* A31 in the Coefficient Matrix */
-#define A32 0xffc00 /* A32 in the Coefficient Matrix */
-#define A33 0x3ff00000 /* A33 in the Coefficient Matrix */
-#define BV_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nBV_MULT4 0x0
-
-/* Bit masks for PIXC_CCBIAS */
-
-#define A14 0x3ff /* A14 in the Bias Vector */
-#define A24 0xffc00 /* A24 in the Bias Vector */
-#define A34 0x3ff00000 /* A34 in the Bias Vector */
-
-/* Bit masks for PIXC_TC */
-
-#define RY_TRANS 0xff /* Transparent Color - R/Y Component */
-#define GU_TRANS 0xff00 /* Transparent Color - G/U Component */
-#define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */
-
-/* Bit masks for HOST_CONTROL */
-
-#define HOSTDP_EN 0x1 /* HOSTDP Enable */
-#define nHOSTDP_EN 0x0
-#define HOSTDP_END 0x2 /* Host Endianess */
-#define nHOSTDP_END 0x0
-#define HOSTDP_DATA_SIZE 0x4 /* Data Size */
-#define nHOSTDP_DATA_SIZE 0x0
-#define HOSTDP_RST 0x8 /* HOSTDP Reset */
-#define nHOSTDP_RST 0x0
-#define HRDY_OVR 0x20 /* HRDY Override */
-#define nHRDY_OVR 0x0
-#define INT_MODE 0x40 /* Interrupt Mode */
-#define nINT_MODE 0x0
-#define BT_EN 0x80 /* Bus Timeout Enable */
-#define nBT_EN 0x0
-#define EHW 0x100 /* Enable Host Write */
-#define nEHW 0x0
-#define EHR 0x200 /* Enable Host Read */
-#define nEHR 0x0
-#define BDR 0x400 /* Burst DMA Requests */
-#define nBDR 0x0
-
-/* Bit masks for HOST_STATUS */
-
-#define DMA_RDY 0x1 /* DMA Ready */
-#define nDMA_RDY 0x0
-#define FIFOFULL 0x2 /* FIFO Full */
-#define nFIFOFULL 0x0
-#define FIFOEMPTY 0x4 /* FIFO Empty */
-#define nFIFOEMPTY 0x0
-#define DMA_CMPLT 0x8 /* DMA Complete */
-#define nDMA_CMPLT 0x0
-#define HSHK 0x10 /* Host Handshake */
-#define nHSHK 0x0
-#define HOSTDP_TOUT 0x20 /* HOSTDP Timeout */
-#define nHOSTDP_TOUT 0x0
-#define HIRQ 0x40 /* Host Interrupt Request */
-#define nHIRQ 0x0
-#define ALLOW_CNFG 0x80 /* Allow New Configuration */
-#define nALLOW_CNFG 0x0
-#define DMA_DIR 0x100 /* DMA Direction */
-#define nDMA_DIR 0x0
-#define BTE 0x200 /* Bus Timeout Enabled */
-#define nBTE 0x0
-
-/* Bit masks for HOST_TIMEOUT */
-
-#define COUNT_TIMEOUT 0x7ff /* HOSTDP Timeout count */
-
-/* Bit masks for KPAD_CTL */
-
-#define KPAD_EN 0x1 /* Keypad Enable */
-#define nKPAD_EN 0x0
-#define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */
-#define nKPAD_IRQMODE 0x0 /* Interrupt Disabled */
-#define KPAD_IRQMODE_SK 0x2 /* Single key (single row, single column) press interrupt enable */
-#define KPAD_IRQMODE_MK 0x4 /* Single key press multiple key press interrupt enable */
-
-#define KPAD_ROWEN 0x1c00 /* Row Enable Width */
-#define KPAD_COLEN 0xe000 /* Column Enable Width */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_ROWEN(x) (((x)&0x7u)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7u)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#else
-#define SET_KPAD_ROWEN(x) (((x)&0x7)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_PRESCALE */
-
-#define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_PRESCALE(x) ((x)&0x3Fu) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#else
-#define SET_KPAD_PRESCALE(x) ((x)&0x3F) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_MSEL */
-
-#define DBON_SCALE 0xff /* Debounce Scale Value */
-#define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFFu) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFFu)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#else
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFF) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFF)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_ROWCOL */
-
-#define KPAD_ROW 0xff /* Rows Pressed */
-#define KPAD_COL 0xff00 /* Columns Pressed */
-
-/* Bit masks for KPAD_STAT */
-
-#define KPAD_IRQ 0x1 /* Keypad Interrupt Status */
-#define nKPAD_IRQ 0x0
-#define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */
-#define KPAD_PRESSED 0x8 /* Key press current status */
-#define nKPAD_PRESSED 0x0
-#define KPAD_NO_KEY 0x0 /* No Keypress Status*/
-#define KPAD_SINGLE_KEY 0x2 /* Single Keypress Status */
-#define KPAD_MKSROWCOL 0x4 /* Multiple Keypress in the same row or column Status */
-#define KPAD_MKMROWCOL 0x6 /* Multiple Keypress in the same multiple rows and multiple columns Status */
-
-/* Bit masks for KPAD_SOFTEVAL */
-
-#define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */
-#define nKPAD_SOFTEVAL_E 0x0
-
-/* Bit masks for SDH_COMMAND */
-
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP 0x40 /* Response */
-#define nCMD_RSP 0x0
-#define CMD_L_RSP 0x80 /* Long Response */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_E 0x100 /* Command Interrupt */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_E 0x200 /* Command Pending */
-#define nCMD_PEND_E 0x0
-#define CMD_E 0x400 /* Command Enable */
-#define nCMD_E 0x0
-
-/* Bit masks for SDH_PWR_CTL */
-
-#define PWR_ON 0x3 /* Power On */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-#define SD_CMD_OD 0x40 /* Open Drain Output */
-#define nSD_CMD_OD 0x0
-#define ROD_CTL 0x80 /* Rod Control */
-#define nROD_CTL 0x0
-
-/* Bit masks for SDH_CLK_CTL */
-
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_E 0x100 /* MC_CLK Bus Clock Enable */
-#define nCLK_E 0x0
-#define PWR_SV_E 0x200 /* Power Save Enable */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-#define nCLKDIV_BYPASS 0x0
-#define WIDE_BUS 0x800 /* Wide Bus Mode Enable */
-#define nWIDE_BUS 0x0
-
-/* Bit masks for SDH_RESP_CMD */
-
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for SDH_DATA_CTL */
-
-#define DTX_E 0x1 /* Data Transfer Enable */
-#define nDTX_E 0x0
-#define DTX_DIR 0x2 /* Data Transfer Direction */
-#define nDTX_DIR 0x0
-#define DTX_MODE 0x4 /* Data Transfer Mode */
-#define nDTX_MODE 0x0
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-#define nDTX_DMA_E 0x0
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-
-/* Bit masks for SDH_STATUS */
-
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for SDH_STATUS_CLR */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for SDH_MASK0 */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for SDH_FIFO_CNT */
-
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for SDH_E_STATUS */
-
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-#define nSD_CARD_DET 0x0
-
-/* Bit masks for SDH_E_MASK */
-
-#define SDIO_MSK 0x2 /* Mask SDIO Int Detected */
-#define nSDIO_MSK 0x0
-#define SCD_MSK 0x40 /* Mask Card Detect */
-#define nSCD_MSK 0x0
-
-/* Bit masks for SDH_CFG */
-
-#define CLKS_EN 0x1 /* Clocks Enable */
-#define nCLKS_EN 0x0
-#define SD4E 0x4 /* SDIO 4-Bit Enable */
-#define nSD4E 0x0
-#define MWE 0x8 /* Moving Window Enable */
-#define nMWE 0x0
-#define SD_RST 0x10 /* SDMMC Reset */
-#define nSD_RST 0x0
-#define PUP_SDDAT 0x20 /* Pull-up SD_DAT */
-#define nPUP_SDDAT 0x0
-#define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */
-#define nPUP_SDDAT3 0x0
-#define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */
-#define nPD_SDDAT3 0x0
-
-/* Bit masks for SDH_RD_WAIT_EN */
-
-#define RWR 0x1 /* Read Wait Request */
-#define nRWR 0x0
-
-/* Bit masks for ATAPI_CONTROL */
-
-#define PIO_START 0x1 /* Start PIO/Reg Op */
-#define nPIO_START 0x0
-#define MULTI_START 0x2 /* Start Multi-DMA Op */
-#define nMULTI_START 0x0
-#define ULTRA_START 0x4 /* Start Ultra-DMA Op */
-#define nULTRA_START 0x0
-#define XFER_DIR 0x8 /* Transfer Direction */
-#define nXFER_DIR 0x0
-#define IORDY_EN 0x10 /* IORDY Enable */
-#define nIORDY_EN 0x0
-#define FIFO_FLUSH 0x20 /* Flush FIFOs */
-#define nFIFO_FLUSH 0x0
-#define SOFT_RST 0x40 /* Soft Reset */
-#define nSOFT_RST 0x0
-#define DEV_RST 0x80 /* Device Reset */
-#define nDEV_RST 0x0
-#define TFRCNT_RST 0x100 /* Trans Count Reset */
-#define nTFRCNT_RST 0x0
-#define END_ON_TERM 0x200 /* End/Terminate Select */
-#define nEND_ON_TERM 0x0
-#define PIO_USE_DMA 0x400 /* PIO-DMA Enable */
-#define nPIO_USE_DMA 0x0
-#define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */
-
-/* Bit masks for ATAPI_STATUS */
-
-#define PIO_XFER_ON 0x1 /* PIO transfer in progress */
-#define nPIO_XFER_ON 0x0
-#define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */
-#define nMULTI_XFER_ON 0x0
-#define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */
-#define nULTRA_XFER_ON 0x0
-#define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */
-
-/* Bit masks for ATAPI_DEV_ADDR */
-
-#define DEV_ADDR 0x1f /* Device Address */
-
-/* Bit masks for ATAPI_INT_MASK */
-
-#define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */
-#define nATAPI_DEV_INT_MASK 0x0
-#define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */
-#define nPIO_DONE_MASK 0x0
-#define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */
-#define nMULTI_DONE_MASK 0x0
-#define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */
-#define nUDMAIN_DONE_MASK 0x0
-#define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */
-#define nUDMAOUT_DONE_MASK 0x0
-#define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */
-#define nHOST_TERM_XFER_MASK 0x0
-#define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */
-#define nMULTI_TERM_MASK 0x0
-#define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */
-#define nUDMAIN_TERM_MASK 0x0
-#define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */
-#define nUDMAOUT_TERM_MASK 0x0
-
-/* Bit masks for ATAPI_INT_STATUS */
-
-#define ATAPI_DEV_INT 0x1 /* Device interrupt status */
-#define nATAPI_DEV_INT 0x0
-#define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */
-#define nPIO_DONE_INT 0x0
-#define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */
-#define nMULTI_DONE_INT 0x0
-#define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */
-#define nUDMAIN_DONE_INT 0x0
-#define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */
-#define nUDMAOUT_DONE_INT 0x0
-#define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */
-#define nHOST_TERM_XFER_INT 0x0
-#define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */
-#define nMULTI_TERM_INT 0x0
-#define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */
-#define nUDMAIN_TERM_INT 0x0
-#define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */
-#define nUDMAOUT_TERM_INT 0x0
-
-/* Bit masks for ATAPI_LINE_STATUS */
-
-#define ATAPI_INTR 0x1 /* Device interrupt to host line status */
-#define nATAPI_INTR 0x0
-#define ATAPI_DASP 0x2 /* Device dasp to host line status */
-#define nATAPI_DASP 0x0
-#define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */
-#define nATAPI_CS0N 0x0
-#define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */
-#define nATAPI_CS1N 0x0
-#define ATAPI_ADDR 0x70 /* ATAPI address line status */
-#define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */
-#define nATAPI_DMAREQ 0x0
-#define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */
-#define nATAPI_DMAACKN 0x0
-#define ATAPI_DIOWN 0x200 /* ATAPI write line status */
-#define nATAPI_DIOWN 0x0
-#define ATAPI_DIORN 0x400 /* ATAPI read line status */
-#define nATAPI_DIORN 0x0
-#define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */
-#define nATAPI_IORDY 0x0
-
-/* Bit masks for ATAPI_SM_STATE */
-
-#define PIO_CSTATE 0xf /* PIO mode state machine current state */
-#define DMA_CSTATE 0xf0 /* DMA mode state machine current state */
-#define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */
-#define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */
-
-/* Bit masks for ATAPI_TERMINATE */
-
-#define ATAPI_HOST_TERM 0x1 /* Host terminationation */
-#define nATAPI_HOST_TERM 0x0
-
-/* Bit masks for ATAPI_REG_TIM_0 */
-
-#define T2_REG 0xff /* End of cycle time for register access transfers */
-#define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */
-
-/* Bit masks for ATAPI_PIO_TIM_0 */
-
-#define T1_REG 0xf /* Time from address valid to DIOR/DIOW */
-#define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */
-#define T4_REG 0xf000 /* DIOW data hold */
-
-/* Bit masks for ATAPI_PIO_TIM_1 */
-
-#define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */
-
-/* Bit masks for ATAPI_MULTI_TIM_0 */
-
-#define TD 0xff /* DIOR/DIOW asserted pulsewidth */
-#define TM 0xff00 /* Time from address valid to DIOR/DIOW */
-
-/* Bit masks for ATAPI_MULTI_TIM_1 */
-
-#define TKW 0xff /* Selects DIOW negated pulsewidth */
-#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
-
-/* Bit masks for ATAPI_MULTI_TIM_2 */
-
-#define TH 0xff /* Selects DIOW data hold */
-#define TEOC 0xff00 /* Selects end of cycle for DMA */
-
-/* Bit masks for ATAPI_ULTRA_TIM_0 */
-
-#define TACK 0xff /* Selects setup and hold times for TACK */
-#define TENV 0xff00 /* Selects envelope time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_1 */
-
-#define TDVS 0xff /* Selects data valid setup time */
-#define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_2 */
-
-#define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
-#define TMLI 0xff00 /* Selects interlock time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_3 */
-
-#define TZAH 0xff /* Selects minimum delay required for output */
-#define READY_PAUSE 0xff00 /* Selects ready to pause */
-
-/* Bit masks for TIMER_ENABLE1 */
-
-#define TIMEN8 0x1 /* Timer 8 Enable */
-#define nTIMEN8 0x0
-#define TIMEN9 0x2 /* Timer 9 Enable */
-#define nTIMEN9 0x0
-#define TIMEN10 0x4 /* Timer 10 Enable */
-#define nTIMEN10 0x0
-
-/* Bit masks for TIMER_DISABLE1 */
-
-#define TIMDIS8 0x1 /* Timer 8 Disable */
-#define nTIMDIS8 0x0
-#define TIMDIS9 0x2 /* Timer 9 Disable */
-#define nTIMDIS9 0x0
-#define TIMDIS10 0x4 /* Timer 10 Disable */
-#define nTIMDIS10 0x0
-
-/* Bit masks for TIMER_STATUS1 */
-
-#define TIMIL8 0x1 /* Timer 8 Interrupt */
-#define nTIMIL8 0x0
-#define TIMIL9 0x2 /* Timer 9 Interrupt */
-#define nTIMIL9 0x0
-#define TIMIL10 0x4 /* Timer 10 Interrupt */
-#define nTIMIL10 0x0
-#define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */
-#define nTOVF_ERR8 0x0
-#define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */
-#define nTOVF_ERR9 0x0
-#define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */
-#define nTOVF_ERR10 0x0
-#define TRUN8 0x1000 /* Timer 8 Slave Enable Status */
-#define nTRUN8 0x0
-#define TRUN9 0x2000 /* Timer 9 Slave Enable Status */
-#define nTRUN9 0x0
-#define TRUN10 0x4000 /* Timer 10 Slave Enable Status */
-#define nTRUN10 0x0
-
-/* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF547_H */
diff --git a/libgloss/bfin/include/defBF547M.h b/libgloss/bfin/include/defBF547M.h
deleted file mode 100644
index 6c8cc50..0000000
--- a/libgloss/bfin/include/defBF547M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF547M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps directly onto the def file for BF547, unless
-** anything is required to change for the M derivative.
-**
-**/
-
-#ifndef _DEF_BF547M_H
-#define _DEF_BF547M_H
-
-#include <defBF547.h>
-
-#endif /* _DEF_BF5447M_H */
diff --git a/libgloss/bfin/include/defBF548.h b/libgloss/bfin/include/defBF548.h
deleted file mode 100644
index e804f64..0000000
--- a/libgloss/bfin/include/defBF548.h
+++ /dev/null
@@ -1,1957 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF548.h
-**
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF548_H
-#define _DEF_BF548_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF548 */
-
-/* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <defBF54x_base.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4:"some macros violate rule 19.4")
-#pragma diag(suppress:misra_rule_19_7:"Allow function-like macros ")
-#endif /* _MISRA_RULES */
-
-/* The following are the #defines needed by ADSP-BF548 that are not in the common header */
-
-/* Timer Registers */
-
-#define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
-#define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
-#define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
-#define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
-#define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
-#define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
-#define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
-#define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
-#define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
-#define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
-#define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
-#define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
-
-/* Timer Group of 3 Registers */
-
-#define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
-#define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
-#define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
-
-/* SPORT0 Registers */
-
-#define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */
-#define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */
-#define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */
-#define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */
-#define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */
-#define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */
-#define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */
-#define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */
-
-/* EPPI0 Registers */
-
-#define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
-#define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
-#define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
-#define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
-#define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
-#define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
-#define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */
-#define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */
-#define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */
-#define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */
-#define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */
-#define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */
-#define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */
-#define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */
-
-/* UART2 Registers */
-
-#define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */
-#define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */
-#define UART2_GCTL 0xffc02108 /* Global Control Register */
-#define UART2_LCR 0xffc0210c /* Line Control Register */
-#define UART2_MCR 0xffc02110 /* Modem Control Register */
-#define UART2_LSR 0xffc02114 /* Line Status Register */
-#define UART2_MSR 0xffc02118 /* Modem Status Register */
-#define UART2_SCR 0xffc0211c /* Scratch Register */
-#define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */
-#define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */
-#define UART2_THR 0xffc02128 /* Transmit Hold Register */
-#define UART2_RBR 0xffc0212c /* Receive Buffer Register */
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */
-#define TWI1_CONTROL 0xffc02204 /* TWI Control Register */
-#define TWI1_SLAVE_CTL 0xffc02208 /* TWI Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */
-#define TWI1_MASTER_CTL 0xffc02214 /* TWI Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */
-#define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */
-#define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */
-#define TWI1_FIFO_CTL 0xffc02228 /* TWI FIFO Control Register */
-#define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */
-#define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */
-
-/* SPI2 Registers */
-
-#define SPI2_CTL 0xffc02400 /* SPI2 Control Register */
-#define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */
-#define SPI2_STAT 0xffc02408 /* SPI2 Status Register */
-#define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */
-#define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */
-#define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */
-#define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define CAN1_MC1 0xffc03200 /* CAN Controller 1 Mailbox Configuration Register 1 */
-#define CAN1_MD1 0xffc03204 /* CAN Controller 1 Mailbox Direction Register 1 */
-#define CAN1_TRS1 0xffc03208 /* CAN Controller 1 Transmit Request Set Register 1 */
-#define CAN1_TRR1 0xffc0320c /* CAN Controller 1 Transmit Request Reset Register 1 */
-#define CAN1_TA1 0xffc03210 /* CAN Controller 1 Transmit Acknowledge Register 1 */
-#define CAN1_AA1 0xffc03214 /* CAN Controller 1 Abort Acknowledge Register 1 */
-#define CAN1_RMP1 0xffc03218 /* CAN Controller 1 Receive Message Pending Register 1 */
-#define CAN1_RML1 0xffc0321c /* CAN Controller 1 Receive Message Lost Register 1 */
-#define CAN1_MBTIF1 0xffc03220 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 1 */
-#define CAN1_MBRIF1 0xffc03224 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 1 */
-#define CAN1_MBIM1 0xffc03228 /* CAN Controller 1 Mailbox Interrupt Mask Register 1 */
-#define CAN1_RFH1 0xffc0322c /* CAN Controller 1 Remote Frame Handling Enable Register 1 */
-#define CAN1_OPSS1 0xffc03230 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 1 */
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define CAN1_MC2 0xffc03240 /* CAN Controller 1 Mailbox Configuration Register 2 */
-#define CAN1_MD2 0xffc03244 /* CAN Controller 1 Mailbox Direction Register 2 */
-#define CAN1_TRS2 0xffc03248 /* CAN Controller 1 Transmit Request Set Register 2 */
-#define CAN1_TRR2 0xffc0324c /* CAN Controller 1 Transmit Request Reset Register 2 */
-#define CAN1_TA2 0xffc03250 /* CAN Controller 1 Transmit Acknowledge Register 2 */
-#define CAN1_AA2 0xffc03254 /* CAN Controller 1 Abort Acknowledge Register 2 */
-#define CAN1_RMP2 0xffc03258 /* CAN Controller 1 Receive Message Pending Register 2 */
-#define CAN1_RML2 0xffc0325c /* CAN Controller 1 Receive Message Lost Register 2 */
-#define CAN1_MBTIF2 0xffc03260 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 2 */
-#define CAN1_MBRIF2 0xffc03264 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 2 */
-#define CAN1_MBIM2 0xffc03268 /* CAN Controller 1 Mailbox Interrupt Mask Register 2 */
-#define CAN1_RFH2 0xffc0326c /* CAN Controller 1 Remote Frame Handling Enable Register 2 */
-#define CAN1_OPSS2 0xffc03270 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 2 */
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define CAN1_CLOCK 0xffc03280 /* CAN Controller 1 Clock Register */
-#define CAN1_TIMING 0xffc03284 /* CAN Controller 1 Timing Register */
-#define CAN1_DEBUG 0xffc03288 /* CAN Controller 1 Debug Register */
-#define CAN1_STATUS 0xffc0328c /* CAN Controller 1 Global Status Register */
-#define CAN1_CEC 0xffc03290 /* CAN Controller 1 Error Counter Register */
-#define CAN1_GIS 0xffc03294 /* CAN Controller 1 Global Interrupt Status Register */
-#define CAN1_GIM 0xffc03298 /* CAN Controller 1 Global Interrupt Mask Register */
-#define CAN1_GIF 0xffc0329c /* CAN Controller 1 Global Interrupt Flag Register */
-#define CAN1_CONTROL 0xffc032a0 /* CAN Controller 1 Master Control Register */
-#define CAN1_INTR 0xffc032a4 /* CAN Controller 1 Interrupt Pending Register */
-#define CAN1_MBTD 0xffc032ac /* CAN Controller 1 Mailbox Temporary Disable Register */
-#define CAN1_EWR 0xffc032b0 /* CAN Controller 1 Programmable Warning Level Register */
-#define CAN1_ESR 0xffc032b4 /* CAN Controller 1 Error Status Register */
-#define CAN1_UCCNT 0xffc032c4 /* CAN Controller 1 Universal Counter Register */
-#define CAN1_UCRC 0xffc032c8 /* Universal Counter Reload/Capture Register */
-#define CAN1_UCCNF 0xffc032cc /* CAN Controller 1 Universal Counter Configuration Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM00L 0xffc03300 /* CAN Controller 1 Mailbox 0 Acceptance Mask High Register */
-#define CAN1_AM00H 0xffc03304 /* CAN Controller 1 Mailbox 0 Acceptance Mask Low Register */
-#define CAN1_AM01L 0xffc03308 /* CAN Controller 1 Mailbox 1 Acceptance Mask High Register */
-#define CAN1_AM01H 0xffc0330c /* CAN Controller 1 Mailbox 1 Acceptance Mask Low Register */
-#define CAN1_AM02L 0xffc03310 /* CAN Controller 1 Mailbox 2 Acceptance Mask High Register */
-#define CAN1_AM02H 0xffc03314 /* CAN Controller 1 Mailbox 2 Acceptance Mask Low Register */
-#define CAN1_AM03L 0xffc03318 /* CAN Controller 1 Mailbox 3 Acceptance Mask High Register */
-#define CAN1_AM03H 0xffc0331c /* CAN Controller 1 Mailbox 3 Acceptance Mask Low Register */
-#define CAN1_AM04L 0xffc03320 /* CAN Controller 1 Mailbox 4 Acceptance Mask High Register */
-#define CAN1_AM04H 0xffc03324 /* CAN Controller 1 Mailbox 4 Acceptance Mask Low Register */
-#define CAN1_AM05L 0xffc03328 /* CAN Controller 1 Mailbox 5 Acceptance Mask High Register */
-#define CAN1_AM05H 0xffc0332c /* CAN Controller 1 Mailbox 5 Acceptance Mask Low Register */
-#define CAN1_AM06L 0xffc03330 /* CAN Controller 1 Mailbox 6 Acceptance Mask High Register */
-#define CAN1_AM06H 0xffc03334 /* CAN Controller 1 Mailbox 6 Acceptance Mask Low Register */
-#define CAN1_AM07L 0xffc03338 /* CAN Controller 1 Mailbox 7 Acceptance Mask High Register */
-#define CAN1_AM07H 0xffc0333c /* CAN Controller 1 Mailbox 7 Acceptance Mask Low Register */
-#define CAN1_AM08L 0xffc03340 /* CAN Controller 1 Mailbox 8 Acceptance Mask High Register */
-#define CAN1_AM08H 0xffc03344 /* CAN Controller 1 Mailbox 8 Acceptance Mask Low Register */
-#define CAN1_AM09L 0xffc03348 /* CAN Controller 1 Mailbox 9 Acceptance Mask High Register */
-#define CAN1_AM09H 0xffc0334c /* CAN Controller 1 Mailbox 9 Acceptance Mask Low Register */
-#define CAN1_AM10L 0xffc03350 /* CAN Controller 1 Mailbox 10 Acceptance Mask High Register */
-#define CAN1_AM10H 0xffc03354 /* CAN Controller 1 Mailbox 10 Acceptance Mask Low Register */
-#define CAN1_AM11L 0xffc03358 /* CAN Controller 1 Mailbox 11 Acceptance Mask High Register */
-#define CAN1_AM11H 0xffc0335c /* CAN Controller 1 Mailbox 11 Acceptance Mask Low Register */
-#define CAN1_AM12L 0xffc03360 /* CAN Controller 1 Mailbox 12 Acceptance Mask High Register */
-#define CAN1_AM12H 0xffc03364 /* CAN Controller 1 Mailbox 12 Acceptance Mask Low Register */
-#define CAN1_AM13L 0xffc03368 /* CAN Controller 1 Mailbox 13 Acceptance Mask High Register */
-#define CAN1_AM13H 0xffc0336c /* CAN Controller 1 Mailbox 13 Acceptance Mask Low Register */
-#define CAN1_AM14L 0xffc03370 /* CAN Controller 1 Mailbox 14 Acceptance Mask High Register */
-#define CAN1_AM14H 0xffc03374 /* CAN Controller 1 Mailbox 14 Acceptance Mask Low Register */
-#define CAN1_AM15L 0xffc03378 /* CAN Controller 1 Mailbox 15 Acceptance Mask High Register */
-#define CAN1_AM15H 0xffc0337c /* CAN Controller 1 Mailbox 15 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM16L 0xffc03380 /* CAN Controller 1 Mailbox 16 Acceptance Mask High Register */
-#define CAN1_AM16H 0xffc03384 /* CAN Controller 1 Mailbox 16 Acceptance Mask Low Register */
-#define CAN1_AM17L 0xffc03388 /* CAN Controller 1 Mailbox 17 Acceptance Mask High Register */
-#define CAN1_AM17H 0xffc0338c /* CAN Controller 1 Mailbox 17 Acceptance Mask Low Register */
-#define CAN1_AM18L 0xffc03390 /* CAN Controller 1 Mailbox 18 Acceptance Mask High Register */
-#define CAN1_AM18H 0xffc03394 /* CAN Controller 1 Mailbox 18 Acceptance Mask Low Register */
-#define CAN1_AM19L 0xffc03398 /* CAN Controller 1 Mailbox 19 Acceptance Mask High Register */
-#define CAN1_AM19H 0xffc0339c /* CAN Controller 1 Mailbox 19 Acceptance Mask Low Register */
-#define CAN1_AM20L 0xffc033a0 /* CAN Controller 1 Mailbox 20 Acceptance Mask High Register */
-#define CAN1_AM20H 0xffc033a4 /* CAN Controller 1 Mailbox 20 Acceptance Mask Low Register */
-#define CAN1_AM21L 0xffc033a8 /* CAN Controller 1 Mailbox 21 Acceptance Mask High Register */
-#define CAN1_AM21H 0xffc033ac /* CAN Controller 1 Mailbox 21 Acceptance Mask Low Register */
-#define CAN1_AM22L 0xffc033b0 /* CAN Controller 1 Mailbox 22 Acceptance Mask High Register */
-#define CAN1_AM22H 0xffc033b4 /* CAN Controller 1 Mailbox 22 Acceptance Mask Low Register */
-#define CAN1_AM23L 0xffc033b8 /* CAN Controller 1 Mailbox 23 Acceptance Mask High Register */
-#define CAN1_AM23H 0xffc033bc /* CAN Controller 1 Mailbox 23 Acceptance Mask Low Register */
-#define CAN1_AM24L 0xffc033c0 /* CAN Controller 1 Mailbox 24 Acceptance Mask High Register */
-#define CAN1_AM24H 0xffc033c4 /* CAN Controller 1 Mailbox 24 Acceptance Mask Low Register */
-#define CAN1_AM25L 0xffc033c8 /* CAN Controller 1 Mailbox 25 Acceptance Mask High Register */
-#define CAN1_AM25H 0xffc033cc /* CAN Controller 1 Mailbox 25 Acceptance Mask Low Register */
-#define CAN1_AM26L 0xffc033d0 /* CAN Controller 1 Mailbox 26 Acceptance Mask High Register */
-#define CAN1_AM26H 0xffc033d4 /* CAN Controller 1 Mailbox 26 Acceptance Mask Low Register */
-#define CAN1_AM27L 0xffc033d8 /* CAN Controller 1 Mailbox 27 Acceptance Mask High Register */
-#define CAN1_AM27H 0xffc033dc /* CAN Controller 1 Mailbox 27 Acceptance Mask Low Register */
-#define CAN1_AM28L 0xffc033e0 /* CAN Controller 1 Mailbox 28 Acceptance Mask High Register */
-#define CAN1_AM28H 0xffc033e4 /* CAN Controller 1 Mailbox 28 Acceptance Mask Low Register */
-#define CAN1_AM29L 0xffc033e8 /* CAN Controller 1 Mailbox 29 Acceptance Mask High Register */
-#define CAN1_AM29H 0xffc033ec /* CAN Controller 1 Mailbox 29 Acceptance Mask Low Register */
-#define CAN1_AM30L 0xffc033f0 /* CAN Controller 1 Mailbox 30 Acceptance Mask High Register */
-#define CAN1_AM30H 0xffc033f4 /* CAN Controller 1 Mailbox 30 Acceptance Mask Low Register */
-#define CAN1_AM31L 0xffc033f8 /* CAN Controller 1 Mailbox 31 Acceptance Mask High Register */
-#define CAN1_AM31H 0xffc033fc /* CAN Controller 1 Mailbox 31 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB00_DATA0 0xffc03400 /* CAN Controller 1 Mailbox 0 Data 0 Register */
-#define CAN1_MB00_DATA1 0xffc03404 /* CAN Controller 1 Mailbox 0 Data 1 Register */
-#define CAN1_MB00_DATA2 0xffc03408 /* CAN Controller 1 Mailbox 0 Data 2 Register */
-#define CAN1_MB00_DATA3 0xffc0340c /* CAN Controller 1 Mailbox 0 Data 3 Register */
-#define CAN1_MB00_LENGTH 0xffc03410 /* CAN Controller 1 Mailbox 0 Length Register */
-#define CAN1_MB00_TIMESTAMP 0xffc03414 /* CAN Controller 1 Mailbox 0 Timestamp Register */
-#define CAN1_MB00_ID0 0xffc03418 /* CAN Controller 1 Mailbox 0 ID0 Register */
-#define CAN1_MB00_ID1 0xffc0341c /* CAN Controller 1 Mailbox 0 ID1 Register */
-#define CAN1_MB01_DATA0 0xffc03420 /* CAN Controller 1 Mailbox 1 Data 0 Register */
-#define CAN1_MB01_DATA1 0xffc03424 /* CAN Controller 1 Mailbox 1 Data 1 Register */
-#define CAN1_MB01_DATA2 0xffc03428 /* CAN Controller 1 Mailbox 1 Data 2 Register */
-#define CAN1_MB01_DATA3 0xffc0342c /* CAN Controller 1 Mailbox 1 Data 3 Register */
-#define CAN1_MB01_LENGTH 0xffc03430 /* CAN Controller 1 Mailbox 1 Length Register */
-#define CAN1_MB01_TIMESTAMP 0xffc03434 /* CAN Controller 1 Mailbox 1 Timestamp Register */
-#define CAN1_MB01_ID0 0xffc03438 /* CAN Controller 1 Mailbox 1 ID0 Register */
-#define CAN1_MB01_ID1 0xffc0343c /* CAN Controller 1 Mailbox 1 ID1 Register */
-#define CAN1_MB02_DATA0 0xffc03440 /* CAN Controller 1 Mailbox 2 Data 0 Register */
-#define CAN1_MB02_DATA1 0xffc03444 /* CAN Controller 1 Mailbox 2 Data 1 Register */
-#define CAN1_MB02_DATA2 0xffc03448 /* CAN Controller 1 Mailbox 2 Data 2 Register */
-#define CAN1_MB02_DATA3 0xffc0344c /* CAN Controller 1 Mailbox 2 Data 3 Register */
-#define CAN1_MB02_LENGTH 0xffc03450 /* CAN Controller 1 Mailbox 2 Length Register */
-#define CAN1_MB02_TIMESTAMP 0xffc03454 /* CAN Controller 1 Mailbox 2 Timestamp Register */
-#define CAN1_MB02_ID0 0xffc03458 /* CAN Controller 1 Mailbox 2 ID0 Register */
-#define CAN1_MB02_ID1 0xffc0345c /* CAN Controller 1 Mailbox 2 ID1 Register */
-#define CAN1_MB03_DATA0 0xffc03460 /* CAN Controller 1 Mailbox 3 Data 0 Register */
-#define CAN1_MB03_DATA1 0xffc03464 /* CAN Controller 1 Mailbox 3 Data 1 Register */
-#define CAN1_MB03_DATA2 0xffc03468 /* CAN Controller 1 Mailbox 3 Data 2 Register */
-#define CAN1_MB03_DATA3 0xffc0346c /* CAN Controller 1 Mailbox 3 Data 3 Register */
-#define CAN1_MB03_LENGTH 0xffc03470 /* CAN Controller 1 Mailbox 3 Length Register */
-#define CAN1_MB03_TIMESTAMP 0xffc03474 /* CAN Controller 1 Mailbox 3 Timestamp Register */
-#define CAN1_MB03_ID0 0xffc03478 /* CAN Controller 1 Mailbox 3 ID0 Register */
-#define CAN1_MB03_ID1 0xffc0347c /* CAN Controller 1 Mailbox 3 ID1 Register */
-#define CAN1_MB04_DATA0 0xffc03480 /* CAN Controller 1 Mailbox 4 Data 0 Register */
-#define CAN1_MB04_DATA1 0xffc03484 /* CAN Controller 1 Mailbox 4 Data 1 Register */
-#define CAN1_MB04_DATA2 0xffc03488 /* CAN Controller 1 Mailbox 4 Data 2 Register */
-#define CAN1_MB04_DATA3 0xffc0348c /* CAN Controller 1 Mailbox 4 Data 3 Register */
-#define CAN1_MB04_LENGTH 0xffc03490 /* CAN Controller 1 Mailbox 4 Length Register */
-#define CAN1_MB04_TIMESTAMP 0xffc03494 /* CAN Controller 1 Mailbox 4 Timestamp Register */
-#define CAN1_MB04_ID0 0xffc03498 /* CAN Controller 1 Mailbox 4 ID0 Register */
-#define CAN1_MB04_ID1 0xffc0349c /* CAN Controller 1 Mailbox 4 ID1 Register */
-#define CAN1_MB05_DATA0 0xffc034a0 /* CAN Controller 1 Mailbox 5 Data 0 Register */
-#define CAN1_MB05_DATA1 0xffc034a4 /* CAN Controller 1 Mailbox 5 Data 1 Register */
-#define CAN1_MB05_DATA2 0xffc034a8 /* CAN Controller 1 Mailbox 5 Data 2 Register */
-#define CAN1_MB05_DATA3 0xffc034ac /* CAN Controller 1 Mailbox 5 Data 3 Register */
-#define CAN1_MB05_LENGTH 0xffc034b0 /* CAN Controller 1 Mailbox 5 Length Register */
-#define CAN1_MB05_TIMESTAMP 0xffc034b4 /* CAN Controller 1 Mailbox 5 Timestamp Register */
-#define CAN1_MB05_ID0 0xffc034b8 /* CAN Controller 1 Mailbox 5 ID0 Register */
-#define CAN1_MB05_ID1 0xffc034bc /* CAN Controller 1 Mailbox 5 ID1 Register */
-#define CAN1_MB06_DATA0 0xffc034c0 /* CAN Controller 1 Mailbox 6 Data 0 Register */
-#define CAN1_MB06_DATA1 0xffc034c4 /* CAN Controller 1 Mailbox 6 Data 1 Register */
-#define CAN1_MB06_DATA2 0xffc034c8 /* CAN Controller 1 Mailbox 6 Data 2 Register */
-#define CAN1_MB06_DATA3 0xffc034cc /* CAN Controller 1 Mailbox 6 Data 3 Register */
-#define CAN1_MB06_LENGTH 0xffc034d0 /* CAN Controller 1 Mailbox 6 Length Register */
-#define CAN1_MB06_TIMESTAMP 0xffc034d4 /* CAN Controller 1 Mailbox 6 Timestamp Register */
-#define CAN1_MB06_ID0 0xffc034d8 /* CAN Controller 1 Mailbox 6 ID0 Register */
-#define CAN1_MB06_ID1 0xffc034dc /* CAN Controller 1 Mailbox 6 ID1 Register */
-#define CAN1_MB07_DATA0 0xffc034e0 /* CAN Controller 1 Mailbox 7 Data 0 Register */
-#define CAN1_MB07_DATA1 0xffc034e4 /* CAN Controller 1 Mailbox 7 Data 1 Register */
-#define CAN1_MB07_DATA2 0xffc034e8 /* CAN Controller 1 Mailbox 7 Data 2 Register */
-#define CAN1_MB07_DATA3 0xffc034ec /* CAN Controller 1 Mailbox 7 Data 3 Register */
-#define CAN1_MB07_LENGTH 0xffc034f0 /* CAN Controller 1 Mailbox 7 Length Register */
-#define CAN1_MB07_TIMESTAMP 0xffc034f4 /* CAN Controller 1 Mailbox 7 Timestamp Register */
-#define CAN1_MB07_ID0 0xffc034f8 /* CAN Controller 1 Mailbox 7 ID0 Register */
-#define CAN1_MB07_ID1 0xffc034fc /* CAN Controller 1 Mailbox 7 ID1 Register */
-#define CAN1_MB08_DATA0 0xffc03500 /* CAN Controller 1 Mailbox 8 Data 0 Register */
-#define CAN1_MB08_DATA1 0xffc03504 /* CAN Controller 1 Mailbox 8 Data 1 Register */
-#define CAN1_MB08_DATA2 0xffc03508 /* CAN Controller 1 Mailbox 8 Data 2 Register */
-#define CAN1_MB08_DATA3 0xffc0350c /* CAN Controller 1 Mailbox 8 Data 3 Register */
-#define CAN1_MB08_LENGTH 0xffc03510 /* CAN Controller 1 Mailbox 8 Length Register */
-#define CAN1_MB08_TIMESTAMP 0xffc03514 /* CAN Controller 1 Mailbox 8 Timestamp Register */
-#define CAN1_MB08_ID0 0xffc03518 /* CAN Controller 1 Mailbox 8 ID0 Register */
-#define CAN1_MB08_ID1 0xffc0351c /* CAN Controller 1 Mailbox 8 ID1 Register */
-#define CAN1_MB09_DATA0 0xffc03520 /* CAN Controller 1 Mailbox 9 Data 0 Register */
-#define CAN1_MB09_DATA1 0xffc03524 /* CAN Controller 1 Mailbox 9 Data 1 Register */
-#define CAN1_MB09_DATA2 0xffc03528 /* CAN Controller 1 Mailbox 9 Data 2 Register */
-#define CAN1_MB09_DATA3 0xffc0352c /* CAN Controller 1 Mailbox 9 Data 3 Register */
-#define CAN1_MB09_LENGTH 0xffc03530 /* CAN Controller 1 Mailbox 9 Length Register */
-#define CAN1_MB09_TIMESTAMP 0xffc03534 /* CAN Controller 1 Mailbox 9 Timestamp Register */
-#define CAN1_MB09_ID0 0xffc03538 /* CAN Controller 1 Mailbox 9 ID0 Register */
-#define CAN1_MB09_ID1 0xffc0353c /* CAN Controller 1 Mailbox 9 ID1 Register */
-#define CAN1_MB10_DATA0 0xffc03540 /* CAN Controller 1 Mailbox 10 Data 0 Register */
-#define CAN1_MB10_DATA1 0xffc03544 /* CAN Controller 1 Mailbox 10 Data 1 Register */
-#define CAN1_MB10_DATA2 0xffc03548 /* CAN Controller 1 Mailbox 10 Data 2 Register */
-#define CAN1_MB10_DATA3 0xffc0354c /* CAN Controller 1 Mailbox 10 Data 3 Register */
-#define CAN1_MB10_LENGTH 0xffc03550 /* CAN Controller 1 Mailbox 10 Length Register */
-#define CAN1_MB10_TIMESTAMP 0xffc03554 /* CAN Controller 1 Mailbox 10 Timestamp Register */
-#define CAN1_MB10_ID0 0xffc03558 /* CAN Controller 1 Mailbox 10 ID0 Register */
-#define CAN1_MB10_ID1 0xffc0355c /* CAN Controller 1 Mailbox 10 ID1 Register */
-#define CAN1_MB11_DATA0 0xffc03560 /* CAN Controller 1 Mailbox 11 Data 0 Register */
-#define CAN1_MB11_DATA1 0xffc03564 /* CAN Controller 1 Mailbox 11 Data 1 Register */
-#define CAN1_MB11_DATA2 0xffc03568 /* CAN Controller 1 Mailbox 11 Data 2 Register */
-#define CAN1_MB11_DATA3 0xffc0356c /* CAN Controller 1 Mailbox 11 Data 3 Register */
-#define CAN1_MB11_LENGTH 0xffc03570 /* CAN Controller 1 Mailbox 11 Length Register */
-#define CAN1_MB11_TIMESTAMP 0xffc03574 /* CAN Controller 1 Mailbox 11 Timestamp Register */
-#define CAN1_MB11_ID0 0xffc03578 /* CAN Controller 1 Mailbox 11 ID0 Register */
-#define CAN1_MB11_ID1 0xffc0357c /* CAN Controller 1 Mailbox 11 ID1 Register */
-#define CAN1_MB12_DATA0 0xffc03580 /* CAN Controller 1 Mailbox 12 Data 0 Register */
-#define CAN1_MB12_DATA1 0xffc03584 /* CAN Controller 1 Mailbox 12 Data 1 Register */
-#define CAN1_MB12_DATA2 0xffc03588 /* CAN Controller 1 Mailbox 12 Data 2 Register */
-#define CAN1_MB12_DATA3 0xffc0358c /* CAN Controller 1 Mailbox 12 Data 3 Register */
-#define CAN1_MB12_LENGTH 0xffc03590 /* CAN Controller 1 Mailbox 12 Length Register */
-#define CAN1_MB12_TIMESTAMP 0xffc03594 /* CAN Controller 1 Mailbox 12 Timestamp Register */
-#define CAN1_MB12_ID0 0xffc03598 /* CAN Controller 1 Mailbox 12 ID0 Register */
-#define CAN1_MB12_ID1 0xffc0359c /* CAN Controller 1 Mailbox 12 ID1 Register */
-#define CAN1_MB13_DATA0 0xffc035a0 /* CAN Controller 1 Mailbox 13 Data 0 Register */
-#define CAN1_MB13_DATA1 0xffc035a4 /* CAN Controller 1 Mailbox 13 Data 1 Register */
-#define CAN1_MB13_DATA2 0xffc035a8 /* CAN Controller 1 Mailbox 13 Data 2 Register */
-#define CAN1_MB13_DATA3 0xffc035ac /* CAN Controller 1 Mailbox 13 Data 3 Register */
-#define CAN1_MB13_LENGTH 0xffc035b0 /* CAN Controller 1 Mailbox 13 Length Register */
-#define CAN1_MB13_TIMESTAMP 0xffc035b4 /* CAN Controller 1 Mailbox 13 Timestamp Register */
-#define CAN1_MB13_ID0 0xffc035b8 /* CAN Controller 1 Mailbox 13 ID0 Register */
-#define CAN1_MB13_ID1 0xffc035bc /* CAN Controller 1 Mailbox 13 ID1 Register */
-#define CAN1_MB14_DATA0 0xffc035c0 /* CAN Controller 1 Mailbox 14 Data 0 Register */
-#define CAN1_MB14_DATA1 0xffc035c4 /* CAN Controller 1 Mailbox 14 Data 1 Register */
-#define CAN1_MB14_DATA2 0xffc035c8 /* CAN Controller 1 Mailbox 14 Data 2 Register */
-#define CAN1_MB14_DATA3 0xffc035cc /* CAN Controller 1 Mailbox 14 Data 3 Register */
-#define CAN1_MB14_LENGTH 0xffc035d0 /* CAN Controller 1 Mailbox 14 Length Register */
-#define CAN1_MB14_TIMESTAMP 0xffc035d4 /* CAN Controller 1 Mailbox 14 Timestamp Register */
-#define CAN1_MB14_ID0 0xffc035d8 /* CAN Controller 1 Mailbox 14 ID0 Register */
-#define CAN1_MB14_ID1 0xffc035dc /* CAN Controller 1 Mailbox 14 ID1 Register */
-#define CAN1_MB15_DATA0 0xffc035e0 /* CAN Controller 1 Mailbox 15 Data 0 Register */
-#define CAN1_MB15_DATA1 0xffc035e4 /* CAN Controller 1 Mailbox 15 Data 1 Register */
-#define CAN1_MB15_DATA2 0xffc035e8 /* CAN Controller 1 Mailbox 15 Data 2 Register */
-#define CAN1_MB15_DATA3 0xffc035ec /* CAN Controller 1 Mailbox 15 Data 3 Register */
-#define CAN1_MB15_LENGTH 0xffc035f0 /* CAN Controller 1 Mailbox 15 Length Register */
-#define CAN1_MB15_TIMESTAMP 0xffc035f4 /* CAN Controller 1 Mailbox 15 Timestamp Register */
-#define CAN1_MB15_ID0 0xffc035f8 /* CAN Controller 1 Mailbox 15 ID0 Register */
-#define CAN1_MB15_ID1 0xffc035fc /* CAN Controller 1 Mailbox 15 ID1 Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB16_DATA0 0xffc03600 /* CAN Controller 1 Mailbox 16 Data 0 Register */
-#define CAN1_MB16_DATA1 0xffc03604 /* CAN Controller 1 Mailbox 16 Data 1 Register */
-#define CAN1_MB16_DATA2 0xffc03608 /* CAN Controller 1 Mailbox 16 Data 2 Register */
-#define CAN1_MB16_DATA3 0xffc0360c /* CAN Controller 1 Mailbox 16 Data 3 Register */
-#define CAN1_MB16_LENGTH 0xffc03610 /* CAN Controller 1 Mailbox 16 Length Register */
-#define CAN1_MB16_TIMESTAMP 0xffc03614 /* CAN Controller 1 Mailbox 16 Timestamp Register */
-#define CAN1_MB16_ID0 0xffc03618 /* CAN Controller 1 Mailbox 16 ID0 Register */
-#define CAN1_MB16_ID1 0xffc0361c /* CAN Controller 1 Mailbox 16 ID1 Register */
-#define CAN1_MB17_DATA0 0xffc03620 /* CAN Controller 1 Mailbox 17 Data 0 Register */
-#define CAN1_MB17_DATA1 0xffc03624 /* CAN Controller 1 Mailbox 17 Data 1 Register */
-#define CAN1_MB17_DATA2 0xffc03628 /* CAN Controller 1 Mailbox 17 Data 2 Register */
-#define CAN1_MB17_DATA3 0xffc0362c /* CAN Controller 1 Mailbox 17 Data 3 Register */
-#define CAN1_MB17_LENGTH 0xffc03630 /* CAN Controller 1 Mailbox 17 Length Register */
-#define CAN1_MB17_TIMESTAMP 0xffc03634 /* CAN Controller 1 Mailbox 17 Timestamp Register */
-#define CAN1_MB17_ID0 0xffc03638 /* CAN Controller 1 Mailbox 17 ID0 Register */
-#define CAN1_MB17_ID1 0xffc0363c /* CAN Controller 1 Mailbox 17 ID1 Register */
-#define CAN1_MB18_DATA0 0xffc03640 /* CAN Controller 1 Mailbox 18 Data 0 Register */
-#define CAN1_MB18_DATA1 0xffc03644 /* CAN Controller 1 Mailbox 18 Data 1 Register */
-#define CAN1_MB18_DATA2 0xffc03648 /* CAN Controller 1 Mailbox 18 Data 2 Register */
-#define CAN1_MB18_DATA3 0xffc0364c /* CAN Controller 1 Mailbox 18 Data 3 Register */
-#define CAN1_MB18_LENGTH 0xffc03650 /* CAN Controller 1 Mailbox 18 Length Register */
-#define CAN1_MB18_TIMESTAMP 0xffc03654 /* CAN Controller 1 Mailbox 18 Timestamp Register */
-#define CAN1_MB18_ID0 0xffc03658 /* CAN Controller 1 Mailbox 18 ID0 Register */
-#define CAN1_MB18_ID1 0xffc0365c /* CAN Controller 1 Mailbox 18 ID1 Register */
-#define CAN1_MB19_DATA0 0xffc03660 /* CAN Controller 1 Mailbox 19 Data 0 Register */
-#define CAN1_MB19_DATA1 0xffc03664 /* CAN Controller 1 Mailbox 19 Data 1 Register */
-#define CAN1_MB19_DATA2 0xffc03668 /* CAN Controller 1 Mailbox 19 Data 2 Register */
-#define CAN1_MB19_DATA3 0xffc0366c /* CAN Controller 1 Mailbox 19 Data 3 Register */
-#define CAN1_MB19_LENGTH 0xffc03670 /* CAN Controller 1 Mailbox 19 Length Register */
-#define CAN1_MB19_TIMESTAMP 0xffc03674 /* CAN Controller 1 Mailbox 19 Timestamp Register */
-#define CAN1_MB19_ID0 0xffc03678 /* CAN Controller 1 Mailbox 19 ID0 Register */
-#define CAN1_MB19_ID1 0xffc0367c /* CAN Controller 1 Mailbox 19 ID1 Register */
-#define CAN1_MB20_DATA0 0xffc03680 /* CAN Controller 1 Mailbox 20 Data 0 Register */
-#define CAN1_MB20_DATA1 0xffc03684 /* CAN Controller 1 Mailbox 20 Data 1 Register */
-#define CAN1_MB20_DATA2 0xffc03688 /* CAN Controller 1 Mailbox 20 Data 2 Register */
-#define CAN1_MB20_DATA3 0xffc0368c /* CAN Controller 1 Mailbox 20 Data 3 Register */
-#define CAN1_MB20_LENGTH 0xffc03690 /* CAN Controller 1 Mailbox 20 Length Register */
-#define CAN1_MB20_TIMESTAMP 0xffc03694 /* CAN Controller 1 Mailbox 20 Timestamp Register */
-#define CAN1_MB20_ID0 0xffc03698 /* CAN Controller 1 Mailbox 20 ID0 Register */
-#define CAN1_MB20_ID1 0xffc0369c /* CAN Controller 1 Mailbox 20 ID1 Register */
-#define CAN1_MB21_DATA0 0xffc036a0 /* CAN Controller 1 Mailbox 21 Data 0 Register */
-#define CAN1_MB21_DATA1 0xffc036a4 /* CAN Controller 1 Mailbox 21 Data 1 Register */
-#define CAN1_MB21_DATA2 0xffc036a8 /* CAN Controller 1 Mailbox 21 Data 2 Register */
-#define CAN1_MB21_DATA3 0xffc036ac /* CAN Controller 1 Mailbox 21 Data 3 Register */
-#define CAN1_MB21_LENGTH 0xffc036b0 /* CAN Controller 1 Mailbox 21 Length Register */
-#define CAN1_MB21_TIMESTAMP 0xffc036b4 /* CAN Controller 1 Mailbox 21 Timestamp Register */
-#define CAN1_MB21_ID0 0xffc036b8 /* CAN Controller 1 Mailbox 21 ID0 Register */
-#define CAN1_MB21_ID1 0xffc036bc /* CAN Controller 1 Mailbox 21 ID1 Register */
-#define CAN1_MB22_DATA0 0xffc036c0 /* CAN Controller 1 Mailbox 22 Data 0 Register */
-#define CAN1_MB22_DATA1 0xffc036c4 /* CAN Controller 1 Mailbox 22 Data 1 Register */
-#define CAN1_MB22_DATA2 0xffc036c8 /* CAN Controller 1 Mailbox 22 Data 2 Register */
-#define CAN1_MB22_DATA3 0xffc036cc /* CAN Controller 1 Mailbox 22 Data 3 Register */
-#define CAN1_MB22_LENGTH 0xffc036d0 /* CAN Controller 1 Mailbox 22 Length Register */
-#define CAN1_MB22_TIMESTAMP 0xffc036d4 /* CAN Controller 1 Mailbox 22 Timestamp Register */
-#define CAN1_MB22_ID0 0xffc036d8 /* CAN Controller 1 Mailbox 22 ID0 Register */
-#define CAN1_MB22_ID1 0xffc036dc /* CAN Controller 1 Mailbox 22 ID1 Register */
-#define CAN1_MB23_DATA0 0xffc036e0 /* CAN Controller 1 Mailbox 23 Data 0 Register */
-#define CAN1_MB23_DATA1 0xffc036e4 /* CAN Controller 1 Mailbox 23 Data 1 Register */
-#define CAN1_MB23_DATA2 0xffc036e8 /* CAN Controller 1 Mailbox 23 Data 2 Register */
-#define CAN1_MB23_DATA3 0xffc036ec /* CAN Controller 1 Mailbox 23 Data 3 Register */
-#define CAN1_MB23_LENGTH 0xffc036f0 /* CAN Controller 1 Mailbox 23 Length Register */
-#define CAN1_MB23_TIMESTAMP 0xffc036f4 /* CAN Controller 1 Mailbox 23 Timestamp Register */
-#define CAN1_MB23_ID0 0xffc036f8 /* CAN Controller 1 Mailbox 23 ID0 Register */
-#define CAN1_MB23_ID1 0xffc036fc /* CAN Controller 1 Mailbox 23 ID1 Register */
-#define CAN1_MB24_DATA0 0xffc03700 /* CAN Controller 1 Mailbox 24 Data 0 Register */
-#define CAN1_MB24_DATA1 0xffc03704 /* CAN Controller 1 Mailbox 24 Data 1 Register */
-#define CAN1_MB24_DATA2 0xffc03708 /* CAN Controller 1 Mailbox 24 Data 2 Register */
-#define CAN1_MB24_DATA3 0xffc0370c /* CAN Controller 1 Mailbox 24 Data 3 Register */
-#define CAN1_MB24_LENGTH 0xffc03710 /* CAN Controller 1 Mailbox 24 Length Register */
-#define CAN1_MB24_TIMESTAMP 0xffc03714 /* CAN Controller 1 Mailbox 24 Timestamp Register */
-#define CAN1_MB24_ID0 0xffc03718 /* CAN Controller 1 Mailbox 24 ID0 Register */
-#define CAN1_MB24_ID1 0xffc0371c /* CAN Controller 1 Mailbox 24 ID1 Register */
-#define CAN1_MB25_DATA0 0xffc03720 /* CAN Controller 1 Mailbox 25 Data 0 Register */
-#define CAN1_MB25_DATA1 0xffc03724 /* CAN Controller 1 Mailbox 25 Data 1 Register */
-#define CAN1_MB25_DATA2 0xffc03728 /* CAN Controller 1 Mailbox 25 Data 2 Register */
-#define CAN1_MB25_DATA3 0xffc0372c /* CAN Controller 1 Mailbox 25 Data 3 Register */
-#define CAN1_MB25_LENGTH 0xffc03730 /* CAN Controller 1 Mailbox 25 Length Register */
-#define CAN1_MB25_TIMESTAMP 0xffc03734 /* CAN Controller 1 Mailbox 25 Timestamp Register */
-#define CAN1_MB25_ID0 0xffc03738 /* CAN Controller 1 Mailbox 25 ID0 Register */
-#define CAN1_MB25_ID1 0xffc0373c /* CAN Controller 1 Mailbox 25 ID1 Register */
-#define CAN1_MB26_DATA0 0xffc03740 /* CAN Controller 1 Mailbox 26 Data 0 Register */
-#define CAN1_MB26_DATA1 0xffc03744 /* CAN Controller 1 Mailbox 26 Data 1 Register */
-#define CAN1_MB26_DATA2 0xffc03748 /* CAN Controller 1 Mailbox 26 Data 2 Register */
-#define CAN1_MB26_DATA3 0xffc0374c /* CAN Controller 1 Mailbox 26 Data 3 Register */
-#define CAN1_MB26_LENGTH 0xffc03750 /* CAN Controller 1 Mailbox 26 Length Register */
-#define CAN1_MB26_TIMESTAMP 0xffc03754 /* CAN Controller 1 Mailbox 26 Timestamp Register */
-#define CAN1_MB26_ID0 0xffc03758 /* CAN Controller 1 Mailbox 26 ID0 Register */
-#define CAN1_MB26_ID1 0xffc0375c /* CAN Controller 1 Mailbox 26 ID1 Register */
-#define CAN1_MB27_DATA0 0xffc03760 /* CAN Controller 1 Mailbox 27 Data 0 Register */
-#define CAN1_MB27_DATA1 0xffc03764 /* CAN Controller 1 Mailbox 27 Data 1 Register */
-#define CAN1_MB27_DATA2 0xffc03768 /* CAN Controller 1 Mailbox 27 Data 2 Register */
-#define CAN1_MB27_DATA3 0xffc0376c /* CAN Controller 1 Mailbox 27 Data 3 Register */
-#define CAN1_MB27_LENGTH 0xffc03770 /* CAN Controller 1 Mailbox 27 Length Register */
-#define CAN1_MB27_TIMESTAMP 0xffc03774 /* CAN Controller 1 Mailbox 27 Timestamp Register */
-#define CAN1_MB27_ID0 0xffc03778 /* CAN Controller 1 Mailbox 27 ID0 Register */
-#define CAN1_MB27_ID1 0xffc0377c /* CAN Controller 1 Mailbox 27 ID1 Register */
-#define CAN1_MB28_DATA0 0xffc03780 /* CAN Controller 1 Mailbox 28 Data 0 Register */
-#define CAN1_MB28_DATA1 0xffc03784 /* CAN Controller 1 Mailbox 28 Data 1 Register */
-#define CAN1_MB28_DATA2 0xffc03788 /* CAN Controller 1 Mailbox 28 Data 2 Register */
-#define CAN1_MB28_DATA3 0xffc0378c /* CAN Controller 1 Mailbox 28 Data 3 Register */
-#define CAN1_MB28_LENGTH 0xffc03790 /* CAN Controller 1 Mailbox 28 Length Register */
-#define CAN1_MB28_TIMESTAMP 0xffc03794 /* CAN Controller 1 Mailbox 28 Timestamp Register */
-#define CAN1_MB28_ID0 0xffc03798 /* CAN Controller 1 Mailbox 28 ID0 Register */
-#define CAN1_MB28_ID1 0xffc0379c /* CAN Controller 1 Mailbox 28 ID1 Register */
-#define CAN1_MB29_DATA0 0xffc037a0 /* CAN Controller 1 Mailbox 29 Data 0 Register */
-#define CAN1_MB29_DATA1 0xffc037a4 /* CAN Controller 1 Mailbox 29 Data 1 Register */
-#define CAN1_MB29_DATA2 0xffc037a8 /* CAN Controller 1 Mailbox 29 Data 2 Register */
-#define CAN1_MB29_DATA3 0xffc037ac /* CAN Controller 1 Mailbox 29 Data 3 Register */
-#define CAN1_MB29_LENGTH 0xffc037b0 /* CAN Controller 1 Mailbox 29 Length Register */
-#define CAN1_MB29_TIMESTAMP 0xffc037b4 /* CAN Controller 1 Mailbox 29 Timestamp Register */
-#define CAN1_MB29_ID0 0xffc037b8 /* CAN Controller 1 Mailbox 29 ID0 Register */
-#define CAN1_MB29_ID1 0xffc037bc /* CAN Controller 1 Mailbox 29 ID1 Register */
-#define CAN1_MB30_DATA0 0xffc037c0 /* CAN Controller 1 Mailbox 30 Data 0 Register */
-#define CAN1_MB30_DATA1 0xffc037c4 /* CAN Controller 1 Mailbox 30 Data 1 Register */
-#define CAN1_MB30_DATA2 0xffc037c8 /* CAN Controller 1 Mailbox 30 Data 2 Register */
-#define CAN1_MB30_DATA3 0xffc037cc /* CAN Controller 1 Mailbox 30 Data 3 Register */
-#define CAN1_MB30_LENGTH 0xffc037d0 /* CAN Controller 1 Mailbox 30 Length Register */
-#define CAN1_MB30_TIMESTAMP 0xffc037d4 /* CAN Controller 1 Mailbox 30 Timestamp Register */
-#define CAN1_MB30_ID0 0xffc037d8 /* CAN Controller 1 Mailbox 30 ID0 Register */
-#define CAN1_MB30_ID1 0xffc037dc /* CAN Controller 1 Mailbox 30 ID1 Register */
-#define CAN1_MB31_DATA0 0xffc037e0 /* CAN Controller 1 Mailbox 31 Data 0 Register */
-#define CAN1_MB31_DATA1 0xffc037e4 /* CAN Controller 1 Mailbox 31 Data 1 Register */
-#define CAN1_MB31_DATA2 0xffc037e8 /* CAN Controller 1 Mailbox 31 Data 2 Register */
-#define CAN1_MB31_DATA3 0xffc037ec /* CAN Controller 1 Mailbox 31 Data 3 Register */
-#define CAN1_MB31_LENGTH 0xffc037f0 /* CAN Controller 1 Mailbox 31 Length Register */
-#define CAN1_MB31_TIMESTAMP 0xffc037f4 /* CAN Controller 1 Mailbox 31 Timestamp Register */
-#define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */
-#define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */
-
-/* ATAPI Registers */
-
-#define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */
-#define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */
-#define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */
-#define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */
-#define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */
-#define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */
-#define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */
-#define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */
-#define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */
-#define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */
-#define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */
-#define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */
-#define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */
-#define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */
-#define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */
-#define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */
-#define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */
-#define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */
-#define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */
-#define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */
-#define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */
-#define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */
-#define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */
-
-/* SDH Registers */
-
-#define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */
-#define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */
-#define SDH_ARGUMENT 0xffc03908 /* SDH Argument */
-#define SDH_COMMAND 0xffc0390c /* SDH Command */
-#define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */
-#define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */
-#define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */
-#define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */
-#define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */
-#define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */
-#define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */
-#define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */
-#define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */
-#define SDH_STATUS 0xffc03934 /* SDH Status */
-#define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */
-#define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */
-#define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */
-#define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */
-#define SDH_FIFO 0xffc03980 /* SDH Data FIFO */
-#define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */
-#define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */
-#define SDH_CFG 0xffc039c8 /* SDH Configuration */
-#define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */
-#define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */
-#define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */
-#define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */
-#define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */
-#define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */
-#define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */
-#define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */
-#define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */
-
-/* HOST Port Registers */
-
-#define HOST_CONTROL 0xffc03a00 /* HOSTDP Control Register */
-#define HOST_STATUS 0xffc03a04 /* HOSTDP Status Register */
-#define HOST_TIMEOUT 0xffc03a08 /* HOSTDP Acknowledge Mode Timeout Register */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03c00 /* Function address register */
-#define USB_POWER 0xffc03c04 /* Power management register */
-#define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03c20 /* USB frame number */
-#define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */
-#define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */
-#define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-#define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-#define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-#define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-#define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-#define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */
-#define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-#define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-#define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Keypad Registers */
-
-#define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */
-#define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */
-#define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */
-#define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */
-#define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */
-#define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */
-#define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */
-#define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */
-#define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
-#define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
-#define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
-#define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
-#define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */
-#define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
-#define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
-#define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
-#define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
-#define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */
-#define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */
-#define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */
-#define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */
-#define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */
-#define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */
-#define PIXC_TC 0xffc04450 /* Holds the transparent color value */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for PIXC_CTL */
-
-#define PIXC_EN 0x1 /* Pixel Compositor Enable */
-#define nPIXC_EN 0x0
-#define OVR_A_EN 0x2 /* Overlay A Enable */
-#define nOVR_A_EN 0x0
-#define OVR_B_EN 0x4 /* Overlay B Enable */
-#define nOVR_B_EN 0x0
-#define IMG_FORM 0x8 /* Image Data Format */
-#define nIMG_FORM 0x0
-#define OVR_FORM 0x10 /* Overlay Data Format */
-#define nOVR_FORM 0x0
-#define OUT_FORM 0x20 /* Output Data Format */
-#define nOUT_FORM 0x0
-#define UDS_MOD 0x40 /* Resampling Mode */
-#define nUDS_MOD 0x0
-#define TC_EN 0x80 /* Transparent Color Enable */
-#define nTC_EN 0x0
-#define IMG_STAT 0x300 /* Image FIFO Status */
-#define OVR_STAT 0xc00 /* Overlay FIFO Status */
-#define WM_LVL 0x3000 /* FIFO Watermark Level */
-
-/* Bit masks for PIXC_AHSTART */
-
-#define A_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_AHEND */
-
-#define A_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_AVSTART */
-
-#define A_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_AVEND */
-
-#define A_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_ATRANSP */
-
-#define A_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_BHSTART */
-
-#define B_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_BHEND */
-
-#define B_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_BVSTART */
-
-#define B_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_BVEND */
-
-#define B_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_BTRANSP */
-
-#define B_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_INTRSTAT */
-
-#define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */
-#define nOVR_INT_EN 0x0
-#define FRM_INT_EN 0x2 /* Interrupt at End of Frame */
-#define nFRM_INT_EN 0x0
-#define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */
-#define nOVR_INT_STAT 0x0
-#define FRM_INT_STAT 0x8 /* Frame Interrupt Status */
-#define nFRM_INT_STAT 0x0
-
-/* Bit masks for PIXC_RYCON */
-
-#define A11 0x3ff /* A11 in the Coefficient Matrix */
-#define A12 0xffc00 /* A12 in the Coefficient Matrix */
-#define A13 0x3ff00000 /* A13 in the Coefficient Matrix */
-#define RY_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nRY_MULT4 0x0
-
-/* Bit masks for PIXC_GUCON */
-
-#define A21 0x3ff /* A21 in the Coefficient Matrix */
-#define A22 0xffc00 /* A22 in the Coefficient Matrix */
-#define A23 0x3ff00000 /* A23 in the Coefficient Matrix */
-#define GU_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nGU_MULT4 0x0
-
-/* Bit masks for PIXC_BVCON */
-
-#define A31 0x3ff /* A31 in the Coefficient Matrix */
-#define A32 0xffc00 /* A32 in the Coefficient Matrix */
-#define A33 0x3ff00000 /* A33 in the Coefficient Matrix */
-#define BV_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nBV_MULT4 0x0
-
-/* Bit masks for PIXC_CCBIAS */
-
-#define A14 0x3ff /* A14 in the Bias Vector */
-#define A24 0xffc00 /* A24 in the Bias Vector */
-#define A34 0x3ff00000 /* A34 in the Bias Vector */
-
-/* Bit masks for PIXC_TC */
-
-#define RY_TRANS 0xff /* Transparent Color - R/Y Component */
-#define GU_TRANS 0xff00 /* Transparent Color - G/U Component */
-#define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */
-
-/* Bit masks for HOST_CONTROL */
-
-#define HOSTDP_EN 0x1 /* HOSTDP Enable */
-#define nHOSTDP_EN 0x0
-#define HOSTDP_END 0x2 /* Host Endianess */
-#define nHOSTDP_END 0x0
-#define HOSTDP_DATA_SIZE 0x4 /* Data Size */
-#define nHOSTDP_DATA_SIZE 0x0
-#define HOSTDP_RST 0x8 /* HOSTDP Reset */
-#define nHOSTDP_RST 0x0
-#define HRDY_OVR 0x20 /* HRDY Override */
-#define nHRDY_OVR 0x0
-#define INT_MODE 0x40 /* Interrupt Mode */
-#define nINT_MODE 0x0
-#define BT_EN 0x80 /* Bus Timeout Enable */
-#define nBT_EN 0x0
-#define EHW 0x100 /* Enable Host Write */
-#define nEHW 0x0
-#define EHR 0x200 /* Enable Host Read */
-#define nEHR 0x0
-#define BDR 0x400 /* Burst DMA Requests */
-#define nBDR 0x0
-
-/* Bit masks for HOST_STATUS */
-
-#define DMA_RDY 0x1 /* DMA Ready */
-#define nDMA_RDY 0x0
-#define FIFOFULL 0x2 /* FIFO Full */
-#define nFIFOFULL 0x0
-#define FIFOEMPTY 0x4 /* FIFO Empty */
-#define nFIFOEMPTY 0x0
-#define DMA_CMPLT 0x8 /* DMA Complete */
-#define nDMA_CMPLT 0x0
-#define HSHK 0x10 /* Host Handshake */
-#define nHSHK 0x0
-#define HOSTDP_TOUT 0x20 /* HOSTDP Timeout */
-#define nHOSTDP_TOUT 0x0
-#define HIRQ 0x40 /* Host Interrupt Request */
-#define nHIRQ 0x0
-#define ALLOW_CNFG 0x80 /* Allow New Configuration */
-#define nALLOW_CNFG 0x0
-#define DMA_DIR 0x100 /* DMA Direction */
-#define nDMA_DIR 0x0
-#define BTE 0x200 /* Bus Timeout Enabled */
-#define nBTE 0x0
-
-/* Bit masks for HOST_TIMEOUT */
-
-#define COUNT_TIMEOUT 0x7ff /* HOSTDP Timeout count */
-
-/* Bit masks for KPAD_CTL */
-
-#define KPAD_EN 0x1 /* Keypad Enable */
-#define nKPAD_EN 0x0
-#define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */
-#define nKPAD_IRQMODE 0x0 /* Interrupt Disabled */
-#define KPAD_IRQMODE_SK 0x2 /* Single key (single row, single column) press interrupt enable */
-#define KPAD_IRQMODE_MK 0x4 /* Single key press multiple key press interrupt enable */
-
-#define KPAD_ROWEN 0x1c00 /* Row Enable Width */
-#define KPAD_COLEN 0xe000 /* Column Enable Width */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_ROWEN(x) (((x)&0x7u)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7u)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#else
-#define SET_KPAD_ROWEN(x) (((x)&0x7)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_PRESCALE */
-
-#define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_PRESCALE(x) ((x)&0x3Fu) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#else
-#define SET_KPAD_PRESCALE(x) ((x)&0x3F) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_MSEL */
-
-#define DBON_SCALE 0xff /* Debounce Scale Value */
-#define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFFu) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFFu)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#else
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFF) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFF)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_ROWCOL */
-
-#define KPAD_ROW 0xff /* Rows Pressed */
-#define KPAD_COL 0xff00 /* Columns Pressed */
-
-/* Bit masks for KPAD_STAT */
-
-#define KPAD_IRQ 0x1 /* Keypad Interrupt Status */
-#define nKPAD_IRQ 0x0
-#define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */
-#define KPAD_PRESSED 0x8 /* Key press current status */
-#define nKPAD_PRESSED 0x0
-
-/* Bit masks for KPAD_SOFTEVAL */
-
-#define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */
-#define nKPAD_SOFTEVAL_E 0x0
-#define KPAD_NO_KEY 0x0 /* No Keypress Status*/
-#define KPAD_SINGLE_KEY 0x2 /* Single Keypress Status */
-#define KPAD_MKSROWCOL 0x4 /* Multiple Keypress in the same row or column Status */
-#define KPAD_MKMROWCOL 0x6 /* Multiple Keypress in the same multiple rows and multiple columns Status */
-
-/* Bit masks for SDH_COMMAND */
-
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP 0x40 /* Response */
-#define nCMD_RSP 0x0
-#define CMD_L_RSP 0x80 /* Long Response */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_E 0x100 /* Command Interrupt */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_E 0x200 /* Command Pending */
-#define nCMD_PEND_E 0x0
-#define CMD_E 0x400 /* Command Enable */
-#define nCMD_E 0x0
-
-/* Bit masks for SDH_PWR_CTL */
-
-#define PWR_ON 0x3 /* Power On */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-#define SD_CMD_OD 0x40 /* Open Drain Output */
-#define nSD_CMD_OD 0x0
-#define ROD_CTL 0x80 /* Rod Control */
-#define nROD_CTL 0x0
-
-/* Bit masks for SDH_CLK_CTL */
-
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_E 0x100 /* MC_CLK Bus Clock Enable */
-#define nCLK_E 0x0
-#define PWR_SV_E 0x200 /* Power Save Enable */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-#define nCLKDIV_BYPASS 0x0
-#define WIDE_BUS 0x800 /* Wide Bus Mode Enable */
-#define nWIDE_BUS 0x0
-
-/* Bit masks for SDH_RESP_CMD */
-
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for SDH_DATA_CTL */
-
-#define DTX_E 0x1 /* Data Transfer Enable */
-#define nDTX_E 0x0
-#define DTX_DIR 0x2 /* Data Transfer Direction */
-#define nDTX_DIR 0x0
-#define DTX_MODE 0x4 /* Data Transfer Mode */
-#define nDTX_MODE 0x0
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-#define nDTX_DMA_E 0x0
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-
-/* Bit masks for SDH_STATUS */
-
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for SDH_STATUS_CLR */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for SDH_MASK0 */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for SDH_FIFO_CNT */
-
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for SDH_E_STATUS */
-
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-#define nSD_CARD_DET 0x0
-
-/* Bit masks for SDH_E_MASK */
-
-#define SDIO_MSK 0x2 /* Mask SDIO Int Detected */
-#define nSDIO_MSK 0x0
-#define SCD_MSK 0x40 /* Mask Card Detect */
-#define nSCD_MSK 0x0
-
-/* Bit masks for SDH_CFG */
-
-#define CLKS_EN 0x1 /* Clocks Enable */
-#define nCLKS_EN 0x0
-#define SD4E 0x4 /* SDIO 4-Bit Enable */
-#define nSD4E 0x0
-#define MWE 0x8 /* Moving Window Enable */
-#define nMWE 0x0
-#define SD_RST 0x10 /* SDMMC Reset */
-#define nSD_RST 0x0
-#define PUP_SDDAT 0x20 /* Pull-up SD_DAT */
-#define nPUP_SDDAT 0x0
-#define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */
-#define nPUP_SDDAT3 0x0
-#define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */
-#define nPD_SDDAT3 0x0
-
-/* Bit masks for SDH_RD_WAIT_EN */
-
-#define RWR 0x1 /* Read Wait Request */
-#define nRWR 0x0
-
-/* Bit masks for ATAPI_CONTROL */
-
-#define PIO_START 0x1 /* Start PIO/Reg Op */
-#define nPIO_START 0x0
-#define MULTI_START 0x2 /* Start Multi-DMA Op */
-#define nMULTI_START 0x0
-#define ULTRA_START 0x4 /* Start Ultra-DMA Op */
-#define nULTRA_START 0x0
-#define XFER_DIR 0x8 /* Transfer Direction */
-#define nXFER_DIR 0x0
-#define IORDY_EN 0x10 /* IORDY Enable */
-#define nIORDY_EN 0x0
-#define FIFO_FLUSH 0x20 /* Flush FIFOs */
-#define nFIFO_FLUSH 0x0
-#define SOFT_RST 0x40 /* Soft Reset */
-#define nSOFT_RST 0x0
-#define DEV_RST 0x80 /* Device Reset */
-#define nDEV_RST 0x0
-#define TFRCNT_RST 0x100 /* Trans Count Reset */
-#define nTFRCNT_RST 0x0
-#define END_ON_TERM 0x200 /* End/Terminate Select */
-#define nEND_ON_TERM 0x0
-#define PIO_USE_DMA 0x400 /* PIO-DMA Enable */
-#define nPIO_USE_DMA 0x0
-#define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */
-
-/* Bit masks for ATAPI_STATUS */
-
-#define PIO_XFER_ON 0x1 /* PIO transfer in progress */
-#define nPIO_XFER_ON 0x0
-#define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */
-#define nMULTI_XFER_ON 0x0
-#define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */
-#define nULTRA_XFER_ON 0x0
-#define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */
-
-/* Bit masks for ATAPI_DEV_ADDR */
-
-#define DEV_ADDR 0x1f /* Device Address */
-
-/* Bit masks for ATAPI_INT_MASK */
-
-#define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */
-#define nATAPI_DEV_INT_MASK 0x0
-#define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */
-#define nPIO_DONE_MASK 0x0
-#define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */
-#define nMULTI_DONE_MASK 0x0
-#define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */
-#define nUDMAIN_DONE_MASK 0x0
-#define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */
-#define nUDMAOUT_DONE_MASK 0x0
-#define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */
-#define nHOST_TERM_XFER_MASK 0x0
-#define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */
-#define nMULTI_TERM_MASK 0x0
-#define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */
-#define nUDMAIN_TERM_MASK 0x0
-#define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */
-#define nUDMAOUT_TERM_MASK 0x0
-
-/* Bit masks for ATAPI_INT_STATUS */
-
-#define ATAPI_DEV_INT 0x1 /* Device interrupt status */
-#define nATAPI_DEV_INT 0x0
-#define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */
-#define nPIO_DONE_INT 0x0
-#define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */
-#define nMULTI_DONE_INT 0x0
-#define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */
-#define nUDMAIN_DONE_INT 0x0
-#define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */
-#define nUDMAOUT_DONE_INT 0x0
-#define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */
-#define nHOST_TERM_XFER_INT 0x0
-#define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */
-#define nMULTI_TERM_INT 0x0
-#define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */
-#define nUDMAIN_TERM_INT 0x0
-#define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */
-#define nUDMAOUT_TERM_INT 0x0
-
-/* Bit masks for ATAPI_LINE_STATUS */
-
-#define ATAPI_INTR 0x1 /* Device interrupt to host line status */
-#define nATAPI_INTR 0x0
-#define ATAPI_DASP 0x2 /* Device dasp to host line status */
-#define nATAPI_DASP 0x0
-#define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */
-#define nATAPI_CS0N 0x0
-#define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */
-#define nATAPI_CS1N 0x0
-#define ATAPI_ADDR 0x70 /* ATAPI address line status */
-#define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */
-#define nATAPI_DMAREQ 0x0
-#define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */
-#define nATAPI_DMAACKN 0x0
-#define ATAPI_DIOWN 0x200 /* ATAPI write line status */
-#define nATAPI_DIOWN 0x0
-#define ATAPI_DIORN 0x400 /* ATAPI read line status */
-#define nATAPI_DIORN 0x0
-#define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */
-#define nATAPI_IORDY 0x0
-
-/* Bit masks for ATAPI_SM_STATE */
-
-#define PIO_CSTATE 0xf /* PIO mode state machine current state */
-#define DMA_CSTATE 0xf0 /* DMA mode state machine current state */
-#define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */
-#define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */
-
-/* Bit masks for ATAPI_TERMINATE */
-
-#define ATAPI_HOST_TERM 0x1 /* Host terminationation */
-#define nATAPI_HOST_TERM 0x0
-
-/* Bit masks for ATAPI_REG_TIM_0 */
-
-#define T2_REG 0xff /* End of cycle time for register access transfers */
-#define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */
-
-/* Bit masks for ATAPI_PIO_TIM_0 */
-
-#define T1_REG 0xf /* Time from address valid to DIOR/DIOW */
-#define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */
-#define T4_REG 0xf000 /* DIOW data hold */
-
-/* Bit masks for ATAPI_PIO_TIM_1 */
-
-#define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */
-
-/* Bit masks for ATAPI_MULTI_TIM_0 */
-
-#define TD 0xff /* DIOR/DIOW asserted pulsewidth */
-#define TM 0xff00 /* Time from address valid to DIOR/DIOW */
-
-/* Bit masks for ATAPI_MULTI_TIM_1 */
-
-#define TKW 0xff /* Selects DIOW negated pulsewidth */
-#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
-
-/* Bit masks for ATAPI_MULTI_TIM_2 */
-
-#define TH 0xff /* Selects DIOW data hold */
-#define TEOC 0xff00 /* Selects end of cycle for DMA */
-
-/* Bit masks for ATAPI_ULTRA_TIM_0 */
-
-#define TACK 0xff /* Selects setup and hold times for TACK */
-#define TENV 0xff00 /* Selects envelope time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_1 */
-
-#define TDVS 0xff /* Selects data valid setup time */
-#define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_2 */
-
-#define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
-#define TMLI 0xff00 /* Selects interlock time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_3 */
-
-#define TZAH 0xff /* Selects minimum delay required for output */
-#define READY_PAUSE 0xff00 /* Selects ready to pause */
-
-/* Bit masks for TIMER_ENABLE1 */
-
-#define TIMEN8 0x1 /* Timer 8 Enable */
-#define nTIMEN8 0x0
-#define TIMEN9 0x2 /* Timer 9 Enable */
-#define nTIMEN9 0x0
-#define TIMEN10 0x4 /* Timer 10 Enable */
-#define nTIMEN10 0x0
-
-/* Bit masks for TIMER_DISABLE1 */
-
-#define TIMDIS8 0x1 /* Timer 8 Disable */
-#define nTIMDIS8 0x0
-#define TIMDIS9 0x2 /* Timer 9 Disable */
-#define nTIMDIS9 0x0
-#define TIMDIS10 0x4 /* Timer 10 Disable */
-#define nTIMDIS10 0x0
-
-/* Bit masks for TIMER_STATUS1 */
-
-#define TIMIL8 0x1 /* Timer 8 Interrupt */
-#define nTIMIL8 0x0
-#define TIMIL9 0x2 /* Timer 9 Interrupt */
-#define nTIMIL9 0x0
-#define TIMIL10 0x4 /* Timer 10 Interrupt */
-#define nTIMIL10 0x0
-#define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */
-#define nTOVF_ERR8 0x0
-#define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */
-#define nTOVF_ERR9 0x0
-#define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */
-#define nTOVF_ERR10 0x0
-#define TRUN8 0x1000 /* Timer 8 Slave Enable Status */
-#define nTRUN8 0x0
-#define TRUN9 0x2000 /* Timer 9 Slave Enable Status */
-#define nTRUN9 0x0
-#define TRUN10 0x4000 /* Timer 10 Slave Enable Status */
-#define nTRUN10 0x0
-
-/* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF548_H */
diff --git a/libgloss/bfin/include/defBF548M.h b/libgloss/bfin/include/defBF548M.h
deleted file mode 100644
index 4a09dca..0000000
--- a/libgloss/bfin/include/defBF548M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF548M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps directly onto the def file for BF548, unless
-** anything is required to change for the M derivative.
-**
-**/
-
-#ifndef _DEF_BF548M_H
-#define _DEF_BF548M_H
-
-#include <defBF548.h>
-
-#endif /* _DEF_BF548M_H */
diff --git a/libgloss/bfin/include/defBF549.h b/libgloss/bfin/include/defBF549.h
deleted file mode 100644
index 28e2664..0000000
--- a/libgloss/bfin/include/defBF549.h
+++ /dev/null
@@ -1,3476 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF549.h
-**
-** Copyright (C) 2006-2008 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for register-access and bit-manipulation.
-**
-**/
-#ifndef _DEF_BF549_H
-#define _DEF_BF549_H
-
-/* Include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#endif /* _MISRA_RULES */
-
-
-/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */
-
-/* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
-#include <defBF54x_base.h>
-
-/* The following are the #defines needed by ADSP-BF549 that are not in the common header */
-
-/* Timer Registers */
-
-#define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */
-#define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */
-#define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */
-#define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */
-#define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */
-#define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */
-#define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */
-#define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */
-#define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */
-#define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */
-#define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */
-#define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */
-
-/* Timer Group of 3 Registers */
-
-#define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */
-#define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */
-#define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */
-
-/* SPORT0 Registers */
-
-#define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */
-#define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */
-#define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */
-#define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */
-#define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */
-#define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */
-#define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */
-#define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */
-
-/* EPPI0 Registers */
-
-#define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */
-#define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */
-#define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */
-#define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */
-#define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */
-#define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */
-#define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */
-#define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */
-#define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */
-#define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */
-#define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */
-#define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */
-#define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */
-#define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */
-
-/* UART2 Registers */
-
-#define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */
-#define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */
-#define UART2_GCTL 0xffc02108 /* Global Control Register */
-#define UART2_LCR 0xffc0210c /* Line Control Register */
-#define UART2_MCR 0xffc02110 /* Modem Control Register */
-#define UART2_LSR 0xffc02114 /* Line Status Register */
-#define UART2_MSR 0xffc02118 /* Modem Status Register */
-#define UART2_SCR 0xffc0211c /* Scratch Register */
-#define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */
-#define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */
-#define UART2_THR 0xffc02128 /* Transmit Hold Register */
-#define UART2_RBR 0xffc0212c /* Receive Buffer Register */
-
-/* Two Wire Interface Registers (TWI1) */
-
-#define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */
-#define TWI1_CONTROL 0xffc02204 /* TWI Control Register */
-#define TWI1_SLAVE_CTL 0xffc02208 /* TWI Slave Mode Control Register */
-#define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */
-#define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */
-#define TWI1_MASTER_CTL 0xffc02214 /* TWI Master Mode Control Register */
-#define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */
-#define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */
-#define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */
-#define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */
-#define TWI1_FIFO_CTL 0xffc02228 /* TWI FIFO Control Register */
-#define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */
-#define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */
-#define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */
-#define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */
-#define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */
-
-/* SPI2 Registers */
-
-#define SPI2_CTL 0xffc02400 /* SPI2 Control Register */
-#define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */
-#define SPI2_STAT 0xffc02408 /* SPI2 Status Register */
-#define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */
-#define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */
-#define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */
-#define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */
-
-/* MXVR Registers */
-
-#define MXVR_CONFIG 0xffc02700 /* MXVR Configuration Register */
-#define MXVR_STATE_0 0xffc02708 /* MXVR State Register 0 */
-#define MXVR_STATE_1 0xffc0270c /* MXVR State Register 1 */
-#define MXVR_INT_STAT_0 0xffc02710 /* MXVR Interrupt Status Register 0 */
-#define MXVR_INT_STAT_1 0xffc02714 /* MXVR Interrupt Status Register 1 */
-#define MXVR_INT_EN_0 0xffc02718 /* MXVR Interrupt Enable Register 0 */
-#define MXVR_INT_EN_1 0xffc0271c /* MXVR Interrupt Enable Register 1 */
-#define MXVR_POSITION 0xffc02720 /* MXVR Node Position Register */
-#define MXVR_MAX_POSITION 0xffc02724 /* MXVR Maximum Node Position Register */
-#define MXVR_DELAY 0xffc02728 /* MXVR Node Frame Delay Register */
-#define MXVR_MAX_DELAY 0xffc0272c /* MXVR Maximum Node Frame Delay Register */
-#define MXVR_LADDR 0xffc02730 /* MXVR Logical Address Register */
-#define MXVR_GADDR 0xffc02734 /* MXVR Group Address Register */
-#define MXVR_AADDR 0xffc02738 /* MXVR Alternate Address Register */
-
-/* MXVR Allocation Table Registers */
-
-#define MXVR_ALLOC_0 0xffc0273c /* MXVR Allocation Table Register 0 */
-#define MXVR_ALLOC_1 0xffc02740 /* MXVR Allocation Table Register 1 */
-#define MXVR_ALLOC_2 0xffc02744 /* MXVR Allocation Table Register 2 */
-#define MXVR_ALLOC_3 0xffc02748 /* MXVR Allocation Table Register 3 */
-#define MXVR_ALLOC_4 0xffc0274c /* MXVR Allocation Table Register 4 */
-#define MXVR_ALLOC_5 0xffc02750 /* MXVR Allocation Table Register 5 */
-#define MXVR_ALLOC_6 0xffc02754 /* MXVR Allocation Table Register 6 */
-#define MXVR_ALLOC_7 0xffc02758 /* MXVR Allocation Table Register 7 */
-#define MXVR_ALLOC_8 0xffc0275c /* MXVR Allocation Table Register 8 */
-#define MXVR_ALLOC_9 0xffc02760 /* MXVR Allocation Table Register 9 */
-#define MXVR_ALLOC_10 0xffc02764 /* MXVR Allocation Table Register 10 */
-#define MXVR_ALLOC_11 0xffc02768 /* MXVR Allocation Table Register 11 */
-#define MXVR_ALLOC_12 0xffc0276c /* MXVR Allocation Table Register 12 */
-#define MXVR_ALLOC_13 0xffc02770 /* MXVR Allocation Table Register 13 */
-#define MXVR_ALLOC_14 0xffc02774 /* MXVR Allocation Table Register 14 */
-
-/* MXVR Channel Assign Registers */
-
-#define MXVR_SYNC_LCHAN_0 0xffc02778 /* MXVR Sync Data Logical Channel Assign Register 0 */
-#define MXVR_SYNC_LCHAN_1 0xffc0277c /* MXVR Sync Data Logical Channel Assign Register 1 */
-#define MXVR_SYNC_LCHAN_2 0xffc02780 /* MXVR Sync Data Logical Channel Assign Register 2 */
-#define MXVR_SYNC_LCHAN_3 0xffc02784 /* MXVR Sync Data Logical Channel Assign Register 3 */
-#define MXVR_SYNC_LCHAN_4 0xffc02788 /* MXVR Sync Data Logical Channel Assign Register 4 */
-#define MXVR_SYNC_LCHAN_5 0xffc0278c /* MXVR Sync Data Logical Channel Assign Register 5 */
-#define MXVR_SYNC_LCHAN_6 0xffc02790 /* MXVR Sync Data Logical Channel Assign Register 6 */
-#define MXVR_SYNC_LCHAN_7 0xffc02794 /* MXVR Sync Data Logical Channel Assign Register 7 */
-
-/* MXVR DMA0 Registers */
-
-#define MXVR_DMA0_CONFIG 0xffc02798 /* MXVR Sync Data DMA0 Config Register */
-#define MXVR_DMA0_START_ADDR 0xffc0279c /* MXVR Sync Data DMA0 Start Address */
-#define MXVR_DMA0_COUNT 0xffc027a0 /* MXVR Sync Data DMA0 Loop Count Register */
-#define MXVR_DMA0_CURR_ADDR 0xffc027a4 /* MXVR Sync Data DMA0 Current Address */
-#define MXVR_DMA0_CURR_COUNT 0xffc027a8 /* MXVR Sync Data DMA0 Current Loop Count */
-
-/* MXVR DMA1 Registers */
-
-#define MXVR_DMA1_CONFIG 0xffc027ac /* MXVR Sync Data DMA1 Config Register */
-#define MXVR_DMA1_START_ADDR 0xffc027b0 /* MXVR Sync Data DMA1 Start Address */
-#define MXVR_DMA1_COUNT 0xffc027b4 /* MXVR Sync Data DMA1 Loop Count Register */
-#define MXVR_DMA1_CURR_ADDR 0xffc027b8 /* MXVR Sync Data DMA1 Current Address */
-#define MXVR_DMA1_CURR_COUNT 0xffc027bc /* MXVR Sync Data DMA1 Current Loop Count */
-
-/* MXVR DMA2 Registers */
-
-#define MXVR_DMA2_CONFIG 0xffc027c0 /* MXVR Sync Data DMA2 Config Register */
-#define MXVR_DMA2_START_ADDR 0xffc027c4 /* MXVR Sync Data DMA2 Start Address */
-#define MXVR_DMA2_COUNT 0xffc027c8 /* MXVR Sync Data DMA2 Loop Count Register */
-#define MXVR_DMA2_CURR_ADDR 0xffc027cc /* MXVR Sync Data DMA2 Current Address */
-#define MXVR_DMA2_CURR_COUNT 0xffc027d0 /* MXVR Sync Data DMA2 Current Loop Count */
-
-/* MXVR DMA3 Registers */
-
-#define MXVR_DMA3_CONFIG 0xffc027d4 /* MXVR Sync Data DMA3 Config Register */
-#define MXVR_DMA3_START_ADDR 0xffc027d8 /* MXVR Sync Data DMA3 Start Address */
-#define MXVR_DMA3_COUNT 0xffc027dc /* MXVR Sync Data DMA3 Loop Count Register */
-#define MXVR_DMA3_CURR_ADDR 0xffc027e0 /* MXVR Sync Data DMA3 Current Address */
-#define MXVR_DMA3_CURR_COUNT 0xffc027e4 /* MXVR Sync Data DMA3 Current Loop Count */
-
-/* MXVR DMA4 Registers */
-
-#define MXVR_DMA4_CONFIG 0xffc027e8 /* MXVR Sync Data DMA4 Config Register */
-#define MXVR_DMA4_START_ADDR 0xffc027ec /* MXVR Sync Data DMA4 Start Address */
-#define MXVR_DMA4_COUNT 0xffc027f0 /* MXVR Sync Data DMA4 Loop Count Register */
-#define MXVR_DMA4_CURR_ADDR 0xffc027f4 /* MXVR Sync Data DMA4 Current Address */
-#define MXVR_DMA4_CURR_COUNT 0xffc027f8 /* MXVR Sync Data DMA4 Current Loop Count */
-
-/* MXVR DMA5 Registers */
-
-#define MXVR_DMA5_CONFIG 0xffc027fc /* MXVR Sync Data DMA5 Config Register */
-#define MXVR_DMA5_START_ADDR 0xffc02800 /* MXVR Sync Data DMA5 Start Address */
-#define MXVR_DMA5_COUNT 0xffc02804 /* MXVR Sync Data DMA5 Loop Count Register */
-#define MXVR_DMA5_CURR_ADDR 0xffc02808 /* MXVR Sync Data DMA5 Current Address */
-#define MXVR_DMA5_CURR_COUNT 0xffc0280c /* MXVR Sync Data DMA5 Current Loop Count */
-
-/* MXVR DMA6 Registers */
-
-#define MXVR_DMA6_CONFIG 0xffc02810 /* MXVR Sync Data DMA6 Config Register */
-#define MXVR_DMA6_START_ADDR 0xffc02814 /* MXVR Sync Data DMA6 Start Address */
-#define MXVR_DMA6_COUNT 0xffc02818 /* MXVR Sync Data DMA6 Loop Count Register */
-#define MXVR_DMA6_CURR_ADDR 0xffc0281c /* MXVR Sync Data DMA6 Current Address */
-#define MXVR_DMA6_CURR_COUNT 0xffc02820 /* MXVR Sync Data DMA6 Current Loop Count */
-
-/* MXVR DMA7 Registers */
-
-#define MXVR_DMA7_CONFIG 0xffc02824 /* MXVR Sync Data DMA7 Config Register */
-#define MXVR_DMA7_START_ADDR 0xffc02828 /* MXVR Sync Data DMA7 Start Address */
-#define MXVR_DMA7_COUNT 0xffc0282c /* MXVR Sync Data DMA7 Loop Count Register */
-#define MXVR_DMA7_CURR_ADDR 0xffc02830 /* MXVR Sync Data DMA7 Current Address */
-#define MXVR_DMA7_CURR_COUNT 0xffc02834 /* MXVR Sync Data DMA7 Current Loop Count */
-
-/* MXVR Asynch Packet Registers */
-
-#define MXVR_AP_CTL 0xffc02838 /* MXVR Async Packet Control Register */
-#define MXVR_APRB_START_ADDR 0xffc0283c /* MXVR Async Packet RX Buffer Start Addr Register */
-#define MXVR_APRB_CURR_ADDR 0xffc02840 /* MXVR Async Packet RX Buffer Current Addr Register */
-#define MXVR_APTB_START_ADDR 0xffc02844 /* MXVR Async Packet TX Buffer Start Addr Register */
-#define MXVR_APTB_CURR_ADDR 0xffc02848 /* MXVR Async Packet TX Buffer Current Addr Register */
-
-/* MXVR Control Message Registers */
-
-#define MXVR_CM_CTL 0xffc0284c /* MXVR Control Message Control Register */
-#define MXVR_CMRB_START_ADDR 0xffc02850 /* MXVR Control Message RX Buffer Start Addr Register */
-#define MXVR_CMRB_CURR_ADDR 0xffc02854 /* MXVR Control Message RX Buffer Current Address */
-#define MXVR_CMTB_START_ADDR 0xffc02858 /* MXVR Control Message TX Buffer Start Addr Register */
-#define MXVR_CMTB_CURR_ADDR 0xffc0285c /* MXVR Control Message TX Buffer Current Address */
-
-/* MXVR Remote Read Registers */
-
-#define MXVR_RRDB_START_ADDR 0xffc02860 /* MXVR Remote Read Buffer Start Addr Register */
-#define MXVR_RRDB_CURR_ADDR 0xffc02864 /* MXVR Remote Read Buffer Current Addr Register */
-
-/* MXVR Pattern Data Registers */
-
-#define MXVR_PAT_DATA_0 0xffc02868 /* MXVR Pattern Data Register 0 */
-#define MXVR_PAT_EN_0 0xffc0286c /* MXVR Pattern Enable Register 0 */
-#define MXVR_PAT_DATA_1 0xffc02870 /* MXVR Pattern Data Register 1 */
-#define MXVR_PAT_EN_1 0xffc02874 /* MXVR Pattern Enable Register 1 */
-
-/* MXVR Frame Counter Registers */
-
-#define MXVR_FRAME_CNT_0 0xffc02878 /* MXVR Frame Counter 0 */
-#define MXVR_FRAME_CNT_1 0xffc0287c /* MXVR Frame Counter 1 */
-
-/* MXVR Routing Table Registers */
-
-#define MXVR_ROUTING_0 0xffc02880 /* MXVR Routing Table Register 0 */
-#define MXVR_ROUTING_1 0xffc02884 /* MXVR Routing Table Register 1 */
-#define MXVR_ROUTING_2 0xffc02888 /* MXVR Routing Table Register 2 */
-#define MXVR_ROUTING_3 0xffc0288c /* MXVR Routing Table Register 3 */
-#define MXVR_ROUTING_4 0xffc02890 /* MXVR Routing Table Register 4 */
-#define MXVR_ROUTING_5 0xffc02894 /* MXVR Routing Table Register 5 */
-#define MXVR_ROUTING_6 0xffc02898 /* MXVR Routing Table Register 6 */
-#define MXVR_ROUTING_7 0xffc0289c /* MXVR Routing Table Register 7 */
-#define MXVR_ROUTING_8 0xffc028a0 /* MXVR Routing Table Register 8 */
-#define MXVR_ROUTING_9 0xffc028a4 /* MXVR Routing Table Register 9 */
-#define MXVR_ROUTING_10 0xffc028a8 /* MXVR Routing Table Register 10 */
-#define MXVR_ROUTING_11 0xffc028ac /* MXVR Routing Table Register 11 */
-#define MXVR_ROUTING_12 0xffc028b0 /* MXVR Routing Table Register 12 */
-#define MXVR_ROUTING_13 0xffc028b4 /* MXVR Routing Table Register 13 */
-#define MXVR_ROUTING_14 0xffc028b8 /* MXVR Routing Table Register 14 */
-
-/* MXVR Counter-Clock-Control Registers */
-
-#define MXVR_BLOCK_CNT 0xffc028c0 /* MXVR Block Counter */
-#define MXVR_CLK_CTL 0xffc028d0 /* MXVR Clock Control Register */
-#define MXVR_CDRPLL_CTL 0xffc028d4 /* MXVR Clock/Data Recovery PLL Control Register */
-#define MXVR_FMPLL_CTL 0xffc028d8 /* MXVR Frequency Multiply PLL Control Register */
-#define MXVR_PIN_CTL 0xffc028dc /* MXVR Pin Control Register */
-#define MXVR_SCLK_CNT 0xffc028e0 /* MXVR System Clock Counter Register */
-
-/* CAN Controller 1 Config 1 Registers */
-
-#define CAN1_MC1 0xffc03200 /* CAN Controller 1 Mailbox Configuration Register 1 */
-#define CAN1_MD1 0xffc03204 /* CAN Controller 1 Mailbox Direction Register 1 */
-#define CAN1_TRS1 0xffc03208 /* CAN Controller 1 Transmit Request Set Register 1 */
-#define CAN1_TRR1 0xffc0320c /* CAN Controller 1 Transmit Request Reset Register 1 */
-#define CAN1_TA1 0xffc03210 /* CAN Controller 1 Transmit Acknowledge Register 1 */
-#define CAN1_AA1 0xffc03214 /* CAN Controller 1 Abort Acknowledge Register 1 */
-#define CAN1_RMP1 0xffc03218 /* CAN Controller 1 Receive Message Pending Register 1 */
-#define CAN1_RML1 0xffc0321c /* CAN Controller 1 Receive Message Lost Register 1 */
-#define CAN1_MBTIF1 0xffc03220 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 1 */
-#define CAN1_MBRIF1 0xffc03224 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 1 */
-#define CAN1_MBIM1 0xffc03228 /* CAN Controller 1 Mailbox Interrupt Mask Register 1 */
-#define CAN1_RFH1 0xffc0322c /* CAN Controller 1 Remote Frame Handling Enable Register 1 */
-#define CAN1_OPSS1 0xffc03230 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 1 */
-
-/* CAN Controller 1 Config 2 Registers */
-
-#define CAN1_MC2 0xffc03240 /* CAN Controller 1 Mailbox Configuration Register 2 */
-#define CAN1_MD2 0xffc03244 /* CAN Controller 1 Mailbox Direction Register 2 */
-#define CAN1_TRS2 0xffc03248 /* CAN Controller 1 Transmit Request Set Register 2 */
-#define CAN1_TRR2 0xffc0324c /* CAN Controller 1 Transmit Request Reset Register 2 */
-#define CAN1_TA2 0xffc03250 /* CAN Controller 1 Transmit Acknowledge Register 2 */
-#define CAN1_AA2 0xffc03254 /* CAN Controller 1 Abort Acknowledge Register 2 */
-#define CAN1_RMP2 0xffc03258 /* CAN Controller 1 Receive Message Pending Register 2 */
-#define CAN1_RML2 0xffc0325c /* CAN Controller 1 Receive Message Lost Register 2 */
-#define CAN1_MBTIF2 0xffc03260 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 2 */
-#define CAN1_MBRIF2 0xffc03264 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 2 */
-#define CAN1_MBIM2 0xffc03268 /* CAN Controller 1 Mailbox Interrupt Mask Register 2 */
-#define CAN1_RFH2 0xffc0326c /* CAN Controller 1 Remote Frame Handling Enable Register 2 */
-#define CAN1_OPSS2 0xffc03270 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 2 */
-
-/* CAN Controller 1 Clock/Interrupt/Counter Registers */
-
-#define CAN1_CLOCK 0xffc03280 /* CAN Controller 1 Clock Register */
-#define CAN1_TIMING 0xffc03284 /* CAN Controller 1 Timing Register */
-#define CAN1_DEBUG 0xffc03288 /* CAN Controller 1 Debug Register */
-#define CAN1_STATUS 0xffc0328c /* CAN Controller 1 Global Status Register */
-#define CAN1_CEC 0xffc03290 /* CAN Controller 1 Error Counter Register */
-#define CAN1_GIS 0xffc03294 /* CAN Controller 1 Global Interrupt Status Register */
-#define CAN1_GIM 0xffc03298 /* CAN Controller 1 Global Interrupt Mask Register */
-#define CAN1_GIF 0xffc0329c /* CAN Controller 1 Global Interrupt Flag Register */
-#define CAN1_CONTROL 0xffc032a0 /* CAN Controller 1 Master Control Register */
-#define CAN1_INTR 0xffc032a4 /* CAN Controller 1 Interrupt Pending Register */
-#define CAN1_MBTD 0xffc032ac /* CAN Controller 1 Mailbox Temporary Disable Register */
-#define CAN1_EWR 0xffc032b0 /* CAN Controller 1 Programmable Warning Level Register */
-#define CAN1_ESR 0xffc032b4 /* CAN Controller 1 Error Status Register */
-#define CAN1_UCCNT 0xffc032c4 /* CAN Controller 1 Universal Counter Register */
-#define CAN1_UCRC 0xffc032c8 /* Universal Counter Reload/Capture Register */
-#define CAN1_UCCNF 0xffc032cc /* CAN Controller 1 Universal Counter Configuration Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM00L 0xffc03300 /* CAN Controller 1 Mailbox 0 Acceptance Mask High Register */
-#define CAN1_AM00H 0xffc03304 /* CAN Controller 1 Mailbox 0 Acceptance Mask Low Register */
-#define CAN1_AM01L 0xffc03308 /* CAN Controller 1 Mailbox 1 Acceptance Mask High Register */
-#define CAN1_AM01H 0xffc0330c /* CAN Controller 1 Mailbox 1 Acceptance Mask Low Register */
-#define CAN1_AM02L 0xffc03310 /* CAN Controller 1 Mailbox 2 Acceptance Mask High Register */
-#define CAN1_AM02H 0xffc03314 /* CAN Controller 1 Mailbox 2 Acceptance Mask Low Register */
-#define CAN1_AM03L 0xffc03318 /* CAN Controller 1 Mailbox 3 Acceptance Mask High Register */
-#define CAN1_AM03H 0xffc0331c /* CAN Controller 1 Mailbox 3 Acceptance Mask Low Register */
-#define CAN1_AM04L 0xffc03320 /* CAN Controller 1 Mailbox 4 Acceptance Mask High Register */
-#define CAN1_AM04H 0xffc03324 /* CAN Controller 1 Mailbox 4 Acceptance Mask Low Register */
-#define CAN1_AM05L 0xffc03328 /* CAN Controller 1 Mailbox 5 Acceptance Mask High Register */
-#define CAN1_AM05H 0xffc0332c /* CAN Controller 1 Mailbox 5 Acceptance Mask Low Register */
-#define CAN1_AM06L 0xffc03330 /* CAN Controller 1 Mailbox 6 Acceptance Mask High Register */
-#define CAN1_AM06H 0xffc03334 /* CAN Controller 1 Mailbox 6 Acceptance Mask Low Register */
-#define CAN1_AM07L 0xffc03338 /* CAN Controller 1 Mailbox 7 Acceptance Mask High Register */
-#define CAN1_AM07H 0xffc0333c /* CAN Controller 1 Mailbox 7 Acceptance Mask Low Register */
-#define CAN1_AM08L 0xffc03340 /* CAN Controller 1 Mailbox 8 Acceptance Mask High Register */
-#define CAN1_AM08H 0xffc03344 /* CAN Controller 1 Mailbox 8 Acceptance Mask Low Register */
-#define CAN1_AM09L 0xffc03348 /* CAN Controller 1 Mailbox 9 Acceptance Mask High Register */
-#define CAN1_AM09H 0xffc0334c /* CAN Controller 1 Mailbox 9 Acceptance Mask Low Register */
-#define CAN1_AM10L 0xffc03350 /* CAN Controller 1 Mailbox 10 Acceptance Mask High Register */
-#define CAN1_AM10H 0xffc03354 /* CAN Controller 1 Mailbox 10 Acceptance Mask Low Register */
-#define CAN1_AM11L 0xffc03358 /* CAN Controller 1 Mailbox 11 Acceptance Mask High Register */
-#define CAN1_AM11H 0xffc0335c /* CAN Controller 1 Mailbox 11 Acceptance Mask Low Register */
-#define CAN1_AM12L 0xffc03360 /* CAN Controller 1 Mailbox 12 Acceptance Mask High Register */
-#define CAN1_AM12H 0xffc03364 /* CAN Controller 1 Mailbox 12 Acceptance Mask Low Register */
-#define CAN1_AM13L 0xffc03368 /* CAN Controller 1 Mailbox 13 Acceptance Mask High Register */
-#define CAN1_AM13H 0xffc0336c /* CAN Controller 1 Mailbox 13 Acceptance Mask Low Register */
-#define CAN1_AM14L 0xffc03370 /* CAN Controller 1 Mailbox 14 Acceptance Mask High Register */
-#define CAN1_AM14H 0xffc03374 /* CAN Controller 1 Mailbox 14 Acceptance Mask Low Register */
-#define CAN1_AM15L 0xffc03378 /* CAN Controller 1 Mailbox 15 Acceptance Mask High Register */
-#define CAN1_AM15H 0xffc0337c /* CAN Controller 1 Mailbox 15 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Acceptance Registers */
-
-#define CAN1_AM16L 0xffc03380 /* CAN Controller 1 Mailbox 16 Acceptance Mask High Register */
-#define CAN1_AM16H 0xffc03384 /* CAN Controller 1 Mailbox 16 Acceptance Mask Low Register */
-#define CAN1_AM17L 0xffc03388 /* CAN Controller 1 Mailbox 17 Acceptance Mask High Register */
-#define CAN1_AM17H 0xffc0338c /* CAN Controller 1 Mailbox 17 Acceptance Mask Low Register */
-#define CAN1_AM18L 0xffc03390 /* CAN Controller 1 Mailbox 18 Acceptance Mask High Register */
-#define CAN1_AM18H 0xffc03394 /* CAN Controller 1 Mailbox 18 Acceptance Mask Low Register */
-#define CAN1_AM19L 0xffc03398 /* CAN Controller 1 Mailbox 19 Acceptance Mask High Register */
-#define CAN1_AM19H 0xffc0339c /* CAN Controller 1 Mailbox 19 Acceptance Mask Low Register */
-#define CAN1_AM20L 0xffc033a0 /* CAN Controller 1 Mailbox 20 Acceptance Mask High Register */
-#define CAN1_AM20H 0xffc033a4 /* CAN Controller 1 Mailbox 20 Acceptance Mask Low Register */
-#define CAN1_AM21L 0xffc033a8 /* CAN Controller 1 Mailbox 21 Acceptance Mask High Register */
-#define CAN1_AM21H 0xffc033ac /* CAN Controller 1 Mailbox 21 Acceptance Mask Low Register */
-#define CAN1_AM22L 0xffc033b0 /* CAN Controller 1 Mailbox 22 Acceptance Mask High Register */
-#define CAN1_AM22H 0xffc033b4 /* CAN Controller 1 Mailbox 22 Acceptance Mask Low Register */
-#define CAN1_AM23L 0xffc033b8 /* CAN Controller 1 Mailbox 23 Acceptance Mask High Register */
-#define CAN1_AM23H 0xffc033bc /* CAN Controller 1 Mailbox 23 Acceptance Mask Low Register */
-#define CAN1_AM24L 0xffc033c0 /* CAN Controller 1 Mailbox 24 Acceptance Mask High Register */
-#define CAN1_AM24H 0xffc033c4 /* CAN Controller 1 Mailbox 24 Acceptance Mask Low Register */
-#define CAN1_AM25L 0xffc033c8 /* CAN Controller 1 Mailbox 25 Acceptance Mask High Register */
-#define CAN1_AM25H 0xffc033cc /* CAN Controller 1 Mailbox 25 Acceptance Mask Low Register */
-#define CAN1_AM26L 0xffc033d0 /* CAN Controller 1 Mailbox 26 Acceptance Mask High Register */
-#define CAN1_AM26H 0xffc033d4 /* CAN Controller 1 Mailbox 26 Acceptance Mask Low Register */
-#define CAN1_AM27L 0xffc033d8 /* CAN Controller 1 Mailbox 27 Acceptance Mask High Register */
-#define CAN1_AM27H 0xffc033dc /* CAN Controller 1 Mailbox 27 Acceptance Mask Low Register */
-#define CAN1_AM28L 0xffc033e0 /* CAN Controller 1 Mailbox 28 Acceptance Mask High Register */
-#define CAN1_AM28H 0xffc033e4 /* CAN Controller 1 Mailbox 28 Acceptance Mask Low Register */
-#define CAN1_AM29L 0xffc033e8 /* CAN Controller 1 Mailbox 29 Acceptance Mask High Register */
-#define CAN1_AM29H 0xffc033ec /* CAN Controller 1 Mailbox 29 Acceptance Mask Low Register */
-#define CAN1_AM30L 0xffc033f0 /* CAN Controller 1 Mailbox 30 Acceptance Mask High Register */
-#define CAN1_AM30H 0xffc033f4 /* CAN Controller 1 Mailbox 30 Acceptance Mask Low Register */
-#define CAN1_AM31L 0xffc033f8 /* CAN Controller 1 Mailbox 31 Acceptance Mask High Register */
-#define CAN1_AM31H 0xffc033fc /* CAN Controller 1 Mailbox 31 Acceptance Mask Low Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB00_DATA0 0xffc03400 /* CAN Controller 1 Mailbox 0 Data 0 Register */
-#define CAN1_MB00_DATA1 0xffc03404 /* CAN Controller 1 Mailbox 0 Data 1 Register */
-#define CAN1_MB00_DATA2 0xffc03408 /* CAN Controller 1 Mailbox 0 Data 2 Register */
-#define CAN1_MB00_DATA3 0xffc0340c /* CAN Controller 1 Mailbox 0 Data 3 Register */
-#define CAN1_MB00_LENGTH 0xffc03410 /* CAN Controller 1 Mailbox 0 Length Register */
-#define CAN1_MB00_TIMESTAMP 0xffc03414 /* CAN Controller 1 Mailbox 0 Timestamp Register */
-#define CAN1_MB00_ID0 0xffc03418 /* CAN Controller 1 Mailbox 0 ID0 Register */
-#define CAN1_MB00_ID1 0xffc0341c /* CAN Controller 1 Mailbox 0 ID1 Register */
-#define CAN1_MB01_DATA0 0xffc03420 /* CAN Controller 1 Mailbox 1 Data 0 Register */
-#define CAN1_MB01_DATA1 0xffc03424 /* CAN Controller 1 Mailbox 1 Data 1 Register */
-#define CAN1_MB01_DATA2 0xffc03428 /* CAN Controller 1 Mailbox 1 Data 2 Register */
-#define CAN1_MB01_DATA3 0xffc0342c /* CAN Controller 1 Mailbox 1 Data 3 Register */
-#define CAN1_MB01_LENGTH 0xffc03430 /* CAN Controller 1 Mailbox 1 Length Register */
-#define CAN1_MB01_TIMESTAMP 0xffc03434 /* CAN Controller 1 Mailbox 1 Timestamp Register */
-#define CAN1_MB01_ID0 0xffc03438 /* CAN Controller 1 Mailbox 1 ID0 Register */
-#define CAN1_MB01_ID1 0xffc0343c /* CAN Controller 1 Mailbox 1 ID1 Register */
-#define CAN1_MB02_DATA0 0xffc03440 /* CAN Controller 1 Mailbox 2 Data 0 Register */
-#define CAN1_MB02_DATA1 0xffc03444 /* CAN Controller 1 Mailbox 2 Data 1 Register */
-#define CAN1_MB02_DATA2 0xffc03448 /* CAN Controller 1 Mailbox 2 Data 2 Register */
-#define CAN1_MB02_DATA3 0xffc0344c /* CAN Controller 1 Mailbox 2 Data 3 Register */
-#define CAN1_MB02_LENGTH 0xffc03450 /* CAN Controller 1 Mailbox 2 Length Register */
-#define CAN1_MB02_TIMESTAMP 0xffc03454 /* CAN Controller 1 Mailbox 2 Timestamp Register */
-#define CAN1_MB02_ID0 0xffc03458 /* CAN Controller 1 Mailbox 2 ID0 Register */
-#define CAN1_MB02_ID1 0xffc0345c /* CAN Controller 1 Mailbox 2 ID1 Register */
-#define CAN1_MB03_DATA0 0xffc03460 /* CAN Controller 1 Mailbox 3 Data 0 Register */
-#define CAN1_MB03_DATA1 0xffc03464 /* CAN Controller 1 Mailbox 3 Data 1 Register */
-#define CAN1_MB03_DATA2 0xffc03468 /* CAN Controller 1 Mailbox 3 Data 2 Register */
-#define CAN1_MB03_DATA3 0xffc0346c /* CAN Controller 1 Mailbox 3 Data 3 Register */
-#define CAN1_MB03_LENGTH 0xffc03470 /* CAN Controller 1 Mailbox 3 Length Register */
-#define CAN1_MB03_TIMESTAMP 0xffc03474 /* CAN Controller 1 Mailbox 3 Timestamp Register */
-#define CAN1_MB03_ID0 0xffc03478 /* CAN Controller 1 Mailbox 3 ID0 Register */
-#define CAN1_MB03_ID1 0xffc0347c /* CAN Controller 1 Mailbox 3 ID1 Register */
-#define CAN1_MB04_DATA0 0xffc03480 /* CAN Controller 1 Mailbox 4 Data 0 Register */
-#define CAN1_MB04_DATA1 0xffc03484 /* CAN Controller 1 Mailbox 4 Data 1 Register */
-#define CAN1_MB04_DATA2 0xffc03488 /* CAN Controller 1 Mailbox 4 Data 2 Register */
-#define CAN1_MB04_DATA3 0xffc0348c /* CAN Controller 1 Mailbox 4 Data 3 Register */
-#define CAN1_MB04_LENGTH 0xffc03490 /* CAN Controller 1 Mailbox 4 Length Register */
-#define CAN1_MB04_TIMESTAMP 0xffc03494 /* CAN Controller 1 Mailbox 4 Timestamp Register */
-#define CAN1_MB04_ID0 0xffc03498 /* CAN Controller 1 Mailbox 4 ID0 Register */
-#define CAN1_MB04_ID1 0xffc0349c /* CAN Controller 1 Mailbox 4 ID1 Register */
-#define CAN1_MB05_DATA0 0xffc034a0 /* CAN Controller 1 Mailbox 5 Data 0 Register */
-#define CAN1_MB05_DATA1 0xffc034a4 /* CAN Controller 1 Mailbox 5 Data 1 Register */
-#define CAN1_MB05_DATA2 0xffc034a8 /* CAN Controller 1 Mailbox 5 Data 2 Register */
-#define CAN1_MB05_DATA3 0xffc034ac /* CAN Controller 1 Mailbox 5 Data 3 Register */
-#define CAN1_MB05_LENGTH 0xffc034b0 /* CAN Controller 1 Mailbox 5 Length Register */
-#define CAN1_MB05_TIMESTAMP 0xffc034b4 /* CAN Controller 1 Mailbox 5 Timestamp Register */
-#define CAN1_MB05_ID0 0xffc034b8 /* CAN Controller 1 Mailbox 5 ID0 Register */
-#define CAN1_MB05_ID1 0xffc034bc /* CAN Controller 1 Mailbox 5 ID1 Register */
-#define CAN1_MB06_DATA0 0xffc034c0 /* CAN Controller 1 Mailbox 6 Data 0 Register */
-#define CAN1_MB06_DATA1 0xffc034c4 /* CAN Controller 1 Mailbox 6 Data 1 Register */
-#define CAN1_MB06_DATA2 0xffc034c8 /* CAN Controller 1 Mailbox 6 Data 2 Register */
-#define CAN1_MB06_DATA3 0xffc034cc /* CAN Controller 1 Mailbox 6 Data 3 Register */
-#define CAN1_MB06_LENGTH 0xffc034d0 /* CAN Controller 1 Mailbox 6 Length Register */
-#define CAN1_MB06_TIMESTAMP 0xffc034d4 /* CAN Controller 1 Mailbox 6 Timestamp Register */
-#define CAN1_MB06_ID0 0xffc034d8 /* CAN Controller 1 Mailbox 6 ID0 Register */
-#define CAN1_MB06_ID1 0xffc034dc /* CAN Controller 1 Mailbox 6 ID1 Register */
-#define CAN1_MB07_DATA0 0xffc034e0 /* CAN Controller 1 Mailbox 7 Data 0 Register */
-#define CAN1_MB07_DATA1 0xffc034e4 /* CAN Controller 1 Mailbox 7 Data 1 Register */
-#define CAN1_MB07_DATA2 0xffc034e8 /* CAN Controller 1 Mailbox 7 Data 2 Register */
-#define CAN1_MB07_DATA3 0xffc034ec /* CAN Controller 1 Mailbox 7 Data 3 Register */
-#define CAN1_MB07_LENGTH 0xffc034f0 /* CAN Controller 1 Mailbox 7 Length Register */
-#define CAN1_MB07_TIMESTAMP 0xffc034f4 /* CAN Controller 1 Mailbox 7 Timestamp Register */
-#define CAN1_MB07_ID0 0xffc034f8 /* CAN Controller 1 Mailbox 7 ID0 Register */
-#define CAN1_MB07_ID1 0xffc034fc /* CAN Controller 1 Mailbox 7 ID1 Register */
-#define CAN1_MB08_DATA0 0xffc03500 /* CAN Controller 1 Mailbox 8 Data 0 Register */
-#define CAN1_MB08_DATA1 0xffc03504 /* CAN Controller 1 Mailbox 8 Data 1 Register */
-#define CAN1_MB08_DATA2 0xffc03508 /* CAN Controller 1 Mailbox 8 Data 2 Register */
-#define CAN1_MB08_DATA3 0xffc0350c /* CAN Controller 1 Mailbox 8 Data 3 Register */
-#define CAN1_MB08_LENGTH 0xffc03510 /* CAN Controller 1 Mailbox 8 Length Register */
-#define CAN1_MB08_TIMESTAMP 0xffc03514 /* CAN Controller 1 Mailbox 8 Timestamp Register */
-#define CAN1_MB08_ID0 0xffc03518 /* CAN Controller 1 Mailbox 8 ID0 Register */
-#define CAN1_MB08_ID1 0xffc0351c /* CAN Controller 1 Mailbox 8 ID1 Register */
-#define CAN1_MB09_DATA0 0xffc03520 /* CAN Controller 1 Mailbox 9 Data 0 Register */
-#define CAN1_MB09_DATA1 0xffc03524 /* CAN Controller 1 Mailbox 9 Data 1 Register */
-#define CAN1_MB09_DATA2 0xffc03528 /* CAN Controller 1 Mailbox 9 Data 2 Register */
-#define CAN1_MB09_DATA3 0xffc0352c /* CAN Controller 1 Mailbox 9 Data 3 Register */
-#define CAN1_MB09_LENGTH 0xffc03530 /* CAN Controller 1 Mailbox 9 Length Register */
-#define CAN1_MB09_TIMESTAMP 0xffc03534 /* CAN Controller 1 Mailbox 9 Timestamp Register */
-#define CAN1_MB09_ID0 0xffc03538 /* CAN Controller 1 Mailbox 9 ID0 Register */
-#define CAN1_MB09_ID1 0xffc0353c /* CAN Controller 1 Mailbox 9 ID1 Register */
-#define CAN1_MB10_DATA0 0xffc03540 /* CAN Controller 1 Mailbox 10 Data 0 Register */
-#define CAN1_MB10_DATA1 0xffc03544 /* CAN Controller 1 Mailbox 10 Data 1 Register */
-#define CAN1_MB10_DATA2 0xffc03548 /* CAN Controller 1 Mailbox 10 Data 2 Register */
-#define CAN1_MB10_DATA3 0xffc0354c /* CAN Controller 1 Mailbox 10 Data 3 Register */
-#define CAN1_MB10_LENGTH 0xffc03550 /* CAN Controller 1 Mailbox 10 Length Register */
-#define CAN1_MB10_TIMESTAMP 0xffc03554 /* CAN Controller 1 Mailbox 10 Timestamp Register */
-#define CAN1_MB10_ID0 0xffc03558 /* CAN Controller 1 Mailbox 10 ID0 Register */
-#define CAN1_MB10_ID1 0xffc0355c /* CAN Controller 1 Mailbox 10 ID1 Register */
-#define CAN1_MB11_DATA0 0xffc03560 /* CAN Controller 1 Mailbox 11 Data 0 Register */
-#define CAN1_MB11_DATA1 0xffc03564 /* CAN Controller 1 Mailbox 11 Data 1 Register */
-#define CAN1_MB11_DATA2 0xffc03568 /* CAN Controller 1 Mailbox 11 Data 2 Register */
-#define CAN1_MB11_DATA3 0xffc0356c /* CAN Controller 1 Mailbox 11 Data 3 Register */
-#define CAN1_MB11_LENGTH 0xffc03570 /* CAN Controller 1 Mailbox 11 Length Register */
-#define CAN1_MB11_TIMESTAMP 0xffc03574 /* CAN Controller 1 Mailbox 11 Timestamp Register */
-#define CAN1_MB11_ID0 0xffc03578 /* CAN Controller 1 Mailbox 11 ID0 Register */
-#define CAN1_MB11_ID1 0xffc0357c /* CAN Controller 1 Mailbox 11 ID1 Register */
-#define CAN1_MB12_DATA0 0xffc03580 /* CAN Controller 1 Mailbox 12 Data 0 Register */
-#define CAN1_MB12_DATA1 0xffc03584 /* CAN Controller 1 Mailbox 12 Data 1 Register */
-#define CAN1_MB12_DATA2 0xffc03588 /* CAN Controller 1 Mailbox 12 Data 2 Register */
-#define CAN1_MB12_DATA3 0xffc0358c /* CAN Controller 1 Mailbox 12 Data 3 Register */
-#define CAN1_MB12_LENGTH 0xffc03590 /* CAN Controller 1 Mailbox 12 Length Register */
-#define CAN1_MB12_TIMESTAMP 0xffc03594 /* CAN Controller 1 Mailbox 12 Timestamp Register */
-#define CAN1_MB12_ID0 0xffc03598 /* CAN Controller 1 Mailbox 12 ID0 Register */
-#define CAN1_MB12_ID1 0xffc0359c /* CAN Controller 1 Mailbox 12 ID1 Register */
-#define CAN1_MB13_DATA0 0xffc035a0 /* CAN Controller 1 Mailbox 13 Data 0 Register */
-#define CAN1_MB13_DATA1 0xffc035a4 /* CAN Controller 1 Mailbox 13 Data 1 Register */
-#define CAN1_MB13_DATA2 0xffc035a8 /* CAN Controller 1 Mailbox 13 Data 2 Register */
-#define CAN1_MB13_DATA3 0xffc035ac /* CAN Controller 1 Mailbox 13 Data 3 Register */
-#define CAN1_MB13_LENGTH 0xffc035b0 /* CAN Controller 1 Mailbox 13 Length Register */
-#define CAN1_MB13_TIMESTAMP 0xffc035b4 /* CAN Controller 1 Mailbox 13 Timestamp Register */
-#define CAN1_MB13_ID0 0xffc035b8 /* CAN Controller 1 Mailbox 13 ID0 Register */
-#define CAN1_MB13_ID1 0xffc035bc /* CAN Controller 1 Mailbox 13 ID1 Register */
-#define CAN1_MB14_DATA0 0xffc035c0 /* CAN Controller 1 Mailbox 14 Data 0 Register */
-#define CAN1_MB14_DATA1 0xffc035c4 /* CAN Controller 1 Mailbox 14 Data 1 Register */
-#define CAN1_MB14_DATA2 0xffc035c8 /* CAN Controller 1 Mailbox 14 Data 2 Register */
-#define CAN1_MB14_DATA3 0xffc035cc /* CAN Controller 1 Mailbox 14 Data 3 Register */
-#define CAN1_MB14_LENGTH 0xffc035d0 /* CAN Controller 1 Mailbox 14 Length Register */
-#define CAN1_MB14_TIMESTAMP 0xffc035d4 /* CAN Controller 1 Mailbox 14 Timestamp Register */
-#define CAN1_MB14_ID0 0xffc035d8 /* CAN Controller 1 Mailbox 14 ID0 Register */
-#define CAN1_MB14_ID1 0xffc035dc /* CAN Controller 1 Mailbox 14 ID1 Register */
-#define CAN1_MB15_DATA0 0xffc035e0 /* CAN Controller 1 Mailbox 15 Data 0 Register */
-#define CAN1_MB15_DATA1 0xffc035e4 /* CAN Controller 1 Mailbox 15 Data 1 Register */
-#define CAN1_MB15_DATA2 0xffc035e8 /* CAN Controller 1 Mailbox 15 Data 2 Register */
-#define CAN1_MB15_DATA3 0xffc035ec /* CAN Controller 1 Mailbox 15 Data 3 Register */
-#define CAN1_MB15_LENGTH 0xffc035f0 /* CAN Controller 1 Mailbox 15 Length Register */
-#define CAN1_MB15_TIMESTAMP 0xffc035f4 /* CAN Controller 1 Mailbox 15 Timestamp Register */
-#define CAN1_MB15_ID0 0xffc035f8 /* CAN Controller 1 Mailbox 15 ID0 Register */
-#define CAN1_MB15_ID1 0xffc035fc /* CAN Controller 1 Mailbox 15 ID1 Register */
-
-/* CAN Controller 1 Mailbox Data Registers */
-
-#define CAN1_MB16_DATA0 0xffc03600 /* CAN Controller 1 Mailbox 16 Data 0 Register */
-#define CAN1_MB16_DATA1 0xffc03604 /* CAN Controller 1 Mailbox 16 Data 1 Register */
-#define CAN1_MB16_DATA2 0xffc03608 /* CAN Controller 1 Mailbox 16 Data 2 Register */
-#define CAN1_MB16_DATA3 0xffc0360c /* CAN Controller 1 Mailbox 16 Data 3 Register */
-#define CAN1_MB16_LENGTH 0xffc03610 /* CAN Controller 1 Mailbox 16 Length Register */
-#define CAN1_MB16_TIMESTAMP 0xffc03614 /* CAN Controller 1 Mailbox 16 Timestamp Register */
-#define CAN1_MB16_ID0 0xffc03618 /* CAN Controller 1 Mailbox 16 ID0 Register */
-#define CAN1_MB16_ID1 0xffc0361c /* CAN Controller 1 Mailbox 16 ID1 Register */
-#define CAN1_MB17_DATA0 0xffc03620 /* CAN Controller 1 Mailbox 17 Data 0 Register */
-#define CAN1_MB17_DATA1 0xffc03624 /* CAN Controller 1 Mailbox 17 Data 1 Register */
-#define CAN1_MB17_DATA2 0xffc03628 /* CAN Controller 1 Mailbox 17 Data 2 Register */
-#define CAN1_MB17_DATA3 0xffc0362c /* CAN Controller 1 Mailbox 17 Data 3 Register */
-#define CAN1_MB17_LENGTH 0xffc03630 /* CAN Controller 1 Mailbox 17 Length Register */
-#define CAN1_MB17_TIMESTAMP 0xffc03634 /* CAN Controller 1 Mailbox 17 Timestamp Register */
-#define CAN1_MB17_ID0 0xffc03638 /* CAN Controller 1 Mailbox 17 ID0 Register */
-#define CAN1_MB17_ID1 0xffc0363c /* CAN Controller 1 Mailbox 17 ID1 Register */
-#define CAN1_MB18_DATA0 0xffc03640 /* CAN Controller 1 Mailbox 18 Data 0 Register */
-#define CAN1_MB18_DATA1 0xffc03644 /* CAN Controller 1 Mailbox 18 Data 1 Register */
-#define CAN1_MB18_DATA2 0xffc03648 /* CAN Controller 1 Mailbox 18 Data 2 Register */
-#define CAN1_MB18_DATA3 0xffc0364c /* CAN Controller 1 Mailbox 18 Data 3 Register */
-#define CAN1_MB18_LENGTH 0xffc03650 /* CAN Controller 1 Mailbox 18 Length Register */
-#define CAN1_MB18_TIMESTAMP 0xffc03654 /* CAN Controller 1 Mailbox 18 Timestamp Register */
-#define CAN1_MB18_ID0 0xffc03658 /* CAN Controller 1 Mailbox 18 ID0 Register */
-#define CAN1_MB18_ID1 0xffc0365c /* CAN Controller 1 Mailbox 18 ID1 Register */
-#define CAN1_MB19_DATA0 0xffc03660 /* CAN Controller 1 Mailbox 19 Data 0 Register */
-#define CAN1_MB19_DATA1 0xffc03664 /* CAN Controller 1 Mailbox 19 Data 1 Register */
-#define CAN1_MB19_DATA2 0xffc03668 /* CAN Controller 1 Mailbox 19 Data 2 Register */
-#define CAN1_MB19_DATA3 0xffc0366c /* CAN Controller 1 Mailbox 19 Data 3 Register */
-#define CAN1_MB19_LENGTH 0xffc03670 /* CAN Controller 1 Mailbox 19 Length Register */
-#define CAN1_MB19_TIMESTAMP 0xffc03674 /* CAN Controller 1 Mailbox 19 Timestamp Register */
-#define CAN1_MB19_ID0 0xffc03678 /* CAN Controller 1 Mailbox 19 ID0 Register */
-#define CAN1_MB19_ID1 0xffc0367c /* CAN Controller 1 Mailbox 19 ID1 Register */
-#define CAN1_MB20_DATA0 0xffc03680 /* CAN Controller 1 Mailbox 20 Data 0 Register */
-#define CAN1_MB20_DATA1 0xffc03684 /* CAN Controller 1 Mailbox 20 Data 1 Register */
-#define CAN1_MB20_DATA2 0xffc03688 /* CAN Controller 1 Mailbox 20 Data 2 Register */
-#define CAN1_MB20_DATA3 0xffc0368c /* CAN Controller 1 Mailbox 20 Data 3 Register */
-#define CAN1_MB20_LENGTH 0xffc03690 /* CAN Controller 1 Mailbox 20 Length Register */
-#define CAN1_MB20_TIMESTAMP 0xffc03694 /* CAN Controller 1 Mailbox 20 Timestamp Register */
-#define CAN1_MB20_ID0 0xffc03698 /* CAN Controller 1 Mailbox 20 ID0 Register */
-#define CAN1_MB20_ID1 0xffc0369c /* CAN Controller 1 Mailbox 20 ID1 Register */
-#define CAN1_MB21_DATA0 0xffc036a0 /* CAN Controller 1 Mailbox 21 Data 0 Register */
-#define CAN1_MB21_DATA1 0xffc036a4 /* CAN Controller 1 Mailbox 21 Data 1 Register */
-#define CAN1_MB21_DATA2 0xffc036a8 /* CAN Controller 1 Mailbox 21 Data 2 Register */
-#define CAN1_MB21_DATA3 0xffc036ac /* CAN Controller 1 Mailbox 21 Data 3 Register */
-#define CAN1_MB21_LENGTH 0xffc036b0 /* CAN Controller 1 Mailbox 21 Length Register */
-#define CAN1_MB21_TIMESTAMP 0xffc036b4 /* CAN Controller 1 Mailbox 21 Timestamp Register */
-#define CAN1_MB21_ID0 0xffc036b8 /* CAN Controller 1 Mailbox 21 ID0 Register */
-#define CAN1_MB21_ID1 0xffc036bc /* CAN Controller 1 Mailbox 21 ID1 Register */
-#define CAN1_MB22_DATA0 0xffc036c0 /* CAN Controller 1 Mailbox 22 Data 0 Register */
-#define CAN1_MB22_DATA1 0xffc036c4 /* CAN Controller 1 Mailbox 22 Data 1 Register */
-#define CAN1_MB22_DATA2 0xffc036c8 /* CAN Controller 1 Mailbox 22 Data 2 Register */
-#define CAN1_MB22_DATA3 0xffc036cc /* CAN Controller 1 Mailbox 22 Data 3 Register */
-#define CAN1_MB22_LENGTH 0xffc036d0 /* CAN Controller 1 Mailbox 22 Length Register */
-#define CAN1_MB22_TIMESTAMP 0xffc036d4 /* CAN Controller 1 Mailbox 22 Timestamp Register */
-#define CAN1_MB22_ID0 0xffc036d8 /* CAN Controller 1 Mailbox 22 ID0 Register */
-#define CAN1_MB22_ID1 0xffc036dc /* CAN Controller 1 Mailbox 22 ID1 Register */
-#define CAN1_MB23_DATA0 0xffc036e0 /* CAN Controller 1 Mailbox 23 Data 0 Register */
-#define CAN1_MB23_DATA1 0xffc036e4 /* CAN Controller 1 Mailbox 23 Data 1 Register */
-#define CAN1_MB23_DATA2 0xffc036e8 /* CAN Controller 1 Mailbox 23 Data 2 Register */
-#define CAN1_MB23_DATA3 0xffc036ec /* CAN Controller 1 Mailbox 23 Data 3 Register */
-#define CAN1_MB23_LENGTH 0xffc036f0 /* CAN Controller 1 Mailbox 23 Length Register */
-#define CAN1_MB23_TIMESTAMP 0xffc036f4 /* CAN Controller 1 Mailbox 23 Timestamp Register */
-#define CAN1_MB23_ID0 0xffc036f8 /* CAN Controller 1 Mailbox 23 ID0 Register */
-#define CAN1_MB23_ID1 0xffc036fc /* CAN Controller 1 Mailbox 23 ID1 Register */
-#define CAN1_MB24_DATA0 0xffc03700 /* CAN Controller 1 Mailbox 24 Data 0 Register */
-#define CAN1_MB24_DATA1 0xffc03704 /* CAN Controller 1 Mailbox 24 Data 1 Register */
-#define CAN1_MB24_DATA2 0xffc03708 /* CAN Controller 1 Mailbox 24 Data 2 Register */
-#define CAN1_MB24_DATA3 0xffc0370c /* CAN Controller 1 Mailbox 24 Data 3 Register */
-#define CAN1_MB24_LENGTH 0xffc03710 /* CAN Controller 1 Mailbox 24 Length Register */
-#define CAN1_MB24_TIMESTAMP 0xffc03714 /* CAN Controller 1 Mailbox 24 Timestamp Register */
-#define CAN1_MB24_ID0 0xffc03718 /* CAN Controller 1 Mailbox 24 ID0 Register */
-#define CAN1_MB24_ID1 0xffc0371c /* CAN Controller 1 Mailbox 24 ID1 Register */
-#define CAN1_MB25_DATA0 0xffc03720 /* CAN Controller 1 Mailbox 25 Data 0 Register */
-#define CAN1_MB25_DATA1 0xffc03724 /* CAN Controller 1 Mailbox 25 Data 1 Register */
-#define CAN1_MB25_DATA2 0xffc03728 /* CAN Controller 1 Mailbox 25 Data 2 Register */
-#define CAN1_MB25_DATA3 0xffc0372c /* CAN Controller 1 Mailbox 25 Data 3 Register */
-#define CAN1_MB25_LENGTH 0xffc03730 /* CAN Controller 1 Mailbox 25 Length Register */
-#define CAN1_MB25_TIMESTAMP 0xffc03734 /* CAN Controller 1 Mailbox 25 Timestamp Register */
-#define CAN1_MB25_ID0 0xffc03738 /* CAN Controller 1 Mailbox 25 ID0 Register */
-#define CAN1_MB25_ID1 0xffc0373c /* CAN Controller 1 Mailbox 25 ID1 Register */
-#define CAN1_MB26_DATA0 0xffc03740 /* CAN Controller 1 Mailbox 26 Data 0 Register */
-#define CAN1_MB26_DATA1 0xffc03744 /* CAN Controller 1 Mailbox 26 Data 1 Register */
-#define CAN1_MB26_DATA2 0xffc03748 /* CAN Controller 1 Mailbox 26 Data 2 Register */
-#define CAN1_MB26_DATA3 0xffc0374c /* CAN Controller 1 Mailbox 26 Data 3 Register */
-#define CAN1_MB26_LENGTH 0xffc03750 /* CAN Controller 1 Mailbox 26 Length Register */
-#define CAN1_MB26_TIMESTAMP 0xffc03754 /* CAN Controller 1 Mailbox 26 Timestamp Register */
-#define CAN1_MB26_ID0 0xffc03758 /* CAN Controller 1 Mailbox 26 ID0 Register */
-#define CAN1_MB26_ID1 0xffc0375c /* CAN Controller 1 Mailbox 26 ID1 Register */
-#define CAN1_MB27_DATA0 0xffc03760 /* CAN Controller 1 Mailbox 27 Data 0 Register */
-#define CAN1_MB27_DATA1 0xffc03764 /* CAN Controller 1 Mailbox 27 Data 1 Register */
-#define CAN1_MB27_DATA2 0xffc03768 /* CAN Controller 1 Mailbox 27 Data 2 Register */
-#define CAN1_MB27_DATA3 0xffc0376c /* CAN Controller 1 Mailbox 27 Data 3 Register */
-#define CAN1_MB27_LENGTH 0xffc03770 /* CAN Controller 1 Mailbox 27 Length Register */
-#define CAN1_MB27_TIMESTAMP 0xffc03774 /* CAN Controller 1 Mailbox 27 Timestamp Register */
-#define CAN1_MB27_ID0 0xffc03778 /* CAN Controller 1 Mailbox 27 ID0 Register */
-#define CAN1_MB27_ID1 0xffc0377c /* CAN Controller 1 Mailbox 27 ID1 Register */
-#define CAN1_MB28_DATA0 0xffc03780 /* CAN Controller 1 Mailbox 28 Data 0 Register */
-#define CAN1_MB28_DATA1 0xffc03784 /* CAN Controller 1 Mailbox 28 Data 1 Register */
-#define CAN1_MB28_DATA2 0xffc03788 /* CAN Controller 1 Mailbox 28 Data 2 Register */
-#define CAN1_MB28_DATA3 0xffc0378c /* CAN Controller 1 Mailbox 28 Data 3 Register */
-#define CAN1_MB28_LENGTH 0xffc03790 /* CAN Controller 1 Mailbox 28 Length Register */
-#define CAN1_MB28_TIMESTAMP 0xffc03794 /* CAN Controller 1 Mailbox 28 Timestamp Register */
-#define CAN1_MB28_ID0 0xffc03798 /* CAN Controller 1 Mailbox 28 ID0 Register */
-#define CAN1_MB28_ID1 0xffc0379c /* CAN Controller 1 Mailbox 28 ID1 Register */
-#define CAN1_MB29_DATA0 0xffc037a0 /* CAN Controller 1 Mailbox 29 Data 0 Register */
-#define CAN1_MB29_DATA1 0xffc037a4 /* CAN Controller 1 Mailbox 29 Data 1 Register */
-#define CAN1_MB29_DATA2 0xffc037a8 /* CAN Controller 1 Mailbox 29 Data 2 Register */
-#define CAN1_MB29_DATA3 0xffc037ac /* CAN Controller 1 Mailbox 29 Data 3 Register */
-#define CAN1_MB29_LENGTH 0xffc037b0 /* CAN Controller 1 Mailbox 29 Length Register */
-#define CAN1_MB29_TIMESTAMP 0xffc037b4 /* CAN Controller 1 Mailbox 29 Timestamp Register */
-#define CAN1_MB29_ID0 0xffc037b8 /* CAN Controller 1 Mailbox 29 ID0 Register */
-#define CAN1_MB29_ID1 0xffc037bc /* CAN Controller 1 Mailbox 29 ID1 Register */
-#define CAN1_MB30_DATA0 0xffc037c0 /* CAN Controller 1 Mailbox 30 Data 0 Register */
-#define CAN1_MB30_DATA1 0xffc037c4 /* CAN Controller 1 Mailbox 30 Data 1 Register */
-#define CAN1_MB30_DATA2 0xffc037c8 /* CAN Controller 1 Mailbox 30 Data 2 Register */
-#define CAN1_MB30_DATA3 0xffc037cc /* CAN Controller 1 Mailbox 30 Data 3 Register */
-#define CAN1_MB30_LENGTH 0xffc037d0 /* CAN Controller 1 Mailbox 30 Length Register */
-#define CAN1_MB30_TIMESTAMP 0xffc037d4 /* CAN Controller 1 Mailbox 30 Timestamp Register */
-#define CAN1_MB30_ID0 0xffc037d8 /* CAN Controller 1 Mailbox 30 ID0 Register */
-#define CAN1_MB30_ID1 0xffc037dc /* CAN Controller 1 Mailbox 30 ID1 Register */
-#define CAN1_MB31_DATA0 0xffc037e0 /* CAN Controller 1 Mailbox 31 Data 0 Register */
-#define CAN1_MB31_DATA1 0xffc037e4 /* CAN Controller 1 Mailbox 31 Data 1 Register */
-#define CAN1_MB31_DATA2 0xffc037e8 /* CAN Controller 1 Mailbox 31 Data 2 Register */
-#define CAN1_MB31_DATA3 0xffc037ec /* CAN Controller 1 Mailbox 31 Data 3 Register */
-#define CAN1_MB31_LENGTH 0xffc037f0 /* CAN Controller 1 Mailbox 31 Length Register */
-#define CAN1_MB31_TIMESTAMP 0xffc037f4 /* CAN Controller 1 Mailbox 31 Timestamp Register */
-#define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */
-#define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */
-
-/* ATAPI Registers */
-
-#define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */
-#define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */
-#define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */
-#define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */
-#define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */
-#define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */
-#define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */
-#define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */
-#define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */
-#define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */
-#define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */
-#define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */
-#define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */
-#define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */
-#define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */
-#define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */
-#define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */
-#define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */
-#define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */
-#define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */
-#define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */
-#define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */
-#define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */
-#define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */
-
-/* SDH Registers */
-
-#define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */
-#define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */
-#define SDH_ARGUMENT 0xffc03908 /* SDH Argument */
-#define SDH_COMMAND 0xffc0390c /* SDH Command */
-#define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */
-#define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */
-#define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */
-#define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */
-#define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */
-#define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */
-#define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */
-#define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */
-#define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */
-#define SDH_STATUS 0xffc03934 /* SDH Status */
-#define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */
-#define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */
-#define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */
-#define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */
-#define SDH_FIFO 0xffc03980 /* SDH Data FIFO */
-#define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */
-#define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */
-#define SDH_CFG 0xffc039c8 /* SDH Configuration */
-#define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */
-#define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */
-#define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */
-#define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */
-#define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */
-#define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */
-#define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */
-#define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */
-#define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */
-
-/* HOST Port Registers */
-
-#define HOST_CONTROL 0xffc03a00 /* HOSTDP Control Register */
-#define HOST_STATUS 0xffc03a04 /* HOSTDP Status Register */
-#define HOST_TIMEOUT 0xffc03a08 /* HOSTDP Acknowledge Mode Timeout Register */
-
-/* USB Control Registers */
-
-#define USB_FADDR 0xffc03c00 /* Function address register */
-#define USB_POWER 0xffc03c04 /* Power management register */
-#define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */
-#define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */
-#define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */
-#define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */
-#define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */
-#define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */
-#define USB_FRAME 0xffc03c20 /* USB frame number */
-#define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */
-#define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */
-#define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */
-#define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */
-
-/* USB Packet Control Registers */
-
-#define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */
-#define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */
-#define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */
-#define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */
-#define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */
-#define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */
-#define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */
-#define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */
-#define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */
-#define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* USB Endpoint FIFO Registers */
-
-#define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */
-#define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */
-#define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */
-#define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */
-#define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */
-#define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */
-#define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */
-#define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */
-
-/* USB OTG Control Registers */
-
-#define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */
-#define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */
-#define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */
-
-/* USB Phy Control Registers */
-
-#define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */
-#define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */
-#define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */
-#define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */
-#define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */
-
-/* (APHY_CNTRL is for ADI usage only) */
-
-#define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */
-
-/* (APHY_CALIB is for ADI usage only) */
-
-#define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */
-#define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */
-
-/* (PHY_TEST is for ADI usage only) */
-
-#define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */
-#define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */
-#define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */
-
-/* USB Endpoint 0 Control Registers */
-
-#define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */
-#define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */
-#define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */
-#define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */
-#define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */
-#define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */
-#define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */
-#define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */
-
-/* USB Endpoint 1 Control Registers */
-
-#define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */
-#define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */
-#define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */
-#define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */
-#define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */
-#define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */
-#define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */
-#define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */
-#define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */
-
-/* USB Endpoint 2 Control Registers */
-
-#define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */
-#define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */
-#define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */
-#define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */
-#define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */
-#define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */
-#define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */
-#define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */
-#define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */
-
-/* USB Endpoint 3 Control Registers */
-
-#define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */
-#define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */
-#define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */
-#define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */
-#define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */
-#define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */
-#define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */
-#define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */
-#define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */
-
-/* USB Endpoint 4 Control Registers */
-
-#define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */
-#define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */
-#define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */
-#define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */
-#define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */
-#define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */
-#define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */
-#define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */
-#define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */
-
-/* USB Endpoint 5 Control Registers */
-
-#define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */
-#define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */
-#define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */
-#define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */
-#define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */
-#define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */
-#define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */
-#define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */
-#define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */
-
-/* USB Endpoint 6 Control Registers */
-
-#define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */
-#define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */
-#define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */
-#define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */
-#define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */
-#define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */
-#define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */
-#define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */
-#define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */
-
-/* USB Endpoint 7 Control Registers */
-
-#define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */
-#define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */
-#define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */
-#define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */
-#define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */
-#define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */
-#define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */
-#define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */
-#define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */
-#define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */
-#define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */
-
-/* USB Channel 0 Config Registers */
-
-#define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */
-#define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */
-#define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */
-#define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */
-
-/* USB Channel 1 Config Registers */
-
-#define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */
-#define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */
-#define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */
-#define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */
-
-/* USB Channel 2 Config Registers */
-
-#define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */
-#define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */
-#define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */
-#define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */
-
-/* USB Channel 3 Config Registers */
-
-#define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */
-#define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */
-#define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */
-#define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */
-
-/* USB Channel 4 Config Registers */
-
-#define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */
-#define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */
-#define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */
-#define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */
-
-/* USB Channel 5 Config Registers */
-
-#define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */
-#define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */
-#define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */
-#define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */
-
-/* USB Channel 6 Config Registers */
-
-#define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */
-#define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */
-#define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */
-#define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */
-
-/* USB Channel 7 Config Registers */
-
-#define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */
-#define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */
-#define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */
-#define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */
-
-/* Keypad Registers */
-
-#define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */
-#define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */
-#define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */
-#define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */
-#define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */
-#define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */
-
-/* Pixel Compositor (PIXC) Registers */
-
-#define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */
-#define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */
-#define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */
-#define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */
-#define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */
-#define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */
-#define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */
-#define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */
-#define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */
-#define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */
-#define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */
-#define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */
-#define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */
-#define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */
-#define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */
-#define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */
-#define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */
-#define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */
-#define PIXC_TC 0xffc04450 /* Holds the transparent color value */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for PIXC_CTL */
-
-#define PIXC_EN 0x1 /* Pixel Compositor Enable */
-#define nPIXC_EN 0x0
-#define OVR_A_EN 0x2 /* Overlay A Enable */
-#define nOVR_A_EN 0x0
-#define OVR_B_EN 0x4 /* Overlay B Enable */
-#define nOVR_B_EN 0x0
-#define IMG_FORM 0x8 /* Image Data Format */
-#define nIMG_FORM 0x0
-#define OVR_FORM 0x10 /* Overlay Data Format */
-#define nOVR_FORM 0x0
-#define OUT_FORM 0x20 /* Output Data Format */
-#define nOUT_FORM 0x0
-#define UDS_MOD 0x40 /* Resampling Mode */
-#define nUDS_MOD 0x0
-#define TC_EN 0x80 /* Transparent Color Enable */
-#define nTC_EN 0x0
-#define IMG_STAT 0x300 /* Image FIFO Status */
-#define OVR_STAT 0xc00 /* Overlay FIFO Status */
-#define WM_LVL 0x3000 /* FIFO Watermark Level */
-
-/* Bit masks for PIXC_AHSTART */
-
-#define A_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_AHEND */
-
-#define A_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_AVSTART */
-
-#define A_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_AVEND */
-
-#define A_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_ATRANSP */
-
-#define A_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_BHSTART */
-
-#define B_HSTART 0xfff /* Horizontal Start Coordinates */
-
-/* Bit masks for PIXC_BHEND */
-
-#define B_HEND 0xfff /* Horizontal End Coordinates */
-
-/* Bit masks for PIXC_BVSTART */
-
-#define B_VSTART 0x3ff /* Vertical Start Coordinates */
-
-/* Bit masks for PIXC_BVEND */
-
-#define B_VEND 0x3ff /* Vertical End Coordinates */
-
-/* Bit masks for PIXC_BTRANSP */
-
-#define B_TRANSP 0xf /* Transparency Value */
-
-/* Bit masks for PIXC_INTRSTAT */
-
-#define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */
-#define nOVR_INT_EN 0x0
-#define FRM_INT_EN 0x2 /* Interrupt at End of Frame */
-#define nFRM_INT_EN 0x0
-#define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */
-#define nOVR_INT_STAT 0x0
-#define FRM_INT_STAT 0x8 /* Frame Interrupt Status */
-#define nFRM_INT_STAT 0x0
-
-/* Bit masks for PIXC_RYCON */
-
-#define A11 0x3ff /* A11 in the Coefficient Matrix */
-#define A12 0xffc00 /* A12 in the Coefficient Matrix */
-#define A13 0x3ff00000 /* A13 in the Coefficient Matrix */
-#define RY_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nRY_MULT4 0x0
-
-/* Bit masks for PIXC_GUCON */
-
-#define A21 0x3ff /* A21 in the Coefficient Matrix */
-#define A22 0xffc00 /* A22 in the Coefficient Matrix */
-#define A23 0x3ff00000 /* A23 in the Coefficient Matrix */
-#define GU_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nGU_MULT4 0x0
-
-/* Bit masks for PIXC_BVCON */
-
-#define A31 0x3ff /* A31 in the Coefficient Matrix */
-#define A32 0xffc00 /* A32 in the Coefficient Matrix */
-#define A33 0x3ff00000 /* A33 in the Coefficient Matrix */
-#define BV_MULT4 0x40000000 /* Multiply Row by 4 */
-#define nBV_MULT4 0x0
-
-/* Bit masks for PIXC_CCBIAS */
-
-#define A14 0x3ff /* A14 in the Bias Vector */
-#define A24 0xffc00 /* A24 in the Bias Vector */
-#define A34 0x3ff00000 /* A34 in the Bias Vector */
-
-/* Bit masks for PIXC_TC */
-
-#define RY_TRANS 0xff /* Transparent Color - R/Y Component */
-#define GU_TRANS 0xff00 /* Transparent Color - G/U Component */
-#define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */
-
-/* Bit masks for HOST_CONTROL */
-
-#define HOSTDP_EN 0x1 /* HOSTDP Enable */
-#define nHOSTDP_EN 0x0
-#define HOSTDP_END 0x2 /* Host Endianess */
-#define nHOSTDP_END 0x0
-#define HOSTDP_DATA_SIZE 0x4 /* Data Size */
-#define nHOSTDP_DATA_SIZE 0x0
-#define HOSTDP_RST 0x8 /* HOSTDP Reset */
-#define nHOSTDP_RST 0x0
-#define HRDY_OVR 0x20 /* HRDY Override */
-#define nHRDY_OVR 0x0
-#define INT_MODE 0x40 /* Interrupt Mode */
-#define nINT_MODE 0x0
-#define BT_EN 0x80 /* Bus Timeout Enable */
-#define nBT_EN 0x0
-#define EHW 0x100 /* Enable Host Write */
-#define nEHW 0x0
-#define EHR 0x200 /* Enable Host Read */
-#define nEHR 0x0
-#define BDR 0x400 /* Burst DMA Requests */
-#define nBDR 0x0
-
-/* Bit masks for HOST_STATUS */
-
-#define DMA_RDY 0x1 /* DMA Ready */
-#define nDMA_RDY 0x0
-#define FIFOFULL 0x2 /* FIFO Full */
-#define nFIFOFULL 0x0
-#define FIFOEMPTY 0x4 /* FIFO Empty */
-#define nFIFOEMPTY 0x0
-#define DMA_CMPLT 0x8 /* DMA Complete */
-#define nDMA_CMPLT 0x0
-#define HSHK 0x10 /* Host Handshake */
-#define nHSHK 0x0
-#define HOSTDP_TOUT 0x20 /* HOSTDP Timeout */
-#define nHOSTDP_TOUT 0x0
-#define HIRQ 0x40 /* Host Interrupt Request */
-#define nHIRQ 0x0
-#define ALLOW_CNFG 0x80 /* Allow New Configuration */
-#define nALLOW_CNFG 0x0
-#define DMA_DIR 0x100 /* DMA Direction */
-#define nDMA_DIR 0x0
-#define BTE 0x200 /* Bus Timeout Enabled */
-#define nBTE 0x0
-
-/* Bit masks for HOST_TIMEOUT */
-
-#define COUNT_TIMEOUT 0x7ff /* HOSTDP Timeout count */
-
-/* Bit masks for MXVR_CONFIG */
-
-#define MXVREN 0x1 /* MXVR Enable */
-#define nMXVREN 0x0
-#define MMSM 0x2 /* MXVR Master/Slave Mode Select */
-#define nMMSM 0x0
-#define ACTIVE 0x4 /* Active Mode */
-#define nACTIVE 0x0
-#define SDELAY 0x8 /* Synchronous Data Delay */
-#define nSDELAY 0x0
-#define NCMRXEN 0x10 /* Normal Control Message Receive Enable */
-#define nNCMRXEN 0x0
-#define RWRRXEN 0x20 /* Remote Write Receive Enable */
-#define nRWRRXEN 0x0
-#define MTXEN 0x40 /* MXVR Transmit Data Enable */
-#define nMTXEN 0x0
-#define MTXONB 0x80 /* MXVR Phy Transmitter On */
-#define nMTXONB 0x0
-#define EPARITY 0x100 /* Even Parity Select */
-#define nEPARITY 0x0
-#define MSB 0x1e00 /* Master Synchronous Boundary */
-#define APRXEN 0x2000 /* Asynchronous Packet Receive Enable */
-#define nAPRXEN 0x0
-#define WAKEUP 0x4000 /* Wake-Up */
-#define nWAKEUP 0x0
-#define LMECH 0x8000 /* Lock Mechanism Select */
-#define nLMECH 0x0
-
-/* Bit masks for MXVR_STATE_0 */
-
-#define NACT 0x1 /* Network Activity */
-#define nNACT 0x0
-#define SBLOCK 0x2 /* Super Block Lock */
-#define nSBLOCK 0x0
-#define FMPLLST 0xc /* Frequency Multiply PLL SM State */
-#define CDRPLLST 0xe0 /* Clock/Data Recovery PLL SM State */
-#define APBSY 0x100 /* Asynchronous Packet Transmit Buffer Busy */
-#define nAPBSY 0x0
-#define APARB 0x200 /* Asynchronous Packet Arbitrating */
-#define nAPARB 0x0
-#define APTX 0x400 /* Asynchronous Packet Transmitting */
-#define nAPTX 0x0
-#define APRX 0x800 /* Receiving Asynchronous Packet */
-#define nAPRX 0x0
-#define CMBSY 0x1000 /* Control Message Transmit Buffer Busy */
-#define nCMBSY 0x0
-#define CMARB 0x2000 /* Control Message Arbitrating */
-#define nCMARB 0x0
-#define CMTX 0x4000 /* Control Message Transmitting */
-#define nCMTX 0x0
-#define CMRX 0x8000 /* Receiving Control Message */
-#define nCMRX 0x0
-#define MRXONB 0x10000 /* MRXONB Pin State */
-#define nMRXONB 0x0
-#define RGSIP 0x20000 /* Remote Get Source In Progress */
-#define nRGSIP 0x0
-#define DALIP 0x40000 /* Resource Deallocate In Progress */
-#define nDALIP 0x0
-#define ALIP 0x80000 /* Resource Allocate In Progress */
-#define nALIP 0x0
-#define RRDIP 0x100000 /* Remote Read In Progress */
-#define nRRDIP 0x0
-#define RWRIP 0x200000 /* Remote Write In Progress */
-#define nRWRIP 0x0
-#define FLOCK 0x400000 /* Frame Lock */
-#define nFLOCK 0x0
-#define BLOCK 0x800000 /* Block Lock */
-#define nBLOCK 0x0
-#define RSB 0xf000000 /* Received Synchronous Boundary */
-#define DERRNUM 0xf0000000 /* DMA Error Channel Number */
-
-/* Bit masks for MXVR_STATE_1 */
-
-#define SRXNUMB 0xf /* Synchronous Receive FIFO Number of Bytes */
-#define STXNUMB 0xf0 /* Synchronous Transmit FIFO Number of Bytes */
-#define APCONT 0x100 /* Asynchronous Packet Continuation */
-#define nAPCONT 0x0
-#define OBERRNUM 0xe00 /* DMA Out of Bounds Error Channel Number */
-#define DMAACTIVE0 0x10000 /* DMA0 Active */
-#define nDMAACTIVE0 0x0
-#define DMAACTIVE1 0x20000 /* DMA1 Active */
-#define nDMAACTIVE1 0x0
-#define DMAACTIVE2 0x40000 /* DMA2 Active */
-#define nDMAACTIVE2 0x0
-#define DMAACTIVE3 0x80000 /* DMA3 Active */
-#define nDMAACTIVE3 0x0
-#define DMAACTIVE4 0x100000 /* DMA4 Active */
-#define nDMAACTIVE4 0x0
-#define DMAACTIVE5 0x200000 /* DMA5 Active */
-#define nDMAACTIVE5 0x0
-#define DMAACTIVE6 0x400000 /* DMA6 Active */
-#define nDMAACTIVE6 0x0
-#define DMAACTIVE7 0x800000 /* DMA7 Active */
-#define nDMAACTIVE7 0x0
-#define DMAPMEN0 0x1000000 /* DMA0 Pattern Matching Enabled */
-#define nDMAPMEN0 0x0
-#define DMAPMEN1 0x2000000 /* DMA1 Pattern Matching Enabled */
-#define nDMAPMEN1 0x0
-#define DMAPMEN2 0x4000000 /* DMA2 Pattern Matching Enabled */
-#define nDMAPMEN2 0x0
-#define DMAPMEN3 0x8000000 /* DMA3 Pattern Matching Enabled */
-#define nDMAPMEN3 0x0
-#define DMAPMEN4 0x10000000 /* DMA4 Pattern Matching Enabled */
-#define nDMAPMEN4 0x0
-#define DMAPMEN5 0x20000000 /* DMA5 Pattern Matching Enabled */
-#define nDMAPMEN5 0x0
-#define DMAPMEN6 0x40000000 /* DMA6 Pattern Matching Enabled */
-#define nDMAPMEN6 0x0
-#define DMAPMEN7 0x80000000 /* DMA7 Pattern Matching Enabled */
-#define nDMAPMEN7 0x0
-
-/* Bit masks for MXVR_INT_STAT_0 */
-
-#define NI2A 0x1 /* Network Inactive to Active */
-#define nNI2A 0x0
-#define NA2I 0x2 /* Network Active to Inactive */
-#define nNA2I 0x0
-#define SBU2L 0x4 /* Super Block Unlock to Lock */
-#define nSBU2L 0x0
-#define SBL2U 0x8 /* Super Block Lock to Unlock */
-#define nSBL2U 0x0
-#define PRU 0x10 /* Position Register Updated */
-#define nPRU 0x0
-#define MPRU 0x20 /* Maximum Position Register Updated */
-#define nMPRU 0x0
-#define DRU 0x40 /* Delay Register Updated */
-#define nDRU 0x0
-#define MDRU 0x80 /* Maximum Delay Register Updated */
-#define nMDRU 0x0
-#define SBU 0x100 /* Synchronous Boundary Updated */
-#define nSBU 0x0
-#define ATU 0x200 /* Allocation Table Updated */
-#define nATU 0x0
-#define FCZ0 0x400 /* Frame Counter 0 Zero */
-#define nFCZ0 0x0
-#define FCZ1 0x800 /* Frame Counter 1 Zero */
-#define nFCZ1 0x0
-#define PERR 0x1000 /* Parity Error */
-#define nPERR 0x0
-#define MH2L 0x2000 /* MRXONB High to Low */
-#define nMH2L 0x0
-#define ML2H 0x4000 /* MRXONB Low to High */
-#define nML2H 0x0
-#define WUP 0x8000 /* Wake-Up Preamble Received */
-#define nWUP 0x0
-#define FU2L 0x10000 /* Frame Unlock to Lock */
-#define nFU2L 0x0
-#define FL2U 0x20000 /* Frame Lock to Unlock */
-#define nFL2U 0x0
-#define BU2L 0x40000 /* Block Unlock to Lock */
-#define nBU2L 0x0
-#define BL2U 0x80000 /* Block Lock to Unlock */
-#define nBL2U 0x0
-#define OBERR 0x100000 /* DMA Out of Bounds Error */
-#define nOBERR 0x0
-#define PFL 0x200000 /* PLL Frequency Locked */
-#define nPFL 0x0
-#define SCZ 0x400000 /* System Clock Counter Zero */
-#define nSCZ 0x0
-#define FERR 0x800000 /* FIFO Error */
-#define nFERR 0x0
-#define CMR 0x1000000 /* Control Message Received */
-#define nCMR 0x0
-#define CMROF 0x2000000 /* Control Message Receive Buffer Overflow */
-#define nCMROF 0x0
-#define CMTS 0x4000000 /* Control Message Transmit Buffer Successfully Sent */
-#define nCMTS 0x0
-#define CMTC 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled */
-#define nCMTC 0x0
-#define RWRC 0x10000000 /* Remote Write Control Message Completed */
-#define nRWRC 0x0
-#define BCZ 0x20000000 /* Block Counter Zero */
-#define nBCZ 0x0
-#define BMERR 0x40000000 /* Biphase Mark Coding Error */
-#define nBMERR 0x0
-#define DERR 0x80000000 /* DMA Error */
-#define nDERR 0x0
-
-/* Bit masks for MXVR_INT_STAT_1 */
-
-#define HDONE0 0x1 /* DMA0 Half Done */
-#define nHDONE0 0x0
-#define DONE0 0x2 /* DMA0 Done */
-#define nDONE0 0x0
-#define APR 0x4 /* Asynchronous Packet Received */
-#define nAPR 0x0
-#define APROF 0x8 /* Asynchronous Packet Receive Buffer Overflow */
-#define nAPROF 0x0
-#define HDONE1 0x10 /* DMA1 Half Done */
-#define nHDONE1 0x0
-#define DONE1 0x20 /* DMA1 Done */
-#define nDONE1 0x0
-#define APTS 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent */
-#define nAPTS 0x0
-#define APTC 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled */
-#define nAPTC 0x0
-#define HDONE2 0x100 /* DMA2 Half Done */
-#define nHDONE2 0x0
-#define DONE2 0x200 /* DMA2 Done */
-#define nDONE2 0x0
-#define APRCE 0x400 /* Asynchronous Packet Receive CRC Error */
-#define nAPRCE 0x0
-#define APRPE 0x800 /* Asynchronous Packet Receive Packet Error */
-#define nAPRPE 0x0
-#define HDONE3 0x1000 /* DMA3 Half Done */
-#define nHDONE3 0x0
-#define DONE3 0x2000 /* DMA3 Done */
-#define nDONE3 0x0
-#define HDONE4 0x10000 /* DMA4 Half Done */
-#define nHDONE4 0x0
-#define DONE4 0x20000 /* DMA4 Done */
-#define nDONE4 0x0
-#define HDONE5 0x100000 /* DMA5 Half Done */
-#define nHDONE5 0x0
-#define DONE5 0x200000 /* DMA5 Done */
-#define nDONE5 0x0
-#define HDONE6 0x1000000 /* DMA6 Half Done */
-#define nHDONE6 0x0
-#define DONE6 0x2000000 /* DMA6 Done */
-#define nDONE6 0x0
-#define HDONE7 0x10000000 /* DMA7 Half Done */
-#define nHDONE7 0x0
-#define DONE7 0x20000000 /* DMA7 Done */
-#define nDONE7 0x0
-
-/* Bit masks for MXVR_INT_EN_0 */
-
-#define NI2AEN 0x1 /* Network Inactive to Active Interrupt Enable */
-#define nNI2AEN 0x0
-#define NA2IEN 0x2 /* Network Active to Inactive Interrupt Enable */
-#define nNA2IEN 0x0
-#define SBU2LEN 0x4 /* Super Block Unlock to Lock Interrupt Enable */
-#define nSBU2LEN 0x0
-#define SBL2UEN 0x8 /* Super Block Lock to Unlock Interrupt Enable */
-#define nSBL2UEN 0x0
-#define PRUEN 0x10 /* Position Register Updated Interrupt Enable */
-#define nPRUEN 0x0
-#define MPRUEN 0x20 /* Maximum Position Register Updated Interrupt Enable */
-#define nMPRUEN 0x0
-#define DRUEN 0x40 /* Delay Register Updated Interrupt Enable */
-#define nDRUEN 0x0
-#define MDRUEN 0x80 /* Maximum Delay Register Updated Interrupt Enable */
-#define nMDRUEN 0x0
-#define SBUEN 0x100 /* Synchronous Boundary Updated Interrupt Enable */
-#define nSBUEN 0x0
-#define ATUEN 0x200 /* Allocation Table Updated Interrupt Enable */
-#define nATUEN 0x0
-#define FCZ0EN 0x400 /* Frame Counter 0 Zero Interrupt Enable */
-#define nFCZ0EN 0x0
-#define FCZ1EN 0x800 /* Frame Counter 1 Zero Interrupt Enable */
-#define nFCZ1EN 0x0
-#define PERREN 0x1000 /* Parity Error Interrupt Enable */
-#define nPERREN 0x0
-#define MH2LEN 0x2000 /* MRXONB High to Low Interrupt Enable */
-#define nMH2LEN 0x0
-#define ML2HEN 0x4000 /* MRXONB Low to High Interrupt Enable */
-#define nML2HEN 0x0
-#define WUPEN 0x8000 /* Wake-Up Preamble Received Interrupt Enable */
-#define nWUPEN 0x0
-#define FU2LEN 0x10000 /* Frame Unlock to Lock Interrupt Enable */
-#define nFU2LEN 0x0
-#define FL2UEN 0x20000 /* Frame Lock to Unlock Interrupt Enable */
-#define nFL2UEN 0x0
-#define BU2LEN 0x40000 /* Block Unlock to Lock Interrupt Enable */
-#define nBU2LEN 0x0
-#define BL2UEN 0x80000 /* Block Lock to Unlock Interrupt Enable */
-#define nBL2UEN 0x0
-#define OBERREN 0x100000 /* DMA Out of Bounds Error Interrupt Enable */
-#define nOBERREN 0x0
-#define PFLEN 0x200000 /* PLL Frequency Locked Interrupt Enable */
-#define nPFLEN 0x0
-#define SCZEN 0x400000 /* System Clock Counter Zero Interrupt Enable */
-#define nSCZEN 0x0
-#define FERREN 0x800000 /* FIFO Error Interrupt Enable */
-#define nFERREN 0x0
-#define CMREN 0x1000000 /* Control Message Received Interrupt Enable */
-#define nCMREN 0x0
-#define CMROFEN 0x2000000 /* Control Message Receive Buffer Overflow Interrupt Enable */
-#define nCMROFEN 0x0
-#define CMTSEN 0x4000000 /* Control Message Transmit Buffer Successfully Sent Interrupt Enable */
-#define nCMTSEN 0x0
-#define CMTCEN 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled Interrupt Enable */
-#define nCMTCEN 0x0
-#define RWRCEN 0x10000000 /* Remote Write Control Message Completed Interrupt Enable */
-#define nRWRCEN 0x0
-#define BCZEN 0x20000000 /* Block Counter Zero Interrupt Enable */
-#define nBCZEN 0x0
-#define BMERREN 0x40000000 /* Biphase Mark Coding Error Interrupt Enable */
-#define nBMERREN 0x0
-#define DERREN 0x80000000 /* DMA Error Interrupt Enable */
-#define nDERREN 0x0
-
-/* Bit masks for MXVR_INT_EN_1 */
-
-#define HDONEEN0 0x1 /* DMA0 Half Done Interrupt Enable */
-#define nHDONEEN0 0x0
-#define DONEEN0 0x2 /* DMA0 Done Interrupt Enable */
-#define nDONEEN0 0x0
-#define APREN 0x4 /* Asynchronous Packet Received Interrupt Enable */
-#define nAPREN 0x0
-#define APROFEN 0x8 /* Asynchronous Packet Receive Buffer Overflow Interrupt Enable */
-#define nAPROFEN 0x0
-#define HDONEEN1 0x10 /* DMA1 Half Done Interrupt Enable */
-#define nHDONEEN1 0x0
-#define DONEEN1 0x20 /* DMA1 Done Interrupt Enable */
-#define nDONEEN1 0x0
-#define APTSEN 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent Interrupt Enable */
-#define nAPTSEN 0x0
-#define APTCEN 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled Interrupt Enable */
-#define nAPTCEN 0x0
-#define HDONEEN2 0x100 /* DMA2 Half Done Interrupt Enable */
-#define nHDONEEN2 0x0
-#define DONEEN2 0x200 /* DMA2 Done Interrupt Enable */
-#define nDONEEN2 0x0
-#define APRCEEN 0x400 /* Asynchronous Packet Receive CRC Error Interrupt Enable */
-#define nAPRCEEN 0x0
-#define APRPEEN 0x800 /* Asynchronous Packet Receive Packet Error Interrupt Enable */
-#define nAPRPEEN 0x0
-#define HDONEEN3 0x1000 /* DMA3 Half Done Interrupt Enable */
-#define nHDONEEN3 0x0
-#define DONEEN3 0x2000 /* DMA3 Done Interrupt Enable */
-#define nDONEEN3 0x0
-#define HDONEEN4 0x10000 /* DMA4 Half Done Interrupt Enable */
-#define nHDONEEN4 0x0
-#define DONEEN4 0x20000 /* DMA4 Done Interrupt Enable */
-#define nDONEEN4 0x0
-#define HDONEEN5 0x100000 /* DMA5 Half Done Interrupt Enable */
-#define nHDONEEN5 0x0
-#define DONEEN5 0x200000 /* DMA5 Done Interrupt Enable */
-#define nDONEEN5 0x0
-#define HDONEEN6 0x1000000 /* DMA6 Half Done Interrupt Enable */
-#define nHDONEEN6 0x0
-#define DONEEN6 0x2000000 /* DMA6 Done Interrupt Enable */
-#define nDONEEN6 0x0
-#define HDONEEN7 0x10000000 /* DMA7 Half Done Interrupt Enable */
-#define nHDONEEN7 0x0
-#define DONEEN7 0x20000000 /* DMA7 Done Interrupt Enable */
-#define nDONEEN7 0x0
-
-/* Bit masks for MXVR_POSITION */
-
-#define POSITION 0x3f /* Node Position */
-#define PVALID 0x8000 /* Node Position Valid */
-#define nPVALID 0x0
-
-/* Bit masks for MXVR_MAX_POSITION */
-
-#define MPOSITION 0x3f /* Maximum Node Position */
-#define MPVALID 0x8000 /* Maximum Node Position Valid */
-#define nMPVALID 0x0
-
-/* Bit masks for MXVR_DELAY */
-
-#define DELAY 0x3f /* Node Frame Delay */
-#define DVALID 0x8000 /* Node Frame Delay Valid */
-#define nDVALID 0x0
-
-/* Bit masks for MXVR_MAX_DELAY */
-
-#define MDELAY 0x3f /* Maximum Node Frame Delay */
-#define MDVALID 0x8000 /* Maximum Node Frame Delay Valid */
-#define nMDVALID 0x0
-
-/* Bit masks for MXVR_LADDR */
-
-#define LADDR 0xffff /* Logical Address */
-#define LVALID 0x80000000 /* Logical Address Valid */
-#define nLVALID 0x0
-
-/* Bit masks for MXVR_GADDR */
-
-#define GADDRL 0xff /* Group Address Lower Byte */
-#define GVALID 0x8000 /* Group Address Valid */
-#define nGVALID 0x0
-
-/* Bit masks for MXVR_AADDR */
-
-#define AADDR 0xffff /* Alternate Address */
-#define AVALID 0x80000000 /* Alternate Address Valid */
-#define nAVALID 0x0
-
-/* Bit masks for MXVR_ALLOC_0 */
-
-#define CL0 0x7f /* Channel 0 Connection Label */
-#define CIU0 0x80 /* Channel 0 In Use */
-#define nCIU0 0x0
-#define CL1 0x7f00 /* Channel 0 Connection Label */
-#define CIU1 0x8000 /* Channel 0 In Use */
-#define nCIU1 0x0
-#define CL2 0x7f0000 /* Channel 0 Connection Label */
-#define CIU2 0x800000 /* Channel 0 In Use */
-#define nCIU2 0x0
-#define CL3 0x7f000000 /* Channel 0 Connection Label */
-#define CIU3 0x80000000 /* Channel 0 In Use */
-#define nCIU3 0x0
-
-/* Bit masks for MXVR_ALLOC_1 */
-
-#define CL4 0x7f /* Channel 4 Connection Label */
-#define CIU4 0x80 /* Channel 4 In Use */
-#define nCIU4 0x0
-#define CL5 0x7f00 /* Channel 5 Connection Label */
-#define CIU5 0x8000 /* Channel 5 In Use */
-#define nCIU5 0x0
-#define CL6 0x7f0000 /* Channel 6 Connection Label */
-#define CIU6 0x800000 /* Channel 6 In Use */
-#define nCIU6 0x0
-#define CL7 0x7f000000 /* Channel 7 Connection Label */
-#define CIU7 0x80000000 /* Channel 7 In Use */
-#define nCIU7 0x0
-
-/* Bit masks for MXVR_ALLOC_2 */
-
-#define CL8 0x7f /* Channel 8 Connection Label */
-#define CIU8 0x80 /* Channel 8 In Use */
-#define nCIU8 0x0
-#define CL9 0x7f00 /* Channel 9 Connection Label */
-#define CIU9 0x8000 /* Channel 9 In Use */
-#define nCIU9 0x0
-#define CL10 0x7f0000 /* Channel 10 Connection Label */
-#define CIU10 0x800000 /* Channel 10 In Use */
-#define nCIU10 0x0
-#define CL11 0x7f000000 /* Channel 11 Connection Label */
-#define CIU11 0x80000000 /* Channel 11 In Use */
-#define nCIU11 0x0
-
-/* Bit masks for MXVR_ALLOC_3 */
-
-#define CL12 0x7f /* Channel 12 Connection Label */
-#define CIU12 0x80 /* Channel 12 In Use */
-#define nCIU12 0x0
-#define CL13 0x7f00 /* Channel 13 Connection Label */
-#define CIU13 0x8000 /* Channel 13 In Use */
-#define nCIU13 0x0
-#define CL14 0x7f0000 /* Channel 14 Connection Label */
-#define CIU14 0x800000 /* Channel 14 In Use */
-#define nCIU14 0x0
-#define CL15 0x7f000000 /* Channel 15 Connection Label */
-#define CIU15 0x80000000 /* Channel 15 In Use */
-#define nCIU15 0x0
-
-/* Bit masks for MXVR_ALLOC_4 */
-
-#define CL16 0x7f /* Channel 16 Connection Label */
-#define CIU16 0x80 /* Channel 16 In Use */
-#define nCIU16 0x0
-#define CL17 0x7f00 /* Channel 17 Connection Label */
-#define CIU17 0x8000 /* Channel 17 In Use */
-#define nCIU17 0x0
-#define CL18 0x7f0000 /* Channel 18 Connection Label */
-#define CIU18 0x800000 /* Channel 18 In Use */
-#define nCIU18 0x0
-#define CL19 0x7f000000 /* Channel 19 Connection Label */
-#define CIU19 0x80000000 /* Channel 19 In Use */
-#define nCIU19 0x0
-
-/* Bit masks for MXVR_ALLOC_5 */
-
-#define CL20 0x7f /* Channel 20 Connection Label */
-#define CIU20 0x80 /* Channel 20 In Use */
-#define nCIU20 0x0
-#define CL21 0x7f00 /* Channel 21 Connection Label */
-#define CIU21 0x8000 /* Channel 21 In Use */
-#define nCIU21 0x0
-#define CL22 0x7f0000 /* Channel 22 Connection Label */
-#define CIU22 0x800000 /* Channel 22 In Use */
-#define nCIU22 0x0
-#define CL23 0x7f000000 /* Channel 23 Connection Label */
-#define CIU23 0x80000000 /* Channel 23 In Use */
-#define nCIU23 0x0
-
-/* Bit masks for MXVR_ALLOC_6 */
-
-#define CL24 0x7f /* Channel 24 Connection Label */
-#define CIU24 0x80 /* Channel 24 In Use */
-#define nCIU24 0x0
-#define CL25 0x7f00 /* Channel 25 Connection Label */
-#define CIU25 0x8000 /* Channel 25 In Use */
-#define nCIU25 0x0
-#define CL26 0x7f0000 /* Channel 26 Connection Label */
-#define CIU26 0x800000 /* Channel 26 In Use */
-#define nCIU26 0x0
-#define CL27 0x7f000000 /* Channel 27 Connection Label */
-#define CIU27 0x80000000 /* Channel 27 In Use */
-#define nCIU27 0x0
-
-/* Bit masks for MXVR_ALLOC_7 */
-
-#define CL28 0x7f /* Channel 28 Connection Label */
-#define CIU28 0x80 /* Channel 28 In Use */
-#define nCIU28 0x0
-#define CL29 0x7f00 /* Channel 29 Connection Label */
-#define CIU29 0x8000 /* Channel 29 In Use */
-#define nCIU29 0x0
-#define CL30 0x7f0000 /* Channel 30 Connection Label */
-#define CIU30 0x800000 /* Channel 30 In Use */
-#define nCIU30 0x0
-#define CL31 0x7f000000 /* Channel 31 Connection Label */
-#define CIU31 0x80000000 /* Channel 31 In Use */
-#define nCIU31 0x0
-
-/* Bit masks for MXVR_ALLOC_8 */
-
-#define CL32 0x7f /* Channel 32 Connection Label */
-#define CIU32 0x80 /* Channel 32 In Use */
-#define nCIU32 0x0
-#define CL33 0x7f00 /* Channel 33 Connection Label */
-#define CIU33 0x8000 /* Channel 33 In Use */
-#define nCIU33 0x0
-#define CL34 0x7f0000 /* Channel 34 Connection Label */
-#define CIU34 0x800000 /* Channel 34 In Use */
-#define nCIU34 0x0
-#define CL35 0x7f000000 /* Channel 35 Connection Label */
-#define CIU35 0x80000000 /* Channel 35 In Use */
-#define nCIU35 0x0
-
-/* Bit masks for MXVR_ALLOC_9 */
-
-#define CL36 0x7f /* Channel 36 Connection Label */
-#define CIU36 0x80 /* Channel 36 In Use */
-#define nCIU36 0x0
-#define CL37 0x7f00 /* Channel 37 Connection Label */
-#define CIU37 0x8000 /* Channel 37 In Use */
-#define nCIU37 0x0
-#define CL38 0x7f0000 /* Channel 38 Connection Label */
-#define CIU38 0x800000 /* Channel 38 In Use */
-#define nCIU38 0x0
-#define CL39 0x7f000000 /* Channel 39 Connection Label */
-#define CIU39 0x80000000 /* Channel 39 In Use */
-#define nCIU39 0x0
-
-/* Bit masks for MXVR_ALLOC_10 */
-
-#define CL40 0x7f /* Channel 40 Connection Label */
-#define CIU40 0x80 /* Channel 40 In Use */
-#define nCIU40 0x0
-#define CL41 0x7f00 /* Channel 41 Connection Label */
-#define CIU41 0x8000 /* Channel 41 In Use */
-#define nCIU41 0x0
-#define CL42 0x7f0000 /* Channel 42 Connection Label */
-#define CIU42 0x800000 /* Channel 42 In Use */
-#define nCIU42 0x0
-#define CL43 0x7f000000 /* Channel 43 Connection Label */
-#define CIU43 0x80000000 /* Channel 43 In Use */
-#define nCIU43 0x0
-
-/* Bit masks for MXVR_ALLOC_11 */
-
-#define CL44 0x7f /* Channel 44 Connection Label */
-#define CIU44 0x80 /* Channel 44 In Use */
-#define nCIU44 0x0
-#define CL45 0x7f00 /* Channel 45 Connection Label */
-#define CIU45 0x8000 /* Channel 45 In Use */
-#define nCIU45 0x0
-#define CL46 0x7f0000 /* Channel 46 Connection Label */
-#define CIU46 0x800000 /* Channel 46 In Use */
-#define nCIU46 0x0
-#define CL47 0x7f000000 /* Channel 47 Connection Label */
-#define CIU47 0x80000000 /* Channel 47 In Use */
-#define nCIU47 0x0
-
-/* Bit masks for MXVR_ALLOC_12 */
-
-#define CL48 0x7f /* Channel 48 Connection Label */
-#define CIU48 0x80 /* Channel 48 In Use */
-#define nCIU48 0x0
-#define CL49 0x7f00 /* Channel 49 Connection Label */
-#define CIU49 0x8000 /* Channel 49 In Use */
-#define nCIU49 0x0
-#define CL50 0x7f0000 /* Channel 50 Connection Label */
-#define CIU50 0x800000 /* Channel 50 In Use */
-#define nCIU50 0x0
-#define CL51 0x7f000000 /* Channel 51 Connection Label */
-#define CIU51 0x80000000 /* Channel 51 In Use */
-#define nCIU51 0x0
-
-/* Bit masks for MXVR_ALLOC_13 */
-
-#define CL52 0x7f /* Channel 52 Connection Label */
-#define CIU52 0x80 /* Channel 52 In Use */
-#define nCIU52 0x0
-#define CL53 0x7f00 /* Channel 53 Connection Label */
-#define CIU53 0x8000 /* Channel 53 In Use */
-#define nCIU53 0x0
-#define CL54 0x7f0000 /* Channel 54 Connection Label */
-#define CIU54 0x800000 /* Channel 54 In Use */
-#define nCIU54 0x0
-#define CL55 0x7f000000 /* Channel 55 Connection Label */
-#define CIU55 0x80000000 /* Channel 55 In Use */
-#define nCIU55 0x0
-
-/* Bit masks for MXVR_ALLOC_14 */
-
-#define CL56 0x7f /* Channel 56 Connection Label */
-#define CIU56 0x80 /* Channel 56 In Use */
-#define nCIU56 0x0
-#define CL57 0x7f00 /* Channel 57 Connection Label */
-#define CIU57 0x8000 /* Channel 57 In Use */
-#define nCIU57 0x0
-#define CL58 0x7f0000 /* Channel 58 Connection Label */
-#define CIU58 0x800000 /* Channel 58 In Use */
-#define nCIU58 0x0
-#define CL59 0x7f000000 /* Channel 59 Connection Label */
-#define CIU59 0x80000000 /* Channel 59 In Use */
-#define nCIU59 0x0
-
-/* MXVR_SYNC_LCHAN_0 Masks */
-
-#define LCHANPC0 0x0000000Flu
-#define LCHANPC1 0x000000F0lu
-#define LCHANPC2 0x00000F00lu
-#define LCHANPC3 0x0000F000lu
-#define LCHANPC4 0x000F0000lu
-#define LCHANPC5 0x00F00000lu
-#define LCHANPC6 0x0F000000lu
-#define LCHANPC7 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_1 Masks */
-
-#define LCHANPC8 0x0000000Flu
-#define LCHANPC9 0x000000F0lu
-#define LCHANPC10 0x00000F00lu
-#define LCHANPC11 0x0000F000lu
-#define LCHANPC12 0x000F0000lu
-#define LCHANPC13 0x00F00000lu
-#define LCHANPC14 0x0F000000lu
-#define LCHANPC15 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_2 Masks */
-
-#define LCHANPC16 0x0000000Flu
-#define LCHANPC17 0x000000F0lu
-#define LCHANPC18 0x00000F00lu
-#define LCHANPC19 0x0000F000lu
-#define LCHANPC20 0x000F0000lu
-#define LCHANPC21 0x00F00000lu
-#define LCHANPC22 0x0F000000lu
-#define LCHANPC23 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_3 Masks */
-
-#define LCHANPC24 0x0000000Flu
-#define LCHANPC25 0x000000F0lu
-#define LCHANPC26 0x00000F00lu
-#define LCHANPC27 0x0000F000lu
-#define LCHANPC28 0x000F0000lu
-#define LCHANPC29 0x00F00000lu
-#define LCHANPC30 0x0F000000lu
-#define LCHANPC31 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_4 Masks */
-
-#define LCHANPC32 0x0000000Flu
-#define LCHANPC33 0x000000F0lu
-#define LCHANPC34 0x00000F00lu
-#define LCHANPC35 0x0000F000lu
-#define LCHANPC36 0x000F0000lu
-#define LCHANPC37 0x00F00000lu
-#define LCHANPC38 0x0F000000lu
-#define LCHANPC39 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_5 Masks */
-
-#define LCHANPC40 0x0000000Flu
-#define LCHANPC41 0x000000F0lu
-#define LCHANPC42 0x00000F00lu
-#define LCHANPC43 0x0000F000lu
-#define LCHANPC44 0x000F0000lu
-#define LCHANPC45 0x00F00000lu
-#define LCHANPC46 0x0F000000lu
-#define LCHANPC47 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_6 Masks */
-
-#define LCHANPC48 0x0000000Flu
-#define LCHANPC49 0x000000F0lu
-#define LCHANPC50 0x00000F00lu
-#define LCHANPC51 0x0000F000lu
-#define LCHANPC52 0x000F0000lu
-#define LCHANPC53 0x00F00000lu
-#define LCHANPC54 0x0F000000lu
-#define LCHANPC55 0xF0000000lu
-
-
-/* MXVR_SYNC_LCHAN_7 Masks */
-
-#define LCHANPC56 0x0000000Flu
-#define LCHANPC57 0x000000F0lu
-#define LCHANPC58 0x00000F00lu
-#define LCHANPC59 0x0000F000lu
-
-/* Bit masks for MXVR_DMAx_CONFIG */
-
-#define MDMAEN 0x1 /* DMA Channel Enable */
-#define nMDMAEN 0x0
-#define DD 0x2 /* DMA Channel Direction */
-#define nDD 0x0
-#define BY4SWAPEN 0x20 /* DMA Channel Four Byte Swap Enable */
-#define nBY4SWAPEN 0x0
-#define LCHAN 0x3c0 /* DMA Channel Logical Channel */
-#define BITSWAPEN 0x400 /* DMA Channel Bit Swap Enable */
-#define nBITSWAPEN 0x0
-#define BY2SWAPEN 0x800 /* DMA Channel Two Byte Swap Enable */
-#define nBY2SWAPEN 0x0
-#define MFLOW 0x7000 /* DMA Channel Operation Flow */
-#define FIXEDPM 0x80000 /* DMA Channel Fixed Pattern Matching Select */
-#define nFIXEDPM 0x0
-#define STARTPAT 0x300000 /* DMA Channel Start Pattern Select */
-#define STOPPAT 0xc00000 /* DMA Channel Stop Pattern Select */
-#define COUNTPOS 0x1c000000 /* DMA Channel Count Position */
-
-/* Bit masks for MXVR_AP_CTL */
-
-#define STARTAP 0x1 /* Start Asynchronous Packet Transmission */
-#define nSTARTAP 0x0
-#define CANCELAP 0x2 /* Cancel Asynchronous Packet Transmission */
-#define nCANCELAP 0x0
-#define RESETAP 0x4 /* Reset Asynchronous Packet Arbitration */
-#define nRESETAP 0x0
-#define APRBE0 0x4000 /* Asynchronous Packet Receive Buffer Entry 0 */
-#define nAPRBE0 0x0
-#define APRBE1 0x8000 /* Asynchronous Packet Receive Buffer Entry 1 */
-#define nAPRBE1 0x0
-
-/* Bit masks for MXVR_APRB_START_ADDR */
-
-#define APRB_START_ADDR 0x1fffffe /* Asynchronous Packet Receive Buffer Start Address */
-
-/* Bit masks for MXVR_APRB_CURR_ADDR */
-
-#define APRB_CURR_ADDR 0xffffffff /* Asynchronous Packet Receive Buffer Current Address */
-
-/* Bit masks for MXVR_APTB_START_ADDR */
-
-#define APTB_START_ADDR 0x1fffffe /* Asynchronous Packet Transmit Buffer Start Address */
-
-/* Bit masks for MXVR_APTB_CURR_ADDR */
-
-#define APTB_CURR_ADDR 0xffffffff /* Asynchronous Packet Transmit Buffer Current Address */
-
-/* Bit masks for MXVR_CM_CTL */
-
-#define STARTCM 0x1 /* Start Control Message Transmission */
-#define nSTARTCM 0x0
-#define CANCELCM 0x2 /* Cancel Control Message Transmission */
-#define nCANCELCM 0x0
-#define CMRBE0 0x10000 /* Control Message Receive Buffer Entry 0 */
-#define nCMRBE0 0x0
-#define CMRBE1 0x20000 /* Control Message Receive Buffer Entry 1 */
-#define nCMRBE1 0x0
-#define CMRBE2 0x40000 /* Control Message Receive Buffer Entry 2 */
-#define nCMRBE2 0x0
-#define CMRBE3 0x80000 /* Control Message Receive Buffer Entry 3 */
-#define nCMRBE3 0x0
-#define CMRBE4 0x100000 /* Control Message Receive Buffer Entry 4 */
-#define nCMRBE4 0x0
-#define CMRBE5 0x200000 /* Control Message Receive Buffer Entry 5 */
-#define nCMRBE5 0x0
-#define CMRBE6 0x400000 /* Control Message Receive Buffer Entry 6 */
-#define nCMRBE6 0x0
-#define CMRBE7 0x800000 /* Control Message Receive Buffer Entry 7 */
-#define nCMRBE7 0x0
-#define CMRBE8 0x1000000 /* Control Message Receive Buffer Entry 8 */
-#define nCMRBE8 0x0
-#define CMRBE9 0x2000000 /* Control Message Receive Buffer Entry 9 */
-#define nCMRBE9 0x0
-#define CMRBE10 0x4000000 /* Control Message Receive Buffer Entry 10 */
-#define nCMRBE10 0x0
-#define CMRBE11 0x8000000 /* Control Message Receive Buffer Entry 11 */
-#define nCMRBE11 0x0
-#define CMRBE12 0x10000000 /* Control Message Receive Buffer Entry 12 */
-#define nCMRBE12 0x0
-#define CMRBE13 0x20000000 /* Control Message Receive Buffer Entry 13 */
-#define nCMRBE13 0x0
-#define CMRBE14 0x40000000 /* Control Message Receive Buffer Entry 14 */
-#define nCMRBE14 0x0
-#define CMRBE15 0x80000000 /* Control Message Receive Buffer Entry 15 */
-#define nCMRBE15 0x0
-
-/* Bit masks for MXVR_CMRB_START_ADDR */
-
-#define CMRB_START_ADDR 0x1fffffe /* Control Message Receive Buffer Start Address */
-
-/* Bit masks for MXVR_CMRB_CURR_ADDR */
-
-#define CMRB_CURR_ADDR 0xffffffff /* Control Message Receive Buffer Current Address */
-
-/* Bit masks for MXVR_CMTB_START_ADDR */
-
-#define CMTB_START_ADDR 0x1fffffe /* Control Message Transmit Buffer Start Address */
-
-/* Bit masks for MXVR_CMTB_CURR_ADDR */
-
-#define CMTB_CURR_ADDR 0xffffffff /* Control Message Transmit Buffer Current Address */
-
-/* Bit masks for MXVR_RRDB_START_ADDR */
-
-#define RRDB_START_ADDR 0x1fffffe /* Remote Read Buffer Start Address */
-
-/* Bit masks for MXVR_RRDB_CURR_ADDR */
-
-#define RRDB_CURR_ADDR 0xffffffff /* Remote Read Buffer Current Address */
-
-/* Bit masks for MXVR_PAT_DATAx */
-
-#define MATCH_DATA_0 0xff /* Pattern Match Data Byte 0 */
-#define MATCH_DATA_1 0xff00 /* Pattern Match Data Byte 1 */
-#define MATCH_DATA_2 0xff0000 /* Pattern Match Data Byte 2 */
-#define MATCH_DATA_3 0xff000000 /* Pattern Match Data Byte 3 */
-
-/* Bit masks for MXVR_PAT_EN_0 */
-
-#define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */
-#define nMATCH_EN_0_0 0x0
-#define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */
-#define nMATCH_EN_0_1 0x0
-#define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */
-#define nMATCH_EN_0_2 0x0
-#define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */
-#define nMATCH_EN_0_3 0x0
-#define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */
-#define nMATCH_EN_0_4 0x0
-#define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */
-#define nMATCH_EN_0_5 0x0
-#define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */
-#define nMATCH_EN_0_6 0x0
-#define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */
-#define nMATCH_EN_0_7 0x0
-#define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */
-#define nMATCH_EN_1_0 0x0
-#define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */
-#define nMATCH_EN_1_1 0x0
-#define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */
-#define nMATCH_EN_1_2 0x0
-#define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */
-#define nMATCH_EN_1_3 0x0
-#define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */
-#define nMATCH_EN_1_4 0x0
-#define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */
-#define nMATCH_EN_1_5 0x0
-#define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */
-#define nMATCH_EN_1_6 0x0
-#define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */
-#define nMATCH_EN_1_7 0x0
-#define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */
-#define nMATCH_EN_2_0 0x0
-#define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */
-#define nMATCH_EN_2_1 0x0
-#define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */
-#define nMATCH_EN_2_2 0x0
-#define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */
-#define nMATCH_EN_2_3 0x0
-#define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */
-#define nMATCH_EN_2_4 0x0
-#define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */
-#define nMATCH_EN_2_5 0x0
-#define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */
-#define nMATCH_EN_2_6 0x0
-#define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */
-#define nMATCH_EN_2_7 0x0
-#define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */
-#define nMATCH_EN_3_0 0x0
-#define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */
-#define nMATCH_EN_3_1 0x0
-#define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */
-#define nMATCH_EN_3_2 0x0
-#define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */
-#define nMATCH_EN_3_3 0x0
-#define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */
-#define nMATCH_EN_3_4 0x0
-#define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */
-#define nMATCH_EN_3_5 0x0
-#define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */
-#define nMATCH_EN_3_6 0x0
-#define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */
-#define nMATCH_EN_3_7 0x0
-
-/* Bit masks for MXVR_PAT_EN_1 */
-
-#define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */
-#define nMATCH_EN_0_0 0x0
-#define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */
-#define nMATCH_EN_0_1 0x0
-#define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */
-#define nMATCH_EN_0_2 0x0
-#define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */
-#define nMATCH_EN_0_3 0x0
-#define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */
-#define nMATCH_EN_0_4 0x0
-#define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */
-#define nMATCH_EN_0_5 0x0
-#define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */
-#define nMATCH_EN_0_6 0x0
-#define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */
-#define nMATCH_EN_0_7 0x0
-#define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */
-#define nMATCH_EN_1_0 0x0
-#define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */
-#define nMATCH_EN_1_1 0x0
-#define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */
-#define nMATCH_EN_1_2 0x0
-#define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */
-#define nMATCH_EN_1_3 0x0
-#define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */
-#define nMATCH_EN_1_4 0x0
-#define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */
-#define nMATCH_EN_1_5 0x0
-#define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */
-#define nMATCH_EN_1_6 0x0
-#define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */
-#define nMATCH_EN_1_7 0x0
-#define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */
-#define nMATCH_EN_2_0 0x0
-#define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */
-#define nMATCH_EN_2_1 0x0
-#define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */
-#define nMATCH_EN_2_2 0x0
-#define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */
-#define nMATCH_EN_2_3 0x0
-#define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */
-#define nMATCH_EN_2_4 0x0
-#define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */
-#define nMATCH_EN_2_5 0x0
-#define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */
-#define nMATCH_EN_2_6 0x0
-#define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */
-#define nMATCH_EN_2_7 0x0
-#define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */
-#define nMATCH_EN_3_0 0x0
-#define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */
-#define nMATCH_EN_3_1 0x0
-#define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */
-#define nMATCH_EN_3_2 0x0
-#define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */
-#define nMATCH_EN_3_3 0x0
-#define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */
-#define nMATCH_EN_3_4 0x0
-#define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */
-#define nMATCH_EN_3_5 0x0
-#define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */
-#define nMATCH_EN_3_6 0x0
-#define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */
-#define nMATCH_EN_3_7 0x0
-
-/* Bit masks for MXVR_FRAME_CNT_0 */
-
-#define FCNT 0xffff /* Frame Count */
-
-/* Bit masks for MXVR_FRAME_CNT_1 */
-
-#define FCNT 0xffff /* Frame Count */
-
-/* Bit masks for MXVR_ROUTING_0 */
-
-#define TX_CH0 0x3f /* Transmit Channel 0 */
-#define MUTE_CH0 0x80 /* Mute Channel 0 */
-#define nMUTE_CH0 0x0
-#define TX_CH1 0x3f00 /* Transmit Channel 0 */
-#define MUTE_CH1 0x8000 /* Mute Channel 0 */
-#define nMUTE_CH1 0x0
-#define TX_CH2 0x3f0000 /* Transmit Channel 0 */
-#define MUTE_CH2 0x800000 /* Mute Channel 0 */
-#define nMUTE_CH2 0x0
-#define TX_CH3 0x3f000000 /* Transmit Channel 0 */
-#define MUTE_CH3 0x80000000 /* Mute Channel 0 */
-#define nMUTE_CH3 0x0
-
-/* Bit masks for MXVR_ROUTING_1 */
-
-#define TX_CH4 0x3f /* Transmit Channel 4 */
-#define MUTE_CH4 0x80 /* Mute Channel 4 */
-#define nMUTE_CH4 0x0
-#define TX_CH5 0x3f00 /* Transmit Channel 5 */
-#define MUTE_CH5 0x8000 /* Mute Channel 5 */
-#define nMUTE_CH5 0x0
-#define TX_CH6 0x3f0000 /* Transmit Channel 6 */
-#define MUTE_CH6 0x800000 /* Mute Channel 6 */
-#define nMUTE_CH6 0x0
-#define TX_CH7 0x3f000000 /* Transmit Channel 7 */
-#define MUTE_CH7 0x80000000 /* Mute Channel 7 */
-#define nMUTE_CH7 0x0
-
-/* Bit masks for MXVR_ROUTING_2 */
-
-#define TX_CH8 0x3f /* Transmit Channel 8 */
-#define MUTE_CH8 0x80 /* Mute Channel 8 */
-#define nMUTE_CH8 0x0
-#define TX_CH9 0x3f00 /* Transmit Channel 9 */
-#define MUTE_CH9 0x8000 /* Mute Channel 9 */
-#define nMUTE_CH9 0x0
-#define TX_CH10 0x3f0000 /* Transmit Channel 10 */
-#define MUTE_CH10 0x800000 /* Mute Channel 10 */
-#define nMUTE_CH10 0x0
-#define TX_CH11 0x3f000000 /* Transmit Channel 11 */
-#define MUTE_CH11 0x80000000 /* Mute Channel 11 */
-#define nMUTE_CH11 0x0
-
-/* Bit masks for MXVR_ROUTING_3 */
-
-#define TX_CH12 0x3f /* Transmit Channel 12 */
-#define MUTE_CH12 0x80 /* Mute Channel 12 */
-#define nMUTE_CH12 0x0
-#define TX_CH13 0x3f00 /* Transmit Channel 13 */
-#define MUTE_CH13 0x8000 /* Mute Channel 13 */
-#define nMUTE_CH13 0x0
-#define TX_CH14 0x3f0000 /* Transmit Channel 14 */
-#define MUTE_CH14 0x800000 /* Mute Channel 14 */
-#define nMUTE_CH14 0x0
-#define TX_CH15 0x3f000000 /* Transmit Channel 15 */
-#define MUTE_CH15 0x80000000 /* Mute Channel 15 */
-#define nMUTE_CH15 0x0
-
-/* Bit masks for MXVR_ROUTING_4 */
-
-#define TX_CH16 0x3f /* Transmit Channel 16 */
-#define MUTE_CH16 0x80 /* Mute Channel 16 */
-#define nMUTE_CH16 0x0
-#define TX_CH17 0x3f00 /* Transmit Channel 17 */
-#define MUTE_CH17 0x8000 /* Mute Channel 17 */
-#define nMUTE_CH17 0x0
-#define TX_CH18 0x3f0000 /* Transmit Channel 18 */
-#define MUTE_CH18 0x800000 /* Mute Channel 18 */
-#define nMUTE_CH18 0x0
-#define TX_CH19 0x3f000000 /* Transmit Channel 19 */
-#define MUTE_CH19 0x80000000 /* Mute Channel 19 */
-#define nMUTE_CH19 0x0
-
-/* Bit masks for MXVR_ROUTING_5 */
-
-#define TX_CH20 0x3f /* Transmit Channel 20 */
-#define MUTE_CH20 0x80 /* Mute Channel 20 */
-#define nMUTE_CH20 0x0
-#define TX_CH21 0x3f00 /* Transmit Channel 21 */
-#define MUTE_CH21 0x8000 /* Mute Channel 21 */
-#define nMUTE_CH21 0x0
-#define TX_CH22 0x3f0000 /* Transmit Channel 22 */
-#define MUTE_CH22 0x800000 /* Mute Channel 22 */
-#define nMUTE_CH22 0x0
-#define TX_CH23 0x3f000000 /* Transmit Channel 23 */
-#define MUTE_CH23 0x80000000 /* Mute Channel 23 */
-#define nMUTE_CH23 0x0
-
-/* Bit masks for MXVR_ROUTING_6 */
-
-#define TX_CH24 0x3f /* Transmit Channel 24 */
-#define MUTE_CH24 0x80 /* Mute Channel 24 */
-#define nMUTE_CH24 0x0
-#define TX_CH25 0x3f00 /* Transmit Channel 25 */
-#define MUTE_CH25 0x8000 /* Mute Channel 25 */
-#define nMUTE_CH25 0x0
-#define TX_CH26 0x3f0000 /* Transmit Channel 26 */
-#define MUTE_CH26 0x800000 /* Mute Channel 26 */
-#define nMUTE_CH26 0x0
-#define TX_CH27 0x3f000000 /* Transmit Channel 27 */
-#define MUTE_CH27 0x80000000 /* Mute Channel 27 */
-#define nMUTE_CH27 0x0
-
-/* Bit masks for MXVR_ROUTING_7 */
-
-#define TX_CH28 0x3f /* Transmit Channel 28 */
-#define MUTE_CH28 0x80 /* Mute Channel 28 */
-#define nMUTE_CH28 0x0
-#define TX_CH29 0x3f00 /* Transmit Channel 29 */
-#define MUTE_CH29 0x8000 /* Mute Channel 29 */
-#define nMUTE_CH29 0x0
-#define TX_CH30 0x3f0000 /* Transmit Channel 30 */
-#define MUTE_CH30 0x800000 /* Mute Channel 30 */
-#define nMUTE_CH30 0x0
-#define TX_CH31 0x3f000000 /* Transmit Channel 31 */
-#define MUTE_CH31 0x80000000 /* Mute Channel 31 */
-#define nMUTE_CH31 0x0
-
-/* Bit masks for MXVR_ROUTING_8 */
-
-#define TX_CH32 0x3f /* Transmit Channel 32 */
-#define MUTE_CH32 0x80 /* Mute Channel 32 */
-#define nMUTE_CH32 0x0
-#define TX_CH33 0x3f00 /* Transmit Channel 33 */
-#define MUTE_CH33 0x8000 /* Mute Channel 33 */
-#define nMUTE_CH33 0x0
-#define TX_CH34 0x3f0000 /* Transmit Channel 34 */
-#define MUTE_CH34 0x800000 /* Mute Channel 34 */
-#define nMUTE_CH34 0x0
-#define TX_CH35 0x3f000000 /* Transmit Channel 35 */
-#define MUTE_CH35 0x80000000 /* Mute Channel 35 */
-#define nMUTE_CH35 0x0
-
-/* Bit masks for MXVR_ROUTING_9 */
-
-#define TX_CH36 0x3f /* Transmit Channel 36 */
-#define MUTE_CH36 0x80 /* Mute Channel 36 */
-#define nMUTE_CH36 0x0
-#define TX_CH37 0x3f00 /* Transmit Channel 37 */
-#define MUTE_CH37 0x8000 /* Mute Channel 37 */
-#define nMUTE_CH37 0x0
-#define TX_CH38 0x3f0000 /* Transmit Channel 38 */
-#define MUTE_CH38 0x800000 /* Mute Channel 38 */
-#define nMUTE_CH38 0x0
-#define TX_CH39 0x3f000000 /* Transmit Channel 39 */
-#define MUTE_CH39 0x80000000 /* Mute Channel 39 */
-#define nMUTE_CH39 0x0
-
-/* Bit masks for MXVR_ROUTING_10 */
-
-#define TX_CH40 0x3f /* Transmit Channel 40 */
-#define MUTE_CH40 0x80 /* Mute Channel 40 */
-#define nMUTE_CH40 0x0
-#define TX_CH41 0x3f00 /* Transmit Channel 41 */
-#define MUTE_CH41 0x8000 /* Mute Channel 41 */
-#define nMUTE_CH41 0x0
-#define TX_CH42 0x3f0000 /* Transmit Channel 42 */
-#define MUTE_CH42 0x800000 /* Mute Channel 42 */
-#define nMUTE_CH42 0x0
-#define TX_CH43 0x3f000000 /* Transmit Channel 43 */
-#define MUTE_CH43 0x80000000 /* Mute Channel 43 */
-#define nMUTE_CH43 0x0
-
-/* Bit masks for MXVR_ROUTING_11 */
-
-#define TX_CH44 0x3f /* Transmit Channel 44 */
-#define MUTE_CH44 0x80 /* Mute Channel 44 */
-#define nMUTE_CH44 0x0
-#define TX_CH45 0x3f00 /* Transmit Channel 45 */
-#define MUTE_CH45 0x8000 /* Mute Channel 45 */
-#define nMUTE_CH45 0x0
-#define TX_CH46 0x3f0000 /* Transmit Channel 46 */
-#define MUTE_CH46 0x800000 /* Mute Channel 46 */
-#define nMUTE_CH46 0x0
-#define TX_CH47 0x3f000000 /* Transmit Channel 47 */
-#define MUTE_CH47 0x80000000 /* Mute Channel 47 */
-#define nMUTE_CH47 0x0
-
-/* Bit masks for MXVR_ROUTING_12 */
-
-#define TX_CH48 0x3f /* Transmit Channel 48 */
-#define MUTE_CH48 0x80 /* Mute Channel 48 */
-#define nMUTE_CH48 0x0
-#define TX_CH49 0x3f00 /* Transmit Channel 49 */
-#define MUTE_CH49 0x8000 /* Mute Channel 49 */
-#define nMUTE_CH49 0x0
-#define TX_CH50 0x3f0000 /* Transmit Channel 50 */
-#define MUTE_CH50 0x800000 /* Mute Channel 50 */
-#define nMUTE_CH50 0x0
-#define TX_CH51 0x3f000000 /* Transmit Channel 51 */
-#define MUTE_CH51 0x80000000 /* Mute Channel 51 */
-#define nMUTE_CH51 0x0
-
-/* Bit masks for MXVR_ROUTING_13 */
-
-#define TX_CH52 0x3f /* Transmit Channel 52 */
-#define MUTE_CH52 0x80 /* Mute Channel 52 */
-#define nMUTE_CH52 0x0
-#define TX_CH53 0x3f00 /* Transmit Channel 53 */
-#define MUTE_CH53 0x8000 /* Mute Channel 53 */
-#define nMUTE_CH53 0x0
-#define TX_CH54 0x3f0000 /* Transmit Channel 54 */
-#define MUTE_CH54 0x800000 /* Mute Channel 54 */
-#define nMUTE_CH54 0x0
-#define TX_CH55 0x3f000000 /* Transmit Channel 55 */
-#define MUTE_CH55 0x80000000 /* Mute Channel 55 */
-#define nMUTE_CH55 0x0
-
-/* Bit masks for MXVR_ROUTING_14 */
-
-#define TX_CH56 0x3f /* Transmit Channel 56 */
-#define MUTE_CH56 0x80 /* Mute Channel 56 */
-#define nMUTE_CH56 0x0
-#define TX_CH57 0x3f00 /* Transmit Channel 57 */
-#define MUTE_CH57 0x8000 /* Mute Channel 57 */
-#define nMUTE_CH57 0x0
-#define TX_CH58 0x3f0000 /* Transmit Channel 58 */
-#define MUTE_CH58 0x800000 /* Mute Channel 58 */
-#define nMUTE_CH58 0x0
-#define TX_CH59 0x3f000000 /* Transmit Channel 59 */
-#define MUTE_CH59 0x80000000 /* Mute Channel 59 */
-#define nMUTE_CH59 0x0
-
-/* Bit masks for MXVR_BLOCK_CNT */
-
-#define BCNT 0xffff /* Block Count */
-
-/* Bit masks for MXVR_CLK_CTL */
-
-#define MXTALCEN 0x1 /* MXVR Crystal Oscillator Clock Enable */
-#define nMXTALCEN 0x0
-#define MXTALFEN 0x2 /* MXVR Crystal Oscillator Feedback Enable */
-#define nMXTALFEN 0x0
-#define MXTALMUL 0x30 /* MXVR Crystal Multiplier */
-#define CLKX3SEL 0x80 /* Clock Generation Source Select */
-#define nCLKX3SEL 0x0
-#define MMCLKEN 0x100 /* Master Clock Enable */
-#define nMMCLKEN 0x0
-#define MMCLKMUL 0x1e00 /* Master Clock Multiplication Factor */
-#define PLLSMPS 0xe000 /* MXVR PLL State Machine Prescaler */
-#define MBCLKEN 0x10000 /* Bit Clock Enable */
-#define nMBCLKEN 0x0
-#define MBCLKDIV 0x1e0000 /* Bit Clock Divide Factor */
-#define INVRX 0x800000 /* Invert Receive Data */
-#define nINVRX 0x0
-#define MFSEN 0x1000000 /* Frame Sync Enable */
-#define nMFSEN 0x0
-#define MFSDIV 0x1e000000 /* Frame Sync Divide Factor */
-#define MFSSEL 0x60000000 /* Frame Sync Select */
-#define MFSSYNC 0x80000000 /* Frame Sync Synchronization Select */
-#define nMFSSYNC 0x0
-
-/* Bit masks for MXVR_CDRPLL_CTL */
-
-#define CDRSMEN 0x1 /* MXVR CDRPLL State Machine Enable */
-#define nCDRSMEN 0x0
-#define CDRRSTB 0x2 /* MXVR CDRPLL Reset */
-#define nCDRRSTB 0x0
-#define CDRSVCO 0x4 /* MXVR CDRPLL Start VCO */
-#define nCDRSVCO 0x0
-#define CDRMODE 0x8 /* MXVR CDRPLL CDR Mode Select */
-#define nCDRMODE 0x0
-#define CDRSCNT 0x3f0 /* MXVR CDRPLL Start Counter */
-#define CDRLCNT 0xfc00 /* MXVR CDRPLL Lock Counter */
-#define CDRSHPSEL 0x3f0000 /* MXVR CDRPLL Shaper Select */
-#define CDRSHPEN 0x800000 /* MXVR CDRPLL Shaper Enable */
-#define nCDRSHPEN 0x0
-#define CDRCPSEL 0xff000000 /* MXVR CDRPLL Charge Pump Current Select */
-
-/* Bit masks for MXVR_FMPLL_CTL */
-
-#define FMSMEN 0x1 /* MXVR FMPLL State Machine Enable */
-#define nFMSMEN 0x0
-#define FMRSTB 0x2 /* MXVR FMPLL Reset */
-#define nFMRSTB 0x0
-#define FMSVCO 0x4 /* MXVR FMPLL Start VCO */
-#define nFMSVCO 0x0
-#define FMSCNT 0x3f0 /* MXVR FMPLL Start Counter */
-#define FMLCNT 0xfc00 /* MXVR FMPLL Lock Counter */
-#define FMCPSEL 0xff000000 /* MXVR FMPLL Charge Pump Current Select */
-
-/* Bit masks for MXVR_PIN_CTL */
-
-#define MTXONBOD 0x1 /* MTXONB Open Drain Select */
-#define nMTXONBOD 0x0
-#define MTXONBG 0x2 /* MTXONB Gates MTX Select */
-#define nMTXONBG 0x0
-#define MFSOE 0x10 /* MFS Output Enable */
-#define nMFSOE 0x0
-#define MFSGPSEL 0x20 /* MFS General Purpose Output Select */
-#define nMFSGPSEL 0x0
-#define MFSGPDAT 0x40 /* MFS General Purpose Output Data */
-#define nMFSGPDAT 0x0
-
-/* Bit masks for MXVR_SCLK_CNT */
-
-#define SCNT 0xffff /* System Clock Count */
-
-/* Bit masks for KPAD_CTL */
-
-#define KPAD_EN 0x1 /* Keypad Enable */
-#define nKPAD_EN 0x0
-#define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */
-#define nKPAD_IRQMODE 0x0 /* Interrupt Disabled */
-#define KPAD_IRQMODE_SK 0x2 /* Single key (single row, single column) press interrupt enable */
-#define KPAD_IRQMODE_MK 0x4 /* Single key press multiple key press interrupt enable */
-#define KPAD_ROWEN 0x1c00 /* Row Enable Width */
-#define KPAD_COLEN 0xe000 /* Column Enable Width */
-
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_ROWEN(x) (((x)&0x7u)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7u)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#else
-#define SET_KPAD_ROWEN(x) (((x)&0x7)<<10) /* 000: row 0 enabled, 111: rows 0-7 enabled */
-#define SET_KPAD_COLEN(x) (((x)&0x7)<<13) /* 000: column 0 enabled, 111: columns 0-7 enabled */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for KPAD_PRESCALE */
-
-#define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_PRESCALE(x) ((x)&0x3Fu) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#else
-#define SET_KPAD_PRESCALE(x) ((x)&0x3F) /* KPAD_PRESCALE_VAL (Key Prescale). Key Prescale Value (5:0) */
-#endif /* MISRA_RULES */
-
-
-/* Bit masks for KPAD_MSEL */
-
-#define DBON_SCALE 0xff /* Debounce Scale Value */
-#define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */
-
-#ifdef _MISRA_RULES
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFFu) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFFu)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#else
-#define SET_KPAD_DBON_SCALE(x) ((x)&0xFF) /* DBON_SCALE (Debounce Scale). Debounce Delay Multiplier Select [7:0] */
-#define SET_KPAD_COLDRV_SCALE(x) (((x)&0xFF)<<8) /* COLDRV_SCALE (Column Driver Scale). Column Driver Period Multiplier Select [15:8] */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for KPAD_ROWCOL */
-
-#define KPAD_ROW 0xff /* Rows Pressed */
-#define KPAD_COL 0xff00 /* Columns Pressed */
-
-/* Bit masks for KPAD_STAT */
-
-#define KPAD_IRQ 0x1 /* Keypad Interrupt Status */
-#define nKPAD_IRQ 0x0
-#define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */
-#define KPAD_PRESSED 0x8 /* Key press current status */
-#define nKPAD_PRESSED 0x0
-#define KPAD_NO_KEY 0x0 /* No Keypress Status*/
-#define KPAD_SINGLE_KEY 0x2 /* Single Keypress Status */
-#define KPAD_MKSROWCOL 0x4 /* Multiple Keypress in the same row or column Status */
-#define KPAD_MKMROWCOL 0x6 /* Multiple Keypress in the same multiple rows and multiple columns Status */
-
-/* Bit masks for KPAD_SOFTEVAL */
-
-#define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */
-#define nKPAD_SOFTEVAL_E 0x0
-
-/* Bit masks for SDH_COMMAND */
-
-#define CMD_IDX 0x3f /* Command Index */
-#define CMD_RSP 0x40 /* Response */
-#define nCMD_RSP 0x0
-#define CMD_L_RSP 0x80 /* Long Response */
-#define nCMD_L_RSP 0x0
-#define CMD_INT_E 0x100 /* Command Interrupt */
-#define nCMD_INT_E 0x0
-#define CMD_PEND_E 0x200 /* Command Pending */
-#define nCMD_PEND_E 0x0
-#define CMD_E 0x400 /* Command Enable */
-#define nCMD_E 0x0
-
-/* Bit masks for SDH_PWR_CTL */
-
-#define PWR_ON 0x3 /* Power On */
-#if 0
-#define TBD 0x3c /* TBD */
-#endif
-#define SD_CMD_OD 0x40 /* Open Drain Output */
-#define nSD_CMD_OD 0x0
-#define ROD_CTL 0x80 /* Rod Control */
-#define nROD_CTL 0x0
-
-/* Bit masks for SDH_CLK_CTL */
-
-#define CLKDIV 0xff /* MC_CLK Divisor */
-#define CLK_E 0x100 /* MC_CLK Bus Clock Enable */
-#define nCLK_E 0x0
-#define PWR_SV_E 0x200 /* Power Save Enable */
-#define nPWR_SV_E 0x0
-#define CLKDIV_BYPASS 0x400 /* Bypass Divisor */
-#define nCLKDIV_BYPASS 0x0
-#define WIDE_BUS 0x800 /* Wide Bus Mode Enable */
-#define nWIDE_BUS 0x0
-
-/* Bit masks for SDH_RESP_CMD */
-
-#define RESP_CMD 0x3f /* Response Command */
-
-/* Bit masks for SDH_DATA_CTL */
-
-#define DTX_E 0x1 /* Data Transfer Enable */
-#define nDTX_E 0x0
-#define DTX_DIR 0x2 /* Data Transfer Direction */
-#define nDTX_DIR 0x0
-#define DTX_MODE 0x4 /* Data Transfer Mode */
-#define nDTX_MODE 0x0
-#define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */
-#define nDTX_DMA_E 0x0
-#define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */
-
-/* Bit masks for SDH_STATUS */
-
-#define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */
-#define nCMD_CRC_FAIL 0x0
-#define DAT_CRC_FAIL 0x2 /* Data CRC Fail */
-#define nDAT_CRC_FAIL 0x0
-#define CMD_TIMEOUT 0x4 /* CMD Time Out */
-#define nCMD_TIMEOUT 0x0
-#define DAT_TIMEOUT 0x8 /* Data Time Out */
-#define nDAT_TIMEOUT 0x0
-#define TX_UNDERRUN 0x10 /* Transmit Underrun */
-#define nTX_UNDERRUN 0x0
-#define RX_OVERRUN 0x20 /* Receive Overrun */
-#define nRX_OVERRUN 0x0
-#define CMD_RESP_END 0x40 /* CMD Response End */
-#define nCMD_RESP_END 0x0
-#define CMD_SENT 0x80 /* CMD Sent */
-#define nCMD_SENT 0x0
-#define DAT_END 0x100 /* Data End */
-#define nDAT_END 0x0
-#define START_BIT_ERR 0x200 /* Start Bit Error */
-#define nSTART_BIT_ERR 0x0
-#define DAT_BLK_END 0x400 /* Data Block End */
-#define nDAT_BLK_END 0x0
-#define CMD_ACT 0x800 /* CMD Active */
-#define nCMD_ACT 0x0
-#define TX_ACT 0x1000 /* Transmit Active */
-#define nTX_ACT 0x0
-#define RX_ACT 0x2000 /* Receive Active */
-#define nRX_ACT 0x0
-#define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */
-#define nTX_FIFO_STAT 0x0
-#define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */
-#define nRX_FIFO_STAT 0x0
-#define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */
-#define nTX_FIFO_FULL 0x0
-#define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */
-#define nRX_FIFO_FULL 0x0
-#define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */
-#define nTX_FIFO_ZERO 0x0
-#define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */
-#define nRX_DAT_ZERO 0x0
-#define TX_DAT_RDY 0x100000 /* Transmit Data Available */
-#define nTX_DAT_RDY 0x0
-#define RX_FIFO_RDY 0x200000 /* Receive Data Available */
-#define nRX_FIFO_RDY 0x0
-
-/* Bit masks for SDH_STATUS_CLR */
-
-#define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */
-#define nCMD_CRC_FAIL_STAT 0x0
-#define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */
-#define nDAT_CRC_FAIL_STAT 0x0
-#define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */
-#define nCMD_TIMEOUT_STAT 0x0
-#define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */
-#define nDAT_TIMEOUT_STAT 0x0
-#define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */
-#define nTX_UNDERRUN_STAT 0x0
-#define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */
-#define nRX_OVERRUN_STAT 0x0
-#define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */
-#define nCMD_RESP_END_STAT 0x0
-#define CMD_SENT_STAT 0x80 /* CMD Sent Status */
-#define nCMD_SENT_STAT 0x0
-#define DAT_END_STAT 0x100 /* Data End Status */
-#define nDAT_END_STAT 0x0
-#define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */
-#define nSTART_BIT_ERR_STAT 0x0
-#define DAT_BLK_END_STAT 0x400 /* Data Block End Status */
-#define nDAT_BLK_END_STAT 0x0
-
-/* Bit masks for SDH_MASK0 */
-
-#define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */
-#define nCMD_CRC_FAIL_MASK 0x0
-#define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */
-#define nDAT_CRC_FAIL_MASK 0x0
-#define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */
-#define nCMD_TIMEOUT_MASK 0x0
-#define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */
-#define nDAT_TIMEOUT_MASK 0x0
-#define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */
-#define nTX_UNDERRUN_MASK 0x0
-#define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */
-#define nRX_OVERRUN_MASK 0x0
-#define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */
-#define nCMD_RESP_END_MASK 0x0
-#define CMD_SENT_MASK 0x80 /* CMD Sent Mask */
-#define nCMD_SENT_MASK 0x0
-#define DAT_END_MASK 0x100 /* Data End Mask */
-#define nDAT_END_MASK 0x0
-#define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */
-#define nSTART_BIT_ERR_MASK 0x0
-#define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */
-#define nDAT_BLK_END_MASK 0x0
-#define CMD_ACT_MASK 0x800 /* CMD Active Mask */
-#define nCMD_ACT_MASK 0x0
-#define TX_ACT_MASK 0x1000 /* Transmit Active Mask */
-#define nTX_ACT_MASK 0x0
-#define RX_ACT_MASK 0x2000 /* Receive Active Mask */
-#define nRX_ACT_MASK 0x0
-#define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */
-#define nTX_FIFO_STAT_MASK 0x0
-#define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */
-#define nRX_FIFO_STAT_MASK 0x0
-#define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */
-#define nTX_FIFO_FULL_MASK 0x0
-#define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */
-#define nRX_FIFO_FULL_MASK 0x0
-#define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */
-#define nTX_FIFO_ZERO_MASK 0x0
-#define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */
-#define nRX_DAT_ZERO_MASK 0x0
-#define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */
-#define nTX_DAT_RDY_MASK 0x0
-#define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */
-#define nRX_FIFO_RDY_MASK 0x0
-
-/* Bit masks for SDH_FIFO_CNT */
-
-#define FIFO_COUNT 0x7fff /* FIFO Count */
-
-/* Bit masks for SDH_E_STATUS */
-
-#define SDIO_INT_DET 0x2 /* SDIO Int Detected */
-#define nSDIO_INT_DET 0x0
-#define SD_CARD_DET 0x10 /* SD Card Detect */
-#define nSD_CARD_DET 0x0
-
-/* Bit masks for SDH_E_MASK */
-
-#define SDIO_MSK 0x2 /* Mask SDIO Int Detected */
-#define nSDIO_MSK 0x0
-#define SCD_MSK 0x40 /* Mask Card Detect */
-#define nSCD_MSK 0x0
-
-/* Bit masks for SDH_CFG */
-
-#define CLKS_EN 0x1 /* Clocks Enable */
-#define nCLKS_EN 0x0
-#define SD4E 0x4 /* SDIO 4-Bit Enable */
-#define nSD4E 0x0
-#define MWE 0x8 /* Moving Window Enable */
-#define nMWE 0x0
-#define SD_RST 0x10 /* SDMMC Reset */
-#define nSD_RST 0x0
-#define PUP_SDDAT 0x20 /* Pull-up SD_DAT */
-#define nPUP_SDDAT 0x0
-#define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */
-#define nPUP_SDDAT3 0x0
-#define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */
-#define nPD_SDDAT3 0x0
-
-/* Bit masks for SDH_RD_WAIT_EN */
-
-#define RWR 0x1 /* Read Wait Request */
-#define nRWR 0x0
-
-/* Bit masks for ATAPI_CONTROL */
-
-#define PIO_START 0x1 /* Start PIO/Reg Op */
-#define nPIO_START 0x0
-#define MULTI_START 0x2 /* Start Multi-DMA Op */
-#define nMULTI_START 0x0
-#define ULTRA_START 0x4 /* Start Ultra-DMA Op */
-#define nULTRA_START 0x0
-#define XFER_DIR 0x8 /* Transfer Direction */
-#define nXFER_DIR 0x0
-#define IORDY_EN 0x10 /* IORDY Enable */
-#define nIORDY_EN 0x0
-#define FIFO_FLUSH 0x20 /* Flush FIFOs */
-#define nFIFO_FLUSH 0x0
-#define SOFT_RST 0x40 /* Soft Reset */
-#define nSOFT_RST 0x0
-#define DEV_RST 0x80 /* Device Reset */
-#define nDEV_RST 0x0
-#define TFRCNT_RST 0x100 /* Trans Count Reset */
-#define nTFRCNT_RST 0x0
-#define END_ON_TERM 0x200 /* End/Terminate Select */
-#define nEND_ON_TERM 0x0
-#define PIO_USE_DMA 0x400 /* PIO-DMA Enable */
-#define nPIO_USE_DMA 0x0
-#define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */
-
-/* Bit masks for ATAPI_STATUS */
-
-#define PIO_XFER_ON 0x1 /* PIO transfer in progress */
-#define nPIO_XFER_ON 0x0
-#define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */
-#define nMULTI_XFER_ON 0x0
-#define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */
-#define nULTRA_XFER_ON 0x0
-#define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */
-
-/* Bit masks for ATAPI_DEV_ADDR */
-
-#define DEV_ADDR 0x1f /* Device Address */
-
-/* Bit masks for ATAPI_INT_MASK */
-
-#define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */
-#define nATAPI_DEV_INT_MASK 0x0
-#define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */
-#define nPIO_DONE_MASK 0x0
-#define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */
-#define nMULTI_DONE_MASK 0x0
-#define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */
-#define nUDMAIN_DONE_MASK 0x0
-#define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */
-#define nUDMAOUT_DONE_MASK 0x0
-#define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */
-#define nHOST_TERM_XFER_MASK 0x0
-#define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */
-#define nMULTI_TERM_MASK 0x0
-#define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */
-#define nUDMAIN_TERM_MASK 0x0
-#define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */
-#define nUDMAOUT_TERM_MASK 0x0
-
-/* Bit masks for ATAPI_INT_STATUS */
-
-#define ATAPI_DEV_INT 0x1 /* Device interrupt status */
-#define nATAPI_DEV_INT 0x0
-#define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */
-#define nPIO_DONE_INT 0x0
-#define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */
-#define nMULTI_DONE_INT 0x0
-#define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */
-#define nUDMAIN_DONE_INT 0x0
-#define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */
-#define nUDMAOUT_DONE_INT 0x0
-#define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */
-#define nHOST_TERM_XFER_INT 0x0
-#define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */
-#define nMULTI_TERM_INT 0x0
-#define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */
-#define nUDMAIN_TERM_INT 0x0
-#define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */
-#define nUDMAOUT_TERM_INT 0x0
-
-/* Bit masks for ATAPI_LINE_STATUS */
-
-#define ATAPI_INTR 0x1 /* Device interrupt to host line status */
-#define nATAPI_INTR 0x0
-#define ATAPI_DASP 0x2 /* Device dasp to host line status */
-#define nATAPI_DASP 0x0
-#define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */
-#define nATAPI_CS0N 0x0
-#define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */
-#define nATAPI_CS1N 0x0
-#define ATAPI_ADDR 0x70 /* ATAPI address line status */
-#define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */
-#define nATAPI_DMAREQ 0x0
-#define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */
-#define nATAPI_DMAACKN 0x0
-#define ATAPI_DIOWN 0x200 /* ATAPI write line status */
-#define nATAPI_DIOWN 0x0
-#define ATAPI_DIORN 0x400 /* ATAPI read line status */
-#define nATAPI_DIORN 0x0
-#define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */
-#define nATAPI_IORDY 0x0
-
-/* Bit masks for ATAPI_SM_STATE */
-
-#define PIO_CSTATE 0xf /* PIO mode state machine current state */
-#define DMA_CSTATE 0xf0 /* DMA mode state machine current state */
-#define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */
-#define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */
-
-/* Bit masks for ATAPI_TERMINATE */
-
-#define ATAPI_HOST_TERM 0x1 /* Host terminationation */
-#define nATAPI_HOST_TERM 0x0
-
-/* Bit masks for ATAPI_REG_TIM_0 */
-
-#define T2_REG 0xff /* End of cycle time for register access transfers */
-#define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */
-
-/* Bit masks for ATAPI_PIO_TIM_0 */
-
-#define T1_REG 0xf /* Time from address valid to DIOR/DIOW */
-#define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */
-#define T4_REG 0xf000 /* DIOW data hold */
-
-/* Bit masks for ATAPI_PIO_TIM_1 */
-
-#define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */
-
-/* Bit masks for ATAPI_MULTI_TIM_0 */
-
-#define TD 0xff /* DIOR/DIOW asserted pulsewidth */
-#define TM 0xff00 /* Time from address valid to DIOR/DIOW */
-
-/* Bit masks for ATAPI_MULTI_TIM_1 */
-
-#define TKW 0xff /* Selects DIOW negated pulsewidth */
-#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
-
-/* Bit masks for ATAPI_MULTI_TIM_2 */
-
-#define TH 0xff /* Selects DIOW data hold */
-#define TEOC 0xff00 /* Selects end of cycle for DMA */
-
-/* Bit masks for ATAPI_ULTRA_TIM_0 */
-
-#define TACK 0xff /* Selects setup and hold times for TACK */
-#define TENV 0xff00 /* Selects envelope time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_1 */
-
-#define TDVS 0xff /* Selects data valid setup time */
-#define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_2 */
-
-#define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
-#define TMLI 0xff00 /* Selects interlock time */
-
-/* Bit masks for ATAPI_ULTRA_TIM_3 */
-
-#define TZAH 0xff /* Selects minimum delay required for output */
-#define READY_PAUSE 0xff00 /* Selects ready to pause */
-
-/* Bit masks for TIMER_ENABLE1 */
-
-#define TIMEN8 0x1 /* Timer 8 Enable */
-#define nTIMEN8 0x0
-#define TIMEN9 0x2 /* Timer 9 Enable */
-#define nTIMEN9 0x0
-#define TIMEN10 0x4 /* Timer 10 Enable */
-#define nTIMEN10 0x0
-
-/* Bit masks for TIMER_DISABLE1 */
-
-#define TIMDIS8 0x1 /* Timer 8 Disable */
-#define nTIMDIS8 0x0
-#define TIMDIS9 0x2 /* Timer 9 Disable */
-#define nTIMDIS9 0x0
-#define TIMDIS10 0x4 /* Timer 10 Disable */
-#define nTIMDIS10 0x0
-
-/* Bit masks for TIMER_STATUS1 */
-
-#define TIMIL8 0x1 /* Timer 8 Interrupt */
-#define nTIMIL8 0x0
-#define TIMIL9 0x2 /* Timer 9 Interrupt */
-#define nTIMIL9 0x0
-#define TIMIL10 0x4 /* Timer 10 Interrupt */
-#define nTIMIL10 0x0
-#define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */
-#define nTOVF_ERR8 0x0
-#define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */
-#define nTOVF_ERR9 0x0
-#define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */
-#define nTOVF_ERR10 0x0
-#define TRUN8 0x1000 /* Timer 8 Slave Enable Status */
-#define nTRUN8 0x0
-#define TRUN9 0x2000 /* Timer 9 Slave Enable Status */
-#define nTRUN9 0x0
-#define TRUN10 0x4000 /* Timer 10 Slave Enable Status */
-#define nTRUN10 0x0
-
-/* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */
-
-/* Bit masks for USB_FADDR */
-
-#define FUNCTION_ADDRESS 0x7f /* Function address */
-
-/* Bit masks for USB_POWER */
-
-#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
-#define nENABLE_SUSPENDM 0x0
-#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
-#define nSUSPEND_MODE 0x0
-#define RESUME_MODE 0x4 /* DMA Mode */
-#define nRESUME_MODE 0x0
-#define RESET 0x8 /* Reset indicator */
-#define nRESET 0x0
-#define HS_MODE 0x10 /* High Speed mode indicator */
-#define nHS_MODE 0x0
-#define HS_ENABLE 0x20 /* high Speed Enable */
-#define nHS_ENABLE 0x0
-#define SOFT_CONN 0x40 /* Soft connect */
-#define nSOFT_CONN 0x0
-#define ISO_UPDATE 0x80 /* Isochronous update */
-#define nISO_UPDATE 0x0
-
-/* Bit masks for USB_INTRTX */
-
-#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
-#define nEP0_TX 0x0
-#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
-#define nEP1_TX 0x0
-#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
-#define nEP2_TX 0x0
-#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
-#define nEP3_TX 0x0
-#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
-#define nEP4_TX 0x0
-#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
-#define nEP5_TX 0x0
-#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
-#define nEP6_TX 0x0
-#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
-#define nEP7_TX 0x0
-
-/* Bit masks for USB_INTRRX */
-
-#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
-#define nEP1_RX 0x0
-#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
-#define nEP2_RX 0x0
-#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
-#define nEP3_RX 0x0
-#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
-#define nEP4_RX 0x0
-#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
-#define nEP5_RX 0x0
-#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
-#define nEP6_RX 0x0
-#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
-#define nEP7_RX 0x0
-
-/* Bit masks for USB_INTRTXE */
-
-#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
-#define nEP0_TX_E 0x0
-#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
-#define nEP1_TX_E 0x0
-#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
-#define nEP2_TX_E 0x0
-#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
-#define nEP3_TX_E 0x0
-#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
-#define nEP4_TX_E 0x0
-#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
-#define nEP5_TX_E 0x0
-#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
-#define nEP6_TX_E 0x0
-#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
-#define nEP7_TX_E 0x0
-
-/* Bit masks for USB_INTRRXE */
-
-#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
-#define nEP1_RX_E 0x0
-#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
-#define nEP2_RX_E 0x0
-#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
-#define nEP3_RX_E 0x0
-#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
-#define nEP4_RX_E 0x0
-#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
-#define nEP5_RX_E 0x0
-#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
-#define nEP6_RX_E 0x0
-#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
-#define nEP7_RX_E 0x0
-
-/* Bit masks for USB_INTRUSB */
-
-#define SUSPEND_B 0x1 /* Suspend indicator */
-#define nSUSPEND_B 0x0
-#define RESUME_B 0x2 /* Resume indicator */
-#define nRESUME_B 0x0
-#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
-#define nRESET_OR_BABLE_B 0x0
-#define SOF_B 0x8 /* Start of frame */
-#define nSOF_B 0x0
-#define CONN_B 0x10 /* Connection indicator */
-#define nCONN_B 0x0
-#define DISCON_B 0x20 /* Disconnect indicator */
-#define nDISCON_B 0x0
-#define SESSION_REQ_B 0x40 /* Session Request */
-#define nSESSION_REQ_B 0x0
-#define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */
-#define nVBUS_ERROR_B 0x0
-
-/* Bit masks for USB_INTRUSBE */
-
-#define SUSPEND_BE 0x1 /* Suspend indicator int enable */
-#define nSUSPEND_BE 0x0
-#define RESUME_BE 0x2 /* Resume indicator int enable */
-#define nRESUME_BE 0x0
-#define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */
-#define nRESET_OR_BABLE_BE 0x0
-#define SOF_BE 0x8 /* Start of frame int enable */
-#define nSOF_BE 0x0
-#define CONN_BE 0x10 /* Connection indicator int enable */
-#define nCONN_BE 0x0
-#define DISCON_BE 0x20 /* Disconnect indicator int enable */
-#define nDISCON_BE 0x0
-#define SESSION_REQ_BE 0x40 /* Session Request int enable */
-#define nSESSION_REQ_BE 0x0
-#define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */
-#define nVBUS_ERROR_BE 0x0
-
-/* Bit masks for USB_FRAME */
-
-#define FRAME_NUMBER 0x7ff /* Frame number */
-
-/* Bit masks for USB_INDEX */
-
-#define SELECTED_ENDPOINT 0xf /* selected endpoint */
-
-/* Bit masks for USB_GLOBAL_CTL */
-
-#define GLOBAL_ENA 0x1 /* enables USB module */
-#define nGLOBAL_ENA 0x0
-#define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */
-#define nEP1_TX_ENA 0x0
-#define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */
-#define nEP2_TX_ENA 0x0
-#define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */
-#define nEP3_TX_ENA 0x0
-#define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */
-#define nEP4_TX_ENA 0x0
-#define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */
-#define nEP5_TX_ENA 0x0
-#define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */
-#define nEP6_TX_ENA 0x0
-#define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */
-#define nEP7_TX_ENA 0x0
-#define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */
-#define nEP1_RX_ENA 0x0
-#define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */
-#define nEP2_RX_ENA 0x0
-#define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */
-#define nEP3_RX_ENA 0x0
-#define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */
-#define nEP4_RX_ENA 0x0
-#define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */
-#define nEP5_RX_ENA 0x0
-#define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */
-#define nEP6_RX_ENA 0x0
-#define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */
-#define nEP7_RX_ENA 0x0
-
-/* Bit masks for USB_OTG_DEV_CTL */
-
-#define SESSION 0x1 /* session indicator */
-#define nSESSION 0x0
-#define HOST_REQ 0x2 /* Host negotiation request */
-#define nHOST_REQ 0x0
-#define HOST_MODE 0x4 /* indicates USBDRC is a host */
-#define nHOST_MODE 0x0
-#define VBUS0 0x8 /* Vbus level indicator[0] */
-#define nVBUS0 0x0
-#define VBUS1 0x10 /* Vbus level indicator[1] */
-#define nVBUS1 0x0
-#define LSDEV 0x20 /* Low-speed indicator */
-#define nLSDEV 0x0
-#define FSDEV 0x40 /* Full or High-speed indicator */
-#define nFSDEV 0x0
-#define B_DEVICE 0x80 /* A' or 'B' device indicator */
-#define nB_DEVICE 0x0
-
-/* Bit masks for USB_OTG_VBUS_IRQ */
-
-#define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */
-#define nDRIVE_VBUS_ON 0x0
-#define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */
-#define nDRIVE_VBUS_OFF 0x0
-#define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */
-#define nCHRG_VBUS_START 0x0
-#define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */
-#define nCHRG_VBUS_END 0x0
-#define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
-#define nDISCHRG_VBUS_START 0x0
-#define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
-#define nDISCHRG_VBUS_END 0x0
-
-/* Bit masks for USB_OTG_VBUS_MASK */
-
-#define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */
-#define nDRIVE_VBUS_ON_ENA 0x0
-#define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */
-#define nDRIVE_VBUS_OFF_ENA 0x0
-#define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */
-#define nCHRG_VBUS_START_ENA 0x0
-#define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */
-#define nCHRG_VBUS_END_ENA 0x0
-#define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */
-#define nDISCHRG_VBUS_START_ENA 0x0
-#define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */
-#define nDISCHRG_VBUS_END_ENA 0x0
-
-/* Bit masks for USB_CSR0 */
-
-#define RXPKTRDY 0x1 /* data packet receive indicator */
-#define nRXPKTRDY 0x0
-#define TXPKTRDY 0x2 /* data packet in FIFO indicator */
-#define nTXPKTRDY 0x0
-#define STALL_SENT 0x4 /* STALL handshake sent */
-#define nSTALL_SENT 0x0
-#define DATAEND 0x8 /* Data end indicator */
-#define nDATAEND 0x0
-#define SETUPEND 0x10 /* Setup end */
-#define nSETUPEND 0x0
-#define SENDSTALL 0x20 /* Send STALL handshake */
-#define nSENDSTALL 0x0
-#define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */
-#define nSERVICED_RXPKTRDY 0x0
-#define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */
-#define nSERVICED_SETUPEND 0x0
-#define FLUSHFIFO 0x100 /* flush endpoint FIFO */
-#define nFLUSHFIFO 0x0
-#define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */
-#define nSTALL_RECEIVED_H 0x0
-#define SETUPPKT_H 0x8 /* send Setup token host mode */
-#define nSETUPPKT_H 0x0
-#define ERROR_H 0x10 /* timeout error indicator host mode */
-#define nERROR_H 0x0
-#define REQPKT_H 0x20 /* Request an IN transaction host mode */
-#define nREQPKT_H 0x0
-#define STATUSPKT_H 0x40 /* Status stage transaction host mode */
-#define nSTATUSPKT_H 0x0
-#define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */
-#define nNAK_TIMEOUT_H 0x0
-
-/* Bit masks for USB_COUNT0 */
-
-#define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */
-
-/* Bit masks for USB_NAKLIMIT0 */
-
-#define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */
-
-/* Bit masks for USB_TX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_RX_MAX_PACKET */
-
-#define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */
-
-/* Bit masks for USB_TXCSR */
-
-#define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */
-#define nTXPKTRDY_T 0x0
-#define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */
-#define nFIFO_NOT_EMPTY_T 0x0
-#define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */
-#define nUNDERRUN_T 0x0
-#define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */
-#define nFLUSHFIFO_T 0x0
-#define STALL_SEND_T 0x10 /* issue a Stall handshake */
-#define nSTALL_SEND_T 0x0
-#define STALL_SENT_T 0x20 /* Stall handshake transmitted */
-#define nSTALL_SENT_T 0x0
-#define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_T 0x0
-#define INCOMPTX_T 0x80 /* indicates that a large packet is split */
-#define nINCOMPTX_T 0x0
-#define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_T 0x0
-#define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */
-#define nFORCE_DATATOGGLE_T 0x0
-#define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_T 0x0
-#define ISO_T 0x4000 /* enable Isochronous transfers */
-#define nISO_T 0x0
-#define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOSET_T 0x0
-#define ERROR_TH 0x4 /* error condition host mode */
-#define nERROR_TH 0x0
-#define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_TH 0x0
-#define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */
-#define nNAK_TIMEOUT_TH 0x0
-
-/* Bit masks for USB_TXCOUNT */
-
-#define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */
-
-/* Bit masks for USB_RXCSR */
-
-#define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */
-#define nRXPKTRDY_R 0x0
-#define FIFO_FULL_R 0x2 /* FIFO not empty */
-#define nFIFO_FULL_R 0x0
-#define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */
-#define nOVERRUN_R 0x0
-#define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */
-#define nDATAERROR_R 0x0
-#define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */
-#define nFLUSHFIFO_R 0x0
-#define STALL_SEND_R 0x20 /* issue a Stall handshake */
-#define nSTALL_SEND_R 0x0
-#define STALL_SENT_R 0x40 /* Stall handshake transmitted */
-#define nSTALL_SENT_R 0x0
-#define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */
-#define nCLEAR_DATATOGGLE_R 0x0
-#define INCOMPRX_R 0x100 /* indicates that a large packet is split */
-#define nINCOMPRX_R 0x0
-#define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */
-#define nDMAREQMODE_R 0x0
-#define DISNYET_R 0x1000 /* disable Nyet handshakes */
-#define nDISNYET_R 0x0
-#define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */
-#define nDMAREQ_ENA_R 0x0
-#define ISO_R 0x4000 /* enable Isochronous transfers */
-#define nISO_R 0x0
-#define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */
-#define nAUTOCLEAR_R 0x0
-#define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */
-#define nERROR_RH 0x0
-#define REQPKT_RH 0x20 /* request an IN transaction host mode */
-#define nREQPKT_RH 0x0
-#define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */
-#define nSTALL_RECEIVED_RH 0x0
-#define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */
-#define nINCOMPRX_RH 0x0
-#define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */
-#define nDMAREQMODE_RH 0x0
-#define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */
-#define nAUTOREQ_RH 0x0
-
-/* Bit masks for USB_RXCOUNT */
-
-#define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */
-
-/* Bit masks for USB_TXTYPE */
-
-#define TARGET_EP_NO_T 0xf /* EP number */
-#define PROTOCOL_T 0xc /* transfer type */
-
-/* Bit masks for USB_TXINTERVAL */
-
-#define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */
-
-/* Bit masks for USB_RXTYPE */
-
-#define TARGET_EP_NO_R 0xf /* EP number */
-#define PROTOCOL_R 0xc /* transfer type */
-
-/* Bit masks for USB_RXINTERVAL */
-
-#define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */
-
-/* Bit masks for USB_DMA_INTERRUPT */
-
-#define DMA0_INT 0x1 /* DMA0 pending interrupt */
-#define nDMA0_INT 0x0
-#define DMA1_INT 0x2 /* DMA1 pending interrupt */
-#define nDMA1_INT 0x0
-#define DMA2_INT 0x4 /* DMA2 pending interrupt */
-#define nDMA2_INT 0x0
-#define DMA3_INT 0x8 /* DMA3 pending interrupt */
-#define nDMA3_INT 0x0
-#define DMA4_INT 0x10 /* DMA4 pending interrupt */
-#define nDMA4_INT 0x0
-#define DMA5_INT 0x20 /* DMA5 pending interrupt */
-#define nDMA5_INT 0x0
-#define DMA6_INT 0x40 /* DMA6 pending interrupt */
-#define nDMA6_INT 0x0
-#define DMA7_INT 0x80 /* DMA7 pending interrupt */
-#define nDMA7_INT 0x0
-
-/* Bit masks for USB_DMAxCONTROL */
-
-#define DMA_ENA 0x1 /* DMA enable */
-#define nDMA_ENA 0x0
-#define DIRECTION 0x2 /* direction of DMA transfer */
-#define nDIRECTION 0x0
-#define MODE 0x4 /* DMA Bus error */
-#define nMODE 0x0
-#define INT_ENA 0x8 /* Interrupt enable */
-#define nINT_ENA 0x0
-#define EPNUM 0xf0 /* EP number */
-#define BUSERROR 0x100 /* DMA Bus error */
-#define nBUSERROR 0x0
-
-/* Bit masks for USB_DMAxADDRHIGH */
-
-#define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxADDRLOW */
-
-#define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTHIGH */
-
-#define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* Bit masks for USB_DMAxCOUNTLOW */
-
-#define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-/* ************************ */
-/* MXVR Address Offsets */
-/* ************************ */
-
-/* Control Message Receive Buffer (CMRB) Address Offsets */
-
-#define CMRB_STRIDE 0x00000016lu
-
-#define CMRB_DST_OFFSET 0x00000000lu
-#define CMRB_SRC_OFFSET 0x00000002lu
-#define CMRB_DATA_OFFSET 0x00000005lu
-
-/* Control Message Transmit Buffer (CMTB) Address Offsets */
-
-#define CMTB_PRIO_OFFSET 0x00000000lu
-#define CMTB_DST_OFFSET 0x00000002lu
-#define CMTB_SRC_OFFSET 0x00000004lu
-#define CMTB_TYPE_OFFSET 0x00000006lu
-#define CMTB_DATA_OFFSET 0x00000007lu
-
-#define CMTB_ANSWER_OFFSET 0x0000000Alu
-
-#define CMTB_STAT_N_OFFSET 0x00000018lu
-#define CMTB_STAT_A_OFFSET 0x00000016lu
-#define CMTB_STAT_D_OFFSET 0x0000000Elu
-#define CMTB_STAT_R_OFFSET 0x00000014lu
-#define CMTB_STAT_W_OFFSET 0x00000014lu
-#define CMTB_STAT_G_OFFSET 0x00000014lu
-
-/* Asynchronous Packet Receive Buffer (APRB) Address Offsets */
-
-#define APRB_STRIDE 0x00000400lu
-
-#define APRB_DST_OFFSET 0x00000000lu
-#define APRB_LEN_OFFSET 0x00000002lu
-#define APRB_SRC_OFFSET 0x00000004lu
-#define APRB_DATA_OFFSET 0x00000006lu
-
-/* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */
-
-#define APTB_PRIO_OFFSET 0x00000000lu
-#define APTB_DST_OFFSET 0x00000002lu
-#define APTB_LEN_OFFSET 0x00000004lu
-#define APTB_SRC_OFFSET 0x00000006lu
-#define APTB_DATA_OFFSET 0x00000008lu
-
-/* Remote Read Buffer (RRDB) Address Offsets */
-
-#define RRDB_WADDR_OFFSET 0x00000100lu
-#define RRDB_WLEN_OFFSET 0x00000101lu
-
-/* **************** */
-/* MXVR Macros */
-/* **************** */
-
-/* MXVR_CONFIG Macros */
-
-#ifdef _MISRA_RULES
-#define SET_MSB(x) ( ( (x) & 0xFu ) << 9)
-#else
-#define SET_MSB(x) ( ( (x) & 0xF ) << 9)
-#endif /* _MISRA_RULES */
-
-/* MXVR_INT_STAT_1 Macros */
-
-#define DONEX(x) (0x00000002 << (4 * (x)))
-#define HDONEX(x) (0x00000001 << (4 * (x)))
-
-/* MXVR_INT_EN_1 Macros */
-
-#define DONEENX(x) (0x00000002 << (4 * (x)))
-#define HDONEENX(x) (0x00000001 << (4 * (x)))
-
-/* MXVR_CDRPLL_CTL Macros */
-
-#ifdef _MISRA_RULES
-#define SET_CDRSHPSEL(x) ( ( (x) & 0x3Fu ) << 16)
-#else
-#define SET_CDRSHPSEL(x) ( ( (x) & 0x3F ) << 16)
-#endif /* _MISRA_RULES */
-
-/* MXVR_FMPLL_CTL Macros */
-
-#ifdef _MISRA_RULES
-#define SET_CDRCPSEL(x) ( ( (x) & 0xFFu ) << 24)
-#define SET_FMCPSEL(x) ( ( (x) & 0xFFu ) << 24)
-#else
-#define SET_CDRCPSEL(x) ( ( (x) & 0xFF ) << 24)
-#define SET_FMCPSEL(x) ( ( (x) & 0xFF ) << 24)
-#endif /* _MISRA_RULES */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF549_H */
diff --git a/libgloss/bfin/include/defBF549M.h b/libgloss/bfin/include/defBF549M.h
deleted file mode 100644
index 306345d..0000000
--- a/libgloss/bfin/include/defBF549M.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF549M.h
-**
-** Copyright (C) 2008-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This file just maps directly onto the def file for BF549, unless
-** anything is required to change for the M derivative.
-**
-**/
-
-#ifndef _DEF_BF549M_H
-#define _DEF_BF549M_H
-
-#include <defBF549.h>
-
-#endif /* _DEF_BF549M_H */
diff --git a/libgloss/bfin/include/defBF54x_base.h b/libgloss/bfin/include/defBF54x_base.h
deleted file mode 100644
index 62d11d6..0000000
--- a/libgloss/bfin/include/defBF54x_base.h
+++ /dev/null
@@ -1,5701 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF54x_base.h
-**
-** Copyright (C) 2006-2009 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF54x peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _DEF_BF54X_H
-#define _DEF_BF54X_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_1:"ADI Header allows long identifiers")
-#pragma diag(suppress:misra_rule_19_4:"ADI header allows any substitution text")
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function macros")
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-
-/* ************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF54x */
-/* ************************************************************** */
-
-/* PLL Registers */
-
-#define PLL_CTL 0xffc00000 /* PLL Control Register */
-#define PLL_DIV 0xffc00004 /* PLL Divisor Register */
-#define VR_CTL 0xffc00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xffc0000c /* PLL Status Register */
-#define PLL_LOCKCNT 0xffc00010 /* PLL Lock Count Register */
-
-/* Debug/MP/Emulation Registers (0xFFC00014 - 0xFFC00014) */
-
-#define CHIPID 0xffc00014
-
-/* System Reset and Interrupt Controller (0xFFC00100 - 0xFFC00104) */
-
-#define SWRST 0xffc00100 /* Software Reset Register */
-#define SYSCR 0xffc00104 /* System Configuration register */
-
-/* SIC Registers */
-
-#define SIC_IMASK0 0xffc0010c /* System Interrupt Mask Register 0 */
-#define SIC_IMASK1 0xffc00110 /* System Interrupt Mask Register 1 */
-#define SIC_IMASK2 0xffc00114 /* System Interrupt Mask Register 2 */
-#define SIC_ISR0 0xffc00118 /* System Interrupt Status Register 0 */
-#define SIC_ISR1 0xffc0011c /* System Interrupt Status Register 1 */
-#define SIC_ISR2 0xffc00120 /* System Interrupt Status Register 2 */
-#define SIC_IWR0 0xffc00124 /* System Interrupt Wakeup Register 0 */
-#define SIC_IWR1 0xffc00128 /* System Interrupt Wakeup Register 1 */
-#define SIC_IWR2 0xffc0012c /* System Interrupt Wakeup Register 2 */
-#define SIC_IAR0 0xffc00130 /* System Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xffc00134 /* System Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xffc00138 /* System Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xffc0013c /* System Interrupt Assignment Register 3 */
-#define SIC_IAR4 0xffc00140 /* System Interrupt Assignment Register 4 */
-#define SIC_IAR5 0xffc00144 /* System Interrupt Assignment Register 5 */
-#define SIC_IAR6 0xffc00148 /* System Interrupt Assignment Register 6 */
-#define SIC_IAR7 0xffc0014c /* System Interrupt Assignment Register 7 */
-#define SIC_IAR8 0xffc00150 /* System Interrupt Assignment Register 8 */
-#define SIC_IAR9 0xffc00154 /* System Interrupt Assignment Register 9 */
-#define SIC_IAR10 0xffc00158 /* System Interrupt Assignment Register 10 */
-#define SIC_IAR11 0xffc0015c /* System Interrupt Assignment Register 11 */
-
-/* Watchdog Timer Registers */
-
-#define WDOG_CTL 0xffc00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xffc00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xffc00208 /* Watchdog Status Register */
-
-/* RTC Registers */
-
-#define RTC_STAT 0xffc00300 /* RTC Status Register */
-#define RTC_ICTL 0xffc00304 /* RTC Interrupt Control Register */
-#define RTC_ISTAT 0xffc00308 /* RTC Interrupt Status Register */
-#define RTC_SWCNT 0xffc0030c /* RTC Stopwatch Count Register */
-#define RTC_ALARM 0xffc00310 /* RTC Alarm Register */
-#define RTC_PREN 0xffc00314 /* RTC Prescaler Enable Register */
-
-/* UART0 Registers */
-
-#define UART0_DLL 0xffc00400 /* Divisor Latch Low Byte */
-#define UART0_DLH 0xffc00404 /* Divisor Latch High Byte */
-#define UART0_GCTL 0xffc00408 /* Global Control Register */
-#define UART0_LCR 0xffc0040c /* Line Control Register */
-#define UART0_MCR 0xffc00410 /* Modem Control Register */
-#define UART0_LSR 0xffc00414 /* Line Status Register */
-#define UART0_MSR 0xffc00418 /* Modem Status Register */
-#define UART0_SCR 0xffc0041c /* Scratch Register */
-#define UART0_IER_SET 0xffc00420 /* Interrupt Enable Register Set */
-#define UART0_IER_CLEAR 0xffc00424 /* Interrupt Enable Register Clear */
-#define UART0_THR 0xffc00428 /* Transmit Hold Register */
-#define UART0_RBR 0xffc0042c /* Receive Buffer Register */
-
-/* SPI0 Registers */
-
-#define SPI0_CTL 0xffc00500 /* SPI0 Control Register */
-#define SPI0_FLG 0xffc00504 /* SPI0 Flag Register */
-#define SPI0_STAT 0xffc00508 /* SPI0 Status Register */
-#define SPI0_TDBR 0xffc0050c /* SPI0 Transmit Data Buffer Register */
-#define SPI0_RDBR 0xffc00510 /* SPI0 Receive Data Buffer Register */
-#define SPI0_BAUD 0xffc00514 /* SPI0 Baud Rate Register */
-#define SPI0_SHADOW 0xffc00518 /* SPI0 Receive Data Buffer Shadow Register */
-
-/* Timer Group of 3 registers are not defined in the shared file because they are not available on the ADSP-BF542 processor */
-
-/* Two Wire Interface Registers (TWI0) */
-
-#define TWI0_CLKDIV 0xffc00700 /* Clock Divider Register */
-#define TWI0_CONTROL 0xffc00704 /* TWI Control Register */
-#define TWI0_SLAVE_CTL 0xffc00708 /* TWI Slave Mode Control Register */
-#define TWI0_SLAVE_STAT 0xffc0070c /* TWI Slave Mode Status Register */
-#define TWI0_SLAVE_ADDR 0xffc00710 /* TWI Slave Mode Address Register */
-#define TWI0_MASTER_CTL 0xffc00714 /* TWI Master Mode Control Register */
-#define TWI0_MASTER_STAT 0xffc00718 /* TWI Master Mode Status Register */
-#define TWI0_MASTER_ADDR 0xffc0071c /* TWI Master Mode Address Register */
-#define TWI0_INT_STAT 0xffc00720 /* TWI Interrupt Status Register */
-#define TWI0_INT_MASK 0xffc00724 /* TWI Interrupt Mask Register */
-#define TWI0_FIFO_CTL 0xffc00728 /* TWI FIFO Control Register */
-#define TWI0_FIFO_STAT 0xffc0072c /* TWI FIFO Status Register */
-#define TWI0_XMT_DATA8 0xffc00780 /* TWI FIFO Transmit Data Single Byte Register */
-#define TWI0_XMT_DATA16 0xffc00784 /* TWI FIFO Transmit Data Double Byte Register */
-#define TWI0_RCV_DATA8 0xffc00788 /* TWI FIFO Receive Data Single Byte Register */
-#define TWI0_RCV_DATA16 0xffc0078c /* TWI FIFO Receive Data Double Byte Register */
-
-/* SPORT0 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
-
-/* SPORT1 Registers */
-
-#define SPORT1_TCR1 0xffc00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xffc00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xffc00908 /* SPORT1 Transmit Serial Clock Divider Register */
-#define SPORT1_TFSDIV 0xffc0090c /* SPORT1 Transmit Frame Sync Divider Register */
-#define SPORT1_TX 0xffc00910 /* SPORT1 Transmit Data Register */
-#define SPORT1_RX 0xffc00918 /* SPORT1 Receive Data Register */
-#define SPORT1_RCR1 0xffc00920 /* SPORT1 Receive Configuration 1 Register */
-#define SPORT1_RCR2 0xffc00924 /* SPORT1 Receive Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xffc00928 /* SPORT1 Receive Serial Clock Divider Register */
-#define SPORT1_RFSDIV 0xffc0092c /* SPORT1 Receive Frame Sync Divider Register */
-#define SPORT1_STAT 0xffc00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xffc00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xffc00938 /* SPORT1 Multi channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xffc0093c /* SPORT1 Multi channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xffc00940 /* SPORT1 Multi channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xffc00944 /* SPORT1 Multi channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xffc00948 /* SPORT1 Multi channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xffc0094c /* SPORT1 Multi channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xffc00950 /* SPORT1 Multi channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xffc00954 /* SPORT1 Multi channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xffc00958 /* SPORT1 Multi channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xffc0095c /* SPORT1 Multi channel Receive Select Register 3 */
-
-/* Asynchronous Memory Control Registers */
-
-#define EBIU_AMGCTL 0xffc00a00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xffc00a04 /* Asynchronous Memory Bank Control Register */
-#define EBIU_AMBCTL1 0xffc00a08 /* Asynchronous Memory Bank Control Register */
-#define EBIU_MBSCTL 0xffc00a0c /* Asynchronous Memory Bank Select Control Register */
-#define EBIU_ARBSTAT 0xffc00a10 /* Asynchronous Memory Arbiter Status Register */
-#define EBIU_MODE 0xffc00a14 /* Asynchronous Mode Control Register */
-#define EBIU_FCTL 0xffc00a18 /* Asynchronous Memory Flash Control Register */
-
-/* DDR Memory Control Registers */
-
-#define EBIU_DDRCTL0 0xffc00a20 /* DDR Memory Control 0 Register */
-#define EBIU_DDRCTL1 0xffc00a24 /* DDR Memory Control 1 Register */
-#define EBIU_DDRCTL2 0xffc00a28 /* DDR Memory Control 2 Register */
-#define EBIU_DDRCTL3 0xffc00a2c /* DDR Memory Control 3 Register */
-#define EBIU_DDRQUE 0xffc00a30 /* DDR Queue Configuration Register */
-#define EBIU_ERRADD 0xffc00a34 /* DDR Error Address Register */
-#define EBIU_ERRMST 0xffc00a38 /* DDR Error Master Register */
-#define EBIU_RSTCTL 0xffc00a3c /* DDR Reset Control Register */
-
-/* DDR BankRead and Write Count Registers */
-
-#define EBIU_DDRBRC0 0xffc00a60 /* DDR Bank0 Read Count Register */
-#define EBIU_DDRBRC1 0xffc00a64 /* DDR Bank1 Read Count Register */
-#define EBIU_DDRBRC2 0xffc00a68 /* DDR Bank2 Read Count Register */
-#define EBIU_DDRBRC3 0xffc00a6c /* DDR Bank3 Read Count Register */
-#define EBIU_DDRBRC4 0xffc00a70 /* DDR Bank4 Read Count Register */
-#define EBIU_DDRBRC5 0xffc00a74 /* DDR Bank5 Read Count Register */
-#define EBIU_DDRBRC6 0xffc00a78 /* DDR Bank6 Read Count Register */
-#define EBIU_DDRBRC7 0xffc00a7c /* DDR Bank7 Read Count Register */
-#define EBIU_DDRBWC0 0xffc00a80 /* DDR Bank0 Write Count Register */
-#define EBIU_DDRBWC1 0xffc00a84 /* DDR Bank1 Write Count Register */
-#define EBIU_DDRBWC2 0xffc00a88 /* DDR Bank2 Write Count Register */
-#define EBIU_DDRBWC3 0xffc00a8c /* DDR Bank3 Write Count Register */
-#define EBIU_DDRBWC4 0xffc00a90 /* DDR Bank4 Write Count Register */
-#define EBIU_DDRBWC5 0xffc00a94 /* DDR Bank5 Write Count Register */
-#define EBIU_DDRBWC6 0xffc00a98 /* DDR Bank6 Write Count Register */
-#define EBIU_DDRBWC7 0xffc00a9c /* DDR Bank7 Write Count Register */
-#define EBIU_DDRACCT 0xffc00aa0 /* DDR Activation Count Register */
-#define EBIU_DDRTACT 0xffc00aa8 /* DDR Turn Around Count Register */
-#define EBIU_DDRARCT 0xffc00aac /* DDR Auto-refresh Count Register */
-#define EBIU_DDRGC0 0xffc00ab0 /* DDR Grant Count 0 Register */
-#define EBIU_DDRGC1 0xffc00ab4 /* DDR Grant Count 1 Register */
-#define EBIU_DDRGC2 0xffc00ab8 /* DDR Grant Count 2 Register */
-#define EBIU_DDRGC3 0xffc00abc /* DDR Grant Count 3 Register */
-#define EBIU_DDRMCEN 0xffc00ac0 /* DDR Metrics Counter Enable Register */
-#define EBIU_DDRMCCL 0xffc00ac4 /* DDR Metrics Counter Clear Register */
-
-/* DMAC0 Registers */
-
-#define DMAC0_TCPER 0xffc00b0c /* DMA Controller 0 Traffic Control Periods Register */
-#define DMAC0_TCCNT 0xffc00b10 /* DMA Controller 0 Current Counts Register */
-
-/* DMA Channel 0 Registers */
-
-#define DMA0_NEXT_DESC_PTR 0xffc00c00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xffc00c04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xffc00c08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xffc00c10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xffc00c14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xffc00c18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xffc00c1c /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xffc00c20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xffc00c24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xffc00c28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xffc00c2c /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xffc00c30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xffc00c38 /* DMA Channel 0 Current Y Count Register */
-
-/* DMA Channel 1 Registers */
-
-#define DMA1_NEXT_DESC_PTR 0xffc00c40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xffc00c44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xffc00c48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xffc00c50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xffc00c54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xffc00c58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xffc00c5c /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xffc00c60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xffc00c64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xffc00c68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xffc00c6c /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xffc00c70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xffc00c78 /* DMA Channel 1 Current Y Count Register */
-
-/* DMA Channel 2 Registers */
-
-#define DMA2_NEXT_DESC_PTR 0xffc00c80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xffc00c84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xffc00c88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xffc00c90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xffc00c94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xffc00c98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xffc00c9c /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xffc00ca0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xffc00ca4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xffc00ca8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xffc00cac /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xffc00cb0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xffc00cb8 /* DMA Channel 2 Current Y Count Register */
-
-/* DMA Channel 3 Registers */
-
-#define DMA3_NEXT_DESC_PTR 0xffc00cc0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xffc00cc4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xffc00cc8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xffc00cd0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xffc00cd4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xffc00cd8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xffc00cdc /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xffc00ce0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xffc00ce4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xffc00ce8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xffc00cec /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xffc00cf0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xffc00cf8 /* DMA Channel 3 Current Y Count Register */
-
-/* DMA Channel 4 Registers */
-
-#define DMA4_NEXT_DESC_PTR 0xffc00d00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xffc00d04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xffc00d08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xffc00d10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xffc00d14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xffc00d18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xffc00d1c /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xffc00d20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xffc00d24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xffc00d28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xffc00d2c /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xffc00d30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xffc00d38 /* DMA Channel 4 Current Y Count Register */
-
-/* DMA Channel 5 Registers */
-
-#define DMA5_NEXT_DESC_PTR 0xffc00d40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xffc00d44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xffc00d48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xffc00d50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xffc00d54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xffc00d58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xffc00d5c /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xffc00d60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xffc00d64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xffc00d68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xffc00d6c /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xffc00d70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xffc00d78 /* DMA Channel 5 Current Y Count Register */
-
-/* DMA Channel 6 Registers */
-
-#define DMA6_NEXT_DESC_PTR 0xffc00d80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xffc00d84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xffc00d88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xffc00d90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xffc00d94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xffc00d98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xffc00d9c /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xffc00da0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xffc00da4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xffc00da8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xffc00dac /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xffc00db0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xffc00db8 /* DMA Channel 6 Current Y Count Register */
-
-/* DMA Channel 7 Registers */
-
-#define DMA7_NEXT_DESC_PTR 0xffc00dc0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xffc00dc4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xffc00dc8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xffc00dd0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xffc00dd4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xffc00dd8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xffc00ddc /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xffc00de0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xffc00de4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xffc00de8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xffc00dec /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xffc00df0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xffc00df8 /* DMA Channel 7 Current Y Count Register */
-
-/* DMA Channel 8 Registers */
-
-#define DMA8_NEXT_DESC_PTR 0xffc00e00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xffc00e04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xffc00e08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xffc00e10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xffc00e14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xffc00e18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xffc00e1c /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xffc00e20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xffc00e24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xffc00e28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xffc00e2c /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xffc00e30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xffc00e38 /* DMA Channel 8 Current Y Count Register */
-
-/* DMA Channel 9 Registers */
-
-#define DMA9_NEXT_DESC_PTR 0xffc00e40 /* DMA Channel 9 Next Descriptor Pointer Register */
-#define DMA9_START_ADDR 0xffc00e44 /* DMA Channel 9 Start Address Register */
-#define DMA9_CONFIG 0xffc00e48 /* DMA Channel 9 Configuration Register */
-#define DMA9_X_COUNT 0xffc00e50 /* DMA Channel 9 X Count Register */
-#define DMA9_X_MODIFY 0xffc00e54 /* DMA Channel 9 X Modify Register */
-#define DMA9_Y_COUNT 0xffc00e58 /* DMA Channel 9 Y Count Register */
-#define DMA9_Y_MODIFY 0xffc00e5c /* DMA Channel 9 Y Modify Register */
-#define DMA9_CURR_DESC_PTR 0xffc00e60 /* DMA Channel 9 Current Descriptor Pointer Register */
-#define DMA9_CURR_ADDR 0xffc00e64 /* DMA Channel 9 Current Address Register */
-#define DMA9_IRQ_STATUS 0xffc00e68 /* DMA Channel 9 Interrupt/Status Register */
-#define DMA9_PERIPHERAL_MAP 0xffc00e6c /* DMA Channel 9 Peripheral Map Register */
-#define DMA9_CURR_X_COUNT 0xffc00e70 /* DMA Channel 9 Current X Count Register */
-#define DMA9_CURR_Y_COUNT 0xffc00e78 /* DMA Channel 9 Current Y Count Register */
-
-/* DMA Channel 10 Registers */
-
-#define DMA10_NEXT_DESC_PTR 0xffc00e80 /* DMA Channel 10 Next Descriptor Pointer Register */
-#define DMA10_START_ADDR 0xffc00e84 /* DMA Channel 10 Start Address Register */
-#define DMA10_CONFIG 0xffc00e88 /* DMA Channel 10 Configuration Register */
-#define DMA10_X_COUNT 0xffc00e90 /* DMA Channel 10 X Count Register */
-#define DMA10_X_MODIFY 0xffc00e94 /* DMA Channel 10 X Modify Register */
-#define DMA10_Y_COUNT 0xffc00e98 /* DMA Channel 10 Y Count Register */
-#define DMA10_Y_MODIFY 0xffc00e9c /* DMA Channel 10 Y Modify Register */
-#define DMA10_CURR_DESC_PTR 0xffc00ea0 /* DMA Channel 10 Current Descriptor Pointer Register */
-#define DMA10_CURR_ADDR 0xffc00ea4 /* DMA Channel 10 Current Address Register */
-#define DMA10_IRQ_STATUS 0xffc00ea8 /* DMA Channel 10 Interrupt/Status Register */
-#define DMA10_PERIPHERAL_MAP 0xffc00eac /* DMA Channel 10 Peripheral Map Register */
-#define DMA10_CURR_X_COUNT 0xffc00eb0 /* DMA Channel 10 Current X Count Register */
-#define DMA10_CURR_Y_COUNT 0xffc00eb8 /* DMA Channel 10 Current Y Count Register */
-
-/* DMA Channel 11 Registers */
-
-#define DMA11_NEXT_DESC_PTR 0xffc00ec0 /* DMA Channel 11 Next Descriptor Pointer Register */
-#define DMA11_START_ADDR 0xffc00ec4 /* DMA Channel 11 Start Address Register */
-#define DMA11_CONFIG 0xffc00ec8 /* DMA Channel 11 Configuration Register */
-#define DMA11_X_COUNT 0xffc00ed0 /* DMA Channel 11 X Count Register */
-#define DMA11_X_MODIFY 0xffc00ed4 /* DMA Channel 11 X Modify Register */
-#define DMA11_Y_COUNT 0xffc00ed8 /* DMA Channel 11 Y Count Register */
-#define DMA11_Y_MODIFY 0xffc00edc /* DMA Channel 11 Y Modify Register */
-#define DMA11_CURR_DESC_PTR 0xffc00ee0 /* DMA Channel 11 Current Descriptor Pointer Register */
-#define DMA11_CURR_ADDR 0xffc00ee4 /* DMA Channel 11 Current Address Register */
-#define DMA11_IRQ_STATUS 0xffc00ee8 /* DMA Channel 11 Interrupt/Status Register */
-#define DMA11_PERIPHERAL_MAP 0xffc00eec /* DMA Channel 11 Peripheral Map Register */
-#define DMA11_CURR_X_COUNT 0xffc00ef0 /* DMA Channel 11 Current X Count Register */
-#define DMA11_CURR_Y_COUNT 0xffc00ef8 /* DMA Channel 11 Current Y Count Register */
-
-/* MDMA Stream 0 Registers */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xffc00f00 /* Memory DMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xffc00f04 /* Memory DMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xffc00f08 /* Memory DMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xffc00f10 /* Memory DMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xffc00f14 /* Memory DMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xffc00f18 /* Memory DMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xffc00f1c /* Memory DMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xffc00f20 /* Memory DMA Stream 0 Destination Current Descriptor Pointer Register */
-#define MDMA_D0_CURR_ADDR 0xffc00f24 /* Memory DMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xffc00f28 /* Memory DMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xffc00f2c /* Memory DMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xffc00f30 /* Memory DMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xffc00f38 /* Memory DMA Stream 0 Destination Current Y Count Register */
-#define MDMA_S0_NEXT_DESC_PTR 0xffc00f40 /* Memory DMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xffc00f44 /* Memory DMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xffc00f48 /* Memory DMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xffc00f50 /* Memory DMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xffc00f54 /* Memory DMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xffc00f58 /* Memory DMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xffc00f5c /* Memory DMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xffc00f60 /* Memory DMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xffc00f64 /* Memory DMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xffc00f68 /* Memory DMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xffc00f6c /* Memory DMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xffc00f70 /* Memory DMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xffc00f78 /* Memory DMA Stream 0 Source Current Y Count Register */
-
-/* MDMA Stream 1 Registers */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xffc00f80 /* Memory DMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xffc00f84 /* Memory DMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xffc00f88 /* Memory DMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xffc00f90 /* Memory DMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xffc00f94 /* Memory DMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xffc00f98 /* Memory DMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xffc00f9c /* Memory DMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xffc00fa0 /* Memory DMA Stream 1 Destination Current Descriptor Pointer Register */
-#define MDMA_D1_CURR_ADDR 0xffc00fa4 /* Memory DMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xffc00fa8 /* Memory DMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xffc00fac /* Memory DMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xffc00fb0 /* Memory DMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xffc00fb8 /* Memory DMA Stream 1 Destination Current Y Count Register */
-#define MDMA_S1_NEXT_DESC_PTR 0xffc00fc0 /* Memory DMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xffc00fc4 /* Memory DMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xffc00fc8 /* Memory DMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xffc00fd0 /* Memory DMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xffc00fd4 /* Memory DMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xffc00fd8 /* Memory DMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xffc00fdc /* Memory DMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xffc00fe0 /* Memory DMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xffc00fe4 /* Memory DMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xffc00fe8 /* Memory DMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xffc00fec /* Memory DMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xffc00ff0 /* Memory DMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xffc00ff8 /* Memory DMA Stream 1 Source Current Y Count Register */
-
-/* UART3 Registers */
-
-#define UART3_DLL 0xffc03100 /* Divisor Latch Low Byte */
-#define UART3_DLH 0xffc03104 /* Divisor Latch High Byte */
-#define UART3_GCTL 0xffc03108 /* Global Control Register */
-#define UART3_LCR 0xffc0310c /* Line Control Register */
-#define UART3_MCR 0xffc03110 /* Modem Control Register */
-#define UART3_LSR 0xffc03114 /* Line Status Register */
-#define UART3_MSR 0xffc03118 /* Modem Status Register */
-#define UART3_SCR 0xffc0311c /* Scratch Register */
-#define UART3_IER_SET 0xffc03120 /* Interrupt Enable Register Set */
-#define UART3_IER_CLEAR 0xffc03124 /* Interrupt Enable Register Clear */
-#define UART3_THR 0xffc03128 /* Transmit Hold Register */
-#define UART3_RBR 0xffc0312c /* Receive Buffer Register */
-
-/* EPPI1 Registers */
-
-#define EPPI1_STATUS 0xffc01300 /* EPPI1 Status Register */
-#define EPPI1_HCOUNT 0xffc01304 /* EPPI1 Horizontal Transfer Count Register */
-#define EPPI1_HDELAY 0xffc01308 /* EPPI1 Horizontal Delay Count Register */
-#define EPPI1_VCOUNT 0xffc0130c /* EPPI1 Vertical Transfer Count Register */
-#define EPPI1_VDELAY 0xffc01310 /* EPPI1 Vertical Delay Count Register */
-#define EPPI1_FRAME 0xffc01314 /* EPPI1 Lines per Frame Register */
-#define EPPI1_LINE 0xffc01318 /* EPPI1 Samples per Line Register */
-#define EPPI1_CLKDIV 0xffc0131c /* EPPI1 Clock Divide Register */
-#define EPPI1_CONTROL 0xffc01320 /* EPPI1 Control Register */
-#define EPPI1_FS1W_HBL 0xffc01324 /* EPPI1 FS1 Width Register / EPPI1 Horizontal Blanking Samples Per Line Register */
-#define EPPI1_FS1P_AVPL 0xffc01328 /* EPPI1 FS1 Period Register / EPPI1 Active Video Samples Per Line Register */
-#define EPPI1_FS2W_LVB 0xffc0132c /* EPPI1 FS2 Width Register / EPPI1 Lines of Vertical Blanking Register */
-#define EPPI1_FS2P_LAVF 0xffc01330 /* EPPI1 FS2 Period Register/ EPPI1 Lines of Active Video Per Field Register */
-#define EPPI1_CLIP 0xffc01334 /* EPPI1 Clipping Register */
-
-/* Port Interrupt 0 Registers (32-bit) */
-
-#define PINT0_MASK_SET 0xffc01400 /* Pin Interrupt 0 Mask Set Register */
-#define PINT0_MASK_CLEAR 0xffc01404 /* Pin Interrupt 0 Mask Clear Register */
-#define PINT0_REQUEST 0xffc01408 /* Pin Interrupt 0 Interrupt Request Register */
-#define PINT0_ASSIGN 0xffc0140c /* Pin Interrupt 0 Port Assign Register */
-#define PINT0_EDGE_SET 0xffc01410 /* Pin Interrupt 0 Edge-sensitivity Set Register */
-#define PINT0_EDGE_CLEAR 0xffc01414 /* Pin Interrupt 0 Edge-sensitivity Clear Register */
-#define PINT0_INVERT_SET 0xffc01418 /* Pin Interrupt 0 Inversion Set Register */
-#define PINT0_INVERT_CLEAR 0xffc0141c /* Pin Interrupt 0 Inversion Clear Register */
-#define PINT0_PINSTATE 0xffc01420 /* Pin Interrupt 0 Pin Status Register */
-#define PINT0_LATCH 0xffc01424 /* Pin Interrupt 0 Latch Register */
-
-/* Port Interrupt 1 Registers (32-bit) */
-
-#define PINT1_MASK_SET 0xffc01430 /* Pin Interrupt 1 Mask Set Register */
-#define PINT1_MASK_CLEAR 0xffc01434 /* Pin Interrupt 1 Mask Clear Register */
-#define PINT1_REQUEST 0xffc01438 /* Pin Interrupt 1 Interrupt Request Register */
-#define PINT1_ASSIGN 0xffc0143c /* Pin Interrupt 1 Port Assign Register */
-#define PINT1_EDGE_SET 0xffc01440 /* Pin Interrupt 1 Edge-sensitivity Set Register */
-#define PINT1_EDGE_CLEAR 0xffc01444 /* Pin Interrupt 1 Edge-sensitivity Clear Register */
-#define PINT1_INVERT_SET 0xffc01448 /* Pin Interrupt 1 Inversion Set Register */
-#define PINT1_INVERT_CLEAR 0xffc0144c /* Pin Interrupt 1 Inversion Clear Register */
-#define PINT1_PINSTATE 0xffc01450 /* Pin Interrupt 1 Pin Status Register */
-#define PINT1_LATCH 0xffc01454 /* Pin Interrupt 1 Latch Register */
-
-/* Port Interrupt 2 Registers (32-bit) */
-
-#define PINT2_MASK_SET 0xffc01460 /* Pin Interrupt 2 Mask Set Register */
-#define PINT2_MASK_CLEAR 0xffc01464 /* Pin Interrupt 2 Mask Clear Register */
-#define PINT2_REQUEST 0xffc01468 /* Pin Interrupt 2 Interrupt Request Register */
-#define PINT2_ASSIGN 0xffc0146c /* Pin Interrupt 2 Port Assign Register */
-#define PINT2_EDGE_SET 0xffc01470 /* Pin Interrupt 2 Edge-sensitivity Set Register */
-#define PINT2_EDGE_CLEAR 0xffc01474 /* Pin Interrupt 2 Edge-sensitivity Clear Register */
-#define PINT2_INVERT_SET 0xffc01478 /* Pin Interrupt 2 Inversion Set Register */
-#define PINT2_INVERT_CLEAR 0xffc0147c /* Pin Interrupt 2 Inversion Clear Register */
-#define PINT2_PINSTATE 0xffc01480 /* Pin Interrupt 2 Pin Status Register */
-#define PINT2_LATCH 0xffc01484 /* Pin Interrupt 2 Latch Register */
-
-/* Port Interrupt 3 Registers (32-bit) */
-
-#define PINT3_MASK_SET 0xffc01490 /* Pin Interrupt 3 Mask Set Register */
-#define PINT3_MASK_CLEAR 0xffc01494 /* Pin Interrupt 3 Mask Clear Register */
-#define PINT3_REQUEST 0xffc01498 /* Pin Interrupt 3 Interrupt Request Register */
-#define PINT3_ASSIGN 0xffc0149c /* Pin Interrupt 3 Port Assign Register */
-#define PINT3_EDGE_SET 0xffc014a0 /* Pin Interrupt 3 Edge-sensitivity Set Register */
-#define PINT3_EDGE_CLEAR 0xffc014a4 /* Pin Interrupt 3 Edge-sensitivity Clear Register */
-#define PINT3_INVERT_SET 0xffc014a8 /* Pin Interrupt 3 Inversion Set Register */
-#define PINT3_INVERT_CLEAR 0xffc014ac /* Pin Interrupt 3 Inversion Clear Register */
-#define PINT3_PINSTATE 0xffc014b0 /* Pin Interrupt 3 Pin Status Register */
-#define PINT3_LATCH 0xffc014b4 /* Pin Interrupt 3 Latch Register */
-
-/* Port A Registers */
-
-#define PORTA_FER 0xffc014c0 /* Function Enable Register */
-#define PORTA 0xffc014c4 /* GPIO Data Register */
-#define PORTA_SET 0xffc014c8 /* GPIO Data Set Register */
-#define PORTA_CLEAR 0xffc014cc /* GPIO Data Clear Register */
-#define PORTA_DIR_SET 0xffc014d0 /* GPIO Direction Set Register */
-#define PORTA_DIR_CLEAR 0xffc014d4 /* GPIO Direction Clear Register */
-#define PORTA_INEN 0xffc014d8 /* GPIO Input Enable Register */
-#define PORTA_MUX 0xffc014dc /* Multiplexer Control Register */
-
-/* Port B Registers */
-
-#define PORTB_FER 0xffc014e0 /* Function Enable Register */
-#define PORTB 0xffc014e4 /* GPIO Data Register */
-#define PORTB_SET 0xffc014e8 /* GPIO Data Set Register */
-#define PORTB_CLEAR 0xffc014ec /* GPIO Data Clear Register */
-#define PORTB_DIR_SET 0xffc014f0 /* GPIO Direction Set Register */
-#define PORTB_DIR_CLEAR 0xffc014f4 /* GPIO Direction Clear Register */
-#define PORTB_INEN 0xffc014f8 /* GPIO Input Enable Register */
-#define PORTB_MUX 0xffc014fc /* Multiplexer Control Register */
-
-/* Port C Registers */
-
-#define PORTC_FER 0xffc01500 /* Function Enable Register */
-#define PORTC 0xffc01504 /* GPIO Data Register */
-#define PORTC_SET 0xffc01508 /* GPIO Data Set Register */
-#define PORTC_CLEAR 0xffc0150c /* GPIO Data Clear Register */
-#define PORTC_DIR_SET 0xffc01510 /* GPIO Direction Set Register */
-#define PORTC_DIR_CLEAR 0xffc01514 /* GPIO Direction Clear Register */
-#define PORTC_INEN 0xffc01518 /* GPIO Input Enable Register */
-#define PORTC_MUX 0xffc0151c /* Multiplexer Control Register */
-
-/* Port D Registers */
-
-#define PORTD_FER 0xffc01520 /* Function Enable Register */
-#define PORTD 0xffc01524 /* GPIO Data Register */
-#define PORTD_SET 0xffc01528 /* GPIO Data Set Register */
-#define PORTD_CLEAR 0xffc0152c /* GPIO Data Clear Register */
-#define PORTD_DIR_SET 0xffc01530 /* GPIO Direction Set Register */
-#define PORTD_DIR_CLEAR 0xffc01534 /* GPIO Direction Clear Register */
-#define PORTD_INEN 0xffc01538 /* GPIO Input Enable Register */
-#define PORTD_MUX 0xffc0153c /* Multiplexer Control Register */
-
-/* Port E Registers */
-
-#define PORTE_FER 0xffc01540 /* Function Enable Register */
-#define PORTE 0xffc01544 /* GPIO Data Register */
-#define PORTE_SET 0xffc01548 /* GPIO Data Set Register */
-#define PORTE_CLEAR 0xffc0154c /* GPIO Data Clear Register */
-#define PORTE_DIR_SET 0xffc01550 /* GPIO Direction Set Register */
-#define PORTE_DIR_CLEAR 0xffc01554 /* GPIO Direction Clear Register */
-#define PORTE_INEN 0xffc01558 /* GPIO Input Enable Register */
-#define PORTE_MUX 0xffc0155c /* Multiplexer Control Register */
-
-/* Port F Registers */
-
-#define PORTF_FER 0xffc01560 /* Function Enable Register */
-#define PORTF 0xffc01564 /* GPIO Data Register */
-#define PORTF_SET 0xffc01568 /* GPIO Data Set Register */
-#define PORTF_CLEAR 0xffc0156c /* GPIO Data Clear Register */
-#define PORTF_DIR_SET 0xffc01570 /* GPIO Direction Set Register */
-#define PORTF_DIR_CLEAR 0xffc01574 /* GPIO Direction Clear Register */
-#define PORTF_INEN 0xffc01578 /* GPIO Input Enable Register */
-#define PORTF_MUX 0xffc0157c /* Multiplexer Control Register */
-
-/* Port G Registers */
-
-#define PORTG_FER 0xffc01580 /* Function Enable Register */
-#define PORTG 0xffc01584 /* GPIO Data Register */
-#define PORTG_SET 0xffc01588 /* GPIO Data Set Register */
-#define PORTG_CLEAR 0xffc0158c /* GPIO Data Clear Register */
-#define PORTG_DIR_SET 0xffc01590 /* GPIO Direction Set Register */
-#define PORTG_DIR_CLEAR 0xffc01594 /* GPIO Direction Clear Register */
-#define PORTG_INEN 0xffc01598 /* GPIO Input Enable Register */
-#define PORTG_MUX 0xffc0159c /* Multiplexer Control Register */
-
-/* Port H Registers */
-
-#define PORTH_FER 0xffc015a0 /* Function Enable Register */
-#define PORTH 0xffc015a4 /* GPIO Data Register */
-#define PORTH_SET 0xffc015a8 /* GPIO Data Set Register */
-#define PORTH_CLEAR 0xffc015ac /* GPIO Data Clear Register */
-#define PORTH_DIR_SET 0xffc015b0 /* GPIO Direction Set Register */
-#define PORTH_DIR_CLEAR 0xffc015b4 /* GPIO Direction Clear Register */
-#define PORTH_INEN 0xffc015b8 /* GPIO Input Enable Register */
-#define PORTH_MUX 0xffc015bc /* Multiplexer Control Register */
-
-/* Port I Registers */
-
-#define PORTI_FER 0xffc015c0 /* Function Enable Register */
-#define PORTI 0xffc015c4 /* GPIO Data Register */
-#define PORTI_SET 0xffc015c8 /* GPIO Data Set Register */
-#define PORTI_CLEAR 0xffc015cc /* GPIO Data Clear Register */
-#define PORTI_DIR_SET 0xffc015d0 /* GPIO Direction Set Register */
-#define PORTI_DIR_CLEAR 0xffc015d4 /* GPIO Direction Clear Register */
-#define PORTI_INEN 0xffc015d8 /* GPIO Input Enable Register */
-#define PORTI_MUX 0xffc015dc /* Multiplexer Control Register */
-
-/* Port J Registers */
-
-#define PORTJ_FER 0xffc015e0 /* Function Enable Register */
-#define PORTJ 0xffc015e4 /* GPIO Data Register */
-#define PORTJ_SET 0xffc015e8 /* GPIO Data Set Register */
-#define PORTJ_CLEAR 0xffc015ec /* GPIO Data Clear Register */
-#define PORTJ_DIR_SET 0xffc015f0 /* GPIO Direction Set Register */
-#define PORTJ_DIR_CLEAR 0xffc015f4 /* GPIO Direction Clear Register */
-#define PORTJ_INEN 0xffc015f8 /* GPIO Input Enable Register */
-#define PORTJ_MUX 0xffc015fc /* Multiplexer Control Register */
-
-/* PWM Timer Registers */
-
-#define TIMER0_CONFIG 0xffc01600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xffc01604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xffc01608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xffc0160c /* Timer 0 Width Register */
-#define TIMER1_CONFIG 0xffc01610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xffc01614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xffc01618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xffc0161c /* Timer 1 Width Register */
-#define TIMER2_CONFIG 0xffc01620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xffc01624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xffc01628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xffc0162c /* Timer 2 Width Register */
-#define TIMER3_CONFIG 0xffc01630 /* Timer 3 Configuration Register */
-#define TIMER3_COUNTER 0xffc01634 /* Timer 3 Counter Register */
-#define TIMER3_PERIOD 0xffc01638 /* Timer 3 Period Register */
-#define TIMER3_WIDTH 0xffc0163c /* Timer 3 Width Register */
-#define TIMER4_CONFIG 0xffc01640 /* Timer 4 Configuration Register */
-#define TIMER4_COUNTER 0xffc01644 /* Timer 4 Counter Register */
-#define TIMER4_PERIOD 0xffc01648 /* Timer 4 Period Register */
-#define TIMER4_WIDTH 0xffc0164c /* Timer 4 Width Register */
-#define TIMER5_CONFIG 0xffc01650 /* Timer 5 Configuration Register */
-#define TIMER5_COUNTER 0xffc01654 /* Timer 5 Counter Register */
-#define TIMER5_PERIOD 0xffc01658 /* Timer 5 Period Register */
-#define TIMER5_WIDTH 0xffc0165c /* Timer 5 Width Register */
-#define TIMER6_CONFIG 0xffc01660 /* Timer 6 Configuration Register */
-#define TIMER6_COUNTER 0xffc01664 /* Timer 6 Counter Register */
-#define TIMER6_PERIOD 0xffc01668 /* Timer 6 Period Register */
-#define TIMER6_WIDTH 0xffc0166c /* Timer 6 Width Register */
-#define TIMER7_CONFIG 0xffc01670 /* Timer 7 Configuration Register */
-#define TIMER7_COUNTER 0xffc01674 /* Timer 7 Counter Register */
-#define TIMER7_PERIOD 0xffc01678 /* Timer 7 Period Register */
-#define TIMER7_WIDTH 0xffc0167c /* Timer 7 Width Register */
-
-/* Timer Group of 8 */
-
-#define TIMER_ENABLE0 0xffc01680 /* Timer Group of 8 Enable Register */
-#define TIMER_DISABLE0 0xffc01684 /* Timer Group of 8 Disable Register */
-#define TIMER_STATUS0 0xffc01688 /* Timer Group of 8 Status Register */
-
-/* DMAC1 Registers */
-
-#define DMAC1_TCPER 0xffc01b0c /* DMA Controller 1 Traffic Control Periods Register */
-#define DMAC1_TCCNT 0xffc01b10 /* DMA Controller 1 Current Counts Register */
-
-/* DMA Channel 12 Registers */
-
-#define DMA12_NEXT_DESC_PTR 0xffc01c00 /* DMA Channel 12 Next Descriptor Pointer Register */
-#define DMA12_START_ADDR 0xffc01c04 /* DMA Channel 12 Start Address Register */
-#define DMA12_CONFIG 0xffc01c08 /* DMA Channel 12 Configuration Register */
-#define DMA12_X_COUNT 0xffc01c10 /* DMA Channel 12 X Count Register */
-#define DMA12_X_MODIFY 0xffc01c14 /* DMA Channel 12 X Modify Register */
-#define DMA12_Y_COUNT 0xffc01c18 /* DMA Channel 12 Y Count Register */
-#define DMA12_Y_MODIFY 0xffc01c1c /* DMA Channel 12 Y Modify Register */
-#define DMA12_CURR_DESC_PTR 0xffc01c20 /* DMA Channel 12 Current Descriptor Pointer Register */
-#define DMA12_CURR_ADDR 0xffc01c24 /* DMA Channel 12 Current Address Register */
-#define DMA12_IRQ_STATUS 0xffc01c28 /* DMA Channel 12 Interrupt/Status Register */
-#define DMA12_PERIPHERAL_MAP 0xffc01c2c /* DMA Channel 12 Peripheral Map Register */
-#define DMA12_CURR_X_COUNT 0xffc01c30 /* DMA Channel 12 Current X Count Register */
-#define DMA12_CURR_Y_COUNT 0xffc01c38 /* DMA Channel 12 Current Y Count Register */
-
-/* DMA Channel 13 Registers */
-
-#define DMA13_NEXT_DESC_PTR 0xffc01c40 /* DMA Channel 13 Next Descriptor Pointer Register */
-#define DMA13_START_ADDR 0xffc01c44 /* DMA Channel 13 Start Address Register */
-#define DMA13_CONFIG 0xffc01c48 /* DMA Channel 13 Configuration Register */
-#define DMA13_X_COUNT 0xffc01c50 /* DMA Channel 13 X Count Register */
-#define DMA13_X_MODIFY 0xffc01c54 /* DMA Channel 13 X Modify Register */
-#define DMA13_Y_COUNT 0xffc01c58 /* DMA Channel 13 Y Count Register */
-#define DMA13_Y_MODIFY 0xffc01c5c /* DMA Channel 13 Y Modify Register */
-#define DMA13_CURR_DESC_PTR 0xffc01c60 /* DMA Channel 13 Current Descriptor Pointer Register */
-#define DMA13_CURR_ADDR 0xffc01c64 /* DMA Channel 13 Current Address Register */
-#define DMA13_IRQ_STATUS 0xffc01c68 /* DMA Channel 13 Interrupt/Status Register */
-#define DMA13_PERIPHERAL_MAP 0xffc01c6c /* DMA Channel 13 Peripheral Map Register */
-#define DMA13_CURR_X_COUNT 0xffc01c70 /* DMA Channel 13 Current X Count Register */
-#define DMA13_CURR_Y_COUNT 0xffc01c78 /* DMA Channel 13 Current Y Count Register */
-
-/* DMA Channel 14 Registers */
-
-#define DMA14_NEXT_DESC_PTR 0xffc01c80 /* DMA Channel 14 Next Descriptor Pointer Register */
-#define DMA14_START_ADDR 0xffc01c84 /* DMA Channel 14 Start Address Register */
-#define DMA14_CONFIG 0xffc01c88 /* DMA Channel 14 Configuration Register */
-#define DMA14_X_COUNT 0xffc01c90 /* DMA Channel 14 X Count Register */
-#define DMA14_X_MODIFY 0xffc01c94 /* DMA Channel 14 X Modify Register */
-#define DMA14_Y_COUNT 0xffc01c98 /* DMA Channel 14 Y Count Register */
-#define DMA14_Y_MODIFY 0xffc01c9c /* DMA Channel 14 Y Modify Register */
-#define DMA14_CURR_DESC_PTR 0xffc01ca0 /* DMA Channel 14 Current Descriptor Pointer Register */
-#define DMA14_CURR_ADDR 0xffc01ca4 /* DMA Channel 14 Current Address Register */
-#define DMA14_IRQ_STATUS 0xffc01ca8 /* DMA Channel 14 Interrupt/Status Register */
-#define DMA14_PERIPHERAL_MAP 0xffc01cac /* DMA Channel 14 Peripheral Map Register */
-#define DMA14_CURR_X_COUNT 0xffc01cb0 /* DMA Channel 14 Current X Count Register */
-#define DMA14_CURR_Y_COUNT 0xffc01cb8 /* DMA Channel 14 Current Y Count Register */
-
-/* DMA Channel 15 Registers */
-
-#define DMA15_NEXT_DESC_PTR 0xffc01cc0 /* DMA Channel 15 Next Descriptor Pointer Register */
-#define DMA15_START_ADDR 0xffc01cc4 /* DMA Channel 15 Start Address Register */
-#define DMA15_CONFIG 0xffc01cc8 /* DMA Channel 15 Configuration Register */
-#define DMA15_X_COUNT 0xffc01cd0 /* DMA Channel 15 X Count Register */
-#define DMA15_X_MODIFY 0xffc01cd4 /* DMA Channel 15 X Modify Register */
-#define DMA15_Y_COUNT 0xffc01cd8 /* DMA Channel 15 Y Count Register */
-#define DMA15_Y_MODIFY 0xffc01cdc /* DMA Channel 15 Y Modify Register */
-#define DMA15_CURR_DESC_PTR 0xffc01ce0 /* DMA Channel 15 Current Descriptor Pointer Register */
-#define DMA15_CURR_ADDR 0xffc01ce4 /* DMA Channel 15 Current Address Register */
-#define DMA15_IRQ_STATUS 0xffc01ce8 /* DMA Channel 15 Interrupt/Status Register */
-#define DMA15_PERIPHERAL_MAP 0xffc01cec /* DMA Channel 15 Peripheral Map Register */
-#define DMA15_CURR_X_COUNT 0xffc01cf0 /* DMA Channel 15 Current X Count Register */
-#define DMA15_CURR_Y_COUNT 0xffc01cf8 /* DMA Channel 15 Current Y Count Register */
-
-/* DMA Channel 16 Registers */
-
-#define DMA16_NEXT_DESC_PTR 0xffc01d00 /* DMA Channel 16 Next Descriptor Pointer Register */
-#define DMA16_START_ADDR 0xffc01d04 /* DMA Channel 16 Start Address Register */
-#define DMA16_CONFIG 0xffc01d08 /* DMA Channel 16 Configuration Register */
-#define DMA16_X_COUNT 0xffc01d10 /* DMA Channel 16 X Count Register */
-#define DMA16_X_MODIFY 0xffc01d14 /* DMA Channel 16 X Modify Register */
-#define DMA16_Y_COUNT 0xffc01d18 /* DMA Channel 16 Y Count Register */
-#define DMA16_Y_MODIFY 0xffc01d1c /* DMA Channel 16 Y Modify Register */
-#define DMA16_CURR_DESC_PTR 0xffc01d20 /* DMA Channel 16 Current Descriptor Pointer Register */
-#define DMA16_CURR_ADDR 0xffc01d24 /* DMA Channel 16 Current Address Register */
-#define DMA16_IRQ_STATUS 0xffc01d28 /* DMA Channel 16 Interrupt/Status Register */
-#define DMA16_PERIPHERAL_MAP 0xffc01d2c /* DMA Channel 16 Peripheral Map Register */
-#define DMA16_CURR_X_COUNT 0xffc01d30 /* DMA Channel 16 Current X Count Register */
-#define DMA16_CURR_Y_COUNT 0xffc01d38 /* DMA Channel 16 Current Y Count Register */
-
-/* DMA Channel 17 Registers */
-
-#define DMA17_NEXT_DESC_PTR 0xffc01d40 /* DMA Channel 17 Next Descriptor Pointer Register */
-#define DMA17_START_ADDR 0xffc01d44 /* DMA Channel 17 Start Address Register */
-#define DMA17_CONFIG 0xffc01d48 /* DMA Channel 17 Configuration Register */
-#define DMA17_X_COUNT 0xffc01d50 /* DMA Channel 17 X Count Register */
-#define DMA17_X_MODIFY 0xffc01d54 /* DMA Channel 17 X Modify Register */
-#define DMA17_Y_COUNT 0xffc01d58 /* DMA Channel 17 Y Count Register */
-#define DMA17_Y_MODIFY 0xffc01d5c /* DMA Channel 17 Y Modify Register */
-#define DMA17_CURR_DESC_PTR 0xffc01d60 /* DMA Channel 17 Current Descriptor Pointer Register */
-#define DMA17_CURR_ADDR 0xffc01d64 /* DMA Channel 17 Current Address Register */
-#define DMA17_IRQ_STATUS 0xffc01d68 /* DMA Channel 17 Interrupt/Status Register */
-#define DMA17_PERIPHERAL_MAP 0xffc01d6c /* DMA Channel 17 Peripheral Map Register */
-#define DMA17_CURR_X_COUNT 0xffc01d70 /* DMA Channel 17 Current X Count Register */
-#define DMA17_CURR_Y_COUNT 0xffc01d78 /* DMA Channel 17 Current Y Count Register */
-
-/* DMA Channel 18 Registers */
-
-#define DMA18_NEXT_DESC_PTR 0xffc01d80 /* DMA Channel 18 Next Descriptor Pointer Register */
-#define DMA18_START_ADDR 0xffc01d84 /* DMA Channel 18 Start Address Register */
-#define DMA18_CONFIG 0xffc01d88 /* DMA Channel 18 Configuration Register */
-#define DMA18_X_COUNT 0xffc01d90 /* DMA Channel 18 X Count Register */
-#define DMA18_X_MODIFY 0xffc01d94 /* DMA Channel 18 X Modify Register */
-#define DMA18_Y_COUNT 0xffc01d98 /* DMA Channel 18 Y Count Register */
-#define DMA18_Y_MODIFY 0xffc01d9c /* DMA Channel 18 Y Modify Register */
-#define DMA18_CURR_DESC_PTR 0xffc01da0 /* DMA Channel 18 Current Descriptor Pointer Register */
-#define DMA18_CURR_ADDR 0xffc01da4 /* DMA Channel 18 Current Address Register */
-#define DMA18_IRQ_STATUS 0xffc01da8 /* DMA Channel 18 Interrupt/Status Register */
-#define DMA18_PERIPHERAL_MAP 0xffc01dac /* DMA Channel 18 Peripheral Map Register */
-#define DMA18_CURR_X_COUNT 0xffc01db0 /* DMA Channel 18 Current X Count Register */
-#define DMA18_CURR_Y_COUNT 0xffc01db8 /* DMA Channel 18 Current Y Count Register */
-
-/* DMA Channel 19 Registers */
-
-#define DMA19_NEXT_DESC_PTR 0xffc01dc0 /* DMA Channel 19 Next Descriptor Pointer Register */
-#define DMA19_START_ADDR 0xffc01dc4 /* DMA Channel 19 Start Address Register */
-#define DMA19_CONFIG 0xffc01dc8 /* DMA Channel 19 Configuration Register */
-#define DMA19_X_COUNT 0xffc01dd0 /* DMA Channel 19 X Count Register */
-#define DMA19_X_MODIFY 0xffc01dd4 /* DMA Channel 19 X Modify Register */
-#define DMA19_Y_COUNT 0xffc01dd8 /* DMA Channel 19 Y Count Register */
-#define DMA19_Y_MODIFY 0xffc01ddc /* DMA Channel 19 Y Modify Register */
-#define DMA19_CURR_DESC_PTR 0xffc01de0 /* DMA Channel 19 Current Descriptor Pointer Register */
-#define DMA19_CURR_ADDR 0xffc01de4 /* DMA Channel 19 Current Address Register */
-#define DMA19_IRQ_STATUS 0xffc01de8 /* DMA Channel 19 Interrupt/Status Register */
-#define DMA19_PERIPHERAL_MAP 0xffc01dec /* DMA Channel 19 Peripheral Map Register */
-#define DMA19_CURR_X_COUNT 0xffc01df0 /* DMA Channel 19 Current X Count Register */
-#define DMA19_CURR_Y_COUNT 0xffc01df8 /* DMA Channel 19 Current Y Count Register */
-
-/* DMA Channel 20 Registers */
-
-#define DMA20_NEXT_DESC_PTR 0xffc01e00 /* DMA Channel 20 Next Descriptor Pointer Register */
-#define DMA20_START_ADDR 0xffc01e04 /* DMA Channel 20 Start Address Register */
-#define DMA20_CONFIG 0xffc01e08 /* DMA Channel 20 Configuration Register */
-#define DMA20_X_COUNT 0xffc01e10 /* DMA Channel 20 X Count Register */
-#define DMA20_X_MODIFY 0xffc01e14 /* DMA Channel 20 X Modify Register */
-#define DMA20_Y_COUNT 0xffc01e18 /* DMA Channel 20 Y Count Register */
-#define DMA20_Y_MODIFY 0xffc01e1c /* DMA Channel 20 Y Modify Register */
-#define DMA20_CURR_DESC_PTR 0xffc01e20 /* DMA Channel 20 Current Descriptor Pointer Register */
-#define DMA20_CURR_ADDR 0xffc01e24 /* DMA Channel 20 Current Address Register */
-#define DMA20_IRQ_STATUS 0xffc01e28 /* DMA Channel 20 Interrupt/Status Register */
-#define DMA20_PERIPHERAL_MAP 0xffc01e2c /* DMA Channel 20 Peripheral Map Register */
-#define DMA20_CURR_X_COUNT 0xffc01e30 /* DMA Channel 20 Current X Count Register */
-#define DMA20_CURR_Y_COUNT 0xffc01e38 /* DMA Channel 20 Current Y Count Register */
-
-/* DMA Channel 21 Registers */
-
-#define DMA21_NEXT_DESC_PTR 0xffc01e40 /* DMA Channel 21 Next Descriptor Pointer Register */
-#define DMA21_START_ADDR 0xffc01e44 /* DMA Channel 21 Start Address Register */
-#define DMA21_CONFIG 0xffc01e48 /* DMA Channel 21 Configuration Register */
-#define DMA21_X_COUNT 0xffc01e50 /* DMA Channel 21 X Count Register */
-#define DMA21_X_MODIFY 0xffc01e54 /* DMA Channel 21 X Modify Register */
-#define DMA21_Y_COUNT 0xffc01e58 /* DMA Channel 21 Y Count Register */
-#define DMA21_Y_MODIFY 0xffc01e5c /* DMA Channel 21 Y Modify Register */
-#define DMA21_CURR_DESC_PTR 0xffc01e60 /* DMA Channel 21 Current Descriptor Pointer Register */
-#define DMA21_CURR_ADDR 0xffc01e64 /* DMA Channel 21 Current Address Register */
-#define DMA21_IRQ_STATUS 0xffc01e68 /* DMA Channel 21 Interrupt/Status Register */
-#define DMA21_PERIPHERAL_MAP 0xffc01e6c /* DMA Channel 21 Peripheral Map Register */
-#define DMA21_CURR_X_COUNT 0xffc01e70 /* DMA Channel 21 Current X Count Register */
-#define DMA21_CURR_Y_COUNT 0xffc01e78 /* DMA Channel 21 Current Y Count Register */
-
-/* DMA Channel 22 Registers */
-
-#define DMA22_NEXT_DESC_PTR 0xffc01e80 /* DMA Channel 22 Next Descriptor Pointer Register */
-#define DMA22_START_ADDR 0xffc01e84 /* DMA Channel 22 Start Address Register */
-#define DMA22_CONFIG 0xffc01e88 /* DMA Channel 22 Configuration Register */
-#define DMA22_X_COUNT 0xffc01e90 /* DMA Channel 22 X Count Register */
-#define DMA22_X_MODIFY 0xffc01e94 /* DMA Channel 22 X Modify Register */
-#define DMA22_Y_COUNT 0xffc01e98 /* DMA Channel 22 Y Count Register */
-#define DMA22_Y_MODIFY 0xffc01e9c /* DMA Channel 22 Y Modify Register */
-#define DMA22_CURR_DESC_PTR 0xffc01ea0 /* DMA Channel 22 Current Descriptor Pointer Register */
-#define DMA22_CURR_ADDR 0xffc01ea4 /* DMA Channel 22 Current Address Register */
-#define DMA22_IRQ_STATUS 0xffc01ea8 /* DMA Channel 22 Interrupt/Status Register */
-#define DMA22_PERIPHERAL_MAP 0xffc01eac /* DMA Channel 22 Peripheral Map Register */
-#define DMA22_CURR_X_COUNT 0xffc01eb0 /* DMA Channel 22 Current X Count Register */
-#define DMA22_CURR_Y_COUNT 0xffc01eb8 /* DMA Channel 22 Current Y Count Register */
-
-/* DMA Channel 23 Registers */
-
-#define DMA23_NEXT_DESC_PTR 0xffc01ec0 /* DMA Channel 23 Next Descriptor Pointer Register */
-#define DMA23_START_ADDR 0xffc01ec4 /* DMA Channel 23 Start Address Register */
-#define DMA23_CONFIG 0xffc01ec8 /* DMA Channel 23 Configuration Register */
-#define DMA23_X_COUNT 0xffc01ed0 /* DMA Channel 23 X Count Register */
-#define DMA23_X_MODIFY 0xffc01ed4 /* DMA Channel 23 X Modify Register */
-#define DMA23_Y_COUNT 0xffc01ed8 /* DMA Channel 23 Y Count Register */
-#define DMA23_Y_MODIFY 0xffc01edc /* DMA Channel 23 Y Modify Register */
-#define DMA23_CURR_DESC_PTR 0xffc01ee0 /* DMA Channel 23 Current Descriptor Pointer Register */
-#define DMA23_CURR_ADDR 0xffc01ee4 /* DMA Channel 23 Current Address Register */
-#define DMA23_IRQ_STATUS 0xffc01ee8 /* DMA Channel 23 Interrupt/Status Register */
-#define DMA23_PERIPHERAL_MAP 0xffc01eec /* DMA Channel 23 Peripheral Map Register */
-#define DMA23_CURR_X_COUNT 0xffc01ef0 /* DMA Channel 23 Current X Count Register */
-#define DMA23_CURR_Y_COUNT 0xffc01ef8 /* DMA Channel 23 Current Y Count Register */
-
-/* MDMA Stream 2 Registers */
-
-#define MDMA_D2_NEXT_DESC_PTR 0xffc01f00 /* Memory DMA Stream 2 Destination Next Descriptor Pointer Register */
-#define MDMA_D2_START_ADDR 0xffc01f04 /* Memory DMA Stream 2 Destination Start Address Register */
-#define MDMA_D2_CONFIG 0xffc01f08 /* Memory DMA Stream 2 Destination Configuration Register */
-#define MDMA_D2_X_COUNT 0xffc01f10 /* Memory DMA Stream 2 Destination X Count Register */
-#define MDMA_D2_X_MODIFY 0xffc01f14 /* Memory DMA Stream 2 Destination X Modify Register */
-#define MDMA_D2_Y_COUNT 0xffc01f18 /* Memory DMA Stream 2 Destination Y Count Register */
-#define MDMA_D2_Y_MODIFY 0xffc01f1c /* Memory DMA Stream 2 Destination Y Modify Register */
-#define MDMA_D2_CURR_DESC_PTR 0xffc01f20 /* Memory DMA Stream 2 Destination Current Descriptor Pointer Register */
-#define MDMA_D2_CURR_ADDR 0xffc01f24 /* Memory DMA Stream 2 Destination Current Address Register */
-#define MDMA_D2_IRQ_STATUS 0xffc01f28 /* Memory DMA Stream 2 Destination Interrupt/Status Register */
-#define MDMA_D2_PERIPHERAL_MAP 0xffc01f2c /* Memory DMA Stream 2 Destination Peripheral Map Register */
-#define MDMA_D2_CURR_X_COUNT 0xffc01f30 /* Memory DMA Stream 2 Destination Current X Count Register */
-#define MDMA_D2_CURR_Y_COUNT 0xffc01f38 /* Memory DMA Stream 2 Destination Current Y Count Register */
-#define MDMA_S2_NEXT_DESC_PTR 0xffc01f40 /* Memory DMA Stream 2 Source Next Descriptor Pointer Register */
-#define MDMA_S2_START_ADDR 0xffc01f44 /* Memory DMA Stream 2 Source Start Address Register */
-#define MDMA_S2_CONFIG 0xffc01f48 /* Memory DMA Stream 2 Source Configuration Register */
-#define MDMA_S2_X_COUNT 0xffc01f50 /* Memory DMA Stream 2 Source X Count Register */
-#define MDMA_S2_X_MODIFY 0xffc01f54 /* Memory DMA Stream 2 Source X Modify Register */
-#define MDMA_S2_Y_COUNT 0xffc01f58 /* Memory DMA Stream 2 Source Y Count Register */
-#define MDMA_S2_Y_MODIFY 0xffc01f5c /* Memory DMA Stream 2 Source Y Modify Register */
-#define MDMA_S2_CURR_DESC_PTR 0xffc01f60 /* Memory DMA Stream 2 Source Current Descriptor Pointer Register */
-#define MDMA_S2_CURR_ADDR 0xffc01f64 /* Memory DMA Stream 2 Source Current Address Register */
-#define MDMA_S2_IRQ_STATUS 0xffc01f68 /* Memory DMA Stream 2 Source Interrupt/Status Register */
-#define MDMA_S2_PERIPHERAL_MAP 0xffc01f6c /* Memory DMA Stream 2 Source Peripheral Map Register */
-#define MDMA_S2_CURR_X_COUNT 0xffc01f70 /* Memory DMA Stream 2 Source Current X Count Register */
-#define MDMA_S2_CURR_Y_COUNT 0xffc01f78 /* Memory DMA Stream 2 Source Current Y Count Register */
-
-/* MDMA Stream 3 Registers */
-
-#define MDMA_D3_NEXT_DESC_PTR 0xffc01f80 /* Memory DMA Stream 3 Destination Next Descriptor Pointer Register */
-#define MDMA_D3_START_ADDR 0xffc01f84 /* Memory DMA Stream 3 Destination Start Address Register */
-#define MDMA_D3_CONFIG 0xffc01f88 /* Memory DMA Stream 3 Destination Configuration Register */
-#define MDMA_D3_X_COUNT 0xffc01f90 /* Memory DMA Stream 3 Destination X Count Register */
-#define MDMA_D3_X_MODIFY 0xffc01f94 /* Memory DMA Stream 3 Destination X Modify Register */
-#define MDMA_D3_Y_COUNT 0xffc01f98 /* Memory DMA Stream 3 Destination Y Count Register */
-#define MDMA_D3_Y_MODIFY 0xffc01f9c /* Memory DMA Stream 3 Destination Y Modify Register */
-#define MDMA_D3_CURR_DESC_PTR 0xffc01fa0 /* Memory DMA Stream 3 Destination Current Descriptor Pointer Register */
-#define MDMA_D3_CURR_ADDR 0xffc01fa4 /* Memory DMA Stream 3 Destination Current Address Register */
-#define MDMA_D3_IRQ_STATUS 0xffc01fa8 /* Memory DMA Stream 3 Destination Interrupt/Status Register */
-#define MDMA_D3_PERIPHERAL_MAP 0xffc01fac /* Memory DMA Stream 3 Destination Peripheral Map Register */
-#define MDMA_D3_CURR_X_COUNT 0xffc01fb0 /* Memory DMA Stream 3 Destination Current X Count Register */
-#define MDMA_D3_CURR_Y_COUNT 0xffc01fb8 /* Memory DMA Stream 3 Destination Current Y Count Register */
-#define MDMA_S3_NEXT_DESC_PTR 0xffc01fc0 /* Memory DMA Stream 3 Source Next Descriptor Pointer Register */
-#define MDMA_S3_START_ADDR 0xffc01fc4 /* Memory DMA Stream 3 Source Start Address Register */
-#define MDMA_S3_CONFIG 0xffc01fc8 /* Memory DMA Stream 3 Source Configuration Register */
-#define MDMA_S3_X_COUNT 0xffc01fd0 /* Memory DMA Stream 3 Source X Count Register */
-#define MDMA_S3_X_MODIFY 0xffc01fd4 /* Memory DMA Stream 3 Source X Modify Register */
-#define MDMA_S3_Y_COUNT 0xffc01fd8 /* Memory DMA Stream 3 Source Y Count Register */
-#define MDMA_S3_Y_MODIFY 0xffc01fdc /* Memory DMA Stream 3 Source Y Modify Register */
-#define MDMA_S3_CURR_DESC_PTR 0xffc01fe0 /* Memory DMA Stream 3 Source Current Descriptor Pointer Register */
-#define MDMA_S3_CURR_ADDR 0xffc01fe4 /* Memory DMA Stream 3 Source Current Address Register */
-#define MDMA_S3_IRQ_STATUS 0xffc01fe8 /* Memory DMA Stream 3 Source Interrupt/Status Register */
-#define MDMA_S3_PERIPHERAL_MAP 0xffc01fec /* Memory DMA Stream 3 Source Peripheral Map Register */
-#define MDMA_S3_CURR_X_COUNT 0xffc01ff0 /* Memory DMA Stream 3 Source Current X Count Register */
-#define MDMA_S3_CURR_Y_COUNT 0xffc01ff8 /* Memory DMA Stream 3 Source Current Y Count Register */
-
-/* UART1 Registers */
-
-#define UART1_DLL 0xffc02000 /* Divisor Latch Low Byte */
-#define UART1_DLH 0xffc02004 /* Divisor Latch High Byte */
-#define UART1_GCTL 0xffc02008 /* Global Control Register */
-#define UART1_LCR 0xffc0200c /* Line Control Register */
-#define UART1_MCR 0xffc02010 /* Modem Control Register */
-#define UART1_LSR 0xffc02014 /* Line Status Register */
-#define UART1_MSR 0xffc02018 /* Modem Status Register */
-#define UART1_SCR 0xffc0201c /* Scratch Register */
-#define UART1_IER_SET 0xffc02020 /* Interrupt Enable Register Set */
-#define UART1_IER_CLEAR 0xffc02024 /* Interrupt Enable Register Clear */
-#define UART1_THR 0xffc02028 /* Transmit Hold Register */
-#define UART1_RBR 0xffc0202c /* Receive Buffer Register */
-
-/* UART2 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
-
-/* SPI1 Registers */
-
-#define SPI1_CTL 0xffc02300 /* SPI1 Control Register */
-#define SPI1_FLG 0xffc02304 /* SPI1 Flag Register */
-#define SPI1_STAT 0xffc02308 /* SPI1 Status Register */
-#define SPI1_TDBR 0xffc0230c /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xffc02310 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xffc02314 /* SPI1 Baud Rate Register */
-#define SPI1_SHADOW 0xffc02318 /* SPI1 Receive Data Buffer Shadow Register */
-
-/* SPORT2 Registers */
-
-#define SPORT2_TCR1 0xffc02500 /* SPORT2 Transmit Configuration 1 Register */
-#define SPORT2_TCR2 0xffc02504 /* SPORT2 Transmit Configuration 2 Register */
-#define SPORT2_TCLKDIV 0xffc02508 /* SPORT2 Transmit Serial Clock Divider Register */
-#define SPORT2_TFSDIV 0xffc0250c /* SPORT2 Transmit Frame Sync Divider Register */
-#define SPORT2_TX 0xffc02510 /* SPORT2 Transmit Data Register */
-#define SPORT2_RX 0xffc02518 /* SPORT2 Receive Data Register */
-#define SPORT2_RCR1 0xffc02520 /* SPORT2 Receive Configuration 1 Register */
-#define SPORT2_RCR2 0xffc02524 /* SPORT2 Receive Configuration 2 Register */
-#define SPORT2_RCLKDIV 0xffc02528 /* SPORT2 Receive Serial Clock Divider Register */
-#define SPORT2_RFSDIV 0xffc0252c /* SPORT2 Receive Frame Sync Divider Register */
-#define SPORT2_STAT 0xffc02530 /* SPORT2 Status Register */
-#define SPORT2_CHNL 0xffc02534 /* SPORT2 Current Channel Register */
-#define SPORT2_MCMC1 0xffc02538 /* SPORT2 Multi channel Configuration Register 1 */
-#define SPORT2_MCMC2 0xffc0253c /* SPORT2 Multi channel Configuration Register 2 */
-#define SPORT2_MTCS0 0xffc02540 /* SPORT2 Multi channel Transmit Select Register 0 */
-#define SPORT2_MTCS1 0xffc02544 /* SPORT2 Multi channel Transmit Select Register 1 */
-#define SPORT2_MTCS2 0xffc02548 /* SPORT2 Multi channel Transmit Select Register 2 */
-#define SPORT2_MTCS3 0xffc0254c /* SPORT2 Multi channel Transmit Select Register 3 */
-#define SPORT2_MRCS0 0xffc02550 /* SPORT2 Multi channel Receive Select Register 0 */
-#define SPORT2_MRCS1 0xffc02554 /* SPORT2 Multi channel Receive Select Register 1 */
-#define SPORT2_MRCS2 0xffc02558 /* SPORT2 Multi channel Receive Select Register 2 */
-#define SPORT2_MRCS3 0xffc0255c /* SPORT2 Multi channel Receive Select Register 3 */
-
-/* SPORT3 Registers */
-
-#define SPORT3_TCR1 0xffc02600 /* SPORT3 Transmit Configuration 1 Register */
-#define SPORT3_TCR2 0xffc02604 /* SPORT3 Transmit Configuration 2 Register */
-#define SPORT3_TCLKDIV 0xffc02608 /* SPORT3 Transmit Serial Clock Divider Register */
-#define SPORT3_TFSDIV 0xffc0260c /* SPORT3 Transmit Frame Sync Divider Register */
-#define SPORT3_TX 0xffc02610 /* SPORT3 Transmit Data Register */
-#define SPORT3_RX 0xffc02618 /* SPORT3 Receive Data Register */
-#define SPORT3_RCR1 0xffc02620 /* SPORT3 Receive Configuration 1 Register */
-#define SPORT3_RCR2 0xffc02624 /* SPORT3 Receive Configuration 2 Register */
-#define SPORT3_RCLKDIV 0xffc02628 /* SPORT3 Receive Serial Clock Divider Register */
-#define SPORT3_RFSDIV 0xffc0262c /* SPORT3 Receive Frame Sync Divider Register */
-#define SPORT3_STAT 0xffc02630 /* SPORT3 Status Register */
-#define SPORT3_CHNL 0xffc02634 /* SPORT3 Current Channel Register */
-#define SPORT3_MCMC1 0xffc02638 /* SPORT3 Multi channel Configuration Register 1 */
-#define SPORT3_MCMC2 0xffc0263c /* SPORT3 Multi channel Configuration Register 2 */
-#define SPORT3_MTCS0 0xffc02640 /* SPORT3 Multi channel Transmit Select Register 0 */
-#define SPORT3_MTCS1 0xffc02644 /* SPORT3 Multi channel Transmit Select Register 1 */
-#define SPORT3_MTCS2 0xffc02648 /* SPORT3 Multi channel Transmit Select Register 2 */
-#define SPORT3_MTCS3 0xffc0264c /* SPORT3 Multi channel Transmit Select Register 3 */
-#define SPORT3_MRCS0 0xffc02650 /* SPORT3 Multi channel Receive Select Register 0 */
-#define SPORT3_MRCS1 0xffc02654 /* SPORT3 Multi channel Receive Select Register 1 */
-#define SPORT3_MRCS2 0xffc02658 /* SPORT3 Multi channel Receive Select Register 2 */
-#define SPORT3_MRCS3 0xffc0265c /* SPORT3 Multi channel Receive Select Register 3 */
-
-/* EPPI2 Registers */
-
-#define EPPI2_STATUS 0xffc02900 /* EPPI2 Status Register */
-#define EPPI2_HCOUNT 0xffc02904 /* EPPI2 Horizontal Transfer Count Register */
-#define EPPI2_HDELAY 0xffc02908 /* EPPI2 Horizontal Delay Count Register */
-#define EPPI2_VCOUNT 0xffc0290c /* EPPI2 Vertical Transfer Count Register */
-#define EPPI2_VDELAY 0xffc02910 /* EPPI2 Vertical Delay Count Register */
-#define EPPI2_FRAME 0xffc02914 /* EPPI2 Lines per Frame Register */
-#define EPPI2_LINE 0xffc02918 /* EPPI2 Samples per Line Register */
-#define EPPI2_CLKDIV 0xffc0291c /* EPPI2 Clock Divide Register */
-#define EPPI2_CONTROL 0xffc02920 /* EPPI2 Control Register */
-#define EPPI2_FS1W_HBL 0xffc02924 /* EPPI2 FS1 Width Register / EPPI2 Horizontal Blanking Samples Per Line Register */
-#define EPPI2_FS1P_AVPL 0xffc02928 /* EPPI2 FS1 Period Register / EPPI2 Active Video Samples Per Line Register */
-#define EPPI2_FS2W_LVB 0xffc0292c /* EPPI2 FS2 Width Register / EPPI2 Lines of Vertical Blanking Register */
-#define EPPI2_FS2P_LAVF 0xffc02930 /* EPPI2 FS2 Period Register/ EPPI2 Lines of Active Video Per Field Register */
-#define EPPI2_CLIP 0xffc02934 /* EPPI2 Clipping Register */
-
-/* CAN Controller 0 Config 1 Registers */
-
-#define CAN0_MC1 0xffc02a00 /* CAN Controller 0 Mailbox Configuration Register 1 */
-#define CAN0_MD1 0xffc02a04 /* CAN Controller 0 Mailbox Direction Register 1 */
-#define CAN0_TRS1 0xffc02a08 /* CAN Controller 0 Transmit Request Set Register 1 */
-#define CAN0_TRR1 0xffc02a0c /* CAN Controller 0 Transmit Request Reset Register 1 */
-#define CAN0_TA1 0xffc02a10 /* CAN Controller 0 Transmit Acknowledge Register 1 */
-#define CAN0_AA1 0xffc02a14 /* CAN Controller 0 Abort Acknowledge Register 1 */
-#define CAN0_RMP1 0xffc02a18 /* CAN Controller 0 Receive Message Pending Register 1 */
-#define CAN0_RML1 0xffc02a1c /* CAN Controller 0 Receive Message Lost Register 1 */
-#define CAN0_MBTIF1 0xffc02a20 /* CAN Controller 0 Mailbox Transmit Interrupt Flag Register 1 */
-#define CAN0_MBRIF1 0xffc02a24 /* CAN Controller 0 Mailbox Receive Interrupt Flag Register 1 */
-#define CAN0_MBIM1 0xffc02a28 /* CAN Controller 0 Mailbox Interrupt Mask Register 1 */
-#define CAN0_RFH1 0xffc02a2c /* CAN Controller 0 Remote Frame Handling Enable Register 1 */
-#define CAN0_OPSS1 0xffc02a30 /* CAN Controller 0 Overwrite Protection Single Shot Transmit Register 1 */
-
-/* CAN Controller 0 Config 2 Registers */
-
-#define CAN0_MC2 0xffc02a40 /* CAN Controller 0 Mailbox Configuration Register 2 */
-#define CAN0_MD2 0xffc02a44 /* CAN Controller 0 Mailbox Direction Register 2 */
-#define CAN0_TRS2 0xffc02a48 /* CAN Controller 0 Transmit Request Set Register 2 */
-#define CAN0_TRR2 0xffc02a4c /* CAN Controller 0 Transmit Request Reset Register 2 */
-#define CAN0_TA2 0xffc02a50 /* CAN Controller 0 Transmit Acknowledge Register 2 */
-#define CAN0_AA2 0xffc02a54 /* CAN Controller 0 Abort Acknowledge Register 2 */
-#define CAN0_RMP2 0xffc02a58 /* CAN Controller 0 Receive Message Pending Register 2 */
-#define CAN0_RML2 0xffc02a5c /* CAN Controller 0 Receive Message Lost Register 2 */
-#define CAN0_MBTIF2 0xffc02a60 /* CAN Controller 0 Mailbox Transmit Interrupt Flag Register 2 */
-#define CAN0_MBRIF2 0xffc02a64 /* CAN Controller 0 Mailbox Receive Interrupt Flag Register 2 */
-#define CAN0_MBIM2 0xffc02a68 /* CAN Controller 0 Mailbox Interrupt Mask Register 2 */
-#define CAN0_RFH2 0xffc02a6c /* CAN Controller 0 Remote Frame Handling Enable Register 2 */
-#define CAN0_OPSS2 0xffc02a70 /* CAN Controller 0 Overwrite Protection Single Shot Transmit Register 2 */
-
-/* CAN Controller 0 Clock/Interrupt/Counter Registers */
-
-#define CAN0_CLOCK 0xffc02a80 /* CAN Controller 0 Clock Register */
-#define CAN0_TIMING 0xffc02a84 /* CAN Controller 0 Timing Register */
-#define CAN0_DEBUG 0xffc02a88 /* CAN Controller 0 Debug Register */
-#define CAN0_STATUS 0xffc02a8c /* CAN Controller 0 Global Status Register */
-#define CAN0_CEC 0xffc02a90 /* CAN Controller 0 Error Counter Register */
-#define CAN0_GIS 0xffc02a94 /* CAN Controller 0 Global Interrupt Status Register */
-#define CAN0_GIM 0xffc02a98 /* CAN Controller 0 Global Interrupt Mask Register */
-#define CAN0_GIF 0xffc02a9c /* CAN Controller 0 Global Interrupt Flag Register */
-#define CAN0_CONTROL 0xffc02aa0 /* CAN Controller 0 Master Control Register */
-#define CAN0_INTR 0xffc02aa4 /* CAN Controller 0 Interrupt Pending Register */
-#define CAN0_MBTD 0xffc02aac /* CAN Controller 0 Mailbox Temporary Disable Register */
-#define CAN0_EWR 0xffc02ab0 /* CAN Controller 0 Programmable Warning Level Register */
-#define CAN0_ESR 0xffc02ab4 /* CAN Controller 0 Error Status Register */
-#define CAN0_UCCNT 0xffc02ac4 /* CAN Controller 0 Universal Counter Register */
-#define CAN0_UCRC 0xffc02ac8 /* Universal Counter Reload/Capture Register */
-#define CAN0_UCCNF 0xffc02acc /* CAN Controller 0 Universal Counter Configuration Register */
-
-/* CAN Controller 0 Acceptance Registers */
-
-#define CAN0_AM00L 0xffc02b00 /* CAN Controller 0 Mailbox 0 Acceptance Mask High Register */
-#define CAN0_AM00H 0xffc02b04 /* CAN Controller 0 Mailbox 0 Acceptance Mask Low Register */
-#define CAN0_AM01L 0xffc02b08 /* CAN Controller 0 Mailbox 1 Acceptance Mask High Register */
-#define CAN0_AM01H 0xffc02b0c /* CAN Controller 0 Mailbox 1 Acceptance Mask Low Register */
-#define CAN0_AM02L 0xffc02b10 /* CAN Controller 0 Mailbox 2 Acceptance Mask High Register */
-#define CAN0_AM02H 0xffc02b14 /* CAN Controller 0 Mailbox 2 Acceptance Mask Low Register */
-#define CAN0_AM03L 0xffc02b18 /* CAN Controller 0 Mailbox 3 Acceptance Mask High Register */
-#define CAN0_AM03H 0xffc02b1c /* CAN Controller 0 Mailbox 3 Acceptance Mask Low Register */
-#define CAN0_AM04L 0xffc02b20 /* CAN Controller 0 Mailbox 4 Acceptance Mask High Register */
-#define CAN0_AM04H 0xffc02b24 /* CAN Controller 0 Mailbox 4 Acceptance Mask Low Register */
-#define CAN0_AM05L 0xffc02b28 /* CAN Controller 0 Mailbox 5 Acceptance Mask High Register */
-#define CAN0_AM05H 0xffc02b2c /* CAN Controller 0 Mailbox 5 Acceptance Mask Low Register */
-#define CAN0_AM06L 0xffc02b30 /* CAN Controller 0 Mailbox 6 Acceptance Mask High Register */
-#define CAN0_AM06H 0xffc02b34 /* CAN Controller 0 Mailbox 6 Acceptance Mask Low Register */
-#define CAN0_AM07L 0xffc02b38 /* CAN Controller 0 Mailbox 7 Acceptance Mask High Register */
-#define CAN0_AM07H 0xffc02b3c /* CAN Controller 0 Mailbox 7 Acceptance Mask Low Register */
-#define CAN0_AM08L 0xffc02b40 /* CAN Controller 0 Mailbox 8 Acceptance Mask High Register */
-#define CAN0_AM08H 0xffc02b44 /* CAN Controller 0 Mailbox 8 Acceptance Mask Low Register */
-#define CAN0_AM09L 0xffc02b48 /* CAN Controller 0 Mailbox 9 Acceptance Mask High Register */
-#define CAN0_AM09H 0xffc02b4c /* CAN Controller 0 Mailbox 9 Acceptance Mask Low Register */
-#define CAN0_AM10L 0xffc02b50 /* CAN Controller 0 Mailbox 10 Acceptance Mask High Register */
-#define CAN0_AM10H 0xffc02b54 /* CAN Controller 0 Mailbox 10 Acceptance Mask Low Register */
-#define CAN0_AM11L 0xffc02b58 /* CAN Controller 0 Mailbox 11 Acceptance Mask High Register */
-#define CAN0_AM11H 0xffc02b5c /* CAN Controller 0 Mailbox 11 Acceptance Mask Low Register */
-#define CAN0_AM12L 0xffc02b60 /* CAN Controller 0 Mailbox 12 Acceptance Mask High Register */
-#define CAN0_AM12H 0xffc02b64 /* CAN Controller 0 Mailbox 12 Acceptance Mask Low Register */
-#define CAN0_AM13L 0xffc02b68 /* CAN Controller 0 Mailbox 13 Acceptance Mask High Register */
-#define CAN0_AM13H 0xffc02b6c /* CAN Controller 0 Mailbox 13 Acceptance Mask Low Register */
-#define CAN0_AM14L 0xffc02b70 /* CAN Controller 0 Mailbox 14 Acceptance Mask High Register */
-#define CAN0_AM14H 0xffc02b74 /* CAN Controller 0 Mailbox 14 Acceptance Mask Low Register */
-#define CAN0_AM15L 0xffc02b78 /* CAN Controller 0 Mailbox 15 Acceptance Mask High Register */
-#define CAN0_AM15H 0xffc02b7c /* CAN Controller 0 Mailbox 15 Acceptance Mask Low Register */
-
-/* CAN Controller 0 Acceptance Registers */
-
-#define CAN0_AM16L 0xffc02b80 /* CAN Controller 0 Mailbox 16 Acceptance Mask High Register */
-#define CAN0_AM16H 0xffc02b84 /* CAN Controller 0 Mailbox 16 Acceptance Mask Low Register */
-#define CAN0_AM17L 0xffc02b88 /* CAN Controller 0 Mailbox 17 Acceptance Mask High Register */
-#define CAN0_AM17H 0xffc02b8c /* CAN Controller 0 Mailbox 17 Acceptance Mask Low Register */
-#define CAN0_AM18L 0xffc02b90 /* CAN Controller 0 Mailbox 18 Acceptance Mask High Register */
-#define CAN0_AM18H 0xffc02b94 /* CAN Controller 0 Mailbox 18 Acceptance Mask Low Register */
-#define CAN0_AM19L 0xffc02b98 /* CAN Controller 0 Mailbox 19 Acceptance Mask High Register */
-#define CAN0_AM19H 0xffc02b9c /* CAN Controller 0 Mailbox 19 Acceptance Mask Low Register */
-#define CAN0_AM20L 0xffc02ba0 /* CAN Controller 0 Mailbox 20 Acceptance Mask High Register */
-#define CAN0_AM20H 0xffc02ba4 /* CAN Controller 0 Mailbox 20 Acceptance Mask Low Register */
-#define CAN0_AM21L 0xffc02ba8 /* CAN Controller 0 Mailbox 21 Acceptance Mask High Register */
-#define CAN0_AM21H 0xffc02bac /* CAN Controller 0 Mailbox 21 Acceptance Mask Low Register */
-#define CAN0_AM22L 0xffc02bb0 /* CAN Controller 0 Mailbox 22 Acceptance Mask High Register */
-#define CAN0_AM22H 0xffc02bb4 /* CAN Controller 0 Mailbox 22 Acceptance Mask Low Register */
-#define CAN0_AM23L 0xffc02bb8 /* CAN Controller 0 Mailbox 23 Acceptance Mask High Register */
-#define CAN0_AM23H 0xffc02bbc /* CAN Controller 0 Mailbox 23 Acceptance Mask Low Register */
-#define CAN0_AM24L 0xffc02bc0 /* CAN Controller 0 Mailbox 24 Acceptance Mask High Register */
-#define CAN0_AM24H 0xffc02bc4 /* CAN Controller 0 Mailbox 24 Acceptance Mask Low Register */
-#define CAN0_AM25L 0xffc02bc8 /* CAN Controller 0 Mailbox 25 Acceptance Mask High Register */
-#define CAN0_AM25H 0xffc02bcc /* CAN Controller 0 Mailbox 25 Acceptance Mask Low Register */
-#define CAN0_AM26L 0xffc02bd0 /* CAN Controller 0 Mailbox 26 Acceptance Mask High Register */
-#define CAN0_AM26H 0xffc02bd4 /* CAN Controller 0 Mailbox 26 Acceptance Mask Low Register */
-#define CAN0_AM27L 0xffc02bd8 /* CAN Controller 0 Mailbox 27 Acceptance Mask High Register */
-#define CAN0_AM27H 0xffc02bdc /* CAN Controller 0 Mailbox 27 Acceptance Mask Low Register */
-#define CAN0_AM28L 0xffc02be0 /* CAN Controller 0 Mailbox 28 Acceptance Mask High Register */
-#define CAN0_AM28H 0xffc02be4 /* CAN Controller 0 Mailbox 28 Acceptance Mask Low Register */
-#define CAN0_AM29L 0xffc02be8 /* CAN Controller 0 Mailbox 29 Acceptance Mask High Register */
-#define CAN0_AM29H 0xffc02bec /* CAN Controller 0 Mailbox 29 Acceptance Mask Low Register */
-#define CAN0_AM30L 0xffc02bf0 /* CAN Controller 0 Mailbox 30 Acceptance Mask High Register */
-#define CAN0_AM30H 0xffc02bf4 /* CAN Controller 0 Mailbox 30 Acceptance Mask Low Register */
-#define CAN0_AM31L 0xffc02bf8 /* CAN Controller 0 Mailbox 31 Acceptance Mask High Register */
-#define CAN0_AM31H 0xffc02bfc /* CAN Controller 0 Mailbox 31 Acceptance Mask Low Register */
-
-/* CAN Controller 0 Mailbox Data Registers */
-
-#define CAN0_MB00_DATA0 0xffc02c00 /* CAN Controller 0 Mailbox 0 Data 0 Register */
-#define CAN0_MB00_DATA1 0xffc02c04 /* CAN Controller 0 Mailbox 0 Data 1 Register */
-#define CAN0_MB00_DATA2 0xffc02c08 /* CAN Controller 0 Mailbox 0 Data 2 Register */
-#define CAN0_MB00_DATA3 0xffc02c0c /* CAN Controller 0 Mailbox 0 Data 3 Register */
-#define CAN0_MB00_LENGTH 0xffc02c10 /* CAN Controller 0 Mailbox 0 Length Register */
-#define CAN0_MB00_TIMESTAMP 0xffc02c14 /* CAN Controller 0 Mailbox 0 Timestamp Register */
-#define CAN0_MB00_ID0 0xffc02c18 /* CAN Controller 0 Mailbox 0 ID0 Register */
-#define CAN0_MB00_ID1 0xffc02c1c /* CAN Controller 0 Mailbox 0 ID1 Register */
-#define CAN0_MB01_DATA0 0xffc02c20 /* CAN Controller 0 Mailbox 1 Data 0 Register */
-#define CAN0_MB01_DATA1 0xffc02c24 /* CAN Controller 0 Mailbox 1 Data 1 Register */
-#define CAN0_MB01_DATA2 0xffc02c28 /* CAN Controller 0 Mailbox 1 Data 2 Register */
-#define CAN0_MB01_DATA3 0xffc02c2c /* CAN Controller 0 Mailbox 1 Data 3 Register */
-#define CAN0_MB01_LENGTH 0xffc02c30 /* CAN Controller 0 Mailbox 1 Length Register */
-#define CAN0_MB01_TIMESTAMP 0xffc02c34 /* CAN Controller 0 Mailbox 1 Timestamp Register */
-#define CAN0_MB01_ID0 0xffc02c38 /* CAN Controller 0 Mailbox 1 ID0 Register */
-#define CAN0_MB01_ID1 0xffc02c3c /* CAN Controller 0 Mailbox 1 ID1 Register */
-#define CAN0_MB02_DATA0 0xffc02c40 /* CAN Controller 0 Mailbox 2 Data 0 Register */
-#define CAN0_MB02_DATA1 0xffc02c44 /* CAN Controller 0 Mailbox 2 Data 1 Register */
-#define CAN0_MB02_DATA2 0xffc02c48 /* CAN Controller 0 Mailbox 2 Data 2 Register */
-#define CAN0_MB02_DATA3 0xffc02c4c /* CAN Controller 0 Mailbox 2 Data 3 Register */
-#define CAN0_MB02_LENGTH 0xffc02c50 /* CAN Controller 0 Mailbox 2 Length Register */
-#define CAN0_MB02_TIMESTAMP 0xffc02c54 /* CAN Controller 0 Mailbox 2 Timestamp Register */
-#define CAN0_MB02_ID0 0xffc02c58 /* CAN Controller 0 Mailbox 2 ID0 Register */
-#define CAN0_MB02_ID1 0xffc02c5c /* CAN Controller 0 Mailbox 2 ID1 Register */
-#define CAN0_MB03_DATA0 0xffc02c60 /* CAN Controller 0 Mailbox 3 Data 0 Register */
-#define CAN0_MB03_DATA1 0xffc02c64 /* CAN Controller 0 Mailbox 3 Data 1 Register */
-#define CAN0_MB03_DATA2 0xffc02c68 /* CAN Controller 0 Mailbox 3 Data 2 Register */
-#define CAN0_MB03_DATA3 0xffc02c6c /* CAN Controller 0 Mailbox 3 Data 3 Register */
-#define CAN0_MB03_LENGTH 0xffc02c70 /* CAN Controller 0 Mailbox 3 Length Register */
-#define CAN0_MB03_TIMESTAMP 0xffc02c74 /* CAN Controller 0 Mailbox 3 Timestamp Register */
-#define CAN0_MB03_ID0 0xffc02c78 /* CAN Controller 0 Mailbox 3 ID0 Register */
-#define CAN0_MB03_ID1 0xffc02c7c /* CAN Controller 0 Mailbox 3 ID1 Register */
-#define CAN0_MB04_DATA0 0xffc02c80 /* CAN Controller 0 Mailbox 4 Data 0 Register */
-#define CAN0_MB04_DATA1 0xffc02c84 /* CAN Controller 0 Mailbox 4 Data 1 Register */
-#define CAN0_MB04_DATA2 0xffc02c88 /* CAN Controller 0 Mailbox 4 Data 2 Register */
-#define CAN0_MB04_DATA3 0xffc02c8c /* CAN Controller 0 Mailbox 4 Data 3 Register */
-#define CAN0_MB04_LENGTH 0xffc02c90 /* CAN Controller 0 Mailbox 4 Length Register */
-#define CAN0_MB04_TIMESTAMP 0xffc02c94 /* CAN Controller 0 Mailbox 4 Timestamp Register */
-#define CAN0_MB04_ID0 0xffc02c98 /* CAN Controller 0 Mailbox 4 ID0 Register */
-#define CAN0_MB04_ID1 0xffc02c9c /* CAN Controller 0 Mailbox 4 ID1 Register */
-#define CAN0_MB05_DATA0 0xffc02ca0 /* CAN Controller 0 Mailbox 5 Data 0 Register */
-#define CAN0_MB05_DATA1 0xffc02ca4 /* CAN Controller 0 Mailbox 5 Data 1 Register */
-#define CAN0_MB05_DATA2 0xffc02ca8 /* CAN Controller 0 Mailbox 5 Data 2 Register */
-#define CAN0_MB05_DATA3 0xffc02cac /* CAN Controller 0 Mailbox 5 Data 3 Register */
-#define CAN0_MB05_LENGTH 0xffc02cb0 /* CAN Controller 0 Mailbox 5 Length Register */
-#define CAN0_MB05_TIMESTAMP 0xffc02cb4 /* CAN Controller 0 Mailbox 5 Timestamp Register */
-#define CAN0_MB05_ID0 0xffc02cb8 /* CAN Controller 0 Mailbox 5 ID0 Register */
-#define CAN0_MB05_ID1 0xffc02cbc /* CAN Controller 0 Mailbox 5 ID1 Register */
-#define CAN0_MB06_DATA0 0xffc02cc0 /* CAN Controller 0 Mailbox 6 Data 0 Register */
-#define CAN0_MB06_DATA1 0xffc02cc4 /* CAN Controller 0 Mailbox 6 Data 1 Register */
-#define CAN0_MB06_DATA2 0xffc02cc8 /* CAN Controller 0 Mailbox 6 Data 2 Register */
-#define CAN0_MB06_DATA3 0xffc02ccc /* CAN Controller 0 Mailbox 6 Data 3 Register */
-#define CAN0_MB06_LENGTH 0xffc02cd0 /* CAN Controller 0 Mailbox 6 Length Register */
-#define CAN0_MB06_TIMESTAMP 0xffc02cd4 /* CAN Controller 0 Mailbox 6 Timestamp Register */
-#define CAN0_MB06_ID0 0xffc02cd8 /* CAN Controller 0 Mailbox 6 ID0 Register */
-#define CAN0_MB06_ID1 0xffc02cdc /* CAN Controller 0 Mailbox 6 ID1 Register */
-#define CAN0_MB07_DATA0 0xffc02ce0 /* CAN Controller 0 Mailbox 7 Data 0 Register */
-#define CAN0_MB07_DATA1 0xffc02ce4 /* CAN Controller 0 Mailbox 7 Data 1 Register */
-#define CAN0_MB07_DATA2 0xffc02ce8 /* CAN Controller 0 Mailbox 7 Data 2 Register */
-#define CAN0_MB07_DATA3 0xffc02cec /* CAN Controller 0 Mailbox 7 Data 3 Register */
-#define CAN0_MB07_LENGTH 0xffc02cf0 /* CAN Controller 0 Mailbox 7 Length Register */
-#define CAN0_MB07_TIMESTAMP 0xffc02cf4 /* CAN Controller 0 Mailbox 7 Timestamp Register */
-#define CAN0_MB07_ID0 0xffc02cf8 /* CAN Controller 0 Mailbox 7 ID0 Register */
-#define CAN0_MB07_ID1 0xffc02cfc /* CAN Controller 0 Mailbox 7 ID1 Register */
-#define CAN0_MB08_DATA0 0xffc02d00 /* CAN Controller 0 Mailbox 8 Data 0 Register */
-#define CAN0_MB08_DATA1 0xffc02d04 /* CAN Controller 0 Mailbox 8 Data 1 Register */
-#define CAN0_MB08_DATA2 0xffc02d08 /* CAN Controller 0 Mailbox 8 Data 2 Register */
-#define CAN0_MB08_DATA3 0xffc02d0c /* CAN Controller 0 Mailbox 8 Data 3 Register */
-#define CAN0_MB08_LENGTH 0xffc02d10 /* CAN Controller 0 Mailbox 8 Length Register */
-#define CAN0_MB08_TIMESTAMP 0xffc02d14 /* CAN Controller 0 Mailbox 8 Timestamp Register */
-#define CAN0_MB08_ID0 0xffc02d18 /* CAN Controller 0 Mailbox 8 ID0 Register */
-#define CAN0_MB08_ID1 0xffc02d1c /* CAN Controller 0 Mailbox 8 ID1 Register */
-#define CAN0_MB09_DATA0 0xffc02d20 /* CAN Controller 0 Mailbox 9 Data 0 Register */
-#define CAN0_MB09_DATA1 0xffc02d24 /* CAN Controller 0 Mailbox 9 Data 1 Register */
-#define CAN0_MB09_DATA2 0xffc02d28 /* CAN Controller 0 Mailbox 9 Data 2 Register */
-#define CAN0_MB09_DATA3 0xffc02d2c /* CAN Controller 0 Mailbox 9 Data 3 Register */
-#define CAN0_MB09_LENGTH 0xffc02d30 /* CAN Controller 0 Mailbox 9 Length Register */
-#define CAN0_MB09_TIMESTAMP 0xffc02d34 /* CAN Controller 0 Mailbox 9 Timestamp Register */
-#define CAN0_MB09_ID0 0xffc02d38 /* CAN Controller 0 Mailbox 9 ID0 Register */
-#define CAN0_MB09_ID1 0xffc02d3c /* CAN Controller 0 Mailbox 9 ID1 Register */
-#define CAN0_MB10_DATA0 0xffc02d40 /* CAN Controller 0 Mailbox 10 Data 0 Register */
-#define CAN0_MB10_DATA1 0xffc02d44 /* CAN Controller 0 Mailbox 10 Data 1 Register */
-#define CAN0_MB10_DATA2 0xffc02d48 /* CAN Controller 0 Mailbox 10 Data 2 Register */
-#define CAN0_MB10_DATA3 0xffc02d4c /* CAN Controller 0 Mailbox 10 Data 3 Register */
-#define CAN0_MB10_LENGTH 0xffc02d50 /* CAN Controller 0 Mailbox 10 Length Register */
-#define CAN0_MB10_TIMESTAMP 0xffc02d54 /* CAN Controller 0 Mailbox 10 Timestamp Register */
-#define CAN0_MB10_ID0 0xffc02d58 /* CAN Controller 0 Mailbox 10 ID0 Register */
-#define CAN0_MB10_ID1 0xffc02d5c /* CAN Controller 0 Mailbox 10 ID1 Register */
-#define CAN0_MB11_DATA0 0xffc02d60 /* CAN Controller 0 Mailbox 11 Data 0 Register */
-#define CAN0_MB11_DATA1 0xffc02d64 /* CAN Controller 0 Mailbox 11 Data 1 Register */
-#define CAN0_MB11_DATA2 0xffc02d68 /* CAN Controller 0 Mailbox 11 Data 2 Register */
-#define CAN0_MB11_DATA3 0xffc02d6c /* CAN Controller 0 Mailbox 11 Data 3 Register */
-#define CAN0_MB11_LENGTH 0xffc02d70 /* CAN Controller 0 Mailbox 11 Length Register */
-#define CAN0_MB11_TIMESTAMP 0xffc02d74 /* CAN Controller 0 Mailbox 11 Timestamp Register */
-#define CAN0_MB11_ID0 0xffc02d78 /* CAN Controller 0 Mailbox 11 ID0 Register */
-#define CAN0_MB11_ID1 0xffc02d7c /* CAN Controller 0 Mailbox 11 ID1 Register */
-#define CAN0_MB12_DATA0 0xffc02d80 /* CAN Controller 0 Mailbox 12 Data 0 Register */
-#define CAN0_MB12_DATA1 0xffc02d84 /* CAN Controller 0 Mailbox 12 Data 1 Register */
-#define CAN0_MB12_DATA2 0xffc02d88 /* CAN Controller 0 Mailbox 12 Data 2 Register */
-#define CAN0_MB12_DATA3 0xffc02d8c /* CAN Controller 0 Mailbox 12 Data 3 Register */
-#define CAN0_MB12_LENGTH 0xffc02d90 /* CAN Controller 0 Mailbox 12 Length Register */
-#define CAN0_MB12_TIMESTAMP 0xffc02d94 /* CAN Controller 0 Mailbox 12 Timestamp Register */
-#define CAN0_MB12_ID0 0xffc02d98 /* CAN Controller 0 Mailbox 12 ID0 Register */
-#define CAN0_MB12_ID1 0xffc02d9c /* CAN Controller 0 Mailbox 12 ID1 Register */
-#define CAN0_MB13_DATA0 0xffc02da0 /* CAN Controller 0 Mailbox 13 Data 0 Register */
-#define CAN0_MB13_DATA1 0xffc02da4 /* CAN Controller 0 Mailbox 13 Data 1 Register */
-#define CAN0_MB13_DATA2 0xffc02da8 /* CAN Controller 0 Mailbox 13 Data 2 Register */
-#define CAN0_MB13_DATA3 0xffc02dac /* CAN Controller 0 Mailbox 13 Data 3 Register */
-#define CAN0_MB13_LENGTH 0xffc02db0 /* CAN Controller 0 Mailbox 13 Length Register */
-#define CAN0_MB13_TIMESTAMP 0xffc02db4 /* CAN Controller 0 Mailbox 13 Timestamp Register */
-#define CAN0_MB13_ID0 0xffc02db8 /* CAN Controller 0 Mailbox 13 ID0 Register */
-#define CAN0_MB13_ID1 0xffc02dbc /* CAN Controller 0 Mailbox 13 ID1 Register */
-#define CAN0_MB14_DATA0 0xffc02dc0 /* CAN Controller 0 Mailbox 14 Data 0 Register */
-#define CAN0_MB14_DATA1 0xffc02dc4 /* CAN Controller 0 Mailbox 14 Data 1 Register */
-#define CAN0_MB14_DATA2 0xffc02dc8 /* CAN Controller 0 Mailbox 14 Data 2 Register */
-#define CAN0_MB14_DATA3 0xffc02dcc /* CAN Controller 0 Mailbox 14 Data 3 Register */
-#define CAN0_MB14_LENGTH 0xffc02dd0 /* CAN Controller 0 Mailbox 14 Length Register */
-#define CAN0_MB14_TIMESTAMP 0xffc02dd4 /* CAN Controller 0 Mailbox 14 Timestamp Register */
-#define CAN0_MB14_ID0 0xffc02dd8 /* CAN Controller 0 Mailbox 14 ID0 Register */
-#define CAN0_MB14_ID1 0xffc02ddc /* CAN Controller 0 Mailbox 14 ID1 Register */
-#define CAN0_MB15_DATA0 0xffc02de0 /* CAN Controller 0 Mailbox 15 Data 0 Register */
-#define CAN0_MB15_DATA1 0xffc02de4 /* CAN Controller 0 Mailbox 15 Data 1 Register */
-#define CAN0_MB15_DATA2 0xffc02de8 /* CAN Controller 0 Mailbox 15 Data 2 Register */
-#define CAN0_MB15_DATA3 0xffc02dec /* CAN Controller 0 Mailbox 15 Data 3 Register */
-#define CAN0_MB15_LENGTH 0xffc02df0 /* CAN Controller 0 Mailbox 15 Length Register */
-#define CAN0_MB15_TIMESTAMP 0xffc02df4 /* CAN Controller 0 Mailbox 15 Timestamp Register */
-#define CAN0_MB15_ID0 0xffc02df8 /* CAN Controller 0 Mailbox 15 ID0 Register */
-#define CAN0_MB15_ID1 0xffc02dfc /* CAN Controller 0 Mailbox 15 ID1 Register */
-
-/* CAN Controller 0 Mailbox Data Registers */
-
-#define CAN0_MB16_DATA0 0xffc02e00 /* CAN Controller 0 Mailbox 16 Data 0 Register */
-#define CAN0_MB16_DATA1 0xffc02e04 /* CAN Controller 0 Mailbox 16 Data 1 Register */
-#define CAN0_MB16_DATA2 0xffc02e08 /* CAN Controller 0 Mailbox 16 Data 2 Register */
-#define CAN0_MB16_DATA3 0xffc02e0c /* CAN Controller 0 Mailbox 16 Data 3 Register */
-#define CAN0_MB16_LENGTH 0xffc02e10 /* CAN Controller 0 Mailbox 16 Length Register */
-#define CAN0_MB16_TIMESTAMP 0xffc02e14 /* CAN Controller 0 Mailbox 16 Timestamp Register */
-#define CAN0_MB16_ID0 0xffc02e18 /* CAN Controller 0 Mailbox 16 ID0 Register */
-#define CAN0_MB16_ID1 0xffc02e1c /* CAN Controller 0 Mailbox 16 ID1 Register */
-#define CAN0_MB17_DATA0 0xffc02e20 /* CAN Controller 0 Mailbox 17 Data 0 Register */
-#define CAN0_MB17_DATA1 0xffc02e24 /* CAN Controller 0 Mailbox 17 Data 1 Register */
-#define CAN0_MB17_DATA2 0xffc02e28 /* CAN Controller 0 Mailbox 17 Data 2 Register */
-#define CAN0_MB17_DATA3 0xffc02e2c /* CAN Controller 0 Mailbox 17 Data 3 Register */
-#define CAN0_MB17_LENGTH 0xffc02e30 /* CAN Controller 0 Mailbox 17 Length Register */
-#define CAN0_MB17_TIMESTAMP 0xffc02e34 /* CAN Controller 0 Mailbox 17 Timestamp Register */
-#define CAN0_MB17_ID0 0xffc02e38 /* CAN Controller 0 Mailbox 17 ID0 Register */
-#define CAN0_MB17_ID1 0xffc02e3c /* CAN Controller 0 Mailbox 17 ID1 Register */
-#define CAN0_MB18_DATA0 0xffc02e40 /* CAN Controller 0 Mailbox 18 Data 0 Register */
-#define CAN0_MB18_DATA1 0xffc02e44 /* CAN Controller 0 Mailbox 18 Data 1 Register */
-#define CAN0_MB18_DATA2 0xffc02e48 /* CAN Controller 0 Mailbox 18 Data 2 Register */
-#define CAN0_MB18_DATA3 0xffc02e4c /* CAN Controller 0 Mailbox 18 Data 3 Register */
-#define CAN0_MB18_LENGTH 0xffc02e50 /* CAN Controller 0 Mailbox 18 Length Register */
-#define CAN0_MB18_TIMESTAMP 0xffc02e54 /* CAN Controller 0 Mailbox 18 Timestamp Register */
-#define CAN0_MB18_ID0 0xffc02e58 /* CAN Controller 0 Mailbox 18 ID0 Register */
-#define CAN0_MB18_ID1 0xffc02e5c /* CAN Controller 0 Mailbox 18 ID1 Register */
-#define CAN0_MB19_DATA0 0xffc02e60 /* CAN Controller 0 Mailbox 19 Data 0 Register */
-#define CAN0_MB19_DATA1 0xffc02e64 /* CAN Controller 0 Mailbox 19 Data 1 Register */
-#define CAN0_MB19_DATA2 0xffc02e68 /* CAN Controller 0 Mailbox 19 Data 2 Register */
-#define CAN0_MB19_DATA3 0xffc02e6c /* CAN Controller 0 Mailbox 19 Data 3 Register */
-#define CAN0_MB19_LENGTH 0xffc02e70 /* CAN Controller 0 Mailbox 19 Length Register */
-#define CAN0_MB19_TIMESTAMP 0xffc02e74 /* CAN Controller 0 Mailbox 19 Timestamp Register */
-#define CAN0_MB19_ID0 0xffc02e78 /* CAN Controller 0 Mailbox 19 ID0 Register */
-#define CAN0_MB19_ID1 0xffc02e7c /* CAN Controller 0 Mailbox 19 ID1 Register */
-#define CAN0_MB20_DATA0 0xffc02e80 /* CAN Controller 0 Mailbox 20 Data 0 Register */
-#define CAN0_MB20_DATA1 0xffc02e84 /* CAN Controller 0 Mailbox 20 Data 1 Register */
-#define CAN0_MB20_DATA2 0xffc02e88 /* CAN Controller 0 Mailbox 20 Data 2 Register */
-#define CAN0_MB20_DATA3 0xffc02e8c /* CAN Controller 0 Mailbox 20 Data 3 Register */
-#define CAN0_MB20_LENGTH 0xffc02e90 /* CAN Controller 0 Mailbox 20 Length Register */
-#define CAN0_MB20_TIMESTAMP 0xffc02e94 /* CAN Controller 0 Mailbox 20 Timestamp Register */
-#define CAN0_MB20_ID0 0xffc02e98 /* CAN Controller 0 Mailbox 20 ID0 Register */
-#define CAN0_MB20_ID1 0xffc02e9c /* CAN Controller 0 Mailbox 20 ID1 Register */
-#define CAN0_MB21_DATA0 0xffc02ea0 /* CAN Controller 0 Mailbox 21 Data 0 Register */
-#define CAN0_MB21_DATA1 0xffc02ea4 /* CAN Controller 0 Mailbox 21 Data 1 Register */
-#define CAN0_MB21_DATA2 0xffc02ea8 /* CAN Controller 0 Mailbox 21 Data 2 Register */
-#define CAN0_MB21_DATA3 0xffc02eac /* CAN Controller 0 Mailbox 21 Data 3 Register */
-#define CAN0_MB21_LENGTH 0xffc02eb0 /* CAN Controller 0 Mailbox 21 Length Register */
-#define CAN0_MB21_TIMESTAMP 0xffc02eb4 /* CAN Controller 0 Mailbox 21 Timestamp Register */
-#define CAN0_MB21_ID0 0xffc02eb8 /* CAN Controller 0 Mailbox 21 ID0 Register */
-#define CAN0_MB21_ID1 0xffc02ebc /* CAN Controller 0 Mailbox 21 ID1 Register */
-#define CAN0_MB22_DATA0 0xffc02ec0 /* CAN Controller 0 Mailbox 22 Data 0 Register */
-#define CAN0_MB22_DATA1 0xffc02ec4 /* CAN Controller 0 Mailbox 22 Data 1 Register */
-#define CAN0_MB22_DATA2 0xffc02ec8 /* CAN Controller 0 Mailbox 22 Data 2 Register */
-#define CAN0_MB22_DATA3 0xffc02ecc /* CAN Controller 0 Mailbox 22 Data 3 Register */
-#define CAN0_MB22_LENGTH 0xffc02ed0 /* CAN Controller 0 Mailbox 22 Length Register */
-#define CAN0_MB22_TIMESTAMP 0xffc02ed4 /* CAN Controller 0 Mailbox 22 Timestamp Register */
-#define CAN0_MB22_ID0 0xffc02ed8 /* CAN Controller 0 Mailbox 22 ID0 Register */
-#define CAN0_MB22_ID1 0xffc02edc /* CAN Controller 0 Mailbox 22 ID1 Register */
-#define CAN0_MB23_DATA0 0xffc02ee0 /* CAN Controller 0 Mailbox 23 Data 0 Register */
-#define CAN0_MB23_DATA1 0xffc02ee4 /* CAN Controller 0 Mailbox 23 Data 1 Register */
-#define CAN0_MB23_DATA2 0xffc02ee8 /* CAN Controller 0 Mailbox 23 Data 2 Register */
-#define CAN0_MB23_DATA3 0xffc02eec /* CAN Controller 0 Mailbox 23 Data 3 Register */
-#define CAN0_MB23_LENGTH 0xffc02ef0 /* CAN Controller 0 Mailbox 23 Length Register */
-#define CAN0_MB23_TIMESTAMP 0xffc02ef4 /* CAN Controller 0 Mailbox 23 Timestamp Register */
-#define CAN0_MB23_ID0 0xffc02ef8 /* CAN Controller 0 Mailbox 23 ID0 Register */
-#define CAN0_MB23_ID1 0xffc02efc /* CAN Controller 0 Mailbox 23 ID1 Register */
-#define CAN0_MB24_DATA0 0xffc02f00 /* CAN Controller 0 Mailbox 24 Data 0 Register */
-#define CAN0_MB24_DATA1 0xffc02f04 /* CAN Controller 0 Mailbox 24 Data 1 Register */
-#define CAN0_MB24_DATA2 0xffc02f08 /* CAN Controller 0 Mailbox 24 Data 2 Register */
-#define CAN0_MB24_DATA3 0xffc02f0c /* CAN Controller 0 Mailbox 24 Data 3 Register */
-#define CAN0_MB24_LENGTH 0xffc02f10 /* CAN Controller 0 Mailbox 24 Length Register */
-#define CAN0_MB24_TIMESTAMP 0xffc02f14 /* CAN Controller 0 Mailbox 24 Timestamp Register */
-#define CAN0_MB24_ID0 0xffc02f18 /* CAN Controller 0 Mailbox 24 ID0 Register */
-#define CAN0_MB24_ID1 0xffc02f1c /* CAN Controller 0 Mailbox 24 ID1 Register */
-#define CAN0_MB25_DATA0 0xffc02f20 /* CAN Controller 0 Mailbox 25 Data 0 Register */
-#define CAN0_MB25_DATA1 0xffc02f24 /* CAN Controller 0 Mailbox 25 Data 1 Register */
-#define CAN0_MB25_DATA2 0xffc02f28 /* CAN Controller 0 Mailbox 25 Data 2 Register */
-#define CAN0_MB25_DATA3 0xffc02f2c /* CAN Controller 0 Mailbox 25 Data 3 Register */
-#define CAN0_MB25_LENGTH 0xffc02f30 /* CAN Controller 0 Mailbox 25 Length Register */
-#define CAN0_MB25_TIMESTAMP 0xffc02f34 /* CAN Controller 0 Mailbox 25 Timestamp Register */
-#define CAN0_MB25_ID0 0xffc02f38 /* CAN Controller 0 Mailbox 25 ID0 Register */
-#define CAN0_MB25_ID1 0xffc02f3c /* CAN Controller 0 Mailbox 25 ID1 Register */
-#define CAN0_MB26_DATA0 0xffc02f40 /* CAN Controller 0 Mailbox 26 Data 0 Register */
-#define CAN0_MB26_DATA1 0xffc02f44 /* CAN Controller 0 Mailbox 26 Data 1 Register */
-#define CAN0_MB26_DATA2 0xffc02f48 /* CAN Controller 0 Mailbox 26 Data 2 Register */
-#define CAN0_MB26_DATA3 0xffc02f4c /* CAN Controller 0 Mailbox 26 Data 3 Register */
-#define CAN0_MB26_LENGTH 0xffc02f50 /* CAN Controller 0 Mailbox 26 Length Register */
-#define CAN0_MB26_TIMESTAMP 0xffc02f54 /* CAN Controller 0 Mailbox 26 Timestamp Register */
-#define CAN0_MB26_ID0 0xffc02f58 /* CAN Controller 0 Mailbox 26 ID0 Register */
-#define CAN0_MB26_ID1 0xffc02f5c /* CAN Controller 0 Mailbox 26 ID1 Register */
-#define CAN0_MB27_DATA0 0xffc02f60 /* CAN Controller 0 Mailbox 27 Data 0 Register */
-#define CAN0_MB27_DATA1 0xffc02f64 /* CAN Controller 0 Mailbox 27 Data 1 Register */
-#define CAN0_MB27_DATA2 0xffc02f68 /* CAN Controller 0 Mailbox 27 Data 2 Register */
-#define CAN0_MB27_DATA3 0xffc02f6c /* CAN Controller 0 Mailbox 27 Data 3 Register */
-#define CAN0_MB27_LENGTH 0xffc02f70 /* CAN Controller 0 Mailbox 27 Length Register */
-#define CAN0_MB27_TIMESTAMP 0xffc02f74 /* CAN Controller 0 Mailbox 27 Timestamp Register */
-#define CAN0_MB27_ID0 0xffc02f78 /* CAN Controller 0 Mailbox 27 ID0 Register */
-#define CAN0_MB27_ID1 0xffc02f7c /* CAN Controller 0 Mailbox 27 ID1 Register */
-#define CAN0_MB28_DATA0 0xffc02f80 /* CAN Controller 0 Mailbox 28 Data 0 Register */
-#define CAN0_MB28_DATA1 0xffc02f84 /* CAN Controller 0 Mailbox 28 Data 1 Register */
-#define CAN0_MB28_DATA2 0xffc02f88 /* CAN Controller 0 Mailbox 28 Data 2 Register */
-#define CAN0_MB28_DATA3 0xffc02f8c /* CAN Controller 0 Mailbox 28 Data 3 Register */
-#define CAN0_MB28_LENGTH 0xffc02f90 /* CAN Controller 0 Mailbox 28 Length Register */
-#define CAN0_MB28_TIMESTAMP 0xffc02f94 /* CAN Controller 0 Mailbox 28 Timestamp Register */
-#define CAN0_MB28_ID0 0xffc02f98 /* CAN Controller 0 Mailbox 28 ID0 Register */
-#define CAN0_MB28_ID1 0xffc02f9c /* CAN Controller 0 Mailbox 28 ID1 Register */
-#define CAN0_MB29_DATA0 0xffc02fa0 /* CAN Controller 0 Mailbox 29 Data 0 Register */
-#define CAN0_MB29_DATA1 0xffc02fa4 /* CAN Controller 0 Mailbox 29 Data 1 Register */
-#define CAN0_MB29_DATA2 0xffc02fa8 /* CAN Controller 0 Mailbox 29 Data 2 Register */
-#define CAN0_MB29_DATA3 0xffc02fac /* CAN Controller 0 Mailbox 29 Data 3 Register */
-#define CAN0_MB29_LENGTH 0xffc02fb0 /* CAN Controller 0 Mailbox 29 Length Register */
-#define CAN0_MB29_TIMESTAMP 0xffc02fb4 /* CAN Controller 0 Mailbox 29 Timestamp Register */
-#define CAN0_MB29_ID0 0xffc02fb8 /* CAN Controller 0 Mailbox 29 ID0 Register */
-#define CAN0_MB29_ID1 0xffc02fbc /* CAN Controller 0 Mailbox 29 ID1 Register */
-#define CAN0_MB30_DATA0 0xffc02fc0 /* CAN Controller 0 Mailbox 30 Data 0 Register */
-#define CAN0_MB30_DATA1 0xffc02fc4 /* CAN Controller 0 Mailbox 30 Data 1 Register */
-#define CAN0_MB30_DATA2 0xffc02fc8 /* CAN Controller 0 Mailbox 30 Data 2 Register */
-#define CAN0_MB30_DATA3 0xffc02fcc /* CAN Controller 0 Mailbox 30 Data 3 Register */
-#define CAN0_MB30_LENGTH 0xffc02fd0 /* CAN Controller 0 Mailbox 30 Length Register */
-#define CAN0_MB30_TIMESTAMP 0xffc02fd4 /* CAN Controller 0 Mailbox 30 Timestamp Register */
-#define CAN0_MB30_ID0 0xffc02fd8 /* CAN Controller 0 Mailbox 30 ID0 Register */
-#define CAN0_MB30_ID1 0xffc02fdc /* CAN Controller 0 Mailbox 30 ID1 Register */
-#define CAN0_MB31_DATA0 0xffc02fe0 /* CAN Controller 0 Mailbox 31 Data 0 Register */
-#define CAN0_MB31_DATA1 0xffc02fe4 /* CAN Controller 0 Mailbox 31 Data 1 Register */
-#define CAN0_MB31_DATA2 0xffc02fe8 /* CAN Controller 0 Mailbox 31 Data 2 Register */
-#define CAN0_MB31_DATA3 0xffc02fec /* CAN Controller 0 Mailbox 31 Data 3 Register */
-#define CAN0_MB31_LENGTH 0xffc02ff0 /* CAN Controller 0 Mailbox 31 Length Register */
-#define CAN0_MB31_TIMESTAMP 0xffc02ff4 /* CAN Controller 0 Mailbox 31 Timestamp Register */
-#define CAN0_MB31_ID0 0xffc02ff8 /* CAN Controller 0 Mailbox 31 ID0 Register */
-#define CAN0_MB31_ID1 0xffc02ffc /* CAN Controller 0 Mailbox 31 ID1 Register */
-
-/* UART3 Registers */
-
-#define UART3_DLL 0xffc03100 /* Divisor Latch Low Byte */
-#define UART3_DLH 0xffc03104 /* Divisor Latch High Byte */
-#define UART3_GCTL 0xffc03108 /* Global Control Register */
-#define UART3_LCR 0xffc0310c /* Line Control Register */
-#define UART3_MCR 0xffc03110 /* Modem Control Register */
-#define UART3_LSR 0xffc03114 /* Line Status Register */
-#define UART3_MSR 0xffc03118 /* Modem Status Register */
-#define UART3_SCR 0xffc0311c /* Scratch Register */
-#define UART3_IER_SET 0xffc03120 /* Interrupt Enable Register Set */
-#define UART3_IER_CLEAR 0xffc03124 /* Interrupt Enable Register Clear */
-#define UART3_THR 0xffc03128 /* Transmit Hold Register */
-#define UART3_RBR 0xffc0312c /* Receive Buffer Register */
-
-/* NFC Registers */
-
-#define NFC_CTL 0xffc03b00 /* NAND Control Register */
-#define NFC_STAT 0xffc03b04 /* NAND Status Register */
-#define NFC_IRQSTAT 0xffc03b08 /* NAND Interrupt Status Register */
-#define NFC_IRQMASK 0xffc03b0c /* NAND Interrupt Mask Register */
-#define NFC_ECC0 0xffc03b10 /* NAND ECC Register 0 */
-#define NFC_ECC1 0xffc03b14 /* NAND ECC Register 1 */
-#define NFC_ECC2 0xffc03b18 /* NAND ECC Register 2 */
-#define NFC_ECC3 0xffc03b1c /* NAND ECC Register 3 */
-#define NFC_COUNT 0xffc03b20 /* NAND ECC Count Register */
-#define NFC_RST 0xffc03b24 /* NAND ECC Reset Register */
-#define NFC_PGCTL 0xffc03b28 /* NAND Page Control Register */
-#define NFC_READ 0xffc03b2c /* NAND Read Data Register */
-#define NFC_ADDR 0xffc03b40 /* NAND Address Register */
-#define NFC_CMD 0xffc03b44 /* NAND Command Register */
-#define NFC_DATA_WR 0xffc03b48 /* NAND Data Write Register */
-#define NFC_DATA_RD 0xffc03b4c /* NAND Data Read Register */
-
-/* Counter Registers */
-
-#define CNT_CONFIG 0xffc04200 /* Configuration Register */
-#define CNT_IMASK 0xffc04204 /* Interrupt Mask Register */
-#define CNT_STATUS 0xffc04208 /* Status Register */
-#define CNT_COMMAND 0xffc0420c /* Command Register */
-#define CNT_DEBOUNCE 0xffc04210 /* Debounce Register */
-#define CNT_COUNTER 0xffc04214 /* Counter Register */
-#define CNT_MAX 0xffc04218 /* Maximal Count Register */
-#define CNT_MIN 0xffc0421c /* Minimal Count Register */
-
-/* OTP/FUSE Registers */
-
-#define OTP_CONTROL 0xffc04300 /* OTP/Fuse Control Register */
-#define OTP_BEN 0xffc04304 /* OTP/Fuse Byte Enable */
-#define OTP_STATUS 0xffc04308 /* OTP/Fuse Status */
-#define OTP_TIMING 0xffc0430c /* OTP/Fuse Access Timing */
-
-/* Security Registers */
-
-#define SECURE_SYSSWT 0xffc04320 /* Secure System Switches */
-#define SECURE_CONTROL 0xffc04324 /* Secure Control */
-#define SECURE_STATUS 0xffc04328 /* Secure Status */
-
-/* DMA Peripheral Mux Register */
-
-#define DMAC1_PERIMUX 0xffc04340 /* DMA Controller 1 Peripheral Multiplexer Register */
-
-/* OTP Read/Write Data Buffer Registers */
-
-#define OTP_DATA0 0xffc04380 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA1 0xffc04384 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA2 0xffc04388 /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-#define OTP_DATA3 0xffc0438c /* OTP/Fuse Data (OTP_DATA0-3) accesses the fuse read write buffer */
-
-/* Handshake MDMA 0 Registers */
-
-#define HMDMA0_CONTROL 0xffc04500 /* Handshake MDMA0 Control Register */
-#define HMDMA0_ECINIT 0xffc04504 /* Handshake MDMA0 Initial Edge Count Register */
-#define HMDMA0_BCINIT 0xffc04508 /* Handshake MDMA0 Initial Block Count Register */
-#define HMDMA0_ECURGENT 0xffc0450c /* Handshake MDMA0 Urgent Edge Count Threshhold Register */
-#define HMDMA0_ECOVERFLOW 0xffc04510 /* Handshake MDMA0 Edge Count Overflow Interrupt Register */
-#define HMDMA0_ECOUNT 0xffc04514 /* Handshake MDMA0 Current Edge Count Register */
-#define HMDMA0_BCOUNT 0xffc04518 /* Handshake MDMA0 Current Block Count Register */
-
-/* Handshake MDMA 1 Registers */
-
-#define HMDMA1_CONTROL 0xffc04540 /* Handshake MDMA1 Control Register */
-#define HMDMA1_ECINIT 0xffc04544 /* Handshake MDMA1 Initial Edge Count Register */
-#define HMDMA1_BCINIT 0xffc04548 /* Handshake MDMA1 Initial Block Count Register */
-#define HMDMA1_ECURGENT 0xffc0454c /* Handshake MDMA1 Urgent Edge Count Threshhold Register */
-#define HMDMA1_ECOVERFLOW 0xffc04550 /* Handshake MDMA1 Edge Count Overflow Interrupt Register */
-#define HMDMA1_ECOUNT 0xffc04554 /* Handshake MDMA1 Current Edge Count Register */
-#define HMDMA1_BCOUNT 0xffc04558 /* Handshake MDMA1 Current Block Count Register */
-
-/* ********************************************************** */
-/* SINGLE BIT MACRO PAIRS (bit mask and negated one) */
-/* and MULTI BIT READ MACROS */
-/* ********************************************************** */
-
-/* Bit masks for SIC_IAR0 */
-
-#define IRQ_PLL_WAKEUP 0x1 /* PLL Wakeup */
-#define nIRQ_PLL_WAKEUP 0x0
-
-/* Below is an alternate name that matches the 54x HRM and previous defBF532.h header,
- above matches previous defBF534.h header */
-#define PLL_WAKEUP_IRQ 0x1 /* PLL Wakeup Interrupt Request */
-#define nPLL_WAKEUP_IRQ 0x0
-
-/* Bit masks for SIC_IWR0, SIC_IMASK0, SIC_ISR0 */
-
-#define IRQ_DMA0_ERR 0x2 /* DMA Controller 0 Error */
-#define nIRQ_DMA0_ERR 0x0
-#define IRQ_EPPI0_ERR 0x4 /* EPPI0 Error */
-#define nIRQ_EPPI0_ERR 0x0
-#define IRQ_SPORT0_ERR 0x8 /* SPORT0 Error */
-#define nIRQ_SPORT0_ERR 0x0
-#define IRQ_SPORT1_ERR 0x10 /* SPORT1 Error */
-#define nIRQ_SPORT1_ERR 0x0
-#define IRQ_SPI0_ERR 0x20 /* SPI0 Error */
-#define nIRQ_SPI0_ERR 0x0
-#define IRQ_UART0_ERR 0x40 /* UART0 Error */
-#define nIRQ_UART0_ERR 0x0
-#define IRQ_RTC 0x80 /* Real-Time Clock */
-#define nIRQ_RTC 0x0
-#define IRQ_DMA12 0x100 /* DMA Channel 12 */
-#define nIRQ_DMA12 0x0
-#define IRQ_DMA0 0x200 /* DMA Channel 0 */
-#define nIRQ_DMA0 0x0
-#define IRQ_DMA1 0x400 /* DMA Channel 1 */
-#define nIRQ_DMA1 0x0
-#define IRQ_DMA2 0x800 /* DMA Channel 2 */
-#define nIRQ_DMA2 0x0
-#define IRQ_DMA3 0x1000 /* DMA Channel 3 */
-#define nIRQ_DMA3 0x0
-#define IRQ_DMA4 0x2000 /* DMA Channel 4 */
-#define nIRQ_DMA4 0x0
-#define IRQ_DMA6 0x4000 /* DMA Channel 6 */
-#define nIRQ_DMA6 0x0
-#define IRQ_DMA7 0x8000 /* DMA Channel 7 */
-#define nIRQ_DMA7 0x0
-#define IRQ_PINT0 0x80000 /* Pin Interrupt 0 */
-#define nIRQ_PINT0 0x0
-#define IRQ_PINT1 0x100000 /* Pin Interrupt 1 */
-#define nIRQ_PINT1 0x0
-#define IRQ_MDMA0 0x200000 /* Memory DMA Stream 0 */
-#define nIRQ_MDMA0 0x0
-#define IRQ_MDMA1 0x400000 /* Memory DMA Stream 1 */
-#define nIRQ_MDMA1 0x0
-#define IRQ_WDOG 0x800000 /* Watchdog Timer */
-#define nIRQ_WDOG 0x0
-#define IRQ_DMA1_ERR 0x1000000 /* DMA Controller 1 Error */
-#define nIRQ_DMA1_ERR 0x0
-#define IRQ_SPORT2_ERR 0x2000000 /* SPORT2 Error */
-#define nIRQ_SPORT2_ERR 0x0
-#define IRQ_SPORT3_ERR 0x4000000 /* SPORT3 Error */
-#define nIRQ_SPORT3_ERR 0x0
-#define IRQ_MXVR_SD 0x8000000 /* MXVR Synchronous Data */
-#define nIRQ_MXVR_SD 0x0
-#define IRQ_SPI1_ERR 0x10000000 /* SPI1 Error */
-#define nIRQ_SPI1_ERR 0x0
-#define IRQ_SPI2_ERR 0x20000000 /* SPI2 Error */
-#define nIRQ_SPI2_ERR 0x0
-#define IRQ_UART1_ERR 0x40000000 /* UART1 Error */
-#define nIRQ_UART1_ERR 0x0
-#define IRQ_UART2_ERR 0x80000000 /* UART2 Error */
-#define nIRQ_UART2_ERR 0x0
-
-/* Bit masks for SIC_IWR1, SIC_IMASK1, SIC_ISR1 */
-
-#define IRQ_CAN0_ERR 0x1 /* CAN0 Error */
-#define nIRQ_CAN0_ERR 0x0
-#define IRQ_DMA18 0x2 /* DMA Channel 18 */
-#define nIRQ_DMA18 0x0
-#define IRQ_DMA19 0x4 /* DMA Channel 19 */
-#define nIRQ_DMA19 0x0
-#define IRQ_DMA20 0x8 /* DMA Channel 20 */
-#define nIRQ_DMA20 0x0
-#define IRQ_DMA21 0x10 /* DMA Channel 21 */
-#define nIRQ_DMA21 0x0
-#define IRQ_DMA13 0x20 /* DMA Channel 13 */
-#define nIRQ_DMA13 0x0
-#define IRQ_DMA14 0x40 /* DMA Channel 14 */
-#define nIRQ_DMA14 0x0
-#define IRQ_DMA5 0x80 /* DMA Channel 5 */
-#define nIRQ_DMA5 0x0
-#define IRQ_DMA23 0x100 /* DMA Channel 23 */
-#define nIRQ_DMA23 0x0
-#define IRQ_DMA8 0x200 /* DMA Channel 8 */
-#define nIRQ_DMA8 0x0
-#define IRQ_DMA9 0x400 /* DMA Channel 9 */
-#define nIRQ_DMA9 0x0
-#define IRQ_DMA10 0x800 /* DMA Channel 10 */
-#define nIRQ_DMA10 0x0
-#define IRQ_DMA11 0x1000 /* DMA Channel 11 */
-#define nIRQ_DMA11 0x0
-#define IRQ_TWI0 0x2000 /* TWI0 */
-#define nIRQ_TWI0 0x0
-#define IRQ_TWI1 0x4000 /* TWI1 */
-#define nIRQ_TWI1 0x0
-#define IRQ_CAN0_RX 0x8000 /* CAN0 Receive */
-#define nIRQ_CAN0_RX 0x0
-#define IRQ_CAN0_TX 0x10000 /* CAN0 Transmit */
-#define nIRQ_CAN0_TX 0x0
-#define IRQ_MDMA2 0x20000 /* Memory DMA Stream 0 */
-#define nIRQ_MDMA2 0x0
-#define IRQ_MDMA3 0x40000 /* Memory DMA Stream 1 */
-#define nIRQ_MDMA3 0x0
-#define IRQ_MXVR_STAT 0x80000 /* MXVR Status */
-#define nIRQ_MXVR_STAT 0x0
-#define IRQ_MXVR_CM 0x100000 /* MXVR Control Message */
-#define nIRQ_MXVR_CM 0x0
-#define IRQ_MXVR_AP 0x200000 /* MXVR Asynchronous Packet */
-#define nIRQ_MXVR_AP 0x0
-#define IRQ_EPPI1_ERR 0x400000 /* EPPI1 Error */
-#define nIRQ_EPPI1_ERR 0x0
-#define IRQ_EPPI2_ERR 0x800000 /* EPPI2 Error */
-#define nIRQ_EPPI2_ERR 0x0
-#define IRQ_UART3_ERR 0x1000000 /* UART3 Error */
-#define nIRQ_UART3_ERR 0x0
-#define IRQ_HOSTDP_STATUS 0x2000000 /* Host DMA Port Error */
-#define nIRQ_HOSTDP_STATUS 0x0
-#define IRQ_USB_ERR 0x4000000 /* USB Error */
-#define nIRQ_USB_ERR 0x0
-#define IRQ_PIXC_ERR 0x8000000 /* Pixel Compositor Error */
-#define nIRQ_PIXC_ERR 0x0
-#define IRQ_NFC_ERR 0x10000000 /* Nand Flash Controller Error */
-#define nIRQ_NFC_ERR 0x0
-#define IRQ_ATAPI_ERR 0x20000000 /* ATAPI Error */
-#define nIRQ_ATAPI_ERR 0x0
-#define IRQ_CAN1_ERR 0x40000000 /* CAN1 Error */
-#define nIRQ_CAN1_ERR 0x0
-#define IRQ_DMAR0_ERR 0x80000000 /* DMAR0 Overflow Error */
-#define nIRQ_DMAR0_ERR 0x0
-#define IRQ_DMAR1_ERR 0x80000000 /* DMAR1 Overflow Error */
-#define nIRQ_DMAR1_ERR 0x0
-#define IRQ_DMAR0 0x80000000 /* DMAR0 Block */
-#define nIRQ_DMAR0 0x0
-#define IRQ_DMAR1 0x80000000 /* DMAR1 Block */
-#define nIRQ_DMAR1 0x0
-
-/* Bit masks for SIC_IWR2, SIC_IMASK2, SIC_ISR2 */
-
-#define IRQ_DMA15 0x1 /* DMA Channel 15 */
-#define nIRQ_DMA15 0x0
-#define IRQ_DMA16 0x2 /* DMA Channel 16 */
-#define nIRQ_DMA16 0x0
-#define IRQ_DMA17 0x4 /* DMA Channel 17 */
-#define nIRQ_DMA17 0x0
-#define IRQ_DMA22 0x8 /* DMA Channel 22 */
-#define nIRQ_DMA22 0x0
-#define IRQ_CNT 0x10 /* Counter */
-#define nIRQ_CNT 0x0
-#define IRQ_KEY 0x20 /* Keypad */
-#define nIRQ_KEY 0x0
-#define IRQ_CAN1_RX 0x40 /* CAN1 Receive */
-#define nIRQ_CAN1_RX 0x0
-#define IRQ_CAN1_TX 0x80 /* CAN1 Transmit */
-#define nIRQ_CAN1_TX 0x0
-#define IRQ_SDH_MASK0 0x100 /* SDH Mask 0 */
-#define nIRQ_SDH_MASK0 0x0
-#define IRQ_SDH_MASK1 0x200 /* SDH Mask 1 */
-#define nIRQ_SDH_MASK1 0x0
-#define IRQ_USB_EINT 0x400 /* USB Exception */
-#define nIRQ_USB_EINT 0x0
-#define IRQ_USB_INT0 0x800 /* USB Interrupt 0 */
-#define nIRQ_USB_INT0 0x0
-#define IRQ_USB_INT1 0x1000 /* USB Interrupt 1 */
-#define nIRQ_USB_INT1 0x0
-#define IRQ_USB_INT2 0x2000 /* USB Interrupt 2 */
-#define nIRQ_USB_INT2 0x0
-#define IRQ_USB_DMAINT 0x4000 /* USB DMA */
-#define nIRQ_USB_DMAINT 0x0
-#define IRQ_OTP 0x8000 /* OTP Access Complete */
-#define nIRQ_OTP 0x0
-#define IRQ_TIMER0 0x400000 /* Timer 0 */
-#define nIRQ_TIMER0 0x0
-#define IRQ_TIMER1 0x800000 /* Timer 1 */
-#define nIRQ_TIMER1 0x0
-#define IRQ_TIMER2 0x1000000 /* Timer 2 */
-#define nIRQ_TIMER2 0x0
-#define IRQ_TIMER3 0x2000000 /* Timer 3 */
-#define nIRQ_TIMER3 0x0
-#define IRQ_TIMER4 0x4000000 /* Timer 4 */
-#define nIRQ_TIMER4 0x0
-#define IRQ_TIMER5 0x8000000 /* Timer 5 */
-#define nIRQ_TIMER5 0x0
-#define IRQ_TIMER6 0x10000000 /* Timer 6 */
-#define nIRQ_TIMER6 0x0
-#define IRQ_TIMER7 0x20000000 /* Timer 7 */
-#define nIRQ_TIMER7 0x0
-#define IRQ_PINT2 0x40000000 /* Pin Interrupt 2 */
-#define nIRQ_PINT2 0x0
-#define IRQ_PINT3 0x80000000 /* Pin Interrupt 3 */
-#define nIRQ_PINT3 0x0
-
-/* Bit masks for DMAx_CONFIG, MDMA_Sx_CONFIG, MDMA_Dx_CONFIG */
-
-#define DMAEN 0x1 /* DMA Channel Enable */
-#define nDMAEN 0x0
-#define WNR 0x2 /* DMA Direction */
-#define nWNR 0x0
-#define WDSIZE 0xc /* Transfer Word Size */
-#define DMA2D 0x10 /* DMA Mode */
-#define nDMA2D 0x0
-#define SYNC 0x20 /* Work Unit Transitions */
-#define nSYNC 0x0
-#define DI_SEL 0x40 /* Data Interrupt Timing Select */
-#define nDI_SEL 0x0
-#define DI_EN 0x80 /* Data Interrupt Enable */
-#define nDI_EN 0x0
-#define NDSIZE 0xf00 /* Flex Descriptor Size */
-#define FLOW 0xf000 /* Next Operation */
-
-/* Bit masks for DMAx_IRQ_STATUS, MDMA_Sx_IRQ_STATUS, MDMA_Dx_IRQ_STATUS */
-
-#define DMA_DONE 0x1 /* DMA Completion Interrupt Status */
-#define nDMA_DONE 0x0
-#define DMA_ERR 0x2 /* DMA Error Interrupt Status */
-#define nDMA_ERR 0x0
-#define DFETCH 0x4 /* DMA Descriptor Fetch */
-#define nDFETCH 0x0
-#define DMA_RUN 0x8 /* DMA Channel Running */
-#define nDMA_RUN 0x0
-
-/* Bit masks for DMAx_PERIPHERAL_MAP, MDMA_Sx_IRQ_STATUS, MDMA_Dx_IRQ_STATUS */
-
-#define CTYPE 0x40 /* DMA Channel Type */
-#define nCTYPE 0x0
-#define PMAP 0xf000 /* Peripheral Mapped To This Channel */
-
-/* Bit masks for DMACx_TCPER */
-
-#define DCB_TRAFFIC_PERIOD 0xf /* DCB Traffic Control Period */
-#define DEB_TRAFFIC_PERIOD 0xf0 /* DEB Traffic Control Period */
-#define DAB_TRAFFIC_PERIOD 0x700 /* DAB Traffic Control Period */
-#define MDMA_ROUND_ROBIN_PERIOD 0xf800 /* MDMA Round Robin Period */
-
-/* Bit masks for DMACx_TCCNT */
-
-#define DCB_TRAFFIC_COUNT 0xf /* DCB Traffic Control Count */
-#define DEB_TRAFFIC_COUNT 0xf0 /* DEB Traffic Control Count */
-#define DAB_TRAFFIC_COUNT 0x700 /* DAB Traffic Control Count */
-#define MDMA_ROUND_ROBIN_COUNT 0xf800 /* MDMA Round Robin Count */
-
-/* Bit masks for DMAC1_PERIMUX */
-
-#define PMUXSDH 0x1 /* Peripheral Select for DMA22 channel */
-#define nPMUXSDH 0x0
-
-/* Bit masks for EBIU_AMGCTL */
-
-#define AMCKEN 0x1 /* Async Memory Enable */
-#define nAMCKEN 0x0
-#define AMBEN 0xe /* Async bank enable */
-
-/* EBIU_AMGCTL Masks (AMCKEN) */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* EBIU_AMGCTL Masks (AMBEN) */
-#define AMBEN_NONE 0x0000 /* All Banks Disabled */
-#define AMBEN_B0 0x0002 /* Enable Async Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Async Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Async Memory Banks 0, 1, and 2 */
-#define AMBEN_B0_B1_B2_B3 0x0008 /* Enable Async Memory Banks 0, 1, 2 and 3 */
-#define AMBEN_ALL 0x0008 /* Enable All Async Memory Banks */
-
-/* Bit masks for EBIU_AMBCTL0 */
-
-#define B0RDYEN 0x1 /* Bank 0 ARDY Enable */
-#define nB0RDYEN 0x0
-#define B0RDYPOL 0x2 /* Bank 0 ARDY Polarity */
-#define nB0RDYPOL 0x0
-#define B0TT 0xc /* Bank 0 transition time */
-#define B0ST 0x30 /* Bank 0 Setup time */
-#define B0HT 0xc0 /* Bank 0 Hold time */
-#define B0RAT 0xf00 /* Bank 0 Read access time */
-#define B0WAT 0xf000 /* Bank 0 write access time */
-#define B1RDYEN 0x10000 /* Bank 1 ARDY Enable */
-#define nB1RDYEN 0x0
-#define B1RDYPOL 0x20000 /* Bank 1 ARDY Polarity */
-#define nB1RDYPOL 0x0
-#define B1TT 0xc0000 /* Bank 1 transition time */
-#define B1ST 0x300000 /* Bank 1 Setup time */
-#define B1HT 0xc00000 /* Bank 1 Hold time */
-#define B1RAT 0xf000000 /* Bank 1 Read access time */
-#define B1WAT 0xf0000000 /* Bank 1 write access time */
-
-/* EBIU_AMBCTL0 Macros */
-#ifdef _MISRA_RULES
-#define SET_B1WAT(x) (((x)&0xFu) << 28) /* B1 Write Access Time = x cycles */
-#define SET_B1RAT(x) (((x)&0xFu) << 24) /* B1 Read Access Time = x cycles */
-#define SET_B1HT(x) (((x)&0x3u) << 22) /* B1 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B1ST(x) (((x)&0x3u) << 20) /* B1 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B1TT(x) (((x)&0x3u) << 18) /* B1 Transition Time (Read to Write) = x cycles */
-
-#define SET_B0WAT(x) (((x)&0xFu) << 12) /* B0 Write Access Time = x cycles */
-#define SET_B0RAT(x) (((x)&0xFu) << 8) /* B0 Read Access Time = x cycles */
-#define SET_B0HT(x) (((x)&0x3u) << 6) /* B0 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B0ST(x) (((x)&0x3u) << 4) /* B0 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B0TT(x) (((x)&0x3u) << 2) /* B0 Transition Time (Read to Write) = x cycles */
-#else
-#define SET_B1WAT(x) (((x)&0xF) << 28) /* B1 Write Access Time = x cycles */
-#define SET_B1RAT(x) (((x)&0xF) << 24) /* B1 Read Access Time = x cycles */
-#define SET_B1HT(x) (((x)&0x3) << 22) /* B1 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B1ST(x) (((x)&0x3) << 20) /* B1 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B1TT(x) (((x)&0x3) << 18) /* B1 Transition Time (Read to Write) = x cycles */
-
-#define SET_B0WAT(x) (((x)&0xF) << 12) /* B0 Write Access Time = x cycles */
-#define SET_B0RAT(x) (((x)&0xF) << 8) /* B0 Read Access Time = x cycles */
-#define SET_B0HT(x) (((x)&0x3) << 6) /* B0 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B0ST(x) (((x)&0x3) << 4) /* B0 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B0TT(x) (((x)&0x3) << 2) /* B0 Transition Time (Read to Write) = x cycles */
-#endif /* _MISRA_RULES */
-
-
-/* Bit masks for EBIU_AMBCTL1 */
-
-#define B2RDYEN 0x1 /* Bank 2 ARDY Enable */
-#define nB2RDYEN 0x0
-#define B2RDYPOL 0x2 /* Bank 2 ARDY Polarity */
-#define nB2RDYPOL 0x0
-#define B2TT 0xc /* Bank 2 transition time */
-#define B2ST 0x30 /* Bank 2 Setup time */
-#define B2HT 0xc0 /* Bank 2 Hold time */
-#define B2RAT 0xf00 /* Bank 2 Read access time */
-#define B2WAT 0xf000 /* Bank 2 write access time */
-#define B3RDYEN 0x10000 /* Bank 3 ARDY Enable */
-#define nB3RDYEN 0x0
-#define B3RDYPOL 0x20000 /* Bank 3 ARDY Polarity */
-#define nB3RDYPOL 0x0
-#define B3TT 0xc0000 /* Bank 3 transition time */
-#define B3ST 0x300000 /* Bank 3 Setup time */
-#define B3HT 0xc00000 /* Bank 3 Hold time */
-#define B3RAT 0xf000000 /* Bank 3 Read access time */
-#define B3WAT 0xf0000000 /* Bank 3 write access time */
-
-/* EBIU_AMBCTL1 Macros */
-#ifdef _MISRA_RULES
-#define SET_B3WAT(x) (((x)&0xFu) << 28) /* B3 Write Access Time = x cycles */
-#define SET_B3RAT(x) (((x)&0xFu) << 24) /* B3 Read Access Time = x cycles */
-#define SET_B3HT(x) (((x)&0x3u) << 22) /* B3 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B3ST(x) (((x)&0x3u) << 20) /* B3 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B3TT(x) (((x)&0x3u) << 18) /* B3 Transition Time (Read to Write) = x cycles */
-
-#define SET_B2WAT(x) (((x)&0xFu) << 12) /* B2 Write Access Time = x cycles */
-#define SET_B2RAT(x) (((x)&0xFu) << 8) /* B2 Read Access Time = x cycles */
-#define SET_B2HT(x) (((x)&0x3u) << 6) /* B2 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B2ST(x) (((x)&0x3u) << 4) /* B2 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B2TT(x) (((x)&0x3u) << 2) /* B2 Transition Time (Read to Write) = x cycles */
-#else
-#define SET_B3WAT(x) (((x)&0xF) << 28) /* B3 Write Access Time = x cycles */
-#define SET_B3RAT(x) (((x)&0xF) << 24) /* B3 Read Access Time = x cycles */
-#define SET_B3HT(x) (((x)&0x3) << 22) /* B3 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B3ST(x) (((x)&0x3) << 20) /* B3 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B3TT(x) (((x)&0x3) << 18) /* B3 Transition Time (Read to Write) = x cycles */
-
-#define SET_B2WAT(x) (((x)&0xF) << 12) /* B2 Write Access Time = x cycles */
-#define SET_B2RAT(x) (((x)&0xF) << 8) /* B2 Read Access Time = x cycles */
-#define SET_B2HT(x) (((x)&0x3) << 6) /* B2 Hold Time (~Read/Write to ~AOE) = x cycles */
-#define SET_B2ST(x) (((x)&0x3) << 4) /* B2 Setup Time (AOE to Read/Write) = x cycle */
-#define SET_B2TT(x) (((x)&0x3) << 2) /* B2 Transition Time (Read to Write) = x cycles */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for EBIU_MBSCTL */
-
-#define AMSB0CTL 0x3 /* Async Memory Bank 0 select */
-#define AMSB1CTL 0xc /* Async Memory Bank 1 select */
-#define AMSB2CTL 0x30 /* Async Memory Bank 2 select */
-#define AMSB3CTL 0xc0 /* Async Memory Bank 3 select */
-
-/* Bit masks for EBIU_MODE */
-
-#define B0MODE 0x3 /* Async Memory Bank 0 Access Mode */
-#define B1MODE 0xc /* Async Memory Bank 1 Access Mode */
-#define B2MODE 0x30 /* Async Memory Bank 2 Access Mode */
-#define B3MODE 0xc0 /* Async Memory Bank 3 Access Mode */
-
-/* Bit masks for EBIU_MODE (BOMODE) */
-#define B0MODE_ASYNC 0x00000000 /* Bank 0 Access Mode - 00 - Asynchronous Mode */
-#define B0MODE_FLASH 0x00000001 /* Bank 0 Access Mode - 01 - Asynchronous Flash Mode */
-#define B0MODE_PAGE 0x00000002 /* Bank 0 Access Mode - 10 - Asynchronous Page Mode */
-#define B0MODE_BURST 0x00000003 /* Bank 0 Access Mode - 11 - Synchronous (Burst) Mode */
-
-/* Bit masks for EBIU_MODE (B1MODE) */
-#define B1MODE_ASYNC 0x00000000 /* Bank 1 Access Mode - 00 - Asynchronous Mode */
-#define B1MODE_FLASH 0x00000004 /* Bank 1 Access Mode - 01 - Asynchronous Flash Mode */
-#define B1MODE_PAGE 0x00000008 /* Bank 1 Access Mode - 10 - Asynchronous Page Mode */
-#define B1MODE_BURST 0x0000000C /* Bank 1 Access Mode - 11 - Synchronous (Burst) Mode */
-
-/* Bit masks for EBIU_MODE (B2MODE) */
-#define B2MODE_ASYNC 0x00000000 /* Bank 2 Access Mode - 00 - Asynchronous Mode */
-#define B2MODE_FLASH 0x00000010 /* Bank 2 Access Mode - 01 - Asynchronous Flash Mode */
-#define B2MODE_PAGE 0x00000020 /* Bank 2 Access Mode - 10 - Asynchronous Page Mode */
-#define B2MODE_BURST 0x00000030 /* Bank 2 Access Mode - 11 - Synchronous (Burst) Mode */
-
-/* Bit masks for EBIU_MODE (B3MODE) */
-#define B3MODE_ASYNC 0x00000000 /* Bank 3 Access Mode - 00 - Asynchronous Mode */
-#define B3MODE_FLASH 0x00000040 /* Bank 3 Access Mode - 01 - Asynchronous Flash Mode */
-#define B3MODE_PAGE 0x00000080 /* Bank 3 Access Mode - 10 - Asynchronous Page Mode */
-#define B3MODE_BURST 0x000000C0 /* Bank 3 Access Mode - 11 - Synchronous (Burst) Mode */
-
-/* Bit masks for EBIU_FCTL */
-
-#define TESTSETLOCK 0x1 /* Test set lock */
-#define nTESTSETLOCK 0x0
-#define BCLK 0x6 /* Burst clock frequency */
-#define PGWS 0x38 /* Page wait states */
-#define PGSZ 0x40 /* Page size */
-#define nPGSZ 0x0
-#define RDDL 0x380 /* Read data delay */
-
-/* Bit masks for EBIU_FCTL (BCLK) */
-#define BCLK2 0x00000002 /* Burst clock frequency: 01 - SCLK/2 */
-#define BCLK3 0x00000004 /* Burst clock frequency: 10 - SCLK/3 */
-#define BCLK4 0x00000006 /* Burst clock frequency: 11 - SCLK/4 */
-
-/* Macros for EBIU_FCTL */
-#ifdef _MISRA_RULES
-#define SET_PGWS(x) (((x)&0x7u) << 0x3) /* PGWS[5:3] Page Wait States - 000 to 100 - 0 to 4 cycles */
-#else
-#define SET_PGWS(x) (((x)&0x7) << 0x3) /* PGWS[5:3] Page Wait States - 000 to 100 - 0 to 4 cycles */
-#endif /* _MISRA_RULES */
- /* Burst clock frequency: 00 - Reserved */
-/* Bit masks for EBIU_ARBSTAT */
-
-#define ARBSTAT 0x1 /* Arbitration status */
-#define nARBSTAT 0x0
-#define BGSTAT 0x2 /* Bus grant status */
-#define nBGSTAT 0x0
-
-/* Bit masks for EBIU_DDRCTL0 */
-#define TREFI 0x3fff /* Refresh Interval */
-#define TRFC 0x3c000 /* Auto-refresh command period */
-#define TRP 0x3c0000 /* Pre charge-to-active command period */
-#define TRAS 0x3c00000 /* Min Active-to-pre charge time */
-#define TRC 0x3c000000 /* Active-to-active time */
-
-/* Macros for EBIU_DDRCTL0 */
-#ifdef _MISRA_RULES
-#define SET_tRC(x) (((x)&0xFu) << 26) /* tRC (Active-to-Active)[29:26] - Number of clock cycles from an active command to next active command (Default: 0x2) */
-#define SET_tRAS(x) (((x)&0xFu) << 22) /* tRAS (Minimum Active-to-Precharge time) [3:0] - Number of clock cycles from an ACTIVE command until a PRE-CHARGE command is issued. To obtain this value, one should divide the minimum RAS to pre-charge delay of SDRAM by clock cycle time (Default: 0x6) */
-#define SET_tRP(x) (((x)&0xFu) << 18) /* tRP (Precharge-to-Active Command period)[3:0] - Number of clock cycles needed for DDR to recover from a precharge command and ready to accept next active command (Default: 0x3) */
-#define SET_tRFC(x) (((x)&0xFu) << 14) /* tRFC[3:0] AUTO-REFRESH Command Period[3:0] - Number of clock cycles needed for DDR to recover from a refresh to be ready for next active command (tRFC/Clock Period) (Default: 0xA) */
-#define SET_tREFI(x) ((x)&0x3FFFu) /* tREFI (Refresh Interval)[13:0] - Number of clock cycles from one refresh cycle to next refresh cycle. To obtain this value, divide the DDR refresh period (tREF) by total number of rows to be refreshed. Then divide the result by total time. (Default: 0x0411) */
-#else
-#define SET_tRC(x) (((x)&0xF) << 26) /* tRC (Active-to-Active)[29:26] - Number of clock cycles from an active command to next active command (Default: 0x2) */
-#define SET_tRAS(x) (((x)&0xF) << 22) /* tRAS (Minimum Active-to-Precharge time) [3:0] - Number of clock cycles from an ACTIVE command until a PRE-CHARGE command is issued. To obtain this value, one should divide the minimum RAS to pre-charge delay of SDRAM by clock cycle time (Default: 0x6) */
-#define SET_tRP(x) (((x)&0xF) << 18) /* tRP (Precharge-to-Active Command period)[3:0] - Number of clock cycles needed for DDR to recover from a precharge command and ready to accept next active command (Default: 0x3) */
-#define SET_tRFC(x) (((x)&0xF) << 14) /* tRFC[3:0] AUTO-REFRESH Command Period[3:0] - Number of clock cycles needed for DDR to recover from a refresh to be ready for next active command (tRFC/Clock Period) (Default: 0xA) */
-#define SET_tREFI(x) ((x)&0x3FFF) /* tREFI (Refresh Interval)[13:0] - Number of clock cycles from one refresh cycle to next refresh cycle. To obtain this value, divide the DDR refresh period (tREF) by total number of rows to be refreshed. Then divide the result by total time. (Default: 0x0411) */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for EBIU_DDRCTL1 */
-
-#define TRCD 0xf /* Active-to-Read/write delay */
-#define MRD 0xf0 /* Mode register set to active */
-#define TWR 0x300 /* Write Recovery time */
-#define DDRDATWIDTH 0x3000 /* DDR data width */
-#define EXTBANKS 0xc000 /* External banks */
-#define DDRDEVWIDTH 0x30000 /* DDR device width */
-#define DDRDEVSIZE 0xc0000 /* DDR device size */
-#define TWWTR 0xf0000000 /* Write-to-read delay */
-
-/* Alternate names that match BF54x HRM */
-#define DDR_DATWIDTH 0x3000 /* DDR data width */
-#define DDR_DEVWIDTH 0x30000 /* DDR device width */
-#define DDR_DEVSIZE 0xc0000 /* DDR device size */
-
-/* Masks for EBIU_DDRCTL1 (DDRDATWIDTH) [in HRM: DDR_DATWIDTH] */
-#define DDR_DATAWIDTH 0x00002000 /* DDR_DATWIDTH Total DDR Data Width (16-bit Only) */
-
-/* Masks for EBIU_DDRCTL1 (EXTBANKS) */
-#define CS0 0x00000000 /* EXTBANKS External Banks[15:14] */
-#define CS0_CS1 0x00004000 /* default */
-
-/* Masks for EBIU_DDRCTL1 (DDRDEVWIDTH) [in HRM: DDR_DEVWIDTH] */
-#define DDR_DEVWIDTH_4 0x00000000 /* DDR_DRVWIDTH DDR Device Width[17:16] */
-#define DDR_DEVWIDTH_8 0x00010000
-#define DDR_DEVWIDTH_16 0x00020000 /* default */
-
-/* Masks for EBIU_DDRCTL1 (DDRDEVSIZE) [in HRM: DDR_DEVSIZE] */
-#define DDR_DEVSIZE_512 0x00000000 /* DDR_DEVSIZE DDR Device Size[19:18] */
-#define DDR_DEVSIZE_64 0x00040000
-#define DDR_DEVSIZE_128 0x00080000
-#define DDR_DEVSIZE_256 0x000C0000
-
-/* Macros for EBIU_DDRCTL1 */
-#ifdef _MISRA_RULES
-#define SET_tWTR(x) (((x)&0xFu) << 28) /* tWTR (Write-to-Read Delay)[3:0] - The Write to read delay (last write data to the next read command) as specified by DDR Data sheet (Default: 0x0001) */
-#define SET_tWR(x) (((x)&0x3u) << 8) /* tWR Write Recovery Time[9:8] */
-#define SET_tMRD(x) (((x)&0xFu) << 4) /* tMRD Mode register set to active[7:4] */
-#define SET_tRCD(x) ((x)&0xFu) /* tRCD ACTIVE-to-READ/WRITE delay[3:0] */
-#else
-#define SET_tWTR(x) (((x)&0xF) << 28) /* tWTR (Write-to-Read Delay)[3:0] - The Write to read delay (last write data to the next read command) as specified by DDR Data sheet (Default: 0x0001) */
-#define SET_tWR(x) (((x)&0x3) << 8) /* tWR Write Recovery Time[9:8] */
-#define SET_tMRD(x) (((x)&0xF) << 4) /* tMRD Mode register set to active[7:4] */
-#define SET_tRCD(x) ((x)&0xF) /* tRCD ACTIVE-to-READ/WRITE delay[3:0] */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for EBIU_DDRCTL2 */
-#define BURSTLENGTH 0x7 /* Burst length */
-#define CASLATENCY 0x70 /* CAS latency */
-#define DLLRESET 0x100 /* DLL Reset */
-#define nDLLRESET 0x0
-#define REGE 0x1000 /* Register mode enable */
-#define nREGE 0x0
-
-/* Masks for EBIU_DDRCTL2 (BURSTLENGTH) */
-#define BURSTLENGTH1 0x00000001 /* BURSTLENGTH Burst length[2:0] - 001 : Read Only value is set to a burst length of 2 */
-
-/* Masks for EBIU_DDRCTL2 (CASLATENCY) */
-/* CASLATENCY CAS Latency[6:4] - The number of clock cycles from assertion of read/write signal to SDRAM until first valid data on output from SDRAM. */
-#define CASLATENCY15 0x00000050 /* 101 : 1.5 */
-#define CASLATENCY2 0x00000020 /* 010 : 2 (Default) */
-#define CASLATENCY25 0x00000060 /* 110 : 2.5 */
-#define CASLATENCY3 0x00000030 /* 011 : 3 */
-
-/* Masks for EBIU_DDRCTL2 (DLLRESET) */
-#define DLL 0x00000001 /* 0: Enable DLL */
-#define nDLL 0x0 /* 0: Disable DLL (Default) */
-#define DS 0x00000002 /* Defaults to 1 ( Reduced Strength). This is the ONLY value supported */
-#define nDS 0x0
-
-/* Bit masks for EBIU_DDRCTL3 */
-#define PASR 0x7 /* Partial array self-refresh */
-
-/* Bit masks for EBIU_DDRQUE */
-#define DEB0_PFLEN 0x3 /* Pre fetch length for DEB0 accesses */
-#define DEB1_PFLEN 0xc /* Pre fetch length for DEB1 accesses */
-#define DEB2_PFLEN 0x30 /* Pre fetch length for DEB2 accesses */
-#define DEB_ARB_PRIORITY 0x700 /* Arbitration between DEB busses */
-#define DEB0_URGENT 0x1000 /* DEB0 Urgent */
-#define nDEB0_URGENT 0x0
-#define DEB1_URGENT 0x2000 /* DEB1 Urgent */
-#define nDEB1_URGENT 0x0
-#define DEB2_URGENT 0x4000 /* DEB2 Urgent */
-#define nDEB2_URGENT 0x0
-
-/* Bit masks for EBIU_DDRQUE (DEB0_PFLEN) */
-/* DEB0_PFLEN[1:0] - Prefetch Length for DEB0 Accesses. Based on these bits, DQM instructs DDR Controller to perform 2-beat, 4-beat or 8-beat bursts for prefetch read data. */
-#define DEB0_PFLEN0 0x00000000 /* 00 - (Single Access) */
-#define DEB0_PFLEN4 0x00000001 /* 01 - 4 Half-words (Default) */
-#define DEB0_PFLEN8 0x00000002 /* 10 - 8 Half-words */
-#define DEB0_PFLEN16 0x00000003 /* 11 - 16Half-words */
-/* performs, 16 bit read to DDR controller. Second edge is not used. */
-
-/* Bit masks for EBIU_DDRQUE (DEB1_PFLEN) */
-/* DEB1_PFLEN[3:2] - Prefetch Length for DEB0 Accesses. Based on these bits, DQM instructs DDR Controller to perform 2-beat, 4-beat or 8-beat bursts for prefetch read data. */
-#define DEB1_PFLEN0 0x00000000 /* 00 - (Single Access) */
-#define DEB1_PFLEN4 0x00000004 /* 01 - 4 Half-words (Default) */
-#define DEB1_PFLEN8 0x00000008 /* 10 - 8 Half-words */
-#define DEB1_PFLEN16 0x0000000C /* 11 - 16Half-words */
-/* performs, 16 bit read to DDR controller. Second edge is not used. */
-
-/* Bit masks for EBIU_DDRQUE (DEB2_PFLEN) */
-/* DEB2_PFLEN[5:4] - Prefetch Length for DEB0 Accesses. Based on these bits, DQM instructs DDR Controller to perform 2-beat, 4-beat or 8-beat bursts for prefetch read data. */
-#define DEB2_PFLEN0 0x00000000 /* 00 - (Single Access) */
-#define DEB2_PFLEN4 0x00000010 /* 01 - 4 Half-words (Default) */
-#define DEB2_PFLEN8 0x00000020 /* 10 - 8 Half-words */
-#define DEB2_PFLEN16 0x00000030 /* 11 - 16Half-words */
-/* performs, 16 bit read to DDR controller. Second edge is not used. */
-
-/* Bit masks for EBIU_DDRQUE (DEB_ARB_PRIORITY) */
-/* DEB_ARB_PRIORITY[10:8] - Arbitration Priority between all DEB buses for External DDR Memory: */
-#define DEB_ARB_PRIORITY0 0x00000000 /* 000 : DEB0>DEB1>DEB2 */
-#define DEB_ARB_PRIORITY1 0x00000100 /* 001 : DEB1>DEB0>DEB2 (Default) */
-#define DEB_ARB_PRIORITY2 0x00000200 /* 010 : DEB2>DEB0>DEB1 */
-/* In addition the following fixed order of arbitration is maintained:
-1. Core Lock Access
-2. Urgent DMA Access
-3. Core Access
-4. Normal DMA Access
-5. Prefetch Reads */
-
-/* Bit masks for EBIU_ERRMST */
-
-#define DEB1_ERROR 0x1 /* DEB1 Error */
-#define nDEB1_ERROR 0x0
-#define DEB2_ERROR 0x2 /* DEB2 Error */
-#define nDEB2_ERROR 0x0
-#define DEB3_ERROR 0x4 /* DEB3 Error */
-#define nDEB3_ERROR 0x0
-#define CORE_ERROR 0x8 /* Core error */
-#define nCORE_ERROR 0x0
-#define DEB_MERROR 0x10 /* DEB1 Error (2nd) */
-#define nDEB_MERROR 0x0
-#define DEB2_MERROR 0x20 /* DEB2 Error (2nd) */
-#define nDEB2_MERROR 0x0
-#define DEB3_MERROR 0x40 /* DEB3 Error (2nd) */
-#define nDEB3_MERROR 0x0
-#define CORE_MERROR 0x80 /* Core Error (2nd) */
-#define nCORE_MERROR 0x0
-
-/* Bit masks for EBIU_ERRADD */
-
-#define ERROR_ADDRESS 0xffffffff /* Error Address */
-
-/* Bit masks for EBIU_RSTCTL */
-
-#define DDRSRESET 0x1 /* DDR soft reset */
-#define nDDRSRESET 0x0
-#define PFTCHSRESET 0x4 /* DDR prefetch reset */
-#define nPFTCHSRESET 0x0
-#define SRREQ 0x8 /* Self-refresh request */
-#define nSRREQ 0x0
-#define SRACK 0x10 /* Self-refresh acknowledge */
-#define nSRACK 0x0
-
-/* Bit masks for EBIU_DDRBRC0 */
-
-#define BRC0 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC1 */
-
-#define BRC1 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC2 */
-
-#define BRC2 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC3 */
-
-#define BRC3 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC4 */
-
-#define BRC4 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC5 */
-
-#define BRC5 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC6 */
-
-#define BRC6 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBRC7 */
-
-#define BRC7 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC0 */
-
-#define BWC0 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC1 */
-
-#define BWC1 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC2 */
-
-#define BWC2 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC3 */
-
-#define BWC3 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC4 */
-
-#define BWC4 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC5 */
-
-#define BWC5 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC6 */
-
-#define BWC6 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRBWC7 */
-
-#define BWC7 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRACCT */
-
-#define ACCT 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRTACT */
-
-#define TECT 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRARCT */
-
-#define ARCT 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRGC0 */
-
-#define GC0 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRGC1 */
-
-#define GC1 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRGC2 */
-
-#define GC2 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRGC3 */
-
-#define GC3 0xffffffff /* Count */
-
-/* Bit masks for EBIU_DDRMCEN */
-
-#define B0WCENABLE 0x1 /* Bank 0 write count enable */
-#define nB0WCENABLE 0x0
-#define B1WCENABLE 0x2 /* Bank 1 write count enable */
-#define nB1WCENABLE 0x0
-#define B2WCENABLE 0x4 /* Bank 2 write count enable */
-#define nB2WCENABLE 0x0
-#define B3WCENABLE 0x8 /* Bank 3 write count enable */
-#define nB3WCENABLE 0x0
-#define B4WCENABLE 0x10 /* Bank 4 write count enable */
-#define nB4WCENABLE 0x0
-#define B5WCENABLE 0x20 /* Bank 5 write count enable */
-#define nB5WCENABLE 0x0
-#define B6WCENABLE 0x40 /* Bank 6 write count enable */
-#define nB6WCENABLE 0x0
-#define B7WCENABLE 0x80 /* Bank 7 write count enable */
-#define nB7WCENABLE 0x0
-#define B0RCENABLE 0x100 /* Bank 0 read count enable */
-#define nB0RCENABLE 0x0
-#define B1RCENABLE 0x200 /* Bank 1 read count enable */
-#define nB1RCENABLE 0x0
-#define B2RCENABLE 0x400 /* Bank 2 read count enable */
-#define nB2RCENABLE 0x0
-#define B3RCENABLE 0x800 /* Bank 3 read count enable */
-#define nB3RCENABLE 0x0
-#define B4RCENABLE 0x1000 /* Bank 4 read count enable */
-#define nB4RCENABLE 0x0
-#define B5RCENABLE 0x2000 /* Bank 5 read count enable */
-#define nB5RCENABLE 0x0
-#define B6RCENABLE 0x4000 /* Bank 6 read count enable */
-#define nB6RCENABLE 0x0
-#define B7RCENABLE 0x8000 /* Bank 7 read count enable */
-#define nB7RCENABLE 0x0
-#define ROWACTCENABLE 0x10000 /* DDR Row activate count enable */
-#define nROWACTCENABLE 0x0
-#define RWTCENABLE 0x20000 /* DDR R/W Turn around count enable */
-#define nRWTCENABLE 0x0
-#define ARCENABLE 0x40000 /* DDR Auto-refresh count enable */
-#define nARCENABLE 0x0
-#define GC0ENABLE 0x100000 /* DDR Grant count 0 enable */
-#define nGC0ENABLE 0x0
-#define GC1ENABLE 0x200000 /* DDR Grant count 1 enable */
-#define nGC1ENABLE 0x0
-#define GC2ENABLE 0x400000 /* DDR Grant count 2 enable */
-#define nGC2ENABLE 0x0
-#define GC3ENABLE 0x800000 /* DDR Grant count 3 enable */
-#define nGC3ENABLE 0x0
-#define GCCONTROL 0x3000000 /* DDR Grant Count Control */
-
-/* Bit masks for EBIU_DDRMCCL */
-
-#define CB0WCOUNT 0x1 /* Clear write count 0 */
-#define nCB0WCOUNT 0x0
-#define CB1WCOUNT 0x2 /* Clear write count 1 */
-#define nCB1WCOUNT 0x0
-#define CB2WCOUNT 0x4 /* Clear write count 2 */
-#define nCB2WCOUNT 0x0
-#define CB3WCOUNT 0x8 /* Clear write count 3 */
-#define nCB3WCOUNT 0x0
-#define CB4WCOUNT 0x10 /* Clear write count 4 */
-#define nCB4WCOUNT 0x0
-#define CB5WCOUNT 0x20 /* Clear write count 5 */
-#define nCB5WCOUNT 0x0
-#define CB6WCOUNT 0x40 /* Clear write count 6 */
-#define nCB6WCOUNT 0x0
-#define CB7WCOUNT 0x80 /* Clear write count 7 */
-#define nCB7WCOUNT 0x0
-#define CBRCOUNT 0x100 /* Clear read count 0 */
-#define nCBRCOUNT 0x0
-#define CB1RCOUNT 0x200 /* Clear read count 1 */
-#define nCB1RCOUNT 0x0
-#define CB2RCOUNT 0x400 /* Clear read count 2 */
-#define nCB2RCOUNT 0x0
-#define CB3RCOUNT 0x800 /* Clear read count 3 */
-#define nCB3RCOUNT 0x0
-#define CB4RCOUNT 0x1000 /* Clear read count 4 */
-#define nCB4RCOUNT 0x0
-#define CB5RCOUNT 0x2000 /* Clear read count 5 */
-#define nCB5RCOUNT 0x0
-#define CB6RCOUNT 0x4000 /* Clear read count 6 */
-#define nCB6RCOUNT 0x0
-#define CB7RCOUNT 0x8000 /* Clear read count 7 */
-#define nCB7RCOUNT 0x0
-#define CRACOUNT 0x10000 /* Clear row activation count */
-#define nCRACOUNT 0x0
-#define CRWTACOUNT 0x20000 /* Clear R/W turn-around count */
-#define nCRWTACOUNT 0x0
-#define CARCOUNT 0x40000 /* Clear auto-refresh count */
-#define nCARCOUNT 0x0
-#define CG0COUNT 0x100000 /* Clear grant count 0 */
-#define nCG0COUNT 0x0
-#define CG1COUNT 0x200000 /* Clear grant count 1 */
-#define nCG1COUNT 0x0
-#define CG2COUNT 0x400000 /* Clear grant count 2 */
-#define nCG2COUNT 0x0
-#define CG3COUNT 0x800000 /* Clear grant count 3 */
-#define nCG3COUNT 0x0
-
-/* Bit masks for (PORTx is PORTA - PORTJ) includes PORTx_FER, PORTx_SET, PORTx_CLEAR, PORTx_DIR_SET, PORTx_DIR_CLEAR, PORTx_INEN */
-
-#define Px0 0x1 /* GPIO 0 */
-#define nPx0 0x0
-#define Px1 0x2 /* GPIO 1 */
-#define nPx1 0x0
-#define Px2 0x4 /* GPIO 2 */
-#define nPx2 0x0
-#define Px3 0x8 /* GPIO 3 */
-#define nPx3 0x0
-#define Px4 0x10 /* GPIO 4 */
-#define nPx4 0x0
-#define Px5 0x20 /* GPIO 5 */
-#define nPx5 0x0
-#define Px6 0x40 /* GPIO 6 */
-#define nPx6 0x0
-#define Px7 0x80 /* GPIO 7 */
-#define nPx7 0x0
-#define Px8 0x100 /* GPIO 8 */
-#define nPx8 0x0
-#define Px9 0x200 /* GPIO 9 */
-#define nPx9 0x0
-#define Px10 0x400 /* GPIO 10 */
-#define nPx10 0x0
-#define Px11 0x800 /* GPIO 11 */
-#define nPx11 0x0
-#define Px12 0x1000 /* GPIO 12 */
-#define nPx12 0x0
-#define Px13 0x2000 /* GPIO 13 */
-#define nPx13 0x0
-#define Px14 0x4000 /* GPIO 14 */
-#define nPx14 0x0
-#define Px15 0x8000 /* GPIO 15 */
-#define nPx15 0x0
-
-/* Bit masks for PORTA_MUX - PORTJ_MUX */
-
-#define PxM0 0x3 /* GPIO Mux 0 */
-#define PxM1 0xc /* GPIO Mux 1 */
-#define PxM2 0x30 /* GPIO Mux 2 */
-#define PxM3 0xc0 /* GPIO Mux 3 */
-#define PxM4 0x300 /* GPIO Mux 4 */
-#define PxM5 0xc00 /* GPIO Mux 5 */
-#define PxM6 0x3000 /* GPIO Mux 6 */
-#define PxM7 0xc000 /* GPIO Mux 7 */
-#define PxM8 0x30000 /* GPIO Mux 8 */
-#define PxM9 0xc0000 /* GPIO Mux 9 */
-#define PxM10 0x300000 /* GPIO Mux 10 */
-#define PxM11 0xc00000 /* GPIO Mux 11 */
-#define PxM12 0x3000000 /* GPIO Mux 12 */
-#define PxM13 0xc000000 /* GPIO Mux 13 */
-#define PxM14 0x30000000 /* GPIO Mux 14 */
-#define PxM15 0xc0000000 /* GPIO Mux 15 */
-
-
-/* Bit masks for PINTx_MASK_SET/CLEAR, PINTx_REQUEST, PINTx_LATCH, PINTx_EDGE_SET/CLEAR, PINTx_INVERT_SET/CLEAR, PINTx_PINTSTATE */
-
-#define IB0 0x1 /* Interrupt Bit 0 */
-#define nIB0 0x0
-#define IB1 0x2 /* Interrupt Bit 1 */
-#define nIB1 0x0
-#define IB2 0x4 /* Interrupt Bit 2 */
-#define nIB2 0x0
-#define IB3 0x8 /* Interrupt Bit 3 */
-#define nIB3 0x0
-#define IB4 0x10 /* Interrupt Bit 4 */
-#define nIB4 0x0
-#define IB5 0x20 /* Interrupt Bit 5 */
-#define nIB5 0x0
-#define IB6 0x40 /* Interrupt Bit 6 */
-#define nIB6 0x0
-#define IB7 0x80 /* Interrupt Bit 7 */
-#define nIB7 0x0
-#define IB8 0x100 /* Interrupt Bit 8 */
-#define nIB8 0x0
-#define IB9 0x200 /* Interrupt Bit 9 */
-#define nIB9 0x0
-#define IB10 0x400 /* Interrupt Bit 10 */
-#define nIB10 0x0
-#define IB11 0x800 /* Interrupt Bit 11 */
-#define nIB11 0x0
-#define IB12 0x1000 /* Interrupt Bit 12 */
-#define nIB12 0x0
-#define IB13 0x2000 /* Interrupt Bit 13 */
-#define nIB13 0x0
-#define IB14 0x4000 /* Interrupt Bit 14 */
-#define nIB14 0x0
-#define IB15 0x8000 /* Interrupt Bit 15 */
-#define nIB15 0x0
-
-/* Bit masks for TIMERx_CONFIG */
-
-#define TMODE 0x3 /* Timer Mode */
-#define PULSE_HI 0x4 /* Pulse Polarity */
-#define nPULSE_HI 0x0
-#define PERIOD_CNT 0x8 /* Period Count */
-#define nPERIOD_CNT 0x0
-#define IRQ_ENA 0x10 /* Interrupt Request Enable */
-#define nIRQ_ENA 0x0
-#define TIN_SEL 0x20 /* Timer Input Select */
-#define nTIN_SEL 0x0
-#define OUT_DIS 0x40 /* Output Pad Disable */
-#define nOUT_DIS 0x0
-#define CLK_SEL 0x80 /* Timer Clock Select */
-#define nCLK_SEL 0x0
-#define TOGGLE_HI 0x100 /* Toggle Mode */
-#define nTOGGLE_HI 0x0
-#define EMU_RUN 0x200 /* Emulation Behavior Select */
-#define nEMU_RUN 0x0
-#define ERR_TYP 0xc000 /* Error Type */
-
-/* Bit masks for TIMER_ENABLE0 */
-
-#define TIMEN0 0x1 /* Timer 0 Enable */
-#define nTIMEN0 0x0
-#define TIMEN1 0x2 /* Timer 1 Enable */
-#define nTIMEN1 0x0
-#define TIMEN2 0x4 /* Timer 2 Enable */
-#define nTIMEN2 0x0
-#define TIMEN3 0x8 /* Timer 3 Enable */
-#define nTIMEN3 0x0
-#define TIMEN4 0x10 /* Timer 4 Enable */
-#define nTIMEN4 0x0
-#define TIMEN5 0x20 /* Timer 5 Enable */
-#define nTIMEN5 0x0
-#define TIMEN6 0x40 /* Timer 6 Enable */
-#define nTIMEN6 0x0
-#define TIMEN7 0x80 /* Timer 7 Enable */
-#define nTIMEN7 0x0
-
-/* Bit masks for TIMER_DISABLE0 */
-
-#define TIMDIS0 0x1 /* Timer 0 Disable */
-#define nTIMDIS0 0x0
-#define TIMDIS1 0x2 /* Timer 1 Disable */
-#define nTIMDIS1 0x0
-#define TIMDIS2 0x4 /* Timer 2 Disable */
-#define nTIMDIS2 0x0
-#define TIMDIS3 0x8 /* Timer 3 Disable */
-#define nTIMDIS3 0x0
-#define TIMDIS4 0x10 /* Timer 4 Disable */
-#define nTIMDIS4 0x0
-#define TIMDIS5 0x20 /* Timer 5 Disable */
-#define nTIMDIS5 0x0
-#define TIMDIS6 0x40 /* Timer 6 Disable */
-#define nTIMDIS6 0x0
-#define TIMDIS7 0x80 /* Timer 7 Disable */
-#define nTIMDIS7 0x0
-
-/* Bit masks for TIMER_STATUS0 */
-
-#define TIMIL0 0x1 /* Timer 0 Interrupt */
-#define nTIMIL0 0x0
-#define TIMIL1 0x2 /* Timer 1 Interrupt */
-#define nTIMIL1 0x0
-#define TIMIL2 0x4 /* Timer 2 Interrupt */
-#define nTIMIL2 0x0
-#define TIMIL3 0x8 /* Timer 3 Interrupt */
-#define nTIMIL3 0x0
-#define TOVF_ERR0 0x10 /* Timer 0 Counter Overflow */
-#define nTOVF_ERR0 0x0
-#define TOVF_ERR1 0x20 /* Timer 1 Counter Overflow */
-#define nTOVF_ERR1 0x0
-#define TOVF_ERR2 0x40 /* Timer 2 Counter Overflow */
-#define nTOVF_ERR2 0x0
-#define TOVF_ERR3 0x80 /* Timer 3 Counter Overflow */
-#define nTOVF_ERR3 0x0
-#define TRUN0 0x1000 /* Timer 0 Slave Enable Status */
-#define nTRUN0 0x0
-#define TRUN1 0x2000 /* Timer 1 Slave Enable Status */
-#define nTRUN1 0x0
-#define TRUN2 0x4000 /* Timer 2 Slave Enable Status */
-#define nTRUN2 0x0
-#define TRUN3 0x8000 /* Timer 3 Slave Enable Status */
-#define nTRUN3 0x0
-#define TIMIL4 0x10000 /* Timer 4 Interrupt */
-#define nTIMIL4 0x0
-#define TIMIL5 0x20000 /* Timer 5 Interrupt */
-#define nTIMIL5 0x0
-#define TIMIL6 0x40000 /* Timer 6 Interrupt */
-#define nTIMIL6 0x0
-#define TIMIL7 0x80000 /* Timer 7 Interrupt */
-#define nTIMIL7 0x0
-#define TOVF_ERR4 0x100000 /* Timer 4 Counter Overflow */
-#define nTOVF_ERR4 0x0
-#define TOVF_ERR5 0x200000 /* Timer 5 Counter Overflow */
-#define nTOVF_ERR5 0x0
-#define TOVF_ERR6 0x400000 /* Timer 6 Counter Overflow */
-#define nTOVF_ERR6 0x0
-#define TOVF_ERR7 0x800000 /* Timer 7 Counter Overflow */
-#define nTOVF_ERR7 0x0
-#define TRUN4 0x10000000 /* Timer 4 Slave Enable Status */
-#define nTRUN4 0x0
-#define TRUN5 0x20000000 /* Timer 5 Slave Enable Status */
-#define nTRUN5 0x0
-#define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */
-#define nTRUN6 0x0
-#define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */
-#define nTRUN7 0x0
-
-/* Bit masks for WDOG_CTL */
-
-#define WDEV 0x6 /* Watchdog Event */
-#define WDEN 0xff0 /* Watchdog Enable */
-#define WDRO 0x8000 /* Watchdog Rolled Over */
-#define nWDRO 0x0
-
-/* Bit masks for CNT_CONFIG */
-
-#define CNTE 0x1 /* Counter Enable */
-#define nCNTE 0x0
-#define DEBE 0x2 /* Debounce Enable */
-#define nDEBE 0x0
-#define CDGINV 0x10 /* CDG Pin Polarity Invert */
-#define nCDGINV 0x0
-#define CUDINV 0x20 /* CUD Pin Polarity Invert */
-#define nCUDINV 0x0
-#define CZMINV 0x40 /* CZM Pin Polarity Invert */
-#define nCZMINV 0x0
-#define CNTMODE 0x700 /* Counter Operating Mode */
-#define ZMZC 0x800 /* CZM Zeroes Counter Enable */
-#define nZMZC 0x0
-#define BNDMODE 0x3000 /* Boundary register Mode */
-#define INPDIS 0x8000 /* CUG and CDG Input Disable */
-#define nINPDIS 0x0
-
-/* Bit masks for CNT_IMASK */
-
-#define ICIE 0x1 /* Illegal Gray/Binary Code Interrupt Enable */
-#define nICIE 0x0
-#define UCIE 0x2 /* Up count Interrupt Enable */
-#define nUCIE 0x0
-#define DCIE 0x4 /* Down count Interrupt Enable */
-#define nDCIE 0x0
-#define MINCIE 0x8 /* Min Count Interrupt Enable */
-#define nMINCIE 0x0
-#define MAXCIE 0x10 /* Max Count Interrupt Enable */
-#define nMAXCIE 0x0
-#define COV31IE 0x20 /* Bit 31 Overflow Interrupt Enable */
-#define nCOV31IE 0x0
-#define COV15IE 0x40 /* Bit 15 Overflow Interrupt Enable */
-#define nCOV15IE 0x0
-#define CZEROIE 0x80 /* Count to Zero Interrupt Enable */
-#define nCZEROIE 0x0
-#define CZMIE 0x100 /* CZM Pin Interrupt Enable */
-#define nCZMIE 0x0
-#define CZMEIE 0x200 /* CZM Error Interrupt Enable */
-#define nCZMEIE 0x0
-#define CZMZIE 0x400 /* CZM Zeroes Counter Interrupt Enable */
-#define nCZMZIE 0x0
-
-/* Bit masks for CNT_STATUS */
-
-#define ICII 0x1 /* Illegal Gray/Binary Code Interrupt Identifier */
-#define nICII 0x0
-#define UCII 0x2 /* Up count Interrupt Identifier */
-#define nUCII 0x0
-#define DCII 0x4 /* Down count Interrupt Identifier */
-#define nDCII 0x0
-#define MINCII 0x8 /* Min Count Interrupt Identifier */
-#define nMINCII 0x0
-#define MAXCII 0x10 /* Max Count Interrupt Identifier */
-#define nMAXCII 0x0
-#define COV31II 0x20 /* Bit 31 Overflow Interrupt Identifier */
-#define nCOV31II 0x0
-#define COV15II 0x40 /* Bit 15 Overflow Interrupt Identifier */
-#define nCOV15II 0x0
-#define CZEROII 0x80 /* Count to Zero Interrupt Identifier */
-#define nCZEROII 0x0
-#define CZMII 0x100 /* CZM Pin Interrupt Identifier */
-#define nCZMII 0x0
-#define CZMEII 0x200 /* CZM Error Interrupt Identifier */
-#define nCZMEII 0x0
-#define CZMZII 0x400 /* CZM Zeroes Counter Interrupt Identifier */
-#define nCZMZII 0x0
-
-/* Bit masks for CNT_COMMAND */
-
-#define W1LCNT 0xf /* Load Counter Register */
-#define W1LMIN 0xf0 /* Load Min Register */
-#define W1LMAX 0xf00 /* Load Max Register */
-#define W1ZMONCE 0x1000 /* Enable CZM Clear Counter Once */
-#define nW1ZMONCE 0x0
-
-/* Bit masks for CNT_DEBOUNCE */
-
-#define DPRESCALE 0xf /* Load Counter Register */
-
-/* Bit masks for RTC_STAT */
-
-#define SECONDS 0x3f /* Seconds */
-#define MINUTES 0xfc0 /* Minutes */
-#define HOURS 0x1f000 /* Hours */
-#define DAY_COUNTER 0xfffe0000 /* Day Counter */
-
-/* Bit masks for RTC_ICTL */
-
-#define STOPWATCH_INTERRUPT_ENABLE 0x1 /* Stopwatch Interrupt Enable */
-#define nSTOPWATCH_INTERRUPT_ENABLE 0x0
-#define ALARM_INTERRUPT_ENABLE 0x2 /* Alarm Interrupt Enable */
-#define nALARM_INTERRUPT_ENABLE 0x0
-#define SECONDS_INTERRUPT_ENABLE 0x4 /* Seconds Interrupt Enable */
-#define nSECONDS_INTERRUPT_ENABLE 0x0
-#define MINUTES_INTERRUPT_ENABLE 0x8 /* Minutes Interrupt Enable */
-#define nMINUTES_INTERRUPT_ENABLE 0x0
-#define HOURS_INTERRUPT_ENABLE 0x10 /* Hours Interrupt Enable */
-#define nHOURS_INTERRUPT_ENABLE 0x0
-#define TWENTY_FOUR_HOURS_INTERRUPT_ENABLE 0x20 /* 24 Hours Interrupt Enable */
-#define nTWENTY_FOUR_HOURS_INTERRUPT_ENABLE 0x0
-#define DAY_ALARM_INTERRUPT_ENABLE 0x40 /* Day Alarm Interrupt Enable */
-#define nDAY_ALARM_INTERRUPT_ENABLE 0x0
-#define WRITE_COMPLETE_INTERRUPT_ENABLE 0x8000 /* Write Complete Interrupt Enable */
-#define nWRITE_COMPLETE_INTERRUPT_ENABLE 0x0
-
-/* Bit masks for RTC_ISTAT */
-
-#define STOPWATCH_EVENT_FLAG 0x1 /* Stopwatch Event Flag */
-#define nSTOPWATCH_EVENT_FLAG 0x0
-#define ALARM_EVENT_FLAG 0x2 /* Alarm Event Flag */
-#define nALARM_EVENT_FLAG 0x0
-#define SECONDS_EVENT_FLAG 0x4 /* Seconds Event Flag */
-#define nSECONDS_EVENT_FLAG 0x0
-#define MINUTES_EVENT_FLAG 0x8 /* Minutes Event Flag */
-#define nMINUTES_EVENT_FLAG 0x0
-#define HOURS_EVENT_FLAG 0x10 /* Hours Event Flag */
-#define nHOURS_EVENT_FLAG 0x0
-#define TWENTY_FOUR_HOURS_EVENT_FLAG 0x20 /* 24 Hours Event Flag */
-#define nTWENTY_FOUR_HOURS_EVENT_FLAG 0x0
-#define DAY_ALARM_EVENT_FLAG 0x40 /* Day Alarm Event Flag */
-#define nDAY_ALARM_EVENT_FLAG 0x0
-#define WRITE_PENDING_STATUS 0x4000 /* Write Pending Status */
-#define nWRITE_PENDING_STATUS 0x0
-#define WRITE_COMPLETE 0x8000 /* Write Complete */
-#define nWRITE_COMPLETE 0x0
-
-/* Bit masks for RTC_SWCNT */
-
-#define STOPWATCH_COUNT 0xffff /* Stopwatch Count */
-
-/* Bit masks for RTC_ALARM */
-
-#define SECONDS 0x3f /* Seconds */
-#define MINUTES 0xfc0 /* Minutes */
-#define HOURS 0x1f000 /* Hours */
-#define DAY 0xfffe0000 /* Day */
-
-/* Bit masks for RTC_PREN */
-
-#define PREN 0x1 /* Prescaler Enable */
-#define nPREN 0x0
-
-/* Bit masks for SECURE_SYSSWT */
-
-#define EMUDABL 0x1 /* Emulation Disable. */
-#define nEMUDABL 0x0
-#define RSTDABL 0x2 /* Reset Disable */
-#define nRSTDABL 0x0
-#define L1IDABL 0x1c /* L1 Instruction Memory Disable. */
-#define L1DADABL 0xe0 /* L1 Data Bank A Memory Disable. */
-#define L1DBDABL 0x700 /* L1 Data Bank B Memory Disable. */
-#define DMA0OVR 0x800 /* DMA0 Memory Access Override */
-#define nDMA0OVR 0x0
-#define DMA1OVR 0x1000 /* DMA1 Memory Access Override */
-#define nDMA1OVR 0x0
-#define EMUOVR 0x4000 /* Emulation Override */
-#define nEMUOVR 0x0
-#define OTPSEN 0x8000 /* OTP Secrets Enable. */
-#define nOTPSEN 0x0
-#define L2DABL 0x70000 /* L2 Memory Disable. */
-
-/* Bit masks for SECURE_CONTROL */
-
-#define SECURE0 0x1 /* SECURE 0 */
-#define nSECURE0 0x0
-#define SECURE1 0x2 /* SECURE 1 */
-#define nSECURE1 0x0
-#define SECURE2 0x4 /* SECURE 2 */
-#define nSECURE2 0x0
-#define SECURE3 0x8 /* SECURE 3 */
-#define nSECURE3 0x0
-
-/* Bit masks for SECURE_STATUS */
-
-#define SECMODE 0x3 /* Secured Mode Control State */
-#define NMI 0x4 /* Non Maskable Interrupt */
-#define nNMI 0x0
-#define AFVALID 0x8 /* Authentication Firmware Valid */
-#define nAFVALID 0x0
-#define AFEXIT 0x10 /* Authentication Firmware Exit */
-#define nAFEXIT 0x0
-#define SECSTAT 0xe0 /* Secure Status */
-
-/* Bit masks for PLL_DIV */
-
-#define CSEL 0x30 /* Core Select */
-#define SSEL 0xf /* System Select */
-
-/* PLL_DIV Masks (CSEL) */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for PLL_CTL */
-
-#define MSEL 0x7e00 /* Multiplier Select */
-#define BYPASS 0x100 /* PLL Bypass Enable */
-#define nBYPASS 0x0
-#define OUTPUT_DELAY 0x80 /* External Memory Output Delay Enable */
-#define nOUTPUT_DELAY 0x0
-#define INPUT_DELAY 0x40 /* External Memory Input Delay Enable */
-#define nINPUT_DELAY 0x0
-#define PDWN 0x20 /* Power Down */
-#define nPDWN 0x0
-#define STOPCK 0x8 /* Stop Clock */
-#define nSTOPCK 0x0
-#define PLL_OFF 0x2 /* Disable PLL */
-#define nPLL_OFF 0x0
-#define DF 0x1 /* Divide Frequency */
-#define nDF 0x0
-
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* Bit masks for PLL_STAT */
-
-#define PLL_LOCKED 0x20 /* PLL Locked Status */
-#define nPLL_LOCKED 0x0
-#define ACTIVE_PLLDISABLED 0x4 /* Active Mode With PLL Disabled */
-#define nACTIVE_PLLDISABLED 0x0
-#define FULL_ON 0x2 /* Full-On Mode */
-#define nFULL_ON 0x0
-#define ACTIVE_PLLENABLED 0x1 /* Active Mode With PLL Enabled */
-#define nACTIVE_PLLENABLED 0x0
-#define RTCWS 0x400 /* RTC/Reset Wake-Up Status */
-#define nRTCWS 0x0
-#define CANWS 0x800 /* CAN Wake-Up Status */
-#define nCANWS 0x0
-#define USBWS 0x2000 /* USB Wake-Up Status */
-#define nUSBWS 0x0
-#define KPADWS 0x4000 /* Keypad Wake-Up Status */
-#define nKPADWS 0x0
-#define ROTWS 0x8000 /* Rotary Wake-Up Status */
-#define nROTWS 0x0
-#define GPWS 0x1000 /* General-Purpose Wake-Up Status */
-#define nGPWS 0x0
-
-/* Bit masks for VR_CTL */
-
-#define FREQ 0x3 /* Regulator Switching Frequency */
-#define GAIN 0xc /* Voltage Output Level Gain */
-#define VLEV 0xf0 /* Internal Voltage Level */
-#define SCKELOW 0x8000 /* Drive SCKE Low During Reset Enable */
-#define nSCKELOW 0x0
-#define WAKE 0x100 /* RTC/Reset Wake-Up Enable */
-#define nWAKE 0x0
-#define CANWE 0x200 /* CAN0/1 Wake-Up Enable */
-#define nCANWE 0x0
-#define GPWE 0x400 /* General-Purpose Wake-Up Enable */
-#define nGPWE 0x0
-#define USBWE 0x800 /* USB Wake-Up Enable */
-#define nUSBWE 0x0
-#define KPADWE 0x1000 /* Keypad Wake-Up Enable */
-#define nKPADWE 0x0
-#define ROTWE 0x2000 /* Rotary Wake-Up Enable */
-#define nROTWE 0x0
-#define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */
-#define nCLKBUFOE 0x0
-
-/* VR_CTL Masks (FREQ) */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-#define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */
-#define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */
-#define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */
-
-/* VR_CTL Masks (GAIN) */
-
-#define GAIN_5 0x0000 /* GAIN = 5 */
-#define GAIN_10 0x0004 /* GAIN = 10 */
-#define GAIN_20 0x0008 /* GAIN = 20 */
-#define GAIN_50 0x000C /* GAIN = 50 */
-
-/* VR_CTL Masks (VLEV) */
-
-#define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */
-#define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */
-#define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */
-#define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */
-#define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */
-#define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */
-#define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */
-#define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */
-#define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */
-#define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */
-
-/* Bit masks for NFC_CTL */
-
-#define WR_DLY 0xf /* Write Strobe Delay */
-#define RD_DLY 0xf0 /* Read Strobe Delay */
-#define NWIDTH 0x100 /* NAND Data Width */
-#define nNWIDTH 0x0
-#define PG_SIZE 0x200 /* Page Size */
-#define nPG_SIZE 0x0
-
-/* Bit masks for NFC_STAT */
-
-#define NBUSY 0x1 /* Not Busy */
-#define nNBUSY 0x0
-#define WB_FULL 0x2 /* Write Buffer Full */
-#define nWB_FULL 0x0
-#define PG_WR_STAT 0x4 /* Page Write Pending */
-#define nPG_WR_STAT 0x0
-#define PG_RD_STAT 0x8 /* Page Read Pending */
-#define nPG_RD_STAT 0x0
-#define WB_EMPTY 0x10 /* Write Buffer Empty */
-#define nWB_EMPTY 0x0
-
-/* Bit masks for NFC_IRQSTAT */
-
-#define NBUSYIRQ 0x1 /* Not Busy IRQ */
-#define nNBUSYIRQ 0x0
-#define WB_OVF 0x2 /* Write Buffer Overflow */
-#define nWB_OVF 0x0
-#define WB_EDGE 0x4 /* Write Buffer Edge Detect */
-#define nWB_EDGE 0x0
-#define RD_RDY 0x8 /* Read Data Ready */
-#define nRD_RDY 0x0
-#define WR_DONE 0x10 /* Page Write Done */
-#define nWR_DONE 0x0
-
-/* Bit masks for NFC_IRQMASK */
-
-#define MASK_BUSYIRQ 0x1 /* Mask Not Busy IRQ */
-#define nMASK_BUSYIRQ 0x0
-#define MASK_WBOVF 0x2 /* Mask Write Buffer Overflow */
-#define nMASK_WBOVF 0x0
-#define MASK_WBEDGE 0x4 /* Mask Write Buffer Edge Detect */
-#define nMASK_WBEDGE 0x0
-#define MASK_RDRDY 0x8 /* Mask Read Data Ready */
-#define nMASK_RDRDY 0x0
-#define MASK_WRDONE 0x10 /* Mask Write Done */
-#define nMASK_WRDONE 0x0
-
-/* Bit masks for NFC_RST */
-
-#define ECC_RST 0x1 /* ECC (and NFC counters) Reset */
-#define nECC_RST 0x0
-
-/* Bit masks for NFC_PGCTL */
-
-#define PG_RD_START 0x1 /* Page Read Start */
-#define nPG_RD_START 0x0
-#define PG_WR_START 0x2 /* Page Write Start */
-#define nPG_WR_START 0x0
-
-/* Bit masks for NFC_ECC0 */
-
-#define ECC0 0x7ff /* Parity Calculation Result0 */
-
-/* Bit masks for NFC_ECC1 */
-
-#define ECC1 0x7ff /* Parity Calculation Result1 */
-
-/* Bit masks for NFC_ECC2 */
-
-#define ECC2 0x7ff /* Parity Calculation Result2 */
-
-/* Bit masks for NFC_ECC3 */
-
-#define ECC3 0x7ff /* Parity Calculation Result3 */
-
-/* Bit masks for NFC_COUNT */
-
-#define ECCCNT 0x3ff /* Transfer Count */
-
-/* Bit masks for CAN0_CONTROL */
-
-#define SRS 0x1 /* Software Reset */
-#define nSRS 0x0
-#define DNM 0x2 /* DeviceNet Mode */
-#define nDNM 0x0
-#define ABO 0x4 /* Auto Bus On */
-#define nABO 0x0
-#define WBA 0x10 /* Wakeup On CAN Bus Activity */
-#define nWBA 0x0
-#define SMR 0x20 /* Sleep Mode Request */
-#define nSMR 0x0
-#define CSR 0x40 /* CAN Suspend Mode Request */
-#define nCSR 0x0
-#define CCR 0x80 /* CAN Configuration Mode Request */
-#define nCCR 0x0
-
-/* Bit masks for CAN0_STATUS */
-
-#define WT 0x1 /* CAN Transmit Warning Flag */
-#define nWT 0x0
-#define WR 0x2 /* CAN Receive Warning Flag */
-#define nWR 0x0
-#define EP 0x4 /* CAN Error Passive Mode */
-#define nEP 0x0
-#define EBO 0x8 /* CAN Error Bus Off Mode */
-#define nEBO 0x0
-#define CSA 0x40 /* CAN Suspend Mode Acknowledge */
-#define nCSA 0x0
-#define CCA 0x80 /* CAN Configuration Mode Acknowledge */
-#define nCCA 0x0
-#define MBPTR 0x1f00 /* Mailbox Pointer */
-#define TRM 0x4000 /* Transmit Mode Status */
-#define nTRM 0x0
-#define REC 0x8000 /* Receive Mode Status */
-#define nREC 0x0
-
-/* Bit masks for CAN0_DEBUG */
-
-#define DEC 0x1 /* Disable Transmit/Receive Error Counters */
-#define nDEC 0x0
-#define DRI 0x2 /* Disable CANRX Input Pin */
-#define nDRI 0x0
-#define DTO 0x4 /* Disable CANTX Output Pin */
-#define nDTO 0x0
-#define DIL 0x8 /* Disable Internal Loop */
-#define nDIL 0x0
-#define MAA 0x10 /* Mode Auto-Acknowledge */
-#define nMAA 0x0
-#define MRB 0x20 /* Mode Read Back */
-#define nMRB 0x0
-#define CDE 0x8000 /* CAN Debug Mode Enable */
-#define nCDE 0x0
-
-/* Bit masks for CAN0_CLOCK */
-
-#define BRP 0x3ff /* CAN Bit Rate Prescaler */
-
-/* Bit masks for CAN0_TIMING */
-
-#define SJW 0x300 /* Synchronization Jump Width */
-#define SAM 0x80 /* Sampling */
-#define nSAM 0x0
-#define TSEG2 0x70 /* Time Segment 2 */
-#define TSEG1 0xf /* Time Segment 1 */
-
-/* Bit masks for CAN0_INTR */
-
-#define CANRX 0x80 /* Serial Input From Transceiver */
-#define nCANRX 0x0
-#define CANTX 0x40 /* Serial Output To Transceiver */
-#define nCANTX 0x0
-#define SMACK 0x8 /* Sleep Mode Acknowledge */
-#define nSMACK 0x0
-#define GIRQ 0x4 /* Global Interrupt Request Status */
-#define nGIRQ 0x0
-#define MBTIRQ 0x2 /* Mailbox Transmit Interrupt Request */
-#define nMBTIRQ 0x0
-#define MBRIRQ 0x1 /* Mailbox Receive Interrupt Request */
-#define nMBRIRQ 0x0
-
-/* Bit masks for CAN0_GIM */
-
-#define EWTIM 0x1 /* Error Warning Transmit Interrupt Mask */
-#define nEWTIM 0x0
-#define EWRIM 0x2 /* Error Warning Receive Interrupt Mask */
-#define nEWRIM 0x0
-#define EPIM 0x4 /* Error Passive Interrupt Mask */
-#define nEPIM 0x0
-#define BOIM 0x8 /* Bus Off Interrupt Mask */
-#define nBOIM 0x0
-#define WUIM 0x10 /* Wakeup Interrupt Mask */
-#define nWUIM 0x0
-#define UIAIM 0x20 /* Unimplemented Address Interrupt Mask */
-#define nUIAIM 0x0
-#define AAIM 0x40 /* Abort Acknowledge Interrupt Mask */
-#define nAAIM 0x0
-#define RMLIM 0x80 /* Receive Message Lost Interrupt Mask */
-#define nRMLIM 0x0
-#define UCEIM 0x100 /* Universal Counter Exceeded Interrupt Mask */
-#define nUCEIM 0x0
-#define ADIM 0x400 /* Access Denied Interrupt Mask */
-#define nADIM 0x0
-
-/* Bit masks for CAN0_GIS */
-
-#define EWTIS 0x1 /* Error Warning Transmit Interrupt Status */
-#define nEWTIS 0x0
-#define EWRIS 0x2 /* Error Warning Receive Interrupt Status */
-#define nEWRIS 0x0
-#define EPIS 0x4 /* Error Passive Interrupt Status */
-#define nEPIS 0x0
-#define BOIS 0x8 /* Bus Off Interrupt Status */
-#define nBOIS 0x0
-#define WUIS 0x10 /* Wakeup Interrupt Status */
-#define nWUIS 0x0
-#define UIAIS 0x20 /* Unimplemented Address Interrupt Status */
-#define nUIAIS 0x0
-#define AAIS 0x40 /* Abort Acknowledge Interrupt Status */
-#define nAAIS 0x0
-#define RMLIS 0x80 /* Receive Message Lost Interrupt Status */
-#define nRMLIS 0x0
-#define UCEIS 0x100 /* Universal Counter Exceeded Interrupt Status */
-#define nUCEIS 0x0
-#define ADIS 0x400 /* Access Denied Interrupt Status */
-#define nADIS 0x0
-
-/* Bit masks for CAN0_GIF */
-
-#define EWTIF 0x1 /* Error Warning Transmit Interrupt Flag */
-#define nEWTIF 0x0
-#define EWRIF 0x2 /* Error Warning Receive Interrupt Flag */
-#define nEWRIF 0x0
-#define EPIF 0x4 /* Error Passive Interrupt Flag */
-#define nEPIF 0x0
-#define BOIF 0x8 /* Bus Off Interrupt Flag */
-#define nBOIF 0x0
-#define WUIF 0x10 /* Wakeup Interrupt Flag */
-#define nWUIF 0x0
-#define UIAIF 0x20 /* Unimplemented Address Interrupt Flag */
-#define nUIAIF 0x0
-#define AAIF 0x40 /* Abort Acknowledge Interrupt Flag */
-#define nAAIF 0x0
-#define RMLIF 0x80 /* Receive Message Lost Interrupt Flag */
-#define nRMLIF 0x0
-#define UCEIF 0x100 /* Universal Counter Exceeded Interrupt Flag */
-#define nUCEIF 0x0
-#define ADIF 0x400 /* Access Denied Interrupt Flag */
-#define nADIF 0x0
-
-/* Bit masks for CAN0_MBTD */
-
-#define TDR 0x80 /* Temporary Disable Request */
-#define nTDR 0x0
-#define TDA 0x40 /* Temporary Disable Acknowledge */
-#define nTDA 0x0
-#define TDPTR 0x1f /* Temporary Disable Pointer */
-
-/* Bit masks for CAN0_UCCNF */
-
-#define UCCNF 0xf /* Universal Counter Configuration */
-#define UCRC 0x20 /* Universal Counter Reload/Clear */
-#define nUCRC 0x0
-#define UCCT 0x40 /* Universal Counter CAN Trigger */
-#define nUCCT 0x0
-#define UCE 0x80 /* Universal Counter Enable */
-#define nUCE 0x0
-
-/* Bit masks for CAN0_UCCNT */
-
-#define UCCNT 0xffff /* Universal Counter Count Value */
-
-/* Bit masks for CAN0_UCRC */
-
-#define UCVAL 0xffff /* Universal Counter Reload/Capture Value */
-
-/* Bit masks for CAN0_CEC */
-
-#define RXECNT 0xff /* Receive Error Counter */
-#define TXECNT 0xff00 /* Transmit Error Counter */
-
-/* Bit masks for CAN0_ESR */
-
-#define FER 0x80 /* Form Error */
-#define nFER 0x0
-#define BEF 0x40 /* Bit Error Flag */
-#define nBEF 0x0
-#define SA0 0x20 /* Stuck At Dominant */
-#define nSA0 0x0
-#define CRCE 0x10 /* CRC Error */
-#define nCRCE 0x0
-#define SER 0x8 /* Stuff Bit Error */
-#define nSER 0x0
-#define ACKE 0x4 /* Acknowledge Error */
-#define nACKE 0x0
-
-/* Bit masks for CAN0_EWR */
-
-#define EWLTEC 0xff00 /* Transmit Error Warning Limit */
-#define EWLREC 0xff /* Receive Error Warning Limit */
-
-/* Bit masks for CAN0_AMxx_H */
-
-#define FDF 0x8000 /* Filter On Data Field */
-#define nFDF 0x0
-#define FMD 0x4000 /* Full Mask Data */
-#define nFMD 0x0
-#define AMIDE 0x2000 /* Acceptance Mask Identifier Extension */
-#define nAMIDE 0x0
-#define BASEID 0x1ffc /* Base Identifier */
-#define EXTID_HI 0x3 /* Extended Identifier High Bits */
-
-/* Bit masks for CAN0_AMxx_L */
-
-#define EXTID_LO 0xffff /* Extended Identifier Low Bits */
-#define DFM 0xffff /* Data Field Mask */
-
-/* Bit masks for CAN0_MBxx_ID1 */
-
-#define AME 0x8000 /* Acceptance Mask Enable */
-#define nAME 0x0
-#define RTR 0x4000 /* Remote Transmission Request */
-#define nRTR 0x0
-#define IDE 0x2000 /* Identifier Extension */
-#define nIDE 0x0
-#define BASEID 0x1ffc /* Base Identifier */
-#define EXTID_HI 0x3 /* Extended Identifier High Bits */
-
-/* Bit masks for CAN0_MBxx_ID0 */
-
-#define EXTID_LO 0xffff /* Extended Identifier Low Bits */
-#define DFM 0xffff /* Data Field Mask */
-
-/* Bit masks for CAN0_MBxx_TIMESTAMP */
-
-#define TSV 0xffff /* Time Stamp Value */
-
-/* Bit masks for CAN0_MBxx_LENGTH */
-
-#define DLC 0xf /* Data Length Code */
-
-/* Bit masks for CAN0_MBxx_DATA3 */
-
-#define CAN_BYTE0 0xff00 /* Data Field Byte 0 */
-#define CAN_BYTE1 0xff /* Data Field Byte 1 */
-
-/* Bit masks for CAN0_MBxx_DATA2 */
-
-#define CAN_BYTE2 0xff00 /* Data Field Byte 2 */
-#define CAN_BYTE3 0xff /* Data Field Byte 3 */
-
-/* Bit masks for CAN0_MBxx_DATA1 */
-
-#define CAN_BYTE4 0xff00 /* Data Field Byte 4 */
-#define CAN_BYTE5 0xff /* Data Field Byte 5 */
-
-/* Bit masks for CAN0_MBxx_DATA0 */
-
-#define CAN_BYTE6 0xff00 /* Data Field Byte 6 */
-#define CAN_BYTE7 0xff /* Data Field Byte 7 */
-
-/* Bit masks for CAN0_MC1 */
-
-#define MC0 0x1 /* Mailbox 0 Enable */
-#define nMC0 0x0
-#define MC1 0x2 /* Mailbox 1 Enable */
-#define nMC1 0x0
-#define MC2 0x4 /* Mailbox 2 Enable */
-#define nMC2 0x0
-#define MC3 0x8 /* Mailbox 3 Enable */
-#define nMC3 0x0
-#define MC4 0x10 /* Mailbox 4 Enable */
-#define nMC4 0x0
-#define MC5 0x20 /* Mailbox 5 Enable */
-#define nMC5 0x0
-#define MC6 0x40 /* Mailbox 6 Enable */
-#define nMC6 0x0
-#define MC7 0x80 /* Mailbox 7 Enable */
-#define nMC7 0x0
-#define MC8 0x100 /* Mailbox 8 Enable */
-#define nMC8 0x0
-#define MC9 0x200 /* Mailbox 9 Enable */
-#define nMC9 0x0
-#define MC10 0x400 /* Mailbox 10 Enable */
-#define nMC10 0x0
-#define MC11 0x800 /* Mailbox 11 Enable */
-#define nMC11 0x0
-#define MC12 0x1000 /* Mailbox 12 Enable */
-#define nMC12 0x0
-#define MC13 0x2000 /* Mailbox 13 Enable */
-#define nMC13 0x0
-#define MC14 0x4000 /* Mailbox 14 Enable */
-#define nMC14 0x0
-#define MC15 0x8000 /* Mailbox 15 Enable */
-#define nMC15 0x0
-
-/* Bit masks for CAN0_MC2 */
-
-#define MC16 0x1 /* Mailbox 16 Enable */
-#define nMC16 0x0
-#define MC17 0x2 /* Mailbox 17 Enable */
-#define nMC17 0x0
-#define MC18 0x4 /* Mailbox 18 Enable */
-#define nMC18 0x0
-#define MC19 0x8 /* Mailbox 19 Enable */
-#define nMC19 0x0
-#define MC20 0x10 /* Mailbox 20 Enable */
-#define nMC20 0x0
-#define MC21 0x20 /* Mailbox 21 Enable */
-#define nMC21 0x0
-#define MC22 0x40 /* Mailbox 22 Enable */
-#define nMC22 0x0
-#define MC23 0x80 /* Mailbox 23 Enable */
-#define nMC23 0x0
-#define MC24 0x100 /* Mailbox 24 Enable */
-#define nMC24 0x0
-#define MC25 0x200 /* Mailbox 25 Enable */
-#define nMC25 0x0
-#define MC26 0x400 /* Mailbox 26 Enable */
-#define nMC26 0x0
-#define MC27 0x800 /* Mailbox 27 Enable */
-#define nMC27 0x0
-#define MC28 0x1000 /* Mailbox 28 Enable */
-#define nMC28 0x0
-#define MC29 0x2000 /* Mailbox 29 Enable */
-#define nMC29 0x0
-#define MC30 0x4000 /* Mailbox 30 Enable */
-#define nMC30 0x0
-#define MC31 0x8000 /* Mailbox 31 Enable */
-#define nMC31 0x0
-
-/* Bit masks for CAN0_MD1 */
-
-#define MD0 0x1 /* Mailbox 0 Receive Enable */
-#define nMD0 0x0
-#define MD1 0x2 /* Mailbox 1 Receive Enable */
-#define nMD1 0x0
-#define MD2 0x4 /* Mailbox 2 Receive Enable */
-#define nMD2 0x0
-#define MD3 0x8 /* Mailbox 3 Receive Enable */
-#define nMD3 0x0
-#define MD4 0x10 /* Mailbox 4 Receive Enable */
-#define nMD4 0x0
-#define MD5 0x20 /* Mailbox 5 Receive Enable */
-#define nMD5 0x0
-#define MD6 0x40 /* Mailbox 6 Receive Enable */
-#define nMD6 0x0
-#define MD7 0x80 /* Mailbox 7 Receive Enable */
-#define nMD7 0x0
-#define MD8 0x100 /* Mailbox 8 Receive Enable */
-#define nMD8 0x0
-#define MD9 0x200 /* Mailbox 9 Receive Enable */
-#define nMD9 0x0
-#define MD10 0x400 /* Mailbox 10 Receive Enable */
-#define nMD10 0x0
-#define MD11 0x800 /* Mailbox 11 Receive Enable */
-#define nMD11 0x0
-#define MD12 0x1000 /* Mailbox 12 Receive Enable */
-#define nMD12 0x0
-#define MD13 0x2000 /* Mailbox 13 Receive Enable */
-#define nMD13 0x0
-#define MD14 0x4000 /* Mailbox 14 Receive Enable */
-#define nMD14 0x0
-#define MD15 0x8000 /* Mailbox 15 Receive Enable */
-#define nMD15 0x0
-
-/* Bit masks for CAN0_MD2 */
-
-#define MD16 0x1 /* Mailbox 16 Receive Enable */
-#define nMD16 0x0
-#define MD17 0x2 /* Mailbox 17 Receive Enable */
-#define nMD17 0x0
-#define MD18 0x4 /* Mailbox 18 Receive Enable */
-#define nMD18 0x0
-#define MD19 0x8 /* Mailbox 19 Receive Enable */
-#define nMD19 0x0
-#define MD20 0x10 /* Mailbox 20 Receive Enable */
-#define nMD20 0x0
-#define MD21 0x20 /* Mailbox 21 Receive Enable */
-#define nMD21 0x0
-#define MD22 0x40 /* Mailbox 22 Receive Enable */
-#define nMD22 0x0
-#define MD23 0x80 /* Mailbox 23 Receive Enable */
-#define nMD23 0x0
-#define MD24 0x100 /* Mailbox 24 Receive Enable */
-#define nMD24 0x0
-#define MD25 0x200 /* Mailbox 25 Receive Enable */
-#define nMD25 0x0
-#define MD26 0x400 /* Mailbox 26 Receive Enable */
-#define nMD26 0x0
-#define MD27 0x800 /* Mailbox 27 Receive Enable */
-#define nMD27 0x0
-#define MD28 0x1000 /* Mailbox 28 Receive Enable */
-#define nMD28 0x0
-#define MD29 0x2000 /* Mailbox 29 Receive Enable */
-#define nMD29 0x0
-#define MD30 0x4000 /* Mailbox 30 Receive Enable */
-#define nMD30 0x0
-#define MD31 0x8000 /* Mailbox 31 Receive Enable */
-#define nMD31 0x0
-
-/* Bit masks for CAN0_RMP1 */
-
-#define RMP0 0x1 /* Mailbox 0 Receive Message Pending */
-#define nRMP0 0x0
-#define RMP1 0x2 /* Mailbox 1 Receive Message Pending */
-#define nRMP1 0x0
-#define RMP2 0x4 /* Mailbox 2 Receive Message Pending */
-#define nRMP2 0x0
-#define RMP3 0x8 /* Mailbox 3 Receive Message Pending */
-#define nRMP3 0x0
-#define RMP4 0x10 /* Mailbox 4 Receive Message Pending */
-#define nRMP4 0x0
-#define RMP5 0x20 /* Mailbox 5 Receive Message Pending */
-#define nRMP5 0x0
-#define RMP6 0x40 /* Mailbox 6 Receive Message Pending */
-#define nRMP6 0x0
-#define RMP7 0x80 /* Mailbox 7 Receive Message Pending */
-#define nRMP7 0x0
-#define RMP8 0x100 /* Mailbox 8 Receive Message Pending */
-#define nRMP8 0x0
-#define RMP9 0x200 /* Mailbox 9 Receive Message Pending */
-#define nRMP9 0x0
-#define RMP10 0x400 /* Mailbox 10 Receive Message Pending */
-#define nRMP10 0x0
-#define RMP11 0x800 /* Mailbox 11 Receive Message Pending */
-#define nRMP11 0x0
-#define RMP12 0x1000 /* Mailbox 12 Receive Message Pending */
-#define nRMP12 0x0
-#define RMP13 0x2000 /* Mailbox 13 Receive Message Pending */
-#define nRMP13 0x0
-#define RMP14 0x4000 /* Mailbox 14 Receive Message Pending */
-#define nRMP14 0x0
-#define RMP15 0x8000 /* Mailbox 15 Receive Message Pending */
-#define nRMP15 0x0
-
-/* Bit masks for CAN0_RMP2 */
-
-#define RMP16 0x1 /* Mailbox 16 Receive Message Pending */
-#define nRMP16 0x0
-#define RMP17 0x2 /* Mailbox 17 Receive Message Pending */
-#define nRMP17 0x0
-#define RMP18 0x4 /* Mailbox 18 Receive Message Pending */
-#define nRMP18 0x0
-#define RMP19 0x8 /* Mailbox 19 Receive Message Pending */
-#define nRMP19 0x0
-#define RMP20 0x10 /* Mailbox 20 Receive Message Pending */
-#define nRMP20 0x0
-#define RMP21 0x20 /* Mailbox 21 Receive Message Pending */
-#define nRMP21 0x0
-#define RMP22 0x40 /* Mailbox 22 Receive Message Pending */
-#define nRMP22 0x0
-#define RMP23 0x80 /* Mailbox 23 Receive Message Pending */
-#define nRMP23 0x0
-#define RMP24 0x100 /* Mailbox 24 Receive Message Pending */
-#define nRMP24 0x0
-#define RMP25 0x200 /* Mailbox 25 Receive Message Pending */
-#define nRMP25 0x0
-#define RMP26 0x400 /* Mailbox 26 Receive Message Pending */
-#define nRMP26 0x0
-#define RMP27 0x800 /* Mailbox 27 Receive Message Pending */
-#define nRMP27 0x0
-#define RMP28 0x1000 /* Mailbox 28 Receive Message Pending */
-#define nRMP28 0x0
-#define RMP29 0x2000 /* Mailbox 29 Receive Message Pending */
-#define nRMP29 0x0
-#define RMP30 0x4000 /* Mailbox 30 Receive Message Pending */
-#define nRMP30 0x0
-#define RMP31 0x8000 /* Mailbox 31 Receive Message Pending */
-#define nRMP31 0x0
-
-/* Bit masks for CAN0_RML1 */
-
-#define RML0 0x1 /* Mailbox 0 Receive Message Lost */
-#define nRML0 0x0
-#define RML1 0x2 /* Mailbox 1 Receive Message Lost */
-#define nRML1 0x0
-#define RML2 0x4 /* Mailbox 2 Receive Message Lost */
-#define nRML2 0x0
-#define RML3 0x8 /* Mailbox 3 Receive Message Lost */
-#define nRML3 0x0
-#define RML4 0x10 /* Mailbox 4 Receive Message Lost */
-#define nRML4 0x0
-#define RML5 0x20 /* Mailbox 5 Receive Message Lost */
-#define nRML5 0x0
-#define RML6 0x40 /* Mailbox 6 Receive Message Lost */
-#define nRML6 0x0
-#define RML7 0x80 /* Mailbox 7 Receive Message Lost */
-#define nRML7 0x0
-#define RML8 0x100 /* Mailbox 8 Receive Message Lost */
-#define nRML8 0x0
-#define RML9 0x200 /* Mailbox 9 Receive Message Lost */
-#define nRML9 0x0
-#define RML10 0x400 /* Mailbox 10 Receive Message Lost */
-#define nRML10 0x0
-#define RML11 0x800 /* Mailbox 11 Receive Message Lost */
-#define nRML11 0x0
-#define RML12 0x1000 /* Mailbox 12 Receive Message Lost */
-#define nRML12 0x0
-#define RML13 0x2000 /* Mailbox 13 Receive Message Lost */
-#define nRML13 0x0
-#define RML14 0x4000 /* Mailbox 14 Receive Message Lost */
-#define nRML14 0x0
-#define RML15 0x8000 /* Mailbox 15 Receive Message Lost */
-#define nRML15 0x0
-
-/* Bit masks for CAN0_RML2 */
-
-#define RML16 0x1 /* Mailbox 16 Receive Message Lost */
-#define nRML16 0x0
-#define RML17 0x2 /* Mailbox 17 Receive Message Lost */
-#define nRML17 0x0
-#define RML18 0x4 /* Mailbox 18 Receive Message Lost */
-#define nRML18 0x0
-#define RML19 0x8 /* Mailbox 19 Receive Message Lost */
-#define nRML19 0x0
-#define RML20 0x10 /* Mailbox 20 Receive Message Lost */
-#define nRML20 0x0
-#define RML21 0x20 /* Mailbox 21 Receive Message Lost */
-#define nRML21 0x0
-#define RML22 0x40 /* Mailbox 22 Receive Message Lost */
-#define nRML22 0x0
-#define RML23 0x80 /* Mailbox 23 Receive Message Lost */
-#define nRML23 0x0
-#define RML24 0x100 /* Mailbox 24 Receive Message Lost */
-#define nRML24 0x0
-#define RML25 0x200 /* Mailbox 25 Receive Message Lost */
-#define nRML25 0x0
-#define RML26 0x400 /* Mailbox 26 Receive Message Lost */
-#define nRML26 0x0
-#define RML27 0x800 /* Mailbox 27 Receive Message Lost */
-#define nRML27 0x0
-#define RML28 0x1000 /* Mailbox 28 Receive Message Lost */
-#define nRML28 0x0
-#define RML29 0x2000 /* Mailbox 29 Receive Message Lost */
-#define nRML29 0x0
-#define RML30 0x4000 /* Mailbox 30 Receive Message Lost */
-#define nRML30 0x0
-#define RML31 0x8000 /* Mailbox 31 Receive Message Lost */
-#define nRML31 0x0
-
-/* Bit masks for CAN0_OPSS1 */
-
-#define OPSS0 0x1 /* Mailbox 0 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS0 0x0
-#define OPSS1 0x2 /* Mailbox 1 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS1 0x0
-#define OPSS2 0x4 /* Mailbox 2 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS2 0x0
-#define OPSS3 0x8 /* Mailbox 3 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS3 0x0
-#define OPSS4 0x10 /* Mailbox 4 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS4 0x0
-#define OPSS5 0x20 /* Mailbox 5 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS5 0x0
-#define OPSS6 0x40 /* Mailbox 6 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS6 0x0
-#define OPSS7 0x80 /* Mailbox 7 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS7 0x0
-#define OPSS8 0x100 /* Mailbox 8 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS8 0x0
-#define OPSS9 0x200 /* Mailbox 9 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS9 0x0
-#define OPSS10 0x400 /* Mailbox 10 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS10 0x0
-#define OPSS11 0x800 /* Mailbox 11 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS11 0x0
-#define OPSS12 0x1000 /* Mailbox 12 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS12 0x0
-#define OPSS13 0x2000 /* Mailbox 13 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS13 0x0
-#define OPSS14 0x4000 /* Mailbox 14 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS14 0x0
-#define OPSS15 0x8000 /* Mailbox 15 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS15 0x0
-
-/* Bit masks for CAN0_OPSS2 */
-
-#define OPSS16 0x1 /* Mailbox 16 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS16 0x0
-#define OPSS17 0x2 /* Mailbox 17 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS17 0x0
-#define OPSS18 0x4 /* Mailbox 18 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS18 0x0
-#define OPSS19 0x8 /* Mailbox 19 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS19 0x0
-#define OPSS20 0x10 /* Mailbox 20 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS20 0x0
-#define OPSS21 0x20 /* Mailbox 21 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS21 0x0
-#define OPSS22 0x40 /* Mailbox 22 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS22 0x0
-#define OPSS23 0x80 /* Mailbox 23 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS23 0x0
-#define OPSS24 0x100 /* Mailbox 24 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS24 0x0
-#define OPSS25 0x200 /* Mailbox 25 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS25 0x0
-#define OPSS26 0x400 /* Mailbox 26 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS26 0x0
-#define OPSS27 0x800 /* Mailbox 27 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS27 0x0
-#define OPSS28 0x1000 /* Mailbox 28 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS28 0x0
-#define OPSS29 0x2000 /* Mailbox 29 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS29 0x0
-#define OPSS30 0x4000 /* Mailbox 30 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS30 0x0
-#define OPSS31 0x8000 /* Mailbox 31 Overwrite Protection/Single-Shot Transmission Enable */
-#define nOPSS31 0x0
-
-/* Bit masks for CAN0_TRS1 */
-
-#define TRS0 0x1 /* Mailbox 0 Transmit Request Set */
-#define nTRS0 0x0
-#define TRS1 0x2 /* Mailbox 1 Transmit Request Set */
-#define nTRS1 0x0
-#define TRS2 0x4 /* Mailbox 2 Transmit Request Set */
-#define nTRS2 0x0
-#define TRS3 0x8 /* Mailbox 3 Transmit Request Set */
-#define nTRS3 0x0
-#define TRS4 0x10 /* Mailbox 4 Transmit Request Set */
-#define nTRS4 0x0
-#define TRS5 0x20 /* Mailbox 5 Transmit Request Set */
-#define nTRS5 0x0
-#define TRS6 0x40 /* Mailbox 6 Transmit Request Set */
-#define nTRS6 0x0
-#define TRS7 0x80 /* Mailbox 7 Transmit Request Set */
-#define nTRS7 0x0
-#define TRS8 0x100 /* Mailbox 8 Transmit Request Set */
-#define nTRS8 0x0
-#define TRS9 0x200 /* Mailbox 9 Transmit Request Set */
-#define nTRS9 0x0
-#define TRS10 0x400 /* Mailbox 10 Transmit Request Set */
-#define nTRS10 0x0
-#define TRS11 0x800 /* Mailbox 11 Transmit Request Set */
-#define nTRS11 0x0
-#define TRS12 0x1000 /* Mailbox 12 Transmit Request Set */
-#define nTRS12 0x0
-#define TRS13 0x2000 /* Mailbox 13 Transmit Request Set */
-#define nTRS13 0x0
-#define TRS14 0x4000 /* Mailbox 14 Transmit Request Set */
-#define nTRS14 0x0
-#define TRS15 0x8000 /* Mailbox 15 Transmit Request Set */
-#define nTRS15 0x0
-
-/* Bit masks for CAN0_TRS2 */
-
-#define TRS16 0x1 /* Mailbox 16 Transmit Request Set */
-#define nTRS16 0x0
-#define TRS17 0x2 /* Mailbox 17 Transmit Request Set */
-#define nTRS17 0x0
-#define TRS18 0x4 /* Mailbox 18 Transmit Request Set */
-#define nTRS18 0x0
-#define TRS19 0x8 /* Mailbox 19 Transmit Request Set */
-#define nTRS19 0x0
-#define TRS20 0x10 /* Mailbox 20 Transmit Request Set */
-#define nTRS20 0x0
-#define TRS21 0x20 /* Mailbox 21 Transmit Request Set */
-#define nTRS21 0x0
-#define TRS22 0x40 /* Mailbox 22 Transmit Request Set */
-#define nTRS22 0x0
-#define TRS23 0x80 /* Mailbox 23 Transmit Request Set */
-#define nTRS23 0x0
-#define TRS24 0x100 /* Mailbox 24 Transmit Request Set */
-#define nTRS24 0x0
-#define TRS25 0x200 /* Mailbox 25 Transmit Request Set */
-#define nTRS25 0x0
-#define TRS26 0x400 /* Mailbox 26 Transmit Request Set */
-#define nTRS26 0x0
-#define TRS27 0x800 /* Mailbox 27 Transmit Request Set */
-#define nTRS27 0x0
-#define TRS28 0x1000 /* Mailbox 28 Transmit Request Set */
-#define nTRS28 0x0
-#define TRS29 0x2000 /* Mailbox 29 Transmit Request Set */
-#define nTRS29 0x0
-#define TRS30 0x4000 /* Mailbox 30 Transmit Request Set */
-#define nTRS30 0x0
-#define TRS31 0x8000 /* Mailbox 31 Transmit Request Set */
-#define nTRS31 0x0
-
-/* Bit masks for CAN0_TRR1 */
-
-#define TRR0 0x1 /* Mailbox 0 Transmit Request Reset */
-#define nTRR0 0x0
-#define TRR1 0x2 /* Mailbox 1 Transmit Request Reset */
-#define nTRR1 0x0
-#define TRR2 0x4 /* Mailbox 2 Transmit Request Reset */
-#define nTRR2 0x0
-#define TRR3 0x8 /* Mailbox 3 Transmit Request Reset */
-#define nTRR3 0x0
-#define TRR4 0x10 /* Mailbox 4 Transmit Request Reset */
-#define nTRR4 0x0
-#define TRR5 0x20 /* Mailbox 5 Transmit Request Reset */
-#define nTRR5 0x0
-#define TRR6 0x40 /* Mailbox 6 Transmit Request Reset */
-#define nTRR6 0x0
-#define TRR7 0x80 /* Mailbox 7 Transmit Request Reset */
-#define nTRR7 0x0
-#define TRR8 0x100 /* Mailbox 8 Transmit Request Reset */
-#define nTRR8 0x0
-#define TRR9 0x200 /* Mailbox 9 Transmit Request Reset */
-#define nTRR9 0x0
-#define TRR10 0x400 /* Mailbox 10 Transmit Request Reset */
-#define nTRR10 0x0
-#define TRR11 0x800 /* Mailbox 11 Transmit Request Reset */
-#define nTRR11 0x0
-#define TRR12 0x1000 /* Mailbox 12 Transmit Request Reset */
-#define nTRR12 0x0
-#define TRR13 0x2000 /* Mailbox 13 Transmit Request Reset */
-#define nTRR13 0x0
-#define TRR14 0x4000 /* Mailbox 14 Transmit Request Reset */
-#define nTRR14 0x0
-#define TRR15 0x8000 /* Mailbox 15 Transmit Request Reset */
-#define nTRR15 0x0
-
-/* Bit masks for CAN0_TRR2 */
-
-#define TRR16 0x1 /* Mailbox 16 Transmit Request Reset */
-#define nTRR16 0x0
-#define TRR17 0x2 /* Mailbox 17 Transmit Request Reset */
-#define nTRR17 0x0
-#define TRR18 0x4 /* Mailbox 18 Transmit Request Reset */
-#define nTRR18 0x0
-#define TRR19 0x8 /* Mailbox 19 Transmit Request Reset */
-#define nTRR19 0x0
-#define TRR20 0x10 /* Mailbox 20 Transmit Request Reset */
-#define nTRR20 0x0
-#define TRR21 0x20 /* Mailbox 21 Transmit Request Reset */
-#define nTRR21 0x0
-#define TRR22 0x40 /* Mailbox 22 Transmit Request Reset */
-#define nTRR22 0x0
-#define TRR23 0x80 /* Mailbox 23 Transmit Request Reset */
-#define nTRR23 0x0
-#define TRR24 0x100 /* Mailbox 24 Transmit Request Reset */
-#define nTRR24 0x0
-#define TRR25 0x200 /* Mailbox 25 Transmit Request Reset */
-#define nTRR25 0x0
-#define TRR26 0x400 /* Mailbox 26 Transmit Request Reset */
-#define nTRR26 0x0
-#define TRR27 0x800 /* Mailbox 27 Transmit Request Reset */
-#define nTRR27 0x0
-#define TRR28 0x1000 /* Mailbox 28 Transmit Request Reset */
-#define nTRR28 0x0
-#define TRR29 0x2000 /* Mailbox 29 Transmit Request Reset */
-#define nTRR29 0x0
-#define TRR30 0x4000 /* Mailbox 30 Transmit Request Reset */
-#define nTRR30 0x0
-#define TRR31 0x8000 /* Mailbox 31 Transmit Request Reset */
-#define nTRR31 0x0
-
-/* Bit masks for CAN0_AA1 */
-
-#define AA0 0x1 /* Mailbox 0 Abort Acknowledge */
-#define nAA0 0x0
-#define AA1 0x2 /* Mailbox 1 Abort Acknowledge */
-#define nAA1 0x0
-#define AA2 0x4 /* Mailbox 2 Abort Acknowledge */
-#define nAA2 0x0
-#define AA3 0x8 /* Mailbox 3 Abort Acknowledge */
-#define nAA3 0x0
-#define AA4 0x10 /* Mailbox 4 Abort Acknowledge */
-#define nAA4 0x0
-#define AA5 0x20 /* Mailbox 5 Abort Acknowledge */
-#define nAA5 0x0
-#define AA6 0x40 /* Mailbox 6 Abort Acknowledge */
-#define nAA6 0x0
-#define AA7 0x80 /* Mailbox 7 Abort Acknowledge */
-#define nAA7 0x0
-#define AA8 0x100 /* Mailbox 8 Abort Acknowledge */
-#define nAA8 0x0
-#define AA9 0x200 /* Mailbox 9 Abort Acknowledge */
-#define nAA9 0x0
-#define AA10 0x400 /* Mailbox 10 Abort Acknowledge */
-#define nAA10 0x0
-#define AA11 0x800 /* Mailbox 11 Abort Acknowledge */
-#define nAA11 0x0
-#define AA12 0x1000 /* Mailbox 12 Abort Acknowledge */
-#define nAA12 0x0
-#define AA13 0x2000 /* Mailbox 13 Abort Acknowledge */
-#define nAA13 0x0
-#define AA14 0x4000 /* Mailbox 14 Abort Acknowledge */
-#define nAA14 0x0
-#define AA15 0x8000 /* Mailbox 15 Abort Acknowledge */
-#define nAA15 0x0
-
-/* Bit masks for CAN0_AA2 */
-
-#define AA16 0x1 /* Mailbox 16 Abort Acknowledge */
-#define nAA16 0x0
-#define AA17 0x2 /* Mailbox 17 Abort Acknowledge */
-#define nAA17 0x0
-#define AA18 0x4 /* Mailbox 18 Abort Acknowledge */
-#define nAA18 0x0
-#define AA19 0x8 /* Mailbox 19 Abort Acknowledge */
-#define nAA19 0x0
-#define AA20 0x10 /* Mailbox 20 Abort Acknowledge */
-#define nAA20 0x0
-#define AA21 0x20 /* Mailbox 21 Abort Acknowledge */
-#define nAA21 0x0
-#define AA22 0x40 /* Mailbox 22 Abort Acknowledge */
-#define nAA22 0x0
-#define AA23 0x80 /* Mailbox 23 Abort Acknowledge */
-#define nAA23 0x0
-#define AA24 0x100 /* Mailbox 24 Abort Acknowledge */
-#define nAA24 0x0
-#define AA25 0x200 /* Mailbox 25 Abort Acknowledge */
-#define nAA25 0x0
-#define AA26 0x400 /* Mailbox 26 Abort Acknowledge */
-#define nAA26 0x0
-#define AA27 0x800 /* Mailbox 27 Abort Acknowledge */
-#define nAA27 0x0
-#define AA28 0x1000 /* Mailbox 28 Abort Acknowledge */
-#define nAA28 0x0
-#define AA29 0x2000 /* Mailbox 29 Abort Acknowledge */
-#define nAA29 0x0
-#define AA30 0x4000 /* Mailbox 30 Abort Acknowledge */
-#define nAA30 0x0
-#define AA31 0x8000 /* Mailbox 31 Abort Acknowledge */
-#define nAA31 0x0
-
-/* Bit masks for CAN0_TA1 */
-
-#define TA0 0x1 /* Mailbox 0 Transmit Acknowledge */
-#define nTA0 0x0
-#define TA1 0x2 /* Mailbox 1 Transmit Acknowledge */
-#define nTA1 0x0
-#define TA2 0x4 /* Mailbox 2 Transmit Acknowledge */
-#define nTA2 0x0
-#define TA3 0x8 /* Mailbox 3 Transmit Acknowledge */
-#define nTA3 0x0
-#define TA4 0x10 /* Mailbox 4 Transmit Acknowledge */
-#define nTA4 0x0
-#define TA5 0x20 /* Mailbox 5 Transmit Acknowledge */
-#define nTA5 0x0
-#define TA6 0x40 /* Mailbox 6 Transmit Acknowledge */
-#define nTA6 0x0
-#define TA7 0x80 /* Mailbox 7 Transmit Acknowledge */
-#define nTA7 0x0
-#define TA8 0x100 /* Mailbox 8 Transmit Acknowledge */
-#define nTA8 0x0
-#define TA9 0x200 /* Mailbox 9 Transmit Acknowledge */
-#define nTA9 0x0
-#define TA10 0x400 /* Mailbox 10 Transmit Acknowledge */
-#define nTA10 0x0
-#define TA11 0x800 /* Mailbox 11 Transmit Acknowledge */
-#define nTA11 0x0
-#define TA12 0x1000 /* Mailbox 12 Transmit Acknowledge */
-#define nTA12 0x0
-#define TA13 0x2000 /* Mailbox 13 Transmit Acknowledge */
-#define nTA13 0x0
-#define TA14 0x4000 /* Mailbox 14 Transmit Acknowledge */
-#define nTA14 0x0
-#define TA15 0x8000 /* Mailbox 15 Transmit Acknowledge */
-#define nTA15 0x0
-
-/* Bit masks for CAN0_TA2 */
-
-#define TA16 0x1 /* Mailbox 16 Transmit Acknowledge */
-#define nTA16 0x0
-#define TA17 0x2 /* Mailbox 17 Transmit Acknowledge */
-#define nTA17 0x0
-#define TA18 0x4 /* Mailbox 18 Transmit Acknowledge */
-#define nTA18 0x0
-#define TA19 0x8 /* Mailbox 19 Transmit Acknowledge */
-#define nTA19 0x0
-#define TA20 0x10 /* Mailbox 20 Transmit Acknowledge */
-#define nTA20 0x0
-#define TA21 0x20 /* Mailbox 21 Transmit Acknowledge */
-#define nTA21 0x0
-#define TA22 0x40 /* Mailbox 22 Transmit Acknowledge */
-#define nTA22 0x0
-#define TA23 0x80 /* Mailbox 23 Transmit Acknowledge */
-#define nTA23 0x0
-#define TA24 0x100 /* Mailbox 24 Transmit Acknowledge */
-#define nTA24 0x0
-#define TA25 0x200 /* Mailbox 25 Transmit Acknowledge */
-#define nTA25 0x0
-#define TA26 0x400 /* Mailbox 26 Transmit Acknowledge */
-#define nTA26 0x0
-#define TA27 0x800 /* Mailbox 27 Transmit Acknowledge */
-#define nTA27 0x0
-#define TA28 0x1000 /* Mailbox 28 Transmit Acknowledge */
-#define nTA28 0x0
-#define TA29 0x2000 /* Mailbox 29 Transmit Acknowledge */
-#define nTA29 0x0
-#define TA30 0x4000 /* Mailbox 30 Transmit Acknowledge */
-#define nTA30 0x0
-#define TA31 0x8000 /* Mailbox 31 Transmit Acknowledge */
-#define nTA31 0x0
-
-/* Bit masks for CAN0_RFH1 */
-
-#define RFH0 0x1 /* Mailbox 0 Remote Frame Handling Enable */
-#define nRFH0 0x0
-#define RFH1 0x2 /* Mailbox 1 Remote Frame Handling Enable */
-#define nRFH1 0x0
-#define RFH2 0x4 /* Mailbox 2 Remote Frame Handling Enable */
-#define nRFH2 0x0
-#define RFH3 0x8 /* Mailbox 3 Remote Frame Handling Enable */
-#define nRFH3 0x0
-#define RFH4 0x10 /* Mailbox 4 Remote Frame Handling Enable */
-#define nRFH4 0x0
-#define RFH5 0x20 /* Mailbox 5 Remote Frame Handling Enable */
-#define nRFH5 0x0
-#define RFH6 0x40 /* Mailbox 6 Remote Frame Handling Enable */
-#define nRFH6 0x0
-#define RFH7 0x80 /* Mailbox 7 Remote Frame Handling Enable */
-#define nRFH7 0x0
-#define RFH8 0x100 /* Mailbox 8 Remote Frame Handling Enable */
-#define nRFH8 0x0
-#define RFH9 0x200 /* Mailbox 9 Remote Frame Handling Enable */
-#define nRFH9 0x0
-#define RFH10 0x400 /* Mailbox 10 Remote Frame Handling Enable */
-#define nRFH10 0x0
-#define RFH11 0x800 /* Mailbox 11 Remote Frame Handling Enable */
-#define nRFH11 0x0
-#define RFH12 0x1000 /* Mailbox 12 Remote Frame Handling Enable */
-#define nRFH12 0x0
-#define RFH13 0x2000 /* Mailbox 13 Remote Frame Handling Enable */
-#define nRFH13 0x0
-#define RFH14 0x4000 /* Mailbox 14 Remote Frame Handling Enable */
-#define nRFH14 0x0
-#define RFH15 0x8000 /* Mailbox 15 Remote Frame Handling Enable */
-#define nRFH15 0x0
-
-/* Bit masks for CAN0_RFH2 */
-
-#define RFH16 0x1 /* Mailbox 16 Remote Frame Handling Enable */
-#define nRFH16 0x0
-#define RFH17 0x2 /* Mailbox 17 Remote Frame Handling Enable */
-#define nRFH17 0x0
-#define RFH18 0x4 /* Mailbox 18 Remote Frame Handling Enable */
-#define nRFH18 0x0
-#define RFH19 0x8 /* Mailbox 19 Remote Frame Handling Enable */
-#define nRFH19 0x0
-#define RFH20 0x10 /* Mailbox 20 Remote Frame Handling Enable */
-#define nRFH20 0x0
-#define RFH21 0x20 /* Mailbox 21 Remote Frame Handling Enable */
-#define nRFH21 0x0
-#define RFH22 0x40 /* Mailbox 22 Remote Frame Handling Enable */
-#define nRFH22 0x0
-#define RFH23 0x80 /* Mailbox 23 Remote Frame Handling Enable */
-#define nRFH23 0x0
-#define RFH24 0x100 /* Mailbox 24 Remote Frame Handling Enable */
-#define nRFH24 0x0
-#define RFH25 0x200 /* Mailbox 25 Remote Frame Handling Enable */
-#define nRFH25 0x0
-#define RFH26 0x400 /* Mailbox 26 Remote Frame Handling Enable */
-#define nRFH26 0x0
-#define RFH27 0x800 /* Mailbox 27 Remote Frame Handling Enable */
-#define nRFH27 0x0
-#define RFH28 0x1000 /* Mailbox 28 Remote Frame Handling Enable */
-#define nRFH28 0x0
-#define RFH29 0x2000 /* Mailbox 29 Remote Frame Handling Enable */
-#define nRFH29 0x0
-#define RFH30 0x4000 /* Mailbox 30 Remote Frame Handling Enable */
-#define nRFH30 0x0
-#define RFH31 0x8000 /* Mailbox 31 Remote Frame Handling Enable */
-#define nRFH31 0x0
-
-/* Bit masks for CAN0_MBIM1 */
-
-#define MBIM0 0x1 /* Mailbox 0 Mailbox Interrupt Mask */
-#define nMBIM0 0x0
-#define MBIM1 0x2 /* Mailbox 1 Mailbox Interrupt Mask */
-#define nMBIM1 0x0
-#define MBIM2 0x4 /* Mailbox 2 Mailbox Interrupt Mask */
-#define nMBIM2 0x0
-#define MBIM3 0x8 /* Mailbox 3 Mailbox Interrupt Mask */
-#define nMBIM3 0x0
-#define MBIM4 0x10 /* Mailbox 4 Mailbox Interrupt Mask */
-#define nMBIM4 0x0
-#define MBIM5 0x20 /* Mailbox 5 Mailbox Interrupt Mask */
-#define nMBIM5 0x0
-#define MBIM6 0x40 /* Mailbox 6 Mailbox Interrupt Mask */
-#define nMBIM6 0x0
-#define MBIM7 0x80 /* Mailbox 7 Mailbox Interrupt Mask */
-#define nMBIM7 0x0
-#define MBIM8 0x100 /* Mailbox 8 Mailbox Interrupt Mask */
-#define nMBIM8 0x0
-#define MBIM9 0x200 /* Mailbox 9 Mailbox Interrupt Mask */
-#define nMBIM9 0x0
-#define MBIM10 0x400 /* Mailbox 10 Mailbox Interrupt Mask */
-#define nMBIM10 0x0
-#define MBIM11 0x800 /* Mailbox 11 Mailbox Interrupt Mask */
-#define nMBIM11 0x0
-#define MBIM12 0x1000 /* Mailbox 12 Mailbox Interrupt Mask */
-#define nMBIM12 0x0
-#define MBIM13 0x2000 /* Mailbox 13 Mailbox Interrupt Mask */
-#define nMBIM13 0x0
-#define MBIM14 0x4000 /* Mailbox 14 Mailbox Interrupt Mask */
-#define nMBIM14 0x0
-#define MBIM15 0x8000 /* Mailbox 15 Mailbox Interrupt Mask */
-#define nMBIM15 0x0
-
-/* Bit masks for CAN0_MBIM2 */
-
-#define MBIM16 0x1 /* Mailbox 16 Mailbox Interrupt Mask */
-#define nMBIM16 0x0
-#define MBIM17 0x2 /* Mailbox 17 Mailbox Interrupt Mask */
-#define nMBIM17 0x0
-#define MBIM18 0x4 /* Mailbox 18 Mailbox Interrupt Mask */
-#define nMBIM18 0x0
-#define MBIM19 0x8 /* Mailbox 19 Mailbox Interrupt Mask */
-#define nMBIM19 0x0
-#define MBIM20 0x10 /* Mailbox 20 Mailbox Interrupt Mask */
-#define nMBIM20 0x0
-#define MBIM21 0x20 /* Mailbox 21 Mailbox Interrupt Mask */
-#define nMBIM21 0x0
-#define MBIM22 0x40 /* Mailbox 22 Mailbox Interrupt Mask */
-#define nMBIM22 0x0
-#define MBIM23 0x80 /* Mailbox 23 Mailbox Interrupt Mask */
-#define nMBIM23 0x0
-#define MBIM24 0x100 /* Mailbox 24 Mailbox Interrupt Mask */
-#define nMBIM24 0x0
-#define MBIM25 0x200 /* Mailbox 25 Mailbox Interrupt Mask */
-#define nMBIM25 0x0
-#define MBIM26 0x400 /* Mailbox 26 Mailbox Interrupt Mask */
-#define nMBIM26 0x0
-#define MBIM27 0x800 /* Mailbox 27 Mailbox Interrupt Mask */
-#define nMBIM27 0x0
-#define MBIM28 0x1000 /* Mailbox 28 Mailbox Interrupt Mask */
-#define nMBIM28 0x0
-#define MBIM29 0x2000 /* Mailbox 29 Mailbox Interrupt Mask */
-#define nMBIM29 0x0
-#define MBIM30 0x4000 /* Mailbox 30 Mailbox Interrupt Mask */
-#define nMBIM30 0x0
-#define MBIM31 0x8000 /* Mailbox 31 Mailbox Interrupt Mask */
-#define nMBIM31 0x0
-
-/* Bit masks for CAN0_MBTIF1 */
-
-#define MBTIF0 0x1 /* Mailbox 0 Mailbox Transmit Interrupt Flag */
-#define nMBTIF0 0x0
-#define MBTIF1 0x2 /* Mailbox 1 Mailbox Transmit Interrupt Flag */
-#define nMBTIF1 0x0
-#define MBTIF2 0x4 /* Mailbox 2 Mailbox Transmit Interrupt Flag */
-#define nMBTIF2 0x0
-#define MBTIF3 0x8 /* Mailbox 3 Mailbox Transmit Interrupt Flag */
-#define nMBTIF3 0x0
-#define MBTIF4 0x10 /* Mailbox 4 Mailbox Transmit Interrupt Flag */
-#define nMBTIF4 0x0
-#define MBTIF5 0x20 /* Mailbox 5 Mailbox Transmit Interrupt Flag */
-#define nMBTIF5 0x0
-#define MBTIF6 0x40 /* Mailbox 6 Mailbox Transmit Interrupt Flag */
-#define nMBTIF6 0x0
-#define MBTIF7 0x80 /* Mailbox 7 Mailbox Transmit Interrupt Flag */
-#define nMBTIF7 0x0
-#define MBTIF8 0x100 /* Mailbox 8 Mailbox Transmit Interrupt Flag */
-#define nMBTIF8 0x0
-#define MBTIF9 0x200 /* Mailbox 9 Mailbox Transmit Interrupt Flag */
-#define nMBTIF9 0x0
-#define MBTIF10 0x400 /* Mailbox 10 Mailbox Transmit Interrupt Flag */
-#define nMBTIF10 0x0
-#define MBTIF11 0x800 /* Mailbox 11 Mailbox Transmit Interrupt Flag */
-#define nMBTIF11 0x0
-#define MBTIF12 0x1000 /* Mailbox 12 Mailbox Transmit Interrupt Flag */
-#define nMBTIF12 0x0
-#define MBTIF13 0x2000 /* Mailbox 13 Mailbox Transmit Interrupt Flag */
-#define nMBTIF13 0x0
-#define MBTIF14 0x4000 /* Mailbox 14 Mailbox Transmit Interrupt Flag */
-#define nMBTIF14 0x0
-#define MBTIF15 0x8000 /* Mailbox 15 Mailbox Transmit Interrupt Flag */
-#define nMBTIF15 0x0
-
-/* Bit masks for CAN0_MBTIF2 */
-
-#define MBTIF16 0x1 /* Mailbox 16 Mailbox Transmit Interrupt Flag */
-#define nMBTIF16 0x0
-#define MBTIF17 0x2 /* Mailbox 17 Mailbox Transmit Interrupt Flag */
-#define nMBTIF17 0x0
-#define MBTIF18 0x4 /* Mailbox 18 Mailbox Transmit Interrupt Flag */
-#define nMBTIF18 0x0
-#define MBTIF19 0x8 /* Mailbox 19 Mailbox Transmit Interrupt Flag */
-#define nMBTIF19 0x0
-#define MBTIF20 0x10 /* Mailbox 20 Mailbox Transmit Interrupt Flag */
-#define nMBTIF20 0x0
-#define MBTIF21 0x20 /* Mailbox 21 Mailbox Transmit Interrupt Flag */
-#define nMBTIF21 0x0
-#define MBTIF22 0x40 /* Mailbox 22 Mailbox Transmit Interrupt Flag */
-#define nMBTIF22 0x0
-#define MBTIF23 0x80 /* Mailbox 23 Mailbox Transmit Interrupt Flag */
-#define nMBTIF23 0x0
-#define MBTIF24 0x100 /* Mailbox 24 Mailbox Transmit Interrupt Flag */
-#define nMBTIF24 0x0
-#define MBTIF25 0x200 /* Mailbox 25 Mailbox Transmit Interrupt Flag */
-#define nMBTIF25 0x0
-#define MBTIF26 0x400 /* Mailbox 26 Mailbox Transmit Interrupt Flag */
-#define nMBTIF26 0x0
-#define MBTIF27 0x800 /* Mailbox 27 Mailbox Transmit Interrupt Flag */
-#define nMBTIF27 0x0
-#define MBTIF28 0x1000 /* Mailbox 28 Mailbox Transmit Interrupt Flag */
-#define nMBTIF28 0x0
-#define MBTIF29 0x2000 /* Mailbox 29 Mailbox Transmit Interrupt Flag */
-#define nMBTIF29 0x0
-#define MBTIF30 0x4000 /* Mailbox 30 Mailbox Transmit Interrupt Flag */
-#define nMBTIF30 0x0
-#define MBTIF31 0x8000 /* Mailbox 31 Mailbox Transmit Interrupt Flag */
-#define nMBTIF31 0x0
-
-/* Bit masks for CAN0_MBRIF1 */
-
-#define MBRIF0 0x1 /* Mailbox 0 Mailbox Receive Interrupt Flag */
-#define nMBRIF0 0x0
-#define MBRIF1 0x2 /* Mailbox 1 Mailbox Receive Interrupt Flag */
-#define nMBRIF1 0x0
-#define MBRIF2 0x4 /* Mailbox 2 Mailbox Receive Interrupt Flag */
-#define nMBRIF2 0x0
-#define MBRIF3 0x8 /* Mailbox 3 Mailbox Receive Interrupt Flag */
-#define nMBRIF3 0x0
-#define MBRIF4 0x10 /* Mailbox 4 Mailbox Receive Interrupt Flag */
-#define nMBRIF4 0x0
-#define MBRIF5 0x20 /* Mailbox 5 Mailbox Receive Interrupt Flag */
-#define nMBRIF5 0x0
-#define MBRIF6 0x40 /* Mailbox 6 Mailbox Receive Interrupt Flag */
-#define nMBRIF6 0x0
-#define MBRIF7 0x80 /* Mailbox 7 Mailbox Receive Interrupt Flag */
-#define nMBRIF7 0x0
-#define MBRIF8 0x100 /* Mailbox 8 Mailbox Receive Interrupt Flag */
-#define nMBRIF8 0x0
-#define MBRIF9 0x200 /* Mailbox 9 Mailbox Receive Interrupt Flag */
-#define nMBRIF9 0x0
-#define MBRIF10 0x400 /* Mailbox 10 Mailbox Receive Interrupt Flag */
-#define nMBRIF10 0x0
-#define MBRIF11 0x800 /* Mailbox 11 Mailbox Receive Interrupt Flag */
-#define nMBRIF11 0x0
-#define MBRIF12 0x1000 /* Mailbox 12 Mailbox Receive Interrupt Flag */
-#define nMBRIF12 0x0
-#define MBRIF13 0x2000 /* Mailbox 13 Mailbox Receive Interrupt Flag */
-#define nMBRIF13 0x0
-#define MBRIF14 0x4000 /* Mailbox 14 Mailbox Receive Interrupt Flag */
-#define nMBRIF14 0x0
-#define MBRIF15 0x8000 /* Mailbox 15 Mailbox Receive Interrupt Flag */
-#define nMBRIF15 0x0
-
-/* Bit masks for CAN0_MBRIF2 */
-
-#define MBRIF16 0x1 /* Mailbox 16 Mailbox Receive Interrupt Flag */
-#define nMBRIF16 0x0
-#define MBRIF17 0x2 /* Mailbox 17 Mailbox Receive Interrupt Flag */
-#define nMBRIF17 0x0
-#define MBRIF18 0x4 /* Mailbox 18 Mailbox Receive Interrupt Flag */
-#define nMBRIF18 0x0
-#define MBRIF19 0x8 /* Mailbox 19 Mailbox Receive Interrupt Flag */
-#define nMBRIF19 0x0
-#define MBRIF20 0x10 /* Mailbox 20 Mailbox Receive Interrupt Flag */
-#define nMBRIF20 0x0
-#define MBRIF21 0x20 /* Mailbox 21 Mailbox Receive Interrupt Flag */
-#define nMBRIF21 0x0
-#define MBRIF22 0x40 /* Mailbox 22 Mailbox Receive Interrupt Flag */
-#define nMBRIF22 0x0
-#define MBRIF23 0x80 /* Mailbox 23 Mailbox Receive Interrupt Flag */
-#define nMBRIF23 0x0
-#define MBRIF24 0x100 /* Mailbox 24 Mailbox Receive Interrupt Flag */
-#define nMBRIF24 0x0
-#define MBRIF25 0x200 /* Mailbox 25 Mailbox Receive Interrupt Flag */
-#define nMBRIF25 0x0
-#define MBRIF26 0x400 /* Mailbox 26 Mailbox Receive Interrupt Flag */
-#define nMBRIF26 0x0
-#define MBRIF27 0x800 /* Mailbox 27 Mailbox Receive Interrupt Flag */
-#define nMBRIF27 0x0
-#define MBRIF28 0x1000 /* Mailbox 28 Mailbox Receive Interrupt Flag */
-#define nMBRIF28 0x0
-#define MBRIF29 0x2000 /* Mailbox 29 Mailbox Receive Interrupt Flag */
-#define nMBRIF29 0x0
-#define MBRIF30 0x4000 /* Mailbox 30 Mailbox Receive Interrupt Flag */
-#define nMBRIF30 0x0
-#define MBRIF31 0x8000 /* Mailbox 31 Mailbox Receive Interrupt Flag */
-#define nMBRIF31 0x0
-
-/* Bit masks for EPPIx_STATUS */
-
-#define CFIFO_ERR 0x1 /* Chroma FIFO Error */
-#define nCFIFO_ERR 0x0
-#define YFIFO_ERR 0x2 /* Luma FIFO Error */
-#define nYFIFO_ERR 0x0
-#define LTERR_OVR 0x4 /* Line Track Overflow */
-#define nLTERR_OVR 0x0
-#define LTERR_UNDR 0x8 /* Line Track Underflow */
-#define nLTERR_UNDR 0x0
-#define FTERR_OVR 0x10 /* Frame Track Overflow */
-#define nFTERR_OVR 0x0
-#define FTERR_UNDR 0x20 /* Frame Track Underflow */
-#define nFTERR_UNDR 0x0
-#define ERR_NCOR 0x40 /* Preamble Error Not Corrected */
-#define nERR_NCOR 0x0
-#define DMA1URQ 0x80 /* DMA1 Urgent Request */
-#define nDMA1URQ 0x0
-#define DMA0URQ 0x100 /* DMA0 Urgent Request */
-#define nDMA0URQ 0x0
-#define ERR_DET 0x4000 /* Preamble Error Detected */
-#define nERR_DET 0x0
-#define FLD 0x8000 /* Field */
-#define nFLD 0x0
-
-/* Bit masks for EPPIx_CONTROL */
-
-#define EPPI_EN 0x1 /* Enable */
-#define nEPPI_EN 0x0
-#define EPPI_DIR 0x2 /* Direction */
-#define nEPPI_DIR 0x0
-#define XFR_TYPE 0xc /* Operating Mode */
-#define FS_CFG 0x30 /* Frame Sync Configuration */
-#define FLD_SEL 0x40 /* Field Select/Trigger */
-#define nFLD_SEL 0x0
-#define ITU_TYPE 0x80 /* ITU Interlaced or Progressive */
-#define nITU_TYPE 0x0
-#define BLANKGEN 0x100 /* ITU Output Mode with Internal Blanking Generation */
-#define nBLANKGEN 0x0
-#define ICLKGEN 0x200 /* Internal Clock Generation */
-#define nICLKGEN 0x0
-#define IFSGEN 0x400 /* Internal Frame Sync Generation */
-#define nIFSGEN 0x0
-#define POLC 0x1800 /* Frame Sync and Data Driving/Sampling Edges */
-#define POLS 0x6000 /* Frame Sync Polarity */
-#define DLEN 0x38000 /* Data Length */
-#define SKIP_EN 0x40000 /* Skip Enable */
-#define nSKIP_EN 0x0
-#define SKIP_EO 0x80000 /* Skip Even or Odd */
-#define nSKIP_EO 0x0
-#define PACKEN 0x100000 /* Packing/Unpacking Enable */
-#define nPACKEN 0x0
-#define SWAPEN 0x200000 /* Swap Enable */
-#define nSWAPEN 0x0
-#define SIGN_EXT 0x400000 /* Sign Extension or Zero-filled / Data Split Format */
-#define nSIGN_EXT 0x0
-#define SPLT_EVEN_ODD 0x800000 /* Split Even and Odd Data Samples */
-#define nSPLT_EVEN_ODD 0x0
-#define SUBSPLT_ODD 0x1000000 /* Sub-split Odd Samples */
-#define nSUBSPLT_ODD 0x0
-#define DMACFG 0x2000000 /* One or Two DMA Channels Mode */
-#define nDMACFG 0x0
-#define RGB_FMT_EN 0x4000000 /* RGB Formatting Enable */
-#define nRGB_FMT_EN 0x0
-#define FIFO_RWM 0x18000000 /* FIFO Regular Watermarks */
-#define FIFO_UWM 0x60000000 /* FIFO Urgent Watermarks */
-
-/* Bit masks for EPPIx_FS2W_LVB */
-
-#define F1VB_BD 0xff /* Vertical Blanking before Field 1 Active Data */
-#define F1VB_AD 0xff00 /* Vertical Blanking after Field 1 Active Data */
-#define F2VB_BD 0xff0000 /* Vertical Blanking before Field 2 Active Data */
-#define F2VB_AD 0xff000000 /* Vertical Blanking after Field 2 Active Data */
-
-/* Bit masks for EPPIx_FS2W_LAVF */
-
-#define F1_ACT 0xffff /* Number of Lines of Active Data in Field 1 */
-#define F2_ACT 0xffff0000 /* Number of Lines of Active Data in Field 2 */
-
-/* Bit masks for EPPIx_CLIP */
-
-#define LOW_ODD 0xff /* Lower Limit for Odd Bytes (Chroma) */
-#define HIGH_ODD 0xff00 /* Upper Limit for Odd Bytes (Chroma) */
-#define LOW_EVEN 0xff0000 /* Lower Limit for Even Bytes (Luma) */
-#define HIGH_EVEN 0xff000000 /* Upper Limit for Even Bytes (Luma) */
-
-/* Bit masks for SPIx_BAUD */
-
-#define SPI_BAUD 0xffff /* Baud Rate */
-
-/* Bit masks for SPIx_CTL */
-
-#define SPE 0x4000 /* SPI Enable */
-#define nSPE 0x0
-#define WOM 0x2000 /* Write Open Drain Master */
-#define nWOM 0x0
-#define MSTR 0x1000 /* Master Mode */
-#define nMSTR 0x0
-#define CPOL 0x800 /* Clock Polarity */
-#define nCPOL 0x0
-#define CPHA 0x400 /* Clock Phase */
-#define nCPHA 0x0
-#define LSBF 0x200 /* LSB First */
-#define nLSBF 0x0
-#define SIZE 0x100 /* Size of Words */
-#define nSIZE 0x0
-#define EMISO 0x20 /* Enable MISO Output */
-#define nEMISO 0x0
-#define PSSE 0x10 /* Slave-Select Enable */
-#define nPSSE 0x0
-#define GM 0x8 /* Get More Data */
-#define nGM 0x0
-#define SZ 0x4 /* Send Zero */
-#define nSZ 0x0
-#define TIMOD 0x3 /* Transfer Initiation Mode */
-
-/* Bit masks for SPIx_FLG */
-
-#define FLS1 0x2 /* Slave Select Enable 1 */
-#define nFLS1 0x0
-#define FLS2 0x4 /* Slave Select Enable 2 */
-#define nFLS2 0x0
-#define FLS3 0x8 /* Slave Select Enable 3 */
-#define nFLS3 0x0
-#define FLG1 0x200 /* Slave Select Value 1 */
-#define nFLG1 0x0
-#define FLG2 0x400 /* Slave Select Value 2 */
-#define nFLG2 0x0
-#define FLG3 0x800 /* Slave Select Value 3 */
-#define nFLG3 0x0
-
-/* Bit masks for SPIx_STAT */
-
-#define TXCOL 0x40 /* Transmit Collision Error */
-#define nTXCOL 0x0
-#define RXS 0x20 /* RDBR Data Buffer Status */
-#define nRXS 0x0
-#define RBSY 0x10 /* Receive Error */
-#define nRBSY 0x0
-#define TXS 0x8 /* TDBR Data Buffer Status */
-#define nTXS 0x0
-#define TXE 0x4 /* Transmission Error */
-#define nTXE 0x0
-#define MODF 0x2 /* Mode Fault Error */
-#define nMODF 0x0
-#define SPIF 0x1 /* SPI Finished */
-#define nSPIF 0x0
-
-/* Bit masks for SPIx_TDBR */
-
-#define TDBR 0xffff /* Transmit Data Buffer */
-
-/* Bit masks for SPIx_RDBR */
-
-#define RDBR 0xffff /* Receive Data Buffer */
-
-/* Bit masks for SPIx_SHADOW */
-
-#define SHADOW 0xffff /* RDBR Shadow */
-
-/* ************************************************ */
-/* The TWI bit masks fields are from the ADSP-BF538 */
-/* and they have not been verified as the final */
-/* ones for the Moab processors ... bz 1/19/2007 */
-/* ************************************************ */
-
-/* Bit masks for TWIx_CONTROL */
-
-#define PRESCALE 0x7f /* Prescale Value */
-#define TWI_ENA 0x80 /* TWI Enable */
-#define nTWI_ENA 0x0
-#define SCCB 0x200 /* Serial Camera Control Bus */
-#define nSCCB 0x0
-
-/* Bit maskes for TWIx_CLKDIV */
-
-#define CLKLOW 0xff /* Clock Low */
-#define CLKHI 0xff00 /* Clock High */
-
-/* Bit maskes for TWIx_SLAVE_CTL */
-
-#define SEN 0x1 /* Slave Enable */
-#define nSEN 0x0
-#define STDVAL 0x4 /* Slave Transmit Data Valid */
-#define nSTDVAL 0x0
-#define NAK 0x8 /* Not Acknowledge */
-#define nNAK 0x0
-#define GEN 0x10 /* General Call Enable */
-#define nGEN 0x0
-
-/* Bit maskes for TWIx_SLAVE_ADDR */
-
-#define SADDR 0x7f /* Slave Mode Address */
-
-/* Bit maskes for TWIx_SLAVE_STAT */
-
-#define SDIR 0x1 /* Slave Transfer Direction */
-#define nSDIR 0x0
-#define GCALL 0x2 /* General Call */
-#define nGCALL 0x0
-
-/* Bit maskes for TWIx_MASTER_CTL */
-
-#define MEN 0x1 /* Master Mode Enable */
-#define nMEN 0x0
-#define MDIR 0x4 /* Master Transfer Direction */
-#define nMDIR 0x0
-#define FAST 0x8 /* Fast Mode */
-#define nFAST 0x0
-#define STOP 0x10 /* Issue Stop Condition */
-#define nSTOP 0x0
-#define RSTART 0x20 /* Repeat Start */
-#define nRSTART 0x0
-#define DCNT 0x3fc0 /* Data Transfer Count */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define nSDAOVR 0x0
-#define SCLOVR 0x8000 /* Serial Clock Override */
-#define nSCLOVR 0x0
-
-/* Bit maskes for TWIx_MASTER_ADDR */
-
-#define MADDR 0x7f /* Master Mode Address */
-
-/* Bit maskes for TWIx_MASTER_STAT */
-
-#define MPROG 0x1 /* Master Transfer in Progress */
-#define nMPROG 0x0
-#define LOSTARB 0x2 /* Lost Arbitration */
-#define nLOSTARB 0x0
-#define ANAK 0x4 /* Address Not Acknowledged */
-#define nANAK 0x0
-#define DNAK 0x8 /* Data Not Acknowledged */
-#define nDNAK 0x0
-#define BUFRDERR 0x10 /* Buffer Read Error */
-#define nBUFRDERR 0x0
-#define BUFWRERR 0x20 /* Buffer Write Error */
-#define nBUFWRERR 0x0
-#define SDASEN 0x40 /* Serial Data Sense */
-#define nSDASEN 0x0
-#define SCLSEN 0x80 /* Serial Clock Sense */
-#define nSCLSEN 0x0
-#define BUSBUSY 0x100 /* Bus Busy */
-#define nBUSBUSY 0x0
-
-/* Bit maskes for TWIx_FIFO_CTL */
-
-#define XMTFLUSH 0x1 /* Transmit Buffer Flush */
-#define nXMTFLUSH 0x0
-#define RCVFLUSH 0x2 /* Receive Buffer Flush */
-#define nRCVFLUSH 0x0
-#define XMTINTLEN 0x4 /* Transmit Buffer Interrupt Length */
-#define nXMTINTLEN 0x0
-#define RCVINTLEN 0x8 /* Receive Buffer Interrupt Length */
-#define nRCVINTLEN 0x0
-
-/* Bit maskes for TWIx_FIFO_STAT */
-
-#define XMTSTAT 0x3 /* Transmit FIFO Status */
-#define RCVSTAT 0xc /* Receive FIFO Status */
-
-/* Bit maskes for TWIx_INT_MASK */
-
-#define SINITM 0x1 /* Slave Transfer Initiated Interrupt Mask */
-#define nSINITM 0x0
-#define SCOMPM 0x2 /* Slave Transfer Complete Interrupt Mask */
-#define nSCOMPM 0x0
-#define SERRM 0x4 /* Slave Transfer Error Interrupt Mask */
-#define nSERRM 0x0
-#define SOVFM 0x8 /* Slave Overflow Interrupt Mask */
-#define nSOVFM 0x0
-#define MCOMPM 0x10 /* Master Transfer Complete Interrupt Mask */
-#define nMCOMPM 0x0
-#define MERRM 0x20 /* Master Transfer Error Interrupt Mask */
-#define nMERRM 0x0
-#define XMTSERVM 0x40 /* Transmit FIFO Service Interrupt Mask */
-#define nXMTSERVM 0x0
-#define RCVSERVM 0x80 /* Receive FIFO Service Interrupt Mask */
-#define nRCVSERVM 0x0
-
-/* Bit maskes for TWIx_INT_STAT */
-
-#define SINIT 0x1 /* Slave Transfer Initiated */
-#define nSINIT 0x0
-#define SCOMP 0x2 /* Slave Transfer Complete */
-#define nSCOMP 0x0
-#define SERR 0x4 /* Slave Transfer Error */
-#define nSERR 0x0
-#define SOVF 0x8 /* Slave Overflow */
-#define nSOVF 0x0
-#define MCOMP 0x10 /* Master Transfer Complete */
-#define nMCOMP 0x0
-#define MERR 0x20 /* Master Transfer Error */
-#define nMERR 0x0
-#define XMTSERV 0x40 /* Transmit FIFO Service */
-#define nXMTSERV 0x0
-#define RCVSERV 0x80 /* Receive FIFO Service */
-#define nRCVSERV 0x0
-
-/* Bit maskes for TWIx_XMT_DATA8 */
-
-#define XMTDATA8 0xff /* Transmit FIFO 8-Bit Data */
-
-/* Bit maskes for TWIx_XMT_DATA16 */
-
-#define XMTDATA16 0xffff /* Transmit FIFO 16-Bit Data */
-
-/* Bit maskes for TWIx_RCV_DATA8 */
-
-#define RCVDATA8 0xff /* Receive FIFO 8-Bit Data */
-
-/* Bit maskes for TWIx_RCV_DATA16 */
-
-#define RCVDATA16 0xffff /* Receive FIFO 16-Bit Data */
-
-/* Bit masks for SPORTx_TCR1 */
-
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-#define nTCKFE 0x0
-#define LATFS 0x2000 /* Late Transmit Frame Sync */
-#define nLATFS 0x0
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define nLTFS 0x0
-#define DITFS 0x800 /* Data-Independent Transmit Frame Sync Select */
-#define nDITFS 0x0
-#define TFSR 0x400 /* Transmit Frame Sync Required Select */
-#define nTFSR 0x0
-#define ITFS 0x200 /* Internal Transmit Frame Sync Select */
-#define nITFS 0x0
-#define TLSBIT 0x10 /* Transmit Bit Order */
-#define nTLSBIT 0x0
-#define TDTYPE 0xc /* Data Formatting Type Select */
-#define ITCLK 0x2 /* Internal Transmit Clock Select */
-#define nITCLK 0x0
-#define TSPEN 0x1 /* Transmit Enable */
-#define nTSPEN 0x0
-
-/* Bit masks for SPORTx_TCR2 */
-
-#define TRFST 0x400 /* Left/Right Order */
-#define nTRFST 0x0
-#define TSFSE 0x200 /* Transmit Stereo Frame Sync Enable */
-#define nTSFSE 0x0
-#define TXSE 0x100 /* TxSEC Enable */
-#define nTXSE 0x0
-#define SLEN_T 0x1f /* SPORT Word Length */
-
-/* Bit masks for SPORTx_RCR1 */
-
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-#define nRCKFE 0x0
-#define LARFS 0x2000 /* Late Receive Frame Sync */
-#define nLARFS 0x0
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define nLRFS 0x0
-#define RFSR 0x400 /* Receive Frame Sync Required Select */
-#define nRFSR 0x0
-#define IRFS 0x200 /* Internal Receive Frame Sync Select */
-#define nIRFS 0x0
-#define RLSBIT 0x10 /* Receive Bit Order */
-#define nRLSBIT 0x0
-#define RDTYPE 0xc /* Data Formatting Type Select */
-#define IRCLK 0x2 /* Internal Receive Clock Select */
-#define nIRCLK 0x0
-#define RSPEN 0x1 /* Receive Enable */
-#define nRSPEN 0x0
-
-/* Bit masks for SPORTx_RCR2 */
-
-#define RRFST 0x400 /* Left/Right Order */
-#define nRRFST 0x0
-#define RSFSE 0x200 /* Receive Stereo Frame Sync Enable */
-#define nRSFSE 0x0
-#define RXSE 0x100 /* RxSEC Enable */
-#define nRXSE 0x0
-#define SLEN_R 0x1f /* SPORT Word Length */
-
-/* Bit masks for SPORTx_STAT */
-
-#define TXHRE 0x40 /* Transmit Hold Register Empty */
-#define nTXHRE 0x0
-#define TOVF 0x20 /* Sticky Transmit Overflow Status */
-#define nTOVF 0x0
-#define TUVF 0x10 /* Sticky Transmit Underflow Status */
-#define nTUVF 0x0
-#define TXF 0x8 /* Transmit FIFO Full Status */
-#define nTXF 0x0
-#define ROVF 0x4 /* Sticky Receive Overflow Status */
-#define nROVF 0x0
-#define RUVF 0x2 /* Sticky Receive Underflow Status */
-#define nRUVF 0x0
-#define RXNE 0x1 /* Receive FIFO Not Empty Status */
-#define nRXNE 0x0
-
-/* Bit masks for SPORTx_MCMC1 */
-
-#define WSIZE 0xf000 /* Window Size */
-#define WOFF 0x3ff /* Windows Offset */
-
-/* Bit masks for SPORTx_MCMC2 */
-
-#define MFD 0xf000 /* Multi channel Frame Delay */
-#define FSDR 0x80 /* Frame Sync to Data Relationship */
-#define nFSDR 0x0
-#define MCMEN 0x10 /* Multi channel Frame Mode Enable */
-#define nMCMEN 0x0
-#define MCDRXPE 0x8 /* Multi channel DMA Receive Packing */
-#define nMCDRXPE 0x0
-#define MCDTXPE 0x4 /* Multi channel DMA Transmit Packing */
-#define nMCDTXPE 0x0
-#define MCCRM 0x3 /* 2X Clock Recovery Mode */
-
-/* Bit masks for SPORTx_CHNL */
-
-#define CUR_CHNL 0x3ff /* Current Channel Indicator */
-
-/* Bit masks for UARTx_LCR */
-
-#if 0
-/* conflicts with legacy one in last section */
-#define WLS 0x3 /* Word Length Select */
-#endif
-#define STB 0x4 /* Stop Bits */
-#define nSTB 0x0
-#define PEN 0x8 /* Parity Enable */
-#define nPEN 0x0
-#define EPS 0x10 /* Even Parity Select */
-#define nEPS 0x0
-#define STP 0x20 /* Sticky Parity */
-#define nSTP 0x0
-#define SB 0x40 /* Set Break */
-#define nSB 0x0
-
-/* Bit masks for UARTx_MCR */
-
-#define XOFF 0x1 /* Transmitter Off */
-#define nXOFF 0x0
-#define MRTS 0x2 /* Manual Request To Send */
-#define nMRTS 0x0
-#define RFIT 0x4 /* Receive FIFO IRQ Threshold */
-#define nRFIT 0x0
-#define RFRT 0x8 /* Receive FIFO RTS Threshold */
-#define nRFRT 0x0
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define nLOOP_ENA 0x0
-#define FCPOL 0x20 /* Flow Control Pin Polarity */
-#define nFCPOL 0x0
-#define ARTS 0x40 /* Automatic Request To Send */
-#define nARTS 0x0
-#define ACTS 0x80 /* Automatic Clear To Send */
-#define nACTS 0x0
-
-/* Bit masks for UARTx_LSR */
-
-#define DR 0x1 /* Data Ready */
-#define nDR 0x0
-#define OE 0x2 /* Overrun Error */
-#define nOE 0x0
-#define PE 0x4 /* Parity Error */
-#define nPE 0x0
-#define FE 0x8 /* Framing Error */
-#define nFE 0x0
-#define BI 0x10 /* Break Interrupt */
-#define nBI 0x0
-#define THRE 0x20 /* THR Empty */
-#define nTHRE 0x0
-#define TEMT 0x40 /* Transmitter Empty */
-#define nTEMT 0x0
-#define TFI 0x80 /* Transmission Finished Indicator */
-#define nTFI 0x0
-
-/* Bit masks for UARTx_MSR */
-
-#define SCTS 0x1 /* Sticky CTS */
-#define nSCTS 0x0
-#define CTS 0x10 /* Clear To Send */
-#define nCTS 0x0
-#define RFCS 0x20 /* Receive FIFO Count Status */
-#define nRFCS 0x0
-
-/* Bit masks for UARTx_IER_SET and UARTx_IER_CLEAR */
-
-#define ERBFI 0x1 /* Enable Receive Buffer Full Interrupt */
-#define nERBFI 0x0
-#define ETBEI 0x2 /* Enable Transmit Buffer Empty Interrupt */
-#define nETBEI 0x0
-#define ELSI 0x4 /* Enable Receive Status Interrupt */
-#define nELSI 0x0
-#define EDSSI 0x8 /* Enable Modem Status Interrupt */
-#define nEDSSI 0x0
-#define EDTPTI 0x10 /* Enable DMA Transmit PIRQ Interrupt */
-#define nEDTPTI 0x0
-#define ETFI 0x20 /* Enable Transmission Finished Interrupt */
-#define nETFI 0x0
-#define ERFCI 0x40 /* Enable Receive FIFO Count Interrupt */
-#define nERFCI 0x0
-
-
-/* Bit masks for UARTx_GCTL */
-
-#define UCEN 0x1 /* UART Enable */
-#define nUCEN 0x0
-#define IREN 0x2 /* IrDA Mode Enable */
-#define nIREN 0x0
-#define TPOLC 0x4 /* IrDA TX Polarity Change */
-#define nTPOLC 0x0
-#define RPOLC 0x8 /* IrDA RX Polarity Change */
-#define nRPOLC 0x0
-#define FPE 0x10 /* Force Parity Error */
-#define nFPE 0x0
-#define FFE 0x20 /* Force Framing Error */
-#define nFFE 0x0
-#define EDBO 0x40 /* Enable Divide-by-One */
-#define nEDBO 0x0
-#define EGLSI 0x80 /* Enable Global LS Interrupt */
-#define nEGLSI 0x0
-
-/* Bit masks for HMDMAx_CONTROL */
-
-#define HMDMAEN 0x1 /* Handshake MDMA Enable */
-#define nHMDMAEN 0x0
-#define REP 0x2 /* Handshake MDMA Request Polarity */
-#define nREP 0x0
-#define UTE 0x8 /* Urgency Threshold Enable */
-#define nUTE 0x0
-#define OIE 0x10 /* Overflow Interrupt Enable */
-#define nOIE 0x0
-#define BDIE 0x20 /* Block Done Interrupt Enable */
-#define nBDIE 0x0
-#define MBDI 0x40 /* Mask Block Done Interrupt */
-#define nMBDI 0x0
-#define SND 0x80 /* Source/Not Destination */
-#define nSND 0x0
-#define DRQ 0x300 /* Handshake MDMA Request Type */
-#define RBC 0x1000 /* Force Reload of BCOUNT */
-#define nRBC 0x0
-#define PS 0x2000 /* Pin Status */
-#define nPS 0x0
-#define OI 0x4000 /* Overflow Interrupt Generated */
-#define nOI 0x0
-#define BDI 0x8000 /* Block Done Interrupt Generated */
-#define nBDI 0x0
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-/* SYSCR Masks */
-#define BMODE 0x000F /* Boot Mode. Mirror of BMODE Mode Pins */
-#define BMODE_NOBOOT 0x0000 /* The processor does not boot. Rather, the boot kernel executes an IDLE instruction. */
-#define BMODE_FLASH 0x0001 /* Boot from 8-bit or 16-bit external flash memory */
-#define BMODE_FIFO 0x0002 /* Boot from 16-bit asynchronous FIFO */
-#define BMODE_SPIMEM 0x0003 /* Boot from serial SPI memory */
-#define BMODE_SPIHOST 0x0004 /* Boot from SPI0 host (slave mode) */
-#define BMODE_TWIMEM 0x0005 /* Boot from serial TWI memory */
-#define BMODE_TWIHOST 0x0006 /* Boot from TWI0 host (slave mode) */
-#define BMODE_UARTHOST 0x0007 /* Boot from UART host */
-#define BMODE_UART1HOST 0x0007 /* Boot from UART1 host */
-#define BMODE_SDRAMMEM 0x000A /* Boot from SDRAM memory (warm boot) */
-#define BMODE_OTPMEM 0x000B /* Boot from OTP memory */
-#define BMODE_NAND 0x000D /* Boot from 8- and 16-bit NAND flash */
-#define BMODE_HOSTDMA_ACK 0x000E /* Boot from 16-bit host DMA (ACK mode) */
-#define BMODE_HOSTDMA_INT 0x000F /* Boot from 8-bit host DMA (INT mode) */
-
-#define NOBOOT 0x0030 /* Execute From L1 or ASYNC Bank 0 When BMODE = 0 */
-#define BCODE 0x00F0
-#define BCODE_NORMAL 0x0000 /* normal boot, update PLL/VR, quickboot as by WURESET */
-#define BCODE_NOBOOT 0x0010 /* bypass boot, don't update PLL/VR */
-#define BCODE_QUICKBOOT 0x0020 /* quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_ALLBOOT 0x0040 /* no quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_FULLBOOT 0x0060 /* no quick boot, overrule WURESET, update PLL/VR */
-
-#define CDMAPRIO 0x0100 /* DMA1 gets higher priority than DMA0 to L1 memory */
-#define L2DMAPRIO 0x0200 /* DMA1 gets higher priority than DMA0 to L2 memory */
-
-#define WURESET 0x1000 /* wakeup event since last hardware reset */
-#define DFRESET 0x2000 /* recent reset was due to a double fault event */
-#define WDRESET 0x4000 /* recent reset was due to a watchdog event */
-#define SWRESET 0x8000 /* recent reset was issued by software */
-
-/* CNT_COMMAND bit field options */
-
-#define W1LCNT_ZERO 0x0001 /* write 1 to load CNT_COUNTER with zero */
-#define W1LCNT_MIN 0x0004 /* write 1 to load CNT_COUNTER from CNT_MIN */
-#define W1LCNT_MAX 0x0008 /* write 1 to load CNT_COUNTER from CNT_MAX */
-
-#define W1LMIN_ZERO 0x0010 /* write 1 to load CNT_MIN with zero */
-#define W1LMIN_CNT 0x0020 /* write 1 to load CNT_MIN from CNT_COUNTER */
-#define W1LMIN_MAX 0x0080 /* write 1 to load CNT_MIN from CNT_MAX */
-
-#define W1LMAX_ZERO 0x0100 /* write 1 to load CNT_MAX with zero */
-#define W1LMAX_CNT 0x0200 /* write 1 to load CNT_MAX from CNT_COUNTER */
-#define W1LMAX_MIN 0x0400 /* write 1 to load CNT_MAX from CNT_MIN */
-
-/* CNT_CONFIG bit field options */
-
-#define CNTMODE_QUADENC 0x0000 /* quadrature encoder mode */
-#define CNTMODE_BINENC 0x0100 /* binary encoder mode */
-#define CNTMODE_UDCNT 0x0200 /* up/down counter mode */
-#define CNTMODE_DIRCNT 0x0400 /* direction counter mode */
-#define CNTMODE_DIRTMR 0x0500 /* direction timer mode */
-
-#define BNDMODE_COMP 0x0000 /* boundary compare mode */
-#define BNDMODE_ZERO 0x1000 /* boundary compare and zero mode */
-#define BNDMODE_CAPT 0x2000 /* boundary capture mode */
-#define BNDMODE_AEXT 0x3000 /* boundary auto-extend mode */
-
-/* TMODE in TIMERx_CONFIG bit field options */
-
-#define PWM_OUT 0x0001
-#define WDTH_CAP 0x0002
-#define EXT_CLK 0x0003
-
-/* UARTx_LCR bit field options */
-
-#define WLS_5 0x0000 /* 5 data bits */
-#define WLS_6 0x0001 /* 6 data bits */
-#define WLS_7 0x0002 /* 7 data bits */
-#define WLS_8 0x0003 /* 8 data bits */
-
-/* PINTx Register Bit Definitions */
-
-#define PIQ0 0x00000001
-#define PIQ1 0x00000002
-#define PIQ2 0x00000004
-#define PIQ3 0x00000008
-
-#define PIQ4 0x00000010
-#define PIQ5 0x00000020
-#define PIQ6 0x00000040
-#define PIQ7 0x00000080
-
-#define PIQ8 0x00000100
-#define PIQ9 0x00000200
-#define PIQ10 0x00000400
-#define PIQ11 0x00000800
-
-#define PIQ12 0x00001000
-#define PIQ13 0x00002000
-#define PIQ14 0x00004000
-#define PIQ15 0x00008000
-
-#define PIQ16 0x00010000
-#define PIQ17 0x00020000
-#define PIQ18 0x00040000
-#define PIQ19 0x00080000
-
-#define PIQ20 0x00100000
-#define PIQ21 0x00200000
-#define PIQ22 0x00400000
-#define PIQ23 0x00800000
-
-#define PIQ24 0x01000000
-#define PIQ25 0x02000000
-#define PIQ26 0x04000000
-#define PIQ27 0x08000000
-
-#define PIQ28 0x10000000
-#define PIQ29 0x20000000
-#define PIQ30 0x40000000
-#define PIQ31 0x80000000
-
-/* PORT A Bit Definitions for the registers
-PORTA, PORTA_SET, PORTA_CLEAR,
-PORTA_DIR_SET, PORTA_DIR_CLEAR, PORTA_INEN,
-PORTA_FER registers
-*/
-
-#define PA0 0x0001
-#define PA1 0x0002
-#define PA2 0x0004
-#define PA3 0x0008
-#define PA4 0x0010
-#define PA5 0x0020
-#define PA6 0x0040
-#define PA7 0x0080
-#define PA8 0x0100
-#define PA9 0x0200
-#define PA10 0x0400
-#define PA11 0x0800
-#define PA12 0x1000
-#define PA13 0x2000
-#define PA14 0x4000
-#define PA15 0x8000
-
-/* PORT B Bit Definitions for the registers
-PORTB, PORTB_SET, PORTB_CLEAR,
-PORTB_DIR_SET, PORTB_DIR_CLEAR, PORTB_INEN,
-PORTB_FER registers
-*/
-
-#define PB0 0x0001
-#define PB1 0x0002
-#define PB2 0x0004
-#define PB3 0x0008
-#define PB4 0x0010
-#define PB5 0x0020
-#define PB6 0x0040
-#define PB7 0x0080
-#define PB8 0x0100
-#define PB9 0x0200
-#define PB10 0x0400
-#define PB11 0x0800
-#define PB12 0x1000
-#define PB13 0x2000
-#define PB14 0x4000
-
-
-/* PORT C Bit Definitions for the registers
-PORTC, PORTC_SET, PORTC_CLEAR,
-PORTC_DIR_SET, PORTC_DIR_CLEAR, PORTC_INEN,
-PORTC_FER registers
-*/
-
-
-#define PC0 0x0001
-#define PC1 0x0002
-#define PC2 0x0004
-#define PC3 0x0008
-#define PC4 0x0010
-#define PC5 0x0020
-#define PC6 0x0040
-#define PC7 0x0080
-#define PC8 0x0100
-#define PC9 0x0200
-#define PC10 0x0400
-#define PC11 0x0800
-#define PC12 0x1000
-#define PC13 0x2000
-
-
-/* PORT D Bit Definitions for the registers
-PORTD, PORTD_SET, PORTD_CLEAR,
-PORTD_DIR_SET, PORTD_DIR_CLEAR, PORTD_INEN,
-PORTD_FER registers
-*/
-
-#define PD0 0x0001
-#define PD1 0x0002
-#define PD2 0x0004
-#define PD3 0x0008
-#define PD4 0x0010
-#define PD5 0x0020
-#define PD6 0x0040
-#define PD7 0x0080
-#define PD8 0x0100
-#define PD9 0x0200
-#define PD10 0x0400
-#define PD11 0x0800
-#define PD12 0x1000
-#define PD13 0x2000
-#define PD14 0x4000
-#define PD15 0x8000
-
-/* PORT E Bit Definitions for the registers
-PORTE, PORTE_SET, PORTE_CLEAR,
-PORTE_DIR_SET, PORTE_DIR_CLEAR, PORTE_INEN,
-PORTE_FER registers
-*/
-
-
-#define PE0 0x0001
-#define PE1 0x0002
-#define PE2 0x0004
-#define PE3 0x0008
-#define PE4 0x0010
-#define PE5 0x0020
-#define PE6 0x0040
-#define PE7 0x0080
-#define PE8 0x0100
-#define PE9 0x0200
-#define PE10 0x0400
-#define PE11 0x0800
-#define PE12 0x1000
-#define PE13 0x2000
-#define PE14 0x4000
-#define PE15 0x8000
-
-/* PORT F Bit Definitions for the registers
-PORTF, PORTF_SET, PORTF_CLEAR,
-PORTF_DIR_SET, PORTF_DIR_CLEAR, PORTF_INEN,
-PORTF_FER registers
-*/
-
-
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* PORT G Bit Definitions for the registers
-PORTG, PORTG_SET, PORTG_CLEAR,
-PORTG_DIR_SET, PORTG_DIR_CLEAR, PORTG_INEN,
-PORTG_FER registers
-*/
-
-
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* PORT H Bit Definitions for the registers
-PORTH, PORTH_SET, PORTH_CLEAR,
-PORTH_DIR_SET, PORTH_DIR_CLEAR, PORTH_INEN,
-PORTH_FER registers
-*/
-
-
-#define PH0 0x0001
-#define PH1 0x0002
-#define PH2 0x0004
-#define PH3 0x0008
-#define PH4 0x0010
-#define PH5 0x0020
-#define PH6 0x0040
-#define PH7 0x0080
-#define PH8 0x0100
-#define PH9 0x0200
-#define PH10 0x0400
-#define PH11 0x0800
-#define PH12 0x1000
-#define PH13 0x2000
-
-
-/* PORT I Bit Definitions for the registers
-PORTI, PORTI_SET, PORTI_CLEAR,
-PORTI_DIR_SET, PORTI_DIR_CLEAR, PORTI_INEN,
-PORTI_FER registers
-*/
-
-
-#define PI0 0x0001
-#define PI1 0x0002
-#define PI2 0x0004
-#define PI3 0x0008
-#define PI4 0x0010
-#define PI5 0x0020
-#define PI6 0x0040
-#define PI7 0x0080
-#define PI8 0x0100
-#define PI9 0x0200
-#define PI10 0x0400
-#define PI11 0x0800
-#define PI12 0x1000
-#define PI13 0x2000
-#define PI14 0x4000
-#define PI15 0x8000
-
-/* PORT J Bit Definitions for the registers
-PORTJ, PORTJ_SET, PORTJ_CLEAR,
-PORTJ_DIR_SET, PORTJ_DIR_CLEAR, PORTJ_INEN,
-PORTJ_FER registers
-*/
-
-
-#define PJ0 0x0001
-#define PJ1 0x0002
-#define PJ2 0x0004
-#define PJ3 0x0008
-#define PJ4 0x0010
-#define PJ5 0x0020
-#define PJ6 0x0040
-#define PJ7 0x0080
-#define PJ8 0x0100
-#define PJ9 0x0200
-#define PJ10 0x0400
-#define PJ11 0x0800
-#define PJ12 0x1000
-#define PJ13 0x2000
-
-
-/* Port Muxing Bit Fields for PORTx_MUX Registers */
-
-#define MUX0 0x00000003
-#define MUX0_0 0x00000000
-#define MUX0_1 0x00000001
-#define MUX0_2 0x00000002
-#define MUX0_3 0x00000003
-
-#define MUX1 0x0000000C
-#define MUX1_0 0x00000000
-#define MUX1_1 0x00000004
-#define MUX1_2 0x00000008
-#define MUX1_3 0x0000000C
-
-#define MUX2 0x00000030
-#define MUX2_0 0x00000000
-#define MUX2_1 0x00000010
-#define MUX2_2 0x00000020
-#define MUX2_3 0x00000030
-
-#define MUX3 0x000000C0
-#define MUX3_0 0x00000000
-#define MUX3_1 0x00000040
-#define MUX3_2 0x00000080
-#define MUX3_3 0x000000C0
-
-#define MUX4 0x00000300
-#define MUX4_0 0x00000000
-#define MUX4_1 0x00000100
-#define MUX4_2 0x00000200
-#define MUX4_3 0x00000300
-
-#define MUX5 0x00000C00
-#define MUX5_0 0x00000000
-#define MUX5_1 0x00000400
-#define MUX5_2 0x00000800
-#define MUX5_3 0x00000C00
-
-#define MUX6 0x00003000
-#define MUX6_0 0x00000000
-#define MUX6_1 0x00001000
-#define MUX6_2 0x00002000
-#define MUX6_3 0x00003000
-
-#define MUX7 0x0000C000
-#define MUX7_0 0x00000000
-#define MUX7_1 0x00004000
-#define MUX7_2 0x00008000
-#define MUX7_3 0x0000C000
-
-#define MUX8 0x00030000
-#define MUX8_0 0x00000000
-#define MUX8_1 0x00010000
-#define MUX8_2 0x00020000
-#define MUX8_3 0x00030000
-
-#define MUX9 0x000C0000
-#define MUX9_0 0x00000000
-#define MUX9_1 0x00040000
-#define MUX9_2 0x00080000
-#define MUX9_3 0x000C0000
-
-#define MUX10 0x00300000
-#define MUX10_0 0x00000000
-#define MUX10_1 0x00100000
-#define MUX10_2 0x00200000
-#define MUX10_3 0x00300000
-
-#define MUX11 0x00C00000
-#define MUX11_0 0x00000000
-#define MUX11_1 0x00400000
-#define MUX11_2 0x00800000
-#define MUX11_3 0x00C00000
-
-#define MUX12 0x03000000
-#define MUX12_0 0x00000000
-#define MUX12_1 0x01000000
-#define MUX12_2 0x02000000
-#define MUX12_3 0x03000000
-
-#define MUX13 0x0C000000
-#define MUX13_0 0x00000000
-#define MUX13_1 0x04000000
-#define MUX13_2 0x08000000
-#define MUX13_3 0x0C000000
-
-#define MUX14 0x30000000
-#define MUX14_0 0x00000000
-#define MUX14_1 0x10000000
-#define MUX14_2 0x20000000
-#define MUX14_3 0x30000000
-
-#define MUX15 0xC0000000
-#define MUX15_0 0x00000000
-#define MUX15_1 0x40000000
-#define MUX15_2 0x80000000
-#define MUX15_3 0xC0000000
-
-#ifdef _MISRA_RULES
-#define MUX(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) \
- ((((b15)&3u) << 30) | \
- (((b14)&3u) << 28) | \
- (((b13)&3u) << 26) | \
- (((b12)&3u) << 24) | \
- (((b11)&3u) << 22) | \
- (((b10)&3u) << 20) | \
- (((b9) &3u) << 18) | \
- (((b8) &3u) << 16) | \
- (((b7) &3u) << 14) | \
- (((b6) &3u) << 12) | \
- (((b5) &3u) << 10) | \
- (((b4) &3u) << 8) | \
- (((b3) &3u) << 6) | \
- (((b2) &3u) << 4) | \
- (((b1) &3u) << 2) | \
- (((b0) &3u)))
-#else
-#define MUX(b15,b14,b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,b2,b1,b0) \
- ((((b15)&3) << 30) | \
- (((b14)&3) << 28) | \
- (((b13)&3) << 26) | \
- (((b12)&3) << 24) | \
- (((b11)&3) << 22) | \
- (((b10)&3) << 20) | \
- (((b9) &3) << 18) | \
- (((b8) &3) << 16) | \
- (((b7) &3) << 14) | \
- (((b6) &3) << 12) | \
- (((b5) &3) << 10) | \
- (((b4) &3) << 8) | \
- (((b3) &3) << 6) | \
- (((b2) &3) << 4) | \
- (((b1) &3) << 2) | \
- (((b0) &3)))
-#endif /* _MISRA_RULES */
-
-/* Bit fields for PINT0_ASSIGN and PINT1_ASSIGN registers */
-
-#define B0MAP 0x000000FF /* Byte 0 Lower Half Port Mapping */
-#define B0MAP_PAL 0x00000000 /* Map Port A Low to Byte 0 */
-#define B0MAP_PBL 0x00000001 /* Map Port B Low to Byte 0 */
-#define B1MAP 0x0000FF00 /* Byte 1 Upper Half Port Mapping */
-#define B1MAP_PAH 0x00000000 /* Map Port A High to Byte 1 */
-#define B1MAP_PBH 0x00000100 /* Map Port B High to Byte 1 */
-#define B2MAP 0x00FF0000 /* Byte 2 Lower Half Port Mapping */
-#define B2MAP_PAL 0x00000000 /* Map Port A Low to Byte 2 */
-#define B2MAP_PBL 0x00010000 /* Map Port B Low to Byte 2 */
-#define B3MAP 0xFF000000 /* Byte 3 Upper Half Port Mapping */
-#define B3MAP_PAH 0x00000000 /* Map Port A High to Byte 3 */
-#define B3MAP_PBH 0x01000000 /* Map Port B High to Byte 3 */
-
-/* Bit fields for PINT2_ASSIGN and PINT3_ASSIGN registers */
-
-#define B0MAP_PCL 0x00000000 /* Map Port C Low to Byte 0 */
-#define B0MAP_PDL 0x00000001 /* Map Port D Low to Byte 0 */
-#define B0MAP_PEL 0x00000002 /* Map Port E Low to Byte 0 */
-#define B0MAP_PFL 0x00000003 /* Map Port F Low to Byte 0 */
-#define B0MAP_PGL 0x00000004 /* Map Port G Low to Byte 0 */
-#define B0MAP_PHL 0x00000005 /* Map Port H Low to Byte 0 */
-#define B0MAP_PIL 0x00000006 /* Map Port I Low to Byte 0 */
-#define B0MAP_PJL 0x00000007 /* Map Port J Low to Byte 0 */
-
-#define B1MAP_PCH 0x00000000 /* Map Port C High to Byte 1 */
-#define B1MAP_PDH 0x00000100 /* Map Port D High to Byte 1 */
-#define B1MAP_PEH 0x00000200 /* Map Port E High to Byte 1 */
-#define B1MAP_PFH 0x00000300 /* Map Port F High to Byte 1 */
-#define B1MAP_PGH 0x00000400 /* Map Port G High to Byte 1 */
-#define B1MAP_PHH 0x00000500 /* Map Port H High to Byte 1 */
-#define B1MAP_PIH 0x00000600 /* Map Port I High to Byte 1 */
-#define B1MAP_PJH 0x00000700 /* Map Port J High to Byte 1 */
-
-#define B2MAP_PCL 0x00000000 /* Map Port C Low to Byte 2 */
-#define B2MAP_PDL 0x00010000 /* Map Port D Low to Byte 2 */
-#define B2MAP_PEL 0x00020000 /* Map Port E Low to Byte 2 */
-#define B2MAP_PFL 0x00030000 /* Map Port F Low to Byte 2 */
-#define B2MAP_PGL 0x00040000 /* Map Port G Low to Byte 2 */
-#define B2MAP_PHL 0x00050000 /* Map Port H Low to Byte 2 */
-#define B2MAP_PIL 0x00060000 /* Map Port I Low to Byte 2 */
-#define B2MAP_PJL 0x00070000 /* Map Port J Low to Byte 2 */
-
-#define B3MAP_PCH 0x00000000 /* Map Port C High to Byte 3 */
-#define B3MAP_PDH 0x01000000 /* Map Port D High to Byte 3 */
-#define B3MAP_PEH 0x02000000 /* Map Port E High to Byte 3 */
-#define B3MAP_PFH 0x03000000 /* Map Port F High to Byte 3 */
-#define B3MAP_PGH 0x04000000 /* Map Port G High to Byte 3 */
-#define B3MAP_PHH 0x05000000 /* Map Port H High to Byte 3 */
-#define B3MAP_PIH 0x06000000 /* Map Port I High to Byte 3 */
-#define B3MAP_PJH 0x07000000 /* Map Port J High to Byte 3 */
-
-
-/* for legacy compatibility */
-
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-#define W1LMAX_MAX W1LMAX_MIN
-#define EBIU_AMCBCTL0 EBIU_AMBCTL0
-#define EBIU_AMCBCTL1 EBIU_AMBCTL1
-#define PINT0_IRQ PINT0_REQUEST
-#define PINT1_IRQ PINT1_REQUEST
-#define PINT2_IRQ PINT2_REQUEST
-#define PINT3_IRQ PINT3_REQUEST
-
-
-/*********************************************************************************** */
-/* System MMR Register Bits */
-/******************************************************************************* */
-
-/* ************************** DMA CONTROLLER MASKS ********************************/
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-
-#ifdef _MISRA_RULES
-#define SET_NDSIZE(x) (((x)&0xFu)<<8)
-#else
-#define SET_NDSIZE(x) (((x)&0xF)<<8)
-#endif
- /* NDSIZE[3:0] (Flex Descriptor Size)
- Size of next descriptor
- 0000 - Required if in Stop or Autobuffer mode
- 0001 - 1001 - Descriptor size
- 1010 - 1111 - Reserved */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-
-/* ********************* PLL AND RESET MASKS ************************ */
-/* SWRST Mask */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-/* PORT A Bit Definitions for the registers
-PORTA, PORTA_SET, PORTA_CLEAR, PORTA_DIR_SET,
-PORTA_DIR_CLEAR, PORTA_INEN, PORTA_FER */
-
-#define nPA0 0x0
-#define nPA1 0x0
-#define nPA2 0x0
-#define nPA3 0x0
-#define nPA4 0x0
-#define nPA5 0x0
-#define nPA6 0x0
-#define nPA7 0x0
-#define nPA8 0x0
-#define nPA9 0x0
-#define nPA10 0x0
-#define nPA11 0x0
-#define nPA12 0x0
-#define nPA13 0x0
-#define nPA14 0x0
-#define nPA15 0x0
-
-/* PORT B Bit Definitions for the registers
-PORTB, PORTB_SET, PORTB_CLEAR, PORTB_DIR_SET,
-PORTB_DIR_CLEAR, PORTB_INEN, PORTB_FER */
-
-#define nPB0 0x0
-#define nPB1 0x0
-#define nPB2 0x0
-#define nPB3 0x0
-#define nPB4 0x0
-#define nPB5 0x0
-#define nPB6 0x0
-#define nPB7 0x0
-#define nPB8 0x0
-#define nPB9 0x0
-#define nPB10 0x0
-#define nPB11 0x0
-#define nPB12 0x0
-#define nPB13 0x0
-#define nPB14 0x0
-#define nPB15 0x0
-
-/* PORT D Bit Definitions for the registers
-PORTD, PORTD_SET, PORTD_CLEAR, PORTD_DIR_SET,
-PORTD_DIR_CLEAR, PORTD_INEN, PORTD_FER */
-
-#define nPD0 0x0
-#define nPD1 0x0
-#define nPD2 0x0
-#define nPD3 0x0
-#define nPD4 0x0
-#define nPD5 0x0
-#define nPD6 0x0
-#define nPD7 0x0
-#define nPD8 0x0
-#define nPD9 0x0
-#define nPD10 0x0
-#define nPD11 0x0
-#define nPD12 0x0
-#define nPD13 0x0
-#define nPD14 0x0
-#define nPD15 0x0
-
-/* PORT E Bit Definitions for the registers
-PORTE, PORTE_SET, PORTE_CLEAR, PORTE_DIR_SET,
-PORTE_DIR_CLEAR, PORTE_INEN, PORTE_FER */
-
-#define nPE0 0x0
-#define nPE1 0x0
-#define nPE2 0x0
-#define nPE3 0x0
-#define nPE4 0x0
-#define nPE5 0x0
-#define nPE6 0x0
-#define nPE7 0x0
-#define nPE8 0x0
-#define nPE9 0x0
-#define nPE10 0x0
-#define nPE11 0x0
-#define nPE12 0x0
-#define nPE13 0x0
-#define nPE14 0x0
-#define nPE15 0x0
-
-/* PORT F Bit Definitions for the registers
-PORTF, PORTF_SET, PORTF_CLEAR, PORTF_DIR_SET,
-PORTF_DIR_CLEAR, PORTF_INEN, PORTF_FER */
-
-#define nPF0 0x0
-#define nPF1 0x0
-#define nPF2 0x0
-#define nPF3 0x0
-#define nPF4 0x0
-#define nPF5 0x0
-#define nPF6 0x0
-#define nPF7 0x0
-#define nPF8 0x0
-#define nPF9 0x0
-#define nPF10 0x0
-#define nPF11 0x0
-#define nPF12 0x0
-#define nPF13 0x0
-#define nPF14 0x0
-#define nPF15 0x0
-
-/* PORT G Bit Definitions for the registers
-PORTG, PORTG_SET, PORTG_CLEAR, PORTG_DIR_SET,
-PORTG_DIR_CLEAR, PORTG_INEN, PORTG_FER */
-#define nPG0 0x0
-#define nPG1 0x0
-#define nPG2 0x0
-#define nPG3 0x0
-#define nPG4 0x0
-#define nPG5 0x0
-#define nPG6 0x0
-#define nPG7 0x0
-#define nPG8 0x0
-#define nPG9 0x0
-#define nPG10 0x0
-#define nPG11 0x0
-#define nPG12 0x0
-#define nPG13 0x0
-#define nPG14 0x0
-#define nPG15 0x0
-
-/* PORT H Bit Definitions for the registers
-PORTH, PORTH_SET, PORTH_CLEAR, PORTH_DIR_SET,
-PORTH_DIR_CLEAR, PORTH_INEN, PORTH_FER */
-#define nPH0 0x0
-#define nPH1 0x0
-#define nPH2 0x0
-#define nPH3 0x0
-#define nPH4 0x0
-#define nPH5 0x0
-#define nPH6 0x0
-#define nPH7 0x0
-#define nPH8 0x0
-#define nPH9 0x0
-#define nPH10 0x0
-#define nPH11 0x0
-#define nPH12 0x0
-#define nPH13 0x0
-#define nPH14 0x0
-#define nPH15 0x0
-
-/* PORT I Bit Definitions for the registers
-PORTI, PORTI_SET, PORTI_CLEAR, PORTI_DIR_SET,
-PORTI_DIR_CLEAR, PORTI_INEN, PORTI_FER */
-#define nPI0 0x0
-#define nPI1 0x0
-#define nPI2 0x0
-#define nPI3 0x0
-#define nPI4 0x0
-#define nPI5 0x0
-#define nPI6 0x0
-#define nPI7 0x0
-#define nPI8 0x0
-#define nPI9 0x0
-#define nPI10 0x0
-#define nPI11 0x0
-#define nPI12 0x0
-#define nPI13 0x0
-#define nPI14 0x0
-#define nPI15 0x0
-
-/* PORT J Bit Definitions for the registers
-PORTJ, PORTJ_SET, PORTJ_CLEAR, PORTJ_DIR_SET,
-PORTJ_DIR_CLEAR, PORTJ_INEN, PORTJ_FER */
-#define nPJ0 0x0
-#define nPJ1 0x0
-#define nPJ2 0x0
-#define nPJ3 0x0
-#define nPJ4 0x0
-#define nPJ5 0x0
-#define nPJ6 0x0
-#define nPJ7 0x0
-#define nPJ8 0x0
-#define nPJ9 0x0
-#define nPJ10 0x0
-#define nPJ11 0x0
-#define nPJ12 0x0
-#define nPJ13 0x0
-#define nPJ14 0x0
-#define nPJ15 0x0
-
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS *************************************/
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-
-/* SIC_IMASKx Masks */
-/* masks are 32 bit wide, so two writes reguired for "64 bit" wide registers */
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-
-/* SIC_IMASKx Macros */
-#ifdef _MISRA_RULES
-#define SIC_MASK(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR Masks */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-
-/* SIC_IWR Macros */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#ifdef _MISRA_RULES
-#define IWR_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-#define PIVG(PNr, IVGNr) ( (IVGNr) - 7) << ( ((PNr)%8) * 4) /* Peripheral #PNr assigned IVG #IVGNr */
-/* Rx.L = lo(PIVG(62,10)); */
-/* Rx.H = hi(PIVG(62,10)); */
-/* PNr = 0 to 95 */
-/* IVGNr = 7 to 15 */
-
-/* SIC_IAR0 Macros */
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros */
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #11 assigned IVG #x */
-#define P12_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros */
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros */
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P25_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #25 assigned IVG #x */
-#define P26_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #26 assigned IVG #x */
-#define P27_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #27 assigned IVG #x */
-#define P28_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #28 assigned IVG #x */
-#define P29_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #31 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P32_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #32 assigned IVG #x */
-#define P33_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #33 assigned IVG #x */
-#define P34_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #34 assigned IVG #x */
-#define P35_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #35 assigned IVG #x */
-#define P36_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #36 assigned IVG #x */
-#define P37_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #37 assigned IVG #x */
-#define P38_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #38 assigned IVG #x */
-#define P39_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #39 assigned IVG #x */
-
-/* SIC_IAR4 Macros */
-#define P40_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #40 assigned IVG #x */
-#define P41_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #41 assigned IVG #x */
-#define P42_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #42 assigned IVG #x */
-#define P43_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #43 assigned IVG #x */
-#define P44_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #44 assigned IVG #x */
-#define P45_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #45 assigned IVG #x */
-#define P46_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #46 assigned IVG #x */
-#define P47_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #47 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P48_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #48 assigned IVG #x */
-#define P49_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #49 assigned IVG #x */
-#define P50_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #50 assigned IVG #x */
-#define P51_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #51 assigned IVG #x */
-#define P52_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #52 assigned IVG #x */
-#define P53_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #53 assigned IVG #x */
-#define P54_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #54 assigned IVG #x */
-#define P55_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #55 assigned IVG #x */
-
-/* SIC_IAR5 Macros */
-#define P56_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #56 assigned IVG #x */
-#define P57_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #57 assigned IVG #x */
-#define P58_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #58 assigned IVG #x */
-#define P59_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #59 assigned IVG #x */
-#define P60_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #60 assigned IVG #x */
-#define P61_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #61 assigned IVG #x */
-#define P62_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #62 assigned IVG #x */
-#define P63_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #63 assigned IVG #x */
-
-/* SIC_IAR6 Macros */
-#define P64_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #64 assigned IVG #x */
-#define P65_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #65 assigned IVG #x */
-#define P66_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #66 assigned IVG #x */
-#define P67_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #67 assigned IVG #x */
-#define P68_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #68 assigned IVG #x */
-#define P69_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #69 assigned IVG #x */
-#define P70_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #70 assigned IVG #x */
-#define P71_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #71 assigned IVG #x */
-
-/* SIC_IAR7 Macros */
-#define P72_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #72 assigned IVG #x */
-#define P73_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #73 assigned IVG #x */
-#define P74_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #74 assigned IVG #x */
-#define P75_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #75 assigned IVG #x */
-#define P76_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #76 assigned IVG #x */
-#define P77_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #77 assigned IVG #x */
-#define P78_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #78 assigned IVG #x */
-#define P79_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #79 assigned IVG #x */
-
-/* SIC_IAR8 Macros */
-#define P80_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #80 assigned IVG #x */
-#define P81_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #81 assigned IVG #x */
-#define P82_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #82 assigned IVG #x */
-#define P83_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #83 assigned IVG #x */
-#define P84_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #84 assigned IVG #x */
-#define P85_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #85 assigned IVG #x */
-#define P86_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #86 assigned IVG #x */
-#define P87_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #87 assigned IVG #x */
-
-/* SIC_IAR9 Macros */
-#define P88_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #88 assigned IVG #x */
-#define P89_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #89 assigned IVG #x */
-#define P90_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #90 assigned IVG #x */
-#define P91_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #91 assigned IVG #x */
-#define P92_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #92 assigned IVG #x */
-#define P93_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #93 assigned IVG #x */
-#define P94_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #94 assigned IVG #x */
-#define P95_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #95 assigned IVG #x */
-
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ****************************/
-
-/* Bit masks for SPIx_CTL */
-#define RDBR_CORE 0x0 /* RDBR Read Initiates, IRQ when RDBR Full */
-#define TDBR_CORE 0x1 /* TDBR Write Initiates, IRQ when TDBR Empty */
-#define RDBR_DMA 0x2 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x3 /* DMA Write, DMA Until FIFO Full */
-
-
-/* ******************** TWO-WIRE INTERFACE (TWI) MASKS ***********************/
-
-/* Bit macros for TWIx_CONTROL */
-#define SET_TWI_PRESCALE(x) ( (x) & PRESCALE )
-#define SET_TWI_DCNT(x) ( ((x) << 0x6) & DCNT )
-
-/* Bit masks for TWIx_INT_MASK */
-#define SCLIM 0x8000 /* Serial Clock Interrupt */
-#define nSCLIM 0x0
-#define SDAIM 0x4000 /* Serial Data Interrupt */
-#define nSDAIM 0x0
-
-/* Bit masks for TWIx_INT_STAT */
-#define SCLI 0x8000 /* Serial Clock Interrupt */
-#define nSCLI 0x0
-#define SDAI 0x4000 /* Serial Data Interrupt */
-#define nSDAI 0x0
-
-/* Bit macros for TWIx_MASTER_ADDR */
-#define SET_TWI_ADDR(x) ( (x) & 0x7F )
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-#ifdef _MISRA_RULES
-#define SET_WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define SET_WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define nWDEV_RESET 0x0
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define nWDEV_NMI 0x0
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define nWDEV_GPI 0x0
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDDIS 0x0AD0 /* disable watchdog */
-
-/* RTC_SWCNT (RTC stopwatch count) Macros */
-#define SET_SWCNT(x) (x)
-
-/* RTC_PREN Register Masks */
-#define ENABLE_PRESCALE PREN /* Enable prescaler so RTC runs at 1 Hz */
-
-/* RTC_ALARM Macro: z=day, y=hr, x=min, w=sec */
-#ifdef _MISRA_RULES
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFFu)<<0x11)|(((y)&0x1Fu)<<0xC)|(((x)&0x3Fu)<<0x6)|((w)&0x3Fu))
-#else
-#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
-#endif /* _MISRA_RULES */
-
-/* ************** UART CONTROLLER MASKS *************************/
-/* Bit masks for UART Divisor Latch Registers: UARTx_DLL & UARTx_DLH */
-#define UARTDLL 0x00FF /* Divisor Latch Low Byte */
-#define UARTDLH 0xFF00 /* Divisor Latch High Byte */
-
-
-/* ******************************************* */
-/* MULTI BIT MACRO ENUMERATIONS */
-/* ******************************************* */
-
-/* CNT_COMMAND bit field options */
-#define nW1LCNT_ZERO 0x0
-#define nW1LCNT_MIN 0x0
-#define nW1LCNT_MAX 0x0
-
-#define nW1LMIN_ZERO 0x0
-#define nW1LMIN_CNT 0x0
-#define nW1LMIN_MAX 0x0
-
-#define nW1LMAX_ZERO 0x0
-#define nW1LMAX_CNT 0x0
-#define nW1LMAX_MIN 0x0
-
-#define W1ZMONCE 0x1000 /* write on to enable single zero marker. clear CNT_COUNT action (W1A/R) */
-#define nW1ZMONCE 0x0
-
-/* Bit macros for CNT_DEBOUNCE */
-#ifdef _MISRA_RULES
-#define SET_DPRESCALE(x) ((x)&0x7u) /* 0000: 1x -> 0111: 128x, 1xxx Reserved */
-#else
-#define SET_DPRESCALE(x) ((x)&0x7) /* 0000: 1x -> 0111: 128x, 1xxx Reserved */
-#endif /* _MISRA_RULES */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define MCMEM MCMEN
-#define nMCMEM 0x0
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF54X_H */
-
diff --git a/libgloss/bfin/include/defBF561.h b/libgloss/bfin/include/defBF561.h
deleted file mode 100644
index 38786b3..0000000
--- a/libgloss/bfin/include/defBF561.h
+++ /dev/null
@@ -1,1865 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defBF561.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 */
-
-#ifndef _DEF_BF561_H
-#define _DEF_BF561_H
-
-#if !defined(__ADSPBF561__)
-#warning defBF561.h should only be included for BF561 chip.
-#endif
-/* include all Core registers and bit definitions */
-#include <def_LPBlackfin.h>
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System MMR Register Map */
-/*********************************************************************************** */
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-
-#define PLL_CTL 0xFFC00000 /* PLL Control register (16-bit) */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register (16-bit) */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register (16-bit) */
-#define PLL_STAT 0xFFC0000C /* PLL Status register (16-bit) */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count register (16-bit) */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-
-/* System Reset and Interrupt Controller registers for core A (0xFFC0 0100-0xFFC0 01FF) */
-#define SICA_SWRST 0xFFC00100 /* Software Reset register */
-#define SICA_SYSCR 0xFFC00104 /* System Reset Configuration register */
-#define SICA_RVECT 0xFFC00108 /* SIC Reset Vector Address Register */
-#define SICA_IMASK 0xFFC0010C /* SIC Interrupt Mask register 0 - hack to fix old tests */
-#define SICA_IMASK0 0xFFC0010C /* SIC Interrupt Mask register 0 */
-#define SICA_IMASK1 0xFFC00110 /* SIC Interrupt Mask register 1 */
-#define SICA_IAR0 0xFFC00124 /* SIC Interrupt Assignment Register 0 */
-#define SICA_IAR1 0xFFC00128 /* SIC Interrupt Assignment Register 1 */
-#define SICA_IAR2 0xFFC0012C /* SIC Interrupt Assignment Register 2 */
-#define SICA_IAR3 0xFFC00130 /* SIC Interrupt Assignment Register 3 */
-#define SICA_IAR4 0xFFC00134 /* SIC Interrupt Assignment Register 4 */
-#define SICA_IAR5 0xFFC00138 /* SIC Interrupt Assignment Register 5 */
-#define SICA_IAR6 0xFFC0013C /* SIC Interrupt Assignment Register 6 */
-#define SICA_IAR7 0xFFC00140 /* SIC Interrupt Assignment Register 7 */
-#define SICA_ISR0 0xFFC00114 /* SIC Interrupt Status register 0 */
-#define SICA_ISR1 0xFFC00118 /* SIC Interrupt Status register 1 */
-#define SICA_IWR0 0xFFC0011C /* SIC Interrupt Wakeup-Enable register 0 */
-#define SICA_IWR1 0xFFC00120 /* SIC Interrupt Wakeup-Enable register 1 */
-
-
-/* System Reset and Interrupt Controller registers for Core B (0xFFC0 1100-0xFFC0 11FF) */
-#define SICB_SWRST 0xFFC01100 /* reserved */
-#define SICB_SYSCR 0xFFC01104 /* reserved */
-#define SICB_RVECT 0xFFC01108 /* SIC Reset Vector Address Register */
-#define SICB_IMASK0 0xFFC0110C /* SIC Interrupt Mask register 0 */
-#define SICB_IMASK1 0xFFC01110 /* SIC Interrupt Mask register 1 */
-#define SICB_IAR0 0xFFC01124 /* SIC Interrupt Assignment Register 0 */
-#define SICB_IAR1 0xFFC01128 /* SIC Interrupt Assignment Register 1 */
-#define SICB_IAR2 0xFFC0112C /* SIC Interrupt Assignment Register 2 */
-#define SICB_IAR3 0xFFC01130 /* SIC Interrupt Assignment Register 3 */
-#define SICB_IAR4 0xFFC01134 /* SIC Interrupt Assignment Register 4 */
-#define SICB_IAR5 0xFFC01138 /* SIC Interrupt Assignment Register 5 */
-#define SICB_IAR6 0xFFC0113C /* SIC Interrupt Assignment Register 6 */
-#define SICB_IAR7 0xFFC01140 /* SIC Interrupt Assignment Register 7 */
-#define SICB_ISR0 0xFFC01114 /* SIC Interrupt Status register 0 */
-#define SICB_ISR1 0xFFC01118 /* SIC Interrupt Status register 1 */
-#define SICB_IWR0 0xFFC0111C /* SIC Interrupt Wakeup-Enable register 0 */
-#define SICB_IWR1 0xFFC01120 /* SIC Interrupt Wakeup-Enable register 1 */
-
-
-/* Watchdog Timer registers for Core A (0xFFC0 0200-0xFFC0 02FF) */
-#define WDOGA_CTL 0xFFC00200 /* Watchdog Control register */
-#define WDOGA_CNT 0xFFC00204 /* Watchdog Count register */
-#define WDOGA_STAT 0xFFC00208 /* Watchdog Status register */
-
-
-/* Watchdog Timer registers for Core B (0xFFC0 1200-0xFFC0 12FF) */
-#define WDOGB_CTL 0xFFC01200 /* Watchdog Control register */
-#define WDOGB_CNT 0xFFC01204 /* Watchdog Count register */
-#define WDOGB_STAT 0xFFC01208 /* Watchdog Status register */
-
-
-/* UART Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART_THR 0xFFC00400 /* Transmit Holding register */
-#define UART_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART_LCR 0xFFC0040C /* Line Control Register */
-#define UART_MCR 0xFFC00410 /* Modem Control Register */
-#define UART_LSR 0xFFC00414 /* Line Status Register */
-#define UART_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI_CTL 0xFFC00500 /* SPI Control Register */
-#define SPI_FLG 0xFFC00504 /* SPI Flag register */
-#define SPI_STAT 0xFFC00508 /* SPI Status register */
-#define SPI_TDBR 0xFFC0050C /* SPI Transmit Data Buffer Register */
-#define SPI_RDBR 0xFFC00510 /* SPI Receive Data Buffer Register */
-#define SPI_BAUD 0xFFC00514 /* SPI Baud rate Register */
-#define SPI_SHADOW 0xFFC00518 /* SPI_RDBR Shadow Register */
-
-
-/* Timer 0-7 registers (0xFFC0 0600-0xFFC0 06FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer0 Configuration register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer0 Counter register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer0 Period register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer0 Width register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer1 Configuration register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer1 Counter register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer1 Period register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer1 Width register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer2 Configuration register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer2 Counter register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer2 Period register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer2 Width register */
-
-#define TIMER3_CONFIG 0xFFC00630 /* Timer3 Configuration register */
-#define TIMER3_COUNTER 0xFFC00634 /* Timer3 Counter register */
-#define TIMER3_PERIOD 0xFFC00638 /* Timer3 Period register */
-#define TIMER3_WIDTH 0xFFC0063C /* Timer3 Width register */
-
-#define TIMER4_CONFIG 0xFFC00640 /* Timer4 Configuration register */
-#define TIMER4_COUNTER 0xFFC00644 /* Timer4 Counter register */
-#define TIMER4_PERIOD 0xFFC00648 /* Timer4 Period register */
-#define TIMER4_WIDTH 0xFFC0064C /* Timer4 Width register */
-
-#define TIMER5_CONFIG 0xFFC00650 /* Timer5 Configuration register */
-#define TIMER5_COUNTER 0xFFC00654 /* Timer5 Counter register */
-#define TIMER5_PERIOD 0xFFC00658 /* Timer5 Period register */
-#define TIMER5_WIDTH 0xFFC0065C /* Timer5 Width register */
-
-#define TIMER6_CONFIG 0xFFC00660 /* Timer6 Configuration register */
-#define TIMER6_COUNTER 0xFFC00664 /* Timer6 Counter register */
-#define TIMER6_PERIOD 0xFFC00668 /* Timer6 Period register */
-#define TIMER6_WIDTH 0xFFC0066C /* Timer6 Width register */
-
-#define TIMER7_CONFIG 0xFFC00670 /* Timer7 Configuration register */
-#define TIMER7_COUNTER 0xFFC00674 /* Timer7 Counter register */
-#define TIMER7_PERIOD 0xFFC00678 /* Timer7 Period register */
-#define TIMER7_WIDTH 0xFFC0067C /* Timer7 Width register */
-
-#define TMRS8_ENABLE 0xFFC00680 /* Timer Enable Register */
-#define TMRS8_DISABLE 0xFFC00684 /* Timer Disable register */
-#define TMRS8_STATUS 0xFFC00688 /* Timer Status register */
-
-
-/* Timer registers 8-11 (0xFFC0 1600-0xFFC0 16FF) */
-#define TIMER8_CONFIG 0xFFC01600 /* Timer8 Configuration register */
-#define TIMER8_COUNTER 0xFFC01604 /* Timer8 Counter register */
-#define TIMER8_PERIOD 0xFFC01608 /* Timer8 Period register */
-#define TIMER8_WIDTH 0xFFC0160C /* Timer8 Width register */
-
-#define TIMER9_CONFIG 0xFFC01610 /* Timer9 Configuration register */
-#define TIMER9_COUNTER 0xFFC01614 /* Timer9 Counter register */
-#define TIMER9_PERIOD 0xFFC01618 /* Timer9 Period register */
-#define TIMER9_WIDTH 0xFFC0161C /* Timer9 Width register */
-
-#define TIMER10_CONFIG 0xFFC01620 /* Timer10 Configuration register */
-#define TIMER10_COUNTER 0xFFC01624 /* Timer10 Counter register */
-#define TIMER10_PERIOD 0xFFC01628 /* Timer10 Period register */
-#define TIMER10_WIDTH 0xFFC0162C /* Timer10 Width register */
-
-#define TIMER11_CONFIG 0xFFC01630 /* Timer11 Configuration register */
-#define TIMER11_COUNTER 0xFFC01634 /* Timer11 Counter register */
-#define TIMER11_PERIOD 0xFFC01638 /* Timer11 Period register */
-#define TIMER11_WIDTH 0xFFC0163C /* Timer11 Width register */
-
-#define TMRS4_ENABLE 0xFFC01640 /* Timer Enable Register */
-#define TMRS4_DISABLE 0xFFC01644 /* Timer Disable register */
-#define TMRS4_STATUS 0xFFC01648 /* Timer Status register */
-
-
-/* Programmable Flag 0 registers (0xFFC0 0700-0xFFC0 07FF) */
-#define FIO0_FLAG_D 0xFFC00700 /* Flag Data register */
-#define FIO0_FLAG_C 0xFFC00704 /* Flag Clear register */
-#define FIO0_FLAG_S 0xFFC00708 /* Flag Set register */
-#define FIO0_FLAG_T 0xFFC0070C /* Flag Toggle register */
-#define FIO0_MASKA_D 0xFFC00710 /* Flag Mask Interrupt A Data register */
-#define FIO0_MASKA_C 0xFFC00714 /* Flag Mask Interrupt A Clear register */
-#define FIO0_MASKA_S 0xFFC00718 /* Flag Mask Interrupt A Set register */
-#define FIO0_MASKA_T 0xFFC0071C /* Flag Mask Interrupt A Toggle register */
-#define FIO0_MASKB_D 0xFFC00720 /* Flag Mask Interrupt B Data register */
-#define FIO0_MASKB_C 0xFFC00724 /* Flag Mask Interrupt B Clear register */
-#define FIO0_MASKB_S 0xFFC00728 /* Flag Mask Interrupt B Set register */
-#define FIO0_MASKB_T 0xFFC0072C /* Flag Mask Interrupt B Toggle register */
-#define FIO0_DIR 0xFFC00730 /* Flag Direction register */
-#define FIO0_POLAR 0xFFC00734 /* Flag Polarity register */
-#define FIO0_EDGE 0xFFC00738 /* Flag Interrupt Sensitivity register */
-#define FIO0_BOTH 0xFFC0073C /* Flag Set on Both Edges register */
-#define FIO0_INEN 0xFFC00740 /* Flag Input Enable register */
-
-
-/* Programmable Flag 1 registers (0xFFC0 1500-0xFFC0 15FF) */
-#define FIO1_FLAG_D 0xFFC01500 /* Flag Data register (mask used to directly */
-#define FIO1_FLAG_C 0xFFC01504 /* Flag Clear register */
-#define FIO1_FLAG_S 0xFFC01508 /* Flag Set register */
-#define FIO1_FLAG_T 0xFFC0150C /* Flag Toggle register (mask used to */
-#define FIO1_MASKA_D 0xFFC01510 /* Flag Mask Interrupt A Data register */
-#define FIO1_MASKA_C 0xFFC01514 /* Flag Mask Interrupt A Clear register */
-#define FIO1_MASKA_S 0xFFC01518 /* Flag Mask Interrupt A Set register */
-#define FIO1_MASKA_T 0xFFC0151C /* Flag Mask Interrupt A Toggle register */
-#define FIO1_MASKB_D 0xFFC01520 /* Flag Mask Interrupt B Data register */
-#define FIO1_MASKB_C 0xFFC01524 /* Flag Mask Interrupt B Clear register */
-#define FIO1_MASKB_S 0xFFC01528 /* Flag Mask Interrupt B Set register */
-#define FIO1_MASKB_T 0xFFC0152C /* Flag Mask Interrupt B Toggle register */
-#define FIO1_DIR 0xFFC01530 /* Flag Direction register */
-#define FIO1_POLAR 0xFFC01534 /* Flag Polarity register */
-#define FIO1_EDGE 0xFFC01538 /* Flag Interrupt Sensitivity register */
-#define FIO1_BOTH 0xFFC0153C /* Flag Set on Both Edges register */
-#define FIO1_INEN 0xFFC01540 /* Flag Input Enable register */
-
-
-/* Programmable Flag registers (0xFFC0 1700-0xFFC0 17FF) */
-#define FIO2_FLAG_D 0xFFC01700 /* Flag Data register (mask used to directly */
-#define FIO2_FLAG_C 0xFFC01704 /* Flag Clear register */
-#define FIO2_FLAG_S 0xFFC01708 /* Flag Set register */
-#define FIO2_FLAG_T 0xFFC0170C /* Flag Toggle register (mask used to */
-#define FIO2_MASKA_D 0xFFC01710 /* Flag Mask Interrupt A Data register */
-#define FIO2_MASKA_C 0xFFC01714 /* Flag Mask Interrupt A Clear register */
-#define FIO2_MASKA_S 0xFFC01718 /* Flag Mask Interrupt A Set register */
-#define FIO2_MASKA_T 0xFFC0171C /* Flag Mask Interrupt A Toggle register */
-#define FIO2_MASKB_D 0xFFC01720 /* Flag Mask Interrupt B Data register */
-#define FIO2_MASKB_C 0xFFC01724 /* Flag Mask Interrupt B Clear register */
-#define FIO2_MASKB_S 0xFFC01728 /* Flag Mask Interrupt B Set register */
-#define FIO2_MASKB_T 0xFFC0172C /* Flag Mask Interrupt B Toggle register */
-#define FIO2_DIR 0xFFC01730 /* Flag Direction register */
-#define FIO2_POLAR 0xFFC01734 /* Flag Polarity register */
-#define FIO2_EDGE 0xFFC01738 /* Flag Interrupt Sensitivity register */
-#define FIO2_BOTH 0xFFC0173C /* Flag Set on Both Edges register */
-#define FIO2_INEN 0xFFC01740 /* Flag Input Enable register */
-
-
-/*// SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/*// SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-
-/* Asynchronous Memory Controller - External Bus Interface Unit */
-#define EBIU_AMGCTL 0xFFC00A00 /* Asynchronous Memory Global Control Register */
-#define EBIU_AMBCTL0 0xFFC00A04 /* Asynchronous Memory Bank Control Register 0 */
-#define EBIU_AMBCTL1 0xFFC00A08 /* Asynchronous Memory Bank Control Register 1 */
-
-
-/* SDRAM Controller External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
-#define EBIU_SDGCTL 0xFFC00A10 /* SDRAM Global Control Register */
-#define EBIU_SDBCTL 0xFFC00A14 /* SDRAM Bank Control Register */
-#define EBIU_SDRRC 0xFFC00A18 /* SDRAM Refresh Rate Control Register */
-#define EBIU_SDSTAT 0xFFC00A1C /* SDRAM Status Register */
-
-
-/* Parallel Peripheral Interface (PPI) 0 registers (0xFFC0 1000-0xFFC0 10FF) */
-#define PPI0_CONTROL 0xFFC01000 /* PPI0 Control register */
-#define PPI0_STATUS 0xFFC01004 /* PPI0 Status register */
-#define PPI0_COUNT 0xFFC01008 /* PPI0 Transfer Count register */
-#define PPI0_DELAY 0xFFC0100C /* PPI0 Delay Count register */
-#define PPI0_FRAME 0xFFC01010 /* PPI0 Frame Length register */
-
-
-/*Parallel Peripheral Interface (PPI) 1 registers (0xFFC0 1300-0xFFC0 13FF) */
-#define PPI1_CONTROL 0xFFC01300 /* PPI1 Control register */
-#define PPI1_STATUS 0xFFC01304 /* PPI1 Status register */
-#define PPI1_COUNT 0xFFC01308 /* PPI1 Transfer Count register */
-#define PPI1_DELAY 0xFFC0130C /* PPI1 Delay Count register */
-#define PPI1_FRAME 0xFFC01310 /* PPI1 Frame Length register */
-
-
-/*DMA traffic control registers */
-#define DMA1_TC_PER 0xFFC01B0C /* Traffic control periods */
-#define DMA1_TC_CNT 0xFFC01B10 /* Traffic control current counts */
-#define DMA2_TC_PER 0xFFC00B0C /* Traffic control periods */
-#define DMA2_TC_CNT 0xFFC00B10 /* Traffic control current counts */
-
-
-/* DMA1 Controller registers (0xFFC0 1C00-0xFFC0 1FFF) */
-#define DMA1_0_CONFIG 0xFFC01C08 /* DMA1 Channel 0 Configuration register */
-#define DMA1_0_NEXT_DESC_PTR 0xFFC01C00 /* DMA1 Channel 0 Next Descripter Ptr Reg */
-#define DMA1_0_START_ADDR 0xFFC01C04 /* DMA1 Channel 0 Start Address */
-#define DMA1_0_X_COUNT 0xFFC01C10 /* DMA1 Channel 0 Inner Loop Count */
-#define DMA1_0_Y_COUNT 0xFFC01C18 /* DMA1 Channel 0 Outer Loop Count */
-#define DMA1_0_X_MODIFY 0xFFC01C14 /* DMA1 Channel 0 Inner Loop Addr Increment */
-#define DMA1_0_Y_MODIFY 0xFFC01C1C /* DMA1 Channel 0 Outer Loop Addr Increment */
-#define DMA1_0_CURR_DESC_PTR 0xFFC01C20 /* DMA1 Channel 0 Current Descriptor Pointer */
-#define DMA1_0_CURR_ADDR 0xFFC01C24 /* DMA1 Channel 0 Current Address Pointer */
-#define DMA1_0_CURR_X_COUNT 0xFFC01C30 /* DMA1 Channel 0 Current Inner Loop Count */
-#define DMA1_0_CURR_Y_COUNT 0xFFC01C38 /* DMA1 Channel 0 Current Outer Loop Count */
-#define DMA1_0_IRQ_STATUS 0xFFC01C28 /* DMA1 Channel 0 Interrupt/Status Register */
-#define DMA1_0_PERIPHERAL_MAP 0xFFC01C2C /* DMA1 Channel 0 Peripheral Map Register */
-
-#define DMA1_1_CONFIG 0xFFC01C48 /* DMA1 Channel 1 Configuration register */
-#define DMA1_1_NEXT_DESC_PTR 0xFFC01C40 /* DMA1 Channel 1 Next Descripter Ptr Reg */
-#define DMA1_1_START_ADDR 0xFFC01C44 /* DMA1 Channel 1 Start Address */
-#define DMA1_1_X_COUNT 0xFFC01C50 /* DMA1 Channel 1 Inner Loop Count */
-#define DMA1_1_Y_COUNT 0xFFC01C58 /* DMA1 Channel 1 Outer Loop Count */
-#define DMA1_1_X_MODIFY 0xFFC01C54 /* DMA1 Channel 1 Inner Loop Addr Increment */
-#define DMA1_1_Y_MODIFY 0xFFC01C5C /* DMA1 Channel 1 Outer Loop Addr Increment */
-#define DMA1_1_CURR_DESC_PTR 0xFFC01C60 /* DMA1 Channel 1 Current Descriptor Pointer */
-#define DMA1_1_CURR_ADDR 0xFFC01C64 /* DMA1 Channel 1 Current Address Pointer */
-#define DMA1_1_CURR_X_COUNT 0xFFC01C70 /* DMA1 Channel 1 Current Inner Loop Count */
-#define DMA1_1_CURR_Y_COUNT 0xFFC01C78 /* DMA1 Channel 1 Current Outer Loop Count */
-#define DMA1_1_IRQ_STATUS 0xFFC01C68 /* DMA1 Channel 1 Interrupt/Status Register */
-#define DMA1_1_PERIPHERAL_MAP 0xFFC01C6C /* DMA1 Channel 1 Peripheral Map Register */
-
-#define DMA1_2_CONFIG 0xFFC01C88 /* DMA1 Channel 2 Configuration register */
-#define DMA1_2_NEXT_DESC_PTR 0xFFC01C80 /* DMA1 Channel 2 Next Descripter Ptr Reg */
-#define DMA1_2_START_ADDR 0xFFC01C84 /* DMA1 Channel 2 Start Address */
-#define DMA1_2_X_COUNT 0xFFC01C90 /* DMA1 Channel 2 Inner Loop Count */
-#define DMA1_2_Y_COUNT 0xFFC01C98 /* DMA1 Channel 2 Outer Loop Count */
-#define DMA1_2_X_MODIFY 0xFFC01C94 /* DMA1 Channel 2 Inner Loop Addr Increment */
-#define DMA1_2_Y_MODIFY 0xFFC01C9C /* DMA1 Channel 2 Outer Loop Addr Increment */
-#define DMA1_2_CURR_DESC_PTR 0xFFC01CA0 /* DMA1 Channel 2 Current Descriptor Pointer */
-#define DMA1_2_CURR_ADDR 0xFFC01CA4 /* DMA1 Channel 2 Current Address Pointer */
-#define DMA1_2_CURR_X_COUNT 0xFFC01CB0 /* DMA1 Channel 2 Current Inner Loop Count */
-#define DMA1_2_CURR_Y_COUNT 0xFFC01CB8 /* DMA1 Channel 2 Current Outer Loop Count */
-#define DMA1_2_IRQ_STATUS 0xFFC01CA8 /* DMA1 Channel 2 Interrupt/Status Register */
-#define DMA1_2_PERIPHERAL_MAP 0xFFC01CAC /* DMA1 Channel 2 Peripheral Map Register */
-
-#define DMA1_3_CONFIG 0xFFC01CC8 /* DMA1 Channel 3 Configuration register */
-#define DMA1_3_NEXT_DESC_PTR 0xFFC01CC0 /* DMA1 Channel 3 Next Descripter Ptr Reg */
-#define DMA1_3_START_ADDR 0xFFC01CC4 /* DMA1 Channel 3 Start Address */
-#define DMA1_3_X_COUNT 0xFFC01CD0 /* DMA1 Channel 3 Inner Loop Count */
-#define DMA1_3_Y_COUNT 0xFFC01CD8 /* DMA1 Channel 3 Outer Loop Count */
-#define DMA1_3_X_MODIFY 0xFFC01CD4 /* DMA1 Channel 3 Inner Loop Addr Increment */
-#define DMA1_3_Y_MODIFY 0xFFC01CDC /* DMA1 Channel 3 Outer Loop Addr Increment */
-#define DMA1_3_CURR_DESC_PTR 0xFFC01CE0 /* DMA1 Channel 3 Current Descriptor Pointer */
-#define DMA1_3_CURR_ADDR 0xFFC01CE4 /* DMA1 Channel 3 Current Address Pointer */
-#define DMA1_3_CURR_X_COUNT 0xFFC01CF0 /* DMA1 Channel 3 Current Inner Loop Count */
-#define DMA1_3_CURR_Y_COUNT 0xFFC01CF8 /* DMA1 Channel 3 Current Outer Loop Count */
-#define DMA1_3_IRQ_STATUS 0xFFC01CE8 /* DMA1 Channel 3 Interrupt/Status Register */
-#define DMA1_3_PERIPHERAL_MAP 0xFFC01CEC /* DMA1 Channel 3 Peripheral Map Register */
-
-#define DMA1_4_CONFIG 0xFFC01D08 /* DMA1 Channel 4 Configuration register */
-#define DMA1_4_NEXT_DESC_PTR 0xFFC01D00 /* DMA1 Channel 4 Next Descripter Ptr Reg */
-#define DMA1_4_START_ADDR 0xFFC01D04 /* DMA1 Channel 4 Start Address */
-#define DMA1_4_X_COUNT 0xFFC01D10 /* DMA1 Channel 4 Inner Loop Count */
-#define DMA1_4_Y_COUNT 0xFFC01D18 /* DMA1 Channel 4 Outer Loop Count */
-#define DMA1_4_X_MODIFY 0xFFC01D14 /* DMA1 Channel 4 Inner Loop Addr Increment */
-#define DMA1_4_Y_MODIFY 0xFFC01D1C /* DMA1 Channel 4 Outer Loop Addr Increment */
-#define DMA1_4_CURR_DESC_PTR 0xFFC01D20 /* DMA1 Channel 4 Current Descriptor Pointer */
-#define DMA1_4_CURR_ADDR 0xFFC01D24 /* DMA1 Channel 4 Current Address Pointer */
-#define DMA1_4_CURR_X_COUNT 0xFFC01D30 /* DMA1 Channel 4 Current Inner Loop Count */
-#define DMA1_4_CURR_Y_COUNT 0xFFC01D38 /* DMA1 Channel 4 Current Outer Loop Count */
-#define DMA1_4_IRQ_STATUS 0xFFC01D28 /* DMA1 Channel 4 Interrupt/Status Register */
-#define DMA1_4_PERIPHERAL_MAP 0xFFC01D2C /* DMA1 Channel 4 Peripheral Map Register */
-
-#define DMA1_5_CONFIG 0xFFC01D48 /* DMA1 Channel 5 Configuration register */
-#define DMA1_5_NEXT_DESC_PTR 0xFFC01D40 /* DMA1 Channel 5 Next Descripter Ptr Reg */
-#define DMA1_5_START_ADDR 0xFFC01D44 /* DMA1 Channel 5 Start Address */
-#define DMA1_5_X_COUNT 0xFFC01D50 /* DMA1 Channel 5 Inner Loop Count */
-#define DMA1_5_Y_COUNT 0xFFC01D58 /* DMA1 Channel 5 Outer Loop Count */
-#define DMA1_5_X_MODIFY 0xFFC01D54 /* DMA1 Channel 5 Inner Loop Addr Increment */
-#define DMA1_5_Y_MODIFY 0xFFC01D5C /* DMA1 Channel 5 Outer Loop Addr Increment */
-#define DMA1_5_CURR_DESC_PTR 0xFFC01D60 /* DMA1 Channel 5 Current Descriptor Pointer */
-#define DMA1_5_CURR_ADDR 0xFFC01D64 /* DMA1 Channel 5 Current Address Pointer */
-#define DMA1_5_CURR_X_COUNT 0xFFC01D70 /* DMA1 Channel 5 Current Inner Loop Count */
-#define DMA1_5_CURR_Y_COUNT 0xFFC01D78 /* DMA1 Channel 5 Current Outer Loop Count */
-#define DMA1_5_IRQ_STATUS 0xFFC01D68 /* DMA1 Channel 5 Interrupt/Status Register */
-#define DMA1_5_PERIPHERAL_MAP 0xFFC01D6C /* DMA1 Channel 5 Peripheral Map Register */
-
-#define DMA1_6_CONFIG 0xFFC01D88 /* DMA1 Channel 6 Configuration register */
-#define DMA1_6_NEXT_DESC_PTR 0xFFC01D80 /* DMA1 Channel 6 Next Descripter Ptr Reg */
-#define DMA1_6_START_ADDR 0xFFC01D84 /* DMA1 Channel 6 Start Address */
-#define DMA1_6_X_COUNT 0xFFC01D90 /* DMA1 Channel 6 Inner Loop Count */
-#define DMA1_6_Y_COUNT 0xFFC01D98 /* DMA1 Channel 6 Outer Loop Count */
-#define DMA1_6_X_MODIFY 0xFFC01D94 /* DMA1 Channel 6 Inner Loop Addr Increment */
-#define DMA1_6_Y_MODIFY 0xFFC01D9C /* DMA1 Channel 6 Outer Loop Addr Increment */
-#define DMA1_6_CURR_DESC_PTR 0xFFC01DA0 /* DMA1 Channel 6 Current Descriptor Pointer */
-#define DMA1_6_CURR_ADDR 0xFFC01DA4 /* DMA1 Channel 6 Current Address Pointer */
-#define DMA1_6_CURR_X_COUNT 0xFFC01DB0 /* DMA1 Channel 6 Current Inner Loop Count */
-#define DMA1_6_CURR_Y_COUNT 0xFFC01DB8 /* DMA1 Channel 6 Current Outer Loop Count */
-#define DMA1_6_IRQ_STATUS 0xFFC01DA8 /* DMA1 Channel 6 Interrupt/Status Register */
-#define DMA1_6_PERIPHERAL_MAP 0xFFC01DAC /* DMA1 Channel 6 Peripheral Map Register */
-
-#define DMA1_7_CONFIG 0xFFC01DC8 /* DMA1 Channel 7 Configuration register */
-#define DMA1_7_NEXT_DESC_PTR 0xFFC01DC0 /* DMA1 Channel 7 Next Descripter Ptr Reg */
-#define DMA1_7_START_ADDR 0xFFC01DC4 /* DMA1 Channel 7 Start Address */
-#define DMA1_7_X_COUNT 0xFFC01DD0 /* DMA1 Channel 7 Inner Loop Count */
-#define DMA1_7_Y_COUNT 0xFFC01DD8 /* DMA1 Channel 7 Outer Loop Count */
-#define DMA1_7_X_MODIFY 0xFFC01DD4 /* DMA1 Channel 7 Inner Loop Addr Increment */
-#define DMA1_7_Y_MODIFY 0xFFC01DDC /* DMA1 Channel 7 Outer Loop Addr Increment */
-#define DMA1_7_CURR_DESC_PTR 0xFFC01DE0 /* DMA1 Channel 7 Current Descriptor Pointer */
-#define DMA1_7_CURR_ADDR 0xFFC01DE4 /* DMA1 Channel 7 Current Address Pointer */
-#define DMA1_7_CURR_X_COUNT 0xFFC01DF0 /* DMA1 Channel 7 Current Inner Loop Count */
-#define DMA1_7_CURR_Y_COUNT 0xFFC01DF8 /* DMA1 Channel 7 Current Outer Loop Count */
-#define DMA1_7_IRQ_STATUS 0xFFC01DE8 /* DMA1 Channel 7 Interrupt/Status Register */
-#define DMA1_7_PERIPHERAL_MAP 0xFFC01DEC /* DMA1 Channel 7 Peripheral Map Register */
-
-#define DMA1_8_CONFIG 0xFFC01E08 /* DMA1 Channel 8 Configuration register */
-#define DMA1_8_NEXT_DESC_PTR 0xFFC01E00 /* DMA1 Channel 8 Next Descripter Ptr Reg */
-#define DMA1_8_START_ADDR 0xFFC01E04 /* DMA1 Channel 8 Start Address */
-#define DMA1_8_X_COUNT 0xFFC01E10 /* DMA1 Channel 8 Inner Loop Count */
-#define DMA1_8_Y_COUNT 0xFFC01E18 /* DMA1 Channel 8 Outer Loop Count */
-#define DMA1_8_X_MODIFY 0xFFC01E14 /* DMA1 Channel 8 Inner Loop Addr Increment */
-#define DMA1_8_Y_MODIFY 0xFFC01E1C /* DMA1 Channel 8 Outer Loop Addr Increment */
-#define DMA1_8_CURR_DESC_PTR 0xFFC01E20 /* DMA1 Channel 8 Current Descriptor Pointer */
-#define DMA1_8_CURR_ADDR 0xFFC01E24 /* DMA1 Channel 8 Current Address Pointer */
-#define DMA1_8_CURR_X_COUNT 0xFFC01E30 /* DMA1 Channel 8 Current Inner Loop Count */
-#define DMA1_8_CURR_Y_COUNT 0xFFC01E38 /* DMA1 Channel 8 Current Outer Loop Count */
-#define DMA1_8_IRQ_STATUS 0xFFC01E28 /* DMA1 Channel 8 Interrupt/Status Register */
-#define DMA1_8_PERIPHERAL_MAP 0xFFC01E2C /* DMA1 Channel 8 Peripheral Map Register */
-
-#define DMA1_9_CONFIG 0xFFC01E48 /* DMA1 Channel 9 Configuration register */
-#define DMA1_9_NEXT_DESC_PTR 0xFFC01E40 /* DMA1 Channel 9 Next Descripter Ptr Reg */
-#define DMA1_9_START_ADDR 0xFFC01E44 /* DMA1 Channel 9 Start Address */
-#define DMA1_9_X_COUNT 0xFFC01E50 /* DMA1 Channel 9 Inner Loop Count */
-#define DMA1_9_Y_COUNT 0xFFC01E58 /* DMA1 Channel 9 Outer Loop Count */
-#define DMA1_9_X_MODIFY 0xFFC01E54 /* DMA1 Channel 9 Inner Loop Addr Increment */
-#define DMA1_9_Y_MODIFY 0xFFC01E5C /* DMA1 Channel 9 Outer Loop Addr Increment */
-#define DMA1_9_CURR_DESC_PTR 0xFFC01E60 /* DMA1 Channel 9 Current Descriptor Pointer */
-#define DMA1_9_CURR_ADDR 0xFFC01E64 /* DMA1 Channel 9 Current Address Pointer */
-#define DMA1_9_CURR_X_COUNT 0xFFC01E70 /* DMA1 Channel 9 Current Inner Loop Count */
-#define DMA1_9_CURR_Y_COUNT 0xFFC01E78 /* DMA1 Channel 9 Current Outer Loop Count */
-#define DMA1_9_IRQ_STATUS 0xFFC01E68 /* DMA1 Channel 9 Interrupt/Status Register */
-#define DMA1_9_PERIPHERAL_MAP 0xFFC01E6C /* DMA1 Channel 9 Peripheral Map Register */
-
-#define DMA1_10_CONFIG 0xFFC01E88 /* DMA1 Channel 10 Configuration register */
-#define DMA1_10_NEXT_DESC_PTR 0xFFC01E80 /* DMA1 Channel 10 Next Descripter Ptr Reg */
-#define DMA1_10_START_ADDR 0xFFC01E84 /* DMA1 Channel 10 Start Address */
-#define DMA1_10_X_COUNT 0xFFC01E90 /* DMA1 Channel 10 Inner Loop Count */
-#define DMA1_10_Y_COUNT 0xFFC01E98 /* DMA1 Channel 10 Outer Loop Count */
-#define DMA1_10_X_MODIFY 0xFFC01E94 /* DMA1 Channel 10 Inner Loop Addr Increment */
-#define DMA1_10_Y_MODIFY 0xFFC01E9C /* DMA1 Channel 10 Outer Loop Addr Increment */
-#define DMA1_10_CURR_DESC_PTR 0xFFC01EA0 /* DMA1 Channel 10 Current Descriptor Pointer */
-#define DMA1_10_CURR_ADDR 0xFFC01EA4 /* DMA1 Channel 10 Current Address Pointer */
-#define DMA1_10_CURR_X_COUNT 0xFFC01EB0 /* DMA1 Channel 10 Current Inner Loop Count */
-#define DMA1_10_CURR_Y_COUNT 0xFFC01EB8 /* DMA1 Channel 10 Current Outer Loop Count */
-#define DMA1_10_IRQ_STATUS 0xFFC01EA8 /* DMA1 Channel 10 Interrupt/Status Register */
-#define DMA1_10_PERIPHERAL_MAP 0xFFC01EAC /* DMA1 Channel 10 Peripheral Map Register */
-
-#define DMA1_11_CONFIG 0xFFC01EC8 /* DMA1 Channel 11 Configuration register */
-#define DMA1_11_NEXT_DESC_PTR 0xFFC01EC0 /* DMA1 Channel 11 Next Descripter Ptr Reg */
-#define DMA1_11_START_ADDR 0xFFC01EC4 /* DMA1 Channel 11 Start Address */
-#define DMA1_11_X_COUNT 0xFFC01ED0 /* DMA1 Channel 11 Inner Loop Count */
-#define DMA1_11_Y_COUNT 0xFFC01ED8 /* DMA1 Channel 11 Outer Loop Count */
-#define DMA1_11_X_MODIFY 0xFFC01ED4 /* DMA1 Channel 11 Inner Loop Addr Increment */
-#define DMA1_11_Y_MODIFY 0xFFC01EDC /* DMA1 Channel 11 Outer Loop Addr Increment */
-#define DMA1_11_CURR_DESC_PTR 0xFFC01EE0 /* DMA1 Channel 11 Current Descriptor Pointer */
-#define DMA1_11_CURR_ADDR 0xFFC01EE4 /* DMA1 Channel 11 Current Address Pointer */
-#define DMA1_11_CURR_X_COUNT 0xFFC01EF0 /* DMA1 Channel 11 Current Inner Loop Count */
-#define DMA1_11_CURR_Y_COUNT 0xFFC01EF8 /* DMA1 Channel 11 Current Outer Loop Count */
-#define DMA1_11_IRQ_STATUS 0xFFC01EE8 /* DMA1 Channel 11 Interrupt/Status Register */
-#define DMA1_11_PERIPHERAL_MAP 0xFFC01EEC /* DMA1 Channel 11 Peripheral Map Register */
-
-/* Memory DMA1 Controller registers (0xFFC0 1E80-0xFFC0 1FFF) */
-#define MDMA1_D0_CONFIG 0xFFC01F08 /*MemDMA1 Stream 0 Destination Configuration */
-#define MDMA1_D0_NEXT_DESC_PTR 0xFFC01F00 /*MemDMA1 Stream 0 Destination Next Descriptor Ptr Reg */
-#define MDMA1_D0_START_ADDR 0xFFC01F04 /*MemDMA1 Stream 0 Destination Start Address */
-#define MDMA1_D0_X_COUNT 0xFFC01F10 /*MemDMA1 Stream 0 Destination Inner-Loop Count */
-#define MDMA1_D0_Y_COUNT 0xFFC01F18 /*MemDMA1 Stream 0 Destination Outer-Loop Count */
-#define MDMA1_D0_X_MODIFY 0xFFC01F14 /*MemDMA1 Stream 0 Dest Inner-Loop Address-Increment */
-#define MDMA1_D0_Y_MODIFY 0xFFC01F1C /*MemDMA1 Stream 0 Dest Outer-Loop Address-Increment */
-#define MDMA1_D0_CURR_DESC_PTR 0xFFC01F20 /*MemDMA1 Stream 0 Dest Current Descriptor Ptr reg */
-#define MDMA1_D0_CURR_ADDR 0xFFC01F24 /*MemDMA1 Stream 0 Destination Current Address */
-#define MDMA1_D0_CURR_X_COUNT 0xFFC01F30 /*MemDMA1 Stream 0 Dest Current Inner-Loop Count */
-#define MDMA1_D0_CURR_Y_COUNT 0xFFC01F38 /*MemDMA1 Stream 0 Dest Current Outer-Loop Count */
-#define MDMA1_D0_IRQ_STATUS 0xFFC01F28 /*MemDMA1 Stream 0 Destination Interrupt/Status */
-#define MDMA1_D0_PERIPHERAL_MAP 0xFFC01F2C /*MemDMA1 Stream 0 Destination Peripheral Map */
-
-#define MDMA1_S0_CONFIG 0xFFC01F48 /*MemDMA1 Stream 0 Source Configuration */
-#define MDMA1_S0_NEXT_DESC_PTR 0xFFC01F40 /*MemDMA1 Stream 0 Source Next Descriptor Ptr Reg */
-#define MDMA1_S0_START_ADDR 0xFFC01F44 /*MemDMA1 Stream 0 Source Start Address */
-#define MDMA1_S0_X_COUNT 0xFFC01F50 /*MemDMA1 Stream 0 Source Inner-Loop Count */
-#define MDMA1_S0_Y_COUNT 0xFFC01F58 /*MemDMA1 Stream 0 Source Outer-Loop Count */
-#define MDMA1_S0_X_MODIFY 0xFFC01F54 /*MemDMA1 Stream 0 Source Inner-Loop Address-Increment */
-#define MDMA1_S0_Y_MODIFY 0xFFC01F5C /*MemDMA1 Stream 0 Source Outer-Loop Address-Increment */
-#define MDMA1_S0_CURR_DESC_PTR 0xFFC01F60 /*MemDMA1 Stream 0 Source Current Descriptor Ptr reg */
-#define MDMA1_S0_CURR_ADDR 0xFFC01F64 /*MemDMA1 Stream 0 Source Current Address */
-#define MDMA1_S0_CURR_X_COUNT 0xFFC01F70 /*MemDMA1 Stream 0 Source Current Inner-Loop Count */
-#define MDMA1_S0_CURR_Y_COUNT 0xFFC01F78 /*MemDMA1 Stream 0 Source Current Outer-Loop Count */
-#define MDMA1_S0_IRQ_STATUS 0xFFC01F68 /*MemDMA1 Stream 0 Source Interrupt/Status */
-#define MDMA1_S0_PERIPHERAL_MAP 0xFFC01F6C /*MemDMA1 Stream 0 Source Peripheral Map */
-
-#define MDMA1_D1_CONFIG 0xFFC01F88 /*MemDMA1 Stream 1 Destination Configuration */
-#define MDMA1_D1_NEXT_DESC_PTR 0xFFC01F80 /*MemDMA1 Stream 1 Destination Next Descriptor Ptr Reg */
-#define MDMA1_D1_START_ADDR 0xFFC01F84 /*MemDMA1 Stream 1 Destination Start Address */
-#define MDMA1_D1_X_COUNT 0xFFC01F90 /*MemDMA1 Stream 1 Destination Inner-Loop Count */
-#define MDMA1_D1_Y_COUNT 0xFFC01F98 /*MemDMA1 Stream 1 Destination Outer-Loop Count */
-#define MDMA1_D1_X_MODIFY 0xFFC01F94 /*MemDMA1 Stream 1 Dest Inner-Loop Address-Increment */
-#define MDMA1_D1_Y_MODIFY 0xFFC01F9C /*MemDMA1 Stream 1 Dest Outer-Loop Address-Increment */
-#define MDMA1_D1_CURR_DESC_PTR 0xFFC01FA0 /*MemDMA1 Stream 1 Dest Current Descriptor Ptr reg */
-#define MDMA1_D1_CURR_ADDR 0xFFC01FA4 /*MemDMA1 Stream 1 Dest Current Address */
-#define MDMA1_D1_CURR_X_COUNT 0xFFC01FB0 /*MemDMA1 Stream 1 Dest Current Inner-Loop Count */
-#define MDMA1_D1_CURR_Y_COUNT 0xFFC01FB8 /*MemDMA1 Stream 1 Dest Current Outer-Loop Count */
-#define MDMA1_D1_IRQ_STATUS 0xFFC01FA8 /*MemDMA1 Stream 1 Dest Interrupt/Status */
-#define MDMA1_D1_PERIPHERAL_MAP 0xFFC01FAC /*MemDMA1 Stream 1 Dest Peripheral Map */
-
-#define MDMA1_S1_CONFIG 0xFFC01FC8 /*MemDMA1 Stream 1 Source Configuration */
-#define MDMA1_S1_NEXT_DESC_PTR 0xFFC01FC0 /*MemDMA1 Stream 1 Source Next Descriptor Ptr Reg */
-#define MDMA1_S1_START_ADDR 0xFFC01FC4 /*MemDMA1 Stream 1 Source Start Address */
-#define MDMA1_S1_X_COUNT 0xFFC01FD0 /*MemDMA1 Stream 1 Source Inner-Loop Count */
-#define MDMA1_S1_Y_COUNT 0xFFC01FD8 /*MemDMA1 Stream 1 Source Outer-Loop Count */
-#define MDMA1_S1_X_MODIFY 0xFFC01FD4 /*MemDMA1 Stream 1 Source Inner-Loop Address-Increment */
-#define MDMA1_S1_Y_MODIFY 0xFFC01FDC /*MemDMA1 Stream 1 Source Outer-Loop Address-Increment */
-#define MDMA1_S1_CURR_DESC_PTR 0xFFC01FE0 /*MemDMA1 Stream 1 Source Current Descriptor Ptr reg */
-#define MDMA1_S1_CURR_ADDR 0xFFC01FE4 /*MemDMA1 Stream 1 Source Current Address */
-#define MDMA1_S1_CURR_X_COUNT 0xFFC01FF0 /*MemDMA1 Stream 1 Source Current Inner-Loop Count */
-#define MDMA1_S1_CURR_Y_COUNT 0xFFC01FF8 /*MemDMA1 Stream 1 Source Current Outer-Loop Count */
-#define MDMA1_S1_IRQ_STATUS 0xFFC01FE8 /*MemDMA1 Stream 1 Source Interrupt/Status */
-#define MDMA1_S1_PERIPHERAL_MAP 0xFFC01FEC /*MemDMA1 Stream 1 Source Peripheral Map */
-
-
-/* DMA2 Controller registers (0xFFC0 0C00-0xFFC0 0DFF) */
-#define DMA2_0_CONFIG 0xFFC00C08 /* DMA2 Channel 0 Configuration register */
-#define DMA2_0_NEXT_DESC_PTR 0xFFC00C00 /* DMA2 Channel 0 Next Descripter Ptr Reg */
-#define DMA2_0_START_ADDR 0xFFC00C04 /* DMA2 Channel 0 Start Address */
-#define DMA2_0_X_COUNT 0xFFC00C10 /* DMA2 Channel 0 Inner Loop Count */
-#define DMA2_0_Y_COUNT 0xFFC00C18 /* DMA2 Channel 0 Outer Loop Count */
-#define DMA2_0_X_MODIFY 0xFFC00C14 /* DMA2 Channel 0 Inner Loop Addr Increment */
-#define DMA2_0_Y_MODIFY 0xFFC00C1C /* DMA2 Channel 0 Outer Loop Addr Increment */
-#define DMA2_0_CURR_DESC_PTR 0xFFC00C20 /* DMA2 Channel 0 Current Descriptor Pointer */
-#define DMA2_0_CURR_ADDR 0xFFC00C24 /* DMA2 Channel 0 Current Address Pointer */
-#define DMA2_0_CURR_X_COUNT 0xFFC00C30 /* DMA2 Channel 0 Current Inner Loop Count */
-#define DMA2_0_CURR_Y_COUNT 0xFFC00C38 /* DMA2 Channel 0 Current Outer Loop Count */
-#define DMA2_0_IRQ_STATUS 0xFFC00C28 /* DMA2 Channel 0 Interrupt/Status Register */
-#define DMA2_0_PERIPHERAL_MAP 0xFFC00C2C /* DMA2 Channel 0 Peripheral Map Register */
-
-#define DMA2_1_CONFIG 0xFFC00C48 /* DMA2 Channel 1 Configuration register */
-#define DMA2_1_NEXT_DESC_PTR 0xFFC00C40 /* DMA2 Channel 1 Next Descripter Ptr Reg */
-#define DMA2_1_START_ADDR 0xFFC00C44 /* DMA2 Channel 1 Start Address */
-#define DMA2_1_X_COUNT 0xFFC00C50 /* DMA2 Channel 1 Inner Loop Count */
-#define DMA2_1_Y_COUNT 0xFFC00C58 /* DMA2 Channel 1 Outer Loop Count */
-#define DMA2_1_X_MODIFY 0xFFC00C54 /* DMA2 Channel 1 Inner Loop Addr Increment */
-#define DMA2_1_Y_MODIFY 0xFFC00C5C /* DMA2 Channel 1 Outer Loop Addr Increment */
-#define DMA2_1_CURR_DESC_PTR 0xFFC00C60 /* DMA2 Channel 1 Current Descriptor Pointer */
-#define DMA2_1_CURR_ADDR 0xFFC00C64 /* DMA2 Channel 1 Current Address Pointer */
-#define DMA2_1_CURR_X_COUNT 0xFFC00C70 /* DMA2 Channel 1 Current Inner Loop Count */
-#define DMA2_1_CURR_Y_COUNT 0xFFC00C78 /* DMA2 Channel 1 Current Outer Loop Count */
-#define DMA2_1_IRQ_STATUS 0xFFC00C68 /* DMA2 Channel 1 Interrupt/Status Register */
-#define DMA2_1_PERIPHERAL_MAP 0xFFC00C6C /* DMA2 Channel 1 Peripheral Map Register */
-
-#define DMA2_2_CONFIG 0xFFC00C88 /* DMA2 Channel 2 Configuration register */
-#define DMA2_2_NEXT_DESC_PTR 0xFFC00C80 /* DMA2 Channel 2 Next Descripter Ptr Reg */
-#define DMA2_2_START_ADDR 0xFFC00C84 /* DMA2 Channel 2 Start Address */
-#define DMA2_2_X_COUNT 0xFFC00C90 /* DMA2 Channel 2 Inner Loop Count */
-#define DMA2_2_Y_COUNT 0xFFC00C98 /* DMA2 Channel 2 Outer Loop Count */
-#define DMA2_2_X_MODIFY 0xFFC00C94 /* DMA2 Channel 2 Inner Loop Addr Increment */
-#define DMA2_2_Y_MODIFY 0xFFC00C9C /* DMA2 Channel 2 Outer Loop Addr Increment */
-#define DMA2_2_CURR_DESC_PTR 0xFFC00CA0 /* DMA2 Channel 2 Current Descriptor Pointer */
-#define DMA2_2_CURR_ADDR 0xFFC00CA4 /* DMA2 Channel 2 Current Address Pointer */
-#define DMA2_2_CURR_X_COUNT 0xFFC00CB0 /* DMA2 Channel 2 Current Inner Loop Count */
-#define DMA2_2_CURR_Y_COUNT 0xFFC00CB8 /* DMA2 Channel 2 Current Outer Loop Count */
-#define DMA2_2_IRQ_STATUS 0xFFC00CA8 /* DMA2 Channel 2 Interrupt/Status Register */
-#define DMA2_2_PERIPHERAL_MAP 0xFFC00CAC /* DMA2 Channel 2 Peripheral Map Register */
-
-#define DMA2_3_CONFIG 0xFFC00CC8 /* DMA2 Channel 3 Configuration register */
-#define DMA2_3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA2 Channel 3 Next Descripter Ptr Reg */
-#define DMA2_3_START_ADDR 0xFFC00CC4 /* DMA2 Channel 3 Start Address */
-#define DMA2_3_X_COUNT 0xFFC00CD0 /* DMA2 Channel 3 Inner Loop Count */
-#define DMA2_3_Y_COUNT 0xFFC00CD8 /* DMA2 Channel 3 Outer Loop Count */
-#define DMA2_3_X_MODIFY 0xFFC00CD4 /* DMA2 Channel 3 Inner Loop Addr Increment */
-#define DMA2_3_Y_MODIFY 0xFFC00CDC /* DMA2 Channel 3 Outer Loop Addr Increment */
-#define DMA2_3_CURR_DESC_PTR 0xFFC00CE0 /* DMA2 Channel 3 Current Descriptor Pointer */
-#define DMA2_3_CURR_ADDR 0xFFC00CE4 /* DMA2 Channel 3 Current Address Pointer */
-#define DMA2_3_CURR_X_COUNT 0xFFC00CF0 /* DMA2 Channel 3 Current Inner Loop Count */
-#define DMA2_3_CURR_Y_COUNT 0xFFC00CF8 /* DMA2 Channel 3 Current Outer Loop Count */
-#define DMA2_3_IRQ_STATUS 0xFFC00CE8 /* DMA2 Channel 3 Interrupt/Status Register */
-#define DMA2_3_PERIPHERAL_MAP 0xFFC00CEC /* DMA2 Channel 3 Peripheral Map Register */
-
-#define DMA2_4_CONFIG 0xFFC00D08 /* DMA2 Channel 4 Configuration register */
-#define DMA2_4_NEXT_DESC_PTR 0xFFC00D00 /* DMA2 Channel 4 Next Descripter Ptr Reg */
-#define DMA2_4_START_ADDR 0xFFC00D04 /* DMA2 Channel 4 Start Address */
-#define DMA2_4_X_COUNT 0xFFC00D10 /* DMA2 Channel 4 Inner Loop Count */
-#define DMA2_4_Y_COUNT 0xFFC00D18 /* DMA2 Channel 4 Outer Loop Count */
-#define DMA2_4_X_MODIFY 0xFFC00D14 /* DMA2 Channel 4 Inner Loop Addr Increment */
-#define DMA2_4_Y_MODIFY 0xFFC00D1C /* DMA2 Channel 4 Outer Loop Addr Increment */
-#define DMA2_4_CURR_DESC_PTR 0xFFC00D20 /* DMA2 Channel 4 Current Descriptor Pointer */
-#define DMA2_4_CURR_ADDR 0xFFC00D24 /* DMA2 Channel 4 Current Address Pointer */
-#define DMA2_4_CURR_X_COUNT 0xFFC00D30 /* DMA2 Channel 4 Current Inner Loop Count */
-#define DMA2_4_CURR_Y_COUNT 0xFFC00D38 /* DMA2 Channel 4 Current Outer Loop Count */
-#define DMA2_4_IRQ_STATUS 0xFFC00D28 /* DMA2 Channel 4 Interrupt/Status Register */
-#define DMA2_4_PERIPHERAL_MAP 0xFFC00D2C /* DMA2 Channel 4 Peripheral Map Register */
-
-#define DMA2_5_CONFIG 0xFFC00D48 /* DMA2 Channel 5 Configuration register */
-#define DMA2_5_NEXT_DESC_PTR 0xFFC00D40 /* DMA2 Channel 5 Next Descripter Ptr Reg */
-#define DMA2_5_START_ADDR 0xFFC00D44 /* DMA2 Channel 5 Start Address */
-#define DMA2_5_X_COUNT 0xFFC00D50 /* DMA2 Channel 5 Inner Loop Count */
-#define DMA2_5_Y_COUNT 0xFFC00D58 /* DMA2 Channel 5 Outer Loop Count */
-#define DMA2_5_X_MODIFY 0xFFC00D54 /* DMA2 Channel 5 Inner Loop Addr Increment */
-#define DMA2_5_Y_MODIFY 0xFFC00D5C /* DMA2 Channel 5 Outer Loop Addr Increment */
-#define DMA2_5_CURR_DESC_PTR 0xFFC00D60 /* DMA2 Channel 5 Current Descriptor Pointer */
-#define DMA2_5_CURR_ADDR 0xFFC00D64 /* DMA2 Channel 5 Current Address Pointer */
-#define DMA2_5_CURR_X_COUNT 0xFFC00D70 /* DMA2 Channel 5 Current Inner Loop Count */
-#define DMA2_5_CURR_Y_COUNT 0xFFC00D78 /* DMA2 Channel 5 Current Outer Loop Count */
-#define DMA2_5_IRQ_STATUS 0xFFC00D68 /* DMA2 Channel 5 Interrupt/Status Register */
-#define DMA2_5_PERIPHERAL_MAP 0xFFC00D6C /* DMA2 Channel 5 Peripheral Map Register */
-
-#define DMA2_6_CONFIG 0xFFC00D88 /* DMA2 Channel 6 Configuration register */
-#define DMA2_6_NEXT_DESC_PTR 0xFFC00D80 /* DMA2 Channel 6 Next Descripter Ptr Reg */
-#define DMA2_6_START_ADDR 0xFFC00D84 /* DMA2 Channel 6 Start Address */
-#define DMA2_6_X_COUNT 0xFFC00D90 /* DMA2 Channel 6 Inner Loop Count */
-#define DMA2_6_Y_COUNT 0xFFC00D98 /* DMA2 Channel 6 Outer Loop Count */
-#define DMA2_6_X_MODIFY 0xFFC00D94 /* DMA2 Channel 6 Inner Loop Addr Increment */
-#define DMA2_6_Y_MODIFY 0xFFC00D9C /* DMA2 Channel 6 Outer Loop Addr Increment */
-#define DMA2_6_CURR_DESC_PTR 0xFFC00DA0 /* DMA2 Channel 6 Current Descriptor Pointer */
-#define DMA2_6_CURR_ADDR 0xFFC00DA4 /* DMA2 Channel 6 Current Address Pointer */
-#define DMA2_6_CURR_X_COUNT 0xFFC00DB0 /* DMA2 Channel 6 Current Inner Loop Count */
-#define DMA2_6_CURR_Y_COUNT 0xFFC00DB8 /* DMA2 Channel 6 Current Outer Loop Count */
-#define DMA2_6_IRQ_STATUS 0xFFC00DA8 /* DMA2 Channel 6 Interrupt/Status Register */
-#define DMA2_6_PERIPHERAL_MAP 0xFFC00DAC /* DMA2 Channel 6 Peripheral Map Register */
-
-#define DMA2_7_CONFIG 0xFFC00DC8 /* DMA2 Channel 7 Configuration register */
-#define DMA2_7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA2 Channel 7 Next Descripter Ptr Reg */
-#define DMA2_7_START_ADDR 0xFFC00DC4 /* DMA2 Channel 7 Start Address */
-#define DMA2_7_X_COUNT 0xFFC00DD0 /* DMA2 Channel 7 Inner Loop Count */
-#define DMA2_7_Y_COUNT 0xFFC00DD8 /* DMA2 Channel 7 Outer Loop Count */
-#define DMA2_7_X_MODIFY 0xFFC00DD4 /* DMA2 Channel 7 Inner Loop Addr Increment */
-#define DMA2_7_Y_MODIFY 0xFFC00DDC /* DMA2 Channel 7 Outer Loop Addr Increment */
-#define DMA2_7_CURR_DESC_PTR 0xFFC00DE0 /* DMA2 Channel 7 Current Descriptor Pointer */
-#define DMA2_7_CURR_ADDR 0xFFC00DE4 /* DMA2 Channel 7 Current Address Pointer */
-#define DMA2_7_CURR_X_COUNT 0xFFC00DF0 /* DMA2 Channel 7 Current Inner Loop Count */
-#define DMA2_7_CURR_Y_COUNT 0xFFC00DF8 /* DMA2 Channel 7 Current Outer Loop Count */
-#define DMA2_7_IRQ_STATUS 0xFFC00DE8 /* DMA2 Channel 7 Interrupt/Status Register */
-#define DMA2_7_PERIPHERAL_MAP 0xFFC00DEC /* DMA2 Channel 7 Peripheral Map Register */
-
-#define DMA2_8_CONFIG 0xFFC00E08 /* DMA2 Channel 8 Configuration register */
-#define DMA2_8_NEXT_DESC_PTR 0xFFC00E00 /* DMA2 Channel 8 Next Descripter Ptr Reg */
-#define DMA2_8_START_ADDR 0xFFC00E04 /* DMA2 Channel 8 Start Address */
-#define DMA2_8_X_COUNT 0xFFC00E10 /* DMA2 Channel 8 Inner Loop Count */
-#define DMA2_8_Y_COUNT 0xFFC00E18 /* DMA2 Channel 8 Outer Loop Count */
-#define DMA2_8_X_MODIFY 0xFFC00E14 /* DMA2 Channel 8 Inner Loop Addr Increment */
-#define DMA2_8_Y_MODIFY 0xFFC00E1C /* DMA2 Channel 8 Outer Loop Addr Increment */
-#define DMA2_8_CURR_DESC_PTR 0xFFC00E20 /* DMA2 Channel 8 Current Descriptor Pointer */
-#define DMA2_8_CURR_ADDR 0xFFC00E24 /* DMA2 Channel 8 Current Address Pointer */
-#define DMA2_8_CURR_X_COUNT 0xFFC00E30 /* DMA2 Channel 8 Current Inner Loop Count */
-#define DMA2_8_CURR_Y_COUNT 0xFFC00E38 /* DMA2 Channel 8 Current Outer Loop Count */
-#define DMA2_8_IRQ_STATUS 0xFFC00E28 /* DMA2 Channel 8 Interrupt/Status Register */
-#define DMA2_8_PERIPHERAL_MAP 0xFFC00E2C /* DMA2 Channel 8 Peripheral Map Register */
-
-#define DMA2_9_CONFIG 0xFFC00E48 /* DMA2 Channel 9 Configuration register */
-#define DMA2_9_NEXT_DESC_PTR 0xFFC00E40 /* DMA2 Channel 9 Next Descripter Ptr Reg */
-#define DMA2_9_START_ADDR 0xFFC00E44 /* DMA2 Channel 9 Start Address */
-#define DMA2_9_X_COUNT 0xFFC00E50 /* DMA2 Channel 9 Inner Loop Count */
-#define DMA2_9_Y_COUNT 0xFFC00E58 /* DMA2 Channel 9 Outer Loop Count */
-#define DMA2_9_X_MODIFY 0xFFC00E54 /* DMA2 Channel 9 Inner Loop Addr Increment */
-#define DMA2_9_Y_MODIFY 0xFFC00E5C /* DMA2 Channel 9 Outer Loop Addr Increment */
-#define DMA2_9_CURR_DESC_PTR 0xFFC00E60 /* DMA2 Channel 9 Current Descriptor Pointer */
-#define DMA2_9_CURR_ADDR 0xFFC00E64 /* DMA2 Channel 9 Current Address Pointer */
-#define DMA2_9_CURR_X_COUNT 0xFFC00E70 /* DMA2 Channel 9 Current Inner Loop Count */
-#define DMA2_9_CURR_Y_COUNT 0xFFC00E78 /* DMA2 Channel 9 Current Outer Loop Count */
-#define DMA2_9_IRQ_STATUS 0xFFC00E68 /* DMA2 Channel 9 Interrupt/Status Register */
-#define DMA2_9_PERIPHERAL_MAP 0xFFC00E6C /* DMA2 Channel 9 Peripheral Map Register */
-
-#define DMA2_10_CONFIG 0xFFC00E88 /* DMA2 Channel 10 Configuration register */
-#define DMA2_10_NEXT_DESC_PTR 0xFFC00E80 /* DMA2 Channel 10 Next Descripter Ptr Reg */
-#define DMA2_10_START_ADDR 0xFFC00E84 /* DMA2 Channel 10 Start Address */
-#define DMA2_10_X_COUNT 0xFFC00E90 /* DMA2 Channel 10 Inner Loop Count */
-#define DMA2_10_Y_COUNT 0xFFC00E98 /* DMA2 Channel 10 Outer Loop Count */
-#define DMA2_10_X_MODIFY 0xFFC00E94 /* DMA2 Channel 10 Inner Loop Addr Increment */
-#define DMA2_10_Y_MODIFY 0xFFC00E9C /* DMA2 Channel 10 Outer Loop Addr Increment */
-#define DMA2_10_CURR_DESC_PTR 0xFFC00EA0 /* DMA2 Channel 10 Current Descriptor Pointer */
-#define DMA2_10_CURR_ADDR 0xFFC00EA4 /* DMA2 Channel 10 Current Address Pointer */
-#define DMA2_10_CURR_X_COUNT 0xFFC00EB0 /* DMA2 Channel 10 Current Inner Loop Count */
-#define DMA2_10_CURR_Y_COUNT 0xFFC00EB8 /* DMA2 Channel 10 Current Outer Loop Count */
-#define DMA2_10_IRQ_STATUS 0xFFC00EA8 /* DMA2 Channel 10 Interrupt/Status Register */
-#define DMA2_10_PERIPHERAL_MAP 0xFFC00EAC /* DMA2 Channel 10 Peripheral Map Register */
-
-#define DMA2_11_CONFIG 0xFFC00EC8 /* DMA2 Channel 11 Configuration register */
-#define DMA2_11_NEXT_DESC_PTR 0xFFC00EC0 /* DMA2 Channel 11 Next Descripter Ptr Reg */
-#define DMA2_11_START_ADDR 0xFFC00EC4 /* DMA2 Channel 11 Start Address */
-#define DMA2_11_X_COUNT 0xFFC00ED0 /* DMA2 Channel 11 Inner Loop Count */
-#define DMA2_11_Y_COUNT 0xFFC00ED8 /* DMA2 Channel 11 Outer Loop Count */
-#define DMA2_11_X_MODIFY 0xFFC00ED4 /* DMA2 Channel 11 Inner Loop Addr Increment */
-#define DMA2_11_Y_MODIFY 0xFFC00EDC /* DMA2 Channel 11 Outer Loop Addr Increment */
-#define DMA2_11_CURR_DESC_PTR 0xFFC00EE0 /* DMA2 Channel 11 Current Descriptor Pointer */
-#define DMA2_11_CURR_ADDR 0xFFC00EE4 /* DMA2 Channel 11 Current Address Pointer */
-#define DMA2_11_CURR_X_COUNT 0xFFC00EF0 /* DMA2 Channel 11 Current Inner Loop Count */
-#define DMA2_11_CURR_Y_COUNT 0xFFC00EF8 /* DMA2 Channel 11 Current Outer Loop Count */
-#define DMA2_11_IRQ_STATUS 0xFFC00EE8 /* DMA2 Channel 11 Interrupt/Status Register */
-#define DMA2_11_PERIPHERAL_MAP 0xFFC00EEC /* DMA2 Channel 11 Peripheral Map Register */
-
-
-/* Memory DMA2 Controller registers (0xFFC0 0E80-0xFFC0 0FFF) */
-#define MDMA2_D0_CONFIG 0xFFC00F08 /*MemDMA2 Stream 0 Destination Configuration register */
-#define MDMA2_D0_NEXT_DESC_PTR 0xFFC00F00 /*MemDMA2 Stream 0 Destination Next Descriptor Ptr Reg */
-#define MDMA2_D0_START_ADDR 0xFFC00F04 /*MemDMA2 Stream 0 Destination Start Address */
-#define MDMA2_D0_X_COUNT 0xFFC00F10 /*MemDMA2 Stream 0 Dest Inner-Loop Count register */
-#define MDMA2_D0_Y_COUNT 0xFFC00F18 /*MemDMA2 Stream 0 Dest Outer-Loop Count register */
-#define MDMA2_D0_X_MODIFY 0xFFC00F14 /*MemDMA2 Stream 0 Dest Inner-Loop Address-Increment */
-#define MDMA2_D0_Y_MODIFY 0xFFC00F1C /*MemDMA2 Stream 0 Dest Outer-Loop Address-Increment */
-#define MDMA2_D0_CURR_DESC_PTR 0xFFC00F20 /*MemDMA2 Stream 0 Dest Current Descriptor Ptr reg */
-#define MDMA2_D0_CURR_ADDR 0xFFC00F24 /*MemDMA2 Stream 0 Destination Current Address */
-#define MDMA2_D0_CURR_X_COUNT 0xFFC00F30 /*MemDMA2 Stream 0 Dest Current Inner-Loop Count reg */
-#define MDMA2_D0_CURR_Y_COUNT 0xFFC00F38 /*MemDMA2 Stream 0 Dest Current Outer-Loop Count reg */
-#define MDMA2_D0_IRQ_STATUS 0xFFC00F28 /*MemDMA2 Stream 0 Dest Interrupt/Status Register */
-#define MDMA2_D0_PERIPHERAL_MAP 0xFFC00F2C /*MemDMA2 Stream 0 Destination Peripheral Map register */
-
-#define MDMA2_S0_CONFIG 0xFFC00F48 /*MemDMA2 Stream 0 Source Configuration register */
-#define MDMA2_S0_NEXT_DESC_PTR 0xFFC00F40 /*MemDMA2 Stream 0 Source Next Descriptor Ptr Reg */
-#define MDMA2_S0_START_ADDR 0xFFC00F44 /*MemDMA2 Stream 0 Source Start Address */
-#define MDMA2_S0_X_COUNT 0xFFC00F50 /*MemDMA2 Stream 0 Source Inner-Loop Count register */
-#define MDMA2_S0_Y_COUNT 0xFFC00F58 /*MemDMA2 Stream 0 Source Outer-Loop Count register */
-#define MDMA2_S0_X_MODIFY 0xFFC00F54 /*MemDMA2 Stream 0 Src Inner-Loop Addr-Increment reg */
-#define MDMA2_S0_Y_MODIFY 0xFFC00F5C /*MemDMA2 Stream 0 Src Outer-Loop Addr-Increment reg */
-#define MDMA2_S0_CURR_DESC_PTR 0xFFC00F60 /*MemDMA2 Stream 0 Source Current Descriptor Ptr reg */
-#define MDMA2_S0_CURR_ADDR 0xFFC00F64 /*MemDMA2 Stream 0 Source Current Address */
-#define MDMA2_S0_CURR_X_COUNT 0xFFC00F70 /*MemDMA2 Stream 0 Src Current Inner-Loop Count reg */
-#define MDMA2_S0_CURR_Y_COUNT 0xFFC00F78 /*MemDMA2 Stream 0 Src Current Outer-Loop Count reg */
-#define MDMA2_S0_IRQ_STATUS 0xFFC00F68 /*MemDMA2 Stream 0 Source Interrupt/Status Register */
-#define MDMA2_S0_PERIPHERAL_MAP 0xFFC00F6C /*MemDMA2 Stream 0 Source Peripheral Map register */
-
-#define MDMA2_D1_CONFIG 0xFFC00F88 /*MemDMA2 Stream 1 Destination Configuration register */
-#define MDMA2_D1_NEXT_DESC_PTR 0xFFC00F80 /*MemDMA2 Stream 1 Destination Next Descriptor Ptr Reg */
-#define MDMA2_D1_START_ADDR 0xFFC00F84 /*MemDMA2 Stream 1 Destination Start Address */
-#define MDMA2_D1_X_COUNT 0xFFC00F90 /*MemDMA2 Stream 1 Dest Inner-Loop Count register */
-#define MDMA2_D1_Y_COUNT 0xFFC00F98 /*MemDMA2 Stream 1 Dest Outer-Loop Count register */
-#define MDMA2_D1_X_MODIFY 0xFFC00F94 /*MemDMA2 Stream 1 Dest Inner-Loop Address-Increment */
-#define MDMA2_D1_Y_MODIFY 0xFFC00F9C /*MemDMA2 Stream 1 Dest Outer-Loop Address-Increment */
-#define MDMA2_D1_CURR_DESC_PTR 0xFFC00FA0 /*MemDMA2 Stream 1 Destination Current Descriptor Ptr */
-#define MDMA2_D1_CURR_ADDR 0xFFC00FA4 /*MemDMA2 Stream 1 Destination Current Address reg */
-#define MDMA2_D1_CURR_X_COUNT 0xFFC00FB0 /*MemDMA2 Stream 1 Dest Current Inner-Loop Count reg */
-#define MDMA2_D1_CURR_Y_COUNT 0xFFC00FB8 /*MemDMA2 Stream 1 Dest Current Outer-Loop Count reg */
-#define MDMA2_D1_IRQ_STATUS 0xFFC00FA8 /*MemDMA2 Stream 1 Destination Interrupt/Status Reg */
-#define MDMA2_D1_PERIPHERAL_MAP 0xFFC00FAC /*MemDMA2 Stream 1 Destination Peripheral Map register */
-
-#define MDMA2_S1_CONFIG 0xFFC00FC8 /*MemDMA2 Stream 1 Source Configuration register */
-#define MDMA2_S1_NEXT_DESC_PTR 0xFFC00FC0 /*MemDMA2 Stream 1 Source Next Descriptor Ptr Reg */
-#define MDMA2_S1_START_ADDR 0xFFC00FC4 /*MemDMA2 Stream 1 Source Start Address */
-#define MDMA2_S1_X_COUNT 0xFFC00FD0 /*MemDMA2 Stream 1 Source Inner-Loop Count register */
-#define MDMA2_S1_Y_COUNT 0xFFC00FD8 /*MemDMA2 Stream 1 Source Outer-Loop Count register */
-#define MDMA2_S1_X_MODIFY 0xFFC00FD4 /*MemDMA2 Stream 1 Src Inner-Loop Address-Increment */
-#define MDMA2_S1_Y_MODIFY 0xFFC00FDC /*MemDMA2 Stream 1 Source Outer-Loop Address-Increment */
-#define MDMA2_S1_CURR_DESC_PTR 0xFFC00FE0 /*MemDMA2 Stream 1 Source Current Descriptor Ptr reg */
-#define MDMA2_S1_CURR_ADDR 0xFFC00FE4 /*MemDMA2 Stream 1 Source Current Address */
-#define MDMA2_S1_CURR_X_COUNT 0xFFC00FF0 /*MemDMA2 Stream 1 Source Current Inner-Loop Count */
-#define MDMA2_S1_CURR_Y_COUNT 0xFFC00FF8 /*MemDMA2 Stream 1 Source Current Outer-Loop Count */
-#define MDMA2_S1_IRQ_STATUS 0xFFC00FE8 /*MemDMA2 Stream 1 Source Interrupt/Status Register */
-#define MDMA2_S1_PERIPHERAL_MAP 0xFFC00FEC /*MemDMA2 Stream 1 Source Peripheral Map register */
-
-
-
-/* Internal Memory DMA Registers (0xFFC0_1800 - 0xFFC0_19FF) */
-#define IMDMA_D0_CONFIG 0xFFC01808 /*IMDMA Stream 0 Destination Configuration */
-#define IMDMA_D0_NEXT_DESC_PTR 0xFFC01800 /*IMDMA Stream 0 Destination Next Descriptor Ptr Reg */
-#define IMDMA_D0_START_ADDR 0xFFC01804 /*IMDMA Stream 0 Destination Start Address */
-#define IMDMA_D0_X_COUNT 0xFFC01810 /*IMDMA Stream 0 Destination Inner-Loop Count */
-#define IMDMA_D0_Y_COUNT 0xFFC01818 /*IMDMA Stream 0 Destination Outer-Loop Count */
-#define IMDMA_D0_X_MODIFY 0xFFC01814 /*IMDMA Stream 0 Dest Inner-Loop Address-Increment */
-#define IMDMA_D0_Y_MODIFY 0xFFC0181C /*IMDMA Stream 0 Dest Outer-Loop Address-Increment */
-#define IMDMA_D0_CURR_DESC_PTR 0xFFC01820 /*IMDMA Stream 0 Destination Current Descriptor Ptr */
-#define IMDMA_D0_CURR_ADDR 0xFFC01824 /*IMDMA Stream 0 Destination Current Address */
-#define IMDMA_D0_CURR_X_COUNT 0xFFC01830 /*IMDMA Stream 0 Destination Current Inner-Loop Count */
-#define IMDMA_D0_CURR_Y_COUNT 0xFFC01838 /*IMDMA Stream 0 Destination Current Outer-Loop Count */
-#define IMDMA_D0_IRQ_STATUS 0xFFC01828 /*IMDMA Stream 0 Destination Interrupt/Status */
-
-#define IMDMA_S0_CONFIG 0xFFC01848 /*IMDMA Stream 0 Source Configuration */
-#define IMDMA_S0_NEXT_DESC_PTR 0xFFC01840 /*IMDMA Stream 0 Source Next Descriptor Ptr Reg */
-#define IMDMA_S0_START_ADDR 0xFFC01844 /*IMDMA Stream 0 Source Start Address */
-#define IMDMA_S0_X_COUNT 0xFFC01850 /*IMDMA Stream 0 Source Inner-Loop Count */
-#define IMDMA_S0_Y_COUNT 0xFFC01858 /*IMDMA Stream 0 Source Outer-Loop Count */
-#define IMDMA_S0_X_MODIFY 0xFFC01854 /*IMDMA Stream 0 Source Inner-Loop Address-Increment */
-#define IMDMA_S0_Y_MODIFY 0xFFC0185C /*IMDMA Stream 0 Source Outer-Loop Address-Increment */
-#define IMDMA_S0_CURR_DESC_PTR 0xFFC01860 /*IMDMA Stream 0 Source Current Descriptor Ptr reg */
-#define IMDMA_S0_CURR_ADDR 0xFFC01864 /*IMDMA Stream 0 Source Current Address */
-#define IMDMA_S0_CURR_X_COUNT 0xFFC01870 /*IMDMA Stream 0 Source Current Inner-Loop Count */
-#define IMDMA_S0_CURR_Y_COUNT 0xFFC01878 /*IMDMA Stream 0 Source Current Outer-Loop Count */
-#define IMDMA_S0_IRQ_STATUS 0xFFC01868 /*IMDMA Stream 0 Source Interrupt/Status */
-
-#define IMDMA_D1_CONFIG 0xFFC01888 /*IMDMA Stream 1 Destination Configuration */
-#define IMDMA_D1_NEXT_DESC_PTR 0xFFC01880 /*IMDMA Stream 1 Destination Next Descriptor Ptr Reg */
-#define IMDMA_D1_START_ADDR 0xFFC01884 /*IMDMA Stream 1 Destination Start Address */
-#define IMDMA_D1_X_COUNT 0xFFC01890 /*IMDMA Stream 1 Destination Inner-Loop Count */
-#define IMDMA_D1_Y_COUNT 0xFFC01898 /*IMDMA Stream 1 Destination Outer-Loop Count */
-#define IMDMA_D1_X_MODIFY 0xFFC01894 /*IMDMA Stream 1 Dest Inner-Loop Address-Increment */
-#define IMDMA_D1_Y_MODIFY 0xFFC0189C /*IMDMA Stream 1 Dest Outer-Loop Address-Increment */
-#define IMDMA_D1_CURR_DESC_PTR 0xFFC018A0 /*IMDMA Stream 1 Destination Current Descriptor Ptr */
-#define IMDMA_D1_CURR_ADDR 0xFFC018A4 /*IMDMA Stream 1 Destination Current Address */
-#define IMDMA_D1_CURR_X_COUNT 0xFFC018B0 /*IMDMA Stream 1 Destination Current Inner-Loop Count */
-#define IMDMA_D1_CURR_Y_COUNT 0xFFC018B8 /*IMDMA Stream 1 Destination Current Outer-Loop Count */
-#define IMDMA_D1_IRQ_STATUS 0xFFC018A8 /*IMDMA Stream 1 Destination Interrupt/Status */
-
-#define IMDMA_S1_CONFIG 0xFFC018C8 /*IMDMA Stream 1 Source Configuration */
-#define IMDMA_S1_NEXT_DESC_PTR 0xFFC018C0 /*IMDMA Stream 1 Source Next Descriptor Ptr Reg */
-#define IMDMA_S1_START_ADDR 0xFFC018C4 /*IMDMA Stream 1 Source Start Address */
-#define IMDMA_S1_X_COUNT 0xFFC018D0 /*IMDMA Stream 1 Source Inner-Loop Count */
-#define IMDMA_S1_Y_COUNT 0xFFC018D8 /*IMDMA Stream 1 Source Outer-Loop Count */
-#define IMDMA_S1_X_MODIFY 0xFFC018D4 /*IMDMA Stream 1 Source Inner-Loop Address-Increment */
-#define IMDMA_S1_Y_MODIFY 0xFFC018DC /*IMDMA Stream 1 Source Outer-Loop Address-Increment */
-#define IMDMA_S1_CURR_DESC_PTR 0xFFC018E0 /*IMDMA Stream 1 Source Current Descriptor Ptr reg */
-#define IMDMA_S1_CURR_ADDR 0xFFC018E4 /*IMDMA Stream 1 Source Current Address */
-#define IMDMA_S1_CURR_X_COUNT 0xFFC018F0 /*IMDMA Stream 1 Source Current Inner-Loop Count */
-#define IMDMA_S1_CURR_Y_COUNT 0xFFC018F8 /*IMDMA Stream 1 Source Current Outer-Loop Count */
-#define IMDMA_S1_IRQ_STATUS 0xFFC018E8 /*IMDMA Stream 1 Source Interrupt/Status */
-
-
-
-/*********************************************************************************** */
-/* System MMR Register Bits */
-/******************************************************************************* */
-
-/* ********************* PLL AND RESET MASKS ************************ */
-
-/* PLL_CTL Masks */
-#define PLL_CLKIN 0x0000 /* Pass CLKIN to PLL */
-#define PLL_CLKIN_DIV2 0x0001 /* Pass CLKIN/2 to PLL */
-#define PLL_OFF 0x0002 /* Shut off PLL clocks */
-#define STOPCK_OFF 0x0008 /* Core clock off */
-#define ALT_TIMING 0x0010 /* Enable Alternate PPI Timing */
-#define PDWN 0x0020 /* Put the PLL in a Deep Sleep state */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-#define IN_DELAY 0x0040 /* Add 200ps Delay on EBIU Inputs */
-#define OUT_DELAY 0x0080 /* Add 200ps Delay on EBIU Outputs */
-#define SPORT_HYS 0x8000 /* Add 250mV Hysteresis to SPORT Inputs */
-
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define SCLK_DIV(x) (x) /* SCLK = VCO / x */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_STAT Macros */
-#define VSTAT 0x0080 /* Voltage Regulator Status: Regulator at programmed voltage */
-#define CORE_IDLE 0x0040 /* processor is in the IDLE operating mode */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-#define SLEEP 0x0010 /* processor is in the Sleep operating mode */
-#define DEEP_SLEEP 0x0008 /* processor is in the Deep Sleep operating mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-
-
-#define CCLK_DIV1 0x00000000 /* CCLK = VCO / 1 */
-#define CCLK_DIV2 0x00000010 /* CCLK = VCO / 2 */
-#define CCLK_DIV4 0x00000020 /* CCLK = VCO / 4 */
-#define CCLK_DIV8 0x00000030 /* CCLK = VCO / 8 */
-
-/* SWRST Mask */
-#define SYSTEM_RESET 0x0007 /* Initiates a system software reset */
-#define SWRST_DBL_FAULT_A 0x0800 /* SWRST Core A Double Fault */
-#define SWRST_DBL_FAULT_B 0x1000 /* SWRST Core B Double Fault */
-#define SWRST_WDT_B 0x2000 /* SWRST Watchdog B */
-#define SWRST_WDT_A 0x4000 /* SWRST Watchdog A */
-#define SWRST_OCCURRED 0x8000 /* SWRST Status */
-
-/* VR_CTL Masks */
-#define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */
-#define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */
-#define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */
-#define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */
-#define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */
-#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
-#define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */
-
-
-#define GAIN 0x000C /* Voltage Level Gain */
-#define GAIN_5 0x0000 /* GAIN = 5 */
-#define GAIN_10 0x0004 /* GAIN = 10 */
-#define GAIN_20 0x0008 /* GAIN = 20 */
-#define GAIN_50 0x000C /* GAIN = 50 */
-
-#define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */
-#define VLEV_085 0x0060 /* VLEV = 0.85 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_090 0x0070 /* VLEV = 0.90 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_095 0x0080 /* VLEV = 0.95 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_100 0x0090 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_105 0x00A0 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_110 0x00B0 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_115 0x00C0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_120 0x00D0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_125 0x00E0 /* VLEV = 1.25 V (See Datasheet for Regulator Tolerance) */
-#define VLEV_130 0x00F0 /* VLEV = 1.30 V (See Datasheet for Regulator Tolerance) */
-
-/* SYSCR Masks */
-#define BMODE_BYPASS 0x0000 /* Bypass boot ROM, execute from 16-bit external memory */
-#define BMODE_FLASH 0x0001 /* Use Boot ROM to load from 8-bit or 16-bit flash */
-#define BMODE_SPIHOST 0x0002 /* Boot from SPI0 host (slave mode) */
-#define BMODE_SPIMEM 0x0003 /* Boot from serial SPI memory */
-
-
-
-/* ************* SYSTEM INTERRUPT CONTROLLER MASKS ***************** */
-
-/* SICu_IARv Masks */
-/* u = A or B */
-/* v = 0 to 7 */
-/* w = 0 or 1 */
-
-/* Per_number = 0 to 63 */
-/* IVG_number = 7 to 15 */
-#define Peripheral_IVG(Per_number, IVG_number) \
- ( (IVG_number) -7) << ( ((Per_number)%8) *4) /* Peripheral #Per_number assigned IVG #IVG_number */
- /* Usage: r0.l = lo(Peripheral_IVG(62, 10)); */
- /* r0.h = hi(Peripheral_IVG(62, 10)); */
-
-
-/* SICx_IMASKw Masks */
-/* masks are 32 bit wide, so two writes reguired for "64 bit" wide registers */
-#define SIC_UNMASK_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK_ALL 0xFFFFFFFF /* Mask all peripheral interrupts */
-
-/* SIC_IMASKx Macros */
-#ifdef _MISRA_RULES
-#define SIC_MASK(x) ((int32_t)1 << ((x)&0x1Fu)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Unmask Peripheral #x interrupt*/
-#else
-#define SIC_MASK(x) (1 << ((x)&0x1F)) /* Mask Peripheral #x interrupt */
-#define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Unmask Peripheral #x interrupt */
-#endif /* _MISRA_RULES */
-
-/* SIC_IWR Masks */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-
-/* SIC_IWR Macros */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#ifdef _MISRA_RULES
-#define IWR_ENABLE(x) ((int32_t)1 << ((x)&0x1Fu)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFFu ^ ((uint32_t)1 << ((x)&0x1Fu))) /*Wakeup Disable Peripheral #x */
-#else
-#define IWR_ENABLE(x) (1 << ((x)&0x1F)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */
-#endif /* _MISRA_RULES */
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define PLL_WAKEUP_IRQ 0x00000001 /* PLL Wakeup Interrupt Request */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt Request */
-
-
-
-/* ********* WATCHDOG TIMER MASKS ******************** */
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-
-
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define WDOG_DISABLE WDDIS
-#define TRO WDRO
-
-
-
-/* ***************************** UART CONTROLLER MASKS ********************** */
-
-/* UART_LCR Register */
-
-#define DLAB 0x80
-#define SB 0x40
-#define STP 0x20
-#define EPS 0x10
-#define PEN 0x08
-#define STB 0x04
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-
-#define DLAB_P 0x07
-#define SB_P 0x06
-#define STP_P 0x05
-#define EPS_P 0x04
-#define PEN_P 0x03
-#define STB_P 0x02
-#define WLS_P1 0x01
-#define WLS_P0 0x00
-
-/* UART_MCR Register */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-#define LOOP_ENA_P 0x04
-
-/* UART_LSR Register */
-#define TEMT 0x40
-#define THRE 0x20
-#define BI 0x10
-#define FE 0x08
-#define PE 0x04
-#define OE 0x02
-#define DR 0x01
-
-#define TEMP_P 0x06
-#define THRE_P 0x05
-#define BI_P 0x04
-#define FE_P 0x03
-#define PE_P 0x02
-#define OE_P 0x01
-#define DR_P 0x00
-
-/* UART_IER Register */
-#define ELSI 0x04
-#define ETBEI 0x02
-#define ERBFI 0x01
-
-#define ELSI_P 0x02
-#define ETBEI_P 0x01
-#define ERBFI_P 0x00
-
-/* UART_IIR Register */
-#ifdef _MISRA_RULES
-#define STATUS(x) (((x) << 1) & 0x06u)
-#else
-#define STATUS(x) (((x) << 1) & 0x06)
-#endif /* _MISRA_RULES */
-#define NINT 0x01
-#define STATUS_P1 0x02
-#define STATUS_P0 0x01
-#define NINT_P 0x00
-
-/* UART_GCTL Register */
-#define FFE 0x20
-#define FPE 0x10
-#define RPOLC 0x08
-#define TPOLC 0x04
-#define IREN 0x02
-#define UCEN 0x01
-
-#define FFE_P 0x05
-#define FPE_P 0x04
-#define RPOLC_P 0x03
-#define TPOLC_P 0x02
-#define IREN_P 0x01
-#define UCEN_P 0x00
-
-/* ********** SERIAL PORT MASKS ********************** */
-
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* TX enable */
-#define ITCLK 0x0002 /* Internal TX Clock Select */
-#define TDTYPE 0x000C /* TX Data Formatting Select */
-#define TLSBIT 0x0010 /* TX Bit Order */
-#define ITFS 0x0200 /* Internal TX Frame Sync Select */
-#define TFSR 0x0400 /* TX Frame Sync Required Select */
-#define DITFS 0x0800 /* Data Independent TX Frame Sync Select */
-#define LTFS 0x1000 /* Low TX Frame Sync Select */
-#define LATFS 0x2000 /* Late TX Frame Sync Select */
-#define TCKFE 0x4000 /* TX Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks */
-#define SLEN 0x001F /*TX Word Length */
-#define TXSE 0x0100 /*TX Secondary Enable */
-#define TSFSE 0x0200 /*TX Stereo Frame Sync Enable */
-#define TRFST 0x0400 /*TX Right-First Data Order */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* RX enable */
-#define IRCLK 0x0002 /* Internal RX Clock Select */
-#define RDTYPE 0x000C /* RX Data Formatting Select */
-#define RULAW 0x0008 /* u-Law enable */
-#define RALAW 0x000C /* A-Law enable */
-#define RLSBIT 0x0010 /* RX Bit Order */
-#define IRFS 0x0200 /* Internal RX Frame Sync Select */
-#define RFSR 0x0400 /* RX Frame Sync Required Select */
-#define LRFS 0x1000 /* Low RX Frame Sync Select */
-#define LARFS 0x2000 /* Late RX Frame Sync Select */
-#define RCKFE 0x4000 /* RX Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#define SLEN 0x001F /*RX Word Length */
-#define RXSE 0x0100 /*RX Secondary Enable */
-#define RSFSE 0x0200 /*RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /*Right-First Data Order */
-
-/*SPORTx_STAT Masks */
-#define RXNE 0x0001 /*RX FIFO Not Empty Status */
-#define RUVF 0x0002 /*RX Underflow Status */
-#define ROVF 0x0004 /*RX Overflow Status */
-#define TXF 0x0008 /*TX FIFO Full Status */
-#define TUVF 0x0010 /*TX Underflow Status */
-#define TOVF 0x0020 /*TX Overflow Status */
-#define TXHRE 0x0040 /*TX Hold Register Empty */
-
-/*SPORTx_MCMC1 Masks */
-#define WSIZE 0x0000F000 /*Multichannel Window Size Field */
-#define WOFF 0x000003FF /*Multichannel Window Offset Field */
-
-/*SPORTx_MCMC2 Masks */
-#define MCCRM 0x00000003 /*Multichannel Clock Recovery Mode */
-#define MCDTXPE 0x00000004 /*Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x00000008 /*Multichannel DMA Receive Packing */
-#define MCMEN 0x00000010 /*Multichannel Frame Mode Enable */
-#define FSDR 0x00000080 /*Multichannel Frame Sync to Data Relationship */
-#define MFD 0x0000F000 /*Multichannel Frame Delay */
-
-/* ********* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS **************** */
-
-/*// PPI_CONTROL Masks */
-#define PORT_EN 0x00000001 /* PPI Port Enable */
-#define PORT_DIR 0x00000002 /* PPI Port Direction */
-#define XFR_TYPE 0x0000000C /* PPI Transfer Type */
-#define PORT_CFG 0x00000030 /* PPI Port Configuration */
-#define FLD_SEL 0x00000040 /* PPI Active Field Select */
-#define PACK_EN 0x00000080 /* PPI Packing Mode */
-#define DMA32 0x00000100 /* PPI 32-bit DMA Enable */
-#define SKIP_EN 0x00000200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x00000400 /* PPI Skip Even/Odd Elements */
-#define DLENGTH 0x00003800 /* PPI Data Length */
-#define DLEN_8 0x0 /* PPI Data Length mask for DLEN=8 */
-#ifdef _MISRA_RULES
-#define DLEN(x) ((((x)-9u) & 0x07u) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#else
-#define DLEN(x) ((((x)-9) & 0x07) << 11) /* PPI Data Length (only works for x=10-->x=16) */
-#endif /* _MISRA_RULES */
-#define POL 0x0000C000 /* PPI Signal Polarities */
-
-
-/*// PPI_STATUS Masks */
-#define FLD 0x00000400 /* Field Indicator */
-#define FT_ERR 0x00000800 /* Frame Track Error */
-#define OVR 0x00001000 /* FIFO Overflow Error */
-#define UNDR 0x00002000 /* FIFO Underrun Error */
-#define ERR_DET 0x00004000 /* Error Detected Indicator */
-#define ERR_NCOR 0x00008000 /* Error Not Corrected Indicator */
-
-/* ********** DMA CONTROLLER MASKS *********************8 */
-
-/*//DMAx_CONFIG, MDMA_yy_CONFIG, IMDMA_yy_CONFIG Masks */
-#define DMAEN 0x00000001 /* Channel Enable */
-#define WNR 0x00000002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x00000000 /* Word Size 8 bits */
-#define WDSIZE_16 0x00000004 /* Word Size 16 bits */
-#define WDSIZE_32 0x00000008 /* Word Size 32 bits */
-#define DMA2D 0x00000010 /* 2D/1D* Mode */
-#define RESTART 0x00000020 /* Restart */
-#define DI_SEL 0x00000040 /* Data Interrupt Select */
-#define DI_EN 0x00000080 /* Data Interrupt Enable */
-#define NDSIZE 0x00000900 /* Next Descriptor Size */
-#define FLOW 0x00007000 /* Flow Control */
-
-
-#define DMAEN_P 0 /* Channel Enable */
-#define WNR_P 1 /* Channel Direction (W/R*) */
-#define DMA2D_P 4 /* 2D/1D* Mode */
-#define RESTART_P 5 /* Restart */
-#define DI_SEL_P 6 /* Data Interrupt Select */
-#define DI_EN_P 7 /* Data Interrupt Enable */
-
-/*//DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS, IMDMA_yy_IRQ_STATUS Masks */
-
-#define DMA_DONE 0x00000001 /* DMA Done Indicator */
-#define DMA_ERR 0x00000002 /* DMA Error Indicator */
-#define DFETCH 0x00000004 /* Descriptor Fetch Indicator */
-#define DMA_RUN 0x00000008 /* DMA Running Indicator */
-
-#define DMA_DONE_P 0 /* DMA Done Indicator */
-#define DMA_ERR_P 1 /* DMA Error Indicator */
-#define DFETCH_P 2 /* Descriptor Fetch Indicator */
-#define DMA_RUN_P 3 /* DMA Running Indicator */
-
-/*//DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP, IMDMA_yy_PERIPHERAL_MAP Masks */
-
-#define CTYPE 0x00000040 /* DMA Channel Type Indicator */
-#define CTYPE_P 6 /* DMA Channel Type Indicator BIT POSITION */
-#define PCAP8 0x00000080 /* DMA 8-bit Operation Indicator */
-#define PCAP16 0x00000100 /* DMA 16-bit Operation Indicator */
-#define PCAP32 0x00000200 /* DMA 32-bit Operation Indicator */
-#define PCAPWR 0x00000400 /* DMA Write Operation Indicator */
-#define PCAPRD 0x00000800 /* DMA Read Operation Indicator */
-#define PMAP 0x00007000 /* DMA Peripheral Map Field */
-
-/* ************* GENERAL PURPOSE TIMER MASKS ******************** */
-
-/* PWM Timer bit definitions */
-
-/* TIMER_ENABLE Register */
-#define TIMEN0 0x0001
-#define TIMEN1 0x0002
-#define TIMEN2 0x0004
-#define TIMEN3 0x0008
-#define TIMEN4 0x0010
-#define TIMEN5 0x0020
-#define TIMEN6 0x0040
-#define TIMEN7 0x0080
-#define TIMEN8 0x0001
-#define TIMEN9 0x0002
-#define TIMEN10 0x0004
-#define TIMEN11 0x0008
-
-#define TIMEN0_P 0x00
-#define TIMEN1_P 0x01
-#define TIMEN2_P 0x02
-#define TIMEN3_P 0x03
-#define TIMEN4_P 0x04
-#define TIMEN5_P 0x05
-#define TIMEN6_P 0x06
-#define TIMEN7_P 0x07
-#define TIMEN8_P 0x00
-#define TIMEN9_P 0x01
-#define TIMEN10_P 0x02
-#define TIMEN11_P 0x03
-
-/* TIMER_DISABLE Register */
-#define TIMDIS0 0x0001
-#define TIMDIS1 0x0002
-#define TIMDIS2 0x0004
-#define TIMDIS3 0x0008
-#define TIMDIS4 0x0010
-#define TIMDIS5 0x0020
-#define TIMDIS6 0x0040
-#define TIMDIS7 0x0080
-#define TIMDIS8 0x0001
-#define TIMDIS9 0x0002
-#define TIMDIS10 0x0004
-#define TIMDIS11 0x0008
-
-#define TIMDIS0_P 0x00
-#define TIMDIS1_P 0x01
-#define TIMDIS2_P 0x02
-#define TIMDIS3_P 0x03
-#define TIMDIS4_P 0x04
-#define TIMDIS5_P 0x05
-#define TIMDIS6_P 0x06
-#define TIMDIS7_P 0x07
-#define TIMDIS8_P 0x00
-#define TIMDIS9_P 0x01
-#define TIMDIS10_P 0x02
-#define TIMDIS11_P 0x03
-
-/* TIMER_STATUS Register */
-#define TIMIL0 0x00000001
-#define TIMIL1 0x00000002
-#define TIMIL2 0x00000004
-#define TIMIL3 0x00000008
-#define TIMIL4 0x00010000
-#define TIMIL5 0x00020000
-#define TIMIL6 0x00040000
-#define TIMIL7 0x00080000
-#define TIMIL8 0x0001
-#define TIMIL9 0x0002
-#define TIMIL10 0x0004
-#define TIMIL11 0x0008
-#define TOVF_ERR0 0x00000010
-#define TOVF_ERR1 0x00000020
-#define TOVF_ERR2 0x00000040
-#define TOVF_ERR3 0x00000080
-#define TOVF_ERR4 0x00100000
-#define TOVF_ERR5 0x00200000
-#define TOVF_ERR6 0x00400000
-#define TOVF_ERR7 0x00800000
-#define TOVF_ERR8 0x0010
-#define TOVF_ERR9 0x0020
-#define TOVF_ERR10 0x0040
-#define TOVF_ERR11 0x0080
-#define TRUN0 0x00001000
-#define TRUN1 0x00002000
-#define TRUN2 0x00004000
-#define TRUN3 0x00008000
-#define TRUN4 0x10000000
-#define TRUN5 0x20000000
-#define TRUN6 0x40000000
-#define TRUN7 0x80000000
-#define TRUN8 0x1000
-#define TRUN9 0x2000
-#define TRUN10 0x4000
-#define TRUN11 0x8000
-
-#define TIMIL0_P 0x00
-#define TIMIL1_P 0x01
-#define TIMIL2_P 0x02
-#define TIMIL3_P 0x03
-#define TIMIL4_P 0x10
-#define TIMIL5_P 0x11
-#define TIMIL6_P 0x12
-#define TIMIL7_P 0x13
-#define TIMIL8_P 0x00
-#define TIMIL9_P 0x01
-#define TIMIL10_P 0x02
-#define TIMIL11_P 0x03
-#define TOVF_ERR0_P 0x04
-#define TOVF_ERR1_P 0x05
-#define TOVF_ERR2_P 0x06
-#define TOVF_ERR3_P 0x07
-#define TOVF_ERR4_P 0x14
-#define TOVF_ERR5_P 0x15
-#define TOVF_ERR6_P 0x16
-#define TOVF_ERR7_P 0x17
-#define TOVF_ERR8_P 0x04
-#define TOVF_ERR9_P 0x05
-#define TOVF_ERR10_P 0x06
-#define TOVF_ERR11_P 0x07
-#define TRUN0_P 0x0C
-#define TRUN1_P 0x0D
-#define TRUN2_P 0x0E
-#define TRUN3_P 0x0F
-#define TRUN4_P 0x1C
-#define TRUN5_P 0x1D
-#define TRUN6_P 0x1E
-#define TRUN7_P 0x1F
-#define TRUN8_P 0x0C
-#define TRUN9_P 0x0D
-#define TRUN10_P 0x0E
-#define TRUN11_P 0x0F
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-#define TOVL_ERR3 TOVF_ERR3
-#define TOVL_ERR4 TOVF_ERR4
-#define TOVL_ERR5 TOVF_ERR5
-#define TOVL_ERR6 TOVF_ERR6
-#define TOVL_ERR7 TOVF_ERR7
-#define TOVL_ERR8 TOVF_ERR8
-#define TOVL_ERR9 TOVF_ERR9
-#define TOVL_ERR10 TOVF_ERR10
-#define TOVL_ERR11 TOVF_ERR11
-#define TOVL_ERR0_P TOVF_ERR0_P
-#define TOVL_ERR1_P TOVF_ERR1_P
-#define TOVL_ERR2_P TOVF_ERR2_P
-#define TOVL_ERR3_P TOVF_ERR3_P
-#define TOVL_ERR4_P TOVF_ERR4_P
-#define TOVL_ERR5_P TOVF_ERR5_P
-#define TOVL_ERR6_P TOVF_ERR6_P
-#define TOVL_ERR7_P TOVF_ERR7_P
-#define TOVL_ERR8_P TOVF_ERR8_P
-#define TOVL_ERR9_P TOVF_ERR9_P
-#define TOVL_ERR10_P TOVF_ERR10_P
-#define TOVL_ERR11_P TOVF_ERR11_P
-
-/* TIMERx_CONFIG Registers */
-#define PWM_OUT 0x0001
-#define WDTH_CAP 0x0002
-#define EXT_CLK 0x0003
-#define PULSE_HI 0x0004
-#define PERIOD_CNT 0x0008
-#define IRQ_ENA 0x0010
-#define TIN_SEL 0x0020
-#define OUT_DIS 0x0040
-#define CLK_SEL 0x0080
-#define TOGGLE_HI 0x0100
-#define EMU_RUN 0x0200
-#ifdef _MISRA_RULES
-#define ERR_TYP(x) (((x) & 0x03u) << 14)
-#else
-#define ERR_TYP(x) (((x) & 0x03) << 14)
-#endif /* _MISRA_RULES */
-
-#define TMODE_P0 0x00
-#define TMODE_P1 0x01
-#define PULSE_HI_P 0x02
-#define PERIOD_CNT_P 0x03
-#define IRQ_ENA_P 0x04
-#define TIN_SEL_P 0x05
-#define OUT_DIS_P 0x06
-#define CLK_SEL_P 0x07
-#define TOGGLE_HI_P 0x08
-#define EMU_RUN_P 0x09
-#define ERR_TYP_P0 0x0E
-#define ERR_TYP_P1 0x0F
-
-
-/*/ ****************** PROGRAMMABLE FLAG MASKS ********************* */
-
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-
-/* General Purpose IO (0xFFC00700 - 0xFFC007FF) BIT POSITIONS */
-#define PF0_P 0
-#define PF1_P 1
-#define PF2_P 2
-#define PF3_P 3
-#define PF4_P 4
-#define PF5_P 5
-#define PF6_P 6
-#define PF7_P 7
-#define PF8_P 8
-#define PF9_P 9
-#define PF10_P 10
-#define PF11_P 11
-#define PF12_P 12
-#define PF13_P 13
-#define PF14_P 14
-#define PF15_P 15
-
-/* *********** SERIAL PERIPHERAL INTERFACE (SPI) MASKS **************** */
-
-/*// SPI_CTL Masks */
-#define TIMOD 0x00000003 /* Transfer initiation mode and interrupt generation */
-#define SZ 0x00000004 /* Send Zero (=0) or last (=1) word when TDBR empty. */
-#define GM 0x00000008 /* When RDBR full, get more (=1) data or discard (=0) incoming Data */
-#define PSSE 0x00000010 /* Enable (=1) Slave-Select input for Master. */
-#define EMISO 0x00000020 /* Enable (=1) MISO pin as an output. */
-#define SIZE 0x00000100 /* Word length (0 => 8 bits, 1 => 16 bits) */
-#define LSBF 0x00000200 /* Data format (0 => MSB sent/received first 1 => LSB sent/received first) */
-#define CPHA 0x00000400 /* Clock phase (0 => SPICLK starts toggling in middle of xfer, 1 => SPICLK toggles at the beginning of xfer. */
-#define CPOL 0x00000800 /* Clock polarity (0 => active-high, 1 => active-low) */
-#define MSTR 0x00001000 /* Configures SPI as master (=1) or slave (=0) */
-#define WOM 0x00002000 /* Open drain (=1) data output enable (for MOSI and MISO) */
-#define SPE 0x00004000 /* SPI module enable (=1), disable (=0) */
-
-/*// SPI_FLG Masks */
-#define FLS1 0x00000002 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2 0x00000004 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3 0x00000008 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4 0x00000010 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5 0x00000020 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6 0x00000040 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7 0x00000080 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1 0x00000200 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2 0x00000400 /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3 0x00000800 /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4 0x00001000 /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5 0x00002000 /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6 0x00004000 /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7 0x00008000 /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/*// SPI_FLG Bit Positions */
-#define FLS1_P 0x00000001 /* Enables (=1) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLS2_P 0x00000002 /* Enables (=1) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLS3_P 0x00000003 /* Enables (=1) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLS4_P 0x00000004 /* Enables (=1) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLS5_P 0x00000005 /* Enables (=1) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLS6_P 0x00000006 /* Enables (=1) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLS7_P 0x00000007 /* Enables (=1) SPI_FLOUT7 as flag output for SPI Slave-select */
-#define FLG1_P 0x00000009 /* Activates (=0) SPI_FLOUT1 as flag output for SPI Slave-select */
-#define FLG2_P 0x0000000A /* Activates (=0) SPI_FLOUT2 as flag output for SPI Slave-select */
-#define FLG3_P 0x0000000B /* Activates (=0) SPI_FLOUT3 as flag output for SPI Slave-select */
-#define FLG4_P 0x0000000C /* Activates (=0) SPI_FLOUT4 as flag output for SPI Slave-select */
-#define FLG5_P 0x0000000D /* Activates (=0) SPI_FLOUT5 as flag output for SPI Slave-select */
-#define FLG6_P 0x0000000E /* Activates (=0) SPI_FLOUT6 as flag output for SPI Slave-select */
-#define FLG7_P 0x0000000F /* Activates (=0) SPI_FLOUT7 as flag output for SPI Slave-select */
-
-/*// SPI_STAT Masks */
-#define SPIF 0x00000001 /* Set (=1) when SPI single-word transfer complete */
-#define MODF 0x00000002 /* Set (=1) in a master device when some other device tries to become master */
-#define TXE 0x00000004 /* Set (=1) when transmission occurs with no new data in SPI_TDBR */
-#define TXS 0x00000008 /* SPI_TDBR Data Buffer Status (0=Empty, 1=Full) */
-#define RBSY 0x00000010 /* Set (=1) when data is received with RDBR full */
-#define RXS 0x00000020 /* SPI_RDBR Data Buffer Status (0=Empty, 1=Full) */
-#define TXCOL 0x00000040 /* When set (=1), corrupt data may have been transmitted */
-
-/* ********************* ASYNCHRONOUS MEMORY CONTROLLER MASKS ************* */
-
-/* AMGCTL Masks */
-#define AMCKEN 0x0001 /* Enable CLKOUT */
-#define AMBEN_B0 0x0002 /* Enable Asynchronous Memory Bank 0 only */
-#define AMBEN_B0_B1 0x0004 /* Enable Asynchronous Memory Banks 0 & 1 only */
-#define AMBEN_B0_B1_B2 0x0006 /* Enable Asynchronous Memory Banks 0, 1, and 2 */
-#define AMBEN_ALL 0x0008 /* Enable Asynchronous Memory Banks (all) 0, 1, 2, and 3 */
-#define B0_PEN 0x0010 /* Enable 16-bit packing Bank 0 */
-#define B1_PEN 0x0020 /* Enable 16-bit packing Bank 1 */
-#define B2_PEN 0x0040 /* Enable 16-bit packing Bank 2 */
-#define B3_PEN 0x0080 /* Enable 16-bit packing Bank 3 */
-
-/* AMGCTL Bit Positions */
-#define AMCKEN_P 0x0000 /* Enable CLKOUT */
-#define AMBEN_P0 0x0001 /* Asynchronous Memory Enable, 000 - banks 0-3 disabled, 001 - Bank 0 enabled */
-#define AMBEN_P1 0x0002 /* Asynchronous Memory Enable, 010 - banks 0&1 enabled, 011 - banks 0-3 enabled */
-#define AMBEN_P2 0x0003 /* Asynchronous Memory Enable, 1xx - All banks (bank 0, 1, 2, and 3) enabled */
-#define B0_PEN_P 0x0004 /* Enable 16-bit packing Bank 0 */
-#define B1_PEN_P 0x0005 /* Enable 16-bit packing Bank 1 */
-#define B2_PEN_P 0x0006 /* Enable 16-bit packing Bank 2 */
-#define B3_PEN_P 0x0007 /* Enable 16-bit packing Bank 3 */
-#define CDPRIO 0x0100 /* DMA has priority over core for for external accesses */
-
-/* AMBCTL0 Masks */
-#define B0RDYEN 0x00000001 /* Bank 0 RDY Enable, 0=disable, 1=enable */
-#define B0RDYPOL 0x00000002 /* Bank 0 RDY Active high, 0=active low, 1=active high */
-#define B0TT_1 0x00000004 /* Bank 0 Transition Time from Read to Write = 1 cycle */
-#define B0TT_2 0x00000008 /* Bank 0 Transition Time from Read to Write = 2 cycles */
-#define B0TT_3 0x0000000C /* Bank 0 Transition Time from Read to Write = 3 cycles */
-#define B0TT_4 0x00000000 /* Bank 0 Transition Time from Read to Write = 4 cycles */
-#define B0ST_1 0x00000010 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=1 cycle */
-#define B0ST_2 0x00000020 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=2 cycles */
-#define B0ST_3 0x00000030 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=3 cycles */
-#define B0ST_4 0x00000000 /* Bank 0 Setup Time from AOE asserted to Read/Write asserted=4 cycles */
-#define B0HT_1 0x00000040 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 1 cycle */
-#define B0HT_2 0x00000080 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 2 cycles */
-#define B0HT_3 0x000000C0 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 3 cycles */
-#define B0HT_0 0x00000000 /* Bank 0 Hold Time from Read/Write deasserted to AOE deasserted = 0 cycles */
-#define B0RAT_1 0x00000100 /* Bank 0 Read Access Time = 1 cycle */
-#define B0RAT_2 0x00000200 /* Bank 0 Read Access Time = 2 cycles */
-#define B0RAT_3 0x00000300 /* Bank 0 Read Access Time = 3 cycles */
-#define B0RAT_4 0x00000400 /* Bank 0 Read Access Time = 4 cycles */
-#define B0RAT_5 0x00000500 /* Bank 0 Read Access Time = 5 cycles */
-#define B0RAT_6 0x00000600 /* Bank 0 Read Access Time = 6 cycles */
-#define B0RAT_7 0x00000700 /* Bank 0 Read Access Time = 7 cycles */
-#define B0RAT_8 0x00000800 /* Bank 0 Read Access Time = 8 cycles */
-#define B0RAT_9 0x00000900 /* Bank 0 Read Access Time = 9 cycles */
-#define B0RAT_10 0x00000A00 /* Bank 0 Read Access Time = 10 cycles */
-#define B0RAT_11 0x00000B00 /* Bank 0 Read Access Time = 11 cycles */
-#define B0RAT_12 0x00000C00 /* Bank 0 Read Access Time = 12 cycles */
-#define B0RAT_13 0x00000D00 /* Bank 0 Read Access Time = 13 cycles */
-#define B0RAT_14 0x00000E00 /* Bank 0 Read Access Time = 14 cycles */
-#define B0RAT_15 0x00000F00 /* Bank 0 Read Access Time = 15 cycles */
-#define B0WAT_1 0x00001000 /* Bank 0 Write Access Time = 1 cycle */
-#define B0WAT_2 0x00002000 /* Bank 0 Write Access Time = 2 cycles */
-#define B0WAT_3 0x00003000 /* Bank 0 Write Access Time = 3 cycles */
-#define B0WAT_4 0x00004000 /* Bank 0 Write Access Time = 4 cycles */
-#define B0WAT_5 0x00005000 /* Bank 0 Write Access Time = 5 cycles */
-#define B0WAT_6 0x00006000 /* Bank 0 Write Access Time = 6 cycles */
-#define B0WAT_7 0x00007000 /* Bank 0 Write Access Time = 7 cycles */
-#define B0WAT_8 0x00008000 /* Bank 0 Write Access Time = 8 cycles */
-#define B0WAT_9 0x00009000 /* Bank 0 Write Access Time = 9 cycles */
-#define B0WAT_10 0x0000A000 /* Bank 0 Write Access Time = 10 cycles */
-#define B0WAT_11 0x0000B000 /* Bank 0 Write Access Time = 11 cycles */
-#define B0WAT_12 0x0000C000 /* Bank 0 Write Access Time = 12 cycles */
-#define B0WAT_13 0x0000D000 /* Bank 0 Write Access Time = 13 cycles */
-#define B0WAT_14 0x0000E000 /* Bank 0 Write Access Time = 14 cycles */
-#define B0WAT_15 0x0000F000 /* Bank 0 Write Access Time = 15 cycles */
-#define B1RDYEN 0x00010000 /* Bank 1 RDY enable, 0=disable, 1=enable */
-#define B1RDYPOL 0x00020000 /* Bank 1 RDY Active high, 0=active low, 1=active high */
-#define B1TT_1 0x00040000 /* Bank 1 Transition Time from Read to Write = 1 cycle */
-#define B1TT_2 0x00080000 /* Bank 1 Transition Time from Read to Write = 2 cycles */
-#define B1TT_3 0x000C0000 /* Bank 1 Transition Time from Read to Write = 3 cycles */
-#define B1TT_4 0x00000000 /* Bank 1 Transition Time from Read to Write = 4 cycles */
-#define B1ST_1 0x00100000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B1ST_2 0x00200000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B1ST_3 0x00300000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B1ST_4 0x00000000 /* Bank 1 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B1HT_1 0x00400000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B1HT_2 0x00800000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B1HT_3 0x00C00000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B1HT_0 0x00000000 /* Bank 1 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B1RAT_1 0x01000000 /* Bank 1 Read Access Time = 1 cycle */
-#define B1RAT_2 0x02000000 /* Bank 1 Read Access Time = 2 cycles */
-#define B1RAT_3 0x03000000 /* Bank 1 Read Access Time = 3 cycles */
-#define B1RAT_4 0x04000000 /* Bank 1 Read Access Time = 4 cycles */
-#define B1RAT_5 0x05000000 /* Bank 1 Read Access Time = 5 cycles */
-#define B1RAT_6 0x06000000 /* Bank 1 Read Access Time = 6 cycles */
-#define B1RAT_7 0x07000000 /* Bank 1 Read Access Time = 7 cycles */
-#define B1RAT_8 0x08000000 /* Bank 1 Read Access Time = 8 cycles */
-#define B1RAT_9 0x09000000 /* Bank 1 Read Access Time = 9 cycles */
-#define B1RAT_10 0x0A000000 /* Bank 1 Read Access Time = 10 cycles */
-#define B1RAT_11 0x0B000000 /* Bank 1 Read Access Time = 11 cycles */
-#define B1RAT_12 0x0C000000 /* Bank 1 Read Access Time = 12 cycles */
-#define B1RAT_13 0x0D000000 /* Bank 1 Read Access Time = 13 cycles */
-#define B1RAT_14 0x0E000000 /* Bank 1 Read Access Time = 14 cycles */
-#define B1RAT_15 0x0F000000 /* Bank 1 Read Access Time = 15 cycles */
-#define B1WAT_1 0x10000000 /* Bank 1 Write Access Time = 1 cycle */
-#define B1WAT_2 0x20000000 /* Bank 1 Write Access Time = 2 cycles */
-#define B1WAT_3 0x30000000 /* Bank 1 Write Access Time = 3 cycles */
-#define B1WAT_4 0x40000000 /* Bank 1 Write Access Time = 4 cycles */
-#define B1WAT_5 0x50000000 /* Bank 1 Write Access Time = 5 cycles */
-#define B1WAT_6 0x60000000 /* Bank 1 Write Access Time = 6 cycles */
-#define B1WAT_7 0x70000000 /* Bank 1 Write Access Time = 7 cycles */
-#define B1WAT_8 0x80000000 /* Bank 1 Write Access Time = 8 cycles */
-#define B1WAT_9 0x90000000 /* Bank 1 Write Access Time = 9 cycles */
-#define B1WAT_10 0xA0000000 /* Bank 1 Write Access Time = 10 cycles */
-#define B1WAT_11 0xB0000000 /* Bank 1 Write Access Time = 11 cycles */
-#define B1WAT_12 0xC0000000 /* Bank 1 Write Access Time = 12 cycles */
-#define B1WAT_13 0xD0000000 /* Bank 1 Write Access Time = 13 cycles */
-#define B1WAT_14 0xE0000000 /* Bank 1 Write Access Time = 14 cycles */
-#define B1WAT_15 0xF0000000 /* Bank 1 Write Access Time = 15 cycles */
-
-/* AMBCTL1 Masks */
-#define B2RDYEN 0x00000001 /* Bank 2 RDY Enable, 0=disable, 1=enable */
-#define B2RDYPOL 0x00000002 /* Bank 2 RDY Active high, 0=active low, 1=active high */
-#define B2TT_1 0x00000004 /* Bank 2 Transition Time from Read to Write = 1 cycle */
-#define B2TT_2 0x00000008 /* Bank 2 Transition Time from Read to Write = 2 cycles */
-#define B2TT_3 0x0000000C /* Bank 2 Transition Time from Read to Write = 3 cycles */
-#define B2TT_4 0x00000000 /* Bank 2 Transition Time from Read to Write = 4 cycles */
-#define B2ST_1 0x00000010 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B2ST_2 0x00000020 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B2ST_3 0x00000030 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B2ST_4 0x00000000 /* Bank 2 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B2HT_1 0x00000040 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B2HT_2 0x00000080 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B2HT_3 0x000000C0 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B2HT_0 0x00000000 /* Bank 2 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B2RAT_1 0x00000100 /* Bank 2 Read Access Time = 1 cycle */
-#define B2RAT_2 0x00000200 /* Bank 2 Read Access Time = 2 cycles */
-#define B2RAT_3 0x00000300 /* Bank 2 Read Access Time = 3 cycles */
-#define B2RAT_4 0x00000400 /* Bank 2 Read Access Time = 4 cycles */
-#define B2RAT_5 0x00000500 /* Bank 2 Read Access Time = 5 cycles */
-#define B2RAT_6 0x00000600 /* Bank 2 Read Access Time = 6 cycles */
-#define B2RAT_7 0x00000700 /* Bank 2 Read Access Time = 7 cycles */
-#define B2RAT_8 0x00000800 /* Bank 2 Read Access Time = 8 cycles */
-#define B2RAT_9 0x00000900 /* Bank 2 Read Access Time = 9 cycles */
-#define B2RAT_10 0x00000A00 /* Bank 2 Read Access Time = 10 cycles */
-#define B2RAT_11 0x00000B00 /* Bank 2 Read Access Time = 11 cycles */
-#define B2RAT_12 0x00000C00 /* Bank 2 Read Access Time = 12 cycles */
-#define B2RAT_13 0x00000D00 /* Bank 2 Read Access Time = 13 cycles */
-#define B2RAT_14 0x00000E00 /* Bank 2 Read Access Time = 14 cycles */
-#define B2RAT_15 0x00000F00 /* Bank 2 Read Access Time = 15 cycles */
-#define B2WAT_1 0x00001000 /* Bank 2 Write Access Time = 1 cycle */
-#define B2WAT_2 0x00002000 /* Bank 2 Write Access Time = 2 cycles */
-#define B2WAT_3 0x00003000 /* Bank 2 Write Access Time = 3 cycles */
-#define B2WAT_4 0x00004000 /* Bank 2 Write Access Time = 4 cycles */
-#define B2WAT_5 0x00005000 /* Bank 2 Write Access Time = 5 cycles */
-#define B2WAT_6 0x00006000 /* Bank 2 Write Access Time = 6 cycles */
-#define B2WAT_7 0x00007000 /* Bank 2 Write Access Time = 7 cycles */
-#define B2WAT_8 0x00008000 /* Bank 2 Write Access Time = 8 cycles */
-#define B2WAT_9 0x00009000 /* Bank 2 Write Access Time = 9 cycles */
-#define B2WAT_10 0x0000A000 /* Bank 2 Write Access Time = 10 cycles */
-#define B2WAT_11 0x0000B000 /* Bank 2 Write Access Time = 11 cycles */
-#define B2WAT_12 0x0000C000 /* Bank 2 Write Access Time = 12 cycles */
-#define B2WAT_13 0x0000D000 /* Bank 2 Write Access Time = 13 cycles */
-#define B2WAT_14 0x0000E000 /* Bank 2 Write Access Time = 14 cycles */
-#define B2WAT_15 0x0000F000 /* Bank 2 Write Access Time = 15 cycles */
-#define B3RDYEN 0x00010000 /* Bank 3 RDY enable, 0=disable, 1=enable */
-#define B3RDYPOL 0x00020000 /* Bank 3 RDY Active high, 0=active low, 1=active high */
-#define B3TT_1 0x00040000 /* Bank 3 Transition Time from Read to Write = 1 cycle */
-#define B3TT_2 0x00080000 /* Bank 3 Transition Time from Read to Write = 2 cycles */
-#define B3TT_3 0x000C0000 /* Bank 3 Transition Time from Read to Write = 3 cycles */
-#define B3TT_4 0x00000000 /* Bank 3 Transition Time from Read to Write = 4 cycles */
-#define B3ST_1 0x00100000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 1 cycle */
-#define B3ST_2 0x00200000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 2 cycles */
-#define B3ST_3 0x00300000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 3 cycles */
-#define B3ST_4 0x00000000 /* Bank 3 Setup Time from AOE asserted to Read or Write asserted = 4 cycles */
-#define B3HT_1 0x00400000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 1 cycle */
-#define B3HT_2 0x00800000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 2 cycles */
-#define B3HT_3 0x00C00000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 3 cycles */
-#define B3HT_0 0x00000000 /* Bank 3 Hold Time from Read or Write deasserted to AOE deasserted = 0 cycles */
-#define B3RAT_1 0x01000000 /* Bank 3 Read Access Time = 1 cycle */
-#define B3RAT_2 0x02000000 /* Bank 3 Read Access Time = 2 cycles */
-#define B3RAT_3 0x03000000 /* Bank 3 Read Access Time = 3 cycles */
-#define B3RAT_4 0x04000000 /* Bank 3 Read Access Time = 4 cycles */
-#define B3RAT_5 0x05000000 /* Bank 3 Read Access Time = 5 cycles */
-#define B3RAT_6 0x06000000 /* Bank 3 Read Access Time = 6 cycles */
-#define B3RAT_7 0x07000000 /* Bank 3 Read Access Time = 7 cycles */
-#define B3RAT_8 0x08000000 /* Bank 3 Read Access Time = 8 cycles */
-#define B3RAT_9 0x09000000 /* Bank 3 Read Access Time = 9 cycles */
-#define B3RAT_10 0x0A000000 /* Bank 3 Read Access Time = 10 cycles */
-#define B3RAT_11 0x0B000000 /* Bank 3 Read Access Time = 11 cycles */
-#define B3RAT_12 0x0C000000 /* Bank 3 Read Access Time = 12 cycles */
-#define B3RAT_13 0x0D000000 /* Bank 3 Read Access Time = 13 cycles */
-#define B3RAT_14 0x0E000000 /* Bank 3 Read Access Time = 14 cycles */
-#define B3RAT_15 0x0F000000 /* Bank 3 Read Access Time = 15 cycles */
-#define B3WAT_1 0x10000000 /* Bank 3 Write Access Time = 1 cycle */
-#define B3WAT_2 0x20000000 /* Bank 3 Write Access Time = 2 cycles */
-#define B3WAT_3 0x30000000 /* Bank 3 Write Access Time = 3 cycles */
-#define B3WAT_4 0x40000000 /* Bank 3 Write Access Time = 4 cycles */
-#define B3WAT_5 0x50000000 /* Bank 3 Write Access Time = 5 cycles */
-#define B3WAT_6 0x60000000 /* Bank 3 Write Access Time = 6 cycles */
-#define B3WAT_7 0x70000000 /* Bank 3 Write Access Time = 7 cycles */
-#define B3WAT_8 0x80000000 /* Bank 3 Write Access Time = 8 cycles */
-#define B3WAT_9 0x90000000 /* Bank 3 Write Access Time = 9 cycles */
-#define B3WAT_10 0xA0000000 /* Bank 3 Write Access Time = 10 cycles */
-#define B3WAT_11 0xB0000000 /* Bank 3 Write Access Time = 11 cycles */
-#define B3WAT_12 0xC0000000 /* Bank 3 Write Access Time = 12 cycles */
-#define B3WAT_13 0xD0000000 /* Bank 3 Write Access Time = 13 cycles */
-#define B3WAT_14 0xE0000000 /* Bank 3 Write Access Time = 14 cycles */
-#define B3WAT_15 0xF0000000 /* Bank 3 Write Access Time = 15 cycles */
-
-
-/* ********************** SDRAM CONTROLLER MASKS *************************** */
-
-/* EBIU_SDGCTL Masks */
-#define PASR_ALL 0x00000000 /* All 4 SDRAM Banks Refreshed In Self-Refresh */
-#define PASR_B0_B1 0x00000010 /* SDRAM Banks 0 and 1 Are Refreshed In Self-Refresh */
-#define PASR_B0 0x00000020 /* Only SDRAM Bank 0 Is Refreshed In Self-Refresh */
-#define SCTLE 0x00000001 /* Enable SCLK[0], /SRAS, /SCAS, /SWE, SDQM[3:0] */
-#define CL_2 0x00000008 /* SDRAM CAS latency = 2 cycles */
-#define CL_3 0x0000000C /* SDRAM CAS latency = 3 cycles */
-#define CL 0x0000000C /* SDRAM CAS latency */
-#define PFE 0x00000010 /* Enable SDRAM prefetch */
-#define PFP 0x00000020 /* Prefetch has priority over AMC requests */
-#define PASR 0x00000030 /* SDRAM partial array self-refresh */
-#define TRAS_1 0x00000040 /* SDRAM tRAS = 1 cycle */
-#define TRAS_2 0x00000080 /* SDRAM tRAS = 2 cycles */
-#define TRAS_3 0x000000C0 /* SDRAM tRAS = 3 cycles */
-#define TRAS_4 0x00000100 /* SDRAM tRAS = 4 cycles */
-#define TRAS_5 0x00000140 /* SDRAM tRAS = 5 cycles */
-#define TRAS_6 0x00000180 /* SDRAM tRAS = 6 cycles */
-#define TRAS_7 0x000001C0 /* SDRAM tRAS = 7 cycles */
-#define TRAS_8 0x00000200 /* SDRAM tRAS = 8 cycles */
-#define TRAS_9 0x00000240 /* SDRAM tRAS = 9 cycles */
-#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
-#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
-#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
-#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
-#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
-#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
-#define TRAS 0x000003C0 /* SDRAM tRAS in SCLK cycles */
-#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
-#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
-#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
-#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
-#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
-#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
-#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
-#define TRP 0x00003800 /* SDRAM tRP in SCLK cycles */
-#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
-#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
-#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
-#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
-#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
-#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
-#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
-#define TRCD 0x00030000 /* SDRAM tRCD in SCLK cycles */
-#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
-#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
-#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
-#define TWR 0x00180000 /* SDRAM tWR in SCLK cycles */
-#define PUPSD 0x00200000 /*Power-up start delay */
-#define PSM 0x00400000 /* SDRAM power-up sequence = Precharge, mode register set, 8 CBR refresh cycles */
-#define PSS 0x00800000 /* enable SDRAM power-up sequence on next SDRAM access */
-#define SRFS 0x01000000 /* Start SDRAM self-refresh mode */
-#define EBUFE 0x02000000 /* Enable external buffering timing */
-#define FBBRW 0x04000000 /* Fast back-to-back read write enable */
-#define EMREN 0x10000000 /* Extended mode register enable */
-#define TCSR 0x20000000 /* Temp compensated self refresh value 85 deg C */
-#define CDDBG 0x40000000 /* Tristate SDRAM controls during bus grant */
-
-/* EBIU_SDBCTL Masks */
-#define EBSZ 0x000E /* SDRAM external bank size */
-#define EBCAW 0x0030 /* SDRAM external bank column address width */
-#define EB0_E 0x00000001 /* Enable SDRAM external bank 0 */
-#define EB0_SZ_16 0x00000000 /* SDRAM external bank size = 16MB */
-#define EB0_SZ_32 0x00000002 /* SDRAM external bank size = 32MB */
-#define EB0_SZ_64 0x00000004 /* SDRAM external bank size = 64MB */
-#define EB0_SZ_128 0x00000006 /* SDRAM external bank size = 128MB */
-#define EB0_CAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
-#define EB0_CAW_9 0x00000010 /* SDRAM external bank column address width = 9 bits */
-#define EB0_CAW_10 0x00000020 /* SDRAM external bank column address width = 9 bits */
-#define EB0_CAW_11 0x00000030 /* SDRAM external bank column address width = 9 bits */
-
-#define EB1_E 0x00000100 /* Enable SDRAM external bank 1 */
-#define EB1__SZ_16 0x00000000 /* SDRAM external bank size = 16MB */
-#define EB1__SZ_32 0x00000200 /* SDRAM external bank size = 32MB */
-#define EB1__SZ_64 0x00000400 /* SDRAM external bank size = 64MB */
-#define EB1__SZ_128 0x00000600 /* SDRAM external bank size = 128MB */
-#define EB1__CAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
-#define EB1__CAW_9 0x00001000 /* SDRAM external bank column address width = 9 bits */
-#define EB1__CAW_10 0x00002000 /* SDRAM external bank column address width = 9 bits */
-#define EB1__CAW_11 0x00003000 /* SDRAM external bank column address width = 9 bits */
-
-#define EB2__E 0x00010000 /* Enable SDRAM external bank 2 */
-#define EB2__SZ_16 0x00000000 /* SDRAM external bank size = 16MB */
-#define EB2__SZ_32 0x00020000 /* SDRAM external bank size = 32MB */
-#define EB2__SZ_64 0x00040000 /* SDRAM external bank size = 64MB */
-#define EB2__SZ_128 0x00060000 /* SDRAM external bank size = 128MB */
-#define EB2__CAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
-#define EB2__CAW_9 0x00100000 /* SDRAM external bank column address width = 9 bits */
-#define EB2__CAW_10 0x00200000 /* SDRAM external bank column address width = 9 bits */
-#define EB2__CAW_11 0x00300000 /* SDRAM external bank column address width = 9 bits */
-
-#define EB3__E 0x01000000 /* Enable SDRAM external bank 3 */
-#define EB3__SZ_16 0x00000000 /* SDRAM external bank size = 16MB */
-#define EB3__SZ_32 0x02000000 /* SDRAM external bank size = 32MB */
-#define EB3__SZ_64 0x04000000 /* SDRAM external bank size = 64MB */
-#define EB3__SZ_128 0x06000000 /* SDRAM external bank size = 128MB */
-#define EB3__CAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
-#define EB3__CAW_9 0x10000000 /* SDRAM external bank column address width = 9 bits */
-#define EB3__CAW_10 0x20000000 /* SDRAM external bank column address width = 9 bits */
-#define EB3__CAW_11 0x30000000 /* SDRAM external bank column address width = 9 bits */
-
-/* EBIU_SDSTAT Masks */
-#define SDCI 0x00000001 /* SDRAM controller is idle */
-#define SDSRA 0x00000002 /* SDRAM SDRAM self refresh is active */
-#define SDPUA 0x00000004 /* SDRAM power up active */
-#define SDRS 0x00000008 /* SDRAM is in reset state */
-#define SDEASE 0x00000010 /* SDRAM EAB sticky error status - W1C */
-#define BGSTAT 0x00000020 /* Bus granted */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF561_H */
diff --git a/libgloss/bfin/include/defBF592-A.h b/libgloss/bfin/include/defBF592-A.h
deleted file mode 100644
index b815144..0000000
--- a/libgloss/bfin/include/defBF592-A.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the ADSP-BF592-A peripherals.
-**
-** Copyright (C) 2009 Analog Devices Inc., All Rights Reserved.
-*/
-
-#ifndef _DEF_BF592A_H
-#define _DEF_BF592A_H
-
-/* include the core specific definitions */
-#include <def_LPBlackfin.h>
-
-/* include the family common definitions */
-#include <defBF59x_base.h>
-
-#endif /* _DEF_BF592A_H */
diff --git a/libgloss/bfin/include/defBF59x_base.h b/libgloss/bfin/include/defBF59x_base.h
deleted file mode 100644
index 4e419f4..0000000
--- a/libgloss/bfin/include/defBF59x_base.h
+++ /dev/null
@@ -1,1111 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** defBF59x_base.h
-**
-** Copyright (C) 2009-2010 Analog Devices Inc., All Rights Reserved.
-**
-************************************************************************************
-**
-** This include file contains a list of macro "defines" to enable the programmer
-** to use symbolic names for the registers common to the ADSP-BF59x peripherals.
-**
-************************************************************************************
-** System MMR Register Map
-************************************************************************************/
-
-#ifndef _DEF_BF59x_H
-#define _DEF_BF59x_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#include <stdint.h>
-#endif /* _MISRA_RULES */
-
-
-/* ************************************************************************************************************** */
-/* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF59x */
-/* ************************************************************************************************************** */
-
-/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
-#define PLL_CTL 0xFFC00000 /* PLL Control Register */
-#define PLL_DIV 0xFFC00004 /* PLL Divide Register */
-#define VR_CTL 0xFFC00008 /* Voltage Regulator Control Register */
-#define PLL_STAT 0xFFC0000C /* PLL Status Register */
-#define PLL_LOCKCNT 0xFFC00010 /* PLL Lock Count Register */
-#define CHIPID 0xFFC00014 /* Device ID Register */
-#define AUX_REVID 0xFFC00108 /* Auxiliary Revision ID Register */
-
-/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
-#define SWRST 0xFFC00100 /* Software Reset Register */
-#define SYSCR 0xFFC00104 /* System Configuration Register */
-
-#define SIC_IMASK0 0xFFC0010C /* Interrupt Mask Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IMASK SIC_IMASK0
-#define SIC_IAR0 0xFFC00110 /* Interrupt Assignment Register 0 */
-#define SIC_IAR1 0xFFC00114 /* Interrupt Assignment Register 1 */
-#define SIC_IAR2 0xFFC00118 /* Interrupt Assignment Register 2 */
-#define SIC_IAR3 0xFFC0011C /* Interrupt Assignment Register 3 */
-#define SIC_ISR0 0xFFC00120 /* Interrupt Status Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_ISR SIC_ISR0
-#define SIC_IWR0 0xFFC00124 /* Interrupt Wakeup Register */
-/* legacy register name (below) provided for backwards code compatibility */
-#define SIC_IWR SIC_IWR0
-
-/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
-#define WDOG_CTL 0xFFC00200 /* Watchdog Control Register */
-#define WDOG_CNT 0xFFC00204 /* Watchdog Count Register */
-#define WDOG_STAT 0xFFC00208 /* Watchdog Status Register */
-
-/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
-#define UART0_THR 0xFFC00400 /* Transmit Holding register */
-#define UART0_RBR 0xFFC00400 /* Receive Buffer register */
-#define UART0_DLL 0xFFC00400 /* Divisor Latch (Low-Byte) */
-#define UART0_IER 0xFFC00404 /* Interrupt Enable Register */
-#define UART0_DLH 0xFFC00404 /* Divisor Latch (High-Byte) */
-#define UART0_IIR 0xFFC00408 /* Interrupt Identification Register */
-#define UART0_LCR 0xFFC0040C /* Line Control Register */
-#define UART0_MCR 0xFFC00410 /* Modem Control Register */
-#define UART0_LSR 0xFFC00414 /* Line Status Register */
-#define UART0_SCR 0xFFC0041C /* SCR Scratch Register */
-#define UART0_GCTL 0xFFC00424 /* Global Control Register */
-
-
-/* SPI0 Controller (0xFFC00500 - 0xFFC005FF) */
-#define SPI0_CTL 0xFFC00500 /* SPI0 Control Register */
-#define SPI0_FLG 0xFFC00504 /* SPI0 Flag register */
-#define SPI0_STAT 0xFFC00508 /* SPI0 Status register */
-#define SPI0_TDBR 0xFFC0050C /* SPI0 Transmit Data Buffer Register */
-#define SPI0_RDBR 0xFFC00510 /* SPI0 Receive Data Buffer Register */
-#define SPI0_BAUD 0xFFC00514 /* SPI0 Baud rate Register */
-#define SPI0_SHADOW 0xFFC00518 /* SPI0_RDBR Shadow Register */
-
-/* SPI1 Controller (0xFFC01300 - 0xFFC013FF) */
-#define SPI1_CTL 0xFFC01300 /* SPI1 Control Register */
-#define SPI1_FLG 0xFFC01304 /* SPI1 Flag register */
-#define SPI1_STAT 0xFFC01308 /* SPI1 Status register */
-#define SPI1_TDBR 0xFFC0130C /* SPI1 Transmit Data Buffer Register */
-#define SPI1_RDBR 0xFFC01310 /* SPI1 Receive Data Buffer Register */
-#define SPI1_BAUD 0xFFC01314 /* SPI1 Baud rate Register */
-#define SPI1_SHADOW 0xFFC01318 /* SPI1_RDBR Shadow Register */
-
-
-/* TIMER0-2 Registers (0xFFC00600 - 0xFFC006FF) */
-#define TIMER0_CONFIG 0xFFC00600 /* Timer 0 Configuration Register */
-#define TIMER0_COUNTER 0xFFC00604 /* Timer 0 Counter Register */
-#define TIMER0_PERIOD 0xFFC00608 /* Timer 0 Period Register */
-#define TIMER0_WIDTH 0xFFC0060C /* Timer 0 Width Register */
-
-#define TIMER1_CONFIG 0xFFC00610 /* Timer 1 Configuration Register */
-#define TIMER1_COUNTER 0xFFC00614 /* Timer 1 Counter Register */
-#define TIMER1_PERIOD 0xFFC00618 /* Timer 1 Period Register */
-#define TIMER1_WIDTH 0xFFC0061C /* Timer 1 Width Register */
-
-#define TIMER2_CONFIG 0xFFC00620 /* Timer 2 Configuration Register */
-#define TIMER2_COUNTER 0xFFC00624 /* Timer 2 Counter Register */
-#define TIMER2_PERIOD 0xFFC00628 /* Timer 2 Period Register */
-#define TIMER2_WIDTH 0xFFC0062C /* Timer 2 Width Register */
-
-#define TIMER_ENABLE 0xFFC00640 /* Timer Enable Register */
-#define TIMER_DISABLE 0xFFC00644 /* Timer Disable Register */
-#define TIMER_STATUS 0xFFC00648 /* Timer Status Register */
-
-
-/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
-#define PORTFIO 0xFFC00700 /* Port F I/O Pin State Specify Register */
-#define PORTFIO_CLEAR 0xFFC00704 /* Port F I/O Peripheral Interrupt Clear Register */
-#define PORTFIO_SET 0xFFC00708 /* Port F I/O Peripheral Interrupt Set Register */
-#define PORTFIO_TOGGLE 0xFFC0070C /* Port F I/O Pin State Toggle Register */
-#define PORTFIO_MASKA 0xFFC00710 /* Port F I/O Mask State Specify Interrupt A Register */
-#define PORTFIO_MASKA_CLEAR 0xFFC00714 /* Port F I/O Mask Disable Interrupt A Register */
-#define PORTFIO_MASKA_SET 0xFFC00718 /* Port F I/O Mask Enable Interrupt A Register */
-#define PORTFIO_MASKA_TOGGLE 0xFFC0071C /* Port F I/O Mask Toggle Enable Interrupt A Register */
-#define PORTFIO_MASKB 0xFFC00720 /* Port F I/O Mask State Specify Interrupt B Register */
-#define PORTFIO_MASKB_CLEAR 0xFFC00724 /* Port F I/O Mask Disable Interrupt B Register */
-#define PORTFIO_MASKB_SET 0xFFC00728 /* Port F I/O Mask Enable Interrupt B Register */
-#define PORTFIO_MASKB_TOGGLE 0xFFC0072C /* Port F I/O Mask Toggle Enable Interrupt B Register */
-#define PORTFIO_DIR 0xFFC00730 /* Port F I/O Direction Register */
-#define PORTFIO_POLAR 0xFFC00734 /* Port F I/O Source Polarity Register */
-#define PORTFIO_EDGE 0xFFC00738 /* Port F I/O Source Sensitivity Register */
-#define PORTFIO_BOTH 0xFFC0073C /* Port F I/O Set on BOTH Edges Register */
-#define PORTFIO_INEN 0xFFC00740 /* Port F I/O Input Enable Register */
-
-/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
-#define PORTGIO 0xFFC01500 /* Port G I/O Pin State Specify Register */
-#define PORTGIO_CLEAR 0xFFC01504 /* Port G I/O Peripheral Interrupt Clear Register */
-#define PORTGIO_SET 0xFFC01508 /* Port G I/O Peripheral Interrupt Set Register */
-#define PORTGIO_TOGGLE 0xFFC0150C /* Port G I/O Pin State Toggle Register */
-#define PORTGIO_MASKA 0xFFC01510 /* Port G I/O Mask State Specify Interrupt A Register */
-#define PORTGIO_MASKA_CLEAR 0xFFC01514 /* Port G I/O Mask Disable Interrupt A Register */
-#define PORTGIO_MASKA_SET 0xFFC01518 /* Port G I/O Mask Enable Interrupt A Register */
-#define PORTGIO_MASKA_TOGGLE 0xFFC0151C /* Port G I/O Mask Toggle Enable Interrupt A Register */
-#define PORTGIO_MASKB 0xFFC01520 /* Port G I/O Mask State Specify Interrupt B Register */
-#define PORTGIO_MASKB_CLEAR 0xFFC01524 /* Port G I/O Mask Disable Interrupt B Register */
-#define PORTGIO_MASKB_SET 0xFFC01528 /* Port G I/O Mask Enable Interrupt B Register */
-#define PORTGIO_MASKB_TOGGLE 0xFFC0152C /* Port G I/O Mask Toggle Enable Interrupt B Register */
-#define PORTGIO_DIR 0xFFC01530 /* Port G I/O Direction Register */
-#define PORTGIO_POLAR 0xFFC01534 /* Port G I/O Source Polarity Register */
-#define PORTGIO_EDGE 0xFFC01538 /* Port G I/O Source Sensitivity Register */
-#define PORTGIO_BOTH 0xFFC0153C /* Port G I/O Set on BOTH Edges Register */
-#define PORTGIO_INEN 0xFFC01540 /* Port G I/O Input Enable Register */
-
-
-/* Pin Control Registers (0xFFC01100 - 0xFFC01208) */
-#define PORTF_FER 0xFFC01100 /* Port F Function Enable Register (Alternate/Flag*) */
-#define PORTF_MUX 0xFFC01104 /* Port F mux control */
-#define PORTF_PADCTL 0xFFC01108 /* Port F pad control */
-#define PORTG_FER 0xFFC01200 /* Port G Function Enable Register (Alternate/Flag*) */
-#define PORTG_MUX 0xFFC01204 /* Port G mux control */
-#define PORTG_PADCTL 0xFFC01208 /* Port G pad control */
-
-/* SPORT Clock Gating (0xFFC0120C) */
-#define SPORT_GATECLK 0xFFC0120C /* SPORT Clock Gating Control Register */
-
-
-/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
-#define SPORT0_TCR1 0xFFC00800 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_TCR2 0xFFC00804 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_TCLKDIV 0xFFC00808 /* SPORT0 Transmit Clock Divider */
-#define SPORT0_TFSDIV 0xFFC0080C /* SPORT0 Transmit Frame Sync Divider */
-#define SPORT0_TX 0xFFC00810 /* SPORT0 TX Data Register */
-#define SPORT0_RX 0xFFC00818 /* SPORT0 RX Data Register */
-#define SPORT0_RCR1 0xFFC00820 /* SPORT0 Transmit Configuration 1 Register */
-#define SPORT0_RCR2 0xFFC00824 /* SPORT0 Transmit Configuration 2 Register */
-#define SPORT0_RCLKDIV 0xFFC00828 /* SPORT0 Receive Clock Divider */
-#define SPORT0_RFSDIV 0xFFC0082C /* SPORT0 Receive Frame Sync Divider */
-#define SPORT0_STAT 0xFFC00830 /* SPORT0 Status Register */
-#define SPORT0_CHNL 0xFFC00834 /* SPORT0 Current Channel Register */
-#define SPORT0_MCMC1 0xFFC00838 /* SPORT0 Multi-Channel Configuration Register 1 */
-#define SPORT0_MCMC2 0xFFC0083C /* SPORT0 Multi-Channel Configuration Register 2 */
-#define SPORT0_MTCS0 0xFFC00840 /* SPORT0 Multi-Channel Transmit Select Register 0 */
-#define SPORT0_MTCS1 0xFFC00844 /* SPORT0 Multi-Channel Transmit Select Register 1 */
-#define SPORT0_MTCS2 0xFFC00848 /* SPORT0 Multi-Channel Transmit Select Register 2 */
-#define SPORT0_MTCS3 0xFFC0084C /* SPORT0 Multi-Channel Transmit Select Register 3 */
-#define SPORT0_MRCS0 0xFFC00850 /* SPORT0 Multi-Channel Receive Select Register 0 */
-#define SPORT0_MRCS1 0xFFC00854 /* SPORT0 Multi-Channel Receive Select Register 1 */
-#define SPORT0_MRCS2 0xFFC00858 /* SPORT0 Multi-Channel Receive Select Register 2 */
-#define SPORT0_MRCS3 0xFFC0085C /* SPORT0 Multi-Channel Receive Select Register 3 */
-
-
-/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
-#define SPORT1_TCR1 0xFFC00900 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_TCR2 0xFFC00904 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_TCLKDIV 0xFFC00908 /* SPORT1 Transmit Clock Divider */
-#define SPORT1_TFSDIV 0xFFC0090C /* SPORT1 Transmit Frame Sync Divider */
-#define SPORT1_TX 0xFFC00910 /* SPORT1 TX Data Register */
-#define SPORT1_RX 0xFFC00918 /* SPORT1 RX Data Register */
-#define SPORT1_RCR1 0xFFC00920 /* SPORT1 Transmit Configuration 1 Register */
-#define SPORT1_RCR2 0xFFC00924 /* SPORT1 Transmit Configuration 2 Register */
-#define SPORT1_RCLKDIV 0xFFC00928 /* SPORT1 Receive Clock Divider */
-#define SPORT1_RFSDIV 0xFFC0092C /* SPORT1 Receive Frame Sync Divider */
-#define SPORT1_STAT 0xFFC00930 /* SPORT1 Status Register */
-#define SPORT1_CHNL 0xFFC00934 /* SPORT1 Current Channel Register */
-#define SPORT1_MCMC1 0xFFC00938 /* SPORT1 Multi-Channel Configuration Register 1 */
-#define SPORT1_MCMC2 0xFFC0093C /* SPORT1 Multi-Channel Configuration Register 2 */
-#define SPORT1_MTCS0 0xFFC00940 /* SPORT1 Multi-Channel Transmit Select Register 0 */
-#define SPORT1_MTCS1 0xFFC00944 /* SPORT1 Multi-Channel Transmit Select Register 1 */
-#define SPORT1_MTCS2 0xFFC00948 /* SPORT1 Multi-Channel Transmit Select Register 2 */
-#define SPORT1_MTCS3 0xFFC0094C /* SPORT1 Multi-Channel Transmit Select Register 3 */
-#define SPORT1_MRCS0 0xFFC00950 /* SPORT1 Multi-Channel Receive Select Register 0 */
-#define SPORT1_MRCS1 0xFFC00954 /* SPORT1 Multi-Channel Receive Select Register 1 */
-#define SPORT1_MRCS2 0xFFC00958 /* SPORT1 Multi-Channel Receive Select Register 2 */
-#define SPORT1_MRCS3 0xFFC0095C /* SPORT1 Multi-Channel Receive Select Register 3 */
-
-/* DMA Traffic Control Registers (0xFFC00B00 - 0xFFC00BFF) */
-#define DMA_TC_PER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TC_CNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* Alternate deprecated register names (below) provided for backwards code compatibility */
-#define DMA_TCPER 0xFFC00B0C /* Traffic Control Periods Register */
-#define DMA_TCCNT 0xFFC00B10 /* Traffic Control Current Counts Register */
-
-/* DMA Controller (0xFFC00C00 - 0xFFC00FFF) */
-#define DMA0_NEXT_DESC_PTR 0xFFC00C00 /* DMA Channel 0 Next Descriptor Pointer Register */
-#define DMA0_START_ADDR 0xFFC00C04 /* DMA Channel 0 Start Address Register */
-#define DMA0_CONFIG 0xFFC00C08 /* DMA Channel 0 Configuration Register */
-#define DMA0_X_COUNT 0xFFC00C10 /* DMA Channel 0 X Count Register */
-#define DMA0_X_MODIFY 0xFFC00C14 /* DMA Channel 0 X Modify Register */
-#define DMA0_Y_COUNT 0xFFC00C18 /* DMA Channel 0 Y Count Register */
-#define DMA0_Y_MODIFY 0xFFC00C1C /* DMA Channel 0 Y Modify Register */
-#define DMA0_CURR_DESC_PTR 0xFFC00C20 /* DMA Channel 0 Current Descriptor Pointer Register */
-#define DMA0_CURR_ADDR 0xFFC00C24 /* DMA Channel 0 Current Address Register */
-#define DMA0_IRQ_STATUS 0xFFC00C28 /* DMA Channel 0 Interrupt/Status Register */
-#define DMA0_PERIPHERAL_MAP 0xFFC00C2C /* DMA Channel 0 Peripheral Map Register */
-#define DMA0_CURR_X_COUNT 0xFFC00C30 /* DMA Channel 0 Current X Count Register */
-#define DMA0_CURR_Y_COUNT 0xFFC00C38 /* DMA Channel 0 Current Y Count Register */
-
-#define DMA1_NEXT_DESC_PTR 0xFFC00C40 /* DMA Channel 1 Next Descriptor Pointer Register */
-#define DMA1_START_ADDR 0xFFC00C44 /* DMA Channel 1 Start Address Register */
-#define DMA1_CONFIG 0xFFC00C48 /* DMA Channel 1 Configuration Register */
-#define DMA1_X_COUNT 0xFFC00C50 /* DMA Channel 1 X Count Register */
-#define DMA1_X_MODIFY 0xFFC00C54 /* DMA Channel 1 X Modify Register */
-#define DMA1_Y_COUNT 0xFFC00C58 /* DMA Channel 1 Y Count Register */
-#define DMA1_Y_MODIFY 0xFFC00C5C /* DMA Channel 1 Y Modify Register */
-#define DMA1_CURR_DESC_PTR 0xFFC00C60 /* DMA Channel 1 Current Descriptor Pointer Register */
-#define DMA1_CURR_ADDR 0xFFC00C64 /* DMA Channel 1 Current Address Register */
-#define DMA1_IRQ_STATUS 0xFFC00C68 /* DMA Channel 1 Interrupt/Status Register */
-#define DMA1_PERIPHERAL_MAP 0xFFC00C6C /* DMA Channel 1 Peripheral Map Register */
-#define DMA1_CURR_X_COUNT 0xFFC00C70 /* DMA Channel 1 Current X Count Register */
-#define DMA1_CURR_Y_COUNT 0xFFC00C78 /* DMA Channel 1 Current Y Count Register */
-
-#define DMA2_NEXT_DESC_PTR 0xFFC00C80 /* DMA Channel 2 Next Descriptor Pointer Register */
-#define DMA2_START_ADDR 0xFFC00C84 /* DMA Channel 2 Start Address Register */
-#define DMA2_CONFIG 0xFFC00C88 /* DMA Channel 2 Configuration Register */
-#define DMA2_X_COUNT 0xFFC00C90 /* DMA Channel 2 X Count Register */
-#define DMA2_X_MODIFY 0xFFC00C94 /* DMA Channel 2 X Modify Register */
-#define DMA2_Y_COUNT 0xFFC00C98 /* DMA Channel 2 Y Count Register */
-#define DMA2_Y_MODIFY 0xFFC00C9C /* DMA Channel 2 Y Modify Register */
-#define DMA2_CURR_DESC_PTR 0xFFC00CA0 /* DMA Channel 2 Current Descriptor Pointer Register */
-#define DMA2_CURR_ADDR 0xFFC00CA4 /* DMA Channel 2 Current Address Register */
-#define DMA2_IRQ_STATUS 0xFFC00CA8 /* DMA Channel 2 Interrupt/Status Register */
-#define DMA2_PERIPHERAL_MAP 0xFFC00CAC /* DMA Channel 2 Peripheral Map Register */
-#define DMA2_CURR_X_COUNT 0xFFC00CB0 /* DMA Channel 2 Current X Count Register */
-#define DMA2_CURR_Y_COUNT 0xFFC00CB8 /* DMA Channel 2 Current Y Count Register */
-
-#define DMA3_NEXT_DESC_PTR 0xFFC00CC0 /* DMA Channel 3 Next Descriptor Pointer Register */
-#define DMA3_START_ADDR 0xFFC00CC4 /* DMA Channel 3 Start Address Register */
-#define DMA3_CONFIG 0xFFC00CC8 /* DMA Channel 3 Configuration Register */
-#define DMA3_X_COUNT 0xFFC00CD0 /* DMA Channel 3 X Count Register */
-#define DMA3_X_MODIFY 0xFFC00CD4 /* DMA Channel 3 X Modify Register */
-#define DMA3_Y_COUNT 0xFFC00CD8 /* DMA Channel 3 Y Count Register */
-#define DMA3_Y_MODIFY 0xFFC00CDC /* DMA Channel 3 Y Modify Register */
-#define DMA3_CURR_DESC_PTR 0xFFC00CE0 /* DMA Channel 3 Current Descriptor Pointer Register */
-#define DMA3_CURR_ADDR 0xFFC00CE4 /* DMA Channel 3 Current Address Register */
-#define DMA3_IRQ_STATUS 0xFFC00CE8 /* DMA Channel 3 Interrupt/Status Register */
-#define DMA3_PERIPHERAL_MAP 0xFFC00CEC /* DMA Channel 3 Peripheral Map Register */
-#define DMA3_CURR_X_COUNT 0xFFC00CF0 /* DMA Channel 3 Current X Count Register */
-#define DMA3_CURR_Y_COUNT 0xFFC00CF8 /* DMA Channel 3 Current Y Count Register */
-
-#define DMA4_NEXT_DESC_PTR 0xFFC00D00 /* DMA Channel 4 Next Descriptor Pointer Register */
-#define DMA4_START_ADDR 0xFFC00D04 /* DMA Channel 4 Start Address Register */
-#define DMA4_CONFIG 0xFFC00D08 /* DMA Channel 4 Configuration Register */
-#define DMA4_X_COUNT 0xFFC00D10 /* DMA Channel 4 X Count Register */
-#define DMA4_X_MODIFY 0xFFC00D14 /* DMA Channel 4 X Modify Register */
-#define DMA4_Y_COUNT 0xFFC00D18 /* DMA Channel 4 Y Count Register */
-#define DMA4_Y_MODIFY 0xFFC00D1C /* DMA Channel 4 Y Modify Register */
-#define DMA4_CURR_DESC_PTR 0xFFC00D20 /* DMA Channel 4 Current Descriptor Pointer Register */
-#define DMA4_CURR_ADDR 0xFFC00D24 /* DMA Channel 4 Current Address Register */
-#define DMA4_IRQ_STATUS 0xFFC00D28 /* DMA Channel 4 Interrupt/Status Register */
-#define DMA4_PERIPHERAL_MAP 0xFFC00D2C /* DMA Channel 4 Peripheral Map Register */
-#define DMA4_CURR_X_COUNT 0xFFC00D30 /* DMA Channel 4 Current X Count Register */
-#define DMA4_CURR_Y_COUNT 0xFFC00D38 /* DMA Channel 4 Current Y Count Register */
-
-#define DMA5_NEXT_DESC_PTR 0xFFC00D40 /* DMA Channel 5 Next Descriptor Pointer Register */
-#define DMA5_START_ADDR 0xFFC00D44 /* DMA Channel 5 Start Address Register */
-#define DMA5_CONFIG 0xFFC00D48 /* DMA Channel 5 Configuration Register */
-#define DMA5_X_COUNT 0xFFC00D50 /* DMA Channel 5 X Count Register */
-#define DMA5_X_MODIFY 0xFFC00D54 /* DMA Channel 5 X Modify Register */
-#define DMA5_Y_COUNT 0xFFC00D58 /* DMA Channel 5 Y Count Register */
-#define DMA5_Y_MODIFY 0xFFC00D5C /* DMA Channel 5 Y Modify Register */
-#define DMA5_CURR_DESC_PTR 0xFFC00D60 /* DMA Channel 5 Current Descriptor Pointer Register */
-#define DMA5_CURR_ADDR 0xFFC00D64 /* DMA Channel 5 Current Address Register */
-#define DMA5_IRQ_STATUS 0xFFC00D68 /* DMA Channel 5 Interrupt/Status Register */
-#define DMA5_PERIPHERAL_MAP 0xFFC00D6C /* DMA Channel 5 Peripheral Map Register */
-#define DMA5_CURR_X_COUNT 0xFFC00D70 /* DMA Channel 5 Current X Count Register */
-#define DMA5_CURR_Y_COUNT 0xFFC00D78 /* DMA Channel 5 Current Y Count Register */
-
-#define DMA6_NEXT_DESC_PTR 0xFFC00D80 /* DMA Channel 6 Next Descriptor Pointer Register */
-#define DMA6_START_ADDR 0xFFC00D84 /* DMA Channel 6 Start Address Register */
-#define DMA6_CONFIG 0xFFC00D88 /* DMA Channel 6 Configuration Register */
-#define DMA6_X_COUNT 0xFFC00D90 /* DMA Channel 6 X Count Register */
-#define DMA6_X_MODIFY 0xFFC00D94 /* DMA Channel 6 X Modify Register */
-#define DMA6_Y_COUNT 0xFFC00D98 /* DMA Channel 6 Y Count Register */
-#define DMA6_Y_MODIFY 0xFFC00D9C /* DMA Channel 6 Y Modify Register */
-#define DMA6_CURR_DESC_PTR 0xFFC00DA0 /* DMA Channel 6 Current Descriptor Pointer Register */
-#define DMA6_CURR_ADDR 0xFFC00DA4 /* DMA Channel 6 Current Address Register */
-#define DMA6_IRQ_STATUS 0xFFC00DA8 /* DMA Channel 6 Interrupt/Status Register */
-#define DMA6_PERIPHERAL_MAP 0xFFC00DAC /* DMA Channel 6 Peripheral Map Register */
-#define DMA6_CURR_X_COUNT 0xFFC00DB0 /* DMA Channel 6 Current X Count Register */
-#define DMA6_CURR_Y_COUNT 0xFFC00DB8 /* DMA Channel 6 Current Y Count Register */
-
-#define DMA7_NEXT_DESC_PTR 0xFFC00DC0 /* DMA Channel 7 Next Descriptor Pointer Register */
-#define DMA7_START_ADDR 0xFFC00DC4 /* DMA Channel 7 Start Address Register */
-#define DMA7_CONFIG 0xFFC00DC8 /* DMA Channel 7 Configuration Register */
-#define DMA7_X_COUNT 0xFFC00DD0 /* DMA Channel 7 X Count Register */
-#define DMA7_X_MODIFY 0xFFC00DD4 /* DMA Channel 7 X Modify Register */
-#define DMA7_Y_COUNT 0xFFC00DD8 /* DMA Channel 7 Y Count Register */
-#define DMA7_Y_MODIFY 0xFFC00DDC /* DMA Channel 7 Y Modify Register */
-#define DMA7_CURR_DESC_PTR 0xFFC00DE0 /* DMA Channel 7 Current Descriptor Pointer Register */
-#define DMA7_CURR_ADDR 0xFFC00DE4 /* DMA Channel 7 Current Address Register */
-#define DMA7_IRQ_STATUS 0xFFC00DE8 /* DMA Channel 7 Interrupt/Status Register */
-#define DMA7_PERIPHERAL_MAP 0xFFC00DEC /* DMA Channel 7 Peripheral Map Register */
-#define DMA7_CURR_X_COUNT 0xFFC00DF0 /* DMA Channel 7 Current X Count Register */
-#define DMA7_CURR_Y_COUNT 0xFFC00DF8 /* DMA Channel 7 Current Y Count Register */
-
-#define DMA8_NEXT_DESC_PTR 0xFFC00E00 /* DMA Channel 8 Next Descriptor Pointer Register */
-#define DMA8_START_ADDR 0xFFC00E04 /* DMA Channel 8 Start Address Register */
-#define DMA8_CONFIG 0xFFC00E08 /* DMA Channel 8 Configuration Register */
-#define DMA8_X_COUNT 0xFFC00E10 /* DMA Channel 8 X Count Register */
-#define DMA8_X_MODIFY 0xFFC00E14 /* DMA Channel 8 X Modify Register */
-#define DMA8_Y_COUNT 0xFFC00E18 /* DMA Channel 8 Y Count Register */
-#define DMA8_Y_MODIFY 0xFFC00E1C /* DMA Channel 8 Y Modify Register */
-#define DMA8_CURR_DESC_PTR 0xFFC00E20 /* DMA Channel 8 Current Descriptor Pointer Register */
-#define DMA8_CURR_ADDR 0xFFC00E24 /* DMA Channel 8 Current Address Register */
-#define DMA8_IRQ_STATUS 0xFFC00E28 /* DMA Channel 8 Interrupt/Status Register */
-#define DMA8_PERIPHERAL_MAP 0xFFC00E2C /* DMA Channel 8 Peripheral Map Register */
-#define DMA8_CURR_X_COUNT 0xFFC00E30 /* DMA Channel 8 Current X Count Register */
-#define DMA8_CURR_Y_COUNT 0xFFC00E38 /* DMA Channel 8 Current Y Count Register */
-
-#define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00 /* MemDMA Stream 0 Destination Next Descriptor Pointer Register */
-#define MDMA_D0_START_ADDR 0xFFC00F04 /* MemDMA Stream 0 Destination Start Address Register */
-#define MDMA_D0_CONFIG 0xFFC00F08 /* MemDMA Stream 0 Destination Configuration Register */
-#define MDMA_D0_X_COUNT 0xFFC00F10 /* MemDMA Stream 0 Destination X Count Register */
-#define MDMA_D0_X_MODIFY 0xFFC00F14 /* MemDMA Stream 0 Destination X Modify Register */
-#define MDMA_D0_Y_COUNT 0xFFC00F18 /* MemDMA Stream 0 Destination Y Count Register */
-#define MDMA_D0_Y_MODIFY 0xFFC00F1C /* MemDMA Stream 0 Destination Y Modify Register */
-#define MDMA_D0_CURR_DESC_PTR 0xFFC00F20 /* MemDMA Stream 0 Destination Current Descriptor Pointer Register*/
-#define MDMA_D0_CURR_ADDR 0xFFC00F24 /* MemDMA Stream 0 Destination Current Address Register */
-#define MDMA_D0_IRQ_STATUS 0xFFC00F28 /* MemDMA Stream 0 Destination Interrupt/Status Register */
-#define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C /* MemDMA Stream 0 Destination Peripheral Map Register */
-#define MDMA_D0_CURR_X_COUNT 0xFFC00F30 /* MemDMA Stream 0 Destination Current X Count Register */
-#define MDMA_D0_CURR_Y_COUNT 0xFFC00F38 /* MemDMA Stream 0 Destination Current Y Count Register */
-
-#define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40 /* MemDMA Stream 0 Source Next Descriptor Pointer Register */
-#define MDMA_S0_START_ADDR 0xFFC00F44 /* MemDMA Stream 0 Source Start Address Register */
-#define MDMA_S0_CONFIG 0xFFC00F48 /* MemDMA Stream 0 Source Configuration Register */
-#define MDMA_S0_X_COUNT 0xFFC00F50 /* MemDMA Stream 0 Source X Count Register */
-#define MDMA_S0_X_MODIFY 0xFFC00F54 /* MemDMA Stream 0 Source X Modify Register */
-#define MDMA_S0_Y_COUNT 0xFFC00F58 /* MemDMA Stream 0 Source Y Count Register */
-#define MDMA_S0_Y_MODIFY 0xFFC00F5C /* MemDMA Stream 0 Source Y Modify Register */
-#define MDMA_S0_CURR_DESC_PTR 0xFFC00F60 /* MemDMA Stream 0 Source Current Descriptor Pointer Register */
-#define MDMA_S0_CURR_ADDR 0xFFC00F64 /* MemDMA Stream 0 Source Current Address Register */
-#define MDMA_S0_IRQ_STATUS 0xFFC00F68 /* MemDMA Stream 0 Source Interrupt/Status Register */
-#define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C /* MemDMA Stream 0 Source Peripheral Map Register */
-#define MDMA_S0_CURR_X_COUNT 0xFFC00F70 /* MemDMA Stream 0 Source Current X Count Register */
-#define MDMA_S0_CURR_Y_COUNT 0xFFC00F78 /* MemDMA Stream 0 Source Current Y Count Register */
-
-#define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80 /* MemDMA Stream 1 Destination Next Descriptor Pointer Register */
-#define MDMA_D1_START_ADDR 0xFFC00F84 /* MemDMA Stream 1 Destination Start Address Register */
-#define MDMA_D1_CONFIG 0xFFC00F88 /* MemDMA Stream 1 Destination Configuration Register */
-#define MDMA_D1_X_COUNT 0xFFC00F90 /* MemDMA Stream 1 Destination X Count Register */
-#define MDMA_D1_X_MODIFY 0xFFC00F94 /* MemDMA Stream 1 Destination X Modify Register */
-#define MDMA_D1_Y_COUNT 0xFFC00F98 /* MemDMA Stream 1 Destination Y Count Register */
-#define MDMA_D1_Y_MODIFY 0xFFC00F9C /* MemDMA Stream 1 Destination Y Modify Register */
-#define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0 /* MemDMA Stream 1 Destination Current Descriptor Pointer Register*/
-#define MDMA_D1_CURR_ADDR 0xFFC00FA4 /* MemDMA Stream 1 Destination Current Address Register */
-#define MDMA_D1_IRQ_STATUS 0xFFC00FA8 /* MemDMA Stream 1 Destination Interrupt/Status Register */
-#define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC /* MemDMA Stream 1 Destination Peripheral Map Register */
-#define MDMA_D1_CURR_X_COUNT 0xFFC00FB0 /* MemDMA Stream 1 Destination Current X Count Register */
-#define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8 /* MemDMA Stream 1 Destination Current Y Count Register */
-
-#define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0 /* MemDMA Stream 1 Source Next Descriptor Pointer Register */
-#define MDMA_S1_START_ADDR 0xFFC00FC4 /* MemDMA Stream 1 Source Start Address Register */
-#define MDMA_S1_CONFIG 0xFFC00FC8 /* MemDMA Stream 1 Source Configuration Register */
-#define MDMA_S1_X_COUNT 0xFFC00FD0 /* MemDMA Stream 1 Source X Count Register */
-#define MDMA_S1_X_MODIFY 0xFFC00FD4 /* MemDMA Stream 1 Source X Modify Register */
-#define MDMA_S1_Y_COUNT 0xFFC00FD8 /* MemDMA Stream 1 Source Y Count Register */
-#define MDMA_S1_Y_MODIFY 0xFFC00FDC /* MemDMA Stream 1 Source Y Modify Register */
-#define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0 /* MemDMA Stream 1 Source Current Descriptor Pointer Register */
-#define MDMA_S1_CURR_ADDR 0xFFC00FE4 /* MemDMA Stream 1 Source Current Address Register */
-#define MDMA_S1_IRQ_STATUS 0xFFC00FE8 /* MemDMA Stream 1 Source Interrupt/Status Register */
-#define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC /* MemDMA Stream 1 Source Peripheral Map Register */
-#define MDMA_S1_CURR_X_COUNT 0xFFC00FF0 /* MemDMA Stream 1 Source Current X Count Register */
-#define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8 /* MemDMA Stream 1 Source Current Y Count Register */
-
-
-/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
-#define PPI_CONTROL 0xFFC01000 /* PPI Control Register */
-#define PPI_STATUS 0xFFC01004 /* PPI Status Register */
-#define PPI_COUNT 0xFFC01008 /* PPI Transfer Count Register */
-#define PPI_DELAY 0xFFC0100C /* PPI Delay Count Register */
-#define PPI_FRAME 0xFFC01010 /* PPI Frame Length Register */
-
-
-/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
-#define TWI_CLKDIV 0xFFC01400 /* Serial Clock Divider Register */
-#define TWI_CONTROL 0xFFC01404 /* TWI Control Register */
-#define TWI_SLAVE_CTL 0xFFC01408 /* Slave Mode Control Register */
-#define TWI_SLAVE_STAT 0xFFC0140C /* Slave Mode Status Register */
-#define TWI_SLAVE_ADDR 0xFFC01410 /* Slave Mode Address Register */
-#define TWI_MASTER_CTL 0xFFC01414 /* Master Mode Control Register */
-#define TWI_MASTER_STAT 0xFFC01418 /* Master Mode Status Register */
-#define TWI_MASTER_ADDR 0xFFC0141C /* Master Mode Address Register */
-#define TWI_INT_STAT 0xFFC01420 /* TWI Interrupt Status Register */
-#define TWI_INT_MASK 0xFFC01424 /* TWI Master Interrupt Mask Register */
-#define TWI_FIFO_CTL 0xFFC01428 /* FIFO Control Register */
-#define TWI_FIFO_STAT 0xFFC0142C /* FIFO Status Register */
-#define TWI_XMT_DATA8 0xFFC01480 /* FIFO Transmit Data Single Byte Register */
-#define TWI_XMT_DATA16 0xFFC01484 /* FIFO Transmit Data Double Byte Register */
-#define TWI_RCV_DATA8 0xFFC01488 /* FIFO Receive Data Single Byte Register */
-#define TWI_RCV_DATA16 0xFFC0148C /* FIFO Receive Data Double Byte Register */
-
-
-/******************************************************************************************************************
-** System MMR Register Bits And Macros
-**
-** Disclaimer: All macros are intended to make C and Assembly code more readable.
-** Use these macros carefully, as any that do left shifts for field
-** depositing will result in the lower order bits being destroyed. Any
-** macro that shifts left to properly position the bit-field should be
-** used as part of an OR to initialize a register and NOT as a dynamic
-** modifier UNLESS the lower order bits are saved and ORed back in when
-** the macro is used.
-*******************************************************************************************************************/
-
-/************************************** PLL AND RESET MASKS *******************************************************/
-
-/* PLL_CTL Masks */
-#define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */
-#define PLL_OFF 0x0002 /* PLL Not Powered */
-#define STOPCK 0x0008 /* Core Clock Off */
-#define PDWN 0x0020 /* Enter Deep Sleep Mode */
-#define BYPASS 0x0100 /* Bypass the PLL */
-#define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */
-
-/* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */
-#ifdef _MISRA_RULES
-#define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#else
-#define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
-#endif /* _MISRA_RULES */
-
-/* PLL_DIV Masks */
-#define SSEL 0x000F /* System Select */
-#define CSEL 0x0030 /* Core Select */
-#define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */
-#define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */
-#define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */
-#define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */
-
-/* PLL_DIV Macros */
-#ifdef _MISRA_RULES
-#define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#else
-#define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
-#endif /* _MISRA_RULES */
-
-/* VR_CTL Masks */
-#define WAKE_EN0 0x0100 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN0 signal */
-#define WAKE_EN1 0x0200 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN1 signal */
-#define WAKE_EN2 0x0400 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN2 signal */
-#define WAKE_EN3 0x0800 /* Enable Wakeup From Hibernate/Deep Sleep on the WAKEN3 signal */
-#define HIBERNATEB 0x1000 /* Bit mask for HIBERNATEB */
-#define HIBERNATE 0x0000 /* Deasserts EXT_WAKE in order to enter hibernate mode */
-#define EXTCLK_SEL 0x2000 /* Selects SCLK for the EXTCLK signal */
-#define EXTCLK_OE 0x4000 /* Output enable for the EXTCLK signal */
-#define WAKE_POLARITY 0x8000 /* Make wakeups active-high */
-
-/* PLL_STAT Masks */
-#define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */
-#define FULL_ON 0x0002 /* Processor In Full On Mode */
-#define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */
-#define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */
-
-/* SWRST Masks */
-#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
-#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
-#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
-#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
-#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
-
-/* SYSCR Masks */
-#define BMODE_IDLE 0x0000 /* Bypass boot ROM, go to idle */
-#define BMODE_SPI1MEM 0x0002 /* Boot from serial SPI1 memory */
-#define BMODE_SPI1HOST 0x0003 /* Boot from SPI1 host (slave mode) */
-#define BMODE_SPI0MEM 0x0004 /* Boot from serial SPI0 memory */
-#define BMODE_PPI 0x0005 /* Boot from PPI Port */
-#define BMODE_L1ROM 0x0006 /* Boot from internal L1 ROM */
-#define BMODE_UART0HOST 0x0007 /* Boot from UART0 host */
-#define BMODE 0x0007 /* Boot Mode. Mirror of BMODE Mode Pins */
-
-#define BCODE 0x00F0
-#define BCODE_NORMAL 0x0000 /* normal boot, update PLL/VR, quickboot as by WURESET */
-#define BCODE_NOBOOT 0x0010 /* bypass boot, don't update PLL/VR */
-#define BCODE_QUICKBOOT 0x0020 /* quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_ALLBOOT 0x0040 /* no quick boot, overrule WURESET, don't update PLL/VR */
-#define BCODE_FULLBOOT 0x0060 /* no quick boot, overrule WURESET, update PLL/VR */
-
-#define WURESET 0x1000 /* wakeup event since last hardware reset */
-#define DFRESET 0x2000 /* recent reset was due to a double fault event */
-#define WDRESET 0x4000 /* recent reset was due to a watchdog event */
-#define SWRESET 0x8000 /* recent reset was issued by software */
-
-/********************************* SYSTEM INTERRUPT CONTROLLER MASKS *********************************************/
-/* Peripheral Masks For SIC_ISR0, SIC_IWR0, SIC_IMASK0 */
-#define IRQ_PLL_WAKEUP 0x00000001 /* PLL Wakeup Interrupt */
-#define IRQ_DMA_ERR0 0x00000002 /* Error Interrupt (DMA error 0 interrupt (generic)) */
-#define IRQ_PPI_ERR 0x00000004 /* Error Interrupt (PPI error interrupt) */
-#define IRQ_SPORT0_ERR 0x00000008 /* Error Interrupt (SPORT0 status interrupt) */
-#define IRQ_SPORT1_ERR 0x00000010 /* Error Interrupt (SPORT1 status interrupt) */
-#define IRQ_SPI0_ERR 0x00000020 /* Error Interrupt (SPI0 status interrupt) */
-#define IRQ_SPI1_ERR 0x00000040 /* Error Interrupt (SPI1 status interrupt) */
-#define IRQ_UART0_ERR 0x00000080 /* Error Interrupt (UART0 status interrupt) */
-#define IRQ_DMA0 0x00000100 /* DMA channel 0 (PPI) Interrupt */
-#define IRQ_DMA1 0x00000200 /* DMA Channel 1 (SPORT0 RX) Interrupt */
-#define IRQ_DMA2 0x00000400 /* DMA Channel 2 (SPORT0 TX) Interrupt */
-#define IRQ_DMA3 0x00000800 /* DMA Channel 3 (SPORT1 RX) Interrupt */
-#define IRQ_DMA4 0x00001000 /* DMA Channel 4 (SPORT1 TX) Interrupt */
-#define IRQ_DMA5 0x00002000 /* DMA Channel 5 (SPI0) Interrupt */
-#define IRQ_DMA6 0x00004000 /* DMA Channel 6 (SPI1) Interrupt */
-#define IRQ_DMA7 0x00008000 /* DMA Channel 7 (UART0 RX) Interrupt */
-#define IRQ_DMA8 0x00010000 /* DMA Channel 8 (UART0 TX) Interrupt */
-#define IRQ_PFA_PORTF 0x00020000 /* PF Port F Interrupt A */
-#define IRQ_PFB_PORTF 0x00040000 /* PF Port F Interrupt B */
-#define IRQ_TIMER0 0x00080000 /* Timer 0 Interrupt */
-#define IRQ_TIMER1 0x00100000 /* Timer 1 Interrupt */
-#define IRQ_TIMER2 0x00200000 /* Timer 2 Interrupt */
-#define IRQ_PFA_PORTG 0x00400000 /* PF Port G Interrupt A */
-#define IRQ_PFB_PORTG 0x00800000 /* PF Port G Interrupt B */
-#define IRQ_TWI 0x01000000 /* TWI Interrupt */
-#define IRQ_DMA12 0x20000000 /* DMA Channels 12 (MDMA0 Destination) TX Interrupt */
-#define IRQ_DMA13 0x20000000 /* DMA Channels 13 (MDMA0 Source) RX Interrupt */
-#define IRQ_DMA14 0x40000000 /* DMA Channels 14 (MDMA1 Destination) TX Interrupt */
-#define IRQ_DMA15 0x40000000 /* DMA Channels 15 (MDMA1 Source) RX Interrupt */
-#define IRQ_WDOG 0x80000000 /* Software Watchdog Timer Interrupt */
-
-/* Peripheral Masks For SIC_ISR, SIC_IWR, SIC_IMASK */
-#define IWR_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR_ENABLE_ALL 0xFFFFFFFF /* Wakeup Enable all peripherals */
-/* x = pos 0 to 31, for 32-63 use value-32 */
-#define IWR_ENABLE(x) (1 << (x)) /* Wakeup Enable Peripheral #x */
-#define IWR_DISABLE(x) (0xFFFFFFFF^(1<<(x))) /* Wakeup Disable Peripheral #x */
-
-
-#ifdef _MISRA_RULES
-#define _MF15 0xFu
-#define _MF7 7u
-#else
-#define _MF15 0xF
-#define _MF7 7
-#endif /* _MISRA_RULES */
-
-
-/* SIC_IAR0 Macros*/
-#define P0_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #0 assigned IVG #x */
-#define P1_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #1 assigned IVG #x */
-#define P2_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #2 assigned IVG #x */
-#define P3_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #3 assigned IVG #x */
-#define P4_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #4 assigned IVG #x */
-#define P5_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #5 assigned IVG #x */
-#define P6_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #6 assigned IVG #x */
-#define P7_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #7 assigned IVG #x */
-
-/* SIC_IAR1 Macros*/
-#define P8_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #8 assigned IVG #x */
-#define P9_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #9 assigned IVG #x */
-#define P10_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #10 assigned IVG #x */
-#define P11_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #11 assigned IVG #x */
-#define P12_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #12 assigned IVG #x */
-#define P13_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #13 assigned IVG #x */
-#define P14_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #14 assigned IVG #x */
-#define P15_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #15 assigned IVG #x */
-
-/* SIC_IAR2 Macros*/
-#define P16_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #16 assigned IVG #x */
-#define P17_IVG(x) (((x)&_MF15)-_MF7) << 0x4 /* Peripheral #17 assigned IVG #x */
-#define P18_IVG(x) (((x)&_MF15)-_MF7) << 0x8 /* Peripheral #18 assigned IVG #x */
-#define P19_IVG(x) (((x)&_MF15)-_MF7) << 0xC /* Peripheral #19 assigned IVG #x */
-#define P20_IVG(x) (((x)&_MF15)-_MF7) << 0x10 /* Peripheral #20 assigned IVG #x */
-#define P21_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #21 assigned IVG #x */
-#define P22_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #22 assigned IVG #x */
-#define P23_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #23 assigned IVG #x */
-
-/* SIC_IAR3 Macros*/
-#define P24_IVG(x) (((x)&_MF15)-_MF7) /* Peripheral #24 assigned IVG #x */
-#define P29_IVG(x) (((x)&_MF15)-_MF7) << 0x14 /* Peripheral #29 assigned IVG #x */
-#define P30_IVG(x) (((x)&_MF15)-_MF7) << 0x18 /* Peripheral #30 assigned IVG #x */
-#define P31_IVG(x) (((x)&_MF15)-_MF7) << 0x1C /* Peripheral #31 assigned IVG #x */
-
-
-/* SIC_IMASK0 Masks*/
-#define SIC_UNMASK0_ALL 0x00000000 /* Unmask all peripheral interrupts */
-#define SIC_MASK0_ALL 0xE1FFFFFF /* Mask all peripheral interrupts */
-
-/* SIC_IWR0 Masks*/
-#define IWR0_DISABLE_ALL 0x00000000 /* Wakeup Disable all peripherals */
-#define IWR0_ENABLE_ALL 0xE1FFFFFF /* Wakeup Enable all peripherals */
-
-
-/* ************************************** WATCHDOG TIMER MASKS ****************************************************/
-
-/* Watchdog Timer WDOG_CTL Register Masks */
-#ifdef _MISRA_RULES
-#define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */
-#else
-#define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */
-#endif /* _MISRA_RULES */
-
-#define WDEV_RESET 0x0000 /* generate reset event on roll over */
-#define WDEV_NMI 0x0002 /* generate NMI event on roll over */
-#define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */
-#define WDEV_NONE 0x0006 /* no event on roll over */
-#define WDEN 0x0FF0 /* enable watchdog */
-#define WDDIS 0x0AD0 /* disable watchdog */
-#define WDRO 0x8000 /* watchdog rolled over latch */
-
-/* depreciated WDOG_CTL Register Masks for legacy code */
-#define ICTL WDEV
-#define ENABLE_RESET WDEV_RESET
-#define WDOG_RESET WDEV_RESET
-#define ENABLE_NMI WDEV_NMI
-#define WDOG_NMI WDEV_NMI
-#define ENABLE_GPI WDEV_GPI
-#define WDOG_GPI WDEV_GPI
-#define DISABLE_EVT WDEV_NONE
-#define WDOG_NONE WDEV_NONE
-
-#define TMR_EN WDEN
-#define TMR_DIS WDDIS
-#define TRO WDRO
-#define ICTL_P0 0x01
-#define ICTL_P1 0x02
-#define TRO_P 0x0F
-
-
-/* ************************************ UART CONTROLLER MASKS *****************************************************/
-
-/* UARTx_LCR Masks*/
-#ifdef _MISRA_RULES
-#define WLS(x) (((x)-5u) & 0x03u) /* Word Length Select */
-#else
-#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */
-#endif /* _MISRA_RULES */
-
-#define STB 0x04 /* Stop Bits */
-#define PEN 0x08 /* Parity Enable */
-#define EPS 0x10 /* Even Parity Select */
-#define STP 0x20 /* Stick Parity */
-#define SB 0x40 /* Set Break */
-#define DLAB 0x80 /* Divisor Latch Access */
-
-/* UARTx_MCR Mask */
-#define LOOP_ENA 0x10 /* Loopback Mode Enable */
-
-/* UARTx_LSR Masks */
-#define DR 0x01 /* Data Ready */
-#define OE 0x02 /* Overrun Error */
-#define PE 0x04 /* Parity Error */
-#define FE 0x08 /* Framing Error */
-#define BI 0x10 /* Break Interrupt */
-#define THRE 0x20 /* THR Empty */
-#define TEMT 0x40 /* TSR and UART_THR Empty */
-
-/* UARTx_IER Masks*/
-#define ERBFI 0x01 /* Enable Receive Buffer Full Interrupt */
-#define ETBEI 0x02 /* Enable Transmit Buffer Empty Interrupt */
-#define ELSI 0x04 /* Enable RX Status Interrupt */
-
-/* UARTx_IIR Masks*/
-#define NINT 0x01 /* Pending Interrupt */
-#define STATUS 0x06 /* Highest Priority Pending Interrupt */
-
-/* UARTx_GCTL Masks*/
-#define UCEN 0x01 /* Enable UARTx Clocks */
-#define IREN 0x02 /* Enable IrDA Mode */
-#define TPOLC 0x04 /* IrDA TX Polarity Change */
-#define RPOLC 0x08 /* IrDA RX Polarity Change */
-#define FPE 0x10 /* Force Parity Error On Transmit */
-#define FFE 0x20 /* Force Framing Error On Transmit */
-
-/* Bit masks for UART Divisor Latch Registers: UARTx_DLL & UARTx_DLH */
-#define UARTDLL 0x00FF /* Divisor Latch Low Byte */
-#define UARTDLH 0xFF00 /* Divisor Latch High Byte */
-
-
-/******************************** SERIAL PERIPHERAL INTERFACE (SPI) MASKS ***************************************/
-
-/* SPIx_CTL Masks*/
-#define TIMOD 0x0003 /* Transfer Initiate Mode */
-#define RDBR_CORE 0x0000 /* RDBR Read Initiates, IRQ When RDBR Full */
-#define TDBR_CORE 0x0001 /* TDBR Write Initiates, IRQ When TDBR Empty */
-#define RDBR_DMA 0x0002 /* DMA Read, DMA Until FIFO Empty */
-#define TDBR_DMA 0x0003 /* DMA Write, DMA Until FIFO Full */
-#define SZ 0x0004 /* Send Zero (When TDBR Empty, Send Zero/Last*) */
-#define GM 0x0008 /* Get More (When RDBR Full, Overwrite/Discard*) */
-#define PSSE 0x0010 /* Slave-Select Input Enable */
-#define EMISO 0x0020 /* Enable MISO As Output */
-#define SIZE 0x0100 /* Size of Words (16/8* Bits) */
-#define LSBF 0x0200 /* LSB First */
-#define CPHA 0x0400 /* Clock Phase */
-#define CPOL 0x0800 /* Clock Polarity */
-#define MSTR 0x1000 /* Master/Slave* */
-#define WOM 0x2000 /* Write Open Drain Master */
-#define SPE 0x4000 /* SPI Enable */
-
-/* SPIx_FLG Masks*/
-#define FLS1 0x0002 /* Enables SPI_FLOUT1 as SPI Slave-Select Output */
-#define FLS2 0x0004 /* Enables SPI_FLOUT2 as SPI Slave-Select Output */
-#define FLS3 0x0008 /* Enables SPI_FLOUT3 as SPI Slave-Select Output */
-#define FLS4 0x0010 /* Enables SPI_FLOUT4 as SPI Slave-Select Output */
-#define FLS5 0x0020 /* Enables SPI_FLOUT5 as SPI Slave-Select Output */
-#define FLS6 0x0040 /* Enables SPI_FLOUT6 as SPI Slave-Select Output */
-#define FLS7 0x0080 /* Enables SPI_FLOUT7 as SPI Slave-Select Output */
-#define FLG1 0xFDFF /* Activates SPI_FLOUT1 */
-#define FLG2 0xFBFF /* Activates SPI_FLOUT2 */
-#define FLG3 0xF7FF /* Activates SPI_FLOUT3 */
-#define FLG4 0xEFFF /* Activates SPI_FLOUT4 */
-#define FLG5 0xDFFF /* Activates SPI_FLOUT5 */
-#define FLG6 0xBFFF /* Activates SPI_FLOUT6 */
-#define FLG7 0x7FFF /* Activates SPI_FLOUT7 */
-
-/* SPIx_STAT Masks*/
-#define SPIF 0x0001 /* SPI Finished (Single-Word Transfer Complete) */
-#define MODF 0x0002 /* Mode Fault Error (Another Device Tried To Become Master) */
-#define TXE 0x0004 /* Transmission Error (Data Sent With No New Data In TDBR) */
-#define TXS 0x0008 /* SPI_TDBR Data Buffer Status (Full/Empty*) */
-#define RBSY 0x0010 /* Receive Error (Data Received With RDBR Full) */
-#define RXS 0x0020 /* SPI_RDBR Data Buffer Status (Full/Empty*) */
-#define TXCOL 0x0040 /* Transmit Collision Error (Corrupt Data May Have Been Sent) */
-
-
-/*********************************** GENERAL PURPOSE TIMER MASKS ************************************************/
-/* TIMER_ENABLE Masks*/
-#define TIMEN0 0x0001 /* Enable Timer 0 */
-#define TIMEN1 0x0002 /* Enable Timer 1 */
-#define TIMEN2 0x0004 /* Enable Timer 2 */
-
-/* TIMER_DISABLE Masks*/
-#define TIMDIS0 TIMEN0 /* Disable Timer 0 */
-#define TIMDIS1 TIMEN1 /* Disable Timer 1 */
-#define TIMDIS2 TIMEN2 /* Disable Timer 2 */
-
-/* TIMER_STATUS Masks*/
-#define TIMIL0 0x00000001 /* Timer 0 Interrupt */
-#define TIMIL1 0x00000002 /* Timer 1 Interrupt */
-#define TIMIL2 0x00000004 /* Timer 2 Interrupt */
-#define TOVF_ERR0 0x00000010 /* Timer 0 Counter Overflow */
-#define TOVF_ERR1 0x00000020 /* Timer 1 Counter Overflow */
-#define TOVF_ERR2 0x00000040 /* Timer 2 Counter Overflow */
-#define TRUN0 0x00001000 /* Timer 0 Slave Enable Status */
-#define TRUN1 0x00002000 /* Timer 1 Slave Enable Status */
-#define TRUN2 0x00004000 /* Timer 2 Slave Enable Status */
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#define TOVL_ERR0 TOVF_ERR0
-#define TOVL_ERR1 TOVF_ERR1
-#define TOVL_ERR2 TOVF_ERR2
-
-/* TIMERx_CONFIG Masks */
-#define PWM_OUT 0x0001 /* Pulse-Width Modulation Output Mode */
-#define WDTH_CAP 0x0002 /* Width Capture Input Mode */
-#define EXT_CLK 0x0003 /* External Clock Mode */
-#define PULSE_HI 0x0004 /* Action Pulse (Positive/Negative*) */
-#define PERIOD_CNT 0x0008 /* Period Count */
-#define IRQ_ENA 0x0010 /* Interrupt Request Enable */
-#define TIN_SEL 0x0020 /* Timer Input Select */
-#define OUT_DIS 0x0040 /* Output Pad Disable */
-#define CLK_SEL 0x0080 /* Timer Clock Select */
-#define TOGGLE_HI 0x0100 /* PWM_OUT PULSE_HI Toggle Mode */
-#define EMU_RUN 0x0200 /* Emulation Behavior Select */
-#define ERR_TYP 0xC000 /* Error Type */
-
-
-/* ************************************* GPIO PORTS F, G MASKS **********************************************/
-
-/* General Purpose IO Masks */
-/* Port F Masks */
-#define PF0 0x0001
-#define PF1 0x0002
-#define PF2 0x0004
-#define PF3 0x0008
-#define PF4 0x0010
-#define PF5 0x0020
-#define PF6 0x0040
-#define PF7 0x0080
-#define PF8 0x0100
-#define PF9 0x0200
-#define PF10 0x0400
-#define PF11 0x0800
-#define PF12 0x1000
-#define PF13 0x2000
-#define PF14 0x4000
-#define PF15 0x8000
-
-/* Port G Masks */
-#define PG0 0x0001
-#define PG1 0x0002
-#define PG2 0x0004
-#define PG3 0x0008
-#define PG4 0x0010
-#define PG5 0x0020
-#define PG6 0x0040
-#define PG7 0x0080
-#define PG8 0x0100
-#define PG9 0x0200
-#define PG10 0x0400
-#define PG11 0x0800
-#define PG12 0x1000
-#define PG13 0x2000
-#define PG14 0x4000
-#define PG15 0x8000
-
-/* ************************************** SERIAL PORT MASKS *****************************************************/
-/* SPORT_GATECLK Masks */
-#define SPORT0_GATECLK_EN 0x0001 /* SPORT0 Clock Gating Enable */
-#define SPORT0_GATECLK_MODE 0x0002 /* SPORT0 Clock Gating Mode */
-#define SPORT0_GATECLK_STATE 0x0004 /* SPORT0 Clock Gating State */
-#define SPORT1_GATECLK_EN 0x0010 /* SPORT1 Clock Gating Enable */
-#define SPORT1_GATECLK_MODE 0x0020 /* SPORT1 Clock Gating Mode */
-#define SPORT1_GATECLK_STATE 0x0040 /* SPORT1 Clock Gating State */
-
-/* SPORTx_TCR1 Masks */
-#define TSPEN 0x0001 /* Transmit Enable */
-#define ITCLK 0x0002 /* Internal Transmit Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define TLSBIT 0x0010 /* Transmit Bit Order */
-#define ITFS 0x0200 /* Internal Transmit Frame Sync Select */
-#define TFSR 0x0400 /* Transmit Frame Sync Required Select */
-#define DITFS 0x0800 /* Data-Independent Transmit Frame Sync Select */
-#define LTFS 0x1000 /* Low Transmit Frame Sync Select */
-#define LATFS 0x2000 /* Late Transmit Frame Sync Select */
-#define TCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_TCR2 Masks and Macro */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT TX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT TX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define TXSE 0x0100 /* TX Secondary Enable */
-#define TSFSE 0x0200 /* Transmit Stereo Frame Sync Enable */
-#define TRFST 0x0400 /* Left/Right Order (1 = Right Channel 1st) */
-
-/* SPORTx_RCR1 Masks */
-#define RSPEN 0x0001 /* Receive Enable */
-#define IRCLK 0x0002 /* Internal Receive Clock Select */
-#define DTYPE_NORM 0x0004 /* Data Format Normal */
-#define DTYPE_ULAW 0x0008 /* Compand Using u-Law */
-#define DTYPE_ALAW 0x000C /* Compand Using A-Law */
-#define RLSBIT 0x0010 /* Receive Bit Order */
-#define IRFS 0x0200 /* Internal Receive Frame Sync Select */
-#define RFSR 0x0400 /* Receive Frame Sync Required Select */
-#define LRFS 0x1000 /* Low Receive Frame Sync Select */
-#define LARFS 0x2000 /* Late Receive Frame Sync Select */
-#define RCKFE 0x4000 /* Clock Falling Edge Select */
-
-/* SPORTx_RCR2 Masks */
-#ifdef _MISRA_RULES
-#define SLEN(x) ((x)&0x1Fu) /* SPORT RX Word Length (2 - 31) */
-#else
-#define SLEN(x) ((x)&0x1F) /* SPORT RX Word Length (2 - 31) */
-#endif /* _MISRA_RULES */
-
-#define RXSE 0x0100 /* RX Secondary Enable */
-#define RSFSE 0x0200 /* RX Stereo Frame Sync Enable */
-#define RRFST 0x0400 /* Right-First Data Order */
-
-/* SPORTx_STAT Masks */
-#define RXNE 0x0001 /* Receive FIFO Not Empty Status */
-#define RUVF 0x0002 /* Sticky Receive Underflow Status */
-#define ROVF 0x0004 /* Sticky Receive Overflow Status */
-#define TXF 0x0008 /* Transmit FIFO Full Status */
-#define TUVF 0x0010 /* Sticky Transmit Underflow Status */
-#define TOVF 0x0020 /* Sticky Transmit Overflow Status */
-#define TXHRE 0x0040 /* Transmit Hold Register Empty */
-
-/* SPORTx_MCMC1 Macros */
-#ifdef _MISRA_RULES
-#define WOFF(x) ((x) & 0x3FFu) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits*/
-#define WSIZE(x) (((((x)>>0x3)-1u)&0xFu) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#else
-#define WOFF(x) ((x) & 0x3FF) /* Multichannel Window Offset Field */
-/* Only use WSIZE Macro With Logic OR While Setting Lower Order Bits */
-#define WSIZE(x) (((((x)>>0x3)-1)&0xF) << 0xC) /* Multichannel Window Size = (x/8)-1 */
-#endif /* _MISRA_RULES */
-
-/* SPORTx_MCMC2 Masks */
-#define REC_BYPASS 0x0000 /* Bypass Mode (No Clock Recovery) */
-#define REC_2FROM4 0x0002 /* Recover 2 MHz Clock from 4 MHz Clock */
-#define REC_8FROM16 0x0003 /* Recover 8 MHz Clock from 16 MHz Clock */
-#define MCDTXPE 0x0004 /* Multichannel DMA Transmit Packing */
-#define MCDRXPE 0x0008 /* Multichannel DMA Receive Packing */
-#define MCMEN 0x0010 /* Multichannel Frame Mode Enable */
-#define FSDR 0x0080 /* Multichannel Frame Sync to Data Relationship */
-#define MFD_0 0x0000 /* Multichannel Frame Delay = 0 */
-#define MFD_1 0x1000 /* Multichannel Frame Delay = 1 */
-#define MFD_2 0x2000 /* Multichannel Frame Delay = 2 */
-#define MFD_3 0x3000 /* Multichannel Frame Delay = 3 */
-#define MFD_4 0x4000 /* Multichannel Frame Delay = 4 */
-#define MFD_5 0x5000 /* Multichannel Frame Delay = 5 */
-#define MFD_6 0x6000 /* Multichannel Frame Delay = 6 */
-#define MFD_7 0x7000 /* Multichannel Frame Delay = 7 */
-#define MFD_8 0x8000 /* Multichannel Frame Delay = 8 */
-#define MFD_9 0x9000 /* Multichannel Frame Delay = 9 */
-#define MFD_10 0xA000 /* Multichannel Frame Delay = 10 */
-#define MFD_11 0xB000 /* Multichannel Frame Delay = 11 */
-#define MFD_12 0xC000 /* Multichannel Frame Delay = 12 */
-#define MFD_13 0xD000 /* Multichannel Frame Delay = 13 */
-#define MFD_14 0xE000 /* Multichannel Frame Delay = 14 */
-#define MFD_15 0xF000 /* Multichannel Frame Delay = 15 */
-
-
-/**************************************** DMA CONTROLLER MASKS **************************************************/
-
-/* DMAx_CONFIG, MDMA_yy_CONFIG Masks */
-#define DMAEN 0x0001 /* DMA Channel Enable */
-#define WNR 0x0002 /* Channel Direction (W/R*) */
-#define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */
-#define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */
-#define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */
-#define DMA2D 0x0010 /* DMA Mode (2D/1D*) */
-#define SYNC 0x0020 /* DMA Buffer Clear */
-#define DI_SEL 0x0040 /* Data Interrupt Timing Select */
-#define DI_EN 0x0080 /* Data Interrupt Enable */
-#define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */
-#define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */
-#define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */
-#define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */
-#define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */
-#define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */
-#define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */
-#define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */
-#define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */
-#define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */
-#define FLOW_STOP 0x0000 /* Stop Mode */
-#define FLOW_AUTO 0x1000 /* Autobuffer Mode */
-#define FLOW_ARRAY 0x4000 /* Descriptor Array Mode */
-#define FLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */
-#define FLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */
-
-/* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */
-#define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */
-#define PMAP 0xF000 /* Peripheral Mapped To This Channel */
-#define PMAP_PPI 0x0000 /* PPI Port DMA */
-#define PMAP_SPORT0RX 0x1000 /* SPORT0 Receive DMA */
-#define PMAP_SPORT0TX 0x2000 /* SPORT0 Transmit DMA */
-#define PMAP_SPORT1RX 0x3000 /* SPORT1 Receive DMA */
-#define PMAP_SPORT1TX 0x4000 /* SPORT1 Transmit DMA */
-#define PMAP_SPI0 0x5000 /* SPI0 Transmit/Receive DMA */
-#define PMAP_SPI1 0x6000 /* SPI1 Transmit/Receive DMA */
-#define PMAP_UART0RX 0x7000 /* UART0 Port Receive DMA */
-#define PMAP_UART0TX 0x8000 /* UART0 Port Transmit DMA */
-
-/* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */
-#define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */
-#define DMA_ERR 0x0002 /* DMA Error Interrupt Status */
-#define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */
-#define DMA_RUN 0x0008 /* DMA Channel Running Indicator */
-
-
-/********************************* PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************************************/
-
-/* PPI_CONTROL Masks */
-#define PORT_EN 0x0001 /* PPI Port Enable */
-#define PORT_DIR 0x0002 /* PPI Port Direction */
-#define XFR_TYPE 0x000C /* PPI Transfer Type */
-#define PORT_CFG 0x0030 /* PPI Port Configuration */
-#define FLD_SEL 0x0040 /* PPI Active Field Select */
-#define PACK_EN 0x0080 /* PPI Packing Mode */ /* previous versions of defBF532.h erroneously included DMA32 (PPI 32-bit DMA Enable) */
-#define SKIP_EN 0x0200 /* PPI Skip Element Enable */
-#define SKIP_EO 0x0400 /* PPI Skip Even/Odd Elements */
-#define DLEN_8 0x0000 /* Data Length = 8 Bits */
-#define DLEN_10 0x0800 /* Data Length = 10 Bits */
-#define DLEN_11 0x1000 /* Data Length = 11 Bits */
-#define DLEN_12 0x1800 /* Data Length = 12 Bits */
-#define DLEN_13 0x2000 /* Data Length = 13 Bits */
-#define DLEN_14 0x2800 /* Data Length = 14 Bits */
-#define DLEN_15 0x3000 /* Data Length = 15 Bits */
-#define DLEN_16 0x3800 /* Data Length = 16 Bits */
-#define POLC 0x4000 /* PPI Clock Polarity */
-#define POLS 0x8000 /* PPI Frame Sync Polarity */
-
-/* PPI_STATUS Masks */
-#define LT_ERR_OVR 0x0100 /* Line Track Overflow Error */
-#define LT_ERR_UNDR 0x0200 /* Line Track Underflow Error */
-#define FLD 0x0400 /* Field Indicator */
-#define FT_ERR 0x0800 /* Frame Track Error */
-#define OVR 0x1000 /* FIFO Overflow Error */
-#define UNDR 0x2000 /* FIFO Underrun Error */
-#define ERR_DET 0x4000 /* Error Detected Indicator */
-#define ERR_NCOR 0x8000 /* Error Not Corrected Indicator */
-
-
-/*************************************** TWO-WIRE INTERFACE (TWI) MASKS *****************************************/
-
-/* TWI_CLKDIV Macros (Use: *pTWI_CLKDIV = CLKLOW(x)|CLKHI(y); ) */
-#ifdef _MISRA_RULES
-#define CLKLOW(x) ((x) & 0xFFu)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFFu)<<0x8)/* Periods Before New Clock Low */
-#else
-#define CLKLOW(x) ((x) & 0xFF)/* Periods Clock Is Held Low */
-#define CLKHI(y) (((y)&0xFF)<<0x8) /* Periods Before New Clock Low */
-#endif /* _MISRA_RULES */
-
-/* TWI_PRESCALE Masks */
-#define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */
-#define TWI_ENA 0x0080 /* TWI Enable */
-#define SCCB 0x0200 /* SCCB Compatibility Enable */
-
-/* TWI_SLAVE_CTRL Masks */
-#define SEN 0x0001 /* Slave Enable */
-#define SADD_LEN 0x0002 /* Slave Address Length */
-#define STDVAL 0x0004 /* Slave Transmit Data Valid */
-#define NAK 0x0008 /* NAK/ACK* Generated At Conclusion Of Transfer */
-#define GEN 0x0010 /* General Call Adrress Matching Enabled */
-
-/* TWI_SLAVE_STAT Masks */
-#define SDIR 0x0001 /* Slave Transfer Direction (Transmit/Receive*) */
-#define GCALL 0x0002 /* General Call Indicator */
-
-/* TWI_MASTER_CTRL Masks */
-#define MEN 0x0001 /* Master Mode Enable */
-#define MADD_LEN 0x0002 /* Master Address Length */
-#define MDIR 0x0004 /* Master Transmit Direction (RX/TX*) */
-#define FAST 0x0008 /* Use Fast Mode Timing Specs */
-#define STOP 0x0010 /* Issue Stop Condition */
-#define RSTART 0x0020 /* Repeat Start or Stop* At End Of Transfer */
-#define DCNT 0x3FC0 /* Data Bytes To Transfer */
-#define SDAOVR 0x4000 /* Serial Data Override */
-#define SCLOVR 0x8000 /* Serial Clock Override */
-
-/* TWI_MASTER_STAT Masks */
-#define MPROG 0x0001 /* Master Transfer In Progress */
-#define LOSTARB 0x0002 /* Lost Arbitration Indicator (Xfer Aborted) */
-#define ANAK 0x0004 /* Address Not Acknowledged */
-#define DNAK 0x0008 /* Data Not Acknowledged */
-#define BUFRDERR 0x0010 /* Buffer Read Error */
-#define BUFWRERR 0x0020 /* Buffer Write Error */
-#define SDASEN 0x0040 /* Serial Data Sense */
-#define SCLSEN 0x0080 /* Serial Clock Sense */
-#define BUSBUSY 0x0100 /* Bus Busy Indicator */
-
-/* TWI_INT_SRC and TWI_INT_ENABLE Masks */
-#define SINIT 0x0001 /* Slave Transfer Initiated */
-#define SCOMP 0x0002 /* Slave Transfer Complete */
-#define SERR 0x0004 /* Slave Transfer Error */
-#define SOVF 0x0008 /* Slave Overflow */
-#define MCOMP 0x0010 /* Master Transfer Complete */
-#define MERR 0x0020 /* Master Transfer Error */
-#define XMTSERV 0x0040 /* Transmit FIFO Service */
-#define RCVSERV 0x0080 /* Receive FIFO Service */
-
-/* TWI_FIFO_CTRL Masks */
-#define XMTFLUSH 0x0001 /* Transmit Buffer Flush */
-#define RCVFLUSH 0x0002 /* Receive Buffer Flush */
-#define XMTINTLEN 0x0004 /* Transmit Buffer Interrupt Length */
-#define RCVINTLEN 0x0008 /* Receive Buffer Interrupt Length */
-
-/* TWI_FIFO_STAT Masks */
-#define XMTSTAT 0x0003 /* Transmit FIFO Status */
-#define XMT_EMPTY 0x0000 /* Transmit FIFO Empty */
-#define XMT_HALF 0x0001 /* Transmit FIFO Has 1 Byte To Write */
-#define XMT_FULL 0x0003 /* Transmit FIFO Full (2 Bytes To Write) */
-
-#define RCVSTAT 0x000C /* Receive FIFO Status */
-#define RCV_EMPTY 0x0000 /* Receive FIFO Empty */
-#define RCV_HALF 0x0004 /* Receive FIFO Has 1 Byte To Read */
-#define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BF59x_H */
diff --git a/libgloss/bfin/include/defBF606.h b/libgloss/bfin/include/defBF606.h
deleted file mode 100644
index 94e49a4..0000000
--- a/libgloss/bfin/include/defBF606.h
+++ /dev/null
@@ -1,17724 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* ================================================================================
-
- Project : ADSP-BF606
- File : defBF606.h
- Description : Register Definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ================================================================================ */
-
-#ifndef _DEF_BF606_H
-#define _DEF_BF606_H
-
-#if defined (_MISRA_RULES)
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function-like macros")
-#pragma diag(suppress:misra_rule_19_13:"ADI headers can use the # and ## preprocessor operators")
-#endif /* _MISRA_RULES */
-
-/* do not add casts to literal constants in assembly code */
-#if defined(_LANGUAGE_ASM) || defined(__ASSEMBLER__)
-#define _ADI_MSK( mask, type ) (mask) /* Make a bitmask */
-#else
-#define _ADI_MSK( mask, type ) ((type)(mask)) /* Make a bitmask */
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#ifndef __ADI_GENERATED_DEF_HEADERS__
-#define __ADI_GENERATED_DEF_HEADERS__ 1
-#endif
-
-/* MMR modules defined for the ADSP-BF606 */
-
-#define __ADI_HAS_SYS__ 1
-#define __ADI_HAS_SIMENV__ 1
-#define __ADI_HAS_CNT__ 1
-#define __ADI_HAS_RSI__ 1
-#define __ADI_HAS_CAN__ 1
-#define __ADI_HAS_LP__ 1
-#define __ADI_HAS_TIMER__ 1
-#define __ADI_HAS_CRC__ 1
-#define __ADI_HAS_TWI__ 1
-#define __ADI_HAS_UART__ 1
-#define __ADI_HAS_PORT__ 1
-#define __ADI_HAS_PADS__ 1
-#define __ADI_HAS_PINT__ 1
-#define __ADI_HAS_SMC__ 1
-#define __ADI_HAS_WDOG__ 1
-#define __ADI_HAS_EPPI__ 1
-#define __ADI_HAS_PWM__ 1
-#define __ADI_HAS_VID__ 1
-#define __ADI_HAS_SWU__ 1
-#define __ADI_HAS_SDU__ 1
-#define __ADI_HAS_EMAC__ 1
-#define __ADI_HAS_SPORT__ 1
-#define __ADI_HAS_SPI__ 1
-#define __ADI_HAS_DMA__ 1
-#define __ADI_HAS_ACM__ 1
-#define __ADI_HAS_DMC__ 1
-#define __ADI_HAS_SCB__ 1
-#define __ADI_HAS_L2CTL__ 1
-#define __ADI_HAS_SEC__ 1
-#define __ADI_HAS_TRU__ 1
-#define __ADI_HAS_RCU__ 1
-#define __ADI_HAS_SPU__ 1
-#define __ADI_HAS_CGU__ 1
-#define __ADI_HAS_DPM__ 1
-#define __ADI_HAS_EFS__ 1
-#define __ADI_HAS_USB__ 1
-#define __ADI_HAS_L1DM__ 1
-#define __ADI_HAS_L1IM__ 1
-#define __ADI_HAS_ICU__ 1
-#define __ADI_HAS_TMR__ 1
-#define __ADI_HAS_DBG__ 1
-#define __ADI_HAS_TB__ 1
-#define __ADI_HAS_WP__ 1
-#define __ADI_HAS_PF__ 1
-
-/* =========================
- REGFILE
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ASTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ASTAT_VS 25 /* Sticky version of ASTAT_V */
-#define BITP_ASTAT_V 24 /* Overflow Flag */
-#define BITP_ASTAT_AV1S 19 /* Sticky Overflow Flag 1 */
-#define BITP_ASTAT_AV1 18 /* Overflow Flag 1 */
-#define BITP_ASTAT_AV0S 17 /* Sticky Overflow Flag 0 */
-#define BITP_ASTAT_AV0 16 /* Overflow Flag 0 */
-#define BITP_ASTAT_AC1 13 /* Carry Flag 1 */
-#define BITP_ASTAT_AC0 12 /* Carry Flag 0 */
-#define BITP_ASTAT_RND_MOD 8 /* Rounding Mode */
-#define BITP_ASTAT_AQ 6 /* Quotient Bit */
-#define BITP_ASTAT_CC 5 /* Condition Code */
-#define BITP_ASTAT_V_COPY 3 /* Overflow Flag */
-#define BITP_ASTAT_AC0_COPY 2 /* Carry Flag 0 */
-#define BITP_ASTAT_AN 1 /* Negative Flag */
-#define BITP_ASTAT_AZ 0 /* Zero Flag */
-#define BITM_ASTAT_VS (_ADI_MSK(0x02000000,uint32_t)) /* Sticky version of ASTAT_V */
-#define BITM_ASTAT_V (_ADI_MSK(0x01000000,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AV1S (_ADI_MSK(0x00080000,uint32_t)) /* Sticky Overflow Flag 1 */
-#define BITM_ASTAT_AV1 (_ADI_MSK(0x00040000,uint32_t)) /* Overflow Flag 1 */
-#define BITM_ASTAT_AV0S (_ADI_MSK(0x00020000,uint32_t)) /* Sticky Overflow Flag 0 */
-#define BITM_ASTAT_AV0 (_ADI_MSK(0x00010000,uint32_t)) /* Overflow Flag 0 */
-#define BITM_ASTAT_AC1 (_ADI_MSK(0x00002000,uint32_t)) /* Carry Flag 1 */
-#define BITM_ASTAT_AC0 (_ADI_MSK(0x00001000,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_RND_MOD (_ADI_MSK(0x00000100,uint32_t)) /* Rounding Mode */
-#define BITM_ASTAT_AQ (_ADI_MSK(0x00000040,uint32_t)) /* Quotient Bit */
-#define BITM_ASTAT_CC (_ADI_MSK(0x00000020,uint32_t)) /* Condition Code */
-#define BITM_ASTAT_V_COPY (_ADI_MSK(0x00000008,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AC0_COPY (_ADI_MSK(0x00000004,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_AN (_ADI_MSK(0x00000002,uint32_t)) /* Negative Flag */
-#define BITM_ASTAT_AZ (_ADI_MSK(0x00000001,uint32_t)) /* Zero Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LT_ADDR 1 /* Loop Top Address */
-#define BITP_LT_LSB 0
-#define BITM_LT_ADDR (_ADI_MSK(0xFFFFFFFE,uint32_t)) /* Loop Top Address */
-#define BITM_LT_LSB (_ADI_MSK(0x00000001,uint32_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEQSTAT_NSPECABT 19 /* Nonspeculative access was aborted */
-#define BITP_SEQSTAT_HWERRCAUSE 14 /* Holds cause of last hardware error generated by the core */
-#define BITP_SEQSTAT_SFTRESET 13 /* Indicates whether the last reset was a software reset */
-#define BITP_SEQSTAT_ITESTABT 12 /* ITEST_COMMAND was aborted */
-#define BITP_SEQSTAT_DTESTABT 11 /* DTEST_COMMAND was aborted */
-#define BITP_SEQSTAT_SYSNMI 10 /* System NMI Input Active */
-#define BITP_SEQSTAT_PEIC 9 /* Parity Error on Instruction L1 Read for Core */
-#define BITP_SEQSTAT_PEDC 8 /* Parity Error on Data L1 Read for Core */
-#define BITP_SEQSTAT_PEIX 7 /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_PEDX 6 /* Parity Error on Data L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_EXCAUSE 0 /* Holds cause of last-executed exception */
-#define BITM_SEQSTAT_NSPECABT (_ADI_MSK(0x00080000,uint32_t)) /* Nonspeculative access was aborted */
-#define BITM_SEQSTAT_HWERRCAUSE (_ADI_MSK(0x0007C000,uint32_t)) /* Holds cause of last hardware error generated by the core */
-#define BITM_SEQSTAT_SFTRESET (_ADI_MSK(0x00002000,uint32_t)) /* Indicates whether the last reset was a software reset */
-#define BITM_SEQSTAT_ITESTABT (_ADI_MSK(0x00001000,uint32_t)) /* ITEST_COMMAND was aborted */
-#define BITM_SEQSTAT_DTESTABT (_ADI_MSK(0x00000800,uint32_t)) /* DTEST_COMMAND was aborted */
-#define BITM_SEQSTAT_SYSNMI (_ADI_MSK(0x00000400,uint32_t)) /* System NMI Input Active */
-#define BITM_SEQSTAT_PEIC (_ADI_MSK(0x00000200,uint32_t)) /* Parity Error on Instruction L1 Read for Core */
-#define BITM_SEQSTAT_PEDC (_ADI_MSK(0x00000100,uint32_t)) /* Parity Error on Data L1 Read for Core */
-#define BITM_SEQSTAT_PEIX (_ADI_MSK(0x00000080,uint32_t)) /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITM_SEQSTAT_PEDX (_ADI_MSK(0x00000040,uint32_t)) /* Parity Error on Data L1 Read for L2 Transfer */
-
-#define BITM_SEQSTAT_EXCAUSE (_ADI_MSK(0x0000003F,uint32_t)) /* Holds cause of last-executed exception */
-#define ENUM_SEQSTAT_EXINST (_ADI_MSK(0x00000000,uint32_t)) /* EXCAUSE: EXCPT Instruction */
-#define ENUM_SEQSTAT_SSTEP (_ADI_MSK(0x00000010,uint32_t)) /* EXCAUSE: Single Step */
-#define ENUM_SEQSTAT_EMUTROV (_ADI_MSK(0x00000011,uint32_t)) /* EXCAUSE: Trace Buffer */
-#define ENUM_SEQSTAT_UNDEFINST (_ADI_MSK(0x00000021,uint32_t)) /* EXCAUSE: Undefined Instruction */
-#define ENUM_SEQSTAT_ILLCOMB (_ADI_MSK(0x00000022,uint32_t)) /* EXCAUSE: Illegal Combination */
-#define ENUM_SEQSTAT_DAGPROTVIOL (_ADI_MSK(0x00000023,uint32_t)) /* EXCAUSE: DAG Protection Violation */
-#define ENUM_SEQSTAT_DAGALGN (_ADI_MSK(0x00000024,uint32_t)) /* EXCAUSE: DAG Misaligned Access */
-#define ENUM_SEQSTAT_UNRECOVER (_ADI_MSK(0x00000025,uint32_t)) /* EXCAUSE: Unrecoverable Event */
-#define ENUM_SEQSTAT_DAGCPLBMISS (_ADI_MSK(0x00000026,uint32_t)) /* EXCAUSE: DAG CPLB Miss */
-#define ENUM_SEQSTAT_DAGMCPLBH (_ADI_MSK(0x00000027,uint32_t)) /* EXCAUSE: DAG Multiple CPLB Hits */
-#define ENUM_SEQSTAT_EMUWPMATCH (_ADI_MSK(0x00000028,uint32_t)) /* EXCAUSE: Watchpoint Match */
-#define ENUM_SEQSTAT_IFALGN (_ADI_MSK(0x0000002A,uint32_t)) /* EXCAUSE: I-Fetch Misaligned Access */
-#define ENUM_SEQSTAT_IFPROTVIOL (_ADI_MSK(0x0000002B,uint32_t)) /* EXCAUSE: I-Fetch Protection Violation */
-#define ENUM_SEQSTAT_IFCPLBMISS (_ADI_MSK(0x0000002C,uint32_t)) /* EXCAUSE: I-Fetch CPLB Miss */
-#define ENUM_SEQSTAT_IFMCPLBH (_ADI_MSK(0x0000002D,uint32_t)) /* EXCAUSE: I-Fetch Multiple CPLB Hits */
-#define ENUM_SEQSTAT_PROTVIOL (_ADI_MSK(0x0000002E,uint32_t)) /* EXCAUSE: Illegal use superv. res */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SYSCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SYSCFG_SNEN 2 /* Self-Nesting Interrupt Enable */
-#define BITP_SYSCFG_CCEN 1 /* Enable cycle counter */
-#define BITP_SYSCFG_SSSTEP 0 /* Supervisor single step */
-#define BITM_SYSCFG_SNEN (_ADI_MSK(0x00000004,uint32_t)) /* Self-Nesting Interrupt Enable */
-#define BITM_SYSCFG_CCEN (_ADI_MSK(0x00000002,uint32_t)) /* Enable cycle counter */
-#define BITM_SYSCFG_SSSTEP (_ADI_MSK(0x00000001,uint32_t)) /* Supervisor single step */
-
-/* ==================================================
- CNT Registers
- ================================================== */
-
-/* =========================
- CNT0
- ========================= */
-#define REG_CNT0_CFG 0xFFC00400 /* CNT0 Configuration Register */
-#define REG_CNT0_IMSK 0xFFC00404 /* CNT0 Interrupt Mask Register */
-#define REG_CNT0_STAT 0xFFC00408 /* CNT0 Status Register */
-#define REG_CNT0_CMD 0xFFC0040C /* CNT0 Command Register */
-#define REG_CNT0_DEBNCE 0xFFC00410 /* CNT0 Debounce Register */
-#define REG_CNT0_CNTR 0xFFC00414 /* CNT0 Counter Register */
-#define REG_CNT0_MAX 0xFFC00418 /* CNT0 Maximum Count Register */
-#define REG_CNT0_MIN 0xFFC0041C /* CNT0 Minimum Count Register */
-
-/* =========================
- CNT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CFG_INPDIS 15 /* CUD and CDG Pin Input Disable */
-#define BITP_CNT_CFG_BNDMODE 12 /* Boundary Register Mode */
-#define BITP_CNT_CFG_ZMZC 11 /* CZM Zeroes Counter Enable */
-#define BITP_CNT_CFG_CNTMODE 8 /* Counter Operating Mode */
-#define BITP_CNT_CFG_CZMINV 6 /* CZM Pin Polarity Invert */
-#define BITP_CNT_CFG_CUDINV 5 /* CUD Pin Polarity Invert */
-#define BITP_CNT_CFG_CDGINV 4 /* CDG Pin Polarity Invert */
-#define BITP_CNT_CFG_DEBEN 1 /* Debounce Enable */
-#define BITP_CNT_CFG_EN 0 /* Counter Enable */
-
-#define BITM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* CUD and CDG Pin Input Disable */
-#define ENUM_CNT_CFG_NO_INPDIS (_ADI_MSK(0x00000000,uint16_t)) /* INPDIS: Enable */
-#define ENUM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* INPDIS: Pin Input Disable */
-
-#define BITM_CNT_CFG_BNDMODE (_ADI_MSK(0x00003000,uint16_t)) /* Boundary Register Mode */
-#define ENUM_CNT_CFG_BNDMODE_BNDCOMP (_ADI_MSK(0x00000000,uint16_t)) /* BNDMODE: BND_COMP */
-#define ENUM_CNT_CFG_BNDMODE_BINENC (_ADI_MSK(0x00001000,uint16_t)) /* BNDMODE: BIN_ENC */
-#define ENUM_CNT_CFG_BNDMODE_BNDCAPT (_ADI_MSK(0x00002000,uint16_t)) /* BNDMODE: BND_CAPT */
-#define ENUM_CNT_CFG_BNDMODE_BNDAEXT (_ADI_MSK(0x00003000,uint16_t)) /* BNDMODE: BND_AEXT */
-
-#define BITM_CNT_CFG_ZMZC (_ADI_MSK(0x00000800,uint16_t)) /* CZM Zeroes Counter Enable */
-#define ENUM_CNT_CFG_ZMZC_DIS (_ADI_MSK(0x00000000,uint16_t)) /* ZMZC: Disable */
-#define ENUM_CNT_CFG_ZMZC_EN (_ADI_MSK(0x00000800,uint16_t)) /* ZMZC: Enable */
-
-#define BITM_CNT_CFG_CNTMODE (_ADI_MSK(0x00000700,uint16_t)) /* Counter Operating Mode */
-#define ENUM_CNT_CFG_CNTMODE_QUADENC (_ADI_MSK(0x00000000,uint16_t)) /* CNTMODE: QUAD_ENC */
-#define ENUM_CNT_CFG_CNTMODE_BINENC (_ADI_MSK(0x00000100,uint16_t)) /* CNTMODE: BIN_ENC */
-#define ENUM_CNT_CFG_CNTMODE_UDCNT (_ADI_MSK(0x00000200,uint16_t)) /* CNTMODE: UD_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRCNT (_ADI_MSK(0x00000400,uint16_t)) /* CNTMODE: DIR_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRTMR (_ADI_MSK(0x00000500,uint16_t)) /* CNTMODE: DIR_TMR */
-
-#define BITM_CNT_CFG_CZMINV (_ADI_MSK(0x00000040,uint16_t)) /* CZM Pin Polarity Invert */
-#define ENUM_CNT_CFG_CZMINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CZMINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CZMINV_ALO (_ADI_MSK(0x00000040,uint16_t)) /* CZMINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CUDINV (_ADI_MSK(0x00000020,uint16_t)) /* CUD Pin Polarity Invert */
-#define ENUM_CNT_CFG_CUDINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CUDINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CUDINV_ALO (_ADI_MSK(0x00000020,uint16_t)) /* CUDINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CDGINV (_ADI_MSK(0x00000010,uint16_t)) /* CDG Pin Polarity Invert */
-#define ENUM_CNT_CFG_CDGINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CDGINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CDGINV_ALO (_ADI_MSK(0x00000010,uint16_t)) /* CDGINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* Debounce Enable */
-#define ENUM_CNT_CFG_DEBDIS (_ADI_MSK(0x00000000,uint16_t)) /* DEBEN: Disable */
-#define ENUM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* DEBEN: Enable */
-
-#define BITM_CNT_CFG_EN (_ADI_MSK(0x00000001,uint16_t)) /* Counter Enable */
-#define ENUM_CNT_CFG_CNTDIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Counter Disable */
-#define ENUM_CNT_CFG_CNTEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Counter Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_IMSK_CZMZ 10 /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define BITP_CNT_IMSK_CZME 9 /* Zero Marker Error Interrupt Enable */
-#define BITP_CNT_IMSK_CZM 8 /* CZM Pin / Pushbutton Interrupt Enable */
-#define BITP_CNT_IMSK_CZERO 7 /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define BITP_CNT_IMSK_COV15 6 /* Bit 15 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_COV31 5 /* Bit 31 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_MAXC 4 /* Max Count Interrupt Enable */
-#define BITP_CNT_IMSK_MINC 3 /* Min Count Interrupt Enable */
-#define BITP_CNT_IMSK_DC 2 /* Downcount Interrupt enable */
-#define BITP_CNT_IMSK_UC 1 /* Upcount Interrupt Enable */
-#define BITP_CNT_IMSK_IC 0 /* Illegal Gray/Binary Code Interrupt Enable */
-
-#define BITM_CNT_IMSK_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define ENUM_CNT_IMSK_CZMZ_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZMZ: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZMZ_UMSK (_ADI_MSK(0x00000400,uint16_t)) /* CZMZ: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error Interrupt Enable */
-#define ENUM_CNT_IMSK_CZME_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZME: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZME_UMSK (_ADI_MSK(0x00000200,uint16_t)) /* CZME: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin / Pushbutton Interrupt Enable */
-#define ENUM_CNT_IMSK_CZM_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZM: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZM_UMSK (_ADI_MSK(0x00000100,uint16_t)) /* CZM: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define ENUM_CNT_IMSK_CZERO_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZERO: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZERO_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* CZERO: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV15_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV15: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV15_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* COV15: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV31_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV31: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV31_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* COV31: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MAXC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MAXC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MAXC_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MAXC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MINC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MINC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MINC_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* MINC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount Interrupt enable */
-#define ENUM_CNT_IMSK_DC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* DC: Mask Interrupt */
-#define ENUM_CNT_IMSK_DC_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* DC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount Interrupt Enable */
-#define ENUM_CNT_IMSK_UC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* UC: Mask Interrupt */
-#define ENUM_CNT_IMSK_UC_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* UC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal Gray/Binary Code Interrupt Enable */
-#define ENUM_CNT_IMSK_IC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* IC: Mask Interrupt */
-#define ENUM_CNT_IMSK_IC_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* IC: Unmask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_STAT_CZMZ 10 /* Counter Zeroed By Zero Marker interrupt */
-#define BITP_CNT_STAT_CZME 9 /* Zero Marker Error interrupt */
-#define BITP_CNT_STAT_CZM 8 /* CZM Pin/Pushbutton interrupt */
-#define BITP_CNT_STAT_CZERO 7 /* CNT_CNTR Counts To Zero interrupt */
-#define BITP_CNT_STAT_COV15 6 /* Bit 15 overflow interrupt */
-#define BITP_CNT_STAT_COV31 5 /* Bit 31 overflow interrupt */
-#define BITP_CNT_STAT_MAXC 4 /* Max interrupt */
-#define BITP_CNT_STAT_MINC 3 /* Min interrupt */
-#define BITP_CNT_STAT_DC 2 /* Downcount interrupt */
-#define BITP_CNT_STAT_UC 1 /* Upcount interrupt */
-#define BITP_CNT_STAT_IC 0 /* Illegal gray/binary code interrupt */
-#define BITM_CNT_STAT_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed By Zero Marker interrupt */
-#define BITM_CNT_STAT_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error interrupt */
-#define BITM_CNT_STAT_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin/Pushbutton interrupt */
-#define BITM_CNT_STAT_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero interrupt */
-#define BITM_CNT_STAT_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 overflow interrupt */
-#define BITM_CNT_STAT_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 overflow interrupt */
-#define BITM_CNT_STAT_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max interrupt */
-#define BITM_CNT_STAT_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min interrupt */
-#define BITM_CNT_STAT_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount interrupt */
-#define BITM_CNT_STAT_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount interrupt */
-#define BITM_CNT_STAT_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal gray/binary code interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CMD_W1ZMONCE 12 /* Write 1 Zero Marker Clear Once Enable */
-#define BITP_CNT_CMD_W1LMAXMIN 10 /* Write 1 MAX copy from MIN */
-#define BITP_CNT_CMD_W1LMAXCNT 9 /* Write 1 MAX capture from CNTR */
-#define BITP_CNT_CMD_W1LMAXZERO 8 /* Write 1 MAX to zero */
-#define BITP_CNT_CMD_W1LMINMAX 7 /* Write 1 MIN copy from MAX */
-#define BITP_CNT_CMD_W1LMINCNT 5 /* Write 1 MIN capture from CNTR */
-#define BITP_CNT_CMD_W1LMINZERO 4 /* Write 1 MIN to zero */
-#define BITP_CNT_CMD_W1LCNTMAX 3 /* Write 1 CNTR load from MAX */
-#define BITP_CNT_CMD_W1LCNTMIN 2 /* Write 1 CNTR load from MIN */
-#define BITP_CNT_CMD_W1LCNTZERO 0 /* Write 1 CNTR to zero */
-#define BITM_CNT_CMD_W1ZMONCE (_ADI_MSK(0x00001000,uint16_t)) /* Write 1 Zero Marker Clear Once Enable */
-#define BITM_CNT_CMD_W1LMAXMIN (_ADI_MSK(0x00000400,uint16_t)) /* Write 1 MAX copy from MIN */
-#define BITM_CNT_CMD_W1LMAXCNT (_ADI_MSK(0x00000200,uint16_t)) /* Write 1 MAX capture from CNTR */
-#define BITM_CNT_CMD_W1LMAXZERO (_ADI_MSK(0x00000100,uint16_t)) /* Write 1 MAX to zero */
-#define BITM_CNT_CMD_W1LMINMAX (_ADI_MSK(0x00000080,uint16_t)) /* Write 1 MIN copy from MAX */
-#define BITM_CNT_CMD_W1LMINCNT (_ADI_MSK(0x00000020,uint16_t)) /* Write 1 MIN capture from CNTR */
-#define BITM_CNT_CMD_W1LMINZERO (_ADI_MSK(0x00000010,uint16_t)) /* Write 1 MIN to zero */
-#define BITM_CNT_CMD_W1LCNTMAX (_ADI_MSK(0x00000008,uint16_t)) /* Write 1 CNTR load from MAX */
-#define BITM_CNT_CMD_W1LCNTMIN (_ADI_MSK(0x00000004,uint16_t)) /* Write 1 CNTR load from MIN */
-#define BITM_CNT_CMD_W1LCNTZERO (_ADI_MSK(0x00000001,uint16_t)) /* Write 1 CNTR to zero */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_DEBNCE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_DEBNCE_DPRESCALE 0 /* Debounce Prescale */
-#define BITM_CNT_DEBNCE_DPRESCALE (_ADI_MSK(0x0000001F,uint16_t)) /* Debounce Prescale */
-
-/* ==================================================
- RSI Registers
- ================================================== */
-
-/* =========================
- RSI0
- ========================= */
-#define REG_RSI0_CTL 0xFFC00604 /* RSI0 Control Register */
-#define REG_RSI0_ARG 0xFFC00608 /* RSI0 Argument Register */
-#define REG_RSI0_CMD 0xFFC0060C /* RSI0 Command Register */
-#define REG_RSI0_RESP_CMD 0xFFC00610 /* RSI0 Response Command Register */
-#define REG_RSI0_RESP0 0xFFC00614 /* RSI0 Response 0 Register */
-#define REG_RSI0_RESP1 0xFFC00618 /* RSI0 Response 1 Register */
-#define REG_RSI0_RESP2 0xFFC0061C /* RSI0 Response 2 Register */
-#define REG_RSI0_RESP3 0xFFC00620 /* RSI0 Response 3 Register */
-#define REG_RSI0_DATA_TMR 0xFFC00624 /* RSI0 Data Timer Register */
-#define REG_RSI0_DATA_LEN 0xFFC00628 /* RSI0 Data Length Register */
-#define REG_RSI0_DATA_CTL 0xFFC0062C /* RSI0 Data Control Register */
-#define REG_RSI0_DATA_CNT 0xFFC00630 /* RSI0 Data Count Register */
-#define REG_RSI0_XFRSTAT 0xFFC00634 /* RSI0 Status Register */
-#define REG_RSI0_XFRSTAT_CLR 0xFFC00638 /* RSI0 Status Clear Register */
-#define REG_RSI0_XFR_IMSK0 0xFFC0063C /* RSI0 Interrupt 0 Mask Register */
-#define REG_RSI0_XFR_IMSK1 0xFFC00640 /* RSI0 Interrupt 1 Mask Register */
-#define REG_RSI0_FIFO_CNT 0xFFC00648 /* RSI0 FIFO Counter Register */
-#define REG_RSI0_CEATA 0xFFC0064C /* RSI0 This register contains bit to dis CCS gen */
-#define REG_RSI0_BOOT_TCNTR 0xFFC00650 /* RSI0 Boot Timing Counter Register */
-#define REG_RSI0_BACK_TOUT 0xFFC00654 /* RSI0 Boot Acknowledge Timeout Register */
-#define REG_RSI0_SLP_WKUP_TOUT 0xFFC00658 /* RSI0 Sleep Wakeup Timeout Register */
-#define REG_RSI0_BLKSZ 0xFFC0065C /* RSI0 Block Size Register */
-#define REG_RSI0_FIFO 0xFFC00680 /* RSI0 Data FIFO Register */
-#define REG_RSI0_STAT0 0xFFC006C0 /* RSI0 Exception Status Register */
-#define REG_RSI0_IMSK0 0xFFC006C4 /* RSI0 Exception Mask Register */
-#define REG_RSI0_CFG 0xFFC006C8 /* RSI0 Configuration Register */
-#define REG_RSI0_RD_WAIT 0xFFC006CC /* RSI0 Read Wait Enable Register */
-#define REG_RSI0_PID0 0xFFC006D0 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID1 0xFFC006D4 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID2 0xFFC006D8 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID3 0xFFC006DC /* RSI0 Peripheral Identification Register */
-
-/* =========================
- RSI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CTL_CARDTYPE 13 /* Type of Card */
-#define BITP_RSI_CTL_BUSWID 11 /* Wide Bus Mode Enable */
-#define BITP_RSI_CTL_BYPASS 10 /* Bypass clock divisor */
-#define BITP_RSI_CTL_PWRSAVE 9 /* Power Save Enable */
-#define BITP_RSI_CTL_CLKEN 8 /* RSI_CLK Bus Clock Enable */
-#define BITP_RSI_CTL_CLKDIV 0 /* RSI_CLK Divisor */
-#define BITM_RSI_CTL_CARDTYPE (_ADI_MSK(0x0000E000,uint16_t)) /* Type of Card */
-#define BITM_RSI_CTL_BUSWID (_ADI_MSK(0x00001800,uint16_t)) /* Wide Bus Mode Enable */
-#define BITM_RSI_CTL_BYPASS (_ADI_MSK(0x00000400,uint16_t)) /* Bypass clock divisor */
-#define BITM_RSI_CTL_PWRSAVE (_ADI_MSK(0x00000200,uint16_t)) /* Power Save Enable */
-#define BITM_RSI_CTL_CLKEN (_ADI_MSK(0x00000100,uint16_t)) /* RSI_CLK Bus Clock Enable */
-#define BITM_RSI_CTL_CLKDIV (_ADI_MSK(0x000000FF,uint16_t)) /* RSI_CLK Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CMD_CHKBUSY 12 /* Check Busy Condition */
-#define BITP_RSI_CMD_CRCDIS 11 /* Disable CRC Check */
-#define BITP_RSI_CMD_EN 10 /* Command Enable */
-#define BITP_RSI_CMD_PNDEN 9 /* Command Pending enabled */
-#define BITP_RSI_CMD_IEN 8 /* Command Interrupt Enabled */
-#define BITP_RSI_CMD_LRSP 7 /* Long Response */
-#define BITP_RSI_CMD_RSP 6 /* Response */
-#define BITP_RSI_CMD_IDX 0 /* Command Index */
-#define BITM_RSI_CMD_CHKBUSY (_ADI_MSK(0x00001000,uint16_t)) /* Check Busy Condition */
-#define BITM_RSI_CMD_CRCDIS (_ADI_MSK(0x00000800,uint16_t)) /* Disable CRC Check */
-#define BITM_RSI_CMD_EN (_ADI_MSK(0x00000400,uint16_t)) /* Command Enable */
-#define BITM_RSI_CMD_PNDEN (_ADI_MSK(0x00000200,uint16_t)) /* Command Pending enabled */
-#define BITM_RSI_CMD_IEN (_ADI_MSK(0x00000100,uint16_t)) /* Command Interrupt Enabled */
-#define BITM_RSI_CMD_LRSP (_ADI_MSK(0x00000080,uint16_t)) /* Long Response */
-#define BITM_RSI_CMD_RSP (_ADI_MSK(0x00000040,uint16_t)) /* Response */
-#define BITM_RSI_CMD_IDX (_ADI_MSK(0x0000003F,uint16_t)) /* Command Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RESP_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RESP_CMD_VALUE 0 /* Response Command */
-#define BITM_RSI_RESP_CMD_VALUE (_ADI_MSK(0x0000003F,uint16_t)) /* Response Command */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_DATA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_DATA_CTL_CEATAIEN 9 /* Ceata Command Completion Interrupt Enable */
-#define BITP_RSI_DATA_CTL_CEATAMODE 8 /* Ceata Mode enable */
-#define BITP_RSI_DATA_CTL_DMAEN 3 /* Data Transfer DMA Enable */
-#define BITP_RSI_DATA_CTL_DATMODE 2 /* Data Transfer Mode */
-#define BITP_RSI_DATA_CTL_DATDIR 1 /* Data Transfer Direction */
-#define BITP_RSI_DATA_CTL_DATEN 0 /* Data Transfer Enable */
-#define BITM_RSI_DATA_CTL_CEATAIEN (_ADI_MSK(0x00000200,uint16_t)) /* Ceata Command Completion Interrupt Enable */
-#define BITM_RSI_DATA_CTL_CEATAMODE (_ADI_MSK(0x00000100,uint16_t)) /* Ceata Mode enable */
-#define BITM_RSI_DATA_CTL_DMAEN (_ADI_MSK(0x00000008,uint16_t)) /* Data Transfer DMA Enable */
-#define BITM_RSI_DATA_CTL_DATMODE (_ADI_MSK(0x00000004,uint16_t)) /* Data Transfer Mode */
-#define BITM_RSI_DATA_CTL_DATDIR (_ADI_MSK(0x00000002,uint16_t)) /* Data Transfer Direction */
-#define BITM_RSI_DATA_CTL_DATEN (_ADI_MSK(0x00000001,uint16_t)) /* Data Transfer Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_RXFIFORDY 21 /* Receive FIFO Available */
-#define BITP_RSI_XFRSTAT_TXFIFORDY 20 /* Transmit FIFO Available */
-#define BITP_RSI_XFRSTAT_RXFIFOZERO 19 /* Receive FIFO Empty */
-#define BITP_RSI_XFRSTAT_TXFIFOZERO 18 /* Transmit FIFO Empty */
-#define BITP_RSI_XFRSTAT_RXFIFOFULL 17 /* Receive FIFO Full */
-#define BITP_RSI_XFRSTAT_TXFIFOFULL 16 /* Transmit FIFO Full */
-#define BITP_RSI_XFRSTAT_RXFIFOSTAT 15 /* Receive FIFO Status */
-#define BITP_RSI_XFRSTAT_TXFIFOSTAT 14 /* Transmit FIFO Status */
-#define BITP_RSI_XFRSTAT_RXACT 13 /* Receive Active */
-#define BITP_RSI_XFRSTAT_TXACT 12 /* Transmit Active */
-#define BITP_RSI_XFRSTAT_CMDACT 11 /* Command Active */
-#define BITP_RSI_XFRSTAT_DATBLKEND 10 /* Data Block End */
-#define BITP_RSI_XFRSTAT_SBITERR 9 /* Start Bit Error */
-#define BITP_RSI_XFRSTAT_DATEND 8 /* Data End */
-#define BITP_RSI_XFRSTAT_CMDSENT 7 /* Command Sent */
-#define BITP_RSI_XFRSTAT_RESPEND 6 /* Command Response End */
-#define BITP_RSI_XFRSTAT_RXOVER 5 /* Receive Over run */
-#define BITP_RSI_XFRSTAT_TXUNDR 4 /* Transmit Under run */
-#define BITP_RSI_XFRSTAT_DATTO 3 /* Data Timeout */
-#define BITP_RSI_XFRSTAT_CMDTO 2 /* CMD Timeout */
-#define BITP_RSI_XFRSTAT_DATCRCFAIL 1 /* Data CRC Fail */
-#define BITP_RSI_XFRSTAT_CMDCRCFAIL 0 /* CMD CRC Fail */
-#define BITM_RSI_XFRSTAT_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Receive FIFO Available */
-#define BITM_RSI_XFRSTAT_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Transmit FIFO Available */
-#define BITM_RSI_XFRSTAT_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Receive FIFO Empty */
-#define BITM_RSI_XFRSTAT_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Transmit FIFO Empty */
-#define BITM_RSI_XFRSTAT_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Full */
-#define BITM_RSI_XFRSTAT_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Transmit FIFO Full */
-#define BITM_RSI_XFRSTAT_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Receive FIFO Status */
-#define BITM_RSI_XFRSTAT_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Transmit FIFO Status */
-#define BITM_RSI_XFRSTAT_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Receive Active */
-#define BITM_RSI_XFRSTAT_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Transmit Active */
-#define BITM_RSI_XFRSTAT_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Command Active */
-#define BITM_RSI_XFRSTAT_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Data Block End */
-#define BITM_RSI_XFRSTAT_SBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Start Bit Error */
-#define BITM_RSI_XFRSTAT_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Data End */
-#define BITM_RSI_XFRSTAT_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Command Sent */
-#define BITM_RSI_XFRSTAT_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Command Response End */
-#define BITM_RSI_XFRSTAT_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Receive Over run */
-#define BITM_RSI_XFRSTAT_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Transmit Under run */
-#define BITM_RSI_XFRSTAT_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Data Timeout */
-#define BITM_RSI_XFRSTAT_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* CMD Timeout */
-#define BITM_RSI_XFRSTAT_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Data CRC Fail */
-#define BITM_RSI_XFRSTAT_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_CLR_DATBLKEND 10 /* Data Block End Status */
-#define BITP_RSI_XFRSTAT_CLR_STRTBITERR 9 /* Start Bit Error Status */
-#define BITP_RSI_XFRSTAT_CLR_DATEND 8 /* Data End Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDSENT 7 /* Command Sent Status */
-#define BITP_RSI_XFRSTAT_CLR_RESPEND 6 /* Command Response End Status */
-#define BITP_RSI_XFRSTAT_CLR_RXOVER 5 /* Receive Over run Status */
-#define BITP_RSI_XFRSTAT_CLR_TXUNDR 4 /* Transmit Under run Status */
-#define BITP_RSI_XFRSTAT_CLR_DATTO 3 /* Data Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDTO 2 /* CMD Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_DATCRCFAIL 1 /* Data CRC Fail Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDCRCFAIL 0 /* CMD CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_DATBLKEND (_ADI_MSK(0x00000400,uint16_t)) /* Data Block End Status */
-#define BITM_RSI_XFRSTAT_CLR_STRTBITERR (_ADI_MSK(0x00000200,uint16_t)) /* Start Bit Error Status */
-#define BITM_RSI_XFRSTAT_CLR_DATEND (_ADI_MSK(0x00000100,uint16_t)) /* Data End Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDSENT (_ADI_MSK(0x00000080,uint16_t)) /* Command Sent Status */
-#define BITM_RSI_XFRSTAT_CLR_RESPEND (_ADI_MSK(0x00000040,uint16_t)) /* Command Response End Status */
-#define BITM_RSI_XFRSTAT_CLR_RXOVER (_ADI_MSK(0x00000020,uint16_t)) /* Receive Over run Status */
-#define BITM_RSI_XFRSTAT_CLR_TXUNDR (_ADI_MSK(0x00000010,uint16_t)) /* Transmit Under run Status */
-#define BITM_RSI_XFRSTAT_CLR_DATTO (_ADI_MSK(0x00000008,uint16_t)) /* Data Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDTO (_ADI_MSK(0x00000004,uint16_t)) /* CMD Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_DATCRCFAIL (_ADI_MSK(0x00000002,uint16_t)) /* Data CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDCRCFAIL (_ADI_MSK(0x00000001,uint16_t)) /* CMD CRC Fail Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK0_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK0_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK0_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK0_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK0_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK0_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK0_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK0_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK0_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK0_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK0_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK0_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK0_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK0_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK0_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK0_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK0_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK0_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK0_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK0_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK0_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK0_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK0_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK0_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK0_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK0_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK0_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK0_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK0_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK0_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK0_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK0_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK0_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK0_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK0_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK0_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK0_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK0_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK0_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK0_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK1_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK1_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK1_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK1_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK1_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK1_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK1_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK1_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK1_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK1_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK1_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK1_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK1_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK1_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK1_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK1_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK1_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK1_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK1_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK1_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK1_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK1_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK1_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK1_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK1_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK1_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK1_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK1_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK1_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK1_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK1_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK1_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK1_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK1_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK1_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK1_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK1_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK1_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK1_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK1_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_FIFO_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_FIFO_CNT_VALUE 0 /* FIFO Count */
-#define BITM_RSI_FIFO_CNT_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* FIFO Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CEATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CEATA_INT_DIS 0 /* CEATA Disable Interrupt */
-#define BITM_RSI_CEATA_INT_DIS (_ADI_MSK(0x00000001,uint32_t)) /* CEATA Disable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BOOT_TCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BOOT_TCNTR_HOLD 8 /* Boot Hold Time */
-#define BITP_RSI_BOOT_TCNTR_SETUP 0 /* Boot Setup Time */
-#define BITM_RSI_BOOT_TCNTR_HOLD (_ADI_MSK(0x0000FF00,uint16_t)) /* Boot Hold Time */
-#define BITM_RSI_BOOT_TCNTR_SETUP (_ADI_MSK(0x000000FF,uint16_t)) /* Boot Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BLKSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BLKSZ_VALUE 0 /* Size of Each Block of Data */
-#define BITM_RSI_BLKSZ_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Size of Each Block of Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_STAT0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_STAT0_BUSYMODE 31 /* Card is in Busy mode */
-#define BITP_RSI_STAT0_SLPMODE 30 /* Card in Sleep Mode */
-#define BITP_RSI_STAT0_CARDRDY 17 /* Card Ready */
-#define BITP_RSI_STAT0_SLPWKPTOUT 16 /* Sleep Wakeup Timer Expired */
-#define BITP_RSI_STAT0_WKPDONE 15 /* Card Entered Standby state */
-#define BITP_RSI_STAT0_SLPDONE 14 /* Card Entered Sleep State */
-#define BITP_RSI_STAT0_BACKDONE 13 /* Correct Boot Ack is received */
-#define BITP_RSI_STAT0_BACKBAD 12 /* Boot Ack received is corrupted */
-#define BITP_RSI_STAT0_BACKTO 11 /* Boot Acknowledge Timeout */
-#define BITP_RSI_STAT0_BDATTO 10 /* Boot Data Timeout */
-#define BITP_RSI_STAT0_BHOLDEXP 9 /* Boot Hold Time Expiry */
-#define BITP_RSI_STAT0_BSETUPEXP 8 /* Boot Setup Time Expiry */
-#define BITP_RSI_STAT0_CEATAINT 5 /* CEATA Interrupt */
-#define BITP_RSI_STAT0_SDCARD 4 /* SD Card Detected */
-#define BITP_RSI_STAT0_SDIOINT 1 /* SDIO Interrupt */
-#define BITM_RSI_STAT0_BUSYMODE (_ADI_MSK(0x80000000,uint32_t)) /* Card is in Busy mode */
-#define BITM_RSI_STAT0_SLPMODE (_ADI_MSK(0x40000000,uint32_t)) /* Card in Sleep Mode */
-#define BITM_RSI_STAT0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Card Ready */
-#define BITM_RSI_STAT0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Sleep Wakeup Timer Expired */
-#define BITM_RSI_STAT0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Card Entered Standby state */
-#define BITM_RSI_STAT0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Card Entered Sleep State */
-#define BITM_RSI_STAT0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Correct Boot Ack is received */
-#define BITM_RSI_STAT0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Boot Ack received is corrupted */
-#define BITM_RSI_STAT0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Boot Acknowledge Timeout */
-#define BITM_RSI_STAT0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Boot Data Timeout */
-#define BITM_RSI_STAT0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Boot Hold Time Expiry */
-#define BITM_RSI_STAT0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Boot Setup Time Expiry */
-#define BITM_RSI_STAT0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* CEATA Interrupt */
-#define BITM_RSI_STAT0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* SD Card Detected */
-#define BITM_RSI_STAT0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_IMSK0_CARDRDY 17 /* Mask Interrupt for Card Ready */
-#define BITP_RSI_IMSK0_SLPWKPTOUT 16 /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITP_RSI_IMSK0_WKPDONE 15 /* Mask Interrupt for Card Entered Standby state */
-#define BITP_RSI_IMSK0_SLPDONE 14 /* Mask Interrupt for Card Entered Sleep State */
-#define BITP_RSI_IMSK0_BACKDONE 13 /* Mask Interrupt for Correct Boot Ack is received */
-#define BITP_RSI_IMSK0_BACKBAD 12 /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITP_RSI_IMSK0_BACKTO 11 /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITP_RSI_IMSK0_BDATTO 10 /* Mask Interrupt for Boot Data Timeout */
-#define BITP_RSI_IMSK0_BHOLDEXP 9 /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITP_RSI_IMSK0_BSETUPEXP 8 /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITP_RSI_IMSK0_CEATAINT 5 /* Mask CEATA Interrupt */
-#define BITP_RSI_IMSK0_SDCARD 4 /* Mask Interrupt for SD Card Detected */
-#define BITP_RSI_IMSK0_SDIOINT 1 /* Mask SDIO Interrupt */
-#define BITM_RSI_IMSK0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Mask Interrupt for Card Ready */
-#define BITM_RSI_IMSK0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITM_RSI_IMSK0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Mask Interrupt for Card Entered Standby state */
-#define BITM_RSI_IMSK0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Mask Interrupt for Card Entered Sleep State */
-#define BITM_RSI_IMSK0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Mask Interrupt for Correct Boot Ack is received */
-#define BITM_RSI_IMSK0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITM_RSI_IMSK0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITM_RSI_IMSK0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Mask Interrupt for Boot Data Timeout */
-#define BITM_RSI_IMSK0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITM_RSI_IMSK0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITM_RSI_IMSK0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* Mask CEATA Interrupt */
-#define BITM_RSI_IMSK0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* Mask Interrupt for SD Card Detected */
-#define BITM_RSI_IMSK0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* Mask SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CFG_BACKEN 14 /* Boot Acknowledge enabled */
-#define BITP_RSI_CFG_MMCBMODE 13 /* MMC Boot Mode select */
-#define BITP_RSI_CFG_MMCBEN 12 /* MMC Boot Enabled */
-#define BITP_RSI_CFG_OPENDRAIN 11 /* MC_CMD Output Control */
-#define BITP_RSI_CFG_PWRON 9 /* 11 - RSI Enabled */
-#define BITP_RSI_CFG_IEBYPDIS 8 /* Disabled IE Bypass */
-#define BITP_RSI_CFG_DAT3PUP 6 /* Pull-Up SD_DAT3 */
-#define BITP_RSI_CFG_DATPUP 5 /* Pull-Up SD_DAT */
-#define BITP_RSI_CFG_RST 4 /* SDMMC Reset */
-#define BITP_RSI_CFG_MWINEN 3 /* Moving Window Enable */
-#define BITP_RSI_CFG_SD4EN 2 /* SDIO 4-Bit Enable */
-#define BITP_RSI_CFG_CLKSEN 0 /* Clocks Enable */
-#define BITM_RSI_CFG_BACKEN (_ADI_MSK(0x00004000,uint16_t)) /* Boot Acknowledge enabled */
-#define BITM_RSI_CFG_MMCBMODE (_ADI_MSK(0x00002000,uint16_t)) /* MMC Boot Mode select */
-#define BITM_RSI_CFG_MMCBEN (_ADI_MSK(0x00001000,uint16_t)) /* MMC Boot Enabled */
-#define BITM_RSI_CFG_OPENDRAIN (_ADI_MSK(0x00000800,uint16_t)) /* MC_CMD Output Control */
-#define BITM_RSI_CFG_PWRON (_ADI_MSK(0x00000600,uint16_t)) /* 11 - RSI Enabled */
-#define BITM_RSI_CFG_IEBYPDIS (_ADI_MSK(0x00000100,uint16_t)) /* Disabled IE Bypass */
-#define BITM_RSI_CFG_DAT3PUP (_ADI_MSK(0x00000040,uint16_t)) /* Pull-Up SD_DAT3 */
-#define BITM_RSI_CFG_DATPUP (_ADI_MSK(0x00000020,uint16_t)) /* Pull-Up SD_DAT */
-#define BITM_RSI_CFG_RST (_ADI_MSK(0x00000010,uint16_t)) /* SDMMC Reset */
-#define BITM_RSI_CFG_MWINEN (_ADI_MSK(0x00000008,uint16_t)) /* Moving Window Enable */
-#define BITM_RSI_CFG_SD4EN (_ADI_MSK(0x00000004,uint16_t)) /* SDIO 4-Bit Enable */
-#define BITM_RSI_CFG_CLKSEN (_ADI_MSK(0x00000001,uint16_t)) /* Clocks Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RD_WAIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RD_WAIT_REQUEST 0 /* Read Wait Request */
-#define BITM_RSI_RD_WAIT_REQUEST (_ADI_MSK(0x00000001,uint16_t)) /* Read Wait Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID0_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID0_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID1_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID1_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID2_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID2_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID3_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID3_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ==================================================
- Controller Area Network Registers
- ================================================== */
-
-/* =========================
- CAN0
- ========================= */
-#define REG_CAN0_MC1 0xFFC00A00 /* CAN0 Mailbox Configuration 1 Register */
-#define REG_CAN0_MD1 0xFFC00A04 /* CAN0 Mailbox Direction 1 Register */
-#define REG_CAN0_TRS1 0xFFC00A08 /* CAN0 Transmission Request Set 1 Register */
-#define REG_CAN0_TRR1 0xFFC00A0C /* CAN0 Transmission Request Reset 1 Register */
-#define REG_CAN0_TA1 0xFFC00A10 /* CAN0 Transmission Acknowledge 1 Register */
-#define REG_CAN0_AA1 0xFFC00A14 /* CAN0 Abort Acknowledge 1 Register */
-#define REG_CAN0_RMP1 0xFFC00A18 /* CAN0 Receive Message Pending 1 Register */
-#define REG_CAN0_RML1 0xFFC00A1C /* CAN0 Receive Message Lost 1 Register */
-#define REG_CAN0_MBTIF1 0xFFC00A20 /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define REG_CAN0_MBRIF1 0xFFC00A24 /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define REG_CAN0_MBIM1 0xFFC00A28 /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define REG_CAN0_RFH1 0xFFC00A2C /* CAN0 Remote Frame Handling 1 Register */
-#define REG_CAN0_OPSS1 0xFFC00A30 /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define REG_CAN0_MC2 0xFFC00A40 /* CAN0 Mailbox Configuration 2 Register */
-#define REG_CAN0_MD2 0xFFC00A44 /* CAN0 Mailbox Direction 2 Register */
-#define REG_CAN0_TRS2 0xFFC00A48 /* CAN0 Transmission Request Set 2 Register */
-#define REG_CAN0_TRR2 0xFFC00A4C /* CAN0 Transmission Request Reset 2 Register */
-#define REG_CAN0_TA2 0xFFC00A50 /* CAN0 Transmission Acknowledge 2 Register */
-#define REG_CAN0_AA2 0xFFC00A54 /* CAN0 Abort Acknowledge 2 Register */
-#define REG_CAN0_RMP2 0xFFC00A58 /* CAN0 Receive Message Pending 2 Register */
-#define REG_CAN0_RML2 0xFFC00A5C /* CAN0 Receive Message Lost 2 Register */
-#define REG_CAN0_MBTIF2 0xFFC00A60 /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define REG_CAN0_MBRIF2 0xFFC00A64 /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define REG_CAN0_MBIM2 0xFFC00A68 /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define REG_CAN0_RFH2 0xFFC00A6C /* CAN0 Remote Frame Handling 2 Register */
-#define REG_CAN0_OPSS2 0xFFC00A70 /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define REG_CAN0_CLK 0xFFC00A80 /* CAN0 Clock Register */
-#define REG_CAN0_TIMING 0xFFC00A84 /* CAN0 Timing Register */
-#define REG_CAN0_DBG 0xFFC00A88 /* CAN0 Debug Register */
-#define REG_CAN0_STAT 0xFFC00A8C /* CAN0 Status Register */
-#define REG_CAN0_CEC 0xFFC00A90 /* CAN0 Error Counter Register */
-#define REG_CAN0_GIS 0xFFC00A94 /* CAN0 Global CAN Interrupt Status Register */
-#define REG_CAN0_GIM 0xFFC00A98 /* CAN0 Global CAN Interrupt Mask Register */
-#define REG_CAN0_GIF 0xFFC00A9C /* CAN0 Global CAN Interrupt Flag Register */
-#define REG_CAN0_CTL 0xFFC00AA0 /* CAN0 CAN Master Control Register */
-#define REG_CAN0_INT 0xFFC00AA4 /* CAN0 Interrupt Pending Register */
-#define REG_CAN0_MBTD 0xFFC00AAC /* CAN0 Temporary Mailbox Disable Register */
-#define REG_CAN0_EWR 0xFFC00AB0 /* CAN0 Error Counter Warning Level Register */
-#define REG_CAN0_ESR 0xFFC00AB4 /* CAN0 Error Status Register */
-#define REG_CAN0_UCCNT 0xFFC00AC4 /* CAN0 Universal Counter Register */
-#define REG_CAN0_UCRC 0xFFC00AC8 /* CAN0 Universal Counter Reload/Capture Register */
-#define REG_CAN0_UCCNF 0xFFC00ACC /* CAN0 Universal Counter Configuration Mode Register */
-#define REG_CAN0_AM00L 0xFFC00B00 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM01L 0xFFC00B08 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM02L 0xFFC00B10 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM03L 0xFFC00B18 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM04L 0xFFC00B20 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM05L 0xFFC00B28 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM06L 0xFFC00B30 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM07L 0xFFC00B38 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM08L 0xFFC00B40 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM09L 0xFFC00B48 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM10L 0xFFC00B50 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM11L 0xFFC00B58 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM12L 0xFFC00B60 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM13L 0xFFC00B68 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM14L 0xFFC00B70 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM15L 0xFFC00B78 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM16L 0xFFC00B80 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM17L 0xFFC00B88 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM18L 0xFFC00B90 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM19L 0xFFC00B98 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM20L 0xFFC00BA0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM21L 0xFFC00BA8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM22L 0xFFC00BB0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM23L 0xFFC00BB8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM24L 0xFFC00BC0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM25L 0xFFC00BC8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM26L 0xFFC00BD0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM27L 0xFFC00BD8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM28L 0xFFC00BE0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM29L 0xFFC00BE8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM30L 0xFFC00BF0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM31L 0xFFC00BF8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM00H 0xFFC00B04 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM01H 0xFFC00B0C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM02H 0xFFC00B14 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM03H 0xFFC00B1C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM04H 0xFFC00B24 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM05H 0xFFC00B2C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM06H 0xFFC00B34 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM07H 0xFFC00B3C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM08H 0xFFC00B44 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM09H 0xFFC00B4C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM10H 0xFFC00B54 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM11H 0xFFC00B5C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM12H 0xFFC00B64 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM13H 0xFFC00B6C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM14H 0xFFC00B74 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM15H 0xFFC00B7C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM16H 0xFFC00B84 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM17H 0xFFC00B8C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM18H 0xFFC00B94 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM19H 0xFFC00B9C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM20H 0xFFC00BA4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM21H 0xFFC00BAC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM22H 0xFFC00BB4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM23H 0xFFC00BBC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM24H 0xFFC00BC4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM25H 0xFFC00BCC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM26H 0xFFC00BD4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM27H 0xFFC00BDC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM28H 0xFFC00BE4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM29H 0xFFC00BEC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM30H 0xFFC00BF4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM31H 0xFFC00BFC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_MB00_DATA0 0xFFC00C00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB01_DATA0 0xFFC00C20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB02_DATA0 0xFFC00C40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB03_DATA0 0xFFC00C60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB04_DATA0 0xFFC00C80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB05_DATA0 0xFFC00CA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB06_DATA0 0xFFC00CC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB07_DATA0 0xFFC00CE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB08_DATA0 0xFFC00D00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB09_DATA0 0xFFC00D20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB10_DATA0 0xFFC00D40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB11_DATA0 0xFFC00D60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB12_DATA0 0xFFC00D80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB13_DATA0 0xFFC00DA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB14_DATA0 0xFFC00DC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB15_DATA0 0xFFC00DE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB16_DATA0 0xFFC00E00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB17_DATA0 0xFFC00E20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB18_DATA0 0xFFC00E40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB19_DATA0 0xFFC00E60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB20_DATA0 0xFFC00E80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB21_DATA0 0xFFC00EA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB22_DATA0 0xFFC00EC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB23_DATA0 0xFFC00EE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB24_DATA0 0xFFC00F00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB25_DATA0 0xFFC00F20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB26_DATA0 0xFFC00F40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB27_DATA0 0xFFC00F60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB28_DATA0 0xFFC00F80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB29_DATA0 0xFFC00FA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB30_DATA0 0xFFC00FC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB31_DATA0 0xFFC00FE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB00_DATA1 0xFFC00C04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB01_DATA1 0xFFC00C24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB02_DATA1 0xFFC00C44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB03_DATA1 0xFFC00C64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB04_DATA1 0xFFC00C84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB05_DATA1 0xFFC00CA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB06_DATA1 0xFFC00CC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB07_DATA1 0xFFC00CE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB08_DATA1 0xFFC00D04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB09_DATA1 0xFFC00D24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB10_DATA1 0xFFC00D44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB11_DATA1 0xFFC00D64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB12_DATA1 0xFFC00D84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB13_DATA1 0xFFC00DA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB14_DATA1 0xFFC00DC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB15_DATA1 0xFFC00DE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB16_DATA1 0xFFC00E04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB17_DATA1 0xFFC00E24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB18_DATA1 0xFFC00E44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB19_DATA1 0xFFC00E64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB20_DATA1 0xFFC00E84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB21_DATA1 0xFFC00EA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB22_DATA1 0xFFC00EC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB23_DATA1 0xFFC00EE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB24_DATA1 0xFFC00F04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB25_DATA1 0xFFC00F24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB26_DATA1 0xFFC00F44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB27_DATA1 0xFFC00F64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB28_DATA1 0xFFC00F84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB29_DATA1 0xFFC00FA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB30_DATA1 0xFFC00FC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB31_DATA1 0xFFC00FE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB00_DATA2 0xFFC00C08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB01_DATA2 0xFFC00C28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB02_DATA2 0xFFC00C48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB03_DATA2 0xFFC00C68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB04_DATA2 0xFFC00C88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB05_DATA2 0xFFC00CA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB06_DATA2 0xFFC00CC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB07_DATA2 0xFFC00CE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB08_DATA2 0xFFC00D08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB09_DATA2 0xFFC00D28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB10_DATA2 0xFFC00D48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB11_DATA2 0xFFC00D68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB12_DATA2 0xFFC00D88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB13_DATA2 0xFFC00DA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB14_DATA2 0xFFC00DC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB15_DATA2 0xFFC00DE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB16_DATA2 0xFFC00E08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB17_DATA2 0xFFC00E28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB18_DATA2 0xFFC00E48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB19_DATA2 0xFFC00E68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB20_DATA2 0xFFC00E88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB21_DATA2 0xFFC00EA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB22_DATA2 0xFFC00EC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB23_DATA2 0xFFC00EE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB24_DATA2 0xFFC00F08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB25_DATA2 0xFFC00F28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB26_DATA2 0xFFC00F48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB27_DATA2 0xFFC00F68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB28_DATA2 0xFFC00F88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB29_DATA2 0xFFC00FA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB30_DATA2 0xFFC00FC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB31_DATA2 0xFFC00FE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB00_DATA3 0xFFC00C0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB01_DATA3 0xFFC00C2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB02_DATA3 0xFFC00C4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB03_DATA3 0xFFC00C6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB04_DATA3 0xFFC00C8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB05_DATA3 0xFFC00CAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB06_DATA3 0xFFC00CCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB07_DATA3 0xFFC00CEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB08_DATA3 0xFFC00D0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB09_DATA3 0xFFC00D2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB10_DATA3 0xFFC00D4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB11_DATA3 0xFFC00D6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB12_DATA3 0xFFC00D8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB13_DATA3 0xFFC00DAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB14_DATA3 0xFFC00DCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB15_DATA3 0xFFC00DEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB16_DATA3 0xFFC00E0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB17_DATA3 0xFFC00E2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB18_DATA3 0xFFC00E4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB19_DATA3 0xFFC00E6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB20_DATA3 0xFFC00E8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB21_DATA3 0xFFC00EAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB22_DATA3 0xFFC00ECC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB23_DATA3 0xFFC00EEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB24_DATA3 0xFFC00F0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB25_DATA3 0xFFC00F2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB26_DATA3 0xFFC00F4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB27_DATA3 0xFFC00F6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB28_DATA3 0xFFC00F8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB29_DATA3 0xFFC00FAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB30_DATA3 0xFFC00FCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB31_DATA3 0xFFC00FEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB00_LENGTH 0xFFC00C10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB01_LENGTH 0xFFC00C30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB02_LENGTH 0xFFC00C50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB03_LENGTH 0xFFC00C70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB04_LENGTH 0xFFC00C90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB05_LENGTH 0xFFC00CB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB06_LENGTH 0xFFC00CD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB07_LENGTH 0xFFC00CF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB08_LENGTH 0xFFC00D10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB09_LENGTH 0xFFC00D30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB10_LENGTH 0xFFC00D50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB11_LENGTH 0xFFC00D70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB12_LENGTH 0xFFC00D90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB13_LENGTH 0xFFC00DB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB14_LENGTH 0xFFC00DD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB15_LENGTH 0xFFC00DF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB16_LENGTH 0xFFC00E10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB17_LENGTH 0xFFC00E30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB18_LENGTH 0xFFC00E50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB19_LENGTH 0xFFC00E70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB20_LENGTH 0xFFC00E90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB21_LENGTH 0xFFC00EB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB22_LENGTH 0xFFC00ED0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB23_LENGTH 0xFFC00EF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB24_LENGTH 0xFFC00F10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB25_LENGTH 0xFFC00F30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB26_LENGTH 0xFFC00F50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB27_LENGTH 0xFFC00F70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB28_LENGTH 0xFFC00F90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB29_LENGTH 0xFFC00FB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB30_LENGTH 0xFFC00FD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB31_LENGTH 0xFFC00FF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB00_TIMESTAMP 0xFFC00C14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB01_TIMESTAMP 0xFFC00C34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB02_TIMESTAMP 0xFFC00C54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB03_TIMESTAMP 0xFFC00C74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB04_TIMESTAMP 0xFFC00C94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB05_TIMESTAMP 0xFFC00CB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB06_TIMESTAMP 0xFFC00CD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB07_TIMESTAMP 0xFFC00CF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB08_TIMESTAMP 0xFFC00D14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB09_TIMESTAMP 0xFFC00D34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB10_TIMESTAMP 0xFFC00D54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB11_TIMESTAMP 0xFFC00D74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB12_TIMESTAMP 0xFFC00D94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB13_TIMESTAMP 0xFFC00DB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB14_TIMESTAMP 0xFFC00DD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB15_TIMESTAMP 0xFFC00DF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB16_TIMESTAMP 0xFFC00E14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB17_TIMESTAMP 0xFFC00E34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB18_TIMESTAMP 0xFFC00E54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB19_TIMESTAMP 0xFFC00E74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB20_TIMESTAMP 0xFFC00E94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB21_TIMESTAMP 0xFFC00EB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB22_TIMESTAMP 0xFFC00ED4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB23_TIMESTAMP 0xFFC00EF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB24_TIMESTAMP 0xFFC00F14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB25_TIMESTAMP 0xFFC00F34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB26_TIMESTAMP 0xFFC00F54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB27_TIMESTAMP 0xFFC00F74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB28_TIMESTAMP 0xFFC00F94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB29_TIMESTAMP 0xFFC00FB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB30_TIMESTAMP 0xFFC00FD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB31_TIMESTAMP 0xFFC00FF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB00_ID0 0xFFC00C18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB01_ID0 0xFFC00C38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB02_ID0 0xFFC00C58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB03_ID0 0xFFC00C78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB04_ID0 0xFFC00C98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB05_ID0 0xFFC00CB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB06_ID0 0xFFC00CD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB07_ID0 0xFFC00CF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB08_ID0 0xFFC00D18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB09_ID0 0xFFC00D38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB10_ID0 0xFFC00D58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB11_ID0 0xFFC00D78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB12_ID0 0xFFC00D98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB13_ID0 0xFFC00DB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB14_ID0 0xFFC00DD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB15_ID0 0xFFC00DF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB16_ID0 0xFFC00E18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB17_ID0 0xFFC00E38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB18_ID0 0xFFC00E58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB19_ID0 0xFFC00E78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB20_ID0 0xFFC00E98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB21_ID0 0xFFC00EB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB22_ID0 0xFFC00ED8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB23_ID0 0xFFC00EF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB24_ID0 0xFFC00F18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB25_ID0 0xFFC00F38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB26_ID0 0xFFC00F58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB27_ID0 0xFFC00F78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB28_ID0 0xFFC00F98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB29_ID0 0xFFC00FB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB30_ID0 0xFFC00FD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB31_ID0 0xFFC00FF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB00_ID1 0xFFC00C1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB01_ID1 0xFFC00C3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB02_ID1 0xFFC00C5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB03_ID1 0xFFC00C7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB04_ID1 0xFFC00C9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB05_ID1 0xFFC00CBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB06_ID1 0xFFC00CDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB07_ID1 0xFFC00CFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB08_ID1 0xFFC00D1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB09_ID1 0xFFC00D3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB10_ID1 0xFFC00D5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB11_ID1 0xFFC00D7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB12_ID1 0xFFC00D9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB13_ID1 0xFFC00DBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB14_ID1 0xFFC00DDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB15_ID1 0xFFC00DFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB16_ID1 0xFFC00E1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB17_ID1 0xFFC00E3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB18_ID1 0xFFC00E5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB19_ID1 0xFFC00E7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB20_ID1 0xFFC00E9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB21_ID1 0xFFC00EBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB22_ID1 0xFFC00EDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB23_ID1 0xFFC00EFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB24_ID1 0xFFC00F1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB25_ID1 0xFFC00F3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB26_ID1 0xFFC00F5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB27_ID1 0xFFC00F7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB28_ID1 0xFFC00F9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB29_ID1 0xFFC00FBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB30_ID1 0xFFC00FDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB31_ID1 0xFFC00FFC /* CAN0 Mailbox ID 1 Register */
-
-/* =========================
- CAN
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC1_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD1_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS1_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR1_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA1_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA1_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP1_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML1_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF1_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF1_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM1_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH1_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS1_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC2_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD2_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS2_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR2_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA2_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA2_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP2_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML2_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF2_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF2_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM2_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH2_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS2_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CLK_BRP 0 /* Bit Rate Prescaler */
-#define BITM_CAN_CLK_BRP (_ADI_MSK(0x000003FF,uint16_t)) /* Bit Rate Prescaler */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TIMING Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TIMING_SJW 8 /* Synchronization Jump Width */
-#define BITP_CAN_TIMING_SAM 7 /* Sampling */
-#define BITP_CAN_TIMING_TSEG2 4 /* Time Segment 2 */
-#define BITP_CAN_TIMING_TSEG1 0 /* Time Segment 1 */
-#define BITM_CAN_TIMING_SJW (_ADI_MSK(0x00000300,uint16_t)) /* Synchronization Jump Width */
-#define BITM_CAN_TIMING_SAM (_ADI_MSK(0x00000080,uint16_t)) /* Sampling */
-#define BITM_CAN_TIMING_TSEG2 (_ADI_MSK(0x00000070,uint16_t)) /* Time Segment 2 */
-#define BITM_CAN_TIMING_TSEG1 (_ADI_MSK(0x0000000F,uint16_t)) /* Time Segment 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_DBG_CDE 15 /* CAN Debug Mode Enable */
-#define BITP_CAN_DBG_MRB 5 /* Mode Read Back */
-#define BITP_CAN_DBG_MAA 4 /* Mode Auto Acknowledge */
-#define BITP_CAN_DBG_DIL 3 /* Disable Internal Loop */
-#define BITP_CAN_DBG_DTO 2 /* Disable Tx Output Pin */
-#define BITP_CAN_DBG_DRI 1 /* Disable Receive Input Pin */
-#define BITP_CAN_DBG_DEC 0 /* Disable Transmit and Receive Error Counters */
-#define BITM_CAN_DBG_CDE (_ADI_MSK(0x00008000,uint16_t)) /* CAN Debug Mode Enable */
-#define BITM_CAN_DBG_MRB (_ADI_MSK(0x00000020,uint16_t)) /* Mode Read Back */
-#define BITM_CAN_DBG_MAA (_ADI_MSK(0x00000010,uint16_t)) /* Mode Auto Acknowledge */
-#define BITM_CAN_DBG_DIL (_ADI_MSK(0x00000008,uint16_t)) /* Disable Internal Loop */
-#define BITM_CAN_DBG_DTO (_ADI_MSK(0x00000004,uint16_t)) /* Disable Tx Output Pin */
-#define BITM_CAN_DBG_DRI (_ADI_MSK(0x00000002,uint16_t)) /* Disable Receive Input Pin */
-#define BITM_CAN_DBG_DEC (_ADI_MSK(0x00000001,uint16_t)) /* Disable Transmit and Receive Error Counters */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_STAT_REC 15 /* Receive Mode */
-#define BITP_CAN_STAT_TRM 14 /* Transmit Mode */
-#define BITP_CAN_STAT_MBPTR 8 /* Mailbox Pointer */
-#define BITP_CAN_STAT_CCA 7 /* CAN Configuration Mode Acknowledge */
-#define BITP_CAN_STAT_CSA 6 /* CAN Suspend Mode Acknowledge */
-#define BITP_CAN_STAT_EBO 3 /* CAN Error Bus Off Mode */
-#define BITP_CAN_STAT_EP 2 /* CAN Error Passive Mode */
-#define BITP_CAN_STAT_WR 1 /* CAN Receive Warning Flag */
-#define BITP_CAN_STAT_WT 0 /* CAN Transmit Warning Flag */
-#define BITM_CAN_STAT_REC (_ADI_MSK(0x00008000,uint16_t)) /* Receive Mode */
-#define BITM_CAN_STAT_TRM (_ADI_MSK(0x00004000,uint16_t)) /* Transmit Mode */
-#define BITM_CAN_STAT_MBPTR (_ADI_MSK(0x00001F00,uint16_t)) /* Mailbox Pointer */
-#define BITM_CAN_STAT_CCA (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Acknowledge */
-#define BITM_CAN_STAT_CSA (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Acknowledge */
-#define BITM_CAN_STAT_EBO (_ADI_MSK(0x00000008,uint16_t)) /* CAN Error Bus Off Mode */
-#define BITM_CAN_STAT_EP (_ADI_MSK(0x00000004,uint16_t)) /* CAN Error Passive Mode */
-#define BITM_CAN_STAT_WR (_ADI_MSK(0x00000002,uint16_t)) /* CAN Receive Warning Flag */
-#define BITM_CAN_STAT_WT (_ADI_MSK(0x00000001,uint16_t)) /* CAN Transmit Warning Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CEC_TXECNT 8 /* Transmit Error Counter */
-#define BITP_CAN_CEC_RXECNT 0 /* Receive Error Counter */
-#define BITM_CAN_CEC_TXECNT (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Counter */
-#define BITM_CAN_CEC_RXECNT (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Counter */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIS_ADIS 10 /* Access Denied Interrupt Status */
-#define BITP_CAN_GIS_UCEIS 8 /* Universal Counter Exceeded Interrupt Status */
-#define BITP_CAN_GIS_RMLIS 7 /* Receive Message Lost Interrupt Status */
-#define BITP_CAN_GIS_AAIS 6 /* Abort Acknowledge Interrupt Status */
-#define BITP_CAN_GIS_UIAIS 5 /* Unimplemented Address Interrupt Status */
-#define BITP_CAN_GIS_WUIS 4 /* Wake Up Interrupt Status */
-#define BITP_CAN_GIS_BOIS 3 /* Bus Off Interrupt Status */
-#define BITP_CAN_GIS_EPIS 2 /* Error Passive Interrupt Status */
-#define BITP_CAN_GIS_EWRIS 1 /* Error Warning Receive Interrupt Status */
-#define BITP_CAN_GIS_EWTIS 0 /* Error Warning Transmit Interrupt Status */
-#define BITM_CAN_GIS_ADIS (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Status */
-#define BITM_CAN_GIS_UCEIS (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Status */
-#define BITM_CAN_GIS_RMLIS (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Status */
-#define BITM_CAN_GIS_AAIS (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Status */
-#define BITM_CAN_GIS_UIAIS (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Status */
-#define BITM_CAN_GIS_WUIS (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Status */
-#define BITM_CAN_GIS_BOIS (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Status */
-#define BITM_CAN_GIS_EPIS (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Status */
-#define BITM_CAN_GIS_EWRIS (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Status */
-#define BITM_CAN_GIS_EWTIS (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIM_ADIM 10 /* Access Denied Interrupt Mask */
-#define BITP_CAN_GIM_UCEIM 8 /* Universal Counter Exceeded Interrupt Mask */
-#define BITP_CAN_GIM_RMLIM 7 /* Receive Message Lost Interrupt Mask */
-#define BITP_CAN_GIM_AAIM 6 /* Abort Acknowledge Interrupt Mask */
-#define BITP_CAN_GIM_UIAIM 5 /* Unimplemented Address Interrupt Mask */
-#define BITP_CAN_GIM_WUIM 4 /* Wake Up Interrupt Mask */
-#define BITP_CAN_GIM_BOIM 3 /* Bus Off Interrupt Mask */
-#define BITP_CAN_GIM_EPIM 2 /* Error Passive Interrupt Mask */
-#define BITP_CAN_GIM_EWRIM 1 /* Error Warning Receive Interrupt Mask */
-#define BITP_CAN_GIM_EWTIM 0 /* Error Warning Transmit Interrupt Mask */
-#define BITM_CAN_GIM_ADIM (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Mask */
-#define BITM_CAN_GIM_UCEIM (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Mask */
-#define BITM_CAN_GIM_RMLIM (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Mask */
-#define BITM_CAN_GIM_AAIM (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Mask */
-#define BITM_CAN_GIM_UIAIM (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Mask */
-#define BITM_CAN_GIM_WUIM (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Mask */
-#define BITM_CAN_GIM_BOIM (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Mask */
-#define BITM_CAN_GIM_EPIM (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Mask */
-#define BITM_CAN_GIM_EWRIM (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Mask */
-#define BITM_CAN_GIM_EWTIM (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIF_ADIF 10 /* Access Denied Interrupt Flag */
-#define BITP_CAN_GIF_UCEIF 8 /* Universal Counter Exceeded Interrupt Flag */
-#define BITP_CAN_GIF_RMLIF 7 /* Receive Message Lost Interrupt Flag */
-#define BITP_CAN_GIF_AAIF 6 /* Abort Acknowledge Interrupt Flag */
-#define BITP_CAN_GIF_UIAIF 5 /* Unimplemented Address Interrupt Flag */
-#define BITP_CAN_GIF_WUIF 4 /* Wake Up Interrupt Flag */
-#define BITP_CAN_GIF_BOIF 3 /* Bus Off Interrupt Flag */
-#define BITP_CAN_GIF_EPIF 2 /* Error Passive Interrupt Flag */
-#define BITP_CAN_GIF_EWRIF 1 /* Error Warning Receive Interrupt Flag */
-#define BITP_CAN_GIF_EWTIF 0 /* Error Warning Transmit Interrupt Flag */
-#define BITM_CAN_GIF_ADIF (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Flag */
-#define BITM_CAN_GIF_UCEIF (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Flag */
-#define BITM_CAN_GIF_RMLIF (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Flag */
-#define BITM_CAN_GIF_AAIF (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Flag */
-#define BITM_CAN_GIF_UIAIF (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Flag */
-#define BITM_CAN_GIF_WUIF (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Flag */
-#define BITM_CAN_GIF_BOIF (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Flag */
-#define BITM_CAN_GIF_EPIF (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Flag */
-#define BITM_CAN_GIF_EWRIF (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Flag */
-#define BITM_CAN_GIF_EWTIF (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CTL_CCR 7 /* CAN Configuration Mode Request */
-#define BITP_CAN_CTL_CSR 6 /* CAN Suspend Mode Request */
-#define BITP_CAN_CTL_SMR 5 /* Sleep Mode Request */
-#define BITP_CAN_CTL_WBA 4 /* Wake Up on CAN Bus Activity */
-#define BITP_CAN_CTL_ABO 2 /* Auto Bus On */
-#define BITP_CAN_CTL_DNM 1 /* Device Net Mode */
-#define BITP_CAN_CTL_SRS 0 /* Software Reset */
-#define BITM_CAN_CTL_CCR (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Request */
-#define BITM_CAN_CTL_CSR (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Request */
-#define BITM_CAN_CTL_SMR (_ADI_MSK(0x00000020,uint16_t)) /* Sleep Mode Request */
-#define BITM_CAN_CTL_WBA (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up on CAN Bus Activity */
-#define BITM_CAN_CTL_ABO (_ADI_MSK(0x00000004,uint16_t)) /* Auto Bus On */
-#define BITM_CAN_CTL_DNM (_ADI_MSK(0x00000002,uint16_t)) /* Device Net Mode */
-#define BITM_CAN_CTL_SRS (_ADI_MSK(0x00000001,uint16_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_INT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_INT_CANRX 7 /* Serial Input From Transceiver */
-#define BITP_CAN_INT_CANTX 6 /* Serial Input To Transceiver */
-#define BITP_CAN_INT_SMACK 3 /* Sleep Mode Acknowledge */
-#define BITP_CAN_INT_GIRQ 2 /* Global CAN Interrupt Output */
-#define BITP_CAN_INT_MBTIRQ 1 /* Mailbox Transmit Interrupt Output */
-#define BITP_CAN_INT_MBRIRQ 0 /* Mailbox Receive Interrupt Output */
-#define BITM_CAN_INT_CANRX (_ADI_MSK(0x00000080,uint16_t)) /* Serial Input From Transceiver */
-#define BITM_CAN_INT_CANTX (_ADI_MSK(0x00000040,uint16_t)) /* Serial Input To Transceiver */
-#define BITM_CAN_INT_SMACK (_ADI_MSK(0x00000008,uint16_t)) /* Sleep Mode Acknowledge */
-#define BITM_CAN_INT_GIRQ (_ADI_MSK(0x00000004,uint16_t)) /* Global CAN Interrupt Output */
-#define BITM_CAN_INT_MBTIRQ (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox Transmit Interrupt Output */
-#define BITM_CAN_INT_MBRIRQ (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox Receive Interrupt Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTD_TDR 7 /* Temporary Disable Request */
-#define BITP_CAN_MBTD_TDA 6 /* Temporary Disable Acknowledge */
-#define BITP_CAN_MBTD_TDPTR 0 /* Temporary Disable Pointer */
-#define BITM_CAN_MBTD_TDR (_ADI_MSK(0x00000080,uint16_t)) /* Temporary Disable Request */
-#define BITM_CAN_MBTD_TDA (_ADI_MSK(0x00000040,uint16_t)) /* Temporary Disable Acknowledge */
-#define BITM_CAN_MBTD_TDPTR (_ADI_MSK(0x0000001F,uint16_t)) /* Temporary Disable Pointer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_EWR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_EWR_EWLTEC 8 /* Transmit Error Warning Limit */
-#define BITP_CAN_EWR_EWLREC 0 /* Receive Error Warning Limit */
-#define BITM_CAN_EWR_EWLTEC (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Warning Limit */
-#define BITM_CAN_EWR_EWLREC (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Warning Limit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_ESR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_ESR_FER 7 /* Form Error */
-#define BITP_CAN_ESR_BEF 6 /* Bit Error Flag */
-#define BITP_CAN_ESR_SAO 5 /* Stuck at Dominant */
-#define BITP_CAN_ESR_CRCE 4 /* CRC Error */
-#define BITP_CAN_ESR_SER 3 /* Stuff Bit Error */
-#define BITP_CAN_ESR_ACKE 2 /* Acknowledge Error */
-#define BITM_CAN_ESR_FER (_ADI_MSK(0x00000080,uint16_t)) /* Form Error */
-#define BITM_CAN_ESR_BEF (_ADI_MSK(0x00000040,uint16_t)) /* Bit Error Flag */
-#define BITM_CAN_ESR_SAO (_ADI_MSK(0x00000020,uint16_t)) /* Stuck at Dominant */
-#define BITM_CAN_ESR_CRCE (_ADI_MSK(0x00000010,uint16_t)) /* CRC Error */
-#define BITM_CAN_ESR_SER (_ADI_MSK(0x00000008,uint16_t)) /* Stuff Bit Error */
-#define BITM_CAN_ESR_ACKE (_ADI_MSK(0x00000004,uint16_t)) /* Acknowledge Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_UCCNF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_UCCNF_UCE 7 /* Universal Counter Enable */
-#define BITP_CAN_UCCNF_UCCT 6 /* Universal Counter CAN Trigger */
-#define BITP_CAN_UCCNF_UCRC 5 /* Universal Counter Reload/Clear */
-#define BITP_CAN_UCCNF_UCCNF 0 /* Universal Counter Configuration */
-#define BITM_CAN_UCCNF_UCE (_ADI_MSK(0x00000080,uint16_t)) /* Universal Counter Enable */
-#define BITM_CAN_UCCNF_UCCT (_ADI_MSK(0x00000040,uint16_t)) /* Universal Counter CAN Trigger */
-#define BITM_CAN_UCCNF_UCRC (_ADI_MSK(0x00000020,uint16_t)) /* Universal Counter Reload/Clear */
-#define BITM_CAN_UCCNF_UCCNF (_ADI_MSK(0x0000000F,uint16_t)) /* Universal Counter Configuration */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AMnH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AMH_FDF 15 /* Filter on Delay Field */
-#define BITP_CAN_AMH_FMD 14 /* Full Mask Data */
-#define BITP_CAN_AMH_AMIDE 13 /* Acceptance Mask Identifier Extension */
-#define BITP_CAN_AMH_BASEID 2 /* Base Identifier */
-#define BITP_CAN_AMH_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_AMH_FDF (_ADI_MSK(0x00008000,uint16_t)) /* Filter on Delay Field */
-#define BITM_CAN_AMH_FMD (_ADI_MSK(0x00004000,uint16_t)) /* Full Mask Data */
-#define BITM_CAN_AMH_AMIDE (_ADI_MSK(0x00002000,uint16_t)) /* Acceptance Mask Identifier Extension */
-#define BITM_CAN_AMH_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_AMH_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA0_DFB6 8 /* Data Field Byte 6 */
-#define BITP_CAN_MB_DATA0_DFB7 0 /* Data Field Byte 7 */
-#define BITM_CAN_MB_DATA0_DFB6 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 6 */
-#define BITM_CAN_MB_DATA0_DFB7 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 7 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA1_DFB4 8 /* Data Field Byte 4 */
-#define BITP_CAN_MB_DATA1_DFB5 0 /* Data Field Byte 5 */
-#define BITM_CAN_MB_DATA1_DFB4 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 4 */
-#define BITM_CAN_MB_DATA1_DFB5 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 5 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA2_DFB2 8 /* Data Field Byte 2 */
-#define BITP_CAN_MB_DATA2_DFB3 0 /* Data Field Byte 3 */
-#define BITM_CAN_MB_DATA2_DFB2 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 2 */
-#define BITM_CAN_MB_DATA2_DFB3 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 3 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA3_DFB0 8 /* Data Field Byte 0 */
-#define BITP_CAN_MB_DATA3_DFB1 0 /* Data Field Byte 1 */
-#define BITM_CAN_MB_DATA3_DFB0 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 0 */
-#define BITM_CAN_MB_DATA3_DFB1 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_LENGTH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_LENGTH_DLC 0 /* Data Length Code */
-#define BITM_CAN_MB_LENGTH_DLC (_ADI_MSK(0x0000000F,uint16_t)) /* Data Length Code */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_ID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_ID1_AME 15 /* Acceptance Mask Enable */
-#define BITP_CAN_MB_ID1_RTR 14 /* Remote Transmission Request */
-#define BITP_CAN_MB_ID1_IDE 13 /* Identifier Extension */
-#define BITP_CAN_MB_ID1_BASEID 2 /* Base Identifier */
-#define BITP_CAN_MB_ID1_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_MB_ID1_AME (_ADI_MSK(0x00008000,uint16_t)) /* Acceptance Mask Enable */
-#define BITM_CAN_MB_ID1_RTR (_ADI_MSK(0x00004000,uint16_t)) /* Remote Transmission Request */
-#define BITM_CAN_MB_ID1_IDE (_ADI_MSK(0x00002000,uint16_t)) /* Identifier Extension */
-#define BITM_CAN_MB_ID1_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_MB_ID1_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ==================================================
- Link Port Registers
- ================================================== */
-
-/* =========================
- LP0
- ========================= */
-#define REG_LP0_CTL 0xFFC01000 /* LP0 Control Register */
-#define REG_LP0_STAT 0xFFC01004 /* LP0 Status Register */
-#define REG_LP0_DIV 0xFFC01008 /* LP0 Clock Divider Value */
-#define REG_LP0_TX 0xFFC01010 /* LP0 Transmit Buffer */
-#define REG_LP0_RX 0xFFC01014 /* LP0 Receive Buffer */
-#define REG_LP0_TXIN_SHDW 0xFFC01018 /* LP0 Shadow Input Transmit Buffer */
-#define REG_LP0_TXOUT_SHDW 0xFFC0101C /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================
- LP1
- ========================= */
-#define REG_LP1_CTL 0xFFC01100 /* LP1 Control Register */
-#define REG_LP1_STAT 0xFFC01104 /* LP1 Status Register */
-#define REG_LP1_DIV 0xFFC01108 /* LP1 Clock Divider Value */
-#define REG_LP1_TX 0xFFC01110 /* LP1 Transmit Buffer */
-#define REG_LP1_RX 0xFFC01114 /* LP1 Receive Buffer */
-#define REG_LP1_TXIN_SHDW 0xFFC01118 /* LP1 Shadow Input Transmit Buffer */
-#define REG_LP1_TXOUT_SHDW 0xFFC0111C /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================
- LP2
- ========================= */
-#define REG_LP2_CTL 0xFFC01200 /* LP2 Control Register */
-#define REG_LP2_STAT 0xFFC01204 /* LP2 Status Register */
-#define REG_LP2_DIV 0xFFC01208 /* LP2 Clock Divider Value */
-#define REG_LP2_TX 0xFFC01210 /* LP2 Transmit Buffer */
-#define REG_LP2_RX 0xFFC01214 /* LP2 Receive Buffer */
-#define REG_LP2_TXIN_SHDW 0xFFC01218 /* LP2 Shadow Input Transmit Buffer */
-#define REG_LP2_TXOUT_SHDW 0xFFC0121C /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================
- LP3
- ========================= */
-#define REG_LP3_CTL 0xFFC01300 /* LP3 Control Register */
-#define REG_LP3_STAT 0xFFC01304 /* LP3 Status Register */
-#define REG_LP3_DIV 0xFFC01308 /* LP3 Clock Divider Value */
-#define REG_LP3_TX 0xFFC01310 /* LP3 Transmit Buffer */
-#define REG_LP3_RX 0xFFC01314 /* LP3 Receive Buffer */
-#define REG_LP3_TXIN_SHDW 0xFFC01318 /* LP3 Shadow Input Transmit Buffer */
-#define REG_LP3_TXOUT_SHDW 0xFFC0131C /* LP3 Shadow Output Transmit Buffer */
-
-/* =========================
- LP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_CTL_ITMSK 11 /* Receive FIFO Overflow Interrupt Mask */
-#define BITP_LP_CTL_RRQMSK 9 /* Receive Request Interrupt Mask */
-#define BITP_LP_CTL_TRQMSK 8 /* Transmit Request Interrupt Mask */
-#define BITP_LP_CTL_TRAN 3 /* Transfer Direction */
-#define BITP_LP_CTL_EN 0 /* Enable */
-
-#define BITM_LP_CTL_ITMSK (_ADI_MSK(0x00000800,uint32_t)) /* Receive FIFO Overflow Interrupt Mask */
-#define ENUM_LP_CTL_RX_OVF_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ITMSK: Mask */
-#define ENUM_LP_CTL_RX_OVF_EN (_ADI_MSK(0x00000800,uint32_t)) /* ITMSK: Unmask */
-
-#define BITM_LP_CTL_RRQMSK (_ADI_MSK(0x00000200,uint32_t)) /* Receive Request Interrupt Mask */
-#define ENUM_LP_CTL_RRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RRQMSK: Mask */
-#define ENUM_LP_CTL_RRQ_EN (_ADI_MSK(0x00000200,uint32_t)) /* RRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRQMSK (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Request Interrupt Mask */
-#define ENUM_LP_CTL_TRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TRQMSK: Mask */
-#define ENUM_LP_CTL_TRQ_EN (_ADI_MSK(0x00000100,uint32_t)) /* TRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRAN (_ADI_MSK(0x00000008,uint32_t)) /* Transfer Direction */
-#define ENUM_LP_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* TRAN: Receive */
-#define ENUM_LP_CTL_TX (_ADI_MSK(0x00000008,uint32_t)) /* TRAN: Transmit */
-
-#define BITM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_LP_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable linkport */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_STAT_LPBS 8 /* Bus Status */
-#define BITP_LP_STAT_LERR 7 /* Buffer Pack Error Status */
-#define BITP_LP_STAT_FFST 4 /* FIFO Status */
-#define BITP_LP_STAT_LPIT 3 /* Receive FIFO Overflow Interrupt */
-#define BITP_LP_STAT_LRRQ 1 /* Receive Request */
-#define BITP_LP_STAT_LTRQ 0 /* Transmit Request */
-
-#define BITM_LP_STAT_LPBS (_ADI_MSK(0x00000100,uint32_t)) /* Bus Status */
-#define ENUM_LP_STAT_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* LPBS: Bus is Idle */
-#define ENUM_LP_STAT_BUSY (_ADI_MSK(0x00000100,uint32_t)) /* LPBS: Bus Busy */
-
-#define BITM_LP_STAT_LERR (_ADI_MSK(0x00000080,uint32_t)) /* Buffer Pack Error Status */
-#define ENUM_LP_STAT_PACK_DONE (_ADI_MSK(0x00000000,uint32_t)) /* LERR: Packing Complete */
-#define ENUM_LP_STAT_PACK_PROG (_ADI_MSK(0x00000080,uint32_t)) /* LERR: Packing Incomplete */
-
-#define BITM_LP_STAT_FFST (_ADI_MSK(0x00000070,uint32_t)) /* FIFO Status */
-#define ENUM_LP_STAT_RX0_TX0 (_ADI_MSK(0x00000000,uint32_t)) /* FFST: TX - Empty; RX -Empty */
-#define ENUM_LP_STAT_RX1_TXR (_ADI_MSK(0x00000010,uint32_t)) /* FFST: TX - reserved ; RX - One Word */
-#define ENUM_LP_STAT_RX2_TXR (_ADI_MSK(0x00000020,uint32_t)) /* FFST: TX - reserved; RX - Two Word */
-#define ENUM_LP_STAT_RX3_TXR (_ADI_MSK(0x00000030,uint32_t)) /* FFST: TX - reserved; RX - Three Word */
-#define ENUM_LP_STAT_RX4_TX1 (_ADI_MSK(0x00000040,uint32_t)) /* FFST: TX - One Word; RX - Four word */
-#define ENUM_LP_STAT_RXR1_TXR1 (_ADI_MSK(0x00000050,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define ENUM_LP_STAT_RXR2_TXR2 (_ADI_MSK(0x00000060,uint32_t)) /* FFST: TX - FIFO Full; RX - Reserved */
-#define ENUM_LP_STAT_RXR3_TXR3 (_ADI_MSK(0x00000070,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define BITM_LP_STAT_LPIT (_ADI_MSK(0x00000008,uint32_t)) /* Receive FIFO Overflow Interrupt */
-#define BITM_LP_STAT_LRRQ (_ADI_MSK(0x00000002,uint32_t)) /* Receive Request */
-#define BITM_LP_STAT_LTRQ (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_DIV_VALUE 0 /* Divisor Value */
-#define BITM_LP_DIV_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Divisor Value */
-
-/* ==================================================
- General Purpose Timer Block Registers
- ================================================== */
-
-/* =========================
- TIMER0
- ========================= */
-#define REG_TIMER0_REVID 0xFFC01400 /* TIMER0 Revision ID Register */
-#define REG_TIMER0_RUN 0xFFC01404 /* TIMER0 Run Register */
-#define REG_TIMER0_RUN_SET 0xFFC01408 /* TIMER0 Run Set Register */
-#define REG_TIMER0_RUN_CLR 0xFFC0140C /* TIMER0 Run Clear Register */
-#define REG_TIMER0_STOP_CFG 0xFFC01410 /* TIMER0 Stop Configuration Register */
-#define REG_TIMER0_STOP_CFG_SET 0xFFC01414 /* TIMER0 Stop Configuration Set Register */
-#define REG_TIMER0_STOP_CFG_CLR 0xFFC01418 /* TIMER0 Stop Configuration Clear Register */
-#define REG_TIMER0_DATA_IMSK 0xFFC0141C /* TIMER0 Data Interrupt Mask Register */
-#define REG_TIMER0_STAT_IMSK 0xFFC01420 /* TIMER0 Status Interrupt Mask Register */
-#define REG_TIMER0_TRG_MSK 0xFFC01424 /* TIMER0 Trigger Master Mask Register */
-#define REG_TIMER0_TRG_IE 0xFFC01428 /* TIMER0 Trigger Slave Enable Register */
-#define REG_TIMER0_DATA_ILAT 0xFFC0142C /* TIMER0 Data Interrupt Latch Register */
-#define REG_TIMER0_STAT_ILAT 0xFFC01430 /* TIMER0 Status Interrupt Latch Register */
-#define REG_TIMER0_ERR_TYPE 0xFFC01434 /* TIMER0 Error Type Status Register */
-#define REG_TIMER0_BCAST_PER 0xFFC01438 /* TIMER0 Broadcast Period Register */
-#define REG_TIMER0_BCAST_WID 0xFFC0143C /* TIMER0 Broadcast Width Register */
-#define REG_TIMER0_BCAST_DLY 0xFFC01440 /* TIMER0 Broadcast Delay Register */
-#define REG_TIMER0_TMR0_CFG 0xFFC01460 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR1_CFG 0xFFC01480 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR2_CFG 0xFFC014A0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR3_CFG 0xFFC014C0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR4_CFG 0xFFC014E0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR5_CFG 0xFFC01500 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR6_CFG 0xFFC01520 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR7_CFG 0xFFC01540 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR0_CNT 0xFFC01464 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR1_CNT 0xFFC01484 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR2_CNT 0xFFC014A4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR3_CNT 0xFFC014C4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR4_CNT 0xFFC014E4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR5_CNT 0xFFC01504 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR6_CNT 0xFFC01524 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR7_CNT 0xFFC01544 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR0_PER 0xFFC01468 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR1_PER 0xFFC01488 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR2_PER 0xFFC014A8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR3_PER 0xFFC014C8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR4_PER 0xFFC014E8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR5_PER 0xFFC01508 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR6_PER 0xFFC01528 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR7_PER 0xFFC01548 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR0_WID 0xFFC0146C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR1_WID 0xFFC0148C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR2_WID 0xFFC014AC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR3_WID 0xFFC014CC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR4_WID 0xFFC014EC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR5_WID 0xFFC0150C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR6_WID 0xFFC0152C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR7_WID 0xFFC0154C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR0_DLY 0xFFC01470 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR1_DLY 0xFFC01490 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR2_DLY 0xFFC014B0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR3_DLY 0xFFC014D0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR4_DLY 0xFFC014F0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR5_DLY 0xFFC01510 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR6_DLY 0xFFC01530 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR7_DLY 0xFFC01550 /* TIMER0 Timer n Delay Register */
-
-/* =========================
- TIMER
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_TIMER_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_TIMER_REVID_MAJOR (_ADI_MSK(0x000000F0,uint16_t)) /* Major Revision ID */
-#define BITM_TIMER_REVID_REV (_ADI_MSK(0x0000000F,uint16_t)) /* Incremental Revision ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_TMR00 0 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR01 1 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR02 2 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR03 3 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR04 4 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR05 5 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR06 6 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR07 7 /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Start/Stop Timer n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_SET_TMR00 0 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR01 1 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR02 2 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR03 3 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR04 4 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR05 5 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR06 6 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR07 7 /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_CLR_TMR00 0 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR01 1 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR02 2 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR03 3 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR04 4 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR05 5 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR06 6 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR07 7 /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_TMR00 0 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR01 1 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR02 2 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR03 3 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR04 4 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR05 5 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR06 6 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR07 7 /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Stop Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_SET_TMR00 0 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR01 1 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR02 2 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR03 3 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR04 4 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR05 5 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR06 6 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR07 7 /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_CLR_TMR00 0 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR01 1 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR02 2 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR03 3 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR04 4 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR05 5 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR06 6 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR07 7 /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_IMSK_TMR00 0 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR01 1 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR02 2 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR03 3 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR04 4 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR05 5 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR06 6 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR07 7 /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_IMSK_TMR00 0 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR01 1 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR02 2 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR03 3 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR04 4 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR05 5 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR06 6 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR07 7 /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_MSK_TMR00 0 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR01 1 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR02 2 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR03 3 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR04 4 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR05 5 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR06 6 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR07 7 /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Output Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_IE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_IE_TMR00 0 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR01 1 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR02 2 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR03 3 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR04 4 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR05 5 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR06 6 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR07 7 /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_ILAT_TMR00 0 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR01 1 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR02 2 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR03 3 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR04 4 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR05 5 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR06 6 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR07 7 /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_ILAT_TMR00 0 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR01 1 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR02 2 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR03 3 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR04 4 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR05 5 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR06 6 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR07 7 /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_ERR_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_ERR_TYPE_TERR7 14 /* Error type for Timer 7 */
-#define BITP_TIMER_ERR_TYPE_TERR6 12 /* Error type for Timer 6 */
-#define BITP_TIMER_ERR_TYPE_TERR5 10 /* Error type for Timer 5 */
-#define BITP_TIMER_ERR_TYPE_TERR4 8 /* Error type for Timer 4 */
-#define BITP_TIMER_ERR_TYPE_TERR3 6 /* Error type for Timer 3 */
-#define BITP_TIMER_ERR_TYPE_TERR2 4 /* Error type for Timer 2 */
-#define BITP_TIMER_ERR_TYPE_TERR1 2 /* Error type for Timer 1 */
-#define BITP_TIMER_ERR_TYPE_TERR0 0 /* Error type for Timer 0 */
-
-#define BITM_TIMER_ERR_TYPE_TERR7 (_ADI_MSK(0x0000C000,uint32_t)) /* Error type for Timer 7 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR7 (_ADI_MSK(0x00000000,uint32_t)) /* TERR7: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF7 (_ADI_MSK(0x00004000,uint32_t)) /* TERR7: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG7 (_ADI_MSK(0x00008000,uint32_t)) /* TERR7: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG7 (_ADI_MSK(0x0000C000,uint32_t)) /* TERR7: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR6 (_ADI_MSK(0x00003000,uint32_t)) /* Error type for Timer 6 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR6 (_ADI_MSK(0x00000000,uint32_t)) /* TERR6: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF6 (_ADI_MSK(0x00001000,uint32_t)) /* TERR6: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG6 (_ADI_MSK(0x00002000,uint32_t)) /* TERR6: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG6 (_ADI_MSK(0x00003000,uint32_t)) /* TERR6: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR5 (_ADI_MSK(0x00000C00,uint32_t)) /* Error type for Timer 5 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR5 (_ADI_MSK(0x00000000,uint32_t)) /* TERR5: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF5 (_ADI_MSK(0x00000400,uint32_t)) /* TERR5: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG5 (_ADI_MSK(0x00000800,uint32_t)) /* TERR5: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG5 (_ADI_MSK(0x00000C00,uint32_t)) /* TERR5: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR4 (_ADI_MSK(0x00000300,uint32_t)) /* Error type for Timer 4 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR4 (_ADI_MSK(0x00000000,uint32_t)) /* TERR4: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF4 (_ADI_MSK(0x00000100,uint32_t)) /* TERR4: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG4 (_ADI_MSK(0x00000200,uint32_t)) /* TERR4: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG4 (_ADI_MSK(0x00000300,uint32_t)) /* TERR4: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR3 (_ADI_MSK(0x000000C0,uint32_t)) /* Error type for Timer 3 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR3 (_ADI_MSK(0x00000000,uint32_t)) /* TERR3: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF3 (_ADI_MSK(0x00000040,uint32_t)) /* TERR3: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG3 (_ADI_MSK(0x00000080,uint32_t)) /* TERR3: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG3 (_ADI_MSK(0x000000C0,uint32_t)) /* TERR3: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR2 (_ADI_MSK(0x00000030,uint32_t)) /* Error type for Timer 2 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR2 (_ADI_MSK(0x00000000,uint32_t)) /* TERR2: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF2 (_ADI_MSK(0x00000010,uint32_t)) /* TERR2: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG2 (_ADI_MSK(0x00000020,uint32_t)) /* TERR2: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG2 (_ADI_MSK(0x00000030,uint32_t)) /* TERR2: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR1 (_ADI_MSK(0x0000000C,uint32_t)) /* Error type for Timer 1 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR1 (_ADI_MSK(0x00000000,uint32_t)) /* TERR1: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF1 (_ADI_MSK(0x00000004,uint32_t)) /* TERR1: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG1 (_ADI_MSK(0x00000008,uint32_t)) /* TERR1: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG1 (_ADI_MSK(0x0000000C,uint32_t)) /* TERR1: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR0 (_ADI_MSK(0x00000003,uint32_t)) /* Error type for Timer 0 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR0 (_ADI_MSK(0x00000000,uint32_t)) /* TERR0: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF0 (_ADI_MSK(0x00000001,uint32_t)) /* TERR0: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG0 (_ADI_MSK(0x00000002,uint32_t)) /* TERR0: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG0 (_ADI_MSK(0x00000003,uint32_t)) /* TERR0: WID or DLY Register Programming Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TMR_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TMR_CFG_EMURUN 15 /* Run Timer (Counter) During Emulation */
-#define BITP_TIMER_TMR_CFG_BPEREN 14 /* Broadcast Period Enable */
-#define BITP_TIMER_TMR_CFG_BWIDEN 13 /* Broadcast Width Enable */
-#define BITP_TIMER_TMR_CFG_BDLYEN 12 /* Broadcast Delay Enable */
-#define BITP_TIMER_TMR_CFG_OUTDIS 11 /* Output Disable */
-#define BITP_TIMER_TMR_CFG_TINSEL 10 /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define BITP_TIMER_TMR_CFG_CLKSEL 8 /* Clock Select */
-#define BITP_TIMER_TMR_CFG_PULSEHI 7 /* Polarity Response Select */
-#define BITP_TIMER_TMR_CFG_SLAVETRIG 6 /* Slave Trigger Response */
-#define BITP_TIMER_TMR_CFG_IRQMODE 4 /* Interrupt Modes */
-#define BITP_TIMER_TMR_CFG_TMODE 0 /* Timer Mode Select */
-
-#define BITM_TIMER_TMR_CFG_EMURUN (_ADI_MSK(0x00008000,uint16_t)) /* Run Timer (Counter) During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_NOCNT (_ADI_MSK(0x00000000,uint16_t)) /* EMURUN: Stop Timer During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_CNT (_ADI_MSK(0x00008000,uint16_t)) /* EMURUN: Run Timer During Emulation */
-
-#define BITM_TIMER_TMR_CFG_BPEREN (_ADI_MSK(0x00004000,uint16_t)) /* Broadcast Period Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BPEREN: Disable Broadcast to PER Register */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_EN (_ADI_MSK(0x00004000,uint16_t)) /* BPEREN: Enable Broadcast to PER Register */
-
-#define BITM_TIMER_TMR_CFG_BWIDEN (_ADI_MSK(0x00002000,uint16_t)) /* Broadcast Width Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BWIDEN: Disable Broadcast to WID Register */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_EN (_ADI_MSK(0x00002000,uint16_t)) /* BWIDEN: Enable Broadcast to WID Register */
-
-#define BITM_TIMER_TMR_CFG_BDLYEN (_ADI_MSK(0x00001000,uint16_t)) /* Broadcast Delay Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BDLYEN: Disable Broadcast to DLY Register */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_EN (_ADI_MSK(0x00001000,uint16_t)) /* BDLYEN: Enable Broadcast to DLY Register */
-
-#define BITM_TIMER_TMR_CFG_OUTDIS (_ADI_MSK(0x00000800,uint16_t)) /* Output Disable */
-#define ENUM_TIMER_TMR_CFG_PADOUT_EN (_ADI_MSK(0x00000000,uint16_t)) /* OUTDIS: Enable TMR pin output buffer */
-#define ENUM_TIMER_TMR_CFG_PADOUT_DIS (_ADI_MSK(0x00000800,uint16_t)) /* OUTDIS: Disable TMR pin output buffer */
-
-#define BITM_TIMER_TMR_CFG_TINSEL (_ADI_MSK(0x00000400,uint16_t)) /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define ENUM_TIMER_TMR_CFG_TINSEL_TMR (_ADI_MSK(0x00000000,uint16_t)) /* TINSEL: Use TMR pin input */
-#define ENUM_TIMER_TMR_CFG_TINSEL_AUX (_ADI_MSK(0x00000400,uint16_t)) /* TINSEL: Use TMR Alternate Capture Input */
-
-#define BITM_TIMER_TMR_CFG_CLKSEL (_ADI_MSK(0x00000300,uint16_t)) /* Clock Select */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_SCLK (_ADI_MSK(0x00000000,uint16_t)) /* CLKSEL: Use SCLK */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT0 (_ADI_MSK(0x00000100,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK0 as the TMR clock */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT1 (_ADI_MSK(0x00000300,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK1 as the TMR clock */
-
-#define BITM_TIMER_TMR_CFG_PULSEHI (_ADI_MSK(0x00000080,uint16_t)) /* Polarity Response Select */
-#define ENUM_TIMER_TMR_CFG_NEG_EDGE (_ADI_MSK(0x00000000,uint16_t)) /* PULSEHI: Negative Response/Pulse */
-#define ENUM_TIMER_TMR_CFG_POS_EDGE (_ADI_MSK(0x00000080,uint16_t)) /* PULSEHI: Positive Response/Pulse */
-
-#define BITM_TIMER_TMR_CFG_SLAVETRIG (_ADI_MSK(0x00000040,uint16_t)) /* Slave Trigger Response */
-#define ENUM_TIMER_TMR_CFG_TRIGSTOP (_ADI_MSK(0x00000000,uint16_t)) /* SLAVETRIG: Pulse stops timer if it is running */
-#define ENUM_TIMER_TMR_CFG_TRIGSTART (_ADI_MSK(0x00000040,uint16_t)) /* SLAVETRIG: Pulse starts timer if it is stopped */
-
-#define BITM_TIMER_TMR_CFG_IRQMODE (_ADI_MSK(0x00000030,uint16_t)) /* Interrupt Modes */
-#define ENUM_TIMER_TMR_CFG_IRQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* IRQMODE: Active Edge Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE1 (_ADI_MSK(0x00000010,uint16_t)) /* IRQMODE: Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE2 (_ADI_MSK(0x00000020,uint16_t)) /* IRQMODE: Width Plus Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE3 (_ADI_MSK(0x00000030,uint16_t)) /* IRQMODE: Period Expired Mode */
-
-#define BITM_TIMER_TMR_CFG_TMODE (_ADI_MSK(0x0000000F,uint16_t)) /* Timer Mode Select */
-#define ENUM_TIMER_TMR_CFG_IDLE_MODE (_ADI_MSK(0x00000000,uint16_t)) /* TMODE: Idle Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP0_MODE (_ADI_MSK(0x0000000A,uint16_t)) /* TMODE: Width Capture Asserted Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP1_MODE (_ADI_MSK(0x0000000B,uint16_t)) /* TMODE: Width Capture Deasserted Mode */
-#define ENUM_TIMER_TMR_CFG_PWMCONT_MODE (_ADI_MSK(0x0000000C,uint16_t)) /* TMODE: Continuous PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_PWMSING_MODE (_ADI_MSK(0x0000000D,uint16_t)) /* TMODE: Single pulse PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_EXTCLK_MODE (_ADI_MSK(0x0000000E,uint16_t)) /* TMODE: EXTCLK mode */
-#define ENUM_TIMER_TMR_CFG_PININT_MODE (_ADI_MSK(0x0000000F,uint16_t)) /* TMODE: PININT (pin interrupt) mode */
-#define ENUM_TIMER_TMR_CFG_WDPER_MODE (_ADI_MSK(0x00000008,uint16_t)) /* TMODE: Period Watchdog Mode */
-#define ENUM_TIMER_TMR_CFG_WDWID_MODE (_ADI_MSK(0x00000009,uint16_t)) /* TMODE: Width Watchdog Mode */
-
-/* ==================================================
- Cyclic Redundancy Check Unit Registers
- ================================================== */
-
-/* =========================
- CRC0
- ========================= */
-#define REG_CRC0_CTL 0xFFC01C00 /* CRC0 Control Register */
-#define REG_CRC0_DCNT 0xFFC01C04 /* CRC0 Data Word Count Register */
-#define REG_CRC0_DCNTRLD 0xFFC01C08 /* CRC0 Data Word Count Reload Register */
-#define REG_CRC0_COMP 0xFFC01C14 /* CRC0 Data Compare Register */
-#define REG_CRC0_FILLVAL 0xFFC01C18 /* CRC0 Fill Value Register */
-#define REG_CRC0_DFIFO 0xFFC01C1C /* CRC0 Data FIFO Register */
-#define REG_CRC0_INEN 0xFFC01C20 /* CRC0 Interrupt Enable Register */
-#define REG_CRC0_INEN_SET 0xFFC01C24 /* CRC0 Interrupt Enable Set Register */
-#define REG_CRC0_INEN_CLR 0xFFC01C28 /* CRC0 Interrupt Enable Clear Register */
-#define REG_CRC0_POLY 0xFFC01C2C /* CRC0 Polynomial Register */
-#define REG_CRC0_STAT 0xFFC01C40 /* CRC0 Status Register */
-#define REG_CRC0_DCNTCAP 0xFFC01C44 /* CRC0 Data Count Capture Register */
-#define REG_CRC0_RESULT_FIN 0xFFC01C4C /* CRC0 CRC Final Result Register */
-#define REG_CRC0_RESULT_CUR 0xFFC01C50 /* CRC0 CRC Current Result Register */
-#define REG_CRC0_REVID 0xFFC01C60 /* CRC0 Revision ID Register */
-
-/* =========================
- CRC1
- ========================= */
-#define REG_CRC1_CTL 0xFFC01D00 /* CRC1 Control Register */
-#define REG_CRC1_DCNT 0xFFC01D04 /* CRC1 Data Word Count Register */
-#define REG_CRC1_DCNTRLD 0xFFC01D08 /* CRC1 Data Word Count Reload Register */
-#define REG_CRC1_COMP 0xFFC01D14 /* CRC1 Data Compare Register */
-#define REG_CRC1_FILLVAL 0xFFC01D18 /* CRC1 Fill Value Register */
-#define REG_CRC1_DFIFO 0xFFC01D1C /* CRC1 Data FIFO Register */
-#define REG_CRC1_INEN 0xFFC01D20 /* CRC1 Interrupt Enable Register */
-#define REG_CRC1_INEN_SET 0xFFC01D24 /* CRC1 Interrupt Enable Set Register */
-#define REG_CRC1_INEN_CLR 0xFFC01D28 /* CRC1 Interrupt Enable Clear Register */
-#define REG_CRC1_POLY 0xFFC01D2C /* CRC1 Polynomial Register */
-#define REG_CRC1_STAT 0xFFC01D40 /* CRC1 Status Register */
-#define REG_CRC1_DCNTCAP 0xFFC01D44 /* CRC1 Data Count Capture Register */
-#define REG_CRC1_RESULT_FIN 0xFFC01D4C /* CRC1 CRC Final Result Register */
-#define REG_CRC1_RESULT_CUR 0xFFC01D50 /* CRC1 CRC Current Result Register */
-#define REG_CRC1_REVID 0xFFC01D60 /* CRC1 Revision ID Register */
-
-/* =========================
- CRC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_CTL_CMPMIRR 22 /* COMPARE Register Mirroring */
-#define BITP_CRC_CTL_POLYMIRR 21 /* Polynomial Register Mirroring */
-#define BITP_CRC_CTL_RSLTMIRR 20 /* Result Register Mirroring */
-#define BITP_CRC_CTL_FDSEL 19 /* FIFO Data Select */
-#define BITP_CRC_CTL_W16SWP 18 /* Word16 Swapping */
-#define BITP_CRC_CTL_BYTMIRR 17 /* Byte Mirroring */
-#define BITP_CRC_CTL_BITMIRR 16 /* Bit Mirroring */
-#define BITP_CRC_CTL_IRRSTALL 13 /* Intermediate Result Ready Stall */
-#define BITP_CRC_CTL_OBRSTALL 12 /* Output Buffer Ready Stall */
-#define BITP_CRC_CTL_AUTOCLRF 9 /* Auto Clear to One */
-#define BITP_CRC_CTL_AUTOCLRZ 8 /* Auto Clear to Zero */
-#define BITP_CRC_CTL_OPMODE 4 /* Operation Mode */
-#define BITP_CRC_CTL_BLKEN 0 /* Block Enable */
-#define BITM_CRC_CTL_CMPMIRR (_ADI_MSK(0x00400000,uint32_t)) /* COMPARE Register Mirroring */
-#define BITM_CRC_CTL_POLYMIRR (_ADI_MSK(0x00200000,uint32_t)) /* Polynomial Register Mirroring */
-#define BITM_CRC_CTL_RSLTMIRR (_ADI_MSK(0x00100000,uint32_t)) /* Result Register Mirroring */
-#define BITM_CRC_CTL_FDSEL (_ADI_MSK(0x00080000,uint32_t)) /* FIFO Data Select */
-#define BITM_CRC_CTL_W16SWP (_ADI_MSK(0x00040000,uint32_t)) /* Word16 Swapping */
-#define BITM_CRC_CTL_BYTMIRR (_ADI_MSK(0x00020000,uint32_t)) /* Byte Mirroring */
-#define BITM_CRC_CTL_BITMIRR (_ADI_MSK(0x00010000,uint32_t)) /* Bit Mirroring */
-#define BITM_CRC_CTL_IRRSTALL (_ADI_MSK(0x00002000,uint32_t)) /* Intermediate Result Ready Stall */
-#define BITM_CRC_CTL_OBRSTALL (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Ready Stall */
-#define BITM_CRC_CTL_AUTOCLRF (_ADI_MSK(0x00000200,uint32_t)) /* Auto Clear to One */
-#define BITM_CRC_CTL_AUTOCLRZ (_ADI_MSK(0x00000100,uint32_t)) /* Auto Clear to Zero */
-#define BITM_CRC_CTL_OPMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Operation Mode */
-#define BITM_CRC_CTL_BLKEN (_ADI_MSK(0x00000001,uint32_t)) /* Block Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable */
-#define BITP_CRC_INEN_CMPERR 1 /* Compare Error Interrupt Enable */
-
-#define BITM_CRC_INEN_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable */
-#define ENUM_CRC_INEN_DCNTEXP_MSK (_ADI_MSK(0x00000000,uint32_t)) /* DCNTEXP: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_DCNTEXP_UMSK (_ADI_MSK(0x00000010,uint32_t)) /* DCNTEXP: Enable (unmask) interrupt */
-
-#define BITM_CRC_INEN_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable */
-#define ENUM_CRC_INEN_CMPERR_MSK (_ADI_MSK(0x00000000,uint32_t)) /* CMPERR: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_CMPERR_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* CMPERR: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_SET_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITP_CRC_INEN_SET_CMPERR 1 /* Compare Error Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_CLR_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITP_CRC_INEN_CLR_CMPERR 1 /* Compare Error Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_STAT_FSTAT 20 /* FIFO Status */
-#define BITP_CRC_STAT_LUTDONE 19 /* Look Up Table Done */
-#define BITP_CRC_STAT_IRR 18 /* Intermediate Result Ready */
-#define BITP_CRC_STAT_OBR 17 /* Output Buffer Ready */
-#define BITP_CRC_STAT_IBR 16 /* Input Buffer Ready */
-#define BITP_CRC_STAT_DCNTEXP 4 /* Data Count Expired */
-#define BITP_CRC_STAT_CMPERR 1 /* Compare Error */
-#define BITM_CRC_STAT_FSTAT (_ADI_MSK(0x00700000,uint32_t)) /* FIFO Status */
-#define BITM_CRC_STAT_LUTDONE (_ADI_MSK(0x00080000,uint32_t)) /* Look Up Table Done */
-#define BITM_CRC_STAT_IRR (_ADI_MSK(0x00040000,uint32_t)) /* Intermediate Result Ready */
-#define BITM_CRC_STAT_OBR (_ADI_MSK(0x00020000,uint32_t)) /* Output Buffer Ready */
-#define BITM_CRC_STAT_IBR (_ADI_MSK(0x00010000,uint32_t)) /* Input Buffer Ready */
-#define BITM_CRC_STAT_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired */
-#define BITM_CRC_STAT_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_CRC_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_CRC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Revision ID */
-#define BITM_CRC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Revision ID */
-
-/* ==================================================
- 2-Wire Interface Registers
- ================================================== */
-
-/* =========================
- TWI0
- ========================= */
-#define REG_TWI0_CLKDIV 0xFFC01E00 /* TWI0 SCL Clock Divider Register */
-#define REG_TWI0_CTL 0xFFC01E04 /* TWI0 Control Register */
-#define REG_TWI0_SLVCTL 0xFFC01E08 /* TWI0 Slave Mode Control Register */
-#define REG_TWI0_SLVSTAT 0xFFC01E0C /* TWI0 Slave Mode Status Register */
-#define REG_TWI0_SLVADDR 0xFFC01E10 /* TWI0 Slave Mode Address Register */
-#define REG_TWI0_MSTRCTL 0xFFC01E14 /* TWI0 Master Mode Control Registers */
-#define REG_TWI0_MSTRSTAT 0xFFC01E18 /* TWI0 Master Mode Status Register */
-#define REG_TWI0_MSTRADDR 0xFFC01E1C /* TWI0 Master Mode Address Register */
-#define REG_TWI0_ISTAT 0xFFC01E20 /* TWI0 Interrupt Status Register */
-#define REG_TWI0_IMSK 0xFFC01E24 /* TWI0 Interrupt Mask Register */
-#define REG_TWI0_FIFOCTL 0xFFC01E28 /* TWI0 FIFO Control Register */
-#define REG_TWI0_FIFOSTAT 0xFFC01E2C /* TWI0 FIFO Status Register */
-#define REG_TWI0_TXDATA8 0xFFC01E80 /* TWI0 Tx Data Single-Byte Register */
-#define REG_TWI0_TXDATA16 0xFFC01E84 /* TWI0 Tx Data Double-Byte Register */
-#define REG_TWI0_RXDATA8 0xFFC01E88 /* TWI0 Rx Data Single-Byte Register */
-#define REG_TWI0_RXDATA16 0xFFC01E8C /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================
- TWI1
- ========================= */
-#define REG_TWI1_CLKDIV 0xFFC01F00 /* TWI1 SCL Clock Divider Register */
-#define REG_TWI1_CTL 0xFFC01F04 /* TWI1 Control Register */
-#define REG_TWI1_SLVCTL 0xFFC01F08 /* TWI1 Slave Mode Control Register */
-#define REG_TWI1_SLVSTAT 0xFFC01F0C /* TWI1 Slave Mode Status Register */
-#define REG_TWI1_SLVADDR 0xFFC01F10 /* TWI1 Slave Mode Address Register */
-#define REG_TWI1_MSTRCTL 0xFFC01F14 /* TWI1 Master Mode Control Registers */
-#define REG_TWI1_MSTRSTAT 0xFFC01F18 /* TWI1 Master Mode Status Register */
-#define REG_TWI1_MSTRADDR 0xFFC01F1C /* TWI1 Master Mode Address Register */
-#define REG_TWI1_ISTAT 0xFFC01F20 /* TWI1 Interrupt Status Register */
-#define REG_TWI1_IMSK 0xFFC01F24 /* TWI1 Interrupt Mask Register */
-#define REG_TWI1_FIFOCTL 0xFFC01F28 /* TWI1 FIFO Control Register */
-#define REG_TWI1_FIFOSTAT 0xFFC01F2C /* TWI1 FIFO Status Register */
-#define REG_TWI1_TXDATA8 0xFFC01F80 /* TWI1 Tx Data Single-Byte Register */
-#define REG_TWI1_TXDATA16 0xFFC01F84 /* TWI1 Tx Data Double-Byte Register */
-#define REG_TWI1_RXDATA8 0xFFC01F88 /* TWI1 Rx Data Single-Byte Register */
-#define REG_TWI1_RXDATA16 0xFFC01F8C /* TWI1 Rx Data Double-Byte Register */
-
-/* =========================
- TWI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CLKDIV_CLKHI 8 /* SCL Clock High Periods */
-#define BITP_TWI_CLKDIV_CLKLO 0 /* SCL Clock Low Periods */
-#define BITM_TWI_CLKDIV_CLKHI (_ADI_MSK(0x0000FF00,uint16_t)) /* SCL Clock High Periods */
-#define BITM_TWI_CLKDIV_CLKLO (_ADI_MSK(0x000000FF,uint16_t)) /* SCL Clock Low Periods */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CTL_SCCB 9 /* SCCB Compatibility */
-#define BITP_TWI_CTL_EN 7 /* Enable Module */
-#define BITP_TWI_CTL_PRESCALE 0 /* SCLK Prescale Value */
-
-#define BITM_TWI_CTL_SCCB (_ADI_MSK(0x00000200,uint16_t)) /* SCCB Compatibility */
-#define ENUM_TWI_CTL_SCCB_DIS (_ADI_MSK(0x00000000,uint16_t)) /* SCCB: Disable SCCB compatibility */
-#define ENUM_TWI_CTL_SCCB_EN (_ADI_MSK(0x00000200,uint16_t)) /* SCCB: Enable SCCB compatibility */
-
-#define BITM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* Enable Module */
-#define ENUM_TWI_CTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* EN: Enable */
-#define BITM_TWI_CTL_PRESCALE (_ADI_MSK(0x0000007F,uint16_t)) /* SCLK Prescale Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVCTL_GEN 4 /* General Call Enable */
-#define BITP_TWI_SLVCTL_NAK 3 /* Not Acknowledge */
-#define BITP_TWI_SLVCTL_TDVAL 2 /* Transmit Data Valid for Slave */
-#define BITP_TWI_SLVCTL_EN 0 /* Enable Slave Mode */
-
-#define BITM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* General Call Enable */
-#define ENUM_TWI_SLVCTL_GDIS (_ADI_MSK(0x00000000,uint16_t)) /* GEN: Disable General Call Matching */
-#define ENUM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* GEN: Enable General Call Matching */
-
-#define BITM_TWI_SLVCTL_NAK (_ADI_MSK(0x00000008,uint16_t)) /* Not Acknowledge */
-#define ENUM_TWI_SLVCTL_ACKGEN (_ADI_MSK(0x00000000,uint16_t)) /* NAK: Generate ACK */
-#define ENUM_TWI_SLVCTL_NAKGEN (_ADI_MSK(0x00000008,uint16_t)) /* NAK: Generate NAK */
-
-#define BITM_TWI_SLVCTL_TDVAL (_ADI_MSK(0x00000004,uint16_t)) /* Transmit Data Valid for Slave */
-#define ENUM_TWI_SLVCTL_INVALID (_ADI_MSK(0x00000000,uint16_t)) /* TDVAL: Data Invalid for Slave Tx */
-#define ENUM_TWI_SLVCTL_VALID (_ADI_MSK(0x00000004,uint16_t)) /* TDVAL: Data Valid for Slave Tx */
-
-#define BITM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Slave Mode */
-#define ENUM_TWI_SLVCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVSTAT_GCALL 1 /* General Call */
-#define BITP_TWI_SLVSTAT_DIR 0 /* Transfer Direction for Slave */
-
-#define BITM_TWI_SLVSTAT_GCALL (_ADI_MSK(0x00000002,uint16_t)) /* General Call */
-#define ENUM_TWI_SLVSTAT_NO (_ADI_MSK(0x00000000,uint16_t)) /* GCALL: Not a General Call Address */
-#define ENUM_TWI_SLVSTAT_YES (_ADI_MSK(0x00000002,uint16_t)) /* GCALL: General Call Address */
-
-#define BITM_TWI_SLVSTAT_DIR (_ADI_MSK(0x00000001,uint16_t)) /* Transfer Direction for Slave */
-#define ENUM_TWI_SLVSTAT_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Slave Receive */
-#define ENUM_TWI_SLVSTAT_TX (_ADI_MSK(0x00000001,uint16_t)) /* DIR: Slave Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVADDR_ADDR 0 /* Slave Mode Address */
-#define BITM_TWI_SLVADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Slave Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRCTL_SCLOVR 15 /* Serial Clock Override */
-#define BITP_TWI_MSTRCTL_SDAOVR 14 /* Serial Data Override */
-#define BITP_TWI_MSTRCTL_DCNT 6 /* Data Transfer Count */
-#define BITP_TWI_MSTRCTL_RSTART 5 /* Repeat Start */
-#define BITP_TWI_MSTRCTL_STOP 4 /* Issue Stop Condition */
-#define BITP_TWI_MSTRCTL_FAST 3 /* Fast Mode */
-#define BITP_TWI_MSTRCTL_DIR 2 /* Transfer Direction for Master */
-#define BITP_TWI_MSTRCTL_EN 0 /* Enable Master Mode */
-
-#define BITM_TWI_MSTRCTL_SCLOVR (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Override */
-#define ENUM_TWI_MSTRCTL_SCLNORM (_ADI_MSK(0x00000000,uint16_t)) /* SCLOVR: Permit Normal SCL Operation */
-#define ENUM_TWI_MSTRCTL_SCLOVER (_ADI_MSK(0x00008000,uint16_t)) /* SCLOVR: Override Normal SCL Operation */
-
-#define BITM_TWI_MSTRCTL_SDAOVR (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Override */
-#define ENUM_TWI_MSTRCTL_SDANORM (_ADI_MSK(0x00000000,uint16_t)) /* SDAOVR: Permit Normal SDA Operation */
-#define ENUM_TWI_MSTRCTL_SDAOVER (_ADI_MSK(0x00004000,uint16_t)) /* SDAOVR: Override Normal SDA Operation */
-#define BITM_TWI_MSTRCTL_DCNT (_ADI_MSK(0x00003FC0,uint16_t)) /* Data Transfer Count */
-
-#define BITM_TWI_MSTRCTL_RSTART (_ADI_MSK(0x00000020,uint16_t)) /* Repeat Start */
-#define ENUM_TWI_MSTRCTL_END (_ADI_MSK(0x00000000,uint16_t)) /* RSTART: Disable Repeat Start */
-#define ENUM_TWI_MSTRCTL_RPT (_ADI_MSK(0x00000020,uint16_t)) /* RSTART: Enable Repeat Start */
-
-#define BITM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* Issue Stop Condition */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* STOP: Permit Normal Operation */
-#define ENUM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* STOP: Issue Stop */
-
-#define BITM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* Fast Mode */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* FAST: Select Standard Mode */
-#define ENUM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* FAST: Select Fast Mode */
-
-#define BITM_TWI_MSTRCTL_DIR (_ADI_MSK(0x00000004,uint16_t)) /* Transfer Direction for Master */
-#define ENUM_TWI_MSTRCTL_TX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Master Transmit */
-#define ENUM_TWI_MSTRCTL_RX (_ADI_MSK(0x00000004,uint16_t)) /* DIR: Master Receive */
-
-#define BITM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Master Mode */
-#define ENUM_TWI_MSTRCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRSTAT_BUSBUSY 8 /* Bus Busy */
-#define BITP_TWI_MSTRSTAT_SCLSEN 7 /* Serial Clock Sense */
-#define BITP_TWI_MSTRSTAT_SDASEN 6 /* Serial Data Sense */
-#define BITP_TWI_MSTRSTAT_BUFWRERR 5 /* Buffer Write Error */
-#define BITP_TWI_MSTRSTAT_BUFRDERR 4 /* Buffer Read Error */
-#define BITP_TWI_MSTRSTAT_DNAK 3 /* Data Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_ANAK 2 /* Address Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_LOSTARB 1 /* Lost Arbitration */
-#define BITP_TWI_MSTRSTAT_MPROG 0 /* Master Transfer in Progress */
-
-#define BITM_TWI_MSTRSTAT_BUSBUSY (_ADI_MSK(0x00000100,uint16_t)) /* Bus Busy */
-#define ENUM_TWI_MSTRSTAT_FREE (_ADI_MSK(0x00000000,uint16_t)) /* BUSBUSY: Bus Free */
-#define ENUM_TWI_MSTRSTAT_BUSY (_ADI_MSK(0x00000100,uint16_t)) /* BUSBUSY: Bus Busy */
-
-#define BITM_TWI_MSTRSTAT_SCLSEN (_ADI_MSK(0x00000080,uint16_t)) /* Serial Clock Sense */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLSEN: SCL Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_YES (_ADI_MSK(0x00000080,uint16_t)) /* SCLSEN: SCL Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_SDASEN (_ADI_MSK(0x00000040,uint16_t)) /* Serial Data Sense */
-#define ENUM_TWI_MSTRSTAT_SDASEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDASEN: SDA Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SDASEN_YES (_ADI_MSK(0x00000040,uint16_t)) /* SDASEN: SDA Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_BUFWRERR (_ADI_MSK(0x00000020,uint16_t)) /* Buffer Write Error */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFWRERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* BUFWRERR: Buffer Write Error */
-
-#define BITM_TWI_MSTRSTAT_BUFRDERR (_ADI_MSK(0x00000010,uint16_t)) /* Buffer Read Error */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFRDERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_YES (_ADI_MSK(0x00000010,uint16_t)) /* BUFRDERR: Buffer Read Error */
-
-#define BITM_TWI_MSTRSTAT_DNAK (_ADI_MSK(0x00000008,uint16_t)) /* Data Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_DNAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* DNAK: No Status */
-#define ENUM_TWI_MSTRSTAT_DNAK_YES (_ADI_MSK(0x00000008,uint16_t)) /* DNAK: Data NAK */
-
-#define BITM_TWI_MSTRSTAT_ANAK (_ADI_MSK(0x00000004,uint16_t)) /* Address Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_ANAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* ANAK: No Status */
-#define ENUM_TWI_MSTRSTAT_ANAK_YES (_ADI_MSK(0x00000004,uint16_t)) /* ANAK: Address NAK */
-
-#define BITM_TWI_MSTRSTAT_LOSTARB (_ADI_MSK(0x00000002,uint16_t)) /* Lost Arbitration */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_NO (_ADI_MSK(0x00000000,uint16_t)) /* LOSTARB: No Status */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_YES (_ADI_MSK(0x00000002,uint16_t)) /* LOSTARB: Lost Arbitration */
-
-#define BITM_TWI_MSTRSTAT_MPROG (_ADI_MSK(0x00000001,uint16_t)) /* Master Transfer in Progress */
-#define ENUM_TWI_MSTRSTAT_MPROG_NO (_ADI_MSK(0x00000000,uint16_t)) /* MPROG: No Status */
-#define ENUM_TWI_MSTRSTAT_MPROG_YES (_ADI_MSK(0x00000001,uint16_t)) /* MPROG: Master Transfer in Progress */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRADDR_ADDR 0 /* Master Mode Address */
-#define BITM_TWI_MSTRADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Master Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_ISTAT_SCLI 15 /* Serial Clock Interrupt */
-#define BITP_TWI_ISTAT_SDAI 14 /* Serial Data Interrupt */
-#define BITP_TWI_ISTAT_RXSERV 7 /* Rx FIFO Service */
-#define BITP_TWI_ISTAT_TXSERV 6 /* Tx FIFO Service */
-#define BITP_TWI_ISTAT_MERR 5 /* Master Transfer Error */
-#define BITP_TWI_ISTAT_MCOMP 4 /* Master Transfer Complete */
-#define BITP_TWI_ISTAT_SOVF 3 /* Slave Overflow */
-#define BITP_TWI_ISTAT_SERR 2 /* Slave Transfer Error */
-#define BITP_TWI_ISTAT_SCOMP 1 /* Slave Transfer Complete */
-#define BITP_TWI_ISTAT_SINIT 0 /* Slave Transfer Initiated */
-
-#define BITM_TWI_ISTAT_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: No Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_YES (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: No Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_YES (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service */
-#define ENUM_TWI_ISTAT_RXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_RXSERV_YES (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service */
-#define ENUM_TWI_ISTAT_TXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_TXSERV_YES (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error */
-#define ENUM_TWI_ISTAT_MERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* MERR: No Interrupt */
-#define ENUM_TWI_ISTAT_MERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete */
-#define ENUM_TWI_ISTAT_MCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_MCOMP_YES (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow */
-#define ENUM_TWI_ISTAT_SOVF_NO (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: No Interrupt */
-#define ENUM_TWI_ISTAT_SOVF_YES (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error */
-#define ENUM_TWI_ISTAT_SERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* SERR: No Interrupt */
-#define ENUM_TWI_ISTAT_SERR_YES (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete */
-#define ENUM_TWI_ISTAT_SCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_SCOMP_YES (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated */
-#define ENUM_TWI_ISTAT_SINIT_NO (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: No Interrupt */
-#define ENUM_TWI_ISTAT_SINIT_YES (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Interrupt Detected */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_IMSK_SCLI 15 /* Serial Clock Interrupt Mask */
-#define BITP_TWI_IMSK_SDAI 14 /* Serial Data Interrupt Mask */
-#define BITP_TWI_IMSK_RXSERV 7 /* Rx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_TXSERV 6 /* Tx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_MERR 5 /* Master Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_MCOMP 4 /* Master Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SOVF 3 /* Slave Overflow Interrupt Mask */
-#define BITP_TWI_IMSK_SERR 2 /* Slave Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_SCOMP 1 /* Slave Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SINIT 0 /* Slave Transfer Initiated Interrupt Mask */
-
-#define BITM_TWI_IMSK_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt Mask */
-#define ENUM_TWI_IMSK_SCLI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCLI_UMSK (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt Mask */
-#define ENUM_TWI_IMSK_SDAI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SDAI_UMSK (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_RXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_RXSERV_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_TXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_TXSERV_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_MERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MERR_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_MCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MCOMP_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow Interrupt Mask */
-#define ENUM_TWI_IMSK_SOVF_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SOVF_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_SERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SERR_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_SCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCOMP_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated Interrupt Mask */
-#define ENUM_TWI_IMSK_SINIT_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SINIT_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Unmask (Enable) Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOCTL_RXILEN 3 /* Rx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_TXILEN 2 /* Tx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_RXFLUSH 1 /* Rx Buffer Flush */
-#define BITP_TWI_FIFOCTL_TXFLUSH 0 /* Tx Buffer Flush */
-
-#define BITM_TWI_FIFOCTL_RXILEN (_ADI_MSK(0x00000008,uint16_t)) /* Rx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_RXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* RXILEN: RXSERVI on 1 or 2 Bytes in FIFO */
-#define ENUM_TWI_FIFOCTL_RXTWOBYTE (_ADI_MSK(0x00000008,uint16_t)) /* RXILEN: RXSERVI on 2 Bytes in FIFO */
-
-#define BITM_TWI_FIFOCTL_TXILEN (_ADI_MSK(0x00000004,uint16_t)) /* Tx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_TXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* TXILEN: TXSERVI on 1 Byte of FIFO Empty */
-#define ENUM_TWI_FIFOCTL_TXTWOBYTE (_ADI_MSK(0x00000004,uint16_t)) /* TXILEN: TXSERVI on 2 Bytes of FIFO Empty */
-
-#define BITM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* Rx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_RXNORM (_ADI_MSK(0x00000000,uint16_t)) /* RXFLUSH: Normal Operation of Rx Buffer */
-#define ENUM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* RXFLUSH: Flush Rx Buffer */
-
-#define BITM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* Tx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_TXNORM (_ADI_MSK(0x00000000,uint16_t)) /* TXFLUSH: Normal Operation of Tx Buffer */
-#define ENUM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* TXFLUSH: Flush Tx Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOSTAT_RXSTAT 2 /* Rx FIFO Status */
-#define BITP_TWI_FIFOSTAT_TXSTAT 0 /* Tx FIFO Status */
-#define BITM_TWI_FIFOSTAT_RXSTAT (_ADI_MSK(0x0000000C,uint16_t)) /* Rx FIFO Status */
-#define BITM_TWI_FIFOSTAT_TXSTAT (_ADI_MSK(0x00000003,uint16_t)) /* Tx FIFO Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_TXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_TXDATA8_VALUE 0 /* Tx Data 8-Bit Value */
-#define BITM_TWI_TXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Tx Data 8-Bit Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_RXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_RXDATA8_VALUE 0 /* Rx Data 8-Bit Value */
-#define BITM_TWI_RXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Rx Data 8-Bit Value */
-
-/* ==================================================
- UART Registers
- ================================================== */
-
-/* =========================
- UART0
- ========================= */
-#define REG_UART0_REVID 0xFFC02000 /* UART0 Revision ID Register */
-#define REG_UART0_CTL 0xFFC02004 /* UART0 Control Register */
-#define REG_UART0_STAT 0xFFC02008 /* UART0 Status Register */
-#define REG_UART0_SCR 0xFFC0200C /* UART0 Scratch Register */
-#define REG_UART0_CLK 0xFFC02010 /* UART0 Clock Rate Register */
-#define REG_UART0_IMSK 0xFFC02014 /* UART0 Interrupt Mask Register */
-#define REG_UART0_IMSK_SET 0xFFC02018 /* UART0 Interrupt Mask Set Register */
-#define REG_UART0_IMSK_CLR 0xFFC0201C /* UART0 Interrupt Mask Clear Register */
-#define REG_UART0_RBR 0xFFC02020 /* UART0 Receive Buffer Register */
-#define REG_UART0_THR 0xFFC02024 /* UART0 Transmit Hold Register */
-#define REG_UART0_TAIP 0xFFC02028 /* UART0 Transmit Address/Insert Pulse Register */
-#define REG_UART0_TSR 0xFFC0202C /* UART0 Transmit Shift Register */
-#define REG_UART0_RSR 0xFFC02030 /* UART0 Receive Shift Register */
-#define REG_UART0_TXCNT 0xFFC02034 /* UART0 Transmit Counter Register */
-#define REG_UART0_RXCNT 0xFFC02038 /* UART0 Receive Counter Register */
-
-/* =========================
- UART1
- ========================= */
-#define REG_UART1_REVID 0xFFC02400 /* UART1 Revision ID Register */
-#define REG_UART1_CTL 0xFFC02404 /* UART1 Control Register */
-#define REG_UART1_STAT 0xFFC02408 /* UART1 Status Register */
-#define REG_UART1_SCR 0xFFC0240C /* UART1 Scratch Register */
-#define REG_UART1_CLK 0xFFC02410 /* UART1 Clock Rate Register */
-#define REG_UART1_IMSK 0xFFC02414 /* UART1 Interrupt Mask Register */
-#define REG_UART1_IMSK_SET 0xFFC02418 /* UART1 Interrupt Mask Set Register */
-#define REG_UART1_IMSK_CLR 0xFFC0241C /* UART1 Interrupt Mask Clear Register */
-#define REG_UART1_RBR 0xFFC02420 /* UART1 Receive Buffer Register */
-#define REG_UART1_THR 0xFFC02424 /* UART1 Transmit Hold Register */
-#define REG_UART1_TAIP 0xFFC02428 /* UART1 Transmit Address/Insert Pulse Register */
-#define REG_UART1_TSR 0xFFC0242C /* UART1 Transmit Shift Register */
-#define REG_UART1_RSR 0xFFC02430 /* UART1 Receive Shift Register */
-#define REG_UART1_TXCNT 0xFFC02434 /* UART1 Transmit Counter Register */
-#define REG_UART1_RXCNT 0xFFC02438 /* UART1 Receive Counter Register */
-
-/* =========================
- UART
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_REVID_MAJOR 4 /* Major Version */
-#define BITP_UART_REVID_REV 0 /* Incremental Version */
-#define BITM_UART_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version */
-#define BITM_UART_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CTL_RFRT 30 /* Receive FIFO RTS Threshold */
-#define BITP_UART_CTL_RFIT 29 /* Receive FIFO IRQ Threshold */
-#define BITP_UART_CTL_ACTS 28 /* Automatic CTS */
-#define BITP_UART_CTL_ARTS 27 /* Automatic RTS */
-#define BITP_UART_CTL_XOFF 26 /* Transmitter off */
-#define BITP_UART_CTL_MRTS 25 /* Manual Request to Send */
-#define BITP_UART_CTL_TPOLC 24 /* IrDA TX Polarity Change */
-#define BITP_UART_CTL_RPOLC 23 /* IrDA RX Polarity Change */
-#define BITP_UART_CTL_FCPOL 22 /* Flow Control Pin Polarity */
-#define BITP_UART_CTL_SB 19 /* Set Break */
-#define BITP_UART_CTL_FFE 18 /* Force Framing Error on Transmit */
-#define BITP_UART_CTL_FPE 17 /* Force Parity Error on Transmit */
-#define BITP_UART_CTL_STP 16 /* Sticky Parity */
-#define BITP_UART_CTL_EPS 15 /* Even Parity Select */
-#define BITP_UART_CTL_PEN 14 /* Parity Enable */
-#define BITP_UART_CTL_STBH 13 /* Stop Bits (Half Bit Time) */
-#define BITP_UART_CTL_STB 12 /* Stop Bits */
-#define BITP_UART_CTL_WLS 8 /* Word Length Select */
-#define BITP_UART_CTL_MOD 4 /* Mode of Operation */
-#define BITP_UART_CTL_LOOP_EN 1 /* Loopback Enable */
-#define BITP_UART_CTL_EN 0 /* Enable UART */
-
-#define BITM_UART_CTL_RFRT (_ADI_MSK(0x40000000,uint32_t)) /* Receive FIFO RTS Threshold */
-#define ENUM_UART_CTL_RX_RTS_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 4; assert if <= 4 */
-#define ENUM_UART_CTL_RX_RTS_TH7 (_ADI_MSK(0x40000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 7; assert if <= 7 */
-
-#define BITM_UART_CTL_RFIT (_ADI_MSK(0x20000000,uint32_t)) /* Receive FIFO IRQ Threshold */
-#define ENUM_UART_CTL_RX_IRQ_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 4 */
-#define ENUM_UART_CTL_RX_IRQ_TH7 (_ADI_MSK(0x20000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 7 */
-
-#define BITM_UART_CTL_ACTS (_ADI_MSK(0x10000000,uint32_t)) /* Automatic CTS */
-#define ENUM_UART_CTL_CTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ACTS: Disable TX handshaking protocol */
-#define ENUM_UART_CTL_CTS_AUTO (_ADI_MSK(0x10000000,uint32_t)) /* ACTS: Enable TX handshaking protocol */
-
-#define BITM_UART_CTL_ARTS (_ADI_MSK(0x08000000,uint32_t)) /* Automatic RTS */
-#define ENUM_UART_CTL_RTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ARTS: Disable RX handshaking protocol. */
-#define ENUM_UART_CTL_RTS_AUTO (_ADI_MSK(0x08000000,uint32_t)) /* ARTS: Enable RX handshaking protocol. */
-
-#define BITM_UART_CTL_XOFF (_ADI_MSK(0x04000000,uint32_t)) /* Transmitter off */
-#define ENUM_UART_CTL_TX_ON (_ADI_MSK(0x00000000,uint32_t)) /* XOFF: Transmission ON, if ACTS=0 */
-#define ENUM_UART_CTL_TX_OFF (_ADI_MSK(0x04000000,uint32_t)) /* XOFF: Transmission OFF, if ACTS=0 */
-
-#define BITM_UART_CTL_MRTS (_ADI_MSK(0x02000000,uint32_t)) /* Manual Request to Send */
-#define ENUM_UART_CTL_RTS_DEASSERT (_ADI_MSK(0x00000000,uint32_t)) /* MRTS: De-assert RTS pin when ARTS=0 */
-#define ENUM_UART_CTL_RTS_ASSERT (_ADI_MSK(0x02000000,uint32_t)) /* MRTS: Assert RTS pin when ARTS=0 */
-
-#define BITM_UART_CTL_TPOLC (_ADI_MSK(0x01000000,uint32_t)) /* IrDA TX Polarity Change */
-#define ENUM_UART_CTL_TPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TPOLC: Active-low TX polarity setting */
-#define ENUM_UART_CTL_TPOLC_HI (_ADI_MSK(0x01000000,uint32_t)) /* TPOLC: Active-high TX polarity setting */
-
-#define BITM_UART_CTL_RPOLC (_ADI_MSK(0x00800000,uint32_t)) /* IrDA RX Polarity Change */
-#define ENUM_UART_CTL_RPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* RPOLC: Active-low RX polarity setting */
-#define ENUM_UART_CTL_RPOLC_HI (_ADI_MSK(0x00800000,uint32_t)) /* RPOLC: Active-high RX polarity setting */
-
-#define BITM_UART_CTL_FCPOL (_ADI_MSK(0x00400000,uint32_t)) /* Flow Control Pin Polarity */
-#define ENUM_UART_CTL_FCPOL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPOL: Active low CTS/RTS */
-#define ENUM_UART_CTL_FCPOL_HI (_ADI_MSK(0x00400000,uint32_t)) /* FCPOL: Active high CTS/RTS */
-
-#define BITM_UART_CTL_SB (_ADI_MSK(0x00080000,uint32_t)) /* Set Break */
-#define ENUM_UART_CTL_NORM_BREAK (_ADI_MSK(0x00000000,uint32_t)) /* SB: No force */
-#define ENUM_UART_CTL_FORCE_BREAK (_ADI_MSK(0x00080000,uint32_t)) /* SB: Force TX pin to 0 */
-
-#define BITM_UART_CTL_FFE (_ADI_MSK(0x00040000,uint32_t)) /* Force Framing Error on Transmit */
-#define ENUM_UART_CTL_NORM_FRM_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FFE: Normal operation */
-#define ENUM_UART_CTL_FORCE_FRM_ERR (_ADI_MSK(0x00040000,uint32_t)) /* FFE: Force error */
-
-#define BITM_UART_CTL_FPE (_ADI_MSK(0x00020000,uint32_t)) /* Force Parity Error on Transmit */
-#define ENUM_UART_CTL_NORM_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FPE: Normal operation */
-#define ENUM_UART_CTL_FORCE_PARITY_ERR (_ADI_MSK(0x00020000,uint32_t)) /* FPE: Force parity error */
-
-#define BITM_UART_CTL_STP (_ADI_MSK(0x00010000,uint32_t)) /* Sticky Parity */
-#define ENUM_UART_CTL_NORM_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* STP: No Forced Parity */
-#define ENUM_UART_CTL_STICKY_PARITY (_ADI_MSK(0x00010000,uint32_t)) /* STP: Force (Stick) Parity to Defined Value (if PEN=1) */
-
-#define BITM_UART_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* Even Parity Select */
-#define ENUM_UART_CTL_ODD_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* EPS: Odd parity */
-#define ENUM_UART_CTL_EVEN_PARITY (_ADI_MSK(0x00008000,uint32_t)) /* EPS: Even parity */
-
-#define BITM_UART_CTL_PEN (_ADI_MSK(0x00004000,uint32_t)) /* Parity Enable */
-#define ENUM_UART_CTL_PARITY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PEN: Disable */
-#define ENUM_UART_CTL_PARITY_EN (_ADI_MSK(0x00004000,uint32_t)) /* PEN: Enable parity transmit and check */
-
-#define BITM_UART_CTL_STBH (_ADI_MSK(0x00002000,uint32_t)) /* Stop Bits (Half Bit Time) */
-#define ENUM_UART_CTL_NO_EXTRA_STBH (_ADI_MSK(0x00000000,uint32_t)) /* STBH: 0 half-bit-time stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STBH (_ADI_MSK(0x00002000,uint32_t)) /* STBH: 1 half-bit-time stop bit */
-
-#define BITM_UART_CTL_STB (_ADI_MSK(0x00001000,uint32_t)) /* Stop Bits */
-#define ENUM_UART_CTL_NO_EXTRA_STB (_ADI_MSK(0x00000000,uint32_t)) /* STB: 1 stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STB (_ADI_MSK(0x00001000,uint32_t)) /* STB: 2 stop bits */
-
-#define BITM_UART_CTL_WLS (_ADI_MSK(0x00000300,uint32_t)) /* Word Length Select */
-#define ENUM_UART_CTL_WL5BITS (_ADI_MSK(0x00000000,uint32_t)) /* WLS: 5-bit Word */
-#define ENUM_UART_CTL_WL6BITS (_ADI_MSK(0x00000100,uint32_t)) /* WLS: 6-bit Word */
-#define ENUM_UART_CTL_WL7BITS (_ADI_MSK(0x00000200,uint32_t)) /* WLS: 7-bit Word */
-#define ENUM_UART_CTL_WL8BITS (_ADI_MSK(0x00000300,uint32_t)) /* WLS: 8-bit Word */
-
-#define BITM_UART_CTL_MOD (_ADI_MSK(0x00000030,uint32_t)) /* Mode of Operation */
-#define ENUM_UART_CTL_UART_MODE (_ADI_MSK(0x00000000,uint32_t)) /* MOD: UART Mode */
-#define ENUM_UART_CTL_MDB_MODE (_ADI_MSK(0x00000010,uint32_t)) /* MOD: MDB Mode */
-#define ENUM_UART_CTL_IRDA_MODE (_ADI_MSK(0x00000020,uint32_t)) /* MOD: IrDA SIR Mode */
-
-#define BITM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* Loopback Enable */
-#define ENUM_UART_CTL_LOOP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* LOOP_EN: Disable */
-#define ENUM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* LOOP_EN: Enable */
-
-#define BITM_UART_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable UART */
-#define ENUM_UART_CTL_CLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_UART_CTL_CLK_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_STAT_RFCS 17 /* Receive FIFO Count Status */
-#define BITP_UART_STAT_CTS 16 /* Clear to Send */
-#define BITP_UART_STAT_SCTS 12 /* Sticky CTS */
-#define BITP_UART_STAT_RO 11 /* Reception On-going */
-#define BITP_UART_STAT_ADDR 10 /* Address Bit Status */
-#define BITP_UART_STAT_ASTKY 9 /* Address Sticky */
-#define BITP_UART_STAT_TFI 8 /* Transmission Finished Indicator */
-#define BITP_UART_STAT_TEMT 7 /* TSR and THR Empty */
-#define BITP_UART_STAT_THRE 5 /* Transmit Hold Register Empty */
-#define BITP_UART_STAT_BI 4 /* Break Indicator */
-#define BITP_UART_STAT_FE 3 /* Framing Error */
-#define BITP_UART_STAT_PE 2 /* Parity Error */
-#define BITP_UART_STAT_OE 1 /* Overrun Error */
-#define BITP_UART_STAT_DR 0 /* Data Ready */
-
-#define BITM_UART_STAT_RFCS (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Count Status */
-#define ENUM_UART_STAT_RFCS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RFCS: RX FIFO has less than 4 (7) entries when RFIT=0 (1) */
-#define ENUM_UART_STAT_RFCS_HI (_ADI_MSK(0x00020000,uint32_t)) /* RFCS: RX FIFO has at least 4 (7) entries when RFIT=0 (1) */
-
-#define BITM_UART_STAT_CTS (_ADI_MSK(0x00010000,uint32_t)) /* Clear to Send */
-#define ENUM_UART_STAT_CTS_LO (_ADI_MSK(0x00000000,uint32_t)) /* CTS: Not clear to send (External device not ready to receive) */
-#define ENUM_UART_STAT_CTS_HI (_ADI_MSK(0x00010000,uint32_t)) /* CTS: Clear to send (External device ready to receive) */
-
-#define BITM_UART_STAT_SCTS (_ADI_MSK(0x00001000,uint32_t)) /* Sticky CTS */
-#define ENUM_UART_STAT_CTS_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* SCTS: CTS has not transitioned from low to high */
-#define ENUM_UART_STAT_CTS_HI_STKY (_ADI_MSK(0x00001000,uint32_t)) /* SCTS: CTS has transitioned from low to high */
-
-#define BITM_UART_STAT_RO (_ADI_MSK(0x00000800,uint32_t)) /* Reception On-going */
-#define ENUM_UART_STAT_NO_RX_PROGRESS (_ADI_MSK(0x00000000,uint32_t)) /* RO: No data reception in progress */
-#define ENUM_UART_STAT_RX_PROGRESS (_ADI_MSK(0x00000800,uint32_t)) /* RO: Data reception in progress */
-
-#define BITM_UART_STAT_ADDR (_ADI_MSK(0x00000400,uint32_t)) /* Address Bit Status */
-#define ENUM_UART_STAT_ADDR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ADDR: Address bit is low */
-#define ENUM_UART_STAT_ADDR_HI (_ADI_MSK(0x00000400,uint32_t)) /* ADDR: Address bit is high */
-
-#define BITM_UART_STAT_ASTKY (_ADI_MSK(0x00000200,uint32_t)) /* Address Sticky */
-#define ENUM_UART_STAT_ADDR_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* ASTKY: ADDR bit has not been set */
-#define ENUM_UART_STAT_ADDR_HI_STKY (_ADI_MSK(0x00000200,uint32_t)) /* ASTKY: ADDR bit has been set */
-
-#define BITM_UART_STAT_TFI (_ADI_MSK(0x00000100,uint32_t)) /* Transmission Finished Indicator */
-#define ENUM_UART_STAT_TX_NOT_DONE (_ADI_MSK(0x00000000,uint32_t)) /* TFI: TEMT did not transition from 0 to 1 */
-#define ENUM_UART_STAT_TX_DONE (_ADI_MSK(0x00000100,uint32_t)) /* TFI: TEMT transition from 0 to 1 */
-
-#define BITM_UART_STAT_TEMT (_ADI_MSK(0x00000080,uint32_t)) /* TSR and THR Empty */
-#define ENUM_UART_STAT_TX_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* TEMT: Not empty TSR/THR */
-#define ENUM_UART_STAT_TX_EMPTY (_ADI_MSK(0x00000080,uint32_t)) /* TEMT: TSR/THR Empty */
-
-#define BITM_UART_STAT_THRE (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Hold Register Empty */
-#define ENUM_UART_STAT_THR_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* THRE: Not empty THR/TAIP */
-#define ENUM_UART_STAT_THR_EMPTY (_ADI_MSK(0x00000020,uint32_t)) /* THRE: Empty THR/TAIP */
-
-#define BITM_UART_STAT_BI (_ADI_MSK(0x00000010,uint32_t)) /* Break Indicator */
-#define ENUM_UART_STAT_NO_BREAK_INT (_ADI_MSK(0x00000000,uint32_t)) /* BI: No break interrupt */
-#define ENUM_UART_STAT_BREAK_INT (_ADI_MSK(0x00000010,uint32_t)) /* BI: Break interrupt */
-
-#define BITM_UART_STAT_FE (_ADI_MSK(0x00000008,uint32_t)) /* Framing Error */
-#define ENUM_UART_STAT_NO_FRAMING_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FE: No error */
-#define ENUM_UART_STAT_FRAMING_ERR (_ADI_MSK(0x00000008,uint32_t)) /* FE: Invalid stop bit error */
-
-#define BITM_UART_STAT_PE (_ADI_MSK(0x00000004,uint32_t)) /* Parity Error */
-#define ENUM_UART_STAT_NO_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* PE: No parity error */
-#define ENUM_UART_STAT_PARITY_ERR (_ADI_MSK(0x00000004,uint32_t)) /* PE: Parity error */
-
-#define BITM_UART_STAT_OE (_ADI_MSK(0x00000002,uint32_t)) /* Overrun Error */
-#define ENUM_UART_STAT_NO_OVR_ERR (_ADI_MSK(0x00000000,uint32_t)) /* OE: No overrun */
-#define ENUM_UART_STAT_OVR_ERR (_ADI_MSK(0x00000002,uint32_t)) /* OE: Overrun error */
-
-#define BITM_UART_STAT_DR (_ADI_MSK(0x00000001,uint32_t)) /* Data Ready */
-#define ENUM_UART_STAT_NO_DATA (_ADI_MSK(0x00000000,uint32_t)) /* DR: No new data */
-#define ENUM_UART_STAT_NEW_DATA (_ADI_MSK(0x00000001,uint32_t)) /* DR: New data in RBR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_SCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_SCR_VALUE 0 /* Stored 8-bit Data */
-#define BITM_UART_SCR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Stored 8-bit Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CLK_EDBO 31 /* Enable Divide By One */
-#define BITP_UART_CLK_DIV 0 /* Divisor */
-
-#define BITM_UART_CLK_EDBO (_ADI_MSK(0x80000000,uint32_t)) /* Enable Divide By One */
-#define ENUM_UART_CLK_DIS_DIV_BY_ONE (_ADI_MSK(0x00000000,uint32_t)) /* EDBO: Bit clock prescaler = 16 */
-#define ENUM_UART_CLK_EN_DIV_BY_ONE (_ADI_MSK(0x80000000,uint32_t)) /* EDBO: Bit clock prescaler = 1 */
-#define BITM_UART_CLK_DIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_ETXS 9 /* Enable TX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ERXS 8 /* Enable RX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_EAWI 7 /* Enable Address Word Interrupt Mask Status */
-#define BITP_UART_IMSK_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Status */
-#define BITP_UART_IMSK_ETFI 5 /* Enable Transmission Finished Interrupt Mask Status */
-#define BITP_UART_IMSK_EDTPTI 4 /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define BITP_UART_IMSK_EDSSI 3 /* Enable Modem Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ELSI 2 /* Enable Line Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define BITP_UART_IMSK_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Status */
-
-#define BITM_UART_IMSK_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Status */
-#define ENUM_UART_ETXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETXS: Interrupt is masked */
-#define ENUM_UART_ETXS_HI (_ADI_MSK(0x00000200,uint32_t)) /* ETXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Status */
-#define ENUM_UART_ERXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERXS: Interrupt is masked */
-#define ENUM_UART_ERXS_HI (_ADI_MSK(0x00000100,uint32_t)) /* ERXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Status */
-#define ENUM_UART_EAWI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EAWI: Interrupt is masked */
-#define ENUM_UART_EAWI_HI (_ADI_MSK(0x00000080,uint32_t)) /* EAWI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Status */
-#define ENUM_UART_ERFCI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERFCI: Interrupt is masked */
-#define ENUM_UART_ERFCI_HI (_ADI_MSK(0x00000040,uint32_t)) /* ERFCI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Status */
-#define ENUM_UART_ETFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETFI: Interrupt is masked */
-#define ENUM_UART_ETFI_HI (_ADI_MSK(0x00000020,uint32_t)) /* ETFI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define ENUM_UART_EDTPTI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDTPTI: Interrupt is masked */
-#define ENUM_UART_EDTPTI_HI (_ADI_MSK(0x00000010,uint32_t)) /* EDTPTI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Status */
-#define ENUM_UART_EDSSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDSSI: Interrupt is masked */
-#define ENUM_UART_EDSSI_HI (_ADI_MSK(0x00000008,uint32_t)) /* EDSSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Status */
-#define ENUM_UART_ELSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ELSI: Interrupt is masked */
-#define ENUM_UART_ELSI_HI (_ADI_MSK(0x00000004,uint32_t)) /* ELSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define ENUM_UART_ETBEI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETBEI: Interrupt is masked */
-#define ENUM_UART_ETBEI_HI (_ADI_MSK(0x00000002,uint32_t)) /* ETBEI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Status */
-#define ENUM_UART_ERBFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERBFI: Interrupt is masked */
-#define ENUM_UART_ERBFI_HI (_ADI_MSK(0x00000001,uint32_t)) /* ERBFI: Interrupt is unmasked */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_SET_ETXS 9 /* Enable TX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERXS 8 /* Enable RX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EAWI 7 /* Enable Address Word Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETFI 5 /* Enable Transmission Finished Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDSSI 3 /* Enable Modem Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ELSI 2 /* Enable Line Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* The fields and enumerations for UART_IMSK_SET are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_SET_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_CLR_ETXS 9 /* Enable TX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERXS 8 /* Enable RX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EAWI 7 /* Enable Address Word Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETFI 5 /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDSSI 3 /* Enable Modem Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ELSI 2 /* Enable Line Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* The fields and enumerations for UART_IMSK_CLR are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_CLR_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RBR_VALUE 0 /* 8-bit data */
-#define BITM_UART_RBR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_THR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_THR_VALUE 0 /* 8 bit data */
-#define BITM_UART_THR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8 bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TAIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TAIP_VALUE 0 /* 8-bit data */
-#define BITM_UART_TAIP_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TSR_VALUE 0 /* Contents of TSR */
-#define BITM_UART_TSR_VALUE (_ADI_MSK(0x000007FF,uint32_t)) /* Contents of TSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RSR_VALUE 0 /* Contents of RSR */
-#define BITM_UART_RSR_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Contents of RSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_TXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_RXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ==================================================
- General Purpose Input/Output Registers
- ================================================== */
-
-/* =========================
- PORTA
- ========================= */
-#define REG_PORTA_FER 0xFFC03000 /* PORTA Port x Function Enable Register */
-#define REG_PORTA_FER_SET 0xFFC03004 /* PORTA Port x Function Enable Set Register */
-#define REG_PORTA_FER_CLR 0xFFC03008 /* PORTA Port x Function Enable Clear Register */
-#define REG_PORTA_DATA 0xFFC0300C /* PORTA Port x GPIO Data Register */
-#define REG_PORTA_DATA_SET 0xFFC03010 /* PORTA Port x GPIO Data Set Register */
-#define REG_PORTA_DATA_CLR 0xFFC03014 /* PORTA Port x GPIO Data Clear Register */
-#define REG_PORTA_DIR 0xFFC03018 /* PORTA Port x GPIO Direction Register */
-#define REG_PORTA_DIR_SET 0xFFC0301C /* PORTA Port x GPIO Direction Set Register */
-#define REG_PORTA_DIR_CLR 0xFFC03020 /* PORTA Port x GPIO Direction Clear Register */
-#define REG_PORTA_INEN 0xFFC03024 /* PORTA Port x GPIO Input Enable Register */
-#define REG_PORTA_INEN_SET 0xFFC03028 /* PORTA Port x GPIO Input Enable Set Register */
-#define REG_PORTA_INEN_CLR 0xFFC0302C /* PORTA Port x GPIO Input Enable Clear Register */
-#define REG_PORTA_MUX 0xFFC03030 /* PORTA Port x Multiplexer Control Register */
-#define REG_PORTA_DATA_TGL 0xFFC03034 /* PORTA Port x GPIO Input Enable Toggle Register */
-#define REG_PORTA_POL 0xFFC03038 /* PORTA Port x GPIO Polarity Invert Register */
-#define REG_PORTA_POL_SET 0xFFC0303C /* PORTA Port x GPIO Polarity Invert Set Register */
-#define REG_PORTA_POL_CLR 0xFFC03040 /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTA_LOCK 0xFFC03044 /* PORTA Port x GPIO Lock Register */
-#define REG_PORTA_REVID 0xFFC0307C /* PORTA Port x GPIO Revision ID */
-
-/* =========================
- PORTB
- ========================= */
-#define REG_PORTB_FER 0xFFC03080 /* PORTB Port x Function Enable Register */
-#define REG_PORTB_FER_SET 0xFFC03084 /* PORTB Port x Function Enable Set Register */
-#define REG_PORTB_FER_CLR 0xFFC03088 /* PORTB Port x Function Enable Clear Register */
-#define REG_PORTB_DATA 0xFFC0308C /* PORTB Port x GPIO Data Register */
-#define REG_PORTB_DATA_SET 0xFFC03090 /* PORTB Port x GPIO Data Set Register */
-#define REG_PORTB_DATA_CLR 0xFFC03094 /* PORTB Port x GPIO Data Clear Register */
-#define REG_PORTB_DIR 0xFFC03098 /* PORTB Port x GPIO Direction Register */
-#define REG_PORTB_DIR_SET 0xFFC0309C /* PORTB Port x GPIO Direction Set Register */
-#define REG_PORTB_DIR_CLR 0xFFC030A0 /* PORTB Port x GPIO Direction Clear Register */
-#define REG_PORTB_INEN 0xFFC030A4 /* PORTB Port x GPIO Input Enable Register */
-#define REG_PORTB_INEN_SET 0xFFC030A8 /* PORTB Port x GPIO Input Enable Set Register */
-#define REG_PORTB_INEN_CLR 0xFFC030AC /* PORTB Port x GPIO Input Enable Clear Register */
-#define REG_PORTB_MUX 0xFFC030B0 /* PORTB Port x Multiplexer Control Register */
-#define REG_PORTB_DATA_TGL 0xFFC030B4 /* PORTB Port x GPIO Input Enable Toggle Register */
-#define REG_PORTB_POL 0xFFC030B8 /* PORTB Port x GPIO Polarity Invert Register */
-#define REG_PORTB_POL_SET 0xFFC030BC /* PORTB Port x GPIO Polarity Invert Set Register */
-#define REG_PORTB_POL_CLR 0xFFC030C0 /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTB_LOCK 0xFFC030C4 /* PORTB Port x GPIO Lock Register */
-#define REG_PORTB_REVID 0xFFC030FC /* PORTB Port x GPIO Revision ID */
-
-/* =========================
- PORTC
- ========================= */
-#define REG_PORTC_FER 0xFFC03100 /* PORTC Port x Function Enable Register */
-#define REG_PORTC_FER_SET 0xFFC03104 /* PORTC Port x Function Enable Set Register */
-#define REG_PORTC_FER_CLR 0xFFC03108 /* PORTC Port x Function Enable Clear Register */
-#define REG_PORTC_DATA 0xFFC0310C /* PORTC Port x GPIO Data Register */
-#define REG_PORTC_DATA_SET 0xFFC03110 /* PORTC Port x GPIO Data Set Register */
-#define REG_PORTC_DATA_CLR 0xFFC03114 /* PORTC Port x GPIO Data Clear Register */
-#define REG_PORTC_DIR 0xFFC03118 /* PORTC Port x GPIO Direction Register */
-#define REG_PORTC_DIR_SET 0xFFC0311C /* PORTC Port x GPIO Direction Set Register */
-#define REG_PORTC_DIR_CLR 0xFFC03120 /* PORTC Port x GPIO Direction Clear Register */
-#define REG_PORTC_INEN 0xFFC03124 /* PORTC Port x GPIO Input Enable Register */
-#define REG_PORTC_INEN_SET 0xFFC03128 /* PORTC Port x GPIO Input Enable Set Register */
-#define REG_PORTC_INEN_CLR 0xFFC0312C /* PORTC Port x GPIO Input Enable Clear Register */
-#define REG_PORTC_MUX 0xFFC03130 /* PORTC Port x Multiplexer Control Register */
-#define REG_PORTC_DATA_TGL 0xFFC03134 /* PORTC Port x GPIO Input Enable Toggle Register */
-#define REG_PORTC_POL 0xFFC03138 /* PORTC Port x GPIO Polarity Invert Register */
-#define REG_PORTC_POL_SET 0xFFC0313C /* PORTC Port x GPIO Polarity Invert Set Register */
-#define REG_PORTC_POL_CLR 0xFFC03140 /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTC_LOCK 0xFFC03144 /* PORTC Port x GPIO Lock Register */
-#define REG_PORTC_REVID 0xFFC0317C /* PORTC Port x GPIO Revision ID */
-
-/* =========================
- PORTD
- ========================= */
-#define REG_PORTD_FER 0xFFC03180 /* PORTD Port x Function Enable Register */
-#define REG_PORTD_FER_SET 0xFFC03184 /* PORTD Port x Function Enable Set Register */
-#define REG_PORTD_FER_CLR 0xFFC03188 /* PORTD Port x Function Enable Clear Register */
-#define REG_PORTD_DATA 0xFFC0318C /* PORTD Port x GPIO Data Register */
-#define REG_PORTD_DATA_SET 0xFFC03190 /* PORTD Port x GPIO Data Set Register */
-#define REG_PORTD_DATA_CLR 0xFFC03194 /* PORTD Port x GPIO Data Clear Register */
-#define REG_PORTD_DIR 0xFFC03198 /* PORTD Port x GPIO Direction Register */
-#define REG_PORTD_DIR_SET 0xFFC0319C /* PORTD Port x GPIO Direction Set Register */
-#define REG_PORTD_DIR_CLR 0xFFC031A0 /* PORTD Port x GPIO Direction Clear Register */
-#define REG_PORTD_INEN 0xFFC031A4 /* PORTD Port x GPIO Input Enable Register */
-#define REG_PORTD_INEN_SET 0xFFC031A8 /* PORTD Port x GPIO Input Enable Set Register */
-#define REG_PORTD_INEN_CLR 0xFFC031AC /* PORTD Port x GPIO Input Enable Clear Register */
-#define REG_PORTD_MUX 0xFFC031B0 /* PORTD Port x Multiplexer Control Register */
-#define REG_PORTD_DATA_TGL 0xFFC031B4 /* PORTD Port x GPIO Input Enable Toggle Register */
-#define REG_PORTD_POL 0xFFC031B8 /* PORTD Port x GPIO Polarity Invert Register */
-#define REG_PORTD_POL_SET 0xFFC031BC /* PORTD Port x GPIO Polarity Invert Set Register */
-#define REG_PORTD_POL_CLR 0xFFC031C0 /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTD_LOCK 0xFFC031C4 /* PORTD Port x GPIO Lock Register */
-#define REG_PORTD_REVID 0xFFC031FC /* PORTD Port x GPIO Revision ID */
-
-/* =========================
- PORTE
- ========================= */
-#define REG_PORTE_FER 0xFFC03200 /* PORTE Port x Function Enable Register */
-#define REG_PORTE_FER_SET 0xFFC03204 /* PORTE Port x Function Enable Set Register */
-#define REG_PORTE_FER_CLR 0xFFC03208 /* PORTE Port x Function Enable Clear Register */
-#define REG_PORTE_DATA 0xFFC0320C /* PORTE Port x GPIO Data Register */
-#define REG_PORTE_DATA_SET 0xFFC03210 /* PORTE Port x GPIO Data Set Register */
-#define REG_PORTE_DATA_CLR 0xFFC03214 /* PORTE Port x GPIO Data Clear Register */
-#define REG_PORTE_DIR 0xFFC03218 /* PORTE Port x GPIO Direction Register */
-#define REG_PORTE_DIR_SET 0xFFC0321C /* PORTE Port x GPIO Direction Set Register */
-#define REG_PORTE_DIR_CLR 0xFFC03220 /* PORTE Port x GPIO Direction Clear Register */
-#define REG_PORTE_INEN 0xFFC03224 /* PORTE Port x GPIO Input Enable Register */
-#define REG_PORTE_INEN_SET 0xFFC03228 /* PORTE Port x GPIO Input Enable Set Register */
-#define REG_PORTE_INEN_CLR 0xFFC0322C /* PORTE Port x GPIO Input Enable Clear Register */
-#define REG_PORTE_MUX 0xFFC03230 /* PORTE Port x Multiplexer Control Register */
-#define REG_PORTE_DATA_TGL 0xFFC03234 /* PORTE Port x GPIO Input Enable Toggle Register */
-#define REG_PORTE_POL 0xFFC03238 /* PORTE Port x GPIO Polarity Invert Register */
-#define REG_PORTE_POL_SET 0xFFC0323C /* PORTE Port x GPIO Polarity Invert Set Register */
-#define REG_PORTE_POL_CLR 0xFFC03240 /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTE_LOCK 0xFFC03244 /* PORTE Port x GPIO Lock Register */
-#define REG_PORTE_REVID 0xFFC0327C /* PORTE Port x GPIO Revision ID */
-
-/* =========================
- PORTF
- ========================= */
-#define REG_PORTF_FER 0xFFC03280 /* PORTF Port x Function Enable Register */
-#define REG_PORTF_FER_SET 0xFFC03284 /* PORTF Port x Function Enable Set Register */
-#define REG_PORTF_FER_CLR 0xFFC03288 /* PORTF Port x Function Enable Clear Register */
-#define REG_PORTF_DATA 0xFFC0328C /* PORTF Port x GPIO Data Register */
-#define REG_PORTF_DATA_SET 0xFFC03290 /* PORTF Port x GPIO Data Set Register */
-#define REG_PORTF_DATA_CLR 0xFFC03294 /* PORTF Port x GPIO Data Clear Register */
-#define REG_PORTF_DIR 0xFFC03298 /* PORTF Port x GPIO Direction Register */
-#define REG_PORTF_DIR_SET 0xFFC0329C /* PORTF Port x GPIO Direction Set Register */
-#define REG_PORTF_DIR_CLR 0xFFC032A0 /* PORTF Port x GPIO Direction Clear Register */
-#define REG_PORTF_INEN 0xFFC032A4 /* PORTF Port x GPIO Input Enable Register */
-#define REG_PORTF_INEN_SET 0xFFC032A8 /* PORTF Port x GPIO Input Enable Set Register */
-#define REG_PORTF_INEN_CLR 0xFFC032AC /* PORTF Port x GPIO Input Enable Clear Register */
-#define REG_PORTF_MUX 0xFFC032B0 /* PORTF Port x Multiplexer Control Register */
-#define REG_PORTF_DATA_TGL 0xFFC032B4 /* PORTF Port x GPIO Input Enable Toggle Register */
-#define REG_PORTF_POL 0xFFC032B8 /* PORTF Port x GPIO Polarity Invert Register */
-#define REG_PORTF_POL_SET 0xFFC032BC /* PORTF Port x GPIO Polarity Invert Set Register */
-#define REG_PORTF_POL_CLR 0xFFC032C0 /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTF_LOCK 0xFFC032C4 /* PORTF Port x GPIO Lock Register */
-#define REG_PORTF_REVID 0xFFC032FC /* PORTF Port x GPIO Revision ID */
-
-/* =========================
- PORTG
- ========================= */
-#define REG_PORTG_FER 0xFFC03300 /* PORTG Port x Function Enable Register */
-#define REG_PORTG_FER_SET 0xFFC03304 /* PORTG Port x Function Enable Set Register */
-#define REG_PORTG_FER_CLR 0xFFC03308 /* PORTG Port x Function Enable Clear Register */
-#define REG_PORTG_DATA 0xFFC0330C /* PORTG Port x GPIO Data Register */
-#define REG_PORTG_DATA_SET 0xFFC03310 /* PORTG Port x GPIO Data Set Register */
-#define REG_PORTG_DATA_CLR 0xFFC03314 /* PORTG Port x GPIO Data Clear Register */
-#define REG_PORTG_DIR 0xFFC03318 /* PORTG Port x GPIO Direction Register */
-#define REG_PORTG_DIR_SET 0xFFC0331C /* PORTG Port x GPIO Direction Set Register */
-#define REG_PORTG_DIR_CLR 0xFFC03320 /* PORTG Port x GPIO Direction Clear Register */
-#define REG_PORTG_INEN 0xFFC03324 /* PORTG Port x GPIO Input Enable Register */
-#define REG_PORTG_INEN_SET 0xFFC03328 /* PORTG Port x GPIO Input Enable Set Register */
-#define REG_PORTG_INEN_CLR 0xFFC0332C /* PORTG Port x GPIO Input Enable Clear Register */
-#define REG_PORTG_MUX 0xFFC03330 /* PORTG Port x Multiplexer Control Register */
-#define REG_PORTG_DATA_TGL 0xFFC03334 /* PORTG Port x GPIO Input Enable Toggle Register */
-#define REG_PORTG_POL 0xFFC03338 /* PORTG Port x GPIO Polarity Invert Register */
-#define REG_PORTG_POL_SET 0xFFC0333C /* PORTG Port x GPIO Polarity Invert Set Register */
-#define REG_PORTG_POL_CLR 0xFFC03340 /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */
-#define REG_PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */
-
-/* =========================
- PORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_PX15 15 /* Port x Bit 15 Mode */
-#define BITP_PORT_FER_PX14 14 /* Port x Bit 14 Mode */
-#define BITP_PORT_FER_PX13 13 /* Port x Bit 13 Mode */
-#define BITP_PORT_FER_PX12 12 /* Port x Bit 12 Mode */
-#define BITP_PORT_FER_PX11 11 /* Port x Bit 11 Mode */
-#define BITP_PORT_FER_PX10 10 /* Port x Bit 10 Mode */
-#define BITP_PORT_FER_PX9 9 /* Port x Bit 9 Mode */
-#define BITP_PORT_FER_PX8 8 /* Port x Bit 8 Mode */
-#define BITP_PORT_FER_PX7 7 /* Port x Bit 7 Mode */
-#define BITP_PORT_FER_PX6 6 /* Port x Bit 6 Mode */
-#define BITP_PORT_FER_PX5 5 /* Port x Bit 5 Mode */
-#define BITP_PORT_FER_PX4 4 /* Port x Bit 4 Mode */
-#define BITP_PORT_FER_PX3 3 /* Port x Bit 3 Mode */
-#define BITP_PORT_FER_PX2 2 /* Port x Bit 2 Mode */
-#define BITP_PORT_FER_PX1 1 /* Port x Bit 1 Mode */
-#define BITP_PORT_FER_PX0 0 /* Port x Bit 0 Mode */
-#define BITM_PORT_FER_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode */
-#define BITM_PORT_FER_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode */
-#define BITM_PORT_FER_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode */
-#define BITM_PORT_FER_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode */
-#define BITM_PORT_FER_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode */
-#define BITM_PORT_FER_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode */
-#define BITM_PORT_FER_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode */
-#define BITM_PORT_FER_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode */
-#define BITM_PORT_FER_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode */
-#define BITM_PORT_FER_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode */
-#define BITM_PORT_FER_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode */
-#define BITM_PORT_FER_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode */
-#define BITM_PORT_FER_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode */
-#define BITM_PORT_FER_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode */
-#define BITM_PORT_FER_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode */
-#define BITM_PORT_FER_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_SET_PX15 15 /* Port x Bit 15 Mode Set */
-#define BITP_PORT_FER_SET_PX14 14 /* Port x Bit 14 Mode Set */
-#define BITP_PORT_FER_SET_PX13 13 /* Port x Bit 13 Mode Set */
-#define BITP_PORT_FER_SET_PX12 12 /* Port x Bit 12 Mode Set */
-#define BITP_PORT_FER_SET_PX11 11 /* Port x Bit 11 Mode Set */
-#define BITP_PORT_FER_SET_PX10 10 /* Port x Bit 10 Mode Set */
-#define BITP_PORT_FER_SET_PX9 9 /* Port x Bit 9 Mode Set */
-#define BITP_PORT_FER_SET_PX8 8 /* Port x Bit 8 Mode Set */
-#define BITP_PORT_FER_SET_PX7 7 /* Port x Bit 7 Mode Set */
-#define BITP_PORT_FER_SET_PX6 6 /* Port x Bit 6 Mode Set */
-#define BITP_PORT_FER_SET_PX5 5 /* Port x Bit 5 Mode Set */
-#define BITP_PORT_FER_SET_PX4 4 /* Port x Bit 4 Mode Set */
-#define BITP_PORT_FER_SET_PX3 3 /* Port x Bit 3 Mode Set */
-#define BITP_PORT_FER_SET_PX2 2 /* Port x Bit 2 Mode Set */
-#define BITP_PORT_FER_SET_PX1 1 /* Port x Bit 1 Mode Set */
-#define BITP_PORT_FER_SET_PX0 0 /* Port x Bit 0 Mode Set */
-#define BITM_PORT_FER_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Set */
-#define BITM_PORT_FER_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Set */
-#define BITM_PORT_FER_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Set */
-#define BITM_PORT_FER_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Set */
-#define BITM_PORT_FER_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Set */
-#define BITM_PORT_FER_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Set */
-#define BITM_PORT_FER_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Set */
-#define BITM_PORT_FER_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Set */
-#define BITM_PORT_FER_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Set */
-#define BITM_PORT_FER_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Set */
-#define BITM_PORT_FER_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Set */
-#define BITM_PORT_FER_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Set */
-#define BITM_PORT_FER_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Set */
-#define BITM_PORT_FER_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Set */
-#define BITM_PORT_FER_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Set */
-#define BITM_PORT_FER_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_CLR_PX15 15 /* Port x Bit 15 Mode Clear */
-#define BITP_PORT_FER_CLR_PX14 14 /* Port x Bit 14 Mode Clear */
-#define BITP_PORT_FER_CLR_PX13 13 /* Port x Bit 13 Mode Clear */
-#define BITP_PORT_FER_CLR_PX12 12 /* Port x Bit 12 Mode Clear */
-#define BITP_PORT_FER_CLR_PX11 11 /* Port x Bit 11 Mode Clear */
-#define BITP_PORT_FER_CLR_PX10 10 /* Port x Bit 10 Mode Clear */
-#define BITP_PORT_FER_CLR_PX9 9 /* Port x Bit 9 Mode Clear */
-#define BITP_PORT_FER_CLR_PX8 8 /* Port x Bit 8 Mode Clear */
-#define BITP_PORT_FER_CLR_PX7 7 /* Port x Bit 7 Mode Clear */
-#define BITP_PORT_FER_CLR_PX6 6 /* Port x Bit 6 Mode Clear */
-#define BITP_PORT_FER_CLR_PX5 5 /* Port x Bit 5 Mode Clear */
-#define BITP_PORT_FER_CLR_PX4 4 /* Port x Bit 4 Mode Clear */
-#define BITP_PORT_FER_CLR_PX3 3 /* Port x Bit 3 Mode Clear */
-#define BITP_PORT_FER_CLR_PX2 2 /* Port x Bit 2 Mode Clear */
-#define BITP_PORT_FER_CLR_PX1 1 /* Port x Bit 1 Mode Clear */
-#define BITP_PORT_FER_CLR_PX0 0 /* Port x Bit 0 Mode Clear */
-#define BITM_PORT_FER_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Clear */
-#define BITM_PORT_FER_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Clear */
-#define BITM_PORT_FER_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Clear */
-#define BITM_PORT_FER_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Clear */
-#define BITM_PORT_FER_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Clear */
-#define BITM_PORT_FER_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Clear */
-#define BITM_PORT_FER_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Clear */
-#define BITM_PORT_FER_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Clear */
-#define BITM_PORT_FER_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Clear */
-#define BITM_PORT_FER_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Clear */
-#define BITM_PORT_FER_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Clear */
-#define BITM_PORT_FER_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Clear */
-#define BITM_PORT_FER_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Clear */
-#define BITM_PORT_FER_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Clear */
-#define BITM_PORT_FER_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Clear */
-#define BITM_PORT_FER_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_PX15 15 /* Port x Bit 15 Data */
-#define BITP_PORT_DATA_PX14 14 /* Port x Bit 14 Data */
-#define BITP_PORT_DATA_PX13 13 /* Port x Bit 13 Data */
-#define BITP_PORT_DATA_PX12 12 /* Port x Bit 12 Data */
-#define BITP_PORT_DATA_PX11 11 /* Port x Bit 11 Data */
-#define BITP_PORT_DATA_PX10 10 /* Port x Bit 10 Data */
-#define BITP_PORT_DATA_PX9 9 /* Port x Bit 9 Data */
-#define BITP_PORT_DATA_PX8 8 /* Port x Bit 8 Data */
-#define BITP_PORT_DATA_PX7 7 /* Port x Bit 7 Data */
-#define BITP_PORT_DATA_PX6 6 /* Port x Bit 6 Data */
-#define BITP_PORT_DATA_PX5 5 /* Port x Bit 5 Data */
-#define BITP_PORT_DATA_PX4 4 /* Port x Bit 4 Data */
-#define BITP_PORT_DATA_PX3 3 /* Port x Bit 3 Data */
-#define BITP_PORT_DATA_PX2 2 /* Port x Bit 2 Data */
-#define BITP_PORT_DATA_PX1 1 /* Port x Bit 1 Data */
-#define BITP_PORT_DATA_PX0 0 /* Port x Bit 0 Data */
-#define BITM_PORT_DATA_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data */
-#define BITM_PORT_DATA_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data */
-#define BITM_PORT_DATA_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data */
-#define BITM_PORT_DATA_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data */
-#define BITM_PORT_DATA_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data */
-#define BITM_PORT_DATA_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data */
-#define BITM_PORT_DATA_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data */
-#define BITM_PORT_DATA_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data */
-#define BITM_PORT_DATA_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data */
-#define BITM_PORT_DATA_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data */
-#define BITM_PORT_DATA_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data */
-#define BITM_PORT_DATA_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data */
-#define BITM_PORT_DATA_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data */
-#define BITM_PORT_DATA_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data */
-#define BITM_PORT_DATA_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data */
-#define BITM_PORT_DATA_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_SET_PX15 15 /* Port x Bit 15 Data Set */
-#define BITP_PORT_DATA_SET_PX14 14 /* Port x Bit 14 Data Set */
-#define BITP_PORT_DATA_SET_PX13 13 /* Port x Bit 13 Data Set */
-#define BITP_PORT_DATA_SET_PX12 12 /* Port x Bit 12 Data Set */
-#define BITP_PORT_DATA_SET_PX11 11 /* Port x Bit 11 Data Set */
-#define BITP_PORT_DATA_SET_PX10 10 /* Port x Bit 10 Data Set */
-#define BITP_PORT_DATA_SET_PX9 9 /* Port x Bit 9 Data Set */
-#define BITP_PORT_DATA_SET_PX8 8 /* Port x Bit 8 Data Set */
-#define BITP_PORT_DATA_SET_PX7 7 /* Port x Bit 7 Data Set */
-#define BITP_PORT_DATA_SET_PX6 6 /* Port x Bit 6 Data Set */
-#define BITP_PORT_DATA_SET_PX5 5 /* Port x Bit 5 Data Set */
-#define BITP_PORT_DATA_SET_PX4 4 /* Port x Bit 4 Data Set */
-#define BITP_PORT_DATA_SET_PX3 3 /* Port x Bit 3 Data Set */
-#define BITP_PORT_DATA_SET_PX2 2 /* Port x Bit 2 Data Set */
-#define BITP_PORT_DATA_SET_PX1 1 /* Port x Bit 1 Data Set */
-#define BITP_PORT_DATA_SET_PX0 0 /* Port x Bit 0 Data Set */
-#define BITM_PORT_DATA_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Set */
-#define BITM_PORT_DATA_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Set */
-#define BITM_PORT_DATA_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Set */
-#define BITM_PORT_DATA_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Set */
-#define BITM_PORT_DATA_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Set */
-#define BITM_PORT_DATA_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Set */
-#define BITM_PORT_DATA_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Set */
-#define BITM_PORT_DATA_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Set */
-#define BITM_PORT_DATA_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Set */
-#define BITM_PORT_DATA_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Set */
-#define BITM_PORT_DATA_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Set */
-#define BITM_PORT_DATA_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Set */
-#define BITM_PORT_DATA_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Set */
-#define BITM_PORT_DATA_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Set */
-#define BITM_PORT_DATA_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Set */
-#define BITM_PORT_DATA_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_CLR_PX15 15 /* Port x Bit 15 Data Clear */
-#define BITP_PORT_DATA_CLR_PX14 14 /* Port x Bit 14 Data Clear */
-#define BITP_PORT_DATA_CLR_PX13 13 /* Port x Bit 13 Data Clear */
-#define BITP_PORT_DATA_CLR_PX12 12 /* Port x Bit 12 Data Clear */
-#define BITP_PORT_DATA_CLR_PX11 11 /* Port x Bit 11 Data Clear */
-#define BITP_PORT_DATA_CLR_PX10 10 /* Port x Bit 10 Data Clear */
-#define BITP_PORT_DATA_CLR_PX9 9 /* Port x Bit 9 Data Clear */
-#define BITP_PORT_DATA_CLR_PX8 8 /* Port x Bit 8 Data Clear */
-#define BITP_PORT_DATA_CLR_PX7 7 /* Port x Bit 7 Data Clear */
-#define BITP_PORT_DATA_CLR_PX6 6 /* Port x Bit 6 Data Clear */
-#define BITP_PORT_DATA_CLR_PX5 5 /* Port x Bit 5 Data Clear */
-#define BITP_PORT_DATA_CLR_PX4 4 /* Port x Bit 4 Data Clear */
-#define BITP_PORT_DATA_CLR_PX3 3 /* Port x Bit 3 Data Clear */
-#define BITP_PORT_DATA_CLR_PX2 2 /* Port x Bit 2 Data Clear */
-#define BITP_PORT_DATA_CLR_PX1 1 /* Port x Bit 1 Data Clear */
-#define BITP_PORT_DATA_CLR_PX0 0 /* Port x Bit 0 Data Clear */
-#define BITM_PORT_DATA_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Clear */
-#define BITM_PORT_DATA_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Clear */
-#define BITM_PORT_DATA_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Clear */
-#define BITM_PORT_DATA_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Clear */
-#define BITM_PORT_DATA_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Clear */
-#define BITM_PORT_DATA_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Clear */
-#define BITM_PORT_DATA_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Clear */
-#define BITM_PORT_DATA_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Clear */
-#define BITM_PORT_DATA_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Clear */
-#define BITM_PORT_DATA_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Clear */
-#define BITM_PORT_DATA_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Clear */
-#define BITM_PORT_DATA_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Clear */
-#define BITM_PORT_DATA_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Clear */
-#define BITM_PORT_DATA_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Clear */
-#define BITM_PORT_DATA_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Clear */
-#define BITM_PORT_DATA_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_PX15 15 /* Port x Bit 15 Direction */
-#define BITP_PORT_DIR_PX14 14 /* Port x Bit 14 Direction */
-#define BITP_PORT_DIR_PX13 13 /* Port x Bit 13 Direction */
-#define BITP_PORT_DIR_PX12 12 /* Port x Bit 12 Direction */
-#define BITP_PORT_DIR_PX11 11 /* Port x Bit 11 Direction */
-#define BITP_PORT_DIR_PX10 10 /* Port x Bit 10 Direction */
-#define BITP_PORT_DIR_PX9 9 /* Port x Bit 9 Direction */
-#define BITP_PORT_DIR_PX8 8 /* Port x Bit 8 Direction */
-#define BITP_PORT_DIR_PX7 7 /* Port x Bit 7 Direction */
-#define BITP_PORT_DIR_PX6 6 /* Port x Bit 6 Direction */
-#define BITP_PORT_DIR_PX5 5 /* Port x Bit 5 Direction */
-#define BITP_PORT_DIR_PX4 4 /* Port x Bit 4 Direction */
-#define BITP_PORT_DIR_PX3 3 /* Port x Bit 3 Direction */
-#define BITP_PORT_DIR_PX2 2 /* Port x Bit 2 Direction */
-#define BITP_PORT_DIR_PX1 1 /* Port x Bit 1 Direction */
-#define BITP_PORT_DIR_PX0 0 /* Port x Bit 0 Direction */
-#define BITM_PORT_DIR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction */
-#define BITM_PORT_DIR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction */
-#define BITM_PORT_DIR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction */
-#define BITM_PORT_DIR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction */
-#define BITM_PORT_DIR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction */
-#define BITM_PORT_DIR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction */
-#define BITM_PORT_DIR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction */
-#define BITM_PORT_DIR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction */
-#define BITM_PORT_DIR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction */
-#define BITM_PORT_DIR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction */
-#define BITM_PORT_DIR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction */
-#define BITM_PORT_DIR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction */
-#define BITM_PORT_DIR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction */
-#define BITM_PORT_DIR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction */
-#define BITM_PORT_DIR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction */
-#define BITM_PORT_DIR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_SET_PX15 15 /* Port x Bit 15 Direction Set */
-#define BITP_PORT_DIR_SET_PX14 14 /* Port x Bit 14 Direction Set */
-#define BITP_PORT_DIR_SET_PX13 13 /* Port x Bit 13 Direction Set */
-#define BITP_PORT_DIR_SET_PX12 12 /* Port x Bit 12 Direction Set */
-#define BITP_PORT_DIR_SET_PX11 11 /* Port x Bit 11 Direction Set */
-#define BITP_PORT_DIR_SET_PX10 10 /* Port x Bit 10 Direction Set */
-#define BITP_PORT_DIR_SET_PX9 9 /* Port x Bit 9 Direction Set */
-#define BITP_PORT_DIR_SET_PX8 8 /* Port x Bit 8 Direction Set */
-#define BITP_PORT_DIR_SET_PX7 7 /* Port x Bit 7 Direction Set */
-#define BITP_PORT_DIR_SET_PX6 6 /* Port x Bit 6 Direction Set */
-#define BITP_PORT_DIR_SET_PX5 5 /* Port x Bit 5 Direction Set */
-#define BITP_PORT_DIR_SET_PX4 4 /* Port x Bit 4 Direction Set */
-#define BITP_PORT_DIR_SET_PX3 3 /* Port x Bit 3 Direction Set */
-#define BITP_PORT_DIR_SET_PX2 2 /* Port x Bit 2 Direction Set */
-#define BITP_PORT_DIR_SET_PX1 1 /* Port x Bit 1 Direction Set */
-#define BITP_PORT_DIR_SET_PX0 0 /* Port x Bit 0 Direction Set */
-#define BITM_PORT_DIR_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Set */
-#define BITM_PORT_DIR_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Set */
-#define BITM_PORT_DIR_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Set */
-#define BITM_PORT_DIR_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Set */
-#define BITM_PORT_DIR_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Set */
-#define BITM_PORT_DIR_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Set */
-#define BITM_PORT_DIR_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Set */
-#define BITM_PORT_DIR_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Set */
-#define BITM_PORT_DIR_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Set */
-#define BITM_PORT_DIR_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Set */
-#define BITM_PORT_DIR_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Set */
-#define BITM_PORT_DIR_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Set */
-#define BITM_PORT_DIR_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Set */
-#define BITM_PORT_DIR_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Set */
-#define BITM_PORT_DIR_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Set */
-#define BITM_PORT_DIR_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_CLR_PX15 15 /* Port x Bit 15 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX14 14 /* Port x Bit 14 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX13 13 /* Port x Bit 13 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX12 12 /* Port x Bit 12 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX11 11 /* Port x Bit 11 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX10 10 /* Port x Bit 10 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX9 9 /* Port x Bit 9 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX8 8 /* Port x Bit 8 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX7 7 /* Port x Bit 7 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX6 6 /* Port x Bit 6 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX5 5 /* Port x Bit 5 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX4 4 /* Port x Bit 4 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX3 3 /* Port x Bit 3 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX2 2 /* Port x Bit 2 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX1 1 /* Port x Bit 1 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX0 0 /* Port x Bit 0 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_PX15 15 /* Port x Bit 15 Input Enable */
-#define BITP_PORT_INEN_PX14 14 /* Port x Bit 14 Input Enable */
-#define BITP_PORT_INEN_PX13 13 /* Port x Bit 13 Input Enable */
-#define BITP_PORT_INEN_PX12 12 /* Port x Bit 12 Input Enable */
-#define BITP_PORT_INEN_PX11 11 /* Port x Bit 11 Input Enable */
-#define BITP_PORT_INEN_PX10 10 /* Port x Bit 10 Input Enable */
-#define BITP_PORT_INEN_PX9 9 /* Port x Bit 9 Input Enable */
-#define BITP_PORT_INEN_PX8 8 /* Port x Bit 8 Input Enable */
-#define BITP_PORT_INEN_PX7 7 /* Port x Bit 7 Input Enable */
-#define BITP_PORT_INEN_PX6 6 /* Port x Bit 6 Input Enable */
-#define BITP_PORT_INEN_PX5 5 /* Port x Bit 5 Input Enable */
-#define BITP_PORT_INEN_PX4 4 /* Port x Bit 4 Input Enable */
-#define BITP_PORT_INEN_PX3 3 /* Port x Bit 3 Input Enable */
-#define BITP_PORT_INEN_PX2 2 /* Port x Bit 2 Input Enable */
-#define BITP_PORT_INEN_PX1 1 /* Port x Bit 1 Input Enable */
-#define BITP_PORT_INEN_PX0 0 /* Port x Bit 0 Input Enable */
-#define BITM_PORT_INEN_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable */
-#define BITM_PORT_INEN_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable */
-#define BITM_PORT_INEN_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable */
-#define BITM_PORT_INEN_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable */
-#define BITM_PORT_INEN_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable */
-#define BITM_PORT_INEN_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable */
-#define BITM_PORT_INEN_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable */
-#define BITM_PORT_INEN_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable */
-#define BITM_PORT_INEN_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable */
-#define BITM_PORT_INEN_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable */
-#define BITM_PORT_INEN_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable */
-#define BITM_PORT_INEN_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable */
-#define BITM_PORT_INEN_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable */
-#define BITM_PORT_INEN_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable */
-#define BITM_PORT_INEN_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable */
-#define BITM_PORT_INEN_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_SET_PX15 15 /* Port x Bit 15 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX14 14 /* Port x Bit 14 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX13 13 /* Port x Bit 13 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX12 12 /* Port x Bit 12 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX11 11 /* Port x Bit 11 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX10 10 /* Port x Bit 10 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX9 9 /* Port x Bit 9 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX8 8 /* Port x Bit 8 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX7 7 /* Port x Bit 7 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX6 6 /* Port x Bit 6 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX5 5 /* Port x Bit 5 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX4 4 /* Port x Bit 4 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX3 3 /* Port x Bit 3 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX2 2 /* Port x Bit 2 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX1 1 /* Port x Bit 1 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX0 0 /* Port x Bit 0 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_CLR_PX15 15 /* Port x Bit 15 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX14 14 /* Port x Bit 14 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX13 13 /* Port x Bit 13 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX12 12 /* Port x Bit 12 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX11 11 /* Port x Bit 11 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX10 10 /* Port x Bit 10 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX9 9 /* Port x Bit 9 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX8 8 /* Port x Bit 8 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX7 7 /* Port x Bit 7 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX6 6 /* Port x Bit 6 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX5 5 /* Port x Bit 5 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX4 4 /* Port x Bit 4 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX3 3 /* Port x Bit 3 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX2 2 /* Port x Bit 2 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX1 1 /* Port x Bit 1 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX0 0 /* Port x Bit 0 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_MUX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_MUX_MUX15 30 /* Mux for Port x Bit 15 */
-#define BITP_PORT_MUX_MUX14 28 /* Mux for Port x Bit 14 */
-#define BITP_PORT_MUX_MUX13 26 /* Mux for Port x Bit 13 */
-#define BITP_PORT_MUX_MUX12 24 /* Mux for Port x Bit 12 */
-#define BITP_PORT_MUX_MUX11 22 /* Mux for Port x Bit 11 */
-#define BITP_PORT_MUX_MUX10 20 /* Mux for Port x Bit 10 */
-#define BITP_PORT_MUX_MUX9 18 /* Mux for Port x Bit 9 */
-#define BITP_PORT_MUX_MUX8 16 /* Mux for Port x Bit 8 */
-#define BITP_PORT_MUX_MUX7 14 /* Mux for Port x Bit 7 */
-#define BITP_PORT_MUX_MUX6 12 /* Mux for Port x Bit 6 */
-#define BITP_PORT_MUX_MUX5 10 /* Mux for Port x Bit 5 */
-#define BITP_PORT_MUX_MUX4 8 /* Mux for Port x Bit 4 */
-#define BITP_PORT_MUX_MUX3 6 /* Mux for Port x Bit 3 */
-#define BITP_PORT_MUX_MUX2 4 /* Mux for Port x Bit 2 */
-#define BITP_PORT_MUX_MUX1 2 /* Mux for Port x Bit 1 */
-#define BITP_PORT_MUX_MUX0 0 /* Mux for Port x Bit 0 */
-#define BITM_PORT_MUX_MUX15 (_ADI_MSK(0xC0000000,uint32_t)) /* Mux for Port x Bit 15 */
-#define BITM_PORT_MUX_MUX14 (_ADI_MSK(0x30000000,uint32_t)) /* Mux for Port x Bit 14 */
-#define BITM_PORT_MUX_MUX13 (_ADI_MSK(0x0C000000,uint32_t)) /* Mux for Port x Bit 13 */
-#define BITM_PORT_MUX_MUX12 (_ADI_MSK(0x03000000,uint32_t)) /* Mux for Port x Bit 12 */
-#define BITM_PORT_MUX_MUX11 (_ADI_MSK(0x00C00000,uint32_t)) /* Mux for Port x Bit 11 */
-#define BITM_PORT_MUX_MUX10 (_ADI_MSK(0x00300000,uint32_t)) /* Mux for Port x Bit 10 */
-#define BITM_PORT_MUX_MUX9 (_ADI_MSK(0x000C0000,uint32_t)) /* Mux for Port x Bit 9 */
-#define BITM_PORT_MUX_MUX8 (_ADI_MSK(0x00030000,uint32_t)) /* Mux for Port x Bit 8 */
-#define BITM_PORT_MUX_MUX7 (_ADI_MSK(0x0000C000,uint32_t)) /* Mux for Port x Bit 7 */
-#define BITM_PORT_MUX_MUX6 (_ADI_MSK(0x00003000,uint32_t)) /* Mux for Port x Bit 6 */
-#define BITM_PORT_MUX_MUX5 (_ADI_MSK(0x00000C00,uint32_t)) /* Mux for Port x Bit 5 */
-#define BITM_PORT_MUX_MUX4 (_ADI_MSK(0x00000300,uint32_t)) /* Mux for Port x Bit 4 */
-#define BITM_PORT_MUX_MUX3 (_ADI_MSK(0x000000C0,uint32_t)) /* Mux for Port x Bit 3 */
-#define BITM_PORT_MUX_MUX2 (_ADI_MSK(0x00000030,uint32_t)) /* Mux for Port x Bit 2 */
-#define BITM_PORT_MUX_MUX1 (_ADI_MSK(0x0000000C,uint32_t)) /* Mux for Port x Bit 1 */
-#define BITM_PORT_MUX_MUX0 (_ADI_MSK(0x00000003,uint32_t)) /* Mux for Port x Bit 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_TGL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_TGL_PX15 15 /* Port x Bit 15 Toggle */
-#define BITP_PORT_DATA_TGL_PX14 14 /* Port x Bit 14 Toggle */
-#define BITP_PORT_DATA_TGL_PX13 13 /* Port x Bit 13 Toggle */
-#define BITP_PORT_DATA_TGL_PX12 12 /* Port x Bit 12 Toggle */
-#define BITP_PORT_DATA_TGL_PX11 11 /* Port x Bit 11 Toggle */
-#define BITP_PORT_DATA_TGL_PX10 10 /* Port x Bit 10 Toggle */
-#define BITP_PORT_DATA_TGL_PX9 9 /* Port x Bit 9 Toggle */
-#define BITP_PORT_DATA_TGL_PX8 8 /* Port x Bit 8 Toggle */
-#define BITP_PORT_DATA_TGL_PX7 7 /* Port x Bit 7 Toggle */
-#define BITP_PORT_DATA_TGL_PX6 6 /* Port x Bit 6 Toggle */
-#define BITP_PORT_DATA_TGL_PX5 5 /* Port x Bit 5 Toggle */
-#define BITP_PORT_DATA_TGL_PX4 4 /* Port x Bit 4 Toggle */
-#define BITP_PORT_DATA_TGL_PX3 3 /* Port x Bit 3 Toggle */
-#define BITP_PORT_DATA_TGL_PX2 2 /* Port x Bit 2 Toggle */
-#define BITP_PORT_DATA_TGL_PX1 1 /* Port x Bit 1 Toggle */
-#define BITP_PORT_DATA_TGL_PX0 0 /* Port x Bit 0 Toggle */
-#define BITM_PORT_DATA_TGL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Toggle */
-#define BITM_PORT_DATA_TGL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Toggle */
-#define BITM_PORT_DATA_TGL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Toggle */
-#define BITM_PORT_DATA_TGL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Toggle */
-#define BITM_PORT_DATA_TGL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Toggle */
-#define BITM_PORT_DATA_TGL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Toggle */
-#define BITM_PORT_DATA_TGL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Toggle */
-#define BITM_PORT_DATA_TGL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Toggle */
-#define BITM_PORT_DATA_TGL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Toggle */
-#define BITM_PORT_DATA_TGL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Toggle */
-#define BITM_PORT_DATA_TGL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Toggle */
-#define BITM_PORT_DATA_TGL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Toggle */
-#define BITM_PORT_DATA_TGL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Toggle */
-#define BITM_PORT_DATA_TGL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Toggle */
-#define BITM_PORT_DATA_TGL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Toggle */
-#define BITM_PORT_DATA_TGL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Toggle */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_PX15 15 /* Port x Bit 15 Polarity Invert */
-#define BITP_PORT_POL_PX14 14 /* Port x Bit 14 Polarity Invert */
-#define BITP_PORT_POL_PX13 13 /* Port x Bit 13 Polarity Invert */
-#define BITP_PORT_POL_PX12 12 /* Port x Bit 12 Polarity Invert */
-#define BITP_PORT_POL_PX11 11 /* Port x Bit 11 Polarity Invert */
-#define BITP_PORT_POL_PX10 10 /* Port x Bit 10 Polarity Invert */
-#define BITP_PORT_POL_PX9 9 /* Port x Bit 9 Polarity Invert */
-#define BITP_PORT_POL_PX8 8 /* Port x Bit 8 Polarity Invert */
-#define BITP_PORT_POL_PX7 7 /* Port x Bit 7 Polarity Invert */
-#define BITP_PORT_POL_PX6 6 /* Port x Bit 6 Polarity Invert */
-#define BITP_PORT_POL_PX5 5 /* Port x Bit 5 Polarity Invert */
-#define BITP_PORT_POL_PX4 4 /* Port x Bit 4 Polarity Invert */
-#define BITP_PORT_POL_PX3 3 /* Port x Bit 3 Polarity Invert */
-#define BITP_PORT_POL_PX2 2 /* Port x Bit 2 Polarity Invert */
-#define BITP_PORT_POL_PX1 1 /* Port x Bit 1 Polarity Invert */
-#define BITP_PORT_POL_PX0 0 /* Port x Bit 0 Polarity Invert */
-#define BITM_PORT_POL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert */
-#define BITM_PORT_POL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert */
-#define BITM_PORT_POL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert */
-#define BITM_PORT_POL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert */
-#define BITM_PORT_POL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert */
-#define BITM_PORT_POL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert */
-#define BITM_PORT_POL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert */
-#define BITM_PORT_POL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert */
-#define BITM_PORT_POL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert */
-#define BITM_PORT_POL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert */
-#define BITM_PORT_POL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert */
-#define BITM_PORT_POL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert */
-#define BITM_PORT_POL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert */
-#define BITM_PORT_POL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert */
-#define BITM_PORT_POL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert */
-#define BITM_PORT_POL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_SET_PX15 15 /* Port x Bit 15 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX14 14 /* Port x Bit 14 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX13 13 /* Port x Bit 13 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX12 12 /* Port x Bit 12 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX11 11 /* Port x Bit 11 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX10 10 /* Port x Bit 10 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX9 9 /* Port x Bit 9 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX8 8 /* Port x Bit 8 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX7 7 /* Port x Bit 7 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX6 6 /* Port x Bit 6 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX5 5 /* Port x Bit 5 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX4 4 /* Port x Bit 4 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX3 3 /* Port x Bit 3 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX2 2 /* Port x Bit 2 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX1 1 /* Port x Bit 1 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX0 0 /* Port x Bit 0 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_CLR_PX15 15 /* Port x Bit 15 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX14 14 /* Port x Bit 14 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX13 13 /* Port x Bit 13 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX12 12 /* Port x Bit 12 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX11 11 /* Port x Bit 11 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX10 10 /* Port x Bit 10 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX9 9 /* Port x Bit 9 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX8 8 /* Port x Bit 8 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX7 7 /* Port x Bit 7 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX6 6 /* Port x Bit 6 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX5 5 /* Port x Bit 5 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX4 4 /* Port x Bit 4 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX3 3 /* Port x Bit 3 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX2 2 /* Port x Bit 2 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX1 1 /* Port x Bit 1 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX0 0 /* Port x Bit 0 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_LOCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_LOCK_LOCK 31 /* Lock */
-#define BITP_PORT_LOCK_POLAR 5 /* Polarity Lock */
-#define BITP_PORT_LOCK_INEN 4 /* Input Enable Lock */
-#define BITP_PORT_LOCK_DIR 3 /* Direction Lock */
-#define BITP_PORT_LOCK_DATA 2 /* Data Lock */
-#define BITP_PORT_LOCK_MUX 1 /* Function Multiplexer Lock */
-#define BITP_PORT_LOCK_FER 0 /* Function Enable Lock */
-#define BITM_PORT_LOCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_PORT_LOCK_POLAR (_ADI_MSK(0x00000020,uint32_t)) /* Polarity Lock */
-#define BITM_PORT_LOCK_INEN (_ADI_MSK(0x00000010,uint32_t)) /* Input Enable Lock */
-#define BITM_PORT_LOCK_DIR (_ADI_MSK(0x00000008,uint32_t)) /* Direction Lock */
-#define BITM_PORT_LOCK_DATA (_ADI_MSK(0x00000004,uint32_t)) /* Data Lock */
-#define BITM_PORT_LOCK_MUX (_ADI_MSK(0x00000002,uint32_t)) /* Function Multiplexer Lock */
-#define BITM_PORT_LOCK_FER (_ADI_MSK(0x00000001,uint32_t)) /* Function Enable Lock */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_REVID_MAJOR 4 /* Major ID */
-#define BITP_PORT_REVID_REV 0 /* Revision ID */
-#define BITM_PORT_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PORT_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID */
-
-/* ==================================================
- Pads Controller Registers
- ================================================== */
-
-/* =========================
- PADS0
- ========================= */
-#define REG_PADS0_EMAC_PTP_CLKSEL 0xFFC03404 /* PADS0 Clock Selection for EMAC and PTP */
-#define REG_PADS0_TWI_VSEL 0xFFC03408 /* PADS0 TWI Voltage Selection */
-#define REG_PADS0_PORTS_HYST 0xFFC03440 /* PADS0 Hysteresis Enable Register */
-
-/* =========================
- PADS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_EMAC_PTP_CLKSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC1 2 /* Select Clock Source for PTP Block in EMAC1 */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC0 0 /* PTP Clock Source 0 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC1 (_ADI_MSK(0x0000000C,uint32_t)) /* Select Clock Source for PTP Block in EMAC1 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC0 (_ADI_MSK(0x00000003,uint32_t)) /* PTP Clock Source 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_TWI_VSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_TWI_VSEL_TWI1 4 /* TWI Voltage Select 1 */
-#define BITP_PADS_TWI_VSEL_TWI0 0 /* TWI Voltage Select 0 */
-#define BITM_PADS_TWI_VSEL_TWI1 (_ADI_MSK(0x00000070,uint32_t)) /* TWI Voltage Select 1 */
-#define BITM_PADS_TWI_VSEL_TWI0 (_ADI_MSK(0x00000007,uint32_t)) /* TWI Voltage Select 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_PORTS_HYST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_PORTS_HYST_G 6 /* Port G Hysteresis */
-#define BITP_PADS_PORTS_HYST_F 5 /* Port F Hysteresis */
-#define BITP_PADS_PORTS_HYST_E 4 /* Port E Hysteresis */
-#define BITP_PADS_PORTS_HYST_D 3 /* Port D Hysteresis */
-#define BITP_PADS_PORTS_HYST_C 2 /* Port C Hysteresis */
-#define BITP_PADS_PORTS_HYST_B 1 /* Port B Hysteresis */
-#define BITP_PADS_PORTS_HYST_A 0 /* Port A Hysteresis */
-#define BITM_PADS_PORTS_HYST_G (_ADI_MSK(0x00000040,uint32_t)) /* Port G Hysteresis */
-#define BITM_PADS_PORTS_HYST_F (_ADI_MSK(0x00000020,uint32_t)) /* Port F Hysteresis */
-#define BITM_PADS_PORTS_HYST_E (_ADI_MSK(0x00000010,uint32_t)) /* Port E Hysteresis */
-#define BITM_PADS_PORTS_HYST_D (_ADI_MSK(0x00000008,uint32_t)) /* Port D Hysteresis */
-#define BITM_PADS_PORTS_HYST_C (_ADI_MSK(0x00000004,uint32_t)) /* Port C Hysteresis */
-#define BITM_PADS_PORTS_HYST_B (_ADI_MSK(0x00000002,uint32_t)) /* Port B Hysteresis */
-#define BITM_PADS_PORTS_HYST_A (_ADI_MSK(0x00000001,uint32_t)) /* Port A Hysteresis */
-
-/* ==================================================
- PINT Registers
- ================================================== */
-
-/* =========================
- PINT0
- ========================= */
-#define REG_PINT0_MSK_SET 0xFFC04000 /* PINT0 Pint Mask Set Register */
-#define REG_PINT0_MSK_CLR 0xFFC04004 /* PINT0 Pint Mask Clear Register */
-#define REG_PINT0_REQ 0xFFC04008 /* PINT0 Pint Request Register */
-#define REG_PINT0_ASSIGN 0xFFC0400C /* PINT0 Pint Assign Register */
-#define REG_PINT0_EDGE_SET 0xFFC04010 /* PINT0 Pint Edge Set Register */
-#define REG_PINT0_EDGE_CLR 0xFFC04014 /* PINT0 Pint Edge Clear Register */
-#define REG_PINT0_INV_SET 0xFFC04018 /* PINT0 Pint Invert Set Register */
-#define REG_PINT0_INV_CLR 0xFFC0401C /* PINT0 Pint Invert Clear Register */
-#define REG_PINT0_PINSTATE 0xFFC04020 /* PINT0 Pint Pinstate Register */
-#define REG_PINT0_LATCH 0xFFC04024 /* PINT0 Pint Latch Register */
-
-/* =========================
- PINT1
- ========================= */
-#define REG_PINT1_MSK_SET 0xFFC04100 /* PINT1 Pint Mask Set Register */
-#define REG_PINT1_MSK_CLR 0xFFC04104 /* PINT1 Pint Mask Clear Register */
-#define REG_PINT1_REQ 0xFFC04108 /* PINT1 Pint Request Register */
-#define REG_PINT1_ASSIGN 0xFFC0410C /* PINT1 Pint Assign Register */
-#define REG_PINT1_EDGE_SET 0xFFC04110 /* PINT1 Pint Edge Set Register */
-#define REG_PINT1_EDGE_CLR 0xFFC04114 /* PINT1 Pint Edge Clear Register */
-#define REG_PINT1_INV_SET 0xFFC04118 /* PINT1 Pint Invert Set Register */
-#define REG_PINT1_INV_CLR 0xFFC0411C /* PINT1 Pint Invert Clear Register */
-#define REG_PINT1_PINSTATE 0xFFC04120 /* PINT1 Pint Pinstate Register */
-#define REG_PINT1_LATCH 0xFFC04124 /* PINT1 Pint Latch Register */
-
-/* =========================
- PINT2
- ========================= */
-#define REG_PINT2_MSK_SET 0xFFC04200 /* PINT2 Pint Mask Set Register */
-#define REG_PINT2_MSK_CLR 0xFFC04204 /* PINT2 Pint Mask Clear Register */
-#define REG_PINT2_REQ 0xFFC04208 /* PINT2 Pint Request Register */
-#define REG_PINT2_ASSIGN 0xFFC0420C /* PINT2 Pint Assign Register */
-#define REG_PINT2_EDGE_SET 0xFFC04210 /* PINT2 Pint Edge Set Register */
-#define REG_PINT2_EDGE_CLR 0xFFC04214 /* PINT2 Pint Edge Clear Register */
-#define REG_PINT2_INV_SET 0xFFC04218 /* PINT2 Pint Invert Set Register */
-#define REG_PINT2_INV_CLR 0xFFC0421C /* PINT2 Pint Invert Clear Register */
-#define REG_PINT2_PINSTATE 0xFFC04220 /* PINT2 Pint Pinstate Register */
-#define REG_PINT2_LATCH 0xFFC04224 /* PINT2 Pint Latch Register */
-
-/* =========================
- PINT3
- ========================= */
-#define REG_PINT3_MSK_SET 0xFFC04300 /* PINT3 Pint Mask Set Register */
-#define REG_PINT3_MSK_CLR 0xFFC04304 /* PINT3 Pint Mask Clear Register */
-#define REG_PINT3_REQ 0xFFC04308 /* PINT3 Pint Request Register */
-#define REG_PINT3_ASSIGN 0xFFC0430C /* PINT3 Pint Assign Register */
-#define REG_PINT3_EDGE_SET 0xFFC04310 /* PINT3 Pint Edge Set Register */
-#define REG_PINT3_EDGE_CLR 0xFFC04314 /* PINT3 Pint Edge Clear Register */
-#define REG_PINT3_INV_SET 0xFFC04318 /* PINT3 Pint Invert Set Register */
-#define REG_PINT3_INV_CLR 0xFFC0431C /* PINT3 Pint Invert Clear Register */
-#define REG_PINT3_PINSTATE 0xFFC04320 /* PINT3 Pint Pinstate Register */
-#define REG_PINT3_LATCH 0xFFC04324 /* PINT3 Pint Latch Register */
-
-/* =========================
- PINT4
- ========================= */
-#define REG_PINT4_MSK_SET 0xFFC04400 /* PINT4 Pint Mask Set Register */
-#define REG_PINT4_MSK_CLR 0xFFC04404 /* PINT4 Pint Mask Clear Register */
-#define REG_PINT4_REQ 0xFFC04408 /* PINT4 Pint Request Register */
-#define REG_PINT4_ASSIGN 0xFFC0440C /* PINT4 Pint Assign Register */
-#define REG_PINT4_EDGE_SET 0xFFC04410 /* PINT4 Pint Edge Set Register */
-#define REG_PINT4_EDGE_CLR 0xFFC04414 /* PINT4 Pint Edge Clear Register */
-#define REG_PINT4_INV_SET 0xFFC04418 /* PINT4 Pint Invert Set Register */
-#define REG_PINT4_INV_CLR 0xFFC0441C /* PINT4 Pint Invert Clear Register */
-#define REG_PINT4_PINSTATE 0xFFC04420 /* PINT4 Pint Pinstate Register */
-#define REG_PINT4_LATCH 0xFFC04424 /* PINT4 Pint Latch Register */
-
-/* =========================
- PINT5
- ========================= */
-#define REG_PINT5_MSK_SET 0xFFC04500 /* PINT5 Pint Mask Set Register */
-#define REG_PINT5_MSK_CLR 0xFFC04504 /* PINT5 Pint Mask Clear Register */
-#define REG_PINT5_REQ 0xFFC04508 /* PINT5 Pint Request Register */
-#define REG_PINT5_ASSIGN 0xFFC0450C /* PINT5 Pint Assign Register */
-#define REG_PINT5_EDGE_SET 0xFFC04510 /* PINT5 Pint Edge Set Register */
-#define REG_PINT5_EDGE_CLR 0xFFC04514 /* PINT5 Pint Edge Clear Register */
-#define REG_PINT5_INV_SET 0xFFC04518 /* PINT5 Pint Invert Set Register */
-#define REG_PINT5_INV_CLR 0xFFC0451C /* PINT5 Pint Invert Clear Register */
-#define REG_PINT5_PINSTATE 0xFFC04520 /* PINT5 Pint Pinstate Register */
-#define REG_PINT5_LATCH 0xFFC04524 /* PINT5 Pint Latch Register */
-
-/* =========================
- PINT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_SET_PIQ31 31 /* Pin Interrupt 31 Unmask */
-#define BITP_PINT_MSK_SET_PIQ30 30 /* Pin Interrupt 30 Unmask */
-#define BITP_PINT_MSK_SET_PIQ29 29 /* Pin Interrupt 29 Unmask */
-#define BITP_PINT_MSK_SET_PIQ28 28 /* Pin Interrupt 28 Unmask */
-#define BITP_PINT_MSK_SET_PIQ27 27 /* Pin Interrupt 27 Unmask */
-#define BITP_PINT_MSK_SET_PIQ26 26 /* Pin Interrupt 26 Unmask */
-#define BITP_PINT_MSK_SET_PIQ25 25 /* Pin Interrupt 25 Unmask */
-#define BITP_PINT_MSK_SET_PIQ24 24 /* Pin Interrupt 24 Unmask */
-#define BITP_PINT_MSK_SET_PIQ23 23 /* Pin Interrupt 23 Unmask */
-#define BITP_PINT_MSK_SET_PIQ22 22 /* Pin Interrupt 22 Unmask */
-#define BITP_PINT_MSK_SET_PIQ21 21 /* Pin Interrupt 21 Unmask */
-#define BITP_PINT_MSK_SET_PIQ20 20 /* Pin Interrupt 20 Unmask */
-#define BITP_PINT_MSK_SET_PIQ19 19 /* Pin Interrupt 19 Unmask */
-#define BITP_PINT_MSK_SET_PIQ18 18 /* Pin Interrupt 18 Unmask */
-#define BITP_PINT_MSK_SET_PIQ17 17 /* Pin Interrupt 17 Unmask */
-#define BITP_PINT_MSK_SET_PIQ16 16 /* Pin Interrupt 16 Unmask */
-#define BITP_PINT_MSK_SET_PIQ15 15 /* Pin Interrupt 15 Unmask */
-#define BITP_PINT_MSK_SET_PIQ14 14 /* Pin Interrupt 14 Unmask */
-#define BITP_PINT_MSK_SET_PIQ13 13 /* Pin Interrupt 13 Unmask */
-#define BITP_PINT_MSK_SET_PIQ12 12 /* Pin Interrupt 12 Unmask */
-#define BITP_PINT_MSK_SET_PIQ11 11 /* Pin Interrupt 11 Unmask */
-#define BITP_PINT_MSK_SET_PIQ10 10 /* Pin Interrupt 10 Unmask */
-#define BITP_PINT_MSK_SET_PIQ9 9 /* Pin Interrupt 9 Unmask */
-#define BITP_PINT_MSK_SET_PIQ8 8 /* Pin Interrupt 8 Unmask */
-#define BITP_PINT_MSK_SET_PIQ7 7 /* Pin Interrupt 7 Unmask */
-#define BITP_PINT_MSK_SET_PIQ6 6 /* Pin Interrupt 6 Unmask */
-#define BITP_PINT_MSK_SET_PIQ5 5 /* Pin Interrupt 5 Unmask */
-#define BITP_PINT_MSK_SET_PIQ4 4 /* Pin Interrupt 4 Unmask */
-#define BITP_PINT_MSK_SET_PIQ3 3 /* Pin Interrupt 3 Unmask */
-#define BITP_PINT_MSK_SET_PIQ2 2 /* Pin Interrupt 2 Unmask */
-#define BITP_PINT_MSK_SET_PIQ1 1 /* Pin Interrupt 1 Unmask */
-#define BITP_PINT_MSK_SET_PIQ0 0 /* Pin Interrupt 0 Unmask */
-#define BITM_PINT_MSK_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Unmask */
-#define BITM_PINT_MSK_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Unmask */
-#define BITM_PINT_MSK_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Unmask */
-#define BITM_PINT_MSK_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Unmask */
-#define BITM_PINT_MSK_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Unmask */
-#define BITM_PINT_MSK_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Unmask */
-#define BITM_PINT_MSK_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Unmask */
-#define BITM_PINT_MSK_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Unmask */
-#define BITM_PINT_MSK_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Unmask */
-#define BITM_PINT_MSK_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Unmask */
-#define BITM_PINT_MSK_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Unmask */
-#define BITM_PINT_MSK_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Unmask */
-#define BITM_PINT_MSK_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Unmask */
-#define BITM_PINT_MSK_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Unmask */
-#define BITM_PINT_MSK_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Unmask */
-#define BITM_PINT_MSK_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Unmask */
-#define BITM_PINT_MSK_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Unmask */
-#define BITM_PINT_MSK_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Unmask */
-#define BITM_PINT_MSK_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Unmask */
-#define BITM_PINT_MSK_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Unmask */
-#define BITM_PINT_MSK_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Unmask */
-#define BITM_PINT_MSK_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Unmask */
-#define BITM_PINT_MSK_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Unmask */
-#define BITM_PINT_MSK_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Unmask */
-#define BITM_PINT_MSK_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Unmask */
-#define BITM_PINT_MSK_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Unmask */
-#define BITM_PINT_MSK_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Unmask */
-#define BITM_PINT_MSK_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Unmask */
-#define BITM_PINT_MSK_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Unmask */
-#define BITM_PINT_MSK_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Unmask */
-#define BITM_PINT_MSK_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Unmask */
-#define BITM_PINT_MSK_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_CLR_PIQ31 31 /* Pin Interrupt 31 Mask */
-#define BITP_PINT_MSK_CLR_PIQ30 30 /* Pin Interrupt 30 Mask */
-#define BITP_PINT_MSK_CLR_PIQ29 29 /* Pin Interrupt 29 Mask */
-#define BITP_PINT_MSK_CLR_PIQ28 28 /* Pin Interrupt 28 Mask */
-#define BITP_PINT_MSK_CLR_PIQ27 27 /* Pin Interrupt 27 Mask */
-#define BITP_PINT_MSK_CLR_PIQ26 26 /* Pin Interrupt 26 Mask */
-#define BITP_PINT_MSK_CLR_PIQ25 25 /* Pin Interrupt 25 Mask */
-#define BITP_PINT_MSK_CLR_PIQ24 24 /* Pin Interrupt 24 Mask */
-#define BITP_PINT_MSK_CLR_PIQ23 23 /* Pin Interrupt 23 Mask */
-#define BITP_PINT_MSK_CLR_PIQ22 22 /* Pin Interrupt 22 Mask */
-#define BITP_PINT_MSK_CLR_PIQ21 21 /* Pin Interrupt 21 Mask */
-#define BITP_PINT_MSK_CLR_PIQ20 20 /* Pin Interrupt 20 Mask */
-#define BITP_PINT_MSK_CLR_PIQ19 19 /* Pin Interrupt 19 Mask */
-#define BITP_PINT_MSK_CLR_PIQ18 18 /* Pin Interrupt 18 Mask */
-#define BITP_PINT_MSK_CLR_PIQ17 17 /* Pin Interrupt 17 Mask */
-#define BITP_PINT_MSK_CLR_PIQ16 16 /* Pin Interrupt 16 Mask */
-#define BITP_PINT_MSK_CLR_PIQ15 15 /* Pin Interrupt 15 Mask */
-#define BITP_PINT_MSK_CLR_PIQ14 14 /* Pin Interrupt 14 Mask */
-#define BITP_PINT_MSK_CLR_PIQ13 13 /* Pin Interrupt 13 Mask */
-#define BITP_PINT_MSK_CLR_PIQ12 12 /* Pin Interrupt 12 Mask */
-#define BITP_PINT_MSK_CLR_PIQ11 11 /* Pin Interrupt 11 Mask */
-#define BITP_PINT_MSK_CLR_PIQ10 10 /* Pin Interrupt 10 Mask */
-#define BITP_PINT_MSK_CLR_PIQ9 9 /* Pin Interrupt 9 Mask */
-#define BITP_PINT_MSK_CLR_PIQ8 8 /* Pin Interrupt 8 Mask */
-#define BITP_PINT_MSK_CLR_PIQ7 7 /* Pin Interrupt 7 Mask */
-#define BITP_PINT_MSK_CLR_PIQ6 6 /* Pin Interrupt 6 Mask */
-#define BITP_PINT_MSK_CLR_PIQ5 5 /* Pin Interrupt 5 Mask */
-#define BITP_PINT_MSK_CLR_PIQ4 4 /* Pin Interrupt 4 Mask */
-#define BITP_PINT_MSK_CLR_PIQ3 3 /* Pin Interrupt 3 Mask */
-#define BITP_PINT_MSK_CLR_PIQ2 2 /* Pin Interrupt 2 Mask */
-#define BITP_PINT_MSK_CLR_PIQ1 1 /* Pin Interrupt 1 Mask */
-#define BITP_PINT_MSK_CLR_PIQ0 0 /* Pin Interrupt 0 Mask */
-#define BITM_PINT_MSK_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Mask */
-#define BITM_PINT_MSK_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Mask */
-#define BITM_PINT_MSK_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Mask */
-#define BITM_PINT_MSK_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Mask */
-#define BITM_PINT_MSK_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Mask */
-#define BITM_PINT_MSK_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Mask */
-#define BITM_PINT_MSK_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Mask */
-#define BITM_PINT_MSK_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Mask */
-#define BITM_PINT_MSK_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Mask */
-#define BITM_PINT_MSK_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Mask */
-#define BITM_PINT_MSK_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Mask */
-#define BITM_PINT_MSK_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Mask */
-#define BITM_PINT_MSK_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Mask */
-#define BITM_PINT_MSK_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Mask */
-#define BITM_PINT_MSK_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Mask */
-#define BITM_PINT_MSK_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Mask */
-#define BITM_PINT_MSK_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Mask */
-#define BITM_PINT_MSK_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Mask */
-#define BITM_PINT_MSK_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Mask */
-#define BITM_PINT_MSK_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Mask */
-#define BITM_PINT_MSK_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Mask */
-#define BITM_PINT_MSK_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Mask */
-#define BITM_PINT_MSK_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Mask */
-#define BITM_PINT_MSK_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Mask */
-#define BITM_PINT_MSK_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Mask */
-#define BITM_PINT_MSK_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Mask */
-#define BITM_PINT_MSK_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Mask */
-#define BITM_PINT_MSK_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Mask */
-#define BITM_PINT_MSK_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Mask */
-#define BITM_PINT_MSK_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Mask */
-#define BITM_PINT_MSK_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Mask */
-#define BITM_PINT_MSK_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_REQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_REQ_PIQ31 31 /* Pin Interrupt 31 Request */
-#define BITP_PINT_REQ_PIQ30 30 /* Pin Interrupt 30 Request */
-#define BITP_PINT_REQ_PIQ29 29 /* Pin Interrupt 29 Request */
-#define BITP_PINT_REQ_PIQ28 28 /* Pin Interrupt 28 Request */
-#define BITP_PINT_REQ_PIQ27 27 /* Pin Interrupt 27 Request */
-#define BITP_PINT_REQ_PIQ26 26 /* Pin Interrupt 26 Request */
-#define BITP_PINT_REQ_PIQ25 25 /* Pin Interrupt 25 Request */
-#define BITP_PINT_REQ_PIQ24 24 /* Pin Interrupt 24 Request */
-#define BITP_PINT_REQ_PIQ23 23 /* Pin Interrupt 23 Request */
-#define BITP_PINT_REQ_PIQ22 22 /* Pin Interrupt 22 Request */
-#define BITP_PINT_REQ_PIQ21 21 /* Pin Interrupt 21 Request */
-#define BITP_PINT_REQ_PIQ20 20 /* Pin Interrupt 20 Request */
-#define BITP_PINT_REQ_PIQ19 19 /* Pin Interrupt 19 Request */
-#define BITP_PINT_REQ_PIQ18 18 /* Pin Interrupt 18 Request */
-#define BITP_PINT_REQ_PIQ17 17 /* Pin Interrupt 17 Request */
-#define BITP_PINT_REQ_PIQ16 16 /* Pin Interrupt 16 Request */
-#define BITP_PINT_REQ_PIQ15 15 /* Pin Interrupt 15 Request */
-#define BITP_PINT_REQ_PIQ14 14 /* Pin Interrupt 14 Request */
-#define BITP_PINT_REQ_PIQ13 13 /* Pin Interrupt 13 Request */
-#define BITP_PINT_REQ_PIQ12 12 /* Pin Interrupt 12 Request */
-#define BITP_PINT_REQ_PIQ11 11 /* Pin Interrupt 11 Request */
-#define BITP_PINT_REQ_PIQ10 10 /* Pin Interrupt 10 Request */
-#define BITP_PINT_REQ_PIQ9 9 /* Pin Interrupt 9 Request */
-#define BITP_PINT_REQ_PIQ8 8 /* Pin Interrupt 8 Request */
-#define BITP_PINT_REQ_PIQ7 7 /* Pin Interrupt 7 Request */
-#define BITP_PINT_REQ_PIQ6 6 /* Pin Interrupt 6 Request */
-#define BITP_PINT_REQ_PIQ5 5 /* Pin Interrupt 5 Request */
-#define BITP_PINT_REQ_PIQ4 4 /* Pin Interrupt 4 Request */
-#define BITP_PINT_REQ_PIQ3 3 /* Pin Interrupt 3 Request */
-#define BITP_PINT_REQ_PIQ2 2 /* Pin Interrupt 2 Request */
-#define BITP_PINT_REQ_PIQ1 1 /* Pin Interrupt 1 Request */
-#define BITP_PINT_REQ_PIQ0 0 /* Pin Interrupt 0 Request */
-#define BITM_PINT_REQ_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Request */
-#define BITM_PINT_REQ_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Request */
-#define BITM_PINT_REQ_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Request */
-#define BITM_PINT_REQ_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Request */
-#define BITM_PINT_REQ_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Request */
-#define BITM_PINT_REQ_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Request */
-#define BITM_PINT_REQ_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Request */
-#define BITM_PINT_REQ_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Request */
-#define BITM_PINT_REQ_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Request */
-#define BITM_PINT_REQ_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Request */
-#define BITM_PINT_REQ_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Request */
-#define BITM_PINT_REQ_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Request */
-#define BITM_PINT_REQ_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Request */
-#define BITM_PINT_REQ_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Request */
-#define BITM_PINT_REQ_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Request */
-#define BITM_PINT_REQ_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Request */
-#define BITM_PINT_REQ_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Request */
-#define BITM_PINT_REQ_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Request */
-#define BITM_PINT_REQ_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Request */
-#define BITM_PINT_REQ_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Request */
-#define BITM_PINT_REQ_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Request */
-#define BITM_PINT_REQ_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Request */
-#define BITM_PINT_REQ_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Request */
-#define BITM_PINT_REQ_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Request */
-#define BITM_PINT_REQ_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Request */
-#define BITM_PINT_REQ_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Request */
-#define BITM_PINT_REQ_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Request */
-#define BITM_PINT_REQ_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Request */
-#define BITM_PINT_REQ_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Request */
-#define BITM_PINT_REQ_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Request */
-#define BITM_PINT_REQ_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Request */
-#define BITM_PINT_REQ_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_ASSIGN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_ASSIGN_B3MAP 24 /* Byte 3 Mapping */
-#define BITP_PINT_ASSIGN_B2MAP 16 /* Byte 2 Mapping */
-#define BITP_PINT_ASSIGN_B1MAP 8 /* Byte 1 Mapping */
-#define BITP_PINT_ASSIGN_B0MAP 0 /* Byte 0 Mapping */
-#define BITM_PINT_ASSIGN_B3MAP (_ADI_MSK(0xFF000000,uint32_t)) /* Byte 3 Mapping */
-#define BITM_PINT_ASSIGN_B2MAP (_ADI_MSK(0x00FF0000,uint32_t)) /* Byte 2 Mapping */
-#define BITM_PINT_ASSIGN_B1MAP (_ADI_MSK(0x0000FF00,uint32_t)) /* Byte 1 Mapping */
-#define BITM_PINT_ASSIGN_B0MAP (_ADI_MSK(0x000000FF,uint32_t)) /* Byte 0 Mapping */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_SET_PIQ31 31 /* Pin Interrupt 31 Edge */
-#define BITP_PINT_EDGE_SET_PIQ30 30 /* Pin Interrupt 30 Edge */
-#define BITP_PINT_EDGE_SET_PIQ29 29 /* Pin Interrupt 29 Edge */
-#define BITP_PINT_EDGE_SET_PIQ28 28 /* Pin Interrupt 28 Edge */
-#define BITP_PINT_EDGE_SET_PIQ27 27 /* Pin Interrupt 27 Edge */
-#define BITP_PINT_EDGE_SET_PIQ26 26 /* Pin Interrupt 26 Edge */
-#define BITP_PINT_EDGE_SET_PIQ25 25 /* Pin Interrupt 25 Edge */
-#define BITP_PINT_EDGE_SET_PIQ24 24 /* Pin Interrupt 24 Edge */
-#define BITP_PINT_EDGE_SET_PIQ23 23 /* Pin Interrupt 23 Edge */
-#define BITP_PINT_EDGE_SET_PIQ22 22 /* Pin Interrupt 22 Edge */
-#define BITP_PINT_EDGE_SET_PIQ21 21 /* Pin Interrupt 21 Edge */
-#define BITP_PINT_EDGE_SET_PIQ20 20 /* Pin Interrupt 20 Edge */
-#define BITP_PINT_EDGE_SET_PIQ19 19 /* Pin Interrupt 19 Edge */
-#define BITP_PINT_EDGE_SET_PIQ18 18 /* Pin Interrupt 18 Edge */
-#define BITP_PINT_EDGE_SET_PIQ17 17 /* Pin Interrupt 17 Edge */
-#define BITP_PINT_EDGE_SET_PIQ16 16 /* Pin Interrupt 16 Edge */
-#define BITP_PINT_EDGE_SET_PIQ15 15 /* Pin Interrupt 15 Edge */
-#define BITP_PINT_EDGE_SET_PIQ14 14 /* Pin Interrupt 14 Edge */
-#define BITP_PINT_EDGE_SET_PIQ13 13 /* Pin Interrupt 13 Edge */
-#define BITP_PINT_EDGE_SET_PIQ12 12 /* Pin Interrupt 12 Edge */
-#define BITP_PINT_EDGE_SET_PIQ11 11 /* Pin Interrupt 11 Edge */
-#define BITP_PINT_EDGE_SET_PIQ10 10 /* Pin Interrupt 10 Edge */
-#define BITP_PINT_EDGE_SET_PIQ9 9 /* Pin Interrupt 9 Edge */
-#define BITP_PINT_EDGE_SET_PIQ8 8 /* Pin Interrupt 8 Edge */
-#define BITP_PINT_EDGE_SET_PIQ7 7 /* Pin Interrupt 7 Edge */
-#define BITP_PINT_EDGE_SET_PIQ6 6 /* Pin Interrupt 6 Edge */
-#define BITP_PINT_EDGE_SET_PIQ5 5 /* Pin Interrupt 5 Edge */
-#define BITP_PINT_EDGE_SET_PIQ4 4 /* Pin Interrupt 4 Edge */
-#define BITP_PINT_EDGE_SET_PIQ3 3 /* Pin Interrupt 3 Edge */
-#define BITP_PINT_EDGE_SET_PIQ2 2 /* Pin Interrupt 2 Edge */
-#define BITP_PINT_EDGE_SET_PIQ1 1 /* Pin Interrupt 1 Edge */
-#define BITP_PINT_EDGE_SET_PIQ0 0 /* Pin Interrupt 0 Edge */
-#define BITM_PINT_EDGE_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Edge */
-#define BITM_PINT_EDGE_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Edge */
-#define BITM_PINT_EDGE_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Edge */
-#define BITM_PINT_EDGE_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Edge */
-#define BITM_PINT_EDGE_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Edge */
-#define BITM_PINT_EDGE_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Edge */
-#define BITM_PINT_EDGE_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Edge */
-#define BITM_PINT_EDGE_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Edge */
-#define BITM_PINT_EDGE_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Edge */
-#define BITM_PINT_EDGE_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Edge */
-#define BITM_PINT_EDGE_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Edge */
-#define BITM_PINT_EDGE_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Edge */
-#define BITM_PINT_EDGE_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Edge */
-#define BITM_PINT_EDGE_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Edge */
-#define BITM_PINT_EDGE_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Edge */
-#define BITM_PINT_EDGE_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Edge */
-#define BITM_PINT_EDGE_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Edge */
-#define BITM_PINT_EDGE_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Edge */
-#define BITM_PINT_EDGE_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Edge */
-#define BITM_PINT_EDGE_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Edge */
-#define BITM_PINT_EDGE_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Edge */
-#define BITM_PINT_EDGE_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Edge */
-#define BITM_PINT_EDGE_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Edge */
-#define BITM_PINT_EDGE_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Edge */
-#define BITM_PINT_EDGE_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Edge */
-#define BITM_PINT_EDGE_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Edge */
-#define BITM_PINT_EDGE_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Edge */
-#define BITM_PINT_EDGE_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Edge */
-#define BITM_PINT_EDGE_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Edge */
-#define BITM_PINT_EDGE_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Edge */
-#define BITM_PINT_EDGE_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Edge */
-#define BITM_PINT_EDGE_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Edge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_CLR_PIQ31 31 /* Pin Interrupt 31 Level */
-#define BITP_PINT_EDGE_CLR_PIQ30 30 /* Pin Interrupt 30 Level */
-#define BITP_PINT_EDGE_CLR_PIQ29 29 /* Pin Interrupt 29 Level */
-#define BITP_PINT_EDGE_CLR_PIQ28 28 /* Pin Interrupt 28 Level */
-#define BITP_PINT_EDGE_CLR_PIQ27 27 /* Pin Interrupt 27 Level */
-#define BITP_PINT_EDGE_CLR_PIQ26 26 /* Pin Interrupt 26 Level */
-#define BITP_PINT_EDGE_CLR_PIQ25 25 /* Pin Interrupt 25 Level */
-#define BITP_PINT_EDGE_CLR_PIQ24 24 /* Pin Interrupt 24 Level */
-#define BITP_PINT_EDGE_CLR_PIQ23 23 /* Pin Interrupt 23 Level */
-#define BITP_PINT_EDGE_CLR_PIQ22 22 /* Pin Interrupt 22 Level */
-#define BITP_PINT_EDGE_CLR_PIQ21 21 /* Pin Interrupt 21 Level */
-#define BITP_PINT_EDGE_CLR_PIQ20 20 /* Pin Interrupt 20 Level */
-#define BITP_PINT_EDGE_CLR_PIQ19 19 /* Pin Interrupt 19 Level */
-#define BITP_PINT_EDGE_CLR_PIQ18 18 /* Pin Interrupt 18 Level */
-#define BITP_PINT_EDGE_CLR_PIQ17 17 /* Pin Interrupt 17 Level */
-#define BITP_PINT_EDGE_CLR_PIQ16 16 /* Pin Interrupt 16 Level */
-#define BITP_PINT_EDGE_CLR_PIQ15 15 /* Pin Interrupt 15 Level */
-#define BITP_PINT_EDGE_CLR_PIQ14 14 /* Pin Interrupt 14 Level */
-#define BITP_PINT_EDGE_CLR_PIQ13 13 /* Pin Interrupt 13 Level */
-#define BITP_PINT_EDGE_CLR_PIQ12 12 /* Pin Interrupt 12 Level */
-#define BITP_PINT_EDGE_CLR_PIQ11 11 /* Pin Interrupt 11 Level */
-#define BITP_PINT_EDGE_CLR_PIQ10 10 /* Pin Interrupt 10 Level */
-#define BITP_PINT_EDGE_CLR_PIQ9 9 /* Pin Interrupt 9 Level */
-#define BITP_PINT_EDGE_CLR_PIQ8 8 /* Pin Interrupt 8 Level */
-#define BITP_PINT_EDGE_CLR_PIQ7 7 /* Pin Interrupt 7 Level */
-#define BITP_PINT_EDGE_CLR_PIQ6 6 /* Pin Interrupt 6 Level */
-#define BITP_PINT_EDGE_CLR_PIQ5 5 /* Pin Interrupt 5 Level */
-#define BITP_PINT_EDGE_CLR_PIQ4 4 /* Pin Interrupt 4 Level */
-#define BITP_PINT_EDGE_CLR_PIQ3 3 /* Pin Interrupt 3 Level */
-#define BITP_PINT_EDGE_CLR_PIQ2 2 /* Pin Interrupt 2 Level */
-#define BITP_PINT_EDGE_CLR_PIQ1 1 /* Pin Interrupt 1 Level */
-#define BITP_PINT_EDGE_CLR_PIQ0 0 /* Pin Interrupt 0 Level */
-#define BITM_PINT_EDGE_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Level */
-#define BITM_PINT_EDGE_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Level */
-#define BITM_PINT_EDGE_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Level */
-#define BITM_PINT_EDGE_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Level */
-#define BITM_PINT_EDGE_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Level */
-#define BITM_PINT_EDGE_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Level */
-#define BITM_PINT_EDGE_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Level */
-#define BITM_PINT_EDGE_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Level */
-#define BITM_PINT_EDGE_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Level */
-#define BITM_PINT_EDGE_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Level */
-#define BITM_PINT_EDGE_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Level */
-#define BITM_PINT_EDGE_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Level */
-#define BITM_PINT_EDGE_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Level */
-#define BITM_PINT_EDGE_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Level */
-#define BITM_PINT_EDGE_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Level */
-#define BITM_PINT_EDGE_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Level */
-#define BITM_PINT_EDGE_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Level */
-#define BITM_PINT_EDGE_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Level */
-#define BITM_PINT_EDGE_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Level */
-#define BITM_PINT_EDGE_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Level */
-#define BITM_PINT_EDGE_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Level */
-#define BITM_PINT_EDGE_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Level */
-#define BITM_PINT_EDGE_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Level */
-#define BITM_PINT_EDGE_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Level */
-#define BITM_PINT_EDGE_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Level */
-#define BITM_PINT_EDGE_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Level */
-#define BITM_PINT_EDGE_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Level */
-#define BITM_PINT_EDGE_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Level */
-#define BITM_PINT_EDGE_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Level */
-#define BITM_PINT_EDGE_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Level */
-#define BITM_PINT_EDGE_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Level */
-#define BITM_PINT_EDGE_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Level */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_SET_PIQ31 31 /* Pin Interrupt 31 Invert */
-#define BITP_PINT_INV_SET_PIQ30 30 /* Pin Interrupt 30 Invert */
-#define BITP_PINT_INV_SET_PIQ29 29 /* Pin Interrupt 29 Invert */
-#define BITP_PINT_INV_SET_PIQ28 28 /* Pin Interrupt 28 Invert */
-#define BITP_PINT_INV_SET_PIQ27 27 /* Pin Interrupt 27 Invert */
-#define BITP_PINT_INV_SET_PIQ26 26 /* Pin Interrupt 26 Invert */
-#define BITP_PINT_INV_SET_PIQ25 25 /* Pin Interrupt 25 Invert */
-#define BITP_PINT_INV_SET_PIQ24 24 /* Pin Interrupt 24 Invert */
-#define BITP_PINT_INV_SET_PIQ23 23 /* Pin Interrupt 23 Invert */
-#define BITP_PINT_INV_SET_PIQ22 22 /* Pin Interrupt 22 Invert */
-#define BITP_PINT_INV_SET_PIQ21 21 /* Pin Interrupt 21 Invert */
-#define BITP_PINT_INV_SET_PIQ20 20 /* Pin Interrupt 20 Invert */
-#define BITP_PINT_INV_SET_PIQ19 19 /* Pin Interrupt 19 Invert */
-#define BITP_PINT_INV_SET_PIQ18 18 /* Pin Interrupt 18 Invert */
-#define BITP_PINT_INV_SET_PIQ17 17 /* Pin Interrupt 17 Invert */
-#define BITP_PINT_INV_SET_PIQ16 16 /* Pin Interrupt 16 Invert */
-#define BITP_PINT_INV_SET_PIQ15 15 /* Pin Interrupt 15 Invert */
-#define BITP_PINT_INV_SET_PIQ14 14 /* Pin Interrupt 14 Invert */
-#define BITP_PINT_INV_SET_PIQ13 13 /* Pin Interrupt 13 Invert */
-#define BITP_PINT_INV_SET_PIQ12 12 /* Pin Interrupt 12 Invert */
-#define BITP_PINT_INV_SET_PIQ11 11 /* Pin Interrupt 11 Invert */
-#define BITP_PINT_INV_SET_PIQ10 10 /* Pin Interrupt 10 Invert */
-#define BITP_PINT_INV_SET_PIQ9 9 /* Pin Interrupt 9 Invert */
-#define BITP_PINT_INV_SET_PIQ8 8 /* Pin Interrupt 8 Invert */
-#define BITP_PINT_INV_SET_PIQ7 7 /* Pin Interrupt 7 Invert */
-#define BITP_PINT_INV_SET_PIQ6 6 /* Pin Interrupt 6 Invert */
-#define BITP_PINT_INV_SET_PIQ5 5 /* Pin Interrupt 5 Invert */
-#define BITP_PINT_INV_SET_PIQ4 4 /* Pin Interrupt 4 Invert */
-#define BITP_PINT_INV_SET_PIQ3 3 /* Pin Interrupt 3 Invert */
-#define BITP_PINT_INV_SET_PIQ2 2 /* Pin Interrupt 2 Invert */
-#define BITP_PINT_INV_SET_PIQ1 1 /* Pin Interrupt 1 Invert */
-#define BITP_PINT_INV_SET_PIQ0 0 /* Pin Interrupt 0 Invert */
-#define BITM_PINT_INV_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Invert */
-#define BITM_PINT_INV_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Invert */
-#define BITM_PINT_INV_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Invert */
-#define BITM_PINT_INV_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Invert */
-#define BITM_PINT_INV_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Invert */
-#define BITM_PINT_INV_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Invert */
-#define BITM_PINT_INV_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Invert */
-#define BITM_PINT_INV_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Invert */
-#define BITM_PINT_INV_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Invert */
-#define BITM_PINT_INV_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Invert */
-#define BITM_PINT_INV_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Invert */
-#define BITM_PINT_INV_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Invert */
-#define BITM_PINT_INV_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Invert */
-#define BITM_PINT_INV_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Invert */
-#define BITM_PINT_INV_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Invert */
-#define BITM_PINT_INV_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Invert */
-#define BITM_PINT_INV_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Invert */
-#define BITM_PINT_INV_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Invert */
-#define BITM_PINT_INV_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Invert */
-#define BITM_PINT_INV_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Invert */
-#define BITM_PINT_INV_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Invert */
-#define BITM_PINT_INV_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Invert */
-#define BITM_PINT_INV_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Invert */
-#define BITM_PINT_INV_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Invert */
-#define BITM_PINT_INV_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Invert */
-#define BITM_PINT_INV_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Invert */
-#define BITM_PINT_INV_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Invert */
-#define BITM_PINT_INV_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Invert */
-#define BITM_PINT_INV_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Invert */
-#define BITM_PINT_INV_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Invert */
-#define BITM_PINT_INV_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Invert */
-#define BITM_PINT_INV_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_CLR_PIQ31 31 /* Pin Interrupt 31 No Invert */
-#define BITP_PINT_INV_CLR_PIQ30 30 /* Pin Interrupt 30 No Invert */
-#define BITP_PINT_INV_CLR_PIQ29 29 /* Pin Interrupt 29 No Invert */
-#define BITP_PINT_INV_CLR_PIQ28 28 /* Pin Interrupt 28 No Invert */
-#define BITP_PINT_INV_CLR_PIQ27 27 /* Pin Interrupt 27 No Invert */
-#define BITP_PINT_INV_CLR_PIQ26 26 /* Pin Interrupt 26 No Invert */
-#define BITP_PINT_INV_CLR_PIQ25 25 /* Pin Interrupt 25 No Invert */
-#define BITP_PINT_INV_CLR_PIQ24 24 /* Pin Interrupt 24 No Invert */
-#define BITP_PINT_INV_CLR_PIQ23 23 /* Pin Interrupt 23 No Invert */
-#define BITP_PINT_INV_CLR_PIQ22 22 /* Pin Interrupt 22 No Invert */
-#define BITP_PINT_INV_CLR_PIQ21 21 /* Pin Interrupt 21 No Invert */
-#define BITP_PINT_INV_CLR_PIQ20 20 /* Pin Interrupt 20 No Invert */
-#define BITP_PINT_INV_CLR_PIQ19 19 /* Pin Interrupt 19 No Invert */
-#define BITP_PINT_INV_CLR_PIQ18 18 /* Pin Interrupt 18 No Invert */
-#define BITP_PINT_INV_CLR_PIQ17 17 /* Pin Interrupt 17 No Invert */
-#define BITP_PINT_INV_CLR_PIQ16 16 /* Pin Interrupt 16 No Invert */
-#define BITP_PINT_INV_CLR_PIQ15 15 /* Pin Interrupt 15 No Invert */
-#define BITP_PINT_INV_CLR_PIQ14 14 /* Pin Interrupt 14 No Invert */
-#define BITP_PINT_INV_CLR_PIQ13 13 /* Pin Interrupt 13 No Invert */
-#define BITP_PINT_INV_CLR_PIQ12 12 /* Pin Interrupt 12 No Invert */
-#define BITP_PINT_INV_CLR_PIQ11 11 /* Pin Interrupt 11 No Invert */
-#define BITP_PINT_INV_CLR_PIQ10 10 /* Pin Interrupt 10 No Invert */
-#define BITP_PINT_INV_CLR_PIQ9 9 /* Pin Interrupt 9 No Invert */
-#define BITP_PINT_INV_CLR_PIQ8 8 /* Pin Interrupt 8 No Invert */
-#define BITP_PINT_INV_CLR_PIQ7 7 /* Pin Interrupt 7 No Invert */
-#define BITP_PINT_INV_CLR_PIQ6 6 /* Pin Interrupt 6 No Invert */
-#define BITP_PINT_INV_CLR_PIQ5 5 /* Pin Interrupt 5 No Invert */
-#define BITP_PINT_INV_CLR_PIQ4 4 /* Pin Interrupt 4 No Invert */
-#define BITP_PINT_INV_CLR_PIQ3 3 /* Pin Interrupt 3 No Invert */
-#define BITP_PINT_INV_CLR_PIQ2 2 /* Pin Interrupt 2 No Invert */
-#define BITP_PINT_INV_CLR_PIQ1 1 /* Pin Interrupt 1 No Invert */
-#define BITP_PINT_INV_CLR_PIQ0 0 /* Pin Interrupt 0 No Invert */
-#define BITM_PINT_INV_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 No Invert */
-#define BITM_PINT_INV_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 No Invert */
-#define BITM_PINT_INV_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 No Invert */
-#define BITM_PINT_INV_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 No Invert */
-#define BITM_PINT_INV_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 No Invert */
-#define BITM_PINT_INV_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 No Invert */
-#define BITM_PINT_INV_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 No Invert */
-#define BITM_PINT_INV_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 No Invert */
-#define BITM_PINT_INV_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 No Invert */
-#define BITM_PINT_INV_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 No Invert */
-#define BITM_PINT_INV_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 No Invert */
-#define BITM_PINT_INV_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 No Invert */
-#define BITM_PINT_INV_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 No Invert */
-#define BITM_PINT_INV_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 No Invert */
-#define BITM_PINT_INV_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 No Invert */
-#define BITM_PINT_INV_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 No Invert */
-#define BITM_PINT_INV_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 No Invert */
-#define BITM_PINT_INV_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 No Invert */
-#define BITM_PINT_INV_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 No Invert */
-#define BITM_PINT_INV_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 No Invert */
-#define BITM_PINT_INV_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 No Invert */
-#define BITM_PINT_INV_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 No Invert */
-#define BITM_PINT_INV_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 No Invert */
-#define BITM_PINT_INV_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 No Invert */
-#define BITM_PINT_INV_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 No Invert */
-#define BITM_PINT_INV_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 No Invert */
-#define BITM_PINT_INV_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 No Invert */
-#define BITM_PINT_INV_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 No Invert */
-#define BITM_PINT_INV_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 No Invert */
-#define BITM_PINT_INV_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 No Invert */
-#define BITM_PINT_INV_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 No Invert */
-#define BITM_PINT_INV_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 No Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_PINSTATE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_PINSTATE_PIQ31 31 /* Pin Interrupt 31 State */
-#define BITP_PINT_PINSTATE_PIQ30 30 /* Pin Interrupt 30 State */
-#define BITP_PINT_PINSTATE_PIQ29 29 /* Pin Interrupt 29 State */
-#define BITP_PINT_PINSTATE_PIQ28 28 /* Pin Interrupt 28 State */
-#define BITP_PINT_PINSTATE_PIQ27 27 /* Pin Interrupt 27 State */
-#define BITP_PINT_PINSTATE_PIQ26 26 /* Pin Interrupt 26 State */
-#define BITP_PINT_PINSTATE_PIQ25 25 /* Pin Interrupt 25 State */
-#define BITP_PINT_PINSTATE_PIQ24 24 /* Pin Interrupt 24 State */
-#define BITP_PINT_PINSTATE_PIQ23 23 /* Pin Interrupt 23 State */
-#define BITP_PINT_PINSTATE_PIQ22 22 /* Pin Interrupt 22 State */
-#define BITP_PINT_PINSTATE_PIQ21 21 /* Pin Interrupt 21 State */
-#define BITP_PINT_PINSTATE_PIQ20 20 /* Pin Interrupt 20 State */
-#define BITP_PINT_PINSTATE_PIQ19 19 /* Pin Interrupt 19 State */
-#define BITP_PINT_PINSTATE_PIQ18 18 /* Pin Interrupt 18 State */
-#define BITP_PINT_PINSTATE_PIQ17 17 /* Pin Interrupt 17 State */
-#define BITP_PINT_PINSTATE_PIQ16 16 /* Pin Interrupt 16 State */
-#define BITP_PINT_PINSTATE_PIQ15 15 /* Pin Interrupt 15 State */
-#define BITP_PINT_PINSTATE_PIQ14 14 /* Pin Interrupt 14 State */
-#define BITP_PINT_PINSTATE_PIQ13 13 /* Pin Interrupt 13 State */
-#define BITP_PINT_PINSTATE_PIQ12 12 /* Pin Interrupt 12 State */
-#define BITP_PINT_PINSTATE_PIQ11 11 /* Pin Interrupt 11 State */
-#define BITP_PINT_PINSTATE_PIQ10 10 /* Pin Interrupt 10 State */
-#define BITP_PINT_PINSTATE_PIQ9 9 /* Pin Interrupt 9 State */
-#define BITP_PINT_PINSTATE_PIQ8 8 /* Pin Interrupt 8 State */
-#define BITP_PINT_PINSTATE_PIQ7 7 /* Pin Interrupt 7 State */
-#define BITP_PINT_PINSTATE_PIQ6 6 /* Pin Interrupt 6 State */
-#define BITP_PINT_PINSTATE_PIQ5 5 /* Pin Interrupt 5 State */
-#define BITP_PINT_PINSTATE_PIQ4 4 /* Pin Interrupt 4 State */
-#define BITP_PINT_PINSTATE_PIQ3 3 /* Pin Interrupt 3 State */
-#define BITP_PINT_PINSTATE_PIQ2 2 /* Pin Interrupt 2 State */
-#define BITP_PINT_PINSTATE_PIQ1 1 /* Pin Interrupt 1 State */
-#define BITP_PINT_PINSTATE_PIQ0 0 /* Pin Interrupt 0 State */
-#define BITM_PINT_PINSTATE_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 State */
-#define BITM_PINT_PINSTATE_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 State */
-#define BITM_PINT_PINSTATE_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 State */
-#define BITM_PINT_PINSTATE_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 State */
-#define BITM_PINT_PINSTATE_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 State */
-#define BITM_PINT_PINSTATE_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 State */
-#define BITM_PINT_PINSTATE_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 State */
-#define BITM_PINT_PINSTATE_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 State */
-#define BITM_PINT_PINSTATE_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 State */
-#define BITM_PINT_PINSTATE_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 State */
-#define BITM_PINT_PINSTATE_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 State */
-#define BITM_PINT_PINSTATE_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 State */
-#define BITM_PINT_PINSTATE_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 State */
-#define BITM_PINT_PINSTATE_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 State */
-#define BITM_PINT_PINSTATE_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 State */
-#define BITM_PINT_PINSTATE_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 State */
-#define BITM_PINT_PINSTATE_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 State */
-#define BITM_PINT_PINSTATE_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 State */
-#define BITM_PINT_PINSTATE_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 State */
-#define BITM_PINT_PINSTATE_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 State */
-#define BITM_PINT_PINSTATE_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 State */
-#define BITM_PINT_PINSTATE_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 State */
-#define BITM_PINT_PINSTATE_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 State */
-#define BITM_PINT_PINSTATE_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 State */
-#define BITM_PINT_PINSTATE_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 State */
-#define BITM_PINT_PINSTATE_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 State */
-#define BITM_PINT_PINSTATE_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 State */
-#define BITM_PINT_PINSTATE_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 State */
-#define BITM_PINT_PINSTATE_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 State */
-#define BITM_PINT_PINSTATE_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 State */
-#define BITM_PINT_PINSTATE_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 State */
-#define BITM_PINT_PINSTATE_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_LATCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_LATCH_PIQ31 31 /* Pin Interrupt 31 Latch */
-#define BITP_PINT_LATCH_PIQ30 30 /* Pin Interrupt 30 Latch */
-#define BITP_PINT_LATCH_PIQ29 29 /* Pin Interrupt 29 Latch */
-#define BITP_PINT_LATCH_PIQ28 28 /* Pin Interrupt 28 Latch */
-#define BITP_PINT_LATCH_PIQ27 27 /* Pin Interrupt 27 Latch */
-#define BITP_PINT_LATCH_PIQ26 26 /* Pin Interrupt 26 Latch */
-#define BITP_PINT_LATCH_PIQ25 25 /* Pin Interrupt 25 Latch */
-#define BITP_PINT_LATCH_PIQ24 24 /* Pin Interrupt 24 Latch */
-#define BITP_PINT_LATCH_PIQ23 23 /* Pin Interrupt 23 Latch */
-#define BITP_PINT_LATCH_PIQ22 22 /* Pin Interrupt 22 Latch */
-#define BITP_PINT_LATCH_PIQ21 21 /* Pin Interrupt 21 Latch */
-#define BITP_PINT_LATCH_PIQ20 20 /* Pin Interrupt 20 Latch */
-#define BITP_PINT_LATCH_PIQ19 19 /* Pin Interrupt 19 Latch */
-#define BITP_PINT_LATCH_PIQ18 18 /* Pin Interrupt 18 Latch */
-#define BITP_PINT_LATCH_PIQ17 17 /* Pin Interrupt 17 Latch */
-#define BITP_PINT_LATCH_PIQ16 16 /* Pin Interrupt 16 Latch */
-#define BITP_PINT_LATCH_PIQ15 15 /* Pin Interrupt 15 Latch */
-#define BITP_PINT_LATCH_PIQ14 14 /* Pin Interrupt 14 Latch */
-#define BITP_PINT_LATCH_PIQ13 13 /* Pin Interrupt 13 Latch */
-#define BITP_PINT_LATCH_PIQ12 12 /* Pin Interrupt 12 Latch */
-#define BITP_PINT_LATCH_PIQ11 11 /* Pin Interrupt 11 Latch */
-#define BITP_PINT_LATCH_PIQ10 10 /* Pin Interrupt 10 Latch */
-#define BITP_PINT_LATCH_PIQ9 9 /* Pin Interrupt 9 Latch */
-#define BITP_PINT_LATCH_PIQ8 8 /* Pin Interrupt 8 Latch */
-#define BITP_PINT_LATCH_PIQ7 7 /* Pin Interrupt 7 Latch */
-#define BITP_PINT_LATCH_PIQ6 6 /* Pin Interrupt 6 Latch */
-#define BITP_PINT_LATCH_PIQ5 5 /* Pin Interrupt 5 Latch */
-#define BITP_PINT_LATCH_PIQ4 4 /* Pin Interrupt 4 Latch */
-#define BITP_PINT_LATCH_PIQ3 3 /* Pin Interrupt 3 Latch */
-#define BITP_PINT_LATCH_PIQ2 2 /* Pin Interrupt 2 Latch */
-#define BITP_PINT_LATCH_PIQ1 1 /* Pin Interrupt 1 Latch */
-#define BITP_PINT_LATCH_PIQ0 0 /* Pin Interrupt 0 Latch */
-#define BITM_PINT_LATCH_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Latch */
-#define BITM_PINT_LATCH_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Latch */
-#define BITM_PINT_LATCH_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Latch */
-#define BITM_PINT_LATCH_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Latch */
-#define BITM_PINT_LATCH_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Latch */
-#define BITM_PINT_LATCH_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Latch */
-#define BITM_PINT_LATCH_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Latch */
-#define BITM_PINT_LATCH_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Latch */
-#define BITM_PINT_LATCH_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Latch */
-#define BITM_PINT_LATCH_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Latch */
-#define BITM_PINT_LATCH_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Latch */
-#define BITM_PINT_LATCH_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Latch */
-#define BITM_PINT_LATCH_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Latch */
-#define BITM_PINT_LATCH_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Latch */
-#define BITM_PINT_LATCH_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Latch */
-#define BITM_PINT_LATCH_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Latch */
-#define BITM_PINT_LATCH_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Latch */
-#define BITM_PINT_LATCH_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Latch */
-#define BITM_PINT_LATCH_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Latch */
-#define BITM_PINT_LATCH_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Latch */
-#define BITM_PINT_LATCH_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Latch */
-#define BITM_PINT_LATCH_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Latch */
-#define BITM_PINT_LATCH_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Latch */
-#define BITM_PINT_LATCH_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Latch */
-#define BITM_PINT_LATCH_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Latch */
-#define BITM_PINT_LATCH_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Latch */
-#define BITM_PINT_LATCH_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Latch */
-#define BITM_PINT_LATCH_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Latch */
-#define BITM_PINT_LATCH_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Latch */
-#define BITM_PINT_LATCH_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Latch */
-#define BITM_PINT_LATCH_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Latch */
-#define BITM_PINT_LATCH_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Latch */
-
-/* ==================================================
- Static Memory Controller Registers
- ================================================== */
-
-/* =========================
- SMC0
- ========================= */
-#define REG_SMC0_GCTL 0xFFC16004 /* SMC0 Grant Control Register */
-#define REG_SMC0_GSTAT 0xFFC16008 /* SMC0 Grant Status Register */
-#define REG_SMC0_B0CTL 0xFFC1600C /* SMC0 Bank 0 Control Register */
-#define REG_SMC0_B0TIM 0xFFC16010 /* SMC0 Bank 0 Timing Register */
-#define REG_SMC0_B0ETIM 0xFFC16014 /* SMC0 Bank 0 Extended Timing Register */
-#define REG_SMC0_B1CTL 0xFFC1601C /* SMC0 Bank 1 Control Register */
-#define REG_SMC0_B1TIM 0xFFC16020 /* SMC0 Bank 1 Timing Register */
-#define REG_SMC0_B1ETIM 0xFFC16024 /* SMC0 Bank 1 Extended Timing Register */
-#define REG_SMC0_B2CTL 0xFFC1602C /* SMC0 Bank 2 Control Register */
-#define REG_SMC0_B2TIM 0xFFC16030 /* SMC0 Bank 2 Timing Register */
-#define REG_SMC0_B2ETIM 0xFFC16034 /* SMC0 Bank 2 Extended Timing Register */
-#define REG_SMC0_B3CTL 0xFFC1603C /* SMC0 Bank 3 Control Register */
-#define REG_SMC0_B3TIM 0xFFC16040 /* SMC0 Bank 3 Timing Register */
-#define REG_SMC0_B3ETIM 0xFFC16044 /* SMC0 Bank 3 Extended Timing Register */
-
-/* =========================
- SMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GCTL_BGDIS 4 /* Bus Grant Disable */
-#define BITM_SMC_GCTL_BGDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bus Grant Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GSTAT_BGHSTAT 2 /* Bus Grant Hold Status */
-#define BITP_SMC_GSTAT_BRQSTAT 1 /* Bus Request Status */
-#define BITP_SMC_GSTAT_BGSTAT 0 /* Bus Grant Status */
-#define BITM_SMC_GSTAT_BGHSTAT (_ADI_MSK(0x00000004,uint32_t)) /* Bus Grant Hold Status */
-#define BITM_SMC_GSTAT_BRQSTAT (_ADI_MSK(0x00000002,uint32_t)) /* Bus Request Status */
-#define BITM_SMC_GSTAT_BGSTAT (_ADI_MSK(0x00000001,uint32_t)) /* Bus Grant Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B0CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B0CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B0CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B0CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B0CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B0CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B0CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B0CTL_EN 0 /* Bank 0 Enable */
-#define BITM_SMC_B0CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B0CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B0CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B0CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B0CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B0CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B0CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B0CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B0CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B0TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B0TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B0TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B0TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B0TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B0TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B0TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B0TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B0TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B0TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B0TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B0ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B0ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B0ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B0ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B0ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B0ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B0ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B0ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B0ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B1CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B1CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B1CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B1CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B1CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B1CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B1CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B1CTL_EN 0 /* Bank 1 Enable */
-#define BITM_SMC_B1CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B1CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B1CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B1CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B1CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B1CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B1CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B1CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B1CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 1 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B1TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B1TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B1TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B1TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B1TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B1TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B1TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B1TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B1TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B1TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B1TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B1ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B1ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B1ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B1ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B1ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B1ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B1ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B1ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B1ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B2CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B2CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B2CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B2CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B2CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B2CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B2CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B2CTL_EN 0 /* Bank 2 Enable */
-#define BITM_SMC_B2CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B2CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B2CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B2CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B2CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B2CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B2CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B2CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B2CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 2 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B2TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B2TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B2TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B2TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B2TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B2TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B2TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B2TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B2TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B2TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B2TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B2ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B2ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B2ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B2ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B2ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B2ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B2ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B2ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B2ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B3CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B3CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B3CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B3CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B3CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B3CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B3CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B3CTL_EN 0 /* Bank 3 Enable */
-#define BITM_SMC_B3CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B3CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B3CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B3CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B3CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B3CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B3CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B3CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B3CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 3 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B3TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B3TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B3TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B3TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B3TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B3TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B3TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B3TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B3TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B3TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B3TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B3ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B3ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B3ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B3ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B3ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B3ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B3ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B3ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B3ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ==================================================
- Watch Dog Timer Unit Registers
- ================================================== */
-
-/* =========================
- WDOG0
- ========================= */
-#define REG_WDOG0_CTL 0xFFC17000 /* WDOG0 Control Register */
-#define REG_WDOG0_CNT 0xFFC17004 /* WDOG0 Count Register */
-#define REG_WDOG0_STAT 0xFFC17008 /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================
- WDOG1
- ========================= */
-#define REG_WDOG1_CTL 0xFFC17800 /* WDOG1 Control Register */
-#define REG_WDOG1_CNT 0xFFC17804 /* WDOG1 Count Register */
-#define REG_WDOG1_STAT 0xFFC17808 /* WDOG1 Watchdog Timer Status Register */
-
-/* =========================
- WDOG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WDOG_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WDOG_CTL_WDRO 15 /* Watch Dog Rollover */
-#define BITP_WDOG_CTL_WDEN 4 /* Watch Dog Enable */
-
-#define BITM_WDOG_CTL_WDRO (_ADI_MSK(0x00008000,uint32_t)) /* Watch Dog Rollover */
-#define ENUM_WDOG_CTL_WDTEXP (_ADI_MSK(0x00008000,uint32_t)) /* WDRO: WDT has expired */
-#define BITM_WDOG_CTL_WDEN (_ADI_MSK(0x00000FF0,uint32_t)) /* Watch Dog Enable */
-
-/* ==================================================
- EPPI Registers
- ================================================== */
-
-/* =========================
- EPPI0
- ========================= */
-#define REG_EPPI0_STAT 0xFFC18000 /* EPPI0 Status Register */
-#define REG_EPPI0_HCNT 0xFFC18004 /* EPPI0 Horizontal Transfer Count Register */
-#define REG_EPPI0_HDLY 0xFFC18008 /* EPPI0 Horizontal Delay Count Register */
-#define REG_EPPI0_VCNT 0xFFC1800C /* EPPI0 Vertical Transfer Count Register */
-#define REG_EPPI0_VDLY 0xFFC18010 /* EPPI0 Vertical Delay Count Register */
-#define REG_EPPI0_FRAME 0xFFC18014 /* EPPI0 Lines Per Frame Register */
-#define REG_EPPI0_LINE 0xFFC18018 /* EPPI0 Samples Per Line Register */
-#define REG_EPPI0_CLKDIV 0xFFC1801C /* EPPI0 Clock Divide Register */
-#define REG_EPPI0_CTL 0xFFC18020 /* EPPI0 Control Register */
-#define REG_EPPI0_FS1_WLHB 0xFFC18024 /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI0_FS1_PASPL 0xFFC18028 /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI0_FS2_WLVB 0xFFC1802C /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI0_FS2_PALPF 0xFFC18030 /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI0_IMSK 0xFFC18034 /* EPPI0 Interrupt Mask Register */
-#define REG_EPPI0_ODDCLIP 0xFFC1803C /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI0_EVENCLIP 0xFFC18040 /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI0_FS1_DLY 0xFFC18044 /* EPPI0 Frame Sync 1 Delay Value */
-#define REG_EPPI0_FS2_DLY 0xFFC18048 /* EPPI0 Frame Sync 2 Delay Value */
-#define REG_EPPI0_CTL2 0xFFC1804C /* EPPI0 Control Register 2 */
-
-/* =========================
- EPPI1
- ========================= */
-#define REG_EPPI1_STAT 0xFFC18400 /* EPPI1 Status Register */
-#define REG_EPPI1_HCNT 0xFFC18404 /* EPPI1 Horizontal Transfer Count Register */
-#define REG_EPPI1_HDLY 0xFFC18408 /* EPPI1 Horizontal Delay Count Register */
-#define REG_EPPI1_VCNT 0xFFC1840C /* EPPI1 Vertical Transfer Count Register */
-#define REG_EPPI1_VDLY 0xFFC18410 /* EPPI1 Vertical Delay Count Register */
-#define REG_EPPI1_FRAME 0xFFC18414 /* EPPI1 Lines Per Frame Register */
-#define REG_EPPI1_LINE 0xFFC18418 /* EPPI1 Samples Per Line Register */
-#define REG_EPPI1_CLKDIV 0xFFC1841C /* EPPI1 Clock Divide Register */
-#define REG_EPPI1_CTL 0xFFC18420 /* EPPI1 Control Register */
-#define REG_EPPI1_FS1_WLHB 0xFFC18424 /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI1_FS1_PASPL 0xFFC18428 /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI1_FS2_WLVB 0xFFC1842C /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI1_FS2_PALPF 0xFFC18430 /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI1_IMSK 0xFFC18434 /* EPPI1 Interrupt Mask Register */
-#define REG_EPPI1_ODDCLIP 0xFFC1843C /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI1_EVENCLIP 0xFFC18440 /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI1_FS1_DLY 0xFFC18444 /* EPPI1 Frame Sync 1 Delay Value */
-#define REG_EPPI1_FS2_DLY 0xFFC18448 /* EPPI1 Frame Sync 2 Delay Value */
-#define REG_EPPI1_CTL2 0xFFC1844C /* EPPI1 Control Register 2 */
-
-/* =========================
- EPPI2
- ========================= */
-#define REG_EPPI2_STAT 0xFFC18800 /* EPPI2 Status Register */
-#define REG_EPPI2_HCNT 0xFFC18804 /* EPPI2 Horizontal Transfer Count Register */
-#define REG_EPPI2_HDLY 0xFFC18808 /* EPPI2 Horizontal Delay Count Register */
-#define REG_EPPI2_VCNT 0xFFC1880C /* EPPI2 Vertical Transfer Count Register */
-#define REG_EPPI2_VDLY 0xFFC18810 /* EPPI2 Vertical Delay Count Register */
-#define REG_EPPI2_FRAME 0xFFC18814 /* EPPI2 Lines Per Frame Register */
-#define REG_EPPI2_LINE 0xFFC18818 /* EPPI2 Samples Per Line Register */
-#define REG_EPPI2_CLKDIV 0xFFC1881C /* EPPI2 Clock Divide Register */
-#define REG_EPPI2_CTL 0xFFC18820 /* EPPI2 Control Register */
-#define REG_EPPI2_FS1_WLHB 0xFFC18824 /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI2_FS1_PASPL 0xFFC18828 /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI2_FS2_WLVB 0xFFC1882C /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI2_FS2_PALPF 0xFFC18830 /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI2_IMSK 0xFFC18834 /* EPPI2 Interrupt Mask Register */
-#define REG_EPPI2_ODDCLIP 0xFFC1883C /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI2_EVENCLIP 0xFFC18840 /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI2_FS1_DLY 0xFFC18844 /* EPPI2 Frame Sync 1 Delay Value */
-#define REG_EPPI2_FS2_DLY 0xFFC18848 /* EPPI2 Frame Sync 2 Delay Value */
-#define REG_EPPI2_CTL2 0xFFC1884C /* EPPI2 Control Register 2 */
-
-/* =========================
- EPPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_STAT_FLD 15 /* Current Field Received by EPPI */
-#define BITP_EPPI_STAT_ERRDET 14 /* Preamble Error Detected */
-#define BITP_EPPI_STAT_PXPERR 7 /* PxP Ready Error */
-#define BITP_EPPI_STAT_ERRNCOR 6 /* Preamble Error Not Corrected */
-#define BITP_EPPI_STAT_FTERRUNDR 5 /* Frame Track Underflow */
-#define BITP_EPPI_STAT_FTERROVR 4 /* Frame Track Overflow */
-#define BITP_EPPI_STAT_LTERRUNDR 3 /* Line Track Underflow */
-#define BITP_EPPI_STAT_LTERROVR 2 /* Line Track Overflow */
-#define BITP_EPPI_STAT_YFIFOERR 1 /* Luma FIFO Error */
-#define BITP_EPPI_STAT_CFIFOERR 0 /* Chroma FIFO Error */
-
-#define BITM_EPPI_STAT_FLD (_ADI_MSK(0x00008000,uint32_t)) /* Current Field Received by EPPI */
-#define ENUM_EPPI_STAT_FIELD1 (_ADI_MSK(0x00000000,uint32_t)) /* FLD: Field 1 */
-#define ENUM_EPPI_STAT_FIELD2 (_ADI_MSK(0x00008000,uint32_t)) /* FLD: Field 2 */
-
-#define BITM_EPPI_STAT_ERRDET (_ADI_MSK(0x00004000,uint32_t)) /* Preamble Error Detected */
-#define ENUM_EPPI_STAT_NO_PRERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRDET: No preamble error detected */
-#define ENUM_EPPI_STAT_PRERR (_ADI_MSK(0x00004000,uint32_t)) /* ERRDET: Preamble error detected */
-#define BITM_EPPI_STAT_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error */
-
-#define BITM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* Preamble Error Not Corrected */
-#define ENUM_EPPI_STAT_NO_ERRNCOR (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: No uncorrected preamble error has occurred */
-#define ENUM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Preamble error detected but not corrected */
-
-#define BITM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow */
-#define ENUM_EPPI_STAT_NO_FTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow */
-#define ENUM_EPPI_STAT_NO_FTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow */
-#define ENUM_EPPI_STAT_NO_LTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow */
-#define ENUM_EPPI_STAT_NO_LTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* Luma FIFO Error */
-#define ENUM_EPPI_STAT_NO_YFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Error Occurred */
-
-#define BITM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* Chroma FIFO Error */
-#define ENUM_EPPI_STAT_NO_CFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HCNT_VALUE 0 /* Horizontal Transfer Count */
-#define BITM_EPPI_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HDLY_VALUE 0 /* Horizontal Delay Count */
-#define BITM_EPPI_HDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VCNT_VALUE 0 /* Vertical Transfer Count */
-#define BITM_EPPI_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VDLY_VALUE 0 /* Vertical Delay Count */
-#define BITM_EPPI_VDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FRAME_VALUE 0 /* Lines Per Frame */
-#define BITM_EPPI_FRAME_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lines Per Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_LINE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_LINE_VALUE 0 /* Samples Per Line */
-#define BITM_EPPI_LINE_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Samples Per Line */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CLKDIV_VALUE 0 /* Internal Clock Divider */
-#define BITM_EPPI_CLKDIV_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Internal Clock Divider */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL_CLKGATEN 31 /* Clock Gating Enable */
-#define BITP_EPPI_CTL_MUXSEL 30 /* MUX Select */
-#define BITP_EPPI_CTL_DMAFINEN 29 /* DMA Finish Enable */
-#define BITP_EPPI_CTL_DMACFG 28 /* One or Two DMA Channels Mode */
-#define BITP_EPPI_CTL_RGBFMTEN 27 /* RGB Formatting Enable */
-#define BITP_EPPI_CTL_SPLTWRD 26 /* Split Word */
-#define BITP_EPPI_CTL_SUBSPLTODD 25 /* Sub-Split Odd Samples */
-#define BITP_EPPI_CTL_SPLTEO 24 /* Split Even and Odd Data Samples */
-#define BITP_EPPI_CTL_SWAPEN 23 /* Swap Enable */
-#define BITP_EPPI_CTL_PACKEN 22 /* Pack/Unpack Enable */
-#define BITP_EPPI_CTL_SKIPEO 21 /* Skip Even or Odd */
-#define BITP_EPPI_CTL_SKIPEN 20 /* Skip Enable */
-#define BITP_EPPI_CTL_DMIRR 19 /* Data Mirroring */
-#define BITP_EPPI_CTL_DLEN 16 /* Data Length */
-#define BITP_EPPI_CTL_POLS 14 /* Frame Sync Polarity */
-#define BITP_EPPI_CTL_POLC 12 /* Clock Polarity */
-#define BITP_EPPI_CTL_SIGNEXT 11 /* Sign Extension */
-#define BITP_EPPI_CTL_IFSGEN 10 /* Internal Frame Sync Generation */
-#define BITP_EPPI_CTL_ICLKGEN 9 /* Internal Clock Generation */
-#define BITP_EPPI_CTL_BLANKGEN 8 /* king Generation (ITU Output Mode) */
-#define BITP_EPPI_CTL_ITUTYPE 7 /* ITU Interlace or Progressive */
-#define BITP_EPPI_CTL_FLDSEL 6 /* Field Select/Trigger */
-#define BITP_EPPI_CTL_FSCFG 4 /* Frame Sync Configuration */
-#define BITP_EPPI_CTL_XFRTYPE 2 /* Transfer Type ( Operating Mode) */
-#define BITP_EPPI_CTL_DIR 1 /* PPI Direction */
-#define BITP_EPPI_CTL_EN 0 /* PPI Enable */
-
-#define BITM_EPPI_CTL_CLKGATEN (_ADI_MSK(0x80000000,uint32_t)) /* Clock Gating Enable */
-#define ENUM_EPPI_CTL_CLKGATE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CLKGATEN: Disable */
-#define ENUM_EPPI_CTL_CLKGATE_EN (_ADI_MSK(0x80000000,uint32_t)) /* CLKGATEN: Enable */
-
-#define BITM_EPPI_CTL_MUXSEL (_ADI_MSK(0x40000000,uint32_t)) /* MUX Select */
-#define ENUM_EPPI_CTL_MUXSEL0 (_ADI_MSK(0x00000000,uint32_t)) /* MUXSEL: Normal Operation */
-#define ENUM_EPPI_CTL_MUXSEL1 (_ADI_MSK(0x40000000,uint32_t)) /* MUXSEL: Multiplexed Operation */
-
-#define BITM_EPPI_CTL_DMAFINEN (_ADI_MSK(0x20000000,uint32_t)) /* DMA Finish Enable */
-#define ENUM_EPPI_CTL_FINISH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DMAFINEN: No Finish Command */
-#define ENUM_EPPI_CTL_FINISH_EN (_ADI_MSK(0x20000000,uint32_t)) /* DMAFINEN: Enable Send Finish Command */
-
-#define BITM_EPPI_CTL_DMACFG (_ADI_MSK(0x10000000,uint32_t)) /* One or Two DMA Channels Mode */
-#define ENUM_EPPI_CTL_DMA1CHAN (_ADI_MSK(0x00000000,uint32_t)) /* DMACFG: PPI uses one DMA Channel */
-#define ENUM_EPPI_CTL_DMA2CHAN (_ADI_MSK(0x10000000,uint32_t)) /* DMACFG: PPI uses two DMA Channels */
-
-#define BITM_EPPI_CTL_RGBFMTEN (_ADI_MSK(0x08000000,uint32_t)) /* RGB Formatting Enable */
-#define ENUM_EPPI_CTL_RGBFMT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RGBFMTEN: Disable RGB Formatted Output */
-#define ENUM_EPPI_CTL_RGBFMT_EN (_ADI_MSK(0x08000000,uint32_t)) /* RGBFMTEN: Enable RGB Formatted Output */
-
-#define BITM_EPPI_CTL_SPLTWRD (_ADI_MSK(0x04000000,uint32_t)) /* Split Word */
-#define ENUM_EPPI_CTL_NO_WORDSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SPLTWRD: PPI_DATA has (DLEN-1) bits of Y or Cr or Cb */
-#define ENUM_EPPI_CTL_WORDSPLIT (_ADI_MSK(0x04000000,uint32_t)) /* SPLTWRD: PPI_DATA contains 2 elements per word */
-
-#define BITM_EPPI_CTL_SUBSPLTODD (_ADI_MSK(0x02000000,uint32_t)) /* Sub-Split Odd Samples */
-#define ENUM_EPPI_CTL_NO_SUBSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SUBSPLTODD: Disable */
-#define ENUM_EPPI_CTL_SUBSPLIT_ODD (_ADI_MSK(0x02000000,uint32_t)) /* SUBSPLTODD: Enable */
-
-#define BITM_EPPI_CTL_SPLTEO (_ADI_MSK(0x01000000,uint32_t)) /* Split Even and Odd Data Samples */
-#define ENUM_EPPI_CTL_SPLTEO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPLTEO: Do Not Split Samples */
-#define ENUM_EPPI_CTL_SPLTEO_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPLTEO: Split Even/Odd Samples */
-
-#define BITM_EPPI_CTL_SWAPEN (_ADI_MSK(0x00800000,uint32_t)) /* Swap Enable */
-#define ENUM_EPPI_CTL_SWAP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SWAPEN: Disable */
-#define ENUM_EPPI_CTL_SWAP_EN (_ADI_MSK(0x00800000,uint32_t)) /* SWAPEN: Enable */
-
-#define BITM_EPPI_CTL_PACKEN (_ADI_MSK(0x00400000,uint32_t)) /* Pack/Unpack Enable */
-#define ENUM_EPPI_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACKEN: Disable */
-#define ENUM_EPPI_CTL_PACK_EN (_ADI_MSK(0x00400000,uint32_t)) /* PACKEN: Enable */
-
-#define BITM_EPPI_CTL_SKIPEO (_ADI_MSK(0x00200000,uint32_t)) /* Skip Even or Odd */
-#define ENUM_EPPI_CTL_SKIPODD (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEO: Skip Odd Samples */
-#define ENUM_EPPI_CTL_SKIPEVEN (_ADI_MSK(0x00200000,uint32_t)) /* SKIPEO: Skip Even Samples */
-
-#define BITM_EPPI_CTL_SKIPEN (_ADI_MSK(0x00100000,uint32_t)) /* Skip Enable */
-#define ENUM_EPPI_CTL_NO_SKIP (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEN: No Samples Skipping */
-#define ENUM_EPPI_CTL_SKIP (_ADI_MSK(0x00100000,uint32_t)) /* SKIPEN: Skip Alternate Samples */
-
-#define BITM_EPPI_CTL_DMIRR (_ADI_MSK(0x00080000,uint32_t)) /* Data Mirroring */
-#define ENUM_EPPI_CTL_NO_MIRROR (_ADI_MSK(0x00000000,uint32_t)) /* DMIRR: No Data Mirroring */
-#define ENUM_EPPI_CTL_MIRROR (_ADI_MSK(0x00080000,uint32_t)) /* DMIRR: Data Mirroring */
-
-#define BITM_EPPI_CTL_DLEN (_ADI_MSK(0x00070000,uint32_t)) /* Data Length */
-#define ENUM_EPPI_CTL_DLEN08 (_ADI_MSK(0x00000000,uint32_t)) /* DLEN: 8 bits */
-#define ENUM_EPPI_CTL_DLEN10 (_ADI_MSK(0x00010000,uint32_t)) /* DLEN: 10 bits */
-#define ENUM_EPPI_CTL_DLEN12 (_ADI_MSK(0x00020000,uint32_t)) /* DLEN: 12 bits */
-#define ENUM_EPPI_CTL_DLEN14 (_ADI_MSK(0x00030000,uint32_t)) /* DLEN: 14 bits */
-#define ENUM_EPPI_CTL_DLEN16 (_ADI_MSK(0x00040000,uint32_t)) /* DLEN: 16 bits */
-#define ENUM_EPPI_CTL_DLEN18 (_ADI_MSK(0x00050000,uint32_t)) /* DLEN: 18 bits */
-#define ENUM_EPPI_CTL_DLEN20 (_ADI_MSK(0x00060000,uint32_t)) /* DLEN: 20 bits */
-#define ENUM_EPPI_CTL_DLEN24 (_ADI_MSK(0x00070000,uint32_t)) /* DLEN: 24 bits */
-
-#define BITM_EPPI_CTL_POLS (_ADI_MSK(0x0000C000,uint32_t)) /* Frame Sync Polarity */
-#define ENUM_EPPI_CTL_FS1HI_FS2HI (_ADI_MSK(0x00000000,uint32_t)) /* POLS: FS1 and FS2 are active high */
-#define ENUM_EPPI_CTL_FS1LO_FS2HI (_ADI_MSK(0x00004000,uint32_t)) /* POLS: FS1 is active low. FS2 is active high */
-#define ENUM_EPPI_CTL_FS1HI_FS2LO (_ADI_MSK(0x00008000,uint32_t)) /* POLS: FS1 is active high. FS2 is active low */
-#define ENUM_EPPI_CTL_FS1LO_FS2LO (_ADI_MSK(0x0000C000,uint32_t)) /* POLS: FS1 and FS2 are active low */
-
-#define BITM_EPPI_CTL_POLC (_ADI_MSK(0x00003000,uint32_t)) /* Clock Polarity */
-#define ENUM_EPPI_CTL_POLC00 (_ADI_MSK(0x00000000,uint32_t)) /* POLC: Clock/Sync polarity mode 0 */
-#define ENUM_EPPI_CTL_POLC01 (_ADI_MSK(0x00001000,uint32_t)) /* POLC: Clock/Sync polarity mode 1 */
-#define ENUM_EPPI_CTL_POLC10 (_ADI_MSK(0x00002000,uint32_t)) /* POLC: Clock/Sync polarity mode 2 */
-#define ENUM_EPPI_CTL_POLC11 (_ADI_MSK(0x00003000,uint32_t)) /* POLC: Clock/Sync polarity mode 3 */
-
-#define BITM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* Sign Extension */
-#define ENUM_EPPI_CTL_ZEROFILL (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Filled */
-#define ENUM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* SIGNEXT: Sign Extended */
-
-#define BITM_EPPI_CTL_IFSGEN (_ADI_MSK(0x00000400,uint32_t)) /* Internal Frame Sync Generation */
-#define ENUM_EPPI_CTL_EXTFS (_ADI_MSK(0x00000000,uint32_t)) /* IFSGEN: External Frame Sync */
-#define ENUM_EPPI_CTL_INTFS (_ADI_MSK(0x00000400,uint32_t)) /* IFSGEN: Internal Frame Sync */
-
-#define BITM_EPPI_CTL_ICLKGEN (_ADI_MSK(0x00000200,uint32_t)) /* Internal Clock Generation */
-#define ENUM_EPPI_CTL_EXTCLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLKGEN: External Clock */
-#define ENUM_EPPI_CTL_INTCLK (_ADI_MSK(0x00000200,uint32_t)) /* ICLKGEN: Internal Clock */
-
-#define BITM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* king Generation (ITU Output Mode) */
-#define ENUM_EPPI_CTL_NO_BLANKGEN (_ADI_MSK(0x00000000,uint32_t)) /* BLANKGEN: Disable */
-#define ENUM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* BLANKGEN: Enable */
-
-#define BITM_EPPI_CTL_ITUTYPE (_ADI_MSK(0x00000080,uint32_t)) /* ITU Interlace or Progressive */
-#define ENUM_EPPI_CTL_INTERLACED (_ADI_MSK(0x00000000,uint32_t)) /* ITUTYPE: Interlaced */
-#define ENUM_EPPI_CTL_PROGRESSIVE (_ADI_MSK(0x00000080,uint32_t)) /* ITUTYPE: Progressive */
-
-#define BITM_EPPI_CTL_FLDSEL (_ADI_MSK(0x00000040,uint32_t)) /* Field Select/Trigger */
-#define ENUM_EPPI_CTL_FLDSEL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FLDSEL: Field Mode 0 */
-#define ENUM_EPPI_CTL_FLDSEL_HI (_ADI_MSK(0x00000040,uint32_t)) /* FLDSEL: Field Mode 1 */
-
-#define BITM_EPPI_CTL_FSCFG (_ADI_MSK(0x00000030,uint32_t)) /* Frame Sync Configuration */
-#define ENUM_EPPI_CTL_SYNC0 (_ADI_MSK(0x00000000,uint32_t)) /* FSCFG: Sync Mode 0 */
-#define ENUM_EPPI_CTL_SYNC1 (_ADI_MSK(0x00000010,uint32_t)) /* FSCFG: Sync Mode 1 */
-#define ENUM_EPPI_CTL_SYNC2 (_ADI_MSK(0x00000020,uint32_t)) /* FSCFG: Sync Mode 2 */
-#define ENUM_EPPI_CTL_SYNC3 (_ADI_MSK(0x00000030,uint32_t)) /* FSCFG: Sync Mode 3 */
-
-#define BITM_EPPI_CTL_XFRTYPE (_ADI_MSK(0x0000000C,uint32_t)) /* Transfer Type ( Operating Mode) */
-#define ENUM_EPPI_CTL_ACTIVE656 (_ADI_MSK(0x00000000,uint32_t)) /* XFRTYPE: ITU656 Active Video Only Mode */
-#define ENUM_EPPI_CTL_ENTIRE656 (_ADI_MSK(0x00000004,uint32_t)) /* XFRTYPE: ITU656 Entire Field Mode */
-#define ENUM_EPPI_CTL_VERT656 (_ADI_MSK(0x00000008,uint32_t)) /* XFRTYPE: ITU656 Vertical Blanking Only Mode */
-#define ENUM_EPPI_CTL_NON656 (_ADI_MSK(0x0000000C,uint32_t)) /* XFRTYPE: Non-ITU656 Mode (GP Mode) */
-
-#define BITM_EPPI_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* PPI Direction */
-#define ENUM_EPPI_CTL_RXMODE (_ADI_MSK(0x00000000,uint32_t)) /* DIR: Receive Mode */
-#define ENUM_EPPI_CTL_TXMODE (_ADI_MSK(0x00000002,uint32_t)) /* DIR: Transmit Mode */
-
-#define BITM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* PPI Enable */
-#define ENUM_EPPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_WLVB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_WLVB_F2VBAD 24 /* Field 2 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F2VBBD 16 /* Field 2 Vertical Blanking Before Data */
-#define BITP_EPPI_FS2_WLVB_F1VBAD 8 /* Field 1 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F1VBBD 0 /* Field 1 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F2VBAD (_ADI_MSK(0xFF000000,uint32_t)) /* Field 2 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F2VBBD (_ADI_MSK(0x00FF0000,uint32_t)) /* Field 2 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F1VBAD (_ADI_MSK(0x0000FF00,uint32_t)) /* Field 1 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F1VBBD (_ADI_MSK(0x000000FF,uint32_t)) /* Field 1 Vertical Blanking Before Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_PALPF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_PALPF_F2ACT 16 /* Field 2 Active */
-#define BITP_EPPI_FS2_PALPF_F1ACT 0 /* Field 1 Active */
-#define BITM_EPPI_FS2_PALPF_F2ACT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Field 2 Active */
-#define BITM_EPPI_FS2_PALPF_F1ACT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Field 1 Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_IMSK_PXPERR 7 /* PxP Ready Error Interrupt Mask */
-#define BITP_EPPI_IMSK_ERRNCOR 6 /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERRUNDR 5 /* Frame Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERROVR 4 /* Frame Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERRUNDR 3 /* Line Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERROVR 2 /* Line Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_YFIFOERR 1 /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_CFIFOERR 0 /* CFIFO Underflow or Overflow Error Interrupt Mask */
-
-#define BITM_EPPI_IMSK_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_PXPERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* PXPERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_PXPERR_MSK (_ADI_MSK(0x00000080,uint32_t)) /* PXPERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define ENUM_EPPI_IMSK_ERRNCOR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_ERRNCOR_MSK (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERRUNDR_MSK (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERROVR_MSK (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERRUNDR_MSK (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERROVR_MSK (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_YFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_YFIFOERR_MSK (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_CFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_CFIFOERR_MSK (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Mask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_ODDCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_ODDCLIP_HIGHODD 16 /* High Odd Clipping Threshold (Chroma Data) */
-#define BITP_EPPI_ODDCLIP_LOWODD 0 /* Low Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_HIGHODD (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_LOWODD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Odd Clipping Threshold (Chroma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_EVENCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_EVENCLIP_HIGHEVEN 16 /* High Even Clipping Threshold (Luma Data) */
-#define BITP_EPPI_EVENCLIP_LOWEVEN 0 /* Low Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_HIGHEVEN (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_LOWEVEN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Even Clipping Threshold (Luma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL2_FS1FINEN 1 /* HSYNC Finish Enable */
-
-#define BITM_EPPI_CTL2_FS1FINEN (_ADI_MSK(0x00000002,uint32_t)) /* HSYNC Finish Enable */
-#define ENUM_EPPI_CTL2_FS2FIN_EN (_ADI_MSK(0x00000000,uint32_t)) /* FS1FINEN: Finish sent after frame RX done */
-#define ENUM_EPPI_CTL2_FS1FIN_EN (_ADI_MSK(0x00000002,uint32_t)) /* FS1FINEN: Finish sent after frame/line RX done */
-
-/* ==================================================
- Pulse-Width Modulator Registers
- ================================================== */
-
-/* =========================
- PWM0
- ========================= */
-#define REG_PWM0_CTL 0xFFC1B000 /* PWM0 Control Register */
-#define REG_PWM0_CHANCFG 0xFFC1B004 /* PWM0 Channel Config Register */
-#define REG_PWM0_TRIPCFG 0xFFC1B008 /* PWM0 Trip Config Register */
-#define REG_PWM0_STAT 0xFFC1B00C /* PWM0 Status Register */
-#define REG_PWM0_IMSK 0xFFC1B010 /* PWM0 Interrupt Mask Register */
-#define REG_PWM0_ILAT 0xFFC1B014 /* PWM0 Interrupt Latch Register */
-#define REG_PWM0_CHOPCFG 0xFFC1B018 /* PWM0 Chop Configuration Register */
-#define REG_PWM0_DT 0xFFC1B01C /* PWM0 Dead Time Register */
-#define REG_PWM0_SYNC_WID 0xFFC1B020 /* PWM0 Sync Pulse Width Register */
-#define REG_PWM0_TM0 0xFFC1B024 /* PWM0 Timer 0 Period Register */
-#define REG_PWM0_TM1 0xFFC1B028 /* PWM0 Timer 1 Period Register */
-#define REG_PWM0_TM2 0xFFC1B02C /* PWM0 Timer 2 Period Register */
-#define REG_PWM0_TM3 0xFFC1B030 /* PWM0 Timer 3 Period Register */
-#define REG_PWM0_TM4 0xFFC1B034 /* PWM0 Timer 4 Period Register */
-#define REG_PWM0_DLYA 0xFFC1B038 /* PWM0 Channel A Delay Register */
-#define REG_PWM0_DLYB 0xFFC1B03C /* PWM0 Channel B Delay Register */
-#define REG_PWM0_DLYC 0xFFC1B040 /* PWM0 Channel C Delay Register */
-#define REG_PWM0_DLYD 0xFFC1B044 /* PWM0 Channel D Delay Register */
-#define REG_PWM0_ACTL 0xFFC1B048 /* PWM0 Channel A Control Register */
-#define REG_PWM0_AH0 0xFFC1B04C /* PWM0 Channel A-High Duty-0 Register */
-#define REG_PWM0_AH1 0xFFC1B050 /* PWM0 Channel A-High Duty-1 Register */
-#define REG_PWM0_AL0 0xFFC1B05C /* PWM0 Channel A-Low Duty-0 Register */
-#define REG_PWM0_AL1 0xFFC1B060 /* PWM0 Channel A-Low Duty-1 Register */
-#define REG_PWM0_BCTL 0xFFC1B064 /* PWM0 Channel B Control Register */
-#define REG_PWM0_BH0 0xFFC1B068 /* PWM0 Channel B-High Duty-0 Register */
-#define REG_PWM0_BH1 0xFFC1B06C /* PWM0 Channel B-High Duty-1 Register */
-#define REG_PWM0_BL0 0xFFC1B078 /* PWM0 Channel B-Low Duty-0 Register */
-#define REG_PWM0_BL1 0xFFC1B07C /* PWM0 Channel B-Low Duty-1 Register */
-#define REG_PWM0_CCTL 0xFFC1B080 /* PWM0 Channel C Control Register */
-#define REG_PWM0_CH0 0xFFC1B084 /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM0_CH1 0xFFC1B088 /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM0_CL0 0xFFC1B094 /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM0_CL1 0xFFC1B098 /* PWM0 Channel C-Low Duty-1 Register */
-#define REG_PWM0_DCTL 0xFFC1B09C /* PWM0 Channel D Control Register */
-#define REG_PWM0_DH0 0xFFC1B0A0 /* PWM0 Channel D-High Duty-0 Register */
-#define REG_PWM0_DH1 0xFFC1B0A4 /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM0_DL0 0xFFC1B0B0 /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM0_DL1 0xFFC1B0B4 /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM1
- ========================= */
-#define REG_PWM1_CTL 0xFFC1B400 /* PWM1 Control Register */
-#define REG_PWM1_CHANCFG 0xFFC1B404 /* PWM1 Channel Config Register */
-#define REG_PWM1_TRIPCFG 0xFFC1B408 /* PWM1 Trip Config Register */
-#define REG_PWM1_STAT 0xFFC1B40C /* PWM1 Status Register */
-#define REG_PWM1_IMSK 0xFFC1B410 /* PWM1 Interrupt Mask Register */
-#define REG_PWM1_ILAT 0xFFC1B414 /* PWM1 Interrupt Latch Register */
-#define REG_PWM1_CHOPCFG 0xFFC1B418 /* PWM1 Chop Configuration Register */
-#define REG_PWM1_DT 0xFFC1B41C /* PWM1 Dead Time Register */
-#define REG_PWM1_SYNC_WID 0xFFC1B420 /* PWM1 Sync Pulse Width Register */
-#define REG_PWM1_TM0 0xFFC1B424 /* PWM1 Timer 0 Period Register */
-#define REG_PWM1_TM1 0xFFC1B428 /* PWM1 Timer 1 Period Register */
-#define REG_PWM1_TM2 0xFFC1B42C /* PWM1 Timer 2 Period Register */
-#define REG_PWM1_TM3 0xFFC1B430 /* PWM1 Timer 3 Period Register */
-#define REG_PWM1_TM4 0xFFC1B434 /* PWM1 Timer 4 Period Register */
-#define REG_PWM1_DLYA 0xFFC1B438 /* PWM1 Channel A Delay Register */
-#define REG_PWM1_DLYB 0xFFC1B43C /* PWM1 Channel B Delay Register */
-#define REG_PWM1_DLYC 0xFFC1B440 /* PWM1 Channel C Delay Register */
-#define REG_PWM1_DLYD 0xFFC1B444 /* PWM1 Channel D Delay Register */
-#define REG_PWM1_ACTL 0xFFC1B448 /* PWM1 Channel A Control Register */
-#define REG_PWM1_AH0 0xFFC1B44C /* PWM1 Channel A-High Duty-0 Register */
-#define REG_PWM1_AH1 0xFFC1B450 /* PWM1 Channel A-High Duty-1 Register */
-#define REG_PWM1_AL0 0xFFC1B45C /* PWM1 Channel A-Low Duty-0 Register */
-#define REG_PWM1_AL1 0xFFC1B460 /* PWM1 Channel A-Low Duty-1 Register */
-#define REG_PWM1_BCTL 0xFFC1B464 /* PWM1 Channel B Control Register */
-#define REG_PWM1_BH0 0xFFC1B468 /* PWM1 Channel B-High Duty-0 Register */
-#define REG_PWM1_BH1 0xFFC1B46C /* PWM1 Channel B-High Duty-1 Register */
-#define REG_PWM1_BL0 0xFFC1B478 /* PWM1 Channel B-Low Duty-0 Register */
-#define REG_PWM1_BL1 0xFFC1B47C /* PWM1 Channel B-Low Duty-1 Register */
-#define REG_PWM1_CCTL 0xFFC1B480 /* PWM1 Channel C Control Register */
-#define REG_PWM1_CH0 0xFFC1B484 /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM1_CH1 0xFFC1B488 /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM1_CL0 0xFFC1B494 /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM1_CL1 0xFFC1B498 /* PWM1 Channel C-Low Duty-1 Register */
-#define REG_PWM1_DCTL 0xFFC1B49C /* PWM1 Channel D Control Register */
-#define REG_PWM1_DH0 0xFFC1B4A0 /* PWM1 Channel D-High Duty-0 Register */
-#define REG_PWM1_DH1 0xFFC1B4A4 /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM1_DL0 0xFFC1B4B0 /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM1_DL1 0xFFC1B4B4 /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CTL_INTSYNCREF 18 /* Timer reference for Internal Sync */
-#define BITP_PWM_CTL_EXTSYNCSEL 17 /* External Sync Select */
-#define BITP_PWM_CTL_EXTSYNC 16 /* External Sync */
-#define BITP_PWM_CTL_DLYDEN 7 /* Enable Delay Counter for Channel D */
-#define BITP_PWM_CTL_DLYCEN 6 /* Enable Delay Counter for Channel C */
-#define BITP_PWM_CTL_DLYBEN 5 /* Enable Delay Counter for Channel B */
-#define BITP_PWM_CTL_DLYAEN 4 /* Enable Delay Counter for Channel A */
-#define BITP_PWM_CTL_SWTRIP 2 /* Software Trip */
-#define BITP_PWM_CTL_EMURUN 1 /* Output Behavior During Emulation Mode */
-#define BITP_PWM_CTL_GLOBEN 0 /* Module Enable */
-
-#define BITM_PWM_CTL_INTSYNCREF (_ADI_MSK(0x001C0000,uint32_t)) /* Timer reference for Internal Sync */
-#define ENUM_PWM_CTL_INTSYNC_0 (_ADI_MSK(0x00000000,uint32_t)) /* INTSYNCREF: PWMTMR0 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_1 (_ADI_MSK(0x00040000,uint32_t)) /* INTSYNCREF: PWMTMR1 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_2 (_ADI_MSK(0x00080000,uint32_t)) /* INTSYNCREF: PWMTMR2 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_3 (_ADI_MSK(0x000C0000,uint32_t)) /* INTSYNCREF: PWMTMR3 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_4 (_ADI_MSK(0x00100000,uint32_t)) /* INTSYNCREF: PWMTMR4 provides sync reference */
-
-#define BITM_PWM_CTL_EXTSYNCSEL (_ADI_MSK(0x00020000,uint32_t)) /* External Sync Select */
-#define ENUM_PWM_CTL_EXTSYNC_ASYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNCSEL: Asynchronous External Sync */
-#define ENUM_PWM_CTL_EXTSYNC_SYNC (_ADI_MSK(0x00020000,uint32_t)) /* EXTSYNCSEL: Synchronous External Sync */
-
-#define BITM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* External Sync */
-#define ENUM_PWM_CTL_INTSYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNC: Internal sync used */
-#define ENUM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* EXTSYNC: External sync used */
-
-#define BITM_PWM_CTL_DLYDEN (_ADI_MSK(0x00000080,uint32_t)) /* Enable Delay Counter for Channel D */
-#define ENUM_PWM_CTL_DLYD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYDEN: Disable */
-#define ENUM_PWM_CTL_DLYD_EN (_ADI_MSK(0x00000080,uint32_t)) /* DLYDEN: Enable */
-
-#define BITM_PWM_CTL_DLYCEN (_ADI_MSK(0x00000040,uint32_t)) /* Enable Delay Counter for Channel C */
-#define ENUM_PWM_CTL_DLYC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYCEN: Disable */
-#define ENUM_PWM_CTL_DLYC_EN (_ADI_MSK(0x00000040,uint32_t)) /* DLYCEN: Enable */
-
-#define BITM_PWM_CTL_DLYBEN (_ADI_MSK(0x00000020,uint32_t)) /* Enable Delay Counter for Channel B */
-#define ENUM_PWM_CTL_DLYB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYBEN: Disable */
-#define ENUM_PWM_CTL_DLYB_EN (_ADI_MSK(0x00000020,uint32_t)) /* DLYBEN: Enable */
-
-#define BITM_PWM_CTL_DLYAEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable Delay Counter for Channel A */
-#define ENUM_PWM_CTL_DLYA_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYAEN: Disable */
-#define ENUM_PWM_CTL_DLYA_EN (_ADI_MSK(0x00000010,uint32_t)) /* DLYAEN: Enable */
-
-#define BITM_PWM_CTL_SWTRIP (_ADI_MSK(0x00000004,uint32_t)) /* Software Trip */
-#define ENUM_PWM_CTL_FORCE_TRIP (_ADI_MSK(0x00000004,uint32_t)) /* SWTRIP: Force a Fault Trip Condition */
-
-#define BITM_PWM_CTL_EMURUN (_ADI_MSK(0x00000002,uint32_t)) /* Output Behavior During Emulation Mode */
-#define ENUM_PWM_CTL_EMURUN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMURUN: Disable Outputs */
-#define ENUM_PWM_CTL_EMURUN_EN (_ADI_MSK(0x00000002,uint32_t)) /* EMURUN: Enable Outputs */
-
-#define BITM_PWM_CTL_GLOBEN (_ADI_MSK(0x00000001,uint32_t)) /* Module Enable */
-#define ENUM_PWM_CTL_PWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GLOBEN: Disable */
-#define ENUM_PWM_CTL_PWM_EN (_ADI_MSK(0x00000001,uint32_t)) /* GLOBEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHANCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHANCFG_ENCHOPDL 30 /* Channel D Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLDL 29 /* Channel D low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPDH 27 /* Channel D Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLDH 26 /* Channel D High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSD 25 /* Channel D Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRD 24 /* Channel D Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPCL 22 /* Channel C Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLCL 21 /* Channel C low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPCH 19 /* Channel C Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLCH 18 /* Channel C High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSC 17 /* Channel C Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRC 16 /* Channel C Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPBL 14 /* Channel B Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLBL 13 /* Channel B low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPBH 11 /* Channel B Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLBH 10 /* Channel B High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSB 9 /* Channel B Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRB 8 /* Channel B Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPAL 6 /* Channel A Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLAL 5 /* Channel A low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPAH 3 /* Channel A Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLAH 2 /* Channel A High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSA 1 /* Channel A Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRA 0 /* Channel A Timer Reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPDL (_ADI_MSK(0x40000000,uint32_t)) /* Channel D Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDL: Disable Chopping Channel D Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_EN (_ADI_MSK(0x40000000,uint32_t)) /* ENCHOPDL: Enable Chopping Channel D Low Side */
-
-#define BITM_PWM_CHANCFG_POLDL (_ADI_MSK(0x20000000,uint32_t)) /* Channel D low side Polarity */
-#define ENUM_PWM_CHANCFG_DL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDL: Active Low */
-#define ENUM_PWM_CHANCFG_DL_ACTHI (_ADI_MSK(0x20000000,uint32_t)) /* POLDL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPDH (_ADI_MSK(0x08000000,uint32_t)) /* Channel D Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDH: Disable Chopping Channel D High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_EN (_ADI_MSK(0x08000000,uint32_t)) /* ENCHOPDH: Enable Chopping Channel D High Side */
-
-#define BITM_PWM_CHANCFG_POLDH (_ADI_MSK(0x04000000,uint32_t)) /* Channel D High side Polarity */
-#define ENUM_PWM_CHANCFG_DH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDH: Active Low */
-#define ENUM_PWM_CHANCFG_DH_ACTHI (_ADI_MSK(0x04000000,uint32_t)) /* POLDH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSD (_ADI_MSK(0x02000000,uint32_t)) /* Channel D Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOD_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSD: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOD_IND (_ADI_MSK(0x02000000,uint32_t)) /* MODELSD: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRD (_ADI_MSK(0x01000000,uint32_t)) /* Channel D Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRD: PWMTMR0 is Channel D reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_1 (_ADI_MSK(0x01000000,uint32_t)) /* REFTMRD: PWMTMR1 is Channel D reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPCL (_ADI_MSK(0x00400000,uint32_t)) /* Channel C Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCL: Disable Chopping Channel C Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_EN (_ADI_MSK(0x00400000,uint32_t)) /* ENCHOPCL: Enable Chopping Channel C Low Side */
-
-#define BITM_PWM_CHANCFG_POLCL (_ADI_MSK(0x00200000,uint32_t)) /* Channel C low side Polarity */
-#define ENUM_PWM_CHANCFG_CL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCL: Active Low */
-#define ENUM_PWM_CHANCFG_CL_ACTHI (_ADI_MSK(0x00200000,uint32_t)) /* POLCL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPCH (_ADI_MSK(0x00080000,uint32_t)) /* Channel C Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCH: Disable Chopping Channel C High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_EN (_ADI_MSK(0x00080000,uint32_t)) /* ENCHOPCH: Enable Chopping Channel C High Side */
-
-#define BITM_PWM_CHANCFG_POLCH (_ADI_MSK(0x00040000,uint32_t)) /* Channel C High side Polarity */
-#define ENUM_PWM_CHANCFG_CH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCH: Active Low */
-#define ENUM_PWM_CHANCFG_CH_ACTHI (_ADI_MSK(0x00040000,uint32_t)) /* POLCH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSC (_ADI_MSK(0x00020000,uint32_t)) /* Channel C Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOC_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSC: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOC_IND (_ADI_MSK(0x00020000,uint32_t)) /* MODELSC: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRC (_ADI_MSK(0x00010000,uint32_t)) /* Channel C Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRC: PWMTMR0 is Channel C reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_1 (_ADI_MSK(0x00010000,uint32_t)) /* REFTMRC: PWMTMR1 is Channel C reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPBL (_ADI_MSK(0x00004000,uint32_t)) /* Channel B Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBL: Disable Chopping Channel B Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_EN (_ADI_MSK(0x00004000,uint32_t)) /* ENCHOPBL: Enable Chopping Channel B Low Side */
-
-#define BITM_PWM_CHANCFG_POLBL (_ADI_MSK(0x00002000,uint32_t)) /* Channel B low side Polarity */
-#define ENUM_PWM_CHANCFG_BL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBL: Active Low */
-#define ENUM_PWM_CHANCFG_BL_ACTHI (_ADI_MSK(0x00002000,uint32_t)) /* POLBL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPBH (_ADI_MSK(0x00000800,uint32_t)) /* Channel B Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBH: Disable Chopping Channel B High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_EN (_ADI_MSK(0x00000800,uint32_t)) /* ENCHOPBH: Enable Chopping Channel B High Side */
-
-#define BITM_PWM_CHANCFG_POLBH (_ADI_MSK(0x00000400,uint32_t)) /* Channel B High side Polarity */
-#define ENUM_PWM_CHANCFG_BH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBH: Active Low */
-#define ENUM_PWM_CHANCFG_BH_ACTHI (_ADI_MSK(0x00000400,uint32_t)) /* POLBH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSB (_ADI_MSK(0x00000200,uint32_t)) /* Channel B Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOB_INV (_ADI_MSK(0x00000000,uint32_t)) /* MODELSB: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOB_IND (_ADI_MSK(0x00000200,uint32_t)) /* MODELSB: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRB (_ADI_MSK(0x00000100,uint32_t)) /* Channel B Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRB: PWMTMR0 is Channel B reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_1 (_ADI_MSK(0x00000100,uint32_t)) /* REFTMRB: PWMTMR1 is Channel B reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPAL (_ADI_MSK(0x00000040,uint32_t)) /* Channel A Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAL: Disable Chopping Channel A Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_EN (_ADI_MSK(0x00000040,uint32_t)) /* ENCHOPAL: Enable Chopping Channel A Low Side */
-
-#define BITM_PWM_CHANCFG_POLAL (_ADI_MSK(0x00000020,uint32_t)) /* Channel A low side Polarity */
-#define ENUM_PWM_CHANCFG_AL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAL: Active Low */
-#define ENUM_PWM_CHANCFG_AL_ACTHI (_ADI_MSK(0x00000020,uint32_t)) /* POLAL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPAH (_ADI_MSK(0x00000008,uint32_t)) /* Channel A Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAH: Disable Chopping Channel A High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_EN (_ADI_MSK(0x00000008,uint32_t)) /* ENCHOPAH: Enable Chopping Channel A High Side */
-
-#define BITM_PWM_CHANCFG_POLAH (_ADI_MSK(0x00000004,uint32_t)) /* Channel A High side Polarity */
-#define ENUM_PWM_CHANCFG_AH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAH: Active Low */
-#define ENUM_PWM_CHANCFG_AH_ACTHI (_ADI_MSK(0x00000004,uint32_t)) /* POLAH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSA (_ADI_MSK(0x00000002,uint32_t)) /* Channel A Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOA_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSA: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOA_IND (_ADI_MSK(0x00000002,uint32_t)) /* MODELSA: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRA (_ADI_MSK(0x00000001,uint32_t)) /* Channel A Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRA: PWMTMR0 is Channel A reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_1 (_ADI_MSK(0x00000001,uint32_t)) /* REFTMRA: PWMTMR1 is Channel A reference */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TRIPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TRIPCFG_MODE1D 27 /* Mode of TRIP1 for Channel D */
-#define BITP_PWM_TRIPCFG_EN1D 26 /* Enable TRIP1 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE0D 25 /* Mode of TRIP0 for Channel D */
-#define BITP_PWM_TRIPCFG_EN0D 24 /* Enable TRIP0 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE1C 19 /* Mode of TRIP1 for Channel C */
-#define BITP_PWM_TRIPCFG_EN1C 18 /* Enable TRIP1 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE0C 17 /* Mode of TRIP0 for Channel C */
-#define BITP_PWM_TRIPCFG_EN0C 16 /* Enable TRIP0 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE1B 11 /* Mode of TRIP1 for Channel B */
-#define BITP_PWM_TRIPCFG_EN1B 10 /* Enable TRIP1 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE0B 9 /* Mode of TRIP0 for Channel B */
-#define BITP_PWM_TRIPCFG_EN0B 8 /* Enable TRIP0 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE1A 3 /* Mode of TRIP1 for Channel A */
-#define BITP_PWM_TRIPCFG_EN1A 2 /* Enable TRIP1 as a trip source for Channel A */
-#define BITP_PWM_TRIPCFG_MODE0A 1 /* Mode of TRIP0 for Channel A */
-#define BITP_PWM_TRIPCFG_EN0A 0 /* Enable TRIP0 as a trip source for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE1D (_ADI_MSK(0x08000000,uint32_t)) /* Mode of TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1D: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1D_RSTRT (_ADI_MSK(0x08000000,uint32_t)) /* MODE1D: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1D (_ADI_MSK(0x04000000,uint32_t)) /* Enable TRIP1 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1D: Disable TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_EN (_ADI_MSK(0x04000000,uint32_t)) /* EN1D: Enable TRIP1 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE0D (_ADI_MSK(0x02000000,uint32_t)) /* Mode of TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0D: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0D_RSTRT (_ADI_MSK(0x02000000,uint32_t)) /* MODE0D: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0D (_ADI_MSK(0x01000000,uint32_t)) /* Enable TRIP0 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0D: Disable TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_EN (_ADI_MSK(0x01000000,uint32_t)) /* EN0D: Enable TRIP0 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE1C (_ADI_MSK(0x00080000,uint32_t)) /* Mode of TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1C: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1C_RSTRT (_ADI_MSK(0x00080000,uint32_t)) /* MODE1C: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1C (_ADI_MSK(0x00040000,uint32_t)) /* Enable TRIP1 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1C: Disable TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_EN (_ADI_MSK(0x00040000,uint32_t)) /* EN1C: Enable TRIP1 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE0C (_ADI_MSK(0x00020000,uint32_t)) /* Mode of TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0C: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0C_RSTRT (_ADI_MSK(0x00020000,uint32_t)) /* MODE0C: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0C (_ADI_MSK(0x00010000,uint32_t)) /* Enable TRIP0 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0C: Disable TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_EN (_ADI_MSK(0x00010000,uint32_t)) /* EN0C: Enable TRIP0 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE1B (_ADI_MSK(0x00000800,uint32_t)) /* Mode of TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1B: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1B_RSTRT (_ADI_MSK(0x00000800,uint32_t)) /* MODE1B: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1B (_ADI_MSK(0x00000400,uint32_t)) /* Enable TRIP1 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1B: Disable TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_EN (_ADI_MSK(0x00000400,uint32_t)) /* EN1B: Enable TRIP1 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE0B (_ADI_MSK(0x00000200,uint32_t)) /* Mode of TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0B: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0B_RSTRT (_ADI_MSK(0x00000200,uint32_t)) /* MODE0B: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0B (_ADI_MSK(0x00000100,uint32_t)) /* Enable TRIP0 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0B: Disable TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_EN (_ADI_MSK(0x00000100,uint32_t)) /* EN0B: Enable TRIP0 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE1A (_ADI_MSK(0x00000008,uint32_t)) /* Mode of TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1A: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1A_RSTRT (_ADI_MSK(0x00000008,uint32_t)) /* MODE1A: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1A (_ADI_MSK(0x00000004,uint32_t)) /* Enable TRIP1 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1A: Disable TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_EN (_ADI_MSK(0x00000004,uint32_t)) /* EN1A: Enable TRIP1 for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE0A (_ADI_MSK(0x00000002,uint32_t)) /* Mode of TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0A: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0A_RSTRT (_ADI_MSK(0x00000002,uint32_t)) /* MODE0A: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0A (_ADI_MSK(0x00000001,uint32_t)) /* Enable TRIP0 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0A: Disable TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN0A: Enable TRIP0 for Channel A */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_STAT_TMR4PHASE 28 /* PWMTMR4 Phase Status */
-#define BITP_PWM_STAT_TMR3PHASE 27 /* PWMTMR3 Phase Status */
-#define BITP_PWM_STAT_TMR2PHASE 26 /* PWMTMR2 Phase Status */
-#define BITP_PWM_STAT_TMR1PHASE 25 /* PWMTMR1 Phase Status */
-#define BITP_PWM_STAT_TMR0PHASE 24 /* PWMTMR0 Phase Status */
-#define BITP_PWM_STAT_TMR4PER 20 /* PWMTMR4 Period Boundary Status */
-#define BITP_PWM_STAT_TMR3PER 19 /* PWMTMR3 Period Boundary Status */
-#define BITP_PWM_STAT_TMR2PER 18 /* PWMTMR2 Period Boundary Status */
-#define BITP_PWM_STAT_TMR1PER 17 /* PWMTMR1 Period Boundary Status */
-#define BITP_PWM_STAT_TMR0PER 16 /* PWMTMR0 Period Boundary Status */
-#define BITP_PWM_STAT_SRTRIPD 11 /* Self-Restart Trip Status for Channel D */
-#define BITP_PWM_STAT_FLTTRIPD 10 /* Fault Trip Status for Channel D */
-#define BITP_PWM_STAT_SRTRIPC 9 /* Self-Restart Trip Status for Channel C */
-#define BITP_PWM_STAT_FLTTRIPC 8 /* Fault Trip Status for Channel C */
-#define BITP_PWM_STAT_SRTRIPB 7 /* Self-Restart Trip Status for Channel B */
-#define BITP_PWM_STAT_FLTTRIPB 6 /* Fault Trip Status for Channel B */
-#define BITP_PWM_STAT_SRTRIPA 5 /* Self-Restart Trip Status for Channel A */
-#define BITP_PWM_STAT_FLTTRIPA 4 /* Fault Trip Status for Channel A */
-#define BITP_PWM_STAT_RAWTRIP1 3 /* Raw Trip 1 Status */
-#define BITP_PWM_STAT_RAWTRIP0 2 /* Raw Trip 0 Status */
-#define BITP_PWM_STAT_TRIP1 1 /* Status bit set when TRIP1 is active low */
-#define BITP_PWM_STAT_TRIP0 0 /* Status bit set when TRIP0 is active low */
-
-#define BITM_PWM_STAT_TMR4PHASE (_ADI_MSK(0x10000000,uint32_t)) /* PWMTMR4 Phase Status */
-#define ENUM_PWM_STAT_TMR4PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR4PH2 (_ADI_MSK(0x10000000,uint32_t)) /* TMR4PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR3PHASE (_ADI_MSK(0x08000000,uint32_t)) /* PWMTMR3 Phase Status */
-#define ENUM_PWM_STAT_TMR3PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR3PH2 (_ADI_MSK(0x08000000,uint32_t)) /* TMR3PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR2PHASE (_ADI_MSK(0x04000000,uint32_t)) /* PWMTMR2 Phase Status */
-#define ENUM_PWM_STAT_TMR2PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR2PH2 (_ADI_MSK(0x04000000,uint32_t)) /* TMR2PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR1PHASE (_ADI_MSK(0x02000000,uint32_t)) /* PWMTMR1 Phase Status */
-#define ENUM_PWM_STAT_TMR1PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR1PH2 (_ADI_MSK(0x02000000,uint32_t)) /* TMR1PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR0PHASE (_ADI_MSK(0x01000000,uint32_t)) /* PWMTMR0 Phase Status */
-#define ENUM_PWM_STAT_TMR0PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR0PH2 (_ADI_MSK(0x01000000,uint32_t)) /* TMR0PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER4 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary not reached */
-#define ENUM_PWM_STAT_PER4 (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary reached */
-
-#define BITM_PWM_STAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER3 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary not reached */
-#define ENUM_PWM_STAT_PER3 (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary reached */
-
-#define BITM_PWM_STAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER2 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary not reached */
-#define ENUM_PWM_STAT_PER2 (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary reached */
-
-#define BITM_PWM_STAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary not reached */
-#define ENUM_PWM_STAT_PER1 (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary reached */
-
-#define BITM_PWM_STAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER0 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary not reached */
-#define ENUM_PWM_STAT_PER0 (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary reached */
-
-#define BITM_PWM_STAT_SRTRIPD (_ADI_MSK(0x00000800,uint32_t)) /* Self-Restart Trip Status for Channel D */
-#define ENUM_PWM_STAT_SRD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRD_TRIP (_ADI_MSK(0x00000800,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPD (_ADI_MSK(0x00000400,uint32_t)) /* Fault Trip Status for Channel D */
-#define ENUM_PWM_STAT_FLTD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTD_TRIP (_ADI_MSK(0x00000400,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPC (_ADI_MSK(0x00000200,uint32_t)) /* Self-Restart Trip Status for Channel C */
-#define ENUM_PWM_STAT_SRC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRC_TRIP (_ADI_MSK(0x00000200,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPC (_ADI_MSK(0x00000100,uint32_t)) /* Fault Trip Status for Channel C */
-#define ENUM_PWM_STAT_FLTC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTC_TRIP (_ADI_MSK(0x00000100,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPB (_ADI_MSK(0x00000080,uint32_t)) /* Self-Restart Trip Status for Channel B */
-#define ENUM_PWM_STAT_SRB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRB_TRIP (_ADI_MSK(0x00000080,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPB (_ADI_MSK(0x00000040,uint32_t)) /* Fault Trip Status for Channel B */
-#define ENUM_PWM_STAT_FLTB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPB: Channel B Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTB_TRIP (_ADI_MSK(0x00000040,uint32_t)) /* FLTTRIPB: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPA (_ADI_MSK(0x00000020,uint32_t)) /* Self-Restart Trip Status for Channel A */
-#define ENUM_PWM_STAT_SRA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRA_TRIP (_ADI_MSK(0x00000020,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPA (_ADI_MSK(0x00000010,uint32_t)) /* Fault Trip Status for Channel A */
-#define ENUM_PWM_STAT_FLTA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTA_TRIP (_ADI_MSK(0x00000010,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_RAWTRIP1 (_ADI_MSK(0x00000008,uint32_t)) /* Raw Trip 1 Status */
-#define ENUM_PWM_STAT_TRIP1LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP1: TRIP1 Level is Low */
-#define ENUM_PWM_STAT_TRIP1LVL_HI (_ADI_MSK(0x00000008,uint32_t)) /* RAWTRIP1: TRIP1 Level is High */
-
-#define BITM_PWM_STAT_RAWTRIP0 (_ADI_MSK(0x00000004,uint32_t)) /* Raw Trip 0 Status */
-#define ENUM_PWM_STAT_TRIP0LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP0: TRIP0 Level is Low */
-#define ENUM_PWM_STAT_TRIP0LVL_HI (_ADI_MSK(0x00000004,uint32_t)) /* RAWTRIP0: TRIP0 Level is High */
-
-#define BITM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* Status bit set when TRIP1 is active low */
-#define ENUM_PWM_STAT_NO_TRIP1 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: TRIP1 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: TRIP1 status is "tripped" (active low) */
-
-#define BITM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* Status bit set when TRIP0 is active low */
-#define ENUM_PWM_STAT_NO_TRIP0 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: TRIP0 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: TRIP0 status is "tripped" (active low) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_IMSK_TMR4PER 20 /* PWMTMR4 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR3PER 19 /* PWMTMR3 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR2PER 18 /* PWMTMR2 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR1PER 17 /* PWMTMR1 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP1 1 /* TRIP1 Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP0 0 /* TRIP0 Interrupt Enable */
-
-#define BITM_PWM_IMSK_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER4_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: Mask PWMTMR4 Period Interrupt */
-#define ENUM_PWM_IMSK_PER4_UMSK (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Unmask PWMTMR4 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER3_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: Mask PWMTMR3 Period Interrupt */
-#define ENUM_PWM_IMSK_PER3_UMSK (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Unmask PWMTMR3 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER2_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: Mask PWMTMR2 Period Interrupt */
-#define ENUM_PWM_IMSK_PER2_UMSK (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Unmask PWMTMR2 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: Mask PWMTMR1 Period Interrupt */
-#define ENUM_PWM_IMSK_PER1_UMSK (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Unmask PWMTMR1 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: Mask PWMTMR0 Period Interrupt */
-#define ENUM_PWM_IMSK_PER0_UMSK (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Unmask PWMTMR0 Period Interrupt */
-
-#define BITM_PWM_IMSK_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: Mask TRIP1 Interrupt */
-#define ENUM_PWM_IMSK_TRIP1_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Unmask TRIP1 Interrupt */
-
-#define BITM_PWM_IMSK_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: Mask TRIP0 Interrupt */
-#define ENUM_PWM_IMSK_TRIP0_UMSK (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Unmask TRIP0 Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ILAT_TMR4PER 20 /* PWMTMR4 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR3PER 19 /* PWMTMR3 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR2PER 18 /* PWMTMR2 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR1PER 17 /* PWMTMR1 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP1 1 /* TRIP1 Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP0 0 /* TRIP0 Interrupt Latched Status */
-
-#define BITM_PWM_ILAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER4_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER4_INTHI (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER3_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER3_INTHI (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER2_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER2_INTHI (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER1_INTHI (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define ENUM_PWM_ILAT_PER0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER0_INTHI (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP1_INTHI (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP0_INTHI (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Interrupt Latched */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHOPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHOPCFG_VALUE 0 /* Gate Chopping Divisor */
-#define BITM_PWM_CHOPCFG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Gate Chopping Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DT_VALUE 0 /* Dead Time */
-#define BITM_PWM_DT_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Dead Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_SYNC_WID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_SYNC_WID_VALUE 0 /* Sync Pulse Width */
-#define BITM_PWM_SYNC_WID_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Sync Pulse Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM0_VALUE 0 /* Timer PWMTMR0 Period Value */
-#define BITM_PWM_TM0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR0 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM1_VALUE 0 /* Timer PWMTMR1 Period Value */
-#define BITM_PWM_TM1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR1 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM2_VALUE 0 /* Timer PWMTMR2 Period Value */
-#define BITM_PWM_TM2_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR2 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM3_VALUE 0 /* Timer PWMTMR3 Period Value */
-#define BITM_PWM_TM3_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR3 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM4 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM4_VALUE 0 /* Timer PWMTMR4 Period Value */
-#define BITM_PWM_TM4_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR4 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYA_VALUE 0 /* Channel A Delay Value */
-#define BITM_PWM_DLYA_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel A Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYB_VALUE 0 /* Channel B Delay Value */
-#define BITM_PWM_DLYB_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel B Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYC_VALUE 0 /* Channel C Delay Value */
-#define BITM_PWM_DLYC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel C Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYD_VALUE 0 /* Channel D Delay Value */
-#define BITM_PWM_DLYD_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel D Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ACTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_ACTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_ACTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_ACTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_ACTL_DISHI 0 /* Channel High Side Output Disable */
-
-#define BITM_PWM_ACTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define ENUM_PWM_SYM_LO (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODELO: Symmetrical */
-#define ENUM_PWM_ASYM_LO (_ADI_MSK(0x00000400,uint32_t)) /* PULSEMODELO: Asymmetrical */
-#define ENUM_PWM_LEFT_LO (_ADI_MSK(0x00000800,uint32_t)) /* PULSEMODELO: Left Half */
-#define ENUM_PWM_RIGHT_LO (_ADI_MSK(0x00000C00,uint32_t)) /* PULSEMODELO: Right Half */
-
-#define BITM_PWM_ACTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define ENUM_PWM_SYM_HI (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODEHI: Symmetrical */
-#define ENUM_PWM_ASYM_HI (_ADI_MSK(0x00000100,uint32_t)) /* PULSEMODEHI: Asymmetrical */
-#define ENUM_PWM_LEFT_HI (_ADI_MSK(0x00000200,uint32_t)) /* PULSEMODEHI: Left Half */
-#define ENUM_PWM_RIGHT_HI (_ADI_MSK(0x00000300,uint32_t)) /* PULSEMODEHI: Right Half */
-
-#define BITM_PWM_ACTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define ENUM_PWM_XOVR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* XOVR: Disable Crossover */
-#define ENUM_PWM_XOVR_EN (_ADI_MSK(0x00000004,uint32_t)) /* XOVR: Enable Crossover */
-
-#define BITM_PWM_ACTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define ENUM_PWM_LO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISLO: Disable Low Side Output */
-#define ENUM_PWM_LO_EN (_ADI_MSK(0x00000002,uint32_t)) /* DISLO: Enable Low Side Output */
-
-#define BITM_PWM_ACTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-#define ENUM_PWM_HI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISHI: Disable High Side Output */
-#define ENUM_PWM_HI_EN (_ADI_MSK(0x00000001,uint32_t)) /* DISHI: Enable High Side Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_BCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_BCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_BCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_BCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_BCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_BCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_BCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_BCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_BCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_BCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_CCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_CCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_CCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_CCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_CCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_CCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_CCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_CCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_CCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_CCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_DCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_DCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_DCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_DCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_DCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_DCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_DCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_DCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_DCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_DCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ==================================================
- Video Subsystem Registers Registers
- ================================================== */
-
-/* =========================
- VID0
- ========================= */
-#define REG_VID0_CONN 0xFFC1D000 /* VID0 Video Subsystem Connect Register */
-
-/* =========================
- VID
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- VID_CONN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_VID_CONN_PPI2BCAST 23 /* PPI_2 Broadcast Mode */
-#define BITP_VID_CONN_PPI1BCAST 22 /* PPI_1 Broadcast Mode */
-#define BITP_VID_CONN_PPI0BCAST 21 /* PPI_0 Broadcast Mode */
-#define BITP_VID_CONN_PPI2TX 16 /* PPI_2_TX Connectivity */
-#define BITP_VID_CONN_PPI1TX 12 /* PPI_1_TX Connectivity */
-#define BITP_VID_CONN_PPI0TX 8 /* PPI_0_TX Connectivity */
-#define BITM_VID_CONN_PPI2BCAST (_ADI_MSK(0x00800000,uint32_t)) /* PPI_2 Broadcast Mode */
-#define BITM_VID_CONN_PPI1BCAST (_ADI_MSK(0x00400000,uint32_t)) /* PPI_1 Broadcast Mode */
-#define BITM_VID_CONN_PPI0BCAST (_ADI_MSK(0x00200000,uint32_t)) /* PPI_0 Broadcast Mode */
-#define BITM_VID_CONN_PPI2TX (_ADI_MSK(0x000F0000,uint32_t)) /* PPI_2_TX Connectivity */
-#define BITM_VID_CONN_PPI1TX (_ADI_MSK(0x0000F000,uint32_t)) /* PPI_1_TX Connectivity */
-#define BITM_VID_CONN_PPI0TX (_ADI_MSK(0x00000F00,uint32_t)) /* PPI_0_TX Connectivity */
-
-/* ==================================================
- System Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- SWU0
- ========================= */
-#define REG_SWU0_GCTL 0xFFC1E000 /* SWU0 Global Control Register */
-#define REG_SWU0_GSTAT 0xFFC1E004 /* SWU0 Global Status Register */
-#define REG_SWU0_CTL0 0xFFC1E010 /* SWU0 Control Register n */
-#define REG_SWU0_CTL1 0xFFC1E030 /* SWU0 Control Register n */
-#define REG_SWU0_CTL2 0xFFC1E050 /* SWU0 Control Register n */
-#define REG_SWU0_CTL3 0xFFC1E070 /* SWU0 Control Register n */
-#define REG_SWU0_LA0 0xFFC1E014 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA1 0xFFC1E034 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA2 0xFFC1E054 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA3 0xFFC1E074 /* SWU0 Lower Address Register n */
-#define REG_SWU0_UA0 0xFFC1E018 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA1 0xFFC1E038 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA2 0xFFC1E058 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA3 0xFFC1E078 /* SWU0 Upper Address Register n */
-#define REG_SWU0_ID0 0xFFC1E01C /* SWU0 ID Register n */
-#define REG_SWU0_ID1 0xFFC1E03C /* SWU0 ID Register n */
-#define REG_SWU0_ID2 0xFFC1E05C /* SWU0 ID Register n */
-#define REG_SWU0_ID3 0xFFC1E07C /* SWU0 ID Register n */
-#define REG_SWU0_CNT0 0xFFC1E020 /* SWU0 Count Register n */
-#define REG_SWU0_CNT1 0xFFC1E040 /* SWU0 Count Register n */
-#define REG_SWU0_CNT2 0xFFC1E060 /* SWU0 Count Register n */
-#define REG_SWU0_CNT3 0xFFC1E080 /* SWU0 Count Register n */
-#define REG_SWU0_TARG0 0xFFC1E024 /* SWU0 Target Register n */
-#define REG_SWU0_TARG1 0xFFC1E044 /* SWU0 Target Register n */
-#define REG_SWU0_TARG2 0xFFC1E064 /* SWU0 Target Register n */
-#define REG_SWU0_TARG3 0xFFC1E084 /* SWU0 Target Register n */
-#define REG_SWU0_HIST0 0xFFC1E028 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST1 0xFFC1E048 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST2 0xFFC1E068 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST3 0xFFC1E088 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_CUR0 0xFFC1E02C /* SWU0 Current Register n */
-#define REG_SWU0_CUR1 0xFFC1E04C /* SWU0 Current Register n */
-#define REG_SWU0_CUR2 0xFFC1E06C /* SWU0 Current Register n */
-#define REG_SWU0_CUR3 0xFFC1E08C /* SWU0 Current Register n */
-
-/* =========================
- SWU1
- ========================= */
-#define REG_SWU1_GCTL 0xFFCAB000 /* SWU1 Global Control Register */
-#define REG_SWU1_GSTAT 0xFFCAB004 /* SWU1 Global Status Register */
-#define REG_SWU1_CTL0 0xFFCAB010 /* SWU1 Control Register n */
-#define REG_SWU1_CTL1 0xFFCAB030 /* SWU1 Control Register n */
-#define REG_SWU1_CTL2 0xFFCAB050 /* SWU1 Control Register n */
-#define REG_SWU1_CTL3 0xFFCAB070 /* SWU1 Control Register n */
-#define REG_SWU1_LA0 0xFFCAB014 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA1 0xFFCAB034 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA2 0xFFCAB054 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA3 0xFFCAB074 /* SWU1 Lower Address Register n */
-#define REG_SWU1_UA0 0xFFCAB018 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA1 0xFFCAB038 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA2 0xFFCAB058 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA3 0xFFCAB078 /* SWU1 Upper Address Register n */
-#define REG_SWU1_ID0 0xFFCAB01C /* SWU1 ID Register n */
-#define REG_SWU1_ID1 0xFFCAB03C /* SWU1 ID Register n */
-#define REG_SWU1_ID2 0xFFCAB05C /* SWU1 ID Register n */
-#define REG_SWU1_ID3 0xFFCAB07C /* SWU1 ID Register n */
-#define REG_SWU1_CNT0 0xFFCAB020 /* SWU1 Count Register n */
-#define REG_SWU1_CNT1 0xFFCAB040 /* SWU1 Count Register n */
-#define REG_SWU1_CNT2 0xFFCAB060 /* SWU1 Count Register n */
-#define REG_SWU1_CNT3 0xFFCAB080 /* SWU1 Count Register n */
-#define REG_SWU1_TARG0 0xFFCAB024 /* SWU1 Target Register n */
-#define REG_SWU1_TARG1 0xFFCAB044 /* SWU1 Target Register n */
-#define REG_SWU1_TARG2 0xFFCAB064 /* SWU1 Target Register n */
-#define REG_SWU1_TARG3 0xFFCAB084 /* SWU1 Target Register n */
-#define REG_SWU1_HIST0 0xFFCAB028 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST1 0xFFCAB048 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST2 0xFFCAB068 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST3 0xFFCAB088 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_CUR0 0xFFCAB02C /* SWU1 Current Register n */
-#define REG_SWU1_CUR1 0xFFCAB04C /* SWU1 Current Register n */
-#define REG_SWU1_CUR2 0xFFCAB06C /* SWU1 Current Register n */
-#define REG_SWU1_CUR3 0xFFCAB08C /* SWU1 Current Register n */
-
-/* =========================
- SWU2
- ========================= */
-#define REG_SWU2_GCTL 0xFFCAC000 /* SWU2 Global Control Register */
-#define REG_SWU2_GSTAT 0xFFCAC004 /* SWU2 Global Status Register */
-#define REG_SWU2_CTL0 0xFFCAC010 /* SWU2 Control Register n */
-#define REG_SWU2_CTL1 0xFFCAC030 /* SWU2 Control Register n */
-#define REG_SWU2_CTL2 0xFFCAC050 /* SWU2 Control Register n */
-#define REG_SWU2_CTL3 0xFFCAC070 /* SWU2 Control Register n */
-#define REG_SWU2_LA0 0xFFCAC014 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA1 0xFFCAC034 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA2 0xFFCAC054 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA3 0xFFCAC074 /* SWU2 Lower Address Register n */
-#define REG_SWU2_UA0 0xFFCAC018 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA1 0xFFCAC038 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA2 0xFFCAC058 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA3 0xFFCAC078 /* SWU2 Upper Address Register n */
-#define REG_SWU2_ID0 0xFFCAC01C /* SWU2 ID Register n */
-#define REG_SWU2_ID1 0xFFCAC03C /* SWU2 ID Register n */
-#define REG_SWU2_ID2 0xFFCAC05C /* SWU2 ID Register n */
-#define REG_SWU2_ID3 0xFFCAC07C /* SWU2 ID Register n */
-#define REG_SWU2_CNT0 0xFFCAC020 /* SWU2 Count Register n */
-#define REG_SWU2_CNT1 0xFFCAC040 /* SWU2 Count Register n */
-#define REG_SWU2_CNT2 0xFFCAC060 /* SWU2 Count Register n */
-#define REG_SWU2_CNT3 0xFFCAC080 /* SWU2 Count Register n */
-#define REG_SWU2_TARG0 0xFFCAC024 /* SWU2 Target Register n */
-#define REG_SWU2_TARG1 0xFFCAC044 /* SWU2 Target Register n */
-#define REG_SWU2_TARG2 0xFFCAC064 /* SWU2 Target Register n */
-#define REG_SWU2_TARG3 0xFFCAC084 /* SWU2 Target Register n */
-#define REG_SWU2_HIST0 0xFFCAC028 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST1 0xFFCAC048 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST2 0xFFCAC068 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST3 0xFFCAC088 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_CUR0 0xFFCAC02C /* SWU2 Current Register n */
-#define REG_SWU2_CUR1 0xFFCAC04C /* SWU2 Current Register n */
-#define REG_SWU2_CUR2 0xFFCAC06C /* SWU2 Current Register n */
-#define REG_SWU2_CUR3 0xFFCAC08C /* SWU2 Current Register n */
-
-/* =========================
- SWU3
- ========================= */
-#define REG_SWU3_GCTL 0xFFCAD000 /* SWU3 Global Control Register */
-#define REG_SWU3_GSTAT 0xFFCAD004 /* SWU3 Global Status Register */
-#define REG_SWU3_CTL0 0xFFCAD010 /* SWU3 Control Register n */
-#define REG_SWU3_CTL1 0xFFCAD030 /* SWU3 Control Register n */
-#define REG_SWU3_CTL2 0xFFCAD050 /* SWU3 Control Register n */
-#define REG_SWU3_CTL3 0xFFCAD070 /* SWU3 Control Register n */
-#define REG_SWU3_LA0 0xFFCAD014 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA1 0xFFCAD034 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA2 0xFFCAD054 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA3 0xFFCAD074 /* SWU3 Lower Address Register n */
-#define REG_SWU3_UA0 0xFFCAD018 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA1 0xFFCAD038 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA2 0xFFCAD058 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA3 0xFFCAD078 /* SWU3 Upper Address Register n */
-#define REG_SWU3_ID0 0xFFCAD01C /* SWU3 ID Register n */
-#define REG_SWU3_ID1 0xFFCAD03C /* SWU3 ID Register n */
-#define REG_SWU3_ID2 0xFFCAD05C /* SWU3 ID Register n */
-#define REG_SWU3_ID3 0xFFCAD07C /* SWU3 ID Register n */
-#define REG_SWU3_CNT0 0xFFCAD020 /* SWU3 Count Register n */
-#define REG_SWU3_CNT1 0xFFCAD040 /* SWU3 Count Register n */
-#define REG_SWU3_CNT2 0xFFCAD060 /* SWU3 Count Register n */
-#define REG_SWU3_CNT3 0xFFCAD080 /* SWU3 Count Register n */
-#define REG_SWU3_TARG0 0xFFCAD024 /* SWU3 Target Register n */
-#define REG_SWU3_TARG1 0xFFCAD044 /* SWU3 Target Register n */
-#define REG_SWU3_TARG2 0xFFCAD064 /* SWU3 Target Register n */
-#define REG_SWU3_TARG3 0xFFCAD084 /* SWU3 Target Register n */
-#define REG_SWU3_HIST0 0xFFCAD028 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST1 0xFFCAD048 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST2 0xFFCAD068 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST3 0xFFCAD088 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_CUR0 0xFFCAD02C /* SWU3 Current Register n */
-#define REG_SWU3_CUR1 0xFFCAD04C /* SWU3 Current Register n */
-#define REG_SWU3_CUR2 0xFFCAD06C /* SWU3 Current Register n */
-#define REG_SWU3_CUR3 0xFFCAD08C /* SWU3 Current Register n */
-
-/* =========================
- SWU4
- ========================= */
-#define REG_SWU4_GCTL 0xFFCAE000 /* SWU4 Global Control Register */
-#define REG_SWU4_GSTAT 0xFFCAE004 /* SWU4 Global Status Register */
-#define REG_SWU4_CTL0 0xFFCAE010 /* SWU4 Control Register n */
-#define REG_SWU4_CTL1 0xFFCAE030 /* SWU4 Control Register n */
-#define REG_SWU4_CTL2 0xFFCAE050 /* SWU4 Control Register n */
-#define REG_SWU4_CTL3 0xFFCAE070 /* SWU4 Control Register n */
-#define REG_SWU4_LA0 0xFFCAE014 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA1 0xFFCAE034 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA2 0xFFCAE054 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA3 0xFFCAE074 /* SWU4 Lower Address Register n */
-#define REG_SWU4_UA0 0xFFCAE018 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA1 0xFFCAE038 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA2 0xFFCAE058 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA3 0xFFCAE078 /* SWU4 Upper Address Register n */
-#define REG_SWU4_ID0 0xFFCAE01C /* SWU4 ID Register n */
-#define REG_SWU4_ID1 0xFFCAE03C /* SWU4 ID Register n */
-#define REG_SWU4_ID2 0xFFCAE05C /* SWU4 ID Register n */
-#define REG_SWU4_ID3 0xFFCAE07C /* SWU4 ID Register n */
-#define REG_SWU4_CNT0 0xFFCAE020 /* SWU4 Count Register n */
-#define REG_SWU4_CNT1 0xFFCAE040 /* SWU4 Count Register n */
-#define REG_SWU4_CNT2 0xFFCAE060 /* SWU4 Count Register n */
-#define REG_SWU4_CNT3 0xFFCAE080 /* SWU4 Count Register n */
-#define REG_SWU4_TARG0 0xFFCAE024 /* SWU4 Target Register n */
-#define REG_SWU4_TARG1 0xFFCAE044 /* SWU4 Target Register n */
-#define REG_SWU4_TARG2 0xFFCAE064 /* SWU4 Target Register n */
-#define REG_SWU4_TARG3 0xFFCAE084 /* SWU4 Target Register n */
-#define REG_SWU4_HIST0 0xFFCAE028 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST1 0xFFCAE048 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST2 0xFFCAE068 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST3 0xFFCAE088 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_CUR0 0xFFCAE02C /* SWU4 Current Register n */
-#define REG_SWU4_CUR1 0xFFCAE04C /* SWU4 Current Register n */
-#define REG_SWU4_CUR2 0xFFCAE06C /* SWU4 Current Register n */
-#define REG_SWU4_CUR3 0xFFCAE08C /* SWU4 Current Register n */
-
-/* =========================
- SWU5
- ========================= */
-#define REG_SWU5_GCTL 0xFFCAF000 /* SWU5 Global Control Register */
-#define REG_SWU5_GSTAT 0xFFCAF004 /* SWU5 Global Status Register */
-#define REG_SWU5_CTL0 0xFFCAF010 /* SWU5 Control Register n */
-#define REG_SWU5_CTL1 0xFFCAF030 /* SWU5 Control Register n */
-#define REG_SWU5_CTL2 0xFFCAF050 /* SWU5 Control Register n */
-#define REG_SWU5_CTL3 0xFFCAF070 /* SWU5 Control Register n */
-#define REG_SWU5_LA0 0xFFCAF014 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA1 0xFFCAF034 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA2 0xFFCAF054 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA3 0xFFCAF074 /* SWU5 Lower Address Register n */
-#define REG_SWU5_UA0 0xFFCAF018 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA1 0xFFCAF038 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA2 0xFFCAF058 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA3 0xFFCAF078 /* SWU5 Upper Address Register n */
-#define REG_SWU5_ID0 0xFFCAF01C /* SWU5 ID Register n */
-#define REG_SWU5_ID1 0xFFCAF03C /* SWU5 ID Register n */
-#define REG_SWU5_ID2 0xFFCAF05C /* SWU5 ID Register n */
-#define REG_SWU5_ID3 0xFFCAF07C /* SWU5 ID Register n */
-#define REG_SWU5_CNT0 0xFFCAF020 /* SWU5 Count Register n */
-#define REG_SWU5_CNT1 0xFFCAF040 /* SWU5 Count Register n */
-#define REG_SWU5_CNT2 0xFFCAF060 /* SWU5 Count Register n */
-#define REG_SWU5_CNT3 0xFFCAF080 /* SWU5 Count Register n */
-#define REG_SWU5_TARG0 0xFFCAF024 /* SWU5 Target Register n */
-#define REG_SWU5_TARG1 0xFFCAF044 /* SWU5 Target Register n */
-#define REG_SWU5_TARG2 0xFFCAF064 /* SWU5 Target Register n */
-#define REG_SWU5_TARG3 0xFFCAF084 /* SWU5 Target Register n */
-#define REG_SWU5_HIST0 0xFFCAF028 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST1 0xFFCAF048 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST2 0xFFCAF068 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST3 0xFFCAF088 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_CUR0 0xFFCAF02C /* SWU5 Current Register n */
-#define REG_SWU5_CUR1 0xFFCAF04C /* SWU5 Current Register n */
-#define REG_SWU5_CUR2 0xFFCAF06C /* SWU5 Current Register n */
-#define REG_SWU5_CUR3 0xFFCAF08C /* SWU5 Current Register n */
-
-/* =========================
- SWU6
- ========================= */
-#define REG_SWU6_GCTL 0xFFC82000 /* SWU6 Global Control Register */
-#define REG_SWU6_GSTAT 0xFFC82004 /* SWU6 Global Status Register */
-#define REG_SWU6_CTL0 0xFFC82010 /* SWU6 Control Register n */
-#define REG_SWU6_CTL1 0xFFC82030 /* SWU6 Control Register n */
-#define REG_SWU6_CTL2 0xFFC82050 /* SWU6 Control Register n */
-#define REG_SWU6_CTL3 0xFFC82070 /* SWU6 Control Register n */
-#define REG_SWU6_LA0 0xFFC82014 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA1 0xFFC82034 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA2 0xFFC82054 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA3 0xFFC82074 /* SWU6 Lower Address Register n */
-#define REG_SWU6_UA0 0xFFC82018 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA1 0xFFC82038 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA2 0xFFC82058 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA3 0xFFC82078 /* SWU6 Upper Address Register n */
-#define REG_SWU6_ID0 0xFFC8201C /* SWU6 ID Register n */
-#define REG_SWU6_ID1 0xFFC8203C /* SWU6 ID Register n */
-#define REG_SWU6_ID2 0xFFC8205C /* SWU6 ID Register n */
-#define REG_SWU6_ID3 0xFFC8207C /* SWU6 ID Register n */
-#define REG_SWU6_CNT0 0xFFC82020 /* SWU6 Count Register n */
-#define REG_SWU6_CNT1 0xFFC82040 /* SWU6 Count Register n */
-#define REG_SWU6_CNT2 0xFFC82060 /* SWU6 Count Register n */
-#define REG_SWU6_CNT3 0xFFC82080 /* SWU6 Count Register n */
-#define REG_SWU6_TARG0 0xFFC82024 /* SWU6 Target Register n */
-#define REG_SWU6_TARG1 0xFFC82044 /* SWU6 Target Register n */
-#define REG_SWU6_TARG2 0xFFC82064 /* SWU6 Target Register n */
-#define REG_SWU6_TARG3 0xFFC82084 /* SWU6 Target Register n */
-#define REG_SWU6_HIST0 0xFFC82028 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST1 0xFFC82048 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST2 0xFFC82068 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST3 0xFFC82088 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_CUR0 0xFFC8202C /* SWU6 Current Register n */
-#define REG_SWU6_CUR1 0xFFC8204C /* SWU6 Current Register n */
-#define REG_SWU6_CUR2 0xFFC8206C /* SWU6 Current Register n */
-#define REG_SWU6_CUR3 0xFFC8208C /* SWU6 Current Register n */
-
-/* =========================
- SWU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GCTL_RST 1 /* Global Reset */
-#define BITP_SWU_GCTL_EN 0 /* Global Enable */
-#define BITM_SWU_GCTL_RST (_ADI_MSK(0x00000002,uint32_t)) /* Global Reset */
-#define BITM_SWU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Global Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GSTAT_ADDRERR 30 /* Address Error Status */
-#define BITP_SWU_GSTAT_OVRBW3 15 /* Group 3 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW3 14 /* Group 3 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW2 13 /* Group 2 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW2 12 /* Group 2 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW1 11 /* Group 1 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW1 10 /* Group 1 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW0 9 /* Group 0 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW0 8 /* Group 0 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_INT3 7 /* Group 3 Interrupt Status */
-#define BITP_SWU_GSTAT_INT2 6 /* Group 2 Interrupt Status */
-#define BITP_SWU_GSTAT_INT1 5 /* Group 1 Interrupt Status */
-#define BITP_SWU_GSTAT_INT0 4 /* Group 0 Interrupt Status */
-#define BITP_SWU_GSTAT_MTCH3 3 /* Group 3 Match */
-#define BITP_SWU_GSTAT_MTCH2 2 /* Group 2 Match */
-#define BITP_SWU_GSTAT_MTCH1 1 /* Group 1 Match */
-#define BITP_SWU_GSTAT_MTCH0 0 /* Group 0 Match */
-#define BITM_SWU_GSTAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error Status */
-#define BITM_SWU_GSTAT_OVRBW3 (_ADI_MSK(0x00008000,uint32_t)) /* Group 3 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW3 (_ADI_MSK(0x00004000,uint32_t)) /* Group 3 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW2 (_ADI_MSK(0x00002000,uint32_t)) /* Group 2 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW2 (_ADI_MSK(0x00001000,uint32_t)) /* Group 2 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW1 (_ADI_MSK(0x00000800,uint32_t)) /* Group 1 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW1 (_ADI_MSK(0x00000400,uint32_t)) /* Group 1 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW0 (_ADI_MSK(0x00000200,uint32_t)) /* Group 0 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW0 (_ADI_MSK(0x00000100,uint32_t)) /* Group 0 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_INT3 (_ADI_MSK(0x00000080,uint32_t)) /* Group 3 Interrupt Status */
-#define BITM_SWU_GSTAT_INT2 (_ADI_MSK(0x00000040,uint32_t)) /* Group 2 Interrupt Status */
-#define BITM_SWU_GSTAT_INT1 (_ADI_MSK(0x00000020,uint32_t)) /* Group 1 Interrupt Status */
-#define BITM_SWU_GSTAT_INT0 (_ADI_MSK(0x00000010,uint32_t)) /* Group 0 Interrupt Status */
-#define BITM_SWU_GSTAT_MTCH3 (_ADI_MSK(0x00000008,uint32_t)) /* Group 3 Match */
-#define BITM_SWU_GSTAT_MTCH2 (_ADI_MSK(0x00000004,uint32_t)) /* Group 2 Match */
-#define BITM_SWU_GSTAT_MTCH1 (_ADI_MSK(0x00000002,uint32_t)) /* Group 1 Match */
-#define BITM_SWU_GSTAT_MTCH0 (_ADI_MSK(0x00000001,uint32_t)) /* Group 0 Match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CTL_MAXACT 19 /* Action for Bandwidth Above Maximum */
-#define BITP_SWU_CTL_MINACT 18 /* Action for Bandwidth Below Minimum */
-#define BITP_SWU_CTL_BLENINC 17 /* Increment Bandwidth Count by Burst Length */
-#define BITP_SWU_CTL_BWEN 16 /* Bandwidth Mode Enable */
-#define BITP_SWU_CTL_TMEN 15 /* Trace Message Enable */
-#define BITP_SWU_CTL_TRGEN 14 /* Trigger Enable */
-#define BITP_SWU_CTL_INTEN 13 /* Interrupt Enable */
-#define BITP_SWU_CTL_DBGEN 12 /* Debug Event Enable */
-#define BITP_SWU_CTL_CNTRPTEN 9 /* Count Repeat Enable */
-#define BITP_SWU_CTL_CNTEN 8 /* Count Enable */
-#define BITP_SWU_CTL_LCMPEN 6 /* Locked Comparison Enable */
-#define BITP_SWU_CTL_SCMPEN 5 /* Secure Comparison Enable */
-#define BITP_SWU_CTL_IDCMPEN 4 /* ID Comparison Enable */
-#define BITP_SWU_CTL_ACMPM 2 /* Address Comparison Mode */
-#define BITP_SWU_CTL_DIR 1 /* Transaction Direction for Match */
-#define BITP_SWU_CTL_EN 0 /* Enable Watchpoint */
-#define BITM_SWU_CTL_MAXACT (_ADI_MSK(0x00080000,uint32_t)) /* Action for Bandwidth Above Maximum */
-#define BITM_SWU_CTL_MINACT (_ADI_MSK(0x00040000,uint32_t)) /* Action for Bandwidth Below Minimum */
-#define BITM_SWU_CTL_BLENINC (_ADI_MSK(0x00020000,uint32_t)) /* Increment Bandwidth Count by Burst Length */
-#define BITM_SWU_CTL_BWEN (_ADI_MSK(0x00010000,uint32_t)) /* Bandwidth Mode Enable */
-#define BITM_SWU_CTL_TMEN (_ADI_MSK(0x00008000,uint32_t)) /* Trace Message Enable */
-#define BITM_SWU_CTL_TRGEN (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Enable */
-#define BITM_SWU_CTL_INTEN (_ADI_MSK(0x00002000,uint32_t)) /* Interrupt Enable */
-#define BITM_SWU_CTL_DBGEN (_ADI_MSK(0x00001000,uint32_t)) /* Debug Event Enable */
-#define BITM_SWU_CTL_CNTRPTEN (_ADI_MSK(0x00000200,uint32_t)) /* Count Repeat Enable */
-#define BITM_SWU_CTL_CNTEN (_ADI_MSK(0x00000100,uint32_t)) /* Count Enable */
-#define BITM_SWU_CTL_LCMPEN (_ADI_MSK(0x00000040,uint32_t)) /* Locked Comparison Enable */
-#define BITM_SWU_CTL_SCMPEN (_ADI_MSK(0x00000020,uint32_t)) /* Secure Comparison Enable */
-#define BITM_SWU_CTL_IDCMPEN (_ADI_MSK(0x00000010,uint32_t)) /* ID Comparison Enable */
-#define BITM_SWU_CTL_ACMPM (_ADI_MSK(0x0000000C,uint32_t)) /* Address Comparison Mode */
-#define BITM_SWU_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* Transaction Direction for Match */
-#define BITM_SWU_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable Watchpoint */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_ID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_ID_IDMASK 16 /* Identity Mask (for Or with ID) */
-#define BITP_SWU_ID_ID 0 /* Identity */
-#define BITM_SWU_ID_IDMASK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Identity Mask (for Or with ID) */
-#define BITM_SWU_ID_ID (_ADI_MSK(0x0000FFFF,uint32_t)) /* Identity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CNT_COUNT 0 /* Count */
-#define BITM_SWU_CNT_COUNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_TARG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_TARG_BWMAX 16 /* Maximum Bandwidth Target */
-#define BITP_SWU_TARG_BWMIN 0 /* Minimum Bandwidth Target */
-#define BITM_SWU_TARG_BWMAX (_ADI_MSK(0xFFFF0000,uint32_t)) /* Maximum Bandwidth Target */
-#define BITM_SWU_TARG_BWMIN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Minimum Bandwidth Target */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_HIST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_HIST_BWHIST1 16 /* Bandwidth from Window Before Last */
-#define BITP_SWU_HIST_BWHIST0 0 /* Bandwidth from Last Window */
-#define BITM_SWU_HIST_BWHIST1 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Bandwidth from Window Before Last */
-#define BITM_SWU_HIST_BWHIST0 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth from Last Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CUR_CURBW 16 /* Current Bandwidth */
-#define BITP_SWU_CUR_CURCNT 0 /* Current Count */
-#define BITM_SWU_CUR_CURBW (_ADI_MSK(0xFFFF0000,uint32_t)) /* Current Bandwidth */
-#define BITM_SWU_CUR_CURCNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Current Count */
-
-/* ==================================================
- System Debug Unit Registers
- ================================================== */
-
-/* =========================
- SDU0
- ========================= */
-#define REG_SDU0_IDCODE 0xFFC1F020 /* SDU0 ID Code Register */
-#define REG_SDU0_CTL 0xFFC1F050 /* SDU0 Control Register */
-#define REG_SDU0_STAT 0xFFC1F054 /* SDU0 Status Register */
-#define REG_SDU0_MACCTL 0xFFC1F058 /* SDU0 Memory Access Control Register */
-#define REG_SDU0_MACADDR 0xFFC1F05C /* SDU0 Memory Access Address Register */
-#define REG_SDU0_MACDATA 0xFFC1F060 /* SDU0 Memory Access Data Register */
-#define REG_SDU0_DMARD 0xFFC1F064 /* SDU0 DMA Read Data Register */
-#define REG_SDU0_DMAWD 0xFFC1F068 /* SDU0 DMA Write Data Register */
-#define REG_SDU0_MSG 0xFFC1F080 /* SDU0 Message Register */
-#define REG_SDU0_MSG_SET 0xFFC1F084 /* SDU0 Message Set Register */
-#define REG_SDU0_MSG_CLR 0xFFC1F088 /* SDU0 Message Clear Register */
-#define REG_SDU0_GHLT 0xFFC1F08C /* SDU0 Group Halt Register */
-
-/* =========================
- SDU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_IDCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_IDCODE_REVID 28 /* Revision ID */
-#define BITP_SDU_IDCODE_PRID 12 /* Product ID */
-#define BITP_SDU_IDCODE_MFID 1 /* Manufacturer ID */
-#define BITM_SDU_IDCODE_REVID (_ADI_MSK(0xF0000000,uint32_t)) /* Revision ID */
-#define BITM_SDU_IDCODE_PRID (_ADI_MSK(0x0FFFF000,uint32_t)) /* Product ID */
-#define BITM_SDU_IDCODE_MFID (_ADI_MSK(0x00000FFE,uint32_t)) /* Manufacturer ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_CTL_EHLT 8 /* Emulator Halt Select */
-#define BITP_SDU_CTL_EMEEN 4 /* Emulation Event Enable */
-#define BITP_SDU_CTL_DMAEN 2 /* DMA Enable */
-#define BITP_SDU_CTL_CSPEN 1 /* Core Scan Path Enable */
-#define BITP_SDU_CTL_SYSRST 0 /* System Reset */
-#define BITM_SDU_CTL_EHLT (_ADI_MSK(0x0000FF00,uint32_t)) /* Emulator Halt Select */
-#define BITM_SDU_CTL_EMEEN (_ADI_MSK(0x00000010,uint32_t)) /* Emulation Event Enable */
-#define BITM_SDU_CTL_DMAEN (_ADI_MSK(0x00000004,uint32_t)) /* DMA Enable */
-#define BITM_SDU_CTL_CSPEN (_ADI_MSK(0x00000002,uint32_t)) /* Core Scan Path Enable */
-#define BITM_SDU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_STAT_CRST 22 /* Core Reset */
-#define BITP_SDU_STAT_CHLT 21 /* Core Halt */
-#define BITP_SDU_STAT_EME 20 /* Emulation Event */
-#define BITP_SDU_STAT_GHLTC 17 /* Group Halt Cause */
-#define BITP_SDU_STAT_GHLT 16 /* Group Halt */
-#define BITP_SDU_STAT_DMAFIFO 12 /* DMA FIFO */
-#define BITP_SDU_STAT_ADDRERR 11 /* Address Error */
-#define BITP_SDU_STAT_DMAWDRDY 10 /* DMAWD Ready */
-#define BITP_SDU_STAT_DMARDRDY 9 /* DMARD Ready */
-#define BITP_SDU_STAT_MACRDY 8 /* MAC Ready */
-#define BITP_SDU_STAT_ERRC 4 /* Error Cause */
-#define BITP_SDU_STAT_SECURE 3 /* Secure Mode */
-#define BITP_SDU_STAT_DEEPSLEEP 2 /* Deep Sleep Mode */
-#define BITP_SDU_STAT_ERR 1 /* Error */
-#define BITP_SDU_STAT_SYSRST 0 /* System Reset */
-#define BITM_SDU_STAT_CRST (_ADI_MSK(0x00400000,uint32_t)) /* Core Reset */
-#define BITM_SDU_STAT_CHLT (_ADI_MSK(0x00200000,uint32_t)) /* Core Halt */
-#define BITM_SDU_STAT_EME (_ADI_MSK(0x00100000,uint32_t)) /* Emulation Event */
-#define BITM_SDU_STAT_GHLTC (_ADI_MSK(0x000E0000,uint32_t)) /* Group Halt Cause */
-#define BITM_SDU_STAT_GHLT (_ADI_MSK(0x00010000,uint32_t)) /* Group Halt */
-#define BITM_SDU_STAT_DMAFIFO (_ADI_MSK(0x00007000,uint32_t)) /* DMA FIFO */
-#define BITM_SDU_STAT_ADDRERR (_ADI_MSK(0x00000800,uint32_t)) /* Address Error */
-#define BITM_SDU_STAT_DMAWDRDY (_ADI_MSK(0x00000400,uint32_t)) /* DMAWD Ready */
-#define BITM_SDU_STAT_DMARDRDY (_ADI_MSK(0x00000200,uint32_t)) /* DMARD Ready */
-#define BITM_SDU_STAT_MACRDY (_ADI_MSK(0x00000100,uint32_t)) /* MAC Ready */
-#define BITM_SDU_STAT_ERRC (_ADI_MSK(0x000000F0,uint32_t)) /* Error Cause */
-#define BITM_SDU_STAT_SECURE (_ADI_MSK(0x00000008,uint32_t)) /* Secure Mode */
-#define BITM_SDU_STAT_DEEPSLEEP (_ADI_MSK(0x00000004,uint32_t)) /* Deep Sleep Mode */
-#define BITM_SDU_STAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define BITM_SDU_STAT_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MACCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MACCTL_AUTOINC 4 /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITP_SDU_MACCTL_RNW 3 /* Read Not Write */
-#define BITP_SDU_MACCTL_SIZE 0 /* Transfer Data Size */
-#define BITM_SDU_MACCTL_AUTOINC (_ADI_MSK(0x00000010,uint32_t)) /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITM_SDU_MACCTL_RNW (_ADI_MSK(0x00000008,uint32_t)) /* Read Not Write */
-#define BITM_SDU_MACCTL_SIZE (_ADI_MSK(0x00000007,uint32_t)) /* Transfer Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MSG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MSG_CALLERR 31 /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITP_SDU_MSG_CALLBACK 30 /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITP_SDU_MSG_CALLINIT 29 /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITP_SDU_MSG_CALLAPP 28 /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITP_SDU_MSG_HALTONERR 27 /* Generate an Emulation Exception Prior to an Error Call */
-#define BITP_SDU_MSG_HALTONCALL 26 /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITP_SDU_MSG_HALTONINIT 25 /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITP_SDU_MSG_HALTONAPP 24 /* Generate an Emulation Exception Prior to an Application Call */
-#define BITP_SDU_MSG_L3INIT 23 /* Indicates that the L3 Resource is Initialized */
-#define BITP_SDU_MSG_L2INIT 22 /* Indicates that the L2 Resource is Initialized */
-#define BITP_SDU_MSG_C1L1INIT 17 /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITP_SDU_MSG_C0L1INIT 16 /* Indicates that the Core 0 L1 Resource is Initialized */
-#define BITM_SDU_MSG_CALLERR (_ADI_MSK(0x80000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITM_SDU_MSG_CALLBACK (_ADI_MSK(0x40000000,uint32_t)) /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITM_SDU_MSG_CALLINIT (_ADI_MSK(0x20000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITM_SDU_MSG_CALLAPP (_ADI_MSK(0x10000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITM_SDU_MSG_HALTONERR (_ADI_MSK(0x08000000,uint32_t)) /* Generate an Emulation Exception Prior to an Error Call */
-#define BITM_SDU_MSG_HALTONCALL (_ADI_MSK(0x04000000,uint32_t)) /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITM_SDU_MSG_HALTONINIT (_ADI_MSK(0x02000000,uint32_t)) /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITM_SDU_MSG_HALTONAPP (_ADI_MSK(0x01000000,uint32_t)) /* Generate an Emulation Exception Prior to an Application Call */
-#define BITM_SDU_MSG_L3INIT (_ADI_MSK(0x00800000,uint32_t)) /* Indicates that the L3 Resource is Initialized */
-#define BITM_SDU_MSG_L2INIT (_ADI_MSK(0x00400000,uint32_t)) /* Indicates that the L2 Resource is Initialized */
-#define BITM_SDU_MSG_C1L1INIT (_ADI_MSK(0x00020000,uint32_t)) /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITM_SDU_MSG_C0L1INIT (_ADI_MSK(0x00010000,uint32_t)) /* Indicates that the Core 0 L1 Resource is Initialized */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_GHLT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_GHLT_SS2 18 /* Slave Select 2 */
-#define BITP_SDU_GHLT_SS1 17 /* Slave Select 1 */
-#define BITP_SDU_GHLT_SS0 16 /* Slave Select 0 */
-#define BITP_SDU_GHLT_MS2 2 /* Master Select 2 */
-#define BITP_SDU_GHLT_MS1 1 /* Master Select 1 */
-#define BITP_SDU_GHLT_MS0 0 /* Master Select 0 */
-#define BITM_SDU_GHLT_SS2 (_ADI_MSK(0x00040000,uint32_t)) /* Slave Select 2 */
-#define BITM_SDU_GHLT_SS1 (_ADI_MSK(0x00020000,uint32_t)) /* Slave Select 1 */
-#define BITM_SDU_GHLT_SS0 (_ADI_MSK(0x00010000,uint32_t)) /* Slave Select 0 */
-#define BITM_SDU_GHLT_MS2 (_ADI_MSK(0x00000004,uint32_t)) /* Master Select 2 */
-#define BITM_SDU_GHLT_MS1 (_ADI_MSK(0x00000002,uint32_t)) /* Master Select 1 */
-#define BITM_SDU_GHLT_MS0 (_ADI_MSK(0x00000001,uint32_t)) /* Master Select 0 */
-
-/* ==================================================
- Ethernet MAC Registers
- ================================================== */
-
-/* =========================
- EMAC0
- ========================= */
-#define REG_EMAC0_MACCFG 0xFFC20000 /* EMAC0 MAC Configuration Register */
-#define REG_EMAC0_MACFRMFILT 0xFFC20004 /* EMAC0 MAC Rx Frame Filter Register */
-#define REG_EMAC0_HASHTBL_HI 0xFFC20008 /* EMAC0 Hash Table High Register */
-#define REG_EMAC0_HASHTBL_LO 0xFFC2000C /* EMAC0 Hash Table Low Register */
-#define REG_EMAC0_SMI_ADDR 0xFFC20010 /* EMAC0 SMI Address Register */
-#define REG_EMAC0_SMI_DATA 0xFFC20014 /* EMAC0 SMI Data Register */
-#define REG_EMAC0_FLOWCTL 0xFFC20018 /* EMAC0 FLow Control Register */
-#define REG_EMAC0_VLANTAG 0xFFC2001C /* EMAC0 VLAN Tag Register */
-#define REG_EMAC0_DBG 0xFFC20024 /* EMAC0 Debug Register */
-#define REG_EMAC0_ISTAT 0xFFC20038 /* EMAC0 Interrupt Status Register */
-#define REG_EMAC0_IMSK 0xFFC2003C /* EMAC0 Interrupt Mask Register */
-#define REG_EMAC0_ADDR0_HI 0xFFC20040 /* EMAC0 MAC Address 0 High Register */
-#define REG_EMAC0_ADDR0_LO 0xFFC20044 /* EMAC0 MAC Address 0 Low Register */
-#define REG_EMAC0_MMC_CTL 0xFFC20100 /* EMAC0 MMC Control Register */
-#define REG_EMAC0_MMC_RXINT 0xFFC20104 /* EMAC0 MMC Rx Interrupt Register */
-#define REG_EMAC0_MMC_TXINT 0xFFC20108 /* EMAC0 MMC Tx Interrupt Register */
-#define REG_EMAC0_MMC_RXIMSK 0xFFC2010C /* EMAC0 MMC Rx Interrupt Mask Register */
-#define REG_EMAC0_MMC_TXIMSK 0xFFC20110 /* EMAC0 MMC TX Interrupt Mask Register */
-#define REG_EMAC0_TXOCTCNT_GB 0xFFC20114 /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC0_TXFRMCNT_GB 0xFFC20118 /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_G 0xFFC2011C /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC0_TXMCASTFRM_G 0xFFC20120 /* EMAC0 Tx Multicast Frames (Good) Register */
-#define REG_EMAC0_TX64_GB 0xFFC20124 /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX65TO127_GB 0xFFC20128 /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX128TO255_GB 0xFFC2012C /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX256TO511_GB 0xFFC20130 /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX512TO1023_GB 0xFFC20134 /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX1024TOMAX_GB 0xFFC20138 /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUCASTFRM_GB 0xFFC2013C /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXMCASTFRM_GB 0xFFC20140 /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_GB 0xFFC20144 /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUNDR_ERR 0xFFC20148 /* EMAC0 Tx Underflow Error Register */
-#define REG_EMAC0_TXSNGCOL_G 0xFFC2014C /* EMAC0 Tx Single Collision (Good) Register */
-#define REG_EMAC0_TXMULTCOL_G 0xFFC20150 /* EMAC0 Tx Multiple Collision (Good) Register */
-#define REG_EMAC0_TXDEFERRED 0xFFC20154 /* EMAC0 Tx Deferred Register */
-#define REG_EMAC0_TXLATECOL 0xFFC20158 /* EMAC0 Tx Late Collision Register */
-#define REG_EMAC0_TXEXCESSCOL 0xFFC2015C /* EMAC0 Tx Excess Collision Register */
-#define REG_EMAC0_TXCARR_ERR 0xFFC20160 /* EMAC0 Tx Carrier Error Register */
-#define REG_EMAC0_TXOCTCNT_G 0xFFC20164 /* EMAC0 Tx Octet Count (Good) Register */
-#define REG_EMAC0_TXFRMCNT_G 0xFFC20168 /* EMAC0 Tx Frame Count (Good) Register */
-#define REG_EMAC0_TXEXCESSDEF 0xFFC2016C /* EMAC0 Tx Excess Deferral Register */
-#define REG_EMAC0_TXPAUSEFRM 0xFFC20170 /* EMAC0 Tx Pause Frame Register */
-#define REG_EMAC0_TXVLANFRM_G 0xFFC20174 /* EMAC0 Tx VLAN Frames (Good) Register */
-#define REG_EMAC0_RXFRMCNT_GB 0xFFC20180 /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_GB 0xFFC20184 /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_G 0xFFC20188 /* EMAC0 Rx Octet Count (Good) Register */
-#define REG_EMAC0_RXBCASTFRM_G 0xFFC2018C /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC0_RXMCASTFRM_G 0xFFC20190 /* EMAC0 Rx Multicast Frames (Good) Register */
-#define REG_EMAC0_RXCRC_ERR 0xFFC20194 /* EMAC0 Rx CRC Error Register */
-#define REG_EMAC0_RXALIGN_ERR 0xFFC20198 /* EMAC0 Rx alignment Error Register */
-#define REG_EMAC0_RXRUNT_ERR 0xFFC2019C /* EMAC0 Rx Runt Error Register */
-#define REG_EMAC0_RXJAB_ERR 0xFFC201A0 /* EMAC0 Rx Jab Error Register */
-#define REG_EMAC0_RXUSIZE_G 0xFFC201A4 /* EMAC0 Rx Undersize (Good) Register */
-#define REG_EMAC0_RXOSIZE_G 0xFFC201A8 /* EMAC0 Rx Oversize (Good) Register */
-#define REG_EMAC0_RX64_GB 0xFFC201AC /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX65TO127_GB 0xFFC201B0 /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX128TO255_GB 0xFFC201B4 /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX256TO511_GB 0xFFC201B8 /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX512TO1023_GB 0xFFC201BC /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX1024TOMAX_GB 0xFFC201C0 /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RXUCASTFRM_G 0xFFC201C4 /* EMAC0 Rx Unicast Frames (Good) Register */
-#define REG_EMAC0_RXLEN_ERR 0xFFC201C8 /* EMAC0 Rx Length Error Register */
-#define REG_EMAC0_RXOORTYPE 0xFFC201CC /* EMAC0 Rx Out Of Range Type Register */
-#define REG_EMAC0_RXPAUSEFRM 0xFFC201D0 /* EMAC0 Rx Pause Frames Register */
-#define REG_EMAC0_RXFIFO_OVF 0xFFC201D4 /* EMAC0 Rx FIFO Overflow Register */
-#define REG_EMAC0_RXVLANFRM_GB 0xFFC201D8 /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC0_RXWDOG_ERR 0xFFC201DC /* EMAC0 Rx Watch Dog Error Register */
-#define REG_EMAC0_IPC_RXIMSK 0xFFC20200 /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC0_IPC_RXINT 0xFFC20208 /* EMAC0 MMC IPC Rx Interrupt Register */
-#define REG_EMAC0_RXIPV4_GD_FRM 0xFFC20210 /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_FRM 0xFFC20214 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_FRM 0xFFC20218 /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC0_RXIPV4_FRAG_FRM 0xFFC2021C /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC0_RXIPV4_UDSBL_FRM 0xFFC20220 /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC0_RXIPV6_GD_FRM 0xFFC20224 /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_FRM 0xFFC20228 /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC0_RXIPV6_NOPAY_FRM 0xFFC2022C /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC0_RXUDP_GD_FRM 0xFFC20230 /* EMAC0 Rx UDP Good Frames Register */
-#define REG_EMAC0_RXUDP_ERR_FRM 0xFFC20234 /* EMAC0 Rx UDP Error Frames Register */
-#define REG_EMAC0_RXTCP_GD_FRM 0xFFC20238 /* EMAC0 Rx TCP Good Frames Register */
-#define REG_EMAC0_RXTCP_ERR_FRM 0xFFC2023C /* EMAC0 Rx TCP Error Frames Register */
-#define REG_EMAC0_RXICMP_GD_FRM 0xFFC20240 /* EMAC0 Rx ICMP Good Frames Register */
-#define REG_EMAC0_RXICMP_ERR_FRM 0xFFC20244 /* EMAC0 Rx ICMP Error Frames Register */
-#define REG_EMAC0_RXIPV4_GD_OCT 0xFFC20250 /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_OCT 0xFFC20254 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_OCT 0xFFC20258 /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC0_RXIPV4_FRAG_OCT 0xFFC2025C /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC0_RXIPV4_UDSBL_OCT 0xFFC20260 /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC0_RXIPV6_GD_OCT 0xFFC20264 /* EMAC0 Rx IPv6 Good Octets Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_OCT 0xFFC20268 /* EMAC0 Rx IPv6 Header Errors Register */
-#define REG_EMAC0_RXIPV6_NOPAY_OCT 0xFFC2026C /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC0_RXUDP_GD_OCT 0xFFC20270 /* EMAC0 Rx UDP Good Octets Register */
-#define REG_EMAC0_RXUDP_ERR_OCT 0xFFC20274 /* EMAC0 Rx UDP Error Octets Register */
-#define REG_EMAC0_RXTCP_GD_OCT 0xFFC20278 /* EMAC0 Rx TCP Good Octets Register */
-#define REG_EMAC0_RXTCP_ERR_OCT 0xFFC2027C /* EMAC0 Rx TCP Error Octets Register */
-#define REG_EMAC0_RXICMP_GD_OCT 0xFFC20280 /* EMAC0 Rx ICMP Good Octets Register */
-#define REG_EMAC0_RXICMP_ERR_OCT 0xFFC20284 /* EMAC0 Rx ICMP Error Octets Register */
-#define REG_EMAC0_TM_CTL 0xFFC20700 /* EMAC0 Time Stamp Control Register */
-#define REG_EMAC0_TM_SUBSEC 0xFFC20704 /* EMAC0 Time Stamp Sub Second Increment Register */
-#define REG_EMAC0_TM_SEC 0xFFC20708 /* EMAC0 Time Stamp Low Seconds Register */
-#define REG_EMAC0_TM_NSEC 0xFFC2070C /* EMAC0 Time Stamp Nano Seconds Register */
-#define REG_EMAC0_TM_SECUPDT 0xFFC20710 /* EMAC0 Time Stamp Seconds Update Register */
-#define REG_EMAC0_TM_NSECUPDT 0xFFC20714 /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC0_TM_ADDEND 0xFFC20718 /* EMAC0 Time Stamp Addend Register */
-#define REG_EMAC0_TM_TGTM 0xFFC2071C /* EMAC0 Time Stamp Target Time Seconds Register */
-#define REG_EMAC0_TM_NTGTM 0xFFC20720 /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC0_TM_HISEC 0xFFC20724 /* EMAC0 Time Stamp High Second Register */
-#define REG_EMAC0_TM_STMPSTAT 0xFFC20728 /* EMAC0 Time Stamp Status Register */
-#define REG_EMAC0_TM_PPSCTL 0xFFC2072C /* EMAC0 PPS Control Register */
-#define REG_EMAC0_TM_AUXSTMP_NSEC 0xFFC20730 /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC0_TM_AUXSTMP_SEC 0xFFC20734 /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC0_TM_PPSINTVL 0xFFC20760 /* EMAC0 Time Stamp PPS Interval Register */
-#define REG_EMAC0_TM_PPSWIDTH 0xFFC20764 /* EMAC0 PPS Width Register */
-#define REG_EMAC0_DMA_BUSMODE 0xFFC21000 /* EMAC0 DMA Bus Mode Register */
-#define REG_EMAC0_DMA_TXPOLL 0xFFC21004 /* EMAC0 DMA Tx Poll Demand Register */
-#define REG_EMAC0_DMA_RXPOLL 0xFFC21008 /* EMAC0 DMA Rx Poll Demand register */
-#define REG_EMAC0_DMA_RXDSC_ADDR 0xFFC2100C /* EMAC0 DMA Rx Descriptor List Address Register */
-#define REG_EMAC0_DMA_TXDSC_ADDR 0xFFC21010 /* EMAC0 DMA Tx Descriptor List Address Register */
-#define REG_EMAC0_DMA_STAT 0xFFC21014 /* EMAC0 DMA Status Register */
-#define REG_EMAC0_DMA_OPMODE 0xFFC21018 /* EMAC0 DMA Operation Mode Register */
-#define REG_EMAC0_DMA_IEN 0xFFC2101C /* EMAC0 DMA Interrupt Enable Register */
-#define REG_EMAC0_DMA_MISS_FRM 0xFFC21020 /* EMAC0 DMA Missed Frame Register */
-#define REG_EMAC0_DMA_RXIWDOG 0xFFC21024 /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC0_DMA_BMMODE 0xFFC21028 /* EMAC0 DMA SCB Bus Mode Register */
-#define REG_EMAC0_DMA_BMSTAT 0xFFC2102C /* EMAC0 DMA SCB Status Register */
-#define REG_EMAC0_DMA_TXDSC_CUR 0xFFC21048 /* EMAC0 DMA Tx Descriptor Current Register */
-#define REG_EMAC0_DMA_RXDSC_CUR 0xFFC2104C /* EMAC0 DMA Rx Descriptor Current Register */
-#define REG_EMAC0_DMA_TXBUF_CUR 0xFFC21050 /* EMAC0 DMA Tx Buffer Current Register */
-#define REG_EMAC0_DMA_RXBUF_CUR 0xFFC21054 /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC1
- ========================= */
-#define REG_EMAC1_MACCFG 0xFFC22000 /* EMAC1 MAC Configuration Register */
-#define REG_EMAC1_MACFRMFILT 0xFFC22004 /* EMAC1 MAC Rx Frame Filter Register */
-#define REG_EMAC1_HASHTBL_HI 0xFFC22008 /* EMAC1 Hash Table High Register */
-#define REG_EMAC1_HASHTBL_LO 0xFFC2200C /* EMAC1 Hash Table Low Register */
-#define REG_EMAC1_SMI_ADDR 0xFFC22010 /* EMAC1 SMI Address Register */
-#define REG_EMAC1_SMI_DATA 0xFFC22014 /* EMAC1 SMI Data Register */
-#define REG_EMAC1_FLOWCTL 0xFFC22018 /* EMAC1 FLow Control Register */
-#define REG_EMAC1_VLANTAG 0xFFC2201C /* EMAC1 VLAN Tag Register */
-#define REG_EMAC1_DBG 0xFFC22024 /* EMAC1 Debug Register */
-#define REG_EMAC1_ISTAT 0xFFC22038 /* EMAC1 Interrupt Status Register */
-#define REG_EMAC1_IMSK 0xFFC2203C /* EMAC1 Interrupt Mask Register */
-#define REG_EMAC1_ADDR0_HI 0xFFC22040 /* EMAC1 MAC Address 0 High Register */
-#define REG_EMAC1_ADDR0_LO 0xFFC22044 /* EMAC1 MAC Address 0 Low Register */
-#define REG_EMAC1_MMC_CTL 0xFFC22100 /* EMAC1 MMC Control Register */
-#define REG_EMAC1_MMC_RXINT 0xFFC22104 /* EMAC1 MMC Rx Interrupt Register */
-#define REG_EMAC1_MMC_TXINT 0xFFC22108 /* EMAC1 MMC Tx Interrupt Register */
-#define REG_EMAC1_MMC_RXIMSK 0xFFC2210C /* EMAC1 MMC Rx Interrupt Mask Register */
-#define REG_EMAC1_MMC_TXIMSK 0xFFC22110 /* EMAC1 MMC TX Interrupt Mask Register */
-#define REG_EMAC1_TXOCTCNT_GB 0xFFC22114 /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC1_TXFRMCNT_GB 0xFFC22118 /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_G 0xFFC2211C /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC1_TXMCASTFRM_G 0xFFC22120 /* EMAC1 Tx Multicast Frames (Good) Register */
-#define REG_EMAC1_TX64_GB 0xFFC22124 /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX65TO127_GB 0xFFC22128 /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX128TO255_GB 0xFFC2212C /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX256TO511_GB 0xFFC22130 /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX512TO1023_GB 0xFFC22134 /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX1024TOMAX_GB 0xFFC22138 /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUCASTFRM_GB 0xFFC2213C /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXMCASTFRM_GB 0xFFC22140 /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_GB 0xFFC22144 /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUNDR_ERR 0xFFC22148 /* EMAC1 Tx Underflow Error Register */
-#define REG_EMAC1_TXSNGCOL_G 0xFFC2214C /* EMAC1 Tx Single Collision (Good) Register */
-#define REG_EMAC1_TXMULTCOL_G 0xFFC22150 /* EMAC1 Tx Multiple Collision (Good) Register */
-#define REG_EMAC1_TXDEFERRED 0xFFC22154 /* EMAC1 Tx Deferred Register */
-#define REG_EMAC1_TXLATECOL 0xFFC22158 /* EMAC1 Tx Late Collision Register */
-#define REG_EMAC1_TXEXCESSCOL 0xFFC2215C /* EMAC1 Tx Excess Collision Register */
-#define REG_EMAC1_TXCARR_ERR 0xFFC22160 /* EMAC1 Tx Carrier Error Register */
-#define REG_EMAC1_TXOCTCNT_G 0xFFC22164 /* EMAC1 Tx Octet Count (Good) Register */
-#define REG_EMAC1_TXFRMCNT_G 0xFFC22168 /* EMAC1 Tx Frame Count (Good) Register */
-#define REG_EMAC1_TXEXCESSDEF 0xFFC2216C /* EMAC1 Tx Excess Deferral Register */
-#define REG_EMAC1_TXPAUSEFRM 0xFFC22170 /* EMAC1 Tx Pause Frame Register */
-#define REG_EMAC1_TXVLANFRM_G 0xFFC22174 /* EMAC1 Tx VLAN Frames (Good) Register */
-#define REG_EMAC1_RXFRMCNT_GB 0xFFC22180 /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_GB 0xFFC22184 /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_G 0xFFC22188 /* EMAC1 Rx Octet Count (Good) Register */
-#define REG_EMAC1_RXBCASTFRM_G 0xFFC2218C /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC1_RXMCASTFRM_G 0xFFC22190 /* EMAC1 Rx Multicast Frames (Good) Register */
-#define REG_EMAC1_RXCRC_ERR 0xFFC22194 /* EMAC1 Rx CRC Error Register */
-#define REG_EMAC1_RXALIGN_ERR 0xFFC22198 /* EMAC1 Rx alignment Error Register */
-#define REG_EMAC1_RXRUNT_ERR 0xFFC2219C /* EMAC1 Rx Runt Error Register */
-#define REG_EMAC1_RXJAB_ERR 0xFFC221A0 /* EMAC1 Rx Jab Error Register */
-#define REG_EMAC1_RXUSIZE_G 0xFFC221A4 /* EMAC1 Rx Undersize (Good) Register */
-#define REG_EMAC1_RXOSIZE_G 0xFFC221A8 /* EMAC1 Rx Oversize (Good) Register */
-#define REG_EMAC1_RX64_GB 0xFFC221AC /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX65TO127_GB 0xFFC221B0 /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX128TO255_GB 0xFFC221B4 /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX256TO511_GB 0xFFC221B8 /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX512TO1023_GB 0xFFC221BC /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX1024TOMAX_GB 0xFFC221C0 /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RXUCASTFRM_G 0xFFC221C4 /* EMAC1 Rx Unicast Frames (Good) Register */
-#define REG_EMAC1_RXLEN_ERR 0xFFC221C8 /* EMAC1 Rx Length Error Register */
-#define REG_EMAC1_RXOORTYPE 0xFFC221CC /* EMAC1 Rx Out Of Range Type Register */
-#define REG_EMAC1_RXPAUSEFRM 0xFFC221D0 /* EMAC1 Rx Pause Frames Register */
-#define REG_EMAC1_RXFIFO_OVF 0xFFC221D4 /* EMAC1 Rx FIFO Overflow Register */
-#define REG_EMAC1_RXVLANFRM_GB 0xFFC221D8 /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC1_RXWDOG_ERR 0xFFC221DC /* EMAC1 Rx Watch Dog Error Register */
-#define REG_EMAC1_IPC_RXIMSK 0xFFC22200 /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC1_IPC_RXINT 0xFFC22208 /* EMAC1 MMC IPC Rx Interrupt Register */
-#define REG_EMAC1_RXIPV4_GD_FRM 0xFFC22210 /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_FRM 0xFFC22214 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_FRM 0xFFC22218 /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC1_RXIPV4_FRAG_FRM 0xFFC2221C /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC1_RXIPV4_UDSBL_FRM 0xFFC22220 /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC1_RXIPV6_GD_FRM 0xFFC22224 /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_FRM 0xFFC22228 /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC1_RXIPV6_NOPAY_FRM 0xFFC2222C /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC1_RXUDP_GD_FRM 0xFFC22230 /* EMAC1 Rx UDP Good Frames Register */
-#define REG_EMAC1_RXUDP_ERR_FRM 0xFFC22234 /* EMAC1 Rx UDP Error Frames Register */
-#define REG_EMAC1_RXTCP_GD_FRM 0xFFC22238 /* EMAC1 Rx TCP Good Frames Register */
-#define REG_EMAC1_RXTCP_ERR_FRM 0xFFC2223C /* EMAC1 Rx TCP Error Frames Register */
-#define REG_EMAC1_RXICMP_GD_FRM 0xFFC22240 /* EMAC1 Rx ICMP Good Frames Register */
-#define REG_EMAC1_RXICMP_ERR_FRM 0xFFC22244 /* EMAC1 Rx ICMP Error Frames Register */
-#define REG_EMAC1_RXIPV4_GD_OCT 0xFFC22250 /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_OCT 0xFFC22254 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_OCT 0xFFC22258 /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC1_RXIPV4_FRAG_OCT 0xFFC2225C /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC1_RXIPV4_UDSBL_OCT 0xFFC22260 /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC1_RXIPV6_GD_OCT 0xFFC22264 /* EMAC1 Rx IPv6 Good Octets Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_OCT 0xFFC22268 /* EMAC1 Rx IPv6 Header Errors Register */
-#define REG_EMAC1_RXIPV6_NOPAY_OCT 0xFFC2226C /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC1_RXUDP_GD_OCT 0xFFC22270 /* EMAC1 Rx UDP Good Octets Register */
-#define REG_EMAC1_RXUDP_ERR_OCT 0xFFC22274 /* EMAC1 Rx UDP Error Octets Register */
-#define REG_EMAC1_RXTCP_GD_OCT 0xFFC22278 /* EMAC1 Rx TCP Good Octets Register */
-#define REG_EMAC1_RXTCP_ERR_OCT 0xFFC2227C /* EMAC1 Rx TCP Error Octets Register */
-#define REG_EMAC1_RXICMP_GD_OCT 0xFFC22280 /* EMAC1 Rx ICMP Good Octets Register */
-#define REG_EMAC1_RXICMP_ERR_OCT 0xFFC22284 /* EMAC1 Rx ICMP Error Octets Register */
-#define REG_EMAC1_TM_CTL 0xFFC22700 /* EMAC1 Time Stamp Control Register */
-#define REG_EMAC1_TM_SUBSEC 0xFFC22704 /* EMAC1 Time Stamp Sub Second Increment Register */
-#define REG_EMAC1_TM_SEC 0xFFC22708 /* EMAC1 Time Stamp Low Seconds Register */
-#define REG_EMAC1_TM_NSEC 0xFFC2270C /* EMAC1 Time Stamp Nano Seconds Register */
-#define REG_EMAC1_TM_SECUPDT 0xFFC22710 /* EMAC1 Time Stamp Seconds Update Register */
-#define REG_EMAC1_TM_NSECUPDT 0xFFC22714 /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC1_TM_ADDEND 0xFFC22718 /* EMAC1 Time Stamp Addend Register */
-#define REG_EMAC1_TM_TGTM 0xFFC2271C /* EMAC1 Time Stamp Target Time Seconds Register */
-#define REG_EMAC1_TM_NTGTM 0xFFC22720 /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC1_TM_HISEC 0xFFC22724 /* EMAC1 Time Stamp High Second Register */
-#define REG_EMAC1_TM_STMPSTAT 0xFFC22728 /* EMAC1 Time Stamp Status Register */
-#define REG_EMAC1_TM_PPSCTL 0xFFC2272C /* EMAC1 PPS Control Register */
-#define REG_EMAC1_TM_AUXSTMP_NSEC 0xFFC22730 /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC1_TM_AUXSTMP_SEC 0xFFC22734 /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC1_TM_PPSINTVL 0xFFC22760 /* EMAC1 Time Stamp PPS Interval Register */
-#define REG_EMAC1_TM_PPSWIDTH 0xFFC22764 /* EMAC1 PPS Width Register */
-#define REG_EMAC1_DMA_BUSMODE 0xFFC23000 /* EMAC1 DMA Bus Mode Register */
-#define REG_EMAC1_DMA_TXPOLL 0xFFC23004 /* EMAC1 DMA Tx Poll Demand Register */
-#define REG_EMAC1_DMA_RXPOLL 0xFFC23008 /* EMAC1 DMA Rx Poll Demand register */
-#define REG_EMAC1_DMA_RXDSC_ADDR 0xFFC2300C /* EMAC1 DMA Rx Descriptor List Address Register */
-#define REG_EMAC1_DMA_TXDSC_ADDR 0xFFC23010 /* EMAC1 DMA Tx Descriptor List Address Register */
-#define REG_EMAC1_DMA_STAT 0xFFC23014 /* EMAC1 DMA Status Register */
-#define REG_EMAC1_DMA_OPMODE 0xFFC23018 /* EMAC1 DMA Operation Mode Register */
-#define REG_EMAC1_DMA_IEN 0xFFC2301C /* EMAC1 DMA Interrupt Enable Register */
-#define REG_EMAC1_DMA_MISS_FRM 0xFFC23020 /* EMAC1 DMA Missed Frame Register */
-#define REG_EMAC1_DMA_RXIWDOG 0xFFC23024 /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC1_DMA_BMMODE 0xFFC23028 /* EMAC1 DMA SCB Bus Mode Register */
-#define REG_EMAC1_DMA_BMSTAT 0xFFC2302C /* EMAC1 DMA SCB Status Register */
-#define REG_EMAC1_DMA_TXDSC_CUR 0xFFC23048 /* EMAC1 DMA Tx Descriptor Current Register */
-#define REG_EMAC1_DMA_RXDSC_CUR 0xFFC2304C /* EMAC1 DMA Rx Descriptor Current Register */
-#define REG_EMAC1_DMA_TXBUF_CUR 0xFFC23050 /* EMAC1 DMA Tx Buffer Current Register */
-#define REG_EMAC1_DMA_RXBUF_CUR 0xFFC23054 /* EMAC1 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACCFG_CST 25 /* CRC Stripping */
-#define BITP_EMAC_MACCFG_WD 23 /* Watch Dog Disable */
-#define BITP_EMAC_MACCFG_JB 22 /* Jabber Disable */
-#define BITP_EMAC_MACCFG_JE 20 /* Jumbo Frame Enable */
-#define BITP_EMAC_MACCFG_IFG 17 /* Inter Frame Gap */
-#define BITP_EMAC_MACCFG_DCRS 16 /* Disable Carrier Sense */
-#define BITP_EMAC_MACCFG_FES 14 /* Speed of Operation */
-#define BITP_EMAC_MACCFG_DO 13 /* Disable Receive Own */
-#define BITP_EMAC_MACCFG_LM 12 /* Loopback Mode */
-#define BITP_EMAC_MACCFG_DM 11 /* Duplex Mode */
-#define BITP_EMAC_MACCFG_IPC 10 /* IP Checksum */
-#define BITP_EMAC_MACCFG_DR 9 /* Disable Retry */
-#define BITP_EMAC_MACCFG_ACS 7 /* Automatic Pad/CRC Stripping */
-#define BITP_EMAC_MACCFG_BL 5 /* Back Off Limit */
-#define BITP_EMAC_MACCFG_DC 4 /* Deferral Check */
-#define BITP_EMAC_MACCFG_TE 3 /* Transmitter Enable */
-#define BITP_EMAC_MACCFG_RE 2 /* Receiver Enable */
-#define BITM_EMAC_MACCFG_CST (_ADI_MSK(0x02000000,uint32_t)) /* CRC Stripping */
-#define BITM_EMAC_MACCFG_WD (_ADI_MSK(0x00800000,uint32_t)) /* Watch Dog Disable */
-#define BITM_EMAC_MACCFG_JB (_ADI_MSK(0x00400000,uint32_t)) /* Jabber Disable */
-#define BITM_EMAC_MACCFG_JE (_ADI_MSK(0x00100000,uint32_t)) /* Jumbo Frame Enable */
-
-#define BITM_EMAC_MACCFG_IFG (_ADI_MSK(0x000E0000,uint32_t)) /* Inter Frame Gap */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_96 (_ADI_MSK(0x00000000,uint32_t)) /* IFG: 96 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_88 (_ADI_MSK(0x00020000,uint32_t)) /* IFG: 88 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_80 (_ADI_MSK(0x00040000,uint32_t)) /* IFG: 80 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_72 (_ADI_MSK(0x00060000,uint32_t)) /* IFG: 72 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_64 (_ADI_MSK(0x00080000,uint32_t)) /* IFG: 64 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_56 (_ADI_MSK(0x000A0000,uint32_t)) /* IFG: 56 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_48 (_ADI_MSK(0x000C0000,uint32_t)) /* IFG: 48 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_40 (_ADI_MSK(0x000E0000,uint32_t)) /* IFG: 40 bit times */
-#define BITM_EMAC_MACCFG_DCRS (_ADI_MSK(0x00010000,uint32_t)) /* Disable Carrier Sense */
-#define BITM_EMAC_MACCFG_FES (_ADI_MSK(0x00004000,uint32_t)) /* Speed of Operation */
-#define BITM_EMAC_MACCFG_DO (_ADI_MSK(0x00002000,uint32_t)) /* Disable Receive Own */
-#define BITM_EMAC_MACCFG_LM (_ADI_MSK(0x00001000,uint32_t)) /* Loopback Mode */
-#define BITM_EMAC_MACCFG_DM (_ADI_MSK(0x00000800,uint32_t)) /* Duplex Mode */
-#define BITM_EMAC_MACCFG_IPC (_ADI_MSK(0x00000400,uint32_t)) /* IP Checksum */
-
-#define BITM_EMAC_MACCFG_DR (_ADI_MSK(0x00000200,uint32_t)) /* Disable Retry */
-#define ENUM_EMAC_MACCFG_RETRY_ENABLED (_ADI_MSK(0x00000000,uint32_t)) /* DR: Retry enabled */
-#define ENUM_EMAC_MACCFG_RETRY_DISABLED (_ADI_MSK(0x00000200,uint32_t)) /* DR: Retry disabled */
-#define BITM_EMAC_MACCFG_ACS (_ADI_MSK(0x00000080,uint32_t)) /* Automatic Pad/CRC Stripping */
-
-#define BITM_EMAC_MACCFG_BL (_ADI_MSK(0x00000060,uint32_t)) /* Back Off Limit */
-#define ENUM_EMAC_MACCFG_BL_10 (_ADI_MSK(0x00000000,uint32_t)) /* BL: k = min (n, 10) */
-#define ENUM_EMAC_MACCFG_BL_8 (_ADI_MSK(0x00000020,uint32_t)) /* BL: k = min (n, 8) */
-#define ENUM_EMAC_MACCFG_BL_4 (_ADI_MSK(0x00000040,uint32_t)) /* BL: k = min (n, 4) */
-#define ENUM_EMAC_MACCFG_BL_1 (_ADI_MSK(0x00000060,uint32_t)) /* BL: k = min (n, 1) */
-#define BITM_EMAC_MACCFG_DC (_ADI_MSK(0x00000010,uint32_t)) /* Deferral Check */
-#define BITM_EMAC_MACCFG_TE (_ADI_MSK(0x00000008,uint32_t)) /* Transmitter Enable */
-#define BITM_EMAC_MACCFG_RE (_ADI_MSK(0x00000004,uint32_t)) /* Receiver Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACFRMFILT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACFRMFILT_RA 31 /* Receive All Frames */
-#define BITP_EMAC_MACFRMFILT_HPF 10 /* Hash or Perfect Filter */
-#define BITP_EMAC_MACFRMFILT_PCF 6 /* Pass Control Frames */
-#define BITP_EMAC_MACFRMFILT_DBF 5 /* Disable Broadcast Frames */
-#define BITP_EMAC_MACFRMFILT_PM 4 /* Pass All Multicast Frames */
-#define BITP_EMAC_MACFRMFILT_DAIF 3 /* Destination Address Inverse Filtering */
-#define BITP_EMAC_MACFRMFILT_HMC 2 /* Hash Multicast */
-#define BITP_EMAC_MACFRMFILT_HUC 1 /* Hash Unicast */
-#define BITP_EMAC_MACFRMFILT_PR 0 /* Promiscuous Mode */
-#define BITM_EMAC_MACFRMFILT_RA (_ADI_MSK(0x80000000,uint32_t)) /* Receive All Frames */
-#define BITM_EMAC_MACFRMFILT_HPF (_ADI_MSK(0x00000400,uint32_t)) /* Hash or Perfect Filter */
-
-#define BITM_EMAC_MACFRMFILT_PCF (_ADI_MSK(0x000000C0,uint32_t)) /* Pass Control Frames */
-#define ENUM_EMAC_MACFRMFILT_FILT_ALL (_ADI_MSK(0x00000000,uint32_t)) /* PCF: Pass no control frames */
-#define ENUM_EMAC_MACFRMFILT_NO_PAUSE (_ADI_MSK(0x00000040,uint32_t)) /* PCF: Pass no PAUSE frames */
-#define ENUM_EMAC_MACFRMFILT_FWD_ALL (_ADI_MSK(0x00000080,uint32_t)) /* PCF: Pass all control frames */
-#define ENUM_EMAC_MACFRMFILT_PADR_FILT (_ADI_MSK(0x000000C0,uint32_t)) /* PCF: Pass address filtered control frames */
-
-#define BITM_EMAC_MACFRMFILT_DBF (_ADI_MSK(0x00000020,uint32_t)) /* Disable Broadcast Frames */
-#define ENUM_EMAC_MACFRMFILT_DIS_BCAST (_ADI_MSK(0x00000000,uint32_t)) /* DBF: AFM module passes all received broadcast frames */
-#define ENUM_EMAC_MACFRMFILT_EN_BCAST (_ADI_MSK(0x00000020,uint32_t)) /* DBF: AFM module filters all incoming broadcast frames */
-#define BITM_EMAC_MACFRMFILT_PM (_ADI_MSK(0x00000010,uint32_t)) /* Pass All Multicast Frames */
-#define BITM_EMAC_MACFRMFILT_DAIF (_ADI_MSK(0x00000008,uint32_t)) /* Destination Address Inverse Filtering */
-#define BITM_EMAC_MACFRMFILT_HMC (_ADI_MSK(0x00000004,uint32_t)) /* Hash Multicast */
-#define BITM_EMAC_MACFRMFILT_HUC (_ADI_MSK(0x00000002,uint32_t)) /* Hash Unicast */
-#define BITM_EMAC_MACFRMFILT_PR (_ADI_MSK(0x00000001,uint32_t)) /* Promiscuous Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_ADDR_PA 11 /* Physical Layer Address */
-#define BITP_EMAC_SMI_ADDR_SMIR 6 /* SMI Register Address */
-#define BITP_EMAC_SMI_ADDR_CR 2 /* Clock Range */
-#define BITP_EMAC_SMI_ADDR_SMIW 1 /* SMI Write */
-#define BITP_EMAC_SMI_ADDR_SMIB 0 /* SMI Busy */
-#define BITM_EMAC_SMI_ADDR_PA (_ADI_MSK(0x0000F800,uint32_t)) /* Physical Layer Address */
-#define BITM_EMAC_SMI_ADDR_SMIR (_ADI_MSK(0x000007C0,uint32_t)) /* SMI Register Address */
-#define BITM_EMAC_SMI_ADDR_CR (_ADI_MSK(0x0000003C,uint32_t)) /* Clock Range */
-#define BITM_EMAC_SMI_ADDR_SMIW (_ADI_MSK(0x00000002,uint32_t)) /* SMI Write */
-#define BITM_EMAC_SMI_ADDR_SMIB (_ADI_MSK(0x00000001,uint32_t)) /* SMI Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_DATA_SMID 0 /* SMI Data */
-#define BITM_EMAC_SMI_DATA_SMID (_ADI_MSK(0x0000FFFF,uint32_t)) /* SMI Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_FLOWCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_FLOWCTL_PT 16 /* Pause Time */
-#define BITP_EMAC_FLOWCTL_UP 3 /* Unicast Pause Frame Detect */
-#define BITP_EMAC_FLOWCTL_RFE 2 /* Receive Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_TFE 1 /* Transmit Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_FCBBPA 0 /* Initiate Pause Control Frame */
-#define BITM_EMAC_FLOWCTL_PT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Pause Time */
-#define BITM_EMAC_FLOWCTL_UP (_ADI_MSK(0x00000008,uint32_t)) /* Unicast Pause Frame Detect */
-#define BITM_EMAC_FLOWCTL_RFE (_ADI_MSK(0x00000004,uint32_t)) /* Receive Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_TFE (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_FCBBPA (_ADI_MSK(0x00000001,uint32_t)) /* Initiate Pause Control Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_VLANTAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_VLANTAG_ETV 16 /* Enable Tag VLAN Comparison */
-#define BITP_EMAC_VLANTAG_VL 0 /* VLAN Tag Id Receive Frames */
-#define BITM_EMAC_VLANTAG_ETV (_ADI_MSK(0x00010000,uint32_t)) /* Enable Tag VLAN Comparison */
-#define BITM_EMAC_VLANTAG_VL (_ADI_MSK(0x0000FFFF,uint32_t)) /* VLAN Tag Id Receive Frames */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DBG_TXFIFOFULL 25 /* Tx FIFO Full */
-#define BITP_EMAC_DBG_TXFIFONE 24 /* Tx FIFO Not Empty */
-#define BITP_EMAC_DBG_TXFIFOACT 22 /* Tx FIFO Active */
-#define BITP_EMAC_DBG_TXFIFOCTLST 20 /* Tx FIFO Controller State */
-#define BITP_EMAC_DBG_TXPAUSE 19 /* Tx Paused */
-#define BITP_EMAC_DBG_TXFRCTL 17 /* Tx Frame Controller State */
-#define BITP_EMAC_DBG_MMTEA 16 /* MM Tx Engine Active */
-#define BITP_EMAC_DBG_RXFIFOST 8 /* Rx FIFO State */
-#define BITP_EMAC_DBG_RXFIFOCTLST 5 /* Rx FIFO Controller State */
-#define BITP_EMAC_DBG_RXFIFOACT 4 /* Rx FIFO Active */
-#define BITP_EMAC_DBG_SFIFOST 1 /* Small FIFO State */
-#define BITP_EMAC_DBG_MMREA 0 /* MM Rx Engine Active */
-#define BITM_EMAC_DBG_TXFIFOFULL (_ADI_MSK(0x02000000,uint32_t)) /* Tx FIFO Full */
-#define BITM_EMAC_DBG_TXFIFONE (_ADI_MSK(0x01000000,uint32_t)) /* Tx FIFO Not Empty */
-#define BITM_EMAC_DBG_TXFIFOACT (_ADI_MSK(0x00400000,uint32_t)) /* Tx FIFO Active */
-#define BITM_EMAC_DBG_TXFIFOCTLST (_ADI_MSK(0x00300000,uint32_t)) /* Tx FIFO Controller State */
-#define BITM_EMAC_DBG_TXPAUSE (_ADI_MSK(0x00080000,uint32_t)) /* Tx Paused */
-
-#define BITM_EMAC_DBG_TXFRCTL (_ADI_MSK(0x00060000,uint32_t)) /* Tx Frame Controller State */
-#define ENUM_EMAC_DBG_TXFRCTL_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* TXFRCTL: Idle */
-#define ENUM_EMAC_DBG_TXFRCTL_WT_STATUS (_ADI_MSK(0x00020000,uint32_t)) /* TXFRCTL: Wait */
-#define ENUM_EMAC_DBG_TXFRCTL_PAUSE (_ADI_MSK(0x00040000,uint32_t)) /* TXFRCTL: Pause */
-#define ENUM_EMAC_DBG_TXFRCTL_TXFRAME (_ADI_MSK(0x00060000,uint32_t)) /* TXFRCTL: Transmit */
-#define BITM_EMAC_DBG_MMTEA (_ADI_MSK(0x00010000,uint32_t)) /* MM Tx Engine Active */
-
-#define BITM_EMAC_DBG_RXFIFOST (_ADI_MSK(0x00000300,uint32_t)) /* Rx FIFO State */
-#define ENUM_EMAC_DBG_FIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOST: Rx FIFO Empty */
-#define ENUM_EMAC_DBG_FIFO_BEL_THERSHLD (_ADI_MSK(0x00000100,uint32_t)) /* RXFIFOST: Rx FIFO Below De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_ABV_THERSHLD (_ADI_MSK(0x00000200,uint32_t)) /* RXFIFOST: Rx FIFO Above De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_FULL (_ADI_MSK(0x00000300,uint32_t)) /* RXFIFOST: Rx FIFO Full */
-
-#define BITM_EMAC_DBG_RXFIFOCTLST (_ADI_MSK(0x00000060,uint32_t)) /* Rx FIFO Controller State */
-#define ENUM_EMAC_DBG_IDLE_FIFO (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOCTLST: Idle */
-#define ENUM_EMAC_DBG_RD_DATA_FIFO (_ADI_MSK(0x00000020,uint32_t)) /* RXFIFOCTLST: Read Data */
-#define ENUM_EMAC_DBG_RD_STS_FIFO (_ADI_MSK(0x00000040,uint32_t)) /* RXFIFOCTLST: Read Status */
-#define ENUM_EMAC_DBG_FLUSH_FIFO (_ADI_MSK(0x00000060,uint32_t)) /* RXFIFOCTLST: Flush */
-#define BITM_EMAC_DBG_RXFIFOACT (_ADI_MSK(0x00000010,uint32_t)) /* Rx FIFO Active */
-#define BITM_EMAC_DBG_SFIFOST (_ADI_MSK(0x00000006,uint32_t)) /* Small FIFO State */
-#define BITM_EMAC_DBG_MMREA (_ADI_MSK(0x00000001,uint32_t)) /* MM Rx Engine Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ISTAT_TS 9 /* Time Stamp Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRC 7 /* MMC Receive Checksum Offload Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCTX 6 /* MMC Transmit Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRX 5 /* MMC Receive Interrupt Status */
-#define BITP_EMAC_ISTAT_MMC 4 /* MMC Interrupt Status */
-#define BITM_EMAC_ISTAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRC (_ADI_MSK(0x00000080,uint32_t)) /* MMC Receive Checksum Offload Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCTX (_ADI_MSK(0x00000040,uint32_t)) /* MMC Transmit Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRX (_ADI_MSK(0x00000020,uint32_t)) /* MMC Receive Interrupt Status */
-#define BITM_EMAC_ISTAT_MMC (_ADI_MSK(0x00000010,uint32_t)) /* MMC Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IMSK_TS 9 /* Time Stamp Interrupt Mask */
-#define BITM_EMAC_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ADDR0_HI Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ADDR0_HI_ADDR 0 /* Address */
-#define BITM_EMAC_ADDR0_HI_ADDR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_CTL_FULLPSET 5 /* Full Preset */
-#define BITP_EMAC_MMC_CTL_CNTRPSET 4 /* Counter Reset/Preset */
-#define BITP_EMAC_MMC_CTL_CNTRFRZ 3 /* Counter Freeze */
-#define BITP_EMAC_MMC_CTL_RDRST 2 /* Read Reset */
-#define BITP_EMAC_MMC_CTL_NOROLL 1 /* No Rollover */
-#define BITP_EMAC_MMC_CTL_RST 0 /* Reset */
-#define BITM_EMAC_MMC_CTL_FULLPSET (_ADI_MSK(0x00000020,uint32_t)) /* Full Preset */
-#define BITM_EMAC_MMC_CTL_CNTRPSET (_ADI_MSK(0x00000010,uint32_t)) /* Counter Reset/Preset */
-#define BITM_EMAC_MMC_CTL_CNTRFRZ (_ADI_MSK(0x00000008,uint32_t)) /* Counter Freeze */
-#define BITM_EMAC_MMC_CTL_RDRST (_ADI_MSK(0x00000004,uint32_t)) /* Read Reset */
-#define BITM_EMAC_MMC_CTL_NOROLL (_ADI_MSK(0x00000002,uint32_t)) /* No Rollover */
-#define BITM_EMAC_MMC_CTL_RST (_ADI_MSK(0x00000001,uint32_t)) /* Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXINT_WDOGERR 23 /* Rx Watch Dog Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_FIFOOVF 21 /* Rx FIFO Overflow Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_PAUSEFR 20 /* Rx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_LENERR 18 /* Rx Length Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_USIZEG 9 /* Rx Undersize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_JABERR 8 /* Rx Jabber Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_RUNTERR 7 /* Rx Runt Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_ALIGNERR 6 /* Rx Alignment Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_CRCERR 5 /* Rx CRC Error Counter Half/Full */
-#define BITP_EMAC_MMC_RXINT_MCASTG 4 /* Rx Multicast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_BCASTG 3 /* Rx Broadcast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTG 2 /* Octet Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTGB 1 /* Octet Count (Good/Bad) Half/Full */
-#define BITP_EMAC_MMC_RXINT_FRCNTGB 0 /* Frame Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_WDOGERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_FIFOOVF (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_PAUSEFR (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Counter Half/Full */
-#define BITM_EMAC_MMC_RXINT_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Octet Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Octet Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Frame Count (Good/Bad) Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXINT_VLANFRGB 24 /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_CARRERR 19 /* Tx Carrier Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSCOL 18 /* Tx Exess Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_LATECOL 17 /* Tx Late Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_DEFERRED 16 /* Tx Deffered Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MULTCOLG 15 /* Tx Multiple collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UNDERR 13 /* Tx Underflow Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_VLANFRGB (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deffered Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXIMSK_WATCHERR 23 /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FIFOOV 21 /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_PAUSEFRM 20 /* Rx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_LENERR 18 /* Rx Length Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_USIZEG 9 /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_JABERR 8 /* Rx Jabber Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_RUNTERR 7 /* Rx Runt Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_ALIGNERR 6 /* Rx Alignment Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_CRCERR 5 /* Rx CRC Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_MCASTG 4 /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_BCASTG 3 /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTG 2 /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTGB 1 /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FRCNTGB 0 /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_WATCHERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FIFOOV (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_PAUSEFRM (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXIMSK_VLANFRG 24 /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_CARRERR 19 /* Tx Carrier Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSCOL 18 /* Tx Exess collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_LATECOL 17 /* Tx Late Collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_DEFERRED 16 /* Tx Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MULTCOLG 15 /* Tx Multiple Collisions (Good) Count Mask */
-#define BITP_EMAC_MMC_TXIMSK_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UNDERR 13 /* Tx Underflow Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_VLANFRG (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple Collisions (Good) Count Mask */
-#define BITM_EMAC_MMC_TXIMSK_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERRFRM 9 /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERRFRM 1 /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXINT_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERRFRM 9 /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERRFRM 1 /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_CTL_ATSFC 24 /* Auxilary Time Stamp FIFO Clear */
-#define BITP_EMAC_TM_CTL_TSENMACADDR 18 /* Time Stamp Enable MAC Address */
-#define BITP_EMAC_TM_CTL_SNAPTYPSEL 16 /* Snapshot Type Select */
-#define BITP_EMAC_TM_CTL_TSMSTRENA 15 /* Time Stamp Master (Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSEVNTENA 14 /* Time Stamp Event (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV4ENA 13 /* Time Stamp IPV4 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV6ENA 12 /* Time Stamp IPV6 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPENA 11 /* Time Stamp IP Enable */
-#define BITP_EMAC_TM_CTL_TSVER2ENA 10 /* Time Stamp VER2 (Snooping) Enable */
-#define BITP_EMAC_TM_CTL_TSCTRLSSR 9 /* Time Stamp Control Nanosecond Rollover */
-#define BITP_EMAC_TM_CTL_TSENALL 8 /* Time Stamp Enable All (Frames) */
-#define BITP_EMAC_TM_CTL_TSADDREG 5 /* Time Stamp Addend Register Update */
-#define BITP_EMAC_TM_CTL_TSTRIG 4 /* Time Stamp (Target Time) Trigger Enable */
-#define BITP_EMAC_TM_CTL_TSUPDT 3 /* Time Stamp (System Time) Update */
-#define BITP_EMAC_TM_CTL_TSINIT 2 /* Time Stamp (System Time) Initialize */
-#define BITP_EMAC_TM_CTL_TSCFUPDT 1 /* Time Stamp (System Time) Fine/Coarse Update */
-#define BITP_EMAC_TM_CTL_TSENA 0 /* Time Stamp (PTP) Enable */
-#define BITM_EMAC_TM_CTL_ATSFC (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp FIFO Clear */
-
-#define BITM_EMAC_TM_CTL_TSENMACADDR (_ADI_MSK(0x00040000,uint32_t)) /* Time Stamp Enable MAC Address */
-#define ENUM_EMAC_TM_CTL_D_PTP_ADDRFILT (_ADI_MSK(0x00000000,uint32_t)) /* TSENMACADDR: Disable PTP MAC address filter */
-#define ENUM_EMAC_TM_CTL_E_PTP_ADDRFILT (_ADI_MSK(0x00040000,uint32_t)) /* TSENMACADDR: Enable PTP MAC address filter */
-#define BITM_EMAC_TM_CTL_SNAPTYPSEL (_ADI_MSK(0x00030000,uint32_t)) /* Snapshot Type Select */
-
-#define BITM_EMAC_TM_CTL_TSMSTRENA (_ADI_MSK(0x00008000,uint32_t)) /* Time Stamp Master (Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_SLVSNPT_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Slave Messages */
-#define ENUM_EMAC_TM_CTL_E_MSSNPST_MSGS (_ADI_MSK(0x00008000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Master Messages */
-
-#define BITM_EMAC_TM_CTL_TSEVNTENA (_ADI_MSK(0x00004000,uint32_t)) /* Time Stamp Event (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_ATSTMP_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for All Messages */
-#define ENUM_EMAC_TM_CTL_E_ETSTMP_MSGS (_ADI_MSK(0x00004000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for Event Messages Only */
-
-#define BITM_EMAC_TM_CTL_TSIPV4ENA (_ADI_MSK(0x00002000,uint32_t)) /* Time Stamp IPV4 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV4 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV4ENA: Disable Time Stamp for PTP Over IPv4 Frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV4 (_ADI_MSK(0x00002000,uint32_t)) /* TSIPV4ENA: Enable Time Stamp for PTP Over IPv4 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPV6ENA (_ADI_MSK(0x00001000,uint32_t)) /* Time Stamp IPV6 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV6 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV6ENA: Disable Time Stamp for PTP Over IPv6 frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV6 (_ADI_MSK(0x00001000,uint32_t)) /* TSIPV6ENA: Enable Time Stamp for PTP Over IPv6 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPENA (_ADI_MSK(0x00000800,uint32_t)) /* Time Stamp IP Enable */
-#define ENUM_EMAC_TM_CTL_D_PTP_OV_ETHER (_ADI_MSK(0x00000000,uint32_t)) /* TSIPENA: Disable PTP Over Ethernet Frames */
-#define ENUM_EMAC_TM_CTL_E_PTP_OV_ETHER (_ADI_MSK(0x00000800,uint32_t)) /* TSIPENA: Enable PTP Over Ethernet Frames */
-
-#define BITM_EMAC_TM_CTL_TSVER2ENA (_ADI_MSK(0x00000400,uint32_t)) /* Time Stamp VER2 (Snooping) Enable */
-#define ENUM_EMAC_TM_CTL_D_PKT_SNOOP_V2 (_ADI_MSK(0x00000000,uint32_t)) /* TSVER2ENA: Disable packet snooping for V2 frames */
-#define ENUM_EMAC_TM_CTL_E_PKT_SNOOP_V2 (_ADI_MSK(0x00000400,uint32_t)) /* TSVER2ENA: Enable packet snooping for V2 frames */
-
-#define BITM_EMAC_TM_CTL_TSCTRLSSR (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Control Nanosecond Rollover */
-#define ENUM_EMAC_TM_CTL_RO_SUBSEC_RES (_ADI_MSK(0x00000000,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x7FFFFFFF */
-#define ENUM_EMAC_TM_CTL_RO_NANO_RES (_ADI_MSK(0x00000200,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x3B9AC9FF */
-
-#define BITM_EMAC_TM_CTL_TSENALL (_ADI_MSK(0x00000100,uint32_t)) /* Time Stamp Enable All (Frames) */
-#define ENUM_EMAC_TM_CTL_D_TSALL_FRAMES (_ADI_MSK(0x00000000,uint32_t)) /* TSENALL: Disable timestamp for all frames */
-#define ENUM_EMAC_TM_CTL_E_TSALL_FRAMES (_ADI_MSK(0x00000100,uint32_t)) /* TSENALL: Enable timestamp for all frames */
-#define BITM_EMAC_TM_CTL_TSADDREG (_ADI_MSK(0x00000020,uint32_t)) /* Time Stamp Addend Register Update */
-
-#define BITM_EMAC_TM_CTL_TSTRIG (_ADI_MSK(0x00000010,uint32_t)) /* Time Stamp (Target Time) Trigger Enable */
-#define ENUM_EMAC_TM_CTL_EN_TRIGGER (_ADI_MSK(0x00000010,uint32_t)) /* TSTRIG: Interrupt (TS) if system time is greater than target time register */
-
-#define BITM_EMAC_TM_CTL_TSUPDT (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp (System Time) Update */
-#define ENUM_EMAC_TM_CTL_EN_UPDATE (_ADI_MSK(0x00000008,uint32_t)) /* TSUPDT: System time updated with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSINIT (_ADI_MSK(0x00000004,uint32_t)) /* Time Stamp (System Time) Initialize */
-#define ENUM_EMAC_TM_CTL_EN_TS_INIT (_ADI_MSK(0x00000004,uint32_t)) /* TSINIT: System time initialized with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSCFUPDT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp (System Time) Fine/Coarse Update */
-#define ENUM_EMAC_TM_CTL_EN_COARSE_UPDT (_ADI_MSK(0x00000000,uint32_t)) /* TSCFUPDT: Use Coarse Correction Method for System Time Update */
-#define ENUM_EMAC_TM_CTL_EN_FINE_UPDT (_ADI_MSK(0x00000002,uint32_t)) /* TSCFUPDT: Use Fine Correction Method for System Time Update */
-
-#define BITM_EMAC_TM_CTL_TSENA (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp (PTP) Enable */
-#define ENUM_EMAC_TM_CTL_DTS (_ADI_MSK(0x00000000,uint32_t)) /* TSENA: Disable PTP Module */
-#define ENUM_EMAC_TM_CTL_TS (_ADI_MSK(0x00000001,uint32_t)) /* TSENA: Enable PTP Module */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_SUBSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_SUBSEC_SSINC 0 /* Sub-Second Increment Value */
-#define BITM_EMAC_TM_SUBSEC_SSINC (_ADI_MSK(0x000000FF,uint32_t)) /* Sub-Second Increment Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSEC_TSSS 0 /* Time Stamp Nanoseconds */
-#define BITM_EMAC_TM_NSEC_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Nanoseconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSECUPDT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSECUPDT_ADDSUB 31 /* Add or Subtract the Time */
-#define BITP_EMAC_TM_NSECUPDT_TSSS 0 /* Time Stamp Sub Second Initialize/Increment */
-#define BITM_EMAC_TM_NSECUPDT_ADDSUB (_ADI_MSK(0x80000000,uint32_t)) /* Add or Subtract the Time */
-#define BITM_EMAC_TM_NSECUPDT_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Sub Second Initialize/Increment */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NTGTM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NTGTM_TSTRBUSY 31 /* Target Time Register Busy */
-#define BITP_EMAC_TM_NTGTM_TSTR 0 /* Target Time Nano Seconds */
-#define BITM_EMAC_TM_NTGTM_TSTRBUSY (_ADI_MSK(0x80000000,uint32_t)) /* Target Time Register Busy */
-#define BITM_EMAC_TM_NTGTM_TSTR (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Target Time Nano Seconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_HISEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_HISEC_TSHWR 0 /* Time Stamp Higher Word Seconds Register */
-#define BITM_EMAC_TM_HISEC_TSHWR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Time Stamp Higher Word Seconds Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_STMPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_STMPSTAT_ATSNS 25 /* Auxilary Time Stamp Number of Snapshots */
-#define BITP_EMAC_TM_STMPSTAT_ATSSTM 24 /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITP_EMAC_TM_STMPSTAT_TSTRGTERR 3 /* Time Stamp Target Time Programming Error */
-#define BITP_EMAC_TM_STMPSTAT_ATSTS 2 /* Auxilary Time Stamp Trigger Snapshot */
-#define BITP_EMAC_TM_STMPSTAT_TSTARGT 1 /* Time Stamp Target Time Reached */
-#define BITP_EMAC_TM_STMPSTAT_TSSOVF 0 /* Time Stamp Seconds Overflow */
-#define BITM_EMAC_TM_STMPSTAT_ATSNS (_ADI_MSK(0x0E000000,uint32_t)) /* Auxilary Time Stamp Number of Snapshots */
-#define BITM_EMAC_TM_STMPSTAT_ATSSTM (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITM_EMAC_TM_STMPSTAT_TSTRGTERR (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp Target Time Programming Error */
-#define BITM_EMAC_TM_STMPSTAT_ATSTS (_ADI_MSK(0x00000004,uint32_t)) /* Auxilary Time Stamp Trigger Snapshot */
-#define BITM_EMAC_TM_STMPSTAT_TSTARGT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp Target Time Reached */
-#define BITM_EMAC_TM_STMPSTAT_TSSOVF (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp Seconds Overflow */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_PPSCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_PPSCTL_TRGTMODSEL 5 /* Target Time Register Mode */
-#define BITP_EMAC_TM_PPSCTL_PPSEN 4 /* Enable the flexible PPS output mode */
-#define BITP_EMAC_TM_PPSCTL_PPSCTL 0 /* PPS Frequency Control */
-#define BITM_EMAC_TM_PPSCTL_TRGTMODSEL (_ADI_MSK(0x00000060,uint32_t)) /* Target Time Register Mode */
-#define BITM_EMAC_TM_PPSCTL_PPSEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable the flexible PPS output mode */
-#define BITM_EMAC_TM_PPSCTL_PPSCTL (_ADI_MSK(0x0000000F,uint32_t)) /* PPS Frequency Control */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BUSMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BUSMODE_AAL 25 /* Address Aligned Bursts */
-#define BITP_EMAC_DMA_BUSMODE_PBL8 24 /* PBL * 8 */
-#define BITP_EMAC_DMA_BUSMODE_USP 23 /* Use Separate PBL */
-#define BITP_EMAC_DMA_BUSMODE_RPBL 17 /* Receive Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_FB 16 /* Fixed Burst */
-#define BITP_EMAC_DMA_BUSMODE_PBL 8 /* Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_ATDS 7 /* Alternate Descriptor Size */
-#define BITP_EMAC_DMA_BUSMODE_DSL 2 /* Descriptor Skip Length */
-#define BITP_EMAC_DMA_BUSMODE_SWR 0 /* Software Reset */
-#define BITM_EMAC_DMA_BUSMODE_AAL (_ADI_MSK(0x02000000,uint32_t)) /* Address Aligned Bursts */
-#define BITM_EMAC_DMA_BUSMODE_PBL8 (_ADI_MSK(0x01000000,uint32_t)) /* PBL * 8 */
-#define BITM_EMAC_DMA_BUSMODE_USP (_ADI_MSK(0x00800000,uint32_t)) /* Use Separate PBL */
-#define BITM_EMAC_DMA_BUSMODE_RPBL (_ADI_MSK(0x007E0000,uint32_t)) /* Receive Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_FB (_ADI_MSK(0x00010000,uint32_t)) /* Fixed Burst */
-#define BITM_EMAC_DMA_BUSMODE_PBL (_ADI_MSK(0x00003F00,uint32_t)) /* Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_ATDS (_ADI_MSK(0x00000080,uint32_t)) /* Alternate Descriptor Size */
-#define BITM_EMAC_DMA_BUSMODE_DSL (_ADI_MSK(0x0000007C,uint32_t)) /* Descriptor Skip Length */
-#define BITM_EMAC_DMA_BUSMODE_SWR (_ADI_MSK(0x00000001,uint32_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_STAT_TTI 29 /* Time Stamp Trigger Interrupt */
-#define BITP_EMAC_DMA_STAT_MCI 27 /* MAC MMC Interrupt */
-#define BITP_EMAC_DMA_STAT_EB 23 /* Error Bits */
-#define BITP_EMAC_DMA_STAT_TS 20 /* Transmit Process State */
-#define BITP_EMAC_DMA_STAT_RS 17 /* Receive Process State */
-#define BITP_EMAC_DMA_STAT_NIS 16 /* Normal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_AIS 15 /* Abnormal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_ERI 14 /* Early Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_FBI 13 /* Fatal Bus Error Interrupt */
-#define BITP_EMAC_DMA_STAT_ETI 10 /* Early Transmit Interrupt */
-#define BITP_EMAC_DMA_STAT_RWT 9 /* Receive WatchDog Timeout */
-#define BITP_EMAC_DMA_STAT_RPS 8 /* Receive Process Stopped */
-#define BITP_EMAC_DMA_STAT_RU 7 /* Receive Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_RI 6 /* Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_UNF 5 /* Transmit Buffer Underflow */
-#define BITP_EMAC_DMA_STAT_OVF 4 /* Receive Buffer Overflow */
-#define BITP_EMAC_DMA_STAT_TJT 3 /* Transmit Jabber Timeout */
-#define BITP_EMAC_DMA_STAT_TU 2 /* Transmit Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_TPS 1 /* Transmit Process Stopped */
-#define BITP_EMAC_DMA_STAT_TI 0 /* Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_TTI (_ADI_MSK(0x20000000,uint32_t)) /* Time Stamp Trigger Interrupt */
-#define BITM_EMAC_DMA_STAT_MCI (_ADI_MSK(0x08000000,uint32_t)) /* MAC MMC Interrupt */
-#define BITM_EMAC_DMA_STAT_EB (_ADI_MSK(0x03800000,uint32_t)) /* Error Bits */
-
-#define BITM_EMAC_DMA_STAT_TS (_ADI_MSK(0x00700000,uint32_t)) /* Transmit Process State */
-#define ENUM_EMAC_DMA_STAT_TS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* TS: Stopped; Reset or Stop Transmit Command issued */
-#define ENUM_EMAC_DMA_STAT_TS_R_FTD (_ADI_MSK(0x00100000,uint32_t)) /* TS: Running; Fetching Transmit Transfer Descriptor */
-#define ENUM_EMAC_DMA_STAT_TS_R_WSTAT (_ADI_MSK(0x00200000,uint32_t)) /* TS: Running; Waiting for status */
-#define ENUM_EMAC_DMA_STAT_TS_R_TXHMBUF (_ADI_MSK(0x00300000,uint32_t)) /* TS: Reading Data from host memory buffer and queuing it to TX buffer */
-#define ENUM_EMAC_DMA_STAT_TS_WR_TSTMP (_ADI_MSK(0x00400000,uint32_t)) /* TS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_TS_SUSPENDED (_ADI_MSK(0x00600000,uint32_t)) /* TS: Suspended; Transmit Descriptor Unavailable or TX Buffer Underflow */
-#define ENUM_EMAC_DMA_STAT_TS_R_CLSTD (_ADI_MSK(0x00700000,uint32_t)) /* TS: Closing Transmit Descriptor */
-
-#define BITM_EMAC_DMA_STAT_RS (_ADI_MSK(0x000E0000,uint32_t)) /* Receive Process State */
-#define ENUM_EMAC_DMA_STAT_RS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RS: Stopped: Reset or Stop Receive Command issued. */
-#define ENUM_EMAC_DMA_STAT_RS_R_FRD (_ADI_MSK(0x00020000,uint32_t)) /* RS: Running: Fetching Receive Transfer Descriptor. */
-#define ENUM_EMAC_DMA_STAT_RS_R_WTRX (_ADI_MSK(0x00060000,uint32_t)) /* RS: Running: Waiting for receive packet */
-#define ENUM_EMAC_DMA_STAT_RS_SUSPENDED (_ADI_MSK(0x00080000,uint32_t)) /* RS: Suspended: Receive Descriptor Unavailable */
-#define ENUM_EMAC_DMA_STAT_RS_R_CLSRD (_ADI_MSK(0x000A0000,uint32_t)) /* RS: Running: Closing Receive Descriptor */
-#define ENUM_EMAC_DMA_STAT_RS_WR_TSTMP (_ADI_MSK(0x000C0000,uint32_t)) /* RS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_RS_R_RXWRHM (_ADI_MSK(0x000E0000,uint32_t)) /* RS: Running: Transferring RX packet data from RX buffer to host memory */
-#define BITM_EMAC_DMA_STAT_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Interrupt */
-#define BITM_EMAC_DMA_STAT_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchDog Timeout */
-#define BITM_EMAC_DMA_STAT_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Process Stopped */
-#define BITM_EMAC_DMA_STAT_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Buffer Underflow */
-#define BITM_EMAC_DMA_STAT_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Receive Buffer Overflow */
-#define BITM_EMAC_DMA_STAT_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout */
-#define BITM_EMAC_DMA_STAT_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Process Stopped */
-#define BITM_EMAC_DMA_STAT_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_OPMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_OPMODE_DT 26 /* Disable Dropping TCP/IP Errors */
-#define BITP_EMAC_DMA_OPMODE_RSF 25 /* Receive Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_DFF 24 /* Disable Flushing of received Frames */
-#define BITP_EMAC_DMA_OPMODE_TSF 21 /* Transmit Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_FTF 20 /* Flush Transmit FIFO */
-#define BITP_EMAC_DMA_OPMODE_TTC 14 /* Transmit Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_ST 13 /* Start/Stop Transmission */
-#define BITP_EMAC_DMA_OPMODE_FEF 7 /* Forward Error Frames */
-#define BITP_EMAC_DMA_OPMODE_FUF 6 /* Forward Undersized good Frames */
-#define BITP_EMAC_DMA_OPMODE_RTC 3 /* Receive Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_OSF 2 /* Operate on Second Frame */
-#define BITP_EMAC_DMA_OPMODE_SR 1 /* Start/Stop Receive */
-#define BITM_EMAC_DMA_OPMODE_DT (_ADI_MSK(0x04000000,uint32_t)) /* Disable Dropping TCP/IP Errors */
-#define BITM_EMAC_DMA_OPMODE_RSF (_ADI_MSK(0x02000000,uint32_t)) /* Receive Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_DFF (_ADI_MSK(0x01000000,uint32_t)) /* Disable Flushing of received Frames */
-#define BITM_EMAC_DMA_OPMODE_TSF (_ADI_MSK(0x00200000,uint32_t)) /* Transmit Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_FTF (_ADI_MSK(0x00100000,uint32_t)) /* Flush Transmit FIFO */
-
-#define BITM_EMAC_DMA_OPMODE_TTC (_ADI_MSK(0x0001C000,uint32_t)) /* Transmit Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_TTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* TTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_128 (_ADI_MSK(0x00004000,uint32_t)) /* TTC: 128 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_192 (_ADI_MSK(0x00008000,uint32_t)) /* TTC: 192 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_256 (_ADI_MSK(0x0000C000,uint32_t)) /* TTC: 256 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_40 (_ADI_MSK(0x00010000,uint32_t)) /* TTC: 40 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_32 (_ADI_MSK(0x00014000,uint32_t)) /* TTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_24 (_ADI_MSK(0x00018000,uint32_t)) /* TTC: 24 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_16 (_ADI_MSK(0x0001C000,uint32_t)) /* TTC: 16 */
-#define BITM_EMAC_DMA_OPMODE_ST (_ADI_MSK(0x00002000,uint32_t)) /* Start/Stop Transmission */
-#define BITM_EMAC_DMA_OPMODE_FEF (_ADI_MSK(0x00000080,uint32_t)) /* Forward Error Frames */
-#define BITM_EMAC_DMA_OPMODE_FUF (_ADI_MSK(0x00000040,uint32_t)) /* Forward Undersized good Frames */
-
-#define BITM_EMAC_DMA_OPMODE_RTC (_ADI_MSK(0x00000018,uint32_t)) /* Receive Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_RTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* RTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_32 (_ADI_MSK(0x00000008,uint32_t)) /* RTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_96 (_ADI_MSK(0x00000010,uint32_t)) /* RTC: 96 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_128 (_ADI_MSK(0x00000018,uint32_t)) /* RTC: 128 */
-#define BITM_EMAC_DMA_OPMODE_OSF (_ADI_MSK(0x00000004,uint32_t)) /* Operate on Second Frame */
-#define BITM_EMAC_DMA_OPMODE_SR (_ADI_MSK(0x00000002,uint32_t)) /* Start/Stop Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_IEN_NIS 16 /* Normal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_AIS 15 /* Abnormal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_ERI 14 /* Early Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_FBI 13 /* Fatal Bus Error Enable */
-#define BITP_EMAC_DMA_IEN_ETI 10 /* Early Transmit Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_RWT 9 /* Receive WatchdogTimeout Enable */
-#define BITP_EMAC_DMA_IEN_RPS 8 /* Receive Stopped Enable */
-#define BITP_EMAC_DMA_IEN_RU 7 /* Receive Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_RI 6 /* Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_UNF 5 /* Underflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_OVF 4 /* Overflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_TJT 3 /* Transmit Jabber Timeout Enable */
-#define BITP_EMAC_DMA_IEN_TU 2 /* Transmit Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_TPS 1 /* Transmit Stopped Enable */
-#define BITP_EMAC_DMA_IEN_TI 0 /* Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Enable */
-#define BITM_EMAC_DMA_IEN_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchdogTimeout Enable */
-#define BITM_EMAC_DMA_IEN_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Stopped Enable */
-#define BITM_EMAC_DMA_IEN_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Underflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Overflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout Enable */
-#define BITM_EMAC_DMA_IEN_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Stopped Enable */
-#define BITM_EMAC_DMA_IEN_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_MISS_FRM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_MISS_FRM_OVFFIFO 28 /* Overflow bit for FIFO Overflow Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFROV 17 /* Missed Frames Buffer Overflow */
-#define BITP_EMAC_DMA_MISS_FRM_OVFMISS 16 /* Overflow bit for Missed Frame Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFRUN 0 /* Missed Frames Unavailable Buffer */
-#define BITM_EMAC_DMA_MISS_FRM_OVFFIFO (_ADI_MSK(0x10000000,uint32_t)) /* Overflow bit for FIFO Overflow Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFROV (_ADI_MSK(0x0FFE0000,uint32_t)) /* Missed Frames Buffer Overflow */
-#define BITM_EMAC_DMA_MISS_FRM_OVFMISS (_ADI_MSK(0x00010000,uint32_t)) /* Overflow bit for Missed Frame Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFRUN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Missed Frames Unavailable Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_RXIWDOG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_RXIWDOG_RIWT 0 /* RI WatchDog Timer Count */
-#define BITM_EMAC_DMA_RXIWDOG_RIWT (_ADI_MSK(0x000000FF,uint32_t)) /* RI WatchDog Timer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMMODE_WROSRLMT 20 /* SCB Maximum Write Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_RDOSRLMT 16 /* SCB Maximum Read Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_AAL 12 /* Address Aligned Beats */
-#define BITP_EMAC_DMA_BMMODE_BLEN16 3 /* SCB Burst Length 16 */
-#define BITP_EMAC_DMA_BMMODE_BLEN8 2 /* SCB Burst Length 8 */
-#define BITP_EMAC_DMA_BMMODE_BLEN4 1 /* SCB Burst Length 4 */
-#define BITP_EMAC_DMA_BMMODE_UNDEF 0 /* SCB Undefined Burst Length */
-#define BITM_EMAC_DMA_BMMODE_WROSRLMT (_ADI_MSK(0x00700000,uint32_t)) /* SCB Maximum Write Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_RDOSRLMT (_ADI_MSK(0x00070000,uint32_t)) /* SCB Maximum Read Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_AAL (_ADI_MSK(0x00001000,uint32_t)) /* Address Aligned Beats */
-#define BITM_EMAC_DMA_BMMODE_BLEN16 (_ADI_MSK(0x00000008,uint32_t)) /* SCB Burst Length 16 */
-#define BITM_EMAC_DMA_BMMODE_BLEN8 (_ADI_MSK(0x00000004,uint32_t)) /* SCB Burst Length 8 */
-#define BITM_EMAC_DMA_BMMODE_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* SCB Burst Length 4 */
-#define BITM_EMAC_DMA_BMMODE_UNDEF (_ADI_MSK(0x00000001,uint32_t)) /* SCB Undefined Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMSTAT_BUSRD 1 /* Bus (SCB master) Read Active */
-#define BITP_EMAC_DMA_BMSTAT_BUSWR 0 /* Bus (SCB master) Write Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSRD (_ADI_MSK(0x00000002,uint32_t)) /* Bus (SCB master) Read Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSWR (_ADI_MSK(0x00000001,uint32_t)) /* Bus (SCB master) Write Active */
-
-/* ==================================================
- Serial Port Registers
- ================================================== */
-
-/* =========================
- SPORT0
- ========================= */
-#define REG_SPORT0_CTL_A 0xFFC40000 /* SPORT0 Half SPORT 'A' Control Register */
-#define REG_SPORT0_DIV_A 0xFFC40004 /* SPORT0 Half SPORT 'A' Divisor Register */
-#define REG_SPORT0_MCTL_A 0xFFC40008 /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT0_CS0_A 0xFFC4000C /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_A 0xFFC40010 /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_A 0xFFC40014 /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT0_CS3_A 0xFFC40018 /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT0_ERR_A 0xFFC40020 /* SPORT0 Half SPORT 'A' Error Register */
-#define REG_SPORT0_MSTAT_A 0xFFC40024 /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_A 0xFFC40028 /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT0_TXPRI_A 0xFFC40040 /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_A 0xFFC40044 /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_A 0xFFC40048 /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_A 0xFFC4004C /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT0_CTL_B 0xFFC40080 /* SPORT0 Half SPORT 'B' Control Register */
-#define REG_SPORT0_DIV_B 0xFFC40084 /* SPORT0 Half SPORT 'B' Divisor Register */
-#define REG_SPORT0_MCTL_B 0xFFC40088 /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT0_CS0_B 0xFFC4008C /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_B 0xFFC40090 /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_B 0xFFC40094 /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT0_CS3_B 0xFFC40098 /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT0_ERR_B 0xFFC400A0 /* SPORT0 Half SPORT 'B' Error Register */
-#define REG_SPORT0_MSTAT_B 0xFFC400A4 /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_B 0xFFC400A8 /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT0_TXPRI_B 0xFFC400C0 /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_B 0xFFC400C4 /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_B 0xFFC400C8 /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_B 0xFFC400CC /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT1
- ========================= */
-#define REG_SPORT1_CTL_A 0xFFC40100 /* SPORT1 Half SPORT 'A' Control Register */
-#define REG_SPORT1_DIV_A 0xFFC40104 /* SPORT1 Half SPORT 'A' Divisor Register */
-#define REG_SPORT1_MCTL_A 0xFFC40108 /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT1_CS0_A 0xFFC4010C /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_A 0xFFC40110 /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_A 0xFFC40114 /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT1_CS3_A 0xFFC40118 /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT1_ERR_A 0xFFC40120 /* SPORT1 Half SPORT 'A' Error Register */
-#define REG_SPORT1_MSTAT_A 0xFFC40124 /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_A 0xFFC40128 /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT1_TXPRI_A 0xFFC40140 /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_A 0xFFC40144 /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_A 0xFFC40148 /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_A 0xFFC4014C /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT1_CTL_B 0xFFC40180 /* SPORT1 Half SPORT 'B' Control Register */
-#define REG_SPORT1_DIV_B 0xFFC40184 /* SPORT1 Half SPORT 'B' Divisor Register */
-#define REG_SPORT1_MCTL_B 0xFFC40188 /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT1_CS0_B 0xFFC4018C /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_B 0xFFC40190 /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_B 0xFFC40194 /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT1_CS3_B 0xFFC40198 /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT1_ERR_B 0xFFC401A0 /* SPORT1 Half SPORT 'B' Error Register */
-#define REG_SPORT1_MSTAT_B 0xFFC401A4 /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_B 0xFFC401A8 /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT1_TXPRI_B 0xFFC401C0 /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_B 0xFFC401C4 /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_B 0xFFC401C8 /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_B 0xFFC401CC /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT2
- ========================= */
-#define REG_SPORT2_CTL_A 0xFFC40200 /* SPORT2 Half SPORT 'A' Control Register */
-#define REG_SPORT2_DIV_A 0xFFC40204 /* SPORT2 Half SPORT 'A' Divisor Register */
-#define REG_SPORT2_MCTL_A 0xFFC40208 /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT2_CS0_A 0xFFC4020C /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_A 0xFFC40210 /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_A 0xFFC40214 /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT2_CS3_A 0xFFC40218 /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT2_ERR_A 0xFFC40220 /* SPORT2 Half SPORT 'A' Error Register */
-#define REG_SPORT2_MSTAT_A 0xFFC40224 /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_A 0xFFC40228 /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT2_TXPRI_A 0xFFC40240 /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_A 0xFFC40244 /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_A 0xFFC40248 /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_A 0xFFC4024C /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT2_CTL_B 0xFFC40280 /* SPORT2 Half SPORT 'B' Control Register */
-#define REG_SPORT2_DIV_B 0xFFC40284 /* SPORT2 Half SPORT 'B' Divisor Register */
-#define REG_SPORT2_MCTL_B 0xFFC40288 /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT2_CS0_B 0xFFC4028C /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_B 0xFFC40290 /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_B 0xFFC40294 /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT2_CS3_B 0xFFC40298 /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT2_ERR_B 0xFFC402A0 /* SPORT2 Half SPORT 'B' Error Register */
-#define REG_SPORT2_MSTAT_B 0xFFC402A4 /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_B 0xFFC402A8 /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT2_TXPRI_B 0xFFC402C0 /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_B 0xFFC402C4 /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_B 0xFFC402C8 /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_B 0xFFC402CC /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_A_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_A_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_A_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_A_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_A_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_A_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_A_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_A_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_A_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_A_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_A_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_A_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_A_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_A_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_A_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_A_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_A_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_A_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_A_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_A_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_A_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_A_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_A_SPENPRI 0 /* Serial Port Enable (Primary) */
-#define BITP_SPORT_CTL_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-#define BITM_SPORT_CTL_A_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSPRI: Empty */
-#define ENUM_SPORT_CTL_PRM_PART_FULL (_ADI_MSK(0x80000000,uint32_t)) /* DXSPRI: Partially full */
-#define ENUM_SPORT_CTL_PRM_FULL (_ADI_MSK(0xC0000000,uint32_t)) /* DXSPRI: Full */
-
-#define BITM_SPORT_CTL_A_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRPRI: No error */
-#define ENUM_SPORT_CTL_PRM_ERR (_ADI_MSK(0x20000000,uint32_t)) /* DERRPRI: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSSEC: Empty */
-#define ENUM_SPORT_CTL_SEC_PART_FULL (_ADI_MSK(0x10000000,uint32_t)) /* DXSSEC: Partially full */
-#define ENUM_SPORT_CTL_SEC_FULL (_ADI_MSK(0x18000000,uint32_t)) /* DXSSEC: Full */
-
-#define BITM_SPORT_CTL_A_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRSEC: No error */
-#define ENUM_SPORT_CTL_SEC_ERR (_ADI_MSK(0x04000000,uint32_t)) /* DERRSEC: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define ENUM_SPORT_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* SPTRAN: Receive */
-#define ENUM_SPORT_CTL_TX (_ADI_MSK(0x02000000,uint32_t)) /* SPTRAN: Transmit */
-
-#define BITM_SPORT_CTL_A_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define ENUM_SPORT_CTL_SECONDARY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENSEC: Disable */
-#define ENUM_SPORT_CTL_SECONDARY_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPENSEC: Enable */
-
-#define BITM_SPORT_CTL_A_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define ENUM_SPORT_CTL_GCLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GCLKEN: Disable */
-#define ENUM_SPORT_CTL_GCLK_EN (_ADI_MSK(0x00200000,uint32_t)) /* GCLKEN: Enable */
-
-#define BITM_SPORT_CTL_A_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define ENUM_SPORT_CTL_TXFIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TFIEN: Last word sent (DMA count done) interrupt */
-#define ENUM_SPORT_CTL_TXFIN_EN (_ADI_MSK(0x00100000,uint32_t)) /* TFIEN: Last bit sent (Tx buffer done) interrupt */
-
-#define BITM_SPORT_CTL_A_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define ENUM_SPORT_CTL_LEVEL_FS (_ADI_MSK(0x00000000,uint32_t)) /* FSED: Level detect frame sync */
-#define ENUM_SPORT_CTL_EDGE_FS (_ADI_MSK(0x00080000,uint32_t)) /* FSED: Edge detect frame sync */
-
-#define BITM_SPORT_CTL_A_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define ENUM_SPORT_CTL_RJUST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RJUST: Disable */
-#define ENUM_SPORT_CTL_RJUST_EN (_ADI_MSK(0x00040000,uint32_t)) /* RJUST: Enable */
-
-#define BITM_SPORT_CTL_A_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define ENUM_SPORT_CTL_EARLY_FS (_ADI_MSK(0x00000000,uint32_t)) /* LAFS: Early frame sync */
-#define ENUM_SPORT_CTL_LATE_FS (_ADI_MSK(0x00020000,uint32_t)) /* LAFS: Late frame sync */
-
-#define BITM_SPORT_CTL_A_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define ENUM_SPORT_CTL_FS_LO (_ADI_MSK(0x00000000,uint32_t)) /* LFS: Active high frame sync (DSP standard mode) */
-#define ENUM_SPORT_CTL_FS_HI (_ADI_MSK(0x00010000,uint32_t)) /* LFS: Active low frame sync (DSP standard mode) */
-
-#define BITM_SPORT_CTL_A_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define ENUM_SPORT_CTL_DATA_DEP_FS (_ADI_MSK(0x00000000,uint32_t)) /* DIFS: Data-dependent frame sync */
-#define ENUM_SPORT_CTL_DATA_INDP_FS (_ADI_MSK(0x00008000,uint32_t)) /* DIFS: Data-independent frame sync */
-
-#define BITM_SPORT_CTL_A_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define ENUM_SPORT_CTL_EXTERNAL_FS (_ADI_MSK(0x00000000,uint32_t)) /* IFS: External frame sync */
-#define ENUM_SPORT_CTL_INTERNAL_FS (_ADI_MSK(0x00004000,uint32_t)) /* IFS: Internal frame sync */
-
-#define BITM_SPORT_CTL_A_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define ENUM_SPORT_CTL_FS_NOT_REQ (_ADI_MSK(0x00000000,uint32_t)) /* FSR: No frame sync required */
-#define ENUM_SPORT_CTL_FS_REQ (_ADI_MSK(0x00002000,uint32_t)) /* FSR: Frame sync required */
-
-#define BITM_SPORT_CTL_A_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define ENUM_SPORT_CTL_CLK_FALL_EDGE (_ADI_MSK(0x00000000,uint32_t)) /* CKRE: Clock falling edge */
-#define ENUM_SPORT_CTL_CLK_RISE_EDGE (_ADI_MSK(0x00001000,uint32_t)) /* CKRE: Clock rising edge */
-
-#define BITM_SPORT_CTL_A_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define ENUM_SPORT_CTL_SERIAL_MC_MODE (_ADI_MSK(0x00000000,uint32_t)) /* OPMODE: DSP standard/multi-channel mode */
-#define ENUM_SPORT_CTL_I2S_MODE (_ADI_MSK(0x00000800,uint32_t)) /* OPMODE: I2S/packed/left-justified mode */
-
-#define BITM_SPORT_CTL_A_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define ENUM_SPORT_CTL_EXTERNAL_CLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLK: External clock */
-#define ENUM_SPORT_CTL_INTERNAL_CLK (_ADI_MSK(0x00000400,uint32_t)) /* ICLK: Internal clock */
-
-#define BITM_SPORT_CTL_A_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define ENUM_SPORT_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACK: Disable */
-#define ENUM_SPORT_CTL_PACK_EN (_ADI_MSK(0x00000200,uint32_t)) /* PACK: Enable */
-#define BITM_SPORT_CTL_A_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-
-#define BITM_SPORT_CTL_A_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define ENUM_SPORT_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB first sent/received (big endian) */
-#define ENUM_SPORT_CTL_LSB_FIRST (_ADI_MSK(0x00000008,uint32_t)) /* LSBF: LSB first sent/received (little endian) */
-
-#define BITM_SPORT_CTL_A_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define ENUM_SPORT_CTL_RJUSTIFY_ZFILL (_ADI_MSK(0x00000000,uint32_t)) /* DTYPE: Right-justify data, zero-fill unused MSBs */
-#define ENUM_SPORT_CTL_RJUSTIFY_SFILL (_ADI_MSK(0x00000002,uint32_t)) /* DTYPE: Right-justify data, sign-extend unused MSBs */
-#define ENUM_SPORT_CTL_USE_U_LAW (_ADI_MSK(0x00000004,uint32_t)) /* DTYPE: m-law compand data */
-#define ENUM_SPORT_CTL_USE_A_LAW (_ADI_MSK(0x00000006,uint32_t)) /* DTYPE: A-law compand data */
-
-#define BITM_SPORT_CTL_A_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define BITM_SPORT_CTL_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define ENUM_SPORT_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENPRI: Disable */
-#define ENUM_SPORT_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* SPENPRI: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_A_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_A_CLKDIV 0 /* Clock Divisor */
-#define BITP_SPORT_DIV_CLKDIV 0 /* Clock Divisor */
-#define BITM_SPORT_DIV_A_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_A_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-#define BITM_SPORT_DIV_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_A_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_A_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_A_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_A_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_A_MCE 0 /* Multichannel enable */
-#define BITP_SPORT_MCTL_MCE 0 /* Multichannel enable */
-#define BITM_SPORT_MCTL_A_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_A_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_A_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-
-#define BITM_SPORT_MCTL_A_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define ENUM_SPORT_MCTL_MCPD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCPDE: Disable */
-#define ENUM_SPORT_MCTL_MCPD_EN (_ADI_MSK(0x00000004,uint32_t)) /* MCPDE: Enable */
-
-#define BITM_SPORT_MCTL_A_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define BITM_SPORT_MCTL_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define ENUM_SPORT_MCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCE: Disable */
-#define ENUM_SPORT_MCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* MCE: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_A_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_A_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_A_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_A_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_A_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_A_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_A_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_A_CURCHAN 0 /* Current Channel */
-#define BITP_SPORT_MSTAT_CURCHAN 0 /* Current Channel */
-#define BITM_SPORT_MSTAT_A_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-#define BITM_SPORT_MSTAT_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_A_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_A_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-#define BITP_SPORT_CTL2_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-#define BITM_SPORT_CTL2_A_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define ENUM_SPORT_CTL2_CLK_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CKMUXSEL: Disable serial clock multiplexing */
-#define ENUM_SPORT_CTL2_CLK_MUX_EN (_ADI_MSK(0x00000002,uint32_t)) /* CKMUXSEL: Enable serial clock multiplexing */
-
-#define BITM_SPORT_CTL2_A_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define BITM_SPORT_CTL2_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define ENUM_SPORT_CTL2_FS_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FSMUXSEL: Disable frame sync multiplexing */
-#define ENUM_SPORT_CTL2_FS_MUX_EN (_ADI_MSK(0x00000001,uint32_t)) /* FSMUXSEL: Enable frame sync multiplexing */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_B_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_B_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_B_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_B_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_B_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_B_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_B_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_B_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_B_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_B_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_B_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_B_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_B_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_B_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_B_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_B_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_B_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_B_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_B_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_B_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_B_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_B_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_B_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-/* The fields and enumerations for SPORT_CTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL_A */
-
-#define BITM_SPORT_CTL_B_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_B_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_B_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_B_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_B_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_B_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_B_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_B_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_B_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_B_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_B_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_B_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_B_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_B_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_B_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_B_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_B_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_B_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_B_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_B_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_B_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_B_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_B_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_B_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_B_CLKDIV 0 /* Clock Divisor */
-
-/* The fields and enumerations for SPORT_DIV_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_DIV_A */
-
-#define BITM_SPORT_DIV_B_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_B_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_B_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_B_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_B_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_B_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_B_MCE 0 /* Multi-Channel Enable */
-
-/* The fields and enumerations for SPORT_MCTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MCTL_A */
-
-#define BITM_SPORT_MCTL_B_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_B_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_B_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_B_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_B_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multi-Channel Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_B_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_B_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_B_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_B_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-
-/* The fields and enumerations for SPORT_ERR_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_ERR_A */
-
-#define BITM_SPORT_ERR_B_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_B_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_B_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_B_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_B_CURCHAN 0 /* Current Channel */
-
-/* The fields and enumerations for SPORT_MSTAT_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MSTAT_A */
-
-#define BITM_SPORT_MSTAT_B_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_B_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_B_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-/* The fields and enumerations for SPORT_CTL2_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL2_A */
-
-#define BITM_SPORT_CTL2_B_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_B_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-
-/* ==================================================
- Serial Peripheral Interface Registers
- ================================================== */
-
-/* =========================
- SPI0
- ========================= */
-#define REG_SPI0_CTL 0xFFC40404 /* SPI0 Control Register */
-#define REG_SPI0_RXCTL 0xFFC40408 /* SPI0 Receive Control Register */
-#define REG_SPI0_TXCTL 0xFFC4040C /* SPI0 Transmit Control Register */
-#define REG_SPI0_CLK 0xFFC40410 /* SPI0 Clock Rate Register */
-#define REG_SPI0_DLY 0xFFC40414 /* SPI0 Delay Register */
-#define REG_SPI0_SLVSEL 0xFFC40418 /* SPI0 Slave Select Register */
-#define REG_SPI0_RWC 0xFFC4041C /* SPI0 Received Word Count Register */
-#define REG_SPI0_RWCR 0xFFC40420 /* SPI0 Received Word Count Reload Register */
-#define REG_SPI0_TWC 0xFFC40424 /* SPI0 Transmitted Word Count Register */
-#define REG_SPI0_TWCR 0xFFC40428 /* SPI0 Transmitted Word Count Reload Register */
-#define REG_SPI0_IMSK 0xFFC40430 /* SPI0 Interrupt Mask Register */
-#define REG_SPI0_IMSK_CLR 0xFFC40434 /* SPI0 Interrupt Mask Clear Register */
-#define REG_SPI0_IMSK_SET 0xFFC40438 /* SPI0 Interrupt Mask Set Register */
-#define REG_SPI0_STAT 0xFFC40440 /* SPI0 Status Register */
-#define REG_SPI0_ILAT 0xFFC40444 /* SPI0 Masked Interrupt Condition Register */
-#define REG_SPI0_ILAT_CLR 0xFFC40448 /* SPI0 Masked Interrupt Clear Register */
-#define REG_SPI0_RFIFO 0xFFC40450 /* SPI0 Receive FIFO Data Register */
-#define REG_SPI0_TFIFO 0xFFC40458 /* SPI0 Transmit FIFO Data Register */
-
-/* =========================
- SPI1
- ========================= */
-#define REG_SPI1_CTL 0xFFC40504 /* SPI1 Control Register */
-#define REG_SPI1_RXCTL 0xFFC40508 /* SPI1 Receive Control Register */
-#define REG_SPI1_TXCTL 0xFFC4050C /* SPI1 Transmit Control Register */
-#define REG_SPI1_CLK 0xFFC40510 /* SPI1 Clock Rate Register */
-#define REG_SPI1_DLY 0xFFC40514 /* SPI1 Delay Register */
-#define REG_SPI1_SLVSEL 0xFFC40518 /* SPI1 Slave Select Register */
-#define REG_SPI1_RWC 0xFFC4051C /* SPI1 Received Word Count Register */
-#define REG_SPI1_RWCR 0xFFC40520 /* SPI1 Received Word Count Reload Register */
-#define REG_SPI1_TWC 0xFFC40524 /* SPI1 Transmitted Word Count Register */
-#define REG_SPI1_TWCR 0xFFC40528 /* SPI1 Transmitted Word Count Reload Register */
-#define REG_SPI1_IMSK 0xFFC40530 /* SPI1 Interrupt Mask Register */
-#define REG_SPI1_IMSK_CLR 0xFFC40534 /* SPI1 Interrupt Mask Clear Register */
-#define REG_SPI1_IMSK_SET 0xFFC40538 /* SPI1 Interrupt Mask Set Register */
-#define REG_SPI1_STAT 0xFFC40540 /* SPI1 Status Register */
-#define REG_SPI1_ILAT 0xFFC40544 /* SPI1 Masked Interrupt Condition Register */
-#define REG_SPI1_ILAT_CLR 0xFFC40548 /* SPI1 Masked Interrupt Clear Register */
-#define REG_SPI1_RFIFO 0xFFC40550 /* SPI1 Receive FIFO Data Register */
-#define REG_SPI1_TFIFO 0xFFC40558 /* SPI1 Transmit FIFO Data Register */
-
-/* =========================
- SPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CTL_SOSI 22 /* Start on MOSI */
-#define BITP_SPI_CTL_MIOM 20 /* Multiple I/O Mode */
-#define BITP_SPI_CTL_FMODE 18 /* Fast-Mode Enable */
-#define BITP_SPI_CTL_FCWM 16 /* Flow Control Watermark */
-#define BITP_SPI_CTL_FCPL 15 /* Flow Control Polarity */
-#define BITP_SPI_CTL_FCCH 14 /* Flow Control Channel Selection */
-#define BITP_SPI_CTL_FCEN 13 /* Flow Control Enable */
-#define BITP_SPI_CTL_LSBF 12 /* Least Significant Bit First */
-#define BITP_SPI_CTL_SIZE 9 /* Word Transfer Size */
-#define BITP_SPI_CTL_EMISO 8 /* Enable MISO */
-#define BITP_SPI_CTL_SELST 7 /* Slave Select Polarity Between Transfers */
-#define BITP_SPI_CTL_ASSEL 6 /* Slave Select Pin Control */
-#define BITP_SPI_CTL_CPOL 5 /* Clock Polarity */
-#define BITP_SPI_CTL_CPHA 4 /* Clock Phase */
-#define BITP_SPI_CTL_ODM 3 /* Open Drain Mode */
-#define BITP_SPI_CTL_PSSE 2 /* Protected Slave Select Enable */
-#define BITP_SPI_CTL_MSTR 1 /* Master / Slave */
-#define BITP_SPI_CTL_EN 0 /* Enable */
-
-#define BITM_SPI_CTL_SOSI (_ADI_MSK(0x00400000,uint32_t)) /* Start on MOSI */
-#define ENUM_SPI_CTL_STMISO (_ADI_MSK(0x00000000,uint32_t)) /* SOSI: Bit 1 on MISO (DIOM) or on D3 (QIOM) */
-#define ENUM_SPI_CTL_STMOSI (_ADI_MSK(0x00400000,uint32_t)) /* SOSI: Bit 1 on MOSI (DIOM and QIOM) */
-
-#define BITM_SPI_CTL_MIOM (_ADI_MSK(0x00300000,uint32_t)) /* Multiple I/O Mode */
-#define ENUM_SPI_CTL_MIO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MIOM: No MIOM (disabled) */
-#define ENUM_SPI_CTL_MIO_DUAL (_ADI_MSK(0x00100000,uint32_t)) /* MIOM: DIOM operation */
-#define ENUM_SPI_CTL_MIO_QUAD (_ADI_MSK(0x00200000,uint32_t)) /* MIOM: QIOM operation */
-
-#define BITM_SPI_CTL_FMODE (_ADI_MSK(0x00040000,uint32_t)) /* Fast-Mode Enable */
-#define ENUM_SPI_CTL_FAST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FMODE: Disable */
-#define ENUM_SPI_CTL_FAST_EN (_ADI_MSK(0x00040000,uint32_t)) /* FMODE: Enable */
-
-#define BITM_SPI_CTL_FCWM (_ADI_MSK(0x00030000,uint32_t)) /* Flow Control Watermark */
-#define ENUM_SPI_CTL_FIFO0 (_ADI_MSK(0x00000000,uint32_t)) /* FCWM: TFIFO empty or RFIFO full */
-#define ENUM_SPI_CTL_FIFO1 (_ADI_MSK(0x00010000,uint32_t)) /* FCWM: TFIFO 75% or more empty, or RFIFO full */
-#define ENUM_SPI_CTL_FIFO2 (_ADI_MSK(0x00020000,uint32_t)) /* FCWM: TFIFO 50% or more empty, or RFIFO full */
-
-#define BITM_SPI_CTL_FCPL (_ADI_MSK(0x00008000,uint32_t)) /* Flow Control Polarity */
-#define ENUM_SPI_CTL_FLOW_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPL: Active-low RDY */
-#define ENUM_SPI_CTL_FLOW_HI (_ADI_MSK(0x00008000,uint32_t)) /* FCPL: Active-high RDY */
-
-#define BITM_SPI_CTL_FCCH (_ADI_MSK(0x00004000,uint32_t)) /* Flow Control Channel Selection */
-#define ENUM_SPI_CTL_FLOW_RX (_ADI_MSK(0x00000000,uint32_t)) /* FCCH: Flow control on RX buffer */
-#define ENUM_SPI_CTL_FLOW_TX (_ADI_MSK(0x00004000,uint32_t)) /* FCCH: Flow control on TX buffer */
-
-#define BITM_SPI_CTL_FCEN (_ADI_MSK(0x00002000,uint32_t)) /* Flow Control Enable */
-#define ENUM_SPI_CTL_FLOW_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FCEN: Disable */
-#define ENUM_SPI_CTL_FLOW_EN (_ADI_MSK(0x00002000,uint32_t)) /* FCEN: Enable */
-
-#define BITM_SPI_CTL_LSBF (_ADI_MSK(0x00001000,uint32_t)) /* Least Significant Bit First */
-#define ENUM_SPI_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB sent/received first (big endian) */
-#define ENUM_SPI_CTL_LSB_FIRST (_ADI_MSK(0x00001000,uint32_t)) /* LSBF: LSB sent/received first (little endian) */
-
-#define BITM_SPI_CTL_SIZE (_ADI_MSK(0x00000600,uint32_t)) /* Word Transfer Size */
-#define ENUM_SPI_CTL_SIZE08 (_ADI_MSK(0x00000000,uint32_t)) /* SIZE: 8-bit word */
-#define ENUM_SPI_CTL_SIZE16 (_ADI_MSK(0x00000200,uint32_t)) /* SIZE: 16-bit word */
-#define ENUM_SPI_CTL_SIZE32 (_ADI_MSK(0x00000400,uint32_t)) /* SIZE: 32-bit word */
-
-#define BITM_SPI_CTL_EMISO (_ADI_MSK(0x00000100,uint32_t)) /* Enable MISO */
-#define ENUM_SPI_CTL_MISO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMISO: Disable */
-#define ENUM_SPI_CTL_MISO_EN (_ADI_MSK(0x00000100,uint32_t)) /* EMISO: Enable */
-
-#define BITM_SPI_CTL_SELST (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select Polarity Between Transfers */
-#define ENUM_SPI_CTL_DEASSRT_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* SELST: De-assert slave select (high) */
-#define ENUM_SPI_CTL_ASSRT_SSEL (_ADI_MSK(0x00000080,uint32_t)) /* SELST: Assert slave select (low) */
-
-#define BITM_SPI_CTL_ASSEL (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select Pin Control */
-#define ENUM_SPI_CTL_SW_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* ASSEL: Software Slave Select Control */
-#define ENUM_SPI_CTL_HW_SSEL (_ADI_MSK(0x00000040,uint32_t)) /* ASSEL: Hardware Slave Select Control */
-
-#define BITM_SPI_CTL_CPOL (_ADI_MSK(0x00000020,uint32_t)) /* Clock Polarity */
-#define ENUM_SPI_CTL_SCKHI (_ADI_MSK(0x00000000,uint32_t)) /* CPOL: Active-high SPI CLK */
-#define ENUM_SPI_CTL_SCKLO (_ADI_MSK(0x00000020,uint32_t)) /* CPOL: Active-low SPI CLK */
-
-#define BITM_SPI_CTL_CPHA (_ADI_MSK(0x00000010,uint32_t)) /* Clock Phase */
-#define ENUM_SPI_CTL_SCKMID (_ADI_MSK(0x00000000,uint32_t)) /* CPHA: SPI CLK toggles from middle */
-#define ENUM_SPI_CTL_SCKBEG (_ADI_MSK(0x00000010,uint32_t)) /* CPHA: SPI CLK toggles from start */
-
-#define BITM_SPI_CTL_ODM (_ADI_MSK(0x00000008,uint32_t)) /* Open Drain Mode */
-#define ENUM_SPI_CTL_ODM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ODM: Disable */
-#define ENUM_SPI_CTL_ODM_EN (_ADI_MSK(0x00000008,uint32_t)) /* ODM: Enable */
-
-#define BITM_SPI_CTL_PSSE (_ADI_MSK(0x00000004,uint32_t)) /* Protected Slave Select Enable */
-#define ENUM_SPI_CTL_PSSE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PSSE: Disable */
-#define ENUM_SPI_CTL_PSSE_EN (_ADI_MSK(0x00000004,uint32_t)) /* PSSE: Enable */
-
-#define BITM_SPI_CTL_MSTR (_ADI_MSK(0x00000002,uint32_t)) /* Master / Slave */
-#define ENUM_SPI_CTL_SLAVE (_ADI_MSK(0x00000000,uint32_t)) /* MSTR: Slave */
-#define ENUM_SPI_CTL_MASTER (_ADI_MSK(0x00000002,uint32_t)) /* MSTR: Master */
-
-#define BITM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable SPI module */
-#define ENUM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RXCTL_RUWM 16 /* Receive FIFO Urgent Watermark */
-#define BITP_SPI_RXCTL_RRWM 12 /* Receive FIFO Regular Watermark */
-#define BITP_SPI_RXCTL_RDO 8 /* Receive Data Overrun */
-#define BITP_SPI_RXCTL_RDR 4 /* Receive Data Request */
-#define BITP_SPI_RXCTL_RWCEN 3 /* Receive Word Counter Enable */
-#define BITP_SPI_RXCTL_RTI 2 /* Receive Transfer Initiate */
-#define BITP_SPI_RXCTL_REN 0 /* Receive Enable */
-
-#define BITM_SPI_RXCTL_RUWM (_ADI_MSK(0x00070000,uint32_t)) /* Receive FIFO Urgent Watermark */
-#define ENUM_SPI_RXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disabled */
-#define ENUM_SPI_RXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* RUWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* RUWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* RUWM: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_FULL (_ADI_MSK(0x00040000,uint32_t)) /* RUWM: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RRWM (_ADI_MSK(0x00003000,uint32_t)) /* Receive FIFO Regular Watermark */
-#define ENUM_SPI_RXCTL_RWM_0 (_ADI_MSK(0x00000000,uint32_t)) /* RRWM: Empty RFIFO */
-#define ENUM_SPI_RXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* RRWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* RRWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* RRWM: 75% full RFIFO */
-
-#define BITM_SPI_RXCTL_RDO (_ADI_MSK(0x00000100,uint32_t)) /* Receive Data Overrun */
-#define ENUM_SPI_RXCTL_DISCARD (_ADI_MSK(0x00000000,uint32_t)) /* RDO: KeDiscard incoming data if SPI_RFIFO is full */
-#define ENUM_SPI_RXCTL_OVERWRITE (_ADI_MSK(0x00000100,uint32_t)) /* RDO: Overwrite old data if SPI_RFIFO is full */
-
-#define BITM_SPI_RXCTL_RDR (_ADI_MSK(0x00000070,uint32_t)) /* Receive Data Request */
-#define ENUM_SPI_RXCTL_RDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDR: Disabled */
-#define ENUM_SPI_RXCTL_RDR_NE (_ADI_MSK(0x00000010,uint32_t)) /* RDR: Not empty RFIFO */
-#define ENUM_SPI_RXCTL_RDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* RDR: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* RDR: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* RDR: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_FULL (_ADI_MSK(0x00000050,uint32_t)) /* RDR: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Receive Word Counter Enable */
-#define ENUM_SPI_RXCTL_RWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RWCEN: Disable */
-#define ENUM_SPI_RXCTL_RWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* RWCEN: Enable */
-
-#define BITM_SPI_RXCTL_RTI (_ADI_MSK(0x00000004,uint32_t)) /* Receive Transfer Initiate */
-#define ENUM_SPI_RXCTL_RTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RTI: Disable */
-#define ENUM_SPI_RXCTL_RTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* RTI: Enable */
-
-#define BITM_SPI_RXCTL_REN (_ADI_MSK(0x00000001,uint32_t)) /* Receive Enable */
-#define ENUM_SPI_RXCTL_RX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* REN: Disable */
-#define ENUM_SPI_RXCTL_RX_EN (_ADI_MSK(0x00000001,uint32_t)) /* REN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TXCTL_TUWM 16 /* FIFO Urgent Watermark */
-#define BITP_SPI_TXCTL_TRWM 12 /* FIFO Regular Watermark */
-#define BITP_SPI_TXCTL_TDU 8 /* Transmit Data Under-run */
-#define BITP_SPI_TXCTL_TDR 4 /* Transmit Data Request */
-#define BITP_SPI_TXCTL_TWCEN 3 /* Transmit Word Counter Enable */
-#define BITP_SPI_TXCTL_TTI 2 /* Transmit Transfer Initiate */
-#define BITP_SPI_TXCTL_TEN 0 /* Transmit Enable */
-
-#define BITM_SPI_TXCTL_TUWM (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Urgent Watermark */
-#define ENUM_SPI_TXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disabled */
-#define ENUM_SPI_TXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* TUWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* TUWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* TUWM: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TUWM: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TRWM (_ADI_MSK(0x00003000,uint32_t)) /* FIFO Regular Watermark */
-#define ENUM_SPI_TXCTL_RWM_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TRWM: Full TFIFO */
-#define ENUM_SPI_TXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* TRWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* TRWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* TRWM: 75% empty TFIFO */
-
-#define BITM_SPI_TXCTL_TDU (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Data Under-run */
-#define ENUM_SPI_TXCTL_LASTWD (_ADI_MSK(0x00000000,uint32_t)) /* TDU: Send last word when SPI_TFIFO is empty */
-#define ENUM_SPI_TXCTL_ZERO (_ADI_MSK(0x00000100,uint32_t)) /* TDU: Send zeros when SPI_TFIFO is empty */
-
-#define BITM_SPI_TXCTL_TDR (_ADI_MSK(0x00000070,uint32_t)) /* Transmit Data Request */
-#define ENUM_SPI_TXCTL_TDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TDR: Disabled */
-#define ENUM_SPI_TXCTL_TDR_NF (_ADI_MSK(0x00000010,uint32_t)) /* TDR: Not full TFIFO */
-#define ENUM_SPI_TXCTL_TDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* TDR: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* TDR: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* TDR: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_EMPTY (_ADI_MSK(0x00000050,uint32_t)) /* TDR: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Word Counter Enable */
-#define ENUM_SPI_TXCTL_TWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TWCEN: Disable */
-#define ENUM_SPI_TXCTL_TWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* TWCEN: Enable */
-
-#define BITM_SPI_TXCTL_TTI (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Transfer Initiate */
-#define ENUM_SPI_TXCTL_TTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TTI: Disable */
-#define ENUM_SPI_TXCTL_TTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* TTI: Enable */
-
-#define BITM_SPI_TXCTL_TEN (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Enable */
-#define ENUM_SPI_TXCTL_TX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TEN: Disable */
-#define ENUM_SPI_TXCTL_TX_EN (_ADI_MSK(0x00000001,uint32_t)) /* TEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CLK_BAUD 0 /* Baud Rate */
-#define BITM_SPI_CLK_BAUD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Baud Rate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_DLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_DLY_LAGX 9 /* Extended SPI Clock Lag Control */
-#define BITP_SPI_DLY_LEADX 8 /* Extended SPI Clock Lead Control */
-#define BITP_SPI_DLY_STOP 0 /* Transfer delay time in multiples of SPI clock period */
-#define BITM_SPI_DLY_LAGX (_ADI_MSK(0x00000200,uint32_t)) /* Extended SPI Clock Lag Control */
-#define BITM_SPI_DLY_LEADX (_ADI_MSK(0x00000100,uint32_t)) /* Extended SPI Clock Lead Control */
-#define BITM_SPI_DLY_STOP (_ADI_MSK(0x000000FF,uint32_t)) /* Transfer delay time in multiples of SPI clock period */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_SLVSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_SLVSEL_SSEL7 15 /* Slave Select 7 Input */
-#define BITP_SPI_SLVSEL_SSEL6 14 /* Slave Select 6 Input */
-#define BITP_SPI_SLVSEL_SSEL5 13 /* Slave Select 5 Input */
-#define BITP_SPI_SLVSEL_SSEL4 12 /* Slave Select 4 Input */
-#define BITP_SPI_SLVSEL_SSEL3 11 /* Slave Select 3 Input */
-#define BITP_SPI_SLVSEL_SSEL2 10 /* Slave Select 2 Input */
-#define BITP_SPI_SLVSEL_SSEL1 9 /* Slave Select 1 Input */
-#define BITP_SPI_SLVSEL_SSE7 7 /* Slave Select 7 Enable */
-#define BITP_SPI_SLVSEL_SSE6 6 /* Slave Select 6 Enable */
-#define BITP_SPI_SLVSEL_SSE5 5 /* Slave Select 5 Enable */
-#define BITP_SPI_SLVSEL_SSE4 4 /* Slave Select 4 Enable */
-#define BITP_SPI_SLVSEL_SSE3 3 /* Slave Select 3 Enable */
-#define BITP_SPI_SLVSEL_SSE2 2 /* Slave Select 2 Enable */
-#define BITP_SPI_SLVSEL_SSE1 1 /* Slave Select 1 Enable */
-
-#define BITM_SPI_SLVSEL_SSEL7 (_ADI_MSK(0x00008000,uint32_t)) /* Slave Select 7 Input */
-#define ENUM_SPI_SLVSEL_SSEL7_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL7: Low */
-#define ENUM_SPI_SLVSEL_SSEL7_HI (_ADI_MSK(0x00008000,uint32_t)) /* SSEL7: High */
-
-#define BITM_SPI_SLVSEL_SSEL6 (_ADI_MSK(0x00004000,uint32_t)) /* Slave Select 6 Input */
-#define ENUM_SPI_SLVSEL_SSEL6_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL6: Low */
-#define ENUM_SPI_SLVSEL_SSEL6_HI (_ADI_MSK(0x00004000,uint32_t)) /* SSEL6: High */
-
-#define BITM_SPI_SLVSEL_SSEL5 (_ADI_MSK(0x00002000,uint32_t)) /* Slave Select 5 Input */
-#define ENUM_SPI_SLVSEL_SSEL5_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL5: Low */
-#define ENUM_SPI_SLVSEL_SSEL5_HI (_ADI_MSK(0x00002000,uint32_t)) /* SSEL5: High */
-
-#define BITM_SPI_SLVSEL_SSEL4 (_ADI_MSK(0x00001000,uint32_t)) /* Slave Select 4 Input */
-#define ENUM_SPI_SLVSEL_SSEL4_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL4: Low */
-#define ENUM_SPI_SLVSEL_SSEL4_HI (_ADI_MSK(0x00001000,uint32_t)) /* SSEL4: High */
-
-#define BITM_SPI_SLVSEL_SSEL3 (_ADI_MSK(0x00000800,uint32_t)) /* Slave Select 3 Input */
-#define ENUM_SPI_SLVSEL_SSEL3_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL3: Low */
-#define ENUM_SPI_SLVSEL_SSEL3_HI (_ADI_MSK(0x00000800,uint32_t)) /* SSEL3: High */
-
-#define BITM_SPI_SLVSEL_SSEL2 (_ADI_MSK(0x00000400,uint32_t)) /* Slave Select 2 Input */
-#define ENUM_SPI_SLVSEL_SSEL2_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL2: Low */
-#define ENUM_SPI_SLVSEL_SSEL2_HI (_ADI_MSK(0x00000400,uint32_t)) /* SSEL2: High */
-
-#define BITM_SPI_SLVSEL_SSEL1 (_ADI_MSK(0x00000200,uint32_t)) /* Slave Select 1 Input */
-#define ENUM_SPI_SLVSEL_SSEL1_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL1: Low */
-#define ENUM_SPI_SLVSEL_SSEL1_HI (_ADI_MSK(0x00000200,uint32_t)) /* SSEL1: High */
-
-#define BITM_SPI_SLVSEL_SSE7 (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select 7 Enable */
-#define ENUM_SPI_SLVSEL_SSEL7_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE7: Disable */
-#define ENUM_SPI_SLVSEL_SSEL7_EN (_ADI_MSK(0x00000080,uint32_t)) /* SSE7: Enable */
-
-#define BITM_SPI_SLVSEL_SSE6 (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select 6 Enable */
-#define ENUM_SPI_SLVSEL_SSEL6_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE6: Disable */
-#define ENUM_SPI_SLVSEL_SSEL6_EN (_ADI_MSK(0x00000040,uint32_t)) /* SSE6: Enable */
-
-#define BITM_SPI_SLVSEL_SSE5 (_ADI_MSK(0x00000020,uint32_t)) /* Slave Select 5 Enable */
-#define ENUM_SPI_SLVSEL_SSEL5_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE5: Disable */
-#define ENUM_SPI_SLVSEL_SSEL5_EN (_ADI_MSK(0x00000020,uint32_t)) /* SSE5: Enable */
-
-#define BITM_SPI_SLVSEL_SSE4 (_ADI_MSK(0x00000010,uint32_t)) /* Slave Select 4 Enable */
-#define ENUM_SPI_SLVSEL_SSEL4_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE4: Disable */
-#define ENUM_SPI_SLVSEL_SSEL4_EN (_ADI_MSK(0x00000010,uint32_t)) /* SSE4: Enable */
-
-#define BITM_SPI_SLVSEL_SSE3 (_ADI_MSK(0x00000008,uint32_t)) /* Slave Select 3 Enable */
-#define ENUM_SPI_SLVSEL_SSEL3_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE3: Disable */
-#define ENUM_SPI_SLVSEL_SSEL3_EN (_ADI_MSK(0x00000008,uint32_t)) /* SSE3: Enable */
-
-#define BITM_SPI_SLVSEL_SSE2 (_ADI_MSK(0x00000004,uint32_t)) /* Slave Select 2 Enable */
-#define ENUM_SPI_SLVSEL_SSEL2_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE2: Disable */
-#define ENUM_SPI_SLVSEL_SSEL2_EN (_ADI_MSK(0x00000004,uint32_t)) /* SSE2: Enable */
-
-#define BITM_SPI_SLVSEL_SSE1 (_ADI_MSK(0x00000002,uint32_t)) /* Slave Select 1 Enable */
-#define ENUM_SPI_SLVSEL_SSEL1_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE1: Disable */
-#define ENUM_SPI_SLVSEL_SSEL1_EN (_ADI_MSK(0x00000002,uint32_t)) /* SSE1: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWC_VALUE 0 /* Received Word Count */
-#define BITM_SPI_RWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWCR_VALUE 0 /* Received Word Count Reload */
-#define BITM_SPI_RWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWC_VALUE 0 /* Transmitted Word Count */
-#define BITM_SPI_TWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWCR_VALUE 0 /* Transmitted Word Count Reload */
-#define BITM_SPI_TWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_TF 11 /* Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_RF 10 /* Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_TS 9 /* Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_RS 8 /* Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_MF 7 /* Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_TC 6 /* Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_TUR 5 /* Transmit Underrun Interrupt Mask */
-#define BITP_SPI_IMSK_ROR 4 /* Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_TUWM 2 /* Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_RUWM 1 /* Receive Urgent Watermark Interrupt Mask */
-
-#define BITM_SPI_IMSK_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Mask */
-#define ENUM_SPI_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: Disable (mask) interrupt */
-#define ENUM_SPI_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Mask */
-#define ENUM_SPI_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: Disable (mask) interrupt */
-#define ENUM_SPI_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Mask */
-#define ENUM_SPI_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: Disable (mask) interrupt */
-#define ENUM_SPI_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Mask */
-#define ENUM_SPI_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: Disable (mask) interrupt */
-#define ENUM_SPI_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Mask */
-#define ENUM_SPI_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: Disable (mask) interrupt */
-#define ENUM_SPI_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Mask */
-#define ENUM_SPI_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: Disable (mask) interrupt */
-#define ENUM_SPI_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Interrupt Mask */
-#define ENUM_SPI_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: Disable (mask) interrupt */
-#define ENUM_SPI_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Mask */
-#define ENUM_SPI_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: Disable (mask) interrupt */
-#define ENUM_SPI_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disable (mask) interrupt */
-#define ENUM_SPI_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disable (mask) interrupt */
-#define ENUM_SPI_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_CLR_TF 11 /* Clear Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RF 10 /* Clear Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TS 9 /* Clear Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RS 8 /* Clear Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_MF 7 /* Clear Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TC 6 /* Clear Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_ROR 4 /* Clear Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_SET_TF 11 /* Set Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RF 10 /* Set Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TS 9 /* Set Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RS 8 /* Set Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_MF 7 /* Set Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TC 6 /* Set Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUR 5 /* Set Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_SET_ROR 4 /* Set Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUWM 2 /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RUWM 1 /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_SET are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_SET_TF (_ADI_MSK(0x00000800,uint32_t)) /* Set Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RF (_ADI_MSK(0x00000400,uint32_t)) /* Set Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TS (_ADI_MSK(0x00000200,uint32_t)) /* Set Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RS (_ADI_MSK(0x00000100,uint32_t)) /* Set Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_MF (_ADI_MSK(0x00000080,uint32_t)) /* Set Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TC (_ADI_MSK(0x00000040,uint32_t)) /* Set Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Set Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_SET_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Set Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_STAT_TFF 23 /* SPI_TFIFO Full */
-#define BITP_SPI_STAT_RFE 22 /* SPI_RFIFO Empty */
-#define BITP_SPI_STAT_FCS 20 /* Flow Control Stall Indication */
-#define BITP_SPI_STAT_TFS 16 /* SPI_TFIFO Status */
-#define BITP_SPI_STAT_RFS 12 /* SPI_RFIFO Status */
-#define BITP_SPI_STAT_TF 11 /* Transmit Finish Indication */
-#define BITP_SPI_STAT_RF 10 /* Receive Finish Indication */
-#define BITP_SPI_STAT_TS 9 /* Transmit Start */
-#define BITP_SPI_STAT_RS 8 /* Receive Start */
-#define BITP_SPI_STAT_MF 7 /* Mode Fault Indication */
-#define BITP_SPI_STAT_TC 6 /* Transmit Collision Indication */
-#define BITP_SPI_STAT_TUR 5 /* Transmit Underrun Indication */
-#define BITP_SPI_STAT_ROR 4 /* Receive Overrun Indication */
-#define BITP_SPI_STAT_TUWM 2 /* Transmit Urgent Watermark Breached */
-#define BITP_SPI_STAT_RUWM 1 /* Receive Urgent Watermark Breached */
-#define BITP_SPI_STAT_SPIF 0 /* SPI Finished */
-
-#define BITM_SPI_STAT_TFF (_ADI_MSK(0x00800000,uint32_t)) /* SPI_TFIFO Full */
-#define ENUM_SPI_STAT_TFIFO_NF (_ADI_MSK(0x00000000,uint32_t)) /* TFF: Not full Tx FIFO */
-#define ENUM_SPI_STAT_TFIFO_F (_ADI_MSK(0x00800000,uint32_t)) /* TFF: Full Tx FIFO */
-
-#define BITM_SPI_STAT_RFE (_ADI_MSK(0x00400000,uint32_t)) /* SPI_RFIFO Empty */
-#define ENUM_SPI_STAT_RFIFO_E (_ADI_MSK(0x00000000,uint32_t)) /* RFE: Empty Rx FIFO */
-#define ENUM_SPI_STAT_RFIFO_NE (_ADI_MSK(0x00400000,uint32_t)) /* RFE: Not empty Rx FIFO */
-
-#define BITM_SPI_STAT_FCS (_ADI_MSK(0x00100000,uint32_t)) /* Flow Control Stall Indication */
-#define ENUM_SPI_STAT_STALL (_ADI_MSK(0x00000000,uint32_t)) /* FCS: Stall (RDY pin asserted) */
-#define ENUM_SPI_STAT_NOSTALL (_ADI_MSK(0x00100000,uint32_t)) /* FCS: No stall (RDY pin de-asserted) */
-
-#define BITM_SPI_STAT_TFS (_ADI_MSK(0x00070000,uint32_t)) /* SPI_TFIFO Status */
-#define ENUM_SPI_STAT_TFIFO_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TFS: Full TFIFO */
-#define ENUM_SPI_STAT_TFIFO_25 (_ADI_MSK(0x00010000,uint32_t)) /* TFS: 25% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_50 (_ADI_MSK(0x00020000,uint32_t)) /* TFS: 50% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_75 (_ADI_MSK(0x00030000,uint32_t)) /* TFS: 75% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TFS: Empty TFIFO */
-
-#define BITM_SPI_STAT_RFS (_ADI_MSK(0x00007000,uint32_t)) /* SPI_RFIFO Status */
-#define ENUM_SPI_STAT_RFIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RFS: Empty RFIFO */
-#define ENUM_SPI_STAT_RFIFO_25 (_ADI_MSK(0x00001000,uint32_t)) /* RFS: 25% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_50 (_ADI_MSK(0x00002000,uint32_t)) /* RFS: 50% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_75 (_ADI_MSK(0x00003000,uint32_t)) /* RFS: 75% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_FULL (_ADI_MSK(0x00004000,uint32_t)) /* RFS: Full RFIFO */
-
-#define BITM_SPI_STAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Indication */
-#define ENUM_SPI_STAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No status */
-#define ENUM_SPI_STAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Transmit finish detected */
-
-#define BITM_SPI_STAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Indication */
-#define ENUM_SPI_STAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No status */
-#define ENUM_SPI_STAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Receive finish detected */
-
-#define BITM_SPI_STAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start */
-#define ENUM_SPI_STAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No status */
-#define ENUM_SPI_STAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Transmit start detected */
-
-#define BITM_SPI_STAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start */
-#define ENUM_SPI_STAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No status */
-#define ENUM_SPI_STAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Receive start detected */
-
-#define BITM_SPI_STAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Indication */
-#define ENUM_SPI_STAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No status */
-#define ENUM_SPI_STAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Mode fault occurred */
-
-#define BITM_SPI_STAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Indication */
-#define ENUM_SPI_STAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No status */
-#define ENUM_SPI_STAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Transmit collision occurred */
-
-#define BITM_SPI_STAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Indication */
-#define ENUM_SPI_STAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No status */
-#define ENUM_SPI_STAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Transmit underrun occurred */
-
-#define BITM_SPI_STAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Indication */
-#define ENUM_SPI_STAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No status */
-#define ENUM_SPI_STAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Receive overrun occurred */
-
-#define BITM_SPI_STAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Breached */
-#define ENUM_SPI_STAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: TX Regular Watermark reached */
-#define ENUM_SPI_STAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: TX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Breached */
-#define ENUM_SPI_STAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: RX Regular Watermark reached */
-#define ENUM_SPI_STAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: RX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_SPIF (_ADI_MSK(0x00000001,uint32_t)) /* SPI Finished */
-#define ENUM_SPI_STAT_SPIF_LO (_ADI_MSK(0x00000000,uint32_t)) /* SPIF: No status */
-#define ENUM_SPI_STAT_SPIF_HI (_ADI_MSK(0x00000001,uint32_t)) /* SPIF: Completed single-word transfer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_TF 11 /* Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_RF 10 /* Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_TS 9 /* Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_RS 8 /* Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_MF 7 /* Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_TC 6 /* Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_TUR 5 /* Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_ROR 4 /* Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_TUWM 2 /* Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_RUWM 1 /* Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-
-#define BITM_SPI_ILAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No interrupt */
-#define ENUM_SPI_ILAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Latched interrupt */
-
-#define BITM_SPI_ILAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No interrupt */
-#define ENUM_SPI_ILAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Latch */
-#define ENUM_SPI_ILAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No interrupt */
-#define ENUM_SPI_ILAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Latched interrupt */
-
-#define BITM_SPI_ILAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Latch */
-#define ENUM_SPI_ILAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No interrupt */
-#define ENUM_SPI_ILAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Latched interrupt */
-
-#define BITM_SPI_ILAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Latch */
-#define ENUM_SPI_ILAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No interrupt */
-#define ENUM_SPI_ILAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Latch */
-#define ENUM_SPI_ILAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No interrupt */
-#define ENUM_SPI_ILAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Under-run Interrupt Latch */
-#define ENUM_SPI_ILAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No interrupt */
-#define ENUM_SPI_ILAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Latched interrupt */
-
-#define BITM_SPI_ILAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Latch */
-#define ENUM_SPI_ILAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No interrupt */
-#define ENUM_SPI_ILAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: No interrupt */
-#define ENUM_SPI_ILAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Latched interrupt */
-
-#define BITM_SPI_ILAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: No interrupt */
-#define ENUM_SPI_ILAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Latched interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_CLR_TF 11 /* Clear Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RF 10 /* Clear Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TS 9 /* Clear Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RS 8 /* Clear Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_MF 7 /* Clear Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TC 6 /* Clear Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_ROR 4 /* Clear Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_ILAT_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* ==================================================
- DMA Channel Registers
- ================================================== */
-
-/* =========================
- DMA0
- ========================= */
-#define REG_DMA0_DSCPTR_NXT 0xFFC41000 /* DMA0 Pointer to Next Initial Descriptor */
-#define REG_DMA0_ADDRSTART 0xFFC41004 /* DMA0 Start Address of Current Buffer */
-#define REG_DMA0_CFG 0xFFC41008 /* DMA0 Configuration Register */
-#define REG_DMA0_XCNT 0xFFC4100C /* DMA0 Inner Loop Count Start Value */
-#define REG_DMA0_XMOD 0xFFC41010 /* DMA0 Inner Loop Address Increment */
-#define REG_DMA0_YCNT 0xFFC41014 /* DMA0 Outer Loop Count Start Value (2D only) */
-#define REG_DMA0_YMOD 0xFFC41018 /* DMA0 Outer Loop Address Increment (2D only) */
-#define REG_DMA0_DSCPTR_CUR 0xFFC41024 /* DMA0 Current Descriptor Pointer */
-#define REG_DMA0_DSCPTR_PRV 0xFFC41028 /* DMA0 Previous Initial Descriptor Pointer */
-#define REG_DMA0_ADDR_CUR 0xFFC4102C /* DMA0 Current Address */
-#define REG_DMA0_STAT 0xFFC41030 /* DMA0 Status Register */
-#define REG_DMA0_XCNT_CUR 0xFFC41034 /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA0_YCNT_CUR 0xFFC41038 /* DMA0 Current Row Count (2D only) */
-#define REG_DMA0_BWLCNT 0xFFC41040 /* DMA0 Bandwidth Limit Count */
-#define REG_DMA0_BWLCNT_CUR 0xFFC41044 /* DMA0 Bandwidth Limit Count Current */
-#define REG_DMA0_BWMCNT 0xFFC41048 /* DMA0 Bandwidth Monitor Count */
-#define REG_DMA0_BWMCNT_CUR 0xFFC4104C /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA1
- ========================= */
-#define REG_DMA1_DSCPTR_NXT 0xFFC41080 /* DMA1 Pointer to Next Initial Descriptor */
-#define REG_DMA1_ADDRSTART 0xFFC41084 /* DMA1 Start Address of Current Buffer */
-#define REG_DMA1_CFG 0xFFC41088 /* DMA1 Configuration Register */
-#define REG_DMA1_XCNT 0xFFC4108C /* DMA1 Inner Loop Count Start Value */
-#define REG_DMA1_XMOD 0xFFC41090 /* DMA1 Inner Loop Address Increment */
-#define REG_DMA1_YCNT 0xFFC41094 /* DMA1 Outer Loop Count Start Value (2D only) */
-#define REG_DMA1_YMOD 0xFFC41098 /* DMA1 Outer Loop Address Increment (2D only) */
-#define REG_DMA1_DSCPTR_CUR 0xFFC410A4 /* DMA1 Current Descriptor Pointer */
-#define REG_DMA1_DSCPTR_PRV 0xFFC410A8 /* DMA1 Previous Initial Descriptor Pointer */
-#define REG_DMA1_ADDR_CUR 0xFFC410AC /* DMA1 Current Address */
-#define REG_DMA1_STAT 0xFFC410B0 /* DMA1 Status Register */
-#define REG_DMA1_XCNT_CUR 0xFFC410B4 /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA1_YCNT_CUR 0xFFC410B8 /* DMA1 Current Row Count (2D only) */
-#define REG_DMA1_BWLCNT 0xFFC410C0 /* DMA1 Bandwidth Limit Count */
-#define REG_DMA1_BWLCNT_CUR 0xFFC410C4 /* DMA1 Bandwidth Limit Count Current */
-#define REG_DMA1_BWMCNT 0xFFC410C8 /* DMA1 Bandwidth Monitor Count */
-#define REG_DMA1_BWMCNT_CUR 0xFFC410CC /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA2
- ========================= */
-#define REG_DMA2_DSCPTR_NXT 0xFFC41100 /* DMA2 Pointer to Next Initial Descriptor */
-#define REG_DMA2_ADDRSTART 0xFFC41104 /* DMA2 Start Address of Current Buffer */
-#define REG_DMA2_CFG 0xFFC41108 /* DMA2 Configuration Register */
-#define REG_DMA2_XCNT 0xFFC4110C /* DMA2 Inner Loop Count Start Value */
-#define REG_DMA2_XMOD 0xFFC41110 /* DMA2 Inner Loop Address Increment */
-#define REG_DMA2_YCNT 0xFFC41114 /* DMA2 Outer Loop Count Start Value (2D only) */
-#define REG_DMA2_YMOD 0xFFC41118 /* DMA2 Outer Loop Address Increment (2D only) */
-#define REG_DMA2_DSCPTR_CUR 0xFFC41124 /* DMA2 Current Descriptor Pointer */
-#define REG_DMA2_DSCPTR_PRV 0xFFC41128 /* DMA2 Previous Initial Descriptor Pointer */
-#define REG_DMA2_ADDR_CUR 0xFFC4112C /* DMA2 Current Address */
-#define REG_DMA2_STAT 0xFFC41130 /* DMA2 Status Register */
-#define REG_DMA2_XCNT_CUR 0xFFC41134 /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA2_YCNT_CUR 0xFFC41138 /* DMA2 Current Row Count (2D only) */
-#define REG_DMA2_BWLCNT 0xFFC41140 /* DMA2 Bandwidth Limit Count */
-#define REG_DMA2_BWLCNT_CUR 0xFFC41144 /* DMA2 Bandwidth Limit Count Current */
-#define REG_DMA2_BWMCNT 0xFFC41148 /* DMA2 Bandwidth Monitor Count */
-#define REG_DMA2_BWMCNT_CUR 0xFFC4114C /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA3
- ========================= */
-#define REG_DMA3_DSCPTR_NXT 0xFFC41180 /* DMA3 Pointer to Next Initial Descriptor */
-#define REG_DMA3_ADDRSTART 0xFFC41184 /* DMA3 Start Address of Current Buffer */
-#define REG_DMA3_CFG 0xFFC41188 /* DMA3 Configuration Register */
-#define REG_DMA3_XCNT 0xFFC4118C /* DMA3 Inner Loop Count Start Value */
-#define REG_DMA3_XMOD 0xFFC41190 /* DMA3 Inner Loop Address Increment */
-#define REG_DMA3_YCNT 0xFFC41194 /* DMA3 Outer Loop Count Start Value (2D only) */
-#define REG_DMA3_YMOD 0xFFC41198 /* DMA3 Outer Loop Address Increment (2D only) */
-#define REG_DMA3_DSCPTR_CUR 0xFFC411A4 /* DMA3 Current Descriptor Pointer */
-#define REG_DMA3_DSCPTR_PRV 0xFFC411A8 /* DMA3 Previous Initial Descriptor Pointer */
-#define REG_DMA3_ADDR_CUR 0xFFC411AC /* DMA3 Current Address */
-#define REG_DMA3_STAT 0xFFC411B0 /* DMA3 Status Register */
-#define REG_DMA3_XCNT_CUR 0xFFC411B4 /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA3_YCNT_CUR 0xFFC411B8 /* DMA3 Current Row Count (2D only) */
-#define REG_DMA3_BWLCNT 0xFFC411C0 /* DMA3 Bandwidth Limit Count */
-#define REG_DMA3_BWLCNT_CUR 0xFFC411C4 /* DMA3 Bandwidth Limit Count Current */
-#define REG_DMA3_BWMCNT 0xFFC411C8 /* DMA3 Bandwidth Monitor Count */
-#define REG_DMA3_BWMCNT_CUR 0xFFC411CC /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA4
- ========================= */
-#define REG_DMA4_DSCPTR_NXT 0xFFC41200 /* DMA4 Pointer to Next Initial Descriptor */
-#define REG_DMA4_ADDRSTART 0xFFC41204 /* DMA4 Start Address of Current Buffer */
-#define REG_DMA4_CFG 0xFFC41208 /* DMA4 Configuration Register */
-#define REG_DMA4_XCNT 0xFFC4120C /* DMA4 Inner Loop Count Start Value */
-#define REG_DMA4_XMOD 0xFFC41210 /* DMA4 Inner Loop Address Increment */
-#define REG_DMA4_YCNT 0xFFC41214 /* DMA4 Outer Loop Count Start Value (2D only) */
-#define REG_DMA4_YMOD 0xFFC41218 /* DMA4 Outer Loop Address Increment (2D only) */
-#define REG_DMA4_DSCPTR_CUR 0xFFC41224 /* DMA4 Current Descriptor Pointer */
-#define REG_DMA4_DSCPTR_PRV 0xFFC41228 /* DMA4 Previous Initial Descriptor Pointer */
-#define REG_DMA4_ADDR_CUR 0xFFC4122C /* DMA4 Current Address */
-#define REG_DMA4_STAT 0xFFC41230 /* DMA4 Status Register */
-#define REG_DMA4_XCNT_CUR 0xFFC41234 /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA4_YCNT_CUR 0xFFC41238 /* DMA4 Current Row Count (2D only) */
-#define REG_DMA4_BWLCNT 0xFFC41240 /* DMA4 Bandwidth Limit Count */
-#define REG_DMA4_BWLCNT_CUR 0xFFC41244 /* DMA4 Bandwidth Limit Count Current */
-#define REG_DMA4_BWMCNT 0xFFC41248 /* DMA4 Bandwidth Monitor Count */
-#define REG_DMA4_BWMCNT_CUR 0xFFC4124C /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA5
- ========================= */
-#define REG_DMA5_DSCPTR_NXT 0xFFC41280 /* DMA5 Pointer to Next Initial Descriptor */
-#define REG_DMA5_ADDRSTART 0xFFC41284 /* DMA5 Start Address of Current Buffer */
-#define REG_DMA5_CFG 0xFFC41288 /* DMA5 Configuration Register */
-#define REG_DMA5_XCNT 0xFFC4128C /* DMA5 Inner Loop Count Start Value */
-#define REG_DMA5_XMOD 0xFFC41290 /* DMA5 Inner Loop Address Increment */
-#define REG_DMA5_YCNT 0xFFC41294 /* DMA5 Outer Loop Count Start Value (2D only) */
-#define REG_DMA5_YMOD 0xFFC41298 /* DMA5 Outer Loop Address Increment (2D only) */
-#define REG_DMA5_DSCPTR_CUR 0xFFC412A4 /* DMA5 Current Descriptor Pointer */
-#define REG_DMA5_DSCPTR_PRV 0xFFC412A8 /* DMA5 Previous Initial Descriptor Pointer */
-#define REG_DMA5_ADDR_CUR 0xFFC412AC /* DMA5 Current Address */
-#define REG_DMA5_STAT 0xFFC412B0 /* DMA5 Status Register */
-#define REG_DMA5_XCNT_CUR 0xFFC412B4 /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA5_YCNT_CUR 0xFFC412B8 /* DMA5 Current Row Count (2D only) */
-#define REG_DMA5_BWLCNT 0xFFC412C0 /* DMA5 Bandwidth Limit Count */
-#define REG_DMA5_BWLCNT_CUR 0xFFC412C4 /* DMA5 Bandwidth Limit Count Current */
-#define REG_DMA5_BWMCNT 0xFFC412C8 /* DMA5 Bandwidth Monitor Count */
-#define REG_DMA5_BWMCNT_CUR 0xFFC412CC /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA6
- ========================= */
-#define REG_DMA6_DSCPTR_NXT 0xFFC41300 /* DMA6 Pointer to Next Initial Descriptor */
-#define REG_DMA6_ADDRSTART 0xFFC41304 /* DMA6 Start Address of Current Buffer */
-#define REG_DMA6_CFG 0xFFC41308 /* DMA6 Configuration Register */
-#define REG_DMA6_XCNT 0xFFC4130C /* DMA6 Inner Loop Count Start Value */
-#define REG_DMA6_XMOD 0xFFC41310 /* DMA6 Inner Loop Address Increment */
-#define REG_DMA6_YCNT 0xFFC41314 /* DMA6 Outer Loop Count Start Value (2D only) */
-#define REG_DMA6_YMOD 0xFFC41318 /* DMA6 Outer Loop Address Increment (2D only) */
-#define REG_DMA6_DSCPTR_CUR 0xFFC41324 /* DMA6 Current Descriptor Pointer */
-#define REG_DMA6_DSCPTR_PRV 0xFFC41328 /* DMA6 Previous Initial Descriptor Pointer */
-#define REG_DMA6_ADDR_CUR 0xFFC4132C /* DMA6 Current Address */
-#define REG_DMA6_STAT 0xFFC41330 /* DMA6 Status Register */
-#define REG_DMA6_XCNT_CUR 0xFFC41334 /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA6_YCNT_CUR 0xFFC41338 /* DMA6 Current Row Count (2D only) */
-#define REG_DMA6_BWLCNT 0xFFC41340 /* DMA6 Bandwidth Limit Count */
-#define REG_DMA6_BWLCNT_CUR 0xFFC41344 /* DMA6 Bandwidth Limit Count Current */
-#define REG_DMA6_BWMCNT 0xFFC41348 /* DMA6 Bandwidth Monitor Count */
-#define REG_DMA6_BWMCNT_CUR 0xFFC4134C /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA7
- ========================= */
-#define REG_DMA7_DSCPTR_NXT 0xFFC41380 /* DMA7 Pointer to Next Initial Descriptor */
-#define REG_DMA7_ADDRSTART 0xFFC41384 /* DMA7 Start Address of Current Buffer */
-#define REG_DMA7_CFG 0xFFC41388 /* DMA7 Configuration Register */
-#define REG_DMA7_XCNT 0xFFC4138C /* DMA7 Inner Loop Count Start Value */
-#define REG_DMA7_XMOD 0xFFC41390 /* DMA7 Inner Loop Address Increment */
-#define REG_DMA7_YCNT 0xFFC41394 /* DMA7 Outer Loop Count Start Value (2D only) */
-#define REG_DMA7_YMOD 0xFFC41398 /* DMA7 Outer Loop Address Increment (2D only) */
-#define REG_DMA7_DSCPTR_CUR 0xFFC413A4 /* DMA7 Current Descriptor Pointer */
-#define REG_DMA7_DSCPTR_PRV 0xFFC413A8 /* DMA7 Previous Initial Descriptor Pointer */
-#define REG_DMA7_ADDR_CUR 0xFFC413AC /* DMA7 Current Address */
-#define REG_DMA7_STAT 0xFFC413B0 /* DMA7 Status Register */
-#define REG_DMA7_XCNT_CUR 0xFFC413B4 /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA7_YCNT_CUR 0xFFC413B8 /* DMA7 Current Row Count (2D only) */
-#define REG_DMA7_BWLCNT 0xFFC413C0 /* DMA7 Bandwidth Limit Count */
-#define REG_DMA7_BWLCNT_CUR 0xFFC413C4 /* DMA7 Bandwidth Limit Count Current */
-#define REG_DMA7_BWMCNT 0xFFC413C8 /* DMA7 Bandwidth Monitor Count */
-#define REG_DMA7_BWMCNT_CUR 0xFFC413CC /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA8
- ========================= */
-#define REG_DMA8_DSCPTR_NXT 0xFFC41400 /* DMA8 Pointer to Next Initial Descriptor */
-#define REG_DMA8_ADDRSTART 0xFFC41404 /* DMA8 Start Address of Current Buffer */
-#define REG_DMA8_CFG 0xFFC41408 /* DMA8 Configuration Register */
-#define REG_DMA8_XCNT 0xFFC4140C /* DMA8 Inner Loop Count Start Value */
-#define REG_DMA8_XMOD 0xFFC41410 /* DMA8 Inner Loop Address Increment */
-#define REG_DMA8_YCNT 0xFFC41414 /* DMA8 Outer Loop Count Start Value (2D only) */
-#define REG_DMA8_YMOD 0xFFC41418 /* DMA8 Outer Loop Address Increment (2D only) */
-#define REG_DMA8_DSCPTR_CUR 0xFFC41424 /* DMA8 Current Descriptor Pointer */
-#define REG_DMA8_DSCPTR_PRV 0xFFC41428 /* DMA8 Previous Initial Descriptor Pointer */
-#define REG_DMA8_ADDR_CUR 0xFFC4142C /* DMA8 Current Address */
-#define REG_DMA8_STAT 0xFFC41430 /* DMA8 Status Register */
-#define REG_DMA8_XCNT_CUR 0xFFC41434 /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA8_YCNT_CUR 0xFFC41438 /* DMA8 Current Row Count (2D only) */
-#define REG_DMA8_BWLCNT 0xFFC41440 /* DMA8 Bandwidth Limit Count */
-#define REG_DMA8_BWLCNT_CUR 0xFFC41444 /* DMA8 Bandwidth Limit Count Current */
-#define REG_DMA8_BWMCNT 0xFFC41448 /* DMA8 Bandwidth Monitor Count */
-#define REG_DMA8_BWMCNT_CUR 0xFFC4144C /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA9
- ========================= */
-#define REG_DMA9_DSCPTR_NXT 0xFFC41480 /* DMA9 Pointer to Next Initial Descriptor */
-#define REG_DMA9_ADDRSTART 0xFFC41484 /* DMA9 Start Address of Current Buffer */
-#define REG_DMA9_CFG 0xFFC41488 /* DMA9 Configuration Register */
-#define REG_DMA9_XCNT 0xFFC4148C /* DMA9 Inner Loop Count Start Value */
-#define REG_DMA9_XMOD 0xFFC41490 /* DMA9 Inner Loop Address Increment */
-#define REG_DMA9_YCNT 0xFFC41494 /* DMA9 Outer Loop Count Start Value (2D only) */
-#define REG_DMA9_YMOD 0xFFC41498 /* DMA9 Outer Loop Address Increment (2D only) */
-#define REG_DMA9_DSCPTR_CUR 0xFFC414A4 /* DMA9 Current Descriptor Pointer */
-#define REG_DMA9_DSCPTR_PRV 0xFFC414A8 /* DMA9 Previous Initial Descriptor Pointer */
-#define REG_DMA9_ADDR_CUR 0xFFC414AC /* DMA9 Current Address */
-#define REG_DMA9_STAT 0xFFC414B0 /* DMA9 Status Register */
-#define REG_DMA9_XCNT_CUR 0xFFC414B4 /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA9_YCNT_CUR 0xFFC414B8 /* DMA9 Current Row Count (2D only) */
-#define REG_DMA9_BWLCNT 0xFFC414C0 /* DMA9 Bandwidth Limit Count */
-#define REG_DMA9_BWLCNT_CUR 0xFFC414C4 /* DMA9 Bandwidth Limit Count Current */
-#define REG_DMA9_BWMCNT 0xFFC414C8 /* DMA9 Bandwidth Monitor Count */
-#define REG_DMA9_BWMCNT_CUR 0xFFC414CC /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA10
- ========================= */
-#define REG_DMA10_DSCPTR_NXT 0xFFC05000 /* DMA10 Pointer to Next Initial Descriptor */
-#define REG_DMA10_ADDRSTART 0xFFC05004 /* DMA10 Start Address of Current Buffer */
-#define REG_DMA10_CFG 0xFFC05008 /* DMA10 Configuration Register */
-#define REG_DMA10_XCNT 0xFFC0500C /* DMA10 Inner Loop Count Start Value */
-#define REG_DMA10_XMOD 0xFFC05010 /* DMA10 Inner Loop Address Increment */
-#define REG_DMA10_YCNT 0xFFC05014 /* DMA10 Outer Loop Count Start Value (2D only) */
-#define REG_DMA10_YMOD 0xFFC05018 /* DMA10 Outer Loop Address Increment (2D only) */
-#define REG_DMA10_DSCPTR_CUR 0xFFC05024 /* DMA10 Current Descriptor Pointer */
-#define REG_DMA10_DSCPTR_PRV 0xFFC05028 /* DMA10 Previous Initial Descriptor Pointer */
-#define REG_DMA10_ADDR_CUR 0xFFC0502C /* DMA10 Current Address */
-#define REG_DMA10_STAT 0xFFC05030 /* DMA10 Status Register */
-#define REG_DMA10_XCNT_CUR 0xFFC05034 /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA10_YCNT_CUR 0xFFC05038 /* DMA10 Current Row Count (2D only) */
-#define REG_DMA10_BWLCNT 0xFFC05040 /* DMA10 Bandwidth Limit Count */
-#define REG_DMA10_BWLCNT_CUR 0xFFC05044 /* DMA10 Bandwidth Limit Count Current */
-#define REG_DMA10_BWMCNT 0xFFC05048 /* DMA10 Bandwidth Monitor Count */
-#define REG_DMA10_BWMCNT_CUR 0xFFC0504C /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA11
- ========================= */
-#define REG_DMA11_DSCPTR_NXT 0xFFC05080 /* DMA11 Pointer to Next Initial Descriptor */
-#define REG_DMA11_ADDRSTART 0xFFC05084 /* DMA11 Start Address of Current Buffer */
-#define REG_DMA11_CFG 0xFFC05088 /* DMA11 Configuration Register */
-#define REG_DMA11_XCNT 0xFFC0508C /* DMA11 Inner Loop Count Start Value */
-#define REG_DMA11_XMOD 0xFFC05090 /* DMA11 Inner Loop Address Increment */
-#define REG_DMA11_YCNT 0xFFC05094 /* DMA11 Outer Loop Count Start Value (2D only) */
-#define REG_DMA11_YMOD 0xFFC05098 /* DMA11 Outer Loop Address Increment (2D only) */
-#define REG_DMA11_DSCPTR_CUR 0xFFC050A4 /* DMA11 Current Descriptor Pointer */
-#define REG_DMA11_DSCPTR_PRV 0xFFC050A8 /* DMA11 Previous Initial Descriptor Pointer */
-#define REG_DMA11_ADDR_CUR 0xFFC050AC /* DMA11 Current Address */
-#define REG_DMA11_STAT 0xFFC050B0 /* DMA11 Status Register */
-#define REG_DMA11_XCNT_CUR 0xFFC050B4 /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA11_YCNT_CUR 0xFFC050B8 /* DMA11 Current Row Count (2D only) */
-#define REG_DMA11_BWLCNT 0xFFC050C0 /* DMA11 Bandwidth Limit Count */
-#define REG_DMA11_BWLCNT_CUR 0xFFC050C4 /* DMA11 Bandwidth Limit Count Current */
-#define REG_DMA11_BWMCNT 0xFFC050C8 /* DMA11 Bandwidth Monitor Count */
-#define REG_DMA11_BWMCNT_CUR 0xFFC050CC /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA12
- ========================= */
-#define REG_DMA12_DSCPTR_NXT 0xFFC05100 /* DMA12 Pointer to Next Initial Descriptor */
-#define REG_DMA12_ADDRSTART 0xFFC05104 /* DMA12 Start Address of Current Buffer */
-#define REG_DMA12_CFG 0xFFC05108 /* DMA12 Configuration Register */
-#define REG_DMA12_XCNT 0xFFC0510C /* DMA12 Inner Loop Count Start Value */
-#define REG_DMA12_XMOD 0xFFC05110 /* DMA12 Inner Loop Address Increment */
-#define REG_DMA12_YCNT 0xFFC05114 /* DMA12 Outer Loop Count Start Value (2D only) */
-#define REG_DMA12_YMOD 0xFFC05118 /* DMA12 Outer Loop Address Increment (2D only) */
-#define REG_DMA12_DSCPTR_CUR 0xFFC05124 /* DMA12 Current Descriptor Pointer */
-#define REG_DMA12_DSCPTR_PRV 0xFFC05128 /* DMA12 Previous Initial Descriptor Pointer */
-#define REG_DMA12_ADDR_CUR 0xFFC0512C /* DMA12 Current Address */
-#define REG_DMA12_STAT 0xFFC05130 /* DMA12 Status Register */
-#define REG_DMA12_XCNT_CUR 0xFFC05134 /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA12_YCNT_CUR 0xFFC05138 /* DMA12 Current Row Count (2D only) */
-#define REG_DMA12_BWLCNT 0xFFC05140 /* DMA12 Bandwidth Limit Count */
-#define REG_DMA12_BWLCNT_CUR 0xFFC05144 /* DMA12 Bandwidth Limit Count Current */
-#define REG_DMA12_BWMCNT 0xFFC05148 /* DMA12 Bandwidth Monitor Count */
-#define REG_DMA12_BWMCNT_CUR 0xFFC0514C /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA13
- ========================= */
-#define REG_DMA13_DSCPTR_NXT 0xFFC07000 /* DMA13 Pointer to Next Initial Descriptor */
-#define REG_DMA13_ADDRSTART 0xFFC07004 /* DMA13 Start Address of Current Buffer */
-#define REG_DMA13_CFG 0xFFC07008 /* DMA13 Configuration Register */
-#define REG_DMA13_XCNT 0xFFC0700C /* DMA13 Inner Loop Count Start Value */
-#define REG_DMA13_XMOD 0xFFC07010 /* DMA13 Inner Loop Address Increment */
-#define REG_DMA13_YCNT 0xFFC07014 /* DMA13 Outer Loop Count Start Value (2D only) */
-#define REG_DMA13_YMOD 0xFFC07018 /* DMA13 Outer Loop Address Increment (2D only) */
-#define REG_DMA13_DSCPTR_CUR 0xFFC07024 /* DMA13 Current Descriptor Pointer */
-#define REG_DMA13_DSCPTR_PRV 0xFFC07028 /* DMA13 Previous Initial Descriptor Pointer */
-#define REG_DMA13_ADDR_CUR 0xFFC0702C /* DMA13 Current Address */
-#define REG_DMA13_STAT 0xFFC07030 /* DMA13 Status Register */
-#define REG_DMA13_XCNT_CUR 0xFFC07034 /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA13_YCNT_CUR 0xFFC07038 /* DMA13 Current Row Count (2D only) */
-#define REG_DMA13_BWLCNT 0xFFC07040 /* DMA13 Bandwidth Limit Count */
-#define REG_DMA13_BWLCNT_CUR 0xFFC07044 /* DMA13 Bandwidth Limit Count Current */
-#define REG_DMA13_BWMCNT 0xFFC07048 /* DMA13 Bandwidth Monitor Count */
-#define REG_DMA13_BWMCNT_CUR 0xFFC0704C /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA14
- ========================= */
-#define REG_DMA14_DSCPTR_NXT 0xFFC07080 /* DMA14 Pointer to Next Initial Descriptor */
-#define REG_DMA14_ADDRSTART 0xFFC07084 /* DMA14 Start Address of Current Buffer */
-#define REG_DMA14_CFG 0xFFC07088 /* DMA14 Configuration Register */
-#define REG_DMA14_XCNT 0xFFC0708C /* DMA14 Inner Loop Count Start Value */
-#define REG_DMA14_XMOD 0xFFC07090 /* DMA14 Inner Loop Address Increment */
-#define REG_DMA14_YCNT 0xFFC07094 /* DMA14 Outer Loop Count Start Value (2D only) */
-#define REG_DMA14_YMOD 0xFFC07098 /* DMA14 Outer Loop Address Increment (2D only) */
-#define REG_DMA14_DSCPTR_CUR 0xFFC070A4 /* DMA14 Current Descriptor Pointer */
-#define REG_DMA14_DSCPTR_PRV 0xFFC070A8 /* DMA14 Previous Initial Descriptor Pointer */
-#define REG_DMA14_ADDR_CUR 0xFFC070AC /* DMA14 Current Address */
-#define REG_DMA14_STAT 0xFFC070B0 /* DMA14 Status Register */
-#define REG_DMA14_XCNT_CUR 0xFFC070B4 /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA14_YCNT_CUR 0xFFC070B8 /* DMA14 Current Row Count (2D only) */
-#define REG_DMA14_BWLCNT 0xFFC070C0 /* DMA14 Bandwidth Limit Count */
-#define REG_DMA14_BWLCNT_CUR 0xFFC070C4 /* DMA14 Bandwidth Limit Count Current */
-#define REG_DMA14_BWMCNT 0xFFC070C8 /* DMA14 Bandwidth Monitor Count */
-#define REG_DMA14_BWMCNT_CUR 0xFFC070CC /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA15
- ========================= */
-#define REG_DMA15_DSCPTR_NXT 0xFFC07100 /* DMA15 Pointer to Next Initial Descriptor */
-#define REG_DMA15_ADDRSTART 0xFFC07104 /* DMA15 Start Address of Current Buffer */
-#define REG_DMA15_CFG 0xFFC07108 /* DMA15 Configuration Register */
-#define REG_DMA15_XCNT 0xFFC0710C /* DMA15 Inner Loop Count Start Value */
-#define REG_DMA15_XMOD 0xFFC07110 /* DMA15 Inner Loop Address Increment */
-#define REG_DMA15_YCNT 0xFFC07114 /* DMA15 Outer Loop Count Start Value (2D only) */
-#define REG_DMA15_YMOD 0xFFC07118 /* DMA15 Outer Loop Address Increment (2D only) */
-#define REG_DMA15_DSCPTR_CUR 0xFFC07124 /* DMA15 Current Descriptor Pointer */
-#define REG_DMA15_DSCPTR_PRV 0xFFC07128 /* DMA15 Previous Initial Descriptor Pointer */
-#define REG_DMA15_ADDR_CUR 0xFFC0712C /* DMA15 Current Address */
-#define REG_DMA15_STAT 0xFFC07130 /* DMA15 Status Register */
-#define REG_DMA15_XCNT_CUR 0xFFC07134 /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA15_YCNT_CUR 0xFFC07138 /* DMA15 Current Row Count (2D only) */
-#define REG_DMA15_BWLCNT 0xFFC07140 /* DMA15 Bandwidth Limit Count */
-#define REG_DMA15_BWLCNT_CUR 0xFFC07144 /* DMA15 Bandwidth Limit Count Current */
-#define REG_DMA15_BWMCNT 0xFFC07148 /* DMA15 Bandwidth Monitor Count */
-#define REG_DMA15_BWMCNT_CUR 0xFFC0714C /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA16
- ========================= */
-#define REG_DMA16_DSCPTR_NXT 0xFFC07180 /* DMA16 Pointer to Next Initial Descriptor */
-#define REG_DMA16_ADDRSTART 0xFFC07184 /* DMA16 Start Address of Current Buffer */
-#define REG_DMA16_CFG 0xFFC07188 /* DMA16 Configuration Register */
-#define REG_DMA16_XCNT 0xFFC0718C /* DMA16 Inner Loop Count Start Value */
-#define REG_DMA16_XMOD 0xFFC07190 /* DMA16 Inner Loop Address Increment */
-#define REG_DMA16_YCNT 0xFFC07194 /* DMA16 Outer Loop Count Start Value (2D only) */
-#define REG_DMA16_YMOD 0xFFC07198 /* DMA16 Outer Loop Address Increment (2D only) */
-#define REG_DMA16_DSCPTR_CUR 0xFFC071A4 /* DMA16 Current Descriptor Pointer */
-#define REG_DMA16_DSCPTR_PRV 0xFFC071A8 /* DMA16 Previous Initial Descriptor Pointer */
-#define REG_DMA16_ADDR_CUR 0xFFC071AC /* DMA16 Current Address */
-#define REG_DMA16_STAT 0xFFC071B0 /* DMA16 Status Register */
-#define REG_DMA16_XCNT_CUR 0xFFC071B4 /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA16_YCNT_CUR 0xFFC071B8 /* DMA16 Current Row Count (2D only) */
-#define REG_DMA16_BWLCNT 0xFFC071C0 /* DMA16 Bandwidth Limit Count */
-#define REG_DMA16_BWLCNT_CUR 0xFFC071C4 /* DMA16 Bandwidth Limit Count Current */
-#define REG_DMA16_BWMCNT 0xFFC071C8 /* DMA16 Bandwidth Monitor Count */
-#define REG_DMA16_BWMCNT_CUR 0xFFC071CC /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA17
- ========================= */
-#define REG_DMA17_DSCPTR_NXT 0xFFC07200 /* DMA17 Pointer to Next Initial Descriptor */
-#define REG_DMA17_ADDRSTART 0xFFC07204 /* DMA17 Start Address of Current Buffer */
-#define REG_DMA17_CFG 0xFFC07208 /* DMA17 Configuration Register */
-#define REG_DMA17_XCNT 0xFFC0720C /* DMA17 Inner Loop Count Start Value */
-#define REG_DMA17_XMOD 0xFFC07210 /* DMA17 Inner Loop Address Increment */
-#define REG_DMA17_YCNT 0xFFC07214 /* DMA17 Outer Loop Count Start Value (2D only) */
-#define REG_DMA17_YMOD 0xFFC07218 /* DMA17 Outer Loop Address Increment (2D only) */
-#define REG_DMA17_DSCPTR_CUR 0xFFC07224 /* DMA17 Current Descriptor Pointer */
-#define REG_DMA17_DSCPTR_PRV 0xFFC07228 /* DMA17 Previous Initial Descriptor Pointer */
-#define REG_DMA17_ADDR_CUR 0xFFC0722C /* DMA17 Current Address */
-#define REG_DMA17_STAT 0xFFC07230 /* DMA17 Status Register */
-#define REG_DMA17_XCNT_CUR 0xFFC07234 /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA17_YCNT_CUR 0xFFC07238 /* DMA17 Current Row Count (2D only) */
-#define REG_DMA17_BWLCNT 0xFFC07240 /* DMA17 Bandwidth Limit Count */
-#define REG_DMA17_BWLCNT_CUR 0xFFC07244 /* DMA17 Bandwidth Limit Count Current */
-#define REG_DMA17_BWMCNT 0xFFC07248 /* DMA17 Bandwidth Monitor Count */
-#define REG_DMA17_BWMCNT_CUR 0xFFC0724C /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA18
- ========================= */
-#define REG_DMA18_DSCPTR_NXT 0xFFC07280 /* DMA18 Pointer to Next Initial Descriptor */
-#define REG_DMA18_ADDRSTART 0xFFC07284 /* DMA18 Start Address of Current Buffer */
-#define REG_DMA18_CFG 0xFFC07288 /* DMA18 Configuration Register */
-#define REG_DMA18_XCNT 0xFFC0728C /* DMA18 Inner Loop Count Start Value */
-#define REG_DMA18_XMOD 0xFFC07290 /* DMA18 Inner Loop Address Increment */
-#define REG_DMA18_YCNT 0xFFC07294 /* DMA18 Outer Loop Count Start Value (2D only) */
-#define REG_DMA18_YMOD 0xFFC07298 /* DMA18 Outer Loop Address Increment (2D only) */
-#define REG_DMA18_DSCPTR_CUR 0xFFC072A4 /* DMA18 Current Descriptor Pointer */
-#define REG_DMA18_DSCPTR_PRV 0xFFC072A8 /* DMA18 Previous Initial Descriptor Pointer */
-#define REG_DMA18_ADDR_CUR 0xFFC072AC /* DMA18 Current Address */
-#define REG_DMA18_STAT 0xFFC072B0 /* DMA18 Status Register */
-#define REG_DMA18_XCNT_CUR 0xFFC072B4 /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA18_YCNT_CUR 0xFFC072B8 /* DMA18 Current Row Count (2D only) */
-#define REG_DMA18_BWLCNT 0xFFC072C0 /* DMA18 Bandwidth Limit Count */
-#define REG_DMA18_BWLCNT_CUR 0xFFC072C4 /* DMA18 Bandwidth Limit Count Current */
-#define REG_DMA18_BWMCNT 0xFFC072C8 /* DMA18 Bandwidth Monitor Count */
-#define REG_DMA18_BWMCNT_CUR 0xFFC072CC /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA19
- ========================= */
-#define REG_DMA19_DSCPTR_NXT 0xFFC07300 /* DMA19 Pointer to Next Initial Descriptor */
-#define REG_DMA19_ADDRSTART 0xFFC07304 /* DMA19 Start Address of Current Buffer */
-#define REG_DMA19_CFG 0xFFC07308 /* DMA19 Configuration Register */
-#define REG_DMA19_XCNT 0xFFC0730C /* DMA19 Inner Loop Count Start Value */
-#define REG_DMA19_XMOD 0xFFC07310 /* DMA19 Inner Loop Address Increment */
-#define REG_DMA19_YCNT 0xFFC07314 /* DMA19 Outer Loop Count Start Value (2D only) */
-#define REG_DMA19_YMOD 0xFFC07318 /* DMA19 Outer Loop Address Increment (2D only) */
-#define REG_DMA19_DSCPTR_CUR 0xFFC07324 /* DMA19 Current Descriptor Pointer */
-#define REG_DMA19_DSCPTR_PRV 0xFFC07328 /* DMA19 Previous Initial Descriptor Pointer */
-#define REG_DMA19_ADDR_CUR 0xFFC0732C /* DMA19 Current Address */
-#define REG_DMA19_STAT 0xFFC07330 /* DMA19 Status Register */
-#define REG_DMA19_XCNT_CUR 0xFFC07334 /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA19_YCNT_CUR 0xFFC07338 /* DMA19 Current Row Count (2D only) */
-#define REG_DMA19_BWLCNT 0xFFC07340 /* DMA19 Bandwidth Limit Count */
-#define REG_DMA19_BWLCNT_CUR 0xFFC07344 /* DMA19 Bandwidth Limit Count Current */
-#define REG_DMA19_BWMCNT 0xFFC07348 /* DMA19 Bandwidth Monitor Count */
-#define REG_DMA19_BWMCNT_CUR 0xFFC0734C /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA20
- ========================= */
-#define REG_DMA20_DSCPTR_NXT 0xFFC07380 /* DMA20 Pointer to Next Initial Descriptor */
-#define REG_DMA20_ADDRSTART 0xFFC07384 /* DMA20 Start Address of Current Buffer */
-#define REG_DMA20_CFG 0xFFC07388 /* DMA20 Configuration Register */
-#define REG_DMA20_XCNT 0xFFC0738C /* DMA20 Inner Loop Count Start Value */
-#define REG_DMA20_XMOD 0xFFC07390 /* DMA20 Inner Loop Address Increment */
-#define REG_DMA20_YCNT 0xFFC07394 /* DMA20 Outer Loop Count Start Value (2D only) */
-#define REG_DMA20_YMOD 0xFFC07398 /* DMA20 Outer Loop Address Increment (2D only) */
-#define REG_DMA20_DSCPTR_CUR 0xFFC073A4 /* DMA20 Current Descriptor Pointer */
-#define REG_DMA20_DSCPTR_PRV 0xFFC073A8 /* DMA20 Previous Initial Descriptor Pointer */
-#define REG_DMA20_ADDR_CUR 0xFFC073AC /* DMA20 Current Address */
-#define REG_DMA20_STAT 0xFFC073B0 /* DMA20 Status Register */
-#define REG_DMA20_XCNT_CUR 0xFFC073B4 /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA20_YCNT_CUR 0xFFC073B8 /* DMA20 Current Row Count (2D only) */
-#define REG_DMA20_BWLCNT 0xFFC073C0 /* DMA20 Bandwidth Limit Count */
-#define REG_DMA20_BWLCNT_CUR 0xFFC073C4 /* DMA20 Bandwidth Limit Count Current */
-#define REG_DMA20_BWMCNT 0xFFC073C8 /* DMA20 Bandwidth Monitor Count */
-#define REG_DMA20_BWMCNT_CUR 0xFFC073CC /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA21
- ========================= */
-#define REG_DMA21_DSCPTR_NXT 0xFFC09000 /* DMA21 Pointer to Next Initial Descriptor */
-#define REG_DMA21_ADDRSTART 0xFFC09004 /* DMA21 Start Address of Current Buffer */
-#define REG_DMA21_CFG 0xFFC09008 /* DMA21 Configuration Register */
-#define REG_DMA21_XCNT 0xFFC0900C /* DMA21 Inner Loop Count Start Value */
-#define REG_DMA21_XMOD 0xFFC09010 /* DMA21 Inner Loop Address Increment */
-#define REG_DMA21_YCNT 0xFFC09014 /* DMA21 Outer Loop Count Start Value (2D only) */
-#define REG_DMA21_YMOD 0xFFC09018 /* DMA21 Outer Loop Address Increment (2D only) */
-#define REG_DMA21_DSCPTR_CUR 0xFFC09024 /* DMA21 Current Descriptor Pointer */
-#define REG_DMA21_DSCPTR_PRV 0xFFC09028 /* DMA21 Previous Initial Descriptor Pointer */
-#define REG_DMA21_ADDR_CUR 0xFFC0902C /* DMA21 Current Address */
-#define REG_DMA21_STAT 0xFFC09030 /* DMA21 Status Register */
-#define REG_DMA21_XCNT_CUR 0xFFC09034 /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA21_YCNT_CUR 0xFFC09038 /* DMA21 Current Row Count (2D only) */
-#define REG_DMA21_BWLCNT 0xFFC09040 /* DMA21 Bandwidth Limit Count */
-#define REG_DMA21_BWLCNT_CUR 0xFFC09044 /* DMA21 Bandwidth Limit Count Current */
-#define REG_DMA21_BWMCNT 0xFFC09048 /* DMA21 Bandwidth Monitor Count */
-#define REG_DMA21_BWMCNT_CUR 0xFFC0904C /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA22
- ========================= */
-#define REG_DMA22_DSCPTR_NXT 0xFFC09080 /* DMA22 Pointer to Next Initial Descriptor */
-#define REG_DMA22_ADDRSTART 0xFFC09084 /* DMA22 Start Address of Current Buffer */
-#define REG_DMA22_CFG 0xFFC09088 /* DMA22 Configuration Register */
-#define REG_DMA22_XCNT 0xFFC0908C /* DMA22 Inner Loop Count Start Value */
-#define REG_DMA22_XMOD 0xFFC09090 /* DMA22 Inner Loop Address Increment */
-#define REG_DMA22_YCNT 0xFFC09094 /* DMA22 Outer Loop Count Start Value (2D only) */
-#define REG_DMA22_YMOD 0xFFC09098 /* DMA22 Outer Loop Address Increment (2D only) */
-#define REG_DMA22_DSCPTR_CUR 0xFFC090A4 /* DMA22 Current Descriptor Pointer */
-#define REG_DMA22_DSCPTR_PRV 0xFFC090A8 /* DMA22 Previous Initial Descriptor Pointer */
-#define REG_DMA22_ADDR_CUR 0xFFC090AC /* DMA22 Current Address */
-#define REG_DMA22_STAT 0xFFC090B0 /* DMA22 Status Register */
-#define REG_DMA22_XCNT_CUR 0xFFC090B4 /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA22_YCNT_CUR 0xFFC090B8 /* DMA22 Current Row Count (2D only) */
-#define REG_DMA22_BWLCNT 0xFFC090C0 /* DMA22 Bandwidth Limit Count */
-#define REG_DMA22_BWLCNT_CUR 0xFFC090C4 /* DMA22 Bandwidth Limit Count Current */
-#define REG_DMA22_BWMCNT 0xFFC090C8 /* DMA22 Bandwidth Monitor Count */
-#define REG_DMA22_BWMCNT_CUR 0xFFC090CC /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA23
- ========================= */
-#define REG_DMA23_DSCPTR_NXT 0xFFC09100 /* DMA23 Pointer to Next Initial Descriptor */
-#define REG_DMA23_ADDRSTART 0xFFC09104 /* DMA23 Start Address of Current Buffer */
-#define REG_DMA23_CFG 0xFFC09108 /* DMA23 Configuration Register */
-#define REG_DMA23_XCNT 0xFFC0910C /* DMA23 Inner Loop Count Start Value */
-#define REG_DMA23_XMOD 0xFFC09110 /* DMA23 Inner Loop Address Increment */
-#define REG_DMA23_YCNT 0xFFC09114 /* DMA23 Outer Loop Count Start Value (2D only) */
-#define REG_DMA23_YMOD 0xFFC09118 /* DMA23 Outer Loop Address Increment (2D only) */
-#define REG_DMA23_DSCPTR_CUR 0xFFC09124 /* DMA23 Current Descriptor Pointer */
-#define REG_DMA23_DSCPTR_PRV 0xFFC09128 /* DMA23 Previous Initial Descriptor Pointer */
-#define REG_DMA23_ADDR_CUR 0xFFC0912C /* DMA23 Current Address */
-#define REG_DMA23_STAT 0xFFC09130 /* DMA23 Status Register */
-#define REG_DMA23_XCNT_CUR 0xFFC09134 /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA23_YCNT_CUR 0xFFC09138 /* DMA23 Current Row Count (2D only) */
-#define REG_DMA23_BWLCNT 0xFFC09140 /* DMA23 Bandwidth Limit Count */
-#define REG_DMA23_BWLCNT_CUR 0xFFC09144 /* DMA23 Bandwidth Limit Count Current */
-#define REG_DMA23_BWMCNT 0xFFC09148 /* DMA23 Bandwidth Monitor Count */
-#define REG_DMA23_BWMCNT_CUR 0xFFC0914C /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA24
- ========================= */
-#define REG_DMA24_DSCPTR_NXT 0xFFC09180 /* DMA24 Pointer to Next Initial Descriptor */
-#define REG_DMA24_ADDRSTART 0xFFC09184 /* DMA24 Start Address of Current Buffer */
-#define REG_DMA24_CFG 0xFFC09188 /* DMA24 Configuration Register */
-#define REG_DMA24_XCNT 0xFFC0918C /* DMA24 Inner Loop Count Start Value */
-#define REG_DMA24_XMOD 0xFFC09190 /* DMA24 Inner Loop Address Increment */
-#define REG_DMA24_YCNT 0xFFC09194 /* DMA24 Outer Loop Count Start Value (2D only) */
-#define REG_DMA24_YMOD 0xFFC09198 /* DMA24 Outer Loop Address Increment (2D only) */
-#define REG_DMA24_DSCPTR_CUR 0xFFC091A4 /* DMA24 Current Descriptor Pointer */
-#define REG_DMA24_DSCPTR_PRV 0xFFC091A8 /* DMA24 Previous Initial Descriptor Pointer */
-#define REG_DMA24_ADDR_CUR 0xFFC091AC /* DMA24 Current Address */
-#define REG_DMA24_STAT 0xFFC091B0 /* DMA24 Status Register */
-#define REG_DMA24_XCNT_CUR 0xFFC091B4 /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA24_YCNT_CUR 0xFFC091B8 /* DMA24 Current Row Count (2D only) */
-#define REG_DMA24_BWLCNT 0xFFC091C0 /* DMA24 Bandwidth Limit Count */
-#define REG_DMA24_BWLCNT_CUR 0xFFC091C4 /* DMA24 Bandwidth Limit Count Current */
-#define REG_DMA24_BWMCNT 0xFFC091C8 /* DMA24 Bandwidth Monitor Count */
-#define REG_DMA24_BWMCNT_CUR 0xFFC091CC /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA25
- ========================= */
-#define REG_DMA25_DSCPTR_NXT 0xFFC09200 /* DMA25 Pointer to Next Initial Descriptor */
-#define REG_DMA25_ADDRSTART 0xFFC09204 /* DMA25 Start Address of Current Buffer */
-#define REG_DMA25_CFG 0xFFC09208 /* DMA25 Configuration Register */
-#define REG_DMA25_XCNT 0xFFC0920C /* DMA25 Inner Loop Count Start Value */
-#define REG_DMA25_XMOD 0xFFC09210 /* DMA25 Inner Loop Address Increment */
-#define REG_DMA25_YCNT 0xFFC09214 /* DMA25 Outer Loop Count Start Value (2D only) */
-#define REG_DMA25_YMOD 0xFFC09218 /* DMA25 Outer Loop Address Increment (2D only) */
-#define REG_DMA25_DSCPTR_CUR 0xFFC09224 /* DMA25 Current Descriptor Pointer */
-#define REG_DMA25_DSCPTR_PRV 0xFFC09228 /* DMA25 Previous Initial Descriptor Pointer */
-#define REG_DMA25_ADDR_CUR 0xFFC0922C /* DMA25 Current Address */
-#define REG_DMA25_STAT 0xFFC09230 /* DMA25 Status Register */
-#define REG_DMA25_XCNT_CUR 0xFFC09234 /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA25_YCNT_CUR 0xFFC09238 /* DMA25 Current Row Count (2D only) */
-#define REG_DMA25_BWLCNT 0xFFC09240 /* DMA25 Bandwidth Limit Count */
-#define REG_DMA25_BWLCNT_CUR 0xFFC09244 /* DMA25 Bandwidth Limit Count Current */
-#define REG_DMA25_BWMCNT 0xFFC09248 /* DMA25 Bandwidth Monitor Count */
-#define REG_DMA25_BWMCNT_CUR 0xFFC0924C /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA26
- ========================= */
-#define REG_DMA26_DSCPTR_NXT 0xFFC09280 /* DMA26 Pointer to Next Initial Descriptor */
-#define REG_DMA26_ADDRSTART 0xFFC09284 /* DMA26 Start Address of Current Buffer */
-#define REG_DMA26_CFG 0xFFC09288 /* DMA26 Configuration Register */
-#define REG_DMA26_XCNT 0xFFC0928C /* DMA26 Inner Loop Count Start Value */
-#define REG_DMA26_XMOD 0xFFC09290 /* DMA26 Inner Loop Address Increment */
-#define REG_DMA26_YCNT 0xFFC09294 /* DMA26 Outer Loop Count Start Value (2D only) */
-#define REG_DMA26_YMOD 0xFFC09298 /* DMA26 Outer Loop Address Increment (2D only) */
-#define REG_DMA26_DSCPTR_CUR 0xFFC092A4 /* DMA26 Current Descriptor Pointer */
-#define REG_DMA26_DSCPTR_PRV 0xFFC092A8 /* DMA26 Previous Initial Descriptor Pointer */
-#define REG_DMA26_ADDR_CUR 0xFFC092AC /* DMA26 Current Address */
-#define REG_DMA26_STAT 0xFFC092B0 /* DMA26 Status Register */
-#define REG_DMA26_XCNT_CUR 0xFFC092B4 /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA26_YCNT_CUR 0xFFC092B8 /* DMA26 Current Row Count (2D only) */
-#define REG_DMA26_BWLCNT 0xFFC092C0 /* DMA26 Bandwidth Limit Count */
-#define REG_DMA26_BWLCNT_CUR 0xFFC092C4 /* DMA26 Bandwidth Limit Count Current */
-#define REG_DMA26_BWMCNT 0xFFC092C8 /* DMA26 Bandwidth Monitor Count */
-#define REG_DMA26_BWMCNT_CUR 0xFFC092CC /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA27
- ========================= */
-#define REG_DMA27_DSCPTR_NXT 0xFFC09300 /* DMA27 Pointer to Next Initial Descriptor */
-#define REG_DMA27_ADDRSTART 0xFFC09304 /* DMA27 Start Address of Current Buffer */
-#define REG_DMA27_CFG 0xFFC09308 /* DMA27 Configuration Register */
-#define REG_DMA27_XCNT 0xFFC0930C /* DMA27 Inner Loop Count Start Value */
-#define REG_DMA27_XMOD 0xFFC09310 /* DMA27 Inner Loop Address Increment */
-#define REG_DMA27_YCNT 0xFFC09314 /* DMA27 Outer Loop Count Start Value (2D only) */
-#define REG_DMA27_YMOD 0xFFC09318 /* DMA27 Outer Loop Address Increment (2D only) */
-#define REG_DMA27_DSCPTR_CUR 0xFFC09324 /* DMA27 Current Descriptor Pointer */
-#define REG_DMA27_DSCPTR_PRV 0xFFC09328 /* DMA27 Previous Initial Descriptor Pointer */
-#define REG_DMA27_ADDR_CUR 0xFFC0932C /* DMA27 Current Address */
-#define REG_DMA27_STAT 0xFFC09330 /* DMA27 Status Register */
-#define REG_DMA27_XCNT_CUR 0xFFC09334 /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA27_YCNT_CUR 0xFFC09338 /* DMA27 Current Row Count (2D only) */
-#define REG_DMA27_BWLCNT 0xFFC09340 /* DMA27 Bandwidth Limit Count */
-#define REG_DMA27_BWLCNT_CUR 0xFFC09344 /* DMA27 Bandwidth Limit Count Current */
-#define REG_DMA27_BWMCNT 0xFFC09348 /* DMA27 Bandwidth Monitor Count */
-#define REG_DMA27_BWMCNT_CUR 0xFFC0934C /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA28
- ========================= */
-#define REG_DMA28_DSCPTR_NXT 0xFFC09380 /* DMA28 Pointer to Next Initial Descriptor */
-#define REG_DMA28_ADDRSTART 0xFFC09384 /* DMA28 Start Address of Current Buffer */
-#define REG_DMA28_CFG 0xFFC09388 /* DMA28 Configuration Register */
-#define REG_DMA28_XCNT 0xFFC0938C /* DMA28 Inner Loop Count Start Value */
-#define REG_DMA28_XMOD 0xFFC09390 /* DMA28 Inner Loop Address Increment */
-#define REG_DMA28_YCNT 0xFFC09394 /* DMA28 Outer Loop Count Start Value (2D only) */
-#define REG_DMA28_YMOD 0xFFC09398 /* DMA28 Outer Loop Address Increment (2D only) */
-#define REG_DMA28_DSCPTR_CUR 0xFFC093A4 /* DMA28 Current Descriptor Pointer */
-#define REG_DMA28_DSCPTR_PRV 0xFFC093A8 /* DMA28 Previous Initial Descriptor Pointer */
-#define REG_DMA28_ADDR_CUR 0xFFC093AC /* DMA28 Current Address */
-#define REG_DMA28_STAT 0xFFC093B0 /* DMA28 Status Register */
-#define REG_DMA28_XCNT_CUR 0xFFC093B4 /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA28_YCNT_CUR 0xFFC093B8 /* DMA28 Current Row Count (2D only) */
-#define REG_DMA28_BWLCNT 0xFFC093C0 /* DMA28 Bandwidth Limit Count */
-#define REG_DMA28_BWLCNT_CUR 0xFFC093C4 /* DMA28 Bandwidth Limit Count Current */
-#define REG_DMA28_BWMCNT 0xFFC093C8 /* DMA28 Bandwidth Monitor Count */
-#define REG_DMA28_BWMCNT_CUR 0xFFC093CC /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA29
- ========================= */
-#define REG_DMA29_DSCPTR_NXT 0xFFC0B000 /* DMA29 Pointer to Next Initial Descriptor */
-#define REG_DMA29_ADDRSTART 0xFFC0B004 /* DMA29 Start Address of Current Buffer */
-#define REG_DMA29_CFG 0xFFC0B008 /* DMA29 Configuration Register */
-#define REG_DMA29_XCNT 0xFFC0B00C /* DMA29 Inner Loop Count Start Value */
-#define REG_DMA29_XMOD 0xFFC0B010 /* DMA29 Inner Loop Address Increment */
-#define REG_DMA29_YCNT 0xFFC0B014 /* DMA29 Outer Loop Count Start Value (2D only) */
-#define REG_DMA29_YMOD 0xFFC0B018 /* DMA29 Outer Loop Address Increment (2D only) */
-#define REG_DMA29_DSCPTR_CUR 0xFFC0B024 /* DMA29 Current Descriptor Pointer */
-#define REG_DMA29_DSCPTR_PRV 0xFFC0B028 /* DMA29 Previous Initial Descriptor Pointer */
-#define REG_DMA29_ADDR_CUR 0xFFC0B02C /* DMA29 Current Address */
-#define REG_DMA29_STAT 0xFFC0B030 /* DMA29 Status Register */
-#define REG_DMA29_XCNT_CUR 0xFFC0B034 /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA29_YCNT_CUR 0xFFC0B038 /* DMA29 Current Row Count (2D only) */
-#define REG_DMA29_BWLCNT 0xFFC0B040 /* DMA29 Bandwidth Limit Count */
-#define REG_DMA29_BWLCNT_CUR 0xFFC0B044 /* DMA29 Bandwidth Limit Count Current */
-#define REG_DMA29_BWMCNT 0xFFC0B048 /* DMA29 Bandwidth Monitor Count */
-#define REG_DMA29_BWMCNT_CUR 0xFFC0B04C /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA30
- ========================= */
-#define REG_DMA30_DSCPTR_NXT 0xFFC0B080 /* DMA30 Pointer to Next Initial Descriptor */
-#define REG_DMA30_ADDRSTART 0xFFC0B084 /* DMA30 Start Address of Current Buffer */
-#define REG_DMA30_CFG 0xFFC0B088 /* DMA30 Configuration Register */
-#define REG_DMA30_XCNT 0xFFC0B08C /* DMA30 Inner Loop Count Start Value */
-#define REG_DMA30_XMOD 0xFFC0B090 /* DMA30 Inner Loop Address Increment */
-#define REG_DMA30_YCNT 0xFFC0B094 /* DMA30 Outer Loop Count Start Value (2D only) */
-#define REG_DMA30_YMOD 0xFFC0B098 /* DMA30 Outer Loop Address Increment (2D only) */
-#define REG_DMA30_DSCPTR_CUR 0xFFC0B0A4 /* DMA30 Current Descriptor Pointer */
-#define REG_DMA30_DSCPTR_PRV 0xFFC0B0A8 /* DMA30 Previous Initial Descriptor Pointer */
-#define REG_DMA30_ADDR_CUR 0xFFC0B0AC /* DMA30 Current Address */
-#define REG_DMA30_STAT 0xFFC0B0B0 /* DMA30 Status Register */
-#define REG_DMA30_XCNT_CUR 0xFFC0B0B4 /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA30_YCNT_CUR 0xFFC0B0B8 /* DMA30 Current Row Count (2D only) */
-#define REG_DMA30_BWLCNT 0xFFC0B0C0 /* DMA30 Bandwidth Limit Count */
-#define REG_DMA30_BWLCNT_CUR 0xFFC0B0C4 /* DMA30 Bandwidth Limit Count Current */
-#define REG_DMA30_BWMCNT 0xFFC0B0C8 /* DMA30 Bandwidth Monitor Count */
-#define REG_DMA30_BWMCNT_CUR 0xFFC0B0CC /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA31
- ========================= */
-#define REG_DMA31_DSCPTR_NXT 0xFFC0B100 /* DMA31 Pointer to Next Initial Descriptor */
-#define REG_DMA31_ADDRSTART 0xFFC0B104 /* DMA31 Start Address of Current Buffer */
-#define REG_DMA31_CFG 0xFFC0B108 /* DMA31 Configuration Register */
-#define REG_DMA31_XCNT 0xFFC0B10C /* DMA31 Inner Loop Count Start Value */
-#define REG_DMA31_XMOD 0xFFC0B110 /* DMA31 Inner Loop Address Increment */
-#define REG_DMA31_YCNT 0xFFC0B114 /* DMA31 Outer Loop Count Start Value (2D only) */
-#define REG_DMA31_YMOD 0xFFC0B118 /* DMA31 Outer Loop Address Increment (2D only) */
-#define REG_DMA31_DSCPTR_CUR 0xFFC0B124 /* DMA31 Current Descriptor Pointer */
-#define REG_DMA31_DSCPTR_PRV 0xFFC0B128 /* DMA31 Previous Initial Descriptor Pointer */
-#define REG_DMA31_ADDR_CUR 0xFFC0B12C /* DMA31 Current Address */
-#define REG_DMA31_STAT 0xFFC0B130 /* DMA31 Status Register */
-#define REG_DMA31_XCNT_CUR 0xFFC0B134 /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA31_YCNT_CUR 0xFFC0B138 /* DMA31 Current Row Count (2D only) */
-#define REG_DMA31_BWLCNT 0xFFC0B140 /* DMA31 Bandwidth Limit Count */
-#define REG_DMA31_BWLCNT_CUR 0xFFC0B144 /* DMA31 Bandwidth Limit Count Current */
-#define REG_DMA31_BWMCNT 0xFFC0B148 /* DMA31 Bandwidth Monitor Count */
-#define REG_DMA31_BWMCNT_CUR 0xFFC0B14C /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA32
- ========================= */
-#define REG_DMA32_DSCPTR_NXT 0xFFC0B180 /* DMA32 Pointer to Next Initial Descriptor */
-#define REG_DMA32_ADDRSTART 0xFFC0B184 /* DMA32 Start Address of Current Buffer */
-#define REG_DMA32_CFG 0xFFC0B188 /* DMA32 Configuration Register */
-#define REG_DMA32_XCNT 0xFFC0B18C /* DMA32 Inner Loop Count Start Value */
-#define REG_DMA32_XMOD 0xFFC0B190 /* DMA32 Inner Loop Address Increment */
-#define REG_DMA32_YCNT 0xFFC0B194 /* DMA32 Outer Loop Count Start Value (2D only) */
-#define REG_DMA32_YMOD 0xFFC0B198 /* DMA32 Outer Loop Address Increment (2D only) */
-#define REG_DMA32_DSCPTR_CUR 0xFFC0B1A4 /* DMA32 Current Descriptor Pointer */
-#define REG_DMA32_DSCPTR_PRV 0xFFC0B1A8 /* DMA32 Previous Initial Descriptor Pointer */
-#define REG_DMA32_ADDR_CUR 0xFFC0B1AC /* DMA32 Current Address */
-#define REG_DMA32_STAT 0xFFC0B1B0 /* DMA32 Status Register */
-#define REG_DMA32_XCNT_CUR 0xFFC0B1B4 /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA32_YCNT_CUR 0xFFC0B1B8 /* DMA32 Current Row Count (2D only) */
-#define REG_DMA32_BWLCNT 0xFFC0B1C0 /* DMA32 Bandwidth Limit Count */
-#define REG_DMA32_BWLCNT_CUR 0xFFC0B1C4 /* DMA32 Bandwidth Limit Count Current */
-#define REG_DMA32_BWMCNT 0xFFC0B1C8 /* DMA32 Bandwidth Monitor Count */
-#define REG_DMA32_BWMCNT_CUR 0xFFC0B1CC /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA33
- ========================= */
-#define REG_DMA33_DSCPTR_NXT 0xFFC0D000 /* DMA33 Pointer to Next Initial Descriptor */
-#define REG_DMA33_ADDRSTART 0xFFC0D004 /* DMA33 Start Address of Current Buffer */
-#define REG_DMA33_CFG 0xFFC0D008 /* DMA33 Configuration Register */
-#define REG_DMA33_XCNT 0xFFC0D00C /* DMA33 Inner Loop Count Start Value */
-#define REG_DMA33_XMOD 0xFFC0D010 /* DMA33 Inner Loop Address Increment */
-#define REG_DMA33_YCNT 0xFFC0D014 /* DMA33 Outer Loop Count Start Value (2D only) */
-#define REG_DMA33_YMOD 0xFFC0D018 /* DMA33 Outer Loop Address Increment (2D only) */
-#define REG_DMA33_DSCPTR_CUR 0xFFC0D024 /* DMA33 Current Descriptor Pointer */
-#define REG_DMA33_DSCPTR_PRV 0xFFC0D028 /* DMA33 Previous Initial Descriptor Pointer */
-#define REG_DMA33_ADDR_CUR 0xFFC0D02C /* DMA33 Current Address */
-#define REG_DMA33_STAT 0xFFC0D030 /* DMA33 Status Register */
-#define REG_DMA33_XCNT_CUR 0xFFC0D034 /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA33_YCNT_CUR 0xFFC0D038 /* DMA33 Current Row Count (2D only) */
-#define REG_DMA33_BWLCNT 0xFFC0D040 /* DMA33 Bandwidth Limit Count */
-#define REG_DMA33_BWLCNT_CUR 0xFFC0D044 /* DMA33 Bandwidth Limit Count Current */
-#define REG_DMA33_BWMCNT 0xFFC0D048 /* DMA33 Bandwidth Monitor Count */
-#define REG_DMA33_BWMCNT_CUR 0xFFC0D04C /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA34
- ========================= */
-#define REG_DMA34_DSCPTR_NXT 0xFFC0D080 /* DMA34 Pointer to Next Initial Descriptor */
-#define REG_DMA34_ADDRSTART 0xFFC0D084 /* DMA34 Start Address of Current Buffer */
-#define REG_DMA34_CFG 0xFFC0D088 /* DMA34 Configuration Register */
-#define REG_DMA34_XCNT 0xFFC0D08C /* DMA34 Inner Loop Count Start Value */
-#define REG_DMA34_XMOD 0xFFC0D090 /* DMA34 Inner Loop Address Increment */
-#define REG_DMA34_YCNT 0xFFC0D094 /* DMA34 Outer Loop Count Start Value (2D only) */
-#define REG_DMA34_YMOD 0xFFC0D098 /* DMA34 Outer Loop Address Increment (2D only) */
-#define REG_DMA34_DSCPTR_CUR 0xFFC0D0A4 /* DMA34 Current Descriptor Pointer */
-#define REG_DMA34_DSCPTR_PRV 0xFFC0D0A8 /* DMA34 Previous Initial Descriptor Pointer */
-#define REG_DMA34_ADDR_CUR 0xFFC0D0AC /* DMA34 Current Address */
-#define REG_DMA34_STAT 0xFFC0D0B0 /* DMA34 Status Register */
-#define REG_DMA34_XCNT_CUR 0xFFC0D0B4 /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA34_YCNT_CUR 0xFFC0D0B8 /* DMA34 Current Row Count (2D only) */
-#define REG_DMA34_BWLCNT 0xFFC0D0C0 /* DMA34 Bandwidth Limit Count */
-#define REG_DMA34_BWLCNT_CUR 0xFFC0D0C4 /* DMA34 Bandwidth Limit Count Current */
-#define REG_DMA34_BWMCNT 0xFFC0D0C8 /* DMA34 Bandwidth Monitor Count */
-#define REG_DMA34_BWMCNT_CUR 0xFFC0D0CC /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA35
- ========================= */
-#define REG_DMA35_DSCPTR_NXT 0xFFC10000 /* DMA35 Pointer to Next Initial Descriptor */
-#define REG_DMA35_ADDRSTART 0xFFC10004 /* DMA35 Start Address of Current Buffer */
-#define REG_DMA35_CFG 0xFFC10008 /* DMA35 Configuration Register */
-#define REG_DMA35_XCNT 0xFFC1000C /* DMA35 Inner Loop Count Start Value */
-#define REG_DMA35_XMOD 0xFFC10010 /* DMA35 Inner Loop Address Increment */
-#define REG_DMA35_YCNT 0xFFC10014 /* DMA35 Outer Loop Count Start Value (2D only) */
-#define REG_DMA35_YMOD 0xFFC10018 /* DMA35 Outer Loop Address Increment (2D only) */
-#define REG_DMA35_DSCPTR_CUR 0xFFC10024 /* DMA35 Current Descriptor Pointer */
-#define REG_DMA35_DSCPTR_PRV 0xFFC10028 /* DMA35 Previous Initial Descriptor Pointer */
-#define REG_DMA35_ADDR_CUR 0xFFC1002C /* DMA35 Current Address */
-#define REG_DMA35_STAT 0xFFC10030 /* DMA35 Status Register */
-#define REG_DMA35_XCNT_CUR 0xFFC10034 /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA35_YCNT_CUR 0xFFC10038 /* DMA35 Current Row Count (2D only) */
-#define REG_DMA35_BWLCNT 0xFFC10040 /* DMA35 Bandwidth Limit Count */
-#define REG_DMA35_BWLCNT_CUR 0xFFC10044 /* DMA35 Bandwidth Limit Count Current */
-#define REG_DMA35_BWMCNT 0xFFC10048 /* DMA35 Bandwidth Monitor Count */
-#define REG_DMA35_BWMCNT_CUR 0xFFC1004C /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA36
- ========================= */
-#define REG_DMA36_DSCPTR_NXT 0xFFC10080 /* DMA36 Pointer to Next Initial Descriptor */
-#define REG_DMA36_ADDRSTART 0xFFC10084 /* DMA36 Start Address of Current Buffer */
-#define REG_DMA36_CFG 0xFFC10088 /* DMA36 Configuration Register */
-#define REG_DMA36_XCNT 0xFFC1008C /* DMA36 Inner Loop Count Start Value */
-#define REG_DMA36_XMOD 0xFFC10090 /* DMA36 Inner Loop Address Increment */
-#define REG_DMA36_YCNT 0xFFC10094 /* DMA36 Outer Loop Count Start Value (2D only) */
-#define REG_DMA36_YMOD 0xFFC10098 /* DMA36 Outer Loop Address Increment (2D only) */
-#define REG_DMA36_DSCPTR_CUR 0xFFC100A4 /* DMA36 Current Descriptor Pointer */
-#define REG_DMA36_DSCPTR_PRV 0xFFC100A8 /* DMA36 Previous Initial Descriptor Pointer */
-#define REG_DMA36_ADDR_CUR 0xFFC100AC /* DMA36 Current Address */
-#define REG_DMA36_STAT 0xFFC100B0 /* DMA36 Status Register */
-#define REG_DMA36_XCNT_CUR 0xFFC100B4 /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA36_YCNT_CUR 0xFFC100B8 /* DMA36 Current Row Count (2D only) */
-#define REG_DMA36_BWLCNT 0xFFC100C0 /* DMA36 Bandwidth Limit Count */
-#define REG_DMA36_BWLCNT_CUR 0xFFC100C4 /* DMA36 Bandwidth Limit Count Current */
-#define REG_DMA36_BWMCNT 0xFFC100C8 /* DMA36 Bandwidth Monitor Count */
-#define REG_DMA36_BWMCNT_CUR 0xFFC100CC /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA37
- ========================= */
-#define REG_DMA37_DSCPTR_NXT 0xFFC10100 /* DMA37 Pointer to Next Initial Descriptor */
-#define REG_DMA37_ADDRSTART 0xFFC10104 /* DMA37 Start Address of Current Buffer */
-#define REG_DMA37_CFG 0xFFC10108 /* DMA37 Configuration Register */
-#define REG_DMA37_XCNT 0xFFC1010C /* DMA37 Inner Loop Count Start Value */
-#define REG_DMA37_XMOD 0xFFC10110 /* DMA37 Inner Loop Address Increment */
-#define REG_DMA37_YCNT 0xFFC10114 /* DMA37 Outer Loop Count Start Value (2D only) */
-#define REG_DMA37_YMOD 0xFFC10118 /* DMA37 Outer Loop Address Increment (2D only) */
-#define REG_DMA37_DSCPTR_CUR 0xFFC10124 /* DMA37 Current Descriptor Pointer */
-#define REG_DMA37_DSCPTR_PRV 0xFFC10128 /* DMA37 Previous Initial Descriptor Pointer */
-#define REG_DMA37_ADDR_CUR 0xFFC1012C /* DMA37 Current Address */
-#define REG_DMA37_STAT 0xFFC10130 /* DMA37 Status Register */
-#define REG_DMA37_XCNT_CUR 0xFFC10134 /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA37_YCNT_CUR 0xFFC10138 /* DMA37 Current Row Count (2D only) */
-#define REG_DMA37_BWLCNT 0xFFC10140 /* DMA37 Bandwidth Limit Count */
-#define REG_DMA37_BWLCNT_CUR 0xFFC10144 /* DMA37 Bandwidth Limit Count Current */
-#define REG_DMA37_BWMCNT 0xFFC10148 /* DMA37 Bandwidth Monitor Count */
-#define REG_DMA37_BWMCNT_CUR 0xFFC1014C /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA38
- ========================= */
-#define REG_DMA38_DSCPTR_NXT 0xFFC12000 /* DMA38 Pointer to Next Initial Descriptor */
-#define REG_DMA38_ADDRSTART 0xFFC12004 /* DMA38 Start Address of Current Buffer */
-#define REG_DMA38_CFG 0xFFC12008 /* DMA38 Configuration Register */
-#define REG_DMA38_XCNT 0xFFC1200C /* DMA38 Inner Loop Count Start Value */
-#define REG_DMA38_XMOD 0xFFC12010 /* DMA38 Inner Loop Address Increment */
-#define REG_DMA38_YCNT 0xFFC12014 /* DMA38 Outer Loop Count Start Value (2D only) */
-#define REG_DMA38_YMOD 0xFFC12018 /* DMA38 Outer Loop Address Increment (2D only) */
-#define REG_DMA38_DSCPTR_CUR 0xFFC12024 /* DMA38 Current Descriptor Pointer */
-#define REG_DMA38_DSCPTR_PRV 0xFFC12028 /* DMA38 Previous Initial Descriptor Pointer */
-#define REG_DMA38_ADDR_CUR 0xFFC1202C /* DMA38 Current Address */
-#define REG_DMA38_STAT 0xFFC12030 /* DMA38 Status Register */
-#define REG_DMA38_XCNT_CUR 0xFFC12034 /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA38_YCNT_CUR 0xFFC12038 /* DMA38 Current Row Count (2D only) */
-#define REG_DMA38_BWLCNT 0xFFC12040 /* DMA38 Bandwidth Limit Count */
-#define REG_DMA38_BWLCNT_CUR 0xFFC12044 /* DMA38 Bandwidth Limit Count Current */
-#define REG_DMA38_BWMCNT 0xFFC12048 /* DMA38 Bandwidth Monitor Count */
-#define REG_DMA38_BWMCNT_CUR 0xFFC1204C /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA39
- ========================= */
-#define REG_DMA39_DSCPTR_NXT 0xFFC12080 /* DMA39 Pointer to Next Initial Descriptor */
-#define REG_DMA39_ADDRSTART 0xFFC12084 /* DMA39 Start Address of Current Buffer */
-#define REG_DMA39_CFG 0xFFC12088 /* DMA39 Configuration Register */
-#define REG_DMA39_XCNT 0xFFC1208C /* DMA39 Inner Loop Count Start Value */
-#define REG_DMA39_XMOD 0xFFC12090 /* DMA39 Inner Loop Address Increment */
-#define REG_DMA39_YCNT 0xFFC12094 /* DMA39 Outer Loop Count Start Value (2D only) */
-#define REG_DMA39_YMOD 0xFFC12098 /* DMA39 Outer Loop Address Increment (2D only) */
-#define REG_DMA39_DSCPTR_CUR 0xFFC120A4 /* DMA39 Current Descriptor Pointer */
-#define REG_DMA39_DSCPTR_PRV 0xFFC120A8 /* DMA39 Previous Initial Descriptor Pointer */
-#define REG_DMA39_ADDR_CUR 0xFFC120AC /* DMA39 Current Address */
-#define REG_DMA39_STAT 0xFFC120B0 /* DMA39 Status Register */
-#define REG_DMA39_XCNT_CUR 0xFFC120B4 /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA39_YCNT_CUR 0xFFC120B8 /* DMA39 Current Row Count (2D only) */
-#define REG_DMA39_BWLCNT 0xFFC120C0 /* DMA39 Bandwidth Limit Count */
-#define REG_DMA39_BWLCNT_CUR 0xFFC120C4 /* DMA39 Bandwidth Limit Count Current */
-#define REG_DMA39_BWMCNT 0xFFC120C8 /* DMA39 Bandwidth Monitor Count */
-#define REG_DMA39_BWMCNT_CUR 0xFFC120CC /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA40
- ========================= */
-#define REG_DMA40_DSCPTR_NXT 0xFFC12100 /* DMA40 Pointer to Next Initial Descriptor */
-#define REG_DMA40_ADDRSTART 0xFFC12104 /* DMA40 Start Address of Current Buffer */
-#define REG_DMA40_CFG 0xFFC12108 /* DMA40 Configuration Register */
-#define REG_DMA40_XCNT 0xFFC1210C /* DMA40 Inner Loop Count Start Value */
-#define REG_DMA40_XMOD 0xFFC12110 /* DMA40 Inner Loop Address Increment */
-#define REG_DMA40_YCNT 0xFFC12114 /* DMA40 Outer Loop Count Start Value (2D only) */
-#define REG_DMA40_YMOD 0xFFC12118 /* DMA40 Outer Loop Address Increment (2D only) */
-#define REG_DMA40_DSCPTR_CUR 0xFFC12124 /* DMA40 Current Descriptor Pointer */
-#define REG_DMA40_DSCPTR_PRV 0xFFC12128 /* DMA40 Previous Initial Descriptor Pointer */
-#define REG_DMA40_ADDR_CUR 0xFFC1212C /* DMA40 Current Address */
-#define REG_DMA40_STAT 0xFFC12130 /* DMA40 Status Register */
-#define REG_DMA40_XCNT_CUR 0xFFC12134 /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA40_YCNT_CUR 0xFFC12138 /* DMA40 Current Row Count (2D only) */
-#define REG_DMA40_BWLCNT 0xFFC12140 /* DMA40 Bandwidth Limit Count */
-#define REG_DMA40_BWLCNT_CUR 0xFFC12144 /* DMA40 Bandwidth Limit Count Current */
-#define REG_DMA40_BWMCNT 0xFFC12148 /* DMA40 Bandwidth Monitor Count */
-#define REG_DMA40_BWMCNT_CUR 0xFFC1214C /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA41
- ========================= */
-#define REG_DMA41_DSCPTR_NXT 0xFFC12180 /* DMA41 Pointer to Next Initial Descriptor */
-#define REG_DMA41_ADDRSTART 0xFFC12184 /* DMA41 Start Address of Current Buffer */
-#define REG_DMA41_CFG 0xFFC12188 /* DMA41 Configuration Register */
-#define REG_DMA41_XCNT 0xFFC1218C /* DMA41 Inner Loop Count Start Value */
-#define REG_DMA41_XMOD 0xFFC12190 /* DMA41 Inner Loop Address Increment */
-#define REG_DMA41_YCNT 0xFFC12194 /* DMA41 Outer Loop Count Start Value (2D only) */
-#define REG_DMA41_YMOD 0xFFC12198 /* DMA41 Outer Loop Address Increment (2D only) */
-#define REG_DMA41_DSCPTR_CUR 0xFFC121A4 /* DMA41 Current Descriptor Pointer */
-#define REG_DMA41_DSCPTR_PRV 0xFFC121A8 /* DMA41 Previous Initial Descriptor Pointer */
-#define REG_DMA41_ADDR_CUR 0xFFC121AC /* DMA41 Current Address */
-#define REG_DMA41_STAT 0xFFC121B0 /* DMA41 Status Register */
-#define REG_DMA41_XCNT_CUR 0xFFC121B4 /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA41_YCNT_CUR 0xFFC121B8 /* DMA41 Current Row Count (2D only) */
-#define REG_DMA41_BWLCNT 0xFFC121C0 /* DMA41 Bandwidth Limit Count */
-#define REG_DMA41_BWLCNT_CUR 0xFFC121C4 /* DMA41 Bandwidth Limit Count Current */
-#define REG_DMA41_BWMCNT 0xFFC121C8 /* DMA41 Bandwidth Monitor Count */
-#define REG_DMA41_BWMCNT_CUR 0xFFC121CC /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA42
- ========================= */
-#define REG_DMA42_DSCPTR_NXT 0xFFC14000 /* DMA42 Pointer to Next Initial Descriptor */
-#define REG_DMA42_ADDRSTART 0xFFC14004 /* DMA42 Start Address of Current Buffer */
-#define REG_DMA42_CFG 0xFFC14008 /* DMA42 Configuration Register */
-#define REG_DMA42_XCNT 0xFFC1400C /* DMA42 Inner Loop Count Start Value */
-#define REG_DMA42_XMOD 0xFFC14010 /* DMA42 Inner Loop Address Increment */
-#define REG_DMA42_YCNT 0xFFC14014 /* DMA42 Outer Loop Count Start Value (2D only) */
-#define REG_DMA42_YMOD 0xFFC14018 /* DMA42 Outer Loop Address Increment (2D only) */
-#define REG_DMA42_DSCPTR_CUR 0xFFC14024 /* DMA42 Current Descriptor Pointer */
-#define REG_DMA42_DSCPTR_PRV 0xFFC14028 /* DMA42 Previous Initial Descriptor Pointer */
-#define REG_DMA42_ADDR_CUR 0xFFC1402C /* DMA42 Current Address */
-#define REG_DMA42_STAT 0xFFC14030 /* DMA42 Status Register */
-#define REG_DMA42_XCNT_CUR 0xFFC14034 /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA42_YCNT_CUR 0xFFC14038 /* DMA42 Current Row Count (2D only) */
-#define REG_DMA42_BWLCNT 0xFFC14040 /* DMA42 Bandwidth Limit Count */
-#define REG_DMA42_BWLCNT_CUR 0xFFC14044 /* DMA42 Bandwidth Limit Count Current */
-#define REG_DMA42_BWMCNT 0xFFC14048 /* DMA42 Bandwidth Monitor Count */
-#define REG_DMA42_BWMCNT_CUR 0xFFC1404C /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA43
- ========================= */
-#define REG_DMA43_DSCPTR_NXT 0xFFC14080 /* DMA43 Pointer to Next Initial Descriptor */
-#define REG_DMA43_ADDRSTART 0xFFC14084 /* DMA43 Start Address of Current Buffer */
-#define REG_DMA43_CFG 0xFFC14088 /* DMA43 Configuration Register */
-#define REG_DMA43_XCNT 0xFFC1408C /* DMA43 Inner Loop Count Start Value */
-#define REG_DMA43_XMOD 0xFFC14090 /* DMA43 Inner Loop Address Increment */
-#define REG_DMA43_YCNT 0xFFC14094 /* DMA43 Outer Loop Count Start Value (2D only) */
-#define REG_DMA43_YMOD 0xFFC14098 /* DMA43 Outer Loop Address Increment (2D only) */
-#define REG_DMA43_DSCPTR_CUR 0xFFC140A4 /* DMA43 Current Descriptor Pointer */
-#define REG_DMA43_DSCPTR_PRV 0xFFC140A8 /* DMA43 Previous Initial Descriptor Pointer */
-#define REG_DMA43_ADDR_CUR 0xFFC140AC /* DMA43 Current Address */
-#define REG_DMA43_STAT 0xFFC140B0 /* DMA43 Status Register */
-#define REG_DMA43_XCNT_CUR 0xFFC140B4 /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA43_YCNT_CUR 0xFFC140B8 /* DMA43 Current Row Count (2D only) */
-#define REG_DMA43_BWLCNT 0xFFC140C0 /* DMA43 Bandwidth Limit Count */
-#define REG_DMA43_BWLCNT_CUR 0xFFC140C4 /* DMA43 Bandwidth Limit Count Current */
-#define REG_DMA43_BWMCNT 0xFFC140C8 /* DMA43 Bandwidth Monitor Count */
-#define REG_DMA43_BWMCNT_CUR 0xFFC140CC /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA44
- ========================= */
-#define REG_DMA44_DSCPTR_NXT 0xFFC14100 /* DMA44 Pointer to Next Initial Descriptor */
-#define REG_DMA44_ADDRSTART 0xFFC14104 /* DMA44 Start Address of Current Buffer */
-#define REG_DMA44_CFG 0xFFC14108 /* DMA44 Configuration Register */
-#define REG_DMA44_XCNT 0xFFC1410C /* DMA44 Inner Loop Count Start Value */
-#define REG_DMA44_XMOD 0xFFC14110 /* DMA44 Inner Loop Address Increment */
-#define REG_DMA44_YCNT 0xFFC14114 /* DMA44 Outer Loop Count Start Value (2D only) */
-#define REG_DMA44_YMOD 0xFFC14118 /* DMA44 Outer Loop Address Increment (2D only) */
-#define REG_DMA44_DSCPTR_CUR 0xFFC14124 /* DMA44 Current Descriptor Pointer */
-#define REG_DMA44_DSCPTR_PRV 0xFFC14128 /* DMA44 Previous Initial Descriptor Pointer */
-#define REG_DMA44_ADDR_CUR 0xFFC1412C /* DMA44 Current Address */
-#define REG_DMA44_STAT 0xFFC14130 /* DMA44 Status Register */
-#define REG_DMA44_XCNT_CUR 0xFFC14134 /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA44_YCNT_CUR 0xFFC14138 /* DMA44 Current Row Count (2D only) */
-#define REG_DMA44_BWLCNT 0xFFC14140 /* DMA44 Bandwidth Limit Count */
-#define REG_DMA44_BWLCNT_CUR 0xFFC14144 /* DMA44 Bandwidth Limit Count Current */
-#define REG_DMA44_BWMCNT 0xFFC14148 /* DMA44 Bandwidth Monitor Count */
-#define REG_DMA44_BWMCNT_CUR 0xFFC1414C /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA45
- ========================= */
-#define REG_DMA45_DSCPTR_NXT 0xFFC14180 /* DMA45 Pointer to Next Initial Descriptor */
-#define REG_DMA45_ADDRSTART 0xFFC14184 /* DMA45 Start Address of Current Buffer */
-#define REG_DMA45_CFG 0xFFC14188 /* DMA45 Configuration Register */
-#define REG_DMA45_XCNT 0xFFC1418C /* DMA45 Inner Loop Count Start Value */
-#define REG_DMA45_XMOD 0xFFC14190 /* DMA45 Inner Loop Address Increment */
-#define REG_DMA45_YCNT 0xFFC14194 /* DMA45 Outer Loop Count Start Value (2D only) */
-#define REG_DMA45_YMOD 0xFFC14198 /* DMA45 Outer Loop Address Increment (2D only) */
-#define REG_DMA45_DSCPTR_CUR 0xFFC141A4 /* DMA45 Current Descriptor Pointer */
-#define REG_DMA45_DSCPTR_PRV 0xFFC141A8 /* DMA45 Previous Initial Descriptor Pointer */
-#define REG_DMA45_ADDR_CUR 0xFFC141AC /* DMA45 Current Address */
-#define REG_DMA45_STAT 0xFFC141B0 /* DMA45 Status Register */
-#define REG_DMA45_XCNT_CUR 0xFFC141B4 /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA45_YCNT_CUR 0xFFC141B8 /* DMA45 Current Row Count (2D only) */
-#define REG_DMA45_BWLCNT 0xFFC141C0 /* DMA45 Bandwidth Limit Count */
-#define REG_DMA45_BWLCNT_CUR 0xFFC141C4 /* DMA45 Bandwidth Limit Count Current */
-#define REG_DMA45_BWMCNT 0xFFC141C8 /* DMA45 Bandwidth Monitor Count */
-#define REG_DMA45_BWMCNT_CUR 0xFFC141CC /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA46
- ========================= */
-#define REG_DMA46_DSCPTR_NXT 0xFFC14200 /* DMA46 Pointer to Next Initial Descriptor */
-#define REG_DMA46_ADDRSTART 0xFFC14204 /* DMA46 Start Address of Current Buffer */
-#define REG_DMA46_CFG 0xFFC14208 /* DMA46 Configuration Register */
-#define REG_DMA46_XCNT 0xFFC1420C /* DMA46 Inner Loop Count Start Value */
-#define REG_DMA46_XMOD 0xFFC14210 /* DMA46 Inner Loop Address Increment */
-#define REG_DMA46_YCNT 0xFFC14214 /* DMA46 Outer Loop Count Start Value (2D only) */
-#define REG_DMA46_YMOD 0xFFC14218 /* DMA46 Outer Loop Address Increment (2D only) */
-#define REG_DMA46_DSCPTR_CUR 0xFFC14224 /* DMA46 Current Descriptor Pointer */
-#define REG_DMA46_DSCPTR_PRV 0xFFC14228 /* DMA46 Previous Initial Descriptor Pointer */
-#define REG_DMA46_ADDR_CUR 0xFFC1422C /* DMA46 Current Address */
-#define REG_DMA46_STAT 0xFFC14230 /* DMA46 Status Register */
-#define REG_DMA46_XCNT_CUR 0xFFC14234 /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA46_YCNT_CUR 0xFFC14238 /* DMA46 Current Row Count (2D only) */
-#define REG_DMA46_BWLCNT 0xFFC14240 /* DMA46 Bandwidth Limit Count */
-#define REG_DMA46_BWLCNT_CUR 0xFFC14244 /* DMA46 Bandwidth Limit Count Current */
-#define REG_DMA46_BWMCNT 0xFFC14248 /* DMA46 Bandwidth Monitor Count */
-#define REG_DMA46_BWMCNT_CUR 0xFFC1424C /* DMA46 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_CFG_PDRF 28 /* Peripheral Data Request Forward */
-#define BITP_DMA_CFG_TWOD 26 /* Two Dimension Addressing Enable */
-#define BITP_DMA_CFG_DESCIDCPY 25 /* Descriptor ID Copy Control */
-#define BITP_DMA_CFG_TOVEN 24 /* Trigger Overrun Error Enable */
-#define BITP_DMA_CFG_TRIG 22 /* Generate Outgoing Trigger */
-#define BITP_DMA_CFG_INT 20 /* Generate Interrupt */
-#define BITP_DMA_CFG_NDSIZE 16 /* Next Descriptor Set Size */
-#define BITP_DMA_CFG_TWAIT 15 /* Wait for Trigger */
-#define BITP_DMA_CFG_FLOW 12 /* Next Operation */
-#define BITP_DMA_CFG_MSIZE 8 /* Memory Transfer Word Size */
-#define BITP_DMA_CFG_PSIZE 4 /* Peripheral Transfer Word Size */
-#define BITP_DMA_CFG_CADDR 3 /* Use Current Address */
-#define BITP_DMA_CFG_SYNC 2 /* Synchronize Work Unit Transitions */
-#define BITP_DMA_CFG_WNR 1 /* Write/Read Channel Direction */
-#define BITP_DMA_CFG_EN 0 /* DMA Channel Enable */
-
-#define BITM_DMA_CFG_PDRF (_ADI_MSK(0x10000000,uint32_t)) /* Peripheral Data Request Forward */
-#define ENUM_DMA_CFG_PDAT_NOTFWD (_ADI_MSK(0x00000000,uint32_t)) /* PDRF: Peripheral Data Request Not Forwarded */
-#define ENUM_DMA_CFG_PDAT_FWD (_ADI_MSK(0x10000000,uint32_t)) /* PDRF: Peripheral Data Request Forwarded */
-
-#define BITM_DMA_CFG_TWOD (_ADI_MSK(0x04000000,uint32_t)) /* Two Dimension Addressing Enable */
-#define ENUM_DMA_CFG_ADDR1D (_ADI_MSK(0x00000000,uint32_t)) /* TWOD: One-Dimensional Addressing */
-#define ENUM_DMA_CFG_ADDR2D (_ADI_MSK(0x04000000,uint32_t)) /* TWOD: Two-Dimensional Addressing */
-
-#define BITM_DMA_CFG_DESCIDCPY (_ADI_MSK(0x02000000,uint32_t)) /* Descriptor ID Copy Control */
-#define ENUM_DMA_CFG_NO_COPY (_ADI_MSK(0x00000000,uint32_t)) /* DESCIDCPY: Never Copy */
-#define ENUM_DMA_CFG_COPY (_ADI_MSK(0x02000000,uint32_t)) /* DESCIDCPY: Copy on Work Unit Complete */
-
-#define BITM_DMA_CFG_TOVEN (_ADI_MSK(0x01000000,uint32_t)) /* Trigger Overrun Error Enable */
-#define ENUM_DMA_CFG_TOV_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOVEN: Ignore Trigger Overrun */
-#define ENUM_DMA_CFG_TOV_EN (_ADI_MSK(0x01000000,uint32_t)) /* TOVEN: Error on Trigger Overrun */
-
-#define BITM_DMA_CFG_TRIG (_ADI_MSK(0x00C00000,uint32_t)) /* Generate Outgoing Trigger */
-#define ENUM_DMA_CFG_NO_TRIG (_ADI_MSK(0x00000000,uint32_t)) /* TRIG: Never assert Trigger */
-#define ENUM_DMA_CFG_XCNT_TRIG (_ADI_MSK(0x00400000,uint32_t)) /* TRIG: Trigger when XCNTCUR reaches 0 */
-#define ENUM_DMA_CFG_YCNT_TRIG (_ADI_MSK(0x00800000,uint32_t)) /* TRIG: Trigger when YCNTCUR reaches 0 */
-
-#define BITM_DMA_CFG_INT (_ADI_MSK(0x00300000,uint32_t)) /* Generate Interrupt */
-#define ENUM_DMA_CFG_NO_INT (_ADI_MSK(0x00000000,uint32_t)) /* INT: Never assert Interrupt */
-#define ENUM_DMA_CFG_XCNT_INT (_ADI_MSK(0x00100000,uint32_t)) /* INT: Interrupt when X Count Expires */
-#define ENUM_DMA_CFG_YCNT_INT (_ADI_MSK(0x00200000,uint32_t)) /* INT: Interrupt when Y Count Expires */
-#define ENUM_DMA_CFG_PERIPH_INT (_ADI_MSK(0x00300000,uint32_t)) /* INT: Peripheral Interrupt */
-
-#define BITM_DMA_CFG_NDSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Next Descriptor Set Size */
-#define ENUM_DMA_CFG_FETCH01 (_ADI_MSK(0x00000000,uint32_t)) /* NDSIZE: Fetch one Descriptor Element */
-#define ENUM_DMA_CFG_FETCH02 (_ADI_MSK(0x00010000,uint32_t)) /* NDSIZE: Fetch two Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH03 (_ADI_MSK(0x00020000,uint32_t)) /* NDSIZE: Fetch three Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH04 (_ADI_MSK(0x00030000,uint32_t)) /* NDSIZE: Fetch four Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH05 (_ADI_MSK(0x00040000,uint32_t)) /* NDSIZE: Fetch five Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH06 (_ADI_MSK(0x00050000,uint32_t)) /* NDSIZE: Fetch six Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH07 (_ADI_MSK(0x00060000,uint32_t)) /* NDSIZE: Fetch seven Descriptor Elements */
-
-#define BITM_DMA_CFG_TWAIT (_ADI_MSK(0x00008000,uint32_t)) /* Wait for Trigger */
-#define ENUM_DMA_CFG_NO_TRGWAIT (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: Begin Work Unit Automatically (No Wait) */
-#define ENUM_DMA_CFG_TRGWAIT (_ADI_MSK(0x00008000,uint32_t)) /* TWAIT: Wait for Trigger (Halt before Work Unit) */
-
-#define BITM_DMA_CFG_FLOW (_ADI_MSK(0x00007000,uint32_t)) /* Next Operation */
-#define ENUM_DMA_CFG_STOP (_ADI_MSK(0x00000000,uint32_t)) /* FLOW: STOP - Stop */
-#define ENUM_DMA_CFG_AUTO (_ADI_MSK(0x00001000,uint32_t)) /* FLOW: AUTO - Autobuffer */
-#define ENUM_DMA_CFG_DSCLIST (_ADI_MSK(0x00004000,uint32_t)) /* FLOW: DSCL - Descriptor List */
-#define ENUM_DMA_CFG_DSCARRAY (_ADI_MSK(0x00005000,uint32_t)) /* FLOW: DSCA - Descriptor Array */
-#define ENUM_DMA_CFG_DODLIST (_ADI_MSK(0x00006000,uint32_t)) /* FLOW: Descriptor On Demand List */
-#define ENUM_DMA_CFG_DODARRAY (_ADI_MSK(0x00007000,uint32_t)) /* FLOW: Descriptor On Demand Array */
-
-#define BITM_DMA_CFG_MSIZE (_ADI_MSK(0x00000700,uint32_t)) /* Memory Transfer Word Size */
-#define ENUM_DMA_CFG_MSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* MSIZE: 1 Byte */
-#define ENUM_DMA_CFG_MSIZE02 (_ADI_MSK(0x00000100,uint32_t)) /* MSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_MSIZE04 (_ADI_MSK(0x00000200,uint32_t)) /* MSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_MSIZE08 (_ADI_MSK(0x00000300,uint32_t)) /* MSIZE: 8 Bytes */
-#define ENUM_DMA_CFG_MSIZE16 (_ADI_MSK(0x00000400,uint32_t)) /* MSIZE: 16 Bytes */
-#define ENUM_DMA_CFG_MSIZE32 (_ADI_MSK(0x00000500,uint32_t)) /* MSIZE: 32 Bytes */
-
-#define BITM_DMA_CFG_PSIZE (_ADI_MSK(0x00000070,uint32_t)) /* Peripheral Transfer Word Size */
-#define ENUM_DMA_CFG_PSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 Byte */
-#define ENUM_DMA_CFG_PSIZE02 (_ADI_MSK(0x00000010,uint32_t)) /* PSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_PSIZE04 (_ADI_MSK(0x00000020,uint32_t)) /* PSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_PSIZE08 (_ADI_MSK(0x00000030,uint32_t)) /* PSIZE: 8 Bytes */
-
-#define BITM_DMA_CFG_CADDR (_ADI_MSK(0x00000008,uint32_t)) /* Use Current Address */
-#define ENUM_DMA_CFG_LD_STARTADDR (_ADI_MSK(0x00000000,uint32_t)) /* CADDR: Load Starting Address */
-#define ENUM_DMA_CFG_LD_CURADDR (_ADI_MSK(0x00000008,uint32_t)) /* CADDR: Use Current Address */
-
-#define BITM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* Synchronize Work Unit Transitions */
-#define ENUM_DMA_CFG_NO_SYNC (_ADI_MSK(0x00000000,uint32_t)) /* SYNC: No Synchronization */
-#define ENUM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* SYNC: Synchronize Channel */
-
-#define BITM_DMA_CFG_WNR (_ADI_MSK(0x00000002,uint32_t)) /* Write/Read Channel Direction */
-#define ENUM_DMA_CFG_READ (_ADI_MSK(0x00000000,uint32_t)) /* WNR: Transmit (Read from memory) */
-#define ENUM_DMA_CFG_WRITE (_ADI_MSK(0x00000002,uint32_t)) /* WNR: Receive (Write to memory) */
-
-#define BITM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* DMA Channel Enable */
-#define ENUM_DMA_CFG_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_DSCPTR_PRV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_DSCPTR_PRV_DESCPPREV 2 /* Pointer for Previous Descriptor Element */
-#define BITP_DMA_DSCPTR_PRV_PDPO 0 /* Previous Descriptor Pointer Overrun */
-#define BITM_DMA_DSCPTR_PRV_DESCPPREV (_ADI_MSK(0xFFFFFFFC,uint32_t)) /* Pointer for Previous Descriptor Element */
-#define BITM_DMA_DSCPTR_PRV_PDPO (_ADI_MSK(0x00000001,uint32_t)) /* Previous Descriptor Pointer Overrun */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_STAT_TWAIT 20 /* Trigger Wait Status */
-#define BITP_DMA_STAT_FIFOFILL 16 /* FIFO Fill Status */
-#define BITP_DMA_STAT_MBWID 14 /* Memory Bus Width */
-#define BITP_DMA_STAT_PBWID 12 /* Peripheral Bus Width */
-#define BITP_DMA_STAT_RUN 8 /* Run Status */
-#define BITP_DMA_STAT_ERRC 4 /* Error Cause */
-#define BITP_DMA_STAT_PIRQ 2 /* Peripheral Interrupt Request */
-#define BITP_DMA_STAT_IRQERR 1 /* Error Interrupt */
-#define BITP_DMA_STAT_IRQDONE 0 /* Work Unit/Row Done Interrupt */
-
-#define BITM_DMA_STAT_TWAIT (_ADI_MSK(0x00100000,uint32_t)) /* Trigger Wait Status */
-#define ENUM_DMA_STAT_NOTRIGRX (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: No trigger received */
-#define ENUM_DMA_STAT_TRIGRX (_ADI_MSK(0x00100000,uint32_t)) /* TWAIT: Trigger received */
-
-#define BITM_DMA_STAT_FIFOFILL (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Fill Status */
-#define ENUM_DMA_STAT_FIFOEMPTY (_ADI_MSK(0x00000000,uint32_t)) /* FIFOFILL: Empty */
-#define ENUM_DMA_STAT_FIFO25 (_ADI_MSK(0x00010000,uint32_t)) /* FIFOFILL: Empty < FIFO = 1/4 Full */
-#define ENUM_DMA_STAT_FIFO50 (_ADI_MSK(0x00020000,uint32_t)) /* FIFOFILL: 1/4 Full < FIFO = 1/2 Full */
-#define ENUM_DMA_STAT_FIFO75 (_ADI_MSK(0x00030000,uint32_t)) /* FIFOFILL: 1/2 Full < FIFO = 3/4 Full */
-#define ENUM_DMA_STAT_FIFONEARFULL (_ADI_MSK(0x00040000,uint32_t)) /* FIFOFILL: 3/4 Full < FIFO = Full */
-#define ENUM_DMA_STAT_FIFOFULL (_ADI_MSK(0x00070000,uint32_t)) /* FIFOFILL: Full */
-
-#define BITM_DMA_STAT_MBWID (_ADI_MSK(0x0000C000,uint32_t)) /* Memory Bus Width */
-#define ENUM_DMA_STAT_MBUS02 (_ADI_MSK(0x00000000,uint32_t)) /* MBWID: 2 Bytes */
-#define ENUM_DMA_STAT_MBUS04 (_ADI_MSK(0x00004000,uint32_t)) /* MBWID: 4 Bytes */
-#define ENUM_DMA_STAT_MBUS08 (_ADI_MSK(0x00008000,uint32_t)) /* MBWID: 8 Bytes */
-#define ENUM_DMA_STAT_MBUS16 (_ADI_MSK(0x0000C000,uint32_t)) /* MBWID: 16 Bytes */
-
-#define BITM_DMA_STAT_PBWID (_ADI_MSK(0x00003000,uint32_t)) /* Peripheral Bus Width */
-#define ENUM_DMA_STAT_PBUS01 (_ADI_MSK(0x00000000,uint32_t)) /* PBWID: 1 Byte */
-#define ENUM_DMA_STAT_PBUS02 (_ADI_MSK(0x00001000,uint32_t)) /* PBWID: 2 Bytes */
-#define ENUM_DMA_STAT_PBUS04 (_ADI_MSK(0x00002000,uint32_t)) /* PBWID: 4 Bytes */
-#define ENUM_DMA_STAT_PBUS08 (_ADI_MSK(0x00003000,uint32_t)) /* PBWID: 8 Bytes */
-
-#define BITM_DMA_STAT_RUN (_ADI_MSK(0x00000700,uint32_t)) /* Run Status */
-#define ENUM_DMA_STAT_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RUN: Idle/Stop State */
-#define ENUM_DMA_STAT_DSCFETCH (_ADI_MSK(0x00000100,uint32_t)) /* RUN: Descriptor Fetch */
-#define ENUM_DMA_STAT_DATAXFER (_ADI_MSK(0x00000200,uint32_t)) /* RUN: Data Transfer */
-#define ENUM_DMA_STAT_TRGWAIT (_ADI_MSK(0x00000300,uint32_t)) /* RUN: Waiting for Trigger */
-#define ENUM_DMA_STAT_ACKWAIT (_ADI_MSK(0x00000400,uint32_t)) /* RUN: Waiting for Write ACK/FIFO Drain to Peripheral */
-
-#define BITM_DMA_STAT_ERRC (_ADI_MSK(0x00000070,uint32_t)) /* Error Cause */
-#define ENUM_DMA_STAT_CFGERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Configuration Error */
-#define ENUM_DMA_STAT_ILLWRERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Illegal Write Occurred While Channel Running */
-#define ENUM_DMA_STAT_ALGNERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: Address Alignment Error */
-#define ENUM_DMA_STAT_MEMERR (_ADI_MSK(0x00000030,uint32_t)) /* ERRC: Memory Access/Fabric Error */
-#define ENUM_DMA_STAT_TRGOVERR (_ADI_MSK(0x00000050,uint32_t)) /* ERRC: Trigger Overrun */
-#define ENUM_DMA_STAT_BWMONERR (_ADI_MSK(0x00000060,uint32_t)) /* ERRC: Bandwidth Monitor Error */
-
-#define BITM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* Peripheral Interrupt Request */
-#define ENUM_DMA_STAT_NO_PIRQ (_ADI_MSK(0x00000000,uint32_t)) /* PIRQ: No Interrupt */
-#define ENUM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* PIRQ: Interrupt Signaled by Peripheral */
-
-#define BITM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* Error Interrupt */
-#define ENUM_DMA_STAT_NO_IRQERR (_ADI_MSK(0x00000000,uint32_t)) /* IRQERR: No Error */
-#define ENUM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* IRQERR: Error Occurred */
-
-#define BITM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* Work Unit/Row Done Interrupt */
-#define ENUM_DMA_STAT_NO_IRQ (_ADI_MSK(0x00000000,uint32_t)) /* IRQDONE: Inactive */
-#define ENUM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* IRQDONE: Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_VALUE 0 /* Bandwidth Limit Count */
-#define BITM_DMA_BWLCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_CUR_VALUE 0 /* Bandwidth Limit Count Current */
-#define BITM_DMA_BWLCNT_CUR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count Current */
-
-/* ==================================================
- ACM Registers
- ================================================== */
-
-/* =========================
- ACM0
- ========================= */
-#define REG_ACM0_CTL 0xFFC45000 /* ACM0 ACM Control Register */
-#define REG_ACM0_TC0 0xFFC45004 /* ACM0 ACM Timing Configuration 0 Register */
-#define REG_ACM0_TC1 0xFFC45008 /* ACM0 ACM Timing Configuration 1 Register */
-#define REG_ACM0_STAT 0xFFC4500C /* ACM0 ACM Status Register */
-#define REG_ACM0_EVSTAT 0xFFC45010 /* ACM0 ACM Event Status Register */
-#define REG_ACM0_EVMSK 0xFFC45014 /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define REG_ACM0_MEVSTAT 0xFFC45018 /* ACM0 ACM Missed Event Status Register */
-#define REG_ACM0_MEVMSK 0xFFC4501C /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define REG_ACM0_EVCTL0 0xFFC45020 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL1 0xFFC45024 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL2 0xFFC45028 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL3 0xFFC4502C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL4 0xFFC45030 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL5 0xFFC45034 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL6 0xFFC45038 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL7 0xFFC4503C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL8 0xFFC45040 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL9 0xFFC45044 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL10 0xFFC45048 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL11 0xFFC4504C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL12 0xFFC45050 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL13 0xFFC45054 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL14 0xFFC45058 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL15 0xFFC4505C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVTIME0 0xFFC45060 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME1 0xFFC45064 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME2 0xFFC45068 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME3 0xFFC4506C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME4 0xFFC45070 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME5 0xFFC45074 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME6 0xFFC45078 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME7 0xFFC4507C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME8 0xFFC45080 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME9 0xFFC45084 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME10 0xFFC45088 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME11 0xFFC4508C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME12 0xFFC45090 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME13 0xFFC45094 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME14 0xFFC45098 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME15 0xFFC4509C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVORD0 0xFFC450A0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD1 0xFFC450A4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD2 0xFFC450A8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD3 0xFFC450AC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD4 0xFFC450B0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD5 0xFFC450B4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD6 0xFFC450B8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD7 0xFFC450BC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD8 0xFFC450C0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD9 0xFFC450C4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD10 0xFFC450C8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD11 0xFFC450CC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD12 0xFFC450D0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD13 0xFFC450D4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD14 0xFFC450D8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD15 0xFFC450DC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_TMR0 0xFFC450E8 /* ACM0 ACM Timer 0 Register */
-#define REG_ACM0_TMR1 0xFFC450EC /* ACM0 ACM Timer 1 Register */
-
-/* =========================
- ACM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_CTL_EPS 15 /* External Peripheral Select */
-#define BITP_ACM_CTL_OTSEL 14 /* Trigger Select for Order Register Reset */
-#define BITP_ACM_CTL_AOREN 13 /* Automatic Order Reset Enable */
-#define BITP_ACM_CTL_ORST 12 /* Order Register Reset Bit */
-#define BITP_ACM_CTL_CLKMOD 11 /* ADC Clock Mode */
-#define BITP_ACM_CTL_CLKPOL 10 /* ADC_CLK Polarity */
-#define BITP_ACM_CTL_CSPOL 9 /* CS Polarity */
-#define BITP_ACM_CTL_TRGPOL1 8 /* Trigger Polarity for Timer1 Triggers */
-#define BITP_ACM_CTL_TRGPOL0 7 /* Trigger Polarity for Timer0 Triggers */
-#define BITP_ACM_CTL_TRGSEL1 5 /* Trigger Select 1 */
-#define BITP_ACM_CTL_TRGSEL0 3 /* Trigger Select 0 */
-#define BITP_ACM_CTL_TMR1EN 2 /* Enable ACM Timer1 */
-#define BITP_ACM_CTL_TMR0EN 1 /* Enable ACM Timer0 */
-#define BITP_ACM_CTL_EN 0 /* ACM Enable */
-#define BITM_ACM_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* External Peripheral Select */
-#define BITM_ACM_CTL_OTSEL (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Select for Order Register Reset */
-#define BITM_ACM_CTL_AOREN (_ADI_MSK(0x00002000,uint32_t)) /* Automatic Order Reset Enable */
-#define BITM_ACM_CTL_ORST (_ADI_MSK(0x00001000,uint32_t)) /* Order Register Reset Bit */
-#define BITM_ACM_CTL_CLKMOD (_ADI_MSK(0x00000800,uint32_t)) /* ADC Clock Mode */
-#define BITM_ACM_CTL_CLKPOL (_ADI_MSK(0x00000400,uint32_t)) /* ADC_CLK Polarity */
-#define BITM_ACM_CTL_CSPOL (_ADI_MSK(0x00000200,uint32_t)) /* CS Polarity */
-#define BITM_ACM_CTL_TRGPOL1 (_ADI_MSK(0x00000100,uint32_t)) /* Trigger Polarity for Timer1 Triggers */
-#define BITM_ACM_CTL_TRGPOL0 (_ADI_MSK(0x00000080,uint32_t)) /* Trigger Polarity for Timer0 Triggers */
-#define BITM_ACM_CTL_TRGSEL1 (_ADI_MSK(0x00000060,uint32_t)) /* Trigger Select 1 */
-#define BITM_ACM_CTL_TRGSEL0 (_ADI_MSK(0x00000018,uint32_t)) /* Trigger Select 0 */
-#define BITM_ACM_CTL_TMR1EN (_ADI_MSK(0x00000004,uint32_t)) /* Enable ACM Timer1 */
-#define BITM_ACM_CTL_TMR0EN (_ADI_MSK(0x00000002,uint32_t)) /* Enable ACM Timer0 */
-#define BITM_ACM_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* ACM Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC0_SC 16 /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITP_ACM_TC0_CKDIV 0 /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-#define BITM_ACM_TC0_SC (_ADI_MSK(0x0FFF0000,uint32_t)) /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITM_ACM_TC0_CKDIV (_ADI_MSK(0x000000FF,uint32_t)) /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC1_ZC 12 /* Zero Cycle - ADC Control zero duration */
-#define BITP_ACM_TC1_HC 8 /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITP_ACM_TC1_CSW 0 /* CS Width. Active duration of CS in ACLK cycles */
-#define BITM_ACM_TC1_ZC (_ADI_MSK(0x0000F000,uint32_t)) /* Zero Cycle - ADC Control zero duration */
-#define BITM_ACM_TC1_HC (_ADI_MSK(0x00000F00,uint32_t)) /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITM_ACM_TC1_CSW (_ADI_MSK(0x000000FF,uint32_t)) /* CS Width. Active duration of CS in ACLK cycles */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_STAT_CEVNT 4 /* Current Event. */
-#define BITP_ACM_STAT_ECOM1 3 /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_ECOM0 2 /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_EMISS 1 /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITP_ACM_STAT_BSY 0 /* ACM Busy */
-#define BITM_ACM_STAT_CEVNT (_ADI_MSK(0x000000F0,uint32_t)) /* Current Event. */
-#define BITM_ACM_STAT_ECOM1 (_ADI_MSK(0x00000008,uint32_t)) /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_ECOM0 (_ADI_MSK(0x00000004,uint32_t)) /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_EMISS (_ADI_MSK(0x00000002,uint32_t)) /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITM_ACM_STAT_BSY (_ADI_MSK(0x00000001,uint32_t)) /* ACM Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVSTAT_ECOM1S 17 /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_ECOM0S 16 /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_EV15 15 /* Event15 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV14 14 /* Event14 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV13 13 /* Event13 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV12 12 /* Event12 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV11 11 /* Event11 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV10 10 /* Event10 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV9 9 /* Event9 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV8 8 /* Event8 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV7 7 /* Event7 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV6 6 /* Event6 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV5 5 /* Event5 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV4 4 /* Event4 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV3 3 /* Event3 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV2 2 /* Event2 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV1 1 /* Event1 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV0 0 /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-#define BITM_ACM_EVSTAT_ECOM1S (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_ECOM0S (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVMSK_IECOM1 17 /* Timer1 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_IECOM0 16 /* Timer0 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV15 15 /* Event15 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV14 14 /* Event14 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV13 13 /* Event13 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV12 12 /* Event12 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV11 11 /* Event11 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV10 10 /* Event10 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV9 9 /* Event9 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV8 8 /* Event8 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV7 7 /* Event7 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV6 6 /* Event6 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV5 5 /* Event5 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV4 4 /* Event4 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV3 3 /* Event3 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV2 2 /* Event2 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV1 1 /* Event1 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV0 0 /* Event0 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM1 (_ADI_MSK(0x00020000,uint32_t)) /* Timer1 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM0 (_ADI_MSK(0x00010000,uint32_t)) /* Timer0 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVSTAT_EV15 15 /* Event15 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV14 14 /* Event14 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV13 13 /* Event13 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV12 12 /* Event12 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV11 11 /* Event11 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV10 10 /* Event10 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV9 9 /* Event9 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV8 8 /* Event8 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV7 7 /* Event7 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV6 6 /* Event6 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV5 5 /* Event5 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV4 4 /* Event4 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV3 3 /* Event3 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV2 2 /* Event2 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV1 1 /* Event1 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV0 0 /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-#define BITM_ACM_MEVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVMSK_EV15 15 /* Event15 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV14 14 /* Event14 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV13 13 /* Event13 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV12 12 /* Event12 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV11 11 /* Event11 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV10 10 /* Event10 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV9 9 /* Event9 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV8 8 /* Event8 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV7 7 /* Event7 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV6 6 /* Event6 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV5 5 /* Event5 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV4 4 /* Event4 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV3 3 /* Event3 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV2 2 /* Event2 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV1 1 /* Event1 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV0 0 /* Event0 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVCTL_EPF 1 /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITP_ACM_EVCTL_ENAEV 0 /* Enable Event */
-#define BITM_ACM_EVCTL_EPF (_ADI_MSK(0x0000003E,uint32_t)) /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITM_ACM_EVCTL_ENAEV (_ADI_MSK(0x00000001,uint32_t)) /* Enable Event */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVORD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVORD_EVSTAT 17 /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITP_ACM_EVORD_MEVSTAT 16 /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITP_ACM_EVORD_ORD 0 /* Order of Event Completion */
-#define BITM_ACM_EVORD_EVSTAT (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITM_ACM_EVORD_MEVSTAT (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITM_ACM_EVORD_ORD (_ADI_MSK(0x000000FF,uint32_t)) /* Order of Event Completion */
-
-/* ==================================================
- DDR Registers
- ================================================== */
-
-/* =========================
- DMC0
- ========================= */
-#define REG_DMC0_CTL 0xFFC80004 /* DMC0 Control Register */
-#define REG_DMC0_STAT 0xFFC80008 /* DMC0 Status Register */
-#define REG_DMC0_EFFCTL 0xFFC8000C /* DMC0 Efficiency Control Register */
-#define REG_DMC0_PRIO 0xFFC80010 /* DMC0 Priority ID Register */
-#define REG_DMC0_PRIOMSK 0xFFC80014 /* DMC0 Priority ID Mask Register */
-#define REG_DMC0_CFG 0xFFC80040 /* DMC0 Configuration Register */
-#define REG_DMC0_TR0 0xFFC80044 /* DMC0 Timing 0 Register */
-#define REG_DMC0_TR1 0xFFC80048 /* DMC0 Timing 1 Register */
-#define REG_DMC0_TR2 0xFFC8004C /* DMC0 Timing 2 Register */
-#define REG_DMC0_MSK 0xFFC8005C /* DMC0 Mask (Mode Register Shadow) Register */
-#define REG_DMC0_MR 0xFFC80060 /* DMC0 Shadow MR Register */
-#define REG_DMC0_EMR1 0xFFC80064 /* DMC0 Shadow EMR1 Register */
-#define REG_DMC0_EMR2 0xFFC80068 /* DMC0 Shadow EMR2 Register */
-#define REG_DMC0_EMR3 0xFFC8006C /* DMC0 Shadow EMR3 Register */
-#define REG_DMC0_DLLCTL 0xFFC80080 /* DMC0 DLL Control Register */
-#define REG_DMC0_PHY_CTL0 0xFFC80090 /* DMC0 PHY Control 0 Register */
-#define REG_DMC0_PHY_CTL1 0xFFC80094 /* DMC0 PHY Control 1 Register */
-#define REG_DMC0_PHY_CTL2 0xFFC80098 /* DMC0 PHY Control 2 Register */
-#define REG_DMC0_PHY_CTL3 0xFFC8009C /* DMC0 PHY Control 3 Register */
-#define REG_DMC0_PADCTL 0xFFC800C0 /* DMC0 PAD Control Register */
-
-/* =========================
- DMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CTL_DLLCAL 13 /* DLL Calibration Start */
-#define BITP_DMC_CTL_PPREF 12 /* Postpone Refresh */
-#define BITP_DMC_CTL_RDTOWR 9 /* Read-to-Write Cycle */
-#define BITP_DMC_CTL_ADDRMODE 8 /* Addressing (Page/Bank) Mode */
-#define BITP_DMC_CTL_PREC 6 /* Precharge */
-#define BITP_DMC_CTL_DPDREQ 5 /* Deep Power Down Request */
-#define BITP_DMC_CTL_PDREQ 4 /* Power Down Request */
-#define BITP_DMC_CTL_SRREQ 3 /* Self Refresh Request */
-#define BITP_DMC_CTL_INIT 2 /* Initialize DRAM Start */
-#define BITP_DMC_CTL_LPDDR 1 /* Low Power DDR Mode */
-#define BITM_DMC_CTL_DLLCAL (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Start */
-#define BITM_DMC_CTL_PPREF (_ADI_MSK(0x00001000,uint32_t)) /* Postpone Refresh */
-
-#define BITM_DMC_CTL_RDTOWR (_ADI_MSK(0x00000E00,uint32_t)) /* Read-to-Write Cycle */
-#define ENUM_DMC_CTL_RDTOWR0 (_ADI_MSK(0x00000000,uint32_t)) /* RDTOWR: 0 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR1 (_ADI_MSK(0x00000200,uint32_t)) /* RDTOWR: 1 Cycle Added */
-#define ENUM_DMC_CTL_RDTOWR2 (_ADI_MSK(0x00000400,uint32_t)) /* RDTOWR: 2 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR3 (_ADI_MSK(0x00000600,uint32_t)) /* RDTOWR: 3 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR4 (_ADI_MSK(0x00000800,uint32_t)) /* RDTOWR: 4 Cycles Added */
-#define BITM_DMC_CTL_ADDRMODE (_ADI_MSK(0x00000100,uint32_t)) /* Addressing (Page/Bank) Mode */
-#define BITM_DMC_CTL_PREC (_ADI_MSK(0x00000040,uint32_t)) /* Precharge */
-#define BITM_DMC_CTL_DPDREQ (_ADI_MSK(0x00000020,uint32_t)) /* Deep Power Down Request */
-#define BITM_DMC_CTL_PDREQ (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Request */
-#define BITM_DMC_CTL_SRREQ (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Request */
-#define BITM_DMC_CTL_INIT (_ADI_MSK(0x00000004,uint32_t)) /* Initialize DRAM Start */
-#define BITM_DMC_CTL_LPDDR (_ADI_MSK(0x00000002,uint32_t)) /* Low Power DDR Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_STAT_PHYRDPHASE 20 /* PHY Read Phase */
-#define BITP_DMC_STAT_PENDREF 16 /* Pending Refresh */
-#define BITP_DMC_STAT_DLLCALDONE 13 /* DLL Calibration Done */
-#define BITP_DMC_STAT_DPDACK 5 /* Deep Powerdown Acknowledge */
-#define BITP_DMC_STAT_PDACK 4 /* Power Down Acknowledge */
-#define BITP_DMC_STAT_SRACK 3 /* Self Refresh Acknowledge */
-#define BITP_DMC_STAT_MEMINITDONE 1 /* Memory Initialization Done */
-#define BITP_DMC_STAT_IDLE 0 /* Idle State */
-#define BITM_DMC_STAT_PHYRDPHASE (_ADI_MSK(0x00F00000,uint32_t)) /* PHY Read Phase */
-#define BITM_DMC_STAT_PENDREF (_ADI_MSK(0x000F0000,uint32_t)) /* Pending Refresh */
-#define BITM_DMC_STAT_DLLCALDONE (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Done */
-#define BITM_DMC_STAT_DPDACK (_ADI_MSK(0x00000020,uint32_t)) /* Deep Powerdown Acknowledge */
-#define BITM_DMC_STAT_PDACK (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Acknowledge */
-#define BITM_DMC_STAT_SRACK (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Acknowledge */
-#define BITM_DMC_STAT_MEMINITDONE (_ADI_MSK(0x00000002,uint32_t)) /* Memory Initialization Done */
-#define BITM_DMC_STAT_IDLE (_ADI_MSK(0x00000001,uint32_t)) /* Idle State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EFFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EFFCTL_IDLECYC 20 /* Idle Cycle */
-#define BITP_DMC_EFFCTL_NUMREF 16 /* Number of Refresh Commands */
-#define BITP_DMC_EFFCTL_PRECBANK7 15 /* Precharge Bank 7 */
-#define BITP_DMC_EFFCTL_PRECBANK6 14 /* Precharge Bank 6 */
-#define BITP_DMC_EFFCTL_PRECBANK5 13 /* Precharge Bank 5 */
-#define BITP_DMC_EFFCTL_PRECBANK4 12 /* Precharge Bank 4 */
-#define BITP_DMC_EFFCTL_PRECBANK3 11 /* Precharge Bank 3 */
-#define BITP_DMC_EFFCTL_PRECBANK2 10 /* Precharge Bank 2 */
-#define BITP_DMC_EFFCTL_PRECBANK1 9 /* Precharge Bank 1 */
-#define BITP_DMC_EFFCTL_PRECBANK0 8 /* Precharge Bank 0 */
-#define BITP_DMC_EFFCTL_WAITWRDATA 7 /* Wait in Write Data Snapshot */
-#define BITP_DMC_EFFCTL_FULLWRDATA 6 /* Wait for Full Write Data */
-#define BITM_DMC_EFFCTL_IDLECYC (_ADI_MSK(0x00F00000,uint32_t)) /* Idle Cycle */
-#define BITM_DMC_EFFCTL_NUMREF (_ADI_MSK(0x000F0000,uint32_t)) /* Number of Refresh Commands */
-#define BITM_DMC_EFFCTL_PRECBANK7 (_ADI_MSK(0x00008000,uint32_t)) /* Precharge Bank 7 */
-#define BITM_DMC_EFFCTL_PRECBANK6 (_ADI_MSK(0x00004000,uint32_t)) /* Precharge Bank 6 */
-#define BITM_DMC_EFFCTL_PRECBANK5 (_ADI_MSK(0x00002000,uint32_t)) /* Precharge Bank 5 */
-#define BITM_DMC_EFFCTL_PRECBANK4 (_ADI_MSK(0x00001000,uint32_t)) /* Precharge Bank 4 */
-#define BITM_DMC_EFFCTL_PRECBANK3 (_ADI_MSK(0x00000800,uint32_t)) /* Precharge Bank 3 */
-#define BITM_DMC_EFFCTL_PRECBANK2 (_ADI_MSK(0x00000400,uint32_t)) /* Precharge Bank 2 */
-#define BITM_DMC_EFFCTL_PRECBANK1 (_ADI_MSK(0x00000200,uint32_t)) /* Precharge Bank 1 */
-#define BITM_DMC_EFFCTL_PRECBANK0 (_ADI_MSK(0x00000100,uint32_t)) /* Precharge Bank 0 */
-#define BITM_DMC_EFFCTL_WAITWRDATA (_ADI_MSK(0x00000080,uint32_t)) /* Wait in Write Data Snapshot */
-#define BITM_DMC_EFFCTL_FULLWRDATA (_ADI_MSK(0x00000040,uint32_t)) /* Wait for Full Write Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIO_ID2 16 /* ID2 Requiring Elevated Priority */
-#define BITP_DMC_PRIO_ID1 0 /* ID1 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID2 (_ADI_MSK(0xFFFF0000,uint32_t)) /* ID2 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID1 (_ADI_MSK(0x0000FFFF,uint32_t)) /* ID1 Requiring Elevated Priority */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIOMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIOMSK_ID2MSK 16 /* Mask for ID2 */
-#define BITP_DMC_PRIOMSK_ID1MSK 0 /* Mask for ID1 */
-#define BITM_DMC_PRIOMSK_ID2MSK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Mask for ID2 */
-#define BITM_DMC_PRIOMSK_ID1MSK (_ADI_MSK(0x0000FFFF,uint32_t)) /* Mask for ID1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CFG_EXTBANK 12 /* External Banks */
-#define BITP_DMC_CFG_SDRSIZE 8 /* SDRAM Size */
-#define BITP_DMC_CFG_SDRWID 4 /* SDRAM Width */
-#define BITP_DMC_CFG_IFWID 0 /* Interface Width */
-
-#define BITM_DMC_CFG_EXTBANK (_ADI_MSK(0x0000F000,uint32_t)) /* External Banks */
-#define ENUM_DMC_CFG_EXTBANK1 (_ADI_MSK(0x00000000,uint32_t)) /* EXTBANK: 1 External Bank */
-
-#define BITM_DMC_CFG_SDRSIZE (_ADI_MSK(0x00000F00,uint32_t)) /* SDRAM Size */
-#define ENUM_DMC_CFG_SDRSIZE64 (_ADI_MSK(0x00000000,uint32_t)) /* SDRSIZE: 64M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE128 (_ADI_MSK(0x00000100,uint32_t)) /* SDRSIZE: 128M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE256 (_ADI_MSK(0x00000200,uint32_t)) /* SDRSIZE: 256M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE512 (_ADI_MSK(0x00000300,uint32_t)) /* SDRSIZE: 512M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE1G (_ADI_MSK(0x00000400,uint32_t)) /* SDRSIZE: 1G Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE2G (_ADI_MSK(0x00000500,uint32_t)) /* SDRSIZE: 2G Bit SDRAM */
-
-#define BITM_DMC_CFG_SDRWID (_ADI_MSK(0x000000F0,uint32_t)) /* SDRAM Width */
-#define ENUM_DMC_CFG_SDRWID16 (_ADI_MSK(0x00000020,uint32_t)) /* SDRWID: 16-Bit Wide SDRAM */
-
-#define BITM_DMC_CFG_IFWID (_ADI_MSK(0x0000000F,uint32_t)) /* Interface Width */
-#define ENUM_DMC_CFG_IFWID16 (_ADI_MSK(0x00000002,uint32_t)) /* IFWID: 16-Bit Wide Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR0_TMRD 28 /* Timing Mode Register Delay */
-#define BITP_DMC_TR0_TRC 20 /* Timing Row Cycle */
-#define BITP_DMC_TR0_TRAS 12 /* Timing Row Active Time */
-#define BITP_DMC_TR0_TRP 8 /* Timing RAS Precharge. */
-#define BITP_DMC_TR0_TWTR 4 /* Timing Write to Read */
-#define BITP_DMC_TR0_TRCD 0 /* Timing RAS to CAS Delay */
-#define BITM_DMC_TR0_TMRD (_ADI_MSK(0xF0000000,uint32_t)) /* Timing Mode Register Delay */
-#define BITM_DMC_TR0_TRC (_ADI_MSK(0x03F00000,uint32_t)) /* Timing Row Cycle */
-#define BITM_DMC_TR0_TRAS (_ADI_MSK(0x0001F000,uint32_t)) /* Timing Row Active Time */
-#define BITM_DMC_TR0_TRP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing RAS Precharge. */
-#define BITM_DMC_TR0_TWTR (_ADI_MSK(0x000000F0,uint32_t)) /* Timing Write to Read */
-#define BITM_DMC_TR0_TRCD (_ADI_MSK(0x0000000F,uint32_t)) /* Timing RAS to CAS Delay */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR1_TRRD 28 /* Timing Read-Read Delay */
-#define BITP_DMC_TR1_TRFC 16 /* Timing Refresh-to-Command */
-#define BITP_DMC_TR1_TREF 0 /* Timing Refresh Interval */
-#define BITM_DMC_TR1_TRRD (_ADI_MSK(0x70000000,uint32_t)) /* Timing Read-Read Delay */
-#define BITM_DMC_TR1_TRFC (_ADI_MSK(0x00FF0000,uint32_t)) /* Timing Refresh-to-Command */
-#define BITM_DMC_TR1_TREF (_ADI_MSK(0x00003FFF,uint32_t)) /* Timing Refresh Interval */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR2_TCKE 20 /* Timing Clock Enable */
-#define BITP_DMC_TR2_TXP 16 /* Timing Exit Powerdown */
-#define BITP_DMC_TR2_TWR 12 /* Timing Write Recovery */
-#define BITP_DMC_TR2_TRTP 8 /* Timing Read-to-Precharge */
-#define BITP_DMC_TR2_TFAW 0 /* Timing Four-Activated-Window */
-#define BITM_DMC_TR2_TCKE (_ADI_MSK(0x00F00000,uint32_t)) /* Timing Clock Enable */
-#define BITM_DMC_TR2_TXP (_ADI_MSK(0x000F0000,uint32_t)) /* Timing Exit Powerdown */
-#define BITM_DMC_TR2_TWR (_ADI_MSK(0x0000F000,uint32_t)) /* Timing Write Recovery */
-#define BITM_DMC_TR2_TRTP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing Read-to-Precharge */
-#define BITM_DMC_TR2_TFAW (_ADI_MSK(0x0000001F,uint32_t)) /* Timing Four-Activated-Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MSK_EMR3 11 /* Shadow EMR3 Unmask */
-#define BITP_DMC_MSK_EMR2 10 /* Shadow EMR2 Unmask */
-#define BITP_DMC_MSK_EMR1 9 /* Shadow EMR1 Unmask */
-#define BITP_DMC_MSK_MR 8 /* Shadow MR Unmask */
-#define BITM_DMC_MSK_EMR3 (_ADI_MSK(0x00000800,uint32_t)) /* Shadow EMR3 Unmask */
-#define BITM_DMC_MSK_EMR2 (_ADI_MSK(0x00000400,uint32_t)) /* Shadow EMR2 Unmask */
-#define BITM_DMC_MSK_EMR1 (_ADI_MSK(0x00000200,uint32_t)) /* Shadow EMR1 Unmask */
-#define BITM_DMC_MSK_MR (_ADI_MSK(0x00000100,uint32_t)) /* Shadow MR Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MR_PD 12 /* Active Powerdown Mode */
-#define BITP_DMC_MR_WRRECOV 9 /* Write Recovery */
-#define BITP_DMC_MR_DLLRST 8 /* DLL Reset */
-#define BITP_DMC_MR_CL 4 /* CAS Latency */
-#define BITP_DMC_MR_BLEN 0 /* Burst Length */
-#define BITM_DMC_MR_PD (_ADI_MSK(0x00001000,uint32_t)) /* Active Powerdown Mode */
-#define BITM_DMC_MR_WRRECOV (_ADI_MSK(0x00000E00,uint32_t)) /* Write Recovery */
-#define BITM_DMC_MR_DLLRST (_ADI_MSK(0x00000100,uint32_t)) /* DLL Reset */
-
-#define BITM_DMC_MR_CL (_ADI_MSK(0x00000070,uint32_t)) /* CAS Latency */
-#define ENUM_DMC_MR_CL2 (_ADI_MSK(0x00000020,uint32_t)) /* CL: 2 clock cycle latency */
-#define ENUM_DMC_MR_CL3 (_ADI_MSK(0x00000030,uint32_t)) /* CL: 3 clock cycle latency */
-#define ENUM_DMC_MR_CL4 (_ADI_MSK(0x00000040,uint32_t)) /* CL: 4 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL5 (_ADI_MSK(0x00000050,uint32_t)) /* CL: 5 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL6 (_ADI_MSK(0x00000060,uint32_t)) /* CL: 6 clock cycle latency (DDR2) */
-
-#define BITM_DMC_MR_BLEN (_ADI_MSK(0x00000007,uint32_t)) /* Burst Length */
-#define ENUM_DMC_MR_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* BLEN: 4-Bit Burst Length */
-#define ENUM_DMC_MR_BLEN8 (_ADI_MSK(0x00000003,uint32_t)) /* BLEN: 8-Bit Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR1_QOFF 12 /* Output Buffer Enable */
-#define BITP_DMC_EMR1_DQS 10 /* DQS Enable */
-#define BITP_DMC_EMR1_RTT1 6 /* Termination Resistance 1 */
-#define BITP_DMC_EMR1_AL 3 /* Additive Latency */
-#define BITP_DMC_EMR1_RTT0 2 /* Termination Resistance 0. */
-#define BITP_DMC_EMR1_DIC 1 /* Output Driver Impedance Control */
-#define BITP_DMC_EMR1_DLLEN 0 /* DLL Enable */
-#define BITM_DMC_EMR1_QOFF (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Enable */
-#define BITM_DMC_EMR1_DQS (_ADI_MSK(0x00000400,uint32_t)) /* DQS Enable */
-
-#define BITM_DMC_EMR1_RTT1 (_ADI_MSK(0x00000040,uint32_t)) /* Termination Resistance 1 */
-#define ENUM_DMC_EMR1_RTT1_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT1: Disable RTT1 */
-#define ENUM_DMC_EMR1_RTT1_1 (_ADI_MSK(0x00000040,uint32_t)) /* RTT1: Enable RTT1 */
-#define BITM_DMC_EMR1_AL (_ADI_MSK(0x00000038,uint32_t)) /* Additive Latency */
-
-#define BITM_DMC_EMR1_RTT0 (_ADI_MSK(0x00000004,uint32_t)) /* Termination Resistance 0. */
-#define ENUM_DMC_EMR1_RTT0_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT0: Disable RTT0 */
-#define ENUM_DMC_EMR1_RTT0_1 (_ADI_MSK(0x00000004,uint32_t)) /* RTT0: Enable RTT0 */
-#define BITM_DMC_EMR1_DIC (_ADI_MSK(0x00000002,uint32_t)) /* Output Driver Impedance Control */
-#define BITM_DMC_EMR1_DLLEN (_ADI_MSK(0x00000001,uint32_t)) /* DLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR2_SRF 7 /* High Temp. Self Refresh */
-#define BITP_DMC_EMR2_DS 5 /* Drive Strength */
-#define BITP_DMC_EMR2_TCSR 3 /* Temp. Comp. Self Refresh */
-#define BITP_DMC_EMR2_PASR 0 /* Partial Array Self Refresh */
-#define BITM_DMC_EMR2_SRF (_ADI_MSK(0x00000080,uint32_t)) /* High Temp. Self Refresh */
-#define BITM_DMC_EMR2_DS (_ADI_MSK(0x00000060,uint32_t)) /* Drive Strength */
-#define BITM_DMC_EMR2_TCSR (_ADI_MSK(0x00000018,uint32_t)) /* Temp. Comp. Self Refresh */
-#define BITM_DMC_EMR2_PASR (_ADI_MSK(0x00000007,uint32_t)) /* Partial Array Self Refresh */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_DLLCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_DLLCTL_DATACYC 8 /* Data Cycles */
-#define BITP_DMC_DLLCTL_DLLCALRDCNT 0 /* DLL Calibration RD Count */
-
-#define BITM_DMC_DLLCTL_DATACYC (_ADI_MSK(0x00000F00,uint32_t)) /* Data Cycles */
-#define ENUM_DMC_DLLCTL_DATACYC2 (_ADI_MSK(0x00000200,uint32_t)) /* DATACYC: 2 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC3 (_ADI_MSK(0x00000300,uint32_t)) /* DATACYC: 3 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC4 (_ADI_MSK(0x00000400,uint32_t)) /* DATACYC: 4 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC5 (_ADI_MSK(0x00000500,uint32_t)) /* DATACYC: 5 Clock Cycles Latency */
-#define BITM_DMC_DLLCTL_DLLCALRDCNT (_ADI_MSK(0x000000FF,uint32_t)) /* DLL Calibration RD Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL1_CONTODTVAL 19 /* Select ODT value on controller */
-
-#define BITM_DMC_PHY_CTL1_CONTODTVAL (_ADI_MSK(0x00080000,uint32_t)) /* Select ODT value on controller */
-#define ENUM_DMC_PHY_CTL1_ODT_75 (_ADI_MSK(0x00000000,uint32_t)) /* CONTODTVAL: 75 Ohms Termination */
-#define ENUM_DMC_PHY_CTL1_ODT_150 (_ADI_MSK(0x00080000,uint32_t)) /* CONTODTVAL: 150 Ohms Termination */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL3_OFST1 26 /* Offset Parameter 1 */
-#define BITP_DMC_PHY_CTL3_OFST0 24 /* Offset Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQS 10 /* Enables controller ODT on read of DQS */
-#define BITP_DMC_PHY_CTL3_TMG1 7 /* Timing Parameter 1 */
-#define BITP_DMC_PHY_CTL3_TMG0 6 /* Timing Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQ 2 /* Enables controller ODT on read of DQ */
-#define BITM_DMC_PHY_CTL3_OFST1 (_ADI_MSK(0x04000000,uint32_t)) /* Offset Parameter 1 */
-#define BITM_DMC_PHY_CTL3_OFST0 (_ADI_MSK(0x01000000,uint32_t)) /* Offset Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQS (_ADI_MSK(0x00000400,uint32_t)) /* Enables controller ODT on read of DQS */
-#define BITM_DMC_PHY_CTL3_TMG1 (_ADI_MSK(0x00000080,uint32_t)) /* Timing Parameter 1 */
-#define BITM_DMC_PHY_CTL3_TMG0 (_ADI_MSK(0x00000040,uint32_t)) /* Timing Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQ (_ADI_MSK(0x00000004,uint32_t)) /* Enables controller ODT on read of DQ */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PADCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PADCTL_CKEOE 19 /* CKE Output Enable */
-#define BITP_DMC_PADCTL_CKEPWD 18 /* CKE pad receiver power down. */
-#define BITP_DMC_PADCTL_CKEODS 16 /* CKE Output Drive Strength */
-#define BITP_DMC_PADCTL_CMDOE 15 /* CMD Output Enable */
-#define BITP_DMC_PADCTL_CMDPWD 14 /* CMD Powerdown */
-#define BITP_DMC_PADCTL_CMDODS 12 /* CMD Output Drive Strength */
-#define BITP_DMC_PADCTL_CLKOE 11 /* CLK Output Enable */
-#define BITP_DMC_PADCTL_CLKPWD 10 /* CLK Powerdown */
-#define BITP_DMC_PADCTL_CLKODS 8 /* Clock Output Drive Strength */
-#define BITP_DMC_PADCTL_DQSPWD 6 /* DQ/DQS Powerdown */
-#define BITP_DMC_PADCTL_DQSODS 4 /* DQS Output Drive Strength */
-#define BITP_DMC_PADCTL_DQPWD 2 /* DQ Powerdown. */
-#define BITP_DMC_PADCTL_DQODS 0 /* DQ Output Drive Strength */
-#define BITM_DMC_PADCTL_CKEOE (_ADI_MSK(0x00080000,uint32_t)) /* CKE Output Enable */
-#define BITM_DMC_PADCTL_CKEPWD (_ADI_MSK(0x00040000,uint32_t)) /* CKE pad receiver power down. */
-#define BITM_DMC_PADCTL_CKEODS (_ADI_MSK(0x00030000,uint32_t)) /* CKE Output Drive Strength */
-#define BITM_DMC_PADCTL_CMDOE (_ADI_MSK(0x00008000,uint32_t)) /* CMD Output Enable */
-#define BITM_DMC_PADCTL_CMDPWD (_ADI_MSK(0x00004000,uint32_t)) /* CMD Powerdown */
-#define BITM_DMC_PADCTL_CMDODS (_ADI_MSK(0x00003000,uint32_t)) /* CMD Output Drive Strength */
-#define BITM_DMC_PADCTL_CLKOE (_ADI_MSK(0x00000800,uint32_t)) /* CLK Output Enable */
-#define BITM_DMC_PADCTL_CLKPWD (_ADI_MSK(0x00000400,uint32_t)) /* CLK Powerdown */
-#define BITM_DMC_PADCTL_CLKODS (_ADI_MSK(0x00000300,uint32_t)) /* Clock Output Drive Strength */
-#define BITM_DMC_PADCTL_DQSPWD (_ADI_MSK(0x00000040,uint32_t)) /* DQ/DQS Powerdown */
-#define BITM_DMC_PADCTL_DQSODS (_ADI_MSK(0x00000030,uint32_t)) /* DQS Output Drive Strength */
-#define BITM_DMC_PADCTL_DQPWD (_ADI_MSK(0x00000004,uint32_t)) /* DQ Powerdown. */
-#define BITM_DMC_PADCTL_DQODS (_ADI_MSK(0x00000003,uint32_t)) /* DQ Output Drive Strength */
-
-/* ==================================================
- System Cross Bar Registers
- ================================================== */
-
-/* =========================
- SCB0
- ========================= */
-#define REG_SCB0_ARBR0 0xFFCA2408 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR1 0xFFCA2428 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR2 0xFFCA2448 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR3 0xFFCA2468 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR4 0xFFCA2488 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR5 0xFFCA24A8 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBW0 0xFFCA240C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW1 0xFFCA242C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW2 0xFFCA244C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW3 0xFFCA246C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW4 0xFFCA248C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW5 0xFFCA24AC /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_SLAVES 0xFFCA2FC0 /* SCB0 Slave Interfaces Number Register */
-#define REG_SCB0_MASTERS 0xFFCA2FC4 /* SCB0 Master Interfaces Number Register */
-
-/* =========================
- SCB1
- ========================= */
-#define REG_SCB1_ARBR0 0xFFC42408 /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB1_ARBW0 0xFFC4240C /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB1_SLAVES 0xFFC42FC0 /* SCB1 Slave Interfaces Number Register */
-#define REG_SCB1_MASTERS 0xFFC42FC4 /* SCB1 Master Interfaces Number Register */
-
-/* =========================
- SCB2
- ========================= */
-#define REG_SCB2_ARBR0 0xFFC06408 /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB2_ARBW0 0xFFC0640C /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB2_SLAVES 0xFFC06FC0 /* SCB2 Slave Interfaces Number Register */
-#define REG_SCB2_MASTERS 0xFFC06FC4 /* SCB2 Master Interfaces Number Register */
-
-/* =========================
- SCB3
- ========================= */
-#define REG_SCB3_ARBR0 0xFFC08408 /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB3_ARBW0 0xFFC0840C /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB3_SLAVES 0xFFC08FC0 /* SCB3 Slave Interfaces Number Register */
-#define REG_SCB3_MASTERS 0xFFC08FC4 /* SCB3 Master Interfaces Number Register */
-
-/* =========================
- SCB4
- ========================= */
-#define REG_SCB4_ARBR0 0xFFC0A408 /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB4_ARBW0 0xFFC0A40C /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB4_SLAVES 0xFFC0AFC0 /* SCB4 Slave Interfaces Number Register */
-#define REG_SCB4_MASTERS 0xFFC0AFC4 /* SCB4 Master Interfaces Number Register */
-
-/* =========================
- SCB5
- ========================= */
-#define REG_SCB5_ARBR0 0xFFC0C408 /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB5_ARBW0 0xFFC0C40C /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB5_SLAVES 0xFFC0CFC0 /* SCB5 Slave Interfaces Number Register */
-#define REG_SCB5_MASTERS 0xFFC0CFC4 /* SCB5 Master Interfaces Number Register */
-
-/* =========================
- SCB6
- ========================= */
-#define REG_SCB6_ARBR0 0xFFC0E408 /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB6_ARBW0 0xFFC0E40C /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB6_SLAVES 0xFFC0EFC0 /* SCB6 Slave Interfaces Number Register */
-#define REG_SCB6_MASTERS 0xFFC0EFC4 /* SCB6 Master Interfaces Number Register */
-
-/* =========================
- SCB7
- ========================= */
-#define REG_SCB7_ARBR0 0xFFC11408 /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB7_ARBW0 0xFFC1140C /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB7_SLAVES 0xFFC11FC0 /* SCB7 Slave Interfaces Number Register */
-#define REG_SCB7_MASTERS 0xFFC11FC4 /* SCB7 Master Interfaces Number Register */
-
-/* =========================
- SCB8
- ========================= */
-#define REG_SCB8_ARBR0 0xFFC13408 /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB8_ARBW0 0xFFC1340C /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB8_SLAVES 0xFFC13FC0 /* SCB8 Slave Interfaces Number Register */
-#define REG_SCB8_MASTERS 0xFFC13FC4 /* SCB8 Master Interfaces Number Register */
-
-/* =========================
- SCB9
- ========================= */
-#define REG_SCB9_ARBR0 0xFFC15408 /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB9_ARBW0 0xFFC1540C /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB9_SLAVES 0xFFC15FC0 /* SCB9 Slave Interfaces Number Register */
-#define REG_SCB9_MASTERS 0xFFC15FC4 /* SCB9 Master Interfaces Number Register */
-
-/* =========================
- SCB10
- ========================= */
-#define REG_SCB10_ARBR0 0xFFCA1408 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR1 0xFFCA1428 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR2 0xFFCA1448 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBW0 0xFFCA140C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW1 0xFFCA142C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW2 0xFFCA144C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_SLAVES 0xFFCA1FC0 /* SCB10 Slave Interfaces Number Register */
-#define REG_SCB10_MASTERS 0xFFCA1FC4 /* SCB10 Master Interfaces Number Register */
-
-/* =========================
- SCB11
- ========================= */
-#define REG_SCB11_ARBR0 0xFFCA0408 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR1 0xFFCA0428 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR2 0xFFCA0448 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR3 0xFFCA0468 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR4 0xFFCA0488 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR5 0xFFCA04A8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR6 0xFFCA04C8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBW0 0xFFCA040C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW1 0xFFCA042C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW2 0xFFCA044C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW3 0xFFCA046C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW4 0xFFCA048C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW5 0xFFCA04AC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW6 0xFFCA04CC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_SLAVES 0xFFCA0FC0 /* SCB11 Slave Interfaces Number Register */
-#define REG_SCB11_MASTERS 0xFFCA0FC4 /* SCB11 Master Interfaces Number Register */
-
-/* =========================
- SCB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBR_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBR_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBR_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBR_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBW Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBW_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBW_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBW_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBW_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_SLAVES Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_SLAVES_SI 0 /* Slave Interface Value */
-#define BITM_SCB_SLAVES_SI (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_MASTERS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_MASTERS_MI 0 /* Master Interface Value */
-#define BITM_SCB_MASTERS_MI (_ADI_MSK(0x000000FF,uint32_t)) /* Master Interface Value */
-
-/* ==================================================
- L2 Memory Controller Registers
- ================================================== */
-
-/* =========================
- L2CTL0
- ========================= */
-#define REG_L2CTL0_CTL 0xFFCA3000 /* L2CTL0 Control Register */
-#define REG_L2CTL0_ACTL_C0 0xFFCA3004 /* L2CTL0 Access Control Core 0 Register */
-#define REG_L2CTL0_ACTL_C1 0xFFCA3008 /* L2CTL0 Access Control Core 1 Register */
-#define REG_L2CTL0_ACTL_SYS 0xFFCA300C /* L2CTL0 Access Control System Register */
-#define REG_L2CTL0_STAT 0xFFCA3010 /* L2CTL0 Status Register */
-#define REG_L2CTL0_RPCR 0xFFCA3014 /* L2CTL0 Read Priority Count Register */
-#define REG_L2CTL0_WPCR 0xFFCA3018 /* L2CTL0 Write Priority Count Register */
-#define REG_L2CTL0_RFA 0xFFCA3024 /* L2CTL0 Refresh Address Register */
-#define REG_L2CTL0_ERRADDR0 0xFFCA3040 /* L2CTL0 ECC Error Address 0 Register */
-#define REG_L2CTL0_ERRADDR1 0xFFCA3044 /* L2CTL0 ECC Error Address 1 Register */
-#define REG_L2CTL0_ERRADDR2 0xFFCA3048 /* L2CTL0 ECC Error Address 2 Register */
-#define REG_L2CTL0_ERRADDR3 0xFFCA304C /* L2CTL0 ECC Error Address 3 Register */
-#define REG_L2CTL0_ERRADDR4 0xFFCA3050 /* L2CTL0 ECC Error Address 4 Register */
-#define REG_L2CTL0_ERRADDR5 0xFFCA3054 /* L2CTL0 ECC Error Address 5 Register */
-#define REG_L2CTL0_ERRADDR6 0xFFCA3058 /* L2CTL0 ECC Error Address 6 Register */
-#define REG_L2CTL0_ERRADDR7 0xFFCA305C /* L2CTL0 ECC Error Address 7 Register */
-#define REG_L2CTL0_ET0 0xFFCA3080 /* L2CTL0 Error Type 0 Register */
-#define REG_L2CTL0_EADDR0 0xFFCA3084 /* L2CTL0 Error Type 0 Address Register */
-#define REG_L2CTL0_ET1 0xFFCA3088 /* L2CTL0 Error Type 1 Register */
-#define REG_L2CTL0_EADDR1 0xFFCA308C /* L2CTL0 Error Type 1 Address Register */
-
-/* =========================
- L2CTL
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_CTL_LOCK 31 /* Lock */
-#define BITP_L2CTL_CTL_DISURP 16 /* Disable Urgent Request Priority */
-#define BITP_L2CTL_CTL_ECCMAP7 15 /* ECC Map Bank 7 */
-#define BITP_L2CTL_CTL_ECCMAP6 14 /* ECC Map Bank 6 */
-#define BITP_L2CTL_CTL_ECCMAP5 13 /* ECC Map Bank 5 */
-#define BITP_L2CTL_CTL_ECCMAP4 12 /* ECC Map Bank 4 */
-#define BITP_L2CTL_CTL_ECCMAP3 11 /* ECC Map Bank 3 */
-#define BITP_L2CTL_CTL_ECCMAP2 10 /* ECC Map Bank 2 */
-#define BITP_L2CTL_CTL_ECCMAP1 9 /* ECC Map Bank 1 */
-#define BITP_L2CTL_CTL_ECCMAP0 8 /* ECC Map Bank 0 */
-#define BITP_L2CTL_CTL_BK7EDIS 7 /* Bank 7 ECC Disable */
-#define BITP_L2CTL_CTL_BK6EDIS 6 /* Bank 6 ECC Disable */
-#define BITP_L2CTL_CTL_BK5EDIS 5 /* Bank 5 ECC Disable */
-#define BITP_L2CTL_CTL_BK4EDIS 4 /* Bank 4 ECC Disable */
-#define BITP_L2CTL_CTL_BK3EDIS 3 /* Bank 3 ECC Disable */
-#define BITP_L2CTL_CTL_BK2EDIS 2 /* Bank 2 ECC Disable */
-#define BITP_L2CTL_CTL_BK1EDIS 1 /* Bank 1 ECC Disable */
-#define BITP_L2CTL_CTL_BK0EDIS 0 /* Bank 0 ECC Disable */
-#define BITM_L2CTL_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_CTL_DISURP (_ADI_MSK(0x00010000,uint32_t)) /* Disable Urgent Request Priority */
-#define BITM_L2CTL_CTL_ECCMAP7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Map Bank 7 */
-#define BITM_L2CTL_CTL_ECCMAP6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Map Bank 6 */
-#define BITM_L2CTL_CTL_ECCMAP5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Map Bank 5 */
-#define BITM_L2CTL_CTL_ECCMAP4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Map Bank 4 */
-#define BITM_L2CTL_CTL_ECCMAP3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Map Bank 3 */
-#define BITM_L2CTL_CTL_ECCMAP2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Map Bank 2 */
-#define BITM_L2CTL_CTL_ECCMAP1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Map Bank 1 */
-#define BITM_L2CTL_CTL_ECCMAP0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Map Bank 0 */
-#define BITM_L2CTL_CTL_BK7EDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 ECC Disable */
-#define BITM_L2CTL_CTL_BK6EDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 ECC Disable */
-#define BITM_L2CTL_CTL_BK5EDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 ECC Disable */
-#define BITM_L2CTL_CTL_BK4EDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 ECC Disable */
-#define BITM_L2CTL_CTL_BK3EDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 ECC Disable */
-#define BITM_L2CTL_CTL_BK2EDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 ECC Disable */
-#define BITM_L2CTL_CTL_BK1EDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 ECC Disable */
-#define BITM_L2CTL_CTL_BK0EDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 ECC Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C0_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C0_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C0_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C0_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C1_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C1_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C1_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C1_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_SYS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_SYS_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_SYS_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_SYS_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_STAT_ECCERR7 15 /* ECC Error Bank 7 */
-#define BITP_L2CTL_STAT_ECCERR6 14 /* ECC Error Bank 6 */
-#define BITP_L2CTL_STAT_ECCERR5 13 /* ECC Error Bank 5 */
-#define BITP_L2CTL_STAT_ECCERR4 12 /* ECC Error Bank 4 */
-#define BITP_L2CTL_STAT_ECCERR3 11 /* ECC Error Bank 3 */
-#define BITP_L2CTL_STAT_ECCERR2 10 /* ECC Error Bank 2 */
-#define BITP_L2CTL_STAT_ECCERR1 9 /* ECC Error Bank 1 */
-#define BITP_L2CTL_STAT_ECCERR0 8 /* ECC Error Bank 0 */
-#define BITP_L2CTL_STAT_RFRS 4 /* Refresh Register Status */
-#define BITP_L2CTL_STAT_ERR1 1 /* Error Port 1 */
-#define BITP_L2CTL_STAT_ERR0 0 /* Error Port 0 */
-#define BITM_L2CTL_STAT_ECCERR7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Error Bank 7 */
-#define BITM_L2CTL_STAT_ECCERR6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Error Bank 6 */
-#define BITM_L2CTL_STAT_ECCERR5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Error Bank 5 */
-#define BITM_L2CTL_STAT_ECCERR4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Error Bank 4 */
-#define BITM_L2CTL_STAT_ECCERR3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Error Bank 3 */
-#define BITM_L2CTL_STAT_ECCERR2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Error Bank 2 */
-#define BITM_L2CTL_STAT_ECCERR1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Error Bank 1 */
-#define BITM_L2CTL_STAT_ECCERR0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Error Bank 0 */
-#define BITM_L2CTL_STAT_RFRS (_ADI_MSK(0x00000010,uint32_t)) /* Refresh Register Status */
-#define BITM_L2CTL_STAT_ERR1 (_ADI_MSK(0x00000002,uint32_t)) /* Error Port 1 */
-#define BITM_L2CTL_STAT_ERR0 (_ADI_MSK(0x00000001,uint32_t)) /* Error Port 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RPCR_RPC1 8 /* Read Priority Count 1 */
-#define BITP_L2CTL_RPCR_RPC0 0 /* Read Priority Count 0 */
-#define BITM_L2CTL_RPCR_RPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Read Priority Count 1 */
-#define BITM_L2CTL_RPCR_RPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Read Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_WPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_WPCR_WPC1 8 /* Write Priority Count 1 */
-#define BITP_L2CTL_WPCR_WPC0 0 /* Write Priority Count 0 */
-#define BITM_L2CTL_WPCR_WPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Write Priority Count 1 */
-#define BITM_L2CTL_WPCR_WPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Write Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RFA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RFA_ADDRHI 16 /* Address High */
-#define BITP_L2CTL_RFA_ADDRLO 0 /* Address Low */
-#define BITM_L2CTL_RFA_ADDRHI (_ADI_MSK(0xFFFF0000,uint32_t)) /* Address High */
-#define BITM_L2CTL_RFA_ADDRLO (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address Low */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET0_ID 8 /* Error ID */
-#define BITP_L2CTL_ET0_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET0_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET0_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET0_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET0_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET0_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET0_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET0_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET0_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET0_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET0_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET1_ID 8 /* Error ID */
-#define BITP_L2CTL_ET1_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET1_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET1_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET1_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET1_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET1_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET1_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET1_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET1_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET1_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET1_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ==================================================
- System Event Controller Registers
- ================================================== */
-
-/* =========================
- SEC0
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Core Interface (SCI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_CCTL0 0xFFCA4400 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CCTL1 0xFFCA4440 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CSTAT0 0xFFCA4404 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CSTAT1 0xFFCA4444 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CPND0 0xFFCA4408 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CPND1 0xFFCA4448 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CACT0 0xFFCA440C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CACT1 0xFFCA444C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CPMSK0 0xFFCA4410 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CPMSK1 0xFFCA4450 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CGMSK0 0xFFCA4414 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CGMSK1 0xFFCA4454 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CPLVL0 0xFFCA4418 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CPLVL1 0xFFCA4458 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CSID0 0xFFCA441C /* SEC0 SCI Source ID Register n */
-#define REG_SEC0_CSID1 0xFFCA445C /* SEC0 SCI Source ID Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Fault Management Interface (SFI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_FCTL 0xFFCA4010 /* SEC0 Fault Control Register */
-#define REG_SEC0_FSTAT 0xFFCA4014 /* SEC0 Fault Status Register */
-#define REG_SEC0_FSID 0xFFCA4018 /* SEC0 Fault Source ID Register */
-#define REG_SEC0_FEND 0xFFCA401C /* SEC0 Fault End Register */
-#define REG_SEC0_FDLY 0xFFCA4020 /* SEC0 Fault Delay Register */
-#define REG_SEC0_FDLY_CUR 0xFFCA4024 /* SEC0 Fault Delay Current Register */
-#define REG_SEC0_FSRDLY 0xFFCA4028 /* SEC0 Fault System Reset Delay Register */
-#define REG_SEC0_FSRDLY_CUR 0xFFCA402C /* SEC0 Fault System Reset Delay Current Register */
-#define REG_SEC0_FCOPP 0xFFCA4030 /* SEC0 Fault COP Period Register */
-#define REG_SEC0_FCOPP_CUR 0xFFCA4034 /* SEC0 Fault COP Period Current Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Global Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_GCTL 0xFFCA4000 /* SEC0 Global Control Register */
-#define REG_SEC0_GSTAT 0xFFCA4004 /* SEC0 Global Status Register */
-#define REG_SEC0_RAISE 0xFFCA4008 /* SEC0 Global Raise Register */
-#define REG_SEC0_END 0xFFCA400C /* SEC0 Global End Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Source Interface (SSI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_SCTL0 0xFFCA4800 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL1 0xFFCA4808 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL2 0xFFCA4810 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL3 0xFFCA4818 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL4 0xFFCA4820 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL5 0xFFCA4828 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL6 0xFFCA4830 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL7 0xFFCA4838 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL8 0xFFCA4840 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL9 0xFFCA4848 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL10 0xFFCA4850 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL11 0xFFCA4858 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL12 0xFFCA4860 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL13 0xFFCA4868 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL14 0xFFCA4870 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL15 0xFFCA4878 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL16 0xFFCA4880 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL17 0xFFCA4888 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL18 0xFFCA4890 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL19 0xFFCA4898 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL20 0xFFCA48A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL21 0xFFCA48A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL22 0xFFCA48B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL23 0xFFCA48B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL24 0xFFCA48C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL25 0xFFCA48C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL26 0xFFCA48D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL27 0xFFCA48D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL28 0xFFCA48E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL29 0xFFCA48E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL30 0xFFCA48F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL31 0xFFCA48F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL32 0xFFCA4900 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL33 0xFFCA4908 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL34 0xFFCA4910 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL35 0xFFCA4918 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL36 0xFFCA4920 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL37 0xFFCA4928 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL38 0xFFCA4930 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL39 0xFFCA4938 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL40 0xFFCA4940 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL41 0xFFCA4948 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL42 0xFFCA4950 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL43 0xFFCA4958 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL44 0xFFCA4960 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL45 0xFFCA4968 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL46 0xFFCA4970 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL47 0xFFCA4978 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL48 0xFFCA4980 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL49 0xFFCA4988 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL50 0xFFCA4990 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL51 0xFFCA4998 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL52 0xFFCA49A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL53 0xFFCA49A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL54 0xFFCA49B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL55 0xFFCA49B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL56 0xFFCA49C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL57 0xFFCA49C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL58 0xFFCA49D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL59 0xFFCA49D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL60 0xFFCA49E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL61 0xFFCA49E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL62 0xFFCA49F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL63 0xFFCA49F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL64 0xFFCA4A00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL65 0xFFCA4A08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL66 0xFFCA4A10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL67 0xFFCA4A18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL68 0xFFCA4A20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL69 0xFFCA4A28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL70 0xFFCA4A30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL71 0xFFCA4A38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL72 0xFFCA4A40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL73 0xFFCA4A48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL74 0xFFCA4A50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL75 0xFFCA4A58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL76 0xFFCA4A60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL77 0xFFCA4A68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL78 0xFFCA4A70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL79 0xFFCA4A78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL80 0xFFCA4A80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL81 0xFFCA4A88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL82 0xFFCA4A90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL83 0xFFCA4A98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL84 0xFFCA4AA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL85 0xFFCA4AA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL86 0xFFCA4AB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL87 0xFFCA4AB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL88 0xFFCA4AC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL89 0xFFCA4AC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL90 0xFFCA4AD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL91 0xFFCA4AD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL92 0xFFCA4AE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL93 0xFFCA4AE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL94 0xFFCA4AF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL95 0xFFCA4AF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL96 0xFFCA4B00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL97 0xFFCA4B08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL98 0xFFCA4B10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL99 0xFFCA4B18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL100 0xFFCA4B20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL101 0xFFCA4B28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL102 0xFFCA4B30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL103 0xFFCA4B38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL104 0xFFCA4B40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL105 0xFFCA4B48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL106 0xFFCA4B50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL107 0xFFCA4B58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL108 0xFFCA4B60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL109 0xFFCA4B68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL110 0xFFCA4B70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL111 0xFFCA4B78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL112 0xFFCA4B80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL113 0xFFCA4B88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL114 0xFFCA4B90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL115 0xFFCA4B98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL116 0xFFCA4BA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL117 0xFFCA4BA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL118 0xFFCA4BB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL119 0xFFCA4BB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL120 0xFFCA4BC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL121 0xFFCA4BC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL122 0xFFCA4BD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL123 0xFFCA4BD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL124 0xFFCA4BE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL125 0xFFCA4BE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL126 0xFFCA4BF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL127 0xFFCA4BF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL128 0xFFCA4C00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL129 0xFFCA4C08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL130 0xFFCA4C10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL131 0xFFCA4C18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL132 0xFFCA4C20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL133 0xFFCA4C28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL134 0xFFCA4C30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL135 0xFFCA4C38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL136 0xFFCA4C40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL137 0xFFCA4C48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL138 0xFFCA4C50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL139 0xFFCA4C58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SSTAT0 0xFFCA4804 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT1 0xFFCA480C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT2 0xFFCA4814 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT3 0xFFCA481C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT4 0xFFCA4824 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT5 0xFFCA482C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT6 0xFFCA4834 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT7 0xFFCA483C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT8 0xFFCA4844 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT9 0xFFCA484C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT10 0xFFCA4854 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT11 0xFFCA485C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT12 0xFFCA4864 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT13 0xFFCA486C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT14 0xFFCA4874 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT15 0xFFCA487C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT16 0xFFCA4884 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT17 0xFFCA488C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT18 0xFFCA4894 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT19 0xFFCA489C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT20 0xFFCA48A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT21 0xFFCA48AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT22 0xFFCA48B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT23 0xFFCA48BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT24 0xFFCA48C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT25 0xFFCA48CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT26 0xFFCA48D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT27 0xFFCA48DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT28 0xFFCA48E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT29 0xFFCA48EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT30 0xFFCA48F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT31 0xFFCA48FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT32 0xFFCA4904 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT33 0xFFCA490C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT34 0xFFCA4914 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT35 0xFFCA491C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT36 0xFFCA4924 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT37 0xFFCA492C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT38 0xFFCA4934 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT39 0xFFCA493C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT40 0xFFCA4944 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT41 0xFFCA494C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT42 0xFFCA4954 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT43 0xFFCA495C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT44 0xFFCA4964 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT45 0xFFCA496C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT46 0xFFCA4974 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT47 0xFFCA497C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT48 0xFFCA4984 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT49 0xFFCA498C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT50 0xFFCA4994 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT51 0xFFCA499C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT52 0xFFCA49A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT53 0xFFCA49AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT54 0xFFCA49B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT55 0xFFCA49BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT56 0xFFCA49C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT57 0xFFCA49CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT58 0xFFCA49D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT59 0xFFCA49DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT60 0xFFCA49E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT61 0xFFCA49EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT62 0xFFCA49F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT63 0xFFCA49FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT64 0xFFCA4A04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT65 0xFFCA4A0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT66 0xFFCA4A14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT67 0xFFCA4A1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT68 0xFFCA4A24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT69 0xFFCA4A2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT70 0xFFCA4A34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT71 0xFFCA4A3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT72 0xFFCA4A44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT73 0xFFCA4A4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT74 0xFFCA4A54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT75 0xFFCA4A5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT76 0xFFCA4A64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT77 0xFFCA4A6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT78 0xFFCA4A74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT79 0xFFCA4A7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT80 0xFFCA4A84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT81 0xFFCA4A8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT82 0xFFCA4A94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT83 0xFFCA4A9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT84 0xFFCA4AA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT85 0xFFCA4AAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT86 0xFFCA4AB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT87 0xFFCA4ABC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT88 0xFFCA4AC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT89 0xFFCA4ACC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT90 0xFFCA4AD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT91 0xFFCA4ADC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT92 0xFFCA4AE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT93 0xFFCA4AEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT94 0xFFCA4AF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT95 0xFFCA4AFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT96 0xFFCA4B04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT97 0xFFCA4B0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT98 0xFFCA4B14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT99 0xFFCA4B1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT100 0xFFCA4B24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT101 0xFFCA4B2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT102 0xFFCA4B34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT103 0xFFCA4B3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT104 0xFFCA4B44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT105 0xFFCA4B4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT106 0xFFCA4B54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT107 0xFFCA4B5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT108 0xFFCA4B64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT109 0xFFCA4B6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT110 0xFFCA4B74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT111 0xFFCA4B7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT112 0xFFCA4B84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT113 0xFFCA4B8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT114 0xFFCA4B94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT115 0xFFCA4B9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT116 0xFFCA4BA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT117 0xFFCA4BAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT118 0xFFCA4BB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT119 0xFFCA4BBC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT120 0xFFCA4BC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT121 0xFFCA4BCC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT122 0xFFCA4BD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT123 0xFFCA4BDC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT124 0xFFCA4BE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT125 0xFFCA4BEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT126 0xFFCA4BF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT127 0xFFCA4BFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT128 0xFFCA4C04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT129 0xFFCA4C0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT130 0xFFCA4C14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT131 0xFFCA4C1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT132 0xFFCA4C24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT133 0xFFCA4C2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT134 0xFFCA4C34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT135 0xFFCA4C3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT136 0xFFCA4C44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT137 0xFFCA4C4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT138 0xFFCA4C54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT139 0xFFCA4C5C /* SEC0 Source Status Register n */
-
-/* =========================
- SEC
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CCTL_LOCK 31 /* Lock */
-#define BITP_SEC_CCTL_NMIEN 16 /* NMI Enable */
-#define BITP_SEC_CCTL_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CCTL_RESET 1 /* Reset */
-#define BITP_SEC_CCTL_EN 0 /* Enable */
-
-#define BITM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CCTL_NMIEN (_ADI_MSK(0x00010000,uint32_t)) /* NMI Enable */
-#define ENUM_SEC_CCTL_NMI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* NMIEN: Disable */
-#define ENUM_SEC_CCTL_NMI_EN (_ADI_MSK(0x00010000,uint32_t)) /* NMIEN: Enable */
-
-#define BITM_SEC_CCTL_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CCTL_NO_WAITIDLE (_ADI_MSK(0x00000000,uint32_t)) /* WFI: No Action */
-#define ENUM_SEC_CCTL_WAITIDLE (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Wait for Idle */
-
-#define BITM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_CCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_CCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSTAT_NMI 16 /* NMI */
-#define BITP_SEC_CSTAT_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CSTAT_SIDV 10 /* SID Valid */
-#define BITP_SEC_CSTAT_ACTV 9 /* ACT Valid */
-#define BITP_SEC_CSTAT_PNDV 8 /* PND Valid */
-#define BITP_SEC_CSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_CSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI */
-#define ENUM_SEC_CSTAT_NO_NMI (_ADI_MSK(0x00000000,uint32_t)) /* NMI: No NMI Occured */
-#define ENUM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI: NMI Occurred */
-
-#define BITM_SEC_CSTAT_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CSTAT_NOT_WAITING (_ADI_MSK(0x00000000,uint32_t)) /* WFI: Not Waiting */
-#define ENUM_SEC_CSTAT_WAITING (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Waiting */
-
-#define BITM_SEC_CSTAT_SIDV (_ADI_MSK(0x00000400,uint32_t)) /* SID Valid */
-#define ENUM_SEC_CSTAT_INVALID_SID (_ADI_MSK(0x00000000,uint32_t)) /* SIDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_SID (_ADI_MSK(0x00000400,uint32_t)) /* SIDV: Valid */
-
-#define BITM_SEC_CSTAT_ACTV (_ADI_MSK(0x00000200,uint32_t)) /* ACT Valid */
-#define ENUM_SEC_CSTAT_INVALID_ACT (_ADI_MSK(0x00000000,uint32_t)) /* ACTV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_ACT (_ADI_MSK(0x00000200,uint32_t)) /* ACTV: Valid */
-
-#define BITM_SEC_CSTAT_PNDV (_ADI_MSK(0x00000100,uint32_t)) /* PND Valid */
-#define ENUM_SEC_CSTAT_INVALID_PND (_ADI_MSK(0x00000000,uint32_t)) /* PNDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_PND (_ADI_MSK(0x00000100,uint32_t)) /* PNDV: Valid */
-
-#define BITM_SEC_CSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_CSTAT_ACKERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Acknowledge Error */
-
-#define BITM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_CSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPND_PRIO 8 /* Highest Pending IRQ Priority */
-#define BITP_SEC_CPND_SID 0 /* Highest Pending IRQ Source ID */
-#define BITM_SEC_CPND_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Pending IRQ Priority */
-#define BITM_SEC_CPND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Pending IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CACT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CACT_PRIO 8 /* Highest Active IRQ Priority */
-#define BITP_SEC_CACT_SID 0 /* Highest Active IRQ Source ID */
-#define BITM_SEC_CACT_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Active IRQ Priority */
-#define BITM_SEC_CACT_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Active IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CPMSK_PRIO 0 /* IRQ Priority Mask */
-
-#define BITM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPMSK_PRIO (_ADI_MSK(0x000000FF,uint32_t)) /* IRQ Priority Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CGMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CGMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CGMSK_UGRP 8 /* Ungrouped Mask */
-#define BITP_SEC_CGMSK_GRP 0 /* Grouped Mask */
-
-#define BITM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CGMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CGMSK_UGRP (_ADI_MSK(0x00000100,uint32_t)) /* Ungrouped Mask */
-#define ENUM_SEC_CGMSK_UNMASK (_ADI_MSK(0x00000000,uint32_t)) /* UGRP: Unmask Ungrouped Sources */
-#define ENUM_SEC_CGMSK_MASK (_ADI_MSK(0x00000100,uint32_t)) /* UGRP: Mask Ungrouped Sources */
-#define BITM_SEC_CGMSK_GRP (_ADI_MSK(0x0000000F,uint32_t)) /* Grouped Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPLVL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPLVL_LOCK 31 /* Lock */
-#define BITP_SEC_CPLVL_PLVL 0 /* Priority Levels */
-
-#define BITM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPLVL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPLVL_PLVL (_ADI_MSK(0x00000007,uint32_t)) /* Priority Levels */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSID_SID 0 /* Source ID */
-#define BITM_SEC_CSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FCTL_LOCK 31 /* Lock */
-#define BITP_SEC_FCTL_TES 13 /* Trigger Event Select */
-#define BITP_SEC_FCTL_CMS 12 /* COP Mode Select */
-#define BITP_SEC_FCTL_FIEN 7 /* Fault Input Enable */
-#define BITP_SEC_FCTL_SREN 6 /* System Reset Enable */
-#define BITP_SEC_FCTL_TOEN 5 /* Trigger Output Enable */
-#define BITP_SEC_FCTL_FOEN 4 /* Fault Output Enable */
-#define BITP_SEC_FCTL_RESET 1 /* Reset */
-#define BITP_SEC_FCTL_EN 0 /* Enable */
-
-#define BITM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_FCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: UnLock */
-#define ENUM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_FCTL_TES (_ADI_MSK(0x00002000,uint32_t)) /* Trigger Event Select */
-#define ENUM_SEC_FCTL_FLTACT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* TES: Fault Active Mode */
-#define ENUM_SEC_FCTL_FLTPND_MODE (_ADI_MSK(0x00002000,uint32_t)) /* TES: Fault Pending Mode */
-
-#define BITM_SEC_FCTL_CMS (_ADI_MSK(0x00001000,uint32_t)) /* COP Mode Select */
-#define ENUM_SEC_FCTL_FLT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* CMS: Fault Mode */
-#define ENUM_SEC_FCTL_COP_MODE (_ADI_MSK(0x00001000,uint32_t)) /* CMS: COP Mode */
-
-#define BITM_SEC_FCTL_FIEN (_ADI_MSK(0x00000080,uint32_t)) /* Fault Input Enable */
-#define ENUM_SEC_FCTL_FLTIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FIEN: Disable */
-#define ENUM_SEC_FCTL_FLTIN_EN (_ADI_MSK(0x00000080,uint32_t)) /* FIEN: Enable */
-
-#define BITM_SEC_FCTL_SREN (_ADI_MSK(0x00000040,uint32_t)) /* System Reset Enable */
-#define ENUM_SEC_FCTL_SYSRST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SREN: Disable */
-#define ENUM_SEC_FCTL_SYSRST_EN (_ADI_MSK(0x00000040,uint32_t)) /* SREN: Enable */
-
-#define BITM_SEC_FCTL_TOEN (_ADI_MSK(0x00000020,uint32_t)) /* Trigger Output Enable */
-#define ENUM_SEC_FCTL_TRGOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOEN: Disable */
-#define ENUM_SEC_FCTL_TRGOUT_EN (_ADI_MSK(0x00000020,uint32_t)) /* TOEN: Enable */
-
-#define BITM_SEC_FCTL_FOEN (_ADI_MSK(0x00000010,uint32_t)) /* Fault Output Enable */
-#define ENUM_SEC_FCTL_FLTOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FOEN: Disable */
-#define ENUM_SEC_FCTL_FLTOUT_EN (_ADI_MSK(0x00000010,uint32_t)) /* FOEN: Enable */
-
-#define BITM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_FCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_FCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSTAT_NPND 10 /* Next Pending Fault */
-#define BITP_SEC_FSTAT_ACT 9 /* Fault Active */
-#define BITP_SEC_FSTAT_PND 8 /* Pending Fault */
-#define BITP_SEC_FSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_FSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_FSTAT_NPND (_ADI_MSK(0x00000400,uint32_t)) /* Next Pending Fault */
-#define ENUM_SEC_FSTAT_NO_NXTFLT (_ADI_MSK(0x00000000,uint32_t)) /* NPND: Not Pending */
-#define ENUM_SEC_FSTAT_NXTFLT (_ADI_MSK(0x00000400,uint32_t)) /* NPND: Pending */
-
-#define BITM_SEC_FSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Fault Active */
-#define ENUM_SEC_FSTAT_NO_FLTACT (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Fault */
-#define ENUM_SEC_FSTAT_FLTACT (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Fault */
-
-#define BITM_SEC_FSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Fault */
-#define ENUM_SEC_FSTAT_NO_FLTPND (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_FSTAT_FLTPND (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_FSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_FSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_FSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSID_FEXT 16 /* Fault External */
-#define BITP_SEC_FSID_SID 0 /* Source ID */
-
-#define BITM_SEC_FSID_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FSID_SRC_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FSID_SRC_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FEND_FEXT 16 /* Fault External */
-#define BITP_SEC_FEND_SID 0 /* Source ID */
-
-#define BITM_SEC_FEND_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FEND_END_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FEND_END_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FEND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GCTL_LOCK 31 /* Lock */
-#define BITP_SEC_GCTL_RESET 1 /* Reset */
-#define BITP_SEC_GCTL_EN 0 /* Enable */
-
-#define BITM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_GCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_GCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_GCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GSTAT_LWERR 31 /* Lock Write Error */
-#define BITP_SEC_GSTAT_ADRERR 30 /* Address Error */
-#define BITP_SEC_GSTAT_SID 16 /* Source ID for SSI Error */
-#define BITP_SEC_GSTAT_SCI 8 /* SCI ID for SCI Error */
-#define BITP_SEC_GSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_GSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define ENUM_SEC_GSTAT_NO_LWERR (_ADI_MSK(0x00000000,uint32_t)) /* LWERR: No Error */
-#define ENUM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* LWERR: Error Occurred */
-
-#define BITM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define ENUM_SEC_GSTAT_NO_ADRERR (_ADI_MSK(0x00000000,uint32_t)) /* ADRERR: No Error */
-#define ENUM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* ADRERR: Error Occurred */
-#define BITM_SEC_GSTAT_SID (_ADI_MSK(0x00FF0000,uint32_t)) /* Source ID for SSI Error */
-#define BITM_SEC_GSTAT_SCI (_ADI_MSK(0x00000F00,uint32_t)) /* SCI ID for SCI Error */
-
-#define BITM_SEC_GSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_GSTAT_SFIERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: SFI Error */
-#define ENUM_SEC_GSTAT_SCIERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: SCI Error */
-#define ENUM_SEC_GSTAT_SSIERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: SSI Error */
-
-#define BITM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_GSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_RAISE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_RAISE_SID 0 /* Source ID IRQ Set to Pending */
-#define BITM_SEC_RAISE_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ Set to Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_END Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_END_SID 0 /* Source ID IRQ to End */
-#define BITM_SEC_END_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ to End */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SCTL_LOCK 31 /* Lock */
-#define BITP_SEC_SCTL_CTG 24 /* Core Target Select */
-#define BITP_SEC_SCTL_GRP 16 /* Group Select */
-#define BITP_SEC_SCTL_PRIO 8 /* Priority Level Select */
-#define BITP_SEC_SCTL_ERREN 4 /* Error Enable */
-#define BITP_SEC_SCTL_ES 3 /* Edge Select */
-#define BITP_SEC_SCTL_SEN 2 /* Source (signal) Enable */
-#define BITP_SEC_SCTL_FEN 1 /* Fault Enable */
-#define BITP_SEC_SCTL_IEN 0 /* Interrupt Enable */
-
-#define BITM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_SCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_SCTL_CTG (_ADI_MSK(0x0F000000,uint32_t)) /* Core Target Select */
-#define BITM_SEC_SCTL_GRP (_ADI_MSK(0x000F0000,uint32_t)) /* Group Select */
-#define BITM_SEC_SCTL_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Priority Level Select */
-
-#define BITM_SEC_SCTL_ERREN (_ADI_MSK(0x00000010,uint32_t)) /* Error Enable */
-#define ENUM_SEC_SCTL_ERR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ERREN: Disable */
-#define ENUM_SEC_SCTL_ERR_EN (_ADI_MSK(0x00000010,uint32_t)) /* ERREN: Enable */
-
-#define BITM_SEC_SCTL_ES (_ADI_MSK(0x00000008,uint32_t)) /* Edge Select */
-#define ENUM_SEC_SCTL_LEVEL (_ADI_MSK(0x00000000,uint32_t)) /* ES: Level Sensitive */
-#define ENUM_SEC_SCTL_EDGE (_ADI_MSK(0x00000008,uint32_t)) /* ES: Edge Sensitive */
-
-#define BITM_SEC_SCTL_SEN (_ADI_MSK(0x00000004,uint32_t)) /* Source (signal) Enable */
-#define ENUM_SEC_SCTL_SRC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SEN: Disable */
-#define ENUM_SEC_SCTL_SRC_EN (_ADI_MSK(0x00000004,uint32_t)) /* SEN: Enable */
-
-#define BITM_SEC_SCTL_FEN (_ADI_MSK(0x00000002,uint32_t)) /* Fault Enable */
-#define ENUM_SEC_SCTL_FAULT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FEN: Disable */
-#define ENUM_SEC_SCTL_FAULT_EN (_ADI_MSK(0x00000002,uint32_t)) /* FEN: Enable */
-
-#define BITM_SEC_SCTL_IEN (_ADI_MSK(0x00000001,uint32_t)) /* Interrupt Enable */
-#define ENUM_SEC_SCTL_INT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* IEN: Disable */
-#define ENUM_SEC_SCTL_INT_EN (_ADI_MSK(0x00000001,uint32_t)) /* IEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SSTAT_CHID 16 /* Channel ID */
-#define BITP_SEC_SSTAT_ACT 9 /* Active Source */
-#define BITP_SEC_SSTAT_PND 8 /* Pending Source */
-#define BITP_SEC_SSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_SSTAT_ERR 1 /* Error */
-#define BITM_SEC_SSTAT_CHID (_ADI_MSK(0x00FF0000,uint32_t)) /* Channel ID */
-
-#define BITM_SEC_SSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Active Source */
-#define ENUM_SEC_SSTAT_NO_SRC (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Source */
-#define ENUM_SEC_SSTAT_ACTIVE_SRC (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Source */
-
-#define BITM_SEC_SSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Source */
-#define ENUM_SEC_SSTAT_NOTPENDING (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_SSTAT_PENDING (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_SSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_SSTAT_SOVFERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Source Overflow Error */
-#define ENUM_SEC_SSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_SSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ==================================================
- Trigger Routing Unit Registers
- ================================================== */
-
-/* =========================
- TRU0
- ========================= */
-#define REG_TRU0_SSR0 0xFFCA5000 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR1 0xFFCA5004 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR2 0xFFCA5008 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR3 0xFFCA500C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR4 0xFFCA5010 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR5 0xFFCA5014 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR6 0xFFCA5018 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR7 0xFFCA501C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR8 0xFFCA5020 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR9 0xFFCA5024 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR10 0xFFCA5028 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR11 0xFFCA502C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR12 0xFFCA5030 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR13 0xFFCA5034 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR14 0xFFCA5038 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR15 0xFFCA503C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR16 0xFFCA5040 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR17 0xFFCA5044 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR18 0xFFCA5048 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR19 0xFFCA504C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR20 0xFFCA5050 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR21 0xFFCA5054 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR22 0xFFCA5058 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR23 0xFFCA505C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR24 0xFFCA5060 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR25 0xFFCA5064 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR26 0xFFCA5068 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR27 0xFFCA506C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR28 0xFFCA5070 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR29 0xFFCA5074 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR30 0xFFCA5078 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR31 0xFFCA507C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR32 0xFFCA5080 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR33 0xFFCA5084 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR34 0xFFCA5088 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR35 0xFFCA508C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR36 0xFFCA5090 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR37 0xFFCA5094 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR38 0xFFCA5098 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR39 0xFFCA509C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR40 0xFFCA50A0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR41 0xFFCA50A4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR42 0xFFCA50A8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR43 0xFFCA50AC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR44 0xFFCA50B0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR45 0xFFCA50B4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR46 0xFFCA50B8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR47 0xFFCA50BC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR48 0xFFCA50C0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR49 0xFFCA50C4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR50 0xFFCA50C8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR51 0xFFCA50CC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR52 0xFFCA50D0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR53 0xFFCA50D4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR54 0xFFCA50D8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR55 0xFFCA50DC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR56 0xFFCA50E0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR57 0xFFCA50E4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR58 0xFFCA50E8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR59 0xFFCA50EC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR60 0xFFCA50F0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR61 0xFFCA50F4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR62 0xFFCA50F8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR63 0xFFCA50FC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR64 0xFFCA5100 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR65 0xFFCA5104 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR66 0xFFCA5108 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR67 0xFFCA510C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR68 0xFFCA5110 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR69 0xFFCA5114 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR70 0xFFCA5118 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR71 0xFFCA511C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR72 0xFFCA5120 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR73 0xFFCA5124 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR74 0xFFCA5128 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR75 0xFFCA512C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR76 0xFFCA5130 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR77 0xFFCA5134 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR78 0xFFCA5138 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR79 0xFFCA513C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR80 0xFFCA5140 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR81 0xFFCA5144 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR82 0xFFCA5148 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR83 0xFFCA514C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR84 0xFFCA5150 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR85 0xFFCA5154 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR86 0xFFCA5158 /* TRU0 Slave Select Register */
-#define REG_TRU0_MTR 0xFFCA57E0 /* TRU0 Master Trigger Register */
-#define REG_TRU0_ERRADDR 0xFFCA57E8 /* TRU0 Error Address Register */
-#define REG_TRU0_STAT 0xFFCA57EC /* TRU0 Status Information Register */
-#define REG_TRU0_REVID 0xFFCA57F0 /* TRU0 Revision ID Register */
-#define REG_TRU0_GCTL 0xFFCA57F4 /* TRU0 Global Control Register */
-
-/* =========================
- TRU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_SSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_SSR_LOCK 31 /* SSRn Lock */
-#define BITP_TRU_SSR_SSR 0 /* SSRn Slave Select */
-#define BITM_TRU_SSR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* SSRn Lock */
-#define BITM_TRU_SSR_SSR (_ADI_MSK(0x000000FF,uint32_t)) /* SSRn Slave Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_MTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_MTR_MTR3 24 /* Master Trigger Register 3 */
-#define BITP_TRU_MTR_MTR2 16 /* Master Trigger Register 2 */
-#define BITP_TRU_MTR_MTR1 8 /* Master Trigger Register 1 */
-#define BITP_TRU_MTR_MTR0 0 /* Master Trigger Register 0 */
-#define BITM_TRU_MTR_MTR3 (_ADI_MSK(0xFF000000,uint32_t)) /* Master Trigger Register 3 */
-#define BITM_TRU_MTR_MTR2 (_ADI_MSK(0x00FF0000,uint32_t)) /* Master Trigger Register 2 */
-#define BITM_TRU_MTR_MTR1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Master Trigger Register 1 */
-#define BITM_TRU_MTR_MTR0 (_ADI_MSK(0x000000FF,uint32_t)) /* Master Trigger Register 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_ERRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_ERRADDR_ADDR 0 /* Error Address */
-#define BITM_TRU_ERRADDR_ADDR (_ADI_MSK(0x00000FFF,uint32_t)) /* Error Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_STAT_ADDRERR 1 /* Address Error Status */
-#define BITP_TRU_STAT_LWERR 0 /* Lock Write Error Status */
-#define BITM_TRU_STAT_ADDRERR (_ADI_MSK(0x00000002,uint32_t)) /* Address Error Status */
-#define BITM_TRU_STAT_LWERR (_ADI_MSK(0x00000001,uint32_t)) /* Lock Write Error Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_TRU_REVID_REV 0 /* Incremental Version ID */
-#define BITM_TRU_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_TRU_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_GCTL_LOCK 31 /* GCTL Lock Bit */
-#define BITP_TRU_GCTL_MTRL 2 /* MTR Lock Bit */
-#define BITP_TRU_GCTL_RESET 1 /* Soft Reset */
-#define BITP_TRU_GCTL_EN 0 /* Non-MMR Enable */
-#define BITM_TRU_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* GCTL Lock Bit */
-#define BITM_TRU_GCTL_MTRL (_ADI_MSK(0x00000004,uint32_t)) /* MTR Lock Bit */
-#define BITM_TRU_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Soft Reset */
-#define BITM_TRU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Non-MMR Enable */
-
-/* ==================================================
- Reset Control Unit Registers
- ================================================== */
-
-/* =========================
- RCU0
- ========================= */
-#define REG_RCU0_CTL 0xFFCA6000 /* RCU0 Control Register */
-#define REG_RCU0_STAT 0xFFCA6004 /* RCU0 Status Register */
-#define REG_RCU0_CRCTL 0xFFCA6008 /* RCU0 Core Reset Control Register */
-#define REG_RCU0_CRSTAT 0xFFCA600C /* RCU0 Core Reset Status Register */
-#define REG_RCU0_SIDIS 0xFFCA6010 /* RCU0 System Interface Disable Register */
-#define REG_RCU0_SISTAT 0xFFCA6014 /* RCU0 System Interface Status Register */
-#define REG_RCU0_SVECT_LCK 0xFFCA6018 /* RCU0 SVECT Lock Register */
-#define REG_RCU0_BCODE 0xFFCA601C /* RCU0 Boot Code Register */
-#define REG_RCU0_SVECT0 0xFFCA6020 /* RCU0 Software Vector Register n */
-#define REG_RCU0_SVECT1 0xFFCA6024 /* RCU0 Software Vector Register n */
-
-/* =========================
- RCU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CTL_LOCK 31 /* Lock */
-#define BITP_RCU_CTL_RSTOUTDSRT 2 /* Reset Out Deassert */
-#define BITP_RCU_CTL_RSTOUTASRT 1 /* Reset Out Assert */
-#define BITP_RCU_CTL_SYSRST 0 /* System Reset */
-#define BITM_RCU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CTL_RSTOUTDSRT (_ADI_MSK(0x00000004,uint32_t)) /* Reset Out Deassert */
-#define BITM_RCU_CTL_RSTOUTASRT (_ADI_MSK(0x00000002,uint32_t)) /* Reset Out Assert */
-#define BITM_RCU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_STAT_RSTOUTERR 18 /* Reset Out Error */
-#define BITP_RCU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_RCU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_RCU_STAT_BMODE 8 /* Boot Mode */
-#define BITP_RCU_STAT_RSTOUT 5 /* Reset Out Status */
-#define BITP_RCU_STAT_SWRST 3 /* Software Reset */
-#define BITP_RCU_STAT_SSRST 2 /* System Source Reset */
-#define BITP_RCU_STAT_HBRST 1 /* Hibernate Reset */
-#define BITP_RCU_STAT_HWRST 0 /* Hardware Reset */
-#define BITM_RCU_STAT_RSTOUTERR (_ADI_MSK(0x00040000,uint32_t)) /* Reset Out Error */
-#define BITM_RCU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_RCU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_RCU_STAT_BMODE (_ADI_MSK(0x00000F00,uint32_t)) /* Boot Mode */
-#define BITM_RCU_STAT_RSTOUT (_ADI_MSK(0x00000020,uint32_t)) /* Reset Out Status */
-#define BITM_RCU_STAT_SWRST (_ADI_MSK(0x00000008,uint32_t)) /* Software Reset */
-#define BITM_RCU_STAT_SSRST (_ADI_MSK(0x00000004,uint32_t)) /* System Source Reset */
-#define BITM_RCU_STAT_HBRST (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Reset */
-#define BITM_RCU_STAT_HWRST (_ADI_MSK(0x00000001,uint32_t)) /* Hardware Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRCTL_LOCK 31 /* Lock */
-#define BITP_RCU_CRCTL_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRCTL_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CRCTL_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRCTL_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRSTAT_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRSTAT_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SIDIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SIDIS_LOCK 31 /* Lock */
-#define BITP_RCU_SIDIS_SI0 0 /* System Interface n */
-#define BITP_RCU_SIDIS_SI1 1 /* System Interface n */
-#define BITM_RCU_SIDIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SIDIS_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SIDIS_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SISTAT_SI0 0 /* System Interface n */
-#define BITP_RCU_SISTAT_SI1 1 /* System Interface n */
-#define BITM_RCU_SISTAT_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SISTAT_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SVECT_LCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SVECT_LCK_LOCK 31 /* Lock */
-#define BITP_RCU_SVECT_LCK_SVECT0 0 /* Software Vector Register n */
-#define BITP_RCU_SVECT_LCK_SVECT1 1 /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SVECT_LCK_SVECT0 (_ADI_MSK(0x00000001,uint32_t)) /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_SVECT1 (_ADI_MSK(0x00000002,uint32_t)) /* Software Vector Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_BCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_BCODE_LOCK 31 /* Lock */
-#define BITP_RCU_BCODE_BCODE 0 /* Boot Code */
-#define BITM_RCU_BCODE_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_BCODE_BCODE (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Boot Code */
-
-/* ==================================================
- System Protection Unit Registers
- ================================================== */
-
-/* =========================
- SPU0
- ========================= */
-#define REG_SPU0_CTL 0xFFCA7000 /* SPU0 Control Register */
-#define REG_SPU0_STAT 0xFFCA7004 /* SPU0 Status Register */
-#define REG_SPU0_WP0 0xFFCA7400 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP1 0xFFCA7404 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP2 0xFFCA7408 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP3 0xFFCA740C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP4 0xFFCA7410 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP5 0xFFCA7414 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP6 0xFFCA7418 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP7 0xFFCA741C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP8 0xFFCA7420 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP9 0xFFCA7424 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP10 0xFFCA7428 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP11 0xFFCA742C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP12 0xFFCA7430 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP13 0xFFCA7434 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP14 0xFFCA7438 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP15 0xFFCA743C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP16 0xFFCA7440 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP17 0xFFCA7444 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP18 0xFFCA7448 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP19 0xFFCA744C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP20 0xFFCA7450 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP21 0xFFCA7454 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP22 0xFFCA7458 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP23 0xFFCA745C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP24 0xFFCA7460 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP25 0xFFCA7464 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP26 0xFFCA7468 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP27 0xFFCA746C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP28 0xFFCA7470 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP29 0xFFCA7474 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP30 0xFFCA7478 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP31 0xFFCA747C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP32 0xFFCA7480 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP33 0xFFCA7484 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP34 0xFFCA7488 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP35 0xFFCA748C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP36 0xFFCA7490 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP37 0xFFCA7494 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP38 0xFFCA7498 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP39 0xFFCA749C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP40 0xFFCA74A0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP41 0xFFCA74A4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP42 0xFFCA74A8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP43 0xFFCA74AC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP44 0xFFCA74B0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP45 0xFFCA74B4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP46 0xFFCA74B8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP47 0xFFCA74BC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP48 0xFFCA74C0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP49 0xFFCA74C4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP50 0xFFCA74C8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP51 0xFFCA74CC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP52 0xFFCA74D0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP53 0xFFCA74D4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP54 0xFFCA74D8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP55 0xFFCA74DC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP56 0xFFCA74E0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP57 0xFFCA74E4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP58 0xFFCA74E8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP59 0xFFCA74EC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP60 0xFFCA74F0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP61 0xFFCA74F4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP62 0xFFCA74F8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP63 0xFFCA74FC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP64 0xFFCA7500 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP65 0xFFCA7504 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP66 0xFFCA7508 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP67 0xFFCA750C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP68 0xFFCA7510 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP69 0xFFCA7514 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP70 0xFFCA7518 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP71 0xFFCA751C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP72 0xFFCA7520 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP73 0xFFCA7524 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP74 0xFFCA7528 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP75 0xFFCA752C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP76 0xFFCA7530 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP77 0xFFCA7534 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP78 0xFFCA7538 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP79 0xFFCA753C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP80 0xFFCA7540 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP81 0xFFCA7544 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP82 0xFFCA7548 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP83 0xFFCA754C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP84 0xFFCA7550 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP85 0xFFCA7554 /* SPU0 Write Protect Register n */
-
-/* =========================
- SPU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_CTL_WPLCK 16 /* Write Protect Register Lock */
-#define BITP_SPU_CTL_GLCK 0 /* Global Lock Disable */
-#define BITM_SPU_CTL_WPLCK (_ADI_MSK(0x00010000,uint32_t)) /* Write Protect Register Lock */
-#define BITM_SPU_CTL_GLCK (_ADI_MSK(0x000000FF,uint32_t)) /* Global Lock Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_STAT_LWERR 31 /* Lock Write Error */
-#define BITP_SPU_STAT_ADDRERR 30 /* Address Error */
-#define BITP_SPU_STAT_GLCK 0 /* Global Lock Status */
-#define BITM_SPU_STAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define BITM_SPU_STAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define BITM_SPU_STAT_GLCK (_ADI_MSK(0x00000001,uint32_t)) /* Global Lock Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_WP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_WP_SM0 16 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_SM1 17 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_CM0 0 /* Core Master x Write Protect Enable */
-#define BITP_SPU_WP_CM1 1 /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_SM0 (_ADI_MSK(0x00010000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_SM1 (_ADI_MSK(0x00020000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_CM0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_CM1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Master x Write Protect Enable */
-
-/* ==================================================
- Clock Generation Unit Registers
- ================================================== */
-
-/* =========================
- CGU0
- ========================= */
-#define REG_CGU0_CTL 0xFFCA8000 /* CGU0 Control Register */
-#define REG_CGU0_STAT 0xFFCA8004 /* CGU0 Status Register */
-#define REG_CGU0_DIV 0xFFCA8008 /* CGU0 Divisor Register */
-#define REG_CGU0_CLKOUTSEL 0xFFCA800C /* CGU0 CLKOUT Select Register */
-
-/* =========================
- CGU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CTL_LOCK 31 /* Lock */
-#define BITP_CGU_CTL_WFI 30 /* Wait For Idle */
-#define BITP_CGU_CTL_MSEL 8 /* Multiplier Select */
-#define BITP_CGU_CTL_DF 0 /* Divide Frequency */
-#define BITM_CGU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_CTL_WFI (_ADI_MSK(0x40000000,uint32_t)) /* Wait For Idle */
-
-#define BITM_CGU_CTL_MSEL (_ADI_MSK(0x00007F00,uint32_t)) /* Multiplier Select */
-#define ENUM_CGU_CTL_MSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* MSEL: MSEL = 1 to 127 */
-#define BITM_CGU_CTL_DF (_ADI_MSK(0x00000001,uint32_t)) /* Divide Frequency */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_STAT_PLOCKERR 21 /* PLL Lock Error */
-#define BITP_CGU_STAT_WDIVERR 20 /* Write to DIV Error */
-#define BITP_CGU_STAT_WDFMSERR 19 /* Write to DF or MSEL Error */
-#define BITP_CGU_STAT_DIVERR 18 /* DIV Error */
-#define BITP_CGU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_CGU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_CGU_STAT_OCBF 9 /* OUTCLK Buffer Status */
-#define BITP_CGU_STAT_DCBF 8 /* DCLK Buffer Status */
-#define BITP_CGU_STAT_SCBF1 7 /* SCLK1 Buffer Status */
-#define BITP_CGU_STAT_SCBF0 6 /* SCLK0 Buffer Status */
-#define BITP_CGU_STAT_CCBF1 5 /* CCLK1 Buffer Status */
-#define BITP_CGU_STAT_CCBF0 4 /* CCLK0 Buffer Status */
-#define BITP_CGU_STAT_CLKSALGN 3 /* Clock Alignment */
-#define BITP_CGU_STAT_PLOCK 2 /* PLL Lock */
-#define BITP_CGU_STAT_PLLBP 1 /* PLL Bypass */
-#define BITP_CGU_STAT_PLLEN 0 /* PLL Enable */
-#define BITM_CGU_STAT_PLOCKERR (_ADI_MSK(0x00200000,uint32_t)) /* PLL Lock Error */
-#define BITM_CGU_STAT_WDIVERR (_ADI_MSK(0x00100000,uint32_t)) /* Write to DIV Error */
-#define BITM_CGU_STAT_WDFMSERR (_ADI_MSK(0x00080000,uint32_t)) /* Write to DF or MSEL Error */
-#define BITM_CGU_STAT_DIVERR (_ADI_MSK(0x00040000,uint32_t)) /* DIV Error */
-#define BITM_CGU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_CGU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_CGU_STAT_OCBF (_ADI_MSK(0x00000200,uint32_t)) /* OUTCLK Buffer Status */
-#define BITM_CGU_STAT_DCBF (_ADI_MSK(0x00000100,uint32_t)) /* DCLK Buffer Status */
-#define BITM_CGU_STAT_SCBF1 (_ADI_MSK(0x00000080,uint32_t)) /* SCLK1 Buffer Status */
-#define BITM_CGU_STAT_SCBF0 (_ADI_MSK(0x00000040,uint32_t)) /* SCLK0 Buffer Status */
-#define BITM_CGU_STAT_CCBF1 (_ADI_MSK(0x00000020,uint32_t)) /* CCLK1 Buffer Status */
-#define BITM_CGU_STAT_CCBF0 (_ADI_MSK(0x00000010,uint32_t)) /* CCLK0 Buffer Status */
-#define BITM_CGU_STAT_CLKSALGN (_ADI_MSK(0x00000008,uint32_t)) /* Clock Alignment */
-#define BITM_CGU_STAT_PLOCK (_ADI_MSK(0x00000004,uint32_t)) /* PLL Lock */
-#define BITM_CGU_STAT_PLLBP (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass */
-#define BITM_CGU_STAT_PLLEN (_ADI_MSK(0x00000001,uint32_t)) /* PLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_DIV_LOCK 31 /* Lock */
-#define BITP_CGU_DIV_UPDT 30 /* Update Clock Divisors */
-#define BITP_CGU_DIV_ALGN 29 /* Align */
-#define BITP_CGU_DIV_OSEL 22 /* OUTCLK Divisor */
-#define BITP_CGU_DIV_DSEL 16 /* DCLK Divisor */
-#define BITP_CGU_DIV_S1SEL 13 /* SCLK 1 Divisor */
-#define BITP_CGU_DIV_SYSSEL 8 /* SYSCLK Divisor */
-#define BITP_CGU_DIV_S0SEL 5 /* SCLK 0 Divisor */
-#define BITP_CGU_DIV_CSEL 0 /* CCLK Divisor */
-#define BITM_CGU_DIV_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_DIV_UPDT (_ADI_MSK(0x40000000,uint32_t)) /* Update Clock Divisors */
-#define BITM_CGU_DIV_ALGN (_ADI_MSK(0x20000000,uint32_t)) /* Align */
-
-#define BITM_CGU_DIV_OSEL (_ADI_MSK(0x1FC00000,uint32_t)) /* OUTCLK Divisor */
-#define ENUM_CGU_DIV_OSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* OSEL: OSEL = 1 to 127 */
-
-#define BITM_CGU_DIV_DSEL (_ADI_MSK(0x001F0000,uint32_t)) /* DCLK Divisor */
-#define ENUM_CGU_DIV_DSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* DSEL: DSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S1SEL (_ADI_MSK(0x0000E000,uint32_t)) /* SCLK 1 Divisor */
-#define ENUM_CGU_DIV_S1SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S1SEL: S1SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_SYSSEL (_ADI_MSK(0x00001F00,uint32_t)) /* SYSCLK Divisor */
-#define ENUM_CGU_DIV_SYSSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* SYSSEL: SYSSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S0SEL (_ADI_MSK(0x000000E0,uint32_t)) /* SCLK 0 Divisor */
-#define ENUM_CGU_DIV_S0SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S0SEL: S0SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_CSEL (_ADI_MSK(0x0000001F,uint32_t)) /* CCLK Divisor */
-#define ENUM_CGU_DIV_CSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* CSEL: CSEL= 1 to 31 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CLKOUTSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CLKOUTSEL_LOCK 31 /* Lock */
-#define BITP_CGU_CLKOUTSEL_CLKOUTSEL 0 /* CLKOUT Select */
-
-#define BITM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_CGU_CLKOUTSEL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_CGU_CLKOUTSEL_CLKOUTSEL (_ADI_MSK(0x0000000F,uint32_t)) /* CLKOUT Select */
-#define ENUM_CGU_CLKOUTSEL_CLKIN (_ADI_MSK(0x00000000,uint32_t)) /* CLKOUTSEL: CLKIN */
-#define ENUM_CGU_CLKOUTSEL_CCLKDIV4 (_ADI_MSK(0x00000001,uint32_t)) /* CLKOUTSEL: CCLKn/4 */
-#define ENUM_CGU_CLKOUTSEL_GNDDIS (_ADI_MSK(0x0000000B,uint32_t)) /* CLKOUTSEL: GND (Disable OUTCLK) */
-#define ENUM_CGU_CLKOUTSEL_SYSCLKDIV2 (_ADI_MSK(0x00000002,uint32_t)) /* CLKOUTSEL: SYSCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_SCLK0 (_ADI_MSK(0x00000003,uint32_t)) /* CLKOUTSEL: SCLK0 */
-#define ENUM_CGU_CLKOUTSEL_SCLK1 (_ADI_MSK(0x00000004,uint32_t)) /* CLKOUTSEL: SCLK1 */
-#define ENUM_CGU_CLKOUTSEL_DCLKDIV2 (_ADI_MSK(0x00000005,uint32_t)) /* CLKOUTSEL: DCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_OUTCLK (_ADI_MSK(0x00000007,uint32_t)) /* CLKOUTSEL: OUTCLK */
-
-/* ==================================================
- Dynamic Power Management Registers
- ================================================== */
-
-/* =========================
- DPM0
- ========================= */
-#define REG_DPM0_CTL 0xFFCA9000 /* DPM0 Control Register */
-#define REG_DPM0_STAT 0xFFCA9004 /* DPM0 Status Register */
-#define REG_DPM0_CCBF_DIS 0xFFCA9008 /* DPM0 Core Clock Buffer Disable Register */
-#define REG_DPM0_CCBF_EN 0xFFCA900C /* DPM0 Core Clock Buffer Enable Register */
-#define REG_DPM0_CCBF_STAT 0xFFCA9010 /* DPM0 Core Clock Buffer Status Register */
-#define REG_DPM0_CCBF_STAT_STKY 0xFFCA9014 /* DPM0 Core Clock Buffer Status Sticky Register */
-#define REG_DPM0_SCBF_DIS 0xFFCA9018 /* DPM0 System Clock Buffer Disable Register */
-#define REG_DPM0_WAKE_EN 0xFFCA901C /* DPM0 Wakeup Enable Register */
-#define REG_DPM0_WAKE_POL 0xFFCA9020 /* DPM0 Wakeup Polarity Register */
-#define REG_DPM0_WAKE_STAT 0xFFCA9024 /* DPM0 Wakeup Status Register */
-#define REG_DPM0_HIB_DIS 0xFFCA9028 /* DPM0 Hibernate Disable Register */
-#define REG_DPM0_PGCNTR 0xFFCA902C /* DPM0 Power Good Counter Register */
-#define REG_DPM0_RESTORE0 0xFFCA9030 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE1 0xFFCA9034 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE2 0xFFCA9038 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE3 0xFFCA903C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE4 0xFFCA9040 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE5 0xFFCA9044 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE6 0xFFCA9048 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE7 0xFFCA904C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE8 0xFFCA9050 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE9 0xFFCA9054 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE10 0xFFCA9058 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE11 0xFFCA905C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE12 0xFFCA9060 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE13 0xFFCA9064 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE14 0xFFCA9068 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE15 0xFFCA906C /* DPM0 Restore n Register */
-
-/* =========================
- DPM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CTL_LOCK 31 /* Lock */
-#define BITP_DPM_CTL_HIBERNATE 4 /* Hibernate */
-#define BITP_DPM_CTL_DEEPSLEEP 3 /* Deep Sleep */
-#define BITP_DPM_CTL_PLLDIS 2 /* PLL Disable */
-#define BITP_DPM_CTL_PLLBPCL 1 /* PLL Bypass Clear */
-#define BITP_DPM_CTL_PLLBPST 0 /* PLL Bypass Set */
-#define BITM_DPM_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CTL_HIBERNATE (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate */
-#define BITM_DPM_CTL_DEEPSLEEP (_ADI_MSK(0x00000008,uint32_t)) /* Deep Sleep */
-#define BITM_DPM_CTL_PLLDIS (_ADI_MSK(0x00000004,uint32_t)) /* PLL Disable */
-#define BITM_DPM_CTL_PLLBPCL (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass Clear */
-#define BITM_DPM_CTL_PLLBPST (_ADI_MSK(0x00000001,uint32_t)) /* PLL Bypass Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_STAT_PLLCFGERR 19 /* PLL Configuration Error */
-#define BITP_DPM_STAT_HVBSYERR 18 /* HV Busy Error */
-#define BITP_DPM_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_DPM_STAT_ADDRERR 16 /* Address Error */
-#define BITP_DPM_STAT_HVBSY 9 /* HV Busy */
-#define BITP_DPM_STAT_CCLKDIS 8 /* Core Clock(s) Disabled */
-#define BITP_DPM_STAT_PRVMODE 4 /* Previous Mode */
-#define BITP_DPM_STAT_CURMODE 0 /* Current Mode */
-#define BITM_DPM_STAT_PLLCFGERR (_ADI_MSK(0x00080000,uint32_t)) /* PLL Configuration Error */
-#define BITM_DPM_STAT_HVBSYERR (_ADI_MSK(0x00040000,uint32_t)) /* HV Busy Error */
-#define BITM_DPM_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_DPM_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_DPM_STAT_HVBSY (_ADI_MSK(0x00000200,uint32_t)) /* HV Busy */
-#define BITM_DPM_STAT_CCLKDIS (_ADI_MSK(0x00000100,uint32_t)) /* Core Clock(s) Disabled */
-#define BITM_DPM_STAT_PRVMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Previous Mode */
-#define BITM_DPM_STAT_CURMODE (_ADI_MSK(0x0000000F,uint32_t)) /* Current Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_DIS_CCBF0 0 /* Core Clock Buffer n Disable */
-#define BITP_DPM_CCBF_DIS_CCBF1 1 /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_DIS_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_EN_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_EN_CCBF0 0 /* Core Clock Buffer n Enable */
-#define BITP_DPM_CCBF_EN_CCBF1 1 /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_EN_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_CCBF0 0 /* Core Clock Buffer n Status */
-#define BITP_DPM_CCBF_STAT_CCBF1 1 /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT_STKY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF0 0 /* Core Clock Buffer n Status - Sticky */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF1 1 /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_SCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_SCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_SCBF_DIS_SCBF0 0 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF1 1 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF2 2 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF3 3 /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_SCBF_DIS_SCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF2 (_ADI_MSK(0x00000004,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF3 (_ADI_MSK(0x00000008,uint32_t)) /* System Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_EN_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_EN_WS0 0 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS1 1 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS2 2 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS3 3 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS4 4 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS5 5 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS6 6 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS7 7 /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_EN_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_POL_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_POL_WS0 0 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS1 1 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS2 2 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS3 3 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS4 4 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS5 5 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS6 6 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS7 7 /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_POL_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Polarity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_STAT_WS0 0 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS1 1 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS2 2 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS3 3 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS4 4 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS5 5 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS6 6 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS7 7 /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_HIB_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_HIB_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_HIB_DIS_HD0 0 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD1 1 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD2 2 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD3 3 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD4 4 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD5 5 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD6 6 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD7 7 /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_HIB_DIS_HD0 (_ADI_MSK(0x00000001,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD1 (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD2 (_ADI_MSK(0x00000004,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD3 (_ADI_MSK(0x00000008,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD4 (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD5 (_ADI_MSK(0x00000020,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD6 (_ADI_MSK(0x00000040,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD7 (_ADI_MSK(0x00000080,uint32_t)) /* Hibernate Disable n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_PGCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_PGCNTR_LOCK 31 /* Lock */
-#define BITP_DPM_PGCNTR_CNT 0 /* Power Good Count */
-#define BITM_DPM_PGCNTR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_PGCNTR_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Power Good Count */
-
-/* ==================================================
- eFUSE Controller Registers
- ================================================== */
-
-/* =========================
- EFS0
- ========================= */
-#define REG_EFS0_CTL 0xFFCC0000 /* EFS0 Control Register */
-#define REG_EFS0_DAT0 0xFFCC0008 /* EFS0 Data Register 0 */
-#define REG_EFS0_DAT1 0xFFCC000C /* EFS0 Data Register 1 */
-#define REG_EFS0_DAT2 0xFFCC0010 /* EFS0 Data Register 2 */
-#define REG_EFS0_DAT3 0xFFCC0014 /* EFS0 Data Register 3 */
-#define REG_EFS0_DAT4 0xFFCC0018 /* EFS0 Data Register 4 */
-#define REG_EFS0_DAT5 0xFFCC001C /* EFS0 Data Register 5 */
-#define REG_EFS0_DAT6 0xFFCC0020 /* EFS0 Data Register 6 */
-#define REG_EFS0_DAT7 0xFFCC0024 /* EFS0 Data Register 7 */
-
-/* =========================
- EFS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EFS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EFS_CTL_READ 0 /* Read */
-#define BITM_EFS_CTL_READ (_ADI_MSK(0x00000001,uint32_t)) /* Read */
-
-/* ==================================================
- Universal Serial Bus Controller Registers
- ================================================== */
-
-/* =========================
- USB0
- ========================= */
-#define REG_USB0_FADDR 0xFFCC1000 /* USB0 Function Address Register */
-#define REG_USB0_POWER 0xFFCC1001 /* USB0 Power and Device Control Register */
-#define REG_USB0_INTRTX 0xFFCC1002 /* USB0 Transmit Interrupt Register */
-#define REG_USB0_INTRRX 0xFFCC1004 /* USB0 Receive Interrupt Register */
-#define REG_USB0_INTRTXE 0xFFCC1006 /* USB0 Transmit Interrupt Enable Register */
-#define REG_USB0_INTRRXE 0xFFCC1008 /* USB0 Receive Interrupt Enable Register */
-#define REG_USB0_IRQ 0xFFCC100A /* USB0 Common Interrupts Register */
-#define REG_USB0_IEN 0xFFCC100B /* USB0 Common Interrupts Enable Register */
-#define REG_USB0_FRAME 0xFFCC100C /* USB0 Frame Number Register */
-#define REG_USB0_INDEX 0xFFCC100E /* USB0 Index Register */
-#define REG_USB0_TESTMODE 0xFFCC100F /* USB0 Testmode Register */
-#define REG_USB0_EPI_TXMAXP0 0xFFCC1010 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EPI_TXCSR_P0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EPI_TXCSR_H0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0I_CSR0_P 0xFFCC1012 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CSR0_H 0xFFCC1012 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXMAXP0 0xFFCC1014 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EPI_RXCSR_H0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXCSR_P0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CNT0 0xFFCC1018 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EPI_RXCNT0 0xFFCC1018 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EPI_TXTYPE0 0xFFCC101A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0I_TYPE0 0xFFCC101A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EPI_TXINTERVAL0 0xFFCC101B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0I_NAKLIMIT0 0xFFCC101B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EPI_RXTYPE0 0xFFCC101C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EPI_RXINTERVAL0 0xFFCC101D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0I_CFGDATA0 0xFFCC101F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_FIFOB0 0xFFCC1020 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB1 0xFFCC1024 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB2 0xFFCC1028 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB3 0xFFCC102C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB4 0xFFCC1030 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB5 0xFFCC1034 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB6 0xFFCC1038 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB7 0xFFCC103C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB8 0xFFCC1040 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB9 0xFFCC1044 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB10 0xFFCC1048 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB11 0xFFCC104C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOH0 0xFFCC1020 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH1 0xFFCC1024 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH2 0xFFCC1028 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH3 0xFFCC102C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH4 0xFFCC1030 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH5 0xFFCC1034 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH6 0xFFCC1038 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH7 0xFFCC103C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH8 0xFFCC1040 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH9 0xFFCC1044 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH10 0xFFCC1048 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH11 0xFFCC104C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFO0 0xFFCC1020 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO1 0xFFCC1024 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO2 0xFFCC1028 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO3 0xFFCC102C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO4 0xFFCC1030 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO5 0xFFCC1034 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO6 0xFFCC1038 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO7 0xFFCC103C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO8 0xFFCC1040 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO9 0xFFCC1044 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO10 0xFFCC1048 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO11 0xFFCC104C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_DEV_CTL 0xFFCC1060 /* USB0 Device Control Register */
-#define REG_USB0_TXFIFOSZ 0xFFCC1062 /* USB0 Transmit FIFO Size Register */
-#define REG_USB0_RXFIFOSZ 0xFFCC1063 /* USB0 Receive FIFO Size Register */
-#define REG_USB0_TXFIFOADDR 0xFFCC1064 /* USB0 Transmit FIFO Address Register */
-#define REG_USB0_RXFIFOADDR 0xFFCC1066 /* USB0 Receive FIFO Address Register */
-#define REG_USB0_EPINFO 0xFFCC1078 /* USB0 Endpoint Information Register */
-#define REG_USB0_RAMINFO 0xFFCC1079 /* USB0 RAM Information Register */
-#define REG_USB0_LINKINFO 0xFFCC107A /* USB0 Link Information Register */
-#define REG_USB0_VPLEN 0xFFCC107B /* USB0 VBUS Pulse Length Register */
-#define REG_USB0_HS_EOF1 0xFFCC107C /* USB0 High-Speed EOF 1 Register */
-#define REG_USB0_FS_EOF1 0xFFCC107D /* USB0 Full-Speed EOF 1 Register */
-#define REG_USB0_LS_EOF1 0xFFCC107E /* USB0 Low-Speed EOF 1 Register */
-#define REG_USB0_SOFT_RST 0xFFCC107F /* USB0 Software Reset Register */
-#define REG_USB0_MP0_TXFUNCADDR 0xFFCC1080 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP1_TXFUNCADDR 0xFFCC1088 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP2_TXFUNCADDR 0xFFCC1090 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP3_TXFUNCADDR 0xFFCC1098 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP4_TXFUNCADDR 0xFFCC10A0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP5_TXFUNCADDR 0xFFCC10A8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP6_TXFUNCADDR 0xFFCC10B0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP7_TXFUNCADDR 0xFFCC10B8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP8_TXFUNCADDR 0xFFCC10C0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP9_TXFUNCADDR 0xFFCC10C8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP10_TXFUNCADDR 0xFFCC10D0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP11_TXFUNCADDR 0xFFCC10D8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP0_TXHUBADDR 0xFFCC1082 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP1_TXHUBADDR 0xFFCC108A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP2_TXHUBADDR 0xFFCC1092 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP3_TXHUBADDR 0xFFCC109A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP4_TXHUBADDR 0xFFCC10A2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP5_TXHUBADDR 0xFFCC10AA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP6_TXHUBADDR 0xFFCC10B2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP7_TXHUBADDR 0xFFCC10BA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP8_TXHUBADDR 0xFFCC10C2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP9_TXHUBADDR 0xFFCC10CA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP10_TXHUBADDR 0xFFCC10D2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP11_TXHUBADDR 0xFFCC10DA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP0_TXHUBPORT 0xFFCC1083 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP1_TXHUBPORT 0xFFCC108B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP2_TXHUBPORT 0xFFCC1093 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP3_TXHUBPORT 0xFFCC109B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP4_TXHUBPORT 0xFFCC10A3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP5_TXHUBPORT 0xFFCC10AB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP6_TXHUBPORT 0xFFCC10B3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP7_TXHUBPORT 0xFFCC10BB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP8_TXHUBPORT 0xFFCC10C3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP9_TXHUBPORT 0xFFCC10CB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP10_TXHUBPORT 0xFFCC10D3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP11_TXHUBPORT 0xFFCC10DB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP0_RXFUNCADDR 0xFFCC1084 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP1_RXFUNCADDR 0xFFCC108C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP2_RXFUNCADDR 0xFFCC1094 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP3_RXFUNCADDR 0xFFCC109C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP4_RXFUNCADDR 0xFFCC10A4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP5_RXFUNCADDR 0xFFCC10AC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP6_RXFUNCADDR 0xFFCC10B4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP7_RXFUNCADDR 0xFFCC10BC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP8_RXFUNCADDR 0xFFCC10C4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP9_RXFUNCADDR 0xFFCC10CC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP10_RXFUNCADDR 0xFFCC10D4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP11_RXFUNCADDR 0xFFCC10DC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP0_RXHUBADDR 0xFFCC1086 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP1_RXHUBADDR 0xFFCC108E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP2_RXHUBADDR 0xFFCC1096 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP3_RXHUBADDR 0xFFCC109E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP4_RXHUBADDR 0xFFCC10A6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP5_RXHUBADDR 0xFFCC10AE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP6_RXHUBADDR 0xFFCC10B6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP7_RXHUBADDR 0xFFCC10BE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP8_RXHUBADDR 0xFFCC10C6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP9_RXHUBADDR 0xFFCC10CE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP10_RXHUBADDR 0xFFCC10D6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP11_RXHUBADDR 0xFFCC10DE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP0_RXHUBPORT 0xFFCC1087 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP1_RXHUBPORT 0xFFCC108F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP2_RXHUBPORT 0xFFCC1097 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP3_RXHUBPORT 0xFFCC109F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP4_RXHUBPORT 0xFFCC10A7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP5_RXHUBPORT 0xFFCC10AF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP6_RXHUBPORT 0xFFCC10B7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP7_RXHUBPORT 0xFFCC10BF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP8_RXHUBPORT 0xFFCC10C7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP9_RXHUBPORT 0xFFCC10CF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP10_RXHUBPORT 0xFFCC10D7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP11_RXHUBPORT 0xFFCC10DF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_EP0_TXMAXP 0xFFCC1100 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP1_TXMAXP 0xFFCC1110 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP2_TXMAXP 0xFFCC1120 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP3_TXMAXP 0xFFCC1130 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP4_TXMAXP 0xFFCC1140 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP5_TXMAXP 0xFFCC1150 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP6_TXMAXP 0xFFCC1160 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP7_TXMAXP 0xFFCC1170 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP8_TXMAXP 0xFFCC1180 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP9_TXMAXP 0xFFCC1190 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP10_TXMAXP 0xFFCC11A0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP11_TXMAXP 0xFFCC11B0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP0_CSR0_H 0xFFCC1102 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EP0_TXCSR_H 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP1_TXCSR_H 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP2_TXCSR_H 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP3_TXCSR_H 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP4_TXCSR_H 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP5_TXCSR_H 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP6_TXCSR_H 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP7_TXCSR_H 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP8_TXCSR_H 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP9_TXCSR_H 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP10_TXCSR_H 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP11_TXCSR_H 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0_CSR0_P 0xFFCC1102 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_TXCSR_P 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_TXCSR_P 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_TXCSR_P 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_TXCSR_P 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_TXCSR_P 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_TXCSR_P 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_TXCSR_P 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_TXCSR_P 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_TXCSR_P 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_TXCSR_P 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_TXCSR_P 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_TXCSR_P 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_RXMAXP 0xFFCC1104 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP1_RXMAXP 0xFFCC1114 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP2_RXMAXP 0xFFCC1124 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP3_RXMAXP 0xFFCC1134 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP4_RXMAXP 0xFFCC1144 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP5_RXMAXP 0xFFCC1154 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP6_RXMAXP 0xFFCC1164 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP7_RXMAXP 0xFFCC1174 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP8_RXMAXP 0xFFCC1184 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP9_RXMAXP 0xFFCC1194 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP10_RXMAXP 0xFFCC11A4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP11_RXMAXP 0xFFCC11B4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP0_RXCSR_H 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP1_RXCSR_H 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP2_RXCSR_H 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP3_RXCSR_H 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP4_RXCSR_H 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP5_RXCSR_H 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP6_RXCSR_H 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP7_RXCSR_H 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP8_RXCSR_H 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP9_RXCSR_H 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP10_RXCSR_H 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP11_RXCSR_H 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP0_RXCSR_P 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_RXCSR_P 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_RXCSR_P 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_RXCSR_P 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_RXCSR_P 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_RXCSR_P 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_RXCSR_P 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_RXCSR_P 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_RXCSR_P 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_RXCSR_P 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_RXCSR_P 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_RXCSR_P 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_CNT0 0xFFCC1108 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EP0_RXCNT 0xFFCC1108 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP1_RXCNT 0xFFCC1118 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP2_RXCNT 0xFFCC1128 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP3_RXCNT 0xFFCC1138 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP4_RXCNT 0xFFCC1148 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP5_RXCNT 0xFFCC1158 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP6_RXCNT 0xFFCC1168 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP7_RXCNT 0xFFCC1178 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP8_RXCNT 0xFFCC1188 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP9_RXCNT 0xFFCC1198 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP10_RXCNT 0xFFCC11A8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP11_RXCNT 0xFFCC11B8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP0_TYPE0 0xFFCC110A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EP0_TXTYPE 0xFFCC110A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP1_TXTYPE 0xFFCC111A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP2_TXTYPE 0xFFCC112A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP3_TXTYPE 0xFFCC113A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP4_TXTYPE 0xFFCC114A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP5_TXTYPE 0xFFCC115A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP6_TXTYPE 0xFFCC116A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP7_TXTYPE 0xFFCC117A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP8_TXTYPE 0xFFCC118A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP9_TXTYPE 0xFFCC119A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP10_TXTYPE 0xFFCC11AA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP11_TXTYPE 0xFFCC11BA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0_NAKLIMIT0 0xFFCC110B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EP0_TXINTERVAL 0xFFCC110B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP1_TXINTERVAL 0xFFCC111B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP2_TXINTERVAL 0xFFCC112B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP3_TXINTERVAL 0xFFCC113B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP4_TXINTERVAL 0xFFCC114B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP5_TXINTERVAL 0xFFCC115B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP6_TXINTERVAL 0xFFCC116B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP7_TXINTERVAL 0xFFCC117B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP8_TXINTERVAL 0xFFCC118B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP9_TXINTERVAL 0xFFCC119B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP10_TXINTERVAL 0xFFCC11AB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP11_TXINTERVAL 0xFFCC11BB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0_RXTYPE 0xFFCC110C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP1_RXTYPE 0xFFCC111C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP2_RXTYPE 0xFFCC112C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP3_RXTYPE 0xFFCC113C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP4_RXTYPE 0xFFCC114C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP5_RXTYPE 0xFFCC115C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP6_RXTYPE 0xFFCC116C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP7_RXTYPE 0xFFCC117C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP8_RXTYPE 0xFFCC118C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP9_RXTYPE 0xFFCC119C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP10_RXTYPE 0xFFCC11AC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP11_RXTYPE 0xFFCC11BC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP0_RXINTERVAL 0xFFCC110D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP1_RXINTERVAL 0xFFCC111D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP2_RXINTERVAL 0xFFCC112D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP3_RXINTERVAL 0xFFCC113D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP4_RXINTERVAL 0xFFCC114D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP5_RXINTERVAL 0xFFCC115D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP6_RXINTERVAL 0xFFCC116D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP7_RXINTERVAL 0xFFCC117D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP8_RXINTERVAL 0xFFCC118D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP9_RXINTERVAL 0xFFCC119D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP10_RXINTERVAL 0xFFCC11AD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP11_RXINTERVAL 0xFFCC11BD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0_CFGDATA0 0xFFCC110F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_DMA_IRQ 0xFFCC1200 /* USB0 DMA Interrupt Register */
-#define REG_USB0_DMA0_CTL 0xFFCC1204 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA1_CTL 0xFFCC1214 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA2_CTL 0xFFCC1224 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA3_CTL 0xFFCC1234 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA4_CTL 0xFFCC1244 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA5_CTL 0xFFCC1254 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA6_CTL 0xFFCC1264 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA7_CTL 0xFFCC1274 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA0_ADDR 0xFFCC1208 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA1_ADDR 0xFFCC1218 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA2_ADDR 0xFFCC1228 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA3_ADDR 0xFFCC1238 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA4_ADDR 0xFFCC1248 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA5_ADDR 0xFFCC1258 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA6_ADDR 0xFFCC1268 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA7_ADDR 0xFFCC1278 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA0_CNT 0xFFCC120C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA1_CNT 0xFFCC121C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA2_CNT 0xFFCC122C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA3_CNT 0xFFCC123C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA4_CNT 0xFFCC124C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA5_CNT 0xFFCC125C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA6_CNT 0xFFCC126C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA7_CNT 0xFFCC127C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_RQPKTCNT0 0xFFCC1300 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT1 0xFFCC1304 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT2 0xFFCC1308 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT3 0xFFCC130C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT4 0xFFCC1310 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT5 0xFFCC1314 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT6 0xFFCC1318 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT7 0xFFCC131C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT8 0xFFCC1320 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT9 0xFFCC1324 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT10 0xFFCC1328 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_CT_UCH 0xFFCC1344 /* USB0 Chirp Timeout Register */
-#define REG_USB0_CT_HHSRTN 0xFFCC1346 /* USB0 Host High Speed Return to Normal Register */
-#define REG_USB0_CT_HSBT 0xFFCC1348 /* USB0 High Speed Timeout Register */
-#define REG_USB0_LPM_ATTR 0xFFCC1360 /* USB0 LPM Attribute Register */
-#define REG_USB0_LPM_CTL 0xFFCC1362 /* USB0 LPM Control Register */
-#define REG_USB0_LPM_IEN 0xFFCC1363 /* USB0 LPM Interrupt Enable Register */
-#define REG_USB0_LPM_IRQ 0xFFCC1364 /* USB0 LPM Interrupt Status Register */
-#define REG_USB0_LPM_FADDR 0xFFCC1365 /* USB0 LPM Function Address Register */
-#define REG_USB0_VBUS_CTL 0xFFCC1380 /* USB0 VBUS Control Register */
-#define REG_USB0_BAT_CHG 0xFFCC1381 /* USB0 Battery Charging Control Register */
-#define REG_USB0_PHY_CTL 0xFFCC1394 /* USB0 PHY Control Register */
-#define REG_USB0_PLL_OSC 0xFFCC1398 /* USB0 PLL and Oscillator Control Register */
-
-/* =========================
- USB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_POWER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_POWER_ISOUPDT 7 /* ISO Update Enable */
-#define BITP_USB_POWER_SOFTCONN 6 /* Soft Connect/Disconnect Enable */
-#define BITP_USB_POWER_HSEN 5 /* High Speed Mode Enable */
-#define BITP_USB_POWER_HSMODE 4 /* High Speed Mode */
-#define BITP_USB_POWER_RESET 3 /* Reset USB */
-#define BITP_USB_POWER_RESUME 2 /* Resume Mode */
-#define BITP_USB_POWER_SUSPEND 1 /* Suspend Mode */
-#define BITP_USB_POWER_SUSEN 0 /* SUSPENDM Output Enable */
-
-#define BITM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISO Update Enable */
-#define ENUM_USB_POWER_NO_ISOUPDT (_ADI_MSK(0x00000000,uint8_t)) /* ISOUPDT: Disable ISO Update */
-#define ENUM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISOUPDT: Enable ISO Update */
-
-#define BITM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* Soft Connect/Disconnect Enable */
-#define ENUM_USB_POWER_NO_SOFTCONN (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCONN: Disable Soft Connect/Disconnect */
-#define ENUM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* SOFTCONN: Enable Soft Connect/Disconnect */
-
-#define BITM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* High Speed Mode Enable */
-#define ENUM_USB_POWER_HSDIS (_ADI_MSK(0x00000000,uint8_t)) /* HSEN: Disable Negotiation for HS Mode */
-#define ENUM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* HSEN: Enable Negotiation for HS Mode */
-
-#define BITM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* High Speed Mode */
-#define ENUM_USB_POWER_NO_HSMODE (_ADI_MSK(0x00000000,uint8_t)) /* HSMODE: Full Speed Mode (HS fail during reset) */
-#define ENUM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* HSMODE: High Speed Mode (HS success during reset) */
-
-#define BITM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* Reset USB */
-#define ENUM_USB_POWER_NO_RESET (_ADI_MSK(0x00000000,uint8_t)) /* RESET: No Reset */
-#define ENUM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* RESET: Reset USB */
-
-#define BITM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* Resume Mode */
-#define ENUM_USB_POWER_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Resume Signaling */
-#define ENUM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* RESUME: Enable Resume Signaling */
-
-#define BITM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* Suspend Mode */
-#define ENUM_USB_POWER_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Suspend Mode (Host) */
-#define ENUM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* SUSPEND: Enable Suspend Mode (Host) */
-
-#define BITM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPENDM Output Enable */
-#define ENUM_USB_POWER_SUSDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSEN: Disable SUSPENDM Output */
-#define ENUM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSEN: Enable SUSPENDM Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTX_EP11 11 /* End Point 11 Tx Interrupt */
-#define BITP_USB_INTRTX_EP10 10 /* End Point 10 Tx Interrupt */
-#define BITP_USB_INTRTX_EP9 9 /* End Point 9 Tx Interrupt */
-#define BITP_USB_INTRTX_EP8 8 /* End Point 8 Tx Interrupt */
-#define BITP_USB_INTRTX_EP7 7 /* End Point 7 Tx Interrupt */
-#define BITP_USB_INTRTX_EP6 6 /* End Point 6 Tx Interrupt */
-#define BITP_USB_INTRTX_EP5 5 /* End Point 5 Tx Interrupt */
-#define BITP_USB_INTRTX_EP4 4 /* End Point 4 Tx Interrupt */
-#define BITP_USB_INTRTX_EP3 3 /* End Point 3 Tx Interrupt */
-#define BITP_USB_INTRTX_EP2 2 /* End Point 2 Tx Interrupt */
-#define BITP_USB_INTRTX_EP1 1 /* End Point 1 Tx Interrupt */
-#define BITP_USB_INTRTX_EP0 0 /* End Point 0 Tx Interrupt */
-#define BITM_USB_INTRTX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt */
-#define BITM_USB_INTRTX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt */
-#define BITM_USB_INTRTX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt */
-#define BITM_USB_INTRTX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt */
-#define BITM_USB_INTRTX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt */
-#define BITM_USB_INTRTX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt */
-#define BITM_USB_INTRTX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt */
-#define BITM_USB_INTRTX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt */
-#define BITM_USB_INTRTX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt */
-#define BITM_USB_INTRTX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt */
-#define BITM_USB_INTRTX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt */
-#define BITM_USB_INTRTX_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRX_EP11 11 /* End Point 11 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP10 10 /* End Point 10 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP9 9 /* End Point 9 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP8 8 /* End Point 8 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP7 7 /* End Point 7 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP6 6 /* End Point 6 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP5 5 /* End Point 5 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP4 4 /* End Point 4 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP3 3 /* End Point 3 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP2 2 /* End Point 2 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP1 1 /* End Point 1 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTXE_EP11 11 /* End Point 11 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP10 10 /* End Point 10 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP9 9 /* End Point 9 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP8 8 /* End Point 8 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP7 7 /* End Point 7 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP6 6 /* End Point 6 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP5 5 /* End Point 5 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP4 4 /* End Point 4 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP3 3 /* End Point 3 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP2 2 /* End Point 2 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP1 1 /* End Point 1 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP0 0 /* End Point 0 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRXE_EP11 11 /* End Point 11 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP10 10 /* End Point 10 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP9 9 /* End Point 9 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP8 8 /* End Point 8 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP7 7 /* End Point 7 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP6 6 /* End Point 6 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP5 5 /* End Point 5 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP4 4 /* End Point 4 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP3 3 /* End Point 3 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP2 2 /* End Point 2 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP1 1 /* End Point 1 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IRQ_VBUSERR 7 /* VBUS Threshold Indicator */
-#define BITP_USB_IRQ_SESSREQ 6 /* Session Request Indicator */
-#define BITP_USB_IRQ_DISCON 5 /* Disconnect Indicator */
-#define BITP_USB_IRQ_CON 4 /* Connection Indicator */
-#define BITP_USB_IRQ_SOF 3 /* Start-of-frame Indicator */
-#define BITP_USB_IRQ_RSTBABBLE 2 /* Reset/Babble Indicator */
-#define BITP_USB_IRQ_RESUME 1 /* Resume Indicator */
-#define BITP_USB_IRQ_SUSPEND 0 /* Suspend Indicator */
-
-#define BITM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator */
-#define ENUM_USB_IRQ_NO_VBUSERR (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: No Interrupt */
-#define ENUM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Interrupt Pending */
-
-#define BITM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator */
-#define ENUM_USB_IRQ_NO_SESSREQ (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: No Interrupt */
-#define ENUM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Interrupt Pending */
-
-#define BITM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator */
-#define ENUM_USB_IRQ_NO_DISCON (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: No Interrupt */
-#define ENUM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Interrupt Pending */
-
-#define BITM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator */
-#define ENUM_USB_IRQ_NO_CON (_ADI_MSK(0x00000000,uint8_t)) /* CON: No Interrupt */
-#define ENUM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* CON: Interrupt Pending */
-
-#define BITM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator */
-#define ENUM_USB_IRQ_NO_SOF (_ADI_MSK(0x00000000,uint8_t)) /* SOF: No Interrupt */
-#define ENUM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Interrupt Pending */
-
-#define BITM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator */
-#define ENUM_USB_IRQ_NO_RSTBABBLE (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: No Interrupt */
-#define ENUM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Interrupt Pending */
-
-#define BITM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator */
-#define ENUM_USB_IRQ_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: No Interrupt */
-#define ENUM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Interrupt Pending */
-
-#define BITM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator */
-#define ENUM_USB_IRQ_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: No Interrupt */
-#define ENUM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IEN_VBUSERR 7 /* VBUS Threshold Indicator Interrupt Enable */
-#define BITP_USB_IEN_SESSREQ 6 /* Session Request Indicator Interrupt Enable */
-#define BITP_USB_IEN_DISCON 5 /* Disconnect Indicator Interrupt Enable */
-#define BITP_USB_IEN_CON 4 /* Connection Indicator Interrupt Enable */
-#define BITP_USB_IEN_SOF 3 /* Start-of-frame Indicator Interrupt Enable */
-#define BITP_USB_IEN_RSTBABBLE 2 /* Reset/Babble Indicator Interrupt Enable */
-#define BITP_USB_IEN_RESUME 1 /* Resume Indicator Interrupt Enable */
-#define BITP_USB_IEN_SUSPEND 0 /* Suspend Indicator Interrupt Enable */
-
-#define BITM_USB_IEN_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator Interrupt Enable */
-#define ENUM_USB_IEN_VBUSERRDIS (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: Disable Interrupt */
-#define ENUM_USB_IEN_VBUSERREN (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Enable Interrupt */
-
-#define BITM_USB_IEN_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SESSREQDIS (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: Disable Interrupt */
-#define ENUM_USB_IEN_SESSREQEN (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Enable Interrupt */
-
-#define BITM_USB_IEN_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator Interrupt Enable */
-#define ENUM_USB_IEN_DISCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: Disable Interrupt */
-#define ENUM_USB_IEN_DISCONEN (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Enable Interrupt */
-
-#define BITM_USB_IEN_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator Interrupt Enable */
-#define ENUM_USB_IEN_CONDIS (_ADI_MSK(0x00000000,uint8_t)) /* CON: Disable Interrupt */
-#define ENUM_USB_IEN_CONEN (_ADI_MSK(0x00000010,uint8_t)) /* CON: Enable Interrupt */
-
-#define BITM_USB_IEN_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SOFDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOF: Disable Interrupt */
-#define ENUM_USB_IEN_SOFEN (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Enable Interrupt */
-
-#define BITM_USB_IEN_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RSTBABBLEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: Disable Interrupt */
-#define ENUM_USB_IEN_RSTBABBLEEN (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Enable Interrupt */
-
-#define BITM_USB_IEN_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RESUMEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Interrupt */
-#define ENUM_USB_IEN_RESUMEEN (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Enable Interrupt */
-
-#define BITM_USB_IEN_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SUSPENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Interrupt */
-#define ENUM_USB_IEN_SUSPENDEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Enable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FRAME_VALUE 0 /* Frame Number Value */
-#define BITM_USB_FRAME_VALUE (_ADI_MSK(0x000007FF,uint16_t)) /* Frame Number Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INDEX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INDEX_EP 0 /* Endpoint Index */
-#define BITM_USB_INDEX_EP (_ADI_MSK(0x0000000F,uint8_t)) /* Endpoint Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TESTMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TESTMODE_FIFOACCESS 6 /* FIFO Access */
-#define BITP_USB_TESTMODE_TESTPACKET 3 /* Test_Packet Mode */
-#define BITP_USB_TESTMODE_TESTK 2 /* Test_K Mode */
-#define BITP_USB_TESTMODE_TESTJ 1 /* Test_J Mode */
-#define BITP_USB_TESTMODE_TESTSE0NAK 0 /* Test SE0 NAK */
-#define BITM_USB_TESTMODE_FIFOACCESS (_ADI_MSK(0x00000040,uint8_t)) /* FIFO Access */
-#define BITM_USB_TESTMODE_TESTPACKET (_ADI_MSK(0x00000008,uint8_t)) /* Test_Packet Mode */
-#define BITM_USB_TESTMODE_TESTK (_ADI_MSK(0x00000004,uint8_t)) /* Test_K Mode */
-#define BITM_USB_TESTMODE_TESTJ (_ADI_MSK(0x00000002,uint8_t)) /* Test_J Mode */
-#define BITM_USB_TESTMODE_TESTSE0NAK (_ADI_MSK(0x00000001,uint8_t)) /* Test SE0 NAK */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EPI_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EPI_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EPI_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EPI_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EPI_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EPI_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EPI_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EPI_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EPI_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EPI_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EPI_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EPI_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EPI_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EPI_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EPI_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EPI_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EPI_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EPI_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EPI_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EPI_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EPI_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EPI_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EPI_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EPI_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EPI_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0I_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0I_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0I_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0I_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0I_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0I_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0I_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0I_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0I_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0I_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0I_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0I_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0I_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0I_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0I_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0I_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0I_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0I_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0I_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0I_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0I_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0I_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0I_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0I_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0I_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0I_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0I_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0I_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0I_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0I_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0I_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EPI_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EPI_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EPI_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EPI_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EPI_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EPI_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EPI_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EPI_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EPI_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EPI_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EPI_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EPI_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EPI_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EPI_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EPI_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EPI_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EPI_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EPI_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0I_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EPI_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0I_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0I_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0I_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0I_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0I_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0I_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0I_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0I_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0I_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0I_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0I_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0I_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0I_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DEV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DEV_CTL_BDEVICE 7 /* A or B Devices Indicator */
-#define BITP_USB_DEV_CTL_FSDEV 6 /* Full or High-Speed Indicator */
-#define BITP_USB_DEV_CTL_LSDEV 5 /* Low-Speed Indicator */
-#define BITP_USB_DEV_CTL_VBUS 3 /* VBUS Level Indicator */
-#define BITP_USB_DEV_CTL_HOSTMODE 2 /* Host Mode Indicator */
-#define BITP_USB_DEV_CTL_HOSTREQ 1 /* Host Negotiation Request */
-#define BITP_USB_DEV_CTL_SESSION 0 /* Session Indicator */
-
-#define BITM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* A or B Devices Indicator */
-#define ENUM_USB_DEV_CTL_ADEVICE (_ADI_MSK(0x00000000,uint8_t)) /* BDEVICE: A Device Detected */
-#define ENUM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* BDEVICE: B Device Detected */
-
-#define BITM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* Full or High-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_FSDEV (_ADI_MSK(0x00000000,uint8_t)) /* FSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* FSDEV: Full or High Speed Detected */
-
-#define BITM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* Low-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_LSDEV (_ADI_MSK(0x00000000,uint8_t)) /* LSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* LSDEV: Low Speed Detected */
-
-#define BITM_USB_DEV_CTL_VBUS (_ADI_MSK(0x00000018,uint8_t)) /* VBUS Level Indicator */
-#define ENUM_USB_DEV_CTL_VBUS_BS (_ADI_MSK(0x00000000,uint8_t)) /* VBUS: Below SessionEnd */
-#define ENUM_USB_DEV_CTL_VBUS_ASBA (_ADI_MSK(0x00000008,uint8_t)) /* VBUS: Above SessionEnd, below AValid */
-#define ENUM_USB_DEV_CTL_VBUS_AABV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS: Above AValid, below VBUSValid */
-#define ENUM_USB_DEV_CTL_VBUS_AV (_ADI_MSK(0x00000018,uint8_t)) /* VBUS: Above VBUSValid */
-
-#define BITM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* Host Mode Indicator */
-#define ENUM_USB_DEV_CTL_NO_HOSTMODE (_ADI_MSK(0x00000000,uint8_t)) /* HOSTMODE: Peripheral Mode */
-#define ENUM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* HOSTMODE: Host Mode */
-
-#define BITM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* Host Negotiation Request */
-#define ENUM_USB_DEV_CTL_NO_HOSTREQ (_ADI_MSK(0x00000000,uint8_t)) /* HOSTREQ: No Request */
-#define ENUM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* HOSTREQ: Place Request */
-
-#define BITM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* Session Indicator */
-#define ENUM_USB_DEV_CTL_NO_SESSION (_ADI_MSK(0x00000000,uint8_t)) /* SESSION: Not Detected */
-#define ENUM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* SESSION: Detected Session */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_TXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_TXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_TXFIFOSZ_DPNDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_TXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_TXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_TXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_TXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_TXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_TXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_TXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_TXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_TXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_TXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_TXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_TXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_RXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_RXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_RXFIFOSZ_DPBDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_RXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_RXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_RXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_RXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_RXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_RXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_RXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_RXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_RXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_RXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_RXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_RXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOADDR_VALUE 0 /* Tx FIFO Start Address */
-#define BITM_USB_TXFIFOADDR_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Tx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOADDR_VALUE 0 /* Rx FIFO Start Address */
-#define BITM_USB_RXFIFOADDR_VALUE (_ADI_MSK(0x00000FFF,uint16_t)) /* Rx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPINFO_RXEP 4 /* Rx Endpoints */
-#define BITP_USB_EPINFO_TXEP 0 /* Tx Endpoints */
-#define BITM_USB_EPINFO_RXEP (_ADI_MSK(0x000000F0,uint8_t)) /* Rx Endpoints */
-#define BITM_USB_EPINFO_TXEP (_ADI_MSK(0x0000000F,uint8_t)) /* Tx Endpoints */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RAMINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RAMINFO_DMACHANS 4 /* DMA Channels */
-#define BITP_USB_RAMINFO_RAMBITS 0 /* RAM Address Bits */
-#define BITM_USB_RAMINFO_DMACHANS (_ADI_MSK(0x000000F0,uint8_t)) /* DMA Channels */
-#define BITM_USB_RAMINFO_RAMBITS (_ADI_MSK(0x0000000F,uint8_t)) /* RAM Address Bits */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LINKINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LINKINFO_WTCON 4 /* Wait for Connect/Disconnect */
-#define BITP_USB_LINKINFO_WTID 0 /* Wait from ID Pull-up */
-#define BITM_USB_LINKINFO_WTCON (_ADI_MSK(0x000000F0,uint8_t)) /* Wait for Connect/Disconnect */
-#define BITM_USB_LINKINFO_WTID (_ADI_MSK(0x0000000F,uint8_t)) /* Wait from ID Pull-up */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_SOFT_RST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_SOFT_RST_RSTX 1 /* Reset USB XCLK Domain */
-#define BITP_USB_SOFT_RST_RST 0 /* Reset USB CLK Domain */
-
-#define BITM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* Reset USB XCLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RSTX (_ADI_MSK(0x00000000,uint8_t)) /* RSTX: No Reset */
-#define ENUM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* RSTX: Reset USB XCLK Domain */
-
-#define BITM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* Reset USB CLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RST (_ADI_MSK(0x00000000,uint8_t)) /* RST: No Reset */
-#define ENUM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* RST: Reset USB CLK Domain */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXFUNCADDR_VALUE 0 /* Tx Function Address Value */
-#define BITM_USB_MP_TXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Tx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_TXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_TXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_TXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_TXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXFUNCADDR_VALUE 0 /* Rx Function Address Value */
-#define BITM_USB_MP_RXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Rx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_RXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_RXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_RXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_RXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EP_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EP_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EP_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EP_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EP_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EP_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EP_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EP_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EP_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EP_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EP_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EP_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EP_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EP_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EP_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EP_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EP_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EP_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EP_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EP_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EP_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EP_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EP_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EP_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EP_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EP_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EP_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EP_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EP_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EP_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EP_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EP_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EP_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EP_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EP_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EP_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EP_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EP_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EP_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EP_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EP_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EP_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EP_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EP_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EP_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EP_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EP_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EP_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_IRQ_D7 7 /* DMA 7 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D6 6 /* DMA 6 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D5 5 /* DMA 5 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D4 4 /* DMA 4 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D3 3 /* DMA 3 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D2 2 /* DMA 2 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D1 1 /* DMA 1 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D0 0 /* DMA 0 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D7 (_ADI_MSK(0x00000080,uint8_t)) /* DMA 7 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D6 (_ADI_MSK(0x00000040,uint8_t)) /* DMA 6 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D5 (_ADI_MSK(0x00000020,uint8_t)) /* DMA 5 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D4 (_ADI_MSK(0x00000010,uint8_t)) /* DMA 4 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D3 (_ADI_MSK(0x00000008,uint8_t)) /* DMA 3 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D2 (_ADI_MSK(0x00000004,uint8_t)) /* DMA 2 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D1 (_ADI_MSK(0x00000002,uint8_t)) /* DMA 1 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D0 (_ADI_MSK(0x00000001,uint8_t)) /* DMA 0 Interrupt Pending Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_CTL_BRSTM 9 /* Burst Mode */
-#define BITP_USB_DMA_CTL_ERR 8 /* Bus Error */
-#define BITP_USB_DMA_CTL_EP 4 /* DMA Channel Endpoint Assignment */
-#define BITP_USB_DMA_CTL_IE 3 /* DMA Interrupt Enable */
-#define BITP_USB_DMA_CTL_MODE 2 /* DMA Mode */
-#define BITP_USB_DMA_CTL_DIR 1 /* DMA Transfer Direction */
-#define BITP_USB_DMA_CTL_EN 0 /* DMA Enable */
-
-#define BITM_USB_DMA_CTL_BRSTM (_ADI_MSK(0x00000600,uint16_t)) /* Burst Mode */
-#define ENUM_USB_DMA_CTL_BRSTM00 (_ADI_MSK(0x00000000,uint16_t)) /* BRSTM: Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM01 (_ADI_MSK(0x00000200,uint16_t)) /* BRSTM: INCR4 or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM10 (_ADI_MSK(0x00000400,uint16_t)) /* BRSTM: INCR8, INCR4, or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM11 (_ADI_MSK(0x00000600,uint16_t)) /* BRSTM: INCR16, INCR8, INCR4, or Unspecified Length */
-
-#define BITM_USB_DMA_CTL_ERR (_ADI_MSK(0x00000100,uint16_t)) /* Bus Error */
-#define ENUM_USB_DMA_CTL_NO_DMAERR (_ADI_MSK(0x00000000,uint16_t)) /* ERR: No Status */
-#define ENUM_USB_DMA_CTL_DMAERR (_ADI_MSK(0x00000100,uint16_t)) /* ERR: Bus Error */
-
-#define BITM_USB_DMA_CTL_EP (_ADI_MSK(0x000000F0,uint16_t)) /* DMA Channel Endpoint Assignment */
-#define ENUM_USB_DMA_CTL_DMAEP0 (_ADI_MSK(0x00000000,uint16_t)) /* EP: Endpoint 0 */
-#define ENUM_USB_DMA_CTL_DMAEP1 (_ADI_MSK(0x00000010,uint16_t)) /* EP: Endpoint 1 */
-#define ENUM_USB_DMA_CTL_DMAEP10 (_ADI_MSK(0x000000A0,uint16_t)) /* EP: Endpoint 10 */
-#define ENUM_USB_DMA_CTL_DMAEP11 (_ADI_MSK(0x000000B0,uint16_t)) /* EP: Endpoint 11 */
-#define ENUM_USB_DMA_CTL_DMAEP12 (_ADI_MSK(0x000000C0,uint16_t)) /* EP: Endpoint 12 */
-#define ENUM_USB_DMA_CTL_DMAEP13 (_ADI_MSK(0x000000D0,uint16_t)) /* EP: Endpoint 13 */
-#define ENUM_USB_DMA_CTL_DMAEP14 (_ADI_MSK(0x000000E0,uint16_t)) /* EP: Endpoint 14 */
-#define ENUM_USB_DMA_CTL_DMAEP15 (_ADI_MSK(0x000000F0,uint16_t)) /* EP: Endpoint 15 */
-#define ENUM_USB_DMA_CTL_DMAEP2 (_ADI_MSK(0x00000020,uint16_t)) /* EP: Endpoint 2 */
-#define ENUM_USB_DMA_CTL_DMAEP3 (_ADI_MSK(0x00000030,uint16_t)) /* EP: Endpoint 3 */
-#define ENUM_USB_DMA_CTL_DMAEP4 (_ADI_MSK(0x00000040,uint16_t)) /* EP: Endpoint 4 */
-#define ENUM_USB_DMA_CTL_DMAEP5 (_ADI_MSK(0x00000050,uint16_t)) /* EP: Endpoint 5 */
-#define ENUM_USB_DMA_CTL_DMAEP6 (_ADI_MSK(0x00000060,uint16_t)) /* EP: Endpoint 6 */
-#define ENUM_USB_DMA_CTL_DMAEP7 (_ADI_MSK(0x00000070,uint16_t)) /* EP: Endpoint 7 */
-#define ENUM_USB_DMA_CTL_DMAEP8 (_ADI_MSK(0x00000080,uint16_t)) /* EP: Endpoint 8 */
-#define ENUM_USB_DMA_CTL_DMAEP9 (_ADI_MSK(0x00000090,uint16_t)) /* EP: Endpoint 9 */
-
-#define BITM_USB_DMA_CTL_IE (_ADI_MSK(0x00000008,uint16_t)) /* DMA Interrupt Enable */
-#define ENUM_USB_DMA_CTL_DMAINTDIS (_ADI_MSK(0x00000000,uint16_t)) /* IE: Disable Interrupt */
-#define ENUM_USB_DMA_CTL_DMAINTEN (_ADI_MSK(0x00000008,uint16_t)) /* IE: Enable Interrupt */
-
-#define BITM_USB_DMA_CTL_MODE (_ADI_MSK(0x00000004,uint16_t)) /* DMA Mode */
-#define ENUM_USB_DMA_CTL_DMAMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* MODE: DMA Mode 0 */
-#define ENUM_USB_DMA_CTL_DMAMODE1 (_ADI_MSK(0x00000004,uint16_t)) /* MODE: DMA Mode 1 */
-
-#define BITM_USB_DMA_CTL_DIR (_ADI_MSK(0x00000002,uint16_t)) /* DMA Transfer Direction */
-#define ENUM_USB_DMA_CTL_DMADIR_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: DMA Write (for Rx Endpoint) */
-#define ENUM_USB_DMA_CTL_DMADIR_TX (_ADI_MSK(0x00000002,uint16_t)) /* DIR: DMA Read (for Tx Endpoint) */
-
-#define BITM_USB_DMA_CTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* DMA Enable */
-#define ENUM_USB_DMA_CTL_DMADIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable DMA */
-#define ENUM_USB_DMA_CTL_DMAEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable DMA (Start Transfer) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_UCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_UCH_VALUE 0 /* Chirp Timeout Value */
-#define BITM_USB_CT_UCH_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Chirp Timeout Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HHSRTN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HHSRTN_VALUE 0 /* Host High Speed Return to Normal Value */
-#define BITM_USB_CT_HHSRTN_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Host High Speed Return to Normal Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HSBT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HSBT_VALUE 0 /* HS Timeout Adder */
-#define BITM_USB_CT_HSBT_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* HS Timeout Adder */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_ATTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_ATTR_EP 12 /* Endpoint */
-#define BITP_USB_LPM_ATTR_RMTWAK 8 /* Remote Wakeup Enable */
-#define BITP_USB_LPM_ATTR_HIRD 4 /* Host Initiated Resume Duration */
-#define BITP_USB_LPM_ATTR_LINKSTATE 0 /* Link State */
-#define BITM_USB_LPM_ATTR_EP (_ADI_MSK(0x0000F000,uint16_t)) /* Endpoint */
-
-#define BITM_USB_LPM_ATTR_RMTWAK (_ADI_MSK(0x00000100,uint16_t)) /* Remote Wakeup Enable */
-#define ENUM_USB_LPM_ATTR_RMTWAKDIS (_ADI_MSK(0x00000000,uint16_t)) /* RMTWAK: Disable Remote Wakeup */
-#define ENUM_USB_LPM_ATTR_RMTWAKEN (_ADI_MSK(0x00000100,uint16_t)) /* RMTWAK: Enable Remote Wakeup */
-#define BITM_USB_LPM_ATTR_HIRD (_ADI_MSK(0x000000F0,uint16_t)) /* Host Initiated Resume Duration */
-
-#define BITM_USB_LPM_ATTR_LINKSTATE (_ADI_MSK(0x0000000F,uint16_t)) /* Link State */
-#define ENUM_USB_LPM_ATTR_LNKSTATE_SSL1 (_ADI_MSK(0x00000001,uint16_t)) /* LINKSTATE: Sleep State (L1) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_CTL_NAK 4 /* LPM NAK Enable */
-#define BITP_USB_LPM_CTL_EN 2 /* LPM Enable */
-#define BITP_USB_LPM_CTL_RESUME 1 /* LPM Resume (Remote Wakeup) */
-#define BITP_USB_LPM_CTL_TX 0 /* LPM Transmit */
-#define BITM_USB_LPM_CTL_NAK (_ADI_MSK(0x00000010,uint8_t)) /* LPM NAK Enable */
-#define BITM_USB_LPM_CTL_EN (_ADI_MSK(0x0000000C,uint8_t)) /* LPM Enable */
-#define BITM_USB_LPM_CTL_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* LPM Resume (Remote Wakeup) */
-#define BITM_USB_LPM_CTL_TX (_ADI_MSK(0x00000001,uint8_t)) /* LPM Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IEN_LPMERR 5 /* LPM Error Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMRES 4 /* LPM Resume Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNC 3 /* LPM NYET Control Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMACK 2 /* LPM ACK Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNY 1 /* LPM NYET Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMST 0 /* LPM STALL Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMST (_ADI_MSK(0x00000001,uint8_t)) /* LPM STALL Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IRQ_LPMERR 5 /* LPM Error Interrupt */
-#define BITP_USB_LPM_IRQ_LPMRES 4 /* LPM Resume Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNC 3 /* LPM NYET Control Interrupt */
-#define BITP_USB_LPM_IRQ_LPMACK 2 /* LPM ACK Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNY 1 /* LPM NYET Interrupt */
-#define BITP_USB_LPM_IRQ_LPMST 0
-#define BITM_USB_LPM_IRQ_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt */
-#define BITM_USB_LPM_IRQ_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt */
-#define BITM_USB_LPM_IRQ_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt */
-#define BITM_USB_LPM_IRQ_LPMST (_ADI_MSK(0x00000001,uint8_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_LPM_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_VBUS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_VBUS_CTL_DRV 4 /* VBUS Drive */
-#define BITP_USB_VBUS_CTL_DRVINT 3 /* VBUS Drive Interrupt */
-#define BITP_USB_VBUS_CTL_DRVIEN 2 /* VBUS Drive Interrupt Enable */
-#define BITP_USB_VBUS_CTL_DRVOD 1 /* VBUS Drive Open Drain */
-#define BITP_USB_VBUS_CTL_INVDRV 0 /* VBUS Invert Drive */
-#define BITM_USB_VBUS_CTL_DRV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS Drive */
-#define BITM_USB_VBUS_CTL_DRVINT (_ADI_MSK(0x00000008,uint8_t)) /* VBUS Drive Interrupt */
-#define BITM_USB_VBUS_CTL_DRVIEN (_ADI_MSK(0x00000004,uint8_t)) /* VBUS Drive Interrupt Enable */
-#define BITM_USB_VBUS_CTL_DRVOD (_ADI_MSK(0x00000002,uint8_t)) /* VBUS Drive Open Drain */
-#define BITM_USB_VBUS_CTL_INVDRV (_ADI_MSK(0x00000001,uint8_t)) /* VBUS Invert Drive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_BAT_CHG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_BAT_CHG_DEDCHG 4 /* Dedicated Charging Port */
-#define BITP_USB_BAT_CHG_CHGDET 3 /* Charging Port Detected */
-#define BITP_USB_BAT_CHG_SNSCHGDET 2 /* Sense Charger Detection */
-#define BITP_USB_BAT_CHG_CONDET 1 /* Connected Detected */
-#define BITP_USB_BAT_CHG_SNSCONDET 0 /* Sense Connection Detection */
-#define BITM_USB_BAT_CHG_DEDCHG (_ADI_MSK(0x00000010,uint8_t)) /* Dedicated Charging Port */
-#define BITM_USB_BAT_CHG_CHGDET (_ADI_MSK(0x00000008,uint8_t)) /* Charging Port Detected */
-#define BITM_USB_BAT_CHG_SNSCHGDET (_ADI_MSK(0x00000004,uint8_t)) /* Sense Charger Detection */
-#define BITM_USB_BAT_CHG_CONDET (_ADI_MSK(0x00000002,uint8_t)) /* Connected Detected */
-#define BITM_USB_BAT_CHG_SNSCONDET (_ADI_MSK(0x00000001,uint8_t)) /* Sense Connection Detection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PHY_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PHY_CTL_EN 7 /* PHY Enable */
-#define BITP_USB_PHY_CTL_RESTORE 1 /* Restore from Hibernate */
-#define BITP_USB_PHY_CTL_HIBER 0 /* Hibernate */
-#define BITM_USB_PHY_CTL_EN (_ADI_MSK(0x00000080,uint8_t)) /* PHY Enable */
-#define BITM_USB_PHY_CTL_RESTORE (_ADI_MSK(0x00000002,uint8_t)) /* Restore from Hibernate */
-#define BITM_USB_PHY_CTL_HIBER (_ADI_MSK(0x00000001,uint8_t)) /* Hibernate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PLL_OSC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PLL_OSC_PLLMSEL 7 /* PLL Multiplier Select */
-#define BITP_USB_PLL_OSC_PLLM 1 /* PLL Multiplier Value */
-#define BITP_USB_PLL_OSC_DIVCLKIN 0 /* Divide CLKIN */
-#define BITM_USB_PLL_OSC_PLLMSEL (_ADI_MSK(0x00000080,uint16_t)) /* PLL Multiplier Select */
-#define BITM_USB_PLL_OSC_PLLM (_ADI_MSK(0x0000007E,uint16_t)) /* PLL Multiplier Value */
-#define BITM_USB_PLL_OSC_DIVCLKIN (_ADI_MSK(0x00000001,uint16_t)) /* Divide CLKIN */
-
-/* ==================================================
- Data Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1DM0
- ========================= */
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cacheability Protection Lookaside Buffer Status */
-#define DCPLB_FAULT_STATUS 0xFFE00008 /* Older definition or alias of above */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define DCPLB_ADDR0 0xFFE00100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR1 0xFFE00104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR2 0xFFE00108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR3 0xFFE0010C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR4 0xFFE00110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR5 0xFFE00114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR6 0xFFE00118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR7 0xFFE0011C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR8 0xFFE00120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR9 0xFFE00124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR10 0xFFE00128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR11 0xFFE0012C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR12 0xFFE00130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR13 0xFFE00134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR14 0xFFE00138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR15 0xFFE0013C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_DATA0 0xFFE00200 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA1 0xFFE00204 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA2 0xFFE00208 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA3 0xFFE0020C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA4 0xFFE00210 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA5 0xFFE00214 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA6 0xFFE00218 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA7 0xFFE0021C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA8 0xFFE00220 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA9 0xFFE00224 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA10 0xFFE00228 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA11 0xFFE0022C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA12 0xFFE00230 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA13 0xFFE00234 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA14 0xFFE00238 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA15 0xFFE0023C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-#define L1DBNKA_PELOC 0xFFE00408 /* Data Bank A Parity Error Location */
-#define L1DBNKB_PELOC 0xFFE0040C /* Data Bank B Parity Error Location */
-
-/* =========================
- L1DM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SRAM_BASE_ADDRESS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SRAM_BASE_ADDRESS_ADDR 22 /* SRAM Base Address */
-#define BITM_SRAM_BASE_ADDRESS_ADDR (_ADI_MSK(0xFFC00000,uint32_t)) /* SRAM Base Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMEM_CONTROL_PARCTL 15 /* L1 Scratch Parity Control */
-#define BITP_DMEM_CONTROL_PARSEL 14 /* L1 Scratch Parity Select */
-#define BITP_DMEM_CONTROL_PPREF1 13 /* DAG1 Port Preference */
-#define BITP_DMEM_CONTROL_PPREF0 12 /* DAG0 Port Preference */
-#define BITP_DMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_DMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_DMEM_CONTROL_DCBS 4 /* L1 Data Cache Bank Select */
-#define BITP_DMEM_CONTROL_CFG 2 /* Data Memory Configuration */
-#define BITP_DMEM_CONTROL_ENCPLB 1 /* Enable DCPLB */
-
-#define BITM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* L1 Scratch Parity Control */
-#define ENUM_DMEM_CONTROL_NO_PARCTL (_ADI_MSK(0x00000000,uint32_t)) /* PARCTL: No Parity Control (Normal Behavior for L1 RD / L1 WT) */
-#define ENUM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* PARCTL: Parity Control Enabled */
-#define BITM_DMEM_CONTROL_PARSEL (_ADI_MSK(0x00004000,uint32_t)) /* L1 Scratch Parity Select */
-
-#define BITM_DMEM_CONTROL_PPREF1 (_ADI_MSK(0x00002000,uint32_t)) /* DAG1 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF1A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF1B (_ADI_MSK(0x00002000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_PPREF0 (_ADI_MSK(0x00001000,uint32_t)) /* DAG0 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF0A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF0B (_ADI_MSK(0x00001000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_DMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_DMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_DMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_DMEM_CONTROL_DCBS (_ADI_MSK(0x00000010,uint32_t)) /* L1 Data Cache Bank Select */
-#define ENUM_DMEM_CONTROL_DCBS14 (_ADI_MSK(0x00000000,uint32_t)) /* DCBS: Address bit 14 used to select Bank A or B for cache access */
-#define ENUM_DMEM_CONTROL_DCBS23 (_ADI_MSK(0x00000010,uint32_t)) /* DCBS: Address bit 23 used to select Bank A or B for cache access */
-
-#define BITM_DMEM_CONTROL_CFG (_ADI_MSK(0x0000000C,uint32_t)) /* Data Memory Configuration */
-#define ENUM_DMEM_CONTROL_ASRAM_BSRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: A SRAM, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BSRAM (_ADI_MSK(0x00000008,uint32_t)) /* CFG: A Cache, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BCACHE (_ADI_MSK(0x0000000C,uint32_t)) /* CFG: A Cache, B Cache */
-
-#define BITM_DMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable DCPLB */
-#define ENUM_DMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs Disabled */
-#define ENUM_DMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs Enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_DCPLB_STATUS_DAG 18 /* Access DAG */
-#define BITP_DCPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_DCPLB_STATUS_RW 16 /* Access Read/Write */
-#define BITP_DCPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_DCPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_DCPLB_STATUS_DAG (_ADI_MSK(0x00040000,uint32_t)) /* Access DAG */
-#define BITM_DCPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_DCPLB_STATUS_RW (_ADI_MSK(0x00010000,uint32_t)) /* Access Read/Write */
-#define BITM_DCPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_DCPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_DCPLB_DATA_WT 14 /* CPLB Write Through */
-#define BITP_DCPLB_DATA_L2_CHBL 13 /* CPLB L2 Cacheable */
-#define BITP_DCPLB_DATA_L1_CHBL 12 /* CPLB L1 Cacheable */
-#define BITP_DCPLB_DATA_DIRTY 7 /* CPLB DIRTY */
-#define BITP_DCPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_DCPLB_DATA_SWRITE 4 /* CPLB Supervisor Write */
-#define BITP_DCPLB_DATA_UWRITE 3 /* CPLB User Write */
-#define BITP_DCPLB_DATA_UREAD 2 /* CPLB User Read */
-#define BITP_DCPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_DCPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_DCPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_DCPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_DCPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_DCPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_DCPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_DCPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_DCPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_DCPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_DCPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* CPLB Write Through */
-#define ENUM_DCPLB_DATA_WB (_ADI_MSK(0x00000000,uint32_t)) /* WT: Write-back */
-#define ENUM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* WT: Write-through */
-
-#define BITM_DCPLB_DATA_L2_CHBL (_ADI_MSK(0x00002000,uint32_t)) /* CPLB L2 Cacheable */
-#define ENUM_DCPLB_DATA_L2CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L2CHBL: Non-cacheable in L2 */
-#define ENUM_DCPLB_DATA_L2CHBL_EN (_ADI_MSK(0x00002000,uint32_t)) /* L2CHBL: Cacheable in L2 */
-
-#define BITM_DCPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* CPLB L1 Cacheable */
-#define ENUM_DCPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_DCPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* CPLB DIRTY */
-#define ENUM_DCPLB_DATA_CLEAN (_ADI_MSK(0x00000000,uint32_t)) /* DIRTY: Clean */
-#define ENUM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* DIRTY: Dirty */
-#define BITM_DCPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* CPLB Supervisor Write */
-#define ENUM_DCPLB_DATA_NO_SWRITE (_ADI_MSK(0x00000000,uint32_t)) /* SWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* SWRITE: Write Access Allowed (Supervisor Mode) */
-
-#define BITM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* CPLB User Write */
-#define ENUM_DCPLB_DATA_NO_UWRITE (_ADI_MSK(0x00000000,uint32_t)) /* UWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* UWRITE: Write Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* CPLB User Read */
-#define ENUM_DCPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_DCPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_DCPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_DCPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid Entry */
-#define ENUM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DTEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DTEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_DTEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_DTEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bit 11 */
-#define BITP_DTEST_COMMAND_IDSEL 24 /* Instruction/Data Access */
-#define BITP_DTEST_COMMAND_BNKSEL 23 /* Data Bank Access */
-#define BITP_DTEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_DTEST_COMMAND_SEL16K 14 /* Address bit 14 */
-#define BITP_DTEST_COMMAND_SET 5 /* Set Index */
-#define BITP_DTEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_DTEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_DTEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_DTEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_DTEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_DTEST_COMMAND_WAYSEL (_ADI_MSK(0x04000000,uint32_t)) /* Access Way/Instruction Address Bit 11 */
-#define BITM_DTEST_COMMAND_IDSEL (_ADI_MSK(0x01000000,uint32_t)) /* Instruction/Data Access */
-#define BITM_DTEST_COMMAND_BNKSEL (_ADI_MSK(0x00800000,uint32_t)) /* Data Bank Access */
-#define BITM_DTEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_DTEST_COMMAND_SEL16K (_ADI_MSK(0x00004000,uint32_t)) /* Address bit 14 */
-#define BITM_DTEST_COMMAND_SET (_ADI_MSK(0x000007E0,uint32_t)) /* Set Index */
-#define BITM_DTEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_DTEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_DTEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKA_PELOC_SCRATCH_MEM 12 /* Scratch Memory Parity Status */
-#define BITP_L1DBNKA_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_SCRATCH_MEM (_ADI_MSK(0x00001000,uint32_t)) /* Scratch Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKB_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKB_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Instruction Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1IM0
- ========================= */
-#define IMEM_CONTROL 0xFFE01004 /* Instruction memory control */
-#define ICPLB_STATUS 0xFFE01008 /* Cacheability Protection Lookaside Buffer Status */
-#define CODE_FAULT_STATUS 0xFFE01008 /* Older definition or alias of above */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Cacheability Protection Lookaside Buffer Fault Address */
-#define CODE_FAULT_ADDR 0xFFE0100C /* Older definition or alias of above */
-#define ICPLB_ADDR0 0xFFE01100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR1 0xFFE01104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR2 0xFFE01108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR3 0xFFE0110C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR4 0xFFE01110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR5 0xFFE01114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR6 0xFFE01118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR7 0xFFE0111C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR8 0xFFE01120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR9 0xFFE01124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR10 0xFFE01128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR11 0xFFE0112C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR12 0xFFE01130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR13 0xFFE01134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR14 0xFFE01138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR15 0xFFE0113C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_DATA0 0xFFE01200 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA1 0xFFE01204 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA2 0xFFE01208 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA3 0xFFE0120C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA4 0xFFE01210 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA5 0xFFE01214 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA6 0xFFE01218 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA7 0xFFE0121C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA8 0xFFE01220 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA9 0xFFE01224 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA10 0xFFE01228 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA11 0xFFE0122C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA12 0xFFE01230 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA13 0xFFE01234 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA14 0xFFE01238 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA15 0xFFE0123C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-#define L1IBNKA_PELOC 0xFFE01408 /* Instruction Bank A Parity Error Location */
-#define L1IBNKB_PELOC 0xFFE0140C /* Instruction Bank B Parity Error Location */
-#define L1IBNKC_PELOC 0xFFE01410 /* Instruction Bank C Parity Error Location */
-
-/* =========================
- L1IM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMEM_CONTROL_LRUPRIORST 13 /* LRU Priority Reset */
-#define BITP_IMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_IMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_IMEM_CONTROL_LOC 3 /* Cache Way Lock */
-#define BITP_IMEM_CONTROL_CFG 2 /* Configure L1 code memory as cache */
-#define BITP_IMEM_CONTROL_ENCPLB 1 /* Enable ICPLB */
-
-#define BITM_IMEM_CONTROL_LRUPRIORST (_ADI_MSK(0x00002000,uint32_t)) /* LRU Priority Reset */
-#define ENUM_IMEM_CONTROL_LRUPRIO_EN (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIORST: LRU Priority functionality is enabled */
-#define ENUM_IMEM_CONTROL_LRUPRIO_CLR (_ADI_MSK(0x00002000,uint32_t)) /* LRUPRIORST: All cached LRU priority bits are cleared */
-
-#define BITM_IMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_IMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_IMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_IMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_IMEM_CONTROL_LOC (_ADI_MSK(0x00000078,uint32_t)) /* Cache Way Lock */
-#define ENUM_IMEM_CONTROL_WAYLOCK_NONE (_ADI_MSK(0x00000000,uint32_t)) /* LOC: All Ways Not Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_0 (_ADI_MSK(0x00000008,uint32_t)) /* LOC: Way3, Way2, Way1 Not Locked, Way0 Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_ALL (_ADI_MSK(0x00000078,uint32_t)) /* LOC: All Ways Locked */
-
-#define BITM_IMEM_CONTROL_CFG (_ADI_MSK(0x00000004,uint32_t)) /* Configure L1 code memory as cache */
-#define ENUM_IMEM_CONTROL_CFG_SRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: L1 Instruction Memory Configured as SRAM */
-#define ENUM_IMEM_CONTROL_CFG_CACHE (_ADI_MSK(0x00000004,uint32_t)) /* CFG: L1 Instruction Memory Configures as Cache */
-
-#define BITM_IMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable ICPLB */
-#define ENUM_IMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs disabled */
-#define ENUM_IMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_ICPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_ICPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_ICPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_ICPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_ICPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_ICPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_ICPLB_DATA_L1_CHBL 12 /* L1 Cacheable */
-#define BITP_ICPLB_DATA_LRUPRIO 8 /* Least Recently Used Priority */
-#define BITP_ICPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_ICPLB_DATA_UREAD 2 /* Allow User Read */
-#define BITP_ICPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_ICPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_ICPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_ICPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_ICPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_ICPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_ICPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_ICPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_ICPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_ICPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_ICPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_ICPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* L1 Cacheable */
-#define ENUM_ICPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_ICPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_ICPLB_DATA_LRUPRIO (_ADI_MSK(0x00000100,uint32_t)) /* Least Recently Used Priority */
-#define ENUM_ICPLB_DATA_LRUPRIO_LO (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIO: Low Importance */
-#define ENUM_ICPLB_DATA_LRUPRIO_HI (_ADI_MSK(0x00000100,uint32_t)) /* LRUPRIO: High Importance */
-#define BITM_ICPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* Allow User Read */
-#define ENUM_ICPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_ICPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_ICPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_ICPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_ICPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid (disabled) CPLB Entry */
-#define ENUM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid (enabled) CPLB Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ITEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ITEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_ITEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_ITEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bits 11:10 */
-#define BITP_ITEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_ITEST_COMMAND_SET 5 /* Set Index */
-#define BITP_ITEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_ITEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_ITEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_ITEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_ITEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_ITEST_COMMAND_WAYSEL (_ADI_MSK(0x0C000000,uint32_t)) /* Access Way/Instruction Address Bits 11:10 */
-#define BITM_ITEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_ITEST_COMMAND_SET (_ADI_MSK(0x000003E0,uint32_t)) /* Set Index */
-#define BITM_ITEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_ITEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_ITEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKC_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKC_PELOC_TAGPAIR 4 /* Tag Parity Status */
-#define BITP_L1IBNKC_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKC_PELOC_TAGPAIR (_ADI_MSK(0x00000030,uint32_t)) /* Tag Parity Status */
-#define BITM_L1IBNKC_PELOC_MEMBLK (_ADI_MSK(0x0000000F,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Interrupt Controller Registers
- ================================================== */
-
-/* =========================
- ICU0
- ========================= */
-#define EVT0 0xFFE02000 /* Event Vector */
-#define EVT1 0xFFE02004 /* Event Vector */
-#define EVT2 0xFFE02008 /* Event Vector */
-#define EVT3 0xFFE0200C /* Event Vector */
-#define EVT4 0xFFE02010 /* Event Vector */
-#define EVT5 0xFFE02014 /* Event Vector */
-#define EVT6 0xFFE02018 /* Event Vector */
-#define EVT7 0xFFE0201C /* Event Vector */
-#define EVT8 0xFFE02020 /* Event Vector */
-#define EVT9 0xFFE02024 /* Event Vector */
-#define EVT10 0xFFE02028 /* Event Vector */
-#define EVT11 0xFFE0202C /* Event Vector */
-#define EVT12 0xFFE02030 /* Event Vector */
-#define EVT13 0xFFE02034 /* Event Vector */
-#define EVT14 0xFFE02038 /* Event Vector */
-#define EVT15 0xFFE0203C /* Event Vector */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupts Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-#define IPRIO 0xFFE02110 /* Interrupt Priority Register */
-#define CEC_SID 0xFFE02118 /* Core System Interrupt ID */
-
-/* =========================
- ICU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMASK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMASK_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IMASK_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IMASK_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IMASK_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IMASK_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IMASK_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IMASK_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IMASK_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IMASK_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IMASK_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IMASK_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IMASK_UNMASKABLE 0 /* Unmaskable interrupts */
-#define BITM_IMASK_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IMASK_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IMASK_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IMASK_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IMASK_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IMASK_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IMASK_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IMASK_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IMASK_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IMASK_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IMASK_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IMASK_UNMASKABLE (_ADI_MSK(0x0000001F,uint32_t)) /* Unmaskable interrupts */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPEND_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IPEND_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IPEND_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IPEND_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IPEND_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IPEND_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IPEND_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IPEND_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IPEND_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IPEND_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IPEND_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IPEND_IRPTEN 4 /* Global interrupt enable bit position */
-#define BITP_IPEND_EVX 3 /* Exception bit position */
-#define BITP_IPEND_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_IPEND_RST 1 /* Reset interrupt bit position */
-#define BITP_IPEND_EMU 0 /* Emulator interrupt bit position */
-#define BITM_IPEND_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IPEND_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IPEND_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IPEND_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IPEND_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IPEND_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IPEND_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IPEND_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IPEND_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IPEND_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IPEND_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IPEND_IRPTEN (_ADI_MSK(0x00000010,uint32_t)) /* Global interrupt enable bit position */
-#define BITM_IPEND_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_IPEND_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_IPEND_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_IPEND_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ILAT_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_ILAT_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_ILAT_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_ILAT_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_ILAT_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_ILAT_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_ILAT_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_ILAT_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_ILAT_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_ILAT_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_ILAT_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_ILAT_EVX 3 /* Exception bit position */
-#define BITP_ILAT_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_ILAT_RST 1 /* Reset interrupt bit position */
-#define BITP_ILAT_EMU 0 /* Emulator interrupt bit position */
-#define BITM_ILAT_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_ILAT_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_ILAT_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_ILAT_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_ILAT_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_ILAT_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_ILAT_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_ILAT_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_ILAT_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_ILAT_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_ILAT_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_ILAT_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_ILAT_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_ILAT_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_ILAT_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPRIO_IPRIO_MARK 0 /* Priority Watermark */
-#define BITM_IPRIO_IPRIO_MARK (_ADI_MSK(0x0000000F,uint32_t)) /* Priority Watermark */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CEC_SID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CEC_SID_SID 0 /* System Interrupt ID */
-#define BITM_CEC_SID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* System Interrupt ID */
-
-/* ==================================================
- Core Timer Registers
- ================================================== */
-
-/* =========================
- TMR0
- ========================= */
-#define TCNTL 0xFFE03000 /* Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Timer Period Register */
-#define TSCALE 0xFFE03008 /* Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Timer Count Register */
-
-/* =========================
- TMR
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TCNTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TCNTL_INT 3 /* Interrupt Status (sticky) */
-#define BITP_TCNTL_AUTORLD 2 /* Auto Reload Enable */
-#define BITP_TCNTL_EN 1 /* Timer Enable */
-#define BITP_TCNTL_PWR 0 /* Low Power Mode Select */
-#define BITM_TCNTL_INT (_ADI_MSK(0x00000008,uint32_t)) /* Interrupt Status (sticky) */
-#define BITM_TCNTL_AUTORLD (_ADI_MSK(0x00000004,uint32_t)) /* Auto Reload Enable */
-#define BITM_TCNTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Timer Enable */
-#define BITM_TCNTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Low Power Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TSCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TSCALE_SCALE 0 /* Timer Scaling Value */
-#define BITM_TSCALE_SCALE (_ADI_MSK(0x000000FF,uint32_t)) /* Timer Scaling Value */
-
-/* ==================================================
- Debug Unit Registers
- ================================================== */
-
-/* =========================
- DBG0
- ========================= */
-#define DSPID 0xFFE05000 /* DSP Identification Register */
-
-/* =========================
- DBG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DSPID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DSPID_COMPANY 24 /* Analog Devices, Inc. */
-#define BITP_DSPID_MAJOR 16 /* Major Architectural Change */
-#define BITP_DSPID_COREID 0 /* Core ID */
-#define BITM_DSPID_COMPANY (_ADI_MSK(0xFF000000,uint32_t)) /* Analog Devices, Inc. */
-
-#define BITM_DSPID_MAJOR (_ADI_MSK(0x00FF0000,uint32_t)) /* Major Architectural Change */
-#define ENUM_DSPID_BF533 (_ADI_MSK(0x00040000,uint32_t)) /* MAJOR: ADSP-BF533 Core Compatible */
-#define BITM_DSPID_COREID (_ADI_MSK(0x000000FF,uint32_t)) /* Core ID */
-
-/* ==================================================
- Trace Unit Registers
- ================================================== */
-
-/* =========================
- TB0
- ========================= */
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* =========================
- TB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFCTL_COMPRESS 3 /* Trace Buffer Compression */
-#define BITP_TBUFCTL_OVF 2 /* Trace Buffer Overflow */
-#define BITP_TBUFCTL_EN 1 /* Trace Buffer Enable */
-#define BITP_TBUFCTL_PWR 0 /* Trace Buffer Power */
-#define BITM_TBUFCTL_COMPRESS (_ADI_MSK(0x00000018,uint32_t)) /* Trace Buffer Compression */
-#define BITM_TBUFCTL_OVF (_ADI_MSK(0x00000004,uint32_t)) /* Trace Buffer Overflow */
-#define BITM_TBUFCTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Trace Buffer Enable */
-#define BITM_TBUFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Trace Buffer Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFSTAT_CNT 0 /* Trace Buffer Count */
-#define BITM_TBUFSTAT_CNT (_ADI_MSK(0x0000001F,uint32_t)) /* Trace Buffer Count */
-
-/* ==================================================
- Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- WP0
- ========================= */
-#define WPIACTL 0xFFE07000 /* Watchpoint Instruction Address Control Register 01 */
-#define WPIA0 0xFFE07040 /* Watchpoint Instruction Address Register */
-#define WPIA1 0xFFE07044 /* Watchpoint Instruction Address Register */
-#define WPIA2 0xFFE07048 /* Watchpoint Instruction Address Register */
-#define WPIA3 0xFFE0704C /* Watchpoint Instruction Address Register */
-#define WPIA4 0xFFE07050 /* Watchpoint Instruction Address Register */
-#define WPIA5 0xFFE07054 /* Watchpoint Instruction Address Register */
-#define WPIACNT0 0xFFE07080 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT1 0xFFE07084 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT2 0xFFE07088 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT3 0xFFE0708C /* Watchpoint Instruction Address Count Register */
-#define WPIACNT4 0xFFE07090 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT5 0xFFE07094 /* Watchpoint Instruction Address Count Register */
-#define WPDACTL 0xFFE07100 /* Watchpoint Data Address Control Register */
-#define WPDA0 0xFFE07140 /* Watchpoint Data Address Register */
-#define WPDA1 0xFFE07144 /* Watchpoint Data Address Register */
-#define WPDACNT0 0xFFE07180 /* Watchpoint Data Address Count Value Register */
-#define WPDACNT1 0xFFE07184 /* Watchpoint Data Address Count Value Register */
-#define WPSTAT 0xFFE07200 /* Watchpoint Status Register */
-
-/* =========================
- WP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACTL_WPAND 25 /* And Triggers */
-#define BITP_WPIACTL_ACT5 24 /* Action field for WPIA5 */
-#define BITP_WPIACTL_ACT4 23 /* Action field for WPIA4 */
-#define BITP_WPIACTL_ENCNT5 22 /* Enable Counter for WPIA5 */
-#define BITP_WPIACTL_ENCNT4 21 /* Enable Counter for WPIA4 */
-#define BITP_WPIACTL_ENIA5 20 /* Enable WPIA5 */
-#define BITP_WPIACTL_ENIA4 19 /* Enable WPIA4 */
-#define BITP_WPIACTL_INVIR45 18 /* Invert Instruction Range 45 */
-#define BITP_WPIACTL_ENIR45 17 /* Enable Instruction Range 45 */
-#define BITP_WPIACTL_ACT3 16 /* Action field for WPIA3 */
-#define BITP_WPIACTL_ACT2 15 /* Action field for WPIA2 */
-#define BITP_WPIACTL_ENCNT3 14 /* Enable Counter for WPIA3 */
-#define BITP_WPIACTL_ENCNT2 13 /* Enable Counter for WPIA2 */
-#define BITP_WPIACTL_ENIA3 12 /* Enable WPIA3 */
-#define BITP_WPIACTL_ENIA2 11 /* Enable WPIA2 */
-#define BITP_WPIACTL_INVIR23 10 /* Invert Instruction Range 23 */
-#define BITP_WPIACTL_ENIR23 9 /* Enable Instruction Range 23 */
-#define BITP_WPIACTL_ACT1 8 /* Action field for WPIA1 */
-#define BITP_WPIACTL_ACT0 7 /* Action field for WPIA0 */
-#define BITP_WPIACTL_ENCNT1 6 /* Enable Counter for WPIA1 */
-#define BITP_WPIACTL_ENCNT0 5 /* Enable Counter for WPIA0 */
-#define BITP_WPIACTL_ENIA1 4 /* Enable WPIA1 */
-#define BITP_WPIACTL_ENIA0 3 /* Enable WPIA0 */
-#define BITP_WPIACTL_INVIR01 2 /* Invert Instruction Range 01 */
-#define BITP_WPIACTL_ENIR01 1 /* Enable Instruction Range 01 */
-#define BITP_WPIACTL_PWR 0 /* Power */
-#define BITM_WPIACTL_WPAND (_ADI_MSK(0x02000000,uint32_t)) /* And Triggers */
-#define BITM_WPIACTL_ACT5 (_ADI_MSK(0x01000000,uint32_t)) /* Action field for WPIA5 */
-#define BITM_WPIACTL_ACT4 (_ADI_MSK(0x00800000,uint32_t)) /* Action field for WPIA4 */
-#define BITM_WPIACTL_ENCNT5 (_ADI_MSK(0x00400000,uint32_t)) /* Enable Counter for WPIA5 */
-#define BITM_WPIACTL_ENCNT4 (_ADI_MSK(0x00200000,uint32_t)) /* Enable Counter for WPIA4 */
-#define BITM_WPIACTL_ENIA5 (_ADI_MSK(0x00100000,uint32_t)) /* Enable WPIA5 */
-#define BITM_WPIACTL_ENIA4 (_ADI_MSK(0x00080000,uint32_t)) /* Enable WPIA4 */
-#define BITM_WPIACTL_INVIR45 (_ADI_MSK(0x00040000,uint32_t)) /* Invert Instruction Range 45 */
-#define BITM_WPIACTL_ENIR45 (_ADI_MSK(0x00020000,uint32_t)) /* Enable Instruction Range 45 */
-#define BITM_WPIACTL_ACT3 (_ADI_MSK(0x00010000,uint32_t)) /* Action field for WPIA3 */
-#define BITM_WPIACTL_ACT2 (_ADI_MSK(0x00008000,uint32_t)) /* Action field for WPIA2 */
-#define BITM_WPIACTL_ENCNT3 (_ADI_MSK(0x00004000,uint32_t)) /* Enable Counter for WPIA3 */
-#define BITM_WPIACTL_ENCNT2 (_ADI_MSK(0x00002000,uint32_t)) /* Enable Counter for WPIA2 */
-#define BITM_WPIACTL_ENIA3 (_ADI_MSK(0x00001000,uint32_t)) /* Enable WPIA3 */
-#define BITM_WPIACTL_ENIA2 (_ADI_MSK(0x00000800,uint32_t)) /* Enable WPIA2 */
-#define BITM_WPIACTL_INVIR23 (_ADI_MSK(0x00000400,uint32_t)) /* Invert Instruction Range 23 */
-#define BITM_WPIACTL_ENIR23 (_ADI_MSK(0x00000200,uint32_t)) /* Enable Instruction Range 23 */
-#define BITM_WPIACTL_ACT1 (_ADI_MSK(0x00000100,uint32_t)) /* Action field for WPIA1 */
-#define BITM_WPIACTL_ACT0 (_ADI_MSK(0x00000080,uint32_t)) /* Action field for WPIA0 */
-#define BITM_WPIACTL_ENCNT1 (_ADI_MSK(0x00000040,uint32_t)) /* Enable Counter for WPIA1 */
-#define BITM_WPIACTL_ENCNT0 (_ADI_MSK(0x00000020,uint32_t)) /* Enable Counter for WPIA0 */
-#define BITM_WPIACTL_ENIA1 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPIA1 */
-#define BITM_WPIACTL_ENIA0 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPIA0 */
-#define BITM_WPIACTL_INVIR01 (_ADI_MSK(0x00000004,uint32_t)) /* Invert Instruction Range 01 */
-#define BITM_WPIACTL_ENIR01 (_ADI_MSK(0x00000002,uint32_t)) /* Enable Instruction Range 01 */
-#define BITM_WPIACTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACNT_CNT 0 /* Count Value */
-#define BITM_WPIACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACTL_ACC1 12 /* Access type for WPDA1 */
-#define BITP_WPDACTL_SRC1 10 /* DAG Source for WPDA1 */
-#define BITP_WPDACTL_ACC0 8 /* Access type for WPDA0 */
-#define BITP_WPDACTL_SRC0 6 /* DAG Source for WPDA0 */
-#define BITP_WPDACTL_ENCNT1 5 /* Enable WPDA1 Counter */
-#define BITP_WPDACTL_ENCNT0 4 /* Enable WPDA0 Counter */
-#define BITP_WPDACTL_ENDA1 3 /* Enable WPDA1 */
-#define BITP_WPDACTL_ENDA0 2 /* Enable WPDA0 */
-#define BITP_WPDACTL_INVR 1 /* Invert Range Comparision */
-#define BITP_WPDACTL_ENR 0 /* Enable Range Comparison */
-#define BITM_WPDACTL_ACC1 (_ADI_MSK(0x00003000,uint32_t)) /* Access type for WPDA1 */
-#define BITM_WPDACTL_SRC1 (_ADI_MSK(0x00000C00,uint32_t)) /* DAG Source for WPDA1 */
-#define BITM_WPDACTL_ACC0 (_ADI_MSK(0x00000300,uint32_t)) /* Access type for WPDA0 */
-#define BITM_WPDACTL_SRC0 (_ADI_MSK(0x000000C0,uint32_t)) /* DAG Source for WPDA0 */
-#define BITM_WPDACTL_ENCNT1 (_ADI_MSK(0x00000020,uint32_t)) /* Enable WPDA1 Counter */
-#define BITM_WPDACTL_ENCNT0 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPDA0 Counter */
-#define BITM_WPDACTL_ENDA1 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPDA1 */
-#define BITM_WPDACTL_ENDA0 (_ADI_MSK(0x00000004,uint32_t)) /* Enable WPDA0 */
-#define BITM_WPDACTL_INVR (_ADI_MSK(0x00000002,uint32_t)) /* Invert Range Comparision */
-#define BITM_WPDACTL_ENR (_ADI_MSK(0x00000001,uint32_t)) /* Enable Range Comparison */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACNT_CNT 0 /* Count Value */
-#define BITM_WPDACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPSTAT_DA1 7 /* WPDA1 match */
-#define BITP_WPSTAT_DA0 6 /* WPDA0 or WPDA0:1 range match */
-#define BITP_WPSTAT_IA5 5 /* WPIA5 match */
-#define BITP_WPSTAT_IA4 4 /* WPIA4 or WPIA4:5 range match */
-#define BITP_WPSTAT_IA3 3 /* WPIA3 match */
-#define BITP_WPSTAT_IA2 2 /* WPIA2 or WPIA2:3 range match */
-#define BITP_WPSTAT_IA1 1 /* WPIA1 match */
-#define BITP_WPSTAT_IA0 0 /* WPIA0 or WPIA0:1 range match */
-#define BITM_WPSTAT_DA1 (_ADI_MSK(0x00000080,uint32_t)) /* WPDA1 match */
-#define BITM_WPSTAT_DA0 (_ADI_MSK(0x00000040,uint32_t)) /* WPDA0 or WPDA0:1 range match */
-#define BITM_WPSTAT_IA5 (_ADI_MSK(0x00000020,uint32_t)) /* WPIA5 match */
-#define BITM_WPSTAT_IA4 (_ADI_MSK(0x00000010,uint32_t)) /* WPIA4 or WPIA4:5 range match */
-#define BITM_WPSTAT_IA3 (_ADI_MSK(0x00000008,uint32_t)) /* WPIA3 match */
-#define BITM_WPSTAT_IA2 (_ADI_MSK(0x00000004,uint32_t)) /* WPIA2 or WPIA2:3 range match */
-#define BITM_WPSTAT_IA1 (_ADI_MSK(0x00000002,uint32_t)) /* WPIA1 match */
-#define BITM_WPSTAT_IA0 (_ADI_MSK(0x00000001,uint32_t)) /* WPIA0 or WPIA0:1 range match */
-
-/* ==================================================
- Performance Monitor Registers
- ================================================== */
-
-/* =========================
- PF0
- ========================= */
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter 1 */
-
-/* =========================
- PF
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PFCTL_CNT1 25 /* Count Cycles or Edges 1 */
-#define BITP_PFCTL_CNT0 24 /* Count Cycles or Edges 0 */
-#define BITP_PFCTL_MON1 16 /* Monitor 1 Events */
-#define BITP_PFCTL_ENA1 14 /* Enable Monitor 1 */
-#define BITP_PFCTL_EVENT1 13 /* Emulator or Exception Event 1 */
-#define BITP_PFCTL_MON0 5 /* Monitor 0 Events */
-#define BITP_PFCTL_ENA0 3 /* Enable Monitor 0 */
-#define BITP_PFCTL_EVENT0 2 /* Emulator or Exception Event 0 */
-#define BITP_PFCTL_PWR 0 /* Power */
-#define BITM_PFCTL_CNT1 (_ADI_MSK(0x02000000,uint32_t)) /* Count Cycles or Edges 1 */
-#define BITM_PFCTL_CNT0 (_ADI_MSK(0x01000000,uint32_t)) /* Count Cycles or Edges 0 */
-#define BITM_PFCTL_MON1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Monitor 1 Events */
-#define BITM_PFCTL_ENA1 (_ADI_MSK(0x0000C000,uint32_t)) /* Enable Monitor 1 */
-#define BITM_PFCTL_EVENT1 (_ADI_MSK(0x00002000,uint32_t)) /* Emulator or Exception Event 1 */
-#define BITM_PFCTL_MON0 (_ADI_MSK(0x00001FE0,uint32_t)) /* Monitor 0 Events */
-#define BITM_PFCTL_ENA0 (_ADI_MSK(0x00000018,uint32_t)) /* Enable Monitor 0 */
-#define BITM_PFCTL_EVENT0 (_ADI_MSK(0x00000004,uint32_t)) /* Emulator or Exception Event 0 */
-#define BITM_PFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ==================================
- DMA Alias Definitions
- ================================== */
-#define SPORT0_A_DMA_DSCPTR_NXT (REG_DMA0_DSCPTR_NXT)
-#define SPORT0_A_DMA_ADDRSTART (REG_DMA0_ADDRSTART)
-#define SPORT0_A_DMA_CFG (REG_DMA0_CFG)
-#define SPORT0_A_DMA_XCNT (REG_DMA0_XCNT)
-#define SPORT0_A_DMA_XMOD (REG_DMA0_XMOD)
-#define SPORT0_A_DMA_YCNT (REG_DMA0_YCNT)
-#define SPORT0_A_DMA_YMOD (REG_DMA0_YMOD)
-#define SPORT0_A_DMA_DSCPTR_CUR (REG_DMA0_DSCPTR_CUR)
-#define SPORT0_A_DMA_DSCPTR_PRV (REG_DMA0_DSCPTR_PRV)
-#define SPORT0_A_DMA_ADDR_CUR (REG_DMA0_ADDR_CUR)
-#define SPORT0_A_DMA_STAT (REG_DMA0_STAT)
-#define SPORT0_A_DMA_XCNT_CUR (REG_DMA0_XCNT_CUR)
-#define SPORT0_A_DMA_YCNT_CUR (REG_DMA0_YCNT_CUR)
-#define SPORT0_A_DMA_BWLCNT (REG_DMA0_BWLCNT)
-#define SPORT0_A_DMA_BWLCNT_CUR (REG_DMA0_BWLCNT_CUR)
-#define SPORT0_A_DMA_BWMCNT (REG_DMA0_BWMCNT)
-#define SPORT0_A_DMA_BWMCNT_CUR (REG_DMA0_BWMCNT_CUR)
-#define SPORT0_B_DMA_DSCPTR_NXT (REG_DMA1_DSCPTR_NXT)
-#define SPORT0_B_DMA_ADDRSTART (REG_DMA1_ADDRSTART)
-#define SPORT0_B_DMA_CFG (REG_DMA1_CFG)
-#define SPORT0_B_DMA_XCNT (REG_DMA1_XCNT)
-#define SPORT0_B_DMA_XMOD (REG_DMA1_XMOD)
-#define SPORT0_B_DMA_YCNT (REG_DMA1_YCNT)
-#define SPORT0_B_DMA_YMOD (REG_DMA1_YMOD)
-#define SPORT0_B_DMA_DSCPTR_CUR (REG_DMA1_DSCPTR_CUR)
-#define SPORT0_B_DMA_DSCPTR_PRV (REG_DMA1_DSCPTR_PRV)
-#define SPORT0_B_DMA_ADDR_CUR (REG_DMA1_ADDR_CUR)
-#define SPORT0_B_DMA_STAT (REG_DMA1_STAT)
-#define SPORT0_B_DMA_XCNT_CUR (REG_DMA1_XCNT_CUR)
-#define SPORT0_B_DMA_YCNT_CUR (REG_DMA1_YCNT_CUR)
-#define SPORT0_B_DMA_BWLCNT (REG_DMA1_BWLCNT)
-#define SPORT0_B_DMA_BWLCNT_CUR (REG_DMA1_BWLCNT_CUR)
-#define SPORT0_B_DMA_BWMCNT (REG_DMA1_BWMCNT)
-#define SPORT0_B_DMA_BWMCNT_CUR (REG_DMA1_BWMCNT_CUR)
-#define SPORT1_A_DMA_DSCPTR_NXT (REG_DMA2_DSCPTR_NXT)
-#define SPORT1_A_DMA_ADDRSTART (REG_DMA2_ADDRSTART)
-#define SPORT1_A_DMA_CFG (REG_DMA2_CFG)
-#define SPORT1_A_DMA_XCNT (REG_DMA2_XCNT)
-#define SPORT1_A_DMA_XMOD (REG_DMA2_XMOD)
-#define SPORT1_A_DMA_YCNT (REG_DMA2_YCNT)
-#define SPORT1_A_DMA_YMOD (REG_DMA2_YMOD)
-#define SPORT1_A_DMA_DSCPTR_CUR (REG_DMA2_DSCPTR_CUR)
-#define SPORT1_A_DMA_DSCPTR_PRV (REG_DMA2_DSCPTR_PRV)
-#define SPORT1_A_DMA_ADDR_CUR (REG_DMA2_ADDR_CUR)
-#define SPORT1_A_DMA_STAT (REG_DMA2_STAT)
-#define SPORT1_A_DMA_XCNT_CUR (REG_DMA2_XCNT_CUR)
-#define SPORT1_A_DMA_YCNT_CUR (REG_DMA2_YCNT_CUR)
-#define SPORT1_A_DMA_BWLCNT (REG_DMA2_BWLCNT)
-#define SPORT1_A_DMA_BWLCNT_CUR (REG_DMA2_BWLCNT_CUR)
-#define SPORT1_A_DMA_BWMCNT (REG_DMA2_BWMCNT)
-#define SPORT1_A_DMA_BWMCNT_CUR (REG_DMA2_BWMCNT_CUR)
-#define SPORT1_B_DMA_DSCPTR_NXT (REG_DMA3_DSCPTR_NXT)
-#define SPORT1_B_DMA_ADDRSTART (REG_DMA3_ADDRSTART)
-#define SPORT1_B_DMA_CFG (REG_DMA3_CFG)
-#define SPORT1_B_DMA_XCNT (REG_DMA3_XCNT)
-#define SPORT1_B_DMA_XMOD (REG_DMA3_XMOD)
-#define SPORT1_B_DMA_YCNT (REG_DMA3_YCNT)
-#define SPORT1_B_DMA_YMOD (REG_DMA3_YMOD)
-#define SPORT1_B_DMA_DSCPTR_CUR (REG_DMA3_DSCPTR_CUR)
-#define SPORT1_B_DMA_DSCPTR_PRV (REG_DMA3_DSCPTR_PRV)
-#define SPORT1_B_DMA_ADDR_CUR (REG_DMA3_ADDR_CUR)
-#define SPORT1_B_DMA_STAT (REG_DMA3_STAT)
-#define SPORT1_B_DMA_XCNT_CUR (REG_DMA3_XCNT_CUR)
-#define SPORT1_B_DMA_YCNT_CUR (REG_DMA3_YCNT_CUR)
-#define SPORT1_B_DMA_BWLCNT (REG_DMA3_BWLCNT)
-#define SPORT1_B_DMA_BWLCNT_CUR (REG_DMA3_BWLCNT_CUR)
-#define SPORT1_B_DMA_BWMCNT (REG_DMA3_BWMCNT)
-#define SPORT1_B_DMA_BWMCNT_CUR (REG_DMA3_BWMCNT_CUR)
-#define SPORT2_A_DMA_DSCPTR_NXT (REG_DMA4_DSCPTR_NXT)
-#define SPORT2_A_DMA_ADDRSTART (REG_DMA4_ADDRSTART)
-#define SPORT2_A_DMA_CFG (REG_DMA4_CFG)
-#define SPORT2_A_DMA_XCNT (REG_DMA4_XCNT)
-#define SPORT2_A_DMA_XMOD (REG_DMA4_XMOD)
-#define SPORT2_A_DMA_YCNT (REG_DMA4_YCNT)
-#define SPORT2_A_DMA_YMOD (REG_DMA4_YMOD)
-#define SPORT2_A_DMA_DSCPTR_CUR (REG_DMA4_DSCPTR_CUR)
-#define SPORT2_A_DMA_DSCPTR_PRV (REG_DMA4_DSCPTR_PRV)
-#define SPORT2_A_DMA_ADDR_CUR (REG_DMA4_ADDR_CUR)
-#define SPORT2_A_DMA_STAT (REG_DMA4_STAT)
-#define SPORT2_A_DMA_XCNT_CUR (REG_DMA4_XCNT_CUR)
-#define SPORT2_A_DMA_YCNT_CUR (REG_DMA4_YCNT_CUR)
-#define SPORT2_A_DMA_BWLCNT (REG_DMA4_BWLCNT)
-#define SPORT2_A_DMA_BWLCNT_CUR (REG_DMA4_BWLCNT_CUR)
-#define SPORT2_A_DMA_BWMCNT (REG_DMA4_BWMCNT)
-#define SPORT2_A_DMA_BWMCNT_CUR (REG_DMA4_BWMCNT_CUR)
-#define SPORT2_B_DMA_DSCPTR_NXT (REG_DMA5_DSCPTR_NXT)
-#define SPORT2_B_DMA_ADDRSTART (REG_DMA5_ADDRSTART)
-#define SPORT2_B_DMA_CFG (REG_DMA5_CFG)
-#define SPORT2_B_DMA_XCNT (REG_DMA5_XCNT)
-#define SPORT2_B_DMA_XMOD (REG_DMA5_XMOD)
-#define SPORT2_B_DMA_YCNT (REG_DMA5_YCNT)
-#define SPORT2_B_DMA_YMOD (REG_DMA5_YMOD)
-#define SPORT2_B_DMA_DSCPTR_CUR (REG_DMA5_DSCPTR_CUR)
-#define SPORT2_B_DMA_DSCPTR_PRV (REG_DMA5_DSCPTR_PRV)
-#define SPORT2_B_DMA_ADDR_CUR (REG_DMA5_ADDR_CUR)
-#define SPORT2_B_DMA_STAT (REG_DMA5_STAT)
-#define SPORT2_B_DMA_XCNT_CUR (REG_DMA5_XCNT_CUR)
-#define SPORT2_B_DMA_YCNT_CUR (REG_DMA5_YCNT_CUR)
-#define SPORT2_B_DMA_BWLCNT (REG_DMA5_BWLCNT)
-#define SPORT2_B_DMA_BWLCNT_CUR (REG_DMA5_BWLCNT_CUR)
-#define SPORT2_B_DMA_BWMCNT (REG_DMA5_BWMCNT)
-#define SPORT2_B_DMA_BWMCNT_CUR (REG_DMA5_BWMCNT_CUR)
-#define SPI0_TXDMA_DSCPTR_NXT (REG_DMA6_DSCPTR_NXT)
-#define SPI0_TXDMA_ADDRSTART (REG_DMA6_ADDRSTART)
-#define SPI0_TXDMA_CFG (REG_DMA6_CFG)
-#define SPI0_TXDMA_XCNT (REG_DMA6_XCNT)
-#define SPI0_TXDMA_XMOD (REG_DMA6_XMOD)
-#define SPI0_TXDMA_YCNT (REG_DMA6_YCNT)
-#define SPI0_TXDMA_YMOD (REG_DMA6_YMOD)
-#define SPI0_TXDMA_DSCPTR_CUR (REG_DMA6_DSCPTR_CUR)
-#define SPI0_TXDMA_DSCPTR_PRV (REG_DMA6_DSCPTR_PRV)
-#define SPI0_TXDMA_ADDR_CUR (REG_DMA6_ADDR_CUR)
-#define SPI0_TXDMA_STAT (REG_DMA6_STAT)
-#define SPI0_TXDMA_XCNT_CUR (REG_DMA6_XCNT_CUR)
-#define SPI0_TXDMA_YCNT_CUR (REG_DMA6_YCNT_CUR)
-#define SPI0_TXDMA_BWLCNT (REG_DMA6_BWLCNT)
-#define SPI0_TXDMA_BWLCNT_CUR (REG_DMA6_BWLCNT_CUR)
-#define SPI0_TXDMA_BWMCNT (REG_DMA6_BWMCNT)
-#define SPI0_TXDMA_BWMCNT_CUR (REG_DMA6_BWMCNT_CUR)
-#define SPI0_RXDMA_DSCPTR_NXT (REG_DMA7_DSCPTR_NXT)
-#define SPI0_RXDMA_ADDRSTART (REG_DMA7_ADDRSTART)
-#define SPI0_RXDMA_CFG (REG_DMA7_CFG)
-#define SPI0_RXDMA_XCNT (REG_DMA7_XCNT)
-#define SPI0_RXDMA_XMOD (REG_DMA7_XMOD)
-#define SPI0_RXDMA_YCNT (REG_DMA7_YCNT)
-#define SPI0_RXDMA_YMOD (REG_DMA7_YMOD)
-#define SPI0_RXDMA_DSCPTR_CUR (REG_DMA7_DSCPTR_CUR)
-#define SPI0_RXDMA_DSCPTR_PRV (REG_DMA7_DSCPTR_PRV)
-#define SPI0_RXDMA_ADDR_CUR (REG_DMA7_ADDR_CUR)
-#define SPI0_RXDMA_STAT (REG_DMA7_STAT)
-#define SPI0_RXDMA_XCNT_CUR (REG_DMA7_XCNT_CUR)
-#define SPI0_RXDMA_YCNT_CUR (REG_DMA7_YCNT_CUR)
-#define SPI0_RXDMA_BWLCNT (REG_DMA7_BWLCNT)
-#define SPI0_RXDMA_BWLCNT_CUR (REG_DMA7_BWLCNT_CUR)
-#define SPI0_RXDMA_BWMCNT (REG_DMA7_BWMCNT)
-#define SPI0_RXDMA_BWMCNT_CUR (REG_DMA7_BWMCNT_CUR)
-#define SPI1_TXDMA_DSCPTR_NXT (REG_DMA8_DSCPTR_NXT)
-#define SPI1_TXDMA_ADDRSTART (REG_DMA8_ADDRSTART)
-#define SPI1_TXDMA_CFG (REG_DMA8_CFG)
-#define SPI1_TXDMA_XCNT (REG_DMA8_XCNT)
-#define SPI1_TXDMA_XMOD (REG_DMA8_XMOD)
-#define SPI1_TXDMA_YCNT (REG_DMA8_YCNT)
-#define SPI1_TXDMA_YMOD (REG_DMA8_YMOD)
-#define SPI1_TXDMA_DSCPTR_CUR (REG_DMA8_DSCPTR_CUR)
-#define SPI1_TXDMA_DSCPTR_PRV (REG_DMA8_DSCPTR_PRV)
-#define SPI1_TXDMA_ADDR_CUR (REG_DMA8_ADDR_CUR)
-#define SPI1_TXDMA_STAT (REG_DMA8_STAT)
-#define SPI1_TXDMA_XCNT_CUR (REG_DMA8_XCNT_CUR)
-#define SPI1_TXDMA_YCNT_CUR (REG_DMA8_YCNT_CUR)
-#define SPI1_TXDMA_BWLCNT (REG_DMA8_BWLCNT)
-#define SPI1_TXDMA_BWLCNT_CUR (REG_DMA8_BWLCNT_CUR)
-#define SPI1_TXDMA_BWMCNT (REG_DMA8_BWMCNT)
-#define SPI1_TXDMA_BWMCNT_CUR (REG_DMA8_BWMCNT_CUR)
-#define SPI1_RXDMA_DSCPTR_NXT (REG_DMA9_DSCPTR_NXT)
-#define SPI1_RXDMA_ADDRSTART (REG_DMA9_ADDRSTART)
-#define SPI1_RXDMA_CFG (REG_DMA9_CFG)
-#define SPI1_RXDMA_XCNT (REG_DMA9_XCNT)
-#define SPI1_RXDMA_XMOD (REG_DMA9_XMOD)
-#define SPI1_RXDMA_YCNT (REG_DMA9_YCNT)
-#define SPI1_RXDMA_YMOD (REG_DMA9_YMOD)
-#define SPI1_RXDMA_DSCPTR_CUR (REG_DMA9_DSCPTR_CUR)
-#define SPI1_RXDMA_DSCPTR_PRV (REG_DMA9_DSCPTR_PRV)
-#define SPI1_RXDMA_ADDR_CUR (REG_DMA9_ADDR_CUR)
-#define SPI1_RXDMA_STAT (REG_DMA9_STAT)
-#define SPI1_RXDMA_XCNT_CUR (REG_DMA9_XCNT_CUR)
-#define SPI1_RXDMA_YCNT_CUR (REG_DMA9_YCNT_CUR)
-#define SPI1_RXDMA_BWLCNT (REG_DMA9_BWLCNT)
-#define SPI1_RXDMA_BWLCNT_CUR (REG_DMA9_BWLCNT_CUR)
-#define SPI1_RXDMA_BWMCNT (REG_DMA9_BWMCNT)
-#define SPI1_RXDMA_BWMCNT_CUR (REG_DMA9_BWMCNT_CUR)
-#define RSI0_DMA_DSCPTR_NXT (REG_DMA10_DSCPTR_NXT)
-#define RSI0_DMA_ADDRSTART (REG_DMA10_ADDRSTART)
-#define RSI0_DMA_CFG (REG_DMA10_CFG)
-#define RSI0_DMA_XCNT (REG_DMA10_XCNT)
-#define RSI0_DMA_XMOD (REG_DMA10_XMOD)
-#define RSI0_DMA_YCNT (REG_DMA10_YCNT)
-#define RSI0_DMA_YMOD (REG_DMA10_YMOD)
-#define RSI0_DMA_DSCPTR_CUR (REG_DMA10_DSCPTR_CUR)
-#define RSI0_DMA_DSCPTR_PRV (REG_DMA10_DSCPTR_PRV)
-#define RSI0_DMA_ADDR_CUR (REG_DMA10_ADDR_CUR)
-#define RSI0_DMA_STAT (REG_DMA10_STAT)
-#define RSI0_DMA_XCNT_CUR (REG_DMA10_XCNT_CUR)
-#define RSI0_DMA_YCNT_CUR (REG_DMA10_YCNT_CUR)
-#define RSI0_DMA_BWLCNT (REG_DMA10_BWLCNT)
-#define RSI0_DMA_BWLCNT_CUR (REG_DMA10_BWLCNT_CUR)
-#define RSI0_DMA_BWMCNT (REG_DMA10_BWMCNT)
-#define RSI0_DMA_BWMCNT_CUR (REG_DMA10_BWMCNT_CUR)
-#define SDU0_DMA_DSCPTR_NXT (REG_DMA11_DSCPTR_NXT)
-#define SDU0_DMA_ADDRSTART (REG_DMA11_ADDRSTART)
-#define SDU0_DMA_CFG (REG_DMA11_CFG)
-#define SDU0_DMA_XCNT (REG_DMA11_XCNT)
-#define SDU0_DMA_XMOD (REG_DMA11_XMOD)
-#define SDU0_DMA_YCNT (REG_DMA11_YCNT)
-#define SDU0_DMA_YMOD (REG_DMA11_YMOD)
-#define SDU0_DMA_DSCPTR_CUR (REG_DMA11_DSCPTR_CUR)
-#define SDU0_DMA_DSCPTR_PRV (REG_DMA11_DSCPTR_PRV)
-#define SDU0_DMA_ADDR_CUR (REG_DMA11_ADDR_CUR)
-#define SDU0_DMA_STAT (REG_DMA11_STAT)
-#define SDU0_DMA_XCNT_CUR (REG_DMA11_XCNT_CUR)
-#define SDU0_DMA_YCNT_CUR (REG_DMA11_YCNT_CUR)
-#define SDU0_DMA_BWLCNT (REG_DMA11_BWLCNT)
-#define SDU0_DMA_BWLCNT_CUR (REG_DMA11_BWLCNT_CUR)
-#define SDU0_DMA_BWMCNT (REG_DMA11_BWMCNT)
-#define SDU0_DMA_BWMCNT_CUR (REG_DMA11_BWMCNT_CUR)
-#define LP0_DMA_DSCPTR_NXT (REG_DMA13_DSCPTR_NXT)
-#define LP0_DMA_ADDRSTART (REG_DMA13_ADDRSTART)
-#define LP0_DMA_CFG (REG_DMA13_CFG)
-#define LP0_DMA_XCNT (REG_DMA13_XCNT)
-#define LP0_DMA_XMOD (REG_DMA13_XMOD)
-#define LP0_DMA_YCNT (REG_DMA13_YCNT)
-#define LP0_DMA_YMOD (REG_DMA13_YMOD)
-#define LP0_DMA_DSCPTR_CUR (REG_DMA13_DSCPTR_CUR)
-#define LP0_DMA_DSCPTR_PRV (REG_DMA13_DSCPTR_PRV)
-#define LP0_DMA_ADDR_CUR (REG_DMA13_ADDR_CUR)
-#define LP0_DMA_STAT (REG_DMA13_STAT)
-#define LP0_DMA_XCNT_CUR (REG_DMA13_XCNT_CUR)
-#define LP0_DMA_YCNT_CUR (REG_DMA13_YCNT_CUR)
-#define LP0_DMA_BWLCNT (REG_DMA13_BWLCNT)
-#define LP0_DMA_BWLCNT_CUR (REG_DMA13_BWLCNT_CUR)
-#define LP0_DMA_BWMCNT (REG_DMA13_BWMCNT)
-#define LP0_DMA_BWMCNT_CUR (REG_DMA13_BWMCNT_CUR)
-#define LP1_DMA_DSCPTR_NXT (REG_DMA14_DSCPTR_NXT)
-#define LP1_DMA_ADDRSTART (REG_DMA14_ADDRSTART)
-#define LP1_DMA_CFG (REG_DMA14_CFG)
-#define LP1_DMA_XCNT (REG_DMA14_XCNT)
-#define LP1_DMA_XMOD (REG_DMA14_XMOD)
-#define LP1_DMA_YCNT (REG_DMA14_YCNT)
-#define LP1_DMA_YMOD (REG_DMA14_YMOD)
-#define LP1_DMA_DSCPTR_CUR (REG_DMA14_DSCPTR_CUR)
-#define LP1_DMA_DSCPTR_PRV (REG_DMA14_DSCPTR_PRV)
-#define LP1_DMA_ADDR_CUR (REG_DMA14_ADDR_CUR)
-#define LP1_DMA_STAT (REG_DMA14_STAT)
-#define LP1_DMA_XCNT_CUR (REG_DMA14_XCNT_CUR)
-#define LP1_DMA_YCNT_CUR (REG_DMA14_YCNT_CUR)
-#define LP1_DMA_BWLCNT (REG_DMA14_BWLCNT)
-#define LP1_DMA_BWLCNT_CUR (REG_DMA14_BWLCNT_CUR)
-#define LP1_DMA_BWMCNT (REG_DMA14_BWMCNT)
-#define LP1_DMA_BWMCNT_CUR (REG_DMA14_BWMCNT_CUR)
-#define LP2_DMA_DSCPTR_NXT (REG_DMA15_DSCPTR_NXT)
-#define LP2_DMA_ADDRSTART (REG_DMA15_ADDRSTART)
-#define LP2_DMA_CFG (REG_DMA15_CFG)
-#define LP2_DMA_XCNT (REG_DMA15_XCNT)
-#define LP2_DMA_XMOD (REG_DMA15_XMOD)
-#define LP2_DMA_YCNT (REG_DMA15_YCNT)
-#define LP2_DMA_YMOD (REG_DMA15_YMOD)
-#define LP2_DMA_DSCPTR_CUR (REG_DMA15_DSCPTR_CUR)
-#define LP2_DMA_DSCPTR_PRV (REG_DMA15_DSCPTR_PRV)
-#define LP2_DMA_ADDR_CUR (REG_DMA15_ADDR_CUR)
-#define LP2_DMA_STAT (REG_DMA15_STAT)
-#define LP2_DMA_XCNT_CUR (REG_DMA15_XCNT_CUR)
-#define LP2_DMA_YCNT_CUR (REG_DMA15_YCNT_CUR)
-#define LP2_DMA_BWLCNT (REG_DMA15_BWLCNT)
-#define LP2_DMA_BWLCNT_CUR (REG_DMA15_BWLCNT_CUR)
-#define LP2_DMA_BWMCNT (REG_DMA15_BWMCNT)
-#define LP2_DMA_BWMCNT_CUR (REG_DMA15_BWMCNT_CUR)
-#define LP3_DMA_DSCPTR_NXT (REG_DMA16_DSCPTR_NXT)
-#define LP3_DMA_ADDRSTART (REG_DMA16_ADDRSTART)
-#define LP3_DMA_CFG (REG_DMA16_CFG)
-#define LP3_DMA_XCNT (REG_DMA16_XCNT)
-#define LP3_DMA_XMOD (REG_DMA16_XMOD)
-#define LP3_DMA_YCNT (REG_DMA16_YCNT)
-#define LP3_DMA_YMOD (REG_DMA16_YMOD)
-#define LP3_DMA_DSCPTR_CUR (REG_DMA16_DSCPTR_CUR)
-#define LP3_DMA_DSCPTR_PRV (REG_DMA16_DSCPTR_PRV)
-#define LP3_DMA_ADDR_CUR (REG_DMA16_ADDR_CUR)
-#define LP3_DMA_STAT (REG_DMA16_STAT)
-#define LP3_DMA_XCNT_CUR (REG_DMA16_XCNT_CUR)
-#define LP3_DMA_YCNT_CUR (REG_DMA16_YCNT_CUR)
-#define LP3_DMA_BWLCNT (REG_DMA16_BWLCNT)
-#define LP3_DMA_BWLCNT_CUR (REG_DMA16_BWLCNT_CUR)
-#define LP3_DMA_BWMCNT (REG_DMA16_BWMCNT)
-#define LP3_DMA_BWMCNT_CUR (REG_DMA16_BWMCNT_CUR)
-#define UART0_TXDMA_DSCPTR_NXT (REG_DMA17_DSCPTR_NXT)
-#define UART0_TXDMA_ADDRSTART (REG_DMA17_ADDRSTART)
-#define UART0_TXDMA_CFG (REG_DMA17_CFG)
-#define UART0_TXDMA_XCNT (REG_DMA17_XCNT)
-#define UART0_TXDMA_XMOD (REG_DMA17_XMOD)
-#define UART0_TXDMA_YCNT (REG_DMA17_YCNT)
-#define UART0_TXDMA_YMOD (REG_DMA17_YMOD)
-#define UART0_TXDMA_DSCPTR_CUR (REG_DMA17_DSCPTR_CUR)
-#define UART0_TXDMA_DSCPTR_PRV (REG_DMA17_DSCPTR_PRV)
-#define UART0_TXDMA_ADDR_CUR (REG_DMA17_ADDR_CUR)
-#define UART0_TXDMA_STAT (REG_DMA17_STAT)
-#define UART0_TXDMA_XCNT_CUR (REG_DMA17_XCNT_CUR)
-#define UART0_TXDMA_YCNT_CUR (REG_DMA17_YCNT_CUR)
-#define UART0_TXDMA_BWLCNT (REG_DMA17_BWLCNT)
-#define UART0_TXDMA_BWLCNT_CUR (REG_DMA17_BWLCNT_CUR)
-#define UART0_TXDMA_BWMCNT (REG_DMA17_BWMCNT)
-#define UART0_TXDMA_BWMCNT_CUR (REG_DMA17_BWMCNT_CUR)
-#define UART0_RXDMA_DSCPTR_NXT (REG_DMA18_DSCPTR_NXT)
-#define UART0_RXDMA_ADDRSTART (REG_DMA18_ADDRSTART)
-#define UART0_RXDMA_CFG (REG_DMA18_CFG)
-#define UART0_RXDMA_XCNT (REG_DMA18_XCNT)
-#define UART0_RXDMA_XMOD (REG_DMA18_XMOD)
-#define UART0_RXDMA_YCNT (REG_DMA18_YCNT)
-#define UART0_RXDMA_YMOD (REG_DMA18_YMOD)
-#define UART0_RXDMA_DSCPTR_CUR (REG_DMA18_DSCPTR_CUR)
-#define UART0_RXDMA_DSCPTR_PRV (REG_DMA18_DSCPTR_PRV)
-#define UART0_RXDMA_ADDR_CUR (REG_DMA18_ADDR_CUR)
-#define UART0_RXDMA_STAT (REG_DMA18_STAT)
-#define UART0_RXDMA_XCNT_CUR (REG_DMA18_XCNT_CUR)
-#define UART0_RXDMA_YCNT_CUR (REG_DMA18_YCNT_CUR)
-#define UART0_RXDMA_BWLCNT (REG_DMA18_BWLCNT)
-#define UART0_RXDMA_BWLCNT_CUR (REG_DMA18_BWLCNT_CUR)
-#define UART0_RXDMA_BWMCNT (REG_DMA18_BWMCNT)
-#define UART0_RXDMA_BWMCNT_CUR (REG_DMA18_BWMCNT_CUR)
-#define UART1_TXDMA_DSCPTR_NXT (REG_DMA19_DSCPTR_NXT)
-#define UART1_TXDMA_ADDRSTART (REG_DMA19_ADDRSTART)
-#define UART1_TXDMA_CFG (REG_DMA19_CFG)
-#define UART1_TXDMA_XCNT (REG_DMA19_XCNT)
-#define UART1_TXDMA_XMOD (REG_DMA19_XMOD)
-#define UART1_TXDMA_YCNT (REG_DMA19_YCNT)
-#define UART1_TXDMA_YMOD (REG_DMA19_YMOD)
-#define UART1_TXDMA_DSCPTR_CUR (REG_DMA19_DSCPTR_CUR)
-#define UART1_TXDMA_DSCPTR_PRV (REG_DMA19_DSCPTR_PRV)
-#define UART1_TXDMA_ADDR_CUR (REG_DMA19_ADDR_CUR)
-#define UART1_TXDMA_STAT (REG_DMA19_STAT)
-#define UART1_TXDMA_XCNT_CUR (REG_DMA19_XCNT_CUR)
-#define UART1_TXDMA_YCNT_CUR (REG_DMA19_YCNT_CUR)
-#define UART1_TXDMA_BWLCNT (REG_DMA19_BWLCNT)
-#define UART1_TXDMA_BWLCNT_CUR (REG_DMA19_BWLCNT_CUR)
-#define UART1_TXDMA_BWMCNT (REG_DMA19_BWMCNT)
-#define UART1_TXDMA_BWMCNT_CUR (REG_DMA19_BWMCNT_CUR)
-#define UART1_RXDMA_DSCPTR_NXT (REG_DMA20_DSCPTR_NXT)
-#define UART1_RXDMA_ADDRSTART (REG_DMA20_ADDRSTART)
-#define UART1_RXDMA_CFG (REG_DMA20_CFG)
-#define UART1_RXDMA_XCNT (REG_DMA20_XCNT)
-#define UART1_RXDMA_XMOD (REG_DMA20_XMOD)
-#define UART1_RXDMA_YCNT (REG_DMA20_YCNT)
-#define UART1_RXDMA_YMOD (REG_DMA20_YMOD)
-#define UART1_RXDMA_DSCPTR_CUR (REG_DMA20_DSCPTR_CUR)
-#define UART1_RXDMA_DSCPTR_PRV (REG_DMA20_DSCPTR_PRV)
-#define UART1_RXDMA_ADDR_CUR (REG_DMA20_ADDR_CUR)
-#define UART1_RXDMA_STAT (REG_DMA20_STAT)
-#define UART1_RXDMA_XCNT_CUR (REG_DMA20_XCNT_CUR)
-#define UART1_RXDMA_YCNT_CUR (REG_DMA20_YCNT_CUR)
-#define UART1_RXDMA_BWLCNT (REG_DMA20_BWLCNT)
-#define UART1_RXDMA_BWLCNT_CUR (REG_DMA20_BWLCNT_CUR)
-#define UART1_RXDMA_BWMCNT (REG_DMA20_BWMCNT)
-#define UART1_RXDMA_BWMCNT_CUR (REG_DMA20_BWMCNT_CUR)
-#define MDMA0_SRC_DSCPTR_NXT (REG_DMA21_DSCPTR_NXT)
-#define MDMA0_SRC_ADDRSTART (REG_DMA21_ADDRSTART)
-#define MDMA0_SRC_CFG (REG_DMA21_CFG)
-#define MDMA0_SRC_XCNT (REG_DMA21_XCNT)
-#define MDMA0_SRC_XMOD (REG_DMA21_XMOD)
-#define MDMA0_SRC_YCNT (REG_DMA21_YCNT)
-#define MDMA0_SRC_YMOD (REG_DMA21_YMOD)
-#define MDMA0_SRC_DSCPTR_CUR (REG_DMA21_DSCPTR_CUR)
-#define MDMA0_SRC_DSCPTR_PRV (REG_DMA21_DSCPTR_PRV)
-#define MDMA0_SRC_ADDR_CUR (REG_DMA21_ADDR_CUR)
-#define MDMA0_SRC_STAT (REG_DMA21_STAT)
-#define MDMA0_SRC_XCNT_CUR (REG_DMA21_XCNT_CUR)
-#define MDMA0_SRC_YCNT_CUR (REG_DMA21_YCNT_CUR)
-#define MDMA0_SRC_BWLCNT (REG_DMA21_BWLCNT)
-#define MDMA0_SRC_BWLCNT_CUR (REG_DMA21_BWLCNT_CUR)
-#define MDMA0_SRC_BWMCNT (REG_DMA21_BWMCNT)
-#define MDMA0_SRC_BWMCNT_CUR (REG_DMA21_BWMCNT_CUR)
-#define MDMA0_DST_DSCPTR_NXT (REG_DMA22_DSCPTR_NXT)
-#define MDMA0_DST_ADDRSTART (REG_DMA22_ADDRSTART)
-#define MDMA0_DST_CFG (REG_DMA22_CFG)
-#define MDMA0_DST_XCNT (REG_DMA22_XCNT)
-#define MDMA0_DST_XMOD (REG_DMA22_XMOD)
-#define MDMA0_DST_YCNT (REG_DMA22_YCNT)
-#define MDMA0_DST_YMOD (REG_DMA22_YMOD)
-#define MDMA0_DST_DSCPTR_CUR (REG_DMA22_DSCPTR_CUR)
-#define MDMA0_DST_DSCPTR_PRV (REG_DMA22_DSCPTR_PRV)
-#define MDMA0_DST_ADDR_CUR (REG_DMA22_ADDR_CUR)
-#define MDMA0_DST_STAT (REG_DMA22_STAT)
-#define MDMA0_DST_XCNT_CUR (REG_DMA22_XCNT_CUR)
-#define MDMA0_DST_YCNT_CUR (REG_DMA22_YCNT_CUR)
-#define MDMA0_DST_BWLCNT (REG_DMA22_BWLCNT)
-#define MDMA0_DST_BWLCNT_CUR (REG_DMA22_BWLCNT_CUR)
-#define MDMA0_DST_BWMCNT (REG_DMA22_BWMCNT)
-#define MDMA0_DST_BWMCNT_CUR (REG_DMA22_BWMCNT_CUR)
-#define MDMA1_SRC_DSCPTR_NXT (REG_DMA23_DSCPTR_NXT)
-#define MDMA1_SRC_ADDRSTART (REG_DMA23_ADDRSTART)
-#define MDMA1_SRC_CFG (REG_DMA23_CFG)
-#define MDMA1_SRC_XCNT (REG_DMA23_XCNT)
-#define MDMA1_SRC_XMOD (REG_DMA23_XMOD)
-#define MDMA1_SRC_YCNT (REG_DMA23_YCNT)
-#define MDMA1_SRC_YMOD (REG_DMA23_YMOD)
-#define MDMA1_SRC_DSCPTR_CUR (REG_DMA23_DSCPTR_CUR)
-#define MDMA1_SRC_DSCPTR_PRV (REG_DMA23_DSCPTR_PRV)
-#define MDMA1_SRC_ADDR_CUR (REG_DMA23_ADDR_CUR)
-#define MDMA1_SRC_STAT (REG_DMA23_STAT)
-#define MDMA1_SRC_XCNT_CUR (REG_DMA23_XCNT_CUR)
-#define MDMA1_SRC_YCNT_CUR (REG_DMA23_YCNT_CUR)
-#define MDMA1_SRC_BWLCNT (REG_DMA23_BWLCNT)
-#define MDMA1_SRC_BWLCNT_CUR (REG_DMA23_BWLCNT_CUR)
-#define MDMA1_SRC_BWMCNT (REG_DMA23_BWMCNT)
-#define MDMA1_SRC_BWMCNT_CUR (REG_DMA23_BWMCNT_CUR)
-#define MDMA1_DST_DSCPTR_NXT (REG_DMA24_DSCPTR_NXT)
-#define MDMA1_DST_ADDRSTART (REG_DMA24_ADDRSTART)
-#define MDMA1_DST_CFG (REG_DMA24_CFG)
-#define MDMA1_DST_XCNT (REG_DMA24_XCNT)
-#define MDMA1_DST_XMOD (REG_DMA24_XMOD)
-#define MDMA1_DST_YCNT (REG_DMA24_YCNT)
-#define MDMA1_DST_YMOD (REG_DMA24_YMOD)
-#define MDMA1_DST_DSCPTR_CUR (REG_DMA24_DSCPTR_CUR)
-#define MDMA1_DST_DSCPTR_PRV (REG_DMA24_DSCPTR_PRV)
-#define MDMA1_DST_ADDR_CUR (REG_DMA24_ADDR_CUR)
-#define MDMA1_DST_STAT (REG_DMA24_STAT)
-#define MDMA1_DST_XCNT_CUR (REG_DMA24_XCNT_CUR)
-#define MDMA1_DST_YCNT_CUR (REG_DMA24_YCNT_CUR)
-#define MDMA1_DST_BWLCNT (REG_DMA24_BWLCNT)
-#define MDMA1_DST_BWLCNT_CUR (REG_DMA24_BWLCNT_CUR)
-#define MDMA1_DST_BWMCNT (REG_DMA24_BWMCNT)
-#define MDMA1_DST_BWMCNT_CUR (REG_DMA24_BWMCNT_CUR)
-#define MDMA2_SRC_DSCPTR_NXT (REG_DMA25_DSCPTR_NXT)
-#define MDMA2_SRC_ADDRSTART (REG_DMA25_ADDRSTART)
-#define MDMA2_SRC_CFG (REG_DMA25_CFG)
-#define MDMA2_SRC_XCNT (REG_DMA25_XCNT)
-#define MDMA2_SRC_XMOD (REG_DMA25_XMOD)
-#define MDMA2_SRC_YCNT (REG_DMA25_YCNT)
-#define MDMA2_SRC_YMOD (REG_DMA25_YMOD)
-#define MDMA2_SRC_DSCPTR_CUR (REG_DMA25_DSCPTR_CUR)
-#define MDMA2_SRC_DSCPTR_PRV (REG_DMA25_DSCPTR_PRV)
-#define MDMA2_SRC_ADDR_CUR (REG_DMA25_ADDR_CUR)
-#define MDMA2_SRC_STAT (REG_DMA25_STAT)
-#define MDMA2_SRC_XCNT_CUR (REG_DMA25_XCNT_CUR)
-#define MDMA2_SRC_YCNT_CUR (REG_DMA25_YCNT_CUR)
-#define MDMA2_SRC_BWLCNT (REG_DMA25_BWLCNT)
-#define MDMA2_SRC_BWLCNT_CUR (REG_DMA25_BWLCNT_CUR)
-#define MDMA2_SRC_BWMCNT (REG_DMA25_BWMCNT)
-#define MDMA2_SRC_BWMCNT_CUR (REG_DMA25_BWMCNT_CUR)
-#define MDMA2_DST_DSCPTR_NXT (REG_DMA26_DSCPTR_NXT)
-#define MDMA2_DST_ADDRSTART (REG_DMA26_ADDRSTART)
-#define MDMA2_DST_CFG (REG_DMA26_CFG)
-#define MDMA2_DST_XCNT (REG_DMA26_XCNT)
-#define MDMA2_DST_XMOD (REG_DMA26_XMOD)
-#define MDMA2_DST_YCNT (REG_DMA26_YCNT)
-#define MDMA2_DST_YMOD (REG_DMA26_YMOD)
-#define MDMA2_DST_DSCPTR_CUR (REG_DMA26_DSCPTR_CUR)
-#define MDMA2_DST_DSCPTR_PRV (REG_DMA26_DSCPTR_PRV)
-#define MDMA2_DST_ADDR_CUR (REG_DMA26_ADDR_CUR)
-#define MDMA2_DST_STAT (REG_DMA26_STAT)
-#define MDMA2_DST_XCNT_CUR (REG_DMA26_XCNT_CUR)
-#define MDMA2_DST_YCNT_CUR (REG_DMA26_YCNT_CUR)
-#define MDMA2_DST_BWLCNT (REG_DMA26_BWLCNT)
-#define MDMA2_DST_BWLCNT_CUR (REG_DMA26_BWLCNT_CUR)
-#define MDMA2_DST_BWMCNT (REG_DMA26_BWMCNT)
-#define MDMA2_DST_BWMCNT_CUR (REG_DMA26_BWMCNT_CUR)
-#define MDMA3_SRC_DSCPTR_NXT (REG_DMA27_DSCPTR_NXT)
-#define MDMA3_SRC_ADDRSTART (REG_DMA27_ADDRSTART)
-#define MDMA3_SRC_CFG (REG_DMA27_CFG)
-#define MDMA3_SRC_XCNT (REG_DMA27_XCNT)
-#define MDMA3_SRC_XMOD (REG_DMA27_XMOD)
-#define MDMA3_SRC_YCNT (REG_DMA27_YCNT)
-#define MDMA3_SRC_YMOD (REG_DMA27_YMOD)
-#define MDMA3_SRC_DSCPTR_CUR (REG_DMA27_DSCPTR_CUR)
-#define MDMA3_SRC_DSCPTR_PRV (REG_DMA27_DSCPTR_PRV)
-#define MDMA3_SRC_ADDR_CUR (REG_DMA27_ADDR_CUR)
-#define MDMA3_SRC_STAT (REG_DMA27_STAT)
-#define MDMA3_SRC_XCNT_CUR (REG_DMA27_XCNT_CUR)
-#define MDMA3_SRC_YCNT_CUR (REG_DMA27_YCNT_CUR)
-#define MDMA3_SRC_BWLCNT (REG_DMA27_BWLCNT)
-#define MDMA3_SRC_BWLCNT_CUR (REG_DMA27_BWLCNT_CUR)
-#define MDMA3_SRC_BWMCNT (REG_DMA27_BWMCNT)
-#define MDMA3_SRC_BWMCNT_CUR (REG_DMA27_BWMCNT_CUR)
-#define MDMA3_DST_DSCPTR_NXT (REG_DMA28_DSCPTR_NXT)
-#define MDMA3_DST_ADDRSTART (REG_DMA28_ADDRSTART)
-#define MDMA3_DST_CFG (REG_DMA28_CFG)
-#define MDMA3_DST_XCNT (REG_DMA28_XCNT)
-#define MDMA3_DST_XMOD (REG_DMA28_XMOD)
-#define MDMA3_DST_YCNT (REG_DMA28_YCNT)
-#define MDMA3_DST_YMOD (REG_DMA28_YMOD)
-#define MDMA3_DST_DSCPTR_CUR (REG_DMA28_DSCPTR_CUR)
-#define MDMA3_DST_DSCPTR_PRV (REG_DMA28_DSCPTR_PRV)
-#define MDMA3_DST_ADDR_CUR (REG_DMA28_ADDR_CUR)
-#define MDMA3_DST_STAT (REG_DMA28_STAT)
-#define MDMA3_DST_XCNT_CUR (REG_DMA28_XCNT_CUR)
-#define MDMA3_DST_YCNT_CUR (REG_DMA28_YCNT_CUR)
-#define MDMA3_DST_BWLCNT (REG_DMA28_BWLCNT)
-#define MDMA3_DST_BWLCNT_CUR (REG_DMA28_BWLCNT_CUR)
-#define MDMA3_DST_BWMCNT (REG_DMA28_BWMCNT)
-#define MDMA3_DST_BWMCNT_CUR (REG_DMA28_BWMCNT_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_NXT (REG_DMA29_DSCPTR_NXT)
-#define EPPI0_CH0_DMA_ADDRSTART (REG_DMA29_ADDRSTART)
-#define EPPI0_CH0_DMA_CFG (REG_DMA29_CFG)
-#define EPPI0_CH0_DMA_XCNT (REG_DMA29_XCNT)
-#define EPPI0_CH0_DMA_XMOD (REG_DMA29_XMOD)
-#define EPPI0_CH0_DMA_YCNT (REG_DMA29_YCNT)
-#define EPPI0_CH0_DMA_YMOD (REG_DMA29_YMOD)
-#define EPPI0_CH0_DMA_DSCPTR_CUR (REG_DMA29_DSCPTR_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_PRV (REG_DMA29_DSCPTR_PRV)
-#define EPPI0_CH0_DMA_ADDR_CUR (REG_DMA29_ADDR_CUR)
-#define EPPI0_CH0_DMA_STAT (REG_DMA29_STAT)
-#define EPPI0_CH0_DMA_XCNT_CUR (REG_DMA29_XCNT_CUR)
-#define EPPI0_CH0_DMA_YCNT_CUR (REG_DMA29_YCNT_CUR)
-#define EPPI0_CH0_DMA_BWLCNT (REG_DMA29_BWLCNT)
-#define EPPI0_CH0_DMA_BWLCNT_CUR (REG_DMA29_BWLCNT_CUR)
-#define EPPI0_CH0_DMA_BWMCNT (REG_DMA29_BWMCNT)
-#define EPPI0_CH0_DMA_BWMCNT_CUR (REG_DMA29_BWMCNT_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_NXT (REG_DMA30_DSCPTR_NXT)
-#define EPPI0_CH1_DMA_ADDRSTART (REG_DMA30_ADDRSTART)
-#define EPPI0_CH1_DMA_CFG (REG_DMA30_CFG)
-#define EPPI0_CH1_DMA_XCNT (REG_DMA30_XCNT)
-#define EPPI0_CH1_DMA_XMOD (REG_DMA30_XMOD)
-#define EPPI0_CH1_DMA_YCNT (REG_DMA30_YCNT)
-#define EPPI0_CH1_DMA_YMOD (REG_DMA30_YMOD)
-#define EPPI0_CH1_DMA_DSCPTR_CUR (REG_DMA30_DSCPTR_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_PRV (REG_DMA30_DSCPTR_PRV)
-#define EPPI0_CH1_DMA_ADDR_CUR (REG_DMA30_ADDR_CUR)
-#define EPPI0_CH1_DMA_STAT (REG_DMA30_STAT)
-#define EPPI0_CH1_DMA_XCNT_CUR (REG_DMA30_XCNT_CUR)
-#define EPPI0_CH1_DMA_YCNT_CUR (REG_DMA30_YCNT_CUR)
-#define EPPI0_CH1_DMA_BWLCNT (REG_DMA30_BWLCNT)
-#define EPPI0_CH1_DMA_BWLCNT_CUR (REG_DMA30_BWLCNT_CUR)
-#define EPPI0_CH1_DMA_BWMCNT (REG_DMA30_BWMCNT)
-#define EPPI0_CH1_DMA_BWMCNT_CUR (REG_DMA30_BWMCNT_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_NXT (REG_DMA31_DSCPTR_NXT)
-#define EPPI2_CH0_DMA_ADDRSTART (REG_DMA31_ADDRSTART)
-#define EPPI2_CH0_DMA_CFG (REG_DMA31_CFG)
-#define EPPI2_CH0_DMA_XCNT (REG_DMA31_XCNT)
-#define EPPI2_CH0_DMA_XMOD (REG_DMA31_XMOD)
-#define EPPI2_CH0_DMA_YCNT (REG_DMA31_YCNT)
-#define EPPI2_CH0_DMA_YMOD (REG_DMA31_YMOD)
-#define EPPI2_CH0_DMA_DSCPTR_CUR (REG_DMA31_DSCPTR_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_PRV (REG_DMA31_DSCPTR_PRV)
-#define EPPI2_CH0_DMA_ADDR_CUR (REG_DMA31_ADDR_CUR)
-#define EPPI2_CH0_DMA_STAT (REG_DMA31_STAT)
-#define EPPI2_CH0_DMA_XCNT_CUR (REG_DMA31_XCNT_CUR)
-#define EPPI2_CH0_DMA_YCNT_CUR (REG_DMA31_YCNT_CUR)
-#define EPPI2_CH0_DMA_BWLCNT (REG_DMA31_BWLCNT)
-#define EPPI2_CH0_DMA_BWLCNT_CUR (REG_DMA31_BWLCNT_CUR)
-#define EPPI2_CH0_DMA_BWMCNT (REG_DMA31_BWMCNT)
-#define EPPI2_CH0_DMA_BWMCNT_CUR (REG_DMA31_BWMCNT_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_NXT (REG_DMA32_DSCPTR_NXT)
-#define EPPI2_CH1_DMA_ADDRSTART (REG_DMA32_ADDRSTART)
-#define EPPI2_CH1_DMA_CFG (REG_DMA32_CFG)
-#define EPPI2_CH1_DMA_XCNT (REG_DMA32_XCNT)
-#define EPPI2_CH1_DMA_XMOD (REG_DMA32_XMOD)
-#define EPPI2_CH1_DMA_YCNT (REG_DMA32_YCNT)
-#define EPPI2_CH1_DMA_YMOD (REG_DMA32_YMOD)
-#define EPPI2_CH1_DMA_DSCPTR_CUR (REG_DMA32_DSCPTR_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_PRV (REG_DMA32_DSCPTR_PRV)
-#define EPPI2_CH1_DMA_ADDR_CUR (REG_DMA32_ADDR_CUR)
-#define EPPI2_CH1_DMA_STAT (REG_DMA32_STAT)
-#define EPPI2_CH1_DMA_XCNT_CUR (REG_DMA32_XCNT_CUR)
-#define EPPI2_CH1_DMA_YCNT_CUR (REG_DMA32_YCNT_CUR)
-#define EPPI2_CH1_DMA_BWLCNT (REG_DMA32_BWLCNT)
-#define EPPI2_CH1_DMA_BWLCNT_CUR (REG_DMA32_BWLCNT_CUR)
-#define EPPI2_CH1_DMA_BWMCNT (REG_DMA32_BWMCNT)
-#define EPPI2_CH1_DMA_BWMCNT_CUR (REG_DMA32_BWMCNT_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_NXT (REG_DMA33_DSCPTR_NXT)
-#define EPPI1_CH0_DMA_ADDRSTART (REG_DMA33_ADDRSTART)
-#define EPPI1_CH0_DMA_CFG (REG_DMA33_CFG)
-#define EPPI1_CH0_DMA_XCNT (REG_DMA33_XCNT)
-#define EPPI1_CH0_DMA_XMOD (REG_DMA33_XMOD)
-#define EPPI1_CH0_DMA_YCNT (REG_DMA33_YCNT)
-#define EPPI1_CH0_DMA_YMOD (REG_DMA33_YMOD)
-#define EPPI1_CH0_DMA_DSCPTR_CUR (REG_DMA33_DSCPTR_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_PRV (REG_DMA33_DSCPTR_PRV)
-#define EPPI1_CH0_DMA_ADDR_CUR (REG_DMA33_ADDR_CUR)
-#define EPPI1_CH0_DMA_STAT (REG_DMA33_STAT)
-#define EPPI1_CH0_DMA_XCNT_CUR (REG_DMA33_XCNT_CUR)
-#define EPPI1_CH0_DMA_YCNT_CUR (REG_DMA33_YCNT_CUR)
-#define EPPI1_CH0_DMA_BWLCNT (REG_DMA33_BWLCNT)
-#define EPPI1_CH0_DMA_BWLCNT_CUR (REG_DMA33_BWLCNT_CUR)
-#define EPPI1_CH0_DMA_BWMCNT (REG_DMA33_BWMCNT)
-#define EPPI1_CH0_DMA_BWMCNT_CUR (REG_DMA33_BWMCNT_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_NXT (REG_DMA34_DSCPTR_NXT)
-#define EPPI1_CH1_DMA_ADDRSTART (REG_DMA34_ADDRSTART)
-#define EPPI1_CH1_DMA_CFG (REG_DMA34_CFG)
-#define EPPI1_CH1_DMA_XCNT (REG_DMA34_XCNT)
-#define EPPI1_CH1_DMA_XMOD (REG_DMA34_XMOD)
-#define EPPI1_CH1_DMA_YCNT (REG_DMA34_YCNT)
-#define EPPI1_CH1_DMA_YMOD (REG_DMA34_YMOD)
-#define EPPI1_CH1_DMA_DSCPTR_CUR (REG_DMA34_DSCPTR_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_PRV (REG_DMA34_DSCPTR_PRV)
-#define EPPI1_CH1_DMA_ADDR_CUR (REG_DMA34_ADDR_CUR)
-#define EPPI1_CH1_DMA_STAT (REG_DMA34_STAT)
-#define EPPI1_CH1_DMA_XCNT_CUR (REG_DMA34_XCNT_CUR)
-#define EPPI1_CH1_DMA_YCNT_CUR (REG_DMA34_YCNT_CUR)
-#define EPPI1_CH1_DMA_BWLCNT (REG_DMA34_BWLCNT)
-#define EPPI1_CH1_DMA_BWLCNT_CUR (REG_DMA34_BWLCNT_CUR)
-#define EPPI1_CH1_DMA_BWMCNT (REG_DMA34_BWMCNT)
-#define EPPI1_CH1_DMA_BWMCNT_CUR (REG_DMA34_BWMCNT_CUR)
-
-/* ==================================
- DMA Error CHID Definitions
- ================================== */
-#define CHID_SPORT0_A_DMA 0 /* Channel A DMA */
-#define CHID_SPORT0_B_DMA 1 /* Channel B DMA */
-#define CHID_SPORT1_A_DMA 2 /* Channel A DMA */
-#define CHID_SPORT1_B_DMA 3 /* Channel B DMA */
-#define CHID_SPORT2_A_DMA 4 /* Channel A DMA */
-#define CHID_SPORT2_B_DMA 5 /* Channel B DMA */
-#define CHID_SPI0_TXDMA 6 /* TX DMA Channel */
-#define CHID_SPI0_RXDMA 7 /* RX DMA Channel */
-#define CHID_SPI1_TXDMA 8 /* TX DMA Channel */
-#define CHID_SPI1_RXDMA 9 /* RX DMA Channel */
-#define CHID_RSI0_DMA 10 /* DMA Channel */
-#define CHID_SDU0_DMA 11 /* DMA */
-/* -- RESERVED -- 12 */
-#define CHID_LP0_DMA 13 /* DMA Channel */
-#define CHID_LP1_DMA 14 /* DMA Channel */
-#define CHID_LP2_DMA 15 /* DMA Channel */
-#define CHID_LP3_DMA 16 /* DMA Channel */
-#define CHID_UART0_TXDMA 17 /* Transmit DMA */
-#define CHID_UART0_RXDMA 18 /* Receive DMA */
-#define CHID_UART1_TXDMA 19 /* Transmit DMA */
-#define CHID_UART1_RXDMA 20 /* Receive DMA */
-#define CHID_MDMA0_SRC 21 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define CHID_MDMA0_DST 22 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define CHID_MDMA1_SRC 23 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define CHID_MDMA1_DST 24 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define CHID_MDMA2_SRC 25 /* Memory DMA Stream 2 Source Channel */
-#define CHID_MDMA2_DST 26 /* Memory DMA Stream 2 Destination Channel */
-#define CHID_MDMA3_SRC 27 /* Memory DMA Stream 3 Source Channel */
-#define CHID_MDMA3_DST 28 /* Memory DMA Stream 3 Destination Channel */
-#define CHID_EPPI0_CH0_DMA 29 /* Channel 0 DMA */
-#define CHID_EPPI0_CH1_DMA 30 /* Channel 1 DMA */
-#define CHID_EPPI2_CH0_DMA 31 /* Channel 0 DMA */
-#define CHID_EPPI2_CH1_DMA 32 /* Channel 1 DMA */
-#define CHID_EPPI1_CH0_DMA 33 /* Channel 0 DMA */
-#define CHID_EPPI1_CH1_DMA 34 /* Channel 1 DMA */
-
-/* ==============================
- Interrupt Definitions
- ============================== */
-#define INTR_SEC0_ERR 0 /* Error */
-#define INTR_CGU0_EVT 1 /* Event */
-#define INTR_WDOG0_EXP 2 /* Expiration */
-#define INTR_WDOG1_EXP 3 /* Expiration */
-#define INTR_L2CTL0_ECC_ERR 4 /* ECC Error */
-#define INTR_L2CTL0_ECC_WARNING 5 /* ECC Warning */
-#define INTR_C0_DBL_FAULT 6 /* Core 0 Double Fault */
-#define INTR_C1_DBL_FAULT 7 /* Core 1 Double Fault */
-#define INTR_C0_HW_ERR 8 /* Core 0 Hardware Error */
-#define INTR_C1_HW_ERR 9 /* Core 1 Hardware Error */
-#define INTR_C0_NMI_L1_PARITY_ERR 10 /* Core 0 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_C1_NMI_L1_PARITY_ERR 11 /* Core 1 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_TIMER0_TMR0 12 /* Timer 0 */
-#define INTR_TIMER0_TMR1 13 /* Timer 1 */
-#define INTR_TIMER0_TMR2 14 /* Timer 2 */
-#define INTR_TIMER0_TMR3 15 /* Timer 3 */
-#define INTR_TIMER0_TMR4 16 /* Timer 4 */
-#define INTR_TIMER0_TMR5 17 /* Timer 5 */
-#define INTR_TIMER0_TMR6 18 /* Timer 6 */
-#define INTR_TIMER0_TMR7 19 /* Timer 7 */
-#define INTR_TIMER0_STAT 20 /* Status */
-#define INTR_PINT0_BLOCK 21 /* Pin Interrupt Block */
-#define INTR_PINT1_BLOCK 22 /* Pin Interrupt Block */
-#define INTR_PINT2_BLOCK 23 /* Pin Interrupt Block */
-#define INTR_PINT3_BLOCK 24 /* Pin Interrupt Block */
-#define INTR_PINT4_BLOCK 25 /* Pin Interrupt Block */
-#define INTR_PINT5_BLOCK 26 /* Pin Interrupt Block */
-#define INTR_CNT0_STAT 27 /* Status */
-#define INTR_PWM0_SYNC 28 /* Sync */
-#define INTR_PWM0_TRIP 29 /* Trip */
-#define INTR_PWM1_SYNC 30 /* Sync */
-#define INTR_PWM1_TRIP 31 /* Trip */
-#define INTR_TWI0_DATA 32 /* Data Interrupt */
-#define INTR_TWI1_DATA 33 /* Data Interrupt */
-#define INTR_SOFT0 34 /* Software-driven Interrupt 0 */
-#define INTR_SOFT1 35 /* Software-driven Interrupt 1 */
-#define INTR_SOFT2 36 /* Software-driven Interrupt 2 */
-#define INTR_SOFT3 37 /* Software-driven Interrupt 3 */
-#define INTR_ACM0_EVT_MISS 38 /* Event Miss */
-#define INTR_ACM0_EVT_COMPLETE 39 /* Event Complete */
-#define INTR_CAN0_RX 40 /* Receive */
-#define INTR_CAN0_TX 41 /* Transmit */
-#define INTR_CAN0_STAT 42 /* Status */
-#define INTR_SPORT0_A_DMA 43 /* Channel A DMA */
-#define INTR_SPORT0_A_STAT 44 /* Channel A Status */
-#define INTR_SPORT0_B_DMA 45 /* Channel B DMA */
-#define INTR_SPORT0_B_STAT 46 /* Channel B Status */
-#define INTR_SPORT1_A_DMA 47 /* Channel A DMA */
-#define INTR_SPORT1_A_STAT 48 /* Channel A Status */
-#define INTR_SPORT1_B_DMA 49 /* Channel B DMA */
-#define INTR_SPORT1_B_STAT 50 /* Channel B Status */
-#define INTR_SPORT2_A_DMA 51 /* Channel A DMA */
-#define INTR_SPORT2_A_STAT 52 /* Channel A Status */
-#define INTR_SPORT2_B_DMA 53 /* Channel B DMA */
-#define INTR_SPORT2_B_STAT 54 /* Channel B Status */
-#define INTR_SPI0_TXDMA 55 /* TX DMA Channel */
-#define INTR_SPI0_RXDMA 56 /* RX DMA Channel */
-#define INTR_SPI0_STAT 57 /* Status */
-#define INTR_SPI1_TXDMA 58 /* TX DMA Channel */
-#define INTR_SPI1_RXDMA 59 /* RX DMA Channel */
-#define INTR_SPI1_STAT 60 /* Status */
-#define INTR_RSI0_DMA 61 /* DMA Channel */
-#define INTR_RSI0_INT0 62 /* Interrupt 0 */
-#define INTR_RSI0_INT1 63 /* Interrupt 1 */
-#define INTR_SDU0_DMA 64 /* DMA */
-/* -- RESERVED -- 65 */
-/* -- RESERVED -- 66 */
-/* -- RESERVED -- 67 */
-#define INTR_EMAC0_STAT 68 /* Status */
-/* -- RESERVED -- 69 */
-#define INTR_EMAC1_STAT 70 /* Status */
-/* -- RESERVED -- 71 */
-#define INTR_LP0_DMA 72 /* DMA Channel */
-#define INTR_LP0_STAT 73 /* Status */
-#define INTR_LP1_DMA 74 /* DMA Channel */
-#define INTR_LP1_STAT 75 /* Status */
-#define INTR_LP2_DMA 76 /* DMA Channel */
-#define INTR_LP2_STAT 77 /* Status */
-#define INTR_LP3_DMA 78 /* DMA Channel */
-#define INTR_LP3_STAT 79 /* Status */
-#define INTR_UART0_TXDMA 80 /* Transmit DMA */
-#define INTR_UART0_RXDMA 81 /* Receive DMA */
-#define INTR_UART0_STAT 82 /* Status */
-#define INTR_UART1_TXDMA 83 /* Transmit DMA */
-#define INTR_UART1_RXDMA 84 /* Receive DMA */
-#define INTR_UART1_STAT 85 /* Status */
-#define INTR_MDMA0_SRC 86 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define INTR_MDMA0_DST 87 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define INTR_CRC0_DCNTEXP 88 /* Datacount expiration */
-#define INTR_CRC0_ERR 89 /* Error */
-#define INTR_MDMA1_SRC 90 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define INTR_MDMA1_DST 91 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define INTR_CRC1_DCNTEXP 92 /* Datacount expiration */
-#define INTR_CRC1_ERR 93 /* Error */
-#define INTR_MDMA2_SRC 94 /* Memory DMA Stream 2 Source Channel */
-#define INTR_MDMA2_DST 95 /* Memory DMA Stream 2 Destination Channel */
-#define INTR_MDMA3_SRC 96 /* Memory DMA Stream 3 Source Channel */
-#define INTR_MDMA3_DST 97 /* Memory DMA Stream 3 Destination Channel */
-#define INTR_EPPI0_CH0_DMA 98 /* Channel 0 DMA */
-#define INTR_EPPI0_CH1_DMA 99 /* Channel 1 DMA */
-#define INTR_EPPI0_STAT 100 /* Status */
-#define INTR_EPPI2_CH0_DMA 101 /* Channel 0 DMA */
-#define INTR_EPPI2_CH1_DMA 102 /* Channel 1 DMA */
-#define INTR_EPPI2_STAT 103 /* Status */
-#define INTR_EPPI1_CH0_DMA 104 /* Channel 0 DMA */
-#define INTR_EPPI1_CH1_DMA 105 /* Channel 1 DMA */
-#define INTR_EPPI1_STAT 106 /* Status */
-#define INTR_USB0_STAT 122 /* Status/FIFO Data Ready */
-#define INTR_USB0_DATA 123 /* DMA Status/Transfer Complete */
-#define INTR_TRU0_INT0 124 /* Interrupt 0 */
-#define INTR_TRU0_INT1 125 /* Interrupt 1 */
-#define INTR_TRU0_INT2 126 /* Interrupt 2 */
-#define INTR_TRU0_INT3 127 /* Interrupt 3 */
-#define INTR_DMAC_ERR 128 /* DMA Controller Error */
-#define INTR_CGU0_ERR 129 /* Error */
-/* -- RESERVED -- 130 */
-#define INTR_DPM0_EVT 131 /* Event */
-/* -- RESERVED -- 132 */
-#define INTR_SWU0_EVT 133 /* Event */
-#define INTR_SWU1_EVT 134 /* Event */
-#define INTR_SWU2_EVT 135 /* Event */
-#define INTR_SWU3_EVT 136 /* Event */
-#define INTR_SWU4_EVT 137 /* Event */
-#define INTR_SWU5_EVT 138 /* Event */
-#define INTR_SWU6_EVT 139 /* Event */
-
-/* ==============================
- Parameters
- ============================== */
-
-
-/* Generic System Module Parameters */
-
-#define PARAM_SYS0_NUM_BMODE 3
-#define PARAM_SYS0_NUM_CORES 2
-#define PARAM_SYS0_NUM_MDMA_STREAMS 4
-#define PARAM_SYS0_NUM_RSVD_INT 7
-#define PARAM_SYS0_NUM_RSVD_TRIG 6
-#define PARAM_SYS0_NUM_SW_INT 4
-#define PARAM_SYS0_NUM_SW_TRIG 6
-
-
-
-
-/* RSI Parameters */
-
-#define PARAM_RSI0_NUM_DATA 8
-#define PARAM_RSI0_NUM_INT 2
-
-
-
-/* Link Port Parameters */
-
-#define PARAM_LP0_NUM_DATA 8
-#define PARAM_LP1_NUM_DATA 8
-#define PARAM_LP2_NUM_DATA 8
-#define PARAM_LP3_NUM_DATA 8
-
-
-/* General Purpose Timer Block Parameters */
-
-#define PARAM_TIMER0_NUMTIMERS 8
-
-
-
-
-
-/* General Purpose Input/Output Parameters */
-
-#define PARAM_PORTA_PORT_WIDTH 16
-#define PARAM_PORTB_PORT_WIDTH 16
-#define PARAM_PORTC_PORT_WIDTH 16
-#define PARAM_PORTD_PORT_WIDTH 16
-#define PARAM_PORTE_PORT_WIDTH 16
-#define PARAM_PORTF_PORT_WIDTH 16
-#define PARAM_PORTG_PORT_WIDTH 16
-
-
-
-
-/* Static Memory Controller Parameters */
-
-#define PARAM_SMC0_NUM_ABE 2
-#define PARAM_SMC0_NUM_ADDR 26
-#define PARAM_SMC0_NUM_AMS 4
-#define PARAM_SMC0_NUM_DATA 16
-
-
-
-/* EPPI Parameters */
-
-#define PARAM_EPPI0_MAXWIDTH 24
-#define PARAM_EPPI0_NUM_DATA 24
-#define PARAM_EPPI1_MAXWIDTH 24
-#define PARAM_EPPI1_NUM_DATA 18
-#define PARAM_EPPI2_MAXWIDTH 24
-#define PARAM_EPPI2_NUM_DATA 18
-
-
-/* Pulse-Width Modulator Parameters */
-
-#define PARAM_PWM0_ASYM_DEADTIME 0
-#define PARAM_PWM0_COMPRESS 1
-#define PARAM_PWM0_DOUBLE_UPDATE 0
-#define PARAM_PWM0_FULL_DUTY_REGS 0
-#define PARAM_PWM0_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM0_LO_HP_REGS 0
-#define PARAM_PWM0_NUM_TRIP 2
-#define PARAM_PWM0_NUM_TRIP_PINS 2
-#define PARAM_PWM0_NUM_TRIP_TRIG 0
-#define PARAM_PWM0_REVID_MAJOR 0
-#define PARAM_PWM0_REVID_REV 0
-#define PARAM_PWM1_ASYM_DEADTIME 0
-#define PARAM_PWM1_COMPRESS 1
-#define PARAM_PWM1_DOUBLE_UPDATE 0
-#define PARAM_PWM1_FULL_DUTY_REGS 0
-#define PARAM_PWM1_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM1_LO_HP_REGS 0
-#define PARAM_PWM1_NUM_TRIP 2
-#define PARAM_PWM1_NUM_TRIP_PINS 2
-#define PARAM_PWM1_NUM_TRIP_TRIG 0
-#define PARAM_PWM1_REVID_MAJOR 0
-#define PARAM_PWM1_REVID_REV 0
-
-
-/* Video Subsystem Registers Parameters */
-
-#define PARAM_VID0_PIXC_ABSENT 1
-#define PARAM_VID0_PVP_ABSENT 1
-
-
-
-/* System Debug Unit Parameters */
-
-#define PARAM_SDU0_IDCODE_PRID 0
-#define PARAM_SDU0_IDCODE_REVID 0
-
-
-/* Ethernet MAC Parameters */
-
-#define PARAM_EMAC0_NUM_RX 2
-#define PARAM_EMAC0_NUM_TX 2
-#define PARAM_EMAC1_NUM_RX 2
-#define PARAM_EMAC1_NUM_TX 2
-
-
-
-/* Serial Peripheral Interface Parameters */
-
-#define PARAM_SPI0_MEM_MAPPED 0
-#define PARAM_SPI0_NUM_SEL 7
-#define PARAM_SPI0_PTM_EXISTS 1
-#define PARAM_SPI0_REVID_MAJOR 3
-#define PARAM_SPI0_REVID_REV 0
-#define PARAM_SPI1_MEM_MAPPED 0
-#define PARAM_SPI1_NUM_SEL 7
-#define PARAM_SPI1_PTM_EXISTS 1
-#define PARAM_SPI1_REVID_MAJOR 3
-#define PARAM_SPI1_REVID_REV 0
-
-
-
-/* ACM Parameters */
-
-#define PARAM_ACM0_NUM_ADDR 5
-#define PARAM_ACM0_NUM_TRIG 2
-
-
-/* DDR Parameters */
-
-#define PARAM_DMC0_NUM_ADDR 14
-#define PARAM_DMC0_NUM_BA 3
-#define PARAM_DMC0_NUM_CS 1
-#define PARAM_DMC0_NUM_DATA 16
-
-
-/* System Cross Bar Parameters */
-
-#define PARAM_SCB0_NUM_MASTERS 6
-#define PARAM_SCB0_NUM_SLOTS 32
-#define PARAM_SCB1_NUM_MASTERS 1
-#define PARAM_SCB1_NUM_SLOTS 32
-#define PARAM_SCB2_NUM_MASTERS 1
-#define PARAM_SCB2_NUM_SLOTS 32
-#define PARAM_SCB3_NUM_MASTERS 1
-#define PARAM_SCB3_NUM_SLOTS 32
-#define PARAM_SCB4_NUM_MASTERS 1
-#define PARAM_SCB4_NUM_SLOTS 32
-#define PARAM_SCB5_NUM_MASTERS 1
-#define PARAM_SCB5_NUM_SLOTS 32
-#define PARAM_SCB6_NUM_MASTERS 1
-#define PARAM_SCB6_NUM_SLOTS 32
-#define PARAM_SCB7_NUM_MASTERS 1
-#define PARAM_SCB7_NUM_SLOTS 32
-#define PARAM_SCB8_NUM_MASTERS 1
-#define PARAM_SCB8_NUM_SLOTS 32
-#define PARAM_SCB9_NUM_MASTERS 1
-#define PARAM_SCB9_NUM_SLOTS 32
-#define PARAM_SCB10_NUM_MASTERS 3
-#define PARAM_SCB10_NUM_SLOTS 32
-#define PARAM_SCB11_NUM_MASTERS 7
-#define PARAM_SCB11_NUM_SLOTS 32
-
-
-
-/* System Event Controller Parameters */
-
-#define PARAM_SEC0_CCOUNT 2
-#define PARAM_SEC0_SCOUNT 140
-
-
-/* Trigger Routing Unit Parameters */
-
-#define PARAM_TRU0_NUM_INTS 4
-#define PARAM_TRU0_NUM_TRIGS 4
-#define PARAM_TRU0_SSRCOUNT 87
-
-
-/* Reset Control Unit Parameters */
-
-#define PARAM_RCU0_CCOUNT 2
-#define PARAM_RCU0_CRCTL_CR_INIT 2
-#define PARAM_RCU0_CRSTAT_CR_INIT 3
-#define PARAM_RCU0_SICOUNT 2
-#define PARAM_RCU0_SVECT_INIT 65440
-
-
-/* System Protection Unit Parameters */
-
-#define PARAM_SPU0_CM_COUNT 2
-#define PARAM_SPU0_END_POINT_COUNT 86
-#define PARAM_SPU0_SM_COUNT 2
-
-
-/* Clock Generation Unit Parameters */
-
-#define PARAM_CGU0_CSEL_DEFAULT 4
-#define PARAM_CGU0_DSEL_DEFAULT 8
-#define PARAM_CGU0_MSEL_DEFAULT 16
-#define PARAM_CGU0_OSEL_DEFAULT 16
-#define PARAM_CGU0_PLLBP_DEFAULT 0
-#define PARAM_CGU0_S0SEL_DEFAULT 2
-#define PARAM_CGU0_S1SEL_DEFAULT 2
-#define PARAM_CGU0_SYSSEL_DEFAULT 8
-
-
-/* Dynamic Power Management Parameters */
-
-#define PARAM_DPM0_NUM_CCLK 2
-#define PARAM_DPM0_NUM_HV 8
-#define PARAM_DPM0_NUM_SCLK 4
-#define PARAM_DPM0_NUM_WAKE 8
-
-
-
-/* Universal Serial Bus Controller Parameters */
-
-#define PARAM_USB0_DMA_CHAN 8
-#define PARAM_USB0_DYN_FIFO_SIZE 1
-#define PARAM_USB0_FS_PHY 0
-#define PARAM_USB0_HS_PHY 1
-#define PARAM_USB0_LOOPBACK 1
-#define PARAM_USB0_NUM_ENDPTS 12
-#define PARAM_USB0_NUM_ENDPTS_MINUS_1 11
-
-
-/* Data Memory Unit Parameters */
-
-#define PARAM_L1DM0_L1_BASE_ADDRESS 1111111110
-
-
-
-
-
-
-
-
-/* ===================================
- Trigger Master Definitions
- =================================== */
-/* -- RESERVED -- 0 */
-#define TRGM_CGU0_EVT 1 /* Event */
-#define TRGM_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGM_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGM_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGM_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGM_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGM_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGM_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGM_TIMER0_TMR7 9 /* Timer 7 */
-#define TRGM_PINT0_BLOCK 10 /* Pin Interrupt Block */
-#define TRGM_PINT1_BLOCK 11 /* Pin Interrupt Block */
-#define TRGM_PINT2_BLOCK 12 /* Pin Interrupt Block */
-#define TRGM_PINT3_BLOCK 13 /* Pin Interrupt Block */
-#define TRGM_PINT4_BLOCK 14 /* Pin Interrupt Block */
-#define TRGM_PINT5_BLOCK 15 /* Pin Interrupt Block */
-#define TRGM_CNT0_STAT 16 /* Status */
-#define TRGM_PWM0_SYNC 17 /* Sync */
-#define TRGM_PWM1_SYNC 18 /* Sync */
-#define TRGM_ACM0_EVT_COMPLETE 19 /* Event Complete */
-#define TRGM_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGM_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGM_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGM_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGM_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGM_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGM_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGM_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGM_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGM_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGM_RSI0_DMA 30 /* DMA Channel */
-#define TRGM_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGM_EMAC0_STAT 33 /* Status */
-#define TRGM_EMAC1_STAT 34 /* Status */
-#define TRGM_LP0_DMA 35 /* DMA Channel */
-#define TRGM_LP1_DMA 36 /* DMA Channel */
-#define TRGM_LP2_DMA 37 /* DMA Channel */
-#define TRGM_LP3_DMA 38 /* DMA Channel */
-#define TRGM_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGM_UART0_RXDMA 40 /* Receive DMA */
-#define TRGM_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGM_UART1_RXDMA 42 /* Receive DMA */
-#define TRGM_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGM_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGM_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGM_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGM_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGM_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGM_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGM_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGM_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGM_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGM_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGM_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGM_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGM_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGM_USB0_DATA 69 /* DMA Status/Transfer Complete */
-/* -- RESERVED -- 70 */
-#define TRGM_SEC0_FAULT 71 /* Fault */
-#define TRGM_SOFT0 72 /* Software-driven Trigger 0 */
-#define TRGM_SOFT1 73 /* Software-driven Trigger 1 */
-#define TRGM_SOFT2 74 /* Software-driven Trigger 2 */
-#define TRGM_SOFT3 75 /* Software-driven Trigger 3 */
-#define TRGM_SOFT4 76 /* Software-driven Trigger 4 */
-#define TRGM_SOFT5 77 /* Software-driven Trigger 5 */
-#define TRGM_SWU0_EVT 80 /* Event */
-#define TRGM_SWU1_EVT 81 /* Event */
-#define TRGM_SWU2_EVT 82 /* Event */
-#define TRGM_SWU3_EVT 83 /* Event */
-#define TRGM_SWU4_EVT 84 /* Event */
-#define TRGM_SWU5_EVT 85 /* Event */
-#define TRGM_SWU6_EVT 86 /* Event */
-
-/* ===================================
- Trigger Slave Definitions
- =================================== */
-#define TRGS_RCU0_SYSRST0 0 /* System Reset 0 */
-#define TRGS_RCU0_SYSRST1 1 /* System Reset 1 */
-#define TRGS_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGS_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGS_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGS_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGS_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGS_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGS_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGS_TIMER0_TMR7 9 /* Timer 7 */
-/* -- RESERVED -- 10 */
-/* -- RESERVED -- 11 */
-#define TRGS_C0_NMI_S0 12 /* NMI (Core 0) Slave 0 */
-#define TRGS_C0_NMI_S1 13 /* NMI (Core 0) Slave 1 */
-#define TRGS_C1_NMI_S0 14 /* NMI (Core 1) Slave 0 */
-#define TRGS_C1_NMI_S1 15 /* NMI (Core 1) Slave 1 */
-#define TRGS_TRU0_IRQ0 16 /* Interrupt Request 0 */
-#define TRGS_TRU0_IRQ1 17 /* Interrupt Request 1 */
-#define TRGS_TRU0_IRQ2 18 /* Interrupt Request 2 */
-#define TRGS_TRU0_IRQ3 19 /* Interrupt Request 3 */
-#define TRGS_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGS_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGS_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGS_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGS_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGS_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGS_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGS_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGS_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGS_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGS_RSI0_DMA 30 /* DMA Channel */
-#define TRGS_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGS_ACM0_TRIG2 33 /* Trigger Input 2 */
-#define TRGS_ACM0_TRIG3 34 /* Trigger Input 3 */
-#define TRGS_LP0_DMA 35 /* DMA Channel */
-#define TRGS_LP1_DMA 36 /* DMA Channel */
-#define TRGS_LP2_DMA 37 /* DMA Channel */
-#define TRGS_LP3_DMA 38 /* DMA Channel */
-#define TRGS_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGS_UART0_RXDMA 40 /* Receive DMA */
-#define TRGS_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGS_UART1_RXDMA 42 /* Receive DMA */
-#define TRGS_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGS_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGS_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGS_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGS_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGS_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGS_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGS_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGS_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGS_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGS_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGS_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGS_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGS_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGS_SDU0_SLAVE 69 /* Slave Trigger */
-/* -- RESERVED -- 70 */
-#define TRGS_C0_WAKE0 71 /* Core 0 Wakeup Input 0 */
-#define TRGS_C0_WAKE1 72 /* Core 0 Wakeup Input 1 */
-#define TRGS_C0_WAKE2 73 /* Core 0 Wakeup Input 2 */
-#define TRGS_C0_WAKE3 74 /* Core 0 Wakeup Input 3 */
-#define TRGS_C1_WAKE0 75 /* Core 1 Wakeup Input 0 */
-#define TRGS_C1_WAKE1 76 /* Core 1 Wakeup Input 1 */
-#define TRGS_C1_WAKE2 77 /* Core 1 Wakeup Input 2 */
-#define TRGS_C1_WAKE3 78 /* Core 1 Wakeup Input 3 */
-/* -- RESERVED -- 79 */
-#define TRGS_SWU0_EVT 80 /* Event */
-#define TRGS_SWU1_EVT 81 /* Event */
-#define TRGS_SWU2_EVT 82 /* Event */
-#define TRGS_SWU3_EVT 83 /* Event */
-#define TRGS_SWU4_EVT 84 /* Event */
-#define TRGS_SWU5_EVT 85 /* Event */
-#define TRGS_SWU6_EVT 86 /* Event */
-
-
-/* ============================================================================
- Memory Map Macros
- ============================================================================ */
-
-/* ADSP-BF606 is a multi-core processor */
-
-#define MEM_NUM_CORES 2
-
-/* Internal memory range */
-
-#define MEM_BASE_INTERNAL 0xC0000000
-#define MEM_END_INTERNAL 0xFFFFFFFF
-#define MEM_SIZE_INTERNAL 0x40000000
-
-/* External memory range */
-
-#define MEM_BASE_EXTERNAL 0x00000000
-#define MEM_END_EXTERNAL 0xBFFFFFFF
-#define MEM_SIZE_EXTERNAL 0xC0000000
-
-/* Shared DDR2 or LPDDR Memory (256 MB) */
-
-#define MEM_BASE_DDR 0x00000000
-#define MEM_END_DDR 0x0FFFFFFF
-#define MEM_SIZE_DDR 0x10000000
-
-/* Shared Async Memory (256 MB) */
-
-#define MEM_BASE_ASYNC 0xB0000000
-#define MEM_END_ASYNC 0xBFFFFFFF
-#define MEM_SIZE_ASYNC 0x10000000
-
-/* Shared Async Memory Bank 0 (64 MB) */
-
-#define MEM_BASE_ASYNC_0 0xB0000000
-#define MEM_END_ASYNC_0 0xB3FFFFFF
-#define MEM_SIZE_ASYNC_0 0x4000000
-
-/* Shared Async Memory Bank 1 (64 MB) */
-
-#define MEM_BASE_ASYNC_1 0xB4000000
-#define MEM_END_ASYNC_1 0xB7FFFFFF
-#define MEM_SIZE_ASYNC_1 0x4000000
-
-/* Shared Async Memory Bank 2 (64 MB) */
-
-#define MEM_BASE_ASYNC_2 0xB8000000
-#define MEM_END_ASYNC_2 0xBBFFFFFF
-#define MEM_SIZE_ASYNC_2 0x4000000
-
-/* Shared Async Memory Bank 3 (64 MB) */
-
-#define MEM_BASE_ASYNC_3 0xBC000000
-#define MEM_END_ASYNC_3 0xBFFFFFFF
-#define MEM_SIZE_ASYNC_3 0x4000000
-
-/* Shared L2 ROM (32 KB) */
-
-#define MEM_BASE_L2_ROM 0xC8000000
-#define MEM_END_L2_ROM 0xC8007FFF
-#define MEM_SIZE_L2_ROM 0x8000
-
-/* Shared L2 SRAM (128 KB) */
-
-#define MEM_BASE_L2_SRAM 0xC8080000
-#define MEM_END_L2_SRAM 0xC809FFFF
-#define MEM_SIZE_L2_SRAM 0x20000
-
-/* Core 1 L1 Data Bank A (32 KB) */
-
-#define MEM_C1_BASE_L1DM_A 0xFF400000
-#define MEM_C1_END_L1DM_A 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A 0x8000
-
-/* Core 1 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM 0xFF400000
-#define MEM_C1_END_L1DM_A_SRAM 0xFF403FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 1 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM_CACHE 0xFF404000
-#define MEM_C1_END_L1DM_A_SRAM_CACHE 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Data Bank B (32 KB) */
-
-#define MEM_C1_BASE_L1DM_B 0xFF500000
-#define MEM_C1_END_L1DM_B 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B 0x8000
-
-/* Core 1 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM 0xFF500000
-#define MEM_C1_END_L1DM_B_SRAM 0xFF503FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 1 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM_CACHE 0xFF504000
-#define MEM_C1_END_L1DM_B_SRAM_CACHE 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Instruction (80 KB) */
-
-#define MEM_C1_BASE_L1IM 0xFF600000
-#define MEM_C1_END_L1IM 0xFF613FFF
-#define MEM_C1_SIZE_L1IM 0x14000
-
-/* Core 1 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM 0xFF600000
-#define MEM_C1_END_L1IM_SRAM 0xFF60FFFF
-#define MEM_C1_SIZE_L1IM_SRAM 0x10000
-
-/* Core 1 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM_CACHE 0xFF610000
-#define MEM_C1_END_L1IM_SRAM_CACHE 0xFF613FFF
-#define MEM_C1_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C1_BASE_L1_XPAD_SRAM 0xFF700000
-#define MEM_C1_END_L1_XPAD_SRAM 0xFF700FFF
-#define MEM_C1_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Core 0 L1 Data Bank A (32 KB) */
-
-#define MEM_C0_BASE_L1DM_A 0xFF800000
-#define MEM_C0_END_L1DM_A 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A 0x8000
-
-/* Core 0 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM 0xFF800000
-#define MEM_C0_END_L1DM_A_SRAM 0xFF803FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 0 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM_CACHE 0xFF804000
-#define MEM_C0_END_L1DM_A_SRAM_CACHE 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Data Bank B (32 KB) */
-
-#define MEM_C0_BASE_L1DM_B 0xFF900000
-#define MEM_C0_END_L1DM_B 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B 0x8000
-
-/* Core 0 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM 0xFF900000
-#define MEM_C0_END_L1DM_B_SRAM 0xFF903FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 0 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM_CACHE 0xFF904000
-#define MEM_C0_END_L1DM_B_SRAM_CACHE 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Instruction (80 KB) */
-
-#define MEM_C0_BASE_L1IM 0xFFA00000
-#define MEM_C0_END_L1IM 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM 0x14000
-
-/* Core 0 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM 0xFFA00000
-#define MEM_C0_END_L1IM_SRAM 0xFFA0FFFF
-#define MEM_C0_SIZE_L1IM_SRAM 0x10000
-
-/* Core 0 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM_CACHE 0xFFA10000
-#define MEM_C0_END_L1IM_SRAM_CACHE 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C0_BASE_L1_XPAD_SRAM 0xFFB00000
-#define MEM_C0_END_L1_XPAD_SRAM 0xFFB00FFF
-#define MEM_C0_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Shared System MMR Registers (2 MB) */
-
-#define MEM_BASE_MMR_SYSTEM 0xFFC00000
-#define MEM_END_MMR_SYSTEM 0xFFDFFFFF
-#define MEM_SIZE_MMR_SYSTEM 0x200000
-
-/* Core 0 Core MMR Registers (2 MB) */
-
-#define MEM_C0_BASE_MMR_CORE 0xFFE00000
-#define MEM_C0_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C0_SIZE_MMR_CORE 0x200000
-
-/* Core 1 Core MMR Registers (2 MB) */
-
-#define MEM_C1_BASE_MMR_CORE 0xFFE00000
-#define MEM_C1_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C1_SIZE_MMR_CORE 0x200000
-
-
-#endif /* end ifndef _DEF_BF606_H */
diff --git a/libgloss/bfin/include/defBF607.h b/libgloss/bfin/include/defBF607.h
deleted file mode 100644
index dd4f49d..0000000
--- a/libgloss/bfin/include/defBF607.h
+++ /dev/null
@@ -1,17724 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* ================================================================================
-
- Project : ADSP-BF607
- File : defBF607.h
- Description : Register Definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ================================================================================ */
-
-#ifndef _DEF_BF607_H
-#define _DEF_BF607_H
-
-#if defined (_MISRA_RULES)
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function-like macros")
-#pragma diag(suppress:misra_rule_19_13:"ADI headers can use the # and ## preprocessor operators")
-#endif /* _MISRA_RULES */
-
-/* do not add casts to literal constants in assembly code */
-#if defined(_LANGUAGE_ASM) || defined(__ASSEMBLER__)
-#define _ADI_MSK( mask, type ) (mask) /* Make a bitmask */
-#else
-#define _ADI_MSK( mask, type ) ((type)(mask)) /* Make a bitmask */
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#ifndef __ADI_GENERATED_DEF_HEADERS__
-#define __ADI_GENERATED_DEF_HEADERS__ 1
-#endif
-
-/* MMR modules defined for the ADSP-BF607 */
-
-#define __ADI_HAS_SYS__ 1
-#define __ADI_HAS_SIMENV__ 1
-#define __ADI_HAS_CNT__ 1
-#define __ADI_HAS_RSI__ 1
-#define __ADI_HAS_CAN__ 1
-#define __ADI_HAS_LP__ 1
-#define __ADI_HAS_TIMER__ 1
-#define __ADI_HAS_CRC__ 1
-#define __ADI_HAS_TWI__ 1
-#define __ADI_HAS_UART__ 1
-#define __ADI_HAS_PORT__ 1
-#define __ADI_HAS_PADS__ 1
-#define __ADI_HAS_PINT__ 1
-#define __ADI_HAS_SMC__ 1
-#define __ADI_HAS_WDOG__ 1
-#define __ADI_HAS_EPPI__ 1
-#define __ADI_HAS_PWM__ 1
-#define __ADI_HAS_VID__ 1
-#define __ADI_HAS_SWU__ 1
-#define __ADI_HAS_SDU__ 1
-#define __ADI_HAS_EMAC__ 1
-#define __ADI_HAS_SPORT__ 1
-#define __ADI_HAS_SPI__ 1
-#define __ADI_HAS_DMA__ 1
-#define __ADI_HAS_ACM__ 1
-#define __ADI_HAS_DMC__ 1
-#define __ADI_HAS_SCB__ 1
-#define __ADI_HAS_L2CTL__ 1
-#define __ADI_HAS_SEC__ 1
-#define __ADI_HAS_TRU__ 1
-#define __ADI_HAS_RCU__ 1
-#define __ADI_HAS_SPU__ 1
-#define __ADI_HAS_CGU__ 1
-#define __ADI_HAS_DPM__ 1
-#define __ADI_HAS_EFS__ 1
-#define __ADI_HAS_USB__ 1
-#define __ADI_HAS_L1DM__ 1
-#define __ADI_HAS_L1IM__ 1
-#define __ADI_HAS_ICU__ 1
-#define __ADI_HAS_TMR__ 1
-#define __ADI_HAS_DBG__ 1
-#define __ADI_HAS_TB__ 1
-#define __ADI_HAS_WP__ 1
-#define __ADI_HAS_PF__ 1
-
-/* =========================
- REGFILE
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ASTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ASTAT_VS 25 /* Sticky version of ASTAT_V */
-#define BITP_ASTAT_V 24 /* Overflow Flag */
-#define BITP_ASTAT_AV1S 19 /* Sticky Overflow Flag 1 */
-#define BITP_ASTAT_AV1 18 /* Overflow Flag 1 */
-#define BITP_ASTAT_AV0S 17 /* Sticky Overflow Flag 0 */
-#define BITP_ASTAT_AV0 16 /* Overflow Flag 0 */
-#define BITP_ASTAT_AC1 13 /* Carry Flag 1 */
-#define BITP_ASTAT_AC0 12 /* Carry Flag 0 */
-#define BITP_ASTAT_RND_MOD 8 /* Rounding Mode */
-#define BITP_ASTAT_AQ 6 /* Quotient Bit */
-#define BITP_ASTAT_CC 5 /* Condition Code */
-#define BITP_ASTAT_V_COPY 3 /* Overflow Flag */
-#define BITP_ASTAT_AC0_COPY 2 /* Carry Flag 0 */
-#define BITP_ASTAT_AN 1 /* Negative Flag */
-#define BITP_ASTAT_AZ 0 /* Zero Flag */
-#define BITM_ASTAT_VS (_ADI_MSK(0x02000000,uint32_t)) /* Sticky version of ASTAT_V */
-#define BITM_ASTAT_V (_ADI_MSK(0x01000000,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AV1S (_ADI_MSK(0x00080000,uint32_t)) /* Sticky Overflow Flag 1 */
-#define BITM_ASTAT_AV1 (_ADI_MSK(0x00040000,uint32_t)) /* Overflow Flag 1 */
-#define BITM_ASTAT_AV0S (_ADI_MSK(0x00020000,uint32_t)) /* Sticky Overflow Flag 0 */
-#define BITM_ASTAT_AV0 (_ADI_MSK(0x00010000,uint32_t)) /* Overflow Flag 0 */
-#define BITM_ASTAT_AC1 (_ADI_MSK(0x00002000,uint32_t)) /* Carry Flag 1 */
-#define BITM_ASTAT_AC0 (_ADI_MSK(0x00001000,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_RND_MOD (_ADI_MSK(0x00000100,uint32_t)) /* Rounding Mode */
-#define BITM_ASTAT_AQ (_ADI_MSK(0x00000040,uint32_t)) /* Quotient Bit */
-#define BITM_ASTAT_CC (_ADI_MSK(0x00000020,uint32_t)) /* Condition Code */
-#define BITM_ASTAT_V_COPY (_ADI_MSK(0x00000008,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AC0_COPY (_ADI_MSK(0x00000004,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_AN (_ADI_MSK(0x00000002,uint32_t)) /* Negative Flag */
-#define BITM_ASTAT_AZ (_ADI_MSK(0x00000001,uint32_t)) /* Zero Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LT_ADDR 1 /* Loop Top Address */
-#define BITP_LT_LSB 0
-#define BITM_LT_ADDR (_ADI_MSK(0xFFFFFFFE,uint32_t)) /* Loop Top Address */
-#define BITM_LT_LSB (_ADI_MSK(0x00000001,uint32_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEQSTAT_NSPECABT 19 /* Nonspeculative access was aborted */
-#define BITP_SEQSTAT_HWERRCAUSE 14 /* Holds cause of last hardware error generated by the core */
-#define BITP_SEQSTAT_SFTRESET 13 /* Indicates whether the last reset was a software reset */
-#define BITP_SEQSTAT_ITESTABT 12 /* ITEST_COMMAND was aborted */
-#define BITP_SEQSTAT_DTESTABT 11 /* DTEST_COMMAND was aborted */
-#define BITP_SEQSTAT_SYSNMI 10 /* System NMI Input Active */
-#define BITP_SEQSTAT_PEIC 9 /* Parity Error on Instruction L1 Read for Core */
-#define BITP_SEQSTAT_PEDC 8 /* Parity Error on Data L1 Read for Core */
-#define BITP_SEQSTAT_PEIX 7 /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_PEDX 6 /* Parity Error on Data L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_EXCAUSE 0 /* Holds cause of last-executed exception */
-#define BITM_SEQSTAT_NSPECABT (_ADI_MSK(0x00080000,uint32_t)) /* Nonspeculative access was aborted */
-#define BITM_SEQSTAT_HWERRCAUSE (_ADI_MSK(0x0007C000,uint32_t)) /* Holds cause of last hardware error generated by the core */
-#define BITM_SEQSTAT_SFTRESET (_ADI_MSK(0x00002000,uint32_t)) /* Indicates whether the last reset was a software reset */
-#define BITM_SEQSTAT_ITESTABT (_ADI_MSK(0x00001000,uint32_t)) /* ITEST_COMMAND was aborted */
-#define BITM_SEQSTAT_DTESTABT (_ADI_MSK(0x00000800,uint32_t)) /* DTEST_COMMAND was aborted */
-#define BITM_SEQSTAT_SYSNMI (_ADI_MSK(0x00000400,uint32_t)) /* System NMI Input Active */
-#define BITM_SEQSTAT_PEIC (_ADI_MSK(0x00000200,uint32_t)) /* Parity Error on Instruction L1 Read for Core */
-#define BITM_SEQSTAT_PEDC (_ADI_MSK(0x00000100,uint32_t)) /* Parity Error on Data L1 Read for Core */
-#define BITM_SEQSTAT_PEIX (_ADI_MSK(0x00000080,uint32_t)) /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITM_SEQSTAT_PEDX (_ADI_MSK(0x00000040,uint32_t)) /* Parity Error on Data L1 Read for L2 Transfer */
-
-#define BITM_SEQSTAT_EXCAUSE (_ADI_MSK(0x0000003F,uint32_t)) /* Holds cause of last-executed exception */
-#define ENUM_SEQSTAT_EXINST (_ADI_MSK(0x00000000,uint32_t)) /* EXCAUSE: EXCPT Instruction */
-#define ENUM_SEQSTAT_SSTEP (_ADI_MSK(0x00000010,uint32_t)) /* EXCAUSE: Single Step */
-#define ENUM_SEQSTAT_EMUTROV (_ADI_MSK(0x00000011,uint32_t)) /* EXCAUSE: Trace Buffer */
-#define ENUM_SEQSTAT_UNDEFINST (_ADI_MSK(0x00000021,uint32_t)) /* EXCAUSE: Undefined Instruction */
-#define ENUM_SEQSTAT_ILLCOMB (_ADI_MSK(0x00000022,uint32_t)) /* EXCAUSE: Illegal Combination */
-#define ENUM_SEQSTAT_DAGPROTVIOL (_ADI_MSK(0x00000023,uint32_t)) /* EXCAUSE: DAG Protection Violation */
-#define ENUM_SEQSTAT_DAGALGN (_ADI_MSK(0x00000024,uint32_t)) /* EXCAUSE: DAG Misaligned Access */
-#define ENUM_SEQSTAT_UNRECOVER (_ADI_MSK(0x00000025,uint32_t)) /* EXCAUSE: Unrecoverable Event */
-#define ENUM_SEQSTAT_DAGCPLBMISS (_ADI_MSK(0x00000026,uint32_t)) /* EXCAUSE: DAG CPLB Miss */
-#define ENUM_SEQSTAT_DAGMCPLBH (_ADI_MSK(0x00000027,uint32_t)) /* EXCAUSE: DAG Multiple CPLB Hits */
-#define ENUM_SEQSTAT_EMUWPMATCH (_ADI_MSK(0x00000028,uint32_t)) /* EXCAUSE: Watchpoint Match */
-#define ENUM_SEQSTAT_IFALGN (_ADI_MSK(0x0000002A,uint32_t)) /* EXCAUSE: I-Fetch Misaligned Access */
-#define ENUM_SEQSTAT_IFPROTVIOL (_ADI_MSK(0x0000002B,uint32_t)) /* EXCAUSE: I-Fetch Protection Violation */
-#define ENUM_SEQSTAT_IFCPLBMISS (_ADI_MSK(0x0000002C,uint32_t)) /* EXCAUSE: I-Fetch CPLB Miss */
-#define ENUM_SEQSTAT_IFMCPLBH (_ADI_MSK(0x0000002D,uint32_t)) /* EXCAUSE: I-Fetch Multiple CPLB Hits */
-#define ENUM_SEQSTAT_PROTVIOL (_ADI_MSK(0x0000002E,uint32_t)) /* EXCAUSE: Illegal use superv. res */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SYSCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SYSCFG_SNEN 2 /* Self-Nesting Interrupt Enable */
-#define BITP_SYSCFG_CCEN 1 /* Enable cycle counter */
-#define BITP_SYSCFG_SSSTEP 0 /* Supervisor single step */
-#define BITM_SYSCFG_SNEN (_ADI_MSK(0x00000004,uint32_t)) /* Self-Nesting Interrupt Enable */
-#define BITM_SYSCFG_CCEN (_ADI_MSK(0x00000002,uint32_t)) /* Enable cycle counter */
-#define BITM_SYSCFG_SSSTEP (_ADI_MSK(0x00000001,uint32_t)) /* Supervisor single step */
-
-/* ==================================================
- CNT Registers
- ================================================== */
-
-/* =========================
- CNT0
- ========================= */
-#define REG_CNT0_CFG 0xFFC00400 /* CNT0 Configuration Register */
-#define REG_CNT0_IMSK 0xFFC00404 /* CNT0 Interrupt Mask Register */
-#define REG_CNT0_STAT 0xFFC00408 /* CNT0 Status Register */
-#define REG_CNT0_CMD 0xFFC0040C /* CNT0 Command Register */
-#define REG_CNT0_DEBNCE 0xFFC00410 /* CNT0 Debounce Register */
-#define REG_CNT0_CNTR 0xFFC00414 /* CNT0 Counter Register */
-#define REG_CNT0_MAX 0xFFC00418 /* CNT0 Maximum Count Register */
-#define REG_CNT0_MIN 0xFFC0041C /* CNT0 Minimum Count Register */
-
-/* =========================
- CNT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CFG_INPDIS 15 /* CUD and CDG Pin Input Disable */
-#define BITP_CNT_CFG_BNDMODE 12 /* Boundary Register Mode */
-#define BITP_CNT_CFG_ZMZC 11 /* CZM Zeroes Counter Enable */
-#define BITP_CNT_CFG_CNTMODE 8 /* Counter Operating Mode */
-#define BITP_CNT_CFG_CZMINV 6 /* CZM Pin Polarity Invert */
-#define BITP_CNT_CFG_CUDINV 5 /* CUD Pin Polarity Invert */
-#define BITP_CNT_CFG_CDGINV 4 /* CDG Pin Polarity Invert */
-#define BITP_CNT_CFG_DEBEN 1 /* Debounce Enable */
-#define BITP_CNT_CFG_EN 0 /* Counter Enable */
-
-#define BITM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* CUD and CDG Pin Input Disable */
-#define ENUM_CNT_CFG_NO_INPDIS (_ADI_MSK(0x00000000,uint16_t)) /* INPDIS: Enable */
-#define ENUM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* INPDIS: Pin Input Disable */
-
-#define BITM_CNT_CFG_BNDMODE (_ADI_MSK(0x00003000,uint16_t)) /* Boundary Register Mode */
-#define ENUM_CNT_CFG_BNDMODE_BNDCOMP (_ADI_MSK(0x00000000,uint16_t)) /* BNDMODE: BND_COMP */
-#define ENUM_CNT_CFG_BNDMODE_BINENC (_ADI_MSK(0x00001000,uint16_t)) /* BNDMODE: BIN_ENC */
-#define ENUM_CNT_CFG_BNDMODE_BNDCAPT (_ADI_MSK(0x00002000,uint16_t)) /* BNDMODE: BND_CAPT */
-#define ENUM_CNT_CFG_BNDMODE_BNDAEXT (_ADI_MSK(0x00003000,uint16_t)) /* BNDMODE: BND_AEXT */
-
-#define BITM_CNT_CFG_ZMZC (_ADI_MSK(0x00000800,uint16_t)) /* CZM Zeroes Counter Enable */
-#define ENUM_CNT_CFG_ZMZC_DIS (_ADI_MSK(0x00000000,uint16_t)) /* ZMZC: Disable */
-#define ENUM_CNT_CFG_ZMZC_EN (_ADI_MSK(0x00000800,uint16_t)) /* ZMZC: Enable */
-
-#define BITM_CNT_CFG_CNTMODE (_ADI_MSK(0x00000700,uint16_t)) /* Counter Operating Mode */
-#define ENUM_CNT_CFG_CNTMODE_QUADENC (_ADI_MSK(0x00000000,uint16_t)) /* CNTMODE: QUAD_ENC */
-#define ENUM_CNT_CFG_CNTMODE_BINENC (_ADI_MSK(0x00000100,uint16_t)) /* CNTMODE: BIN_ENC */
-#define ENUM_CNT_CFG_CNTMODE_UDCNT (_ADI_MSK(0x00000200,uint16_t)) /* CNTMODE: UD_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRCNT (_ADI_MSK(0x00000400,uint16_t)) /* CNTMODE: DIR_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRTMR (_ADI_MSK(0x00000500,uint16_t)) /* CNTMODE: DIR_TMR */
-
-#define BITM_CNT_CFG_CZMINV (_ADI_MSK(0x00000040,uint16_t)) /* CZM Pin Polarity Invert */
-#define ENUM_CNT_CFG_CZMINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CZMINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CZMINV_ALO (_ADI_MSK(0x00000040,uint16_t)) /* CZMINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CUDINV (_ADI_MSK(0x00000020,uint16_t)) /* CUD Pin Polarity Invert */
-#define ENUM_CNT_CFG_CUDINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CUDINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CUDINV_ALO (_ADI_MSK(0x00000020,uint16_t)) /* CUDINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CDGINV (_ADI_MSK(0x00000010,uint16_t)) /* CDG Pin Polarity Invert */
-#define ENUM_CNT_CFG_CDGINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CDGINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CDGINV_ALO (_ADI_MSK(0x00000010,uint16_t)) /* CDGINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* Debounce Enable */
-#define ENUM_CNT_CFG_DEBDIS (_ADI_MSK(0x00000000,uint16_t)) /* DEBEN: Disable */
-#define ENUM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* DEBEN: Enable */
-
-#define BITM_CNT_CFG_EN (_ADI_MSK(0x00000001,uint16_t)) /* Counter Enable */
-#define ENUM_CNT_CFG_CNTDIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Counter Disable */
-#define ENUM_CNT_CFG_CNTEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Counter Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_IMSK_CZMZ 10 /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define BITP_CNT_IMSK_CZME 9 /* Zero Marker Error Interrupt Enable */
-#define BITP_CNT_IMSK_CZM 8 /* CZM Pin / Pushbutton Interrupt Enable */
-#define BITP_CNT_IMSK_CZERO 7 /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define BITP_CNT_IMSK_COV15 6 /* Bit 15 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_COV31 5 /* Bit 31 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_MAXC 4 /* Max Count Interrupt Enable */
-#define BITP_CNT_IMSK_MINC 3 /* Min Count Interrupt Enable */
-#define BITP_CNT_IMSK_DC 2 /* Downcount Interrupt enable */
-#define BITP_CNT_IMSK_UC 1 /* Upcount Interrupt Enable */
-#define BITP_CNT_IMSK_IC 0 /* Illegal Gray/Binary Code Interrupt Enable */
-
-#define BITM_CNT_IMSK_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define ENUM_CNT_IMSK_CZMZ_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZMZ: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZMZ_UMSK (_ADI_MSK(0x00000400,uint16_t)) /* CZMZ: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error Interrupt Enable */
-#define ENUM_CNT_IMSK_CZME_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZME: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZME_UMSK (_ADI_MSK(0x00000200,uint16_t)) /* CZME: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin / Pushbutton Interrupt Enable */
-#define ENUM_CNT_IMSK_CZM_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZM: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZM_UMSK (_ADI_MSK(0x00000100,uint16_t)) /* CZM: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define ENUM_CNT_IMSK_CZERO_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZERO: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZERO_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* CZERO: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV15_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV15: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV15_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* COV15: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV31_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV31: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV31_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* COV31: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MAXC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MAXC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MAXC_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MAXC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MINC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MINC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MINC_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* MINC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount Interrupt enable */
-#define ENUM_CNT_IMSK_DC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* DC: Mask Interrupt */
-#define ENUM_CNT_IMSK_DC_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* DC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount Interrupt Enable */
-#define ENUM_CNT_IMSK_UC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* UC: Mask Interrupt */
-#define ENUM_CNT_IMSK_UC_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* UC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal Gray/Binary Code Interrupt Enable */
-#define ENUM_CNT_IMSK_IC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* IC: Mask Interrupt */
-#define ENUM_CNT_IMSK_IC_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* IC: Unmask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_STAT_CZMZ 10 /* Counter Zeroed By Zero Marker interrupt */
-#define BITP_CNT_STAT_CZME 9 /* Zero Marker Error interrupt */
-#define BITP_CNT_STAT_CZM 8 /* CZM Pin/Pushbutton interrupt */
-#define BITP_CNT_STAT_CZERO 7 /* CNT_CNTR Counts To Zero interrupt */
-#define BITP_CNT_STAT_COV15 6 /* Bit 15 overflow interrupt */
-#define BITP_CNT_STAT_COV31 5 /* Bit 31 overflow interrupt */
-#define BITP_CNT_STAT_MAXC 4 /* Max interrupt */
-#define BITP_CNT_STAT_MINC 3 /* Min interrupt */
-#define BITP_CNT_STAT_DC 2 /* Downcount interrupt */
-#define BITP_CNT_STAT_UC 1 /* Upcount interrupt */
-#define BITP_CNT_STAT_IC 0 /* Illegal gray/binary code interrupt */
-#define BITM_CNT_STAT_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed By Zero Marker interrupt */
-#define BITM_CNT_STAT_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error interrupt */
-#define BITM_CNT_STAT_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin/Pushbutton interrupt */
-#define BITM_CNT_STAT_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero interrupt */
-#define BITM_CNT_STAT_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 overflow interrupt */
-#define BITM_CNT_STAT_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 overflow interrupt */
-#define BITM_CNT_STAT_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max interrupt */
-#define BITM_CNT_STAT_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min interrupt */
-#define BITM_CNT_STAT_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount interrupt */
-#define BITM_CNT_STAT_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount interrupt */
-#define BITM_CNT_STAT_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal gray/binary code interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CMD_W1ZMONCE 12 /* Write 1 Zero Marker Clear Once Enable */
-#define BITP_CNT_CMD_W1LMAXMIN 10 /* Write 1 MAX copy from MIN */
-#define BITP_CNT_CMD_W1LMAXCNT 9 /* Write 1 MAX capture from CNTR */
-#define BITP_CNT_CMD_W1LMAXZERO 8 /* Write 1 MAX to zero */
-#define BITP_CNT_CMD_W1LMINMAX 7 /* Write 1 MIN copy from MAX */
-#define BITP_CNT_CMD_W1LMINCNT 5 /* Write 1 MIN capture from CNTR */
-#define BITP_CNT_CMD_W1LMINZERO 4 /* Write 1 MIN to zero */
-#define BITP_CNT_CMD_W1LCNTMAX 3 /* Write 1 CNTR load from MAX */
-#define BITP_CNT_CMD_W1LCNTMIN 2 /* Write 1 CNTR load from MIN */
-#define BITP_CNT_CMD_W1LCNTZERO 0 /* Write 1 CNTR to zero */
-#define BITM_CNT_CMD_W1ZMONCE (_ADI_MSK(0x00001000,uint16_t)) /* Write 1 Zero Marker Clear Once Enable */
-#define BITM_CNT_CMD_W1LMAXMIN (_ADI_MSK(0x00000400,uint16_t)) /* Write 1 MAX copy from MIN */
-#define BITM_CNT_CMD_W1LMAXCNT (_ADI_MSK(0x00000200,uint16_t)) /* Write 1 MAX capture from CNTR */
-#define BITM_CNT_CMD_W1LMAXZERO (_ADI_MSK(0x00000100,uint16_t)) /* Write 1 MAX to zero */
-#define BITM_CNT_CMD_W1LMINMAX (_ADI_MSK(0x00000080,uint16_t)) /* Write 1 MIN copy from MAX */
-#define BITM_CNT_CMD_W1LMINCNT (_ADI_MSK(0x00000020,uint16_t)) /* Write 1 MIN capture from CNTR */
-#define BITM_CNT_CMD_W1LMINZERO (_ADI_MSK(0x00000010,uint16_t)) /* Write 1 MIN to zero */
-#define BITM_CNT_CMD_W1LCNTMAX (_ADI_MSK(0x00000008,uint16_t)) /* Write 1 CNTR load from MAX */
-#define BITM_CNT_CMD_W1LCNTMIN (_ADI_MSK(0x00000004,uint16_t)) /* Write 1 CNTR load from MIN */
-#define BITM_CNT_CMD_W1LCNTZERO (_ADI_MSK(0x00000001,uint16_t)) /* Write 1 CNTR to zero */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_DEBNCE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_DEBNCE_DPRESCALE 0 /* Debounce Prescale */
-#define BITM_CNT_DEBNCE_DPRESCALE (_ADI_MSK(0x0000001F,uint16_t)) /* Debounce Prescale */
-
-/* ==================================================
- RSI Registers
- ================================================== */
-
-/* =========================
- RSI0
- ========================= */
-#define REG_RSI0_CTL 0xFFC00604 /* RSI0 Control Register */
-#define REG_RSI0_ARG 0xFFC00608 /* RSI0 Argument Register */
-#define REG_RSI0_CMD 0xFFC0060C /* RSI0 Command Register */
-#define REG_RSI0_RESP_CMD 0xFFC00610 /* RSI0 Response Command Register */
-#define REG_RSI0_RESP0 0xFFC00614 /* RSI0 Response 0 Register */
-#define REG_RSI0_RESP1 0xFFC00618 /* RSI0 Response 1 Register */
-#define REG_RSI0_RESP2 0xFFC0061C /* RSI0 Response 2 Register */
-#define REG_RSI0_RESP3 0xFFC00620 /* RSI0 Response 3 Register */
-#define REG_RSI0_DATA_TMR 0xFFC00624 /* RSI0 Data Timer Register */
-#define REG_RSI0_DATA_LEN 0xFFC00628 /* RSI0 Data Length Register */
-#define REG_RSI0_DATA_CTL 0xFFC0062C /* RSI0 Data Control Register */
-#define REG_RSI0_DATA_CNT 0xFFC00630 /* RSI0 Data Count Register */
-#define REG_RSI0_XFRSTAT 0xFFC00634 /* RSI0 Status Register */
-#define REG_RSI0_XFRSTAT_CLR 0xFFC00638 /* RSI0 Status Clear Register */
-#define REG_RSI0_XFR_IMSK0 0xFFC0063C /* RSI0 Interrupt 0 Mask Register */
-#define REG_RSI0_XFR_IMSK1 0xFFC00640 /* RSI0 Interrupt 1 Mask Register */
-#define REG_RSI0_FIFO_CNT 0xFFC00648 /* RSI0 FIFO Counter Register */
-#define REG_RSI0_CEATA 0xFFC0064C /* RSI0 This register contains bit to dis CCS gen */
-#define REG_RSI0_BOOT_TCNTR 0xFFC00650 /* RSI0 Boot Timing Counter Register */
-#define REG_RSI0_BACK_TOUT 0xFFC00654 /* RSI0 Boot Acknowledge Timeout Register */
-#define REG_RSI0_SLP_WKUP_TOUT 0xFFC00658 /* RSI0 Sleep Wakeup Timeout Register */
-#define REG_RSI0_BLKSZ 0xFFC0065C /* RSI0 Block Size Register */
-#define REG_RSI0_FIFO 0xFFC00680 /* RSI0 Data FIFO Register */
-#define REG_RSI0_STAT0 0xFFC006C0 /* RSI0 Exception Status Register */
-#define REG_RSI0_IMSK0 0xFFC006C4 /* RSI0 Exception Mask Register */
-#define REG_RSI0_CFG 0xFFC006C8 /* RSI0 Configuration Register */
-#define REG_RSI0_RD_WAIT 0xFFC006CC /* RSI0 Read Wait Enable Register */
-#define REG_RSI0_PID0 0xFFC006D0 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID1 0xFFC006D4 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID2 0xFFC006D8 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID3 0xFFC006DC /* RSI0 Peripheral Identification Register */
-
-/* =========================
- RSI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CTL_CARDTYPE 13 /* Type of Card */
-#define BITP_RSI_CTL_BUSWID 11 /* Wide Bus Mode Enable */
-#define BITP_RSI_CTL_BYPASS 10 /* Bypass clock divisor */
-#define BITP_RSI_CTL_PWRSAVE 9 /* Power Save Enable */
-#define BITP_RSI_CTL_CLKEN 8 /* RSI_CLK Bus Clock Enable */
-#define BITP_RSI_CTL_CLKDIV 0 /* RSI_CLK Divisor */
-#define BITM_RSI_CTL_CARDTYPE (_ADI_MSK(0x0000E000,uint16_t)) /* Type of Card */
-#define BITM_RSI_CTL_BUSWID (_ADI_MSK(0x00001800,uint16_t)) /* Wide Bus Mode Enable */
-#define BITM_RSI_CTL_BYPASS (_ADI_MSK(0x00000400,uint16_t)) /* Bypass clock divisor */
-#define BITM_RSI_CTL_PWRSAVE (_ADI_MSK(0x00000200,uint16_t)) /* Power Save Enable */
-#define BITM_RSI_CTL_CLKEN (_ADI_MSK(0x00000100,uint16_t)) /* RSI_CLK Bus Clock Enable */
-#define BITM_RSI_CTL_CLKDIV (_ADI_MSK(0x000000FF,uint16_t)) /* RSI_CLK Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CMD_CHKBUSY 12 /* Check Busy Condition */
-#define BITP_RSI_CMD_CRCDIS 11 /* Disable CRC Check */
-#define BITP_RSI_CMD_EN 10 /* Command Enable */
-#define BITP_RSI_CMD_PNDEN 9 /* Command Pending enabled */
-#define BITP_RSI_CMD_IEN 8 /* Command Interrupt Enabled */
-#define BITP_RSI_CMD_LRSP 7 /* Long Response */
-#define BITP_RSI_CMD_RSP 6 /* Response */
-#define BITP_RSI_CMD_IDX 0 /* Command Index */
-#define BITM_RSI_CMD_CHKBUSY (_ADI_MSK(0x00001000,uint16_t)) /* Check Busy Condition */
-#define BITM_RSI_CMD_CRCDIS (_ADI_MSK(0x00000800,uint16_t)) /* Disable CRC Check */
-#define BITM_RSI_CMD_EN (_ADI_MSK(0x00000400,uint16_t)) /* Command Enable */
-#define BITM_RSI_CMD_PNDEN (_ADI_MSK(0x00000200,uint16_t)) /* Command Pending enabled */
-#define BITM_RSI_CMD_IEN (_ADI_MSK(0x00000100,uint16_t)) /* Command Interrupt Enabled */
-#define BITM_RSI_CMD_LRSP (_ADI_MSK(0x00000080,uint16_t)) /* Long Response */
-#define BITM_RSI_CMD_RSP (_ADI_MSK(0x00000040,uint16_t)) /* Response */
-#define BITM_RSI_CMD_IDX (_ADI_MSK(0x0000003F,uint16_t)) /* Command Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RESP_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RESP_CMD_VALUE 0 /* Response Command */
-#define BITM_RSI_RESP_CMD_VALUE (_ADI_MSK(0x0000003F,uint16_t)) /* Response Command */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_DATA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_DATA_CTL_CEATAIEN 9 /* Ceata Command Completion Interrupt Enable */
-#define BITP_RSI_DATA_CTL_CEATAMODE 8 /* Ceata Mode enable */
-#define BITP_RSI_DATA_CTL_DMAEN 3 /* Data Transfer DMA Enable */
-#define BITP_RSI_DATA_CTL_DATMODE 2 /* Data Transfer Mode */
-#define BITP_RSI_DATA_CTL_DATDIR 1 /* Data Transfer Direction */
-#define BITP_RSI_DATA_CTL_DATEN 0 /* Data Transfer Enable */
-#define BITM_RSI_DATA_CTL_CEATAIEN (_ADI_MSK(0x00000200,uint16_t)) /* Ceata Command Completion Interrupt Enable */
-#define BITM_RSI_DATA_CTL_CEATAMODE (_ADI_MSK(0x00000100,uint16_t)) /* Ceata Mode enable */
-#define BITM_RSI_DATA_CTL_DMAEN (_ADI_MSK(0x00000008,uint16_t)) /* Data Transfer DMA Enable */
-#define BITM_RSI_DATA_CTL_DATMODE (_ADI_MSK(0x00000004,uint16_t)) /* Data Transfer Mode */
-#define BITM_RSI_DATA_CTL_DATDIR (_ADI_MSK(0x00000002,uint16_t)) /* Data Transfer Direction */
-#define BITM_RSI_DATA_CTL_DATEN (_ADI_MSK(0x00000001,uint16_t)) /* Data Transfer Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_RXFIFORDY 21 /* Receive FIFO Available */
-#define BITP_RSI_XFRSTAT_TXFIFORDY 20 /* Transmit FIFO Available */
-#define BITP_RSI_XFRSTAT_RXFIFOZERO 19 /* Receive FIFO Empty */
-#define BITP_RSI_XFRSTAT_TXFIFOZERO 18 /* Transmit FIFO Empty */
-#define BITP_RSI_XFRSTAT_RXFIFOFULL 17 /* Receive FIFO Full */
-#define BITP_RSI_XFRSTAT_TXFIFOFULL 16 /* Transmit FIFO Full */
-#define BITP_RSI_XFRSTAT_RXFIFOSTAT 15 /* Receive FIFO Status */
-#define BITP_RSI_XFRSTAT_TXFIFOSTAT 14 /* Transmit FIFO Status */
-#define BITP_RSI_XFRSTAT_RXACT 13 /* Receive Active */
-#define BITP_RSI_XFRSTAT_TXACT 12 /* Transmit Active */
-#define BITP_RSI_XFRSTAT_CMDACT 11 /* Command Active */
-#define BITP_RSI_XFRSTAT_DATBLKEND 10 /* Data Block End */
-#define BITP_RSI_XFRSTAT_SBITERR 9 /* Start Bit Error */
-#define BITP_RSI_XFRSTAT_DATEND 8 /* Data End */
-#define BITP_RSI_XFRSTAT_CMDSENT 7 /* Command Sent */
-#define BITP_RSI_XFRSTAT_RESPEND 6 /* Command Response End */
-#define BITP_RSI_XFRSTAT_RXOVER 5 /* Receive Over run */
-#define BITP_RSI_XFRSTAT_TXUNDR 4 /* Transmit Under run */
-#define BITP_RSI_XFRSTAT_DATTO 3 /* Data Timeout */
-#define BITP_RSI_XFRSTAT_CMDTO 2 /* CMD Timeout */
-#define BITP_RSI_XFRSTAT_DATCRCFAIL 1 /* Data CRC Fail */
-#define BITP_RSI_XFRSTAT_CMDCRCFAIL 0 /* CMD CRC Fail */
-#define BITM_RSI_XFRSTAT_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Receive FIFO Available */
-#define BITM_RSI_XFRSTAT_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Transmit FIFO Available */
-#define BITM_RSI_XFRSTAT_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Receive FIFO Empty */
-#define BITM_RSI_XFRSTAT_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Transmit FIFO Empty */
-#define BITM_RSI_XFRSTAT_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Full */
-#define BITM_RSI_XFRSTAT_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Transmit FIFO Full */
-#define BITM_RSI_XFRSTAT_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Receive FIFO Status */
-#define BITM_RSI_XFRSTAT_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Transmit FIFO Status */
-#define BITM_RSI_XFRSTAT_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Receive Active */
-#define BITM_RSI_XFRSTAT_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Transmit Active */
-#define BITM_RSI_XFRSTAT_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Command Active */
-#define BITM_RSI_XFRSTAT_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Data Block End */
-#define BITM_RSI_XFRSTAT_SBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Start Bit Error */
-#define BITM_RSI_XFRSTAT_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Data End */
-#define BITM_RSI_XFRSTAT_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Command Sent */
-#define BITM_RSI_XFRSTAT_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Command Response End */
-#define BITM_RSI_XFRSTAT_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Receive Over run */
-#define BITM_RSI_XFRSTAT_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Transmit Under run */
-#define BITM_RSI_XFRSTAT_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Data Timeout */
-#define BITM_RSI_XFRSTAT_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* CMD Timeout */
-#define BITM_RSI_XFRSTAT_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Data CRC Fail */
-#define BITM_RSI_XFRSTAT_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_CLR_DATBLKEND 10 /* Data Block End Status */
-#define BITP_RSI_XFRSTAT_CLR_STRTBITERR 9 /* Start Bit Error Status */
-#define BITP_RSI_XFRSTAT_CLR_DATEND 8 /* Data End Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDSENT 7 /* Command Sent Status */
-#define BITP_RSI_XFRSTAT_CLR_RESPEND 6 /* Command Response End Status */
-#define BITP_RSI_XFRSTAT_CLR_RXOVER 5 /* Receive Over run Status */
-#define BITP_RSI_XFRSTAT_CLR_TXUNDR 4 /* Transmit Under run Status */
-#define BITP_RSI_XFRSTAT_CLR_DATTO 3 /* Data Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDTO 2 /* CMD Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_DATCRCFAIL 1 /* Data CRC Fail Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDCRCFAIL 0 /* CMD CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_DATBLKEND (_ADI_MSK(0x00000400,uint16_t)) /* Data Block End Status */
-#define BITM_RSI_XFRSTAT_CLR_STRTBITERR (_ADI_MSK(0x00000200,uint16_t)) /* Start Bit Error Status */
-#define BITM_RSI_XFRSTAT_CLR_DATEND (_ADI_MSK(0x00000100,uint16_t)) /* Data End Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDSENT (_ADI_MSK(0x00000080,uint16_t)) /* Command Sent Status */
-#define BITM_RSI_XFRSTAT_CLR_RESPEND (_ADI_MSK(0x00000040,uint16_t)) /* Command Response End Status */
-#define BITM_RSI_XFRSTAT_CLR_RXOVER (_ADI_MSK(0x00000020,uint16_t)) /* Receive Over run Status */
-#define BITM_RSI_XFRSTAT_CLR_TXUNDR (_ADI_MSK(0x00000010,uint16_t)) /* Transmit Under run Status */
-#define BITM_RSI_XFRSTAT_CLR_DATTO (_ADI_MSK(0x00000008,uint16_t)) /* Data Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDTO (_ADI_MSK(0x00000004,uint16_t)) /* CMD Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_DATCRCFAIL (_ADI_MSK(0x00000002,uint16_t)) /* Data CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDCRCFAIL (_ADI_MSK(0x00000001,uint16_t)) /* CMD CRC Fail Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK0_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK0_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK0_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK0_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK0_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK0_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK0_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK0_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK0_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK0_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK0_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK0_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK0_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK0_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK0_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK0_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK0_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK0_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK0_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK0_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK0_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK0_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK0_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK0_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK0_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK0_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK0_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK0_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK0_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK0_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK0_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK0_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK0_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK0_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK0_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK0_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK0_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK0_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK0_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK0_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK1_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK1_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK1_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK1_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK1_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK1_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK1_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK1_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK1_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK1_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK1_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK1_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK1_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK1_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK1_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK1_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK1_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK1_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK1_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK1_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK1_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK1_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK1_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK1_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK1_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK1_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK1_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK1_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK1_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK1_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK1_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK1_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK1_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK1_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK1_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK1_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK1_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK1_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK1_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK1_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_FIFO_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_FIFO_CNT_VALUE 0 /* FIFO Count */
-#define BITM_RSI_FIFO_CNT_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* FIFO Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CEATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CEATA_INT_DIS 0 /* CEATA Disable Interrupt */
-#define BITM_RSI_CEATA_INT_DIS (_ADI_MSK(0x00000001,uint32_t)) /* CEATA Disable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BOOT_TCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BOOT_TCNTR_HOLD 8 /* Boot Hold Time */
-#define BITP_RSI_BOOT_TCNTR_SETUP 0 /* Boot Setup Time */
-#define BITM_RSI_BOOT_TCNTR_HOLD (_ADI_MSK(0x0000FF00,uint16_t)) /* Boot Hold Time */
-#define BITM_RSI_BOOT_TCNTR_SETUP (_ADI_MSK(0x000000FF,uint16_t)) /* Boot Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BLKSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BLKSZ_VALUE 0 /* Size of Each Block of Data */
-#define BITM_RSI_BLKSZ_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Size of Each Block of Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_STAT0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_STAT0_BUSYMODE 31 /* Card is in Busy mode */
-#define BITP_RSI_STAT0_SLPMODE 30 /* Card in Sleep Mode */
-#define BITP_RSI_STAT0_CARDRDY 17 /* Card Ready */
-#define BITP_RSI_STAT0_SLPWKPTOUT 16 /* Sleep Wakeup Timer Expired */
-#define BITP_RSI_STAT0_WKPDONE 15 /* Card Entered Standby state */
-#define BITP_RSI_STAT0_SLPDONE 14 /* Card Entered Sleep State */
-#define BITP_RSI_STAT0_BACKDONE 13 /* Correct Boot Ack is received */
-#define BITP_RSI_STAT0_BACKBAD 12 /* Boot Ack received is corrupted */
-#define BITP_RSI_STAT0_BACKTO 11 /* Boot Acknowledge Timeout */
-#define BITP_RSI_STAT0_BDATTO 10 /* Boot Data Timeout */
-#define BITP_RSI_STAT0_BHOLDEXP 9 /* Boot Hold Time Expiry */
-#define BITP_RSI_STAT0_BSETUPEXP 8 /* Boot Setup Time Expiry */
-#define BITP_RSI_STAT0_CEATAINT 5 /* CEATA Interrupt */
-#define BITP_RSI_STAT0_SDCARD 4 /* SD Card Detected */
-#define BITP_RSI_STAT0_SDIOINT 1 /* SDIO Interrupt */
-#define BITM_RSI_STAT0_BUSYMODE (_ADI_MSK(0x80000000,uint32_t)) /* Card is in Busy mode */
-#define BITM_RSI_STAT0_SLPMODE (_ADI_MSK(0x40000000,uint32_t)) /* Card in Sleep Mode */
-#define BITM_RSI_STAT0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Card Ready */
-#define BITM_RSI_STAT0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Sleep Wakeup Timer Expired */
-#define BITM_RSI_STAT0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Card Entered Standby state */
-#define BITM_RSI_STAT0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Card Entered Sleep State */
-#define BITM_RSI_STAT0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Correct Boot Ack is received */
-#define BITM_RSI_STAT0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Boot Ack received is corrupted */
-#define BITM_RSI_STAT0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Boot Acknowledge Timeout */
-#define BITM_RSI_STAT0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Boot Data Timeout */
-#define BITM_RSI_STAT0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Boot Hold Time Expiry */
-#define BITM_RSI_STAT0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Boot Setup Time Expiry */
-#define BITM_RSI_STAT0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* CEATA Interrupt */
-#define BITM_RSI_STAT0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* SD Card Detected */
-#define BITM_RSI_STAT0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_IMSK0_CARDRDY 17 /* Mask Interrupt for Card Ready */
-#define BITP_RSI_IMSK0_SLPWKPTOUT 16 /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITP_RSI_IMSK0_WKPDONE 15 /* Mask Interrupt for Card Entered Standby state */
-#define BITP_RSI_IMSK0_SLPDONE 14 /* Mask Interrupt for Card Entered Sleep State */
-#define BITP_RSI_IMSK0_BACKDONE 13 /* Mask Interrupt for Correct Boot Ack is received */
-#define BITP_RSI_IMSK0_BACKBAD 12 /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITP_RSI_IMSK0_BACKTO 11 /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITP_RSI_IMSK0_BDATTO 10 /* Mask Interrupt for Boot Data Timeout */
-#define BITP_RSI_IMSK0_BHOLDEXP 9 /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITP_RSI_IMSK0_BSETUPEXP 8 /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITP_RSI_IMSK0_CEATAINT 5 /* Mask CEATA Interrupt */
-#define BITP_RSI_IMSK0_SDCARD 4 /* Mask Interrupt for SD Card Detected */
-#define BITP_RSI_IMSK0_SDIOINT 1 /* Mask SDIO Interrupt */
-#define BITM_RSI_IMSK0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Mask Interrupt for Card Ready */
-#define BITM_RSI_IMSK0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITM_RSI_IMSK0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Mask Interrupt for Card Entered Standby state */
-#define BITM_RSI_IMSK0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Mask Interrupt for Card Entered Sleep State */
-#define BITM_RSI_IMSK0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Mask Interrupt for Correct Boot Ack is received */
-#define BITM_RSI_IMSK0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITM_RSI_IMSK0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITM_RSI_IMSK0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Mask Interrupt for Boot Data Timeout */
-#define BITM_RSI_IMSK0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITM_RSI_IMSK0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITM_RSI_IMSK0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* Mask CEATA Interrupt */
-#define BITM_RSI_IMSK0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* Mask Interrupt for SD Card Detected */
-#define BITM_RSI_IMSK0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* Mask SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CFG_BACKEN 14 /* Boot Acknowledge enabled */
-#define BITP_RSI_CFG_MMCBMODE 13 /* MMC Boot Mode select */
-#define BITP_RSI_CFG_MMCBEN 12 /* MMC Boot Enabled */
-#define BITP_RSI_CFG_OPENDRAIN 11 /* MC_CMD Output Control */
-#define BITP_RSI_CFG_PWRON 9 /* 11 - RSI Enabled */
-#define BITP_RSI_CFG_IEBYPDIS 8 /* Disabled IE Bypass */
-#define BITP_RSI_CFG_DAT3PUP 6 /* Pull-Up SD_DAT3 */
-#define BITP_RSI_CFG_DATPUP 5 /* Pull-Up SD_DAT */
-#define BITP_RSI_CFG_RST 4 /* SDMMC Reset */
-#define BITP_RSI_CFG_MWINEN 3 /* Moving Window Enable */
-#define BITP_RSI_CFG_SD4EN 2 /* SDIO 4-Bit Enable */
-#define BITP_RSI_CFG_CLKSEN 0 /* Clocks Enable */
-#define BITM_RSI_CFG_BACKEN (_ADI_MSK(0x00004000,uint16_t)) /* Boot Acknowledge enabled */
-#define BITM_RSI_CFG_MMCBMODE (_ADI_MSK(0x00002000,uint16_t)) /* MMC Boot Mode select */
-#define BITM_RSI_CFG_MMCBEN (_ADI_MSK(0x00001000,uint16_t)) /* MMC Boot Enabled */
-#define BITM_RSI_CFG_OPENDRAIN (_ADI_MSK(0x00000800,uint16_t)) /* MC_CMD Output Control */
-#define BITM_RSI_CFG_PWRON (_ADI_MSK(0x00000600,uint16_t)) /* 11 - RSI Enabled */
-#define BITM_RSI_CFG_IEBYPDIS (_ADI_MSK(0x00000100,uint16_t)) /* Disabled IE Bypass */
-#define BITM_RSI_CFG_DAT3PUP (_ADI_MSK(0x00000040,uint16_t)) /* Pull-Up SD_DAT3 */
-#define BITM_RSI_CFG_DATPUP (_ADI_MSK(0x00000020,uint16_t)) /* Pull-Up SD_DAT */
-#define BITM_RSI_CFG_RST (_ADI_MSK(0x00000010,uint16_t)) /* SDMMC Reset */
-#define BITM_RSI_CFG_MWINEN (_ADI_MSK(0x00000008,uint16_t)) /* Moving Window Enable */
-#define BITM_RSI_CFG_SD4EN (_ADI_MSK(0x00000004,uint16_t)) /* SDIO 4-Bit Enable */
-#define BITM_RSI_CFG_CLKSEN (_ADI_MSK(0x00000001,uint16_t)) /* Clocks Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RD_WAIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RD_WAIT_REQUEST 0 /* Read Wait Request */
-#define BITM_RSI_RD_WAIT_REQUEST (_ADI_MSK(0x00000001,uint16_t)) /* Read Wait Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID0_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID0_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID1_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID1_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID2_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID2_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID3_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID3_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ==================================================
- Controller Area Network Registers
- ================================================== */
-
-/* =========================
- CAN0
- ========================= */
-#define REG_CAN0_MC1 0xFFC00A00 /* CAN0 Mailbox Configuration 1 Register */
-#define REG_CAN0_MD1 0xFFC00A04 /* CAN0 Mailbox Direction 1 Register */
-#define REG_CAN0_TRS1 0xFFC00A08 /* CAN0 Transmission Request Set 1 Register */
-#define REG_CAN0_TRR1 0xFFC00A0C /* CAN0 Transmission Request Reset 1 Register */
-#define REG_CAN0_TA1 0xFFC00A10 /* CAN0 Transmission Acknowledge 1 Register */
-#define REG_CAN0_AA1 0xFFC00A14 /* CAN0 Abort Acknowledge 1 Register */
-#define REG_CAN0_RMP1 0xFFC00A18 /* CAN0 Receive Message Pending 1 Register */
-#define REG_CAN0_RML1 0xFFC00A1C /* CAN0 Receive Message Lost 1 Register */
-#define REG_CAN0_MBTIF1 0xFFC00A20 /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define REG_CAN0_MBRIF1 0xFFC00A24 /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define REG_CAN0_MBIM1 0xFFC00A28 /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define REG_CAN0_RFH1 0xFFC00A2C /* CAN0 Remote Frame Handling 1 Register */
-#define REG_CAN0_OPSS1 0xFFC00A30 /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define REG_CAN0_MC2 0xFFC00A40 /* CAN0 Mailbox Configuration 2 Register */
-#define REG_CAN0_MD2 0xFFC00A44 /* CAN0 Mailbox Direction 2 Register */
-#define REG_CAN0_TRS2 0xFFC00A48 /* CAN0 Transmission Request Set 2 Register */
-#define REG_CAN0_TRR2 0xFFC00A4C /* CAN0 Transmission Request Reset 2 Register */
-#define REG_CAN0_TA2 0xFFC00A50 /* CAN0 Transmission Acknowledge 2 Register */
-#define REG_CAN0_AA2 0xFFC00A54 /* CAN0 Abort Acknowledge 2 Register */
-#define REG_CAN0_RMP2 0xFFC00A58 /* CAN0 Receive Message Pending 2 Register */
-#define REG_CAN0_RML2 0xFFC00A5C /* CAN0 Receive Message Lost 2 Register */
-#define REG_CAN0_MBTIF2 0xFFC00A60 /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define REG_CAN0_MBRIF2 0xFFC00A64 /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define REG_CAN0_MBIM2 0xFFC00A68 /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define REG_CAN0_RFH2 0xFFC00A6C /* CAN0 Remote Frame Handling 2 Register */
-#define REG_CAN0_OPSS2 0xFFC00A70 /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define REG_CAN0_CLK 0xFFC00A80 /* CAN0 Clock Register */
-#define REG_CAN0_TIMING 0xFFC00A84 /* CAN0 Timing Register */
-#define REG_CAN0_DBG 0xFFC00A88 /* CAN0 Debug Register */
-#define REG_CAN0_STAT 0xFFC00A8C /* CAN0 Status Register */
-#define REG_CAN0_CEC 0xFFC00A90 /* CAN0 Error Counter Register */
-#define REG_CAN0_GIS 0xFFC00A94 /* CAN0 Global CAN Interrupt Status Register */
-#define REG_CAN0_GIM 0xFFC00A98 /* CAN0 Global CAN Interrupt Mask Register */
-#define REG_CAN0_GIF 0xFFC00A9C /* CAN0 Global CAN Interrupt Flag Register */
-#define REG_CAN0_CTL 0xFFC00AA0 /* CAN0 CAN Master Control Register */
-#define REG_CAN0_INT 0xFFC00AA4 /* CAN0 Interrupt Pending Register */
-#define REG_CAN0_MBTD 0xFFC00AAC /* CAN0 Temporary Mailbox Disable Register */
-#define REG_CAN0_EWR 0xFFC00AB0 /* CAN0 Error Counter Warning Level Register */
-#define REG_CAN0_ESR 0xFFC00AB4 /* CAN0 Error Status Register */
-#define REG_CAN0_UCCNT 0xFFC00AC4 /* CAN0 Universal Counter Register */
-#define REG_CAN0_UCRC 0xFFC00AC8 /* CAN0 Universal Counter Reload/Capture Register */
-#define REG_CAN0_UCCNF 0xFFC00ACC /* CAN0 Universal Counter Configuration Mode Register */
-#define REG_CAN0_AM00L 0xFFC00B00 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM01L 0xFFC00B08 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM02L 0xFFC00B10 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM03L 0xFFC00B18 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM04L 0xFFC00B20 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM05L 0xFFC00B28 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM06L 0xFFC00B30 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM07L 0xFFC00B38 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM08L 0xFFC00B40 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM09L 0xFFC00B48 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM10L 0xFFC00B50 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM11L 0xFFC00B58 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM12L 0xFFC00B60 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM13L 0xFFC00B68 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM14L 0xFFC00B70 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM15L 0xFFC00B78 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM16L 0xFFC00B80 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM17L 0xFFC00B88 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM18L 0xFFC00B90 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM19L 0xFFC00B98 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM20L 0xFFC00BA0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM21L 0xFFC00BA8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM22L 0xFFC00BB0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM23L 0xFFC00BB8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM24L 0xFFC00BC0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM25L 0xFFC00BC8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM26L 0xFFC00BD0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM27L 0xFFC00BD8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM28L 0xFFC00BE0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM29L 0xFFC00BE8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM30L 0xFFC00BF0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM31L 0xFFC00BF8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM00H 0xFFC00B04 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM01H 0xFFC00B0C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM02H 0xFFC00B14 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM03H 0xFFC00B1C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM04H 0xFFC00B24 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM05H 0xFFC00B2C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM06H 0xFFC00B34 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM07H 0xFFC00B3C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM08H 0xFFC00B44 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM09H 0xFFC00B4C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM10H 0xFFC00B54 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM11H 0xFFC00B5C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM12H 0xFFC00B64 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM13H 0xFFC00B6C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM14H 0xFFC00B74 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM15H 0xFFC00B7C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM16H 0xFFC00B84 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM17H 0xFFC00B8C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM18H 0xFFC00B94 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM19H 0xFFC00B9C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM20H 0xFFC00BA4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM21H 0xFFC00BAC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM22H 0xFFC00BB4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM23H 0xFFC00BBC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM24H 0xFFC00BC4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM25H 0xFFC00BCC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM26H 0xFFC00BD4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM27H 0xFFC00BDC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM28H 0xFFC00BE4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM29H 0xFFC00BEC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM30H 0xFFC00BF4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM31H 0xFFC00BFC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_MB00_DATA0 0xFFC00C00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB01_DATA0 0xFFC00C20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB02_DATA0 0xFFC00C40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB03_DATA0 0xFFC00C60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB04_DATA0 0xFFC00C80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB05_DATA0 0xFFC00CA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB06_DATA0 0xFFC00CC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB07_DATA0 0xFFC00CE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB08_DATA0 0xFFC00D00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB09_DATA0 0xFFC00D20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB10_DATA0 0xFFC00D40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB11_DATA0 0xFFC00D60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB12_DATA0 0xFFC00D80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB13_DATA0 0xFFC00DA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB14_DATA0 0xFFC00DC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB15_DATA0 0xFFC00DE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB16_DATA0 0xFFC00E00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB17_DATA0 0xFFC00E20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB18_DATA0 0xFFC00E40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB19_DATA0 0xFFC00E60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB20_DATA0 0xFFC00E80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB21_DATA0 0xFFC00EA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB22_DATA0 0xFFC00EC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB23_DATA0 0xFFC00EE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB24_DATA0 0xFFC00F00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB25_DATA0 0xFFC00F20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB26_DATA0 0xFFC00F40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB27_DATA0 0xFFC00F60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB28_DATA0 0xFFC00F80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB29_DATA0 0xFFC00FA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB30_DATA0 0xFFC00FC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB31_DATA0 0xFFC00FE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB00_DATA1 0xFFC00C04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB01_DATA1 0xFFC00C24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB02_DATA1 0xFFC00C44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB03_DATA1 0xFFC00C64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB04_DATA1 0xFFC00C84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB05_DATA1 0xFFC00CA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB06_DATA1 0xFFC00CC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB07_DATA1 0xFFC00CE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB08_DATA1 0xFFC00D04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB09_DATA1 0xFFC00D24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB10_DATA1 0xFFC00D44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB11_DATA1 0xFFC00D64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB12_DATA1 0xFFC00D84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB13_DATA1 0xFFC00DA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB14_DATA1 0xFFC00DC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB15_DATA1 0xFFC00DE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB16_DATA1 0xFFC00E04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB17_DATA1 0xFFC00E24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB18_DATA1 0xFFC00E44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB19_DATA1 0xFFC00E64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB20_DATA1 0xFFC00E84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB21_DATA1 0xFFC00EA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB22_DATA1 0xFFC00EC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB23_DATA1 0xFFC00EE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB24_DATA1 0xFFC00F04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB25_DATA1 0xFFC00F24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB26_DATA1 0xFFC00F44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB27_DATA1 0xFFC00F64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB28_DATA1 0xFFC00F84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB29_DATA1 0xFFC00FA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB30_DATA1 0xFFC00FC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB31_DATA1 0xFFC00FE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB00_DATA2 0xFFC00C08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB01_DATA2 0xFFC00C28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB02_DATA2 0xFFC00C48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB03_DATA2 0xFFC00C68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB04_DATA2 0xFFC00C88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB05_DATA2 0xFFC00CA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB06_DATA2 0xFFC00CC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB07_DATA2 0xFFC00CE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB08_DATA2 0xFFC00D08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB09_DATA2 0xFFC00D28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB10_DATA2 0xFFC00D48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB11_DATA2 0xFFC00D68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB12_DATA2 0xFFC00D88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB13_DATA2 0xFFC00DA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB14_DATA2 0xFFC00DC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB15_DATA2 0xFFC00DE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB16_DATA2 0xFFC00E08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB17_DATA2 0xFFC00E28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB18_DATA2 0xFFC00E48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB19_DATA2 0xFFC00E68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB20_DATA2 0xFFC00E88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB21_DATA2 0xFFC00EA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB22_DATA2 0xFFC00EC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB23_DATA2 0xFFC00EE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB24_DATA2 0xFFC00F08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB25_DATA2 0xFFC00F28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB26_DATA2 0xFFC00F48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB27_DATA2 0xFFC00F68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB28_DATA2 0xFFC00F88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB29_DATA2 0xFFC00FA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB30_DATA2 0xFFC00FC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB31_DATA2 0xFFC00FE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB00_DATA3 0xFFC00C0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB01_DATA3 0xFFC00C2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB02_DATA3 0xFFC00C4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB03_DATA3 0xFFC00C6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB04_DATA3 0xFFC00C8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB05_DATA3 0xFFC00CAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB06_DATA3 0xFFC00CCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB07_DATA3 0xFFC00CEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB08_DATA3 0xFFC00D0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB09_DATA3 0xFFC00D2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB10_DATA3 0xFFC00D4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB11_DATA3 0xFFC00D6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB12_DATA3 0xFFC00D8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB13_DATA3 0xFFC00DAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB14_DATA3 0xFFC00DCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB15_DATA3 0xFFC00DEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB16_DATA3 0xFFC00E0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB17_DATA3 0xFFC00E2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB18_DATA3 0xFFC00E4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB19_DATA3 0xFFC00E6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB20_DATA3 0xFFC00E8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB21_DATA3 0xFFC00EAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB22_DATA3 0xFFC00ECC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB23_DATA3 0xFFC00EEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB24_DATA3 0xFFC00F0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB25_DATA3 0xFFC00F2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB26_DATA3 0xFFC00F4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB27_DATA3 0xFFC00F6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB28_DATA3 0xFFC00F8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB29_DATA3 0xFFC00FAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB30_DATA3 0xFFC00FCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB31_DATA3 0xFFC00FEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB00_LENGTH 0xFFC00C10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB01_LENGTH 0xFFC00C30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB02_LENGTH 0xFFC00C50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB03_LENGTH 0xFFC00C70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB04_LENGTH 0xFFC00C90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB05_LENGTH 0xFFC00CB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB06_LENGTH 0xFFC00CD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB07_LENGTH 0xFFC00CF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB08_LENGTH 0xFFC00D10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB09_LENGTH 0xFFC00D30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB10_LENGTH 0xFFC00D50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB11_LENGTH 0xFFC00D70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB12_LENGTH 0xFFC00D90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB13_LENGTH 0xFFC00DB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB14_LENGTH 0xFFC00DD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB15_LENGTH 0xFFC00DF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB16_LENGTH 0xFFC00E10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB17_LENGTH 0xFFC00E30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB18_LENGTH 0xFFC00E50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB19_LENGTH 0xFFC00E70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB20_LENGTH 0xFFC00E90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB21_LENGTH 0xFFC00EB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB22_LENGTH 0xFFC00ED0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB23_LENGTH 0xFFC00EF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB24_LENGTH 0xFFC00F10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB25_LENGTH 0xFFC00F30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB26_LENGTH 0xFFC00F50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB27_LENGTH 0xFFC00F70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB28_LENGTH 0xFFC00F90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB29_LENGTH 0xFFC00FB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB30_LENGTH 0xFFC00FD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB31_LENGTH 0xFFC00FF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB00_TIMESTAMP 0xFFC00C14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB01_TIMESTAMP 0xFFC00C34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB02_TIMESTAMP 0xFFC00C54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB03_TIMESTAMP 0xFFC00C74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB04_TIMESTAMP 0xFFC00C94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB05_TIMESTAMP 0xFFC00CB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB06_TIMESTAMP 0xFFC00CD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB07_TIMESTAMP 0xFFC00CF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB08_TIMESTAMP 0xFFC00D14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB09_TIMESTAMP 0xFFC00D34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB10_TIMESTAMP 0xFFC00D54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB11_TIMESTAMP 0xFFC00D74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB12_TIMESTAMP 0xFFC00D94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB13_TIMESTAMP 0xFFC00DB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB14_TIMESTAMP 0xFFC00DD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB15_TIMESTAMP 0xFFC00DF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB16_TIMESTAMP 0xFFC00E14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB17_TIMESTAMP 0xFFC00E34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB18_TIMESTAMP 0xFFC00E54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB19_TIMESTAMP 0xFFC00E74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB20_TIMESTAMP 0xFFC00E94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB21_TIMESTAMP 0xFFC00EB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB22_TIMESTAMP 0xFFC00ED4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB23_TIMESTAMP 0xFFC00EF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB24_TIMESTAMP 0xFFC00F14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB25_TIMESTAMP 0xFFC00F34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB26_TIMESTAMP 0xFFC00F54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB27_TIMESTAMP 0xFFC00F74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB28_TIMESTAMP 0xFFC00F94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB29_TIMESTAMP 0xFFC00FB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB30_TIMESTAMP 0xFFC00FD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB31_TIMESTAMP 0xFFC00FF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB00_ID0 0xFFC00C18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB01_ID0 0xFFC00C38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB02_ID0 0xFFC00C58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB03_ID0 0xFFC00C78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB04_ID0 0xFFC00C98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB05_ID0 0xFFC00CB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB06_ID0 0xFFC00CD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB07_ID0 0xFFC00CF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB08_ID0 0xFFC00D18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB09_ID0 0xFFC00D38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB10_ID0 0xFFC00D58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB11_ID0 0xFFC00D78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB12_ID0 0xFFC00D98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB13_ID0 0xFFC00DB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB14_ID0 0xFFC00DD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB15_ID0 0xFFC00DF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB16_ID0 0xFFC00E18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB17_ID0 0xFFC00E38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB18_ID0 0xFFC00E58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB19_ID0 0xFFC00E78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB20_ID0 0xFFC00E98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB21_ID0 0xFFC00EB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB22_ID0 0xFFC00ED8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB23_ID0 0xFFC00EF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB24_ID0 0xFFC00F18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB25_ID0 0xFFC00F38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB26_ID0 0xFFC00F58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB27_ID0 0xFFC00F78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB28_ID0 0xFFC00F98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB29_ID0 0xFFC00FB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB30_ID0 0xFFC00FD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB31_ID0 0xFFC00FF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB00_ID1 0xFFC00C1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB01_ID1 0xFFC00C3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB02_ID1 0xFFC00C5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB03_ID1 0xFFC00C7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB04_ID1 0xFFC00C9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB05_ID1 0xFFC00CBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB06_ID1 0xFFC00CDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB07_ID1 0xFFC00CFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB08_ID1 0xFFC00D1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB09_ID1 0xFFC00D3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB10_ID1 0xFFC00D5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB11_ID1 0xFFC00D7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB12_ID1 0xFFC00D9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB13_ID1 0xFFC00DBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB14_ID1 0xFFC00DDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB15_ID1 0xFFC00DFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB16_ID1 0xFFC00E1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB17_ID1 0xFFC00E3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB18_ID1 0xFFC00E5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB19_ID1 0xFFC00E7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB20_ID1 0xFFC00E9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB21_ID1 0xFFC00EBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB22_ID1 0xFFC00EDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB23_ID1 0xFFC00EFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB24_ID1 0xFFC00F1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB25_ID1 0xFFC00F3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB26_ID1 0xFFC00F5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB27_ID1 0xFFC00F7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB28_ID1 0xFFC00F9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB29_ID1 0xFFC00FBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB30_ID1 0xFFC00FDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB31_ID1 0xFFC00FFC /* CAN0 Mailbox ID 1 Register */
-
-/* =========================
- CAN
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC1_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD1_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS1_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR1_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA1_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA1_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP1_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML1_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF1_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF1_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM1_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH1_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS1_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC2_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD2_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS2_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR2_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA2_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA2_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP2_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML2_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF2_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF2_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM2_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH2_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS2_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CLK_BRP 0 /* Bit Rate Prescaler */
-#define BITM_CAN_CLK_BRP (_ADI_MSK(0x000003FF,uint16_t)) /* Bit Rate Prescaler */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TIMING Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TIMING_SJW 8 /* Synchronization Jump Width */
-#define BITP_CAN_TIMING_SAM 7 /* Sampling */
-#define BITP_CAN_TIMING_TSEG2 4 /* Time Segment 2 */
-#define BITP_CAN_TIMING_TSEG1 0 /* Time Segment 1 */
-#define BITM_CAN_TIMING_SJW (_ADI_MSK(0x00000300,uint16_t)) /* Synchronization Jump Width */
-#define BITM_CAN_TIMING_SAM (_ADI_MSK(0x00000080,uint16_t)) /* Sampling */
-#define BITM_CAN_TIMING_TSEG2 (_ADI_MSK(0x00000070,uint16_t)) /* Time Segment 2 */
-#define BITM_CAN_TIMING_TSEG1 (_ADI_MSK(0x0000000F,uint16_t)) /* Time Segment 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_DBG_CDE 15 /* CAN Debug Mode Enable */
-#define BITP_CAN_DBG_MRB 5 /* Mode Read Back */
-#define BITP_CAN_DBG_MAA 4 /* Mode Auto Acknowledge */
-#define BITP_CAN_DBG_DIL 3 /* Disable Internal Loop */
-#define BITP_CAN_DBG_DTO 2 /* Disable Tx Output Pin */
-#define BITP_CAN_DBG_DRI 1 /* Disable Receive Input Pin */
-#define BITP_CAN_DBG_DEC 0 /* Disable Transmit and Receive Error Counters */
-#define BITM_CAN_DBG_CDE (_ADI_MSK(0x00008000,uint16_t)) /* CAN Debug Mode Enable */
-#define BITM_CAN_DBG_MRB (_ADI_MSK(0x00000020,uint16_t)) /* Mode Read Back */
-#define BITM_CAN_DBG_MAA (_ADI_MSK(0x00000010,uint16_t)) /* Mode Auto Acknowledge */
-#define BITM_CAN_DBG_DIL (_ADI_MSK(0x00000008,uint16_t)) /* Disable Internal Loop */
-#define BITM_CAN_DBG_DTO (_ADI_MSK(0x00000004,uint16_t)) /* Disable Tx Output Pin */
-#define BITM_CAN_DBG_DRI (_ADI_MSK(0x00000002,uint16_t)) /* Disable Receive Input Pin */
-#define BITM_CAN_DBG_DEC (_ADI_MSK(0x00000001,uint16_t)) /* Disable Transmit and Receive Error Counters */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_STAT_REC 15 /* Receive Mode */
-#define BITP_CAN_STAT_TRM 14 /* Transmit Mode */
-#define BITP_CAN_STAT_MBPTR 8 /* Mailbox Pointer */
-#define BITP_CAN_STAT_CCA 7 /* CAN Configuration Mode Acknowledge */
-#define BITP_CAN_STAT_CSA 6 /* CAN Suspend Mode Acknowledge */
-#define BITP_CAN_STAT_EBO 3 /* CAN Error Bus Off Mode */
-#define BITP_CAN_STAT_EP 2 /* CAN Error Passive Mode */
-#define BITP_CAN_STAT_WR 1 /* CAN Receive Warning Flag */
-#define BITP_CAN_STAT_WT 0 /* CAN Transmit Warning Flag */
-#define BITM_CAN_STAT_REC (_ADI_MSK(0x00008000,uint16_t)) /* Receive Mode */
-#define BITM_CAN_STAT_TRM (_ADI_MSK(0x00004000,uint16_t)) /* Transmit Mode */
-#define BITM_CAN_STAT_MBPTR (_ADI_MSK(0x00001F00,uint16_t)) /* Mailbox Pointer */
-#define BITM_CAN_STAT_CCA (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Acknowledge */
-#define BITM_CAN_STAT_CSA (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Acknowledge */
-#define BITM_CAN_STAT_EBO (_ADI_MSK(0x00000008,uint16_t)) /* CAN Error Bus Off Mode */
-#define BITM_CAN_STAT_EP (_ADI_MSK(0x00000004,uint16_t)) /* CAN Error Passive Mode */
-#define BITM_CAN_STAT_WR (_ADI_MSK(0x00000002,uint16_t)) /* CAN Receive Warning Flag */
-#define BITM_CAN_STAT_WT (_ADI_MSK(0x00000001,uint16_t)) /* CAN Transmit Warning Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CEC_TXECNT 8 /* Transmit Error Counter */
-#define BITP_CAN_CEC_RXECNT 0 /* Receive Error Counter */
-#define BITM_CAN_CEC_TXECNT (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Counter */
-#define BITM_CAN_CEC_RXECNT (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Counter */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIS_ADIS 10 /* Access Denied Interrupt Status */
-#define BITP_CAN_GIS_UCEIS 8 /* Universal Counter Exceeded Interrupt Status */
-#define BITP_CAN_GIS_RMLIS 7 /* Receive Message Lost Interrupt Status */
-#define BITP_CAN_GIS_AAIS 6 /* Abort Acknowledge Interrupt Status */
-#define BITP_CAN_GIS_UIAIS 5 /* Unimplemented Address Interrupt Status */
-#define BITP_CAN_GIS_WUIS 4 /* Wake Up Interrupt Status */
-#define BITP_CAN_GIS_BOIS 3 /* Bus Off Interrupt Status */
-#define BITP_CAN_GIS_EPIS 2 /* Error Passive Interrupt Status */
-#define BITP_CAN_GIS_EWRIS 1 /* Error Warning Receive Interrupt Status */
-#define BITP_CAN_GIS_EWTIS 0 /* Error Warning Transmit Interrupt Status */
-#define BITM_CAN_GIS_ADIS (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Status */
-#define BITM_CAN_GIS_UCEIS (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Status */
-#define BITM_CAN_GIS_RMLIS (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Status */
-#define BITM_CAN_GIS_AAIS (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Status */
-#define BITM_CAN_GIS_UIAIS (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Status */
-#define BITM_CAN_GIS_WUIS (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Status */
-#define BITM_CAN_GIS_BOIS (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Status */
-#define BITM_CAN_GIS_EPIS (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Status */
-#define BITM_CAN_GIS_EWRIS (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Status */
-#define BITM_CAN_GIS_EWTIS (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIM_ADIM 10 /* Access Denied Interrupt Mask */
-#define BITP_CAN_GIM_UCEIM 8 /* Universal Counter Exceeded Interrupt Mask */
-#define BITP_CAN_GIM_RMLIM 7 /* Receive Message Lost Interrupt Mask */
-#define BITP_CAN_GIM_AAIM 6 /* Abort Acknowledge Interrupt Mask */
-#define BITP_CAN_GIM_UIAIM 5 /* Unimplemented Address Interrupt Mask */
-#define BITP_CAN_GIM_WUIM 4 /* Wake Up Interrupt Mask */
-#define BITP_CAN_GIM_BOIM 3 /* Bus Off Interrupt Mask */
-#define BITP_CAN_GIM_EPIM 2 /* Error Passive Interrupt Mask */
-#define BITP_CAN_GIM_EWRIM 1 /* Error Warning Receive Interrupt Mask */
-#define BITP_CAN_GIM_EWTIM 0 /* Error Warning Transmit Interrupt Mask */
-#define BITM_CAN_GIM_ADIM (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Mask */
-#define BITM_CAN_GIM_UCEIM (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Mask */
-#define BITM_CAN_GIM_RMLIM (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Mask */
-#define BITM_CAN_GIM_AAIM (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Mask */
-#define BITM_CAN_GIM_UIAIM (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Mask */
-#define BITM_CAN_GIM_WUIM (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Mask */
-#define BITM_CAN_GIM_BOIM (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Mask */
-#define BITM_CAN_GIM_EPIM (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Mask */
-#define BITM_CAN_GIM_EWRIM (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Mask */
-#define BITM_CAN_GIM_EWTIM (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIF_ADIF 10 /* Access Denied Interrupt Flag */
-#define BITP_CAN_GIF_UCEIF 8 /* Universal Counter Exceeded Interrupt Flag */
-#define BITP_CAN_GIF_RMLIF 7 /* Receive Message Lost Interrupt Flag */
-#define BITP_CAN_GIF_AAIF 6 /* Abort Acknowledge Interrupt Flag */
-#define BITP_CAN_GIF_UIAIF 5 /* Unimplemented Address Interrupt Flag */
-#define BITP_CAN_GIF_WUIF 4 /* Wake Up Interrupt Flag */
-#define BITP_CAN_GIF_BOIF 3 /* Bus Off Interrupt Flag */
-#define BITP_CAN_GIF_EPIF 2 /* Error Passive Interrupt Flag */
-#define BITP_CAN_GIF_EWRIF 1 /* Error Warning Receive Interrupt Flag */
-#define BITP_CAN_GIF_EWTIF 0 /* Error Warning Transmit Interrupt Flag */
-#define BITM_CAN_GIF_ADIF (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Flag */
-#define BITM_CAN_GIF_UCEIF (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Flag */
-#define BITM_CAN_GIF_RMLIF (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Flag */
-#define BITM_CAN_GIF_AAIF (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Flag */
-#define BITM_CAN_GIF_UIAIF (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Flag */
-#define BITM_CAN_GIF_WUIF (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Flag */
-#define BITM_CAN_GIF_BOIF (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Flag */
-#define BITM_CAN_GIF_EPIF (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Flag */
-#define BITM_CAN_GIF_EWRIF (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Flag */
-#define BITM_CAN_GIF_EWTIF (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CTL_CCR 7 /* CAN Configuration Mode Request */
-#define BITP_CAN_CTL_CSR 6 /* CAN Suspend Mode Request */
-#define BITP_CAN_CTL_SMR 5 /* Sleep Mode Request */
-#define BITP_CAN_CTL_WBA 4 /* Wake Up on CAN Bus Activity */
-#define BITP_CAN_CTL_ABO 2 /* Auto Bus On */
-#define BITP_CAN_CTL_DNM 1 /* Device Net Mode */
-#define BITP_CAN_CTL_SRS 0 /* Software Reset */
-#define BITM_CAN_CTL_CCR (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Request */
-#define BITM_CAN_CTL_CSR (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Request */
-#define BITM_CAN_CTL_SMR (_ADI_MSK(0x00000020,uint16_t)) /* Sleep Mode Request */
-#define BITM_CAN_CTL_WBA (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up on CAN Bus Activity */
-#define BITM_CAN_CTL_ABO (_ADI_MSK(0x00000004,uint16_t)) /* Auto Bus On */
-#define BITM_CAN_CTL_DNM (_ADI_MSK(0x00000002,uint16_t)) /* Device Net Mode */
-#define BITM_CAN_CTL_SRS (_ADI_MSK(0x00000001,uint16_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_INT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_INT_CANRX 7 /* Serial Input From Transceiver */
-#define BITP_CAN_INT_CANTX 6 /* Serial Input To Transceiver */
-#define BITP_CAN_INT_SMACK 3 /* Sleep Mode Acknowledge */
-#define BITP_CAN_INT_GIRQ 2 /* Global CAN Interrupt Output */
-#define BITP_CAN_INT_MBTIRQ 1 /* Mailbox Transmit Interrupt Output */
-#define BITP_CAN_INT_MBRIRQ 0 /* Mailbox Receive Interrupt Output */
-#define BITM_CAN_INT_CANRX (_ADI_MSK(0x00000080,uint16_t)) /* Serial Input From Transceiver */
-#define BITM_CAN_INT_CANTX (_ADI_MSK(0x00000040,uint16_t)) /* Serial Input To Transceiver */
-#define BITM_CAN_INT_SMACK (_ADI_MSK(0x00000008,uint16_t)) /* Sleep Mode Acknowledge */
-#define BITM_CAN_INT_GIRQ (_ADI_MSK(0x00000004,uint16_t)) /* Global CAN Interrupt Output */
-#define BITM_CAN_INT_MBTIRQ (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox Transmit Interrupt Output */
-#define BITM_CAN_INT_MBRIRQ (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox Receive Interrupt Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTD_TDR 7 /* Temporary Disable Request */
-#define BITP_CAN_MBTD_TDA 6 /* Temporary Disable Acknowledge */
-#define BITP_CAN_MBTD_TDPTR 0 /* Temporary Disable Pointer */
-#define BITM_CAN_MBTD_TDR (_ADI_MSK(0x00000080,uint16_t)) /* Temporary Disable Request */
-#define BITM_CAN_MBTD_TDA (_ADI_MSK(0x00000040,uint16_t)) /* Temporary Disable Acknowledge */
-#define BITM_CAN_MBTD_TDPTR (_ADI_MSK(0x0000001F,uint16_t)) /* Temporary Disable Pointer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_EWR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_EWR_EWLTEC 8 /* Transmit Error Warning Limit */
-#define BITP_CAN_EWR_EWLREC 0 /* Receive Error Warning Limit */
-#define BITM_CAN_EWR_EWLTEC (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Warning Limit */
-#define BITM_CAN_EWR_EWLREC (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Warning Limit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_ESR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_ESR_FER 7 /* Form Error */
-#define BITP_CAN_ESR_BEF 6 /* Bit Error Flag */
-#define BITP_CAN_ESR_SAO 5 /* Stuck at Dominant */
-#define BITP_CAN_ESR_CRCE 4 /* CRC Error */
-#define BITP_CAN_ESR_SER 3 /* Stuff Bit Error */
-#define BITP_CAN_ESR_ACKE 2 /* Acknowledge Error */
-#define BITM_CAN_ESR_FER (_ADI_MSK(0x00000080,uint16_t)) /* Form Error */
-#define BITM_CAN_ESR_BEF (_ADI_MSK(0x00000040,uint16_t)) /* Bit Error Flag */
-#define BITM_CAN_ESR_SAO (_ADI_MSK(0x00000020,uint16_t)) /* Stuck at Dominant */
-#define BITM_CAN_ESR_CRCE (_ADI_MSK(0x00000010,uint16_t)) /* CRC Error */
-#define BITM_CAN_ESR_SER (_ADI_MSK(0x00000008,uint16_t)) /* Stuff Bit Error */
-#define BITM_CAN_ESR_ACKE (_ADI_MSK(0x00000004,uint16_t)) /* Acknowledge Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_UCCNF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_UCCNF_UCE 7 /* Universal Counter Enable */
-#define BITP_CAN_UCCNF_UCCT 6 /* Universal Counter CAN Trigger */
-#define BITP_CAN_UCCNF_UCRC 5 /* Universal Counter Reload/Clear */
-#define BITP_CAN_UCCNF_UCCNF 0 /* Universal Counter Configuration */
-#define BITM_CAN_UCCNF_UCE (_ADI_MSK(0x00000080,uint16_t)) /* Universal Counter Enable */
-#define BITM_CAN_UCCNF_UCCT (_ADI_MSK(0x00000040,uint16_t)) /* Universal Counter CAN Trigger */
-#define BITM_CAN_UCCNF_UCRC (_ADI_MSK(0x00000020,uint16_t)) /* Universal Counter Reload/Clear */
-#define BITM_CAN_UCCNF_UCCNF (_ADI_MSK(0x0000000F,uint16_t)) /* Universal Counter Configuration */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AMnH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AMH_FDF 15 /* Filter on Delay Field */
-#define BITP_CAN_AMH_FMD 14 /* Full Mask Data */
-#define BITP_CAN_AMH_AMIDE 13 /* Acceptance Mask Identifier Extension */
-#define BITP_CAN_AMH_BASEID 2 /* Base Identifier */
-#define BITP_CAN_AMH_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_AMH_FDF (_ADI_MSK(0x00008000,uint16_t)) /* Filter on Delay Field */
-#define BITM_CAN_AMH_FMD (_ADI_MSK(0x00004000,uint16_t)) /* Full Mask Data */
-#define BITM_CAN_AMH_AMIDE (_ADI_MSK(0x00002000,uint16_t)) /* Acceptance Mask Identifier Extension */
-#define BITM_CAN_AMH_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_AMH_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA0_DFB6 8 /* Data Field Byte 6 */
-#define BITP_CAN_MB_DATA0_DFB7 0 /* Data Field Byte 7 */
-#define BITM_CAN_MB_DATA0_DFB6 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 6 */
-#define BITM_CAN_MB_DATA0_DFB7 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 7 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA1_DFB4 8 /* Data Field Byte 4 */
-#define BITP_CAN_MB_DATA1_DFB5 0 /* Data Field Byte 5 */
-#define BITM_CAN_MB_DATA1_DFB4 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 4 */
-#define BITM_CAN_MB_DATA1_DFB5 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 5 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA2_DFB2 8 /* Data Field Byte 2 */
-#define BITP_CAN_MB_DATA2_DFB3 0 /* Data Field Byte 3 */
-#define BITM_CAN_MB_DATA2_DFB2 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 2 */
-#define BITM_CAN_MB_DATA2_DFB3 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 3 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA3_DFB0 8 /* Data Field Byte 0 */
-#define BITP_CAN_MB_DATA3_DFB1 0 /* Data Field Byte 1 */
-#define BITM_CAN_MB_DATA3_DFB0 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 0 */
-#define BITM_CAN_MB_DATA3_DFB1 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_LENGTH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_LENGTH_DLC 0 /* Data Length Code */
-#define BITM_CAN_MB_LENGTH_DLC (_ADI_MSK(0x0000000F,uint16_t)) /* Data Length Code */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_ID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_ID1_AME 15 /* Acceptance Mask Enable */
-#define BITP_CAN_MB_ID1_RTR 14 /* Remote Transmission Request */
-#define BITP_CAN_MB_ID1_IDE 13 /* Identifier Extension */
-#define BITP_CAN_MB_ID1_BASEID 2 /* Base Identifier */
-#define BITP_CAN_MB_ID1_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_MB_ID1_AME (_ADI_MSK(0x00008000,uint16_t)) /* Acceptance Mask Enable */
-#define BITM_CAN_MB_ID1_RTR (_ADI_MSK(0x00004000,uint16_t)) /* Remote Transmission Request */
-#define BITM_CAN_MB_ID1_IDE (_ADI_MSK(0x00002000,uint16_t)) /* Identifier Extension */
-#define BITM_CAN_MB_ID1_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_MB_ID1_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ==================================================
- Link Port Registers
- ================================================== */
-
-/* =========================
- LP0
- ========================= */
-#define REG_LP0_CTL 0xFFC01000 /* LP0 Control Register */
-#define REG_LP0_STAT 0xFFC01004 /* LP0 Status Register */
-#define REG_LP0_DIV 0xFFC01008 /* LP0 Clock Divider Value */
-#define REG_LP0_TX 0xFFC01010 /* LP0 Transmit Buffer */
-#define REG_LP0_RX 0xFFC01014 /* LP0 Receive Buffer */
-#define REG_LP0_TXIN_SHDW 0xFFC01018 /* LP0 Shadow Input Transmit Buffer */
-#define REG_LP0_TXOUT_SHDW 0xFFC0101C /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================
- LP1
- ========================= */
-#define REG_LP1_CTL 0xFFC01100 /* LP1 Control Register */
-#define REG_LP1_STAT 0xFFC01104 /* LP1 Status Register */
-#define REG_LP1_DIV 0xFFC01108 /* LP1 Clock Divider Value */
-#define REG_LP1_TX 0xFFC01110 /* LP1 Transmit Buffer */
-#define REG_LP1_RX 0xFFC01114 /* LP1 Receive Buffer */
-#define REG_LP1_TXIN_SHDW 0xFFC01118 /* LP1 Shadow Input Transmit Buffer */
-#define REG_LP1_TXOUT_SHDW 0xFFC0111C /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================
- LP2
- ========================= */
-#define REG_LP2_CTL 0xFFC01200 /* LP2 Control Register */
-#define REG_LP2_STAT 0xFFC01204 /* LP2 Status Register */
-#define REG_LP2_DIV 0xFFC01208 /* LP2 Clock Divider Value */
-#define REG_LP2_TX 0xFFC01210 /* LP2 Transmit Buffer */
-#define REG_LP2_RX 0xFFC01214 /* LP2 Receive Buffer */
-#define REG_LP2_TXIN_SHDW 0xFFC01218 /* LP2 Shadow Input Transmit Buffer */
-#define REG_LP2_TXOUT_SHDW 0xFFC0121C /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================
- LP3
- ========================= */
-#define REG_LP3_CTL 0xFFC01300 /* LP3 Control Register */
-#define REG_LP3_STAT 0xFFC01304 /* LP3 Status Register */
-#define REG_LP3_DIV 0xFFC01308 /* LP3 Clock Divider Value */
-#define REG_LP3_TX 0xFFC01310 /* LP3 Transmit Buffer */
-#define REG_LP3_RX 0xFFC01314 /* LP3 Receive Buffer */
-#define REG_LP3_TXIN_SHDW 0xFFC01318 /* LP3 Shadow Input Transmit Buffer */
-#define REG_LP3_TXOUT_SHDW 0xFFC0131C /* LP3 Shadow Output Transmit Buffer */
-
-/* =========================
- LP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_CTL_ITMSK 11 /* Receive FIFO Overflow Interrupt Mask */
-#define BITP_LP_CTL_RRQMSK 9 /* Receive Request Interrupt Mask */
-#define BITP_LP_CTL_TRQMSK 8 /* Transmit Request Interrupt Mask */
-#define BITP_LP_CTL_TRAN 3 /* Transfer Direction */
-#define BITP_LP_CTL_EN 0 /* Enable */
-
-#define BITM_LP_CTL_ITMSK (_ADI_MSK(0x00000800,uint32_t)) /* Receive FIFO Overflow Interrupt Mask */
-#define ENUM_LP_CTL_RX_OVF_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ITMSK: Mask */
-#define ENUM_LP_CTL_RX_OVF_EN (_ADI_MSK(0x00000800,uint32_t)) /* ITMSK: Unmask */
-
-#define BITM_LP_CTL_RRQMSK (_ADI_MSK(0x00000200,uint32_t)) /* Receive Request Interrupt Mask */
-#define ENUM_LP_CTL_RRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RRQMSK: Mask */
-#define ENUM_LP_CTL_RRQ_EN (_ADI_MSK(0x00000200,uint32_t)) /* RRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRQMSK (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Request Interrupt Mask */
-#define ENUM_LP_CTL_TRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TRQMSK: Mask */
-#define ENUM_LP_CTL_TRQ_EN (_ADI_MSK(0x00000100,uint32_t)) /* TRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRAN (_ADI_MSK(0x00000008,uint32_t)) /* Transfer Direction */
-#define ENUM_LP_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* TRAN: Receive */
-#define ENUM_LP_CTL_TX (_ADI_MSK(0x00000008,uint32_t)) /* TRAN: Transmit */
-
-#define BITM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_LP_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable linkport */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_STAT_LPBS 8 /* Bus Status */
-#define BITP_LP_STAT_LERR 7 /* Buffer Pack Error Status */
-#define BITP_LP_STAT_FFST 4 /* FIFO Status */
-#define BITP_LP_STAT_LPIT 3 /* Receive FIFO Overflow Interrupt */
-#define BITP_LP_STAT_LRRQ 1 /* Receive Request */
-#define BITP_LP_STAT_LTRQ 0 /* Transmit Request */
-
-#define BITM_LP_STAT_LPBS (_ADI_MSK(0x00000100,uint32_t)) /* Bus Status */
-#define ENUM_LP_STAT_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* LPBS: Bus is Idle */
-#define ENUM_LP_STAT_BUSY (_ADI_MSK(0x00000100,uint32_t)) /* LPBS: Bus Busy */
-
-#define BITM_LP_STAT_LERR (_ADI_MSK(0x00000080,uint32_t)) /* Buffer Pack Error Status */
-#define ENUM_LP_STAT_PACK_DONE (_ADI_MSK(0x00000000,uint32_t)) /* LERR: Packing Complete */
-#define ENUM_LP_STAT_PACK_PROG (_ADI_MSK(0x00000080,uint32_t)) /* LERR: Packing Incomplete */
-
-#define BITM_LP_STAT_FFST (_ADI_MSK(0x00000070,uint32_t)) /* FIFO Status */
-#define ENUM_LP_STAT_RX0_TX0 (_ADI_MSK(0x00000000,uint32_t)) /* FFST: TX - Empty; RX -Empty */
-#define ENUM_LP_STAT_RX1_TXR (_ADI_MSK(0x00000010,uint32_t)) /* FFST: TX - reserved ; RX - One Word */
-#define ENUM_LP_STAT_RX2_TXR (_ADI_MSK(0x00000020,uint32_t)) /* FFST: TX - reserved; RX - Two Word */
-#define ENUM_LP_STAT_RX3_TXR (_ADI_MSK(0x00000030,uint32_t)) /* FFST: TX - reserved; RX - Three Word */
-#define ENUM_LP_STAT_RX4_TX1 (_ADI_MSK(0x00000040,uint32_t)) /* FFST: TX - One Word; RX - Four word */
-#define ENUM_LP_STAT_RXR1_TXR1 (_ADI_MSK(0x00000050,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define ENUM_LP_STAT_RXR2_TXR2 (_ADI_MSK(0x00000060,uint32_t)) /* FFST: TX - FIFO Full; RX - Reserved */
-#define ENUM_LP_STAT_RXR3_TXR3 (_ADI_MSK(0x00000070,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define BITM_LP_STAT_LPIT (_ADI_MSK(0x00000008,uint32_t)) /* Receive FIFO Overflow Interrupt */
-#define BITM_LP_STAT_LRRQ (_ADI_MSK(0x00000002,uint32_t)) /* Receive Request */
-#define BITM_LP_STAT_LTRQ (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_DIV_VALUE 0 /* Divisor Value */
-#define BITM_LP_DIV_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Divisor Value */
-
-/* ==================================================
- General Purpose Timer Block Registers
- ================================================== */
-
-/* =========================
- TIMER0
- ========================= */
-#define REG_TIMER0_REVID 0xFFC01400 /* TIMER0 Revision ID Register */
-#define REG_TIMER0_RUN 0xFFC01404 /* TIMER0 Run Register */
-#define REG_TIMER0_RUN_SET 0xFFC01408 /* TIMER0 Run Set Register */
-#define REG_TIMER0_RUN_CLR 0xFFC0140C /* TIMER0 Run Clear Register */
-#define REG_TIMER0_STOP_CFG 0xFFC01410 /* TIMER0 Stop Configuration Register */
-#define REG_TIMER0_STOP_CFG_SET 0xFFC01414 /* TIMER0 Stop Configuration Set Register */
-#define REG_TIMER0_STOP_CFG_CLR 0xFFC01418 /* TIMER0 Stop Configuration Clear Register */
-#define REG_TIMER0_DATA_IMSK 0xFFC0141C /* TIMER0 Data Interrupt Mask Register */
-#define REG_TIMER0_STAT_IMSK 0xFFC01420 /* TIMER0 Status Interrupt Mask Register */
-#define REG_TIMER0_TRG_MSK 0xFFC01424 /* TIMER0 Trigger Master Mask Register */
-#define REG_TIMER0_TRG_IE 0xFFC01428 /* TIMER0 Trigger Slave Enable Register */
-#define REG_TIMER0_DATA_ILAT 0xFFC0142C /* TIMER0 Data Interrupt Latch Register */
-#define REG_TIMER0_STAT_ILAT 0xFFC01430 /* TIMER0 Status Interrupt Latch Register */
-#define REG_TIMER0_ERR_TYPE 0xFFC01434 /* TIMER0 Error Type Status Register */
-#define REG_TIMER0_BCAST_PER 0xFFC01438 /* TIMER0 Broadcast Period Register */
-#define REG_TIMER0_BCAST_WID 0xFFC0143C /* TIMER0 Broadcast Width Register */
-#define REG_TIMER0_BCAST_DLY 0xFFC01440 /* TIMER0 Broadcast Delay Register */
-#define REG_TIMER0_TMR0_CFG 0xFFC01460 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR1_CFG 0xFFC01480 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR2_CFG 0xFFC014A0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR3_CFG 0xFFC014C0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR4_CFG 0xFFC014E0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR5_CFG 0xFFC01500 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR6_CFG 0xFFC01520 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR7_CFG 0xFFC01540 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR0_CNT 0xFFC01464 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR1_CNT 0xFFC01484 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR2_CNT 0xFFC014A4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR3_CNT 0xFFC014C4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR4_CNT 0xFFC014E4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR5_CNT 0xFFC01504 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR6_CNT 0xFFC01524 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR7_CNT 0xFFC01544 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR0_PER 0xFFC01468 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR1_PER 0xFFC01488 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR2_PER 0xFFC014A8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR3_PER 0xFFC014C8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR4_PER 0xFFC014E8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR5_PER 0xFFC01508 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR6_PER 0xFFC01528 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR7_PER 0xFFC01548 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR0_WID 0xFFC0146C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR1_WID 0xFFC0148C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR2_WID 0xFFC014AC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR3_WID 0xFFC014CC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR4_WID 0xFFC014EC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR5_WID 0xFFC0150C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR6_WID 0xFFC0152C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR7_WID 0xFFC0154C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR0_DLY 0xFFC01470 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR1_DLY 0xFFC01490 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR2_DLY 0xFFC014B0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR3_DLY 0xFFC014D0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR4_DLY 0xFFC014F0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR5_DLY 0xFFC01510 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR6_DLY 0xFFC01530 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR7_DLY 0xFFC01550 /* TIMER0 Timer n Delay Register */
-
-/* =========================
- TIMER
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_TIMER_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_TIMER_REVID_MAJOR (_ADI_MSK(0x000000F0,uint16_t)) /* Major Revision ID */
-#define BITM_TIMER_REVID_REV (_ADI_MSK(0x0000000F,uint16_t)) /* Incremental Revision ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_TMR00 0 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR01 1 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR02 2 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR03 3 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR04 4 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR05 5 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR06 6 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR07 7 /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Start/Stop Timer n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_SET_TMR00 0 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR01 1 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR02 2 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR03 3 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR04 4 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR05 5 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR06 6 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR07 7 /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_CLR_TMR00 0 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR01 1 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR02 2 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR03 3 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR04 4 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR05 5 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR06 6 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR07 7 /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_TMR00 0 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR01 1 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR02 2 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR03 3 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR04 4 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR05 5 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR06 6 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR07 7 /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Stop Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_SET_TMR00 0 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR01 1 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR02 2 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR03 3 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR04 4 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR05 5 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR06 6 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR07 7 /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_CLR_TMR00 0 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR01 1 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR02 2 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR03 3 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR04 4 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR05 5 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR06 6 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR07 7 /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_IMSK_TMR00 0 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR01 1 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR02 2 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR03 3 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR04 4 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR05 5 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR06 6 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR07 7 /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_IMSK_TMR00 0 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR01 1 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR02 2 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR03 3 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR04 4 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR05 5 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR06 6 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR07 7 /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_MSK_TMR00 0 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR01 1 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR02 2 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR03 3 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR04 4 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR05 5 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR06 6 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR07 7 /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Output Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_IE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_IE_TMR00 0 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR01 1 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR02 2 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR03 3 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR04 4 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR05 5 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR06 6 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR07 7 /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_ILAT_TMR00 0 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR01 1 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR02 2 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR03 3 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR04 4 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR05 5 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR06 6 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR07 7 /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_ILAT_TMR00 0 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR01 1 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR02 2 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR03 3 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR04 4 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR05 5 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR06 6 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR07 7 /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_ERR_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_ERR_TYPE_TERR7 14 /* Error type for Timer 7 */
-#define BITP_TIMER_ERR_TYPE_TERR6 12 /* Error type for Timer 6 */
-#define BITP_TIMER_ERR_TYPE_TERR5 10 /* Error type for Timer 5 */
-#define BITP_TIMER_ERR_TYPE_TERR4 8 /* Error type for Timer 4 */
-#define BITP_TIMER_ERR_TYPE_TERR3 6 /* Error type for Timer 3 */
-#define BITP_TIMER_ERR_TYPE_TERR2 4 /* Error type for Timer 2 */
-#define BITP_TIMER_ERR_TYPE_TERR1 2 /* Error type for Timer 1 */
-#define BITP_TIMER_ERR_TYPE_TERR0 0 /* Error type for Timer 0 */
-
-#define BITM_TIMER_ERR_TYPE_TERR7 (_ADI_MSK(0x0000C000,uint32_t)) /* Error type for Timer 7 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR7 (_ADI_MSK(0x00000000,uint32_t)) /* TERR7: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF7 (_ADI_MSK(0x00004000,uint32_t)) /* TERR7: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG7 (_ADI_MSK(0x00008000,uint32_t)) /* TERR7: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG7 (_ADI_MSK(0x0000C000,uint32_t)) /* TERR7: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR6 (_ADI_MSK(0x00003000,uint32_t)) /* Error type for Timer 6 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR6 (_ADI_MSK(0x00000000,uint32_t)) /* TERR6: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF6 (_ADI_MSK(0x00001000,uint32_t)) /* TERR6: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG6 (_ADI_MSK(0x00002000,uint32_t)) /* TERR6: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG6 (_ADI_MSK(0x00003000,uint32_t)) /* TERR6: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR5 (_ADI_MSK(0x00000C00,uint32_t)) /* Error type for Timer 5 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR5 (_ADI_MSK(0x00000000,uint32_t)) /* TERR5: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF5 (_ADI_MSK(0x00000400,uint32_t)) /* TERR5: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG5 (_ADI_MSK(0x00000800,uint32_t)) /* TERR5: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG5 (_ADI_MSK(0x00000C00,uint32_t)) /* TERR5: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR4 (_ADI_MSK(0x00000300,uint32_t)) /* Error type for Timer 4 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR4 (_ADI_MSK(0x00000000,uint32_t)) /* TERR4: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF4 (_ADI_MSK(0x00000100,uint32_t)) /* TERR4: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG4 (_ADI_MSK(0x00000200,uint32_t)) /* TERR4: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG4 (_ADI_MSK(0x00000300,uint32_t)) /* TERR4: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR3 (_ADI_MSK(0x000000C0,uint32_t)) /* Error type for Timer 3 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR3 (_ADI_MSK(0x00000000,uint32_t)) /* TERR3: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF3 (_ADI_MSK(0x00000040,uint32_t)) /* TERR3: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG3 (_ADI_MSK(0x00000080,uint32_t)) /* TERR3: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG3 (_ADI_MSK(0x000000C0,uint32_t)) /* TERR3: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR2 (_ADI_MSK(0x00000030,uint32_t)) /* Error type for Timer 2 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR2 (_ADI_MSK(0x00000000,uint32_t)) /* TERR2: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF2 (_ADI_MSK(0x00000010,uint32_t)) /* TERR2: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG2 (_ADI_MSK(0x00000020,uint32_t)) /* TERR2: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG2 (_ADI_MSK(0x00000030,uint32_t)) /* TERR2: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR1 (_ADI_MSK(0x0000000C,uint32_t)) /* Error type for Timer 1 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR1 (_ADI_MSK(0x00000000,uint32_t)) /* TERR1: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF1 (_ADI_MSK(0x00000004,uint32_t)) /* TERR1: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG1 (_ADI_MSK(0x00000008,uint32_t)) /* TERR1: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG1 (_ADI_MSK(0x0000000C,uint32_t)) /* TERR1: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR0 (_ADI_MSK(0x00000003,uint32_t)) /* Error type for Timer 0 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR0 (_ADI_MSK(0x00000000,uint32_t)) /* TERR0: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF0 (_ADI_MSK(0x00000001,uint32_t)) /* TERR0: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG0 (_ADI_MSK(0x00000002,uint32_t)) /* TERR0: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG0 (_ADI_MSK(0x00000003,uint32_t)) /* TERR0: WID or DLY Register Programming Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TMR_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TMR_CFG_EMURUN 15 /* Run Timer (Counter) During Emulation */
-#define BITP_TIMER_TMR_CFG_BPEREN 14 /* Broadcast Period Enable */
-#define BITP_TIMER_TMR_CFG_BWIDEN 13 /* Broadcast Width Enable */
-#define BITP_TIMER_TMR_CFG_BDLYEN 12 /* Broadcast Delay Enable */
-#define BITP_TIMER_TMR_CFG_OUTDIS 11 /* Output Disable */
-#define BITP_TIMER_TMR_CFG_TINSEL 10 /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define BITP_TIMER_TMR_CFG_CLKSEL 8 /* Clock Select */
-#define BITP_TIMER_TMR_CFG_PULSEHI 7 /* Polarity Response Select */
-#define BITP_TIMER_TMR_CFG_SLAVETRIG 6 /* Slave Trigger Response */
-#define BITP_TIMER_TMR_CFG_IRQMODE 4 /* Interrupt Modes */
-#define BITP_TIMER_TMR_CFG_TMODE 0 /* Timer Mode Select */
-
-#define BITM_TIMER_TMR_CFG_EMURUN (_ADI_MSK(0x00008000,uint16_t)) /* Run Timer (Counter) During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_NOCNT (_ADI_MSK(0x00000000,uint16_t)) /* EMURUN: Stop Timer During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_CNT (_ADI_MSK(0x00008000,uint16_t)) /* EMURUN: Run Timer During Emulation */
-
-#define BITM_TIMER_TMR_CFG_BPEREN (_ADI_MSK(0x00004000,uint16_t)) /* Broadcast Period Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BPEREN: Disable Broadcast to PER Register */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_EN (_ADI_MSK(0x00004000,uint16_t)) /* BPEREN: Enable Broadcast to PER Register */
-
-#define BITM_TIMER_TMR_CFG_BWIDEN (_ADI_MSK(0x00002000,uint16_t)) /* Broadcast Width Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BWIDEN: Disable Broadcast to WID Register */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_EN (_ADI_MSK(0x00002000,uint16_t)) /* BWIDEN: Enable Broadcast to WID Register */
-
-#define BITM_TIMER_TMR_CFG_BDLYEN (_ADI_MSK(0x00001000,uint16_t)) /* Broadcast Delay Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BDLYEN: Disable Broadcast to DLY Register */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_EN (_ADI_MSK(0x00001000,uint16_t)) /* BDLYEN: Enable Broadcast to DLY Register */
-
-#define BITM_TIMER_TMR_CFG_OUTDIS (_ADI_MSK(0x00000800,uint16_t)) /* Output Disable */
-#define ENUM_TIMER_TMR_CFG_PADOUT_EN (_ADI_MSK(0x00000000,uint16_t)) /* OUTDIS: Enable TMR pin output buffer */
-#define ENUM_TIMER_TMR_CFG_PADOUT_DIS (_ADI_MSK(0x00000800,uint16_t)) /* OUTDIS: Disable TMR pin output buffer */
-
-#define BITM_TIMER_TMR_CFG_TINSEL (_ADI_MSK(0x00000400,uint16_t)) /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define ENUM_TIMER_TMR_CFG_TINSEL_TMR (_ADI_MSK(0x00000000,uint16_t)) /* TINSEL: Use TMR pin input */
-#define ENUM_TIMER_TMR_CFG_TINSEL_AUX (_ADI_MSK(0x00000400,uint16_t)) /* TINSEL: Use TMR Alternate Capture Input */
-
-#define BITM_TIMER_TMR_CFG_CLKSEL (_ADI_MSK(0x00000300,uint16_t)) /* Clock Select */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_SCLK (_ADI_MSK(0x00000000,uint16_t)) /* CLKSEL: Use SCLK */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT0 (_ADI_MSK(0x00000100,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK0 as the TMR clock */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT1 (_ADI_MSK(0x00000300,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK1 as the TMR clock */
-
-#define BITM_TIMER_TMR_CFG_PULSEHI (_ADI_MSK(0x00000080,uint16_t)) /* Polarity Response Select */
-#define ENUM_TIMER_TMR_CFG_NEG_EDGE (_ADI_MSK(0x00000000,uint16_t)) /* PULSEHI: Negative Response/Pulse */
-#define ENUM_TIMER_TMR_CFG_POS_EDGE (_ADI_MSK(0x00000080,uint16_t)) /* PULSEHI: Positive Response/Pulse */
-
-#define BITM_TIMER_TMR_CFG_SLAVETRIG (_ADI_MSK(0x00000040,uint16_t)) /* Slave Trigger Response */
-#define ENUM_TIMER_TMR_CFG_TRIGSTOP (_ADI_MSK(0x00000000,uint16_t)) /* SLAVETRIG: Pulse stops timer if it is running */
-#define ENUM_TIMER_TMR_CFG_TRIGSTART (_ADI_MSK(0x00000040,uint16_t)) /* SLAVETRIG: Pulse starts timer if it is stopped */
-
-#define BITM_TIMER_TMR_CFG_IRQMODE (_ADI_MSK(0x00000030,uint16_t)) /* Interrupt Modes */
-#define ENUM_TIMER_TMR_CFG_IRQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* IRQMODE: Active Edge Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE1 (_ADI_MSK(0x00000010,uint16_t)) /* IRQMODE: Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE2 (_ADI_MSK(0x00000020,uint16_t)) /* IRQMODE: Width Plus Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE3 (_ADI_MSK(0x00000030,uint16_t)) /* IRQMODE: Period Expired Mode */
-
-#define BITM_TIMER_TMR_CFG_TMODE (_ADI_MSK(0x0000000F,uint16_t)) /* Timer Mode Select */
-#define ENUM_TIMER_TMR_CFG_IDLE_MODE (_ADI_MSK(0x00000000,uint16_t)) /* TMODE: Idle Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP0_MODE (_ADI_MSK(0x0000000A,uint16_t)) /* TMODE: Width Capture Asserted Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP1_MODE (_ADI_MSK(0x0000000B,uint16_t)) /* TMODE: Width Capture Deasserted Mode */
-#define ENUM_TIMER_TMR_CFG_PWMCONT_MODE (_ADI_MSK(0x0000000C,uint16_t)) /* TMODE: Continuous PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_PWMSING_MODE (_ADI_MSK(0x0000000D,uint16_t)) /* TMODE: Single pulse PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_EXTCLK_MODE (_ADI_MSK(0x0000000E,uint16_t)) /* TMODE: EXTCLK mode */
-#define ENUM_TIMER_TMR_CFG_PININT_MODE (_ADI_MSK(0x0000000F,uint16_t)) /* TMODE: PININT (pin interrupt) mode */
-#define ENUM_TIMER_TMR_CFG_WDPER_MODE (_ADI_MSK(0x00000008,uint16_t)) /* TMODE: Period Watchdog Mode */
-#define ENUM_TIMER_TMR_CFG_WDWID_MODE (_ADI_MSK(0x00000009,uint16_t)) /* TMODE: Width Watchdog Mode */
-
-/* ==================================================
- Cyclic Redundancy Check Unit Registers
- ================================================== */
-
-/* =========================
- CRC0
- ========================= */
-#define REG_CRC0_CTL 0xFFC01C00 /* CRC0 Control Register */
-#define REG_CRC0_DCNT 0xFFC01C04 /* CRC0 Data Word Count Register */
-#define REG_CRC0_DCNTRLD 0xFFC01C08 /* CRC0 Data Word Count Reload Register */
-#define REG_CRC0_COMP 0xFFC01C14 /* CRC0 Data Compare Register */
-#define REG_CRC0_FILLVAL 0xFFC01C18 /* CRC0 Fill Value Register */
-#define REG_CRC0_DFIFO 0xFFC01C1C /* CRC0 Data FIFO Register */
-#define REG_CRC0_INEN 0xFFC01C20 /* CRC0 Interrupt Enable Register */
-#define REG_CRC0_INEN_SET 0xFFC01C24 /* CRC0 Interrupt Enable Set Register */
-#define REG_CRC0_INEN_CLR 0xFFC01C28 /* CRC0 Interrupt Enable Clear Register */
-#define REG_CRC0_POLY 0xFFC01C2C /* CRC0 Polynomial Register */
-#define REG_CRC0_STAT 0xFFC01C40 /* CRC0 Status Register */
-#define REG_CRC0_DCNTCAP 0xFFC01C44 /* CRC0 Data Count Capture Register */
-#define REG_CRC0_RESULT_FIN 0xFFC01C4C /* CRC0 CRC Final Result Register */
-#define REG_CRC0_RESULT_CUR 0xFFC01C50 /* CRC0 CRC Current Result Register */
-#define REG_CRC0_REVID 0xFFC01C60 /* CRC0 Revision ID Register */
-
-/* =========================
- CRC1
- ========================= */
-#define REG_CRC1_CTL 0xFFC01D00 /* CRC1 Control Register */
-#define REG_CRC1_DCNT 0xFFC01D04 /* CRC1 Data Word Count Register */
-#define REG_CRC1_DCNTRLD 0xFFC01D08 /* CRC1 Data Word Count Reload Register */
-#define REG_CRC1_COMP 0xFFC01D14 /* CRC1 Data Compare Register */
-#define REG_CRC1_FILLVAL 0xFFC01D18 /* CRC1 Fill Value Register */
-#define REG_CRC1_DFIFO 0xFFC01D1C /* CRC1 Data FIFO Register */
-#define REG_CRC1_INEN 0xFFC01D20 /* CRC1 Interrupt Enable Register */
-#define REG_CRC1_INEN_SET 0xFFC01D24 /* CRC1 Interrupt Enable Set Register */
-#define REG_CRC1_INEN_CLR 0xFFC01D28 /* CRC1 Interrupt Enable Clear Register */
-#define REG_CRC1_POLY 0xFFC01D2C /* CRC1 Polynomial Register */
-#define REG_CRC1_STAT 0xFFC01D40 /* CRC1 Status Register */
-#define REG_CRC1_DCNTCAP 0xFFC01D44 /* CRC1 Data Count Capture Register */
-#define REG_CRC1_RESULT_FIN 0xFFC01D4C /* CRC1 CRC Final Result Register */
-#define REG_CRC1_RESULT_CUR 0xFFC01D50 /* CRC1 CRC Current Result Register */
-#define REG_CRC1_REVID 0xFFC01D60 /* CRC1 Revision ID Register */
-
-/* =========================
- CRC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_CTL_CMPMIRR 22 /* COMPARE Register Mirroring */
-#define BITP_CRC_CTL_POLYMIRR 21 /* Polynomial Register Mirroring */
-#define BITP_CRC_CTL_RSLTMIRR 20 /* Result Register Mirroring */
-#define BITP_CRC_CTL_FDSEL 19 /* FIFO Data Select */
-#define BITP_CRC_CTL_W16SWP 18 /* Word16 Swapping */
-#define BITP_CRC_CTL_BYTMIRR 17 /* Byte Mirroring */
-#define BITP_CRC_CTL_BITMIRR 16 /* Bit Mirroring */
-#define BITP_CRC_CTL_IRRSTALL 13 /* Intermediate Result Ready Stall */
-#define BITP_CRC_CTL_OBRSTALL 12 /* Output Buffer Ready Stall */
-#define BITP_CRC_CTL_AUTOCLRF 9 /* Auto Clear to One */
-#define BITP_CRC_CTL_AUTOCLRZ 8 /* Auto Clear to Zero */
-#define BITP_CRC_CTL_OPMODE 4 /* Operation Mode */
-#define BITP_CRC_CTL_BLKEN 0 /* Block Enable */
-#define BITM_CRC_CTL_CMPMIRR (_ADI_MSK(0x00400000,uint32_t)) /* COMPARE Register Mirroring */
-#define BITM_CRC_CTL_POLYMIRR (_ADI_MSK(0x00200000,uint32_t)) /* Polynomial Register Mirroring */
-#define BITM_CRC_CTL_RSLTMIRR (_ADI_MSK(0x00100000,uint32_t)) /* Result Register Mirroring */
-#define BITM_CRC_CTL_FDSEL (_ADI_MSK(0x00080000,uint32_t)) /* FIFO Data Select */
-#define BITM_CRC_CTL_W16SWP (_ADI_MSK(0x00040000,uint32_t)) /* Word16 Swapping */
-#define BITM_CRC_CTL_BYTMIRR (_ADI_MSK(0x00020000,uint32_t)) /* Byte Mirroring */
-#define BITM_CRC_CTL_BITMIRR (_ADI_MSK(0x00010000,uint32_t)) /* Bit Mirroring */
-#define BITM_CRC_CTL_IRRSTALL (_ADI_MSK(0x00002000,uint32_t)) /* Intermediate Result Ready Stall */
-#define BITM_CRC_CTL_OBRSTALL (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Ready Stall */
-#define BITM_CRC_CTL_AUTOCLRF (_ADI_MSK(0x00000200,uint32_t)) /* Auto Clear to One */
-#define BITM_CRC_CTL_AUTOCLRZ (_ADI_MSK(0x00000100,uint32_t)) /* Auto Clear to Zero */
-#define BITM_CRC_CTL_OPMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Operation Mode */
-#define BITM_CRC_CTL_BLKEN (_ADI_MSK(0x00000001,uint32_t)) /* Block Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable */
-#define BITP_CRC_INEN_CMPERR 1 /* Compare Error Interrupt Enable */
-
-#define BITM_CRC_INEN_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable */
-#define ENUM_CRC_INEN_DCNTEXP_MSK (_ADI_MSK(0x00000000,uint32_t)) /* DCNTEXP: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_DCNTEXP_UMSK (_ADI_MSK(0x00000010,uint32_t)) /* DCNTEXP: Enable (unmask) interrupt */
-
-#define BITM_CRC_INEN_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable */
-#define ENUM_CRC_INEN_CMPERR_MSK (_ADI_MSK(0x00000000,uint32_t)) /* CMPERR: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_CMPERR_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* CMPERR: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_SET_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITP_CRC_INEN_SET_CMPERR 1 /* Compare Error Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_CLR_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITP_CRC_INEN_CLR_CMPERR 1 /* Compare Error Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_STAT_FSTAT 20 /* FIFO Status */
-#define BITP_CRC_STAT_LUTDONE 19 /* Look Up Table Done */
-#define BITP_CRC_STAT_IRR 18 /* Intermediate Result Ready */
-#define BITP_CRC_STAT_OBR 17 /* Output Buffer Ready */
-#define BITP_CRC_STAT_IBR 16 /* Input Buffer Ready */
-#define BITP_CRC_STAT_DCNTEXP 4 /* Data Count Expired */
-#define BITP_CRC_STAT_CMPERR 1 /* Compare Error */
-#define BITM_CRC_STAT_FSTAT (_ADI_MSK(0x00700000,uint32_t)) /* FIFO Status */
-#define BITM_CRC_STAT_LUTDONE (_ADI_MSK(0x00080000,uint32_t)) /* Look Up Table Done */
-#define BITM_CRC_STAT_IRR (_ADI_MSK(0x00040000,uint32_t)) /* Intermediate Result Ready */
-#define BITM_CRC_STAT_OBR (_ADI_MSK(0x00020000,uint32_t)) /* Output Buffer Ready */
-#define BITM_CRC_STAT_IBR (_ADI_MSK(0x00010000,uint32_t)) /* Input Buffer Ready */
-#define BITM_CRC_STAT_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired */
-#define BITM_CRC_STAT_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_CRC_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_CRC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Revision ID */
-#define BITM_CRC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Revision ID */
-
-/* ==================================================
- 2-Wire Interface Registers
- ================================================== */
-
-/* =========================
- TWI0
- ========================= */
-#define REG_TWI0_CLKDIV 0xFFC01E00 /* TWI0 SCL Clock Divider Register */
-#define REG_TWI0_CTL 0xFFC01E04 /* TWI0 Control Register */
-#define REG_TWI0_SLVCTL 0xFFC01E08 /* TWI0 Slave Mode Control Register */
-#define REG_TWI0_SLVSTAT 0xFFC01E0C /* TWI0 Slave Mode Status Register */
-#define REG_TWI0_SLVADDR 0xFFC01E10 /* TWI0 Slave Mode Address Register */
-#define REG_TWI0_MSTRCTL 0xFFC01E14 /* TWI0 Master Mode Control Registers */
-#define REG_TWI0_MSTRSTAT 0xFFC01E18 /* TWI0 Master Mode Status Register */
-#define REG_TWI0_MSTRADDR 0xFFC01E1C /* TWI0 Master Mode Address Register */
-#define REG_TWI0_ISTAT 0xFFC01E20 /* TWI0 Interrupt Status Register */
-#define REG_TWI0_IMSK 0xFFC01E24 /* TWI0 Interrupt Mask Register */
-#define REG_TWI0_FIFOCTL 0xFFC01E28 /* TWI0 FIFO Control Register */
-#define REG_TWI0_FIFOSTAT 0xFFC01E2C /* TWI0 FIFO Status Register */
-#define REG_TWI0_TXDATA8 0xFFC01E80 /* TWI0 Tx Data Single-Byte Register */
-#define REG_TWI0_TXDATA16 0xFFC01E84 /* TWI0 Tx Data Double-Byte Register */
-#define REG_TWI0_RXDATA8 0xFFC01E88 /* TWI0 Rx Data Single-Byte Register */
-#define REG_TWI0_RXDATA16 0xFFC01E8C /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================
- TWI1
- ========================= */
-#define REG_TWI1_CLKDIV 0xFFC01F00 /* TWI1 SCL Clock Divider Register */
-#define REG_TWI1_CTL 0xFFC01F04 /* TWI1 Control Register */
-#define REG_TWI1_SLVCTL 0xFFC01F08 /* TWI1 Slave Mode Control Register */
-#define REG_TWI1_SLVSTAT 0xFFC01F0C /* TWI1 Slave Mode Status Register */
-#define REG_TWI1_SLVADDR 0xFFC01F10 /* TWI1 Slave Mode Address Register */
-#define REG_TWI1_MSTRCTL 0xFFC01F14 /* TWI1 Master Mode Control Registers */
-#define REG_TWI1_MSTRSTAT 0xFFC01F18 /* TWI1 Master Mode Status Register */
-#define REG_TWI1_MSTRADDR 0xFFC01F1C /* TWI1 Master Mode Address Register */
-#define REG_TWI1_ISTAT 0xFFC01F20 /* TWI1 Interrupt Status Register */
-#define REG_TWI1_IMSK 0xFFC01F24 /* TWI1 Interrupt Mask Register */
-#define REG_TWI1_FIFOCTL 0xFFC01F28 /* TWI1 FIFO Control Register */
-#define REG_TWI1_FIFOSTAT 0xFFC01F2C /* TWI1 FIFO Status Register */
-#define REG_TWI1_TXDATA8 0xFFC01F80 /* TWI1 Tx Data Single-Byte Register */
-#define REG_TWI1_TXDATA16 0xFFC01F84 /* TWI1 Tx Data Double-Byte Register */
-#define REG_TWI1_RXDATA8 0xFFC01F88 /* TWI1 Rx Data Single-Byte Register */
-#define REG_TWI1_RXDATA16 0xFFC01F8C /* TWI1 Rx Data Double-Byte Register */
-
-/* =========================
- TWI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CLKDIV_CLKHI 8 /* SCL Clock High Periods */
-#define BITP_TWI_CLKDIV_CLKLO 0 /* SCL Clock Low Periods */
-#define BITM_TWI_CLKDIV_CLKHI (_ADI_MSK(0x0000FF00,uint16_t)) /* SCL Clock High Periods */
-#define BITM_TWI_CLKDIV_CLKLO (_ADI_MSK(0x000000FF,uint16_t)) /* SCL Clock Low Periods */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CTL_SCCB 9 /* SCCB Compatibility */
-#define BITP_TWI_CTL_EN 7 /* Enable Module */
-#define BITP_TWI_CTL_PRESCALE 0 /* SCLK Prescale Value */
-
-#define BITM_TWI_CTL_SCCB (_ADI_MSK(0x00000200,uint16_t)) /* SCCB Compatibility */
-#define ENUM_TWI_CTL_SCCB_DIS (_ADI_MSK(0x00000000,uint16_t)) /* SCCB: Disable SCCB compatibility */
-#define ENUM_TWI_CTL_SCCB_EN (_ADI_MSK(0x00000200,uint16_t)) /* SCCB: Enable SCCB compatibility */
-
-#define BITM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* Enable Module */
-#define ENUM_TWI_CTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* EN: Enable */
-#define BITM_TWI_CTL_PRESCALE (_ADI_MSK(0x0000007F,uint16_t)) /* SCLK Prescale Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVCTL_GEN 4 /* General Call Enable */
-#define BITP_TWI_SLVCTL_NAK 3 /* Not Acknowledge */
-#define BITP_TWI_SLVCTL_TDVAL 2 /* Transmit Data Valid for Slave */
-#define BITP_TWI_SLVCTL_EN 0 /* Enable Slave Mode */
-
-#define BITM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* General Call Enable */
-#define ENUM_TWI_SLVCTL_GDIS (_ADI_MSK(0x00000000,uint16_t)) /* GEN: Disable General Call Matching */
-#define ENUM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* GEN: Enable General Call Matching */
-
-#define BITM_TWI_SLVCTL_NAK (_ADI_MSK(0x00000008,uint16_t)) /* Not Acknowledge */
-#define ENUM_TWI_SLVCTL_ACKGEN (_ADI_MSK(0x00000000,uint16_t)) /* NAK: Generate ACK */
-#define ENUM_TWI_SLVCTL_NAKGEN (_ADI_MSK(0x00000008,uint16_t)) /* NAK: Generate NAK */
-
-#define BITM_TWI_SLVCTL_TDVAL (_ADI_MSK(0x00000004,uint16_t)) /* Transmit Data Valid for Slave */
-#define ENUM_TWI_SLVCTL_INVALID (_ADI_MSK(0x00000000,uint16_t)) /* TDVAL: Data Invalid for Slave Tx */
-#define ENUM_TWI_SLVCTL_VALID (_ADI_MSK(0x00000004,uint16_t)) /* TDVAL: Data Valid for Slave Tx */
-
-#define BITM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Slave Mode */
-#define ENUM_TWI_SLVCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVSTAT_GCALL 1 /* General Call */
-#define BITP_TWI_SLVSTAT_DIR 0 /* Transfer Direction for Slave */
-
-#define BITM_TWI_SLVSTAT_GCALL (_ADI_MSK(0x00000002,uint16_t)) /* General Call */
-#define ENUM_TWI_SLVSTAT_NO (_ADI_MSK(0x00000000,uint16_t)) /* GCALL: Not a General Call Address */
-#define ENUM_TWI_SLVSTAT_YES (_ADI_MSK(0x00000002,uint16_t)) /* GCALL: General Call Address */
-
-#define BITM_TWI_SLVSTAT_DIR (_ADI_MSK(0x00000001,uint16_t)) /* Transfer Direction for Slave */
-#define ENUM_TWI_SLVSTAT_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Slave Receive */
-#define ENUM_TWI_SLVSTAT_TX (_ADI_MSK(0x00000001,uint16_t)) /* DIR: Slave Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVADDR_ADDR 0 /* Slave Mode Address */
-#define BITM_TWI_SLVADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Slave Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRCTL_SCLOVR 15 /* Serial Clock Override */
-#define BITP_TWI_MSTRCTL_SDAOVR 14 /* Serial Data Override */
-#define BITP_TWI_MSTRCTL_DCNT 6 /* Data Transfer Count */
-#define BITP_TWI_MSTRCTL_RSTART 5 /* Repeat Start */
-#define BITP_TWI_MSTRCTL_STOP 4 /* Issue Stop Condition */
-#define BITP_TWI_MSTRCTL_FAST 3 /* Fast Mode */
-#define BITP_TWI_MSTRCTL_DIR 2 /* Transfer Direction for Master */
-#define BITP_TWI_MSTRCTL_EN 0 /* Enable Master Mode */
-
-#define BITM_TWI_MSTRCTL_SCLOVR (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Override */
-#define ENUM_TWI_MSTRCTL_SCLNORM (_ADI_MSK(0x00000000,uint16_t)) /* SCLOVR: Permit Normal SCL Operation */
-#define ENUM_TWI_MSTRCTL_SCLOVER (_ADI_MSK(0x00008000,uint16_t)) /* SCLOVR: Override Normal SCL Operation */
-
-#define BITM_TWI_MSTRCTL_SDAOVR (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Override */
-#define ENUM_TWI_MSTRCTL_SDANORM (_ADI_MSK(0x00000000,uint16_t)) /* SDAOVR: Permit Normal SDA Operation */
-#define ENUM_TWI_MSTRCTL_SDAOVER (_ADI_MSK(0x00004000,uint16_t)) /* SDAOVR: Override Normal SDA Operation */
-#define BITM_TWI_MSTRCTL_DCNT (_ADI_MSK(0x00003FC0,uint16_t)) /* Data Transfer Count */
-
-#define BITM_TWI_MSTRCTL_RSTART (_ADI_MSK(0x00000020,uint16_t)) /* Repeat Start */
-#define ENUM_TWI_MSTRCTL_END (_ADI_MSK(0x00000000,uint16_t)) /* RSTART: Disable Repeat Start */
-#define ENUM_TWI_MSTRCTL_RPT (_ADI_MSK(0x00000020,uint16_t)) /* RSTART: Enable Repeat Start */
-
-#define BITM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* Issue Stop Condition */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* STOP: Permit Normal Operation */
-#define ENUM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* STOP: Issue Stop */
-
-#define BITM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* Fast Mode */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* FAST: Select Standard Mode */
-#define ENUM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* FAST: Select Fast Mode */
-
-#define BITM_TWI_MSTRCTL_DIR (_ADI_MSK(0x00000004,uint16_t)) /* Transfer Direction for Master */
-#define ENUM_TWI_MSTRCTL_TX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Master Transmit */
-#define ENUM_TWI_MSTRCTL_RX (_ADI_MSK(0x00000004,uint16_t)) /* DIR: Master Receive */
-
-#define BITM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Master Mode */
-#define ENUM_TWI_MSTRCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRSTAT_BUSBUSY 8 /* Bus Busy */
-#define BITP_TWI_MSTRSTAT_SCLSEN 7 /* Serial Clock Sense */
-#define BITP_TWI_MSTRSTAT_SDASEN 6 /* Serial Data Sense */
-#define BITP_TWI_MSTRSTAT_BUFWRERR 5 /* Buffer Write Error */
-#define BITP_TWI_MSTRSTAT_BUFRDERR 4 /* Buffer Read Error */
-#define BITP_TWI_MSTRSTAT_DNAK 3 /* Data Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_ANAK 2 /* Address Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_LOSTARB 1 /* Lost Arbitration */
-#define BITP_TWI_MSTRSTAT_MPROG 0 /* Master Transfer in Progress */
-
-#define BITM_TWI_MSTRSTAT_BUSBUSY (_ADI_MSK(0x00000100,uint16_t)) /* Bus Busy */
-#define ENUM_TWI_MSTRSTAT_FREE (_ADI_MSK(0x00000000,uint16_t)) /* BUSBUSY: Bus Free */
-#define ENUM_TWI_MSTRSTAT_BUSY (_ADI_MSK(0x00000100,uint16_t)) /* BUSBUSY: Bus Busy */
-
-#define BITM_TWI_MSTRSTAT_SCLSEN (_ADI_MSK(0x00000080,uint16_t)) /* Serial Clock Sense */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLSEN: SCL Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_YES (_ADI_MSK(0x00000080,uint16_t)) /* SCLSEN: SCL Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_SDASEN (_ADI_MSK(0x00000040,uint16_t)) /* Serial Data Sense */
-#define ENUM_TWI_MSTRSTAT_SDASEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDASEN: SDA Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SDASEN_YES (_ADI_MSK(0x00000040,uint16_t)) /* SDASEN: SDA Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_BUFWRERR (_ADI_MSK(0x00000020,uint16_t)) /* Buffer Write Error */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFWRERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* BUFWRERR: Buffer Write Error */
-
-#define BITM_TWI_MSTRSTAT_BUFRDERR (_ADI_MSK(0x00000010,uint16_t)) /* Buffer Read Error */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFRDERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_YES (_ADI_MSK(0x00000010,uint16_t)) /* BUFRDERR: Buffer Read Error */
-
-#define BITM_TWI_MSTRSTAT_DNAK (_ADI_MSK(0x00000008,uint16_t)) /* Data Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_DNAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* DNAK: No Status */
-#define ENUM_TWI_MSTRSTAT_DNAK_YES (_ADI_MSK(0x00000008,uint16_t)) /* DNAK: Data NAK */
-
-#define BITM_TWI_MSTRSTAT_ANAK (_ADI_MSK(0x00000004,uint16_t)) /* Address Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_ANAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* ANAK: No Status */
-#define ENUM_TWI_MSTRSTAT_ANAK_YES (_ADI_MSK(0x00000004,uint16_t)) /* ANAK: Address NAK */
-
-#define BITM_TWI_MSTRSTAT_LOSTARB (_ADI_MSK(0x00000002,uint16_t)) /* Lost Arbitration */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_NO (_ADI_MSK(0x00000000,uint16_t)) /* LOSTARB: No Status */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_YES (_ADI_MSK(0x00000002,uint16_t)) /* LOSTARB: Lost Arbitration */
-
-#define BITM_TWI_MSTRSTAT_MPROG (_ADI_MSK(0x00000001,uint16_t)) /* Master Transfer in Progress */
-#define ENUM_TWI_MSTRSTAT_MPROG_NO (_ADI_MSK(0x00000000,uint16_t)) /* MPROG: No Status */
-#define ENUM_TWI_MSTRSTAT_MPROG_YES (_ADI_MSK(0x00000001,uint16_t)) /* MPROG: Master Transfer in Progress */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRADDR_ADDR 0 /* Master Mode Address */
-#define BITM_TWI_MSTRADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Master Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_ISTAT_SCLI 15 /* Serial Clock Interrupt */
-#define BITP_TWI_ISTAT_SDAI 14 /* Serial Data Interrupt */
-#define BITP_TWI_ISTAT_RXSERV 7 /* Rx FIFO Service */
-#define BITP_TWI_ISTAT_TXSERV 6 /* Tx FIFO Service */
-#define BITP_TWI_ISTAT_MERR 5 /* Master Transfer Error */
-#define BITP_TWI_ISTAT_MCOMP 4 /* Master Transfer Complete */
-#define BITP_TWI_ISTAT_SOVF 3 /* Slave Overflow */
-#define BITP_TWI_ISTAT_SERR 2 /* Slave Transfer Error */
-#define BITP_TWI_ISTAT_SCOMP 1 /* Slave Transfer Complete */
-#define BITP_TWI_ISTAT_SINIT 0 /* Slave Transfer Initiated */
-
-#define BITM_TWI_ISTAT_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: No Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_YES (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: No Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_YES (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service */
-#define ENUM_TWI_ISTAT_RXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_RXSERV_YES (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service */
-#define ENUM_TWI_ISTAT_TXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_TXSERV_YES (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error */
-#define ENUM_TWI_ISTAT_MERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* MERR: No Interrupt */
-#define ENUM_TWI_ISTAT_MERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete */
-#define ENUM_TWI_ISTAT_MCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_MCOMP_YES (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow */
-#define ENUM_TWI_ISTAT_SOVF_NO (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: No Interrupt */
-#define ENUM_TWI_ISTAT_SOVF_YES (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error */
-#define ENUM_TWI_ISTAT_SERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* SERR: No Interrupt */
-#define ENUM_TWI_ISTAT_SERR_YES (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete */
-#define ENUM_TWI_ISTAT_SCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_SCOMP_YES (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated */
-#define ENUM_TWI_ISTAT_SINIT_NO (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: No Interrupt */
-#define ENUM_TWI_ISTAT_SINIT_YES (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Interrupt Detected */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_IMSK_SCLI 15 /* Serial Clock Interrupt Mask */
-#define BITP_TWI_IMSK_SDAI 14 /* Serial Data Interrupt Mask */
-#define BITP_TWI_IMSK_RXSERV 7 /* Rx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_TXSERV 6 /* Tx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_MERR 5 /* Master Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_MCOMP 4 /* Master Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SOVF 3 /* Slave Overflow Interrupt Mask */
-#define BITP_TWI_IMSK_SERR 2 /* Slave Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_SCOMP 1 /* Slave Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SINIT 0 /* Slave Transfer Initiated Interrupt Mask */
-
-#define BITM_TWI_IMSK_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt Mask */
-#define ENUM_TWI_IMSK_SCLI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCLI_UMSK (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt Mask */
-#define ENUM_TWI_IMSK_SDAI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SDAI_UMSK (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_RXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_RXSERV_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_TXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_TXSERV_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_MERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MERR_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_MCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MCOMP_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow Interrupt Mask */
-#define ENUM_TWI_IMSK_SOVF_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SOVF_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_SERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SERR_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_SCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCOMP_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated Interrupt Mask */
-#define ENUM_TWI_IMSK_SINIT_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SINIT_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Unmask (Enable) Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOCTL_RXILEN 3 /* Rx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_TXILEN 2 /* Tx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_RXFLUSH 1 /* Rx Buffer Flush */
-#define BITP_TWI_FIFOCTL_TXFLUSH 0 /* Tx Buffer Flush */
-
-#define BITM_TWI_FIFOCTL_RXILEN (_ADI_MSK(0x00000008,uint16_t)) /* Rx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_RXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* RXILEN: RXSERVI on 1 or 2 Bytes in FIFO */
-#define ENUM_TWI_FIFOCTL_RXTWOBYTE (_ADI_MSK(0x00000008,uint16_t)) /* RXILEN: RXSERVI on 2 Bytes in FIFO */
-
-#define BITM_TWI_FIFOCTL_TXILEN (_ADI_MSK(0x00000004,uint16_t)) /* Tx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_TXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* TXILEN: TXSERVI on 1 Byte of FIFO Empty */
-#define ENUM_TWI_FIFOCTL_TXTWOBYTE (_ADI_MSK(0x00000004,uint16_t)) /* TXILEN: TXSERVI on 2 Bytes of FIFO Empty */
-
-#define BITM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* Rx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_RXNORM (_ADI_MSK(0x00000000,uint16_t)) /* RXFLUSH: Normal Operation of Rx Buffer */
-#define ENUM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* RXFLUSH: Flush Rx Buffer */
-
-#define BITM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* Tx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_TXNORM (_ADI_MSK(0x00000000,uint16_t)) /* TXFLUSH: Normal Operation of Tx Buffer */
-#define ENUM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* TXFLUSH: Flush Tx Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOSTAT_RXSTAT 2 /* Rx FIFO Status */
-#define BITP_TWI_FIFOSTAT_TXSTAT 0 /* Tx FIFO Status */
-#define BITM_TWI_FIFOSTAT_RXSTAT (_ADI_MSK(0x0000000C,uint16_t)) /* Rx FIFO Status */
-#define BITM_TWI_FIFOSTAT_TXSTAT (_ADI_MSK(0x00000003,uint16_t)) /* Tx FIFO Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_TXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_TXDATA8_VALUE 0 /* Tx Data 8-Bit Value */
-#define BITM_TWI_TXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Tx Data 8-Bit Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_RXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_RXDATA8_VALUE 0 /* Rx Data 8-Bit Value */
-#define BITM_TWI_RXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Rx Data 8-Bit Value */
-
-/* ==================================================
- UART Registers
- ================================================== */
-
-/* =========================
- UART0
- ========================= */
-#define REG_UART0_REVID 0xFFC02000 /* UART0 Revision ID Register */
-#define REG_UART0_CTL 0xFFC02004 /* UART0 Control Register */
-#define REG_UART0_STAT 0xFFC02008 /* UART0 Status Register */
-#define REG_UART0_SCR 0xFFC0200C /* UART0 Scratch Register */
-#define REG_UART0_CLK 0xFFC02010 /* UART0 Clock Rate Register */
-#define REG_UART0_IMSK 0xFFC02014 /* UART0 Interrupt Mask Register */
-#define REG_UART0_IMSK_SET 0xFFC02018 /* UART0 Interrupt Mask Set Register */
-#define REG_UART0_IMSK_CLR 0xFFC0201C /* UART0 Interrupt Mask Clear Register */
-#define REG_UART0_RBR 0xFFC02020 /* UART0 Receive Buffer Register */
-#define REG_UART0_THR 0xFFC02024 /* UART0 Transmit Hold Register */
-#define REG_UART0_TAIP 0xFFC02028 /* UART0 Transmit Address/Insert Pulse Register */
-#define REG_UART0_TSR 0xFFC0202C /* UART0 Transmit Shift Register */
-#define REG_UART0_RSR 0xFFC02030 /* UART0 Receive Shift Register */
-#define REG_UART0_TXCNT 0xFFC02034 /* UART0 Transmit Counter Register */
-#define REG_UART0_RXCNT 0xFFC02038 /* UART0 Receive Counter Register */
-
-/* =========================
- UART1
- ========================= */
-#define REG_UART1_REVID 0xFFC02400 /* UART1 Revision ID Register */
-#define REG_UART1_CTL 0xFFC02404 /* UART1 Control Register */
-#define REG_UART1_STAT 0xFFC02408 /* UART1 Status Register */
-#define REG_UART1_SCR 0xFFC0240C /* UART1 Scratch Register */
-#define REG_UART1_CLK 0xFFC02410 /* UART1 Clock Rate Register */
-#define REG_UART1_IMSK 0xFFC02414 /* UART1 Interrupt Mask Register */
-#define REG_UART1_IMSK_SET 0xFFC02418 /* UART1 Interrupt Mask Set Register */
-#define REG_UART1_IMSK_CLR 0xFFC0241C /* UART1 Interrupt Mask Clear Register */
-#define REG_UART1_RBR 0xFFC02420 /* UART1 Receive Buffer Register */
-#define REG_UART1_THR 0xFFC02424 /* UART1 Transmit Hold Register */
-#define REG_UART1_TAIP 0xFFC02428 /* UART1 Transmit Address/Insert Pulse Register */
-#define REG_UART1_TSR 0xFFC0242C /* UART1 Transmit Shift Register */
-#define REG_UART1_RSR 0xFFC02430 /* UART1 Receive Shift Register */
-#define REG_UART1_TXCNT 0xFFC02434 /* UART1 Transmit Counter Register */
-#define REG_UART1_RXCNT 0xFFC02438 /* UART1 Receive Counter Register */
-
-/* =========================
- UART
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_REVID_MAJOR 4 /* Major Version */
-#define BITP_UART_REVID_REV 0 /* Incremental Version */
-#define BITM_UART_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version */
-#define BITM_UART_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CTL_RFRT 30 /* Receive FIFO RTS Threshold */
-#define BITP_UART_CTL_RFIT 29 /* Receive FIFO IRQ Threshold */
-#define BITP_UART_CTL_ACTS 28 /* Automatic CTS */
-#define BITP_UART_CTL_ARTS 27 /* Automatic RTS */
-#define BITP_UART_CTL_XOFF 26 /* Transmitter off */
-#define BITP_UART_CTL_MRTS 25 /* Manual Request to Send */
-#define BITP_UART_CTL_TPOLC 24 /* IrDA TX Polarity Change */
-#define BITP_UART_CTL_RPOLC 23 /* IrDA RX Polarity Change */
-#define BITP_UART_CTL_FCPOL 22 /* Flow Control Pin Polarity */
-#define BITP_UART_CTL_SB 19 /* Set Break */
-#define BITP_UART_CTL_FFE 18 /* Force Framing Error on Transmit */
-#define BITP_UART_CTL_FPE 17 /* Force Parity Error on Transmit */
-#define BITP_UART_CTL_STP 16 /* Sticky Parity */
-#define BITP_UART_CTL_EPS 15 /* Even Parity Select */
-#define BITP_UART_CTL_PEN 14 /* Parity Enable */
-#define BITP_UART_CTL_STBH 13 /* Stop Bits (Half Bit Time) */
-#define BITP_UART_CTL_STB 12 /* Stop Bits */
-#define BITP_UART_CTL_WLS 8 /* Word Length Select */
-#define BITP_UART_CTL_MOD 4 /* Mode of Operation */
-#define BITP_UART_CTL_LOOP_EN 1 /* Loopback Enable */
-#define BITP_UART_CTL_EN 0 /* Enable UART */
-
-#define BITM_UART_CTL_RFRT (_ADI_MSK(0x40000000,uint32_t)) /* Receive FIFO RTS Threshold */
-#define ENUM_UART_CTL_RX_RTS_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 4; assert if <= 4 */
-#define ENUM_UART_CTL_RX_RTS_TH7 (_ADI_MSK(0x40000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 7; assert if <= 7 */
-
-#define BITM_UART_CTL_RFIT (_ADI_MSK(0x20000000,uint32_t)) /* Receive FIFO IRQ Threshold */
-#define ENUM_UART_CTL_RX_IRQ_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 4 */
-#define ENUM_UART_CTL_RX_IRQ_TH7 (_ADI_MSK(0x20000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 7 */
-
-#define BITM_UART_CTL_ACTS (_ADI_MSK(0x10000000,uint32_t)) /* Automatic CTS */
-#define ENUM_UART_CTL_CTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ACTS: Disable TX handshaking protocol */
-#define ENUM_UART_CTL_CTS_AUTO (_ADI_MSK(0x10000000,uint32_t)) /* ACTS: Enable TX handshaking protocol */
-
-#define BITM_UART_CTL_ARTS (_ADI_MSK(0x08000000,uint32_t)) /* Automatic RTS */
-#define ENUM_UART_CTL_RTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ARTS: Disable RX handshaking protocol. */
-#define ENUM_UART_CTL_RTS_AUTO (_ADI_MSK(0x08000000,uint32_t)) /* ARTS: Enable RX handshaking protocol. */
-
-#define BITM_UART_CTL_XOFF (_ADI_MSK(0x04000000,uint32_t)) /* Transmitter off */
-#define ENUM_UART_CTL_TX_ON (_ADI_MSK(0x00000000,uint32_t)) /* XOFF: Transmission ON, if ACTS=0 */
-#define ENUM_UART_CTL_TX_OFF (_ADI_MSK(0x04000000,uint32_t)) /* XOFF: Transmission OFF, if ACTS=0 */
-
-#define BITM_UART_CTL_MRTS (_ADI_MSK(0x02000000,uint32_t)) /* Manual Request to Send */
-#define ENUM_UART_CTL_RTS_DEASSERT (_ADI_MSK(0x00000000,uint32_t)) /* MRTS: De-assert RTS pin when ARTS=0 */
-#define ENUM_UART_CTL_RTS_ASSERT (_ADI_MSK(0x02000000,uint32_t)) /* MRTS: Assert RTS pin when ARTS=0 */
-
-#define BITM_UART_CTL_TPOLC (_ADI_MSK(0x01000000,uint32_t)) /* IrDA TX Polarity Change */
-#define ENUM_UART_CTL_TPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TPOLC: Active-low TX polarity setting */
-#define ENUM_UART_CTL_TPOLC_HI (_ADI_MSK(0x01000000,uint32_t)) /* TPOLC: Active-high TX polarity setting */
-
-#define BITM_UART_CTL_RPOLC (_ADI_MSK(0x00800000,uint32_t)) /* IrDA RX Polarity Change */
-#define ENUM_UART_CTL_RPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* RPOLC: Active-low RX polarity setting */
-#define ENUM_UART_CTL_RPOLC_HI (_ADI_MSK(0x00800000,uint32_t)) /* RPOLC: Active-high RX polarity setting */
-
-#define BITM_UART_CTL_FCPOL (_ADI_MSK(0x00400000,uint32_t)) /* Flow Control Pin Polarity */
-#define ENUM_UART_CTL_FCPOL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPOL: Active low CTS/RTS */
-#define ENUM_UART_CTL_FCPOL_HI (_ADI_MSK(0x00400000,uint32_t)) /* FCPOL: Active high CTS/RTS */
-
-#define BITM_UART_CTL_SB (_ADI_MSK(0x00080000,uint32_t)) /* Set Break */
-#define ENUM_UART_CTL_NORM_BREAK (_ADI_MSK(0x00000000,uint32_t)) /* SB: No force */
-#define ENUM_UART_CTL_FORCE_BREAK (_ADI_MSK(0x00080000,uint32_t)) /* SB: Force TX pin to 0 */
-
-#define BITM_UART_CTL_FFE (_ADI_MSK(0x00040000,uint32_t)) /* Force Framing Error on Transmit */
-#define ENUM_UART_CTL_NORM_FRM_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FFE: Normal operation */
-#define ENUM_UART_CTL_FORCE_FRM_ERR (_ADI_MSK(0x00040000,uint32_t)) /* FFE: Force error */
-
-#define BITM_UART_CTL_FPE (_ADI_MSK(0x00020000,uint32_t)) /* Force Parity Error on Transmit */
-#define ENUM_UART_CTL_NORM_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FPE: Normal operation */
-#define ENUM_UART_CTL_FORCE_PARITY_ERR (_ADI_MSK(0x00020000,uint32_t)) /* FPE: Force parity error */
-
-#define BITM_UART_CTL_STP (_ADI_MSK(0x00010000,uint32_t)) /* Sticky Parity */
-#define ENUM_UART_CTL_NORM_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* STP: No Forced Parity */
-#define ENUM_UART_CTL_STICKY_PARITY (_ADI_MSK(0x00010000,uint32_t)) /* STP: Force (Stick) Parity to Defined Value (if PEN=1) */
-
-#define BITM_UART_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* Even Parity Select */
-#define ENUM_UART_CTL_ODD_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* EPS: Odd parity */
-#define ENUM_UART_CTL_EVEN_PARITY (_ADI_MSK(0x00008000,uint32_t)) /* EPS: Even parity */
-
-#define BITM_UART_CTL_PEN (_ADI_MSK(0x00004000,uint32_t)) /* Parity Enable */
-#define ENUM_UART_CTL_PARITY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PEN: Disable */
-#define ENUM_UART_CTL_PARITY_EN (_ADI_MSK(0x00004000,uint32_t)) /* PEN: Enable parity transmit and check */
-
-#define BITM_UART_CTL_STBH (_ADI_MSK(0x00002000,uint32_t)) /* Stop Bits (Half Bit Time) */
-#define ENUM_UART_CTL_NO_EXTRA_STBH (_ADI_MSK(0x00000000,uint32_t)) /* STBH: 0 half-bit-time stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STBH (_ADI_MSK(0x00002000,uint32_t)) /* STBH: 1 half-bit-time stop bit */
-
-#define BITM_UART_CTL_STB (_ADI_MSK(0x00001000,uint32_t)) /* Stop Bits */
-#define ENUM_UART_CTL_NO_EXTRA_STB (_ADI_MSK(0x00000000,uint32_t)) /* STB: 1 stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STB (_ADI_MSK(0x00001000,uint32_t)) /* STB: 2 stop bits */
-
-#define BITM_UART_CTL_WLS (_ADI_MSK(0x00000300,uint32_t)) /* Word Length Select */
-#define ENUM_UART_CTL_WL5BITS (_ADI_MSK(0x00000000,uint32_t)) /* WLS: 5-bit Word */
-#define ENUM_UART_CTL_WL6BITS (_ADI_MSK(0x00000100,uint32_t)) /* WLS: 6-bit Word */
-#define ENUM_UART_CTL_WL7BITS (_ADI_MSK(0x00000200,uint32_t)) /* WLS: 7-bit Word */
-#define ENUM_UART_CTL_WL8BITS (_ADI_MSK(0x00000300,uint32_t)) /* WLS: 8-bit Word */
-
-#define BITM_UART_CTL_MOD (_ADI_MSK(0x00000030,uint32_t)) /* Mode of Operation */
-#define ENUM_UART_CTL_UART_MODE (_ADI_MSK(0x00000000,uint32_t)) /* MOD: UART Mode */
-#define ENUM_UART_CTL_MDB_MODE (_ADI_MSK(0x00000010,uint32_t)) /* MOD: MDB Mode */
-#define ENUM_UART_CTL_IRDA_MODE (_ADI_MSK(0x00000020,uint32_t)) /* MOD: IrDA SIR Mode */
-
-#define BITM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* Loopback Enable */
-#define ENUM_UART_CTL_LOOP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* LOOP_EN: Disable */
-#define ENUM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* LOOP_EN: Enable */
-
-#define BITM_UART_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable UART */
-#define ENUM_UART_CTL_CLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_UART_CTL_CLK_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_STAT_RFCS 17 /* Receive FIFO Count Status */
-#define BITP_UART_STAT_CTS 16 /* Clear to Send */
-#define BITP_UART_STAT_SCTS 12 /* Sticky CTS */
-#define BITP_UART_STAT_RO 11 /* Reception On-going */
-#define BITP_UART_STAT_ADDR 10 /* Address Bit Status */
-#define BITP_UART_STAT_ASTKY 9 /* Address Sticky */
-#define BITP_UART_STAT_TFI 8 /* Transmission Finished Indicator */
-#define BITP_UART_STAT_TEMT 7 /* TSR and THR Empty */
-#define BITP_UART_STAT_THRE 5 /* Transmit Hold Register Empty */
-#define BITP_UART_STAT_BI 4 /* Break Indicator */
-#define BITP_UART_STAT_FE 3 /* Framing Error */
-#define BITP_UART_STAT_PE 2 /* Parity Error */
-#define BITP_UART_STAT_OE 1 /* Overrun Error */
-#define BITP_UART_STAT_DR 0 /* Data Ready */
-
-#define BITM_UART_STAT_RFCS (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Count Status */
-#define ENUM_UART_STAT_RFCS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RFCS: RX FIFO has less than 4 (7) entries when RFIT=0 (1) */
-#define ENUM_UART_STAT_RFCS_HI (_ADI_MSK(0x00020000,uint32_t)) /* RFCS: RX FIFO has at least 4 (7) entries when RFIT=0 (1) */
-
-#define BITM_UART_STAT_CTS (_ADI_MSK(0x00010000,uint32_t)) /* Clear to Send */
-#define ENUM_UART_STAT_CTS_LO (_ADI_MSK(0x00000000,uint32_t)) /* CTS: Not clear to send (External device not ready to receive) */
-#define ENUM_UART_STAT_CTS_HI (_ADI_MSK(0x00010000,uint32_t)) /* CTS: Clear to send (External device ready to receive) */
-
-#define BITM_UART_STAT_SCTS (_ADI_MSK(0x00001000,uint32_t)) /* Sticky CTS */
-#define ENUM_UART_STAT_CTS_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* SCTS: CTS has not transitioned from low to high */
-#define ENUM_UART_STAT_CTS_HI_STKY (_ADI_MSK(0x00001000,uint32_t)) /* SCTS: CTS has transitioned from low to high */
-
-#define BITM_UART_STAT_RO (_ADI_MSK(0x00000800,uint32_t)) /* Reception On-going */
-#define ENUM_UART_STAT_NO_RX_PROGRESS (_ADI_MSK(0x00000000,uint32_t)) /* RO: No data reception in progress */
-#define ENUM_UART_STAT_RX_PROGRESS (_ADI_MSK(0x00000800,uint32_t)) /* RO: Data reception in progress */
-
-#define BITM_UART_STAT_ADDR (_ADI_MSK(0x00000400,uint32_t)) /* Address Bit Status */
-#define ENUM_UART_STAT_ADDR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ADDR: Address bit is low */
-#define ENUM_UART_STAT_ADDR_HI (_ADI_MSK(0x00000400,uint32_t)) /* ADDR: Address bit is high */
-
-#define BITM_UART_STAT_ASTKY (_ADI_MSK(0x00000200,uint32_t)) /* Address Sticky */
-#define ENUM_UART_STAT_ADDR_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* ASTKY: ADDR bit has not been set */
-#define ENUM_UART_STAT_ADDR_HI_STKY (_ADI_MSK(0x00000200,uint32_t)) /* ASTKY: ADDR bit has been set */
-
-#define BITM_UART_STAT_TFI (_ADI_MSK(0x00000100,uint32_t)) /* Transmission Finished Indicator */
-#define ENUM_UART_STAT_TX_NOT_DONE (_ADI_MSK(0x00000000,uint32_t)) /* TFI: TEMT did not transition from 0 to 1 */
-#define ENUM_UART_STAT_TX_DONE (_ADI_MSK(0x00000100,uint32_t)) /* TFI: TEMT transition from 0 to 1 */
-
-#define BITM_UART_STAT_TEMT (_ADI_MSK(0x00000080,uint32_t)) /* TSR and THR Empty */
-#define ENUM_UART_STAT_TX_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* TEMT: Not empty TSR/THR */
-#define ENUM_UART_STAT_TX_EMPTY (_ADI_MSK(0x00000080,uint32_t)) /* TEMT: TSR/THR Empty */
-
-#define BITM_UART_STAT_THRE (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Hold Register Empty */
-#define ENUM_UART_STAT_THR_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* THRE: Not empty THR/TAIP */
-#define ENUM_UART_STAT_THR_EMPTY (_ADI_MSK(0x00000020,uint32_t)) /* THRE: Empty THR/TAIP */
-
-#define BITM_UART_STAT_BI (_ADI_MSK(0x00000010,uint32_t)) /* Break Indicator */
-#define ENUM_UART_STAT_NO_BREAK_INT (_ADI_MSK(0x00000000,uint32_t)) /* BI: No break interrupt */
-#define ENUM_UART_STAT_BREAK_INT (_ADI_MSK(0x00000010,uint32_t)) /* BI: Break interrupt */
-
-#define BITM_UART_STAT_FE (_ADI_MSK(0x00000008,uint32_t)) /* Framing Error */
-#define ENUM_UART_STAT_NO_FRAMING_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FE: No error */
-#define ENUM_UART_STAT_FRAMING_ERR (_ADI_MSK(0x00000008,uint32_t)) /* FE: Invalid stop bit error */
-
-#define BITM_UART_STAT_PE (_ADI_MSK(0x00000004,uint32_t)) /* Parity Error */
-#define ENUM_UART_STAT_NO_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* PE: No parity error */
-#define ENUM_UART_STAT_PARITY_ERR (_ADI_MSK(0x00000004,uint32_t)) /* PE: Parity error */
-
-#define BITM_UART_STAT_OE (_ADI_MSK(0x00000002,uint32_t)) /* Overrun Error */
-#define ENUM_UART_STAT_NO_OVR_ERR (_ADI_MSK(0x00000000,uint32_t)) /* OE: No overrun */
-#define ENUM_UART_STAT_OVR_ERR (_ADI_MSK(0x00000002,uint32_t)) /* OE: Overrun error */
-
-#define BITM_UART_STAT_DR (_ADI_MSK(0x00000001,uint32_t)) /* Data Ready */
-#define ENUM_UART_STAT_NO_DATA (_ADI_MSK(0x00000000,uint32_t)) /* DR: No new data */
-#define ENUM_UART_STAT_NEW_DATA (_ADI_MSK(0x00000001,uint32_t)) /* DR: New data in RBR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_SCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_SCR_VALUE 0 /* Stored 8-bit Data */
-#define BITM_UART_SCR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Stored 8-bit Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CLK_EDBO 31 /* Enable Divide By One */
-#define BITP_UART_CLK_DIV 0 /* Divisor */
-
-#define BITM_UART_CLK_EDBO (_ADI_MSK(0x80000000,uint32_t)) /* Enable Divide By One */
-#define ENUM_UART_CLK_DIS_DIV_BY_ONE (_ADI_MSK(0x00000000,uint32_t)) /* EDBO: Bit clock prescaler = 16 */
-#define ENUM_UART_CLK_EN_DIV_BY_ONE (_ADI_MSK(0x80000000,uint32_t)) /* EDBO: Bit clock prescaler = 1 */
-#define BITM_UART_CLK_DIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_ETXS 9 /* Enable TX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ERXS 8 /* Enable RX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_EAWI 7 /* Enable Address Word Interrupt Mask Status */
-#define BITP_UART_IMSK_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Status */
-#define BITP_UART_IMSK_ETFI 5 /* Enable Transmission Finished Interrupt Mask Status */
-#define BITP_UART_IMSK_EDTPTI 4 /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define BITP_UART_IMSK_EDSSI 3 /* Enable Modem Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ELSI 2 /* Enable Line Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define BITP_UART_IMSK_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Status */
-
-#define BITM_UART_IMSK_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Status */
-#define ENUM_UART_ETXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETXS: Interrupt is masked */
-#define ENUM_UART_ETXS_HI (_ADI_MSK(0x00000200,uint32_t)) /* ETXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Status */
-#define ENUM_UART_ERXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERXS: Interrupt is masked */
-#define ENUM_UART_ERXS_HI (_ADI_MSK(0x00000100,uint32_t)) /* ERXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Status */
-#define ENUM_UART_EAWI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EAWI: Interrupt is masked */
-#define ENUM_UART_EAWI_HI (_ADI_MSK(0x00000080,uint32_t)) /* EAWI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Status */
-#define ENUM_UART_ERFCI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERFCI: Interrupt is masked */
-#define ENUM_UART_ERFCI_HI (_ADI_MSK(0x00000040,uint32_t)) /* ERFCI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Status */
-#define ENUM_UART_ETFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETFI: Interrupt is masked */
-#define ENUM_UART_ETFI_HI (_ADI_MSK(0x00000020,uint32_t)) /* ETFI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define ENUM_UART_EDTPTI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDTPTI: Interrupt is masked */
-#define ENUM_UART_EDTPTI_HI (_ADI_MSK(0x00000010,uint32_t)) /* EDTPTI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Status */
-#define ENUM_UART_EDSSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDSSI: Interrupt is masked */
-#define ENUM_UART_EDSSI_HI (_ADI_MSK(0x00000008,uint32_t)) /* EDSSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Status */
-#define ENUM_UART_ELSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ELSI: Interrupt is masked */
-#define ENUM_UART_ELSI_HI (_ADI_MSK(0x00000004,uint32_t)) /* ELSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define ENUM_UART_ETBEI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETBEI: Interrupt is masked */
-#define ENUM_UART_ETBEI_HI (_ADI_MSK(0x00000002,uint32_t)) /* ETBEI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Status */
-#define ENUM_UART_ERBFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERBFI: Interrupt is masked */
-#define ENUM_UART_ERBFI_HI (_ADI_MSK(0x00000001,uint32_t)) /* ERBFI: Interrupt is unmasked */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_SET_ETXS 9 /* Enable TX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERXS 8 /* Enable RX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EAWI 7 /* Enable Address Word Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETFI 5 /* Enable Transmission Finished Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDSSI 3 /* Enable Modem Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ELSI 2 /* Enable Line Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* The fields and enumerations for UART_IMSK_SET are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_SET_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_CLR_ETXS 9 /* Enable TX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERXS 8 /* Enable RX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EAWI 7 /* Enable Address Word Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETFI 5 /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDSSI 3 /* Enable Modem Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ELSI 2 /* Enable Line Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* The fields and enumerations for UART_IMSK_CLR are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_CLR_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RBR_VALUE 0 /* 8-bit data */
-#define BITM_UART_RBR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_THR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_THR_VALUE 0 /* 8 bit data */
-#define BITM_UART_THR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8 bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TAIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TAIP_VALUE 0 /* 8-bit data */
-#define BITM_UART_TAIP_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TSR_VALUE 0 /* Contents of TSR */
-#define BITM_UART_TSR_VALUE (_ADI_MSK(0x000007FF,uint32_t)) /* Contents of TSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RSR_VALUE 0 /* Contents of RSR */
-#define BITM_UART_RSR_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Contents of RSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_TXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_RXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ==================================================
- General Purpose Input/Output Registers
- ================================================== */
-
-/* =========================
- PORTA
- ========================= */
-#define REG_PORTA_FER 0xFFC03000 /* PORTA Port x Function Enable Register */
-#define REG_PORTA_FER_SET 0xFFC03004 /* PORTA Port x Function Enable Set Register */
-#define REG_PORTA_FER_CLR 0xFFC03008 /* PORTA Port x Function Enable Clear Register */
-#define REG_PORTA_DATA 0xFFC0300C /* PORTA Port x GPIO Data Register */
-#define REG_PORTA_DATA_SET 0xFFC03010 /* PORTA Port x GPIO Data Set Register */
-#define REG_PORTA_DATA_CLR 0xFFC03014 /* PORTA Port x GPIO Data Clear Register */
-#define REG_PORTA_DIR 0xFFC03018 /* PORTA Port x GPIO Direction Register */
-#define REG_PORTA_DIR_SET 0xFFC0301C /* PORTA Port x GPIO Direction Set Register */
-#define REG_PORTA_DIR_CLR 0xFFC03020 /* PORTA Port x GPIO Direction Clear Register */
-#define REG_PORTA_INEN 0xFFC03024 /* PORTA Port x GPIO Input Enable Register */
-#define REG_PORTA_INEN_SET 0xFFC03028 /* PORTA Port x GPIO Input Enable Set Register */
-#define REG_PORTA_INEN_CLR 0xFFC0302C /* PORTA Port x GPIO Input Enable Clear Register */
-#define REG_PORTA_MUX 0xFFC03030 /* PORTA Port x Multiplexer Control Register */
-#define REG_PORTA_DATA_TGL 0xFFC03034 /* PORTA Port x GPIO Input Enable Toggle Register */
-#define REG_PORTA_POL 0xFFC03038 /* PORTA Port x GPIO Polarity Invert Register */
-#define REG_PORTA_POL_SET 0xFFC0303C /* PORTA Port x GPIO Polarity Invert Set Register */
-#define REG_PORTA_POL_CLR 0xFFC03040 /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTA_LOCK 0xFFC03044 /* PORTA Port x GPIO Lock Register */
-#define REG_PORTA_REVID 0xFFC0307C /* PORTA Port x GPIO Revision ID */
-
-/* =========================
- PORTB
- ========================= */
-#define REG_PORTB_FER 0xFFC03080 /* PORTB Port x Function Enable Register */
-#define REG_PORTB_FER_SET 0xFFC03084 /* PORTB Port x Function Enable Set Register */
-#define REG_PORTB_FER_CLR 0xFFC03088 /* PORTB Port x Function Enable Clear Register */
-#define REG_PORTB_DATA 0xFFC0308C /* PORTB Port x GPIO Data Register */
-#define REG_PORTB_DATA_SET 0xFFC03090 /* PORTB Port x GPIO Data Set Register */
-#define REG_PORTB_DATA_CLR 0xFFC03094 /* PORTB Port x GPIO Data Clear Register */
-#define REG_PORTB_DIR 0xFFC03098 /* PORTB Port x GPIO Direction Register */
-#define REG_PORTB_DIR_SET 0xFFC0309C /* PORTB Port x GPIO Direction Set Register */
-#define REG_PORTB_DIR_CLR 0xFFC030A0 /* PORTB Port x GPIO Direction Clear Register */
-#define REG_PORTB_INEN 0xFFC030A4 /* PORTB Port x GPIO Input Enable Register */
-#define REG_PORTB_INEN_SET 0xFFC030A8 /* PORTB Port x GPIO Input Enable Set Register */
-#define REG_PORTB_INEN_CLR 0xFFC030AC /* PORTB Port x GPIO Input Enable Clear Register */
-#define REG_PORTB_MUX 0xFFC030B0 /* PORTB Port x Multiplexer Control Register */
-#define REG_PORTB_DATA_TGL 0xFFC030B4 /* PORTB Port x GPIO Input Enable Toggle Register */
-#define REG_PORTB_POL 0xFFC030B8 /* PORTB Port x GPIO Polarity Invert Register */
-#define REG_PORTB_POL_SET 0xFFC030BC /* PORTB Port x GPIO Polarity Invert Set Register */
-#define REG_PORTB_POL_CLR 0xFFC030C0 /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTB_LOCK 0xFFC030C4 /* PORTB Port x GPIO Lock Register */
-#define REG_PORTB_REVID 0xFFC030FC /* PORTB Port x GPIO Revision ID */
-
-/* =========================
- PORTC
- ========================= */
-#define REG_PORTC_FER 0xFFC03100 /* PORTC Port x Function Enable Register */
-#define REG_PORTC_FER_SET 0xFFC03104 /* PORTC Port x Function Enable Set Register */
-#define REG_PORTC_FER_CLR 0xFFC03108 /* PORTC Port x Function Enable Clear Register */
-#define REG_PORTC_DATA 0xFFC0310C /* PORTC Port x GPIO Data Register */
-#define REG_PORTC_DATA_SET 0xFFC03110 /* PORTC Port x GPIO Data Set Register */
-#define REG_PORTC_DATA_CLR 0xFFC03114 /* PORTC Port x GPIO Data Clear Register */
-#define REG_PORTC_DIR 0xFFC03118 /* PORTC Port x GPIO Direction Register */
-#define REG_PORTC_DIR_SET 0xFFC0311C /* PORTC Port x GPIO Direction Set Register */
-#define REG_PORTC_DIR_CLR 0xFFC03120 /* PORTC Port x GPIO Direction Clear Register */
-#define REG_PORTC_INEN 0xFFC03124 /* PORTC Port x GPIO Input Enable Register */
-#define REG_PORTC_INEN_SET 0xFFC03128 /* PORTC Port x GPIO Input Enable Set Register */
-#define REG_PORTC_INEN_CLR 0xFFC0312C /* PORTC Port x GPIO Input Enable Clear Register */
-#define REG_PORTC_MUX 0xFFC03130 /* PORTC Port x Multiplexer Control Register */
-#define REG_PORTC_DATA_TGL 0xFFC03134 /* PORTC Port x GPIO Input Enable Toggle Register */
-#define REG_PORTC_POL 0xFFC03138 /* PORTC Port x GPIO Polarity Invert Register */
-#define REG_PORTC_POL_SET 0xFFC0313C /* PORTC Port x GPIO Polarity Invert Set Register */
-#define REG_PORTC_POL_CLR 0xFFC03140 /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTC_LOCK 0xFFC03144 /* PORTC Port x GPIO Lock Register */
-#define REG_PORTC_REVID 0xFFC0317C /* PORTC Port x GPIO Revision ID */
-
-/* =========================
- PORTD
- ========================= */
-#define REG_PORTD_FER 0xFFC03180 /* PORTD Port x Function Enable Register */
-#define REG_PORTD_FER_SET 0xFFC03184 /* PORTD Port x Function Enable Set Register */
-#define REG_PORTD_FER_CLR 0xFFC03188 /* PORTD Port x Function Enable Clear Register */
-#define REG_PORTD_DATA 0xFFC0318C /* PORTD Port x GPIO Data Register */
-#define REG_PORTD_DATA_SET 0xFFC03190 /* PORTD Port x GPIO Data Set Register */
-#define REG_PORTD_DATA_CLR 0xFFC03194 /* PORTD Port x GPIO Data Clear Register */
-#define REG_PORTD_DIR 0xFFC03198 /* PORTD Port x GPIO Direction Register */
-#define REG_PORTD_DIR_SET 0xFFC0319C /* PORTD Port x GPIO Direction Set Register */
-#define REG_PORTD_DIR_CLR 0xFFC031A0 /* PORTD Port x GPIO Direction Clear Register */
-#define REG_PORTD_INEN 0xFFC031A4 /* PORTD Port x GPIO Input Enable Register */
-#define REG_PORTD_INEN_SET 0xFFC031A8 /* PORTD Port x GPIO Input Enable Set Register */
-#define REG_PORTD_INEN_CLR 0xFFC031AC /* PORTD Port x GPIO Input Enable Clear Register */
-#define REG_PORTD_MUX 0xFFC031B0 /* PORTD Port x Multiplexer Control Register */
-#define REG_PORTD_DATA_TGL 0xFFC031B4 /* PORTD Port x GPIO Input Enable Toggle Register */
-#define REG_PORTD_POL 0xFFC031B8 /* PORTD Port x GPIO Polarity Invert Register */
-#define REG_PORTD_POL_SET 0xFFC031BC /* PORTD Port x GPIO Polarity Invert Set Register */
-#define REG_PORTD_POL_CLR 0xFFC031C0 /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTD_LOCK 0xFFC031C4 /* PORTD Port x GPIO Lock Register */
-#define REG_PORTD_REVID 0xFFC031FC /* PORTD Port x GPIO Revision ID */
-
-/* =========================
- PORTE
- ========================= */
-#define REG_PORTE_FER 0xFFC03200 /* PORTE Port x Function Enable Register */
-#define REG_PORTE_FER_SET 0xFFC03204 /* PORTE Port x Function Enable Set Register */
-#define REG_PORTE_FER_CLR 0xFFC03208 /* PORTE Port x Function Enable Clear Register */
-#define REG_PORTE_DATA 0xFFC0320C /* PORTE Port x GPIO Data Register */
-#define REG_PORTE_DATA_SET 0xFFC03210 /* PORTE Port x GPIO Data Set Register */
-#define REG_PORTE_DATA_CLR 0xFFC03214 /* PORTE Port x GPIO Data Clear Register */
-#define REG_PORTE_DIR 0xFFC03218 /* PORTE Port x GPIO Direction Register */
-#define REG_PORTE_DIR_SET 0xFFC0321C /* PORTE Port x GPIO Direction Set Register */
-#define REG_PORTE_DIR_CLR 0xFFC03220 /* PORTE Port x GPIO Direction Clear Register */
-#define REG_PORTE_INEN 0xFFC03224 /* PORTE Port x GPIO Input Enable Register */
-#define REG_PORTE_INEN_SET 0xFFC03228 /* PORTE Port x GPIO Input Enable Set Register */
-#define REG_PORTE_INEN_CLR 0xFFC0322C /* PORTE Port x GPIO Input Enable Clear Register */
-#define REG_PORTE_MUX 0xFFC03230 /* PORTE Port x Multiplexer Control Register */
-#define REG_PORTE_DATA_TGL 0xFFC03234 /* PORTE Port x GPIO Input Enable Toggle Register */
-#define REG_PORTE_POL 0xFFC03238 /* PORTE Port x GPIO Polarity Invert Register */
-#define REG_PORTE_POL_SET 0xFFC0323C /* PORTE Port x GPIO Polarity Invert Set Register */
-#define REG_PORTE_POL_CLR 0xFFC03240 /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTE_LOCK 0xFFC03244 /* PORTE Port x GPIO Lock Register */
-#define REG_PORTE_REVID 0xFFC0327C /* PORTE Port x GPIO Revision ID */
-
-/* =========================
- PORTF
- ========================= */
-#define REG_PORTF_FER 0xFFC03280 /* PORTF Port x Function Enable Register */
-#define REG_PORTF_FER_SET 0xFFC03284 /* PORTF Port x Function Enable Set Register */
-#define REG_PORTF_FER_CLR 0xFFC03288 /* PORTF Port x Function Enable Clear Register */
-#define REG_PORTF_DATA 0xFFC0328C /* PORTF Port x GPIO Data Register */
-#define REG_PORTF_DATA_SET 0xFFC03290 /* PORTF Port x GPIO Data Set Register */
-#define REG_PORTF_DATA_CLR 0xFFC03294 /* PORTF Port x GPIO Data Clear Register */
-#define REG_PORTF_DIR 0xFFC03298 /* PORTF Port x GPIO Direction Register */
-#define REG_PORTF_DIR_SET 0xFFC0329C /* PORTF Port x GPIO Direction Set Register */
-#define REG_PORTF_DIR_CLR 0xFFC032A0 /* PORTF Port x GPIO Direction Clear Register */
-#define REG_PORTF_INEN 0xFFC032A4 /* PORTF Port x GPIO Input Enable Register */
-#define REG_PORTF_INEN_SET 0xFFC032A8 /* PORTF Port x GPIO Input Enable Set Register */
-#define REG_PORTF_INEN_CLR 0xFFC032AC /* PORTF Port x GPIO Input Enable Clear Register */
-#define REG_PORTF_MUX 0xFFC032B0 /* PORTF Port x Multiplexer Control Register */
-#define REG_PORTF_DATA_TGL 0xFFC032B4 /* PORTF Port x GPIO Input Enable Toggle Register */
-#define REG_PORTF_POL 0xFFC032B8 /* PORTF Port x GPIO Polarity Invert Register */
-#define REG_PORTF_POL_SET 0xFFC032BC /* PORTF Port x GPIO Polarity Invert Set Register */
-#define REG_PORTF_POL_CLR 0xFFC032C0 /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTF_LOCK 0xFFC032C4 /* PORTF Port x GPIO Lock Register */
-#define REG_PORTF_REVID 0xFFC032FC /* PORTF Port x GPIO Revision ID */
-
-/* =========================
- PORTG
- ========================= */
-#define REG_PORTG_FER 0xFFC03300 /* PORTG Port x Function Enable Register */
-#define REG_PORTG_FER_SET 0xFFC03304 /* PORTG Port x Function Enable Set Register */
-#define REG_PORTG_FER_CLR 0xFFC03308 /* PORTG Port x Function Enable Clear Register */
-#define REG_PORTG_DATA 0xFFC0330C /* PORTG Port x GPIO Data Register */
-#define REG_PORTG_DATA_SET 0xFFC03310 /* PORTG Port x GPIO Data Set Register */
-#define REG_PORTG_DATA_CLR 0xFFC03314 /* PORTG Port x GPIO Data Clear Register */
-#define REG_PORTG_DIR 0xFFC03318 /* PORTG Port x GPIO Direction Register */
-#define REG_PORTG_DIR_SET 0xFFC0331C /* PORTG Port x GPIO Direction Set Register */
-#define REG_PORTG_DIR_CLR 0xFFC03320 /* PORTG Port x GPIO Direction Clear Register */
-#define REG_PORTG_INEN 0xFFC03324 /* PORTG Port x GPIO Input Enable Register */
-#define REG_PORTG_INEN_SET 0xFFC03328 /* PORTG Port x GPIO Input Enable Set Register */
-#define REG_PORTG_INEN_CLR 0xFFC0332C /* PORTG Port x GPIO Input Enable Clear Register */
-#define REG_PORTG_MUX 0xFFC03330 /* PORTG Port x Multiplexer Control Register */
-#define REG_PORTG_DATA_TGL 0xFFC03334 /* PORTG Port x GPIO Input Enable Toggle Register */
-#define REG_PORTG_POL 0xFFC03338 /* PORTG Port x GPIO Polarity Invert Register */
-#define REG_PORTG_POL_SET 0xFFC0333C /* PORTG Port x GPIO Polarity Invert Set Register */
-#define REG_PORTG_POL_CLR 0xFFC03340 /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */
-#define REG_PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */
-
-/* =========================
- PORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_PX15 15 /* Port x Bit 15 Mode */
-#define BITP_PORT_FER_PX14 14 /* Port x Bit 14 Mode */
-#define BITP_PORT_FER_PX13 13 /* Port x Bit 13 Mode */
-#define BITP_PORT_FER_PX12 12 /* Port x Bit 12 Mode */
-#define BITP_PORT_FER_PX11 11 /* Port x Bit 11 Mode */
-#define BITP_PORT_FER_PX10 10 /* Port x Bit 10 Mode */
-#define BITP_PORT_FER_PX9 9 /* Port x Bit 9 Mode */
-#define BITP_PORT_FER_PX8 8 /* Port x Bit 8 Mode */
-#define BITP_PORT_FER_PX7 7 /* Port x Bit 7 Mode */
-#define BITP_PORT_FER_PX6 6 /* Port x Bit 6 Mode */
-#define BITP_PORT_FER_PX5 5 /* Port x Bit 5 Mode */
-#define BITP_PORT_FER_PX4 4 /* Port x Bit 4 Mode */
-#define BITP_PORT_FER_PX3 3 /* Port x Bit 3 Mode */
-#define BITP_PORT_FER_PX2 2 /* Port x Bit 2 Mode */
-#define BITP_PORT_FER_PX1 1 /* Port x Bit 1 Mode */
-#define BITP_PORT_FER_PX0 0 /* Port x Bit 0 Mode */
-#define BITM_PORT_FER_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode */
-#define BITM_PORT_FER_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode */
-#define BITM_PORT_FER_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode */
-#define BITM_PORT_FER_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode */
-#define BITM_PORT_FER_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode */
-#define BITM_PORT_FER_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode */
-#define BITM_PORT_FER_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode */
-#define BITM_PORT_FER_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode */
-#define BITM_PORT_FER_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode */
-#define BITM_PORT_FER_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode */
-#define BITM_PORT_FER_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode */
-#define BITM_PORT_FER_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode */
-#define BITM_PORT_FER_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode */
-#define BITM_PORT_FER_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode */
-#define BITM_PORT_FER_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode */
-#define BITM_PORT_FER_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_SET_PX15 15 /* Port x Bit 15 Mode Set */
-#define BITP_PORT_FER_SET_PX14 14 /* Port x Bit 14 Mode Set */
-#define BITP_PORT_FER_SET_PX13 13 /* Port x Bit 13 Mode Set */
-#define BITP_PORT_FER_SET_PX12 12 /* Port x Bit 12 Mode Set */
-#define BITP_PORT_FER_SET_PX11 11 /* Port x Bit 11 Mode Set */
-#define BITP_PORT_FER_SET_PX10 10 /* Port x Bit 10 Mode Set */
-#define BITP_PORT_FER_SET_PX9 9 /* Port x Bit 9 Mode Set */
-#define BITP_PORT_FER_SET_PX8 8 /* Port x Bit 8 Mode Set */
-#define BITP_PORT_FER_SET_PX7 7 /* Port x Bit 7 Mode Set */
-#define BITP_PORT_FER_SET_PX6 6 /* Port x Bit 6 Mode Set */
-#define BITP_PORT_FER_SET_PX5 5 /* Port x Bit 5 Mode Set */
-#define BITP_PORT_FER_SET_PX4 4 /* Port x Bit 4 Mode Set */
-#define BITP_PORT_FER_SET_PX3 3 /* Port x Bit 3 Mode Set */
-#define BITP_PORT_FER_SET_PX2 2 /* Port x Bit 2 Mode Set */
-#define BITP_PORT_FER_SET_PX1 1 /* Port x Bit 1 Mode Set */
-#define BITP_PORT_FER_SET_PX0 0 /* Port x Bit 0 Mode Set */
-#define BITM_PORT_FER_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Set */
-#define BITM_PORT_FER_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Set */
-#define BITM_PORT_FER_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Set */
-#define BITM_PORT_FER_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Set */
-#define BITM_PORT_FER_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Set */
-#define BITM_PORT_FER_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Set */
-#define BITM_PORT_FER_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Set */
-#define BITM_PORT_FER_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Set */
-#define BITM_PORT_FER_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Set */
-#define BITM_PORT_FER_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Set */
-#define BITM_PORT_FER_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Set */
-#define BITM_PORT_FER_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Set */
-#define BITM_PORT_FER_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Set */
-#define BITM_PORT_FER_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Set */
-#define BITM_PORT_FER_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Set */
-#define BITM_PORT_FER_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_CLR_PX15 15 /* Port x Bit 15 Mode Clear */
-#define BITP_PORT_FER_CLR_PX14 14 /* Port x Bit 14 Mode Clear */
-#define BITP_PORT_FER_CLR_PX13 13 /* Port x Bit 13 Mode Clear */
-#define BITP_PORT_FER_CLR_PX12 12 /* Port x Bit 12 Mode Clear */
-#define BITP_PORT_FER_CLR_PX11 11 /* Port x Bit 11 Mode Clear */
-#define BITP_PORT_FER_CLR_PX10 10 /* Port x Bit 10 Mode Clear */
-#define BITP_PORT_FER_CLR_PX9 9 /* Port x Bit 9 Mode Clear */
-#define BITP_PORT_FER_CLR_PX8 8 /* Port x Bit 8 Mode Clear */
-#define BITP_PORT_FER_CLR_PX7 7 /* Port x Bit 7 Mode Clear */
-#define BITP_PORT_FER_CLR_PX6 6 /* Port x Bit 6 Mode Clear */
-#define BITP_PORT_FER_CLR_PX5 5 /* Port x Bit 5 Mode Clear */
-#define BITP_PORT_FER_CLR_PX4 4 /* Port x Bit 4 Mode Clear */
-#define BITP_PORT_FER_CLR_PX3 3 /* Port x Bit 3 Mode Clear */
-#define BITP_PORT_FER_CLR_PX2 2 /* Port x Bit 2 Mode Clear */
-#define BITP_PORT_FER_CLR_PX1 1 /* Port x Bit 1 Mode Clear */
-#define BITP_PORT_FER_CLR_PX0 0 /* Port x Bit 0 Mode Clear */
-#define BITM_PORT_FER_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Clear */
-#define BITM_PORT_FER_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Clear */
-#define BITM_PORT_FER_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Clear */
-#define BITM_PORT_FER_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Clear */
-#define BITM_PORT_FER_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Clear */
-#define BITM_PORT_FER_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Clear */
-#define BITM_PORT_FER_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Clear */
-#define BITM_PORT_FER_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Clear */
-#define BITM_PORT_FER_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Clear */
-#define BITM_PORT_FER_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Clear */
-#define BITM_PORT_FER_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Clear */
-#define BITM_PORT_FER_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Clear */
-#define BITM_PORT_FER_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Clear */
-#define BITM_PORT_FER_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Clear */
-#define BITM_PORT_FER_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Clear */
-#define BITM_PORT_FER_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_PX15 15 /* Port x Bit 15 Data */
-#define BITP_PORT_DATA_PX14 14 /* Port x Bit 14 Data */
-#define BITP_PORT_DATA_PX13 13 /* Port x Bit 13 Data */
-#define BITP_PORT_DATA_PX12 12 /* Port x Bit 12 Data */
-#define BITP_PORT_DATA_PX11 11 /* Port x Bit 11 Data */
-#define BITP_PORT_DATA_PX10 10 /* Port x Bit 10 Data */
-#define BITP_PORT_DATA_PX9 9 /* Port x Bit 9 Data */
-#define BITP_PORT_DATA_PX8 8 /* Port x Bit 8 Data */
-#define BITP_PORT_DATA_PX7 7 /* Port x Bit 7 Data */
-#define BITP_PORT_DATA_PX6 6 /* Port x Bit 6 Data */
-#define BITP_PORT_DATA_PX5 5 /* Port x Bit 5 Data */
-#define BITP_PORT_DATA_PX4 4 /* Port x Bit 4 Data */
-#define BITP_PORT_DATA_PX3 3 /* Port x Bit 3 Data */
-#define BITP_PORT_DATA_PX2 2 /* Port x Bit 2 Data */
-#define BITP_PORT_DATA_PX1 1 /* Port x Bit 1 Data */
-#define BITP_PORT_DATA_PX0 0 /* Port x Bit 0 Data */
-#define BITM_PORT_DATA_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data */
-#define BITM_PORT_DATA_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data */
-#define BITM_PORT_DATA_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data */
-#define BITM_PORT_DATA_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data */
-#define BITM_PORT_DATA_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data */
-#define BITM_PORT_DATA_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data */
-#define BITM_PORT_DATA_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data */
-#define BITM_PORT_DATA_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data */
-#define BITM_PORT_DATA_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data */
-#define BITM_PORT_DATA_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data */
-#define BITM_PORT_DATA_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data */
-#define BITM_PORT_DATA_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data */
-#define BITM_PORT_DATA_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data */
-#define BITM_PORT_DATA_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data */
-#define BITM_PORT_DATA_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data */
-#define BITM_PORT_DATA_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_SET_PX15 15 /* Port x Bit 15 Data Set */
-#define BITP_PORT_DATA_SET_PX14 14 /* Port x Bit 14 Data Set */
-#define BITP_PORT_DATA_SET_PX13 13 /* Port x Bit 13 Data Set */
-#define BITP_PORT_DATA_SET_PX12 12 /* Port x Bit 12 Data Set */
-#define BITP_PORT_DATA_SET_PX11 11 /* Port x Bit 11 Data Set */
-#define BITP_PORT_DATA_SET_PX10 10 /* Port x Bit 10 Data Set */
-#define BITP_PORT_DATA_SET_PX9 9 /* Port x Bit 9 Data Set */
-#define BITP_PORT_DATA_SET_PX8 8 /* Port x Bit 8 Data Set */
-#define BITP_PORT_DATA_SET_PX7 7 /* Port x Bit 7 Data Set */
-#define BITP_PORT_DATA_SET_PX6 6 /* Port x Bit 6 Data Set */
-#define BITP_PORT_DATA_SET_PX5 5 /* Port x Bit 5 Data Set */
-#define BITP_PORT_DATA_SET_PX4 4 /* Port x Bit 4 Data Set */
-#define BITP_PORT_DATA_SET_PX3 3 /* Port x Bit 3 Data Set */
-#define BITP_PORT_DATA_SET_PX2 2 /* Port x Bit 2 Data Set */
-#define BITP_PORT_DATA_SET_PX1 1 /* Port x Bit 1 Data Set */
-#define BITP_PORT_DATA_SET_PX0 0 /* Port x Bit 0 Data Set */
-#define BITM_PORT_DATA_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Set */
-#define BITM_PORT_DATA_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Set */
-#define BITM_PORT_DATA_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Set */
-#define BITM_PORT_DATA_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Set */
-#define BITM_PORT_DATA_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Set */
-#define BITM_PORT_DATA_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Set */
-#define BITM_PORT_DATA_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Set */
-#define BITM_PORT_DATA_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Set */
-#define BITM_PORT_DATA_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Set */
-#define BITM_PORT_DATA_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Set */
-#define BITM_PORT_DATA_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Set */
-#define BITM_PORT_DATA_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Set */
-#define BITM_PORT_DATA_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Set */
-#define BITM_PORT_DATA_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Set */
-#define BITM_PORT_DATA_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Set */
-#define BITM_PORT_DATA_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_CLR_PX15 15 /* Port x Bit 15 Data Clear */
-#define BITP_PORT_DATA_CLR_PX14 14 /* Port x Bit 14 Data Clear */
-#define BITP_PORT_DATA_CLR_PX13 13 /* Port x Bit 13 Data Clear */
-#define BITP_PORT_DATA_CLR_PX12 12 /* Port x Bit 12 Data Clear */
-#define BITP_PORT_DATA_CLR_PX11 11 /* Port x Bit 11 Data Clear */
-#define BITP_PORT_DATA_CLR_PX10 10 /* Port x Bit 10 Data Clear */
-#define BITP_PORT_DATA_CLR_PX9 9 /* Port x Bit 9 Data Clear */
-#define BITP_PORT_DATA_CLR_PX8 8 /* Port x Bit 8 Data Clear */
-#define BITP_PORT_DATA_CLR_PX7 7 /* Port x Bit 7 Data Clear */
-#define BITP_PORT_DATA_CLR_PX6 6 /* Port x Bit 6 Data Clear */
-#define BITP_PORT_DATA_CLR_PX5 5 /* Port x Bit 5 Data Clear */
-#define BITP_PORT_DATA_CLR_PX4 4 /* Port x Bit 4 Data Clear */
-#define BITP_PORT_DATA_CLR_PX3 3 /* Port x Bit 3 Data Clear */
-#define BITP_PORT_DATA_CLR_PX2 2 /* Port x Bit 2 Data Clear */
-#define BITP_PORT_DATA_CLR_PX1 1 /* Port x Bit 1 Data Clear */
-#define BITP_PORT_DATA_CLR_PX0 0 /* Port x Bit 0 Data Clear */
-#define BITM_PORT_DATA_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Clear */
-#define BITM_PORT_DATA_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Clear */
-#define BITM_PORT_DATA_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Clear */
-#define BITM_PORT_DATA_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Clear */
-#define BITM_PORT_DATA_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Clear */
-#define BITM_PORT_DATA_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Clear */
-#define BITM_PORT_DATA_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Clear */
-#define BITM_PORT_DATA_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Clear */
-#define BITM_PORT_DATA_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Clear */
-#define BITM_PORT_DATA_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Clear */
-#define BITM_PORT_DATA_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Clear */
-#define BITM_PORT_DATA_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Clear */
-#define BITM_PORT_DATA_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Clear */
-#define BITM_PORT_DATA_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Clear */
-#define BITM_PORT_DATA_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Clear */
-#define BITM_PORT_DATA_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_PX15 15 /* Port x Bit 15 Direction */
-#define BITP_PORT_DIR_PX14 14 /* Port x Bit 14 Direction */
-#define BITP_PORT_DIR_PX13 13 /* Port x Bit 13 Direction */
-#define BITP_PORT_DIR_PX12 12 /* Port x Bit 12 Direction */
-#define BITP_PORT_DIR_PX11 11 /* Port x Bit 11 Direction */
-#define BITP_PORT_DIR_PX10 10 /* Port x Bit 10 Direction */
-#define BITP_PORT_DIR_PX9 9 /* Port x Bit 9 Direction */
-#define BITP_PORT_DIR_PX8 8 /* Port x Bit 8 Direction */
-#define BITP_PORT_DIR_PX7 7 /* Port x Bit 7 Direction */
-#define BITP_PORT_DIR_PX6 6 /* Port x Bit 6 Direction */
-#define BITP_PORT_DIR_PX5 5 /* Port x Bit 5 Direction */
-#define BITP_PORT_DIR_PX4 4 /* Port x Bit 4 Direction */
-#define BITP_PORT_DIR_PX3 3 /* Port x Bit 3 Direction */
-#define BITP_PORT_DIR_PX2 2 /* Port x Bit 2 Direction */
-#define BITP_PORT_DIR_PX1 1 /* Port x Bit 1 Direction */
-#define BITP_PORT_DIR_PX0 0 /* Port x Bit 0 Direction */
-#define BITM_PORT_DIR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction */
-#define BITM_PORT_DIR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction */
-#define BITM_PORT_DIR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction */
-#define BITM_PORT_DIR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction */
-#define BITM_PORT_DIR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction */
-#define BITM_PORT_DIR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction */
-#define BITM_PORT_DIR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction */
-#define BITM_PORT_DIR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction */
-#define BITM_PORT_DIR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction */
-#define BITM_PORT_DIR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction */
-#define BITM_PORT_DIR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction */
-#define BITM_PORT_DIR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction */
-#define BITM_PORT_DIR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction */
-#define BITM_PORT_DIR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction */
-#define BITM_PORT_DIR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction */
-#define BITM_PORT_DIR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_SET_PX15 15 /* Port x Bit 15 Direction Set */
-#define BITP_PORT_DIR_SET_PX14 14 /* Port x Bit 14 Direction Set */
-#define BITP_PORT_DIR_SET_PX13 13 /* Port x Bit 13 Direction Set */
-#define BITP_PORT_DIR_SET_PX12 12 /* Port x Bit 12 Direction Set */
-#define BITP_PORT_DIR_SET_PX11 11 /* Port x Bit 11 Direction Set */
-#define BITP_PORT_DIR_SET_PX10 10 /* Port x Bit 10 Direction Set */
-#define BITP_PORT_DIR_SET_PX9 9 /* Port x Bit 9 Direction Set */
-#define BITP_PORT_DIR_SET_PX8 8 /* Port x Bit 8 Direction Set */
-#define BITP_PORT_DIR_SET_PX7 7 /* Port x Bit 7 Direction Set */
-#define BITP_PORT_DIR_SET_PX6 6 /* Port x Bit 6 Direction Set */
-#define BITP_PORT_DIR_SET_PX5 5 /* Port x Bit 5 Direction Set */
-#define BITP_PORT_DIR_SET_PX4 4 /* Port x Bit 4 Direction Set */
-#define BITP_PORT_DIR_SET_PX3 3 /* Port x Bit 3 Direction Set */
-#define BITP_PORT_DIR_SET_PX2 2 /* Port x Bit 2 Direction Set */
-#define BITP_PORT_DIR_SET_PX1 1 /* Port x Bit 1 Direction Set */
-#define BITP_PORT_DIR_SET_PX0 0 /* Port x Bit 0 Direction Set */
-#define BITM_PORT_DIR_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Set */
-#define BITM_PORT_DIR_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Set */
-#define BITM_PORT_DIR_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Set */
-#define BITM_PORT_DIR_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Set */
-#define BITM_PORT_DIR_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Set */
-#define BITM_PORT_DIR_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Set */
-#define BITM_PORT_DIR_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Set */
-#define BITM_PORT_DIR_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Set */
-#define BITM_PORT_DIR_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Set */
-#define BITM_PORT_DIR_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Set */
-#define BITM_PORT_DIR_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Set */
-#define BITM_PORT_DIR_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Set */
-#define BITM_PORT_DIR_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Set */
-#define BITM_PORT_DIR_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Set */
-#define BITM_PORT_DIR_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Set */
-#define BITM_PORT_DIR_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_CLR_PX15 15 /* Port x Bit 15 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX14 14 /* Port x Bit 14 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX13 13 /* Port x Bit 13 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX12 12 /* Port x Bit 12 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX11 11 /* Port x Bit 11 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX10 10 /* Port x Bit 10 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX9 9 /* Port x Bit 9 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX8 8 /* Port x Bit 8 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX7 7 /* Port x Bit 7 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX6 6 /* Port x Bit 6 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX5 5 /* Port x Bit 5 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX4 4 /* Port x Bit 4 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX3 3 /* Port x Bit 3 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX2 2 /* Port x Bit 2 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX1 1 /* Port x Bit 1 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX0 0 /* Port x Bit 0 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_PX15 15 /* Port x Bit 15 Input Enable */
-#define BITP_PORT_INEN_PX14 14 /* Port x Bit 14 Input Enable */
-#define BITP_PORT_INEN_PX13 13 /* Port x Bit 13 Input Enable */
-#define BITP_PORT_INEN_PX12 12 /* Port x Bit 12 Input Enable */
-#define BITP_PORT_INEN_PX11 11 /* Port x Bit 11 Input Enable */
-#define BITP_PORT_INEN_PX10 10 /* Port x Bit 10 Input Enable */
-#define BITP_PORT_INEN_PX9 9 /* Port x Bit 9 Input Enable */
-#define BITP_PORT_INEN_PX8 8 /* Port x Bit 8 Input Enable */
-#define BITP_PORT_INEN_PX7 7 /* Port x Bit 7 Input Enable */
-#define BITP_PORT_INEN_PX6 6 /* Port x Bit 6 Input Enable */
-#define BITP_PORT_INEN_PX5 5 /* Port x Bit 5 Input Enable */
-#define BITP_PORT_INEN_PX4 4 /* Port x Bit 4 Input Enable */
-#define BITP_PORT_INEN_PX3 3 /* Port x Bit 3 Input Enable */
-#define BITP_PORT_INEN_PX2 2 /* Port x Bit 2 Input Enable */
-#define BITP_PORT_INEN_PX1 1 /* Port x Bit 1 Input Enable */
-#define BITP_PORT_INEN_PX0 0 /* Port x Bit 0 Input Enable */
-#define BITM_PORT_INEN_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable */
-#define BITM_PORT_INEN_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable */
-#define BITM_PORT_INEN_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable */
-#define BITM_PORT_INEN_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable */
-#define BITM_PORT_INEN_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable */
-#define BITM_PORT_INEN_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable */
-#define BITM_PORT_INEN_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable */
-#define BITM_PORT_INEN_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable */
-#define BITM_PORT_INEN_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable */
-#define BITM_PORT_INEN_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable */
-#define BITM_PORT_INEN_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable */
-#define BITM_PORT_INEN_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable */
-#define BITM_PORT_INEN_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable */
-#define BITM_PORT_INEN_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable */
-#define BITM_PORT_INEN_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable */
-#define BITM_PORT_INEN_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_SET_PX15 15 /* Port x Bit 15 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX14 14 /* Port x Bit 14 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX13 13 /* Port x Bit 13 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX12 12 /* Port x Bit 12 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX11 11 /* Port x Bit 11 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX10 10 /* Port x Bit 10 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX9 9 /* Port x Bit 9 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX8 8 /* Port x Bit 8 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX7 7 /* Port x Bit 7 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX6 6 /* Port x Bit 6 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX5 5 /* Port x Bit 5 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX4 4 /* Port x Bit 4 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX3 3 /* Port x Bit 3 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX2 2 /* Port x Bit 2 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX1 1 /* Port x Bit 1 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX0 0 /* Port x Bit 0 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_CLR_PX15 15 /* Port x Bit 15 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX14 14 /* Port x Bit 14 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX13 13 /* Port x Bit 13 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX12 12 /* Port x Bit 12 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX11 11 /* Port x Bit 11 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX10 10 /* Port x Bit 10 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX9 9 /* Port x Bit 9 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX8 8 /* Port x Bit 8 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX7 7 /* Port x Bit 7 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX6 6 /* Port x Bit 6 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX5 5 /* Port x Bit 5 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX4 4 /* Port x Bit 4 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX3 3 /* Port x Bit 3 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX2 2 /* Port x Bit 2 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX1 1 /* Port x Bit 1 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX0 0 /* Port x Bit 0 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_MUX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_MUX_MUX15 30 /* Mux for Port x Bit 15 */
-#define BITP_PORT_MUX_MUX14 28 /* Mux for Port x Bit 14 */
-#define BITP_PORT_MUX_MUX13 26 /* Mux for Port x Bit 13 */
-#define BITP_PORT_MUX_MUX12 24 /* Mux for Port x Bit 12 */
-#define BITP_PORT_MUX_MUX11 22 /* Mux for Port x Bit 11 */
-#define BITP_PORT_MUX_MUX10 20 /* Mux for Port x Bit 10 */
-#define BITP_PORT_MUX_MUX9 18 /* Mux for Port x Bit 9 */
-#define BITP_PORT_MUX_MUX8 16 /* Mux for Port x Bit 8 */
-#define BITP_PORT_MUX_MUX7 14 /* Mux for Port x Bit 7 */
-#define BITP_PORT_MUX_MUX6 12 /* Mux for Port x Bit 6 */
-#define BITP_PORT_MUX_MUX5 10 /* Mux for Port x Bit 5 */
-#define BITP_PORT_MUX_MUX4 8 /* Mux for Port x Bit 4 */
-#define BITP_PORT_MUX_MUX3 6 /* Mux for Port x Bit 3 */
-#define BITP_PORT_MUX_MUX2 4 /* Mux for Port x Bit 2 */
-#define BITP_PORT_MUX_MUX1 2 /* Mux for Port x Bit 1 */
-#define BITP_PORT_MUX_MUX0 0 /* Mux for Port x Bit 0 */
-#define BITM_PORT_MUX_MUX15 (_ADI_MSK(0xC0000000,uint32_t)) /* Mux for Port x Bit 15 */
-#define BITM_PORT_MUX_MUX14 (_ADI_MSK(0x30000000,uint32_t)) /* Mux for Port x Bit 14 */
-#define BITM_PORT_MUX_MUX13 (_ADI_MSK(0x0C000000,uint32_t)) /* Mux for Port x Bit 13 */
-#define BITM_PORT_MUX_MUX12 (_ADI_MSK(0x03000000,uint32_t)) /* Mux for Port x Bit 12 */
-#define BITM_PORT_MUX_MUX11 (_ADI_MSK(0x00C00000,uint32_t)) /* Mux for Port x Bit 11 */
-#define BITM_PORT_MUX_MUX10 (_ADI_MSK(0x00300000,uint32_t)) /* Mux for Port x Bit 10 */
-#define BITM_PORT_MUX_MUX9 (_ADI_MSK(0x000C0000,uint32_t)) /* Mux for Port x Bit 9 */
-#define BITM_PORT_MUX_MUX8 (_ADI_MSK(0x00030000,uint32_t)) /* Mux for Port x Bit 8 */
-#define BITM_PORT_MUX_MUX7 (_ADI_MSK(0x0000C000,uint32_t)) /* Mux for Port x Bit 7 */
-#define BITM_PORT_MUX_MUX6 (_ADI_MSK(0x00003000,uint32_t)) /* Mux for Port x Bit 6 */
-#define BITM_PORT_MUX_MUX5 (_ADI_MSK(0x00000C00,uint32_t)) /* Mux for Port x Bit 5 */
-#define BITM_PORT_MUX_MUX4 (_ADI_MSK(0x00000300,uint32_t)) /* Mux for Port x Bit 4 */
-#define BITM_PORT_MUX_MUX3 (_ADI_MSK(0x000000C0,uint32_t)) /* Mux for Port x Bit 3 */
-#define BITM_PORT_MUX_MUX2 (_ADI_MSK(0x00000030,uint32_t)) /* Mux for Port x Bit 2 */
-#define BITM_PORT_MUX_MUX1 (_ADI_MSK(0x0000000C,uint32_t)) /* Mux for Port x Bit 1 */
-#define BITM_PORT_MUX_MUX0 (_ADI_MSK(0x00000003,uint32_t)) /* Mux for Port x Bit 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_TGL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_TGL_PX15 15 /* Port x Bit 15 Toggle */
-#define BITP_PORT_DATA_TGL_PX14 14 /* Port x Bit 14 Toggle */
-#define BITP_PORT_DATA_TGL_PX13 13 /* Port x Bit 13 Toggle */
-#define BITP_PORT_DATA_TGL_PX12 12 /* Port x Bit 12 Toggle */
-#define BITP_PORT_DATA_TGL_PX11 11 /* Port x Bit 11 Toggle */
-#define BITP_PORT_DATA_TGL_PX10 10 /* Port x Bit 10 Toggle */
-#define BITP_PORT_DATA_TGL_PX9 9 /* Port x Bit 9 Toggle */
-#define BITP_PORT_DATA_TGL_PX8 8 /* Port x Bit 8 Toggle */
-#define BITP_PORT_DATA_TGL_PX7 7 /* Port x Bit 7 Toggle */
-#define BITP_PORT_DATA_TGL_PX6 6 /* Port x Bit 6 Toggle */
-#define BITP_PORT_DATA_TGL_PX5 5 /* Port x Bit 5 Toggle */
-#define BITP_PORT_DATA_TGL_PX4 4 /* Port x Bit 4 Toggle */
-#define BITP_PORT_DATA_TGL_PX3 3 /* Port x Bit 3 Toggle */
-#define BITP_PORT_DATA_TGL_PX2 2 /* Port x Bit 2 Toggle */
-#define BITP_PORT_DATA_TGL_PX1 1 /* Port x Bit 1 Toggle */
-#define BITP_PORT_DATA_TGL_PX0 0 /* Port x Bit 0 Toggle */
-#define BITM_PORT_DATA_TGL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Toggle */
-#define BITM_PORT_DATA_TGL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Toggle */
-#define BITM_PORT_DATA_TGL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Toggle */
-#define BITM_PORT_DATA_TGL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Toggle */
-#define BITM_PORT_DATA_TGL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Toggle */
-#define BITM_PORT_DATA_TGL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Toggle */
-#define BITM_PORT_DATA_TGL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Toggle */
-#define BITM_PORT_DATA_TGL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Toggle */
-#define BITM_PORT_DATA_TGL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Toggle */
-#define BITM_PORT_DATA_TGL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Toggle */
-#define BITM_PORT_DATA_TGL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Toggle */
-#define BITM_PORT_DATA_TGL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Toggle */
-#define BITM_PORT_DATA_TGL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Toggle */
-#define BITM_PORT_DATA_TGL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Toggle */
-#define BITM_PORT_DATA_TGL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Toggle */
-#define BITM_PORT_DATA_TGL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Toggle */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_PX15 15 /* Port x Bit 15 Polarity Invert */
-#define BITP_PORT_POL_PX14 14 /* Port x Bit 14 Polarity Invert */
-#define BITP_PORT_POL_PX13 13 /* Port x Bit 13 Polarity Invert */
-#define BITP_PORT_POL_PX12 12 /* Port x Bit 12 Polarity Invert */
-#define BITP_PORT_POL_PX11 11 /* Port x Bit 11 Polarity Invert */
-#define BITP_PORT_POL_PX10 10 /* Port x Bit 10 Polarity Invert */
-#define BITP_PORT_POL_PX9 9 /* Port x Bit 9 Polarity Invert */
-#define BITP_PORT_POL_PX8 8 /* Port x Bit 8 Polarity Invert */
-#define BITP_PORT_POL_PX7 7 /* Port x Bit 7 Polarity Invert */
-#define BITP_PORT_POL_PX6 6 /* Port x Bit 6 Polarity Invert */
-#define BITP_PORT_POL_PX5 5 /* Port x Bit 5 Polarity Invert */
-#define BITP_PORT_POL_PX4 4 /* Port x Bit 4 Polarity Invert */
-#define BITP_PORT_POL_PX3 3 /* Port x Bit 3 Polarity Invert */
-#define BITP_PORT_POL_PX2 2 /* Port x Bit 2 Polarity Invert */
-#define BITP_PORT_POL_PX1 1 /* Port x Bit 1 Polarity Invert */
-#define BITP_PORT_POL_PX0 0 /* Port x Bit 0 Polarity Invert */
-#define BITM_PORT_POL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert */
-#define BITM_PORT_POL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert */
-#define BITM_PORT_POL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert */
-#define BITM_PORT_POL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert */
-#define BITM_PORT_POL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert */
-#define BITM_PORT_POL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert */
-#define BITM_PORT_POL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert */
-#define BITM_PORT_POL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert */
-#define BITM_PORT_POL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert */
-#define BITM_PORT_POL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert */
-#define BITM_PORT_POL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert */
-#define BITM_PORT_POL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert */
-#define BITM_PORT_POL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert */
-#define BITM_PORT_POL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert */
-#define BITM_PORT_POL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert */
-#define BITM_PORT_POL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_SET_PX15 15 /* Port x Bit 15 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX14 14 /* Port x Bit 14 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX13 13 /* Port x Bit 13 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX12 12 /* Port x Bit 12 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX11 11 /* Port x Bit 11 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX10 10 /* Port x Bit 10 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX9 9 /* Port x Bit 9 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX8 8 /* Port x Bit 8 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX7 7 /* Port x Bit 7 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX6 6 /* Port x Bit 6 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX5 5 /* Port x Bit 5 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX4 4 /* Port x Bit 4 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX3 3 /* Port x Bit 3 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX2 2 /* Port x Bit 2 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX1 1 /* Port x Bit 1 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX0 0 /* Port x Bit 0 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_CLR_PX15 15 /* Port x Bit 15 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX14 14 /* Port x Bit 14 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX13 13 /* Port x Bit 13 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX12 12 /* Port x Bit 12 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX11 11 /* Port x Bit 11 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX10 10 /* Port x Bit 10 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX9 9 /* Port x Bit 9 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX8 8 /* Port x Bit 8 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX7 7 /* Port x Bit 7 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX6 6 /* Port x Bit 6 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX5 5 /* Port x Bit 5 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX4 4 /* Port x Bit 4 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX3 3 /* Port x Bit 3 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX2 2 /* Port x Bit 2 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX1 1 /* Port x Bit 1 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX0 0 /* Port x Bit 0 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_LOCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_LOCK_LOCK 31 /* Lock */
-#define BITP_PORT_LOCK_POLAR 5 /* Polarity Lock */
-#define BITP_PORT_LOCK_INEN 4 /* Input Enable Lock */
-#define BITP_PORT_LOCK_DIR 3 /* Direction Lock */
-#define BITP_PORT_LOCK_DATA 2 /* Data Lock */
-#define BITP_PORT_LOCK_MUX 1 /* Function Multiplexer Lock */
-#define BITP_PORT_LOCK_FER 0 /* Function Enable Lock */
-#define BITM_PORT_LOCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_PORT_LOCK_POLAR (_ADI_MSK(0x00000020,uint32_t)) /* Polarity Lock */
-#define BITM_PORT_LOCK_INEN (_ADI_MSK(0x00000010,uint32_t)) /* Input Enable Lock */
-#define BITM_PORT_LOCK_DIR (_ADI_MSK(0x00000008,uint32_t)) /* Direction Lock */
-#define BITM_PORT_LOCK_DATA (_ADI_MSK(0x00000004,uint32_t)) /* Data Lock */
-#define BITM_PORT_LOCK_MUX (_ADI_MSK(0x00000002,uint32_t)) /* Function Multiplexer Lock */
-#define BITM_PORT_LOCK_FER (_ADI_MSK(0x00000001,uint32_t)) /* Function Enable Lock */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_REVID_MAJOR 4 /* Major ID */
-#define BITP_PORT_REVID_REV 0 /* Revision ID */
-#define BITM_PORT_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PORT_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID */
-
-/* ==================================================
- Pads Controller Registers
- ================================================== */
-
-/* =========================
- PADS0
- ========================= */
-#define REG_PADS0_EMAC_PTP_CLKSEL 0xFFC03404 /* PADS0 Clock Selection for EMAC and PTP */
-#define REG_PADS0_TWI_VSEL 0xFFC03408 /* PADS0 TWI Voltage Selection */
-#define REG_PADS0_PORTS_HYST 0xFFC03440 /* PADS0 Hysteresis Enable Register */
-
-/* =========================
- PADS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_EMAC_PTP_CLKSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC1 2 /* Select Clock Source for PTP Block in EMAC1 */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC0 0 /* PTP Clock Source 0 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC1 (_ADI_MSK(0x0000000C,uint32_t)) /* Select Clock Source for PTP Block in EMAC1 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC0 (_ADI_MSK(0x00000003,uint32_t)) /* PTP Clock Source 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_TWI_VSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_TWI_VSEL_TWI1 4 /* TWI Voltage Select 1 */
-#define BITP_PADS_TWI_VSEL_TWI0 0 /* TWI Voltage Select 0 */
-#define BITM_PADS_TWI_VSEL_TWI1 (_ADI_MSK(0x00000070,uint32_t)) /* TWI Voltage Select 1 */
-#define BITM_PADS_TWI_VSEL_TWI0 (_ADI_MSK(0x00000007,uint32_t)) /* TWI Voltage Select 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_PORTS_HYST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_PORTS_HYST_G 6 /* Port G Hysteresis */
-#define BITP_PADS_PORTS_HYST_F 5 /* Port F Hysteresis */
-#define BITP_PADS_PORTS_HYST_E 4 /* Port E Hysteresis */
-#define BITP_PADS_PORTS_HYST_D 3 /* Port D Hysteresis */
-#define BITP_PADS_PORTS_HYST_C 2 /* Port C Hysteresis */
-#define BITP_PADS_PORTS_HYST_B 1 /* Port B Hysteresis */
-#define BITP_PADS_PORTS_HYST_A 0 /* Port A Hysteresis */
-#define BITM_PADS_PORTS_HYST_G (_ADI_MSK(0x00000040,uint32_t)) /* Port G Hysteresis */
-#define BITM_PADS_PORTS_HYST_F (_ADI_MSK(0x00000020,uint32_t)) /* Port F Hysteresis */
-#define BITM_PADS_PORTS_HYST_E (_ADI_MSK(0x00000010,uint32_t)) /* Port E Hysteresis */
-#define BITM_PADS_PORTS_HYST_D (_ADI_MSK(0x00000008,uint32_t)) /* Port D Hysteresis */
-#define BITM_PADS_PORTS_HYST_C (_ADI_MSK(0x00000004,uint32_t)) /* Port C Hysteresis */
-#define BITM_PADS_PORTS_HYST_B (_ADI_MSK(0x00000002,uint32_t)) /* Port B Hysteresis */
-#define BITM_PADS_PORTS_HYST_A (_ADI_MSK(0x00000001,uint32_t)) /* Port A Hysteresis */
-
-/* ==================================================
- PINT Registers
- ================================================== */
-
-/* =========================
- PINT0
- ========================= */
-#define REG_PINT0_MSK_SET 0xFFC04000 /* PINT0 Pint Mask Set Register */
-#define REG_PINT0_MSK_CLR 0xFFC04004 /* PINT0 Pint Mask Clear Register */
-#define REG_PINT0_REQ 0xFFC04008 /* PINT0 Pint Request Register */
-#define REG_PINT0_ASSIGN 0xFFC0400C /* PINT0 Pint Assign Register */
-#define REG_PINT0_EDGE_SET 0xFFC04010 /* PINT0 Pint Edge Set Register */
-#define REG_PINT0_EDGE_CLR 0xFFC04014 /* PINT0 Pint Edge Clear Register */
-#define REG_PINT0_INV_SET 0xFFC04018 /* PINT0 Pint Invert Set Register */
-#define REG_PINT0_INV_CLR 0xFFC0401C /* PINT0 Pint Invert Clear Register */
-#define REG_PINT0_PINSTATE 0xFFC04020 /* PINT0 Pint Pinstate Register */
-#define REG_PINT0_LATCH 0xFFC04024 /* PINT0 Pint Latch Register */
-
-/* =========================
- PINT1
- ========================= */
-#define REG_PINT1_MSK_SET 0xFFC04100 /* PINT1 Pint Mask Set Register */
-#define REG_PINT1_MSK_CLR 0xFFC04104 /* PINT1 Pint Mask Clear Register */
-#define REG_PINT1_REQ 0xFFC04108 /* PINT1 Pint Request Register */
-#define REG_PINT1_ASSIGN 0xFFC0410C /* PINT1 Pint Assign Register */
-#define REG_PINT1_EDGE_SET 0xFFC04110 /* PINT1 Pint Edge Set Register */
-#define REG_PINT1_EDGE_CLR 0xFFC04114 /* PINT1 Pint Edge Clear Register */
-#define REG_PINT1_INV_SET 0xFFC04118 /* PINT1 Pint Invert Set Register */
-#define REG_PINT1_INV_CLR 0xFFC0411C /* PINT1 Pint Invert Clear Register */
-#define REG_PINT1_PINSTATE 0xFFC04120 /* PINT1 Pint Pinstate Register */
-#define REG_PINT1_LATCH 0xFFC04124 /* PINT1 Pint Latch Register */
-
-/* =========================
- PINT2
- ========================= */
-#define REG_PINT2_MSK_SET 0xFFC04200 /* PINT2 Pint Mask Set Register */
-#define REG_PINT2_MSK_CLR 0xFFC04204 /* PINT2 Pint Mask Clear Register */
-#define REG_PINT2_REQ 0xFFC04208 /* PINT2 Pint Request Register */
-#define REG_PINT2_ASSIGN 0xFFC0420C /* PINT2 Pint Assign Register */
-#define REG_PINT2_EDGE_SET 0xFFC04210 /* PINT2 Pint Edge Set Register */
-#define REG_PINT2_EDGE_CLR 0xFFC04214 /* PINT2 Pint Edge Clear Register */
-#define REG_PINT2_INV_SET 0xFFC04218 /* PINT2 Pint Invert Set Register */
-#define REG_PINT2_INV_CLR 0xFFC0421C /* PINT2 Pint Invert Clear Register */
-#define REG_PINT2_PINSTATE 0xFFC04220 /* PINT2 Pint Pinstate Register */
-#define REG_PINT2_LATCH 0xFFC04224 /* PINT2 Pint Latch Register */
-
-/* =========================
- PINT3
- ========================= */
-#define REG_PINT3_MSK_SET 0xFFC04300 /* PINT3 Pint Mask Set Register */
-#define REG_PINT3_MSK_CLR 0xFFC04304 /* PINT3 Pint Mask Clear Register */
-#define REG_PINT3_REQ 0xFFC04308 /* PINT3 Pint Request Register */
-#define REG_PINT3_ASSIGN 0xFFC0430C /* PINT3 Pint Assign Register */
-#define REG_PINT3_EDGE_SET 0xFFC04310 /* PINT3 Pint Edge Set Register */
-#define REG_PINT3_EDGE_CLR 0xFFC04314 /* PINT3 Pint Edge Clear Register */
-#define REG_PINT3_INV_SET 0xFFC04318 /* PINT3 Pint Invert Set Register */
-#define REG_PINT3_INV_CLR 0xFFC0431C /* PINT3 Pint Invert Clear Register */
-#define REG_PINT3_PINSTATE 0xFFC04320 /* PINT3 Pint Pinstate Register */
-#define REG_PINT3_LATCH 0xFFC04324 /* PINT3 Pint Latch Register */
-
-/* =========================
- PINT4
- ========================= */
-#define REG_PINT4_MSK_SET 0xFFC04400 /* PINT4 Pint Mask Set Register */
-#define REG_PINT4_MSK_CLR 0xFFC04404 /* PINT4 Pint Mask Clear Register */
-#define REG_PINT4_REQ 0xFFC04408 /* PINT4 Pint Request Register */
-#define REG_PINT4_ASSIGN 0xFFC0440C /* PINT4 Pint Assign Register */
-#define REG_PINT4_EDGE_SET 0xFFC04410 /* PINT4 Pint Edge Set Register */
-#define REG_PINT4_EDGE_CLR 0xFFC04414 /* PINT4 Pint Edge Clear Register */
-#define REG_PINT4_INV_SET 0xFFC04418 /* PINT4 Pint Invert Set Register */
-#define REG_PINT4_INV_CLR 0xFFC0441C /* PINT4 Pint Invert Clear Register */
-#define REG_PINT4_PINSTATE 0xFFC04420 /* PINT4 Pint Pinstate Register */
-#define REG_PINT4_LATCH 0xFFC04424 /* PINT4 Pint Latch Register */
-
-/* =========================
- PINT5
- ========================= */
-#define REG_PINT5_MSK_SET 0xFFC04500 /* PINT5 Pint Mask Set Register */
-#define REG_PINT5_MSK_CLR 0xFFC04504 /* PINT5 Pint Mask Clear Register */
-#define REG_PINT5_REQ 0xFFC04508 /* PINT5 Pint Request Register */
-#define REG_PINT5_ASSIGN 0xFFC0450C /* PINT5 Pint Assign Register */
-#define REG_PINT5_EDGE_SET 0xFFC04510 /* PINT5 Pint Edge Set Register */
-#define REG_PINT5_EDGE_CLR 0xFFC04514 /* PINT5 Pint Edge Clear Register */
-#define REG_PINT5_INV_SET 0xFFC04518 /* PINT5 Pint Invert Set Register */
-#define REG_PINT5_INV_CLR 0xFFC0451C /* PINT5 Pint Invert Clear Register */
-#define REG_PINT5_PINSTATE 0xFFC04520 /* PINT5 Pint Pinstate Register */
-#define REG_PINT5_LATCH 0xFFC04524 /* PINT5 Pint Latch Register */
-
-/* =========================
- PINT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_SET_PIQ31 31 /* Pin Interrupt 31 Unmask */
-#define BITP_PINT_MSK_SET_PIQ30 30 /* Pin Interrupt 30 Unmask */
-#define BITP_PINT_MSK_SET_PIQ29 29 /* Pin Interrupt 29 Unmask */
-#define BITP_PINT_MSK_SET_PIQ28 28 /* Pin Interrupt 28 Unmask */
-#define BITP_PINT_MSK_SET_PIQ27 27 /* Pin Interrupt 27 Unmask */
-#define BITP_PINT_MSK_SET_PIQ26 26 /* Pin Interrupt 26 Unmask */
-#define BITP_PINT_MSK_SET_PIQ25 25 /* Pin Interrupt 25 Unmask */
-#define BITP_PINT_MSK_SET_PIQ24 24 /* Pin Interrupt 24 Unmask */
-#define BITP_PINT_MSK_SET_PIQ23 23 /* Pin Interrupt 23 Unmask */
-#define BITP_PINT_MSK_SET_PIQ22 22 /* Pin Interrupt 22 Unmask */
-#define BITP_PINT_MSK_SET_PIQ21 21 /* Pin Interrupt 21 Unmask */
-#define BITP_PINT_MSK_SET_PIQ20 20 /* Pin Interrupt 20 Unmask */
-#define BITP_PINT_MSK_SET_PIQ19 19 /* Pin Interrupt 19 Unmask */
-#define BITP_PINT_MSK_SET_PIQ18 18 /* Pin Interrupt 18 Unmask */
-#define BITP_PINT_MSK_SET_PIQ17 17 /* Pin Interrupt 17 Unmask */
-#define BITP_PINT_MSK_SET_PIQ16 16 /* Pin Interrupt 16 Unmask */
-#define BITP_PINT_MSK_SET_PIQ15 15 /* Pin Interrupt 15 Unmask */
-#define BITP_PINT_MSK_SET_PIQ14 14 /* Pin Interrupt 14 Unmask */
-#define BITP_PINT_MSK_SET_PIQ13 13 /* Pin Interrupt 13 Unmask */
-#define BITP_PINT_MSK_SET_PIQ12 12 /* Pin Interrupt 12 Unmask */
-#define BITP_PINT_MSK_SET_PIQ11 11 /* Pin Interrupt 11 Unmask */
-#define BITP_PINT_MSK_SET_PIQ10 10 /* Pin Interrupt 10 Unmask */
-#define BITP_PINT_MSK_SET_PIQ9 9 /* Pin Interrupt 9 Unmask */
-#define BITP_PINT_MSK_SET_PIQ8 8 /* Pin Interrupt 8 Unmask */
-#define BITP_PINT_MSK_SET_PIQ7 7 /* Pin Interrupt 7 Unmask */
-#define BITP_PINT_MSK_SET_PIQ6 6 /* Pin Interrupt 6 Unmask */
-#define BITP_PINT_MSK_SET_PIQ5 5 /* Pin Interrupt 5 Unmask */
-#define BITP_PINT_MSK_SET_PIQ4 4 /* Pin Interrupt 4 Unmask */
-#define BITP_PINT_MSK_SET_PIQ3 3 /* Pin Interrupt 3 Unmask */
-#define BITP_PINT_MSK_SET_PIQ2 2 /* Pin Interrupt 2 Unmask */
-#define BITP_PINT_MSK_SET_PIQ1 1 /* Pin Interrupt 1 Unmask */
-#define BITP_PINT_MSK_SET_PIQ0 0 /* Pin Interrupt 0 Unmask */
-#define BITM_PINT_MSK_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Unmask */
-#define BITM_PINT_MSK_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Unmask */
-#define BITM_PINT_MSK_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Unmask */
-#define BITM_PINT_MSK_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Unmask */
-#define BITM_PINT_MSK_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Unmask */
-#define BITM_PINT_MSK_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Unmask */
-#define BITM_PINT_MSK_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Unmask */
-#define BITM_PINT_MSK_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Unmask */
-#define BITM_PINT_MSK_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Unmask */
-#define BITM_PINT_MSK_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Unmask */
-#define BITM_PINT_MSK_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Unmask */
-#define BITM_PINT_MSK_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Unmask */
-#define BITM_PINT_MSK_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Unmask */
-#define BITM_PINT_MSK_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Unmask */
-#define BITM_PINT_MSK_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Unmask */
-#define BITM_PINT_MSK_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Unmask */
-#define BITM_PINT_MSK_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Unmask */
-#define BITM_PINT_MSK_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Unmask */
-#define BITM_PINT_MSK_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Unmask */
-#define BITM_PINT_MSK_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Unmask */
-#define BITM_PINT_MSK_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Unmask */
-#define BITM_PINT_MSK_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Unmask */
-#define BITM_PINT_MSK_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Unmask */
-#define BITM_PINT_MSK_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Unmask */
-#define BITM_PINT_MSK_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Unmask */
-#define BITM_PINT_MSK_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Unmask */
-#define BITM_PINT_MSK_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Unmask */
-#define BITM_PINT_MSK_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Unmask */
-#define BITM_PINT_MSK_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Unmask */
-#define BITM_PINT_MSK_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Unmask */
-#define BITM_PINT_MSK_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Unmask */
-#define BITM_PINT_MSK_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_CLR_PIQ31 31 /* Pin Interrupt 31 Mask */
-#define BITP_PINT_MSK_CLR_PIQ30 30 /* Pin Interrupt 30 Mask */
-#define BITP_PINT_MSK_CLR_PIQ29 29 /* Pin Interrupt 29 Mask */
-#define BITP_PINT_MSK_CLR_PIQ28 28 /* Pin Interrupt 28 Mask */
-#define BITP_PINT_MSK_CLR_PIQ27 27 /* Pin Interrupt 27 Mask */
-#define BITP_PINT_MSK_CLR_PIQ26 26 /* Pin Interrupt 26 Mask */
-#define BITP_PINT_MSK_CLR_PIQ25 25 /* Pin Interrupt 25 Mask */
-#define BITP_PINT_MSK_CLR_PIQ24 24 /* Pin Interrupt 24 Mask */
-#define BITP_PINT_MSK_CLR_PIQ23 23 /* Pin Interrupt 23 Mask */
-#define BITP_PINT_MSK_CLR_PIQ22 22 /* Pin Interrupt 22 Mask */
-#define BITP_PINT_MSK_CLR_PIQ21 21 /* Pin Interrupt 21 Mask */
-#define BITP_PINT_MSK_CLR_PIQ20 20 /* Pin Interrupt 20 Mask */
-#define BITP_PINT_MSK_CLR_PIQ19 19 /* Pin Interrupt 19 Mask */
-#define BITP_PINT_MSK_CLR_PIQ18 18 /* Pin Interrupt 18 Mask */
-#define BITP_PINT_MSK_CLR_PIQ17 17 /* Pin Interrupt 17 Mask */
-#define BITP_PINT_MSK_CLR_PIQ16 16 /* Pin Interrupt 16 Mask */
-#define BITP_PINT_MSK_CLR_PIQ15 15 /* Pin Interrupt 15 Mask */
-#define BITP_PINT_MSK_CLR_PIQ14 14 /* Pin Interrupt 14 Mask */
-#define BITP_PINT_MSK_CLR_PIQ13 13 /* Pin Interrupt 13 Mask */
-#define BITP_PINT_MSK_CLR_PIQ12 12 /* Pin Interrupt 12 Mask */
-#define BITP_PINT_MSK_CLR_PIQ11 11 /* Pin Interrupt 11 Mask */
-#define BITP_PINT_MSK_CLR_PIQ10 10 /* Pin Interrupt 10 Mask */
-#define BITP_PINT_MSK_CLR_PIQ9 9 /* Pin Interrupt 9 Mask */
-#define BITP_PINT_MSK_CLR_PIQ8 8 /* Pin Interrupt 8 Mask */
-#define BITP_PINT_MSK_CLR_PIQ7 7 /* Pin Interrupt 7 Mask */
-#define BITP_PINT_MSK_CLR_PIQ6 6 /* Pin Interrupt 6 Mask */
-#define BITP_PINT_MSK_CLR_PIQ5 5 /* Pin Interrupt 5 Mask */
-#define BITP_PINT_MSK_CLR_PIQ4 4 /* Pin Interrupt 4 Mask */
-#define BITP_PINT_MSK_CLR_PIQ3 3 /* Pin Interrupt 3 Mask */
-#define BITP_PINT_MSK_CLR_PIQ2 2 /* Pin Interrupt 2 Mask */
-#define BITP_PINT_MSK_CLR_PIQ1 1 /* Pin Interrupt 1 Mask */
-#define BITP_PINT_MSK_CLR_PIQ0 0 /* Pin Interrupt 0 Mask */
-#define BITM_PINT_MSK_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Mask */
-#define BITM_PINT_MSK_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Mask */
-#define BITM_PINT_MSK_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Mask */
-#define BITM_PINT_MSK_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Mask */
-#define BITM_PINT_MSK_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Mask */
-#define BITM_PINT_MSK_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Mask */
-#define BITM_PINT_MSK_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Mask */
-#define BITM_PINT_MSK_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Mask */
-#define BITM_PINT_MSK_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Mask */
-#define BITM_PINT_MSK_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Mask */
-#define BITM_PINT_MSK_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Mask */
-#define BITM_PINT_MSK_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Mask */
-#define BITM_PINT_MSK_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Mask */
-#define BITM_PINT_MSK_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Mask */
-#define BITM_PINT_MSK_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Mask */
-#define BITM_PINT_MSK_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Mask */
-#define BITM_PINT_MSK_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Mask */
-#define BITM_PINT_MSK_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Mask */
-#define BITM_PINT_MSK_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Mask */
-#define BITM_PINT_MSK_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Mask */
-#define BITM_PINT_MSK_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Mask */
-#define BITM_PINT_MSK_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Mask */
-#define BITM_PINT_MSK_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Mask */
-#define BITM_PINT_MSK_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Mask */
-#define BITM_PINT_MSK_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Mask */
-#define BITM_PINT_MSK_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Mask */
-#define BITM_PINT_MSK_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Mask */
-#define BITM_PINT_MSK_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Mask */
-#define BITM_PINT_MSK_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Mask */
-#define BITM_PINT_MSK_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Mask */
-#define BITM_PINT_MSK_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Mask */
-#define BITM_PINT_MSK_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_REQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_REQ_PIQ31 31 /* Pin Interrupt 31 Request */
-#define BITP_PINT_REQ_PIQ30 30 /* Pin Interrupt 30 Request */
-#define BITP_PINT_REQ_PIQ29 29 /* Pin Interrupt 29 Request */
-#define BITP_PINT_REQ_PIQ28 28 /* Pin Interrupt 28 Request */
-#define BITP_PINT_REQ_PIQ27 27 /* Pin Interrupt 27 Request */
-#define BITP_PINT_REQ_PIQ26 26 /* Pin Interrupt 26 Request */
-#define BITP_PINT_REQ_PIQ25 25 /* Pin Interrupt 25 Request */
-#define BITP_PINT_REQ_PIQ24 24 /* Pin Interrupt 24 Request */
-#define BITP_PINT_REQ_PIQ23 23 /* Pin Interrupt 23 Request */
-#define BITP_PINT_REQ_PIQ22 22 /* Pin Interrupt 22 Request */
-#define BITP_PINT_REQ_PIQ21 21 /* Pin Interrupt 21 Request */
-#define BITP_PINT_REQ_PIQ20 20 /* Pin Interrupt 20 Request */
-#define BITP_PINT_REQ_PIQ19 19 /* Pin Interrupt 19 Request */
-#define BITP_PINT_REQ_PIQ18 18 /* Pin Interrupt 18 Request */
-#define BITP_PINT_REQ_PIQ17 17 /* Pin Interrupt 17 Request */
-#define BITP_PINT_REQ_PIQ16 16 /* Pin Interrupt 16 Request */
-#define BITP_PINT_REQ_PIQ15 15 /* Pin Interrupt 15 Request */
-#define BITP_PINT_REQ_PIQ14 14 /* Pin Interrupt 14 Request */
-#define BITP_PINT_REQ_PIQ13 13 /* Pin Interrupt 13 Request */
-#define BITP_PINT_REQ_PIQ12 12 /* Pin Interrupt 12 Request */
-#define BITP_PINT_REQ_PIQ11 11 /* Pin Interrupt 11 Request */
-#define BITP_PINT_REQ_PIQ10 10 /* Pin Interrupt 10 Request */
-#define BITP_PINT_REQ_PIQ9 9 /* Pin Interrupt 9 Request */
-#define BITP_PINT_REQ_PIQ8 8 /* Pin Interrupt 8 Request */
-#define BITP_PINT_REQ_PIQ7 7 /* Pin Interrupt 7 Request */
-#define BITP_PINT_REQ_PIQ6 6 /* Pin Interrupt 6 Request */
-#define BITP_PINT_REQ_PIQ5 5 /* Pin Interrupt 5 Request */
-#define BITP_PINT_REQ_PIQ4 4 /* Pin Interrupt 4 Request */
-#define BITP_PINT_REQ_PIQ3 3 /* Pin Interrupt 3 Request */
-#define BITP_PINT_REQ_PIQ2 2 /* Pin Interrupt 2 Request */
-#define BITP_PINT_REQ_PIQ1 1 /* Pin Interrupt 1 Request */
-#define BITP_PINT_REQ_PIQ0 0 /* Pin Interrupt 0 Request */
-#define BITM_PINT_REQ_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Request */
-#define BITM_PINT_REQ_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Request */
-#define BITM_PINT_REQ_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Request */
-#define BITM_PINT_REQ_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Request */
-#define BITM_PINT_REQ_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Request */
-#define BITM_PINT_REQ_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Request */
-#define BITM_PINT_REQ_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Request */
-#define BITM_PINT_REQ_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Request */
-#define BITM_PINT_REQ_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Request */
-#define BITM_PINT_REQ_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Request */
-#define BITM_PINT_REQ_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Request */
-#define BITM_PINT_REQ_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Request */
-#define BITM_PINT_REQ_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Request */
-#define BITM_PINT_REQ_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Request */
-#define BITM_PINT_REQ_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Request */
-#define BITM_PINT_REQ_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Request */
-#define BITM_PINT_REQ_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Request */
-#define BITM_PINT_REQ_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Request */
-#define BITM_PINT_REQ_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Request */
-#define BITM_PINT_REQ_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Request */
-#define BITM_PINT_REQ_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Request */
-#define BITM_PINT_REQ_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Request */
-#define BITM_PINT_REQ_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Request */
-#define BITM_PINT_REQ_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Request */
-#define BITM_PINT_REQ_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Request */
-#define BITM_PINT_REQ_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Request */
-#define BITM_PINT_REQ_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Request */
-#define BITM_PINT_REQ_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Request */
-#define BITM_PINT_REQ_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Request */
-#define BITM_PINT_REQ_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Request */
-#define BITM_PINT_REQ_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Request */
-#define BITM_PINT_REQ_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_ASSIGN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_ASSIGN_B3MAP 24 /* Byte 3 Mapping */
-#define BITP_PINT_ASSIGN_B2MAP 16 /* Byte 2 Mapping */
-#define BITP_PINT_ASSIGN_B1MAP 8 /* Byte 1 Mapping */
-#define BITP_PINT_ASSIGN_B0MAP 0 /* Byte 0 Mapping */
-#define BITM_PINT_ASSIGN_B3MAP (_ADI_MSK(0xFF000000,uint32_t)) /* Byte 3 Mapping */
-#define BITM_PINT_ASSIGN_B2MAP (_ADI_MSK(0x00FF0000,uint32_t)) /* Byte 2 Mapping */
-#define BITM_PINT_ASSIGN_B1MAP (_ADI_MSK(0x0000FF00,uint32_t)) /* Byte 1 Mapping */
-#define BITM_PINT_ASSIGN_B0MAP (_ADI_MSK(0x000000FF,uint32_t)) /* Byte 0 Mapping */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_SET_PIQ31 31 /* Pin Interrupt 31 Edge */
-#define BITP_PINT_EDGE_SET_PIQ30 30 /* Pin Interrupt 30 Edge */
-#define BITP_PINT_EDGE_SET_PIQ29 29 /* Pin Interrupt 29 Edge */
-#define BITP_PINT_EDGE_SET_PIQ28 28 /* Pin Interrupt 28 Edge */
-#define BITP_PINT_EDGE_SET_PIQ27 27 /* Pin Interrupt 27 Edge */
-#define BITP_PINT_EDGE_SET_PIQ26 26 /* Pin Interrupt 26 Edge */
-#define BITP_PINT_EDGE_SET_PIQ25 25 /* Pin Interrupt 25 Edge */
-#define BITP_PINT_EDGE_SET_PIQ24 24 /* Pin Interrupt 24 Edge */
-#define BITP_PINT_EDGE_SET_PIQ23 23 /* Pin Interrupt 23 Edge */
-#define BITP_PINT_EDGE_SET_PIQ22 22 /* Pin Interrupt 22 Edge */
-#define BITP_PINT_EDGE_SET_PIQ21 21 /* Pin Interrupt 21 Edge */
-#define BITP_PINT_EDGE_SET_PIQ20 20 /* Pin Interrupt 20 Edge */
-#define BITP_PINT_EDGE_SET_PIQ19 19 /* Pin Interrupt 19 Edge */
-#define BITP_PINT_EDGE_SET_PIQ18 18 /* Pin Interrupt 18 Edge */
-#define BITP_PINT_EDGE_SET_PIQ17 17 /* Pin Interrupt 17 Edge */
-#define BITP_PINT_EDGE_SET_PIQ16 16 /* Pin Interrupt 16 Edge */
-#define BITP_PINT_EDGE_SET_PIQ15 15 /* Pin Interrupt 15 Edge */
-#define BITP_PINT_EDGE_SET_PIQ14 14 /* Pin Interrupt 14 Edge */
-#define BITP_PINT_EDGE_SET_PIQ13 13 /* Pin Interrupt 13 Edge */
-#define BITP_PINT_EDGE_SET_PIQ12 12 /* Pin Interrupt 12 Edge */
-#define BITP_PINT_EDGE_SET_PIQ11 11 /* Pin Interrupt 11 Edge */
-#define BITP_PINT_EDGE_SET_PIQ10 10 /* Pin Interrupt 10 Edge */
-#define BITP_PINT_EDGE_SET_PIQ9 9 /* Pin Interrupt 9 Edge */
-#define BITP_PINT_EDGE_SET_PIQ8 8 /* Pin Interrupt 8 Edge */
-#define BITP_PINT_EDGE_SET_PIQ7 7 /* Pin Interrupt 7 Edge */
-#define BITP_PINT_EDGE_SET_PIQ6 6 /* Pin Interrupt 6 Edge */
-#define BITP_PINT_EDGE_SET_PIQ5 5 /* Pin Interrupt 5 Edge */
-#define BITP_PINT_EDGE_SET_PIQ4 4 /* Pin Interrupt 4 Edge */
-#define BITP_PINT_EDGE_SET_PIQ3 3 /* Pin Interrupt 3 Edge */
-#define BITP_PINT_EDGE_SET_PIQ2 2 /* Pin Interrupt 2 Edge */
-#define BITP_PINT_EDGE_SET_PIQ1 1 /* Pin Interrupt 1 Edge */
-#define BITP_PINT_EDGE_SET_PIQ0 0 /* Pin Interrupt 0 Edge */
-#define BITM_PINT_EDGE_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Edge */
-#define BITM_PINT_EDGE_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Edge */
-#define BITM_PINT_EDGE_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Edge */
-#define BITM_PINT_EDGE_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Edge */
-#define BITM_PINT_EDGE_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Edge */
-#define BITM_PINT_EDGE_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Edge */
-#define BITM_PINT_EDGE_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Edge */
-#define BITM_PINT_EDGE_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Edge */
-#define BITM_PINT_EDGE_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Edge */
-#define BITM_PINT_EDGE_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Edge */
-#define BITM_PINT_EDGE_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Edge */
-#define BITM_PINT_EDGE_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Edge */
-#define BITM_PINT_EDGE_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Edge */
-#define BITM_PINT_EDGE_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Edge */
-#define BITM_PINT_EDGE_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Edge */
-#define BITM_PINT_EDGE_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Edge */
-#define BITM_PINT_EDGE_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Edge */
-#define BITM_PINT_EDGE_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Edge */
-#define BITM_PINT_EDGE_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Edge */
-#define BITM_PINT_EDGE_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Edge */
-#define BITM_PINT_EDGE_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Edge */
-#define BITM_PINT_EDGE_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Edge */
-#define BITM_PINT_EDGE_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Edge */
-#define BITM_PINT_EDGE_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Edge */
-#define BITM_PINT_EDGE_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Edge */
-#define BITM_PINT_EDGE_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Edge */
-#define BITM_PINT_EDGE_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Edge */
-#define BITM_PINT_EDGE_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Edge */
-#define BITM_PINT_EDGE_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Edge */
-#define BITM_PINT_EDGE_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Edge */
-#define BITM_PINT_EDGE_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Edge */
-#define BITM_PINT_EDGE_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Edge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_CLR_PIQ31 31 /* Pin Interrupt 31 Level */
-#define BITP_PINT_EDGE_CLR_PIQ30 30 /* Pin Interrupt 30 Level */
-#define BITP_PINT_EDGE_CLR_PIQ29 29 /* Pin Interrupt 29 Level */
-#define BITP_PINT_EDGE_CLR_PIQ28 28 /* Pin Interrupt 28 Level */
-#define BITP_PINT_EDGE_CLR_PIQ27 27 /* Pin Interrupt 27 Level */
-#define BITP_PINT_EDGE_CLR_PIQ26 26 /* Pin Interrupt 26 Level */
-#define BITP_PINT_EDGE_CLR_PIQ25 25 /* Pin Interrupt 25 Level */
-#define BITP_PINT_EDGE_CLR_PIQ24 24 /* Pin Interrupt 24 Level */
-#define BITP_PINT_EDGE_CLR_PIQ23 23 /* Pin Interrupt 23 Level */
-#define BITP_PINT_EDGE_CLR_PIQ22 22 /* Pin Interrupt 22 Level */
-#define BITP_PINT_EDGE_CLR_PIQ21 21 /* Pin Interrupt 21 Level */
-#define BITP_PINT_EDGE_CLR_PIQ20 20 /* Pin Interrupt 20 Level */
-#define BITP_PINT_EDGE_CLR_PIQ19 19 /* Pin Interrupt 19 Level */
-#define BITP_PINT_EDGE_CLR_PIQ18 18 /* Pin Interrupt 18 Level */
-#define BITP_PINT_EDGE_CLR_PIQ17 17 /* Pin Interrupt 17 Level */
-#define BITP_PINT_EDGE_CLR_PIQ16 16 /* Pin Interrupt 16 Level */
-#define BITP_PINT_EDGE_CLR_PIQ15 15 /* Pin Interrupt 15 Level */
-#define BITP_PINT_EDGE_CLR_PIQ14 14 /* Pin Interrupt 14 Level */
-#define BITP_PINT_EDGE_CLR_PIQ13 13 /* Pin Interrupt 13 Level */
-#define BITP_PINT_EDGE_CLR_PIQ12 12 /* Pin Interrupt 12 Level */
-#define BITP_PINT_EDGE_CLR_PIQ11 11 /* Pin Interrupt 11 Level */
-#define BITP_PINT_EDGE_CLR_PIQ10 10 /* Pin Interrupt 10 Level */
-#define BITP_PINT_EDGE_CLR_PIQ9 9 /* Pin Interrupt 9 Level */
-#define BITP_PINT_EDGE_CLR_PIQ8 8 /* Pin Interrupt 8 Level */
-#define BITP_PINT_EDGE_CLR_PIQ7 7 /* Pin Interrupt 7 Level */
-#define BITP_PINT_EDGE_CLR_PIQ6 6 /* Pin Interrupt 6 Level */
-#define BITP_PINT_EDGE_CLR_PIQ5 5 /* Pin Interrupt 5 Level */
-#define BITP_PINT_EDGE_CLR_PIQ4 4 /* Pin Interrupt 4 Level */
-#define BITP_PINT_EDGE_CLR_PIQ3 3 /* Pin Interrupt 3 Level */
-#define BITP_PINT_EDGE_CLR_PIQ2 2 /* Pin Interrupt 2 Level */
-#define BITP_PINT_EDGE_CLR_PIQ1 1 /* Pin Interrupt 1 Level */
-#define BITP_PINT_EDGE_CLR_PIQ0 0 /* Pin Interrupt 0 Level */
-#define BITM_PINT_EDGE_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Level */
-#define BITM_PINT_EDGE_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Level */
-#define BITM_PINT_EDGE_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Level */
-#define BITM_PINT_EDGE_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Level */
-#define BITM_PINT_EDGE_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Level */
-#define BITM_PINT_EDGE_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Level */
-#define BITM_PINT_EDGE_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Level */
-#define BITM_PINT_EDGE_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Level */
-#define BITM_PINT_EDGE_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Level */
-#define BITM_PINT_EDGE_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Level */
-#define BITM_PINT_EDGE_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Level */
-#define BITM_PINT_EDGE_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Level */
-#define BITM_PINT_EDGE_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Level */
-#define BITM_PINT_EDGE_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Level */
-#define BITM_PINT_EDGE_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Level */
-#define BITM_PINT_EDGE_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Level */
-#define BITM_PINT_EDGE_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Level */
-#define BITM_PINT_EDGE_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Level */
-#define BITM_PINT_EDGE_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Level */
-#define BITM_PINT_EDGE_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Level */
-#define BITM_PINT_EDGE_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Level */
-#define BITM_PINT_EDGE_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Level */
-#define BITM_PINT_EDGE_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Level */
-#define BITM_PINT_EDGE_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Level */
-#define BITM_PINT_EDGE_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Level */
-#define BITM_PINT_EDGE_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Level */
-#define BITM_PINT_EDGE_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Level */
-#define BITM_PINT_EDGE_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Level */
-#define BITM_PINT_EDGE_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Level */
-#define BITM_PINT_EDGE_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Level */
-#define BITM_PINT_EDGE_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Level */
-#define BITM_PINT_EDGE_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Level */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_SET_PIQ31 31 /* Pin Interrupt 31 Invert */
-#define BITP_PINT_INV_SET_PIQ30 30 /* Pin Interrupt 30 Invert */
-#define BITP_PINT_INV_SET_PIQ29 29 /* Pin Interrupt 29 Invert */
-#define BITP_PINT_INV_SET_PIQ28 28 /* Pin Interrupt 28 Invert */
-#define BITP_PINT_INV_SET_PIQ27 27 /* Pin Interrupt 27 Invert */
-#define BITP_PINT_INV_SET_PIQ26 26 /* Pin Interrupt 26 Invert */
-#define BITP_PINT_INV_SET_PIQ25 25 /* Pin Interrupt 25 Invert */
-#define BITP_PINT_INV_SET_PIQ24 24 /* Pin Interrupt 24 Invert */
-#define BITP_PINT_INV_SET_PIQ23 23 /* Pin Interrupt 23 Invert */
-#define BITP_PINT_INV_SET_PIQ22 22 /* Pin Interrupt 22 Invert */
-#define BITP_PINT_INV_SET_PIQ21 21 /* Pin Interrupt 21 Invert */
-#define BITP_PINT_INV_SET_PIQ20 20 /* Pin Interrupt 20 Invert */
-#define BITP_PINT_INV_SET_PIQ19 19 /* Pin Interrupt 19 Invert */
-#define BITP_PINT_INV_SET_PIQ18 18 /* Pin Interrupt 18 Invert */
-#define BITP_PINT_INV_SET_PIQ17 17 /* Pin Interrupt 17 Invert */
-#define BITP_PINT_INV_SET_PIQ16 16 /* Pin Interrupt 16 Invert */
-#define BITP_PINT_INV_SET_PIQ15 15 /* Pin Interrupt 15 Invert */
-#define BITP_PINT_INV_SET_PIQ14 14 /* Pin Interrupt 14 Invert */
-#define BITP_PINT_INV_SET_PIQ13 13 /* Pin Interrupt 13 Invert */
-#define BITP_PINT_INV_SET_PIQ12 12 /* Pin Interrupt 12 Invert */
-#define BITP_PINT_INV_SET_PIQ11 11 /* Pin Interrupt 11 Invert */
-#define BITP_PINT_INV_SET_PIQ10 10 /* Pin Interrupt 10 Invert */
-#define BITP_PINT_INV_SET_PIQ9 9 /* Pin Interrupt 9 Invert */
-#define BITP_PINT_INV_SET_PIQ8 8 /* Pin Interrupt 8 Invert */
-#define BITP_PINT_INV_SET_PIQ7 7 /* Pin Interrupt 7 Invert */
-#define BITP_PINT_INV_SET_PIQ6 6 /* Pin Interrupt 6 Invert */
-#define BITP_PINT_INV_SET_PIQ5 5 /* Pin Interrupt 5 Invert */
-#define BITP_PINT_INV_SET_PIQ4 4 /* Pin Interrupt 4 Invert */
-#define BITP_PINT_INV_SET_PIQ3 3 /* Pin Interrupt 3 Invert */
-#define BITP_PINT_INV_SET_PIQ2 2 /* Pin Interrupt 2 Invert */
-#define BITP_PINT_INV_SET_PIQ1 1 /* Pin Interrupt 1 Invert */
-#define BITP_PINT_INV_SET_PIQ0 0 /* Pin Interrupt 0 Invert */
-#define BITM_PINT_INV_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Invert */
-#define BITM_PINT_INV_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Invert */
-#define BITM_PINT_INV_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Invert */
-#define BITM_PINT_INV_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Invert */
-#define BITM_PINT_INV_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Invert */
-#define BITM_PINT_INV_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Invert */
-#define BITM_PINT_INV_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Invert */
-#define BITM_PINT_INV_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Invert */
-#define BITM_PINT_INV_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Invert */
-#define BITM_PINT_INV_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Invert */
-#define BITM_PINT_INV_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Invert */
-#define BITM_PINT_INV_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Invert */
-#define BITM_PINT_INV_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Invert */
-#define BITM_PINT_INV_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Invert */
-#define BITM_PINT_INV_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Invert */
-#define BITM_PINT_INV_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Invert */
-#define BITM_PINT_INV_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Invert */
-#define BITM_PINT_INV_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Invert */
-#define BITM_PINT_INV_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Invert */
-#define BITM_PINT_INV_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Invert */
-#define BITM_PINT_INV_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Invert */
-#define BITM_PINT_INV_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Invert */
-#define BITM_PINT_INV_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Invert */
-#define BITM_PINT_INV_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Invert */
-#define BITM_PINT_INV_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Invert */
-#define BITM_PINT_INV_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Invert */
-#define BITM_PINT_INV_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Invert */
-#define BITM_PINT_INV_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Invert */
-#define BITM_PINT_INV_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Invert */
-#define BITM_PINT_INV_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Invert */
-#define BITM_PINT_INV_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Invert */
-#define BITM_PINT_INV_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_CLR_PIQ31 31 /* Pin Interrupt 31 No Invert */
-#define BITP_PINT_INV_CLR_PIQ30 30 /* Pin Interrupt 30 No Invert */
-#define BITP_PINT_INV_CLR_PIQ29 29 /* Pin Interrupt 29 No Invert */
-#define BITP_PINT_INV_CLR_PIQ28 28 /* Pin Interrupt 28 No Invert */
-#define BITP_PINT_INV_CLR_PIQ27 27 /* Pin Interrupt 27 No Invert */
-#define BITP_PINT_INV_CLR_PIQ26 26 /* Pin Interrupt 26 No Invert */
-#define BITP_PINT_INV_CLR_PIQ25 25 /* Pin Interrupt 25 No Invert */
-#define BITP_PINT_INV_CLR_PIQ24 24 /* Pin Interrupt 24 No Invert */
-#define BITP_PINT_INV_CLR_PIQ23 23 /* Pin Interrupt 23 No Invert */
-#define BITP_PINT_INV_CLR_PIQ22 22 /* Pin Interrupt 22 No Invert */
-#define BITP_PINT_INV_CLR_PIQ21 21 /* Pin Interrupt 21 No Invert */
-#define BITP_PINT_INV_CLR_PIQ20 20 /* Pin Interrupt 20 No Invert */
-#define BITP_PINT_INV_CLR_PIQ19 19 /* Pin Interrupt 19 No Invert */
-#define BITP_PINT_INV_CLR_PIQ18 18 /* Pin Interrupt 18 No Invert */
-#define BITP_PINT_INV_CLR_PIQ17 17 /* Pin Interrupt 17 No Invert */
-#define BITP_PINT_INV_CLR_PIQ16 16 /* Pin Interrupt 16 No Invert */
-#define BITP_PINT_INV_CLR_PIQ15 15 /* Pin Interrupt 15 No Invert */
-#define BITP_PINT_INV_CLR_PIQ14 14 /* Pin Interrupt 14 No Invert */
-#define BITP_PINT_INV_CLR_PIQ13 13 /* Pin Interrupt 13 No Invert */
-#define BITP_PINT_INV_CLR_PIQ12 12 /* Pin Interrupt 12 No Invert */
-#define BITP_PINT_INV_CLR_PIQ11 11 /* Pin Interrupt 11 No Invert */
-#define BITP_PINT_INV_CLR_PIQ10 10 /* Pin Interrupt 10 No Invert */
-#define BITP_PINT_INV_CLR_PIQ9 9 /* Pin Interrupt 9 No Invert */
-#define BITP_PINT_INV_CLR_PIQ8 8 /* Pin Interrupt 8 No Invert */
-#define BITP_PINT_INV_CLR_PIQ7 7 /* Pin Interrupt 7 No Invert */
-#define BITP_PINT_INV_CLR_PIQ6 6 /* Pin Interrupt 6 No Invert */
-#define BITP_PINT_INV_CLR_PIQ5 5 /* Pin Interrupt 5 No Invert */
-#define BITP_PINT_INV_CLR_PIQ4 4 /* Pin Interrupt 4 No Invert */
-#define BITP_PINT_INV_CLR_PIQ3 3 /* Pin Interrupt 3 No Invert */
-#define BITP_PINT_INV_CLR_PIQ2 2 /* Pin Interrupt 2 No Invert */
-#define BITP_PINT_INV_CLR_PIQ1 1 /* Pin Interrupt 1 No Invert */
-#define BITP_PINT_INV_CLR_PIQ0 0 /* Pin Interrupt 0 No Invert */
-#define BITM_PINT_INV_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 No Invert */
-#define BITM_PINT_INV_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 No Invert */
-#define BITM_PINT_INV_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 No Invert */
-#define BITM_PINT_INV_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 No Invert */
-#define BITM_PINT_INV_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 No Invert */
-#define BITM_PINT_INV_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 No Invert */
-#define BITM_PINT_INV_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 No Invert */
-#define BITM_PINT_INV_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 No Invert */
-#define BITM_PINT_INV_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 No Invert */
-#define BITM_PINT_INV_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 No Invert */
-#define BITM_PINT_INV_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 No Invert */
-#define BITM_PINT_INV_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 No Invert */
-#define BITM_PINT_INV_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 No Invert */
-#define BITM_PINT_INV_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 No Invert */
-#define BITM_PINT_INV_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 No Invert */
-#define BITM_PINT_INV_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 No Invert */
-#define BITM_PINT_INV_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 No Invert */
-#define BITM_PINT_INV_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 No Invert */
-#define BITM_PINT_INV_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 No Invert */
-#define BITM_PINT_INV_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 No Invert */
-#define BITM_PINT_INV_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 No Invert */
-#define BITM_PINT_INV_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 No Invert */
-#define BITM_PINT_INV_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 No Invert */
-#define BITM_PINT_INV_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 No Invert */
-#define BITM_PINT_INV_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 No Invert */
-#define BITM_PINT_INV_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 No Invert */
-#define BITM_PINT_INV_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 No Invert */
-#define BITM_PINT_INV_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 No Invert */
-#define BITM_PINT_INV_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 No Invert */
-#define BITM_PINT_INV_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 No Invert */
-#define BITM_PINT_INV_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 No Invert */
-#define BITM_PINT_INV_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 No Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_PINSTATE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_PINSTATE_PIQ31 31 /* Pin Interrupt 31 State */
-#define BITP_PINT_PINSTATE_PIQ30 30 /* Pin Interrupt 30 State */
-#define BITP_PINT_PINSTATE_PIQ29 29 /* Pin Interrupt 29 State */
-#define BITP_PINT_PINSTATE_PIQ28 28 /* Pin Interrupt 28 State */
-#define BITP_PINT_PINSTATE_PIQ27 27 /* Pin Interrupt 27 State */
-#define BITP_PINT_PINSTATE_PIQ26 26 /* Pin Interrupt 26 State */
-#define BITP_PINT_PINSTATE_PIQ25 25 /* Pin Interrupt 25 State */
-#define BITP_PINT_PINSTATE_PIQ24 24 /* Pin Interrupt 24 State */
-#define BITP_PINT_PINSTATE_PIQ23 23 /* Pin Interrupt 23 State */
-#define BITP_PINT_PINSTATE_PIQ22 22 /* Pin Interrupt 22 State */
-#define BITP_PINT_PINSTATE_PIQ21 21 /* Pin Interrupt 21 State */
-#define BITP_PINT_PINSTATE_PIQ20 20 /* Pin Interrupt 20 State */
-#define BITP_PINT_PINSTATE_PIQ19 19 /* Pin Interrupt 19 State */
-#define BITP_PINT_PINSTATE_PIQ18 18 /* Pin Interrupt 18 State */
-#define BITP_PINT_PINSTATE_PIQ17 17 /* Pin Interrupt 17 State */
-#define BITP_PINT_PINSTATE_PIQ16 16 /* Pin Interrupt 16 State */
-#define BITP_PINT_PINSTATE_PIQ15 15 /* Pin Interrupt 15 State */
-#define BITP_PINT_PINSTATE_PIQ14 14 /* Pin Interrupt 14 State */
-#define BITP_PINT_PINSTATE_PIQ13 13 /* Pin Interrupt 13 State */
-#define BITP_PINT_PINSTATE_PIQ12 12 /* Pin Interrupt 12 State */
-#define BITP_PINT_PINSTATE_PIQ11 11 /* Pin Interrupt 11 State */
-#define BITP_PINT_PINSTATE_PIQ10 10 /* Pin Interrupt 10 State */
-#define BITP_PINT_PINSTATE_PIQ9 9 /* Pin Interrupt 9 State */
-#define BITP_PINT_PINSTATE_PIQ8 8 /* Pin Interrupt 8 State */
-#define BITP_PINT_PINSTATE_PIQ7 7 /* Pin Interrupt 7 State */
-#define BITP_PINT_PINSTATE_PIQ6 6 /* Pin Interrupt 6 State */
-#define BITP_PINT_PINSTATE_PIQ5 5 /* Pin Interrupt 5 State */
-#define BITP_PINT_PINSTATE_PIQ4 4 /* Pin Interrupt 4 State */
-#define BITP_PINT_PINSTATE_PIQ3 3 /* Pin Interrupt 3 State */
-#define BITP_PINT_PINSTATE_PIQ2 2 /* Pin Interrupt 2 State */
-#define BITP_PINT_PINSTATE_PIQ1 1 /* Pin Interrupt 1 State */
-#define BITP_PINT_PINSTATE_PIQ0 0 /* Pin Interrupt 0 State */
-#define BITM_PINT_PINSTATE_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 State */
-#define BITM_PINT_PINSTATE_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 State */
-#define BITM_PINT_PINSTATE_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 State */
-#define BITM_PINT_PINSTATE_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 State */
-#define BITM_PINT_PINSTATE_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 State */
-#define BITM_PINT_PINSTATE_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 State */
-#define BITM_PINT_PINSTATE_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 State */
-#define BITM_PINT_PINSTATE_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 State */
-#define BITM_PINT_PINSTATE_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 State */
-#define BITM_PINT_PINSTATE_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 State */
-#define BITM_PINT_PINSTATE_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 State */
-#define BITM_PINT_PINSTATE_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 State */
-#define BITM_PINT_PINSTATE_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 State */
-#define BITM_PINT_PINSTATE_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 State */
-#define BITM_PINT_PINSTATE_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 State */
-#define BITM_PINT_PINSTATE_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 State */
-#define BITM_PINT_PINSTATE_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 State */
-#define BITM_PINT_PINSTATE_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 State */
-#define BITM_PINT_PINSTATE_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 State */
-#define BITM_PINT_PINSTATE_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 State */
-#define BITM_PINT_PINSTATE_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 State */
-#define BITM_PINT_PINSTATE_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 State */
-#define BITM_PINT_PINSTATE_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 State */
-#define BITM_PINT_PINSTATE_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 State */
-#define BITM_PINT_PINSTATE_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 State */
-#define BITM_PINT_PINSTATE_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 State */
-#define BITM_PINT_PINSTATE_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 State */
-#define BITM_PINT_PINSTATE_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 State */
-#define BITM_PINT_PINSTATE_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 State */
-#define BITM_PINT_PINSTATE_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 State */
-#define BITM_PINT_PINSTATE_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 State */
-#define BITM_PINT_PINSTATE_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_LATCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_LATCH_PIQ31 31 /* Pin Interrupt 31 Latch */
-#define BITP_PINT_LATCH_PIQ30 30 /* Pin Interrupt 30 Latch */
-#define BITP_PINT_LATCH_PIQ29 29 /* Pin Interrupt 29 Latch */
-#define BITP_PINT_LATCH_PIQ28 28 /* Pin Interrupt 28 Latch */
-#define BITP_PINT_LATCH_PIQ27 27 /* Pin Interrupt 27 Latch */
-#define BITP_PINT_LATCH_PIQ26 26 /* Pin Interrupt 26 Latch */
-#define BITP_PINT_LATCH_PIQ25 25 /* Pin Interrupt 25 Latch */
-#define BITP_PINT_LATCH_PIQ24 24 /* Pin Interrupt 24 Latch */
-#define BITP_PINT_LATCH_PIQ23 23 /* Pin Interrupt 23 Latch */
-#define BITP_PINT_LATCH_PIQ22 22 /* Pin Interrupt 22 Latch */
-#define BITP_PINT_LATCH_PIQ21 21 /* Pin Interrupt 21 Latch */
-#define BITP_PINT_LATCH_PIQ20 20 /* Pin Interrupt 20 Latch */
-#define BITP_PINT_LATCH_PIQ19 19 /* Pin Interrupt 19 Latch */
-#define BITP_PINT_LATCH_PIQ18 18 /* Pin Interrupt 18 Latch */
-#define BITP_PINT_LATCH_PIQ17 17 /* Pin Interrupt 17 Latch */
-#define BITP_PINT_LATCH_PIQ16 16 /* Pin Interrupt 16 Latch */
-#define BITP_PINT_LATCH_PIQ15 15 /* Pin Interrupt 15 Latch */
-#define BITP_PINT_LATCH_PIQ14 14 /* Pin Interrupt 14 Latch */
-#define BITP_PINT_LATCH_PIQ13 13 /* Pin Interrupt 13 Latch */
-#define BITP_PINT_LATCH_PIQ12 12 /* Pin Interrupt 12 Latch */
-#define BITP_PINT_LATCH_PIQ11 11 /* Pin Interrupt 11 Latch */
-#define BITP_PINT_LATCH_PIQ10 10 /* Pin Interrupt 10 Latch */
-#define BITP_PINT_LATCH_PIQ9 9 /* Pin Interrupt 9 Latch */
-#define BITP_PINT_LATCH_PIQ8 8 /* Pin Interrupt 8 Latch */
-#define BITP_PINT_LATCH_PIQ7 7 /* Pin Interrupt 7 Latch */
-#define BITP_PINT_LATCH_PIQ6 6 /* Pin Interrupt 6 Latch */
-#define BITP_PINT_LATCH_PIQ5 5 /* Pin Interrupt 5 Latch */
-#define BITP_PINT_LATCH_PIQ4 4 /* Pin Interrupt 4 Latch */
-#define BITP_PINT_LATCH_PIQ3 3 /* Pin Interrupt 3 Latch */
-#define BITP_PINT_LATCH_PIQ2 2 /* Pin Interrupt 2 Latch */
-#define BITP_PINT_LATCH_PIQ1 1 /* Pin Interrupt 1 Latch */
-#define BITP_PINT_LATCH_PIQ0 0 /* Pin Interrupt 0 Latch */
-#define BITM_PINT_LATCH_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Latch */
-#define BITM_PINT_LATCH_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Latch */
-#define BITM_PINT_LATCH_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Latch */
-#define BITM_PINT_LATCH_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Latch */
-#define BITM_PINT_LATCH_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Latch */
-#define BITM_PINT_LATCH_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Latch */
-#define BITM_PINT_LATCH_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Latch */
-#define BITM_PINT_LATCH_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Latch */
-#define BITM_PINT_LATCH_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Latch */
-#define BITM_PINT_LATCH_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Latch */
-#define BITM_PINT_LATCH_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Latch */
-#define BITM_PINT_LATCH_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Latch */
-#define BITM_PINT_LATCH_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Latch */
-#define BITM_PINT_LATCH_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Latch */
-#define BITM_PINT_LATCH_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Latch */
-#define BITM_PINT_LATCH_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Latch */
-#define BITM_PINT_LATCH_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Latch */
-#define BITM_PINT_LATCH_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Latch */
-#define BITM_PINT_LATCH_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Latch */
-#define BITM_PINT_LATCH_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Latch */
-#define BITM_PINT_LATCH_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Latch */
-#define BITM_PINT_LATCH_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Latch */
-#define BITM_PINT_LATCH_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Latch */
-#define BITM_PINT_LATCH_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Latch */
-#define BITM_PINT_LATCH_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Latch */
-#define BITM_PINT_LATCH_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Latch */
-#define BITM_PINT_LATCH_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Latch */
-#define BITM_PINT_LATCH_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Latch */
-#define BITM_PINT_LATCH_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Latch */
-#define BITM_PINT_LATCH_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Latch */
-#define BITM_PINT_LATCH_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Latch */
-#define BITM_PINT_LATCH_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Latch */
-
-/* ==================================================
- Static Memory Controller Registers
- ================================================== */
-
-/* =========================
- SMC0
- ========================= */
-#define REG_SMC0_GCTL 0xFFC16004 /* SMC0 Grant Control Register */
-#define REG_SMC0_GSTAT 0xFFC16008 /* SMC0 Grant Status Register */
-#define REG_SMC0_B0CTL 0xFFC1600C /* SMC0 Bank 0 Control Register */
-#define REG_SMC0_B0TIM 0xFFC16010 /* SMC0 Bank 0 Timing Register */
-#define REG_SMC0_B0ETIM 0xFFC16014 /* SMC0 Bank 0 Extended Timing Register */
-#define REG_SMC0_B1CTL 0xFFC1601C /* SMC0 Bank 1 Control Register */
-#define REG_SMC0_B1TIM 0xFFC16020 /* SMC0 Bank 1 Timing Register */
-#define REG_SMC0_B1ETIM 0xFFC16024 /* SMC0 Bank 1 Extended Timing Register */
-#define REG_SMC0_B2CTL 0xFFC1602C /* SMC0 Bank 2 Control Register */
-#define REG_SMC0_B2TIM 0xFFC16030 /* SMC0 Bank 2 Timing Register */
-#define REG_SMC0_B2ETIM 0xFFC16034 /* SMC0 Bank 2 Extended Timing Register */
-#define REG_SMC0_B3CTL 0xFFC1603C /* SMC0 Bank 3 Control Register */
-#define REG_SMC0_B3TIM 0xFFC16040 /* SMC0 Bank 3 Timing Register */
-#define REG_SMC0_B3ETIM 0xFFC16044 /* SMC0 Bank 3 Extended Timing Register */
-
-/* =========================
- SMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GCTL_BGDIS 4 /* Bus Grant Disable */
-#define BITM_SMC_GCTL_BGDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bus Grant Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GSTAT_BGHSTAT 2 /* Bus Grant Hold Status */
-#define BITP_SMC_GSTAT_BRQSTAT 1 /* Bus Request Status */
-#define BITP_SMC_GSTAT_BGSTAT 0 /* Bus Grant Status */
-#define BITM_SMC_GSTAT_BGHSTAT (_ADI_MSK(0x00000004,uint32_t)) /* Bus Grant Hold Status */
-#define BITM_SMC_GSTAT_BRQSTAT (_ADI_MSK(0x00000002,uint32_t)) /* Bus Request Status */
-#define BITM_SMC_GSTAT_BGSTAT (_ADI_MSK(0x00000001,uint32_t)) /* Bus Grant Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B0CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B0CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B0CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B0CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B0CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B0CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B0CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B0CTL_EN 0 /* Bank 0 Enable */
-#define BITM_SMC_B0CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B0CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B0CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B0CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B0CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B0CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B0CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B0CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B0CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B0TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B0TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B0TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B0TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B0TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B0TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B0TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B0TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B0TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B0TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B0TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B0ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B0ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B0ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B0ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B0ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B0ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B0ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B0ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B0ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B1CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B1CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B1CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B1CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B1CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B1CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B1CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B1CTL_EN 0 /* Bank 1 Enable */
-#define BITM_SMC_B1CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B1CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B1CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B1CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B1CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B1CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B1CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B1CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B1CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 1 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B1TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B1TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B1TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B1TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B1TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B1TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B1TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B1TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B1TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B1TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B1TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B1ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B1ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B1ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B1ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B1ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B1ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B1ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B1ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B1ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B2CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B2CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B2CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B2CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B2CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B2CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B2CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B2CTL_EN 0 /* Bank 2 Enable */
-#define BITM_SMC_B2CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B2CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B2CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B2CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B2CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B2CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B2CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B2CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B2CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 2 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B2TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B2TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B2TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B2TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B2TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B2TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B2TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B2TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B2TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B2TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B2TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B2ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B2ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B2ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B2ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B2ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B2ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B2ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B2ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B2ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B3CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B3CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B3CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B3CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B3CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B3CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B3CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B3CTL_EN 0 /* Bank 3 Enable */
-#define BITM_SMC_B3CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B3CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B3CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B3CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B3CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B3CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B3CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B3CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B3CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 3 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B3TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B3TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B3TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B3TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B3TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B3TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B3TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B3TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B3TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B3TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B3TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B3ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B3ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B3ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B3ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B3ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B3ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B3ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B3ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B3ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ==================================================
- Watch Dog Timer Unit Registers
- ================================================== */
-
-/* =========================
- WDOG0
- ========================= */
-#define REG_WDOG0_CTL 0xFFC17000 /* WDOG0 Control Register */
-#define REG_WDOG0_CNT 0xFFC17004 /* WDOG0 Count Register */
-#define REG_WDOG0_STAT 0xFFC17008 /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================
- WDOG1
- ========================= */
-#define REG_WDOG1_CTL 0xFFC17800 /* WDOG1 Control Register */
-#define REG_WDOG1_CNT 0xFFC17804 /* WDOG1 Count Register */
-#define REG_WDOG1_STAT 0xFFC17808 /* WDOG1 Watchdog Timer Status Register */
-
-/* =========================
- WDOG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WDOG_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WDOG_CTL_WDRO 15 /* Watch Dog Rollover */
-#define BITP_WDOG_CTL_WDEN 4 /* Watch Dog Enable */
-
-#define BITM_WDOG_CTL_WDRO (_ADI_MSK(0x00008000,uint32_t)) /* Watch Dog Rollover */
-#define ENUM_WDOG_CTL_WDTEXP (_ADI_MSK(0x00008000,uint32_t)) /* WDRO: WDT has expired */
-#define BITM_WDOG_CTL_WDEN (_ADI_MSK(0x00000FF0,uint32_t)) /* Watch Dog Enable */
-
-/* ==================================================
- EPPI Registers
- ================================================== */
-
-/* =========================
- EPPI0
- ========================= */
-#define REG_EPPI0_STAT 0xFFC18000 /* EPPI0 Status Register */
-#define REG_EPPI0_HCNT 0xFFC18004 /* EPPI0 Horizontal Transfer Count Register */
-#define REG_EPPI0_HDLY 0xFFC18008 /* EPPI0 Horizontal Delay Count Register */
-#define REG_EPPI0_VCNT 0xFFC1800C /* EPPI0 Vertical Transfer Count Register */
-#define REG_EPPI0_VDLY 0xFFC18010 /* EPPI0 Vertical Delay Count Register */
-#define REG_EPPI0_FRAME 0xFFC18014 /* EPPI0 Lines Per Frame Register */
-#define REG_EPPI0_LINE 0xFFC18018 /* EPPI0 Samples Per Line Register */
-#define REG_EPPI0_CLKDIV 0xFFC1801C /* EPPI0 Clock Divide Register */
-#define REG_EPPI0_CTL 0xFFC18020 /* EPPI0 Control Register */
-#define REG_EPPI0_FS1_WLHB 0xFFC18024 /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI0_FS1_PASPL 0xFFC18028 /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI0_FS2_WLVB 0xFFC1802C /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI0_FS2_PALPF 0xFFC18030 /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI0_IMSK 0xFFC18034 /* EPPI0 Interrupt Mask Register */
-#define REG_EPPI0_ODDCLIP 0xFFC1803C /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI0_EVENCLIP 0xFFC18040 /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI0_FS1_DLY 0xFFC18044 /* EPPI0 Frame Sync 1 Delay Value */
-#define REG_EPPI0_FS2_DLY 0xFFC18048 /* EPPI0 Frame Sync 2 Delay Value */
-#define REG_EPPI0_CTL2 0xFFC1804C /* EPPI0 Control Register 2 */
-
-/* =========================
- EPPI1
- ========================= */
-#define REG_EPPI1_STAT 0xFFC18400 /* EPPI1 Status Register */
-#define REG_EPPI1_HCNT 0xFFC18404 /* EPPI1 Horizontal Transfer Count Register */
-#define REG_EPPI1_HDLY 0xFFC18408 /* EPPI1 Horizontal Delay Count Register */
-#define REG_EPPI1_VCNT 0xFFC1840C /* EPPI1 Vertical Transfer Count Register */
-#define REG_EPPI1_VDLY 0xFFC18410 /* EPPI1 Vertical Delay Count Register */
-#define REG_EPPI1_FRAME 0xFFC18414 /* EPPI1 Lines Per Frame Register */
-#define REG_EPPI1_LINE 0xFFC18418 /* EPPI1 Samples Per Line Register */
-#define REG_EPPI1_CLKDIV 0xFFC1841C /* EPPI1 Clock Divide Register */
-#define REG_EPPI1_CTL 0xFFC18420 /* EPPI1 Control Register */
-#define REG_EPPI1_FS1_WLHB 0xFFC18424 /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI1_FS1_PASPL 0xFFC18428 /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI1_FS2_WLVB 0xFFC1842C /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI1_FS2_PALPF 0xFFC18430 /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI1_IMSK 0xFFC18434 /* EPPI1 Interrupt Mask Register */
-#define REG_EPPI1_ODDCLIP 0xFFC1843C /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI1_EVENCLIP 0xFFC18440 /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI1_FS1_DLY 0xFFC18444 /* EPPI1 Frame Sync 1 Delay Value */
-#define REG_EPPI1_FS2_DLY 0xFFC18448 /* EPPI1 Frame Sync 2 Delay Value */
-#define REG_EPPI1_CTL2 0xFFC1844C /* EPPI1 Control Register 2 */
-
-/* =========================
- EPPI2
- ========================= */
-#define REG_EPPI2_STAT 0xFFC18800 /* EPPI2 Status Register */
-#define REG_EPPI2_HCNT 0xFFC18804 /* EPPI2 Horizontal Transfer Count Register */
-#define REG_EPPI2_HDLY 0xFFC18808 /* EPPI2 Horizontal Delay Count Register */
-#define REG_EPPI2_VCNT 0xFFC1880C /* EPPI2 Vertical Transfer Count Register */
-#define REG_EPPI2_VDLY 0xFFC18810 /* EPPI2 Vertical Delay Count Register */
-#define REG_EPPI2_FRAME 0xFFC18814 /* EPPI2 Lines Per Frame Register */
-#define REG_EPPI2_LINE 0xFFC18818 /* EPPI2 Samples Per Line Register */
-#define REG_EPPI2_CLKDIV 0xFFC1881C /* EPPI2 Clock Divide Register */
-#define REG_EPPI2_CTL 0xFFC18820 /* EPPI2 Control Register */
-#define REG_EPPI2_FS1_WLHB 0xFFC18824 /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI2_FS1_PASPL 0xFFC18828 /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI2_FS2_WLVB 0xFFC1882C /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI2_FS2_PALPF 0xFFC18830 /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI2_IMSK 0xFFC18834 /* EPPI2 Interrupt Mask Register */
-#define REG_EPPI2_ODDCLIP 0xFFC1883C /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI2_EVENCLIP 0xFFC18840 /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI2_FS1_DLY 0xFFC18844 /* EPPI2 Frame Sync 1 Delay Value */
-#define REG_EPPI2_FS2_DLY 0xFFC18848 /* EPPI2 Frame Sync 2 Delay Value */
-#define REG_EPPI2_CTL2 0xFFC1884C /* EPPI2 Control Register 2 */
-
-/* =========================
- EPPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_STAT_FLD 15 /* Current Field Received by EPPI */
-#define BITP_EPPI_STAT_ERRDET 14 /* Preamble Error Detected */
-#define BITP_EPPI_STAT_PXPERR 7 /* PxP Ready Error */
-#define BITP_EPPI_STAT_ERRNCOR 6 /* Preamble Error Not Corrected */
-#define BITP_EPPI_STAT_FTERRUNDR 5 /* Frame Track Underflow */
-#define BITP_EPPI_STAT_FTERROVR 4 /* Frame Track Overflow */
-#define BITP_EPPI_STAT_LTERRUNDR 3 /* Line Track Underflow */
-#define BITP_EPPI_STAT_LTERROVR 2 /* Line Track Overflow */
-#define BITP_EPPI_STAT_YFIFOERR 1 /* Luma FIFO Error */
-#define BITP_EPPI_STAT_CFIFOERR 0 /* Chroma FIFO Error */
-
-#define BITM_EPPI_STAT_FLD (_ADI_MSK(0x00008000,uint32_t)) /* Current Field Received by EPPI */
-#define ENUM_EPPI_STAT_FIELD1 (_ADI_MSK(0x00000000,uint32_t)) /* FLD: Field 1 */
-#define ENUM_EPPI_STAT_FIELD2 (_ADI_MSK(0x00008000,uint32_t)) /* FLD: Field 2 */
-
-#define BITM_EPPI_STAT_ERRDET (_ADI_MSK(0x00004000,uint32_t)) /* Preamble Error Detected */
-#define ENUM_EPPI_STAT_NO_PRERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRDET: No preamble error detected */
-#define ENUM_EPPI_STAT_PRERR (_ADI_MSK(0x00004000,uint32_t)) /* ERRDET: Preamble error detected */
-#define BITM_EPPI_STAT_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error */
-
-#define BITM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* Preamble Error Not Corrected */
-#define ENUM_EPPI_STAT_NO_ERRNCOR (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: No uncorrected preamble error has occurred */
-#define ENUM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Preamble error detected but not corrected */
-
-#define BITM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow */
-#define ENUM_EPPI_STAT_NO_FTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow */
-#define ENUM_EPPI_STAT_NO_FTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow */
-#define ENUM_EPPI_STAT_NO_LTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow */
-#define ENUM_EPPI_STAT_NO_LTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* Luma FIFO Error */
-#define ENUM_EPPI_STAT_NO_YFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Error Occurred */
-
-#define BITM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* Chroma FIFO Error */
-#define ENUM_EPPI_STAT_NO_CFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HCNT_VALUE 0 /* Horizontal Transfer Count */
-#define BITM_EPPI_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HDLY_VALUE 0 /* Horizontal Delay Count */
-#define BITM_EPPI_HDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VCNT_VALUE 0 /* Vertical Transfer Count */
-#define BITM_EPPI_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VDLY_VALUE 0 /* Vertical Delay Count */
-#define BITM_EPPI_VDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FRAME_VALUE 0 /* Lines Per Frame */
-#define BITM_EPPI_FRAME_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lines Per Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_LINE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_LINE_VALUE 0 /* Samples Per Line */
-#define BITM_EPPI_LINE_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Samples Per Line */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CLKDIV_VALUE 0 /* Internal Clock Divider */
-#define BITM_EPPI_CLKDIV_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Internal Clock Divider */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL_CLKGATEN 31 /* Clock Gating Enable */
-#define BITP_EPPI_CTL_MUXSEL 30 /* MUX Select */
-#define BITP_EPPI_CTL_DMAFINEN 29 /* DMA Finish Enable */
-#define BITP_EPPI_CTL_DMACFG 28 /* One or Two DMA Channels Mode */
-#define BITP_EPPI_CTL_RGBFMTEN 27 /* RGB Formatting Enable */
-#define BITP_EPPI_CTL_SPLTWRD 26 /* Split Word */
-#define BITP_EPPI_CTL_SUBSPLTODD 25 /* Sub-Split Odd Samples */
-#define BITP_EPPI_CTL_SPLTEO 24 /* Split Even and Odd Data Samples */
-#define BITP_EPPI_CTL_SWAPEN 23 /* Swap Enable */
-#define BITP_EPPI_CTL_PACKEN 22 /* Pack/Unpack Enable */
-#define BITP_EPPI_CTL_SKIPEO 21 /* Skip Even or Odd */
-#define BITP_EPPI_CTL_SKIPEN 20 /* Skip Enable */
-#define BITP_EPPI_CTL_DMIRR 19 /* Data Mirroring */
-#define BITP_EPPI_CTL_DLEN 16 /* Data Length */
-#define BITP_EPPI_CTL_POLS 14 /* Frame Sync Polarity */
-#define BITP_EPPI_CTL_POLC 12 /* Clock Polarity */
-#define BITP_EPPI_CTL_SIGNEXT 11 /* Sign Extension */
-#define BITP_EPPI_CTL_IFSGEN 10 /* Internal Frame Sync Generation */
-#define BITP_EPPI_CTL_ICLKGEN 9 /* Internal Clock Generation */
-#define BITP_EPPI_CTL_BLANKGEN 8 /* king Generation (ITU Output Mode) */
-#define BITP_EPPI_CTL_ITUTYPE 7 /* ITU Interlace or Progressive */
-#define BITP_EPPI_CTL_FLDSEL 6 /* Field Select/Trigger */
-#define BITP_EPPI_CTL_FSCFG 4 /* Frame Sync Configuration */
-#define BITP_EPPI_CTL_XFRTYPE 2 /* Transfer Type ( Operating Mode) */
-#define BITP_EPPI_CTL_DIR 1 /* PPI Direction */
-#define BITP_EPPI_CTL_EN 0 /* PPI Enable */
-
-#define BITM_EPPI_CTL_CLKGATEN (_ADI_MSK(0x80000000,uint32_t)) /* Clock Gating Enable */
-#define ENUM_EPPI_CTL_CLKGATE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CLKGATEN: Disable */
-#define ENUM_EPPI_CTL_CLKGATE_EN (_ADI_MSK(0x80000000,uint32_t)) /* CLKGATEN: Enable */
-
-#define BITM_EPPI_CTL_MUXSEL (_ADI_MSK(0x40000000,uint32_t)) /* MUX Select */
-#define ENUM_EPPI_CTL_MUXSEL0 (_ADI_MSK(0x00000000,uint32_t)) /* MUXSEL: Normal Operation */
-#define ENUM_EPPI_CTL_MUXSEL1 (_ADI_MSK(0x40000000,uint32_t)) /* MUXSEL: Multiplexed Operation */
-
-#define BITM_EPPI_CTL_DMAFINEN (_ADI_MSK(0x20000000,uint32_t)) /* DMA Finish Enable */
-#define ENUM_EPPI_CTL_FINISH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DMAFINEN: No Finish Command */
-#define ENUM_EPPI_CTL_FINISH_EN (_ADI_MSK(0x20000000,uint32_t)) /* DMAFINEN: Enable Send Finish Command */
-
-#define BITM_EPPI_CTL_DMACFG (_ADI_MSK(0x10000000,uint32_t)) /* One or Two DMA Channels Mode */
-#define ENUM_EPPI_CTL_DMA1CHAN (_ADI_MSK(0x00000000,uint32_t)) /* DMACFG: PPI uses one DMA Channel */
-#define ENUM_EPPI_CTL_DMA2CHAN (_ADI_MSK(0x10000000,uint32_t)) /* DMACFG: PPI uses two DMA Channels */
-
-#define BITM_EPPI_CTL_RGBFMTEN (_ADI_MSK(0x08000000,uint32_t)) /* RGB Formatting Enable */
-#define ENUM_EPPI_CTL_RGBFMT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RGBFMTEN: Disable RGB Formatted Output */
-#define ENUM_EPPI_CTL_RGBFMT_EN (_ADI_MSK(0x08000000,uint32_t)) /* RGBFMTEN: Enable RGB Formatted Output */
-
-#define BITM_EPPI_CTL_SPLTWRD (_ADI_MSK(0x04000000,uint32_t)) /* Split Word */
-#define ENUM_EPPI_CTL_NO_WORDSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SPLTWRD: PPI_DATA has (DLEN-1) bits of Y or Cr or Cb */
-#define ENUM_EPPI_CTL_WORDSPLIT (_ADI_MSK(0x04000000,uint32_t)) /* SPLTWRD: PPI_DATA contains 2 elements per word */
-
-#define BITM_EPPI_CTL_SUBSPLTODD (_ADI_MSK(0x02000000,uint32_t)) /* Sub-Split Odd Samples */
-#define ENUM_EPPI_CTL_NO_SUBSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SUBSPLTODD: Disable */
-#define ENUM_EPPI_CTL_SUBSPLIT_ODD (_ADI_MSK(0x02000000,uint32_t)) /* SUBSPLTODD: Enable */
-
-#define BITM_EPPI_CTL_SPLTEO (_ADI_MSK(0x01000000,uint32_t)) /* Split Even and Odd Data Samples */
-#define ENUM_EPPI_CTL_SPLTEO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPLTEO: Do Not Split Samples */
-#define ENUM_EPPI_CTL_SPLTEO_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPLTEO: Split Even/Odd Samples */
-
-#define BITM_EPPI_CTL_SWAPEN (_ADI_MSK(0x00800000,uint32_t)) /* Swap Enable */
-#define ENUM_EPPI_CTL_SWAP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SWAPEN: Disable */
-#define ENUM_EPPI_CTL_SWAP_EN (_ADI_MSK(0x00800000,uint32_t)) /* SWAPEN: Enable */
-
-#define BITM_EPPI_CTL_PACKEN (_ADI_MSK(0x00400000,uint32_t)) /* Pack/Unpack Enable */
-#define ENUM_EPPI_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACKEN: Disable */
-#define ENUM_EPPI_CTL_PACK_EN (_ADI_MSK(0x00400000,uint32_t)) /* PACKEN: Enable */
-
-#define BITM_EPPI_CTL_SKIPEO (_ADI_MSK(0x00200000,uint32_t)) /* Skip Even or Odd */
-#define ENUM_EPPI_CTL_SKIPODD (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEO: Skip Odd Samples */
-#define ENUM_EPPI_CTL_SKIPEVEN (_ADI_MSK(0x00200000,uint32_t)) /* SKIPEO: Skip Even Samples */
-
-#define BITM_EPPI_CTL_SKIPEN (_ADI_MSK(0x00100000,uint32_t)) /* Skip Enable */
-#define ENUM_EPPI_CTL_NO_SKIP (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEN: No Samples Skipping */
-#define ENUM_EPPI_CTL_SKIP (_ADI_MSK(0x00100000,uint32_t)) /* SKIPEN: Skip Alternate Samples */
-
-#define BITM_EPPI_CTL_DMIRR (_ADI_MSK(0x00080000,uint32_t)) /* Data Mirroring */
-#define ENUM_EPPI_CTL_NO_MIRROR (_ADI_MSK(0x00000000,uint32_t)) /* DMIRR: No Data Mirroring */
-#define ENUM_EPPI_CTL_MIRROR (_ADI_MSK(0x00080000,uint32_t)) /* DMIRR: Data Mirroring */
-
-#define BITM_EPPI_CTL_DLEN (_ADI_MSK(0x00070000,uint32_t)) /* Data Length */
-#define ENUM_EPPI_CTL_DLEN08 (_ADI_MSK(0x00000000,uint32_t)) /* DLEN: 8 bits */
-#define ENUM_EPPI_CTL_DLEN10 (_ADI_MSK(0x00010000,uint32_t)) /* DLEN: 10 bits */
-#define ENUM_EPPI_CTL_DLEN12 (_ADI_MSK(0x00020000,uint32_t)) /* DLEN: 12 bits */
-#define ENUM_EPPI_CTL_DLEN14 (_ADI_MSK(0x00030000,uint32_t)) /* DLEN: 14 bits */
-#define ENUM_EPPI_CTL_DLEN16 (_ADI_MSK(0x00040000,uint32_t)) /* DLEN: 16 bits */
-#define ENUM_EPPI_CTL_DLEN18 (_ADI_MSK(0x00050000,uint32_t)) /* DLEN: 18 bits */
-#define ENUM_EPPI_CTL_DLEN20 (_ADI_MSK(0x00060000,uint32_t)) /* DLEN: 20 bits */
-#define ENUM_EPPI_CTL_DLEN24 (_ADI_MSK(0x00070000,uint32_t)) /* DLEN: 24 bits */
-
-#define BITM_EPPI_CTL_POLS (_ADI_MSK(0x0000C000,uint32_t)) /* Frame Sync Polarity */
-#define ENUM_EPPI_CTL_FS1HI_FS2HI (_ADI_MSK(0x00000000,uint32_t)) /* POLS: FS1 and FS2 are active high */
-#define ENUM_EPPI_CTL_FS1LO_FS2HI (_ADI_MSK(0x00004000,uint32_t)) /* POLS: FS1 is active low. FS2 is active high */
-#define ENUM_EPPI_CTL_FS1HI_FS2LO (_ADI_MSK(0x00008000,uint32_t)) /* POLS: FS1 is active high. FS2 is active low */
-#define ENUM_EPPI_CTL_FS1LO_FS2LO (_ADI_MSK(0x0000C000,uint32_t)) /* POLS: FS1 and FS2 are active low */
-
-#define BITM_EPPI_CTL_POLC (_ADI_MSK(0x00003000,uint32_t)) /* Clock Polarity */
-#define ENUM_EPPI_CTL_POLC00 (_ADI_MSK(0x00000000,uint32_t)) /* POLC: Clock/Sync polarity mode 0 */
-#define ENUM_EPPI_CTL_POLC01 (_ADI_MSK(0x00001000,uint32_t)) /* POLC: Clock/Sync polarity mode 1 */
-#define ENUM_EPPI_CTL_POLC10 (_ADI_MSK(0x00002000,uint32_t)) /* POLC: Clock/Sync polarity mode 2 */
-#define ENUM_EPPI_CTL_POLC11 (_ADI_MSK(0x00003000,uint32_t)) /* POLC: Clock/Sync polarity mode 3 */
-
-#define BITM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* Sign Extension */
-#define ENUM_EPPI_CTL_ZEROFILL (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Filled */
-#define ENUM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* SIGNEXT: Sign Extended */
-
-#define BITM_EPPI_CTL_IFSGEN (_ADI_MSK(0x00000400,uint32_t)) /* Internal Frame Sync Generation */
-#define ENUM_EPPI_CTL_EXTFS (_ADI_MSK(0x00000000,uint32_t)) /* IFSGEN: External Frame Sync */
-#define ENUM_EPPI_CTL_INTFS (_ADI_MSK(0x00000400,uint32_t)) /* IFSGEN: Internal Frame Sync */
-
-#define BITM_EPPI_CTL_ICLKGEN (_ADI_MSK(0x00000200,uint32_t)) /* Internal Clock Generation */
-#define ENUM_EPPI_CTL_EXTCLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLKGEN: External Clock */
-#define ENUM_EPPI_CTL_INTCLK (_ADI_MSK(0x00000200,uint32_t)) /* ICLKGEN: Internal Clock */
-
-#define BITM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* king Generation (ITU Output Mode) */
-#define ENUM_EPPI_CTL_NO_BLANKGEN (_ADI_MSK(0x00000000,uint32_t)) /* BLANKGEN: Disable */
-#define ENUM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* BLANKGEN: Enable */
-
-#define BITM_EPPI_CTL_ITUTYPE (_ADI_MSK(0x00000080,uint32_t)) /* ITU Interlace or Progressive */
-#define ENUM_EPPI_CTL_INTERLACED (_ADI_MSK(0x00000000,uint32_t)) /* ITUTYPE: Interlaced */
-#define ENUM_EPPI_CTL_PROGRESSIVE (_ADI_MSK(0x00000080,uint32_t)) /* ITUTYPE: Progressive */
-
-#define BITM_EPPI_CTL_FLDSEL (_ADI_MSK(0x00000040,uint32_t)) /* Field Select/Trigger */
-#define ENUM_EPPI_CTL_FLDSEL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FLDSEL: Field Mode 0 */
-#define ENUM_EPPI_CTL_FLDSEL_HI (_ADI_MSK(0x00000040,uint32_t)) /* FLDSEL: Field Mode 1 */
-
-#define BITM_EPPI_CTL_FSCFG (_ADI_MSK(0x00000030,uint32_t)) /* Frame Sync Configuration */
-#define ENUM_EPPI_CTL_SYNC0 (_ADI_MSK(0x00000000,uint32_t)) /* FSCFG: Sync Mode 0 */
-#define ENUM_EPPI_CTL_SYNC1 (_ADI_MSK(0x00000010,uint32_t)) /* FSCFG: Sync Mode 1 */
-#define ENUM_EPPI_CTL_SYNC2 (_ADI_MSK(0x00000020,uint32_t)) /* FSCFG: Sync Mode 2 */
-#define ENUM_EPPI_CTL_SYNC3 (_ADI_MSK(0x00000030,uint32_t)) /* FSCFG: Sync Mode 3 */
-
-#define BITM_EPPI_CTL_XFRTYPE (_ADI_MSK(0x0000000C,uint32_t)) /* Transfer Type ( Operating Mode) */
-#define ENUM_EPPI_CTL_ACTIVE656 (_ADI_MSK(0x00000000,uint32_t)) /* XFRTYPE: ITU656 Active Video Only Mode */
-#define ENUM_EPPI_CTL_ENTIRE656 (_ADI_MSK(0x00000004,uint32_t)) /* XFRTYPE: ITU656 Entire Field Mode */
-#define ENUM_EPPI_CTL_VERT656 (_ADI_MSK(0x00000008,uint32_t)) /* XFRTYPE: ITU656 Vertical Blanking Only Mode */
-#define ENUM_EPPI_CTL_NON656 (_ADI_MSK(0x0000000C,uint32_t)) /* XFRTYPE: Non-ITU656 Mode (GP Mode) */
-
-#define BITM_EPPI_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* PPI Direction */
-#define ENUM_EPPI_CTL_RXMODE (_ADI_MSK(0x00000000,uint32_t)) /* DIR: Receive Mode */
-#define ENUM_EPPI_CTL_TXMODE (_ADI_MSK(0x00000002,uint32_t)) /* DIR: Transmit Mode */
-
-#define BITM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* PPI Enable */
-#define ENUM_EPPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_WLVB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_WLVB_F2VBAD 24 /* Field 2 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F2VBBD 16 /* Field 2 Vertical Blanking Before Data */
-#define BITP_EPPI_FS2_WLVB_F1VBAD 8 /* Field 1 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F1VBBD 0 /* Field 1 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F2VBAD (_ADI_MSK(0xFF000000,uint32_t)) /* Field 2 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F2VBBD (_ADI_MSK(0x00FF0000,uint32_t)) /* Field 2 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F1VBAD (_ADI_MSK(0x0000FF00,uint32_t)) /* Field 1 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F1VBBD (_ADI_MSK(0x000000FF,uint32_t)) /* Field 1 Vertical Blanking Before Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_PALPF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_PALPF_F2ACT 16 /* Field 2 Active */
-#define BITP_EPPI_FS2_PALPF_F1ACT 0 /* Field 1 Active */
-#define BITM_EPPI_FS2_PALPF_F2ACT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Field 2 Active */
-#define BITM_EPPI_FS2_PALPF_F1ACT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Field 1 Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_IMSK_PXPERR 7 /* PxP Ready Error Interrupt Mask */
-#define BITP_EPPI_IMSK_ERRNCOR 6 /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERRUNDR 5 /* Frame Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERROVR 4 /* Frame Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERRUNDR 3 /* Line Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERROVR 2 /* Line Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_YFIFOERR 1 /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_CFIFOERR 0 /* CFIFO Underflow or Overflow Error Interrupt Mask */
-
-#define BITM_EPPI_IMSK_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_PXPERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* PXPERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_PXPERR_MSK (_ADI_MSK(0x00000080,uint32_t)) /* PXPERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define ENUM_EPPI_IMSK_ERRNCOR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_ERRNCOR_MSK (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERRUNDR_MSK (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERROVR_MSK (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERRUNDR_MSK (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERROVR_MSK (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_YFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_YFIFOERR_MSK (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_CFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_CFIFOERR_MSK (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Mask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_ODDCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_ODDCLIP_HIGHODD 16 /* High Odd Clipping Threshold (Chroma Data) */
-#define BITP_EPPI_ODDCLIP_LOWODD 0 /* Low Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_HIGHODD (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_LOWODD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Odd Clipping Threshold (Chroma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_EVENCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_EVENCLIP_HIGHEVEN 16 /* High Even Clipping Threshold (Luma Data) */
-#define BITP_EPPI_EVENCLIP_LOWEVEN 0 /* Low Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_HIGHEVEN (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_LOWEVEN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Even Clipping Threshold (Luma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL2_FS1FINEN 1 /* HSYNC Finish Enable */
-
-#define BITM_EPPI_CTL2_FS1FINEN (_ADI_MSK(0x00000002,uint32_t)) /* HSYNC Finish Enable */
-#define ENUM_EPPI_CTL2_FS2FIN_EN (_ADI_MSK(0x00000000,uint32_t)) /* FS1FINEN: Finish sent after frame RX done */
-#define ENUM_EPPI_CTL2_FS1FIN_EN (_ADI_MSK(0x00000002,uint32_t)) /* FS1FINEN: Finish sent after frame/line RX done */
-
-/* ==================================================
- Pulse-Width Modulator Registers
- ================================================== */
-
-/* =========================
- PWM0
- ========================= */
-#define REG_PWM0_CTL 0xFFC1B000 /* PWM0 Control Register */
-#define REG_PWM0_CHANCFG 0xFFC1B004 /* PWM0 Channel Config Register */
-#define REG_PWM0_TRIPCFG 0xFFC1B008 /* PWM0 Trip Config Register */
-#define REG_PWM0_STAT 0xFFC1B00C /* PWM0 Status Register */
-#define REG_PWM0_IMSK 0xFFC1B010 /* PWM0 Interrupt Mask Register */
-#define REG_PWM0_ILAT 0xFFC1B014 /* PWM0 Interrupt Latch Register */
-#define REG_PWM0_CHOPCFG 0xFFC1B018 /* PWM0 Chop Configuration Register */
-#define REG_PWM0_DT 0xFFC1B01C /* PWM0 Dead Time Register */
-#define REG_PWM0_SYNC_WID 0xFFC1B020 /* PWM0 Sync Pulse Width Register */
-#define REG_PWM0_TM0 0xFFC1B024 /* PWM0 Timer 0 Period Register */
-#define REG_PWM0_TM1 0xFFC1B028 /* PWM0 Timer 1 Period Register */
-#define REG_PWM0_TM2 0xFFC1B02C /* PWM0 Timer 2 Period Register */
-#define REG_PWM0_TM3 0xFFC1B030 /* PWM0 Timer 3 Period Register */
-#define REG_PWM0_TM4 0xFFC1B034 /* PWM0 Timer 4 Period Register */
-#define REG_PWM0_DLYA 0xFFC1B038 /* PWM0 Channel A Delay Register */
-#define REG_PWM0_DLYB 0xFFC1B03C /* PWM0 Channel B Delay Register */
-#define REG_PWM0_DLYC 0xFFC1B040 /* PWM0 Channel C Delay Register */
-#define REG_PWM0_DLYD 0xFFC1B044 /* PWM0 Channel D Delay Register */
-#define REG_PWM0_ACTL 0xFFC1B048 /* PWM0 Channel A Control Register */
-#define REG_PWM0_AH0 0xFFC1B04C /* PWM0 Channel A-High Duty-0 Register */
-#define REG_PWM0_AH1 0xFFC1B050 /* PWM0 Channel A-High Duty-1 Register */
-#define REG_PWM0_AL0 0xFFC1B05C /* PWM0 Channel A-Low Duty-0 Register */
-#define REG_PWM0_AL1 0xFFC1B060 /* PWM0 Channel A-Low Duty-1 Register */
-#define REG_PWM0_BCTL 0xFFC1B064 /* PWM0 Channel B Control Register */
-#define REG_PWM0_BH0 0xFFC1B068 /* PWM0 Channel B-High Duty-0 Register */
-#define REG_PWM0_BH1 0xFFC1B06C /* PWM0 Channel B-High Duty-1 Register */
-#define REG_PWM0_BL0 0xFFC1B078 /* PWM0 Channel B-Low Duty-0 Register */
-#define REG_PWM0_BL1 0xFFC1B07C /* PWM0 Channel B-Low Duty-1 Register */
-#define REG_PWM0_CCTL 0xFFC1B080 /* PWM0 Channel C Control Register */
-#define REG_PWM0_CH0 0xFFC1B084 /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM0_CH1 0xFFC1B088 /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM0_CL0 0xFFC1B094 /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM0_CL1 0xFFC1B098 /* PWM0 Channel C-Low Duty-1 Register */
-#define REG_PWM0_DCTL 0xFFC1B09C /* PWM0 Channel D Control Register */
-#define REG_PWM0_DH0 0xFFC1B0A0 /* PWM0 Channel D-High Duty-0 Register */
-#define REG_PWM0_DH1 0xFFC1B0A4 /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM0_DL0 0xFFC1B0B0 /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM0_DL1 0xFFC1B0B4 /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM1
- ========================= */
-#define REG_PWM1_CTL 0xFFC1B400 /* PWM1 Control Register */
-#define REG_PWM1_CHANCFG 0xFFC1B404 /* PWM1 Channel Config Register */
-#define REG_PWM1_TRIPCFG 0xFFC1B408 /* PWM1 Trip Config Register */
-#define REG_PWM1_STAT 0xFFC1B40C /* PWM1 Status Register */
-#define REG_PWM1_IMSK 0xFFC1B410 /* PWM1 Interrupt Mask Register */
-#define REG_PWM1_ILAT 0xFFC1B414 /* PWM1 Interrupt Latch Register */
-#define REG_PWM1_CHOPCFG 0xFFC1B418 /* PWM1 Chop Configuration Register */
-#define REG_PWM1_DT 0xFFC1B41C /* PWM1 Dead Time Register */
-#define REG_PWM1_SYNC_WID 0xFFC1B420 /* PWM1 Sync Pulse Width Register */
-#define REG_PWM1_TM0 0xFFC1B424 /* PWM1 Timer 0 Period Register */
-#define REG_PWM1_TM1 0xFFC1B428 /* PWM1 Timer 1 Period Register */
-#define REG_PWM1_TM2 0xFFC1B42C /* PWM1 Timer 2 Period Register */
-#define REG_PWM1_TM3 0xFFC1B430 /* PWM1 Timer 3 Period Register */
-#define REG_PWM1_TM4 0xFFC1B434 /* PWM1 Timer 4 Period Register */
-#define REG_PWM1_DLYA 0xFFC1B438 /* PWM1 Channel A Delay Register */
-#define REG_PWM1_DLYB 0xFFC1B43C /* PWM1 Channel B Delay Register */
-#define REG_PWM1_DLYC 0xFFC1B440 /* PWM1 Channel C Delay Register */
-#define REG_PWM1_DLYD 0xFFC1B444 /* PWM1 Channel D Delay Register */
-#define REG_PWM1_ACTL 0xFFC1B448 /* PWM1 Channel A Control Register */
-#define REG_PWM1_AH0 0xFFC1B44C /* PWM1 Channel A-High Duty-0 Register */
-#define REG_PWM1_AH1 0xFFC1B450 /* PWM1 Channel A-High Duty-1 Register */
-#define REG_PWM1_AL0 0xFFC1B45C /* PWM1 Channel A-Low Duty-0 Register */
-#define REG_PWM1_AL1 0xFFC1B460 /* PWM1 Channel A-Low Duty-1 Register */
-#define REG_PWM1_BCTL 0xFFC1B464 /* PWM1 Channel B Control Register */
-#define REG_PWM1_BH0 0xFFC1B468 /* PWM1 Channel B-High Duty-0 Register */
-#define REG_PWM1_BH1 0xFFC1B46C /* PWM1 Channel B-High Duty-1 Register */
-#define REG_PWM1_BL0 0xFFC1B478 /* PWM1 Channel B-Low Duty-0 Register */
-#define REG_PWM1_BL1 0xFFC1B47C /* PWM1 Channel B-Low Duty-1 Register */
-#define REG_PWM1_CCTL 0xFFC1B480 /* PWM1 Channel C Control Register */
-#define REG_PWM1_CH0 0xFFC1B484 /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM1_CH1 0xFFC1B488 /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM1_CL0 0xFFC1B494 /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM1_CL1 0xFFC1B498 /* PWM1 Channel C-Low Duty-1 Register */
-#define REG_PWM1_DCTL 0xFFC1B49C /* PWM1 Channel D Control Register */
-#define REG_PWM1_DH0 0xFFC1B4A0 /* PWM1 Channel D-High Duty-0 Register */
-#define REG_PWM1_DH1 0xFFC1B4A4 /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM1_DL0 0xFFC1B4B0 /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM1_DL1 0xFFC1B4B4 /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CTL_INTSYNCREF 18 /* Timer reference for Internal Sync */
-#define BITP_PWM_CTL_EXTSYNCSEL 17 /* External Sync Select */
-#define BITP_PWM_CTL_EXTSYNC 16 /* External Sync */
-#define BITP_PWM_CTL_DLYDEN 7 /* Enable Delay Counter for Channel D */
-#define BITP_PWM_CTL_DLYCEN 6 /* Enable Delay Counter for Channel C */
-#define BITP_PWM_CTL_DLYBEN 5 /* Enable Delay Counter for Channel B */
-#define BITP_PWM_CTL_DLYAEN 4 /* Enable Delay Counter for Channel A */
-#define BITP_PWM_CTL_SWTRIP 2 /* Software Trip */
-#define BITP_PWM_CTL_EMURUN 1 /* Output Behavior During Emulation Mode */
-#define BITP_PWM_CTL_GLOBEN 0 /* Module Enable */
-
-#define BITM_PWM_CTL_INTSYNCREF (_ADI_MSK(0x001C0000,uint32_t)) /* Timer reference for Internal Sync */
-#define ENUM_PWM_CTL_INTSYNC_0 (_ADI_MSK(0x00000000,uint32_t)) /* INTSYNCREF: PWMTMR0 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_1 (_ADI_MSK(0x00040000,uint32_t)) /* INTSYNCREF: PWMTMR1 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_2 (_ADI_MSK(0x00080000,uint32_t)) /* INTSYNCREF: PWMTMR2 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_3 (_ADI_MSK(0x000C0000,uint32_t)) /* INTSYNCREF: PWMTMR3 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_4 (_ADI_MSK(0x00100000,uint32_t)) /* INTSYNCREF: PWMTMR4 provides sync reference */
-
-#define BITM_PWM_CTL_EXTSYNCSEL (_ADI_MSK(0x00020000,uint32_t)) /* External Sync Select */
-#define ENUM_PWM_CTL_EXTSYNC_ASYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNCSEL: Asynchronous External Sync */
-#define ENUM_PWM_CTL_EXTSYNC_SYNC (_ADI_MSK(0x00020000,uint32_t)) /* EXTSYNCSEL: Synchronous External Sync */
-
-#define BITM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* External Sync */
-#define ENUM_PWM_CTL_INTSYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNC: Internal sync used */
-#define ENUM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* EXTSYNC: External sync used */
-
-#define BITM_PWM_CTL_DLYDEN (_ADI_MSK(0x00000080,uint32_t)) /* Enable Delay Counter for Channel D */
-#define ENUM_PWM_CTL_DLYD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYDEN: Disable */
-#define ENUM_PWM_CTL_DLYD_EN (_ADI_MSK(0x00000080,uint32_t)) /* DLYDEN: Enable */
-
-#define BITM_PWM_CTL_DLYCEN (_ADI_MSK(0x00000040,uint32_t)) /* Enable Delay Counter for Channel C */
-#define ENUM_PWM_CTL_DLYC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYCEN: Disable */
-#define ENUM_PWM_CTL_DLYC_EN (_ADI_MSK(0x00000040,uint32_t)) /* DLYCEN: Enable */
-
-#define BITM_PWM_CTL_DLYBEN (_ADI_MSK(0x00000020,uint32_t)) /* Enable Delay Counter for Channel B */
-#define ENUM_PWM_CTL_DLYB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYBEN: Disable */
-#define ENUM_PWM_CTL_DLYB_EN (_ADI_MSK(0x00000020,uint32_t)) /* DLYBEN: Enable */
-
-#define BITM_PWM_CTL_DLYAEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable Delay Counter for Channel A */
-#define ENUM_PWM_CTL_DLYA_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYAEN: Disable */
-#define ENUM_PWM_CTL_DLYA_EN (_ADI_MSK(0x00000010,uint32_t)) /* DLYAEN: Enable */
-
-#define BITM_PWM_CTL_SWTRIP (_ADI_MSK(0x00000004,uint32_t)) /* Software Trip */
-#define ENUM_PWM_CTL_FORCE_TRIP (_ADI_MSK(0x00000004,uint32_t)) /* SWTRIP: Force a Fault Trip Condition */
-
-#define BITM_PWM_CTL_EMURUN (_ADI_MSK(0x00000002,uint32_t)) /* Output Behavior During Emulation Mode */
-#define ENUM_PWM_CTL_EMURUN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMURUN: Disable Outputs */
-#define ENUM_PWM_CTL_EMURUN_EN (_ADI_MSK(0x00000002,uint32_t)) /* EMURUN: Enable Outputs */
-
-#define BITM_PWM_CTL_GLOBEN (_ADI_MSK(0x00000001,uint32_t)) /* Module Enable */
-#define ENUM_PWM_CTL_PWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GLOBEN: Disable */
-#define ENUM_PWM_CTL_PWM_EN (_ADI_MSK(0x00000001,uint32_t)) /* GLOBEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHANCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHANCFG_ENCHOPDL 30 /* Channel D Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLDL 29 /* Channel D low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPDH 27 /* Channel D Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLDH 26 /* Channel D High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSD 25 /* Channel D Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRD 24 /* Channel D Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPCL 22 /* Channel C Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLCL 21 /* Channel C low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPCH 19 /* Channel C Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLCH 18 /* Channel C High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSC 17 /* Channel C Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRC 16 /* Channel C Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPBL 14 /* Channel B Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLBL 13 /* Channel B low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPBH 11 /* Channel B Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLBH 10 /* Channel B High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSB 9 /* Channel B Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRB 8 /* Channel B Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPAL 6 /* Channel A Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLAL 5 /* Channel A low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPAH 3 /* Channel A Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLAH 2 /* Channel A High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSA 1 /* Channel A Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRA 0 /* Channel A Timer Reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPDL (_ADI_MSK(0x40000000,uint32_t)) /* Channel D Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDL: Disable Chopping Channel D Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_EN (_ADI_MSK(0x40000000,uint32_t)) /* ENCHOPDL: Enable Chopping Channel D Low Side */
-
-#define BITM_PWM_CHANCFG_POLDL (_ADI_MSK(0x20000000,uint32_t)) /* Channel D low side Polarity */
-#define ENUM_PWM_CHANCFG_DL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDL: Active Low */
-#define ENUM_PWM_CHANCFG_DL_ACTHI (_ADI_MSK(0x20000000,uint32_t)) /* POLDL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPDH (_ADI_MSK(0x08000000,uint32_t)) /* Channel D Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDH: Disable Chopping Channel D High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_EN (_ADI_MSK(0x08000000,uint32_t)) /* ENCHOPDH: Enable Chopping Channel D High Side */
-
-#define BITM_PWM_CHANCFG_POLDH (_ADI_MSK(0x04000000,uint32_t)) /* Channel D High side Polarity */
-#define ENUM_PWM_CHANCFG_DH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDH: Active Low */
-#define ENUM_PWM_CHANCFG_DH_ACTHI (_ADI_MSK(0x04000000,uint32_t)) /* POLDH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSD (_ADI_MSK(0x02000000,uint32_t)) /* Channel D Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOD_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSD: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOD_IND (_ADI_MSK(0x02000000,uint32_t)) /* MODELSD: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRD (_ADI_MSK(0x01000000,uint32_t)) /* Channel D Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRD: PWMTMR0 is Channel D reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_1 (_ADI_MSK(0x01000000,uint32_t)) /* REFTMRD: PWMTMR1 is Channel D reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPCL (_ADI_MSK(0x00400000,uint32_t)) /* Channel C Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCL: Disable Chopping Channel C Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_EN (_ADI_MSK(0x00400000,uint32_t)) /* ENCHOPCL: Enable Chopping Channel C Low Side */
-
-#define BITM_PWM_CHANCFG_POLCL (_ADI_MSK(0x00200000,uint32_t)) /* Channel C low side Polarity */
-#define ENUM_PWM_CHANCFG_CL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCL: Active Low */
-#define ENUM_PWM_CHANCFG_CL_ACTHI (_ADI_MSK(0x00200000,uint32_t)) /* POLCL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPCH (_ADI_MSK(0x00080000,uint32_t)) /* Channel C Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCH: Disable Chopping Channel C High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_EN (_ADI_MSK(0x00080000,uint32_t)) /* ENCHOPCH: Enable Chopping Channel C High Side */
-
-#define BITM_PWM_CHANCFG_POLCH (_ADI_MSK(0x00040000,uint32_t)) /* Channel C High side Polarity */
-#define ENUM_PWM_CHANCFG_CH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCH: Active Low */
-#define ENUM_PWM_CHANCFG_CH_ACTHI (_ADI_MSK(0x00040000,uint32_t)) /* POLCH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSC (_ADI_MSK(0x00020000,uint32_t)) /* Channel C Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOC_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSC: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOC_IND (_ADI_MSK(0x00020000,uint32_t)) /* MODELSC: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRC (_ADI_MSK(0x00010000,uint32_t)) /* Channel C Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRC: PWMTMR0 is Channel C reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_1 (_ADI_MSK(0x00010000,uint32_t)) /* REFTMRC: PWMTMR1 is Channel C reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPBL (_ADI_MSK(0x00004000,uint32_t)) /* Channel B Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBL: Disable Chopping Channel B Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_EN (_ADI_MSK(0x00004000,uint32_t)) /* ENCHOPBL: Enable Chopping Channel B Low Side */
-
-#define BITM_PWM_CHANCFG_POLBL (_ADI_MSK(0x00002000,uint32_t)) /* Channel B low side Polarity */
-#define ENUM_PWM_CHANCFG_BL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBL: Active Low */
-#define ENUM_PWM_CHANCFG_BL_ACTHI (_ADI_MSK(0x00002000,uint32_t)) /* POLBL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPBH (_ADI_MSK(0x00000800,uint32_t)) /* Channel B Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBH: Disable Chopping Channel B High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_EN (_ADI_MSK(0x00000800,uint32_t)) /* ENCHOPBH: Enable Chopping Channel B High Side */
-
-#define BITM_PWM_CHANCFG_POLBH (_ADI_MSK(0x00000400,uint32_t)) /* Channel B High side Polarity */
-#define ENUM_PWM_CHANCFG_BH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBH: Active Low */
-#define ENUM_PWM_CHANCFG_BH_ACTHI (_ADI_MSK(0x00000400,uint32_t)) /* POLBH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSB (_ADI_MSK(0x00000200,uint32_t)) /* Channel B Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOB_INV (_ADI_MSK(0x00000000,uint32_t)) /* MODELSB: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOB_IND (_ADI_MSK(0x00000200,uint32_t)) /* MODELSB: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRB (_ADI_MSK(0x00000100,uint32_t)) /* Channel B Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRB: PWMTMR0 is Channel B reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_1 (_ADI_MSK(0x00000100,uint32_t)) /* REFTMRB: PWMTMR1 is Channel B reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPAL (_ADI_MSK(0x00000040,uint32_t)) /* Channel A Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAL: Disable Chopping Channel A Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_EN (_ADI_MSK(0x00000040,uint32_t)) /* ENCHOPAL: Enable Chopping Channel A Low Side */
-
-#define BITM_PWM_CHANCFG_POLAL (_ADI_MSK(0x00000020,uint32_t)) /* Channel A low side Polarity */
-#define ENUM_PWM_CHANCFG_AL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAL: Active Low */
-#define ENUM_PWM_CHANCFG_AL_ACTHI (_ADI_MSK(0x00000020,uint32_t)) /* POLAL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPAH (_ADI_MSK(0x00000008,uint32_t)) /* Channel A Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAH: Disable Chopping Channel A High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_EN (_ADI_MSK(0x00000008,uint32_t)) /* ENCHOPAH: Enable Chopping Channel A High Side */
-
-#define BITM_PWM_CHANCFG_POLAH (_ADI_MSK(0x00000004,uint32_t)) /* Channel A High side Polarity */
-#define ENUM_PWM_CHANCFG_AH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAH: Active Low */
-#define ENUM_PWM_CHANCFG_AH_ACTHI (_ADI_MSK(0x00000004,uint32_t)) /* POLAH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSA (_ADI_MSK(0x00000002,uint32_t)) /* Channel A Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOA_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSA: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOA_IND (_ADI_MSK(0x00000002,uint32_t)) /* MODELSA: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRA (_ADI_MSK(0x00000001,uint32_t)) /* Channel A Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRA: PWMTMR0 is Channel A reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_1 (_ADI_MSK(0x00000001,uint32_t)) /* REFTMRA: PWMTMR1 is Channel A reference */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TRIPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TRIPCFG_MODE1D 27 /* Mode of TRIP1 for Channel D */
-#define BITP_PWM_TRIPCFG_EN1D 26 /* Enable TRIP1 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE0D 25 /* Mode of TRIP0 for Channel D */
-#define BITP_PWM_TRIPCFG_EN0D 24 /* Enable TRIP0 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE1C 19 /* Mode of TRIP1 for Channel C */
-#define BITP_PWM_TRIPCFG_EN1C 18 /* Enable TRIP1 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE0C 17 /* Mode of TRIP0 for Channel C */
-#define BITP_PWM_TRIPCFG_EN0C 16 /* Enable TRIP0 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE1B 11 /* Mode of TRIP1 for Channel B */
-#define BITP_PWM_TRIPCFG_EN1B 10 /* Enable TRIP1 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE0B 9 /* Mode of TRIP0 for Channel B */
-#define BITP_PWM_TRIPCFG_EN0B 8 /* Enable TRIP0 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE1A 3 /* Mode of TRIP1 for Channel A */
-#define BITP_PWM_TRIPCFG_EN1A 2 /* Enable TRIP1 as a trip source for Channel A */
-#define BITP_PWM_TRIPCFG_MODE0A 1 /* Mode of TRIP0 for Channel A */
-#define BITP_PWM_TRIPCFG_EN0A 0 /* Enable TRIP0 as a trip source for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE1D (_ADI_MSK(0x08000000,uint32_t)) /* Mode of TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1D: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1D_RSTRT (_ADI_MSK(0x08000000,uint32_t)) /* MODE1D: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1D (_ADI_MSK(0x04000000,uint32_t)) /* Enable TRIP1 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1D: Disable TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_EN (_ADI_MSK(0x04000000,uint32_t)) /* EN1D: Enable TRIP1 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE0D (_ADI_MSK(0x02000000,uint32_t)) /* Mode of TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0D: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0D_RSTRT (_ADI_MSK(0x02000000,uint32_t)) /* MODE0D: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0D (_ADI_MSK(0x01000000,uint32_t)) /* Enable TRIP0 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0D: Disable TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_EN (_ADI_MSK(0x01000000,uint32_t)) /* EN0D: Enable TRIP0 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE1C (_ADI_MSK(0x00080000,uint32_t)) /* Mode of TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1C: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1C_RSTRT (_ADI_MSK(0x00080000,uint32_t)) /* MODE1C: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1C (_ADI_MSK(0x00040000,uint32_t)) /* Enable TRIP1 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1C: Disable TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_EN (_ADI_MSK(0x00040000,uint32_t)) /* EN1C: Enable TRIP1 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE0C (_ADI_MSK(0x00020000,uint32_t)) /* Mode of TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0C: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0C_RSTRT (_ADI_MSK(0x00020000,uint32_t)) /* MODE0C: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0C (_ADI_MSK(0x00010000,uint32_t)) /* Enable TRIP0 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0C: Disable TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_EN (_ADI_MSK(0x00010000,uint32_t)) /* EN0C: Enable TRIP0 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE1B (_ADI_MSK(0x00000800,uint32_t)) /* Mode of TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1B: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1B_RSTRT (_ADI_MSK(0x00000800,uint32_t)) /* MODE1B: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1B (_ADI_MSK(0x00000400,uint32_t)) /* Enable TRIP1 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1B: Disable TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_EN (_ADI_MSK(0x00000400,uint32_t)) /* EN1B: Enable TRIP1 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE0B (_ADI_MSK(0x00000200,uint32_t)) /* Mode of TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0B: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0B_RSTRT (_ADI_MSK(0x00000200,uint32_t)) /* MODE0B: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0B (_ADI_MSK(0x00000100,uint32_t)) /* Enable TRIP0 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0B: Disable TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_EN (_ADI_MSK(0x00000100,uint32_t)) /* EN0B: Enable TRIP0 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE1A (_ADI_MSK(0x00000008,uint32_t)) /* Mode of TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1A: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1A_RSTRT (_ADI_MSK(0x00000008,uint32_t)) /* MODE1A: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1A (_ADI_MSK(0x00000004,uint32_t)) /* Enable TRIP1 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1A: Disable TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_EN (_ADI_MSK(0x00000004,uint32_t)) /* EN1A: Enable TRIP1 for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE0A (_ADI_MSK(0x00000002,uint32_t)) /* Mode of TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0A: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0A_RSTRT (_ADI_MSK(0x00000002,uint32_t)) /* MODE0A: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0A (_ADI_MSK(0x00000001,uint32_t)) /* Enable TRIP0 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0A: Disable TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN0A: Enable TRIP0 for Channel A */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_STAT_TMR4PHASE 28 /* PWMTMR4 Phase Status */
-#define BITP_PWM_STAT_TMR3PHASE 27 /* PWMTMR3 Phase Status */
-#define BITP_PWM_STAT_TMR2PHASE 26 /* PWMTMR2 Phase Status */
-#define BITP_PWM_STAT_TMR1PHASE 25 /* PWMTMR1 Phase Status */
-#define BITP_PWM_STAT_TMR0PHASE 24 /* PWMTMR0 Phase Status */
-#define BITP_PWM_STAT_TMR4PER 20 /* PWMTMR4 Period Boundary Status */
-#define BITP_PWM_STAT_TMR3PER 19 /* PWMTMR3 Period Boundary Status */
-#define BITP_PWM_STAT_TMR2PER 18 /* PWMTMR2 Period Boundary Status */
-#define BITP_PWM_STAT_TMR1PER 17 /* PWMTMR1 Period Boundary Status */
-#define BITP_PWM_STAT_TMR0PER 16 /* PWMTMR0 Period Boundary Status */
-#define BITP_PWM_STAT_SRTRIPD 11 /* Self-Restart Trip Status for Channel D */
-#define BITP_PWM_STAT_FLTTRIPD 10 /* Fault Trip Status for Channel D */
-#define BITP_PWM_STAT_SRTRIPC 9 /* Self-Restart Trip Status for Channel C */
-#define BITP_PWM_STAT_FLTTRIPC 8 /* Fault Trip Status for Channel C */
-#define BITP_PWM_STAT_SRTRIPB 7 /* Self-Restart Trip Status for Channel B */
-#define BITP_PWM_STAT_FLTTRIPB 6 /* Fault Trip Status for Channel B */
-#define BITP_PWM_STAT_SRTRIPA 5 /* Self-Restart Trip Status for Channel A */
-#define BITP_PWM_STAT_FLTTRIPA 4 /* Fault Trip Status for Channel A */
-#define BITP_PWM_STAT_RAWTRIP1 3 /* Raw Trip 1 Status */
-#define BITP_PWM_STAT_RAWTRIP0 2 /* Raw Trip 0 Status */
-#define BITP_PWM_STAT_TRIP1 1 /* Status bit set when TRIP1 is active low */
-#define BITP_PWM_STAT_TRIP0 0 /* Status bit set when TRIP0 is active low */
-
-#define BITM_PWM_STAT_TMR4PHASE (_ADI_MSK(0x10000000,uint32_t)) /* PWMTMR4 Phase Status */
-#define ENUM_PWM_STAT_TMR4PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR4PH2 (_ADI_MSK(0x10000000,uint32_t)) /* TMR4PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR3PHASE (_ADI_MSK(0x08000000,uint32_t)) /* PWMTMR3 Phase Status */
-#define ENUM_PWM_STAT_TMR3PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR3PH2 (_ADI_MSK(0x08000000,uint32_t)) /* TMR3PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR2PHASE (_ADI_MSK(0x04000000,uint32_t)) /* PWMTMR2 Phase Status */
-#define ENUM_PWM_STAT_TMR2PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR2PH2 (_ADI_MSK(0x04000000,uint32_t)) /* TMR2PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR1PHASE (_ADI_MSK(0x02000000,uint32_t)) /* PWMTMR1 Phase Status */
-#define ENUM_PWM_STAT_TMR1PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR1PH2 (_ADI_MSK(0x02000000,uint32_t)) /* TMR1PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR0PHASE (_ADI_MSK(0x01000000,uint32_t)) /* PWMTMR0 Phase Status */
-#define ENUM_PWM_STAT_TMR0PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR0PH2 (_ADI_MSK(0x01000000,uint32_t)) /* TMR0PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER4 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary not reached */
-#define ENUM_PWM_STAT_PER4 (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary reached */
-
-#define BITM_PWM_STAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER3 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary not reached */
-#define ENUM_PWM_STAT_PER3 (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary reached */
-
-#define BITM_PWM_STAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER2 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary not reached */
-#define ENUM_PWM_STAT_PER2 (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary reached */
-
-#define BITM_PWM_STAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary not reached */
-#define ENUM_PWM_STAT_PER1 (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary reached */
-
-#define BITM_PWM_STAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER0 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary not reached */
-#define ENUM_PWM_STAT_PER0 (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary reached */
-
-#define BITM_PWM_STAT_SRTRIPD (_ADI_MSK(0x00000800,uint32_t)) /* Self-Restart Trip Status for Channel D */
-#define ENUM_PWM_STAT_SRD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRD_TRIP (_ADI_MSK(0x00000800,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPD (_ADI_MSK(0x00000400,uint32_t)) /* Fault Trip Status for Channel D */
-#define ENUM_PWM_STAT_FLTD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTD_TRIP (_ADI_MSK(0x00000400,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPC (_ADI_MSK(0x00000200,uint32_t)) /* Self-Restart Trip Status for Channel C */
-#define ENUM_PWM_STAT_SRC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRC_TRIP (_ADI_MSK(0x00000200,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPC (_ADI_MSK(0x00000100,uint32_t)) /* Fault Trip Status for Channel C */
-#define ENUM_PWM_STAT_FLTC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTC_TRIP (_ADI_MSK(0x00000100,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPB (_ADI_MSK(0x00000080,uint32_t)) /* Self-Restart Trip Status for Channel B */
-#define ENUM_PWM_STAT_SRB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRB_TRIP (_ADI_MSK(0x00000080,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPB (_ADI_MSK(0x00000040,uint32_t)) /* Fault Trip Status for Channel B */
-#define ENUM_PWM_STAT_FLTB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPB: Channel B Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTB_TRIP (_ADI_MSK(0x00000040,uint32_t)) /* FLTTRIPB: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPA (_ADI_MSK(0x00000020,uint32_t)) /* Self-Restart Trip Status for Channel A */
-#define ENUM_PWM_STAT_SRA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRA_TRIP (_ADI_MSK(0x00000020,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPA (_ADI_MSK(0x00000010,uint32_t)) /* Fault Trip Status for Channel A */
-#define ENUM_PWM_STAT_FLTA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTA_TRIP (_ADI_MSK(0x00000010,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_RAWTRIP1 (_ADI_MSK(0x00000008,uint32_t)) /* Raw Trip 1 Status */
-#define ENUM_PWM_STAT_TRIP1LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP1: TRIP1 Level is Low */
-#define ENUM_PWM_STAT_TRIP1LVL_HI (_ADI_MSK(0x00000008,uint32_t)) /* RAWTRIP1: TRIP1 Level is High */
-
-#define BITM_PWM_STAT_RAWTRIP0 (_ADI_MSK(0x00000004,uint32_t)) /* Raw Trip 0 Status */
-#define ENUM_PWM_STAT_TRIP0LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP0: TRIP0 Level is Low */
-#define ENUM_PWM_STAT_TRIP0LVL_HI (_ADI_MSK(0x00000004,uint32_t)) /* RAWTRIP0: TRIP0 Level is High */
-
-#define BITM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* Status bit set when TRIP1 is active low */
-#define ENUM_PWM_STAT_NO_TRIP1 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: TRIP1 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: TRIP1 status is "tripped" (active low) */
-
-#define BITM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* Status bit set when TRIP0 is active low */
-#define ENUM_PWM_STAT_NO_TRIP0 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: TRIP0 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: TRIP0 status is "tripped" (active low) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_IMSK_TMR4PER 20 /* PWMTMR4 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR3PER 19 /* PWMTMR3 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR2PER 18 /* PWMTMR2 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR1PER 17 /* PWMTMR1 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP1 1 /* TRIP1 Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP0 0 /* TRIP0 Interrupt Enable */
-
-#define BITM_PWM_IMSK_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER4_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: Mask PWMTMR4 Period Interrupt */
-#define ENUM_PWM_IMSK_PER4_UMSK (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Unmask PWMTMR4 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER3_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: Mask PWMTMR3 Period Interrupt */
-#define ENUM_PWM_IMSK_PER3_UMSK (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Unmask PWMTMR3 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER2_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: Mask PWMTMR2 Period Interrupt */
-#define ENUM_PWM_IMSK_PER2_UMSK (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Unmask PWMTMR2 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: Mask PWMTMR1 Period Interrupt */
-#define ENUM_PWM_IMSK_PER1_UMSK (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Unmask PWMTMR1 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: Mask PWMTMR0 Period Interrupt */
-#define ENUM_PWM_IMSK_PER0_UMSK (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Unmask PWMTMR0 Period Interrupt */
-
-#define BITM_PWM_IMSK_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: Mask TRIP1 Interrupt */
-#define ENUM_PWM_IMSK_TRIP1_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Unmask TRIP1 Interrupt */
-
-#define BITM_PWM_IMSK_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: Mask TRIP0 Interrupt */
-#define ENUM_PWM_IMSK_TRIP0_UMSK (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Unmask TRIP0 Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ILAT_TMR4PER 20 /* PWMTMR4 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR3PER 19 /* PWMTMR3 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR2PER 18 /* PWMTMR2 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR1PER 17 /* PWMTMR1 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP1 1 /* TRIP1 Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP0 0 /* TRIP0 Interrupt Latched Status */
-
-#define BITM_PWM_ILAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER4_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER4_INTHI (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER3_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER3_INTHI (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER2_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER2_INTHI (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER1_INTHI (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define ENUM_PWM_ILAT_PER0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER0_INTHI (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP1_INTHI (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP0_INTHI (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Interrupt Latched */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHOPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHOPCFG_VALUE 0 /* Gate Chopping Divisor */
-#define BITM_PWM_CHOPCFG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Gate Chopping Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DT_VALUE 0 /* Dead Time */
-#define BITM_PWM_DT_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Dead Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_SYNC_WID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_SYNC_WID_VALUE 0 /* Sync Pulse Width */
-#define BITM_PWM_SYNC_WID_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Sync Pulse Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM0_VALUE 0 /* Timer PWMTMR0 Period Value */
-#define BITM_PWM_TM0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR0 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM1_VALUE 0 /* Timer PWMTMR1 Period Value */
-#define BITM_PWM_TM1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR1 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM2_VALUE 0 /* Timer PWMTMR2 Period Value */
-#define BITM_PWM_TM2_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR2 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM3_VALUE 0 /* Timer PWMTMR3 Period Value */
-#define BITM_PWM_TM3_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR3 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM4 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM4_VALUE 0 /* Timer PWMTMR4 Period Value */
-#define BITM_PWM_TM4_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR4 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYA_VALUE 0 /* Channel A Delay Value */
-#define BITM_PWM_DLYA_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel A Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYB_VALUE 0 /* Channel B Delay Value */
-#define BITM_PWM_DLYB_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel B Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYC_VALUE 0 /* Channel C Delay Value */
-#define BITM_PWM_DLYC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel C Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYD_VALUE 0 /* Channel D Delay Value */
-#define BITM_PWM_DLYD_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel D Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ACTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_ACTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_ACTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_ACTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_ACTL_DISHI 0 /* Channel High Side Output Disable */
-
-#define BITM_PWM_ACTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define ENUM_PWM_SYM_LO (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODELO: Symmetrical */
-#define ENUM_PWM_ASYM_LO (_ADI_MSK(0x00000400,uint32_t)) /* PULSEMODELO: Asymmetrical */
-#define ENUM_PWM_LEFT_LO (_ADI_MSK(0x00000800,uint32_t)) /* PULSEMODELO: Left Half */
-#define ENUM_PWM_RIGHT_LO (_ADI_MSK(0x00000C00,uint32_t)) /* PULSEMODELO: Right Half */
-
-#define BITM_PWM_ACTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define ENUM_PWM_SYM_HI (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODEHI: Symmetrical */
-#define ENUM_PWM_ASYM_HI (_ADI_MSK(0x00000100,uint32_t)) /* PULSEMODEHI: Asymmetrical */
-#define ENUM_PWM_LEFT_HI (_ADI_MSK(0x00000200,uint32_t)) /* PULSEMODEHI: Left Half */
-#define ENUM_PWM_RIGHT_HI (_ADI_MSK(0x00000300,uint32_t)) /* PULSEMODEHI: Right Half */
-
-#define BITM_PWM_ACTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define ENUM_PWM_XOVR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* XOVR: Disable Crossover */
-#define ENUM_PWM_XOVR_EN (_ADI_MSK(0x00000004,uint32_t)) /* XOVR: Enable Crossover */
-
-#define BITM_PWM_ACTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define ENUM_PWM_LO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISLO: Disable Low Side Output */
-#define ENUM_PWM_LO_EN (_ADI_MSK(0x00000002,uint32_t)) /* DISLO: Enable Low Side Output */
-
-#define BITM_PWM_ACTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-#define ENUM_PWM_HI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISHI: Disable High Side Output */
-#define ENUM_PWM_HI_EN (_ADI_MSK(0x00000001,uint32_t)) /* DISHI: Enable High Side Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_BCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_BCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_BCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_BCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_BCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_BCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_BCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_BCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_BCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_BCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_CCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_CCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_CCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_CCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_CCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_CCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_CCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_CCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_CCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_CCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_DCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_DCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_DCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_DCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_DCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_DCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_DCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_DCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_DCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_DCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ==================================================
- Video Subsystem Registers Registers
- ================================================== */
-
-/* =========================
- VID0
- ========================= */
-#define REG_VID0_CONN 0xFFC1D000 /* VID0 Video Subsystem Connect Register */
-
-/* =========================
- VID
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- VID_CONN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_VID_CONN_PPI2BCAST 23 /* PPI_2 Broadcast Mode */
-#define BITP_VID_CONN_PPI1BCAST 22 /* PPI_1 Broadcast Mode */
-#define BITP_VID_CONN_PPI0BCAST 21 /* PPI_0 Broadcast Mode */
-#define BITP_VID_CONN_PPI2TX 16 /* PPI_2_TX Connectivity */
-#define BITP_VID_CONN_PPI1TX 12 /* PPI_1_TX Connectivity */
-#define BITP_VID_CONN_PPI0TX 8 /* PPI_0_TX Connectivity */
-#define BITM_VID_CONN_PPI2BCAST (_ADI_MSK(0x00800000,uint32_t)) /* PPI_2 Broadcast Mode */
-#define BITM_VID_CONN_PPI1BCAST (_ADI_MSK(0x00400000,uint32_t)) /* PPI_1 Broadcast Mode */
-#define BITM_VID_CONN_PPI0BCAST (_ADI_MSK(0x00200000,uint32_t)) /* PPI_0 Broadcast Mode */
-#define BITM_VID_CONN_PPI2TX (_ADI_MSK(0x000F0000,uint32_t)) /* PPI_2_TX Connectivity */
-#define BITM_VID_CONN_PPI1TX (_ADI_MSK(0x0000F000,uint32_t)) /* PPI_1_TX Connectivity */
-#define BITM_VID_CONN_PPI0TX (_ADI_MSK(0x00000F00,uint32_t)) /* PPI_0_TX Connectivity */
-
-/* ==================================================
- System Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- SWU0
- ========================= */
-#define REG_SWU0_GCTL 0xFFC1E000 /* SWU0 Global Control Register */
-#define REG_SWU0_GSTAT 0xFFC1E004 /* SWU0 Global Status Register */
-#define REG_SWU0_CTL0 0xFFC1E010 /* SWU0 Control Register n */
-#define REG_SWU0_CTL1 0xFFC1E030 /* SWU0 Control Register n */
-#define REG_SWU0_CTL2 0xFFC1E050 /* SWU0 Control Register n */
-#define REG_SWU0_CTL3 0xFFC1E070 /* SWU0 Control Register n */
-#define REG_SWU0_LA0 0xFFC1E014 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA1 0xFFC1E034 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA2 0xFFC1E054 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA3 0xFFC1E074 /* SWU0 Lower Address Register n */
-#define REG_SWU0_UA0 0xFFC1E018 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA1 0xFFC1E038 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA2 0xFFC1E058 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA3 0xFFC1E078 /* SWU0 Upper Address Register n */
-#define REG_SWU0_ID0 0xFFC1E01C /* SWU0 ID Register n */
-#define REG_SWU0_ID1 0xFFC1E03C /* SWU0 ID Register n */
-#define REG_SWU0_ID2 0xFFC1E05C /* SWU0 ID Register n */
-#define REG_SWU0_ID3 0xFFC1E07C /* SWU0 ID Register n */
-#define REG_SWU0_CNT0 0xFFC1E020 /* SWU0 Count Register n */
-#define REG_SWU0_CNT1 0xFFC1E040 /* SWU0 Count Register n */
-#define REG_SWU0_CNT2 0xFFC1E060 /* SWU0 Count Register n */
-#define REG_SWU0_CNT3 0xFFC1E080 /* SWU0 Count Register n */
-#define REG_SWU0_TARG0 0xFFC1E024 /* SWU0 Target Register n */
-#define REG_SWU0_TARG1 0xFFC1E044 /* SWU0 Target Register n */
-#define REG_SWU0_TARG2 0xFFC1E064 /* SWU0 Target Register n */
-#define REG_SWU0_TARG3 0xFFC1E084 /* SWU0 Target Register n */
-#define REG_SWU0_HIST0 0xFFC1E028 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST1 0xFFC1E048 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST2 0xFFC1E068 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST3 0xFFC1E088 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_CUR0 0xFFC1E02C /* SWU0 Current Register n */
-#define REG_SWU0_CUR1 0xFFC1E04C /* SWU0 Current Register n */
-#define REG_SWU0_CUR2 0xFFC1E06C /* SWU0 Current Register n */
-#define REG_SWU0_CUR3 0xFFC1E08C /* SWU0 Current Register n */
-
-/* =========================
- SWU1
- ========================= */
-#define REG_SWU1_GCTL 0xFFCAB000 /* SWU1 Global Control Register */
-#define REG_SWU1_GSTAT 0xFFCAB004 /* SWU1 Global Status Register */
-#define REG_SWU1_CTL0 0xFFCAB010 /* SWU1 Control Register n */
-#define REG_SWU1_CTL1 0xFFCAB030 /* SWU1 Control Register n */
-#define REG_SWU1_CTL2 0xFFCAB050 /* SWU1 Control Register n */
-#define REG_SWU1_CTL3 0xFFCAB070 /* SWU1 Control Register n */
-#define REG_SWU1_LA0 0xFFCAB014 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA1 0xFFCAB034 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA2 0xFFCAB054 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA3 0xFFCAB074 /* SWU1 Lower Address Register n */
-#define REG_SWU1_UA0 0xFFCAB018 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA1 0xFFCAB038 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA2 0xFFCAB058 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA3 0xFFCAB078 /* SWU1 Upper Address Register n */
-#define REG_SWU1_ID0 0xFFCAB01C /* SWU1 ID Register n */
-#define REG_SWU1_ID1 0xFFCAB03C /* SWU1 ID Register n */
-#define REG_SWU1_ID2 0xFFCAB05C /* SWU1 ID Register n */
-#define REG_SWU1_ID3 0xFFCAB07C /* SWU1 ID Register n */
-#define REG_SWU1_CNT0 0xFFCAB020 /* SWU1 Count Register n */
-#define REG_SWU1_CNT1 0xFFCAB040 /* SWU1 Count Register n */
-#define REG_SWU1_CNT2 0xFFCAB060 /* SWU1 Count Register n */
-#define REG_SWU1_CNT3 0xFFCAB080 /* SWU1 Count Register n */
-#define REG_SWU1_TARG0 0xFFCAB024 /* SWU1 Target Register n */
-#define REG_SWU1_TARG1 0xFFCAB044 /* SWU1 Target Register n */
-#define REG_SWU1_TARG2 0xFFCAB064 /* SWU1 Target Register n */
-#define REG_SWU1_TARG3 0xFFCAB084 /* SWU1 Target Register n */
-#define REG_SWU1_HIST0 0xFFCAB028 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST1 0xFFCAB048 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST2 0xFFCAB068 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST3 0xFFCAB088 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_CUR0 0xFFCAB02C /* SWU1 Current Register n */
-#define REG_SWU1_CUR1 0xFFCAB04C /* SWU1 Current Register n */
-#define REG_SWU1_CUR2 0xFFCAB06C /* SWU1 Current Register n */
-#define REG_SWU1_CUR3 0xFFCAB08C /* SWU1 Current Register n */
-
-/* =========================
- SWU2
- ========================= */
-#define REG_SWU2_GCTL 0xFFCAC000 /* SWU2 Global Control Register */
-#define REG_SWU2_GSTAT 0xFFCAC004 /* SWU2 Global Status Register */
-#define REG_SWU2_CTL0 0xFFCAC010 /* SWU2 Control Register n */
-#define REG_SWU2_CTL1 0xFFCAC030 /* SWU2 Control Register n */
-#define REG_SWU2_CTL2 0xFFCAC050 /* SWU2 Control Register n */
-#define REG_SWU2_CTL3 0xFFCAC070 /* SWU2 Control Register n */
-#define REG_SWU2_LA0 0xFFCAC014 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA1 0xFFCAC034 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA2 0xFFCAC054 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA3 0xFFCAC074 /* SWU2 Lower Address Register n */
-#define REG_SWU2_UA0 0xFFCAC018 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA1 0xFFCAC038 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA2 0xFFCAC058 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA3 0xFFCAC078 /* SWU2 Upper Address Register n */
-#define REG_SWU2_ID0 0xFFCAC01C /* SWU2 ID Register n */
-#define REG_SWU2_ID1 0xFFCAC03C /* SWU2 ID Register n */
-#define REG_SWU2_ID2 0xFFCAC05C /* SWU2 ID Register n */
-#define REG_SWU2_ID3 0xFFCAC07C /* SWU2 ID Register n */
-#define REG_SWU2_CNT0 0xFFCAC020 /* SWU2 Count Register n */
-#define REG_SWU2_CNT1 0xFFCAC040 /* SWU2 Count Register n */
-#define REG_SWU2_CNT2 0xFFCAC060 /* SWU2 Count Register n */
-#define REG_SWU2_CNT3 0xFFCAC080 /* SWU2 Count Register n */
-#define REG_SWU2_TARG0 0xFFCAC024 /* SWU2 Target Register n */
-#define REG_SWU2_TARG1 0xFFCAC044 /* SWU2 Target Register n */
-#define REG_SWU2_TARG2 0xFFCAC064 /* SWU2 Target Register n */
-#define REG_SWU2_TARG3 0xFFCAC084 /* SWU2 Target Register n */
-#define REG_SWU2_HIST0 0xFFCAC028 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST1 0xFFCAC048 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST2 0xFFCAC068 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST3 0xFFCAC088 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_CUR0 0xFFCAC02C /* SWU2 Current Register n */
-#define REG_SWU2_CUR1 0xFFCAC04C /* SWU2 Current Register n */
-#define REG_SWU2_CUR2 0xFFCAC06C /* SWU2 Current Register n */
-#define REG_SWU2_CUR3 0xFFCAC08C /* SWU2 Current Register n */
-
-/* =========================
- SWU3
- ========================= */
-#define REG_SWU3_GCTL 0xFFCAD000 /* SWU3 Global Control Register */
-#define REG_SWU3_GSTAT 0xFFCAD004 /* SWU3 Global Status Register */
-#define REG_SWU3_CTL0 0xFFCAD010 /* SWU3 Control Register n */
-#define REG_SWU3_CTL1 0xFFCAD030 /* SWU3 Control Register n */
-#define REG_SWU3_CTL2 0xFFCAD050 /* SWU3 Control Register n */
-#define REG_SWU3_CTL3 0xFFCAD070 /* SWU3 Control Register n */
-#define REG_SWU3_LA0 0xFFCAD014 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA1 0xFFCAD034 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA2 0xFFCAD054 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA3 0xFFCAD074 /* SWU3 Lower Address Register n */
-#define REG_SWU3_UA0 0xFFCAD018 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA1 0xFFCAD038 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA2 0xFFCAD058 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA3 0xFFCAD078 /* SWU3 Upper Address Register n */
-#define REG_SWU3_ID0 0xFFCAD01C /* SWU3 ID Register n */
-#define REG_SWU3_ID1 0xFFCAD03C /* SWU3 ID Register n */
-#define REG_SWU3_ID2 0xFFCAD05C /* SWU3 ID Register n */
-#define REG_SWU3_ID3 0xFFCAD07C /* SWU3 ID Register n */
-#define REG_SWU3_CNT0 0xFFCAD020 /* SWU3 Count Register n */
-#define REG_SWU3_CNT1 0xFFCAD040 /* SWU3 Count Register n */
-#define REG_SWU3_CNT2 0xFFCAD060 /* SWU3 Count Register n */
-#define REG_SWU3_CNT3 0xFFCAD080 /* SWU3 Count Register n */
-#define REG_SWU3_TARG0 0xFFCAD024 /* SWU3 Target Register n */
-#define REG_SWU3_TARG1 0xFFCAD044 /* SWU3 Target Register n */
-#define REG_SWU3_TARG2 0xFFCAD064 /* SWU3 Target Register n */
-#define REG_SWU3_TARG3 0xFFCAD084 /* SWU3 Target Register n */
-#define REG_SWU3_HIST0 0xFFCAD028 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST1 0xFFCAD048 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST2 0xFFCAD068 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST3 0xFFCAD088 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_CUR0 0xFFCAD02C /* SWU3 Current Register n */
-#define REG_SWU3_CUR1 0xFFCAD04C /* SWU3 Current Register n */
-#define REG_SWU3_CUR2 0xFFCAD06C /* SWU3 Current Register n */
-#define REG_SWU3_CUR3 0xFFCAD08C /* SWU3 Current Register n */
-
-/* =========================
- SWU4
- ========================= */
-#define REG_SWU4_GCTL 0xFFCAE000 /* SWU4 Global Control Register */
-#define REG_SWU4_GSTAT 0xFFCAE004 /* SWU4 Global Status Register */
-#define REG_SWU4_CTL0 0xFFCAE010 /* SWU4 Control Register n */
-#define REG_SWU4_CTL1 0xFFCAE030 /* SWU4 Control Register n */
-#define REG_SWU4_CTL2 0xFFCAE050 /* SWU4 Control Register n */
-#define REG_SWU4_CTL3 0xFFCAE070 /* SWU4 Control Register n */
-#define REG_SWU4_LA0 0xFFCAE014 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA1 0xFFCAE034 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA2 0xFFCAE054 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA3 0xFFCAE074 /* SWU4 Lower Address Register n */
-#define REG_SWU4_UA0 0xFFCAE018 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA1 0xFFCAE038 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA2 0xFFCAE058 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA3 0xFFCAE078 /* SWU4 Upper Address Register n */
-#define REG_SWU4_ID0 0xFFCAE01C /* SWU4 ID Register n */
-#define REG_SWU4_ID1 0xFFCAE03C /* SWU4 ID Register n */
-#define REG_SWU4_ID2 0xFFCAE05C /* SWU4 ID Register n */
-#define REG_SWU4_ID3 0xFFCAE07C /* SWU4 ID Register n */
-#define REG_SWU4_CNT0 0xFFCAE020 /* SWU4 Count Register n */
-#define REG_SWU4_CNT1 0xFFCAE040 /* SWU4 Count Register n */
-#define REG_SWU4_CNT2 0xFFCAE060 /* SWU4 Count Register n */
-#define REG_SWU4_CNT3 0xFFCAE080 /* SWU4 Count Register n */
-#define REG_SWU4_TARG0 0xFFCAE024 /* SWU4 Target Register n */
-#define REG_SWU4_TARG1 0xFFCAE044 /* SWU4 Target Register n */
-#define REG_SWU4_TARG2 0xFFCAE064 /* SWU4 Target Register n */
-#define REG_SWU4_TARG3 0xFFCAE084 /* SWU4 Target Register n */
-#define REG_SWU4_HIST0 0xFFCAE028 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST1 0xFFCAE048 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST2 0xFFCAE068 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST3 0xFFCAE088 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_CUR0 0xFFCAE02C /* SWU4 Current Register n */
-#define REG_SWU4_CUR1 0xFFCAE04C /* SWU4 Current Register n */
-#define REG_SWU4_CUR2 0xFFCAE06C /* SWU4 Current Register n */
-#define REG_SWU4_CUR3 0xFFCAE08C /* SWU4 Current Register n */
-
-/* =========================
- SWU5
- ========================= */
-#define REG_SWU5_GCTL 0xFFCAF000 /* SWU5 Global Control Register */
-#define REG_SWU5_GSTAT 0xFFCAF004 /* SWU5 Global Status Register */
-#define REG_SWU5_CTL0 0xFFCAF010 /* SWU5 Control Register n */
-#define REG_SWU5_CTL1 0xFFCAF030 /* SWU5 Control Register n */
-#define REG_SWU5_CTL2 0xFFCAF050 /* SWU5 Control Register n */
-#define REG_SWU5_CTL3 0xFFCAF070 /* SWU5 Control Register n */
-#define REG_SWU5_LA0 0xFFCAF014 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA1 0xFFCAF034 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA2 0xFFCAF054 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA3 0xFFCAF074 /* SWU5 Lower Address Register n */
-#define REG_SWU5_UA0 0xFFCAF018 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA1 0xFFCAF038 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA2 0xFFCAF058 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA3 0xFFCAF078 /* SWU5 Upper Address Register n */
-#define REG_SWU5_ID0 0xFFCAF01C /* SWU5 ID Register n */
-#define REG_SWU5_ID1 0xFFCAF03C /* SWU5 ID Register n */
-#define REG_SWU5_ID2 0xFFCAF05C /* SWU5 ID Register n */
-#define REG_SWU5_ID3 0xFFCAF07C /* SWU5 ID Register n */
-#define REG_SWU5_CNT0 0xFFCAF020 /* SWU5 Count Register n */
-#define REG_SWU5_CNT1 0xFFCAF040 /* SWU5 Count Register n */
-#define REG_SWU5_CNT2 0xFFCAF060 /* SWU5 Count Register n */
-#define REG_SWU5_CNT3 0xFFCAF080 /* SWU5 Count Register n */
-#define REG_SWU5_TARG0 0xFFCAF024 /* SWU5 Target Register n */
-#define REG_SWU5_TARG1 0xFFCAF044 /* SWU5 Target Register n */
-#define REG_SWU5_TARG2 0xFFCAF064 /* SWU5 Target Register n */
-#define REG_SWU5_TARG3 0xFFCAF084 /* SWU5 Target Register n */
-#define REG_SWU5_HIST0 0xFFCAF028 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST1 0xFFCAF048 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST2 0xFFCAF068 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST3 0xFFCAF088 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_CUR0 0xFFCAF02C /* SWU5 Current Register n */
-#define REG_SWU5_CUR1 0xFFCAF04C /* SWU5 Current Register n */
-#define REG_SWU5_CUR2 0xFFCAF06C /* SWU5 Current Register n */
-#define REG_SWU5_CUR3 0xFFCAF08C /* SWU5 Current Register n */
-
-/* =========================
- SWU6
- ========================= */
-#define REG_SWU6_GCTL 0xFFC82000 /* SWU6 Global Control Register */
-#define REG_SWU6_GSTAT 0xFFC82004 /* SWU6 Global Status Register */
-#define REG_SWU6_CTL0 0xFFC82010 /* SWU6 Control Register n */
-#define REG_SWU6_CTL1 0xFFC82030 /* SWU6 Control Register n */
-#define REG_SWU6_CTL2 0xFFC82050 /* SWU6 Control Register n */
-#define REG_SWU6_CTL3 0xFFC82070 /* SWU6 Control Register n */
-#define REG_SWU6_LA0 0xFFC82014 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA1 0xFFC82034 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA2 0xFFC82054 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA3 0xFFC82074 /* SWU6 Lower Address Register n */
-#define REG_SWU6_UA0 0xFFC82018 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA1 0xFFC82038 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA2 0xFFC82058 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA3 0xFFC82078 /* SWU6 Upper Address Register n */
-#define REG_SWU6_ID0 0xFFC8201C /* SWU6 ID Register n */
-#define REG_SWU6_ID1 0xFFC8203C /* SWU6 ID Register n */
-#define REG_SWU6_ID2 0xFFC8205C /* SWU6 ID Register n */
-#define REG_SWU6_ID3 0xFFC8207C /* SWU6 ID Register n */
-#define REG_SWU6_CNT0 0xFFC82020 /* SWU6 Count Register n */
-#define REG_SWU6_CNT1 0xFFC82040 /* SWU6 Count Register n */
-#define REG_SWU6_CNT2 0xFFC82060 /* SWU6 Count Register n */
-#define REG_SWU6_CNT3 0xFFC82080 /* SWU6 Count Register n */
-#define REG_SWU6_TARG0 0xFFC82024 /* SWU6 Target Register n */
-#define REG_SWU6_TARG1 0xFFC82044 /* SWU6 Target Register n */
-#define REG_SWU6_TARG2 0xFFC82064 /* SWU6 Target Register n */
-#define REG_SWU6_TARG3 0xFFC82084 /* SWU6 Target Register n */
-#define REG_SWU6_HIST0 0xFFC82028 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST1 0xFFC82048 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST2 0xFFC82068 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST3 0xFFC82088 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_CUR0 0xFFC8202C /* SWU6 Current Register n */
-#define REG_SWU6_CUR1 0xFFC8204C /* SWU6 Current Register n */
-#define REG_SWU6_CUR2 0xFFC8206C /* SWU6 Current Register n */
-#define REG_SWU6_CUR3 0xFFC8208C /* SWU6 Current Register n */
-
-/* =========================
- SWU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GCTL_RST 1 /* Global Reset */
-#define BITP_SWU_GCTL_EN 0 /* Global Enable */
-#define BITM_SWU_GCTL_RST (_ADI_MSK(0x00000002,uint32_t)) /* Global Reset */
-#define BITM_SWU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Global Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GSTAT_ADDRERR 30 /* Address Error Status */
-#define BITP_SWU_GSTAT_OVRBW3 15 /* Group 3 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW3 14 /* Group 3 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW2 13 /* Group 2 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW2 12 /* Group 2 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW1 11 /* Group 1 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW1 10 /* Group 1 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW0 9 /* Group 0 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW0 8 /* Group 0 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_INT3 7 /* Group 3 Interrupt Status */
-#define BITP_SWU_GSTAT_INT2 6 /* Group 2 Interrupt Status */
-#define BITP_SWU_GSTAT_INT1 5 /* Group 1 Interrupt Status */
-#define BITP_SWU_GSTAT_INT0 4 /* Group 0 Interrupt Status */
-#define BITP_SWU_GSTAT_MTCH3 3 /* Group 3 Match */
-#define BITP_SWU_GSTAT_MTCH2 2 /* Group 2 Match */
-#define BITP_SWU_GSTAT_MTCH1 1 /* Group 1 Match */
-#define BITP_SWU_GSTAT_MTCH0 0 /* Group 0 Match */
-#define BITM_SWU_GSTAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error Status */
-#define BITM_SWU_GSTAT_OVRBW3 (_ADI_MSK(0x00008000,uint32_t)) /* Group 3 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW3 (_ADI_MSK(0x00004000,uint32_t)) /* Group 3 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW2 (_ADI_MSK(0x00002000,uint32_t)) /* Group 2 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW2 (_ADI_MSK(0x00001000,uint32_t)) /* Group 2 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW1 (_ADI_MSK(0x00000800,uint32_t)) /* Group 1 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW1 (_ADI_MSK(0x00000400,uint32_t)) /* Group 1 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW0 (_ADI_MSK(0x00000200,uint32_t)) /* Group 0 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW0 (_ADI_MSK(0x00000100,uint32_t)) /* Group 0 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_INT3 (_ADI_MSK(0x00000080,uint32_t)) /* Group 3 Interrupt Status */
-#define BITM_SWU_GSTAT_INT2 (_ADI_MSK(0x00000040,uint32_t)) /* Group 2 Interrupt Status */
-#define BITM_SWU_GSTAT_INT1 (_ADI_MSK(0x00000020,uint32_t)) /* Group 1 Interrupt Status */
-#define BITM_SWU_GSTAT_INT0 (_ADI_MSK(0x00000010,uint32_t)) /* Group 0 Interrupt Status */
-#define BITM_SWU_GSTAT_MTCH3 (_ADI_MSK(0x00000008,uint32_t)) /* Group 3 Match */
-#define BITM_SWU_GSTAT_MTCH2 (_ADI_MSK(0x00000004,uint32_t)) /* Group 2 Match */
-#define BITM_SWU_GSTAT_MTCH1 (_ADI_MSK(0x00000002,uint32_t)) /* Group 1 Match */
-#define BITM_SWU_GSTAT_MTCH0 (_ADI_MSK(0x00000001,uint32_t)) /* Group 0 Match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CTL_MAXACT 19 /* Action for Bandwidth Above Maximum */
-#define BITP_SWU_CTL_MINACT 18 /* Action for Bandwidth Below Minimum */
-#define BITP_SWU_CTL_BLENINC 17 /* Increment Bandwidth Count by Burst Length */
-#define BITP_SWU_CTL_BWEN 16 /* Bandwidth Mode Enable */
-#define BITP_SWU_CTL_TMEN 15 /* Trace Message Enable */
-#define BITP_SWU_CTL_TRGEN 14 /* Trigger Enable */
-#define BITP_SWU_CTL_INTEN 13 /* Interrupt Enable */
-#define BITP_SWU_CTL_DBGEN 12 /* Debug Event Enable */
-#define BITP_SWU_CTL_CNTRPTEN 9 /* Count Repeat Enable */
-#define BITP_SWU_CTL_CNTEN 8 /* Count Enable */
-#define BITP_SWU_CTL_LCMPEN 6 /* Locked Comparison Enable */
-#define BITP_SWU_CTL_SCMPEN 5 /* Secure Comparison Enable */
-#define BITP_SWU_CTL_IDCMPEN 4 /* ID Comparison Enable */
-#define BITP_SWU_CTL_ACMPM 2 /* Address Comparison Mode */
-#define BITP_SWU_CTL_DIR 1 /* Transaction Direction for Match */
-#define BITP_SWU_CTL_EN 0 /* Enable Watchpoint */
-#define BITM_SWU_CTL_MAXACT (_ADI_MSK(0x00080000,uint32_t)) /* Action for Bandwidth Above Maximum */
-#define BITM_SWU_CTL_MINACT (_ADI_MSK(0x00040000,uint32_t)) /* Action for Bandwidth Below Minimum */
-#define BITM_SWU_CTL_BLENINC (_ADI_MSK(0x00020000,uint32_t)) /* Increment Bandwidth Count by Burst Length */
-#define BITM_SWU_CTL_BWEN (_ADI_MSK(0x00010000,uint32_t)) /* Bandwidth Mode Enable */
-#define BITM_SWU_CTL_TMEN (_ADI_MSK(0x00008000,uint32_t)) /* Trace Message Enable */
-#define BITM_SWU_CTL_TRGEN (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Enable */
-#define BITM_SWU_CTL_INTEN (_ADI_MSK(0x00002000,uint32_t)) /* Interrupt Enable */
-#define BITM_SWU_CTL_DBGEN (_ADI_MSK(0x00001000,uint32_t)) /* Debug Event Enable */
-#define BITM_SWU_CTL_CNTRPTEN (_ADI_MSK(0x00000200,uint32_t)) /* Count Repeat Enable */
-#define BITM_SWU_CTL_CNTEN (_ADI_MSK(0x00000100,uint32_t)) /* Count Enable */
-#define BITM_SWU_CTL_LCMPEN (_ADI_MSK(0x00000040,uint32_t)) /* Locked Comparison Enable */
-#define BITM_SWU_CTL_SCMPEN (_ADI_MSK(0x00000020,uint32_t)) /* Secure Comparison Enable */
-#define BITM_SWU_CTL_IDCMPEN (_ADI_MSK(0x00000010,uint32_t)) /* ID Comparison Enable */
-#define BITM_SWU_CTL_ACMPM (_ADI_MSK(0x0000000C,uint32_t)) /* Address Comparison Mode */
-#define BITM_SWU_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* Transaction Direction for Match */
-#define BITM_SWU_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable Watchpoint */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_ID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_ID_IDMASK 16 /* Identity Mask (for Or with ID) */
-#define BITP_SWU_ID_ID 0 /* Identity */
-#define BITM_SWU_ID_IDMASK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Identity Mask (for Or with ID) */
-#define BITM_SWU_ID_ID (_ADI_MSK(0x0000FFFF,uint32_t)) /* Identity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CNT_COUNT 0 /* Count */
-#define BITM_SWU_CNT_COUNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_TARG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_TARG_BWMAX 16 /* Maximum Bandwidth Target */
-#define BITP_SWU_TARG_BWMIN 0 /* Minimum Bandwidth Target */
-#define BITM_SWU_TARG_BWMAX (_ADI_MSK(0xFFFF0000,uint32_t)) /* Maximum Bandwidth Target */
-#define BITM_SWU_TARG_BWMIN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Minimum Bandwidth Target */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_HIST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_HIST_BWHIST1 16 /* Bandwidth from Window Before Last */
-#define BITP_SWU_HIST_BWHIST0 0 /* Bandwidth from Last Window */
-#define BITM_SWU_HIST_BWHIST1 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Bandwidth from Window Before Last */
-#define BITM_SWU_HIST_BWHIST0 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth from Last Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CUR_CURBW 16 /* Current Bandwidth */
-#define BITP_SWU_CUR_CURCNT 0 /* Current Count */
-#define BITM_SWU_CUR_CURBW (_ADI_MSK(0xFFFF0000,uint32_t)) /* Current Bandwidth */
-#define BITM_SWU_CUR_CURCNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Current Count */
-
-/* ==================================================
- System Debug Unit Registers
- ================================================== */
-
-/* =========================
- SDU0
- ========================= */
-#define REG_SDU0_IDCODE 0xFFC1F020 /* SDU0 ID Code Register */
-#define REG_SDU0_CTL 0xFFC1F050 /* SDU0 Control Register */
-#define REG_SDU0_STAT 0xFFC1F054 /* SDU0 Status Register */
-#define REG_SDU0_MACCTL 0xFFC1F058 /* SDU0 Memory Access Control Register */
-#define REG_SDU0_MACADDR 0xFFC1F05C /* SDU0 Memory Access Address Register */
-#define REG_SDU0_MACDATA 0xFFC1F060 /* SDU0 Memory Access Data Register */
-#define REG_SDU0_DMARD 0xFFC1F064 /* SDU0 DMA Read Data Register */
-#define REG_SDU0_DMAWD 0xFFC1F068 /* SDU0 DMA Write Data Register */
-#define REG_SDU0_MSG 0xFFC1F080 /* SDU0 Message Register */
-#define REG_SDU0_MSG_SET 0xFFC1F084 /* SDU0 Message Set Register */
-#define REG_SDU0_MSG_CLR 0xFFC1F088 /* SDU0 Message Clear Register */
-#define REG_SDU0_GHLT 0xFFC1F08C /* SDU0 Group Halt Register */
-
-/* =========================
- SDU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_IDCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_IDCODE_REVID 28 /* Revision ID */
-#define BITP_SDU_IDCODE_PRID 12 /* Product ID */
-#define BITP_SDU_IDCODE_MFID 1 /* Manufacturer ID */
-#define BITM_SDU_IDCODE_REVID (_ADI_MSK(0xF0000000,uint32_t)) /* Revision ID */
-#define BITM_SDU_IDCODE_PRID (_ADI_MSK(0x0FFFF000,uint32_t)) /* Product ID */
-#define BITM_SDU_IDCODE_MFID (_ADI_MSK(0x00000FFE,uint32_t)) /* Manufacturer ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_CTL_EHLT 8 /* Emulator Halt Select */
-#define BITP_SDU_CTL_EMEEN 4 /* Emulation Event Enable */
-#define BITP_SDU_CTL_DMAEN 2 /* DMA Enable */
-#define BITP_SDU_CTL_CSPEN 1 /* Core Scan Path Enable */
-#define BITP_SDU_CTL_SYSRST 0 /* System Reset */
-#define BITM_SDU_CTL_EHLT (_ADI_MSK(0x0000FF00,uint32_t)) /* Emulator Halt Select */
-#define BITM_SDU_CTL_EMEEN (_ADI_MSK(0x00000010,uint32_t)) /* Emulation Event Enable */
-#define BITM_SDU_CTL_DMAEN (_ADI_MSK(0x00000004,uint32_t)) /* DMA Enable */
-#define BITM_SDU_CTL_CSPEN (_ADI_MSK(0x00000002,uint32_t)) /* Core Scan Path Enable */
-#define BITM_SDU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_STAT_CRST 22 /* Core Reset */
-#define BITP_SDU_STAT_CHLT 21 /* Core Halt */
-#define BITP_SDU_STAT_EME 20 /* Emulation Event */
-#define BITP_SDU_STAT_GHLTC 17 /* Group Halt Cause */
-#define BITP_SDU_STAT_GHLT 16 /* Group Halt */
-#define BITP_SDU_STAT_DMAFIFO 12 /* DMA FIFO */
-#define BITP_SDU_STAT_ADDRERR 11 /* Address Error */
-#define BITP_SDU_STAT_DMAWDRDY 10 /* DMAWD Ready */
-#define BITP_SDU_STAT_DMARDRDY 9 /* DMARD Ready */
-#define BITP_SDU_STAT_MACRDY 8 /* MAC Ready */
-#define BITP_SDU_STAT_ERRC 4 /* Error Cause */
-#define BITP_SDU_STAT_SECURE 3 /* Secure Mode */
-#define BITP_SDU_STAT_DEEPSLEEP 2 /* Deep Sleep Mode */
-#define BITP_SDU_STAT_ERR 1 /* Error */
-#define BITP_SDU_STAT_SYSRST 0 /* System Reset */
-#define BITM_SDU_STAT_CRST (_ADI_MSK(0x00400000,uint32_t)) /* Core Reset */
-#define BITM_SDU_STAT_CHLT (_ADI_MSK(0x00200000,uint32_t)) /* Core Halt */
-#define BITM_SDU_STAT_EME (_ADI_MSK(0x00100000,uint32_t)) /* Emulation Event */
-#define BITM_SDU_STAT_GHLTC (_ADI_MSK(0x000E0000,uint32_t)) /* Group Halt Cause */
-#define BITM_SDU_STAT_GHLT (_ADI_MSK(0x00010000,uint32_t)) /* Group Halt */
-#define BITM_SDU_STAT_DMAFIFO (_ADI_MSK(0x00007000,uint32_t)) /* DMA FIFO */
-#define BITM_SDU_STAT_ADDRERR (_ADI_MSK(0x00000800,uint32_t)) /* Address Error */
-#define BITM_SDU_STAT_DMAWDRDY (_ADI_MSK(0x00000400,uint32_t)) /* DMAWD Ready */
-#define BITM_SDU_STAT_DMARDRDY (_ADI_MSK(0x00000200,uint32_t)) /* DMARD Ready */
-#define BITM_SDU_STAT_MACRDY (_ADI_MSK(0x00000100,uint32_t)) /* MAC Ready */
-#define BITM_SDU_STAT_ERRC (_ADI_MSK(0x000000F0,uint32_t)) /* Error Cause */
-#define BITM_SDU_STAT_SECURE (_ADI_MSK(0x00000008,uint32_t)) /* Secure Mode */
-#define BITM_SDU_STAT_DEEPSLEEP (_ADI_MSK(0x00000004,uint32_t)) /* Deep Sleep Mode */
-#define BITM_SDU_STAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define BITM_SDU_STAT_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MACCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MACCTL_AUTOINC 4 /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITP_SDU_MACCTL_RNW 3 /* Read Not Write */
-#define BITP_SDU_MACCTL_SIZE 0 /* Transfer Data Size */
-#define BITM_SDU_MACCTL_AUTOINC (_ADI_MSK(0x00000010,uint32_t)) /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITM_SDU_MACCTL_RNW (_ADI_MSK(0x00000008,uint32_t)) /* Read Not Write */
-#define BITM_SDU_MACCTL_SIZE (_ADI_MSK(0x00000007,uint32_t)) /* Transfer Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MSG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MSG_CALLERR 31 /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITP_SDU_MSG_CALLBACK 30 /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITP_SDU_MSG_CALLINIT 29 /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITP_SDU_MSG_CALLAPP 28 /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITP_SDU_MSG_HALTONERR 27 /* Generate an Emulation Exception Prior to an Error Call */
-#define BITP_SDU_MSG_HALTONCALL 26 /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITP_SDU_MSG_HALTONINIT 25 /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITP_SDU_MSG_HALTONAPP 24 /* Generate an Emulation Exception Prior to an Application Call */
-#define BITP_SDU_MSG_L3INIT 23 /* Indicates that the L3 Resource is Initialized */
-#define BITP_SDU_MSG_L2INIT 22 /* Indicates that the L2 Resource is Initialized */
-#define BITP_SDU_MSG_C1L1INIT 17 /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITP_SDU_MSG_C0L1INIT 16 /* Indicates that the Core 0 L1 Resource is Initialized */
-#define BITM_SDU_MSG_CALLERR (_ADI_MSK(0x80000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITM_SDU_MSG_CALLBACK (_ADI_MSK(0x40000000,uint32_t)) /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITM_SDU_MSG_CALLINIT (_ADI_MSK(0x20000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITM_SDU_MSG_CALLAPP (_ADI_MSK(0x10000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITM_SDU_MSG_HALTONERR (_ADI_MSK(0x08000000,uint32_t)) /* Generate an Emulation Exception Prior to an Error Call */
-#define BITM_SDU_MSG_HALTONCALL (_ADI_MSK(0x04000000,uint32_t)) /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITM_SDU_MSG_HALTONINIT (_ADI_MSK(0x02000000,uint32_t)) /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITM_SDU_MSG_HALTONAPP (_ADI_MSK(0x01000000,uint32_t)) /* Generate an Emulation Exception Prior to an Application Call */
-#define BITM_SDU_MSG_L3INIT (_ADI_MSK(0x00800000,uint32_t)) /* Indicates that the L3 Resource is Initialized */
-#define BITM_SDU_MSG_L2INIT (_ADI_MSK(0x00400000,uint32_t)) /* Indicates that the L2 Resource is Initialized */
-#define BITM_SDU_MSG_C1L1INIT (_ADI_MSK(0x00020000,uint32_t)) /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITM_SDU_MSG_C0L1INIT (_ADI_MSK(0x00010000,uint32_t)) /* Indicates that the Core 0 L1 Resource is Initialized */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_GHLT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_GHLT_SS2 18 /* Slave Select 2 */
-#define BITP_SDU_GHLT_SS1 17 /* Slave Select 1 */
-#define BITP_SDU_GHLT_SS0 16 /* Slave Select 0 */
-#define BITP_SDU_GHLT_MS2 2 /* Master Select 2 */
-#define BITP_SDU_GHLT_MS1 1 /* Master Select 1 */
-#define BITP_SDU_GHLT_MS0 0 /* Master Select 0 */
-#define BITM_SDU_GHLT_SS2 (_ADI_MSK(0x00040000,uint32_t)) /* Slave Select 2 */
-#define BITM_SDU_GHLT_SS1 (_ADI_MSK(0x00020000,uint32_t)) /* Slave Select 1 */
-#define BITM_SDU_GHLT_SS0 (_ADI_MSK(0x00010000,uint32_t)) /* Slave Select 0 */
-#define BITM_SDU_GHLT_MS2 (_ADI_MSK(0x00000004,uint32_t)) /* Master Select 2 */
-#define BITM_SDU_GHLT_MS1 (_ADI_MSK(0x00000002,uint32_t)) /* Master Select 1 */
-#define BITM_SDU_GHLT_MS0 (_ADI_MSK(0x00000001,uint32_t)) /* Master Select 0 */
-
-/* ==================================================
- Ethernet MAC Registers
- ================================================== */
-
-/* =========================
- EMAC0
- ========================= */
-#define REG_EMAC0_MACCFG 0xFFC20000 /* EMAC0 MAC Configuration Register */
-#define REG_EMAC0_MACFRMFILT 0xFFC20004 /* EMAC0 MAC Rx Frame Filter Register */
-#define REG_EMAC0_HASHTBL_HI 0xFFC20008 /* EMAC0 Hash Table High Register */
-#define REG_EMAC0_HASHTBL_LO 0xFFC2000C /* EMAC0 Hash Table Low Register */
-#define REG_EMAC0_SMI_ADDR 0xFFC20010 /* EMAC0 SMI Address Register */
-#define REG_EMAC0_SMI_DATA 0xFFC20014 /* EMAC0 SMI Data Register */
-#define REG_EMAC0_FLOWCTL 0xFFC20018 /* EMAC0 FLow Control Register */
-#define REG_EMAC0_VLANTAG 0xFFC2001C /* EMAC0 VLAN Tag Register */
-#define REG_EMAC0_DBG 0xFFC20024 /* EMAC0 Debug Register */
-#define REG_EMAC0_ISTAT 0xFFC20038 /* EMAC0 Interrupt Status Register */
-#define REG_EMAC0_IMSK 0xFFC2003C /* EMAC0 Interrupt Mask Register */
-#define REG_EMAC0_ADDR0_HI 0xFFC20040 /* EMAC0 MAC Address 0 High Register */
-#define REG_EMAC0_ADDR0_LO 0xFFC20044 /* EMAC0 MAC Address 0 Low Register */
-#define REG_EMAC0_MMC_CTL 0xFFC20100 /* EMAC0 MMC Control Register */
-#define REG_EMAC0_MMC_RXINT 0xFFC20104 /* EMAC0 MMC Rx Interrupt Register */
-#define REG_EMAC0_MMC_TXINT 0xFFC20108 /* EMAC0 MMC Tx Interrupt Register */
-#define REG_EMAC0_MMC_RXIMSK 0xFFC2010C /* EMAC0 MMC Rx Interrupt Mask Register */
-#define REG_EMAC0_MMC_TXIMSK 0xFFC20110 /* EMAC0 MMC TX Interrupt Mask Register */
-#define REG_EMAC0_TXOCTCNT_GB 0xFFC20114 /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC0_TXFRMCNT_GB 0xFFC20118 /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_G 0xFFC2011C /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC0_TXMCASTFRM_G 0xFFC20120 /* EMAC0 Tx Multicast Frames (Good) Register */
-#define REG_EMAC0_TX64_GB 0xFFC20124 /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX65TO127_GB 0xFFC20128 /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX128TO255_GB 0xFFC2012C /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX256TO511_GB 0xFFC20130 /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX512TO1023_GB 0xFFC20134 /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX1024TOMAX_GB 0xFFC20138 /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUCASTFRM_GB 0xFFC2013C /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXMCASTFRM_GB 0xFFC20140 /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_GB 0xFFC20144 /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUNDR_ERR 0xFFC20148 /* EMAC0 Tx Underflow Error Register */
-#define REG_EMAC0_TXSNGCOL_G 0xFFC2014C /* EMAC0 Tx Single Collision (Good) Register */
-#define REG_EMAC0_TXMULTCOL_G 0xFFC20150 /* EMAC0 Tx Multiple Collision (Good) Register */
-#define REG_EMAC0_TXDEFERRED 0xFFC20154 /* EMAC0 Tx Deferred Register */
-#define REG_EMAC0_TXLATECOL 0xFFC20158 /* EMAC0 Tx Late Collision Register */
-#define REG_EMAC0_TXEXCESSCOL 0xFFC2015C /* EMAC0 Tx Excess Collision Register */
-#define REG_EMAC0_TXCARR_ERR 0xFFC20160 /* EMAC0 Tx Carrier Error Register */
-#define REG_EMAC0_TXOCTCNT_G 0xFFC20164 /* EMAC0 Tx Octet Count (Good) Register */
-#define REG_EMAC0_TXFRMCNT_G 0xFFC20168 /* EMAC0 Tx Frame Count (Good) Register */
-#define REG_EMAC0_TXEXCESSDEF 0xFFC2016C /* EMAC0 Tx Excess Deferral Register */
-#define REG_EMAC0_TXPAUSEFRM 0xFFC20170 /* EMAC0 Tx Pause Frame Register */
-#define REG_EMAC0_TXVLANFRM_G 0xFFC20174 /* EMAC0 Tx VLAN Frames (Good) Register */
-#define REG_EMAC0_RXFRMCNT_GB 0xFFC20180 /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_GB 0xFFC20184 /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_G 0xFFC20188 /* EMAC0 Rx Octet Count (Good) Register */
-#define REG_EMAC0_RXBCASTFRM_G 0xFFC2018C /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC0_RXMCASTFRM_G 0xFFC20190 /* EMAC0 Rx Multicast Frames (Good) Register */
-#define REG_EMAC0_RXCRC_ERR 0xFFC20194 /* EMAC0 Rx CRC Error Register */
-#define REG_EMAC0_RXALIGN_ERR 0xFFC20198 /* EMAC0 Rx alignment Error Register */
-#define REG_EMAC0_RXRUNT_ERR 0xFFC2019C /* EMAC0 Rx Runt Error Register */
-#define REG_EMAC0_RXJAB_ERR 0xFFC201A0 /* EMAC0 Rx Jab Error Register */
-#define REG_EMAC0_RXUSIZE_G 0xFFC201A4 /* EMAC0 Rx Undersize (Good) Register */
-#define REG_EMAC0_RXOSIZE_G 0xFFC201A8 /* EMAC0 Rx Oversize (Good) Register */
-#define REG_EMAC0_RX64_GB 0xFFC201AC /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX65TO127_GB 0xFFC201B0 /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX128TO255_GB 0xFFC201B4 /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX256TO511_GB 0xFFC201B8 /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX512TO1023_GB 0xFFC201BC /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX1024TOMAX_GB 0xFFC201C0 /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RXUCASTFRM_G 0xFFC201C4 /* EMAC0 Rx Unicast Frames (Good) Register */
-#define REG_EMAC0_RXLEN_ERR 0xFFC201C8 /* EMAC0 Rx Length Error Register */
-#define REG_EMAC0_RXOORTYPE 0xFFC201CC /* EMAC0 Rx Out Of Range Type Register */
-#define REG_EMAC0_RXPAUSEFRM 0xFFC201D0 /* EMAC0 Rx Pause Frames Register */
-#define REG_EMAC0_RXFIFO_OVF 0xFFC201D4 /* EMAC0 Rx FIFO Overflow Register */
-#define REG_EMAC0_RXVLANFRM_GB 0xFFC201D8 /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC0_RXWDOG_ERR 0xFFC201DC /* EMAC0 Rx Watch Dog Error Register */
-#define REG_EMAC0_IPC_RXIMSK 0xFFC20200 /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC0_IPC_RXINT 0xFFC20208 /* EMAC0 MMC IPC Rx Interrupt Register */
-#define REG_EMAC0_RXIPV4_GD_FRM 0xFFC20210 /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_FRM 0xFFC20214 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_FRM 0xFFC20218 /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC0_RXIPV4_FRAG_FRM 0xFFC2021C /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC0_RXIPV4_UDSBL_FRM 0xFFC20220 /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC0_RXIPV6_GD_FRM 0xFFC20224 /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_FRM 0xFFC20228 /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC0_RXIPV6_NOPAY_FRM 0xFFC2022C /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC0_RXUDP_GD_FRM 0xFFC20230 /* EMAC0 Rx UDP Good Frames Register */
-#define REG_EMAC0_RXUDP_ERR_FRM 0xFFC20234 /* EMAC0 Rx UDP Error Frames Register */
-#define REG_EMAC0_RXTCP_GD_FRM 0xFFC20238 /* EMAC0 Rx TCP Good Frames Register */
-#define REG_EMAC0_RXTCP_ERR_FRM 0xFFC2023C /* EMAC0 Rx TCP Error Frames Register */
-#define REG_EMAC0_RXICMP_GD_FRM 0xFFC20240 /* EMAC0 Rx ICMP Good Frames Register */
-#define REG_EMAC0_RXICMP_ERR_FRM 0xFFC20244 /* EMAC0 Rx ICMP Error Frames Register */
-#define REG_EMAC0_RXIPV4_GD_OCT 0xFFC20250 /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_OCT 0xFFC20254 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_OCT 0xFFC20258 /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC0_RXIPV4_FRAG_OCT 0xFFC2025C /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC0_RXIPV4_UDSBL_OCT 0xFFC20260 /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC0_RXIPV6_GD_OCT 0xFFC20264 /* EMAC0 Rx IPv6 Good Octets Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_OCT 0xFFC20268 /* EMAC0 Rx IPv6 Header Errors Register */
-#define REG_EMAC0_RXIPV6_NOPAY_OCT 0xFFC2026C /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC0_RXUDP_GD_OCT 0xFFC20270 /* EMAC0 Rx UDP Good Octets Register */
-#define REG_EMAC0_RXUDP_ERR_OCT 0xFFC20274 /* EMAC0 Rx UDP Error Octets Register */
-#define REG_EMAC0_RXTCP_GD_OCT 0xFFC20278 /* EMAC0 Rx TCP Good Octets Register */
-#define REG_EMAC0_RXTCP_ERR_OCT 0xFFC2027C /* EMAC0 Rx TCP Error Octets Register */
-#define REG_EMAC0_RXICMP_GD_OCT 0xFFC20280 /* EMAC0 Rx ICMP Good Octets Register */
-#define REG_EMAC0_RXICMP_ERR_OCT 0xFFC20284 /* EMAC0 Rx ICMP Error Octets Register */
-#define REG_EMAC0_TM_CTL 0xFFC20700 /* EMAC0 Time Stamp Control Register */
-#define REG_EMAC0_TM_SUBSEC 0xFFC20704 /* EMAC0 Time Stamp Sub Second Increment Register */
-#define REG_EMAC0_TM_SEC 0xFFC20708 /* EMAC0 Time Stamp Low Seconds Register */
-#define REG_EMAC0_TM_NSEC 0xFFC2070C /* EMAC0 Time Stamp Nano Seconds Register */
-#define REG_EMAC0_TM_SECUPDT 0xFFC20710 /* EMAC0 Time Stamp Seconds Update Register */
-#define REG_EMAC0_TM_NSECUPDT 0xFFC20714 /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC0_TM_ADDEND 0xFFC20718 /* EMAC0 Time Stamp Addend Register */
-#define REG_EMAC0_TM_TGTM 0xFFC2071C /* EMAC0 Time Stamp Target Time Seconds Register */
-#define REG_EMAC0_TM_NTGTM 0xFFC20720 /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC0_TM_HISEC 0xFFC20724 /* EMAC0 Time Stamp High Second Register */
-#define REG_EMAC0_TM_STMPSTAT 0xFFC20728 /* EMAC0 Time Stamp Status Register */
-#define REG_EMAC0_TM_PPSCTL 0xFFC2072C /* EMAC0 PPS Control Register */
-#define REG_EMAC0_TM_AUXSTMP_NSEC 0xFFC20730 /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC0_TM_AUXSTMP_SEC 0xFFC20734 /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC0_TM_PPSINTVL 0xFFC20760 /* EMAC0 Time Stamp PPS Interval Register */
-#define REG_EMAC0_TM_PPSWIDTH 0xFFC20764 /* EMAC0 PPS Width Register */
-#define REG_EMAC0_DMA_BUSMODE 0xFFC21000 /* EMAC0 DMA Bus Mode Register */
-#define REG_EMAC0_DMA_TXPOLL 0xFFC21004 /* EMAC0 DMA Tx Poll Demand Register */
-#define REG_EMAC0_DMA_RXPOLL 0xFFC21008 /* EMAC0 DMA Rx Poll Demand register */
-#define REG_EMAC0_DMA_RXDSC_ADDR 0xFFC2100C /* EMAC0 DMA Rx Descriptor List Address Register */
-#define REG_EMAC0_DMA_TXDSC_ADDR 0xFFC21010 /* EMAC0 DMA Tx Descriptor List Address Register */
-#define REG_EMAC0_DMA_STAT 0xFFC21014 /* EMAC0 DMA Status Register */
-#define REG_EMAC0_DMA_OPMODE 0xFFC21018 /* EMAC0 DMA Operation Mode Register */
-#define REG_EMAC0_DMA_IEN 0xFFC2101C /* EMAC0 DMA Interrupt Enable Register */
-#define REG_EMAC0_DMA_MISS_FRM 0xFFC21020 /* EMAC0 DMA Missed Frame Register */
-#define REG_EMAC0_DMA_RXIWDOG 0xFFC21024 /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC0_DMA_BMMODE 0xFFC21028 /* EMAC0 DMA SCB Bus Mode Register */
-#define REG_EMAC0_DMA_BMSTAT 0xFFC2102C /* EMAC0 DMA SCB Status Register */
-#define REG_EMAC0_DMA_TXDSC_CUR 0xFFC21048 /* EMAC0 DMA Tx Descriptor Current Register */
-#define REG_EMAC0_DMA_RXDSC_CUR 0xFFC2104C /* EMAC0 DMA Rx Descriptor Current Register */
-#define REG_EMAC0_DMA_TXBUF_CUR 0xFFC21050 /* EMAC0 DMA Tx Buffer Current Register */
-#define REG_EMAC0_DMA_RXBUF_CUR 0xFFC21054 /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC1
- ========================= */
-#define REG_EMAC1_MACCFG 0xFFC22000 /* EMAC1 MAC Configuration Register */
-#define REG_EMAC1_MACFRMFILT 0xFFC22004 /* EMAC1 MAC Rx Frame Filter Register */
-#define REG_EMAC1_HASHTBL_HI 0xFFC22008 /* EMAC1 Hash Table High Register */
-#define REG_EMAC1_HASHTBL_LO 0xFFC2200C /* EMAC1 Hash Table Low Register */
-#define REG_EMAC1_SMI_ADDR 0xFFC22010 /* EMAC1 SMI Address Register */
-#define REG_EMAC1_SMI_DATA 0xFFC22014 /* EMAC1 SMI Data Register */
-#define REG_EMAC1_FLOWCTL 0xFFC22018 /* EMAC1 FLow Control Register */
-#define REG_EMAC1_VLANTAG 0xFFC2201C /* EMAC1 VLAN Tag Register */
-#define REG_EMAC1_DBG 0xFFC22024 /* EMAC1 Debug Register */
-#define REG_EMAC1_ISTAT 0xFFC22038 /* EMAC1 Interrupt Status Register */
-#define REG_EMAC1_IMSK 0xFFC2203C /* EMAC1 Interrupt Mask Register */
-#define REG_EMAC1_ADDR0_HI 0xFFC22040 /* EMAC1 MAC Address 0 High Register */
-#define REG_EMAC1_ADDR0_LO 0xFFC22044 /* EMAC1 MAC Address 0 Low Register */
-#define REG_EMAC1_MMC_CTL 0xFFC22100 /* EMAC1 MMC Control Register */
-#define REG_EMAC1_MMC_RXINT 0xFFC22104 /* EMAC1 MMC Rx Interrupt Register */
-#define REG_EMAC1_MMC_TXINT 0xFFC22108 /* EMAC1 MMC Tx Interrupt Register */
-#define REG_EMAC1_MMC_RXIMSK 0xFFC2210C /* EMAC1 MMC Rx Interrupt Mask Register */
-#define REG_EMAC1_MMC_TXIMSK 0xFFC22110 /* EMAC1 MMC TX Interrupt Mask Register */
-#define REG_EMAC1_TXOCTCNT_GB 0xFFC22114 /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC1_TXFRMCNT_GB 0xFFC22118 /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_G 0xFFC2211C /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC1_TXMCASTFRM_G 0xFFC22120 /* EMAC1 Tx Multicast Frames (Good) Register */
-#define REG_EMAC1_TX64_GB 0xFFC22124 /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX65TO127_GB 0xFFC22128 /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX128TO255_GB 0xFFC2212C /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX256TO511_GB 0xFFC22130 /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX512TO1023_GB 0xFFC22134 /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX1024TOMAX_GB 0xFFC22138 /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUCASTFRM_GB 0xFFC2213C /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXMCASTFRM_GB 0xFFC22140 /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_GB 0xFFC22144 /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUNDR_ERR 0xFFC22148 /* EMAC1 Tx Underflow Error Register */
-#define REG_EMAC1_TXSNGCOL_G 0xFFC2214C /* EMAC1 Tx Single Collision (Good) Register */
-#define REG_EMAC1_TXMULTCOL_G 0xFFC22150 /* EMAC1 Tx Multiple Collision (Good) Register */
-#define REG_EMAC1_TXDEFERRED 0xFFC22154 /* EMAC1 Tx Deferred Register */
-#define REG_EMAC1_TXLATECOL 0xFFC22158 /* EMAC1 Tx Late Collision Register */
-#define REG_EMAC1_TXEXCESSCOL 0xFFC2215C /* EMAC1 Tx Excess Collision Register */
-#define REG_EMAC1_TXCARR_ERR 0xFFC22160 /* EMAC1 Tx Carrier Error Register */
-#define REG_EMAC1_TXOCTCNT_G 0xFFC22164 /* EMAC1 Tx Octet Count (Good) Register */
-#define REG_EMAC1_TXFRMCNT_G 0xFFC22168 /* EMAC1 Tx Frame Count (Good) Register */
-#define REG_EMAC1_TXEXCESSDEF 0xFFC2216C /* EMAC1 Tx Excess Deferral Register */
-#define REG_EMAC1_TXPAUSEFRM 0xFFC22170 /* EMAC1 Tx Pause Frame Register */
-#define REG_EMAC1_TXVLANFRM_G 0xFFC22174 /* EMAC1 Tx VLAN Frames (Good) Register */
-#define REG_EMAC1_RXFRMCNT_GB 0xFFC22180 /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_GB 0xFFC22184 /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_G 0xFFC22188 /* EMAC1 Rx Octet Count (Good) Register */
-#define REG_EMAC1_RXBCASTFRM_G 0xFFC2218C /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC1_RXMCASTFRM_G 0xFFC22190 /* EMAC1 Rx Multicast Frames (Good) Register */
-#define REG_EMAC1_RXCRC_ERR 0xFFC22194 /* EMAC1 Rx CRC Error Register */
-#define REG_EMAC1_RXALIGN_ERR 0xFFC22198 /* EMAC1 Rx alignment Error Register */
-#define REG_EMAC1_RXRUNT_ERR 0xFFC2219C /* EMAC1 Rx Runt Error Register */
-#define REG_EMAC1_RXJAB_ERR 0xFFC221A0 /* EMAC1 Rx Jab Error Register */
-#define REG_EMAC1_RXUSIZE_G 0xFFC221A4 /* EMAC1 Rx Undersize (Good) Register */
-#define REG_EMAC1_RXOSIZE_G 0xFFC221A8 /* EMAC1 Rx Oversize (Good) Register */
-#define REG_EMAC1_RX64_GB 0xFFC221AC /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX65TO127_GB 0xFFC221B0 /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX128TO255_GB 0xFFC221B4 /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX256TO511_GB 0xFFC221B8 /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX512TO1023_GB 0xFFC221BC /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX1024TOMAX_GB 0xFFC221C0 /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RXUCASTFRM_G 0xFFC221C4 /* EMAC1 Rx Unicast Frames (Good) Register */
-#define REG_EMAC1_RXLEN_ERR 0xFFC221C8 /* EMAC1 Rx Length Error Register */
-#define REG_EMAC1_RXOORTYPE 0xFFC221CC /* EMAC1 Rx Out Of Range Type Register */
-#define REG_EMAC1_RXPAUSEFRM 0xFFC221D0 /* EMAC1 Rx Pause Frames Register */
-#define REG_EMAC1_RXFIFO_OVF 0xFFC221D4 /* EMAC1 Rx FIFO Overflow Register */
-#define REG_EMAC1_RXVLANFRM_GB 0xFFC221D8 /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC1_RXWDOG_ERR 0xFFC221DC /* EMAC1 Rx Watch Dog Error Register */
-#define REG_EMAC1_IPC_RXIMSK 0xFFC22200 /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC1_IPC_RXINT 0xFFC22208 /* EMAC1 MMC IPC Rx Interrupt Register */
-#define REG_EMAC1_RXIPV4_GD_FRM 0xFFC22210 /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_FRM 0xFFC22214 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_FRM 0xFFC22218 /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC1_RXIPV4_FRAG_FRM 0xFFC2221C /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC1_RXIPV4_UDSBL_FRM 0xFFC22220 /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC1_RXIPV6_GD_FRM 0xFFC22224 /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_FRM 0xFFC22228 /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC1_RXIPV6_NOPAY_FRM 0xFFC2222C /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC1_RXUDP_GD_FRM 0xFFC22230 /* EMAC1 Rx UDP Good Frames Register */
-#define REG_EMAC1_RXUDP_ERR_FRM 0xFFC22234 /* EMAC1 Rx UDP Error Frames Register */
-#define REG_EMAC1_RXTCP_GD_FRM 0xFFC22238 /* EMAC1 Rx TCP Good Frames Register */
-#define REG_EMAC1_RXTCP_ERR_FRM 0xFFC2223C /* EMAC1 Rx TCP Error Frames Register */
-#define REG_EMAC1_RXICMP_GD_FRM 0xFFC22240 /* EMAC1 Rx ICMP Good Frames Register */
-#define REG_EMAC1_RXICMP_ERR_FRM 0xFFC22244 /* EMAC1 Rx ICMP Error Frames Register */
-#define REG_EMAC1_RXIPV4_GD_OCT 0xFFC22250 /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_OCT 0xFFC22254 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_OCT 0xFFC22258 /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC1_RXIPV4_FRAG_OCT 0xFFC2225C /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC1_RXIPV4_UDSBL_OCT 0xFFC22260 /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC1_RXIPV6_GD_OCT 0xFFC22264 /* EMAC1 Rx IPv6 Good Octets Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_OCT 0xFFC22268 /* EMAC1 Rx IPv6 Header Errors Register */
-#define REG_EMAC1_RXIPV6_NOPAY_OCT 0xFFC2226C /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC1_RXUDP_GD_OCT 0xFFC22270 /* EMAC1 Rx UDP Good Octets Register */
-#define REG_EMAC1_RXUDP_ERR_OCT 0xFFC22274 /* EMAC1 Rx UDP Error Octets Register */
-#define REG_EMAC1_RXTCP_GD_OCT 0xFFC22278 /* EMAC1 Rx TCP Good Octets Register */
-#define REG_EMAC1_RXTCP_ERR_OCT 0xFFC2227C /* EMAC1 Rx TCP Error Octets Register */
-#define REG_EMAC1_RXICMP_GD_OCT 0xFFC22280 /* EMAC1 Rx ICMP Good Octets Register */
-#define REG_EMAC1_RXICMP_ERR_OCT 0xFFC22284 /* EMAC1 Rx ICMP Error Octets Register */
-#define REG_EMAC1_TM_CTL 0xFFC22700 /* EMAC1 Time Stamp Control Register */
-#define REG_EMAC1_TM_SUBSEC 0xFFC22704 /* EMAC1 Time Stamp Sub Second Increment Register */
-#define REG_EMAC1_TM_SEC 0xFFC22708 /* EMAC1 Time Stamp Low Seconds Register */
-#define REG_EMAC1_TM_NSEC 0xFFC2270C /* EMAC1 Time Stamp Nano Seconds Register */
-#define REG_EMAC1_TM_SECUPDT 0xFFC22710 /* EMAC1 Time Stamp Seconds Update Register */
-#define REG_EMAC1_TM_NSECUPDT 0xFFC22714 /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC1_TM_ADDEND 0xFFC22718 /* EMAC1 Time Stamp Addend Register */
-#define REG_EMAC1_TM_TGTM 0xFFC2271C /* EMAC1 Time Stamp Target Time Seconds Register */
-#define REG_EMAC1_TM_NTGTM 0xFFC22720 /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC1_TM_HISEC 0xFFC22724 /* EMAC1 Time Stamp High Second Register */
-#define REG_EMAC1_TM_STMPSTAT 0xFFC22728 /* EMAC1 Time Stamp Status Register */
-#define REG_EMAC1_TM_PPSCTL 0xFFC2272C /* EMAC1 PPS Control Register */
-#define REG_EMAC1_TM_AUXSTMP_NSEC 0xFFC22730 /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC1_TM_AUXSTMP_SEC 0xFFC22734 /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC1_TM_PPSINTVL 0xFFC22760 /* EMAC1 Time Stamp PPS Interval Register */
-#define REG_EMAC1_TM_PPSWIDTH 0xFFC22764 /* EMAC1 PPS Width Register */
-#define REG_EMAC1_DMA_BUSMODE 0xFFC23000 /* EMAC1 DMA Bus Mode Register */
-#define REG_EMAC1_DMA_TXPOLL 0xFFC23004 /* EMAC1 DMA Tx Poll Demand Register */
-#define REG_EMAC1_DMA_RXPOLL 0xFFC23008 /* EMAC1 DMA Rx Poll Demand register */
-#define REG_EMAC1_DMA_RXDSC_ADDR 0xFFC2300C /* EMAC1 DMA Rx Descriptor List Address Register */
-#define REG_EMAC1_DMA_TXDSC_ADDR 0xFFC23010 /* EMAC1 DMA Tx Descriptor List Address Register */
-#define REG_EMAC1_DMA_STAT 0xFFC23014 /* EMAC1 DMA Status Register */
-#define REG_EMAC1_DMA_OPMODE 0xFFC23018 /* EMAC1 DMA Operation Mode Register */
-#define REG_EMAC1_DMA_IEN 0xFFC2301C /* EMAC1 DMA Interrupt Enable Register */
-#define REG_EMAC1_DMA_MISS_FRM 0xFFC23020 /* EMAC1 DMA Missed Frame Register */
-#define REG_EMAC1_DMA_RXIWDOG 0xFFC23024 /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC1_DMA_BMMODE 0xFFC23028 /* EMAC1 DMA SCB Bus Mode Register */
-#define REG_EMAC1_DMA_BMSTAT 0xFFC2302C /* EMAC1 DMA SCB Status Register */
-#define REG_EMAC1_DMA_TXDSC_CUR 0xFFC23048 /* EMAC1 DMA Tx Descriptor Current Register */
-#define REG_EMAC1_DMA_RXDSC_CUR 0xFFC2304C /* EMAC1 DMA Rx Descriptor Current Register */
-#define REG_EMAC1_DMA_TXBUF_CUR 0xFFC23050 /* EMAC1 DMA Tx Buffer Current Register */
-#define REG_EMAC1_DMA_RXBUF_CUR 0xFFC23054 /* EMAC1 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACCFG_CST 25 /* CRC Stripping */
-#define BITP_EMAC_MACCFG_WD 23 /* Watch Dog Disable */
-#define BITP_EMAC_MACCFG_JB 22 /* Jabber Disable */
-#define BITP_EMAC_MACCFG_JE 20 /* Jumbo Frame Enable */
-#define BITP_EMAC_MACCFG_IFG 17 /* Inter Frame Gap */
-#define BITP_EMAC_MACCFG_DCRS 16 /* Disable Carrier Sense */
-#define BITP_EMAC_MACCFG_FES 14 /* Speed of Operation */
-#define BITP_EMAC_MACCFG_DO 13 /* Disable Receive Own */
-#define BITP_EMAC_MACCFG_LM 12 /* Loopback Mode */
-#define BITP_EMAC_MACCFG_DM 11 /* Duplex Mode */
-#define BITP_EMAC_MACCFG_IPC 10 /* IP Checksum */
-#define BITP_EMAC_MACCFG_DR 9 /* Disable Retry */
-#define BITP_EMAC_MACCFG_ACS 7 /* Automatic Pad/CRC Stripping */
-#define BITP_EMAC_MACCFG_BL 5 /* Back Off Limit */
-#define BITP_EMAC_MACCFG_DC 4 /* Deferral Check */
-#define BITP_EMAC_MACCFG_TE 3 /* Transmitter Enable */
-#define BITP_EMAC_MACCFG_RE 2 /* Receiver Enable */
-#define BITM_EMAC_MACCFG_CST (_ADI_MSK(0x02000000,uint32_t)) /* CRC Stripping */
-#define BITM_EMAC_MACCFG_WD (_ADI_MSK(0x00800000,uint32_t)) /* Watch Dog Disable */
-#define BITM_EMAC_MACCFG_JB (_ADI_MSK(0x00400000,uint32_t)) /* Jabber Disable */
-#define BITM_EMAC_MACCFG_JE (_ADI_MSK(0x00100000,uint32_t)) /* Jumbo Frame Enable */
-
-#define BITM_EMAC_MACCFG_IFG (_ADI_MSK(0x000E0000,uint32_t)) /* Inter Frame Gap */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_96 (_ADI_MSK(0x00000000,uint32_t)) /* IFG: 96 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_88 (_ADI_MSK(0x00020000,uint32_t)) /* IFG: 88 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_80 (_ADI_MSK(0x00040000,uint32_t)) /* IFG: 80 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_72 (_ADI_MSK(0x00060000,uint32_t)) /* IFG: 72 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_64 (_ADI_MSK(0x00080000,uint32_t)) /* IFG: 64 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_56 (_ADI_MSK(0x000A0000,uint32_t)) /* IFG: 56 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_48 (_ADI_MSK(0x000C0000,uint32_t)) /* IFG: 48 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_40 (_ADI_MSK(0x000E0000,uint32_t)) /* IFG: 40 bit times */
-#define BITM_EMAC_MACCFG_DCRS (_ADI_MSK(0x00010000,uint32_t)) /* Disable Carrier Sense */
-#define BITM_EMAC_MACCFG_FES (_ADI_MSK(0x00004000,uint32_t)) /* Speed of Operation */
-#define BITM_EMAC_MACCFG_DO (_ADI_MSK(0x00002000,uint32_t)) /* Disable Receive Own */
-#define BITM_EMAC_MACCFG_LM (_ADI_MSK(0x00001000,uint32_t)) /* Loopback Mode */
-#define BITM_EMAC_MACCFG_DM (_ADI_MSK(0x00000800,uint32_t)) /* Duplex Mode */
-#define BITM_EMAC_MACCFG_IPC (_ADI_MSK(0x00000400,uint32_t)) /* IP Checksum */
-
-#define BITM_EMAC_MACCFG_DR (_ADI_MSK(0x00000200,uint32_t)) /* Disable Retry */
-#define ENUM_EMAC_MACCFG_RETRY_ENABLED (_ADI_MSK(0x00000000,uint32_t)) /* DR: Retry enabled */
-#define ENUM_EMAC_MACCFG_RETRY_DISABLED (_ADI_MSK(0x00000200,uint32_t)) /* DR: Retry disabled */
-#define BITM_EMAC_MACCFG_ACS (_ADI_MSK(0x00000080,uint32_t)) /* Automatic Pad/CRC Stripping */
-
-#define BITM_EMAC_MACCFG_BL (_ADI_MSK(0x00000060,uint32_t)) /* Back Off Limit */
-#define ENUM_EMAC_MACCFG_BL_10 (_ADI_MSK(0x00000000,uint32_t)) /* BL: k = min (n, 10) */
-#define ENUM_EMAC_MACCFG_BL_8 (_ADI_MSK(0x00000020,uint32_t)) /* BL: k = min (n, 8) */
-#define ENUM_EMAC_MACCFG_BL_4 (_ADI_MSK(0x00000040,uint32_t)) /* BL: k = min (n, 4) */
-#define ENUM_EMAC_MACCFG_BL_1 (_ADI_MSK(0x00000060,uint32_t)) /* BL: k = min (n, 1) */
-#define BITM_EMAC_MACCFG_DC (_ADI_MSK(0x00000010,uint32_t)) /* Deferral Check */
-#define BITM_EMAC_MACCFG_TE (_ADI_MSK(0x00000008,uint32_t)) /* Transmitter Enable */
-#define BITM_EMAC_MACCFG_RE (_ADI_MSK(0x00000004,uint32_t)) /* Receiver Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACFRMFILT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACFRMFILT_RA 31 /* Receive All Frames */
-#define BITP_EMAC_MACFRMFILT_HPF 10 /* Hash or Perfect Filter */
-#define BITP_EMAC_MACFRMFILT_PCF 6 /* Pass Control Frames */
-#define BITP_EMAC_MACFRMFILT_DBF 5 /* Disable Broadcast Frames */
-#define BITP_EMAC_MACFRMFILT_PM 4 /* Pass All Multicast Frames */
-#define BITP_EMAC_MACFRMFILT_DAIF 3 /* Destination Address Inverse Filtering */
-#define BITP_EMAC_MACFRMFILT_HMC 2 /* Hash Multicast */
-#define BITP_EMAC_MACFRMFILT_HUC 1 /* Hash Unicast */
-#define BITP_EMAC_MACFRMFILT_PR 0 /* Promiscuous Mode */
-#define BITM_EMAC_MACFRMFILT_RA (_ADI_MSK(0x80000000,uint32_t)) /* Receive All Frames */
-#define BITM_EMAC_MACFRMFILT_HPF (_ADI_MSK(0x00000400,uint32_t)) /* Hash or Perfect Filter */
-
-#define BITM_EMAC_MACFRMFILT_PCF (_ADI_MSK(0x000000C0,uint32_t)) /* Pass Control Frames */
-#define ENUM_EMAC_MACFRMFILT_FILT_ALL (_ADI_MSK(0x00000000,uint32_t)) /* PCF: Pass no control frames */
-#define ENUM_EMAC_MACFRMFILT_NO_PAUSE (_ADI_MSK(0x00000040,uint32_t)) /* PCF: Pass no PAUSE frames */
-#define ENUM_EMAC_MACFRMFILT_FWD_ALL (_ADI_MSK(0x00000080,uint32_t)) /* PCF: Pass all control frames */
-#define ENUM_EMAC_MACFRMFILT_PADR_FILT (_ADI_MSK(0x000000C0,uint32_t)) /* PCF: Pass address filtered control frames */
-
-#define BITM_EMAC_MACFRMFILT_DBF (_ADI_MSK(0x00000020,uint32_t)) /* Disable Broadcast Frames */
-#define ENUM_EMAC_MACFRMFILT_DIS_BCAST (_ADI_MSK(0x00000000,uint32_t)) /* DBF: AFM module passes all received broadcast frames */
-#define ENUM_EMAC_MACFRMFILT_EN_BCAST (_ADI_MSK(0x00000020,uint32_t)) /* DBF: AFM module filters all incoming broadcast frames */
-#define BITM_EMAC_MACFRMFILT_PM (_ADI_MSK(0x00000010,uint32_t)) /* Pass All Multicast Frames */
-#define BITM_EMAC_MACFRMFILT_DAIF (_ADI_MSK(0x00000008,uint32_t)) /* Destination Address Inverse Filtering */
-#define BITM_EMAC_MACFRMFILT_HMC (_ADI_MSK(0x00000004,uint32_t)) /* Hash Multicast */
-#define BITM_EMAC_MACFRMFILT_HUC (_ADI_MSK(0x00000002,uint32_t)) /* Hash Unicast */
-#define BITM_EMAC_MACFRMFILT_PR (_ADI_MSK(0x00000001,uint32_t)) /* Promiscuous Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_ADDR_PA 11 /* Physical Layer Address */
-#define BITP_EMAC_SMI_ADDR_SMIR 6 /* SMI Register Address */
-#define BITP_EMAC_SMI_ADDR_CR 2 /* Clock Range */
-#define BITP_EMAC_SMI_ADDR_SMIW 1 /* SMI Write */
-#define BITP_EMAC_SMI_ADDR_SMIB 0 /* SMI Busy */
-#define BITM_EMAC_SMI_ADDR_PA (_ADI_MSK(0x0000F800,uint32_t)) /* Physical Layer Address */
-#define BITM_EMAC_SMI_ADDR_SMIR (_ADI_MSK(0x000007C0,uint32_t)) /* SMI Register Address */
-#define BITM_EMAC_SMI_ADDR_CR (_ADI_MSK(0x0000003C,uint32_t)) /* Clock Range */
-#define BITM_EMAC_SMI_ADDR_SMIW (_ADI_MSK(0x00000002,uint32_t)) /* SMI Write */
-#define BITM_EMAC_SMI_ADDR_SMIB (_ADI_MSK(0x00000001,uint32_t)) /* SMI Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_DATA_SMID 0 /* SMI Data */
-#define BITM_EMAC_SMI_DATA_SMID (_ADI_MSK(0x0000FFFF,uint32_t)) /* SMI Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_FLOWCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_FLOWCTL_PT 16 /* Pause Time */
-#define BITP_EMAC_FLOWCTL_UP 3 /* Unicast Pause Frame Detect */
-#define BITP_EMAC_FLOWCTL_RFE 2 /* Receive Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_TFE 1 /* Transmit Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_FCBBPA 0 /* Initiate Pause Control Frame */
-#define BITM_EMAC_FLOWCTL_PT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Pause Time */
-#define BITM_EMAC_FLOWCTL_UP (_ADI_MSK(0x00000008,uint32_t)) /* Unicast Pause Frame Detect */
-#define BITM_EMAC_FLOWCTL_RFE (_ADI_MSK(0x00000004,uint32_t)) /* Receive Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_TFE (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_FCBBPA (_ADI_MSK(0x00000001,uint32_t)) /* Initiate Pause Control Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_VLANTAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_VLANTAG_ETV 16 /* Enable Tag VLAN Comparison */
-#define BITP_EMAC_VLANTAG_VL 0 /* VLAN Tag Id Receive Frames */
-#define BITM_EMAC_VLANTAG_ETV (_ADI_MSK(0x00010000,uint32_t)) /* Enable Tag VLAN Comparison */
-#define BITM_EMAC_VLANTAG_VL (_ADI_MSK(0x0000FFFF,uint32_t)) /* VLAN Tag Id Receive Frames */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DBG_TXFIFOFULL 25 /* Tx FIFO Full */
-#define BITP_EMAC_DBG_TXFIFONE 24 /* Tx FIFO Not Empty */
-#define BITP_EMAC_DBG_TXFIFOACT 22 /* Tx FIFO Active */
-#define BITP_EMAC_DBG_TXFIFOCTLST 20 /* Tx FIFO Controller State */
-#define BITP_EMAC_DBG_TXPAUSE 19 /* Tx Paused */
-#define BITP_EMAC_DBG_TXFRCTL 17 /* Tx Frame Controller State */
-#define BITP_EMAC_DBG_MMTEA 16 /* MM Tx Engine Active */
-#define BITP_EMAC_DBG_RXFIFOST 8 /* Rx FIFO State */
-#define BITP_EMAC_DBG_RXFIFOCTLST 5 /* Rx FIFO Controller State */
-#define BITP_EMAC_DBG_RXFIFOACT 4 /* Rx FIFO Active */
-#define BITP_EMAC_DBG_SFIFOST 1 /* Small FIFO State */
-#define BITP_EMAC_DBG_MMREA 0 /* MM Rx Engine Active */
-#define BITM_EMAC_DBG_TXFIFOFULL (_ADI_MSK(0x02000000,uint32_t)) /* Tx FIFO Full */
-#define BITM_EMAC_DBG_TXFIFONE (_ADI_MSK(0x01000000,uint32_t)) /* Tx FIFO Not Empty */
-#define BITM_EMAC_DBG_TXFIFOACT (_ADI_MSK(0x00400000,uint32_t)) /* Tx FIFO Active */
-#define BITM_EMAC_DBG_TXFIFOCTLST (_ADI_MSK(0x00300000,uint32_t)) /* Tx FIFO Controller State */
-#define BITM_EMAC_DBG_TXPAUSE (_ADI_MSK(0x00080000,uint32_t)) /* Tx Paused */
-
-#define BITM_EMAC_DBG_TXFRCTL (_ADI_MSK(0x00060000,uint32_t)) /* Tx Frame Controller State */
-#define ENUM_EMAC_DBG_TXFRCTL_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* TXFRCTL: Idle */
-#define ENUM_EMAC_DBG_TXFRCTL_WT_STATUS (_ADI_MSK(0x00020000,uint32_t)) /* TXFRCTL: Wait */
-#define ENUM_EMAC_DBG_TXFRCTL_PAUSE (_ADI_MSK(0x00040000,uint32_t)) /* TXFRCTL: Pause */
-#define ENUM_EMAC_DBG_TXFRCTL_TXFRAME (_ADI_MSK(0x00060000,uint32_t)) /* TXFRCTL: Transmit */
-#define BITM_EMAC_DBG_MMTEA (_ADI_MSK(0x00010000,uint32_t)) /* MM Tx Engine Active */
-
-#define BITM_EMAC_DBG_RXFIFOST (_ADI_MSK(0x00000300,uint32_t)) /* Rx FIFO State */
-#define ENUM_EMAC_DBG_FIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOST: Rx FIFO Empty */
-#define ENUM_EMAC_DBG_FIFO_BEL_THERSHLD (_ADI_MSK(0x00000100,uint32_t)) /* RXFIFOST: Rx FIFO Below De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_ABV_THERSHLD (_ADI_MSK(0x00000200,uint32_t)) /* RXFIFOST: Rx FIFO Above De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_FULL (_ADI_MSK(0x00000300,uint32_t)) /* RXFIFOST: Rx FIFO Full */
-
-#define BITM_EMAC_DBG_RXFIFOCTLST (_ADI_MSK(0x00000060,uint32_t)) /* Rx FIFO Controller State */
-#define ENUM_EMAC_DBG_IDLE_FIFO (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOCTLST: Idle */
-#define ENUM_EMAC_DBG_RD_DATA_FIFO (_ADI_MSK(0x00000020,uint32_t)) /* RXFIFOCTLST: Read Data */
-#define ENUM_EMAC_DBG_RD_STS_FIFO (_ADI_MSK(0x00000040,uint32_t)) /* RXFIFOCTLST: Read Status */
-#define ENUM_EMAC_DBG_FLUSH_FIFO (_ADI_MSK(0x00000060,uint32_t)) /* RXFIFOCTLST: Flush */
-#define BITM_EMAC_DBG_RXFIFOACT (_ADI_MSK(0x00000010,uint32_t)) /* Rx FIFO Active */
-#define BITM_EMAC_DBG_SFIFOST (_ADI_MSK(0x00000006,uint32_t)) /* Small FIFO State */
-#define BITM_EMAC_DBG_MMREA (_ADI_MSK(0x00000001,uint32_t)) /* MM Rx Engine Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ISTAT_TS 9 /* Time Stamp Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRC 7 /* MMC Receive Checksum Offload Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCTX 6 /* MMC Transmit Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRX 5 /* MMC Receive Interrupt Status */
-#define BITP_EMAC_ISTAT_MMC 4 /* MMC Interrupt Status */
-#define BITM_EMAC_ISTAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRC (_ADI_MSK(0x00000080,uint32_t)) /* MMC Receive Checksum Offload Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCTX (_ADI_MSK(0x00000040,uint32_t)) /* MMC Transmit Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRX (_ADI_MSK(0x00000020,uint32_t)) /* MMC Receive Interrupt Status */
-#define BITM_EMAC_ISTAT_MMC (_ADI_MSK(0x00000010,uint32_t)) /* MMC Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IMSK_TS 9 /* Time Stamp Interrupt Mask */
-#define BITM_EMAC_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ADDR0_HI Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ADDR0_HI_ADDR 0 /* Address */
-#define BITM_EMAC_ADDR0_HI_ADDR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_CTL_FULLPSET 5 /* Full Preset */
-#define BITP_EMAC_MMC_CTL_CNTRPSET 4 /* Counter Reset/Preset */
-#define BITP_EMAC_MMC_CTL_CNTRFRZ 3 /* Counter Freeze */
-#define BITP_EMAC_MMC_CTL_RDRST 2 /* Read Reset */
-#define BITP_EMAC_MMC_CTL_NOROLL 1 /* No Rollover */
-#define BITP_EMAC_MMC_CTL_RST 0 /* Reset */
-#define BITM_EMAC_MMC_CTL_FULLPSET (_ADI_MSK(0x00000020,uint32_t)) /* Full Preset */
-#define BITM_EMAC_MMC_CTL_CNTRPSET (_ADI_MSK(0x00000010,uint32_t)) /* Counter Reset/Preset */
-#define BITM_EMAC_MMC_CTL_CNTRFRZ (_ADI_MSK(0x00000008,uint32_t)) /* Counter Freeze */
-#define BITM_EMAC_MMC_CTL_RDRST (_ADI_MSK(0x00000004,uint32_t)) /* Read Reset */
-#define BITM_EMAC_MMC_CTL_NOROLL (_ADI_MSK(0x00000002,uint32_t)) /* No Rollover */
-#define BITM_EMAC_MMC_CTL_RST (_ADI_MSK(0x00000001,uint32_t)) /* Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXINT_WDOGERR 23 /* Rx Watch Dog Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_FIFOOVF 21 /* Rx FIFO Overflow Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_PAUSEFR 20 /* Rx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_LENERR 18 /* Rx Length Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_USIZEG 9 /* Rx Undersize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_JABERR 8 /* Rx Jabber Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_RUNTERR 7 /* Rx Runt Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_ALIGNERR 6 /* Rx Alignment Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_CRCERR 5 /* Rx CRC Error Counter Half/Full */
-#define BITP_EMAC_MMC_RXINT_MCASTG 4 /* Rx Multicast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_BCASTG 3 /* Rx Broadcast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTG 2 /* Octet Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTGB 1 /* Octet Count (Good/Bad) Half/Full */
-#define BITP_EMAC_MMC_RXINT_FRCNTGB 0 /* Frame Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_WDOGERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_FIFOOVF (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_PAUSEFR (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Counter Half/Full */
-#define BITM_EMAC_MMC_RXINT_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Octet Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Octet Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Frame Count (Good/Bad) Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXINT_VLANFRGB 24 /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_CARRERR 19 /* Tx Carrier Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSCOL 18 /* Tx Exess Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_LATECOL 17 /* Tx Late Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_DEFERRED 16 /* Tx Deffered Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MULTCOLG 15 /* Tx Multiple collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UNDERR 13 /* Tx Underflow Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_VLANFRGB (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deffered Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXIMSK_WATCHERR 23 /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FIFOOV 21 /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_PAUSEFRM 20 /* Rx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_LENERR 18 /* Rx Length Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_USIZEG 9 /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_JABERR 8 /* Rx Jabber Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_RUNTERR 7 /* Rx Runt Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_ALIGNERR 6 /* Rx Alignment Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_CRCERR 5 /* Rx CRC Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_MCASTG 4 /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_BCASTG 3 /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTG 2 /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTGB 1 /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FRCNTGB 0 /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_WATCHERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FIFOOV (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_PAUSEFRM (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXIMSK_VLANFRG 24 /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_CARRERR 19 /* Tx Carrier Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSCOL 18 /* Tx Exess collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_LATECOL 17 /* Tx Late Collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_DEFERRED 16 /* Tx Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MULTCOLG 15 /* Tx Multiple Collisions (Good) Count Mask */
-#define BITP_EMAC_MMC_TXIMSK_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UNDERR 13 /* Tx Underflow Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_VLANFRG (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple Collisions (Good) Count Mask */
-#define BITM_EMAC_MMC_TXIMSK_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERRFRM 9 /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERRFRM 1 /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXINT_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERRFRM 9 /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERRFRM 1 /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_CTL_ATSFC 24 /* Auxilary Time Stamp FIFO Clear */
-#define BITP_EMAC_TM_CTL_TSENMACADDR 18 /* Time Stamp Enable MAC Address */
-#define BITP_EMAC_TM_CTL_SNAPTYPSEL 16 /* Snapshot Type Select */
-#define BITP_EMAC_TM_CTL_TSMSTRENA 15 /* Time Stamp Master (Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSEVNTENA 14 /* Time Stamp Event (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV4ENA 13 /* Time Stamp IPV4 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV6ENA 12 /* Time Stamp IPV6 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPENA 11 /* Time Stamp IP Enable */
-#define BITP_EMAC_TM_CTL_TSVER2ENA 10 /* Time Stamp VER2 (Snooping) Enable */
-#define BITP_EMAC_TM_CTL_TSCTRLSSR 9 /* Time Stamp Control Nanosecond Rollover */
-#define BITP_EMAC_TM_CTL_TSENALL 8 /* Time Stamp Enable All (Frames) */
-#define BITP_EMAC_TM_CTL_TSADDREG 5 /* Time Stamp Addend Register Update */
-#define BITP_EMAC_TM_CTL_TSTRIG 4 /* Time Stamp (Target Time) Trigger Enable */
-#define BITP_EMAC_TM_CTL_TSUPDT 3 /* Time Stamp (System Time) Update */
-#define BITP_EMAC_TM_CTL_TSINIT 2 /* Time Stamp (System Time) Initialize */
-#define BITP_EMAC_TM_CTL_TSCFUPDT 1 /* Time Stamp (System Time) Fine/Coarse Update */
-#define BITP_EMAC_TM_CTL_TSENA 0 /* Time Stamp (PTP) Enable */
-#define BITM_EMAC_TM_CTL_ATSFC (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp FIFO Clear */
-
-#define BITM_EMAC_TM_CTL_TSENMACADDR (_ADI_MSK(0x00040000,uint32_t)) /* Time Stamp Enable MAC Address */
-#define ENUM_EMAC_TM_CTL_D_PTP_ADDRFILT (_ADI_MSK(0x00000000,uint32_t)) /* TSENMACADDR: Disable PTP MAC address filter */
-#define ENUM_EMAC_TM_CTL_E_PTP_ADDRFILT (_ADI_MSK(0x00040000,uint32_t)) /* TSENMACADDR: Enable PTP MAC address filter */
-#define BITM_EMAC_TM_CTL_SNAPTYPSEL (_ADI_MSK(0x00030000,uint32_t)) /* Snapshot Type Select */
-
-#define BITM_EMAC_TM_CTL_TSMSTRENA (_ADI_MSK(0x00008000,uint32_t)) /* Time Stamp Master (Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_SLVSNPT_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Slave Messages */
-#define ENUM_EMAC_TM_CTL_E_MSSNPST_MSGS (_ADI_MSK(0x00008000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Master Messages */
-
-#define BITM_EMAC_TM_CTL_TSEVNTENA (_ADI_MSK(0x00004000,uint32_t)) /* Time Stamp Event (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_ATSTMP_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for All Messages */
-#define ENUM_EMAC_TM_CTL_E_ETSTMP_MSGS (_ADI_MSK(0x00004000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for Event Messages Only */
-
-#define BITM_EMAC_TM_CTL_TSIPV4ENA (_ADI_MSK(0x00002000,uint32_t)) /* Time Stamp IPV4 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV4 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV4ENA: Disable Time Stamp for PTP Over IPv4 Frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV4 (_ADI_MSK(0x00002000,uint32_t)) /* TSIPV4ENA: Enable Time Stamp for PTP Over IPv4 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPV6ENA (_ADI_MSK(0x00001000,uint32_t)) /* Time Stamp IPV6 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV6 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV6ENA: Disable Time Stamp for PTP Over IPv6 frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV6 (_ADI_MSK(0x00001000,uint32_t)) /* TSIPV6ENA: Enable Time Stamp for PTP Over IPv6 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPENA (_ADI_MSK(0x00000800,uint32_t)) /* Time Stamp IP Enable */
-#define ENUM_EMAC_TM_CTL_D_PTP_OV_ETHER (_ADI_MSK(0x00000000,uint32_t)) /* TSIPENA: Disable PTP Over Ethernet Frames */
-#define ENUM_EMAC_TM_CTL_E_PTP_OV_ETHER (_ADI_MSK(0x00000800,uint32_t)) /* TSIPENA: Enable PTP Over Ethernet Frames */
-
-#define BITM_EMAC_TM_CTL_TSVER2ENA (_ADI_MSK(0x00000400,uint32_t)) /* Time Stamp VER2 (Snooping) Enable */
-#define ENUM_EMAC_TM_CTL_D_PKT_SNOOP_V2 (_ADI_MSK(0x00000000,uint32_t)) /* TSVER2ENA: Disable packet snooping for V2 frames */
-#define ENUM_EMAC_TM_CTL_E_PKT_SNOOP_V2 (_ADI_MSK(0x00000400,uint32_t)) /* TSVER2ENA: Enable packet snooping for V2 frames */
-
-#define BITM_EMAC_TM_CTL_TSCTRLSSR (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Control Nanosecond Rollover */
-#define ENUM_EMAC_TM_CTL_RO_SUBSEC_RES (_ADI_MSK(0x00000000,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x7FFFFFFF */
-#define ENUM_EMAC_TM_CTL_RO_NANO_RES (_ADI_MSK(0x00000200,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x3B9AC9FF */
-
-#define BITM_EMAC_TM_CTL_TSENALL (_ADI_MSK(0x00000100,uint32_t)) /* Time Stamp Enable All (Frames) */
-#define ENUM_EMAC_TM_CTL_D_TSALL_FRAMES (_ADI_MSK(0x00000000,uint32_t)) /* TSENALL: Disable timestamp for all frames */
-#define ENUM_EMAC_TM_CTL_E_TSALL_FRAMES (_ADI_MSK(0x00000100,uint32_t)) /* TSENALL: Enable timestamp for all frames */
-#define BITM_EMAC_TM_CTL_TSADDREG (_ADI_MSK(0x00000020,uint32_t)) /* Time Stamp Addend Register Update */
-
-#define BITM_EMAC_TM_CTL_TSTRIG (_ADI_MSK(0x00000010,uint32_t)) /* Time Stamp (Target Time) Trigger Enable */
-#define ENUM_EMAC_TM_CTL_EN_TRIGGER (_ADI_MSK(0x00000010,uint32_t)) /* TSTRIG: Interrupt (TS) if system time is greater than target time register */
-
-#define BITM_EMAC_TM_CTL_TSUPDT (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp (System Time) Update */
-#define ENUM_EMAC_TM_CTL_EN_UPDATE (_ADI_MSK(0x00000008,uint32_t)) /* TSUPDT: System time updated with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSINIT (_ADI_MSK(0x00000004,uint32_t)) /* Time Stamp (System Time) Initialize */
-#define ENUM_EMAC_TM_CTL_EN_TS_INIT (_ADI_MSK(0x00000004,uint32_t)) /* TSINIT: System time initialized with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSCFUPDT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp (System Time) Fine/Coarse Update */
-#define ENUM_EMAC_TM_CTL_EN_COARSE_UPDT (_ADI_MSK(0x00000000,uint32_t)) /* TSCFUPDT: Use Coarse Correction Method for System Time Update */
-#define ENUM_EMAC_TM_CTL_EN_FINE_UPDT (_ADI_MSK(0x00000002,uint32_t)) /* TSCFUPDT: Use Fine Correction Method for System Time Update */
-
-#define BITM_EMAC_TM_CTL_TSENA (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp (PTP) Enable */
-#define ENUM_EMAC_TM_CTL_DTS (_ADI_MSK(0x00000000,uint32_t)) /* TSENA: Disable PTP Module */
-#define ENUM_EMAC_TM_CTL_TS (_ADI_MSK(0x00000001,uint32_t)) /* TSENA: Enable PTP Module */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_SUBSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_SUBSEC_SSINC 0 /* Sub-Second Increment Value */
-#define BITM_EMAC_TM_SUBSEC_SSINC (_ADI_MSK(0x000000FF,uint32_t)) /* Sub-Second Increment Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSEC_TSSS 0 /* Time Stamp Nanoseconds */
-#define BITM_EMAC_TM_NSEC_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Nanoseconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSECUPDT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSECUPDT_ADDSUB 31 /* Add or Subtract the Time */
-#define BITP_EMAC_TM_NSECUPDT_TSSS 0 /* Time Stamp Sub Second Initialize/Increment */
-#define BITM_EMAC_TM_NSECUPDT_ADDSUB (_ADI_MSK(0x80000000,uint32_t)) /* Add or Subtract the Time */
-#define BITM_EMAC_TM_NSECUPDT_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Sub Second Initialize/Increment */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NTGTM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NTGTM_TSTRBUSY 31 /* Target Time Register Busy */
-#define BITP_EMAC_TM_NTGTM_TSTR 0 /* Target Time Nano Seconds */
-#define BITM_EMAC_TM_NTGTM_TSTRBUSY (_ADI_MSK(0x80000000,uint32_t)) /* Target Time Register Busy */
-#define BITM_EMAC_TM_NTGTM_TSTR (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Target Time Nano Seconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_HISEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_HISEC_TSHWR 0 /* Time Stamp Higher Word Seconds Register */
-#define BITM_EMAC_TM_HISEC_TSHWR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Time Stamp Higher Word Seconds Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_STMPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_STMPSTAT_ATSNS 25 /* Auxilary Time Stamp Number of Snapshots */
-#define BITP_EMAC_TM_STMPSTAT_ATSSTM 24 /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITP_EMAC_TM_STMPSTAT_TSTRGTERR 3 /* Time Stamp Target Time Programming Error */
-#define BITP_EMAC_TM_STMPSTAT_ATSTS 2 /* Auxilary Time Stamp Trigger Snapshot */
-#define BITP_EMAC_TM_STMPSTAT_TSTARGT 1 /* Time Stamp Target Time Reached */
-#define BITP_EMAC_TM_STMPSTAT_TSSOVF 0 /* Time Stamp Seconds Overflow */
-#define BITM_EMAC_TM_STMPSTAT_ATSNS (_ADI_MSK(0x0E000000,uint32_t)) /* Auxilary Time Stamp Number of Snapshots */
-#define BITM_EMAC_TM_STMPSTAT_ATSSTM (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITM_EMAC_TM_STMPSTAT_TSTRGTERR (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp Target Time Programming Error */
-#define BITM_EMAC_TM_STMPSTAT_ATSTS (_ADI_MSK(0x00000004,uint32_t)) /* Auxilary Time Stamp Trigger Snapshot */
-#define BITM_EMAC_TM_STMPSTAT_TSTARGT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp Target Time Reached */
-#define BITM_EMAC_TM_STMPSTAT_TSSOVF (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp Seconds Overflow */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_PPSCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_PPSCTL_TRGTMODSEL 5 /* Target Time Register Mode */
-#define BITP_EMAC_TM_PPSCTL_PPSEN 4 /* Enable the flexible PPS output mode */
-#define BITP_EMAC_TM_PPSCTL_PPSCTL 0 /* PPS Frequency Control */
-#define BITM_EMAC_TM_PPSCTL_TRGTMODSEL (_ADI_MSK(0x00000060,uint32_t)) /* Target Time Register Mode */
-#define BITM_EMAC_TM_PPSCTL_PPSEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable the flexible PPS output mode */
-#define BITM_EMAC_TM_PPSCTL_PPSCTL (_ADI_MSK(0x0000000F,uint32_t)) /* PPS Frequency Control */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BUSMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BUSMODE_AAL 25 /* Address Aligned Bursts */
-#define BITP_EMAC_DMA_BUSMODE_PBL8 24 /* PBL * 8 */
-#define BITP_EMAC_DMA_BUSMODE_USP 23 /* Use Separate PBL */
-#define BITP_EMAC_DMA_BUSMODE_RPBL 17 /* Receive Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_FB 16 /* Fixed Burst */
-#define BITP_EMAC_DMA_BUSMODE_PBL 8 /* Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_ATDS 7 /* Alternate Descriptor Size */
-#define BITP_EMAC_DMA_BUSMODE_DSL 2 /* Descriptor Skip Length */
-#define BITP_EMAC_DMA_BUSMODE_SWR 0 /* Software Reset */
-#define BITM_EMAC_DMA_BUSMODE_AAL (_ADI_MSK(0x02000000,uint32_t)) /* Address Aligned Bursts */
-#define BITM_EMAC_DMA_BUSMODE_PBL8 (_ADI_MSK(0x01000000,uint32_t)) /* PBL * 8 */
-#define BITM_EMAC_DMA_BUSMODE_USP (_ADI_MSK(0x00800000,uint32_t)) /* Use Separate PBL */
-#define BITM_EMAC_DMA_BUSMODE_RPBL (_ADI_MSK(0x007E0000,uint32_t)) /* Receive Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_FB (_ADI_MSK(0x00010000,uint32_t)) /* Fixed Burst */
-#define BITM_EMAC_DMA_BUSMODE_PBL (_ADI_MSK(0x00003F00,uint32_t)) /* Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_ATDS (_ADI_MSK(0x00000080,uint32_t)) /* Alternate Descriptor Size */
-#define BITM_EMAC_DMA_BUSMODE_DSL (_ADI_MSK(0x0000007C,uint32_t)) /* Descriptor Skip Length */
-#define BITM_EMAC_DMA_BUSMODE_SWR (_ADI_MSK(0x00000001,uint32_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_STAT_TTI 29 /* Time Stamp Trigger Interrupt */
-#define BITP_EMAC_DMA_STAT_MCI 27 /* MAC MMC Interrupt */
-#define BITP_EMAC_DMA_STAT_EB 23 /* Error Bits */
-#define BITP_EMAC_DMA_STAT_TS 20 /* Transmit Process State */
-#define BITP_EMAC_DMA_STAT_RS 17 /* Receive Process State */
-#define BITP_EMAC_DMA_STAT_NIS 16 /* Normal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_AIS 15 /* Abnormal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_ERI 14 /* Early Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_FBI 13 /* Fatal Bus Error Interrupt */
-#define BITP_EMAC_DMA_STAT_ETI 10 /* Early Transmit Interrupt */
-#define BITP_EMAC_DMA_STAT_RWT 9 /* Receive WatchDog Timeout */
-#define BITP_EMAC_DMA_STAT_RPS 8 /* Receive Process Stopped */
-#define BITP_EMAC_DMA_STAT_RU 7 /* Receive Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_RI 6 /* Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_UNF 5 /* Transmit Buffer Underflow */
-#define BITP_EMAC_DMA_STAT_OVF 4 /* Receive Buffer Overflow */
-#define BITP_EMAC_DMA_STAT_TJT 3 /* Transmit Jabber Timeout */
-#define BITP_EMAC_DMA_STAT_TU 2 /* Transmit Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_TPS 1 /* Transmit Process Stopped */
-#define BITP_EMAC_DMA_STAT_TI 0 /* Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_TTI (_ADI_MSK(0x20000000,uint32_t)) /* Time Stamp Trigger Interrupt */
-#define BITM_EMAC_DMA_STAT_MCI (_ADI_MSK(0x08000000,uint32_t)) /* MAC MMC Interrupt */
-#define BITM_EMAC_DMA_STAT_EB (_ADI_MSK(0x03800000,uint32_t)) /* Error Bits */
-
-#define BITM_EMAC_DMA_STAT_TS (_ADI_MSK(0x00700000,uint32_t)) /* Transmit Process State */
-#define ENUM_EMAC_DMA_STAT_TS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* TS: Stopped; Reset or Stop Transmit Command issued */
-#define ENUM_EMAC_DMA_STAT_TS_R_FTD (_ADI_MSK(0x00100000,uint32_t)) /* TS: Running; Fetching Transmit Transfer Descriptor */
-#define ENUM_EMAC_DMA_STAT_TS_R_WSTAT (_ADI_MSK(0x00200000,uint32_t)) /* TS: Running; Waiting for status */
-#define ENUM_EMAC_DMA_STAT_TS_R_TXHMBUF (_ADI_MSK(0x00300000,uint32_t)) /* TS: Reading Data from host memory buffer and queuing it to TX buffer */
-#define ENUM_EMAC_DMA_STAT_TS_WR_TSTMP (_ADI_MSK(0x00400000,uint32_t)) /* TS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_TS_SUSPENDED (_ADI_MSK(0x00600000,uint32_t)) /* TS: Suspended; Transmit Descriptor Unavailable or TX Buffer Underflow */
-#define ENUM_EMAC_DMA_STAT_TS_R_CLSTD (_ADI_MSK(0x00700000,uint32_t)) /* TS: Closing Transmit Descriptor */
-
-#define BITM_EMAC_DMA_STAT_RS (_ADI_MSK(0x000E0000,uint32_t)) /* Receive Process State */
-#define ENUM_EMAC_DMA_STAT_RS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RS: Stopped: Reset or Stop Receive Command issued. */
-#define ENUM_EMAC_DMA_STAT_RS_R_FRD (_ADI_MSK(0x00020000,uint32_t)) /* RS: Running: Fetching Receive Transfer Descriptor. */
-#define ENUM_EMAC_DMA_STAT_RS_R_WTRX (_ADI_MSK(0x00060000,uint32_t)) /* RS: Running: Waiting for receive packet */
-#define ENUM_EMAC_DMA_STAT_RS_SUSPENDED (_ADI_MSK(0x00080000,uint32_t)) /* RS: Suspended: Receive Descriptor Unavailable */
-#define ENUM_EMAC_DMA_STAT_RS_R_CLSRD (_ADI_MSK(0x000A0000,uint32_t)) /* RS: Running: Closing Receive Descriptor */
-#define ENUM_EMAC_DMA_STAT_RS_WR_TSTMP (_ADI_MSK(0x000C0000,uint32_t)) /* RS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_RS_R_RXWRHM (_ADI_MSK(0x000E0000,uint32_t)) /* RS: Running: Transferring RX packet data from RX buffer to host memory */
-#define BITM_EMAC_DMA_STAT_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Interrupt */
-#define BITM_EMAC_DMA_STAT_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchDog Timeout */
-#define BITM_EMAC_DMA_STAT_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Process Stopped */
-#define BITM_EMAC_DMA_STAT_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Buffer Underflow */
-#define BITM_EMAC_DMA_STAT_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Receive Buffer Overflow */
-#define BITM_EMAC_DMA_STAT_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout */
-#define BITM_EMAC_DMA_STAT_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Process Stopped */
-#define BITM_EMAC_DMA_STAT_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_OPMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_OPMODE_DT 26 /* Disable Dropping TCP/IP Errors */
-#define BITP_EMAC_DMA_OPMODE_RSF 25 /* Receive Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_DFF 24 /* Disable Flushing of received Frames */
-#define BITP_EMAC_DMA_OPMODE_TSF 21 /* Transmit Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_FTF 20 /* Flush Transmit FIFO */
-#define BITP_EMAC_DMA_OPMODE_TTC 14 /* Transmit Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_ST 13 /* Start/Stop Transmission */
-#define BITP_EMAC_DMA_OPMODE_FEF 7 /* Forward Error Frames */
-#define BITP_EMAC_DMA_OPMODE_FUF 6 /* Forward Undersized good Frames */
-#define BITP_EMAC_DMA_OPMODE_RTC 3 /* Receive Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_OSF 2 /* Operate on Second Frame */
-#define BITP_EMAC_DMA_OPMODE_SR 1 /* Start/Stop Receive */
-#define BITM_EMAC_DMA_OPMODE_DT (_ADI_MSK(0x04000000,uint32_t)) /* Disable Dropping TCP/IP Errors */
-#define BITM_EMAC_DMA_OPMODE_RSF (_ADI_MSK(0x02000000,uint32_t)) /* Receive Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_DFF (_ADI_MSK(0x01000000,uint32_t)) /* Disable Flushing of received Frames */
-#define BITM_EMAC_DMA_OPMODE_TSF (_ADI_MSK(0x00200000,uint32_t)) /* Transmit Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_FTF (_ADI_MSK(0x00100000,uint32_t)) /* Flush Transmit FIFO */
-
-#define BITM_EMAC_DMA_OPMODE_TTC (_ADI_MSK(0x0001C000,uint32_t)) /* Transmit Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_TTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* TTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_128 (_ADI_MSK(0x00004000,uint32_t)) /* TTC: 128 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_192 (_ADI_MSK(0x00008000,uint32_t)) /* TTC: 192 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_256 (_ADI_MSK(0x0000C000,uint32_t)) /* TTC: 256 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_40 (_ADI_MSK(0x00010000,uint32_t)) /* TTC: 40 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_32 (_ADI_MSK(0x00014000,uint32_t)) /* TTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_24 (_ADI_MSK(0x00018000,uint32_t)) /* TTC: 24 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_16 (_ADI_MSK(0x0001C000,uint32_t)) /* TTC: 16 */
-#define BITM_EMAC_DMA_OPMODE_ST (_ADI_MSK(0x00002000,uint32_t)) /* Start/Stop Transmission */
-#define BITM_EMAC_DMA_OPMODE_FEF (_ADI_MSK(0x00000080,uint32_t)) /* Forward Error Frames */
-#define BITM_EMAC_DMA_OPMODE_FUF (_ADI_MSK(0x00000040,uint32_t)) /* Forward Undersized good Frames */
-
-#define BITM_EMAC_DMA_OPMODE_RTC (_ADI_MSK(0x00000018,uint32_t)) /* Receive Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_RTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* RTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_32 (_ADI_MSK(0x00000008,uint32_t)) /* RTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_96 (_ADI_MSK(0x00000010,uint32_t)) /* RTC: 96 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_128 (_ADI_MSK(0x00000018,uint32_t)) /* RTC: 128 */
-#define BITM_EMAC_DMA_OPMODE_OSF (_ADI_MSK(0x00000004,uint32_t)) /* Operate on Second Frame */
-#define BITM_EMAC_DMA_OPMODE_SR (_ADI_MSK(0x00000002,uint32_t)) /* Start/Stop Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_IEN_NIS 16 /* Normal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_AIS 15 /* Abnormal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_ERI 14 /* Early Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_FBI 13 /* Fatal Bus Error Enable */
-#define BITP_EMAC_DMA_IEN_ETI 10 /* Early Transmit Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_RWT 9 /* Receive WatchdogTimeout Enable */
-#define BITP_EMAC_DMA_IEN_RPS 8 /* Receive Stopped Enable */
-#define BITP_EMAC_DMA_IEN_RU 7 /* Receive Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_RI 6 /* Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_UNF 5 /* Underflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_OVF 4 /* Overflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_TJT 3 /* Transmit Jabber Timeout Enable */
-#define BITP_EMAC_DMA_IEN_TU 2 /* Transmit Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_TPS 1 /* Transmit Stopped Enable */
-#define BITP_EMAC_DMA_IEN_TI 0 /* Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Enable */
-#define BITM_EMAC_DMA_IEN_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchdogTimeout Enable */
-#define BITM_EMAC_DMA_IEN_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Stopped Enable */
-#define BITM_EMAC_DMA_IEN_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Underflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Overflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout Enable */
-#define BITM_EMAC_DMA_IEN_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Stopped Enable */
-#define BITM_EMAC_DMA_IEN_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_MISS_FRM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_MISS_FRM_OVFFIFO 28 /* Overflow bit for FIFO Overflow Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFROV 17 /* Missed Frames Buffer Overflow */
-#define BITP_EMAC_DMA_MISS_FRM_OVFMISS 16 /* Overflow bit for Missed Frame Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFRUN 0 /* Missed Frames Unavailable Buffer */
-#define BITM_EMAC_DMA_MISS_FRM_OVFFIFO (_ADI_MSK(0x10000000,uint32_t)) /* Overflow bit for FIFO Overflow Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFROV (_ADI_MSK(0x0FFE0000,uint32_t)) /* Missed Frames Buffer Overflow */
-#define BITM_EMAC_DMA_MISS_FRM_OVFMISS (_ADI_MSK(0x00010000,uint32_t)) /* Overflow bit for Missed Frame Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFRUN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Missed Frames Unavailable Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_RXIWDOG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_RXIWDOG_RIWT 0 /* RI WatchDog Timer Count */
-#define BITM_EMAC_DMA_RXIWDOG_RIWT (_ADI_MSK(0x000000FF,uint32_t)) /* RI WatchDog Timer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMMODE_WROSRLMT 20 /* SCB Maximum Write Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_RDOSRLMT 16 /* SCB Maximum Read Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_AAL 12 /* Address Aligned Beats */
-#define BITP_EMAC_DMA_BMMODE_BLEN16 3 /* SCB Burst Length 16 */
-#define BITP_EMAC_DMA_BMMODE_BLEN8 2 /* SCB Burst Length 8 */
-#define BITP_EMAC_DMA_BMMODE_BLEN4 1 /* SCB Burst Length 4 */
-#define BITP_EMAC_DMA_BMMODE_UNDEF 0 /* SCB Undefined Burst Length */
-#define BITM_EMAC_DMA_BMMODE_WROSRLMT (_ADI_MSK(0x00700000,uint32_t)) /* SCB Maximum Write Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_RDOSRLMT (_ADI_MSK(0x00070000,uint32_t)) /* SCB Maximum Read Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_AAL (_ADI_MSK(0x00001000,uint32_t)) /* Address Aligned Beats */
-#define BITM_EMAC_DMA_BMMODE_BLEN16 (_ADI_MSK(0x00000008,uint32_t)) /* SCB Burst Length 16 */
-#define BITM_EMAC_DMA_BMMODE_BLEN8 (_ADI_MSK(0x00000004,uint32_t)) /* SCB Burst Length 8 */
-#define BITM_EMAC_DMA_BMMODE_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* SCB Burst Length 4 */
-#define BITM_EMAC_DMA_BMMODE_UNDEF (_ADI_MSK(0x00000001,uint32_t)) /* SCB Undefined Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMSTAT_BUSRD 1 /* Bus (SCB master) Read Active */
-#define BITP_EMAC_DMA_BMSTAT_BUSWR 0 /* Bus (SCB master) Write Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSRD (_ADI_MSK(0x00000002,uint32_t)) /* Bus (SCB master) Read Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSWR (_ADI_MSK(0x00000001,uint32_t)) /* Bus (SCB master) Write Active */
-
-/* ==================================================
- Serial Port Registers
- ================================================== */
-
-/* =========================
- SPORT0
- ========================= */
-#define REG_SPORT0_CTL_A 0xFFC40000 /* SPORT0 Half SPORT 'A' Control Register */
-#define REG_SPORT0_DIV_A 0xFFC40004 /* SPORT0 Half SPORT 'A' Divisor Register */
-#define REG_SPORT0_MCTL_A 0xFFC40008 /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT0_CS0_A 0xFFC4000C /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_A 0xFFC40010 /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_A 0xFFC40014 /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT0_CS3_A 0xFFC40018 /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT0_ERR_A 0xFFC40020 /* SPORT0 Half SPORT 'A' Error Register */
-#define REG_SPORT0_MSTAT_A 0xFFC40024 /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_A 0xFFC40028 /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT0_TXPRI_A 0xFFC40040 /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_A 0xFFC40044 /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_A 0xFFC40048 /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_A 0xFFC4004C /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT0_CTL_B 0xFFC40080 /* SPORT0 Half SPORT 'B' Control Register */
-#define REG_SPORT0_DIV_B 0xFFC40084 /* SPORT0 Half SPORT 'B' Divisor Register */
-#define REG_SPORT0_MCTL_B 0xFFC40088 /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT0_CS0_B 0xFFC4008C /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_B 0xFFC40090 /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_B 0xFFC40094 /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT0_CS3_B 0xFFC40098 /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT0_ERR_B 0xFFC400A0 /* SPORT0 Half SPORT 'B' Error Register */
-#define REG_SPORT0_MSTAT_B 0xFFC400A4 /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_B 0xFFC400A8 /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT0_TXPRI_B 0xFFC400C0 /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_B 0xFFC400C4 /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_B 0xFFC400C8 /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_B 0xFFC400CC /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT1
- ========================= */
-#define REG_SPORT1_CTL_A 0xFFC40100 /* SPORT1 Half SPORT 'A' Control Register */
-#define REG_SPORT1_DIV_A 0xFFC40104 /* SPORT1 Half SPORT 'A' Divisor Register */
-#define REG_SPORT1_MCTL_A 0xFFC40108 /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT1_CS0_A 0xFFC4010C /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_A 0xFFC40110 /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_A 0xFFC40114 /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT1_CS3_A 0xFFC40118 /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT1_ERR_A 0xFFC40120 /* SPORT1 Half SPORT 'A' Error Register */
-#define REG_SPORT1_MSTAT_A 0xFFC40124 /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_A 0xFFC40128 /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT1_TXPRI_A 0xFFC40140 /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_A 0xFFC40144 /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_A 0xFFC40148 /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_A 0xFFC4014C /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT1_CTL_B 0xFFC40180 /* SPORT1 Half SPORT 'B' Control Register */
-#define REG_SPORT1_DIV_B 0xFFC40184 /* SPORT1 Half SPORT 'B' Divisor Register */
-#define REG_SPORT1_MCTL_B 0xFFC40188 /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT1_CS0_B 0xFFC4018C /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_B 0xFFC40190 /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_B 0xFFC40194 /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT1_CS3_B 0xFFC40198 /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT1_ERR_B 0xFFC401A0 /* SPORT1 Half SPORT 'B' Error Register */
-#define REG_SPORT1_MSTAT_B 0xFFC401A4 /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_B 0xFFC401A8 /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT1_TXPRI_B 0xFFC401C0 /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_B 0xFFC401C4 /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_B 0xFFC401C8 /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_B 0xFFC401CC /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT2
- ========================= */
-#define REG_SPORT2_CTL_A 0xFFC40200 /* SPORT2 Half SPORT 'A' Control Register */
-#define REG_SPORT2_DIV_A 0xFFC40204 /* SPORT2 Half SPORT 'A' Divisor Register */
-#define REG_SPORT2_MCTL_A 0xFFC40208 /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT2_CS0_A 0xFFC4020C /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_A 0xFFC40210 /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_A 0xFFC40214 /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT2_CS3_A 0xFFC40218 /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT2_ERR_A 0xFFC40220 /* SPORT2 Half SPORT 'A' Error Register */
-#define REG_SPORT2_MSTAT_A 0xFFC40224 /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_A 0xFFC40228 /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT2_TXPRI_A 0xFFC40240 /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_A 0xFFC40244 /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_A 0xFFC40248 /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_A 0xFFC4024C /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT2_CTL_B 0xFFC40280 /* SPORT2 Half SPORT 'B' Control Register */
-#define REG_SPORT2_DIV_B 0xFFC40284 /* SPORT2 Half SPORT 'B' Divisor Register */
-#define REG_SPORT2_MCTL_B 0xFFC40288 /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT2_CS0_B 0xFFC4028C /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_B 0xFFC40290 /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_B 0xFFC40294 /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT2_CS3_B 0xFFC40298 /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT2_ERR_B 0xFFC402A0 /* SPORT2 Half SPORT 'B' Error Register */
-#define REG_SPORT2_MSTAT_B 0xFFC402A4 /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_B 0xFFC402A8 /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT2_TXPRI_B 0xFFC402C0 /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_B 0xFFC402C4 /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_B 0xFFC402C8 /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_B 0xFFC402CC /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_A_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_A_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_A_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_A_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_A_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_A_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_A_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_A_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_A_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_A_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_A_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_A_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_A_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_A_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_A_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_A_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_A_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_A_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_A_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_A_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_A_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_A_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_A_SPENPRI 0 /* Serial Port Enable (Primary) */
-#define BITP_SPORT_CTL_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-#define BITM_SPORT_CTL_A_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSPRI: Empty */
-#define ENUM_SPORT_CTL_PRM_PART_FULL (_ADI_MSK(0x80000000,uint32_t)) /* DXSPRI: Partially full */
-#define ENUM_SPORT_CTL_PRM_FULL (_ADI_MSK(0xC0000000,uint32_t)) /* DXSPRI: Full */
-
-#define BITM_SPORT_CTL_A_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRPRI: No error */
-#define ENUM_SPORT_CTL_PRM_ERR (_ADI_MSK(0x20000000,uint32_t)) /* DERRPRI: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSSEC: Empty */
-#define ENUM_SPORT_CTL_SEC_PART_FULL (_ADI_MSK(0x10000000,uint32_t)) /* DXSSEC: Partially full */
-#define ENUM_SPORT_CTL_SEC_FULL (_ADI_MSK(0x18000000,uint32_t)) /* DXSSEC: Full */
-
-#define BITM_SPORT_CTL_A_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRSEC: No error */
-#define ENUM_SPORT_CTL_SEC_ERR (_ADI_MSK(0x04000000,uint32_t)) /* DERRSEC: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define ENUM_SPORT_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* SPTRAN: Receive */
-#define ENUM_SPORT_CTL_TX (_ADI_MSK(0x02000000,uint32_t)) /* SPTRAN: Transmit */
-
-#define BITM_SPORT_CTL_A_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define ENUM_SPORT_CTL_SECONDARY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENSEC: Disable */
-#define ENUM_SPORT_CTL_SECONDARY_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPENSEC: Enable */
-
-#define BITM_SPORT_CTL_A_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define ENUM_SPORT_CTL_GCLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GCLKEN: Disable */
-#define ENUM_SPORT_CTL_GCLK_EN (_ADI_MSK(0x00200000,uint32_t)) /* GCLKEN: Enable */
-
-#define BITM_SPORT_CTL_A_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define ENUM_SPORT_CTL_TXFIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TFIEN: Last word sent (DMA count done) interrupt */
-#define ENUM_SPORT_CTL_TXFIN_EN (_ADI_MSK(0x00100000,uint32_t)) /* TFIEN: Last bit sent (Tx buffer done) interrupt */
-
-#define BITM_SPORT_CTL_A_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define ENUM_SPORT_CTL_LEVEL_FS (_ADI_MSK(0x00000000,uint32_t)) /* FSED: Level detect frame sync */
-#define ENUM_SPORT_CTL_EDGE_FS (_ADI_MSK(0x00080000,uint32_t)) /* FSED: Edge detect frame sync */
-
-#define BITM_SPORT_CTL_A_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define ENUM_SPORT_CTL_RJUST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RJUST: Disable */
-#define ENUM_SPORT_CTL_RJUST_EN (_ADI_MSK(0x00040000,uint32_t)) /* RJUST: Enable */
-
-#define BITM_SPORT_CTL_A_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define ENUM_SPORT_CTL_EARLY_FS (_ADI_MSK(0x00000000,uint32_t)) /* LAFS: Early frame sync */
-#define ENUM_SPORT_CTL_LATE_FS (_ADI_MSK(0x00020000,uint32_t)) /* LAFS: Late frame sync */
-
-#define BITM_SPORT_CTL_A_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define ENUM_SPORT_CTL_FS_LO (_ADI_MSK(0x00000000,uint32_t)) /* LFS: Active high frame sync (DSP standard mode) */
-#define ENUM_SPORT_CTL_FS_HI (_ADI_MSK(0x00010000,uint32_t)) /* LFS: Active low frame sync (DSP standard mode) */
-
-#define BITM_SPORT_CTL_A_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define ENUM_SPORT_CTL_DATA_DEP_FS (_ADI_MSK(0x00000000,uint32_t)) /* DIFS: Data-dependent frame sync */
-#define ENUM_SPORT_CTL_DATA_INDP_FS (_ADI_MSK(0x00008000,uint32_t)) /* DIFS: Data-independent frame sync */
-
-#define BITM_SPORT_CTL_A_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define ENUM_SPORT_CTL_EXTERNAL_FS (_ADI_MSK(0x00000000,uint32_t)) /* IFS: External frame sync */
-#define ENUM_SPORT_CTL_INTERNAL_FS (_ADI_MSK(0x00004000,uint32_t)) /* IFS: Internal frame sync */
-
-#define BITM_SPORT_CTL_A_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define ENUM_SPORT_CTL_FS_NOT_REQ (_ADI_MSK(0x00000000,uint32_t)) /* FSR: No frame sync required */
-#define ENUM_SPORT_CTL_FS_REQ (_ADI_MSK(0x00002000,uint32_t)) /* FSR: Frame sync required */
-
-#define BITM_SPORT_CTL_A_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define ENUM_SPORT_CTL_CLK_FALL_EDGE (_ADI_MSK(0x00000000,uint32_t)) /* CKRE: Clock falling edge */
-#define ENUM_SPORT_CTL_CLK_RISE_EDGE (_ADI_MSK(0x00001000,uint32_t)) /* CKRE: Clock rising edge */
-
-#define BITM_SPORT_CTL_A_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define ENUM_SPORT_CTL_SERIAL_MC_MODE (_ADI_MSK(0x00000000,uint32_t)) /* OPMODE: DSP standard/multi-channel mode */
-#define ENUM_SPORT_CTL_I2S_MODE (_ADI_MSK(0x00000800,uint32_t)) /* OPMODE: I2S/packed/left-justified mode */
-
-#define BITM_SPORT_CTL_A_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define ENUM_SPORT_CTL_EXTERNAL_CLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLK: External clock */
-#define ENUM_SPORT_CTL_INTERNAL_CLK (_ADI_MSK(0x00000400,uint32_t)) /* ICLK: Internal clock */
-
-#define BITM_SPORT_CTL_A_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define ENUM_SPORT_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACK: Disable */
-#define ENUM_SPORT_CTL_PACK_EN (_ADI_MSK(0x00000200,uint32_t)) /* PACK: Enable */
-#define BITM_SPORT_CTL_A_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-
-#define BITM_SPORT_CTL_A_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define ENUM_SPORT_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB first sent/received (big endian) */
-#define ENUM_SPORT_CTL_LSB_FIRST (_ADI_MSK(0x00000008,uint32_t)) /* LSBF: LSB first sent/received (little endian) */
-
-#define BITM_SPORT_CTL_A_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define ENUM_SPORT_CTL_RJUSTIFY_ZFILL (_ADI_MSK(0x00000000,uint32_t)) /* DTYPE: Right-justify data, zero-fill unused MSBs */
-#define ENUM_SPORT_CTL_RJUSTIFY_SFILL (_ADI_MSK(0x00000002,uint32_t)) /* DTYPE: Right-justify data, sign-extend unused MSBs */
-#define ENUM_SPORT_CTL_USE_U_LAW (_ADI_MSK(0x00000004,uint32_t)) /* DTYPE: m-law compand data */
-#define ENUM_SPORT_CTL_USE_A_LAW (_ADI_MSK(0x00000006,uint32_t)) /* DTYPE: A-law compand data */
-
-#define BITM_SPORT_CTL_A_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define BITM_SPORT_CTL_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define ENUM_SPORT_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENPRI: Disable */
-#define ENUM_SPORT_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* SPENPRI: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_A_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_A_CLKDIV 0 /* Clock Divisor */
-#define BITP_SPORT_DIV_CLKDIV 0 /* Clock Divisor */
-#define BITM_SPORT_DIV_A_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_A_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-#define BITM_SPORT_DIV_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_A_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_A_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_A_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_A_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_A_MCE 0 /* Multichannel enable */
-#define BITP_SPORT_MCTL_MCE 0 /* Multichannel enable */
-#define BITM_SPORT_MCTL_A_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_A_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_A_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-
-#define BITM_SPORT_MCTL_A_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define ENUM_SPORT_MCTL_MCPD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCPDE: Disable */
-#define ENUM_SPORT_MCTL_MCPD_EN (_ADI_MSK(0x00000004,uint32_t)) /* MCPDE: Enable */
-
-#define BITM_SPORT_MCTL_A_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define BITM_SPORT_MCTL_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define ENUM_SPORT_MCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCE: Disable */
-#define ENUM_SPORT_MCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* MCE: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_A_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_A_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_A_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_A_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_A_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_A_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_A_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_A_CURCHAN 0 /* Current Channel */
-#define BITP_SPORT_MSTAT_CURCHAN 0 /* Current Channel */
-#define BITM_SPORT_MSTAT_A_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-#define BITM_SPORT_MSTAT_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_A_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_A_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-#define BITP_SPORT_CTL2_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-#define BITM_SPORT_CTL2_A_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define ENUM_SPORT_CTL2_CLK_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CKMUXSEL: Disable serial clock multiplexing */
-#define ENUM_SPORT_CTL2_CLK_MUX_EN (_ADI_MSK(0x00000002,uint32_t)) /* CKMUXSEL: Enable serial clock multiplexing */
-
-#define BITM_SPORT_CTL2_A_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define BITM_SPORT_CTL2_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define ENUM_SPORT_CTL2_FS_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FSMUXSEL: Disable frame sync multiplexing */
-#define ENUM_SPORT_CTL2_FS_MUX_EN (_ADI_MSK(0x00000001,uint32_t)) /* FSMUXSEL: Enable frame sync multiplexing */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_B_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_B_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_B_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_B_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_B_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_B_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_B_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_B_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_B_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_B_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_B_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_B_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_B_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_B_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_B_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_B_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_B_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_B_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_B_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_B_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_B_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_B_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_B_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-/* The fields and enumerations for SPORT_CTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL_A */
-
-#define BITM_SPORT_CTL_B_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_B_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_B_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_B_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_B_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_B_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_B_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_B_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_B_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_B_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_B_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_B_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_B_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_B_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_B_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_B_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_B_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_B_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_B_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_B_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_B_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_B_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_B_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_B_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_B_CLKDIV 0 /* Clock Divisor */
-
-/* The fields and enumerations for SPORT_DIV_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_DIV_A */
-
-#define BITM_SPORT_DIV_B_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_B_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_B_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_B_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_B_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_B_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_B_MCE 0 /* Multi-Channel Enable */
-
-/* The fields and enumerations for SPORT_MCTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MCTL_A */
-
-#define BITM_SPORT_MCTL_B_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_B_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_B_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_B_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_B_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multi-Channel Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_B_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_B_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_B_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_B_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-
-/* The fields and enumerations for SPORT_ERR_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_ERR_A */
-
-#define BITM_SPORT_ERR_B_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_B_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_B_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_B_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_B_CURCHAN 0 /* Current Channel */
-
-/* The fields and enumerations for SPORT_MSTAT_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MSTAT_A */
-
-#define BITM_SPORT_MSTAT_B_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_B_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_B_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-/* The fields and enumerations for SPORT_CTL2_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL2_A */
-
-#define BITM_SPORT_CTL2_B_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_B_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-
-/* ==================================================
- Serial Peripheral Interface Registers
- ================================================== */
-
-/* =========================
- SPI0
- ========================= */
-#define REG_SPI0_CTL 0xFFC40404 /* SPI0 Control Register */
-#define REG_SPI0_RXCTL 0xFFC40408 /* SPI0 Receive Control Register */
-#define REG_SPI0_TXCTL 0xFFC4040C /* SPI0 Transmit Control Register */
-#define REG_SPI0_CLK 0xFFC40410 /* SPI0 Clock Rate Register */
-#define REG_SPI0_DLY 0xFFC40414 /* SPI0 Delay Register */
-#define REG_SPI0_SLVSEL 0xFFC40418 /* SPI0 Slave Select Register */
-#define REG_SPI0_RWC 0xFFC4041C /* SPI0 Received Word Count Register */
-#define REG_SPI0_RWCR 0xFFC40420 /* SPI0 Received Word Count Reload Register */
-#define REG_SPI0_TWC 0xFFC40424 /* SPI0 Transmitted Word Count Register */
-#define REG_SPI0_TWCR 0xFFC40428 /* SPI0 Transmitted Word Count Reload Register */
-#define REG_SPI0_IMSK 0xFFC40430 /* SPI0 Interrupt Mask Register */
-#define REG_SPI0_IMSK_CLR 0xFFC40434 /* SPI0 Interrupt Mask Clear Register */
-#define REG_SPI0_IMSK_SET 0xFFC40438 /* SPI0 Interrupt Mask Set Register */
-#define REG_SPI0_STAT 0xFFC40440 /* SPI0 Status Register */
-#define REG_SPI0_ILAT 0xFFC40444 /* SPI0 Masked Interrupt Condition Register */
-#define REG_SPI0_ILAT_CLR 0xFFC40448 /* SPI0 Masked Interrupt Clear Register */
-#define REG_SPI0_RFIFO 0xFFC40450 /* SPI0 Receive FIFO Data Register */
-#define REG_SPI0_TFIFO 0xFFC40458 /* SPI0 Transmit FIFO Data Register */
-
-/* =========================
- SPI1
- ========================= */
-#define REG_SPI1_CTL 0xFFC40504 /* SPI1 Control Register */
-#define REG_SPI1_RXCTL 0xFFC40508 /* SPI1 Receive Control Register */
-#define REG_SPI1_TXCTL 0xFFC4050C /* SPI1 Transmit Control Register */
-#define REG_SPI1_CLK 0xFFC40510 /* SPI1 Clock Rate Register */
-#define REG_SPI1_DLY 0xFFC40514 /* SPI1 Delay Register */
-#define REG_SPI1_SLVSEL 0xFFC40518 /* SPI1 Slave Select Register */
-#define REG_SPI1_RWC 0xFFC4051C /* SPI1 Received Word Count Register */
-#define REG_SPI1_RWCR 0xFFC40520 /* SPI1 Received Word Count Reload Register */
-#define REG_SPI1_TWC 0xFFC40524 /* SPI1 Transmitted Word Count Register */
-#define REG_SPI1_TWCR 0xFFC40528 /* SPI1 Transmitted Word Count Reload Register */
-#define REG_SPI1_IMSK 0xFFC40530 /* SPI1 Interrupt Mask Register */
-#define REG_SPI1_IMSK_CLR 0xFFC40534 /* SPI1 Interrupt Mask Clear Register */
-#define REG_SPI1_IMSK_SET 0xFFC40538 /* SPI1 Interrupt Mask Set Register */
-#define REG_SPI1_STAT 0xFFC40540 /* SPI1 Status Register */
-#define REG_SPI1_ILAT 0xFFC40544 /* SPI1 Masked Interrupt Condition Register */
-#define REG_SPI1_ILAT_CLR 0xFFC40548 /* SPI1 Masked Interrupt Clear Register */
-#define REG_SPI1_RFIFO 0xFFC40550 /* SPI1 Receive FIFO Data Register */
-#define REG_SPI1_TFIFO 0xFFC40558 /* SPI1 Transmit FIFO Data Register */
-
-/* =========================
- SPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CTL_SOSI 22 /* Start on MOSI */
-#define BITP_SPI_CTL_MIOM 20 /* Multiple I/O Mode */
-#define BITP_SPI_CTL_FMODE 18 /* Fast-Mode Enable */
-#define BITP_SPI_CTL_FCWM 16 /* Flow Control Watermark */
-#define BITP_SPI_CTL_FCPL 15 /* Flow Control Polarity */
-#define BITP_SPI_CTL_FCCH 14 /* Flow Control Channel Selection */
-#define BITP_SPI_CTL_FCEN 13 /* Flow Control Enable */
-#define BITP_SPI_CTL_LSBF 12 /* Least Significant Bit First */
-#define BITP_SPI_CTL_SIZE 9 /* Word Transfer Size */
-#define BITP_SPI_CTL_EMISO 8 /* Enable MISO */
-#define BITP_SPI_CTL_SELST 7 /* Slave Select Polarity Between Transfers */
-#define BITP_SPI_CTL_ASSEL 6 /* Slave Select Pin Control */
-#define BITP_SPI_CTL_CPOL 5 /* Clock Polarity */
-#define BITP_SPI_CTL_CPHA 4 /* Clock Phase */
-#define BITP_SPI_CTL_ODM 3 /* Open Drain Mode */
-#define BITP_SPI_CTL_PSSE 2 /* Protected Slave Select Enable */
-#define BITP_SPI_CTL_MSTR 1 /* Master / Slave */
-#define BITP_SPI_CTL_EN 0 /* Enable */
-
-#define BITM_SPI_CTL_SOSI (_ADI_MSK(0x00400000,uint32_t)) /* Start on MOSI */
-#define ENUM_SPI_CTL_STMISO (_ADI_MSK(0x00000000,uint32_t)) /* SOSI: Bit 1 on MISO (DIOM) or on D3 (QIOM) */
-#define ENUM_SPI_CTL_STMOSI (_ADI_MSK(0x00400000,uint32_t)) /* SOSI: Bit 1 on MOSI (DIOM and QIOM) */
-
-#define BITM_SPI_CTL_MIOM (_ADI_MSK(0x00300000,uint32_t)) /* Multiple I/O Mode */
-#define ENUM_SPI_CTL_MIO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MIOM: No MIOM (disabled) */
-#define ENUM_SPI_CTL_MIO_DUAL (_ADI_MSK(0x00100000,uint32_t)) /* MIOM: DIOM operation */
-#define ENUM_SPI_CTL_MIO_QUAD (_ADI_MSK(0x00200000,uint32_t)) /* MIOM: QIOM operation */
-
-#define BITM_SPI_CTL_FMODE (_ADI_MSK(0x00040000,uint32_t)) /* Fast-Mode Enable */
-#define ENUM_SPI_CTL_FAST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FMODE: Disable */
-#define ENUM_SPI_CTL_FAST_EN (_ADI_MSK(0x00040000,uint32_t)) /* FMODE: Enable */
-
-#define BITM_SPI_CTL_FCWM (_ADI_MSK(0x00030000,uint32_t)) /* Flow Control Watermark */
-#define ENUM_SPI_CTL_FIFO0 (_ADI_MSK(0x00000000,uint32_t)) /* FCWM: TFIFO empty or RFIFO full */
-#define ENUM_SPI_CTL_FIFO1 (_ADI_MSK(0x00010000,uint32_t)) /* FCWM: TFIFO 75% or more empty, or RFIFO full */
-#define ENUM_SPI_CTL_FIFO2 (_ADI_MSK(0x00020000,uint32_t)) /* FCWM: TFIFO 50% or more empty, or RFIFO full */
-
-#define BITM_SPI_CTL_FCPL (_ADI_MSK(0x00008000,uint32_t)) /* Flow Control Polarity */
-#define ENUM_SPI_CTL_FLOW_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPL: Active-low RDY */
-#define ENUM_SPI_CTL_FLOW_HI (_ADI_MSK(0x00008000,uint32_t)) /* FCPL: Active-high RDY */
-
-#define BITM_SPI_CTL_FCCH (_ADI_MSK(0x00004000,uint32_t)) /* Flow Control Channel Selection */
-#define ENUM_SPI_CTL_FLOW_RX (_ADI_MSK(0x00000000,uint32_t)) /* FCCH: Flow control on RX buffer */
-#define ENUM_SPI_CTL_FLOW_TX (_ADI_MSK(0x00004000,uint32_t)) /* FCCH: Flow control on TX buffer */
-
-#define BITM_SPI_CTL_FCEN (_ADI_MSK(0x00002000,uint32_t)) /* Flow Control Enable */
-#define ENUM_SPI_CTL_FLOW_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FCEN: Disable */
-#define ENUM_SPI_CTL_FLOW_EN (_ADI_MSK(0x00002000,uint32_t)) /* FCEN: Enable */
-
-#define BITM_SPI_CTL_LSBF (_ADI_MSK(0x00001000,uint32_t)) /* Least Significant Bit First */
-#define ENUM_SPI_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB sent/received first (big endian) */
-#define ENUM_SPI_CTL_LSB_FIRST (_ADI_MSK(0x00001000,uint32_t)) /* LSBF: LSB sent/received first (little endian) */
-
-#define BITM_SPI_CTL_SIZE (_ADI_MSK(0x00000600,uint32_t)) /* Word Transfer Size */
-#define ENUM_SPI_CTL_SIZE08 (_ADI_MSK(0x00000000,uint32_t)) /* SIZE: 8-bit word */
-#define ENUM_SPI_CTL_SIZE16 (_ADI_MSK(0x00000200,uint32_t)) /* SIZE: 16-bit word */
-#define ENUM_SPI_CTL_SIZE32 (_ADI_MSK(0x00000400,uint32_t)) /* SIZE: 32-bit word */
-
-#define BITM_SPI_CTL_EMISO (_ADI_MSK(0x00000100,uint32_t)) /* Enable MISO */
-#define ENUM_SPI_CTL_MISO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMISO: Disable */
-#define ENUM_SPI_CTL_MISO_EN (_ADI_MSK(0x00000100,uint32_t)) /* EMISO: Enable */
-
-#define BITM_SPI_CTL_SELST (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select Polarity Between Transfers */
-#define ENUM_SPI_CTL_DEASSRT_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* SELST: De-assert slave select (high) */
-#define ENUM_SPI_CTL_ASSRT_SSEL (_ADI_MSK(0x00000080,uint32_t)) /* SELST: Assert slave select (low) */
-
-#define BITM_SPI_CTL_ASSEL (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select Pin Control */
-#define ENUM_SPI_CTL_SW_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* ASSEL: Software Slave Select Control */
-#define ENUM_SPI_CTL_HW_SSEL (_ADI_MSK(0x00000040,uint32_t)) /* ASSEL: Hardware Slave Select Control */
-
-#define BITM_SPI_CTL_CPOL (_ADI_MSK(0x00000020,uint32_t)) /* Clock Polarity */
-#define ENUM_SPI_CTL_SCKHI (_ADI_MSK(0x00000000,uint32_t)) /* CPOL: Active-high SPI CLK */
-#define ENUM_SPI_CTL_SCKLO (_ADI_MSK(0x00000020,uint32_t)) /* CPOL: Active-low SPI CLK */
-
-#define BITM_SPI_CTL_CPHA (_ADI_MSK(0x00000010,uint32_t)) /* Clock Phase */
-#define ENUM_SPI_CTL_SCKMID (_ADI_MSK(0x00000000,uint32_t)) /* CPHA: SPI CLK toggles from middle */
-#define ENUM_SPI_CTL_SCKBEG (_ADI_MSK(0x00000010,uint32_t)) /* CPHA: SPI CLK toggles from start */
-
-#define BITM_SPI_CTL_ODM (_ADI_MSK(0x00000008,uint32_t)) /* Open Drain Mode */
-#define ENUM_SPI_CTL_ODM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ODM: Disable */
-#define ENUM_SPI_CTL_ODM_EN (_ADI_MSK(0x00000008,uint32_t)) /* ODM: Enable */
-
-#define BITM_SPI_CTL_PSSE (_ADI_MSK(0x00000004,uint32_t)) /* Protected Slave Select Enable */
-#define ENUM_SPI_CTL_PSSE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PSSE: Disable */
-#define ENUM_SPI_CTL_PSSE_EN (_ADI_MSK(0x00000004,uint32_t)) /* PSSE: Enable */
-
-#define BITM_SPI_CTL_MSTR (_ADI_MSK(0x00000002,uint32_t)) /* Master / Slave */
-#define ENUM_SPI_CTL_SLAVE (_ADI_MSK(0x00000000,uint32_t)) /* MSTR: Slave */
-#define ENUM_SPI_CTL_MASTER (_ADI_MSK(0x00000002,uint32_t)) /* MSTR: Master */
-
-#define BITM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable SPI module */
-#define ENUM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RXCTL_RUWM 16 /* Receive FIFO Urgent Watermark */
-#define BITP_SPI_RXCTL_RRWM 12 /* Receive FIFO Regular Watermark */
-#define BITP_SPI_RXCTL_RDO 8 /* Receive Data Overrun */
-#define BITP_SPI_RXCTL_RDR 4 /* Receive Data Request */
-#define BITP_SPI_RXCTL_RWCEN 3 /* Receive Word Counter Enable */
-#define BITP_SPI_RXCTL_RTI 2 /* Receive Transfer Initiate */
-#define BITP_SPI_RXCTL_REN 0 /* Receive Enable */
-
-#define BITM_SPI_RXCTL_RUWM (_ADI_MSK(0x00070000,uint32_t)) /* Receive FIFO Urgent Watermark */
-#define ENUM_SPI_RXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disabled */
-#define ENUM_SPI_RXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* RUWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* RUWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* RUWM: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_FULL (_ADI_MSK(0x00040000,uint32_t)) /* RUWM: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RRWM (_ADI_MSK(0x00003000,uint32_t)) /* Receive FIFO Regular Watermark */
-#define ENUM_SPI_RXCTL_RWM_0 (_ADI_MSK(0x00000000,uint32_t)) /* RRWM: Empty RFIFO */
-#define ENUM_SPI_RXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* RRWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* RRWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* RRWM: 75% full RFIFO */
-
-#define BITM_SPI_RXCTL_RDO (_ADI_MSK(0x00000100,uint32_t)) /* Receive Data Overrun */
-#define ENUM_SPI_RXCTL_DISCARD (_ADI_MSK(0x00000000,uint32_t)) /* RDO: KeDiscard incoming data if SPI_RFIFO is full */
-#define ENUM_SPI_RXCTL_OVERWRITE (_ADI_MSK(0x00000100,uint32_t)) /* RDO: Overwrite old data if SPI_RFIFO is full */
-
-#define BITM_SPI_RXCTL_RDR (_ADI_MSK(0x00000070,uint32_t)) /* Receive Data Request */
-#define ENUM_SPI_RXCTL_RDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDR: Disabled */
-#define ENUM_SPI_RXCTL_RDR_NE (_ADI_MSK(0x00000010,uint32_t)) /* RDR: Not empty RFIFO */
-#define ENUM_SPI_RXCTL_RDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* RDR: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* RDR: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* RDR: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_FULL (_ADI_MSK(0x00000050,uint32_t)) /* RDR: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Receive Word Counter Enable */
-#define ENUM_SPI_RXCTL_RWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RWCEN: Disable */
-#define ENUM_SPI_RXCTL_RWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* RWCEN: Enable */
-
-#define BITM_SPI_RXCTL_RTI (_ADI_MSK(0x00000004,uint32_t)) /* Receive Transfer Initiate */
-#define ENUM_SPI_RXCTL_RTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RTI: Disable */
-#define ENUM_SPI_RXCTL_RTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* RTI: Enable */
-
-#define BITM_SPI_RXCTL_REN (_ADI_MSK(0x00000001,uint32_t)) /* Receive Enable */
-#define ENUM_SPI_RXCTL_RX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* REN: Disable */
-#define ENUM_SPI_RXCTL_RX_EN (_ADI_MSK(0x00000001,uint32_t)) /* REN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TXCTL_TUWM 16 /* FIFO Urgent Watermark */
-#define BITP_SPI_TXCTL_TRWM 12 /* FIFO Regular Watermark */
-#define BITP_SPI_TXCTL_TDU 8 /* Transmit Data Under-run */
-#define BITP_SPI_TXCTL_TDR 4 /* Transmit Data Request */
-#define BITP_SPI_TXCTL_TWCEN 3 /* Transmit Word Counter Enable */
-#define BITP_SPI_TXCTL_TTI 2 /* Transmit Transfer Initiate */
-#define BITP_SPI_TXCTL_TEN 0 /* Transmit Enable */
-
-#define BITM_SPI_TXCTL_TUWM (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Urgent Watermark */
-#define ENUM_SPI_TXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disabled */
-#define ENUM_SPI_TXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* TUWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* TUWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* TUWM: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TUWM: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TRWM (_ADI_MSK(0x00003000,uint32_t)) /* FIFO Regular Watermark */
-#define ENUM_SPI_TXCTL_RWM_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TRWM: Full TFIFO */
-#define ENUM_SPI_TXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* TRWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* TRWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* TRWM: 75% empty TFIFO */
-
-#define BITM_SPI_TXCTL_TDU (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Data Under-run */
-#define ENUM_SPI_TXCTL_LASTWD (_ADI_MSK(0x00000000,uint32_t)) /* TDU: Send last word when SPI_TFIFO is empty */
-#define ENUM_SPI_TXCTL_ZERO (_ADI_MSK(0x00000100,uint32_t)) /* TDU: Send zeros when SPI_TFIFO is empty */
-
-#define BITM_SPI_TXCTL_TDR (_ADI_MSK(0x00000070,uint32_t)) /* Transmit Data Request */
-#define ENUM_SPI_TXCTL_TDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TDR: Disabled */
-#define ENUM_SPI_TXCTL_TDR_NF (_ADI_MSK(0x00000010,uint32_t)) /* TDR: Not full TFIFO */
-#define ENUM_SPI_TXCTL_TDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* TDR: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* TDR: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* TDR: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_EMPTY (_ADI_MSK(0x00000050,uint32_t)) /* TDR: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Word Counter Enable */
-#define ENUM_SPI_TXCTL_TWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TWCEN: Disable */
-#define ENUM_SPI_TXCTL_TWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* TWCEN: Enable */
-
-#define BITM_SPI_TXCTL_TTI (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Transfer Initiate */
-#define ENUM_SPI_TXCTL_TTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TTI: Disable */
-#define ENUM_SPI_TXCTL_TTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* TTI: Enable */
-
-#define BITM_SPI_TXCTL_TEN (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Enable */
-#define ENUM_SPI_TXCTL_TX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TEN: Disable */
-#define ENUM_SPI_TXCTL_TX_EN (_ADI_MSK(0x00000001,uint32_t)) /* TEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CLK_BAUD 0 /* Baud Rate */
-#define BITM_SPI_CLK_BAUD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Baud Rate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_DLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_DLY_LAGX 9 /* Extended SPI Clock Lag Control */
-#define BITP_SPI_DLY_LEADX 8 /* Extended SPI Clock Lead Control */
-#define BITP_SPI_DLY_STOP 0 /* Transfer delay time in multiples of SPI clock period */
-#define BITM_SPI_DLY_LAGX (_ADI_MSK(0x00000200,uint32_t)) /* Extended SPI Clock Lag Control */
-#define BITM_SPI_DLY_LEADX (_ADI_MSK(0x00000100,uint32_t)) /* Extended SPI Clock Lead Control */
-#define BITM_SPI_DLY_STOP (_ADI_MSK(0x000000FF,uint32_t)) /* Transfer delay time in multiples of SPI clock period */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_SLVSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_SLVSEL_SSEL7 15 /* Slave Select 7 Input */
-#define BITP_SPI_SLVSEL_SSEL6 14 /* Slave Select 6 Input */
-#define BITP_SPI_SLVSEL_SSEL5 13 /* Slave Select 5 Input */
-#define BITP_SPI_SLVSEL_SSEL4 12 /* Slave Select 4 Input */
-#define BITP_SPI_SLVSEL_SSEL3 11 /* Slave Select 3 Input */
-#define BITP_SPI_SLVSEL_SSEL2 10 /* Slave Select 2 Input */
-#define BITP_SPI_SLVSEL_SSEL1 9 /* Slave Select 1 Input */
-#define BITP_SPI_SLVSEL_SSE7 7 /* Slave Select 7 Enable */
-#define BITP_SPI_SLVSEL_SSE6 6 /* Slave Select 6 Enable */
-#define BITP_SPI_SLVSEL_SSE5 5 /* Slave Select 5 Enable */
-#define BITP_SPI_SLVSEL_SSE4 4 /* Slave Select 4 Enable */
-#define BITP_SPI_SLVSEL_SSE3 3 /* Slave Select 3 Enable */
-#define BITP_SPI_SLVSEL_SSE2 2 /* Slave Select 2 Enable */
-#define BITP_SPI_SLVSEL_SSE1 1 /* Slave Select 1 Enable */
-
-#define BITM_SPI_SLVSEL_SSEL7 (_ADI_MSK(0x00008000,uint32_t)) /* Slave Select 7 Input */
-#define ENUM_SPI_SLVSEL_SSEL7_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL7: Low */
-#define ENUM_SPI_SLVSEL_SSEL7_HI (_ADI_MSK(0x00008000,uint32_t)) /* SSEL7: High */
-
-#define BITM_SPI_SLVSEL_SSEL6 (_ADI_MSK(0x00004000,uint32_t)) /* Slave Select 6 Input */
-#define ENUM_SPI_SLVSEL_SSEL6_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL6: Low */
-#define ENUM_SPI_SLVSEL_SSEL6_HI (_ADI_MSK(0x00004000,uint32_t)) /* SSEL6: High */
-
-#define BITM_SPI_SLVSEL_SSEL5 (_ADI_MSK(0x00002000,uint32_t)) /* Slave Select 5 Input */
-#define ENUM_SPI_SLVSEL_SSEL5_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL5: Low */
-#define ENUM_SPI_SLVSEL_SSEL5_HI (_ADI_MSK(0x00002000,uint32_t)) /* SSEL5: High */
-
-#define BITM_SPI_SLVSEL_SSEL4 (_ADI_MSK(0x00001000,uint32_t)) /* Slave Select 4 Input */
-#define ENUM_SPI_SLVSEL_SSEL4_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL4: Low */
-#define ENUM_SPI_SLVSEL_SSEL4_HI (_ADI_MSK(0x00001000,uint32_t)) /* SSEL4: High */
-
-#define BITM_SPI_SLVSEL_SSEL3 (_ADI_MSK(0x00000800,uint32_t)) /* Slave Select 3 Input */
-#define ENUM_SPI_SLVSEL_SSEL3_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL3: Low */
-#define ENUM_SPI_SLVSEL_SSEL3_HI (_ADI_MSK(0x00000800,uint32_t)) /* SSEL3: High */
-
-#define BITM_SPI_SLVSEL_SSEL2 (_ADI_MSK(0x00000400,uint32_t)) /* Slave Select 2 Input */
-#define ENUM_SPI_SLVSEL_SSEL2_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL2: Low */
-#define ENUM_SPI_SLVSEL_SSEL2_HI (_ADI_MSK(0x00000400,uint32_t)) /* SSEL2: High */
-
-#define BITM_SPI_SLVSEL_SSEL1 (_ADI_MSK(0x00000200,uint32_t)) /* Slave Select 1 Input */
-#define ENUM_SPI_SLVSEL_SSEL1_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL1: Low */
-#define ENUM_SPI_SLVSEL_SSEL1_HI (_ADI_MSK(0x00000200,uint32_t)) /* SSEL1: High */
-
-#define BITM_SPI_SLVSEL_SSE7 (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select 7 Enable */
-#define ENUM_SPI_SLVSEL_SSEL7_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE7: Disable */
-#define ENUM_SPI_SLVSEL_SSEL7_EN (_ADI_MSK(0x00000080,uint32_t)) /* SSE7: Enable */
-
-#define BITM_SPI_SLVSEL_SSE6 (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select 6 Enable */
-#define ENUM_SPI_SLVSEL_SSEL6_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE6: Disable */
-#define ENUM_SPI_SLVSEL_SSEL6_EN (_ADI_MSK(0x00000040,uint32_t)) /* SSE6: Enable */
-
-#define BITM_SPI_SLVSEL_SSE5 (_ADI_MSK(0x00000020,uint32_t)) /* Slave Select 5 Enable */
-#define ENUM_SPI_SLVSEL_SSEL5_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE5: Disable */
-#define ENUM_SPI_SLVSEL_SSEL5_EN (_ADI_MSK(0x00000020,uint32_t)) /* SSE5: Enable */
-
-#define BITM_SPI_SLVSEL_SSE4 (_ADI_MSK(0x00000010,uint32_t)) /* Slave Select 4 Enable */
-#define ENUM_SPI_SLVSEL_SSEL4_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE4: Disable */
-#define ENUM_SPI_SLVSEL_SSEL4_EN (_ADI_MSK(0x00000010,uint32_t)) /* SSE4: Enable */
-
-#define BITM_SPI_SLVSEL_SSE3 (_ADI_MSK(0x00000008,uint32_t)) /* Slave Select 3 Enable */
-#define ENUM_SPI_SLVSEL_SSEL3_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE3: Disable */
-#define ENUM_SPI_SLVSEL_SSEL3_EN (_ADI_MSK(0x00000008,uint32_t)) /* SSE3: Enable */
-
-#define BITM_SPI_SLVSEL_SSE2 (_ADI_MSK(0x00000004,uint32_t)) /* Slave Select 2 Enable */
-#define ENUM_SPI_SLVSEL_SSEL2_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE2: Disable */
-#define ENUM_SPI_SLVSEL_SSEL2_EN (_ADI_MSK(0x00000004,uint32_t)) /* SSE2: Enable */
-
-#define BITM_SPI_SLVSEL_SSE1 (_ADI_MSK(0x00000002,uint32_t)) /* Slave Select 1 Enable */
-#define ENUM_SPI_SLVSEL_SSEL1_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE1: Disable */
-#define ENUM_SPI_SLVSEL_SSEL1_EN (_ADI_MSK(0x00000002,uint32_t)) /* SSE1: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWC_VALUE 0 /* Received Word Count */
-#define BITM_SPI_RWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWCR_VALUE 0 /* Received Word Count Reload */
-#define BITM_SPI_RWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWC_VALUE 0 /* Transmitted Word Count */
-#define BITM_SPI_TWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWCR_VALUE 0 /* Transmitted Word Count Reload */
-#define BITM_SPI_TWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_TF 11 /* Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_RF 10 /* Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_TS 9 /* Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_RS 8 /* Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_MF 7 /* Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_TC 6 /* Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_TUR 5 /* Transmit Underrun Interrupt Mask */
-#define BITP_SPI_IMSK_ROR 4 /* Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_TUWM 2 /* Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_RUWM 1 /* Receive Urgent Watermark Interrupt Mask */
-
-#define BITM_SPI_IMSK_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Mask */
-#define ENUM_SPI_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: Disable (mask) interrupt */
-#define ENUM_SPI_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Mask */
-#define ENUM_SPI_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: Disable (mask) interrupt */
-#define ENUM_SPI_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Mask */
-#define ENUM_SPI_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: Disable (mask) interrupt */
-#define ENUM_SPI_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Mask */
-#define ENUM_SPI_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: Disable (mask) interrupt */
-#define ENUM_SPI_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Mask */
-#define ENUM_SPI_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: Disable (mask) interrupt */
-#define ENUM_SPI_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Mask */
-#define ENUM_SPI_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: Disable (mask) interrupt */
-#define ENUM_SPI_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Interrupt Mask */
-#define ENUM_SPI_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: Disable (mask) interrupt */
-#define ENUM_SPI_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Mask */
-#define ENUM_SPI_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: Disable (mask) interrupt */
-#define ENUM_SPI_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disable (mask) interrupt */
-#define ENUM_SPI_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disable (mask) interrupt */
-#define ENUM_SPI_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_CLR_TF 11 /* Clear Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RF 10 /* Clear Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TS 9 /* Clear Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RS 8 /* Clear Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_MF 7 /* Clear Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TC 6 /* Clear Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_ROR 4 /* Clear Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_SET_TF 11 /* Set Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RF 10 /* Set Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TS 9 /* Set Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RS 8 /* Set Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_MF 7 /* Set Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TC 6 /* Set Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUR 5 /* Set Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_SET_ROR 4 /* Set Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUWM 2 /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RUWM 1 /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_SET are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_SET_TF (_ADI_MSK(0x00000800,uint32_t)) /* Set Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RF (_ADI_MSK(0x00000400,uint32_t)) /* Set Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TS (_ADI_MSK(0x00000200,uint32_t)) /* Set Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RS (_ADI_MSK(0x00000100,uint32_t)) /* Set Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_MF (_ADI_MSK(0x00000080,uint32_t)) /* Set Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TC (_ADI_MSK(0x00000040,uint32_t)) /* Set Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Set Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_SET_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Set Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_STAT_TFF 23 /* SPI_TFIFO Full */
-#define BITP_SPI_STAT_RFE 22 /* SPI_RFIFO Empty */
-#define BITP_SPI_STAT_FCS 20 /* Flow Control Stall Indication */
-#define BITP_SPI_STAT_TFS 16 /* SPI_TFIFO Status */
-#define BITP_SPI_STAT_RFS 12 /* SPI_RFIFO Status */
-#define BITP_SPI_STAT_TF 11 /* Transmit Finish Indication */
-#define BITP_SPI_STAT_RF 10 /* Receive Finish Indication */
-#define BITP_SPI_STAT_TS 9 /* Transmit Start */
-#define BITP_SPI_STAT_RS 8 /* Receive Start */
-#define BITP_SPI_STAT_MF 7 /* Mode Fault Indication */
-#define BITP_SPI_STAT_TC 6 /* Transmit Collision Indication */
-#define BITP_SPI_STAT_TUR 5 /* Transmit Underrun Indication */
-#define BITP_SPI_STAT_ROR 4 /* Receive Overrun Indication */
-#define BITP_SPI_STAT_TUWM 2 /* Transmit Urgent Watermark Breached */
-#define BITP_SPI_STAT_RUWM 1 /* Receive Urgent Watermark Breached */
-#define BITP_SPI_STAT_SPIF 0 /* SPI Finished */
-
-#define BITM_SPI_STAT_TFF (_ADI_MSK(0x00800000,uint32_t)) /* SPI_TFIFO Full */
-#define ENUM_SPI_STAT_TFIFO_NF (_ADI_MSK(0x00000000,uint32_t)) /* TFF: Not full Tx FIFO */
-#define ENUM_SPI_STAT_TFIFO_F (_ADI_MSK(0x00800000,uint32_t)) /* TFF: Full Tx FIFO */
-
-#define BITM_SPI_STAT_RFE (_ADI_MSK(0x00400000,uint32_t)) /* SPI_RFIFO Empty */
-#define ENUM_SPI_STAT_RFIFO_E (_ADI_MSK(0x00000000,uint32_t)) /* RFE: Empty Rx FIFO */
-#define ENUM_SPI_STAT_RFIFO_NE (_ADI_MSK(0x00400000,uint32_t)) /* RFE: Not empty Rx FIFO */
-
-#define BITM_SPI_STAT_FCS (_ADI_MSK(0x00100000,uint32_t)) /* Flow Control Stall Indication */
-#define ENUM_SPI_STAT_STALL (_ADI_MSK(0x00000000,uint32_t)) /* FCS: Stall (RDY pin asserted) */
-#define ENUM_SPI_STAT_NOSTALL (_ADI_MSK(0x00100000,uint32_t)) /* FCS: No stall (RDY pin de-asserted) */
-
-#define BITM_SPI_STAT_TFS (_ADI_MSK(0x00070000,uint32_t)) /* SPI_TFIFO Status */
-#define ENUM_SPI_STAT_TFIFO_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TFS: Full TFIFO */
-#define ENUM_SPI_STAT_TFIFO_25 (_ADI_MSK(0x00010000,uint32_t)) /* TFS: 25% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_50 (_ADI_MSK(0x00020000,uint32_t)) /* TFS: 50% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_75 (_ADI_MSK(0x00030000,uint32_t)) /* TFS: 75% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TFS: Empty TFIFO */
-
-#define BITM_SPI_STAT_RFS (_ADI_MSK(0x00007000,uint32_t)) /* SPI_RFIFO Status */
-#define ENUM_SPI_STAT_RFIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RFS: Empty RFIFO */
-#define ENUM_SPI_STAT_RFIFO_25 (_ADI_MSK(0x00001000,uint32_t)) /* RFS: 25% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_50 (_ADI_MSK(0x00002000,uint32_t)) /* RFS: 50% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_75 (_ADI_MSK(0x00003000,uint32_t)) /* RFS: 75% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_FULL (_ADI_MSK(0x00004000,uint32_t)) /* RFS: Full RFIFO */
-
-#define BITM_SPI_STAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Indication */
-#define ENUM_SPI_STAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No status */
-#define ENUM_SPI_STAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Transmit finish detected */
-
-#define BITM_SPI_STAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Indication */
-#define ENUM_SPI_STAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No status */
-#define ENUM_SPI_STAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Receive finish detected */
-
-#define BITM_SPI_STAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start */
-#define ENUM_SPI_STAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No status */
-#define ENUM_SPI_STAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Transmit start detected */
-
-#define BITM_SPI_STAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start */
-#define ENUM_SPI_STAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No status */
-#define ENUM_SPI_STAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Receive start detected */
-
-#define BITM_SPI_STAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Indication */
-#define ENUM_SPI_STAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No status */
-#define ENUM_SPI_STAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Mode fault occurred */
-
-#define BITM_SPI_STAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Indication */
-#define ENUM_SPI_STAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No status */
-#define ENUM_SPI_STAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Transmit collision occurred */
-
-#define BITM_SPI_STAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Indication */
-#define ENUM_SPI_STAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No status */
-#define ENUM_SPI_STAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Transmit underrun occurred */
-
-#define BITM_SPI_STAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Indication */
-#define ENUM_SPI_STAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No status */
-#define ENUM_SPI_STAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Receive overrun occurred */
-
-#define BITM_SPI_STAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Breached */
-#define ENUM_SPI_STAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: TX Regular Watermark reached */
-#define ENUM_SPI_STAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: TX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Breached */
-#define ENUM_SPI_STAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: RX Regular Watermark reached */
-#define ENUM_SPI_STAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: RX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_SPIF (_ADI_MSK(0x00000001,uint32_t)) /* SPI Finished */
-#define ENUM_SPI_STAT_SPIF_LO (_ADI_MSK(0x00000000,uint32_t)) /* SPIF: No status */
-#define ENUM_SPI_STAT_SPIF_HI (_ADI_MSK(0x00000001,uint32_t)) /* SPIF: Completed single-word transfer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_TF 11 /* Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_RF 10 /* Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_TS 9 /* Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_RS 8 /* Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_MF 7 /* Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_TC 6 /* Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_TUR 5 /* Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_ROR 4 /* Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_TUWM 2 /* Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_RUWM 1 /* Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-
-#define BITM_SPI_ILAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No interrupt */
-#define ENUM_SPI_ILAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Latched interrupt */
-
-#define BITM_SPI_ILAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No interrupt */
-#define ENUM_SPI_ILAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Latch */
-#define ENUM_SPI_ILAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No interrupt */
-#define ENUM_SPI_ILAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Latched interrupt */
-
-#define BITM_SPI_ILAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Latch */
-#define ENUM_SPI_ILAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No interrupt */
-#define ENUM_SPI_ILAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Latched interrupt */
-
-#define BITM_SPI_ILAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Latch */
-#define ENUM_SPI_ILAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No interrupt */
-#define ENUM_SPI_ILAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Latch */
-#define ENUM_SPI_ILAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No interrupt */
-#define ENUM_SPI_ILAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Under-run Interrupt Latch */
-#define ENUM_SPI_ILAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No interrupt */
-#define ENUM_SPI_ILAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Latched interrupt */
-
-#define BITM_SPI_ILAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Latch */
-#define ENUM_SPI_ILAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No interrupt */
-#define ENUM_SPI_ILAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: No interrupt */
-#define ENUM_SPI_ILAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Latched interrupt */
-
-#define BITM_SPI_ILAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: No interrupt */
-#define ENUM_SPI_ILAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Latched interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_CLR_TF 11 /* Clear Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RF 10 /* Clear Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TS 9 /* Clear Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RS 8 /* Clear Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_MF 7 /* Clear Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TC 6 /* Clear Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_ROR 4 /* Clear Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_ILAT_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* ==================================================
- DMA Channel Registers
- ================================================== */
-
-/* =========================
- DMA0
- ========================= */
-#define REG_DMA0_DSCPTR_NXT 0xFFC41000 /* DMA0 Pointer to Next Initial Descriptor */
-#define REG_DMA0_ADDRSTART 0xFFC41004 /* DMA0 Start Address of Current Buffer */
-#define REG_DMA0_CFG 0xFFC41008 /* DMA0 Configuration Register */
-#define REG_DMA0_XCNT 0xFFC4100C /* DMA0 Inner Loop Count Start Value */
-#define REG_DMA0_XMOD 0xFFC41010 /* DMA0 Inner Loop Address Increment */
-#define REG_DMA0_YCNT 0xFFC41014 /* DMA0 Outer Loop Count Start Value (2D only) */
-#define REG_DMA0_YMOD 0xFFC41018 /* DMA0 Outer Loop Address Increment (2D only) */
-#define REG_DMA0_DSCPTR_CUR 0xFFC41024 /* DMA0 Current Descriptor Pointer */
-#define REG_DMA0_DSCPTR_PRV 0xFFC41028 /* DMA0 Previous Initial Descriptor Pointer */
-#define REG_DMA0_ADDR_CUR 0xFFC4102C /* DMA0 Current Address */
-#define REG_DMA0_STAT 0xFFC41030 /* DMA0 Status Register */
-#define REG_DMA0_XCNT_CUR 0xFFC41034 /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA0_YCNT_CUR 0xFFC41038 /* DMA0 Current Row Count (2D only) */
-#define REG_DMA0_BWLCNT 0xFFC41040 /* DMA0 Bandwidth Limit Count */
-#define REG_DMA0_BWLCNT_CUR 0xFFC41044 /* DMA0 Bandwidth Limit Count Current */
-#define REG_DMA0_BWMCNT 0xFFC41048 /* DMA0 Bandwidth Monitor Count */
-#define REG_DMA0_BWMCNT_CUR 0xFFC4104C /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA1
- ========================= */
-#define REG_DMA1_DSCPTR_NXT 0xFFC41080 /* DMA1 Pointer to Next Initial Descriptor */
-#define REG_DMA1_ADDRSTART 0xFFC41084 /* DMA1 Start Address of Current Buffer */
-#define REG_DMA1_CFG 0xFFC41088 /* DMA1 Configuration Register */
-#define REG_DMA1_XCNT 0xFFC4108C /* DMA1 Inner Loop Count Start Value */
-#define REG_DMA1_XMOD 0xFFC41090 /* DMA1 Inner Loop Address Increment */
-#define REG_DMA1_YCNT 0xFFC41094 /* DMA1 Outer Loop Count Start Value (2D only) */
-#define REG_DMA1_YMOD 0xFFC41098 /* DMA1 Outer Loop Address Increment (2D only) */
-#define REG_DMA1_DSCPTR_CUR 0xFFC410A4 /* DMA1 Current Descriptor Pointer */
-#define REG_DMA1_DSCPTR_PRV 0xFFC410A8 /* DMA1 Previous Initial Descriptor Pointer */
-#define REG_DMA1_ADDR_CUR 0xFFC410AC /* DMA1 Current Address */
-#define REG_DMA1_STAT 0xFFC410B0 /* DMA1 Status Register */
-#define REG_DMA1_XCNT_CUR 0xFFC410B4 /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA1_YCNT_CUR 0xFFC410B8 /* DMA1 Current Row Count (2D only) */
-#define REG_DMA1_BWLCNT 0xFFC410C0 /* DMA1 Bandwidth Limit Count */
-#define REG_DMA1_BWLCNT_CUR 0xFFC410C4 /* DMA1 Bandwidth Limit Count Current */
-#define REG_DMA1_BWMCNT 0xFFC410C8 /* DMA1 Bandwidth Monitor Count */
-#define REG_DMA1_BWMCNT_CUR 0xFFC410CC /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA2
- ========================= */
-#define REG_DMA2_DSCPTR_NXT 0xFFC41100 /* DMA2 Pointer to Next Initial Descriptor */
-#define REG_DMA2_ADDRSTART 0xFFC41104 /* DMA2 Start Address of Current Buffer */
-#define REG_DMA2_CFG 0xFFC41108 /* DMA2 Configuration Register */
-#define REG_DMA2_XCNT 0xFFC4110C /* DMA2 Inner Loop Count Start Value */
-#define REG_DMA2_XMOD 0xFFC41110 /* DMA2 Inner Loop Address Increment */
-#define REG_DMA2_YCNT 0xFFC41114 /* DMA2 Outer Loop Count Start Value (2D only) */
-#define REG_DMA2_YMOD 0xFFC41118 /* DMA2 Outer Loop Address Increment (2D only) */
-#define REG_DMA2_DSCPTR_CUR 0xFFC41124 /* DMA2 Current Descriptor Pointer */
-#define REG_DMA2_DSCPTR_PRV 0xFFC41128 /* DMA2 Previous Initial Descriptor Pointer */
-#define REG_DMA2_ADDR_CUR 0xFFC4112C /* DMA2 Current Address */
-#define REG_DMA2_STAT 0xFFC41130 /* DMA2 Status Register */
-#define REG_DMA2_XCNT_CUR 0xFFC41134 /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA2_YCNT_CUR 0xFFC41138 /* DMA2 Current Row Count (2D only) */
-#define REG_DMA2_BWLCNT 0xFFC41140 /* DMA2 Bandwidth Limit Count */
-#define REG_DMA2_BWLCNT_CUR 0xFFC41144 /* DMA2 Bandwidth Limit Count Current */
-#define REG_DMA2_BWMCNT 0xFFC41148 /* DMA2 Bandwidth Monitor Count */
-#define REG_DMA2_BWMCNT_CUR 0xFFC4114C /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA3
- ========================= */
-#define REG_DMA3_DSCPTR_NXT 0xFFC41180 /* DMA3 Pointer to Next Initial Descriptor */
-#define REG_DMA3_ADDRSTART 0xFFC41184 /* DMA3 Start Address of Current Buffer */
-#define REG_DMA3_CFG 0xFFC41188 /* DMA3 Configuration Register */
-#define REG_DMA3_XCNT 0xFFC4118C /* DMA3 Inner Loop Count Start Value */
-#define REG_DMA3_XMOD 0xFFC41190 /* DMA3 Inner Loop Address Increment */
-#define REG_DMA3_YCNT 0xFFC41194 /* DMA3 Outer Loop Count Start Value (2D only) */
-#define REG_DMA3_YMOD 0xFFC41198 /* DMA3 Outer Loop Address Increment (2D only) */
-#define REG_DMA3_DSCPTR_CUR 0xFFC411A4 /* DMA3 Current Descriptor Pointer */
-#define REG_DMA3_DSCPTR_PRV 0xFFC411A8 /* DMA3 Previous Initial Descriptor Pointer */
-#define REG_DMA3_ADDR_CUR 0xFFC411AC /* DMA3 Current Address */
-#define REG_DMA3_STAT 0xFFC411B0 /* DMA3 Status Register */
-#define REG_DMA3_XCNT_CUR 0xFFC411B4 /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA3_YCNT_CUR 0xFFC411B8 /* DMA3 Current Row Count (2D only) */
-#define REG_DMA3_BWLCNT 0xFFC411C0 /* DMA3 Bandwidth Limit Count */
-#define REG_DMA3_BWLCNT_CUR 0xFFC411C4 /* DMA3 Bandwidth Limit Count Current */
-#define REG_DMA3_BWMCNT 0xFFC411C8 /* DMA3 Bandwidth Monitor Count */
-#define REG_DMA3_BWMCNT_CUR 0xFFC411CC /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA4
- ========================= */
-#define REG_DMA4_DSCPTR_NXT 0xFFC41200 /* DMA4 Pointer to Next Initial Descriptor */
-#define REG_DMA4_ADDRSTART 0xFFC41204 /* DMA4 Start Address of Current Buffer */
-#define REG_DMA4_CFG 0xFFC41208 /* DMA4 Configuration Register */
-#define REG_DMA4_XCNT 0xFFC4120C /* DMA4 Inner Loop Count Start Value */
-#define REG_DMA4_XMOD 0xFFC41210 /* DMA4 Inner Loop Address Increment */
-#define REG_DMA4_YCNT 0xFFC41214 /* DMA4 Outer Loop Count Start Value (2D only) */
-#define REG_DMA4_YMOD 0xFFC41218 /* DMA4 Outer Loop Address Increment (2D only) */
-#define REG_DMA4_DSCPTR_CUR 0xFFC41224 /* DMA4 Current Descriptor Pointer */
-#define REG_DMA4_DSCPTR_PRV 0xFFC41228 /* DMA4 Previous Initial Descriptor Pointer */
-#define REG_DMA4_ADDR_CUR 0xFFC4122C /* DMA4 Current Address */
-#define REG_DMA4_STAT 0xFFC41230 /* DMA4 Status Register */
-#define REG_DMA4_XCNT_CUR 0xFFC41234 /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA4_YCNT_CUR 0xFFC41238 /* DMA4 Current Row Count (2D only) */
-#define REG_DMA4_BWLCNT 0xFFC41240 /* DMA4 Bandwidth Limit Count */
-#define REG_DMA4_BWLCNT_CUR 0xFFC41244 /* DMA4 Bandwidth Limit Count Current */
-#define REG_DMA4_BWMCNT 0xFFC41248 /* DMA4 Bandwidth Monitor Count */
-#define REG_DMA4_BWMCNT_CUR 0xFFC4124C /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA5
- ========================= */
-#define REG_DMA5_DSCPTR_NXT 0xFFC41280 /* DMA5 Pointer to Next Initial Descriptor */
-#define REG_DMA5_ADDRSTART 0xFFC41284 /* DMA5 Start Address of Current Buffer */
-#define REG_DMA5_CFG 0xFFC41288 /* DMA5 Configuration Register */
-#define REG_DMA5_XCNT 0xFFC4128C /* DMA5 Inner Loop Count Start Value */
-#define REG_DMA5_XMOD 0xFFC41290 /* DMA5 Inner Loop Address Increment */
-#define REG_DMA5_YCNT 0xFFC41294 /* DMA5 Outer Loop Count Start Value (2D only) */
-#define REG_DMA5_YMOD 0xFFC41298 /* DMA5 Outer Loop Address Increment (2D only) */
-#define REG_DMA5_DSCPTR_CUR 0xFFC412A4 /* DMA5 Current Descriptor Pointer */
-#define REG_DMA5_DSCPTR_PRV 0xFFC412A8 /* DMA5 Previous Initial Descriptor Pointer */
-#define REG_DMA5_ADDR_CUR 0xFFC412AC /* DMA5 Current Address */
-#define REG_DMA5_STAT 0xFFC412B0 /* DMA5 Status Register */
-#define REG_DMA5_XCNT_CUR 0xFFC412B4 /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA5_YCNT_CUR 0xFFC412B8 /* DMA5 Current Row Count (2D only) */
-#define REG_DMA5_BWLCNT 0xFFC412C0 /* DMA5 Bandwidth Limit Count */
-#define REG_DMA5_BWLCNT_CUR 0xFFC412C4 /* DMA5 Bandwidth Limit Count Current */
-#define REG_DMA5_BWMCNT 0xFFC412C8 /* DMA5 Bandwidth Monitor Count */
-#define REG_DMA5_BWMCNT_CUR 0xFFC412CC /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA6
- ========================= */
-#define REG_DMA6_DSCPTR_NXT 0xFFC41300 /* DMA6 Pointer to Next Initial Descriptor */
-#define REG_DMA6_ADDRSTART 0xFFC41304 /* DMA6 Start Address of Current Buffer */
-#define REG_DMA6_CFG 0xFFC41308 /* DMA6 Configuration Register */
-#define REG_DMA6_XCNT 0xFFC4130C /* DMA6 Inner Loop Count Start Value */
-#define REG_DMA6_XMOD 0xFFC41310 /* DMA6 Inner Loop Address Increment */
-#define REG_DMA6_YCNT 0xFFC41314 /* DMA6 Outer Loop Count Start Value (2D only) */
-#define REG_DMA6_YMOD 0xFFC41318 /* DMA6 Outer Loop Address Increment (2D only) */
-#define REG_DMA6_DSCPTR_CUR 0xFFC41324 /* DMA6 Current Descriptor Pointer */
-#define REG_DMA6_DSCPTR_PRV 0xFFC41328 /* DMA6 Previous Initial Descriptor Pointer */
-#define REG_DMA6_ADDR_CUR 0xFFC4132C /* DMA6 Current Address */
-#define REG_DMA6_STAT 0xFFC41330 /* DMA6 Status Register */
-#define REG_DMA6_XCNT_CUR 0xFFC41334 /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA6_YCNT_CUR 0xFFC41338 /* DMA6 Current Row Count (2D only) */
-#define REG_DMA6_BWLCNT 0xFFC41340 /* DMA6 Bandwidth Limit Count */
-#define REG_DMA6_BWLCNT_CUR 0xFFC41344 /* DMA6 Bandwidth Limit Count Current */
-#define REG_DMA6_BWMCNT 0xFFC41348 /* DMA6 Bandwidth Monitor Count */
-#define REG_DMA6_BWMCNT_CUR 0xFFC4134C /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA7
- ========================= */
-#define REG_DMA7_DSCPTR_NXT 0xFFC41380 /* DMA7 Pointer to Next Initial Descriptor */
-#define REG_DMA7_ADDRSTART 0xFFC41384 /* DMA7 Start Address of Current Buffer */
-#define REG_DMA7_CFG 0xFFC41388 /* DMA7 Configuration Register */
-#define REG_DMA7_XCNT 0xFFC4138C /* DMA7 Inner Loop Count Start Value */
-#define REG_DMA7_XMOD 0xFFC41390 /* DMA7 Inner Loop Address Increment */
-#define REG_DMA7_YCNT 0xFFC41394 /* DMA7 Outer Loop Count Start Value (2D only) */
-#define REG_DMA7_YMOD 0xFFC41398 /* DMA7 Outer Loop Address Increment (2D only) */
-#define REG_DMA7_DSCPTR_CUR 0xFFC413A4 /* DMA7 Current Descriptor Pointer */
-#define REG_DMA7_DSCPTR_PRV 0xFFC413A8 /* DMA7 Previous Initial Descriptor Pointer */
-#define REG_DMA7_ADDR_CUR 0xFFC413AC /* DMA7 Current Address */
-#define REG_DMA7_STAT 0xFFC413B0 /* DMA7 Status Register */
-#define REG_DMA7_XCNT_CUR 0xFFC413B4 /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA7_YCNT_CUR 0xFFC413B8 /* DMA7 Current Row Count (2D only) */
-#define REG_DMA7_BWLCNT 0xFFC413C0 /* DMA7 Bandwidth Limit Count */
-#define REG_DMA7_BWLCNT_CUR 0xFFC413C4 /* DMA7 Bandwidth Limit Count Current */
-#define REG_DMA7_BWMCNT 0xFFC413C8 /* DMA7 Bandwidth Monitor Count */
-#define REG_DMA7_BWMCNT_CUR 0xFFC413CC /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA8
- ========================= */
-#define REG_DMA8_DSCPTR_NXT 0xFFC41400 /* DMA8 Pointer to Next Initial Descriptor */
-#define REG_DMA8_ADDRSTART 0xFFC41404 /* DMA8 Start Address of Current Buffer */
-#define REG_DMA8_CFG 0xFFC41408 /* DMA8 Configuration Register */
-#define REG_DMA8_XCNT 0xFFC4140C /* DMA8 Inner Loop Count Start Value */
-#define REG_DMA8_XMOD 0xFFC41410 /* DMA8 Inner Loop Address Increment */
-#define REG_DMA8_YCNT 0xFFC41414 /* DMA8 Outer Loop Count Start Value (2D only) */
-#define REG_DMA8_YMOD 0xFFC41418 /* DMA8 Outer Loop Address Increment (2D only) */
-#define REG_DMA8_DSCPTR_CUR 0xFFC41424 /* DMA8 Current Descriptor Pointer */
-#define REG_DMA8_DSCPTR_PRV 0xFFC41428 /* DMA8 Previous Initial Descriptor Pointer */
-#define REG_DMA8_ADDR_CUR 0xFFC4142C /* DMA8 Current Address */
-#define REG_DMA8_STAT 0xFFC41430 /* DMA8 Status Register */
-#define REG_DMA8_XCNT_CUR 0xFFC41434 /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA8_YCNT_CUR 0xFFC41438 /* DMA8 Current Row Count (2D only) */
-#define REG_DMA8_BWLCNT 0xFFC41440 /* DMA8 Bandwidth Limit Count */
-#define REG_DMA8_BWLCNT_CUR 0xFFC41444 /* DMA8 Bandwidth Limit Count Current */
-#define REG_DMA8_BWMCNT 0xFFC41448 /* DMA8 Bandwidth Monitor Count */
-#define REG_DMA8_BWMCNT_CUR 0xFFC4144C /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA9
- ========================= */
-#define REG_DMA9_DSCPTR_NXT 0xFFC41480 /* DMA9 Pointer to Next Initial Descriptor */
-#define REG_DMA9_ADDRSTART 0xFFC41484 /* DMA9 Start Address of Current Buffer */
-#define REG_DMA9_CFG 0xFFC41488 /* DMA9 Configuration Register */
-#define REG_DMA9_XCNT 0xFFC4148C /* DMA9 Inner Loop Count Start Value */
-#define REG_DMA9_XMOD 0xFFC41490 /* DMA9 Inner Loop Address Increment */
-#define REG_DMA9_YCNT 0xFFC41494 /* DMA9 Outer Loop Count Start Value (2D only) */
-#define REG_DMA9_YMOD 0xFFC41498 /* DMA9 Outer Loop Address Increment (2D only) */
-#define REG_DMA9_DSCPTR_CUR 0xFFC414A4 /* DMA9 Current Descriptor Pointer */
-#define REG_DMA9_DSCPTR_PRV 0xFFC414A8 /* DMA9 Previous Initial Descriptor Pointer */
-#define REG_DMA9_ADDR_CUR 0xFFC414AC /* DMA9 Current Address */
-#define REG_DMA9_STAT 0xFFC414B0 /* DMA9 Status Register */
-#define REG_DMA9_XCNT_CUR 0xFFC414B4 /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA9_YCNT_CUR 0xFFC414B8 /* DMA9 Current Row Count (2D only) */
-#define REG_DMA9_BWLCNT 0xFFC414C0 /* DMA9 Bandwidth Limit Count */
-#define REG_DMA9_BWLCNT_CUR 0xFFC414C4 /* DMA9 Bandwidth Limit Count Current */
-#define REG_DMA9_BWMCNT 0xFFC414C8 /* DMA9 Bandwidth Monitor Count */
-#define REG_DMA9_BWMCNT_CUR 0xFFC414CC /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA10
- ========================= */
-#define REG_DMA10_DSCPTR_NXT 0xFFC05000 /* DMA10 Pointer to Next Initial Descriptor */
-#define REG_DMA10_ADDRSTART 0xFFC05004 /* DMA10 Start Address of Current Buffer */
-#define REG_DMA10_CFG 0xFFC05008 /* DMA10 Configuration Register */
-#define REG_DMA10_XCNT 0xFFC0500C /* DMA10 Inner Loop Count Start Value */
-#define REG_DMA10_XMOD 0xFFC05010 /* DMA10 Inner Loop Address Increment */
-#define REG_DMA10_YCNT 0xFFC05014 /* DMA10 Outer Loop Count Start Value (2D only) */
-#define REG_DMA10_YMOD 0xFFC05018 /* DMA10 Outer Loop Address Increment (2D only) */
-#define REG_DMA10_DSCPTR_CUR 0xFFC05024 /* DMA10 Current Descriptor Pointer */
-#define REG_DMA10_DSCPTR_PRV 0xFFC05028 /* DMA10 Previous Initial Descriptor Pointer */
-#define REG_DMA10_ADDR_CUR 0xFFC0502C /* DMA10 Current Address */
-#define REG_DMA10_STAT 0xFFC05030 /* DMA10 Status Register */
-#define REG_DMA10_XCNT_CUR 0xFFC05034 /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA10_YCNT_CUR 0xFFC05038 /* DMA10 Current Row Count (2D only) */
-#define REG_DMA10_BWLCNT 0xFFC05040 /* DMA10 Bandwidth Limit Count */
-#define REG_DMA10_BWLCNT_CUR 0xFFC05044 /* DMA10 Bandwidth Limit Count Current */
-#define REG_DMA10_BWMCNT 0xFFC05048 /* DMA10 Bandwidth Monitor Count */
-#define REG_DMA10_BWMCNT_CUR 0xFFC0504C /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA11
- ========================= */
-#define REG_DMA11_DSCPTR_NXT 0xFFC05080 /* DMA11 Pointer to Next Initial Descriptor */
-#define REG_DMA11_ADDRSTART 0xFFC05084 /* DMA11 Start Address of Current Buffer */
-#define REG_DMA11_CFG 0xFFC05088 /* DMA11 Configuration Register */
-#define REG_DMA11_XCNT 0xFFC0508C /* DMA11 Inner Loop Count Start Value */
-#define REG_DMA11_XMOD 0xFFC05090 /* DMA11 Inner Loop Address Increment */
-#define REG_DMA11_YCNT 0xFFC05094 /* DMA11 Outer Loop Count Start Value (2D only) */
-#define REG_DMA11_YMOD 0xFFC05098 /* DMA11 Outer Loop Address Increment (2D only) */
-#define REG_DMA11_DSCPTR_CUR 0xFFC050A4 /* DMA11 Current Descriptor Pointer */
-#define REG_DMA11_DSCPTR_PRV 0xFFC050A8 /* DMA11 Previous Initial Descriptor Pointer */
-#define REG_DMA11_ADDR_CUR 0xFFC050AC /* DMA11 Current Address */
-#define REG_DMA11_STAT 0xFFC050B0 /* DMA11 Status Register */
-#define REG_DMA11_XCNT_CUR 0xFFC050B4 /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA11_YCNT_CUR 0xFFC050B8 /* DMA11 Current Row Count (2D only) */
-#define REG_DMA11_BWLCNT 0xFFC050C0 /* DMA11 Bandwidth Limit Count */
-#define REG_DMA11_BWLCNT_CUR 0xFFC050C4 /* DMA11 Bandwidth Limit Count Current */
-#define REG_DMA11_BWMCNT 0xFFC050C8 /* DMA11 Bandwidth Monitor Count */
-#define REG_DMA11_BWMCNT_CUR 0xFFC050CC /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA12
- ========================= */
-#define REG_DMA12_DSCPTR_NXT 0xFFC05100 /* DMA12 Pointer to Next Initial Descriptor */
-#define REG_DMA12_ADDRSTART 0xFFC05104 /* DMA12 Start Address of Current Buffer */
-#define REG_DMA12_CFG 0xFFC05108 /* DMA12 Configuration Register */
-#define REG_DMA12_XCNT 0xFFC0510C /* DMA12 Inner Loop Count Start Value */
-#define REG_DMA12_XMOD 0xFFC05110 /* DMA12 Inner Loop Address Increment */
-#define REG_DMA12_YCNT 0xFFC05114 /* DMA12 Outer Loop Count Start Value (2D only) */
-#define REG_DMA12_YMOD 0xFFC05118 /* DMA12 Outer Loop Address Increment (2D only) */
-#define REG_DMA12_DSCPTR_CUR 0xFFC05124 /* DMA12 Current Descriptor Pointer */
-#define REG_DMA12_DSCPTR_PRV 0xFFC05128 /* DMA12 Previous Initial Descriptor Pointer */
-#define REG_DMA12_ADDR_CUR 0xFFC0512C /* DMA12 Current Address */
-#define REG_DMA12_STAT 0xFFC05130 /* DMA12 Status Register */
-#define REG_DMA12_XCNT_CUR 0xFFC05134 /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA12_YCNT_CUR 0xFFC05138 /* DMA12 Current Row Count (2D only) */
-#define REG_DMA12_BWLCNT 0xFFC05140 /* DMA12 Bandwidth Limit Count */
-#define REG_DMA12_BWLCNT_CUR 0xFFC05144 /* DMA12 Bandwidth Limit Count Current */
-#define REG_DMA12_BWMCNT 0xFFC05148 /* DMA12 Bandwidth Monitor Count */
-#define REG_DMA12_BWMCNT_CUR 0xFFC0514C /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA13
- ========================= */
-#define REG_DMA13_DSCPTR_NXT 0xFFC07000 /* DMA13 Pointer to Next Initial Descriptor */
-#define REG_DMA13_ADDRSTART 0xFFC07004 /* DMA13 Start Address of Current Buffer */
-#define REG_DMA13_CFG 0xFFC07008 /* DMA13 Configuration Register */
-#define REG_DMA13_XCNT 0xFFC0700C /* DMA13 Inner Loop Count Start Value */
-#define REG_DMA13_XMOD 0xFFC07010 /* DMA13 Inner Loop Address Increment */
-#define REG_DMA13_YCNT 0xFFC07014 /* DMA13 Outer Loop Count Start Value (2D only) */
-#define REG_DMA13_YMOD 0xFFC07018 /* DMA13 Outer Loop Address Increment (2D only) */
-#define REG_DMA13_DSCPTR_CUR 0xFFC07024 /* DMA13 Current Descriptor Pointer */
-#define REG_DMA13_DSCPTR_PRV 0xFFC07028 /* DMA13 Previous Initial Descriptor Pointer */
-#define REG_DMA13_ADDR_CUR 0xFFC0702C /* DMA13 Current Address */
-#define REG_DMA13_STAT 0xFFC07030 /* DMA13 Status Register */
-#define REG_DMA13_XCNT_CUR 0xFFC07034 /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA13_YCNT_CUR 0xFFC07038 /* DMA13 Current Row Count (2D only) */
-#define REG_DMA13_BWLCNT 0xFFC07040 /* DMA13 Bandwidth Limit Count */
-#define REG_DMA13_BWLCNT_CUR 0xFFC07044 /* DMA13 Bandwidth Limit Count Current */
-#define REG_DMA13_BWMCNT 0xFFC07048 /* DMA13 Bandwidth Monitor Count */
-#define REG_DMA13_BWMCNT_CUR 0xFFC0704C /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA14
- ========================= */
-#define REG_DMA14_DSCPTR_NXT 0xFFC07080 /* DMA14 Pointer to Next Initial Descriptor */
-#define REG_DMA14_ADDRSTART 0xFFC07084 /* DMA14 Start Address of Current Buffer */
-#define REG_DMA14_CFG 0xFFC07088 /* DMA14 Configuration Register */
-#define REG_DMA14_XCNT 0xFFC0708C /* DMA14 Inner Loop Count Start Value */
-#define REG_DMA14_XMOD 0xFFC07090 /* DMA14 Inner Loop Address Increment */
-#define REG_DMA14_YCNT 0xFFC07094 /* DMA14 Outer Loop Count Start Value (2D only) */
-#define REG_DMA14_YMOD 0xFFC07098 /* DMA14 Outer Loop Address Increment (2D only) */
-#define REG_DMA14_DSCPTR_CUR 0xFFC070A4 /* DMA14 Current Descriptor Pointer */
-#define REG_DMA14_DSCPTR_PRV 0xFFC070A8 /* DMA14 Previous Initial Descriptor Pointer */
-#define REG_DMA14_ADDR_CUR 0xFFC070AC /* DMA14 Current Address */
-#define REG_DMA14_STAT 0xFFC070B0 /* DMA14 Status Register */
-#define REG_DMA14_XCNT_CUR 0xFFC070B4 /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA14_YCNT_CUR 0xFFC070B8 /* DMA14 Current Row Count (2D only) */
-#define REG_DMA14_BWLCNT 0xFFC070C0 /* DMA14 Bandwidth Limit Count */
-#define REG_DMA14_BWLCNT_CUR 0xFFC070C4 /* DMA14 Bandwidth Limit Count Current */
-#define REG_DMA14_BWMCNT 0xFFC070C8 /* DMA14 Bandwidth Monitor Count */
-#define REG_DMA14_BWMCNT_CUR 0xFFC070CC /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA15
- ========================= */
-#define REG_DMA15_DSCPTR_NXT 0xFFC07100 /* DMA15 Pointer to Next Initial Descriptor */
-#define REG_DMA15_ADDRSTART 0xFFC07104 /* DMA15 Start Address of Current Buffer */
-#define REG_DMA15_CFG 0xFFC07108 /* DMA15 Configuration Register */
-#define REG_DMA15_XCNT 0xFFC0710C /* DMA15 Inner Loop Count Start Value */
-#define REG_DMA15_XMOD 0xFFC07110 /* DMA15 Inner Loop Address Increment */
-#define REG_DMA15_YCNT 0xFFC07114 /* DMA15 Outer Loop Count Start Value (2D only) */
-#define REG_DMA15_YMOD 0xFFC07118 /* DMA15 Outer Loop Address Increment (2D only) */
-#define REG_DMA15_DSCPTR_CUR 0xFFC07124 /* DMA15 Current Descriptor Pointer */
-#define REG_DMA15_DSCPTR_PRV 0xFFC07128 /* DMA15 Previous Initial Descriptor Pointer */
-#define REG_DMA15_ADDR_CUR 0xFFC0712C /* DMA15 Current Address */
-#define REG_DMA15_STAT 0xFFC07130 /* DMA15 Status Register */
-#define REG_DMA15_XCNT_CUR 0xFFC07134 /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA15_YCNT_CUR 0xFFC07138 /* DMA15 Current Row Count (2D only) */
-#define REG_DMA15_BWLCNT 0xFFC07140 /* DMA15 Bandwidth Limit Count */
-#define REG_DMA15_BWLCNT_CUR 0xFFC07144 /* DMA15 Bandwidth Limit Count Current */
-#define REG_DMA15_BWMCNT 0xFFC07148 /* DMA15 Bandwidth Monitor Count */
-#define REG_DMA15_BWMCNT_CUR 0xFFC0714C /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA16
- ========================= */
-#define REG_DMA16_DSCPTR_NXT 0xFFC07180 /* DMA16 Pointer to Next Initial Descriptor */
-#define REG_DMA16_ADDRSTART 0xFFC07184 /* DMA16 Start Address of Current Buffer */
-#define REG_DMA16_CFG 0xFFC07188 /* DMA16 Configuration Register */
-#define REG_DMA16_XCNT 0xFFC0718C /* DMA16 Inner Loop Count Start Value */
-#define REG_DMA16_XMOD 0xFFC07190 /* DMA16 Inner Loop Address Increment */
-#define REG_DMA16_YCNT 0xFFC07194 /* DMA16 Outer Loop Count Start Value (2D only) */
-#define REG_DMA16_YMOD 0xFFC07198 /* DMA16 Outer Loop Address Increment (2D only) */
-#define REG_DMA16_DSCPTR_CUR 0xFFC071A4 /* DMA16 Current Descriptor Pointer */
-#define REG_DMA16_DSCPTR_PRV 0xFFC071A8 /* DMA16 Previous Initial Descriptor Pointer */
-#define REG_DMA16_ADDR_CUR 0xFFC071AC /* DMA16 Current Address */
-#define REG_DMA16_STAT 0xFFC071B0 /* DMA16 Status Register */
-#define REG_DMA16_XCNT_CUR 0xFFC071B4 /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA16_YCNT_CUR 0xFFC071B8 /* DMA16 Current Row Count (2D only) */
-#define REG_DMA16_BWLCNT 0xFFC071C0 /* DMA16 Bandwidth Limit Count */
-#define REG_DMA16_BWLCNT_CUR 0xFFC071C4 /* DMA16 Bandwidth Limit Count Current */
-#define REG_DMA16_BWMCNT 0xFFC071C8 /* DMA16 Bandwidth Monitor Count */
-#define REG_DMA16_BWMCNT_CUR 0xFFC071CC /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA17
- ========================= */
-#define REG_DMA17_DSCPTR_NXT 0xFFC07200 /* DMA17 Pointer to Next Initial Descriptor */
-#define REG_DMA17_ADDRSTART 0xFFC07204 /* DMA17 Start Address of Current Buffer */
-#define REG_DMA17_CFG 0xFFC07208 /* DMA17 Configuration Register */
-#define REG_DMA17_XCNT 0xFFC0720C /* DMA17 Inner Loop Count Start Value */
-#define REG_DMA17_XMOD 0xFFC07210 /* DMA17 Inner Loop Address Increment */
-#define REG_DMA17_YCNT 0xFFC07214 /* DMA17 Outer Loop Count Start Value (2D only) */
-#define REG_DMA17_YMOD 0xFFC07218 /* DMA17 Outer Loop Address Increment (2D only) */
-#define REG_DMA17_DSCPTR_CUR 0xFFC07224 /* DMA17 Current Descriptor Pointer */
-#define REG_DMA17_DSCPTR_PRV 0xFFC07228 /* DMA17 Previous Initial Descriptor Pointer */
-#define REG_DMA17_ADDR_CUR 0xFFC0722C /* DMA17 Current Address */
-#define REG_DMA17_STAT 0xFFC07230 /* DMA17 Status Register */
-#define REG_DMA17_XCNT_CUR 0xFFC07234 /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA17_YCNT_CUR 0xFFC07238 /* DMA17 Current Row Count (2D only) */
-#define REG_DMA17_BWLCNT 0xFFC07240 /* DMA17 Bandwidth Limit Count */
-#define REG_DMA17_BWLCNT_CUR 0xFFC07244 /* DMA17 Bandwidth Limit Count Current */
-#define REG_DMA17_BWMCNT 0xFFC07248 /* DMA17 Bandwidth Monitor Count */
-#define REG_DMA17_BWMCNT_CUR 0xFFC0724C /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA18
- ========================= */
-#define REG_DMA18_DSCPTR_NXT 0xFFC07280 /* DMA18 Pointer to Next Initial Descriptor */
-#define REG_DMA18_ADDRSTART 0xFFC07284 /* DMA18 Start Address of Current Buffer */
-#define REG_DMA18_CFG 0xFFC07288 /* DMA18 Configuration Register */
-#define REG_DMA18_XCNT 0xFFC0728C /* DMA18 Inner Loop Count Start Value */
-#define REG_DMA18_XMOD 0xFFC07290 /* DMA18 Inner Loop Address Increment */
-#define REG_DMA18_YCNT 0xFFC07294 /* DMA18 Outer Loop Count Start Value (2D only) */
-#define REG_DMA18_YMOD 0xFFC07298 /* DMA18 Outer Loop Address Increment (2D only) */
-#define REG_DMA18_DSCPTR_CUR 0xFFC072A4 /* DMA18 Current Descriptor Pointer */
-#define REG_DMA18_DSCPTR_PRV 0xFFC072A8 /* DMA18 Previous Initial Descriptor Pointer */
-#define REG_DMA18_ADDR_CUR 0xFFC072AC /* DMA18 Current Address */
-#define REG_DMA18_STAT 0xFFC072B0 /* DMA18 Status Register */
-#define REG_DMA18_XCNT_CUR 0xFFC072B4 /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA18_YCNT_CUR 0xFFC072B8 /* DMA18 Current Row Count (2D only) */
-#define REG_DMA18_BWLCNT 0xFFC072C0 /* DMA18 Bandwidth Limit Count */
-#define REG_DMA18_BWLCNT_CUR 0xFFC072C4 /* DMA18 Bandwidth Limit Count Current */
-#define REG_DMA18_BWMCNT 0xFFC072C8 /* DMA18 Bandwidth Monitor Count */
-#define REG_DMA18_BWMCNT_CUR 0xFFC072CC /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA19
- ========================= */
-#define REG_DMA19_DSCPTR_NXT 0xFFC07300 /* DMA19 Pointer to Next Initial Descriptor */
-#define REG_DMA19_ADDRSTART 0xFFC07304 /* DMA19 Start Address of Current Buffer */
-#define REG_DMA19_CFG 0xFFC07308 /* DMA19 Configuration Register */
-#define REG_DMA19_XCNT 0xFFC0730C /* DMA19 Inner Loop Count Start Value */
-#define REG_DMA19_XMOD 0xFFC07310 /* DMA19 Inner Loop Address Increment */
-#define REG_DMA19_YCNT 0xFFC07314 /* DMA19 Outer Loop Count Start Value (2D only) */
-#define REG_DMA19_YMOD 0xFFC07318 /* DMA19 Outer Loop Address Increment (2D only) */
-#define REG_DMA19_DSCPTR_CUR 0xFFC07324 /* DMA19 Current Descriptor Pointer */
-#define REG_DMA19_DSCPTR_PRV 0xFFC07328 /* DMA19 Previous Initial Descriptor Pointer */
-#define REG_DMA19_ADDR_CUR 0xFFC0732C /* DMA19 Current Address */
-#define REG_DMA19_STAT 0xFFC07330 /* DMA19 Status Register */
-#define REG_DMA19_XCNT_CUR 0xFFC07334 /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA19_YCNT_CUR 0xFFC07338 /* DMA19 Current Row Count (2D only) */
-#define REG_DMA19_BWLCNT 0xFFC07340 /* DMA19 Bandwidth Limit Count */
-#define REG_DMA19_BWLCNT_CUR 0xFFC07344 /* DMA19 Bandwidth Limit Count Current */
-#define REG_DMA19_BWMCNT 0xFFC07348 /* DMA19 Bandwidth Monitor Count */
-#define REG_DMA19_BWMCNT_CUR 0xFFC0734C /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA20
- ========================= */
-#define REG_DMA20_DSCPTR_NXT 0xFFC07380 /* DMA20 Pointer to Next Initial Descriptor */
-#define REG_DMA20_ADDRSTART 0xFFC07384 /* DMA20 Start Address of Current Buffer */
-#define REG_DMA20_CFG 0xFFC07388 /* DMA20 Configuration Register */
-#define REG_DMA20_XCNT 0xFFC0738C /* DMA20 Inner Loop Count Start Value */
-#define REG_DMA20_XMOD 0xFFC07390 /* DMA20 Inner Loop Address Increment */
-#define REG_DMA20_YCNT 0xFFC07394 /* DMA20 Outer Loop Count Start Value (2D only) */
-#define REG_DMA20_YMOD 0xFFC07398 /* DMA20 Outer Loop Address Increment (2D only) */
-#define REG_DMA20_DSCPTR_CUR 0xFFC073A4 /* DMA20 Current Descriptor Pointer */
-#define REG_DMA20_DSCPTR_PRV 0xFFC073A8 /* DMA20 Previous Initial Descriptor Pointer */
-#define REG_DMA20_ADDR_CUR 0xFFC073AC /* DMA20 Current Address */
-#define REG_DMA20_STAT 0xFFC073B0 /* DMA20 Status Register */
-#define REG_DMA20_XCNT_CUR 0xFFC073B4 /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA20_YCNT_CUR 0xFFC073B8 /* DMA20 Current Row Count (2D only) */
-#define REG_DMA20_BWLCNT 0xFFC073C0 /* DMA20 Bandwidth Limit Count */
-#define REG_DMA20_BWLCNT_CUR 0xFFC073C4 /* DMA20 Bandwidth Limit Count Current */
-#define REG_DMA20_BWMCNT 0xFFC073C8 /* DMA20 Bandwidth Monitor Count */
-#define REG_DMA20_BWMCNT_CUR 0xFFC073CC /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA21
- ========================= */
-#define REG_DMA21_DSCPTR_NXT 0xFFC09000 /* DMA21 Pointer to Next Initial Descriptor */
-#define REG_DMA21_ADDRSTART 0xFFC09004 /* DMA21 Start Address of Current Buffer */
-#define REG_DMA21_CFG 0xFFC09008 /* DMA21 Configuration Register */
-#define REG_DMA21_XCNT 0xFFC0900C /* DMA21 Inner Loop Count Start Value */
-#define REG_DMA21_XMOD 0xFFC09010 /* DMA21 Inner Loop Address Increment */
-#define REG_DMA21_YCNT 0xFFC09014 /* DMA21 Outer Loop Count Start Value (2D only) */
-#define REG_DMA21_YMOD 0xFFC09018 /* DMA21 Outer Loop Address Increment (2D only) */
-#define REG_DMA21_DSCPTR_CUR 0xFFC09024 /* DMA21 Current Descriptor Pointer */
-#define REG_DMA21_DSCPTR_PRV 0xFFC09028 /* DMA21 Previous Initial Descriptor Pointer */
-#define REG_DMA21_ADDR_CUR 0xFFC0902C /* DMA21 Current Address */
-#define REG_DMA21_STAT 0xFFC09030 /* DMA21 Status Register */
-#define REG_DMA21_XCNT_CUR 0xFFC09034 /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA21_YCNT_CUR 0xFFC09038 /* DMA21 Current Row Count (2D only) */
-#define REG_DMA21_BWLCNT 0xFFC09040 /* DMA21 Bandwidth Limit Count */
-#define REG_DMA21_BWLCNT_CUR 0xFFC09044 /* DMA21 Bandwidth Limit Count Current */
-#define REG_DMA21_BWMCNT 0xFFC09048 /* DMA21 Bandwidth Monitor Count */
-#define REG_DMA21_BWMCNT_CUR 0xFFC0904C /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA22
- ========================= */
-#define REG_DMA22_DSCPTR_NXT 0xFFC09080 /* DMA22 Pointer to Next Initial Descriptor */
-#define REG_DMA22_ADDRSTART 0xFFC09084 /* DMA22 Start Address of Current Buffer */
-#define REG_DMA22_CFG 0xFFC09088 /* DMA22 Configuration Register */
-#define REG_DMA22_XCNT 0xFFC0908C /* DMA22 Inner Loop Count Start Value */
-#define REG_DMA22_XMOD 0xFFC09090 /* DMA22 Inner Loop Address Increment */
-#define REG_DMA22_YCNT 0xFFC09094 /* DMA22 Outer Loop Count Start Value (2D only) */
-#define REG_DMA22_YMOD 0xFFC09098 /* DMA22 Outer Loop Address Increment (2D only) */
-#define REG_DMA22_DSCPTR_CUR 0xFFC090A4 /* DMA22 Current Descriptor Pointer */
-#define REG_DMA22_DSCPTR_PRV 0xFFC090A8 /* DMA22 Previous Initial Descriptor Pointer */
-#define REG_DMA22_ADDR_CUR 0xFFC090AC /* DMA22 Current Address */
-#define REG_DMA22_STAT 0xFFC090B0 /* DMA22 Status Register */
-#define REG_DMA22_XCNT_CUR 0xFFC090B4 /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA22_YCNT_CUR 0xFFC090B8 /* DMA22 Current Row Count (2D only) */
-#define REG_DMA22_BWLCNT 0xFFC090C0 /* DMA22 Bandwidth Limit Count */
-#define REG_DMA22_BWLCNT_CUR 0xFFC090C4 /* DMA22 Bandwidth Limit Count Current */
-#define REG_DMA22_BWMCNT 0xFFC090C8 /* DMA22 Bandwidth Monitor Count */
-#define REG_DMA22_BWMCNT_CUR 0xFFC090CC /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA23
- ========================= */
-#define REG_DMA23_DSCPTR_NXT 0xFFC09100 /* DMA23 Pointer to Next Initial Descriptor */
-#define REG_DMA23_ADDRSTART 0xFFC09104 /* DMA23 Start Address of Current Buffer */
-#define REG_DMA23_CFG 0xFFC09108 /* DMA23 Configuration Register */
-#define REG_DMA23_XCNT 0xFFC0910C /* DMA23 Inner Loop Count Start Value */
-#define REG_DMA23_XMOD 0xFFC09110 /* DMA23 Inner Loop Address Increment */
-#define REG_DMA23_YCNT 0xFFC09114 /* DMA23 Outer Loop Count Start Value (2D only) */
-#define REG_DMA23_YMOD 0xFFC09118 /* DMA23 Outer Loop Address Increment (2D only) */
-#define REG_DMA23_DSCPTR_CUR 0xFFC09124 /* DMA23 Current Descriptor Pointer */
-#define REG_DMA23_DSCPTR_PRV 0xFFC09128 /* DMA23 Previous Initial Descriptor Pointer */
-#define REG_DMA23_ADDR_CUR 0xFFC0912C /* DMA23 Current Address */
-#define REG_DMA23_STAT 0xFFC09130 /* DMA23 Status Register */
-#define REG_DMA23_XCNT_CUR 0xFFC09134 /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA23_YCNT_CUR 0xFFC09138 /* DMA23 Current Row Count (2D only) */
-#define REG_DMA23_BWLCNT 0xFFC09140 /* DMA23 Bandwidth Limit Count */
-#define REG_DMA23_BWLCNT_CUR 0xFFC09144 /* DMA23 Bandwidth Limit Count Current */
-#define REG_DMA23_BWMCNT 0xFFC09148 /* DMA23 Bandwidth Monitor Count */
-#define REG_DMA23_BWMCNT_CUR 0xFFC0914C /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA24
- ========================= */
-#define REG_DMA24_DSCPTR_NXT 0xFFC09180 /* DMA24 Pointer to Next Initial Descriptor */
-#define REG_DMA24_ADDRSTART 0xFFC09184 /* DMA24 Start Address of Current Buffer */
-#define REG_DMA24_CFG 0xFFC09188 /* DMA24 Configuration Register */
-#define REG_DMA24_XCNT 0xFFC0918C /* DMA24 Inner Loop Count Start Value */
-#define REG_DMA24_XMOD 0xFFC09190 /* DMA24 Inner Loop Address Increment */
-#define REG_DMA24_YCNT 0xFFC09194 /* DMA24 Outer Loop Count Start Value (2D only) */
-#define REG_DMA24_YMOD 0xFFC09198 /* DMA24 Outer Loop Address Increment (2D only) */
-#define REG_DMA24_DSCPTR_CUR 0xFFC091A4 /* DMA24 Current Descriptor Pointer */
-#define REG_DMA24_DSCPTR_PRV 0xFFC091A8 /* DMA24 Previous Initial Descriptor Pointer */
-#define REG_DMA24_ADDR_CUR 0xFFC091AC /* DMA24 Current Address */
-#define REG_DMA24_STAT 0xFFC091B0 /* DMA24 Status Register */
-#define REG_DMA24_XCNT_CUR 0xFFC091B4 /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA24_YCNT_CUR 0xFFC091B8 /* DMA24 Current Row Count (2D only) */
-#define REG_DMA24_BWLCNT 0xFFC091C0 /* DMA24 Bandwidth Limit Count */
-#define REG_DMA24_BWLCNT_CUR 0xFFC091C4 /* DMA24 Bandwidth Limit Count Current */
-#define REG_DMA24_BWMCNT 0xFFC091C8 /* DMA24 Bandwidth Monitor Count */
-#define REG_DMA24_BWMCNT_CUR 0xFFC091CC /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA25
- ========================= */
-#define REG_DMA25_DSCPTR_NXT 0xFFC09200 /* DMA25 Pointer to Next Initial Descriptor */
-#define REG_DMA25_ADDRSTART 0xFFC09204 /* DMA25 Start Address of Current Buffer */
-#define REG_DMA25_CFG 0xFFC09208 /* DMA25 Configuration Register */
-#define REG_DMA25_XCNT 0xFFC0920C /* DMA25 Inner Loop Count Start Value */
-#define REG_DMA25_XMOD 0xFFC09210 /* DMA25 Inner Loop Address Increment */
-#define REG_DMA25_YCNT 0xFFC09214 /* DMA25 Outer Loop Count Start Value (2D only) */
-#define REG_DMA25_YMOD 0xFFC09218 /* DMA25 Outer Loop Address Increment (2D only) */
-#define REG_DMA25_DSCPTR_CUR 0xFFC09224 /* DMA25 Current Descriptor Pointer */
-#define REG_DMA25_DSCPTR_PRV 0xFFC09228 /* DMA25 Previous Initial Descriptor Pointer */
-#define REG_DMA25_ADDR_CUR 0xFFC0922C /* DMA25 Current Address */
-#define REG_DMA25_STAT 0xFFC09230 /* DMA25 Status Register */
-#define REG_DMA25_XCNT_CUR 0xFFC09234 /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA25_YCNT_CUR 0xFFC09238 /* DMA25 Current Row Count (2D only) */
-#define REG_DMA25_BWLCNT 0xFFC09240 /* DMA25 Bandwidth Limit Count */
-#define REG_DMA25_BWLCNT_CUR 0xFFC09244 /* DMA25 Bandwidth Limit Count Current */
-#define REG_DMA25_BWMCNT 0xFFC09248 /* DMA25 Bandwidth Monitor Count */
-#define REG_DMA25_BWMCNT_CUR 0xFFC0924C /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA26
- ========================= */
-#define REG_DMA26_DSCPTR_NXT 0xFFC09280 /* DMA26 Pointer to Next Initial Descriptor */
-#define REG_DMA26_ADDRSTART 0xFFC09284 /* DMA26 Start Address of Current Buffer */
-#define REG_DMA26_CFG 0xFFC09288 /* DMA26 Configuration Register */
-#define REG_DMA26_XCNT 0xFFC0928C /* DMA26 Inner Loop Count Start Value */
-#define REG_DMA26_XMOD 0xFFC09290 /* DMA26 Inner Loop Address Increment */
-#define REG_DMA26_YCNT 0xFFC09294 /* DMA26 Outer Loop Count Start Value (2D only) */
-#define REG_DMA26_YMOD 0xFFC09298 /* DMA26 Outer Loop Address Increment (2D only) */
-#define REG_DMA26_DSCPTR_CUR 0xFFC092A4 /* DMA26 Current Descriptor Pointer */
-#define REG_DMA26_DSCPTR_PRV 0xFFC092A8 /* DMA26 Previous Initial Descriptor Pointer */
-#define REG_DMA26_ADDR_CUR 0xFFC092AC /* DMA26 Current Address */
-#define REG_DMA26_STAT 0xFFC092B0 /* DMA26 Status Register */
-#define REG_DMA26_XCNT_CUR 0xFFC092B4 /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA26_YCNT_CUR 0xFFC092B8 /* DMA26 Current Row Count (2D only) */
-#define REG_DMA26_BWLCNT 0xFFC092C0 /* DMA26 Bandwidth Limit Count */
-#define REG_DMA26_BWLCNT_CUR 0xFFC092C4 /* DMA26 Bandwidth Limit Count Current */
-#define REG_DMA26_BWMCNT 0xFFC092C8 /* DMA26 Bandwidth Monitor Count */
-#define REG_DMA26_BWMCNT_CUR 0xFFC092CC /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA27
- ========================= */
-#define REG_DMA27_DSCPTR_NXT 0xFFC09300 /* DMA27 Pointer to Next Initial Descriptor */
-#define REG_DMA27_ADDRSTART 0xFFC09304 /* DMA27 Start Address of Current Buffer */
-#define REG_DMA27_CFG 0xFFC09308 /* DMA27 Configuration Register */
-#define REG_DMA27_XCNT 0xFFC0930C /* DMA27 Inner Loop Count Start Value */
-#define REG_DMA27_XMOD 0xFFC09310 /* DMA27 Inner Loop Address Increment */
-#define REG_DMA27_YCNT 0xFFC09314 /* DMA27 Outer Loop Count Start Value (2D only) */
-#define REG_DMA27_YMOD 0xFFC09318 /* DMA27 Outer Loop Address Increment (2D only) */
-#define REG_DMA27_DSCPTR_CUR 0xFFC09324 /* DMA27 Current Descriptor Pointer */
-#define REG_DMA27_DSCPTR_PRV 0xFFC09328 /* DMA27 Previous Initial Descriptor Pointer */
-#define REG_DMA27_ADDR_CUR 0xFFC0932C /* DMA27 Current Address */
-#define REG_DMA27_STAT 0xFFC09330 /* DMA27 Status Register */
-#define REG_DMA27_XCNT_CUR 0xFFC09334 /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA27_YCNT_CUR 0xFFC09338 /* DMA27 Current Row Count (2D only) */
-#define REG_DMA27_BWLCNT 0xFFC09340 /* DMA27 Bandwidth Limit Count */
-#define REG_DMA27_BWLCNT_CUR 0xFFC09344 /* DMA27 Bandwidth Limit Count Current */
-#define REG_DMA27_BWMCNT 0xFFC09348 /* DMA27 Bandwidth Monitor Count */
-#define REG_DMA27_BWMCNT_CUR 0xFFC0934C /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA28
- ========================= */
-#define REG_DMA28_DSCPTR_NXT 0xFFC09380 /* DMA28 Pointer to Next Initial Descriptor */
-#define REG_DMA28_ADDRSTART 0xFFC09384 /* DMA28 Start Address of Current Buffer */
-#define REG_DMA28_CFG 0xFFC09388 /* DMA28 Configuration Register */
-#define REG_DMA28_XCNT 0xFFC0938C /* DMA28 Inner Loop Count Start Value */
-#define REG_DMA28_XMOD 0xFFC09390 /* DMA28 Inner Loop Address Increment */
-#define REG_DMA28_YCNT 0xFFC09394 /* DMA28 Outer Loop Count Start Value (2D only) */
-#define REG_DMA28_YMOD 0xFFC09398 /* DMA28 Outer Loop Address Increment (2D only) */
-#define REG_DMA28_DSCPTR_CUR 0xFFC093A4 /* DMA28 Current Descriptor Pointer */
-#define REG_DMA28_DSCPTR_PRV 0xFFC093A8 /* DMA28 Previous Initial Descriptor Pointer */
-#define REG_DMA28_ADDR_CUR 0xFFC093AC /* DMA28 Current Address */
-#define REG_DMA28_STAT 0xFFC093B0 /* DMA28 Status Register */
-#define REG_DMA28_XCNT_CUR 0xFFC093B4 /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA28_YCNT_CUR 0xFFC093B8 /* DMA28 Current Row Count (2D only) */
-#define REG_DMA28_BWLCNT 0xFFC093C0 /* DMA28 Bandwidth Limit Count */
-#define REG_DMA28_BWLCNT_CUR 0xFFC093C4 /* DMA28 Bandwidth Limit Count Current */
-#define REG_DMA28_BWMCNT 0xFFC093C8 /* DMA28 Bandwidth Monitor Count */
-#define REG_DMA28_BWMCNT_CUR 0xFFC093CC /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA29
- ========================= */
-#define REG_DMA29_DSCPTR_NXT 0xFFC0B000 /* DMA29 Pointer to Next Initial Descriptor */
-#define REG_DMA29_ADDRSTART 0xFFC0B004 /* DMA29 Start Address of Current Buffer */
-#define REG_DMA29_CFG 0xFFC0B008 /* DMA29 Configuration Register */
-#define REG_DMA29_XCNT 0xFFC0B00C /* DMA29 Inner Loop Count Start Value */
-#define REG_DMA29_XMOD 0xFFC0B010 /* DMA29 Inner Loop Address Increment */
-#define REG_DMA29_YCNT 0xFFC0B014 /* DMA29 Outer Loop Count Start Value (2D only) */
-#define REG_DMA29_YMOD 0xFFC0B018 /* DMA29 Outer Loop Address Increment (2D only) */
-#define REG_DMA29_DSCPTR_CUR 0xFFC0B024 /* DMA29 Current Descriptor Pointer */
-#define REG_DMA29_DSCPTR_PRV 0xFFC0B028 /* DMA29 Previous Initial Descriptor Pointer */
-#define REG_DMA29_ADDR_CUR 0xFFC0B02C /* DMA29 Current Address */
-#define REG_DMA29_STAT 0xFFC0B030 /* DMA29 Status Register */
-#define REG_DMA29_XCNT_CUR 0xFFC0B034 /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA29_YCNT_CUR 0xFFC0B038 /* DMA29 Current Row Count (2D only) */
-#define REG_DMA29_BWLCNT 0xFFC0B040 /* DMA29 Bandwidth Limit Count */
-#define REG_DMA29_BWLCNT_CUR 0xFFC0B044 /* DMA29 Bandwidth Limit Count Current */
-#define REG_DMA29_BWMCNT 0xFFC0B048 /* DMA29 Bandwidth Monitor Count */
-#define REG_DMA29_BWMCNT_CUR 0xFFC0B04C /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA30
- ========================= */
-#define REG_DMA30_DSCPTR_NXT 0xFFC0B080 /* DMA30 Pointer to Next Initial Descriptor */
-#define REG_DMA30_ADDRSTART 0xFFC0B084 /* DMA30 Start Address of Current Buffer */
-#define REG_DMA30_CFG 0xFFC0B088 /* DMA30 Configuration Register */
-#define REG_DMA30_XCNT 0xFFC0B08C /* DMA30 Inner Loop Count Start Value */
-#define REG_DMA30_XMOD 0xFFC0B090 /* DMA30 Inner Loop Address Increment */
-#define REG_DMA30_YCNT 0xFFC0B094 /* DMA30 Outer Loop Count Start Value (2D only) */
-#define REG_DMA30_YMOD 0xFFC0B098 /* DMA30 Outer Loop Address Increment (2D only) */
-#define REG_DMA30_DSCPTR_CUR 0xFFC0B0A4 /* DMA30 Current Descriptor Pointer */
-#define REG_DMA30_DSCPTR_PRV 0xFFC0B0A8 /* DMA30 Previous Initial Descriptor Pointer */
-#define REG_DMA30_ADDR_CUR 0xFFC0B0AC /* DMA30 Current Address */
-#define REG_DMA30_STAT 0xFFC0B0B0 /* DMA30 Status Register */
-#define REG_DMA30_XCNT_CUR 0xFFC0B0B4 /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA30_YCNT_CUR 0xFFC0B0B8 /* DMA30 Current Row Count (2D only) */
-#define REG_DMA30_BWLCNT 0xFFC0B0C0 /* DMA30 Bandwidth Limit Count */
-#define REG_DMA30_BWLCNT_CUR 0xFFC0B0C4 /* DMA30 Bandwidth Limit Count Current */
-#define REG_DMA30_BWMCNT 0xFFC0B0C8 /* DMA30 Bandwidth Monitor Count */
-#define REG_DMA30_BWMCNT_CUR 0xFFC0B0CC /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA31
- ========================= */
-#define REG_DMA31_DSCPTR_NXT 0xFFC0B100 /* DMA31 Pointer to Next Initial Descriptor */
-#define REG_DMA31_ADDRSTART 0xFFC0B104 /* DMA31 Start Address of Current Buffer */
-#define REG_DMA31_CFG 0xFFC0B108 /* DMA31 Configuration Register */
-#define REG_DMA31_XCNT 0xFFC0B10C /* DMA31 Inner Loop Count Start Value */
-#define REG_DMA31_XMOD 0xFFC0B110 /* DMA31 Inner Loop Address Increment */
-#define REG_DMA31_YCNT 0xFFC0B114 /* DMA31 Outer Loop Count Start Value (2D only) */
-#define REG_DMA31_YMOD 0xFFC0B118 /* DMA31 Outer Loop Address Increment (2D only) */
-#define REG_DMA31_DSCPTR_CUR 0xFFC0B124 /* DMA31 Current Descriptor Pointer */
-#define REG_DMA31_DSCPTR_PRV 0xFFC0B128 /* DMA31 Previous Initial Descriptor Pointer */
-#define REG_DMA31_ADDR_CUR 0xFFC0B12C /* DMA31 Current Address */
-#define REG_DMA31_STAT 0xFFC0B130 /* DMA31 Status Register */
-#define REG_DMA31_XCNT_CUR 0xFFC0B134 /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA31_YCNT_CUR 0xFFC0B138 /* DMA31 Current Row Count (2D only) */
-#define REG_DMA31_BWLCNT 0xFFC0B140 /* DMA31 Bandwidth Limit Count */
-#define REG_DMA31_BWLCNT_CUR 0xFFC0B144 /* DMA31 Bandwidth Limit Count Current */
-#define REG_DMA31_BWMCNT 0xFFC0B148 /* DMA31 Bandwidth Monitor Count */
-#define REG_DMA31_BWMCNT_CUR 0xFFC0B14C /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA32
- ========================= */
-#define REG_DMA32_DSCPTR_NXT 0xFFC0B180 /* DMA32 Pointer to Next Initial Descriptor */
-#define REG_DMA32_ADDRSTART 0xFFC0B184 /* DMA32 Start Address of Current Buffer */
-#define REG_DMA32_CFG 0xFFC0B188 /* DMA32 Configuration Register */
-#define REG_DMA32_XCNT 0xFFC0B18C /* DMA32 Inner Loop Count Start Value */
-#define REG_DMA32_XMOD 0xFFC0B190 /* DMA32 Inner Loop Address Increment */
-#define REG_DMA32_YCNT 0xFFC0B194 /* DMA32 Outer Loop Count Start Value (2D only) */
-#define REG_DMA32_YMOD 0xFFC0B198 /* DMA32 Outer Loop Address Increment (2D only) */
-#define REG_DMA32_DSCPTR_CUR 0xFFC0B1A4 /* DMA32 Current Descriptor Pointer */
-#define REG_DMA32_DSCPTR_PRV 0xFFC0B1A8 /* DMA32 Previous Initial Descriptor Pointer */
-#define REG_DMA32_ADDR_CUR 0xFFC0B1AC /* DMA32 Current Address */
-#define REG_DMA32_STAT 0xFFC0B1B0 /* DMA32 Status Register */
-#define REG_DMA32_XCNT_CUR 0xFFC0B1B4 /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA32_YCNT_CUR 0xFFC0B1B8 /* DMA32 Current Row Count (2D only) */
-#define REG_DMA32_BWLCNT 0xFFC0B1C0 /* DMA32 Bandwidth Limit Count */
-#define REG_DMA32_BWLCNT_CUR 0xFFC0B1C4 /* DMA32 Bandwidth Limit Count Current */
-#define REG_DMA32_BWMCNT 0xFFC0B1C8 /* DMA32 Bandwidth Monitor Count */
-#define REG_DMA32_BWMCNT_CUR 0xFFC0B1CC /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA33
- ========================= */
-#define REG_DMA33_DSCPTR_NXT 0xFFC0D000 /* DMA33 Pointer to Next Initial Descriptor */
-#define REG_DMA33_ADDRSTART 0xFFC0D004 /* DMA33 Start Address of Current Buffer */
-#define REG_DMA33_CFG 0xFFC0D008 /* DMA33 Configuration Register */
-#define REG_DMA33_XCNT 0xFFC0D00C /* DMA33 Inner Loop Count Start Value */
-#define REG_DMA33_XMOD 0xFFC0D010 /* DMA33 Inner Loop Address Increment */
-#define REG_DMA33_YCNT 0xFFC0D014 /* DMA33 Outer Loop Count Start Value (2D only) */
-#define REG_DMA33_YMOD 0xFFC0D018 /* DMA33 Outer Loop Address Increment (2D only) */
-#define REG_DMA33_DSCPTR_CUR 0xFFC0D024 /* DMA33 Current Descriptor Pointer */
-#define REG_DMA33_DSCPTR_PRV 0xFFC0D028 /* DMA33 Previous Initial Descriptor Pointer */
-#define REG_DMA33_ADDR_CUR 0xFFC0D02C /* DMA33 Current Address */
-#define REG_DMA33_STAT 0xFFC0D030 /* DMA33 Status Register */
-#define REG_DMA33_XCNT_CUR 0xFFC0D034 /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA33_YCNT_CUR 0xFFC0D038 /* DMA33 Current Row Count (2D only) */
-#define REG_DMA33_BWLCNT 0xFFC0D040 /* DMA33 Bandwidth Limit Count */
-#define REG_DMA33_BWLCNT_CUR 0xFFC0D044 /* DMA33 Bandwidth Limit Count Current */
-#define REG_DMA33_BWMCNT 0xFFC0D048 /* DMA33 Bandwidth Monitor Count */
-#define REG_DMA33_BWMCNT_CUR 0xFFC0D04C /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA34
- ========================= */
-#define REG_DMA34_DSCPTR_NXT 0xFFC0D080 /* DMA34 Pointer to Next Initial Descriptor */
-#define REG_DMA34_ADDRSTART 0xFFC0D084 /* DMA34 Start Address of Current Buffer */
-#define REG_DMA34_CFG 0xFFC0D088 /* DMA34 Configuration Register */
-#define REG_DMA34_XCNT 0xFFC0D08C /* DMA34 Inner Loop Count Start Value */
-#define REG_DMA34_XMOD 0xFFC0D090 /* DMA34 Inner Loop Address Increment */
-#define REG_DMA34_YCNT 0xFFC0D094 /* DMA34 Outer Loop Count Start Value (2D only) */
-#define REG_DMA34_YMOD 0xFFC0D098 /* DMA34 Outer Loop Address Increment (2D only) */
-#define REG_DMA34_DSCPTR_CUR 0xFFC0D0A4 /* DMA34 Current Descriptor Pointer */
-#define REG_DMA34_DSCPTR_PRV 0xFFC0D0A8 /* DMA34 Previous Initial Descriptor Pointer */
-#define REG_DMA34_ADDR_CUR 0xFFC0D0AC /* DMA34 Current Address */
-#define REG_DMA34_STAT 0xFFC0D0B0 /* DMA34 Status Register */
-#define REG_DMA34_XCNT_CUR 0xFFC0D0B4 /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA34_YCNT_CUR 0xFFC0D0B8 /* DMA34 Current Row Count (2D only) */
-#define REG_DMA34_BWLCNT 0xFFC0D0C0 /* DMA34 Bandwidth Limit Count */
-#define REG_DMA34_BWLCNT_CUR 0xFFC0D0C4 /* DMA34 Bandwidth Limit Count Current */
-#define REG_DMA34_BWMCNT 0xFFC0D0C8 /* DMA34 Bandwidth Monitor Count */
-#define REG_DMA34_BWMCNT_CUR 0xFFC0D0CC /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA35
- ========================= */
-#define REG_DMA35_DSCPTR_NXT 0xFFC10000 /* DMA35 Pointer to Next Initial Descriptor */
-#define REG_DMA35_ADDRSTART 0xFFC10004 /* DMA35 Start Address of Current Buffer */
-#define REG_DMA35_CFG 0xFFC10008 /* DMA35 Configuration Register */
-#define REG_DMA35_XCNT 0xFFC1000C /* DMA35 Inner Loop Count Start Value */
-#define REG_DMA35_XMOD 0xFFC10010 /* DMA35 Inner Loop Address Increment */
-#define REG_DMA35_YCNT 0xFFC10014 /* DMA35 Outer Loop Count Start Value (2D only) */
-#define REG_DMA35_YMOD 0xFFC10018 /* DMA35 Outer Loop Address Increment (2D only) */
-#define REG_DMA35_DSCPTR_CUR 0xFFC10024 /* DMA35 Current Descriptor Pointer */
-#define REG_DMA35_DSCPTR_PRV 0xFFC10028 /* DMA35 Previous Initial Descriptor Pointer */
-#define REG_DMA35_ADDR_CUR 0xFFC1002C /* DMA35 Current Address */
-#define REG_DMA35_STAT 0xFFC10030 /* DMA35 Status Register */
-#define REG_DMA35_XCNT_CUR 0xFFC10034 /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA35_YCNT_CUR 0xFFC10038 /* DMA35 Current Row Count (2D only) */
-#define REG_DMA35_BWLCNT 0xFFC10040 /* DMA35 Bandwidth Limit Count */
-#define REG_DMA35_BWLCNT_CUR 0xFFC10044 /* DMA35 Bandwidth Limit Count Current */
-#define REG_DMA35_BWMCNT 0xFFC10048 /* DMA35 Bandwidth Monitor Count */
-#define REG_DMA35_BWMCNT_CUR 0xFFC1004C /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA36
- ========================= */
-#define REG_DMA36_DSCPTR_NXT 0xFFC10080 /* DMA36 Pointer to Next Initial Descriptor */
-#define REG_DMA36_ADDRSTART 0xFFC10084 /* DMA36 Start Address of Current Buffer */
-#define REG_DMA36_CFG 0xFFC10088 /* DMA36 Configuration Register */
-#define REG_DMA36_XCNT 0xFFC1008C /* DMA36 Inner Loop Count Start Value */
-#define REG_DMA36_XMOD 0xFFC10090 /* DMA36 Inner Loop Address Increment */
-#define REG_DMA36_YCNT 0xFFC10094 /* DMA36 Outer Loop Count Start Value (2D only) */
-#define REG_DMA36_YMOD 0xFFC10098 /* DMA36 Outer Loop Address Increment (2D only) */
-#define REG_DMA36_DSCPTR_CUR 0xFFC100A4 /* DMA36 Current Descriptor Pointer */
-#define REG_DMA36_DSCPTR_PRV 0xFFC100A8 /* DMA36 Previous Initial Descriptor Pointer */
-#define REG_DMA36_ADDR_CUR 0xFFC100AC /* DMA36 Current Address */
-#define REG_DMA36_STAT 0xFFC100B0 /* DMA36 Status Register */
-#define REG_DMA36_XCNT_CUR 0xFFC100B4 /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA36_YCNT_CUR 0xFFC100B8 /* DMA36 Current Row Count (2D only) */
-#define REG_DMA36_BWLCNT 0xFFC100C0 /* DMA36 Bandwidth Limit Count */
-#define REG_DMA36_BWLCNT_CUR 0xFFC100C4 /* DMA36 Bandwidth Limit Count Current */
-#define REG_DMA36_BWMCNT 0xFFC100C8 /* DMA36 Bandwidth Monitor Count */
-#define REG_DMA36_BWMCNT_CUR 0xFFC100CC /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA37
- ========================= */
-#define REG_DMA37_DSCPTR_NXT 0xFFC10100 /* DMA37 Pointer to Next Initial Descriptor */
-#define REG_DMA37_ADDRSTART 0xFFC10104 /* DMA37 Start Address of Current Buffer */
-#define REG_DMA37_CFG 0xFFC10108 /* DMA37 Configuration Register */
-#define REG_DMA37_XCNT 0xFFC1010C /* DMA37 Inner Loop Count Start Value */
-#define REG_DMA37_XMOD 0xFFC10110 /* DMA37 Inner Loop Address Increment */
-#define REG_DMA37_YCNT 0xFFC10114 /* DMA37 Outer Loop Count Start Value (2D only) */
-#define REG_DMA37_YMOD 0xFFC10118 /* DMA37 Outer Loop Address Increment (2D only) */
-#define REG_DMA37_DSCPTR_CUR 0xFFC10124 /* DMA37 Current Descriptor Pointer */
-#define REG_DMA37_DSCPTR_PRV 0xFFC10128 /* DMA37 Previous Initial Descriptor Pointer */
-#define REG_DMA37_ADDR_CUR 0xFFC1012C /* DMA37 Current Address */
-#define REG_DMA37_STAT 0xFFC10130 /* DMA37 Status Register */
-#define REG_DMA37_XCNT_CUR 0xFFC10134 /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA37_YCNT_CUR 0xFFC10138 /* DMA37 Current Row Count (2D only) */
-#define REG_DMA37_BWLCNT 0xFFC10140 /* DMA37 Bandwidth Limit Count */
-#define REG_DMA37_BWLCNT_CUR 0xFFC10144 /* DMA37 Bandwidth Limit Count Current */
-#define REG_DMA37_BWMCNT 0xFFC10148 /* DMA37 Bandwidth Monitor Count */
-#define REG_DMA37_BWMCNT_CUR 0xFFC1014C /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA38
- ========================= */
-#define REG_DMA38_DSCPTR_NXT 0xFFC12000 /* DMA38 Pointer to Next Initial Descriptor */
-#define REG_DMA38_ADDRSTART 0xFFC12004 /* DMA38 Start Address of Current Buffer */
-#define REG_DMA38_CFG 0xFFC12008 /* DMA38 Configuration Register */
-#define REG_DMA38_XCNT 0xFFC1200C /* DMA38 Inner Loop Count Start Value */
-#define REG_DMA38_XMOD 0xFFC12010 /* DMA38 Inner Loop Address Increment */
-#define REG_DMA38_YCNT 0xFFC12014 /* DMA38 Outer Loop Count Start Value (2D only) */
-#define REG_DMA38_YMOD 0xFFC12018 /* DMA38 Outer Loop Address Increment (2D only) */
-#define REG_DMA38_DSCPTR_CUR 0xFFC12024 /* DMA38 Current Descriptor Pointer */
-#define REG_DMA38_DSCPTR_PRV 0xFFC12028 /* DMA38 Previous Initial Descriptor Pointer */
-#define REG_DMA38_ADDR_CUR 0xFFC1202C /* DMA38 Current Address */
-#define REG_DMA38_STAT 0xFFC12030 /* DMA38 Status Register */
-#define REG_DMA38_XCNT_CUR 0xFFC12034 /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA38_YCNT_CUR 0xFFC12038 /* DMA38 Current Row Count (2D only) */
-#define REG_DMA38_BWLCNT 0xFFC12040 /* DMA38 Bandwidth Limit Count */
-#define REG_DMA38_BWLCNT_CUR 0xFFC12044 /* DMA38 Bandwidth Limit Count Current */
-#define REG_DMA38_BWMCNT 0xFFC12048 /* DMA38 Bandwidth Monitor Count */
-#define REG_DMA38_BWMCNT_CUR 0xFFC1204C /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA39
- ========================= */
-#define REG_DMA39_DSCPTR_NXT 0xFFC12080 /* DMA39 Pointer to Next Initial Descriptor */
-#define REG_DMA39_ADDRSTART 0xFFC12084 /* DMA39 Start Address of Current Buffer */
-#define REG_DMA39_CFG 0xFFC12088 /* DMA39 Configuration Register */
-#define REG_DMA39_XCNT 0xFFC1208C /* DMA39 Inner Loop Count Start Value */
-#define REG_DMA39_XMOD 0xFFC12090 /* DMA39 Inner Loop Address Increment */
-#define REG_DMA39_YCNT 0xFFC12094 /* DMA39 Outer Loop Count Start Value (2D only) */
-#define REG_DMA39_YMOD 0xFFC12098 /* DMA39 Outer Loop Address Increment (2D only) */
-#define REG_DMA39_DSCPTR_CUR 0xFFC120A4 /* DMA39 Current Descriptor Pointer */
-#define REG_DMA39_DSCPTR_PRV 0xFFC120A8 /* DMA39 Previous Initial Descriptor Pointer */
-#define REG_DMA39_ADDR_CUR 0xFFC120AC /* DMA39 Current Address */
-#define REG_DMA39_STAT 0xFFC120B0 /* DMA39 Status Register */
-#define REG_DMA39_XCNT_CUR 0xFFC120B4 /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA39_YCNT_CUR 0xFFC120B8 /* DMA39 Current Row Count (2D only) */
-#define REG_DMA39_BWLCNT 0xFFC120C0 /* DMA39 Bandwidth Limit Count */
-#define REG_DMA39_BWLCNT_CUR 0xFFC120C4 /* DMA39 Bandwidth Limit Count Current */
-#define REG_DMA39_BWMCNT 0xFFC120C8 /* DMA39 Bandwidth Monitor Count */
-#define REG_DMA39_BWMCNT_CUR 0xFFC120CC /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA40
- ========================= */
-#define REG_DMA40_DSCPTR_NXT 0xFFC12100 /* DMA40 Pointer to Next Initial Descriptor */
-#define REG_DMA40_ADDRSTART 0xFFC12104 /* DMA40 Start Address of Current Buffer */
-#define REG_DMA40_CFG 0xFFC12108 /* DMA40 Configuration Register */
-#define REG_DMA40_XCNT 0xFFC1210C /* DMA40 Inner Loop Count Start Value */
-#define REG_DMA40_XMOD 0xFFC12110 /* DMA40 Inner Loop Address Increment */
-#define REG_DMA40_YCNT 0xFFC12114 /* DMA40 Outer Loop Count Start Value (2D only) */
-#define REG_DMA40_YMOD 0xFFC12118 /* DMA40 Outer Loop Address Increment (2D only) */
-#define REG_DMA40_DSCPTR_CUR 0xFFC12124 /* DMA40 Current Descriptor Pointer */
-#define REG_DMA40_DSCPTR_PRV 0xFFC12128 /* DMA40 Previous Initial Descriptor Pointer */
-#define REG_DMA40_ADDR_CUR 0xFFC1212C /* DMA40 Current Address */
-#define REG_DMA40_STAT 0xFFC12130 /* DMA40 Status Register */
-#define REG_DMA40_XCNT_CUR 0xFFC12134 /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA40_YCNT_CUR 0xFFC12138 /* DMA40 Current Row Count (2D only) */
-#define REG_DMA40_BWLCNT 0xFFC12140 /* DMA40 Bandwidth Limit Count */
-#define REG_DMA40_BWLCNT_CUR 0xFFC12144 /* DMA40 Bandwidth Limit Count Current */
-#define REG_DMA40_BWMCNT 0xFFC12148 /* DMA40 Bandwidth Monitor Count */
-#define REG_DMA40_BWMCNT_CUR 0xFFC1214C /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA41
- ========================= */
-#define REG_DMA41_DSCPTR_NXT 0xFFC12180 /* DMA41 Pointer to Next Initial Descriptor */
-#define REG_DMA41_ADDRSTART 0xFFC12184 /* DMA41 Start Address of Current Buffer */
-#define REG_DMA41_CFG 0xFFC12188 /* DMA41 Configuration Register */
-#define REG_DMA41_XCNT 0xFFC1218C /* DMA41 Inner Loop Count Start Value */
-#define REG_DMA41_XMOD 0xFFC12190 /* DMA41 Inner Loop Address Increment */
-#define REG_DMA41_YCNT 0xFFC12194 /* DMA41 Outer Loop Count Start Value (2D only) */
-#define REG_DMA41_YMOD 0xFFC12198 /* DMA41 Outer Loop Address Increment (2D only) */
-#define REG_DMA41_DSCPTR_CUR 0xFFC121A4 /* DMA41 Current Descriptor Pointer */
-#define REG_DMA41_DSCPTR_PRV 0xFFC121A8 /* DMA41 Previous Initial Descriptor Pointer */
-#define REG_DMA41_ADDR_CUR 0xFFC121AC /* DMA41 Current Address */
-#define REG_DMA41_STAT 0xFFC121B0 /* DMA41 Status Register */
-#define REG_DMA41_XCNT_CUR 0xFFC121B4 /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA41_YCNT_CUR 0xFFC121B8 /* DMA41 Current Row Count (2D only) */
-#define REG_DMA41_BWLCNT 0xFFC121C0 /* DMA41 Bandwidth Limit Count */
-#define REG_DMA41_BWLCNT_CUR 0xFFC121C4 /* DMA41 Bandwidth Limit Count Current */
-#define REG_DMA41_BWMCNT 0xFFC121C8 /* DMA41 Bandwidth Monitor Count */
-#define REG_DMA41_BWMCNT_CUR 0xFFC121CC /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA42
- ========================= */
-#define REG_DMA42_DSCPTR_NXT 0xFFC14000 /* DMA42 Pointer to Next Initial Descriptor */
-#define REG_DMA42_ADDRSTART 0xFFC14004 /* DMA42 Start Address of Current Buffer */
-#define REG_DMA42_CFG 0xFFC14008 /* DMA42 Configuration Register */
-#define REG_DMA42_XCNT 0xFFC1400C /* DMA42 Inner Loop Count Start Value */
-#define REG_DMA42_XMOD 0xFFC14010 /* DMA42 Inner Loop Address Increment */
-#define REG_DMA42_YCNT 0xFFC14014 /* DMA42 Outer Loop Count Start Value (2D only) */
-#define REG_DMA42_YMOD 0xFFC14018 /* DMA42 Outer Loop Address Increment (2D only) */
-#define REG_DMA42_DSCPTR_CUR 0xFFC14024 /* DMA42 Current Descriptor Pointer */
-#define REG_DMA42_DSCPTR_PRV 0xFFC14028 /* DMA42 Previous Initial Descriptor Pointer */
-#define REG_DMA42_ADDR_CUR 0xFFC1402C /* DMA42 Current Address */
-#define REG_DMA42_STAT 0xFFC14030 /* DMA42 Status Register */
-#define REG_DMA42_XCNT_CUR 0xFFC14034 /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA42_YCNT_CUR 0xFFC14038 /* DMA42 Current Row Count (2D only) */
-#define REG_DMA42_BWLCNT 0xFFC14040 /* DMA42 Bandwidth Limit Count */
-#define REG_DMA42_BWLCNT_CUR 0xFFC14044 /* DMA42 Bandwidth Limit Count Current */
-#define REG_DMA42_BWMCNT 0xFFC14048 /* DMA42 Bandwidth Monitor Count */
-#define REG_DMA42_BWMCNT_CUR 0xFFC1404C /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA43
- ========================= */
-#define REG_DMA43_DSCPTR_NXT 0xFFC14080 /* DMA43 Pointer to Next Initial Descriptor */
-#define REG_DMA43_ADDRSTART 0xFFC14084 /* DMA43 Start Address of Current Buffer */
-#define REG_DMA43_CFG 0xFFC14088 /* DMA43 Configuration Register */
-#define REG_DMA43_XCNT 0xFFC1408C /* DMA43 Inner Loop Count Start Value */
-#define REG_DMA43_XMOD 0xFFC14090 /* DMA43 Inner Loop Address Increment */
-#define REG_DMA43_YCNT 0xFFC14094 /* DMA43 Outer Loop Count Start Value (2D only) */
-#define REG_DMA43_YMOD 0xFFC14098 /* DMA43 Outer Loop Address Increment (2D only) */
-#define REG_DMA43_DSCPTR_CUR 0xFFC140A4 /* DMA43 Current Descriptor Pointer */
-#define REG_DMA43_DSCPTR_PRV 0xFFC140A8 /* DMA43 Previous Initial Descriptor Pointer */
-#define REG_DMA43_ADDR_CUR 0xFFC140AC /* DMA43 Current Address */
-#define REG_DMA43_STAT 0xFFC140B0 /* DMA43 Status Register */
-#define REG_DMA43_XCNT_CUR 0xFFC140B4 /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA43_YCNT_CUR 0xFFC140B8 /* DMA43 Current Row Count (2D only) */
-#define REG_DMA43_BWLCNT 0xFFC140C0 /* DMA43 Bandwidth Limit Count */
-#define REG_DMA43_BWLCNT_CUR 0xFFC140C4 /* DMA43 Bandwidth Limit Count Current */
-#define REG_DMA43_BWMCNT 0xFFC140C8 /* DMA43 Bandwidth Monitor Count */
-#define REG_DMA43_BWMCNT_CUR 0xFFC140CC /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA44
- ========================= */
-#define REG_DMA44_DSCPTR_NXT 0xFFC14100 /* DMA44 Pointer to Next Initial Descriptor */
-#define REG_DMA44_ADDRSTART 0xFFC14104 /* DMA44 Start Address of Current Buffer */
-#define REG_DMA44_CFG 0xFFC14108 /* DMA44 Configuration Register */
-#define REG_DMA44_XCNT 0xFFC1410C /* DMA44 Inner Loop Count Start Value */
-#define REG_DMA44_XMOD 0xFFC14110 /* DMA44 Inner Loop Address Increment */
-#define REG_DMA44_YCNT 0xFFC14114 /* DMA44 Outer Loop Count Start Value (2D only) */
-#define REG_DMA44_YMOD 0xFFC14118 /* DMA44 Outer Loop Address Increment (2D only) */
-#define REG_DMA44_DSCPTR_CUR 0xFFC14124 /* DMA44 Current Descriptor Pointer */
-#define REG_DMA44_DSCPTR_PRV 0xFFC14128 /* DMA44 Previous Initial Descriptor Pointer */
-#define REG_DMA44_ADDR_CUR 0xFFC1412C /* DMA44 Current Address */
-#define REG_DMA44_STAT 0xFFC14130 /* DMA44 Status Register */
-#define REG_DMA44_XCNT_CUR 0xFFC14134 /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA44_YCNT_CUR 0xFFC14138 /* DMA44 Current Row Count (2D only) */
-#define REG_DMA44_BWLCNT 0xFFC14140 /* DMA44 Bandwidth Limit Count */
-#define REG_DMA44_BWLCNT_CUR 0xFFC14144 /* DMA44 Bandwidth Limit Count Current */
-#define REG_DMA44_BWMCNT 0xFFC14148 /* DMA44 Bandwidth Monitor Count */
-#define REG_DMA44_BWMCNT_CUR 0xFFC1414C /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA45
- ========================= */
-#define REG_DMA45_DSCPTR_NXT 0xFFC14180 /* DMA45 Pointer to Next Initial Descriptor */
-#define REG_DMA45_ADDRSTART 0xFFC14184 /* DMA45 Start Address of Current Buffer */
-#define REG_DMA45_CFG 0xFFC14188 /* DMA45 Configuration Register */
-#define REG_DMA45_XCNT 0xFFC1418C /* DMA45 Inner Loop Count Start Value */
-#define REG_DMA45_XMOD 0xFFC14190 /* DMA45 Inner Loop Address Increment */
-#define REG_DMA45_YCNT 0xFFC14194 /* DMA45 Outer Loop Count Start Value (2D only) */
-#define REG_DMA45_YMOD 0xFFC14198 /* DMA45 Outer Loop Address Increment (2D only) */
-#define REG_DMA45_DSCPTR_CUR 0xFFC141A4 /* DMA45 Current Descriptor Pointer */
-#define REG_DMA45_DSCPTR_PRV 0xFFC141A8 /* DMA45 Previous Initial Descriptor Pointer */
-#define REG_DMA45_ADDR_CUR 0xFFC141AC /* DMA45 Current Address */
-#define REG_DMA45_STAT 0xFFC141B0 /* DMA45 Status Register */
-#define REG_DMA45_XCNT_CUR 0xFFC141B4 /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA45_YCNT_CUR 0xFFC141B8 /* DMA45 Current Row Count (2D only) */
-#define REG_DMA45_BWLCNT 0xFFC141C0 /* DMA45 Bandwidth Limit Count */
-#define REG_DMA45_BWLCNT_CUR 0xFFC141C4 /* DMA45 Bandwidth Limit Count Current */
-#define REG_DMA45_BWMCNT 0xFFC141C8 /* DMA45 Bandwidth Monitor Count */
-#define REG_DMA45_BWMCNT_CUR 0xFFC141CC /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA46
- ========================= */
-#define REG_DMA46_DSCPTR_NXT 0xFFC14200 /* DMA46 Pointer to Next Initial Descriptor */
-#define REG_DMA46_ADDRSTART 0xFFC14204 /* DMA46 Start Address of Current Buffer */
-#define REG_DMA46_CFG 0xFFC14208 /* DMA46 Configuration Register */
-#define REG_DMA46_XCNT 0xFFC1420C /* DMA46 Inner Loop Count Start Value */
-#define REG_DMA46_XMOD 0xFFC14210 /* DMA46 Inner Loop Address Increment */
-#define REG_DMA46_YCNT 0xFFC14214 /* DMA46 Outer Loop Count Start Value (2D only) */
-#define REG_DMA46_YMOD 0xFFC14218 /* DMA46 Outer Loop Address Increment (2D only) */
-#define REG_DMA46_DSCPTR_CUR 0xFFC14224 /* DMA46 Current Descriptor Pointer */
-#define REG_DMA46_DSCPTR_PRV 0xFFC14228 /* DMA46 Previous Initial Descriptor Pointer */
-#define REG_DMA46_ADDR_CUR 0xFFC1422C /* DMA46 Current Address */
-#define REG_DMA46_STAT 0xFFC14230 /* DMA46 Status Register */
-#define REG_DMA46_XCNT_CUR 0xFFC14234 /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA46_YCNT_CUR 0xFFC14238 /* DMA46 Current Row Count (2D only) */
-#define REG_DMA46_BWLCNT 0xFFC14240 /* DMA46 Bandwidth Limit Count */
-#define REG_DMA46_BWLCNT_CUR 0xFFC14244 /* DMA46 Bandwidth Limit Count Current */
-#define REG_DMA46_BWMCNT 0xFFC14248 /* DMA46 Bandwidth Monitor Count */
-#define REG_DMA46_BWMCNT_CUR 0xFFC1424C /* DMA46 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_CFG_PDRF 28 /* Peripheral Data Request Forward */
-#define BITP_DMA_CFG_TWOD 26 /* Two Dimension Addressing Enable */
-#define BITP_DMA_CFG_DESCIDCPY 25 /* Descriptor ID Copy Control */
-#define BITP_DMA_CFG_TOVEN 24 /* Trigger Overrun Error Enable */
-#define BITP_DMA_CFG_TRIG 22 /* Generate Outgoing Trigger */
-#define BITP_DMA_CFG_INT 20 /* Generate Interrupt */
-#define BITP_DMA_CFG_NDSIZE 16 /* Next Descriptor Set Size */
-#define BITP_DMA_CFG_TWAIT 15 /* Wait for Trigger */
-#define BITP_DMA_CFG_FLOW 12 /* Next Operation */
-#define BITP_DMA_CFG_MSIZE 8 /* Memory Transfer Word Size */
-#define BITP_DMA_CFG_PSIZE 4 /* Peripheral Transfer Word Size */
-#define BITP_DMA_CFG_CADDR 3 /* Use Current Address */
-#define BITP_DMA_CFG_SYNC 2 /* Synchronize Work Unit Transitions */
-#define BITP_DMA_CFG_WNR 1 /* Write/Read Channel Direction */
-#define BITP_DMA_CFG_EN 0 /* DMA Channel Enable */
-
-#define BITM_DMA_CFG_PDRF (_ADI_MSK(0x10000000,uint32_t)) /* Peripheral Data Request Forward */
-#define ENUM_DMA_CFG_PDAT_NOTFWD (_ADI_MSK(0x00000000,uint32_t)) /* PDRF: Peripheral Data Request Not Forwarded */
-#define ENUM_DMA_CFG_PDAT_FWD (_ADI_MSK(0x10000000,uint32_t)) /* PDRF: Peripheral Data Request Forwarded */
-
-#define BITM_DMA_CFG_TWOD (_ADI_MSK(0x04000000,uint32_t)) /* Two Dimension Addressing Enable */
-#define ENUM_DMA_CFG_ADDR1D (_ADI_MSK(0x00000000,uint32_t)) /* TWOD: One-Dimensional Addressing */
-#define ENUM_DMA_CFG_ADDR2D (_ADI_MSK(0x04000000,uint32_t)) /* TWOD: Two-Dimensional Addressing */
-
-#define BITM_DMA_CFG_DESCIDCPY (_ADI_MSK(0x02000000,uint32_t)) /* Descriptor ID Copy Control */
-#define ENUM_DMA_CFG_NO_COPY (_ADI_MSK(0x00000000,uint32_t)) /* DESCIDCPY: Never Copy */
-#define ENUM_DMA_CFG_COPY (_ADI_MSK(0x02000000,uint32_t)) /* DESCIDCPY: Copy on Work Unit Complete */
-
-#define BITM_DMA_CFG_TOVEN (_ADI_MSK(0x01000000,uint32_t)) /* Trigger Overrun Error Enable */
-#define ENUM_DMA_CFG_TOV_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOVEN: Ignore Trigger Overrun */
-#define ENUM_DMA_CFG_TOV_EN (_ADI_MSK(0x01000000,uint32_t)) /* TOVEN: Error on Trigger Overrun */
-
-#define BITM_DMA_CFG_TRIG (_ADI_MSK(0x00C00000,uint32_t)) /* Generate Outgoing Trigger */
-#define ENUM_DMA_CFG_NO_TRIG (_ADI_MSK(0x00000000,uint32_t)) /* TRIG: Never assert Trigger */
-#define ENUM_DMA_CFG_XCNT_TRIG (_ADI_MSK(0x00400000,uint32_t)) /* TRIG: Trigger when XCNTCUR reaches 0 */
-#define ENUM_DMA_CFG_YCNT_TRIG (_ADI_MSK(0x00800000,uint32_t)) /* TRIG: Trigger when YCNTCUR reaches 0 */
-
-#define BITM_DMA_CFG_INT (_ADI_MSK(0x00300000,uint32_t)) /* Generate Interrupt */
-#define ENUM_DMA_CFG_NO_INT (_ADI_MSK(0x00000000,uint32_t)) /* INT: Never assert Interrupt */
-#define ENUM_DMA_CFG_XCNT_INT (_ADI_MSK(0x00100000,uint32_t)) /* INT: Interrupt when X Count Expires */
-#define ENUM_DMA_CFG_YCNT_INT (_ADI_MSK(0x00200000,uint32_t)) /* INT: Interrupt when Y Count Expires */
-#define ENUM_DMA_CFG_PERIPH_INT (_ADI_MSK(0x00300000,uint32_t)) /* INT: Peripheral Interrupt */
-
-#define BITM_DMA_CFG_NDSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Next Descriptor Set Size */
-#define ENUM_DMA_CFG_FETCH01 (_ADI_MSK(0x00000000,uint32_t)) /* NDSIZE: Fetch one Descriptor Element */
-#define ENUM_DMA_CFG_FETCH02 (_ADI_MSK(0x00010000,uint32_t)) /* NDSIZE: Fetch two Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH03 (_ADI_MSK(0x00020000,uint32_t)) /* NDSIZE: Fetch three Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH04 (_ADI_MSK(0x00030000,uint32_t)) /* NDSIZE: Fetch four Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH05 (_ADI_MSK(0x00040000,uint32_t)) /* NDSIZE: Fetch five Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH06 (_ADI_MSK(0x00050000,uint32_t)) /* NDSIZE: Fetch six Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH07 (_ADI_MSK(0x00060000,uint32_t)) /* NDSIZE: Fetch seven Descriptor Elements */
-
-#define BITM_DMA_CFG_TWAIT (_ADI_MSK(0x00008000,uint32_t)) /* Wait for Trigger */
-#define ENUM_DMA_CFG_NO_TRGWAIT (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: Begin Work Unit Automatically (No Wait) */
-#define ENUM_DMA_CFG_TRGWAIT (_ADI_MSK(0x00008000,uint32_t)) /* TWAIT: Wait for Trigger (Halt before Work Unit) */
-
-#define BITM_DMA_CFG_FLOW (_ADI_MSK(0x00007000,uint32_t)) /* Next Operation */
-#define ENUM_DMA_CFG_STOP (_ADI_MSK(0x00000000,uint32_t)) /* FLOW: STOP - Stop */
-#define ENUM_DMA_CFG_AUTO (_ADI_MSK(0x00001000,uint32_t)) /* FLOW: AUTO - Autobuffer */
-#define ENUM_DMA_CFG_DSCLIST (_ADI_MSK(0x00004000,uint32_t)) /* FLOW: DSCL - Descriptor List */
-#define ENUM_DMA_CFG_DSCARRAY (_ADI_MSK(0x00005000,uint32_t)) /* FLOW: DSCA - Descriptor Array */
-#define ENUM_DMA_CFG_DODLIST (_ADI_MSK(0x00006000,uint32_t)) /* FLOW: Descriptor On Demand List */
-#define ENUM_DMA_CFG_DODARRAY (_ADI_MSK(0x00007000,uint32_t)) /* FLOW: Descriptor On Demand Array */
-
-#define BITM_DMA_CFG_MSIZE (_ADI_MSK(0x00000700,uint32_t)) /* Memory Transfer Word Size */
-#define ENUM_DMA_CFG_MSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* MSIZE: 1 Byte */
-#define ENUM_DMA_CFG_MSIZE02 (_ADI_MSK(0x00000100,uint32_t)) /* MSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_MSIZE04 (_ADI_MSK(0x00000200,uint32_t)) /* MSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_MSIZE08 (_ADI_MSK(0x00000300,uint32_t)) /* MSIZE: 8 Bytes */
-#define ENUM_DMA_CFG_MSIZE16 (_ADI_MSK(0x00000400,uint32_t)) /* MSIZE: 16 Bytes */
-#define ENUM_DMA_CFG_MSIZE32 (_ADI_MSK(0x00000500,uint32_t)) /* MSIZE: 32 Bytes */
-
-#define BITM_DMA_CFG_PSIZE (_ADI_MSK(0x00000070,uint32_t)) /* Peripheral Transfer Word Size */
-#define ENUM_DMA_CFG_PSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 Byte */
-#define ENUM_DMA_CFG_PSIZE02 (_ADI_MSK(0x00000010,uint32_t)) /* PSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_PSIZE04 (_ADI_MSK(0x00000020,uint32_t)) /* PSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_PSIZE08 (_ADI_MSK(0x00000030,uint32_t)) /* PSIZE: 8 Bytes */
-
-#define BITM_DMA_CFG_CADDR (_ADI_MSK(0x00000008,uint32_t)) /* Use Current Address */
-#define ENUM_DMA_CFG_LD_STARTADDR (_ADI_MSK(0x00000000,uint32_t)) /* CADDR: Load Starting Address */
-#define ENUM_DMA_CFG_LD_CURADDR (_ADI_MSK(0x00000008,uint32_t)) /* CADDR: Use Current Address */
-
-#define BITM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* Synchronize Work Unit Transitions */
-#define ENUM_DMA_CFG_NO_SYNC (_ADI_MSK(0x00000000,uint32_t)) /* SYNC: No Synchronization */
-#define ENUM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* SYNC: Synchronize Channel */
-
-#define BITM_DMA_CFG_WNR (_ADI_MSK(0x00000002,uint32_t)) /* Write/Read Channel Direction */
-#define ENUM_DMA_CFG_READ (_ADI_MSK(0x00000000,uint32_t)) /* WNR: Transmit (Read from memory) */
-#define ENUM_DMA_CFG_WRITE (_ADI_MSK(0x00000002,uint32_t)) /* WNR: Receive (Write to memory) */
-
-#define BITM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* DMA Channel Enable */
-#define ENUM_DMA_CFG_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_DSCPTR_PRV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_DSCPTR_PRV_DESCPPREV 2 /* Pointer for Previous Descriptor Element */
-#define BITP_DMA_DSCPTR_PRV_PDPO 0 /* Previous Descriptor Pointer Overrun */
-#define BITM_DMA_DSCPTR_PRV_DESCPPREV (_ADI_MSK(0xFFFFFFFC,uint32_t)) /* Pointer for Previous Descriptor Element */
-#define BITM_DMA_DSCPTR_PRV_PDPO (_ADI_MSK(0x00000001,uint32_t)) /* Previous Descriptor Pointer Overrun */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_STAT_TWAIT 20 /* Trigger Wait Status */
-#define BITP_DMA_STAT_FIFOFILL 16 /* FIFO Fill Status */
-#define BITP_DMA_STAT_MBWID 14 /* Memory Bus Width */
-#define BITP_DMA_STAT_PBWID 12 /* Peripheral Bus Width */
-#define BITP_DMA_STAT_RUN 8 /* Run Status */
-#define BITP_DMA_STAT_ERRC 4 /* Error Cause */
-#define BITP_DMA_STAT_PIRQ 2 /* Peripheral Interrupt Request */
-#define BITP_DMA_STAT_IRQERR 1 /* Error Interrupt */
-#define BITP_DMA_STAT_IRQDONE 0 /* Work Unit/Row Done Interrupt */
-
-#define BITM_DMA_STAT_TWAIT (_ADI_MSK(0x00100000,uint32_t)) /* Trigger Wait Status */
-#define ENUM_DMA_STAT_NOTRIGRX (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: No trigger received */
-#define ENUM_DMA_STAT_TRIGRX (_ADI_MSK(0x00100000,uint32_t)) /* TWAIT: Trigger received */
-
-#define BITM_DMA_STAT_FIFOFILL (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Fill Status */
-#define ENUM_DMA_STAT_FIFOEMPTY (_ADI_MSK(0x00000000,uint32_t)) /* FIFOFILL: Empty */
-#define ENUM_DMA_STAT_FIFO25 (_ADI_MSK(0x00010000,uint32_t)) /* FIFOFILL: Empty < FIFO = 1/4 Full */
-#define ENUM_DMA_STAT_FIFO50 (_ADI_MSK(0x00020000,uint32_t)) /* FIFOFILL: 1/4 Full < FIFO = 1/2 Full */
-#define ENUM_DMA_STAT_FIFO75 (_ADI_MSK(0x00030000,uint32_t)) /* FIFOFILL: 1/2 Full < FIFO = 3/4 Full */
-#define ENUM_DMA_STAT_FIFONEARFULL (_ADI_MSK(0x00040000,uint32_t)) /* FIFOFILL: 3/4 Full < FIFO = Full */
-#define ENUM_DMA_STAT_FIFOFULL (_ADI_MSK(0x00070000,uint32_t)) /* FIFOFILL: Full */
-
-#define BITM_DMA_STAT_MBWID (_ADI_MSK(0x0000C000,uint32_t)) /* Memory Bus Width */
-#define ENUM_DMA_STAT_MBUS02 (_ADI_MSK(0x00000000,uint32_t)) /* MBWID: 2 Bytes */
-#define ENUM_DMA_STAT_MBUS04 (_ADI_MSK(0x00004000,uint32_t)) /* MBWID: 4 Bytes */
-#define ENUM_DMA_STAT_MBUS08 (_ADI_MSK(0x00008000,uint32_t)) /* MBWID: 8 Bytes */
-#define ENUM_DMA_STAT_MBUS16 (_ADI_MSK(0x0000C000,uint32_t)) /* MBWID: 16 Bytes */
-
-#define BITM_DMA_STAT_PBWID (_ADI_MSK(0x00003000,uint32_t)) /* Peripheral Bus Width */
-#define ENUM_DMA_STAT_PBUS01 (_ADI_MSK(0x00000000,uint32_t)) /* PBWID: 1 Byte */
-#define ENUM_DMA_STAT_PBUS02 (_ADI_MSK(0x00001000,uint32_t)) /* PBWID: 2 Bytes */
-#define ENUM_DMA_STAT_PBUS04 (_ADI_MSK(0x00002000,uint32_t)) /* PBWID: 4 Bytes */
-#define ENUM_DMA_STAT_PBUS08 (_ADI_MSK(0x00003000,uint32_t)) /* PBWID: 8 Bytes */
-
-#define BITM_DMA_STAT_RUN (_ADI_MSK(0x00000700,uint32_t)) /* Run Status */
-#define ENUM_DMA_STAT_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RUN: Idle/Stop State */
-#define ENUM_DMA_STAT_DSCFETCH (_ADI_MSK(0x00000100,uint32_t)) /* RUN: Descriptor Fetch */
-#define ENUM_DMA_STAT_DATAXFER (_ADI_MSK(0x00000200,uint32_t)) /* RUN: Data Transfer */
-#define ENUM_DMA_STAT_TRGWAIT (_ADI_MSK(0x00000300,uint32_t)) /* RUN: Waiting for Trigger */
-#define ENUM_DMA_STAT_ACKWAIT (_ADI_MSK(0x00000400,uint32_t)) /* RUN: Waiting for Write ACK/FIFO Drain to Peripheral */
-
-#define BITM_DMA_STAT_ERRC (_ADI_MSK(0x00000070,uint32_t)) /* Error Cause */
-#define ENUM_DMA_STAT_CFGERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Configuration Error */
-#define ENUM_DMA_STAT_ILLWRERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Illegal Write Occurred While Channel Running */
-#define ENUM_DMA_STAT_ALGNERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: Address Alignment Error */
-#define ENUM_DMA_STAT_MEMERR (_ADI_MSK(0x00000030,uint32_t)) /* ERRC: Memory Access/Fabric Error */
-#define ENUM_DMA_STAT_TRGOVERR (_ADI_MSK(0x00000050,uint32_t)) /* ERRC: Trigger Overrun */
-#define ENUM_DMA_STAT_BWMONERR (_ADI_MSK(0x00000060,uint32_t)) /* ERRC: Bandwidth Monitor Error */
-
-#define BITM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* Peripheral Interrupt Request */
-#define ENUM_DMA_STAT_NO_PIRQ (_ADI_MSK(0x00000000,uint32_t)) /* PIRQ: No Interrupt */
-#define ENUM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* PIRQ: Interrupt Signaled by Peripheral */
-
-#define BITM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* Error Interrupt */
-#define ENUM_DMA_STAT_NO_IRQERR (_ADI_MSK(0x00000000,uint32_t)) /* IRQERR: No Error */
-#define ENUM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* IRQERR: Error Occurred */
-
-#define BITM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* Work Unit/Row Done Interrupt */
-#define ENUM_DMA_STAT_NO_IRQ (_ADI_MSK(0x00000000,uint32_t)) /* IRQDONE: Inactive */
-#define ENUM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* IRQDONE: Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_VALUE 0 /* Bandwidth Limit Count */
-#define BITM_DMA_BWLCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_CUR_VALUE 0 /* Bandwidth Limit Count Current */
-#define BITM_DMA_BWLCNT_CUR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count Current */
-
-/* ==================================================
- ACM Registers
- ================================================== */
-
-/* =========================
- ACM0
- ========================= */
-#define REG_ACM0_CTL 0xFFC45000 /* ACM0 ACM Control Register */
-#define REG_ACM0_TC0 0xFFC45004 /* ACM0 ACM Timing Configuration 0 Register */
-#define REG_ACM0_TC1 0xFFC45008 /* ACM0 ACM Timing Configuration 1 Register */
-#define REG_ACM0_STAT 0xFFC4500C /* ACM0 ACM Status Register */
-#define REG_ACM0_EVSTAT 0xFFC45010 /* ACM0 ACM Event Status Register */
-#define REG_ACM0_EVMSK 0xFFC45014 /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define REG_ACM0_MEVSTAT 0xFFC45018 /* ACM0 ACM Missed Event Status Register */
-#define REG_ACM0_MEVMSK 0xFFC4501C /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define REG_ACM0_EVCTL0 0xFFC45020 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL1 0xFFC45024 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL2 0xFFC45028 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL3 0xFFC4502C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL4 0xFFC45030 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL5 0xFFC45034 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL6 0xFFC45038 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL7 0xFFC4503C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL8 0xFFC45040 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL9 0xFFC45044 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL10 0xFFC45048 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL11 0xFFC4504C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL12 0xFFC45050 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL13 0xFFC45054 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL14 0xFFC45058 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL15 0xFFC4505C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVTIME0 0xFFC45060 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME1 0xFFC45064 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME2 0xFFC45068 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME3 0xFFC4506C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME4 0xFFC45070 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME5 0xFFC45074 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME6 0xFFC45078 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME7 0xFFC4507C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME8 0xFFC45080 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME9 0xFFC45084 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME10 0xFFC45088 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME11 0xFFC4508C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME12 0xFFC45090 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME13 0xFFC45094 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME14 0xFFC45098 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME15 0xFFC4509C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVORD0 0xFFC450A0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD1 0xFFC450A4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD2 0xFFC450A8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD3 0xFFC450AC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD4 0xFFC450B0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD5 0xFFC450B4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD6 0xFFC450B8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD7 0xFFC450BC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD8 0xFFC450C0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD9 0xFFC450C4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD10 0xFFC450C8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD11 0xFFC450CC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD12 0xFFC450D0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD13 0xFFC450D4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD14 0xFFC450D8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD15 0xFFC450DC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_TMR0 0xFFC450E8 /* ACM0 ACM Timer 0 Register */
-#define REG_ACM0_TMR1 0xFFC450EC /* ACM0 ACM Timer 1 Register */
-
-/* =========================
- ACM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_CTL_EPS 15 /* External Peripheral Select */
-#define BITP_ACM_CTL_OTSEL 14 /* Trigger Select for Order Register Reset */
-#define BITP_ACM_CTL_AOREN 13 /* Automatic Order Reset Enable */
-#define BITP_ACM_CTL_ORST 12 /* Order Register Reset Bit */
-#define BITP_ACM_CTL_CLKMOD 11 /* ADC Clock Mode */
-#define BITP_ACM_CTL_CLKPOL 10 /* ADC_CLK Polarity */
-#define BITP_ACM_CTL_CSPOL 9 /* CS Polarity */
-#define BITP_ACM_CTL_TRGPOL1 8 /* Trigger Polarity for Timer1 Triggers */
-#define BITP_ACM_CTL_TRGPOL0 7 /* Trigger Polarity for Timer0 Triggers */
-#define BITP_ACM_CTL_TRGSEL1 5 /* Trigger Select 1 */
-#define BITP_ACM_CTL_TRGSEL0 3 /* Trigger Select 0 */
-#define BITP_ACM_CTL_TMR1EN 2 /* Enable ACM Timer1 */
-#define BITP_ACM_CTL_TMR0EN 1 /* Enable ACM Timer0 */
-#define BITP_ACM_CTL_EN 0 /* ACM Enable */
-#define BITM_ACM_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* External Peripheral Select */
-#define BITM_ACM_CTL_OTSEL (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Select for Order Register Reset */
-#define BITM_ACM_CTL_AOREN (_ADI_MSK(0x00002000,uint32_t)) /* Automatic Order Reset Enable */
-#define BITM_ACM_CTL_ORST (_ADI_MSK(0x00001000,uint32_t)) /* Order Register Reset Bit */
-#define BITM_ACM_CTL_CLKMOD (_ADI_MSK(0x00000800,uint32_t)) /* ADC Clock Mode */
-#define BITM_ACM_CTL_CLKPOL (_ADI_MSK(0x00000400,uint32_t)) /* ADC_CLK Polarity */
-#define BITM_ACM_CTL_CSPOL (_ADI_MSK(0x00000200,uint32_t)) /* CS Polarity */
-#define BITM_ACM_CTL_TRGPOL1 (_ADI_MSK(0x00000100,uint32_t)) /* Trigger Polarity for Timer1 Triggers */
-#define BITM_ACM_CTL_TRGPOL0 (_ADI_MSK(0x00000080,uint32_t)) /* Trigger Polarity for Timer0 Triggers */
-#define BITM_ACM_CTL_TRGSEL1 (_ADI_MSK(0x00000060,uint32_t)) /* Trigger Select 1 */
-#define BITM_ACM_CTL_TRGSEL0 (_ADI_MSK(0x00000018,uint32_t)) /* Trigger Select 0 */
-#define BITM_ACM_CTL_TMR1EN (_ADI_MSK(0x00000004,uint32_t)) /* Enable ACM Timer1 */
-#define BITM_ACM_CTL_TMR0EN (_ADI_MSK(0x00000002,uint32_t)) /* Enable ACM Timer0 */
-#define BITM_ACM_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* ACM Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC0_SC 16 /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITP_ACM_TC0_CKDIV 0 /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-#define BITM_ACM_TC0_SC (_ADI_MSK(0x0FFF0000,uint32_t)) /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITM_ACM_TC0_CKDIV (_ADI_MSK(0x000000FF,uint32_t)) /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC1_ZC 12 /* Zero Cycle - ADC Control zero duration */
-#define BITP_ACM_TC1_HC 8 /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITP_ACM_TC1_CSW 0 /* CS Width. Active duration of CS in ACLK cycles */
-#define BITM_ACM_TC1_ZC (_ADI_MSK(0x0000F000,uint32_t)) /* Zero Cycle - ADC Control zero duration */
-#define BITM_ACM_TC1_HC (_ADI_MSK(0x00000F00,uint32_t)) /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITM_ACM_TC1_CSW (_ADI_MSK(0x000000FF,uint32_t)) /* CS Width. Active duration of CS in ACLK cycles */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_STAT_CEVNT 4 /* Current Event. */
-#define BITP_ACM_STAT_ECOM1 3 /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_ECOM0 2 /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_EMISS 1 /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITP_ACM_STAT_BSY 0 /* ACM Busy */
-#define BITM_ACM_STAT_CEVNT (_ADI_MSK(0x000000F0,uint32_t)) /* Current Event. */
-#define BITM_ACM_STAT_ECOM1 (_ADI_MSK(0x00000008,uint32_t)) /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_ECOM0 (_ADI_MSK(0x00000004,uint32_t)) /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_EMISS (_ADI_MSK(0x00000002,uint32_t)) /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITM_ACM_STAT_BSY (_ADI_MSK(0x00000001,uint32_t)) /* ACM Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVSTAT_ECOM1S 17 /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_ECOM0S 16 /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_EV15 15 /* Event15 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV14 14 /* Event14 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV13 13 /* Event13 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV12 12 /* Event12 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV11 11 /* Event11 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV10 10 /* Event10 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV9 9 /* Event9 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV8 8 /* Event8 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV7 7 /* Event7 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV6 6 /* Event6 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV5 5 /* Event5 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV4 4 /* Event4 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV3 3 /* Event3 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV2 2 /* Event2 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV1 1 /* Event1 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV0 0 /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-#define BITM_ACM_EVSTAT_ECOM1S (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_ECOM0S (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVMSK_IECOM1 17 /* Timer1 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_IECOM0 16 /* Timer0 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV15 15 /* Event15 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV14 14 /* Event14 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV13 13 /* Event13 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV12 12 /* Event12 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV11 11 /* Event11 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV10 10 /* Event10 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV9 9 /* Event9 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV8 8 /* Event8 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV7 7 /* Event7 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV6 6 /* Event6 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV5 5 /* Event5 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV4 4 /* Event4 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV3 3 /* Event3 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV2 2 /* Event2 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV1 1 /* Event1 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV0 0 /* Event0 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM1 (_ADI_MSK(0x00020000,uint32_t)) /* Timer1 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM0 (_ADI_MSK(0x00010000,uint32_t)) /* Timer0 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVSTAT_EV15 15 /* Event15 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV14 14 /* Event14 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV13 13 /* Event13 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV12 12 /* Event12 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV11 11 /* Event11 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV10 10 /* Event10 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV9 9 /* Event9 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV8 8 /* Event8 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV7 7 /* Event7 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV6 6 /* Event6 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV5 5 /* Event5 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV4 4 /* Event4 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV3 3 /* Event3 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV2 2 /* Event2 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV1 1 /* Event1 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV0 0 /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-#define BITM_ACM_MEVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVMSK_EV15 15 /* Event15 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV14 14 /* Event14 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV13 13 /* Event13 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV12 12 /* Event12 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV11 11 /* Event11 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV10 10 /* Event10 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV9 9 /* Event9 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV8 8 /* Event8 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV7 7 /* Event7 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV6 6 /* Event6 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV5 5 /* Event5 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV4 4 /* Event4 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV3 3 /* Event3 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV2 2 /* Event2 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV1 1 /* Event1 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV0 0 /* Event0 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVCTL_EPF 1 /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITP_ACM_EVCTL_ENAEV 0 /* Enable Event */
-#define BITM_ACM_EVCTL_EPF (_ADI_MSK(0x0000003E,uint32_t)) /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITM_ACM_EVCTL_ENAEV (_ADI_MSK(0x00000001,uint32_t)) /* Enable Event */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVORD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVORD_EVSTAT 17 /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITP_ACM_EVORD_MEVSTAT 16 /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITP_ACM_EVORD_ORD 0 /* Order of Event Completion */
-#define BITM_ACM_EVORD_EVSTAT (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITM_ACM_EVORD_MEVSTAT (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITM_ACM_EVORD_ORD (_ADI_MSK(0x000000FF,uint32_t)) /* Order of Event Completion */
-
-/* ==================================================
- DDR Registers
- ================================================== */
-
-/* =========================
- DMC0
- ========================= */
-#define REG_DMC0_CTL 0xFFC80004 /* DMC0 Control Register */
-#define REG_DMC0_STAT 0xFFC80008 /* DMC0 Status Register */
-#define REG_DMC0_EFFCTL 0xFFC8000C /* DMC0 Efficiency Control Register */
-#define REG_DMC0_PRIO 0xFFC80010 /* DMC0 Priority ID Register */
-#define REG_DMC0_PRIOMSK 0xFFC80014 /* DMC0 Priority ID Mask Register */
-#define REG_DMC0_CFG 0xFFC80040 /* DMC0 Configuration Register */
-#define REG_DMC0_TR0 0xFFC80044 /* DMC0 Timing 0 Register */
-#define REG_DMC0_TR1 0xFFC80048 /* DMC0 Timing 1 Register */
-#define REG_DMC0_TR2 0xFFC8004C /* DMC0 Timing 2 Register */
-#define REG_DMC0_MSK 0xFFC8005C /* DMC0 Mask (Mode Register Shadow) Register */
-#define REG_DMC0_MR 0xFFC80060 /* DMC0 Shadow MR Register */
-#define REG_DMC0_EMR1 0xFFC80064 /* DMC0 Shadow EMR1 Register */
-#define REG_DMC0_EMR2 0xFFC80068 /* DMC0 Shadow EMR2 Register */
-#define REG_DMC0_EMR3 0xFFC8006C /* DMC0 Shadow EMR3 Register */
-#define REG_DMC0_DLLCTL 0xFFC80080 /* DMC0 DLL Control Register */
-#define REG_DMC0_PHY_CTL0 0xFFC80090 /* DMC0 PHY Control 0 Register */
-#define REG_DMC0_PHY_CTL1 0xFFC80094 /* DMC0 PHY Control 1 Register */
-#define REG_DMC0_PHY_CTL2 0xFFC80098 /* DMC0 PHY Control 2 Register */
-#define REG_DMC0_PHY_CTL3 0xFFC8009C /* DMC0 PHY Control 3 Register */
-#define REG_DMC0_PADCTL 0xFFC800C0 /* DMC0 PAD Control Register */
-
-/* =========================
- DMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CTL_DLLCAL 13 /* DLL Calibration Start */
-#define BITP_DMC_CTL_PPREF 12 /* Postpone Refresh */
-#define BITP_DMC_CTL_RDTOWR 9 /* Read-to-Write Cycle */
-#define BITP_DMC_CTL_ADDRMODE 8 /* Addressing (Page/Bank) Mode */
-#define BITP_DMC_CTL_PREC 6 /* Precharge */
-#define BITP_DMC_CTL_DPDREQ 5 /* Deep Power Down Request */
-#define BITP_DMC_CTL_PDREQ 4 /* Power Down Request */
-#define BITP_DMC_CTL_SRREQ 3 /* Self Refresh Request */
-#define BITP_DMC_CTL_INIT 2 /* Initialize DRAM Start */
-#define BITP_DMC_CTL_LPDDR 1 /* Low Power DDR Mode */
-#define BITM_DMC_CTL_DLLCAL (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Start */
-#define BITM_DMC_CTL_PPREF (_ADI_MSK(0x00001000,uint32_t)) /* Postpone Refresh */
-
-#define BITM_DMC_CTL_RDTOWR (_ADI_MSK(0x00000E00,uint32_t)) /* Read-to-Write Cycle */
-#define ENUM_DMC_CTL_RDTOWR0 (_ADI_MSK(0x00000000,uint32_t)) /* RDTOWR: 0 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR1 (_ADI_MSK(0x00000200,uint32_t)) /* RDTOWR: 1 Cycle Added */
-#define ENUM_DMC_CTL_RDTOWR2 (_ADI_MSK(0x00000400,uint32_t)) /* RDTOWR: 2 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR3 (_ADI_MSK(0x00000600,uint32_t)) /* RDTOWR: 3 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR4 (_ADI_MSK(0x00000800,uint32_t)) /* RDTOWR: 4 Cycles Added */
-#define BITM_DMC_CTL_ADDRMODE (_ADI_MSK(0x00000100,uint32_t)) /* Addressing (Page/Bank) Mode */
-#define BITM_DMC_CTL_PREC (_ADI_MSK(0x00000040,uint32_t)) /* Precharge */
-#define BITM_DMC_CTL_DPDREQ (_ADI_MSK(0x00000020,uint32_t)) /* Deep Power Down Request */
-#define BITM_DMC_CTL_PDREQ (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Request */
-#define BITM_DMC_CTL_SRREQ (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Request */
-#define BITM_DMC_CTL_INIT (_ADI_MSK(0x00000004,uint32_t)) /* Initialize DRAM Start */
-#define BITM_DMC_CTL_LPDDR (_ADI_MSK(0x00000002,uint32_t)) /* Low Power DDR Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_STAT_PHYRDPHASE 20 /* PHY Read Phase */
-#define BITP_DMC_STAT_PENDREF 16 /* Pending Refresh */
-#define BITP_DMC_STAT_DLLCALDONE 13 /* DLL Calibration Done */
-#define BITP_DMC_STAT_DPDACK 5 /* Deep Powerdown Acknowledge */
-#define BITP_DMC_STAT_PDACK 4 /* Power Down Acknowledge */
-#define BITP_DMC_STAT_SRACK 3 /* Self Refresh Acknowledge */
-#define BITP_DMC_STAT_MEMINITDONE 1 /* Memory Initialization Done */
-#define BITP_DMC_STAT_IDLE 0 /* Idle State */
-#define BITM_DMC_STAT_PHYRDPHASE (_ADI_MSK(0x00F00000,uint32_t)) /* PHY Read Phase */
-#define BITM_DMC_STAT_PENDREF (_ADI_MSK(0x000F0000,uint32_t)) /* Pending Refresh */
-#define BITM_DMC_STAT_DLLCALDONE (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Done */
-#define BITM_DMC_STAT_DPDACK (_ADI_MSK(0x00000020,uint32_t)) /* Deep Powerdown Acknowledge */
-#define BITM_DMC_STAT_PDACK (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Acknowledge */
-#define BITM_DMC_STAT_SRACK (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Acknowledge */
-#define BITM_DMC_STAT_MEMINITDONE (_ADI_MSK(0x00000002,uint32_t)) /* Memory Initialization Done */
-#define BITM_DMC_STAT_IDLE (_ADI_MSK(0x00000001,uint32_t)) /* Idle State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EFFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EFFCTL_IDLECYC 20 /* Idle Cycle */
-#define BITP_DMC_EFFCTL_NUMREF 16 /* Number of Refresh Commands */
-#define BITP_DMC_EFFCTL_PRECBANK7 15 /* Precharge Bank 7 */
-#define BITP_DMC_EFFCTL_PRECBANK6 14 /* Precharge Bank 6 */
-#define BITP_DMC_EFFCTL_PRECBANK5 13 /* Precharge Bank 5 */
-#define BITP_DMC_EFFCTL_PRECBANK4 12 /* Precharge Bank 4 */
-#define BITP_DMC_EFFCTL_PRECBANK3 11 /* Precharge Bank 3 */
-#define BITP_DMC_EFFCTL_PRECBANK2 10 /* Precharge Bank 2 */
-#define BITP_DMC_EFFCTL_PRECBANK1 9 /* Precharge Bank 1 */
-#define BITP_DMC_EFFCTL_PRECBANK0 8 /* Precharge Bank 0 */
-#define BITP_DMC_EFFCTL_WAITWRDATA 7 /* Wait in Write Data Snapshot */
-#define BITP_DMC_EFFCTL_FULLWRDATA 6 /* Wait for Full Write Data */
-#define BITM_DMC_EFFCTL_IDLECYC (_ADI_MSK(0x00F00000,uint32_t)) /* Idle Cycle */
-#define BITM_DMC_EFFCTL_NUMREF (_ADI_MSK(0x000F0000,uint32_t)) /* Number of Refresh Commands */
-#define BITM_DMC_EFFCTL_PRECBANK7 (_ADI_MSK(0x00008000,uint32_t)) /* Precharge Bank 7 */
-#define BITM_DMC_EFFCTL_PRECBANK6 (_ADI_MSK(0x00004000,uint32_t)) /* Precharge Bank 6 */
-#define BITM_DMC_EFFCTL_PRECBANK5 (_ADI_MSK(0x00002000,uint32_t)) /* Precharge Bank 5 */
-#define BITM_DMC_EFFCTL_PRECBANK4 (_ADI_MSK(0x00001000,uint32_t)) /* Precharge Bank 4 */
-#define BITM_DMC_EFFCTL_PRECBANK3 (_ADI_MSK(0x00000800,uint32_t)) /* Precharge Bank 3 */
-#define BITM_DMC_EFFCTL_PRECBANK2 (_ADI_MSK(0x00000400,uint32_t)) /* Precharge Bank 2 */
-#define BITM_DMC_EFFCTL_PRECBANK1 (_ADI_MSK(0x00000200,uint32_t)) /* Precharge Bank 1 */
-#define BITM_DMC_EFFCTL_PRECBANK0 (_ADI_MSK(0x00000100,uint32_t)) /* Precharge Bank 0 */
-#define BITM_DMC_EFFCTL_WAITWRDATA (_ADI_MSK(0x00000080,uint32_t)) /* Wait in Write Data Snapshot */
-#define BITM_DMC_EFFCTL_FULLWRDATA (_ADI_MSK(0x00000040,uint32_t)) /* Wait for Full Write Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIO_ID2 16 /* ID2 Requiring Elevated Priority */
-#define BITP_DMC_PRIO_ID1 0 /* ID1 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID2 (_ADI_MSK(0xFFFF0000,uint32_t)) /* ID2 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID1 (_ADI_MSK(0x0000FFFF,uint32_t)) /* ID1 Requiring Elevated Priority */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIOMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIOMSK_ID2MSK 16 /* Mask for ID2 */
-#define BITP_DMC_PRIOMSK_ID1MSK 0 /* Mask for ID1 */
-#define BITM_DMC_PRIOMSK_ID2MSK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Mask for ID2 */
-#define BITM_DMC_PRIOMSK_ID1MSK (_ADI_MSK(0x0000FFFF,uint32_t)) /* Mask for ID1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CFG_EXTBANK 12 /* External Banks */
-#define BITP_DMC_CFG_SDRSIZE 8 /* SDRAM Size */
-#define BITP_DMC_CFG_SDRWID 4 /* SDRAM Width */
-#define BITP_DMC_CFG_IFWID 0 /* Interface Width */
-
-#define BITM_DMC_CFG_EXTBANK (_ADI_MSK(0x0000F000,uint32_t)) /* External Banks */
-#define ENUM_DMC_CFG_EXTBANK1 (_ADI_MSK(0x00000000,uint32_t)) /* EXTBANK: 1 External Bank */
-
-#define BITM_DMC_CFG_SDRSIZE (_ADI_MSK(0x00000F00,uint32_t)) /* SDRAM Size */
-#define ENUM_DMC_CFG_SDRSIZE64 (_ADI_MSK(0x00000000,uint32_t)) /* SDRSIZE: 64M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE128 (_ADI_MSK(0x00000100,uint32_t)) /* SDRSIZE: 128M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE256 (_ADI_MSK(0x00000200,uint32_t)) /* SDRSIZE: 256M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE512 (_ADI_MSK(0x00000300,uint32_t)) /* SDRSIZE: 512M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE1G (_ADI_MSK(0x00000400,uint32_t)) /* SDRSIZE: 1G Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE2G (_ADI_MSK(0x00000500,uint32_t)) /* SDRSIZE: 2G Bit SDRAM */
-
-#define BITM_DMC_CFG_SDRWID (_ADI_MSK(0x000000F0,uint32_t)) /* SDRAM Width */
-#define ENUM_DMC_CFG_SDRWID16 (_ADI_MSK(0x00000020,uint32_t)) /* SDRWID: 16-Bit Wide SDRAM */
-
-#define BITM_DMC_CFG_IFWID (_ADI_MSK(0x0000000F,uint32_t)) /* Interface Width */
-#define ENUM_DMC_CFG_IFWID16 (_ADI_MSK(0x00000002,uint32_t)) /* IFWID: 16-Bit Wide Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR0_TMRD 28 /* Timing Mode Register Delay */
-#define BITP_DMC_TR0_TRC 20 /* Timing Row Cycle */
-#define BITP_DMC_TR0_TRAS 12 /* Timing Row Active Time */
-#define BITP_DMC_TR0_TRP 8 /* Timing RAS Precharge. */
-#define BITP_DMC_TR0_TWTR 4 /* Timing Write to Read */
-#define BITP_DMC_TR0_TRCD 0 /* Timing RAS to CAS Delay */
-#define BITM_DMC_TR0_TMRD (_ADI_MSK(0xF0000000,uint32_t)) /* Timing Mode Register Delay */
-#define BITM_DMC_TR0_TRC (_ADI_MSK(0x03F00000,uint32_t)) /* Timing Row Cycle */
-#define BITM_DMC_TR0_TRAS (_ADI_MSK(0x0001F000,uint32_t)) /* Timing Row Active Time */
-#define BITM_DMC_TR0_TRP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing RAS Precharge. */
-#define BITM_DMC_TR0_TWTR (_ADI_MSK(0x000000F0,uint32_t)) /* Timing Write to Read */
-#define BITM_DMC_TR0_TRCD (_ADI_MSK(0x0000000F,uint32_t)) /* Timing RAS to CAS Delay */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR1_TRRD 28 /* Timing Read-Read Delay */
-#define BITP_DMC_TR1_TRFC 16 /* Timing Refresh-to-Command */
-#define BITP_DMC_TR1_TREF 0 /* Timing Refresh Interval */
-#define BITM_DMC_TR1_TRRD (_ADI_MSK(0x70000000,uint32_t)) /* Timing Read-Read Delay */
-#define BITM_DMC_TR1_TRFC (_ADI_MSK(0x00FF0000,uint32_t)) /* Timing Refresh-to-Command */
-#define BITM_DMC_TR1_TREF (_ADI_MSK(0x00003FFF,uint32_t)) /* Timing Refresh Interval */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR2_TCKE 20 /* Timing Clock Enable */
-#define BITP_DMC_TR2_TXP 16 /* Timing Exit Powerdown */
-#define BITP_DMC_TR2_TWR 12 /* Timing Write Recovery */
-#define BITP_DMC_TR2_TRTP 8 /* Timing Read-to-Precharge */
-#define BITP_DMC_TR2_TFAW 0 /* Timing Four-Activated-Window */
-#define BITM_DMC_TR2_TCKE (_ADI_MSK(0x00F00000,uint32_t)) /* Timing Clock Enable */
-#define BITM_DMC_TR2_TXP (_ADI_MSK(0x000F0000,uint32_t)) /* Timing Exit Powerdown */
-#define BITM_DMC_TR2_TWR (_ADI_MSK(0x0000F000,uint32_t)) /* Timing Write Recovery */
-#define BITM_DMC_TR2_TRTP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing Read-to-Precharge */
-#define BITM_DMC_TR2_TFAW (_ADI_MSK(0x0000001F,uint32_t)) /* Timing Four-Activated-Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MSK_EMR3 11 /* Shadow EMR3 Unmask */
-#define BITP_DMC_MSK_EMR2 10 /* Shadow EMR2 Unmask */
-#define BITP_DMC_MSK_EMR1 9 /* Shadow EMR1 Unmask */
-#define BITP_DMC_MSK_MR 8 /* Shadow MR Unmask */
-#define BITM_DMC_MSK_EMR3 (_ADI_MSK(0x00000800,uint32_t)) /* Shadow EMR3 Unmask */
-#define BITM_DMC_MSK_EMR2 (_ADI_MSK(0x00000400,uint32_t)) /* Shadow EMR2 Unmask */
-#define BITM_DMC_MSK_EMR1 (_ADI_MSK(0x00000200,uint32_t)) /* Shadow EMR1 Unmask */
-#define BITM_DMC_MSK_MR (_ADI_MSK(0x00000100,uint32_t)) /* Shadow MR Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MR_PD 12 /* Active Powerdown Mode */
-#define BITP_DMC_MR_WRRECOV 9 /* Write Recovery */
-#define BITP_DMC_MR_DLLRST 8 /* DLL Reset */
-#define BITP_DMC_MR_CL 4 /* CAS Latency */
-#define BITP_DMC_MR_BLEN 0 /* Burst Length */
-#define BITM_DMC_MR_PD (_ADI_MSK(0x00001000,uint32_t)) /* Active Powerdown Mode */
-#define BITM_DMC_MR_WRRECOV (_ADI_MSK(0x00000E00,uint32_t)) /* Write Recovery */
-#define BITM_DMC_MR_DLLRST (_ADI_MSK(0x00000100,uint32_t)) /* DLL Reset */
-
-#define BITM_DMC_MR_CL (_ADI_MSK(0x00000070,uint32_t)) /* CAS Latency */
-#define ENUM_DMC_MR_CL2 (_ADI_MSK(0x00000020,uint32_t)) /* CL: 2 clock cycle latency */
-#define ENUM_DMC_MR_CL3 (_ADI_MSK(0x00000030,uint32_t)) /* CL: 3 clock cycle latency */
-#define ENUM_DMC_MR_CL4 (_ADI_MSK(0x00000040,uint32_t)) /* CL: 4 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL5 (_ADI_MSK(0x00000050,uint32_t)) /* CL: 5 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL6 (_ADI_MSK(0x00000060,uint32_t)) /* CL: 6 clock cycle latency (DDR2) */
-
-#define BITM_DMC_MR_BLEN (_ADI_MSK(0x00000007,uint32_t)) /* Burst Length */
-#define ENUM_DMC_MR_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* BLEN: 4-Bit Burst Length */
-#define ENUM_DMC_MR_BLEN8 (_ADI_MSK(0x00000003,uint32_t)) /* BLEN: 8-Bit Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR1_QOFF 12 /* Output Buffer Enable */
-#define BITP_DMC_EMR1_DQS 10 /* DQS Enable */
-#define BITP_DMC_EMR1_RTT1 6 /* Termination Resistance 1 */
-#define BITP_DMC_EMR1_AL 3 /* Additive Latency */
-#define BITP_DMC_EMR1_RTT0 2 /* Termination Resistance 0. */
-#define BITP_DMC_EMR1_DIC 1 /* Output Driver Impedance Control */
-#define BITP_DMC_EMR1_DLLEN 0 /* DLL Enable */
-#define BITM_DMC_EMR1_QOFF (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Enable */
-#define BITM_DMC_EMR1_DQS (_ADI_MSK(0x00000400,uint32_t)) /* DQS Enable */
-
-#define BITM_DMC_EMR1_RTT1 (_ADI_MSK(0x00000040,uint32_t)) /* Termination Resistance 1 */
-#define ENUM_DMC_EMR1_RTT1_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT1: Disable RTT1 */
-#define ENUM_DMC_EMR1_RTT1_1 (_ADI_MSK(0x00000040,uint32_t)) /* RTT1: Enable RTT1 */
-#define BITM_DMC_EMR1_AL (_ADI_MSK(0x00000038,uint32_t)) /* Additive Latency */
-
-#define BITM_DMC_EMR1_RTT0 (_ADI_MSK(0x00000004,uint32_t)) /* Termination Resistance 0. */
-#define ENUM_DMC_EMR1_RTT0_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT0: Disable RTT0 */
-#define ENUM_DMC_EMR1_RTT0_1 (_ADI_MSK(0x00000004,uint32_t)) /* RTT0: Enable RTT0 */
-#define BITM_DMC_EMR1_DIC (_ADI_MSK(0x00000002,uint32_t)) /* Output Driver Impedance Control */
-#define BITM_DMC_EMR1_DLLEN (_ADI_MSK(0x00000001,uint32_t)) /* DLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR2_SRF 7 /* High Temp. Self Refresh */
-#define BITP_DMC_EMR2_DS 5 /* Drive Strength */
-#define BITP_DMC_EMR2_TCSR 3 /* Temp. Comp. Self Refresh */
-#define BITP_DMC_EMR2_PASR 0 /* Partial Array Self Refresh */
-#define BITM_DMC_EMR2_SRF (_ADI_MSK(0x00000080,uint32_t)) /* High Temp. Self Refresh */
-#define BITM_DMC_EMR2_DS (_ADI_MSK(0x00000060,uint32_t)) /* Drive Strength */
-#define BITM_DMC_EMR2_TCSR (_ADI_MSK(0x00000018,uint32_t)) /* Temp. Comp. Self Refresh */
-#define BITM_DMC_EMR2_PASR (_ADI_MSK(0x00000007,uint32_t)) /* Partial Array Self Refresh */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_DLLCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_DLLCTL_DATACYC 8 /* Data Cycles */
-#define BITP_DMC_DLLCTL_DLLCALRDCNT 0 /* DLL Calibration RD Count */
-
-#define BITM_DMC_DLLCTL_DATACYC (_ADI_MSK(0x00000F00,uint32_t)) /* Data Cycles */
-#define ENUM_DMC_DLLCTL_DATACYC2 (_ADI_MSK(0x00000200,uint32_t)) /* DATACYC: 2 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC3 (_ADI_MSK(0x00000300,uint32_t)) /* DATACYC: 3 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC4 (_ADI_MSK(0x00000400,uint32_t)) /* DATACYC: 4 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC5 (_ADI_MSK(0x00000500,uint32_t)) /* DATACYC: 5 Clock Cycles Latency */
-#define BITM_DMC_DLLCTL_DLLCALRDCNT (_ADI_MSK(0x000000FF,uint32_t)) /* DLL Calibration RD Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL1_CONTODTVAL 19 /* Select ODT value on controller */
-
-#define BITM_DMC_PHY_CTL1_CONTODTVAL (_ADI_MSK(0x00080000,uint32_t)) /* Select ODT value on controller */
-#define ENUM_DMC_PHY_CTL1_ODT_75 (_ADI_MSK(0x00000000,uint32_t)) /* CONTODTVAL: 75 Ohms Termination */
-#define ENUM_DMC_PHY_CTL1_ODT_150 (_ADI_MSK(0x00080000,uint32_t)) /* CONTODTVAL: 150 Ohms Termination */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL3_OFST1 26 /* Offset Parameter 1 */
-#define BITP_DMC_PHY_CTL3_OFST0 24 /* Offset Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQS 10 /* Enables controller ODT on read of DQS */
-#define BITP_DMC_PHY_CTL3_TMG1 7 /* Timing Parameter 1 */
-#define BITP_DMC_PHY_CTL3_TMG0 6 /* Timing Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQ 2 /* Enables controller ODT on read of DQ */
-#define BITM_DMC_PHY_CTL3_OFST1 (_ADI_MSK(0x04000000,uint32_t)) /* Offset Parameter 1 */
-#define BITM_DMC_PHY_CTL3_OFST0 (_ADI_MSK(0x01000000,uint32_t)) /* Offset Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQS (_ADI_MSK(0x00000400,uint32_t)) /* Enables controller ODT on read of DQS */
-#define BITM_DMC_PHY_CTL3_TMG1 (_ADI_MSK(0x00000080,uint32_t)) /* Timing Parameter 1 */
-#define BITM_DMC_PHY_CTL3_TMG0 (_ADI_MSK(0x00000040,uint32_t)) /* Timing Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQ (_ADI_MSK(0x00000004,uint32_t)) /* Enables controller ODT on read of DQ */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PADCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PADCTL_CKEOE 19 /* CKE Output Enable */
-#define BITP_DMC_PADCTL_CKEPWD 18 /* CKE pad receiver power down. */
-#define BITP_DMC_PADCTL_CKEODS 16 /* CKE Output Drive Strength */
-#define BITP_DMC_PADCTL_CMDOE 15 /* CMD Output Enable */
-#define BITP_DMC_PADCTL_CMDPWD 14 /* CMD Powerdown */
-#define BITP_DMC_PADCTL_CMDODS 12 /* CMD Output Drive Strength */
-#define BITP_DMC_PADCTL_CLKOE 11 /* CLK Output Enable */
-#define BITP_DMC_PADCTL_CLKPWD 10 /* CLK Powerdown */
-#define BITP_DMC_PADCTL_CLKODS 8 /* Clock Output Drive Strength */
-#define BITP_DMC_PADCTL_DQSPWD 6 /* DQ/DQS Powerdown */
-#define BITP_DMC_PADCTL_DQSODS 4 /* DQS Output Drive Strength */
-#define BITP_DMC_PADCTL_DQPWD 2 /* DQ Powerdown. */
-#define BITP_DMC_PADCTL_DQODS 0 /* DQ Output Drive Strength */
-#define BITM_DMC_PADCTL_CKEOE (_ADI_MSK(0x00080000,uint32_t)) /* CKE Output Enable */
-#define BITM_DMC_PADCTL_CKEPWD (_ADI_MSK(0x00040000,uint32_t)) /* CKE pad receiver power down. */
-#define BITM_DMC_PADCTL_CKEODS (_ADI_MSK(0x00030000,uint32_t)) /* CKE Output Drive Strength */
-#define BITM_DMC_PADCTL_CMDOE (_ADI_MSK(0x00008000,uint32_t)) /* CMD Output Enable */
-#define BITM_DMC_PADCTL_CMDPWD (_ADI_MSK(0x00004000,uint32_t)) /* CMD Powerdown */
-#define BITM_DMC_PADCTL_CMDODS (_ADI_MSK(0x00003000,uint32_t)) /* CMD Output Drive Strength */
-#define BITM_DMC_PADCTL_CLKOE (_ADI_MSK(0x00000800,uint32_t)) /* CLK Output Enable */
-#define BITM_DMC_PADCTL_CLKPWD (_ADI_MSK(0x00000400,uint32_t)) /* CLK Powerdown */
-#define BITM_DMC_PADCTL_CLKODS (_ADI_MSK(0x00000300,uint32_t)) /* Clock Output Drive Strength */
-#define BITM_DMC_PADCTL_DQSPWD (_ADI_MSK(0x00000040,uint32_t)) /* DQ/DQS Powerdown */
-#define BITM_DMC_PADCTL_DQSODS (_ADI_MSK(0x00000030,uint32_t)) /* DQS Output Drive Strength */
-#define BITM_DMC_PADCTL_DQPWD (_ADI_MSK(0x00000004,uint32_t)) /* DQ Powerdown. */
-#define BITM_DMC_PADCTL_DQODS (_ADI_MSK(0x00000003,uint32_t)) /* DQ Output Drive Strength */
-
-/* ==================================================
- System Cross Bar Registers
- ================================================== */
-
-/* =========================
- SCB0
- ========================= */
-#define REG_SCB0_ARBR0 0xFFCA2408 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR1 0xFFCA2428 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR2 0xFFCA2448 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR3 0xFFCA2468 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR4 0xFFCA2488 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR5 0xFFCA24A8 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBW0 0xFFCA240C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW1 0xFFCA242C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW2 0xFFCA244C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW3 0xFFCA246C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW4 0xFFCA248C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW5 0xFFCA24AC /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_SLAVES 0xFFCA2FC0 /* SCB0 Slave Interfaces Number Register */
-#define REG_SCB0_MASTERS 0xFFCA2FC4 /* SCB0 Master Interfaces Number Register */
-
-/* =========================
- SCB1
- ========================= */
-#define REG_SCB1_ARBR0 0xFFC42408 /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB1_ARBW0 0xFFC4240C /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB1_SLAVES 0xFFC42FC0 /* SCB1 Slave Interfaces Number Register */
-#define REG_SCB1_MASTERS 0xFFC42FC4 /* SCB1 Master Interfaces Number Register */
-
-/* =========================
- SCB2
- ========================= */
-#define REG_SCB2_ARBR0 0xFFC06408 /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB2_ARBW0 0xFFC0640C /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB2_SLAVES 0xFFC06FC0 /* SCB2 Slave Interfaces Number Register */
-#define REG_SCB2_MASTERS 0xFFC06FC4 /* SCB2 Master Interfaces Number Register */
-
-/* =========================
- SCB3
- ========================= */
-#define REG_SCB3_ARBR0 0xFFC08408 /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB3_ARBW0 0xFFC0840C /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB3_SLAVES 0xFFC08FC0 /* SCB3 Slave Interfaces Number Register */
-#define REG_SCB3_MASTERS 0xFFC08FC4 /* SCB3 Master Interfaces Number Register */
-
-/* =========================
- SCB4
- ========================= */
-#define REG_SCB4_ARBR0 0xFFC0A408 /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB4_ARBW0 0xFFC0A40C /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB4_SLAVES 0xFFC0AFC0 /* SCB4 Slave Interfaces Number Register */
-#define REG_SCB4_MASTERS 0xFFC0AFC4 /* SCB4 Master Interfaces Number Register */
-
-/* =========================
- SCB5
- ========================= */
-#define REG_SCB5_ARBR0 0xFFC0C408 /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB5_ARBW0 0xFFC0C40C /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB5_SLAVES 0xFFC0CFC0 /* SCB5 Slave Interfaces Number Register */
-#define REG_SCB5_MASTERS 0xFFC0CFC4 /* SCB5 Master Interfaces Number Register */
-
-/* =========================
- SCB6
- ========================= */
-#define REG_SCB6_ARBR0 0xFFC0E408 /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB6_ARBW0 0xFFC0E40C /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB6_SLAVES 0xFFC0EFC0 /* SCB6 Slave Interfaces Number Register */
-#define REG_SCB6_MASTERS 0xFFC0EFC4 /* SCB6 Master Interfaces Number Register */
-
-/* =========================
- SCB7
- ========================= */
-#define REG_SCB7_ARBR0 0xFFC11408 /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB7_ARBW0 0xFFC1140C /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB7_SLAVES 0xFFC11FC0 /* SCB7 Slave Interfaces Number Register */
-#define REG_SCB7_MASTERS 0xFFC11FC4 /* SCB7 Master Interfaces Number Register */
-
-/* =========================
- SCB8
- ========================= */
-#define REG_SCB8_ARBR0 0xFFC13408 /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB8_ARBW0 0xFFC1340C /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB8_SLAVES 0xFFC13FC0 /* SCB8 Slave Interfaces Number Register */
-#define REG_SCB8_MASTERS 0xFFC13FC4 /* SCB8 Master Interfaces Number Register */
-
-/* =========================
- SCB9
- ========================= */
-#define REG_SCB9_ARBR0 0xFFC15408 /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB9_ARBW0 0xFFC1540C /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB9_SLAVES 0xFFC15FC0 /* SCB9 Slave Interfaces Number Register */
-#define REG_SCB9_MASTERS 0xFFC15FC4 /* SCB9 Master Interfaces Number Register */
-
-/* =========================
- SCB10
- ========================= */
-#define REG_SCB10_ARBR0 0xFFCA1408 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR1 0xFFCA1428 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR2 0xFFCA1448 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBW0 0xFFCA140C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW1 0xFFCA142C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW2 0xFFCA144C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_SLAVES 0xFFCA1FC0 /* SCB10 Slave Interfaces Number Register */
-#define REG_SCB10_MASTERS 0xFFCA1FC4 /* SCB10 Master Interfaces Number Register */
-
-/* =========================
- SCB11
- ========================= */
-#define REG_SCB11_ARBR0 0xFFCA0408 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR1 0xFFCA0428 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR2 0xFFCA0448 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR3 0xFFCA0468 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR4 0xFFCA0488 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR5 0xFFCA04A8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR6 0xFFCA04C8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBW0 0xFFCA040C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW1 0xFFCA042C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW2 0xFFCA044C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW3 0xFFCA046C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW4 0xFFCA048C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW5 0xFFCA04AC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW6 0xFFCA04CC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_SLAVES 0xFFCA0FC0 /* SCB11 Slave Interfaces Number Register */
-#define REG_SCB11_MASTERS 0xFFCA0FC4 /* SCB11 Master Interfaces Number Register */
-
-/* =========================
- SCB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBR_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBR_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBR_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBR_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBW Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBW_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBW_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBW_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBW_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_SLAVES Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_SLAVES_SI 0 /* Slave Interface Value */
-#define BITM_SCB_SLAVES_SI (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_MASTERS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_MASTERS_MI 0 /* Master Interface Value */
-#define BITM_SCB_MASTERS_MI (_ADI_MSK(0x000000FF,uint32_t)) /* Master Interface Value */
-
-/* ==================================================
- L2 Memory Controller Registers
- ================================================== */
-
-/* =========================
- L2CTL0
- ========================= */
-#define REG_L2CTL0_CTL 0xFFCA3000 /* L2CTL0 Control Register */
-#define REG_L2CTL0_ACTL_C0 0xFFCA3004 /* L2CTL0 Access Control Core 0 Register */
-#define REG_L2CTL0_ACTL_C1 0xFFCA3008 /* L2CTL0 Access Control Core 1 Register */
-#define REG_L2CTL0_ACTL_SYS 0xFFCA300C /* L2CTL0 Access Control System Register */
-#define REG_L2CTL0_STAT 0xFFCA3010 /* L2CTL0 Status Register */
-#define REG_L2CTL0_RPCR 0xFFCA3014 /* L2CTL0 Read Priority Count Register */
-#define REG_L2CTL0_WPCR 0xFFCA3018 /* L2CTL0 Write Priority Count Register */
-#define REG_L2CTL0_RFA 0xFFCA3024 /* L2CTL0 Refresh Address Register */
-#define REG_L2CTL0_ERRADDR0 0xFFCA3040 /* L2CTL0 ECC Error Address 0 Register */
-#define REG_L2CTL0_ERRADDR1 0xFFCA3044 /* L2CTL0 ECC Error Address 1 Register */
-#define REG_L2CTL0_ERRADDR2 0xFFCA3048 /* L2CTL0 ECC Error Address 2 Register */
-#define REG_L2CTL0_ERRADDR3 0xFFCA304C /* L2CTL0 ECC Error Address 3 Register */
-#define REG_L2CTL0_ERRADDR4 0xFFCA3050 /* L2CTL0 ECC Error Address 4 Register */
-#define REG_L2CTL0_ERRADDR5 0xFFCA3054 /* L2CTL0 ECC Error Address 5 Register */
-#define REG_L2CTL0_ERRADDR6 0xFFCA3058 /* L2CTL0 ECC Error Address 6 Register */
-#define REG_L2CTL0_ERRADDR7 0xFFCA305C /* L2CTL0 ECC Error Address 7 Register */
-#define REG_L2CTL0_ET0 0xFFCA3080 /* L2CTL0 Error Type 0 Register */
-#define REG_L2CTL0_EADDR0 0xFFCA3084 /* L2CTL0 Error Type 0 Address Register */
-#define REG_L2CTL0_ET1 0xFFCA3088 /* L2CTL0 Error Type 1 Register */
-#define REG_L2CTL0_EADDR1 0xFFCA308C /* L2CTL0 Error Type 1 Address Register */
-
-/* =========================
- L2CTL
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_CTL_LOCK 31 /* Lock */
-#define BITP_L2CTL_CTL_DISURP 16 /* Disable Urgent Request Priority */
-#define BITP_L2CTL_CTL_ECCMAP7 15 /* ECC Map Bank 7 */
-#define BITP_L2CTL_CTL_ECCMAP6 14 /* ECC Map Bank 6 */
-#define BITP_L2CTL_CTL_ECCMAP5 13 /* ECC Map Bank 5 */
-#define BITP_L2CTL_CTL_ECCMAP4 12 /* ECC Map Bank 4 */
-#define BITP_L2CTL_CTL_ECCMAP3 11 /* ECC Map Bank 3 */
-#define BITP_L2CTL_CTL_ECCMAP2 10 /* ECC Map Bank 2 */
-#define BITP_L2CTL_CTL_ECCMAP1 9 /* ECC Map Bank 1 */
-#define BITP_L2CTL_CTL_ECCMAP0 8 /* ECC Map Bank 0 */
-#define BITP_L2CTL_CTL_BK7EDIS 7 /* Bank 7 ECC Disable */
-#define BITP_L2CTL_CTL_BK6EDIS 6 /* Bank 6 ECC Disable */
-#define BITP_L2CTL_CTL_BK5EDIS 5 /* Bank 5 ECC Disable */
-#define BITP_L2CTL_CTL_BK4EDIS 4 /* Bank 4 ECC Disable */
-#define BITP_L2CTL_CTL_BK3EDIS 3 /* Bank 3 ECC Disable */
-#define BITP_L2CTL_CTL_BK2EDIS 2 /* Bank 2 ECC Disable */
-#define BITP_L2CTL_CTL_BK1EDIS 1 /* Bank 1 ECC Disable */
-#define BITP_L2CTL_CTL_BK0EDIS 0 /* Bank 0 ECC Disable */
-#define BITM_L2CTL_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_CTL_DISURP (_ADI_MSK(0x00010000,uint32_t)) /* Disable Urgent Request Priority */
-#define BITM_L2CTL_CTL_ECCMAP7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Map Bank 7 */
-#define BITM_L2CTL_CTL_ECCMAP6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Map Bank 6 */
-#define BITM_L2CTL_CTL_ECCMAP5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Map Bank 5 */
-#define BITM_L2CTL_CTL_ECCMAP4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Map Bank 4 */
-#define BITM_L2CTL_CTL_ECCMAP3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Map Bank 3 */
-#define BITM_L2CTL_CTL_ECCMAP2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Map Bank 2 */
-#define BITM_L2CTL_CTL_ECCMAP1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Map Bank 1 */
-#define BITM_L2CTL_CTL_ECCMAP0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Map Bank 0 */
-#define BITM_L2CTL_CTL_BK7EDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 ECC Disable */
-#define BITM_L2CTL_CTL_BK6EDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 ECC Disable */
-#define BITM_L2CTL_CTL_BK5EDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 ECC Disable */
-#define BITM_L2CTL_CTL_BK4EDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 ECC Disable */
-#define BITM_L2CTL_CTL_BK3EDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 ECC Disable */
-#define BITM_L2CTL_CTL_BK2EDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 ECC Disable */
-#define BITM_L2CTL_CTL_BK1EDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 ECC Disable */
-#define BITM_L2CTL_CTL_BK0EDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 ECC Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C0_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C0_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C0_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C0_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C1_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C1_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C1_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C1_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_SYS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_SYS_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_SYS_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_SYS_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_STAT_ECCERR7 15 /* ECC Error Bank 7 */
-#define BITP_L2CTL_STAT_ECCERR6 14 /* ECC Error Bank 6 */
-#define BITP_L2CTL_STAT_ECCERR5 13 /* ECC Error Bank 5 */
-#define BITP_L2CTL_STAT_ECCERR4 12 /* ECC Error Bank 4 */
-#define BITP_L2CTL_STAT_ECCERR3 11 /* ECC Error Bank 3 */
-#define BITP_L2CTL_STAT_ECCERR2 10 /* ECC Error Bank 2 */
-#define BITP_L2CTL_STAT_ECCERR1 9 /* ECC Error Bank 1 */
-#define BITP_L2CTL_STAT_ECCERR0 8 /* ECC Error Bank 0 */
-#define BITP_L2CTL_STAT_RFRS 4 /* Refresh Register Status */
-#define BITP_L2CTL_STAT_ERR1 1 /* Error Port 1 */
-#define BITP_L2CTL_STAT_ERR0 0 /* Error Port 0 */
-#define BITM_L2CTL_STAT_ECCERR7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Error Bank 7 */
-#define BITM_L2CTL_STAT_ECCERR6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Error Bank 6 */
-#define BITM_L2CTL_STAT_ECCERR5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Error Bank 5 */
-#define BITM_L2CTL_STAT_ECCERR4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Error Bank 4 */
-#define BITM_L2CTL_STAT_ECCERR3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Error Bank 3 */
-#define BITM_L2CTL_STAT_ECCERR2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Error Bank 2 */
-#define BITM_L2CTL_STAT_ECCERR1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Error Bank 1 */
-#define BITM_L2CTL_STAT_ECCERR0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Error Bank 0 */
-#define BITM_L2CTL_STAT_RFRS (_ADI_MSK(0x00000010,uint32_t)) /* Refresh Register Status */
-#define BITM_L2CTL_STAT_ERR1 (_ADI_MSK(0x00000002,uint32_t)) /* Error Port 1 */
-#define BITM_L2CTL_STAT_ERR0 (_ADI_MSK(0x00000001,uint32_t)) /* Error Port 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RPCR_RPC1 8 /* Read Priority Count 1 */
-#define BITP_L2CTL_RPCR_RPC0 0 /* Read Priority Count 0 */
-#define BITM_L2CTL_RPCR_RPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Read Priority Count 1 */
-#define BITM_L2CTL_RPCR_RPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Read Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_WPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_WPCR_WPC1 8 /* Write Priority Count 1 */
-#define BITP_L2CTL_WPCR_WPC0 0 /* Write Priority Count 0 */
-#define BITM_L2CTL_WPCR_WPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Write Priority Count 1 */
-#define BITM_L2CTL_WPCR_WPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Write Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RFA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RFA_ADDRHI 16 /* Address High */
-#define BITP_L2CTL_RFA_ADDRLO 0 /* Address Low */
-#define BITM_L2CTL_RFA_ADDRHI (_ADI_MSK(0xFFFF0000,uint32_t)) /* Address High */
-#define BITM_L2CTL_RFA_ADDRLO (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address Low */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET0_ID 8 /* Error ID */
-#define BITP_L2CTL_ET0_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET0_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET0_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET0_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET0_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET0_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET0_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET0_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET0_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET0_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET0_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET1_ID 8 /* Error ID */
-#define BITP_L2CTL_ET1_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET1_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET1_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET1_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET1_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET1_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET1_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET1_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET1_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET1_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET1_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ==================================================
- System Event Controller Registers
- ================================================== */
-
-/* =========================
- SEC0
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Core Interface (SCI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_CCTL0 0xFFCA4400 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CCTL1 0xFFCA4440 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CSTAT0 0xFFCA4404 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CSTAT1 0xFFCA4444 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CPND0 0xFFCA4408 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CPND1 0xFFCA4448 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CACT0 0xFFCA440C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CACT1 0xFFCA444C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CPMSK0 0xFFCA4410 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CPMSK1 0xFFCA4450 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CGMSK0 0xFFCA4414 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CGMSK1 0xFFCA4454 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CPLVL0 0xFFCA4418 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CPLVL1 0xFFCA4458 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CSID0 0xFFCA441C /* SEC0 SCI Source ID Register n */
-#define REG_SEC0_CSID1 0xFFCA445C /* SEC0 SCI Source ID Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Fault Management Interface (SFI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_FCTL 0xFFCA4010 /* SEC0 Fault Control Register */
-#define REG_SEC0_FSTAT 0xFFCA4014 /* SEC0 Fault Status Register */
-#define REG_SEC0_FSID 0xFFCA4018 /* SEC0 Fault Source ID Register */
-#define REG_SEC0_FEND 0xFFCA401C /* SEC0 Fault End Register */
-#define REG_SEC0_FDLY 0xFFCA4020 /* SEC0 Fault Delay Register */
-#define REG_SEC0_FDLY_CUR 0xFFCA4024 /* SEC0 Fault Delay Current Register */
-#define REG_SEC0_FSRDLY 0xFFCA4028 /* SEC0 Fault System Reset Delay Register */
-#define REG_SEC0_FSRDLY_CUR 0xFFCA402C /* SEC0 Fault System Reset Delay Current Register */
-#define REG_SEC0_FCOPP 0xFFCA4030 /* SEC0 Fault COP Period Register */
-#define REG_SEC0_FCOPP_CUR 0xFFCA4034 /* SEC0 Fault COP Period Current Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Global Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_GCTL 0xFFCA4000 /* SEC0 Global Control Register */
-#define REG_SEC0_GSTAT 0xFFCA4004 /* SEC0 Global Status Register */
-#define REG_SEC0_RAISE 0xFFCA4008 /* SEC0 Global Raise Register */
-#define REG_SEC0_END 0xFFCA400C /* SEC0 Global End Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Source Interface (SSI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_SCTL0 0xFFCA4800 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL1 0xFFCA4808 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL2 0xFFCA4810 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL3 0xFFCA4818 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL4 0xFFCA4820 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL5 0xFFCA4828 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL6 0xFFCA4830 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL7 0xFFCA4838 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL8 0xFFCA4840 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL9 0xFFCA4848 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL10 0xFFCA4850 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL11 0xFFCA4858 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL12 0xFFCA4860 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL13 0xFFCA4868 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL14 0xFFCA4870 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL15 0xFFCA4878 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL16 0xFFCA4880 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL17 0xFFCA4888 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL18 0xFFCA4890 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL19 0xFFCA4898 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL20 0xFFCA48A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL21 0xFFCA48A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL22 0xFFCA48B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL23 0xFFCA48B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL24 0xFFCA48C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL25 0xFFCA48C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL26 0xFFCA48D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL27 0xFFCA48D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL28 0xFFCA48E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL29 0xFFCA48E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL30 0xFFCA48F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL31 0xFFCA48F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL32 0xFFCA4900 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL33 0xFFCA4908 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL34 0xFFCA4910 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL35 0xFFCA4918 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL36 0xFFCA4920 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL37 0xFFCA4928 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL38 0xFFCA4930 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL39 0xFFCA4938 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL40 0xFFCA4940 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL41 0xFFCA4948 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL42 0xFFCA4950 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL43 0xFFCA4958 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL44 0xFFCA4960 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL45 0xFFCA4968 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL46 0xFFCA4970 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL47 0xFFCA4978 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL48 0xFFCA4980 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL49 0xFFCA4988 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL50 0xFFCA4990 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL51 0xFFCA4998 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL52 0xFFCA49A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL53 0xFFCA49A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL54 0xFFCA49B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL55 0xFFCA49B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL56 0xFFCA49C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL57 0xFFCA49C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL58 0xFFCA49D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL59 0xFFCA49D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL60 0xFFCA49E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL61 0xFFCA49E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL62 0xFFCA49F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL63 0xFFCA49F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL64 0xFFCA4A00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL65 0xFFCA4A08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL66 0xFFCA4A10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL67 0xFFCA4A18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL68 0xFFCA4A20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL69 0xFFCA4A28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL70 0xFFCA4A30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL71 0xFFCA4A38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL72 0xFFCA4A40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL73 0xFFCA4A48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL74 0xFFCA4A50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL75 0xFFCA4A58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL76 0xFFCA4A60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL77 0xFFCA4A68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL78 0xFFCA4A70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL79 0xFFCA4A78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL80 0xFFCA4A80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL81 0xFFCA4A88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL82 0xFFCA4A90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL83 0xFFCA4A98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL84 0xFFCA4AA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL85 0xFFCA4AA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL86 0xFFCA4AB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL87 0xFFCA4AB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL88 0xFFCA4AC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL89 0xFFCA4AC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL90 0xFFCA4AD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL91 0xFFCA4AD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL92 0xFFCA4AE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL93 0xFFCA4AE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL94 0xFFCA4AF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL95 0xFFCA4AF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL96 0xFFCA4B00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL97 0xFFCA4B08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL98 0xFFCA4B10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL99 0xFFCA4B18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL100 0xFFCA4B20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL101 0xFFCA4B28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL102 0xFFCA4B30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL103 0xFFCA4B38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL104 0xFFCA4B40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL105 0xFFCA4B48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL106 0xFFCA4B50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL107 0xFFCA4B58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL108 0xFFCA4B60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL109 0xFFCA4B68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL110 0xFFCA4B70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL111 0xFFCA4B78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL112 0xFFCA4B80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL113 0xFFCA4B88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL114 0xFFCA4B90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL115 0xFFCA4B98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL116 0xFFCA4BA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL117 0xFFCA4BA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL118 0xFFCA4BB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL119 0xFFCA4BB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL120 0xFFCA4BC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL121 0xFFCA4BC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL122 0xFFCA4BD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL123 0xFFCA4BD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL124 0xFFCA4BE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL125 0xFFCA4BE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL126 0xFFCA4BF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL127 0xFFCA4BF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL128 0xFFCA4C00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL129 0xFFCA4C08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL130 0xFFCA4C10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL131 0xFFCA4C18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL132 0xFFCA4C20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL133 0xFFCA4C28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL134 0xFFCA4C30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL135 0xFFCA4C38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL136 0xFFCA4C40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL137 0xFFCA4C48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL138 0xFFCA4C50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL139 0xFFCA4C58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SSTAT0 0xFFCA4804 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT1 0xFFCA480C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT2 0xFFCA4814 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT3 0xFFCA481C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT4 0xFFCA4824 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT5 0xFFCA482C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT6 0xFFCA4834 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT7 0xFFCA483C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT8 0xFFCA4844 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT9 0xFFCA484C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT10 0xFFCA4854 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT11 0xFFCA485C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT12 0xFFCA4864 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT13 0xFFCA486C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT14 0xFFCA4874 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT15 0xFFCA487C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT16 0xFFCA4884 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT17 0xFFCA488C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT18 0xFFCA4894 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT19 0xFFCA489C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT20 0xFFCA48A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT21 0xFFCA48AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT22 0xFFCA48B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT23 0xFFCA48BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT24 0xFFCA48C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT25 0xFFCA48CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT26 0xFFCA48D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT27 0xFFCA48DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT28 0xFFCA48E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT29 0xFFCA48EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT30 0xFFCA48F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT31 0xFFCA48FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT32 0xFFCA4904 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT33 0xFFCA490C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT34 0xFFCA4914 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT35 0xFFCA491C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT36 0xFFCA4924 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT37 0xFFCA492C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT38 0xFFCA4934 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT39 0xFFCA493C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT40 0xFFCA4944 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT41 0xFFCA494C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT42 0xFFCA4954 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT43 0xFFCA495C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT44 0xFFCA4964 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT45 0xFFCA496C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT46 0xFFCA4974 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT47 0xFFCA497C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT48 0xFFCA4984 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT49 0xFFCA498C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT50 0xFFCA4994 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT51 0xFFCA499C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT52 0xFFCA49A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT53 0xFFCA49AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT54 0xFFCA49B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT55 0xFFCA49BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT56 0xFFCA49C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT57 0xFFCA49CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT58 0xFFCA49D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT59 0xFFCA49DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT60 0xFFCA49E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT61 0xFFCA49EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT62 0xFFCA49F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT63 0xFFCA49FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT64 0xFFCA4A04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT65 0xFFCA4A0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT66 0xFFCA4A14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT67 0xFFCA4A1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT68 0xFFCA4A24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT69 0xFFCA4A2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT70 0xFFCA4A34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT71 0xFFCA4A3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT72 0xFFCA4A44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT73 0xFFCA4A4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT74 0xFFCA4A54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT75 0xFFCA4A5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT76 0xFFCA4A64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT77 0xFFCA4A6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT78 0xFFCA4A74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT79 0xFFCA4A7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT80 0xFFCA4A84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT81 0xFFCA4A8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT82 0xFFCA4A94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT83 0xFFCA4A9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT84 0xFFCA4AA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT85 0xFFCA4AAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT86 0xFFCA4AB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT87 0xFFCA4ABC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT88 0xFFCA4AC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT89 0xFFCA4ACC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT90 0xFFCA4AD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT91 0xFFCA4ADC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT92 0xFFCA4AE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT93 0xFFCA4AEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT94 0xFFCA4AF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT95 0xFFCA4AFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT96 0xFFCA4B04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT97 0xFFCA4B0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT98 0xFFCA4B14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT99 0xFFCA4B1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT100 0xFFCA4B24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT101 0xFFCA4B2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT102 0xFFCA4B34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT103 0xFFCA4B3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT104 0xFFCA4B44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT105 0xFFCA4B4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT106 0xFFCA4B54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT107 0xFFCA4B5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT108 0xFFCA4B64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT109 0xFFCA4B6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT110 0xFFCA4B74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT111 0xFFCA4B7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT112 0xFFCA4B84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT113 0xFFCA4B8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT114 0xFFCA4B94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT115 0xFFCA4B9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT116 0xFFCA4BA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT117 0xFFCA4BAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT118 0xFFCA4BB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT119 0xFFCA4BBC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT120 0xFFCA4BC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT121 0xFFCA4BCC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT122 0xFFCA4BD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT123 0xFFCA4BDC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT124 0xFFCA4BE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT125 0xFFCA4BEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT126 0xFFCA4BF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT127 0xFFCA4BFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT128 0xFFCA4C04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT129 0xFFCA4C0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT130 0xFFCA4C14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT131 0xFFCA4C1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT132 0xFFCA4C24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT133 0xFFCA4C2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT134 0xFFCA4C34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT135 0xFFCA4C3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT136 0xFFCA4C44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT137 0xFFCA4C4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT138 0xFFCA4C54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT139 0xFFCA4C5C /* SEC0 Source Status Register n */
-
-/* =========================
- SEC
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CCTL_LOCK 31 /* Lock */
-#define BITP_SEC_CCTL_NMIEN 16 /* NMI Enable */
-#define BITP_SEC_CCTL_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CCTL_RESET 1 /* Reset */
-#define BITP_SEC_CCTL_EN 0 /* Enable */
-
-#define BITM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CCTL_NMIEN (_ADI_MSK(0x00010000,uint32_t)) /* NMI Enable */
-#define ENUM_SEC_CCTL_NMI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* NMIEN: Disable */
-#define ENUM_SEC_CCTL_NMI_EN (_ADI_MSK(0x00010000,uint32_t)) /* NMIEN: Enable */
-
-#define BITM_SEC_CCTL_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CCTL_NO_WAITIDLE (_ADI_MSK(0x00000000,uint32_t)) /* WFI: No Action */
-#define ENUM_SEC_CCTL_WAITIDLE (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Wait for Idle */
-
-#define BITM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_CCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_CCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSTAT_NMI 16 /* NMI */
-#define BITP_SEC_CSTAT_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CSTAT_SIDV 10 /* SID Valid */
-#define BITP_SEC_CSTAT_ACTV 9 /* ACT Valid */
-#define BITP_SEC_CSTAT_PNDV 8 /* PND Valid */
-#define BITP_SEC_CSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_CSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI */
-#define ENUM_SEC_CSTAT_NO_NMI (_ADI_MSK(0x00000000,uint32_t)) /* NMI: No NMI Occured */
-#define ENUM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI: NMI Occurred */
-
-#define BITM_SEC_CSTAT_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CSTAT_NOT_WAITING (_ADI_MSK(0x00000000,uint32_t)) /* WFI: Not Waiting */
-#define ENUM_SEC_CSTAT_WAITING (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Waiting */
-
-#define BITM_SEC_CSTAT_SIDV (_ADI_MSK(0x00000400,uint32_t)) /* SID Valid */
-#define ENUM_SEC_CSTAT_INVALID_SID (_ADI_MSK(0x00000000,uint32_t)) /* SIDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_SID (_ADI_MSK(0x00000400,uint32_t)) /* SIDV: Valid */
-
-#define BITM_SEC_CSTAT_ACTV (_ADI_MSK(0x00000200,uint32_t)) /* ACT Valid */
-#define ENUM_SEC_CSTAT_INVALID_ACT (_ADI_MSK(0x00000000,uint32_t)) /* ACTV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_ACT (_ADI_MSK(0x00000200,uint32_t)) /* ACTV: Valid */
-
-#define BITM_SEC_CSTAT_PNDV (_ADI_MSK(0x00000100,uint32_t)) /* PND Valid */
-#define ENUM_SEC_CSTAT_INVALID_PND (_ADI_MSK(0x00000000,uint32_t)) /* PNDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_PND (_ADI_MSK(0x00000100,uint32_t)) /* PNDV: Valid */
-
-#define BITM_SEC_CSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_CSTAT_ACKERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Acknowledge Error */
-
-#define BITM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_CSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPND_PRIO 8 /* Highest Pending IRQ Priority */
-#define BITP_SEC_CPND_SID 0 /* Highest Pending IRQ Source ID */
-#define BITM_SEC_CPND_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Pending IRQ Priority */
-#define BITM_SEC_CPND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Pending IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CACT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CACT_PRIO 8 /* Highest Active IRQ Priority */
-#define BITP_SEC_CACT_SID 0 /* Highest Active IRQ Source ID */
-#define BITM_SEC_CACT_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Active IRQ Priority */
-#define BITM_SEC_CACT_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Active IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CPMSK_PRIO 0 /* IRQ Priority Mask */
-
-#define BITM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPMSK_PRIO (_ADI_MSK(0x000000FF,uint32_t)) /* IRQ Priority Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CGMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CGMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CGMSK_UGRP 8 /* Ungrouped Mask */
-#define BITP_SEC_CGMSK_GRP 0 /* Grouped Mask */
-
-#define BITM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CGMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CGMSK_UGRP (_ADI_MSK(0x00000100,uint32_t)) /* Ungrouped Mask */
-#define ENUM_SEC_CGMSK_UNMASK (_ADI_MSK(0x00000000,uint32_t)) /* UGRP: Unmask Ungrouped Sources */
-#define ENUM_SEC_CGMSK_MASK (_ADI_MSK(0x00000100,uint32_t)) /* UGRP: Mask Ungrouped Sources */
-#define BITM_SEC_CGMSK_GRP (_ADI_MSK(0x0000000F,uint32_t)) /* Grouped Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPLVL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPLVL_LOCK 31 /* Lock */
-#define BITP_SEC_CPLVL_PLVL 0 /* Priority Levels */
-
-#define BITM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPLVL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPLVL_PLVL (_ADI_MSK(0x00000007,uint32_t)) /* Priority Levels */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSID_SID 0 /* Source ID */
-#define BITM_SEC_CSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FCTL_LOCK 31 /* Lock */
-#define BITP_SEC_FCTL_TES 13 /* Trigger Event Select */
-#define BITP_SEC_FCTL_CMS 12 /* COP Mode Select */
-#define BITP_SEC_FCTL_FIEN 7 /* Fault Input Enable */
-#define BITP_SEC_FCTL_SREN 6 /* System Reset Enable */
-#define BITP_SEC_FCTL_TOEN 5 /* Trigger Output Enable */
-#define BITP_SEC_FCTL_FOEN 4 /* Fault Output Enable */
-#define BITP_SEC_FCTL_RESET 1 /* Reset */
-#define BITP_SEC_FCTL_EN 0 /* Enable */
-
-#define BITM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_FCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: UnLock */
-#define ENUM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_FCTL_TES (_ADI_MSK(0x00002000,uint32_t)) /* Trigger Event Select */
-#define ENUM_SEC_FCTL_FLTACT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* TES: Fault Active Mode */
-#define ENUM_SEC_FCTL_FLTPND_MODE (_ADI_MSK(0x00002000,uint32_t)) /* TES: Fault Pending Mode */
-
-#define BITM_SEC_FCTL_CMS (_ADI_MSK(0x00001000,uint32_t)) /* COP Mode Select */
-#define ENUM_SEC_FCTL_FLT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* CMS: Fault Mode */
-#define ENUM_SEC_FCTL_COP_MODE (_ADI_MSK(0x00001000,uint32_t)) /* CMS: COP Mode */
-
-#define BITM_SEC_FCTL_FIEN (_ADI_MSK(0x00000080,uint32_t)) /* Fault Input Enable */
-#define ENUM_SEC_FCTL_FLTIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FIEN: Disable */
-#define ENUM_SEC_FCTL_FLTIN_EN (_ADI_MSK(0x00000080,uint32_t)) /* FIEN: Enable */
-
-#define BITM_SEC_FCTL_SREN (_ADI_MSK(0x00000040,uint32_t)) /* System Reset Enable */
-#define ENUM_SEC_FCTL_SYSRST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SREN: Disable */
-#define ENUM_SEC_FCTL_SYSRST_EN (_ADI_MSK(0x00000040,uint32_t)) /* SREN: Enable */
-
-#define BITM_SEC_FCTL_TOEN (_ADI_MSK(0x00000020,uint32_t)) /* Trigger Output Enable */
-#define ENUM_SEC_FCTL_TRGOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOEN: Disable */
-#define ENUM_SEC_FCTL_TRGOUT_EN (_ADI_MSK(0x00000020,uint32_t)) /* TOEN: Enable */
-
-#define BITM_SEC_FCTL_FOEN (_ADI_MSK(0x00000010,uint32_t)) /* Fault Output Enable */
-#define ENUM_SEC_FCTL_FLTOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FOEN: Disable */
-#define ENUM_SEC_FCTL_FLTOUT_EN (_ADI_MSK(0x00000010,uint32_t)) /* FOEN: Enable */
-
-#define BITM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_FCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_FCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSTAT_NPND 10 /* Next Pending Fault */
-#define BITP_SEC_FSTAT_ACT 9 /* Fault Active */
-#define BITP_SEC_FSTAT_PND 8 /* Pending Fault */
-#define BITP_SEC_FSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_FSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_FSTAT_NPND (_ADI_MSK(0x00000400,uint32_t)) /* Next Pending Fault */
-#define ENUM_SEC_FSTAT_NO_NXTFLT (_ADI_MSK(0x00000000,uint32_t)) /* NPND: Not Pending */
-#define ENUM_SEC_FSTAT_NXTFLT (_ADI_MSK(0x00000400,uint32_t)) /* NPND: Pending */
-
-#define BITM_SEC_FSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Fault Active */
-#define ENUM_SEC_FSTAT_NO_FLTACT (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Fault */
-#define ENUM_SEC_FSTAT_FLTACT (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Fault */
-
-#define BITM_SEC_FSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Fault */
-#define ENUM_SEC_FSTAT_NO_FLTPND (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_FSTAT_FLTPND (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_FSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_FSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_FSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSID_FEXT 16 /* Fault External */
-#define BITP_SEC_FSID_SID 0 /* Source ID */
-
-#define BITM_SEC_FSID_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FSID_SRC_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FSID_SRC_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FEND_FEXT 16 /* Fault External */
-#define BITP_SEC_FEND_SID 0 /* Source ID */
-
-#define BITM_SEC_FEND_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FEND_END_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FEND_END_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FEND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GCTL_LOCK 31 /* Lock */
-#define BITP_SEC_GCTL_RESET 1 /* Reset */
-#define BITP_SEC_GCTL_EN 0 /* Enable */
-
-#define BITM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_GCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_GCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_GCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GSTAT_LWERR 31 /* Lock Write Error */
-#define BITP_SEC_GSTAT_ADRERR 30 /* Address Error */
-#define BITP_SEC_GSTAT_SID 16 /* Source ID for SSI Error */
-#define BITP_SEC_GSTAT_SCI 8 /* SCI ID for SCI Error */
-#define BITP_SEC_GSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_GSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define ENUM_SEC_GSTAT_NO_LWERR (_ADI_MSK(0x00000000,uint32_t)) /* LWERR: No Error */
-#define ENUM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* LWERR: Error Occurred */
-
-#define BITM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define ENUM_SEC_GSTAT_NO_ADRERR (_ADI_MSK(0x00000000,uint32_t)) /* ADRERR: No Error */
-#define ENUM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* ADRERR: Error Occurred */
-#define BITM_SEC_GSTAT_SID (_ADI_MSK(0x00FF0000,uint32_t)) /* Source ID for SSI Error */
-#define BITM_SEC_GSTAT_SCI (_ADI_MSK(0x00000F00,uint32_t)) /* SCI ID for SCI Error */
-
-#define BITM_SEC_GSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_GSTAT_SFIERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: SFI Error */
-#define ENUM_SEC_GSTAT_SCIERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: SCI Error */
-#define ENUM_SEC_GSTAT_SSIERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: SSI Error */
-
-#define BITM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_GSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_RAISE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_RAISE_SID 0 /* Source ID IRQ Set to Pending */
-#define BITM_SEC_RAISE_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ Set to Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_END Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_END_SID 0 /* Source ID IRQ to End */
-#define BITM_SEC_END_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ to End */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SCTL_LOCK 31 /* Lock */
-#define BITP_SEC_SCTL_CTG 24 /* Core Target Select */
-#define BITP_SEC_SCTL_GRP 16 /* Group Select */
-#define BITP_SEC_SCTL_PRIO 8 /* Priority Level Select */
-#define BITP_SEC_SCTL_ERREN 4 /* Error Enable */
-#define BITP_SEC_SCTL_ES 3 /* Edge Select */
-#define BITP_SEC_SCTL_SEN 2 /* Source (signal) Enable */
-#define BITP_SEC_SCTL_FEN 1 /* Fault Enable */
-#define BITP_SEC_SCTL_IEN 0 /* Interrupt Enable */
-
-#define BITM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_SCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_SCTL_CTG (_ADI_MSK(0x0F000000,uint32_t)) /* Core Target Select */
-#define BITM_SEC_SCTL_GRP (_ADI_MSK(0x000F0000,uint32_t)) /* Group Select */
-#define BITM_SEC_SCTL_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Priority Level Select */
-
-#define BITM_SEC_SCTL_ERREN (_ADI_MSK(0x00000010,uint32_t)) /* Error Enable */
-#define ENUM_SEC_SCTL_ERR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ERREN: Disable */
-#define ENUM_SEC_SCTL_ERR_EN (_ADI_MSK(0x00000010,uint32_t)) /* ERREN: Enable */
-
-#define BITM_SEC_SCTL_ES (_ADI_MSK(0x00000008,uint32_t)) /* Edge Select */
-#define ENUM_SEC_SCTL_LEVEL (_ADI_MSK(0x00000000,uint32_t)) /* ES: Level Sensitive */
-#define ENUM_SEC_SCTL_EDGE (_ADI_MSK(0x00000008,uint32_t)) /* ES: Edge Sensitive */
-
-#define BITM_SEC_SCTL_SEN (_ADI_MSK(0x00000004,uint32_t)) /* Source (signal) Enable */
-#define ENUM_SEC_SCTL_SRC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SEN: Disable */
-#define ENUM_SEC_SCTL_SRC_EN (_ADI_MSK(0x00000004,uint32_t)) /* SEN: Enable */
-
-#define BITM_SEC_SCTL_FEN (_ADI_MSK(0x00000002,uint32_t)) /* Fault Enable */
-#define ENUM_SEC_SCTL_FAULT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FEN: Disable */
-#define ENUM_SEC_SCTL_FAULT_EN (_ADI_MSK(0x00000002,uint32_t)) /* FEN: Enable */
-
-#define BITM_SEC_SCTL_IEN (_ADI_MSK(0x00000001,uint32_t)) /* Interrupt Enable */
-#define ENUM_SEC_SCTL_INT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* IEN: Disable */
-#define ENUM_SEC_SCTL_INT_EN (_ADI_MSK(0x00000001,uint32_t)) /* IEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SSTAT_CHID 16 /* Channel ID */
-#define BITP_SEC_SSTAT_ACT 9 /* Active Source */
-#define BITP_SEC_SSTAT_PND 8 /* Pending Source */
-#define BITP_SEC_SSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_SSTAT_ERR 1 /* Error */
-#define BITM_SEC_SSTAT_CHID (_ADI_MSK(0x00FF0000,uint32_t)) /* Channel ID */
-
-#define BITM_SEC_SSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Active Source */
-#define ENUM_SEC_SSTAT_NO_SRC (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Source */
-#define ENUM_SEC_SSTAT_ACTIVE_SRC (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Source */
-
-#define BITM_SEC_SSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Source */
-#define ENUM_SEC_SSTAT_NOTPENDING (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_SSTAT_PENDING (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_SSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_SSTAT_SOVFERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Source Overflow Error */
-#define ENUM_SEC_SSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_SSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ==================================================
- Trigger Routing Unit Registers
- ================================================== */
-
-/* =========================
- TRU0
- ========================= */
-#define REG_TRU0_SSR0 0xFFCA5000 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR1 0xFFCA5004 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR2 0xFFCA5008 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR3 0xFFCA500C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR4 0xFFCA5010 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR5 0xFFCA5014 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR6 0xFFCA5018 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR7 0xFFCA501C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR8 0xFFCA5020 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR9 0xFFCA5024 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR10 0xFFCA5028 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR11 0xFFCA502C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR12 0xFFCA5030 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR13 0xFFCA5034 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR14 0xFFCA5038 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR15 0xFFCA503C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR16 0xFFCA5040 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR17 0xFFCA5044 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR18 0xFFCA5048 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR19 0xFFCA504C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR20 0xFFCA5050 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR21 0xFFCA5054 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR22 0xFFCA5058 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR23 0xFFCA505C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR24 0xFFCA5060 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR25 0xFFCA5064 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR26 0xFFCA5068 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR27 0xFFCA506C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR28 0xFFCA5070 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR29 0xFFCA5074 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR30 0xFFCA5078 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR31 0xFFCA507C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR32 0xFFCA5080 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR33 0xFFCA5084 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR34 0xFFCA5088 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR35 0xFFCA508C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR36 0xFFCA5090 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR37 0xFFCA5094 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR38 0xFFCA5098 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR39 0xFFCA509C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR40 0xFFCA50A0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR41 0xFFCA50A4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR42 0xFFCA50A8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR43 0xFFCA50AC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR44 0xFFCA50B0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR45 0xFFCA50B4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR46 0xFFCA50B8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR47 0xFFCA50BC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR48 0xFFCA50C0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR49 0xFFCA50C4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR50 0xFFCA50C8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR51 0xFFCA50CC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR52 0xFFCA50D0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR53 0xFFCA50D4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR54 0xFFCA50D8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR55 0xFFCA50DC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR56 0xFFCA50E0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR57 0xFFCA50E4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR58 0xFFCA50E8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR59 0xFFCA50EC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR60 0xFFCA50F0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR61 0xFFCA50F4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR62 0xFFCA50F8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR63 0xFFCA50FC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR64 0xFFCA5100 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR65 0xFFCA5104 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR66 0xFFCA5108 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR67 0xFFCA510C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR68 0xFFCA5110 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR69 0xFFCA5114 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR70 0xFFCA5118 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR71 0xFFCA511C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR72 0xFFCA5120 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR73 0xFFCA5124 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR74 0xFFCA5128 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR75 0xFFCA512C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR76 0xFFCA5130 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR77 0xFFCA5134 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR78 0xFFCA5138 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR79 0xFFCA513C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR80 0xFFCA5140 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR81 0xFFCA5144 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR82 0xFFCA5148 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR83 0xFFCA514C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR84 0xFFCA5150 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR85 0xFFCA5154 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR86 0xFFCA5158 /* TRU0 Slave Select Register */
-#define REG_TRU0_MTR 0xFFCA57E0 /* TRU0 Master Trigger Register */
-#define REG_TRU0_ERRADDR 0xFFCA57E8 /* TRU0 Error Address Register */
-#define REG_TRU0_STAT 0xFFCA57EC /* TRU0 Status Information Register */
-#define REG_TRU0_REVID 0xFFCA57F0 /* TRU0 Revision ID Register */
-#define REG_TRU0_GCTL 0xFFCA57F4 /* TRU0 Global Control Register */
-
-/* =========================
- TRU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_SSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_SSR_LOCK 31 /* SSRn Lock */
-#define BITP_TRU_SSR_SSR 0 /* SSRn Slave Select */
-#define BITM_TRU_SSR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* SSRn Lock */
-#define BITM_TRU_SSR_SSR (_ADI_MSK(0x000000FF,uint32_t)) /* SSRn Slave Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_MTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_MTR_MTR3 24 /* Master Trigger Register 3 */
-#define BITP_TRU_MTR_MTR2 16 /* Master Trigger Register 2 */
-#define BITP_TRU_MTR_MTR1 8 /* Master Trigger Register 1 */
-#define BITP_TRU_MTR_MTR0 0 /* Master Trigger Register 0 */
-#define BITM_TRU_MTR_MTR3 (_ADI_MSK(0xFF000000,uint32_t)) /* Master Trigger Register 3 */
-#define BITM_TRU_MTR_MTR2 (_ADI_MSK(0x00FF0000,uint32_t)) /* Master Trigger Register 2 */
-#define BITM_TRU_MTR_MTR1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Master Trigger Register 1 */
-#define BITM_TRU_MTR_MTR0 (_ADI_MSK(0x000000FF,uint32_t)) /* Master Trigger Register 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_ERRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_ERRADDR_ADDR 0 /* Error Address */
-#define BITM_TRU_ERRADDR_ADDR (_ADI_MSK(0x00000FFF,uint32_t)) /* Error Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_STAT_ADDRERR 1 /* Address Error Status */
-#define BITP_TRU_STAT_LWERR 0 /* Lock Write Error Status */
-#define BITM_TRU_STAT_ADDRERR (_ADI_MSK(0x00000002,uint32_t)) /* Address Error Status */
-#define BITM_TRU_STAT_LWERR (_ADI_MSK(0x00000001,uint32_t)) /* Lock Write Error Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_TRU_REVID_REV 0 /* Incremental Version ID */
-#define BITM_TRU_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_TRU_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_GCTL_LOCK 31 /* GCTL Lock Bit */
-#define BITP_TRU_GCTL_MTRL 2 /* MTR Lock Bit */
-#define BITP_TRU_GCTL_RESET 1 /* Soft Reset */
-#define BITP_TRU_GCTL_EN 0 /* Non-MMR Enable */
-#define BITM_TRU_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* GCTL Lock Bit */
-#define BITM_TRU_GCTL_MTRL (_ADI_MSK(0x00000004,uint32_t)) /* MTR Lock Bit */
-#define BITM_TRU_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Soft Reset */
-#define BITM_TRU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Non-MMR Enable */
-
-/* ==================================================
- Reset Control Unit Registers
- ================================================== */
-
-/* =========================
- RCU0
- ========================= */
-#define REG_RCU0_CTL 0xFFCA6000 /* RCU0 Control Register */
-#define REG_RCU0_STAT 0xFFCA6004 /* RCU0 Status Register */
-#define REG_RCU0_CRCTL 0xFFCA6008 /* RCU0 Core Reset Control Register */
-#define REG_RCU0_CRSTAT 0xFFCA600C /* RCU0 Core Reset Status Register */
-#define REG_RCU0_SIDIS 0xFFCA6010 /* RCU0 System Interface Disable Register */
-#define REG_RCU0_SISTAT 0xFFCA6014 /* RCU0 System Interface Status Register */
-#define REG_RCU0_SVECT_LCK 0xFFCA6018 /* RCU0 SVECT Lock Register */
-#define REG_RCU0_BCODE 0xFFCA601C /* RCU0 Boot Code Register */
-#define REG_RCU0_SVECT0 0xFFCA6020 /* RCU0 Software Vector Register n */
-#define REG_RCU0_SVECT1 0xFFCA6024 /* RCU0 Software Vector Register n */
-
-/* =========================
- RCU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CTL_LOCK 31 /* Lock */
-#define BITP_RCU_CTL_RSTOUTDSRT 2 /* Reset Out Deassert */
-#define BITP_RCU_CTL_RSTOUTASRT 1 /* Reset Out Assert */
-#define BITP_RCU_CTL_SYSRST 0 /* System Reset */
-#define BITM_RCU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CTL_RSTOUTDSRT (_ADI_MSK(0x00000004,uint32_t)) /* Reset Out Deassert */
-#define BITM_RCU_CTL_RSTOUTASRT (_ADI_MSK(0x00000002,uint32_t)) /* Reset Out Assert */
-#define BITM_RCU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_STAT_RSTOUTERR 18 /* Reset Out Error */
-#define BITP_RCU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_RCU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_RCU_STAT_BMODE 8 /* Boot Mode */
-#define BITP_RCU_STAT_RSTOUT 5 /* Reset Out Status */
-#define BITP_RCU_STAT_SWRST 3 /* Software Reset */
-#define BITP_RCU_STAT_SSRST 2 /* System Source Reset */
-#define BITP_RCU_STAT_HBRST 1 /* Hibernate Reset */
-#define BITP_RCU_STAT_HWRST 0 /* Hardware Reset */
-#define BITM_RCU_STAT_RSTOUTERR (_ADI_MSK(0x00040000,uint32_t)) /* Reset Out Error */
-#define BITM_RCU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_RCU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_RCU_STAT_BMODE (_ADI_MSK(0x00000F00,uint32_t)) /* Boot Mode */
-#define BITM_RCU_STAT_RSTOUT (_ADI_MSK(0x00000020,uint32_t)) /* Reset Out Status */
-#define BITM_RCU_STAT_SWRST (_ADI_MSK(0x00000008,uint32_t)) /* Software Reset */
-#define BITM_RCU_STAT_SSRST (_ADI_MSK(0x00000004,uint32_t)) /* System Source Reset */
-#define BITM_RCU_STAT_HBRST (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Reset */
-#define BITM_RCU_STAT_HWRST (_ADI_MSK(0x00000001,uint32_t)) /* Hardware Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRCTL_LOCK 31 /* Lock */
-#define BITP_RCU_CRCTL_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRCTL_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CRCTL_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRCTL_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRSTAT_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRSTAT_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SIDIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SIDIS_LOCK 31 /* Lock */
-#define BITP_RCU_SIDIS_SI0 0 /* System Interface n */
-#define BITP_RCU_SIDIS_SI1 1 /* System Interface n */
-#define BITM_RCU_SIDIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SIDIS_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SIDIS_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SISTAT_SI0 0 /* System Interface n */
-#define BITP_RCU_SISTAT_SI1 1 /* System Interface n */
-#define BITM_RCU_SISTAT_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SISTAT_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SVECT_LCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SVECT_LCK_LOCK 31 /* Lock */
-#define BITP_RCU_SVECT_LCK_SVECT0 0 /* Software Vector Register n */
-#define BITP_RCU_SVECT_LCK_SVECT1 1 /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SVECT_LCK_SVECT0 (_ADI_MSK(0x00000001,uint32_t)) /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_SVECT1 (_ADI_MSK(0x00000002,uint32_t)) /* Software Vector Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_BCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_BCODE_LOCK 31 /* Lock */
-#define BITP_RCU_BCODE_BCODE 0 /* Boot Code */
-#define BITM_RCU_BCODE_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_BCODE_BCODE (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Boot Code */
-
-/* ==================================================
- System Protection Unit Registers
- ================================================== */
-
-/* =========================
- SPU0
- ========================= */
-#define REG_SPU0_CTL 0xFFCA7000 /* SPU0 Control Register */
-#define REG_SPU0_STAT 0xFFCA7004 /* SPU0 Status Register */
-#define REG_SPU0_WP0 0xFFCA7400 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP1 0xFFCA7404 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP2 0xFFCA7408 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP3 0xFFCA740C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP4 0xFFCA7410 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP5 0xFFCA7414 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP6 0xFFCA7418 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP7 0xFFCA741C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP8 0xFFCA7420 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP9 0xFFCA7424 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP10 0xFFCA7428 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP11 0xFFCA742C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP12 0xFFCA7430 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP13 0xFFCA7434 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP14 0xFFCA7438 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP15 0xFFCA743C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP16 0xFFCA7440 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP17 0xFFCA7444 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP18 0xFFCA7448 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP19 0xFFCA744C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP20 0xFFCA7450 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP21 0xFFCA7454 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP22 0xFFCA7458 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP23 0xFFCA745C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP24 0xFFCA7460 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP25 0xFFCA7464 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP26 0xFFCA7468 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP27 0xFFCA746C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP28 0xFFCA7470 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP29 0xFFCA7474 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP30 0xFFCA7478 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP31 0xFFCA747C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP32 0xFFCA7480 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP33 0xFFCA7484 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP34 0xFFCA7488 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP35 0xFFCA748C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP36 0xFFCA7490 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP37 0xFFCA7494 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP38 0xFFCA7498 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP39 0xFFCA749C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP40 0xFFCA74A0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP41 0xFFCA74A4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP42 0xFFCA74A8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP43 0xFFCA74AC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP44 0xFFCA74B0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP45 0xFFCA74B4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP46 0xFFCA74B8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP47 0xFFCA74BC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP48 0xFFCA74C0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP49 0xFFCA74C4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP50 0xFFCA74C8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP51 0xFFCA74CC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP52 0xFFCA74D0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP53 0xFFCA74D4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP54 0xFFCA74D8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP55 0xFFCA74DC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP56 0xFFCA74E0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP57 0xFFCA74E4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP58 0xFFCA74E8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP59 0xFFCA74EC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP60 0xFFCA74F0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP61 0xFFCA74F4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP62 0xFFCA74F8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP63 0xFFCA74FC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP64 0xFFCA7500 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP65 0xFFCA7504 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP66 0xFFCA7508 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP67 0xFFCA750C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP68 0xFFCA7510 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP69 0xFFCA7514 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP70 0xFFCA7518 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP71 0xFFCA751C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP72 0xFFCA7520 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP73 0xFFCA7524 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP74 0xFFCA7528 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP75 0xFFCA752C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP76 0xFFCA7530 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP77 0xFFCA7534 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP78 0xFFCA7538 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP79 0xFFCA753C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP80 0xFFCA7540 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP81 0xFFCA7544 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP82 0xFFCA7548 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP83 0xFFCA754C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP84 0xFFCA7550 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP85 0xFFCA7554 /* SPU0 Write Protect Register n */
-
-/* =========================
- SPU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_CTL_WPLCK 16 /* Write Protect Register Lock */
-#define BITP_SPU_CTL_GLCK 0 /* Global Lock Disable */
-#define BITM_SPU_CTL_WPLCK (_ADI_MSK(0x00010000,uint32_t)) /* Write Protect Register Lock */
-#define BITM_SPU_CTL_GLCK (_ADI_MSK(0x000000FF,uint32_t)) /* Global Lock Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_STAT_LWERR 31 /* Lock Write Error */
-#define BITP_SPU_STAT_ADDRERR 30 /* Address Error */
-#define BITP_SPU_STAT_GLCK 0 /* Global Lock Status */
-#define BITM_SPU_STAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define BITM_SPU_STAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define BITM_SPU_STAT_GLCK (_ADI_MSK(0x00000001,uint32_t)) /* Global Lock Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_WP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_WP_SM0 16 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_SM1 17 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_CM0 0 /* Core Master x Write Protect Enable */
-#define BITP_SPU_WP_CM1 1 /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_SM0 (_ADI_MSK(0x00010000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_SM1 (_ADI_MSK(0x00020000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_CM0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_CM1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Master x Write Protect Enable */
-
-/* ==================================================
- Clock Generation Unit Registers
- ================================================== */
-
-/* =========================
- CGU0
- ========================= */
-#define REG_CGU0_CTL 0xFFCA8000 /* CGU0 Control Register */
-#define REG_CGU0_STAT 0xFFCA8004 /* CGU0 Status Register */
-#define REG_CGU0_DIV 0xFFCA8008 /* CGU0 Divisor Register */
-#define REG_CGU0_CLKOUTSEL 0xFFCA800C /* CGU0 CLKOUT Select Register */
-
-/* =========================
- CGU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CTL_LOCK 31 /* Lock */
-#define BITP_CGU_CTL_WFI 30 /* Wait For Idle */
-#define BITP_CGU_CTL_MSEL 8 /* Multiplier Select */
-#define BITP_CGU_CTL_DF 0 /* Divide Frequency */
-#define BITM_CGU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_CTL_WFI (_ADI_MSK(0x40000000,uint32_t)) /* Wait For Idle */
-
-#define BITM_CGU_CTL_MSEL (_ADI_MSK(0x00007F00,uint32_t)) /* Multiplier Select */
-#define ENUM_CGU_CTL_MSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* MSEL: MSEL = 1 to 127 */
-#define BITM_CGU_CTL_DF (_ADI_MSK(0x00000001,uint32_t)) /* Divide Frequency */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_STAT_PLOCKERR 21 /* PLL Lock Error */
-#define BITP_CGU_STAT_WDIVERR 20 /* Write to DIV Error */
-#define BITP_CGU_STAT_WDFMSERR 19 /* Write to DF or MSEL Error */
-#define BITP_CGU_STAT_DIVERR 18 /* DIV Error */
-#define BITP_CGU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_CGU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_CGU_STAT_OCBF 9 /* OUTCLK Buffer Status */
-#define BITP_CGU_STAT_DCBF 8 /* DCLK Buffer Status */
-#define BITP_CGU_STAT_SCBF1 7 /* SCLK1 Buffer Status */
-#define BITP_CGU_STAT_SCBF0 6 /* SCLK0 Buffer Status */
-#define BITP_CGU_STAT_CCBF1 5 /* CCLK1 Buffer Status */
-#define BITP_CGU_STAT_CCBF0 4 /* CCLK0 Buffer Status */
-#define BITP_CGU_STAT_CLKSALGN 3 /* Clock Alignment */
-#define BITP_CGU_STAT_PLOCK 2 /* PLL Lock */
-#define BITP_CGU_STAT_PLLBP 1 /* PLL Bypass */
-#define BITP_CGU_STAT_PLLEN 0 /* PLL Enable */
-#define BITM_CGU_STAT_PLOCKERR (_ADI_MSK(0x00200000,uint32_t)) /* PLL Lock Error */
-#define BITM_CGU_STAT_WDIVERR (_ADI_MSK(0x00100000,uint32_t)) /* Write to DIV Error */
-#define BITM_CGU_STAT_WDFMSERR (_ADI_MSK(0x00080000,uint32_t)) /* Write to DF or MSEL Error */
-#define BITM_CGU_STAT_DIVERR (_ADI_MSK(0x00040000,uint32_t)) /* DIV Error */
-#define BITM_CGU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_CGU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_CGU_STAT_OCBF (_ADI_MSK(0x00000200,uint32_t)) /* OUTCLK Buffer Status */
-#define BITM_CGU_STAT_DCBF (_ADI_MSK(0x00000100,uint32_t)) /* DCLK Buffer Status */
-#define BITM_CGU_STAT_SCBF1 (_ADI_MSK(0x00000080,uint32_t)) /* SCLK1 Buffer Status */
-#define BITM_CGU_STAT_SCBF0 (_ADI_MSK(0x00000040,uint32_t)) /* SCLK0 Buffer Status */
-#define BITM_CGU_STAT_CCBF1 (_ADI_MSK(0x00000020,uint32_t)) /* CCLK1 Buffer Status */
-#define BITM_CGU_STAT_CCBF0 (_ADI_MSK(0x00000010,uint32_t)) /* CCLK0 Buffer Status */
-#define BITM_CGU_STAT_CLKSALGN (_ADI_MSK(0x00000008,uint32_t)) /* Clock Alignment */
-#define BITM_CGU_STAT_PLOCK (_ADI_MSK(0x00000004,uint32_t)) /* PLL Lock */
-#define BITM_CGU_STAT_PLLBP (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass */
-#define BITM_CGU_STAT_PLLEN (_ADI_MSK(0x00000001,uint32_t)) /* PLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_DIV_LOCK 31 /* Lock */
-#define BITP_CGU_DIV_UPDT 30 /* Update Clock Divisors */
-#define BITP_CGU_DIV_ALGN 29 /* Align */
-#define BITP_CGU_DIV_OSEL 22 /* OUTCLK Divisor */
-#define BITP_CGU_DIV_DSEL 16 /* DCLK Divisor */
-#define BITP_CGU_DIV_S1SEL 13 /* SCLK 1 Divisor */
-#define BITP_CGU_DIV_SYSSEL 8 /* SYSCLK Divisor */
-#define BITP_CGU_DIV_S0SEL 5 /* SCLK 0 Divisor */
-#define BITP_CGU_DIV_CSEL 0 /* CCLK Divisor */
-#define BITM_CGU_DIV_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_DIV_UPDT (_ADI_MSK(0x40000000,uint32_t)) /* Update Clock Divisors */
-#define BITM_CGU_DIV_ALGN (_ADI_MSK(0x20000000,uint32_t)) /* Align */
-
-#define BITM_CGU_DIV_OSEL (_ADI_MSK(0x1FC00000,uint32_t)) /* OUTCLK Divisor */
-#define ENUM_CGU_DIV_OSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* OSEL: OSEL = 1 to 127 */
-
-#define BITM_CGU_DIV_DSEL (_ADI_MSK(0x001F0000,uint32_t)) /* DCLK Divisor */
-#define ENUM_CGU_DIV_DSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* DSEL: DSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S1SEL (_ADI_MSK(0x0000E000,uint32_t)) /* SCLK 1 Divisor */
-#define ENUM_CGU_DIV_S1SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S1SEL: S1SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_SYSSEL (_ADI_MSK(0x00001F00,uint32_t)) /* SYSCLK Divisor */
-#define ENUM_CGU_DIV_SYSSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* SYSSEL: SYSSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S0SEL (_ADI_MSK(0x000000E0,uint32_t)) /* SCLK 0 Divisor */
-#define ENUM_CGU_DIV_S0SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S0SEL: S0SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_CSEL (_ADI_MSK(0x0000001F,uint32_t)) /* CCLK Divisor */
-#define ENUM_CGU_DIV_CSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* CSEL: CSEL= 1 to 31 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CLKOUTSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CLKOUTSEL_LOCK 31 /* Lock */
-#define BITP_CGU_CLKOUTSEL_CLKOUTSEL 0 /* CLKOUT Select */
-
-#define BITM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_CGU_CLKOUTSEL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_CGU_CLKOUTSEL_CLKOUTSEL (_ADI_MSK(0x0000000F,uint32_t)) /* CLKOUT Select */
-#define ENUM_CGU_CLKOUTSEL_CLKIN (_ADI_MSK(0x00000000,uint32_t)) /* CLKOUTSEL: CLKIN */
-#define ENUM_CGU_CLKOUTSEL_CCLKDIV4 (_ADI_MSK(0x00000001,uint32_t)) /* CLKOUTSEL: CCLKn/4 */
-#define ENUM_CGU_CLKOUTSEL_GNDDIS (_ADI_MSK(0x0000000B,uint32_t)) /* CLKOUTSEL: GND (Disable OUTCLK) */
-#define ENUM_CGU_CLKOUTSEL_SYSCLKDIV2 (_ADI_MSK(0x00000002,uint32_t)) /* CLKOUTSEL: SYSCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_SCLK0 (_ADI_MSK(0x00000003,uint32_t)) /* CLKOUTSEL: SCLK0 */
-#define ENUM_CGU_CLKOUTSEL_SCLK1 (_ADI_MSK(0x00000004,uint32_t)) /* CLKOUTSEL: SCLK1 */
-#define ENUM_CGU_CLKOUTSEL_DCLKDIV2 (_ADI_MSK(0x00000005,uint32_t)) /* CLKOUTSEL: DCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_OUTCLK (_ADI_MSK(0x00000007,uint32_t)) /* CLKOUTSEL: OUTCLK */
-
-/* ==================================================
- Dynamic Power Management Registers
- ================================================== */
-
-/* =========================
- DPM0
- ========================= */
-#define REG_DPM0_CTL 0xFFCA9000 /* DPM0 Control Register */
-#define REG_DPM0_STAT 0xFFCA9004 /* DPM0 Status Register */
-#define REG_DPM0_CCBF_DIS 0xFFCA9008 /* DPM0 Core Clock Buffer Disable Register */
-#define REG_DPM0_CCBF_EN 0xFFCA900C /* DPM0 Core Clock Buffer Enable Register */
-#define REG_DPM0_CCBF_STAT 0xFFCA9010 /* DPM0 Core Clock Buffer Status Register */
-#define REG_DPM0_CCBF_STAT_STKY 0xFFCA9014 /* DPM0 Core Clock Buffer Status Sticky Register */
-#define REG_DPM0_SCBF_DIS 0xFFCA9018 /* DPM0 System Clock Buffer Disable Register */
-#define REG_DPM0_WAKE_EN 0xFFCA901C /* DPM0 Wakeup Enable Register */
-#define REG_DPM0_WAKE_POL 0xFFCA9020 /* DPM0 Wakeup Polarity Register */
-#define REG_DPM0_WAKE_STAT 0xFFCA9024 /* DPM0 Wakeup Status Register */
-#define REG_DPM0_HIB_DIS 0xFFCA9028 /* DPM0 Hibernate Disable Register */
-#define REG_DPM0_PGCNTR 0xFFCA902C /* DPM0 Power Good Counter Register */
-#define REG_DPM0_RESTORE0 0xFFCA9030 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE1 0xFFCA9034 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE2 0xFFCA9038 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE3 0xFFCA903C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE4 0xFFCA9040 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE5 0xFFCA9044 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE6 0xFFCA9048 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE7 0xFFCA904C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE8 0xFFCA9050 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE9 0xFFCA9054 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE10 0xFFCA9058 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE11 0xFFCA905C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE12 0xFFCA9060 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE13 0xFFCA9064 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE14 0xFFCA9068 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE15 0xFFCA906C /* DPM0 Restore n Register */
-
-/* =========================
- DPM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CTL_LOCK 31 /* Lock */
-#define BITP_DPM_CTL_HIBERNATE 4 /* Hibernate */
-#define BITP_DPM_CTL_DEEPSLEEP 3 /* Deep Sleep */
-#define BITP_DPM_CTL_PLLDIS 2 /* PLL Disable */
-#define BITP_DPM_CTL_PLLBPCL 1 /* PLL Bypass Clear */
-#define BITP_DPM_CTL_PLLBPST 0 /* PLL Bypass Set */
-#define BITM_DPM_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CTL_HIBERNATE (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate */
-#define BITM_DPM_CTL_DEEPSLEEP (_ADI_MSK(0x00000008,uint32_t)) /* Deep Sleep */
-#define BITM_DPM_CTL_PLLDIS (_ADI_MSK(0x00000004,uint32_t)) /* PLL Disable */
-#define BITM_DPM_CTL_PLLBPCL (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass Clear */
-#define BITM_DPM_CTL_PLLBPST (_ADI_MSK(0x00000001,uint32_t)) /* PLL Bypass Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_STAT_PLLCFGERR 19 /* PLL Configuration Error */
-#define BITP_DPM_STAT_HVBSYERR 18 /* HV Busy Error */
-#define BITP_DPM_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_DPM_STAT_ADDRERR 16 /* Address Error */
-#define BITP_DPM_STAT_HVBSY 9 /* HV Busy */
-#define BITP_DPM_STAT_CCLKDIS 8 /* Core Clock(s) Disabled */
-#define BITP_DPM_STAT_PRVMODE 4 /* Previous Mode */
-#define BITP_DPM_STAT_CURMODE 0 /* Current Mode */
-#define BITM_DPM_STAT_PLLCFGERR (_ADI_MSK(0x00080000,uint32_t)) /* PLL Configuration Error */
-#define BITM_DPM_STAT_HVBSYERR (_ADI_MSK(0x00040000,uint32_t)) /* HV Busy Error */
-#define BITM_DPM_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_DPM_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_DPM_STAT_HVBSY (_ADI_MSK(0x00000200,uint32_t)) /* HV Busy */
-#define BITM_DPM_STAT_CCLKDIS (_ADI_MSK(0x00000100,uint32_t)) /* Core Clock(s) Disabled */
-#define BITM_DPM_STAT_PRVMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Previous Mode */
-#define BITM_DPM_STAT_CURMODE (_ADI_MSK(0x0000000F,uint32_t)) /* Current Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_DIS_CCBF0 0 /* Core Clock Buffer n Disable */
-#define BITP_DPM_CCBF_DIS_CCBF1 1 /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_DIS_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_EN_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_EN_CCBF0 0 /* Core Clock Buffer n Enable */
-#define BITP_DPM_CCBF_EN_CCBF1 1 /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_EN_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_CCBF0 0 /* Core Clock Buffer n Status */
-#define BITP_DPM_CCBF_STAT_CCBF1 1 /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT_STKY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF0 0 /* Core Clock Buffer n Status - Sticky */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF1 1 /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_SCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_SCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_SCBF_DIS_SCBF0 0 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF1 1 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF2 2 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF3 3 /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_SCBF_DIS_SCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF2 (_ADI_MSK(0x00000004,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF3 (_ADI_MSK(0x00000008,uint32_t)) /* System Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_EN_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_EN_WS0 0 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS1 1 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS2 2 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS3 3 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS4 4 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS5 5 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS6 6 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS7 7 /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_EN_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_POL_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_POL_WS0 0 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS1 1 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS2 2 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS3 3 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS4 4 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS5 5 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS6 6 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS7 7 /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_POL_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Polarity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_STAT_WS0 0 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS1 1 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS2 2 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS3 3 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS4 4 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS5 5 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS6 6 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS7 7 /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_HIB_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_HIB_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_HIB_DIS_HD0 0 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD1 1 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD2 2 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD3 3 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD4 4 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD5 5 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD6 6 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD7 7 /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_HIB_DIS_HD0 (_ADI_MSK(0x00000001,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD1 (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD2 (_ADI_MSK(0x00000004,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD3 (_ADI_MSK(0x00000008,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD4 (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD5 (_ADI_MSK(0x00000020,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD6 (_ADI_MSK(0x00000040,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD7 (_ADI_MSK(0x00000080,uint32_t)) /* Hibernate Disable n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_PGCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_PGCNTR_LOCK 31 /* Lock */
-#define BITP_DPM_PGCNTR_CNT 0 /* Power Good Count */
-#define BITM_DPM_PGCNTR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_PGCNTR_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Power Good Count */
-
-/* ==================================================
- eFUSE Controller Registers
- ================================================== */
-
-/* =========================
- EFS0
- ========================= */
-#define REG_EFS0_CTL 0xFFCC0000 /* EFS0 Control Register */
-#define REG_EFS0_DAT0 0xFFCC0008 /* EFS0 Data Register 0 */
-#define REG_EFS0_DAT1 0xFFCC000C /* EFS0 Data Register 1 */
-#define REG_EFS0_DAT2 0xFFCC0010 /* EFS0 Data Register 2 */
-#define REG_EFS0_DAT3 0xFFCC0014 /* EFS0 Data Register 3 */
-#define REG_EFS0_DAT4 0xFFCC0018 /* EFS0 Data Register 4 */
-#define REG_EFS0_DAT5 0xFFCC001C /* EFS0 Data Register 5 */
-#define REG_EFS0_DAT6 0xFFCC0020 /* EFS0 Data Register 6 */
-#define REG_EFS0_DAT7 0xFFCC0024 /* EFS0 Data Register 7 */
-
-/* =========================
- EFS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EFS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EFS_CTL_READ 0 /* Read */
-#define BITM_EFS_CTL_READ (_ADI_MSK(0x00000001,uint32_t)) /* Read */
-
-/* ==================================================
- Universal Serial Bus Controller Registers
- ================================================== */
-
-/* =========================
- USB0
- ========================= */
-#define REG_USB0_FADDR 0xFFCC1000 /* USB0 Function Address Register */
-#define REG_USB0_POWER 0xFFCC1001 /* USB0 Power and Device Control Register */
-#define REG_USB0_INTRTX 0xFFCC1002 /* USB0 Transmit Interrupt Register */
-#define REG_USB0_INTRRX 0xFFCC1004 /* USB0 Receive Interrupt Register */
-#define REG_USB0_INTRTXE 0xFFCC1006 /* USB0 Transmit Interrupt Enable Register */
-#define REG_USB0_INTRRXE 0xFFCC1008 /* USB0 Receive Interrupt Enable Register */
-#define REG_USB0_IRQ 0xFFCC100A /* USB0 Common Interrupts Register */
-#define REG_USB0_IEN 0xFFCC100B /* USB0 Common Interrupts Enable Register */
-#define REG_USB0_FRAME 0xFFCC100C /* USB0 Frame Number Register */
-#define REG_USB0_INDEX 0xFFCC100E /* USB0 Index Register */
-#define REG_USB0_TESTMODE 0xFFCC100F /* USB0 Testmode Register */
-#define REG_USB0_EPI_TXMAXP0 0xFFCC1010 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EPI_TXCSR_P0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EPI_TXCSR_H0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0I_CSR0_P 0xFFCC1012 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CSR0_H 0xFFCC1012 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXMAXP0 0xFFCC1014 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EPI_RXCSR_H0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXCSR_P0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CNT0 0xFFCC1018 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EPI_RXCNT0 0xFFCC1018 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EPI_TXTYPE0 0xFFCC101A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0I_TYPE0 0xFFCC101A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EPI_TXINTERVAL0 0xFFCC101B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0I_NAKLIMIT0 0xFFCC101B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EPI_RXTYPE0 0xFFCC101C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EPI_RXINTERVAL0 0xFFCC101D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0I_CFGDATA0 0xFFCC101F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_FIFOB0 0xFFCC1020 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB1 0xFFCC1024 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB2 0xFFCC1028 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB3 0xFFCC102C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB4 0xFFCC1030 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB5 0xFFCC1034 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB6 0xFFCC1038 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB7 0xFFCC103C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB8 0xFFCC1040 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB9 0xFFCC1044 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB10 0xFFCC1048 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB11 0xFFCC104C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOH0 0xFFCC1020 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH1 0xFFCC1024 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH2 0xFFCC1028 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH3 0xFFCC102C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH4 0xFFCC1030 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH5 0xFFCC1034 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH6 0xFFCC1038 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH7 0xFFCC103C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH8 0xFFCC1040 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH9 0xFFCC1044 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH10 0xFFCC1048 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH11 0xFFCC104C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFO0 0xFFCC1020 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO1 0xFFCC1024 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO2 0xFFCC1028 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO3 0xFFCC102C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO4 0xFFCC1030 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO5 0xFFCC1034 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO6 0xFFCC1038 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO7 0xFFCC103C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO8 0xFFCC1040 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO9 0xFFCC1044 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO10 0xFFCC1048 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO11 0xFFCC104C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_DEV_CTL 0xFFCC1060 /* USB0 Device Control Register */
-#define REG_USB0_TXFIFOSZ 0xFFCC1062 /* USB0 Transmit FIFO Size Register */
-#define REG_USB0_RXFIFOSZ 0xFFCC1063 /* USB0 Receive FIFO Size Register */
-#define REG_USB0_TXFIFOADDR 0xFFCC1064 /* USB0 Transmit FIFO Address Register */
-#define REG_USB0_RXFIFOADDR 0xFFCC1066 /* USB0 Receive FIFO Address Register */
-#define REG_USB0_EPINFO 0xFFCC1078 /* USB0 Endpoint Information Register */
-#define REG_USB0_RAMINFO 0xFFCC1079 /* USB0 RAM Information Register */
-#define REG_USB0_LINKINFO 0xFFCC107A /* USB0 Link Information Register */
-#define REG_USB0_VPLEN 0xFFCC107B /* USB0 VBUS Pulse Length Register */
-#define REG_USB0_HS_EOF1 0xFFCC107C /* USB0 High-Speed EOF 1 Register */
-#define REG_USB0_FS_EOF1 0xFFCC107D /* USB0 Full-Speed EOF 1 Register */
-#define REG_USB0_LS_EOF1 0xFFCC107E /* USB0 Low-Speed EOF 1 Register */
-#define REG_USB0_SOFT_RST 0xFFCC107F /* USB0 Software Reset Register */
-#define REG_USB0_MP0_TXFUNCADDR 0xFFCC1080 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP1_TXFUNCADDR 0xFFCC1088 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP2_TXFUNCADDR 0xFFCC1090 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP3_TXFUNCADDR 0xFFCC1098 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP4_TXFUNCADDR 0xFFCC10A0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP5_TXFUNCADDR 0xFFCC10A8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP6_TXFUNCADDR 0xFFCC10B0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP7_TXFUNCADDR 0xFFCC10B8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP8_TXFUNCADDR 0xFFCC10C0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP9_TXFUNCADDR 0xFFCC10C8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP10_TXFUNCADDR 0xFFCC10D0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP11_TXFUNCADDR 0xFFCC10D8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP0_TXHUBADDR 0xFFCC1082 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP1_TXHUBADDR 0xFFCC108A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP2_TXHUBADDR 0xFFCC1092 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP3_TXHUBADDR 0xFFCC109A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP4_TXHUBADDR 0xFFCC10A2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP5_TXHUBADDR 0xFFCC10AA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP6_TXHUBADDR 0xFFCC10B2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP7_TXHUBADDR 0xFFCC10BA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP8_TXHUBADDR 0xFFCC10C2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP9_TXHUBADDR 0xFFCC10CA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP10_TXHUBADDR 0xFFCC10D2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP11_TXHUBADDR 0xFFCC10DA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP0_TXHUBPORT 0xFFCC1083 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP1_TXHUBPORT 0xFFCC108B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP2_TXHUBPORT 0xFFCC1093 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP3_TXHUBPORT 0xFFCC109B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP4_TXHUBPORT 0xFFCC10A3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP5_TXHUBPORT 0xFFCC10AB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP6_TXHUBPORT 0xFFCC10B3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP7_TXHUBPORT 0xFFCC10BB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP8_TXHUBPORT 0xFFCC10C3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP9_TXHUBPORT 0xFFCC10CB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP10_TXHUBPORT 0xFFCC10D3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP11_TXHUBPORT 0xFFCC10DB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP0_RXFUNCADDR 0xFFCC1084 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP1_RXFUNCADDR 0xFFCC108C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP2_RXFUNCADDR 0xFFCC1094 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP3_RXFUNCADDR 0xFFCC109C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP4_RXFUNCADDR 0xFFCC10A4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP5_RXFUNCADDR 0xFFCC10AC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP6_RXFUNCADDR 0xFFCC10B4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP7_RXFUNCADDR 0xFFCC10BC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP8_RXFUNCADDR 0xFFCC10C4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP9_RXFUNCADDR 0xFFCC10CC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP10_RXFUNCADDR 0xFFCC10D4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP11_RXFUNCADDR 0xFFCC10DC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP0_RXHUBADDR 0xFFCC1086 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP1_RXHUBADDR 0xFFCC108E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP2_RXHUBADDR 0xFFCC1096 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP3_RXHUBADDR 0xFFCC109E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP4_RXHUBADDR 0xFFCC10A6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP5_RXHUBADDR 0xFFCC10AE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP6_RXHUBADDR 0xFFCC10B6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP7_RXHUBADDR 0xFFCC10BE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP8_RXHUBADDR 0xFFCC10C6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP9_RXHUBADDR 0xFFCC10CE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP10_RXHUBADDR 0xFFCC10D6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP11_RXHUBADDR 0xFFCC10DE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP0_RXHUBPORT 0xFFCC1087 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP1_RXHUBPORT 0xFFCC108F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP2_RXHUBPORT 0xFFCC1097 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP3_RXHUBPORT 0xFFCC109F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP4_RXHUBPORT 0xFFCC10A7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP5_RXHUBPORT 0xFFCC10AF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP6_RXHUBPORT 0xFFCC10B7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP7_RXHUBPORT 0xFFCC10BF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP8_RXHUBPORT 0xFFCC10C7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP9_RXHUBPORT 0xFFCC10CF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP10_RXHUBPORT 0xFFCC10D7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP11_RXHUBPORT 0xFFCC10DF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_EP0_TXMAXP 0xFFCC1100 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP1_TXMAXP 0xFFCC1110 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP2_TXMAXP 0xFFCC1120 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP3_TXMAXP 0xFFCC1130 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP4_TXMAXP 0xFFCC1140 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP5_TXMAXP 0xFFCC1150 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP6_TXMAXP 0xFFCC1160 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP7_TXMAXP 0xFFCC1170 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP8_TXMAXP 0xFFCC1180 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP9_TXMAXP 0xFFCC1190 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP10_TXMAXP 0xFFCC11A0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP11_TXMAXP 0xFFCC11B0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP0_CSR0_H 0xFFCC1102 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EP0_TXCSR_H 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP1_TXCSR_H 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP2_TXCSR_H 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP3_TXCSR_H 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP4_TXCSR_H 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP5_TXCSR_H 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP6_TXCSR_H 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP7_TXCSR_H 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP8_TXCSR_H 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP9_TXCSR_H 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP10_TXCSR_H 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP11_TXCSR_H 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0_CSR0_P 0xFFCC1102 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_TXCSR_P 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_TXCSR_P 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_TXCSR_P 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_TXCSR_P 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_TXCSR_P 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_TXCSR_P 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_TXCSR_P 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_TXCSR_P 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_TXCSR_P 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_TXCSR_P 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_TXCSR_P 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_TXCSR_P 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_RXMAXP 0xFFCC1104 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP1_RXMAXP 0xFFCC1114 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP2_RXMAXP 0xFFCC1124 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP3_RXMAXP 0xFFCC1134 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP4_RXMAXP 0xFFCC1144 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP5_RXMAXP 0xFFCC1154 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP6_RXMAXP 0xFFCC1164 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP7_RXMAXP 0xFFCC1174 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP8_RXMAXP 0xFFCC1184 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP9_RXMAXP 0xFFCC1194 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP10_RXMAXP 0xFFCC11A4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP11_RXMAXP 0xFFCC11B4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP0_RXCSR_H 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP1_RXCSR_H 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP2_RXCSR_H 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP3_RXCSR_H 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP4_RXCSR_H 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP5_RXCSR_H 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP6_RXCSR_H 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP7_RXCSR_H 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP8_RXCSR_H 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP9_RXCSR_H 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP10_RXCSR_H 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP11_RXCSR_H 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP0_RXCSR_P 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_RXCSR_P 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_RXCSR_P 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_RXCSR_P 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_RXCSR_P 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_RXCSR_P 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_RXCSR_P 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_RXCSR_P 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_RXCSR_P 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_RXCSR_P 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_RXCSR_P 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_RXCSR_P 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_CNT0 0xFFCC1108 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EP0_RXCNT 0xFFCC1108 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP1_RXCNT 0xFFCC1118 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP2_RXCNT 0xFFCC1128 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP3_RXCNT 0xFFCC1138 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP4_RXCNT 0xFFCC1148 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP5_RXCNT 0xFFCC1158 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP6_RXCNT 0xFFCC1168 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP7_RXCNT 0xFFCC1178 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP8_RXCNT 0xFFCC1188 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP9_RXCNT 0xFFCC1198 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP10_RXCNT 0xFFCC11A8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP11_RXCNT 0xFFCC11B8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP0_TYPE0 0xFFCC110A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EP0_TXTYPE 0xFFCC110A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP1_TXTYPE 0xFFCC111A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP2_TXTYPE 0xFFCC112A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP3_TXTYPE 0xFFCC113A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP4_TXTYPE 0xFFCC114A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP5_TXTYPE 0xFFCC115A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP6_TXTYPE 0xFFCC116A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP7_TXTYPE 0xFFCC117A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP8_TXTYPE 0xFFCC118A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP9_TXTYPE 0xFFCC119A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP10_TXTYPE 0xFFCC11AA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP11_TXTYPE 0xFFCC11BA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0_NAKLIMIT0 0xFFCC110B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EP0_TXINTERVAL 0xFFCC110B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP1_TXINTERVAL 0xFFCC111B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP2_TXINTERVAL 0xFFCC112B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP3_TXINTERVAL 0xFFCC113B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP4_TXINTERVAL 0xFFCC114B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP5_TXINTERVAL 0xFFCC115B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP6_TXINTERVAL 0xFFCC116B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP7_TXINTERVAL 0xFFCC117B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP8_TXINTERVAL 0xFFCC118B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP9_TXINTERVAL 0xFFCC119B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP10_TXINTERVAL 0xFFCC11AB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP11_TXINTERVAL 0xFFCC11BB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0_RXTYPE 0xFFCC110C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP1_RXTYPE 0xFFCC111C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP2_RXTYPE 0xFFCC112C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP3_RXTYPE 0xFFCC113C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP4_RXTYPE 0xFFCC114C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP5_RXTYPE 0xFFCC115C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP6_RXTYPE 0xFFCC116C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP7_RXTYPE 0xFFCC117C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP8_RXTYPE 0xFFCC118C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP9_RXTYPE 0xFFCC119C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP10_RXTYPE 0xFFCC11AC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP11_RXTYPE 0xFFCC11BC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP0_RXINTERVAL 0xFFCC110D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP1_RXINTERVAL 0xFFCC111D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP2_RXINTERVAL 0xFFCC112D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP3_RXINTERVAL 0xFFCC113D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP4_RXINTERVAL 0xFFCC114D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP5_RXINTERVAL 0xFFCC115D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP6_RXINTERVAL 0xFFCC116D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP7_RXINTERVAL 0xFFCC117D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP8_RXINTERVAL 0xFFCC118D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP9_RXINTERVAL 0xFFCC119D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP10_RXINTERVAL 0xFFCC11AD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP11_RXINTERVAL 0xFFCC11BD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0_CFGDATA0 0xFFCC110F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_DMA_IRQ 0xFFCC1200 /* USB0 DMA Interrupt Register */
-#define REG_USB0_DMA0_CTL 0xFFCC1204 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA1_CTL 0xFFCC1214 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA2_CTL 0xFFCC1224 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA3_CTL 0xFFCC1234 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA4_CTL 0xFFCC1244 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA5_CTL 0xFFCC1254 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA6_CTL 0xFFCC1264 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA7_CTL 0xFFCC1274 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA0_ADDR 0xFFCC1208 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA1_ADDR 0xFFCC1218 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA2_ADDR 0xFFCC1228 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA3_ADDR 0xFFCC1238 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA4_ADDR 0xFFCC1248 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA5_ADDR 0xFFCC1258 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA6_ADDR 0xFFCC1268 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA7_ADDR 0xFFCC1278 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA0_CNT 0xFFCC120C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA1_CNT 0xFFCC121C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA2_CNT 0xFFCC122C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA3_CNT 0xFFCC123C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA4_CNT 0xFFCC124C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA5_CNT 0xFFCC125C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA6_CNT 0xFFCC126C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA7_CNT 0xFFCC127C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_RQPKTCNT0 0xFFCC1300 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT1 0xFFCC1304 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT2 0xFFCC1308 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT3 0xFFCC130C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT4 0xFFCC1310 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT5 0xFFCC1314 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT6 0xFFCC1318 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT7 0xFFCC131C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT8 0xFFCC1320 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT9 0xFFCC1324 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT10 0xFFCC1328 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_CT_UCH 0xFFCC1344 /* USB0 Chirp Timeout Register */
-#define REG_USB0_CT_HHSRTN 0xFFCC1346 /* USB0 Host High Speed Return to Normal Register */
-#define REG_USB0_CT_HSBT 0xFFCC1348 /* USB0 High Speed Timeout Register */
-#define REG_USB0_LPM_ATTR 0xFFCC1360 /* USB0 LPM Attribute Register */
-#define REG_USB0_LPM_CTL 0xFFCC1362 /* USB0 LPM Control Register */
-#define REG_USB0_LPM_IEN 0xFFCC1363 /* USB0 LPM Interrupt Enable Register */
-#define REG_USB0_LPM_IRQ 0xFFCC1364 /* USB0 LPM Interrupt Status Register */
-#define REG_USB0_LPM_FADDR 0xFFCC1365 /* USB0 LPM Function Address Register */
-#define REG_USB0_VBUS_CTL 0xFFCC1380 /* USB0 VBUS Control Register */
-#define REG_USB0_BAT_CHG 0xFFCC1381 /* USB0 Battery Charging Control Register */
-#define REG_USB0_PHY_CTL 0xFFCC1394 /* USB0 PHY Control Register */
-#define REG_USB0_PLL_OSC 0xFFCC1398 /* USB0 PLL and Oscillator Control Register */
-
-/* =========================
- USB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_POWER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_POWER_ISOUPDT 7 /* ISO Update Enable */
-#define BITP_USB_POWER_SOFTCONN 6 /* Soft Connect/Disconnect Enable */
-#define BITP_USB_POWER_HSEN 5 /* High Speed Mode Enable */
-#define BITP_USB_POWER_HSMODE 4 /* High Speed Mode */
-#define BITP_USB_POWER_RESET 3 /* Reset USB */
-#define BITP_USB_POWER_RESUME 2 /* Resume Mode */
-#define BITP_USB_POWER_SUSPEND 1 /* Suspend Mode */
-#define BITP_USB_POWER_SUSEN 0 /* SUSPENDM Output Enable */
-
-#define BITM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISO Update Enable */
-#define ENUM_USB_POWER_NO_ISOUPDT (_ADI_MSK(0x00000000,uint8_t)) /* ISOUPDT: Disable ISO Update */
-#define ENUM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISOUPDT: Enable ISO Update */
-
-#define BITM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* Soft Connect/Disconnect Enable */
-#define ENUM_USB_POWER_NO_SOFTCONN (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCONN: Disable Soft Connect/Disconnect */
-#define ENUM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* SOFTCONN: Enable Soft Connect/Disconnect */
-
-#define BITM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* High Speed Mode Enable */
-#define ENUM_USB_POWER_HSDIS (_ADI_MSK(0x00000000,uint8_t)) /* HSEN: Disable Negotiation for HS Mode */
-#define ENUM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* HSEN: Enable Negotiation for HS Mode */
-
-#define BITM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* High Speed Mode */
-#define ENUM_USB_POWER_NO_HSMODE (_ADI_MSK(0x00000000,uint8_t)) /* HSMODE: Full Speed Mode (HS fail during reset) */
-#define ENUM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* HSMODE: High Speed Mode (HS success during reset) */
-
-#define BITM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* Reset USB */
-#define ENUM_USB_POWER_NO_RESET (_ADI_MSK(0x00000000,uint8_t)) /* RESET: No Reset */
-#define ENUM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* RESET: Reset USB */
-
-#define BITM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* Resume Mode */
-#define ENUM_USB_POWER_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Resume Signaling */
-#define ENUM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* RESUME: Enable Resume Signaling */
-
-#define BITM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* Suspend Mode */
-#define ENUM_USB_POWER_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Suspend Mode (Host) */
-#define ENUM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* SUSPEND: Enable Suspend Mode (Host) */
-
-#define BITM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPENDM Output Enable */
-#define ENUM_USB_POWER_SUSDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSEN: Disable SUSPENDM Output */
-#define ENUM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSEN: Enable SUSPENDM Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTX_EP11 11 /* End Point 11 Tx Interrupt */
-#define BITP_USB_INTRTX_EP10 10 /* End Point 10 Tx Interrupt */
-#define BITP_USB_INTRTX_EP9 9 /* End Point 9 Tx Interrupt */
-#define BITP_USB_INTRTX_EP8 8 /* End Point 8 Tx Interrupt */
-#define BITP_USB_INTRTX_EP7 7 /* End Point 7 Tx Interrupt */
-#define BITP_USB_INTRTX_EP6 6 /* End Point 6 Tx Interrupt */
-#define BITP_USB_INTRTX_EP5 5 /* End Point 5 Tx Interrupt */
-#define BITP_USB_INTRTX_EP4 4 /* End Point 4 Tx Interrupt */
-#define BITP_USB_INTRTX_EP3 3 /* End Point 3 Tx Interrupt */
-#define BITP_USB_INTRTX_EP2 2 /* End Point 2 Tx Interrupt */
-#define BITP_USB_INTRTX_EP1 1 /* End Point 1 Tx Interrupt */
-#define BITP_USB_INTRTX_EP0 0 /* End Point 0 Tx Interrupt */
-#define BITM_USB_INTRTX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt */
-#define BITM_USB_INTRTX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt */
-#define BITM_USB_INTRTX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt */
-#define BITM_USB_INTRTX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt */
-#define BITM_USB_INTRTX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt */
-#define BITM_USB_INTRTX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt */
-#define BITM_USB_INTRTX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt */
-#define BITM_USB_INTRTX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt */
-#define BITM_USB_INTRTX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt */
-#define BITM_USB_INTRTX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt */
-#define BITM_USB_INTRTX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt */
-#define BITM_USB_INTRTX_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRX_EP11 11 /* End Point 11 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP10 10 /* End Point 10 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP9 9 /* End Point 9 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP8 8 /* End Point 8 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP7 7 /* End Point 7 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP6 6 /* End Point 6 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP5 5 /* End Point 5 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP4 4 /* End Point 4 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP3 3 /* End Point 3 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP2 2 /* End Point 2 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP1 1 /* End Point 1 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTXE_EP11 11 /* End Point 11 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP10 10 /* End Point 10 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP9 9 /* End Point 9 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP8 8 /* End Point 8 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP7 7 /* End Point 7 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP6 6 /* End Point 6 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP5 5 /* End Point 5 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP4 4 /* End Point 4 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP3 3 /* End Point 3 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP2 2 /* End Point 2 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP1 1 /* End Point 1 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP0 0 /* End Point 0 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRXE_EP11 11 /* End Point 11 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP10 10 /* End Point 10 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP9 9 /* End Point 9 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP8 8 /* End Point 8 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP7 7 /* End Point 7 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP6 6 /* End Point 6 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP5 5 /* End Point 5 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP4 4 /* End Point 4 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP3 3 /* End Point 3 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP2 2 /* End Point 2 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP1 1 /* End Point 1 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IRQ_VBUSERR 7 /* VBUS Threshold Indicator */
-#define BITP_USB_IRQ_SESSREQ 6 /* Session Request Indicator */
-#define BITP_USB_IRQ_DISCON 5 /* Disconnect Indicator */
-#define BITP_USB_IRQ_CON 4 /* Connection Indicator */
-#define BITP_USB_IRQ_SOF 3 /* Start-of-frame Indicator */
-#define BITP_USB_IRQ_RSTBABBLE 2 /* Reset/Babble Indicator */
-#define BITP_USB_IRQ_RESUME 1 /* Resume Indicator */
-#define BITP_USB_IRQ_SUSPEND 0 /* Suspend Indicator */
-
-#define BITM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator */
-#define ENUM_USB_IRQ_NO_VBUSERR (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: No Interrupt */
-#define ENUM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Interrupt Pending */
-
-#define BITM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator */
-#define ENUM_USB_IRQ_NO_SESSREQ (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: No Interrupt */
-#define ENUM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Interrupt Pending */
-
-#define BITM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator */
-#define ENUM_USB_IRQ_NO_DISCON (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: No Interrupt */
-#define ENUM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Interrupt Pending */
-
-#define BITM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator */
-#define ENUM_USB_IRQ_NO_CON (_ADI_MSK(0x00000000,uint8_t)) /* CON: No Interrupt */
-#define ENUM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* CON: Interrupt Pending */
-
-#define BITM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator */
-#define ENUM_USB_IRQ_NO_SOF (_ADI_MSK(0x00000000,uint8_t)) /* SOF: No Interrupt */
-#define ENUM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Interrupt Pending */
-
-#define BITM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator */
-#define ENUM_USB_IRQ_NO_RSTBABBLE (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: No Interrupt */
-#define ENUM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Interrupt Pending */
-
-#define BITM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator */
-#define ENUM_USB_IRQ_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: No Interrupt */
-#define ENUM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Interrupt Pending */
-
-#define BITM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator */
-#define ENUM_USB_IRQ_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: No Interrupt */
-#define ENUM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IEN_VBUSERR 7 /* VBUS Threshold Indicator Interrupt Enable */
-#define BITP_USB_IEN_SESSREQ 6 /* Session Request Indicator Interrupt Enable */
-#define BITP_USB_IEN_DISCON 5 /* Disconnect Indicator Interrupt Enable */
-#define BITP_USB_IEN_CON 4 /* Connection Indicator Interrupt Enable */
-#define BITP_USB_IEN_SOF 3 /* Start-of-frame Indicator Interrupt Enable */
-#define BITP_USB_IEN_RSTBABBLE 2 /* Reset/Babble Indicator Interrupt Enable */
-#define BITP_USB_IEN_RESUME 1 /* Resume Indicator Interrupt Enable */
-#define BITP_USB_IEN_SUSPEND 0 /* Suspend Indicator Interrupt Enable */
-
-#define BITM_USB_IEN_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator Interrupt Enable */
-#define ENUM_USB_IEN_VBUSERRDIS (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: Disable Interrupt */
-#define ENUM_USB_IEN_VBUSERREN (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Enable Interrupt */
-
-#define BITM_USB_IEN_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SESSREQDIS (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: Disable Interrupt */
-#define ENUM_USB_IEN_SESSREQEN (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Enable Interrupt */
-
-#define BITM_USB_IEN_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator Interrupt Enable */
-#define ENUM_USB_IEN_DISCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: Disable Interrupt */
-#define ENUM_USB_IEN_DISCONEN (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Enable Interrupt */
-
-#define BITM_USB_IEN_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator Interrupt Enable */
-#define ENUM_USB_IEN_CONDIS (_ADI_MSK(0x00000000,uint8_t)) /* CON: Disable Interrupt */
-#define ENUM_USB_IEN_CONEN (_ADI_MSK(0x00000010,uint8_t)) /* CON: Enable Interrupt */
-
-#define BITM_USB_IEN_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SOFDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOF: Disable Interrupt */
-#define ENUM_USB_IEN_SOFEN (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Enable Interrupt */
-
-#define BITM_USB_IEN_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RSTBABBLEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: Disable Interrupt */
-#define ENUM_USB_IEN_RSTBABBLEEN (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Enable Interrupt */
-
-#define BITM_USB_IEN_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RESUMEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Interrupt */
-#define ENUM_USB_IEN_RESUMEEN (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Enable Interrupt */
-
-#define BITM_USB_IEN_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SUSPENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Interrupt */
-#define ENUM_USB_IEN_SUSPENDEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Enable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FRAME_VALUE 0 /* Frame Number Value */
-#define BITM_USB_FRAME_VALUE (_ADI_MSK(0x000007FF,uint16_t)) /* Frame Number Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INDEX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INDEX_EP 0 /* Endpoint Index */
-#define BITM_USB_INDEX_EP (_ADI_MSK(0x0000000F,uint8_t)) /* Endpoint Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TESTMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TESTMODE_FIFOACCESS 6 /* FIFO Access */
-#define BITP_USB_TESTMODE_TESTPACKET 3 /* Test_Packet Mode */
-#define BITP_USB_TESTMODE_TESTK 2 /* Test_K Mode */
-#define BITP_USB_TESTMODE_TESTJ 1 /* Test_J Mode */
-#define BITP_USB_TESTMODE_TESTSE0NAK 0 /* Test SE0 NAK */
-#define BITM_USB_TESTMODE_FIFOACCESS (_ADI_MSK(0x00000040,uint8_t)) /* FIFO Access */
-#define BITM_USB_TESTMODE_TESTPACKET (_ADI_MSK(0x00000008,uint8_t)) /* Test_Packet Mode */
-#define BITM_USB_TESTMODE_TESTK (_ADI_MSK(0x00000004,uint8_t)) /* Test_K Mode */
-#define BITM_USB_TESTMODE_TESTJ (_ADI_MSK(0x00000002,uint8_t)) /* Test_J Mode */
-#define BITM_USB_TESTMODE_TESTSE0NAK (_ADI_MSK(0x00000001,uint8_t)) /* Test SE0 NAK */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EPI_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EPI_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EPI_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EPI_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EPI_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EPI_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EPI_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EPI_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EPI_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EPI_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EPI_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EPI_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EPI_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EPI_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EPI_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EPI_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EPI_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EPI_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EPI_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EPI_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EPI_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EPI_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EPI_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EPI_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EPI_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0I_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0I_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0I_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0I_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0I_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0I_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0I_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0I_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0I_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0I_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0I_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0I_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0I_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0I_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0I_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0I_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0I_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0I_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0I_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0I_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0I_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0I_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0I_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0I_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0I_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0I_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0I_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0I_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0I_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0I_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0I_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EPI_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EPI_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EPI_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EPI_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EPI_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EPI_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EPI_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EPI_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EPI_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EPI_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EPI_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EPI_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EPI_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EPI_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EPI_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EPI_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EPI_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EPI_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0I_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EPI_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0I_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0I_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0I_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0I_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0I_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0I_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0I_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0I_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0I_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0I_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0I_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0I_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0I_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DEV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DEV_CTL_BDEVICE 7 /* A or B Devices Indicator */
-#define BITP_USB_DEV_CTL_FSDEV 6 /* Full or High-Speed Indicator */
-#define BITP_USB_DEV_CTL_LSDEV 5 /* Low-Speed Indicator */
-#define BITP_USB_DEV_CTL_VBUS 3 /* VBUS Level Indicator */
-#define BITP_USB_DEV_CTL_HOSTMODE 2 /* Host Mode Indicator */
-#define BITP_USB_DEV_CTL_HOSTREQ 1 /* Host Negotiation Request */
-#define BITP_USB_DEV_CTL_SESSION 0 /* Session Indicator */
-
-#define BITM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* A or B Devices Indicator */
-#define ENUM_USB_DEV_CTL_ADEVICE (_ADI_MSK(0x00000000,uint8_t)) /* BDEVICE: A Device Detected */
-#define ENUM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* BDEVICE: B Device Detected */
-
-#define BITM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* Full or High-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_FSDEV (_ADI_MSK(0x00000000,uint8_t)) /* FSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* FSDEV: Full or High Speed Detected */
-
-#define BITM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* Low-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_LSDEV (_ADI_MSK(0x00000000,uint8_t)) /* LSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* LSDEV: Low Speed Detected */
-
-#define BITM_USB_DEV_CTL_VBUS (_ADI_MSK(0x00000018,uint8_t)) /* VBUS Level Indicator */
-#define ENUM_USB_DEV_CTL_VBUS_BS (_ADI_MSK(0x00000000,uint8_t)) /* VBUS: Below SessionEnd */
-#define ENUM_USB_DEV_CTL_VBUS_ASBA (_ADI_MSK(0x00000008,uint8_t)) /* VBUS: Above SessionEnd, below AValid */
-#define ENUM_USB_DEV_CTL_VBUS_AABV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS: Above AValid, below VBUSValid */
-#define ENUM_USB_DEV_CTL_VBUS_AV (_ADI_MSK(0x00000018,uint8_t)) /* VBUS: Above VBUSValid */
-
-#define BITM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* Host Mode Indicator */
-#define ENUM_USB_DEV_CTL_NO_HOSTMODE (_ADI_MSK(0x00000000,uint8_t)) /* HOSTMODE: Peripheral Mode */
-#define ENUM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* HOSTMODE: Host Mode */
-
-#define BITM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* Host Negotiation Request */
-#define ENUM_USB_DEV_CTL_NO_HOSTREQ (_ADI_MSK(0x00000000,uint8_t)) /* HOSTREQ: No Request */
-#define ENUM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* HOSTREQ: Place Request */
-
-#define BITM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* Session Indicator */
-#define ENUM_USB_DEV_CTL_NO_SESSION (_ADI_MSK(0x00000000,uint8_t)) /* SESSION: Not Detected */
-#define ENUM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* SESSION: Detected Session */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_TXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_TXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_TXFIFOSZ_DPNDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_TXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_TXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_TXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_TXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_TXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_TXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_TXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_TXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_TXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_TXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_TXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_TXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_RXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_RXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_RXFIFOSZ_DPBDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_RXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_RXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_RXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_RXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_RXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_RXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_RXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_RXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_RXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_RXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_RXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_RXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOADDR_VALUE 0 /* Tx FIFO Start Address */
-#define BITM_USB_TXFIFOADDR_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Tx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOADDR_VALUE 0 /* Rx FIFO Start Address */
-#define BITM_USB_RXFIFOADDR_VALUE (_ADI_MSK(0x00000FFF,uint16_t)) /* Rx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPINFO_RXEP 4 /* Rx Endpoints */
-#define BITP_USB_EPINFO_TXEP 0 /* Tx Endpoints */
-#define BITM_USB_EPINFO_RXEP (_ADI_MSK(0x000000F0,uint8_t)) /* Rx Endpoints */
-#define BITM_USB_EPINFO_TXEP (_ADI_MSK(0x0000000F,uint8_t)) /* Tx Endpoints */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RAMINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RAMINFO_DMACHANS 4 /* DMA Channels */
-#define BITP_USB_RAMINFO_RAMBITS 0 /* RAM Address Bits */
-#define BITM_USB_RAMINFO_DMACHANS (_ADI_MSK(0x000000F0,uint8_t)) /* DMA Channels */
-#define BITM_USB_RAMINFO_RAMBITS (_ADI_MSK(0x0000000F,uint8_t)) /* RAM Address Bits */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LINKINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LINKINFO_WTCON 4 /* Wait for Connect/Disconnect */
-#define BITP_USB_LINKINFO_WTID 0 /* Wait from ID Pull-up */
-#define BITM_USB_LINKINFO_WTCON (_ADI_MSK(0x000000F0,uint8_t)) /* Wait for Connect/Disconnect */
-#define BITM_USB_LINKINFO_WTID (_ADI_MSK(0x0000000F,uint8_t)) /* Wait from ID Pull-up */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_SOFT_RST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_SOFT_RST_RSTX 1 /* Reset USB XCLK Domain */
-#define BITP_USB_SOFT_RST_RST 0 /* Reset USB CLK Domain */
-
-#define BITM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* Reset USB XCLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RSTX (_ADI_MSK(0x00000000,uint8_t)) /* RSTX: No Reset */
-#define ENUM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* RSTX: Reset USB XCLK Domain */
-
-#define BITM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* Reset USB CLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RST (_ADI_MSK(0x00000000,uint8_t)) /* RST: No Reset */
-#define ENUM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* RST: Reset USB CLK Domain */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXFUNCADDR_VALUE 0 /* Tx Function Address Value */
-#define BITM_USB_MP_TXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Tx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_TXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_TXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_TXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_TXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXFUNCADDR_VALUE 0 /* Rx Function Address Value */
-#define BITM_USB_MP_RXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Rx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_RXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_RXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_RXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_RXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EP_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EP_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EP_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EP_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EP_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EP_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EP_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EP_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EP_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EP_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EP_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EP_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EP_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EP_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EP_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EP_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EP_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EP_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EP_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EP_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EP_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EP_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EP_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EP_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EP_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EP_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EP_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EP_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EP_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EP_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EP_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EP_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EP_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EP_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EP_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EP_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EP_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EP_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EP_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EP_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EP_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EP_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EP_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EP_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EP_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EP_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EP_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EP_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_IRQ_D7 7 /* DMA 7 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D6 6 /* DMA 6 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D5 5 /* DMA 5 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D4 4 /* DMA 4 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D3 3 /* DMA 3 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D2 2 /* DMA 2 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D1 1 /* DMA 1 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D0 0 /* DMA 0 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D7 (_ADI_MSK(0x00000080,uint8_t)) /* DMA 7 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D6 (_ADI_MSK(0x00000040,uint8_t)) /* DMA 6 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D5 (_ADI_MSK(0x00000020,uint8_t)) /* DMA 5 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D4 (_ADI_MSK(0x00000010,uint8_t)) /* DMA 4 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D3 (_ADI_MSK(0x00000008,uint8_t)) /* DMA 3 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D2 (_ADI_MSK(0x00000004,uint8_t)) /* DMA 2 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D1 (_ADI_MSK(0x00000002,uint8_t)) /* DMA 1 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D0 (_ADI_MSK(0x00000001,uint8_t)) /* DMA 0 Interrupt Pending Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_CTL_BRSTM 9 /* Burst Mode */
-#define BITP_USB_DMA_CTL_ERR 8 /* Bus Error */
-#define BITP_USB_DMA_CTL_EP 4 /* DMA Channel Endpoint Assignment */
-#define BITP_USB_DMA_CTL_IE 3 /* DMA Interrupt Enable */
-#define BITP_USB_DMA_CTL_MODE 2 /* DMA Mode */
-#define BITP_USB_DMA_CTL_DIR 1 /* DMA Transfer Direction */
-#define BITP_USB_DMA_CTL_EN 0 /* DMA Enable */
-
-#define BITM_USB_DMA_CTL_BRSTM (_ADI_MSK(0x00000600,uint16_t)) /* Burst Mode */
-#define ENUM_USB_DMA_CTL_BRSTM00 (_ADI_MSK(0x00000000,uint16_t)) /* BRSTM: Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM01 (_ADI_MSK(0x00000200,uint16_t)) /* BRSTM: INCR4 or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM10 (_ADI_MSK(0x00000400,uint16_t)) /* BRSTM: INCR8, INCR4, or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM11 (_ADI_MSK(0x00000600,uint16_t)) /* BRSTM: INCR16, INCR8, INCR4, or Unspecified Length */
-
-#define BITM_USB_DMA_CTL_ERR (_ADI_MSK(0x00000100,uint16_t)) /* Bus Error */
-#define ENUM_USB_DMA_CTL_NO_DMAERR (_ADI_MSK(0x00000000,uint16_t)) /* ERR: No Status */
-#define ENUM_USB_DMA_CTL_DMAERR (_ADI_MSK(0x00000100,uint16_t)) /* ERR: Bus Error */
-
-#define BITM_USB_DMA_CTL_EP (_ADI_MSK(0x000000F0,uint16_t)) /* DMA Channel Endpoint Assignment */
-#define ENUM_USB_DMA_CTL_DMAEP0 (_ADI_MSK(0x00000000,uint16_t)) /* EP: Endpoint 0 */
-#define ENUM_USB_DMA_CTL_DMAEP1 (_ADI_MSK(0x00000010,uint16_t)) /* EP: Endpoint 1 */
-#define ENUM_USB_DMA_CTL_DMAEP10 (_ADI_MSK(0x000000A0,uint16_t)) /* EP: Endpoint 10 */
-#define ENUM_USB_DMA_CTL_DMAEP11 (_ADI_MSK(0x000000B0,uint16_t)) /* EP: Endpoint 11 */
-#define ENUM_USB_DMA_CTL_DMAEP12 (_ADI_MSK(0x000000C0,uint16_t)) /* EP: Endpoint 12 */
-#define ENUM_USB_DMA_CTL_DMAEP13 (_ADI_MSK(0x000000D0,uint16_t)) /* EP: Endpoint 13 */
-#define ENUM_USB_DMA_CTL_DMAEP14 (_ADI_MSK(0x000000E0,uint16_t)) /* EP: Endpoint 14 */
-#define ENUM_USB_DMA_CTL_DMAEP15 (_ADI_MSK(0x000000F0,uint16_t)) /* EP: Endpoint 15 */
-#define ENUM_USB_DMA_CTL_DMAEP2 (_ADI_MSK(0x00000020,uint16_t)) /* EP: Endpoint 2 */
-#define ENUM_USB_DMA_CTL_DMAEP3 (_ADI_MSK(0x00000030,uint16_t)) /* EP: Endpoint 3 */
-#define ENUM_USB_DMA_CTL_DMAEP4 (_ADI_MSK(0x00000040,uint16_t)) /* EP: Endpoint 4 */
-#define ENUM_USB_DMA_CTL_DMAEP5 (_ADI_MSK(0x00000050,uint16_t)) /* EP: Endpoint 5 */
-#define ENUM_USB_DMA_CTL_DMAEP6 (_ADI_MSK(0x00000060,uint16_t)) /* EP: Endpoint 6 */
-#define ENUM_USB_DMA_CTL_DMAEP7 (_ADI_MSK(0x00000070,uint16_t)) /* EP: Endpoint 7 */
-#define ENUM_USB_DMA_CTL_DMAEP8 (_ADI_MSK(0x00000080,uint16_t)) /* EP: Endpoint 8 */
-#define ENUM_USB_DMA_CTL_DMAEP9 (_ADI_MSK(0x00000090,uint16_t)) /* EP: Endpoint 9 */
-
-#define BITM_USB_DMA_CTL_IE (_ADI_MSK(0x00000008,uint16_t)) /* DMA Interrupt Enable */
-#define ENUM_USB_DMA_CTL_DMAINTDIS (_ADI_MSK(0x00000000,uint16_t)) /* IE: Disable Interrupt */
-#define ENUM_USB_DMA_CTL_DMAINTEN (_ADI_MSK(0x00000008,uint16_t)) /* IE: Enable Interrupt */
-
-#define BITM_USB_DMA_CTL_MODE (_ADI_MSK(0x00000004,uint16_t)) /* DMA Mode */
-#define ENUM_USB_DMA_CTL_DMAMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* MODE: DMA Mode 0 */
-#define ENUM_USB_DMA_CTL_DMAMODE1 (_ADI_MSK(0x00000004,uint16_t)) /* MODE: DMA Mode 1 */
-
-#define BITM_USB_DMA_CTL_DIR (_ADI_MSK(0x00000002,uint16_t)) /* DMA Transfer Direction */
-#define ENUM_USB_DMA_CTL_DMADIR_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: DMA Write (for Rx Endpoint) */
-#define ENUM_USB_DMA_CTL_DMADIR_TX (_ADI_MSK(0x00000002,uint16_t)) /* DIR: DMA Read (for Tx Endpoint) */
-
-#define BITM_USB_DMA_CTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* DMA Enable */
-#define ENUM_USB_DMA_CTL_DMADIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable DMA */
-#define ENUM_USB_DMA_CTL_DMAEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable DMA (Start Transfer) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_UCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_UCH_VALUE 0 /* Chirp Timeout Value */
-#define BITM_USB_CT_UCH_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Chirp Timeout Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HHSRTN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HHSRTN_VALUE 0 /* Host High Speed Return to Normal Value */
-#define BITM_USB_CT_HHSRTN_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Host High Speed Return to Normal Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HSBT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HSBT_VALUE 0 /* HS Timeout Adder */
-#define BITM_USB_CT_HSBT_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* HS Timeout Adder */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_ATTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_ATTR_EP 12 /* Endpoint */
-#define BITP_USB_LPM_ATTR_RMTWAK 8 /* Remote Wakeup Enable */
-#define BITP_USB_LPM_ATTR_HIRD 4 /* Host Initiated Resume Duration */
-#define BITP_USB_LPM_ATTR_LINKSTATE 0 /* Link State */
-#define BITM_USB_LPM_ATTR_EP (_ADI_MSK(0x0000F000,uint16_t)) /* Endpoint */
-
-#define BITM_USB_LPM_ATTR_RMTWAK (_ADI_MSK(0x00000100,uint16_t)) /* Remote Wakeup Enable */
-#define ENUM_USB_LPM_ATTR_RMTWAKDIS (_ADI_MSK(0x00000000,uint16_t)) /* RMTWAK: Disable Remote Wakeup */
-#define ENUM_USB_LPM_ATTR_RMTWAKEN (_ADI_MSK(0x00000100,uint16_t)) /* RMTWAK: Enable Remote Wakeup */
-#define BITM_USB_LPM_ATTR_HIRD (_ADI_MSK(0x000000F0,uint16_t)) /* Host Initiated Resume Duration */
-
-#define BITM_USB_LPM_ATTR_LINKSTATE (_ADI_MSK(0x0000000F,uint16_t)) /* Link State */
-#define ENUM_USB_LPM_ATTR_LNKSTATE_SSL1 (_ADI_MSK(0x00000001,uint16_t)) /* LINKSTATE: Sleep State (L1) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_CTL_NAK 4 /* LPM NAK Enable */
-#define BITP_USB_LPM_CTL_EN 2 /* LPM Enable */
-#define BITP_USB_LPM_CTL_RESUME 1 /* LPM Resume (Remote Wakeup) */
-#define BITP_USB_LPM_CTL_TX 0 /* LPM Transmit */
-#define BITM_USB_LPM_CTL_NAK (_ADI_MSK(0x00000010,uint8_t)) /* LPM NAK Enable */
-#define BITM_USB_LPM_CTL_EN (_ADI_MSK(0x0000000C,uint8_t)) /* LPM Enable */
-#define BITM_USB_LPM_CTL_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* LPM Resume (Remote Wakeup) */
-#define BITM_USB_LPM_CTL_TX (_ADI_MSK(0x00000001,uint8_t)) /* LPM Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IEN_LPMERR 5 /* LPM Error Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMRES 4 /* LPM Resume Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNC 3 /* LPM NYET Control Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMACK 2 /* LPM ACK Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNY 1 /* LPM NYET Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMST 0 /* LPM STALL Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMST (_ADI_MSK(0x00000001,uint8_t)) /* LPM STALL Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IRQ_LPMERR 5 /* LPM Error Interrupt */
-#define BITP_USB_LPM_IRQ_LPMRES 4 /* LPM Resume Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNC 3 /* LPM NYET Control Interrupt */
-#define BITP_USB_LPM_IRQ_LPMACK 2 /* LPM ACK Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNY 1 /* LPM NYET Interrupt */
-#define BITP_USB_LPM_IRQ_LPMST 0
-#define BITM_USB_LPM_IRQ_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt */
-#define BITM_USB_LPM_IRQ_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt */
-#define BITM_USB_LPM_IRQ_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt */
-#define BITM_USB_LPM_IRQ_LPMST (_ADI_MSK(0x00000001,uint8_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_LPM_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_VBUS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_VBUS_CTL_DRV 4 /* VBUS Drive */
-#define BITP_USB_VBUS_CTL_DRVINT 3 /* VBUS Drive Interrupt */
-#define BITP_USB_VBUS_CTL_DRVIEN 2 /* VBUS Drive Interrupt Enable */
-#define BITP_USB_VBUS_CTL_DRVOD 1 /* VBUS Drive Open Drain */
-#define BITP_USB_VBUS_CTL_INVDRV 0 /* VBUS Invert Drive */
-#define BITM_USB_VBUS_CTL_DRV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS Drive */
-#define BITM_USB_VBUS_CTL_DRVINT (_ADI_MSK(0x00000008,uint8_t)) /* VBUS Drive Interrupt */
-#define BITM_USB_VBUS_CTL_DRVIEN (_ADI_MSK(0x00000004,uint8_t)) /* VBUS Drive Interrupt Enable */
-#define BITM_USB_VBUS_CTL_DRVOD (_ADI_MSK(0x00000002,uint8_t)) /* VBUS Drive Open Drain */
-#define BITM_USB_VBUS_CTL_INVDRV (_ADI_MSK(0x00000001,uint8_t)) /* VBUS Invert Drive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_BAT_CHG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_BAT_CHG_DEDCHG 4 /* Dedicated Charging Port */
-#define BITP_USB_BAT_CHG_CHGDET 3 /* Charging Port Detected */
-#define BITP_USB_BAT_CHG_SNSCHGDET 2 /* Sense Charger Detection */
-#define BITP_USB_BAT_CHG_CONDET 1 /* Connected Detected */
-#define BITP_USB_BAT_CHG_SNSCONDET 0 /* Sense Connection Detection */
-#define BITM_USB_BAT_CHG_DEDCHG (_ADI_MSK(0x00000010,uint8_t)) /* Dedicated Charging Port */
-#define BITM_USB_BAT_CHG_CHGDET (_ADI_MSK(0x00000008,uint8_t)) /* Charging Port Detected */
-#define BITM_USB_BAT_CHG_SNSCHGDET (_ADI_MSK(0x00000004,uint8_t)) /* Sense Charger Detection */
-#define BITM_USB_BAT_CHG_CONDET (_ADI_MSK(0x00000002,uint8_t)) /* Connected Detected */
-#define BITM_USB_BAT_CHG_SNSCONDET (_ADI_MSK(0x00000001,uint8_t)) /* Sense Connection Detection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PHY_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PHY_CTL_EN 7 /* PHY Enable */
-#define BITP_USB_PHY_CTL_RESTORE 1 /* Restore from Hibernate */
-#define BITP_USB_PHY_CTL_HIBER 0 /* Hibernate */
-#define BITM_USB_PHY_CTL_EN (_ADI_MSK(0x00000080,uint8_t)) /* PHY Enable */
-#define BITM_USB_PHY_CTL_RESTORE (_ADI_MSK(0x00000002,uint8_t)) /* Restore from Hibernate */
-#define BITM_USB_PHY_CTL_HIBER (_ADI_MSK(0x00000001,uint8_t)) /* Hibernate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PLL_OSC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PLL_OSC_PLLMSEL 7 /* PLL Multiplier Select */
-#define BITP_USB_PLL_OSC_PLLM 1 /* PLL Multiplier Value */
-#define BITP_USB_PLL_OSC_DIVCLKIN 0 /* Divide CLKIN */
-#define BITM_USB_PLL_OSC_PLLMSEL (_ADI_MSK(0x00000080,uint16_t)) /* PLL Multiplier Select */
-#define BITM_USB_PLL_OSC_PLLM (_ADI_MSK(0x0000007E,uint16_t)) /* PLL Multiplier Value */
-#define BITM_USB_PLL_OSC_DIVCLKIN (_ADI_MSK(0x00000001,uint16_t)) /* Divide CLKIN */
-
-/* ==================================================
- Data Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1DM0
- ========================= */
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cacheability Protection Lookaside Buffer Status */
-#define DCPLB_FAULT_STATUS 0xFFE00008 /* Older definition or alias of above */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define DCPLB_ADDR0 0xFFE00100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR1 0xFFE00104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR2 0xFFE00108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR3 0xFFE0010C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR4 0xFFE00110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR5 0xFFE00114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR6 0xFFE00118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR7 0xFFE0011C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR8 0xFFE00120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR9 0xFFE00124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR10 0xFFE00128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR11 0xFFE0012C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR12 0xFFE00130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR13 0xFFE00134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR14 0xFFE00138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR15 0xFFE0013C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_DATA0 0xFFE00200 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA1 0xFFE00204 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA2 0xFFE00208 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA3 0xFFE0020C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA4 0xFFE00210 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA5 0xFFE00214 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA6 0xFFE00218 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA7 0xFFE0021C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA8 0xFFE00220 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA9 0xFFE00224 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA10 0xFFE00228 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA11 0xFFE0022C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA12 0xFFE00230 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA13 0xFFE00234 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA14 0xFFE00238 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA15 0xFFE0023C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-#define L1DBNKA_PELOC 0xFFE00408 /* Data Bank A Parity Error Location */
-#define L1DBNKB_PELOC 0xFFE0040C /* Data Bank B Parity Error Location */
-
-/* =========================
- L1DM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SRAM_BASE_ADDRESS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SRAM_BASE_ADDRESS_ADDR 22 /* SRAM Base Address */
-#define BITM_SRAM_BASE_ADDRESS_ADDR (_ADI_MSK(0xFFC00000,uint32_t)) /* SRAM Base Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMEM_CONTROL_PARCTL 15 /* L1 Scratch Parity Control */
-#define BITP_DMEM_CONTROL_PARSEL 14 /* L1 Scratch Parity Select */
-#define BITP_DMEM_CONTROL_PPREF1 13 /* DAG1 Port Preference */
-#define BITP_DMEM_CONTROL_PPREF0 12 /* DAG0 Port Preference */
-#define BITP_DMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_DMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_DMEM_CONTROL_DCBS 4 /* L1 Data Cache Bank Select */
-#define BITP_DMEM_CONTROL_CFG 2 /* Data Memory Configuration */
-#define BITP_DMEM_CONTROL_ENCPLB 1 /* Enable DCPLB */
-
-#define BITM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* L1 Scratch Parity Control */
-#define ENUM_DMEM_CONTROL_NO_PARCTL (_ADI_MSK(0x00000000,uint32_t)) /* PARCTL: No Parity Control (Normal Behavior for L1 RD / L1 WT) */
-#define ENUM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* PARCTL: Parity Control Enabled */
-#define BITM_DMEM_CONTROL_PARSEL (_ADI_MSK(0x00004000,uint32_t)) /* L1 Scratch Parity Select */
-
-#define BITM_DMEM_CONTROL_PPREF1 (_ADI_MSK(0x00002000,uint32_t)) /* DAG1 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF1A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF1B (_ADI_MSK(0x00002000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_PPREF0 (_ADI_MSK(0x00001000,uint32_t)) /* DAG0 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF0A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF0B (_ADI_MSK(0x00001000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_DMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_DMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_DMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_DMEM_CONTROL_DCBS (_ADI_MSK(0x00000010,uint32_t)) /* L1 Data Cache Bank Select */
-#define ENUM_DMEM_CONTROL_DCBS14 (_ADI_MSK(0x00000000,uint32_t)) /* DCBS: Address bit 14 used to select Bank A or B for cache access */
-#define ENUM_DMEM_CONTROL_DCBS23 (_ADI_MSK(0x00000010,uint32_t)) /* DCBS: Address bit 23 used to select Bank A or B for cache access */
-
-#define BITM_DMEM_CONTROL_CFG (_ADI_MSK(0x0000000C,uint32_t)) /* Data Memory Configuration */
-#define ENUM_DMEM_CONTROL_ASRAM_BSRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: A SRAM, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BSRAM (_ADI_MSK(0x00000008,uint32_t)) /* CFG: A Cache, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BCACHE (_ADI_MSK(0x0000000C,uint32_t)) /* CFG: A Cache, B Cache */
-
-#define BITM_DMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable DCPLB */
-#define ENUM_DMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs Disabled */
-#define ENUM_DMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs Enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_DCPLB_STATUS_DAG 18 /* Access DAG */
-#define BITP_DCPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_DCPLB_STATUS_RW 16 /* Access Read/Write */
-#define BITP_DCPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_DCPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_DCPLB_STATUS_DAG (_ADI_MSK(0x00040000,uint32_t)) /* Access DAG */
-#define BITM_DCPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_DCPLB_STATUS_RW (_ADI_MSK(0x00010000,uint32_t)) /* Access Read/Write */
-#define BITM_DCPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_DCPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_DCPLB_DATA_WT 14 /* CPLB Write Through */
-#define BITP_DCPLB_DATA_L2_CHBL 13 /* CPLB L2 Cacheable */
-#define BITP_DCPLB_DATA_L1_CHBL 12 /* CPLB L1 Cacheable */
-#define BITP_DCPLB_DATA_DIRTY 7 /* CPLB DIRTY */
-#define BITP_DCPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_DCPLB_DATA_SWRITE 4 /* CPLB Supervisor Write */
-#define BITP_DCPLB_DATA_UWRITE 3 /* CPLB User Write */
-#define BITP_DCPLB_DATA_UREAD 2 /* CPLB User Read */
-#define BITP_DCPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_DCPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_DCPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_DCPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_DCPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_DCPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_DCPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_DCPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_DCPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_DCPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_DCPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* CPLB Write Through */
-#define ENUM_DCPLB_DATA_WB (_ADI_MSK(0x00000000,uint32_t)) /* WT: Write-back */
-#define ENUM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* WT: Write-through */
-
-#define BITM_DCPLB_DATA_L2_CHBL (_ADI_MSK(0x00002000,uint32_t)) /* CPLB L2 Cacheable */
-#define ENUM_DCPLB_DATA_L2CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L2CHBL: Non-cacheable in L2 */
-#define ENUM_DCPLB_DATA_L2CHBL_EN (_ADI_MSK(0x00002000,uint32_t)) /* L2CHBL: Cacheable in L2 */
-
-#define BITM_DCPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* CPLB L1 Cacheable */
-#define ENUM_DCPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_DCPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* CPLB DIRTY */
-#define ENUM_DCPLB_DATA_CLEAN (_ADI_MSK(0x00000000,uint32_t)) /* DIRTY: Clean */
-#define ENUM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* DIRTY: Dirty */
-#define BITM_DCPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* CPLB Supervisor Write */
-#define ENUM_DCPLB_DATA_NO_SWRITE (_ADI_MSK(0x00000000,uint32_t)) /* SWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* SWRITE: Write Access Allowed (Supervisor Mode) */
-
-#define BITM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* CPLB User Write */
-#define ENUM_DCPLB_DATA_NO_UWRITE (_ADI_MSK(0x00000000,uint32_t)) /* UWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* UWRITE: Write Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* CPLB User Read */
-#define ENUM_DCPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_DCPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_DCPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_DCPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid Entry */
-#define ENUM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DTEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DTEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_DTEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_DTEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bit 11 */
-#define BITP_DTEST_COMMAND_IDSEL 24 /* Instruction/Data Access */
-#define BITP_DTEST_COMMAND_BNKSEL 23 /* Data Bank Access */
-#define BITP_DTEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_DTEST_COMMAND_SEL16K 14 /* Address bit 14 */
-#define BITP_DTEST_COMMAND_SET 5 /* Set Index */
-#define BITP_DTEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_DTEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_DTEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_DTEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_DTEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_DTEST_COMMAND_WAYSEL (_ADI_MSK(0x04000000,uint32_t)) /* Access Way/Instruction Address Bit 11 */
-#define BITM_DTEST_COMMAND_IDSEL (_ADI_MSK(0x01000000,uint32_t)) /* Instruction/Data Access */
-#define BITM_DTEST_COMMAND_BNKSEL (_ADI_MSK(0x00800000,uint32_t)) /* Data Bank Access */
-#define BITM_DTEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_DTEST_COMMAND_SEL16K (_ADI_MSK(0x00004000,uint32_t)) /* Address bit 14 */
-#define BITM_DTEST_COMMAND_SET (_ADI_MSK(0x000007E0,uint32_t)) /* Set Index */
-#define BITM_DTEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_DTEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_DTEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKA_PELOC_SCRATCH_MEM 12 /* Scratch Memory Parity Status */
-#define BITP_L1DBNKA_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_SCRATCH_MEM (_ADI_MSK(0x00001000,uint32_t)) /* Scratch Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKB_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKB_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Instruction Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1IM0
- ========================= */
-#define IMEM_CONTROL 0xFFE01004 /* Instruction memory control */
-#define ICPLB_STATUS 0xFFE01008 /* Cacheability Protection Lookaside Buffer Status */
-#define CODE_FAULT_STATUS 0xFFE01008 /* Older definition or alias of above */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Cacheability Protection Lookaside Buffer Fault Address */
-#define CODE_FAULT_ADDR 0xFFE0100C /* Older definition or alias of above */
-#define ICPLB_ADDR0 0xFFE01100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR1 0xFFE01104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR2 0xFFE01108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR3 0xFFE0110C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR4 0xFFE01110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR5 0xFFE01114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR6 0xFFE01118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR7 0xFFE0111C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR8 0xFFE01120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR9 0xFFE01124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR10 0xFFE01128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR11 0xFFE0112C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR12 0xFFE01130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR13 0xFFE01134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR14 0xFFE01138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR15 0xFFE0113C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_DATA0 0xFFE01200 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA1 0xFFE01204 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA2 0xFFE01208 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA3 0xFFE0120C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA4 0xFFE01210 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA5 0xFFE01214 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA6 0xFFE01218 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA7 0xFFE0121C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA8 0xFFE01220 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA9 0xFFE01224 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA10 0xFFE01228 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA11 0xFFE0122C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA12 0xFFE01230 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA13 0xFFE01234 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA14 0xFFE01238 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA15 0xFFE0123C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-#define L1IBNKA_PELOC 0xFFE01408 /* Instruction Bank A Parity Error Location */
-#define L1IBNKB_PELOC 0xFFE0140C /* Instruction Bank B Parity Error Location */
-#define L1IBNKC_PELOC 0xFFE01410 /* Instruction Bank C Parity Error Location */
-
-/* =========================
- L1IM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMEM_CONTROL_LRUPRIORST 13 /* LRU Priority Reset */
-#define BITP_IMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_IMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_IMEM_CONTROL_LOC 3 /* Cache Way Lock */
-#define BITP_IMEM_CONTROL_CFG 2 /* Configure L1 code memory as cache */
-#define BITP_IMEM_CONTROL_ENCPLB 1 /* Enable ICPLB */
-
-#define BITM_IMEM_CONTROL_LRUPRIORST (_ADI_MSK(0x00002000,uint32_t)) /* LRU Priority Reset */
-#define ENUM_IMEM_CONTROL_LRUPRIO_EN (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIORST: LRU Priority functionality is enabled */
-#define ENUM_IMEM_CONTROL_LRUPRIO_CLR (_ADI_MSK(0x00002000,uint32_t)) /* LRUPRIORST: All cached LRU priority bits are cleared */
-
-#define BITM_IMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_IMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_IMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_IMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_IMEM_CONTROL_LOC (_ADI_MSK(0x00000078,uint32_t)) /* Cache Way Lock */
-#define ENUM_IMEM_CONTROL_WAYLOCK_NONE (_ADI_MSK(0x00000000,uint32_t)) /* LOC: All Ways Not Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_0 (_ADI_MSK(0x00000008,uint32_t)) /* LOC: Way3, Way2, Way1 Not Locked, Way0 Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_ALL (_ADI_MSK(0x00000078,uint32_t)) /* LOC: All Ways Locked */
-
-#define BITM_IMEM_CONTROL_CFG (_ADI_MSK(0x00000004,uint32_t)) /* Configure L1 code memory as cache */
-#define ENUM_IMEM_CONTROL_CFG_SRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: L1 Instruction Memory Configured as SRAM */
-#define ENUM_IMEM_CONTROL_CFG_CACHE (_ADI_MSK(0x00000004,uint32_t)) /* CFG: L1 Instruction Memory Configures as Cache */
-
-#define BITM_IMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable ICPLB */
-#define ENUM_IMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs disabled */
-#define ENUM_IMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_ICPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_ICPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_ICPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_ICPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_ICPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_ICPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_ICPLB_DATA_L1_CHBL 12 /* L1 Cacheable */
-#define BITP_ICPLB_DATA_LRUPRIO 8 /* Least Recently Used Priority */
-#define BITP_ICPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_ICPLB_DATA_UREAD 2 /* Allow User Read */
-#define BITP_ICPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_ICPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_ICPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_ICPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_ICPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_ICPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_ICPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_ICPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_ICPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_ICPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_ICPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_ICPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* L1 Cacheable */
-#define ENUM_ICPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_ICPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_ICPLB_DATA_LRUPRIO (_ADI_MSK(0x00000100,uint32_t)) /* Least Recently Used Priority */
-#define ENUM_ICPLB_DATA_LRUPRIO_LO (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIO: Low Importance */
-#define ENUM_ICPLB_DATA_LRUPRIO_HI (_ADI_MSK(0x00000100,uint32_t)) /* LRUPRIO: High Importance */
-#define BITM_ICPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* Allow User Read */
-#define ENUM_ICPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_ICPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_ICPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_ICPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_ICPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid (disabled) CPLB Entry */
-#define ENUM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid (enabled) CPLB Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ITEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ITEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_ITEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_ITEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bits 11:10 */
-#define BITP_ITEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_ITEST_COMMAND_SET 5 /* Set Index */
-#define BITP_ITEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_ITEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_ITEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_ITEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_ITEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_ITEST_COMMAND_WAYSEL (_ADI_MSK(0x0C000000,uint32_t)) /* Access Way/Instruction Address Bits 11:10 */
-#define BITM_ITEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_ITEST_COMMAND_SET (_ADI_MSK(0x000003E0,uint32_t)) /* Set Index */
-#define BITM_ITEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_ITEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_ITEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKC_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKC_PELOC_TAGPAIR 4 /* Tag Parity Status */
-#define BITP_L1IBNKC_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKC_PELOC_TAGPAIR (_ADI_MSK(0x00000030,uint32_t)) /* Tag Parity Status */
-#define BITM_L1IBNKC_PELOC_MEMBLK (_ADI_MSK(0x0000000F,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Interrupt Controller Registers
- ================================================== */
-
-/* =========================
- ICU0
- ========================= */
-#define EVT0 0xFFE02000 /* Event Vector */
-#define EVT1 0xFFE02004 /* Event Vector */
-#define EVT2 0xFFE02008 /* Event Vector */
-#define EVT3 0xFFE0200C /* Event Vector */
-#define EVT4 0xFFE02010 /* Event Vector */
-#define EVT5 0xFFE02014 /* Event Vector */
-#define EVT6 0xFFE02018 /* Event Vector */
-#define EVT7 0xFFE0201C /* Event Vector */
-#define EVT8 0xFFE02020 /* Event Vector */
-#define EVT9 0xFFE02024 /* Event Vector */
-#define EVT10 0xFFE02028 /* Event Vector */
-#define EVT11 0xFFE0202C /* Event Vector */
-#define EVT12 0xFFE02030 /* Event Vector */
-#define EVT13 0xFFE02034 /* Event Vector */
-#define EVT14 0xFFE02038 /* Event Vector */
-#define EVT15 0xFFE0203C /* Event Vector */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupts Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-#define IPRIO 0xFFE02110 /* Interrupt Priority Register */
-#define CEC_SID 0xFFE02118 /* Core System Interrupt ID */
-
-/* =========================
- ICU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMASK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMASK_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IMASK_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IMASK_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IMASK_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IMASK_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IMASK_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IMASK_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IMASK_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IMASK_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IMASK_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IMASK_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IMASK_UNMASKABLE 0 /* Unmaskable interrupts */
-#define BITM_IMASK_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IMASK_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IMASK_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IMASK_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IMASK_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IMASK_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IMASK_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IMASK_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IMASK_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IMASK_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IMASK_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IMASK_UNMASKABLE (_ADI_MSK(0x0000001F,uint32_t)) /* Unmaskable interrupts */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPEND_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IPEND_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IPEND_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IPEND_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IPEND_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IPEND_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IPEND_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IPEND_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IPEND_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IPEND_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IPEND_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IPEND_IRPTEN 4 /* Global interrupt enable bit position */
-#define BITP_IPEND_EVX 3 /* Exception bit position */
-#define BITP_IPEND_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_IPEND_RST 1 /* Reset interrupt bit position */
-#define BITP_IPEND_EMU 0 /* Emulator interrupt bit position */
-#define BITM_IPEND_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IPEND_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IPEND_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IPEND_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IPEND_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IPEND_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IPEND_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IPEND_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IPEND_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IPEND_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IPEND_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IPEND_IRPTEN (_ADI_MSK(0x00000010,uint32_t)) /* Global interrupt enable bit position */
-#define BITM_IPEND_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_IPEND_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_IPEND_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_IPEND_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ILAT_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_ILAT_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_ILAT_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_ILAT_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_ILAT_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_ILAT_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_ILAT_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_ILAT_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_ILAT_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_ILAT_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_ILAT_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_ILAT_EVX 3 /* Exception bit position */
-#define BITP_ILAT_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_ILAT_RST 1 /* Reset interrupt bit position */
-#define BITP_ILAT_EMU 0 /* Emulator interrupt bit position */
-#define BITM_ILAT_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_ILAT_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_ILAT_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_ILAT_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_ILAT_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_ILAT_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_ILAT_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_ILAT_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_ILAT_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_ILAT_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_ILAT_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_ILAT_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_ILAT_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_ILAT_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_ILAT_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPRIO_IPRIO_MARK 0 /* Priority Watermark */
-#define BITM_IPRIO_IPRIO_MARK (_ADI_MSK(0x0000000F,uint32_t)) /* Priority Watermark */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CEC_SID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CEC_SID_SID 0 /* System Interrupt ID */
-#define BITM_CEC_SID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* System Interrupt ID */
-
-/* ==================================================
- Core Timer Registers
- ================================================== */
-
-/* =========================
- TMR0
- ========================= */
-#define TCNTL 0xFFE03000 /* Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Timer Period Register */
-#define TSCALE 0xFFE03008 /* Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Timer Count Register */
-
-/* =========================
- TMR
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TCNTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TCNTL_INT 3 /* Interrupt Status (sticky) */
-#define BITP_TCNTL_AUTORLD 2 /* Auto Reload Enable */
-#define BITP_TCNTL_EN 1 /* Timer Enable */
-#define BITP_TCNTL_PWR 0 /* Low Power Mode Select */
-#define BITM_TCNTL_INT (_ADI_MSK(0x00000008,uint32_t)) /* Interrupt Status (sticky) */
-#define BITM_TCNTL_AUTORLD (_ADI_MSK(0x00000004,uint32_t)) /* Auto Reload Enable */
-#define BITM_TCNTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Timer Enable */
-#define BITM_TCNTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Low Power Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TSCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TSCALE_SCALE 0 /* Timer Scaling Value */
-#define BITM_TSCALE_SCALE (_ADI_MSK(0x000000FF,uint32_t)) /* Timer Scaling Value */
-
-/* ==================================================
- Debug Unit Registers
- ================================================== */
-
-/* =========================
- DBG0
- ========================= */
-#define DSPID 0xFFE05000 /* DSP Identification Register */
-
-/* =========================
- DBG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DSPID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DSPID_COMPANY 24 /* Analog Devices, Inc. */
-#define BITP_DSPID_MAJOR 16 /* Major Architectural Change */
-#define BITP_DSPID_COREID 0 /* Core ID */
-#define BITM_DSPID_COMPANY (_ADI_MSK(0xFF000000,uint32_t)) /* Analog Devices, Inc. */
-
-#define BITM_DSPID_MAJOR (_ADI_MSK(0x00FF0000,uint32_t)) /* Major Architectural Change */
-#define ENUM_DSPID_BF533 (_ADI_MSK(0x00040000,uint32_t)) /* MAJOR: ADSP-BF533 Core Compatible */
-#define BITM_DSPID_COREID (_ADI_MSK(0x000000FF,uint32_t)) /* Core ID */
-
-/* ==================================================
- Trace Unit Registers
- ================================================== */
-
-/* =========================
- TB0
- ========================= */
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* =========================
- TB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFCTL_COMPRESS 3 /* Trace Buffer Compression */
-#define BITP_TBUFCTL_OVF 2 /* Trace Buffer Overflow */
-#define BITP_TBUFCTL_EN 1 /* Trace Buffer Enable */
-#define BITP_TBUFCTL_PWR 0 /* Trace Buffer Power */
-#define BITM_TBUFCTL_COMPRESS (_ADI_MSK(0x00000018,uint32_t)) /* Trace Buffer Compression */
-#define BITM_TBUFCTL_OVF (_ADI_MSK(0x00000004,uint32_t)) /* Trace Buffer Overflow */
-#define BITM_TBUFCTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Trace Buffer Enable */
-#define BITM_TBUFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Trace Buffer Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFSTAT_CNT 0 /* Trace Buffer Count */
-#define BITM_TBUFSTAT_CNT (_ADI_MSK(0x0000001F,uint32_t)) /* Trace Buffer Count */
-
-/* ==================================================
- Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- WP0
- ========================= */
-#define WPIACTL 0xFFE07000 /* Watchpoint Instruction Address Control Register 01 */
-#define WPIA0 0xFFE07040 /* Watchpoint Instruction Address Register */
-#define WPIA1 0xFFE07044 /* Watchpoint Instruction Address Register */
-#define WPIA2 0xFFE07048 /* Watchpoint Instruction Address Register */
-#define WPIA3 0xFFE0704C /* Watchpoint Instruction Address Register */
-#define WPIA4 0xFFE07050 /* Watchpoint Instruction Address Register */
-#define WPIA5 0xFFE07054 /* Watchpoint Instruction Address Register */
-#define WPIACNT0 0xFFE07080 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT1 0xFFE07084 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT2 0xFFE07088 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT3 0xFFE0708C /* Watchpoint Instruction Address Count Register */
-#define WPIACNT4 0xFFE07090 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT5 0xFFE07094 /* Watchpoint Instruction Address Count Register */
-#define WPDACTL 0xFFE07100 /* Watchpoint Data Address Control Register */
-#define WPDA0 0xFFE07140 /* Watchpoint Data Address Register */
-#define WPDA1 0xFFE07144 /* Watchpoint Data Address Register */
-#define WPDACNT0 0xFFE07180 /* Watchpoint Data Address Count Value Register */
-#define WPDACNT1 0xFFE07184 /* Watchpoint Data Address Count Value Register */
-#define WPSTAT 0xFFE07200 /* Watchpoint Status Register */
-
-/* =========================
- WP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACTL_WPAND 25 /* And Triggers */
-#define BITP_WPIACTL_ACT5 24 /* Action field for WPIA5 */
-#define BITP_WPIACTL_ACT4 23 /* Action field for WPIA4 */
-#define BITP_WPIACTL_ENCNT5 22 /* Enable Counter for WPIA5 */
-#define BITP_WPIACTL_ENCNT4 21 /* Enable Counter for WPIA4 */
-#define BITP_WPIACTL_ENIA5 20 /* Enable WPIA5 */
-#define BITP_WPIACTL_ENIA4 19 /* Enable WPIA4 */
-#define BITP_WPIACTL_INVIR45 18 /* Invert Instruction Range 45 */
-#define BITP_WPIACTL_ENIR45 17 /* Enable Instruction Range 45 */
-#define BITP_WPIACTL_ACT3 16 /* Action field for WPIA3 */
-#define BITP_WPIACTL_ACT2 15 /* Action field for WPIA2 */
-#define BITP_WPIACTL_ENCNT3 14 /* Enable Counter for WPIA3 */
-#define BITP_WPIACTL_ENCNT2 13 /* Enable Counter for WPIA2 */
-#define BITP_WPIACTL_ENIA3 12 /* Enable WPIA3 */
-#define BITP_WPIACTL_ENIA2 11 /* Enable WPIA2 */
-#define BITP_WPIACTL_INVIR23 10 /* Invert Instruction Range 23 */
-#define BITP_WPIACTL_ENIR23 9 /* Enable Instruction Range 23 */
-#define BITP_WPIACTL_ACT1 8 /* Action field for WPIA1 */
-#define BITP_WPIACTL_ACT0 7 /* Action field for WPIA0 */
-#define BITP_WPIACTL_ENCNT1 6 /* Enable Counter for WPIA1 */
-#define BITP_WPIACTL_ENCNT0 5 /* Enable Counter for WPIA0 */
-#define BITP_WPIACTL_ENIA1 4 /* Enable WPIA1 */
-#define BITP_WPIACTL_ENIA0 3 /* Enable WPIA0 */
-#define BITP_WPIACTL_INVIR01 2 /* Invert Instruction Range 01 */
-#define BITP_WPIACTL_ENIR01 1 /* Enable Instruction Range 01 */
-#define BITP_WPIACTL_PWR 0 /* Power */
-#define BITM_WPIACTL_WPAND (_ADI_MSK(0x02000000,uint32_t)) /* And Triggers */
-#define BITM_WPIACTL_ACT5 (_ADI_MSK(0x01000000,uint32_t)) /* Action field for WPIA5 */
-#define BITM_WPIACTL_ACT4 (_ADI_MSK(0x00800000,uint32_t)) /* Action field for WPIA4 */
-#define BITM_WPIACTL_ENCNT5 (_ADI_MSK(0x00400000,uint32_t)) /* Enable Counter for WPIA5 */
-#define BITM_WPIACTL_ENCNT4 (_ADI_MSK(0x00200000,uint32_t)) /* Enable Counter for WPIA4 */
-#define BITM_WPIACTL_ENIA5 (_ADI_MSK(0x00100000,uint32_t)) /* Enable WPIA5 */
-#define BITM_WPIACTL_ENIA4 (_ADI_MSK(0x00080000,uint32_t)) /* Enable WPIA4 */
-#define BITM_WPIACTL_INVIR45 (_ADI_MSK(0x00040000,uint32_t)) /* Invert Instruction Range 45 */
-#define BITM_WPIACTL_ENIR45 (_ADI_MSK(0x00020000,uint32_t)) /* Enable Instruction Range 45 */
-#define BITM_WPIACTL_ACT3 (_ADI_MSK(0x00010000,uint32_t)) /* Action field for WPIA3 */
-#define BITM_WPIACTL_ACT2 (_ADI_MSK(0x00008000,uint32_t)) /* Action field for WPIA2 */
-#define BITM_WPIACTL_ENCNT3 (_ADI_MSK(0x00004000,uint32_t)) /* Enable Counter for WPIA3 */
-#define BITM_WPIACTL_ENCNT2 (_ADI_MSK(0x00002000,uint32_t)) /* Enable Counter for WPIA2 */
-#define BITM_WPIACTL_ENIA3 (_ADI_MSK(0x00001000,uint32_t)) /* Enable WPIA3 */
-#define BITM_WPIACTL_ENIA2 (_ADI_MSK(0x00000800,uint32_t)) /* Enable WPIA2 */
-#define BITM_WPIACTL_INVIR23 (_ADI_MSK(0x00000400,uint32_t)) /* Invert Instruction Range 23 */
-#define BITM_WPIACTL_ENIR23 (_ADI_MSK(0x00000200,uint32_t)) /* Enable Instruction Range 23 */
-#define BITM_WPIACTL_ACT1 (_ADI_MSK(0x00000100,uint32_t)) /* Action field for WPIA1 */
-#define BITM_WPIACTL_ACT0 (_ADI_MSK(0x00000080,uint32_t)) /* Action field for WPIA0 */
-#define BITM_WPIACTL_ENCNT1 (_ADI_MSK(0x00000040,uint32_t)) /* Enable Counter for WPIA1 */
-#define BITM_WPIACTL_ENCNT0 (_ADI_MSK(0x00000020,uint32_t)) /* Enable Counter for WPIA0 */
-#define BITM_WPIACTL_ENIA1 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPIA1 */
-#define BITM_WPIACTL_ENIA0 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPIA0 */
-#define BITM_WPIACTL_INVIR01 (_ADI_MSK(0x00000004,uint32_t)) /* Invert Instruction Range 01 */
-#define BITM_WPIACTL_ENIR01 (_ADI_MSK(0x00000002,uint32_t)) /* Enable Instruction Range 01 */
-#define BITM_WPIACTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACNT_CNT 0 /* Count Value */
-#define BITM_WPIACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACTL_ACC1 12 /* Access type for WPDA1 */
-#define BITP_WPDACTL_SRC1 10 /* DAG Source for WPDA1 */
-#define BITP_WPDACTL_ACC0 8 /* Access type for WPDA0 */
-#define BITP_WPDACTL_SRC0 6 /* DAG Source for WPDA0 */
-#define BITP_WPDACTL_ENCNT1 5 /* Enable WPDA1 Counter */
-#define BITP_WPDACTL_ENCNT0 4 /* Enable WPDA0 Counter */
-#define BITP_WPDACTL_ENDA1 3 /* Enable WPDA1 */
-#define BITP_WPDACTL_ENDA0 2 /* Enable WPDA0 */
-#define BITP_WPDACTL_INVR 1 /* Invert Range Comparision */
-#define BITP_WPDACTL_ENR 0 /* Enable Range Comparison */
-#define BITM_WPDACTL_ACC1 (_ADI_MSK(0x00003000,uint32_t)) /* Access type for WPDA1 */
-#define BITM_WPDACTL_SRC1 (_ADI_MSK(0x00000C00,uint32_t)) /* DAG Source for WPDA1 */
-#define BITM_WPDACTL_ACC0 (_ADI_MSK(0x00000300,uint32_t)) /* Access type for WPDA0 */
-#define BITM_WPDACTL_SRC0 (_ADI_MSK(0x000000C0,uint32_t)) /* DAG Source for WPDA0 */
-#define BITM_WPDACTL_ENCNT1 (_ADI_MSK(0x00000020,uint32_t)) /* Enable WPDA1 Counter */
-#define BITM_WPDACTL_ENCNT0 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPDA0 Counter */
-#define BITM_WPDACTL_ENDA1 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPDA1 */
-#define BITM_WPDACTL_ENDA0 (_ADI_MSK(0x00000004,uint32_t)) /* Enable WPDA0 */
-#define BITM_WPDACTL_INVR (_ADI_MSK(0x00000002,uint32_t)) /* Invert Range Comparision */
-#define BITM_WPDACTL_ENR (_ADI_MSK(0x00000001,uint32_t)) /* Enable Range Comparison */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACNT_CNT 0 /* Count Value */
-#define BITM_WPDACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPSTAT_DA1 7 /* WPDA1 match */
-#define BITP_WPSTAT_DA0 6 /* WPDA0 or WPDA0:1 range match */
-#define BITP_WPSTAT_IA5 5 /* WPIA5 match */
-#define BITP_WPSTAT_IA4 4 /* WPIA4 or WPIA4:5 range match */
-#define BITP_WPSTAT_IA3 3 /* WPIA3 match */
-#define BITP_WPSTAT_IA2 2 /* WPIA2 or WPIA2:3 range match */
-#define BITP_WPSTAT_IA1 1 /* WPIA1 match */
-#define BITP_WPSTAT_IA0 0 /* WPIA0 or WPIA0:1 range match */
-#define BITM_WPSTAT_DA1 (_ADI_MSK(0x00000080,uint32_t)) /* WPDA1 match */
-#define BITM_WPSTAT_DA0 (_ADI_MSK(0x00000040,uint32_t)) /* WPDA0 or WPDA0:1 range match */
-#define BITM_WPSTAT_IA5 (_ADI_MSK(0x00000020,uint32_t)) /* WPIA5 match */
-#define BITM_WPSTAT_IA4 (_ADI_MSK(0x00000010,uint32_t)) /* WPIA4 or WPIA4:5 range match */
-#define BITM_WPSTAT_IA3 (_ADI_MSK(0x00000008,uint32_t)) /* WPIA3 match */
-#define BITM_WPSTAT_IA2 (_ADI_MSK(0x00000004,uint32_t)) /* WPIA2 or WPIA2:3 range match */
-#define BITM_WPSTAT_IA1 (_ADI_MSK(0x00000002,uint32_t)) /* WPIA1 match */
-#define BITM_WPSTAT_IA0 (_ADI_MSK(0x00000001,uint32_t)) /* WPIA0 or WPIA0:1 range match */
-
-/* ==================================================
- Performance Monitor Registers
- ================================================== */
-
-/* =========================
- PF0
- ========================= */
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter 1 */
-
-/* =========================
- PF
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PFCTL_CNT1 25 /* Count Cycles or Edges 1 */
-#define BITP_PFCTL_CNT0 24 /* Count Cycles or Edges 0 */
-#define BITP_PFCTL_MON1 16 /* Monitor 1 Events */
-#define BITP_PFCTL_ENA1 14 /* Enable Monitor 1 */
-#define BITP_PFCTL_EVENT1 13 /* Emulator or Exception Event 1 */
-#define BITP_PFCTL_MON0 5 /* Monitor 0 Events */
-#define BITP_PFCTL_ENA0 3 /* Enable Monitor 0 */
-#define BITP_PFCTL_EVENT0 2 /* Emulator or Exception Event 0 */
-#define BITP_PFCTL_PWR 0 /* Power */
-#define BITM_PFCTL_CNT1 (_ADI_MSK(0x02000000,uint32_t)) /* Count Cycles or Edges 1 */
-#define BITM_PFCTL_CNT0 (_ADI_MSK(0x01000000,uint32_t)) /* Count Cycles or Edges 0 */
-#define BITM_PFCTL_MON1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Monitor 1 Events */
-#define BITM_PFCTL_ENA1 (_ADI_MSK(0x0000C000,uint32_t)) /* Enable Monitor 1 */
-#define BITM_PFCTL_EVENT1 (_ADI_MSK(0x00002000,uint32_t)) /* Emulator or Exception Event 1 */
-#define BITM_PFCTL_MON0 (_ADI_MSK(0x00001FE0,uint32_t)) /* Monitor 0 Events */
-#define BITM_PFCTL_ENA0 (_ADI_MSK(0x00000018,uint32_t)) /* Enable Monitor 0 */
-#define BITM_PFCTL_EVENT0 (_ADI_MSK(0x00000004,uint32_t)) /* Emulator or Exception Event 0 */
-#define BITM_PFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ==================================
- DMA Alias Definitions
- ================================== */
-#define SPORT0_A_DMA_DSCPTR_NXT (REG_DMA0_DSCPTR_NXT)
-#define SPORT0_A_DMA_ADDRSTART (REG_DMA0_ADDRSTART)
-#define SPORT0_A_DMA_CFG (REG_DMA0_CFG)
-#define SPORT0_A_DMA_XCNT (REG_DMA0_XCNT)
-#define SPORT0_A_DMA_XMOD (REG_DMA0_XMOD)
-#define SPORT0_A_DMA_YCNT (REG_DMA0_YCNT)
-#define SPORT0_A_DMA_YMOD (REG_DMA0_YMOD)
-#define SPORT0_A_DMA_DSCPTR_CUR (REG_DMA0_DSCPTR_CUR)
-#define SPORT0_A_DMA_DSCPTR_PRV (REG_DMA0_DSCPTR_PRV)
-#define SPORT0_A_DMA_ADDR_CUR (REG_DMA0_ADDR_CUR)
-#define SPORT0_A_DMA_STAT (REG_DMA0_STAT)
-#define SPORT0_A_DMA_XCNT_CUR (REG_DMA0_XCNT_CUR)
-#define SPORT0_A_DMA_YCNT_CUR (REG_DMA0_YCNT_CUR)
-#define SPORT0_A_DMA_BWLCNT (REG_DMA0_BWLCNT)
-#define SPORT0_A_DMA_BWLCNT_CUR (REG_DMA0_BWLCNT_CUR)
-#define SPORT0_A_DMA_BWMCNT (REG_DMA0_BWMCNT)
-#define SPORT0_A_DMA_BWMCNT_CUR (REG_DMA0_BWMCNT_CUR)
-#define SPORT0_B_DMA_DSCPTR_NXT (REG_DMA1_DSCPTR_NXT)
-#define SPORT0_B_DMA_ADDRSTART (REG_DMA1_ADDRSTART)
-#define SPORT0_B_DMA_CFG (REG_DMA1_CFG)
-#define SPORT0_B_DMA_XCNT (REG_DMA1_XCNT)
-#define SPORT0_B_DMA_XMOD (REG_DMA1_XMOD)
-#define SPORT0_B_DMA_YCNT (REG_DMA1_YCNT)
-#define SPORT0_B_DMA_YMOD (REG_DMA1_YMOD)
-#define SPORT0_B_DMA_DSCPTR_CUR (REG_DMA1_DSCPTR_CUR)
-#define SPORT0_B_DMA_DSCPTR_PRV (REG_DMA1_DSCPTR_PRV)
-#define SPORT0_B_DMA_ADDR_CUR (REG_DMA1_ADDR_CUR)
-#define SPORT0_B_DMA_STAT (REG_DMA1_STAT)
-#define SPORT0_B_DMA_XCNT_CUR (REG_DMA1_XCNT_CUR)
-#define SPORT0_B_DMA_YCNT_CUR (REG_DMA1_YCNT_CUR)
-#define SPORT0_B_DMA_BWLCNT (REG_DMA1_BWLCNT)
-#define SPORT0_B_DMA_BWLCNT_CUR (REG_DMA1_BWLCNT_CUR)
-#define SPORT0_B_DMA_BWMCNT (REG_DMA1_BWMCNT)
-#define SPORT0_B_DMA_BWMCNT_CUR (REG_DMA1_BWMCNT_CUR)
-#define SPORT1_A_DMA_DSCPTR_NXT (REG_DMA2_DSCPTR_NXT)
-#define SPORT1_A_DMA_ADDRSTART (REG_DMA2_ADDRSTART)
-#define SPORT1_A_DMA_CFG (REG_DMA2_CFG)
-#define SPORT1_A_DMA_XCNT (REG_DMA2_XCNT)
-#define SPORT1_A_DMA_XMOD (REG_DMA2_XMOD)
-#define SPORT1_A_DMA_YCNT (REG_DMA2_YCNT)
-#define SPORT1_A_DMA_YMOD (REG_DMA2_YMOD)
-#define SPORT1_A_DMA_DSCPTR_CUR (REG_DMA2_DSCPTR_CUR)
-#define SPORT1_A_DMA_DSCPTR_PRV (REG_DMA2_DSCPTR_PRV)
-#define SPORT1_A_DMA_ADDR_CUR (REG_DMA2_ADDR_CUR)
-#define SPORT1_A_DMA_STAT (REG_DMA2_STAT)
-#define SPORT1_A_DMA_XCNT_CUR (REG_DMA2_XCNT_CUR)
-#define SPORT1_A_DMA_YCNT_CUR (REG_DMA2_YCNT_CUR)
-#define SPORT1_A_DMA_BWLCNT (REG_DMA2_BWLCNT)
-#define SPORT1_A_DMA_BWLCNT_CUR (REG_DMA2_BWLCNT_CUR)
-#define SPORT1_A_DMA_BWMCNT (REG_DMA2_BWMCNT)
-#define SPORT1_A_DMA_BWMCNT_CUR (REG_DMA2_BWMCNT_CUR)
-#define SPORT1_B_DMA_DSCPTR_NXT (REG_DMA3_DSCPTR_NXT)
-#define SPORT1_B_DMA_ADDRSTART (REG_DMA3_ADDRSTART)
-#define SPORT1_B_DMA_CFG (REG_DMA3_CFG)
-#define SPORT1_B_DMA_XCNT (REG_DMA3_XCNT)
-#define SPORT1_B_DMA_XMOD (REG_DMA3_XMOD)
-#define SPORT1_B_DMA_YCNT (REG_DMA3_YCNT)
-#define SPORT1_B_DMA_YMOD (REG_DMA3_YMOD)
-#define SPORT1_B_DMA_DSCPTR_CUR (REG_DMA3_DSCPTR_CUR)
-#define SPORT1_B_DMA_DSCPTR_PRV (REG_DMA3_DSCPTR_PRV)
-#define SPORT1_B_DMA_ADDR_CUR (REG_DMA3_ADDR_CUR)
-#define SPORT1_B_DMA_STAT (REG_DMA3_STAT)
-#define SPORT1_B_DMA_XCNT_CUR (REG_DMA3_XCNT_CUR)
-#define SPORT1_B_DMA_YCNT_CUR (REG_DMA3_YCNT_CUR)
-#define SPORT1_B_DMA_BWLCNT (REG_DMA3_BWLCNT)
-#define SPORT1_B_DMA_BWLCNT_CUR (REG_DMA3_BWLCNT_CUR)
-#define SPORT1_B_DMA_BWMCNT (REG_DMA3_BWMCNT)
-#define SPORT1_B_DMA_BWMCNT_CUR (REG_DMA3_BWMCNT_CUR)
-#define SPORT2_A_DMA_DSCPTR_NXT (REG_DMA4_DSCPTR_NXT)
-#define SPORT2_A_DMA_ADDRSTART (REG_DMA4_ADDRSTART)
-#define SPORT2_A_DMA_CFG (REG_DMA4_CFG)
-#define SPORT2_A_DMA_XCNT (REG_DMA4_XCNT)
-#define SPORT2_A_DMA_XMOD (REG_DMA4_XMOD)
-#define SPORT2_A_DMA_YCNT (REG_DMA4_YCNT)
-#define SPORT2_A_DMA_YMOD (REG_DMA4_YMOD)
-#define SPORT2_A_DMA_DSCPTR_CUR (REG_DMA4_DSCPTR_CUR)
-#define SPORT2_A_DMA_DSCPTR_PRV (REG_DMA4_DSCPTR_PRV)
-#define SPORT2_A_DMA_ADDR_CUR (REG_DMA4_ADDR_CUR)
-#define SPORT2_A_DMA_STAT (REG_DMA4_STAT)
-#define SPORT2_A_DMA_XCNT_CUR (REG_DMA4_XCNT_CUR)
-#define SPORT2_A_DMA_YCNT_CUR (REG_DMA4_YCNT_CUR)
-#define SPORT2_A_DMA_BWLCNT (REG_DMA4_BWLCNT)
-#define SPORT2_A_DMA_BWLCNT_CUR (REG_DMA4_BWLCNT_CUR)
-#define SPORT2_A_DMA_BWMCNT (REG_DMA4_BWMCNT)
-#define SPORT2_A_DMA_BWMCNT_CUR (REG_DMA4_BWMCNT_CUR)
-#define SPORT2_B_DMA_DSCPTR_NXT (REG_DMA5_DSCPTR_NXT)
-#define SPORT2_B_DMA_ADDRSTART (REG_DMA5_ADDRSTART)
-#define SPORT2_B_DMA_CFG (REG_DMA5_CFG)
-#define SPORT2_B_DMA_XCNT (REG_DMA5_XCNT)
-#define SPORT2_B_DMA_XMOD (REG_DMA5_XMOD)
-#define SPORT2_B_DMA_YCNT (REG_DMA5_YCNT)
-#define SPORT2_B_DMA_YMOD (REG_DMA5_YMOD)
-#define SPORT2_B_DMA_DSCPTR_CUR (REG_DMA5_DSCPTR_CUR)
-#define SPORT2_B_DMA_DSCPTR_PRV (REG_DMA5_DSCPTR_PRV)
-#define SPORT2_B_DMA_ADDR_CUR (REG_DMA5_ADDR_CUR)
-#define SPORT2_B_DMA_STAT (REG_DMA5_STAT)
-#define SPORT2_B_DMA_XCNT_CUR (REG_DMA5_XCNT_CUR)
-#define SPORT2_B_DMA_YCNT_CUR (REG_DMA5_YCNT_CUR)
-#define SPORT2_B_DMA_BWLCNT (REG_DMA5_BWLCNT)
-#define SPORT2_B_DMA_BWLCNT_CUR (REG_DMA5_BWLCNT_CUR)
-#define SPORT2_B_DMA_BWMCNT (REG_DMA5_BWMCNT)
-#define SPORT2_B_DMA_BWMCNT_CUR (REG_DMA5_BWMCNT_CUR)
-#define SPI0_TXDMA_DSCPTR_NXT (REG_DMA6_DSCPTR_NXT)
-#define SPI0_TXDMA_ADDRSTART (REG_DMA6_ADDRSTART)
-#define SPI0_TXDMA_CFG (REG_DMA6_CFG)
-#define SPI0_TXDMA_XCNT (REG_DMA6_XCNT)
-#define SPI0_TXDMA_XMOD (REG_DMA6_XMOD)
-#define SPI0_TXDMA_YCNT (REG_DMA6_YCNT)
-#define SPI0_TXDMA_YMOD (REG_DMA6_YMOD)
-#define SPI0_TXDMA_DSCPTR_CUR (REG_DMA6_DSCPTR_CUR)
-#define SPI0_TXDMA_DSCPTR_PRV (REG_DMA6_DSCPTR_PRV)
-#define SPI0_TXDMA_ADDR_CUR (REG_DMA6_ADDR_CUR)
-#define SPI0_TXDMA_STAT (REG_DMA6_STAT)
-#define SPI0_TXDMA_XCNT_CUR (REG_DMA6_XCNT_CUR)
-#define SPI0_TXDMA_YCNT_CUR (REG_DMA6_YCNT_CUR)
-#define SPI0_TXDMA_BWLCNT (REG_DMA6_BWLCNT)
-#define SPI0_TXDMA_BWLCNT_CUR (REG_DMA6_BWLCNT_CUR)
-#define SPI0_TXDMA_BWMCNT (REG_DMA6_BWMCNT)
-#define SPI0_TXDMA_BWMCNT_CUR (REG_DMA6_BWMCNT_CUR)
-#define SPI0_RXDMA_DSCPTR_NXT (REG_DMA7_DSCPTR_NXT)
-#define SPI0_RXDMA_ADDRSTART (REG_DMA7_ADDRSTART)
-#define SPI0_RXDMA_CFG (REG_DMA7_CFG)
-#define SPI0_RXDMA_XCNT (REG_DMA7_XCNT)
-#define SPI0_RXDMA_XMOD (REG_DMA7_XMOD)
-#define SPI0_RXDMA_YCNT (REG_DMA7_YCNT)
-#define SPI0_RXDMA_YMOD (REG_DMA7_YMOD)
-#define SPI0_RXDMA_DSCPTR_CUR (REG_DMA7_DSCPTR_CUR)
-#define SPI0_RXDMA_DSCPTR_PRV (REG_DMA7_DSCPTR_PRV)
-#define SPI0_RXDMA_ADDR_CUR (REG_DMA7_ADDR_CUR)
-#define SPI0_RXDMA_STAT (REG_DMA7_STAT)
-#define SPI0_RXDMA_XCNT_CUR (REG_DMA7_XCNT_CUR)
-#define SPI0_RXDMA_YCNT_CUR (REG_DMA7_YCNT_CUR)
-#define SPI0_RXDMA_BWLCNT (REG_DMA7_BWLCNT)
-#define SPI0_RXDMA_BWLCNT_CUR (REG_DMA7_BWLCNT_CUR)
-#define SPI0_RXDMA_BWMCNT (REG_DMA7_BWMCNT)
-#define SPI0_RXDMA_BWMCNT_CUR (REG_DMA7_BWMCNT_CUR)
-#define SPI1_TXDMA_DSCPTR_NXT (REG_DMA8_DSCPTR_NXT)
-#define SPI1_TXDMA_ADDRSTART (REG_DMA8_ADDRSTART)
-#define SPI1_TXDMA_CFG (REG_DMA8_CFG)
-#define SPI1_TXDMA_XCNT (REG_DMA8_XCNT)
-#define SPI1_TXDMA_XMOD (REG_DMA8_XMOD)
-#define SPI1_TXDMA_YCNT (REG_DMA8_YCNT)
-#define SPI1_TXDMA_YMOD (REG_DMA8_YMOD)
-#define SPI1_TXDMA_DSCPTR_CUR (REG_DMA8_DSCPTR_CUR)
-#define SPI1_TXDMA_DSCPTR_PRV (REG_DMA8_DSCPTR_PRV)
-#define SPI1_TXDMA_ADDR_CUR (REG_DMA8_ADDR_CUR)
-#define SPI1_TXDMA_STAT (REG_DMA8_STAT)
-#define SPI1_TXDMA_XCNT_CUR (REG_DMA8_XCNT_CUR)
-#define SPI1_TXDMA_YCNT_CUR (REG_DMA8_YCNT_CUR)
-#define SPI1_TXDMA_BWLCNT (REG_DMA8_BWLCNT)
-#define SPI1_TXDMA_BWLCNT_CUR (REG_DMA8_BWLCNT_CUR)
-#define SPI1_TXDMA_BWMCNT (REG_DMA8_BWMCNT)
-#define SPI1_TXDMA_BWMCNT_CUR (REG_DMA8_BWMCNT_CUR)
-#define SPI1_RXDMA_DSCPTR_NXT (REG_DMA9_DSCPTR_NXT)
-#define SPI1_RXDMA_ADDRSTART (REG_DMA9_ADDRSTART)
-#define SPI1_RXDMA_CFG (REG_DMA9_CFG)
-#define SPI1_RXDMA_XCNT (REG_DMA9_XCNT)
-#define SPI1_RXDMA_XMOD (REG_DMA9_XMOD)
-#define SPI1_RXDMA_YCNT (REG_DMA9_YCNT)
-#define SPI1_RXDMA_YMOD (REG_DMA9_YMOD)
-#define SPI1_RXDMA_DSCPTR_CUR (REG_DMA9_DSCPTR_CUR)
-#define SPI1_RXDMA_DSCPTR_PRV (REG_DMA9_DSCPTR_PRV)
-#define SPI1_RXDMA_ADDR_CUR (REG_DMA9_ADDR_CUR)
-#define SPI1_RXDMA_STAT (REG_DMA9_STAT)
-#define SPI1_RXDMA_XCNT_CUR (REG_DMA9_XCNT_CUR)
-#define SPI1_RXDMA_YCNT_CUR (REG_DMA9_YCNT_CUR)
-#define SPI1_RXDMA_BWLCNT (REG_DMA9_BWLCNT)
-#define SPI1_RXDMA_BWLCNT_CUR (REG_DMA9_BWLCNT_CUR)
-#define SPI1_RXDMA_BWMCNT (REG_DMA9_BWMCNT)
-#define SPI1_RXDMA_BWMCNT_CUR (REG_DMA9_BWMCNT_CUR)
-#define RSI0_DMA_DSCPTR_NXT (REG_DMA10_DSCPTR_NXT)
-#define RSI0_DMA_ADDRSTART (REG_DMA10_ADDRSTART)
-#define RSI0_DMA_CFG (REG_DMA10_CFG)
-#define RSI0_DMA_XCNT (REG_DMA10_XCNT)
-#define RSI0_DMA_XMOD (REG_DMA10_XMOD)
-#define RSI0_DMA_YCNT (REG_DMA10_YCNT)
-#define RSI0_DMA_YMOD (REG_DMA10_YMOD)
-#define RSI0_DMA_DSCPTR_CUR (REG_DMA10_DSCPTR_CUR)
-#define RSI0_DMA_DSCPTR_PRV (REG_DMA10_DSCPTR_PRV)
-#define RSI0_DMA_ADDR_CUR (REG_DMA10_ADDR_CUR)
-#define RSI0_DMA_STAT (REG_DMA10_STAT)
-#define RSI0_DMA_XCNT_CUR (REG_DMA10_XCNT_CUR)
-#define RSI0_DMA_YCNT_CUR (REG_DMA10_YCNT_CUR)
-#define RSI0_DMA_BWLCNT (REG_DMA10_BWLCNT)
-#define RSI0_DMA_BWLCNT_CUR (REG_DMA10_BWLCNT_CUR)
-#define RSI0_DMA_BWMCNT (REG_DMA10_BWMCNT)
-#define RSI0_DMA_BWMCNT_CUR (REG_DMA10_BWMCNT_CUR)
-#define SDU0_DMA_DSCPTR_NXT (REG_DMA11_DSCPTR_NXT)
-#define SDU0_DMA_ADDRSTART (REG_DMA11_ADDRSTART)
-#define SDU0_DMA_CFG (REG_DMA11_CFG)
-#define SDU0_DMA_XCNT (REG_DMA11_XCNT)
-#define SDU0_DMA_XMOD (REG_DMA11_XMOD)
-#define SDU0_DMA_YCNT (REG_DMA11_YCNT)
-#define SDU0_DMA_YMOD (REG_DMA11_YMOD)
-#define SDU0_DMA_DSCPTR_CUR (REG_DMA11_DSCPTR_CUR)
-#define SDU0_DMA_DSCPTR_PRV (REG_DMA11_DSCPTR_PRV)
-#define SDU0_DMA_ADDR_CUR (REG_DMA11_ADDR_CUR)
-#define SDU0_DMA_STAT (REG_DMA11_STAT)
-#define SDU0_DMA_XCNT_CUR (REG_DMA11_XCNT_CUR)
-#define SDU0_DMA_YCNT_CUR (REG_DMA11_YCNT_CUR)
-#define SDU0_DMA_BWLCNT (REG_DMA11_BWLCNT)
-#define SDU0_DMA_BWLCNT_CUR (REG_DMA11_BWLCNT_CUR)
-#define SDU0_DMA_BWMCNT (REG_DMA11_BWMCNT)
-#define SDU0_DMA_BWMCNT_CUR (REG_DMA11_BWMCNT_CUR)
-#define LP0_DMA_DSCPTR_NXT (REG_DMA13_DSCPTR_NXT)
-#define LP0_DMA_ADDRSTART (REG_DMA13_ADDRSTART)
-#define LP0_DMA_CFG (REG_DMA13_CFG)
-#define LP0_DMA_XCNT (REG_DMA13_XCNT)
-#define LP0_DMA_XMOD (REG_DMA13_XMOD)
-#define LP0_DMA_YCNT (REG_DMA13_YCNT)
-#define LP0_DMA_YMOD (REG_DMA13_YMOD)
-#define LP0_DMA_DSCPTR_CUR (REG_DMA13_DSCPTR_CUR)
-#define LP0_DMA_DSCPTR_PRV (REG_DMA13_DSCPTR_PRV)
-#define LP0_DMA_ADDR_CUR (REG_DMA13_ADDR_CUR)
-#define LP0_DMA_STAT (REG_DMA13_STAT)
-#define LP0_DMA_XCNT_CUR (REG_DMA13_XCNT_CUR)
-#define LP0_DMA_YCNT_CUR (REG_DMA13_YCNT_CUR)
-#define LP0_DMA_BWLCNT (REG_DMA13_BWLCNT)
-#define LP0_DMA_BWLCNT_CUR (REG_DMA13_BWLCNT_CUR)
-#define LP0_DMA_BWMCNT (REG_DMA13_BWMCNT)
-#define LP0_DMA_BWMCNT_CUR (REG_DMA13_BWMCNT_CUR)
-#define LP1_DMA_DSCPTR_NXT (REG_DMA14_DSCPTR_NXT)
-#define LP1_DMA_ADDRSTART (REG_DMA14_ADDRSTART)
-#define LP1_DMA_CFG (REG_DMA14_CFG)
-#define LP1_DMA_XCNT (REG_DMA14_XCNT)
-#define LP1_DMA_XMOD (REG_DMA14_XMOD)
-#define LP1_DMA_YCNT (REG_DMA14_YCNT)
-#define LP1_DMA_YMOD (REG_DMA14_YMOD)
-#define LP1_DMA_DSCPTR_CUR (REG_DMA14_DSCPTR_CUR)
-#define LP1_DMA_DSCPTR_PRV (REG_DMA14_DSCPTR_PRV)
-#define LP1_DMA_ADDR_CUR (REG_DMA14_ADDR_CUR)
-#define LP1_DMA_STAT (REG_DMA14_STAT)
-#define LP1_DMA_XCNT_CUR (REG_DMA14_XCNT_CUR)
-#define LP1_DMA_YCNT_CUR (REG_DMA14_YCNT_CUR)
-#define LP1_DMA_BWLCNT (REG_DMA14_BWLCNT)
-#define LP1_DMA_BWLCNT_CUR (REG_DMA14_BWLCNT_CUR)
-#define LP1_DMA_BWMCNT (REG_DMA14_BWMCNT)
-#define LP1_DMA_BWMCNT_CUR (REG_DMA14_BWMCNT_CUR)
-#define LP2_DMA_DSCPTR_NXT (REG_DMA15_DSCPTR_NXT)
-#define LP2_DMA_ADDRSTART (REG_DMA15_ADDRSTART)
-#define LP2_DMA_CFG (REG_DMA15_CFG)
-#define LP2_DMA_XCNT (REG_DMA15_XCNT)
-#define LP2_DMA_XMOD (REG_DMA15_XMOD)
-#define LP2_DMA_YCNT (REG_DMA15_YCNT)
-#define LP2_DMA_YMOD (REG_DMA15_YMOD)
-#define LP2_DMA_DSCPTR_CUR (REG_DMA15_DSCPTR_CUR)
-#define LP2_DMA_DSCPTR_PRV (REG_DMA15_DSCPTR_PRV)
-#define LP2_DMA_ADDR_CUR (REG_DMA15_ADDR_CUR)
-#define LP2_DMA_STAT (REG_DMA15_STAT)
-#define LP2_DMA_XCNT_CUR (REG_DMA15_XCNT_CUR)
-#define LP2_DMA_YCNT_CUR (REG_DMA15_YCNT_CUR)
-#define LP2_DMA_BWLCNT (REG_DMA15_BWLCNT)
-#define LP2_DMA_BWLCNT_CUR (REG_DMA15_BWLCNT_CUR)
-#define LP2_DMA_BWMCNT (REG_DMA15_BWMCNT)
-#define LP2_DMA_BWMCNT_CUR (REG_DMA15_BWMCNT_CUR)
-#define LP3_DMA_DSCPTR_NXT (REG_DMA16_DSCPTR_NXT)
-#define LP3_DMA_ADDRSTART (REG_DMA16_ADDRSTART)
-#define LP3_DMA_CFG (REG_DMA16_CFG)
-#define LP3_DMA_XCNT (REG_DMA16_XCNT)
-#define LP3_DMA_XMOD (REG_DMA16_XMOD)
-#define LP3_DMA_YCNT (REG_DMA16_YCNT)
-#define LP3_DMA_YMOD (REG_DMA16_YMOD)
-#define LP3_DMA_DSCPTR_CUR (REG_DMA16_DSCPTR_CUR)
-#define LP3_DMA_DSCPTR_PRV (REG_DMA16_DSCPTR_PRV)
-#define LP3_DMA_ADDR_CUR (REG_DMA16_ADDR_CUR)
-#define LP3_DMA_STAT (REG_DMA16_STAT)
-#define LP3_DMA_XCNT_CUR (REG_DMA16_XCNT_CUR)
-#define LP3_DMA_YCNT_CUR (REG_DMA16_YCNT_CUR)
-#define LP3_DMA_BWLCNT (REG_DMA16_BWLCNT)
-#define LP3_DMA_BWLCNT_CUR (REG_DMA16_BWLCNT_CUR)
-#define LP3_DMA_BWMCNT (REG_DMA16_BWMCNT)
-#define LP3_DMA_BWMCNT_CUR (REG_DMA16_BWMCNT_CUR)
-#define UART0_TXDMA_DSCPTR_NXT (REG_DMA17_DSCPTR_NXT)
-#define UART0_TXDMA_ADDRSTART (REG_DMA17_ADDRSTART)
-#define UART0_TXDMA_CFG (REG_DMA17_CFG)
-#define UART0_TXDMA_XCNT (REG_DMA17_XCNT)
-#define UART0_TXDMA_XMOD (REG_DMA17_XMOD)
-#define UART0_TXDMA_YCNT (REG_DMA17_YCNT)
-#define UART0_TXDMA_YMOD (REG_DMA17_YMOD)
-#define UART0_TXDMA_DSCPTR_CUR (REG_DMA17_DSCPTR_CUR)
-#define UART0_TXDMA_DSCPTR_PRV (REG_DMA17_DSCPTR_PRV)
-#define UART0_TXDMA_ADDR_CUR (REG_DMA17_ADDR_CUR)
-#define UART0_TXDMA_STAT (REG_DMA17_STAT)
-#define UART0_TXDMA_XCNT_CUR (REG_DMA17_XCNT_CUR)
-#define UART0_TXDMA_YCNT_CUR (REG_DMA17_YCNT_CUR)
-#define UART0_TXDMA_BWLCNT (REG_DMA17_BWLCNT)
-#define UART0_TXDMA_BWLCNT_CUR (REG_DMA17_BWLCNT_CUR)
-#define UART0_TXDMA_BWMCNT (REG_DMA17_BWMCNT)
-#define UART0_TXDMA_BWMCNT_CUR (REG_DMA17_BWMCNT_CUR)
-#define UART0_RXDMA_DSCPTR_NXT (REG_DMA18_DSCPTR_NXT)
-#define UART0_RXDMA_ADDRSTART (REG_DMA18_ADDRSTART)
-#define UART0_RXDMA_CFG (REG_DMA18_CFG)
-#define UART0_RXDMA_XCNT (REG_DMA18_XCNT)
-#define UART0_RXDMA_XMOD (REG_DMA18_XMOD)
-#define UART0_RXDMA_YCNT (REG_DMA18_YCNT)
-#define UART0_RXDMA_YMOD (REG_DMA18_YMOD)
-#define UART0_RXDMA_DSCPTR_CUR (REG_DMA18_DSCPTR_CUR)
-#define UART0_RXDMA_DSCPTR_PRV (REG_DMA18_DSCPTR_PRV)
-#define UART0_RXDMA_ADDR_CUR (REG_DMA18_ADDR_CUR)
-#define UART0_RXDMA_STAT (REG_DMA18_STAT)
-#define UART0_RXDMA_XCNT_CUR (REG_DMA18_XCNT_CUR)
-#define UART0_RXDMA_YCNT_CUR (REG_DMA18_YCNT_CUR)
-#define UART0_RXDMA_BWLCNT (REG_DMA18_BWLCNT)
-#define UART0_RXDMA_BWLCNT_CUR (REG_DMA18_BWLCNT_CUR)
-#define UART0_RXDMA_BWMCNT (REG_DMA18_BWMCNT)
-#define UART0_RXDMA_BWMCNT_CUR (REG_DMA18_BWMCNT_CUR)
-#define UART1_TXDMA_DSCPTR_NXT (REG_DMA19_DSCPTR_NXT)
-#define UART1_TXDMA_ADDRSTART (REG_DMA19_ADDRSTART)
-#define UART1_TXDMA_CFG (REG_DMA19_CFG)
-#define UART1_TXDMA_XCNT (REG_DMA19_XCNT)
-#define UART1_TXDMA_XMOD (REG_DMA19_XMOD)
-#define UART1_TXDMA_YCNT (REG_DMA19_YCNT)
-#define UART1_TXDMA_YMOD (REG_DMA19_YMOD)
-#define UART1_TXDMA_DSCPTR_CUR (REG_DMA19_DSCPTR_CUR)
-#define UART1_TXDMA_DSCPTR_PRV (REG_DMA19_DSCPTR_PRV)
-#define UART1_TXDMA_ADDR_CUR (REG_DMA19_ADDR_CUR)
-#define UART1_TXDMA_STAT (REG_DMA19_STAT)
-#define UART1_TXDMA_XCNT_CUR (REG_DMA19_XCNT_CUR)
-#define UART1_TXDMA_YCNT_CUR (REG_DMA19_YCNT_CUR)
-#define UART1_TXDMA_BWLCNT (REG_DMA19_BWLCNT)
-#define UART1_TXDMA_BWLCNT_CUR (REG_DMA19_BWLCNT_CUR)
-#define UART1_TXDMA_BWMCNT (REG_DMA19_BWMCNT)
-#define UART1_TXDMA_BWMCNT_CUR (REG_DMA19_BWMCNT_CUR)
-#define UART1_RXDMA_DSCPTR_NXT (REG_DMA20_DSCPTR_NXT)
-#define UART1_RXDMA_ADDRSTART (REG_DMA20_ADDRSTART)
-#define UART1_RXDMA_CFG (REG_DMA20_CFG)
-#define UART1_RXDMA_XCNT (REG_DMA20_XCNT)
-#define UART1_RXDMA_XMOD (REG_DMA20_XMOD)
-#define UART1_RXDMA_YCNT (REG_DMA20_YCNT)
-#define UART1_RXDMA_YMOD (REG_DMA20_YMOD)
-#define UART1_RXDMA_DSCPTR_CUR (REG_DMA20_DSCPTR_CUR)
-#define UART1_RXDMA_DSCPTR_PRV (REG_DMA20_DSCPTR_PRV)
-#define UART1_RXDMA_ADDR_CUR (REG_DMA20_ADDR_CUR)
-#define UART1_RXDMA_STAT (REG_DMA20_STAT)
-#define UART1_RXDMA_XCNT_CUR (REG_DMA20_XCNT_CUR)
-#define UART1_RXDMA_YCNT_CUR (REG_DMA20_YCNT_CUR)
-#define UART1_RXDMA_BWLCNT (REG_DMA20_BWLCNT)
-#define UART1_RXDMA_BWLCNT_CUR (REG_DMA20_BWLCNT_CUR)
-#define UART1_RXDMA_BWMCNT (REG_DMA20_BWMCNT)
-#define UART1_RXDMA_BWMCNT_CUR (REG_DMA20_BWMCNT_CUR)
-#define MDMA0_SRC_DSCPTR_NXT (REG_DMA21_DSCPTR_NXT)
-#define MDMA0_SRC_ADDRSTART (REG_DMA21_ADDRSTART)
-#define MDMA0_SRC_CFG (REG_DMA21_CFG)
-#define MDMA0_SRC_XCNT (REG_DMA21_XCNT)
-#define MDMA0_SRC_XMOD (REG_DMA21_XMOD)
-#define MDMA0_SRC_YCNT (REG_DMA21_YCNT)
-#define MDMA0_SRC_YMOD (REG_DMA21_YMOD)
-#define MDMA0_SRC_DSCPTR_CUR (REG_DMA21_DSCPTR_CUR)
-#define MDMA0_SRC_DSCPTR_PRV (REG_DMA21_DSCPTR_PRV)
-#define MDMA0_SRC_ADDR_CUR (REG_DMA21_ADDR_CUR)
-#define MDMA0_SRC_STAT (REG_DMA21_STAT)
-#define MDMA0_SRC_XCNT_CUR (REG_DMA21_XCNT_CUR)
-#define MDMA0_SRC_YCNT_CUR (REG_DMA21_YCNT_CUR)
-#define MDMA0_SRC_BWLCNT (REG_DMA21_BWLCNT)
-#define MDMA0_SRC_BWLCNT_CUR (REG_DMA21_BWLCNT_CUR)
-#define MDMA0_SRC_BWMCNT (REG_DMA21_BWMCNT)
-#define MDMA0_SRC_BWMCNT_CUR (REG_DMA21_BWMCNT_CUR)
-#define MDMA0_DST_DSCPTR_NXT (REG_DMA22_DSCPTR_NXT)
-#define MDMA0_DST_ADDRSTART (REG_DMA22_ADDRSTART)
-#define MDMA0_DST_CFG (REG_DMA22_CFG)
-#define MDMA0_DST_XCNT (REG_DMA22_XCNT)
-#define MDMA0_DST_XMOD (REG_DMA22_XMOD)
-#define MDMA0_DST_YCNT (REG_DMA22_YCNT)
-#define MDMA0_DST_YMOD (REG_DMA22_YMOD)
-#define MDMA0_DST_DSCPTR_CUR (REG_DMA22_DSCPTR_CUR)
-#define MDMA0_DST_DSCPTR_PRV (REG_DMA22_DSCPTR_PRV)
-#define MDMA0_DST_ADDR_CUR (REG_DMA22_ADDR_CUR)
-#define MDMA0_DST_STAT (REG_DMA22_STAT)
-#define MDMA0_DST_XCNT_CUR (REG_DMA22_XCNT_CUR)
-#define MDMA0_DST_YCNT_CUR (REG_DMA22_YCNT_CUR)
-#define MDMA0_DST_BWLCNT (REG_DMA22_BWLCNT)
-#define MDMA0_DST_BWLCNT_CUR (REG_DMA22_BWLCNT_CUR)
-#define MDMA0_DST_BWMCNT (REG_DMA22_BWMCNT)
-#define MDMA0_DST_BWMCNT_CUR (REG_DMA22_BWMCNT_CUR)
-#define MDMA1_SRC_DSCPTR_NXT (REG_DMA23_DSCPTR_NXT)
-#define MDMA1_SRC_ADDRSTART (REG_DMA23_ADDRSTART)
-#define MDMA1_SRC_CFG (REG_DMA23_CFG)
-#define MDMA1_SRC_XCNT (REG_DMA23_XCNT)
-#define MDMA1_SRC_XMOD (REG_DMA23_XMOD)
-#define MDMA1_SRC_YCNT (REG_DMA23_YCNT)
-#define MDMA1_SRC_YMOD (REG_DMA23_YMOD)
-#define MDMA1_SRC_DSCPTR_CUR (REG_DMA23_DSCPTR_CUR)
-#define MDMA1_SRC_DSCPTR_PRV (REG_DMA23_DSCPTR_PRV)
-#define MDMA1_SRC_ADDR_CUR (REG_DMA23_ADDR_CUR)
-#define MDMA1_SRC_STAT (REG_DMA23_STAT)
-#define MDMA1_SRC_XCNT_CUR (REG_DMA23_XCNT_CUR)
-#define MDMA1_SRC_YCNT_CUR (REG_DMA23_YCNT_CUR)
-#define MDMA1_SRC_BWLCNT (REG_DMA23_BWLCNT)
-#define MDMA1_SRC_BWLCNT_CUR (REG_DMA23_BWLCNT_CUR)
-#define MDMA1_SRC_BWMCNT (REG_DMA23_BWMCNT)
-#define MDMA1_SRC_BWMCNT_CUR (REG_DMA23_BWMCNT_CUR)
-#define MDMA1_DST_DSCPTR_NXT (REG_DMA24_DSCPTR_NXT)
-#define MDMA1_DST_ADDRSTART (REG_DMA24_ADDRSTART)
-#define MDMA1_DST_CFG (REG_DMA24_CFG)
-#define MDMA1_DST_XCNT (REG_DMA24_XCNT)
-#define MDMA1_DST_XMOD (REG_DMA24_XMOD)
-#define MDMA1_DST_YCNT (REG_DMA24_YCNT)
-#define MDMA1_DST_YMOD (REG_DMA24_YMOD)
-#define MDMA1_DST_DSCPTR_CUR (REG_DMA24_DSCPTR_CUR)
-#define MDMA1_DST_DSCPTR_PRV (REG_DMA24_DSCPTR_PRV)
-#define MDMA1_DST_ADDR_CUR (REG_DMA24_ADDR_CUR)
-#define MDMA1_DST_STAT (REG_DMA24_STAT)
-#define MDMA1_DST_XCNT_CUR (REG_DMA24_XCNT_CUR)
-#define MDMA1_DST_YCNT_CUR (REG_DMA24_YCNT_CUR)
-#define MDMA1_DST_BWLCNT (REG_DMA24_BWLCNT)
-#define MDMA1_DST_BWLCNT_CUR (REG_DMA24_BWLCNT_CUR)
-#define MDMA1_DST_BWMCNT (REG_DMA24_BWMCNT)
-#define MDMA1_DST_BWMCNT_CUR (REG_DMA24_BWMCNT_CUR)
-#define MDMA2_SRC_DSCPTR_NXT (REG_DMA25_DSCPTR_NXT)
-#define MDMA2_SRC_ADDRSTART (REG_DMA25_ADDRSTART)
-#define MDMA2_SRC_CFG (REG_DMA25_CFG)
-#define MDMA2_SRC_XCNT (REG_DMA25_XCNT)
-#define MDMA2_SRC_XMOD (REG_DMA25_XMOD)
-#define MDMA2_SRC_YCNT (REG_DMA25_YCNT)
-#define MDMA2_SRC_YMOD (REG_DMA25_YMOD)
-#define MDMA2_SRC_DSCPTR_CUR (REG_DMA25_DSCPTR_CUR)
-#define MDMA2_SRC_DSCPTR_PRV (REG_DMA25_DSCPTR_PRV)
-#define MDMA2_SRC_ADDR_CUR (REG_DMA25_ADDR_CUR)
-#define MDMA2_SRC_STAT (REG_DMA25_STAT)
-#define MDMA2_SRC_XCNT_CUR (REG_DMA25_XCNT_CUR)
-#define MDMA2_SRC_YCNT_CUR (REG_DMA25_YCNT_CUR)
-#define MDMA2_SRC_BWLCNT (REG_DMA25_BWLCNT)
-#define MDMA2_SRC_BWLCNT_CUR (REG_DMA25_BWLCNT_CUR)
-#define MDMA2_SRC_BWMCNT (REG_DMA25_BWMCNT)
-#define MDMA2_SRC_BWMCNT_CUR (REG_DMA25_BWMCNT_CUR)
-#define MDMA2_DST_DSCPTR_NXT (REG_DMA26_DSCPTR_NXT)
-#define MDMA2_DST_ADDRSTART (REG_DMA26_ADDRSTART)
-#define MDMA2_DST_CFG (REG_DMA26_CFG)
-#define MDMA2_DST_XCNT (REG_DMA26_XCNT)
-#define MDMA2_DST_XMOD (REG_DMA26_XMOD)
-#define MDMA2_DST_YCNT (REG_DMA26_YCNT)
-#define MDMA2_DST_YMOD (REG_DMA26_YMOD)
-#define MDMA2_DST_DSCPTR_CUR (REG_DMA26_DSCPTR_CUR)
-#define MDMA2_DST_DSCPTR_PRV (REG_DMA26_DSCPTR_PRV)
-#define MDMA2_DST_ADDR_CUR (REG_DMA26_ADDR_CUR)
-#define MDMA2_DST_STAT (REG_DMA26_STAT)
-#define MDMA2_DST_XCNT_CUR (REG_DMA26_XCNT_CUR)
-#define MDMA2_DST_YCNT_CUR (REG_DMA26_YCNT_CUR)
-#define MDMA2_DST_BWLCNT (REG_DMA26_BWLCNT)
-#define MDMA2_DST_BWLCNT_CUR (REG_DMA26_BWLCNT_CUR)
-#define MDMA2_DST_BWMCNT (REG_DMA26_BWMCNT)
-#define MDMA2_DST_BWMCNT_CUR (REG_DMA26_BWMCNT_CUR)
-#define MDMA3_SRC_DSCPTR_NXT (REG_DMA27_DSCPTR_NXT)
-#define MDMA3_SRC_ADDRSTART (REG_DMA27_ADDRSTART)
-#define MDMA3_SRC_CFG (REG_DMA27_CFG)
-#define MDMA3_SRC_XCNT (REG_DMA27_XCNT)
-#define MDMA3_SRC_XMOD (REG_DMA27_XMOD)
-#define MDMA3_SRC_YCNT (REG_DMA27_YCNT)
-#define MDMA3_SRC_YMOD (REG_DMA27_YMOD)
-#define MDMA3_SRC_DSCPTR_CUR (REG_DMA27_DSCPTR_CUR)
-#define MDMA3_SRC_DSCPTR_PRV (REG_DMA27_DSCPTR_PRV)
-#define MDMA3_SRC_ADDR_CUR (REG_DMA27_ADDR_CUR)
-#define MDMA3_SRC_STAT (REG_DMA27_STAT)
-#define MDMA3_SRC_XCNT_CUR (REG_DMA27_XCNT_CUR)
-#define MDMA3_SRC_YCNT_CUR (REG_DMA27_YCNT_CUR)
-#define MDMA3_SRC_BWLCNT (REG_DMA27_BWLCNT)
-#define MDMA3_SRC_BWLCNT_CUR (REG_DMA27_BWLCNT_CUR)
-#define MDMA3_SRC_BWMCNT (REG_DMA27_BWMCNT)
-#define MDMA3_SRC_BWMCNT_CUR (REG_DMA27_BWMCNT_CUR)
-#define MDMA3_DST_DSCPTR_NXT (REG_DMA28_DSCPTR_NXT)
-#define MDMA3_DST_ADDRSTART (REG_DMA28_ADDRSTART)
-#define MDMA3_DST_CFG (REG_DMA28_CFG)
-#define MDMA3_DST_XCNT (REG_DMA28_XCNT)
-#define MDMA3_DST_XMOD (REG_DMA28_XMOD)
-#define MDMA3_DST_YCNT (REG_DMA28_YCNT)
-#define MDMA3_DST_YMOD (REG_DMA28_YMOD)
-#define MDMA3_DST_DSCPTR_CUR (REG_DMA28_DSCPTR_CUR)
-#define MDMA3_DST_DSCPTR_PRV (REG_DMA28_DSCPTR_PRV)
-#define MDMA3_DST_ADDR_CUR (REG_DMA28_ADDR_CUR)
-#define MDMA3_DST_STAT (REG_DMA28_STAT)
-#define MDMA3_DST_XCNT_CUR (REG_DMA28_XCNT_CUR)
-#define MDMA3_DST_YCNT_CUR (REG_DMA28_YCNT_CUR)
-#define MDMA3_DST_BWLCNT (REG_DMA28_BWLCNT)
-#define MDMA3_DST_BWLCNT_CUR (REG_DMA28_BWLCNT_CUR)
-#define MDMA3_DST_BWMCNT (REG_DMA28_BWMCNT)
-#define MDMA3_DST_BWMCNT_CUR (REG_DMA28_BWMCNT_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_NXT (REG_DMA29_DSCPTR_NXT)
-#define EPPI0_CH0_DMA_ADDRSTART (REG_DMA29_ADDRSTART)
-#define EPPI0_CH0_DMA_CFG (REG_DMA29_CFG)
-#define EPPI0_CH0_DMA_XCNT (REG_DMA29_XCNT)
-#define EPPI0_CH0_DMA_XMOD (REG_DMA29_XMOD)
-#define EPPI0_CH0_DMA_YCNT (REG_DMA29_YCNT)
-#define EPPI0_CH0_DMA_YMOD (REG_DMA29_YMOD)
-#define EPPI0_CH0_DMA_DSCPTR_CUR (REG_DMA29_DSCPTR_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_PRV (REG_DMA29_DSCPTR_PRV)
-#define EPPI0_CH0_DMA_ADDR_CUR (REG_DMA29_ADDR_CUR)
-#define EPPI0_CH0_DMA_STAT (REG_DMA29_STAT)
-#define EPPI0_CH0_DMA_XCNT_CUR (REG_DMA29_XCNT_CUR)
-#define EPPI0_CH0_DMA_YCNT_CUR (REG_DMA29_YCNT_CUR)
-#define EPPI0_CH0_DMA_BWLCNT (REG_DMA29_BWLCNT)
-#define EPPI0_CH0_DMA_BWLCNT_CUR (REG_DMA29_BWLCNT_CUR)
-#define EPPI0_CH0_DMA_BWMCNT (REG_DMA29_BWMCNT)
-#define EPPI0_CH0_DMA_BWMCNT_CUR (REG_DMA29_BWMCNT_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_NXT (REG_DMA30_DSCPTR_NXT)
-#define EPPI0_CH1_DMA_ADDRSTART (REG_DMA30_ADDRSTART)
-#define EPPI0_CH1_DMA_CFG (REG_DMA30_CFG)
-#define EPPI0_CH1_DMA_XCNT (REG_DMA30_XCNT)
-#define EPPI0_CH1_DMA_XMOD (REG_DMA30_XMOD)
-#define EPPI0_CH1_DMA_YCNT (REG_DMA30_YCNT)
-#define EPPI0_CH1_DMA_YMOD (REG_DMA30_YMOD)
-#define EPPI0_CH1_DMA_DSCPTR_CUR (REG_DMA30_DSCPTR_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_PRV (REG_DMA30_DSCPTR_PRV)
-#define EPPI0_CH1_DMA_ADDR_CUR (REG_DMA30_ADDR_CUR)
-#define EPPI0_CH1_DMA_STAT (REG_DMA30_STAT)
-#define EPPI0_CH1_DMA_XCNT_CUR (REG_DMA30_XCNT_CUR)
-#define EPPI0_CH1_DMA_YCNT_CUR (REG_DMA30_YCNT_CUR)
-#define EPPI0_CH1_DMA_BWLCNT (REG_DMA30_BWLCNT)
-#define EPPI0_CH1_DMA_BWLCNT_CUR (REG_DMA30_BWLCNT_CUR)
-#define EPPI0_CH1_DMA_BWMCNT (REG_DMA30_BWMCNT)
-#define EPPI0_CH1_DMA_BWMCNT_CUR (REG_DMA30_BWMCNT_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_NXT (REG_DMA31_DSCPTR_NXT)
-#define EPPI2_CH0_DMA_ADDRSTART (REG_DMA31_ADDRSTART)
-#define EPPI2_CH0_DMA_CFG (REG_DMA31_CFG)
-#define EPPI2_CH0_DMA_XCNT (REG_DMA31_XCNT)
-#define EPPI2_CH0_DMA_XMOD (REG_DMA31_XMOD)
-#define EPPI2_CH0_DMA_YCNT (REG_DMA31_YCNT)
-#define EPPI2_CH0_DMA_YMOD (REG_DMA31_YMOD)
-#define EPPI2_CH0_DMA_DSCPTR_CUR (REG_DMA31_DSCPTR_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_PRV (REG_DMA31_DSCPTR_PRV)
-#define EPPI2_CH0_DMA_ADDR_CUR (REG_DMA31_ADDR_CUR)
-#define EPPI2_CH0_DMA_STAT (REG_DMA31_STAT)
-#define EPPI2_CH0_DMA_XCNT_CUR (REG_DMA31_XCNT_CUR)
-#define EPPI2_CH0_DMA_YCNT_CUR (REG_DMA31_YCNT_CUR)
-#define EPPI2_CH0_DMA_BWLCNT (REG_DMA31_BWLCNT)
-#define EPPI2_CH0_DMA_BWLCNT_CUR (REG_DMA31_BWLCNT_CUR)
-#define EPPI2_CH0_DMA_BWMCNT (REG_DMA31_BWMCNT)
-#define EPPI2_CH0_DMA_BWMCNT_CUR (REG_DMA31_BWMCNT_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_NXT (REG_DMA32_DSCPTR_NXT)
-#define EPPI2_CH1_DMA_ADDRSTART (REG_DMA32_ADDRSTART)
-#define EPPI2_CH1_DMA_CFG (REG_DMA32_CFG)
-#define EPPI2_CH1_DMA_XCNT (REG_DMA32_XCNT)
-#define EPPI2_CH1_DMA_XMOD (REG_DMA32_XMOD)
-#define EPPI2_CH1_DMA_YCNT (REG_DMA32_YCNT)
-#define EPPI2_CH1_DMA_YMOD (REG_DMA32_YMOD)
-#define EPPI2_CH1_DMA_DSCPTR_CUR (REG_DMA32_DSCPTR_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_PRV (REG_DMA32_DSCPTR_PRV)
-#define EPPI2_CH1_DMA_ADDR_CUR (REG_DMA32_ADDR_CUR)
-#define EPPI2_CH1_DMA_STAT (REG_DMA32_STAT)
-#define EPPI2_CH1_DMA_XCNT_CUR (REG_DMA32_XCNT_CUR)
-#define EPPI2_CH1_DMA_YCNT_CUR (REG_DMA32_YCNT_CUR)
-#define EPPI2_CH1_DMA_BWLCNT (REG_DMA32_BWLCNT)
-#define EPPI2_CH1_DMA_BWLCNT_CUR (REG_DMA32_BWLCNT_CUR)
-#define EPPI2_CH1_DMA_BWMCNT (REG_DMA32_BWMCNT)
-#define EPPI2_CH1_DMA_BWMCNT_CUR (REG_DMA32_BWMCNT_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_NXT (REG_DMA33_DSCPTR_NXT)
-#define EPPI1_CH0_DMA_ADDRSTART (REG_DMA33_ADDRSTART)
-#define EPPI1_CH0_DMA_CFG (REG_DMA33_CFG)
-#define EPPI1_CH0_DMA_XCNT (REG_DMA33_XCNT)
-#define EPPI1_CH0_DMA_XMOD (REG_DMA33_XMOD)
-#define EPPI1_CH0_DMA_YCNT (REG_DMA33_YCNT)
-#define EPPI1_CH0_DMA_YMOD (REG_DMA33_YMOD)
-#define EPPI1_CH0_DMA_DSCPTR_CUR (REG_DMA33_DSCPTR_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_PRV (REG_DMA33_DSCPTR_PRV)
-#define EPPI1_CH0_DMA_ADDR_CUR (REG_DMA33_ADDR_CUR)
-#define EPPI1_CH0_DMA_STAT (REG_DMA33_STAT)
-#define EPPI1_CH0_DMA_XCNT_CUR (REG_DMA33_XCNT_CUR)
-#define EPPI1_CH0_DMA_YCNT_CUR (REG_DMA33_YCNT_CUR)
-#define EPPI1_CH0_DMA_BWLCNT (REG_DMA33_BWLCNT)
-#define EPPI1_CH0_DMA_BWLCNT_CUR (REG_DMA33_BWLCNT_CUR)
-#define EPPI1_CH0_DMA_BWMCNT (REG_DMA33_BWMCNT)
-#define EPPI1_CH0_DMA_BWMCNT_CUR (REG_DMA33_BWMCNT_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_NXT (REG_DMA34_DSCPTR_NXT)
-#define EPPI1_CH1_DMA_ADDRSTART (REG_DMA34_ADDRSTART)
-#define EPPI1_CH1_DMA_CFG (REG_DMA34_CFG)
-#define EPPI1_CH1_DMA_XCNT (REG_DMA34_XCNT)
-#define EPPI1_CH1_DMA_XMOD (REG_DMA34_XMOD)
-#define EPPI1_CH1_DMA_YCNT (REG_DMA34_YCNT)
-#define EPPI1_CH1_DMA_YMOD (REG_DMA34_YMOD)
-#define EPPI1_CH1_DMA_DSCPTR_CUR (REG_DMA34_DSCPTR_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_PRV (REG_DMA34_DSCPTR_PRV)
-#define EPPI1_CH1_DMA_ADDR_CUR (REG_DMA34_ADDR_CUR)
-#define EPPI1_CH1_DMA_STAT (REG_DMA34_STAT)
-#define EPPI1_CH1_DMA_XCNT_CUR (REG_DMA34_XCNT_CUR)
-#define EPPI1_CH1_DMA_YCNT_CUR (REG_DMA34_YCNT_CUR)
-#define EPPI1_CH1_DMA_BWLCNT (REG_DMA34_BWLCNT)
-#define EPPI1_CH1_DMA_BWLCNT_CUR (REG_DMA34_BWLCNT_CUR)
-#define EPPI1_CH1_DMA_BWMCNT (REG_DMA34_BWMCNT)
-#define EPPI1_CH1_DMA_BWMCNT_CUR (REG_DMA34_BWMCNT_CUR)
-
-/* ==================================
- DMA Error CHID Definitions
- ================================== */
-#define CHID_SPORT0_A_DMA 0 /* Channel A DMA */
-#define CHID_SPORT0_B_DMA 1 /* Channel B DMA */
-#define CHID_SPORT1_A_DMA 2 /* Channel A DMA */
-#define CHID_SPORT1_B_DMA 3 /* Channel B DMA */
-#define CHID_SPORT2_A_DMA 4 /* Channel A DMA */
-#define CHID_SPORT2_B_DMA 5 /* Channel B DMA */
-#define CHID_SPI0_TXDMA 6 /* TX DMA Channel */
-#define CHID_SPI0_RXDMA 7 /* RX DMA Channel */
-#define CHID_SPI1_TXDMA 8 /* TX DMA Channel */
-#define CHID_SPI1_RXDMA 9 /* RX DMA Channel */
-#define CHID_RSI0_DMA 10 /* DMA Channel */
-#define CHID_SDU0_DMA 11 /* DMA */
-/* -- RESERVED -- 12 */
-#define CHID_LP0_DMA 13 /* DMA Channel */
-#define CHID_LP1_DMA 14 /* DMA Channel */
-#define CHID_LP2_DMA 15 /* DMA Channel */
-#define CHID_LP3_DMA 16 /* DMA Channel */
-#define CHID_UART0_TXDMA 17 /* Transmit DMA */
-#define CHID_UART0_RXDMA 18 /* Receive DMA */
-#define CHID_UART1_TXDMA 19 /* Transmit DMA */
-#define CHID_UART1_RXDMA 20 /* Receive DMA */
-#define CHID_MDMA0_SRC 21 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define CHID_MDMA0_DST 22 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define CHID_MDMA1_SRC 23 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define CHID_MDMA1_DST 24 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define CHID_MDMA2_SRC 25 /* Memory DMA Stream 2 Source Channel */
-#define CHID_MDMA2_DST 26 /* Memory DMA Stream 2 Destination Channel */
-#define CHID_MDMA3_SRC 27 /* Memory DMA Stream 3 Source Channel */
-#define CHID_MDMA3_DST 28 /* Memory DMA Stream 3 Destination Channel */
-#define CHID_EPPI0_CH0_DMA 29 /* Channel 0 DMA */
-#define CHID_EPPI0_CH1_DMA 30 /* Channel 1 DMA */
-#define CHID_EPPI2_CH0_DMA 31 /* Channel 0 DMA */
-#define CHID_EPPI2_CH1_DMA 32 /* Channel 1 DMA */
-#define CHID_EPPI1_CH0_DMA 33 /* Channel 0 DMA */
-#define CHID_EPPI1_CH1_DMA 34 /* Channel 1 DMA */
-
-/* ==============================
- Interrupt Definitions
- ============================== */
-#define INTR_SEC0_ERR 0 /* Error */
-#define INTR_CGU0_EVT 1 /* Event */
-#define INTR_WDOG0_EXP 2 /* Expiration */
-#define INTR_WDOG1_EXP 3 /* Expiration */
-#define INTR_L2CTL0_ECC_ERR 4 /* ECC Error */
-#define INTR_L2CTL0_ECC_WARNING 5 /* ECC Warning */
-#define INTR_C0_DBL_FAULT 6 /* Core 0 Double Fault */
-#define INTR_C1_DBL_FAULT 7 /* Core 1 Double Fault */
-#define INTR_C0_HW_ERR 8 /* Core 0 Hardware Error */
-#define INTR_C1_HW_ERR 9 /* Core 1 Hardware Error */
-#define INTR_C0_NMI_L1_PARITY_ERR 10 /* Core 0 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_C1_NMI_L1_PARITY_ERR 11 /* Core 1 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_TIMER0_TMR0 12 /* Timer 0 */
-#define INTR_TIMER0_TMR1 13 /* Timer 1 */
-#define INTR_TIMER0_TMR2 14 /* Timer 2 */
-#define INTR_TIMER0_TMR3 15 /* Timer 3 */
-#define INTR_TIMER0_TMR4 16 /* Timer 4 */
-#define INTR_TIMER0_TMR5 17 /* Timer 5 */
-#define INTR_TIMER0_TMR6 18 /* Timer 6 */
-#define INTR_TIMER0_TMR7 19 /* Timer 7 */
-#define INTR_TIMER0_STAT 20 /* Status */
-#define INTR_PINT0_BLOCK 21 /* Pin Interrupt Block */
-#define INTR_PINT1_BLOCK 22 /* Pin Interrupt Block */
-#define INTR_PINT2_BLOCK 23 /* Pin Interrupt Block */
-#define INTR_PINT3_BLOCK 24 /* Pin Interrupt Block */
-#define INTR_PINT4_BLOCK 25 /* Pin Interrupt Block */
-#define INTR_PINT5_BLOCK 26 /* Pin Interrupt Block */
-#define INTR_CNT0_STAT 27 /* Status */
-#define INTR_PWM0_SYNC 28 /* Sync */
-#define INTR_PWM0_TRIP 29 /* Trip */
-#define INTR_PWM1_SYNC 30 /* Sync */
-#define INTR_PWM1_TRIP 31 /* Trip */
-#define INTR_TWI0_DATA 32 /* Data Interrupt */
-#define INTR_TWI1_DATA 33 /* Data Interrupt */
-#define INTR_SOFT0 34 /* Software-driven Interrupt 0 */
-#define INTR_SOFT1 35 /* Software-driven Interrupt 1 */
-#define INTR_SOFT2 36 /* Software-driven Interrupt 2 */
-#define INTR_SOFT3 37 /* Software-driven Interrupt 3 */
-#define INTR_ACM0_EVT_MISS 38 /* Event Miss */
-#define INTR_ACM0_EVT_COMPLETE 39 /* Event Complete */
-#define INTR_CAN0_RX 40 /* Receive */
-#define INTR_CAN0_TX 41 /* Transmit */
-#define INTR_CAN0_STAT 42 /* Status */
-#define INTR_SPORT0_A_DMA 43 /* Channel A DMA */
-#define INTR_SPORT0_A_STAT 44 /* Channel A Status */
-#define INTR_SPORT0_B_DMA 45 /* Channel B DMA */
-#define INTR_SPORT0_B_STAT 46 /* Channel B Status */
-#define INTR_SPORT1_A_DMA 47 /* Channel A DMA */
-#define INTR_SPORT1_A_STAT 48 /* Channel A Status */
-#define INTR_SPORT1_B_DMA 49 /* Channel B DMA */
-#define INTR_SPORT1_B_STAT 50 /* Channel B Status */
-#define INTR_SPORT2_A_DMA 51 /* Channel A DMA */
-#define INTR_SPORT2_A_STAT 52 /* Channel A Status */
-#define INTR_SPORT2_B_DMA 53 /* Channel B DMA */
-#define INTR_SPORT2_B_STAT 54 /* Channel B Status */
-#define INTR_SPI0_TXDMA 55 /* TX DMA Channel */
-#define INTR_SPI0_RXDMA 56 /* RX DMA Channel */
-#define INTR_SPI0_STAT 57 /* Status */
-#define INTR_SPI1_TXDMA 58 /* TX DMA Channel */
-#define INTR_SPI1_RXDMA 59 /* RX DMA Channel */
-#define INTR_SPI1_STAT 60 /* Status */
-#define INTR_RSI0_DMA 61 /* DMA Channel */
-#define INTR_RSI0_INT0 62 /* Interrupt 0 */
-#define INTR_RSI0_INT1 63 /* Interrupt 1 */
-#define INTR_SDU0_DMA 64 /* DMA */
-/* -- RESERVED -- 65 */
-/* -- RESERVED -- 66 */
-/* -- RESERVED -- 67 */
-#define INTR_EMAC0_STAT 68 /* Status */
-/* -- RESERVED -- 69 */
-#define INTR_EMAC1_STAT 70 /* Status */
-/* -- RESERVED -- 71 */
-#define INTR_LP0_DMA 72 /* DMA Channel */
-#define INTR_LP0_STAT 73 /* Status */
-#define INTR_LP1_DMA 74 /* DMA Channel */
-#define INTR_LP1_STAT 75 /* Status */
-#define INTR_LP2_DMA 76 /* DMA Channel */
-#define INTR_LP2_STAT 77 /* Status */
-#define INTR_LP3_DMA 78 /* DMA Channel */
-#define INTR_LP3_STAT 79 /* Status */
-#define INTR_UART0_TXDMA 80 /* Transmit DMA */
-#define INTR_UART0_RXDMA 81 /* Receive DMA */
-#define INTR_UART0_STAT 82 /* Status */
-#define INTR_UART1_TXDMA 83 /* Transmit DMA */
-#define INTR_UART1_RXDMA 84 /* Receive DMA */
-#define INTR_UART1_STAT 85 /* Status */
-#define INTR_MDMA0_SRC 86 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define INTR_MDMA0_DST 87 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define INTR_CRC0_DCNTEXP 88 /* Datacount expiration */
-#define INTR_CRC0_ERR 89 /* Error */
-#define INTR_MDMA1_SRC 90 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define INTR_MDMA1_DST 91 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define INTR_CRC1_DCNTEXP 92 /* Datacount expiration */
-#define INTR_CRC1_ERR 93 /* Error */
-#define INTR_MDMA2_SRC 94 /* Memory DMA Stream 2 Source Channel */
-#define INTR_MDMA2_DST 95 /* Memory DMA Stream 2 Destination Channel */
-#define INTR_MDMA3_SRC 96 /* Memory DMA Stream 3 Source Channel */
-#define INTR_MDMA3_DST 97 /* Memory DMA Stream 3 Destination Channel */
-#define INTR_EPPI0_CH0_DMA 98 /* Channel 0 DMA */
-#define INTR_EPPI0_CH1_DMA 99 /* Channel 1 DMA */
-#define INTR_EPPI0_STAT 100 /* Status */
-#define INTR_EPPI2_CH0_DMA 101 /* Channel 0 DMA */
-#define INTR_EPPI2_CH1_DMA 102 /* Channel 1 DMA */
-#define INTR_EPPI2_STAT 103 /* Status */
-#define INTR_EPPI1_CH0_DMA 104 /* Channel 0 DMA */
-#define INTR_EPPI1_CH1_DMA 105 /* Channel 1 DMA */
-#define INTR_EPPI1_STAT 106 /* Status */
-#define INTR_USB0_STAT 122 /* Status/FIFO Data Ready */
-#define INTR_USB0_DATA 123 /* DMA Status/Transfer Complete */
-#define INTR_TRU0_INT0 124 /* Interrupt 0 */
-#define INTR_TRU0_INT1 125 /* Interrupt 1 */
-#define INTR_TRU0_INT2 126 /* Interrupt 2 */
-#define INTR_TRU0_INT3 127 /* Interrupt 3 */
-#define INTR_DMAC_ERR 128 /* DMA Controller Error */
-#define INTR_CGU0_ERR 129 /* Error */
-/* -- RESERVED -- 130 */
-#define INTR_DPM0_EVT 131 /* Event */
-/* -- RESERVED -- 132 */
-#define INTR_SWU0_EVT 133 /* Event */
-#define INTR_SWU1_EVT 134 /* Event */
-#define INTR_SWU2_EVT 135 /* Event */
-#define INTR_SWU3_EVT 136 /* Event */
-#define INTR_SWU4_EVT 137 /* Event */
-#define INTR_SWU5_EVT 138 /* Event */
-#define INTR_SWU6_EVT 139 /* Event */
-
-/* ==============================
- Parameters
- ============================== */
-
-
-/* Generic System Module Parameters */
-
-#define PARAM_SYS0_NUM_BMODE 3
-#define PARAM_SYS0_NUM_CORES 2
-#define PARAM_SYS0_NUM_MDMA_STREAMS 4
-#define PARAM_SYS0_NUM_RSVD_INT 7
-#define PARAM_SYS0_NUM_RSVD_TRIG 6
-#define PARAM_SYS0_NUM_SW_INT 4
-#define PARAM_SYS0_NUM_SW_TRIG 6
-
-
-
-
-/* RSI Parameters */
-
-#define PARAM_RSI0_NUM_DATA 8
-#define PARAM_RSI0_NUM_INT 2
-
-
-
-/* Link Port Parameters */
-
-#define PARAM_LP0_NUM_DATA 8
-#define PARAM_LP1_NUM_DATA 8
-#define PARAM_LP2_NUM_DATA 8
-#define PARAM_LP3_NUM_DATA 8
-
-
-/* General Purpose Timer Block Parameters */
-
-#define PARAM_TIMER0_NUMTIMERS 8
-
-
-
-
-
-/* General Purpose Input/Output Parameters */
-
-#define PARAM_PORTA_PORT_WIDTH 16
-#define PARAM_PORTB_PORT_WIDTH 16
-#define PARAM_PORTC_PORT_WIDTH 16
-#define PARAM_PORTD_PORT_WIDTH 16
-#define PARAM_PORTE_PORT_WIDTH 16
-#define PARAM_PORTF_PORT_WIDTH 16
-#define PARAM_PORTG_PORT_WIDTH 16
-
-
-
-
-/* Static Memory Controller Parameters */
-
-#define PARAM_SMC0_NUM_ABE 2
-#define PARAM_SMC0_NUM_ADDR 26
-#define PARAM_SMC0_NUM_AMS 4
-#define PARAM_SMC0_NUM_DATA 16
-
-
-
-/* EPPI Parameters */
-
-#define PARAM_EPPI0_MAXWIDTH 24
-#define PARAM_EPPI0_NUM_DATA 24
-#define PARAM_EPPI1_MAXWIDTH 24
-#define PARAM_EPPI1_NUM_DATA 18
-#define PARAM_EPPI2_MAXWIDTH 24
-#define PARAM_EPPI2_NUM_DATA 18
-
-
-/* Pulse-Width Modulator Parameters */
-
-#define PARAM_PWM0_ASYM_DEADTIME 0
-#define PARAM_PWM0_COMPRESS 1
-#define PARAM_PWM0_DOUBLE_UPDATE 0
-#define PARAM_PWM0_FULL_DUTY_REGS 0
-#define PARAM_PWM0_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM0_LO_HP_REGS 0
-#define PARAM_PWM0_NUM_TRIP 2
-#define PARAM_PWM0_NUM_TRIP_PINS 2
-#define PARAM_PWM0_NUM_TRIP_TRIG 0
-#define PARAM_PWM0_REVID_MAJOR 0
-#define PARAM_PWM0_REVID_REV 0
-#define PARAM_PWM1_ASYM_DEADTIME 0
-#define PARAM_PWM1_COMPRESS 1
-#define PARAM_PWM1_DOUBLE_UPDATE 0
-#define PARAM_PWM1_FULL_DUTY_REGS 0
-#define PARAM_PWM1_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM1_LO_HP_REGS 0
-#define PARAM_PWM1_NUM_TRIP 2
-#define PARAM_PWM1_NUM_TRIP_PINS 2
-#define PARAM_PWM1_NUM_TRIP_TRIG 0
-#define PARAM_PWM1_REVID_MAJOR 0
-#define PARAM_PWM1_REVID_REV 0
-
-
-/* Video Subsystem Registers Parameters */
-
-#define PARAM_VID0_PIXC_ABSENT 1
-#define PARAM_VID0_PVP_ABSENT 1
-
-
-
-/* System Debug Unit Parameters */
-
-#define PARAM_SDU0_IDCODE_PRID 0
-#define PARAM_SDU0_IDCODE_REVID 0
-
-
-/* Ethernet MAC Parameters */
-
-#define PARAM_EMAC0_NUM_RX 2
-#define PARAM_EMAC0_NUM_TX 2
-#define PARAM_EMAC1_NUM_RX 2
-#define PARAM_EMAC1_NUM_TX 2
-
-
-
-/* Serial Peripheral Interface Parameters */
-
-#define PARAM_SPI0_MEM_MAPPED 0
-#define PARAM_SPI0_NUM_SEL 7
-#define PARAM_SPI0_PTM_EXISTS 1
-#define PARAM_SPI0_REVID_MAJOR 3
-#define PARAM_SPI0_REVID_REV 0
-#define PARAM_SPI1_MEM_MAPPED 0
-#define PARAM_SPI1_NUM_SEL 7
-#define PARAM_SPI1_PTM_EXISTS 1
-#define PARAM_SPI1_REVID_MAJOR 3
-#define PARAM_SPI1_REVID_REV 0
-
-
-
-/* ACM Parameters */
-
-#define PARAM_ACM0_NUM_ADDR 5
-#define PARAM_ACM0_NUM_TRIG 2
-
-
-/* DDR Parameters */
-
-#define PARAM_DMC0_NUM_ADDR 14
-#define PARAM_DMC0_NUM_BA 3
-#define PARAM_DMC0_NUM_CS 1
-#define PARAM_DMC0_NUM_DATA 16
-
-
-/* System Cross Bar Parameters */
-
-#define PARAM_SCB0_NUM_MASTERS 6
-#define PARAM_SCB0_NUM_SLOTS 32
-#define PARAM_SCB1_NUM_MASTERS 1
-#define PARAM_SCB1_NUM_SLOTS 32
-#define PARAM_SCB2_NUM_MASTERS 1
-#define PARAM_SCB2_NUM_SLOTS 32
-#define PARAM_SCB3_NUM_MASTERS 1
-#define PARAM_SCB3_NUM_SLOTS 32
-#define PARAM_SCB4_NUM_MASTERS 1
-#define PARAM_SCB4_NUM_SLOTS 32
-#define PARAM_SCB5_NUM_MASTERS 1
-#define PARAM_SCB5_NUM_SLOTS 32
-#define PARAM_SCB6_NUM_MASTERS 1
-#define PARAM_SCB6_NUM_SLOTS 32
-#define PARAM_SCB7_NUM_MASTERS 1
-#define PARAM_SCB7_NUM_SLOTS 32
-#define PARAM_SCB8_NUM_MASTERS 1
-#define PARAM_SCB8_NUM_SLOTS 32
-#define PARAM_SCB9_NUM_MASTERS 1
-#define PARAM_SCB9_NUM_SLOTS 32
-#define PARAM_SCB10_NUM_MASTERS 3
-#define PARAM_SCB10_NUM_SLOTS 32
-#define PARAM_SCB11_NUM_MASTERS 7
-#define PARAM_SCB11_NUM_SLOTS 32
-
-
-
-/* System Event Controller Parameters */
-
-#define PARAM_SEC0_CCOUNT 2
-#define PARAM_SEC0_SCOUNT 140
-
-
-/* Trigger Routing Unit Parameters */
-
-#define PARAM_TRU0_NUM_INTS 4
-#define PARAM_TRU0_NUM_TRIGS 4
-#define PARAM_TRU0_SSRCOUNT 87
-
-
-/* Reset Control Unit Parameters */
-
-#define PARAM_RCU0_CCOUNT 2
-#define PARAM_RCU0_CRCTL_CR_INIT 2
-#define PARAM_RCU0_CRSTAT_CR_INIT 3
-#define PARAM_RCU0_SICOUNT 2
-#define PARAM_RCU0_SVECT_INIT 65440
-
-
-/* System Protection Unit Parameters */
-
-#define PARAM_SPU0_CM_COUNT 2
-#define PARAM_SPU0_END_POINT_COUNT 86
-#define PARAM_SPU0_SM_COUNT 2
-
-
-/* Clock Generation Unit Parameters */
-
-#define PARAM_CGU0_CSEL_DEFAULT 4
-#define PARAM_CGU0_DSEL_DEFAULT 8
-#define PARAM_CGU0_MSEL_DEFAULT 16
-#define PARAM_CGU0_OSEL_DEFAULT 16
-#define PARAM_CGU0_PLLBP_DEFAULT 0
-#define PARAM_CGU0_S0SEL_DEFAULT 2
-#define PARAM_CGU0_S1SEL_DEFAULT 2
-#define PARAM_CGU0_SYSSEL_DEFAULT 8
-
-
-/* Dynamic Power Management Parameters */
-
-#define PARAM_DPM0_NUM_CCLK 2
-#define PARAM_DPM0_NUM_HV 8
-#define PARAM_DPM0_NUM_SCLK 4
-#define PARAM_DPM0_NUM_WAKE 8
-
-
-
-/* Universal Serial Bus Controller Parameters */
-
-#define PARAM_USB0_DMA_CHAN 8
-#define PARAM_USB0_DYN_FIFO_SIZE 1
-#define PARAM_USB0_FS_PHY 0
-#define PARAM_USB0_HS_PHY 1
-#define PARAM_USB0_LOOPBACK 1
-#define PARAM_USB0_NUM_ENDPTS 12
-#define PARAM_USB0_NUM_ENDPTS_MINUS_1 11
-
-
-/* Data Memory Unit Parameters */
-
-#define PARAM_L1DM0_L1_BASE_ADDRESS 1111111110
-
-
-
-
-
-
-
-
-/* ===================================
- Trigger Master Definitions
- =================================== */
-/* -- RESERVED -- 0 */
-#define TRGM_CGU0_EVT 1 /* Event */
-#define TRGM_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGM_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGM_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGM_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGM_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGM_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGM_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGM_TIMER0_TMR7 9 /* Timer 7 */
-#define TRGM_PINT0_BLOCK 10 /* Pin Interrupt Block */
-#define TRGM_PINT1_BLOCK 11 /* Pin Interrupt Block */
-#define TRGM_PINT2_BLOCK 12 /* Pin Interrupt Block */
-#define TRGM_PINT3_BLOCK 13 /* Pin Interrupt Block */
-#define TRGM_PINT4_BLOCK 14 /* Pin Interrupt Block */
-#define TRGM_PINT5_BLOCK 15 /* Pin Interrupt Block */
-#define TRGM_CNT0_STAT 16 /* Status */
-#define TRGM_PWM0_SYNC 17 /* Sync */
-#define TRGM_PWM1_SYNC 18 /* Sync */
-#define TRGM_ACM0_EVT_COMPLETE 19 /* Event Complete */
-#define TRGM_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGM_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGM_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGM_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGM_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGM_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGM_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGM_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGM_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGM_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGM_RSI0_DMA 30 /* DMA Channel */
-#define TRGM_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGM_EMAC0_STAT 33 /* Status */
-#define TRGM_EMAC1_STAT 34 /* Status */
-#define TRGM_LP0_DMA 35 /* DMA Channel */
-#define TRGM_LP1_DMA 36 /* DMA Channel */
-#define TRGM_LP2_DMA 37 /* DMA Channel */
-#define TRGM_LP3_DMA 38 /* DMA Channel */
-#define TRGM_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGM_UART0_RXDMA 40 /* Receive DMA */
-#define TRGM_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGM_UART1_RXDMA 42 /* Receive DMA */
-#define TRGM_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGM_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGM_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGM_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGM_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGM_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGM_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGM_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGM_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGM_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGM_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGM_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGM_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGM_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGM_USB0_DATA 69 /* DMA Status/Transfer Complete */
-/* -- RESERVED -- 70 */
-#define TRGM_SEC0_FAULT 71 /* Fault */
-#define TRGM_SOFT0 72 /* Software-driven Trigger 0 */
-#define TRGM_SOFT1 73 /* Software-driven Trigger 1 */
-#define TRGM_SOFT2 74 /* Software-driven Trigger 2 */
-#define TRGM_SOFT3 75 /* Software-driven Trigger 3 */
-#define TRGM_SOFT4 76 /* Software-driven Trigger 4 */
-#define TRGM_SOFT5 77 /* Software-driven Trigger 5 */
-#define TRGM_SWU0_EVT 80 /* Event */
-#define TRGM_SWU1_EVT 81 /* Event */
-#define TRGM_SWU2_EVT 82 /* Event */
-#define TRGM_SWU3_EVT 83 /* Event */
-#define TRGM_SWU4_EVT 84 /* Event */
-#define TRGM_SWU5_EVT 85 /* Event */
-#define TRGM_SWU6_EVT 86 /* Event */
-
-/* ===================================
- Trigger Slave Definitions
- =================================== */
-#define TRGS_RCU0_SYSRST0 0 /* System Reset 0 */
-#define TRGS_RCU0_SYSRST1 1 /* System Reset 1 */
-#define TRGS_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGS_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGS_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGS_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGS_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGS_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGS_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGS_TIMER0_TMR7 9 /* Timer 7 */
-/* -- RESERVED -- 10 */
-/* -- RESERVED -- 11 */
-#define TRGS_C0_NMI_S0 12 /* NMI (Core 0) Slave 0 */
-#define TRGS_C0_NMI_S1 13 /* NMI (Core 0) Slave 1 */
-#define TRGS_C1_NMI_S0 14 /* NMI (Core 1) Slave 0 */
-#define TRGS_C1_NMI_S1 15 /* NMI (Core 1) Slave 1 */
-#define TRGS_TRU0_IRQ0 16 /* Interrupt Request 0 */
-#define TRGS_TRU0_IRQ1 17 /* Interrupt Request 1 */
-#define TRGS_TRU0_IRQ2 18 /* Interrupt Request 2 */
-#define TRGS_TRU0_IRQ3 19 /* Interrupt Request 3 */
-#define TRGS_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGS_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGS_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGS_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGS_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGS_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGS_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGS_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGS_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGS_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGS_RSI0_DMA 30 /* DMA Channel */
-#define TRGS_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGS_ACM0_TRIG2 33 /* Trigger Input 2 */
-#define TRGS_ACM0_TRIG3 34 /* Trigger Input 3 */
-#define TRGS_LP0_DMA 35 /* DMA Channel */
-#define TRGS_LP1_DMA 36 /* DMA Channel */
-#define TRGS_LP2_DMA 37 /* DMA Channel */
-#define TRGS_LP3_DMA 38 /* DMA Channel */
-#define TRGS_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGS_UART0_RXDMA 40 /* Receive DMA */
-#define TRGS_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGS_UART1_RXDMA 42 /* Receive DMA */
-#define TRGS_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGS_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGS_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGS_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGS_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGS_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGS_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGS_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGS_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGS_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGS_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGS_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGS_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGS_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGS_SDU0_SLAVE 69 /* Slave Trigger */
-/* -- RESERVED -- 70 */
-#define TRGS_C0_WAKE0 71 /* Core 0 Wakeup Input 0 */
-#define TRGS_C0_WAKE1 72 /* Core 0 Wakeup Input 1 */
-#define TRGS_C0_WAKE2 73 /* Core 0 Wakeup Input 2 */
-#define TRGS_C0_WAKE3 74 /* Core 0 Wakeup Input 3 */
-#define TRGS_C1_WAKE0 75 /* Core 1 Wakeup Input 0 */
-#define TRGS_C1_WAKE1 76 /* Core 1 Wakeup Input 1 */
-#define TRGS_C1_WAKE2 77 /* Core 1 Wakeup Input 2 */
-#define TRGS_C1_WAKE3 78 /* Core 1 Wakeup Input 3 */
-/* -- RESERVED -- 79 */
-#define TRGS_SWU0_EVT 80 /* Event */
-#define TRGS_SWU1_EVT 81 /* Event */
-#define TRGS_SWU2_EVT 82 /* Event */
-#define TRGS_SWU3_EVT 83 /* Event */
-#define TRGS_SWU4_EVT 84 /* Event */
-#define TRGS_SWU5_EVT 85 /* Event */
-#define TRGS_SWU6_EVT 86 /* Event */
-
-
-/* ============================================================================
- Memory Map Macros
- ============================================================================ */
-
-/* ADSP-BF607 is a multi-core processor */
-
-#define MEM_NUM_CORES 2
-
-/* Internal memory range */
-
-#define MEM_BASE_INTERNAL 0xC0000000
-#define MEM_END_INTERNAL 0xFFFFFFFF
-#define MEM_SIZE_INTERNAL 0x40000000
-
-/* External memory range */
-
-#define MEM_BASE_EXTERNAL 0x00000000
-#define MEM_END_EXTERNAL 0xBFFFFFFF
-#define MEM_SIZE_EXTERNAL 0xC0000000
-
-/* Shared DDR2 or LPDDR Memory (256 MB) */
-
-#define MEM_BASE_DDR 0x00000000
-#define MEM_END_DDR 0x0FFFFFFF
-#define MEM_SIZE_DDR 0x10000000
-
-/* Shared Async Memory (256 MB) */
-
-#define MEM_BASE_ASYNC 0xB0000000
-#define MEM_END_ASYNC 0xBFFFFFFF
-#define MEM_SIZE_ASYNC 0x10000000
-
-/* Shared Async Memory Bank 0 (64 MB) */
-
-#define MEM_BASE_ASYNC_0 0xB0000000
-#define MEM_END_ASYNC_0 0xB3FFFFFF
-#define MEM_SIZE_ASYNC_0 0x4000000
-
-/* Shared Async Memory Bank 1 (64 MB) */
-
-#define MEM_BASE_ASYNC_1 0xB4000000
-#define MEM_END_ASYNC_1 0xB7FFFFFF
-#define MEM_SIZE_ASYNC_1 0x4000000
-
-/* Shared Async Memory Bank 2 (64 MB) */
-
-#define MEM_BASE_ASYNC_2 0xB8000000
-#define MEM_END_ASYNC_2 0xBBFFFFFF
-#define MEM_SIZE_ASYNC_2 0x4000000
-
-/* Shared Async Memory Bank 3 (64 MB) */
-
-#define MEM_BASE_ASYNC_3 0xBC000000
-#define MEM_END_ASYNC_3 0xBFFFFFFF
-#define MEM_SIZE_ASYNC_3 0x4000000
-
-/* Shared L2 ROM (32 KB) */
-
-#define MEM_BASE_L2_ROM 0xC8000000
-#define MEM_END_L2_ROM 0xC8007FFF
-#define MEM_SIZE_L2_ROM 0x8000
-
-/* Shared L2 SRAM (256 KB) */
-
-#define MEM_BASE_L2_SRAM 0xC8080000
-#define MEM_END_L2_SRAM 0xC80BFFFF
-#define MEM_SIZE_L2_SRAM 0x40000
-
-/* Core 1 L1 Data Bank A (32 KB) */
-
-#define MEM_C1_BASE_L1DM_A 0xFF400000
-#define MEM_C1_END_L1DM_A 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A 0x8000
-
-/* Core 1 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM 0xFF400000
-#define MEM_C1_END_L1DM_A_SRAM 0xFF403FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 1 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM_CACHE 0xFF404000
-#define MEM_C1_END_L1DM_A_SRAM_CACHE 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Data Bank B (32 KB) */
-
-#define MEM_C1_BASE_L1DM_B 0xFF500000
-#define MEM_C1_END_L1DM_B 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B 0x8000
-
-/* Core 1 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM 0xFF500000
-#define MEM_C1_END_L1DM_B_SRAM 0xFF503FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 1 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM_CACHE 0xFF504000
-#define MEM_C1_END_L1DM_B_SRAM_CACHE 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Instruction (80 KB) */
-
-#define MEM_C1_BASE_L1IM 0xFF600000
-#define MEM_C1_END_L1IM 0xFF613FFF
-#define MEM_C1_SIZE_L1IM 0x14000
-
-/* Core 1 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM 0xFF600000
-#define MEM_C1_END_L1IM_SRAM 0xFF60FFFF
-#define MEM_C1_SIZE_L1IM_SRAM 0x10000
-
-/* Core 1 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM_CACHE 0xFF610000
-#define MEM_C1_END_L1IM_SRAM_CACHE 0xFF613FFF
-#define MEM_C1_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C1_BASE_L1_XPAD_SRAM 0xFF700000
-#define MEM_C1_END_L1_XPAD_SRAM 0xFF700FFF
-#define MEM_C1_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Core 0 L1 Data Bank A (32 KB) */
-
-#define MEM_C0_BASE_L1DM_A 0xFF800000
-#define MEM_C0_END_L1DM_A 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A 0x8000
-
-/* Core 0 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM 0xFF800000
-#define MEM_C0_END_L1DM_A_SRAM 0xFF803FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 0 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM_CACHE 0xFF804000
-#define MEM_C0_END_L1DM_A_SRAM_CACHE 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Data Bank B (32 KB) */
-
-#define MEM_C0_BASE_L1DM_B 0xFF900000
-#define MEM_C0_END_L1DM_B 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B 0x8000
-
-/* Core 0 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM 0xFF900000
-#define MEM_C0_END_L1DM_B_SRAM 0xFF903FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 0 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM_CACHE 0xFF904000
-#define MEM_C0_END_L1DM_B_SRAM_CACHE 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Instruction (80 KB) */
-
-#define MEM_C0_BASE_L1IM 0xFFA00000
-#define MEM_C0_END_L1IM 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM 0x14000
-
-/* Core 0 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM 0xFFA00000
-#define MEM_C0_END_L1IM_SRAM 0xFFA0FFFF
-#define MEM_C0_SIZE_L1IM_SRAM 0x10000
-
-/* Core 0 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM_CACHE 0xFFA10000
-#define MEM_C0_END_L1IM_SRAM_CACHE 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C0_BASE_L1_XPAD_SRAM 0xFFB00000
-#define MEM_C0_END_L1_XPAD_SRAM 0xFFB00FFF
-#define MEM_C0_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Shared System MMR Registers (2 MB) */
-
-#define MEM_BASE_MMR_SYSTEM 0xFFC00000
-#define MEM_END_MMR_SYSTEM 0xFFDFFFFF
-#define MEM_SIZE_MMR_SYSTEM 0x200000
-
-/* Core 0 Core MMR Registers (2 MB) */
-
-#define MEM_C0_BASE_MMR_CORE 0xFFE00000
-#define MEM_C0_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C0_SIZE_MMR_CORE 0x200000
-
-/* Core 1 Core MMR Registers (2 MB) */
-
-#define MEM_C1_BASE_MMR_CORE 0xFFE00000
-#define MEM_C1_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C1_SIZE_MMR_CORE 0x200000
-
-
-#endif /* end ifndef _DEF_BF607_H */
diff --git a/libgloss/bfin/include/defBF608.h b/libgloss/bfin/include/defBF608.h
deleted file mode 100644
index 147eeb4..0000000
--- a/libgloss/bfin/include/defBF608.h
+++ /dev/null
@@ -1,19426 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* ================================================================================
-
- Project : ADSP-BF608
- File : defBF608.h
- Description : Register Definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ================================================================================ */
-
-#ifndef _DEF_BF608_H
-#define _DEF_BF608_H
-
-#if defined (_MISRA_RULES)
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function-like macros")
-#pragma diag(suppress:misra_rule_19_13:"ADI headers can use the # and ## preprocessor operators")
-#endif /* _MISRA_RULES */
-
-/* do not add casts to literal constants in assembly code */
-#if defined(_LANGUAGE_ASM) || defined(__ASSEMBLER__)
-#define _ADI_MSK( mask, type ) (mask) /* Make a bitmask */
-#else
-#define _ADI_MSK( mask, type ) ((type)(mask)) /* Make a bitmask */
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#ifndef __ADI_GENERATED_DEF_HEADERS__
-#define __ADI_GENERATED_DEF_HEADERS__ 1
-#endif
-
-/* MMR modules defined for the ADSP-BF608 */
-
-#define __ADI_HAS_SYS__ 1
-#define __ADI_HAS_SIMENV__ 1
-#define __ADI_HAS_CNT__ 1
-#define __ADI_HAS_RSI__ 1
-#define __ADI_HAS_CAN__ 1
-#define __ADI_HAS_LP__ 1
-#define __ADI_HAS_TIMER__ 1
-#define __ADI_HAS_CRC__ 1
-#define __ADI_HAS_TWI__ 1
-#define __ADI_HAS_UART__ 1
-#define __ADI_HAS_PORT__ 1
-#define __ADI_HAS_PADS__ 1
-#define __ADI_HAS_PINT__ 1
-#define __ADI_HAS_SMC__ 1
-#define __ADI_HAS_WDOG__ 1
-#define __ADI_HAS_EPPI__ 1
-#define __ADI_HAS_PIXC__ 1
-#define __ADI_HAS_PVP__ 1
-#define __ADI_HAS_PWM__ 1
-#define __ADI_HAS_VID__ 1
-#define __ADI_HAS_SWU__ 1
-#define __ADI_HAS_SDU__ 1
-#define __ADI_HAS_EMAC__ 1
-#define __ADI_HAS_SPORT__ 1
-#define __ADI_HAS_SPI__ 1
-#define __ADI_HAS_DMA__ 1
-#define __ADI_HAS_ACM__ 1
-#define __ADI_HAS_DMC__ 1
-#define __ADI_HAS_SCB__ 1
-#define __ADI_HAS_L2CTL__ 1
-#define __ADI_HAS_SEC__ 1
-#define __ADI_HAS_TRU__ 1
-#define __ADI_HAS_RCU__ 1
-#define __ADI_HAS_SPU__ 1
-#define __ADI_HAS_CGU__ 1
-#define __ADI_HAS_DPM__ 1
-#define __ADI_HAS_EFS__ 1
-#define __ADI_HAS_USB__ 1
-#define __ADI_HAS_L1DM__ 1
-#define __ADI_HAS_L1IM__ 1
-#define __ADI_HAS_ICU__ 1
-#define __ADI_HAS_TMR__ 1
-#define __ADI_HAS_DBG__ 1
-#define __ADI_HAS_TB__ 1
-#define __ADI_HAS_WP__ 1
-#define __ADI_HAS_PF__ 1
-
-/* =========================
- REGFILE
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ASTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ASTAT_VS 25 /* Sticky version of ASTAT_V */
-#define BITP_ASTAT_V 24 /* Overflow Flag */
-#define BITP_ASTAT_AV1S 19 /* Sticky Overflow Flag 1 */
-#define BITP_ASTAT_AV1 18 /* Overflow Flag 1 */
-#define BITP_ASTAT_AV0S 17 /* Sticky Overflow Flag 0 */
-#define BITP_ASTAT_AV0 16 /* Overflow Flag 0 */
-#define BITP_ASTAT_AC1 13 /* Carry Flag 1 */
-#define BITP_ASTAT_AC0 12 /* Carry Flag 0 */
-#define BITP_ASTAT_RND_MOD 8 /* Rounding Mode */
-#define BITP_ASTAT_AQ 6 /* Quotient Bit */
-#define BITP_ASTAT_CC 5 /* Condition Code */
-#define BITP_ASTAT_V_COPY 3 /* Overflow Flag */
-#define BITP_ASTAT_AC0_COPY 2 /* Carry Flag 0 */
-#define BITP_ASTAT_AN 1 /* Negative Flag */
-#define BITP_ASTAT_AZ 0 /* Zero Flag */
-#define BITM_ASTAT_VS (_ADI_MSK(0x02000000,uint32_t)) /* Sticky version of ASTAT_V */
-#define BITM_ASTAT_V (_ADI_MSK(0x01000000,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AV1S (_ADI_MSK(0x00080000,uint32_t)) /* Sticky Overflow Flag 1 */
-#define BITM_ASTAT_AV1 (_ADI_MSK(0x00040000,uint32_t)) /* Overflow Flag 1 */
-#define BITM_ASTAT_AV0S (_ADI_MSK(0x00020000,uint32_t)) /* Sticky Overflow Flag 0 */
-#define BITM_ASTAT_AV0 (_ADI_MSK(0x00010000,uint32_t)) /* Overflow Flag 0 */
-#define BITM_ASTAT_AC1 (_ADI_MSK(0x00002000,uint32_t)) /* Carry Flag 1 */
-#define BITM_ASTAT_AC0 (_ADI_MSK(0x00001000,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_RND_MOD (_ADI_MSK(0x00000100,uint32_t)) /* Rounding Mode */
-#define BITM_ASTAT_AQ (_ADI_MSK(0x00000040,uint32_t)) /* Quotient Bit */
-#define BITM_ASTAT_CC (_ADI_MSK(0x00000020,uint32_t)) /* Condition Code */
-#define BITM_ASTAT_V_COPY (_ADI_MSK(0x00000008,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AC0_COPY (_ADI_MSK(0x00000004,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_AN (_ADI_MSK(0x00000002,uint32_t)) /* Negative Flag */
-#define BITM_ASTAT_AZ (_ADI_MSK(0x00000001,uint32_t)) /* Zero Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LT_ADDR 1 /* Loop Top Address */
-#define BITP_LT_LSB 0
-#define BITM_LT_ADDR (_ADI_MSK(0xFFFFFFFE,uint32_t)) /* Loop Top Address */
-#define BITM_LT_LSB (_ADI_MSK(0x00000001,uint32_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEQSTAT_NSPECABT 19 /* Nonspeculative access was aborted */
-#define BITP_SEQSTAT_HWERRCAUSE 14 /* Holds cause of last hardware error generated by the core */
-#define BITP_SEQSTAT_SFTRESET 13 /* Indicates whether the last reset was a software reset */
-#define BITP_SEQSTAT_ITESTABT 12 /* ITEST_COMMAND was aborted */
-#define BITP_SEQSTAT_DTESTABT 11 /* DTEST_COMMAND was aborted */
-#define BITP_SEQSTAT_SYSNMI 10 /* System NMI Input Active */
-#define BITP_SEQSTAT_PEIC 9 /* Parity Error on Instruction L1 Read for Core */
-#define BITP_SEQSTAT_PEDC 8 /* Parity Error on Data L1 Read for Core */
-#define BITP_SEQSTAT_PEIX 7 /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_PEDX 6 /* Parity Error on Data L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_EXCAUSE 0 /* Holds cause of last-executed exception */
-#define BITM_SEQSTAT_NSPECABT (_ADI_MSK(0x00080000,uint32_t)) /* Nonspeculative access was aborted */
-#define BITM_SEQSTAT_HWERRCAUSE (_ADI_MSK(0x0007C000,uint32_t)) /* Holds cause of last hardware error generated by the core */
-#define BITM_SEQSTAT_SFTRESET (_ADI_MSK(0x00002000,uint32_t)) /* Indicates whether the last reset was a software reset */
-#define BITM_SEQSTAT_ITESTABT (_ADI_MSK(0x00001000,uint32_t)) /* ITEST_COMMAND was aborted */
-#define BITM_SEQSTAT_DTESTABT (_ADI_MSK(0x00000800,uint32_t)) /* DTEST_COMMAND was aborted */
-#define BITM_SEQSTAT_SYSNMI (_ADI_MSK(0x00000400,uint32_t)) /* System NMI Input Active */
-#define BITM_SEQSTAT_PEIC (_ADI_MSK(0x00000200,uint32_t)) /* Parity Error on Instruction L1 Read for Core */
-#define BITM_SEQSTAT_PEDC (_ADI_MSK(0x00000100,uint32_t)) /* Parity Error on Data L1 Read for Core */
-#define BITM_SEQSTAT_PEIX (_ADI_MSK(0x00000080,uint32_t)) /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITM_SEQSTAT_PEDX (_ADI_MSK(0x00000040,uint32_t)) /* Parity Error on Data L1 Read for L2 Transfer */
-
-#define BITM_SEQSTAT_EXCAUSE (_ADI_MSK(0x0000003F,uint32_t)) /* Holds cause of last-executed exception */
-#define ENUM_SEQSTAT_EXINST (_ADI_MSK(0x00000000,uint32_t)) /* EXCAUSE: EXCPT Instruction */
-#define ENUM_SEQSTAT_SSTEP (_ADI_MSK(0x00000010,uint32_t)) /* EXCAUSE: Single Step */
-#define ENUM_SEQSTAT_EMUTROV (_ADI_MSK(0x00000011,uint32_t)) /* EXCAUSE: Trace Buffer */
-#define ENUM_SEQSTAT_UNDEFINST (_ADI_MSK(0x00000021,uint32_t)) /* EXCAUSE: Undefined Instruction */
-#define ENUM_SEQSTAT_ILLCOMB (_ADI_MSK(0x00000022,uint32_t)) /* EXCAUSE: Illegal Combination */
-#define ENUM_SEQSTAT_DAGPROTVIOL (_ADI_MSK(0x00000023,uint32_t)) /* EXCAUSE: DAG Protection Violation */
-#define ENUM_SEQSTAT_DAGALGN (_ADI_MSK(0x00000024,uint32_t)) /* EXCAUSE: DAG Misaligned Access */
-#define ENUM_SEQSTAT_UNRECOVER (_ADI_MSK(0x00000025,uint32_t)) /* EXCAUSE: Unrecoverable Event */
-#define ENUM_SEQSTAT_DAGCPLBMISS (_ADI_MSK(0x00000026,uint32_t)) /* EXCAUSE: DAG CPLB Miss */
-#define ENUM_SEQSTAT_DAGMCPLBH (_ADI_MSK(0x00000027,uint32_t)) /* EXCAUSE: DAG Multiple CPLB Hits */
-#define ENUM_SEQSTAT_EMUWPMATCH (_ADI_MSK(0x00000028,uint32_t)) /* EXCAUSE: Watchpoint Match */
-#define ENUM_SEQSTAT_IFALGN (_ADI_MSK(0x0000002A,uint32_t)) /* EXCAUSE: I-Fetch Misaligned Access */
-#define ENUM_SEQSTAT_IFPROTVIOL (_ADI_MSK(0x0000002B,uint32_t)) /* EXCAUSE: I-Fetch Protection Violation */
-#define ENUM_SEQSTAT_IFCPLBMISS (_ADI_MSK(0x0000002C,uint32_t)) /* EXCAUSE: I-Fetch CPLB Miss */
-#define ENUM_SEQSTAT_IFMCPLBH (_ADI_MSK(0x0000002D,uint32_t)) /* EXCAUSE: I-Fetch Multiple CPLB Hits */
-#define ENUM_SEQSTAT_PROTVIOL (_ADI_MSK(0x0000002E,uint32_t)) /* EXCAUSE: Illegal use superv. res */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SYSCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SYSCFG_SNEN 2 /* Self-Nesting Interrupt Enable */
-#define BITP_SYSCFG_CCEN 1 /* Enable cycle counter */
-#define BITP_SYSCFG_SSSTEP 0 /* Supervisor single step */
-#define BITM_SYSCFG_SNEN (_ADI_MSK(0x00000004,uint32_t)) /* Self-Nesting Interrupt Enable */
-#define BITM_SYSCFG_CCEN (_ADI_MSK(0x00000002,uint32_t)) /* Enable cycle counter */
-#define BITM_SYSCFG_SSSTEP (_ADI_MSK(0x00000001,uint32_t)) /* Supervisor single step */
-
-/* ==================================================
- CNT Registers
- ================================================== */
-
-/* =========================
- CNT0
- ========================= */
-#define REG_CNT0_CFG 0xFFC00400 /* CNT0 Configuration Register */
-#define REG_CNT0_IMSK 0xFFC00404 /* CNT0 Interrupt Mask Register */
-#define REG_CNT0_STAT 0xFFC00408 /* CNT0 Status Register */
-#define REG_CNT0_CMD 0xFFC0040C /* CNT0 Command Register */
-#define REG_CNT0_DEBNCE 0xFFC00410 /* CNT0 Debounce Register */
-#define REG_CNT0_CNTR 0xFFC00414 /* CNT0 Counter Register */
-#define REG_CNT0_MAX 0xFFC00418 /* CNT0 Maximum Count Register */
-#define REG_CNT0_MIN 0xFFC0041C /* CNT0 Minimum Count Register */
-
-/* =========================
- CNT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CFG_INPDIS 15 /* CUD and CDG Pin Input Disable */
-#define BITP_CNT_CFG_BNDMODE 12 /* Boundary Register Mode */
-#define BITP_CNT_CFG_ZMZC 11 /* CZM Zeroes Counter Enable */
-#define BITP_CNT_CFG_CNTMODE 8 /* Counter Operating Mode */
-#define BITP_CNT_CFG_CZMINV 6 /* CZM Pin Polarity Invert */
-#define BITP_CNT_CFG_CUDINV 5 /* CUD Pin Polarity Invert */
-#define BITP_CNT_CFG_CDGINV 4 /* CDG Pin Polarity Invert */
-#define BITP_CNT_CFG_DEBEN 1 /* Debounce Enable */
-#define BITP_CNT_CFG_EN 0 /* Counter Enable */
-
-#define BITM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* CUD and CDG Pin Input Disable */
-#define ENUM_CNT_CFG_NO_INPDIS (_ADI_MSK(0x00000000,uint16_t)) /* INPDIS: Enable */
-#define ENUM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* INPDIS: Pin Input Disable */
-
-#define BITM_CNT_CFG_BNDMODE (_ADI_MSK(0x00003000,uint16_t)) /* Boundary Register Mode */
-#define ENUM_CNT_CFG_BNDMODE_BNDCOMP (_ADI_MSK(0x00000000,uint16_t)) /* BNDMODE: BND_COMP */
-#define ENUM_CNT_CFG_BNDMODE_BINENC (_ADI_MSK(0x00001000,uint16_t)) /* BNDMODE: BIN_ENC */
-#define ENUM_CNT_CFG_BNDMODE_BNDCAPT (_ADI_MSK(0x00002000,uint16_t)) /* BNDMODE: BND_CAPT */
-#define ENUM_CNT_CFG_BNDMODE_BNDAEXT (_ADI_MSK(0x00003000,uint16_t)) /* BNDMODE: BND_AEXT */
-
-#define BITM_CNT_CFG_ZMZC (_ADI_MSK(0x00000800,uint16_t)) /* CZM Zeroes Counter Enable */
-#define ENUM_CNT_CFG_ZMZC_DIS (_ADI_MSK(0x00000000,uint16_t)) /* ZMZC: Disable */
-#define ENUM_CNT_CFG_ZMZC_EN (_ADI_MSK(0x00000800,uint16_t)) /* ZMZC: Enable */
-
-#define BITM_CNT_CFG_CNTMODE (_ADI_MSK(0x00000700,uint16_t)) /* Counter Operating Mode */
-#define ENUM_CNT_CFG_CNTMODE_QUADENC (_ADI_MSK(0x00000000,uint16_t)) /* CNTMODE: QUAD_ENC */
-#define ENUM_CNT_CFG_CNTMODE_BINENC (_ADI_MSK(0x00000100,uint16_t)) /* CNTMODE: BIN_ENC */
-#define ENUM_CNT_CFG_CNTMODE_UDCNT (_ADI_MSK(0x00000200,uint16_t)) /* CNTMODE: UD_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRCNT (_ADI_MSK(0x00000400,uint16_t)) /* CNTMODE: DIR_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRTMR (_ADI_MSK(0x00000500,uint16_t)) /* CNTMODE: DIR_TMR */
-
-#define BITM_CNT_CFG_CZMINV (_ADI_MSK(0x00000040,uint16_t)) /* CZM Pin Polarity Invert */
-#define ENUM_CNT_CFG_CZMINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CZMINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CZMINV_ALO (_ADI_MSK(0x00000040,uint16_t)) /* CZMINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CUDINV (_ADI_MSK(0x00000020,uint16_t)) /* CUD Pin Polarity Invert */
-#define ENUM_CNT_CFG_CUDINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CUDINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CUDINV_ALO (_ADI_MSK(0x00000020,uint16_t)) /* CUDINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CDGINV (_ADI_MSK(0x00000010,uint16_t)) /* CDG Pin Polarity Invert */
-#define ENUM_CNT_CFG_CDGINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CDGINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CDGINV_ALO (_ADI_MSK(0x00000010,uint16_t)) /* CDGINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* Debounce Enable */
-#define ENUM_CNT_CFG_DEBDIS (_ADI_MSK(0x00000000,uint16_t)) /* DEBEN: Disable */
-#define ENUM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* DEBEN: Enable */
-
-#define BITM_CNT_CFG_EN (_ADI_MSK(0x00000001,uint16_t)) /* Counter Enable */
-#define ENUM_CNT_CFG_CNTDIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Counter Disable */
-#define ENUM_CNT_CFG_CNTEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Counter Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_IMSK_CZMZ 10 /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define BITP_CNT_IMSK_CZME 9 /* Zero Marker Error Interrupt Enable */
-#define BITP_CNT_IMSK_CZM 8 /* CZM Pin / Pushbutton Interrupt Enable */
-#define BITP_CNT_IMSK_CZERO 7 /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define BITP_CNT_IMSK_COV15 6 /* Bit 15 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_COV31 5 /* Bit 31 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_MAXC 4 /* Max Count Interrupt Enable */
-#define BITP_CNT_IMSK_MINC 3 /* Min Count Interrupt Enable */
-#define BITP_CNT_IMSK_DC 2 /* Downcount Interrupt enable */
-#define BITP_CNT_IMSK_UC 1 /* Upcount Interrupt Enable */
-#define BITP_CNT_IMSK_IC 0 /* Illegal Gray/Binary Code Interrupt Enable */
-
-#define BITM_CNT_IMSK_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define ENUM_CNT_IMSK_CZMZ_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZMZ: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZMZ_UMSK (_ADI_MSK(0x00000400,uint16_t)) /* CZMZ: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error Interrupt Enable */
-#define ENUM_CNT_IMSK_CZME_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZME: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZME_UMSK (_ADI_MSK(0x00000200,uint16_t)) /* CZME: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin / Pushbutton Interrupt Enable */
-#define ENUM_CNT_IMSK_CZM_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZM: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZM_UMSK (_ADI_MSK(0x00000100,uint16_t)) /* CZM: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define ENUM_CNT_IMSK_CZERO_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZERO: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZERO_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* CZERO: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV15_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV15: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV15_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* COV15: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV31_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV31: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV31_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* COV31: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MAXC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MAXC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MAXC_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MAXC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MINC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MINC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MINC_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* MINC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount Interrupt enable */
-#define ENUM_CNT_IMSK_DC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* DC: Mask Interrupt */
-#define ENUM_CNT_IMSK_DC_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* DC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount Interrupt Enable */
-#define ENUM_CNT_IMSK_UC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* UC: Mask Interrupt */
-#define ENUM_CNT_IMSK_UC_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* UC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal Gray/Binary Code Interrupt Enable */
-#define ENUM_CNT_IMSK_IC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* IC: Mask Interrupt */
-#define ENUM_CNT_IMSK_IC_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* IC: Unmask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_STAT_CZMZ 10 /* Counter Zeroed By Zero Marker interrupt */
-#define BITP_CNT_STAT_CZME 9 /* Zero Marker Error interrupt */
-#define BITP_CNT_STAT_CZM 8 /* CZM Pin/Pushbutton interrupt */
-#define BITP_CNT_STAT_CZERO 7 /* CNT_CNTR Counts To Zero interrupt */
-#define BITP_CNT_STAT_COV15 6 /* Bit 15 overflow interrupt */
-#define BITP_CNT_STAT_COV31 5 /* Bit 31 overflow interrupt */
-#define BITP_CNT_STAT_MAXC 4 /* Max interrupt */
-#define BITP_CNT_STAT_MINC 3 /* Min interrupt */
-#define BITP_CNT_STAT_DC 2 /* Downcount interrupt */
-#define BITP_CNT_STAT_UC 1 /* Upcount interrupt */
-#define BITP_CNT_STAT_IC 0 /* Illegal gray/binary code interrupt */
-#define BITM_CNT_STAT_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed By Zero Marker interrupt */
-#define BITM_CNT_STAT_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error interrupt */
-#define BITM_CNT_STAT_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin/Pushbutton interrupt */
-#define BITM_CNT_STAT_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero interrupt */
-#define BITM_CNT_STAT_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 overflow interrupt */
-#define BITM_CNT_STAT_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 overflow interrupt */
-#define BITM_CNT_STAT_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max interrupt */
-#define BITM_CNT_STAT_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min interrupt */
-#define BITM_CNT_STAT_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount interrupt */
-#define BITM_CNT_STAT_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount interrupt */
-#define BITM_CNT_STAT_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal gray/binary code interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CMD_W1ZMONCE 12 /* Write 1 Zero Marker Clear Once Enable */
-#define BITP_CNT_CMD_W1LMAXMIN 10 /* Write 1 MAX copy from MIN */
-#define BITP_CNT_CMD_W1LMAXCNT 9 /* Write 1 MAX capture from CNTR */
-#define BITP_CNT_CMD_W1LMAXZERO 8 /* Write 1 MAX to zero */
-#define BITP_CNT_CMD_W1LMINMAX 7 /* Write 1 MIN copy from MAX */
-#define BITP_CNT_CMD_W1LMINCNT 5 /* Write 1 MIN capture from CNTR */
-#define BITP_CNT_CMD_W1LMINZERO 4 /* Write 1 MIN to zero */
-#define BITP_CNT_CMD_W1LCNTMAX 3 /* Write 1 CNTR load from MAX */
-#define BITP_CNT_CMD_W1LCNTMIN 2 /* Write 1 CNTR load from MIN */
-#define BITP_CNT_CMD_W1LCNTZERO 0 /* Write 1 CNTR to zero */
-#define BITM_CNT_CMD_W1ZMONCE (_ADI_MSK(0x00001000,uint16_t)) /* Write 1 Zero Marker Clear Once Enable */
-#define BITM_CNT_CMD_W1LMAXMIN (_ADI_MSK(0x00000400,uint16_t)) /* Write 1 MAX copy from MIN */
-#define BITM_CNT_CMD_W1LMAXCNT (_ADI_MSK(0x00000200,uint16_t)) /* Write 1 MAX capture from CNTR */
-#define BITM_CNT_CMD_W1LMAXZERO (_ADI_MSK(0x00000100,uint16_t)) /* Write 1 MAX to zero */
-#define BITM_CNT_CMD_W1LMINMAX (_ADI_MSK(0x00000080,uint16_t)) /* Write 1 MIN copy from MAX */
-#define BITM_CNT_CMD_W1LMINCNT (_ADI_MSK(0x00000020,uint16_t)) /* Write 1 MIN capture from CNTR */
-#define BITM_CNT_CMD_W1LMINZERO (_ADI_MSK(0x00000010,uint16_t)) /* Write 1 MIN to zero */
-#define BITM_CNT_CMD_W1LCNTMAX (_ADI_MSK(0x00000008,uint16_t)) /* Write 1 CNTR load from MAX */
-#define BITM_CNT_CMD_W1LCNTMIN (_ADI_MSK(0x00000004,uint16_t)) /* Write 1 CNTR load from MIN */
-#define BITM_CNT_CMD_W1LCNTZERO (_ADI_MSK(0x00000001,uint16_t)) /* Write 1 CNTR to zero */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_DEBNCE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_DEBNCE_DPRESCALE 0 /* Debounce Prescale */
-#define BITM_CNT_DEBNCE_DPRESCALE (_ADI_MSK(0x0000001F,uint16_t)) /* Debounce Prescale */
-
-/* ==================================================
- RSI Registers
- ================================================== */
-
-/* =========================
- RSI0
- ========================= */
-#define REG_RSI0_CTL 0xFFC00604 /* RSI0 Control Register */
-#define REG_RSI0_ARG 0xFFC00608 /* RSI0 Argument Register */
-#define REG_RSI0_CMD 0xFFC0060C /* RSI0 Command Register */
-#define REG_RSI0_RESP_CMD 0xFFC00610 /* RSI0 Response Command Register */
-#define REG_RSI0_RESP0 0xFFC00614 /* RSI0 Response 0 Register */
-#define REG_RSI0_RESP1 0xFFC00618 /* RSI0 Response 1 Register */
-#define REG_RSI0_RESP2 0xFFC0061C /* RSI0 Response 2 Register */
-#define REG_RSI0_RESP3 0xFFC00620 /* RSI0 Response 3 Register */
-#define REG_RSI0_DATA_TMR 0xFFC00624 /* RSI0 Data Timer Register */
-#define REG_RSI0_DATA_LEN 0xFFC00628 /* RSI0 Data Length Register */
-#define REG_RSI0_DATA_CTL 0xFFC0062C /* RSI0 Data Control Register */
-#define REG_RSI0_DATA_CNT 0xFFC00630 /* RSI0 Data Count Register */
-#define REG_RSI0_XFRSTAT 0xFFC00634 /* RSI0 Status Register */
-#define REG_RSI0_XFRSTAT_CLR 0xFFC00638 /* RSI0 Status Clear Register */
-#define REG_RSI0_XFR_IMSK0 0xFFC0063C /* RSI0 Interrupt 0 Mask Register */
-#define REG_RSI0_XFR_IMSK1 0xFFC00640 /* RSI0 Interrupt 1 Mask Register */
-#define REG_RSI0_FIFO_CNT 0xFFC00648 /* RSI0 FIFO Counter Register */
-#define REG_RSI0_CEATA 0xFFC0064C /* RSI0 This register contains bit to dis CCS gen */
-#define REG_RSI0_BOOT_TCNTR 0xFFC00650 /* RSI0 Boot Timing Counter Register */
-#define REG_RSI0_BACK_TOUT 0xFFC00654 /* RSI0 Boot Acknowledge Timeout Register */
-#define REG_RSI0_SLP_WKUP_TOUT 0xFFC00658 /* RSI0 Sleep Wakeup Timeout Register */
-#define REG_RSI0_BLKSZ 0xFFC0065C /* RSI0 Block Size Register */
-#define REG_RSI0_FIFO 0xFFC00680 /* RSI0 Data FIFO Register */
-#define REG_RSI0_STAT0 0xFFC006C0 /* RSI0 Exception Status Register */
-#define REG_RSI0_IMSK0 0xFFC006C4 /* RSI0 Exception Mask Register */
-#define REG_RSI0_CFG 0xFFC006C8 /* RSI0 Configuration Register */
-#define REG_RSI0_RD_WAIT 0xFFC006CC /* RSI0 Read Wait Enable Register */
-#define REG_RSI0_PID0 0xFFC006D0 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID1 0xFFC006D4 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID2 0xFFC006D8 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID3 0xFFC006DC /* RSI0 Peripheral Identification Register */
-
-/* =========================
- RSI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CTL_CARDTYPE 13 /* Type of Card */
-#define BITP_RSI_CTL_BUSWID 11 /* Wide Bus Mode Enable */
-#define BITP_RSI_CTL_BYPASS 10 /* Bypass clock divisor */
-#define BITP_RSI_CTL_PWRSAVE 9 /* Power Save Enable */
-#define BITP_RSI_CTL_CLKEN 8 /* RSI_CLK Bus Clock Enable */
-#define BITP_RSI_CTL_CLKDIV 0 /* RSI_CLK Divisor */
-#define BITM_RSI_CTL_CARDTYPE (_ADI_MSK(0x0000E000,uint16_t)) /* Type of Card */
-#define BITM_RSI_CTL_BUSWID (_ADI_MSK(0x00001800,uint16_t)) /* Wide Bus Mode Enable */
-#define BITM_RSI_CTL_BYPASS (_ADI_MSK(0x00000400,uint16_t)) /* Bypass clock divisor */
-#define BITM_RSI_CTL_PWRSAVE (_ADI_MSK(0x00000200,uint16_t)) /* Power Save Enable */
-#define BITM_RSI_CTL_CLKEN (_ADI_MSK(0x00000100,uint16_t)) /* RSI_CLK Bus Clock Enable */
-#define BITM_RSI_CTL_CLKDIV (_ADI_MSK(0x000000FF,uint16_t)) /* RSI_CLK Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CMD_CHKBUSY 12 /* Check Busy Condition */
-#define BITP_RSI_CMD_CRCDIS 11 /* Disable CRC Check */
-#define BITP_RSI_CMD_EN 10 /* Command Enable */
-#define BITP_RSI_CMD_PNDEN 9 /* Command Pending enabled */
-#define BITP_RSI_CMD_IEN 8 /* Command Interrupt Enabled */
-#define BITP_RSI_CMD_LRSP 7 /* Long Response */
-#define BITP_RSI_CMD_RSP 6 /* Response */
-#define BITP_RSI_CMD_IDX 0 /* Command Index */
-#define BITM_RSI_CMD_CHKBUSY (_ADI_MSK(0x00001000,uint16_t)) /* Check Busy Condition */
-#define BITM_RSI_CMD_CRCDIS (_ADI_MSK(0x00000800,uint16_t)) /* Disable CRC Check */
-#define BITM_RSI_CMD_EN (_ADI_MSK(0x00000400,uint16_t)) /* Command Enable */
-#define BITM_RSI_CMD_PNDEN (_ADI_MSK(0x00000200,uint16_t)) /* Command Pending enabled */
-#define BITM_RSI_CMD_IEN (_ADI_MSK(0x00000100,uint16_t)) /* Command Interrupt Enabled */
-#define BITM_RSI_CMD_LRSP (_ADI_MSK(0x00000080,uint16_t)) /* Long Response */
-#define BITM_RSI_CMD_RSP (_ADI_MSK(0x00000040,uint16_t)) /* Response */
-#define BITM_RSI_CMD_IDX (_ADI_MSK(0x0000003F,uint16_t)) /* Command Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RESP_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RESP_CMD_VALUE 0 /* Response Command */
-#define BITM_RSI_RESP_CMD_VALUE (_ADI_MSK(0x0000003F,uint16_t)) /* Response Command */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_DATA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_DATA_CTL_CEATAIEN 9 /* Ceata Command Completion Interrupt Enable */
-#define BITP_RSI_DATA_CTL_CEATAMODE 8 /* Ceata Mode enable */
-#define BITP_RSI_DATA_CTL_DMAEN 3 /* Data Transfer DMA Enable */
-#define BITP_RSI_DATA_CTL_DATMODE 2 /* Data Transfer Mode */
-#define BITP_RSI_DATA_CTL_DATDIR 1 /* Data Transfer Direction */
-#define BITP_RSI_DATA_CTL_DATEN 0 /* Data Transfer Enable */
-#define BITM_RSI_DATA_CTL_CEATAIEN (_ADI_MSK(0x00000200,uint16_t)) /* Ceata Command Completion Interrupt Enable */
-#define BITM_RSI_DATA_CTL_CEATAMODE (_ADI_MSK(0x00000100,uint16_t)) /* Ceata Mode enable */
-#define BITM_RSI_DATA_CTL_DMAEN (_ADI_MSK(0x00000008,uint16_t)) /* Data Transfer DMA Enable */
-#define BITM_RSI_DATA_CTL_DATMODE (_ADI_MSK(0x00000004,uint16_t)) /* Data Transfer Mode */
-#define BITM_RSI_DATA_CTL_DATDIR (_ADI_MSK(0x00000002,uint16_t)) /* Data Transfer Direction */
-#define BITM_RSI_DATA_CTL_DATEN (_ADI_MSK(0x00000001,uint16_t)) /* Data Transfer Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_RXFIFORDY 21 /* Receive FIFO Available */
-#define BITP_RSI_XFRSTAT_TXFIFORDY 20 /* Transmit FIFO Available */
-#define BITP_RSI_XFRSTAT_RXFIFOZERO 19 /* Receive FIFO Empty */
-#define BITP_RSI_XFRSTAT_TXFIFOZERO 18 /* Transmit FIFO Empty */
-#define BITP_RSI_XFRSTAT_RXFIFOFULL 17 /* Receive FIFO Full */
-#define BITP_RSI_XFRSTAT_TXFIFOFULL 16 /* Transmit FIFO Full */
-#define BITP_RSI_XFRSTAT_RXFIFOSTAT 15 /* Receive FIFO Status */
-#define BITP_RSI_XFRSTAT_TXFIFOSTAT 14 /* Transmit FIFO Status */
-#define BITP_RSI_XFRSTAT_RXACT 13 /* Receive Active */
-#define BITP_RSI_XFRSTAT_TXACT 12 /* Transmit Active */
-#define BITP_RSI_XFRSTAT_CMDACT 11 /* Command Active */
-#define BITP_RSI_XFRSTAT_DATBLKEND 10 /* Data Block End */
-#define BITP_RSI_XFRSTAT_SBITERR 9 /* Start Bit Error */
-#define BITP_RSI_XFRSTAT_DATEND 8 /* Data End */
-#define BITP_RSI_XFRSTAT_CMDSENT 7 /* Command Sent */
-#define BITP_RSI_XFRSTAT_RESPEND 6 /* Command Response End */
-#define BITP_RSI_XFRSTAT_RXOVER 5 /* Receive Over run */
-#define BITP_RSI_XFRSTAT_TXUNDR 4 /* Transmit Under run */
-#define BITP_RSI_XFRSTAT_DATTO 3 /* Data Timeout */
-#define BITP_RSI_XFRSTAT_CMDTO 2 /* CMD Timeout */
-#define BITP_RSI_XFRSTAT_DATCRCFAIL 1 /* Data CRC Fail */
-#define BITP_RSI_XFRSTAT_CMDCRCFAIL 0 /* CMD CRC Fail */
-#define BITM_RSI_XFRSTAT_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Receive FIFO Available */
-#define BITM_RSI_XFRSTAT_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Transmit FIFO Available */
-#define BITM_RSI_XFRSTAT_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Receive FIFO Empty */
-#define BITM_RSI_XFRSTAT_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Transmit FIFO Empty */
-#define BITM_RSI_XFRSTAT_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Full */
-#define BITM_RSI_XFRSTAT_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Transmit FIFO Full */
-#define BITM_RSI_XFRSTAT_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Receive FIFO Status */
-#define BITM_RSI_XFRSTAT_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Transmit FIFO Status */
-#define BITM_RSI_XFRSTAT_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Receive Active */
-#define BITM_RSI_XFRSTAT_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Transmit Active */
-#define BITM_RSI_XFRSTAT_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Command Active */
-#define BITM_RSI_XFRSTAT_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Data Block End */
-#define BITM_RSI_XFRSTAT_SBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Start Bit Error */
-#define BITM_RSI_XFRSTAT_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Data End */
-#define BITM_RSI_XFRSTAT_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Command Sent */
-#define BITM_RSI_XFRSTAT_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Command Response End */
-#define BITM_RSI_XFRSTAT_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Receive Over run */
-#define BITM_RSI_XFRSTAT_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Transmit Under run */
-#define BITM_RSI_XFRSTAT_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Data Timeout */
-#define BITM_RSI_XFRSTAT_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* CMD Timeout */
-#define BITM_RSI_XFRSTAT_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Data CRC Fail */
-#define BITM_RSI_XFRSTAT_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_CLR_DATBLKEND 10 /* Data Block End Status */
-#define BITP_RSI_XFRSTAT_CLR_STRTBITERR 9 /* Start Bit Error Status */
-#define BITP_RSI_XFRSTAT_CLR_DATEND 8 /* Data End Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDSENT 7 /* Command Sent Status */
-#define BITP_RSI_XFRSTAT_CLR_RESPEND 6 /* Command Response End Status */
-#define BITP_RSI_XFRSTAT_CLR_RXOVER 5 /* Receive Over run Status */
-#define BITP_RSI_XFRSTAT_CLR_TXUNDR 4 /* Transmit Under run Status */
-#define BITP_RSI_XFRSTAT_CLR_DATTO 3 /* Data Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDTO 2 /* CMD Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_DATCRCFAIL 1 /* Data CRC Fail Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDCRCFAIL 0 /* CMD CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_DATBLKEND (_ADI_MSK(0x00000400,uint16_t)) /* Data Block End Status */
-#define BITM_RSI_XFRSTAT_CLR_STRTBITERR (_ADI_MSK(0x00000200,uint16_t)) /* Start Bit Error Status */
-#define BITM_RSI_XFRSTAT_CLR_DATEND (_ADI_MSK(0x00000100,uint16_t)) /* Data End Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDSENT (_ADI_MSK(0x00000080,uint16_t)) /* Command Sent Status */
-#define BITM_RSI_XFRSTAT_CLR_RESPEND (_ADI_MSK(0x00000040,uint16_t)) /* Command Response End Status */
-#define BITM_RSI_XFRSTAT_CLR_RXOVER (_ADI_MSK(0x00000020,uint16_t)) /* Receive Over run Status */
-#define BITM_RSI_XFRSTAT_CLR_TXUNDR (_ADI_MSK(0x00000010,uint16_t)) /* Transmit Under run Status */
-#define BITM_RSI_XFRSTAT_CLR_DATTO (_ADI_MSK(0x00000008,uint16_t)) /* Data Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDTO (_ADI_MSK(0x00000004,uint16_t)) /* CMD Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_DATCRCFAIL (_ADI_MSK(0x00000002,uint16_t)) /* Data CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDCRCFAIL (_ADI_MSK(0x00000001,uint16_t)) /* CMD CRC Fail Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK0_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK0_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK0_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK0_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK0_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK0_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK0_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK0_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK0_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK0_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK0_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK0_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK0_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK0_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK0_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK0_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK0_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK0_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK0_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK0_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK0_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK0_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK0_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK0_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK0_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK0_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK0_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK0_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK0_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK0_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK0_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK0_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK0_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK0_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK0_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK0_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK0_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK0_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK0_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK0_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK1_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK1_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK1_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK1_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK1_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK1_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK1_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK1_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK1_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK1_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK1_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK1_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK1_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK1_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK1_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK1_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK1_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK1_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK1_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK1_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK1_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK1_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK1_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK1_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK1_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK1_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK1_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK1_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK1_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK1_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK1_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK1_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK1_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK1_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK1_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK1_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK1_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK1_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK1_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK1_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_FIFO_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_FIFO_CNT_VALUE 0 /* FIFO Count */
-#define BITM_RSI_FIFO_CNT_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* FIFO Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CEATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CEATA_INT_DIS 0 /* CEATA Disable Interrupt */
-#define BITM_RSI_CEATA_INT_DIS (_ADI_MSK(0x00000001,uint32_t)) /* CEATA Disable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BOOT_TCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BOOT_TCNTR_HOLD 8 /* Boot Hold Time */
-#define BITP_RSI_BOOT_TCNTR_SETUP 0 /* Boot Setup Time */
-#define BITM_RSI_BOOT_TCNTR_HOLD (_ADI_MSK(0x0000FF00,uint16_t)) /* Boot Hold Time */
-#define BITM_RSI_BOOT_TCNTR_SETUP (_ADI_MSK(0x000000FF,uint16_t)) /* Boot Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BLKSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BLKSZ_VALUE 0 /* Size of Each Block of Data */
-#define BITM_RSI_BLKSZ_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Size of Each Block of Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_STAT0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_STAT0_BUSYMODE 31 /* Card is in Busy mode */
-#define BITP_RSI_STAT0_SLPMODE 30 /* Card in Sleep Mode */
-#define BITP_RSI_STAT0_CARDRDY 17 /* Card Ready */
-#define BITP_RSI_STAT0_SLPWKPTOUT 16 /* Sleep Wakeup Timer Expired */
-#define BITP_RSI_STAT0_WKPDONE 15 /* Card Entered Standby state */
-#define BITP_RSI_STAT0_SLPDONE 14 /* Card Entered Sleep State */
-#define BITP_RSI_STAT0_BACKDONE 13 /* Correct Boot Ack is received */
-#define BITP_RSI_STAT0_BACKBAD 12 /* Boot Ack received is corrupted */
-#define BITP_RSI_STAT0_BACKTO 11 /* Boot Acknowledge Timeout */
-#define BITP_RSI_STAT0_BDATTO 10 /* Boot Data Timeout */
-#define BITP_RSI_STAT0_BHOLDEXP 9 /* Boot Hold Time Expiry */
-#define BITP_RSI_STAT0_BSETUPEXP 8 /* Boot Setup Time Expiry */
-#define BITP_RSI_STAT0_CEATAINT 5 /* CEATA Interrupt */
-#define BITP_RSI_STAT0_SDCARD 4 /* SD Card Detected */
-#define BITP_RSI_STAT0_SDIOINT 1 /* SDIO Interrupt */
-#define BITM_RSI_STAT0_BUSYMODE (_ADI_MSK(0x80000000,uint32_t)) /* Card is in Busy mode */
-#define BITM_RSI_STAT0_SLPMODE (_ADI_MSK(0x40000000,uint32_t)) /* Card in Sleep Mode */
-#define BITM_RSI_STAT0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Card Ready */
-#define BITM_RSI_STAT0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Sleep Wakeup Timer Expired */
-#define BITM_RSI_STAT0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Card Entered Standby state */
-#define BITM_RSI_STAT0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Card Entered Sleep State */
-#define BITM_RSI_STAT0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Correct Boot Ack is received */
-#define BITM_RSI_STAT0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Boot Ack received is corrupted */
-#define BITM_RSI_STAT0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Boot Acknowledge Timeout */
-#define BITM_RSI_STAT0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Boot Data Timeout */
-#define BITM_RSI_STAT0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Boot Hold Time Expiry */
-#define BITM_RSI_STAT0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Boot Setup Time Expiry */
-#define BITM_RSI_STAT0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* CEATA Interrupt */
-#define BITM_RSI_STAT0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* SD Card Detected */
-#define BITM_RSI_STAT0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_IMSK0_CARDRDY 17 /* Mask Interrupt for Card Ready */
-#define BITP_RSI_IMSK0_SLPWKPTOUT 16 /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITP_RSI_IMSK0_WKPDONE 15 /* Mask Interrupt for Card Entered Standby state */
-#define BITP_RSI_IMSK0_SLPDONE 14 /* Mask Interrupt for Card Entered Sleep State */
-#define BITP_RSI_IMSK0_BACKDONE 13 /* Mask Interrupt for Correct Boot Ack is received */
-#define BITP_RSI_IMSK0_BACKBAD 12 /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITP_RSI_IMSK0_BACKTO 11 /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITP_RSI_IMSK0_BDATTO 10 /* Mask Interrupt for Boot Data Timeout */
-#define BITP_RSI_IMSK0_BHOLDEXP 9 /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITP_RSI_IMSK0_BSETUPEXP 8 /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITP_RSI_IMSK0_CEATAINT 5 /* Mask CEATA Interrupt */
-#define BITP_RSI_IMSK0_SDCARD 4 /* Mask Interrupt for SD Card Detected */
-#define BITP_RSI_IMSK0_SDIOINT 1 /* Mask SDIO Interrupt */
-#define BITM_RSI_IMSK0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Mask Interrupt for Card Ready */
-#define BITM_RSI_IMSK0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITM_RSI_IMSK0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Mask Interrupt for Card Entered Standby state */
-#define BITM_RSI_IMSK0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Mask Interrupt for Card Entered Sleep State */
-#define BITM_RSI_IMSK0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Mask Interrupt for Correct Boot Ack is received */
-#define BITM_RSI_IMSK0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITM_RSI_IMSK0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITM_RSI_IMSK0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Mask Interrupt for Boot Data Timeout */
-#define BITM_RSI_IMSK0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITM_RSI_IMSK0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITM_RSI_IMSK0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* Mask CEATA Interrupt */
-#define BITM_RSI_IMSK0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* Mask Interrupt for SD Card Detected */
-#define BITM_RSI_IMSK0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* Mask SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CFG_BACKEN 14 /* Boot Acknowledge enabled */
-#define BITP_RSI_CFG_MMCBMODE 13 /* MMC Boot Mode select */
-#define BITP_RSI_CFG_MMCBEN 12 /* MMC Boot Enabled */
-#define BITP_RSI_CFG_OPENDRAIN 11 /* MC_CMD Output Control */
-#define BITP_RSI_CFG_PWRON 9 /* 11 - RSI Enabled */
-#define BITP_RSI_CFG_IEBYPDIS 8 /* Disabled IE Bypass */
-#define BITP_RSI_CFG_DAT3PUP 6 /* Pull-Up SD_DAT3 */
-#define BITP_RSI_CFG_DATPUP 5 /* Pull-Up SD_DAT */
-#define BITP_RSI_CFG_RST 4 /* SDMMC Reset */
-#define BITP_RSI_CFG_MWINEN 3 /* Moving Window Enable */
-#define BITP_RSI_CFG_SD4EN 2 /* SDIO 4-Bit Enable */
-#define BITP_RSI_CFG_CLKSEN 0 /* Clocks Enable */
-#define BITM_RSI_CFG_BACKEN (_ADI_MSK(0x00004000,uint16_t)) /* Boot Acknowledge enabled */
-#define BITM_RSI_CFG_MMCBMODE (_ADI_MSK(0x00002000,uint16_t)) /* MMC Boot Mode select */
-#define BITM_RSI_CFG_MMCBEN (_ADI_MSK(0x00001000,uint16_t)) /* MMC Boot Enabled */
-#define BITM_RSI_CFG_OPENDRAIN (_ADI_MSK(0x00000800,uint16_t)) /* MC_CMD Output Control */
-#define BITM_RSI_CFG_PWRON (_ADI_MSK(0x00000600,uint16_t)) /* 11 - RSI Enabled */
-#define BITM_RSI_CFG_IEBYPDIS (_ADI_MSK(0x00000100,uint16_t)) /* Disabled IE Bypass */
-#define BITM_RSI_CFG_DAT3PUP (_ADI_MSK(0x00000040,uint16_t)) /* Pull-Up SD_DAT3 */
-#define BITM_RSI_CFG_DATPUP (_ADI_MSK(0x00000020,uint16_t)) /* Pull-Up SD_DAT */
-#define BITM_RSI_CFG_RST (_ADI_MSK(0x00000010,uint16_t)) /* SDMMC Reset */
-#define BITM_RSI_CFG_MWINEN (_ADI_MSK(0x00000008,uint16_t)) /* Moving Window Enable */
-#define BITM_RSI_CFG_SD4EN (_ADI_MSK(0x00000004,uint16_t)) /* SDIO 4-Bit Enable */
-#define BITM_RSI_CFG_CLKSEN (_ADI_MSK(0x00000001,uint16_t)) /* Clocks Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RD_WAIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RD_WAIT_REQUEST 0 /* Read Wait Request */
-#define BITM_RSI_RD_WAIT_REQUEST (_ADI_MSK(0x00000001,uint16_t)) /* Read Wait Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID0_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID0_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID1_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID1_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID2_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID2_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID3_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID3_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ==================================================
- Controller Area Network Registers
- ================================================== */
-
-/* =========================
- CAN0
- ========================= */
-#define REG_CAN0_MC1 0xFFC00A00 /* CAN0 Mailbox Configuration 1 Register */
-#define REG_CAN0_MD1 0xFFC00A04 /* CAN0 Mailbox Direction 1 Register */
-#define REG_CAN0_TRS1 0xFFC00A08 /* CAN0 Transmission Request Set 1 Register */
-#define REG_CAN0_TRR1 0xFFC00A0C /* CAN0 Transmission Request Reset 1 Register */
-#define REG_CAN0_TA1 0xFFC00A10 /* CAN0 Transmission Acknowledge 1 Register */
-#define REG_CAN0_AA1 0xFFC00A14 /* CAN0 Abort Acknowledge 1 Register */
-#define REG_CAN0_RMP1 0xFFC00A18 /* CAN0 Receive Message Pending 1 Register */
-#define REG_CAN0_RML1 0xFFC00A1C /* CAN0 Receive Message Lost 1 Register */
-#define REG_CAN0_MBTIF1 0xFFC00A20 /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define REG_CAN0_MBRIF1 0xFFC00A24 /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define REG_CAN0_MBIM1 0xFFC00A28 /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define REG_CAN0_RFH1 0xFFC00A2C /* CAN0 Remote Frame Handling 1 Register */
-#define REG_CAN0_OPSS1 0xFFC00A30 /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define REG_CAN0_MC2 0xFFC00A40 /* CAN0 Mailbox Configuration 2 Register */
-#define REG_CAN0_MD2 0xFFC00A44 /* CAN0 Mailbox Direction 2 Register */
-#define REG_CAN0_TRS2 0xFFC00A48 /* CAN0 Transmission Request Set 2 Register */
-#define REG_CAN0_TRR2 0xFFC00A4C /* CAN0 Transmission Request Reset 2 Register */
-#define REG_CAN0_TA2 0xFFC00A50 /* CAN0 Transmission Acknowledge 2 Register */
-#define REG_CAN0_AA2 0xFFC00A54 /* CAN0 Abort Acknowledge 2 Register */
-#define REG_CAN0_RMP2 0xFFC00A58 /* CAN0 Receive Message Pending 2 Register */
-#define REG_CAN0_RML2 0xFFC00A5C /* CAN0 Receive Message Lost 2 Register */
-#define REG_CAN0_MBTIF2 0xFFC00A60 /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define REG_CAN0_MBRIF2 0xFFC00A64 /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define REG_CAN0_MBIM2 0xFFC00A68 /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define REG_CAN0_RFH2 0xFFC00A6C /* CAN0 Remote Frame Handling 2 Register */
-#define REG_CAN0_OPSS2 0xFFC00A70 /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define REG_CAN0_CLK 0xFFC00A80 /* CAN0 Clock Register */
-#define REG_CAN0_TIMING 0xFFC00A84 /* CAN0 Timing Register */
-#define REG_CAN0_DBG 0xFFC00A88 /* CAN0 Debug Register */
-#define REG_CAN0_STAT 0xFFC00A8C /* CAN0 Status Register */
-#define REG_CAN0_CEC 0xFFC00A90 /* CAN0 Error Counter Register */
-#define REG_CAN0_GIS 0xFFC00A94 /* CAN0 Global CAN Interrupt Status Register */
-#define REG_CAN0_GIM 0xFFC00A98 /* CAN0 Global CAN Interrupt Mask Register */
-#define REG_CAN0_GIF 0xFFC00A9C /* CAN0 Global CAN Interrupt Flag Register */
-#define REG_CAN0_CTL 0xFFC00AA0 /* CAN0 CAN Master Control Register */
-#define REG_CAN0_INT 0xFFC00AA4 /* CAN0 Interrupt Pending Register */
-#define REG_CAN0_MBTD 0xFFC00AAC /* CAN0 Temporary Mailbox Disable Register */
-#define REG_CAN0_EWR 0xFFC00AB0 /* CAN0 Error Counter Warning Level Register */
-#define REG_CAN0_ESR 0xFFC00AB4 /* CAN0 Error Status Register */
-#define REG_CAN0_UCCNT 0xFFC00AC4 /* CAN0 Universal Counter Register */
-#define REG_CAN0_UCRC 0xFFC00AC8 /* CAN0 Universal Counter Reload/Capture Register */
-#define REG_CAN0_UCCNF 0xFFC00ACC /* CAN0 Universal Counter Configuration Mode Register */
-#define REG_CAN0_AM00L 0xFFC00B00 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM01L 0xFFC00B08 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM02L 0xFFC00B10 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM03L 0xFFC00B18 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM04L 0xFFC00B20 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM05L 0xFFC00B28 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM06L 0xFFC00B30 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM07L 0xFFC00B38 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM08L 0xFFC00B40 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM09L 0xFFC00B48 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM10L 0xFFC00B50 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM11L 0xFFC00B58 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM12L 0xFFC00B60 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM13L 0xFFC00B68 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM14L 0xFFC00B70 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM15L 0xFFC00B78 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM16L 0xFFC00B80 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM17L 0xFFC00B88 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM18L 0xFFC00B90 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM19L 0xFFC00B98 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM20L 0xFFC00BA0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM21L 0xFFC00BA8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM22L 0xFFC00BB0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM23L 0xFFC00BB8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM24L 0xFFC00BC0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM25L 0xFFC00BC8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM26L 0xFFC00BD0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM27L 0xFFC00BD8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM28L 0xFFC00BE0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM29L 0xFFC00BE8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM30L 0xFFC00BF0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM31L 0xFFC00BF8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM00H 0xFFC00B04 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM01H 0xFFC00B0C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM02H 0xFFC00B14 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM03H 0xFFC00B1C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM04H 0xFFC00B24 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM05H 0xFFC00B2C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM06H 0xFFC00B34 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM07H 0xFFC00B3C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM08H 0xFFC00B44 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM09H 0xFFC00B4C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM10H 0xFFC00B54 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM11H 0xFFC00B5C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM12H 0xFFC00B64 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM13H 0xFFC00B6C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM14H 0xFFC00B74 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM15H 0xFFC00B7C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM16H 0xFFC00B84 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM17H 0xFFC00B8C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM18H 0xFFC00B94 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM19H 0xFFC00B9C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM20H 0xFFC00BA4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM21H 0xFFC00BAC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM22H 0xFFC00BB4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM23H 0xFFC00BBC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM24H 0xFFC00BC4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM25H 0xFFC00BCC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM26H 0xFFC00BD4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM27H 0xFFC00BDC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM28H 0xFFC00BE4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM29H 0xFFC00BEC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM30H 0xFFC00BF4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM31H 0xFFC00BFC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_MB00_DATA0 0xFFC00C00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB01_DATA0 0xFFC00C20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB02_DATA0 0xFFC00C40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB03_DATA0 0xFFC00C60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB04_DATA0 0xFFC00C80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB05_DATA0 0xFFC00CA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB06_DATA0 0xFFC00CC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB07_DATA0 0xFFC00CE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB08_DATA0 0xFFC00D00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB09_DATA0 0xFFC00D20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB10_DATA0 0xFFC00D40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB11_DATA0 0xFFC00D60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB12_DATA0 0xFFC00D80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB13_DATA0 0xFFC00DA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB14_DATA0 0xFFC00DC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB15_DATA0 0xFFC00DE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB16_DATA0 0xFFC00E00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB17_DATA0 0xFFC00E20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB18_DATA0 0xFFC00E40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB19_DATA0 0xFFC00E60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB20_DATA0 0xFFC00E80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB21_DATA0 0xFFC00EA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB22_DATA0 0xFFC00EC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB23_DATA0 0xFFC00EE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB24_DATA0 0xFFC00F00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB25_DATA0 0xFFC00F20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB26_DATA0 0xFFC00F40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB27_DATA0 0xFFC00F60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB28_DATA0 0xFFC00F80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB29_DATA0 0xFFC00FA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB30_DATA0 0xFFC00FC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB31_DATA0 0xFFC00FE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB00_DATA1 0xFFC00C04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB01_DATA1 0xFFC00C24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB02_DATA1 0xFFC00C44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB03_DATA1 0xFFC00C64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB04_DATA1 0xFFC00C84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB05_DATA1 0xFFC00CA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB06_DATA1 0xFFC00CC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB07_DATA1 0xFFC00CE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB08_DATA1 0xFFC00D04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB09_DATA1 0xFFC00D24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB10_DATA1 0xFFC00D44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB11_DATA1 0xFFC00D64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB12_DATA1 0xFFC00D84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB13_DATA1 0xFFC00DA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB14_DATA1 0xFFC00DC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB15_DATA1 0xFFC00DE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB16_DATA1 0xFFC00E04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB17_DATA1 0xFFC00E24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB18_DATA1 0xFFC00E44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB19_DATA1 0xFFC00E64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB20_DATA1 0xFFC00E84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB21_DATA1 0xFFC00EA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB22_DATA1 0xFFC00EC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB23_DATA1 0xFFC00EE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB24_DATA1 0xFFC00F04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB25_DATA1 0xFFC00F24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB26_DATA1 0xFFC00F44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB27_DATA1 0xFFC00F64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB28_DATA1 0xFFC00F84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB29_DATA1 0xFFC00FA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB30_DATA1 0xFFC00FC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB31_DATA1 0xFFC00FE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB00_DATA2 0xFFC00C08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB01_DATA2 0xFFC00C28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB02_DATA2 0xFFC00C48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB03_DATA2 0xFFC00C68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB04_DATA2 0xFFC00C88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB05_DATA2 0xFFC00CA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB06_DATA2 0xFFC00CC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB07_DATA2 0xFFC00CE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB08_DATA2 0xFFC00D08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB09_DATA2 0xFFC00D28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB10_DATA2 0xFFC00D48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB11_DATA2 0xFFC00D68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB12_DATA2 0xFFC00D88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB13_DATA2 0xFFC00DA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB14_DATA2 0xFFC00DC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB15_DATA2 0xFFC00DE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB16_DATA2 0xFFC00E08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB17_DATA2 0xFFC00E28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB18_DATA2 0xFFC00E48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB19_DATA2 0xFFC00E68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB20_DATA2 0xFFC00E88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB21_DATA2 0xFFC00EA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB22_DATA2 0xFFC00EC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB23_DATA2 0xFFC00EE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB24_DATA2 0xFFC00F08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB25_DATA2 0xFFC00F28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB26_DATA2 0xFFC00F48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB27_DATA2 0xFFC00F68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB28_DATA2 0xFFC00F88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB29_DATA2 0xFFC00FA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB30_DATA2 0xFFC00FC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB31_DATA2 0xFFC00FE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB00_DATA3 0xFFC00C0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB01_DATA3 0xFFC00C2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB02_DATA3 0xFFC00C4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB03_DATA3 0xFFC00C6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB04_DATA3 0xFFC00C8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB05_DATA3 0xFFC00CAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB06_DATA3 0xFFC00CCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB07_DATA3 0xFFC00CEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB08_DATA3 0xFFC00D0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB09_DATA3 0xFFC00D2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB10_DATA3 0xFFC00D4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB11_DATA3 0xFFC00D6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB12_DATA3 0xFFC00D8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB13_DATA3 0xFFC00DAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB14_DATA3 0xFFC00DCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB15_DATA3 0xFFC00DEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB16_DATA3 0xFFC00E0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB17_DATA3 0xFFC00E2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB18_DATA3 0xFFC00E4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB19_DATA3 0xFFC00E6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB20_DATA3 0xFFC00E8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB21_DATA3 0xFFC00EAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB22_DATA3 0xFFC00ECC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB23_DATA3 0xFFC00EEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB24_DATA3 0xFFC00F0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB25_DATA3 0xFFC00F2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB26_DATA3 0xFFC00F4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB27_DATA3 0xFFC00F6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB28_DATA3 0xFFC00F8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB29_DATA3 0xFFC00FAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB30_DATA3 0xFFC00FCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB31_DATA3 0xFFC00FEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB00_LENGTH 0xFFC00C10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB01_LENGTH 0xFFC00C30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB02_LENGTH 0xFFC00C50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB03_LENGTH 0xFFC00C70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB04_LENGTH 0xFFC00C90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB05_LENGTH 0xFFC00CB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB06_LENGTH 0xFFC00CD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB07_LENGTH 0xFFC00CF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB08_LENGTH 0xFFC00D10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB09_LENGTH 0xFFC00D30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB10_LENGTH 0xFFC00D50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB11_LENGTH 0xFFC00D70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB12_LENGTH 0xFFC00D90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB13_LENGTH 0xFFC00DB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB14_LENGTH 0xFFC00DD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB15_LENGTH 0xFFC00DF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB16_LENGTH 0xFFC00E10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB17_LENGTH 0xFFC00E30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB18_LENGTH 0xFFC00E50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB19_LENGTH 0xFFC00E70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB20_LENGTH 0xFFC00E90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB21_LENGTH 0xFFC00EB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB22_LENGTH 0xFFC00ED0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB23_LENGTH 0xFFC00EF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB24_LENGTH 0xFFC00F10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB25_LENGTH 0xFFC00F30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB26_LENGTH 0xFFC00F50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB27_LENGTH 0xFFC00F70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB28_LENGTH 0xFFC00F90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB29_LENGTH 0xFFC00FB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB30_LENGTH 0xFFC00FD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB31_LENGTH 0xFFC00FF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB00_TIMESTAMP 0xFFC00C14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB01_TIMESTAMP 0xFFC00C34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB02_TIMESTAMP 0xFFC00C54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB03_TIMESTAMP 0xFFC00C74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB04_TIMESTAMP 0xFFC00C94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB05_TIMESTAMP 0xFFC00CB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB06_TIMESTAMP 0xFFC00CD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB07_TIMESTAMP 0xFFC00CF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB08_TIMESTAMP 0xFFC00D14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB09_TIMESTAMP 0xFFC00D34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB10_TIMESTAMP 0xFFC00D54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB11_TIMESTAMP 0xFFC00D74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB12_TIMESTAMP 0xFFC00D94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB13_TIMESTAMP 0xFFC00DB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB14_TIMESTAMP 0xFFC00DD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB15_TIMESTAMP 0xFFC00DF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB16_TIMESTAMP 0xFFC00E14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB17_TIMESTAMP 0xFFC00E34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB18_TIMESTAMP 0xFFC00E54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB19_TIMESTAMP 0xFFC00E74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB20_TIMESTAMP 0xFFC00E94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB21_TIMESTAMP 0xFFC00EB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB22_TIMESTAMP 0xFFC00ED4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB23_TIMESTAMP 0xFFC00EF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB24_TIMESTAMP 0xFFC00F14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB25_TIMESTAMP 0xFFC00F34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB26_TIMESTAMP 0xFFC00F54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB27_TIMESTAMP 0xFFC00F74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB28_TIMESTAMP 0xFFC00F94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB29_TIMESTAMP 0xFFC00FB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB30_TIMESTAMP 0xFFC00FD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB31_TIMESTAMP 0xFFC00FF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB00_ID0 0xFFC00C18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB01_ID0 0xFFC00C38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB02_ID0 0xFFC00C58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB03_ID0 0xFFC00C78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB04_ID0 0xFFC00C98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB05_ID0 0xFFC00CB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB06_ID0 0xFFC00CD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB07_ID0 0xFFC00CF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB08_ID0 0xFFC00D18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB09_ID0 0xFFC00D38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB10_ID0 0xFFC00D58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB11_ID0 0xFFC00D78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB12_ID0 0xFFC00D98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB13_ID0 0xFFC00DB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB14_ID0 0xFFC00DD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB15_ID0 0xFFC00DF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB16_ID0 0xFFC00E18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB17_ID0 0xFFC00E38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB18_ID0 0xFFC00E58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB19_ID0 0xFFC00E78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB20_ID0 0xFFC00E98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB21_ID0 0xFFC00EB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB22_ID0 0xFFC00ED8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB23_ID0 0xFFC00EF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB24_ID0 0xFFC00F18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB25_ID0 0xFFC00F38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB26_ID0 0xFFC00F58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB27_ID0 0xFFC00F78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB28_ID0 0xFFC00F98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB29_ID0 0xFFC00FB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB30_ID0 0xFFC00FD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB31_ID0 0xFFC00FF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB00_ID1 0xFFC00C1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB01_ID1 0xFFC00C3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB02_ID1 0xFFC00C5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB03_ID1 0xFFC00C7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB04_ID1 0xFFC00C9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB05_ID1 0xFFC00CBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB06_ID1 0xFFC00CDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB07_ID1 0xFFC00CFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB08_ID1 0xFFC00D1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB09_ID1 0xFFC00D3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB10_ID1 0xFFC00D5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB11_ID1 0xFFC00D7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB12_ID1 0xFFC00D9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB13_ID1 0xFFC00DBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB14_ID1 0xFFC00DDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB15_ID1 0xFFC00DFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB16_ID1 0xFFC00E1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB17_ID1 0xFFC00E3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB18_ID1 0xFFC00E5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB19_ID1 0xFFC00E7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB20_ID1 0xFFC00E9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB21_ID1 0xFFC00EBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB22_ID1 0xFFC00EDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB23_ID1 0xFFC00EFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB24_ID1 0xFFC00F1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB25_ID1 0xFFC00F3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB26_ID1 0xFFC00F5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB27_ID1 0xFFC00F7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB28_ID1 0xFFC00F9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB29_ID1 0xFFC00FBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB30_ID1 0xFFC00FDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB31_ID1 0xFFC00FFC /* CAN0 Mailbox ID 1 Register */
-
-/* =========================
- CAN
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC1_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD1_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS1_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR1_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA1_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA1_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP1_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML1_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF1_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF1_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM1_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH1_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS1_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC2_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD2_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS2_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR2_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA2_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA2_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP2_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML2_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF2_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF2_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM2_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH2_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS2_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CLK_BRP 0 /* Bit Rate Prescaler */
-#define BITM_CAN_CLK_BRP (_ADI_MSK(0x000003FF,uint16_t)) /* Bit Rate Prescaler */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TIMING Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TIMING_SJW 8 /* Synchronization Jump Width */
-#define BITP_CAN_TIMING_SAM 7 /* Sampling */
-#define BITP_CAN_TIMING_TSEG2 4 /* Time Segment 2 */
-#define BITP_CAN_TIMING_TSEG1 0 /* Time Segment 1 */
-#define BITM_CAN_TIMING_SJW (_ADI_MSK(0x00000300,uint16_t)) /* Synchronization Jump Width */
-#define BITM_CAN_TIMING_SAM (_ADI_MSK(0x00000080,uint16_t)) /* Sampling */
-#define BITM_CAN_TIMING_TSEG2 (_ADI_MSK(0x00000070,uint16_t)) /* Time Segment 2 */
-#define BITM_CAN_TIMING_TSEG1 (_ADI_MSK(0x0000000F,uint16_t)) /* Time Segment 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_DBG_CDE 15 /* CAN Debug Mode Enable */
-#define BITP_CAN_DBG_MRB 5 /* Mode Read Back */
-#define BITP_CAN_DBG_MAA 4 /* Mode Auto Acknowledge */
-#define BITP_CAN_DBG_DIL 3 /* Disable Internal Loop */
-#define BITP_CAN_DBG_DTO 2 /* Disable Tx Output Pin */
-#define BITP_CAN_DBG_DRI 1 /* Disable Receive Input Pin */
-#define BITP_CAN_DBG_DEC 0 /* Disable Transmit and Receive Error Counters */
-#define BITM_CAN_DBG_CDE (_ADI_MSK(0x00008000,uint16_t)) /* CAN Debug Mode Enable */
-#define BITM_CAN_DBG_MRB (_ADI_MSK(0x00000020,uint16_t)) /* Mode Read Back */
-#define BITM_CAN_DBG_MAA (_ADI_MSK(0x00000010,uint16_t)) /* Mode Auto Acknowledge */
-#define BITM_CAN_DBG_DIL (_ADI_MSK(0x00000008,uint16_t)) /* Disable Internal Loop */
-#define BITM_CAN_DBG_DTO (_ADI_MSK(0x00000004,uint16_t)) /* Disable Tx Output Pin */
-#define BITM_CAN_DBG_DRI (_ADI_MSK(0x00000002,uint16_t)) /* Disable Receive Input Pin */
-#define BITM_CAN_DBG_DEC (_ADI_MSK(0x00000001,uint16_t)) /* Disable Transmit and Receive Error Counters */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_STAT_REC 15 /* Receive Mode */
-#define BITP_CAN_STAT_TRM 14 /* Transmit Mode */
-#define BITP_CAN_STAT_MBPTR 8 /* Mailbox Pointer */
-#define BITP_CAN_STAT_CCA 7 /* CAN Configuration Mode Acknowledge */
-#define BITP_CAN_STAT_CSA 6 /* CAN Suspend Mode Acknowledge */
-#define BITP_CAN_STAT_EBO 3 /* CAN Error Bus Off Mode */
-#define BITP_CAN_STAT_EP 2 /* CAN Error Passive Mode */
-#define BITP_CAN_STAT_WR 1 /* CAN Receive Warning Flag */
-#define BITP_CAN_STAT_WT 0 /* CAN Transmit Warning Flag */
-#define BITM_CAN_STAT_REC (_ADI_MSK(0x00008000,uint16_t)) /* Receive Mode */
-#define BITM_CAN_STAT_TRM (_ADI_MSK(0x00004000,uint16_t)) /* Transmit Mode */
-#define BITM_CAN_STAT_MBPTR (_ADI_MSK(0x00001F00,uint16_t)) /* Mailbox Pointer */
-#define BITM_CAN_STAT_CCA (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Acknowledge */
-#define BITM_CAN_STAT_CSA (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Acknowledge */
-#define BITM_CAN_STAT_EBO (_ADI_MSK(0x00000008,uint16_t)) /* CAN Error Bus Off Mode */
-#define BITM_CAN_STAT_EP (_ADI_MSK(0x00000004,uint16_t)) /* CAN Error Passive Mode */
-#define BITM_CAN_STAT_WR (_ADI_MSK(0x00000002,uint16_t)) /* CAN Receive Warning Flag */
-#define BITM_CAN_STAT_WT (_ADI_MSK(0x00000001,uint16_t)) /* CAN Transmit Warning Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CEC_TXECNT 8 /* Transmit Error Counter */
-#define BITP_CAN_CEC_RXECNT 0 /* Receive Error Counter */
-#define BITM_CAN_CEC_TXECNT (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Counter */
-#define BITM_CAN_CEC_RXECNT (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Counter */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIS_ADIS 10 /* Access Denied Interrupt Status */
-#define BITP_CAN_GIS_UCEIS 8 /* Universal Counter Exceeded Interrupt Status */
-#define BITP_CAN_GIS_RMLIS 7 /* Receive Message Lost Interrupt Status */
-#define BITP_CAN_GIS_AAIS 6 /* Abort Acknowledge Interrupt Status */
-#define BITP_CAN_GIS_UIAIS 5 /* Unimplemented Address Interrupt Status */
-#define BITP_CAN_GIS_WUIS 4 /* Wake Up Interrupt Status */
-#define BITP_CAN_GIS_BOIS 3 /* Bus Off Interrupt Status */
-#define BITP_CAN_GIS_EPIS 2 /* Error Passive Interrupt Status */
-#define BITP_CAN_GIS_EWRIS 1 /* Error Warning Receive Interrupt Status */
-#define BITP_CAN_GIS_EWTIS 0 /* Error Warning Transmit Interrupt Status */
-#define BITM_CAN_GIS_ADIS (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Status */
-#define BITM_CAN_GIS_UCEIS (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Status */
-#define BITM_CAN_GIS_RMLIS (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Status */
-#define BITM_CAN_GIS_AAIS (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Status */
-#define BITM_CAN_GIS_UIAIS (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Status */
-#define BITM_CAN_GIS_WUIS (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Status */
-#define BITM_CAN_GIS_BOIS (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Status */
-#define BITM_CAN_GIS_EPIS (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Status */
-#define BITM_CAN_GIS_EWRIS (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Status */
-#define BITM_CAN_GIS_EWTIS (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIM_ADIM 10 /* Access Denied Interrupt Mask */
-#define BITP_CAN_GIM_UCEIM 8 /* Universal Counter Exceeded Interrupt Mask */
-#define BITP_CAN_GIM_RMLIM 7 /* Receive Message Lost Interrupt Mask */
-#define BITP_CAN_GIM_AAIM 6 /* Abort Acknowledge Interrupt Mask */
-#define BITP_CAN_GIM_UIAIM 5 /* Unimplemented Address Interrupt Mask */
-#define BITP_CAN_GIM_WUIM 4 /* Wake Up Interrupt Mask */
-#define BITP_CAN_GIM_BOIM 3 /* Bus Off Interrupt Mask */
-#define BITP_CAN_GIM_EPIM 2 /* Error Passive Interrupt Mask */
-#define BITP_CAN_GIM_EWRIM 1 /* Error Warning Receive Interrupt Mask */
-#define BITP_CAN_GIM_EWTIM 0 /* Error Warning Transmit Interrupt Mask */
-#define BITM_CAN_GIM_ADIM (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Mask */
-#define BITM_CAN_GIM_UCEIM (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Mask */
-#define BITM_CAN_GIM_RMLIM (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Mask */
-#define BITM_CAN_GIM_AAIM (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Mask */
-#define BITM_CAN_GIM_UIAIM (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Mask */
-#define BITM_CAN_GIM_WUIM (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Mask */
-#define BITM_CAN_GIM_BOIM (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Mask */
-#define BITM_CAN_GIM_EPIM (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Mask */
-#define BITM_CAN_GIM_EWRIM (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Mask */
-#define BITM_CAN_GIM_EWTIM (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIF_ADIF 10 /* Access Denied Interrupt Flag */
-#define BITP_CAN_GIF_UCEIF 8 /* Universal Counter Exceeded Interrupt Flag */
-#define BITP_CAN_GIF_RMLIF 7 /* Receive Message Lost Interrupt Flag */
-#define BITP_CAN_GIF_AAIF 6 /* Abort Acknowledge Interrupt Flag */
-#define BITP_CAN_GIF_UIAIF 5 /* Unimplemented Address Interrupt Flag */
-#define BITP_CAN_GIF_WUIF 4 /* Wake Up Interrupt Flag */
-#define BITP_CAN_GIF_BOIF 3 /* Bus Off Interrupt Flag */
-#define BITP_CAN_GIF_EPIF 2 /* Error Passive Interrupt Flag */
-#define BITP_CAN_GIF_EWRIF 1 /* Error Warning Receive Interrupt Flag */
-#define BITP_CAN_GIF_EWTIF 0 /* Error Warning Transmit Interrupt Flag */
-#define BITM_CAN_GIF_ADIF (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Flag */
-#define BITM_CAN_GIF_UCEIF (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Flag */
-#define BITM_CAN_GIF_RMLIF (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Flag */
-#define BITM_CAN_GIF_AAIF (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Flag */
-#define BITM_CAN_GIF_UIAIF (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Flag */
-#define BITM_CAN_GIF_WUIF (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Flag */
-#define BITM_CAN_GIF_BOIF (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Flag */
-#define BITM_CAN_GIF_EPIF (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Flag */
-#define BITM_CAN_GIF_EWRIF (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Flag */
-#define BITM_CAN_GIF_EWTIF (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CTL_CCR 7 /* CAN Configuration Mode Request */
-#define BITP_CAN_CTL_CSR 6 /* CAN Suspend Mode Request */
-#define BITP_CAN_CTL_SMR 5 /* Sleep Mode Request */
-#define BITP_CAN_CTL_WBA 4 /* Wake Up on CAN Bus Activity */
-#define BITP_CAN_CTL_ABO 2 /* Auto Bus On */
-#define BITP_CAN_CTL_DNM 1 /* Device Net Mode */
-#define BITP_CAN_CTL_SRS 0 /* Software Reset */
-#define BITM_CAN_CTL_CCR (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Request */
-#define BITM_CAN_CTL_CSR (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Request */
-#define BITM_CAN_CTL_SMR (_ADI_MSK(0x00000020,uint16_t)) /* Sleep Mode Request */
-#define BITM_CAN_CTL_WBA (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up on CAN Bus Activity */
-#define BITM_CAN_CTL_ABO (_ADI_MSK(0x00000004,uint16_t)) /* Auto Bus On */
-#define BITM_CAN_CTL_DNM (_ADI_MSK(0x00000002,uint16_t)) /* Device Net Mode */
-#define BITM_CAN_CTL_SRS (_ADI_MSK(0x00000001,uint16_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_INT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_INT_CANRX 7 /* Serial Input From Transceiver */
-#define BITP_CAN_INT_CANTX 6 /* Serial Input To Transceiver */
-#define BITP_CAN_INT_SMACK 3 /* Sleep Mode Acknowledge */
-#define BITP_CAN_INT_GIRQ 2 /* Global CAN Interrupt Output */
-#define BITP_CAN_INT_MBTIRQ 1 /* Mailbox Transmit Interrupt Output */
-#define BITP_CAN_INT_MBRIRQ 0 /* Mailbox Receive Interrupt Output */
-#define BITM_CAN_INT_CANRX (_ADI_MSK(0x00000080,uint16_t)) /* Serial Input From Transceiver */
-#define BITM_CAN_INT_CANTX (_ADI_MSK(0x00000040,uint16_t)) /* Serial Input To Transceiver */
-#define BITM_CAN_INT_SMACK (_ADI_MSK(0x00000008,uint16_t)) /* Sleep Mode Acknowledge */
-#define BITM_CAN_INT_GIRQ (_ADI_MSK(0x00000004,uint16_t)) /* Global CAN Interrupt Output */
-#define BITM_CAN_INT_MBTIRQ (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox Transmit Interrupt Output */
-#define BITM_CAN_INT_MBRIRQ (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox Receive Interrupt Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTD_TDR 7 /* Temporary Disable Request */
-#define BITP_CAN_MBTD_TDA 6 /* Temporary Disable Acknowledge */
-#define BITP_CAN_MBTD_TDPTR 0 /* Temporary Disable Pointer */
-#define BITM_CAN_MBTD_TDR (_ADI_MSK(0x00000080,uint16_t)) /* Temporary Disable Request */
-#define BITM_CAN_MBTD_TDA (_ADI_MSK(0x00000040,uint16_t)) /* Temporary Disable Acknowledge */
-#define BITM_CAN_MBTD_TDPTR (_ADI_MSK(0x0000001F,uint16_t)) /* Temporary Disable Pointer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_EWR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_EWR_EWLTEC 8 /* Transmit Error Warning Limit */
-#define BITP_CAN_EWR_EWLREC 0 /* Receive Error Warning Limit */
-#define BITM_CAN_EWR_EWLTEC (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Warning Limit */
-#define BITM_CAN_EWR_EWLREC (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Warning Limit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_ESR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_ESR_FER 7 /* Form Error */
-#define BITP_CAN_ESR_BEF 6 /* Bit Error Flag */
-#define BITP_CAN_ESR_SAO 5 /* Stuck at Dominant */
-#define BITP_CAN_ESR_CRCE 4 /* CRC Error */
-#define BITP_CAN_ESR_SER 3 /* Stuff Bit Error */
-#define BITP_CAN_ESR_ACKE 2 /* Acknowledge Error */
-#define BITM_CAN_ESR_FER (_ADI_MSK(0x00000080,uint16_t)) /* Form Error */
-#define BITM_CAN_ESR_BEF (_ADI_MSK(0x00000040,uint16_t)) /* Bit Error Flag */
-#define BITM_CAN_ESR_SAO (_ADI_MSK(0x00000020,uint16_t)) /* Stuck at Dominant */
-#define BITM_CAN_ESR_CRCE (_ADI_MSK(0x00000010,uint16_t)) /* CRC Error */
-#define BITM_CAN_ESR_SER (_ADI_MSK(0x00000008,uint16_t)) /* Stuff Bit Error */
-#define BITM_CAN_ESR_ACKE (_ADI_MSK(0x00000004,uint16_t)) /* Acknowledge Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_UCCNF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_UCCNF_UCE 7 /* Universal Counter Enable */
-#define BITP_CAN_UCCNF_UCCT 6 /* Universal Counter CAN Trigger */
-#define BITP_CAN_UCCNF_UCRC 5 /* Universal Counter Reload/Clear */
-#define BITP_CAN_UCCNF_UCCNF 0 /* Universal Counter Configuration */
-#define BITM_CAN_UCCNF_UCE (_ADI_MSK(0x00000080,uint16_t)) /* Universal Counter Enable */
-#define BITM_CAN_UCCNF_UCCT (_ADI_MSK(0x00000040,uint16_t)) /* Universal Counter CAN Trigger */
-#define BITM_CAN_UCCNF_UCRC (_ADI_MSK(0x00000020,uint16_t)) /* Universal Counter Reload/Clear */
-#define BITM_CAN_UCCNF_UCCNF (_ADI_MSK(0x0000000F,uint16_t)) /* Universal Counter Configuration */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AMnH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AMH_FDF 15 /* Filter on Delay Field */
-#define BITP_CAN_AMH_FMD 14 /* Full Mask Data */
-#define BITP_CAN_AMH_AMIDE 13 /* Acceptance Mask Identifier Extension */
-#define BITP_CAN_AMH_BASEID 2 /* Base Identifier */
-#define BITP_CAN_AMH_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_AMH_FDF (_ADI_MSK(0x00008000,uint16_t)) /* Filter on Delay Field */
-#define BITM_CAN_AMH_FMD (_ADI_MSK(0x00004000,uint16_t)) /* Full Mask Data */
-#define BITM_CAN_AMH_AMIDE (_ADI_MSK(0x00002000,uint16_t)) /* Acceptance Mask Identifier Extension */
-#define BITM_CAN_AMH_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_AMH_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA0_DFB6 8 /* Data Field Byte 6 */
-#define BITP_CAN_MB_DATA0_DFB7 0 /* Data Field Byte 7 */
-#define BITM_CAN_MB_DATA0_DFB6 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 6 */
-#define BITM_CAN_MB_DATA0_DFB7 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 7 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA1_DFB4 8 /* Data Field Byte 4 */
-#define BITP_CAN_MB_DATA1_DFB5 0 /* Data Field Byte 5 */
-#define BITM_CAN_MB_DATA1_DFB4 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 4 */
-#define BITM_CAN_MB_DATA1_DFB5 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 5 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA2_DFB2 8 /* Data Field Byte 2 */
-#define BITP_CAN_MB_DATA2_DFB3 0 /* Data Field Byte 3 */
-#define BITM_CAN_MB_DATA2_DFB2 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 2 */
-#define BITM_CAN_MB_DATA2_DFB3 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 3 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA3_DFB0 8 /* Data Field Byte 0 */
-#define BITP_CAN_MB_DATA3_DFB1 0 /* Data Field Byte 1 */
-#define BITM_CAN_MB_DATA3_DFB0 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 0 */
-#define BITM_CAN_MB_DATA3_DFB1 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_LENGTH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_LENGTH_DLC 0 /* Data Length Code */
-#define BITM_CAN_MB_LENGTH_DLC (_ADI_MSK(0x0000000F,uint16_t)) /* Data Length Code */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_ID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_ID1_AME 15 /* Acceptance Mask Enable */
-#define BITP_CAN_MB_ID1_RTR 14 /* Remote Transmission Request */
-#define BITP_CAN_MB_ID1_IDE 13 /* Identifier Extension */
-#define BITP_CAN_MB_ID1_BASEID 2 /* Base Identifier */
-#define BITP_CAN_MB_ID1_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_MB_ID1_AME (_ADI_MSK(0x00008000,uint16_t)) /* Acceptance Mask Enable */
-#define BITM_CAN_MB_ID1_RTR (_ADI_MSK(0x00004000,uint16_t)) /* Remote Transmission Request */
-#define BITM_CAN_MB_ID1_IDE (_ADI_MSK(0x00002000,uint16_t)) /* Identifier Extension */
-#define BITM_CAN_MB_ID1_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_MB_ID1_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ==================================================
- Link Port Registers
- ================================================== */
-
-/* =========================
- LP0
- ========================= */
-#define REG_LP0_CTL 0xFFC01000 /* LP0 Control Register */
-#define REG_LP0_STAT 0xFFC01004 /* LP0 Status Register */
-#define REG_LP0_DIV 0xFFC01008 /* LP0 Clock Divider Value */
-#define REG_LP0_TX 0xFFC01010 /* LP0 Transmit Buffer */
-#define REG_LP0_RX 0xFFC01014 /* LP0 Receive Buffer */
-#define REG_LP0_TXIN_SHDW 0xFFC01018 /* LP0 Shadow Input Transmit Buffer */
-#define REG_LP0_TXOUT_SHDW 0xFFC0101C /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================
- LP1
- ========================= */
-#define REG_LP1_CTL 0xFFC01100 /* LP1 Control Register */
-#define REG_LP1_STAT 0xFFC01104 /* LP1 Status Register */
-#define REG_LP1_DIV 0xFFC01108 /* LP1 Clock Divider Value */
-#define REG_LP1_TX 0xFFC01110 /* LP1 Transmit Buffer */
-#define REG_LP1_RX 0xFFC01114 /* LP1 Receive Buffer */
-#define REG_LP1_TXIN_SHDW 0xFFC01118 /* LP1 Shadow Input Transmit Buffer */
-#define REG_LP1_TXOUT_SHDW 0xFFC0111C /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================
- LP2
- ========================= */
-#define REG_LP2_CTL 0xFFC01200 /* LP2 Control Register */
-#define REG_LP2_STAT 0xFFC01204 /* LP2 Status Register */
-#define REG_LP2_DIV 0xFFC01208 /* LP2 Clock Divider Value */
-#define REG_LP2_TX 0xFFC01210 /* LP2 Transmit Buffer */
-#define REG_LP2_RX 0xFFC01214 /* LP2 Receive Buffer */
-#define REG_LP2_TXIN_SHDW 0xFFC01218 /* LP2 Shadow Input Transmit Buffer */
-#define REG_LP2_TXOUT_SHDW 0xFFC0121C /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================
- LP3
- ========================= */
-#define REG_LP3_CTL 0xFFC01300 /* LP3 Control Register */
-#define REG_LP3_STAT 0xFFC01304 /* LP3 Status Register */
-#define REG_LP3_DIV 0xFFC01308 /* LP3 Clock Divider Value */
-#define REG_LP3_TX 0xFFC01310 /* LP3 Transmit Buffer */
-#define REG_LP3_RX 0xFFC01314 /* LP3 Receive Buffer */
-#define REG_LP3_TXIN_SHDW 0xFFC01318 /* LP3 Shadow Input Transmit Buffer */
-#define REG_LP3_TXOUT_SHDW 0xFFC0131C /* LP3 Shadow Output Transmit Buffer */
-
-/* =========================
- LP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_CTL_ITMSK 11 /* Receive FIFO Overflow Interrupt Mask */
-#define BITP_LP_CTL_RRQMSK 9 /* Receive Request Interrupt Mask */
-#define BITP_LP_CTL_TRQMSK 8 /* Transmit Request Interrupt Mask */
-#define BITP_LP_CTL_TRAN 3 /* Transfer Direction */
-#define BITP_LP_CTL_EN 0 /* Enable */
-
-#define BITM_LP_CTL_ITMSK (_ADI_MSK(0x00000800,uint32_t)) /* Receive FIFO Overflow Interrupt Mask */
-#define ENUM_LP_CTL_RX_OVF_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ITMSK: Mask */
-#define ENUM_LP_CTL_RX_OVF_EN (_ADI_MSK(0x00000800,uint32_t)) /* ITMSK: Unmask */
-
-#define BITM_LP_CTL_RRQMSK (_ADI_MSK(0x00000200,uint32_t)) /* Receive Request Interrupt Mask */
-#define ENUM_LP_CTL_RRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RRQMSK: Mask */
-#define ENUM_LP_CTL_RRQ_EN (_ADI_MSK(0x00000200,uint32_t)) /* RRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRQMSK (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Request Interrupt Mask */
-#define ENUM_LP_CTL_TRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TRQMSK: Mask */
-#define ENUM_LP_CTL_TRQ_EN (_ADI_MSK(0x00000100,uint32_t)) /* TRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRAN (_ADI_MSK(0x00000008,uint32_t)) /* Transfer Direction */
-#define ENUM_LP_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* TRAN: Receive */
-#define ENUM_LP_CTL_TX (_ADI_MSK(0x00000008,uint32_t)) /* TRAN: Transmit */
-
-#define BITM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_LP_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable linkport */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_STAT_LPBS 8 /* Bus Status */
-#define BITP_LP_STAT_LERR 7 /* Buffer Pack Error Status */
-#define BITP_LP_STAT_FFST 4 /* FIFO Status */
-#define BITP_LP_STAT_LPIT 3 /* Receive FIFO Overflow Interrupt */
-#define BITP_LP_STAT_LRRQ 1 /* Receive Request */
-#define BITP_LP_STAT_LTRQ 0 /* Transmit Request */
-
-#define BITM_LP_STAT_LPBS (_ADI_MSK(0x00000100,uint32_t)) /* Bus Status */
-#define ENUM_LP_STAT_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* LPBS: Bus is Idle */
-#define ENUM_LP_STAT_BUSY (_ADI_MSK(0x00000100,uint32_t)) /* LPBS: Bus Busy */
-
-#define BITM_LP_STAT_LERR (_ADI_MSK(0x00000080,uint32_t)) /* Buffer Pack Error Status */
-#define ENUM_LP_STAT_PACK_DONE (_ADI_MSK(0x00000000,uint32_t)) /* LERR: Packing Complete */
-#define ENUM_LP_STAT_PACK_PROG (_ADI_MSK(0x00000080,uint32_t)) /* LERR: Packing Incomplete */
-
-#define BITM_LP_STAT_FFST (_ADI_MSK(0x00000070,uint32_t)) /* FIFO Status */
-#define ENUM_LP_STAT_RX0_TX0 (_ADI_MSK(0x00000000,uint32_t)) /* FFST: TX - Empty; RX -Empty */
-#define ENUM_LP_STAT_RX1_TXR (_ADI_MSK(0x00000010,uint32_t)) /* FFST: TX - reserved ; RX - One Word */
-#define ENUM_LP_STAT_RX2_TXR (_ADI_MSK(0x00000020,uint32_t)) /* FFST: TX - reserved; RX - Two Word */
-#define ENUM_LP_STAT_RX3_TXR (_ADI_MSK(0x00000030,uint32_t)) /* FFST: TX - reserved; RX - Three Word */
-#define ENUM_LP_STAT_RX4_TX1 (_ADI_MSK(0x00000040,uint32_t)) /* FFST: TX - One Word; RX - Four word */
-#define ENUM_LP_STAT_RXR1_TXR1 (_ADI_MSK(0x00000050,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define ENUM_LP_STAT_RXR2_TXR2 (_ADI_MSK(0x00000060,uint32_t)) /* FFST: TX - FIFO Full; RX - Reserved */
-#define ENUM_LP_STAT_RXR3_TXR3 (_ADI_MSK(0x00000070,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define BITM_LP_STAT_LPIT (_ADI_MSK(0x00000008,uint32_t)) /* Receive FIFO Overflow Interrupt */
-#define BITM_LP_STAT_LRRQ (_ADI_MSK(0x00000002,uint32_t)) /* Receive Request */
-#define BITM_LP_STAT_LTRQ (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_DIV_VALUE 0 /* Divisor Value */
-#define BITM_LP_DIV_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Divisor Value */
-
-/* ==================================================
- General Purpose Timer Block Registers
- ================================================== */
-
-/* =========================
- TIMER0
- ========================= */
-#define REG_TIMER0_REVID 0xFFC01400 /* TIMER0 Revision ID Register */
-#define REG_TIMER0_RUN 0xFFC01404 /* TIMER0 Run Register */
-#define REG_TIMER0_RUN_SET 0xFFC01408 /* TIMER0 Run Set Register */
-#define REG_TIMER0_RUN_CLR 0xFFC0140C /* TIMER0 Run Clear Register */
-#define REG_TIMER0_STOP_CFG 0xFFC01410 /* TIMER0 Stop Configuration Register */
-#define REG_TIMER0_STOP_CFG_SET 0xFFC01414 /* TIMER0 Stop Configuration Set Register */
-#define REG_TIMER0_STOP_CFG_CLR 0xFFC01418 /* TIMER0 Stop Configuration Clear Register */
-#define REG_TIMER0_DATA_IMSK 0xFFC0141C /* TIMER0 Data Interrupt Mask Register */
-#define REG_TIMER0_STAT_IMSK 0xFFC01420 /* TIMER0 Status Interrupt Mask Register */
-#define REG_TIMER0_TRG_MSK 0xFFC01424 /* TIMER0 Trigger Master Mask Register */
-#define REG_TIMER0_TRG_IE 0xFFC01428 /* TIMER0 Trigger Slave Enable Register */
-#define REG_TIMER0_DATA_ILAT 0xFFC0142C /* TIMER0 Data Interrupt Latch Register */
-#define REG_TIMER0_STAT_ILAT 0xFFC01430 /* TIMER0 Status Interrupt Latch Register */
-#define REG_TIMER0_ERR_TYPE 0xFFC01434 /* TIMER0 Error Type Status Register */
-#define REG_TIMER0_BCAST_PER 0xFFC01438 /* TIMER0 Broadcast Period Register */
-#define REG_TIMER0_BCAST_WID 0xFFC0143C /* TIMER0 Broadcast Width Register */
-#define REG_TIMER0_BCAST_DLY 0xFFC01440 /* TIMER0 Broadcast Delay Register */
-#define REG_TIMER0_TMR0_CFG 0xFFC01460 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR1_CFG 0xFFC01480 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR2_CFG 0xFFC014A0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR3_CFG 0xFFC014C0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR4_CFG 0xFFC014E0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR5_CFG 0xFFC01500 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR6_CFG 0xFFC01520 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR7_CFG 0xFFC01540 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR0_CNT 0xFFC01464 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR1_CNT 0xFFC01484 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR2_CNT 0xFFC014A4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR3_CNT 0xFFC014C4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR4_CNT 0xFFC014E4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR5_CNT 0xFFC01504 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR6_CNT 0xFFC01524 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR7_CNT 0xFFC01544 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR0_PER 0xFFC01468 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR1_PER 0xFFC01488 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR2_PER 0xFFC014A8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR3_PER 0xFFC014C8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR4_PER 0xFFC014E8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR5_PER 0xFFC01508 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR6_PER 0xFFC01528 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR7_PER 0xFFC01548 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR0_WID 0xFFC0146C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR1_WID 0xFFC0148C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR2_WID 0xFFC014AC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR3_WID 0xFFC014CC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR4_WID 0xFFC014EC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR5_WID 0xFFC0150C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR6_WID 0xFFC0152C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR7_WID 0xFFC0154C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR0_DLY 0xFFC01470 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR1_DLY 0xFFC01490 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR2_DLY 0xFFC014B0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR3_DLY 0xFFC014D0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR4_DLY 0xFFC014F0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR5_DLY 0xFFC01510 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR6_DLY 0xFFC01530 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR7_DLY 0xFFC01550 /* TIMER0 Timer n Delay Register */
-
-/* =========================
- TIMER
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_TIMER_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_TIMER_REVID_MAJOR (_ADI_MSK(0x000000F0,uint16_t)) /* Major Revision ID */
-#define BITM_TIMER_REVID_REV (_ADI_MSK(0x0000000F,uint16_t)) /* Incremental Revision ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_TMR00 0 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR01 1 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR02 2 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR03 3 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR04 4 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR05 5 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR06 6 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR07 7 /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Start/Stop Timer n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_SET_TMR00 0 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR01 1 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR02 2 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR03 3 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR04 4 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR05 5 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR06 6 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR07 7 /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_CLR_TMR00 0 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR01 1 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR02 2 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR03 3 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR04 4 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR05 5 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR06 6 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR07 7 /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_TMR00 0 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR01 1 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR02 2 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR03 3 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR04 4 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR05 5 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR06 6 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR07 7 /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Stop Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_SET_TMR00 0 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR01 1 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR02 2 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR03 3 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR04 4 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR05 5 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR06 6 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR07 7 /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_CLR_TMR00 0 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR01 1 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR02 2 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR03 3 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR04 4 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR05 5 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR06 6 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR07 7 /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_IMSK_TMR00 0 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR01 1 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR02 2 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR03 3 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR04 4 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR05 5 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR06 6 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR07 7 /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_IMSK_TMR00 0 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR01 1 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR02 2 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR03 3 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR04 4 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR05 5 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR06 6 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR07 7 /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_MSK_TMR00 0 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR01 1 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR02 2 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR03 3 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR04 4 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR05 5 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR06 6 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR07 7 /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Output Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_IE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_IE_TMR00 0 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR01 1 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR02 2 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR03 3 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR04 4 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR05 5 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR06 6 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR07 7 /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_ILAT_TMR00 0 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR01 1 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR02 2 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR03 3 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR04 4 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR05 5 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR06 6 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR07 7 /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_ILAT_TMR00 0 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR01 1 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR02 2 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR03 3 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR04 4 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR05 5 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR06 6 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR07 7 /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_ERR_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_ERR_TYPE_TERR7 14 /* Error type for Timer 7 */
-#define BITP_TIMER_ERR_TYPE_TERR6 12 /* Error type for Timer 6 */
-#define BITP_TIMER_ERR_TYPE_TERR5 10 /* Error type for Timer 5 */
-#define BITP_TIMER_ERR_TYPE_TERR4 8 /* Error type for Timer 4 */
-#define BITP_TIMER_ERR_TYPE_TERR3 6 /* Error type for Timer 3 */
-#define BITP_TIMER_ERR_TYPE_TERR2 4 /* Error type for Timer 2 */
-#define BITP_TIMER_ERR_TYPE_TERR1 2 /* Error type for Timer 1 */
-#define BITP_TIMER_ERR_TYPE_TERR0 0 /* Error type for Timer 0 */
-
-#define BITM_TIMER_ERR_TYPE_TERR7 (_ADI_MSK(0x0000C000,uint32_t)) /* Error type for Timer 7 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR7 (_ADI_MSK(0x00000000,uint32_t)) /* TERR7: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF7 (_ADI_MSK(0x00004000,uint32_t)) /* TERR7: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG7 (_ADI_MSK(0x00008000,uint32_t)) /* TERR7: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG7 (_ADI_MSK(0x0000C000,uint32_t)) /* TERR7: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR6 (_ADI_MSK(0x00003000,uint32_t)) /* Error type for Timer 6 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR6 (_ADI_MSK(0x00000000,uint32_t)) /* TERR6: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF6 (_ADI_MSK(0x00001000,uint32_t)) /* TERR6: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG6 (_ADI_MSK(0x00002000,uint32_t)) /* TERR6: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG6 (_ADI_MSK(0x00003000,uint32_t)) /* TERR6: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR5 (_ADI_MSK(0x00000C00,uint32_t)) /* Error type for Timer 5 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR5 (_ADI_MSK(0x00000000,uint32_t)) /* TERR5: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF5 (_ADI_MSK(0x00000400,uint32_t)) /* TERR5: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG5 (_ADI_MSK(0x00000800,uint32_t)) /* TERR5: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG5 (_ADI_MSK(0x00000C00,uint32_t)) /* TERR5: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR4 (_ADI_MSK(0x00000300,uint32_t)) /* Error type for Timer 4 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR4 (_ADI_MSK(0x00000000,uint32_t)) /* TERR4: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF4 (_ADI_MSK(0x00000100,uint32_t)) /* TERR4: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG4 (_ADI_MSK(0x00000200,uint32_t)) /* TERR4: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG4 (_ADI_MSK(0x00000300,uint32_t)) /* TERR4: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR3 (_ADI_MSK(0x000000C0,uint32_t)) /* Error type for Timer 3 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR3 (_ADI_MSK(0x00000000,uint32_t)) /* TERR3: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF3 (_ADI_MSK(0x00000040,uint32_t)) /* TERR3: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG3 (_ADI_MSK(0x00000080,uint32_t)) /* TERR3: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG3 (_ADI_MSK(0x000000C0,uint32_t)) /* TERR3: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR2 (_ADI_MSK(0x00000030,uint32_t)) /* Error type for Timer 2 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR2 (_ADI_MSK(0x00000000,uint32_t)) /* TERR2: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF2 (_ADI_MSK(0x00000010,uint32_t)) /* TERR2: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG2 (_ADI_MSK(0x00000020,uint32_t)) /* TERR2: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG2 (_ADI_MSK(0x00000030,uint32_t)) /* TERR2: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR1 (_ADI_MSK(0x0000000C,uint32_t)) /* Error type for Timer 1 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR1 (_ADI_MSK(0x00000000,uint32_t)) /* TERR1: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF1 (_ADI_MSK(0x00000004,uint32_t)) /* TERR1: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG1 (_ADI_MSK(0x00000008,uint32_t)) /* TERR1: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG1 (_ADI_MSK(0x0000000C,uint32_t)) /* TERR1: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR0 (_ADI_MSK(0x00000003,uint32_t)) /* Error type for Timer 0 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR0 (_ADI_MSK(0x00000000,uint32_t)) /* TERR0: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF0 (_ADI_MSK(0x00000001,uint32_t)) /* TERR0: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG0 (_ADI_MSK(0x00000002,uint32_t)) /* TERR0: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG0 (_ADI_MSK(0x00000003,uint32_t)) /* TERR0: WID or DLY Register Programming Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TMR_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TMR_CFG_EMURUN 15 /* Run Timer (Counter) During Emulation */
-#define BITP_TIMER_TMR_CFG_BPEREN 14 /* Broadcast Period Enable */
-#define BITP_TIMER_TMR_CFG_BWIDEN 13 /* Broadcast Width Enable */
-#define BITP_TIMER_TMR_CFG_BDLYEN 12 /* Broadcast Delay Enable */
-#define BITP_TIMER_TMR_CFG_OUTDIS 11 /* Output Disable */
-#define BITP_TIMER_TMR_CFG_TINSEL 10 /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define BITP_TIMER_TMR_CFG_CLKSEL 8 /* Clock Select */
-#define BITP_TIMER_TMR_CFG_PULSEHI 7 /* Polarity Response Select */
-#define BITP_TIMER_TMR_CFG_SLAVETRIG 6 /* Slave Trigger Response */
-#define BITP_TIMER_TMR_CFG_IRQMODE 4 /* Interrupt Modes */
-#define BITP_TIMER_TMR_CFG_TMODE 0 /* Timer Mode Select */
-
-#define BITM_TIMER_TMR_CFG_EMURUN (_ADI_MSK(0x00008000,uint16_t)) /* Run Timer (Counter) During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_NOCNT (_ADI_MSK(0x00000000,uint16_t)) /* EMURUN: Stop Timer During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_CNT (_ADI_MSK(0x00008000,uint16_t)) /* EMURUN: Run Timer During Emulation */
-
-#define BITM_TIMER_TMR_CFG_BPEREN (_ADI_MSK(0x00004000,uint16_t)) /* Broadcast Period Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BPEREN: Disable Broadcast to PER Register */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_EN (_ADI_MSK(0x00004000,uint16_t)) /* BPEREN: Enable Broadcast to PER Register */
-
-#define BITM_TIMER_TMR_CFG_BWIDEN (_ADI_MSK(0x00002000,uint16_t)) /* Broadcast Width Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BWIDEN: Disable Broadcast to WID Register */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_EN (_ADI_MSK(0x00002000,uint16_t)) /* BWIDEN: Enable Broadcast to WID Register */
-
-#define BITM_TIMER_TMR_CFG_BDLYEN (_ADI_MSK(0x00001000,uint16_t)) /* Broadcast Delay Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BDLYEN: Disable Broadcast to DLY Register */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_EN (_ADI_MSK(0x00001000,uint16_t)) /* BDLYEN: Enable Broadcast to DLY Register */
-
-#define BITM_TIMER_TMR_CFG_OUTDIS (_ADI_MSK(0x00000800,uint16_t)) /* Output Disable */
-#define ENUM_TIMER_TMR_CFG_PADOUT_EN (_ADI_MSK(0x00000000,uint16_t)) /* OUTDIS: Enable TMR pin output buffer */
-#define ENUM_TIMER_TMR_CFG_PADOUT_DIS (_ADI_MSK(0x00000800,uint16_t)) /* OUTDIS: Disable TMR pin output buffer */
-
-#define BITM_TIMER_TMR_CFG_TINSEL (_ADI_MSK(0x00000400,uint16_t)) /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define ENUM_TIMER_TMR_CFG_TINSEL_TMR (_ADI_MSK(0x00000000,uint16_t)) /* TINSEL: Use TMR pin input */
-#define ENUM_TIMER_TMR_CFG_TINSEL_AUX (_ADI_MSK(0x00000400,uint16_t)) /* TINSEL: Use TMR Alternate Capture Input */
-
-#define BITM_TIMER_TMR_CFG_CLKSEL (_ADI_MSK(0x00000300,uint16_t)) /* Clock Select */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_SCLK (_ADI_MSK(0x00000000,uint16_t)) /* CLKSEL: Use SCLK */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT0 (_ADI_MSK(0x00000100,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK0 as the TMR clock */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT1 (_ADI_MSK(0x00000300,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK1 as the TMR clock */
-
-#define BITM_TIMER_TMR_CFG_PULSEHI (_ADI_MSK(0x00000080,uint16_t)) /* Polarity Response Select */
-#define ENUM_TIMER_TMR_CFG_NEG_EDGE (_ADI_MSK(0x00000000,uint16_t)) /* PULSEHI: Negative Response/Pulse */
-#define ENUM_TIMER_TMR_CFG_POS_EDGE (_ADI_MSK(0x00000080,uint16_t)) /* PULSEHI: Positive Response/Pulse */
-
-#define BITM_TIMER_TMR_CFG_SLAVETRIG (_ADI_MSK(0x00000040,uint16_t)) /* Slave Trigger Response */
-#define ENUM_TIMER_TMR_CFG_TRIGSTOP (_ADI_MSK(0x00000000,uint16_t)) /* SLAVETRIG: Pulse stops timer if it is running */
-#define ENUM_TIMER_TMR_CFG_TRIGSTART (_ADI_MSK(0x00000040,uint16_t)) /* SLAVETRIG: Pulse starts timer if it is stopped */
-
-#define BITM_TIMER_TMR_CFG_IRQMODE (_ADI_MSK(0x00000030,uint16_t)) /* Interrupt Modes */
-#define ENUM_TIMER_TMR_CFG_IRQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* IRQMODE: Active Edge Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE1 (_ADI_MSK(0x00000010,uint16_t)) /* IRQMODE: Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE2 (_ADI_MSK(0x00000020,uint16_t)) /* IRQMODE: Width Plus Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE3 (_ADI_MSK(0x00000030,uint16_t)) /* IRQMODE: Period Expired Mode */
-
-#define BITM_TIMER_TMR_CFG_TMODE (_ADI_MSK(0x0000000F,uint16_t)) /* Timer Mode Select */
-#define ENUM_TIMER_TMR_CFG_IDLE_MODE (_ADI_MSK(0x00000000,uint16_t)) /* TMODE: Idle Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP0_MODE (_ADI_MSK(0x0000000A,uint16_t)) /* TMODE: Width Capture Asserted Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP1_MODE (_ADI_MSK(0x0000000B,uint16_t)) /* TMODE: Width Capture Deasserted Mode */
-#define ENUM_TIMER_TMR_CFG_PWMCONT_MODE (_ADI_MSK(0x0000000C,uint16_t)) /* TMODE: Continuous PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_PWMSING_MODE (_ADI_MSK(0x0000000D,uint16_t)) /* TMODE: Single pulse PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_EXTCLK_MODE (_ADI_MSK(0x0000000E,uint16_t)) /* TMODE: EXTCLK mode */
-#define ENUM_TIMER_TMR_CFG_PININT_MODE (_ADI_MSK(0x0000000F,uint16_t)) /* TMODE: PININT (pin interrupt) mode */
-#define ENUM_TIMER_TMR_CFG_WDPER_MODE (_ADI_MSK(0x00000008,uint16_t)) /* TMODE: Period Watchdog Mode */
-#define ENUM_TIMER_TMR_CFG_WDWID_MODE (_ADI_MSK(0x00000009,uint16_t)) /* TMODE: Width Watchdog Mode */
-
-/* ==================================================
- Cyclic Redundancy Check Unit Registers
- ================================================== */
-
-/* =========================
- CRC0
- ========================= */
-#define REG_CRC0_CTL 0xFFC01C00 /* CRC0 Control Register */
-#define REG_CRC0_DCNT 0xFFC01C04 /* CRC0 Data Word Count Register */
-#define REG_CRC0_DCNTRLD 0xFFC01C08 /* CRC0 Data Word Count Reload Register */
-#define REG_CRC0_COMP 0xFFC01C14 /* CRC0 Data Compare Register */
-#define REG_CRC0_FILLVAL 0xFFC01C18 /* CRC0 Fill Value Register */
-#define REG_CRC0_DFIFO 0xFFC01C1C /* CRC0 Data FIFO Register */
-#define REG_CRC0_INEN 0xFFC01C20 /* CRC0 Interrupt Enable Register */
-#define REG_CRC0_INEN_SET 0xFFC01C24 /* CRC0 Interrupt Enable Set Register */
-#define REG_CRC0_INEN_CLR 0xFFC01C28 /* CRC0 Interrupt Enable Clear Register */
-#define REG_CRC0_POLY 0xFFC01C2C /* CRC0 Polynomial Register */
-#define REG_CRC0_STAT 0xFFC01C40 /* CRC0 Status Register */
-#define REG_CRC0_DCNTCAP 0xFFC01C44 /* CRC0 Data Count Capture Register */
-#define REG_CRC0_RESULT_FIN 0xFFC01C4C /* CRC0 CRC Final Result Register */
-#define REG_CRC0_RESULT_CUR 0xFFC01C50 /* CRC0 CRC Current Result Register */
-#define REG_CRC0_REVID 0xFFC01C60 /* CRC0 Revision ID Register */
-
-/* =========================
- CRC1
- ========================= */
-#define REG_CRC1_CTL 0xFFC01D00 /* CRC1 Control Register */
-#define REG_CRC1_DCNT 0xFFC01D04 /* CRC1 Data Word Count Register */
-#define REG_CRC1_DCNTRLD 0xFFC01D08 /* CRC1 Data Word Count Reload Register */
-#define REG_CRC1_COMP 0xFFC01D14 /* CRC1 Data Compare Register */
-#define REG_CRC1_FILLVAL 0xFFC01D18 /* CRC1 Fill Value Register */
-#define REG_CRC1_DFIFO 0xFFC01D1C /* CRC1 Data FIFO Register */
-#define REG_CRC1_INEN 0xFFC01D20 /* CRC1 Interrupt Enable Register */
-#define REG_CRC1_INEN_SET 0xFFC01D24 /* CRC1 Interrupt Enable Set Register */
-#define REG_CRC1_INEN_CLR 0xFFC01D28 /* CRC1 Interrupt Enable Clear Register */
-#define REG_CRC1_POLY 0xFFC01D2C /* CRC1 Polynomial Register */
-#define REG_CRC1_STAT 0xFFC01D40 /* CRC1 Status Register */
-#define REG_CRC1_DCNTCAP 0xFFC01D44 /* CRC1 Data Count Capture Register */
-#define REG_CRC1_RESULT_FIN 0xFFC01D4C /* CRC1 CRC Final Result Register */
-#define REG_CRC1_RESULT_CUR 0xFFC01D50 /* CRC1 CRC Current Result Register */
-#define REG_CRC1_REVID 0xFFC01D60 /* CRC1 Revision ID Register */
-
-/* =========================
- CRC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_CTL_CMPMIRR 22 /* COMPARE Register Mirroring */
-#define BITP_CRC_CTL_POLYMIRR 21 /* Polynomial Register Mirroring */
-#define BITP_CRC_CTL_RSLTMIRR 20 /* Result Register Mirroring */
-#define BITP_CRC_CTL_FDSEL 19 /* FIFO Data Select */
-#define BITP_CRC_CTL_W16SWP 18 /* Word16 Swapping */
-#define BITP_CRC_CTL_BYTMIRR 17 /* Byte Mirroring */
-#define BITP_CRC_CTL_BITMIRR 16 /* Bit Mirroring */
-#define BITP_CRC_CTL_IRRSTALL 13 /* Intermediate Result Ready Stall */
-#define BITP_CRC_CTL_OBRSTALL 12 /* Output Buffer Ready Stall */
-#define BITP_CRC_CTL_AUTOCLRF 9 /* Auto Clear to One */
-#define BITP_CRC_CTL_AUTOCLRZ 8 /* Auto Clear to Zero */
-#define BITP_CRC_CTL_OPMODE 4 /* Operation Mode */
-#define BITP_CRC_CTL_BLKEN 0 /* Block Enable */
-#define BITM_CRC_CTL_CMPMIRR (_ADI_MSK(0x00400000,uint32_t)) /* COMPARE Register Mirroring */
-#define BITM_CRC_CTL_POLYMIRR (_ADI_MSK(0x00200000,uint32_t)) /* Polynomial Register Mirroring */
-#define BITM_CRC_CTL_RSLTMIRR (_ADI_MSK(0x00100000,uint32_t)) /* Result Register Mirroring */
-#define BITM_CRC_CTL_FDSEL (_ADI_MSK(0x00080000,uint32_t)) /* FIFO Data Select */
-#define BITM_CRC_CTL_W16SWP (_ADI_MSK(0x00040000,uint32_t)) /* Word16 Swapping */
-#define BITM_CRC_CTL_BYTMIRR (_ADI_MSK(0x00020000,uint32_t)) /* Byte Mirroring */
-#define BITM_CRC_CTL_BITMIRR (_ADI_MSK(0x00010000,uint32_t)) /* Bit Mirroring */
-#define BITM_CRC_CTL_IRRSTALL (_ADI_MSK(0x00002000,uint32_t)) /* Intermediate Result Ready Stall */
-#define BITM_CRC_CTL_OBRSTALL (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Ready Stall */
-#define BITM_CRC_CTL_AUTOCLRF (_ADI_MSK(0x00000200,uint32_t)) /* Auto Clear to One */
-#define BITM_CRC_CTL_AUTOCLRZ (_ADI_MSK(0x00000100,uint32_t)) /* Auto Clear to Zero */
-#define BITM_CRC_CTL_OPMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Operation Mode */
-#define BITM_CRC_CTL_BLKEN (_ADI_MSK(0x00000001,uint32_t)) /* Block Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable */
-#define BITP_CRC_INEN_CMPERR 1 /* Compare Error Interrupt Enable */
-
-#define BITM_CRC_INEN_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable */
-#define ENUM_CRC_INEN_DCNTEXP_MSK (_ADI_MSK(0x00000000,uint32_t)) /* DCNTEXP: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_DCNTEXP_UMSK (_ADI_MSK(0x00000010,uint32_t)) /* DCNTEXP: Enable (unmask) interrupt */
-
-#define BITM_CRC_INEN_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable */
-#define ENUM_CRC_INEN_CMPERR_MSK (_ADI_MSK(0x00000000,uint32_t)) /* CMPERR: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_CMPERR_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* CMPERR: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_SET_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITP_CRC_INEN_SET_CMPERR 1 /* Compare Error Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_CLR_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITP_CRC_INEN_CLR_CMPERR 1 /* Compare Error Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_STAT_FSTAT 20 /* FIFO Status */
-#define BITP_CRC_STAT_LUTDONE 19 /* Look Up Table Done */
-#define BITP_CRC_STAT_IRR 18 /* Intermediate Result Ready */
-#define BITP_CRC_STAT_OBR 17 /* Output Buffer Ready */
-#define BITP_CRC_STAT_IBR 16 /* Input Buffer Ready */
-#define BITP_CRC_STAT_DCNTEXP 4 /* Data Count Expired */
-#define BITP_CRC_STAT_CMPERR 1 /* Compare Error */
-#define BITM_CRC_STAT_FSTAT (_ADI_MSK(0x00700000,uint32_t)) /* FIFO Status */
-#define BITM_CRC_STAT_LUTDONE (_ADI_MSK(0x00080000,uint32_t)) /* Look Up Table Done */
-#define BITM_CRC_STAT_IRR (_ADI_MSK(0x00040000,uint32_t)) /* Intermediate Result Ready */
-#define BITM_CRC_STAT_OBR (_ADI_MSK(0x00020000,uint32_t)) /* Output Buffer Ready */
-#define BITM_CRC_STAT_IBR (_ADI_MSK(0x00010000,uint32_t)) /* Input Buffer Ready */
-#define BITM_CRC_STAT_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired */
-#define BITM_CRC_STAT_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_CRC_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_CRC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Revision ID */
-#define BITM_CRC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Revision ID */
-
-/* ==================================================
- 2-Wire Interface Registers
- ================================================== */
-
-/* =========================
- TWI0
- ========================= */
-#define REG_TWI0_CLKDIV 0xFFC01E00 /* TWI0 SCL Clock Divider Register */
-#define REG_TWI0_CTL 0xFFC01E04 /* TWI0 Control Register */
-#define REG_TWI0_SLVCTL 0xFFC01E08 /* TWI0 Slave Mode Control Register */
-#define REG_TWI0_SLVSTAT 0xFFC01E0C /* TWI0 Slave Mode Status Register */
-#define REG_TWI0_SLVADDR 0xFFC01E10 /* TWI0 Slave Mode Address Register */
-#define REG_TWI0_MSTRCTL 0xFFC01E14 /* TWI0 Master Mode Control Registers */
-#define REG_TWI0_MSTRSTAT 0xFFC01E18 /* TWI0 Master Mode Status Register */
-#define REG_TWI0_MSTRADDR 0xFFC01E1C /* TWI0 Master Mode Address Register */
-#define REG_TWI0_ISTAT 0xFFC01E20 /* TWI0 Interrupt Status Register */
-#define REG_TWI0_IMSK 0xFFC01E24 /* TWI0 Interrupt Mask Register */
-#define REG_TWI0_FIFOCTL 0xFFC01E28 /* TWI0 FIFO Control Register */
-#define REG_TWI0_FIFOSTAT 0xFFC01E2C /* TWI0 FIFO Status Register */
-#define REG_TWI0_TXDATA8 0xFFC01E80 /* TWI0 Tx Data Single-Byte Register */
-#define REG_TWI0_TXDATA16 0xFFC01E84 /* TWI0 Tx Data Double-Byte Register */
-#define REG_TWI0_RXDATA8 0xFFC01E88 /* TWI0 Rx Data Single-Byte Register */
-#define REG_TWI0_RXDATA16 0xFFC01E8C /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================
- TWI1
- ========================= */
-#define REG_TWI1_CLKDIV 0xFFC01F00 /* TWI1 SCL Clock Divider Register */
-#define REG_TWI1_CTL 0xFFC01F04 /* TWI1 Control Register */
-#define REG_TWI1_SLVCTL 0xFFC01F08 /* TWI1 Slave Mode Control Register */
-#define REG_TWI1_SLVSTAT 0xFFC01F0C /* TWI1 Slave Mode Status Register */
-#define REG_TWI1_SLVADDR 0xFFC01F10 /* TWI1 Slave Mode Address Register */
-#define REG_TWI1_MSTRCTL 0xFFC01F14 /* TWI1 Master Mode Control Registers */
-#define REG_TWI1_MSTRSTAT 0xFFC01F18 /* TWI1 Master Mode Status Register */
-#define REG_TWI1_MSTRADDR 0xFFC01F1C /* TWI1 Master Mode Address Register */
-#define REG_TWI1_ISTAT 0xFFC01F20 /* TWI1 Interrupt Status Register */
-#define REG_TWI1_IMSK 0xFFC01F24 /* TWI1 Interrupt Mask Register */
-#define REG_TWI1_FIFOCTL 0xFFC01F28 /* TWI1 FIFO Control Register */
-#define REG_TWI1_FIFOSTAT 0xFFC01F2C /* TWI1 FIFO Status Register */
-#define REG_TWI1_TXDATA8 0xFFC01F80 /* TWI1 Tx Data Single-Byte Register */
-#define REG_TWI1_TXDATA16 0xFFC01F84 /* TWI1 Tx Data Double-Byte Register */
-#define REG_TWI1_RXDATA8 0xFFC01F88 /* TWI1 Rx Data Single-Byte Register */
-#define REG_TWI1_RXDATA16 0xFFC01F8C /* TWI1 Rx Data Double-Byte Register */
-
-/* =========================
- TWI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CLKDIV_CLKHI 8 /* SCL Clock High Periods */
-#define BITP_TWI_CLKDIV_CLKLO 0 /* SCL Clock Low Periods */
-#define BITM_TWI_CLKDIV_CLKHI (_ADI_MSK(0x0000FF00,uint16_t)) /* SCL Clock High Periods */
-#define BITM_TWI_CLKDIV_CLKLO (_ADI_MSK(0x000000FF,uint16_t)) /* SCL Clock Low Periods */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CTL_SCCB 9 /* SCCB Compatibility */
-#define BITP_TWI_CTL_EN 7 /* Enable Module */
-#define BITP_TWI_CTL_PRESCALE 0 /* SCLK Prescale Value */
-
-#define BITM_TWI_CTL_SCCB (_ADI_MSK(0x00000200,uint16_t)) /* SCCB Compatibility */
-#define ENUM_TWI_CTL_SCCB_DIS (_ADI_MSK(0x00000000,uint16_t)) /* SCCB: Disable SCCB compatibility */
-#define ENUM_TWI_CTL_SCCB_EN (_ADI_MSK(0x00000200,uint16_t)) /* SCCB: Enable SCCB compatibility */
-
-#define BITM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* Enable Module */
-#define ENUM_TWI_CTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* EN: Enable */
-#define BITM_TWI_CTL_PRESCALE (_ADI_MSK(0x0000007F,uint16_t)) /* SCLK Prescale Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVCTL_GEN 4 /* General Call Enable */
-#define BITP_TWI_SLVCTL_NAK 3 /* Not Acknowledge */
-#define BITP_TWI_SLVCTL_TDVAL 2 /* Transmit Data Valid for Slave */
-#define BITP_TWI_SLVCTL_EN 0 /* Enable Slave Mode */
-
-#define BITM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* General Call Enable */
-#define ENUM_TWI_SLVCTL_GDIS (_ADI_MSK(0x00000000,uint16_t)) /* GEN: Disable General Call Matching */
-#define ENUM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* GEN: Enable General Call Matching */
-
-#define BITM_TWI_SLVCTL_NAK (_ADI_MSK(0x00000008,uint16_t)) /* Not Acknowledge */
-#define ENUM_TWI_SLVCTL_ACKGEN (_ADI_MSK(0x00000000,uint16_t)) /* NAK: Generate ACK */
-#define ENUM_TWI_SLVCTL_NAKGEN (_ADI_MSK(0x00000008,uint16_t)) /* NAK: Generate NAK */
-
-#define BITM_TWI_SLVCTL_TDVAL (_ADI_MSK(0x00000004,uint16_t)) /* Transmit Data Valid for Slave */
-#define ENUM_TWI_SLVCTL_INVALID (_ADI_MSK(0x00000000,uint16_t)) /* TDVAL: Data Invalid for Slave Tx */
-#define ENUM_TWI_SLVCTL_VALID (_ADI_MSK(0x00000004,uint16_t)) /* TDVAL: Data Valid for Slave Tx */
-
-#define BITM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Slave Mode */
-#define ENUM_TWI_SLVCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVSTAT_GCALL 1 /* General Call */
-#define BITP_TWI_SLVSTAT_DIR 0 /* Transfer Direction for Slave */
-
-#define BITM_TWI_SLVSTAT_GCALL (_ADI_MSK(0x00000002,uint16_t)) /* General Call */
-#define ENUM_TWI_SLVSTAT_NO (_ADI_MSK(0x00000000,uint16_t)) /* GCALL: Not a General Call Address */
-#define ENUM_TWI_SLVSTAT_YES (_ADI_MSK(0x00000002,uint16_t)) /* GCALL: General Call Address */
-
-#define BITM_TWI_SLVSTAT_DIR (_ADI_MSK(0x00000001,uint16_t)) /* Transfer Direction for Slave */
-#define ENUM_TWI_SLVSTAT_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Slave Receive */
-#define ENUM_TWI_SLVSTAT_TX (_ADI_MSK(0x00000001,uint16_t)) /* DIR: Slave Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVADDR_ADDR 0 /* Slave Mode Address */
-#define BITM_TWI_SLVADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Slave Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRCTL_SCLOVR 15 /* Serial Clock Override */
-#define BITP_TWI_MSTRCTL_SDAOVR 14 /* Serial Data Override */
-#define BITP_TWI_MSTRCTL_DCNT 6 /* Data Transfer Count */
-#define BITP_TWI_MSTRCTL_RSTART 5 /* Repeat Start */
-#define BITP_TWI_MSTRCTL_STOP 4 /* Issue Stop Condition */
-#define BITP_TWI_MSTRCTL_FAST 3 /* Fast Mode */
-#define BITP_TWI_MSTRCTL_DIR 2 /* Transfer Direction for Master */
-#define BITP_TWI_MSTRCTL_EN 0 /* Enable Master Mode */
-
-#define BITM_TWI_MSTRCTL_SCLOVR (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Override */
-#define ENUM_TWI_MSTRCTL_SCLNORM (_ADI_MSK(0x00000000,uint16_t)) /* SCLOVR: Permit Normal SCL Operation */
-#define ENUM_TWI_MSTRCTL_SCLOVER (_ADI_MSK(0x00008000,uint16_t)) /* SCLOVR: Override Normal SCL Operation */
-
-#define BITM_TWI_MSTRCTL_SDAOVR (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Override */
-#define ENUM_TWI_MSTRCTL_SDANORM (_ADI_MSK(0x00000000,uint16_t)) /* SDAOVR: Permit Normal SDA Operation */
-#define ENUM_TWI_MSTRCTL_SDAOVER (_ADI_MSK(0x00004000,uint16_t)) /* SDAOVR: Override Normal SDA Operation */
-#define BITM_TWI_MSTRCTL_DCNT (_ADI_MSK(0x00003FC0,uint16_t)) /* Data Transfer Count */
-
-#define BITM_TWI_MSTRCTL_RSTART (_ADI_MSK(0x00000020,uint16_t)) /* Repeat Start */
-#define ENUM_TWI_MSTRCTL_END (_ADI_MSK(0x00000000,uint16_t)) /* RSTART: Disable Repeat Start */
-#define ENUM_TWI_MSTRCTL_RPT (_ADI_MSK(0x00000020,uint16_t)) /* RSTART: Enable Repeat Start */
-
-#define BITM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* Issue Stop Condition */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* STOP: Permit Normal Operation */
-#define ENUM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* STOP: Issue Stop */
-
-#define BITM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* Fast Mode */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* FAST: Select Standard Mode */
-#define ENUM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* FAST: Select Fast Mode */
-
-#define BITM_TWI_MSTRCTL_DIR (_ADI_MSK(0x00000004,uint16_t)) /* Transfer Direction for Master */
-#define ENUM_TWI_MSTRCTL_TX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Master Transmit */
-#define ENUM_TWI_MSTRCTL_RX (_ADI_MSK(0x00000004,uint16_t)) /* DIR: Master Receive */
-
-#define BITM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Master Mode */
-#define ENUM_TWI_MSTRCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRSTAT_BUSBUSY 8 /* Bus Busy */
-#define BITP_TWI_MSTRSTAT_SCLSEN 7 /* Serial Clock Sense */
-#define BITP_TWI_MSTRSTAT_SDASEN 6 /* Serial Data Sense */
-#define BITP_TWI_MSTRSTAT_BUFWRERR 5 /* Buffer Write Error */
-#define BITP_TWI_MSTRSTAT_BUFRDERR 4 /* Buffer Read Error */
-#define BITP_TWI_MSTRSTAT_DNAK 3 /* Data Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_ANAK 2 /* Address Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_LOSTARB 1 /* Lost Arbitration */
-#define BITP_TWI_MSTRSTAT_MPROG 0 /* Master Transfer in Progress */
-
-#define BITM_TWI_MSTRSTAT_BUSBUSY (_ADI_MSK(0x00000100,uint16_t)) /* Bus Busy */
-#define ENUM_TWI_MSTRSTAT_FREE (_ADI_MSK(0x00000000,uint16_t)) /* BUSBUSY: Bus Free */
-#define ENUM_TWI_MSTRSTAT_BUSY (_ADI_MSK(0x00000100,uint16_t)) /* BUSBUSY: Bus Busy */
-
-#define BITM_TWI_MSTRSTAT_SCLSEN (_ADI_MSK(0x00000080,uint16_t)) /* Serial Clock Sense */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLSEN: SCL Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_YES (_ADI_MSK(0x00000080,uint16_t)) /* SCLSEN: SCL Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_SDASEN (_ADI_MSK(0x00000040,uint16_t)) /* Serial Data Sense */
-#define ENUM_TWI_MSTRSTAT_SDASEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDASEN: SDA Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SDASEN_YES (_ADI_MSK(0x00000040,uint16_t)) /* SDASEN: SDA Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_BUFWRERR (_ADI_MSK(0x00000020,uint16_t)) /* Buffer Write Error */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFWRERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* BUFWRERR: Buffer Write Error */
-
-#define BITM_TWI_MSTRSTAT_BUFRDERR (_ADI_MSK(0x00000010,uint16_t)) /* Buffer Read Error */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFRDERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_YES (_ADI_MSK(0x00000010,uint16_t)) /* BUFRDERR: Buffer Read Error */
-
-#define BITM_TWI_MSTRSTAT_DNAK (_ADI_MSK(0x00000008,uint16_t)) /* Data Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_DNAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* DNAK: No Status */
-#define ENUM_TWI_MSTRSTAT_DNAK_YES (_ADI_MSK(0x00000008,uint16_t)) /* DNAK: Data NAK */
-
-#define BITM_TWI_MSTRSTAT_ANAK (_ADI_MSK(0x00000004,uint16_t)) /* Address Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_ANAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* ANAK: No Status */
-#define ENUM_TWI_MSTRSTAT_ANAK_YES (_ADI_MSK(0x00000004,uint16_t)) /* ANAK: Address NAK */
-
-#define BITM_TWI_MSTRSTAT_LOSTARB (_ADI_MSK(0x00000002,uint16_t)) /* Lost Arbitration */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_NO (_ADI_MSK(0x00000000,uint16_t)) /* LOSTARB: No Status */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_YES (_ADI_MSK(0x00000002,uint16_t)) /* LOSTARB: Lost Arbitration */
-
-#define BITM_TWI_MSTRSTAT_MPROG (_ADI_MSK(0x00000001,uint16_t)) /* Master Transfer in Progress */
-#define ENUM_TWI_MSTRSTAT_MPROG_NO (_ADI_MSK(0x00000000,uint16_t)) /* MPROG: No Status */
-#define ENUM_TWI_MSTRSTAT_MPROG_YES (_ADI_MSK(0x00000001,uint16_t)) /* MPROG: Master Transfer in Progress */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRADDR_ADDR 0 /* Master Mode Address */
-#define BITM_TWI_MSTRADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Master Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_ISTAT_SCLI 15 /* Serial Clock Interrupt */
-#define BITP_TWI_ISTAT_SDAI 14 /* Serial Data Interrupt */
-#define BITP_TWI_ISTAT_RXSERV 7 /* Rx FIFO Service */
-#define BITP_TWI_ISTAT_TXSERV 6 /* Tx FIFO Service */
-#define BITP_TWI_ISTAT_MERR 5 /* Master Transfer Error */
-#define BITP_TWI_ISTAT_MCOMP 4 /* Master Transfer Complete */
-#define BITP_TWI_ISTAT_SOVF 3 /* Slave Overflow */
-#define BITP_TWI_ISTAT_SERR 2 /* Slave Transfer Error */
-#define BITP_TWI_ISTAT_SCOMP 1 /* Slave Transfer Complete */
-#define BITP_TWI_ISTAT_SINIT 0 /* Slave Transfer Initiated */
-
-#define BITM_TWI_ISTAT_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: No Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_YES (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: No Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_YES (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service */
-#define ENUM_TWI_ISTAT_RXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_RXSERV_YES (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service */
-#define ENUM_TWI_ISTAT_TXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_TXSERV_YES (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error */
-#define ENUM_TWI_ISTAT_MERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* MERR: No Interrupt */
-#define ENUM_TWI_ISTAT_MERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete */
-#define ENUM_TWI_ISTAT_MCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_MCOMP_YES (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow */
-#define ENUM_TWI_ISTAT_SOVF_NO (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: No Interrupt */
-#define ENUM_TWI_ISTAT_SOVF_YES (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error */
-#define ENUM_TWI_ISTAT_SERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* SERR: No Interrupt */
-#define ENUM_TWI_ISTAT_SERR_YES (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete */
-#define ENUM_TWI_ISTAT_SCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_SCOMP_YES (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated */
-#define ENUM_TWI_ISTAT_SINIT_NO (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: No Interrupt */
-#define ENUM_TWI_ISTAT_SINIT_YES (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Interrupt Detected */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_IMSK_SCLI 15 /* Serial Clock Interrupt Mask */
-#define BITP_TWI_IMSK_SDAI 14 /* Serial Data Interrupt Mask */
-#define BITP_TWI_IMSK_RXSERV 7 /* Rx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_TXSERV 6 /* Tx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_MERR 5 /* Master Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_MCOMP 4 /* Master Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SOVF 3 /* Slave Overflow Interrupt Mask */
-#define BITP_TWI_IMSK_SERR 2 /* Slave Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_SCOMP 1 /* Slave Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SINIT 0 /* Slave Transfer Initiated Interrupt Mask */
-
-#define BITM_TWI_IMSK_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt Mask */
-#define ENUM_TWI_IMSK_SCLI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCLI_UMSK (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt Mask */
-#define ENUM_TWI_IMSK_SDAI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SDAI_UMSK (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_RXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_RXSERV_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_TXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_TXSERV_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_MERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MERR_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_MCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MCOMP_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow Interrupt Mask */
-#define ENUM_TWI_IMSK_SOVF_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SOVF_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_SERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SERR_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_SCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCOMP_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated Interrupt Mask */
-#define ENUM_TWI_IMSK_SINIT_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SINIT_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Unmask (Enable) Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOCTL_RXILEN 3 /* Rx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_TXILEN 2 /* Tx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_RXFLUSH 1 /* Rx Buffer Flush */
-#define BITP_TWI_FIFOCTL_TXFLUSH 0 /* Tx Buffer Flush */
-
-#define BITM_TWI_FIFOCTL_RXILEN (_ADI_MSK(0x00000008,uint16_t)) /* Rx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_RXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* RXILEN: RXSERVI on 1 or 2 Bytes in FIFO */
-#define ENUM_TWI_FIFOCTL_RXTWOBYTE (_ADI_MSK(0x00000008,uint16_t)) /* RXILEN: RXSERVI on 2 Bytes in FIFO */
-
-#define BITM_TWI_FIFOCTL_TXILEN (_ADI_MSK(0x00000004,uint16_t)) /* Tx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_TXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* TXILEN: TXSERVI on 1 Byte of FIFO Empty */
-#define ENUM_TWI_FIFOCTL_TXTWOBYTE (_ADI_MSK(0x00000004,uint16_t)) /* TXILEN: TXSERVI on 2 Bytes of FIFO Empty */
-
-#define BITM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* Rx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_RXNORM (_ADI_MSK(0x00000000,uint16_t)) /* RXFLUSH: Normal Operation of Rx Buffer */
-#define ENUM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* RXFLUSH: Flush Rx Buffer */
-
-#define BITM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* Tx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_TXNORM (_ADI_MSK(0x00000000,uint16_t)) /* TXFLUSH: Normal Operation of Tx Buffer */
-#define ENUM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* TXFLUSH: Flush Tx Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOSTAT_RXSTAT 2 /* Rx FIFO Status */
-#define BITP_TWI_FIFOSTAT_TXSTAT 0 /* Tx FIFO Status */
-#define BITM_TWI_FIFOSTAT_RXSTAT (_ADI_MSK(0x0000000C,uint16_t)) /* Rx FIFO Status */
-#define BITM_TWI_FIFOSTAT_TXSTAT (_ADI_MSK(0x00000003,uint16_t)) /* Tx FIFO Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_TXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_TXDATA8_VALUE 0 /* Tx Data 8-Bit Value */
-#define BITM_TWI_TXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Tx Data 8-Bit Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_RXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_RXDATA8_VALUE 0 /* Rx Data 8-Bit Value */
-#define BITM_TWI_RXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Rx Data 8-Bit Value */
-
-/* ==================================================
- UART Registers
- ================================================== */
-
-/* =========================
- UART0
- ========================= */
-#define REG_UART0_REVID 0xFFC02000 /* UART0 Revision ID Register */
-#define REG_UART0_CTL 0xFFC02004 /* UART0 Control Register */
-#define REG_UART0_STAT 0xFFC02008 /* UART0 Status Register */
-#define REG_UART0_SCR 0xFFC0200C /* UART0 Scratch Register */
-#define REG_UART0_CLK 0xFFC02010 /* UART0 Clock Rate Register */
-#define REG_UART0_IMSK 0xFFC02014 /* UART0 Interrupt Mask Register */
-#define REG_UART0_IMSK_SET 0xFFC02018 /* UART0 Interrupt Mask Set Register */
-#define REG_UART0_IMSK_CLR 0xFFC0201C /* UART0 Interrupt Mask Clear Register */
-#define REG_UART0_RBR 0xFFC02020 /* UART0 Receive Buffer Register */
-#define REG_UART0_THR 0xFFC02024 /* UART0 Transmit Hold Register */
-#define REG_UART0_TAIP 0xFFC02028 /* UART0 Transmit Address/Insert Pulse Register */
-#define REG_UART0_TSR 0xFFC0202C /* UART0 Transmit Shift Register */
-#define REG_UART0_RSR 0xFFC02030 /* UART0 Receive Shift Register */
-#define REG_UART0_TXCNT 0xFFC02034 /* UART0 Transmit Counter Register */
-#define REG_UART0_RXCNT 0xFFC02038 /* UART0 Receive Counter Register */
-
-/* =========================
- UART1
- ========================= */
-#define REG_UART1_REVID 0xFFC02400 /* UART1 Revision ID Register */
-#define REG_UART1_CTL 0xFFC02404 /* UART1 Control Register */
-#define REG_UART1_STAT 0xFFC02408 /* UART1 Status Register */
-#define REG_UART1_SCR 0xFFC0240C /* UART1 Scratch Register */
-#define REG_UART1_CLK 0xFFC02410 /* UART1 Clock Rate Register */
-#define REG_UART1_IMSK 0xFFC02414 /* UART1 Interrupt Mask Register */
-#define REG_UART1_IMSK_SET 0xFFC02418 /* UART1 Interrupt Mask Set Register */
-#define REG_UART1_IMSK_CLR 0xFFC0241C /* UART1 Interrupt Mask Clear Register */
-#define REG_UART1_RBR 0xFFC02420 /* UART1 Receive Buffer Register */
-#define REG_UART1_THR 0xFFC02424 /* UART1 Transmit Hold Register */
-#define REG_UART1_TAIP 0xFFC02428 /* UART1 Transmit Address/Insert Pulse Register */
-#define REG_UART1_TSR 0xFFC0242C /* UART1 Transmit Shift Register */
-#define REG_UART1_RSR 0xFFC02430 /* UART1 Receive Shift Register */
-#define REG_UART1_TXCNT 0xFFC02434 /* UART1 Transmit Counter Register */
-#define REG_UART1_RXCNT 0xFFC02438 /* UART1 Receive Counter Register */
-
-/* =========================
- UART
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_REVID_MAJOR 4 /* Major Version */
-#define BITP_UART_REVID_REV 0 /* Incremental Version */
-#define BITM_UART_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version */
-#define BITM_UART_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CTL_RFRT 30 /* Receive FIFO RTS Threshold */
-#define BITP_UART_CTL_RFIT 29 /* Receive FIFO IRQ Threshold */
-#define BITP_UART_CTL_ACTS 28 /* Automatic CTS */
-#define BITP_UART_CTL_ARTS 27 /* Automatic RTS */
-#define BITP_UART_CTL_XOFF 26 /* Transmitter off */
-#define BITP_UART_CTL_MRTS 25 /* Manual Request to Send */
-#define BITP_UART_CTL_TPOLC 24 /* IrDA TX Polarity Change */
-#define BITP_UART_CTL_RPOLC 23 /* IrDA RX Polarity Change */
-#define BITP_UART_CTL_FCPOL 22 /* Flow Control Pin Polarity */
-#define BITP_UART_CTL_SB 19 /* Set Break */
-#define BITP_UART_CTL_FFE 18 /* Force Framing Error on Transmit */
-#define BITP_UART_CTL_FPE 17 /* Force Parity Error on Transmit */
-#define BITP_UART_CTL_STP 16 /* Sticky Parity */
-#define BITP_UART_CTL_EPS 15 /* Even Parity Select */
-#define BITP_UART_CTL_PEN 14 /* Parity Enable */
-#define BITP_UART_CTL_STBH 13 /* Stop Bits (Half Bit Time) */
-#define BITP_UART_CTL_STB 12 /* Stop Bits */
-#define BITP_UART_CTL_WLS 8 /* Word Length Select */
-#define BITP_UART_CTL_MOD 4 /* Mode of Operation */
-#define BITP_UART_CTL_LOOP_EN 1 /* Loopback Enable */
-#define BITP_UART_CTL_EN 0 /* Enable UART */
-
-#define BITM_UART_CTL_RFRT (_ADI_MSK(0x40000000,uint32_t)) /* Receive FIFO RTS Threshold */
-#define ENUM_UART_CTL_RX_RTS_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 4; assert if <= 4 */
-#define ENUM_UART_CTL_RX_RTS_TH7 (_ADI_MSK(0x40000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 7; assert if <= 7 */
-
-#define BITM_UART_CTL_RFIT (_ADI_MSK(0x20000000,uint32_t)) /* Receive FIFO IRQ Threshold */
-#define ENUM_UART_CTL_RX_IRQ_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 4 */
-#define ENUM_UART_CTL_RX_IRQ_TH7 (_ADI_MSK(0x20000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 7 */
-
-#define BITM_UART_CTL_ACTS (_ADI_MSK(0x10000000,uint32_t)) /* Automatic CTS */
-#define ENUM_UART_CTL_CTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ACTS: Disable TX handshaking protocol */
-#define ENUM_UART_CTL_CTS_AUTO (_ADI_MSK(0x10000000,uint32_t)) /* ACTS: Enable TX handshaking protocol */
-
-#define BITM_UART_CTL_ARTS (_ADI_MSK(0x08000000,uint32_t)) /* Automatic RTS */
-#define ENUM_UART_CTL_RTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ARTS: Disable RX handshaking protocol. */
-#define ENUM_UART_CTL_RTS_AUTO (_ADI_MSK(0x08000000,uint32_t)) /* ARTS: Enable RX handshaking protocol. */
-
-#define BITM_UART_CTL_XOFF (_ADI_MSK(0x04000000,uint32_t)) /* Transmitter off */
-#define ENUM_UART_CTL_TX_ON (_ADI_MSK(0x00000000,uint32_t)) /* XOFF: Transmission ON, if ACTS=0 */
-#define ENUM_UART_CTL_TX_OFF (_ADI_MSK(0x04000000,uint32_t)) /* XOFF: Transmission OFF, if ACTS=0 */
-
-#define BITM_UART_CTL_MRTS (_ADI_MSK(0x02000000,uint32_t)) /* Manual Request to Send */
-#define ENUM_UART_CTL_RTS_DEASSERT (_ADI_MSK(0x00000000,uint32_t)) /* MRTS: De-assert RTS pin when ARTS=0 */
-#define ENUM_UART_CTL_RTS_ASSERT (_ADI_MSK(0x02000000,uint32_t)) /* MRTS: Assert RTS pin when ARTS=0 */
-
-#define BITM_UART_CTL_TPOLC (_ADI_MSK(0x01000000,uint32_t)) /* IrDA TX Polarity Change */
-#define ENUM_UART_CTL_TPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TPOLC: Active-low TX polarity setting */
-#define ENUM_UART_CTL_TPOLC_HI (_ADI_MSK(0x01000000,uint32_t)) /* TPOLC: Active-high TX polarity setting */
-
-#define BITM_UART_CTL_RPOLC (_ADI_MSK(0x00800000,uint32_t)) /* IrDA RX Polarity Change */
-#define ENUM_UART_CTL_RPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* RPOLC: Active-low RX polarity setting */
-#define ENUM_UART_CTL_RPOLC_HI (_ADI_MSK(0x00800000,uint32_t)) /* RPOLC: Active-high RX polarity setting */
-
-#define BITM_UART_CTL_FCPOL (_ADI_MSK(0x00400000,uint32_t)) /* Flow Control Pin Polarity */
-#define ENUM_UART_CTL_FCPOL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPOL: Active low CTS/RTS */
-#define ENUM_UART_CTL_FCPOL_HI (_ADI_MSK(0x00400000,uint32_t)) /* FCPOL: Active high CTS/RTS */
-
-#define BITM_UART_CTL_SB (_ADI_MSK(0x00080000,uint32_t)) /* Set Break */
-#define ENUM_UART_CTL_NORM_BREAK (_ADI_MSK(0x00000000,uint32_t)) /* SB: No force */
-#define ENUM_UART_CTL_FORCE_BREAK (_ADI_MSK(0x00080000,uint32_t)) /* SB: Force TX pin to 0 */
-
-#define BITM_UART_CTL_FFE (_ADI_MSK(0x00040000,uint32_t)) /* Force Framing Error on Transmit */
-#define ENUM_UART_CTL_NORM_FRM_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FFE: Normal operation */
-#define ENUM_UART_CTL_FORCE_FRM_ERR (_ADI_MSK(0x00040000,uint32_t)) /* FFE: Force error */
-
-#define BITM_UART_CTL_FPE (_ADI_MSK(0x00020000,uint32_t)) /* Force Parity Error on Transmit */
-#define ENUM_UART_CTL_NORM_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FPE: Normal operation */
-#define ENUM_UART_CTL_FORCE_PARITY_ERR (_ADI_MSK(0x00020000,uint32_t)) /* FPE: Force parity error */
-
-#define BITM_UART_CTL_STP (_ADI_MSK(0x00010000,uint32_t)) /* Sticky Parity */
-#define ENUM_UART_CTL_NORM_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* STP: No Forced Parity */
-#define ENUM_UART_CTL_STICKY_PARITY (_ADI_MSK(0x00010000,uint32_t)) /* STP: Force (Stick) Parity to Defined Value (if PEN=1) */
-
-#define BITM_UART_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* Even Parity Select */
-#define ENUM_UART_CTL_ODD_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* EPS: Odd parity */
-#define ENUM_UART_CTL_EVEN_PARITY (_ADI_MSK(0x00008000,uint32_t)) /* EPS: Even parity */
-
-#define BITM_UART_CTL_PEN (_ADI_MSK(0x00004000,uint32_t)) /* Parity Enable */
-#define ENUM_UART_CTL_PARITY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PEN: Disable */
-#define ENUM_UART_CTL_PARITY_EN (_ADI_MSK(0x00004000,uint32_t)) /* PEN: Enable parity transmit and check */
-
-#define BITM_UART_CTL_STBH (_ADI_MSK(0x00002000,uint32_t)) /* Stop Bits (Half Bit Time) */
-#define ENUM_UART_CTL_NO_EXTRA_STBH (_ADI_MSK(0x00000000,uint32_t)) /* STBH: 0 half-bit-time stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STBH (_ADI_MSK(0x00002000,uint32_t)) /* STBH: 1 half-bit-time stop bit */
-
-#define BITM_UART_CTL_STB (_ADI_MSK(0x00001000,uint32_t)) /* Stop Bits */
-#define ENUM_UART_CTL_NO_EXTRA_STB (_ADI_MSK(0x00000000,uint32_t)) /* STB: 1 stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STB (_ADI_MSK(0x00001000,uint32_t)) /* STB: 2 stop bits */
-
-#define BITM_UART_CTL_WLS (_ADI_MSK(0x00000300,uint32_t)) /* Word Length Select */
-#define ENUM_UART_CTL_WL5BITS (_ADI_MSK(0x00000000,uint32_t)) /* WLS: 5-bit Word */
-#define ENUM_UART_CTL_WL6BITS (_ADI_MSK(0x00000100,uint32_t)) /* WLS: 6-bit Word */
-#define ENUM_UART_CTL_WL7BITS (_ADI_MSK(0x00000200,uint32_t)) /* WLS: 7-bit Word */
-#define ENUM_UART_CTL_WL8BITS (_ADI_MSK(0x00000300,uint32_t)) /* WLS: 8-bit Word */
-
-#define BITM_UART_CTL_MOD (_ADI_MSK(0x00000030,uint32_t)) /* Mode of Operation */
-#define ENUM_UART_CTL_UART_MODE (_ADI_MSK(0x00000000,uint32_t)) /* MOD: UART Mode */
-#define ENUM_UART_CTL_MDB_MODE (_ADI_MSK(0x00000010,uint32_t)) /* MOD: MDB Mode */
-#define ENUM_UART_CTL_IRDA_MODE (_ADI_MSK(0x00000020,uint32_t)) /* MOD: IrDA SIR Mode */
-
-#define BITM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* Loopback Enable */
-#define ENUM_UART_CTL_LOOP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* LOOP_EN: Disable */
-#define ENUM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* LOOP_EN: Enable */
-
-#define BITM_UART_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable UART */
-#define ENUM_UART_CTL_CLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_UART_CTL_CLK_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_STAT_RFCS 17 /* Receive FIFO Count Status */
-#define BITP_UART_STAT_CTS 16 /* Clear to Send */
-#define BITP_UART_STAT_SCTS 12 /* Sticky CTS */
-#define BITP_UART_STAT_RO 11 /* Reception On-going */
-#define BITP_UART_STAT_ADDR 10 /* Address Bit Status */
-#define BITP_UART_STAT_ASTKY 9 /* Address Sticky */
-#define BITP_UART_STAT_TFI 8 /* Transmission Finished Indicator */
-#define BITP_UART_STAT_TEMT 7 /* TSR and THR Empty */
-#define BITP_UART_STAT_THRE 5 /* Transmit Hold Register Empty */
-#define BITP_UART_STAT_BI 4 /* Break Indicator */
-#define BITP_UART_STAT_FE 3 /* Framing Error */
-#define BITP_UART_STAT_PE 2 /* Parity Error */
-#define BITP_UART_STAT_OE 1 /* Overrun Error */
-#define BITP_UART_STAT_DR 0 /* Data Ready */
-
-#define BITM_UART_STAT_RFCS (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Count Status */
-#define ENUM_UART_STAT_RFCS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RFCS: RX FIFO has less than 4 (7) entries when RFIT=0 (1) */
-#define ENUM_UART_STAT_RFCS_HI (_ADI_MSK(0x00020000,uint32_t)) /* RFCS: RX FIFO has at least 4 (7) entries when RFIT=0 (1) */
-
-#define BITM_UART_STAT_CTS (_ADI_MSK(0x00010000,uint32_t)) /* Clear to Send */
-#define ENUM_UART_STAT_CTS_LO (_ADI_MSK(0x00000000,uint32_t)) /* CTS: Not clear to send (External device not ready to receive) */
-#define ENUM_UART_STAT_CTS_HI (_ADI_MSK(0x00010000,uint32_t)) /* CTS: Clear to send (External device ready to receive) */
-
-#define BITM_UART_STAT_SCTS (_ADI_MSK(0x00001000,uint32_t)) /* Sticky CTS */
-#define ENUM_UART_STAT_CTS_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* SCTS: CTS has not transitioned from low to high */
-#define ENUM_UART_STAT_CTS_HI_STKY (_ADI_MSK(0x00001000,uint32_t)) /* SCTS: CTS has transitioned from low to high */
-
-#define BITM_UART_STAT_RO (_ADI_MSK(0x00000800,uint32_t)) /* Reception On-going */
-#define ENUM_UART_STAT_NO_RX_PROGRESS (_ADI_MSK(0x00000000,uint32_t)) /* RO: No data reception in progress */
-#define ENUM_UART_STAT_RX_PROGRESS (_ADI_MSK(0x00000800,uint32_t)) /* RO: Data reception in progress */
-
-#define BITM_UART_STAT_ADDR (_ADI_MSK(0x00000400,uint32_t)) /* Address Bit Status */
-#define ENUM_UART_STAT_ADDR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ADDR: Address bit is low */
-#define ENUM_UART_STAT_ADDR_HI (_ADI_MSK(0x00000400,uint32_t)) /* ADDR: Address bit is high */
-
-#define BITM_UART_STAT_ASTKY (_ADI_MSK(0x00000200,uint32_t)) /* Address Sticky */
-#define ENUM_UART_STAT_ADDR_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* ASTKY: ADDR bit has not been set */
-#define ENUM_UART_STAT_ADDR_HI_STKY (_ADI_MSK(0x00000200,uint32_t)) /* ASTKY: ADDR bit has been set */
-
-#define BITM_UART_STAT_TFI (_ADI_MSK(0x00000100,uint32_t)) /* Transmission Finished Indicator */
-#define ENUM_UART_STAT_TX_NOT_DONE (_ADI_MSK(0x00000000,uint32_t)) /* TFI: TEMT did not transition from 0 to 1 */
-#define ENUM_UART_STAT_TX_DONE (_ADI_MSK(0x00000100,uint32_t)) /* TFI: TEMT transition from 0 to 1 */
-
-#define BITM_UART_STAT_TEMT (_ADI_MSK(0x00000080,uint32_t)) /* TSR and THR Empty */
-#define ENUM_UART_STAT_TX_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* TEMT: Not empty TSR/THR */
-#define ENUM_UART_STAT_TX_EMPTY (_ADI_MSK(0x00000080,uint32_t)) /* TEMT: TSR/THR Empty */
-
-#define BITM_UART_STAT_THRE (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Hold Register Empty */
-#define ENUM_UART_STAT_THR_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* THRE: Not empty THR/TAIP */
-#define ENUM_UART_STAT_THR_EMPTY (_ADI_MSK(0x00000020,uint32_t)) /* THRE: Empty THR/TAIP */
-
-#define BITM_UART_STAT_BI (_ADI_MSK(0x00000010,uint32_t)) /* Break Indicator */
-#define ENUM_UART_STAT_NO_BREAK_INT (_ADI_MSK(0x00000000,uint32_t)) /* BI: No break interrupt */
-#define ENUM_UART_STAT_BREAK_INT (_ADI_MSK(0x00000010,uint32_t)) /* BI: Break interrupt */
-
-#define BITM_UART_STAT_FE (_ADI_MSK(0x00000008,uint32_t)) /* Framing Error */
-#define ENUM_UART_STAT_NO_FRAMING_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FE: No error */
-#define ENUM_UART_STAT_FRAMING_ERR (_ADI_MSK(0x00000008,uint32_t)) /* FE: Invalid stop bit error */
-
-#define BITM_UART_STAT_PE (_ADI_MSK(0x00000004,uint32_t)) /* Parity Error */
-#define ENUM_UART_STAT_NO_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* PE: No parity error */
-#define ENUM_UART_STAT_PARITY_ERR (_ADI_MSK(0x00000004,uint32_t)) /* PE: Parity error */
-
-#define BITM_UART_STAT_OE (_ADI_MSK(0x00000002,uint32_t)) /* Overrun Error */
-#define ENUM_UART_STAT_NO_OVR_ERR (_ADI_MSK(0x00000000,uint32_t)) /* OE: No overrun */
-#define ENUM_UART_STAT_OVR_ERR (_ADI_MSK(0x00000002,uint32_t)) /* OE: Overrun error */
-
-#define BITM_UART_STAT_DR (_ADI_MSK(0x00000001,uint32_t)) /* Data Ready */
-#define ENUM_UART_STAT_NO_DATA (_ADI_MSK(0x00000000,uint32_t)) /* DR: No new data */
-#define ENUM_UART_STAT_NEW_DATA (_ADI_MSK(0x00000001,uint32_t)) /* DR: New data in RBR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_SCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_SCR_VALUE 0 /* Stored 8-bit Data */
-#define BITM_UART_SCR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Stored 8-bit Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CLK_EDBO 31 /* Enable Divide By One */
-#define BITP_UART_CLK_DIV 0 /* Divisor */
-
-#define BITM_UART_CLK_EDBO (_ADI_MSK(0x80000000,uint32_t)) /* Enable Divide By One */
-#define ENUM_UART_CLK_DIS_DIV_BY_ONE (_ADI_MSK(0x00000000,uint32_t)) /* EDBO: Bit clock prescaler = 16 */
-#define ENUM_UART_CLK_EN_DIV_BY_ONE (_ADI_MSK(0x80000000,uint32_t)) /* EDBO: Bit clock prescaler = 1 */
-#define BITM_UART_CLK_DIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_ETXS 9 /* Enable TX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ERXS 8 /* Enable RX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_EAWI 7 /* Enable Address Word Interrupt Mask Status */
-#define BITP_UART_IMSK_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Status */
-#define BITP_UART_IMSK_ETFI 5 /* Enable Transmission Finished Interrupt Mask Status */
-#define BITP_UART_IMSK_EDTPTI 4 /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define BITP_UART_IMSK_EDSSI 3 /* Enable Modem Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ELSI 2 /* Enable Line Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define BITP_UART_IMSK_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Status */
-
-#define BITM_UART_IMSK_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Status */
-#define ENUM_UART_ETXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETXS: Interrupt is masked */
-#define ENUM_UART_ETXS_HI (_ADI_MSK(0x00000200,uint32_t)) /* ETXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Status */
-#define ENUM_UART_ERXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERXS: Interrupt is masked */
-#define ENUM_UART_ERXS_HI (_ADI_MSK(0x00000100,uint32_t)) /* ERXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Status */
-#define ENUM_UART_EAWI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EAWI: Interrupt is masked */
-#define ENUM_UART_EAWI_HI (_ADI_MSK(0x00000080,uint32_t)) /* EAWI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Status */
-#define ENUM_UART_ERFCI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERFCI: Interrupt is masked */
-#define ENUM_UART_ERFCI_HI (_ADI_MSK(0x00000040,uint32_t)) /* ERFCI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Status */
-#define ENUM_UART_ETFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETFI: Interrupt is masked */
-#define ENUM_UART_ETFI_HI (_ADI_MSK(0x00000020,uint32_t)) /* ETFI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define ENUM_UART_EDTPTI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDTPTI: Interrupt is masked */
-#define ENUM_UART_EDTPTI_HI (_ADI_MSK(0x00000010,uint32_t)) /* EDTPTI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Status */
-#define ENUM_UART_EDSSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDSSI: Interrupt is masked */
-#define ENUM_UART_EDSSI_HI (_ADI_MSK(0x00000008,uint32_t)) /* EDSSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Status */
-#define ENUM_UART_ELSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ELSI: Interrupt is masked */
-#define ENUM_UART_ELSI_HI (_ADI_MSK(0x00000004,uint32_t)) /* ELSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define ENUM_UART_ETBEI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETBEI: Interrupt is masked */
-#define ENUM_UART_ETBEI_HI (_ADI_MSK(0x00000002,uint32_t)) /* ETBEI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Status */
-#define ENUM_UART_ERBFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERBFI: Interrupt is masked */
-#define ENUM_UART_ERBFI_HI (_ADI_MSK(0x00000001,uint32_t)) /* ERBFI: Interrupt is unmasked */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_SET_ETXS 9 /* Enable TX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERXS 8 /* Enable RX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EAWI 7 /* Enable Address Word Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETFI 5 /* Enable Transmission Finished Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDSSI 3 /* Enable Modem Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ELSI 2 /* Enable Line Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* The fields and enumerations for UART_IMSK_SET are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_SET_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_CLR_ETXS 9 /* Enable TX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERXS 8 /* Enable RX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EAWI 7 /* Enable Address Word Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETFI 5 /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDSSI 3 /* Enable Modem Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ELSI 2 /* Enable Line Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* The fields and enumerations for UART_IMSK_CLR are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_CLR_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RBR_VALUE 0 /* 8-bit data */
-#define BITM_UART_RBR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_THR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_THR_VALUE 0 /* 8 bit data */
-#define BITM_UART_THR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8 bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TAIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TAIP_VALUE 0 /* 8-bit data */
-#define BITM_UART_TAIP_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TSR_VALUE 0 /* Contents of TSR */
-#define BITM_UART_TSR_VALUE (_ADI_MSK(0x000007FF,uint32_t)) /* Contents of TSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RSR_VALUE 0 /* Contents of RSR */
-#define BITM_UART_RSR_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Contents of RSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_TXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_RXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ==================================================
- General Purpose Input/Output Registers
- ================================================== */
-
-/* =========================
- PORTA
- ========================= */
-#define REG_PORTA_FER 0xFFC03000 /* PORTA Port x Function Enable Register */
-#define REG_PORTA_FER_SET 0xFFC03004 /* PORTA Port x Function Enable Set Register */
-#define REG_PORTA_FER_CLR 0xFFC03008 /* PORTA Port x Function Enable Clear Register */
-#define REG_PORTA_DATA 0xFFC0300C /* PORTA Port x GPIO Data Register */
-#define REG_PORTA_DATA_SET 0xFFC03010 /* PORTA Port x GPIO Data Set Register */
-#define REG_PORTA_DATA_CLR 0xFFC03014 /* PORTA Port x GPIO Data Clear Register */
-#define REG_PORTA_DIR 0xFFC03018 /* PORTA Port x GPIO Direction Register */
-#define REG_PORTA_DIR_SET 0xFFC0301C /* PORTA Port x GPIO Direction Set Register */
-#define REG_PORTA_DIR_CLR 0xFFC03020 /* PORTA Port x GPIO Direction Clear Register */
-#define REG_PORTA_INEN 0xFFC03024 /* PORTA Port x GPIO Input Enable Register */
-#define REG_PORTA_INEN_SET 0xFFC03028 /* PORTA Port x GPIO Input Enable Set Register */
-#define REG_PORTA_INEN_CLR 0xFFC0302C /* PORTA Port x GPIO Input Enable Clear Register */
-#define REG_PORTA_MUX 0xFFC03030 /* PORTA Port x Multiplexer Control Register */
-#define REG_PORTA_DATA_TGL 0xFFC03034 /* PORTA Port x GPIO Input Enable Toggle Register */
-#define REG_PORTA_POL 0xFFC03038 /* PORTA Port x GPIO Polarity Invert Register */
-#define REG_PORTA_POL_SET 0xFFC0303C /* PORTA Port x GPIO Polarity Invert Set Register */
-#define REG_PORTA_POL_CLR 0xFFC03040 /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTA_LOCK 0xFFC03044 /* PORTA Port x GPIO Lock Register */
-#define REG_PORTA_REVID 0xFFC0307C /* PORTA Port x GPIO Revision ID */
-
-/* =========================
- PORTB
- ========================= */
-#define REG_PORTB_FER 0xFFC03080 /* PORTB Port x Function Enable Register */
-#define REG_PORTB_FER_SET 0xFFC03084 /* PORTB Port x Function Enable Set Register */
-#define REG_PORTB_FER_CLR 0xFFC03088 /* PORTB Port x Function Enable Clear Register */
-#define REG_PORTB_DATA 0xFFC0308C /* PORTB Port x GPIO Data Register */
-#define REG_PORTB_DATA_SET 0xFFC03090 /* PORTB Port x GPIO Data Set Register */
-#define REG_PORTB_DATA_CLR 0xFFC03094 /* PORTB Port x GPIO Data Clear Register */
-#define REG_PORTB_DIR 0xFFC03098 /* PORTB Port x GPIO Direction Register */
-#define REG_PORTB_DIR_SET 0xFFC0309C /* PORTB Port x GPIO Direction Set Register */
-#define REG_PORTB_DIR_CLR 0xFFC030A0 /* PORTB Port x GPIO Direction Clear Register */
-#define REG_PORTB_INEN 0xFFC030A4 /* PORTB Port x GPIO Input Enable Register */
-#define REG_PORTB_INEN_SET 0xFFC030A8 /* PORTB Port x GPIO Input Enable Set Register */
-#define REG_PORTB_INEN_CLR 0xFFC030AC /* PORTB Port x GPIO Input Enable Clear Register */
-#define REG_PORTB_MUX 0xFFC030B0 /* PORTB Port x Multiplexer Control Register */
-#define REG_PORTB_DATA_TGL 0xFFC030B4 /* PORTB Port x GPIO Input Enable Toggle Register */
-#define REG_PORTB_POL 0xFFC030B8 /* PORTB Port x GPIO Polarity Invert Register */
-#define REG_PORTB_POL_SET 0xFFC030BC /* PORTB Port x GPIO Polarity Invert Set Register */
-#define REG_PORTB_POL_CLR 0xFFC030C0 /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTB_LOCK 0xFFC030C4 /* PORTB Port x GPIO Lock Register */
-#define REG_PORTB_REVID 0xFFC030FC /* PORTB Port x GPIO Revision ID */
-
-/* =========================
- PORTC
- ========================= */
-#define REG_PORTC_FER 0xFFC03100 /* PORTC Port x Function Enable Register */
-#define REG_PORTC_FER_SET 0xFFC03104 /* PORTC Port x Function Enable Set Register */
-#define REG_PORTC_FER_CLR 0xFFC03108 /* PORTC Port x Function Enable Clear Register */
-#define REG_PORTC_DATA 0xFFC0310C /* PORTC Port x GPIO Data Register */
-#define REG_PORTC_DATA_SET 0xFFC03110 /* PORTC Port x GPIO Data Set Register */
-#define REG_PORTC_DATA_CLR 0xFFC03114 /* PORTC Port x GPIO Data Clear Register */
-#define REG_PORTC_DIR 0xFFC03118 /* PORTC Port x GPIO Direction Register */
-#define REG_PORTC_DIR_SET 0xFFC0311C /* PORTC Port x GPIO Direction Set Register */
-#define REG_PORTC_DIR_CLR 0xFFC03120 /* PORTC Port x GPIO Direction Clear Register */
-#define REG_PORTC_INEN 0xFFC03124 /* PORTC Port x GPIO Input Enable Register */
-#define REG_PORTC_INEN_SET 0xFFC03128 /* PORTC Port x GPIO Input Enable Set Register */
-#define REG_PORTC_INEN_CLR 0xFFC0312C /* PORTC Port x GPIO Input Enable Clear Register */
-#define REG_PORTC_MUX 0xFFC03130 /* PORTC Port x Multiplexer Control Register */
-#define REG_PORTC_DATA_TGL 0xFFC03134 /* PORTC Port x GPIO Input Enable Toggle Register */
-#define REG_PORTC_POL 0xFFC03138 /* PORTC Port x GPIO Polarity Invert Register */
-#define REG_PORTC_POL_SET 0xFFC0313C /* PORTC Port x GPIO Polarity Invert Set Register */
-#define REG_PORTC_POL_CLR 0xFFC03140 /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTC_LOCK 0xFFC03144 /* PORTC Port x GPIO Lock Register */
-#define REG_PORTC_REVID 0xFFC0317C /* PORTC Port x GPIO Revision ID */
-
-/* =========================
- PORTD
- ========================= */
-#define REG_PORTD_FER 0xFFC03180 /* PORTD Port x Function Enable Register */
-#define REG_PORTD_FER_SET 0xFFC03184 /* PORTD Port x Function Enable Set Register */
-#define REG_PORTD_FER_CLR 0xFFC03188 /* PORTD Port x Function Enable Clear Register */
-#define REG_PORTD_DATA 0xFFC0318C /* PORTD Port x GPIO Data Register */
-#define REG_PORTD_DATA_SET 0xFFC03190 /* PORTD Port x GPIO Data Set Register */
-#define REG_PORTD_DATA_CLR 0xFFC03194 /* PORTD Port x GPIO Data Clear Register */
-#define REG_PORTD_DIR 0xFFC03198 /* PORTD Port x GPIO Direction Register */
-#define REG_PORTD_DIR_SET 0xFFC0319C /* PORTD Port x GPIO Direction Set Register */
-#define REG_PORTD_DIR_CLR 0xFFC031A0 /* PORTD Port x GPIO Direction Clear Register */
-#define REG_PORTD_INEN 0xFFC031A4 /* PORTD Port x GPIO Input Enable Register */
-#define REG_PORTD_INEN_SET 0xFFC031A8 /* PORTD Port x GPIO Input Enable Set Register */
-#define REG_PORTD_INEN_CLR 0xFFC031AC /* PORTD Port x GPIO Input Enable Clear Register */
-#define REG_PORTD_MUX 0xFFC031B0 /* PORTD Port x Multiplexer Control Register */
-#define REG_PORTD_DATA_TGL 0xFFC031B4 /* PORTD Port x GPIO Input Enable Toggle Register */
-#define REG_PORTD_POL 0xFFC031B8 /* PORTD Port x GPIO Polarity Invert Register */
-#define REG_PORTD_POL_SET 0xFFC031BC /* PORTD Port x GPIO Polarity Invert Set Register */
-#define REG_PORTD_POL_CLR 0xFFC031C0 /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTD_LOCK 0xFFC031C4 /* PORTD Port x GPIO Lock Register */
-#define REG_PORTD_REVID 0xFFC031FC /* PORTD Port x GPIO Revision ID */
-
-/* =========================
- PORTE
- ========================= */
-#define REG_PORTE_FER 0xFFC03200 /* PORTE Port x Function Enable Register */
-#define REG_PORTE_FER_SET 0xFFC03204 /* PORTE Port x Function Enable Set Register */
-#define REG_PORTE_FER_CLR 0xFFC03208 /* PORTE Port x Function Enable Clear Register */
-#define REG_PORTE_DATA 0xFFC0320C /* PORTE Port x GPIO Data Register */
-#define REG_PORTE_DATA_SET 0xFFC03210 /* PORTE Port x GPIO Data Set Register */
-#define REG_PORTE_DATA_CLR 0xFFC03214 /* PORTE Port x GPIO Data Clear Register */
-#define REG_PORTE_DIR 0xFFC03218 /* PORTE Port x GPIO Direction Register */
-#define REG_PORTE_DIR_SET 0xFFC0321C /* PORTE Port x GPIO Direction Set Register */
-#define REG_PORTE_DIR_CLR 0xFFC03220 /* PORTE Port x GPIO Direction Clear Register */
-#define REG_PORTE_INEN 0xFFC03224 /* PORTE Port x GPIO Input Enable Register */
-#define REG_PORTE_INEN_SET 0xFFC03228 /* PORTE Port x GPIO Input Enable Set Register */
-#define REG_PORTE_INEN_CLR 0xFFC0322C /* PORTE Port x GPIO Input Enable Clear Register */
-#define REG_PORTE_MUX 0xFFC03230 /* PORTE Port x Multiplexer Control Register */
-#define REG_PORTE_DATA_TGL 0xFFC03234 /* PORTE Port x GPIO Input Enable Toggle Register */
-#define REG_PORTE_POL 0xFFC03238 /* PORTE Port x GPIO Polarity Invert Register */
-#define REG_PORTE_POL_SET 0xFFC0323C /* PORTE Port x GPIO Polarity Invert Set Register */
-#define REG_PORTE_POL_CLR 0xFFC03240 /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTE_LOCK 0xFFC03244 /* PORTE Port x GPIO Lock Register */
-#define REG_PORTE_REVID 0xFFC0327C /* PORTE Port x GPIO Revision ID */
-
-/* =========================
- PORTF
- ========================= */
-#define REG_PORTF_FER 0xFFC03280 /* PORTF Port x Function Enable Register */
-#define REG_PORTF_FER_SET 0xFFC03284 /* PORTF Port x Function Enable Set Register */
-#define REG_PORTF_FER_CLR 0xFFC03288 /* PORTF Port x Function Enable Clear Register */
-#define REG_PORTF_DATA 0xFFC0328C /* PORTF Port x GPIO Data Register */
-#define REG_PORTF_DATA_SET 0xFFC03290 /* PORTF Port x GPIO Data Set Register */
-#define REG_PORTF_DATA_CLR 0xFFC03294 /* PORTF Port x GPIO Data Clear Register */
-#define REG_PORTF_DIR 0xFFC03298 /* PORTF Port x GPIO Direction Register */
-#define REG_PORTF_DIR_SET 0xFFC0329C /* PORTF Port x GPIO Direction Set Register */
-#define REG_PORTF_DIR_CLR 0xFFC032A0 /* PORTF Port x GPIO Direction Clear Register */
-#define REG_PORTF_INEN 0xFFC032A4 /* PORTF Port x GPIO Input Enable Register */
-#define REG_PORTF_INEN_SET 0xFFC032A8 /* PORTF Port x GPIO Input Enable Set Register */
-#define REG_PORTF_INEN_CLR 0xFFC032AC /* PORTF Port x GPIO Input Enable Clear Register */
-#define REG_PORTF_MUX 0xFFC032B0 /* PORTF Port x Multiplexer Control Register */
-#define REG_PORTF_DATA_TGL 0xFFC032B4 /* PORTF Port x GPIO Input Enable Toggle Register */
-#define REG_PORTF_POL 0xFFC032B8 /* PORTF Port x GPIO Polarity Invert Register */
-#define REG_PORTF_POL_SET 0xFFC032BC /* PORTF Port x GPIO Polarity Invert Set Register */
-#define REG_PORTF_POL_CLR 0xFFC032C0 /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTF_LOCK 0xFFC032C4 /* PORTF Port x GPIO Lock Register */
-#define REG_PORTF_REVID 0xFFC032FC /* PORTF Port x GPIO Revision ID */
-
-/* =========================
- PORTG
- ========================= */
-#define REG_PORTG_FER 0xFFC03300 /* PORTG Port x Function Enable Register */
-#define REG_PORTG_FER_SET 0xFFC03304 /* PORTG Port x Function Enable Set Register */
-#define REG_PORTG_FER_CLR 0xFFC03308 /* PORTG Port x Function Enable Clear Register */
-#define REG_PORTG_DATA 0xFFC0330C /* PORTG Port x GPIO Data Register */
-#define REG_PORTG_DATA_SET 0xFFC03310 /* PORTG Port x GPIO Data Set Register */
-#define REG_PORTG_DATA_CLR 0xFFC03314 /* PORTG Port x GPIO Data Clear Register */
-#define REG_PORTG_DIR 0xFFC03318 /* PORTG Port x GPIO Direction Register */
-#define REG_PORTG_DIR_SET 0xFFC0331C /* PORTG Port x GPIO Direction Set Register */
-#define REG_PORTG_DIR_CLR 0xFFC03320 /* PORTG Port x GPIO Direction Clear Register */
-#define REG_PORTG_INEN 0xFFC03324 /* PORTG Port x GPIO Input Enable Register */
-#define REG_PORTG_INEN_SET 0xFFC03328 /* PORTG Port x GPIO Input Enable Set Register */
-#define REG_PORTG_INEN_CLR 0xFFC0332C /* PORTG Port x GPIO Input Enable Clear Register */
-#define REG_PORTG_MUX 0xFFC03330 /* PORTG Port x Multiplexer Control Register */
-#define REG_PORTG_DATA_TGL 0xFFC03334 /* PORTG Port x GPIO Input Enable Toggle Register */
-#define REG_PORTG_POL 0xFFC03338 /* PORTG Port x GPIO Polarity Invert Register */
-#define REG_PORTG_POL_SET 0xFFC0333C /* PORTG Port x GPIO Polarity Invert Set Register */
-#define REG_PORTG_POL_CLR 0xFFC03340 /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */
-#define REG_PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */
-
-/* =========================
- PORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_PX15 15 /* Port x Bit 15 Mode */
-#define BITP_PORT_FER_PX14 14 /* Port x Bit 14 Mode */
-#define BITP_PORT_FER_PX13 13 /* Port x Bit 13 Mode */
-#define BITP_PORT_FER_PX12 12 /* Port x Bit 12 Mode */
-#define BITP_PORT_FER_PX11 11 /* Port x Bit 11 Mode */
-#define BITP_PORT_FER_PX10 10 /* Port x Bit 10 Mode */
-#define BITP_PORT_FER_PX9 9 /* Port x Bit 9 Mode */
-#define BITP_PORT_FER_PX8 8 /* Port x Bit 8 Mode */
-#define BITP_PORT_FER_PX7 7 /* Port x Bit 7 Mode */
-#define BITP_PORT_FER_PX6 6 /* Port x Bit 6 Mode */
-#define BITP_PORT_FER_PX5 5 /* Port x Bit 5 Mode */
-#define BITP_PORT_FER_PX4 4 /* Port x Bit 4 Mode */
-#define BITP_PORT_FER_PX3 3 /* Port x Bit 3 Mode */
-#define BITP_PORT_FER_PX2 2 /* Port x Bit 2 Mode */
-#define BITP_PORT_FER_PX1 1 /* Port x Bit 1 Mode */
-#define BITP_PORT_FER_PX0 0 /* Port x Bit 0 Mode */
-#define BITM_PORT_FER_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode */
-#define BITM_PORT_FER_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode */
-#define BITM_PORT_FER_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode */
-#define BITM_PORT_FER_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode */
-#define BITM_PORT_FER_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode */
-#define BITM_PORT_FER_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode */
-#define BITM_PORT_FER_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode */
-#define BITM_PORT_FER_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode */
-#define BITM_PORT_FER_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode */
-#define BITM_PORT_FER_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode */
-#define BITM_PORT_FER_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode */
-#define BITM_PORT_FER_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode */
-#define BITM_PORT_FER_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode */
-#define BITM_PORT_FER_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode */
-#define BITM_PORT_FER_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode */
-#define BITM_PORT_FER_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_SET_PX15 15 /* Port x Bit 15 Mode Set */
-#define BITP_PORT_FER_SET_PX14 14 /* Port x Bit 14 Mode Set */
-#define BITP_PORT_FER_SET_PX13 13 /* Port x Bit 13 Mode Set */
-#define BITP_PORT_FER_SET_PX12 12 /* Port x Bit 12 Mode Set */
-#define BITP_PORT_FER_SET_PX11 11 /* Port x Bit 11 Mode Set */
-#define BITP_PORT_FER_SET_PX10 10 /* Port x Bit 10 Mode Set */
-#define BITP_PORT_FER_SET_PX9 9 /* Port x Bit 9 Mode Set */
-#define BITP_PORT_FER_SET_PX8 8 /* Port x Bit 8 Mode Set */
-#define BITP_PORT_FER_SET_PX7 7 /* Port x Bit 7 Mode Set */
-#define BITP_PORT_FER_SET_PX6 6 /* Port x Bit 6 Mode Set */
-#define BITP_PORT_FER_SET_PX5 5 /* Port x Bit 5 Mode Set */
-#define BITP_PORT_FER_SET_PX4 4 /* Port x Bit 4 Mode Set */
-#define BITP_PORT_FER_SET_PX3 3 /* Port x Bit 3 Mode Set */
-#define BITP_PORT_FER_SET_PX2 2 /* Port x Bit 2 Mode Set */
-#define BITP_PORT_FER_SET_PX1 1 /* Port x Bit 1 Mode Set */
-#define BITP_PORT_FER_SET_PX0 0 /* Port x Bit 0 Mode Set */
-#define BITM_PORT_FER_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Set */
-#define BITM_PORT_FER_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Set */
-#define BITM_PORT_FER_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Set */
-#define BITM_PORT_FER_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Set */
-#define BITM_PORT_FER_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Set */
-#define BITM_PORT_FER_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Set */
-#define BITM_PORT_FER_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Set */
-#define BITM_PORT_FER_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Set */
-#define BITM_PORT_FER_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Set */
-#define BITM_PORT_FER_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Set */
-#define BITM_PORT_FER_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Set */
-#define BITM_PORT_FER_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Set */
-#define BITM_PORT_FER_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Set */
-#define BITM_PORT_FER_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Set */
-#define BITM_PORT_FER_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Set */
-#define BITM_PORT_FER_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_CLR_PX15 15 /* Port x Bit 15 Mode Clear */
-#define BITP_PORT_FER_CLR_PX14 14 /* Port x Bit 14 Mode Clear */
-#define BITP_PORT_FER_CLR_PX13 13 /* Port x Bit 13 Mode Clear */
-#define BITP_PORT_FER_CLR_PX12 12 /* Port x Bit 12 Mode Clear */
-#define BITP_PORT_FER_CLR_PX11 11 /* Port x Bit 11 Mode Clear */
-#define BITP_PORT_FER_CLR_PX10 10 /* Port x Bit 10 Mode Clear */
-#define BITP_PORT_FER_CLR_PX9 9 /* Port x Bit 9 Mode Clear */
-#define BITP_PORT_FER_CLR_PX8 8 /* Port x Bit 8 Mode Clear */
-#define BITP_PORT_FER_CLR_PX7 7 /* Port x Bit 7 Mode Clear */
-#define BITP_PORT_FER_CLR_PX6 6 /* Port x Bit 6 Mode Clear */
-#define BITP_PORT_FER_CLR_PX5 5 /* Port x Bit 5 Mode Clear */
-#define BITP_PORT_FER_CLR_PX4 4 /* Port x Bit 4 Mode Clear */
-#define BITP_PORT_FER_CLR_PX3 3 /* Port x Bit 3 Mode Clear */
-#define BITP_PORT_FER_CLR_PX2 2 /* Port x Bit 2 Mode Clear */
-#define BITP_PORT_FER_CLR_PX1 1 /* Port x Bit 1 Mode Clear */
-#define BITP_PORT_FER_CLR_PX0 0 /* Port x Bit 0 Mode Clear */
-#define BITM_PORT_FER_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Clear */
-#define BITM_PORT_FER_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Clear */
-#define BITM_PORT_FER_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Clear */
-#define BITM_PORT_FER_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Clear */
-#define BITM_PORT_FER_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Clear */
-#define BITM_PORT_FER_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Clear */
-#define BITM_PORT_FER_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Clear */
-#define BITM_PORT_FER_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Clear */
-#define BITM_PORT_FER_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Clear */
-#define BITM_PORT_FER_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Clear */
-#define BITM_PORT_FER_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Clear */
-#define BITM_PORT_FER_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Clear */
-#define BITM_PORT_FER_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Clear */
-#define BITM_PORT_FER_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Clear */
-#define BITM_PORT_FER_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Clear */
-#define BITM_PORT_FER_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_PX15 15 /* Port x Bit 15 Data */
-#define BITP_PORT_DATA_PX14 14 /* Port x Bit 14 Data */
-#define BITP_PORT_DATA_PX13 13 /* Port x Bit 13 Data */
-#define BITP_PORT_DATA_PX12 12 /* Port x Bit 12 Data */
-#define BITP_PORT_DATA_PX11 11 /* Port x Bit 11 Data */
-#define BITP_PORT_DATA_PX10 10 /* Port x Bit 10 Data */
-#define BITP_PORT_DATA_PX9 9 /* Port x Bit 9 Data */
-#define BITP_PORT_DATA_PX8 8 /* Port x Bit 8 Data */
-#define BITP_PORT_DATA_PX7 7 /* Port x Bit 7 Data */
-#define BITP_PORT_DATA_PX6 6 /* Port x Bit 6 Data */
-#define BITP_PORT_DATA_PX5 5 /* Port x Bit 5 Data */
-#define BITP_PORT_DATA_PX4 4 /* Port x Bit 4 Data */
-#define BITP_PORT_DATA_PX3 3 /* Port x Bit 3 Data */
-#define BITP_PORT_DATA_PX2 2 /* Port x Bit 2 Data */
-#define BITP_PORT_DATA_PX1 1 /* Port x Bit 1 Data */
-#define BITP_PORT_DATA_PX0 0 /* Port x Bit 0 Data */
-#define BITM_PORT_DATA_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data */
-#define BITM_PORT_DATA_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data */
-#define BITM_PORT_DATA_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data */
-#define BITM_PORT_DATA_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data */
-#define BITM_PORT_DATA_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data */
-#define BITM_PORT_DATA_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data */
-#define BITM_PORT_DATA_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data */
-#define BITM_PORT_DATA_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data */
-#define BITM_PORT_DATA_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data */
-#define BITM_PORT_DATA_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data */
-#define BITM_PORT_DATA_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data */
-#define BITM_PORT_DATA_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data */
-#define BITM_PORT_DATA_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data */
-#define BITM_PORT_DATA_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data */
-#define BITM_PORT_DATA_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data */
-#define BITM_PORT_DATA_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_SET_PX15 15 /* Port x Bit 15 Data Set */
-#define BITP_PORT_DATA_SET_PX14 14 /* Port x Bit 14 Data Set */
-#define BITP_PORT_DATA_SET_PX13 13 /* Port x Bit 13 Data Set */
-#define BITP_PORT_DATA_SET_PX12 12 /* Port x Bit 12 Data Set */
-#define BITP_PORT_DATA_SET_PX11 11 /* Port x Bit 11 Data Set */
-#define BITP_PORT_DATA_SET_PX10 10 /* Port x Bit 10 Data Set */
-#define BITP_PORT_DATA_SET_PX9 9 /* Port x Bit 9 Data Set */
-#define BITP_PORT_DATA_SET_PX8 8 /* Port x Bit 8 Data Set */
-#define BITP_PORT_DATA_SET_PX7 7 /* Port x Bit 7 Data Set */
-#define BITP_PORT_DATA_SET_PX6 6 /* Port x Bit 6 Data Set */
-#define BITP_PORT_DATA_SET_PX5 5 /* Port x Bit 5 Data Set */
-#define BITP_PORT_DATA_SET_PX4 4 /* Port x Bit 4 Data Set */
-#define BITP_PORT_DATA_SET_PX3 3 /* Port x Bit 3 Data Set */
-#define BITP_PORT_DATA_SET_PX2 2 /* Port x Bit 2 Data Set */
-#define BITP_PORT_DATA_SET_PX1 1 /* Port x Bit 1 Data Set */
-#define BITP_PORT_DATA_SET_PX0 0 /* Port x Bit 0 Data Set */
-#define BITM_PORT_DATA_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Set */
-#define BITM_PORT_DATA_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Set */
-#define BITM_PORT_DATA_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Set */
-#define BITM_PORT_DATA_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Set */
-#define BITM_PORT_DATA_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Set */
-#define BITM_PORT_DATA_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Set */
-#define BITM_PORT_DATA_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Set */
-#define BITM_PORT_DATA_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Set */
-#define BITM_PORT_DATA_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Set */
-#define BITM_PORT_DATA_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Set */
-#define BITM_PORT_DATA_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Set */
-#define BITM_PORT_DATA_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Set */
-#define BITM_PORT_DATA_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Set */
-#define BITM_PORT_DATA_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Set */
-#define BITM_PORT_DATA_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Set */
-#define BITM_PORT_DATA_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_CLR_PX15 15 /* Port x Bit 15 Data Clear */
-#define BITP_PORT_DATA_CLR_PX14 14 /* Port x Bit 14 Data Clear */
-#define BITP_PORT_DATA_CLR_PX13 13 /* Port x Bit 13 Data Clear */
-#define BITP_PORT_DATA_CLR_PX12 12 /* Port x Bit 12 Data Clear */
-#define BITP_PORT_DATA_CLR_PX11 11 /* Port x Bit 11 Data Clear */
-#define BITP_PORT_DATA_CLR_PX10 10 /* Port x Bit 10 Data Clear */
-#define BITP_PORT_DATA_CLR_PX9 9 /* Port x Bit 9 Data Clear */
-#define BITP_PORT_DATA_CLR_PX8 8 /* Port x Bit 8 Data Clear */
-#define BITP_PORT_DATA_CLR_PX7 7 /* Port x Bit 7 Data Clear */
-#define BITP_PORT_DATA_CLR_PX6 6 /* Port x Bit 6 Data Clear */
-#define BITP_PORT_DATA_CLR_PX5 5 /* Port x Bit 5 Data Clear */
-#define BITP_PORT_DATA_CLR_PX4 4 /* Port x Bit 4 Data Clear */
-#define BITP_PORT_DATA_CLR_PX3 3 /* Port x Bit 3 Data Clear */
-#define BITP_PORT_DATA_CLR_PX2 2 /* Port x Bit 2 Data Clear */
-#define BITP_PORT_DATA_CLR_PX1 1 /* Port x Bit 1 Data Clear */
-#define BITP_PORT_DATA_CLR_PX0 0 /* Port x Bit 0 Data Clear */
-#define BITM_PORT_DATA_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Clear */
-#define BITM_PORT_DATA_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Clear */
-#define BITM_PORT_DATA_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Clear */
-#define BITM_PORT_DATA_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Clear */
-#define BITM_PORT_DATA_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Clear */
-#define BITM_PORT_DATA_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Clear */
-#define BITM_PORT_DATA_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Clear */
-#define BITM_PORT_DATA_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Clear */
-#define BITM_PORT_DATA_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Clear */
-#define BITM_PORT_DATA_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Clear */
-#define BITM_PORT_DATA_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Clear */
-#define BITM_PORT_DATA_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Clear */
-#define BITM_PORT_DATA_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Clear */
-#define BITM_PORT_DATA_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Clear */
-#define BITM_PORT_DATA_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Clear */
-#define BITM_PORT_DATA_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_PX15 15 /* Port x Bit 15 Direction */
-#define BITP_PORT_DIR_PX14 14 /* Port x Bit 14 Direction */
-#define BITP_PORT_DIR_PX13 13 /* Port x Bit 13 Direction */
-#define BITP_PORT_DIR_PX12 12 /* Port x Bit 12 Direction */
-#define BITP_PORT_DIR_PX11 11 /* Port x Bit 11 Direction */
-#define BITP_PORT_DIR_PX10 10 /* Port x Bit 10 Direction */
-#define BITP_PORT_DIR_PX9 9 /* Port x Bit 9 Direction */
-#define BITP_PORT_DIR_PX8 8 /* Port x Bit 8 Direction */
-#define BITP_PORT_DIR_PX7 7 /* Port x Bit 7 Direction */
-#define BITP_PORT_DIR_PX6 6 /* Port x Bit 6 Direction */
-#define BITP_PORT_DIR_PX5 5 /* Port x Bit 5 Direction */
-#define BITP_PORT_DIR_PX4 4 /* Port x Bit 4 Direction */
-#define BITP_PORT_DIR_PX3 3 /* Port x Bit 3 Direction */
-#define BITP_PORT_DIR_PX2 2 /* Port x Bit 2 Direction */
-#define BITP_PORT_DIR_PX1 1 /* Port x Bit 1 Direction */
-#define BITP_PORT_DIR_PX0 0 /* Port x Bit 0 Direction */
-#define BITM_PORT_DIR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction */
-#define BITM_PORT_DIR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction */
-#define BITM_PORT_DIR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction */
-#define BITM_PORT_DIR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction */
-#define BITM_PORT_DIR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction */
-#define BITM_PORT_DIR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction */
-#define BITM_PORT_DIR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction */
-#define BITM_PORT_DIR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction */
-#define BITM_PORT_DIR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction */
-#define BITM_PORT_DIR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction */
-#define BITM_PORT_DIR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction */
-#define BITM_PORT_DIR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction */
-#define BITM_PORT_DIR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction */
-#define BITM_PORT_DIR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction */
-#define BITM_PORT_DIR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction */
-#define BITM_PORT_DIR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_SET_PX15 15 /* Port x Bit 15 Direction Set */
-#define BITP_PORT_DIR_SET_PX14 14 /* Port x Bit 14 Direction Set */
-#define BITP_PORT_DIR_SET_PX13 13 /* Port x Bit 13 Direction Set */
-#define BITP_PORT_DIR_SET_PX12 12 /* Port x Bit 12 Direction Set */
-#define BITP_PORT_DIR_SET_PX11 11 /* Port x Bit 11 Direction Set */
-#define BITP_PORT_DIR_SET_PX10 10 /* Port x Bit 10 Direction Set */
-#define BITP_PORT_DIR_SET_PX9 9 /* Port x Bit 9 Direction Set */
-#define BITP_PORT_DIR_SET_PX8 8 /* Port x Bit 8 Direction Set */
-#define BITP_PORT_DIR_SET_PX7 7 /* Port x Bit 7 Direction Set */
-#define BITP_PORT_DIR_SET_PX6 6 /* Port x Bit 6 Direction Set */
-#define BITP_PORT_DIR_SET_PX5 5 /* Port x Bit 5 Direction Set */
-#define BITP_PORT_DIR_SET_PX4 4 /* Port x Bit 4 Direction Set */
-#define BITP_PORT_DIR_SET_PX3 3 /* Port x Bit 3 Direction Set */
-#define BITP_PORT_DIR_SET_PX2 2 /* Port x Bit 2 Direction Set */
-#define BITP_PORT_DIR_SET_PX1 1 /* Port x Bit 1 Direction Set */
-#define BITP_PORT_DIR_SET_PX0 0 /* Port x Bit 0 Direction Set */
-#define BITM_PORT_DIR_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Set */
-#define BITM_PORT_DIR_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Set */
-#define BITM_PORT_DIR_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Set */
-#define BITM_PORT_DIR_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Set */
-#define BITM_PORT_DIR_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Set */
-#define BITM_PORT_DIR_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Set */
-#define BITM_PORT_DIR_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Set */
-#define BITM_PORT_DIR_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Set */
-#define BITM_PORT_DIR_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Set */
-#define BITM_PORT_DIR_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Set */
-#define BITM_PORT_DIR_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Set */
-#define BITM_PORT_DIR_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Set */
-#define BITM_PORT_DIR_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Set */
-#define BITM_PORT_DIR_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Set */
-#define BITM_PORT_DIR_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Set */
-#define BITM_PORT_DIR_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_CLR_PX15 15 /* Port x Bit 15 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX14 14 /* Port x Bit 14 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX13 13 /* Port x Bit 13 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX12 12 /* Port x Bit 12 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX11 11 /* Port x Bit 11 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX10 10 /* Port x Bit 10 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX9 9 /* Port x Bit 9 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX8 8 /* Port x Bit 8 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX7 7 /* Port x Bit 7 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX6 6 /* Port x Bit 6 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX5 5 /* Port x Bit 5 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX4 4 /* Port x Bit 4 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX3 3 /* Port x Bit 3 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX2 2 /* Port x Bit 2 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX1 1 /* Port x Bit 1 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX0 0 /* Port x Bit 0 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_PX15 15 /* Port x Bit 15 Input Enable */
-#define BITP_PORT_INEN_PX14 14 /* Port x Bit 14 Input Enable */
-#define BITP_PORT_INEN_PX13 13 /* Port x Bit 13 Input Enable */
-#define BITP_PORT_INEN_PX12 12 /* Port x Bit 12 Input Enable */
-#define BITP_PORT_INEN_PX11 11 /* Port x Bit 11 Input Enable */
-#define BITP_PORT_INEN_PX10 10 /* Port x Bit 10 Input Enable */
-#define BITP_PORT_INEN_PX9 9 /* Port x Bit 9 Input Enable */
-#define BITP_PORT_INEN_PX8 8 /* Port x Bit 8 Input Enable */
-#define BITP_PORT_INEN_PX7 7 /* Port x Bit 7 Input Enable */
-#define BITP_PORT_INEN_PX6 6 /* Port x Bit 6 Input Enable */
-#define BITP_PORT_INEN_PX5 5 /* Port x Bit 5 Input Enable */
-#define BITP_PORT_INEN_PX4 4 /* Port x Bit 4 Input Enable */
-#define BITP_PORT_INEN_PX3 3 /* Port x Bit 3 Input Enable */
-#define BITP_PORT_INEN_PX2 2 /* Port x Bit 2 Input Enable */
-#define BITP_PORT_INEN_PX1 1 /* Port x Bit 1 Input Enable */
-#define BITP_PORT_INEN_PX0 0 /* Port x Bit 0 Input Enable */
-#define BITM_PORT_INEN_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable */
-#define BITM_PORT_INEN_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable */
-#define BITM_PORT_INEN_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable */
-#define BITM_PORT_INEN_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable */
-#define BITM_PORT_INEN_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable */
-#define BITM_PORT_INEN_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable */
-#define BITM_PORT_INEN_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable */
-#define BITM_PORT_INEN_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable */
-#define BITM_PORT_INEN_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable */
-#define BITM_PORT_INEN_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable */
-#define BITM_PORT_INEN_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable */
-#define BITM_PORT_INEN_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable */
-#define BITM_PORT_INEN_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable */
-#define BITM_PORT_INEN_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable */
-#define BITM_PORT_INEN_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable */
-#define BITM_PORT_INEN_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_SET_PX15 15 /* Port x Bit 15 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX14 14 /* Port x Bit 14 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX13 13 /* Port x Bit 13 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX12 12 /* Port x Bit 12 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX11 11 /* Port x Bit 11 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX10 10 /* Port x Bit 10 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX9 9 /* Port x Bit 9 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX8 8 /* Port x Bit 8 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX7 7 /* Port x Bit 7 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX6 6 /* Port x Bit 6 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX5 5 /* Port x Bit 5 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX4 4 /* Port x Bit 4 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX3 3 /* Port x Bit 3 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX2 2 /* Port x Bit 2 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX1 1 /* Port x Bit 1 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX0 0 /* Port x Bit 0 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_CLR_PX15 15 /* Port x Bit 15 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX14 14 /* Port x Bit 14 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX13 13 /* Port x Bit 13 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX12 12 /* Port x Bit 12 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX11 11 /* Port x Bit 11 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX10 10 /* Port x Bit 10 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX9 9 /* Port x Bit 9 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX8 8 /* Port x Bit 8 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX7 7 /* Port x Bit 7 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX6 6 /* Port x Bit 6 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX5 5 /* Port x Bit 5 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX4 4 /* Port x Bit 4 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX3 3 /* Port x Bit 3 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX2 2 /* Port x Bit 2 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX1 1 /* Port x Bit 1 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX0 0 /* Port x Bit 0 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_MUX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_MUX_MUX15 30 /* Mux for Port x Bit 15 */
-#define BITP_PORT_MUX_MUX14 28 /* Mux for Port x Bit 14 */
-#define BITP_PORT_MUX_MUX13 26 /* Mux for Port x Bit 13 */
-#define BITP_PORT_MUX_MUX12 24 /* Mux for Port x Bit 12 */
-#define BITP_PORT_MUX_MUX11 22 /* Mux for Port x Bit 11 */
-#define BITP_PORT_MUX_MUX10 20 /* Mux for Port x Bit 10 */
-#define BITP_PORT_MUX_MUX9 18 /* Mux for Port x Bit 9 */
-#define BITP_PORT_MUX_MUX8 16 /* Mux for Port x Bit 8 */
-#define BITP_PORT_MUX_MUX7 14 /* Mux for Port x Bit 7 */
-#define BITP_PORT_MUX_MUX6 12 /* Mux for Port x Bit 6 */
-#define BITP_PORT_MUX_MUX5 10 /* Mux for Port x Bit 5 */
-#define BITP_PORT_MUX_MUX4 8 /* Mux for Port x Bit 4 */
-#define BITP_PORT_MUX_MUX3 6 /* Mux for Port x Bit 3 */
-#define BITP_PORT_MUX_MUX2 4 /* Mux for Port x Bit 2 */
-#define BITP_PORT_MUX_MUX1 2 /* Mux for Port x Bit 1 */
-#define BITP_PORT_MUX_MUX0 0 /* Mux for Port x Bit 0 */
-#define BITM_PORT_MUX_MUX15 (_ADI_MSK(0xC0000000,uint32_t)) /* Mux for Port x Bit 15 */
-#define BITM_PORT_MUX_MUX14 (_ADI_MSK(0x30000000,uint32_t)) /* Mux for Port x Bit 14 */
-#define BITM_PORT_MUX_MUX13 (_ADI_MSK(0x0C000000,uint32_t)) /* Mux for Port x Bit 13 */
-#define BITM_PORT_MUX_MUX12 (_ADI_MSK(0x03000000,uint32_t)) /* Mux for Port x Bit 12 */
-#define BITM_PORT_MUX_MUX11 (_ADI_MSK(0x00C00000,uint32_t)) /* Mux for Port x Bit 11 */
-#define BITM_PORT_MUX_MUX10 (_ADI_MSK(0x00300000,uint32_t)) /* Mux for Port x Bit 10 */
-#define BITM_PORT_MUX_MUX9 (_ADI_MSK(0x000C0000,uint32_t)) /* Mux for Port x Bit 9 */
-#define BITM_PORT_MUX_MUX8 (_ADI_MSK(0x00030000,uint32_t)) /* Mux for Port x Bit 8 */
-#define BITM_PORT_MUX_MUX7 (_ADI_MSK(0x0000C000,uint32_t)) /* Mux for Port x Bit 7 */
-#define BITM_PORT_MUX_MUX6 (_ADI_MSK(0x00003000,uint32_t)) /* Mux for Port x Bit 6 */
-#define BITM_PORT_MUX_MUX5 (_ADI_MSK(0x00000C00,uint32_t)) /* Mux for Port x Bit 5 */
-#define BITM_PORT_MUX_MUX4 (_ADI_MSK(0x00000300,uint32_t)) /* Mux for Port x Bit 4 */
-#define BITM_PORT_MUX_MUX3 (_ADI_MSK(0x000000C0,uint32_t)) /* Mux for Port x Bit 3 */
-#define BITM_PORT_MUX_MUX2 (_ADI_MSK(0x00000030,uint32_t)) /* Mux for Port x Bit 2 */
-#define BITM_PORT_MUX_MUX1 (_ADI_MSK(0x0000000C,uint32_t)) /* Mux for Port x Bit 1 */
-#define BITM_PORT_MUX_MUX0 (_ADI_MSK(0x00000003,uint32_t)) /* Mux for Port x Bit 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_TGL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_TGL_PX15 15 /* Port x Bit 15 Toggle */
-#define BITP_PORT_DATA_TGL_PX14 14 /* Port x Bit 14 Toggle */
-#define BITP_PORT_DATA_TGL_PX13 13 /* Port x Bit 13 Toggle */
-#define BITP_PORT_DATA_TGL_PX12 12 /* Port x Bit 12 Toggle */
-#define BITP_PORT_DATA_TGL_PX11 11 /* Port x Bit 11 Toggle */
-#define BITP_PORT_DATA_TGL_PX10 10 /* Port x Bit 10 Toggle */
-#define BITP_PORT_DATA_TGL_PX9 9 /* Port x Bit 9 Toggle */
-#define BITP_PORT_DATA_TGL_PX8 8 /* Port x Bit 8 Toggle */
-#define BITP_PORT_DATA_TGL_PX7 7 /* Port x Bit 7 Toggle */
-#define BITP_PORT_DATA_TGL_PX6 6 /* Port x Bit 6 Toggle */
-#define BITP_PORT_DATA_TGL_PX5 5 /* Port x Bit 5 Toggle */
-#define BITP_PORT_DATA_TGL_PX4 4 /* Port x Bit 4 Toggle */
-#define BITP_PORT_DATA_TGL_PX3 3 /* Port x Bit 3 Toggle */
-#define BITP_PORT_DATA_TGL_PX2 2 /* Port x Bit 2 Toggle */
-#define BITP_PORT_DATA_TGL_PX1 1 /* Port x Bit 1 Toggle */
-#define BITP_PORT_DATA_TGL_PX0 0 /* Port x Bit 0 Toggle */
-#define BITM_PORT_DATA_TGL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Toggle */
-#define BITM_PORT_DATA_TGL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Toggle */
-#define BITM_PORT_DATA_TGL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Toggle */
-#define BITM_PORT_DATA_TGL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Toggle */
-#define BITM_PORT_DATA_TGL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Toggle */
-#define BITM_PORT_DATA_TGL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Toggle */
-#define BITM_PORT_DATA_TGL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Toggle */
-#define BITM_PORT_DATA_TGL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Toggle */
-#define BITM_PORT_DATA_TGL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Toggle */
-#define BITM_PORT_DATA_TGL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Toggle */
-#define BITM_PORT_DATA_TGL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Toggle */
-#define BITM_PORT_DATA_TGL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Toggle */
-#define BITM_PORT_DATA_TGL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Toggle */
-#define BITM_PORT_DATA_TGL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Toggle */
-#define BITM_PORT_DATA_TGL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Toggle */
-#define BITM_PORT_DATA_TGL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Toggle */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_PX15 15 /* Port x Bit 15 Polarity Invert */
-#define BITP_PORT_POL_PX14 14 /* Port x Bit 14 Polarity Invert */
-#define BITP_PORT_POL_PX13 13 /* Port x Bit 13 Polarity Invert */
-#define BITP_PORT_POL_PX12 12 /* Port x Bit 12 Polarity Invert */
-#define BITP_PORT_POL_PX11 11 /* Port x Bit 11 Polarity Invert */
-#define BITP_PORT_POL_PX10 10 /* Port x Bit 10 Polarity Invert */
-#define BITP_PORT_POL_PX9 9 /* Port x Bit 9 Polarity Invert */
-#define BITP_PORT_POL_PX8 8 /* Port x Bit 8 Polarity Invert */
-#define BITP_PORT_POL_PX7 7 /* Port x Bit 7 Polarity Invert */
-#define BITP_PORT_POL_PX6 6 /* Port x Bit 6 Polarity Invert */
-#define BITP_PORT_POL_PX5 5 /* Port x Bit 5 Polarity Invert */
-#define BITP_PORT_POL_PX4 4 /* Port x Bit 4 Polarity Invert */
-#define BITP_PORT_POL_PX3 3 /* Port x Bit 3 Polarity Invert */
-#define BITP_PORT_POL_PX2 2 /* Port x Bit 2 Polarity Invert */
-#define BITP_PORT_POL_PX1 1 /* Port x Bit 1 Polarity Invert */
-#define BITP_PORT_POL_PX0 0 /* Port x Bit 0 Polarity Invert */
-#define BITM_PORT_POL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert */
-#define BITM_PORT_POL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert */
-#define BITM_PORT_POL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert */
-#define BITM_PORT_POL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert */
-#define BITM_PORT_POL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert */
-#define BITM_PORT_POL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert */
-#define BITM_PORT_POL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert */
-#define BITM_PORT_POL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert */
-#define BITM_PORT_POL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert */
-#define BITM_PORT_POL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert */
-#define BITM_PORT_POL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert */
-#define BITM_PORT_POL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert */
-#define BITM_PORT_POL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert */
-#define BITM_PORT_POL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert */
-#define BITM_PORT_POL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert */
-#define BITM_PORT_POL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_SET_PX15 15 /* Port x Bit 15 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX14 14 /* Port x Bit 14 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX13 13 /* Port x Bit 13 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX12 12 /* Port x Bit 12 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX11 11 /* Port x Bit 11 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX10 10 /* Port x Bit 10 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX9 9 /* Port x Bit 9 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX8 8 /* Port x Bit 8 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX7 7 /* Port x Bit 7 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX6 6 /* Port x Bit 6 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX5 5 /* Port x Bit 5 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX4 4 /* Port x Bit 4 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX3 3 /* Port x Bit 3 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX2 2 /* Port x Bit 2 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX1 1 /* Port x Bit 1 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX0 0 /* Port x Bit 0 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_CLR_PX15 15 /* Port x Bit 15 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX14 14 /* Port x Bit 14 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX13 13 /* Port x Bit 13 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX12 12 /* Port x Bit 12 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX11 11 /* Port x Bit 11 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX10 10 /* Port x Bit 10 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX9 9 /* Port x Bit 9 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX8 8 /* Port x Bit 8 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX7 7 /* Port x Bit 7 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX6 6 /* Port x Bit 6 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX5 5 /* Port x Bit 5 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX4 4 /* Port x Bit 4 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX3 3 /* Port x Bit 3 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX2 2 /* Port x Bit 2 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX1 1 /* Port x Bit 1 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX0 0 /* Port x Bit 0 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_LOCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_LOCK_LOCK 31 /* Lock */
-#define BITP_PORT_LOCK_POLAR 5 /* Polarity Lock */
-#define BITP_PORT_LOCK_INEN 4 /* Input Enable Lock */
-#define BITP_PORT_LOCK_DIR 3 /* Direction Lock */
-#define BITP_PORT_LOCK_DATA 2 /* Data Lock */
-#define BITP_PORT_LOCK_MUX 1 /* Function Multiplexer Lock */
-#define BITP_PORT_LOCK_FER 0 /* Function Enable Lock */
-#define BITM_PORT_LOCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_PORT_LOCK_POLAR (_ADI_MSK(0x00000020,uint32_t)) /* Polarity Lock */
-#define BITM_PORT_LOCK_INEN (_ADI_MSK(0x00000010,uint32_t)) /* Input Enable Lock */
-#define BITM_PORT_LOCK_DIR (_ADI_MSK(0x00000008,uint32_t)) /* Direction Lock */
-#define BITM_PORT_LOCK_DATA (_ADI_MSK(0x00000004,uint32_t)) /* Data Lock */
-#define BITM_PORT_LOCK_MUX (_ADI_MSK(0x00000002,uint32_t)) /* Function Multiplexer Lock */
-#define BITM_PORT_LOCK_FER (_ADI_MSK(0x00000001,uint32_t)) /* Function Enable Lock */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_REVID_MAJOR 4 /* Major ID */
-#define BITP_PORT_REVID_REV 0 /* Revision ID */
-#define BITM_PORT_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PORT_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID */
-
-/* ==================================================
- Pads Controller Registers
- ================================================== */
-
-/* =========================
- PADS0
- ========================= */
-#define REG_PADS0_EMAC_PTP_CLKSEL 0xFFC03404 /* PADS0 Clock Selection for EMAC and PTP */
-#define REG_PADS0_TWI_VSEL 0xFFC03408 /* PADS0 TWI Voltage Selection */
-#define REG_PADS0_PORTS_HYST 0xFFC03440 /* PADS0 Hysteresis Enable Register */
-
-/* =========================
- PADS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_EMAC_PTP_CLKSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC1 2 /* Select Clock Source for PTP Block in EMAC1 */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC0 0 /* PTP Clock Source 0 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC1 (_ADI_MSK(0x0000000C,uint32_t)) /* Select Clock Source for PTP Block in EMAC1 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC0 (_ADI_MSK(0x00000003,uint32_t)) /* PTP Clock Source 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_TWI_VSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_TWI_VSEL_TWI1 4 /* TWI Voltage Select 1 */
-#define BITP_PADS_TWI_VSEL_TWI0 0 /* TWI Voltage Select 0 */
-#define BITM_PADS_TWI_VSEL_TWI1 (_ADI_MSK(0x00000070,uint32_t)) /* TWI Voltage Select 1 */
-#define BITM_PADS_TWI_VSEL_TWI0 (_ADI_MSK(0x00000007,uint32_t)) /* TWI Voltage Select 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_PORTS_HYST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_PORTS_HYST_G 6 /* Port G Hysteresis */
-#define BITP_PADS_PORTS_HYST_F 5 /* Port F Hysteresis */
-#define BITP_PADS_PORTS_HYST_E 4 /* Port E Hysteresis */
-#define BITP_PADS_PORTS_HYST_D 3 /* Port D Hysteresis */
-#define BITP_PADS_PORTS_HYST_C 2 /* Port C Hysteresis */
-#define BITP_PADS_PORTS_HYST_B 1 /* Port B Hysteresis */
-#define BITP_PADS_PORTS_HYST_A 0 /* Port A Hysteresis */
-#define BITM_PADS_PORTS_HYST_G (_ADI_MSK(0x00000040,uint32_t)) /* Port G Hysteresis */
-#define BITM_PADS_PORTS_HYST_F (_ADI_MSK(0x00000020,uint32_t)) /* Port F Hysteresis */
-#define BITM_PADS_PORTS_HYST_E (_ADI_MSK(0x00000010,uint32_t)) /* Port E Hysteresis */
-#define BITM_PADS_PORTS_HYST_D (_ADI_MSK(0x00000008,uint32_t)) /* Port D Hysteresis */
-#define BITM_PADS_PORTS_HYST_C (_ADI_MSK(0x00000004,uint32_t)) /* Port C Hysteresis */
-#define BITM_PADS_PORTS_HYST_B (_ADI_MSK(0x00000002,uint32_t)) /* Port B Hysteresis */
-#define BITM_PADS_PORTS_HYST_A (_ADI_MSK(0x00000001,uint32_t)) /* Port A Hysteresis */
-
-/* ==================================================
- PINT Registers
- ================================================== */
-
-/* =========================
- PINT0
- ========================= */
-#define REG_PINT0_MSK_SET 0xFFC04000 /* PINT0 Pint Mask Set Register */
-#define REG_PINT0_MSK_CLR 0xFFC04004 /* PINT0 Pint Mask Clear Register */
-#define REG_PINT0_REQ 0xFFC04008 /* PINT0 Pint Request Register */
-#define REG_PINT0_ASSIGN 0xFFC0400C /* PINT0 Pint Assign Register */
-#define REG_PINT0_EDGE_SET 0xFFC04010 /* PINT0 Pint Edge Set Register */
-#define REG_PINT0_EDGE_CLR 0xFFC04014 /* PINT0 Pint Edge Clear Register */
-#define REG_PINT0_INV_SET 0xFFC04018 /* PINT0 Pint Invert Set Register */
-#define REG_PINT0_INV_CLR 0xFFC0401C /* PINT0 Pint Invert Clear Register */
-#define REG_PINT0_PINSTATE 0xFFC04020 /* PINT0 Pint Pinstate Register */
-#define REG_PINT0_LATCH 0xFFC04024 /* PINT0 Pint Latch Register */
-
-/* =========================
- PINT1
- ========================= */
-#define REG_PINT1_MSK_SET 0xFFC04100 /* PINT1 Pint Mask Set Register */
-#define REG_PINT1_MSK_CLR 0xFFC04104 /* PINT1 Pint Mask Clear Register */
-#define REG_PINT1_REQ 0xFFC04108 /* PINT1 Pint Request Register */
-#define REG_PINT1_ASSIGN 0xFFC0410C /* PINT1 Pint Assign Register */
-#define REG_PINT1_EDGE_SET 0xFFC04110 /* PINT1 Pint Edge Set Register */
-#define REG_PINT1_EDGE_CLR 0xFFC04114 /* PINT1 Pint Edge Clear Register */
-#define REG_PINT1_INV_SET 0xFFC04118 /* PINT1 Pint Invert Set Register */
-#define REG_PINT1_INV_CLR 0xFFC0411C /* PINT1 Pint Invert Clear Register */
-#define REG_PINT1_PINSTATE 0xFFC04120 /* PINT1 Pint Pinstate Register */
-#define REG_PINT1_LATCH 0xFFC04124 /* PINT1 Pint Latch Register */
-
-/* =========================
- PINT2
- ========================= */
-#define REG_PINT2_MSK_SET 0xFFC04200 /* PINT2 Pint Mask Set Register */
-#define REG_PINT2_MSK_CLR 0xFFC04204 /* PINT2 Pint Mask Clear Register */
-#define REG_PINT2_REQ 0xFFC04208 /* PINT2 Pint Request Register */
-#define REG_PINT2_ASSIGN 0xFFC0420C /* PINT2 Pint Assign Register */
-#define REG_PINT2_EDGE_SET 0xFFC04210 /* PINT2 Pint Edge Set Register */
-#define REG_PINT2_EDGE_CLR 0xFFC04214 /* PINT2 Pint Edge Clear Register */
-#define REG_PINT2_INV_SET 0xFFC04218 /* PINT2 Pint Invert Set Register */
-#define REG_PINT2_INV_CLR 0xFFC0421C /* PINT2 Pint Invert Clear Register */
-#define REG_PINT2_PINSTATE 0xFFC04220 /* PINT2 Pint Pinstate Register */
-#define REG_PINT2_LATCH 0xFFC04224 /* PINT2 Pint Latch Register */
-
-/* =========================
- PINT3
- ========================= */
-#define REG_PINT3_MSK_SET 0xFFC04300 /* PINT3 Pint Mask Set Register */
-#define REG_PINT3_MSK_CLR 0xFFC04304 /* PINT3 Pint Mask Clear Register */
-#define REG_PINT3_REQ 0xFFC04308 /* PINT3 Pint Request Register */
-#define REG_PINT3_ASSIGN 0xFFC0430C /* PINT3 Pint Assign Register */
-#define REG_PINT3_EDGE_SET 0xFFC04310 /* PINT3 Pint Edge Set Register */
-#define REG_PINT3_EDGE_CLR 0xFFC04314 /* PINT3 Pint Edge Clear Register */
-#define REG_PINT3_INV_SET 0xFFC04318 /* PINT3 Pint Invert Set Register */
-#define REG_PINT3_INV_CLR 0xFFC0431C /* PINT3 Pint Invert Clear Register */
-#define REG_PINT3_PINSTATE 0xFFC04320 /* PINT3 Pint Pinstate Register */
-#define REG_PINT3_LATCH 0xFFC04324 /* PINT3 Pint Latch Register */
-
-/* =========================
- PINT4
- ========================= */
-#define REG_PINT4_MSK_SET 0xFFC04400 /* PINT4 Pint Mask Set Register */
-#define REG_PINT4_MSK_CLR 0xFFC04404 /* PINT4 Pint Mask Clear Register */
-#define REG_PINT4_REQ 0xFFC04408 /* PINT4 Pint Request Register */
-#define REG_PINT4_ASSIGN 0xFFC0440C /* PINT4 Pint Assign Register */
-#define REG_PINT4_EDGE_SET 0xFFC04410 /* PINT4 Pint Edge Set Register */
-#define REG_PINT4_EDGE_CLR 0xFFC04414 /* PINT4 Pint Edge Clear Register */
-#define REG_PINT4_INV_SET 0xFFC04418 /* PINT4 Pint Invert Set Register */
-#define REG_PINT4_INV_CLR 0xFFC0441C /* PINT4 Pint Invert Clear Register */
-#define REG_PINT4_PINSTATE 0xFFC04420 /* PINT4 Pint Pinstate Register */
-#define REG_PINT4_LATCH 0xFFC04424 /* PINT4 Pint Latch Register */
-
-/* =========================
- PINT5
- ========================= */
-#define REG_PINT5_MSK_SET 0xFFC04500 /* PINT5 Pint Mask Set Register */
-#define REG_PINT5_MSK_CLR 0xFFC04504 /* PINT5 Pint Mask Clear Register */
-#define REG_PINT5_REQ 0xFFC04508 /* PINT5 Pint Request Register */
-#define REG_PINT5_ASSIGN 0xFFC0450C /* PINT5 Pint Assign Register */
-#define REG_PINT5_EDGE_SET 0xFFC04510 /* PINT5 Pint Edge Set Register */
-#define REG_PINT5_EDGE_CLR 0xFFC04514 /* PINT5 Pint Edge Clear Register */
-#define REG_PINT5_INV_SET 0xFFC04518 /* PINT5 Pint Invert Set Register */
-#define REG_PINT5_INV_CLR 0xFFC0451C /* PINT5 Pint Invert Clear Register */
-#define REG_PINT5_PINSTATE 0xFFC04520 /* PINT5 Pint Pinstate Register */
-#define REG_PINT5_LATCH 0xFFC04524 /* PINT5 Pint Latch Register */
-
-/* =========================
- PINT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_SET_PIQ31 31 /* Pin Interrupt 31 Unmask */
-#define BITP_PINT_MSK_SET_PIQ30 30 /* Pin Interrupt 30 Unmask */
-#define BITP_PINT_MSK_SET_PIQ29 29 /* Pin Interrupt 29 Unmask */
-#define BITP_PINT_MSK_SET_PIQ28 28 /* Pin Interrupt 28 Unmask */
-#define BITP_PINT_MSK_SET_PIQ27 27 /* Pin Interrupt 27 Unmask */
-#define BITP_PINT_MSK_SET_PIQ26 26 /* Pin Interrupt 26 Unmask */
-#define BITP_PINT_MSK_SET_PIQ25 25 /* Pin Interrupt 25 Unmask */
-#define BITP_PINT_MSK_SET_PIQ24 24 /* Pin Interrupt 24 Unmask */
-#define BITP_PINT_MSK_SET_PIQ23 23 /* Pin Interrupt 23 Unmask */
-#define BITP_PINT_MSK_SET_PIQ22 22 /* Pin Interrupt 22 Unmask */
-#define BITP_PINT_MSK_SET_PIQ21 21 /* Pin Interrupt 21 Unmask */
-#define BITP_PINT_MSK_SET_PIQ20 20 /* Pin Interrupt 20 Unmask */
-#define BITP_PINT_MSK_SET_PIQ19 19 /* Pin Interrupt 19 Unmask */
-#define BITP_PINT_MSK_SET_PIQ18 18 /* Pin Interrupt 18 Unmask */
-#define BITP_PINT_MSK_SET_PIQ17 17 /* Pin Interrupt 17 Unmask */
-#define BITP_PINT_MSK_SET_PIQ16 16 /* Pin Interrupt 16 Unmask */
-#define BITP_PINT_MSK_SET_PIQ15 15 /* Pin Interrupt 15 Unmask */
-#define BITP_PINT_MSK_SET_PIQ14 14 /* Pin Interrupt 14 Unmask */
-#define BITP_PINT_MSK_SET_PIQ13 13 /* Pin Interrupt 13 Unmask */
-#define BITP_PINT_MSK_SET_PIQ12 12 /* Pin Interrupt 12 Unmask */
-#define BITP_PINT_MSK_SET_PIQ11 11 /* Pin Interrupt 11 Unmask */
-#define BITP_PINT_MSK_SET_PIQ10 10 /* Pin Interrupt 10 Unmask */
-#define BITP_PINT_MSK_SET_PIQ9 9 /* Pin Interrupt 9 Unmask */
-#define BITP_PINT_MSK_SET_PIQ8 8 /* Pin Interrupt 8 Unmask */
-#define BITP_PINT_MSK_SET_PIQ7 7 /* Pin Interrupt 7 Unmask */
-#define BITP_PINT_MSK_SET_PIQ6 6 /* Pin Interrupt 6 Unmask */
-#define BITP_PINT_MSK_SET_PIQ5 5 /* Pin Interrupt 5 Unmask */
-#define BITP_PINT_MSK_SET_PIQ4 4 /* Pin Interrupt 4 Unmask */
-#define BITP_PINT_MSK_SET_PIQ3 3 /* Pin Interrupt 3 Unmask */
-#define BITP_PINT_MSK_SET_PIQ2 2 /* Pin Interrupt 2 Unmask */
-#define BITP_PINT_MSK_SET_PIQ1 1 /* Pin Interrupt 1 Unmask */
-#define BITP_PINT_MSK_SET_PIQ0 0 /* Pin Interrupt 0 Unmask */
-#define BITM_PINT_MSK_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Unmask */
-#define BITM_PINT_MSK_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Unmask */
-#define BITM_PINT_MSK_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Unmask */
-#define BITM_PINT_MSK_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Unmask */
-#define BITM_PINT_MSK_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Unmask */
-#define BITM_PINT_MSK_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Unmask */
-#define BITM_PINT_MSK_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Unmask */
-#define BITM_PINT_MSK_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Unmask */
-#define BITM_PINT_MSK_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Unmask */
-#define BITM_PINT_MSK_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Unmask */
-#define BITM_PINT_MSK_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Unmask */
-#define BITM_PINT_MSK_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Unmask */
-#define BITM_PINT_MSK_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Unmask */
-#define BITM_PINT_MSK_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Unmask */
-#define BITM_PINT_MSK_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Unmask */
-#define BITM_PINT_MSK_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Unmask */
-#define BITM_PINT_MSK_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Unmask */
-#define BITM_PINT_MSK_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Unmask */
-#define BITM_PINT_MSK_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Unmask */
-#define BITM_PINT_MSK_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Unmask */
-#define BITM_PINT_MSK_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Unmask */
-#define BITM_PINT_MSK_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Unmask */
-#define BITM_PINT_MSK_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Unmask */
-#define BITM_PINT_MSK_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Unmask */
-#define BITM_PINT_MSK_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Unmask */
-#define BITM_PINT_MSK_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Unmask */
-#define BITM_PINT_MSK_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Unmask */
-#define BITM_PINT_MSK_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Unmask */
-#define BITM_PINT_MSK_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Unmask */
-#define BITM_PINT_MSK_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Unmask */
-#define BITM_PINT_MSK_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Unmask */
-#define BITM_PINT_MSK_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_CLR_PIQ31 31 /* Pin Interrupt 31 Mask */
-#define BITP_PINT_MSK_CLR_PIQ30 30 /* Pin Interrupt 30 Mask */
-#define BITP_PINT_MSK_CLR_PIQ29 29 /* Pin Interrupt 29 Mask */
-#define BITP_PINT_MSK_CLR_PIQ28 28 /* Pin Interrupt 28 Mask */
-#define BITP_PINT_MSK_CLR_PIQ27 27 /* Pin Interrupt 27 Mask */
-#define BITP_PINT_MSK_CLR_PIQ26 26 /* Pin Interrupt 26 Mask */
-#define BITP_PINT_MSK_CLR_PIQ25 25 /* Pin Interrupt 25 Mask */
-#define BITP_PINT_MSK_CLR_PIQ24 24 /* Pin Interrupt 24 Mask */
-#define BITP_PINT_MSK_CLR_PIQ23 23 /* Pin Interrupt 23 Mask */
-#define BITP_PINT_MSK_CLR_PIQ22 22 /* Pin Interrupt 22 Mask */
-#define BITP_PINT_MSK_CLR_PIQ21 21 /* Pin Interrupt 21 Mask */
-#define BITP_PINT_MSK_CLR_PIQ20 20 /* Pin Interrupt 20 Mask */
-#define BITP_PINT_MSK_CLR_PIQ19 19 /* Pin Interrupt 19 Mask */
-#define BITP_PINT_MSK_CLR_PIQ18 18 /* Pin Interrupt 18 Mask */
-#define BITP_PINT_MSK_CLR_PIQ17 17 /* Pin Interrupt 17 Mask */
-#define BITP_PINT_MSK_CLR_PIQ16 16 /* Pin Interrupt 16 Mask */
-#define BITP_PINT_MSK_CLR_PIQ15 15 /* Pin Interrupt 15 Mask */
-#define BITP_PINT_MSK_CLR_PIQ14 14 /* Pin Interrupt 14 Mask */
-#define BITP_PINT_MSK_CLR_PIQ13 13 /* Pin Interrupt 13 Mask */
-#define BITP_PINT_MSK_CLR_PIQ12 12 /* Pin Interrupt 12 Mask */
-#define BITP_PINT_MSK_CLR_PIQ11 11 /* Pin Interrupt 11 Mask */
-#define BITP_PINT_MSK_CLR_PIQ10 10 /* Pin Interrupt 10 Mask */
-#define BITP_PINT_MSK_CLR_PIQ9 9 /* Pin Interrupt 9 Mask */
-#define BITP_PINT_MSK_CLR_PIQ8 8 /* Pin Interrupt 8 Mask */
-#define BITP_PINT_MSK_CLR_PIQ7 7 /* Pin Interrupt 7 Mask */
-#define BITP_PINT_MSK_CLR_PIQ6 6 /* Pin Interrupt 6 Mask */
-#define BITP_PINT_MSK_CLR_PIQ5 5 /* Pin Interrupt 5 Mask */
-#define BITP_PINT_MSK_CLR_PIQ4 4 /* Pin Interrupt 4 Mask */
-#define BITP_PINT_MSK_CLR_PIQ3 3 /* Pin Interrupt 3 Mask */
-#define BITP_PINT_MSK_CLR_PIQ2 2 /* Pin Interrupt 2 Mask */
-#define BITP_PINT_MSK_CLR_PIQ1 1 /* Pin Interrupt 1 Mask */
-#define BITP_PINT_MSK_CLR_PIQ0 0 /* Pin Interrupt 0 Mask */
-#define BITM_PINT_MSK_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Mask */
-#define BITM_PINT_MSK_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Mask */
-#define BITM_PINT_MSK_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Mask */
-#define BITM_PINT_MSK_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Mask */
-#define BITM_PINT_MSK_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Mask */
-#define BITM_PINT_MSK_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Mask */
-#define BITM_PINT_MSK_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Mask */
-#define BITM_PINT_MSK_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Mask */
-#define BITM_PINT_MSK_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Mask */
-#define BITM_PINT_MSK_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Mask */
-#define BITM_PINT_MSK_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Mask */
-#define BITM_PINT_MSK_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Mask */
-#define BITM_PINT_MSK_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Mask */
-#define BITM_PINT_MSK_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Mask */
-#define BITM_PINT_MSK_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Mask */
-#define BITM_PINT_MSK_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Mask */
-#define BITM_PINT_MSK_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Mask */
-#define BITM_PINT_MSK_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Mask */
-#define BITM_PINT_MSK_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Mask */
-#define BITM_PINT_MSK_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Mask */
-#define BITM_PINT_MSK_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Mask */
-#define BITM_PINT_MSK_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Mask */
-#define BITM_PINT_MSK_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Mask */
-#define BITM_PINT_MSK_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Mask */
-#define BITM_PINT_MSK_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Mask */
-#define BITM_PINT_MSK_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Mask */
-#define BITM_PINT_MSK_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Mask */
-#define BITM_PINT_MSK_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Mask */
-#define BITM_PINT_MSK_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Mask */
-#define BITM_PINT_MSK_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Mask */
-#define BITM_PINT_MSK_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Mask */
-#define BITM_PINT_MSK_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_REQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_REQ_PIQ31 31 /* Pin Interrupt 31 Request */
-#define BITP_PINT_REQ_PIQ30 30 /* Pin Interrupt 30 Request */
-#define BITP_PINT_REQ_PIQ29 29 /* Pin Interrupt 29 Request */
-#define BITP_PINT_REQ_PIQ28 28 /* Pin Interrupt 28 Request */
-#define BITP_PINT_REQ_PIQ27 27 /* Pin Interrupt 27 Request */
-#define BITP_PINT_REQ_PIQ26 26 /* Pin Interrupt 26 Request */
-#define BITP_PINT_REQ_PIQ25 25 /* Pin Interrupt 25 Request */
-#define BITP_PINT_REQ_PIQ24 24 /* Pin Interrupt 24 Request */
-#define BITP_PINT_REQ_PIQ23 23 /* Pin Interrupt 23 Request */
-#define BITP_PINT_REQ_PIQ22 22 /* Pin Interrupt 22 Request */
-#define BITP_PINT_REQ_PIQ21 21 /* Pin Interrupt 21 Request */
-#define BITP_PINT_REQ_PIQ20 20 /* Pin Interrupt 20 Request */
-#define BITP_PINT_REQ_PIQ19 19 /* Pin Interrupt 19 Request */
-#define BITP_PINT_REQ_PIQ18 18 /* Pin Interrupt 18 Request */
-#define BITP_PINT_REQ_PIQ17 17 /* Pin Interrupt 17 Request */
-#define BITP_PINT_REQ_PIQ16 16 /* Pin Interrupt 16 Request */
-#define BITP_PINT_REQ_PIQ15 15 /* Pin Interrupt 15 Request */
-#define BITP_PINT_REQ_PIQ14 14 /* Pin Interrupt 14 Request */
-#define BITP_PINT_REQ_PIQ13 13 /* Pin Interrupt 13 Request */
-#define BITP_PINT_REQ_PIQ12 12 /* Pin Interrupt 12 Request */
-#define BITP_PINT_REQ_PIQ11 11 /* Pin Interrupt 11 Request */
-#define BITP_PINT_REQ_PIQ10 10 /* Pin Interrupt 10 Request */
-#define BITP_PINT_REQ_PIQ9 9 /* Pin Interrupt 9 Request */
-#define BITP_PINT_REQ_PIQ8 8 /* Pin Interrupt 8 Request */
-#define BITP_PINT_REQ_PIQ7 7 /* Pin Interrupt 7 Request */
-#define BITP_PINT_REQ_PIQ6 6 /* Pin Interrupt 6 Request */
-#define BITP_PINT_REQ_PIQ5 5 /* Pin Interrupt 5 Request */
-#define BITP_PINT_REQ_PIQ4 4 /* Pin Interrupt 4 Request */
-#define BITP_PINT_REQ_PIQ3 3 /* Pin Interrupt 3 Request */
-#define BITP_PINT_REQ_PIQ2 2 /* Pin Interrupt 2 Request */
-#define BITP_PINT_REQ_PIQ1 1 /* Pin Interrupt 1 Request */
-#define BITP_PINT_REQ_PIQ0 0 /* Pin Interrupt 0 Request */
-#define BITM_PINT_REQ_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Request */
-#define BITM_PINT_REQ_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Request */
-#define BITM_PINT_REQ_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Request */
-#define BITM_PINT_REQ_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Request */
-#define BITM_PINT_REQ_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Request */
-#define BITM_PINT_REQ_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Request */
-#define BITM_PINT_REQ_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Request */
-#define BITM_PINT_REQ_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Request */
-#define BITM_PINT_REQ_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Request */
-#define BITM_PINT_REQ_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Request */
-#define BITM_PINT_REQ_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Request */
-#define BITM_PINT_REQ_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Request */
-#define BITM_PINT_REQ_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Request */
-#define BITM_PINT_REQ_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Request */
-#define BITM_PINT_REQ_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Request */
-#define BITM_PINT_REQ_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Request */
-#define BITM_PINT_REQ_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Request */
-#define BITM_PINT_REQ_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Request */
-#define BITM_PINT_REQ_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Request */
-#define BITM_PINT_REQ_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Request */
-#define BITM_PINT_REQ_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Request */
-#define BITM_PINT_REQ_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Request */
-#define BITM_PINT_REQ_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Request */
-#define BITM_PINT_REQ_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Request */
-#define BITM_PINT_REQ_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Request */
-#define BITM_PINT_REQ_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Request */
-#define BITM_PINT_REQ_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Request */
-#define BITM_PINT_REQ_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Request */
-#define BITM_PINT_REQ_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Request */
-#define BITM_PINT_REQ_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Request */
-#define BITM_PINT_REQ_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Request */
-#define BITM_PINT_REQ_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_ASSIGN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_ASSIGN_B3MAP 24 /* Byte 3 Mapping */
-#define BITP_PINT_ASSIGN_B2MAP 16 /* Byte 2 Mapping */
-#define BITP_PINT_ASSIGN_B1MAP 8 /* Byte 1 Mapping */
-#define BITP_PINT_ASSIGN_B0MAP 0 /* Byte 0 Mapping */
-#define BITM_PINT_ASSIGN_B3MAP (_ADI_MSK(0xFF000000,uint32_t)) /* Byte 3 Mapping */
-#define BITM_PINT_ASSIGN_B2MAP (_ADI_MSK(0x00FF0000,uint32_t)) /* Byte 2 Mapping */
-#define BITM_PINT_ASSIGN_B1MAP (_ADI_MSK(0x0000FF00,uint32_t)) /* Byte 1 Mapping */
-#define BITM_PINT_ASSIGN_B0MAP (_ADI_MSK(0x000000FF,uint32_t)) /* Byte 0 Mapping */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_SET_PIQ31 31 /* Pin Interrupt 31 Edge */
-#define BITP_PINT_EDGE_SET_PIQ30 30 /* Pin Interrupt 30 Edge */
-#define BITP_PINT_EDGE_SET_PIQ29 29 /* Pin Interrupt 29 Edge */
-#define BITP_PINT_EDGE_SET_PIQ28 28 /* Pin Interrupt 28 Edge */
-#define BITP_PINT_EDGE_SET_PIQ27 27 /* Pin Interrupt 27 Edge */
-#define BITP_PINT_EDGE_SET_PIQ26 26 /* Pin Interrupt 26 Edge */
-#define BITP_PINT_EDGE_SET_PIQ25 25 /* Pin Interrupt 25 Edge */
-#define BITP_PINT_EDGE_SET_PIQ24 24 /* Pin Interrupt 24 Edge */
-#define BITP_PINT_EDGE_SET_PIQ23 23 /* Pin Interrupt 23 Edge */
-#define BITP_PINT_EDGE_SET_PIQ22 22 /* Pin Interrupt 22 Edge */
-#define BITP_PINT_EDGE_SET_PIQ21 21 /* Pin Interrupt 21 Edge */
-#define BITP_PINT_EDGE_SET_PIQ20 20 /* Pin Interrupt 20 Edge */
-#define BITP_PINT_EDGE_SET_PIQ19 19 /* Pin Interrupt 19 Edge */
-#define BITP_PINT_EDGE_SET_PIQ18 18 /* Pin Interrupt 18 Edge */
-#define BITP_PINT_EDGE_SET_PIQ17 17 /* Pin Interrupt 17 Edge */
-#define BITP_PINT_EDGE_SET_PIQ16 16 /* Pin Interrupt 16 Edge */
-#define BITP_PINT_EDGE_SET_PIQ15 15 /* Pin Interrupt 15 Edge */
-#define BITP_PINT_EDGE_SET_PIQ14 14 /* Pin Interrupt 14 Edge */
-#define BITP_PINT_EDGE_SET_PIQ13 13 /* Pin Interrupt 13 Edge */
-#define BITP_PINT_EDGE_SET_PIQ12 12 /* Pin Interrupt 12 Edge */
-#define BITP_PINT_EDGE_SET_PIQ11 11 /* Pin Interrupt 11 Edge */
-#define BITP_PINT_EDGE_SET_PIQ10 10 /* Pin Interrupt 10 Edge */
-#define BITP_PINT_EDGE_SET_PIQ9 9 /* Pin Interrupt 9 Edge */
-#define BITP_PINT_EDGE_SET_PIQ8 8 /* Pin Interrupt 8 Edge */
-#define BITP_PINT_EDGE_SET_PIQ7 7 /* Pin Interrupt 7 Edge */
-#define BITP_PINT_EDGE_SET_PIQ6 6 /* Pin Interrupt 6 Edge */
-#define BITP_PINT_EDGE_SET_PIQ5 5 /* Pin Interrupt 5 Edge */
-#define BITP_PINT_EDGE_SET_PIQ4 4 /* Pin Interrupt 4 Edge */
-#define BITP_PINT_EDGE_SET_PIQ3 3 /* Pin Interrupt 3 Edge */
-#define BITP_PINT_EDGE_SET_PIQ2 2 /* Pin Interrupt 2 Edge */
-#define BITP_PINT_EDGE_SET_PIQ1 1 /* Pin Interrupt 1 Edge */
-#define BITP_PINT_EDGE_SET_PIQ0 0 /* Pin Interrupt 0 Edge */
-#define BITM_PINT_EDGE_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Edge */
-#define BITM_PINT_EDGE_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Edge */
-#define BITM_PINT_EDGE_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Edge */
-#define BITM_PINT_EDGE_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Edge */
-#define BITM_PINT_EDGE_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Edge */
-#define BITM_PINT_EDGE_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Edge */
-#define BITM_PINT_EDGE_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Edge */
-#define BITM_PINT_EDGE_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Edge */
-#define BITM_PINT_EDGE_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Edge */
-#define BITM_PINT_EDGE_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Edge */
-#define BITM_PINT_EDGE_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Edge */
-#define BITM_PINT_EDGE_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Edge */
-#define BITM_PINT_EDGE_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Edge */
-#define BITM_PINT_EDGE_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Edge */
-#define BITM_PINT_EDGE_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Edge */
-#define BITM_PINT_EDGE_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Edge */
-#define BITM_PINT_EDGE_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Edge */
-#define BITM_PINT_EDGE_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Edge */
-#define BITM_PINT_EDGE_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Edge */
-#define BITM_PINT_EDGE_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Edge */
-#define BITM_PINT_EDGE_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Edge */
-#define BITM_PINT_EDGE_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Edge */
-#define BITM_PINT_EDGE_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Edge */
-#define BITM_PINT_EDGE_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Edge */
-#define BITM_PINT_EDGE_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Edge */
-#define BITM_PINT_EDGE_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Edge */
-#define BITM_PINT_EDGE_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Edge */
-#define BITM_PINT_EDGE_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Edge */
-#define BITM_PINT_EDGE_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Edge */
-#define BITM_PINT_EDGE_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Edge */
-#define BITM_PINT_EDGE_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Edge */
-#define BITM_PINT_EDGE_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Edge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_CLR_PIQ31 31 /* Pin Interrupt 31 Level */
-#define BITP_PINT_EDGE_CLR_PIQ30 30 /* Pin Interrupt 30 Level */
-#define BITP_PINT_EDGE_CLR_PIQ29 29 /* Pin Interrupt 29 Level */
-#define BITP_PINT_EDGE_CLR_PIQ28 28 /* Pin Interrupt 28 Level */
-#define BITP_PINT_EDGE_CLR_PIQ27 27 /* Pin Interrupt 27 Level */
-#define BITP_PINT_EDGE_CLR_PIQ26 26 /* Pin Interrupt 26 Level */
-#define BITP_PINT_EDGE_CLR_PIQ25 25 /* Pin Interrupt 25 Level */
-#define BITP_PINT_EDGE_CLR_PIQ24 24 /* Pin Interrupt 24 Level */
-#define BITP_PINT_EDGE_CLR_PIQ23 23 /* Pin Interrupt 23 Level */
-#define BITP_PINT_EDGE_CLR_PIQ22 22 /* Pin Interrupt 22 Level */
-#define BITP_PINT_EDGE_CLR_PIQ21 21 /* Pin Interrupt 21 Level */
-#define BITP_PINT_EDGE_CLR_PIQ20 20 /* Pin Interrupt 20 Level */
-#define BITP_PINT_EDGE_CLR_PIQ19 19 /* Pin Interrupt 19 Level */
-#define BITP_PINT_EDGE_CLR_PIQ18 18 /* Pin Interrupt 18 Level */
-#define BITP_PINT_EDGE_CLR_PIQ17 17 /* Pin Interrupt 17 Level */
-#define BITP_PINT_EDGE_CLR_PIQ16 16 /* Pin Interrupt 16 Level */
-#define BITP_PINT_EDGE_CLR_PIQ15 15 /* Pin Interrupt 15 Level */
-#define BITP_PINT_EDGE_CLR_PIQ14 14 /* Pin Interrupt 14 Level */
-#define BITP_PINT_EDGE_CLR_PIQ13 13 /* Pin Interrupt 13 Level */
-#define BITP_PINT_EDGE_CLR_PIQ12 12 /* Pin Interrupt 12 Level */
-#define BITP_PINT_EDGE_CLR_PIQ11 11 /* Pin Interrupt 11 Level */
-#define BITP_PINT_EDGE_CLR_PIQ10 10 /* Pin Interrupt 10 Level */
-#define BITP_PINT_EDGE_CLR_PIQ9 9 /* Pin Interrupt 9 Level */
-#define BITP_PINT_EDGE_CLR_PIQ8 8 /* Pin Interrupt 8 Level */
-#define BITP_PINT_EDGE_CLR_PIQ7 7 /* Pin Interrupt 7 Level */
-#define BITP_PINT_EDGE_CLR_PIQ6 6 /* Pin Interrupt 6 Level */
-#define BITP_PINT_EDGE_CLR_PIQ5 5 /* Pin Interrupt 5 Level */
-#define BITP_PINT_EDGE_CLR_PIQ4 4 /* Pin Interrupt 4 Level */
-#define BITP_PINT_EDGE_CLR_PIQ3 3 /* Pin Interrupt 3 Level */
-#define BITP_PINT_EDGE_CLR_PIQ2 2 /* Pin Interrupt 2 Level */
-#define BITP_PINT_EDGE_CLR_PIQ1 1 /* Pin Interrupt 1 Level */
-#define BITP_PINT_EDGE_CLR_PIQ0 0 /* Pin Interrupt 0 Level */
-#define BITM_PINT_EDGE_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Level */
-#define BITM_PINT_EDGE_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Level */
-#define BITM_PINT_EDGE_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Level */
-#define BITM_PINT_EDGE_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Level */
-#define BITM_PINT_EDGE_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Level */
-#define BITM_PINT_EDGE_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Level */
-#define BITM_PINT_EDGE_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Level */
-#define BITM_PINT_EDGE_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Level */
-#define BITM_PINT_EDGE_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Level */
-#define BITM_PINT_EDGE_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Level */
-#define BITM_PINT_EDGE_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Level */
-#define BITM_PINT_EDGE_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Level */
-#define BITM_PINT_EDGE_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Level */
-#define BITM_PINT_EDGE_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Level */
-#define BITM_PINT_EDGE_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Level */
-#define BITM_PINT_EDGE_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Level */
-#define BITM_PINT_EDGE_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Level */
-#define BITM_PINT_EDGE_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Level */
-#define BITM_PINT_EDGE_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Level */
-#define BITM_PINT_EDGE_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Level */
-#define BITM_PINT_EDGE_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Level */
-#define BITM_PINT_EDGE_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Level */
-#define BITM_PINT_EDGE_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Level */
-#define BITM_PINT_EDGE_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Level */
-#define BITM_PINT_EDGE_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Level */
-#define BITM_PINT_EDGE_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Level */
-#define BITM_PINT_EDGE_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Level */
-#define BITM_PINT_EDGE_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Level */
-#define BITM_PINT_EDGE_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Level */
-#define BITM_PINT_EDGE_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Level */
-#define BITM_PINT_EDGE_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Level */
-#define BITM_PINT_EDGE_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Level */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_SET_PIQ31 31 /* Pin Interrupt 31 Invert */
-#define BITP_PINT_INV_SET_PIQ30 30 /* Pin Interrupt 30 Invert */
-#define BITP_PINT_INV_SET_PIQ29 29 /* Pin Interrupt 29 Invert */
-#define BITP_PINT_INV_SET_PIQ28 28 /* Pin Interrupt 28 Invert */
-#define BITP_PINT_INV_SET_PIQ27 27 /* Pin Interrupt 27 Invert */
-#define BITP_PINT_INV_SET_PIQ26 26 /* Pin Interrupt 26 Invert */
-#define BITP_PINT_INV_SET_PIQ25 25 /* Pin Interrupt 25 Invert */
-#define BITP_PINT_INV_SET_PIQ24 24 /* Pin Interrupt 24 Invert */
-#define BITP_PINT_INV_SET_PIQ23 23 /* Pin Interrupt 23 Invert */
-#define BITP_PINT_INV_SET_PIQ22 22 /* Pin Interrupt 22 Invert */
-#define BITP_PINT_INV_SET_PIQ21 21 /* Pin Interrupt 21 Invert */
-#define BITP_PINT_INV_SET_PIQ20 20 /* Pin Interrupt 20 Invert */
-#define BITP_PINT_INV_SET_PIQ19 19 /* Pin Interrupt 19 Invert */
-#define BITP_PINT_INV_SET_PIQ18 18 /* Pin Interrupt 18 Invert */
-#define BITP_PINT_INV_SET_PIQ17 17 /* Pin Interrupt 17 Invert */
-#define BITP_PINT_INV_SET_PIQ16 16 /* Pin Interrupt 16 Invert */
-#define BITP_PINT_INV_SET_PIQ15 15 /* Pin Interrupt 15 Invert */
-#define BITP_PINT_INV_SET_PIQ14 14 /* Pin Interrupt 14 Invert */
-#define BITP_PINT_INV_SET_PIQ13 13 /* Pin Interrupt 13 Invert */
-#define BITP_PINT_INV_SET_PIQ12 12 /* Pin Interrupt 12 Invert */
-#define BITP_PINT_INV_SET_PIQ11 11 /* Pin Interrupt 11 Invert */
-#define BITP_PINT_INV_SET_PIQ10 10 /* Pin Interrupt 10 Invert */
-#define BITP_PINT_INV_SET_PIQ9 9 /* Pin Interrupt 9 Invert */
-#define BITP_PINT_INV_SET_PIQ8 8 /* Pin Interrupt 8 Invert */
-#define BITP_PINT_INV_SET_PIQ7 7 /* Pin Interrupt 7 Invert */
-#define BITP_PINT_INV_SET_PIQ6 6 /* Pin Interrupt 6 Invert */
-#define BITP_PINT_INV_SET_PIQ5 5 /* Pin Interrupt 5 Invert */
-#define BITP_PINT_INV_SET_PIQ4 4 /* Pin Interrupt 4 Invert */
-#define BITP_PINT_INV_SET_PIQ3 3 /* Pin Interrupt 3 Invert */
-#define BITP_PINT_INV_SET_PIQ2 2 /* Pin Interrupt 2 Invert */
-#define BITP_PINT_INV_SET_PIQ1 1 /* Pin Interrupt 1 Invert */
-#define BITP_PINT_INV_SET_PIQ0 0 /* Pin Interrupt 0 Invert */
-#define BITM_PINT_INV_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Invert */
-#define BITM_PINT_INV_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Invert */
-#define BITM_PINT_INV_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Invert */
-#define BITM_PINT_INV_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Invert */
-#define BITM_PINT_INV_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Invert */
-#define BITM_PINT_INV_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Invert */
-#define BITM_PINT_INV_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Invert */
-#define BITM_PINT_INV_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Invert */
-#define BITM_PINT_INV_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Invert */
-#define BITM_PINT_INV_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Invert */
-#define BITM_PINT_INV_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Invert */
-#define BITM_PINT_INV_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Invert */
-#define BITM_PINT_INV_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Invert */
-#define BITM_PINT_INV_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Invert */
-#define BITM_PINT_INV_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Invert */
-#define BITM_PINT_INV_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Invert */
-#define BITM_PINT_INV_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Invert */
-#define BITM_PINT_INV_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Invert */
-#define BITM_PINT_INV_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Invert */
-#define BITM_PINT_INV_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Invert */
-#define BITM_PINT_INV_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Invert */
-#define BITM_PINT_INV_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Invert */
-#define BITM_PINT_INV_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Invert */
-#define BITM_PINT_INV_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Invert */
-#define BITM_PINT_INV_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Invert */
-#define BITM_PINT_INV_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Invert */
-#define BITM_PINT_INV_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Invert */
-#define BITM_PINT_INV_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Invert */
-#define BITM_PINT_INV_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Invert */
-#define BITM_PINT_INV_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Invert */
-#define BITM_PINT_INV_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Invert */
-#define BITM_PINT_INV_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_CLR_PIQ31 31 /* Pin Interrupt 31 No Invert */
-#define BITP_PINT_INV_CLR_PIQ30 30 /* Pin Interrupt 30 No Invert */
-#define BITP_PINT_INV_CLR_PIQ29 29 /* Pin Interrupt 29 No Invert */
-#define BITP_PINT_INV_CLR_PIQ28 28 /* Pin Interrupt 28 No Invert */
-#define BITP_PINT_INV_CLR_PIQ27 27 /* Pin Interrupt 27 No Invert */
-#define BITP_PINT_INV_CLR_PIQ26 26 /* Pin Interrupt 26 No Invert */
-#define BITP_PINT_INV_CLR_PIQ25 25 /* Pin Interrupt 25 No Invert */
-#define BITP_PINT_INV_CLR_PIQ24 24 /* Pin Interrupt 24 No Invert */
-#define BITP_PINT_INV_CLR_PIQ23 23 /* Pin Interrupt 23 No Invert */
-#define BITP_PINT_INV_CLR_PIQ22 22 /* Pin Interrupt 22 No Invert */
-#define BITP_PINT_INV_CLR_PIQ21 21 /* Pin Interrupt 21 No Invert */
-#define BITP_PINT_INV_CLR_PIQ20 20 /* Pin Interrupt 20 No Invert */
-#define BITP_PINT_INV_CLR_PIQ19 19 /* Pin Interrupt 19 No Invert */
-#define BITP_PINT_INV_CLR_PIQ18 18 /* Pin Interrupt 18 No Invert */
-#define BITP_PINT_INV_CLR_PIQ17 17 /* Pin Interrupt 17 No Invert */
-#define BITP_PINT_INV_CLR_PIQ16 16 /* Pin Interrupt 16 No Invert */
-#define BITP_PINT_INV_CLR_PIQ15 15 /* Pin Interrupt 15 No Invert */
-#define BITP_PINT_INV_CLR_PIQ14 14 /* Pin Interrupt 14 No Invert */
-#define BITP_PINT_INV_CLR_PIQ13 13 /* Pin Interrupt 13 No Invert */
-#define BITP_PINT_INV_CLR_PIQ12 12 /* Pin Interrupt 12 No Invert */
-#define BITP_PINT_INV_CLR_PIQ11 11 /* Pin Interrupt 11 No Invert */
-#define BITP_PINT_INV_CLR_PIQ10 10 /* Pin Interrupt 10 No Invert */
-#define BITP_PINT_INV_CLR_PIQ9 9 /* Pin Interrupt 9 No Invert */
-#define BITP_PINT_INV_CLR_PIQ8 8 /* Pin Interrupt 8 No Invert */
-#define BITP_PINT_INV_CLR_PIQ7 7 /* Pin Interrupt 7 No Invert */
-#define BITP_PINT_INV_CLR_PIQ6 6 /* Pin Interrupt 6 No Invert */
-#define BITP_PINT_INV_CLR_PIQ5 5 /* Pin Interrupt 5 No Invert */
-#define BITP_PINT_INV_CLR_PIQ4 4 /* Pin Interrupt 4 No Invert */
-#define BITP_PINT_INV_CLR_PIQ3 3 /* Pin Interrupt 3 No Invert */
-#define BITP_PINT_INV_CLR_PIQ2 2 /* Pin Interrupt 2 No Invert */
-#define BITP_PINT_INV_CLR_PIQ1 1 /* Pin Interrupt 1 No Invert */
-#define BITP_PINT_INV_CLR_PIQ0 0 /* Pin Interrupt 0 No Invert */
-#define BITM_PINT_INV_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 No Invert */
-#define BITM_PINT_INV_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 No Invert */
-#define BITM_PINT_INV_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 No Invert */
-#define BITM_PINT_INV_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 No Invert */
-#define BITM_PINT_INV_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 No Invert */
-#define BITM_PINT_INV_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 No Invert */
-#define BITM_PINT_INV_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 No Invert */
-#define BITM_PINT_INV_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 No Invert */
-#define BITM_PINT_INV_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 No Invert */
-#define BITM_PINT_INV_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 No Invert */
-#define BITM_PINT_INV_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 No Invert */
-#define BITM_PINT_INV_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 No Invert */
-#define BITM_PINT_INV_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 No Invert */
-#define BITM_PINT_INV_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 No Invert */
-#define BITM_PINT_INV_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 No Invert */
-#define BITM_PINT_INV_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 No Invert */
-#define BITM_PINT_INV_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 No Invert */
-#define BITM_PINT_INV_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 No Invert */
-#define BITM_PINT_INV_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 No Invert */
-#define BITM_PINT_INV_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 No Invert */
-#define BITM_PINT_INV_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 No Invert */
-#define BITM_PINT_INV_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 No Invert */
-#define BITM_PINT_INV_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 No Invert */
-#define BITM_PINT_INV_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 No Invert */
-#define BITM_PINT_INV_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 No Invert */
-#define BITM_PINT_INV_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 No Invert */
-#define BITM_PINT_INV_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 No Invert */
-#define BITM_PINT_INV_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 No Invert */
-#define BITM_PINT_INV_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 No Invert */
-#define BITM_PINT_INV_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 No Invert */
-#define BITM_PINT_INV_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 No Invert */
-#define BITM_PINT_INV_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 No Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_PINSTATE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_PINSTATE_PIQ31 31 /* Pin Interrupt 31 State */
-#define BITP_PINT_PINSTATE_PIQ30 30 /* Pin Interrupt 30 State */
-#define BITP_PINT_PINSTATE_PIQ29 29 /* Pin Interrupt 29 State */
-#define BITP_PINT_PINSTATE_PIQ28 28 /* Pin Interrupt 28 State */
-#define BITP_PINT_PINSTATE_PIQ27 27 /* Pin Interrupt 27 State */
-#define BITP_PINT_PINSTATE_PIQ26 26 /* Pin Interrupt 26 State */
-#define BITP_PINT_PINSTATE_PIQ25 25 /* Pin Interrupt 25 State */
-#define BITP_PINT_PINSTATE_PIQ24 24 /* Pin Interrupt 24 State */
-#define BITP_PINT_PINSTATE_PIQ23 23 /* Pin Interrupt 23 State */
-#define BITP_PINT_PINSTATE_PIQ22 22 /* Pin Interrupt 22 State */
-#define BITP_PINT_PINSTATE_PIQ21 21 /* Pin Interrupt 21 State */
-#define BITP_PINT_PINSTATE_PIQ20 20 /* Pin Interrupt 20 State */
-#define BITP_PINT_PINSTATE_PIQ19 19 /* Pin Interrupt 19 State */
-#define BITP_PINT_PINSTATE_PIQ18 18 /* Pin Interrupt 18 State */
-#define BITP_PINT_PINSTATE_PIQ17 17 /* Pin Interrupt 17 State */
-#define BITP_PINT_PINSTATE_PIQ16 16 /* Pin Interrupt 16 State */
-#define BITP_PINT_PINSTATE_PIQ15 15 /* Pin Interrupt 15 State */
-#define BITP_PINT_PINSTATE_PIQ14 14 /* Pin Interrupt 14 State */
-#define BITP_PINT_PINSTATE_PIQ13 13 /* Pin Interrupt 13 State */
-#define BITP_PINT_PINSTATE_PIQ12 12 /* Pin Interrupt 12 State */
-#define BITP_PINT_PINSTATE_PIQ11 11 /* Pin Interrupt 11 State */
-#define BITP_PINT_PINSTATE_PIQ10 10 /* Pin Interrupt 10 State */
-#define BITP_PINT_PINSTATE_PIQ9 9 /* Pin Interrupt 9 State */
-#define BITP_PINT_PINSTATE_PIQ8 8 /* Pin Interrupt 8 State */
-#define BITP_PINT_PINSTATE_PIQ7 7 /* Pin Interrupt 7 State */
-#define BITP_PINT_PINSTATE_PIQ6 6 /* Pin Interrupt 6 State */
-#define BITP_PINT_PINSTATE_PIQ5 5 /* Pin Interrupt 5 State */
-#define BITP_PINT_PINSTATE_PIQ4 4 /* Pin Interrupt 4 State */
-#define BITP_PINT_PINSTATE_PIQ3 3 /* Pin Interrupt 3 State */
-#define BITP_PINT_PINSTATE_PIQ2 2 /* Pin Interrupt 2 State */
-#define BITP_PINT_PINSTATE_PIQ1 1 /* Pin Interrupt 1 State */
-#define BITP_PINT_PINSTATE_PIQ0 0 /* Pin Interrupt 0 State */
-#define BITM_PINT_PINSTATE_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 State */
-#define BITM_PINT_PINSTATE_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 State */
-#define BITM_PINT_PINSTATE_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 State */
-#define BITM_PINT_PINSTATE_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 State */
-#define BITM_PINT_PINSTATE_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 State */
-#define BITM_PINT_PINSTATE_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 State */
-#define BITM_PINT_PINSTATE_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 State */
-#define BITM_PINT_PINSTATE_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 State */
-#define BITM_PINT_PINSTATE_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 State */
-#define BITM_PINT_PINSTATE_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 State */
-#define BITM_PINT_PINSTATE_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 State */
-#define BITM_PINT_PINSTATE_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 State */
-#define BITM_PINT_PINSTATE_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 State */
-#define BITM_PINT_PINSTATE_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 State */
-#define BITM_PINT_PINSTATE_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 State */
-#define BITM_PINT_PINSTATE_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 State */
-#define BITM_PINT_PINSTATE_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 State */
-#define BITM_PINT_PINSTATE_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 State */
-#define BITM_PINT_PINSTATE_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 State */
-#define BITM_PINT_PINSTATE_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 State */
-#define BITM_PINT_PINSTATE_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 State */
-#define BITM_PINT_PINSTATE_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 State */
-#define BITM_PINT_PINSTATE_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 State */
-#define BITM_PINT_PINSTATE_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 State */
-#define BITM_PINT_PINSTATE_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 State */
-#define BITM_PINT_PINSTATE_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 State */
-#define BITM_PINT_PINSTATE_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 State */
-#define BITM_PINT_PINSTATE_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 State */
-#define BITM_PINT_PINSTATE_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 State */
-#define BITM_PINT_PINSTATE_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 State */
-#define BITM_PINT_PINSTATE_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 State */
-#define BITM_PINT_PINSTATE_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_LATCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_LATCH_PIQ31 31 /* Pin Interrupt 31 Latch */
-#define BITP_PINT_LATCH_PIQ30 30 /* Pin Interrupt 30 Latch */
-#define BITP_PINT_LATCH_PIQ29 29 /* Pin Interrupt 29 Latch */
-#define BITP_PINT_LATCH_PIQ28 28 /* Pin Interrupt 28 Latch */
-#define BITP_PINT_LATCH_PIQ27 27 /* Pin Interrupt 27 Latch */
-#define BITP_PINT_LATCH_PIQ26 26 /* Pin Interrupt 26 Latch */
-#define BITP_PINT_LATCH_PIQ25 25 /* Pin Interrupt 25 Latch */
-#define BITP_PINT_LATCH_PIQ24 24 /* Pin Interrupt 24 Latch */
-#define BITP_PINT_LATCH_PIQ23 23 /* Pin Interrupt 23 Latch */
-#define BITP_PINT_LATCH_PIQ22 22 /* Pin Interrupt 22 Latch */
-#define BITP_PINT_LATCH_PIQ21 21 /* Pin Interrupt 21 Latch */
-#define BITP_PINT_LATCH_PIQ20 20 /* Pin Interrupt 20 Latch */
-#define BITP_PINT_LATCH_PIQ19 19 /* Pin Interrupt 19 Latch */
-#define BITP_PINT_LATCH_PIQ18 18 /* Pin Interrupt 18 Latch */
-#define BITP_PINT_LATCH_PIQ17 17 /* Pin Interrupt 17 Latch */
-#define BITP_PINT_LATCH_PIQ16 16 /* Pin Interrupt 16 Latch */
-#define BITP_PINT_LATCH_PIQ15 15 /* Pin Interrupt 15 Latch */
-#define BITP_PINT_LATCH_PIQ14 14 /* Pin Interrupt 14 Latch */
-#define BITP_PINT_LATCH_PIQ13 13 /* Pin Interrupt 13 Latch */
-#define BITP_PINT_LATCH_PIQ12 12 /* Pin Interrupt 12 Latch */
-#define BITP_PINT_LATCH_PIQ11 11 /* Pin Interrupt 11 Latch */
-#define BITP_PINT_LATCH_PIQ10 10 /* Pin Interrupt 10 Latch */
-#define BITP_PINT_LATCH_PIQ9 9 /* Pin Interrupt 9 Latch */
-#define BITP_PINT_LATCH_PIQ8 8 /* Pin Interrupt 8 Latch */
-#define BITP_PINT_LATCH_PIQ7 7 /* Pin Interrupt 7 Latch */
-#define BITP_PINT_LATCH_PIQ6 6 /* Pin Interrupt 6 Latch */
-#define BITP_PINT_LATCH_PIQ5 5 /* Pin Interrupt 5 Latch */
-#define BITP_PINT_LATCH_PIQ4 4 /* Pin Interrupt 4 Latch */
-#define BITP_PINT_LATCH_PIQ3 3 /* Pin Interrupt 3 Latch */
-#define BITP_PINT_LATCH_PIQ2 2 /* Pin Interrupt 2 Latch */
-#define BITP_PINT_LATCH_PIQ1 1 /* Pin Interrupt 1 Latch */
-#define BITP_PINT_LATCH_PIQ0 0 /* Pin Interrupt 0 Latch */
-#define BITM_PINT_LATCH_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Latch */
-#define BITM_PINT_LATCH_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Latch */
-#define BITM_PINT_LATCH_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Latch */
-#define BITM_PINT_LATCH_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Latch */
-#define BITM_PINT_LATCH_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Latch */
-#define BITM_PINT_LATCH_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Latch */
-#define BITM_PINT_LATCH_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Latch */
-#define BITM_PINT_LATCH_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Latch */
-#define BITM_PINT_LATCH_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Latch */
-#define BITM_PINT_LATCH_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Latch */
-#define BITM_PINT_LATCH_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Latch */
-#define BITM_PINT_LATCH_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Latch */
-#define BITM_PINT_LATCH_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Latch */
-#define BITM_PINT_LATCH_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Latch */
-#define BITM_PINT_LATCH_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Latch */
-#define BITM_PINT_LATCH_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Latch */
-#define BITM_PINT_LATCH_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Latch */
-#define BITM_PINT_LATCH_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Latch */
-#define BITM_PINT_LATCH_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Latch */
-#define BITM_PINT_LATCH_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Latch */
-#define BITM_PINT_LATCH_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Latch */
-#define BITM_PINT_LATCH_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Latch */
-#define BITM_PINT_LATCH_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Latch */
-#define BITM_PINT_LATCH_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Latch */
-#define BITM_PINT_LATCH_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Latch */
-#define BITM_PINT_LATCH_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Latch */
-#define BITM_PINT_LATCH_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Latch */
-#define BITM_PINT_LATCH_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Latch */
-#define BITM_PINT_LATCH_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Latch */
-#define BITM_PINT_LATCH_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Latch */
-#define BITM_PINT_LATCH_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Latch */
-#define BITM_PINT_LATCH_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Latch */
-
-/* ==================================================
- Static Memory Controller Registers
- ================================================== */
-
-/* =========================
- SMC0
- ========================= */
-#define REG_SMC0_GCTL 0xFFC16004 /* SMC0 Grant Control Register */
-#define REG_SMC0_GSTAT 0xFFC16008 /* SMC0 Grant Status Register */
-#define REG_SMC0_B0CTL 0xFFC1600C /* SMC0 Bank 0 Control Register */
-#define REG_SMC0_B0TIM 0xFFC16010 /* SMC0 Bank 0 Timing Register */
-#define REG_SMC0_B0ETIM 0xFFC16014 /* SMC0 Bank 0 Extended Timing Register */
-#define REG_SMC0_B1CTL 0xFFC1601C /* SMC0 Bank 1 Control Register */
-#define REG_SMC0_B1TIM 0xFFC16020 /* SMC0 Bank 1 Timing Register */
-#define REG_SMC0_B1ETIM 0xFFC16024 /* SMC0 Bank 1 Extended Timing Register */
-#define REG_SMC0_B2CTL 0xFFC1602C /* SMC0 Bank 2 Control Register */
-#define REG_SMC0_B2TIM 0xFFC16030 /* SMC0 Bank 2 Timing Register */
-#define REG_SMC0_B2ETIM 0xFFC16034 /* SMC0 Bank 2 Extended Timing Register */
-#define REG_SMC0_B3CTL 0xFFC1603C /* SMC0 Bank 3 Control Register */
-#define REG_SMC0_B3TIM 0xFFC16040 /* SMC0 Bank 3 Timing Register */
-#define REG_SMC0_B3ETIM 0xFFC16044 /* SMC0 Bank 3 Extended Timing Register */
-
-/* =========================
- SMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GCTL_BGDIS 4 /* Bus Grant Disable */
-#define BITM_SMC_GCTL_BGDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bus Grant Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GSTAT_BGHSTAT 2 /* Bus Grant Hold Status */
-#define BITP_SMC_GSTAT_BRQSTAT 1 /* Bus Request Status */
-#define BITP_SMC_GSTAT_BGSTAT 0 /* Bus Grant Status */
-#define BITM_SMC_GSTAT_BGHSTAT (_ADI_MSK(0x00000004,uint32_t)) /* Bus Grant Hold Status */
-#define BITM_SMC_GSTAT_BRQSTAT (_ADI_MSK(0x00000002,uint32_t)) /* Bus Request Status */
-#define BITM_SMC_GSTAT_BGSTAT (_ADI_MSK(0x00000001,uint32_t)) /* Bus Grant Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B0CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B0CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B0CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B0CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B0CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B0CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B0CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B0CTL_EN 0 /* Bank 0 Enable */
-#define BITM_SMC_B0CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B0CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B0CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B0CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B0CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B0CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B0CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B0CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B0CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B0TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B0TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B0TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B0TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B0TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B0TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B0TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B0TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B0TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B0TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B0TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B0ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B0ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B0ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B0ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B0ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B0ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B0ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B0ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B0ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B1CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B1CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B1CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B1CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B1CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B1CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B1CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B1CTL_EN 0 /* Bank 1 Enable */
-#define BITM_SMC_B1CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B1CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B1CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B1CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B1CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B1CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B1CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B1CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B1CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 1 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B1TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B1TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B1TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B1TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B1TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B1TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B1TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B1TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B1TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B1TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B1TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B1ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B1ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B1ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B1ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B1ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B1ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B1ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B1ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B1ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B2CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B2CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B2CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B2CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B2CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B2CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B2CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B2CTL_EN 0 /* Bank 2 Enable */
-#define BITM_SMC_B2CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B2CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B2CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B2CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B2CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B2CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B2CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B2CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B2CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 2 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B2TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B2TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B2TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B2TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B2TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B2TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B2TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B2TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B2TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B2TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B2TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B2ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B2ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B2ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B2ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B2ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B2ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B2ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B2ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B2ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B3CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B3CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B3CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B3CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B3CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B3CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B3CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B3CTL_EN 0 /* Bank 3 Enable */
-#define BITM_SMC_B3CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B3CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B3CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B3CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B3CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B3CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B3CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B3CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B3CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 3 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B3TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B3TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B3TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B3TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B3TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B3TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B3TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B3TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B3TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B3TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B3TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B3ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B3ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B3ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B3ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B3ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B3ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B3ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B3ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B3ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ==================================================
- Watch Dog Timer Unit Registers
- ================================================== */
-
-/* =========================
- WDOG0
- ========================= */
-#define REG_WDOG0_CTL 0xFFC17000 /* WDOG0 Control Register */
-#define REG_WDOG0_CNT 0xFFC17004 /* WDOG0 Count Register */
-#define REG_WDOG0_STAT 0xFFC17008 /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================
- WDOG1
- ========================= */
-#define REG_WDOG1_CTL 0xFFC17800 /* WDOG1 Control Register */
-#define REG_WDOG1_CNT 0xFFC17804 /* WDOG1 Count Register */
-#define REG_WDOG1_STAT 0xFFC17808 /* WDOG1 Watchdog Timer Status Register */
-
-/* =========================
- WDOG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WDOG_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WDOG_CTL_WDRO 15 /* Watch Dog Rollover */
-#define BITP_WDOG_CTL_WDEN 4 /* Watch Dog Enable */
-
-#define BITM_WDOG_CTL_WDRO (_ADI_MSK(0x00008000,uint32_t)) /* Watch Dog Rollover */
-#define ENUM_WDOG_CTL_WDTEXP (_ADI_MSK(0x00008000,uint32_t)) /* WDRO: WDT has expired */
-#define BITM_WDOG_CTL_WDEN (_ADI_MSK(0x00000FF0,uint32_t)) /* Watch Dog Enable */
-
-/* ==================================================
- EPPI Registers
- ================================================== */
-
-/* =========================
- EPPI0
- ========================= */
-#define REG_EPPI0_STAT 0xFFC18000 /* EPPI0 Status Register */
-#define REG_EPPI0_HCNT 0xFFC18004 /* EPPI0 Horizontal Transfer Count Register */
-#define REG_EPPI0_HDLY 0xFFC18008 /* EPPI0 Horizontal Delay Count Register */
-#define REG_EPPI0_VCNT 0xFFC1800C /* EPPI0 Vertical Transfer Count Register */
-#define REG_EPPI0_VDLY 0xFFC18010 /* EPPI0 Vertical Delay Count Register */
-#define REG_EPPI0_FRAME 0xFFC18014 /* EPPI0 Lines Per Frame Register */
-#define REG_EPPI0_LINE 0xFFC18018 /* EPPI0 Samples Per Line Register */
-#define REG_EPPI0_CLKDIV 0xFFC1801C /* EPPI0 Clock Divide Register */
-#define REG_EPPI0_CTL 0xFFC18020 /* EPPI0 Control Register */
-#define REG_EPPI0_FS1_WLHB 0xFFC18024 /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI0_FS1_PASPL 0xFFC18028 /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI0_FS2_WLVB 0xFFC1802C /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI0_FS2_PALPF 0xFFC18030 /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI0_IMSK 0xFFC18034 /* EPPI0 Interrupt Mask Register */
-#define REG_EPPI0_ODDCLIP 0xFFC1803C /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI0_EVENCLIP 0xFFC18040 /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI0_FS1_DLY 0xFFC18044 /* EPPI0 Frame Sync 1 Delay Value */
-#define REG_EPPI0_FS2_DLY 0xFFC18048 /* EPPI0 Frame Sync 2 Delay Value */
-#define REG_EPPI0_CTL2 0xFFC1804C /* EPPI0 Control Register 2 */
-
-/* =========================
- EPPI1
- ========================= */
-#define REG_EPPI1_STAT 0xFFC18400 /* EPPI1 Status Register */
-#define REG_EPPI1_HCNT 0xFFC18404 /* EPPI1 Horizontal Transfer Count Register */
-#define REG_EPPI1_HDLY 0xFFC18408 /* EPPI1 Horizontal Delay Count Register */
-#define REG_EPPI1_VCNT 0xFFC1840C /* EPPI1 Vertical Transfer Count Register */
-#define REG_EPPI1_VDLY 0xFFC18410 /* EPPI1 Vertical Delay Count Register */
-#define REG_EPPI1_FRAME 0xFFC18414 /* EPPI1 Lines Per Frame Register */
-#define REG_EPPI1_LINE 0xFFC18418 /* EPPI1 Samples Per Line Register */
-#define REG_EPPI1_CLKDIV 0xFFC1841C /* EPPI1 Clock Divide Register */
-#define REG_EPPI1_CTL 0xFFC18420 /* EPPI1 Control Register */
-#define REG_EPPI1_FS1_WLHB 0xFFC18424 /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI1_FS1_PASPL 0xFFC18428 /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI1_FS2_WLVB 0xFFC1842C /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI1_FS2_PALPF 0xFFC18430 /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI1_IMSK 0xFFC18434 /* EPPI1 Interrupt Mask Register */
-#define REG_EPPI1_ODDCLIP 0xFFC1843C /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI1_EVENCLIP 0xFFC18440 /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI1_FS1_DLY 0xFFC18444 /* EPPI1 Frame Sync 1 Delay Value */
-#define REG_EPPI1_FS2_DLY 0xFFC18448 /* EPPI1 Frame Sync 2 Delay Value */
-#define REG_EPPI1_CTL2 0xFFC1844C /* EPPI1 Control Register 2 */
-
-/* =========================
- EPPI2
- ========================= */
-#define REG_EPPI2_STAT 0xFFC18800 /* EPPI2 Status Register */
-#define REG_EPPI2_HCNT 0xFFC18804 /* EPPI2 Horizontal Transfer Count Register */
-#define REG_EPPI2_HDLY 0xFFC18808 /* EPPI2 Horizontal Delay Count Register */
-#define REG_EPPI2_VCNT 0xFFC1880C /* EPPI2 Vertical Transfer Count Register */
-#define REG_EPPI2_VDLY 0xFFC18810 /* EPPI2 Vertical Delay Count Register */
-#define REG_EPPI2_FRAME 0xFFC18814 /* EPPI2 Lines Per Frame Register */
-#define REG_EPPI2_LINE 0xFFC18818 /* EPPI2 Samples Per Line Register */
-#define REG_EPPI2_CLKDIV 0xFFC1881C /* EPPI2 Clock Divide Register */
-#define REG_EPPI2_CTL 0xFFC18820 /* EPPI2 Control Register */
-#define REG_EPPI2_FS1_WLHB 0xFFC18824 /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI2_FS1_PASPL 0xFFC18828 /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI2_FS2_WLVB 0xFFC1882C /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI2_FS2_PALPF 0xFFC18830 /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI2_IMSK 0xFFC18834 /* EPPI2 Interrupt Mask Register */
-#define REG_EPPI2_ODDCLIP 0xFFC1883C /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI2_EVENCLIP 0xFFC18840 /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI2_FS1_DLY 0xFFC18844 /* EPPI2 Frame Sync 1 Delay Value */
-#define REG_EPPI2_FS2_DLY 0xFFC18848 /* EPPI2 Frame Sync 2 Delay Value */
-#define REG_EPPI2_CTL2 0xFFC1884C /* EPPI2 Control Register 2 */
-
-/* =========================
- EPPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_STAT_FLD 15 /* Current Field Received by EPPI */
-#define BITP_EPPI_STAT_ERRDET 14 /* Preamble Error Detected */
-#define BITP_EPPI_STAT_PXPERR 7 /* PxP Ready Error */
-#define BITP_EPPI_STAT_ERRNCOR 6 /* Preamble Error Not Corrected */
-#define BITP_EPPI_STAT_FTERRUNDR 5 /* Frame Track Underflow */
-#define BITP_EPPI_STAT_FTERROVR 4 /* Frame Track Overflow */
-#define BITP_EPPI_STAT_LTERRUNDR 3 /* Line Track Underflow */
-#define BITP_EPPI_STAT_LTERROVR 2 /* Line Track Overflow */
-#define BITP_EPPI_STAT_YFIFOERR 1 /* Luma FIFO Error */
-#define BITP_EPPI_STAT_CFIFOERR 0 /* Chroma FIFO Error */
-
-#define BITM_EPPI_STAT_FLD (_ADI_MSK(0x00008000,uint32_t)) /* Current Field Received by EPPI */
-#define ENUM_EPPI_STAT_FIELD1 (_ADI_MSK(0x00000000,uint32_t)) /* FLD: Field 1 */
-#define ENUM_EPPI_STAT_FIELD2 (_ADI_MSK(0x00008000,uint32_t)) /* FLD: Field 2 */
-
-#define BITM_EPPI_STAT_ERRDET (_ADI_MSK(0x00004000,uint32_t)) /* Preamble Error Detected */
-#define ENUM_EPPI_STAT_NO_PRERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRDET: No preamble error detected */
-#define ENUM_EPPI_STAT_PRERR (_ADI_MSK(0x00004000,uint32_t)) /* ERRDET: Preamble error detected */
-#define BITM_EPPI_STAT_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error */
-
-#define BITM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* Preamble Error Not Corrected */
-#define ENUM_EPPI_STAT_NO_ERRNCOR (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: No uncorrected preamble error has occurred */
-#define ENUM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Preamble error detected but not corrected */
-
-#define BITM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow */
-#define ENUM_EPPI_STAT_NO_FTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow */
-#define ENUM_EPPI_STAT_NO_FTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow */
-#define ENUM_EPPI_STAT_NO_LTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow */
-#define ENUM_EPPI_STAT_NO_LTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* Luma FIFO Error */
-#define ENUM_EPPI_STAT_NO_YFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Error Occurred */
-
-#define BITM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* Chroma FIFO Error */
-#define ENUM_EPPI_STAT_NO_CFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HCNT_VALUE 0 /* Horizontal Transfer Count */
-#define BITM_EPPI_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HDLY_VALUE 0 /* Horizontal Delay Count */
-#define BITM_EPPI_HDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VCNT_VALUE 0 /* Vertical Transfer Count */
-#define BITM_EPPI_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VDLY_VALUE 0 /* Vertical Delay Count */
-#define BITM_EPPI_VDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FRAME_VALUE 0 /* Lines Per Frame */
-#define BITM_EPPI_FRAME_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lines Per Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_LINE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_LINE_VALUE 0 /* Samples Per Line */
-#define BITM_EPPI_LINE_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Samples Per Line */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CLKDIV_VALUE 0 /* Internal Clock Divider */
-#define BITM_EPPI_CLKDIV_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Internal Clock Divider */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL_CLKGATEN 31 /* Clock Gating Enable */
-#define BITP_EPPI_CTL_MUXSEL 30 /* MUX Select */
-#define BITP_EPPI_CTL_DMAFINEN 29 /* DMA Finish Enable */
-#define BITP_EPPI_CTL_DMACFG 28 /* One or Two DMA Channels Mode */
-#define BITP_EPPI_CTL_RGBFMTEN 27 /* RGB Formatting Enable */
-#define BITP_EPPI_CTL_SPLTWRD 26 /* Split Word */
-#define BITP_EPPI_CTL_SUBSPLTODD 25 /* Sub-Split Odd Samples */
-#define BITP_EPPI_CTL_SPLTEO 24 /* Split Even and Odd Data Samples */
-#define BITP_EPPI_CTL_SWAPEN 23 /* Swap Enable */
-#define BITP_EPPI_CTL_PACKEN 22 /* Pack/Unpack Enable */
-#define BITP_EPPI_CTL_SKIPEO 21 /* Skip Even or Odd */
-#define BITP_EPPI_CTL_SKIPEN 20 /* Skip Enable */
-#define BITP_EPPI_CTL_DMIRR 19 /* Data Mirroring */
-#define BITP_EPPI_CTL_DLEN 16 /* Data Length */
-#define BITP_EPPI_CTL_POLS 14 /* Frame Sync Polarity */
-#define BITP_EPPI_CTL_POLC 12 /* Clock Polarity */
-#define BITP_EPPI_CTL_SIGNEXT 11 /* Sign Extension */
-#define BITP_EPPI_CTL_IFSGEN 10 /* Internal Frame Sync Generation */
-#define BITP_EPPI_CTL_ICLKGEN 9 /* Internal Clock Generation */
-#define BITP_EPPI_CTL_BLANKGEN 8 /* king Generation (ITU Output Mode) */
-#define BITP_EPPI_CTL_ITUTYPE 7 /* ITU Interlace or Progressive */
-#define BITP_EPPI_CTL_FLDSEL 6 /* Field Select/Trigger */
-#define BITP_EPPI_CTL_FSCFG 4 /* Frame Sync Configuration */
-#define BITP_EPPI_CTL_XFRTYPE 2 /* Transfer Type ( Operating Mode) */
-#define BITP_EPPI_CTL_DIR 1 /* PPI Direction */
-#define BITP_EPPI_CTL_EN 0 /* PPI Enable */
-
-#define BITM_EPPI_CTL_CLKGATEN (_ADI_MSK(0x80000000,uint32_t)) /* Clock Gating Enable */
-#define ENUM_EPPI_CTL_CLKGATE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CLKGATEN: Disable */
-#define ENUM_EPPI_CTL_CLKGATE_EN (_ADI_MSK(0x80000000,uint32_t)) /* CLKGATEN: Enable */
-
-#define BITM_EPPI_CTL_MUXSEL (_ADI_MSK(0x40000000,uint32_t)) /* MUX Select */
-#define ENUM_EPPI_CTL_MUXSEL0 (_ADI_MSK(0x00000000,uint32_t)) /* MUXSEL: Normal Operation */
-#define ENUM_EPPI_CTL_MUXSEL1 (_ADI_MSK(0x40000000,uint32_t)) /* MUXSEL: Multiplexed Operation */
-
-#define BITM_EPPI_CTL_DMAFINEN (_ADI_MSK(0x20000000,uint32_t)) /* DMA Finish Enable */
-#define ENUM_EPPI_CTL_FINISH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DMAFINEN: No Finish Command */
-#define ENUM_EPPI_CTL_FINISH_EN (_ADI_MSK(0x20000000,uint32_t)) /* DMAFINEN: Enable Send Finish Command */
-
-#define BITM_EPPI_CTL_DMACFG (_ADI_MSK(0x10000000,uint32_t)) /* One or Two DMA Channels Mode */
-#define ENUM_EPPI_CTL_DMA1CHAN (_ADI_MSK(0x00000000,uint32_t)) /* DMACFG: PPI uses one DMA Channel */
-#define ENUM_EPPI_CTL_DMA2CHAN (_ADI_MSK(0x10000000,uint32_t)) /* DMACFG: PPI uses two DMA Channels */
-
-#define BITM_EPPI_CTL_RGBFMTEN (_ADI_MSK(0x08000000,uint32_t)) /* RGB Formatting Enable */
-#define ENUM_EPPI_CTL_RGBFMT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RGBFMTEN: Disable RGB Formatted Output */
-#define ENUM_EPPI_CTL_RGBFMT_EN (_ADI_MSK(0x08000000,uint32_t)) /* RGBFMTEN: Enable RGB Formatted Output */
-
-#define BITM_EPPI_CTL_SPLTWRD (_ADI_MSK(0x04000000,uint32_t)) /* Split Word */
-#define ENUM_EPPI_CTL_NO_WORDSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SPLTWRD: PPI_DATA has (DLEN-1) bits of Y or Cr or Cb */
-#define ENUM_EPPI_CTL_WORDSPLIT (_ADI_MSK(0x04000000,uint32_t)) /* SPLTWRD: PPI_DATA contains 2 elements per word */
-
-#define BITM_EPPI_CTL_SUBSPLTODD (_ADI_MSK(0x02000000,uint32_t)) /* Sub-Split Odd Samples */
-#define ENUM_EPPI_CTL_NO_SUBSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SUBSPLTODD: Disable */
-#define ENUM_EPPI_CTL_SUBSPLIT_ODD (_ADI_MSK(0x02000000,uint32_t)) /* SUBSPLTODD: Enable */
-
-#define BITM_EPPI_CTL_SPLTEO (_ADI_MSK(0x01000000,uint32_t)) /* Split Even and Odd Data Samples */
-#define ENUM_EPPI_CTL_SPLTEO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPLTEO: Do Not Split Samples */
-#define ENUM_EPPI_CTL_SPLTEO_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPLTEO: Split Even/Odd Samples */
-
-#define BITM_EPPI_CTL_SWAPEN (_ADI_MSK(0x00800000,uint32_t)) /* Swap Enable */
-#define ENUM_EPPI_CTL_SWAP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SWAPEN: Disable */
-#define ENUM_EPPI_CTL_SWAP_EN (_ADI_MSK(0x00800000,uint32_t)) /* SWAPEN: Enable */
-
-#define BITM_EPPI_CTL_PACKEN (_ADI_MSK(0x00400000,uint32_t)) /* Pack/Unpack Enable */
-#define ENUM_EPPI_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACKEN: Disable */
-#define ENUM_EPPI_CTL_PACK_EN (_ADI_MSK(0x00400000,uint32_t)) /* PACKEN: Enable */
-
-#define BITM_EPPI_CTL_SKIPEO (_ADI_MSK(0x00200000,uint32_t)) /* Skip Even or Odd */
-#define ENUM_EPPI_CTL_SKIPODD (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEO: Skip Odd Samples */
-#define ENUM_EPPI_CTL_SKIPEVEN (_ADI_MSK(0x00200000,uint32_t)) /* SKIPEO: Skip Even Samples */
-
-#define BITM_EPPI_CTL_SKIPEN (_ADI_MSK(0x00100000,uint32_t)) /* Skip Enable */
-#define ENUM_EPPI_CTL_NO_SKIP (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEN: No Samples Skipping */
-#define ENUM_EPPI_CTL_SKIP (_ADI_MSK(0x00100000,uint32_t)) /* SKIPEN: Skip Alternate Samples */
-
-#define BITM_EPPI_CTL_DMIRR (_ADI_MSK(0x00080000,uint32_t)) /* Data Mirroring */
-#define ENUM_EPPI_CTL_NO_MIRROR (_ADI_MSK(0x00000000,uint32_t)) /* DMIRR: No Data Mirroring */
-#define ENUM_EPPI_CTL_MIRROR (_ADI_MSK(0x00080000,uint32_t)) /* DMIRR: Data Mirroring */
-
-#define BITM_EPPI_CTL_DLEN (_ADI_MSK(0x00070000,uint32_t)) /* Data Length */
-#define ENUM_EPPI_CTL_DLEN08 (_ADI_MSK(0x00000000,uint32_t)) /* DLEN: 8 bits */
-#define ENUM_EPPI_CTL_DLEN10 (_ADI_MSK(0x00010000,uint32_t)) /* DLEN: 10 bits */
-#define ENUM_EPPI_CTL_DLEN12 (_ADI_MSK(0x00020000,uint32_t)) /* DLEN: 12 bits */
-#define ENUM_EPPI_CTL_DLEN14 (_ADI_MSK(0x00030000,uint32_t)) /* DLEN: 14 bits */
-#define ENUM_EPPI_CTL_DLEN16 (_ADI_MSK(0x00040000,uint32_t)) /* DLEN: 16 bits */
-#define ENUM_EPPI_CTL_DLEN18 (_ADI_MSK(0x00050000,uint32_t)) /* DLEN: 18 bits */
-#define ENUM_EPPI_CTL_DLEN20 (_ADI_MSK(0x00060000,uint32_t)) /* DLEN: 20 bits */
-#define ENUM_EPPI_CTL_DLEN24 (_ADI_MSK(0x00070000,uint32_t)) /* DLEN: 24 bits */
-
-#define BITM_EPPI_CTL_POLS (_ADI_MSK(0x0000C000,uint32_t)) /* Frame Sync Polarity */
-#define ENUM_EPPI_CTL_FS1HI_FS2HI (_ADI_MSK(0x00000000,uint32_t)) /* POLS: FS1 and FS2 are active high */
-#define ENUM_EPPI_CTL_FS1LO_FS2HI (_ADI_MSK(0x00004000,uint32_t)) /* POLS: FS1 is active low. FS2 is active high */
-#define ENUM_EPPI_CTL_FS1HI_FS2LO (_ADI_MSK(0x00008000,uint32_t)) /* POLS: FS1 is active high. FS2 is active low */
-#define ENUM_EPPI_CTL_FS1LO_FS2LO (_ADI_MSK(0x0000C000,uint32_t)) /* POLS: FS1 and FS2 are active low */
-
-#define BITM_EPPI_CTL_POLC (_ADI_MSK(0x00003000,uint32_t)) /* Clock Polarity */
-#define ENUM_EPPI_CTL_POLC00 (_ADI_MSK(0x00000000,uint32_t)) /* POLC: Clock/Sync polarity mode 0 */
-#define ENUM_EPPI_CTL_POLC01 (_ADI_MSK(0x00001000,uint32_t)) /* POLC: Clock/Sync polarity mode 1 */
-#define ENUM_EPPI_CTL_POLC10 (_ADI_MSK(0x00002000,uint32_t)) /* POLC: Clock/Sync polarity mode 2 */
-#define ENUM_EPPI_CTL_POLC11 (_ADI_MSK(0x00003000,uint32_t)) /* POLC: Clock/Sync polarity mode 3 */
-
-#define BITM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* Sign Extension */
-#define ENUM_EPPI_CTL_ZEROFILL (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Filled */
-#define ENUM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* SIGNEXT: Sign Extended */
-
-#define BITM_EPPI_CTL_IFSGEN (_ADI_MSK(0x00000400,uint32_t)) /* Internal Frame Sync Generation */
-#define ENUM_EPPI_CTL_EXTFS (_ADI_MSK(0x00000000,uint32_t)) /* IFSGEN: External Frame Sync */
-#define ENUM_EPPI_CTL_INTFS (_ADI_MSK(0x00000400,uint32_t)) /* IFSGEN: Internal Frame Sync */
-
-#define BITM_EPPI_CTL_ICLKGEN (_ADI_MSK(0x00000200,uint32_t)) /* Internal Clock Generation */
-#define ENUM_EPPI_CTL_EXTCLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLKGEN: External Clock */
-#define ENUM_EPPI_CTL_INTCLK (_ADI_MSK(0x00000200,uint32_t)) /* ICLKGEN: Internal Clock */
-
-#define BITM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* king Generation (ITU Output Mode) */
-#define ENUM_EPPI_CTL_NO_BLANKGEN (_ADI_MSK(0x00000000,uint32_t)) /* BLANKGEN: Disable */
-#define ENUM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* BLANKGEN: Enable */
-
-#define BITM_EPPI_CTL_ITUTYPE (_ADI_MSK(0x00000080,uint32_t)) /* ITU Interlace or Progressive */
-#define ENUM_EPPI_CTL_INTERLACED (_ADI_MSK(0x00000000,uint32_t)) /* ITUTYPE: Interlaced */
-#define ENUM_EPPI_CTL_PROGRESSIVE (_ADI_MSK(0x00000080,uint32_t)) /* ITUTYPE: Progressive */
-
-#define BITM_EPPI_CTL_FLDSEL (_ADI_MSK(0x00000040,uint32_t)) /* Field Select/Trigger */
-#define ENUM_EPPI_CTL_FLDSEL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FLDSEL: Field Mode 0 */
-#define ENUM_EPPI_CTL_FLDSEL_HI (_ADI_MSK(0x00000040,uint32_t)) /* FLDSEL: Field Mode 1 */
-
-#define BITM_EPPI_CTL_FSCFG (_ADI_MSK(0x00000030,uint32_t)) /* Frame Sync Configuration */
-#define ENUM_EPPI_CTL_SYNC0 (_ADI_MSK(0x00000000,uint32_t)) /* FSCFG: Sync Mode 0 */
-#define ENUM_EPPI_CTL_SYNC1 (_ADI_MSK(0x00000010,uint32_t)) /* FSCFG: Sync Mode 1 */
-#define ENUM_EPPI_CTL_SYNC2 (_ADI_MSK(0x00000020,uint32_t)) /* FSCFG: Sync Mode 2 */
-#define ENUM_EPPI_CTL_SYNC3 (_ADI_MSK(0x00000030,uint32_t)) /* FSCFG: Sync Mode 3 */
-
-#define BITM_EPPI_CTL_XFRTYPE (_ADI_MSK(0x0000000C,uint32_t)) /* Transfer Type ( Operating Mode) */
-#define ENUM_EPPI_CTL_ACTIVE656 (_ADI_MSK(0x00000000,uint32_t)) /* XFRTYPE: ITU656 Active Video Only Mode */
-#define ENUM_EPPI_CTL_ENTIRE656 (_ADI_MSK(0x00000004,uint32_t)) /* XFRTYPE: ITU656 Entire Field Mode */
-#define ENUM_EPPI_CTL_VERT656 (_ADI_MSK(0x00000008,uint32_t)) /* XFRTYPE: ITU656 Vertical Blanking Only Mode */
-#define ENUM_EPPI_CTL_NON656 (_ADI_MSK(0x0000000C,uint32_t)) /* XFRTYPE: Non-ITU656 Mode (GP Mode) */
-
-#define BITM_EPPI_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* PPI Direction */
-#define ENUM_EPPI_CTL_RXMODE (_ADI_MSK(0x00000000,uint32_t)) /* DIR: Receive Mode */
-#define ENUM_EPPI_CTL_TXMODE (_ADI_MSK(0x00000002,uint32_t)) /* DIR: Transmit Mode */
-
-#define BITM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* PPI Enable */
-#define ENUM_EPPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_WLVB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_WLVB_F2VBAD 24 /* Field 2 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F2VBBD 16 /* Field 2 Vertical Blanking Before Data */
-#define BITP_EPPI_FS2_WLVB_F1VBAD 8 /* Field 1 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F1VBBD 0 /* Field 1 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F2VBAD (_ADI_MSK(0xFF000000,uint32_t)) /* Field 2 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F2VBBD (_ADI_MSK(0x00FF0000,uint32_t)) /* Field 2 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F1VBAD (_ADI_MSK(0x0000FF00,uint32_t)) /* Field 1 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F1VBBD (_ADI_MSK(0x000000FF,uint32_t)) /* Field 1 Vertical Blanking Before Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_PALPF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_PALPF_F2ACT 16 /* Field 2 Active */
-#define BITP_EPPI_FS2_PALPF_F1ACT 0 /* Field 1 Active */
-#define BITM_EPPI_FS2_PALPF_F2ACT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Field 2 Active */
-#define BITM_EPPI_FS2_PALPF_F1ACT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Field 1 Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_IMSK_PXPERR 7 /* PxP Ready Error Interrupt Mask */
-#define BITP_EPPI_IMSK_ERRNCOR 6 /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERRUNDR 5 /* Frame Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERROVR 4 /* Frame Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERRUNDR 3 /* Line Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERROVR 2 /* Line Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_YFIFOERR 1 /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_CFIFOERR 0 /* CFIFO Underflow or Overflow Error Interrupt Mask */
-
-#define BITM_EPPI_IMSK_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_PXPERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* PXPERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_PXPERR_MSK (_ADI_MSK(0x00000080,uint32_t)) /* PXPERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define ENUM_EPPI_IMSK_ERRNCOR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_ERRNCOR_MSK (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERRUNDR_MSK (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERROVR_MSK (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERRUNDR_MSK (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERROVR_MSK (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_YFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_YFIFOERR_MSK (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_CFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_CFIFOERR_MSK (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Mask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_ODDCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_ODDCLIP_HIGHODD 16 /* High Odd Clipping Threshold (Chroma Data) */
-#define BITP_EPPI_ODDCLIP_LOWODD 0 /* Low Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_HIGHODD (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_LOWODD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Odd Clipping Threshold (Chroma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_EVENCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_EVENCLIP_HIGHEVEN 16 /* High Even Clipping Threshold (Luma Data) */
-#define BITP_EPPI_EVENCLIP_LOWEVEN 0 /* Low Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_HIGHEVEN (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_LOWEVEN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Even Clipping Threshold (Luma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL2_FS1FINEN 1 /* HSYNC Finish Enable */
-
-#define BITM_EPPI_CTL2_FS1FINEN (_ADI_MSK(0x00000002,uint32_t)) /* HSYNC Finish Enable */
-#define ENUM_EPPI_CTL2_FS2FIN_EN (_ADI_MSK(0x00000000,uint32_t)) /* FS1FINEN: Finish sent after frame RX done */
-#define ENUM_EPPI_CTL2_FS1FIN_EN (_ADI_MSK(0x00000002,uint32_t)) /* FS1FINEN: Finish sent after frame/line RX done */
-
-/* ==================================================
- Pixel Compositor Registers
- ================================================== */
-
-/* =========================
- PIXC0
- ========================= */
-#define REG_PIXC0_CTL 0xFFC19000 /* PIXC0 Control Register */
-#define REG_PIXC0_PPL 0xFFC19004 /* PIXC0 Pixels Per Line Register */
-#define REG_PIXC0_LPF 0xFFC19008 /* PIXC0 Line Per Frame Register */
-#define REG_PIXC0_HSTART_A 0xFFC1900C /* PIXC0 Overlay A Horizontal Start Register */
-#define REG_PIXC0_HEND_A 0xFFC19010 /* PIXC0 Overlay A Horizontal End Register */
-#define REG_PIXC0_VSTART_A 0xFFC19014 /* PIXC0 Overlay A Vertical Start Register */
-#define REG_PIXC0_VEND_A 0xFFC19018 /* PIXC0 Overlay A Vertical End Register */
-#define REG_PIXC0_TRANSP_A 0xFFC1901C /* PIXC0 Overlay A Transparency Ratio Register */
-#define REG_PIXC0_HSTART_B 0xFFC19020 /* PIXC0 Overlay B Horizontal Start Register */
-#define REG_PIXC0_HEND_B 0xFFC19024 /* PIXC0 Overlay B Horizontal End Register */
-#define REG_PIXC0_VSTART_B 0xFFC19028 /* PIXC0 Overlay B Vertical Start Register */
-#define REG_PIXC0_VEND_B 0xFFC1902C /* PIXC0 Overlay B Vertical End Register */
-#define REG_PIXC0_TRANSP_B 0xFFC19030 /* PIXC0 Overlay B Transparency Ratio Register */
-#define REG_PIXC0_IRQSTAT 0xFFC1903C /* PIXC0 Interrupt Status Register */
-#define REG_PIXC0_CONRY 0xFFC19040 /* PIXC0 RY Conversion Component Register */
-#define REG_PIXC0_CONGU 0xFFC19044 /* PIXC0 GU Conversion Component Register */
-#define REG_PIXC0_CONBV 0xFFC19048 /* PIXC0 BV Conversion Component Register */
-#define REG_PIXC0_CCBIAS 0xFFC1904C /* PIXC0 Conversion Bias Register */
-#define REG_PIXC0_TC 0xFFC19050 /* PIXC0 Transparency Color Register */
-#define REG_PIXC0_REVID 0xFFC19054 /* PIXC0 Revision Id */
-
-/* =========================
- PIXC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CTL_ORGBFRMT 10 /* Output RGB Data Format */
-#define BITP_PIXC_CTL_IRGBFRMT 8 /* Input Image Channel RGB Data Format */
-#define BITP_PIXC_CTL_ENTC 7 /* Enable Transparent Color */
-#define BITP_PIXC_CTL_UDSMOD 6 /* Up/Down Sampling Mode */
-#define BITP_PIXC_CTL_OUTFRMT 5 /* Output Data Format */
-#define BITP_PIXC_CTL_OVFRMT 4 /* Overlay Data Format */
-#define BITP_PIXC_CTL_IFRMT 3 /* Image Data Format */
-#define BITP_PIXC_CTL_OVENB 2 /* Overlay Block B Enable */
-#define BITP_PIXC_CTL_OVENA 1 /* Overlay Block A Enable */
-#define BITP_PIXC_CTL_EN 0 /* Overlay Manager enable (module enable) */
-#define BITM_PIXC_CTL_ORGBFRMT (_ADI_MSK(0x00000C00,uint32_t)) /* Output RGB Data Format */
-#define BITM_PIXC_CTL_IRGBFRMT (_ADI_MSK(0x00000300,uint32_t)) /* Input Image Channel RGB Data Format */
-#define BITM_PIXC_CTL_ENTC (_ADI_MSK(0x00000080,uint32_t)) /* Enable Transparent Color */
-#define BITM_PIXC_CTL_UDSMOD (_ADI_MSK(0x00000040,uint32_t)) /* Up/Down Sampling Mode */
-#define BITM_PIXC_CTL_OUTFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Output Data Format */
-#define BITM_PIXC_CTL_OVFRMT (_ADI_MSK(0x00000010,uint32_t)) /* Overlay Data Format */
-#define BITM_PIXC_CTL_IFRMT (_ADI_MSK(0x00000008,uint32_t)) /* Image Data Format */
-#define BITM_PIXC_CTL_OVENB (_ADI_MSK(0x00000004,uint32_t)) /* Overlay Block B Enable */
-#define BITM_PIXC_CTL_OVENA (_ADI_MSK(0x00000002,uint32_t)) /* Overlay Block A Enable */
-#define BITM_PIXC_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Overlay Manager enable (module enable) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TRANSP_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TRANSP_A_VALUE 0 /* Overlay Transparency Ratio Values */
-#define BITM_PIXC_TRANSP_A_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* Overlay Transparency Ratio Values */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TRANSP_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TRANSP_B_VALUE 0 /* Overlay Transparency Ratio Values */
-#define BITM_PIXC_TRANSP_B_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* Overlay Transparency Ratio Values */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_IRQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_IRQSTAT_FRMSTAT 3 /* Frame Interrupt Status */
-#define BITP_PIXC_IRQSTAT_OVSTAT 2 /* Overlay Interrupt Status */
-#define BITP_PIXC_IRQSTAT_FRMEN 1 /* Frame Interrupt Enable */
-#define BITP_PIXC_IRQSTAT_OVEN 0 /* Overlay Interrupt Enable */
-#define BITM_PIXC_IRQSTAT_FRMSTAT (_ADI_MSK(0x00000008,uint16_t)) /* Frame Interrupt Status */
-#define BITM_PIXC_IRQSTAT_OVSTAT (_ADI_MSK(0x00000004,uint16_t)) /* Overlay Interrupt Status */
-#define BITM_PIXC_IRQSTAT_FRMEN (_ADI_MSK(0x00000002,uint16_t)) /* Frame Interrupt Enable */
-#define BITM_PIXC_IRQSTAT_OVEN (_ADI_MSK(0x00000001,uint16_t)) /* Overlay Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONRY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONRY_RYMULT4 30 /* Multiply the Row by 4 */
-#define BITP_PIXC_CONRY_A13 20 /* A13 element in the coefficient matrix */
-#define BITP_PIXC_CONRY_A12 10 /* A12 element in the coefficient matrix */
-#define BITP_PIXC_CONRY_A11 0 /* A11 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_RYMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply the Row by 4 */
-#define BITM_PIXC_CONRY_A13 (_ADI_MSK(0x3FF00000,uint32_t)) /* A13 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_A12 (_ADI_MSK(0x000FFC00,uint32_t)) /* A12 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_A11 (_ADI_MSK(0x000003FF,uint32_t)) /* A11 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONGU Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONGU_GUMULT4 30 /* Multiply The Row By 4 */
-#define BITP_PIXC_CONGU_A23 20 /* A23 element in the coefficient matrix */
-#define BITP_PIXC_CONGU_A22 10 /* A22 element in the coefficient matrix */
-#define BITP_PIXC_CONGU_A21 0 /* A21 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_GUMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply The Row By 4 */
-#define BITM_PIXC_CONGU_A23 (_ADI_MSK(0x3FF00000,uint32_t)) /* A23 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_A22 (_ADI_MSK(0x000FFC00,uint32_t)) /* A22 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_A21 (_ADI_MSK(0x000003FF,uint32_t)) /* A21 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONBV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONBV_BVMULT4 30 /* Multiply The Row By 4 */
-#define BITP_PIXC_CONBV_A33 20 /* A33 element in the coefficient matrix */
-#define BITP_PIXC_CONBV_A32 10 /* A32 element in the coefficient matrix */
-#define BITP_PIXC_CONBV_A31 0 /* A31 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_BVMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply The Row By 4 */
-#define BITM_PIXC_CONBV_A33 (_ADI_MSK(0x3FF00000,uint32_t)) /* A33 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_A32 (_ADI_MSK(0x000FFC00,uint32_t)) /* A32 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_A31 (_ADI_MSK(0x000003FF,uint32_t)) /* A31 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CCBIAS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CCBIAS_A34 20 /* A34 in bias vector */
-#define BITP_PIXC_CCBIAS_A24 10 /* A24 in bias vector */
-#define BITP_PIXC_CCBIAS_A14 0 /* A14 in bias vector */
-#define BITM_PIXC_CCBIAS_A34 (_ADI_MSK(0x3FF00000,uint32_t)) /* A34 in bias vector */
-#define BITM_PIXC_CCBIAS_A24 (_ADI_MSK(0x000FFC00,uint32_t)) /* A24 in bias vector */
-#define BITM_PIXC_CCBIAS_A14 (_ADI_MSK(0x000003FF,uint32_t)) /* A14 in bias vector */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TC_BVT 16 /* Trans. color - B/V component */
-#define BITP_PIXC_TC_GUT 8 /* Trans. color - G/U component */
-#define BITP_PIXC_TC_RYT 0 /* Trans. color - R/Y component */
-#define BITM_PIXC_TC_BVT (_ADI_MSK(0x00FF0000,uint32_t)) /* Trans. color - B/V component */
-#define BITM_PIXC_TC_GUT (_ADI_MSK(0x0000FF00,uint32_t)) /* Trans. color - G/U component */
-#define BITM_PIXC_TC_RYT (_ADI_MSK(0x000000FF,uint32_t)) /* Trans. color - R/Y component */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_PIXC_REVID_REV 0 /* Incremental Version ID */
-#define BITM_PIXC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_PIXC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ==================================================
- PVP Registers
- ================================================== */
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP Block level enums
- ------------------------------------------------------------------------------------------------------------------------ */
-#define ENUM_PVP_GCFG 0x00 /* PVP Block ID Code for GCFG */
-#define ENUM_PVP_OPF0 0x01 /* PVP Block ID Code for OPF0 */
-#define ENUM_PVP_OPF1 0x02 /* PVP Block ID Code for OPF1 */
-#define ENUM_PVP_OPF2 0x03 /* PVP Block ID Code for OPF2 */
-#define ENUM_PVP_OPF3 0x04 /* PVP Block ID Code for OPF3 */
-#define ENUM_PVP_PEC 0x05 /* PVP Block ID Code for PEC */
-#define ENUM_PVP_IIM0 0x06 /* PVP Block ID Code for IIM0 */
-#define ENUM_PVP_IIM1 0x07 /* PVP Block ID Code for IIM1 */
-#define ENUM_PVP_ACU 0x08 /* PVP Block ID Code for ACU */
-#define ENUM_PVP_UDS 0x0A /* PVP Block ID Code for UDS */
-#define ENUM_PVP_IPF0 0x0C /* PVP Block ID Code for IPF0 */
-#define ENUM_PVP_IPF1 0x0E /* PVP Block ID Code for IPF1 */
-#define ENUM_PVP_CNV0 0x10 /* PVP Block ID Code for CNV0 */
-#define ENUM_PVP_CNV1 0x14 /* PVP Block ID Code for CNV1 */
-#define ENUM_PVP_CNV2 0x18 /* PVP Block ID Code for CNV2 */
-#define ENUM_PVP_CNV3 0x1C /* PVP Block ID Code for CNV3 */
-#define ENUM_PVP_THC0 0x20 /* PVP Block ID Code for THC0 */
-#define ENUM_PVP_THC1 0x28 /* PVP Block ID Code for THC1 */
-#define ENUM_PVP_PMA 0x30 /* PVP Block ID Code for PMA */
-
-/* =========================
- PVP0
- ========================= */
-#define REG_PVP0_REVID 0xFFC1A000 /* PVP0 Revision ID */
-#define REG_PVP0_CTL 0xFFC1A004 /* PVP0 Control */
-#define REG_PVP0_IMSK0 0xFFC1A008 /* PVP0 Interrupt Mask n */
-#define REG_PVP0_IMSK1 0xFFC1A00C /* PVP0 Interrupt Mask n */
-#define REG_PVP0_STAT 0xFFC1A010 /* PVP0 Status */
-#define REG_PVP0_ILAT 0xFFC1A014 /* PVP0 Interrupt Latch Status n */
-#define REG_PVP0_IREQ0 0xFFC1A018 /* PVP0 Interrupt Request n */
-#define REG_PVP0_IREQ1 0xFFC1A01C /* PVP0 Interrupt Request n */
-#define REG_PVP0_OPF0_CFG 0xFFC1A020 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF1_CFG 0xFFC1A040 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF2_CFG 0xFFC1A060 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF0_CTL 0xFFC1A024 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF1_CTL 0xFFC1A044 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF2_CTL 0xFFC1A064 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF3_CFG 0xFFC1A080 /* PVP0 OPF3 (Memory Pipe) Configuration */
-#define REG_PVP0_OPF3_CTL 0xFFC1A084 /* PVP0 OPF3 (Memory Pipe) Control */
-#define REG_PVP0_PEC_CFG 0xFFC1A0A0 /* PVP0 PEC Configuration */
-#define REG_PVP0_PEC_CTL 0xFFC1A0A4 /* PVP0 PEC Control */
-#define REG_PVP0_PEC_D1TH0 0xFFC1A0A8 /* PVP0 PEC Lower Hysteresis Threshold */
-#define REG_PVP0_PEC_D1TH1 0xFFC1A0AC /* PVP0 PEC Upper Hysteresis Threshold */
-#define REG_PVP0_PEC_D2TH0 0xFFC1A0B0 /* PVP0 PEC Weak Zero Crossing Threshold */
-#define REG_PVP0_PEC_D2TH1 0xFFC1A0B4 /* PVP0 PEC Strong Zero Crossing Threshold */
-#define REG_PVP0_IIM0_CFG 0xFFC1A0C0 /* PVP0 IIMn Configuration */
-#define REG_PVP0_IIM1_CFG 0xFFC1A0E0 /* PVP0 IIMn Configuration */
-#define REG_PVP0_IIM0_CTL 0xFFC1A0C4 /* PVP0 IIMn Control */
-#define REG_PVP0_IIM1_CTL 0xFFC1A0E4 /* PVP0 IIMn Control */
-#define REG_PVP0_IIM0_SCALE 0xFFC1A0C8 /* PVP0 IIMn Scaling Values */
-#define REG_PVP0_IIM1_SCALE 0xFFC1A0E8 /* PVP0 IIMn Scaling Values */
-#define REG_PVP0_IIM0_SOVF_STAT 0xFFC1A0CC /* PVP0 IIMn Signed Overflow Status */
-#define REG_PVP0_IIM1_SOVF_STAT 0xFFC1A0EC /* PVP0 IIMn Signed Overflow Status */
-#define REG_PVP0_IIM0_UOVF_STAT 0xFFC1A0D0 /* PVP0 IIMn Unsigned Overflow Status */
-#define REG_PVP0_IIM1_UOVF_STAT 0xFFC1A0F0 /* PVP0 IIMn Unsigned Overflow Status */
-#define REG_PVP0_ACU_CFG 0xFFC1A100 /* PVP0 ACU Configuration */
-#define REG_PVP0_ACU_CTL 0xFFC1A104 /* PVP0 ACU Control */
-#define REG_PVP0_ACU_OFFSET 0xFFC1A108 /* PVP0 ACU SUM Constant */
-#define REG_PVP0_ACU_FACTOR 0xFFC1A10C /* PVP0 ACU PROD Constant */
-#define REG_PVP0_ACU_SHIFT 0xFFC1A110 /* PVP0 ACU Shift Constant */
-#define REG_PVP0_ACU_MIN 0xFFC1A114 /* PVP0 ACU Lower Sat Threshold Min */
-#define REG_PVP0_ACU_MAX 0xFFC1A118 /* PVP0 ACU Upper Sat Threshold Max */
-#define REG_PVP0_UDS_CFG 0xFFC1A140 /* PVP0 UDS Configuration */
-#define REG_PVP0_UDS_CTL 0xFFC1A144 /* PVP0 UDS Control */
-#define REG_PVP0_UDS_OHCNT 0xFFC1A148 /* PVP0 UDS Output HCNT */
-#define REG_PVP0_UDS_OVCNT 0xFFC1A14C /* PVP0 UDS Output VCNT */
-#define REG_PVP0_UDS_HAVG 0xFFC1A150 /* PVP0 UDS HAVG */
-#define REG_PVP0_UDS_VAVG 0xFFC1A154 /* PVP0 UDS VAVG */
-#define REG_PVP0_IPF0_CFG 0xFFC1A180 /* PVP0 IPF0 (Camera Pipe) Configuration */
-#define REG_PVP0_IPF0_PIPECTL 0xFFC1A184 /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define REG_PVP0_IPF1_PIPECTL 0xFFC1A1C4 /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define REG_PVP0_IPF0_CTL 0xFFC1A188 /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define REG_PVP0_IPF1_CTL 0xFFC1A1C8 /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define REG_PVP0_IPF0_TAG 0xFFC1A18C /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define REG_PVP0_IPF1_TAG 0xFFC1A1CC /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define REG_PVP0_IPF0_FCNT 0xFFC1A190 /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define REG_PVP0_IPF1_FCNT 0xFFC1A1D0 /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define REG_PVP0_IPF0_HCNT 0xFFC1A194 /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define REG_PVP0_IPF1_HCNT 0xFFC1A1D4 /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define REG_PVP0_IPF0_VCNT 0xFFC1A198 /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define REG_PVP0_IPF1_VCNT 0xFFC1A1D8 /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define REG_PVP0_IPF0_HPOS 0xFFC1A19C /* PVP0 IPF0 (Camera Pipe) Horizontal Position */
-#define REG_PVP0_IPF0_VPOS 0xFFC1A1A0 /* PVP0 IPF0 (Camera Pipe) Vertical Position */
-#define REG_PVP0_IPF0_TAG_STAT 0xFFC1A1A4 /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define REG_PVP0_IPF1_TAG_STAT 0xFFC1A1E4 /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define REG_PVP0_IPF1_CFG 0xFFC1A1C0 /* PVP0 IPF1 (Memory Pipe) Configuration */
-#define REG_PVP0_CNV0_CFG 0xFFC1A200 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV1_CFG 0xFFC1A280 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV2_CFG 0xFFC1A300 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV3_CFG 0xFFC1A380 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV0_CTL 0xFFC1A204 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV1_CTL 0xFFC1A284 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV2_CTL 0xFFC1A304 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV3_CTL 0xFFC1A384 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV0_C00C01 0xFFC1A208 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV1_C00C01 0xFFC1A288 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV2_C00C01 0xFFC1A308 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV3_C00C01 0xFFC1A388 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV0_C02C03 0xFFC1A20C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV1_C02C03 0xFFC1A28C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV2_C02C03 0xFFC1A30C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV3_C02C03 0xFFC1A38C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV0_C04 0xFFC1A210 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV1_C04 0xFFC1A290 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV2_C04 0xFFC1A310 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV3_C04 0xFFC1A390 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV0_C10C11 0xFFC1A214 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV1_C10C11 0xFFC1A294 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV2_C10C11 0xFFC1A314 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV3_C10C11 0xFFC1A394 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV0_C12C13 0xFFC1A218 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV1_C12C13 0xFFC1A298 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV2_C12C13 0xFFC1A318 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV3_C12C13 0xFFC1A398 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV0_C14 0xFFC1A21C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV1_C14 0xFFC1A29C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV2_C14 0xFFC1A31C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV3_C14 0xFFC1A39C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV0_C20C21 0xFFC1A220 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV1_C20C21 0xFFC1A2A0 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV2_C20C21 0xFFC1A320 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV3_C20C21 0xFFC1A3A0 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV0_C22C23 0xFFC1A224 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV1_C22C23 0xFFC1A2A4 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV2_C22C23 0xFFC1A324 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV3_C22C23 0xFFC1A3A4 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV0_C24 0xFFC1A228 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV1_C24 0xFFC1A2A8 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV2_C24 0xFFC1A328 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV3_C24 0xFFC1A3A8 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV0_C30C31 0xFFC1A22C /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV1_C30C31 0xFFC1A2AC /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV2_C30C31 0xFFC1A32C /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV3_C30C31 0xFFC1A3AC /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV0_C32C33 0xFFC1A230 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV1_C32C33 0xFFC1A2B0 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV2_C32C33 0xFFC1A330 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV3_C32C33 0xFFC1A3B0 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV0_C34 0xFFC1A234 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV1_C34 0xFFC1A2B4 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV2_C34 0xFFC1A334 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV3_C34 0xFFC1A3B4 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV0_C40C41 0xFFC1A238 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV1_C40C41 0xFFC1A2B8 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV2_C40C41 0xFFC1A338 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV3_C40C41 0xFFC1A3B8 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV0_C42C43 0xFFC1A23C /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV1_C42C43 0xFFC1A2BC /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV2_C42C43 0xFFC1A33C /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV3_C42C43 0xFFC1A3BC /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV0_C44 0xFFC1A240 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV1_C44 0xFFC1A2C0 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV2_C44 0xFFC1A340 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV3_C44 0xFFC1A3C0 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV0_SCALE 0xFFC1A244 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV1_SCALE 0xFFC1A2C4 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV2_SCALE 0xFFC1A344 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV3_SCALE 0xFFC1A3C4 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_THC0_CFG 0xFFC1A400 /* PVP0 THCn Configuration */
-#define REG_PVP0_THC1_CFG 0xFFC1A500 /* PVP0 THCn Configuration */
-#define REG_PVP0_THC0_CTL 0xFFC1A404 /* PVP0 THCn Control */
-#define REG_PVP0_THC1_CTL 0xFFC1A504 /* PVP0 THCn Control */
-#define REG_PVP0_THC0_HFCNT 0xFFC1A408 /* PVP0 THCn Histogram Frame Count */
-#define REG_PVP0_THC1_HFCNT 0xFFC1A508 /* PVP0 THCn Histogram Frame Count */
-#define REG_PVP0_THC0_RMAXREP 0xFFC1A40C /* PVP0 THCn Max RLE Reports */
-#define REG_PVP0_THC1_RMAXREP 0xFFC1A50C /* PVP0 THCn Max RLE Reports */
-#define REG_PVP0_THC0_CMINVAL 0xFFC1A410 /* PVP0 THCn Min Clip Value */
-#define REG_PVP0_THC1_CMINVAL 0xFFC1A510 /* PVP0 THCn Min Clip Value */
-#define REG_PVP0_THC0_CMINTH 0xFFC1A414 /* PVP0 THCn Clip Min Threshold */
-#define REG_PVP0_THC1_CMINTH 0xFFC1A514 /* PVP0 THCn Clip Min Threshold */
-#define REG_PVP0_THC0_CMAXTH 0xFFC1A418 /* PVP0 THCn Clip Max Threshold */
-#define REG_PVP0_THC1_CMAXTH 0xFFC1A518 /* PVP0 THCn Clip Max Threshold */
-#define REG_PVP0_THC0_CMAXVAL 0xFFC1A41C /* PVP0 THCn Max Clip Value */
-#define REG_PVP0_THC1_CMAXVAL 0xFFC1A51C /* PVP0 THCn Max Clip Value */
-#define REG_PVP0_THC0_TH0 0xFFC1A420 /* PVP0 THCn Threshold Value 0 */
-#define REG_PVP0_THC1_TH0 0xFFC1A520 /* PVP0 THCn Threshold Value 0 */
-#define REG_PVP0_THC0_TH1 0xFFC1A424 /* PVP0 THCn Threshold Value 1 */
-#define REG_PVP0_THC1_TH1 0xFFC1A524 /* PVP0 THCn Threshold Value 1 */
-#define REG_PVP0_THC0_TH2 0xFFC1A428 /* PVP0 THCn Threshold Value 2 */
-#define REG_PVP0_THC1_TH2 0xFFC1A528 /* PVP0 THCn Threshold Value 2 */
-#define REG_PVP0_THC0_TH3 0xFFC1A42C /* PVP0 THCn Threshold Value 3 */
-#define REG_PVP0_THC1_TH3 0xFFC1A52C /* PVP0 THCn Threshold Value 3 */
-#define REG_PVP0_THC0_TH4 0xFFC1A430 /* PVP0 THCn Threshold Value 4 */
-#define REG_PVP0_THC1_TH4 0xFFC1A530 /* PVP0 THCn Threshold Value 4 */
-#define REG_PVP0_THC0_TH5 0xFFC1A434 /* PVP0 THCn Threshold Value 5 */
-#define REG_PVP0_THC1_TH5 0xFFC1A534 /* PVP0 THCn Threshold Value 5 */
-#define REG_PVP0_THC0_TH6 0xFFC1A438 /* PVP0 THCn Threshold Value 6 */
-#define REG_PVP0_THC1_TH6 0xFFC1A538 /* PVP0 THCn Threshold Value 6 */
-#define REG_PVP0_THC0_TH7 0xFFC1A43C /* PVP0 THCn Threshold Value 7 */
-#define REG_PVP0_THC1_TH7 0xFFC1A53C /* PVP0 THCn Threshold Value 7 */
-#define REG_PVP0_THC0_TH8 0xFFC1A440 /* PVP0 THCn Threshold Value 8 */
-#define REG_PVP0_THC1_TH8 0xFFC1A540 /* PVP0 THCn Threshold Value 8 */
-#define REG_PVP0_THC0_TH9 0xFFC1A444 /* PVP0 THCn Threshold Value 9 */
-#define REG_PVP0_THC1_TH9 0xFFC1A544 /* PVP0 THCn Threshold Value 9 */
-#define REG_PVP0_THC0_TH10 0xFFC1A448 /* PVP0 THCn Threshold Value 10 */
-#define REG_PVP0_THC1_TH10 0xFFC1A548 /* PVP0 THCn Threshold Value 10 */
-#define REG_PVP0_THC0_TH11 0xFFC1A44C /* PVP0 THCn Threshold Value 11 */
-#define REG_PVP0_THC1_TH11 0xFFC1A54C /* PVP0 THCn Threshold Value 11 */
-#define REG_PVP0_THC0_TH12 0xFFC1A450 /* PVP0 THCn Threshold Value 12 */
-#define REG_PVP0_THC1_TH12 0xFFC1A550 /* PVP0 THCn Threshold Value 12 */
-#define REG_PVP0_THC0_TH13 0xFFC1A454 /* PVP0 THCn Threshold Value 13 */
-#define REG_PVP0_THC1_TH13 0xFFC1A554 /* PVP0 THCn Threshold Value 13 */
-#define REG_PVP0_THC0_TH14 0xFFC1A458 /* PVP0 THCn Threshold Value 14 */
-#define REG_PVP0_THC1_TH14 0xFFC1A558 /* PVP0 THCn Threshold Value 14 */
-#define REG_PVP0_THC0_TH15 0xFFC1A45C /* PVP0 THCn Threshold Value 15 */
-#define REG_PVP0_THC1_TH15 0xFFC1A55C /* PVP0 THCn Threshold Value 15 */
-#define REG_PVP0_THC0_HHPOS 0xFFC1A460 /* PVP0 THCn Histogram Horzontal Position */
-#define REG_PVP0_THC1_HHPOS 0xFFC1A560 /* PVP0 THCn Histogram Horzontal Position */
-#define REG_PVP0_THC0_HVPOS 0xFFC1A464 /* PVP0 THCn Histogram Vertical Position */
-#define REG_PVP0_THC1_HVPOS 0xFFC1A564 /* PVP0 THCn Histogram Vertical Position */
-#define REG_PVP0_THC0_HHCNT 0xFFC1A468 /* PVP0 THCn Histogram Horizontal Count */
-#define REG_PVP0_THC1_HHCNT 0xFFC1A568 /* PVP0 THCn Histogram Horizontal Count */
-#define REG_PVP0_THC0_HVCNT 0xFFC1A46C /* PVP0 THCn Histogram Vertical Count */
-#define REG_PVP0_THC1_HVCNT 0xFFC1A56C /* PVP0 THCn Histogram Vertical Count */
-#define REG_PVP0_THC0_RHPOS 0xFFC1A470 /* PVP0 THCn RLE Horizontal Position */
-#define REG_PVP0_THC1_RHPOS 0xFFC1A570 /* PVP0 THCn RLE Horizontal Position */
-#define REG_PVP0_THC0_RVPOS 0xFFC1A474 /* PVP0 THCn RLE Vertical Position */
-#define REG_PVP0_THC1_RVPOS 0xFFC1A574 /* PVP0 THCn RLE Vertical Position */
-#define REG_PVP0_THC0_RHCNT 0xFFC1A478 /* PVP0 THCn RLE Horizontal Count */
-#define REG_PVP0_THC1_RHCNT 0xFFC1A578 /* PVP0 THCn RLE Horizontal Count */
-#define REG_PVP0_THC0_RVCNT 0xFFC1A47C /* PVP0 THCn RLE Vertical Count */
-#define REG_PVP0_THC1_RVCNT 0xFFC1A57C /* PVP0 THCn RLE Vertical Count */
-#define REG_PVP0_THC0_HFCNT_STAT 0xFFC1A480 /* PVP0 THCn Histogram Frame Count Status */
-#define REG_PVP0_THC1_HFCNT_STAT 0xFFC1A580 /* PVP0 THCn Histogram Frame Count Status */
-#define REG_PVP0_THC0_HCNT0_STAT 0xFFC1A484 /* PVP0 THCn Histogram Counter Value 0 */
-#define REG_PVP0_THC1_HCNT0_STAT 0xFFC1A584 /* PVP0 THCn Histogram Counter Value 0 */
-#define REG_PVP0_THC0_HCNT1_STAT 0xFFC1A488 /* PVP0 THCn Histogram Counter Value 1 */
-#define REG_PVP0_THC1_HCNT1_STAT 0xFFC1A588 /* PVP0 THCn Histogram Counter Value 1 */
-#define REG_PVP0_THC0_HCNT2_STAT 0xFFC1A48C /* PVP0 THCn Histogram Counter Value 2 */
-#define REG_PVP0_THC1_HCNT2_STAT 0xFFC1A58C /* PVP0 THCn Histogram Counter Value 2 */
-#define REG_PVP0_THC0_HCNT3_STAT 0xFFC1A490 /* PVP0 THCn Histogram Counter Value 3 */
-#define REG_PVP0_THC1_HCNT3_STAT 0xFFC1A590 /* PVP0 THCn Histogram Counter Value 3 */
-#define REG_PVP0_THC0_HCNT4_STAT 0xFFC1A494 /* PVP0 THCn Histogram Counter Value 4 */
-#define REG_PVP0_THC1_HCNT4_STAT 0xFFC1A594 /* PVP0 THCn Histogram Counter Value 4 */
-#define REG_PVP0_THC0_HCNT5_STAT 0xFFC1A498 /* PVP0 THCn Histogram Counter Value 5 */
-#define REG_PVP0_THC1_HCNT5_STAT 0xFFC1A598 /* PVP0 THCn Histogram Counter Value 5 */
-#define REG_PVP0_THC0_HCNT6_STAT 0xFFC1A49C /* PVP0 THCn Histogram Counter Value 6 */
-#define REG_PVP0_THC1_HCNT6_STAT 0xFFC1A59C /* PVP0 THCn Histogram Counter Value 6 */
-#define REG_PVP0_THC0_HCNT7_STAT 0xFFC1A4A0 /* PVP0 THCn Histogram Counter Value 7 */
-#define REG_PVP0_THC1_HCNT7_STAT 0xFFC1A5A0 /* PVP0 THCn Histogram Counter Value 7 */
-#define REG_PVP0_THC0_HCNT8_STAT 0xFFC1A4A4 /* PVP0 THCn Histogram Counter Value 8 */
-#define REG_PVP0_THC1_HCNT8_STAT 0xFFC1A5A4 /* PVP0 THCn Histogram Counter Value 8 */
-#define REG_PVP0_THC0_HCNT9_STAT 0xFFC1A4A8 /* PVP0 THCn Histogram Counter Value 9 */
-#define REG_PVP0_THC1_HCNT9_STAT 0xFFC1A5A8 /* PVP0 THCn Histogram Counter Value 9 */
-#define REG_PVP0_THC0_HCNT10_STAT 0xFFC1A4AC /* PVP0 THCn Histogram Counter Value 10 */
-#define REG_PVP0_THC1_HCNT10_STAT 0xFFC1A5AC /* PVP0 THCn Histogram Counter Value 10 */
-#define REG_PVP0_THC0_HCNT11_STAT 0xFFC1A4B0 /* PVP0 THCn Histogram Counter Value 11 */
-#define REG_PVP0_THC1_HCNT11_STAT 0xFFC1A5B0 /* PVP0 THCn Histogram Counter Value 11 */
-#define REG_PVP0_THC0_HCNT12_STAT 0xFFC1A4B4 /* PVP0 THCn Histogram Counter Value 12 */
-#define REG_PVP0_THC1_HCNT12_STAT 0xFFC1A5B4 /* PVP0 THCn Histogram Counter Value 12 */
-#define REG_PVP0_THC0_HCNT13_STAT 0xFFC1A4B8 /* PVP0 THCn Histogram Counter Value 13 */
-#define REG_PVP0_THC1_HCNT13_STAT 0xFFC1A5B8 /* PVP0 THCn Histogram Counter Value 13 */
-#define REG_PVP0_THC0_HCNT14_STAT 0xFFC1A4BC /* PVP0 THCn Histogram Counter Value 14 */
-#define REG_PVP0_THC1_HCNT14_STAT 0xFFC1A5BC /* PVP0 THCn Histogram Counter Value 14 */
-#define REG_PVP0_THC0_HCNT15_STAT 0xFFC1A4C0 /* PVP0 THCn Histogram Counter Value 15 */
-#define REG_PVP0_THC1_HCNT15_STAT 0xFFC1A5C0 /* PVP0 THCn Histogram Counter Value 15 */
-#define REG_PVP0_THC0_RREP_STAT 0xFFC1A4C4 /* PVP0 THCn Number of RLE Reports */
-#define REG_PVP0_THC1_RREP_STAT 0xFFC1A5C4 /* PVP0 THCn Number of RLE Reports */
-#define REG_PVP0_PMA_CFG 0xFFC1A600 /* PVP0 PMA Configuration */
-
-/* =========================
- PVP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_REVID_MAJOR 4 /* Major ID */
-#define BITP_PVP_REVID_REV 0 /* Revision ID for a given Major ID */
-#define BITM_PVP_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PVP_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID for a given Major ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CTL_CLKDIV 4 /* Clock Divisor */
-#define BITP_PVP_CTL_CPEN 2 /* Camera Pipe Enable */
-#define BITP_PVP_CTL_MPEN 1 /* Memory Pipe Enable */
-#define BITP_PVP_CTL_PVPEN 0 /* PVP Enable */
-
-#define BITM_PVP_CTL_CLKDIV (_ADI_MSK(0x00000010,uint32_t)) /* Clock Divisor */
-#define ENUM_PVP_CTL_CLKDIV1 (_ADI_MSK(0x00000000,uint32_t)) /* CLKDIV: PVPCLK = SCLK0 */
-#define ENUM_PVP_CTL_CLKDIV2 (_ADI_MSK(0x00000010,uint32_t)) /* CLKDIV: PVPCLK = SCLK0/2 */
-
-#define BITM_PVP_CTL_CPEN (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe Enable */
-#define ENUM_PVP_CTL_CPDIS (_ADI_MSK(0x00000000,uint32_t)) /* CPEN: Disable Camera Pipe */
-#define ENUM_PVP_CTL_CPEN (_ADI_MSK(0x00000004,uint32_t)) /* CPEN: Enable Camera Pipe */
-
-#define BITM_PVP_CTL_MPEN (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe Enable */
-#define ENUM_PVP_CTL_MPDIS (_ADI_MSK(0x00000000,uint32_t)) /* MPEN: Disable Memory Pipe */
-#define ENUM_PVP_CTL_MPEN (_ADI_MSK(0x00000002,uint32_t)) /* MPEN: Enable Memory Pipe */
-
-#define BITM_PVP_CTL_PVPEN (_ADI_MSK(0x00000001,uint32_t)) /* PVP Enable */
-#define ENUM_PVP_CTL_PVPDIS (_ADI_MSK(0x00000000,uint32_t)) /* PVPEN: Disable PVP */
-#define ENUM_PVP_CTL_PVPEN (_ADI_MSK(0x00000001,uint32_t)) /* PVPEN: Enable PVP */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IMSK_ACUSUMSAT 27 /* ACU SUM Saturate Unmask */
-#define BITP_PVP_IMSK_ACUPRODSAT 26 /* ACU PROD Saturate Unmask */
-#define BITP_PVP_IMSK_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Unmask */
-#define BITP_PVP_IMSK_ACUDIVERR 24 /* ACU Divide By Zero Unmask */
-#define BITP_PVP_IMSK_IIM1SOVF 23 /* IIM1 Signed Overflow Unmask */
-#define BITP_PVP_IMSK_IIM1UOVF 22 /* IIM1 Unsigned Overflow Unmask */
-#define BITP_PVP_IMSK_IIM0SOVF 21 /* IIM0 Signed Overflow Unmask */
-#define BITP_PVP_IMSK_IIM0UOVF 20 /* IIM0 Unsigned Overflow Unmask */
-#define BITP_PVP_IMSK_THC1RDY 18 /* THC1 Report Ready Unmask */
-#define BITP_PVP_IMSK_THC0RDY 16 /* THC0 Report Ready Unmask */
-#define BITP_PVP_IMSK_MPRDY 15 /* Memory Pipe Ready Unmask */
-#define BITP_PVP_IMSK_CPRDY 14 /* Camera Pipe Ready Unmask */
-#define BITP_PVP_IMSK_MPDRN 13 /* Memory Pipe Drain Done Unmask */
-#define BITP_PVP_IMSK_CPDRN 12 /* Camera Pipe Drain Done Unmask */
-#define BITP_PVP_IMSK_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Unmask */
-#define BITP_PVP_IMSK_MPOPFDAT 9 /* Memory Pipe First Pixel Unmask */
-#define BITP_PVP_IMSK_CPOPFDAT 8 /* Camera Pipe First Pixel Unmask */
-#define BITP_PVP_IMSK_CPSTOVF 7 /* Status DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF2OVF 6 /* OPF2 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF1OVF 5 /* OPF1 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF0OVF 4 /* OPF0 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_MPWRERR 3 /* Memory Pipe MMR Write Error Unmask */
-#define BITP_PVP_IMSK_CPWRERR 2 /* Camera Pipe MMR Write Error Unmask */
-#define BITP_PVP_IMSK_MPDC 1 /* Memory Pipe DC Unmask */
-#define BITP_PVP_IMSK_CPDC 0 /* Camera Pipe DC Unmask */
-
-/* The fields and enumerations for PVP_IMSK are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_IMSK_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Unmask */
-#define BITM_PVP_IMSK_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Unmask */
-#define BITM_PVP_IMSK_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Unmask */
-#define BITM_PVP_IMSK_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Unmask */
-#define BITM_PVP_IMSK_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Unmask */
-#define BITM_PVP_IMSK_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Unmask */
-#define BITM_PVP_IMSK_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Unmask */
-#define BITM_PVP_IMSK_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Unmask */
-#define BITM_PVP_IMSK_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Unmask */
-#define BITM_PVP_IMSK_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Unmask */
-#define BITM_PVP_IMSK_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Unmask */
-#define BITM_PVP_IMSK_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Unmask */
-#define BITM_PVP_IMSK_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Unmask */
-#define BITM_PVP_IMSK_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Unmask */
-#define BITM_PVP_IMSK_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Unmask */
-#define BITM_PVP_IMSK_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Unmask */
-#define BITM_PVP_IMSK_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Unmask */
-#define BITM_PVP_IMSK_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Unmask */
-#define BITM_PVP_IMSK_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Unmask */
-#define BITM_PVP_IMSK_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Unmask */
-#define BITM_PVP_IMSK_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_STAT_ACUSUMSAT 27 /* ACU SUM Saturate Status */
-#define BITP_PVP_STAT_ACUPRODSAT 26 /* ACU PROD Saturate Status */
-#define BITP_PVP_STAT_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Status */
-#define BITP_PVP_STAT_ACUDIVERR 24 /* ACU Divide By Zero Status */
-#define BITP_PVP_STAT_IIM1SOVF 23 /* IIM1 Signed Overflow Status */
-#define BITP_PVP_STAT_IIM1UOVF 22 /* IIM1 Unsigned Overflow Status */
-#define BITP_PVP_STAT_IIM0SOVF 21 /* IIM0 Signed Overflow Status */
-#define BITP_PVP_STAT_IIM0UOVF 20 /* IIM0 Unsigned Overflow Status */
-#define BITP_PVP_STAT_THC1RDY 18 /* THC1 Report Ready Status */
-#define BITP_PVP_STAT_THC0RDY 16 /* THC0 Report Ready Status */
-#define BITP_PVP_STAT_MPRDY 15 /* Memory Pipe Ready Status */
-#define BITP_PVP_STAT_CPRDY 14 /* Camera Pipe Ready Status */
-#define BITP_PVP_STAT_MPDRN 13 /* Memory Pipe Drain Done Status */
-#define BITP_PVP_STAT_CPDRN 12 /* Camera Pipe Drain Done Status */
-#define BITP_PVP_STAT_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Status */
-#define BITP_PVP_STAT_MPOPFDAT 9 /* Memory Pipe First Pixel Status */
-#define BITP_PVP_STAT_CPOPFDAT 8 /* Camera Pipe First Pixel Status */
-#define BITP_PVP_STAT_CPSTOVF 7 /* Camera Pipe DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF2OVF 6 /* OPF2 DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF1OVF 5 /* OPF1 DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF0OVF 4 /* OPF0 DDE Stall Error Status */
-#define BITP_PVP_STAT_MPWRERR 3 /* Memory Pipe MMR Write Error Status */
-#define BITP_PVP_STAT_CPWRERR 2 /* Camera Pipe MMR Write Error Status */
-#define BITP_PVP_STAT_MPDC 1 /* Memory Pipe DC Status */
-#define BITP_PVP_STAT_CPDC 0 /* Camera Pipe DC Status */
-
-#define BITM_PVP_STAT_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Status */
-#define ENUM_PVP_ACUSUMSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUSUMSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUSUMSAT_HI (_ADI_MSK(0x08000000,uint32_t)) /* ACUSUMSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Status */
-#define ENUM_PVP_ACUPRODSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUPRODSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUPRODSAT_HI (_ADI_MSK(0x04000000,uint32_t)) /* ACUPRODSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Status */
-#define ENUM_PVP_ACUOUTSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUOUTSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUOUTSAT_HI (_ADI_MSK(0x02000000,uint32_t)) /* ACUOUTSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Status */
-#define ENUM_PVP_ACUDIVERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUDIVERR: No Pending Interrupt */
-#define ENUM_PVP_ACUDIVERR_HI (_ADI_MSK(0x01000000,uint32_t)) /* ACUDIVERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Status */
-#define ENUM_PVP_IIM1SOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM1SOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM1SOVF_HI (_ADI_MSK(0x00800000,uint32_t)) /* IIM1SOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Status */
-#define ENUM_PVP_IIM1UOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM1UOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM1UOVF_HI (_ADI_MSK(0x00400000,uint32_t)) /* IIM1UOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Status */
-#define ENUM_PVP_IIM0SOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM0SOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM0SOVF_HI (_ADI_MSK(0x00200000,uint32_t)) /* IIM0SOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Status */
-#define ENUM_PVP_IIM0UOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM0UOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM0UOVF_HI (_ADI_MSK(0x00100000,uint32_t)) /* IIM0UOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Status */
-#define ENUM_PVP_THC1RDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* THC1RDY: No Pending Interrupt */
-#define ENUM_PVP_THC1RDY_HI (_ADI_MSK(0x00040000,uint32_t)) /* THC1RDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Status */
-#define ENUM_PVP_THC0RDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* THC0RDY: No Pending Interrupt */
-#define ENUM_PVP_THC0RDY_HI (_ADI_MSK(0x00010000,uint32_t)) /* THC0RDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Status */
-#define ENUM_PVP_MPRDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPRDY: No Pending Interrupt */
-#define ENUM_PVP_MPRDY_HI (_ADI_MSK(0x00008000,uint32_t)) /* MPRDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Status */
-#define ENUM_PVP_CPRDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPRDY: No Pending Interrupt */
-#define ENUM_PVP_CPRDY_HI (_ADI_MSK(0x00004000,uint32_t)) /* CPRDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Status */
-#define ENUM_PVP_MPDRN_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPDRN: No Pending Interrupt */
-#define ENUM_PVP_MPDRN_HI (_ADI_MSK(0x00002000,uint32_t)) /* MPDRN: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Status */
-#define ENUM_PVP_CPDRN_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPDRN: No Pending Interrupt */
-#define ENUM_PVP_CPDRN_HI (_ADI_MSK(0x00001000,uint32_t)) /* CPDRN: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Status */
-#define ENUM_PVP_CPIPFOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPIPFOVF: No Pending Interrupt */
-#define ENUM_PVP_CPIPFOVF_HI (_ADI_MSK(0x00000400,uint32_t)) /* CPIPFOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Status */
-#define ENUM_PVP_MPOPFDAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPOPFDAT: No Pending Interrupt */
-#define ENUM_PVP_MPOPFDAT_HI (_ADI_MSK(0x00000200,uint32_t)) /* MPOPFDAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Status */
-#define ENUM_PVP_CPOPFDAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPOPFDAT: No Pending Interrupt */
-#define ENUM_PVP_CPOPFDAT_HI (_ADI_MSK(0x00000100,uint32_t)) /* CPOPFDAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Camera Pipe DDE Stall Error Status */
-#define ENUM_PVP_CPSTOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPSTOVF: No Pending Interrupt */
-#define ENUM_PVP_CPSTOVF_HI (_ADI_MSK(0x00000080,uint32_t)) /* CPSTOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Status */
-#define ENUM_PVP_OPF2OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF2OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF2OVF_HI (_ADI_MSK(0x00000040,uint32_t)) /* OPF2OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Status */
-#define ENUM_PVP_OPF1OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF1OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF1OVF_HI (_ADI_MSK(0x00000020,uint32_t)) /* OPF1OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Status */
-#define ENUM_PVP_OPF0OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF0OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF0OVF_HI (_ADI_MSK(0x00000010,uint32_t)) /* OPF0OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Status */
-#define ENUM_PVP_MPWRERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPWRERR: No Pending Interrupt */
-#define ENUM_PVP_MPWRERR_HI (_ADI_MSK(0x00000008,uint32_t)) /* MPWRERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Status */
-#define ENUM_PVP_CPWRERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPWRERR: No Pending Interrupt */
-#define ENUM_PVP_CPWRERR_HI (_ADI_MSK(0x00000004,uint32_t)) /* CPWRERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Status */
-#define ENUM_PVP_MPDC_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPDC: No Pending Interrupt */
-#define ENUM_PVP_MPDC_HI (_ADI_MSK(0x00000002,uint32_t)) /* MPDC: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Status */
-#define ENUM_PVP_CPDC_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPDC: No Pending Interrupt */
-#define ENUM_PVP_CPDC_HI (_ADI_MSK(0x00000001,uint32_t)) /* CPDC: Pending Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ILAT_ACUSUMSAT 27 /* ACU SUM Saturate Latch */
-#define BITP_PVP_ILAT_ACUPRODSAT 26 /* ACU PROD Saturate Latch */
-#define BITP_PVP_ILAT_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Latch */
-#define BITP_PVP_ILAT_ACUDIVERR 24 /* ACU Divide By Zero Latch */
-#define BITP_PVP_ILAT_IIM1SOVF 23 /* IIM1 Signed Overflow Latch */
-#define BITP_PVP_ILAT_IIM1UOVF 22 /* IIM1 Unsigned Overflow Latch */
-#define BITP_PVP_ILAT_IIM0SOVF 21 /* IIM0 Signed Overflow Latch */
-#define BITP_PVP_ILAT_IIM0UOVF 20 /* IIM0 Unsigned Overflow Latch */
-#define BITP_PVP_ILAT_THC1RDY 18 /* THC1 Report Ready Latch */
-#define BITP_PVP_ILAT_THC0RDY 16 /* THC0 Report Ready Latch */
-#define BITP_PVP_ILAT_MPRDY 15 /* Memory Pipe Ready Latch */
-#define BITP_PVP_ILAT_CPRDY 14 /* Camera Pipe Ready Latch */
-#define BITP_PVP_ILAT_MPDRN 13 /* Memory Pipe Drain Done Latch */
-#define BITP_PVP_ILAT_CPDRN 12 /* Camera Pipe Drain Done Latch */
-#define BITP_PVP_ILAT_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Latch */
-#define BITP_PVP_ILAT_MPOPFDAT 9 /* Memory Pipe First Pixel Latch */
-#define BITP_PVP_ILAT_CPOPFDAT 8 /* Camera Pipe First Pixel Latch */
-#define BITP_PVP_ILAT_CPSTOVF 7 /* Status DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF2OVF 6 /* OPF2 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF1OVF 5 /* OPF1 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF0OVF 4 /* OPF0 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_MPWRERR 3 /* Memory Pipe MMR Write Error Latch */
-#define BITP_PVP_ILAT_CPWRERR 2 /* Camera Pipe MMR Write Error Latch */
-#define BITP_PVP_ILAT_MPDC 1 /* Memory Pipe DC Mask */
-#define BITP_PVP_ILAT_CPDC 0 /* Camera Pipe DC Latch */
-
-/* The fields and enumerations for PVP_ILAT are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_ILAT_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Latch */
-#define BITM_PVP_ILAT_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Latch */
-#define BITM_PVP_ILAT_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Latch */
-#define BITM_PVP_ILAT_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Latch */
-#define BITM_PVP_ILAT_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Latch */
-#define BITM_PVP_ILAT_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Latch */
-#define BITM_PVP_ILAT_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Latch */
-#define BITM_PVP_ILAT_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Latch */
-#define BITM_PVP_ILAT_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Latch */
-#define BITM_PVP_ILAT_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Latch */
-#define BITM_PVP_ILAT_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Latch */
-#define BITM_PVP_ILAT_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Latch */
-#define BITM_PVP_ILAT_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Latch */
-#define BITM_PVP_ILAT_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Latch */
-#define BITM_PVP_ILAT_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Latch */
-#define BITM_PVP_ILAT_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Latch */
-#define BITM_PVP_ILAT_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Latch */
-#define BITM_PVP_ILAT_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Latch */
-#define BITM_PVP_ILAT_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Latch */
-#define BITM_PVP_ILAT_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Mask */
-#define BITM_PVP_ILAT_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IREQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IREQ_ACUSUMSAT 27 /* ACU SUM Saturate Request */
-#define BITP_PVP_IREQ_ACUPRODSAT 26 /* ACU PROD Saturate Request */
-#define BITP_PVP_IREQ_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Request */
-#define BITP_PVP_IREQ_ACUDIVERR 24 /* ACU Divide By Zero Request */
-#define BITP_PVP_IREQ_IIM1SOVF 23 /* IIM1 Signed Overflow Request */
-#define BITP_PVP_IREQ_IIM1UOVF 22 /* IIM1 Unsigned Overflow Request */
-#define BITP_PVP_IREQ_IIM0SOVF 21 /* IIM0 Signed Overflow Request */
-#define BITP_PVP_IREQ_IIM0UOVF 20 /* IIM0 Unsigned Overflow Request */
-#define BITP_PVP_IREQ_THC1RDY 18 /* THC1 Report Ready Request */
-#define BITP_PVP_IREQ_THC0RDY 16 /* THC0 Report Ready Request */
-#define BITP_PVP_IREQ_MPRDY 15 /* Memory Pipe Ready Request */
-#define BITP_PVP_IREQ_CPRDY 14 /* Camera Pipe Ready Request */
-#define BITP_PVP_IREQ_MPDRN 13 /* Memory Pipe Drain Done Request */
-#define BITP_PVP_IREQ_CPDRN 12 /* Camera Pipe Drain Done Request */
-#define BITP_PVP_IREQ_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Request */
-#define BITP_PVP_IREQ_MPOPFDAT 9 /* Memory Pipe First Pixel Request */
-#define BITP_PVP_IREQ_CPOPFDAT 8 /* Camera Pipe First Pixel Request */
-#define BITP_PVP_IREQ_CPSTOVF 7 /* Status DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF2OVF 6 /* OPF2 DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF1OVF 5 /* OPF1 DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF0OVF 4 /* OPF0 DDE Stall Error Request */
-#define BITP_PVP_IREQ_MPWRERR 3 /* Memory Pipe MMR Write Error Request */
-#define BITP_PVP_IREQ_CPWRERR 2 /* Camera Pipe MMR Write Error Request */
-#define BITP_PVP_IREQ_MPDC 1 /* Memory Pipe DC Request */
-#define BITP_PVP_IREQ_CPDC 0 /* Camera Pipe DC Request */
-
-/* The fields and enumerations for PVP_IREQ are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_IREQ_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Request */
-#define BITM_PVP_IREQ_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Request */
-#define BITM_PVP_IREQ_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Request */
-#define BITM_PVP_IREQ_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Request */
-#define BITM_PVP_IREQ_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Request */
-#define BITM_PVP_IREQ_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Request */
-#define BITM_PVP_IREQ_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Request */
-#define BITM_PVP_IREQ_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Request */
-#define BITM_PVP_IREQ_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Request */
-#define BITM_PVP_IREQ_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Request */
-#define BITM_PVP_IREQ_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Request */
-#define BITM_PVP_IREQ_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Request */
-#define BITM_PVP_IREQ_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Request */
-#define BITM_PVP_IREQ_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Request */
-#define BITM_PVP_IREQ_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Request */
-#define BITM_PVP_IREQ_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Request */
-#define BITM_PVP_IREQ_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Request */
-#define BITM_PVP_IREQ_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Request */
-#define BITM_PVP_IREQ_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Request */
-#define BITM_PVP_IREQ_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Request */
-#define BITM_PVP_IREQ_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Request */
-#define BITM_PVP_IREQ_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_OPF_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_OPF_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_OPF_CFG_START 0 /* Start */
-#define BITM_PVP_OPF_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_OPF_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_OPF_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_OPF_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF_CTL_FINISH 12 /* Finish Enable */
-#define BITP_PVP_OPF_CTL_OSIZE 8 /* Output Data Size */
-#define BITP_PVP_OPF_CTL_QFRMT 5 /* Q Format Correction */
-#define BITP_PVP_OPF_CTL_IUP16 4 /* Input Upper 16-Bit Data */
-#define BITP_PVP_OPF_CTL_ISIZE 0 /* Input Data Size */
-
-#define BITM_PVP_OPF_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* Finish Enable */
-#define ENUM_PVP_OPF_CTL_NOFINISH (_ADI_MSK(0x00000000,uint32_t)) /* FINISH: Disable Finish Signal */
-#define ENUM_PVP_OPF_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* FINISH: Enable Finish Signal */
-
-#define BITM_PVP_OPF_CTL_OSIZE (_ADI_MSK(0x00000300,uint32_t)) /* Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 32-Bit Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE16 (_ADI_MSK(0x00000100,uint32_t)) /* OSIZE: 16-Bit Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE8 (_ADI_MSK(0x00000200,uint32_t)) /* OSIZE: 8-Bit Output Data Size */
-
-#define BITM_PVP_OPF_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_OPF_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_OPF_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_OPF_CTL_IUP16 (_ADI_MSK(0x00000010,uint32_t)) /* Input Upper 16-Bit Data */
-#define ENUM_PVP_OPF_CTL_LOWER16 (_ADI_MSK(0x00000000,uint32_t)) /* IUP16: Lower 16 Bits */
-#define ENUM_PVP_OPF_CTL_UPPER16 (_ADI_MSK(0x00000010,uint32_t)) /* IUP16: Upper 16 Bits */
-
-#define BITM_PVP_OPF_CTL_ISIZE (_ADI_MSK(0x00000003,uint32_t)) /* Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* ISIZE: 32-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE16 (_ADI_MSK(0x00000001,uint32_t)) /* ISIZE: 16-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE8 (_ADI_MSK(0x00000002,uint32_t)) /* ISIZE: 8-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE4 (_ADI_MSK(0x00000003,uint32_t)) /* ISIZE: 4-Bit Input Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF3_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF3_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_OPF3_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_OPF3_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_OPF3_CFG_START 0 /* Start */
-#define BITM_PVP_OPF3_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_OPF3_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_OPF3_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_OPF3_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF3_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF3_CTL_FINISH 12 /* Finish Enable */
-#define BITP_PVP_OPF3_CTL_OSIZE 8 /* Output Data Size */
-#define BITP_PVP_OPF3_CTL_QFRMT 5 /* Q Format Correction */
-#define BITP_PVP_OPF3_CTL_IUP16 4 /* Input Upper 16-Bit Data */
-#define BITP_PVP_OPF3_CTL_ISIZE 0 /* Input Data Size */
-
-#define BITM_PVP_OPF3_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* Finish Enable */
-#define ENUM_PVP_OPF3_CTL_NOFINISH (_ADI_MSK(0x00000000,uint32_t)) /* FINISH: Disable Finish Signal */
-#define ENUM_PVP_OPF3_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* FINISH: Enable Finish Signal */
-
-#define BITM_PVP_OPF3_CTL_OSIZE (_ADI_MSK(0x00000300,uint32_t)) /* Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 32-Bit Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE16 (_ADI_MSK(0x00000100,uint32_t)) /* OSIZE: 16-Bit Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE8 (_ADI_MSK(0x00000200,uint32_t)) /* OSIZE: 8-Bit Output Data Size */
-
-#define BITM_PVP_OPF3_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_OPF3_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_OPF3_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_OPF3_CTL_IUP16 (_ADI_MSK(0x00000010,uint32_t)) /* Input Upper 16-Bit Data */
-#define ENUM_PVP_OPF3_CTL_LOWER16 (_ADI_MSK(0x00000000,uint32_t)) /* IUP16: Lower 16 Bits */
-#define ENUM_PVP_OPF3_CTL_UPPER16 (_ADI_MSK(0x00000010,uint32_t)) /* IUP16: Upper 16 Bits */
-
-#define BITM_PVP_OPF3_CTL_ISIZE (_ADI_MSK(0x00000003,uint32_t)) /* Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* ISIZE: 32-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE16 (_ADI_MSK(0x00000001,uint32_t)) /* ISIZE: 16-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE8 (_ADI_MSK(0x00000002,uint32_t)) /* ISIZE: 8-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE4 (_ADI_MSK(0x00000003,uint32_t)) /* ISIZE: 4-Bit Input Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_PEC_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_PEC_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_PEC_CFG_START 0 /* Start */
-#define BITM_PVP_PEC_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_PEC_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_PEC_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_PEC_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_PEC_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_PEC_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_CTL_IGNTH1 3 /* Ignore TH1 Threshold for Encoding */
-#define BITP_PVP_PEC_CTL_OSIZE 2 /* Output Data Size per Bin */
-#define BITP_PVP_PEC_CTL_ZCRSS 1 /* Zero Cross */
-#define BITP_PVP_PEC_CTL_MODE 0 /* Derivative Mode Select */
-
-#define BITM_PVP_PEC_CTL_IGNTH1 (_ADI_MSK(0x00000008,uint32_t)) /* Ignore TH1 Threshold for Encoding */
-#define ENUM_PVP_PEC_CTL_ENCODEDIFF (_ADI_MSK(0x00000000,uint32_t)) /* IGNTH1: Different Strong/Weak Edge Encoding */
-#define ENUM_PVP_PEC_CTL_ENCODESAME (_ADI_MSK(0x00000008,uint32_t)) /* IGNTH1: Identical Strong/Weak Edge Encoding */
-
-#define BITM_PVP_PEC_CTL_OSIZE (_ADI_MSK(0x00000004,uint32_t)) /* Output Data Size per Bin */
-#define ENUM_PVP_PEC_CTL_BIN8 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 8 Bits Per Bin PEC Output Data Size */
-#define ENUM_PVP_PEC_CTL_BIN16 (_ADI_MSK(0x00000004,uint32_t)) /* OSIZE: 16 Bits Per Bin PEC Output Data Size */
-
-#define BITM_PVP_PEC_CTL_ZCRSS (_ADI_MSK(0x00000002,uint32_t)) /* Zero Cross */
-#define ENUM_PVP_PEC_CTL_ANGLE (_ADI_MSK(0x00000000,uint32_t)) /* ZCRSS: Angle Indices and Sub-Pixel Values */
-#define ENUM_PVP_PEC_CTL_ZEROCROSS (_ADI_MSK(0x00000002,uint32_t)) /* ZCRSS: Zero Crossing Codes and Sub-Pixel Values */
-
-#define BITM_PVP_PEC_CTL_MODE (_ADI_MSK(0x00000001,uint32_t)) /* Derivative Mode Select */
-#define ENUM_PVP_PEC_CTL_DERIV1 (_ADI_MSK(0x00000000,uint32_t)) /* MODE: 1st Derivative Mode */
-#define ENUM_PVP_PEC_CTL_DERIV2 (_ADI_MSK(0x00000001,uint32_t)) /* MODE: 2nd Derivative Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D1TH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D1TH0_VALUE 0 /* Lower Hysteresis Threshold */
-#define BITM_PVP_PEC_D1TH0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lower Hysteresis Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D1TH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D1TH1_VALUE 0 /* Upper Hysteresis Threshold */
-#define BITM_PVP_PEC_D1TH1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Upper Hysteresis Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D2TH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D2TH0_VALUE 0 /* Weak Zero Crossing Threshold */
-#define BITM_PVP_PEC_D2TH0_VALUE (_ADI_MSK(0x00007FFF,uint32_t)) /* Weak Zero Crossing Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D2TH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D2TH1_VALUE 0 /* Strong Zero Crossing Threshold */
-#define BITM_PVP_PEC_D2TH1_VALUE (_ADI_MSK(0x00007FFF,uint32_t)) /* Strong Zero Crossing Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_IIM_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_IIM_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IIM_CFG_START 0 /* Start */
-#define BITM_PVP_IIM_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_IIM_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_IIM_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_IIM_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_IIM_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_IIM_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_CTL_SHIFT 8 /* Shift Select */
-#define BITP_PVP_IIM_CTL_WIDTH 2 /* Width Select */
-#define BITP_PVP_IIM_CTL_MODE 0 /* Mode Select */
-#define BITM_PVP_IIM_CTL_SHIFT (_ADI_MSK(0x00001F00,uint32_t)) /* Shift Select */
-
-#define BITM_PVP_IIM_CTL_WIDTH (_ADI_MSK(0x0000000C,uint32_t)) /* Width Select */
-#define ENUM_PVP_IIM_CTL_SINGLE32 (_ADI_MSK(0x00000000,uint32_t)) /* WIDTH: Single 32 Bit */
-#define ENUM_PVP_IIM_CTL_DUAL16 (_ADI_MSK(0x00000004,uint32_t)) /* WIDTH: Dual 16 Bit */
-#define ENUM_PVP_IIM_CTL_QUAD8 (_ADI_MSK(0x0000000C,uint32_t)) /* WIDTH: Quad 8 Bit */
-
-#define BITM_PVP_IIM_CTL_MODE (_ADI_MSK(0x00000003,uint32_t)) /* Mode Select */
-#define ENUM_PVP_IIM_CTL_RECTMODE (_ADI_MSK(0x00000000,uint32_t)) /* MODE: Rectangular Mode ( SAT) */
-#define ENUM_PVP_IIM_CTL_DIAGMODE (_ADI_MSK(0x00000001,uint32_t)) /* MODE: Diagonal Mode ( RSAT -45) */
-#define ENUM_PVP_IIM_CTL_ROWMODE (_ADI_MSK(0x00000002,uint32_t)) /* MODE: Row Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_SCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_SCALE_VSCL 16 /* Vertical Scaling Factor */
-#define BITP_PVP_IIM_SCALE_HSCL 0 /* Horizontal Scaling Factor */
-#define BITM_PVP_IIM_SCALE_VSCL (_ADI_MSK(0x01FF0000,uint32_t)) /* Vertical Scaling Factor */
-#define BITM_PVP_IIM_SCALE_HSCL (_ADI_MSK(0x000003FF,uint32_t)) /* Horizontal Scaling Factor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_SOVF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_SOVF_STAT_VPOS 16 /* Veritcal Pixel Coordinate */
-#define BITP_PVP_IIM_SOVF_STAT_HPOS 0 /* Horizontal Pixel Coordinate */
-#define BITM_PVP_IIM_SOVF_STAT_VPOS (_ADI_MSK(0x03FF0000,uint32_t)) /* Veritcal Pixel Coordinate */
-#define BITM_PVP_IIM_SOVF_STAT_HPOS (_ADI_MSK(0x000007FF,uint32_t)) /* Horizontal Pixel Coordinate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_UOVF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_UOVF_STAT_VPOS 16 /* Veritcal Pixel Coordinate */
-#define BITP_PVP_IIM_UOVF_STAT_HPOS 0 /* Horizontal Pixel Coordinate */
-#define BITM_PVP_IIM_UOVF_STAT_VPOS (_ADI_MSK(0x03FF0000,uint32_t)) /* Veritcal Pixel Coordinate */
-#define BITM_PVP_IIM_UOVF_STAT_HPOS (_ADI_MSK(0x000007FF,uint32_t)) /* Horizontal Pixel Coordinate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_CFG_IBLOCK1 16 /* Input Block 1 ID */
-#define BITP_PVP_ACU_CFG_IBLOCK0 8 /* Input Block 0 ID */
-#define BITP_PVP_ACU_CFG_IPORT1 6 /* Input Port 1 ID */
-#define BITP_PVP_ACU_CFG_IPORT0 4 /* Input Port 0 ID */
-#define BITP_PVP_ACU_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_ACU_CFG_START 0 /* Start */
-#define BITM_PVP_ACU_CFG_IBLOCK1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Input Block 1 ID */
-#define BITM_PVP_ACU_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block 0 ID */
-#define BITM_PVP_ACU_CFG_IPORT1 (_ADI_MSK(0x000000C0,uint32_t)) /* Input Port 1 ID */
-#define BITM_PVP_ACU_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port 0 ID */
-
-#define BITM_PVP_ACU_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_ACU_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_ACU_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_ACU_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_CTL_SUMOP 28 /* Sum Operation */
-#define BITP_PVP_ACU_CTL_SUMISW 27 /* Sum Input Swap */
-#define BITP_PVP_ACU_CTL_SUMINP 24 /* Sum Inputs for Adder */
-#define BITP_PVP_ACU_CTL_PRDOP 20 /* Prod Operation */
-#define BITP_PVP_ACU_CTL_PRDISW 19 /* Prod Input Swap */
-#define BITP_PVP_ACU_CTL_PRDINP 16 /* Prod Inputs for Mult/Div */
-#define BITP_PVP_ACU_CTL_ACCFRAME 15 /* Accumulator Frame */
-#define BITP_PVP_ACU_CTL_ACCINP 8 /* Accumulator Input */
-#define BITP_PVP_ACU_CTL_SFTINP 0 /* Shift Input */
-
-#define BITM_PVP_ACU_CTL_SUMOP (_ADI_MSK(0x10000000,uint32_t)) /* Sum Operation */
-#define ENUM_PVP_ACU_CTL_ADD (_ADI_MSK(0x00000000,uint32_t)) /* SUMOP: Add */
-#define ENUM_PVP_ACU_CTL_SUBTRACT (_ADI_MSK(0x10000000,uint32_t)) /* SUMOP: Subtract */
-
-#define BITM_PVP_ACU_CTL_SUMISW (_ADI_MSK(0x08000000,uint32_t)) /* Sum Input Swap */
-#define ENUM_PVP_ACU_CTL_NOSWAPSUM (_ADI_MSK(0x00000000,uint32_t)) /* SUMISW: Do Not Swap Operands */
-#define ENUM_PVP_ACU_CTL_SWAPSUM (_ADI_MSK(0x08000000,uint32_t)) /* SUMISW: Swap Operands */
-
-#define BITM_PVP_ACU_CTL_SUMINP (_ADI_MSK(0x03000000,uint32_t)) /* Sum Inputs for Adder */
-#define ENUM_PVP_ACU_CTL_SUMXY (_ADI_MSK(0x00000000,uint32_t)) /* SUMINP: X,Y Inputs */
-#define ENUM_PVP_ACU_CTL_SUMXOFF (_ADI_MSK(0x01000000,uint32_t)) /* SUMINP: X,OFFSET Inputs */
-#define ENUM_PVP_ACU_CTL_SUMYOFF (_ADI_MSK(0x02000000,uint32_t)) /* SUMINP: Y,OFFSET Inputs */
-
-#define BITM_PVP_ACU_CTL_PRDOP (_ADI_MSK(0x00300000,uint32_t)) /* Prod Operation */
-#define ENUM_PVP_ACU_CTL_MULTIPLY (_ADI_MSK(0x00000000,uint32_t)) /* PRDOP: Multiply */
-#define ENUM_PVP_ACU_CTL_DIVQUOTIENT (_ADI_MSK(0x00100000,uint32_t)) /* PRDOP: Divide with Quotient */
-#define ENUM_PVP_ACU_CTL_DIVMODULUS (_ADI_MSK(0x00200000,uint32_t)) /* PRDOP: Divide with Modulus */
-
-#define BITM_PVP_ACU_CTL_PRDISW (_ADI_MSK(0x00080000,uint32_t)) /* Prod Input Swap */
-#define ENUM_PVP_ACU_CTL_NOSWAPPROD (_ADI_MSK(0x00000000,uint32_t)) /* PRDISW: Do Not Swap Operands */
-#define ENUM_PVP_ACU_CTL_SWAPPROD (_ADI_MSK(0x00080000,uint32_t)) /* PRDISW: Swap Operands */
-
-#define BITM_PVP_ACU_CTL_PRDINP (_ADI_MSK(0x00030000,uint32_t)) /* Prod Inputs for Mult/Div */
-#define ENUM_PVP_ACU_CTL_PRODXY (_ADI_MSK(0x00000000,uint32_t)) /* PRDINP: X,Y Inputs */
-#define ENUM_PVP_ACU_CTL_PRODXFACT (_ADI_MSK(0x00010000,uint32_t)) /* PRDINP: X,FACTOR Inputs */
-#define ENUM_PVP_ACU_CTL_PRODYFACT (_ADI_MSK(0x00020000,uint32_t)) /* PRDINP: Y,FACTOR Inputs */
-#define ENUM_PVP_ACU_CTL_PRODSUMFACT (_ADI_MSK(0x00030000,uint32_t)) /* PRDINP: SUM,FACTOR Inputs */
-
-#define BITM_PVP_ACU_CTL_ACCFRAME (_ADI_MSK(0x00008000,uint32_t)) /* Accumulator Frame */
-#define ENUM_PVP_ACU_CTL_ACCUMROW (_ADI_MSK(0x00000000,uint32_t)) /* ACCFRAME: Clear ACC After Row */
-#define ENUM_PVP_ACU_CTL_ACCUMFRAME (_ADI_MSK(0x00008000,uint32_t)) /* ACCFRAME: Clear ACC After Frame */
-
-#define BITM_PVP_ACU_CTL_ACCINP (_ADI_MSK(0x00000300,uint32_t)) /* Accumulator Input */
-#define ENUM_PVP_ACU_CTL_ACCUMX (_ADI_MSK(0x00000000,uint32_t)) /* ACCINP: X Input */
-#define ENUM_PVP_ACU_CTL_ACCUMSUM (_ADI_MSK(0x00000100,uint32_t)) /* ACCINP: SUM Input */
-#define ENUM_PVP_ACU_CTL_ACCUMPROD (_ADI_MSK(0x00000200,uint32_t)) /* ACCINP: PROD Input */
-
-#define BITM_PVP_ACU_CTL_SFTINP (_ADI_MSK(0x00000003,uint32_t)) /* Shift Input */
-#define ENUM_PVP_ACU_CTL_SHIFTXIN (_ADI_MSK(0x00000000,uint32_t)) /* SFTINP: X Input */
-#define ENUM_PVP_ACU_CTL_SHIFTSUM (_ADI_MSK(0x00000001,uint32_t)) /* SFTINP: SUM Result Input */
-#define ENUM_PVP_ACU_CTL_SHIFTPROD (_ADI_MSK(0x00000002,uint32_t)) /* SFTINP: PROD Result Input */
-#define ENUM_PVP_ACU_CTL_SHIFTACC (_ADI_MSK(0x00000003,uint32_t)) /* SFTINP: ACC Result Input */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_SHIFT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_SHIFT_VALUE 0 /* SHIFT Constant */
-#define BITM_PVP_ACU_SHIFT_VALUE (_ADI_MSK(0x0000003F,uint32_t)) /* SHIFT Constant */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_UDS_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_UDS_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_UDS_CFG_START 0 /* Start */
-#define BITM_PVP_UDS_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_UDS_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_UDS_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_UDS_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_CTL_AAVG 0 /* Automatic Averaging */
-
-#define BITM_PVP_UDS_CTL_AAVG (_ADI_MSK(0x00000001,uint32_t)) /* Automatic Averaging */
-#define ENUM_PVP_UDS_CTL_MANTAPS (_ADI_MSK(0x00000000,uint32_t)) /* AAVG: Manual Filter Tap Selection */
-#define ENUM_PVP_UDS_CTL_AUTOTAPS (_ADI_MSK(0x00000001,uint32_t)) /* AAVG: Auto Filter Tap Selection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_OHCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_OHCNT_VALUE 4 /* H Dimension of Output Frame */
-#define BITM_PVP_UDS_OHCNT_VALUE (_ADI_MSK(0x000000F0,uint32_t)) /* H Dimension of Output Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_OVCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_OVCNT_VALUE 4 /* V Dimension of Output Frame */
-#define BITM_PVP_UDS_OVCNT_VALUE (_ADI_MSK(0x000000F0,uint32_t)) /* V Dimension of Output Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_HAVG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_HAVG_VALUE 0 /* H Filter Taps */
-#define BITM_PVP_UDS_HAVG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* H Filter Taps */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_VAVG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_VAVG_VALUE 0 /* V Filter Taps */
-#define BITM_PVP_UDS_VAVG_VALUE (_ADI_MSK(0x0000007F,uint32_t)) /* V Filter Taps */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_CFG_STATWCNT 24 /* Camera Pipe DMA Status */
-#define BITP_PVP_IPF0_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IPF0_CFG_START 0 /* Start */
-#define BITM_PVP_IPF0_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Camera Pipe DMA Status */
-#define BITM_PVP_IPF0_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_IPF0_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_PIPECTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_PIPECTL_STATEN 4 /* DMA Status Enable */
-#define BITP_PVP_IPF_PIPECTL_DRAIN 0 /* Drain Enable */
-#define BITM_PVP_IPF_PIPECTL_STATEN (_ADI_MSK(0x00000010,uint32_t)) /* DMA Status Enable */
-#define BITM_PVP_IPF_PIPECTL_DRAIN (_ADI_MSK(0x00000001,uint32_t)) /* Drain Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_CTL_QFRMT 27 /* Q Format Correction */
-#define BITP_PVP_IPF_CTL_SIGNEXT 26 /* Sign Extend */
-#define BITP_PVP_IPF_CTL_EXTRED 25 /* Extract Red/Green */
-#define BITP_PVP_IPF_CTL_UNPACK 24 /* Unpack Incoming */
-#define BITP_PVP_IPF_CTL_CFRMT 16 /* Color Space Format */
-#define BITP_PVP_IPF_CTL_OPORT2EN 12 /* Output Port 2 Enable */
-#define BITP_PVP_IPF_CTL_OPORT1EN 8 /* Output Port 1 Enable */
-#define BITP_PVP_IPF_CTL_OPORT0EN 4 /* Output Port 0 Enable */
-
-#define BITM_PVP_IPF_CTL_QFRMT (_ADI_MSK(0x08000000,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_IPF_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_IPF_CTL_QFRMT (_ADI_MSK(0x08000000,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_IPF_CTL_SIGNEXT (_ADI_MSK(0x04000000,uint32_t)) /* Sign Extend */
-#define ENUM_PVP_IPF_CTL_ZEROEXT (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Extend */
-#define ENUM_PVP_IPF_CTL_SIGNEXT (_ADI_MSK(0x04000000,uint32_t)) /* SIGNEXT: Sign Extend */
-
-#define BITM_PVP_IPF_CTL_EXTRED (_ADI_MSK(0x02000000,uint32_t)) /* Extract Red/Green */
-#define ENUM_PVP_IPF_CTL_EXTGREEN (_ADI_MSK(0x00000000,uint32_t)) /* EXTRED: Extract Green */
-#define ENUM_PVP_IPF_CTL_EXTRED (_ADI_MSK(0x02000000,uint32_t)) /* EXTRED: Extract Red */
-
-#define BITM_PVP_IPF_CTL_UNPACK (_ADI_MSK(0x01000000,uint32_t)) /* Unpack Incoming */
-#define ENUM_PVP_IPF_CTL_UNPACKDIS (_ADI_MSK(0x00000000,uint32_t)) /* UNPACK: No Unpacking */
-#define ENUM_PVP_IPF_CTL_UNPACKEN (_ADI_MSK(0x01000000,uint32_t)) /* UNPACK: Unpack Data */
-
-#define BITM_PVP_IPF_CTL_CFRMT (_ADI_MSK(0x001F0000,uint32_t)) /* Color Space Format */
-#define ENUM_PVP_IPF_CTL_RGB8 (_ADI_MSK(0x00000000,uint32_t)) /* CFRMT: RGB 8-Bit */
-#define ENUM_PVP_IPF_CTL_RGB888 (_ADI_MSK(0x00010000,uint32_t)) /* CFRMT: RGB 888 */
-#define ENUM_PVP_IPF_CTL_YUV8 (_ADI_MSK(0x00100000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 1 */
-#define ENUM_PVP_IPF_CTL_YUV8SPLT (_ADI_MSK(0x00110000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 2 */
-#define ENUM_PVP_IPF_CTL_YUV8SUBSPLT (_ADI_MSK(0x00120000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 3 */
-#define ENUM_PVP_IPF_CTL_YUV8IN16 (_ADI_MSK(0x00130000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Pair 16-Bit */
-#define ENUM_PVP_IPF_CTL_RGB565 (_ADI_MSK(0x00020000,uint32_t)) /* CFRMT: RGB 565 */
-#define ENUM_PVP_IPF_CTL_YUV16 (_ADI_MSK(0x00140000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 1 */
-#define ENUM_PVP_IPF_CTL_YUV16SPLT (_ADI_MSK(0x00150000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 2 */
-#define ENUM_PVP_IPF_CTL_YUV16SUBSPLT (_ADI_MSK(0x00160000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 3 */
-#define ENUM_PVP_IPF_CTL_Y8 (_ADI_MSK(0x00180000,uint32_t)) /* CFRMT: Y Alone 8-Bit */
-#define ENUM_PVP_IPF_CTL_Y16 (_ADI_MSK(0x00190000,uint32_t)) /* CFRMT: Y Alone 16-Bit */
-#define ENUM_PVP_IPF_CTL_Y24 (_ADI_MSK(0x001A0000,uint32_t)) /* CFRMT: Y Alone 24-Bit */
-#define ENUM_PVP_IPF_CTL_WORD32 (_ADI_MSK(0x001B0000,uint32_t)) /* CFRMT: 32 Bit */
-#define ENUM_PVP_IPF_CTL_RGB666 (_ADI_MSK(0x00030000,uint32_t)) /* CFRMT: RGB 666 */
-#define ENUM_PVP_IPF_CTL_RGB16 (_ADI_MSK(0x00040000,uint32_t)) /* CFRMT: RGB 16-Bit */
-#define ENUM_PVP_IPF_CTL_BAYER1 (_ADI_MSK(0x00050000,uint32_t)) /* CFRMT: RGB Bayer Format Type-1 */
-#define ENUM_PVP_IPF_CTL_BAYER2 (_ADI_MSK(0x00060000,uint32_t)) /* CFRMT: RGB Bayer Format Type-2 */
-
-#define BITM_PVP_IPF_CTL_OPORT2EN (_ADI_MSK(0x00001000,uint32_t)) /* Output Port 2 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT2DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT2EN: Disable OPORT2 */
-#define ENUM_PVP_IPF_CTL_OPORT2EVEN (_ADI_MSK(0x00001000,uint32_t)) /* OPORT2EN: Enable OPORT2 (full resolution) */
-
-#define BITM_PVP_IPF_CTL_OPORT1EN (_ADI_MSK(0x00000300,uint32_t)) /* Output Port 1 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT1DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT1EN: Disable OPORT1 */
-#define ENUM_PVP_IPF_CTL_OPORT1ODD (_ADI_MSK(0x00000100,uint32_t)) /* OPORT1EN: Enable OPORT1 (full resolution) */
-#define ENUM_PVP_IPF_CTL_OPORT1WIN (_ADI_MSK(0x00000200,uint32_t)) /* OPORT1EN: Enable OPORT1 (windowed resolution) */
-
-#define BITM_PVP_IPF_CTL_OPORT0EN (_ADI_MSK(0x00000010,uint32_t)) /* Output Port 0 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT0DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT0EN: Disable OPORT0 */
-#define ENUM_PVP_IPF_CTL_OPORT0EN (_ADI_MSK(0x00000010,uint32_t)) /* OPORT0EN: Enable OPORT0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_TAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_TAG_VALUE 0 /* TAG Value */
-#define BITM_PVP_IPF_TAG_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* TAG Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_HCNT_VALUE 0 /* Effective Width of ROI */
-#define BITM_PVP_IPF_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Effective Width of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_VCNT_VALUE 0 /* Effective Height of ROI */
-#define BITM_PVP_IPF_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Effective Height of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_HPOS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_HPOS_VALUE 0 /* Horizontal Delay of ROI */
-#define BITM_PVP_IPF0_HPOS_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_VPOS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_VPOS_VALUE 0 /* Vertical Delay of ROI */
-#define BITM_PVP_IPF0_VPOS_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_TAG_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_TAG_STAT_VALUE 0 /* TAG Value */
-#define BITM_PVP_IPF_TAG_STAT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* TAG Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF1_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF1_CFG_STATWCNT 24 /* Status Word Count */
-#define BITP_PVP_IPF1_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IPF1_CFG_START 0 /* Start */
-#define BITM_PVP_IPF1_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Status Word Count */
-#define BITM_PVP_IPF1_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_IPF1_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_CNV_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_CNV_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_CNV_CFG_START 0 /* Start */
-#define BITM_PVP_CNV_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_CNV_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_CNV_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_CNV_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_CNV_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_CNV_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_CTL_SHIFT 4 /* Shift Right */
-#define BITP_PVP_CNV_CTL_ZEROFILL 1 /* Zero Fill */
-#define BITP_PVP_CNV_CTL_SAT32 0 /* Saturate Output to 32 Bits */
-#define BITM_PVP_CNV_CTL_SHIFT (_ADI_MSK(0x000001F0,uint32_t)) /* Shift Right */
-
-#define BITM_PVP_CNV_CTL_ZEROFILL (_ADI_MSK(0x00000002,uint32_t)) /* Zero Fill */
-#define ENUM_PVP_CNV_CTL_EDGEDUP (_ADI_MSK(0x00000000,uint32_t)) /* ZEROFILL: Duplicated Data Fill */
-#define ENUM_PVP_CNV_CTL_EDGEZFILL (_ADI_MSK(0x00000002,uint32_t)) /* ZEROFILL: Zero Fill */
-
-#define BITM_PVP_CNV_CTL_SAT32 (_ADI_MSK(0x00000001,uint32_t)) /* Saturate Output to 32 Bits */
-#define ENUM_PVP_CNV_CTL_SIGNEXT (_ADI_MSK(0x00000000,uint32_t)) /* SAT32: 16-Bit Saturate of Output */
-#define ENUM_PVP_CNV_CTL_SAT32 (_ADI_MSK(0x00000001,uint32_t)) /* SAT32: 32-Bit Saturate of Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C00C01 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C00C01_C01 16 /* Coefficient 0, 1 */
-#define BITP_PVP_CNV_C00C01_C00 0 /* Coefficient 0, 0 */
-#define BITM_PVP_CNV_C00C01_C01 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 0, 1 */
-#define BITM_PVP_CNV_C00C01_C00 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C02C03 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C02C03_C03 16 /* Coefficient 0, 3 */
-#define BITP_PVP_CNV_C02C03_C02 0 /* Coefficient 0, 2 */
-#define BITM_PVP_CNV_C02C03_C03 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 0, 3 */
-#define BITM_PVP_CNV_C02C03_C02 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C04 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C04_C04 0 /* Coefficient 0, 4 */
-#define BITM_PVP_CNV_C04_C04 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C10C11 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C10C11_C11 16 /* Coefficient 1, 1 */
-#define BITP_PVP_CNV_C10C11_C10 0 /* Coefficient 1, 0 */
-#define BITM_PVP_CNV_C10C11_C11 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 1, 1 */
-#define BITM_PVP_CNV_C10C11_C10 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C12C13 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C12C13_C13 16 /* Coefficient 1, 3 */
-#define BITP_PVP_CNV_C12C13_C12 0 /* Coefficient 1, 2 */
-#define BITM_PVP_CNV_C12C13_C13 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 1, 3 */
-#define BITM_PVP_CNV_C12C13_C12 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C14 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C14_C14 0 /* Coefficient 1, 4 */
-#define BITM_PVP_CNV_C14_C14 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C20C21 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C20C21_C21 16 /* Coefficient 2, 1 */
-#define BITP_PVP_CNV_C20C21_C20 0 /* Coefficient 2, 0 */
-#define BITM_PVP_CNV_C20C21_C21 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 2, 1 */
-#define BITM_PVP_CNV_C20C21_C20 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C22C23 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C22C23_C23 16 /* Coefficient 2, 3 */
-#define BITP_PVP_CNV_C22C23_C22 0 /* Coefficient 2, 2 */
-#define BITM_PVP_CNV_C22C23_C23 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 2, 3 */
-#define BITM_PVP_CNV_C22C23_C22 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C24 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C24_C24 0 /* Coefficient 2, 4 */
-#define BITM_PVP_CNV_C24_C24 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C30C31 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C30C31_C31 16 /* Coefficient 3, 1 */
-#define BITP_PVP_CNV_C30C31_C30 0 /* Coefficient 3, 0 */
-#define BITM_PVP_CNV_C30C31_C31 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 3, 1 */
-#define BITM_PVP_CNV_C30C31_C30 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C32C33 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C32C33_C33 16 /* Coefficient 3, 3 */
-#define BITP_PVP_CNV_C32C33_C32 0 /* Coefficient 3, 2 */
-#define BITM_PVP_CNV_C32C33_C33 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 3, 3 */
-#define BITM_PVP_CNV_C32C33_C32 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C34 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C34_C34 0 /* Coefficient 3, 4 */
-#define BITM_PVP_CNV_C34_C34 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C40C41 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C40C41_C41 16 /* Coefficient 4, 1 */
-#define BITP_PVP_CNV_C40C41_C40 0 /* Coefficient 4, 0 */
-#define BITM_PVP_CNV_C40C41_C41 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 4, 1 */
-#define BITM_PVP_CNV_C40C41_C40 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C42C43 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C42C43_C43 16 /* Coefficient 4, 3 */
-#define BITP_PVP_CNV_C42C43_C42 0 /* Coefficient 4, 2 */
-#define BITM_PVP_CNV_C42C43_C43 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 4, 3 */
-#define BITM_PVP_CNV_C42C43_C42 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C44 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C44_C44 0 /* Coefficient 4, 4 */
-#define BITM_PVP_CNV_C44_C44 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_SCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_SCALE_VSCL 16 /* Vertical Scaling factor */
-#define BITP_PVP_CNV_SCALE_HSCL 0 /* Horizontal Scaling factor */
-#define BITM_PVP_CNV_SCALE_VSCL (_ADI_MSK(0x01FF0000,uint32_t)) /* Vertical Scaling factor */
-#define BITM_PVP_CNV_SCALE_HSCL (_ADI_MSK(0x000003FF,uint32_t)) /* Horizontal Scaling factor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_THC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_THC_CFG_STATWCNT 24 /* Status Word Count */
-#define BITP_PVP_THC_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_THC_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_THC_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_THC_CFG_START 0 /* Start */
-#define BITM_PVP_THC_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Status Word Count */
-#define BITM_PVP_THC_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_THC_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_THC_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_THC_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_THC_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_THC_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_THC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_THC_CTL_HISTEN 16 /* Histogram Counters Enable */
-#define BITP_PVP_THC_CTL_RLEWM 11 /* Run-length Encoding Window Mode */
-#define BITP_PVP_THC_CTL_HISTWM 9 /* Histogram Window Mode */
-#define BITP_PVP_THC_CTL_RLEFRAME 8 /* Run-Length-Encode Frame */
-#define BITP_PVP_THC_CTL_OFRMT 4 /* Output Format */
-#define BITP_PVP_THC_CTL_ZEXT 2 /* Zero Extend */
-#define BITP_PVP_THC_CTL_MODE 0 /* Mode */
-
-#define BITM_PVP_THC_CTL_HISTEN (_ADI_MSK(0x00010000,uint32_t)) /* Histogram Counters Enable */
-#define ENUM_PVP_THC_CTL_HISTDIS (_ADI_MSK(0x00000000,uint32_t)) /* HISTEN: Disable */
-#define ENUM_PVP_THC_CTL_HISTEN (_ADI_MSK(0x00010000,uint32_t)) /* HISTEN: Enable */
-
-#define BITM_PVP_THC_CTL_RLEWM (_ADI_MSK(0x00001800,uint32_t)) /* Run-length Encoding Window Mode */
-#define ENUM_PVP_THC_CTL_COMPFRAME (_ADI_MSK(0x00000000,uint32_t)) /* RLEWM: Frame Compression */
-#define ENUM_PVP_THC_CTL_COMPWIN (_ADI_MSK(0x00000800,uint32_t)) /* RLEWM: Window Compression */
-
-#define BITM_PVP_THC_CTL_HISTWM (_ADI_MSK(0x00000600,uint32_t)) /* Histogram Window Mode */
-#define ENUM_PVP_THC_CTL_HISTFRAME (_ADI_MSK(0x00000000,uint32_t)) /* HISTWM: Frame Histogram */
-#define ENUM_PVP_THC_CTL_HISTWIN (_ADI_MSK(0x00000200,uint32_t)) /* HISTWM: Inside-Window Histogram */
-#define ENUM_PVP_THC_CTL_HISTOUTWIN (_ADI_MSK(0x00000400,uint32_t)) /* HISTWM: Outside-Window Histogram */
-
-#define BITM_PVP_THC_CTL_RLEFRAME (_ADI_MSK(0x00000100,uint32_t)) /* Run-Length-Encode Frame */
-#define ENUM_PVP_THC_CTL_RLELINE (_ADI_MSK(0x00000000,uint32_t)) /* RLEFRAME: Row (Line) Compression */
-#define ENUM_PVP_THC_CTL_RLEFRAME (_ADI_MSK(0x00000100,uint32_t)) /* RLEFRAME: Frame Compression */
-
-#define BITM_PVP_THC_CTL_OFRMT (_ADI_MSK(0x000000F0,uint32_t)) /* Output Format */
-#define ENUM_PVP_THC_CTL_WORD32 (_ADI_MSK(0x00000000,uint32_t)) /* OFRMT: 32-Bit Word ( No Compression ) */
-#define ENUM_PVP_THC_CTL_NODATA (_ADI_MSK(0x000000A0,uint32_t)) /* OFRMT: Disable Output/RLE */
-#define ENUM_PVP_THC_CTL_INDX4 (_ADI_MSK(0x00000020,uint32_t)) /* OFRMT: 4-Bit Index ( No Compression) */
-#define ENUM_PVP_THC_CTL_INDX4RL4 (_ADI_MSK(0x00000030,uint32_t)) /* OFRMT: 4-Bit Index / 4-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4ANGL4 (_ADI_MSK(0x00000040,uint32_t)) /* OFRMT: 4-Bit Index / 4-Bit angle ( No Compression) */
-#define ENUM_PVP_THC_CTL_INDX3RL5 (_ADI_MSK(0x00000050,uint32_t)) /* OFRMT: 3-Bit Index / 5-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4RL12 (_ADI_MSK(0x00000060,uint32_t)) /* OFRMT: 4-Bit Index / 12-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX3RL13 (_ADI_MSK(0x00000070,uint32_t)) /* OFRMT: 3-Bit Index / 13-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4RL21 (_ADI_MSK(0x00000080,uint32_t)) /* OFRMT: 4-Bit Index / 21-Bit Run Length */
-#define ENUM_PVP_THC_CTL_WORD16RL16 (_ADI_MSK(0x00000090,uint32_t)) /* OFRMT: 16-Bit Word / 16-Bit Run Length */
-
-#define BITM_PVP_THC_CTL_ZEXT (_ADI_MSK(0x00000004,uint32_t)) /* Zero Extend */
-#define ENUM_PVP_THC_CTL_ZEXTDIS (_ADI_MSK(0x00000000,uint32_t)) /* ZEXT: No Zero Extension */
-#define ENUM_PVP_THC_CTL_ZEXTEN (_ADI_MSK(0x00000004,uint32_t)) /* ZEXT: Zero Extend */
-
-#define BITM_PVP_THC_CTL_MODE (_ADI_MSK(0x00000003,uint32_t)) /* Mode */
-#define ENUM_PVP_THC_CTL_CLIPMODE (_ADI_MSK(0x00000000,uint32_t)) /* MODE: Clipping/Saturation Mode */
-#define ENUM_PVP_THC_CTL_QUANTMODE (_ADI_MSK(0x00000001,uint32_t)) /* MODE: Quantization Mode */
-#define ENUM_PVP_THC_CTL_HYSTMODE (_ADI_MSK(0x00000002,uint32_t)) /* MODE: Hysteresis Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PMA_CFG_IBLOCK1 16 /* Input Block 1 ID */
-#define BITP_PVP_PMA_CFG_IBLOCK0 8 /* Input Block 0 ID */
-#define BITP_PVP_PMA_CFG_IPORT1 6 /* Input Port 1 ID */
-#define BITP_PVP_PMA_CFG_IPORT0 4 /* Input Port 0 ID */
-#define BITP_PVP_PMA_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_PMA_CFG_START 0 /* Start */
-#define BITM_PVP_PMA_CFG_IBLOCK1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Input Block 1 ID */
-#define BITM_PVP_PMA_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block 0 ID */
-#define BITM_PVP_PMA_CFG_IPORT1 (_ADI_MSK(0x000000C0,uint32_t)) /* Input Port 1 ID */
-#define BITM_PVP_PMA_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port 0 ID */
-
-#define BITM_PVP_PMA_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_PMA_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_PMA_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_PMA_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ==================================================
- Pulse-Width Modulator Registers
- ================================================== */
-
-/* =========================
- PWM0
- ========================= */
-#define REG_PWM0_CTL 0xFFC1B000 /* PWM0 Control Register */
-#define REG_PWM0_CHANCFG 0xFFC1B004 /* PWM0 Channel Config Register */
-#define REG_PWM0_TRIPCFG 0xFFC1B008 /* PWM0 Trip Config Register */
-#define REG_PWM0_STAT 0xFFC1B00C /* PWM0 Status Register */
-#define REG_PWM0_IMSK 0xFFC1B010 /* PWM0 Interrupt Mask Register */
-#define REG_PWM0_ILAT 0xFFC1B014 /* PWM0 Interrupt Latch Register */
-#define REG_PWM0_CHOPCFG 0xFFC1B018 /* PWM0 Chop Configuration Register */
-#define REG_PWM0_DT 0xFFC1B01C /* PWM0 Dead Time Register */
-#define REG_PWM0_SYNC_WID 0xFFC1B020 /* PWM0 Sync Pulse Width Register */
-#define REG_PWM0_TM0 0xFFC1B024 /* PWM0 Timer 0 Period Register */
-#define REG_PWM0_TM1 0xFFC1B028 /* PWM0 Timer 1 Period Register */
-#define REG_PWM0_TM2 0xFFC1B02C /* PWM0 Timer 2 Period Register */
-#define REG_PWM0_TM3 0xFFC1B030 /* PWM0 Timer 3 Period Register */
-#define REG_PWM0_TM4 0xFFC1B034 /* PWM0 Timer 4 Period Register */
-#define REG_PWM0_DLYA 0xFFC1B038 /* PWM0 Channel A Delay Register */
-#define REG_PWM0_DLYB 0xFFC1B03C /* PWM0 Channel B Delay Register */
-#define REG_PWM0_DLYC 0xFFC1B040 /* PWM0 Channel C Delay Register */
-#define REG_PWM0_DLYD 0xFFC1B044 /* PWM0 Channel D Delay Register */
-#define REG_PWM0_ACTL 0xFFC1B048 /* PWM0 Channel A Control Register */
-#define REG_PWM0_AH0 0xFFC1B04C /* PWM0 Channel A-High Duty-0 Register */
-#define REG_PWM0_AH1 0xFFC1B050 /* PWM0 Channel A-High Duty-1 Register */
-#define REG_PWM0_AL0 0xFFC1B05C /* PWM0 Channel A-Low Duty-0 Register */
-#define REG_PWM0_AL1 0xFFC1B060 /* PWM0 Channel A-Low Duty-1 Register */
-#define REG_PWM0_BCTL 0xFFC1B064 /* PWM0 Channel B Control Register */
-#define REG_PWM0_BH0 0xFFC1B068 /* PWM0 Channel B-High Duty-0 Register */
-#define REG_PWM0_BH1 0xFFC1B06C /* PWM0 Channel B-High Duty-1 Register */
-#define REG_PWM0_BL0 0xFFC1B078 /* PWM0 Channel B-Low Duty-0 Register */
-#define REG_PWM0_BL1 0xFFC1B07C /* PWM0 Channel B-Low Duty-1 Register */
-#define REG_PWM0_CCTL 0xFFC1B080 /* PWM0 Channel C Control Register */
-#define REG_PWM0_CH0 0xFFC1B084 /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM0_CH1 0xFFC1B088 /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM0_CL0 0xFFC1B094 /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM0_CL1 0xFFC1B098 /* PWM0 Channel C-Low Duty-1 Register */
-#define REG_PWM0_DCTL 0xFFC1B09C /* PWM0 Channel D Control Register */
-#define REG_PWM0_DH0 0xFFC1B0A0 /* PWM0 Channel D-High Duty-0 Register */
-#define REG_PWM0_DH1 0xFFC1B0A4 /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM0_DL0 0xFFC1B0B0 /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM0_DL1 0xFFC1B0B4 /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM1
- ========================= */
-#define REG_PWM1_CTL 0xFFC1B400 /* PWM1 Control Register */
-#define REG_PWM1_CHANCFG 0xFFC1B404 /* PWM1 Channel Config Register */
-#define REG_PWM1_TRIPCFG 0xFFC1B408 /* PWM1 Trip Config Register */
-#define REG_PWM1_STAT 0xFFC1B40C /* PWM1 Status Register */
-#define REG_PWM1_IMSK 0xFFC1B410 /* PWM1 Interrupt Mask Register */
-#define REG_PWM1_ILAT 0xFFC1B414 /* PWM1 Interrupt Latch Register */
-#define REG_PWM1_CHOPCFG 0xFFC1B418 /* PWM1 Chop Configuration Register */
-#define REG_PWM1_DT 0xFFC1B41C /* PWM1 Dead Time Register */
-#define REG_PWM1_SYNC_WID 0xFFC1B420 /* PWM1 Sync Pulse Width Register */
-#define REG_PWM1_TM0 0xFFC1B424 /* PWM1 Timer 0 Period Register */
-#define REG_PWM1_TM1 0xFFC1B428 /* PWM1 Timer 1 Period Register */
-#define REG_PWM1_TM2 0xFFC1B42C /* PWM1 Timer 2 Period Register */
-#define REG_PWM1_TM3 0xFFC1B430 /* PWM1 Timer 3 Period Register */
-#define REG_PWM1_TM4 0xFFC1B434 /* PWM1 Timer 4 Period Register */
-#define REG_PWM1_DLYA 0xFFC1B438 /* PWM1 Channel A Delay Register */
-#define REG_PWM1_DLYB 0xFFC1B43C /* PWM1 Channel B Delay Register */
-#define REG_PWM1_DLYC 0xFFC1B440 /* PWM1 Channel C Delay Register */
-#define REG_PWM1_DLYD 0xFFC1B444 /* PWM1 Channel D Delay Register */
-#define REG_PWM1_ACTL 0xFFC1B448 /* PWM1 Channel A Control Register */
-#define REG_PWM1_AH0 0xFFC1B44C /* PWM1 Channel A-High Duty-0 Register */
-#define REG_PWM1_AH1 0xFFC1B450 /* PWM1 Channel A-High Duty-1 Register */
-#define REG_PWM1_AL0 0xFFC1B45C /* PWM1 Channel A-Low Duty-0 Register */
-#define REG_PWM1_AL1 0xFFC1B460 /* PWM1 Channel A-Low Duty-1 Register */
-#define REG_PWM1_BCTL 0xFFC1B464 /* PWM1 Channel B Control Register */
-#define REG_PWM1_BH0 0xFFC1B468 /* PWM1 Channel B-High Duty-0 Register */
-#define REG_PWM1_BH1 0xFFC1B46C /* PWM1 Channel B-High Duty-1 Register */
-#define REG_PWM1_BL0 0xFFC1B478 /* PWM1 Channel B-Low Duty-0 Register */
-#define REG_PWM1_BL1 0xFFC1B47C /* PWM1 Channel B-Low Duty-1 Register */
-#define REG_PWM1_CCTL 0xFFC1B480 /* PWM1 Channel C Control Register */
-#define REG_PWM1_CH0 0xFFC1B484 /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM1_CH1 0xFFC1B488 /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM1_CL0 0xFFC1B494 /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM1_CL1 0xFFC1B498 /* PWM1 Channel C-Low Duty-1 Register */
-#define REG_PWM1_DCTL 0xFFC1B49C /* PWM1 Channel D Control Register */
-#define REG_PWM1_DH0 0xFFC1B4A0 /* PWM1 Channel D-High Duty-0 Register */
-#define REG_PWM1_DH1 0xFFC1B4A4 /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM1_DL0 0xFFC1B4B0 /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM1_DL1 0xFFC1B4B4 /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CTL_INTSYNCREF 18 /* Timer reference for Internal Sync */
-#define BITP_PWM_CTL_EXTSYNCSEL 17 /* External Sync Select */
-#define BITP_PWM_CTL_EXTSYNC 16 /* External Sync */
-#define BITP_PWM_CTL_DLYDEN 7 /* Enable Delay Counter for Channel D */
-#define BITP_PWM_CTL_DLYCEN 6 /* Enable Delay Counter for Channel C */
-#define BITP_PWM_CTL_DLYBEN 5 /* Enable Delay Counter for Channel B */
-#define BITP_PWM_CTL_DLYAEN 4 /* Enable Delay Counter for Channel A */
-#define BITP_PWM_CTL_SWTRIP 2 /* Software Trip */
-#define BITP_PWM_CTL_EMURUN 1 /* Output Behavior During Emulation Mode */
-#define BITP_PWM_CTL_GLOBEN 0 /* Module Enable */
-
-#define BITM_PWM_CTL_INTSYNCREF (_ADI_MSK(0x001C0000,uint32_t)) /* Timer reference for Internal Sync */
-#define ENUM_PWM_CTL_INTSYNC_0 (_ADI_MSK(0x00000000,uint32_t)) /* INTSYNCREF: PWMTMR0 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_1 (_ADI_MSK(0x00040000,uint32_t)) /* INTSYNCREF: PWMTMR1 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_2 (_ADI_MSK(0x00080000,uint32_t)) /* INTSYNCREF: PWMTMR2 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_3 (_ADI_MSK(0x000C0000,uint32_t)) /* INTSYNCREF: PWMTMR3 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_4 (_ADI_MSK(0x00100000,uint32_t)) /* INTSYNCREF: PWMTMR4 provides sync reference */
-
-#define BITM_PWM_CTL_EXTSYNCSEL (_ADI_MSK(0x00020000,uint32_t)) /* External Sync Select */
-#define ENUM_PWM_CTL_EXTSYNC_ASYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNCSEL: Asynchronous External Sync */
-#define ENUM_PWM_CTL_EXTSYNC_SYNC (_ADI_MSK(0x00020000,uint32_t)) /* EXTSYNCSEL: Synchronous External Sync */
-
-#define BITM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* External Sync */
-#define ENUM_PWM_CTL_INTSYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNC: Internal sync used */
-#define ENUM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* EXTSYNC: External sync used */
-
-#define BITM_PWM_CTL_DLYDEN (_ADI_MSK(0x00000080,uint32_t)) /* Enable Delay Counter for Channel D */
-#define ENUM_PWM_CTL_DLYD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYDEN: Disable */
-#define ENUM_PWM_CTL_DLYD_EN (_ADI_MSK(0x00000080,uint32_t)) /* DLYDEN: Enable */
-
-#define BITM_PWM_CTL_DLYCEN (_ADI_MSK(0x00000040,uint32_t)) /* Enable Delay Counter for Channel C */
-#define ENUM_PWM_CTL_DLYC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYCEN: Disable */
-#define ENUM_PWM_CTL_DLYC_EN (_ADI_MSK(0x00000040,uint32_t)) /* DLYCEN: Enable */
-
-#define BITM_PWM_CTL_DLYBEN (_ADI_MSK(0x00000020,uint32_t)) /* Enable Delay Counter for Channel B */
-#define ENUM_PWM_CTL_DLYB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYBEN: Disable */
-#define ENUM_PWM_CTL_DLYB_EN (_ADI_MSK(0x00000020,uint32_t)) /* DLYBEN: Enable */
-
-#define BITM_PWM_CTL_DLYAEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable Delay Counter for Channel A */
-#define ENUM_PWM_CTL_DLYA_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYAEN: Disable */
-#define ENUM_PWM_CTL_DLYA_EN (_ADI_MSK(0x00000010,uint32_t)) /* DLYAEN: Enable */
-
-#define BITM_PWM_CTL_SWTRIP (_ADI_MSK(0x00000004,uint32_t)) /* Software Trip */
-#define ENUM_PWM_CTL_FORCE_TRIP (_ADI_MSK(0x00000004,uint32_t)) /* SWTRIP: Force a Fault Trip Condition */
-
-#define BITM_PWM_CTL_EMURUN (_ADI_MSK(0x00000002,uint32_t)) /* Output Behavior During Emulation Mode */
-#define ENUM_PWM_CTL_EMURUN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMURUN: Disable Outputs */
-#define ENUM_PWM_CTL_EMURUN_EN (_ADI_MSK(0x00000002,uint32_t)) /* EMURUN: Enable Outputs */
-
-#define BITM_PWM_CTL_GLOBEN (_ADI_MSK(0x00000001,uint32_t)) /* Module Enable */
-#define ENUM_PWM_CTL_PWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GLOBEN: Disable */
-#define ENUM_PWM_CTL_PWM_EN (_ADI_MSK(0x00000001,uint32_t)) /* GLOBEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHANCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHANCFG_ENCHOPDL 30 /* Channel D Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLDL 29 /* Channel D low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPDH 27 /* Channel D Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLDH 26 /* Channel D High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSD 25 /* Channel D Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRD 24 /* Channel D Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPCL 22 /* Channel C Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLCL 21 /* Channel C low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPCH 19 /* Channel C Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLCH 18 /* Channel C High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSC 17 /* Channel C Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRC 16 /* Channel C Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPBL 14 /* Channel B Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLBL 13 /* Channel B low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPBH 11 /* Channel B Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLBH 10 /* Channel B High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSB 9 /* Channel B Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRB 8 /* Channel B Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPAL 6 /* Channel A Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLAL 5 /* Channel A low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPAH 3 /* Channel A Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLAH 2 /* Channel A High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSA 1 /* Channel A Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRA 0 /* Channel A Timer Reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPDL (_ADI_MSK(0x40000000,uint32_t)) /* Channel D Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDL: Disable Chopping Channel D Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_EN (_ADI_MSK(0x40000000,uint32_t)) /* ENCHOPDL: Enable Chopping Channel D Low Side */
-
-#define BITM_PWM_CHANCFG_POLDL (_ADI_MSK(0x20000000,uint32_t)) /* Channel D low side Polarity */
-#define ENUM_PWM_CHANCFG_DL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDL: Active Low */
-#define ENUM_PWM_CHANCFG_DL_ACTHI (_ADI_MSK(0x20000000,uint32_t)) /* POLDL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPDH (_ADI_MSK(0x08000000,uint32_t)) /* Channel D Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDH: Disable Chopping Channel D High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_EN (_ADI_MSK(0x08000000,uint32_t)) /* ENCHOPDH: Enable Chopping Channel D High Side */
-
-#define BITM_PWM_CHANCFG_POLDH (_ADI_MSK(0x04000000,uint32_t)) /* Channel D High side Polarity */
-#define ENUM_PWM_CHANCFG_DH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDH: Active Low */
-#define ENUM_PWM_CHANCFG_DH_ACTHI (_ADI_MSK(0x04000000,uint32_t)) /* POLDH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSD (_ADI_MSK(0x02000000,uint32_t)) /* Channel D Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOD_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSD: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOD_IND (_ADI_MSK(0x02000000,uint32_t)) /* MODELSD: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRD (_ADI_MSK(0x01000000,uint32_t)) /* Channel D Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRD: PWMTMR0 is Channel D reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_1 (_ADI_MSK(0x01000000,uint32_t)) /* REFTMRD: PWMTMR1 is Channel D reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPCL (_ADI_MSK(0x00400000,uint32_t)) /* Channel C Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCL: Disable Chopping Channel C Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_EN (_ADI_MSK(0x00400000,uint32_t)) /* ENCHOPCL: Enable Chopping Channel C Low Side */
-
-#define BITM_PWM_CHANCFG_POLCL (_ADI_MSK(0x00200000,uint32_t)) /* Channel C low side Polarity */
-#define ENUM_PWM_CHANCFG_CL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCL: Active Low */
-#define ENUM_PWM_CHANCFG_CL_ACTHI (_ADI_MSK(0x00200000,uint32_t)) /* POLCL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPCH (_ADI_MSK(0x00080000,uint32_t)) /* Channel C Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCH: Disable Chopping Channel C High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_EN (_ADI_MSK(0x00080000,uint32_t)) /* ENCHOPCH: Enable Chopping Channel C High Side */
-
-#define BITM_PWM_CHANCFG_POLCH (_ADI_MSK(0x00040000,uint32_t)) /* Channel C High side Polarity */
-#define ENUM_PWM_CHANCFG_CH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCH: Active Low */
-#define ENUM_PWM_CHANCFG_CH_ACTHI (_ADI_MSK(0x00040000,uint32_t)) /* POLCH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSC (_ADI_MSK(0x00020000,uint32_t)) /* Channel C Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOC_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSC: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOC_IND (_ADI_MSK(0x00020000,uint32_t)) /* MODELSC: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRC (_ADI_MSK(0x00010000,uint32_t)) /* Channel C Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRC: PWMTMR0 is Channel C reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_1 (_ADI_MSK(0x00010000,uint32_t)) /* REFTMRC: PWMTMR1 is Channel C reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPBL (_ADI_MSK(0x00004000,uint32_t)) /* Channel B Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBL: Disable Chopping Channel B Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_EN (_ADI_MSK(0x00004000,uint32_t)) /* ENCHOPBL: Enable Chopping Channel B Low Side */
-
-#define BITM_PWM_CHANCFG_POLBL (_ADI_MSK(0x00002000,uint32_t)) /* Channel B low side Polarity */
-#define ENUM_PWM_CHANCFG_BL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBL: Active Low */
-#define ENUM_PWM_CHANCFG_BL_ACTHI (_ADI_MSK(0x00002000,uint32_t)) /* POLBL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPBH (_ADI_MSK(0x00000800,uint32_t)) /* Channel B Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBH: Disable Chopping Channel B High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_EN (_ADI_MSK(0x00000800,uint32_t)) /* ENCHOPBH: Enable Chopping Channel B High Side */
-
-#define BITM_PWM_CHANCFG_POLBH (_ADI_MSK(0x00000400,uint32_t)) /* Channel B High side Polarity */
-#define ENUM_PWM_CHANCFG_BH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBH: Active Low */
-#define ENUM_PWM_CHANCFG_BH_ACTHI (_ADI_MSK(0x00000400,uint32_t)) /* POLBH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSB (_ADI_MSK(0x00000200,uint32_t)) /* Channel B Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOB_INV (_ADI_MSK(0x00000000,uint32_t)) /* MODELSB: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOB_IND (_ADI_MSK(0x00000200,uint32_t)) /* MODELSB: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRB (_ADI_MSK(0x00000100,uint32_t)) /* Channel B Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRB: PWMTMR0 is Channel B reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_1 (_ADI_MSK(0x00000100,uint32_t)) /* REFTMRB: PWMTMR1 is Channel B reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPAL (_ADI_MSK(0x00000040,uint32_t)) /* Channel A Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAL: Disable Chopping Channel A Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_EN (_ADI_MSK(0x00000040,uint32_t)) /* ENCHOPAL: Enable Chopping Channel A Low Side */
-
-#define BITM_PWM_CHANCFG_POLAL (_ADI_MSK(0x00000020,uint32_t)) /* Channel A low side Polarity */
-#define ENUM_PWM_CHANCFG_AL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAL: Active Low */
-#define ENUM_PWM_CHANCFG_AL_ACTHI (_ADI_MSK(0x00000020,uint32_t)) /* POLAL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPAH (_ADI_MSK(0x00000008,uint32_t)) /* Channel A Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAH: Disable Chopping Channel A High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_EN (_ADI_MSK(0x00000008,uint32_t)) /* ENCHOPAH: Enable Chopping Channel A High Side */
-
-#define BITM_PWM_CHANCFG_POLAH (_ADI_MSK(0x00000004,uint32_t)) /* Channel A High side Polarity */
-#define ENUM_PWM_CHANCFG_AH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAH: Active Low */
-#define ENUM_PWM_CHANCFG_AH_ACTHI (_ADI_MSK(0x00000004,uint32_t)) /* POLAH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSA (_ADI_MSK(0x00000002,uint32_t)) /* Channel A Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOA_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSA: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOA_IND (_ADI_MSK(0x00000002,uint32_t)) /* MODELSA: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRA (_ADI_MSK(0x00000001,uint32_t)) /* Channel A Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRA: PWMTMR0 is Channel A reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_1 (_ADI_MSK(0x00000001,uint32_t)) /* REFTMRA: PWMTMR1 is Channel A reference */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TRIPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TRIPCFG_MODE1D 27 /* Mode of TRIP1 for Channel D */
-#define BITP_PWM_TRIPCFG_EN1D 26 /* Enable TRIP1 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE0D 25 /* Mode of TRIP0 for Channel D */
-#define BITP_PWM_TRIPCFG_EN0D 24 /* Enable TRIP0 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE1C 19 /* Mode of TRIP1 for Channel C */
-#define BITP_PWM_TRIPCFG_EN1C 18 /* Enable TRIP1 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE0C 17 /* Mode of TRIP0 for Channel C */
-#define BITP_PWM_TRIPCFG_EN0C 16 /* Enable TRIP0 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE1B 11 /* Mode of TRIP1 for Channel B */
-#define BITP_PWM_TRIPCFG_EN1B 10 /* Enable TRIP1 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE0B 9 /* Mode of TRIP0 for Channel B */
-#define BITP_PWM_TRIPCFG_EN0B 8 /* Enable TRIP0 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE1A 3 /* Mode of TRIP1 for Channel A */
-#define BITP_PWM_TRIPCFG_EN1A 2 /* Enable TRIP1 as a trip source for Channel A */
-#define BITP_PWM_TRIPCFG_MODE0A 1 /* Mode of TRIP0 for Channel A */
-#define BITP_PWM_TRIPCFG_EN0A 0 /* Enable TRIP0 as a trip source for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE1D (_ADI_MSK(0x08000000,uint32_t)) /* Mode of TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1D: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1D_RSTRT (_ADI_MSK(0x08000000,uint32_t)) /* MODE1D: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1D (_ADI_MSK(0x04000000,uint32_t)) /* Enable TRIP1 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1D: Disable TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_EN (_ADI_MSK(0x04000000,uint32_t)) /* EN1D: Enable TRIP1 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE0D (_ADI_MSK(0x02000000,uint32_t)) /* Mode of TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0D: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0D_RSTRT (_ADI_MSK(0x02000000,uint32_t)) /* MODE0D: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0D (_ADI_MSK(0x01000000,uint32_t)) /* Enable TRIP0 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0D: Disable TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_EN (_ADI_MSK(0x01000000,uint32_t)) /* EN0D: Enable TRIP0 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE1C (_ADI_MSK(0x00080000,uint32_t)) /* Mode of TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1C: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1C_RSTRT (_ADI_MSK(0x00080000,uint32_t)) /* MODE1C: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1C (_ADI_MSK(0x00040000,uint32_t)) /* Enable TRIP1 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1C: Disable TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_EN (_ADI_MSK(0x00040000,uint32_t)) /* EN1C: Enable TRIP1 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE0C (_ADI_MSK(0x00020000,uint32_t)) /* Mode of TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0C: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0C_RSTRT (_ADI_MSK(0x00020000,uint32_t)) /* MODE0C: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0C (_ADI_MSK(0x00010000,uint32_t)) /* Enable TRIP0 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0C: Disable TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_EN (_ADI_MSK(0x00010000,uint32_t)) /* EN0C: Enable TRIP0 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE1B (_ADI_MSK(0x00000800,uint32_t)) /* Mode of TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1B: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1B_RSTRT (_ADI_MSK(0x00000800,uint32_t)) /* MODE1B: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1B (_ADI_MSK(0x00000400,uint32_t)) /* Enable TRIP1 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1B: Disable TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_EN (_ADI_MSK(0x00000400,uint32_t)) /* EN1B: Enable TRIP1 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE0B (_ADI_MSK(0x00000200,uint32_t)) /* Mode of TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0B: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0B_RSTRT (_ADI_MSK(0x00000200,uint32_t)) /* MODE0B: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0B (_ADI_MSK(0x00000100,uint32_t)) /* Enable TRIP0 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0B: Disable TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_EN (_ADI_MSK(0x00000100,uint32_t)) /* EN0B: Enable TRIP0 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE1A (_ADI_MSK(0x00000008,uint32_t)) /* Mode of TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1A: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1A_RSTRT (_ADI_MSK(0x00000008,uint32_t)) /* MODE1A: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1A (_ADI_MSK(0x00000004,uint32_t)) /* Enable TRIP1 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1A: Disable TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_EN (_ADI_MSK(0x00000004,uint32_t)) /* EN1A: Enable TRIP1 for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE0A (_ADI_MSK(0x00000002,uint32_t)) /* Mode of TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0A: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0A_RSTRT (_ADI_MSK(0x00000002,uint32_t)) /* MODE0A: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0A (_ADI_MSK(0x00000001,uint32_t)) /* Enable TRIP0 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0A: Disable TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN0A: Enable TRIP0 for Channel A */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_STAT_TMR4PHASE 28 /* PWMTMR4 Phase Status */
-#define BITP_PWM_STAT_TMR3PHASE 27 /* PWMTMR3 Phase Status */
-#define BITP_PWM_STAT_TMR2PHASE 26 /* PWMTMR2 Phase Status */
-#define BITP_PWM_STAT_TMR1PHASE 25 /* PWMTMR1 Phase Status */
-#define BITP_PWM_STAT_TMR0PHASE 24 /* PWMTMR0 Phase Status */
-#define BITP_PWM_STAT_TMR4PER 20 /* PWMTMR4 Period Boundary Status */
-#define BITP_PWM_STAT_TMR3PER 19 /* PWMTMR3 Period Boundary Status */
-#define BITP_PWM_STAT_TMR2PER 18 /* PWMTMR2 Period Boundary Status */
-#define BITP_PWM_STAT_TMR1PER 17 /* PWMTMR1 Period Boundary Status */
-#define BITP_PWM_STAT_TMR0PER 16 /* PWMTMR0 Period Boundary Status */
-#define BITP_PWM_STAT_SRTRIPD 11 /* Self-Restart Trip Status for Channel D */
-#define BITP_PWM_STAT_FLTTRIPD 10 /* Fault Trip Status for Channel D */
-#define BITP_PWM_STAT_SRTRIPC 9 /* Self-Restart Trip Status for Channel C */
-#define BITP_PWM_STAT_FLTTRIPC 8 /* Fault Trip Status for Channel C */
-#define BITP_PWM_STAT_SRTRIPB 7 /* Self-Restart Trip Status for Channel B */
-#define BITP_PWM_STAT_FLTTRIPB 6 /* Fault Trip Status for Channel B */
-#define BITP_PWM_STAT_SRTRIPA 5 /* Self-Restart Trip Status for Channel A */
-#define BITP_PWM_STAT_FLTTRIPA 4 /* Fault Trip Status for Channel A */
-#define BITP_PWM_STAT_RAWTRIP1 3 /* Raw Trip 1 Status */
-#define BITP_PWM_STAT_RAWTRIP0 2 /* Raw Trip 0 Status */
-#define BITP_PWM_STAT_TRIP1 1 /* Status bit set when TRIP1 is active low */
-#define BITP_PWM_STAT_TRIP0 0 /* Status bit set when TRIP0 is active low */
-
-#define BITM_PWM_STAT_TMR4PHASE (_ADI_MSK(0x10000000,uint32_t)) /* PWMTMR4 Phase Status */
-#define ENUM_PWM_STAT_TMR4PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR4PH2 (_ADI_MSK(0x10000000,uint32_t)) /* TMR4PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR3PHASE (_ADI_MSK(0x08000000,uint32_t)) /* PWMTMR3 Phase Status */
-#define ENUM_PWM_STAT_TMR3PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR3PH2 (_ADI_MSK(0x08000000,uint32_t)) /* TMR3PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR2PHASE (_ADI_MSK(0x04000000,uint32_t)) /* PWMTMR2 Phase Status */
-#define ENUM_PWM_STAT_TMR2PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR2PH2 (_ADI_MSK(0x04000000,uint32_t)) /* TMR2PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR1PHASE (_ADI_MSK(0x02000000,uint32_t)) /* PWMTMR1 Phase Status */
-#define ENUM_PWM_STAT_TMR1PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR1PH2 (_ADI_MSK(0x02000000,uint32_t)) /* TMR1PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR0PHASE (_ADI_MSK(0x01000000,uint32_t)) /* PWMTMR0 Phase Status */
-#define ENUM_PWM_STAT_TMR0PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR0PH2 (_ADI_MSK(0x01000000,uint32_t)) /* TMR0PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER4 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary not reached */
-#define ENUM_PWM_STAT_PER4 (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary reached */
-
-#define BITM_PWM_STAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER3 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary not reached */
-#define ENUM_PWM_STAT_PER3 (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary reached */
-
-#define BITM_PWM_STAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER2 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary not reached */
-#define ENUM_PWM_STAT_PER2 (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary reached */
-
-#define BITM_PWM_STAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary not reached */
-#define ENUM_PWM_STAT_PER1 (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary reached */
-
-#define BITM_PWM_STAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER0 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary not reached */
-#define ENUM_PWM_STAT_PER0 (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary reached */
-
-#define BITM_PWM_STAT_SRTRIPD (_ADI_MSK(0x00000800,uint32_t)) /* Self-Restart Trip Status for Channel D */
-#define ENUM_PWM_STAT_SRD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRD_TRIP (_ADI_MSK(0x00000800,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPD (_ADI_MSK(0x00000400,uint32_t)) /* Fault Trip Status for Channel D */
-#define ENUM_PWM_STAT_FLTD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTD_TRIP (_ADI_MSK(0x00000400,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPC (_ADI_MSK(0x00000200,uint32_t)) /* Self-Restart Trip Status for Channel C */
-#define ENUM_PWM_STAT_SRC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRC_TRIP (_ADI_MSK(0x00000200,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPC (_ADI_MSK(0x00000100,uint32_t)) /* Fault Trip Status for Channel C */
-#define ENUM_PWM_STAT_FLTC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTC_TRIP (_ADI_MSK(0x00000100,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPB (_ADI_MSK(0x00000080,uint32_t)) /* Self-Restart Trip Status for Channel B */
-#define ENUM_PWM_STAT_SRB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRB_TRIP (_ADI_MSK(0x00000080,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPB (_ADI_MSK(0x00000040,uint32_t)) /* Fault Trip Status for Channel B */
-#define ENUM_PWM_STAT_FLTB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPB: Channel B Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTB_TRIP (_ADI_MSK(0x00000040,uint32_t)) /* FLTTRIPB: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPA (_ADI_MSK(0x00000020,uint32_t)) /* Self-Restart Trip Status for Channel A */
-#define ENUM_PWM_STAT_SRA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRA_TRIP (_ADI_MSK(0x00000020,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPA (_ADI_MSK(0x00000010,uint32_t)) /* Fault Trip Status for Channel A */
-#define ENUM_PWM_STAT_FLTA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTA_TRIP (_ADI_MSK(0x00000010,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_RAWTRIP1 (_ADI_MSK(0x00000008,uint32_t)) /* Raw Trip 1 Status */
-#define ENUM_PWM_STAT_TRIP1LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP1: TRIP1 Level is Low */
-#define ENUM_PWM_STAT_TRIP1LVL_HI (_ADI_MSK(0x00000008,uint32_t)) /* RAWTRIP1: TRIP1 Level is High */
-
-#define BITM_PWM_STAT_RAWTRIP0 (_ADI_MSK(0x00000004,uint32_t)) /* Raw Trip 0 Status */
-#define ENUM_PWM_STAT_TRIP0LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP0: TRIP0 Level is Low */
-#define ENUM_PWM_STAT_TRIP0LVL_HI (_ADI_MSK(0x00000004,uint32_t)) /* RAWTRIP0: TRIP0 Level is High */
-
-#define BITM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* Status bit set when TRIP1 is active low */
-#define ENUM_PWM_STAT_NO_TRIP1 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: TRIP1 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: TRIP1 status is "tripped" (active low) */
-
-#define BITM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* Status bit set when TRIP0 is active low */
-#define ENUM_PWM_STAT_NO_TRIP0 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: TRIP0 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: TRIP0 status is "tripped" (active low) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_IMSK_TMR4PER 20 /* PWMTMR4 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR3PER 19 /* PWMTMR3 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR2PER 18 /* PWMTMR2 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR1PER 17 /* PWMTMR1 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP1 1 /* TRIP1 Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP0 0 /* TRIP0 Interrupt Enable */
-
-#define BITM_PWM_IMSK_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER4_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: Mask PWMTMR4 Period Interrupt */
-#define ENUM_PWM_IMSK_PER4_UMSK (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Unmask PWMTMR4 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER3_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: Mask PWMTMR3 Period Interrupt */
-#define ENUM_PWM_IMSK_PER3_UMSK (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Unmask PWMTMR3 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER2_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: Mask PWMTMR2 Period Interrupt */
-#define ENUM_PWM_IMSK_PER2_UMSK (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Unmask PWMTMR2 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: Mask PWMTMR1 Period Interrupt */
-#define ENUM_PWM_IMSK_PER1_UMSK (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Unmask PWMTMR1 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: Mask PWMTMR0 Period Interrupt */
-#define ENUM_PWM_IMSK_PER0_UMSK (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Unmask PWMTMR0 Period Interrupt */
-
-#define BITM_PWM_IMSK_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: Mask TRIP1 Interrupt */
-#define ENUM_PWM_IMSK_TRIP1_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Unmask TRIP1 Interrupt */
-
-#define BITM_PWM_IMSK_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: Mask TRIP0 Interrupt */
-#define ENUM_PWM_IMSK_TRIP0_UMSK (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Unmask TRIP0 Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ILAT_TMR4PER 20 /* PWMTMR4 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR3PER 19 /* PWMTMR3 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR2PER 18 /* PWMTMR2 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR1PER 17 /* PWMTMR1 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP1 1 /* TRIP1 Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP0 0 /* TRIP0 Interrupt Latched Status */
-
-#define BITM_PWM_ILAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER4_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER4_INTHI (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER3_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER3_INTHI (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER2_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER2_INTHI (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER1_INTHI (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define ENUM_PWM_ILAT_PER0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER0_INTHI (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP1_INTHI (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP0_INTHI (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Interrupt Latched */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHOPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHOPCFG_VALUE 0 /* Gate Chopping Divisor */
-#define BITM_PWM_CHOPCFG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Gate Chopping Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DT_VALUE 0 /* Dead Time */
-#define BITM_PWM_DT_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Dead Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_SYNC_WID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_SYNC_WID_VALUE 0 /* Sync Pulse Width */
-#define BITM_PWM_SYNC_WID_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Sync Pulse Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM0_VALUE 0 /* Timer PWMTMR0 Period Value */
-#define BITM_PWM_TM0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR0 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM1_VALUE 0 /* Timer PWMTMR1 Period Value */
-#define BITM_PWM_TM1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR1 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM2_VALUE 0 /* Timer PWMTMR2 Period Value */
-#define BITM_PWM_TM2_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR2 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM3_VALUE 0 /* Timer PWMTMR3 Period Value */
-#define BITM_PWM_TM3_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR3 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM4 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM4_VALUE 0 /* Timer PWMTMR4 Period Value */
-#define BITM_PWM_TM4_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR4 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYA_VALUE 0 /* Channel A Delay Value */
-#define BITM_PWM_DLYA_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel A Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYB_VALUE 0 /* Channel B Delay Value */
-#define BITM_PWM_DLYB_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel B Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYC_VALUE 0 /* Channel C Delay Value */
-#define BITM_PWM_DLYC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel C Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYD_VALUE 0 /* Channel D Delay Value */
-#define BITM_PWM_DLYD_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel D Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ACTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_ACTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_ACTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_ACTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_ACTL_DISHI 0 /* Channel High Side Output Disable */
-
-#define BITM_PWM_ACTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define ENUM_PWM_SYM_LO (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODELO: Symmetrical */
-#define ENUM_PWM_ASYM_LO (_ADI_MSK(0x00000400,uint32_t)) /* PULSEMODELO: Asymmetrical */
-#define ENUM_PWM_LEFT_LO (_ADI_MSK(0x00000800,uint32_t)) /* PULSEMODELO: Left Half */
-#define ENUM_PWM_RIGHT_LO (_ADI_MSK(0x00000C00,uint32_t)) /* PULSEMODELO: Right Half */
-
-#define BITM_PWM_ACTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define ENUM_PWM_SYM_HI (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODEHI: Symmetrical */
-#define ENUM_PWM_ASYM_HI (_ADI_MSK(0x00000100,uint32_t)) /* PULSEMODEHI: Asymmetrical */
-#define ENUM_PWM_LEFT_HI (_ADI_MSK(0x00000200,uint32_t)) /* PULSEMODEHI: Left Half */
-#define ENUM_PWM_RIGHT_HI (_ADI_MSK(0x00000300,uint32_t)) /* PULSEMODEHI: Right Half */
-
-#define BITM_PWM_ACTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define ENUM_PWM_XOVR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* XOVR: Disable Crossover */
-#define ENUM_PWM_XOVR_EN (_ADI_MSK(0x00000004,uint32_t)) /* XOVR: Enable Crossover */
-
-#define BITM_PWM_ACTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define ENUM_PWM_LO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISLO: Disable Low Side Output */
-#define ENUM_PWM_LO_EN (_ADI_MSK(0x00000002,uint32_t)) /* DISLO: Enable Low Side Output */
-
-#define BITM_PWM_ACTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-#define ENUM_PWM_HI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISHI: Disable High Side Output */
-#define ENUM_PWM_HI_EN (_ADI_MSK(0x00000001,uint32_t)) /* DISHI: Enable High Side Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_BCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_BCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_BCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_BCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_BCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_BCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_BCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_BCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_BCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_BCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_CCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_CCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_CCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_CCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_CCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_CCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_CCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_CCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_CCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_CCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_DCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_DCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_DCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_DCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_DCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_DCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_DCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_DCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_DCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_DCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ==================================================
- Video Subsystem Registers Registers
- ================================================== */
-
-/* =========================
- VID0
- ========================= */
-#define REG_VID0_CONN 0xFFC1D000 /* VID0 Video Subsystem Connect Register */
-
-/* =========================
- VID
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- VID_CONN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_VID_CONN_PPI2BCAST 23 /* PPI_2 Broadcast Mode */
-#define BITP_VID_CONN_PPI1BCAST 22 /* PPI_1 Broadcast Mode */
-#define BITP_VID_CONN_PPI0BCAST 21 /* PPI_0 Broadcast Mode */
-#define BITP_VID_CONN_PPI2TX 16 /* PPI_2_TX Connectivity */
-#define BITP_VID_CONN_PPI1TX 12 /* PPI_1_TX Connectivity */
-#define BITP_VID_CONN_PPI0TX 8 /* PPI_0_TX Connectivity */
-#define BITP_VID_CONN_PVP0IN 4 /* PVP_IN Connectivity */
-#define BITP_VID_CONN_PIXC0IN 0 /* PIXC_IN Connectivity */
-#define BITM_VID_CONN_PPI2BCAST (_ADI_MSK(0x00800000,uint32_t)) /* PPI_2 Broadcast Mode */
-#define BITM_VID_CONN_PPI1BCAST (_ADI_MSK(0x00400000,uint32_t)) /* PPI_1 Broadcast Mode */
-#define BITM_VID_CONN_PPI0BCAST (_ADI_MSK(0x00200000,uint32_t)) /* PPI_0 Broadcast Mode */
-#define BITM_VID_CONN_PPI2TX (_ADI_MSK(0x000F0000,uint32_t)) /* PPI_2_TX Connectivity */
-#define BITM_VID_CONN_PPI1TX (_ADI_MSK(0x0000F000,uint32_t)) /* PPI_1_TX Connectivity */
-#define BITM_VID_CONN_PPI0TX (_ADI_MSK(0x00000F00,uint32_t)) /* PPI_0_TX Connectivity */
-#define BITM_VID_CONN_PVP0IN (_ADI_MSK(0x000000F0,uint32_t)) /* PVP_IN Connectivity */
-#define BITM_VID_CONN_PIXC0IN (_ADI_MSK(0x0000000F,uint32_t)) /* PIXC_IN Connectivity */
-
-/* ==================================================
- System Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- SWU0
- ========================= */
-#define REG_SWU0_GCTL 0xFFC1E000 /* SWU0 Global Control Register */
-#define REG_SWU0_GSTAT 0xFFC1E004 /* SWU0 Global Status Register */
-#define REG_SWU0_CTL0 0xFFC1E010 /* SWU0 Control Register n */
-#define REG_SWU0_CTL1 0xFFC1E030 /* SWU0 Control Register n */
-#define REG_SWU0_CTL2 0xFFC1E050 /* SWU0 Control Register n */
-#define REG_SWU0_CTL3 0xFFC1E070 /* SWU0 Control Register n */
-#define REG_SWU0_LA0 0xFFC1E014 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA1 0xFFC1E034 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA2 0xFFC1E054 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA3 0xFFC1E074 /* SWU0 Lower Address Register n */
-#define REG_SWU0_UA0 0xFFC1E018 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA1 0xFFC1E038 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA2 0xFFC1E058 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA3 0xFFC1E078 /* SWU0 Upper Address Register n */
-#define REG_SWU0_ID0 0xFFC1E01C /* SWU0 ID Register n */
-#define REG_SWU0_ID1 0xFFC1E03C /* SWU0 ID Register n */
-#define REG_SWU0_ID2 0xFFC1E05C /* SWU0 ID Register n */
-#define REG_SWU0_ID3 0xFFC1E07C /* SWU0 ID Register n */
-#define REG_SWU0_CNT0 0xFFC1E020 /* SWU0 Count Register n */
-#define REG_SWU0_CNT1 0xFFC1E040 /* SWU0 Count Register n */
-#define REG_SWU0_CNT2 0xFFC1E060 /* SWU0 Count Register n */
-#define REG_SWU0_CNT3 0xFFC1E080 /* SWU0 Count Register n */
-#define REG_SWU0_TARG0 0xFFC1E024 /* SWU0 Target Register n */
-#define REG_SWU0_TARG1 0xFFC1E044 /* SWU0 Target Register n */
-#define REG_SWU0_TARG2 0xFFC1E064 /* SWU0 Target Register n */
-#define REG_SWU0_TARG3 0xFFC1E084 /* SWU0 Target Register n */
-#define REG_SWU0_HIST0 0xFFC1E028 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST1 0xFFC1E048 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST2 0xFFC1E068 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST3 0xFFC1E088 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_CUR0 0xFFC1E02C /* SWU0 Current Register n */
-#define REG_SWU0_CUR1 0xFFC1E04C /* SWU0 Current Register n */
-#define REG_SWU0_CUR2 0xFFC1E06C /* SWU0 Current Register n */
-#define REG_SWU0_CUR3 0xFFC1E08C /* SWU0 Current Register n */
-
-/* =========================
- SWU1
- ========================= */
-#define REG_SWU1_GCTL 0xFFCAB000 /* SWU1 Global Control Register */
-#define REG_SWU1_GSTAT 0xFFCAB004 /* SWU1 Global Status Register */
-#define REG_SWU1_CTL0 0xFFCAB010 /* SWU1 Control Register n */
-#define REG_SWU1_CTL1 0xFFCAB030 /* SWU1 Control Register n */
-#define REG_SWU1_CTL2 0xFFCAB050 /* SWU1 Control Register n */
-#define REG_SWU1_CTL3 0xFFCAB070 /* SWU1 Control Register n */
-#define REG_SWU1_LA0 0xFFCAB014 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA1 0xFFCAB034 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA2 0xFFCAB054 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA3 0xFFCAB074 /* SWU1 Lower Address Register n */
-#define REG_SWU1_UA0 0xFFCAB018 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA1 0xFFCAB038 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA2 0xFFCAB058 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA3 0xFFCAB078 /* SWU1 Upper Address Register n */
-#define REG_SWU1_ID0 0xFFCAB01C /* SWU1 ID Register n */
-#define REG_SWU1_ID1 0xFFCAB03C /* SWU1 ID Register n */
-#define REG_SWU1_ID2 0xFFCAB05C /* SWU1 ID Register n */
-#define REG_SWU1_ID3 0xFFCAB07C /* SWU1 ID Register n */
-#define REG_SWU1_CNT0 0xFFCAB020 /* SWU1 Count Register n */
-#define REG_SWU1_CNT1 0xFFCAB040 /* SWU1 Count Register n */
-#define REG_SWU1_CNT2 0xFFCAB060 /* SWU1 Count Register n */
-#define REG_SWU1_CNT3 0xFFCAB080 /* SWU1 Count Register n */
-#define REG_SWU1_TARG0 0xFFCAB024 /* SWU1 Target Register n */
-#define REG_SWU1_TARG1 0xFFCAB044 /* SWU1 Target Register n */
-#define REG_SWU1_TARG2 0xFFCAB064 /* SWU1 Target Register n */
-#define REG_SWU1_TARG3 0xFFCAB084 /* SWU1 Target Register n */
-#define REG_SWU1_HIST0 0xFFCAB028 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST1 0xFFCAB048 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST2 0xFFCAB068 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST3 0xFFCAB088 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_CUR0 0xFFCAB02C /* SWU1 Current Register n */
-#define REG_SWU1_CUR1 0xFFCAB04C /* SWU1 Current Register n */
-#define REG_SWU1_CUR2 0xFFCAB06C /* SWU1 Current Register n */
-#define REG_SWU1_CUR3 0xFFCAB08C /* SWU1 Current Register n */
-
-/* =========================
- SWU2
- ========================= */
-#define REG_SWU2_GCTL 0xFFCAC000 /* SWU2 Global Control Register */
-#define REG_SWU2_GSTAT 0xFFCAC004 /* SWU2 Global Status Register */
-#define REG_SWU2_CTL0 0xFFCAC010 /* SWU2 Control Register n */
-#define REG_SWU2_CTL1 0xFFCAC030 /* SWU2 Control Register n */
-#define REG_SWU2_CTL2 0xFFCAC050 /* SWU2 Control Register n */
-#define REG_SWU2_CTL3 0xFFCAC070 /* SWU2 Control Register n */
-#define REG_SWU2_LA0 0xFFCAC014 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA1 0xFFCAC034 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA2 0xFFCAC054 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA3 0xFFCAC074 /* SWU2 Lower Address Register n */
-#define REG_SWU2_UA0 0xFFCAC018 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA1 0xFFCAC038 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA2 0xFFCAC058 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA3 0xFFCAC078 /* SWU2 Upper Address Register n */
-#define REG_SWU2_ID0 0xFFCAC01C /* SWU2 ID Register n */
-#define REG_SWU2_ID1 0xFFCAC03C /* SWU2 ID Register n */
-#define REG_SWU2_ID2 0xFFCAC05C /* SWU2 ID Register n */
-#define REG_SWU2_ID3 0xFFCAC07C /* SWU2 ID Register n */
-#define REG_SWU2_CNT0 0xFFCAC020 /* SWU2 Count Register n */
-#define REG_SWU2_CNT1 0xFFCAC040 /* SWU2 Count Register n */
-#define REG_SWU2_CNT2 0xFFCAC060 /* SWU2 Count Register n */
-#define REG_SWU2_CNT3 0xFFCAC080 /* SWU2 Count Register n */
-#define REG_SWU2_TARG0 0xFFCAC024 /* SWU2 Target Register n */
-#define REG_SWU2_TARG1 0xFFCAC044 /* SWU2 Target Register n */
-#define REG_SWU2_TARG2 0xFFCAC064 /* SWU2 Target Register n */
-#define REG_SWU2_TARG3 0xFFCAC084 /* SWU2 Target Register n */
-#define REG_SWU2_HIST0 0xFFCAC028 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST1 0xFFCAC048 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST2 0xFFCAC068 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST3 0xFFCAC088 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_CUR0 0xFFCAC02C /* SWU2 Current Register n */
-#define REG_SWU2_CUR1 0xFFCAC04C /* SWU2 Current Register n */
-#define REG_SWU2_CUR2 0xFFCAC06C /* SWU2 Current Register n */
-#define REG_SWU2_CUR3 0xFFCAC08C /* SWU2 Current Register n */
-
-/* =========================
- SWU3
- ========================= */
-#define REG_SWU3_GCTL 0xFFCAD000 /* SWU3 Global Control Register */
-#define REG_SWU3_GSTAT 0xFFCAD004 /* SWU3 Global Status Register */
-#define REG_SWU3_CTL0 0xFFCAD010 /* SWU3 Control Register n */
-#define REG_SWU3_CTL1 0xFFCAD030 /* SWU3 Control Register n */
-#define REG_SWU3_CTL2 0xFFCAD050 /* SWU3 Control Register n */
-#define REG_SWU3_CTL3 0xFFCAD070 /* SWU3 Control Register n */
-#define REG_SWU3_LA0 0xFFCAD014 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA1 0xFFCAD034 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA2 0xFFCAD054 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA3 0xFFCAD074 /* SWU3 Lower Address Register n */
-#define REG_SWU3_UA0 0xFFCAD018 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA1 0xFFCAD038 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA2 0xFFCAD058 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA3 0xFFCAD078 /* SWU3 Upper Address Register n */
-#define REG_SWU3_ID0 0xFFCAD01C /* SWU3 ID Register n */
-#define REG_SWU3_ID1 0xFFCAD03C /* SWU3 ID Register n */
-#define REG_SWU3_ID2 0xFFCAD05C /* SWU3 ID Register n */
-#define REG_SWU3_ID3 0xFFCAD07C /* SWU3 ID Register n */
-#define REG_SWU3_CNT0 0xFFCAD020 /* SWU3 Count Register n */
-#define REG_SWU3_CNT1 0xFFCAD040 /* SWU3 Count Register n */
-#define REG_SWU3_CNT2 0xFFCAD060 /* SWU3 Count Register n */
-#define REG_SWU3_CNT3 0xFFCAD080 /* SWU3 Count Register n */
-#define REG_SWU3_TARG0 0xFFCAD024 /* SWU3 Target Register n */
-#define REG_SWU3_TARG1 0xFFCAD044 /* SWU3 Target Register n */
-#define REG_SWU3_TARG2 0xFFCAD064 /* SWU3 Target Register n */
-#define REG_SWU3_TARG3 0xFFCAD084 /* SWU3 Target Register n */
-#define REG_SWU3_HIST0 0xFFCAD028 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST1 0xFFCAD048 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST2 0xFFCAD068 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST3 0xFFCAD088 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_CUR0 0xFFCAD02C /* SWU3 Current Register n */
-#define REG_SWU3_CUR1 0xFFCAD04C /* SWU3 Current Register n */
-#define REG_SWU3_CUR2 0xFFCAD06C /* SWU3 Current Register n */
-#define REG_SWU3_CUR3 0xFFCAD08C /* SWU3 Current Register n */
-
-/* =========================
- SWU4
- ========================= */
-#define REG_SWU4_GCTL 0xFFCAE000 /* SWU4 Global Control Register */
-#define REG_SWU4_GSTAT 0xFFCAE004 /* SWU4 Global Status Register */
-#define REG_SWU4_CTL0 0xFFCAE010 /* SWU4 Control Register n */
-#define REG_SWU4_CTL1 0xFFCAE030 /* SWU4 Control Register n */
-#define REG_SWU4_CTL2 0xFFCAE050 /* SWU4 Control Register n */
-#define REG_SWU4_CTL3 0xFFCAE070 /* SWU4 Control Register n */
-#define REG_SWU4_LA0 0xFFCAE014 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA1 0xFFCAE034 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA2 0xFFCAE054 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA3 0xFFCAE074 /* SWU4 Lower Address Register n */
-#define REG_SWU4_UA0 0xFFCAE018 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA1 0xFFCAE038 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA2 0xFFCAE058 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA3 0xFFCAE078 /* SWU4 Upper Address Register n */
-#define REG_SWU4_ID0 0xFFCAE01C /* SWU4 ID Register n */
-#define REG_SWU4_ID1 0xFFCAE03C /* SWU4 ID Register n */
-#define REG_SWU4_ID2 0xFFCAE05C /* SWU4 ID Register n */
-#define REG_SWU4_ID3 0xFFCAE07C /* SWU4 ID Register n */
-#define REG_SWU4_CNT0 0xFFCAE020 /* SWU4 Count Register n */
-#define REG_SWU4_CNT1 0xFFCAE040 /* SWU4 Count Register n */
-#define REG_SWU4_CNT2 0xFFCAE060 /* SWU4 Count Register n */
-#define REG_SWU4_CNT3 0xFFCAE080 /* SWU4 Count Register n */
-#define REG_SWU4_TARG0 0xFFCAE024 /* SWU4 Target Register n */
-#define REG_SWU4_TARG1 0xFFCAE044 /* SWU4 Target Register n */
-#define REG_SWU4_TARG2 0xFFCAE064 /* SWU4 Target Register n */
-#define REG_SWU4_TARG3 0xFFCAE084 /* SWU4 Target Register n */
-#define REG_SWU4_HIST0 0xFFCAE028 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST1 0xFFCAE048 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST2 0xFFCAE068 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST3 0xFFCAE088 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_CUR0 0xFFCAE02C /* SWU4 Current Register n */
-#define REG_SWU4_CUR1 0xFFCAE04C /* SWU4 Current Register n */
-#define REG_SWU4_CUR2 0xFFCAE06C /* SWU4 Current Register n */
-#define REG_SWU4_CUR3 0xFFCAE08C /* SWU4 Current Register n */
-
-/* =========================
- SWU5
- ========================= */
-#define REG_SWU5_GCTL 0xFFCAF000 /* SWU5 Global Control Register */
-#define REG_SWU5_GSTAT 0xFFCAF004 /* SWU5 Global Status Register */
-#define REG_SWU5_CTL0 0xFFCAF010 /* SWU5 Control Register n */
-#define REG_SWU5_CTL1 0xFFCAF030 /* SWU5 Control Register n */
-#define REG_SWU5_CTL2 0xFFCAF050 /* SWU5 Control Register n */
-#define REG_SWU5_CTL3 0xFFCAF070 /* SWU5 Control Register n */
-#define REG_SWU5_LA0 0xFFCAF014 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA1 0xFFCAF034 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA2 0xFFCAF054 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA3 0xFFCAF074 /* SWU5 Lower Address Register n */
-#define REG_SWU5_UA0 0xFFCAF018 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA1 0xFFCAF038 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA2 0xFFCAF058 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA3 0xFFCAF078 /* SWU5 Upper Address Register n */
-#define REG_SWU5_ID0 0xFFCAF01C /* SWU5 ID Register n */
-#define REG_SWU5_ID1 0xFFCAF03C /* SWU5 ID Register n */
-#define REG_SWU5_ID2 0xFFCAF05C /* SWU5 ID Register n */
-#define REG_SWU5_ID3 0xFFCAF07C /* SWU5 ID Register n */
-#define REG_SWU5_CNT0 0xFFCAF020 /* SWU5 Count Register n */
-#define REG_SWU5_CNT1 0xFFCAF040 /* SWU5 Count Register n */
-#define REG_SWU5_CNT2 0xFFCAF060 /* SWU5 Count Register n */
-#define REG_SWU5_CNT3 0xFFCAF080 /* SWU5 Count Register n */
-#define REG_SWU5_TARG0 0xFFCAF024 /* SWU5 Target Register n */
-#define REG_SWU5_TARG1 0xFFCAF044 /* SWU5 Target Register n */
-#define REG_SWU5_TARG2 0xFFCAF064 /* SWU5 Target Register n */
-#define REG_SWU5_TARG3 0xFFCAF084 /* SWU5 Target Register n */
-#define REG_SWU5_HIST0 0xFFCAF028 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST1 0xFFCAF048 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST2 0xFFCAF068 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST3 0xFFCAF088 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_CUR0 0xFFCAF02C /* SWU5 Current Register n */
-#define REG_SWU5_CUR1 0xFFCAF04C /* SWU5 Current Register n */
-#define REG_SWU5_CUR2 0xFFCAF06C /* SWU5 Current Register n */
-#define REG_SWU5_CUR3 0xFFCAF08C /* SWU5 Current Register n */
-
-/* =========================
- SWU6
- ========================= */
-#define REG_SWU6_GCTL 0xFFC82000 /* SWU6 Global Control Register */
-#define REG_SWU6_GSTAT 0xFFC82004 /* SWU6 Global Status Register */
-#define REG_SWU6_CTL0 0xFFC82010 /* SWU6 Control Register n */
-#define REG_SWU6_CTL1 0xFFC82030 /* SWU6 Control Register n */
-#define REG_SWU6_CTL2 0xFFC82050 /* SWU6 Control Register n */
-#define REG_SWU6_CTL3 0xFFC82070 /* SWU6 Control Register n */
-#define REG_SWU6_LA0 0xFFC82014 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA1 0xFFC82034 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA2 0xFFC82054 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA3 0xFFC82074 /* SWU6 Lower Address Register n */
-#define REG_SWU6_UA0 0xFFC82018 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA1 0xFFC82038 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA2 0xFFC82058 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA3 0xFFC82078 /* SWU6 Upper Address Register n */
-#define REG_SWU6_ID0 0xFFC8201C /* SWU6 ID Register n */
-#define REG_SWU6_ID1 0xFFC8203C /* SWU6 ID Register n */
-#define REG_SWU6_ID2 0xFFC8205C /* SWU6 ID Register n */
-#define REG_SWU6_ID3 0xFFC8207C /* SWU6 ID Register n */
-#define REG_SWU6_CNT0 0xFFC82020 /* SWU6 Count Register n */
-#define REG_SWU6_CNT1 0xFFC82040 /* SWU6 Count Register n */
-#define REG_SWU6_CNT2 0xFFC82060 /* SWU6 Count Register n */
-#define REG_SWU6_CNT3 0xFFC82080 /* SWU6 Count Register n */
-#define REG_SWU6_TARG0 0xFFC82024 /* SWU6 Target Register n */
-#define REG_SWU6_TARG1 0xFFC82044 /* SWU6 Target Register n */
-#define REG_SWU6_TARG2 0xFFC82064 /* SWU6 Target Register n */
-#define REG_SWU6_TARG3 0xFFC82084 /* SWU6 Target Register n */
-#define REG_SWU6_HIST0 0xFFC82028 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST1 0xFFC82048 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST2 0xFFC82068 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST3 0xFFC82088 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_CUR0 0xFFC8202C /* SWU6 Current Register n */
-#define REG_SWU6_CUR1 0xFFC8204C /* SWU6 Current Register n */
-#define REG_SWU6_CUR2 0xFFC8206C /* SWU6 Current Register n */
-#define REG_SWU6_CUR3 0xFFC8208C /* SWU6 Current Register n */
-
-/* =========================
- SWU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GCTL_RST 1 /* Global Reset */
-#define BITP_SWU_GCTL_EN 0 /* Global Enable */
-#define BITM_SWU_GCTL_RST (_ADI_MSK(0x00000002,uint32_t)) /* Global Reset */
-#define BITM_SWU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Global Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GSTAT_ADDRERR 30 /* Address Error Status */
-#define BITP_SWU_GSTAT_OVRBW3 15 /* Group 3 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW3 14 /* Group 3 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW2 13 /* Group 2 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW2 12 /* Group 2 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW1 11 /* Group 1 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW1 10 /* Group 1 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW0 9 /* Group 0 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW0 8 /* Group 0 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_INT3 7 /* Group 3 Interrupt Status */
-#define BITP_SWU_GSTAT_INT2 6 /* Group 2 Interrupt Status */
-#define BITP_SWU_GSTAT_INT1 5 /* Group 1 Interrupt Status */
-#define BITP_SWU_GSTAT_INT0 4 /* Group 0 Interrupt Status */
-#define BITP_SWU_GSTAT_MTCH3 3 /* Group 3 Match */
-#define BITP_SWU_GSTAT_MTCH2 2 /* Group 2 Match */
-#define BITP_SWU_GSTAT_MTCH1 1 /* Group 1 Match */
-#define BITP_SWU_GSTAT_MTCH0 0 /* Group 0 Match */
-#define BITM_SWU_GSTAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error Status */
-#define BITM_SWU_GSTAT_OVRBW3 (_ADI_MSK(0x00008000,uint32_t)) /* Group 3 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW3 (_ADI_MSK(0x00004000,uint32_t)) /* Group 3 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW2 (_ADI_MSK(0x00002000,uint32_t)) /* Group 2 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW2 (_ADI_MSK(0x00001000,uint32_t)) /* Group 2 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW1 (_ADI_MSK(0x00000800,uint32_t)) /* Group 1 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW1 (_ADI_MSK(0x00000400,uint32_t)) /* Group 1 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW0 (_ADI_MSK(0x00000200,uint32_t)) /* Group 0 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW0 (_ADI_MSK(0x00000100,uint32_t)) /* Group 0 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_INT3 (_ADI_MSK(0x00000080,uint32_t)) /* Group 3 Interrupt Status */
-#define BITM_SWU_GSTAT_INT2 (_ADI_MSK(0x00000040,uint32_t)) /* Group 2 Interrupt Status */
-#define BITM_SWU_GSTAT_INT1 (_ADI_MSK(0x00000020,uint32_t)) /* Group 1 Interrupt Status */
-#define BITM_SWU_GSTAT_INT0 (_ADI_MSK(0x00000010,uint32_t)) /* Group 0 Interrupt Status */
-#define BITM_SWU_GSTAT_MTCH3 (_ADI_MSK(0x00000008,uint32_t)) /* Group 3 Match */
-#define BITM_SWU_GSTAT_MTCH2 (_ADI_MSK(0x00000004,uint32_t)) /* Group 2 Match */
-#define BITM_SWU_GSTAT_MTCH1 (_ADI_MSK(0x00000002,uint32_t)) /* Group 1 Match */
-#define BITM_SWU_GSTAT_MTCH0 (_ADI_MSK(0x00000001,uint32_t)) /* Group 0 Match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CTL_MAXACT 19 /* Action for Bandwidth Above Maximum */
-#define BITP_SWU_CTL_MINACT 18 /* Action for Bandwidth Below Minimum */
-#define BITP_SWU_CTL_BLENINC 17 /* Increment Bandwidth Count by Burst Length */
-#define BITP_SWU_CTL_BWEN 16 /* Bandwidth Mode Enable */
-#define BITP_SWU_CTL_TMEN 15 /* Trace Message Enable */
-#define BITP_SWU_CTL_TRGEN 14 /* Trigger Enable */
-#define BITP_SWU_CTL_INTEN 13 /* Interrupt Enable */
-#define BITP_SWU_CTL_DBGEN 12 /* Debug Event Enable */
-#define BITP_SWU_CTL_CNTRPTEN 9 /* Count Repeat Enable */
-#define BITP_SWU_CTL_CNTEN 8 /* Count Enable */
-#define BITP_SWU_CTL_LCMPEN 6 /* Locked Comparison Enable */
-#define BITP_SWU_CTL_SCMPEN 5 /* Secure Comparison Enable */
-#define BITP_SWU_CTL_IDCMPEN 4 /* ID Comparison Enable */
-#define BITP_SWU_CTL_ACMPM 2 /* Address Comparison Mode */
-#define BITP_SWU_CTL_DIR 1 /* Transaction Direction for Match */
-#define BITP_SWU_CTL_EN 0 /* Enable Watchpoint */
-#define BITM_SWU_CTL_MAXACT (_ADI_MSK(0x00080000,uint32_t)) /* Action for Bandwidth Above Maximum */
-#define BITM_SWU_CTL_MINACT (_ADI_MSK(0x00040000,uint32_t)) /* Action for Bandwidth Below Minimum */
-#define BITM_SWU_CTL_BLENINC (_ADI_MSK(0x00020000,uint32_t)) /* Increment Bandwidth Count by Burst Length */
-#define BITM_SWU_CTL_BWEN (_ADI_MSK(0x00010000,uint32_t)) /* Bandwidth Mode Enable */
-#define BITM_SWU_CTL_TMEN (_ADI_MSK(0x00008000,uint32_t)) /* Trace Message Enable */
-#define BITM_SWU_CTL_TRGEN (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Enable */
-#define BITM_SWU_CTL_INTEN (_ADI_MSK(0x00002000,uint32_t)) /* Interrupt Enable */
-#define BITM_SWU_CTL_DBGEN (_ADI_MSK(0x00001000,uint32_t)) /* Debug Event Enable */
-#define BITM_SWU_CTL_CNTRPTEN (_ADI_MSK(0x00000200,uint32_t)) /* Count Repeat Enable */
-#define BITM_SWU_CTL_CNTEN (_ADI_MSK(0x00000100,uint32_t)) /* Count Enable */
-#define BITM_SWU_CTL_LCMPEN (_ADI_MSK(0x00000040,uint32_t)) /* Locked Comparison Enable */
-#define BITM_SWU_CTL_SCMPEN (_ADI_MSK(0x00000020,uint32_t)) /* Secure Comparison Enable */
-#define BITM_SWU_CTL_IDCMPEN (_ADI_MSK(0x00000010,uint32_t)) /* ID Comparison Enable */
-#define BITM_SWU_CTL_ACMPM (_ADI_MSK(0x0000000C,uint32_t)) /* Address Comparison Mode */
-#define BITM_SWU_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* Transaction Direction for Match */
-#define BITM_SWU_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable Watchpoint */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_ID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_ID_IDMASK 16 /* Identity Mask (for Or with ID) */
-#define BITP_SWU_ID_ID 0 /* Identity */
-#define BITM_SWU_ID_IDMASK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Identity Mask (for Or with ID) */
-#define BITM_SWU_ID_ID (_ADI_MSK(0x0000FFFF,uint32_t)) /* Identity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CNT_COUNT 0 /* Count */
-#define BITM_SWU_CNT_COUNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_TARG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_TARG_BWMAX 16 /* Maximum Bandwidth Target */
-#define BITP_SWU_TARG_BWMIN 0 /* Minimum Bandwidth Target */
-#define BITM_SWU_TARG_BWMAX (_ADI_MSK(0xFFFF0000,uint32_t)) /* Maximum Bandwidth Target */
-#define BITM_SWU_TARG_BWMIN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Minimum Bandwidth Target */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_HIST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_HIST_BWHIST1 16 /* Bandwidth from Window Before Last */
-#define BITP_SWU_HIST_BWHIST0 0 /* Bandwidth from Last Window */
-#define BITM_SWU_HIST_BWHIST1 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Bandwidth from Window Before Last */
-#define BITM_SWU_HIST_BWHIST0 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth from Last Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CUR_CURBW 16 /* Current Bandwidth */
-#define BITP_SWU_CUR_CURCNT 0 /* Current Count */
-#define BITM_SWU_CUR_CURBW (_ADI_MSK(0xFFFF0000,uint32_t)) /* Current Bandwidth */
-#define BITM_SWU_CUR_CURCNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Current Count */
-
-/* ==================================================
- System Debug Unit Registers
- ================================================== */
-
-/* =========================
- SDU0
- ========================= */
-#define REG_SDU0_IDCODE 0xFFC1F020 /* SDU0 ID Code Register */
-#define REG_SDU0_CTL 0xFFC1F050 /* SDU0 Control Register */
-#define REG_SDU0_STAT 0xFFC1F054 /* SDU0 Status Register */
-#define REG_SDU0_MACCTL 0xFFC1F058 /* SDU0 Memory Access Control Register */
-#define REG_SDU0_MACADDR 0xFFC1F05C /* SDU0 Memory Access Address Register */
-#define REG_SDU0_MACDATA 0xFFC1F060 /* SDU0 Memory Access Data Register */
-#define REG_SDU0_DMARD 0xFFC1F064 /* SDU0 DMA Read Data Register */
-#define REG_SDU0_DMAWD 0xFFC1F068 /* SDU0 DMA Write Data Register */
-#define REG_SDU0_MSG 0xFFC1F080 /* SDU0 Message Register */
-#define REG_SDU0_MSG_SET 0xFFC1F084 /* SDU0 Message Set Register */
-#define REG_SDU0_MSG_CLR 0xFFC1F088 /* SDU0 Message Clear Register */
-#define REG_SDU0_GHLT 0xFFC1F08C /* SDU0 Group Halt Register */
-
-/* =========================
- SDU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_IDCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_IDCODE_REVID 28 /* Revision ID */
-#define BITP_SDU_IDCODE_PRID 12 /* Product ID */
-#define BITP_SDU_IDCODE_MFID 1 /* Manufacturer ID */
-#define BITM_SDU_IDCODE_REVID (_ADI_MSK(0xF0000000,uint32_t)) /* Revision ID */
-#define BITM_SDU_IDCODE_PRID (_ADI_MSK(0x0FFFF000,uint32_t)) /* Product ID */
-#define BITM_SDU_IDCODE_MFID (_ADI_MSK(0x00000FFE,uint32_t)) /* Manufacturer ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_CTL_EHLT 8 /* Emulator Halt Select */
-#define BITP_SDU_CTL_EMEEN 4 /* Emulation Event Enable */
-#define BITP_SDU_CTL_DMAEN 2 /* DMA Enable */
-#define BITP_SDU_CTL_CSPEN 1 /* Core Scan Path Enable */
-#define BITP_SDU_CTL_SYSRST 0 /* System Reset */
-#define BITM_SDU_CTL_EHLT (_ADI_MSK(0x0000FF00,uint32_t)) /* Emulator Halt Select */
-#define BITM_SDU_CTL_EMEEN (_ADI_MSK(0x00000010,uint32_t)) /* Emulation Event Enable */
-#define BITM_SDU_CTL_DMAEN (_ADI_MSK(0x00000004,uint32_t)) /* DMA Enable */
-#define BITM_SDU_CTL_CSPEN (_ADI_MSK(0x00000002,uint32_t)) /* Core Scan Path Enable */
-#define BITM_SDU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_STAT_CRST 22 /* Core Reset */
-#define BITP_SDU_STAT_CHLT 21 /* Core Halt */
-#define BITP_SDU_STAT_EME 20 /* Emulation Event */
-#define BITP_SDU_STAT_GHLTC 17 /* Group Halt Cause */
-#define BITP_SDU_STAT_GHLT 16 /* Group Halt */
-#define BITP_SDU_STAT_DMAFIFO 12 /* DMA FIFO */
-#define BITP_SDU_STAT_ADDRERR 11 /* Address Error */
-#define BITP_SDU_STAT_DMAWDRDY 10 /* DMAWD Ready */
-#define BITP_SDU_STAT_DMARDRDY 9 /* DMARD Ready */
-#define BITP_SDU_STAT_MACRDY 8 /* MAC Ready */
-#define BITP_SDU_STAT_ERRC 4 /* Error Cause */
-#define BITP_SDU_STAT_SECURE 3 /* Secure Mode */
-#define BITP_SDU_STAT_DEEPSLEEP 2 /* Deep Sleep Mode */
-#define BITP_SDU_STAT_ERR 1 /* Error */
-#define BITP_SDU_STAT_SYSRST 0 /* System Reset */
-#define BITM_SDU_STAT_CRST (_ADI_MSK(0x00400000,uint32_t)) /* Core Reset */
-#define BITM_SDU_STAT_CHLT (_ADI_MSK(0x00200000,uint32_t)) /* Core Halt */
-#define BITM_SDU_STAT_EME (_ADI_MSK(0x00100000,uint32_t)) /* Emulation Event */
-#define BITM_SDU_STAT_GHLTC (_ADI_MSK(0x000E0000,uint32_t)) /* Group Halt Cause */
-#define BITM_SDU_STAT_GHLT (_ADI_MSK(0x00010000,uint32_t)) /* Group Halt */
-#define BITM_SDU_STAT_DMAFIFO (_ADI_MSK(0x00007000,uint32_t)) /* DMA FIFO */
-#define BITM_SDU_STAT_ADDRERR (_ADI_MSK(0x00000800,uint32_t)) /* Address Error */
-#define BITM_SDU_STAT_DMAWDRDY (_ADI_MSK(0x00000400,uint32_t)) /* DMAWD Ready */
-#define BITM_SDU_STAT_DMARDRDY (_ADI_MSK(0x00000200,uint32_t)) /* DMARD Ready */
-#define BITM_SDU_STAT_MACRDY (_ADI_MSK(0x00000100,uint32_t)) /* MAC Ready */
-#define BITM_SDU_STAT_ERRC (_ADI_MSK(0x000000F0,uint32_t)) /* Error Cause */
-#define BITM_SDU_STAT_SECURE (_ADI_MSK(0x00000008,uint32_t)) /* Secure Mode */
-#define BITM_SDU_STAT_DEEPSLEEP (_ADI_MSK(0x00000004,uint32_t)) /* Deep Sleep Mode */
-#define BITM_SDU_STAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define BITM_SDU_STAT_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MACCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MACCTL_AUTOINC 4 /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITP_SDU_MACCTL_RNW 3 /* Read Not Write */
-#define BITP_SDU_MACCTL_SIZE 0 /* Transfer Data Size */
-#define BITM_SDU_MACCTL_AUTOINC (_ADI_MSK(0x00000010,uint32_t)) /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITM_SDU_MACCTL_RNW (_ADI_MSK(0x00000008,uint32_t)) /* Read Not Write */
-#define BITM_SDU_MACCTL_SIZE (_ADI_MSK(0x00000007,uint32_t)) /* Transfer Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MSG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MSG_CALLERR 31 /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITP_SDU_MSG_CALLBACK 30 /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITP_SDU_MSG_CALLINIT 29 /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITP_SDU_MSG_CALLAPP 28 /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITP_SDU_MSG_HALTONERR 27 /* Generate an Emulation Exception Prior to an Error Call */
-#define BITP_SDU_MSG_HALTONCALL 26 /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITP_SDU_MSG_HALTONINIT 25 /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITP_SDU_MSG_HALTONAPP 24 /* Generate an Emulation Exception Prior to an Application Call */
-#define BITP_SDU_MSG_L3INIT 23 /* Indicates that the L3 Resource is Initialized */
-#define BITP_SDU_MSG_L2INIT 22 /* Indicates that the L2 Resource is Initialized */
-#define BITP_SDU_MSG_C1L1INIT 17 /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITP_SDU_MSG_C0L1INIT 16 /* Indicates that the Core 0 L1 Resource is Initialized */
-#define BITM_SDU_MSG_CALLERR (_ADI_MSK(0x80000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITM_SDU_MSG_CALLBACK (_ADI_MSK(0x40000000,uint32_t)) /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITM_SDU_MSG_CALLINIT (_ADI_MSK(0x20000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITM_SDU_MSG_CALLAPP (_ADI_MSK(0x10000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITM_SDU_MSG_HALTONERR (_ADI_MSK(0x08000000,uint32_t)) /* Generate an Emulation Exception Prior to an Error Call */
-#define BITM_SDU_MSG_HALTONCALL (_ADI_MSK(0x04000000,uint32_t)) /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITM_SDU_MSG_HALTONINIT (_ADI_MSK(0x02000000,uint32_t)) /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITM_SDU_MSG_HALTONAPP (_ADI_MSK(0x01000000,uint32_t)) /* Generate an Emulation Exception Prior to an Application Call */
-#define BITM_SDU_MSG_L3INIT (_ADI_MSK(0x00800000,uint32_t)) /* Indicates that the L3 Resource is Initialized */
-#define BITM_SDU_MSG_L2INIT (_ADI_MSK(0x00400000,uint32_t)) /* Indicates that the L2 Resource is Initialized */
-#define BITM_SDU_MSG_C1L1INIT (_ADI_MSK(0x00020000,uint32_t)) /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITM_SDU_MSG_C0L1INIT (_ADI_MSK(0x00010000,uint32_t)) /* Indicates that the Core 0 L1 Resource is Initialized */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_GHLT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_GHLT_SS2 18 /* Slave Select 2 */
-#define BITP_SDU_GHLT_SS1 17 /* Slave Select 1 */
-#define BITP_SDU_GHLT_SS0 16 /* Slave Select 0 */
-#define BITP_SDU_GHLT_MS2 2 /* Master Select 2 */
-#define BITP_SDU_GHLT_MS1 1 /* Master Select 1 */
-#define BITP_SDU_GHLT_MS0 0 /* Master Select 0 */
-#define BITM_SDU_GHLT_SS2 (_ADI_MSK(0x00040000,uint32_t)) /* Slave Select 2 */
-#define BITM_SDU_GHLT_SS1 (_ADI_MSK(0x00020000,uint32_t)) /* Slave Select 1 */
-#define BITM_SDU_GHLT_SS0 (_ADI_MSK(0x00010000,uint32_t)) /* Slave Select 0 */
-#define BITM_SDU_GHLT_MS2 (_ADI_MSK(0x00000004,uint32_t)) /* Master Select 2 */
-#define BITM_SDU_GHLT_MS1 (_ADI_MSK(0x00000002,uint32_t)) /* Master Select 1 */
-#define BITM_SDU_GHLT_MS0 (_ADI_MSK(0x00000001,uint32_t)) /* Master Select 0 */
-
-/* ==================================================
- Ethernet MAC Registers
- ================================================== */
-
-/* =========================
- EMAC0
- ========================= */
-#define REG_EMAC0_MACCFG 0xFFC20000 /* EMAC0 MAC Configuration Register */
-#define REG_EMAC0_MACFRMFILT 0xFFC20004 /* EMAC0 MAC Rx Frame Filter Register */
-#define REG_EMAC0_HASHTBL_HI 0xFFC20008 /* EMAC0 Hash Table High Register */
-#define REG_EMAC0_HASHTBL_LO 0xFFC2000C /* EMAC0 Hash Table Low Register */
-#define REG_EMAC0_SMI_ADDR 0xFFC20010 /* EMAC0 SMI Address Register */
-#define REG_EMAC0_SMI_DATA 0xFFC20014 /* EMAC0 SMI Data Register */
-#define REG_EMAC0_FLOWCTL 0xFFC20018 /* EMAC0 FLow Control Register */
-#define REG_EMAC0_VLANTAG 0xFFC2001C /* EMAC0 VLAN Tag Register */
-#define REG_EMAC0_DBG 0xFFC20024 /* EMAC0 Debug Register */
-#define REG_EMAC0_ISTAT 0xFFC20038 /* EMAC0 Interrupt Status Register */
-#define REG_EMAC0_IMSK 0xFFC2003C /* EMAC0 Interrupt Mask Register */
-#define REG_EMAC0_ADDR0_HI 0xFFC20040 /* EMAC0 MAC Address 0 High Register */
-#define REG_EMAC0_ADDR0_LO 0xFFC20044 /* EMAC0 MAC Address 0 Low Register */
-#define REG_EMAC0_MMC_CTL 0xFFC20100 /* EMAC0 MMC Control Register */
-#define REG_EMAC0_MMC_RXINT 0xFFC20104 /* EMAC0 MMC Rx Interrupt Register */
-#define REG_EMAC0_MMC_TXINT 0xFFC20108 /* EMAC0 MMC Tx Interrupt Register */
-#define REG_EMAC0_MMC_RXIMSK 0xFFC2010C /* EMAC0 MMC Rx Interrupt Mask Register */
-#define REG_EMAC0_MMC_TXIMSK 0xFFC20110 /* EMAC0 MMC TX Interrupt Mask Register */
-#define REG_EMAC0_TXOCTCNT_GB 0xFFC20114 /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC0_TXFRMCNT_GB 0xFFC20118 /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_G 0xFFC2011C /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC0_TXMCASTFRM_G 0xFFC20120 /* EMAC0 Tx Multicast Frames (Good) Register */
-#define REG_EMAC0_TX64_GB 0xFFC20124 /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX65TO127_GB 0xFFC20128 /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX128TO255_GB 0xFFC2012C /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX256TO511_GB 0xFFC20130 /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX512TO1023_GB 0xFFC20134 /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX1024TOMAX_GB 0xFFC20138 /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUCASTFRM_GB 0xFFC2013C /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXMCASTFRM_GB 0xFFC20140 /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_GB 0xFFC20144 /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUNDR_ERR 0xFFC20148 /* EMAC0 Tx Underflow Error Register */
-#define REG_EMAC0_TXSNGCOL_G 0xFFC2014C /* EMAC0 Tx Single Collision (Good) Register */
-#define REG_EMAC0_TXMULTCOL_G 0xFFC20150 /* EMAC0 Tx Multiple Collision (Good) Register */
-#define REG_EMAC0_TXDEFERRED 0xFFC20154 /* EMAC0 Tx Deferred Register */
-#define REG_EMAC0_TXLATECOL 0xFFC20158 /* EMAC0 Tx Late Collision Register */
-#define REG_EMAC0_TXEXCESSCOL 0xFFC2015C /* EMAC0 Tx Excess Collision Register */
-#define REG_EMAC0_TXCARR_ERR 0xFFC20160 /* EMAC0 Tx Carrier Error Register */
-#define REG_EMAC0_TXOCTCNT_G 0xFFC20164 /* EMAC0 Tx Octet Count (Good) Register */
-#define REG_EMAC0_TXFRMCNT_G 0xFFC20168 /* EMAC0 Tx Frame Count (Good) Register */
-#define REG_EMAC0_TXEXCESSDEF 0xFFC2016C /* EMAC0 Tx Excess Deferral Register */
-#define REG_EMAC0_TXPAUSEFRM 0xFFC20170 /* EMAC0 Tx Pause Frame Register */
-#define REG_EMAC0_TXVLANFRM_G 0xFFC20174 /* EMAC0 Tx VLAN Frames (Good) Register */
-#define REG_EMAC0_RXFRMCNT_GB 0xFFC20180 /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_GB 0xFFC20184 /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_G 0xFFC20188 /* EMAC0 Rx Octet Count (Good) Register */
-#define REG_EMAC0_RXBCASTFRM_G 0xFFC2018C /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC0_RXMCASTFRM_G 0xFFC20190 /* EMAC0 Rx Multicast Frames (Good) Register */
-#define REG_EMAC0_RXCRC_ERR 0xFFC20194 /* EMAC0 Rx CRC Error Register */
-#define REG_EMAC0_RXALIGN_ERR 0xFFC20198 /* EMAC0 Rx alignment Error Register */
-#define REG_EMAC0_RXRUNT_ERR 0xFFC2019C /* EMAC0 Rx Runt Error Register */
-#define REG_EMAC0_RXJAB_ERR 0xFFC201A0 /* EMAC0 Rx Jab Error Register */
-#define REG_EMAC0_RXUSIZE_G 0xFFC201A4 /* EMAC0 Rx Undersize (Good) Register */
-#define REG_EMAC0_RXOSIZE_G 0xFFC201A8 /* EMAC0 Rx Oversize (Good) Register */
-#define REG_EMAC0_RX64_GB 0xFFC201AC /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX65TO127_GB 0xFFC201B0 /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX128TO255_GB 0xFFC201B4 /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX256TO511_GB 0xFFC201B8 /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX512TO1023_GB 0xFFC201BC /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX1024TOMAX_GB 0xFFC201C0 /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RXUCASTFRM_G 0xFFC201C4 /* EMAC0 Rx Unicast Frames (Good) Register */
-#define REG_EMAC0_RXLEN_ERR 0xFFC201C8 /* EMAC0 Rx Length Error Register */
-#define REG_EMAC0_RXOORTYPE 0xFFC201CC /* EMAC0 Rx Out Of Range Type Register */
-#define REG_EMAC0_RXPAUSEFRM 0xFFC201D0 /* EMAC0 Rx Pause Frames Register */
-#define REG_EMAC0_RXFIFO_OVF 0xFFC201D4 /* EMAC0 Rx FIFO Overflow Register */
-#define REG_EMAC0_RXVLANFRM_GB 0xFFC201D8 /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC0_RXWDOG_ERR 0xFFC201DC /* EMAC0 Rx Watch Dog Error Register */
-#define REG_EMAC0_IPC_RXIMSK 0xFFC20200 /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC0_IPC_RXINT 0xFFC20208 /* EMAC0 MMC IPC Rx Interrupt Register */
-#define REG_EMAC0_RXIPV4_GD_FRM 0xFFC20210 /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_FRM 0xFFC20214 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_FRM 0xFFC20218 /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC0_RXIPV4_FRAG_FRM 0xFFC2021C /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC0_RXIPV4_UDSBL_FRM 0xFFC20220 /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC0_RXIPV6_GD_FRM 0xFFC20224 /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_FRM 0xFFC20228 /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC0_RXIPV6_NOPAY_FRM 0xFFC2022C /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC0_RXUDP_GD_FRM 0xFFC20230 /* EMAC0 Rx UDP Good Frames Register */
-#define REG_EMAC0_RXUDP_ERR_FRM 0xFFC20234 /* EMAC0 Rx UDP Error Frames Register */
-#define REG_EMAC0_RXTCP_GD_FRM 0xFFC20238 /* EMAC0 Rx TCP Good Frames Register */
-#define REG_EMAC0_RXTCP_ERR_FRM 0xFFC2023C /* EMAC0 Rx TCP Error Frames Register */
-#define REG_EMAC0_RXICMP_GD_FRM 0xFFC20240 /* EMAC0 Rx ICMP Good Frames Register */
-#define REG_EMAC0_RXICMP_ERR_FRM 0xFFC20244 /* EMAC0 Rx ICMP Error Frames Register */
-#define REG_EMAC0_RXIPV4_GD_OCT 0xFFC20250 /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_OCT 0xFFC20254 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_OCT 0xFFC20258 /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC0_RXIPV4_FRAG_OCT 0xFFC2025C /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC0_RXIPV4_UDSBL_OCT 0xFFC20260 /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC0_RXIPV6_GD_OCT 0xFFC20264 /* EMAC0 Rx IPv6 Good Octets Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_OCT 0xFFC20268 /* EMAC0 Rx IPv6 Header Errors Register */
-#define REG_EMAC0_RXIPV6_NOPAY_OCT 0xFFC2026C /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC0_RXUDP_GD_OCT 0xFFC20270 /* EMAC0 Rx UDP Good Octets Register */
-#define REG_EMAC0_RXUDP_ERR_OCT 0xFFC20274 /* EMAC0 Rx UDP Error Octets Register */
-#define REG_EMAC0_RXTCP_GD_OCT 0xFFC20278 /* EMAC0 Rx TCP Good Octets Register */
-#define REG_EMAC0_RXTCP_ERR_OCT 0xFFC2027C /* EMAC0 Rx TCP Error Octets Register */
-#define REG_EMAC0_RXICMP_GD_OCT 0xFFC20280 /* EMAC0 Rx ICMP Good Octets Register */
-#define REG_EMAC0_RXICMP_ERR_OCT 0xFFC20284 /* EMAC0 Rx ICMP Error Octets Register */
-#define REG_EMAC0_TM_CTL 0xFFC20700 /* EMAC0 Time Stamp Control Register */
-#define REG_EMAC0_TM_SUBSEC 0xFFC20704 /* EMAC0 Time Stamp Sub Second Increment Register */
-#define REG_EMAC0_TM_SEC 0xFFC20708 /* EMAC0 Time Stamp Low Seconds Register */
-#define REG_EMAC0_TM_NSEC 0xFFC2070C /* EMAC0 Time Stamp Nano Seconds Register */
-#define REG_EMAC0_TM_SECUPDT 0xFFC20710 /* EMAC0 Time Stamp Seconds Update Register */
-#define REG_EMAC0_TM_NSECUPDT 0xFFC20714 /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC0_TM_ADDEND 0xFFC20718 /* EMAC0 Time Stamp Addend Register */
-#define REG_EMAC0_TM_TGTM 0xFFC2071C /* EMAC0 Time Stamp Target Time Seconds Register */
-#define REG_EMAC0_TM_NTGTM 0xFFC20720 /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC0_TM_HISEC 0xFFC20724 /* EMAC0 Time Stamp High Second Register */
-#define REG_EMAC0_TM_STMPSTAT 0xFFC20728 /* EMAC0 Time Stamp Status Register */
-#define REG_EMAC0_TM_PPSCTL 0xFFC2072C /* EMAC0 PPS Control Register */
-#define REG_EMAC0_TM_AUXSTMP_NSEC 0xFFC20730 /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC0_TM_AUXSTMP_SEC 0xFFC20734 /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC0_TM_PPSINTVL 0xFFC20760 /* EMAC0 Time Stamp PPS Interval Register */
-#define REG_EMAC0_TM_PPSWIDTH 0xFFC20764 /* EMAC0 PPS Width Register */
-#define REG_EMAC0_DMA_BUSMODE 0xFFC21000 /* EMAC0 DMA Bus Mode Register */
-#define REG_EMAC0_DMA_TXPOLL 0xFFC21004 /* EMAC0 DMA Tx Poll Demand Register */
-#define REG_EMAC0_DMA_RXPOLL 0xFFC21008 /* EMAC0 DMA Rx Poll Demand register */
-#define REG_EMAC0_DMA_RXDSC_ADDR 0xFFC2100C /* EMAC0 DMA Rx Descriptor List Address Register */
-#define REG_EMAC0_DMA_TXDSC_ADDR 0xFFC21010 /* EMAC0 DMA Tx Descriptor List Address Register */
-#define REG_EMAC0_DMA_STAT 0xFFC21014 /* EMAC0 DMA Status Register */
-#define REG_EMAC0_DMA_OPMODE 0xFFC21018 /* EMAC0 DMA Operation Mode Register */
-#define REG_EMAC0_DMA_IEN 0xFFC2101C /* EMAC0 DMA Interrupt Enable Register */
-#define REG_EMAC0_DMA_MISS_FRM 0xFFC21020 /* EMAC0 DMA Missed Frame Register */
-#define REG_EMAC0_DMA_RXIWDOG 0xFFC21024 /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC0_DMA_BMMODE 0xFFC21028 /* EMAC0 DMA SCB Bus Mode Register */
-#define REG_EMAC0_DMA_BMSTAT 0xFFC2102C /* EMAC0 DMA SCB Status Register */
-#define REG_EMAC0_DMA_TXDSC_CUR 0xFFC21048 /* EMAC0 DMA Tx Descriptor Current Register */
-#define REG_EMAC0_DMA_RXDSC_CUR 0xFFC2104C /* EMAC0 DMA Rx Descriptor Current Register */
-#define REG_EMAC0_DMA_TXBUF_CUR 0xFFC21050 /* EMAC0 DMA Tx Buffer Current Register */
-#define REG_EMAC0_DMA_RXBUF_CUR 0xFFC21054 /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC1
- ========================= */
-#define REG_EMAC1_MACCFG 0xFFC22000 /* EMAC1 MAC Configuration Register */
-#define REG_EMAC1_MACFRMFILT 0xFFC22004 /* EMAC1 MAC Rx Frame Filter Register */
-#define REG_EMAC1_HASHTBL_HI 0xFFC22008 /* EMAC1 Hash Table High Register */
-#define REG_EMAC1_HASHTBL_LO 0xFFC2200C /* EMAC1 Hash Table Low Register */
-#define REG_EMAC1_SMI_ADDR 0xFFC22010 /* EMAC1 SMI Address Register */
-#define REG_EMAC1_SMI_DATA 0xFFC22014 /* EMAC1 SMI Data Register */
-#define REG_EMAC1_FLOWCTL 0xFFC22018 /* EMAC1 FLow Control Register */
-#define REG_EMAC1_VLANTAG 0xFFC2201C /* EMAC1 VLAN Tag Register */
-#define REG_EMAC1_DBG 0xFFC22024 /* EMAC1 Debug Register */
-#define REG_EMAC1_ISTAT 0xFFC22038 /* EMAC1 Interrupt Status Register */
-#define REG_EMAC1_IMSK 0xFFC2203C /* EMAC1 Interrupt Mask Register */
-#define REG_EMAC1_ADDR0_HI 0xFFC22040 /* EMAC1 MAC Address 0 High Register */
-#define REG_EMAC1_ADDR0_LO 0xFFC22044 /* EMAC1 MAC Address 0 Low Register */
-#define REG_EMAC1_MMC_CTL 0xFFC22100 /* EMAC1 MMC Control Register */
-#define REG_EMAC1_MMC_RXINT 0xFFC22104 /* EMAC1 MMC Rx Interrupt Register */
-#define REG_EMAC1_MMC_TXINT 0xFFC22108 /* EMAC1 MMC Tx Interrupt Register */
-#define REG_EMAC1_MMC_RXIMSK 0xFFC2210C /* EMAC1 MMC Rx Interrupt Mask Register */
-#define REG_EMAC1_MMC_TXIMSK 0xFFC22110 /* EMAC1 MMC TX Interrupt Mask Register */
-#define REG_EMAC1_TXOCTCNT_GB 0xFFC22114 /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC1_TXFRMCNT_GB 0xFFC22118 /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_G 0xFFC2211C /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC1_TXMCASTFRM_G 0xFFC22120 /* EMAC1 Tx Multicast Frames (Good) Register */
-#define REG_EMAC1_TX64_GB 0xFFC22124 /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX65TO127_GB 0xFFC22128 /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX128TO255_GB 0xFFC2212C /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX256TO511_GB 0xFFC22130 /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX512TO1023_GB 0xFFC22134 /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX1024TOMAX_GB 0xFFC22138 /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUCASTFRM_GB 0xFFC2213C /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXMCASTFRM_GB 0xFFC22140 /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_GB 0xFFC22144 /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUNDR_ERR 0xFFC22148 /* EMAC1 Tx Underflow Error Register */
-#define REG_EMAC1_TXSNGCOL_G 0xFFC2214C /* EMAC1 Tx Single Collision (Good) Register */
-#define REG_EMAC1_TXMULTCOL_G 0xFFC22150 /* EMAC1 Tx Multiple Collision (Good) Register */
-#define REG_EMAC1_TXDEFERRED 0xFFC22154 /* EMAC1 Tx Deferred Register */
-#define REG_EMAC1_TXLATECOL 0xFFC22158 /* EMAC1 Tx Late Collision Register */
-#define REG_EMAC1_TXEXCESSCOL 0xFFC2215C /* EMAC1 Tx Excess Collision Register */
-#define REG_EMAC1_TXCARR_ERR 0xFFC22160 /* EMAC1 Tx Carrier Error Register */
-#define REG_EMAC1_TXOCTCNT_G 0xFFC22164 /* EMAC1 Tx Octet Count (Good) Register */
-#define REG_EMAC1_TXFRMCNT_G 0xFFC22168 /* EMAC1 Tx Frame Count (Good) Register */
-#define REG_EMAC1_TXEXCESSDEF 0xFFC2216C /* EMAC1 Tx Excess Deferral Register */
-#define REG_EMAC1_TXPAUSEFRM 0xFFC22170 /* EMAC1 Tx Pause Frame Register */
-#define REG_EMAC1_TXVLANFRM_G 0xFFC22174 /* EMAC1 Tx VLAN Frames (Good) Register */
-#define REG_EMAC1_RXFRMCNT_GB 0xFFC22180 /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_GB 0xFFC22184 /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_G 0xFFC22188 /* EMAC1 Rx Octet Count (Good) Register */
-#define REG_EMAC1_RXBCASTFRM_G 0xFFC2218C /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC1_RXMCASTFRM_G 0xFFC22190 /* EMAC1 Rx Multicast Frames (Good) Register */
-#define REG_EMAC1_RXCRC_ERR 0xFFC22194 /* EMAC1 Rx CRC Error Register */
-#define REG_EMAC1_RXALIGN_ERR 0xFFC22198 /* EMAC1 Rx alignment Error Register */
-#define REG_EMAC1_RXRUNT_ERR 0xFFC2219C /* EMAC1 Rx Runt Error Register */
-#define REG_EMAC1_RXJAB_ERR 0xFFC221A0 /* EMAC1 Rx Jab Error Register */
-#define REG_EMAC1_RXUSIZE_G 0xFFC221A4 /* EMAC1 Rx Undersize (Good) Register */
-#define REG_EMAC1_RXOSIZE_G 0xFFC221A8 /* EMAC1 Rx Oversize (Good) Register */
-#define REG_EMAC1_RX64_GB 0xFFC221AC /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX65TO127_GB 0xFFC221B0 /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX128TO255_GB 0xFFC221B4 /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX256TO511_GB 0xFFC221B8 /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX512TO1023_GB 0xFFC221BC /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX1024TOMAX_GB 0xFFC221C0 /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RXUCASTFRM_G 0xFFC221C4 /* EMAC1 Rx Unicast Frames (Good) Register */
-#define REG_EMAC1_RXLEN_ERR 0xFFC221C8 /* EMAC1 Rx Length Error Register */
-#define REG_EMAC1_RXOORTYPE 0xFFC221CC /* EMAC1 Rx Out Of Range Type Register */
-#define REG_EMAC1_RXPAUSEFRM 0xFFC221D0 /* EMAC1 Rx Pause Frames Register */
-#define REG_EMAC1_RXFIFO_OVF 0xFFC221D4 /* EMAC1 Rx FIFO Overflow Register */
-#define REG_EMAC1_RXVLANFRM_GB 0xFFC221D8 /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC1_RXWDOG_ERR 0xFFC221DC /* EMAC1 Rx Watch Dog Error Register */
-#define REG_EMAC1_IPC_RXIMSK 0xFFC22200 /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC1_IPC_RXINT 0xFFC22208 /* EMAC1 MMC IPC Rx Interrupt Register */
-#define REG_EMAC1_RXIPV4_GD_FRM 0xFFC22210 /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_FRM 0xFFC22214 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_FRM 0xFFC22218 /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC1_RXIPV4_FRAG_FRM 0xFFC2221C /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC1_RXIPV4_UDSBL_FRM 0xFFC22220 /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC1_RXIPV6_GD_FRM 0xFFC22224 /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_FRM 0xFFC22228 /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC1_RXIPV6_NOPAY_FRM 0xFFC2222C /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC1_RXUDP_GD_FRM 0xFFC22230 /* EMAC1 Rx UDP Good Frames Register */
-#define REG_EMAC1_RXUDP_ERR_FRM 0xFFC22234 /* EMAC1 Rx UDP Error Frames Register */
-#define REG_EMAC1_RXTCP_GD_FRM 0xFFC22238 /* EMAC1 Rx TCP Good Frames Register */
-#define REG_EMAC1_RXTCP_ERR_FRM 0xFFC2223C /* EMAC1 Rx TCP Error Frames Register */
-#define REG_EMAC1_RXICMP_GD_FRM 0xFFC22240 /* EMAC1 Rx ICMP Good Frames Register */
-#define REG_EMAC1_RXICMP_ERR_FRM 0xFFC22244 /* EMAC1 Rx ICMP Error Frames Register */
-#define REG_EMAC1_RXIPV4_GD_OCT 0xFFC22250 /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_OCT 0xFFC22254 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_OCT 0xFFC22258 /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC1_RXIPV4_FRAG_OCT 0xFFC2225C /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC1_RXIPV4_UDSBL_OCT 0xFFC22260 /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC1_RXIPV6_GD_OCT 0xFFC22264 /* EMAC1 Rx IPv6 Good Octets Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_OCT 0xFFC22268 /* EMAC1 Rx IPv6 Header Errors Register */
-#define REG_EMAC1_RXIPV6_NOPAY_OCT 0xFFC2226C /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC1_RXUDP_GD_OCT 0xFFC22270 /* EMAC1 Rx UDP Good Octets Register */
-#define REG_EMAC1_RXUDP_ERR_OCT 0xFFC22274 /* EMAC1 Rx UDP Error Octets Register */
-#define REG_EMAC1_RXTCP_GD_OCT 0xFFC22278 /* EMAC1 Rx TCP Good Octets Register */
-#define REG_EMAC1_RXTCP_ERR_OCT 0xFFC2227C /* EMAC1 Rx TCP Error Octets Register */
-#define REG_EMAC1_RXICMP_GD_OCT 0xFFC22280 /* EMAC1 Rx ICMP Good Octets Register */
-#define REG_EMAC1_RXICMP_ERR_OCT 0xFFC22284 /* EMAC1 Rx ICMP Error Octets Register */
-#define REG_EMAC1_TM_CTL 0xFFC22700 /* EMAC1 Time Stamp Control Register */
-#define REG_EMAC1_TM_SUBSEC 0xFFC22704 /* EMAC1 Time Stamp Sub Second Increment Register */
-#define REG_EMAC1_TM_SEC 0xFFC22708 /* EMAC1 Time Stamp Low Seconds Register */
-#define REG_EMAC1_TM_NSEC 0xFFC2270C /* EMAC1 Time Stamp Nano Seconds Register */
-#define REG_EMAC1_TM_SECUPDT 0xFFC22710 /* EMAC1 Time Stamp Seconds Update Register */
-#define REG_EMAC1_TM_NSECUPDT 0xFFC22714 /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC1_TM_ADDEND 0xFFC22718 /* EMAC1 Time Stamp Addend Register */
-#define REG_EMAC1_TM_TGTM 0xFFC2271C /* EMAC1 Time Stamp Target Time Seconds Register */
-#define REG_EMAC1_TM_NTGTM 0xFFC22720 /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC1_TM_HISEC 0xFFC22724 /* EMAC1 Time Stamp High Second Register */
-#define REG_EMAC1_TM_STMPSTAT 0xFFC22728 /* EMAC1 Time Stamp Status Register */
-#define REG_EMAC1_TM_PPSCTL 0xFFC2272C /* EMAC1 PPS Control Register */
-#define REG_EMAC1_TM_AUXSTMP_NSEC 0xFFC22730 /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC1_TM_AUXSTMP_SEC 0xFFC22734 /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC1_TM_PPSINTVL 0xFFC22760 /* EMAC1 Time Stamp PPS Interval Register */
-#define REG_EMAC1_TM_PPSWIDTH 0xFFC22764 /* EMAC1 PPS Width Register */
-#define REG_EMAC1_DMA_BUSMODE 0xFFC23000 /* EMAC1 DMA Bus Mode Register */
-#define REG_EMAC1_DMA_TXPOLL 0xFFC23004 /* EMAC1 DMA Tx Poll Demand Register */
-#define REG_EMAC1_DMA_RXPOLL 0xFFC23008 /* EMAC1 DMA Rx Poll Demand register */
-#define REG_EMAC1_DMA_RXDSC_ADDR 0xFFC2300C /* EMAC1 DMA Rx Descriptor List Address Register */
-#define REG_EMAC1_DMA_TXDSC_ADDR 0xFFC23010 /* EMAC1 DMA Tx Descriptor List Address Register */
-#define REG_EMAC1_DMA_STAT 0xFFC23014 /* EMAC1 DMA Status Register */
-#define REG_EMAC1_DMA_OPMODE 0xFFC23018 /* EMAC1 DMA Operation Mode Register */
-#define REG_EMAC1_DMA_IEN 0xFFC2301C /* EMAC1 DMA Interrupt Enable Register */
-#define REG_EMAC1_DMA_MISS_FRM 0xFFC23020 /* EMAC1 DMA Missed Frame Register */
-#define REG_EMAC1_DMA_RXIWDOG 0xFFC23024 /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC1_DMA_BMMODE 0xFFC23028 /* EMAC1 DMA SCB Bus Mode Register */
-#define REG_EMAC1_DMA_BMSTAT 0xFFC2302C /* EMAC1 DMA SCB Status Register */
-#define REG_EMAC1_DMA_TXDSC_CUR 0xFFC23048 /* EMAC1 DMA Tx Descriptor Current Register */
-#define REG_EMAC1_DMA_RXDSC_CUR 0xFFC2304C /* EMAC1 DMA Rx Descriptor Current Register */
-#define REG_EMAC1_DMA_TXBUF_CUR 0xFFC23050 /* EMAC1 DMA Tx Buffer Current Register */
-#define REG_EMAC1_DMA_RXBUF_CUR 0xFFC23054 /* EMAC1 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACCFG_CST 25 /* CRC Stripping */
-#define BITP_EMAC_MACCFG_WD 23 /* Watch Dog Disable */
-#define BITP_EMAC_MACCFG_JB 22 /* Jabber Disable */
-#define BITP_EMAC_MACCFG_JE 20 /* Jumbo Frame Enable */
-#define BITP_EMAC_MACCFG_IFG 17 /* Inter Frame Gap */
-#define BITP_EMAC_MACCFG_DCRS 16 /* Disable Carrier Sense */
-#define BITP_EMAC_MACCFG_FES 14 /* Speed of Operation */
-#define BITP_EMAC_MACCFG_DO 13 /* Disable Receive Own */
-#define BITP_EMAC_MACCFG_LM 12 /* Loopback Mode */
-#define BITP_EMAC_MACCFG_DM 11 /* Duplex Mode */
-#define BITP_EMAC_MACCFG_IPC 10 /* IP Checksum */
-#define BITP_EMAC_MACCFG_DR 9 /* Disable Retry */
-#define BITP_EMAC_MACCFG_ACS 7 /* Automatic Pad/CRC Stripping */
-#define BITP_EMAC_MACCFG_BL 5 /* Back Off Limit */
-#define BITP_EMAC_MACCFG_DC 4 /* Deferral Check */
-#define BITP_EMAC_MACCFG_TE 3 /* Transmitter Enable */
-#define BITP_EMAC_MACCFG_RE 2 /* Receiver Enable */
-#define BITM_EMAC_MACCFG_CST (_ADI_MSK(0x02000000,uint32_t)) /* CRC Stripping */
-#define BITM_EMAC_MACCFG_WD (_ADI_MSK(0x00800000,uint32_t)) /* Watch Dog Disable */
-#define BITM_EMAC_MACCFG_JB (_ADI_MSK(0x00400000,uint32_t)) /* Jabber Disable */
-#define BITM_EMAC_MACCFG_JE (_ADI_MSK(0x00100000,uint32_t)) /* Jumbo Frame Enable */
-
-#define BITM_EMAC_MACCFG_IFG (_ADI_MSK(0x000E0000,uint32_t)) /* Inter Frame Gap */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_96 (_ADI_MSK(0x00000000,uint32_t)) /* IFG: 96 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_88 (_ADI_MSK(0x00020000,uint32_t)) /* IFG: 88 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_80 (_ADI_MSK(0x00040000,uint32_t)) /* IFG: 80 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_72 (_ADI_MSK(0x00060000,uint32_t)) /* IFG: 72 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_64 (_ADI_MSK(0x00080000,uint32_t)) /* IFG: 64 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_56 (_ADI_MSK(0x000A0000,uint32_t)) /* IFG: 56 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_48 (_ADI_MSK(0x000C0000,uint32_t)) /* IFG: 48 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_40 (_ADI_MSK(0x000E0000,uint32_t)) /* IFG: 40 bit times */
-#define BITM_EMAC_MACCFG_DCRS (_ADI_MSK(0x00010000,uint32_t)) /* Disable Carrier Sense */
-#define BITM_EMAC_MACCFG_FES (_ADI_MSK(0x00004000,uint32_t)) /* Speed of Operation */
-#define BITM_EMAC_MACCFG_DO (_ADI_MSK(0x00002000,uint32_t)) /* Disable Receive Own */
-#define BITM_EMAC_MACCFG_LM (_ADI_MSK(0x00001000,uint32_t)) /* Loopback Mode */
-#define BITM_EMAC_MACCFG_DM (_ADI_MSK(0x00000800,uint32_t)) /* Duplex Mode */
-#define BITM_EMAC_MACCFG_IPC (_ADI_MSK(0x00000400,uint32_t)) /* IP Checksum */
-
-#define BITM_EMAC_MACCFG_DR (_ADI_MSK(0x00000200,uint32_t)) /* Disable Retry */
-#define ENUM_EMAC_MACCFG_RETRY_ENABLED (_ADI_MSK(0x00000000,uint32_t)) /* DR: Retry enabled */
-#define ENUM_EMAC_MACCFG_RETRY_DISABLED (_ADI_MSK(0x00000200,uint32_t)) /* DR: Retry disabled */
-#define BITM_EMAC_MACCFG_ACS (_ADI_MSK(0x00000080,uint32_t)) /* Automatic Pad/CRC Stripping */
-
-#define BITM_EMAC_MACCFG_BL (_ADI_MSK(0x00000060,uint32_t)) /* Back Off Limit */
-#define ENUM_EMAC_MACCFG_BL_10 (_ADI_MSK(0x00000000,uint32_t)) /* BL: k = min (n, 10) */
-#define ENUM_EMAC_MACCFG_BL_8 (_ADI_MSK(0x00000020,uint32_t)) /* BL: k = min (n, 8) */
-#define ENUM_EMAC_MACCFG_BL_4 (_ADI_MSK(0x00000040,uint32_t)) /* BL: k = min (n, 4) */
-#define ENUM_EMAC_MACCFG_BL_1 (_ADI_MSK(0x00000060,uint32_t)) /* BL: k = min (n, 1) */
-#define BITM_EMAC_MACCFG_DC (_ADI_MSK(0x00000010,uint32_t)) /* Deferral Check */
-#define BITM_EMAC_MACCFG_TE (_ADI_MSK(0x00000008,uint32_t)) /* Transmitter Enable */
-#define BITM_EMAC_MACCFG_RE (_ADI_MSK(0x00000004,uint32_t)) /* Receiver Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACFRMFILT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACFRMFILT_RA 31 /* Receive All Frames */
-#define BITP_EMAC_MACFRMFILT_HPF 10 /* Hash or Perfect Filter */
-#define BITP_EMAC_MACFRMFILT_PCF 6 /* Pass Control Frames */
-#define BITP_EMAC_MACFRMFILT_DBF 5 /* Disable Broadcast Frames */
-#define BITP_EMAC_MACFRMFILT_PM 4 /* Pass All Multicast Frames */
-#define BITP_EMAC_MACFRMFILT_DAIF 3 /* Destination Address Inverse Filtering */
-#define BITP_EMAC_MACFRMFILT_HMC 2 /* Hash Multicast */
-#define BITP_EMAC_MACFRMFILT_HUC 1 /* Hash Unicast */
-#define BITP_EMAC_MACFRMFILT_PR 0 /* Promiscuous Mode */
-#define BITM_EMAC_MACFRMFILT_RA (_ADI_MSK(0x80000000,uint32_t)) /* Receive All Frames */
-#define BITM_EMAC_MACFRMFILT_HPF (_ADI_MSK(0x00000400,uint32_t)) /* Hash or Perfect Filter */
-
-#define BITM_EMAC_MACFRMFILT_PCF (_ADI_MSK(0x000000C0,uint32_t)) /* Pass Control Frames */
-#define ENUM_EMAC_MACFRMFILT_FILT_ALL (_ADI_MSK(0x00000000,uint32_t)) /* PCF: Pass no control frames */
-#define ENUM_EMAC_MACFRMFILT_NO_PAUSE (_ADI_MSK(0x00000040,uint32_t)) /* PCF: Pass no PAUSE frames */
-#define ENUM_EMAC_MACFRMFILT_FWD_ALL (_ADI_MSK(0x00000080,uint32_t)) /* PCF: Pass all control frames */
-#define ENUM_EMAC_MACFRMFILT_PADR_FILT (_ADI_MSK(0x000000C0,uint32_t)) /* PCF: Pass address filtered control frames */
-
-#define BITM_EMAC_MACFRMFILT_DBF (_ADI_MSK(0x00000020,uint32_t)) /* Disable Broadcast Frames */
-#define ENUM_EMAC_MACFRMFILT_DIS_BCAST (_ADI_MSK(0x00000000,uint32_t)) /* DBF: AFM module passes all received broadcast frames */
-#define ENUM_EMAC_MACFRMFILT_EN_BCAST (_ADI_MSK(0x00000020,uint32_t)) /* DBF: AFM module filters all incoming broadcast frames */
-#define BITM_EMAC_MACFRMFILT_PM (_ADI_MSK(0x00000010,uint32_t)) /* Pass All Multicast Frames */
-#define BITM_EMAC_MACFRMFILT_DAIF (_ADI_MSK(0x00000008,uint32_t)) /* Destination Address Inverse Filtering */
-#define BITM_EMAC_MACFRMFILT_HMC (_ADI_MSK(0x00000004,uint32_t)) /* Hash Multicast */
-#define BITM_EMAC_MACFRMFILT_HUC (_ADI_MSK(0x00000002,uint32_t)) /* Hash Unicast */
-#define BITM_EMAC_MACFRMFILT_PR (_ADI_MSK(0x00000001,uint32_t)) /* Promiscuous Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_ADDR_PA 11 /* Physical Layer Address */
-#define BITP_EMAC_SMI_ADDR_SMIR 6 /* SMI Register Address */
-#define BITP_EMAC_SMI_ADDR_CR 2 /* Clock Range */
-#define BITP_EMAC_SMI_ADDR_SMIW 1 /* SMI Write */
-#define BITP_EMAC_SMI_ADDR_SMIB 0 /* SMI Busy */
-#define BITM_EMAC_SMI_ADDR_PA (_ADI_MSK(0x0000F800,uint32_t)) /* Physical Layer Address */
-#define BITM_EMAC_SMI_ADDR_SMIR (_ADI_MSK(0x000007C0,uint32_t)) /* SMI Register Address */
-#define BITM_EMAC_SMI_ADDR_CR (_ADI_MSK(0x0000003C,uint32_t)) /* Clock Range */
-#define BITM_EMAC_SMI_ADDR_SMIW (_ADI_MSK(0x00000002,uint32_t)) /* SMI Write */
-#define BITM_EMAC_SMI_ADDR_SMIB (_ADI_MSK(0x00000001,uint32_t)) /* SMI Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_DATA_SMID 0 /* SMI Data */
-#define BITM_EMAC_SMI_DATA_SMID (_ADI_MSK(0x0000FFFF,uint32_t)) /* SMI Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_FLOWCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_FLOWCTL_PT 16 /* Pause Time */
-#define BITP_EMAC_FLOWCTL_UP 3 /* Unicast Pause Frame Detect */
-#define BITP_EMAC_FLOWCTL_RFE 2 /* Receive Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_TFE 1 /* Transmit Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_FCBBPA 0 /* Initiate Pause Control Frame */
-#define BITM_EMAC_FLOWCTL_PT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Pause Time */
-#define BITM_EMAC_FLOWCTL_UP (_ADI_MSK(0x00000008,uint32_t)) /* Unicast Pause Frame Detect */
-#define BITM_EMAC_FLOWCTL_RFE (_ADI_MSK(0x00000004,uint32_t)) /* Receive Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_TFE (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_FCBBPA (_ADI_MSK(0x00000001,uint32_t)) /* Initiate Pause Control Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_VLANTAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_VLANTAG_ETV 16 /* Enable Tag VLAN Comparison */
-#define BITP_EMAC_VLANTAG_VL 0 /* VLAN Tag Id Receive Frames */
-#define BITM_EMAC_VLANTAG_ETV (_ADI_MSK(0x00010000,uint32_t)) /* Enable Tag VLAN Comparison */
-#define BITM_EMAC_VLANTAG_VL (_ADI_MSK(0x0000FFFF,uint32_t)) /* VLAN Tag Id Receive Frames */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DBG_TXFIFOFULL 25 /* Tx FIFO Full */
-#define BITP_EMAC_DBG_TXFIFONE 24 /* Tx FIFO Not Empty */
-#define BITP_EMAC_DBG_TXFIFOACT 22 /* Tx FIFO Active */
-#define BITP_EMAC_DBG_TXFIFOCTLST 20 /* Tx FIFO Controller State */
-#define BITP_EMAC_DBG_TXPAUSE 19 /* Tx Paused */
-#define BITP_EMAC_DBG_TXFRCTL 17 /* Tx Frame Controller State */
-#define BITP_EMAC_DBG_MMTEA 16 /* MM Tx Engine Active */
-#define BITP_EMAC_DBG_RXFIFOST 8 /* Rx FIFO State */
-#define BITP_EMAC_DBG_RXFIFOCTLST 5 /* Rx FIFO Controller State */
-#define BITP_EMAC_DBG_RXFIFOACT 4 /* Rx FIFO Active */
-#define BITP_EMAC_DBG_SFIFOST 1 /* Small FIFO State */
-#define BITP_EMAC_DBG_MMREA 0 /* MM Rx Engine Active */
-#define BITM_EMAC_DBG_TXFIFOFULL (_ADI_MSK(0x02000000,uint32_t)) /* Tx FIFO Full */
-#define BITM_EMAC_DBG_TXFIFONE (_ADI_MSK(0x01000000,uint32_t)) /* Tx FIFO Not Empty */
-#define BITM_EMAC_DBG_TXFIFOACT (_ADI_MSK(0x00400000,uint32_t)) /* Tx FIFO Active */
-#define BITM_EMAC_DBG_TXFIFOCTLST (_ADI_MSK(0x00300000,uint32_t)) /* Tx FIFO Controller State */
-#define BITM_EMAC_DBG_TXPAUSE (_ADI_MSK(0x00080000,uint32_t)) /* Tx Paused */
-
-#define BITM_EMAC_DBG_TXFRCTL (_ADI_MSK(0x00060000,uint32_t)) /* Tx Frame Controller State */
-#define ENUM_EMAC_DBG_TXFRCTL_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* TXFRCTL: Idle */
-#define ENUM_EMAC_DBG_TXFRCTL_WT_STATUS (_ADI_MSK(0x00020000,uint32_t)) /* TXFRCTL: Wait */
-#define ENUM_EMAC_DBG_TXFRCTL_PAUSE (_ADI_MSK(0x00040000,uint32_t)) /* TXFRCTL: Pause */
-#define ENUM_EMAC_DBG_TXFRCTL_TXFRAME (_ADI_MSK(0x00060000,uint32_t)) /* TXFRCTL: Transmit */
-#define BITM_EMAC_DBG_MMTEA (_ADI_MSK(0x00010000,uint32_t)) /* MM Tx Engine Active */
-
-#define BITM_EMAC_DBG_RXFIFOST (_ADI_MSK(0x00000300,uint32_t)) /* Rx FIFO State */
-#define ENUM_EMAC_DBG_FIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOST: Rx FIFO Empty */
-#define ENUM_EMAC_DBG_FIFO_BEL_THERSHLD (_ADI_MSK(0x00000100,uint32_t)) /* RXFIFOST: Rx FIFO Below De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_ABV_THERSHLD (_ADI_MSK(0x00000200,uint32_t)) /* RXFIFOST: Rx FIFO Above De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_FULL (_ADI_MSK(0x00000300,uint32_t)) /* RXFIFOST: Rx FIFO Full */
-
-#define BITM_EMAC_DBG_RXFIFOCTLST (_ADI_MSK(0x00000060,uint32_t)) /* Rx FIFO Controller State */
-#define ENUM_EMAC_DBG_IDLE_FIFO (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOCTLST: Idle */
-#define ENUM_EMAC_DBG_RD_DATA_FIFO (_ADI_MSK(0x00000020,uint32_t)) /* RXFIFOCTLST: Read Data */
-#define ENUM_EMAC_DBG_RD_STS_FIFO (_ADI_MSK(0x00000040,uint32_t)) /* RXFIFOCTLST: Read Status */
-#define ENUM_EMAC_DBG_FLUSH_FIFO (_ADI_MSK(0x00000060,uint32_t)) /* RXFIFOCTLST: Flush */
-#define BITM_EMAC_DBG_RXFIFOACT (_ADI_MSK(0x00000010,uint32_t)) /* Rx FIFO Active */
-#define BITM_EMAC_DBG_SFIFOST (_ADI_MSK(0x00000006,uint32_t)) /* Small FIFO State */
-#define BITM_EMAC_DBG_MMREA (_ADI_MSK(0x00000001,uint32_t)) /* MM Rx Engine Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ISTAT_TS 9 /* Time Stamp Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRC 7 /* MMC Receive Checksum Offload Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCTX 6 /* MMC Transmit Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRX 5 /* MMC Receive Interrupt Status */
-#define BITP_EMAC_ISTAT_MMC 4 /* MMC Interrupt Status */
-#define BITM_EMAC_ISTAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRC (_ADI_MSK(0x00000080,uint32_t)) /* MMC Receive Checksum Offload Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCTX (_ADI_MSK(0x00000040,uint32_t)) /* MMC Transmit Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRX (_ADI_MSK(0x00000020,uint32_t)) /* MMC Receive Interrupt Status */
-#define BITM_EMAC_ISTAT_MMC (_ADI_MSK(0x00000010,uint32_t)) /* MMC Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IMSK_TS 9 /* Time Stamp Interrupt Mask */
-#define BITM_EMAC_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ADDR0_HI Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ADDR0_HI_ADDR 0 /* Address */
-#define BITM_EMAC_ADDR0_HI_ADDR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_CTL_FULLPSET 5 /* Full Preset */
-#define BITP_EMAC_MMC_CTL_CNTRPSET 4 /* Counter Reset/Preset */
-#define BITP_EMAC_MMC_CTL_CNTRFRZ 3 /* Counter Freeze */
-#define BITP_EMAC_MMC_CTL_RDRST 2 /* Read Reset */
-#define BITP_EMAC_MMC_CTL_NOROLL 1 /* No Rollover */
-#define BITP_EMAC_MMC_CTL_RST 0 /* Reset */
-#define BITM_EMAC_MMC_CTL_FULLPSET (_ADI_MSK(0x00000020,uint32_t)) /* Full Preset */
-#define BITM_EMAC_MMC_CTL_CNTRPSET (_ADI_MSK(0x00000010,uint32_t)) /* Counter Reset/Preset */
-#define BITM_EMAC_MMC_CTL_CNTRFRZ (_ADI_MSK(0x00000008,uint32_t)) /* Counter Freeze */
-#define BITM_EMAC_MMC_CTL_RDRST (_ADI_MSK(0x00000004,uint32_t)) /* Read Reset */
-#define BITM_EMAC_MMC_CTL_NOROLL (_ADI_MSK(0x00000002,uint32_t)) /* No Rollover */
-#define BITM_EMAC_MMC_CTL_RST (_ADI_MSK(0x00000001,uint32_t)) /* Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXINT_WDOGERR 23 /* Rx Watch Dog Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_FIFOOVF 21 /* Rx FIFO Overflow Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_PAUSEFR 20 /* Rx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_LENERR 18 /* Rx Length Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_USIZEG 9 /* Rx Undersize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_JABERR 8 /* Rx Jabber Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_RUNTERR 7 /* Rx Runt Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_ALIGNERR 6 /* Rx Alignment Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_CRCERR 5 /* Rx CRC Error Counter Half/Full */
-#define BITP_EMAC_MMC_RXINT_MCASTG 4 /* Rx Multicast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_BCASTG 3 /* Rx Broadcast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTG 2 /* Octet Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTGB 1 /* Octet Count (Good/Bad) Half/Full */
-#define BITP_EMAC_MMC_RXINT_FRCNTGB 0 /* Frame Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_WDOGERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_FIFOOVF (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_PAUSEFR (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Counter Half/Full */
-#define BITM_EMAC_MMC_RXINT_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Octet Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Octet Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Frame Count (Good/Bad) Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXINT_VLANFRGB 24 /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_CARRERR 19 /* Tx Carrier Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSCOL 18 /* Tx Exess Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_LATECOL 17 /* Tx Late Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_DEFERRED 16 /* Tx Deffered Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MULTCOLG 15 /* Tx Multiple collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UNDERR 13 /* Tx Underflow Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_VLANFRGB (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deffered Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXIMSK_WATCHERR 23 /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FIFOOV 21 /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_PAUSEFRM 20 /* Rx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_LENERR 18 /* Rx Length Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_USIZEG 9 /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_JABERR 8 /* Rx Jabber Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_RUNTERR 7 /* Rx Runt Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_ALIGNERR 6 /* Rx Alignment Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_CRCERR 5 /* Rx CRC Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_MCASTG 4 /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_BCASTG 3 /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTG 2 /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTGB 1 /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FRCNTGB 0 /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_WATCHERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FIFOOV (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_PAUSEFRM (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXIMSK_VLANFRG 24 /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_CARRERR 19 /* Tx Carrier Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSCOL 18 /* Tx Exess collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_LATECOL 17 /* Tx Late Collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_DEFERRED 16 /* Tx Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MULTCOLG 15 /* Tx Multiple Collisions (Good) Count Mask */
-#define BITP_EMAC_MMC_TXIMSK_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UNDERR 13 /* Tx Underflow Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_VLANFRG (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple Collisions (Good) Count Mask */
-#define BITM_EMAC_MMC_TXIMSK_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERRFRM 9 /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERRFRM 1 /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXINT_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERRFRM 9 /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERRFRM 1 /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_CTL_ATSFC 24 /* Auxilary Time Stamp FIFO Clear */
-#define BITP_EMAC_TM_CTL_TSENMACADDR 18 /* Time Stamp Enable MAC Address */
-#define BITP_EMAC_TM_CTL_SNAPTYPSEL 16 /* Snapshot Type Select */
-#define BITP_EMAC_TM_CTL_TSMSTRENA 15 /* Time Stamp Master (Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSEVNTENA 14 /* Time Stamp Event (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV4ENA 13 /* Time Stamp IPV4 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV6ENA 12 /* Time Stamp IPV6 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPENA 11 /* Time Stamp IP Enable */
-#define BITP_EMAC_TM_CTL_TSVER2ENA 10 /* Time Stamp VER2 (Snooping) Enable */
-#define BITP_EMAC_TM_CTL_TSCTRLSSR 9 /* Time Stamp Control Nanosecond Rollover */
-#define BITP_EMAC_TM_CTL_TSENALL 8 /* Time Stamp Enable All (Frames) */
-#define BITP_EMAC_TM_CTL_TSADDREG 5 /* Time Stamp Addend Register Update */
-#define BITP_EMAC_TM_CTL_TSTRIG 4 /* Time Stamp (Target Time) Trigger Enable */
-#define BITP_EMAC_TM_CTL_TSUPDT 3 /* Time Stamp (System Time) Update */
-#define BITP_EMAC_TM_CTL_TSINIT 2 /* Time Stamp (System Time) Initialize */
-#define BITP_EMAC_TM_CTL_TSCFUPDT 1 /* Time Stamp (System Time) Fine/Coarse Update */
-#define BITP_EMAC_TM_CTL_TSENA 0 /* Time Stamp (PTP) Enable */
-#define BITM_EMAC_TM_CTL_ATSFC (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp FIFO Clear */
-
-#define BITM_EMAC_TM_CTL_TSENMACADDR (_ADI_MSK(0x00040000,uint32_t)) /* Time Stamp Enable MAC Address */
-#define ENUM_EMAC_TM_CTL_D_PTP_ADDRFILT (_ADI_MSK(0x00000000,uint32_t)) /* TSENMACADDR: Disable PTP MAC address filter */
-#define ENUM_EMAC_TM_CTL_E_PTP_ADDRFILT (_ADI_MSK(0x00040000,uint32_t)) /* TSENMACADDR: Enable PTP MAC address filter */
-#define BITM_EMAC_TM_CTL_SNAPTYPSEL (_ADI_MSK(0x00030000,uint32_t)) /* Snapshot Type Select */
-
-#define BITM_EMAC_TM_CTL_TSMSTRENA (_ADI_MSK(0x00008000,uint32_t)) /* Time Stamp Master (Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_SLVSNPT_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Slave Messages */
-#define ENUM_EMAC_TM_CTL_E_MSSNPST_MSGS (_ADI_MSK(0x00008000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Master Messages */
-
-#define BITM_EMAC_TM_CTL_TSEVNTENA (_ADI_MSK(0x00004000,uint32_t)) /* Time Stamp Event (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_ATSTMP_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for All Messages */
-#define ENUM_EMAC_TM_CTL_E_ETSTMP_MSGS (_ADI_MSK(0x00004000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for Event Messages Only */
-
-#define BITM_EMAC_TM_CTL_TSIPV4ENA (_ADI_MSK(0x00002000,uint32_t)) /* Time Stamp IPV4 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV4 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV4ENA: Disable Time Stamp for PTP Over IPv4 Frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV4 (_ADI_MSK(0x00002000,uint32_t)) /* TSIPV4ENA: Enable Time Stamp for PTP Over IPv4 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPV6ENA (_ADI_MSK(0x00001000,uint32_t)) /* Time Stamp IPV6 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV6 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV6ENA: Disable Time Stamp for PTP Over IPv6 frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV6 (_ADI_MSK(0x00001000,uint32_t)) /* TSIPV6ENA: Enable Time Stamp for PTP Over IPv6 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPENA (_ADI_MSK(0x00000800,uint32_t)) /* Time Stamp IP Enable */
-#define ENUM_EMAC_TM_CTL_D_PTP_OV_ETHER (_ADI_MSK(0x00000000,uint32_t)) /* TSIPENA: Disable PTP Over Ethernet Frames */
-#define ENUM_EMAC_TM_CTL_E_PTP_OV_ETHER (_ADI_MSK(0x00000800,uint32_t)) /* TSIPENA: Enable PTP Over Ethernet Frames */
-
-#define BITM_EMAC_TM_CTL_TSVER2ENA (_ADI_MSK(0x00000400,uint32_t)) /* Time Stamp VER2 (Snooping) Enable */
-#define ENUM_EMAC_TM_CTL_D_PKT_SNOOP_V2 (_ADI_MSK(0x00000000,uint32_t)) /* TSVER2ENA: Disable packet snooping for V2 frames */
-#define ENUM_EMAC_TM_CTL_E_PKT_SNOOP_V2 (_ADI_MSK(0x00000400,uint32_t)) /* TSVER2ENA: Enable packet snooping for V2 frames */
-
-#define BITM_EMAC_TM_CTL_TSCTRLSSR (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Control Nanosecond Rollover */
-#define ENUM_EMAC_TM_CTL_RO_SUBSEC_RES (_ADI_MSK(0x00000000,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x7FFFFFFF */
-#define ENUM_EMAC_TM_CTL_RO_NANO_RES (_ADI_MSK(0x00000200,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x3B9AC9FF */
-
-#define BITM_EMAC_TM_CTL_TSENALL (_ADI_MSK(0x00000100,uint32_t)) /* Time Stamp Enable All (Frames) */
-#define ENUM_EMAC_TM_CTL_D_TSALL_FRAMES (_ADI_MSK(0x00000000,uint32_t)) /* TSENALL: Disable timestamp for all frames */
-#define ENUM_EMAC_TM_CTL_E_TSALL_FRAMES (_ADI_MSK(0x00000100,uint32_t)) /* TSENALL: Enable timestamp for all frames */
-#define BITM_EMAC_TM_CTL_TSADDREG (_ADI_MSK(0x00000020,uint32_t)) /* Time Stamp Addend Register Update */
-
-#define BITM_EMAC_TM_CTL_TSTRIG (_ADI_MSK(0x00000010,uint32_t)) /* Time Stamp (Target Time) Trigger Enable */
-#define ENUM_EMAC_TM_CTL_EN_TRIGGER (_ADI_MSK(0x00000010,uint32_t)) /* TSTRIG: Interrupt (TS) if system time is greater than target time register */
-
-#define BITM_EMAC_TM_CTL_TSUPDT (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp (System Time) Update */
-#define ENUM_EMAC_TM_CTL_EN_UPDATE (_ADI_MSK(0x00000008,uint32_t)) /* TSUPDT: System time updated with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSINIT (_ADI_MSK(0x00000004,uint32_t)) /* Time Stamp (System Time) Initialize */
-#define ENUM_EMAC_TM_CTL_EN_TS_INIT (_ADI_MSK(0x00000004,uint32_t)) /* TSINIT: System time initialized with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSCFUPDT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp (System Time) Fine/Coarse Update */
-#define ENUM_EMAC_TM_CTL_EN_COARSE_UPDT (_ADI_MSK(0x00000000,uint32_t)) /* TSCFUPDT: Use Coarse Correction Method for System Time Update */
-#define ENUM_EMAC_TM_CTL_EN_FINE_UPDT (_ADI_MSK(0x00000002,uint32_t)) /* TSCFUPDT: Use Fine Correction Method for System Time Update */
-
-#define BITM_EMAC_TM_CTL_TSENA (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp (PTP) Enable */
-#define ENUM_EMAC_TM_CTL_DTS (_ADI_MSK(0x00000000,uint32_t)) /* TSENA: Disable PTP Module */
-#define ENUM_EMAC_TM_CTL_TS (_ADI_MSK(0x00000001,uint32_t)) /* TSENA: Enable PTP Module */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_SUBSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_SUBSEC_SSINC 0 /* Sub-Second Increment Value */
-#define BITM_EMAC_TM_SUBSEC_SSINC (_ADI_MSK(0x000000FF,uint32_t)) /* Sub-Second Increment Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSEC_TSSS 0 /* Time Stamp Nanoseconds */
-#define BITM_EMAC_TM_NSEC_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Nanoseconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSECUPDT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSECUPDT_ADDSUB 31 /* Add or Subtract the Time */
-#define BITP_EMAC_TM_NSECUPDT_TSSS 0 /* Time Stamp Sub Second Initialize/Increment */
-#define BITM_EMAC_TM_NSECUPDT_ADDSUB (_ADI_MSK(0x80000000,uint32_t)) /* Add or Subtract the Time */
-#define BITM_EMAC_TM_NSECUPDT_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Sub Second Initialize/Increment */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NTGTM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NTGTM_TSTRBUSY 31 /* Target Time Register Busy */
-#define BITP_EMAC_TM_NTGTM_TSTR 0 /* Target Time Nano Seconds */
-#define BITM_EMAC_TM_NTGTM_TSTRBUSY (_ADI_MSK(0x80000000,uint32_t)) /* Target Time Register Busy */
-#define BITM_EMAC_TM_NTGTM_TSTR (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Target Time Nano Seconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_HISEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_HISEC_TSHWR 0 /* Time Stamp Higher Word Seconds Register */
-#define BITM_EMAC_TM_HISEC_TSHWR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Time Stamp Higher Word Seconds Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_STMPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_STMPSTAT_ATSNS 25 /* Auxilary Time Stamp Number of Snapshots */
-#define BITP_EMAC_TM_STMPSTAT_ATSSTM 24 /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITP_EMAC_TM_STMPSTAT_TSTRGTERR 3 /* Time Stamp Target Time Programming Error */
-#define BITP_EMAC_TM_STMPSTAT_ATSTS 2 /* Auxilary Time Stamp Trigger Snapshot */
-#define BITP_EMAC_TM_STMPSTAT_TSTARGT 1 /* Time Stamp Target Time Reached */
-#define BITP_EMAC_TM_STMPSTAT_TSSOVF 0 /* Time Stamp Seconds Overflow */
-#define BITM_EMAC_TM_STMPSTAT_ATSNS (_ADI_MSK(0x0E000000,uint32_t)) /* Auxilary Time Stamp Number of Snapshots */
-#define BITM_EMAC_TM_STMPSTAT_ATSSTM (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITM_EMAC_TM_STMPSTAT_TSTRGTERR (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp Target Time Programming Error */
-#define BITM_EMAC_TM_STMPSTAT_ATSTS (_ADI_MSK(0x00000004,uint32_t)) /* Auxilary Time Stamp Trigger Snapshot */
-#define BITM_EMAC_TM_STMPSTAT_TSTARGT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp Target Time Reached */
-#define BITM_EMAC_TM_STMPSTAT_TSSOVF (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp Seconds Overflow */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_PPSCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_PPSCTL_TRGTMODSEL 5 /* Target Time Register Mode */
-#define BITP_EMAC_TM_PPSCTL_PPSEN 4 /* Enable the flexible PPS output mode */
-#define BITP_EMAC_TM_PPSCTL_PPSCTL 0 /* PPS Frequency Control */
-#define BITM_EMAC_TM_PPSCTL_TRGTMODSEL (_ADI_MSK(0x00000060,uint32_t)) /* Target Time Register Mode */
-#define BITM_EMAC_TM_PPSCTL_PPSEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable the flexible PPS output mode */
-#define BITM_EMAC_TM_PPSCTL_PPSCTL (_ADI_MSK(0x0000000F,uint32_t)) /* PPS Frequency Control */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BUSMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BUSMODE_AAL 25 /* Address Aligned Bursts */
-#define BITP_EMAC_DMA_BUSMODE_PBL8 24 /* PBL * 8 */
-#define BITP_EMAC_DMA_BUSMODE_USP 23 /* Use Separate PBL */
-#define BITP_EMAC_DMA_BUSMODE_RPBL 17 /* Receive Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_FB 16 /* Fixed Burst */
-#define BITP_EMAC_DMA_BUSMODE_PBL 8 /* Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_ATDS 7 /* Alternate Descriptor Size */
-#define BITP_EMAC_DMA_BUSMODE_DSL 2 /* Descriptor Skip Length */
-#define BITP_EMAC_DMA_BUSMODE_SWR 0 /* Software Reset */
-#define BITM_EMAC_DMA_BUSMODE_AAL (_ADI_MSK(0x02000000,uint32_t)) /* Address Aligned Bursts */
-#define BITM_EMAC_DMA_BUSMODE_PBL8 (_ADI_MSK(0x01000000,uint32_t)) /* PBL * 8 */
-#define BITM_EMAC_DMA_BUSMODE_USP (_ADI_MSK(0x00800000,uint32_t)) /* Use Separate PBL */
-#define BITM_EMAC_DMA_BUSMODE_RPBL (_ADI_MSK(0x007E0000,uint32_t)) /* Receive Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_FB (_ADI_MSK(0x00010000,uint32_t)) /* Fixed Burst */
-#define BITM_EMAC_DMA_BUSMODE_PBL (_ADI_MSK(0x00003F00,uint32_t)) /* Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_ATDS (_ADI_MSK(0x00000080,uint32_t)) /* Alternate Descriptor Size */
-#define BITM_EMAC_DMA_BUSMODE_DSL (_ADI_MSK(0x0000007C,uint32_t)) /* Descriptor Skip Length */
-#define BITM_EMAC_DMA_BUSMODE_SWR (_ADI_MSK(0x00000001,uint32_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_STAT_TTI 29 /* Time Stamp Trigger Interrupt */
-#define BITP_EMAC_DMA_STAT_MCI 27 /* MAC MMC Interrupt */
-#define BITP_EMAC_DMA_STAT_EB 23 /* Error Bits */
-#define BITP_EMAC_DMA_STAT_TS 20 /* Transmit Process State */
-#define BITP_EMAC_DMA_STAT_RS 17 /* Receive Process State */
-#define BITP_EMAC_DMA_STAT_NIS 16 /* Normal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_AIS 15 /* Abnormal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_ERI 14 /* Early Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_FBI 13 /* Fatal Bus Error Interrupt */
-#define BITP_EMAC_DMA_STAT_ETI 10 /* Early Transmit Interrupt */
-#define BITP_EMAC_DMA_STAT_RWT 9 /* Receive WatchDog Timeout */
-#define BITP_EMAC_DMA_STAT_RPS 8 /* Receive Process Stopped */
-#define BITP_EMAC_DMA_STAT_RU 7 /* Receive Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_RI 6 /* Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_UNF 5 /* Transmit Buffer Underflow */
-#define BITP_EMAC_DMA_STAT_OVF 4 /* Receive Buffer Overflow */
-#define BITP_EMAC_DMA_STAT_TJT 3 /* Transmit Jabber Timeout */
-#define BITP_EMAC_DMA_STAT_TU 2 /* Transmit Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_TPS 1 /* Transmit Process Stopped */
-#define BITP_EMAC_DMA_STAT_TI 0 /* Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_TTI (_ADI_MSK(0x20000000,uint32_t)) /* Time Stamp Trigger Interrupt */
-#define BITM_EMAC_DMA_STAT_MCI (_ADI_MSK(0x08000000,uint32_t)) /* MAC MMC Interrupt */
-#define BITM_EMAC_DMA_STAT_EB (_ADI_MSK(0x03800000,uint32_t)) /* Error Bits */
-
-#define BITM_EMAC_DMA_STAT_TS (_ADI_MSK(0x00700000,uint32_t)) /* Transmit Process State */
-#define ENUM_EMAC_DMA_STAT_TS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* TS: Stopped; Reset or Stop Transmit Command issued */
-#define ENUM_EMAC_DMA_STAT_TS_R_FTD (_ADI_MSK(0x00100000,uint32_t)) /* TS: Running; Fetching Transmit Transfer Descriptor */
-#define ENUM_EMAC_DMA_STAT_TS_R_WSTAT (_ADI_MSK(0x00200000,uint32_t)) /* TS: Running; Waiting for status */
-#define ENUM_EMAC_DMA_STAT_TS_R_TXHMBUF (_ADI_MSK(0x00300000,uint32_t)) /* TS: Reading Data from host memory buffer and queuing it to TX buffer */
-#define ENUM_EMAC_DMA_STAT_TS_WR_TSTMP (_ADI_MSK(0x00400000,uint32_t)) /* TS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_TS_SUSPENDED (_ADI_MSK(0x00600000,uint32_t)) /* TS: Suspended; Transmit Descriptor Unavailable or TX Buffer Underflow */
-#define ENUM_EMAC_DMA_STAT_TS_R_CLSTD (_ADI_MSK(0x00700000,uint32_t)) /* TS: Closing Transmit Descriptor */
-
-#define BITM_EMAC_DMA_STAT_RS (_ADI_MSK(0x000E0000,uint32_t)) /* Receive Process State */
-#define ENUM_EMAC_DMA_STAT_RS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RS: Stopped: Reset or Stop Receive Command issued. */
-#define ENUM_EMAC_DMA_STAT_RS_R_FRD (_ADI_MSK(0x00020000,uint32_t)) /* RS: Running: Fetching Receive Transfer Descriptor. */
-#define ENUM_EMAC_DMA_STAT_RS_R_WTRX (_ADI_MSK(0x00060000,uint32_t)) /* RS: Running: Waiting for receive packet */
-#define ENUM_EMAC_DMA_STAT_RS_SUSPENDED (_ADI_MSK(0x00080000,uint32_t)) /* RS: Suspended: Receive Descriptor Unavailable */
-#define ENUM_EMAC_DMA_STAT_RS_R_CLSRD (_ADI_MSK(0x000A0000,uint32_t)) /* RS: Running: Closing Receive Descriptor */
-#define ENUM_EMAC_DMA_STAT_RS_WR_TSTMP (_ADI_MSK(0x000C0000,uint32_t)) /* RS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_RS_R_RXWRHM (_ADI_MSK(0x000E0000,uint32_t)) /* RS: Running: Transferring RX packet data from RX buffer to host memory */
-#define BITM_EMAC_DMA_STAT_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Interrupt */
-#define BITM_EMAC_DMA_STAT_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchDog Timeout */
-#define BITM_EMAC_DMA_STAT_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Process Stopped */
-#define BITM_EMAC_DMA_STAT_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Buffer Underflow */
-#define BITM_EMAC_DMA_STAT_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Receive Buffer Overflow */
-#define BITM_EMAC_DMA_STAT_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout */
-#define BITM_EMAC_DMA_STAT_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Process Stopped */
-#define BITM_EMAC_DMA_STAT_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_OPMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_OPMODE_DT 26 /* Disable Dropping TCP/IP Errors */
-#define BITP_EMAC_DMA_OPMODE_RSF 25 /* Receive Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_DFF 24 /* Disable Flushing of received Frames */
-#define BITP_EMAC_DMA_OPMODE_TSF 21 /* Transmit Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_FTF 20 /* Flush Transmit FIFO */
-#define BITP_EMAC_DMA_OPMODE_TTC 14 /* Transmit Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_ST 13 /* Start/Stop Transmission */
-#define BITP_EMAC_DMA_OPMODE_FEF 7 /* Forward Error Frames */
-#define BITP_EMAC_DMA_OPMODE_FUF 6 /* Forward Undersized good Frames */
-#define BITP_EMAC_DMA_OPMODE_RTC 3 /* Receive Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_OSF 2 /* Operate on Second Frame */
-#define BITP_EMAC_DMA_OPMODE_SR 1 /* Start/Stop Receive */
-#define BITM_EMAC_DMA_OPMODE_DT (_ADI_MSK(0x04000000,uint32_t)) /* Disable Dropping TCP/IP Errors */
-#define BITM_EMAC_DMA_OPMODE_RSF (_ADI_MSK(0x02000000,uint32_t)) /* Receive Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_DFF (_ADI_MSK(0x01000000,uint32_t)) /* Disable Flushing of received Frames */
-#define BITM_EMAC_DMA_OPMODE_TSF (_ADI_MSK(0x00200000,uint32_t)) /* Transmit Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_FTF (_ADI_MSK(0x00100000,uint32_t)) /* Flush Transmit FIFO */
-
-#define BITM_EMAC_DMA_OPMODE_TTC (_ADI_MSK(0x0001C000,uint32_t)) /* Transmit Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_TTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* TTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_128 (_ADI_MSK(0x00004000,uint32_t)) /* TTC: 128 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_192 (_ADI_MSK(0x00008000,uint32_t)) /* TTC: 192 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_256 (_ADI_MSK(0x0000C000,uint32_t)) /* TTC: 256 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_40 (_ADI_MSK(0x00010000,uint32_t)) /* TTC: 40 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_32 (_ADI_MSK(0x00014000,uint32_t)) /* TTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_24 (_ADI_MSK(0x00018000,uint32_t)) /* TTC: 24 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_16 (_ADI_MSK(0x0001C000,uint32_t)) /* TTC: 16 */
-#define BITM_EMAC_DMA_OPMODE_ST (_ADI_MSK(0x00002000,uint32_t)) /* Start/Stop Transmission */
-#define BITM_EMAC_DMA_OPMODE_FEF (_ADI_MSK(0x00000080,uint32_t)) /* Forward Error Frames */
-#define BITM_EMAC_DMA_OPMODE_FUF (_ADI_MSK(0x00000040,uint32_t)) /* Forward Undersized good Frames */
-
-#define BITM_EMAC_DMA_OPMODE_RTC (_ADI_MSK(0x00000018,uint32_t)) /* Receive Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_RTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* RTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_32 (_ADI_MSK(0x00000008,uint32_t)) /* RTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_96 (_ADI_MSK(0x00000010,uint32_t)) /* RTC: 96 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_128 (_ADI_MSK(0x00000018,uint32_t)) /* RTC: 128 */
-#define BITM_EMAC_DMA_OPMODE_OSF (_ADI_MSK(0x00000004,uint32_t)) /* Operate on Second Frame */
-#define BITM_EMAC_DMA_OPMODE_SR (_ADI_MSK(0x00000002,uint32_t)) /* Start/Stop Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_IEN_NIS 16 /* Normal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_AIS 15 /* Abnormal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_ERI 14 /* Early Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_FBI 13 /* Fatal Bus Error Enable */
-#define BITP_EMAC_DMA_IEN_ETI 10 /* Early Transmit Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_RWT 9 /* Receive WatchdogTimeout Enable */
-#define BITP_EMAC_DMA_IEN_RPS 8 /* Receive Stopped Enable */
-#define BITP_EMAC_DMA_IEN_RU 7 /* Receive Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_RI 6 /* Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_UNF 5 /* Underflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_OVF 4 /* Overflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_TJT 3 /* Transmit Jabber Timeout Enable */
-#define BITP_EMAC_DMA_IEN_TU 2 /* Transmit Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_TPS 1 /* Transmit Stopped Enable */
-#define BITP_EMAC_DMA_IEN_TI 0 /* Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Enable */
-#define BITM_EMAC_DMA_IEN_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchdogTimeout Enable */
-#define BITM_EMAC_DMA_IEN_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Stopped Enable */
-#define BITM_EMAC_DMA_IEN_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Underflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Overflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout Enable */
-#define BITM_EMAC_DMA_IEN_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Stopped Enable */
-#define BITM_EMAC_DMA_IEN_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_MISS_FRM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_MISS_FRM_OVFFIFO 28 /* Overflow bit for FIFO Overflow Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFROV 17 /* Missed Frames Buffer Overflow */
-#define BITP_EMAC_DMA_MISS_FRM_OVFMISS 16 /* Overflow bit for Missed Frame Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFRUN 0 /* Missed Frames Unavailable Buffer */
-#define BITM_EMAC_DMA_MISS_FRM_OVFFIFO (_ADI_MSK(0x10000000,uint32_t)) /* Overflow bit for FIFO Overflow Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFROV (_ADI_MSK(0x0FFE0000,uint32_t)) /* Missed Frames Buffer Overflow */
-#define BITM_EMAC_DMA_MISS_FRM_OVFMISS (_ADI_MSK(0x00010000,uint32_t)) /* Overflow bit for Missed Frame Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFRUN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Missed Frames Unavailable Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_RXIWDOG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_RXIWDOG_RIWT 0 /* RI WatchDog Timer Count */
-#define BITM_EMAC_DMA_RXIWDOG_RIWT (_ADI_MSK(0x000000FF,uint32_t)) /* RI WatchDog Timer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMMODE_WROSRLMT 20 /* SCB Maximum Write Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_RDOSRLMT 16 /* SCB Maximum Read Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_AAL 12 /* Address Aligned Beats */
-#define BITP_EMAC_DMA_BMMODE_BLEN16 3 /* SCB Burst Length 16 */
-#define BITP_EMAC_DMA_BMMODE_BLEN8 2 /* SCB Burst Length 8 */
-#define BITP_EMAC_DMA_BMMODE_BLEN4 1 /* SCB Burst Length 4 */
-#define BITP_EMAC_DMA_BMMODE_UNDEF 0 /* SCB Undefined Burst Length */
-#define BITM_EMAC_DMA_BMMODE_WROSRLMT (_ADI_MSK(0x00700000,uint32_t)) /* SCB Maximum Write Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_RDOSRLMT (_ADI_MSK(0x00070000,uint32_t)) /* SCB Maximum Read Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_AAL (_ADI_MSK(0x00001000,uint32_t)) /* Address Aligned Beats */
-#define BITM_EMAC_DMA_BMMODE_BLEN16 (_ADI_MSK(0x00000008,uint32_t)) /* SCB Burst Length 16 */
-#define BITM_EMAC_DMA_BMMODE_BLEN8 (_ADI_MSK(0x00000004,uint32_t)) /* SCB Burst Length 8 */
-#define BITM_EMAC_DMA_BMMODE_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* SCB Burst Length 4 */
-#define BITM_EMAC_DMA_BMMODE_UNDEF (_ADI_MSK(0x00000001,uint32_t)) /* SCB Undefined Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMSTAT_BUSRD 1 /* Bus (SCB master) Read Active */
-#define BITP_EMAC_DMA_BMSTAT_BUSWR 0 /* Bus (SCB master) Write Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSRD (_ADI_MSK(0x00000002,uint32_t)) /* Bus (SCB master) Read Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSWR (_ADI_MSK(0x00000001,uint32_t)) /* Bus (SCB master) Write Active */
-
-/* ==================================================
- Serial Port Registers
- ================================================== */
-
-/* =========================
- SPORT0
- ========================= */
-#define REG_SPORT0_CTL_A 0xFFC40000 /* SPORT0 Half SPORT 'A' Control Register */
-#define REG_SPORT0_DIV_A 0xFFC40004 /* SPORT0 Half SPORT 'A' Divisor Register */
-#define REG_SPORT0_MCTL_A 0xFFC40008 /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT0_CS0_A 0xFFC4000C /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_A 0xFFC40010 /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_A 0xFFC40014 /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT0_CS3_A 0xFFC40018 /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT0_ERR_A 0xFFC40020 /* SPORT0 Half SPORT 'A' Error Register */
-#define REG_SPORT0_MSTAT_A 0xFFC40024 /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_A 0xFFC40028 /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT0_TXPRI_A 0xFFC40040 /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_A 0xFFC40044 /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_A 0xFFC40048 /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_A 0xFFC4004C /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT0_CTL_B 0xFFC40080 /* SPORT0 Half SPORT 'B' Control Register */
-#define REG_SPORT0_DIV_B 0xFFC40084 /* SPORT0 Half SPORT 'B' Divisor Register */
-#define REG_SPORT0_MCTL_B 0xFFC40088 /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT0_CS0_B 0xFFC4008C /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_B 0xFFC40090 /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_B 0xFFC40094 /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT0_CS3_B 0xFFC40098 /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT0_ERR_B 0xFFC400A0 /* SPORT0 Half SPORT 'B' Error Register */
-#define REG_SPORT0_MSTAT_B 0xFFC400A4 /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_B 0xFFC400A8 /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT0_TXPRI_B 0xFFC400C0 /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_B 0xFFC400C4 /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_B 0xFFC400C8 /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_B 0xFFC400CC /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT1
- ========================= */
-#define REG_SPORT1_CTL_A 0xFFC40100 /* SPORT1 Half SPORT 'A' Control Register */
-#define REG_SPORT1_DIV_A 0xFFC40104 /* SPORT1 Half SPORT 'A' Divisor Register */
-#define REG_SPORT1_MCTL_A 0xFFC40108 /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT1_CS0_A 0xFFC4010C /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_A 0xFFC40110 /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_A 0xFFC40114 /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT1_CS3_A 0xFFC40118 /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT1_ERR_A 0xFFC40120 /* SPORT1 Half SPORT 'A' Error Register */
-#define REG_SPORT1_MSTAT_A 0xFFC40124 /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_A 0xFFC40128 /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT1_TXPRI_A 0xFFC40140 /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_A 0xFFC40144 /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_A 0xFFC40148 /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_A 0xFFC4014C /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT1_CTL_B 0xFFC40180 /* SPORT1 Half SPORT 'B' Control Register */
-#define REG_SPORT1_DIV_B 0xFFC40184 /* SPORT1 Half SPORT 'B' Divisor Register */
-#define REG_SPORT1_MCTL_B 0xFFC40188 /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT1_CS0_B 0xFFC4018C /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_B 0xFFC40190 /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_B 0xFFC40194 /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT1_CS3_B 0xFFC40198 /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT1_ERR_B 0xFFC401A0 /* SPORT1 Half SPORT 'B' Error Register */
-#define REG_SPORT1_MSTAT_B 0xFFC401A4 /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_B 0xFFC401A8 /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT1_TXPRI_B 0xFFC401C0 /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_B 0xFFC401C4 /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_B 0xFFC401C8 /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_B 0xFFC401CC /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT2
- ========================= */
-#define REG_SPORT2_CTL_A 0xFFC40200 /* SPORT2 Half SPORT 'A' Control Register */
-#define REG_SPORT2_DIV_A 0xFFC40204 /* SPORT2 Half SPORT 'A' Divisor Register */
-#define REG_SPORT2_MCTL_A 0xFFC40208 /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT2_CS0_A 0xFFC4020C /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_A 0xFFC40210 /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_A 0xFFC40214 /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT2_CS3_A 0xFFC40218 /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT2_ERR_A 0xFFC40220 /* SPORT2 Half SPORT 'A' Error Register */
-#define REG_SPORT2_MSTAT_A 0xFFC40224 /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_A 0xFFC40228 /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT2_TXPRI_A 0xFFC40240 /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_A 0xFFC40244 /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_A 0xFFC40248 /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_A 0xFFC4024C /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT2_CTL_B 0xFFC40280 /* SPORT2 Half SPORT 'B' Control Register */
-#define REG_SPORT2_DIV_B 0xFFC40284 /* SPORT2 Half SPORT 'B' Divisor Register */
-#define REG_SPORT2_MCTL_B 0xFFC40288 /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT2_CS0_B 0xFFC4028C /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_B 0xFFC40290 /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_B 0xFFC40294 /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT2_CS3_B 0xFFC40298 /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT2_ERR_B 0xFFC402A0 /* SPORT2 Half SPORT 'B' Error Register */
-#define REG_SPORT2_MSTAT_B 0xFFC402A4 /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_B 0xFFC402A8 /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT2_TXPRI_B 0xFFC402C0 /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_B 0xFFC402C4 /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_B 0xFFC402C8 /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_B 0xFFC402CC /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_A_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_A_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_A_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_A_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_A_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_A_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_A_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_A_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_A_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_A_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_A_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_A_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_A_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_A_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_A_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_A_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_A_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_A_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_A_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_A_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_A_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_A_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_A_SPENPRI 0 /* Serial Port Enable (Primary) */
-#define BITP_SPORT_CTL_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-#define BITM_SPORT_CTL_A_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSPRI: Empty */
-#define ENUM_SPORT_CTL_PRM_PART_FULL (_ADI_MSK(0x80000000,uint32_t)) /* DXSPRI: Partially full */
-#define ENUM_SPORT_CTL_PRM_FULL (_ADI_MSK(0xC0000000,uint32_t)) /* DXSPRI: Full */
-
-#define BITM_SPORT_CTL_A_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRPRI: No error */
-#define ENUM_SPORT_CTL_PRM_ERR (_ADI_MSK(0x20000000,uint32_t)) /* DERRPRI: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSSEC: Empty */
-#define ENUM_SPORT_CTL_SEC_PART_FULL (_ADI_MSK(0x10000000,uint32_t)) /* DXSSEC: Partially full */
-#define ENUM_SPORT_CTL_SEC_FULL (_ADI_MSK(0x18000000,uint32_t)) /* DXSSEC: Full */
-
-#define BITM_SPORT_CTL_A_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRSEC: No error */
-#define ENUM_SPORT_CTL_SEC_ERR (_ADI_MSK(0x04000000,uint32_t)) /* DERRSEC: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define ENUM_SPORT_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* SPTRAN: Receive */
-#define ENUM_SPORT_CTL_TX (_ADI_MSK(0x02000000,uint32_t)) /* SPTRAN: Transmit */
-
-#define BITM_SPORT_CTL_A_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define ENUM_SPORT_CTL_SECONDARY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENSEC: Disable */
-#define ENUM_SPORT_CTL_SECONDARY_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPENSEC: Enable */
-
-#define BITM_SPORT_CTL_A_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define ENUM_SPORT_CTL_GCLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GCLKEN: Disable */
-#define ENUM_SPORT_CTL_GCLK_EN (_ADI_MSK(0x00200000,uint32_t)) /* GCLKEN: Enable */
-
-#define BITM_SPORT_CTL_A_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define ENUM_SPORT_CTL_TXFIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TFIEN: Last word sent (DMA count done) interrupt */
-#define ENUM_SPORT_CTL_TXFIN_EN (_ADI_MSK(0x00100000,uint32_t)) /* TFIEN: Last bit sent (Tx buffer done) interrupt */
-
-#define BITM_SPORT_CTL_A_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define ENUM_SPORT_CTL_LEVEL_FS (_ADI_MSK(0x00000000,uint32_t)) /* FSED: Level detect frame sync */
-#define ENUM_SPORT_CTL_EDGE_FS (_ADI_MSK(0x00080000,uint32_t)) /* FSED: Edge detect frame sync */
-
-#define BITM_SPORT_CTL_A_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define ENUM_SPORT_CTL_RJUST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RJUST: Disable */
-#define ENUM_SPORT_CTL_RJUST_EN (_ADI_MSK(0x00040000,uint32_t)) /* RJUST: Enable */
-
-#define BITM_SPORT_CTL_A_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define ENUM_SPORT_CTL_EARLY_FS (_ADI_MSK(0x00000000,uint32_t)) /* LAFS: Early frame sync */
-#define ENUM_SPORT_CTL_LATE_FS (_ADI_MSK(0x00020000,uint32_t)) /* LAFS: Late frame sync */
-
-#define BITM_SPORT_CTL_A_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define ENUM_SPORT_CTL_FS_LO (_ADI_MSK(0x00000000,uint32_t)) /* LFS: Active high frame sync (DSP standard mode) */
-#define ENUM_SPORT_CTL_FS_HI (_ADI_MSK(0x00010000,uint32_t)) /* LFS: Active low frame sync (DSP standard mode) */
-
-#define BITM_SPORT_CTL_A_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define ENUM_SPORT_CTL_DATA_DEP_FS (_ADI_MSK(0x00000000,uint32_t)) /* DIFS: Data-dependent frame sync */
-#define ENUM_SPORT_CTL_DATA_INDP_FS (_ADI_MSK(0x00008000,uint32_t)) /* DIFS: Data-independent frame sync */
-
-#define BITM_SPORT_CTL_A_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define ENUM_SPORT_CTL_EXTERNAL_FS (_ADI_MSK(0x00000000,uint32_t)) /* IFS: External frame sync */
-#define ENUM_SPORT_CTL_INTERNAL_FS (_ADI_MSK(0x00004000,uint32_t)) /* IFS: Internal frame sync */
-
-#define BITM_SPORT_CTL_A_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define ENUM_SPORT_CTL_FS_NOT_REQ (_ADI_MSK(0x00000000,uint32_t)) /* FSR: No frame sync required */
-#define ENUM_SPORT_CTL_FS_REQ (_ADI_MSK(0x00002000,uint32_t)) /* FSR: Frame sync required */
-
-#define BITM_SPORT_CTL_A_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define ENUM_SPORT_CTL_CLK_FALL_EDGE (_ADI_MSK(0x00000000,uint32_t)) /* CKRE: Clock falling edge */
-#define ENUM_SPORT_CTL_CLK_RISE_EDGE (_ADI_MSK(0x00001000,uint32_t)) /* CKRE: Clock rising edge */
-
-#define BITM_SPORT_CTL_A_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define ENUM_SPORT_CTL_SERIAL_MC_MODE (_ADI_MSK(0x00000000,uint32_t)) /* OPMODE: DSP standard/multi-channel mode */
-#define ENUM_SPORT_CTL_I2S_MODE (_ADI_MSK(0x00000800,uint32_t)) /* OPMODE: I2S/packed/left-justified mode */
-
-#define BITM_SPORT_CTL_A_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define ENUM_SPORT_CTL_EXTERNAL_CLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLK: External clock */
-#define ENUM_SPORT_CTL_INTERNAL_CLK (_ADI_MSK(0x00000400,uint32_t)) /* ICLK: Internal clock */
-
-#define BITM_SPORT_CTL_A_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define ENUM_SPORT_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACK: Disable */
-#define ENUM_SPORT_CTL_PACK_EN (_ADI_MSK(0x00000200,uint32_t)) /* PACK: Enable */
-#define BITM_SPORT_CTL_A_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-
-#define BITM_SPORT_CTL_A_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define ENUM_SPORT_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB first sent/received (big endian) */
-#define ENUM_SPORT_CTL_LSB_FIRST (_ADI_MSK(0x00000008,uint32_t)) /* LSBF: LSB first sent/received (little endian) */
-
-#define BITM_SPORT_CTL_A_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define ENUM_SPORT_CTL_RJUSTIFY_ZFILL (_ADI_MSK(0x00000000,uint32_t)) /* DTYPE: Right-justify data, zero-fill unused MSBs */
-#define ENUM_SPORT_CTL_RJUSTIFY_SFILL (_ADI_MSK(0x00000002,uint32_t)) /* DTYPE: Right-justify data, sign-extend unused MSBs */
-#define ENUM_SPORT_CTL_USE_U_LAW (_ADI_MSK(0x00000004,uint32_t)) /* DTYPE: m-law compand data */
-#define ENUM_SPORT_CTL_USE_A_LAW (_ADI_MSK(0x00000006,uint32_t)) /* DTYPE: A-law compand data */
-
-#define BITM_SPORT_CTL_A_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define BITM_SPORT_CTL_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define ENUM_SPORT_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENPRI: Disable */
-#define ENUM_SPORT_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* SPENPRI: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_A_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_A_CLKDIV 0 /* Clock Divisor */
-#define BITP_SPORT_DIV_CLKDIV 0 /* Clock Divisor */
-#define BITM_SPORT_DIV_A_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_A_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-#define BITM_SPORT_DIV_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_A_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_A_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_A_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_A_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_A_MCE 0 /* Multichannel enable */
-#define BITP_SPORT_MCTL_MCE 0 /* Multichannel enable */
-#define BITM_SPORT_MCTL_A_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_A_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_A_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-
-#define BITM_SPORT_MCTL_A_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define ENUM_SPORT_MCTL_MCPD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCPDE: Disable */
-#define ENUM_SPORT_MCTL_MCPD_EN (_ADI_MSK(0x00000004,uint32_t)) /* MCPDE: Enable */
-
-#define BITM_SPORT_MCTL_A_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define BITM_SPORT_MCTL_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define ENUM_SPORT_MCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCE: Disable */
-#define ENUM_SPORT_MCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* MCE: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_A_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_A_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_A_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_A_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_A_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_A_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_A_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_A_CURCHAN 0 /* Current Channel */
-#define BITP_SPORT_MSTAT_CURCHAN 0 /* Current Channel */
-#define BITM_SPORT_MSTAT_A_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-#define BITM_SPORT_MSTAT_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_A_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_A_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-#define BITP_SPORT_CTL2_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-#define BITM_SPORT_CTL2_A_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define ENUM_SPORT_CTL2_CLK_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CKMUXSEL: Disable serial clock multiplexing */
-#define ENUM_SPORT_CTL2_CLK_MUX_EN (_ADI_MSK(0x00000002,uint32_t)) /* CKMUXSEL: Enable serial clock multiplexing */
-
-#define BITM_SPORT_CTL2_A_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define BITM_SPORT_CTL2_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define ENUM_SPORT_CTL2_FS_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FSMUXSEL: Disable frame sync multiplexing */
-#define ENUM_SPORT_CTL2_FS_MUX_EN (_ADI_MSK(0x00000001,uint32_t)) /* FSMUXSEL: Enable frame sync multiplexing */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_B_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_B_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_B_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_B_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_B_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_B_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_B_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_B_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_B_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_B_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_B_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_B_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_B_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_B_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_B_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_B_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_B_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_B_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_B_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_B_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_B_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_B_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_B_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-/* The fields and enumerations for SPORT_CTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL_A */
-
-#define BITM_SPORT_CTL_B_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_B_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_B_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_B_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_B_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_B_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_B_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_B_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_B_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_B_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_B_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_B_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_B_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_B_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_B_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_B_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_B_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_B_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_B_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_B_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_B_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_B_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_B_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_B_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_B_CLKDIV 0 /* Clock Divisor */
-
-/* The fields and enumerations for SPORT_DIV_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_DIV_A */
-
-#define BITM_SPORT_DIV_B_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_B_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_B_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_B_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_B_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_B_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_B_MCE 0 /* Multi-Channel Enable */
-
-/* The fields and enumerations for SPORT_MCTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MCTL_A */
-
-#define BITM_SPORT_MCTL_B_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_B_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_B_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_B_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_B_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multi-Channel Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_B_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_B_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_B_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_B_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-
-/* The fields and enumerations for SPORT_ERR_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_ERR_A */
-
-#define BITM_SPORT_ERR_B_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_B_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_B_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_B_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_B_CURCHAN 0 /* Current Channel */
-
-/* The fields and enumerations for SPORT_MSTAT_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MSTAT_A */
-
-#define BITM_SPORT_MSTAT_B_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_B_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_B_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-/* The fields and enumerations for SPORT_CTL2_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL2_A */
-
-#define BITM_SPORT_CTL2_B_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_B_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-
-/* ==================================================
- Serial Peripheral Interface Registers
- ================================================== */
-
-/* =========================
- SPI0
- ========================= */
-#define REG_SPI0_CTL 0xFFC40404 /* SPI0 Control Register */
-#define REG_SPI0_RXCTL 0xFFC40408 /* SPI0 Receive Control Register */
-#define REG_SPI0_TXCTL 0xFFC4040C /* SPI0 Transmit Control Register */
-#define REG_SPI0_CLK 0xFFC40410 /* SPI0 Clock Rate Register */
-#define REG_SPI0_DLY 0xFFC40414 /* SPI0 Delay Register */
-#define REG_SPI0_SLVSEL 0xFFC40418 /* SPI0 Slave Select Register */
-#define REG_SPI0_RWC 0xFFC4041C /* SPI0 Received Word Count Register */
-#define REG_SPI0_RWCR 0xFFC40420 /* SPI0 Received Word Count Reload Register */
-#define REG_SPI0_TWC 0xFFC40424 /* SPI0 Transmitted Word Count Register */
-#define REG_SPI0_TWCR 0xFFC40428 /* SPI0 Transmitted Word Count Reload Register */
-#define REG_SPI0_IMSK 0xFFC40430 /* SPI0 Interrupt Mask Register */
-#define REG_SPI0_IMSK_CLR 0xFFC40434 /* SPI0 Interrupt Mask Clear Register */
-#define REG_SPI0_IMSK_SET 0xFFC40438 /* SPI0 Interrupt Mask Set Register */
-#define REG_SPI0_STAT 0xFFC40440 /* SPI0 Status Register */
-#define REG_SPI0_ILAT 0xFFC40444 /* SPI0 Masked Interrupt Condition Register */
-#define REG_SPI0_ILAT_CLR 0xFFC40448 /* SPI0 Masked Interrupt Clear Register */
-#define REG_SPI0_RFIFO 0xFFC40450 /* SPI0 Receive FIFO Data Register */
-#define REG_SPI0_TFIFO 0xFFC40458 /* SPI0 Transmit FIFO Data Register */
-
-/* =========================
- SPI1
- ========================= */
-#define REG_SPI1_CTL 0xFFC40504 /* SPI1 Control Register */
-#define REG_SPI1_RXCTL 0xFFC40508 /* SPI1 Receive Control Register */
-#define REG_SPI1_TXCTL 0xFFC4050C /* SPI1 Transmit Control Register */
-#define REG_SPI1_CLK 0xFFC40510 /* SPI1 Clock Rate Register */
-#define REG_SPI1_DLY 0xFFC40514 /* SPI1 Delay Register */
-#define REG_SPI1_SLVSEL 0xFFC40518 /* SPI1 Slave Select Register */
-#define REG_SPI1_RWC 0xFFC4051C /* SPI1 Received Word Count Register */
-#define REG_SPI1_RWCR 0xFFC40520 /* SPI1 Received Word Count Reload Register */
-#define REG_SPI1_TWC 0xFFC40524 /* SPI1 Transmitted Word Count Register */
-#define REG_SPI1_TWCR 0xFFC40528 /* SPI1 Transmitted Word Count Reload Register */
-#define REG_SPI1_IMSK 0xFFC40530 /* SPI1 Interrupt Mask Register */
-#define REG_SPI1_IMSK_CLR 0xFFC40534 /* SPI1 Interrupt Mask Clear Register */
-#define REG_SPI1_IMSK_SET 0xFFC40538 /* SPI1 Interrupt Mask Set Register */
-#define REG_SPI1_STAT 0xFFC40540 /* SPI1 Status Register */
-#define REG_SPI1_ILAT 0xFFC40544 /* SPI1 Masked Interrupt Condition Register */
-#define REG_SPI1_ILAT_CLR 0xFFC40548 /* SPI1 Masked Interrupt Clear Register */
-#define REG_SPI1_RFIFO 0xFFC40550 /* SPI1 Receive FIFO Data Register */
-#define REG_SPI1_TFIFO 0xFFC40558 /* SPI1 Transmit FIFO Data Register */
-
-/* =========================
- SPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CTL_SOSI 22 /* Start on MOSI */
-#define BITP_SPI_CTL_MIOM 20 /* Multiple I/O Mode */
-#define BITP_SPI_CTL_FMODE 18 /* Fast-Mode Enable */
-#define BITP_SPI_CTL_FCWM 16 /* Flow Control Watermark */
-#define BITP_SPI_CTL_FCPL 15 /* Flow Control Polarity */
-#define BITP_SPI_CTL_FCCH 14 /* Flow Control Channel Selection */
-#define BITP_SPI_CTL_FCEN 13 /* Flow Control Enable */
-#define BITP_SPI_CTL_LSBF 12 /* Least Significant Bit First */
-#define BITP_SPI_CTL_SIZE 9 /* Word Transfer Size */
-#define BITP_SPI_CTL_EMISO 8 /* Enable MISO */
-#define BITP_SPI_CTL_SELST 7 /* Slave Select Polarity Between Transfers */
-#define BITP_SPI_CTL_ASSEL 6 /* Slave Select Pin Control */
-#define BITP_SPI_CTL_CPOL 5 /* Clock Polarity */
-#define BITP_SPI_CTL_CPHA 4 /* Clock Phase */
-#define BITP_SPI_CTL_ODM 3 /* Open Drain Mode */
-#define BITP_SPI_CTL_PSSE 2 /* Protected Slave Select Enable */
-#define BITP_SPI_CTL_MSTR 1 /* Master / Slave */
-#define BITP_SPI_CTL_EN 0 /* Enable */
-
-#define BITM_SPI_CTL_SOSI (_ADI_MSK(0x00400000,uint32_t)) /* Start on MOSI */
-#define ENUM_SPI_CTL_STMISO (_ADI_MSK(0x00000000,uint32_t)) /* SOSI: Bit 1 on MISO (DIOM) or on D3 (QIOM) */
-#define ENUM_SPI_CTL_STMOSI (_ADI_MSK(0x00400000,uint32_t)) /* SOSI: Bit 1 on MOSI (DIOM and QIOM) */
-
-#define BITM_SPI_CTL_MIOM (_ADI_MSK(0x00300000,uint32_t)) /* Multiple I/O Mode */
-#define ENUM_SPI_CTL_MIO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MIOM: No MIOM (disabled) */
-#define ENUM_SPI_CTL_MIO_DUAL (_ADI_MSK(0x00100000,uint32_t)) /* MIOM: DIOM operation */
-#define ENUM_SPI_CTL_MIO_QUAD (_ADI_MSK(0x00200000,uint32_t)) /* MIOM: QIOM operation */
-
-#define BITM_SPI_CTL_FMODE (_ADI_MSK(0x00040000,uint32_t)) /* Fast-Mode Enable */
-#define ENUM_SPI_CTL_FAST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FMODE: Disable */
-#define ENUM_SPI_CTL_FAST_EN (_ADI_MSK(0x00040000,uint32_t)) /* FMODE: Enable */
-
-#define BITM_SPI_CTL_FCWM (_ADI_MSK(0x00030000,uint32_t)) /* Flow Control Watermark */
-#define ENUM_SPI_CTL_FIFO0 (_ADI_MSK(0x00000000,uint32_t)) /* FCWM: TFIFO empty or RFIFO full */
-#define ENUM_SPI_CTL_FIFO1 (_ADI_MSK(0x00010000,uint32_t)) /* FCWM: TFIFO 75% or more empty, or RFIFO full */
-#define ENUM_SPI_CTL_FIFO2 (_ADI_MSK(0x00020000,uint32_t)) /* FCWM: TFIFO 50% or more empty, or RFIFO full */
-
-#define BITM_SPI_CTL_FCPL (_ADI_MSK(0x00008000,uint32_t)) /* Flow Control Polarity */
-#define ENUM_SPI_CTL_FLOW_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPL: Active-low RDY */
-#define ENUM_SPI_CTL_FLOW_HI (_ADI_MSK(0x00008000,uint32_t)) /* FCPL: Active-high RDY */
-
-#define BITM_SPI_CTL_FCCH (_ADI_MSK(0x00004000,uint32_t)) /* Flow Control Channel Selection */
-#define ENUM_SPI_CTL_FLOW_RX (_ADI_MSK(0x00000000,uint32_t)) /* FCCH: Flow control on RX buffer */
-#define ENUM_SPI_CTL_FLOW_TX (_ADI_MSK(0x00004000,uint32_t)) /* FCCH: Flow control on TX buffer */
-
-#define BITM_SPI_CTL_FCEN (_ADI_MSK(0x00002000,uint32_t)) /* Flow Control Enable */
-#define ENUM_SPI_CTL_FLOW_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FCEN: Disable */
-#define ENUM_SPI_CTL_FLOW_EN (_ADI_MSK(0x00002000,uint32_t)) /* FCEN: Enable */
-
-#define BITM_SPI_CTL_LSBF (_ADI_MSK(0x00001000,uint32_t)) /* Least Significant Bit First */
-#define ENUM_SPI_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB sent/received first (big endian) */
-#define ENUM_SPI_CTL_LSB_FIRST (_ADI_MSK(0x00001000,uint32_t)) /* LSBF: LSB sent/received first (little endian) */
-
-#define BITM_SPI_CTL_SIZE (_ADI_MSK(0x00000600,uint32_t)) /* Word Transfer Size */
-#define ENUM_SPI_CTL_SIZE08 (_ADI_MSK(0x00000000,uint32_t)) /* SIZE: 8-bit word */
-#define ENUM_SPI_CTL_SIZE16 (_ADI_MSK(0x00000200,uint32_t)) /* SIZE: 16-bit word */
-#define ENUM_SPI_CTL_SIZE32 (_ADI_MSK(0x00000400,uint32_t)) /* SIZE: 32-bit word */
-
-#define BITM_SPI_CTL_EMISO (_ADI_MSK(0x00000100,uint32_t)) /* Enable MISO */
-#define ENUM_SPI_CTL_MISO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMISO: Disable */
-#define ENUM_SPI_CTL_MISO_EN (_ADI_MSK(0x00000100,uint32_t)) /* EMISO: Enable */
-
-#define BITM_SPI_CTL_SELST (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select Polarity Between Transfers */
-#define ENUM_SPI_CTL_DEASSRT_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* SELST: De-assert slave select (high) */
-#define ENUM_SPI_CTL_ASSRT_SSEL (_ADI_MSK(0x00000080,uint32_t)) /* SELST: Assert slave select (low) */
-
-#define BITM_SPI_CTL_ASSEL (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select Pin Control */
-#define ENUM_SPI_CTL_SW_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* ASSEL: Software Slave Select Control */
-#define ENUM_SPI_CTL_HW_SSEL (_ADI_MSK(0x00000040,uint32_t)) /* ASSEL: Hardware Slave Select Control */
-
-#define BITM_SPI_CTL_CPOL (_ADI_MSK(0x00000020,uint32_t)) /* Clock Polarity */
-#define ENUM_SPI_CTL_SCKHI (_ADI_MSK(0x00000000,uint32_t)) /* CPOL: Active-high SPI CLK */
-#define ENUM_SPI_CTL_SCKLO (_ADI_MSK(0x00000020,uint32_t)) /* CPOL: Active-low SPI CLK */
-
-#define BITM_SPI_CTL_CPHA (_ADI_MSK(0x00000010,uint32_t)) /* Clock Phase */
-#define ENUM_SPI_CTL_SCKMID (_ADI_MSK(0x00000000,uint32_t)) /* CPHA: SPI CLK toggles from middle */
-#define ENUM_SPI_CTL_SCKBEG (_ADI_MSK(0x00000010,uint32_t)) /* CPHA: SPI CLK toggles from start */
-
-#define BITM_SPI_CTL_ODM (_ADI_MSK(0x00000008,uint32_t)) /* Open Drain Mode */
-#define ENUM_SPI_CTL_ODM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ODM: Disable */
-#define ENUM_SPI_CTL_ODM_EN (_ADI_MSK(0x00000008,uint32_t)) /* ODM: Enable */
-
-#define BITM_SPI_CTL_PSSE (_ADI_MSK(0x00000004,uint32_t)) /* Protected Slave Select Enable */
-#define ENUM_SPI_CTL_PSSE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PSSE: Disable */
-#define ENUM_SPI_CTL_PSSE_EN (_ADI_MSK(0x00000004,uint32_t)) /* PSSE: Enable */
-
-#define BITM_SPI_CTL_MSTR (_ADI_MSK(0x00000002,uint32_t)) /* Master / Slave */
-#define ENUM_SPI_CTL_SLAVE (_ADI_MSK(0x00000000,uint32_t)) /* MSTR: Slave */
-#define ENUM_SPI_CTL_MASTER (_ADI_MSK(0x00000002,uint32_t)) /* MSTR: Master */
-
-#define BITM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable SPI module */
-#define ENUM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RXCTL_RUWM 16 /* Receive FIFO Urgent Watermark */
-#define BITP_SPI_RXCTL_RRWM 12 /* Receive FIFO Regular Watermark */
-#define BITP_SPI_RXCTL_RDO 8 /* Receive Data Overrun */
-#define BITP_SPI_RXCTL_RDR 4 /* Receive Data Request */
-#define BITP_SPI_RXCTL_RWCEN 3 /* Receive Word Counter Enable */
-#define BITP_SPI_RXCTL_RTI 2 /* Receive Transfer Initiate */
-#define BITP_SPI_RXCTL_REN 0 /* Receive Enable */
-
-#define BITM_SPI_RXCTL_RUWM (_ADI_MSK(0x00070000,uint32_t)) /* Receive FIFO Urgent Watermark */
-#define ENUM_SPI_RXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disabled */
-#define ENUM_SPI_RXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* RUWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* RUWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* RUWM: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_FULL (_ADI_MSK(0x00040000,uint32_t)) /* RUWM: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RRWM (_ADI_MSK(0x00003000,uint32_t)) /* Receive FIFO Regular Watermark */
-#define ENUM_SPI_RXCTL_RWM_0 (_ADI_MSK(0x00000000,uint32_t)) /* RRWM: Empty RFIFO */
-#define ENUM_SPI_RXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* RRWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* RRWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* RRWM: 75% full RFIFO */
-
-#define BITM_SPI_RXCTL_RDO (_ADI_MSK(0x00000100,uint32_t)) /* Receive Data Overrun */
-#define ENUM_SPI_RXCTL_DISCARD (_ADI_MSK(0x00000000,uint32_t)) /* RDO: KeDiscard incoming data if SPI_RFIFO is full */
-#define ENUM_SPI_RXCTL_OVERWRITE (_ADI_MSK(0x00000100,uint32_t)) /* RDO: Overwrite old data if SPI_RFIFO is full */
-
-#define BITM_SPI_RXCTL_RDR (_ADI_MSK(0x00000070,uint32_t)) /* Receive Data Request */
-#define ENUM_SPI_RXCTL_RDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDR: Disabled */
-#define ENUM_SPI_RXCTL_RDR_NE (_ADI_MSK(0x00000010,uint32_t)) /* RDR: Not empty RFIFO */
-#define ENUM_SPI_RXCTL_RDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* RDR: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* RDR: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* RDR: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_FULL (_ADI_MSK(0x00000050,uint32_t)) /* RDR: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Receive Word Counter Enable */
-#define ENUM_SPI_RXCTL_RWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RWCEN: Disable */
-#define ENUM_SPI_RXCTL_RWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* RWCEN: Enable */
-
-#define BITM_SPI_RXCTL_RTI (_ADI_MSK(0x00000004,uint32_t)) /* Receive Transfer Initiate */
-#define ENUM_SPI_RXCTL_RTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RTI: Disable */
-#define ENUM_SPI_RXCTL_RTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* RTI: Enable */
-
-#define BITM_SPI_RXCTL_REN (_ADI_MSK(0x00000001,uint32_t)) /* Receive Enable */
-#define ENUM_SPI_RXCTL_RX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* REN: Disable */
-#define ENUM_SPI_RXCTL_RX_EN (_ADI_MSK(0x00000001,uint32_t)) /* REN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TXCTL_TUWM 16 /* FIFO Urgent Watermark */
-#define BITP_SPI_TXCTL_TRWM 12 /* FIFO Regular Watermark */
-#define BITP_SPI_TXCTL_TDU 8 /* Transmit Data Under-run */
-#define BITP_SPI_TXCTL_TDR 4 /* Transmit Data Request */
-#define BITP_SPI_TXCTL_TWCEN 3 /* Transmit Word Counter Enable */
-#define BITP_SPI_TXCTL_TTI 2 /* Transmit Transfer Initiate */
-#define BITP_SPI_TXCTL_TEN 0 /* Transmit Enable */
-
-#define BITM_SPI_TXCTL_TUWM (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Urgent Watermark */
-#define ENUM_SPI_TXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disabled */
-#define ENUM_SPI_TXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* TUWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* TUWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* TUWM: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TUWM: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TRWM (_ADI_MSK(0x00003000,uint32_t)) /* FIFO Regular Watermark */
-#define ENUM_SPI_TXCTL_RWM_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TRWM: Full TFIFO */
-#define ENUM_SPI_TXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* TRWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* TRWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* TRWM: 75% empty TFIFO */
-
-#define BITM_SPI_TXCTL_TDU (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Data Under-run */
-#define ENUM_SPI_TXCTL_LASTWD (_ADI_MSK(0x00000000,uint32_t)) /* TDU: Send last word when SPI_TFIFO is empty */
-#define ENUM_SPI_TXCTL_ZERO (_ADI_MSK(0x00000100,uint32_t)) /* TDU: Send zeros when SPI_TFIFO is empty */
-
-#define BITM_SPI_TXCTL_TDR (_ADI_MSK(0x00000070,uint32_t)) /* Transmit Data Request */
-#define ENUM_SPI_TXCTL_TDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TDR: Disabled */
-#define ENUM_SPI_TXCTL_TDR_NF (_ADI_MSK(0x00000010,uint32_t)) /* TDR: Not full TFIFO */
-#define ENUM_SPI_TXCTL_TDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* TDR: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* TDR: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* TDR: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_EMPTY (_ADI_MSK(0x00000050,uint32_t)) /* TDR: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Word Counter Enable */
-#define ENUM_SPI_TXCTL_TWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TWCEN: Disable */
-#define ENUM_SPI_TXCTL_TWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* TWCEN: Enable */
-
-#define BITM_SPI_TXCTL_TTI (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Transfer Initiate */
-#define ENUM_SPI_TXCTL_TTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TTI: Disable */
-#define ENUM_SPI_TXCTL_TTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* TTI: Enable */
-
-#define BITM_SPI_TXCTL_TEN (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Enable */
-#define ENUM_SPI_TXCTL_TX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TEN: Disable */
-#define ENUM_SPI_TXCTL_TX_EN (_ADI_MSK(0x00000001,uint32_t)) /* TEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CLK_BAUD 0 /* Baud Rate */
-#define BITM_SPI_CLK_BAUD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Baud Rate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_DLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_DLY_LAGX 9 /* Extended SPI Clock Lag Control */
-#define BITP_SPI_DLY_LEADX 8 /* Extended SPI Clock Lead Control */
-#define BITP_SPI_DLY_STOP 0 /* Transfer delay time in multiples of SPI clock period */
-#define BITM_SPI_DLY_LAGX (_ADI_MSK(0x00000200,uint32_t)) /* Extended SPI Clock Lag Control */
-#define BITM_SPI_DLY_LEADX (_ADI_MSK(0x00000100,uint32_t)) /* Extended SPI Clock Lead Control */
-#define BITM_SPI_DLY_STOP (_ADI_MSK(0x000000FF,uint32_t)) /* Transfer delay time in multiples of SPI clock period */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_SLVSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_SLVSEL_SSEL7 15 /* Slave Select 7 Input */
-#define BITP_SPI_SLVSEL_SSEL6 14 /* Slave Select 6 Input */
-#define BITP_SPI_SLVSEL_SSEL5 13 /* Slave Select 5 Input */
-#define BITP_SPI_SLVSEL_SSEL4 12 /* Slave Select 4 Input */
-#define BITP_SPI_SLVSEL_SSEL3 11 /* Slave Select 3 Input */
-#define BITP_SPI_SLVSEL_SSEL2 10 /* Slave Select 2 Input */
-#define BITP_SPI_SLVSEL_SSEL1 9 /* Slave Select 1 Input */
-#define BITP_SPI_SLVSEL_SSE7 7 /* Slave Select 7 Enable */
-#define BITP_SPI_SLVSEL_SSE6 6 /* Slave Select 6 Enable */
-#define BITP_SPI_SLVSEL_SSE5 5 /* Slave Select 5 Enable */
-#define BITP_SPI_SLVSEL_SSE4 4 /* Slave Select 4 Enable */
-#define BITP_SPI_SLVSEL_SSE3 3 /* Slave Select 3 Enable */
-#define BITP_SPI_SLVSEL_SSE2 2 /* Slave Select 2 Enable */
-#define BITP_SPI_SLVSEL_SSE1 1 /* Slave Select 1 Enable */
-
-#define BITM_SPI_SLVSEL_SSEL7 (_ADI_MSK(0x00008000,uint32_t)) /* Slave Select 7 Input */
-#define ENUM_SPI_SLVSEL_SSEL7_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL7: Low */
-#define ENUM_SPI_SLVSEL_SSEL7_HI (_ADI_MSK(0x00008000,uint32_t)) /* SSEL7: High */
-
-#define BITM_SPI_SLVSEL_SSEL6 (_ADI_MSK(0x00004000,uint32_t)) /* Slave Select 6 Input */
-#define ENUM_SPI_SLVSEL_SSEL6_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL6: Low */
-#define ENUM_SPI_SLVSEL_SSEL6_HI (_ADI_MSK(0x00004000,uint32_t)) /* SSEL6: High */
-
-#define BITM_SPI_SLVSEL_SSEL5 (_ADI_MSK(0x00002000,uint32_t)) /* Slave Select 5 Input */
-#define ENUM_SPI_SLVSEL_SSEL5_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL5: Low */
-#define ENUM_SPI_SLVSEL_SSEL5_HI (_ADI_MSK(0x00002000,uint32_t)) /* SSEL5: High */
-
-#define BITM_SPI_SLVSEL_SSEL4 (_ADI_MSK(0x00001000,uint32_t)) /* Slave Select 4 Input */
-#define ENUM_SPI_SLVSEL_SSEL4_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL4: Low */
-#define ENUM_SPI_SLVSEL_SSEL4_HI (_ADI_MSK(0x00001000,uint32_t)) /* SSEL4: High */
-
-#define BITM_SPI_SLVSEL_SSEL3 (_ADI_MSK(0x00000800,uint32_t)) /* Slave Select 3 Input */
-#define ENUM_SPI_SLVSEL_SSEL3_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL3: Low */
-#define ENUM_SPI_SLVSEL_SSEL3_HI (_ADI_MSK(0x00000800,uint32_t)) /* SSEL3: High */
-
-#define BITM_SPI_SLVSEL_SSEL2 (_ADI_MSK(0x00000400,uint32_t)) /* Slave Select 2 Input */
-#define ENUM_SPI_SLVSEL_SSEL2_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL2: Low */
-#define ENUM_SPI_SLVSEL_SSEL2_HI (_ADI_MSK(0x00000400,uint32_t)) /* SSEL2: High */
-
-#define BITM_SPI_SLVSEL_SSEL1 (_ADI_MSK(0x00000200,uint32_t)) /* Slave Select 1 Input */
-#define ENUM_SPI_SLVSEL_SSEL1_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL1: Low */
-#define ENUM_SPI_SLVSEL_SSEL1_HI (_ADI_MSK(0x00000200,uint32_t)) /* SSEL1: High */
-
-#define BITM_SPI_SLVSEL_SSE7 (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select 7 Enable */
-#define ENUM_SPI_SLVSEL_SSEL7_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE7: Disable */
-#define ENUM_SPI_SLVSEL_SSEL7_EN (_ADI_MSK(0x00000080,uint32_t)) /* SSE7: Enable */
-
-#define BITM_SPI_SLVSEL_SSE6 (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select 6 Enable */
-#define ENUM_SPI_SLVSEL_SSEL6_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE6: Disable */
-#define ENUM_SPI_SLVSEL_SSEL6_EN (_ADI_MSK(0x00000040,uint32_t)) /* SSE6: Enable */
-
-#define BITM_SPI_SLVSEL_SSE5 (_ADI_MSK(0x00000020,uint32_t)) /* Slave Select 5 Enable */
-#define ENUM_SPI_SLVSEL_SSEL5_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE5: Disable */
-#define ENUM_SPI_SLVSEL_SSEL5_EN (_ADI_MSK(0x00000020,uint32_t)) /* SSE5: Enable */
-
-#define BITM_SPI_SLVSEL_SSE4 (_ADI_MSK(0x00000010,uint32_t)) /* Slave Select 4 Enable */
-#define ENUM_SPI_SLVSEL_SSEL4_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE4: Disable */
-#define ENUM_SPI_SLVSEL_SSEL4_EN (_ADI_MSK(0x00000010,uint32_t)) /* SSE4: Enable */
-
-#define BITM_SPI_SLVSEL_SSE3 (_ADI_MSK(0x00000008,uint32_t)) /* Slave Select 3 Enable */
-#define ENUM_SPI_SLVSEL_SSEL3_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE3: Disable */
-#define ENUM_SPI_SLVSEL_SSEL3_EN (_ADI_MSK(0x00000008,uint32_t)) /* SSE3: Enable */
-
-#define BITM_SPI_SLVSEL_SSE2 (_ADI_MSK(0x00000004,uint32_t)) /* Slave Select 2 Enable */
-#define ENUM_SPI_SLVSEL_SSEL2_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE2: Disable */
-#define ENUM_SPI_SLVSEL_SSEL2_EN (_ADI_MSK(0x00000004,uint32_t)) /* SSE2: Enable */
-
-#define BITM_SPI_SLVSEL_SSE1 (_ADI_MSK(0x00000002,uint32_t)) /* Slave Select 1 Enable */
-#define ENUM_SPI_SLVSEL_SSEL1_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE1: Disable */
-#define ENUM_SPI_SLVSEL_SSEL1_EN (_ADI_MSK(0x00000002,uint32_t)) /* SSE1: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWC_VALUE 0 /* Received Word Count */
-#define BITM_SPI_RWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWCR_VALUE 0 /* Received Word Count Reload */
-#define BITM_SPI_RWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWC_VALUE 0 /* Transmitted Word Count */
-#define BITM_SPI_TWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWCR_VALUE 0 /* Transmitted Word Count Reload */
-#define BITM_SPI_TWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_TF 11 /* Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_RF 10 /* Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_TS 9 /* Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_RS 8 /* Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_MF 7 /* Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_TC 6 /* Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_TUR 5 /* Transmit Underrun Interrupt Mask */
-#define BITP_SPI_IMSK_ROR 4 /* Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_TUWM 2 /* Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_RUWM 1 /* Receive Urgent Watermark Interrupt Mask */
-
-#define BITM_SPI_IMSK_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Mask */
-#define ENUM_SPI_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: Disable (mask) interrupt */
-#define ENUM_SPI_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Mask */
-#define ENUM_SPI_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: Disable (mask) interrupt */
-#define ENUM_SPI_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Mask */
-#define ENUM_SPI_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: Disable (mask) interrupt */
-#define ENUM_SPI_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Mask */
-#define ENUM_SPI_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: Disable (mask) interrupt */
-#define ENUM_SPI_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Mask */
-#define ENUM_SPI_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: Disable (mask) interrupt */
-#define ENUM_SPI_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Mask */
-#define ENUM_SPI_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: Disable (mask) interrupt */
-#define ENUM_SPI_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Interrupt Mask */
-#define ENUM_SPI_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: Disable (mask) interrupt */
-#define ENUM_SPI_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Mask */
-#define ENUM_SPI_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: Disable (mask) interrupt */
-#define ENUM_SPI_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disable (mask) interrupt */
-#define ENUM_SPI_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disable (mask) interrupt */
-#define ENUM_SPI_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_CLR_TF 11 /* Clear Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RF 10 /* Clear Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TS 9 /* Clear Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RS 8 /* Clear Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_MF 7 /* Clear Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TC 6 /* Clear Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_ROR 4 /* Clear Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_SET_TF 11 /* Set Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RF 10 /* Set Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TS 9 /* Set Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RS 8 /* Set Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_MF 7 /* Set Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TC 6 /* Set Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUR 5 /* Set Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_SET_ROR 4 /* Set Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUWM 2 /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RUWM 1 /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_SET are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_SET_TF (_ADI_MSK(0x00000800,uint32_t)) /* Set Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RF (_ADI_MSK(0x00000400,uint32_t)) /* Set Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TS (_ADI_MSK(0x00000200,uint32_t)) /* Set Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RS (_ADI_MSK(0x00000100,uint32_t)) /* Set Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_MF (_ADI_MSK(0x00000080,uint32_t)) /* Set Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TC (_ADI_MSK(0x00000040,uint32_t)) /* Set Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Set Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_SET_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Set Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_STAT_TFF 23 /* SPI_TFIFO Full */
-#define BITP_SPI_STAT_RFE 22 /* SPI_RFIFO Empty */
-#define BITP_SPI_STAT_FCS 20 /* Flow Control Stall Indication */
-#define BITP_SPI_STAT_TFS 16 /* SPI_TFIFO Status */
-#define BITP_SPI_STAT_RFS 12 /* SPI_RFIFO Status */
-#define BITP_SPI_STAT_TF 11 /* Transmit Finish Indication */
-#define BITP_SPI_STAT_RF 10 /* Receive Finish Indication */
-#define BITP_SPI_STAT_TS 9 /* Transmit Start */
-#define BITP_SPI_STAT_RS 8 /* Receive Start */
-#define BITP_SPI_STAT_MF 7 /* Mode Fault Indication */
-#define BITP_SPI_STAT_TC 6 /* Transmit Collision Indication */
-#define BITP_SPI_STAT_TUR 5 /* Transmit Underrun Indication */
-#define BITP_SPI_STAT_ROR 4 /* Receive Overrun Indication */
-#define BITP_SPI_STAT_TUWM 2 /* Transmit Urgent Watermark Breached */
-#define BITP_SPI_STAT_RUWM 1 /* Receive Urgent Watermark Breached */
-#define BITP_SPI_STAT_SPIF 0 /* SPI Finished */
-
-#define BITM_SPI_STAT_TFF (_ADI_MSK(0x00800000,uint32_t)) /* SPI_TFIFO Full */
-#define ENUM_SPI_STAT_TFIFO_NF (_ADI_MSK(0x00000000,uint32_t)) /* TFF: Not full Tx FIFO */
-#define ENUM_SPI_STAT_TFIFO_F (_ADI_MSK(0x00800000,uint32_t)) /* TFF: Full Tx FIFO */
-
-#define BITM_SPI_STAT_RFE (_ADI_MSK(0x00400000,uint32_t)) /* SPI_RFIFO Empty */
-#define ENUM_SPI_STAT_RFIFO_E (_ADI_MSK(0x00000000,uint32_t)) /* RFE: Empty Rx FIFO */
-#define ENUM_SPI_STAT_RFIFO_NE (_ADI_MSK(0x00400000,uint32_t)) /* RFE: Not empty Rx FIFO */
-
-#define BITM_SPI_STAT_FCS (_ADI_MSK(0x00100000,uint32_t)) /* Flow Control Stall Indication */
-#define ENUM_SPI_STAT_STALL (_ADI_MSK(0x00000000,uint32_t)) /* FCS: Stall (RDY pin asserted) */
-#define ENUM_SPI_STAT_NOSTALL (_ADI_MSK(0x00100000,uint32_t)) /* FCS: No stall (RDY pin de-asserted) */
-
-#define BITM_SPI_STAT_TFS (_ADI_MSK(0x00070000,uint32_t)) /* SPI_TFIFO Status */
-#define ENUM_SPI_STAT_TFIFO_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TFS: Full TFIFO */
-#define ENUM_SPI_STAT_TFIFO_25 (_ADI_MSK(0x00010000,uint32_t)) /* TFS: 25% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_50 (_ADI_MSK(0x00020000,uint32_t)) /* TFS: 50% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_75 (_ADI_MSK(0x00030000,uint32_t)) /* TFS: 75% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TFS: Empty TFIFO */
-
-#define BITM_SPI_STAT_RFS (_ADI_MSK(0x00007000,uint32_t)) /* SPI_RFIFO Status */
-#define ENUM_SPI_STAT_RFIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RFS: Empty RFIFO */
-#define ENUM_SPI_STAT_RFIFO_25 (_ADI_MSK(0x00001000,uint32_t)) /* RFS: 25% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_50 (_ADI_MSK(0x00002000,uint32_t)) /* RFS: 50% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_75 (_ADI_MSK(0x00003000,uint32_t)) /* RFS: 75% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_FULL (_ADI_MSK(0x00004000,uint32_t)) /* RFS: Full RFIFO */
-
-#define BITM_SPI_STAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Indication */
-#define ENUM_SPI_STAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No status */
-#define ENUM_SPI_STAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Transmit finish detected */
-
-#define BITM_SPI_STAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Indication */
-#define ENUM_SPI_STAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No status */
-#define ENUM_SPI_STAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Receive finish detected */
-
-#define BITM_SPI_STAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start */
-#define ENUM_SPI_STAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No status */
-#define ENUM_SPI_STAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Transmit start detected */
-
-#define BITM_SPI_STAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start */
-#define ENUM_SPI_STAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No status */
-#define ENUM_SPI_STAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Receive start detected */
-
-#define BITM_SPI_STAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Indication */
-#define ENUM_SPI_STAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No status */
-#define ENUM_SPI_STAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Mode fault occurred */
-
-#define BITM_SPI_STAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Indication */
-#define ENUM_SPI_STAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No status */
-#define ENUM_SPI_STAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Transmit collision occurred */
-
-#define BITM_SPI_STAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Indication */
-#define ENUM_SPI_STAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No status */
-#define ENUM_SPI_STAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Transmit underrun occurred */
-
-#define BITM_SPI_STAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Indication */
-#define ENUM_SPI_STAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No status */
-#define ENUM_SPI_STAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Receive overrun occurred */
-
-#define BITM_SPI_STAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Breached */
-#define ENUM_SPI_STAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: TX Regular Watermark reached */
-#define ENUM_SPI_STAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: TX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Breached */
-#define ENUM_SPI_STAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: RX Regular Watermark reached */
-#define ENUM_SPI_STAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: RX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_SPIF (_ADI_MSK(0x00000001,uint32_t)) /* SPI Finished */
-#define ENUM_SPI_STAT_SPIF_LO (_ADI_MSK(0x00000000,uint32_t)) /* SPIF: No status */
-#define ENUM_SPI_STAT_SPIF_HI (_ADI_MSK(0x00000001,uint32_t)) /* SPIF: Completed single-word transfer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_TF 11 /* Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_RF 10 /* Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_TS 9 /* Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_RS 8 /* Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_MF 7 /* Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_TC 6 /* Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_TUR 5 /* Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_ROR 4 /* Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_TUWM 2 /* Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_RUWM 1 /* Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-
-#define BITM_SPI_ILAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No interrupt */
-#define ENUM_SPI_ILAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Latched interrupt */
-
-#define BITM_SPI_ILAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No interrupt */
-#define ENUM_SPI_ILAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Latch */
-#define ENUM_SPI_ILAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No interrupt */
-#define ENUM_SPI_ILAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Latched interrupt */
-
-#define BITM_SPI_ILAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Latch */
-#define ENUM_SPI_ILAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No interrupt */
-#define ENUM_SPI_ILAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Latched interrupt */
-
-#define BITM_SPI_ILAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Latch */
-#define ENUM_SPI_ILAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No interrupt */
-#define ENUM_SPI_ILAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Latch */
-#define ENUM_SPI_ILAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No interrupt */
-#define ENUM_SPI_ILAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Under-run Interrupt Latch */
-#define ENUM_SPI_ILAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No interrupt */
-#define ENUM_SPI_ILAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Latched interrupt */
-
-#define BITM_SPI_ILAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Latch */
-#define ENUM_SPI_ILAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No interrupt */
-#define ENUM_SPI_ILAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: No interrupt */
-#define ENUM_SPI_ILAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Latched interrupt */
-
-#define BITM_SPI_ILAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: No interrupt */
-#define ENUM_SPI_ILAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Latched interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_CLR_TF 11 /* Clear Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RF 10 /* Clear Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TS 9 /* Clear Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RS 8 /* Clear Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_MF 7 /* Clear Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TC 6 /* Clear Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_ROR 4 /* Clear Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_ILAT_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* ==================================================
- DMA Channel Registers
- ================================================== */
-
-/* =========================
- DMA0
- ========================= */
-#define REG_DMA0_DSCPTR_NXT 0xFFC41000 /* DMA0 Pointer to Next Initial Descriptor */
-#define REG_DMA0_ADDRSTART 0xFFC41004 /* DMA0 Start Address of Current Buffer */
-#define REG_DMA0_CFG 0xFFC41008 /* DMA0 Configuration Register */
-#define REG_DMA0_XCNT 0xFFC4100C /* DMA0 Inner Loop Count Start Value */
-#define REG_DMA0_XMOD 0xFFC41010 /* DMA0 Inner Loop Address Increment */
-#define REG_DMA0_YCNT 0xFFC41014 /* DMA0 Outer Loop Count Start Value (2D only) */
-#define REG_DMA0_YMOD 0xFFC41018 /* DMA0 Outer Loop Address Increment (2D only) */
-#define REG_DMA0_DSCPTR_CUR 0xFFC41024 /* DMA0 Current Descriptor Pointer */
-#define REG_DMA0_DSCPTR_PRV 0xFFC41028 /* DMA0 Previous Initial Descriptor Pointer */
-#define REG_DMA0_ADDR_CUR 0xFFC4102C /* DMA0 Current Address */
-#define REG_DMA0_STAT 0xFFC41030 /* DMA0 Status Register */
-#define REG_DMA0_XCNT_CUR 0xFFC41034 /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA0_YCNT_CUR 0xFFC41038 /* DMA0 Current Row Count (2D only) */
-#define REG_DMA0_BWLCNT 0xFFC41040 /* DMA0 Bandwidth Limit Count */
-#define REG_DMA0_BWLCNT_CUR 0xFFC41044 /* DMA0 Bandwidth Limit Count Current */
-#define REG_DMA0_BWMCNT 0xFFC41048 /* DMA0 Bandwidth Monitor Count */
-#define REG_DMA0_BWMCNT_CUR 0xFFC4104C /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA1
- ========================= */
-#define REG_DMA1_DSCPTR_NXT 0xFFC41080 /* DMA1 Pointer to Next Initial Descriptor */
-#define REG_DMA1_ADDRSTART 0xFFC41084 /* DMA1 Start Address of Current Buffer */
-#define REG_DMA1_CFG 0xFFC41088 /* DMA1 Configuration Register */
-#define REG_DMA1_XCNT 0xFFC4108C /* DMA1 Inner Loop Count Start Value */
-#define REG_DMA1_XMOD 0xFFC41090 /* DMA1 Inner Loop Address Increment */
-#define REG_DMA1_YCNT 0xFFC41094 /* DMA1 Outer Loop Count Start Value (2D only) */
-#define REG_DMA1_YMOD 0xFFC41098 /* DMA1 Outer Loop Address Increment (2D only) */
-#define REG_DMA1_DSCPTR_CUR 0xFFC410A4 /* DMA1 Current Descriptor Pointer */
-#define REG_DMA1_DSCPTR_PRV 0xFFC410A8 /* DMA1 Previous Initial Descriptor Pointer */
-#define REG_DMA1_ADDR_CUR 0xFFC410AC /* DMA1 Current Address */
-#define REG_DMA1_STAT 0xFFC410B0 /* DMA1 Status Register */
-#define REG_DMA1_XCNT_CUR 0xFFC410B4 /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA1_YCNT_CUR 0xFFC410B8 /* DMA1 Current Row Count (2D only) */
-#define REG_DMA1_BWLCNT 0xFFC410C0 /* DMA1 Bandwidth Limit Count */
-#define REG_DMA1_BWLCNT_CUR 0xFFC410C4 /* DMA1 Bandwidth Limit Count Current */
-#define REG_DMA1_BWMCNT 0xFFC410C8 /* DMA1 Bandwidth Monitor Count */
-#define REG_DMA1_BWMCNT_CUR 0xFFC410CC /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA2
- ========================= */
-#define REG_DMA2_DSCPTR_NXT 0xFFC41100 /* DMA2 Pointer to Next Initial Descriptor */
-#define REG_DMA2_ADDRSTART 0xFFC41104 /* DMA2 Start Address of Current Buffer */
-#define REG_DMA2_CFG 0xFFC41108 /* DMA2 Configuration Register */
-#define REG_DMA2_XCNT 0xFFC4110C /* DMA2 Inner Loop Count Start Value */
-#define REG_DMA2_XMOD 0xFFC41110 /* DMA2 Inner Loop Address Increment */
-#define REG_DMA2_YCNT 0xFFC41114 /* DMA2 Outer Loop Count Start Value (2D only) */
-#define REG_DMA2_YMOD 0xFFC41118 /* DMA2 Outer Loop Address Increment (2D only) */
-#define REG_DMA2_DSCPTR_CUR 0xFFC41124 /* DMA2 Current Descriptor Pointer */
-#define REG_DMA2_DSCPTR_PRV 0xFFC41128 /* DMA2 Previous Initial Descriptor Pointer */
-#define REG_DMA2_ADDR_CUR 0xFFC4112C /* DMA2 Current Address */
-#define REG_DMA2_STAT 0xFFC41130 /* DMA2 Status Register */
-#define REG_DMA2_XCNT_CUR 0xFFC41134 /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA2_YCNT_CUR 0xFFC41138 /* DMA2 Current Row Count (2D only) */
-#define REG_DMA2_BWLCNT 0xFFC41140 /* DMA2 Bandwidth Limit Count */
-#define REG_DMA2_BWLCNT_CUR 0xFFC41144 /* DMA2 Bandwidth Limit Count Current */
-#define REG_DMA2_BWMCNT 0xFFC41148 /* DMA2 Bandwidth Monitor Count */
-#define REG_DMA2_BWMCNT_CUR 0xFFC4114C /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA3
- ========================= */
-#define REG_DMA3_DSCPTR_NXT 0xFFC41180 /* DMA3 Pointer to Next Initial Descriptor */
-#define REG_DMA3_ADDRSTART 0xFFC41184 /* DMA3 Start Address of Current Buffer */
-#define REG_DMA3_CFG 0xFFC41188 /* DMA3 Configuration Register */
-#define REG_DMA3_XCNT 0xFFC4118C /* DMA3 Inner Loop Count Start Value */
-#define REG_DMA3_XMOD 0xFFC41190 /* DMA3 Inner Loop Address Increment */
-#define REG_DMA3_YCNT 0xFFC41194 /* DMA3 Outer Loop Count Start Value (2D only) */
-#define REG_DMA3_YMOD 0xFFC41198 /* DMA3 Outer Loop Address Increment (2D only) */
-#define REG_DMA3_DSCPTR_CUR 0xFFC411A4 /* DMA3 Current Descriptor Pointer */
-#define REG_DMA3_DSCPTR_PRV 0xFFC411A8 /* DMA3 Previous Initial Descriptor Pointer */
-#define REG_DMA3_ADDR_CUR 0xFFC411AC /* DMA3 Current Address */
-#define REG_DMA3_STAT 0xFFC411B0 /* DMA3 Status Register */
-#define REG_DMA3_XCNT_CUR 0xFFC411B4 /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA3_YCNT_CUR 0xFFC411B8 /* DMA3 Current Row Count (2D only) */
-#define REG_DMA3_BWLCNT 0xFFC411C0 /* DMA3 Bandwidth Limit Count */
-#define REG_DMA3_BWLCNT_CUR 0xFFC411C4 /* DMA3 Bandwidth Limit Count Current */
-#define REG_DMA3_BWMCNT 0xFFC411C8 /* DMA3 Bandwidth Monitor Count */
-#define REG_DMA3_BWMCNT_CUR 0xFFC411CC /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA4
- ========================= */
-#define REG_DMA4_DSCPTR_NXT 0xFFC41200 /* DMA4 Pointer to Next Initial Descriptor */
-#define REG_DMA4_ADDRSTART 0xFFC41204 /* DMA4 Start Address of Current Buffer */
-#define REG_DMA4_CFG 0xFFC41208 /* DMA4 Configuration Register */
-#define REG_DMA4_XCNT 0xFFC4120C /* DMA4 Inner Loop Count Start Value */
-#define REG_DMA4_XMOD 0xFFC41210 /* DMA4 Inner Loop Address Increment */
-#define REG_DMA4_YCNT 0xFFC41214 /* DMA4 Outer Loop Count Start Value (2D only) */
-#define REG_DMA4_YMOD 0xFFC41218 /* DMA4 Outer Loop Address Increment (2D only) */
-#define REG_DMA4_DSCPTR_CUR 0xFFC41224 /* DMA4 Current Descriptor Pointer */
-#define REG_DMA4_DSCPTR_PRV 0xFFC41228 /* DMA4 Previous Initial Descriptor Pointer */
-#define REG_DMA4_ADDR_CUR 0xFFC4122C /* DMA4 Current Address */
-#define REG_DMA4_STAT 0xFFC41230 /* DMA4 Status Register */
-#define REG_DMA4_XCNT_CUR 0xFFC41234 /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA4_YCNT_CUR 0xFFC41238 /* DMA4 Current Row Count (2D only) */
-#define REG_DMA4_BWLCNT 0xFFC41240 /* DMA4 Bandwidth Limit Count */
-#define REG_DMA4_BWLCNT_CUR 0xFFC41244 /* DMA4 Bandwidth Limit Count Current */
-#define REG_DMA4_BWMCNT 0xFFC41248 /* DMA4 Bandwidth Monitor Count */
-#define REG_DMA4_BWMCNT_CUR 0xFFC4124C /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA5
- ========================= */
-#define REG_DMA5_DSCPTR_NXT 0xFFC41280 /* DMA5 Pointer to Next Initial Descriptor */
-#define REG_DMA5_ADDRSTART 0xFFC41284 /* DMA5 Start Address of Current Buffer */
-#define REG_DMA5_CFG 0xFFC41288 /* DMA5 Configuration Register */
-#define REG_DMA5_XCNT 0xFFC4128C /* DMA5 Inner Loop Count Start Value */
-#define REG_DMA5_XMOD 0xFFC41290 /* DMA5 Inner Loop Address Increment */
-#define REG_DMA5_YCNT 0xFFC41294 /* DMA5 Outer Loop Count Start Value (2D only) */
-#define REG_DMA5_YMOD 0xFFC41298 /* DMA5 Outer Loop Address Increment (2D only) */
-#define REG_DMA5_DSCPTR_CUR 0xFFC412A4 /* DMA5 Current Descriptor Pointer */
-#define REG_DMA5_DSCPTR_PRV 0xFFC412A8 /* DMA5 Previous Initial Descriptor Pointer */
-#define REG_DMA5_ADDR_CUR 0xFFC412AC /* DMA5 Current Address */
-#define REG_DMA5_STAT 0xFFC412B0 /* DMA5 Status Register */
-#define REG_DMA5_XCNT_CUR 0xFFC412B4 /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA5_YCNT_CUR 0xFFC412B8 /* DMA5 Current Row Count (2D only) */
-#define REG_DMA5_BWLCNT 0xFFC412C0 /* DMA5 Bandwidth Limit Count */
-#define REG_DMA5_BWLCNT_CUR 0xFFC412C4 /* DMA5 Bandwidth Limit Count Current */
-#define REG_DMA5_BWMCNT 0xFFC412C8 /* DMA5 Bandwidth Monitor Count */
-#define REG_DMA5_BWMCNT_CUR 0xFFC412CC /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA6
- ========================= */
-#define REG_DMA6_DSCPTR_NXT 0xFFC41300 /* DMA6 Pointer to Next Initial Descriptor */
-#define REG_DMA6_ADDRSTART 0xFFC41304 /* DMA6 Start Address of Current Buffer */
-#define REG_DMA6_CFG 0xFFC41308 /* DMA6 Configuration Register */
-#define REG_DMA6_XCNT 0xFFC4130C /* DMA6 Inner Loop Count Start Value */
-#define REG_DMA6_XMOD 0xFFC41310 /* DMA6 Inner Loop Address Increment */
-#define REG_DMA6_YCNT 0xFFC41314 /* DMA6 Outer Loop Count Start Value (2D only) */
-#define REG_DMA6_YMOD 0xFFC41318 /* DMA6 Outer Loop Address Increment (2D only) */
-#define REG_DMA6_DSCPTR_CUR 0xFFC41324 /* DMA6 Current Descriptor Pointer */
-#define REG_DMA6_DSCPTR_PRV 0xFFC41328 /* DMA6 Previous Initial Descriptor Pointer */
-#define REG_DMA6_ADDR_CUR 0xFFC4132C /* DMA6 Current Address */
-#define REG_DMA6_STAT 0xFFC41330 /* DMA6 Status Register */
-#define REG_DMA6_XCNT_CUR 0xFFC41334 /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA6_YCNT_CUR 0xFFC41338 /* DMA6 Current Row Count (2D only) */
-#define REG_DMA6_BWLCNT 0xFFC41340 /* DMA6 Bandwidth Limit Count */
-#define REG_DMA6_BWLCNT_CUR 0xFFC41344 /* DMA6 Bandwidth Limit Count Current */
-#define REG_DMA6_BWMCNT 0xFFC41348 /* DMA6 Bandwidth Monitor Count */
-#define REG_DMA6_BWMCNT_CUR 0xFFC4134C /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA7
- ========================= */
-#define REG_DMA7_DSCPTR_NXT 0xFFC41380 /* DMA7 Pointer to Next Initial Descriptor */
-#define REG_DMA7_ADDRSTART 0xFFC41384 /* DMA7 Start Address of Current Buffer */
-#define REG_DMA7_CFG 0xFFC41388 /* DMA7 Configuration Register */
-#define REG_DMA7_XCNT 0xFFC4138C /* DMA7 Inner Loop Count Start Value */
-#define REG_DMA7_XMOD 0xFFC41390 /* DMA7 Inner Loop Address Increment */
-#define REG_DMA7_YCNT 0xFFC41394 /* DMA7 Outer Loop Count Start Value (2D only) */
-#define REG_DMA7_YMOD 0xFFC41398 /* DMA7 Outer Loop Address Increment (2D only) */
-#define REG_DMA7_DSCPTR_CUR 0xFFC413A4 /* DMA7 Current Descriptor Pointer */
-#define REG_DMA7_DSCPTR_PRV 0xFFC413A8 /* DMA7 Previous Initial Descriptor Pointer */
-#define REG_DMA7_ADDR_CUR 0xFFC413AC /* DMA7 Current Address */
-#define REG_DMA7_STAT 0xFFC413B0 /* DMA7 Status Register */
-#define REG_DMA7_XCNT_CUR 0xFFC413B4 /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA7_YCNT_CUR 0xFFC413B8 /* DMA7 Current Row Count (2D only) */
-#define REG_DMA7_BWLCNT 0xFFC413C0 /* DMA7 Bandwidth Limit Count */
-#define REG_DMA7_BWLCNT_CUR 0xFFC413C4 /* DMA7 Bandwidth Limit Count Current */
-#define REG_DMA7_BWMCNT 0xFFC413C8 /* DMA7 Bandwidth Monitor Count */
-#define REG_DMA7_BWMCNT_CUR 0xFFC413CC /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA8
- ========================= */
-#define REG_DMA8_DSCPTR_NXT 0xFFC41400 /* DMA8 Pointer to Next Initial Descriptor */
-#define REG_DMA8_ADDRSTART 0xFFC41404 /* DMA8 Start Address of Current Buffer */
-#define REG_DMA8_CFG 0xFFC41408 /* DMA8 Configuration Register */
-#define REG_DMA8_XCNT 0xFFC4140C /* DMA8 Inner Loop Count Start Value */
-#define REG_DMA8_XMOD 0xFFC41410 /* DMA8 Inner Loop Address Increment */
-#define REG_DMA8_YCNT 0xFFC41414 /* DMA8 Outer Loop Count Start Value (2D only) */
-#define REG_DMA8_YMOD 0xFFC41418 /* DMA8 Outer Loop Address Increment (2D only) */
-#define REG_DMA8_DSCPTR_CUR 0xFFC41424 /* DMA8 Current Descriptor Pointer */
-#define REG_DMA8_DSCPTR_PRV 0xFFC41428 /* DMA8 Previous Initial Descriptor Pointer */
-#define REG_DMA8_ADDR_CUR 0xFFC4142C /* DMA8 Current Address */
-#define REG_DMA8_STAT 0xFFC41430 /* DMA8 Status Register */
-#define REG_DMA8_XCNT_CUR 0xFFC41434 /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA8_YCNT_CUR 0xFFC41438 /* DMA8 Current Row Count (2D only) */
-#define REG_DMA8_BWLCNT 0xFFC41440 /* DMA8 Bandwidth Limit Count */
-#define REG_DMA8_BWLCNT_CUR 0xFFC41444 /* DMA8 Bandwidth Limit Count Current */
-#define REG_DMA8_BWMCNT 0xFFC41448 /* DMA8 Bandwidth Monitor Count */
-#define REG_DMA8_BWMCNT_CUR 0xFFC4144C /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA9
- ========================= */
-#define REG_DMA9_DSCPTR_NXT 0xFFC41480 /* DMA9 Pointer to Next Initial Descriptor */
-#define REG_DMA9_ADDRSTART 0xFFC41484 /* DMA9 Start Address of Current Buffer */
-#define REG_DMA9_CFG 0xFFC41488 /* DMA9 Configuration Register */
-#define REG_DMA9_XCNT 0xFFC4148C /* DMA9 Inner Loop Count Start Value */
-#define REG_DMA9_XMOD 0xFFC41490 /* DMA9 Inner Loop Address Increment */
-#define REG_DMA9_YCNT 0xFFC41494 /* DMA9 Outer Loop Count Start Value (2D only) */
-#define REG_DMA9_YMOD 0xFFC41498 /* DMA9 Outer Loop Address Increment (2D only) */
-#define REG_DMA9_DSCPTR_CUR 0xFFC414A4 /* DMA9 Current Descriptor Pointer */
-#define REG_DMA9_DSCPTR_PRV 0xFFC414A8 /* DMA9 Previous Initial Descriptor Pointer */
-#define REG_DMA9_ADDR_CUR 0xFFC414AC /* DMA9 Current Address */
-#define REG_DMA9_STAT 0xFFC414B0 /* DMA9 Status Register */
-#define REG_DMA9_XCNT_CUR 0xFFC414B4 /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA9_YCNT_CUR 0xFFC414B8 /* DMA9 Current Row Count (2D only) */
-#define REG_DMA9_BWLCNT 0xFFC414C0 /* DMA9 Bandwidth Limit Count */
-#define REG_DMA9_BWLCNT_CUR 0xFFC414C4 /* DMA9 Bandwidth Limit Count Current */
-#define REG_DMA9_BWMCNT 0xFFC414C8 /* DMA9 Bandwidth Monitor Count */
-#define REG_DMA9_BWMCNT_CUR 0xFFC414CC /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA10
- ========================= */
-#define REG_DMA10_DSCPTR_NXT 0xFFC05000 /* DMA10 Pointer to Next Initial Descriptor */
-#define REG_DMA10_ADDRSTART 0xFFC05004 /* DMA10 Start Address of Current Buffer */
-#define REG_DMA10_CFG 0xFFC05008 /* DMA10 Configuration Register */
-#define REG_DMA10_XCNT 0xFFC0500C /* DMA10 Inner Loop Count Start Value */
-#define REG_DMA10_XMOD 0xFFC05010 /* DMA10 Inner Loop Address Increment */
-#define REG_DMA10_YCNT 0xFFC05014 /* DMA10 Outer Loop Count Start Value (2D only) */
-#define REG_DMA10_YMOD 0xFFC05018 /* DMA10 Outer Loop Address Increment (2D only) */
-#define REG_DMA10_DSCPTR_CUR 0xFFC05024 /* DMA10 Current Descriptor Pointer */
-#define REG_DMA10_DSCPTR_PRV 0xFFC05028 /* DMA10 Previous Initial Descriptor Pointer */
-#define REG_DMA10_ADDR_CUR 0xFFC0502C /* DMA10 Current Address */
-#define REG_DMA10_STAT 0xFFC05030 /* DMA10 Status Register */
-#define REG_DMA10_XCNT_CUR 0xFFC05034 /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA10_YCNT_CUR 0xFFC05038 /* DMA10 Current Row Count (2D only) */
-#define REG_DMA10_BWLCNT 0xFFC05040 /* DMA10 Bandwidth Limit Count */
-#define REG_DMA10_BWLCNT_CUR 0xFFC05044 /* DMA10 Bandwidth Limit Count Current */
-#define REG_DMA10_BWMCNT 0xFFC05048 /* DMA10 Bandwidth Monitor Count */
-#define REG_DMA10_BWMCNT_CUR 0xFFC0504C /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA11
- ========================= */
-#define REG_DMA11_DSCPTR_NXT 0xFFC05080 /* DMA11 Pointer to Next Initial Descriptor */
-#define REG_DMA11_ADDRSTART 0xFFC05084 /* DMA11 Start Address of Current Buffer */
-#define REG_DMA11_CFG 0xFFC05088 /* DMA11 Configuration Register */
-#define REG_DMA11_XCNT 0xFFC0508C /* DMA11 Inner Loop Count Start Value */
-#define REG_DMA11_XMOD 0xFFC05090 /* DMA11 Inner Loop Address Increment */
-#define REG_DMA11_YCNT 0xFFC05094 /* DMA11 Outer Loop Count Start Value (2D only) */
-#define REG_DMA11_YMOD 0xFFC05098 /* DMA11 Outer Loop Address Increment (2D only) */
-#define REG_DMA11_DSCPTR_CUR 0xFFC050A4 /* DMA11 Current Descriptor Pointer */
-#define REG_DMA11_DSCPTR_PRV 0xFFC050A8 /* DMA11 Previous Initial Descriptor Pointer */
-#define REG_DMA11_ADDR_CUR 0xFFC050AC /* DMA11 Current Address */
-#define REG_DMA11_STAT 0xFFC050B0 /* DMA11 Status Register */
-#define REG_DMA11_XCNT_CUR 0xFFC050B4 /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA11_YCNT_CUR 0xFFC050B8 /* DMA11 Current Row Count (2D only) */
-#define REG_DMA11_BWLCNT 0xFFC050C0 /* DMA11 Bandwidth Limit Count */
-#define REG_DMA11_BWLCNT_CUR 0xFFC050C4 /* DMA11 Bandwidth Limit Count Current */
-#define REG_DMA11_BWMCNT 0xFFC050C8 /* DMA11 Bandwidth Monitor Count */
-#define REG_DMA11_BWMCNT_CUR 0xFFC050CC /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA12
- ========================= */
-#define REG_DMA12_DSCPTR_NXT 0xFFC05100 /* DMA12 Pointer to Next Initial Descriptor */
-#define REG_DMA12_ADDRSTART 0xFFC05104 /* DMA12 Start Address of Current Buffer */
-#define REG_DMA12_CFG 0xFFC05108 /* DMA12 Configuration Register */
-#define REG_DMA12_XCNT 0xFFC0510C /* DMA12 Inner Loop Count Start Value */
-#define REG_DMA12_XMOD 0xFFC05110 /* DMA12 Inner Loop Address Increment */
-#define REG_DMA12_YCNT 0xFFC05114 /* DMA12 Outer Loop Count Start Value (2D only) */
-#define REG_DMA12_YMOD 0xFFC05118 /* DMA12 Outer Loop Address Increment (2D only) */
-#define REG_DMA12_DSCPTR_CUR 0xFFC05124 /* DMA12 Current Descriptor Pointer */
-#define REG_DMA12_DSCPTR_PRV 0xFFC05128 /* DMA12 Previous Initial Descriptor Pointer */
-#define REG_DMA12_ADDR_CUR 0xFFC0512C /* DMA12 Current Address */
-#define REG_DMA12_STAT 0xFFC05130 /* DMA12 Status Register */
-#define REG_DMA12_XCNT_CUR 0xFFC05134 /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA12_YCNT_CUR 0xFFC05138 /* DMA12 Current Row Count (2D only) */
-#define REG_DMA12_BWLCNT 0xFFC05140 /* DMA12 Bandwidth Limit Count */
-#define REG_DMA12_BWLCNT_CUR 0xFFC05144 /* DMA12 Bandwidth Limit Count Current */
-#define REG_DMA12_BWMCNT 0xFFC05148 /* DMA12 Bandwidth Monitor Count */
-#define REG_DMA12_BWMCNT_CUR 0xFFC0514C /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA13
- ========================= */
-#define REG_DMA13_DSCPTR_NXT 0xFFC07000 /* DMA13 Pointer to Next Initial Descriptor */
-#define REG_DMA13_ADDRSTART 0xFFC07004 /* DMA13 Start Address of Current Buffer */
-#define REG_DMA13_CFG 0xFFC07008 /* DMA13 Configuration Register */
-#define REG_DMA13_XCNT 0xFFC0700C /* DMA13 Inner Loop Count Start Value */
-#define REG_DMA13_XMOD 0xFFC07010 /* DMA13 Inner Loop Address Increment */
-#define REG_DMA13_YCNT 0xFFC07014 /* DMA13 Outer Loop Count Start Value (2D only) */
-#define REG_DMA13_YMOD 0xFFC07018 /* DMA13 Outer Loop Address Increment (2D only) */
-#define REG_DMA13_DSCPTR_CUR 0xFFC07024 /* DMA13 Current Descriptor Pointer */
-#define REG_DMA13_DSCPTR_PRV 0xFFC07028 /* DMA13 Previous Initial Descriptor Pointer */
-#define REG_DMA13_ADDR_CUR 0xFFC0702C /* DMA13 Current Address */
-#define REG_DMA13_STAT 0xFFC07030 /* DMA13 Status Register */
-#define REG_DMA13_XCNT_CUR 0xFFC07034 /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA13_YCNT_CUR 0xFFC07038 /* DMA13 Current Row Count (2D only) */
-#define REG_DMA13_BWLCNT 0xFFC07040 /* DMA13 Bandwidth Limit Count */
-#define REG_DMA13_BWLCNT_CUR 0xFFC07044 /* DMA13 Bandwidth Limit Count Current */
-#define REG_DMA13_BWMCNT 0xFFC07048 /* DMA13 Bandwidth Monitor Count */
-#define REG_DMA13_BWMCNT_CUR 0xFFC0704C /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA14
- ========================= */
-#define REG_DMA14_DSCPTR_NXT 0xFFC07080 /* DMA14 Pointer to Next Initial Descriptor */
-#define REG_DMA14_ADDRSTART 0xFFC07084 /* DMA14 Start Address of Current Buffer */
-#define REG_DMA14_CFG 0xFFC07088 /* DMA14 Configuration Register */
-#define REG_DMA14_XCNT 0xFFC0708C /* DMA14 Inner Loop Count Start Value */
-#define REG_DMA14_XMOD 0xFFC07090 /* DMA14 Inner Loop Address Increment */
-#define REG_DMA14_YCNT 0xFFC07094 /* DMA14 Outer Loop Count Start Value (2D only) */
-#define REG_DMA14_YMOD 0xFFC07098 /* DMA14 Outer Loop Address Increment (2D only) */
-#define REG_DMA14_DSCPTR_CUR 0xFFC070A4 /* DMA14 Current Descriptor Pointer */
-#define REG_DMA14_DSCPTR_PRV 0xFFC070A8 /* DMA14 Previous Initial Descriptor Pointer */
-#define REG_DMA14_ADDR_CUR 0xFFC070AC /* DMA14 Current Address */
-#define REG_DMA14_STAT 0xFFC070B0 /* DMA14 Status Register */
-#define REG_DMA14_XCNT_CUR 0xFFC070B4 /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA14_YCNT_CUR 0xFFC070B8 /* DMA14 Current Row Count (2D only) */
-#define REG_DMA14_BWLCNT 0xFFC070C0 /* DMA14 Bandwidth Limit Count */
-#define REG_DMA14_BWLCNT_CUR 0xFFC070C4 /* DMA14 Bandwidth Limit Count Current */
-#define REG_DMA14_BWMCNT 0xFFC070C8 /* DMA14 Bandwidth Monitor Count */
-#define REG_DMA14_BWMCNT_CUR 0xFFC070CC /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA15
- ========================= */
-#define REG_DMA15_DSCPTR_NXT 0xFFC07100 /* DMA15 Pointer to Next Initial Descriptor */
-#define REG_DMA15_ADDRSTART 0xFFC07104 /* DMA15 Start Address of Current Buffer */
-#define REG_DMA15_CFG 0xFFC07108 /* DMA15 Configuration Register */
-#define REG_DMA15_XCNT 0xFFC0710C /* DMA15 Inner Loop Count Start Value */
-#define REG_DMA15_XMOD 0xFFC07110 /* DMA15 Inner Loop Address Increment */
-#define REG_DMA15_YCNT 0xFFC07114 /* DMA15 Outer Loop Count Start Value (2D only) */
-#define REG_DMA15_YMOD 0xFFC07118 /* DMA15 Outer Loop Address Increment (2D only) */
-#define REG_DMA15_DSCPTR_CUR 0xFFC07124 /* DMA15 Current Descriptor Pointer */
-#define REG_DMA15_DSCPTR_PRV 0xFFC07128 /* DMA15 Previous Initial Descriptor Pointer */
-#define REG_DMA15_ADDR_CUR 0xFFC0712C /* DMA15 Current Address */
-#define REG_DMA15_STAT 0xFFC07130 /* DMA15 Status Register */
-#define REG_DMA15_XCNT_CUR 0xFFC07134 /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA15_YCNT_CUR 0xFFC07138 /* DMA15 Current Row Count (2D only) */
-#define REG_DMA15_BWLCNT 0xFFC07140 /* DMA15 Bandwidth Limit Count */
-#define REG_DMA15_BWLCNT_CUR 0xFFC07144 /* DMA15 Bandwidth Limit Count Current */
-#define REG_DMA15_BWMCNT 0xFFC07148 /* DMA15 Bandwidth Monitor Count */
-#define REG_DMA15_BWMCNT_CUR 0xFFC0714C /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA16
- ========================= */
-#define REG_DMA16_DSCPTR_NXT 0xFFC07180 /* DMA16 Pointer to Next Initial Descriptor */
-#define REG_DMA16_ADDRSTART 0xFFC07184 /* DMA16 Start Address of Current Buffer */
-#define REG_DMA16_CFG 0xFFC07188 /* DMA16 Configuration Register */
-#define REG_DMA16_XCNT 0xFFC0718C /* DMA16 Inner Loop Count Start Value */
-#define REG_DMA16_XMOD 0xFFC07190 /* DMA16 Inner Loop Address Increment */
-#define REG_DMA16_YCNT 0xFFC07194 /* DMA16 Outer Loop Count Start Value (2D only) */
-#define REG_DMA16_YMOD 0xFFC07198 /* DMA16 Outer Loop Address Increment (2D only) */
-#define REG_DMA16_DSCPTR_CUR 0xFFC071A4 /* DMA16 Current Descriptor Pointer */
-#define REG_DMA16_DSCPTR_PRV 0xFFC071A8 /* DMA16 Previous Initial Descriptor Pointer */
-#define REG_DMA16_ADDR_CUR 0xFFC071AC /* DMA16 Current Address */
-#define REG_DMA16_STAT 0xFFC071B0 /* DMA16 Status Register */
-#define REG_DMA16_XCNT_CUR 0xFFC071B4 /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA16_YCNT_CUR 0xFFC071B8 /* DMA16 Current Row Count (2D only) */
-#define REG_DMA16_BWLCNT 0xFFC071C0 /* DMA16 Bandwidth Limit Count */
-#define REG_DMA16_BWLCNT_CUR 0xFFC071C4 /* DMA16 Bandwidth Limit Count Current */
-#define REG_DMA16_BWMCNT 0xFFC071C8 /* DMA16 Bandwidth Monitor Count */
-#define REG_DMA16_BWMCNT_CUR 0xFFC071CC /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA17
- ========================= */
-#define REG_DMA17_DSCPTR_NXT 0xFFC07200 /* DMA17 Pointer to Next Initial Descriptor */
-#define REG_DMA17_ADDRSTART 0xFFC07204 /* DMA17 Start Address of Current Buffer */
-#define REG_DMA17_CFG 0xFFC07208 /* DMA17 Configuration Register */
-#define REG_DMA17_XCNT 0xFFC0720C /* DMA17 Inner Loop Count Start Value */
-#define REG_DMA17_XMOD 0xFFC07210 /* DMA17 Inner Loop Address Increment */
-#define REG_DMA17_YCNT 0xFFC07214 /* DMA17 Outer Loop Count Start Value (2D only) */
-#define REG_DMA17_YMOD 0xFFC07218 /* DMA17 Outer Loop Address Increment (2D only) */
-#define REG_DMA17_DSCPTR_CUR 0xFFC07224 /* DMA17 Current Descriptor Pointer */
-#define REG_DMA17_DSCPTR_PRV 0xFFC07228 /* DMA17 Previous Initial Descriptor Pointer */
-#define REG_DMA17_ADDR_CUR 0xFFC0722C /* DMA17 Current Address */
-#define REG_DMA17_STAT 0xFFC07230 /* DMA17 Status Register */
-#define REG_DMA17_XCNT_CUR 0xFFC07234 /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA17_YCNT_CUR 0xFFC07238 /* DMA17 Current Row Count (2D only) */
-#define REG_DMA17_BWLCNT 0xFFC07240 /* DMA17 Bandwidth Limit Count */
-#define REG_DMA17_BWLCNT_CUR 0xFFC07244 /* DMA17 Bandwidth Limit Count Current */
-#define REG_DMA17_BWMCNT 0xFFC07248 /* DMA17 Bandwidth Monitor Count */
-#define REG_DMA17_BWMCNT_CUR 0xFFC0724C /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA18
- ========================= */
-#define REG_DMA18_DSCPTR_NXT 0xFFC07280 /* DMA18 Pointer to Next Initial Descriptor */
-#define REG_DMA18_ADDRSTART 0xFFC07284 /* DMA18 Start Address of Current Buffer */
-#define REG_DMA18_CFG 0xFFC07288 /* DMA18 Configuration Register */
-#define REG_DMA18_XCNT 0xFFC0728C /* DMA18 Inner Loop Count Start Value */
-#define REG_DMA18_XMOD 0xFFC07290 /* DMA18 Inner Loop Address Increment */
-#define REG_DMA18_YCNT 0xFFC07294 /* DMA18 Outer Loop Count Start Value (2D only) */
-#define REG_DMA18_YMOD 0xFFC07298 /* DMA18 Outer Loop Address Increment (2D only) */
-#define REG_DMA18_DSCPTR_CUR 0xFFC072A4 /* DMA18 Current Descriptor Pointer */
-#define REG_DMA18_DSCPTR_PRV 0xFFC072A8 /* DMA18 Previous Initial Descriptor Pointer */
-#define REG_DMA18_ADDR_CUR 0xFFC072AC /* DMA18 Current Address */
-#define REG_DMA18_STAT 0xFFC072B0 /* DMA18 Status Register */
-#define REG_DMA18_XCNT_CUR 0xFFC072B4 /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA18_YCNT_CUR 0xFFC072B8 /* DMA18 Current Row Count (2D only) */
-#define REG_DMA18_BWLCNT 0xFFC072C0 /* DMA18 Bandwidth Limit Count */
-#define REG_DMA18_BWLCNT_CUR 0xFFC072C4 /* DMA18 Bandwidth Limit Count Current */
-#define REG_DMA18_BWMCNT 0xFFC072C8 /* DMA18 Bandwidth Monitor Count */
-#define REG_DMA18_BWMCNT_CUR 0xFFC072CC /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA19
- ========================= */
-#define REG_DMA19_DSCPTR_NXT 0xFFC07300 /* DMA19 Pointer to Next Initial Descriptor */
-#define REG_DMA19_ADDRSTART 0xFFC07304 /* DMA19 Start Address of Current Buffer */
-#define REG_DMA19_CFG 0xFFC07308 /* DMA19 Configuration Register */
-#define REG_DMA19_XCNT 0xFFC0730C /* DMA19 Inner Loop Count Start Value */
-#define REG_DMA19_XMOD 0xFFC07310 /* DMA19 Inner Loop Address Increment */
-#define REG_DMA19_YCNT 0xFFC07314 /* DMA19 Outer Loop Count Start Value (2D only) */
-#define REG_DMA19_YMOD 0xFFC07318 /* DMA19 Outer Loop Address Increment (2D only) */
-#define REG_DMA19_DSCPTR_CUR 0xFFC07324 /* DMA19 Current Descriptor Pointer */
-#define REG_DMA19_DSCPTR_PRV 0xFFC07328 /* DMA19 Previous Initial Descriptor Pointer */
-#define REG_DMA19_ADDR_CUR 0xFFC0732C /* DMA19 Current Address */
-#define REG_DMA19_STAT 0xFFC07330 /* DMA19 Status Register */
-#define REG_DMA19_XCNT_CUR 0xFFC07334 /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA19_YCNT_CUR 0xFFC07338 /* DMA19 Current Row Count (2D only) */
-#define REG_DMA19_BWLCNT 0xFFC07340 /* DMA19 Bandwidth Limit Count */
-#define REG_DMA19_BWLCNT_CUR 0xFFC07344 /* DMA19 Bandwidth Limit Count Current */
-#define REG_DMA19_BWMCNT 0xFFC07348 /* DMA19 Bandwidth Monitor Count */
-#define REG_DMA19_BWMCNT_CUR 0xFFC0734C /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA20
- ========================= */
-#define REG_DMA20_DSCPTR_NXT 0xFFC07380 /* DMA20 Pointer to Next Initial Descriptor */
-#define REG_DMA20_ADDRSTART 0xFFC07384 /* DMA20 Start Address of Current Buffer */
-#define REG_DMA20_CFG 0xFFC07388 /* DMA20 Configuration Register */
-#define REG_DMA20_XCNT 0xFFC0738C /* DMA20 Inner Loop Count Start Value */
-#define REG_DMA20_XMOD 0xFFC07390 /* DMA20 Inner Loop Address Increment */
-#define REG_DMA20_YCNT 0xFFC07394 /* DMA20 Outer Loop Count Start Value (2D only) */
-#define REG_DMA20_YMOD 0xFFC07398 /* DMA20 Outer Loop Address Increment (2D only) */
-#define REG_DMA20_DSCPTR_CUR 0xFFC073A4 /* DMA20 Current Descriptor Pointer */
-#define REG_DMA20_DSCPTR_PRV 0xFFC073A8 /* DMA20 Previous Initial Descriptor Pointer */
-#define REG_DMA20_ADDR_CUR 0xFFC073AC /* DMA20 Current Address */
-#define REG_DMA20_STAT 0xFFC073B0 /* DMA20 Status Register */
-#define REG_DMA20_XCNT_CUR 0xFFC073B4 /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA20_YCNT_CUR 0xFFC073B8 /* DMA20 Current Row Count (2D only) */
-#define REG_DMA20_BWLCNT 0xFFC073C0 /* DMA20 Bandwidth Limit Count */
-#define REG_DMA20_BWLCNT_CUR 0xFFC073C4 /* DMA20 Bandwidth Limit Count Current */
-#define REG_DMA20_BWMCNT 0xFFC073C8 /* DMA20 Bandwidth Monitor Count */
-#define REG_DMA20_BWMCNT_CUR 0xFFC073CC /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA21
- ========================= */
-#define REG_DMA21_DSCPTR_NXT 0xFFC09000 /* DMA21 Pointer to Next Initial Descriptor */
-#define REG_DMA21_ADDRSTART 0xFFC09004 /* DMA21 Start Address of Current Buffer */
-#define REG_DMA21_CFG 0xFFC09008 /* DMA21 Configuration Register */
-#define REG_DMA21_XCNT 0xFFC0900C /* DMA21 Inner Loop Count Start Value */
-#define REG_DMA21_XMOD 0xFFC09010 /* DMA21 Inner Loop Address Increment */
-#define REG_DMA21_YCNT 0xFFC09014 /* DMA21 Outer Loop Count Start Value (2D only) */
-#define REG_DMA21_YMOD 0xFFC09018 /* DMA21 Outer Loop Address Increment (2D only) */
-#define REG_DMA21_DSCPTR_CUR 0xFFC09024 /* DMA21 Current Descriptor Pointer */
-#define REG_DMA21_DSCPTR_PRV 0xFFC09028 /* DMA21 Previous Initial Descriptor Pointer */
-#define REG_DMA21_ADDR_CUR 0xFFC0902C /* DMA21 Current Address */
-#define REG_DMA21_STAT 0xFFC09030 /* DMA21 Status Register */
-#define REG_DMA21_XCNT_CUR 0xFFC09034 /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA21_YCNT_CUR 0xFFC09038 /* DMA21 Current Row Count (2D only) */
-#define REG_DMA21_BWLCNT 0xFFC09040 /* DMA21 Bandwidth Limit Count */
-#define REG_DMA21_BWLCNT_CUR 0xFFC09044 /* DMA21 Bandwidth Limit Count Current */
-#define REG_DMA21_BWMCNT 0xFFC09048 /* DMA21 Bandwidth Monitor Count */
-#define REG_DMA21_BWMCNT_CUR 0xFFC0904C /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA22
- ========================= */
-#define REG_DMA22_DSCPTR_NXT 0xFFC09080 /* DMA22 Pointer to Next Initial Descriptor */
-#define REG_DMA22_ADDRSTART 0xFFC09084 /* DMA22 Start Address of Current Buffer */
-#define REG_DMA22_CFG 0xFFC09088 /* DMA22 Configuration Register */
-#define REG_DMA22_XCNT 0xFFC0908C /* DMA22 Inner Loop Count Start Value */
-#define REG_DMA22_XMOD 0xFFC09090 /* DMA22 Inner Loop Address Increment */
-#define REG_DMA22_YCNT 0xFFC09094 /* DMA22 Outer Loop Count Start Value (2D only) */
-#define REG_DMA22_YMOD 0xFFC09098 /* DMA22 Outer Loop Address Increment (2D only) */
-#define REG_DMA22_DSCPTR_CUR 0xFFC090A4 /* DMA22 Current Descriptor Pointer */
-#define REG_DMA22_DSCPTR_PRV 0xFFC090A8 /* DMA22 Previous Initial Descriptor Pointer */
-#define REG_DMA22_ADDR_CUR 0xFFC090AC /* DMA22 Current Address */
-#define REG_DMA22_STAT 0xFFC090B0 /* DMA22 Status Register */
-#define REG_DMA22_XCNT_CUR 0xFFC090B4 /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA22_YCNT_CUR 0xFFC090B8 /* DMA22 Current Row Count (2D only) */
-#define REG_DMA22_BWLCNT 0xFFC090C0 /* DMA22 Bandwidth Limit Count */
-#define REG_DMA22_BWLCNT_CUR 0xFFC090C4 /* DMA22 Bandwidth Limit Count Current */
-#define REG_DMA22_BWMCNT 0xFFC090C8 /* DMA22 Bandwidth Monitor Count */
-#define REG_DMA22_BWMCNT_CUR 0xFFC090CC /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA23
- ========================= */
-#define REG_DMA23_DSCPTR_NXT 0xFFC09100 /* DMA23 Pointer to Next Initial Descriptor */
-#define REG_DMA23_ADDRSTART 0xFFC09104 /* DMA23 Start Address of Current Buffer */
-#define REG_DMA23_CFG 0xFFC09108 /* DMA23 Configuration Register */
-#define REG_DMA23_XCNT 0xFFC0910C /* DMA23 Inner Loop Count Start Value */
-#define REG_DMA23_XMOD 0xFFC09110 /* DMA23 Inner Loop Address Increment */
-#define REG_DMA23_YCNT 0xFFC09114 /* DMA23 Outer Loop Count Start Value (2D only) */
-#define REG_DMA23_YMOD 0xFFC09118 /* DMA23 Outer Loop Address Increment (2D only) */
-#define REG_DMA23_DSCPTR_CUR 0xFFC09124 /* DMA23 Current Descriptor Pointer */
-#define REG_DMA23_DSCPTR_PRV 0xFFC09128 /* DMA23 Previous Initial Descriptor Pointer */
-#define REG_DMA23_ADDR_CUR 0xFFC0912C /* DMA23 Current Address */
-#define REG_DMA23_STAT 0xFFC09130 /* DMA23 Status Register */
-#define REG_DMA23_XCNT_CUR 0xFFC09134 /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA23_YCNT_CUR 0xFFC09138 /* DMA23 Current Row Count (2D only) */
-#define REG_DMA23_BWLCNT 0xFFC09140 /* DMA23 Bandwidth Limit Count */
-#define REG_DMA23_BWLCNT_CUR 0xFFC09144 /* DMA23 Bandwidth Limit Count Current */
-#define REG_DMA23_BWMCNT 0xFFC09148 /* DMA23 Bandwidth Monitor Count */
-#define REG_DMA23_BWMCNT_CUR 0xFFC0914C /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA24
- ========================= */
-#define REG_DMA24_DSCPTR_NXT 0xFFC09180 /* DMA24 Pointer to Next Initial Descriptor */
-#define REG_DMA24_ADDRSTART 0xFFC09184 /* DMA24 Start Address of Current Buffer */
-#define REG_DMA24_CFG 0xFFC09188 /* DMA24 Configuration Register */
-#define REG_DMA24_XCNT 0xFFC0918C /* DMA24 Inner Loop Count Start Value */
-#define REG_DMA24_XMOD 0xFFC09190 /* DMA24 Inner Loop Address Increment */
-#define REG_DMA24_YCNT 0xFFC09194 /* DMA24 Outer Loop Count Start Value (2D only) */
-#define REG_DMA24_YMOD 0xFFC09198 /* DMA24 Outer Loop Address Increment (2D only) */
-#define REG_DMA24_DSCPTR_CUR 0xFFC091A4 /* DMA24 Current Descriptor Pointer */
-#define REG_DMA24_DSCPTR_PRV 0xFFC091A8 /* DMA24 Previous Initial Descriptor Pointer */
-#define REG_DMA24_ADDR_CUR 0xFFC091AC /* DMA24 Current Address */
-#define REG_DMA24_STAT 0xFFC091B0 /* DMA24 Status Register */
-#define REG_DMA24_XCNT_CUR 0xFFC091B4 /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA24_YCNT_CUR 0xFFC091B8 /* DMA24 Current Row Count (2D only) */
-#define REG_DMA24_BWLCNT 0xFFC091C0 /* DMA24 Bandwidth Limit Count */
-#define REG_DMA24_BWLCNT_CUR 0xFFC091C4 /* DMA24 Bandwidth Limit Count Current */
-#define REG_DMA24_BWMCNT 0xFFC091C8 /* DMA24 Bandwidth Monitor Count */
-#define REG_DMA24_BWMCNT_CUR 0xFFC091CC /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA25
- ========================= */
-#define REG_DMA25_DSCPTR_NXT 0xFFC09200 /* DMA25 Pointer to Next Initial Descriptor */
-#define REG_DMA25_ADDRSTART 0xFFC09204 /* DMA25 Start Address of Current Buffer */
-#define REG_DMA25_CFG 0xFFC09208 /* DMA25 Configuration Register */
-#define REG_DMA25_XCNT 0xFFC0920C /* DMA25 Inner Loop Count Start Value */
-#define REG_DMA25_XMOD 0xFFC09210 /* DMA25 Inner Loop Address Increment */
-#define REG_DMA25_YCNT 0xFFC09214 /* DMA25 Outer Loop Count Start Value (2D only) */
-#define REG_DMA25_YMOD 0xFFC09218 /* DMA25 Outer Loop Address Increment (2D only) */
-#define REG_DMA25_DSCPTR_CUR 0xFFC09224 /* DMA25 Current Descriptor Pointer */
-#define REG_DMA25_DSCPTR_PRV 0xFFC09228 /* DMA25 Previous Initial Descriptor Pointer */
-#define REG_DMA25_ADDR_CUR 0xFFC0922C /* DMA25 Current Address */
-#define REG_DMA25_STAT 0xFFC09230 /* DMA25 Status Register */
-#define REG_DMA25_XCNT_CUR 0xFFC09234 /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA25_YCNT_CUR 0xFFC09238 /* DMA25 Current Row Count (2D only) */
-#define REG_DMA25_BWLCNT 0xFFC09240 /* DMA25 Bandwidth Limit Count */
-#define REG_DMA25_BWLCNT_CUR 0xFFC09244 /* DMA25 Bandwidth Limit Count Current */
-#define REG_DMA25_BWMCNT 0xFFC09248 /* DMA25 Bandwidth Monitor Count */
-#define REG_DMA25_BWMCNT_CUR 0xFFC0924C /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA26
- ========================= */
-#define REG_DMA26_DSCPTR_NXT 0xFFC09280 /* DMA26 Pointer to Next Initial Descriptor */
-#define REG_DMA26_ADDRSTART 0xFFC09284 /* DMA26 Start Address of Current Buffer */
-#define REG_DMA26_CFG 0xFFC09288 /* DMA26 Configuration Register */
-#define REG_DMA26_XCNT 0xFFC0928C /* DMA26 Inner Loop Count Start Value */
-#define REG_DMA26_XMOD 0xFFC09290 /* DMA26 Inner Loop Address Increment */
-#define REG_DMA26_YCNT 0xFFC09294 /* DMA26 Outer Loop Count Start Value (2D only) */
-#define REG_DMA26_YMOD 0xFFC09298 /* DMA26 Outer Loop Address Increment (2D only) */
-#define REG_DMA26_DSCPTR_CUR 0xFFC092A4 /* DMA26 Current Descriptor Pointer */
-#define REG_DMA26_DSCPTR_PRV 0xFFC092A8 /* DMA26 Previous Initial Descriptor Pointer */
-#define REG_DMA26_ADDR_CUR 0xFFC092AC /* DMA26 Current Address */
-#define REG_DMA26_STAT 0xFFC092B0 /* DMA26 Status Register */
-#define REG_DMA26_XCNT_CUR 0xFFC092B4 /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA26_YCNT_CUR 0xFFC092B8 /* DMA26 Current Row Count (2D only) */
-#define REG_DMA26_BWLCNT 0xFFC092C0 /* DMA26 Bandwidth Limit Count */
-#define REG_DMA26_BWLCNT_CUR 0xFFC092C4 /* DMA26 Bandwidth Limit Count Current */
-#define REG_DMA26_BWMCNT 0xFFC092C8 /* DMA26 Bandwidth Monitor Count */
-#define REG_DMA26_BWMCNT_CUR 0xFFC092CC /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA27
- ========================= */
-#define REG_DMA27_DSCPTR_NXT 0xFFC09300 /* DMA27 Pointer to Next Initial Descriptor */
-#define REG_DMA27_ADDRSTART 0xFFC09304 /* DMA27 Start Address of Current Buffer */
-#define REG_DMA27_CFG 0xFFC09308 /* DMA27 Configuration Register */
-#define REG_DMA27_XCNT 0xFFC0930C /* DMA27 Inner Loop Count Start Value */
-#define REG_DMA27_XMOD 0xFFC09310 /* DMA27 Inner Loop Address Increment */
-#define REG_DMA27_YCNT 0xFFC09314 /* DMA27 Outer Loop Count Start Value (2D only) */
-#define REG_DMA27_YMOD 0xFFC09318 /* DMA27 Outer Loop Address Increment (2D only) */
-#define REG_DMA27_DSCPTR_CUR 0xFFC09324 /* DMA27 Current Descriptor Pointer */
-#define REG_DMA27_DSCPTR_PRV 0xFFC09328 /* DMA27 Previous Initial Descriptor Pointer */
-#define REG_DMA27_ADDR_CUR 0xFFC0932C /* DMA27 Current Address */
-#define REG_DMA27_STAT 0xFFC09330 /* DMA27 Status Register */
-#define REG_DMA27_XCNT_CUR 0xFFC09334 /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA27_YCNT_CUR 0xFFC09338 /* DMA27 Current Row Count (2D only) */
-#define REG_DMA27_BWLCNT 0xFFC09340 /* DMA27 Bandwidth Limit Count */
-#define REG_DMA27_BWLCNT_CUR 0xFFC09344 /* DMA27 Bandwidth Limit Count Current */
-#define REG_DMA27_BWMCNT 0xFFC09348 /* DMA27 Bandwidth Monitor Count */
-#define REG_DMA27_BWMCNT_CUR 0xFFC0934C /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA28
- ========================= */
-#define REG_DMA28_DSCPTR_NXT 0xFFC09380 /* DMA28 Pointer to Next Initial Descriptor */
-#define REG_DMA28_ADDRSTART 0xFFC09384 /* DMA28 Start Address of Current Buffer */
-#define REG_DMA28_CFG 0xFFC09388 /* DMA28 Configuration Register */
-#define REG_DMA28_XCNT 0xFFC0938C /* DMA28 Inner Loop Count Start Value */
-#define REG_DMA28_XMOD 0xFFC09390 /* DMA28 Inner Loop Address Increment */
-#define REG_DMA28_YCNT 0xFFC09394 /* DMA28 Outer Loop Count Start Value (2D only) */
-#define REG_DMA28_YMOD 0xFFC09398 /* DMA28 Outer Loop Address Increment (2D only) */
-#define REG_DMA28_DSCPTR_CUR 0xFFC093A4 /* DMA28 Current Descriptor Pointer */
-#define REG_DMA28_DSCPTR_PRV 0xFFC093A8 /* DMA28 Previous Initial Descriptor Pointer */
-#define REG_DMA28_ADDR_CUR 0xFFC093AC /* DMA28 Current Address */
-#define REG_DMA28_STAT 0xFFC093B0 /* DMA28 Status Register */
-#define REG_DMA28_XCNT_CUR 0xFFC093B4 /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA28_YCNT_CUR 0xFFC093B8 /* DMA28 Current Row Count (2D only) */
-#define REG_DMA28_BWLCNT 0xFFC093C0 /* DMA28 Bandwidth Limit Count */
-#define REG_DMA28_BWLCNT_CUR 0xFFC093C4 /* DMA28 Bandwidth Limit Count Current */
-#define REG_DMA28_BWMCNT 0xFFC093C8 /* DMA28 Bandwidth Monitor Count */
-#define REG_DMA28_BWMCNT_CUR 0xFFC093CC /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA29
- ========================= */
-#define REG_DMA29_DSCPTR_NXT 0xFFC0B000 /* DMA29 Pointer to Next Initial Descriptor */
-#define REG_DMA29_ADDRSTART 0xFFC0B004 /* DMA29 Start Address of Current Buffer */
-#define REG_DMA29_CFG 0xFFC0B008 /* DMA29 Configuration Register */
-#define REG_DMA29_XCNT 0xFFC0B00C /* DMA29 Inner Loop Count Start Value */
-#define REG_DMA29_XMOD 0xFFC0B010 /* DMA29 Inner Loop Address Increment */
-#define REG_DMA29_YCNT 0xFFC0B014 /* DMA29 Outer Loop Count Start Value (2D only) */
-#define REG_DMA29_YMOD 0xFFC0B018 /* DMA29 Outer Loop Address Increment (2D only) */
-#define REG_DMA29_DSCPTR_CUR 0xFFC0B024 /* DMA29 Current Descriptor Pointer */
-#define REG_DMA29_DSCPTR_PRV 0xFFC0B028 /* DMA29 Previous Initial Descriptor Pointer */
-#define REG_DMA29_ADDR_CUR 0xFFC0B02C /* DMA29 Current Address */
-#define REG_DMA29_STAT 0xFFC0B030 /* DMA29 Status Register */
-#define REG_DMA29_XCNT_CUR 0xFFC0B034 /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA29_YCNT_CUR 0xFFC0B038 /* DMA29 Current Row Count (2D only) */
-#define REG_DMA29_BWLCNT 0xFFC0B040 /* DMA29 Bandwidth Limit Count */
-#define REG_DMA29_BWLCNT_CUR 0xFFC0B044 /* DMA29 Bandwidth Limit Count Current */
-#define REG_DMA29_BWMCNT 0xFFC0B048 /* DMA29 Bandwidth Monitor Count */
-#define REG_DMA29_BWMCNT_CUR 0xFFC0B04C /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA30
- ========================= */
-#define REG_DMA30_DSCPTR_NXT 0xFFC0B080 /* DMA30 Pointer to Next Initial Descriptor */
-#define REG_DMA30_ADDRSTART 0xFFC0B084 /* DMA30 Start Address of Current Buffer */
-#define REG_DMA30_CFG 0xFFC0B088 /* DMA30 Configuration Register */
-#define REG_DMA30_XCNT 0xFFC0B08C /* DMA30 Inner Loop Count Start Value */
-#define REG_DMA30_XMOD 0xFFC0B090 /* DMA30 Inner Loop Address Increment */
-#define REG_DMA30_YCNT 0xFFC0B094 /* DMA30 Outer Loop Count Start Value (2D only) */
-#define REG_DMA30_YMOD 0xFFC0B098 /* DMA30 Outer Loop Address Increment (2D only) */
-#define REG_DMA30_DSCPTR_CUR 0xFFC0B0A4 /* DMA30 Current Descriptor Pointer */
-#define REG_DMA30_DSCPTR_PRV 0xFFC0B0A8 /* DMA30 Previous Initial Descriptor Pointer */
-#define REG_DMA30_ADDR_CUR 0xFFC0B0AC /* DMA30 Current Address */
-#define REG_DMA30_STAT 0xFFC0B0B0 /* DMA30 Status Register */
-#define REG_DMA30_XCNT_CUR 0xFFC0B0B4 /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA30_YCNT_CUR 0xFFC0B0B8 /* DMA30 Current Row Count (2D only) */
-#define REG_DMA30_BWLCNT 0xFFC0B0C0 /* DMA30 Bandwidth Limit Count */
-#define REG_DMA30_BWLCNT_CUR 0xFFC0B0C4 /* DMA30 Bandwidth Limit Count Current */
-#define REG_DMA30_BWMCNT 0xFFC0B0C8 /* DMA30 Bandwidth Monitor Count */
-#define REG_DMA30_BWMCNT_CUR 0xFFC0B0CC /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA31
- ========================= */
-#define REG_DMA31_DSCPTR_NXT 0xFFC0B100 /* DMA31 Pointer to Next Initial Descriptor */
-#define REG_DMA31_ADDRSTART 0xFFC0B104 /* DMA31 Start Address of Current Buffer */
-#define REG_DMA31_CFG 0xFFC0B108 /* DMA31 Configuration Register */
-#define REG_DMA31_XCNT 0xFFC0B10C /* DMA31 Inner Loop Count Start Value */
-#define REG_DMA31_XMOD 0xFFC0B110 /* DMA31 Inner Loop Address Increment */
-#define REG_DMA31_YCNT 0xFFC0B114 /* DMA31 Outer Loop Count Start Value (2D only) */
-#define REG_DMA31_YMOD 0xFFC0B118 /* DMA31 Outer Loop Address Increment (2D only) */
-#define REG_DMA31_DSCPTR_CUR 0xFFC0B124 /* DMA31 Current Descriptor Pointer */
-#define REG_DMA31_DSCPTR_PRV 0xFFC0B128 /* DMA31 Previous Initial Descriptor Pointer */
-#define REG_DMA31_ADDR_CUR 0xFFC0B12C /* DMA31 Current Address */
-#define REG_DMA31_STAT 0xFFC0B130 /* DMA31 Status Register */
-#define REG_DMA31_XCNT_CUR 0xFFC0B134 /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA31_YCNT_CUR 0xFFC0B138 /* DMA31 Current Row Count (2D only) */
-#define REG_DMA31_BWLCNT 0xFFC0B140 /* DMA31 Bandwidth Limit Count */
-#define REG_DMA31_BWLCNT_CUR 0xFFC0B144 /* DMA31 Bandwidth Limit Count Current */
-#define REG_DMA31_BWMCNT 0xFFC0B148 /* DMA31 Bandwidth Monitor Count */
-#define REG_DMA31_BWMCNT_CUR 0xFFC0B14C /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA32
- ========================= */
-#define REG_DMA32_DSCPTR_NXT 0xFFC0B180 /* DMA32 Pointer to Next Initial Descriptor */
-#define REG_DMA32_ADDRSTART 0xFFC0B184 /* DMA32 Start Address of Current Buffer */
-#define REG_DMA32_CFG 0xFFC0B188 /* DMA32 Configuration Register */
-#define REG_DMA32_XCNT 0xFFC0B18C /* DMA32 Inner Loop Count Start Value */
-#define REG_DMA32_XMOD 0xFFC0B190 /* DMA32 Inner Loop Address Increment */
-#define REG_DMA32_YCNT 0xFFC0B194 /* DMA32 Outer Loop Count Start Value (2D only) */
-#define REG_DMA32_YMOD 0xFFC0B198 /* DMA32 Outer Loop Address Increment (2D only) */
-#define REG_DMA32_DSCPTR_CUR 0xFFC0B1A4 /* DMA32 Current Descriptor Pointer */
-#define REG_DMA32_DSCPTR_PRV 0xFFC0B1A8 /* DMA32 Previous Initial Descriptor Pointer */
-#define REG_DMA32_ADDR_CUR 0xFFC0B1AC /* DMA32 Current Address */
-#define REG_DMA32_STAT 0xFFC0B1B0 /* DMA32 Status Register */
-#define REG_DMA32_XCNT_CUR 0xFFC0B1B4 /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA32_YCNT_CUR 0xFFC0B1B8 /* DMA32 Current Row Count (2D only) */
-#define REG_DMA32_BWLCNT 0xFFC0B1C0 /* DMA32 Bandwidth Limit Count */
-#define REG_DMA32_BWLCNT_CUR 0xFFC0B1C4 /* DMA32 Bandwidth Limit Count Current */
-#define REG_DMA32_BWMCNT 0xFFC0B1C8 /* DMA32 Bandwidth Monitor Count */
-#define REG_DMA32_BWMCNT_CUR 0xFFC0B1CC /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA33
- ========================= */
-#define REG_DMA33_DSCPTR_NXT 0xFFC0D000 /* DMA33 Pointer to Next Initial Descriptor */
-#define REG_DMA33_ADDRSTART 0xFFC0D004 /* DMA33 Start Address of Current Buffer */
-#define REG_DMA33_CFG 0xFFC0D008 /* DMA33 Configuration Register */
-#define REG_DMA33_XCNT 0xFFC0D00C /* DMA33 Inner Loop Count Start Value */
-#define REG_DMA33_XMOD 0xFFC0D010 /* DMA33 Inner Loop Address Increment */
-#define REG_DMA33_YCNT 0xFFC0D014 /* DMA33 Outer Loop Count Start Value (2D only) */
-#define REG_DMA33_YMOD 0xFFC0D018 /* DMA33 Outer Loop Address Increment (2D only) */
-#define REG_DMA33_DSCPTR_CUR 0xFFC0D024 /* DMA33 Current Descriptor Pointer */
-#define REG_DMA33_DSCPTR_PRV 0xFFC0D028 /* DMA33 Previous Initial Descriptor Pointer */
-#define REG_DMA33_ADDR_CUR 0xFFC0D02C /* DMA33 Current Address */
-#define REG_DMA33_STAT 0xFFC0D030 /* DMA33 Status Register */
-#define REG_DMA33_XCNT_CUR 0xFFC0D034 /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA33_YCNT_CUR 0xFFC0D038 /* DMA33 Current Row Count (2D only) */
-#define REG_DMA33_BWLCNT 0xFFC0D040 /* DMA33 Bandwidth Limit Count */
-#define REG_DMA33_BWLCNT_CUR 0xFFC0D044 /* DMA33 Bandwidth Limit Count Current */
-#define REG_DMA33_BWMCNT 0xFFC0D048 /* DMA33 Bandwidth Monitor Count */
-#define REG_DMA33_BWMCNT_CUR 0xFFC0D04C /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA34
- ========================= */
-#define REG_DMA34_DSCPTR_NXT 0xFFC0D080 /* DMA34 Pointer to Next Initial Descriptor */
-#define REG_DMA34_ADDRSTART 0xFFC0D084 /* DMA34 Start Address of Current Buffer */
-#define REG_DMA34_CFG 0xFFC0D088 /* DMA34 Configuration Register */
-#define REG_DMA34_XCNT 0xFFC0D08C /* DMA34 Inner Loop Count Start Value */
-#define REG_DMA34_XMOD 0xFFC0D090 /* DMA34 Inner Loop Address Increment */
-#define REG_DMA34_YCNT 0xFFC0D094 /* DMA34 Outer Loop Count Start Value (2D only) */
-#define REG_DMA34_YMOD 0xFFC0D098 /* DMA34 Outer Loop Address Increment (2D only) */
-#define REG_DMA34_DSCPTR_CUR 0xFFC0D0A4 /* DMA34 Current Descriptor Pointer */
-#define REG_DMA34_DSCPTR_PRV 0xFFC0D0A8 /* DMA34 Previous Initial Descriptor Pointer */
-#define REG_DMA34_ADDR_CUR 0xFFC0D0AC /* DMA34 Current Address */
-#define REG_DMA34_STAT 0xFFC0D0B0 /* DMA34 Status Register */
-#define REG_DMA34_XCNT_CUR 0xFFC0D0B4 /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA34_YCNT_CUR 0xFFC0D0B8 /* DMA34 Current Row Count (2D only) */
-#define REG_DMA34_BWLCNT 0xFFC0D0C0 /* DMA34 Bandwidth Limit Count */
-#define REG_DMA34_BWLCNT_CUR 0xFFC0D0C4 /* DMA34 Bandwidth Limit Count Current */
-#define REG_DMA34_BWMCNT 0xFFC0D0C8 /* DMA34 Bandwidth Monitor Count */
-#define REG_DMA34_BWMCNT_CUR 0xFFC0D0CC /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA35
- ========================= */
-#define REG_DMA35_DSCPTR_NXT 0xFFC10000 /* DMA35 Pointer to Next Initial Descriptor */
-#define REG_DMA35_ADDRSTART 0xFFC10004 /* DMA35 Start Address of Current Buffer */
-#define REG_DMA35_CFG 0xFFC10008 /* DMA35 Configuration Register */
-#define REG_DMA35_XCNT 0xFFC1000C /* DMA35 Inner Loop Count Start Value */
-#define REG_DMA35_XMOD 0xFFC10010 /* DMA35 Inner Loop Address Increment */
-#define REG_DMA35_YCNT 0xFFC10014 /* DMA35 Outer Loop Count Start Value (2D only) */
-#define REG_DMA35_YMOD 0xFFC10018 /* DMA35 Outer Loop Address Increment (2D only) */
-#define REG_DMA35_DSCPTR_CUR 0xFFC10024 /* DMA35 Current Descriptor Pointer */
-#define REG_DMA35_DSCPTR_PRV 0xFFC10028 /* DMA35 Previous Initial Descriptor Pointer */
-#define REG_DMA35_ADDR_CUR 0xFFC1002C /* DMA35 Current Address */
-#define REG_DMA35_STAT 0xFFC10030 /* DMA35 Status Register */
-#define REG_DMA35_XCNT_CUR 0xFFC10034 /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA35_YCNT_CUR 0xFFC10038 /* DMA35 Current Row Count (2D only) */
-#define REG_DMA35_BWLCNT 0xFFC10040 /* DMA35 Bandwidth Limit Count */
-#define REG_DMA35_BWLCNT_CUR 0xFFC10044 /* DMA35 Bandwidth Limit Count Current */
-#define REG_DMA35_BWMCNT 0xFFC10048 /* DMA35 Bandwidth Monitor Count */
-#define REG_DMA35_BWMCNT_CUR 0xFFC1004C /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA36
- ========================= */
-#define REG_DMA36_DSCPTR_NXT 0xFFC10080 /* DMA36 Pointer to Next Initial Descriptor */
-#define REG_DMA36_ADDRSTART 0xFFC10084 /* DMA36 Start Address of Current Buffer */
-#define REG_DMA36_CFG 0xFFC10088 /* DMA36 Configuration Register */
-#define REG_DMA36_XCNT 0xFFC1008C /* DMA36 Inner Loop Count Start Value */
-#define REG_DMA36_XMOD 0xFFC10090 /* DMA36 Inner Loop Address Increment */
-#define REG_DMA36_YCNT 0xFFC10094 /* DMA36 Outer Loop Count Start Value (2D only) */
-#define REG_DMA36_YMOD 0xFFC10098 /* DMA36 Outer Loop Address Increment (2D only) */
-#define REG_DMA36_DSCPTR_CUR 0xFFC100A4 /* DMA36 Current Descriptor Pointer */
-#define REG_DMA36_DSCPTR_PRV 0xFFC100A8 /* DMA36 Previous Initial Descriptor Pointer */
-#define REG_DMA36_ADDR_CUR 0xFFC100AC /* DMA36 Current Address */
-#define REG_DMA36_STAT 0xFFC100B0 /* DMA36 Status Register */
-#define REG_DMA36_XCNT_CUR 0xFFC100B4 /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA36_YCNT_CUR 0xFFC100B8 /* DMA36 Current Row Count (2D only) */
-#define REG_DMA36_BWLCNT 0xFFC100C0 /* DMA36 Bandwidth Limit Count */
-#define REG_DMA36_BWLCNT_CUR 0xFFC100C4 /* DMA36 Bandwidth Limit Count Current */
-#define REG_DMA36_BWMCNT 0xFFC100C8 /* DMA36 Bandwidth Monitor Count */
-#define REG_DMA36_BWMCNT_CUR 0xFFC100CC /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA37
- ========================= */
-#define REG_DMA37_DSCPTR_NXT 0xFFC10100 /* DMA37 Pointer to Next Initial Descriptor */
-#define REG_DMA37_ADDRSTART 0xFFC10104 /* DMA37 Start Address of Current Buffer */
-#define REG_DMA37_CFG 0xFFC10108 /* DMA37 Configuration Register */
-#define REG_DMA37_XCNT 0xFFC1010C /* DMA37 Inner Loop Count Start Value */
-#define REG_DMA37_XMOD 0xFFC10110 /* DMA37 Inner Loop Address Increment */
-#define REG_DMA37_YCNT 0xFFC10114 /* DMA37 Outer Loop Count Start Value (2D only) */
-#define REG_DMA37_YMOD 0xFFC10118 /* DMA37 Outer Loop Address Increment (2D only) */
-#define REG_DMA37_DSCPTR_CUR 0xFFC10124 /* DMA37 Current Descriptor Pointer */
-#define REG_DMA37_DSCPTR_PRV 0xFFC10128 /* DMA37 Previous Initial Descriptor Pointer */
-#define REG_DMA37_ADDR_CUR 0xFFC1012C /* DMA37 Current Address */
-#define REG_DMA37_STAT 0xFFC10130 /* DMA37 Status Register */
-#define REG_DMA37_XCNT_CUR 0xFFC10134 /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA37_YCNT_CUR 0xFFC10138 /* DMA37 Current Row Count (2D only) */
-#define REG_DMA37_BWLCNT 0xFFC10140 /* DMA37 Bandwidth Limit Count */
-#define REG_DMA37_BWLCNT_CUR 0xFFC10144 /* DMA37 Bandwidth Limit Count Current */
-#define REG_DMA37_BWMCNT 0xFFC10148 /* DMA37 Bandwidth Monitor Count */
-#define REG_DMA37_BWMCNT_CUR 0xFFC1014C /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA38
- ========================= */
-#define REG_DMA38_DSCPTR_NXT 0xFFC12000 /* DMA38 Pointer to Next Initial Descriptor */
-#define REG_DMA38_ADDRSTART 0xFFC12004 /* DMA38 Start Address of Current Buffer */
-#define REG_DMA38_CFG 0xFFC12008 /* DMA38 Configuration Register */
-#define REG_DMA38_XCNT 0xFFC1200C /* DMA38 Inner Loop Count Start Value */
-#define REG_DMA38_XMOD 0xFFC12010 /* DMA38 Inner Loop Address Increment */
-#define REG_DMA38_YCNT 0xFFC12014 /* DMA38 Outer Loop Count Start Value (2D only) */
-#define REG_DMA38_YMOD 0xFFC12018 /* DMA38 Outer Loop Address Increment (2D only) */
-#define REG_DMA38_DSCPTR_CUR 0xFFC12024 /* DMA38 Current Descriptor Pointer */
-#define REG_DMA38_DSCPTR_PRV 0xFFC12028 /* DMA38 Previous Initial Descriptor Pointer */
-#define REG_DMA38_ADDR_CUR 0xFFC1202C /* DMA38 Current Address */
-#define REG_DMA38_STAT 0xFFC12030 /* DMA38 Status Register */
-#define REG_DMA38_XCNT_CUR 0xFFC12034 /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA38_YCNT_CUR 0xFFC12038 /* DMA38 Current Row Count (2D only) */
-#define REG_DMA38_BWLCNT 0xFFC12040 /* DMA38 Bandwidth Limit Count */
-#define REG_DMA38_BWLCNT_CUR 0xFFC12044 /* DMA38 Bandwidth Limit Count Current */
-#define REG_DMA38_BWMCNT 0xFFC12048 /* DMA38 Bandwidth Monitor Count */
-#define REG_DMA38_BWMCNT_CUR 0xFFC1204C /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA39
- ========================= */
-#define REG_DMA39_DSCPTR_NXT 0xFFC12080 /* DMA39 Pointer to Next Initial Descriptor */
-#define REG_DMA39_ADDRSTART 0xFFC12084 /* DMA39 Start Address of Current Buffer */
-#define REG_DMA39_CFG 0xFFC12088 /* DMA39 Configuration Register */
-#define REG_DMA39_XCNT 0xFFC1208C /* DMA39 Inner Loop Count Start Value */
-#define REG_DMA39_XMOD 0xFFC12090 /* DMA39 Inner Loop Address Increment */
-#define REG_DMA39_YCNT 0xFFC12094 /* DMA39 Outer Loop Count Start Value (2D only) */
-#define REG_DMA39_YMOD 0xFFC12098 /* DMA39 Outer Loop Address Increment (2D only) */
-#define REG_DMA39_DSCPTR_CUR 0xFFC120A4 /* DMA39 Current Descriptor Pointer */
-#define REG_DMA39_DSCPTR_PRV 0xFFC120A8 /* DMA39 Previous Initial Descriptor Pointer */
-#define REG_DMA39_ADDR_CUR 0xFFC120AC /* DMA39 Current Address */
-#define REG_DMA39_STAT 0xFFC120B0 /* DMA39 Status Register */
-#define REG_DMA39_XCNT_CUR 0xFFC120B4 /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA39_YCNT_CUR 0xFFC120B8 /* DMA39 Current Row Count (2D only) */
-#define REG_DMA39_BWLCNT 0xFFC120C0 /* DMA39 Bandwidth Limit Count */
-#define REG_DMA39_BWLCNT_CUR 0xFFC120C4 /* DMA39 Bandwidth Limit Count Current */
-#define REG_DMA39_BWMCNT 0xFFC120C8 /* DMA39 Bandwidth Monitor Count */
-#define REG_DMA39_BWMCNT_CUR 0xFFC120CC /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA40
- ========================= */
-#define REG_DMA40_DSCPTR_NXT 0xFFC12100 /* DMA40 Pointer to Next Initial Descriptor */
-#define REG_DMA40_ADDRSTART 0xFFC12104 /* DMA40 Start Address of Current Buffer */
-#define REG_DMA40_CFG 0xFFC12108 /* DMA40 Configuration Register */
-#define REG_DMA40_XCNT 0xFFC1210C /* DMA40 Inner Loop Count Start Value */
-#define REG_DMA40_XMOD 0xFFC12110 /* DMA40 Inner Loop Address Increment */
-#define REG_DMA40_YCNT 0xFFC12114 /* DMA40 Outer Loop Count Start Value (2D only) */
-#define REG_DMA40_YMOD 0xFFC12118 /* DMA40 Outer Loop Address Increment (2D only) */
-#define REG_DMA40_DSCPTR_CUR 0xFFC12124 /* DMA40 Current Descriptor Pointer */
-#define REG_DMA40_DSCPTR_PRV 0xFFC12128 /* DMA40 Previous Initial Descriptor Pointer */
-#define REG_DMA40_ADDR_CUR 0xFFC1212C /* DMA40 Current Address */
-#define REG_DMA40_STAT 0xFFC12130 /* DMA40 Status Register */
-#define REG_DMA40_XCNT_CUR 0xFFC12134 /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA40_YCNT_CUR 0xFFC12138 /* DMA40 Current Row Count (2D only) */
-#define REG_DMA40_BWLCNT 0xFFC12140 /* DMA40 Bandwidth Limit Count */
-#define REG_DMA40_BWLCNT_CUR 0xFFC12144 /* DMA40 Bandwidth Limit Count Current */
-#define REG_DMA40_BWMCNT 0xFFC12148 /* DMA40 Bandwidth Monitor Count */
-#define REG_DMA40_BWMCNT_CUR 0xFFC1214C /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA41
- ========================= */
-#define REG_DMA41_DSCPTR_NXT 0xFFC12180 /* DMA41 Pointer to Next Initial Descriptor */
-#define REG_DMA41_ADDRSTART 0xFFC12184 /* DMA41 Start Address of Current Buffer */
-#define REG_DMA41_CFG 0xFFC12188 /* DMA41 Configuration Register */
-#define REG_DMA41_XCNT 0xFFC1218C /* DMA41 Inner Loop Count Start Value */
-#define REG_DMA41_XMOD 0xFFC12190 /* DMA41 Inner Loop Address Increment */
-#define REG_DMA41_YCNT 0xFFC12194 /* DMA41 Outer Loop Count Start Value (2D only) */
-#define REG_DMA41_YMOD 0xFFC12198 /* DMA41 Outer Loop Address Increment (2D only) */
-#define REG_DMA41_DSCPTR_CUR 0xFFC121A4 /* DMA41 Current Descriptor Pointer */
-#define REG_DMA41_DSCPTR_PRV 0xFFC121A8 /* DMA41 Previous Initial Descriptor Pointer */
-#define REG_DMA41_ADDR_CUR 0xFFC121AC /* DMA41 Current Address */
-#define REG_DMA41_STAT 0xFFC121B0 /* DMA41 Status Register */
-#define REG_DMA41_XCNT_CUR 0xFFC121B4 /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA41_YCNT_CUR 0xFFC121B8 /* DMA41 Current Row Count (2D only) */
-#define REG_DMA41_BWLCNT 0xFFC121C0 /* DMA41 Bandwidth Limit Count */
-#define REG_DMA41_BWLCNT_CUR 0xFFC121C4 /* DMA41 Bandwidth Limit Count Current */
-#define REG_DMA41_BWMCNT 0xFFC121C8 /* DMA41 Bandwidth Monitor Count */
-#define REG_DMA41_BWMCNT_CUR 0xFFC121CC /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA42
- ========================= */
-#define REG_DMA42_DSCPTR_NXT 0xFFC14000 /* DMA42 Pointer to Next Initial Descriptor */
-#define REG_DMA42_ADDRSTART 0xFFC14004 /* DMA42 Start Address of Current Buffer */
-#define REG_DMA42_CFG 0xFFC14008 /* DMA42 Configuration Register */
-#define REG_DMA42_XCNT 0xFFC1400C /* DMA42 Inner Loop Count Start Value */
-#define REG_DMA42_XMOD 0xFFC14010 /* DMA42 Inner Loop Address Increment */
-#define REG_DMA42_YCNT 0xFFC14014 /* DMA42 Outer Loop Count Start Value (2D only) */
-#define REG_DMA42_YMOD 0xFFC14018 /* DMA42 Outer Loop Address Increment (2D only) */
-#define REG_DMA42_DSCPTR_CUR 0xFFC14024 /* DMA42 Current Descriptor Pointer */
-#define REG_DMA42_DSCPTR_PRV 0xFFC14028 /* DMA42 Previous Initial Descriptor Pointer */
-#define REG_DMA42_ADDR_CUR 0xFFC1402C /* DMA42 Current Address */
-#define REG_DMA42_STAT 0xFFC14030 /* DMA42 Status Register */
-#define REG_DMA42_XCNT_CUR 0xFFC14034 /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA42_YCNT_CUR 0xFFC14038 /* DMA42 Current Row Count (2D only) */
-#define REG_DMA42_BWLCNT 0xFFC14040 /* DMA42 Bandwidth Limit Count */
-#define REG_DMA42_BWLCNT_CUR 0xFFC14044 /* DMA42 Bandwidth Limit Count Current */
-#define REG_DMA42_BWMCNT 0xFFC14048 /* DMA42 Bandwidth Monitor Count */
-#define REG_DMA42_BWMCNT_CUR 0xFFC1404C /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA43
- ========================= */
-#define REG_DMA43_DSCPTR_NXT 0xFFC14080 /* DMA43 Pointer to Next Initial Descriptor */
-#define REG_DMA43_ADDRSTART 0xFFC14084 /* DMA43 Start Address of Current Buffer */
-#define REG_DMA43_CFG 0xFFC14088 /* DMA43 Configuration Register */
-#define REG_DMA43_XCNT 0xFFC1408C /* DMA43 Inner Loop Count Start Value */
-#define REG_DMA43_XMOD 0xFFC14090 /* DMA43 Inner Loop Address Increment */
-#define REG_DMA43_YCNT 0xFFC14094 /* DMA43 Outer Loop Count Start Value (2D only) */
-#define REG_DMA43_YMOD 0xFFC14098 /* DMA43 Outer Loop Address Increment (2D only) */
-#define REG_DMA43_DSCPTR_CUR 0xFFC140A4 /* DMA43 Current Descriptor Pointer */
-#define REG_DMA43_DSCPTR_PRV 0xFFC140A8 /* DMA43 Previous Initial Descriptor Pointer */
-#define REG_DMA43_ADDR_CUR 0xFFC140AC /* DMA43 Current Address */
-#define REG_DMA43_STAT 0xFFC140B0 /* DMA43 Status Register */
-#define REG_DMA43_XCNT_CUR 0xFFC140B4 /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA43_YCNT_CUR 0xFFC140B8 /* DMA43 Current Row Count (2D only) */
-#define REG_DMA43_BWLCNT 0xFFC140C0 /* DMA43 Bandwidth Limit Count */
-#define REG_DMA43_BWLCNT_CUR 0xFFC140C4 /* DMA43 Bandwidth Limit Count Current */
-#define REG_DMA43_BWMCNT 0xFFC140C8 /* DMA43 Bandwidth Monitor Count */
-#define REG_DMA43_BWMCNT_CUR 0xFFC140CC /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA44
- ========================= */
-#define REG_DMA44_DSCPTR_NXT 0xFFC14100 /* DMA44 Pointer to Next Initial Descriptor */
-#define REG_DMA44_ADDRSTART 0xFFC14104 /* DMA44 Start Address of Current Buffer */
-#define REG_DMA44_CFG 0xFFC14108 /* DMA44 Configuration Register */
-#define REG_DMA44_XCNT 0xFFC1410C /* DMA44 Inner Loop Count Start Value */
-#define REG_DMA44_XMOD 0xFFC14110 /* DMA44 Inner Loop Address Increment */
-#define REG_DMA44_YCNT 0xFFC14114 /* DMA44 Outer Loop Count Start Value (2D only) */
-#define REG_DMA44_YMOD 0xFFC14118 /* DMA44 Outer Loop Address Increment (2D only) */
-#define REG_DMA44_DSCPTR_CUR 0xFFC14124 /* DMA44 Current Descriptor Pointer */
-#define REG_DMA44_DSCPTR_PRV 0xFFC14128 /* DMA44 Previous Initial Descriptor Pointer */
-#define REG_DMA44_ADDR_CUR 0xFFC1412C /* DMA44 Current Address */
-#define REG_DMA44_STAT 0xFFC14130 /* DMA44 Status Register */
-#define REG_DMA44_XCNT_CUR 0xFFC14134 /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA44_YCNT_CUR 0xFFC14138 /* DMA44 Current Row Count (2D only) */
-#define REG_DMA44_BWLCNT 0xFFC14140 /* DMA44 Bandwidth Limit Count */
-#define REG_DMA44_BWLCNT_CUR 0xFFC14144 /* DMA44 Bandwidth Limit Count Current */
-#define REG_DMA44_BWMCNT 0xFFC14148 /* DMA44 Bandwidth Monitor Count */
-#define REG_DMA44_BWMCNT_CUR 0xFFC1414C /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA45
- ========================= */
-#define REG_DMA45_DSCPTR_NXT 0xFFC14180 /* DMA45 Pointer to Next Initial Descriptor */
-#define REG_DMA45_ADDRSTART 0xFFC14184 /* DMA45 Start Address of Current Buffer */
-#define REG_DMA45_CFG 0xFFC14188 /* DMA45 Configuration Register */
-#define REG_DMA45_XCNT 0xFFC1418C /* DMA45 Inner Loop Count Start Value */
-#define REG_DMA45_XMOD 0xFFC14190 /* DMA45 Inner Loop Address Increment */
-#define REG_DMA45_YCNT 0xFFC14194 /* DMA45 Outer Loop Count Start Value (2D only) */
-#define REG_DMA45_YMOD 0xFFC14198 /* DMA45 Outer Loop Address Increment (2D only) */
-#define REG_DMA45_DSCPTR_CUR 0xFFC141A4 /* DMA45 Current Descriptor Pointer */
-#define REG_DMA45_DSCPTR_PRV 0xFFC141A8 /* DMA45 Previous Initial Descriptor Pointer */
-#define REG_DMA45_ADDR_CUR 0xFFC141AC /* DMA45 Current Address */
-#define REG_DMA45_STAT 0xFFC141B0 /* DMA45 Status Register */
-#define REG_DMA45_XCNT_CUR 0xFFC141B4 /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA45_YCNT_CUR 0xFFC141B8 /* DMA45 Current Row Count (2D only) */
-#define REG_DMA45_BWLCNT 0xFFC141C0 /* DMA45 Bandwidth Limit Count */
-#define REG_DMA45_BWLCNT_CUR 0xFFC141C4 /* DMA45 Bandwidth Limit Count Current */
-#define REG_DMA45_BWMCNT 0xFFC141C8 /* DMA45 Bandwidth Monitor Count */
-#define REG_DMA45_BWMCNT_CUR 0xFFC141CC /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA46
- ========================= */
-#define REG_DMA46_DSCPTR_NXT 0xFFC14200 /* DMA46 Pointer to Next Initial Descriptor */
-#define REG_DMA46_ADDRSTART 0xFFC14204 /* DMA46 Start Address of Current Buffer */
-#define REG_DMA46_CFG 0xFFC14208 /* DMA46 Configuration Register */
-#define REG_DMA46_XCNT 0xFFC1420C /* DMA46 Inner Loop Count Start Value */
-#define REG_DMA46_XMOD 0xFFC14210 /* DMA46 Inner Loop Address Increment */
-#define REG_DMA46_YCNT 0xFFC14214 /* DMA46 Outer Loop Count Start Value (2D only) */
-#define REG_DMA46_YMOD 0xFFC14218 /* DMA46 Outer Loop Address Increment (2D only) */
-#define REG_DMA46_DSCPTR_CUR 0xFFC14224 /* DMA46 Current Descriptor Pointer */
-#define REG_DMA46_DSCPTR_PRV 0xFFC14228 /* DMA46 Previous Initial Descriptor Pointer */
-#define REG_DMA46_ADDR_CUR 0xFFC1422C /* DMA46 Current Address */
-#define REG_DMA46_STAT 0xFFC14230 /* DMA46 Status Register */
-#define REG_DMA46_XCNT_CUR 0xFFC14234 /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA46_YCNT_CUR 0xFFC14238 /* DMA46 Current Row Count (2D only) */
-#define REG_DMA46_BWLCNT 0xFFC14240 /* DMA46 Bandwidth Limit Count */
-#define REG_DMA46_BWLCNT_CUR 0xFFC14244 /* DMA46 Bandwidth Limit Count Current */
-#define REG_DMA46_BWMCNT 0xFFC14248 /* DMA46 Bandwidth Monitor Count */
-#define REG_DMA46_BWMCNT_CUR 0xFFC1424C /* DMA46 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_CFG_PDRF 28 /* Peripheral Data Request Forward */
-#define BITP_DMA_CFG_TWOD 26 /* Two Dimension Addressing Enable */
-#define BITP_DMA_CFG_DESCIDCPY 25 /* Descriptor ID Copy Control */
-#define BITP_DMA_CFG_TOVEN 24 /* Trigger Overrun Error Enable */
-#define BITP_DMA_CFG_TRIG 22 /* Generate Outgoing Trigger */
-#define BITP_DMA_CFG_INT 20 /* Generate Interrupt */
-#define BITP_DMA_CFG_NDSIZE 16 /* Next Descriptor Set Size */
-#define BITP_DMA_CFG_TWAIT 15 /* Wait for Trigger */
-#define BITP_DMA_CFG_FLOW 12 /* Next Operation */
-#define BITP_DMA_CFG_MSIZE 8 /* Memory Transfer Word Size */
-#define BITP_DMA_CFG_PSIZE 4 /* Peripheral Transfer Word Size */
-#define BITP_DMA_CFG_CADDR 3 /* Use Current Address */
-#define BITP_DMA_CFG_SYNC 2 /* Synchronize Work Unit Transitions */
-#define BITP_DMA_CFG_WNR 1 /* Write/Read Channel Direction */
-#define BITP_DMA_CFG_EN 0 /* DMA Channel Enable */
-
-#define BITM_DMA_CFG_PDRF (_ADI_MSK(0x10000000,uint32_t)) /* Peripheral Data Request Forward */
-#define ENUM_DMA_CFG_PDAT_NOTFWD (_ADI_MSK(0x00000000,uint32_t)) /* PDRF: Peripheral Data Request Not Forwarded */
-#define ENUM_DMA_CFG_PDAT_FWD (_ADI_MSK(0x10000000,uint32_t)) /* PDRF: Peripheral Data Request Forwarded */
-
-#define BITM_DMA_CFG_TWOD (_ADI_MSK(0x04000000,uint32_t)) /* Two Dimension Addressing Enable */
-#define ENUM_DMA_CFG_ADDR1D (_ADI_MSK(0x00000000,uint32_t)) /* TWOD: One-Dimensional Addressing */
-#define ENUM_DMA_CFG_ADDR2D (_ADI_MSK(0x04000000,uint32_t)) /* TWOD: Two-Dimensional Addressing */
-
-#define BITM_DMA_CFG_DESCIDCPY (_ADI_MSK(0x02000000,uint32_t)) /* Descriptor ID Copy Control */
-#define ENUM_DMA_CFG_NO_COPY (_ADI_MSK(0x00000000,uint32_t)) /* DESCIDCPY: Never Copy */
-#define ENUM_DMA_CFG_COPY (_ADI_MSK(0x02000000,uint32_t)) /* DESCIDCPY: Copy on Work Unit Complete */
-
-#define BITM_DMA_CFG_TOVEN (_ADI_MSK(0x01000000,uint32_t)) /* Trigger Overrun Error Enable */
-#define ENUM_DMA_CFG_TOV_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOVEN: Ignore Trigger Overrun */
-#define ENUM_DMA_CFG_TOV_EN (_ADI_MSK(0x01000000,uint32_t)) /* TOVEN: Error on Trigger Overrun */
-
-#define BITM_DMA_CFG_TRIG (_ADI_MSK(0x00C00000,uint32_t)) /* Generate Outgoing Trigger */
-#define ENUM_DMA_CFG_NO_TRIG (_ADI_MSK(0x00000000,uint32_t)) /* TRIG: Never assert Trigger */
-#define ENUM_DMA_CFG_XCNT_TRIG (_ADI_MSK(0x00400000,uint32_t)) /* TRIG: Trigger when XCNTCUR reaches 0 */
-#define ENUM_DMA_CFG_YCNT_TRIG (_ADI_MSK(0x00800000,uint32_t)) /* TRIG: Trigger when YCNTCUR reaches 0 */
-
-#define BITM_DMA_CFG_INT (_ADI_MSK(0x00300000,uint32_t)) /* Generate Interrupt */
-#define ENUM_DMA_CFG_NO_INT (_ADI_MSK(0x00000000,uint32_t)) /* INT: Never assert Interrupt */
-#define ENUM_DMA_CFG_XCNT_INT (_ADI_MSK(0x00100000,uint32_t)) /* INT: Interrupt when X Count Expires */
-#define ENUM_DMA_CFG_YCNT_INT (_ADI_MSK(0x00200000,uint32_t)) /* INT: Interrupt when Y Count Expires */
-#define ENUM_DMA_CFG_PERIPH_INT (_ADI_MSK(0x00300000,uint32_t)) /* INT: Peripheral Interrupt */
-
-#define BITM_DMA_CFG_NDSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Next Descriptor Set Size */
-#define ENUM_DMA_CFG_FETCH01 (_ADI_MSK(0x00000000,uint32_t)) /* NDSIZE: Fetch one Descriptor Element */
-#define ENUM_DMA_CFG_FETCH02 (_ADI_MSK(0x00010000,uint32_t)) /* NDSIZE: Fetch two Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH03 (_ADI_MSK(0x00020000,uint32_t)) /* NDSIZE: Fetch three Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH04 (_ADI_MSK(0x00030000,uint32_t)) /* NDSIZE: Fetch four Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH05 (_ADI_MSK(0x00040000,uint32_t)) /* NDSIZE: Fetch five Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH06 (_ADI_MSK(0x00050000,uint32_t)) /* NDSIZE: Fetch six Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH07 (_ADI_MSK(0x00060000,uint32_t)) /* NDSIZE: Fetch seven Descriptor Elements */
-
-#define BITM_DMA_CFG_TWAIT (_ADI_MSK(0x00008000,uint32_t)) /* Wait for Trigger */
-#define ENUM_DMA_CFG_NO_TRGWAIT (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: Begin Work Unit Automatically (No Wait) */
-#define ENUM_DMA_CFG_TRGWAIT (_ADI_MSK(0x00008000,uint32_t)) /* TWAIT: Wait for Trigger (Halt before Work Unit) */
-
-#define BITM_DMA_CFG_FLOW (_ADI_MSK(0x00007000,uint32_t)) /* Next Operation */
-#define ENUM_DMA_CFG_STOP (_ADI_MSK(0x00000000,uint32_t)) /* FLOW: STOP - Stop */
-#define ENUM_DMA_CFG_AUTO (_ADI_MSK(0x00001000,uint32_t)) /* FLOW: AUTO - Autobuffer */
-#define ENUM_DMA_CFG_DSCLIST (_ADI_MSK(0x00004000,uint32_t)) /* FLOW: DSCL - Descriptor List */
-#define ENUM_DMA_CFG_DSCARRAY (_ADI_MSK(0x00005000,uint32_t)) /* FLOW: DSCA - Descriptor Array */
-#define ENUM_DMA_CFG_DODLIST (_ADI_MSK(0x00006000,uint32_t)) /* FLOW: Descriptor On Demand List */
-#define ENUM_DMA_CFG_DODARRAY (_ADI_MSK(0x00007000,uint32_t)) /* FLOW: Descriptor On Demand Array */
-
-#define BITM_DMA_CFG_MSIZE (_ADI_MSK(0x00000700,uint32_t)) /* Memory Transfer Word Size */
-#define ENUM_DMA_CFG_MSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* MSIZE: 1 Byte */
-#define ENUM_DMA_CFG_MSIZE02 (_ADI_MSK(0x00000100,uint32_t)) /* MSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_MSIZE04 (_ADI_MSK(0x00000200,uint32_t)) /* MSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_MSIZE08 (_ADI_MSK(0x00000300,uint32_t)) /* MSIZE: 8 Bytes */
-#define ENUM_DMA_CFG_MSIZE16 (_ADI_MSK(0x00000400,uint32_t)) /* MSIZE: 16 Bytes */
-#define ENUM_DMA_CFG_MSIZE32 (_ADI_MSK(0x00000500,uint32_t)) /* MSIZE: 32 Bytes */
-
-#define BITM_DMA_CFG_PSIZE (_ADI_MSK(0x00000070,uint32_t)) /* Peripheral Transfer Word Size */
-#define ENUM_DMA_CFG_PSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 Byte */
-#define ENUM_DMA_CFG_PSIZE02 (_ADI_MSK(0x00000010,uint32_t)) /* PSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_PSIZE04 (_ADI_MSK(0x00000020,uint32_t)) /* PSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_PSIZE08 (_ADI_MSK(0x00000030,uint32_t)) /* PSIZE: 8 Bytes */
-
-#define BITM_DMA_CFG_CADDR (_ADI_MSK(0x00000008,uint32_t)) /* Use Current Address */
-#define ENUM_DMA_CFG_LD_STARTADDR (_ADI_MSK(0x00000000,uint32_t)) /* CADDR: Load Starting Address */
-#define ENUM_DMA_CFG_LD_CURADDR (_ADI_MSK(0x00000008,uint32_t)) /* CADDR: Use Current Address */
-
-#define BITM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* Synchronize Work Unit Transitions */
-#define ENUM_DMA_CFG_NO_SYNC (_ADI_MSK(0x00000000,uint32_t)) /* SYNC: No Synchronization */
-#define ENUM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* SYNC: Synchronize Channel */
-
-#define BITM_DMA_CFG_WNR (_ADI_MSK(0x00000002,uint32_t)) /* Write/Read Channel Direction */
-#define ENUM_DMA_CFG_READ (_ADI_MSK(0x00000000,uint32_t)) /* WNR: Transmit (Read from memory) */
-#define ENUM_DMA_CFG_WRITE (_ADI_MSK(0x00000002,uint32_t)) /* WNR: Receive (Write to memory) */
-
-#define BITM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* DMA Channel Enable */
-#define ENUM_DMA_CFG_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_DSCPTR_PRV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_DSCPTR_PRV_DESCPPREV 2 /* Pointer for Previous Descriptor Element */
-#define BITP_DMA_DSCPTR_PRV_PDPO 0 /* Previous Descriptor Pointer Overrun */
-#define BITM_DMA_DSCPTR_PRV_DESCPPREV (_ADI_MSK(0xFFFFFFFC,uint32_t)) /* Pointer for Previous Descriptor Element */
-#define BITM_DMA_DSCPTR_PRV_PDPO (_ADI_MSK(0x00000001,uint32_t)) /* Previous Descriptor Pointer Overrun */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_STAT_TWAIT 20 /* Trigger Wait Status */
-#define BITP_DMA_STAT_FIFOFILL 16 /* FIFO Fill Status */
-#define BITP_DMA_STAT_MBWID 14 /* Memory Bus Width */
-#define BITP_DMA_STAT_PBWID 12 /* Peripheral Bus Width */
-#define BITP_DMA_STAT_RUN 8 /* Run Status */
-#define BITP_DMA_STAT_ERRC 4 /* Error Cause */
-#define BITP_DMA_STAT_PIRQ 2 /* Peripheral Interrupt Request */
-#define BITP_DMA_STAT_IRQERR 1 /* Error Interrupt */
-#define BITP_DMA_STAT_IRQDONE 0 /* Work Unit/Row Done Interrupt */
-
-#define BITM_DMA_STAT_TWAIT (_ADI_MSK(0x00100000,uint32_t)) /* Trigger Wait Status */
-#define ENUM_DMA_STAT_NOTRIGRX (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: No trigger received */
-#define ENUM_DMA_STAT_TRIGRX (_ADI_MSK(0x00100000,uint32_t)) /* TWAIT: Trigger received */
-
-#define BITM_DMA_STAT_FIFOFILL (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Fill Status */
-#define ENUM_DMA_STAT_FIFOEMPTY (_ADI_MSK(0x00000000,uint32_t)) /* FIFOFILL: Empty */
-#define ENUM_DMA_STAT_FIFO25 (_ADI_MSK(0x00010000,uint32_t)) /* FIFOFILL: Empty < FIFO = 1/4 Full */
-#define ENUM_DMA_STAT_FIFO50 (_ADI_MSK(0x00020000,uint32_t)) /* FIFOFILL: 1/4 Full < FIFO = 1/2 Full */
-#define ENUM_DMA_STAT_FIFO75 (_ADI_MSK(0x00030000,uint32_t)) /* FIFOFILL: 1/2 Full < FIFO = 3/4 Full */
-#define ENUM_DMA_STAT_FIFONEARFULL (_ADI_MSK(0x00040000,uint32_t)) /* FIFOFILL: 3/4 Full < FIFO = Full */
-#define ENUM_DMA_STAT_FIFOFULL (_ADI_MSK(0x00070000,uint32_t)) /* FIFOFILL: Full */
-
-#define BITM_DMA_STAT_MBWID (_ADI_MSK(0x0000C000,uint32_t)) /* Memory Bus Width */
-#define ENUM_DMA_STAT_MBUS02 (_ADI_MSK(0x00000000,uint32_t)) /* MBWID: 2 Bytes */
-#define ENUM_DMA_STAT_MBUS04 (_ADI_MSK(0x00004000,uint32_t)) /* MBWID: 4 Bytes */
-#define ENUM_DMA_STAT_MBUS08 (_ADI_MSK(0x00008000,uint32_t)) /* MBWID: 8 Bytes */
-#define ENUM_DMA_STAT_MBUS16 (_ADI_MSK(0x0000C000,uint32_t)) /* MBWID: 16 Bytes */
-
-#define BITM_DMA_STAT_PBWID (_ADI_MSK(0x00003000,uint32_t)) /* Peripheral Bus Width */
-#define ENUM_DMA_STAT_PBUS01 (_ADI_MSK(0x00000000,uint32_t)) /* PBWID: 1 Byte */
-#define ENUM_DMA_STAT_PBUS02 (_ADI_MSK(0x00001000,uint32_t)) /* PBWID: 2 Bytes */
-#define ENUM_DMA_STAT_PBUS04 (_ADI_MSK(0x00002000,uint32_t)) /* PBWID: 4 Bytes */
-#define ENUM_DMA_STAT_PBUS08 (_ADI_MSK(0x00003000,uint32_t)) /* PBWID: 8 Bytes */
-
-#define BITM_DMA_STAT_RUN (_ADI_MSK(0x00000700,uint32_t)) /* Run Status */
-#define ENUM_DMA_STAT_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RUN: Idle/Stop State */
-#define ENUM_DMA_STAT_DSCFETCH (_ADI_MSK(0x00000100,uint32_t)) /* RUN: Descriptor Fetch */
-#define ENUM_DMA_STAT_DATAXFER (_ADI_MSK(0x00000200,uint32_t)) /* RUN: Data Transfer */
-#define ENUM_DMA_STAT_TRGWAIT (_ADI_MSK(0x00000300,uint32_t)) /* RUN: Waiting for Trigger */
-#define ENUM_DMA_STAT_ACKWAIT (_ADI_MSK(0x00000400,uint32_t)) /* RUN: Waiting for Write ACK/FIFO Drain to Peripheral */
-
-#define BITM_DMA_STAT_ERRC (_ADI_MSK(0x00000070,uint32_t)) /* Error Cause */
-#define ENUM_DMA_STAT_CFGERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Configuration Error */
-#define ENUM_DMA_STAT_ILLWRERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Illegal Write Occurred While Channel Running */
-#define ENUM_DMA_STAT_ALGNERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: Address Alignment Error */
-#define ENUM_DMA_STAT_MEMERR (_ADI_MSK(0x00000030,uint32_t)) /* ERRC: Memory Access/Fabric Error */
-#define ENUM_DMA_STAT_TRGOVERR (_ADI_MSK(0x00000050,uint32_t)) /* ERRC: Trigger Overrun */
-#define ENUM_DMA_STAT_BWMONERR (_ADI_MSK(0x00000060,uint32_t)) /* ERRC: Bandwidth Monitor Error */
-
-#define BITM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* Peripheral Interrupt Request */
-#define ENUM_DMA_STAT_NO_PIRQ (_ADI_MSK(0x00000000,uint32_t)) /* PIRQ: No Interrupt */
-#define ENUM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* PIRQ: Interrupt Signaled by Peripheral */
-
-#define BITM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* Error Interrupt */
-#define ENUM_DMA_STAT_NO_IRQERR (_ADI_MSK(0x00000000,uint32_t)) /* IRQERR: No Error */
-#define ENUM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* IRQERR: Error Occurred */
-
-#define BITM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* Work Unit/Row Done Interrupt */
-#define ENUM_DMA_STAT_NO_IRQ (_ADI_MSK(0x00000000,uint32_t)) /* IRQDONE: Inactive */
-#define ENUM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* IRQDONE: Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_VALUE 0 /* Bandwidth Limit Count */
-#define BITM_DMA_BWLCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_CUR_VALUE 0 /* Bandwidth Limit Count Current */
-#define BITM_DMA_BWLCNT_CUR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count Current */
-
-/* ==================================================
- ACM Registers
- ================================================== */
-
-/* =========================
- ACM0
- ========================= */
-#define REG_ACM0_CTL 0xFFC45000 /* ACM0 ACM Control Register */
-#define REG_ACM0_TC0 0xFFC45004 /* ACM0 ACM Timing Configuration 0 Register */
-#define REG_ACM0_TC1 0xFFC45008 /* ACM0 ACM Timing Configuration 1 Register */
-#define REG_ACM0_STAT 0xFFC4500C /* ACM0 ACM Status Register */
-#define REG_ACM0_EVSTAT 0xFFC45010 /* ACM0 ACM Event Status Register */
-#define REG_ACM0_EVMSK 0xFFC45014 /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define REG_ACM0_MEVSTAT 0xFFC45018 /* ACM0 ACM Missed Event Status Register */
-#define REG_ACM0_MEVMSK 0xFFC4501C /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define REG_ACM0_EVCTL0 0xFFC45020 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL1 0xFFC45024 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL2 0xFFC45028 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL3 0xFFC4502C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL4 0xFFC45030 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL5 0xFFC45034 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL6 0xFFC45038 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL7 0xFFC4503C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL8 0xFFC45040 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL9 0xFFC45044 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL10 0xFFC45048 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL11 0xFFC4504C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL12 0xFFC45050 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL13 0xFFC45054 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL14 0xFFC45058 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL15 0xFFC4505C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVTIME0 0xFFC45060 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME1 0xFFC45064 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME2 0xFFC45068 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME3 0xFFC4506C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME4 0xFFC45070 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME5 0xFFC45074 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME6 0xFFC45078 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME7 0xFFC4507C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME8 0xFFC45080 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME9 0xFFC45084 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME10 0xFFC45088 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME11 0xFFC4508C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME12 0xFFC45090 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME13 0xFFC45094 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME14 0xFFC45098 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME15 0xFFC4509C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVORD0 0xFFC450A0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD1 0xFFC450A4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD2 0xFFC450A8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD3 0xFFC450AC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD4 0xFFC450B0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD5 0xFFC450B4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD6 0xFFC450B8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD7 0xFFC450BC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD8 0xFFC450C0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD9 0xFFC450C4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD10 0xFFC450C8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD11 0xFFC450CC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD12 0xFFC450D0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD13 0xFFC450D4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD14 0xFFC450D8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD15 0xFFC450DC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_TMR0 0xFFC450E8 /* ACM0 ACM Timer 0 Register */
-#define REG_ACM0_TMR1 0xFFC450EC /* ACM0 ACM Timer 1 Register */
-
-/* =========================
- ACM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_CTL_EPS 15 /* External Peripheral Select */
-#define BITP_ACM_CTL_OTSEL 14 /* Trigger Select for Order Register Reset */
-#define BITP_ACM_CTL_AOREN 13 /* Automatic Order Reset Enable */
-#define BITP_ACM_CTL_ORST 12 /* Order Register Reset Bit */
-#define BITP_ACM_CTL_CLKMOD 11 /* ADC Clock Mode */
-#define BITP_ACM_CTL_CLKPOL 10 /* ADC_CLK Polarity */
-#define BITP_ACM_CTL_CSPOL 9 /* CS Polarity */
-#define BITP_ACM_CTL_TRGPOL1 8 /* Trigger Polarity for Timer1 Triggers */
-#define BITP_ACM_CTL_TRGPOL0 7 /* Trigger Polarity for Timer0 Triggers */
-#define BITP_ACM_CTL_TRGSEL1 5 /* Trigger Select 1 */
-#define BITP_ACM_CTL_TRGSEL0 3 /* Trigger Select 0 */
-#define BITP_ACM_CTL_TMR1EN 2 /* Enable ACM Timer1 */
-#define BITP_ACM_CTL_TMR0EN 1 /* Enable ACM Timer0 */
-#define BITP_ACM_CTL_EN 0 /* ACM Enable */
-#define BITM_ACM_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* External Peripheral Select */
-#define BITM_ACM_CTL_OTSEL (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Select for Order Register Reset */
-#define BITM_ACM_CTL_AOREN (_ADI_MSK(0x00002000,uint32_t)) /* Automatic Order Reset Enable */
-#define BITM_ACM_CTL_ORST (_ADI_MSK(0x00001000,uint32_t)) /* Order Register Reset Bit */
-#define BITM_ACM_CTL_CLKMOD (_ADI_MSK(0x00000800,uint32_t)) /* ADC Clock Mode */
-#define BITM_ACM_CTL_CLKPOL (_ADI_MSK(0x00000400,uint32_t)) /* ADC_CLK Polarity */
-#define BITM_ACM_CTL_CSPOL (_ADI_MSK(0x00000200,uint32_t)) /* CS Polarity */
-#define BITM_ACM_CTL_TRGPOL1 (_ADI_MSK(0x00000100,uint32_t)) /* Trigger Polarity for Timer1 Triggers */
-#define BITM_ACM_CTL_TRGPOL0 (_ADI_MSK(0x00000080,uint32_t)) /* Trigger Polarity for Timer0 Triggers */
-#define BITM_ACM_CTL_TRGSEL1 (_ADI_MSK(0x00000060,uint32_t)) /* Trigger Select 1 */
-#define BITM_ACM_CTL_TRGSEL0 (_ADI_MSK(0x00000018,uint32_t)) /* Trigger Select 0 */
-#define BITM_ACM_CTL_TMR1EN (_ADI_MSK(0x00000004,uint32_t)) /* Enable ACM Timer1 */
-#define BITM_ACM_CTL_TMR0EN (_ADI_MSK(0x00000002,uint32_t)) /* Enable ACM Timer0 */
-#define BITM_ACM_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* ACM Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC0_SC 16 /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITP_ACM_TC0_CKDIV 0 /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-#define BITM_ACM_TC0_SC (_ADI_MSK(0x0FFF0000,uint32_t)) /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITM_ACM_TC0_CKDIV (_ADI_MSK(0x000000FF,uint32_t)) /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC1_ZC 12 /* Zero Cycle - ADC Control zero duration */
-#define BITP_ACM_TC1_HC 8 /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITP_ACM_TC1_CSW 0 /* CS Width. Active duration of CS in ACLK cycles */
-#define BITM_ACM_TC1_ZC (_ADI_MSK(0x0000F000,uint32_t)) /* Zero Cycle - ADC Control zero duration */
-#define BITM_ACM_TC1_HC (_ADI_MSK(0x00000F00,uint32_t)) /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITM_ACM_TC1_CSW (_ADI_MSK(0x000000FF,uint32_t)) /* CS Width. Active duration of CS in ACLK cycles */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_STAT_CEVNT 4 /* Current Event. */
-#define BITP_ACM_STAT_ECOM1 3 /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_ECOM0 2 /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_EMISS 1 /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITP_ACM_STAT_BSY 0 /* ACM Busy */
-#define BITM_ACM_STAT_CEVNT (_ADI_MSK(0x000000F0,uint32_t)) /* Current Event. */
-#define BITM_ACM_STAT_ECOM1 (_ADI_MSK(0x00000008,uint32_t)) /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_ECOM0 (_ADI_MSK(0x00000004,uint32_t)) /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_EMISS (_ADI_MSK(0x00000002,uint32_t)) /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITM_ACM_STAT_BSY (_ADI_MSK(0x00000001,uint32_t)) /* ACM Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVSTAT_ECOM1S 17 /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_ECOM0S 16 /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_EV15 15 /* Event15 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV14 14 /* Event14 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV13 13 /* Event13 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV12 12 /* Event12 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV11 11 /* Event11 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV10 10 /* Event10 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV9 9 /* Event9 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV8 8 /* Event8 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV7 7 /* Event7 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV6 6 /* Event6 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV5 5 /* Event5 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV4 4 /* Event4 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV3 3 /* Event3 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV2 2 /* Event2 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV1 1 /* Event1 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV0 0 /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-#define BITM_ACM_EVSTAT_ECOM1S (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_ECOM0S (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVMSK_IECOM1 17 /* Timer1 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_IECOM0 16 /* Timer0 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV15 15 /* Event15 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV14 14 /* Event14 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV13 13 /* Event13 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV12 12 /* Event12 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV11 11 /* Event11 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV10 10 /* Event10 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV9 9 /* Event9 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV8 8 /* Event8 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV7 7 /* Event7 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV6 6 /* Event6 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV5 5 /* Event5 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV4 4 /* Event4 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV3 3 /* Event3 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV2 2 /* Event2 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV1 1 /* Event1 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV0 0 /* Event0 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM1 (_ADI_MSK(0x00020000,uint32_t)) /* Timer1 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM0 (_ADI_MSK(0x00010000,uint32_t)) /* Timer0 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVSTAT_EV15 15 /* Event15 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV14 14 /* Event14 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV13 13 /* Event13 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV12 12 /* Event12 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV11 11 /* Event11 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV10 10 /* Event10 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV9 9 /* Event9 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV8 8 /* Event8 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV7 7 /* Event7 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV6 6 /* Event6 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV5 5 /* Event5 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV4 4 /* Event4 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV3 3 /* Event3 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV2 2 /* Event2 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV1 1 /* Event1 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV0 0 /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-#define BITM_ACM_MEVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVMSK_EV15 15 /* Event15 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV14 14 /* Event14 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV13 13 /* Event13 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV12 12 /* Event12 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV11 11 /* Event11 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV10 10 /* Event10 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV9 9 /* Event9 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV8 8 /* Event8 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV7 7 /* Event7 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV6 6 /* Event6 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV5 5 /* Event5 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV4 4 /* Event4 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV3 3 /* Event3 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV2 2 /* Event2 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV1 1 /* Event1 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV0 0 /* Event0 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVCTL_EPF 1 /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITP_ACM_EVCTL_ENAEV 0 /* Enable Event */
-#define BITM_ACM_EVCTL_EPF (_ADI_MSK(0x0000003E,uint32_t)) /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITM_ACM_EVCTL_ENAEV (_ADI_MSK(0x00000001,uint32_t)) /* Enable Event */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVORD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVORD_EVSTAT 17 /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITP_ACM_EVORD_MEVSTAT 16 /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITP_ACM_EVORD_ORD 0 /* Order of Event Completion */
-#define BITM_ACM_EVORD_EVSTAT (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITM_ACM_EVORD_MEVSTAT (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITM_ACM_EVORD_ORD (_ADI_MSK(0x000000FF,uint32_t)) /* Order of Event Completion */
-
-/* ==================================================
- DDR Registers
- ================================================== */
-
-/* =========================
- DMC0
- ========================= */
-#define REG_DMC0_CTL 0xFFC80004 /* DMC0 Control Register */
-#define REG_DMC0_STAT 0xFFC80008 /* DMC0 Status Register */
-#define REG_DMC0_EFFCTL 0xFFC8000C /* DMC0 Efficiency Control Register */
-#define REG_DMC0_PRIO 0xFFC80010 /* DMC0 Priority ID Register */
-#define REG_DMC0_PRIOMSK 0xFFC80014 /* DMC0 Priority ID Mask Register */
-#define REG_DMC0_CFG 0xFFC80040 /* DMC0 Configuration Register */
-#define REG_DMC0_TR0 0xFFC80044 /* DMC0 Timing 0 Register */
-#define REG_DMC0_TR1 0xFFC80048 /* DMC0 Timing 1 Register */
-#define REG_DMC0_TR2 0xFFC8004C /* DMC0 Timing 2 Register */
-#define REG_DMC0_MSK 0xFFC8005C /* DMC0 Mask (Mode Register Shadow) Register */
-#define REG_DMC0_MR 0xFFC80060 /* DMC0 Shadow MR Register */
-#define REG_DMC0_EMR1 0xFFC80064 /* DMC0 Shadow EMR1 Register */
-#define REG_DMC0_EMR2 0xFFC80068 /* DMC0 Shadow EMR2 Register */
-#define REG_DMC0_EMR3 0xFFC8006C /* DMC0 Shadow EMR3 Register */
-#define REG_DMC0_DLLCTL 0xFFC80080 /* DMC0 DLL Control Register */
-#define REG_DMC0_PHY_CTL0 0xFFC80090 /* DMC0 PHY Control 0 Register */
-#define REG_DMC0_PHY_CTL1 0xFFC80094 /* DMC0 PHY Control 1 Register */
-#define REG_DMC0_PHY_CTL2 0xFFC80098 /* DMC0 PHY Control 2 Register */
-#define REG_DMC0_PHY_CTL3 0xFFC8009C /* DMC0 PHY Control 3 Register */
-#define REG_DMC0_PADCTL 0xFFC800C0 /* DMC0 PAD Control Register */
-
-/* =========================
- DMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CTL_DLLCAL 13 /* DLL Calibration Start */
-#define BITP_DMC_CTL_PPREF 12 /* Postpone Refresh */
-#define BITP_DMC_CTL_RDTOWR 9 /* Read-to-Write Cycle */
-#define BITP_DMC_CTL_ADDRMODE 8 /* Addressing (Page/Bank) Mode */
-#define BITP_DMC_CTL_PREC 6 /* Precharge */
-#define BITP_DMC_CTL_DPDREQ 5 /* Deep Power Down Request */
-#define BITP_DMC_CTL_PDREQ 4 /* Power Down Request */
-#define BITP_DMC_CTL_SRREQ 3 /* Self Refresh Request */
-#define BITP_DMC_CTL_INIT 2 /* Initialize DRAM Start */
-#define BITP_DMC_CTL_LPDDR 1 /* Low Power DDR Mode */
-#define BITM_DMC_CTL_DLLCAL (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Start */
-#define BITM_DMC_CTL_PPREF (_ADI_MSK(0x00001000,uint32_t)) /* Postpone Refresh */
-
-#define BITM_DMC_CTL_RDTOWR (_ADI_MSK(0x00000E00,uint32_t)) /* Read-to-Write Cycle */
-#define ENUM_DMC_CTL_RDTOWR0 (_ADI_MSK(0x00000000,uint32_t)) /* RDTOWR: 0 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR1 (_ADI_MSK(0x00000200,uint32_t)) /* RDTOWR: 1 Cycle Added */
-#define ENUM_DMC_CTL_RDTOWR2 (_ADI_MSK(0x00000400,uint32_t)) /* RDTOWR: 2 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR3 (_ADI_MSK(0x00000600,uint32_t)) /* RDTOWR: 3 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR4 (_ADI_MSK(0x00000800,uint32_t)) /* RDTOWR: 4 Cycles Added */
-#define BITM_DMC_CTL_ADDRMODE (_ADI_MSK(0x00000100,uint32_t)) /* Addressing (Page/Bank) Mode */
-#define BITM_DMC_CTL_PREC (_ADI_MSK(0x00000040,uint32_t)) /* Precharge */
-#define BITM_DMC_CTL_DPDREQ (_ADI_MSK(0x00000020,uint32_t)) /* Deep Power Down Request */
-#define BITM_DMC_CTL_PDREQ (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Request */
-#define BITM_DMC_CTL_SRREQ (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Request */
-#define BITM_DMC_CTL_INIT (_ADI_MSK(0x00000004,uint32_t)) /* Initialize DRAM Start */
-#define BITM_DMC_CTL_LPDDR (_ADI_MSK(0x00000002,uint32_t)) /* Low Power DDR Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_STAT_PHYRDPHASE 20 /* PHY Read Phase */
-#define BITP_DMC_STAT_PENDREF 16 /* Pending Refresh */
-#define BITP_DMC_STAT_DLLCALDONE 13 /* DLL Calibration Done */
-#define BITP_DMC_STAT_DPDACK 5 /* Deep Powerdown Acknowledge */
-#define BITP_DMC_STAT_PDACK 4 /* Power Down Acknowledge */
-#define BITP_DMC_STAT_SRACK 3 /* Self Refresh Acknowledge */
-#define BITP_DMC_STAT_MEMINITDONE 1 /* Memory Initialization Done */
-#define BITP_DMC_STAT_IDLE 0 /* Idle State */
-#define BITM_DMC_STAT_PHYRDPHASE (_ADI_MSK(0x00F00000,uint32_t)) /* PHY Read Phase */
-#define BITM_DMC_STAT_PENDREF (_ADI_MSK(0x000F0000,uint32_t)) /* Pending Refresh */
-#define BITM_DMC_STAT_DLLCALDONE (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Done */
-#define BITM_DMC_STAT_DPDACK (_ADI_MSK(0x00000020,uint32_t)) /* Deep Powerdown Acknowledge */
-#define BITM_DMC_STAT_PDACK (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Acknowledge */
-#define BITM_DMC_STAT_SRACK (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Acknowledge */
-#define BITM_DMC_STAT_MEMINITDONE (_ADI_MSK(0x00000002,uint32_t)) /* Memory Initialization Done */
-#define BITM_DMC_STAT_IDLE (_ADI_MSK(0x00000001,uint32_t)) /* Idle State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EFFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EFFCTL_IDLECYC 20 /* Idle Cycle */
-#define BITP_DMC_EFFCTL_NUMREF 16 /* Number of Refresh Commands */
-#define BITP_DMC_EFFCTL_PRECBANK7 15 /* Precharge Bank 7 */
-#define BITP_DMC_EFFCTL_PRECBANK6 14 /* Precharge Bank 6 */
-#define BITP_DMC_EFFCTL_PRECBANK5 13 /* Precharge Bank 5 */
-#define BITP_DMC_EFFCTL_PRECBANK4 12 /* Precharge Bank 4 */
-#define BITP_DMC_EFFCTL_PRECBANK3 11 /* Precharge Bank 3 */
-#define BITP_DMC_EFFCTL_PRECBANK2 10 /* Precharge Bank 2 */
-#define BITP_DMC_EFFCTL_PRECBANK1 9 /* Precharge Bank 1 */
-#define BITP_DMC_EFFCTL_PRECBANK0 8 /* Precharge Bank 0 */
-#define BITP_DMC_EFFCTL_WAITWRDATA 7 /* Wait in Write Data Snapshot */
-#define BITP_DMC_EFFCTL_FULLWRDATA 6 /* Wait for Full Write Data */
-#define BITM_DMC_EFFCTL_IDLECYC (_ADI_MSK(0x00F00000,uint32_t)) /* Idle Cycle */
-#define BITM_DMC_EFFCTL_NUMREF (_ADI_MSK(0x000F0000,uint32_t)) /* Number of Refresh Commands */
-#define BITM_DMC_EFFCTL_PRECBANK7 (_ADI_MSK(0x00008000,uint32_t)) /* Precharge Bank 7 */
-#define BITM_DMC_EFFCTL_PRECBANK6 (_ADI_MSK(0x00004000,uint32_t)) /* Precharge Bank 6 */
-#define BITM_DMC_EFFCTL_PRECBANK5 (_ADI_MSK(0x00002000,uint32_t)) /* Precharge Bank 5 */
-#define BITM_DMC_EFFCTL_PRECBANK4 (_ADI_MSK(0x00001000,uint32_t)) /* Precharge Bank 4 */
-#define BITM_DMC_EFFCTL_PRECBANK3 (_ADI_MSK(0x00000800,uint32_t)) /* Precharge Bank 3 */
-#define BITM_DMC_EFFCTL_PRECBANK2 (_ADI_MSK(0x00000400,uint32_t)) /* Precharge Bank 2 */
-#define BITM_DMC_EFFCTL_PRECBANK1 (_ADI_MSK(0x00000200,uint32_t)) /* Precharge Bank 1 */
-#define BITM_DMC_EFFCTL_PRECBANK0 (_ADI_MSK(0x00000100,uint32_t)) /* Precharge Bank 0 */
-#define BITM_DMC_EFFCTL_WAITWRDATA (_ADI_MSK(0x00000080,uint32_t)) /* Wait in Write Data Snapshot */
-#define BITM_DMC_EFFCTL_FULLWRDATA (_ADI_MSK(0x00000040,uint32_t)) /* Wait for Full Write Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIO_ID2 16 /* ID2 Requiring Elevated Priority */
-#define BITP_DMC_PRIO_ID1 0 /* ID1 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID2 (_ADI_MSK(0xFFFF0000,uint32_t)) /* ID2 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID1 (_ADI_MSK(0x0000FFFF,uint32_t)) /* ID1 Requiring Elevated Priority */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIOMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIOMSK_ID2MSK 16 /* Mask for ID2 */
-#define BITP_DMC_PRIOMSK_ID1MSK 0 /* Mask for ID1 */
-#define BITM_DMC_PRIOMSK_ID2MSK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Mask for ID2 */
-#define BITM_DMC_PRIOMSK_ID1MSK (_ADI_MSK(0x0000FFFF,uint32_t)) /* Mask for ID1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CFG_EXTBANK 12 /* External Banks */
-#define BITP_DMC_CFG_SDRSIZE 8 /* SDRAM Size */
-#define BITP_DMC_CFG_SDRWID 4 /* SDRAM Width */
-#define BITP_DMC_CFG_IFWID 0 /* Interface Width */
-
-#define BITM_DMC_CFG_EXTBANK (_ADI_MSK(0x0000F000,uint32_t)) /* External Banks */
-#define ENUM_DMC_CFG_EXTBANK1 (_ADI_MSK(0x00000000,uint32_t)) /* EXTBANK: 1 External Bank */
-
-#define BITM_DMC_CFG_SDRSIZE (_ADI_MSK(0x00000F00,uint32_t)) /* SDRAM Size */
-#define ENUM_DMC_CFG_SDRSIZE64 (_ADI_MSK(0x00000000,uint32_t)) /* SDRSIZE: 64M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE128 (_ADI_MSK(0x00000100,uint32_t)) /* SDRSIZE: 128M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE256 (_ADI_MSK(0x00000200,uint32_t)) /* SDRSIZE: 256M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE512 (_ADI_MSK(0x00000300,uint32_t)) /* SDRSIZE: 512M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE1G (_ADI_MSK(0x00000400,uint32_t)) /* SDRSIZE: 1G Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE2G (_ADI_MSK(0x00000500,uint32_t)) /* SDRSIZE: 2G Bit SDRAM */
-
-#define BITM_DMC_CFG_SDRWID (_ADI_MSK(0x000000F0,uint32_t)) /* SDRAM Width */
-#define ENUM_DMC_CFG_SDRWID16 (_ADI_MSK(0x00000020,uint32_t)) /* SDRWID: 16-Bit Wide SDRAM */
-
-#define BITM_DMC_CFG_IFWID (_ADI_MSK(0x0000000F,uint32_t)) /* Interface Width */
-#define ENUM_DMC_CFG_IFWID16 (_ADI_MSK(0x00000002,uint32_t)) /* IFWID: 16-Bit Wide Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR0_TMRD 28 /* Timing Mode Register Delay */
-#define BITP_DMC_TR0_TRC 20 /* Timing Row Cycle */
-#define BITP_DMC_TR0_TRAS 12 /* Timing Row Active Time */
-#define BITP_DMC_TR0_TRP 8 /* Timing RAS Precharge. */
-#define BITP_DMC_TR0_TWTR 4 /* Timing Write to Read */
-#define BITP_DMC_TR0_TRCD 0 /* Timing RAS to CAS Delay */
-#define BITM_DMC_TR0_TMRD (_ADI_MSK(0xF0000000,uint32_t)) /* Timing Mode Register Delay */
-#define BITM_DMC_TR0_TRC (_ADI_MSK(0x03F00000,uint32_t)) /* Timing Row Cycle */
-#define BITM_DMC_TR0_TRAS (_ADI_MSK(0x0001F000,uint32_t)) /* Timing Row Active Time */
-#define BITM_DMC_TR0_TRP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing RAS Precharge. */
-#define BITM_DMC_TR0_TWTR (_ADI_MSK(0x000000F0,uint32_t)) /* Timing Write to Read */
-#define BITM_DMC_TR0_TRCD (_ADI_MSK(0x0000000F,uint32_t)) /* Timing RAS to CAS Delay */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR1_TRRD 28 /* Timing Read-Read Delay */
-#define BITP_DMC_TR1_TRFC 16 /* Timing Refresh-to-Command */
-#define BITP_DMC_TR1_TREF 0 /* Timing Refresh Interval */
-#define BITM_DMC_TR1_TRRD (_ADI_MSK(0x70000000,uint32_t)) /* Timing Read-Read Delay */
-#define BITM_DMC_TR1_TRFC (_ADI_MSK(0x00FF0000,uint32_t)) /* Timing Refresh-to-Command */
-#define BITM_DMC_TR1_TREF (_ADI_MSK(0x00003FFF,uint32_t)) /* Timing Refresh Interval */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR2_TCKE 20 /* Timing Clock Enable */
-#define BITP_DMC_TR2_TXP 16 /* Timing Exit Powerdown */
-#define BITP_DMC_TR2_TWR 12 /* Timing Write Recovery */
-#define BITP_DMC_TR2_TRTP 8 /* Timing Read-to-Precharge */
-#define BITP_DMC_TR2_TFAW 0 /* Timing Four-Activated-Window */
-#define BITM_DMC_TR2_TCKE (_ADI_MSK(0x00F00000,uint32_t)) /* Timing Clock Enable */
-#define BITM_DMC_TR2_TXP (_ADI_MSK(0x000F0000,uint32_t)) /* Timing Exit Powerdown */
-#define BITM_DMC_TR2_TWR (_ADI_MSK(0x0000F000,uint32_t)) /* Timing Write Recovery */
-#define BITM_DMC_TR2_TRTP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing Read-to-Precharge */
-#define BITM_DMC_TR2_TFAW (_ADI_MSK(0x0000001F,uint32_t)) /* Timing Four-Activated-Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MSK_EMR3 11 /* Shadow EMR3 Unmask */
-#define BITP_DMC_MSK_EMR2 10 /* Shadow EMR2 Unmask */
-#define BITP_DMC_MSK_EMR1 9 /* Shadow EMR1 Unmask */
-#define BITP_DMC_MSK_MR 8 /* Shadow MR Unmask */
-#define BITM_DMC_MSK_EMR3 (_ADI_MSK(0x00000800,uint32_t)) /* Shadow EMR3 Unmask */
-#define BITM_DMC_MSK_EMR2 (_ADI_MSK(0x00000400,uint32_t)) /* Shadow EMR2 Unmask */
-#define BITM_DMC_MSK_EMR1 (_ADI_MSK(0x00000200,uint32_t)) /* Shadow EMR1 Unmask */
-#define BITM_DMC_MSK_MR (_ADI_MSK(0x00000100,uint32_t)) /* Shadow MR Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MR_PD 12 /* Active Powerdown Mode */
-#define BITP_DMC_MR_WRRECOV 9 /* Write Recovery */
-#define BITP_DMC_MR_DLLRST 8 /* DLL Reset */
-#define BITP_DMC_MR_CL 4 /* CAS Latency */
-#define BITP_DMC_MR_BLEN 0 /* Burst Length */
-#define BITM_DMC_MR_PD (_ADI_MSK(0x00001000,uint32_t)) /* Active Powerdown Mode */
-#define BITM_DMC_MR_WRRECOV (_ADI_MSK(0x00000E00,uint32_t)) /* Write Recovery */
-#define BITM_DMC_MR_DLLRST (_ADI_MSK(0x00000100,uint32_t)) /* DLL Reset */
-
-#define BITM_DMC_MR_CL (_ADI_MSK(0x00000070,uint32_t)) /* CAS Latency */
-#define ENUM_DMC_MR_CL2 (_ADI_MSK(0x00000020,uint32_t)) /* CL: 2 clock cycle latency */
-#define ENUM_DMC_MR_CL3 (_ADI_MSK(0x00000030,uint32_t)) /* CL: 3 clock cycle latency */
-#define ENUM_DMC_MR_CL4 (_ADI_MSK(0x00000040,uint32_t)) /* CL: 4 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL5 (_ADI_MSK(0x00000050,uint32_t)) /* CL: 5 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL6 (_ADI_MSK(0x00000060,uint32_t)) /* CL: 6 clock cycle latency (DDR2) */
-
-#define BITM_DMC_MR_BLEN (_ADI_MSK(0x00000007,uint32_t)) /* Burst Length */
-#define ENUM_DMC_MR_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* BLEN: 4-Bit Burst Length */
-#define ENUM_DMC_MR_BLEN8 (_ADI_MSK(0x00000003,uint32_t)) /* BLEN: 8-Bit Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR1_QOFF 12 /* Output Buffer Enable */
-#define BITP_DMC_EMR1_DQS 10 /* DQS Enable */
-#define BITP_DMC_EMR1_RTT1 6 /* Termination Resistance 1 */
-#define BITP_DMC_EMR1_AL 3 /* Additive Latency */
-#define BITP_DMC_EMR1_RTT0 2 /* Termination Resistance 0. */
-#define BITP_DMC_EMR1_DIC 1 /* Output Driver Impedance Control */
-#define BITP_DMC_EMR1_DLLEN 0 /* DLL Enable */
-#define BITM_DMC_EMR1_QOFF (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Enable */
-#define BITM_DMC_EMR1_DQS (_ADI_MSK(0x00000400,uint32_t)) /* DQS Enable */
-
-#define BITM_DMC_EMR1_RTT1 (_ADI_MSK(0x00000040,uint32_t)) /* Termination Resistance 1 */
-#define ENUM_DMC_EMR1_RTT1_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT1: Disable RTT1 */
-#define ENUM_DMC_EMR1_RTT1_1 (_ADI_MSK(0x00000040,uint32_t)) /* RTT1: Enable RTT1 */
-#define BITM_DMC_EMR1_AL (_ADI_MSK(0x00000038,uint32_t)) /* Additive Latency */
-
-#define BITM_DMC_EMR1_RTT0 (_ADI_MSK(0x00000004,uint32_t)) /* Termination Resistance 0. */
-#define ENUM_DMC_EMR1_RTT0_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT0: Disable RTT0 */
-#define ENUM_DMC_EMR1_RTT0_1 (_ADI_MSK(0x00000004,uint32_t)) /* RTT0: Enable RTT0 */
-#define BITM_DMC_EMR1_DIC (_ADI_MSK(0x00000002,uint32_t)) /* Output Driver Impedance Control */
-#define BITM_DMC_EMR1_DLLEN (_ADI_MSK(0x00000001,uint32_t)) /* DLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR2_SRF 7 /* High Temp. Self Refresh */
-#define BITP_DMC_EMR2_DS 5 /* Drive Strength */
-#define BITP_DMC_EMR2_TCSR 3 /* Temp. Comp. Self Refresh */
-#define BITP_DMC_EMR2_PASR 0 /* Partial Array Self Refresh */
-#define BITM_DMC_EMR2_SRF (_ADI_MSK(0x00000080,uint32_t)) /* High Temp. Self Refresh */
-#define BITM_DMC_EMR2_DS (_ADI_MSK(0x00000060,uint32_t)) /* Drive Strength */
-#define BITM_DMC_EMR2_TCSR (_ADI_MSK(0x00000018,uint32_t)) /* Temp. Comp. Self Refresh */
-#define BITM_DMC_EMR2_PASR (_ADI_MSK(0x00000007,uint32_t)) /* Partial Array Self Refresh */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_DLLCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_DLLCTL_DATACYC 8 /* Data Cycles */
-#define BITP_DMC_DLLCTL_DLLCALRDCNT 0 /* DLL Calibration RD Count */
-
-#define BITM_DMC_DLLCTL_DATACYC (_ADI_MSK(0x00000F00,uint32_t)) /* Data Cycles */
-#define ENUM_DMC_DLLCTL_DATACYC2 (_ADI_MSK(0x00000200,uint32_t)) /* DATACYC: 2 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC3 (_ADI_MSK(0x00000300,uint32_t)) /* DATACYC: 3 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC4 (_ADI_MSK(0x00000400,uint32_t)) /* DATACYC: 4 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC5 (_ADI_MSK(0x00000500,uint32_t)) /* DATACYC: 5 Clock Cycles Latency */
-#define BITM_DMC_DLLCTL_DLLCALRDCNT (_ADI_MSK(0x000000FF,uint32_t)) /* DLL Calibration RD Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL1_CONTODTVAL 19 /* Select ODT value on controller */
-
-#define BITM_DMC_PHY_CTL1_CONTODTVAL (_ADI_MSK(0x00080000,uint32_t)) /* Select ODT value on controller */
-#define ENUM_DMC_PHY_CTL1_ODT_75 (_ADI_MSK(0x00000000,uint32_t)) /* CONTODTVAL: 75 Ohms Termination */
-#define ENUM_DMC_PHY_CTL1_ODT_150 (_ADI_MSK(0x00080000,uint32_t)) /* CONTODTVAL: 150 Ohms Termination */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL3_OFST1 26 /* Offset Parameter 1 */
-#define BITP_DMC_PHY_CTL3_OFST0 24 /* Offset Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQS 10 /* Enables controller ODT on read of DQS */
-#define BITP_DMC_PHY_CTL3_TMG1 7 /* Timing Parameter 1 */
-#define BITP_DMC_PHY_CTL3_TMG0 6 /* Timing Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQ 2 /* Enables controller ODT on read of DQ */
-#define BITM_DMC_PHY_CTL3_OFST1 (_ADI_MSK(0x04000000,uint32_t)) /* Offset Parameter 1 */
-#define BITM_DMC_PHY_CTL3_OFST0 (_ADI_MSK(0x01000000,uint32_t)) /* Offset Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQS (_ADI_MSK(0x00000400,uint32_t)) /* Enables controller ODT on read of DQS */
-#define BITM_DMC_PHY_CTL3_TMG1 (_ADI_MSK(0x00000080,uint32_t)) /* Timing Parameter 1 */
-#define BITM_DMC_PHY_CTL3_TMG0 (_ADI_MSK(0x00000040,uint32_t)) /* Timing Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQ (_ADI_MSK(0x00000004,uint32_t)) /* Enables controller ODT on read of DQ */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PADCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PADCTL_CKEOE 19 /* CKE Output Enable */
-#define BITP_DMC_PADCTL_CKEPWD 18 /* CKE pad receiver power down. */
-#define BITP_DMC_PADCTL_CKEODS 16 /* CKE Output Drive Strength */
-#define BITP_DMC_PADCTL_CMDOE 15 /* CMD Output Enable */
-#define BITP_DMC_PADCTL_CMDPWD 14 /* CMD Powerdown */
-#define BITP_DMC_PADCTL_CMDODS 12 /* CMD Output Drive Strength */
-#define BITP_DMC_PADCTL_CLKOE 11 /* CLK Output Enable */
-#define BITP_DMC_PADCTL_CLKPWD 10 /* CLK Powerdown */
-#define BITP_DMC_PADCTL_CLKODS 8 /* Clock Output Drive Strength */
-#define BITP_DMC_PADCTL_DQSPWD 6 /* DQ/DQS Powerdown */
-#define BITP_DMC_PADCTL_DQSODS 4 /* DQS Output Drive Strength */
-#define BITP_DMC_PADCTL_DQPWD 2 /* DQ Powerdown. */
-#define BITP_DMC_PADCTL_DQODS 0 /* DQ Output Drive Strength */
-#define BITM_DMC_PADCTL_CKEOE (_ADI_MSK(0x00080000,uint32_t)) /* CKE Output Enable */
-#define BITM_DMC_PADCTL_CKEPWD (_ADI_MSK(0x00040000,uint32_t)) /* CKE pad receiver power down. */
-#define BITM_DMC_PADCTL_CKEODS (_ADI_MSK(0x00030000,uint32_t)) /* CKE Output Drive Strength */
-#define BITM_DMC_PADCTL_CMDOE (_ADI_MSK(0x00008000,uint32_t)) /* CMD Output Enable */
-#define BITM_DMC_PADCTL_CMDPWD (_ADI_MSK(0x00004000,uint32_t)) /* CMD Powerdown */
-#define BITM_DMC_PADCTL_CMDODS (_ADI_MSK(0x00003000,uint32_t)) /* CMD Output Drive Strength */
-#define BITM_DMC_PADCTL_CLKOE (_ADI_MSK(0x00000800,uint32_t)) /* CLK Output Enable */
-#define BITM_DMC_PADCTL_CLKPWD (_ADI_MSK(0x00000400,uint32_t)) /* CLK Powerdown */
-#define BITM_DMC_PADCTL_CLKODS (_ADI_MSK(0x00000300,uint32_t)) /* Clock Output Drive Strength */
-#define BITM_DMC_PADCTL_DQSPWD (_ADI_MSK(0x00000040,uint32_t)) /* DQ/DQS Powerdown */
-#define BITM_DMC_PADCTL_DQSODS (_ADI_MSK(0x00000030,uint32_t)) /* DQS Output Drive Strength */
-#define BITM_DMC_PADCTL_DQPWD (_ADI_MSK(0x00000004,uint32_t)) /* DQ Powerdown. */
-#define BITM_DMC_PADCTL_DQODS (_ADI_MSK(0x00000003,uint32_t)) /* DQ Output Drive Strength */
-
-/* ==================================================
- System Cross Bar Registers
- ================================================== */
-
-/* =========================
- SCB0
- ========================= */
-#define REG_SCB0_ARBR0 0xFFCA2408 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR1 0xFFCA2428 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR2 0xFFCA2448 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR3 0xFFCA2468 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR4 0xFFCA2488 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR5 0xFFCA24A8 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBW0 0xFFCA240C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW1 0xFFCA242C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW2 0xFFCA244C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW3 0xFFCA246C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW4 0xFFCA248C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW5 0xFFCA24AC /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_SLAVES 0xFFCA2FC0 /* SCB0 Slave Interfaces Number Register */
-#define REG_SCB0_MASTERS 0xFFCA2FC4 /* SCB0 Master Interfaces Number Register */
-
-/* =========================
- SCB1
- ========================= */
-#define REG_SCB1_ARBR0 0xFFC42408 /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB1_ARBW0 0xFFC4240C /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB1_SLAVES 0xFFC42FC0 /* SCB1 Slave Interfaces Number Register */
-#define REG_SCB1_MASTERS 0xFFC42FC4 /* SCB1 Master Interfaces Number Register */
-
-/* =========================
- SCB2
- ========================= */
-#define REG_SCB2_ARBR0 0xFFC06408 /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB2_ARBW0 0xFFC0640C /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB2_SLAVES 0xFFC06FC0 /* SCB2 Slave Interfaces Number Register */
-#define REG_SCB2_MASTERS 0xFFC06FC4 /* SCB2 Master Interfaces Number Register */
-
-/* =========================
- SCB3
- ========================= */
-#define REG_SCB3_ARBR0 0xFFC08408 /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB3_ARBW0 0xFFC0840C /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB3_SLAVES 0xFFC08FC0 /* SCB3 Slave Interfaces Number Register */
-#define REG_SCB3_MASTERS 0xFFC08FC4 /* SCB3 Master Interfaces Number Register */
-
-/* =========================
- SCB4
- ========================= */
-#define REG_SCB4_ARBR0 0xFFC0A408 /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB4_ARBW0 0xFFC0A40C /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB4_SLAVES 0xFFC0AFC0 /* SCB4 Slave Interfaces Number Register */
-#define REG_SCB4_MASTERS 0xFFC0AFC4 /* SCB4 Master Interfaces Number Register */
-
-/* =========================
- SCB5
- ========================= */
-#define REG_SCB5_ARBR0 0xFFC0C408 /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB5_ARBW0 0xFFC0C40C /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB5_SLAVES 0xFFC0CFC0 /* SCB5 Slave Interfaces Number Register */
-#define REG_SCB5_MASTERS 0xFFC0CFC4 /* SCB5 Master Interfaces Number Register */
-
-/* =========================
- SCB6
- ========================= */
-#define REG_SCB6_ARBR0 0xFFC0E408 /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB6_ARBW0 0xFFC0E40C /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB6_SLAVES 0xFFC0EFC0 /* SCB6 Slave Interfaces Number Register */
-#define REG_SCB6_MASTERS 0xFFC0EFC4 /* SCB6 Master Interfaces Number Register */
-
-/* =========================
- SCB7
- ========================= */
-#define REG_SCB7_ARBR0 0xFFC11408 /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB7_ARBW0 0xFFC1140C /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB7_SLAVES 0xFFC11FC0 /* SCB7 Slave Interfaces Number Register */
-#define REG_SCB7_MASTERS 0xFFC11FC4 /* SCB7 Master Interfaces Number Register */
-
-/* =========================
- SCB8
- ========================= */
-#define REG_SCB8_ARBR0 0xFFC13408 /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB8_ARBW0 0xFFC1340C /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB8_SLAVES 0xFFC13FC0 /* SCB8 Slave Interfaces Number Register */
-#define REG_SCB8_MASTERS 0xFFC13FC4 /* SCB8 Master Interfaces Number Register */
-
-/* =========================
- SCB9
- ========================= */
-#define REG_SCB9_ARBR0 0xFFC15408 /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB9_ARBW0 0xFFC1540C /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB9_SLAVES 0xFFC15FC0 /* SCB9 Slave Interfaces Number Register */
-#define REG_SCB9_MASTERS 0xFFC15FC4 /* SCB9 Master Interfaces Number Register */
-
-/* =========================
- SCB10
- ========================= */
-#define REG_SCB10_ARBR0 0xFFCA1408 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR1 0xFFCA1428 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR2 0xFFCA1448 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBW0 0xFFCA140C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW1 0xFFCA142C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW2 0xFFCA144C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_SLAVES 0xFFCA1FC0 /* SCB10 Slave Interfaces Number Register */
-#define REG_SCB10_MASTERS 0xFFCA1FC4 /* SCB10 Master Interfaces Number Register */
-
-/* =========================
- SCB11
- ========================= */
-#define REG_SCB11_ARBR0 0xFFCA0408 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR1 0xFFCA0428 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR2 0xFFCA0448 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR3 0xFFCA0468 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR4 0xFFCA0488 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR5 0xFFCA04A8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR6 0xFFCA04C8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBW0 0xFFCA040C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW1 0xFFCA042C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW2 0xFFCA044C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW3 0xFFCA046C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW4 0xFFCA048C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW5 0xFFCA04AC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW6 0xFFCA04CC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_SLAVES 0xFFCA0FC0 /* SCB11 Slave Interfaces Number Register */
-#define REG_SCB11_MASTERS 0xFFCA0FC4 /* SCB11 Master Interfaces Number Register */
-
-/* =========================
- SCB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBR_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBR_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBR_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBR_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBW Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBW_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBW_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBW_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBW_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_SLAVES Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_SLAVES_SI 0 /* Slave Interface Value */
-#define BITM_SCB_SLAVES_SI (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_MASTERS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_MASTERS_MI 0 /* Master Interface Value */
-#define BITM_SCB_MASTERS_MI (_ADI_MSK(0x000000FF,uint32_t)) /* Master Interface Value */
-
-/* ==================================================
- L2 Memory Controller Registers
- ================================================== */
-
-/* =========================
- L2CTL0
- ========================= */
-#define REG_L2CTL0_CTL 0xFFCA3000 /* L2CTL0 Control Register */
-#define REG_L2CTL0_ACTL_C0 0xFFCA3004 /* L2CTL0 Access Control Core 0 Register */
-#define REG_L2CTL0_ACTL_C1 0xFFCA3008 /* L2CTL0 Access Control Core 1 Register */
-#define REG_L2CTL0_ACTL_SYS 0xFFCA300C /* L2CTL0 Access Control System Register */
-#define REG_L2CTL0_STAT 0xFFCA3010 /* L2CTL0 Status Register */
-#define REG_L2CTL0_RPCR 0xFFCA3014 /* L2CTL0 Read Priority Count Register */
-#define REG_L2CTL0_WPCR 0xFFCA3018 /* L2CTL0 Write Priority Count Register */
-#define REG_L2CTL0_RFA 0xFFCA3024 /* L2CTL0 Refresh Address Register */
-#define REG_L2CTL0_ERRADDR0 0xFFCA3040 /* L2CTL0 ECC Error Address 0 Register */
-#define REG_L2CTL0_ERRADDR1 0xFFCA3044 /* L2CTL0 ECC Error Address 1 Register */
-#define REG_L2CTL0_ERRADDR2 0xFFCA3048 /* L2CTL0 ECC Error Address 2 Register */
-#define REG_L2CTL0_ERRADDR3 0xFFCA304C /* L2CTL0 ECC Error Address 3 Register */
-#define REG_L2CTL0_ERRADDR4 0xFFCA3050 /* L2CTL0 ECC Error Address 4 Register */
-#define REG_L2CTL0_ERRADDR5 0xFFCA3054 /* L2CTL0 ECC Error Address 5 Register */
-#define REG_L2CTL0_ERRADDR6 0xFFCA3058 /* L2CTL0 ECC Error Address 6 Register */
-#define REG_L2CTL0_ERRADDR7 0xFFCA305C /* L2CTL0 ECC Error Address 7 Register */
-#define REG_L2CTL0_ET0 0xFFCA3080 /* L2CTL0 Error Type 0 Register */
-#define REG_L2CTL0_EADDR0 0xFFCA3084 /* L2CTL0 Error Type 0 Address Register */
-#define REG_L2CTL0_ET1 0xFFCA3088 /* L2CTL0 Error Type 1 Register */
-#define REG_L2CTL0_EADDR1 0xFFCA308C /* L2CTL0 Error Type 1 Address Register */
-
-/* =========================
- L2CTL
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_CTL_LOCK 31 /* Lock */
-#define BITP_L2CTL_CTL_DISURP 16 /* Disable Urgent Request Priority */
-#define BITP_L2CTL_CTL_ECCMAP7 15 /* ECC Map Bank 7 */
-#define BITP_L2CTL_CTL_ECCMAP6 14 /* ECC Map Bank 6 */
-#define BITP_L2CTL_CTL_ECCMAP5 13 /* ECC Map Bank 5 */
-#define BITP_L2CTL_CTL_ECCMAP4 12 /* ECC Map Bank 4 */
-#define BITP_L2CTL_CTL_ECCMAP3 11 /* ECC Map Bank 3 */
-#define BITP_L2CTL_CTL_ECCMAP2 10 /* ECC Map Bank 2 */
-#define BITP_L2CTL_CTL_ECCMAP1 9 /* ECC Map Bank 1 */
-#define BITP_L2CTL_CTL_ECCMAP0 8 /* ECC Map Bank 0 */
-#define BITP_L2CTL_CTL_BK7EDIS 7 /* Bank 7 ECC Disable */
-#define BITP_L2CTL_CTL_BK6EDIS 6 /* Bank 6 ECC Disable */
-#define BITP_L2CTL_CTL_BK5EDIS 5 /* Bank 5 ECC Disable */
-#define BITP_L2CTL_CTL_BK4EDIS 4 /* Bank 4 ECC Disable */
-#define BITP_L2CTL_CTL_BK3EDIS 3 /* Bank 3 ECC Disable */
-#define BITP_L2CTL_CTL_BK2EDIS 2 /* Bank 2 ECC Disable */
-#define BITP_L2CTL_CTL_BK1EDIS 1 /* Bank 1 ECC Disable */
-#define BITP_L2CTL_CTL_BK0EDIS 0 /* Bank 0 ECC Disable */
-#define BITM_L2CTL_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_CTL_DISURP (_ADI_MSK(0x00010000,uint32_t)) /* Disable Urgent Request Priority */
-#define BITM_L2CTL_CTL_ECCMAP7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Map Bank 7 */
-#define BITM_L2CTL_CTL_ECCMAP6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Map Bank 6 */
-#define BITM_L2CTL_CTL_ECCMAP5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Map Bank 5 */
-#define BITM_L2CTL_CTL_ECCMAP4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Map Bank 4 */
-#define BITM_L2CTL_CTL_ECCMAP3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Map Bank 3 */
-#define BITM_L2CTL_CTL_ECCMAP2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Map Bank 2 */
-#define BITM_L2CTL_CTL_ECCMAP1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Map Bank 1 */
-#define BITM_L2CTL_CTL_ECCMAP0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Map Bank 0 */
-#define BITM_L2CTL_CTL_BK7EDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 ECC Disable */
-#define BITM_L2CTL_CTL_BK6EDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 ECC Disable */
-#define BITM_L2CTL_CTL_BK5EDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 ECC Disable */
-#define BITM_L2CTL_CTL_BK4EDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 ECC Disable */
-#define BITM_L2CTL_CTL_BK3EDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 ECC Disable */
-#define BITM_L2CTL_CTL_BK2EDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 ECC Disable */
-#define BITM_L2CTL_CTL_BK1EDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 ECC Disable */
-#define BITM_L2CTL_CTL_BK0EDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 ECC Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C0_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C0_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C0_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C0_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C1_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C1_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C1_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C1_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_SYS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_SYS_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_SYS_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_SYS_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_STAT_ECCERR7 15 /* ECC Error Bank 7 */
-#define BITP_L2CTL_STAT_ECCERR6 14 /* ECC Error Bank 6 */
-#define BITP_L2CTL_STAT_ECCERR5 13 /* ECC Error Bank 5 */
-#define BITP_L2CTL_STAT_ECCERR4 12 /* ECC Error Bank 4 */
-#define BITP_L2CTL_STAT_ECCERR3 11 /* ECC Error Bank 3 */
-#define BITP_L2CTL_STAT_ECCERR2 10 /* ECC Error Bank 2 */
-#define BITP_L2CTL_STAT_ECCERR1 9 /* ECC Error Bank 1 */
-#define BITP_L2CTL_STAT_ECCERR0 8 /* ECC Error Bank 0 */
-#define BITP_L2CTL_STAT_RFRS 4 /* Refresh Register Status */
-#define BITP_L2CTL_STAT_ERR1 1 /* Error Port 1 */
-#define BITP_L2CTL_STAT_ERR0 0 /* Error Port 0 */
-#define BITM_L2CTL_STAT_ECCERR7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Error Bank 7 */
-#define BITM_L2CTL_STAT_ECCERR6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Error Bank 6 */
-#define BITM_L2CTL_STAT_ECCERR5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Error Bank 5 */
-#define BITM_L2CTL_STAT_ECCERR4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Error Bank 4 */
-#define BITM_L2CTL_STAT_ECCERR3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Error Bank 3 */
-#define BITM_L2CTL_STAT_ECCERR2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Error Bank 2 */
-#define BITM_L2CTL_STAT_ECCERR1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Error Bank 1 */
-#define BITM_L2CTL_STAT_ECCERR0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Error Bank 0 */
-#define BITM_L2CTL_STAT_RFRS (_ADI_MSK(0x00000010,uint32_t)) /* Refresh Register Status */
-#define BITM_L2CTL_STAT_ERR1 (_ADI_MSK(0x00000002,uint32_t)) /* Error Port 1 */
-#define BITM_L2CTL_STAT_ERR0 (_ADI_MSK(0x00000001,uint32_t)) /* Error Port 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RPCR_RPC1 8 /* Read Priority Count 1 */
-#define BITP_L2CTL_RPCR_RPC0 0 /* Read Priority Count 0 */
-#define BITM_L2CTL_RPCR_RPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Read Priority Count 1 */
-#define BITM_L2CTL_RPCR_RPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Read Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_WPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_WPCR_WPC1 8 /* Write Priority Count 1 */
-#define BITP_L2CTL_WPCR_WPC0 0 /* Write Priority Count 0 */
-#define BITM_L2CTL_WPCR_WPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Write Priority Count 1 */
-#define BITM_L2CTL_WPCR_WPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Write Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RFA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RFA_ADDRHI 16 /* Address High */
-#define BITP_L2CTL_RFA_ADDRLO 0 /* Address Low */
-#define BITM_L2CTL_RFA_ADDRHI (_ADI_MSK(0xFFFF0000,uint32_t)) /* Address High */
-#define BITM_L2CTL_RFA_ADDRLO (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address Low */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET0_ID 8 /* Error ID */
-#define BITP_L2CTL_ET0_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET0_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET0_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET0_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET0_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET0_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET0_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET0_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET0_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET0_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET0_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET1_ID 8 /* Error ID */
-#define BITP_L2CTL_ET1_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET1_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET1_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET1_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET1_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET1_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET1_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET1_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET1_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET1_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET1_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ==================================================
- System Event Controller Registers
- ================================================== */
-
-/* =========================
- SEC0
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Core Interface (SCI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_CCTL0 0xFFCA4400 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CCTL1 0xFFCA4440 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CSTAT0 0xFFCA4404 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CSTAT1 0xFFCA4444 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CPND0 0xFFCA4408 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CPND1 0xFFCA4448 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CACT0 0xFFCA440C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CACT1 0xFFCA444C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CPMSK0 0xFFCA4410 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CPMSK1 0xFFCA4450 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CGMSK0 0xFFCA4414 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CGMSK1 0xFFCA4454 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CPLVL0 0xFFCA4418 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CPLVL1 0xFFCA4458 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CSID0 0xFFCA441C /* SEC0 SCI Source ID Register n */
-#define REG_SEC0_CSID1 0xFFCA445C /* SEC0 SCI Source ID Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Fault Management Interface (SFI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_FCTL 0xFFCA4010 /* SEC0 Fault Control Register */
-#define REG_SEC0_FSTAT 0xFFCA4014 /* SEC0 Fault Status Register */
-#define REG_SEC0_FSID 0xFFCA4018 /* SEC0 Fault Source ID Register */
-#define REG_SEC0_FEND 0xFFCA401C /* SEC0 Fault End Register */
-#define REG_SEC0_FDLY 0xFFCA4020 /* SEC0 Fault Delay Register */
-#define REG_SEC0_FDLY_CUR 0xFFCA4024 /* SEC0 Fault Delay Current Register */
-#define REG_SEC0_FSRDLY 0xFFCA4028 /* SEC0 Fault System Reset Delay Register */
-#define REG_SEC0_FSRDLY_CUR 0xFFCA402C /* SEC0 Fault System Reset Delay Current Register */
-#define REG_SEC0_FCOPP 0xFFCA4030 /* SEC0 Fault COP Period Register */
-#define REG_SEC0_FCOPP_CUR 0xFFCA4034 /* SEC0 Fault COP Period Current Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Global Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_GCTL 0xFFCA4000 /* SEC0 Global Control Register */
-#define REG_SEC0_GSTAT 0xFFCA4004 /* SEC0 Global Status Register */
-#define REG_SEC0_RAISE 0xFFCA4008 /* SEC0 Global Raise Register */
-#define REG_SEC0_END 0xFFCA400C /* SEC0 Global End Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Source Interface (SSI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_SCTL0 0xFFCA4800 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL1 0xFFCA4808 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL2 0xFFCA4810 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL3 0xFFCA4818 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL4 0xFFCA4820 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL5 0xFFCA4828 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL6 0xFFCA4830 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL7 0xFFCA4838 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL8 0xFFCA4840 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL9 0xFFCA4848 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL10 0xFFCA4850 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL11 0xFFCA4858 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL12 0xFFCA4860 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL13 0xFFCA4868 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL14 0xFFCA4870 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL15 0xFFCA4878 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL16 0xFFCA4880 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL17 0xFFCA4888 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL18 0xFFCA4890 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL19 0xFFCA4898 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL20 0xFFCA48A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL21 0xFFCA48A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL22 0xFFCA48B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL23 0xFFCA48B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL24 0xFFCA48C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL25 0xFFCA48C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL26 0xFFCA48D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL27 0xFFCA48D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL28 0xFFCA48E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL29 0xFFCA48E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL30 0xFFCA48F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL31 0xFFCA48F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL32 0xFFCA4900 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL33 0xFFCA4908 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL34 0xFFCA4910 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL35 0xFFCA4918 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL36 0xFFCA4920 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL37 0xFFCA4928 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL38 0xFFCA4930 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL39 0xFFCA4938 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL40 0xFFCA4940 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL41 0xFFCA4948 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL42 0xFFCA4950 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL43 0xFFCA4958 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL44 0xFFCA4960 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL45 0xFFCA4968 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL46 0xFFCA4970 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL47 0xFFCA4978 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL48 0xFFCA4980 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL49 0xFFCA4988 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL50 0xFFCA4990 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL51 0xFFCA4998 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL52 0xFFCA49A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL53 0xFFCA49A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL54 0xFFCA49B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL55 0xFFCA49B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL56 0xFFCA49C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL57 0xFFCA49C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL58 0xFFCA49D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL59 0xFFCA49D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL60 0xFFCA49E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL61 0xFFCA49E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL62 0xFFCA49F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL63 0xFFCA49F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL64 0xFFCA4A00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL65 0xFFCA4A08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL66 0xFFCA4A10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL67 0xFFCA4A18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL68 0xFFCA4A20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL69 0xFFCA4A28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL70 0xFFCA4A30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL71 0xFFCA4A38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL72 0xFFCA4A40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL73 0xFFCA4A48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL74 0xFFCA4A50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL75 0xFFCA4A58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL76 0xFFCA4A60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL77 0xFFCA4A68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL78 0xFFCA4A70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL79 0xFFCA4A78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL80 0xFFCA4A80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL81 0xFFCA4A88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL82 0xFFCA4A90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL83 0xFFCA4A98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL84 0xFFCA4AA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL85 0xFFCA4AA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL86 0xFFCA4AB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL87 0xFFCA4AB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL88 0xFFCA4AC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL89 0xFFCA4AC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL90 0xFFCA4AD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL91 0xFFCA4AD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL92 0xFFCA4AE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL93 0xFFCA4AE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL94 0xFFCA4AF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL95 0xFFCA4AF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL96 0xFFCA4B00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL97 0xFFCA4B08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL98 0xFFCA4B10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL99 0xFFCA4B18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL100 0xFFCA4B20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL101 0xFFCA4B28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL102 0xFFCA4B30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL103 0xFFCA4B38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL104 0xFFCA4B40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL105 0xFFCA4B48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL106 0xFFCA4B50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL107 0xFFCA4B58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL108 0xFFCA4B60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL109 0xFFCA4B68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL110 0xFFCA4B70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL111 0xFFCA4B78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL112 0xFFCA4B80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL113 0xFFCA4B88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL114 0xFFCA4B90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL115 0xFFCA4B98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL116 0xFFCA4BA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL117 0xFFCA4BA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL118 0xFFCA4BB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL119 0xFFCA4BB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL120 0xFFCA4BC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL121 0xFFCA4BC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL122 0xFFCA4BD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL123 0xFFCA4BD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL124 0xFFCA4BE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL125 0xFFCA4BE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL126 0xFFCA4BF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL127 0xFFCA4BF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL128 0xFFCA4C00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL129 0xFFCA4C08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL130 0xFFCA4C10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL131 0xFFCA4C18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL132 0xFFCA4C20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL133 0xFFCA4C28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL134 0xFFCA4C30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL135 0xFFCA4C38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL136 0xFFCA4C40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL137 0xFFCA4C48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL138 0xFFCA4C50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL139 0xFFCA4C58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SSTAT0 0xFFCA4804 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT1 0xFFCA480C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT2 0xFFCA4814 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT3 0xFFCA481C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT4 0xFFCA4824 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT5 0xFFCA482C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT6 0xFFCA4834 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT7 0xFFCA483C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT8 0xFFCA4844 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT9 0xFFCA484C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT10 0xFFCA4854 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT11 0xFFCA485C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT12 0xFFCA4864 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT13 0xFFCA486C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT14 0xFFCA4874 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT15 0xFFCA487C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT16 0xFFCA4884 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT17 0xFFCA488C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT18 0xFFCA4894 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT19 0xFFCA489C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT20 0xFFCA48A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT21 0xFFCA48AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT22 0xFFCA48B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT23 0xFFCA48BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT24 0xFFCA48C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT25 0xFFCA48CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT26 0xFFCA48D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT27 0xFFCA48DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT28 0xFFCA48E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT29 0xFFCA48EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT30 0xFFCA48F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT31 0xFFCA48FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT32 0xFFCA4904 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT33 0xFFCA490C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT34 0xFFCA4914 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT35 0xFFCA491C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT36 0xFFCA4924 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT37 0xFFCA492C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT38 0xFFCA4934 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT39 0xFFCA493C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT40 0xFFCA4944 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT41 0xFFCA494C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT42 0xFFCA4954 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT43 0xFFCA495C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT44 0xFFCA4964 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT45 0xFFCA496C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT46 0xFFCA4974 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT47 0xFFCA497C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT48 0xFFCA4984 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT49 0xFFCA498C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT50 0xFFCA4994 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT51 0xFFCA499C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT52 0xFFCA49A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT53 0xFFCA49AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT54 0xFFCA49B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT55 0xFFCA49BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT56 0xFFCA49C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT57 0xFFCA49CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT58 0xFFCA49D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT59 0xFFCA49DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT60 0xFFCA49E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT61 0xFFCA49EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT62 0xFFCA49F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT63 0xFFCA49FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT64 0xFFCA4A04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT65 0xFFCA4A0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT66 0xFFCA4A14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT67 0xFFCA4A1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT68 0xFFCA4A24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT69 0xFFCA4A2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT70 0xFFCA4A34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT71 0xFFCA4A3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT72 0xFFCA4A44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT73 0xFFCA4A4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT74 0xFFCA4A54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT75 0xFFCA4A5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT76 0xFFCA4A64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT77 0xFFCA4A6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT78 0xFFCA4A74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT79 0xFFCA4A7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT80 0xFFCA4A84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT81 0xFFCA4A8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT82 0xFFCA4A94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT83 0xFFCA4A9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT84 0xFFCA4AA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT85 0xFFCA4AAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT86 0xFFCA4AB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT87 0xFFCA4ABC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT88 0xFFCA4AC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT89 0xFFCA4ACC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT90 0xFFCA4AD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT91 0xFFCA4ADC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT92 0xFFCA4AE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT93 0xFFCA4AEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT94 0xFFCA4AF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT95 0xFFCA4AFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT96 0xFFCA4B04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT97 0xFFCA4B0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT98 0xFFCA4B14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT99 0xFFCA4B1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT100 0xFFCA4B24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT101 0xFFCA4B2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT102 0xFFCA4B34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT103 0xFFCA4B3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT104 0xFFCA4B44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT105 0xFFCA4B4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT106 0xFFCA4B54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT107 0xFFCA4B5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT108 0xFFCA4B64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT109 0xFFCA4B6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT110 0xFFCA4B74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT111 0xFFCA4B7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT112 0xFFCA4B84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT113 0xFFCA4B8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT114 0xFFCA4B94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT115 0xFFCA4B9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT116 0xFFCA4BA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT117 0xFFCA4BAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT118 0xFFCA4BB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT119 0xFFCA4BBC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT120 0xFFCA4BC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT121 0xFFCA4BCC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT122 0xFFCA4BD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT123 0xFFCA4BDC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT124 0xFFCA4BE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT125 0xFFCA4BEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT126 0xFFCA4BF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT127 0xFFCA4BFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT128 0xFFCA4C04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT129 0xFFCA4C0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT130 0xFFCA4C14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT131 0xFFCA4C1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT132 0xFFCA4C24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT133 0xFFCA4C2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT134 0xFFCA4C34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT135 0xFFCA4C3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT136 0xFFCA4C44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT137 0xFFCA4C4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT138 0xFFCA4C54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT139 0xFFCA4C5C /* SEC0 Source Status Register n */
-
-/* =========================
- SEC
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CCTL_LOCK 31 /* Lock */
-#define BITP_SEC_CCTL_NMIEN 16 /* NMI Enable */
-#define BITP_SEC_CCTL_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CCTL_RESET 1 /* Reset */
-#define BITP_SEC_CCTL_EN 0 /* Enable */
-
-#define BITM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CCTL_NMIEN (_ADI_MSK(0x00010000,uint32_t)) /* NMI Enable */
-#define ENUM_SEC_CCTL_NMI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* NMIEN: Disable */
-#define ENUM_SEC_CCTL_NMI_EN (_ADI_MSK(0x00010000,uint32_t)) /* NMIEN: Enable */
-
-#define BITM_SEC_CCTL_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CCTL_NO_WAITIDLE (_ADI_MSK(0x00000000,uint32_t)) /* WFI: No Action */
-#define ENUM_SEC_CCTL_WAITIDLE (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Wait for Idle */
-
-#define BITM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_CCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_CCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSTAT_NMI 16 /* NMI */
-#define BITP_SEC_CSTAT_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CSTAT_SIDV 10 /* SID Valid */
-#define BITP_SEC_CSTAT_ACTV 9 /* ACT Valid */
-#define BITP_SEC_CSTAT_PNDV 8 /* PND Valid */
-#define BITP_SEC_CSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_CSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI */
-#define ENUM_SEC_CSTAT_NO_NMI (_ADI_MSK(0x00000000,uint32_t)) /* NMI: No NMI Occured */
-#define ENUM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI: NMI Occurred */
-
-#define BITM_SEC_CSTAT_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CSTAT_NOT_WAITING (_ADI_MSK(0x00000000,uint32_t)) /* WFI: Not Waiting */
-#define ENUM_SEC_CSTAT_WAITING (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Waiting */
-
-#define BITM_SEC_CSTAT_SIDV (_ADI_MSK(0x00000400,uint32_t)) /* SID Valid */
-#define ENUM_SEC_CSTAT_INVALID_SID (_ADI_MSK(0x00000000,uint32_t)) /* SIDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_SID (_ADI_MSK(0x00000400,uint32_t)) /* SIDV: Valid */
-
-#define BITM_SEC_CSTAT_ACTV (_ADI_MSK(0x00000200,uint32_t)) /* ACT Valid */
-#define ENUM_SEC_CSTAT_INVALID_ACT (_ADI_MSK(0x00000000,uint32_t)) /* ACTV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_ACT (_ADI_MSK(0x00000200,uint32_t)) /* ACTV: Valid */
-
-#define BITM_SEC_CSTAT_PNDV (_ADI_MSK(0x00000100,uint32_t)) /* PND Valid */
-#define ENUM_SEC_CSTAT_INVALID_PND (_ADI_MSK(0x00000000,uint32_t)) /* PNDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_PND (_ADI_MSK(0x00000100,uint32_t)) /* PNDV: Valid */
-
-#define BITM_SEC_CSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_CSTAT_ACKERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Acknowledge Error */
-
-#define BITM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_CSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPND_PRIO 8 /* Highest Pending IRQ Priority */
-#define BITP_SEC_CPND_SID 0 /* Highest Pending IRQ Source ID */
-#define BITM_SEC_CPND_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Pending IRQ Priority */
-#define BITM_SEC_CPND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Pending IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CACT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CACT_PRIO 8 /* Highest Active IRQ Priority */
-#define BITP_SEC_CACT_SID 0 /* Highest Active IRQ Source ID */
-#define BITM_SEC_CACT_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Active IRQ Priority */
-#define BITM_SEC_CACT_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Active IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CPMSK_PRIO 0 /* IRQ Priority Mask */
-
-#define BITM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPMSK_PRIO (_ADI_MSK(0x000000FF,uint32_t)) /* IRQ Priority Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CGMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CGMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CGMSK_UGRP 8 /* Ungrouped Mask */
-#define BITP_SEC_CGMSK_GRP 0 /* Grouped Mask */
-
-#define BITM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CGMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CGMSK_UGRP (_ADI_MSK(0x00000100,uint32_t)) /* Ungrouped Mask */
-#define ENUM_SEC_CGMSK_UNMASK (_ADI_MSK(0x00000000,uint32_t)) /* UGRP: Unmask Ungrouped Sources */
-#define ENUM_SEC_CGMSK_MASK (_ADI_MSK(0x00000100,uint32_t)) /* UGRP: Mask Ungrouped Sources */
-#define BITM_SEC_CGMSK_GRP (_ADI_MSK(0x0000000F,uint32_t)) /* Grouped Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPLVL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPLVL_LOCK 31 /* Lock */
-#define BITP_SEC_CPLVL_PLVL 0 /* Priority Levels */
-
-#define BITM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPLVL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPLVL_PLVL (_ADI_MSK(0x00000007,uint32_t)) /* Priority Levels */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSID_SID 0 /* Source ID */
-#define BITM_SEC_CSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FCTL_LOCK 31 /* Lock */
-#define BITP_SEC_FCTL_TES 13 /* Trigger Event Select */
-#define BITP_SEC_FCTL_CMS 12 /* COP Mode Select */
-#define BITP_SEC_FCTL_FIEN 7 /* Fault Input Enable */
-#define BITP_SEC_FCTL_SREN 6 /* System Reset Enable */
-#define BITP_SEC_FCTL_TOEN 5 /* Trigger Output Enable */
-#define BITP_SEC_FCTL_FOEN 4 /* Fault Output Enable */
-#define BITP_SEC_FCTL_RESET 1 /* Reset */
-#define BITP_SEC_FCTL_EN 0 /* Enable */
-
-#define BITM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_FCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: UnLock */
-#define ENUM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_FCTL_TES (_ADI_MSK(0x00002000,uint32_t)) /* Trigger Event Select */
-#define ENUM_SEC_FCTL_FLTACT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* TES: Fault Active Mode */
-#define ENUM_SEC_FCTL_FLTPND_MODE (_ADI_MSK(0x00002000,uint32_t)) /* TES: Fault Pending Mode */
-
-#define BITM_SEC_FCTL_CMS (_ADI_MSK(0x00001000,uint32_t)) /* COP Mode Select */
-#define ENUM_SEC_FCTL_FLT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* CMS: Fault Mode */
-#define ENUM_SEC_FCTL_COP_MODE (_ADI_MSK(0x00001000,uint32_t)) /* CMS: COP Mode */
-
-#define BITM_SEC_FCTL_FIEN (_ADI_MSK(0x00000080,uint32_t)) /* Fault Input Enable */
-#define ENUM_SEC_FCTL_FLTIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FIEN: Disable */
-#define ENUM_SEC_FCTL_FLTIN_EN (_ADI_MSK(0x00000080,uint32_t)) /* FIEN: Enable */
-
-#define BITM_SEC_FCTL_SREN (_ADI_MSK(0x00000040,uint32_t)) /* System Reset Enable */
-#define ENUM_SEC_FCTL_SYSRST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SREN: Disable */
-#define ENUM_SEC_FCTL_SYSRST_EN (_ADI_MSK(0x00000040,uint32_t)) /* SREN: Enable */
-
-#define BITM_SEC_FCTL_TOEN (_ADI_MSK(0x00000020,uint32_t)) /* Trigger Output Enable */
-#define ENUM_SEC_FCTL_TRGOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOEN: Disable */
-#define ENUM_SEC_FCTL_TRGOUT_EN (_ADI_MSK(0x00000020,uint32_t)) /* TOEN: Enable */
-
-#define BITM_SEC_FCTL_FOEN (_ADI_MSK(0x00000010,uint32_t)) /* Fault Output Enable */
-#define ENUM_SEC_FCTL_FLTOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FOEN: Disable */
-#define ENUM_SEC_FCTL_FLTOUT_EN (_ADI_MSK(0x00000010,uint32_t)) /* FOEN: Enable */
-
-#define BITM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_FCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_FCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSTAT_NPND 10 /* Next Pending Fault */
-#define BITP_SEC_FSTAT_ACT 9 /* Fault Active */
-#define BITP_SEC_FSTAT_PND 8 /* Pending Fault */
-#define BITP_SEC_FSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_FSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_FSTAT_NPND (_ADI_MSK(0x00000400,uint32_t)) /* Next Pending Fault */
-#define ENUM_SEC_FSTAT_NO_NXTFLT (_ADI_MSK(0x00000000,uint32_t)) /* NPND: Not Pending */
-#define ENUM_SEC_FSTAT_NXTFLT (_ADI_MSK(0x00000400,uint32_t)) /* NPND: Pending */
-
-#define BITM_SEC_FSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Fault Active */
-#define ENUM_SEC_FSTAT_NO_FLTACT (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Fault */
-#define ENUM_SEC_FSTAT_FLTACT (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Fault */
-
-#define BITM_SEC_FSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Fault */
-#define ENUM_SEC_FSTAT_NO_FLTPND (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_FSTAT_FLTPND (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_FSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_FSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_FSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSID_FEXT 16 /* Fault External */
-#define BITP_SEC_FSID_SID 0 /* Source ID */
-
-#define BITM_SEC_FSID_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FSID_SRC_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FSID_SRC_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FEND_FEXT 16 /* Fault External */
-#define BITP_SEC_FEND_SID 0 /* Source ID */
-
-#define BITM_SEC_FEND_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FEND_END_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FEND_END_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FEND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GCTL_LOCK 31 /* Lock */
-#define BITP_SEC_GCTL_RESET 1 /* Reset */
-#define BITP_SEC_GCTL_EN 0 /* Enable */
-
-#define BITM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_GCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_GCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_GCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GSTAT_LWERR 31 /* Lock Write Error */
-#define BITP_SEC_GSTAT_ADRERR 30 /* Address Error */
-#define BITP_SEC_GSTAT_SID 16 /* Source ID for SSI Error */
-#define BITP_SEC_GSTAT_SCI 8 /* SCI ID for SCI Error */
-#define BITP_SEC_GSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_GSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define ENUM_SEC_GSTAT_NO_LWERR (_ADI_MSK(0x00000000,uint32_t)) /* LWERR: No Error */
-#define ENUM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* LWERR: Error Occurred */
-
-#define BITM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define ENUM_SEC_GSTAT_NO_ADRERR (_ADI_MSK(0x00000000,uint32_t)) /* ADRERR: No Error */
-#define ENUM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* ADRERR: Error Occurred */
-#define BITM_SEC_GSTAT_SID (_ADI_MSK(0x00FF0000,uint32_t)) /* Source ID for SSI Error */
-#define BITM_SEC_GSTAT_SCI (_ADI_MSK(0x00000F00,uint32_t)) /* SCI ID for SCI Error */
-
-#define BITM_SEC_GSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_GSTAT_SFIERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: SFI Error */
-#define ENUM_SEC_GSTAT_SCIERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: SCI Error */
-#define ENUM_SEC_GSTAT_SSIERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: SSI Error */
-
-#define BITM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_GSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_RAISE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_RAISE_SID 0 /* Source ID IRQ Set to Pending */
-#define BITM_SEC_RAISE_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ Set to Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_END Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_END_SID 0 /* Source ID IRQ to End */
-#define BITM_SEC_END_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ to End */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SCTL_LOCK 31 /* Lock */
-#define BITP_SEC_SCTL_CTG 24 /* Core Target Select */
-#define BITP_SEC_SCTL_GRP 16 /* Group Select */
-#define BITP_SEC_SCTL_PRIO 8 /* Priority Level Select */
-#define BITP_SEC_SCTL_ERREN 4 /* Error Enable */
-#define BITP_SEC_SCTL_ES 3 /* Edge Select */
-#define BITP_SEC_SCTL_SEN 2 /* Source (signal) Enable */
-#define BITP_SEC_SCTL_FEN 1 /* Fault Enable */
-#define BITP_SEC_SCTL_IEN 0 /* Interrupt Enable */
-
-#define BITM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_SCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_SCTL_CTG (_ADI_MSK(0x0F000000,uint32_t)) /* Core Target Select */
-#define BITM_SEC_SCTL_GRP (_ADI_MSK(0x000F0000,uint32_t)) /* Group Select */
-#define BITM_SEC_SCTL_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Priority Level Select */
-
-#define BITM_SEC_SCTL_ERREN (_ADI_MSK(0x00000010,uint32_t)) /* Error Enable */
-#define ENUM_SEC_SCTL_ERR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ERREN: Disable */
-#define ENUM_SEC_SCTL_ERR_EN (_ADI_MSK(0x00000010,uint32_t)) /* ERREN: Enable */
-
-#define BITM_SEC_SCTL_ES (_ADI_MSK(0x00000008,uint32_t)) /* Edge Select */
-#define ENUM_SEC_SCTL_LEVEL (_ADI_MSK(0x00000000,uint32_t)) /* ES: Level Sensitive */
-#define ENUM_SEC_SCTL_EDGE (_ADI_MSK(0x00000008,uint32_t)) /* ES: Edge Sensitive */
-
-#define BITM_SEC_SCTL_SEN (_ADI_MSK(0x00000004,uint32_t)) /* Source (signal) Enable */
-#define ENUM_SEC_SCTL_SRC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SEN: Disable */
-#define ENUM_SEC_SCTL_SRC_EN (_ADI_MSK(0x00000004,uint32_t)) /* SEN: Enable */
-
-#define BITM_SEC_SCTL_FEN (_ADI_MSK(0x00000002,uint32_t)) /* Fault Enable */
-#define ENUM_SEC_SCTL_FAULT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FEN: Disable */
-#define ENUM_SEC_SCTL_FAULT_EN (_ADI_MSK(0x00000002,uint32_t)) /* FEN: Enable */
-
-#define BITM_SEC_SCTL_IEN (_ADI_MSK(0x00000001,uint32_t)) /* Interrupt Enable */
-#define ENUM_SEC_SCTL_INT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* IEN: Disable */
-#define ENUM_SEC_SCTL_INT_EN (_ADI_MSK(0x00000001,uint32_t)) /* IEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SSTAT_CHID 16 /* Channel ID */
-#define BITP_SEC_SSTAT_ACT 9 /* Active Source */
-#define BITP_SEC_SSTAT_PND 8 /* Pending Source */
-#define BITP_SEC_SSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_SSTAT_ERR 1 /* Error */
-#define BITM_SEC_SSTAT_CHID (_ADI_MSK(0x00FF0000,uint32_t)) /* Channel ID */
-
-#define BITM_SEC_SSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Active Source */
-#define ENUM_SEC_SSTAT_NO_SRC (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Source */
-#define ENUM_SEC_SSTAT_ACTIVE_SRC (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Source */
-
-#define BITM_SEC_SSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Source */
-#define ENUM_SEC_SSTAT_NOTPENDING (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_SSTAT_PENDING (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_SSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_SSTAT_SOVFERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Source Overflow Error */
-#define ENUM_SEC_SSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_SSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ==================================================
- Trigger Routing Unit Registers
- ================================================== */
-
-/* =========================
- TRU0
- ========================= */
-#define REG_TRU0_SSR0 0xFFCA5000 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR1 0xFFCA5004 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR2 0xFFCA5008 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR3 0xFFCA500C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR4 0xFFCA5010 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR5 0xFFCA5014 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR6 0xFFCA5018 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR7 0xFFCA501C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR8 0xFFCA5020 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR9 0xFFCA5024 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR10 0xFFCA5028 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR11 0xFFCA502C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR12 0xFFCA5030 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR13 0xFFCA5034 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR14 0xFFCA5038 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR15 0xFFCA503C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR16 0xFFCA5040 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR17 0xFFCA5044 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR18 0xFFCA5048 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR19 0xFFCA504C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR20 0xFFCA5050 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR21 0xFFCA5054 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR22 0xFFCA5058 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR23 0xFFCA505C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR24 0xFFCA5060 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR25 0xFFCA5064 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR26 0xFFCA5068 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR27 0xFFCA506C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR28 0xFFCA5070 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR29 0xFFCA5074 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR30 0xFFCA5078 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR31 0xFFCA507C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR32 0xFFCA5080 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR33 0xFFCA5084 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR34 0xFFCA5088 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR35 0xFFCA508C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR36 0xFFCA5090 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR37 0xFFCA5094 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR38 0xFFCA5098 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR39 0xFFCA509C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR40 0xFFCA50A0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR41 0xFFCA50A4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR42 0xFFCA50A8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR43 0xFFCA50AC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR44 0xFFCA50B0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR45 0xFFCA50B4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR46 0xFFCA50B8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR47 0xFFCA50BC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR48 0xFFCA50C0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR49 0xFFCA50C4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR50 0xFFCA50C8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR51 0xFFCA50CC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR52 0xFFCA50D0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR53 0xFFCA50D4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR54 0xFFCA50D8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR55 0xFFCA50DC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR56 0xFFCA50E0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR57 0xFFCA50E4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR58 0xFFCA50E8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR59 0xFFCA50EC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR60 0xFFCA50F0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR61 0xFFCA50F4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR62 0xFFCA50F8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR63 0xFFCA50FC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR64 0xFFCA5100 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR65 0xFFCA5104 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR66 0xFFCA5108 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR67 0xFFCA510C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR68 0xFFCA5110 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR69 0xFFCA5114 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR70 0xFFCA5118 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR71 0xFFCA511C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR72 0xFFCA5120 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR73 0xFFCA5124 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR74 0xFFCA5128 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR75 0xFFCA512C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR76 0xFFCA5130 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR77 0xFFCA5134 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR78 0xFFCA5138 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR79 0xFFCA513C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR80 0xFFCA5140 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR81 0xFFCA5144 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR82 0xFFCA5148 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR83 0xFFCA514C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR84 0xFFCA5150 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR85 0xFFCA5154 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR86 0xFFCA5158 /* TRU0 Slave Select Register */
-#define REG_TRU0_MTR 0xFFCA57E0 /* TRU0 Master Trigger Register */
-#define REG_TRU0_ERRADDR 0xFFCA57E8 /* TRU0 Error Address Register */
-#define REG_TRU0_STAT 0xFFCA57EC /* TRU0 Status Information Register */
-#define REG_TRU0_REVID 0xFFCA57F0 /* TRU0 Revision ID Register */
-#define REG_TRU0_GCTL 0xFFCA57F4 /* TRU0 Global Control Register */
-
-/* =========================
- TRU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_SSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_SSR_LOCK 31 /* SSRn Lock */
-#define BITP_TRU_SSR_SSR 0 /* SSRn Slave Select */
-#define BITM_TRU_SSR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* SSRn Lock */
-#define BITM_TRU_SSR_SSR (_ADI_MSK(0x000000FF,uint32_t)) /* SSRn Slave Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_MTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_MTR_MTR3 24 /* Master Trigger Register 3 */
-#define BITP_TRU_MTR_MTR2 16 /* Master Trigger Register 2 */
-#define BITP_TRU_MTR_MTR1 8 /* Master Trigger Register 1 */
-#define BITP_TRU_MTR_MTR0 0 /* Master Trigger Register 0 */
-#define BITM_TRU_MTR_MTR3 (_ADI_MSK(0xFF000000,uint32_t)) /* Master Trigger Register 3 */
-#define BITM_TRU_MTR_MTR2 (_ADI_MSK(0x00FF0000,uint32_t)) /* Master Trigger Register 2 */
-#define BITM_TRU_MTR_MTR1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Master Trigger Register 1 */
-#define BITM_TRU_MTR_MTR0 (_ADI_MSK(0x000000FF,uint32_t)) /* Master Trigger Register 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_ERRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_ERRADDR_ADDR 0 /* Error Address */
-#define BITM_TRU_ERRADDR_ADDR (_ADI_MSK(0x00000FFF,uint32_t)) /* Error Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_STAT_ADDRERR 1 /* Address Error Status */
-#define BITP_TRU_STAT_LWERR 0 /* Lock Write Error Status */
-#define BITM_TRU_STAT_ADDRERR (_ADI_MSK(0x00000002,uint32_t)) /* Address Error Status */
-#define BITM_TRU_STAT_LWERR (_ADI_MSK(0x00000001,uint32_t)) /* Lock Write Error Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_TRU_REVID_REV 0 /* Incremental Version ID */
-#define BITM_TRU_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_TRU_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_GCTL_LOCK 31 /* GCTL Lock Bit */
-#define BITP_TRU_GCTL_MTRL 2 /* MTR Lock Bit */
-#define BITP_TRU_GCTL_RESET 1 /* Soft Reset */
-#define BITP_TRU_GCTL_EN 0 /* Non-MMR Enable */
-#define BITM_TRU_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* GCTL Lock Bit */
-#define BITM_TRU_GCTL_MTRL (_ADI_MSK(0x00000004,uint32_t)) /* MTR Lock Bit */
-#define BITM_TRU_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Soft Reset */
-#define BITM_TRU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Non-MMR Enable */
-
-/* ==================================================
- Reset Control Unit Registers
- ================================================== */
-
-/* =========================
- RCU0
- ========================= */
-#define REG_RCU0_CTL 0xFFCA6000 /* RCU0 Control Register */
-#define REG_RCU0_STAT 0xFFCA6004 /* RCU0 Status Register */
-#define REG_RCU0_CRCTL 0xFFCA6008 /* RCU0 Core Reset Control Register */
-#define REG_RCU0_CRSTAT 0xFFCA600C /* RCU0 Core Reset Status Register */
-#define REG_RCU0_SIDIS 0xFFCA6010 /* RCU0 System Interface Disable Register */
-#define REG_RCU0_SISTAT 0xFFCA6014 /* RCU0 System Interface Status Register */
-#define REG_RCU0_SVECT_LCK 0xFFCA6018 /* RCU0 SVECT Lock Register */
-#define REG_RCU0_BCODE 0xFFCA601C /* RCU0 Boot Code Register */
-#define REG_RCU0_SVECT0 0xFFCA6020 /* RCU0 Software Vector Register n */
-#define REG_RCU0_SVECT1 0xFFCA6024 /* RCU0 Software Vector Register n */
-
-/* =========================
- RCU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CTL_LOCK 31 /* Lock */
-#define BITP_RCU_CTL_RSTOUTDSRT 2 /* Reset Out Deassert */
-#define BITP_RCU_CTL_RSTOUTASRT 1 /* Reset Out Assert */
-#define BITP_RCU_CTL_SYSRST 0 /* System Reset */
-#define BITM_RCU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CTL_RSTOUTDSRT (_ADI_MSK(0x00000004,uint32_t)) /* Reset Out Deassert */
-#define BITM_RCU_CTL_RSTOUTASRT (_ADI_MSK(0x00000002,uint32_t)) /* Reset Out Assert */
-#define BITM_RCU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_STAT_RSTOUTERR 18 /* Reset Out Error */
-#define BITP_RCU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_RCU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_RCU_STAT_BMODE 8 /* Boot Mode */
-#define BITP_RCU_STAT_RSTOUT 5 /* Reset Out Status */
-#define BITP_RCU_STAT_SWRST 3 /* Software Reset */
-#define BITP_RCU_STAT_SSRST 2 /* System Source Reset */
-#define BITP_RCU_STAT_HBRST 1 /* Hibernate Reset */
-#define BITP_RCU_STAT_HWRST 0 /* Hardware Reset */
-#define BITM_RCU_STAT_RSTOUTERR (_ADI_MSK(0x00040000,uint32_t)) /* Reset Out Error */
-#define BITM_RCU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_RCU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_RCU_STAT_BMODE (_ADI_MSK(0x00000F00,uint32_t)) /* Boot Mode */
-#define BITM_RCU_STAT_RSTOUT (_ADI_MSK(0x00000020,uint32_t)) /* Reset Out Status */
-#define BITM_RCU_STAT_SWRST (_ADI_MSK(0x00000008,uint32_t)) /* Software Reset */
-#define BITM_RCU_STAT_SSRST (_ADI_MSK(0x00000004,uint32_t)) /* System Source Reset */
-#define BITM_RCU_STAT_HBRST (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Reset */
-#define BITM_RCU_STAT_HWRST (_ADI_MSK(0x00000001,uint32_t)) /* Hardware Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRCTL_LOCK 31 /* Lock */
-#define BITP_RCU_CRCTL_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRCTL_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CRCTL_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRCTL_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRSTAT_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRSTAT_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SIDIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SIDIS_LOCK 31 /* Lock */
-#define BITP_RCU_SIDIS_SI0 0 /* System Interface n */
-#define BITP_RCU_SIDIS_SI1 1 /* System Interface n */
-#define BITM_RCU_SIDIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SIDIS_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SIDIS_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SISTAT_SI0 0 /* System Interface n */
-#define BITP_RCU_SISTAT_SI1 1 /* System Interface n */
-#define BITM_RCU_SISTAT_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SISTAT_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SVECT_LCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SVECT_LCK_LOCK 31 /* Lock */
-#define BITP_RCU_SVECT_LCK_SVECT0 0 /* Software Vector Register n */
-#define BITP_RCU_SVECT_LCK_SVECT1 1 /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SVECT_LCK_SVECT0 (_ADI_MSK(0x00000001,uint32_t)) /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_SVECT1 (_ADI_MSK(0x00000002,uint32_t)) /* Software Vector Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_BCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_BCODE_LOCK 31 /* Lock */
-#define BITP_RCU_BCODE_BCODE 0 /* Boot Code */
-#define BITM_RCU_BCODE_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_BCODE_BCODE (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Boot Code */
-
-/* ==================================================
- System Protection Unit Registers
- ================================================== */
-
-/* =========================
- SPU0
- ========================= */
-#define REG_SPU0_CTL 0xFFCA7000 /* SPU0 Control Register */
-#define REG_SPU0_STAT 0xFFCA7004 /* SPU0 Status Register */
-#define REG_SPU0_WP0 0xFFCA7400 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP1 0xFFCA7404 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP2 0xFFCA7408 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP3 0xFFCA740C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP4 0xFFCA7410 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP5 0xFFCA7414 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP6 0xFFCA7418 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP7 0xFFCA741C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP8 0xFFCA7420 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP9 0xFFCA7424 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP10 0xFFCA7428 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP11 0xFFCA742C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP12 0xFFCA7430 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP13 0xFFCA7434 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP14 0xFFCA7438 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP15 0xFFCA743C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP16 0xFFCA7440 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP17 0xFFCA7444 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP18 0xFFCA7448 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP19 0xFFCA744C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP20 0xFFCA7450 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP21 0xFFCA7454 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP22 0xFFCA7458 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP23 0xFFCA745C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP24 0xFFCA7460 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP25 0xFFCA7464 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP26 0xFFCA7468 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP27 0xFFCA746C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP28 0xFFCA7470 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP29 0xFFCA7474 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP30 0xFFCA7478 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP31 0xFFCA747C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP32 0xFFCA7480 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP33 0xFFCA7484 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP34 0xFFCA7488 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP35 0xFFCA748C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP36 0xFFCA7490 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP37 0xFFCA7494 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP38 0xFFCA7498 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP39 0xFFCA749C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP40 0xFFCA74A0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP41 0xFFCA74A4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP42 0xFFCA74A8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP43 0xFFCA74AC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP44 0xFFCA74B0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP45 0xFFCA74B4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP46 0xFFCA74B8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP47 0xFFCA74BC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP48 0xFFCA74C0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP49 0xFFCA74C4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP50 0xFFCA74C8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP51 0xFFCA74CC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP52 0xFFCA74D0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP53 0xFFCA74D4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP54 0xFFCA74D8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP55 0xFFCA74DC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP56 0xFFCA74E0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP57 0xFFCA74E4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP58 0xFFCA74E8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP59 0xFFCA74EC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP60 0xFFCA74F0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP61 0xFFCA74F4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP62 0xFFCA74F8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP63 0xFFCA74FC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP64 0xFFCA7500 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP65 0xFFCA7504 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP66 0xFFCA7508 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP67 0xFFCA750C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP68 0xFFCA7510 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP69 0xFFCA7514 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP70 0xFFCA7518 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP71 0xFFCA751C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP72 0xFFCA7520 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP73 0xFFCA7524 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP74 0xFFCA7528 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP75 0xFFCA752C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP76 0xFFCA7530 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP77 0xFFCA7534 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP78 0xFFCA7538 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP79 0xFFCA753C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP80 0xFFCA7540 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP81 0xFFCA7544 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP82 0xFFCA7548 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP83 0xFFCA754C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP84 0xFFCA7550 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP85 0xFFCA7554 /* SPU0 Write Protect Register n */
-
-/* =========================
- SPU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_CTL_WPLCK 16 /* Write Protect Register Lock */
-#define BITP_SPU_CTL_GLCK 0 /* Global Lock Disable */
-#define BITM_SPU_CTL_WPLCK (_ADI_MSK(0x00010000,uint32_t)) /* Write Protect Register Lock */
-#define BITM_SPU_CTL_GLCK (_ADI_MSK(0x000000FF,uint32_t)) /* Global Lock Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_STAT_LWERR 31 /* Lock Write Error */
-#define BITP_SPU_STAT_ADDRERR 30 /* Address Error */
-#define BITP_SPU_STAT_GLCK 0 /* Global Lock Status */
-#define BITM_SPU_STAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define BITM_SPU_STAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define BITM_SPU_STAT_GLCK (_ADI_MSK(0x00000001,uint32_t)) /* Global Lock Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_WP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_WP_SM0 16 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_SM1 17 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_CM0 0 /* Core Master x Write Protect Enable */
-#define BITP_SPU_WP_CM1 1 /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_SM0 (_ADI_MSK(0x00010000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_SM1 (_ADI_MSK(0x00020000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_CM0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_CM1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Master x Write Protect Enable */
-
-/* ==================================================
- Clock Generation Unit Registers
- ================================================== */
-
-/* =========================
- CGU0
- ========================= */
-#define REG_CGU0_CTL 0xFFCA8000 /* CGU0 Control Register */
-#define REG_CGU0_STAT 0xFFCA8004 /* CGU0 Status Register */
-#define REG_CGU0_DIV 0xFFCA8008 /* CGU0 Divisor Register */
-#define REG_CGU0_CLKOUTSEL 0xFFCA800C /* CGU0 CLKOUT Select Register */
-
-/* =========================
- CGU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CTL_LOCK 31 /* Lock */
-#define BITP_CGU_CTL_WFI 30 /* Wait For Idle */
-#define BITP_CGU_CTL_MSEL 8 /* Multiplier Select */
-#define BITP_CGU_CTL_DF 0 /* Divide Frequency */
-#define BITM_CGU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_CTL_WFI (_ADI_MSK(0x40000000,uint32_t)) /* Wait For Idle */
-
-#define BITM_CGU_CTL_MSEL (_ADI_MSK(0x00007F00,uint32_t)) /* Multiplier Select */
-#define ENUM_CGU_CTL_MSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* MSEL: MSEL = 1 to 127 */
-#define BITM_CGU_CTL_DF (_ADI_MSK(0x00000001,uint32_t)) /* Divide Frequency */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_STAT_PLOCKERR 21 /* PLL Lock Error */
-#define BITP_CGU_STAT_WDIVERR 20 /* Write to DIV Error */
-#define BITP_CGU_STAT_WDFMSERR 19 /* Write to DF or MSEL Error */
-#define BITP_CGU_STAT_DIVERR 18 /* DIV Error */
-#define BITP_CGU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_CGU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_CGU_STAT_OCBF 9 /* OUTCLK Buffer Status */
-#define BITP_CGU_STAT_DCBF 8 /* DCLK Buffer Status */
-#define BITP_CGU_STAT_SCBF1 7 /* SCLK1 Buffer Status */
-#define BITP_CGU_STAT_SCBF0 6 /* SCLK0 Buffer Status */
-#define BITP_CGU_STAT_CCBF1 5 /* CCLK1 Buffer Status */
-#define BITP_CGU_STAT_CCBF0 4 /* CCLK0 Buffer Status */
-#define BITP_CGU_STAT_CLKSALGN 3 /* Clock Alignment */
-#define BITP_CGU_STAT_PLOCK 2 /* PLL Lock */
-#define BITP_CGU_STAT_PLLBP 1 /* PLL Bypass */
-#define BITP_CGU_STAT_PLLEN 0 /* PLL Enable */
-#define BITM_CGU_STAT_PLOCKERR (_ADI_MSK(0x00200000,uint32_t)) /* PLL Lock Error */
-#define BITM_CGU_STAT_WDIVERR (_ADI_MSK(0x00100000,uint32_t)) /* Write to DIV Error */
-#define BITM_CGU_STAT_WDFMSERR (_ADI_MSK(0x00080000,uint32_t)) /* Write to DF or MSEL Error */
-#define BITM_CGU_STAT_DIVERR (_ADI_MSK(0x00040000,uint32_t)) /* DIV Error */
-#define BITM_CGU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_CGU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_CGU_STAT_OCBF (_ADI_MSK(0x00000200,uint32_t)) /* OUTCLK Buffer Status */
-#define BITM_CGU_STAT_DCBF (_ADI_MSK(0x00000100,uint32_t)) /* DCLK Buffer Status */
-#define BITM_CGU_STAT_SCBF1 (_ADI_MSK(0x00000080,uint32_t)) /* SCLK1 Buffer Status */
-#define BITM_CGU_STAT_SCBF0 (_ADI_MSK(0x00000040,uint32_t)) /* SCLK0 Buffer Status */
-#define BITM_CGU_STAT_CCBF1 (_ADI_MSK(0x00000020,uint32_t)) /* CCLK1 Buffer Status */
-#define BITM_CGU_STAT_CCBF0 (_ADI_MSK(0x00000010,uint32_t)) /* CCLK0 Buffer Status */
-#define BITM_CGU_STAT_CLKSALGN (_ADI_MSK(0x00000008,uint32_t)) /* Clock Alignment */
-#define BITM_CGU_STAT_PLOCK (_ADI_MSK(0x00000004,uint32_t)) /* PLL Lock */
-#define BITM_CGU_STAT_PLLBP (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass */
-#define BITM_CGU_STAT_PLLEN (_ADI_MSK(0x00000001,uint32_t)) /* PLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_DIV_LOCK 31 /* Lock */
-#define BITP_CGU_DIV_UPDT 30 /* Update Clock Divisors */
-#define BITP_CGU_DIV_ALGN 29 /* Align */
-#define BITP_CGU_DIV_OSEL 22 /* OUTCLK Divisor */
-#define BITP_CGU_DIV_DSEL 16 /* DCLK Divisor */
-#define BITP_CGU_DIV_S1SEL 13 /* SCLK 1 Divisor */
-#define BITP_CGU_DIV_SYSSEL 8 /* SYSCLK Divisor */
-#define BITP_CGU_DIV_S0SEL 5 /* SCLK 0 Divisor */
-#define BITP_CGU_DIV_CSEL 0 /* CCLK Divisor */
-#define BITM_CGU_DIV_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_DIV_UPDT (_ADI_MSK(0x40000000,uint32_t)) /* Update Clock Divisors */
-#define BITM_CGU_DIV_ALGN (_ADI_MSK(0x20000000,uint32_t)) /* Align */
-
-#define BITM_CGU_DIV_OSEL (_ADI_MSK(0x1FC00000,uint32_t)) /* OUTCLK Divisor */
-#define ENUM_CGU_DIV_OSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* OSEL: OSEL = 1 to 127 */
-
-#define BITM_CGU_DIV_DSEL (_ADI_MSK(0x001F0000,uint32_t)) /* DCLK Divisor */
-#define ENUM_CGU_DIV_DSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* DSEL: DSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S1SEL (_ADI_MSK(0x0000E000,uint32_t)) /* SCLK 1 Divisor */
-#define ENUM_CGU_DIV_S1SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S1SEL: S1SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_SYSSEL (_ADI_MSK(0x00001F00,uint32_t)) /* SYSCLK Divisor */
-#define ENUM_CGU_DIV_SYSSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* SYSSEL: SYSSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S0SEL (_ADI_MSK(0x000000E0,uint32_t)) /* SCLK 0 Divisor */
-#define ENUM_CGU_DIV_S0SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S0SEL: S0SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_CSEL (_ADI_MSK(0x0000001F,uint32_t)) /* CCLK Divisor */
-#define ENUM_CGU_DIV_CSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* CSEL: CSEL= 1 to 31 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CLKOUTSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CLKOUTSEL_LOCK 31 /* Lock */
-#define BITP_CGU_CLKOUTSEL_CLKOUTSEL 0 /* CLKOUT Select */
-
-#define BITM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_CGU_CLKOUTSEL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_CGU_CLKOUTSEL_CLKOUTSEL (_ADI_MSK(0x0000000F,uint32_t)) /* CLKOUT Select */
-#define ENUM_CGU_CLKOUTSEL_CLKIN (_ADI_MSK(0x00000000,uint32_t)) /* CLKOUTSEL: CLKIN */
-#define ENUM_CGU_CLKOUTSEL_CCLKDIV4 (_ADI_MSK(0x00000001,uint32_t)) /* CLKOUTSEL: CCLKn/4 */
-#define ENUM_CGU_CLKOUTSEL_GNDDIS (_ADI_MSK(0x0000000B,uint32_t)) /* CLKOUTSEL: GND (Disable OUTCLK) */
-#define ENUM_CGU_CLKOUTSEL_SYSCLKDIV2 (_ADI_MSK(0x00000002,uint32_t)) /* CLKOUTSEL: SYSCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_SCLK0 (_ADI_MSK(0x00000003,uint32_t)) /* CLKOUTSEL: SCLK0 */
-#define ENUM_CGU_CLKOUTSEL_SCLK1 (_ADI_MSK(0x00000004,uint32_t)) /* CLKOUTSEL: SCLK1 */
-#define ENUM_CGU_CLKOUTSEL_DCLKDIV2 (_ADI_MSK(0x00000005,uint32_t)) /* CLKOUTSEL: DCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_OUTCLK (_ADI_MSK(0x00000007,uint32_t)) /* CLKOUTSEL: OUTCLK */
-
-/* ==================================================
- Dynamic Power Management Registers
- ================================================== */
-
-/* =========================
- DPM0
- ========================= */
-#define REG_DPM0_CTL 0xFFCA9000 /* DPM0 Control Register */
-#define REG_DPM0_STAT 0xFFCA9004 /* DPM0 Status Register */
-#define REG_DPM0_CCBF_DIS 0xFFCA9008 /* DPM0 Core Clock Buffer Disable Register */
-#define REG_DPM0_CCBF_EN 0xFFCA900C /* DPM0 Core Clock Buffer Enable Register */
-#define REG_DPM0_CCBF_STAT 0xFFCA9010 /* DPM0 Core Clock Buffer Status Register */
-#define REG_DPM0_CCBF_STAT_STKY 0xFFCA9014 /* DPM0 Core Clock Buffer Status Sticky Register */
-#define REG_DPM0_SCBF_DIS 0xFFCA9018 /* DPM0 System Clock Buffer Disable Register */
-#define REG_DPM0_WAKE_EN 0xFFCA901C /* DPM0 Wakeup Enable Register */
-#define REG_DPM0_WAKE_POL 0xFFCA9020 /* DPM0 Wakeup Polarity Register */
-#define REG_DPM0_WAKE_STAT 0xFFCA9024 /* DPM0 Wakeup Status Register */
-#define REG_DPM0_HIB_DIS 0xFFCA9028 /* DPM0 Hibernate Disable Register */
-#define REG_DPM0_PGCNTR 0xFFCA902C /* DPM0 Power Good Counter Register */
-#define REG_DPM0_RESTORE0 0xFFCA9030 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE1 0xFFCA9034 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE2 0xFFCA9038 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE3 0xFFCA903C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE4 0xFFCA9040 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE5 0xFFCA9044 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE6 0xFFCA9048 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE7 0xFFCA904C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE8 0xFFCA9050 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE9 0xFFCA9054 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE10 0xFFCA9058 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE11 0xFFCA905C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE12 0xFFCA9060 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE13 0xFFCA9064 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE14 0xFFCA9068 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE15 0xFFCA906C /* DPM0 Restore n Register */
-
-/* =========================
- DPM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CTL_LOCK 31 /* Lock */
-#define BITP_DPM_CTL_HIBERNATE 4 /* Hibernate */
-#define BITP_DPM_CTL_DEEPSLEEP 3 /* Deep Sleep */
-#define BITP_DPM_CTL_PLLDIS 2 /* PLL Disable */
-#define BITP_DPM_CTL_PLLBPCL 1 /* PLL Bypass Clear */
-#define BITP_DPM_CTL_PLLBPST 0 /* PLL Bypass Set */
-#define BITM_DPM_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CTL_HIBERNATE (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate */
-#define BITM_DPM_CTL_DEEPSLEEP (_ADI_MSK(0x00000008,uint32_t)) /* Deep Sleep */
-#define BITM_DPM_CTL_PLLDIS (_ADI_MSK(0x00000004,uint32_t)) /* PLL Disable */
-#define BITM_DPM_CTL_PLLBPCL (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass Clear */
-#define BITM_DPM_CTL_PLLBPST (_ADI_MSK(0x00000001,uint32_t)) /* PLL Bypass Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_STAT_PLLCFGERR 19 /* PLL Configuration Error */
-#define BITP_DPM_STAT_HVBSYERR 18 /* HV Busy Error */
-#define BITP_DPM_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_DPM_STAT_ADDRERR 16 /* Address Error */
-#define BITP_DPM_STAT_HVBSY 9 /* HV Busy */
-#define BITP_DPM_STAT_CCLKDIS 8 /* Core Clock(s) Disabled */
-#define BITP_DPM_STAT_PRVMODE 4 /* Previous Mode */
-#define BITP_DPM_STAT_CURMODE 0 /* Current Mode */
-#define BITM_DPM_STAT_PLLCFGERR (_ADI_MSK(0x00080000,uint32_t)) /* PLL Configuration Error */
-#define BITM_DPM_STAT_HVBSYERR (_ADI_MSK(0x00040000,uint32_t)) /* HV Busy Error */
-#define BITM_DPM_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_DPM_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_DPM_STAT_HVBSY (_ADI_MSK(0x00000200,uint32_t)) /* HV Busy */
-#define BITM_DPM_STAT_CCLKDIS (_ADI_MSK(0x00000100,uint32_t)) /* Core Clock(s) Disabled */
-#define BITM_DPM_STAT_PRVMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Previous Mode */
-#define BITM_DPM_STAT_CURMODE (_ADI_MSK(0x0000000F,uint32_t)) /* Current Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_DIS_CCBF0 0 /* Core Clock Buffer n Disable */
-#define BITP_DPM_CCBF_DIS_CCBF1 1 /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_DIS_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_EN_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_EN_CCBF0 0 /* Core Clock Buffer n Enable */
-#define BITP_DPM_CCBF_EN_CCBF1 1 /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_EN_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_CCBF0 0 /* Core Clock Buffer n Status */
-#define BITP_DPM_CCBF_STAT_CCBF1 1 /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT_STKY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF0 0 /* Core Clock Buffer n Status - Sticky */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF1 1 /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_SCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_SCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_SCBF_DIS_SCBF0 0 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF1 1 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF2 2 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF3 3 /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_SCBF_DIS_SCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF2 (_ADI_MSK(0x00000004,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF3 (_ADI_MSK(0x00000008,uint32_t)) /* System Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_EN_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_EN_WS0 0 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS1 1 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS2 2 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS3 3 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS4 4 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS5 5 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS6 6 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS7 7 /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_EN_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_POL_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_POL_WS0 0 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS1 1 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS2 2 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS3 3 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS4 4 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS5 5 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS6 6 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS7 7 /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_POL_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Polarity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_STAT_WS0 0 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS1 1 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS2 2 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS3 3 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS4 4 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS5 5 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS6 6 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS7 7 /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_HIB_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_HIB_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_HIB_DIS_HD0 0 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD1 1 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD2 2 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD3 3 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD4 4 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD5 5 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD6 6 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD7 7 /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_HIB_DIS_HD0 (_ADI_MSK(0x00000001,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD1 (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD2 (_ADI_MSK(0x00000004,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD3 (_ADI_MSK(0x00000008,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD4 (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD5 (_ADI_MSK(0x00000020,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD6 (_ADI_MSK(0x00000040,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD7 (_ADI_MSK(0x00000080,uint32_t)) /* Hibernate Disable n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_PGCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_PGCNTR_LOCK 31 /* Lock */
-#define BITP_DPM_PGCNTR_CNT 0 /* Power Good Count */
-#define BITM_DPM_PGCNTR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_PGCNTR_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Power Good Count */
-
-/* ==================================================
- eFUSE Controller Registers
- ================================================== */
-
-/* =========================
- EFS0
- ========================= */
-#define REG_EFS0_CTL 0xFFCC0000 /* EFS0 Control Register */
-#define REG_EFS0_DAT0 0xFFCC0008 /* EFS0 Data Register 0 */
-#define REG_EFS0_DAT1 0xFFCC000C /* EFS0 Data Register 1 */
-#define REG_EFS0_DAT2 0xFFCC0010 /* EFS0 Data Register 2 */
-#define REG_EFS0_DAT3 0xFFCC0014 /* EFS0 Data Register 3 */
-#define REG_EFS0_DAT4 0xFFCC0018 /* EFS0 Data Register 4 */
-#define REG_EFS0_DAT5 0xFFCC001C /* EFS0 Data Register 5 */
-#define REG_EFS0_DAT6 0xFFCC0020 /* EFS0 Data Register 6 */
-#define REG_EFS0_DAT7 0xFFCC0024 /* EFS0 Data Register 7 */
-
-/* =========================
- EFS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EFS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EFS_CTL_READ 0 /* Read */
-#define BITM_EFS_CTL_READ (_ADI_MSK(0x00000001,uint32_t)) /* Read */
-
-/* ==================================================
- Universal Serial Bus Controller Registers
- ================================================== */
-
-/* =========================
- USB0
- ========================= */
-#define REG_USB0_FADDR 0xFFCC1000 /* USB0 Function Address Register */
-#define REG_USB0_POWER 0xFFCC1001 /* USB0 Power and Device Control Register */
-#define REG_USB0_INTRTX 0xFFCC1002 /* USB0 Transmit Interrupt Register */
-#define REG_USB0_INTRRX 0xFFCC1004 /* USB0 Receive Interrupt Register */
-#define REG_USB0_INTRTXE 0xFFCC1006 /* USB0 Transmit Interrupt Enable Register */
-#define REG_USB0_INTRRXE 0xFFCC1008 /* USB0 Receive Interrupt Enable Register */
-#define REG_USB0_IRQ 0xFFCC100A /* USB0 Common Interrupts Register */
-#define REG_USB0_IEN 0xFFCC100B /* USB0 Common Interrupts Enable Register */
-#define REG_USB0_FRAME 0xFFCC100C /* USB0 Frame Number Register */
-#define REG_USB0_INDEX 0xFFCC100E /* USB0 Index Register */
-#define REG_USB0_TESTMODE 0xFFCC100F /* USB0 Testmode Register */
-#define REG_USB0_EPI_TXMAXP0 0xFFCC1010 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EPI_TXCSR_P0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EPI_TXCSR_H0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0I_CSR0_P 0xFFCC1012 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CSR0_H 0xFFCC1012 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXMAXP0 0xFFCC1014 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EPI_RXCSR_H0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXCSR_P0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CNT0 0xFFCC1018 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EPI_RXCNT0 0xFFCC1018 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EPI_TXTYPE0 0xFFCC101A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0I_TYPE0 0xFFCC101A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EPI_TXINTERVAL0 0xFFCC101B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0I_NAKLIMIT0 0xFFCC101B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EPI_RXTYPE0 0xFFCC101C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EPI_RXINTERVAL0 0xFFCC101D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0I_CFGDATA0 0xFFCC101F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_FIFOB0 0xFFCC1020 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB1 0xFFCC1024 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB2 0xFFCC1028 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB3 0xFFCC102C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB4 0xFFCC1030 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB5 0xFFCC1034 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB6 0xFFCC1038 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB7 0xFFCC103C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB8 0xFFCC1040 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB9 0xFFCC1044 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB10 0xFFCC1048 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB11 0xFFCC104C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOH0 0xFFCC1020 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH1 0xFFCC1024 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH2 0xFFCC1028 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH3 0xFFCC102C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH4 0xFFCC1030 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH5 0xFFCC1034 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH6 0xFFCC1038 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH7 0xFFCC103C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH8 0xFFCC1040 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH9 0xFFCC1044 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH10 0xFFCC1048 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH11 0xFFCC104C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFO0 0xFFCC1020 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO1 0xFFCC1024 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO2 0xFFCC1028 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO3 0xFFCC102C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO4 0xFFCC1030 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO5 0xFFCC1034 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO6 0xFFCC1038 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO7 0xFFCC103C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO8 0xFFCC1040 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO9 0xFFCC1044 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO10 0xFFCC1048 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO11 0xFFCC104C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_DEV_CTL 0xFFCC1060 /* USB0 Device Control Register */
-#define REG_USB0_TXFIFOSZ 0xFFCC1062 /* USB0 Transmit FIFO Size Register */
-#define REG_USB0_RXFIFOSZ 0xFFCC1063 /* USB0 Receive FIFO Size Register */
-#define REG_USB0_TXFIFOADDR 0xFFCC1064 /* USB0 Transmit FIFO Address Register */
-#define REG_USB0_RXFIFOADDR 0xFFCC1066 /* USB0 Receive FIFO Address Register */
-#define REG_USB0_EPINFO 0xFFCC1078 /* USB0 Endpoint Information Register */
-#define REG_USB0_RAMINFO 0xFFCC1079 /* USB0 RAM Information Register */
-#define REG_USB0_LINKINFO 0xFFCC107A /* USB0 Link Information Register */
-#define REG_USB0_VPLEN 0xFFCC107B /* USB0 VBUS Pulse Length Register */
-#define REG_USB0_HS_EOF1 0xFFCC107C /* USB0 High-Speed EOF 1 Register */
-#define REG_USB0_FS_EOF1 0xFFCC107D /* USB0 Full-Speed EOF 1 Register */
-#define REG_USB0_LS_EOF1 0xFFCC107E /* USB0 Low-Speed EOF 1 Register */
-#define REG_USB0_SOFT_RST 0xFFCC107F /* USB0 Software Reset Register */
-#define REG_USB0_MP0_TXFUNCADDR 0xFFCC1080 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP1_TXFUNCADDR 0xFFCC1088 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP2_TXFUNCADDR 0xFFCC1090 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP3_TXFUNCADDR 0xFFCC1098 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP4_TXFUNCADDR 0xFFCC10A0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP5_TXFUNCADDR 0xFFCC10A8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP6_TXFUNCADDR 0xFFCC10B0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP7_TXFUNCADDR 0xFFCC10B8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP8_TXFUNCADDR 0xFFCC10C0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP9_TXFUNCADDR 0xFFCC10C8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP10_TXFUNCADDR 0xFFCC10D0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP11_TXFUNCADDR 0xFFCC10D8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP0_TXHUBADDR 0xFFCC1082 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP1_TXHUBADDR 0xFFCC108A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP2_TXHUBADDR 0xFFCC1092 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP3_TXHUBADDR 0xFFCC109A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP4_TXHUBADDR 0xFFCC10A2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP5_TXHUBADDR 0xFFCC10AA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP6_TXHUBADDR 0xFFCC10B2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP7_TXHUBADDR 0xFFCC10BA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP8_TXHUBADDR 0xFFCC10C2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP9_TXHUBADDR 0xFFCC10CA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP10_TXHUBADDR 0xFFCC10D2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP11_TXHUBADDR 0xFFCC10DA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP0_TXHUBPORT 0xFFCC1083 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP1_TXHUBPORT 0xFFCC108B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP2_TXHUBPORT 0xFFCC1093 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP3_TXHUBPORT 0xFFCC109B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP4_TXHUBPORT 0xFFCC10A3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP5_TXHUBPORT 0xFFCC10AB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP6_TXHUBPORT 0xFFCC10B3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP7_TXHUBPORT 0xFFCC10BB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP8_TXHUBPORT 0xFFCC10C3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP9_TXHUBPORT 0xFFCC10CB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP10_TXHUBPORT 0xFFCC10D3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP11_TXHUBPORT 0xFFCC10DB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP0_RXFUNCADDR 0xFFCC1084 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP1_RXFUNCADDR 0xFFCC108C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP2_RXFUNCADDR 0xFFCC1094 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP3_RXFUNCADDR 0xFFCC109C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP4_RXFUNCADDR 0xFFCC10A4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP5_RXFUNCADDR 0xFFCC10AC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP6_RXFUNCADDR 0xFFCC10B4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP7_RXFUNCADDR 0xFFCC10BC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP8_RXFUNCADDR 0xFFCC10C4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP9_RXFUNCADDR 0xFFCC10CC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP10_RXFUNCADDR 0xFFCC10D4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP11_RXFUNCADDR 0xFFCC10DC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP0_RXHUBADDR 0xFFCC1086 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP1_RXHUBADDR 0xFFCC108E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP2_RXHUBADDR 0xFFCC1096 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP3_RXHUBADDR 0xFFCC109E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP4_RXHUBADDR 0xFFCC10A6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP5_RXHUBADDR 0xFFCC10AE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP6_RXHUBADDR 0xFFCC10B6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP7_RXHUBADDR 0xFFCC10BE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP8_RXHUBADDR 0xFFCC10C6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP9_RXHUBADDR 0xFFCC10CE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP10_RXHUBADDR 0xFFCC10D6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP11_RXHUBADDR 0xFFCC10DE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP0_RXHUBPORT 0xFFCC1087 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP1_RXHUBPORT 0xFFCC108F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP2_RXHUBPORT 0xFFCC1097 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP3_RXHUBPORT 0xFFCC109F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP4_RXHUBPORT 0xFFCC10A7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP5_RXHUBPORT 0xFFCC10AF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP6_RXHUBPORT 0xFFCC10B7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP7_RXHUBPORT 0xFFCC10BF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP8_RXHUBPORT 0xFFCC10C7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP9_RXHUBPORT 0xFFCC10CF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP10_RXHUBPORT 0xFFCC10D7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP11_RXHUBPORT 0xFFCC10DF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_EP0_TXMAXP 0xFFCC1100 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP1_TXMAXP 0xFFCC1110 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP2_TXMAXP 0xFFCC1120 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP3_TXMAXP 0xFFCC1130 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP4_TXMAXP 0xFFCC1140 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP5_TXMAXP 0xFFCC1150 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP6_TXMAXP 0xFFCC1160 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP7_TXMAXP 0xFFCC1170 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP8_TXMAXP 0xFFCC1180 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP9_TXMAXP 0xFFCC1190 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP10_TXMAXP 0xFFCC11A0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP11_TXMAXP 0xFFCC11B0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP0_CSR0_H 0xFFCC1102 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EP0_TXCSR_H 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP1_TXCSR_H 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP2_TXCSR_H 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP3_TXCSR_H 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP4_TXCSR_H 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP5_TXCSR_H 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP6_TXCSR_H 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP7_TXCSR_H 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP8_TXCSR_H 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP9_TXCSR_H 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP10_TXCSR_H 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP11_TXCSR_H 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0_CSR0_P 0xFFCC1102 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_TXCSR_P 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_TXCSR_P 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_TXCSR_P 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_TXCSR_P 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_TXCSR_P 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_TXCSR_P 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_TXCSR_P 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_TXCSR_P 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_TXCSR_P 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_TXCSR_P 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_TXCSR_P 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_TXCSR_P 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_RXMAXP 0xFFCC1104 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP1_RXMAXP 0xFFCC1114 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP2_RXMAXP 0xFFCC1124 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP3_RXMAXP 0xFFCC1134 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP4_RXMAXP 0xFFCC1144 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP5_RXMAXP 0xFFCC1154 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP6_RXMAXP 0xFFCC1164 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP7_RXMAXP 0xFFCC1174 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP8_RXMAXP 0xFFCC1184 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP9_RXMAXP 0xFFCC1194 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP10_RXMAXP 0xFFCC11A4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP11_RXMAXP 0xFFCC11B4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP0_RXCSR_H 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP1_RXCSR_H 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP2_RXCSR_H 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP3_RXCSR_H 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP4_RXCSR_H 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP5_RXCSR_H 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP6_RXCSR_H 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP7_RXCSR_H 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP8_RXCSR_H 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP9_RXCSR_H 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP10_RXCSR_H 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP11_RXCSR_H 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP0_RXCSR_P 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_RXCSR_P 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_RXCSR_P 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_RXCSR_P 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_RXCSR_P 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_RXCSR_P 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_RXCSR_P 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_RXCSR_P 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_RXCSR_P 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_RXCSR_P 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_RXCSR_P 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_RXCSR_P 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_CNT0 0xFFCC1108 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EP0_RXCNT 0xFFCC1108 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP1_RXCNT 0xFFCC1118 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP2_RXCNT 0xFFCC1128 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP3_RXCNT 0xFFCC1138 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP4_RXCNT 0xFFCC1148 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP5_RXCNT 0xFFCC1158 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP6_RXCNT 0xFFCC1168 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP7_RXCNT 0xFFCC1178 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP8_RXCNT 0xFFCC1188 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP9_RXCNT 0xFFCC1198 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP10_RXCNT 0xFFCC11A8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP11_RXCNT 0xFFCC11B8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP0_TYPE0 0xFFCC110A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EP0_TXTYPE 0xFFCC110A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP1_TXTYPE 0xFFCC111A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP2_TXTYPE 0xFFCC112A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP3_TXTYPE 0xFFCC113A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP4_TXTYPE 0xFFCC114A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP5_TXTYPE 0xFFCC115A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP6_TXTYPE 0xFFCC116A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP7_TXTYPE 0xFFCC117A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP8_TXTYPE 0xFFCC118A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP9_TXTYPE 0xFFCC119A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP10_TXTYPE 0xFFCC11AA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP11_TXTYPE 0xFFCC11BA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0_NAKLIMIT0 0xFFCC110B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EP0_TXINTERVAL 0xFFCC110B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP1_TXINTERVAL 0xFFCC111B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP2_TXINTERVAL 0xFFCC112B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP3_TXINTERVAL 0xFFCC113B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP4_TXINTERVAL 0xFFCC114B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP5_TXINTERVAL 0xFFCC115B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP6_TXINTERVAL 0xFFCC116B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP7_TXINTERVAL 0xFFCC117B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP8_TXINTERVAL 0xFFCC118B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP9_TXINTERVAL 0xFFCC119B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP10_TXINTERVAL 0xFFCC11AB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP11_TXINTERVAL 0xFFCC11BB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0_RXTYPE 0xFFCC110C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP1_RXTYPE 0xFFCC111C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP2_RXTYPE 0xFFCC112C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP3_RXTYPE 0xFFCC113C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP4_RXTYPE 0xFFCC114C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP5_RXTYPE 0xFFCC115C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP6_RXTYPE 0xFFCC116C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP7_RXTYPE 0xFFCC117C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP8_RXTYPE 0xFFCC118C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP9_RXTYPE 0xFFCC119C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP10_RXTYPE 0xFFCC11AC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP11_RXTYPE 0xFFCC11BC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP0_RXINTERVAL 0xFFCC110D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP1_RXINTERVAL 0xFFCC111D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP2_RXINTERVAL 0xFFCC112D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP3_RXINTERVAL 0xFFCC113D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP4_RXINTERVAL 0xFFCC114D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP5_RXINTERVAL 0xFFCC115D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP6_RXINTERVAL 0xFFCC116D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP7_RXINTERVAL 0xFFCC117D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP8_RXINTERVAL 0xFFCC118D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP9_RXINTERVAL 0xFFCC119D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP10_RXINTERVAL 0xFFCC11AD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP11_RXINTERVAL 0xFFCC11BD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0_CFGDATA0 0xFFCC110F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_DMA_IRQ 0xFFCC1200 /* USB0 DMA Interrupt Register */
-#define REG_USB0_DMA0_CTL 0xFFCC1204 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA1_CTL 0xFFCC1214 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA2_CTL 0xFFCC1224 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA3_CTL 0xFFCC1234 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA4_CTL 0xFFCC1244 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA5_CTL 0xFFCC1254 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA6_CTL 0xFFCC1264 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA7_CTL 0xFFCC1274 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA0_ADDR 0xFFCC1208 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA1_ADDR 0xFFCC1218 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA2_ADDR 0xFFCC1228 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA3_ADDR 0xFFCC1238 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA4_ADDR 0xFFCC1248 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA5_ADDR 0xFFCC1258 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA6_ADDR 0xFFCC1268 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA7_ADDR 0xFFCC1278 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA0_CNT 0xFFCC120C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA1_CNT 0xFFCC121C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA2_CNT 0xFFCC122C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA3_CNT 0xFFCC123C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA4_CNT 0xFFCC124C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA5_CNT 0xFFCC125C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA6_CNT 0xFFCC126C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA7_CNT 0xFFCC127C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_RQPKTCNT0 0xFFCC1300 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT1 0xFFCC1304 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT2 0xFFCC1308 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT3 0xFFCC130C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT4 0xFFCC1310 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT5 0xFFCC1314 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT6 0xFFCC1318 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT7 0xFFCC131C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT8 0xFFCC1320 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT9 0xFFCC1324 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT10 0xFFCC1328 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_CT_UCH 0xFFCC1344 /* USB0 Chirp Timeout Register */
-#define REG_USB0_CT_HHSRTN 0xFFCC1346 /* USB0 Host High Speed Return to Normal Register */
-#define REG_USB0_CT_HSBT 0xFFCC1348 /* USB0 High Speed Timeout Register */
-#define REG_USB0_LPM_ATTR 0xFFCC1360 /* USB0 LPM Attribute Register */
-#define REG_USB0_LPM_CTL 0xFFCC1362 /* USB0 LPM Control Register */
-#define REG_USB0_LPM_IEN 0xFFCC1363 /* USB0 LPM Interrupt Enable Register */
-#define REG_USB0_LPM_IRQ 0xFFCC1364 /* USB0 LPM Interrupt Status Register */
-#define REG_USB0_LPM_FADDR 0xFFCC1365 /* USB0 LPM Function Address Register */
-#define REG_USB0_VBUS_CTL 0xFFCC1380 /* USB0 VBUS Control Register */
-#define REG_USB0_BAT_CHG 0xFFCC1381 /* USB0 Battery Charging Control Register */
-#define REG_USB0_PHY_CTL 0xFFCC1394 /* USB0 PHY Control Register */
-#define REG_USB0_PLL_OSC 0xFFCC1398 /* USB0 PLL and Oscillator Control Register */
-
-/* =========================
- USB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_POWER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_POWER_ISOUPDT 7 /* ISO Update Enable */
-#define BITP_USB_POWER_SOFTCONN 6 /* Soft Connect/Disconnect Enable */
-#define BITP_USB_POWER_HSEN 5 /* High Speed Mode Enable */
-#define BITP_USB_POWER_HSMODE 4 /* High Speed Mode */
-#define BITP_USB_POWER_RESET 3 /* Reset USB */
-#define BITP_USB_POWER_RESUME 2 /* Resume Mode */
-#define BITP_USB_POWER_SUSPEND 1 /* Suspend Mode */
-#define BITP_USB_POWER_SUSEN 0 /* SUSPENDM Output Enable */
-
-#define BITM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISO Update Enable */
-#define ENUM_USB_POWER_NO_ISOUPDT (_ADI_MSK(0x00000000,uint8_t)) /* ISOUPDT: Disable ISO Update */
-#define ENUM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISOUPDT: Enable ISO Update */
-
-#define BITM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* Soft Connect/Disconnect Enable */
-#define ENUM_USB_POWER_NO_SOFTCONN (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCONN: Disable Soft Connect/Disconnect */
-#define ENUM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* SOFTCONN: Enable Soft Connect/Disconnect */
-
-#define BITM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* High Speed Mode Enable */
-#define ENUM_USB_POWER_HSDIS (_ADI_MSK(0x00000000,uint8_t)) /* HSEN: Disable Negotiation for HS Mode */
-#define ENUM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* HSEN: Enable Negotiation for HS Mode */
-
-#define BITM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* High Speed Mode */
-#define ENUM_USB_POWER_NO_HSMODE (_ADI_MSK(0x00000000,uint8_t)) /* HSMODE: Full Speed Mode (HS fail during reset) */
-#define ENUM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* HSMODE: High Speed Mode (HS success during reset) */
-
-#define BITM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* Reset USB */
-#define ENUM_USB_POWER_NO_RESET (_ADI_MSK(0x00000000,uint8_t)) /* RESET: No Reset */
-#define ENUM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* RESET: Reset USB */
-
-#define BITM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* Resume Mode */
-#define ENUM_USB_POWER_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Resume Signaling */
-#define ENUM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* RESUME: Enable Resume Signaling */
-
-#define BITM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* Suspend Mode */
-#define ENUM_USB_POWER_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Suspend Mode (Host) */
-#define ENUM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* SUSPEND: Enable Suspend Mode (Host) */
-
-#define BITM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPENDM Output Enable */
-#define ENUM_USB_POWER_SUSDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSEN: Disable SUSPENDM Output */
-#define ENUM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSEN: Enable SUSPENDM Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTX_EP11 11 /* End Point 11 Tx Interrupt */
-#define BITP_USB_INTRTX_EP10 10 /* End Point 10 Tx Interrupt */
-#define BITP_USB_INTRTX_EP9 9 /* End Point 9 Tx Interrupt */
-#define BITP_USB_INTRTX_EP8 8 /* End Point 8 Tx Interrupt */
-#define BITP_USB_INTRTX_EP7 7 /* End Point 7 Tx Interrupt */
-#define BITP_USB_INTRTX_EP6 6 /* End Point 6 Tx Interrupt */
-#define BITP_USB_INTRTX_EP5 5 /* End Point 5 Tx Interrupt */
-#define BITP_USB_INTRTX_EP4 4 /* End Point 4 Tx Interrupt */
-#define BITP_USB_INTRTX_EP3 3 /* End Point 3 Tx Interrupt */
-#define BITP_USB_INTRTX_EP2 2 /* End Point 2 Tx Interrupt */
-#define BITP_USB_INTRTX_EP1 1 /* End Point 1 Tx Interrupt */
-#define BITP_USB_INTRTX_EP0 0 /* End Point 0 Tx Interrupt */
-#define BITM_USB_INTRTX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt */
-#define BITM_USB_INTRTX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt */
-#define BITM_USB_INTRTX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt */
-#define BITM_USB_INTRTX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt */
-#define BITM_USB_INTRTX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt */
-#define BITM_USB_INTRTX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt */
-#define BITM_USB_INTRTX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt */
-#define BITM_USB_INTRTX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt */
-#define BITM_USB_INTRTX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt */
-#define BITM_USB_INTRTX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt */
-#define BITM_USB_INTRTX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt */
-#define BITM_USB_INTRTX_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRX_EP11 11 /* End Point 11 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP10 10 /* End Point 10 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP9 9 /* End Point 9 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP8 8 /* End Point 8 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP7 7 /* End Point 7 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP6 6 /* End Point 6 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP5 5 /* End Point 5 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP4 4 /* End Point 4 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP3 3 /* End Point 3 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP2 2 /* End Point 2 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP1 1 /* End Point 1 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTXE_EP11 11 /* End Point 11 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP10 10 /* End Point 10 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP9 9 /* End Point 9 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP8 8 /* End Point 8 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP7 7 /* End Point 7 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP6 6 /* End Point 6 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP5 5 /* End Point 5 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP4 4 /* End Point 4 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP3 3 /* End Point 3 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP2 2 /* End Point 2 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP1 1 /* End Point 1 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP0 0 /* End Point 0 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRXE_EP11 11 /* End Point 11 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP10 10 /* End Point 10 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP9 9 /* End Point 9 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP8 8 /* End Point 8 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP7 7 /* End Point 7 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP6 6 /* End Point 6 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP5 5 /* End Point 5 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP4 4 /* End Point 4 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP3 3 /* End Point 3 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP2 2 /* End Point 2 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP1 1 /* End Point 1 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IRQ_VBUSERR 7 /* VBUS Threshold Indicator */
-#define BITP_USB_IRQ_SESSREQ 6 /* Session Request Indicator */
-#define BITP_USB_IRQ_DISCON 5 /* Disconnect Indicator */
-#define BITP_USB_IRQ_CON 4 /* Connection Indicator */
-#define BITP_USB_IRQ_SOF 3 /* Start-of-frame Indicator */
-#define BITP_USB_IRQ_RSTBABBLE 2 /* Reset/Babble Indicator */
-#define BITP_USB_IRQ_RESUME 1 /* Resume Indicator */
-#define BITP_USB_IRQ_SUSPEND 0 /* Suspend Indicator */
-
-#define BITM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator */
-#define ENUM_USB_IRQ_NO_VBUSERR (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: No Interrupt */
-#define ENUM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Interrupt Pending */
-
-#define BITM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator */
-#define ENUM_USB_IRQ_NO_SESSREQ (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: No Interrupt */
-#define ENUM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Interrupt Pending */
-
-#define BITM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator */
-#define ENUM_USB_IRQ_NO_DISCON (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: No Interrupt */
-#define ENUM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Interrupt Pending */
-
-#define BITM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator */
-#define ENUM_USB_IRQ_NO_CON (_ADI_MSK(0x00000000,uint8_t)) /* CON: No Interrupt */
-#define ENUM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* CON: Interrupt Pending */
-
-#define BITM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator */
-#define ENUM_USB_IRQ_NO_SOF (_ADI_MSK(0x00000000,uint8_t)) /* SOF: No Interrupt */
-#define ENUM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Interrupt Pending */
-
-#define BITM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator */
-#define ENUM_USB_IRQ_NO_RSTBABBLE (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: No Interrupt */
-#define ENUM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Interrupt Pending */
-
-#define BITM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator */
-#define ENUM_USB_IRQ_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: No Interrupt */
-#define ENUM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Interrupt Pending */
-
-#define BITM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator */
-#define ENUM_USB_IRQ_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: No Interrupt */
-#define ENUM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IEN_VBUSERR 7 /* VBUS Threshold Indicator Interrupt Enable */
-#define BITP_USB_IEN_SESSREQ 6 /* Session Request Indicator Interrupt Enable */
-#define BITP_USB_IEN_DISCON 5 /* Disconnect Indicator Interrupt Enable */
-#define BITP_USB_IEN_CON 4 /* Connection Indicator Interrupt Enable */
-#define BITP_USB_IEN_SOF 3 /* Start-of-frame Indicator Interrupt Enable */
-#define BITP_USB_IEN_RSTBABBLE 2 /* Reset/Babble Indicator Interrupt Enable */
-#define BITP_USB_IEN_RESUME 1 /* Resume Indicator Interrupt Enable */
-#define BITP_USB_IEN_SUSPEND 0 /* Suspend Indicator Interrupt Enable */
-
-#define BITM_USB_IEN_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator Interrupt Enable */
-#define ENUM_USB_IEN_VBUSERRDIS (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: Disable Interrupt */
-#define ENUM_USB_IEN_VBUSERREN (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Enable Interrupt */
-
-#define BITM_USB_IEN_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SESSREQDIS (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: Disable Interrupt */
-#define ENUM_USB_IEN_SESSREQEN (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Enable Interrupt */
-
-#define BITM_USB_IEN_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator Interrupt Enable */
-#define ENUM_USB_IEN_DISCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: Disable Interrupt */
-#define ENUM_USB_IEN_DISCONEN (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Enable Interrupt */
-
-#define BITM_USB_IEN_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator Interrupt Enable */
-#define ENUM_USB_IEN_CONDIS (_ADI_MSK(0x00000000,uint8_t)) /* CON: Disable Interrupt */
-#define ENUM_USB_IEN_CONEN (_ADI_MSK(0x00000010,uint8_t)) /* CON: Enable Interrupt */
-
-#define BITM_USB_IEN_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SOFDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOF: Disable Interrupt */
-#define ENUM_USB_IEN_SOFEN (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Enable Interrupt */
-
-#define BITM_USB_IEN_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RSTBABBLEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: Disable Interrupt */
-#define ENUM_USB_IEN_RSTBABBLEEN (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Enable Interrupt */
-
-#define BITM_USB_IEN_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RESUMEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Interrupt */
-#define ENUM_USB_IEN_RESUMEEN (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Enable Interrupt */
-
-#define BITM_USB_IEN_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SUSPENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Interrupt */
-#define ENUM_USB_IEN_SUSPENDEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Enable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FRAME_VALUE 0 /* Frame Number Value */
-#define BITM_USB_FRAME_VALUE (_ADI_MSK(0x000007FF,uint16_t)) /* Frame Number Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INDEX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INDEX_EP 0 /* Endpoint Index */
-#define BITM_USB_INDEX_EP (_ADI_MSK(0x0000000F,uint8_t)) /* Endpoint Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TESTMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TESTMODE_FIFOACCESS 6 /* FIFO Access */
-#define BITP_USB_TESTMODE_TESTPACKET 3 /* Test_Packet Mode */
-#define BITP_USB_TESTMODE_TESTK 2 /* Test_K Mode */
-#define BITP_USB_TESTMODE_TESTJ 1 /* Test_J Mode */
-#define BITP_USB_TESTMODE_TESTSE0NAK 0 /* Test SE0 NAK */
-#define BITM_USB_TESTMODE_FIFOACCESS (_ADI_MSK(0x00000040,uint8_t)) /* FIFO Access */
-#define BITM_USB_TESTMODE_TESTPACKET (_ADI_MSK(0x00000008,uint8_t)) /* Test_Packet Mode */
-#define BITM_USB_TESTMODE_TESTK (_ADI_MSK(0x00000004,uint8_t)) /* Test_K Mode */
-#define BITM_USB_TESTMODE_TESTJ (_ADI_MSK(0x00000002,uint8_t)) /* Test_J Mode */
-#define BITM_USB_TESTMODE_TESTSE0NAK (_ADI_MSK(0x00000001,uint8_t)) /* Test SE0 NAK */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EPI_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EPI_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EPI_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EPI_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EPI_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EPI_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EPI_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EPI_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EPI_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EPI_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EPI_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EPI_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EPI_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EPI_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EPI_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EPI_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EPI_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EPI_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EPI_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EPI_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EPI_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EPI_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EPI_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EPI_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EPI_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0I_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0I_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0I_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0I_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0I_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0I_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0I_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0I_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0I_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0I_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0I_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0I_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0I_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0I_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0I_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0I_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0I_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0I_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0I_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0I_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0I_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0I_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0I_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0I_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0I_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0I_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0I_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0I_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0I_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0I_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0I_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EPI_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EPI_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EPI_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EPI_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EPI_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EPI_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EPI_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EPI_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EPI_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EPI_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EPI_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EPI_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EPI_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EPI_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EPI_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EPI_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EPI_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EPI_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0I_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EPI_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0I_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0I_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0I_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0I_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0I_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0I_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0I_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0I_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0I_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0I_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0I_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0I_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0I_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DEV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DEV_CTL_BDEVICE 7 /* A or B Devices Indicator */
-#define BITP_USB_DEV_CTL_FSDEV 6 /* Full or High-Speed Indicator */
-#define BITP_USB_DEV_CTL_LSDEV 5 /* Low-Speed Indicator */
-#define BITP_USB_DEV_CTL_VBUS 3 /* VBUS Level Indicator */
-#define BITP_USB_DEV_CTL_HOSTMODE 2 /* Host Mode Indicator */
-#define BITP_USB_DEV_CTL_HOSTREQ 1 /* Host Negotiation Request */
-#define BITP_USB_DEV_CTL_SESSION 0 /* Session Indicator */
-
-#define BITM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* A or B Devices Indicator */
-#define ENUM_USB_DEV_CTL_ADEVICE (_ADI_MSK(0x00000000,uint8_t)) /* BDEVICE: A Device Detected */
-#define ENUM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* BDEVICE: B Device Detected */
-
-#define BITM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* Full or High-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_FSDEV (_ADI_MSK(0x00000000,uint8_t)) /* FSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* FSDEV: Full or High Speed Detected */
-
-#define BITM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* Low-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_LSDEV (_ADI_MSK(0x00000000,uint8_t)) /* LSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* LSDEV: Low Speed Detected */
-
-#define BITM_USB_DEV_CTL_VBUS (_ADI_MSK(0x00000018,uint8_t)) /* VBUS Level Indicator */
-#define ENUM_USB_DEV_CTL_VBUS_BS (_ADI_MSK(0x00000000,uint8_t)) /* VBUS: Below SessionEnd */
-#define ENUM_USB_DEV_CTL_VBUS_ASBA (_ADI_MSK(0x00000008,uint8_t)) /* VBUS: Above SessionEnd, below AValid */
-#define ENUM_USB_DEV_CTL_VBUS_AABV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS: Above AValid, below VBUSValid */
-#define ENUM_USB_DEV_CTL_VBUS_AV (_ADI_MSK(0x00000018,uint8_t)) /* VBUS: Above VBUSValid */
-
-#define BITM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* Host Mode Indicator */
-#define ENUM_USB_DEV_CTL_NO_HOSTMODE (_ADI_MSK(0x00000000,uint8_t)) /* HOSTMODE: Peripheral Mode */
-#define ENUM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* HOSTMODE: Host Mode */
-
-#define BITM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* Host Negotiation Request */
-#define ENUM_USB_DEV_CTL_NO_HOSTREQ (_ADI_MSK(0x00000000,uint8_t)) /* HOSTREQ: No Request */
-#define ENUM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* HOSTREQ: Place Request */
-
-#define BITM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* Session Indicator */
-#define ENUM_USB_DEV_CTL_NO_SESSION (_ADI_MSK(0x00000000,uint8_t)) /* SESSION: Not Detected */
-#define ENUM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* SESSION: Detected Session */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_TXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_TXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_TXFIFOSZ_DPNDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_TXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_TXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_TXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_TXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_TXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_TXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_TXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_TXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_TXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_TXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_TXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_TXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_RXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_RXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_RXFIFOSZ_DPBDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_RXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_RXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_RXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_RXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_RXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_RXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_RXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_RXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_RXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_RXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_RXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_RXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOADDR_VALUE 0 /* Tx FIFO Start Address */
-#define BITM_USB_TXFIFOADDR_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Tx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOADDR_VALUE 0 /* Rx FIFO Start Address */
-#define BITM_USB_RXFIFOADDR_VALUE (_ADI_MSK(0x00000FFF,uint16_t)) /* Rx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPINFO_RXEP 4 /* Rx Endpoints */
-#define BITP_USB_EPINFO_TXEP 0 /* Tx Endpoints */
-#define BITM_USB_EPINFO_RXEP (_ADI_MSK(0x000000F0,uint8_t)) /* Rx Endpoints */
-#define BITM_USB_EPINFO_TXEP (_ADI_MSK(0x0000000F,uint8_t)) /* Tx Endpoints */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RAMINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RAMINFO_DMACHANS 4 /* DMA Channels */
-#define BITP_USB_RAMINFO_RAMBITS 0 /* RAM Address Bits */
-#define BITM_USB_RAMINFO_DMACHANS (_ADI_MSK(0x000000F0,uint8_t)) /* DMA Channels */
-#define BITM_USB_RAMINFO_RAMBITS (_ADI_MSK(0x0000000F,uint8_t)) /* RAM Address Bits */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LINKINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LINKINFO_WTCON 4 /* Wait for Connect/Disconnect */
-#define BITP_USB_LINKINFO_WTID 0 /* Wait from ID Pull-up */
-#define BITM_USB_LINKINFO_WTCON (_ADI_MSK(0x000000F0,uint8_t)) /* Wait for Connect/Disconnect */
-#define BITM_USB_LINKINFO_WTID (_ADI_MSK(0x0000000F,uint8_t)) /* Wait from ID Pull-up */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_SOFT_RST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_SOFT_RST_RSTX 1 /* Reset USB XCLK Domain */
-#define BITP_USB_SOFT_RST_RST 0 /* Reset USB CLK Domain */
-
-#define BITM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* Reset USB XCLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RSTX (_ADI_MSK(0x00000000,uint8_t)) /* RSTX: No Reset */
-#define ENUM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* RSTX: Reset USB XCLK Domain */
-
-#define BITM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* Reset USB CLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RST (_ADI_MSK(0x00000000,uint8_t)) /* RST: No Reset */
-#define ENUM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* RST: Reset USB CLK Domain */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXFUNCADDR_VALUE 0 /* Tx Function Address Value */
-#define BITM_USB_MP_TXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Tx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_TXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_TXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_TXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_TXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXFUNCADDR_VALUE 0 /* Rx Function Address Value */
-#define BITM_USB_MP_RXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Rx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_RXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_RXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_RXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_RXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EP_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EP_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EP_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EP_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EP_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EP_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EP_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EP_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EP_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EP_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EP_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EP_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EP_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EP_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EP_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EP_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EP_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EP_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EP_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EP_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EP_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EP_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EP_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EP_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EP_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EP_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EP_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EP_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EP_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EP_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EP_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EP_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EP_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EP_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EP_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EP_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EP_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EP_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EP_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EP_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EP_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EP_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EP_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EP_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EP_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EP_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EP_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EP_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_IRQ_D7 7 /* DMA 7 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D6 6 /* DMA 6 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D5 5 /* DMA 5 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D4 4 /* DMA 4 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D3 3 /* DMA 3 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D2 2 /* DMA 2 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D1 1 /* DMA 1 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D0 0 /* DMA 0 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D7 (_ADI_MSK(0x00000080,uint8_t)) /* DMA 7 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D6 (_ADI_MSK(0x00000040,uint8_t)) /* DMA 6 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D5 (_ADI_MSK(0x00000020,uint8_t)) /* DMA 5 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D4 (_ADI_MSK(0x00000010,uint8_t)) /* DMA 4 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D3 (_ADI_MSK(0x00000008,uint8_t)) /* DMA 3 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D2 (_ADI_MSK(0x00000004,uint8_t)) /* DMA 2 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D1 (_ADI_MSK(0x00000002,uint8_t)) /* DMA 1 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D0 (_ADI_MSK(0x00000001,uint8_t)) /* DMA 0 Interrupt Pending Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_CTL_BRSTM 9 /* Burst Mode */
-#define BITP_USB_DMA_CTL_ERR 8 /* Bus Error */
-#define BITP_USB_DMA_CTL_EP 4 /* DMA Channel Endpoint Assignment */
-#define BITP_USB_DMA_CTL_IE 3 /* DMA Interrupt Enable */
-#define BITP_USB_DMA_CTL_MODE 2 /* DMA Mode */
-#define BITP_USB_DMA_CTL_DIR 1 /* DMA Transfer Direction */
-#define BITP_USB_DMA_CTL_EN 0 /* DMA Enable */
-
-#define BITM_USB_DMA_CTL_BRSTM (_ADI_MSK(0x00000600,uint16_t)) /* Burst Mode */
-#define ENUM_USB_DMA_CTL_BRSTM00 (_ADI_MSK(0x00000000,uint16_t)) /* BRSTM: Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM01 (_ADI_MSK(0x00000200,uint16_t)) /* BRSTM: INCR4 or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM10 (_ADI_MSK(0x00000400,uint16_t)) /* BRSTM: INCR8, INCR4, or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM11 (_ADI_MSK(0x00000600,uint16_t)) /* BRSTM: INCR16, INCR8, INCR4, or Unspecified Length */
-
-#define BITM_USB_DMA_CTL_ERR (_ADI_MSK(0x00000100,uint16_t)) /* Bus Error */
-#define ENUM_USB_DMA_CTL_NO_DMAERR (_ADI_MSK(0x00000000,uint16_t)) /* ERR: No Status */
-#define ENUM_USB_DMA_CTL_DMAERR (_ADI_MSK(0x00000100,uint16_t)) /* ERR: Bus Error */
-
-#define BITM_USB_DMA_CTL_EP (_ADI_MSK(0x000000F0,uint16_t)) /* DMA Channel Endpoint Assignment */
-#define ENUM_USB_DMA_CTL_DMAEP0 (_ADI_MSK(0x00000000,uint16_t)) /* EP: Endpoint 0 */
-#define ENUM_USB_DMA_CTL_DMAEP1 (_ADI_MSK(0x00000010,uint16_t)) /* EP: Endpoint 1 */
-#define ENUM_USB_DMA_CTL_DMAEP10 (_ADI_MSK(0x000000A0,uint16_t)) /* EP: Endpoint 10 */
-#define ENUM_USB_DMA_CTL_DMAEP11 (_ADI_MSK(0x000000B0,uint16_t)) /* EP: Endpoint 11 */
-#define ENUM_USB_DMA_CTL_DMAEP12 (_ADI_MSK(0x000000C0,uint16_t)) /* EP: Endpoint 12 */
-#define ENUM_USB_DMA_CTL_DMAEP13 (_ADI_MSK(0x000000D0,uint16_t)) /* EP: Endpoint 13 */
-#define ENUM_USB_DMA_CTL_DMAEP14 (_ADI_MSK(0x000000E0,uint16_t)) /* EP: Endpoint 14 */
-#define ENUM_USB_DMA_CTL_DMAEP15 (_ADI_MSK(0x000000F0,uint16_t)) /* EP: Endpoint 15 */
-#define ENUM_USB_DMA_CTL_DMAEP2 (_ADI_MSK(0x00000020,uint16_t)) /* EP: Endpoint 2 */
-#define ENUM_USB_DMA_CTL_DMAEP3 (_ADI_MSK(0x00000030,uint16_t)) /* EP: Endpoint 3 */
-#define ENUM_USB_DMA_CTL_DMAEP4 (_ADI_MSK(0x00000040,uint16_t)) /* EP: Endpoint 4 */
-#define ENUM_USB_DMA_CTL_DMAEP5 (_ADI_MSK(0x00000050,uint16_t)) /* EP: Endpoint 5 */
-#define ENUM_USB_DMA_CTL_DMAEP6 (_ADI_MSK(0x00000060,uint16_t)) /* EP: Endpoint 6 */
-#define ENUM_USB_DMA_CTL_DMAEP7 (_ADI_MSK(0x00000070,uint16_t)) /* EP: Endpoint 7 */
-#define ENUM_USB_DMA_CTL_DMAEP8 (_ADI_MSK(0x00000080,uint16_t)) /* EP: Endpoint 8 */
-#define ENUM_USB_DMA_CTL_DMAEP9 (_ADI_MSK(0x00000090,uint16_t)) /* EP: Endpoint 9 */
-
-#define BITM_USB_DMA_CTL_IE (_ADI_MSK(0x00000008,uint16_t)) /* DMA Interrupt Enable */
-#define ENUM_USB_DMA_CTL_DMAINTDIS (_ADI_MSK(0x00000000,uint16_t)) /* IE: Disable Interrupt */
-#define ENUM_USB_DMA_CTL_DMAINTEN (_ADI_MSK(0x00000008,uint16_t)) /* IE: Enable Interrupt */
-
-#define BITM_USB_DMA_CTL_MODE (_ADI_MSK(0x00000004,uint16_t)) /* DMA Mode */
-#define ENUM_USB_DMA_CTL_DMAMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* MODE: DMA Mode 0 */
-#define ENUM_USB_DMA_CTL_DMAMODE1 (_ADI_MSK(0x00000004,uint16_t)) /* MODE: DMA Mode 1 */
-
-#define BITM_USB_DMA_CTL_DIR (_ADI_MSK(0x00000002,uint16_t)) /* DMA Transfer Direction */
-#define ENUM_USB_DMA_CTL_DMADIR_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: DMA Write (for Rx Endpoint) */
-#define ENUM_USB_DMA_CTL_DMADIR_TX (_ADI_MSK(0x00000002,uint16_t)) /* DIR: DMA Read (for Tx Endpoint) */
-
-#define BITM_USB_DMA_CTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* DMA Enable */
-#define ENUM_USB_DMA_CTL_DMADIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable DMA */
-#define ENUM_USB_DMA_CTL_DMAEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable DMA (Start Transfer) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_UCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_UCH_VALUE 0 /* Chirp Timeout Value */
-#define BITM_USB_CT_UCH_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Chirp Timeout Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HHSRTN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HHSRTN_VALUE 0 /* Host High Speed Return to Normal Value */
-#define BITM_USB_CT_HHSRTN_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Host High Speed Return to Normal Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HSBT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HSBT_VALUE 0 /* HS Timeout Adder */
-#define BITM_USB_CT_HSBT_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* HS Timeout Adder */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_ATTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_ATTR_EP 12 /* Endpoint */
-#define BITP_USB_LPM_ATTR_RMTWAK 8 /* Remote Wakeup Enable */
-#define BITP_USB_LPM_ATTR_HIRD 4 /* Host Initiated Resume Duration */
-#define BITP_USB_LPM_ATTR_LINKSTATE 0 /* Link State */
-#define BITM_USB_LPM_ATTR_EP (_ADI_MSK(0x0000F000,uint16_t)) /* Endpoint */
-
-#define BITM_USB_LPM_ATTR_RMTWAK (_ADI_MSK(0x00000100,uint16_t)) /* Remote Wakeup Enable */
-#define ENUM_USB_LPM_ATTR_RMTWAKDIS (_ADI_MSK(0x00000000,uint16_t)) /* RMTWAK: Disable Remote Wakeup */
-#define ENUM_USB_LPM_ATTR_RMTWAKEN (_ADI_MSK(0x00000100,uint16_t)) /* RMTWAK: Enable Remote Wakeup */
-#define BITM_USB_LPM_ATTR_HIRD (_ADI_MSK(0x000000F0,uint16_t)) /* Host Initiated Resume Duration */
-
-#define BITM_USB_LPM_ATTR_LINKSTATE (_ADI_MSK(0x0000000F,uint16_t)) /* Link State */
-#define ENUM_USB_LPM_ATTR_LNKSTATE_SSL1 (_ADI_MSK(0x00000001,uint16_t)) /* LINKSTATE: Sleep State (L1) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_CTL_NAK 4 /* LPM NAK Enable */
-#define BITP_USB_LPM_CTL_EN 2 /* LPM Enable */
-#define BITP_USB_LPM_CTL_RESUME 1 /* LPM Resume (Remote Wakeup) */
-#define BITP_USB_LPM_CTL_TX 0 /* LPM Transmit */
-#define BITM_USB_LPM_CTL_NAK (_ADI_MSK(0x00000010,uint8_t)) /* LPM NAK Enable */
-#define BITM_USB_LPM_CTL_EN (_ADI_MSK(0x0000000C,uint8_t)) /* LPM Enable */
-#define BITM_USB_LPM_CTL_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* LPM Resume (Remote Wakeup) */
-#define BITM_USB_LPM_CTL_TX (_ADI_MSK(0x00000001,uint8_t)) /* LPM Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IEN_LPMERR 5 /* LPM Error Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMRES 4 /* LPM Resume Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNC 3 /* LPM NYET Control Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMACK 2 /* LPM ACK Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNY 1 /* LPM NYET Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMST 0 /* LPM STALL Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMST (_ADI_MSK(0x00000001,uint8_t)) /* LPM STALL Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IRQ_LPMERR 5 /* LPM Error Interrupt */
-#define BITP_USB_LPM_IRQ_LPMRES 4 /* LPM Resume Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNC 3 /* LPM NYET Control Interrupt */
-#define BITP_USB_LPM_IRQ_LPMACK 2 /* LPM ACK Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNY 1 /* LPM NYET Interrupt */
-#define BITP_USB_LPM_IRQ_LPMST 0
-#define BITM_USB_LPM_IRQ_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt */
-#define BITM_USB_LPM_IRQ_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt */
-#define BITM_USB_LPM_IRQ_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt */
-#define BITM_USB_LPM_IRQ_LPMST (_ADI_MSK(0x00000001,uint8_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_LPM_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_VBUS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_VBUS_CTL_DRV 4 /* VBUS Drive */
-#define BITP_USB_VBUS_CTL_DRVINT 3 /* VBUS Drive Interrupt */
-#define BITP_USB_VBUS_CTL_DRVIEN 2 /* VBUS Drive Interrupt Enable */
-#define BITP_USB_VBUS_CTL_DRVOD 1 /* VBUS Drive Open Drain */
-#define BITP_USB_VBUS_CTL_INVDRV 0 /* VBUS Invert Drive */
-#define BITM_USB_VBUS_CTL_DRV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS Drive */
-#define BITM_USB_VBUS_CTL_DRVINT (_ADI_MSK(0x00000008,uint8_t)) /* VBUS Drive Interrupt */
-#define BITM_USB_VBUS_CTL_DRVIEN (_ADI_MSK(0x00000004,uint8_t)) /* VBUS Drive Interrupt Enable */
-#define BITM_USB_VBUS_CTL_DRVOD (_ADI_MSK(0x00000002,uint8_t)) /* VBUS Drive Open Drain */
-#define BITM_USB_VBUS_CTL_INVDRV (_ADI_MSK(0x00000001,uint8_t)) /* VBUS Invert Drive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_BAT_CHG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_BAT_CHG_DEDCHG 4 /* Dedicated Charging Port */
-#define BITP_USB_BAT_CHG_CHGDET 3 /* Charging Port Detected */
-#define BITP_USB_BAT_CHG_SNSCHGDET 2 /* Sense Charger Detection */
-#define BITP_USB_BAT_CHG_CONDET 1 /* Connected Detected */
-#define BITP_USB_BAT_CHG_SNSCONDET 0 /* Sense Connection Detection */
-#define BITM_USB_BAT_CHG_DEDCHG (_ADI_MSK(0x00000010,uint8_t)) /* Dedicated Charging Port */
-#define BITM_USB_BAT_CHG_CHGDET (_ADI_MSK(0x00000008,uint8_t)) /* Charging Port Detected */
-#define BITM_USB_BAT_CHG_SNSCHGDET (_ADI_MSK(0x00000004,uint8_t)) /* Sense Charger Detection */
-#define BITM_USB_BAT_CHG_CONDET (_ADI_MSK(0x00000002,uint8_t)) /* Connected Detected */
-#define BITM_USB_BAT_CHG_SNSCONDET (_ADI_MSK(0x00000001,uint8_t)) /* Sense Connection Detection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PHY_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PHY_CTL_EN 7 /* PHY Enable */
-#define BITP_USB_PHY_CTL_RESTORE 1 /* Restore from Hibernate */
-#define BITP_USB_PHY_CTL_HIBER 0 /* Hibernate */
-#define BITM_USB_PHY_CTL_EN (_ADI_MSK(0x00000080,uint8_t)) /* PHY Enable */
-#define BITM_USB_PHY_CTL_RESTORE (_ADI_MSK(0x00000002,uint8_t)) /* Restore from Hibernate */
-#define BITM_USB_PHY_CTL_HIBER (_ADI_MSK(0x00000001,uint8_t)) /* Hibernate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PLL_OSC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PLL_OSC_PLLMSEL 7 /* PLL Multiplier Select */
-#define BITP_USB_PLL_OSC_PLLM 1 /* PLL Multiplier Value */
-#define BITP_USB_PLL_OSC_DIVCLKIN 0 /* Divide CLKIN */
-#define BITM_USB_PLL_OSC_PLLMSEL (_ADI_MSK(0x00000080,uint16_t)) /* PLL Multiplier Select */
-#define BITM_USB_PLL_OSC_PLLM (_ADI_MSK(0x0000007E,uint16_t)) /* PLL Multiplier Value */
-#define BITM_USB_PLL_OSC_DIVCLKIN (_ADI_MSK(0x00000001,uint16_t)) /* Divide CLKIN */
-
-/* ==================================================
- Data Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1DM0
- ========================= */
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cacheability Protection Lookaside Buffer Status */
-#define DCPLB_FAULT_STATUS 0xFFE00008 /* Older definition or alias of above */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define DCPLB_ADDR0 0xFFE00100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR1 0xFFE00104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR2 0xFFE00108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR3 0xFFE0010C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR4 0xFFE00110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR5 0xFFE00114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR6 0xFFE00118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR7 0xFFE0011C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR8 0xFFE00120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR9 0xFFE00124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR10 0xFFE00128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR11 0xFFE0012C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR12 0xFFE00130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR13 0xFFE00134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR14 0xFFE00138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR15 0xFFE0013C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_DATA0 0xFFE00200 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA1 0xFFE00204 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA2 0xFFE00208 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA3 0xFFE0020C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA4 0xFFE00210 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA5 0xFFE00214 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA6 0xFFE00218 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA7 0xFFE0021C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA8 0xFFE00220 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA9 0xFFE00224 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA10 0xFFE00228 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA11 0xFFE0022C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA12 0xFFE00230 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA13 0xFFE00234 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA14 0xFFE00238 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA15 0xFFE0023C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-#define L1DBNKA_PELOC 0xFFE00408 /* Data Bank A Parity Error Location */
-#define L1DBNKB_PELOC 0xFFE0040C /* Data Bank B Parity Error Location */
-
-/* =========================
- L1DM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SRAM_BASE_ADDRESS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SRAM_BASE_ADDRESS_ADDR 22 /* SRAM Base Address */
-#define BITM_SRAM_BASE_ADDRESS_ADDR (_ADI_MSK(0xFFC00000,uint32_t)) /* SRAM Base Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMEM_CONTROL_PARCTL 15 /* L1 Scratch Parity Control */
-#define BITP_DMEM_CONTROL_PARSEL 14 /* L1 Scratch Parity Select */
-#define BITP_DMEM_CONTROL_PPREF1 13 /* DAG1 Port Preference */
-#define BITP_DMEM_CONTROL_PPREF0 12 /* DAG0 Port Preference */
-#define BITP_DMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_DMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_DMEM_CONTROL_DCBS 4 /* L1 Data Cache Bank Select */
-#define BITP_DMEM_CONTROL_CFG 2 /* Data Memory Configuration */
-#define BITP_DMEM_CONTROL_ENCPLB 1 /* Enable DCPLB */
-
-#define BITM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* L1 Scratch Parity Control */
-#define ENUM_DMEM_CONTROL_NO_PARCTL (_ADI_MSK(0x00000000,uint32_t)) /* PARCTL: No Parity Control (Normal Behavior for L1 RD / L1 WT) */
-#define ENUM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* PARCTL: Parity Control Enabled */
-#define BITM_DMEM_CONTROL_PARSEL (_ADI_MSK(0x00004000,uint32_t)) /* L1 Scratch Parity Select */
-
-#define BITM_DMEM_CONTROL_PPREF1 (_ADI_MSK(0x00002000,uint32_t)) /* DAG1 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF1A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF1B (_ADI_MSK(0x00002000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_PPREF0 (_ADI_MSK(0x00001000,uint32_t)) /* DAG0 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF0A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF0B (_ADI_MSK(0x00001000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_DMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_DMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_DMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_DMEM_CONTROL_DCBS (_ADI_MSK(0x00000010,uint32_t)) /* L1 Data Cache Bank Select */
-#define ENUM_DMEM_CONTROL_DCBS14 (_ADI_MSK(0x00000000,uint32_t)) /* DCBS: Address bit 14 used to select Bank A or B for cache access */
-#define ENUM_DMEM_CONTROL_DCBS23 (_ADI_MSK(0x00000010,uint32_t)) /* DCBS: Address bit 23 used to select Bank A or B for cache access */
-
-#define BITM_DMEM_CONTROL_CFG (_ADI_MSK(0x0000000C,uint32_t)) /* Data Memory Configuration */
-#define ENUM_DMEM_CONTROL_ASRAM_BSRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: A SRAM, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BSRAM (_ADI_MSK(0x00000008,uint32_t)) /* CFG: A Cache, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BCACHE (_ADI_MSK(0x0000000C,uint32_t)) /* CFG: A Cache, B Cache */
-
-#define BITM_DMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable DCPLB */
-#define ENUM_DMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs Disabled */
-#define ENUM_DMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs Enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_DCPLB_STATUS_DAG 18 /* Access DAG */
-#define BITP_DCPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_DCPLB_STATUS_RW 16 /* Access Read/Write */
-#define BITP_DCPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_DCPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_DCPLB_STATUS_DAG (_ADI_MSK(0x00040000,uint32_t)) /* Access DAG */
-#define BITM_DCPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_DCPLB_STATUS_RW (_ADI_MSK(0x00010000,uint32_t)) /* Access Read/Write */
-#define BITM_DCPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_DCPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_DCPLB_DATA_WT 14 /* CPLB Write Through */
-#define BITP_DCPLB_DATA_L2_CHBL 13 /* CPLB L2 Cacheable */
-#define BITP_DCPLB_DATA_L1_CHBL 12 /* CPLB L1 Cacheable */
-#define BITP_DCPLB_DATA_DIRTY 7 /* CPLB DIRTY */
-#define BITP_DCPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_DCPLB_DATA_SWRITE 4 /* CPLB Supervisor Write */
-#define BITP_DCPLB_DATA_UWRITE 3 /* CPLB User Write */
-#define BITP_DCPLB_DATA_UREAD 2 /* CPLB User Read */
-#define BITP_DCPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_DCPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_DCPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_DCPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_DCPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_DCPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_DCPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_DCPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_DCPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_DCPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_DCPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* CPLB Write Through */
-#define ENUM_DCPLB_DATA_WB (_ADI_MSK(0x00000000,uint32_t)) /* WT: Write-back */
-#define ENUM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* WT: Write-through */
-
-#define BITM_DCPLB_DATA_L2_CHBL (_ADI_MSK(0x00002000,uint32_t)) /* CPLB L2 Cacheable */
-#define ENUM_DCPLB_DATA_L2CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L2CHBL: Non-cacheable in L2 */
-#define ENUM_DCPLB_DATA_L2CHBL_EN (_ADI_MSK(0x00002000,uint32_t)) /* L2CHBL: Cacheable in L2 */
-
-#define BITM_DCPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* CPLB L1 Cacheable */
-#define ENUM_DCPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_DCPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* CPLB DIRTY */
-#define ENUM_DCPLB_DATA_CLEAN (_ADI_MSK(0x00000000,uint32_t)) /* DIRTY: Clean */
-#define ENUM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* DIRTY: Dirty */
-#define BITM_DCPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* CPLB Supervisor Write */
-#define ENUM_DCPLB_DATA_NO_SWRITE (_ADI_MSK(0x00000000,uint32_t)) /* SWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* SWRITE: Write Access Allowed (Supervisor Mode) */
-
-#define BITM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* CPLB User Write */
-#define ENUM_DCPLB_DATA_NO_UWRITE (_ADI_MSK(0x00000000,uint32_t)) /* UWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* UWRITE: Write Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* CPLB User Read */
-#define ENUM_DCPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_DCPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_DCPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_DCPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid Entry */
-#define ENUM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DTEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DTEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_DTEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_DTEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bit 11 */
-#define BITP_DTEST_COMMAND_IDSEL 24 /* Instruction/Data Access */
-#define BITP_DTEST_COMMAND_BNKSEL 23 /* Data Bank Access */
-#define BITP_DTEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_DTEST_COMMAND_SEL16K 14 /* Address bit 14 */
-#define BITP_DTEST_COMMAND_SET 5 /* Set Index */
-#define BITP_DTEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_DTEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_DTEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_DTEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_DTEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_DTEST_COMMAND_WAYSEL (_ADI_MSK(0x04000000,uint32_t)) /* Access Way/Instruction Address Bit 11 */
-#define BITM_DTEST_COMMAND_IDSEL (_ADI_MSK(0x01000000,uint32_t)) /* Instruction/Data Access */
-#define BITM_DTEST_COMMAND_BNKSEL (_ADI_MSK(0x00800000,uint32_t)) /* Data Bank Access */
-#define BITM_DTEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_DTEST_COMMAND_SEL16K (_ADI_MSK(0x00004000,uint32_t)) /* Address bit 14 */
-#define BITM_DTEST_COMMAND_SET (_ADI_MSK(0x000007E0,uint32_t)) /* Set Index */
-#define BITM_DTEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_DTEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_DTEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKA_PELOC_SCRATCH_MEM 12 /* Scratch Memory Parity Status */
-#define BITP_L1DBNKA_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_SCRATCH_MEM (_ADI_MSK(0x00001000,uint32_t)) /* Scratch Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKB_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKB_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Instruction Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1IM0
- ========================= */
-#define IMEM_CONTROL 0xFFE01004 /* Instruction memory control */
-#define ICPLB_STATUS 0xFFE01008 /* Cacheability Protection Lookaside Buffer Status */
-#define CODE_FAULT_STATUS 0xFFE01008 /* Older definition or alias of above */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Cacheability Protection Lookaside Buffer Fault Address */
-#define CODE_FAULT_ADDR 0xFFE0100C /* Older definition or alias of above */
-#define ICPLB_ADDR0 0xFFE01100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR1 0xFFE01104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR2 0xFFE01108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR3 0xFFE0110C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR4 0xFFE01110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR5 0xFFE01114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR6 0xFFE01118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR7 0xFFE0111C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR8 0xFFE01120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR9 0xFFE01124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR10 0xFFE01128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR11 0xFFE0112C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR12 0xFFE01130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR13 0xFFE01134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR14 0xFFE01138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR15 0xFFE0113C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_DATA0 0xFFE01200 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA1 0xFFE01204 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA2 0xFFE01208 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA3 0xFFE0120C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA4 0xFFE01210 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA5 0xFFE01214 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA6 0xFFE01218 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA7 0xFFE0121C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA8 0xFFE01220 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA9 0xFFE01224 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA10 0xFFE01228 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA11 0xFFE0122C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA12 0xFFE01230 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA13 0xFFE01234 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA14 0xFFE01238 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA15 0xFFE0123C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-#define L1IBNKA_PELOC 0xFFE01408 /* Instruction Bank A Parity Error Location */
-#define L1IBNKB_PELOC 0xFFE0140C /* Instruction Bank B Parity Error Location */
-#define L1IBNKC_PELOC 0xFFE01410 /* Instruction Bank C Parity Error Location */
-
-/* =========================
- L1IM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMEM_CONTROL_LRUPRIORST 13 /* LRU Priority Reset */
-#define BITP_IMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_IMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_IMEM_CONTROL_LOC 3 /* Cache Way Lock */
-#define BITP_IMEM_CONTROL_CFG 2 /* Configure L1 code memory as cache */
-#define BITP_IMEM_CONTROL_ENCPLB 1 /* Enable ICPLB */
-
-#define BITM_IMEM_CONTROL_LRUPRIORST (_ADI_MSK(0x00002000,uint32_t)) /* LRU Priority Reset */
-#define ENUM_IMEM_CONTROL_LRUPRIO_EN (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIORST: LRU Priority functionality is enabled */
-#define ENUM_IMEM_CONTROL_LRUPRIO_CLR (_ADI_MSK(0x00002000,uint32_t)) /* LRUPRIORST: All cached LRU priority bits are cleared */
-
-#define BITM_IMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_IMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_IMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_IMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_IMEM_CONTROL_LOC (_ADI_MSK(0x00000078,uint32_t)) /* Cache Way Lock */
-#define ENUM_IMEM_CONTROL_WAYLOCK_NONE (_ADI_MSK(0x00000000,uint32_t)) /* LOC: All Ways Not Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_0 (_ADI_MSK(0x00000008,uint32_t)) /* LOC: Way3, Way2, Way1 Not Locked, Way0 Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_ALL (_ADI_MSK(0x00000078,uint32_t)) /* LOC: All Ways Locked */
-
-#define BITM_IMEM_CONTROL_CFG (_ADI_MSK(0x00000004,uint32_t)) /* Configure L1 code memory as cache */
-#define ENUM_IMEM_CONTROL_CFG_SRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: L1 Instruction Memory Configured as SRAM */
-#define ENUM_IMEM_CONTROL_CFG_CACHE (_ADI_MSK(0x00000004,uint32_t)) /* CFG: L1 Instruction Memory Configures as Cache */
-
-#define BITM_IMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable ICPLB */
-#define ENUM_IMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs disabled */
-#define ENUM_IMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_ICPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_ICPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_ICPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_ICPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_ICPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_ICPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_ICPLB_DATA_L1_CHBL 12 /* L1 Cacheable */
-#define BITP_ICPLB_DATA_LRUPRIO 8 /* Least Recently Used Priority */
-#define BITP_ICPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_ICPLB_DATA_UREAD 2 /* Allow User Read */
-#define BITP_ICPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_ICPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_ICPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_ICPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_ICPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_ICPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_ICPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_ICPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_ICPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_ICPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_ICPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_ICPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* L1 Cacheable */
-#define ENUM_ICPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_ICPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_ICPLB_DATA_LRUPRIO (_ADI_MSK(0x00000100,uint32_t)) /* Least Recently Used Priority */
-#define ENUM_ICPLB_DATA_LRUPRIO_LO (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIO: Low Importance */
-#define ENUM_ICPLB_DATA_LRUPRIO_HI (_ADI_MSK(0x00000100,uint32_t)) /* LRUPRIO: High Importance */
-#define BITM_ICPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* Allow User Read */
-#define ENUM_ICPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_ICPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_ICPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_ICPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_ICPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid (disabled) CPLB Entry */
-#define ENUM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid (enabled) CPLB Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ITEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ITEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_ITEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_ITEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bits 11:10 */
-#define BITP_ITEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_ITEST_COMMAND_SET 5 /* Set Index */
-#define BITP_ITEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_ITEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_ITEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_ITEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_ITEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_ITEST_COMMAND_WAYSEL (_ADI_MSK(0x0C000000,uint32_t)) /* Access Way/Instruction Address Bits 11:10 */
-#define BITM_ITEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_ITEST_COMMAND_SET (_ADI_MSK(0x000003E0,uint32_t)) /* Set Index */
-#define BITM_ITEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_ITEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_ITEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKC_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKC_PELOC_TAGPAIR 4 /* Tag Parity Status */
-#define BITP_L1IBNKC_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKC_PELOC_TAGPAIR (_ADI_MSK(0x00000030,uint32_t)) /* Tag Parity Status */
-#define BITM_L1IBNKC_PELOC_MEMBLK (_ADI_MSK(0x0000000F,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Interrupt Controller Registers
- ================================================== */
-
-/* =========================
- ICU0
- ========================= */
-#define EVT0 0xFFE02000 /* Event Vector */
-#define EVT1 0xFFE02004 /* Event Vector */
-#define EVT2 0xFFE02008 /* Event Vector */
-#define EVT3 0xFFE0200C /* Event Vector */
-#define EVT4 0xFFE02010 /* Event Vector */
-#define EVT5 0xFFE02014 /* Event Vector */
-#define EVT6 0xFFE02018 /* Event Vector */
-#define EVT7 0xFFE0201C /* Event Vector */
-#define EVT8 0xFFE02020 /* Event Vector */
-#define EVT9 0xFFE02024 /* Event Vector */
-#define EVT10 0xFFE02028 /* Event Vector */
-#define EVT11 0xFFE0202C /* Event Vector */
-#define EVT12 0xFFE02030 /* Event Vector */
-#define EVT13 0xFFE02034 /* Event Vector */
-#define EVT14 0xFFE02038 /* Event Vector */
-#define EVT15 0xFFE0203C /* Event Vector */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupts Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-#define IPRIO 0xFFE02110 /* Interrupt Priority Register */
-#define CEC_SID 0xFFE02118 /* Core System Interrupt ID */
-
-/* =========================
- ICU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMASK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMASK_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IMASK_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IMASK_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IMASK_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IMASK_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IMASK_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IMASK_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IMASK_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IMASK_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IMASK_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IMASK_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IMASK_UNMASKABLE 0 /* Unmaskable interrupts */
-#define BITM_IMASK_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IMASK_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IMASK_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IMASK_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IMASK_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IMASK_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IMASK_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IMASK_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IMASK_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IMASK_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IMASK_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IMASK_UNMASKABLE (_ADI_MSK(0x0000001F,uint32_t)) /* Unmaskable interrupts */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPEND_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IPEND_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IPEND_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IPEND_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IPEND_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IPEND_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IPEND_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IPEND_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IPEND_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IPEND_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IPEND_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IPEND_IRPTEN 4 /* Global interrupt enable bit position */
-#define BITP_IPEND_EVX 3 /* Exception bit position */
-#define BITP_IPEND_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_IPEND_RST 1 /* Reset interrupt bit position */
-#define BITP_IPEND_EMU 0 /* Emulator interrupt bit position */
-#define BITM_IPEND_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IPEND_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IPEND_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IPEND_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IPEND_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IPEND_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IPEND_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IPEND_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IPEND_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IPEND_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IPEND_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IPEND_IRPTEN (_ADI_MSK(0x00000010,uint32_t)) /* Global interrupt enable bit position */
-#define BITM_IPEND_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_IPEND_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_IPEND_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_IPEND_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ILAT_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_ILAT_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_ILAT_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_ILAT_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_ILAT_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_ILAT_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_ILAT_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_ILAT_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_ILAT_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_ILAT_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_ILAT_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_ILAT_EVX 3 /* Exception bit position */
-#define BITP_ILAT_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_ILAT_RST 1 /* Reset interrupt bit position */
-#define BITP_ILAT_EMU 0 /* Emulator interrupt bit position */
-#define BITM_ILAT_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_ILAT_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_ILAT_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_ILAT_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_ILAT_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_ILAT_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_ILAT_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_ILAT_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_ILAT_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_ILAT_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_ILAT_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_ILAT_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_ILAT_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_ILAT_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_ILAT_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPRIO_IPRIO_MARK 0 /* Priority Watermark */
-#define BITM_IPRIO_IPRIO_MARK (_ADI_MSK(0x0000000F,uint32_t)) /* Priority Watermark */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CEC_SID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CEC_SID_SID 0 /* System Interrupt ID */
-#define BITM_CEC_SID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* System Interrupt ID */
-
-/* ==================================================
- Core Timer Registers
- ================================================== */
-
-/* =========================
- TMR0
- ========================= */
-#define TCNTL 0xFFE03000 /* Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Timer Period Register */
-#define TSCALE 0xFFE03008 /* Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Timer Count Register */
-
-/* =========================
- TMR
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TCNTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TCNTL_INT 3 /* Interrupt Status (sticky) */
-#define BITP_TCNTL_AUTORLD 2 /* Auto Reload Enable */
-#define BITP_TCNTL_EN 1 /* Timer Enable */
-#define BITP_TCNTL_PWR 0 /* Low Power Mode Select */
-#define BITM_TCNTL_INT (_ADI_MSK(0x00000008,uint32_t)) /* Interrupt Status (sticky) */
-#define BITM_TCNTL_AUTORLD (_ADI_MSK(0x00000004,uint32_t)) /* Auto Reload Enable */
-#define BITM_TCNTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Timer Enable */
-#define BITM_TCNTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Low Power Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TSCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TSCALE_SCALE 0 /* Timer Scaling Value */
-#define BITM_TSCALE_SCALE (_ADI_MSK(0x000000FF,uint32_t)) /* Timer Scaling Value */
-
-/* ==================================================
- Debug Unit Registers
- ================================================== */
-
-/* =========================
- DBG0
- ========================= */
-#define DSPID 0xFFE05000 /* DSP Identification Register */
-
-/* =========================
- DBG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DSPID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DSPID_COMPANY 24 /* Analog Devices, Inc. */
-#define BITP_DSPID_MAJOR 16 /* Major Architectural Change */
-#define BITP_DSPID_COREID 0 /* Core ID */
-#define BITM_DSPID_COMPANY (_ADI_MSK(0xFF000000,uint32_t)) /* Analog Devices, Inc. */
-
-#define BITM_DSPID_MAJOR (_ADI_MSK(0x00FF0000,uint32_t)) /* Major Architectural Change */
-#define ENUM_DSPID_BF533 (_ADI_MSK(0x00040000,uint32_t)) /* MAJOR: ADSP-BF533 Core Compatible */
-#define BITM_DSPID_COREID (_ADI_MSK(0x000000FF,uint32_t)) /* Core ID */
-
-/* ==================================================
- Trace Unit Registers
- ================================================== */
-
-/* =========================
- TB0
- ========================= */
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* =========================
- TB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFCTL_COMPRESS 3 /* Trace Buffer Compression */
-#define BITP_TBUFCTL_OVF 2 /* Trace Buffer Overflow */
-#define BITP_TBUFCTL_EN 1 /* Trace Buffer Enable */
-#define BITP_TBUFCTL_PWR 0 /* Trace Buffer Power */
-#define BITM_TBUFCTL_COMPRESS (_ADI_MSK(0x00000018,uint32_t)) /* Trace Buffer Compression */
-#define BITM_TBUFCTL_OVF (_ADI_MSK(0x00000004,uint32_t)) /* Trace Buffer Overflow */
-#define BITM_TBUFCTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Trace Buffer Enable */
-#define BITM_TBUFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Trace Buffer Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFSTAT_CNT 0 /* Trace Buffer Count */
-#define BITM_TBUFSTAT_CNT (_ADI_MSK(0x0000001F,uint32_t)) /* Trace Buffer Count */
-
-/* ==================================================
- Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- WP0
- ========================= */
-#define WPIACTL 0xFFE07000 /* Watchpoint Instruction Address Control Register 01 */
-#define WPIA0 0xFFE07040 /* Watchpoint Instruction Address Register */
-#define WPIA1 0xFFE07044 /* Watchpoint Instruction Address Register */
-#define WPIA2 0xFFE07048 /* Watchpoint Instruction Address Register */
-#define WPIA3 0xFFE0704C /* Watchpoint Instruction Address Register */
-#define WPIA4 0xFFE07050 /* Watchpoint Instruction Address Register */
-#define WPIA5 0xFFE07054 /* Watchpoint Instruction Address Register */
-#define WPIACNT0 0xFFE07080 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT1 0xFFE07084 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT2 0xFFE07088 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT3 0xFFE0708C /* Watchpoint Instruction Address Count Register */
-#define WPIACNT4 0xFFE07090 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT5 0xFFE07094 /* Watchpoint Instruction Address Count Register */
-#define WPDACTL 0xFFE07100 /* Watchpoint Data Address Control Register */
-#define WPDA0 0xFFE07140 /* Watchpoint Data Address Register */
-#define WPDA1 0xFFE07144 /* Watchpoint Data Address Register */
-#define WPDACNT0 0xFFE07180 /* Watchpoint Data Address Count Value Register */
-#define WPDACNT1 0xFFE07184 /* Watchpoint Data Address Count Value Register */
-#define WPSTAT 0xFFE07200 /* Watchpoint Status Register */
-
-/* =========================
- WP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACTL_WPAND 25 /* And Triggers */
-#define BITP_WPIACTL_ACT5 24 /* Action field for WPIA5 */
-#define BITP_WPIACTL_ACT4 23 /* Action field for WPIA4 */
-#define BITP_WPIACTL_ENCNT5 22 /* Enable Counter for WPIA5 */
-#define BITP_WPIACTL_ENCNT4 21 /* Enable Counter for WPIA4 */
-#define BITP_WPIACTL_ENIA5 20 /* Enable WPIA5 */
-#define BITP_WPIACTL_ENIA4 19 /* Enable WPIA4 */
-#define BITP_WPIACTL_INVIR45 18 /* Invert Instruction Range 45 */
-#define BITP_WPIACTL_ENIR45 17 /* Enable Instruction Range 45 */
-#define BITP_WPIACTL_ACT3 16 /* Action field for WPIA3 */
-#define BITP_WPIACTL_ACT2 15 /* Action field for WPIA2 */
-#define BITP_WPIACTL_ENCNT3 14 /* Enable Counter for WPIA3 */
-#define BITP_WPIACTL_ENCNT2 13 /* Enable Counter for WPIA2 */
-#define BITP_WPIACTL_ENIA3 12 /* Enable WPIA3 */
-#define BITP_WPIACTL_ENIA2 11 /* Enable WPIA2 */
-#define BITP_WPIACTL_INVIR23 10 /* Invert Instruction Range 23 */
-#define BITP_WPIACTL_ENIR23 9 /* Enable Instruction Range 23 */
-#define BITP_WPIACTL_ACT1 8 /* Action field for WPIA1 */
-#define BITP_WPIACTL_ACT0 7 /* Action field for WPIA0 */
-#define BITP_WPIACTL_ENCNT1 6 /* Enable Counter for WPIA1 */
-#define BITP_WPIACTL_ENCNT0 5 /* Enable Counter for WPIA0 */
-#define BITP_WPIACTL_ENIA1 4 /* Enable WPIA1 */
-#define BITP_WPIACTL_ENIA0 3 /* Enable WPIA0 */
-#define BITP_WPIACTL_INVIR01 2 /* Invert Instruction Range 01 */
-#define BITP_WPIACTL_ENIR01 1 /* Enable Instruction Range 01 */
-#define BITP_WPIACTL_PWR 0 /* Power */
-#define BITM_WPIACTL_WPAND (_ADI_MSK(0x02000000,uint32_t)) /* And Triggers */
-#define BITM_WPIACTL_ACT5 (_ADI_MSK(0x01000000,uint32_t)) /* Action field for WPIA5 */
-#define BITM_WPIACTL_ACT4 (_ADI_MSK(0x00800000,uint32_t)) /* Action field for WPIA4 */
-#define BITM_WPIACTL_ENCNT5 (_ADI_MSK(0x00400000,uint32_t)) /* Enable Counter for WPIA5 */
-#define BITM_WPIACTL_ENCNT4 (_ADI_MSK(0x00200000,uint32_t)) /* Enable Counter for WPIA4 */
-#define BITM_WPIACTL_ENIA5 (_ADI_MSK(0x00100000,uint32_t)) /* Enable WPIA5 */
-#define BITM_WPIACTL_ENIA4 (_ADI_MSK(0x00080000,uint32_t)) /* Enable WPIA4 */
-#define BITM_WPIACTL_INVIR45 (_ADI_MSK(0x00040000,uint32_t)) /* Invert Instruction Range 45 */
-#define BITM_WPIACTL_ENIR45 (_ADI_MSK(0x00020000,uint32_t)) /* Enable Instruction Range 45 */
-#define BITM_WPIACTL_ACT3 (_ADI_MSK(0x00010000,uint32_t)) /* Action field for WPIA3 */
-#define BITM_WPIACTL_ACT2 (_ADI_MSK(0x00008000,uint32_t)) /* Action field for WPIA2 */
-#define BITM_WPIACTL_ENCNT3 (_ADI_MSK(0x00004000,uint32_t)) /* Enable Counter for WPIA3 */
-#define BITM_WPIACTL_ENCNT2 (_ADI_MSK(0x00002000,uint32_t)) /* Enable Counter for WPIA2 */
-#define BITM_WPIACTL_ENIA3 (_ADI_MSK(0x00001000,uint32_t)) /* Enable WPIA3 */
-#define BITM_WPIACTL_ENIA2 (_ADI_MSK(0x00000800,uint32_t)) /* Enable WPIA2 */
-#define BITM_WPIACTL_INVIR23 (_ADI_MSK(0x00000400,uint32_t)) /* Invert Instruction Range 23 */
-#define BITM_WPIACTL_ENIR23 (_ADI_MSK(0x00000200,uint32_t)) /* Enable Instruction Range 23 */
-#define BITM_WPIACTL_ACT1 (_ADI_MSK(0x00000100,uint32_t)) /* Action field for WPIA1 */
-#define BITM_WPIACTL_ACT0 (_ADI_MSK(0x00000080,uint32_t)) /* Action field for WPIA0 */
-#define BITM_WPIACTL_ENCNT1 (_ADI_MSK(0x00000040,uint32_t)) /* Enable Counter for WPIA1 */
-#define BITM_WPIACTL_ENCNT0 (_ADI_MSK(0x00000020,uint32_t)) /* Enable Counter for WPIA0 */
-#define BITM_WPIACTL_ENIA1 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPIA1 */
-#define BITM_WPIACTL_ENIA0 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPIA0 */
-#define BITM_WPIACTL_INVIR01 (_ADI_MSK(0x00000004,uint32_t)) /* Invert Instruction Range 01 */
-#define BITM_WPIACTL_ENIR01 (_ADI_MSK(0x00000002,uint32_t)) /* Enable Instruction Range 01 */
-#define BITM_WPIACTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACNT_CNT 0 /* Count Value */
-#define BITM_WPIACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACTL_ACC1 12 /* Access type for WPDA1 */
-#define BITP_WPDACTL_SRC1 10 /* DAG Source for WPDA1 */
-#define BITP_WPDACTL_ACC0 8 /* Access type for WPDA0 */
-#define BITP_WPDACTL_SRC0 6 /* DAG Source for WPDA0 */
-#define BITP_WPDACTL_ENCNT1 5 /* Enable WPDA1 Counter */
-#define BITP_WPDACTL_ENCNT0 4 /* Enable WPDA0 Counter */
-#define BITP_WPDACTL_ENDA1 3 /* Enable WPDA1 */
-#define BITP_WPDACTL_ENDA0 2 /* Enable WPDA0 */
-#define BITP_WPDACTL_INVR 1 /* Invert Range Comparision */
-#define BITP_WPDACTL_ENR 0 /* Enable Range Comparison */
-#define BITM_WPDACTL_ACC1 (_ADI_MSK(0x00003000,uint32_t)) /* Access type for WPDA1 */
-#define BITM_WPDACTL_SRC1 (_ADI_MSK(0x00000C00,uint32_t)) /* DAG Source for WPDA1 */
-#define BITM_WPDACTL_ACC0 (_ADI_MSK(0x00000300,uint32_t)) /* Access type for WPDA0 */
-#define BITM_WPDACTL_SRC0 (_ADI_MSK(0x000000C0,uint32_t)) /* DAG Source for WPDA0 */
-#define BITM_WPDACTL_ENCNT1 (_ADI_MSK(0x00000020,uint32_t)) /* Enable WPDA1 Counter */
-#define BITM_WPDACTL_ENCNT0 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPDA0 Counter */
-#define BITM_WPDACTL_ENDA1 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPDA1 */
-#define BITM_WPDACTL_ENDA0 (_ADI_MSK(0x00000004,uint32_t)) /* Enable WPDA0 */
-#define BITM_WPDACTL_INVR (_ADI_MSK(0x00000002,uint32_t)) /* Invert Range Comparision */
-#define BITM_WPDACTL_ENR (_ADI_MSK(0x00000001,uint32_t)) /* Enable Range Comparison */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACNT_CNT 0 /* Count Value */
-#define BITM_WPDACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPSTAT_DA1 7 /* WPDA1 match */
-#define BITP_WPSTAT_DA0 6 /* WPDA0 or WPDA0:1 range match */
-#define BITP_WPSTAT_IA5 5 /* WPIA5 match */
-#define BITP_WPSTAT_IA4 4 /* WPIA4 or WPIA4:5 range match */
-#define BITP_WPSTAT_IA3 3 /* WPIA3 match */
-#define BITP_WPSTAT_IA2 2 /* WPIA2 or WPIA2:3 range match */
-#define BITP_WPSTAT_IA1 1 /* WPIA1 match */
-#define BITP_WPSTAT_IA0 0 /* WPIA0 or WPIA0:1 range match */
-#define BITM_WPSTAT_DA1 (_ADI_MSK(0x00000080,uint32_t)) /* WPDA1 match */
-#define BITM_WPSTAT_DA0 (_ADI_MSK(0x00000040,uint32_t)) /* WPDA0 or WPDA0:1 range match */
-#define BITM_WPSTAT_IA5 (_ADI_MSK(0x00000020,uint32_t)) /* WPIA5 match */
-#define BITM_WPSTAT_IA4 (_ADI_MSK(0x00000010,uint32_t)) /* WPIA4 or WPIA4:5 range match */
-#define BITM_WPSTAT_IA3 (_ADI_MSK(0x00000008,uint32_t)) /* WPIA3 match */
-#define BITM_WPSTAT_IA2 (_ADI_MSK(0x00000004,uint32_t)) /* WPIA2 or WPIA2:3 range match */
-#define BITM_WPSTAT_IA1 (_ADI_MSK(0x00000002,uint32_t)) /* WPIA1 match */
-#define BITM_WPSTAT_IA0 (_ADI_MSK(0x00000001,uint32_t)) /* WPIA0 or WPIA0:1 range match */
-
-/* ==================================================
- Performance Monitor Registers
- ================================================== */
-
-/* =========================
- PF0
- ========================= */
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter 1 */
-
-/* =========================
- PF
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PFCTL_CNT1 25 /* Count Cycles or Edges 1 */
-#define BITP_PFCTL_CNT0 24 /* Count Cycles or Edges 0 */
-#define BITP_PFCTL_MON1 16 /* Monitor 1 Events */
-#define BITP_PFCTL_ENA1 14 /* Enable Monitor 1 */
-#define BITP_PFCTL_EVENT1 13 /* Emulator or Exception Event 1 */
-#define BITP_PFCTL_MON0 5 /* Monitor 0 Events */
-#define BITP_PFCTL_ENA0 3 /* Enable Monitor 0 */
-#define BITP_PFCTL_EVENT0 2 /* Emulator or Exception Event 0 */
-#define BITP_PFCTL_PWR 0 /* Power */
-#define BITM_PFCTL_CNT1 (_ADI_MSK(0x02000000,uint32_t)) /* Count Cycles or Edges 1 */
-#define BITM_PFCTL_CNT0 (_ADI_MSK(0x01000000,uint32_t)) /* Count Cycles or Edges 0 */
-#define BITM_PFCTL_MON1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Monitor 1 Events */
-#define BITM_PFCTL_ENA1 (_ADI_MSK(0x0000C000,uint32_t)) /* Enable Monitor 1 */
-#define BITM_PFCTL_EVENT1 (_ADI_MSK(0x00002000,uint32_t)) /* Emulator or Exception Event 1 */
-#define BITM_PFCTL_MON0 (_ADI_MSK(0x00001FE0,uint32_t)) /* Monitor 0 Events */
-#define BITM_PFCTL_ENA0 (_ADI_MSK(0x00000018,uint32_t)) /* Enable Monitor 0 */
-#define BITM_PFCTL_EVENT0 (_ADI_MSK(0x00000004,uint32_t)) /* Emulator or Exception Event 0 */
-#define BITM_PFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ==================================
- DMA Alias Definitions
- ================================== */
-#define SPORT0_A_DMA_DSCPTR_NXT (REG_DMA0_DSCPTR_NXT)
-#define SPORT0_A_DMA_ADDRSTART (REG_DMA0_ADDRSTART)
-#define SPORT0_A_DMA_CFG (REG_DMA0_CFG)
-#define SPORT0_A_DMA_XCNT (REG_DMA0_XCNT)
-#define SPORT0_A_DMA_XMOD (REG_DMA0_XMOD)
-#define SPORT0_A_DMA_YCNT (REG_DMA0_YCNT)
-#define SPORT0_A_DMA_YMOD (REG_DMA0_YMOD)
-#define SPORT0_A_DMA_DSCPTR_CUR (REG_DMA0_DSCPTR_CUR)
-#define SPORT0_A_DMA_DSCPTR_PRV (REG_DMA0_DSCPTR_PRV)
-#define SPORT0_A_DMA_ADDR_CUR (REG_DMA0_ADDR_CUR)
-#define SPORT0_A_DMA_STAT (REG_DMA0_STAT)
-#define SPORT0_A_DMA_XCNT_CUR (REG_DMA0_XCNT_CUR)
-#define SPORT0_A_DMA_YCNT_CUR (REG_DMA0_YCNT_CUR)
-#define SPORT0_A_DMA_BWLCNT (REG_DMA0_BWLCNT)
-#define SPORT0_A_DMA_BWLCNT_CUR (REG_DMA0_BWLCNT_CUR)
-#define SPORT0_A_DMA_BWMCNT (REG_DMA0_BWMCNT)
-#define SPORT0_A_DMA_BWMCNT_CUR (REG_DMA0_BWMCNT_CUR)
-#define SPORT0_B_DMA_DSCPTR_NXT (REG_DMA1_DSCPTR_NXT)
-#define SPORT0_B_DMA_ADDRSTART (REG_DMA1_ADDRSTART)
-#define SPORT0_B_DMA_CFG (REG_DMA1_CFG)
-#define SPORT0_B_DMA_XCNT (REG_DMA1_XCNT)
-#define SPORT0_B_DMA_XMOD (REG_DMA1_XMOD)
-#define SPORT0_B_DMA_YCNT (REG_DMA1_YCNT)
-#define SPORT0_B_DMA_YMOD (REG_DMA1_YMOD)
-#define SPORT0_B_DMA_DSCPTR_CUR (REG_DMA1_DSCPTR_CUR)
-#define SPORT0_B_DMA_DSCPTR_PRV (REG_DMA1_DSCPTR_PRV)
-#define SPORT0_B_DMA_ADDR_CUR (REG_DMA1_ADDR_CUR)
-#define SPORT0_B_DMA_STAT (REG_DMA1_STAT)
-#define SPORT0_B_DMA_XCNT_CUR (REG_DMA1_XCNT_CUR)
-#define SPORT0_B_DMA_YCNT_CUR (REG_DMA1_YCNT_CUR)
-#define SPORT0_B_DMA_BWLCNT (REG_DMA1_BWLCNT)
-#define SPORT0_B_DMA_BWLCNT_CUR (REG_DMA1_BWLCNT_CUR)
-#define SPORT0_B_DMA_BWMCNT (REG_DMA1_BWMCNT)
-#define SPORT0_B_DMA_BWMCNT_CUR (REG_DMA1_BWMCNT_CUR)
-#define SPORT1_A_DMA_DSCPTR_NXT (REG_DMA2_DSCPTR_NXT)
-#define SPORT1_A_DMA_ADDRSTART (REG_DMA2_ADDRSTART)
-#define SPORT1_A_DMA_CFG (REG_DMA2_CFG)
-#define SPORT1_A_DMA_XCNT (REG_DMA2_XCNT)
-#define SPORT1_A_DMA_XMOD (REG_DMA2_XMOD)
-#define SPORT1_A_DMA_YCNT (REG_DMA2_YCNT)
-#define SPORT1_A_DMA_YMOD (REG_DMA2_YMOD)
-#define SPORT1_A_DMA_DSCPTR_CUR (REG_DMA2_DSCPTR_CUR)
-#define SPORT1_A_DMA_DSCPTR_PRV (REG_DMA2_DSCPTR_PRV)
-#define SPORT1_A_DMA_ADDR_CUR (REG_DMA2_ADDR_CUR)
-#define SPORT1_A_DMA_STAT (REG_DMA2_STAT)
-#define SPORT1_A_DMA_XCNT_CUR (REG_DMA2_XCNT_CUR)
-#define SPORT1_A_DMA_YCNT_CUR (REG_DMA2_YCNT_CUR)
-#define SPORT1_A_DMA_BWLCNT (REG_DMA2_BWLCNT)
-#define SPORT1_A_DMA_BWLCNT_CUR (REG_DMA2_BWLCNT_CUR)
-#define SPORT1_A_DMA_BWMCNT (REG_DMA2_BWMCNT)
-#define SPORT1_A_DMA_BWMCNT_CUR (REG_DMA2_BWMCNT_CUR)
-#define SPORT1_B_DMA_DSCPTR_NXT (REG_DMA3_DSCPTR_NXT)
-#define SPORT1_B_DMA_ADDRSTART (REG_DMA3_ADDRSTART)
-#define SPORT1_B_DMA_CFG (REG_DMA3_CFG)
-#define SPORT1_B_DMA_XCNT (REG_DMA3_XCNT)
-#define SPORT1_B_DMA_XMOD (REG_DMA3_XMOD)
-#define SPORT1_B_DMA_YCNT (REG_DMA3_YCNT)
-#define SPORT1_B_DMA_YMOD (REG_DMA3_YMOD)
-#define SPORT1_B_DMA_DSCPTR_CUR (REG_DMA3_DSCPTR_CUR)
-#define SPORT1_B_DMA_DSCPTR_PRV (REG_DMA3_DSCPTR_PRV)
-#define SPORT1_B_DMA_ADDR_CUR (REG_DMA3_ADDR_CUR)
-#define SPORT1_B_DMA_STAT (REG_DMA3_STAT)
-#define SPORT1_B_DMA_XCNT_CUR (REG_DMA3_XCNT_CUR)
-#define SPORT1_B_DMA_YCNT_CUR (REG_DMA3_YCNT_CUR)
-#define SPORT1_B_DMA_BWLCNT (REG_DMA3_BWLCNT)
-#define SPORT1_B_DMA_BWLCNT_CUR (REG_DMA3_BWLCNT_CUR)
-#define SPORT1_B_DMA_BWMCNT (REG_DMA3_BWMCNT)
-#define SPORT1_B_DMA_BWMCNT_CUR (REG_DMA3_BWMCNT_CUR)
-#define SPORT2_A_DMA_DSCPTR_NXT (REG_DMA4_DSCPTR_NXT)
-#define SPORT2_A_DMA_ADDRSTART (REG_DMA4_ADDRSTART)
-#define SPORT2_A_DMA_CFG (REG_DMA4_CFG)
-#define SPORT2_A_DMA_XCNT (REG_DMA4_XCNT)
-#define SPORT2_A_DMA_XMOD (REG_DMA4_XMOD)
-#define SPORT2_A_DMA_YCNT (REG_DMA4_YCNT)
-#define SPORT2_A_DMA_YMOD (REG_DMA4_YMOD)
-#define SPORT2_A_DMA_DSCPTR_CUR (REG_DMA4_DSCPTR_CUR)
-#define SPORT2_A_DMA_DSCPTR_PRV (REG_DMA4_DSCPTR_PRV)
-#define SPORT2_A_DMA_ADDR_CUR (REG_DMA4_ADDR_CUR)
-#define SPORT2_A_DMA_STAT (REG_DMA4_STAT)
-#define SPORT2_A_DMA_XCNT_CUR (REG_DMA4_XCNT_CUR)
-#define SPORT2_A_DMA_YCNT_CUR (REG_DMA4_YCNT_CUR)
-#define SPORT2_A_DMA_BWLCNT (REG_DMA4_BWLCNT)
-#define SPORT2_A_DMA_BWLCNT_CUR (REG_DMA4_BWLCNT_CUR)
-#define SPORT2_A_DMA_BWMCNT (REG_DMA4_BWMCNT)
-#define SPORT2_A_DMA_BWMCNT_CUR (REG_DMA4_BWMCNT_CUR)
-#define SPORT2_B_DMA_DSCPTR_NXT (REG_DMA5_DSCPTR_NXT)
-#define SPORT2_B_DMA_ADDRSTART (REG_DMA5_ADDRSTART)
-#define SPORT2_B_DMA_CFG (REG_DMA5_CFG)
-#define SPORT2_B_DMA_XCNT (REG_DMA5_XCNT)
-#define SPORT2_B_DMA_XMOD (REG_DMA5_XMOD)
-#define SPORT2_B_DMA_YCNT (REG_DMA5_YCNT)
-#define SPORT2_B_DMA_YMOD (REG_DMA5_YMOD)
-#define SPORT2_B_DMA_DSCPTR_CUR (REG_DMA5_DSCPTR_CUR)
-#define SPORT2_B_DMA_DSCPTR_PRV (REG_DMA5_DSCPTR_PRV)
-#define SPORT2_B_DMA_ADDR_CUR (REG_DMA5_ADDR_CUR)
-#define SPORT2_B_DMA_STAT (REG_DMA5_STAT)
-#define SPORT2_B_DMA_XCNT_CUR (REG_DMA5_XCNT_CUR)
-#define SPORT2_B_DMA_YCNT_CUR (REG_DMA5_YCNT_CUR)
-#define SPORT2_B_DMA_BWLCNT (REG_DMA5_BWLCNT)
-#define SPORT2_B_DMA_BWLCNT_CUR (REG_DMA5_BWLCNT_CUR)
-#define SPORT2_B_DMA_BWMCNT (REG_DMA5_BWMCNT)
-#define SPORT2_B_DMA_BWMCNT_CUR (REG_DMA5_BWMCNT_CUR)
-#define SPI0_TXDMA_DSCPTR_NXT (REG_DMA6_DSCPTR_NXT)
-#define SPI0_TXDMA_ADDRSTART (REG_DMA6_ADDRSTART)
-#define SPI0_TXDMA_CFG (REG_DMA6_CFG)
-#define SPI0_TXDMA_XCNT (REG_DMA6_XCNT)
-#define SPI0_TXDMA_XMOD (REG_DMA6_XMOD)
-#define SPI0_TXDMA_YCNT (REG_DMA6_YCNT)
-#define SPI0_TXDMA_YMOD (REG_DMA6_YMOD)
-#define SPI0_TXDMA_DSCPTR_CUR (REG_DMA6_DSCPTR_CUR)
-#define SPI0_TXDMA_DSCPTR_PRV (REG_DMA6_DSCPTR_PRV)
-#define SPI0_TXDMA_ADDR_CUR (REG_DMA6_ADDR_CUR)
-#define SPI0_TXDMA_STAT (REG_DMA6_STAT)
-#define SPI0_TXDMA_XCNT_CUR (REG_DMA6_XCNT_CUR)
-#define SPI0_TXDMA_YCNT_CUR (REG_DMA6_YCNT_CUR)
-#define SPI0_TXDMA_BWLCNT (REG_DMA6_BWLCNT)
-#define SPI0_TXDMA_BWLCNT_CUR (REG_DMA6_BWLCNT_CUR)
-#define SPI0_TXDMA_BWMCNT (REG_DMA6_BWMCNT)
-#define SPI0_TXDMA_BWMCNT_CUR (REG_DMA6_BWMCNT_CUR)
-#define SPI0_RXDMA_DSCPTR_NXT (REG_DMA7_DSCPTR_NXT)
-#define SPI0_RXDMA_ADDRSTART (REG_DMA7_ADDRSTART)
-#define SPI0_RXDMA_CFG (REG_DMA7_CFG)
-#define SPI0_RXDMA_XCNT (REG_DMA7_XCNT)
-#define SPI0_RXDMA_XMOD (REG_DMA7_XMOD)
-#define SPI0_RXDMA_YCNT (REG_DMA7_YCNT)
-#define SPI0_RXDMA_YMOD (REG_DMA7_YMOD)
-#define SPI0_RXDMA_DSCPTR_CUR (REG_DMA7_DSCPTR_CUR)
-#define SPI0_RXDMA_DSCPTR_PRV (REG_DMA7_DSCPTR_PRV)
-#define SPI0_RXDMA_ADDR_CUR (REG_DMA7_ADDR_CUR)
-#define SPI0_RXDMA_STAT (REG_DMA7_STAT)
-#define SPI0_RXDMA_XCNT_CUR (REG_DMA7_XCNT_CUR)
-#define SPI0_RXDMA_YCNT_CUR (REG_DMA7_YCNT_CUR)
-#define SPI0_RXDMA_BWLCNT (REG_DMA7_BWLCNT)
-#define SPI0_RXDMA_BWLCNT_CUR (REG_DMA7_BWLCNT_CUR)
-#define SPI0_RXDMA_BWMCNT (REG_DMA7_BWMCNT)
-#define SPI0_RXDMA_BWMCNT_CUR (REG_DMA7_BWMCNT_CUR)
-#define SPI1_TXDMA_DSCPTR_NXT (REG_DMA8_DSCPTR_NXT)
-#define SPI1_TXDMA_ADDRSTART (REG_DMA8_ADDRSTART)
-#define SPI1_TXDMA_CFG (REG_DMA8_CFG)
-#define SPI1_TXDMA_XCNT (REG_DMA8_XCNT)
-#define SPI1_TXDMA_XMOD (REG_DMA8_XMOD)
-#define SPI1_TXDMA_YCNT (REG_DMA8_YCNT)
-#define SPI1_TXDMA_YMOD (REG_DMA8_YMOD)
-#define SPI1_TXDMA_DSCPTR_CUR (REG_DMA8_DSCPTR_CUR)
-#define SPI1_TXDMA_DSCPTR_PRV (REG_DMA8_DSCPTR_PRV)
-#define SPI1_TXDMA_ADDR_CUR (REG_DMA8_ADDR_CUR)
-#define SPI1_TXDMA_STAT (REG_DMA8_STAT)
-#define SPI1_TXDMA_XCNT_CUR (REG_DMA8_XCNT_CUR)
-#define SPI1_TXDMA_YCNT_CUR (REG_DMA8_YCNT_CUR)
-#define SPI1_TXDMA_BWLCNT (REG_DMA8_BWLCNT)
-#define SPI1_TXDMA_BWLCNT_CUR (REG_DMA8_BWLCNT_CUR)
-#define SPI1_TXDMA_BWMCNT (REG_DMA8_BWMCNT)
-#define SPI1_TXDMA_BWMCNT_CUR (REG_DMA8_BWMCNT_CUR)
-#define SPI1_RXDMA_DSCPTR_NXT (REG_DMA9_DSCPTR_NXT)
-#define SPI1_RXDMA_ADDRSTART (REG_DMA9_ADDRSTART)
-#define SPI1_RXDMA_CFG (REG_DMA9_CFG)
-#define SPI1_RXDMA_XCNT (REG_DMA9_XCNT)
-#define SPI1_RXDMA_XMOD (REG_DMA9_XMOD)
-#define SPI1_RXDMA_YCNT (REG_DMA9_YCNT)
-#define SPI1_RXDMA_YMOD (REG_DMA9_YMOD)
-#define SPI1_RXDMA_DSCPTR_CUR (REG_DMA9_DSCPTR_CUR)
-#define SPI1_RXDMA_DSCPTR_PRV (REG_DMA9_DSCPTR_PRV)
-#define SPI1_RXDMA_ADDR_CUR (REG_DMA9_ADDR_CUR)
-#define SPI1_RXDMA_STAT (REG_DMA9_STAT)
-#define SPI1_RXDMA_XCNT_CUR (REG_DMA9_XCNT_CUR)
-#define SPI1_RXDMA_YCNT_CUR (REG_DMA9_YCNT_CUR)
-#define SPI1_RXDMA_BWLCNT (REG_DMA9_BWLCNT)
-#define SPI1_RXDMA_BWLCNT_CUR (REG_DMA9_BWLCNT_CUR)
-#define SPI1_RXDMA_BWMCNT (REG_DMA9_BWMCNT)
-#define SPI1_RXDMA_BWMCNT_CUR (REG_DMA9_BWMCNT_CUR)
-#define RSI0_DMA_DSCPTR_NXT (REG_DMA10_DSCPTR_NXT)
-#define RSI0_DMA_ADDRSTART (REG_DMA10_ADDRSTART)
-#define RSI0_DMA_CFG (REG_DMA10_CFG)
-#define RSI0_DMA_XCNT (REG_DMA10_XCNT)
-#define RSI0_DMA_XMOD (REG_DMA10_XMOD)
-#define RSI0_DMA_YCNT (REG_DMA10_YCNT)
-#define RSI0_DMA_YMOD (REG_DMA10_YMOD)
-#define RSI0_DMA_DSCPTR_CUR (REG_DMA10_DSCPTR_CUR)
-#define RSI0_DMA_DSCPTR_PRV (REG_DMA10_DSCPTR_PRV)
-#define RSI0_DMA_ADDR_CUR (REG_DMA10_ADDR_CUR)
-#define RSI0_DMA_STAT (REG_DMA10_STAT)
-#define RSI0_DMA_XCNT_CUR (REG_DMA10_XCNT_CUR)
-#define RSI0_DMA_YCNT_CUR (REG_DMA10_YCNT_CUR)
-#define RSI0_DMA_BWLCNT (REG_DMA10_BWLCNT)
-#define RSI0_DMA_BWLCNT_CUR (REG_DMA10_BWLCNT_CUR)
-#define RSI0_DMA_BWMCNT (REG_DMA10_BWMCNT)
-#define RSI0_DMA_BWMCNT_CUR (REG_DMA10_BWMCNT_CUR)
-#define SDU0_DMA_DSCPTR_NXT (REG_DMA11_DSCPTR_NXT)
-#define SDU0_DMA_ADDRSTART (REG_DMA11_ADDRSTART)
-#define SDU0_DMA_CFG (REG_DMA11_CFG)
-#define SDU0_DMA_XCNT (REG_DMA11_XCNT)
-#define SDU0_DMA_XMOD (REG_DMA11_XMOD)
-#define SDU0_DMA_YCNT (REG_DMA11_YCNT)
-#define SDU0_DMA_YMOD (REG_DMA11_YMOD)
-#define SDU0_DMA_DSCPTR_CUR (REG_DMA11_DSCPTR_CUR)
-#define SDU0_DMA_DSCPTR_PRV (REG_DMA11_DSCPTR_PRV)
-#define SDU0_DMA_ADDR_CUR (REG_DMA11_ADDR_CUR)
-#define SDU0_DMA_STAT (REG_DMA11_STAT)
-#define SDU0_DMA_XCNT_CUR (REG_DMA11_XCNT_CUR)
-#define SDU0_DMA_YCNT_CUR (REG_DMA11_YCNT_CUR)
-#define SDU0_DMA_BWLCNT (REG_DMA11_BWLCNT)
-#define SDU0_DMA_BWLCNT_CUR (REG_DMA11_BWLCNT_CUR)
-#define SDU0_DMA_BWMCNT (REG_DMA11_BWMCNT)
-#define SDU0_DMA_BWMCNT_CUR (REG_DMA11_BWMCNT_CUR)
-#define LP0_DMA_DSCPTR_NXT (REG_DMA13_DSCPTR_NXT)
-#define LP0_DMA_ADDRSTART (REG_DMA13_ADDRSTART)
-#define LP0_DMA_CFG (REG_DMA13_CFG)
-#define LP0_DMA_XCNT (REG_DMA13_XCNT)
-#define LP0_DMA_XMOD (REG_DMA13_XMOD)
-#define LP0_DMA_YCNT (REG_DMA13_YCNT)
-#define LP0_DMA_YMOD (REG_DMA13_YMOD)
-#define LP0_DMA_DSCPTR_CUR (REG_DMA13_DSCPTR_CUR)
-#define LP0_DMA_DSCPTR_PRV (REG_DMA13_DSCPTR_PRV)
-#define LP0_DMA_ADDR_CUR (REG_DMA13_ADDR_CUR)
-#define LP0_DMA_STAT (REG_DMA13_STAT)
-#define LP0_DMA_XCNT_CUR (REG_DMA13_XCNT_CUR)
-#define LP0_DMA_YCNT_CUR (REG_DMA13_YCNT_CUR)
-#define LP0_DMA_BWLCNT (REG_DMA13_BWLCNT)
-#define LP0_DMA_BWLCNT_CUR (REG_DMA13_BWLCNT_CUR)
-#define LP0_DMA_BWMCNT (REG_DMA13_BWMCNT)
-#define LP0_DMA_BWMCNT_CUR (REG_DMA13_BWMCNT_CUR)
-#define LP1_DMA_DSCPTR_NXT (REG_DMA14_DSCPTR_NXT)
-#define LP1_DMA_ADDRSTART (REG_DMA14_ADDRSTART)
-#define LP1_DMA_CFG (REG_DMA14_CFG)
-#define LP1_DMA_XCNT (REG_DMA14_XCNT)
-#define LP1_DMA_XMOD (REG_DMA14_XMOD)
-#define LP1_DMA_YCNT (REG_DMA14_YCNT)
-#define LP1_DMA_YMOD (REG_DMA14_YMOD)
-#define LP1_DMA_DSCPTR_CUR (REG_DMA14_DSCPTR_CUR)
-#define LP1_DMA_DSCPTR_PRV (REG_DMA14_DSCPTR_PRV)
-#define LP1_DMA_ADDR_CUR (REG_DMA14_ADDR_CUR)
-#define LP1_DMA_STAT (REG_DMA14_STAT)
-#define LP1_DMA_XCNT_CUR (REG_DMA14_XCNT_CUR)
-#define LP1_DMA_YCNT_CUR (REG_DMA14_YCNT_CUR)
-#define LP1_DMA_BWLCNT (REG_DMA14_BWLCNT)
-#define LP1_DMA_BWLCNT_CUR (REG_DMA14_BWLCNT_CUR)
-#define LP1_DMA_BWMCNT (REG_DMA14_BWMCNT)
-#define LP1_DMA_BWMCNT_CUR (REG_DMA14_BWMCNT_CUR)
-#define LP2_DMA_DSCPTR_NXT (REG_DMA15_DSCPTR_NXT)
-#define LP2_DMA_ADDRSTART (REG_DMA15_ADDRSTART)
-#define LP2_DMA_CFG (REG_DMA15_CFG)
-#define LP2_DMA_XCNT (REG_DMA15_XCNT)
-#define LP2_DMA_XMOD (REG_DMA15_XMOD)
-#define LP2_DMA_YCNT (REG_DMA15_YCNT)
-#define LP2_DMA_YMOD (REG_DMA15_YMOD)
-#define LP2_DMA_DSCPTR_CUR (REG_DMA15_DSCPTR_CUR)
-#define LP2_DMA_DSCPTR_PRV (REG_DMA15_DSCPTR_PRV)
-#define LP2_DMA_ADDR_CUR (REG_DMA15_ADDR_CUR)
-#define LP2_DMA_STAT (REG_DMA15_STAT)
-#define LP2_DMA_XCNT_CUR (REG_DMA15_XCNT_CUR)
-#define LP2_DMA_YCNT_CUR (REG_DMA15_YCNT_CUR)
-#define LP2_DMA_BWLCNT (REG_DMA15_BWLCNT)
-#define LP2_DMA_BWLCNT_CUR (REG_DMA15_BWLCNT_CUR)
-#define LP2_DMA_BWMCNT (REG_DMA15_BWMCNT)
-#define LP2_DMA_BWMCNT_CUR (REG_DMA15_BWMCNT_CUR)
-#define LP3_DMA_DSCPTR_NXT (REG_DMA16_DSCPTR_NXT)
-#define LP3_DMA_ADDRSTART (REG_DMA16_ADDRSTART)
-#define LP3_DMA_CFG (REG_DMA16_CFG)
-#define LP3_DMA_XCNT (REG_DMA16_XCNT)
-#define LP3_DMA_XMOD (REG_DMA16_XMOD)
-#define LP3_DMA_YCNT (REG_DMA16_YCNT)
-#define LP3_DMA_YMOD (REG_DMA16_YMOD)
-#define LP3_DMA_DSCPTR_CUR (REG_DMA16_DSCPTR_CUR)
-#define LP3_DMA_DSCPTR_PRV (REG_DMA16_DSCPTR_PRV)
-#define LP3_DMA_ADDR_CUR (REG_DMA16_ADDR_CUR)
-#define LP3_DMA_STAT (REG_DMA16_STAT)
-#define LP3_DMA_XCNT_CUR (REG_DMA16_XCNT_CUR)
-#define LP3_DMA_YCNT_CUR (REG_DMA16_YCNT_CUR)
-#define LP3_DMA_BWLCNT (REG_DMA16_BWLCNT)
-#define LP3_DMA_BWLCNT_CUR (REG_DMA16_BWLCNT_CUR)
-#define LP3_DMA_BWMCNT (REG_DMA16_BWMCNT)
-#define LP3_DMA_BWMCNT_CUR (REG_DMA16_BWMCNT_CUR)
-#define UART0_TXDMA_DSCPTR_NXT (REG_DMA17_DSCPTR_NXT)
-#define UART0_TXDMA_ADDRSTART (REG_DMA17_ADDRSTART)
-#define UART0_TXDMA_CFG (REG_DMA17_CFG)
-#define UART0_TXDMA_XCNT (REG_DMA17_XCNT)
-#define UART0_TXDMA_XMOD (REG_DMA17_XMOD)
-#define UART0_TXDMA_YCNT (REG_DMA17_YCNT)
-#define UART0_TXDMA_YMOD (REG_DMA17_YMOD)
-#define UART0_TXDMA_DSCPTR_CUR (REG_DMA17_DSCPTR_CUR)
-#define UART0_TXDMA_DSCPTR_PRV (REG_DMA17_DSCPTR_PRV)
-#define UART0_TXDMA_ADDR_CUR (REG_DMA17_ADDR_CUR)
-#define UART0_TXDMA_STAT (REG_DMA17_STAT)
-#define UART0_TXDMA_XCNT_CUR (REG_DMA17_XCNT_CUR)
-#define UART0_TXDMA_YCNT_CUR (REG_DMA17_YCNT_CUR)
-#define UART0_TXDMA_BWLCNT (REG_DMA17_BWLCNT)
-#define UART0_TXDMA_BWLCNT_CUR (REG_DMA17_BWLCNT_CUR)
-#define UART0_TXDMA_BWMCNT (REG_DMA17_BWMCNT)
-#define UART0_TXDMA_BWMCNT_CUR (REG_DMA17_BWMCNT_CUR)
-#define UART0_RXDMA_DSCPTR_NXT (REG_DMA18_DSCPTR_NXT)
-#define UART0_RXDMA_ADDRSTART (REG_DMA18_ADDRSTART)
-#define UART0_RXDMA_CFG (REG_DMA18_CFG)
-#define UART0_RXDMA_XCNT (REG_DMA18_XCNT)
-#define UART0_RXDMA_XMOD (REG_DMA18_XMOD)
-#define UART0_RXDMA_YCNT (REG_DMA18_YCNT)
-#define UART0_RXDMA_YMOD (REG_DMA18_YMOD)
-#define UART0_RXDMA_DSCPTR_CUR (REG_DMA18_DSCPTR_CUR)
-#define UART0_RXDMA_DSCPTR_PRV (REG_DMA18_DSCPTR_PRV)
-#define UART0_RXDMA_ADDR_CUR (REG_DMA18_ADDR_CUR)
-#define UART0_RXDMA_STAT (REG_DMA18_STAT)
-#define UART0_RXDMA_XCNT_CUR (REG_DMA18_XCNT_CUR)
-#define UART0_RXDMA_YCNT_CUR (REG_DMA18_YCNT_CUR)
-#define UART0_RXDMA_BWLCNT (REG_DMA18_BWLCNT)
-#define UART0_RXDMA_BWLCNT_CUR (REG_DMA18_BWLCNT_CUR)
-#define UART0_RXDMA_BWMCNT (REG_DMA18_BWMCNT)
-#define UART0_RXDMA_BWMCNT_CUR (REG_DMA18_BWMCNT_CUR)
-#define UART1_TXDMA_DSCPTR_NXT (REG_DMA19_DSCPTR_NXT)
-#define UART1_TXDMA_ADDRSTART (REG_DMA19_ADDRSTART)
-#define UART1_TXDMA_CFG (REG_DMA19_CFG)
-#define UART1_TXDMA_XCNT (REG_DMA19_XCNT)
-#define UART1_TXDMA_XMOD (REG_DMA19_XMOD)
-#define UART1_TXDMA_YCNT (REG_DMA19_YCNT)
-#define UART1_TXDMA_YMOD (REG_DMA19_YMOD)
-#define UART1_TXDMA_DSCPTR_CUR (REG_DMA19_DSCPTR_CUR)
-#define UART1_TXDMA_DSCPTR_PRV (REG_DMA19_DSCPTR_PRV)
-#define UART1_TXDMA_ADDR_CUR (REG_DMA19_ADDR_CUR)
-#define UART1_TXDMA_STAT (REG_DMA19_STAT)
-#define UART1_TXDMA_XCNT_CUR (REG_DMA19_XCNT_CUR)
-#define UART1_TXDMA_YCNT_CUR (REG_DMA19_YCNT_CUR)
-#define UART1_TXDMA_BWLCNT (REG_DMA19_BWLCNT)
-#define UART1_TXDMA_BWLCNT_CUR (REG_DMA19_BWLCNT_CUR)
-#define UART1_TXDMA_BWMCNT (REG_DMA19_BWMCNT)
-#define UART1_TXDMA_BWMCNT_CUR (REG_DMA19_BWMCNT_CUR)
-#define UART1_RXDMA_DSCPTR_NXT (REG_DMA20_DSCPTR_NXT)
-#define UART1_RXDMA_ADDRSTART (REG_DMA20_ADDRSTART)
-#define UART1_RXDMA_CFG (REG_DMA20_CFG)
-#define UART1_RXDMA_XCNT (REG_DMA20_XCNT)
-#define UART1_RXDMA_XMOD (REG_DMA20_XMOD)
-#define UART1_RXDMA_YCNT (REG_DMA20_YCNT)
-#define UART1_RXDMA_YMOD (REG_DMA20_YMOD)
-#define UART1_RXDMA_DSCPTR_CUR (REG_DMA20_DSCPTR_CUR)
-#define UART1_RXDMA_DSCPTR_PRV (REG_DMA20_DSCPTR_PRV)
-#define UART1_RXDMA_ADDR_CUR (REG_DMA20_ADDR_CUR)
-#define UART1_RXDMA_STAT (REG_DMA20_STAT)
-#define UART1_RXDMA_XCNT_CUR (REG_DMA20_XCNT_CUR)
-#define UART1_RXDMA_YCNT_CUR (REG_DMA20_YCNT_CUR)
-#define UART1_RXDMA_BWLCNT (REG_DMA20_BWLCNT)
-#define UART1_RXDMA_BWLCNT_CUR (REG_DMA20_BWLCNT_CUR)
-#define UART1_RXDMA_BWMCNT (REG_DMA20_BWMCNT)
-#define UART1_RXDMA_BWMCNT_CUR (REG_DMA20_BWMCNT_CUR)
-#define MDMA0_SRC_DSCPTR_NXT (REG_DMA21_DSCPTR_NXT)
-#define MDMA0_SRC_ADDRSTART (REG_DMA21_ADDRSTART)
-#define MDMA0_SRC_CFG (REG_DMA21_CFG)
-#define MDMA0_SRC_XCNT (REG_DMA21_XCNT)
-#define MDMA0_SRC_XMOD (REG_DMA21_XMOD)
-#define MDMA0_SRC_YCNT (REG_DMA21_YCNT)
-#define MDMA0_SRC_YMOD (REG_DMA21_YMOD)
-#define MDMA0_SRC_DSCPTR_CUR (REG_DMA21_DSCPTR_CUR)
-#define MDMA0_SRC_DSCPTR_PRV (REG_DMA21_DSCPTR_PRV)
-#define MDMA0_SRC_ADDR_CUR (REG_DMA21_ADDR_CUR)
-#define MDMA0_SRC_STAT (REG_DMA21_STAT)
-#define MDMA0_SRC_XCNT_CUR (REG_DMA21_XCNT_CUR)
-#define MDMA0_SRC_YCNT_CUR (REG_DMA21_YCNT_CUR)
-#define MDMA0_SRC_BWLCNT (REG_DMA21_BWLCNT)
-#define MDMA0_SRC_BWLCNT_CUR (REG_DMA21_BWLCNT_CUR)
-#define MDMA0_SRC_BWMCNT (REG_DMA21_BWMCNT)
-#define MDMA0_SRC_BWMCNT_CUR (REG_DMA21_BWMCNT_CUR)
-#define MDMA0_DST_DSCPTR_NXT (REG_DMA22_DSCPTR_NXT)
-#define MDMA0_DST_ADDRSTART (REG_DMA22_ADDRSTART)
-#define MDMA0_DST_CFG (REG_DMA22_CFG)
-#define MDMA0_DST_XCNT (REG_DMA22_XCNT)
-#define MDMA0_DST_XMOD (REG_DMA22_XMOD)
-#define MDMA0_DST_YCNT (REG_DMA22_YCNT)
-#define MDMA0_DST_YMOD (REG_DMA22_YMOD)
-#define MDMA0_DST_DSCPTR_CUR (REG_DMA22_DSCPTR_CUR)
-#define MDMA0_DST_DSCPTR_PRV (REG_DMA22_DSCPTR_PRV)
-#define MDMA0_DST_ADDR_CUR (REG_DMA22_ADDR_CUR)
-#define MDMA0_DST_STAT (REG_DMA22_STAT)
-#define MDMA0_DST_XCNT_CUR (REG_DMA22_XCNT_CUR)
-#define MDMA0_DST_YCNT_CUR (REG_DMA22_YCNT_CUR)
-#define MDMA0_DST_BWLCNT (REG_DMA22_BWLCNT)
-#define MDMA0_DST_BWLCNT_CUR (REG_DMA22_BWLCNT_CUR)
-#define MDMA0_DST_BWMCNT (REG_DMA22_BWMCNT)
-#define MDMA0_DST_BWMCNT_CUR (REG_DMA22_BWMCNT_CUR)
-#define MDMA1_SRC_DSCPTR_NXT (REG_DMA23_DSCPTR_NXT)
-#define MDMA1_SRC_ADDRSTART (REG_DMA23_ADDRSTART)
-#define MDMA1_SRC_CFG (REG_DMA23_CFG)
-#define MDMA1_SRC_XCNT (REG_DMA23_XCNT)
-#define MDMA1_SRC_XMOD (REG_DMA23_XMOD)
-#define MDMA1_SRC_YCNT (REG_DMA23_YCNT)
-#define MDMA1_SRC_YMOD (REG_DMA23_YMOD)
-#define MDMA1_SRC_DSCPTR_CUR (REG_DMA23_DSCPTR_CUR)
-#define MDMA1_SRC_DSCPTR_PRV (REG_DMA23_DSCPTR_PRV)
-#define MDMA1_SRC_ADDR_CUR (REG_DMA23_ADDR_CUR)
-#define MDMA1_SRC_STAT (REG_DMA23_STAT)
-#define MDMA1_SRC_XCNT_CUR (REG_DMA23_XCNT_CUR)
-#define MDMA1_SRC_YCNT_CUR (REG_DMA23_YCNT_CUR)
-#define MDMA1_SRC_BWLCNT (REG_DMA23_BWLCNT)
-#define MDMA1_SRC_BWLCNT_CUR (REG_DMA23_BWLCNT_CUR)
-#define MDMA1_SRC_BWMCNT (REG_DMA23_BWMCNT)
-#define MDMA1_SRC_BWMCNT_CUR (REG_DMA23_BWMCNT_CUR)
-#define MDMA1_DST_DSCPTR_NXT (REG_DMA24_DSCPTR_NXT)
-#define MDMA1_DST_ADDRSTART (REG_DMA24_ADDRSTART)
-#define MDMA1_DST_CFG (REG_DMA24_CFG)
-#define MDMA1_DST_XCNT (REG_DMA24_XCNT)
-#define MDMA1_DST_XMOD (REG_DMA24_XMOD)
-#define MDMA1_DST_YCNT (REG_DMA24_YCNT)
-#define MDMA1_DST_YMOD (REG_DMA24_YMOD)
-#define MDMA1_DST_DSCPTR_CUR (REG_DMA24_DSCPTR_CUR)
-#define MDMA1_DST_DSCPTR_PRV (REG_DMA24_DSCPTR_PRV)
-#define MDMA1_DST_ADDR_CUR (REG_DMA24_ADDR_CUR)
-#define MDMA1_DST_STAT (REG_DMA24_STAT)
-#define MDMA1_DST_XCNT_CUR (REG_DMA24_XCNT_CUR)
-#define MDMA1_DST_YCNT_CUR (REG_DMA24_YCNT_CUR)
-#define MDMA1_DST_BWLCNT (REG_DMA24_BWLCNT)
-#define MDMA1_DST_BWLCNT_CUR (REG_DMA24_BWLCNT_CUR)
-#define MDMA1_DST_BWMCNT (REG_DMA24_BWMCNT)
-#define MDMA1_DST_BWMCNT_CUR (REG_DMA24_BWMCNT_CUR)
-#define MDMA2_SRC_DSCPTR_NXT (REG_DMA25_DSCPTR_NXT)
-#define MDMA2_SRC_ADDRSTART (REG_DMA25_ADDRSTART)
-#define MDMA2_SRC_CFG (REG_DMA25_CFG)
-#define MDMA2_SRC_XCNT (REG_DMA25_XCNT)
-#define MDMA2_SRC_XMOD (REG_DMA25_XMOD)
-#define MDMA2_SRC_YCNT (REG_DMA25_YCNT)
-#define MDMA2_SRC_YMOD (REG_DMA25_YMOD)
-#define MDMA2_SRC_DSCPTR_CUR (REG_DMA25_DSCPTR_CUR)
-#define MDMA2_SRC_DSCPTR_PRV (REG_DMA25_DSCPTR_PRV)
-#define MDMA2_SRC_ADDR_CUR (REG_DMA25_ADDR_CUR)
-#define MDMA2_SRC_STAT (REG_DMA25_STAT)
-#define MDMA2_SRC_XCNT_CUR (REG_DMA25_XCNT_CUR)
-#define MDMA2_SRC_YCNT_CUR (REG_DMA25_YCNT_CUR)
-#define MDMA2_SRC_BWLCNT (REG_DMA25_BWLCNT)
-#define MDMA2_SRC_BWLCNT_CUR (REG_DMA25_BWLCNT_CUR)
-#define MDMA2_SRC_BWMCNT (REG_DMA25_BWMCNT)
-#define MDMA2_SRC_BWMCNT_CUR (REG_DMA25_BWMCNT_CUR)
-#define MDMA2_DST_DSCPTR_NXT (REG_DMA26_DSCPTR_NXT)
-#define MDMA2_DST_ADDRSTART (REG_DMA26_ADDRSTART)
-#define MDMA2_DST_CFG (REG_DMA26_CFG)
-#define MDMA2_DST_XCNT (REG_DMA26_XCNT)
-#define MDMA2_DST_XMOD (REG_DMA26_XMOD)
-#define MDMA2_DST_YCNT (REG_DMA26_YCNT)
-#define MDMA2_DST_YMOD (REG_DMA26_YMOD)
-#define MDMA2_DST_DSCPTR_CUR (REG_DMA26_DSCPTR_CUR)
-#define MDMA2_DST_DSCPTR_PRV (REG_DMA26_DSCPTR_PRV)
-#define MDMA2_DST_ADDR_CUR (REG_DMA26_ADDR_CUR)
-#define MDMA2_DST_STAT (REG_DMA26_STAT)
-#define MDMA2_DST_XCNT_CUR (REG_DMA26_XCNT_CUR)
-#define MDMA2_DST_YCNT_CUR (REG_DMA26_YCNT_CUR)
-#define MDMA2_DST_BWLCNT (REG_DMA26_BWLCNT)
-#define MDMA2_DST_BWLCNT_CUR (REG_DMA26_BWLCNT_CUR)
-#define MDMA2_DST_BWMCNT (REG_DMA26_BWMCNT)
-#define MDMA2_DST_BWMCNT_CUR (REG_DMA26_BWMCNT_CUR)
-#define MDMA3_SRC_DSCPTR_NXT (REG_DMA27_DSCPTR_NXT)
-#define MDMA3_SRC_ADDRSTART (REG_DMA27_ADDRSTART)
-#define MDMA3_SRC_CFG (REG_DMA27_CFG)
-#define MDMA3_SRC_XCNT (REG_DMA27_XCNT)
-#define MDMA3_SRC_XMOD (REG_DMA27_XMOD)
-#define MDMA3_SRC_YCNT (REG_DMA27_YCNT)
-#define MDMA3_SRC_YMOD (REG_DMA27_YMOD)
-#define MDMA3_SRC_DSCPTR_CUR (REG_DMA27_DSCPTR_CUR)
-#define MDMA3_SRC_DSCPTR_PRV (REG_DMA27_DSCPTR_PRV)
-#define MDMA3_SRC_ADDR_CUR (REG_DMA27_ADDR_CUR)
-#define MDMA3_SRC_STAT (REG_DMA27_STAT)
-#define MDMA3_SRC_XCNT_CUR (REG_DMA27_XCNT_CUR)
-#define MDMA3_SRC_YCNT_CUR (REG_DMA27_YCNT_CUR)
-#define MDMA3_SRC_BWLCNT (REG_DMA27_BWLCNT)
-#define MDMA3_SRC_BWLCNT_CUR (REG_DMA27_BWLCNT_CUR)
-#define MDMA3_SRC_BWMCNT (REG_DMA27_BWMCNT)
-#define MDMA3_SRC_BWMCNT_CUR (REG_DMA27_BWMCNT_CUR)
-#define MDMA3_DST_DSCPTR_NXT (REG_DMA28_DSCPTR_NXT)
-#define MDMA3_DST_ADDRSTART (REG_DMA28_ADDRSTART)
-#define MDMA3_DST_CFG (REG_DMA28_CFG)
-#define MDMA3_DST_XCNT (REG_DMA28_XCNT)
-#define MDMA3_DST_XMOD (REG_DMA28_XMOD)
-#define MDMA3_DST_YCNT (REG_DMA28_YCNT)
-#define MDMA3_DST_YMOD (REG_DMA28_YMOD)
-#define MDMA3_DST_DSCPTR_CUR (REG_DMA28_DSCPTR_CUR)
-#define MDMA3_DST_DSCPTR_PRV (REG_DMA28_DSCPTR_PRV)
-#define MDMA3_DST_ADDR_CUR (REG_DMA28_ADDR_CUR)
-#define MDMA3_DST_STAT (REG_DMA28_STAT)
-#define MDMA3_DST_XCNT_CUR (REG_DMA28_XCNT_CUR)
-#define MDMA3_DST_YCNT_CUR (REG_DMA28_YCNT_CUR)
-#define MDMA3_DST_BWLCNT (REG_DMA28_BWLCNT)
-#define MDMA3_DST_BWLCNT_CUR (REG_DMA28_BWLCNT_CUR)
-#define MDMA3_DST_BWMCNT (REG_DMA28_BWMCNT)
-#define MDMA3_DST_BWMCNT_CUR (REG_DMA28_BWMCNT_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_NXT (REG_DMA29_DSCPTR_NXT)
-#define EPPI0_CH0_DMA_ADDRSTART (REG_DMA29_ADDRSTART)
-#define EPPI0_CH0_DMA_CFG (REG_DMA29_CFG)
-#define EPPI0_CH0_DMA_XCNT (REG_DMA29_XCNT)
-#define EPPI0_CH0_DMA_XMOD (REG_DMA29_XMOD)
-#define EPPI0_CH0_DMA_YCNT (REG_DMA29_YCNT)
-#define EPPI0_CH0_DMA_YMOD (REG_DMA29_YMOD)
-#define EPPI0_CH0_DMA_DSCPTR_CUR (REG_DMA29_DSCPTR_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_PRV (REG_DMA29_DSCPTR_PRV)
-#define EPPI0_CH0_DMA_ADDR_CUR (REG_DMA29_ADDR_CUR)
-#define EPPI0_CH0_DMA_STAT (REG_DMA29_STAT)
-#define EPPI0_CH0_DMA_XCNT_CUR (REG_DMA29_XCNT_CUR)
-#define EPPI0_CH0_DMA_YCNT_CUR (REG_DMA29_YCNT_CUR)
-#define EPPI0_CH0_DMA_BWLCNT (REG_DMA29_BWLCNT)
-#define EPPI0_CH0_DMA_BWLCNT_CUR (REG_DMA29_BWLCNT_CUR)
-#define EPPI0_CH0_DMA_BWMCNT (REG_DMA29_BWMCNT)
-#define EPPI0_CH0_DMA_BWMCNT_CUR (REG_DMA29_BWMCNT_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_NXT (REG_DMA30_DSCPTR_NXT)
-#define EPPI0_CH1_DMA_ADDRSTART (REG_DMA30_ADDRSTART)
-#define EPPI0_CH1_DMA_CFG (REG_DMA30_CFG)
-#define EPPI0_CH1_DMA_XCNT (REG_DMA30_XCNT)
-#define EPPI0_CH1_DMA_XMOD (REG_DMA30_XMOD)
-#define EPPI0_CH1_DMA_YCNT (REG_DMA30_YCNT)
-#define EPPI0_CH1_DMA_YMOD (REG_DMA30_YMOD)
-#define EPPI0_CH1_DMA_DSCPTR_CUR (REG_DMA30_DSCPTR_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_PRV (REG_DMA30_DSCPTR_PRV)
-#define EPPI0_CH1_DMA_ADDR_CUR (REG_DMA30_ADDR_CUR)
-#define EPPI0_CH1_DMA_STAT (REG_DMA30_STAT)
-#define EPPI0_CH1_DMA_XCNT_CUR (REG_DMA30_XCNT_CUR)
-#define EPPI0_CH1_DMA_YCNT_CUR (REG_DMA30_YCNT_CUR)
-#define EPPI0_CH1_DMA_BWLCNT (REG_DMA30_BWLCNT)
-#define EPPI0_CH1_DMA_BWLCNT_CUR (REG_DMA30_BWLCNT_CUR)
-#define EPPI0_CH1_DMA_BWMCNT (REG_DMA30_BWMCNT)
-#define EPPI0_CH1_DMA_BWMCNT_CUR (REG_DMA30_BWMCNT_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_NXT (REG_DMA31_DSCPTR_NXT)
-#define EPPI2_CH0_DMA_ADDRSTART (REG_DMA31_ADDRSTART)
-#define EPPI2_CH0_DMA_CFG (REG_DMA31_CFG)
-#define EPPI2_CH0_DMA_XCNT (REG_DMA31_XCNT)
-#define EPPI2_CH0_DMA_XMOD (REG_DMA31_XMOD)
-#define EPPI2_CH0_DMA_YCNT (REG_DMA31_YCNT)
-#define EPPI2_CH0_DMA_YMOD (REG_DMA31_YMOD)
-#define EPPI2_CH0_DMA_DSCPTR_CUR (REG_DMA31_DSCPTR_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_PRV (REG_DMA31_DSCPTR_PRV)
-#define EPPI2_CH0_DMA_ADDR_CUR (REG_DMA31_ADDR_CUR)
-#define EPPI2_CH0_DMA_STAT (REG_DMA31_STAT)
-#define EPPI2_CH0_DMA_XCNT_CUR (REG_DMA31_XCNT_CUR)
-#define EPPI2_CH0_DMA_YCNT_CUR (REG_DMA31_YCNT_CUR)
-#define EPPI2_CH0_DMA_BWLCNT (REG_DMA31_BWLCNT)
-#define EPPI2_CH0_DMA_BWLCNT_CUR (REG_DMA31_BWLCNT_CUR)
-#define EPPI2_CH0_DMA_BWMCNT (REG_DMA31_BWMCNT)
-#define EPPI2_CH0_DMA_BWMCNT_CUR (REG_DMA31_BWMCNT_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_NXT (REG_DMA32_DSCPTR_NXT)
-#define EPPI2_CH1_DMA_ADDRSTART (REG_DMA32_ADDRSTART)
-#define EPPI2_CH1_DMA_CFG (REG_DMA32_CFG)
-#define EPPI2_CH1_DMA_XCNT (REG_DMA32_XCNT)
-#define EPPI2_CH1_DMA_XMOD (REG_DMA32_XMOD)
-#define EPPI2_CH1_DMA_YCNT (REG_DMA32_YCNT)
-#define EPPI2_CH1_DMA_YMOD (REG_DMA32_YMOD)
-#define EPPI2_CH1_DMA_DSCPTR_CUR (REG_DMA32_DSCPTR_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_PRV (REG_DMA32_DSCPTR_PRV)
-#define EPPI2_CH1_DMA_ADDR_CUR (REG_DMA32_ADDR_CUR)
-#define EPPI2_CH1_DMA_STAT (REG_DMA32_STAT)
-#define EPPI2_CH1_DMA_XCNT_CUR (REG_DMA32_XCNT_CUR)
-#define EPPI2_CH1_DMA_YCNT_CUR (REG_DMA32_YCNT_CUR)
-#define EPPI2_CH1_DMA_BWLCNT (REG_DMA32_BWLCNT)
-#define EPPI2_CH1_DMA_BWLCNT_CUR (REG_DMA32_BWLCNT_CUR)
-#define EPPI2_CH1_DMA_BWMCNT (REG_DMA32_BWMCNT)
-#define EPPI2_CH1_DMA_BWMCNT_CUR (REG_DMA32_BWMCNT_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_NXT (REG_DMA33_DSCPTR_NXT)
-#define EPPI1_CH0_DMA_ADDRSTART (REG_DMA33_ADDRSTART)
-#define EPPI1_CH0_DMA_CFG (REG_DMA33_CFG)
-#define EPPI1_CH0_DMA_XCNT (REG_DMA33_XCNT)
-#define EPPI1_CH0_DMA_XMOD (REG_DMA33_XMOD)
-#define EPPI1_CH0_DMA_YCNT (REG_DMA33_YCNT)
-#define EPPI1_CH0_DMA_YMOD (REG_DMA33_YMOD)
-#define EPPI1_CH0_DMA_DSCPTR_CUR (REG_DMA33_DSCPTR_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_PRV (REG_DMA33_DSCPTR_PRV)
-#define EPPI1_CH0_DMA_ADDR_CUR (REG_DMA33_ADDR_CUR)
-#define EPPI1_CH0_DMA_STAT (REG_DMA33_STAT)
-#define EPPI1_CH0_DMA_XCNT_CUR (REG_DMA33_XCNT_CUR)
-#define EPPI1_CH0_DMA_YCNT_CUR (REG_DMA33_YCNT_CUR)
-#define EPPI1_CH0_DMA_BWLCNT (REG_DMA33_BWLCNT)
-#define EPPI1_CH0_DMA_BWLCNT_CUR (REG_DMA33_BWLCNT_CUR)
-#define EPPI1_CH0_DMA_BWMCNT (REG_DMA33_BWMCNT)
-#define EPPI1_CH0_DMA_BWMCNT_CUR (REG_DMA33_BWMCNT_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_NXT (REG_DMA34_DSCPTR_NXT)
-#define EPPI1_CH1_DMA_ADDRSTART (REG_DMA34_ADDRSTART)
-#define EPPI1_CH1_DMA_CFG (REG_DMA34_CFG)
-#define EPPI1_CH1_DMA_XCNT (REG_DMA34_XCNT)
-#define EPPI1_CH1_DMA_XMOD (REG_DMA34_XMOD)
-#define EPPI1_CH1_DMA_YCNT (REG_DMA34_YCNT)
-#define EPPI1_CH1_DMA_YMOD (REG_DMA34_YMOD)
-#define EPPI1_CH1_DMA_DSCPTR_CUR (REG_DMA34_DSCPTR_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_PRV (REG_DMA34_DSCPTR_PRV)
-#define EPPI1_CH1_DMA_ADDR_CUR (REG_DMA34_ADDR_CUR)
-#define EPPI1_CH1_DMA_STAT (REG_DMA34_STAT)
-#define EPPI1_CH1_DMA_XCNT_CUR (REG_DMA34_XCNT_CUR)
-#define EPPI1_CH1_DMA_YCNT_CUR (REG_DMA34_YCNT_CUR)
-#define EPPI1_CH1_DMA_BWLCNT (REG_DMA34_BWLCNT)
-#define EPPI1_CH1_DMA_BWLCNT_CUR (REG_DMA34_BWLCNT_CUR)
-#define EPPI1_CH1_DMA_BWMCNT (REG_DMA34_BWMCNT)
-#define EPPI1_CH1_DMA_BWMCNT_CUR (REG_DMA34_BWMCNT_CUR)
-#define PIXC0_CH0_DMA_DSCPTR_NXT (REG_DMA35_DSCPTR_NXT)
-#define PIXC0_CH0_DMA_ADDRSTART (REG_DMA35_ADDRSTART)
-#define PIXC0_CH0_DMA_CFG (REG_DMA35_CFG)
-#define PIXC0_CH0_DMA_XCNT (REG_DMA35_XCNT)
-#define PIXC0_CH0_DMA_XMOD (REG_DMA35_XMOD)
-#define PIXC0_CH0_DMA_YCNT (REG_DMA35_YCNT)
-#define PIXC0_CH0_DMA_YMOD (REG_DMA35_YMOD)
-#define PIXC0_CH0_DMA_DSCPTR_CUR (REG_DMA35_DSCPTR_CUR)
-#define PIXC0_CH0_DMA_DSCPTR_PRV (REG_DMA35_DSCPTR_PRV)
-#define PIXC0_CH0_DMA_ADDR_CUR (REG_DMA35_ADDR_CUR)
-#define PIXC0_CH0_DMA_STAT (REG_DMA35_STAT)
-#define PIXC0_CH0_DMA_XCNT_CUR (REG_DMA35_XCNT_CUR)
-#define PIXC0_CH0_DMA_YCNT_CUR (REG_DMA35_YCNT_CUR)
-#define PIXC0_CH0_DMA_BWLCNT (REG_DMA35_BWLCNT)
-#define PIXC0_CH0_DMA_BWLCNT_CUR (REG_DMA35_BWLCNT_CUR)
-#define PIXC0_CH0_DMA_BWMCNT (REG_DMA35_BWMCNT)
-#define PIXC0_CH0_DMA_BWMCNT_CUR (REG_DMA35_BWMCNT_CUR)
-#define PIXC0_CH1_DMA_DSCPTR_NXT (REG_DMA36_DSCPTR_NXT)
-#define PIXC0_CH1_DMA_ADDRSTART (REG_DMA36_ADDRSTART)
-#define PIXC0_CH1_DMA_CFG (REG_DMA36_CFG)
-#define PIXC0_CH1_DMA_XCNT (REG_DMA36_XCNT)
-#define PIXC0_CH1_DMA_XMOD (REG_DMA36_XMOD)
-#define PIXC0_CH1_DMA_YCNT (REG_DMA36_YCNT)
-#define PIXC0_CH1_DMA_YMOD (REG_DMA36_YMOD)
-#define PIXC0_CH1_DMA_DSCPTR_CUR (REG_DMA36_DSCPTR_CUR)
-#define PIXC0_CH1_DMA_DSCPTR_PRV (REG_DMA36_DSCPTR_PRV)
-#define PIXC0_CH1_DMA_ADDR_CUR (REG_DMA36_ADDR_CUR)
-#define PIXC0_CH1_DMA_STAT (REG_DMA36_STAT)
-#define PIXC0_CH1_DMA_XCNT_CUR (REG_DMA36_XCNT_CUR)
-#define PIXC0_CH1_DMA_YCNT_CUR (REG_DMA36_YCNT_CUR)
-#define PIXC0_CH1_DMA_BWLCNT (REG_DMA36_BWLCNT)
-#define PIXC0_CH1_DMA_BWLCNT_CUR (REG_DMA36_BWLCNT_CUR)
-#define PIXC0_CH1_DMA_BWMCNT (REG_DMA36_BWMCNT)
-#define PIXC0_CH1_DMA_BWMCNT_CUR (REG_DMA36_BWMCNT_CUR)
-#define PIXC0_CH2_DMA_DSCPTR_NXT (REG_DMA37_DSCPTR_NXT)
-#define PIXC0_CH2_DMA_ADDRSTART (REG_DMA37_ADDRSTART)
-#define PIXC0_CH2_DMA_CFG (REG_DMA37_CFG)
-#define PIXC0_CH2_DMA_XCNT (REG_DMA37_XCNT)
-#define PIXC0_CH2_DMA_XMOD (REG_DMA37_XMOD)
-#define PIXC0_CH2_DMA_YCNT (REG_DMA37_YCNT)
-#define PIXC0_CH2_DMA_YMOD (REG_DMA37_YMOD)
-#define PIXC0_CH2_DMA_DSCPTR_CUR (REG_DMA37_DSCPTR_CUR)
-#define PIXC0_CH2_DMA_DSCPTR_PRV (REG_DMA37_DSCPTR_PRV)
-#define PIXC0_CH2_DMA_ADDR_CUR (REG_DMA37_ADDR_CUR)
-#define PIXC0_CH2_DMA_STAT (REG_DMA37_STAT)
-#define PIXC0_CH2_DMA_XCNT_CUR (REG_DMA37_XCNT_CUR)
-#define PIXC0_CH2_DMA_YCNT_CUR (REG_DMA37_YCNT_CUR)
-#define PIXC0_CH2_DMA_BWLCNT (REG_DMA37_BWLCNT)
-#define PIXC0_CH2_DMA_BWLCNT_CUR (REG_DMA37_BWLCNT_CUR)
-#define PIXC0_CH2_DMA_BWMCNT (REG_DMA37_BWMCNT)
-#define PIXC0_CH2_DMA_BWMCNT_CUR (REG_DMA37_BWMCNT_CUR)
-#define PVP0_CPDOB_DMA_DSCPTR_NXT (REG_DMA38_DSCPTR_NXT)
-#define PVP0_CPDOB_DMA_ADDRSTART (REG_DMA38_ADDRSTART)
-#define PVP0_CPDOB_DMA_CFG (REG_DMA38_CFG)
-#define PVP0_CPDOB_DMA_XCNT (REG_DMA38_XCNT)
-#define PVP0_CPDOB_DMA_XMOD (REG_DMA38_XMOD)
-#define PVP0_CPDOB_DMA_YCNT (REG_DMA38_YCNT)
-#define PVP0_CPDOB_DMA_YMOD (REG_DMA38_YMOD)
-#define PVP0_CPDOB_DMA_DSCPTR_CUR (REG_DMA38_DSCPTR_CUR)
-#define PVP0_CPDOB_DMA_DSCPTR_PRV (REG_DMA38_DSCPTR_PRV)
-#define PVP0_CPDOB_DMA_ADDR_CUR (REG_DMA38_ADDR_CUR)
-#define PVP0_CPDOB_DMA_STAT (REG_DMA38_STAT)
-#define PVP0_CPDOB_DMA_XCNT_CUR (REG_DMA38_XCNT_CUR)
-#define PVP0_CPDOB_DMA_YCNT_CUR (REG_DMA38_YCNT_CUR)
-#define PVP0_CPDOB_DMA_BWLCNT (REG_DMA38_BWLCNT)
-#define PVP0_CPDOB_DMA_BWLCNT_CUR (REG_DMA38_BWLCNT_CUR)
-#define PVP0_CPDOB_DMA_BWMCNT (REG_DMA38_BWMCNT)
-#define PVP0_CPDOB_DMA_BWMCNT_CUR (REG_DMA38_BWMCNT_CUR)
-#define PVP0_CPDOC_DMA_DSCPTR_NXT (REG_DMA39_DSCPTR_NXT)
-#define PVP0_CPDOC_DMA_ADDRSTART (REG_DMA39_ADDRSTART)
-#define PVP0_CPDOC_DMA_CFG (REG_DMA39_CFG)
-#define PVP0_CPDOC_DMA_XCNT (REG_DMA39_XCNT)
-#define PVP0_CPDOC_DMA_XMOD (REG_DMA39_XMOD)
-#define PVP0_CPDOC_DMA_YCNT (REG_DMA39_YCNT)
-#define PVP0_CPDOC_DMA_YMOD (REG_DMA39_YMOD)
-#define PVP0_CPDOC_DMA_DSCPTR_CUR (REG_DMA39_DSCPTR_CUR)
-#define PVP0_CPDOC_DMA_DSCPTR_PRV (REG_DMA39_DSCPTR_PRV)
-#define PVP0_CPDOC_DMA_ADDR_CUR (REG_DMA39_ADDR_CUR)
-#define PVP0_CPDOC_DMA_STAT (REG_DMA39_STAT)
-#define PVP0_CPDOC_DMA_XCNT_CUR (REG_DMA39_XCNT_CUR)
-#define PVP0_CPDOC_DMA_YCNT_CUR (REG_DMA39_YCNT_CUR)
-#define PVP0_CPDOC_DMA_BWLCNT (REG_DMA39_BWLCNT)
-#define PVP0_CPDOC_DMA_BWLCNT_CUR (REG_DMA39_BWLCNT_CUR)
-#define PVP0_CPDOC_DMA_BWMCNT (REG_DMA39_BWMCNT)
-#define PVP0_CPDOC_DMA_BWMCNT_CUR (REG_DMA39_BWMCNT_CUR)
-#define PVP0_CPSTAT_DMA_DSCPTR_NXT (REG_DMA40_DSCPTR_NXT)
-#define PVP0_CPSTAT_DMA_ADDRSTART (REG_DMA40_ADDRSTART)
-#define PVP0_CPSTAT_DMA_CFG (REG_DMA40_CFG)
-#define PVP0_CPSTAT_DMA_XCNT (REG_DMA40_XCNT)
-#define PVP0_CPSTAT_DMA_XMOD (REG_DMA40_XMOD)
-#define PVP0_CPSTAT_DMA_YCNT (REG_DMA40_YCNT)
-#define PVP0_CPSTAT_DMA_YMOD (REG_DMA40_YMOD)
-#define PVP0_CPSTAT_DMA_DSCPTR_CUR (REG_DMA40_DSCPTR_CUR)
-#define PVP0_CPSTAT_DMA_DSCPTR_PRV (REG_DMA40_DSCPTR_PRV)
-#define PVP0_CPSTAT_DMA_ADDR_CUR (REG_DMA40_ADDR_CUR)
-#define PVP0_CPSTAT_DMA_STAT (REG_DMA40_STAT)
-#define PVP0_CPSTAT_DMA_XCNT_CUR (REG_DMA40_XCNT_CUR)
-#define PVP0_CPSTAT_DMA_YCNT_CUR (REG_DMA40_YCNT_CUR)
-#define PVP0_CPSTAT_DMA_BWLCNT (REG_DMA40_BWLCNT)
-#define PVP0_CPSTAT_DMA_BWLCNT_CUR (REG_DMA40_BWLCNT_CUR)
-#define PVP0_CPSTAT_DMA_BWMCNT (REG_DMA40_BWMCNT)
-#define PVP0_CPSTAT_DMA_BWMCNT_CUR (REG_DMA40_BWMCNT_CUR)
-#define PVP0_CPCI_DMA_DSCPTR_NXT (REG_DMA41_DSCPTR_NXT)
-#define PVP0_CPCI_DMA_ADDRSTART (REG_DMA41_ADDRSTART)
-#define PVP0_CPCI_DMA_CFG (REG_DMA41_CFG)
-#define PVP0_CPCI_DMA_XCNT (REG_DMA41_XCNT)
-#define PVP0_CPCI_DMA_XMOD (REG_DMA41_XMOD)
-#define PVP0_CPCI_DMA_YCNT (REG_DMA41_YCNT)
-#define PVP0_CPCI_DMA_YMOD (REG_DMA41_YMOD)
-#define PVP0_CPCI_DMA_DSCPTR_CUR (REG_DMA41_DSCPTR_CUR)
-#define PVP0_CPCI_DMA_DSCPTR_PRV (REG_DMA41_DSCPTR_PRV)
-#define PVP0_CPCI_DMA_ADDR_CUR (REG_DMA41_ADDR_CUR)
-#define PVP0_CPCI_DMA_STAT (REG_DMA41_STAT)
-#define PVP0_CPCI_DMA_XCNT_CUR (REG_DMA41_XCNT_CUR)
-#define PVP0_CPCI_DMA_YCNT_CUR (REG_DMA41_YCNT_CUR)
-#define PVP0_CPCI_DMA_BWLCNT (REG_DMA41_BWLCNT)
-#define PVP0_CPCI_DMA_BWLCNT_CUR (REG_DMA41_BWLCNT_CUR)
-#define PVP0_CPCI_DMA_BWMCNT (REG_DMA41_BWMCNT)
-#define PVP0_CPCI_DMA_BWMCNT_CUR (REG_DMA41_BWMCNT_CUR)
-#define PVP0_MPDO_DMA_DSCPTR_NXT (REG_DMA42_DSCPTR_NXT)
-#define PVP0_MPDO_DMA_ADDRSTART (REG_DMA42_ADDRSTART)
-#define PVP0_MPDO_DMA_CFG (REG_DMA42_CFG)
-#define PVP0_MPDO_DMA_XCNT (REG_DMA42_XCNT)
-#define PVP0_MPDO_DMA_XMOD (REG_DMA42_XMOD)
-#define PVP0_MPDO_DMA_YCNT (REG_DMA42_YCNT)
-#define PVP0_MPDO_DMA_YMOD (REG_DMA42_YMOD)
-#define PVP0_MPDO_DMA_DSCPTR_CUR (REG_DMA42_DSCPTR_CUR)
-#define PVP0_MPDO_DMA_DSCPTR_PRV (REG_DMA42_DSCPTR_PRV)
-#define PVP0_MPDO_DMA_ADDR_CUR (REG_DMA42_ADDR_CUR)
-#define PVP0_MPDO_DMA_STAT (REG_DMA42_STAT)
-#define PVP0_MPDO_DMA_XCNT_CUR (REG_DMA42_XCNT_CUR)
-#define PVP0_MPDO_DMA_YCNT_CUR (REG_DMA42_YCNT_CUR)
-#define PVP0_MPDO_DMA_BWLCNT (REG_DMA42_BWLCNT)
-#define PVP0_MPDO_DMA_BWLCNT_CUR (REG_DMA42_BWLCNT_CUR)
-#define PVP0_MPDO_DMA_BWMCNT (REG_DMA42_BWMCNT)
-#define PVP0_MPDO_DMA_BWMCNT_CUR (REG_DMA42_BWMCNT_CUR)
-#define PVP0_MPDI_DMA_DSCPTR_NXT (REG_DMA43_DSCPTR_NXT)
-#define PVP0_MPDI_DMA_ADDRSTART (REG_DMA43_ADDRSTART)
-#define PVP0_MPDI_DMA_CFG (REG_DMA43_CFG)
-#define PVP0_MPDI_DMA_XCNT (REG_DMA43_XCNT)
-#define PVP0_MPDI_DMA_XMOD (REG_DMA43_XMOD)
-#define PVP0_MPDI_DMA_YCNT (REG_DMA43_YCNT)
-#define PVP0_MPDI_DMA_YMOD (REG_DMA43_YMOD)
-#define PVP0_MPDI_DMA_DSCPTR_CUR (REG_DMA43_DSCPTR_CUR)
-#define PVP0_MPDI_DMA_DSCPTR_PRV (REG_DMA43_DSCPTR_PRV)
-#define PVP0_MPDI_DMA_ADDR_CUR (REG_DMA43_ADDR_CUR)
-#define PVP0_MPDI_DMA_STAT (REG_DMA43_STAT)
-#define PVP0_MPDI_DMA_XCNT_CUR (REG_DMA43_XCNT_CUR)
-#define PVP0_MPDI_DMA_YCNT_CUR (REG_DMA43_YCNT_CUR)
-#define PVP0_MPDI_DMA_BWLCNT (REG_DMA43_BWLCNT)
-#define PVP0_MPDI_DMA_BWLCNT_CUR (REG_DMA43_BWLCNT_CUR)
-#define PVP0_MPDI_DMA_BWMCNT (REG_DMA43_BWMCNT)
-#define PVP0_MPDI_DMA_BWMCNT_CUR (REG_DMA43_BWMCNT_CUR)
-#define PVP0_MPSTAT_DMA_DSCPTR_NXT (REG_DMA44_DSCPTR_NXT)
-#define PVP0_MPSTAT_DMA_ADDRSTART (REG_DMA44_ADDRSTART)
-#define PVP0_MPSTAT_DMA_CFG (REG_DMA44_CFG)
-#define PVP0_MPSTAT_DMA_XCNT (REG_DMA44_XCNT)
-#define PVP0_MPSTAT_DMA_XMOD (REG_DMA44_XMOD)
-#define PVP0_MPSTAT_DMA_YCNT (REG_DMA44_YCNT)
-#define PVP0_MPSTAT_DMA_YMOD (REG_DMA44_YMOD)
-#define PVP0_MPSTAT_DMA_DSCPTR_CUR (REG_DMA44_DSCPTR_CUR)
-#define PVP0_MPSTAT_DMA_DSCPTR_PRV (REG_DMA44_DSCPTR_PRV)
-#define PVP0_MPSTAT_DMA_ADDR_CUR (REG_DMA44_ADDR_CUR)
-#define PVP0_MPSTAT_DMA_STAT (REG_DMA44_STAT)
-#define PVP0_MPSTAT_DMA_XCNT_CUR (REG_DMA44_XCNT_CUR)
-#define PVP0_MPSTAT_DMA_YCNT_CUR (REG_DMA44_YCNT_CUR)
-#define PVP0_MPSTAT_DMA_BWLCNT (REG_DMA44_BWLCNT)
-#define PVP0_MPSTAT_DMA_BWLCNT_CUR (REG_DMA44_BWLCNT_CUR)
-#define PVP0_MPSTAT_DMA_BWMCNT (REG_DMA44_BWMCNT)
-#define PVP0_MPSTAT_DMA_BWMCNT_CUR (REG_DMA44_BWMCNT_CUR)
-#define PVP0_MPCI_DMA_DSCPTR_NXT (REG_DMA45_DSCPTR_NXT)
-#define PVP0_MPCI_DMA_ADDRSTART (REG_DMA45_ADDRSTART)
-#define PVP0_MPCI_DMA_CFG (REG_DMA45_CFG)
-#define PVP0_MPCI_DMA_XCNT (REG_DMA45_XCNT)
-#define PVP0_MPCI_DMA_XMOD (REG_DMA45_XMOD)
-#define PVP0_MPCI_DMA_YCNT (REG_DMA45_YCNT)
-#define PVP0_MPCI_DMA_YMOD (REG_DMA45_YMOD)
-#define PVP0_MPCI_DMA_DSCPTR_CUR (REG_DMA45_DSCPTR_CUR)
-#define PVP0_MPCI_DMA_DSCPTR_PRV (REG_DMA45_DSCPTR_PRV)
-#define PVP0_MPCI_DMA_ADDR_CUR (REG_DMA45_ADDR_CUR)
-#define PVP0_MPCI_DMA_STAT (REG_DMA45_STAT)
-#define PVP0_MPCI_DMA_XCNT_CUR (REG_DMA45_XCNT_CUR)
-#define PVP0_MPCI_DMA_YCNT_CUR (REG_DMA45_YCNT_CUR)
-#define PVP0_MPCI_DMA_BWLCNT (REG_DMA45_BWLCNT)
-#define PVP0_MPCI_DMA_BWLCNT_CUR (REG_DMA45_BWLCNT_CUR)
-#define PVP0_MPCI_DMA_BWMCNT (REG_DMA45_BWMCNT)
-#define PVP0_MPCI_DMA_BWMCNT_CUR (REG_DMA45_BWMCNT_CUR)
-#define PVP0_CPDOA_DMA_DSCPTR_NXT (REG_DMA46_DSCPTR_NXT)
-#define PVP0_CPDOA_DMA_ADDRSTART (REG_DMA46_ADDRSTART)
-#define PVP0_CPDOA_DMA_CFG (REG_DMA46_CFG)
-#define PVP0_CPDOA_DMA_XCNT (REG_DMA46_XCNT)
-#define PVP0_CPDOA_DMA_XMOD (REG_DMA46_XMOD)
-#define PVP0_CPDOA_DMA_YCNT (REG_DMA46_YCNT)
-#define PVP0_CPDOA_DMA_YMOD (REG_DMA46_YMOD)
-#define PVP0_CPDOA_DMA_DSCPTR_CUR (REG_DMA46_DSCPTR_CUR)
-#define PVP0_CPDOA_DMA_DSCPTR_PRV (REG_DMA46_DSCPTR_PRV)
-#define PVP0_CPDOA_DMA_ADDR_CUR (REG_DMA46_ADDR_CUR)
-#define PVP0_CPDOA_DMA_STAT (REG_DMA46_STAT)
-#define PVP0_CPDOA_DMA_XCNT_CUR (REG_DMA46_XCNT_CUR)
-#define PVP0_CPDOA_DMA_YCNT_CUR (REG_DMA46_YCNT_CUR)
-#define PVP0_CPDOA_DMA_BWLCNT (REG_DMA46_BWLCNT)
-#define PVP0_CPDOA_DMA_BWLCNT_CUR (REG_DMA46_BWLCNT_CUR)
-#define PVP0_CPDOA_DMA_BWMCNT (REG_DMA46_BWMCNT)
-#define PVP0_CPDOA_DMA_BWMCNT_CUR (REG_DMA46_BWMCNT_CUR)
-
-/* ==================================
- DMA Error CHID Definitions
- ================================== */
-#define CHID_SPORT0_A_DMA 0 /* Channel A DMA */
-#define CHID_SPORT0_B_DMA 1 /* Channel B DMA */
-#define CHID_SPORT1_A_DMA 2 /* Channel A DMA */
-#define CHID_SPORT1_B_DMA 3 /* Channel B DMA */
-#define CHID_SPORT2_A_DMA 4 /* Channel A DMA */
-#define CHID_SPORT2_B_DMA 5 /* Channel B DMA */
-#define CHID_SPI0_TXDMA 6 /* TX DMA Channel */
-#define CHID_SPI0_RXDMA 7 /* RX DMA Channel */
-#define CHID_SPI1_TXDMA 8 /* TX DMA Channel */
-#define CHID_SPI1_RXDMA 9 /* RX DMA Channel */
-#define CHID_RSI0_DMA 10 /* DMA Channel */
-#define CHID_SDU0_DMA 11 /* DMA */
-/* -- RESERVED -- 12 */
-#define CHID_LP0_DMA 13 /* DMA Channel */
-#define CHID_LP1_DMA 14 /* DMA Channel */
-#define CHID_LP2_DMA 15 /* DMA Channel */
-#define CHID_LP3_DMA 16 /* DMA Channel */
-#define CHID_UART0_TXDMA 17 /* Transmit DMA */
-#define CHID_UART0_RXDMA 18 /* Receive DMA */
-#define CHID_UART1_TXDMA 19 /* Transmit DMA */
-#define CHID_UART1_RXDMA 20 /* Receive DMA */
-#define CHID_MDMA0_SRC 21 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define CHID_MDMA0_DST 22 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define CHID_MDMA1_SRC 23 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define CHID_MDMA1_DST 24 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define CHID_MDMA2_SRC 25 /* Memory DMA Stream 2 Source Channel */
-#define CHID_MDMA2_DST 26 /* Memory DMA Stream 2 Destination Channel */
-#define CHID_MDMA3_SRC 27 /* Memory DMA Stream 3 Source Channel */
-#define CHID_MDMA3_DST 28 /* Memory DMA Stream 3 Destination Channel */
-#define CHID_EPPI0_CH0_DMA 29 /* Channel 0 DMA */
-#define CHID_EPPI0_CH1_DMA 30 /* Channel 1 DMA */
-#define CHID_EPPI2_CH0_DMA 31 /* Channel 0 DMA */
-#define CHID_EPPI2_CH1_DMA 32 /* Channel 1 DMA */
-#define CHID_EPPI1_CH0_DMA 33 /* Channel 0 DMA */
-#define CHID_EPPI1_CH1_DMA 34 /* Channel 1 DMA */
-#define CHID_PIXC0_CH0_DMA 35 /* Channel 0 DMA */
-#define CHID_PIXC0_CH1_DMA 36 /* Channel 1 DMA */
-#define CHID_PIXC0_CH2_DMA 37 /* Channel 2 DMA */
-#define CHID_PVP0_CPDOB_DMA 38 /* Camera Pipe Data Out B DMA Channel */
-#define CHID_PVP0_CPDOC_DMA 39 /* Camera Pipe Data Out C DMA Channel */
-#define CHID_PVP0_CPSTAT_DMA 40 /* Camera Pipe Status Out DMA Channel */
-#define CHID_PVP0_CPCI_DMA 41 /* Camera Pipe Control In DMA Channel */
-#define CHID_PVP0_MPDO_DMA 42 /* Memory Pipe Data Out DMA Channel */
-#define CHID_PVP0_MPDI_DMA 43 /* Memory Pipe Data In DMA Channel */
-#define CHID_PVP0_MPSTAT_DMA 44 /* Memory Pipe Status Out DMA Channel */
-#define CHID_PVP0_MPCI_DMA 45 /* Memory Pipe Control In DMA Channel */
-#define CHID_PVP0_CPDOA_DMA 46 /* Camera Pipe Data Out A DMA Channel */
-
-/* ==============================
- Interrupt Definitions
- ============================== */
-#define INTR_SEC0_ERR 0 /* Error */
-#define INTR_CGU0_EVT 1 /* Event */
-#define INTR_WDOG0_EXP 2 /* Expiration */
-#define INTR_WDOG1_EXP 3 /* Expiration */
-#define INTR_L2CTL0_ECC_ERR 4 /* ECC Error */
-#define INTR_L2CTL0_ECC_WARNING 5 /* ECC Warning */
-#define INTR_C0_DBL_FAULT 6 /* Core 0 Double Fault */
-#define INTR_C1_DBL_FAULT 7 /* Core 1 Double Fault */
-#define INTR_C0_HW_ERR 8 /* Core 0 Hardware Error */
-#define INTR_C1_HW_ERR 9 /* Core 1 Hardware Error */
-#define INTR_C0_NMI_L1_PARITY_ERR 10 /* Core 0 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_C1_NMI_L1_PARITY_ERR 11 /* Core 1 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_TIMER0_TMR0 12 /* Timer 0 */
-#define INTR_TIMER0_TMR1 13 /* Timer 1 */
-#define INTR_TIMER0_TMR2 14 /* Timer 2 */
-#define INTR_TIMER0_TMR3 15 /* Timer 3 */
-#define INTR_TIMER0_TMR4 16 /* Timer 4 */
-#define INTR_TIMER0_TMR5 17 /* Timer 5 */
-#define INTR_TIMER0_TMR6 18 /* Timer 6 */
-#define INTR_TIMER0_TMR7 19 /* Timer 7 */
-#define INTR_TIMER0_STAT 20 /* Status */
-#define INTR_PINT0_BLOCK 21 /* Pin Interrupt Block */
-#define INTR_PINT1_BLOCK 22 /* Pin Interrupt Block */
-#define INTR_PINT2_BLOCK 23 /* Pin Interrupt Block */
-#define INTR_PINT3_BLOCK 24 /* Pin Interrupt Block */
-#define INTR_PINT4_BLOCK 25 /* Pin Interrupt Block */
-#define INTR_PINT5_BLOCK 26 /* Pin Interrupt Block */
-#define INTR_CNT0_STAT 27 /* Status */
-#define INTR_PWM0_SYNC 28 /* PWMTMR Group */
-#define INTR_PWM0_TRIP 29 /* Trip */
-#define INTR_PWM1_SYNC 30 /* PWMTMR Group */
-#define INTR_PWM1_TRIP 31 /* Trip */
-#define INTR_TWI0_DATA 32 /* Data Interrupt */
-#define INTR_TWI1_DATA 33 /* Data Interrupt */
-#define INTR_SOFT0 34 /* Software-driven Interrupt 0 */
-#define INTR_SOFT1 35 /* Software-driven Interrupt 1 */
-#define INTR_SOFT2 36 /* Software-driven Interrupt 2 */
-#define INTR_SOFT3 37 /* Software-driven Interrupt 3 */
-#define INTR_ACM0_EVT_MISS 38 /* Event Miss */
-#define INTR_ACM0_EVT_COMPLETE 39 /* Event Complete */
-#define INTR_CAN0_RX 40 /* Receive */
-#define INTR_CAN0_TX 41 /* Transmit */
-#define INTR_CAN0_STAT 42 /* Status */
-#define INTR_SPORT0_A_DMA 43 /* Channel A DMA */
-#define INTR_SPORT0_A_STAT 44 /* Channel A Status */
-#define INTR_SPORT0_B_DMA 45 /* Channel B DMA */
-#define INTR_SPORT0_B_STAT 46 /* Channel B Status */
-#define INTR_SPORT1_A_DMA 47 /* Channel A DMA */
-#define INTR_SPORT1_A_STAT 48 /* Channel A Status */
-#define INTR_SPORT1_B_DMA 49 /* Channel B DMA */
-#define INTR_SPORT1_B_STAT 50 /* Channel B Status */
-#define INTR_SPORT2_A_DMA 51 /* Channel A DMA */
-#define INTR_SPORT2_A_STAT 52 /* Channel A Status */
-#define INTR_SPORT2_B_DMA 53 /* Channel B DMA */
-#define INTR_SPORT2_B_STAT 54 /* Channel B Status */
-#define INTR_SPI0_TXDMA 55 /* TX DMA Channel */
-#define INTR_SPI0_RXDMA 56 /* RX DMA Channel */
-#define INTR_SPI0_STAT 57 /* Status */
-#define INTR_SPI1_TXDMA 58 /* TX DMA Channel */
-#define INTR_SPI1_RXDMA 59 /* RX DMA Channel */
-#define INTR_SPI1_STAT 60 /* Status */
-#define INTR_RSI0_DMA 61 /* DMA Channel */
-#define INTR_RSI0_INT0 62 /* Interrupt 0 */
-#define INTR_RSI0_INT1 63 /* Interrupt 1 */
-#define INTR_SDU0_DMA 64 /* DMA */
-/* -- RESERVED -- 65 */
-/* -- RESERVED -- 66 */
-/* -- RESERVED -- 67 */
-#define INTR_EMAC0_STAT 68 /* Status */
-/* -- RESERVED -- 69 */
-#define INTR_EMAC1_STAT 70 /* Status */
-/* -- RESERVED -- 71 */
-#define INTR_LP0_DMA 72 /* DMA Channel */
-#define INTR_LP0_STAT 73 /* Status */
-#define INTR_LP1_DMA 74 /* DMA Channel */
-#define INTR_LP1_STAT 75 /* Status */
-#define INTR_LP2_DMA 76 /* DMA Channel */
-#define INTR_LP2_STAT 77 /* Status */
-#define INTR_LP3_DMA 78 /* DMA Channel */
-#define INTR_LP3_STAT 79 /* Status */
-#define INTR_UART0_TXDMA 80 /* Transmit DMA */
-#define INTR_UART0_RXDMA 81 /* Receive DMA */
-#define INTR_UART0_STAT 82 /* Status */
-#define INTR_UART1_TXDMA 83 /* Transmit DMA */
-#define INTR_UART1_RXDMA 84 /* Receive DMA */
-#define INTR_UART1_STAT 85 /* Status */
-#define INTR_MDMA0_SRC 86 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define INTR_MDMA0_DST 87 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define INTR_CRC0_DCNTEXP 88 /* Datacount expiration */
-#define INTR_CRC0_ERR 89 /* Error */
-#define INTR_MDMA1_SRC 90 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define INTR_MDMA1_DST 91 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define INTR_CRC1_DCNTEXP 92 /* Datacount expiration */
-#define INTR_CRC1_ERR 93 /* Error */
-#define INTR_MDMA2_SRC 94 /* Memory DMA Stream 2 Source Channel */
-#define INTR_MDMA2_DST 95 /* Memory DMA Stream 2 Destination Channel */
-#define INTR_MDMA3_SRC 96 /* Memory DMA Stream 3 Source Channel */
-#define INTR_MDMA3_DST 97 /* Memory DMA Stream 3 Destination Channel */
-#define INTR_EPPI0_CH0_DMA 98 /* Channel 0 DMA */
-#define INTR_EPPI0_CH1_DMA 99 /* Channel 1 DMA */
-#define INTR_EPPI0_STAT 100 /* Status */
-#define INTR_EPPI2_CH0_DMA 101 /* Channel 0 DMA */
-#define INTR_EPPI2_CH1_DMA 102 /* Channel 1 DMA */
-#define INTR_EPPI2_STAT 103 /* Status */
-#define INTR_EPPI1_CH0_DMA 104 /* Channel 0 DMA */
-#define INTR_EPPI1_CH1_DMA 105 /* Channel 1 DMA */
-#define INTR_EPPI1_STAT 106 /* Status */
-#define INTR_PIXC0_CH0_DMA 107 /* Channel 0 DMA */
-#define INTR_PIXC0_CH1_DMA 108 /* Channel 1 DMA */
-#define INTR_PIXC0_CH2_DMA 109 /* Channel 2 DMA */
-#define INTR_PIXC0_STAT 110 /* Status */
-#define INTR_PVP0_CPDOB_DMA 111 /* Camera Pipe Data Out B DMA Channel */
-#define INTR_PVP0_CPDOC_DMA 112 /* Camera Pipe Data Out C DMA Channel */
-#define INTR_PVP0_CPSTAT_DMA 113 /* Camera Pipe Status Out DMA Channel */
-#define INTR_PVP0_CPCI_DMA 114 /* Camera Pipe Control In DMA Channel */
-#define INTR_PVP0_STAT0 115 /* Status 0 */
-#define INTR_PVP0_MPDO_DMA 116 /* Memory Pipe Data Out DMA Channel */
-#define INTR_PVP0_MPDI_DMA 117 /* Memory Pipe Data In DMA Channel */
-#define INTR_PVP0_MPSTAT_DMA 118 /* Memory Pipe Status Out DMA Channel */
-#define INTR_PVP0_MPCI_DMA 119 /* Memory Pipe Control In DMA Channel */
-#define INTR_PVP0_CPDOA_DMA 120 /* Camera Pipe Data Out A DMA Channel */
-#define INTR_PVP0_STAT1 121 /* Status 1 */
-#define INTR_USB0_STAT 122 /* Status/FIFO Data Ready */
-#define INTR_USB0_DATA 123 /* DMA Status/Transfer Complete */
-#define INTR_TRU0_INT0 124 /* Interrupt 0 */
-#define INTR_TRU0_INT1 125 /* Interrupt 1 */
-#define INTR_TRU0_INT2 126 /* Interrupt 2 */
-#define INTR_TRU0_INT3 127 /* Interrupt 3 */
-#define INTR_DMAC_ERR 128 /* DMA Controller Error */
-#define INTR_CGU0_ERR 129 /* Error */
-/* -- RESERVED -- 130 */
-#define INTR_DPM0_EVT 131 /* Event */
-/* -- RESERVED -- 132 */
-#define INTR_SWU0_EVT 133 /* Event */
-#define INTR_SWU1_EVT 134 /* Event */
-#define INTR_SWU2_EVT 135 /* Event */
-#define INTR_SWU3_EVT 136 /* Event */
-#define INTR_SWU4_EVT 137 /* Event */
-#define INTR_SWU5_EVT 138 /* Event */
-#define INTR_SWU6_EVT 139 /* Event */
-
-/* ==============================
- Parameters
- ============================== */
-
-
-/* Generic System Module Parameters */
-
-#define PARAM_SYS0_NUM_BMODE 3
-#define PARAM_SYS0_NUM_CORES 2
-#define PARAM_SYS0_NUM_MDMA_STREAMS 4
-#define PARAM_SYS0_NUM_RSVD_INT 7
-#define PARAM_SYS0_NUM_RSVD_TRIG 6
-#define PARAM_SYS0_NUM_SW_INT 4
-#define PARAM_SYS0_NUM_SW_TRIG 6
-
-
-
-
-/* RSI Parameters */
-
-#define PARAM_RSI0_NUM_DATA 8
-#define PARAM_RSI0_NUM_INT 2
-
-
-
-/* Link Port Parameters */
-
-#define PARAM_LP0_NUM_DATA 8
-#define PARAM_LP1_NUM_DATA 8
-#define PARAM_LP2_NUM_DATA 8
-#define PARAM_LP3_NUM_DATA 8
-
-
-/* General Purpose Timer Block Parameters */
-
-#define PARAM_TIMER0_NUMTIMERS 8
-
-
-
-
-
-/* General Purpose Input/Output Parameters */
-
-#define PARAM_PORTA_PORT_WIDTH 16
-#define PARAM_PORTB_PORT_WIDTH 16
-#define PARAM_PORTC_PORT_WIDTH 16
-#define PARAM_PORTD_PORT_WIDTH 16
-#define PARAM_PORTE_PORT_WIDTH 16
-#define PARAM_PORTF_PORT_WIDTH 16
-#define PARAM_PORTG_PORT_WIDTH 16
-
-
-
-
-/* Static Memory Controller Parameters */
-
-#define PARAM_SMC0_NUM_ABE 2
-#define PARAM_SMC0_NUM_ADDR 26
-#define PARAM_SMC0_NUM_AMS 4
-#define PARAM_SMC0_NUM_DATA 16
-
-
-
-/* EPPI Parameters */
-
-#define PARAM_EPPI0_MAXWIDTH 24
-#define PARAM_EPPI0_NUM_DATA 24
-#define PARAM_EPPI1_MAXWIDTH 24
-#define PARAM_EPPI1_NUM_DATA 18
-#define PARAM_EPPI2_MAXWIDTH 24
-#define PARAM_EPPI2_NUM_DATA 18
-
-
-
-
-/* Pulse-Width Modulator Parameters */
-
-#define PARAM_PWM0_ASYM_DEADTIME 0
-#define PARAM_PWM0_COMPRESS 1
-#define PARAM_PWM0_DOUBLE_UPDATE 0
-#define PARAM_PWM0_FULL_DUTY_REGS 0
-#define PARAM_PWM0_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM0_LO_HP_REGS 0
-#define PARAM_PWM0_NUM_TRIP 2
-#define PARAM_PWM0_NUM_TRIP_PINS 2
-#define PARAM_PWM0_NUM_TRIP_TRIG 0
-#define PARAM_PWM0_REVID_MAJOR 0
-#define PARAM_PWM0_REVID_REV 0
-#define PARAM_PWM1_ASYM_DEADTIME 0
-#define PARAM_PWM1_COMPRESS 1
-#define PARAM_PWM1_DOUBLE_UPDATE 0
-#define PARAM_PWM1_FULL_DUTY_REGS 0
-#define PARAM_PWM1_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM1_LO_HP_REGS 0
-#define PARAM_PWM1_NUM_TRIP 2
-#define PARAM_PWM1_NUM_TRIP_PINS 2
-#define PARAM_PWM1_NUM_TRIP_TRIG 0
-#define PARAM_PWM1_REVID_MAJOR 0
-#define PARAM_PWM1_REVID_REV 0
-
-
-/* Video Subsystem Registers Parameters */
-
-#define PARAM_VID0_PIXC_ABSENT 0
-#define PARAM_VID0_PVP_ABSENT 0
-
-
-
-/* System Debug Unit Parameters */
-
-#define PARAM_SDU0_IDCODE_PRID 0
-#define PARAM_SDU0_IDCODE_REVID 0
-
-
-/* Ethernet MAC Parameters */
-
-#define PARAM_EMAC0_NUM_RX 2
-#define PARAM_EMAC0_NUM_TX 2
-#define PARAM_EMAC1_NUM_RX 2
-#define PARAM_EMAC1_NUM_TX 2
-
-
-
-/* Serial Peripheral Interface Parameters */
-
-#define PARAM_SPI0_MEM_MAPPED 0
-#define PARAM_SPI0_NUM_SEL 7
-#define PARAM_SPI0_PTM_EXISTS 1
-#define PARAM_SPI0_REVID_MAJOR 3
-#define PARAM_SPI0_REVID_REV 0
-#define PARAM_SPI1_MEM_MAPPED 0
-#define PARAM_SPI1_NUM_SEL 7
-#define PARAM_SPI1_PTM_EXISTS 1
-#define PARAM_SPI1_REVID_MAJOR 3
-#define PARAM_SPI1_REVID_REV 0
-
-
-
-/* ACM Parameters */
-
-#define PARAM_ACM0_NUM_ADDR 5
-#define PARAM_ACM0_NUM_TRIG 2
-
-
-/* DDR Parameters */
-
-#define PARAM_DMC0_NUM_ADDR 14
-#define PARAM_DMC0_NUM_BA 3
-#define PARAM_DMC0_NUM_CS 1
-#define PARAM_DMC0_NUM_DATA 16
-
-
-/* System Cross Bar Parameters */
-
-#define PARAM_SCB0_NUM_MASTERS 6
-#define PARAM_SCB0_NUM_SLOTS 32
-#define PARAM_SCB1_NUM_MASTERS 1
-#define PARAM_SCB1_NUM_SLOTS 32
-#define PARAM_SCB2_NUM_MASTERS 1
-#define PARAM_SCB2_NUM_SLOTS 32
-#define PARAM_SCB3_NUM_MASTERS 1
-#define PARAM_SCB3_NUM_SLOTS 32
-#define PARAM_SCB4_NUM_MASTERS 1
-#define PARAM_SCB4_NUM_SLOTS 32
-#define PARAM_SCB5_NUM_MASTERS 1
-#define PARAM_SCB5_NUM_SLOTS 32
-#define PARAM_SCB6_NUM_MASTERS 1
-#define PARAM_SCB6_NUM_SLOTS 32
-#define PARAM_SCB7_NUM_MASTERS 1
-#define PARAM_SCB7_NUM_SLOTS 32
-#define PARAM_SCB8_NUM_MASTERS 1
-#define PARAM_SCB8_NUM_SLOTS 32
-#define PARAM_SCB9_NUM_MASTERS 1
-#define PARAM_SCB9_NUM_SLOTS 32
-#define PARAM_SCB10_NUM_MASTERS 3
-#define PARAM_SCB10_NUM_SLOTS 32
-#define PARAM_SCB11_NUM_MASTERS 7
-#define PARAM_SCB11_NUM_SLOTS 32
-
-
-
-/* System Event Controller Parameters */
-
-#define PARAM_SEC0_CCOUNT 2
-#define PARAM_SEC0_SCOUNT 140
-
-
-/* Trigger Routing Unit Parameters */
-
-#define PARAM_TRU0_NUM_INTS 4
-#define PARAM_TRU0_NUM_TRIGS 4
-#define PARAM_TRU0_SSRCOUNT 87
-
-
-/* Reset Control Unit Parameters */
-
-#define PARAM_RCU0_CCOUNT 2
-#define PARAM_RCU0_CRCTL_CR_INIT 2
-#define PARAM_RCU0_CRSTAT_CR_INIT 3
-#define PARAM_RCU0_SICOUNT 2
-#define PARAM_RCU0_SVECT_INIT 65440
-
-
-/* System Protection Unit Parameters */
-
-#define PARAM_SPU0_CM_COUNT 2
-#define PARAM_SPU0_END_POINT_COUNT 86
-#define PARAM_SPU0_SM_COUNT 2
-
-
-/* Clock Generation Unit Parameters */
-
-#define PARAM_CGU0_CSEL_DEFAULT 4
-#define PARAM_CGU0_DSEL_DEFAULT 8
-#define PARAM_CGU0_MSEL_DEFAULT 16
-#define PARAM_CGU0_OSEL_DEFAULT 16
-#define PARAM_CGU0_PLLBP_DEFAULT 0
-#define PARAM_CGU0_S0SEL_DEFAULT 2
-#define PARAM_CGU0_S1SEL_DEFAULT 2
-#define PARAM_CGU0_SYSSEL_DEFAULT 8
-
-
-/* Dynamic Power Management Parameters */
-
-#define PARAM_DPM0_NUM_CCLK 2
-#define PARAM_DPM0_NUM_HV 8
-#define PARAM_DPM0_NUM_SCLK 4
-#define PARAM_DPM0_NUM_WAKE 8
-
-
-
-/* Universal Serial Bus Controller Parameters */
-
-#define PARAM_USB0_DMA_CHAN 8
-#define PARAM_USB0_DYN_FIFO_SIZE 1
-#define PARAM_USB0_FS_PHY 0
-#define PARAM_USB0_HS_PHY 1
-#define PARAM_USB0_LOOPBACK 1
-#define PARAM_USB0_NUM_ENDPTS 12
-#define PARAM_USB0_NUM_ENDPTS_MINUS_1 11
-
-
-/* Data Memory Unit Parameters */
-
-#define PARAM_L1DM0_L1_BASE_ADDRESS 1111111110
-
-
-
-
-
-
-
-
-/* ===================================
- Trigger Master Definitions
- =================================== */
-/* -- RESERVED -- 0 */
-#define TRGM_CGU0_EVT 1 /* Event */
-#define TRGM_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGM_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGM_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGM_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGM_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGM_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGM_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGM_TIMER0_TMR7 9 /* Timer 7 */
-#define TRGM_PINT0_BLOCK 10 /* Pin Interrupt Block */
-#define TRGM_PINT1_BLOCK 11 /* Pin Interrupt Block */
-#define TRGM_PINT2_BLOCK 12 /* Pin Interrupt Block */
-#define TRGM_PINT3_BLOCK 13 /* Pin Interrupt Block */
-#define TRGM_PINT4_BLOCK 14 /* Pin Interrupt Block */
-#define TRGM_PINT5_BLOCK 15 /* Pin Interrupt Block */
-#define TRGM_CNT0_STAT 16 /* Status */
-#define TRGM_PWM0_SYNC 17 /* PWMTMR Group */
-#define TRGM_PWM1_SYNC 18 /* PWMTMR Group */
-#define TRGM_ACM0_EVT_COMPLETE 19 /* Event Complete */
-#define TRGM_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGM_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGM_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGM_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGM_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGM_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGM_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGM_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGM_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGM_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGM_RSI0_DMA 30 /* DMA Channel */
-#define TRGM_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGM_EMAC0_STAT 33 /* Status */
-#define TRGM_EMAC1_STAT 34 /* Status */
-#define TRGM_LP0_DMA 35 /* DMA Channel */
-#define TRGM_LP1_DMA 36 /* DMA Channel */
-#define TRGM_LP2_DMA 37 /* DMA Channel */
-#define TRGM_LP3_DMA 38 /* DMA Channel */
-#define TRGM_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGM_UART0_RXDMA 40 /* Receive DMA */
-#define TRGM_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGM_UART1_RXDMA 42 /* Receive DMA */
-#define TRGM_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGM_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGM_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGM_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGM_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGM_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGM_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGM_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGM_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGM_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGM_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGM_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGM_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGM_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGM_PIXC0_CH0_DMA 57 /* Channel 0 DMA */
-#define TRGM_PIXC0_CH1_DMA 58 /* Channel 1 DMA */
-#define TRGM_PIXC0_CH2_DMA 59 /* Channel 2 DMA */
-#define TRGM_PVP0_CPDOB_DMA 60 /* Camera Pipe Data Out B DMA Channel */
-#define TRGM_PVP0_CPDOC_DMA 61 /* Camera Pipe Data Out C DMA Channel */
-#define TRGM_PVP0_CPSTAT_DMA 62 /* Camera Pipe Status Out DMA Channel */
-#define TRGM_PVP0_CPCI_DMA 63 /* Camera Pipe Control In DMA Channel */
-#define TRGM_PVP0_MPDO_DMA 64 /* Memory Pipe Data Out DMA Channel */
-#define TRGM_PVP0_MPDI_DMA 65 /* Memory Pipe Data In DMA Channel */
-#define TRGM_PVP0_MPSTAT_DMA 66 /* Memory Pipe Status Out DMA Channel */
-#define TRGM_PVP0_MPCI_DMA 67 /* Memory Pipe Control In DMA Channel */
-#define TRGM_PVP0_CPDOA_DMA 68 /* Camera Pipe Data Out A DMA Channel */
-#define TRGM_USB0_DATA 69 /* DMA Status/Transfer Complete */
-/* -- RESERVED -- 70 */
-#define TRGM_SEC0_FAULT 71 /* Fault */
-#define TRGM_SOFT0 72 /* Software-driven Trigger 0 */
-#define TRGM_SOFT1 73 /* Software-driven Trigger 1 */
-#define TRGM_SOFT2 74 /* Software-driven Trigger 2 */
-#define TRGM_SOFT3 75 /* Software-driven Trigger 3 */
-#define TRGM_SOFT4 76 /* Software-driven Trigger 4 */
-#define TRGM_SOFT5 77 /* Software-driven Trigger 5 */
-#define TRGM_PVP0_STAT0 78 /* Status 0 */
-#define TRGM_PVP0_STAT1 79 /* Status 1 */
-#define TRGM_SWU0_EVT 80 /* Event */
-#define TRGM_SWU1_EVT 81 /* Event */
-#define TRGM_SWU2_EVT 82 /* Event */
-#define TRGM_SWU3_EVT 83 /* Event */
-#define TRGM_SWU4_EVT 84 /* Event */
-#define TRGM_SWU5_EVT 85 /* Event */
-#define TRGM_SWU6_EVT 86 /* Event */
-
-/* ===================================
- Trigger Slave Definitions
- =================================== */
-#define TRGS_RCU0_SYSRST0 0 /* System Reset 0 */
-#define TRGS_RCU0_SYSRST1 1 /* System Reset 1 */
-#define TRGS_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGS_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGS_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGS_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGS_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGS_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGS_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGS_TIMER0_TMR7 9 /* Timer 7 */
-/* -- RESERVED -- 10 */
-/* -- RESERVED -- 11 */
-#define TRGS_C0_NMI_S0 12 /* NMI (Core 0) Slave 0 */
-#define TRGS_C0_NMI_S1 13 /* NMI (Core 0) Slave 1 */
-#define TRGS_C1_NMI_S0 14 /* NMI (Core 1) Slave 0 */
-#define TRGS_C1_NMI_S1 15 /* NMI (Core 1) Slave 1 */
-#define TRGS_TRU0_IRQ0 16 /* Interrupt Request 0 */
-#define TRGS_TRU0_IRQ1 17 /* Interrupt Request 1 */
-#define TRGS_TRU0_IRQ2 18 /* Interrupt Request 2 */
-#define TRGS_TRU0_IRQ3 19 /* Interrupt Request 3 */
-#define TRGS_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGS_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGS_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGS_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGS_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGS_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGS_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGS_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGS_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGS_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGS_RSI0_DMA 30 /* DMA Channel */
-#define TRGS_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGS_ACM0_TRIG2 33 /* Trigger Input 2 */
-#define TRGS_ACM0_TRIG3 34 /* Trigger Input 3 */
-#define TRGS_LP0_DMA 35 /* DMA Channel */
-#define TRGS_LP1_DMA 36 /* DMA Channel */
-#define TRGS_LP2_DMA 37 /* DMA Channel */
-#define TRGS_LP3_DMA 38 /* DMA Channel */
-#define TRGS_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGS_UART0_RXDMA 40 /* Receive DMA */
-#define TRGS_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGS_UART1_RXDMA 42 /* Receive DMA */
-#define TRGS_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGS_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGS_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGS_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGS_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGS_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGS_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGS_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGS_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGS_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGS_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGS_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGS_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGS_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGS_PIXC0_CH0_DMA 57 /* Channel 0 DMA */
-#define TRGS_PIXC0_CH1_DMA 58 /* Channel 1 DMA */
-#define TRGS_PIXC0_CH2_DMA 59 /* Channel 2 DMA */
-#define TRGS_PVP0_CPDOB_DMA 60 /* Camera Pipe Data Out B DMA Channel */
-#define TRGS_PVP0_CPDOC_DMA 61 /* Camera Pipe Data Out C DMA Channel */
-#define TRGS_PVP0_CPSTAT_DMA 62 /* Camera Pipe Status Out DMA Channel */
-#define TRGS_PVP0_CPCI_DMA 63 /* Camera Pipe Control In DMA Channel */
-#define TRGS_PVP0_MPDO_DMA 64 /* Memory Pipe Data Out DMA Channel */
-#define TRGS_PVP0_MPDI_DMA 65 /* Memory Pipe Data In DMA Channel */
-#define TRGS_PVP0_MPSTAT_DMA 66 /* Memory Pipe Status Out DMA Channel */
-#define TRGS_PVP0_MPCI_DMA 67 /* Memory Pipe Control In DMA Channel */
-#define TRGS_PVP0_CPDOA_DMA 68 /* Camera Pipe Data Out A DMA Channel */
-#define TRGS_SDU0_SLAVE 69 /* Slave Trigger */
-/* -- RESERVED -- 70 */
-#define TRGS_C0_WAKE0 71 /* Core 0 Wakeup Input 0 */
-#define TRGS_C0_WAKE1 72 /* Core 0 Wakeup Input 1 */
-#define TRGS_C0_WAKE2 73 /* Core 0 Wakeup Input 2 */
-#define TRGS_C0_WAKE3 74 /* Core 0 Wakeup Input 3 */
-#define TRGS_C1_WAKE0 75 /* Core 1 Wakeup Input 0 */
-#define TRGS_C1_WAKE1 76 /* Core 1 Wakeup Input 1 */
-#define TRGS_C1_WAKE2 77 /* Core 1 Wakeup Input 2 */
-#define TRGS_C1_WAKE3 78 /* Core 1 Wakeup Input 3 */
-/* -- RESERVED -- 79 */
-#define TRGS_SWU0_EVT 80 /* Event */
-#define TRGS_SWU1_EVT 81 /* Event */
-#define TRGS_SWU2_EVT 82 /* Event */
-#define TRGS_SWU3_EVT 83 /* Event */
-#define TRGS_SWU4_EVT 84 /* Event */
-#define TRGS_SWU5_EVT 85 /* Event */
-#define TRGS_SWU6_EVT 86 /* Event */
-
-
-/* ============================================================================
- Memory Map Macros
- ============================================================================ */
-
-/* ADSP-BF608 is a multi-core processor */
-
-#define MEM_NUM_CORES 2
-
-/* Internal memory range */
-
-#define MEM_BASE_INTERNAL 0xC0000000
-#define MEM_END_INTERNAL 0xFFFFFFFF
-#define MEM_SIZE_INTERNAL 0x40000000
-
-/* External memory range */
-
-#define MEM_BASE_EXTERNAL 0x00000000
-#define MEM_END_EXTERNAL 0xBFFFFFFF
-#define MEM_SIZE_EXTERNAL 0xC0000000
-
-/* Shared DDR2 or LPDDR Memory (256 MB) */
-
-#define MEM_BASE_DDR 0x00000000
-#define MEM_END_DDR 0x0FFFFFFF
-#define MEM_SIZE_DDR 0x10000000
-
-/* Shared Async Memory (256 MB) */
-
-#define MEM_BASE_ASYNC 0xB0000000
-#define MEM_END_ASYNC 0xBFFFFFFF
-#define MEM_SIZE_ASYNC 0x10000000
-
-/* Shared Async Memory Bank 0 (64 MB) */
-
-#define MEM_BASE_ASYNC_0 0xB0000000
-#define MEM_END_ASYNC_0 0xB3FFFFFF
-#define MEM_SIZE_ASYNC_0 0x4000000
-
-/* Shared Async Memory Bank 1 (64 MB) */
-
-#define MEM_BASE_ASYNC_1 0xB4000000
-#define MEM_END_ASYNC_1 0xB7FFFFFF
-#define MEM_SIZE_ASYNC_1 0x4000000
-
-/* Shared Async Memory Bank 2 (64 MB) */
-
-#define MEM_BASE_ASYNC_2 0xB8000000
-#define MEM_END_ASYNC_2 0xBBFFFFFF
-#define MEM_SIZE_ASYNC_2 0x4000000
-
-/* Shared Async Memory Bank 3 (64 MB) */
-
-#define MEM_BASE_ASYNC_3 0xBC000000
-#define MEM_END_ASYNC_3 0xBFFFFFFF
-#define MEM_SIZE_ASYNC_3 0x4000000
-
-/* Shared L2 ROM (32 KB) */
-
-#define MEM_BASE_L2_ROM 0xC8000000
-#define MEM_END_L2_ROM 0xC8007FFF
-#define MEM_SIZE_L2_ROM 0x8000
-
-/* Shared L2 SRAM (256 KB) */
-
-#define MEM_BASE_L2_SRAM 0xC8080000
-#define MEM_END_L2_SRAM 0xC80BFFFF
-#define MEM_SIZE_L2_SRAM 0x40000
-
-/* Core 1 L1 Data Bank A (32 KB) */
-
-#define MEM_C1_BASE_L1DM_A 0xFF400000
-#define MEM_C1_END_L1DM_A 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A 0x8000
-
-/* Core 1 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM 0xFF400000
-#define MEM_C1_END_L1DM_A_SRAM 0xFF403FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 1 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM_CACHE 0xFF404000
-#define MEM_C1_END_L1DM_A_SRAM_CACHE 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Data Bank B (32 KB) */
-
-#define MEM_C1_BASE_L1DM_B 0xFF500000
-#define MEM_C1_END_L1DM_B 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B 0x8000
-
-/* Core 1 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM 0xFF500000
-#define MEM_C1_END_L1DM_B_SRAM 0xFF503FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 1 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM_CACHE 0xFF504000
-#define MEM_C1_END_L1DM_B_SRAM_CACHE 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Instruction (80 KB) */
-
-#define MEM_C1_BASE_L1IM 0xFF600000
-#define MEM_C1_END_L1IM 0xFF613FFF
-#define MEM_C1_SIZE_L1IM 0x14000
-
-/* Core 1 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM 0xFF600000
-#define MEM_C1_END_L1IM_SRAM 0xFF60FFFF
-#define MEM_C1_SIZE_L1IM_SRAM 0x10000
-
-/* Core 1 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM_CACHE 0xFF610000
-#define MEM_C1_END_L1IM_SRAM_CACHE 0xFF613FFF
-#define MEM_C1_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C1_BASE_L1_XPAD_SRAM 0xFF700000
-#define MEM_C1_END_L1_XPAD_SRAM 0xFF700FFF
-#define MEM_C1_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Core 0 L1 Data Bank A (32 KB) */
-
-#define MEM_C0_BASE_L1DM_A 0xFF800000
-#define MEM_C0_END_L1DM_A 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A 0x8000
-
-/* Core 0 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM 0xFF800000
-#define MEM_C0_END_L1DM_A_SRAM 0xFF803FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 0 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM_CACHE 0xFF804000
-#define MEM_C0_END_L1DM_A_SRAM_CACHE 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Data Bank B (32 KB) */
-
-#define MEM_C0_BASE_L1DM_B 0xFF900000
-#define MEM_C0_END_L1DM_B 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B 0x8000
-
-/* Core 0 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM 0xFF900000
-#define MEM_C0_END_L1DM_B_SRAM 0xFF903FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 0 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM_CACHE 0xFF904000
-#define MEM_C0_END_L1DM_B_SRAM_CACHE 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Instruction (80 KB) */
-
-#define MEM_C0_BASE_L1IM 0xFFA00000
-#define MEM_C0_END_L1IM 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM 0x14000
-
-/* Core 0 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM 0xFFA00000
-#define MEM_C0_END_L1IM_SRAM 0xFFA0FFFF
-#define MEM_C0_SIZE_L1IM_SRAM 0x10000
-
-/* Core 0 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM_CACHE 0xFFA10000
-#define MEM_C0_END_L1IM_SRAM_CACHE 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C0_BASE_L1_XPAD_SRAM 0xFFB00000
-#define MEM_C0_END_L1_XPAD_SRAM 0xFFB00FFF
-#define MEM_C0_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Shared System MMR Registers (2 MB) */
-
-#define MEM_BASE_MMR_SYSTEM 0xFFC00000
-#define MEM_END_MMR_SYSTEM 0xFFDFFFFF
-#define MEM_SIZE_MMR_SYSTEM 0x200000
-
-/* Core 0 Core MMR Registers (2 MB) */
-
-#define MEM_C0_BASE_MMR_CORE 0xFFE00000
-#define MEM_C0_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C0_SIZE_MMR_CORE 0x200000
-
-/* Core 1 Core MMR Registers (2 MB) */
-
-#define MEM_C1_BASE_MMR_CORE 0xFFE00000
-#define MEM_C1_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C1_SIZE_MMR_CORE 0x200000
-
-
-#endif /* end ifndef _DEF_BF608_H */
diff --git a/libgloss/bfin/include/defBF609.h b/libgloss/bfin/include/defBF609.h
deleted file mode 100644
index 6c41ed8..0000000
--- a/libgloss/bfin/include/defBF609.h
+++ /dev/null
@@ -1,19426 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* ================================================================================
-
- Project : ADSP-BF609
- File : defBF609.h
- Description : Register Definitions
-
- Date : 06-07-2012
- Tag : BF60X_TOOLS_CCES_1_0_1
-
- Copyright (c) 2011-2012 Analog Devices, Inc. All Rights Reserved.
- This software is proprietary and confidential to Analog Devices, Inc. and
- its licensors.
-
- This file was auto-generated. Do not make local changes to this file.
-
- ================================================================================ */
-
-#ifndef _DEF_BF609_H
-#define _DEF_BF609_H
-
-#if defined (_MISRA_RULES)
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_7:"ADI header allows function-like macros")
-#pragma diag(suppress:misra_rule_19_13:"ADI headers can use the # and ## preprocessor operators")
-#endif /* _MISRA_RULES */
-
-/* do not add casts to literal constants in assembly code */
-#if defined(_LANGUAGE_ASM) || defined(__ASSEMBLER__)
-#define _ADI_MSK( mask, type ) (mask) /* Make a bitmask */
-#else
-#define _ADI_MSK( mask, type ) ((type)(mask)) /* Make a bitmask */
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#ifndef __ADI_GENERATED_DEF_HEADERS__
-#define __ADI_GENERATED_DEF_HEADERS__ 1
-#endif
-
-/* MMR modules defined for the ADSP-BF609 */
-
-#define __ADI_HAS_SYS__ 1
-#define __ADI_HAS_SIMENV__ 1
-#define __ADI_HAS_CNT__ 1
-#define __ADI_HAS_RSI__ 1
-#define __ADI_HAS_CAN__ 1
-#define __ADI_HAS_LP__ 1
-#define __ADI_HAS_TIMER__ 1
-#define __ADI_HAS_CRC__ 1
-#define __ADI_HAS_TWI__ 1
-#define __ADI_HAS_UART__ 1
-#define __ADI_HAS_PORT__ 1
-#define __ADI_HAS_PADS__ 1
-#define __ADI_HAS_PINT__ 1
-#define __ADI_HAS_SMC__ 1
-#define __ADI_HAS_WDOG__ 1
-#define __ADI_HAS_EPPI__ 1
-#define __ADI_HAS_PIXC__ 1
-#define __ADI_HAS_PVP__ 1
-#define __ADI_HAS_PWM__ 1
-#define __ADI_HAS_VID__ 1
-#define __ADI_HAS_SWU__ 1
-#define __ADI_HAS_SDU__ 1
-#define __ADI_HAS_EMAC__ 1
-#define __ADI_HAS_SPORT__ 1
-#define __ADI_HAS_SPI__ 1
-#define __ADI_HAS_DMA__ 1
-#define __ADI_HAS_ACM__ 1
-#define __ADI_HAS_DMC__ 1
-#define __ADI_HAS_SCB__ 1
-#define __ADI_HAS_L2CTL__ 1
-#define __ADI_HAS_SEC__ 1
-#define __ADI_HAS_TRU__ 1
-#define __ADI_HAS_RCU__ 1
-#define __ADI_HAS_SPU__ 1
-#define __ADI_HAS_CGU__ 1
-#define __ADI_HAS_DPM__ 1
-#define __ADI_HAS_EFS__ 1
-#define __ADI_HAS_USB__ 1
-#define __ADI_HAS_L1DM__ 1
-#define __ADI_HAS_L1IM__ 1
-#define __ADI_HAS_ICU__ 1
-#define __ADI_HAS_TMR__ 1
-#define __ADI_HAS_DBG__ 1
-#define __ADI_HAS_TB__ 1
-#define __ADI_HAS_WP__ 1
-#define __ADI_HAS_PF__ 1
-
-/* =========================
- REGFILE
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ASTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ASTAT_VS 25 /* Sticky version of ASTAT_V */
-#define BITP_ASTAT_V 24 /* Overflow Flag */
-#define BITP_ASTAT_AV1S 19 /* Sticky Overflow Flag 1 */
-#define BITP_ASTAT_AV1 18 /* Overflow Flag 1 */
-#define BITP_ASTAT_AV0S 17 /* Sticky Overflow Flag 0 */
-#define BITP_ASTAT_AV0 16 /* Overflow Flag 0 */
-#define BITP_ASTAT_AC1 13 /* Carry Flag 1 */
-#define BITP_ASTAT_AC0 12 /* Carry Flag 0 */
-#define BITP_ASTAT_RND_MOD 8 /* Rounding Mode */
-#define BITP_ASTAT_AQ 6 /* Quotient Bit */
-#define BITP_ASTAT_CC 5 /* Condition Code */
-#define BITP_ASTAT_V_COPY 3 /* Overflow Flag */
-#define BITP_ASTAT_AC0_COPY 2 /* Carry Flag 0 */
-#define BITP_ASTAT_AN 1 /* Negative Flag */
-#define BITP_ASTAT_AZ 0 /* Zero Flag */
-#define BITM_ASTAT_VS (_ADI_MSK(0x02000000,uint32_t)) /* Sticky version of ASTAT_V */
-#define BITM_ASTAT_V (_ADI_MSK(0x01000000,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AV1S (_ADI_MSK(0x00080000,uint32_t)) /* Sticky Overflow Flag 1 */
-#define BITM_ASTAT_AV1 (_ADI_MSK(0x00040000,uint32_t)) /* Overflow Flag 1 */
-#define BITM_ASTAT_AV0S (_ADI_MSK(0x00020000,uint32_t)) /* Sticky Overflow Flag 0 */
-#define BITM_ASTAT_AV0 (_ADI_MSK(0x00010000,uint32_t)) /* Overflow Flag 0 */
-#define BITM_ASTAT_AC1 (_ADI_MSK(0x00002000,uint32_t)) /* Carry Flag 1 */
-#define BITM_ASTAT_AC0 (_ADI_MSK(0x00001000,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_RND_MOD (_ADI_MSK(0x00000100,uint32_t)) /* Rounding Mode */
-#define BITM_ASTAT_AQ (_ADI_MSK(0x00000040,uint32_t)) /* Quotient Bit */
-#define BITM_ASTAT_CC (_ADI_MSK(0x00000020,uint32_t)) /* Condition Code */
-#define BITM_ASTAT_V_COPY (_ADI_MSK(0x00000008,uint32_t)) /* Overflow Flag */
-#define BITM_ASTAT_AC0_COPY (_ADI_MSK(0x00000004,uint32_t)) /* Carry Flag 0 */
-#define BITM_ASTAT_AN (_ADI_MSK(0x00000002,uint32_t)) /* Negative Flag */
-#define BITM_ASTAT_AZ (_ADI_MSK(0x00000001,uint32_t)) /* Zero Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LT_ADDR 1 /* Loop Top Address */
-#define BITP_LT_LSB 0
-#define BITM_LT_ADDR (_ADI_MSK(0xFFFFFFFE,uint32_t)) /* Loop Top Address */
-#define BITM_LT_LSB (_ADI_MSK(0x00000001,uint32_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEQSTAT_NSPECABT 19 /* Nonspeculative access was aborted */
-#define BITP_SEQSTAT_HWERRCAUSE 14 /* Holds cause of last hardware error generated by the core */
-#define BITP_SEQSTAT_SFTRESET 13 /* Indicates whether the last reset was a software reset */
-#define BITP_SEQSTAT_ITESTABT 12 /* ITEST_COMMAND was aborted */
-#define BITP_SEQSTAT_DTESTABT 11 /* DTEST_COMMAND was aborted */
-#define BITP_SEQSTAT_SYSNMI 10 /* System NMI Input Active */
-#define BITP_SEQSTAT_PEIC 9 /* Parity Error on Instruction L1 Read for Core */
-#define BITP_SEQSTAT_PEDC 8 /* Parity Error on Data L1 Read for Core */
-#define BITP_SEQSTAT_PEIX 7 /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_PEDX 6 /* Parity Error on Data L1 Read for L2 Transfer */
-#define BITP_SEQSTAT_EXCAUSE 0 /* Holds cause of last-executed exception */
-#define BITM_SEQSTAT_NSPECABT (_ADI_MSK(0x00080000,uint32_t)) /* Nonspeculative access was aborted */
-#define BITM_SEQSTAT_HWERRCAUSE (_ADI_MSK(0x0007C000,uint32_t)) /* Holds cause of last hardware error generated by the core */
-#define BITM_SEQSTAT_SFTRESET (_ADI_MSK(0x00002000,uint32_t)) /* Indicates whether the last reset was a software reset */
-#define BITM_SEQSTAT_ITESTABT (_ADI_MSK(0x00001000,uint32_t)) /* ITEST_COMMAND was aborted */
-#define BITM_SEQSTAT_DTESTABT (_ADI_MSK(0x00000800,uint32_t)) /* DTEST_COMMAND was aborted */
-#define BITM_SEQSTAT_SYSNMI (_ADI_MSK(0x00000400,uint32_t)) /* System NMI Input Active */
-#define BITM_SEQSTAT_PEIC (_ADI_MSK(0x00000200,uint32_t)) /* Parity Error on Instruction L1 Read for Core */
-#define BITM_SEQSTAT_PEDC (_ADI_MSK(0x00000100,uint32_t)) /* Parity Error on Data L1 Read for Core */
-#define BITM_SEQSTAT_PEIX (_ADI_MSK(0x00000080,uint32_t)) /* Parity Error on Instruction L1 Read for L2 Transfer */
-#define BITM_SEQSTAT_PEDX (_ADI_MSK(0x00000040,uint32_t)) /* Parity Error on Data L1 Read for L2 Transfer */
-
-#define BITM_SEQSTAT_EXCAUSE (_ADI_MSK(0x0000003F,uint32_t)) /* Holds cause of last-executed exception */
-#define ENUM_SEQSTAT_EXINST (_ADI_MSK(0x00000000,uint32_t)) /* EXCAUSE: EXCPT Instruction */
-#define ENUM_SEQSTAT_SSTEP (_ADI_MSK(0x00000010,uint32_t)) /* EXCAUSE: Single Step */
-#define ENUM_SEQSTAT_EMUTROV (_ADI_MSK(0x00000011,uint32_t)) /* EXCAUSE: Trace Buffer */
-#define ENUM_SEQSTAT_UNDEFINST (_ADI_MSK(0x00000021,uint32_t)) /* EXCAUSE: Undefined Instruction */
-#define ENUM_SEQSTAT_ILLCOMB (_ADI_MSK(0x00000022,uint32_t)) /* EXCAUSE: Illegal Combination */
-#define ENUM_SEQSTAT_DAGPROTVIOL (_ADI_MSK(0x00000023,uint32_t)) /* EXCAUSE: DAG Protection Violation */
-#define ENUM_SEQSTAT_DAGALGN (_ADI_MSK(0x00000024,uint32_t)) /* EXCAUSE: DAG Misaligned Access */
-#define ENUM_SEQSTAT_UNRECOVER (_ADI_MSK(0x00000025,uint32_t)) /* EXCAUSE: Unrecoverable Event */
-#define ENUM_SEQSTAT_DAGCPLBMISS (_ADI_MSK(0x00000026,uint32_t)) /* EXCAUSE: DAG CPLB Miss */
-#define ENUM_SEQSTAT_DAGMCPLBH (_ADI_MSK(0x00000027,uint32_t)) /* EXCAUSE: DAG Multiple CPLB Hits */
-#define ENUM_SEQSTAT_EMUWPMATCH (_ADI_MSK(0x00000028,uint32_t)) /* EXCAUSE: Watchpoint Match */
-#define ENUM_SEQSTAT_IFALGN (_ADI_MSK(0x0000002A,uint32_t)) /* EXCAUSE: I-Fetch Misaligned Access */
-#define ENUM_SEQSTAT_IFPROTVIOL (_ADI_MSK(0x0000002B,uint32_t)) /* EXCAUSE: I-Fetch Protection Violation */
-#define ENUM_SEQSTAT_IFCPLBMISS (_ADI_MSK(0x0000002C,uint32_t)) /* EXCAUSE: I-Fetch CPLB Miss */
-#define ENUM_SEQSTAT_IFMCPLBH (_ADI_MSK(0x0000002D,uint32_t)) /* EXCAUSE: I-Fetch Multiple CPLB Hits */
-#define ENUM_SEQSTAT_PROTVIOL (_ADI_MSK(0x0000002E,uint32_t)) /* EXCAUSE: Illegal use superv. res */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SYSCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SYSCFG_SNEN 2 /* Self-Nesting Interrupt Enable */
-#define BITP_SYSCFG_CCEN 1 /* Enable cycle counter */
-#define BITP_SYSCFG_SSSTEP 0 /* Supervisor single step */
-#define BITM_SYSCFG_SNEN (_ADI_MSK(0x00000004,uint32_t)) /* Self-Nesting Interrupt Enable */
-#define BITM_SYSCFG_CCEN (_ADI_MSK(0x00000002,uint32_t)) /* Enable cycle counter */
-#define BITM_SYSCFG_SSSTEP (_ADI_MSK(0x00000001,uint32_t)) /* Supervisor single step */
-
-/* ==================================================
- CNT Registers
- ================================================== */
-
-/* =========================
- CNT0
- ========================= */
-#define REG_CNT0_CFG 0xFFC00400 /* CNT0 Configuration Register */
-#define REG_CNT0_IMSK 0xFFC00404 /* CNT0 Interrupt Mask Register */
-#define REG_CNT0_STAT 0xFFC00408 /* CNT0 Status Register */
-#define REG_CNT0_CMD 0xFFC0040C /* CNT0 Command Register */
-#define REG_CNT0_DEBNCE 0xFFC00410 /* CNT0 Debounce Register */
-#define REG_CNT0_CNTR 0xFFC00414 /* CNT0 Counter Register */
-#define REG_CNT0_MAX 0xFFC00418 /* CNT0 Maximum Count Register */
-#define REG_CNT0_MIN 0xFFC0041C /* CNT0 Minimum Count Register */
-
-/* =========================
- CNT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CFG_INPDIS 15 /* CUD and CDG Pin Input Disable */
-#define BITP_CNT_CFG_BNDMODE 12 /* Boundary Register Mode */
-#define BITP_CNT_CFG_ZMZC 11 /* CZM Zeroes Counter Enable */
-#define BITP_CNT_CFG_CNTMODE 8 /* Counter Operating Mode */
-#define BITP_CNT_CFG_CZMINV 6 /* CZM Pin Polarity Invert */
-#define BITP_CNT_CFG_CUDINV 5 /* CUD Pin Polarity Invert */
-#define BITP_CNT_CFG_CDGINV 4 /* CDG Pin Polarity Invert */
-#define BITP_CNT_CFG_DEBEN 1 /* Debounce Enable */
-#define BITP_CNT_CFG_EN 0 /* Counter Enable */
-
-#define BITM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* CUD and CDG Pin Input Disable */
-#define ENUM_CNT_CFG_NO_INPDIS (_ADI_MSK(0x00000000,uint16_t)) /* INPDIS: Enable */
-#define ENUM_CNT_CFG_INPDIS (_ADI_MSK(0x00008000,uint16_t)) /* INPDIS: Pin Input Disable */
-
-#define BITM_CNT_CFG_BNDMODE (_ADI_MSK(0x00003000,uint16_t)) /* Boundary Register Mode */
-#define ENUM_CNT_CFG_BNDMODE_BNDCOMP (_ADI_MSK(0x00000000,uint16_t)) /* BNDMODE: BND_COMP */
-#define ENUM_CNT_CFG_BNDMODE_BINENC (_ADI_MSK(0x00001000,uint16_t)) /* BNDMODE: BIN_ENC */
-#define ENUM_CNT_CFG_BNDMODE_BNDCAPT (_ADI_MSK(0x00002000,uint16_t)) /* BNDMODE: BND_CAPT */
-#define ENUM_CNT_CFG_BNDMODE_BNDAEXT (_ADI_MSK(0x00003000,uint16_t)) /* BNDMODE: BND_AEXT */
-
-#define BITM_CNT_CFG_ZMZC (_ADI_MSK(0x00000800,uint16_t)) /* CZM Zeroes Counter Enable */
-#define ENUM_CNT_CFG_ZMZC_DIS (_ADI_MSK(0x00000000,uint16_t)) /* ZMZC: Disable */
-#define ENUM_CNT_CFG_ZMZC_EN (_ADI_MSK(0x00000800,uint16_t)) /* ZMZC: Enable */
-
-#define BITM_CNT_CFG_CNTMODE (_ADI_MSK(0x00000700,uint16_t)) /* Counter Operating Mode */
-#define ENUM_CNT_CFG_CNTMODE_QUADENC (_ADI_MSK(0x00000000,uint16_t)) /* CNTMODE: QUAD_ENC */
-#define ENUM_CNT_CFG_CNTMODE_BINENC (_ADI_MSK(0x00000100,uint16_t)) /* CNTMODE: BIN_ENC */
-#define ENUM_CNT_CFG_CNTMODE_UDCNT (_ADI_MSK(0x00000200,uint16_t)) /* CNTMODE: UD_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRCNT (_ADI_MSK(0x00000400,uint16_t)) /* CNTMODE: DIR_CNT */
-#define ENUM_CNT_CFG_CNTMODE_DIRTMR (_ADI_MSK(0x00000500,uint16_t)) /* CNTMODE: DIR_TMR */
-
-#define BITM_CNT_CFG_CZMINV (_ADI_MSK(0x00000040,uint16_t)) /* CZM Pin Polarity Invert */
-#define ENUM_CNT_CFG_CZMINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CZMINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CZMINV_ALO (_ADI_MSK(0x00000040,uint16_t)) /* CZMINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CUDINV (_ADI_MSK(0x00000020,uint16_t)) /* CUD Pin Polarity Invert */
-#define ENUM_CNT_CFG_CUDINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CUDINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CUDINV_ALO (_ADI_MSK(0x00000020,uint16_t)) /* CUDINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_CDGINV (_ADI_MSK(0x00000010,uint16_t)) /* CDG Pin Polarity Invert */
-#define ENUM_CNT_CFG_CDGINV_AHI (_ADI_MSK(0x00000000,uint16_t)) /* CDGINV: Active High, Rising Edge */
-#define ENUM_CNT_CFG_CDGINV_ALO (_ADI_MSK(0x00000010,uint16_t)) /* CDGINV: Active Low, Falling Edge */
-
-#define BITM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* Debounce Enable */
-#define ENUM_CNT_CFG_DEBDIS (_ADI_MSK(0x00000000,uint16_t)) /* DEBEN: Disable */
-#define ENUM_CNT_CFG_DEBEN (_ADI_MSK(0x00000002,uint16_t)) /* DEBEN: Enable */
-
-#define BITM_CNT_CFG_EN (_ADI_MSK(0x00000001,uint16_t)) /* Counter Enable */
-#define ENUM_CNT_CFG_CNTDIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Counter Disable */
-#define ENUM_CNT_CFG_CNTEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Counter Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_IMSK_CZMZ 10 /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define BITP_CNT_IMSK_CZME 9 /* Zero Marker Error Interrupt Enable */
-#define BITP_CNT_IMSK_CZM 8 /* CZM Pin / Pushbutton Interrupt Enable */
-#define BITP_CNT_IMSK_CZERO 7 /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define BITP_CNT_IMSK_COV15 6 /* Bit 15 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_COV31 5 /* Bit 31 Overflow Interrupt Enable */
-#define BITP_CNT_IMSK_MAXC 4 /* Max Count Interrupt Enable */
-#define BITP_CNT_IMSK_MINC 3 /* Min Count Interrupt Enable */
-#define BITP_CNT_IMSK_DC 2 /* Downcount Interrupt enable */
-#define BITP_CNT_IMSK_UC 1 /* Upcount Interrupt Enable */
-#define BITP_CNT_IMSK_IC 0 /* Illegal Gray/Binary Code Interrupt Enable */
-
-#define BITM_CNT_IMSK_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed by Zero Marker Interrupt Enable */
-#define ENUM_CNT_IMSK_CZMZ_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZMZ: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZMZ_UMSK (_ADI_MSK(0x00000400,uint16_t)) /* CZMZ: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error Interrupt Enable */
-#define ENUM_CNT_IMSK_CZME_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZME: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZME_UMSK (_ADI_MSK(0x00000200,uint16_t)) /* CZME: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin / Pushbutton Interrupt Enable */
-#define ENUM_CNT_IMSK_CZM_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZM: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZM_UMSK (_ADI_MSK(0x00000100,uint16_t)) /* CZM: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero Interrupt Enable */
-#define ENUM_CNT_IMSK_CZERO_MSK (_ADI_MSK(0x00000000,uint16_t)) /* CZERO: Mask Interrupt */
-#define ENUM_CNT_IMSK_CZERO_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* CZERO: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV15_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV15: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV15_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* COV15: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 Overflow Interrupt Enable */
-#define ENUM_CNT_IMSK_COV31_MSK (_ADI_MSK(0x00000000,uint16_t)) /* COV31: Mask Interrupt */
-#define ENUM_CNT_IMSK_COV31_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* COV31: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MAXC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MAXC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MAXC_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MAXC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min Count Interrupt Enable */
-#define ENUM_CNT_IMSK_MINC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MINC: Mask Interrupt */
-#define ENUM_CNT_IMSK_MINC_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* MINC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount Interrupt enable */
-#define ENUM_CNT_IMSK_DC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* DC: Mask Interrupt */
-#define ENUM_CNT_IMSK_DC_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* DC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount Interrupt Enable */
-#define ENUM_CNT_IMSK_UC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* UC: Mask Interrupt */
-#define ENUM_CNT_IMSK_UC_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* UC: Unmask Interrupt */
-
-#define BITM_CNT_IMSK_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal Gray/Binary Code Interrupt Enable */
-#define ENUM_CNT_IMSK_IC_MSK (_ADI_MSK(0x00000000,uint16_t)) /* IC: Mask Interrupt */
-#define ENUM_CNT_IMSK_IC_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* IC: Unmask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_STAT_CZMZ 10 /* Counter Zeroed By Zero Marker interrupt */
-#define BITP_CNT_STAT_CZME 9 /* Zero Marker Error interrupt */
-#define BITP_CNT_STAT_CZM 8 /* CZM Pin/Pushbutton interrupt */
-#define BITP_CNT_STAT_CZERO 7 /* CNT_CNTR Counts To Zero interrupt */
-#define BITP_CNT_STAT_COV15 6 /* Bit 15 overflow interrupt */
-#define BITP_CNT_STAT_COV31 5 /* Bit 31 overflow interrupt */
-#define BITP_CNT_STAT_MAXC 4 /* Max interrupt */
-#define BITP_CNT_STAT_MINC 3 /* Min interrupt */
-#define BITP_CNT_STAT_DC 2 /* Downcount interrupt */
-#define BITP_CNT_STAT_UC 1 /* Upcount interrupt */
-#define BITP_CNT_STAT_IC 0 /* Illegal gray/binary code interrupt */
-#define BITM_CNT_STAT_CZMZ (_ADI_MSK(0x00000400,uint16_t)) /* Counter Zeroed By Zero Marker interrupt */
-#define BITM_CNT_STAT_CZME (_ADI_MSK(0x00000200,uint16_t)) /* Zero Marker Error interrupt */
-#define BITM_CNT_STAT_CZM (_ADI_MSK(0x00000100,uint16_t)) /* CZM Pin/Pushbutton interrupt */
-#define BITM_CNT_STAT_CZERO (_ADI_MSK(0x00000080,uint16_t)) /* CNT_CNTR Counts To Zero interrupt */
-#define BITM_CNT_STAT_COV15 (_ADI_MSK(0x00000040,uint16_t)) /* Bit 15 overflow interrupt */
-#define BITM_CNT_STAT_COV31 (_ADI_MSK(0x00000020,uint16_t)) /* Bit 31 overflow interrupt */
-#define BITM_CNT_STAT_MAXC (_ADI_MSK(0x00000010,uint16_t)) /* Max interrupt */
-#define BITM_CNT_STAT_MINC (_ADI_MSK(0x00000008,uint16_t)) /* Min interrupt */
-#define BITM_CNT_STAT_DC (_ADI_MSK(0x00000004,uint16_t)) /* Downcount interrupt */
-#define BITM_CNT_STAT_UC (_ADI_MSK(0x00000002,uint16_t)) /* Upcount interrupt */
-#define BITM_CNT_STAT_IC (_ADI_MSK(0x00000001,uint16_t)) /* Illegal gray/binary code interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_CMD_W1ZMONCE 12 /* Write 1 Zero Marker Clear Once Enable */
-#define BITP_CNT_CMD_W1LMAXMIN 10 /* Write 1 MAX copy from MIN */
-#define BITP_CNT_CMD_W1LMAXCNT 9 /* Write 1 MAX capture from CNTR */
-#define BITP_CNT_CMD_W1LMAXZERO 8 /* Write 1 MAX to zero */
-#define BITP_CNT_CMD_W1LMINMAX 7 /* Write 1 MIN copy from MAX */
-#define BITP_CNT_CMD_W1LMINCNT 5 /* Write 1 MIN capture from CNTR */
-#define BITP_CNT_CMD_W1LMINZERO 4 /* Write 1 MIN to zero */
-#define BITP_CNT_CMD_W1LCNTMAX 3 /* Write 1 CNTR load from MAX */
-#define BITP_CNT_CMD_W1LCNTMIN 2 /* Write 1 CNTR load from MIN */
-#define BITP_CNT_CMD_W1LCNTZERO 0 /* Write 1 CNTR to zero */
-#define BITM_CNT_CMD_W1ZMONCE (_ADI_MSK(0x00001000,uint16_t)) /* Write 1 Zero Marker Clear Once Enable */
-#define BITM_CNT_CMD_W1LMAXMIN (_ADI_MSK(0x00000400,uint16_t)) /* Write 1 MAX copy from MIN */
-#define BITM_CNT_CMD_W1LMAXCNT (_ADI_MSK(0x00000200,uint16_t)) /* Write 1 MAX capture from CNTR */
-#define BITM_CNT_CMD_W1LMAXZERO (_ADI_MSK(0x00000100,uint16_t)) /* Write 1 MAX to zero */
-#define BITM_CNT_CMD_W1LMINMAX (_ADI_MSK(0x00000080,uint16_t)) /* Write 1 MIN copy from MAX */
-#define BITM_CNT_CMD_W1LMINCNT (_ADI_MSK(0x00000020,uint16_t)) /* Write 1 MIN capture from CNTR */
-#define BITM_CNT_CMD_W1LMINZERO (_ADI_MSK(0x00000010,uint16_t)) /* Write 1 MIN to zero */
-#define BITM_CNT_CMD_W1LCNTMAX (_ADI_MSK(0x00000008,uint16_t)) /* Write 1 CNTR load from MAX */
-#define BITM_CNT_CMD_W1LCNTMIN (_ADI_MSK(0x00000004,uint16_t)) /* Write 1 CNTR load from MIN */
-#define BITM_CNT_CMD_W1LCNTZERO (_ADI_MSK(0x00000001,uint16_t)) /* Write 1 CNTR to zero */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CNT_DEBNCE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CNT_DEBNCE_DPRESCALE 0 /* Debounce Prescale */
-#define BITM_CNT_DEBNCE_DPRESCALE (_ADI_MSK(0x0000001F,uint16_t)) /* Debounce Prescale */
-
-/* ==================================================
- RSI Registers
- ================================================== */
-
-/* =========================
- RSI0
- ========================= */
-#define REG_RSI0_CTL 0xFFC00604 /* RSI0 Control Register */
-#define REG_RSI0_ARG 0xFFC00608 /* RSI0 Argument Register */
-#define REG_RSI0_CMD 0xFFC0060C /* RSI0 Command Register */
-#define REG_RSI0_RESP_CMD 0xFFC00610 /* RSI0 Response Command Register */
-#define REG_RSI0_RESP0 0xFFC00614 /* RSI0 Response 0 Register */
-#define REG_RSI0_RESP1 0xFFC00618 /* RSI0 Response 1 Register */
-#define REG_RSI0_RESP2 0xFFC0061C /* RSI0 Response 2 Register */
-#define REG_RSI0_RESP3 0xFFC00620 /* RSI0 Response 3 Register */
-#define REG_RSI0_DATA_TMR 0xFFC00624 /* RSI0 Data Timer Register */
-#define REG_RSI0_DATA_LEN 0xFFC00628 /* RSI0 Data Length Register */
-#define REG_RSI0_DATA_CTL 0xFFC0062C /* RSI0 Data Control Register */
-#define REG_RSI0_DATA_CNT 0xFFC00630 /* RSI0 Data Count Register */
-#define REG_RSI0_XFRSTAT 0xFFC00634 /* RSI0 Status Register */
-#define REG_RSI0_XFRSTAT_CLR 0xFFC00638 /* RSI0 Status Clear Register */
-#define REG_RSI0_XFR_IMSK0 0xFFC0063C /* RSI0 Interrupt 0 Mask Register */
-#define REG_RSI0_XFR_IMSK1 0xFFC00640 /* RSI0 Interrupt 1 Mask Register */
-#define REG_RSI0_FIFO_CNT 0xFFC00648 /* RSI0 FIFO Counter Register */
-#define REG_RSI0_CEATA 0xFFC0064C /* RSI0 This register contains bit to dis CCS gen */
-#define REG_RSI0_BOOT_TCNTR 0xFFC00650 /* RSI0 Boot Timing Counter Register */
-#define REG_RSI0_BACK_TOUT 0xFFC00654 /* RSI0 Boot Acknowledge Timeout Register */
-#define REG_RSI0_SLP_WKUP_TOUT 0xFFC00658 /* RSI0 Sleep Wakeup Timeout Register */
-#define REG_RSI0_BLKSZ 0xFFC0065C /* RSI0 Block Size Register */
-#define REG_RSI0_FIFO 0xFFC00680 /* RSI0 Data FIFO Register */
-#define REG_RSI0_STAT0 0xFFC006C0 /* RSI0 Exception Status Register */
-#define REG_RSI0_IMSK0 0xFFC006C4 /* RSI0 Exception Mask Register */
-#define REG_RSI0_CFG 0xFFC006C8 /* RSI0 Configuration Register */
-#define REG_RSI0_RD_WAIT 0xFFC006CC /* RSI0 Read Wait Enable Register */
-#define REG_RSI0_PID0 0xFFC006D0 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID1 0xFFC006D4 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID2 0xFFC006D8 /* RSI0 Peripheral Identification Register */
-#define REG_RSI0_PID3 0xFFC006DC /* RSI0 Peripheral Identification Register */
-
-/* =========================
- RSI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CTL_CARDTYPE 13 /* Type of Card */
-#define BITP_RSI_CTL_BUSWID 11 /* Wide Bus Mode Enable */
-#define BITP_RSI_CTL_BYPASS 10 /* Bypass clock divisor */
-#define BITP_RSI_CTL_PWRSAVE 9 /* Power Save Enable */
-#define BITP_RSI_CTL_CLKEN 8 /* RSI_CLK Bus Clock Enable */
-#define BITP_RSI_CTL_CLKDIV 0 /* RSI_CLK Divisor */
-#define BITM_RSI_CTL_CARDTYPE (_ADI_MSK(0x0000E000,uint16_t)) /* Type of Card */
-#define BITM_RSI_CTL_BUSWID (_ADI_MSK(0x00001800,uint16_t)) /* Wide Bus Mode Enable */
-#define BITM_RSI_CTL_BYPASS (_ADI_MSK(0x00000400,uint16_t)) /* Bypass clock divisor */
-#define BITM_RSI_CTL_PWRSAVE (_ADI_MSK(0x00000200,uint16_t)) /* Power Save Enable */
-#define BITM_RSI_CTL_CLKEN (_ADI_MSK(0x00000100,uint16_t)) /* RSI_CLK Bus Clock Enable */
-#define BITM_RSI_CTL_CLKDIV (_ADI_MSK(0x000000FF,uint16_t)) /* RSI_CLK Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CMD_CHKBUSY 12 /* Check Busy Condition */
-#define BITP_RSI_CMD_CRCDIS 11 /* Disable CRC Check */
-#define BITP_RSI_CMD_EN 10 /* Command Enable */
-#define BITP_RSI_CMD_PNDEN 9 /* Command Pending enabled */
-#define BITP_RSI_CMD_IEN 8 /* Command Interrupt Enabled */
-#define BITP_RSI_CMD_LRSP 7 /* Long Response */
-#define BITP_RSI_CMD_RSP 6 /* Response */
-#define BITP_RSI_CMD_IDX 0 /* Command Index */
-#define BITM_RSI_CMD_CHKBUSY (_ADI_MSK(0x00001000,uint16_t)) /* Check Busy Condition */
-#define BITM_RSI_CMD_CRCDIS (_ADI_MSK(0x00000800,uint16_t)) /* Disable CRC Check */
-#define BITM_RSI_CMD_EN (_ADI_MSK(0x00000400,uint16_t)) /* Command Enable */
-#define BITM_RSI_CMD_PNDEN (_ADI_MSK(0x00000200,uint16_t)) /* Command Pending enabled */
-#define BITM_RSI_CMD_IEN (_ADI_MSK(0x00000100,uint16_t)) /* Command Interrupt Enabled */
-#define BITM_RSI_CMD_LRSP (_ADI_MSK(0x00000080,uint16_t)) /* Long Response */
-#define BITM_RSI_CMD_RSP (_ADI_MSK(0x00000040,uint16_t)) /* Response */
-#define BITM_RSI_CMD_IDX (_ADI_MSK(0x0000003F,uint16_t)) /* Command Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RESP_CMD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RESP_CMD_VALUE 0 /* Response Command */
-#define BITM_RSI_RESP_CMD_VALUE (_ADI_MSK(0x0000003F,uint16_t)) /* Response Command */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_DATA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_DATA_CTL_CEATAIEN 9 /* Ceata Command Completion Interrupt Enable */
-#define BITP_RSI_DATA_CTL_CEATAMODE 8 /* Ceata Mode enable */
-#define BITP_RSI_DATA_CTL_DMAEN 3 /* Data Transfer DMA Enable */
-#define BITP_RSI_DATA_CTL_DATMODE 2 /* Data Transfer Mode */
-#define BITP_RSI_DATA_CTL_DATDIR 1 /* Data Transfer Direction */
-#define BITP_RSI_DATA_CTL_DATEN 0 /* Data Transfer Enable */
-#define BITM_RSI_DATA_CTL_CEATAIEN (_ADI_MSK(0x00000200,uint16_t)) /* Ceata Command Completion Interrupt Enable */
-#define BITM_RSI_DATA_CTL_CEATAMODE (_ADI_MSK(0x00000100,uint16_t)) /* Ceata Mode enable */
-#define BITM_RSI_DATA_CTL_DMAEN (_ADI_MSK(0x00000008,uint16_t)) /* Data Transfer DMA Enable */
-#define BITM_RSI_DATA_CTL_DATMODE (_ADI_MSK(0x00000004,uint16_t)) /* Data Transfer Mode */
-#define BITM_RSI_DATA_CTL_DATDIR (_ADI_MSK(0x00000002,uint16_t)) /* Data Transfer Direction */
-#define BITM_RSI_DATA_CTL_DATEN (_ADI_MSK(0x00000001,uint16_t)) /* Data Transfer Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_RXFIFORDY 21 /* Receive FIFO Available */
-#define BITP_RSI_XFRSTAT_TXFIFORDY 20 /* Transmit FIFO Available */
-#define BITP_RSI_XFRSTAT_RXFIFOZERO 19 /* Receive FIFO Empty */
-#define BITP_RSI_XFRSTAT_TXFIFOZERO 18 /* Transmit FIFO Empty */
-#define BITP_RSI_XFRSTAT_RXFIFOFULL 17 /* Receive FIFO Full */
-#define BITP_RSI_XFRSTAT_TXFIFOFULL 16 /* Transmit FIFO Full */
-#define BITP_RSI_XFRSTAT_RXFIFOSTAT 15 /* Receive FIFO Status */
-#define BITP_RSI_XFRSTAT_TXFIFOSTAT 14 /* Transmit FIFO Status */
-#define BITP_RSI_XFRSTAT_RXACT 13 /* Receive Active */
-#define BITP_RSI_XFRSTAT_TXACT 12 /* Transmit Active */
-#define BITP_RSI_XFRSTAT_CMDACT 11 /* Command Active */
-#define BITP_RSI_XFRSTAT_DATBLKEND 10 /* Data Block End */
-#define BITP_RSI_XFRSTAT_SBITERR 9 /* Start Bit Error */
-#define BITP_RSI_XFRSTAT_DATEND 8 /* Data End */
-#define BITP_RSI_XFRSTAT_CMDSENT 7 /* Command Sent */
-#define BITP_RSI_XFRSTAT_RESPEND 6 /* Command Response End */
-#define BITP_RSI_XFRSTAT_RXOVER 5 /* Receive Over run */
-#define BITP_RSI_XFRSTAT_TXUNDR 4 /* Transmit Under run */
-#define BITP_RSI_XFRSTAT_DATTO 3 /* Data Timeout */
-#define BITP_RSI_XFRSTAT_CMDTO 2 /* CMD Timeout */
-#define BITP_RSI_XFRSTAT_DATCRCFAIL 1 /* Data CRC Fail */
-#define BITP_RSI_XFRSTAT_CMDCRCFAIL 0 /* CMD CRC Fail */
-#define BITM_RSI_XFRSTAT_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Receive FIFO Available */
-#define BITM_RSI_XFRSTAT_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Transmit FIFO Available */
-#define BITM_RSI_XFRSTAT_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Receive FIFO Empty */
-#define BITM_RSI_XFRSTAT_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Transmit FIFO Empty */
-#define BITM_RSI_XFRSTAT_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Full */
-#define BITM_RSI_XFRSTAT_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Transmit FIFO Full */
-#define BITM_RSI_XFRSTAT_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Receive FIFO Status */
-#define BITM_RSI_XFRSTAT_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Transmit FIFO Status */
-#define BITM_RSI_XFRSTAT_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Receive Active */
-#define BITM_RSI_XFRSTAT_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Transmit Active */
-#define BITM_RSI_XFRSTAT_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Command Active */
-#define BITM_RSI_XFRSTAT_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Data Block End */
-#define BITM_RSI_XFRSTAT_SBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Start Bit Error */
-#define BITM_RSI_XFRSTAT_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Data End */
-#define BITM_RSI_XFRSTAT_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Command Sent */
-#define BITM_RSI_XFRSTAT_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Command Response End */
-#define BITM_RSI_XFRSTAT_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Receive Over run */
-#define BITM_RSI_XFRSTAT_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Transmit Under run */
-#define BITM_RSI_XFRSTAT_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Data Timeout */
-#define BITM_RSI_XFRSTAT_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* CMD Timeout */
-#define BITM_RSI_XFRSTAT_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Data CRC Fail */
-#define BITM_RSI_XFRSTAT_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFRSTAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFRSTAT_CLR_DATBLKEND 10 /* Data Block End Status */
-#define BITP_RSI_XFRSTAT_CLR_STRTBITERR 9 /* Start Bit Error Status */
-#define BITP_RSI_XFRSTAT_CLR_DATEND 8 /* Data End Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDSENT 7 /* Command Sent Status */
-#define BITP_RSI_XFRSTAT_CLR_RESPEND 6 /* Command Response End Status */
-#define BITP_RSI_XFRSTAT_CLR_RXOVER 5 /* Receive Over run Status */
-#define BITP_RSI_XFRSTAT_CLR_TXUNDR 4 /* Transmit Under run Status */
-#define BITP_RSI_XFRSTAT_CLR_DATTO 3 /* Data Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDTO 2 /* CMD Timeout Status */
-#define BITP_RSI_XFRSTAT_CLR_DATCRCFAIL 1 /* Data CRC Fail Status */
-#define BITP_RSI_XFRSTAT_CLR_CMDCRCFAIL 0 /* CMD CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_DATBLKEND (_ADI_MSK(0x00000400,uint16_t)) /* Data Block End Status */
-#define BITM_RSI_XFRSTAT_CLR_STRTBITERR (_ADI_MSK(0x00000200,uint16_t)) /* Start Bit Error Status */
-#define BITM_RSI_XFRSTAT_CLR_DATEND (_ADI_MSK(0x00000100,uint16_t)) /* Data End Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDSENT (_ADI_MSK(0x00000080,uint16_t)) /* Command Sent Status */
-#define BITM_RSI_XFRSTAT_CLR_RESPEND (_ADI_MSK(0x00000040,uint16_t)) /* Command Response End Status */
-#define BITM_RSI_XFRSTAT_CLR_RXOVER (_ADI_MSK(0x00000020,uint16_t)) /* Receive Over run Status */
-#define BITM_RSI_XFRSTAT_CLR_TXUNDR (_ADI_MSK(0x00000010,uint16_t)) /* Transmit Under run Status */
-#define BITM_RSI_XFRSTAT_CLR_DATTO (_ADI_MSK(0x00000008,uint16_t)) /* Data Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDTO (_ADI_MSK(0x00000004,uint16_t)) /* CMD Timeout Status */
-#define BITM_RSI_XFRSTAT_CLR_DATCRCFAIL (_ADI_MSK(0x00000002,uint16_t)) /* Data CRC Fail Status */
-#define BITM_RSI_XFRSTAT_CLR_CMDCRCFAIL (_ADI_MSK(0x00000001,uint16_t)) /* CMD CRC Fail Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK0_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK0_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK0_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK0_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK0_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK0_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK0_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK0_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK0_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK0_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK0_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK0_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK0_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK0_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK0_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK0_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK0_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK0_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK0_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK0_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK0_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK0_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK0_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK0_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK0_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK0_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK0_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK0_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK0_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK0_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK0_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK0_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK0_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK0_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK0_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK0_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK0_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK0_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK0_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK0_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK0_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK0_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_XFR_IMSK1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_XFR_IMSK1_RXFIFORDY 21 /* Enable Interrupt for Receive FIFO Available */
-#define BITP_RSI_XFR_IMSK1_TXFIFORDY 20 /* Enable Interrupt for Transmit FIFO Available */
-#define BITP_RSI_XFR_IMSK1_RXFIFOZERO 19 /* Enable Interrupt for Receive FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_TXFIFOZERO 18 /* Enable Interrupt for Transmit FIFO Empty */
-#define BITP_RSI_XFR_IMSK1_RXFIFOFULL 17 /* Enable Interrupt for Receive FIFO Full */
-#define BITP_RSI_XFR_IMSK1_TXFIFOFULL 16 /* Enable Interrupt for Transmit FIFO Full */
-#define BITP_RSI_XFR_IMSK1_RXFIFOSTAT 15 /* Enable Interrupt for Receive FIFO Status */
-#define BITP_RSI_XFR_IMSK1_TXFIFOSTAT 14 /* Enable Interrupt for Transmit FIFO Status */
-#define BITP_RSI_XFR_IMSK1_RXACT 13 /* Enable Interrupt for Receive Active */
-#define BITP_RSI_XFR_IMSK1_TXACT 12 /* Enable Interrupt for Transmit Active */
-#define BITP_RSI_XFR_IMSK1_CMDACT 11 /* Enable Interrupt for Command Active */
-#define BITP_RSI_XFR_IMSK1_DATBLKEND 10 /* Enable Interrupt for Data Block End */
-#define BITP_RSI_XFR_IMSK1_STRTBITERR 9 /* Enable Interrupt for Start Bit Error */
-#define BITP_RSI_XFR_IMSK1_DATEND 8 /* Enable Interrupt for Data End */
-#define BITP_RSI_XFR_IMSK1_CMDSENT 7 /* Enable Interrupt for Command Sent */
-#define BITP_RSI_XFR_IMSK1_RESPEND 6 /* Enable Interrupt for Command Response End */
-#define BITP_RSI_XFR_IMSK1_RXOVER 5 /* Enable Interrupt for Receive Over run */
-#define BITP_RSI_XFR_IMSK1_TXUNDR 4 /* Enable Interrupt for Transmit Under run */
-#define BITP_RSI_XFR_IMSK1_DATTO 3 /* Enable Interrupt for Data Timeout */
-#define BITP_RSI_XFR_IMSK1_CMDTO 2 /* Enable Interrupt for CMD Timeout */
-#define BITP_RSI_XFR_IMSK1_DATCRCFAIL 1 /* Enable Interrupt for Data CRC Fail */
-#define BITP_RSI_XFR_IMSK1_CMDCRCFAIL 0 /* Enable Interrupt for CMD CRC Fail */
-#define BITM_RSI_XFR_IMSK1_RXFIFORDY (_ADI_MSK(0x00200000,uint32_t)) /* Enable Interrupt for Receive FIFO Available */
-#define BITM_RSI_XFR_IMSK1_TXFIFORDY (_ADI_MSK(0x00100000,uint32_t)) /* Enable Interrupt for Transmit FIFO Available */
-#define BITM_RSI_XFR_IMSK1_RXFIFOZERO (_ADI_MSK(0x00080000,uint32_t)) /* Enable Interrupt for Receive FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_TXFIFOZERO (_ADI_MSK(0x00040000,uint32_t)) /* Enable Interrupt for Transmit FIFO Empty */
-#define BITM_RSI_XFR_IMSK1_RXFIFOFULL (_ADI_MSK(0x00020000,uint32_t)) /* Enable Interrupt for Receive FIFO Full */
-#define BITM_RSI_XFR_IMSK1_TXFIFOFULL (_ADI_MSK(0x00010000,uint32_t)) /* Enable Interrupt for Transmit FIFO Full */
-#define BITM_RSI_XFR_IMSK1_RXFIFOSTAT (_ADI_MSK(0x00008000,uint32_t)) /* Enable Interrupt for Receive FIFO Status */
-#define BITM_RSI_XFR_IMSK1_TXFIFOSTAT (_ADI_MSK(0x00004000,uint32_t)) /* Enable Interrupt for Transmit FIFO Status */
-#define BITM_RSI_XFR_IMSK1_RXACT (_ADI_MSK(0x00002000,uint32_t)) /* Enable Interrupt for Receive Active */
-#define BITM_RSI_XFR_IMSK1_TXACT (_ADI_MSK(0x00001000,uint32_t)) /* Enable Interrupt for Transmit Active */
-#define BITM_RSI_XFR_IMSK1_CMDACT (_ADI_MSK(0x00000800,uint32_t)) /* Enable Interrupt for Command Active */
-#define BITM_RSI_XFR_IMSK1_DATBLKEND (_ADI_MSK(0x00000400,uint32_t)) /* Enable Interrupt for Data Block End */
-#define BITM_RSI_XFR_IMSK1_STRTBITERR (_ADI_MSK(0x00000200,uint32_t)) /* Enable Interrupt for Start Bit Error */
-#define BITM_RSI_XFR_IMSK1_DATEND (_ADI_MSK(0x00000100,uint32_t)) /* Enable Interrupt for Data End */
-#define BITM_RSI_XFR_IMSK1_CMDSENT (_ADI_MSK(0x00000080,uint32_t)) /* Enable Interrupt for Command Sent */
-#define BITM_RSI_XFR_IMSK1_RESPEND (_ADI_MSK(0x00000040,uint32_t)) /* Enable Interrupt for Command Response End */
-#define BITM_RSI_XFR_IMSK1_RXOVER (_ADI_MSK(0x00000020,uint32_t)) /* Enable Interrupt for Receive Over run */
-#define BITM_RSI_XFR_IMSK1_TXUNDR (_ADI_MSK(0x00000010,uint32_t)) /* Enable Interrupt for Transmit Under run */
-#define BITM_RSI_XFR_IMSK1_DATTO (_ADI_MSK(0x00000008,uint32_t)) /* Enable Interrupt for Data Timeout */
-#define BITM_RSI_XFR_IMSK1_CMDTO (_ADI_MSK(0x00000004,uint32_t)) /* Enable Interrupt for CMD Timeout */
-#define BITM_RSI_XFR_IMSK1_DATCRCFAIL (_ADI_MSK(0x00000002,uint32_t)) /* Enable Interrupt for Data CRC Fail */
-#define BITM_RSI_XFR_IMSK1_CMDCRCFAIL (_ADI_MSK(0x00000001,uint32_t)) /* Enable Interrupt for CMD CRC Fail */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_FIFO_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_FIFO_CNT_VALUE 0 /* FIFO Count */
-#define BITM_RSI_FIFO_CNT_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* FIFO Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CEATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CEATA_INT_DIS 0 /* CEATA Disable Interrupt */
-#define BITM_RSI_CEATA_INT_DIS (_ADI_MSK(0x00000001,uint32_t)) /* CEATA Disable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BOOT_TCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BOOT_TCNTR_HOLD 8 /* Boot Hold Time */
-#define BITP_RSI_BOOT_TCNTR_SETUP 0 /* Boot Setup Time */
-#define BITM_RSI_BOOT_TCNTR_HOLD (_ADI_MSK(0x0000FF00,uint16_t)) /* Boot Hold Time */
-#define BITM_RSI_BOOT_TCNTR_SETUP (_ADI_MSK(0x000000FF,uint16_t)) /* Boot Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_BLKSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_BLKSZ_VALUE 0 /* Size of Each Block of Data */
-#define BITM_RSI_BLKSZ_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Size of Each Block of Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_STAT0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_STAT0_BUSYMODE 31 /* Card is in Busy mode */
-#define BITP_RSI_STAT0_SLPMODE 30 /* Card in Sleep Mode */
-#define BITP_RSI_STAT0_CARDRDY 17 /* Card Ready */
-#define BITP_RSI_STAT0_SLPWKPTOUT 16 /* Sleep Wakeup Timer Expired */
-#define BITP_RSI_STAT0_WKPDONE 15 /* Card Entered Standby state */
-#define BITP_RSI_STAT0_SLPDONE 14 /* Card Entered Sleep State */
-#define BITP_RSI_STAT0_BACKDONE 13 /* Correct Boot Ack is received */
-#define BITP_RSI_STAT0_BACKBAD 12 /* Boot Ack received is corrupted */
-#define BITP_RSI_STAT0_BACKTO 11 /* Boot Acknowledge Timeout */
-#define BITP_RSI_STAT0_BDATTO 10 /* Boot Data Timeout */
-#define BITP_RSI_STAT0_BHOLDEXP 9 /* Boot Hold Time Expiry */
-#define BITP_RSI_STAT0_BSETUPEXP 8 /* Boot Setup Time Expiry */
-#define BITP_RSI_STAT0_CEATAINT 5 /* CEATA Interrupt */
-#define BITP_RSI_STAT0_SDCARD 4 /* SD Card Detected */
-#define BITP_RSI_STAT0_SDIOINT 1 /* SDIO Interrupt */
-#define BITM_RSI_STAT0_BUSYMODE (_ADI_MSK(0x80000000,uint32_t)) /* Card is in Busy mode */
-#define BITM_RSI_STAT0_SLPMODE (_ADI_MSK(0x40000000,uint32_t)) /* Card in Sleep Mode */
-#define BITM_RSI_STAT0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Card Ready */
-#define BITM_RSI_STAT0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Sleep Wakeup Timer Expired */
-#define BITM_RSI_STAT0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Card Entered Standby state */
-#define BITM_RSI_STAT0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Card Entered Sleep State */
-#define BITM_RSI_STAT0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Correct Boot Ack is received */
-#define BITM_RSI_STAT0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Boot Ack received is corrupted */
-#define BITM_RSI_STAT0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Boot Acknowledge Timeout */
-#define BITM_RSI_STAT0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Boot Data Timeout */
-#define BITM_RSI_STAT0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Boot Hold Time Expiry */
-#define BITM_RSI_STAT0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Boot Setup Time Expiry */
-#define BITM_RSI_STAT0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* CEATA Interrupt */
-#define BITM_RSI_STAT0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* SD Card Detected */
-#define BITM_RSI_STAT0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_IMSK0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_IMSK0_CARDRDY 17 /* Mask Interrupt for Card Ready */
-#define BITP_RSI_IMSK0_SLPWKPTOUT 16 /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITP_RSI_IMSK0_WKPDONE 15 /* Mask Interrupt for Card Entered Standby state */
-#define BITP_RSI_IMSK0_SLPDONE 14 /* Mask Interrupt for Card Entered Sleep State */
-#define BITP_RSI_IMSK0_BACKDONE 13 /* Mask Interrupt for Correct Boot Ack is received */
-#define BITP_RSI_IMSK0_BACKBAD 12 /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITP_RSI_IMSK0_BACKTO 11 /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITP_RSI_IMSK0_BDATTO 10 /* Mask Interrupt for Boot Data Timeout */
-#define BITP_RSI_IMSK0_BHOLDEXP 9 /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITP_RSI_IMSK0_BSETUPEXP 8 /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITP_RSI_IMSK0_CEATAINT 5 /* Mask CEATA Interrupt */
-#define BITP_RSI_IMSK0_SDCARD 4 /* Mask Interrupt for SD Card Detected */
-#define BITP_RSI_IMSK0_SDIOINT 1 /* Mask SDIO Interrupt */
-#define BITM_RSI_IMSK0_CARDRDY (_ADI_MSK(0x00020000,uint32_t)) /* Mask Interrupt for Card Ready */
-#define BITM_RSI_IMSK0_SLPWKPTOUT (_ADI_MSK(0x00010000,uint32_t)) /* Mask Interrupt for Sleep Wakeup Timer Expired */
-#define BITM_RSI_IMSK0_WKPDONE (_ADI_MSK(0x00008000,uint32_t)) /* Mask Interrupt for Card Entered Standby state */
-#define BITM_RSI_IMSK0_SLPDONE (_ADI_MSK(0x00004000,uint32_t)) /* Mask Interrupt for Card Entered Sleep State */
-#define BITM_RSI_IMSK0_BACKDONE (_ADI_MSK(0x00002000,uint32_t)) /* Mask Interrupt for Correct Boot Ack is received */
-#define BITM_RSI_IMSK0_BACKBAD (_ADI_MSK(0x00001000,uint32_t)) /* Mask Interrupt for Boot Ack received is corrupted */
-#define BITM_RSI_IMSK0_BACKTO (_ADI_MSK(0x00000800,uint32_t)) /* Mask Interrupt for Boot Acknowledge Timeout */
-#define BITM_RSI_IMSK0_BDATTO (_ADI_MSK(0x00000400,uint32_t)) /* Mask Interrupt for Boot Data Timeout */
-#define BITM_RSI_IMSK0_BHOLDEXP (_ADI_MSK(0x00000200,uint32_t)) /* Mask Interrupt for Boot Hold Time Expiry */
-#define BITM_RSI_IMSK0_BSETUPEXP (_ADI_MSK(0x00000100,uint32_t)) /* Mask Interrupt for Boot Setup Time Expiry */
-#define BITM_RSI_IMSK0_CEATAINT (_ADI_MSK(0x00000020,uint32_t)) /* Mask CEATA Interrupt */
-#define BITM_RSI_IMSK0_SDCARD (_ADI_MSK(0x00000010,uint32_t)) /* Mask Interrupt for SD Card Detected */
-#define BITM_RSI_IMSK0_SDIOINT (_ADI_MSK(0x00000002,uint32_t)) /* Mask SDIO Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_CFG_BACKEN 14 /* Boot Acknowledge enabled */
-#define BITP_RSI_CFG_MMCBMODE 13 /* MMC Boot Mode select */
-#define BITP_RSI_CFG_MMCBEN 12 /* MMC Boot Enabled */
-#define BITP_RSI_CFG_OPENDRAIN 11 /* MC_CMD Output Control */
-#define BITP_RSI_CFG_PWRON 9 /* 11 - RSI Enabled */
-#define BITP_RSI_CFG_IEBYPDIS 8 /* Disabled IE Bypass */
-#define BITP_RSI_CFG_DAT3PUP 6 /* Pull-Up SD_DAT3 */
-#define BITP_RSI_CFG_DATPUP 5 /* Pull-Up SD_DAT */
-#define BITP_RSI_CFG_RST 4 /* SDMMC Reset */
-#define BITP_RSI_CFG_MWINEN 3 /* Moving Window Enable */
-#define BITP_RSI_CFG_SD4EN 2 /* SDIO 4-Bit Enable */
-#define BITP_RSI_CFG_CLKSEN 0 /* Clocks Enable */
-#define BITM_RSI_CFG_BACKEN (_ADI_MSK(0x00004000,uint16_t)) /* Boot Acknowledge enabled */
-#define BITM_RSI_CFG_MMCBMODE (_ADI_MSK(0x00002000,uint16_t)) /* MMC Boot Mode select */
-#define BITM_RSI_CFG_MMCBEN (_ADI_MSK(0x00001000,uint16_t)) /* MMC Boot Enabled */
-#define BITM_RSI_CFG_OPENDRAIN (_ADI_MSK(0x00000800,uint16_t)) /* MC_CMD Output Control */
-#define BITM_RSI_CFG_PWRON (_ADI_MSK(0x00000600,uint16_t)) /* 11 - RSI Enabled */
-#define BITM_RSI_CFG_IEBYPDIS (_ADI_MSK(0x00000100,uint16_t)) /* Disabled IE Bypass */
-#define BITM_RSI_CFG_DAT3PUP (_ADI_MSK(0x00000040,uint16_t)) /* Pull-Up SD_DAT3 */
-#define BITM_RSI_CFG_DATPUP (_ADI_MSK(0x00000020,uint16_t)) /* Pull-Up SD_DAT */
-#define BITM_RSI_CFG_RST (_ADI_MSK(0x00000010,uint16_t)) /* SDMMC Reset */
-#define BITM_RSI_CFG_MWINEN (_ADI_MSK(0x00000008,uint16_t)) /* Moving Window Enable */
-#define BITM_RSI_CFG_SD4EN (_ADI_MSK(0x00000004,uint16_t)) /* SDIO 4-Bit Enable */
-#define BITM_RSI_CFG_CLKSEN (_ADI_MSK(0x00000001,uint16_t)) /* Clocks Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_RD_WAIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_RD_WAIT_REQUEST 0 /* Read Wait Request */
-#define BITM_RSI_RD_WAIT_REQUEST (_ADI_MSK(0x00000001,uint16_t)) /* Read Wait Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID0_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID0_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID1_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID1_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID2_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID2_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RSI_PID3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RSI_PID3_VALUE 0 /* Peripheral Identification */
-#define BITM_RSI_PID3_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Peripheral Identification */
-
-/* ==================================================
- Controller Area Network Registers
- ================================================== */
-
-/* =========================
- CAN0
- ========================= */
-#define REG_CAN0_MC1 0xFFC00A00 /* CAN0 Mailbox Configuration 1 Register */
-#define REG_CAN0_MD1 0xFFC00A04 /* CAN0 Mailbox Direction 1 Register */
-#define REG_CAN0_TRS1 0xFFC00A08 /* CAN0 Transmission Request Set 1 Register */
-#define REG_CAN0_TRR1 0xFFC00A0C /* CAN0 Transmission Request Reset 1 Register */
-#define REG_CAN0_TA1 0xFFC00A10 /* CAN0 Transmission Acknowledge 1 Register */
-#define REG_CAN0_AA1 0xFFC00A14 /* CAN0 Abort Acknowledge 1 Register */
-#define REG_CAN0_RMP1 0xFFC00A18 /* CAN0 Receive Message Pending 1 Register */
-#define REG_CAN0_RML1 0xFFC00A1C /* CAN0 Receive Message Lost 1 Register */
-#define REG_CAN0_MBTIF1 0xFFC00A20 /* CAN0 Mailbox Transmit Interrupt Flag 1 Register */
-#define REG_CAN0_MBRIF1 0xFFC00A24 /* CAN0 Mailbox Receive Interrupt Flag 1 Register */
-#define REG_CAN0_MBIM1 0xFFC00A28 /* CAN0 Mailbox Interrupt Mask 1 Register */
-#define REG_CAN0_RFH1 0xFFC00A2C /* CAN0 Remote Frame Handling 1 Register */
-#define REG_CAN0_OPSS1 0xFFC00A30 /* CAN0 Overwrite Protection/Single Shot Transmission 1 Register */
-#define REG_CAN0_MC2 0xFFC00A40 /* CAN0 Mailbox Configuration 2 Register */
-#define REG_CAN0_MD2 0xFFC00A44 /* CAN0 Mailbox Direction 2 Register */
-#define REG_CAN0_TRS2 0xFFC00A48 /* CAN0 Transmission Request Set 2 Register */
-#define REG_CAN0_TRR2 0xFFC00A4C /* CAN0 Transmission Request Reset 2 Register */
-#define REG_CAN0_TA2 0xFFC00A50 /* CAN0 Transmission Acknowledge 2 Register */
-#define REG_CAN0_AA2 0xFFC00A54 /* CAN0 Abort Acknowledge 2 Register */
-#define REG_CAN0_RMP2 0xFFC00A58 /* CAN0 Receive Message Pending 2 Register */
-#define REG_CAN0_RML2 0xFFC00A5C /* CAN0 Receive Message Lost 2 Register */
-#define REG_CAN0_MBTIF2 0xFFC00A60 /* CAN0 Mailbox Transmit Interrupt Flag 2 Register */
-#define REG_CAN0_MBRIF2 0xFFC00A64 /* CAN0 Mailbox Receive Interrupt Flag 2 Register */
-#define REG_CAN0_MBIM2 0xFFC00A68 /* CAN0 Mailbox Interrupt Mask 2 Register */
-#define REG_CAN0_RFH2 0xFFC00A6C /* CAN0 Remote Frame Handling 2 Register */
-#define REG_CAN0_OPSS2 0xFFC00A70 /* CAN0 Overwrite Protection/Single Shot Transmission 2 Register */
-#define REG_CAN0_CLK 0xFFC00A80 /* CAN0 Clock Register */
-#define REG_CAN0_TIMING 0xFFC00A84 /* CAN0 Timing Register */
-#define REG_CAN0_DBG 0xFFC00A88 /* CAN0 Debug Register */
-#define REG_CAN0_STAT 0xFFC00A8C /* CAN0 Status Register */
-#define REG_CAN0_CEC 0xFFC00A90 /* CAN0 Error Counter Register */
-#define REG_CAN0_GIS 0xFFC00A94 /* CAN0 Global CAN Interrupt Status Register */
-#define REG_CAN0_GIM 0xFFC00A98 /* CAN0 Global CAN Interrupt Mask Register */
-#define REG_CAN0_GIF 0xFFC00A9C /* CAN0 Global CAN Interrupt Flag Register */
-#define REG_CAN0_CTL 0xFFC00AA0 /* CAN0 CAN Master Control Register */
-#define REG_CAN0_INT 0xFFC00AA4 /* CAN0 Interrupt Pending Register */
-#define REG_CAN0_MBTD 0xFFC00AAC /* CAN0 Temporary Mailbox Disable Register */
-#define REG_CAN0_EWR 0xFFC00AB0 /* CAN0 Error Counter Warning Level Register */
-#define REG_CAN0_ESR 0xFFC00AB4 /* CAN0 Error Status Register */
-#define REG_CAN0_UCCNT 0xFFC00AC4 /* CAN0 Universal Counter Register */
-#define REG_CAN0_UCRC 0xFFC00AC8 /* CAN0 Universal Counter Reload/Capture Register */
-#define REG_CAN0_UCCNF 0xFFC00ACC /* CAN0 Universal Counter Configuration Mode Register */
-#define REG_CAN0_AM00L 0xFFC00B00 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM01L 0xFFC00B08 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM02L 0xFFC00B10 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM03L 0xFFC00B18 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM04L 0xFFC00B20 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM05L 0xFFC00B28 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM06L 0xFFC00B30 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM07L 0xFFC00B38 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM08L 0xFFC00B40 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM09L 0xFFC00B48 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM10L 0xFFC00B50 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM11L 0xFFC00B58 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM12L 0xFFC00B60 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM13L 0xFFC00B68 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM14L 0xFFC00B70 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM15L 0xFFC00B78 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM16L 0xFFC00B80 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM17L 0xFFC00B88 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM18L 0xFFC00B90 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM19L 0xFFC00B98 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM20L 0xFFC00BA0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM21L 0xFFC00BA8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM22L 0xFFC00BB0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM23L 0xFFC00BB8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM24L 0xFFC00BC0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM25L 0xFFC00BC8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM26L 0xFFC00BD0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM27L 0xFFC00BD8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM28L 0xFFC00BE0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM29L 0xFFC00BE8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM30L 0xFFC00BF0 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM31L 0xFFC00BF8 /* CAN0 Acceptance Mask (L) Register */
-#define REG_CAN0_AM00H 0xFFC00B04 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM01H 0xFFC00B0C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM02H 0xFFC00B14 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM03H 0xFFC00B1C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM04H 0xFFC00B24 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM05H 0xFFC00B2C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM06H 0xFFC00B34 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM07H 0xFFC00B3C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM08H 0xFFC00B44 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM09H 0xFFC00B4C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM10H 0xFFC00B54 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM11H 0xFFC00B5C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM12H 0xFFC00B64 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM13H 0xFFC00B6C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM14H 0xFFC00B74 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM15H 0xFFC00B7C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM16H 0xFFC00B84 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM17H 0xFFC00B8C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM18H 0xFFC00B94 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM19H 0xFFC00B9C /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM20H 0xFFC00BA4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM21H 0xFFC00BAC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM22H 0xFFC00BB4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM23H 0xFFC00BBC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM24H 0xFFC00BC4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM25H 0xFFC00BCC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM26H 0xFFC00BD4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM27H 0xFFC00BDC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM28H 0xFFC00BE4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM29H 0xFFC00BEC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM30H 0xFFC00BF4 /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_AM31H 0xFFC00BFC /* CAN0 Acceptance Mask (H) Register */
-#define REG_CAN0_MB00_DATA0 0xFFC00C00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB01_DATA0 0xFFC00C20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB02_DATA0 0xFFC00C40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB03_DATA0 0xFFC00C60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB04_DATA0 0xFFC00C80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB05_DATA0 0xFFC00CA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB06_DATA0 0xFFC00CC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB07_DATA0 0xFFC00CE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB08_DATA0 0xFFC00D00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB09_DATA0 0xFFC00D20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB10_DATA0 0xFFC00D40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB11_DATA0 0xFFC00D60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB12_DATA0 0xFFC00D80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB13_DATA0 0xFFC00DA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB14_DATA0 0xFFC00DC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB15_DATA0 0xFFC00DE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB16_DATA0 0xFFC00E00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB17_DATA0 0xFFC00E20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB18_DATA0 0xFFC00E40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB19_DATA0 0xFFC00E60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB20_DATA0 0xFFC00E80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB21_DATA0 0xFFC00EA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB22_DATA0 0xFFC00EC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB23_DATA0 0xFFC00EE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB24_DATA0 0xFFC00F00 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB25_DATA0 0xFFC00F20 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB26_DATA0 0xFFC00F40 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB27_DATA0 0xFFC00F60 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB28_DATA0 0xFFC00F80 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB29_DATA0 0xFFC00FA0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB30_DATA0 0xFFC00FC0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB31_DATA0 0xFFC00FE0 /* CAN0 Mailbox Word 0 Register */
-#define REG_CAN0_MB00_DATA1 0xFFC00C04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB01_DATA1 0xFFC00C24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB02_DATA1 0xFFC00C44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB03_DATA1 0xFFC00C64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB04_DATA1 0xFFC00C84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB05_DATA1 0xFFC00CA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB06_DATA1 0xFFC00CC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB07_DATA1 0xFFC00CE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB08_DATA1 0xFFC00D04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB09_DATA1 0xFFC00D24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB10_DATA1 0xFFC00D44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB11_DATA1 0xFFC00D64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB12_DATA1 0xFFC00D84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB13_DATA1 0xFFC00DA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB14_DATA1 0xFFC00DC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB15_DATA1 0xFFC00DE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB16_DATA1 0xFFC00E04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB17_DATA1 0xFFC00E24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB18_DATA1 0xFFC00E44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB19_DATA1 0xFFC00E64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB20_DATA1 0xFFC00E84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB21_DATA1 0xFFC00EA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB22_DATA1 0xFFC00EC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB23_DATA1 0xFFC00EE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB24_DATA1 0xFFC00F04 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB25_DATA1 0xFFC00F24 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB26_DATA1 0xFFC00F44 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB27_DATA1 0xFFC00F64 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB28_DATA1 0xFFC00F84 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB29_DATA1 0xFFC00FA4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB30_DATA1 0xFFC00FC4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB31_DATA1 0xFFC00FE4 /* CAN0 Mailbox Word 1 Register */
-#define REG_CAN0_MB00_DATA2 0xFFC00C08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB01_DATA2 0xFFC00C28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB02_DATA2 0xFFC00C48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB03_DATA2 0xFFC00C68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB04_DATA2 0xFFC00C88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB05_DATA2 0xFFC00CA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB06_DATA2 0xFFC00CC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB07_DATA2 0xFFC00CE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB08_DATA2 0xFFC00D08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB09_DATA2 0xFFC00D28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB10_DATA2 0xFFC00D48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB11_DATA2 0xFFC00D68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB12_DATA2 0xFFC00D88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB13_DATA2 0xFFC00DA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB14_DATA2 0xFFC00DC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB15_DATA2 0xFFC00DE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB16_DATA2 0xFFC00E08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB17_DATA2 0xFFC00E28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB18_DATA2 0xFFC00E48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB19_DATA2 0xFFC00E68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB20_DATA2 0xFFC00E88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB21_DATA2 0xFFC00EA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB22_DATA2 0xFFC00EC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB23_DATA2 0xFFC00EE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB24_DATA2 0xFFC00F08 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB25_DATA2 0xFFC00F28 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB26_DATA2 0xFFC00F48 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB27_DATA2 0xFFC00F68 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB28_DATA2 0xFFC00F88 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB29_DATA2 0xFFC00FA8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB30_DATA2 0xFFC00FC8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB31_DATA2 0xFFC00FE8 /* CAN0 Mailbox Word 2 Register */
-#define REG_CAN0_MB00_DATA3 0xFFC00C0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB01_DATA3 0xFFC00C2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB02_DATA3 0xFFC00C4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB03_DATA3 0xFFC00C6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB04_DATA3 0xFFC00C8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB05_DATA3 0xFFC00CAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB06_DATA3 0xFFC00CCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB07_DATA3 0xFFC00CEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB08_DATA3 0xFFC00D0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB09_DATA3 0xFFC00D2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB10_DATA3 0xFFC00D4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB11_DATA3 0xFFC00D6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB12_DATA3 0xFFC00D8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB13_DATA3 0xFFC00DAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB14_DATA3 0xFFC00DCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB15_DATA3 0xFFC00DEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB16_DATA3 0xFFC00E0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB17_DATA3 0xFFC00E2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB18_DATA3 0xFFC00E4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB19_DATA3 0xFFC00E6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB20_DATA3 0xFFC00E8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB21_DATA3 0xFFC00EAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB22_DATA3 0xFFC00ECC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB23_DATA3 0xFFC00EEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB24_DATA3 0xFFC00F0C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB25_DATA3 0xFFC00F2C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB26_DATA3 0xFFC00F4C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB27_DATA3 0xFFC00F6C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB28_DATA3 0xFFC00F8C /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB29_DATA3 0xFFC00FAC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB30_DATA3 0xFFC00FCC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB31_DATA3 0xFFC00FEC /* CAN0 Mailbox Word 3 Register */
-#define REG_CAN0_MB00_LENGTH 0xFFC00C10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB01_LENGTH 0xFFC00C30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB02_LENGTH 0xFFC00C50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB03_LENGTH 0xFFC00C70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB04_LENGTH 0xFFC00C90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB05_LENGTH 0xFFC00CB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB06_LENGTH 0xFFC00CD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB07_LENGTH 0xFFC00CF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB08_LENGTH 0xFFC00D10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB09_LENGTH 0xFFC00D30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB10_LENGTH 0xFFC00D50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB11_LENGTH 0xFFC00D70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB12_LENGTH 0xFFC00D90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB13_LENGTH 0xFFC00DB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB14_LENGTH 0xFFC00DD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB15_LENGTH 0xFFC00DF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB16_LENGTH 0xFFC00E10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB17_LENGTH 0xFFC00E30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB18_LENGTH 0xFFC00E50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB19_LENGTH 0xFFC00E70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB20_LENGTH 0xFFC00E90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB21_LENGTH 0xFFC00EB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB22_LENGTH 0xFFC00ED0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB23_LENGTH 0xFFC00EF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB24_LENGTH 0xFFC00F10 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB25_LENGTH 0xFFC00F30 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB26_LENGTH 0xFFC00F50 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB27_LENGTH 0xFFC00F70 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB28_LENGTH 0xFFC00F90 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB29_LENGTH 0xFFC00FB0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB30_LENGTH 0xFFC00FD0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB31_LENGTH 0xFFC00FF0 /* CAN0 Mailbox Length Register */
-#define REG_CAN0_MB00_TIMESTAMP 0xFFC00C14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB01_TIMESTAMP 0xFFC00C34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB02_TIMESTAMP 0xFFC00C54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB03_TIMESTAMP 0xFFC00C74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB04_TIMESTAMP 0xFFC00C94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB05_TIMESTAMP 0xFFC00CB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB06_TIMESTAMP 0xFFC00CD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB07_TIMESTAMP 0xFFC00CF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB08_TIMESTAMP 0xFFC00D14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB09_TIMESTAMP 0xFFC00D34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB10_TIMESTAMP 0xFFC00D54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB11_TIMESTAMP 0xFFC00D74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB12_TIMESTAMP 0xFFC00D94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB13_TIMESTAMP 0xFFC00DB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB14_TIMESTAMP 0xFFC00DD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB15_TIMESTAMP 0xFFC00DF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB16_TIMESTAMP 0xFFC00E14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB17_TIMESTAMP 0xFFC00E34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB18_TIMESTAMP 0xFFC00E54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB19_TIMESTAMP 0xFFC00E74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB20_TIMESTAMP 0xFFC00E94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB21_TIMESTAMP 0xFFC00EB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB22_TIMESTAMP 0xFFC00ED4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB23_TIMESTAMP 0xFFC00EF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB24_TIMESTAMP 0xFFC00F14 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB25_TIMESTAMP 0xFFC00F34 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB26_TIMESTAMP 0xFFC00F54 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB27_TIMESTAMP 0xFFC00F74 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB28_TIMESTAMP 0xFFC00F94 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB29_TIMESTAMP 0xFFC00FB4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB30_TIMESTAMP 0xFFC00FD4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB31_TIMESTAMP 0xFFC00FF4 /* CAN0 Mailbox Timestamp Register */
-#define REG_CAN0_MB00_ID0 0xFFC00C18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB01_ID0 0xFFC00C38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB02_ID0 0xFFC00C58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB03_ID0 0xFFC00C78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB04_ID0 0xFFC00C98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB05_ID0 0xFFC00CB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB06_ID0 0xFFC00CD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB07_ID0 0xFFC00CF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB08_ID0 0xFFC00D18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB09_ID0 0xFFC00D38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB10_ID0 0xFFC00D58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB11_ID0 0xFFC00D78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB12_ID0 0xFFC00D98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB13_ID0 0xFFC00DB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB14_ID0 0xFFC00DD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB15_ID0 0xFFC00DF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB16_ID0 0xFFC00E18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB17_ID0 0xFFC00E38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB18_ID0 0xFFC00E58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB19_ID0 0xFFC00E78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB20_ID0 0xFFC00E98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB21_ID0 0xFFC00EB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB22_ID0 0xFFC00ED8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB23_ID0 0xFFC00EF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB24_ID0 0xFFC00F18 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB25_ID0 0xFFC00F38 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB26_ID0 0xFFC00F58 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB27_ID0 0xFFC00F78 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB28_ID0 0xFFC00F98 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB29_ID0 0xFFC00FB8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB30_ID0 0xFFC00FD8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB31_ID0 0xFFC00FF8 /* CAN0 Mailbox ID 0 Register */
-#define REG_CAN0_MB00_ID1 0xFFC00C1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB01_ID1 0xFFC00C3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB02_ID1 0xFFC00C5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB03_ID1 0xFFC00C7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB04_ID1 0xFFC00C9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB05_ID1 0xFFC00CBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB06_ID1 0xFFC00CDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB07_ID1 0xFFC00CFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB08_ID1 0xFFC00D1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB09_ID1 0xFFC00D3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB10_ID1 0xFFC00D5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB11_ID1 0xFFC00D7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB12_ID1 0xFFC00D9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB13_ID1 0xFFC00DBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB14_ID1 0xFFC00DDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB15_ID1 0xFFC00DFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB16_ID1 0xFFC00E1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB17_ID1 0xFFC00E3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB18_ID1 0xFFC00E5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB19_ID1 0xFFC00E7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB20_ID1 0xFFC00E9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB21_ID1 0xFFC00EBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB22_ID1 0xFFC00EDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB23_ID1 0xFFC00EFC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB24_ID1 0xFFC00F1C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB25_ID1 0xFFC00F3C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB26_ID1 0xFFC00F5C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB27_ID1 0xFFC00F7C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB28_ID1 0xFFC00F9C /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB29_ID1 0xFFC00FBC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB30_ID1 0xFFC00FDC /* CAN0 Mailbox ID 1 Register */
-#define REG_CAN0_MB31_ID1 0xFFC00FFC /* CAN0 Mailbox ID 1 Register */
-
-/* =========================
- CAN
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC1_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC1_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD1_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD1_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS1_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS1_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR1_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR1_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA1_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA1_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA1_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA1_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP1_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP1_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML1_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML1_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF1_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF1_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF1_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF1_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM1_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM1_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH1_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH1_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS1_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS1_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS1_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MC2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MC2_MB00 0 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB01 1 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB02 2 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB03 3 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB04 4 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB05 5 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB06 6 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB07 7 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB08 8 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB09 9 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB10 10 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB11 11 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB12 12 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB13 13 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB14 14 /* Mailbox n Enable/Disable */
-#define BITP_CAN_MC2_MB15 15 /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Enable/Disable */
-#define BITM_CAN_MC2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Enable/Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MD2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MD2_MB00 0 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB01 1 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB02 2 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB03 3 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB04 4 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB05 5 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB06 6 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB07 7 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB08 8 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB09 9 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB10 10 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB11 11 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB12 12 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB13 13 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB14 14 /* Mailbox n Transmit/Receive */
-#define BITP_CAN_MD2_MB15 15 /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit/Receive */
-#define BITM_CAN_MD2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit/Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRS2_MB00 0 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB01 1 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB02 2 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB03 3 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB04 4 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB05 5 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB06 6 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB07 7 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB08 8 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB09 9 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB10 10 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB11 11 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB12 12 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB13 13 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB14 14 /* Mailbox n Transmit Request */
-#define BITP_CAN_TRS2_MB15 15 /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Request */
-#define BITM_CAN_TRS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TRR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TRR2_MB00 0 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB01 1 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB02 2 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB03 3 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB04 4 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB05 5 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB06 6 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB07 7 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB08 8 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB09 9 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB10 10 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB11 11 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB12 12 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB13 13 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB14 14 /* Mailbox n Transmit Abort */
-#define BITP_CAN_TRR2_MB15 15 /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Abort */
-#define BITM_CAN_TRR2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Abort */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TA2_MB00 0 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB01 1 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB02 2 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB03 3 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB04 4 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB05 5 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB06 6 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB07 7 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB08 8 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB09 9 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB10 10 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB11 11 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB12 12 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB13 13 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB14 14 /* Mailbox n Transmit Acknowledge */
-#define BITP_CAN_TA2_MB15 15 /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-#define BITM_CAN_TA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AA2_MB00 0 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB01 1 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB02 2 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB03 3 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB04 4 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB05 5 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB06 6 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB07 7 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB08 8 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB09 9 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB10 10 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB11 11 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB12 12 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB13 13 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB14 14 /* Mailbox n Abort Acknowledge */
-#define BITP_CAN_AA2_MB15 15 /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Abort Acknowledge */
-#define BITM_CAN_AA2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Abort Acknowledge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RMP2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RMP2_MB00 0 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB01 1 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB02 2 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB03 3 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB04 4 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB05 5 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB06 6 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB07 7 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB08 8 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB09 9 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB10 10 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB11 11 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB12 12 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB13 13 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB14 14 /* Mailbox n Message Pending */
-#define BITP_CAN_RMP2_MB15 15 /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Pending */
-#define BITM_CAN_RMP2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RML2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RML2_MB00 0 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB01 1 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB02 2 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB03 3 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB04 4 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB05 5 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB06 6 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB07 7 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB08 8 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB09 9 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB10 10 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB11 11 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB12 12 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB13 13 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB14 14 /* Mailbox n Message Lost */
-#define BITP_CAN_RML2_MB15 15 /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Message Lost */
-#define BITM_CAN_RML2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Message Lost */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTIF2_MB00 0 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB01 1 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB02 2 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB03 3 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB04 4 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB05 5 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB06 6 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB07 7 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB08 8 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB09 9 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB10 10 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB11 11 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB12 12 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB13 13 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB14 14 /* Mailbox n Transmit Interrupt Pending */
-#define BITP_CAN_MBTIF2_MB15 15 /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-#define BITM_CAN_MBTIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBRIF2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBRIF2_MB00 0 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB01 1 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB02 2 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB03 3 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB04 4 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB05 5 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB06 6 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB07 7 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB08 8 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB09 9 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB10 10 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB11 11 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB12 12 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB13 13 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB14 14 /* Mailbox n Receive Interrupt Pending */
-#define BITP_CAN_MBRIF2_MB15 15 /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-#define BITM_CAN_MBRIF2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Receive Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBIM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBIM2_MB00 0 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB01 1 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB02 2 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB03 3 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB04 4 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB05 5 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB06 6 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB07 7 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB08 8 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB09 9 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB10 10 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB11 11 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB12 12 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB13 13 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB14 14 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITP_CAN_MBIM2_MB15 15 /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-#define BITM_CAN_MBIM2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Transmit and Receive Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_RFH2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_RFH2_MB00 0 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB01 1 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB02 2 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB03 3 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB04 4 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB05 5 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB06 6 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB07 7 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB08 8 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB09 9 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB10 10 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB11 11 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB12 12 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB13 13 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB14 14 /* Mailbox n Remote Frame Handling Enable */
-#define BITP_CAN_RFH2_MB15 15 /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-#define BITM_CAN_RFH2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Remote Frame Handling Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_OPSS2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_OPSS2_MB00 0 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB01 1 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB02 2 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB03 3 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB04 4 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB05 5 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB06 6 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB07 7 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB08 8 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB09 9 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB10 10 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB11 11 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB12 12 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB13 13 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB14 14 /* Mailbox n Overwrite Protection Enable */
-#define BITP_CAN_OPSS2_MB15 15 /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB00 (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB01 (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB02 (_ADI_MSK(0x00000004,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB03 (_ADI_MSK(0x00000008,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB04 (_ADI_MSK(0x00000010,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB05 (_ADI_MSK(0x00000020,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB06 (_ADI_MSK(0x00000040,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB07 (_ADI_MSK(0x00000080,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB08 (_ADI_MSK(0x00000100,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB09 (_ADI_MSK(0x00000200,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB10 (_ADI_MSK(0x00000400,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB11 (_ADI_MSK(0x00000800,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB12 (_ADI_MSK(0x00001000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB13 (_ADI_MSK(0x00002000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB14 (_ADI_MSK(0x00004000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-#define BITM_CAN_OPSS2_MB15 (_ADI_MSK(0x00008000,uint16_t)) /* Mailbox n Overwrite Protection Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CLK_BRP 0 /* Bit Rate Prescaler */
-#define BITM_CAN_CLK_BRP (_ADI_MSK(0x000003FF,uint16_t)) /* Bit Rate Prescaler */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_TIMING Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_TIMING_SJW 8 /* Synchronization Jump Width */
-#define BITP_CAN_TIMING_SAM 7 /* Sampling */
-#define BITP_CAN_TIMING_TSEG2 4 /* Time Segment 2 */
-#define BITP_CAN_TIMING_TSEG1 0 /* Time Segment 1 */
-#define BITM_CAN_TIMING_SJW (_ADI_MSK(0x00000300,uint16_t)) /* Synchronization Jump Width */
-#define BITM_CAN_TIMING_SAM (_ADI_MSK(0x00000080,uint16_t)) /* Sampling */
-#define BITM_CAN_TIMING_TSEG2 (_ADI_MSK(0x00000070,uint16_t)) /* Time Segment 2 */
-#define BITM_CAN_TIMING_TSEG1 (_ADI_MSK(0x0000000F,uint16_t)) /* Time Segment 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_DBG_CDE 15 /* CAN Debug Mode Enable */
-#define BITP_CAN_DBG_MRB 5 /* Mode Read Back */
-#define BITP_CAN_DBG_MAA 4 /* Mode Auto Acknowledge */
-#define BITP_CAN_DBG_DIL 3 /* Disable Internal Loop */
-#define BITP_CAN_DBG_DTO 2 /* Disable Tx Output Pin */
-#define BITP_CAN_DBG_DRI 1 /* Disable Receive Input Pin */
-#define BITP_CAN_DBG_DEC 0 /* Disable Transmit and Receive Error Counters */
-#define BITM_CAN_DBG_CDE (_ADI_MSK(0x00008000,uint16_t)) /* CAN Debug Mode Enable */
-#define BITM_CAN_DBG_MRB (_ADI_MSK(0x00000020,uint16_t)) /* Mode Read Back */
-#define BITM_CAN_DBG_MAA (_ADI_MSK(0x00000010,uint16_t)) /* Mode Auto Acknowledge */
-#define BITM_CAN_DBG_DIL (_ADI_MSK(0x00000008,uint16_t)) /* Disable Internal Loop */
-#define BITM_CAN_DBG_DTO (_ADI_MSK(0x00000004,uint16_t)) /* Disable Tx Output Pin */
-#define BITM_CAN_DBG_DRI (_ADI_MSK(0x00000002,uint16_t)) /* Disable Receive Input Pin */
-#define BITM_CAN_DBG_DEC (_ADI_MSK(0x00000001,uint16_t)) /* Disable Transmit and Receive Error Counters */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_STAT_REC 15 /* Receive Mode */
-#define BITP_CAN_STAT_TRM 14 /* Transmit Mode */
-#define BITP_CAN_STAT_MBPTR 8 /* Mailbox Pointer */
-#define BITP_CAN_STAT_CCA 7 /* CAN Configuration Mode Acknowledge */
-#define BITP_CAN_STAT_CSA 6 /* CAN Suspend Mode Acknowledge */
-#define BITP_CAN_STAT_EBO 3 /* CAN Error Bus Off Mode */
-#define BITP_CAN_STAT_EP 2 /* CAN Error Passive Mode */
-#define BITP_CAN_STAT_WR 1 /* CAN Receive Warning Flag */
-#define BITP_CAN_STAT_WT 0 /* CAN Transmit Warning Flag */
-#define BITM_CAN_STAT_REC (_ADI_MSK(0x00008000,uint16_t)) /* Receive Mode */
-#define BITM_CAN_STAT_TRM (_ADI_MSK(0x00004000,uint16_t)) /* Transmit Mode */
-#define BITM_CAN_STAT_MBPTR (_ADI_MSK(0x00001F00,uint16_t)) /* Mailbox Pointer */
-#define BITM_CAN_STAT_CCA (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Acknowledge */
-#define BITM_CAN_STAT_CSA (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Acknowledge */
-#define BITM_CAN_STAT_EBO (_ADI_MSK(0x00000008,uint16_t)) /* CAN Error Bus Off Mode */
-#define BITM_CAN_STAT_EP (_ADI_MSK(0x00000004,uint16_t)) /* CAN Error Passive Mode */
-#define BITM_CAN_STAT_WR (_ADI_MSK(0x00000002,uint16_t)) /* CAN Receive Warning Flag */
-#define BITM_CAN_STAT_WT (_ADI_MSK(0x00000001,uint16_t)) /* CAN Transmit Warning Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CEC_TXECNT 8 /* Transmit Error Counter */
-#define BITP_CAN_CEC_RXECNT 0 /* Receive Error Counter */
-#define BITM_CAN_CEC_TXECNT (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Counter */
-#define BITM_CAN_CEC_RXECNT (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Counter */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIS_ADIS 10 /* Access Denied Interrupt Status */
-#define BITP_CAN_GIS_UCEIS 8 /* Universal Counter Exceeded Interrupt Status */
-#define BITP_CAN_GIS_RMLIS 7 /* Receive Message Lost Interrupt Status */
-#define BITP_CAN_GIS_AAIS 6 /* Abort Acknowledge Interrupt Status */
-#define BITP_CAN_GIS_UIAIS 5 /* Unimplemented Address Interrupt Status */
-#define BITP_CAN_GIS_WUIS 4 /* Wake Up Interrupt Status */
-#define BITP_CAN_GIS_BOIS 3 /* Bus Off Interrupt Status */
-#define BITP_CAN_GIS_EPIS 2 /* Error Passive Interrupt Status */
-#define BITP_CAN_GIS_EWRIS 1 /* Error Warning Receive Interrupt Status */
-#define BITP_CAN_GIS_EWTIS 0 /* Error Warning Transmit Interrupt Status */
-#define BITM_CAN_GIS_ADIS (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Status */
-#define BITM_CAN_GIS_UCEIS (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Status */
-#define BITM_CAN_GIS_RMLIS (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Status */
-#define BITM_CAN_GIS_AAIS (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Status */
-#define BITM_CAN_GIS_UIAIS (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Status */
-#define BITM_CAN_GIS_WUIS (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Status */
-#define BITM_CAN_GIS_BOIS (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Status */
-#define BITM_CAN_GIS_EPIS (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Status */
-#define BITM_CAN_GIS_EWRIS (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Status */
-#define BITM_CAN_GIS_EWTIS (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIM_ADIM 10 /* Access Denied Interrupt Mask */
-#define BITP_CAN_GIM_UCEIM 8 /* Universal Counter Exceeded Interrupt Mask */
-#define BITP_CAN_GIM_RMLIM 7 /* Receive Message Lost Interrupt Mask */
-#define BITP_CAN_GIM_AAIM 6 /* Abort Acknowledge Interrupt Mask */
-#define BITP_CAN_GIM_UIAIM 5 /* Unimplemented Address Interrupt Mask */
-#define BITP_CAN_GIM_WUIM 4 /* Wake Up Interrupt Mask */
-#define BITP_CAN_GIM_BOIM 3 /* Bus Off Interrupt Mask */
-#define BITP_CAN_GIM_EPIM 2 /* Error Passive Interrupt Mask */
-#define BITP_CAN_GIM_EWRIM 1 /* Error Warning Receive Interrupt Mask */
-#define BITP_CAN_GIM_EWTIM 0 /* Error Warning Transmit Interrupt Mask */
-#define BITM_CAN_GIM_ADIM (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Mask */
-#define BITM_CAN_GIM_UCEIM (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Mask */
-#define BITM_CAN_GIM_RMLIM (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Mask */
-#define BITM_CAN_GIM_AAIM (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Mask */
-#define BITM_CAN_GIM_UIAIM (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Mask */
-#define BITM_CAN_GIM_WUIM (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Mask */
-#define BITM_CAN_GIM_BOIM (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Mask */
-#define BITM_CAN_GIM_EPIM (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Mask */
-#define BITM_CAN_GIM_EWRIM (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Mask */
-#define BITM_CAN_GIM_EWTIM (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_GIF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_GIF_ADIF 10 /* Access Denied Interrupt Flag */
-#define BITP_CAN_GIF_UCEIF 8 /* Universal Counter Exceeded Interrupt Flag */
-#define BITP_CAN_GIF_RMLIF 7 /* Receive Message Lost Interrupt Flag */
-#define BITP_CAN_GIF_AAIF 6 /* Abort Acknowledge Interrupt Flag */
-#define BITP_CAN_GIF_UIAIF 5 /* Unimplemented Address Interrupt Flag */
-#define BITP_CAN_GIF_WUIF 4 /* Wake Up Interrupt Flag */
-#define BITP_CAN_GIF_BOIF 3 /* Bus Off Interrupt Flag */
-#define BITP_CAN_GIF_EPIF 2 /* Error Passive Interrupt Flag */
-#define BITP_CAN_GIF_EWRIF 1 /* Error Warning Receive Interrupt Flag */
-#define BITP_CAN_GIF_EWTIF 0 /* Error Warning Transmit Interrupt Flag */
-#define BITM_CAN_GIF_ADIF (_ADI_MSK(0x00000400,uint16_t)) /* Access Denied Interrupt Flag */
-#define BITM_CAN_GIF_UCEIF (_ADI_MSK(0x00000100,uint16_t)) /* Universal Counter Exceeded Interrupt Flag */
-#define BITM_CAN_GIF_RMLIF (_ADI_MSK(0x00000080,uint16_t)) /* Receive Message Lost Interrupt Flag */
-#define BITM_CAN_GIF_AAIF (_ADI_MSK(0x00000040,uint16_t)) /* Abort Acknowledge Interrupt Flag */
-#define BITM_CAN_GIF_UIAIF (_ADI_MSK(0x00000020,uint16_t)) /* Unimplemented Address Interrupt Flag */
-#define BITM_CAN_GIF_WUIF (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up Interrupt Flag */
-#define BITM_CAN_GIF_BOIF (_ADI_MSK(0x00000008,uint16_t)) /* Bus Off Interrupt Flag */
-#define BITM_CAN_GIF_EPIF (_ADI_MSK(0x00000004,uint16_t)) /* Error Passive Interrupt Flag */
-#define BITM_CAN_GIF_EWRIF (_ADI_MSK(0x00000002,uint16_t)) /* Error Warning Receive Interrupt Flag */
-#define BITM_CAN_GIF_EWTIF (_ADI_MSK(0x00000001,uint16_t)) /* Error Warning Transmit Interrupt Flag */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_CTL_CCR 7 /* CAN Configuration Mode Request */
-#define BITP_CAN_CTL_CSR 6 /* CAN Suspend Mode Request */
-#define BITP_CAN_CTL_SMR 5 /* Sleep Mode Request */
-#define BITP_CAN_CTL_WBA 4 /* Wake Up on CAN Bus Activity */
-#define BITP_CAN_CTL_ABO 2 /* Auto Bus On */
-#define BITP_CAN_CTL_DNM 1 /* Device Net Mode */
-#define BITP_CAN_CTL_SRS 0 /* Software Reset */
-#define BITM_CAN_CTL_CCR (_ADI_MSK(0x00000080,uint16_t)) /* CAN Configuration Mode Request */
-#define BITM_CAN_CTL_CSR (_ADI_MSK(0x00000040,uint16_t)) /* CAN Suspend Mode Request */
-#define BITM_CAN_CTL_SMR (_ADI_MSK(0x00000020,uint16_t)) /* Sleep Mode Request */
-#define BITM_CAN_CTL_WBA (_ADI_MSK(0x00000010,uint16_t)) /* Wake Up on CAN Bus Activity */
-#define BITM_CAN_CTL_ABO (_ADI_MSK(0x00000004,uint16_t)) /* Auto Bus On */
-#define BITM_CAN_CTL_DNM (_ADI_MSK(0x00000002,uint16_t)) /* Device Net Mode */
-#define BITM_CAN_CTL_SRS (_ADI_MSK(0x00000001,uint16_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_INT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_INT_CANRX 7 /* Serial Input From Transceiver */
-#define BITP_CAN_INT_CANTX 6 /* Serial Input To Transceiver */
-#define BITP_CAN_INT_SMACK 3 /* Sleep Mode Acknowledge */
-#define BITP_CAN_INT_GIRQ 2 /* Global CAN Interrupt Output */
-#define BITP_CAN_INT_MBTIRQ 1 /* Mailbox Transmit Interrupt Output */
-#define BITP_CAN_INT_MBRIRQ 0 /* Mailbox Receive Interrupt Output */
-#define BITM_CAN_INT_CANRX (_ADI_MSK(0x00000080,uint16_t)) /* Serial Input From Transceiver */
-#define BITM_CAN_INT_CANTX (_ADI_MSK(0x00000040,uint16_t)) /* Serial Input To Transceiver */
-#define BITM_CAN_INT_SMACK (_ADI_MSK(0x00000008,uint16_t)) /* Sleep Mode Acknowledge */
-#define BITM_CAN_INT_GIRQ (_ADI_MSK(0x00000004,uint16_t)) /* Global CAN Interrupt Output */
-#define BITM_CAN_INT_MBTIRQ (_ADI_MSK(0x00000002,uint16_t)) /* Mailbox Transmit Interrupt Output */
-#define BITM_CAN_INT_MBRIRQ (_ADI_MSK(0x00000001,uint16_t)) /* Mailbox Receive Interrupt Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBTD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MBTD_TDR 7 /* Temporary Disable Request */
-#define BITP_CAN_MBTD_TDA 6 /* Temporary Disable Acknowledge */
-#define BITP_CAN_MBTD_TDPTR 0 /* Temporary Disable Pointer */
-#define BITM_CAN_MBTD_TDR (_ADI_MSK(0x00000080,uint16_t)) /* Temporary Disable Request */
-#define BITM_CAN_MBTD_TDA (_ADI_MSK(0x00000040,uint16_t)) /* Temporary Disable Acknowledge */
-#define BITM_CAN_MBTD_TDPTR (_ADI_MSK(0x0000001F,uint16_t)) /* Temporary Disable Pointer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_EWR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_EWR_EWLTEC 8 /* Transmit Error Warning Limit */
-#define BITP_CAN_EWR_EWLREC 0 /* Receive Error Warning Limit */
-#define BITM_CAN_EWR_EWLTEC (_ADI_MSK(0x0000FF00,uint16_t)) /* Transmit Error Warning Limit */
-#define BITM_CAN_EWR_EWLREC (_ADI_MSK(0x000000FF,uint16_t)) /* Receive Error Warning Limit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_ESR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_ESR_FER 7 /* Form Error */
-#define BITP_CAN_ESR_BEF 6 /* Bit Error Flag */
-#define BITP_CAN_ESR_SAO 5 /* Stuck at Dominant */
-#define BITP_CAN_ESR_CRCE 4 /* CRC Error */
-#define BITP_CAN_ESR_SER 3 /* Stuff Bit Error */
-#define BITP_CAN_ESR_ACKE 2 /* Acknowledge Error */
-#define BITM_CAN_ESR_FER (_ADI_MSK(0x00000080,uint16_t)) /* Form Error */
-#define BITM_CAN_ESR_BEF (_ADI_MSK(0x00000040,uint16_t)) /* Bit Error Flag */
-#define BITM_CAN_ESR_SAO (_ADI_MSK(0x00000020,uint16_t)) /* Stuck at Dominant */
-#define BITM_CAN_ESR_CRCE (_ADI_MSK(0x00000010,uint16_t)) /* CRC Error */
-#define BITM_CAN_ESR_SER (_ADI_MSK(0x00000008,uint16_t)) /* Stuff Bit Error */
-#define BITM_CAN_ESR_ACKE (_ADI_MSK(0x00000004,uint16_t)) /* Acknowledge Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_UCCNF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_UCCNF_UCE 7 /* Universal Counter Enable */
-#define BITP_CAN_UCCNF_UCCT 6 /* Universal Counter CAN Trigger */
-#define BITP_CAN_UCCNF_UCRC 5 /* Universal Counter Reload/Clear */
-#define BITP_CAN_UCCNF_UCCNF 0 /* Universal Counter Configuration */
-#define BITM_CAN_UCCNF_UCE (_ADI_MSK(0x00000080,uint16_t)) /* Universal Counter Enable */
-#define BITM_CAN_UCCNF_UCCT (_ADI_MSK(0x00000040,uint16_t)) /* Universal Counter CAN Trigger */
-#define BITM_CAN_UCCNF_UCRC (_ADI_MSK(0x00000020,uint16_t)) /* Universal Counter Reload/Clear */
-#define BITM_CAN_UCCNF_UCCNF (_ADI_MSK(0x0000000F,uint16_t)) /* Universal Counter Configuration */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_AMnH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_AMH_FDF 15 /* Filter on Delay Field */
-#define BITP_CAN_AMH_FMD 14 /* Full Mask Data */
-#define BITP_CAN_AMH_AMIDE 13 /* Acceptance Mask Identifier Extension */
-#define BITP_CAN_AMH_BASEID 2 /* Base Identifier */
-#define BITP_CAN_AMH_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_AMH_FDF (_ADI_MSK(0x00008000,uint16_t)) /* Filter on Delay Field */
-#define BITM_CAN_AMH_FMD (_ADI_MSK(0x00004000,uint16_t)) /* Full Mask Data */
-#define BITM_CAN_AMH_AMIDE (_ADI_MSK(0x00002000,uint16_t)) /* Acceptance Mask Identifier Extension */
-#define BITM_CAN_AMH_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_AMH_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA0_DFB6 8 /* Data Field Byte 6 */
-#define BITP_CAN_MB_DATA0_DFB7 0 /* Data Field Byte 7 */
-#define BITM_CAN_MB_DATA0_DFB6 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 6 */
-#define BITM_CAN_MB_DATA0_DFB7 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 7 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA1_DFB4 8 /* Data Field Byte 4 */
-#define BITP_CAN_MB_DATA1_DFB5 0 /* Data Field Byte 5 */
-#define BITM_CAN_MB_DATA1_DFB4 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 4 */
-#define BITM_CAN_MB_DATA1_DFB5 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 5 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA2_DFB2 8 /* Data Field Byte 2 */
-#define BITP_CAN_MB_DATA2_DFB3 0 /* Data Field Byte 3 */
-#define BITM_CAN_MB_DATA2_DFB2 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 2 */
-#define BITM_CAN_MB_DATA2_DFB3 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 3 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_DATA3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_DATA3_DFB0 8 /* Data Field Byte 0 */
-#define BITP_CAN_MB_DATA3_DFB1 0 /* Data Field Byte 1 */
-#define BITM_CAN_MB_DATA3_DFB0 (_ADI_MSK(0x0000FF00,uint16_t)) /* Data Field Byte 0 */
-#define BITM_CAN_MB_DATA3_DFB1 (_ADI_MSK(0x000000FF,uint16_t)) /* Data Field Byte 1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_LENGTH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_LENGTH_DLC 0 /* Data Length Code */
-#define BITM_CAN_MB_LENGTH_DLC (_ADI_MSK(0x0000000F,uint16_t)) /* Data Length Code */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CAN_MBn_ID1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CAN_MB_ID1_AME 15 /* Acceptance Mask Enable */
-#define BITP_CAN_MB_ID1_RTR 14 /* Remote Transmission Request */
-#define BITP_CAN_MB_ID1_IDE 13 /* Identifier Extension */
-#define BITP_CAN_MB_ID1_BASEID 2 /* Base Identifier */
-#define BITP_CAN_MB_ID1_EXTID 0 /* Extended Identifier */
-#define BITM_CAN_MB_ID1_AME (_ADI_MSK(0x00008000,uint16_t)) /* Acceptance Mask Enable */
-#define BITM_CAN_MB_ID1_RTR (_ADI_MSK(0x00004000,uint16_t)) /* Remote Transmission Request */
-#define BITM_CAN_MB_ID1_IDE (_ADI_MSK(0x00002000,uint16_t)) /* Identifier Extension */
-#define BITM_CAN_MB_ID1_BASEID (_ADI_MSK(0x00001FFC,uint16_t)) /* Base Identifier */
-#define BITM_CAN_MB_ID1_EXTID (_ADI_MSK(0x00000003,uint16_t)) /* Extended Identifier */
-
-/* ==================================================
- Link Port Registers
- ================================================== */
-
-/* =========================
- LP0
- ========================= */
-#define REG_LP0_CTL 0xFFC01000 /* LP0 Control Register */
-#define REG_LP0_STAT 0xFFC01004 /* LP0 Status Register */
-#define REG_LP0_DIV 0xFFC01008 /* LP0 Clock Divider Value */
-#define REG_LP0_TX 0xFFC01010 /* LP0 Transmit Buffer */
-#define REG_LP0_RX 0xFFC01014 /* LP0 Receive Buffer */
-#define REG_LP0_TXIN_SHDW 0xFFC01018 /* LP0 Shadow Input Transmit Buffer */
-#define REG_LP0_TXOUT_SHDW 0xFFC0101C /* LP0 Shadow Output Transmit Buffer */
-
-/* =========================
- LP1
- ========================= */
-#define REG_LP1_CTL 0xFFC01100 /* LP1 Control Register */
-#define REG_LP1_STAT 0xFFC01104 /* LP1 Status Register */
-#define REG_LP1_DIV 0xFFC01108 /* LP1 Clock Divider Value */
-#define REG_LP1_TX 0xFFC01110 /* LP1 Transmit Buffer */
-#define REG_LP1_RX 0xFFC01114 /* LP1 Receive Buffer */
-#define REG_LP1_TXIN_SHDW 0xFFC01118 /* LP1 Shadow Input Transmit Buffer */
-#define REG_LP1_TXOUT_SHDW 0xFFC0111C /* LP1 Shadow Output Transmit Buffer */
-
-/* =========================
- LP2
- ========================= */
-#define REG_LP2_CTL 0xFFC01200 /* LP2 Control Register */
-#define REG_LP2_STAT 0xFFC01204 /* LP2 Status Register */
-#define REG_LP2_DIV 0xFFC01208 /* LP2 Clock Divider Value */
-#define REG_LP2_TX 0xFFC01210 /* LP2 Transmit Buffer */
-#define REG_LP2_RX 0xFFC01214 /* LP2 Receive Buffer */
-#define REG_LP2_TXIN_SHDW 0xFFC01218 /* LP2 Shadow Input Transmit Buffer */
-#define REG_LP2_TXOUT_SHDW 0xFFC0121C /* LP2 Shadow Output Transmit Buffer */
-
-/* =========================
- LP3
- ========================= */
-#define REG_LP3_CTL 0xFFC01300 /* LP3 Control Register */
-#define REG_LP3_STAT 0xFFC01304 /* LP3 Status Register */
-#define REG_LP3_DIV 0xFFC01308 /* LP3 Clock Divider Value */
-#define REG_LP3_TX 0xFFC01310 /* LP3 Transmit Buffer */
-#define REG_LP3_RX 0xFFC01314 /* LP3 Receive Buffer */
-#define REG_LP3_TXIN_SHDW 0xFFC01318 /* LP3 Shadow Input Transmit Buffer */
-#define REG_LP3_TXOUT_SHDW 0xFFC0131C /* LP3 Shadow Output Transmit Buffer */
-
-/* =========================
- LP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_CTL_ITMSK 11 /* Receive FIFO Overflow Interrupt Mask */
-#define BITP_LP_CTL_RRQMSK 9 /* Receive Request Interrupt Mask */
-#define BITP_LP_CTL_TRQMSK 8 /* Transmit Request Interrupt Mask */
-#define BITP_LP_CTL_TRAN 3 /* Transfer Direction */
-#define BITP_LP_CTL_EN 0 /* Enable */
-
-#define BITM_LP_CTL_ITMSK (_ADI_MSK(0x00000800,uint32_t)) /* Receive FIFO Overflow Interrupt Mask */
-#define ENUM_LP_CTL_RX_OVF_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ITMSK: Mask */
-#define ENUM_LP_CTL_RX_OVF_EN (_ADI_MSK(0x00000800,uint32_t)) /* ITMSK: Unmask */
-
-#define BITM_LP_CTL_RRQMSK (_ADI_MSK(0x00000200,uint32_t)) /* Receive Request Interrupt Mask */
-#define ENUM_LP_CTL_RRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RRQMSK: Mask */
-#define ENUM_LP_CTL_RRQ_EN (_ADI_MSK(0x00000200,uint32_t)) /* RRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRQMSK (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Request Interrupt Mask */
-#define ENUM_LP_CTL_TRQ_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TRQMSK: Mask */
-#define ENUM_LP_CTL_TRQ_EN (_ADI_MSK(0x00000100,uint32_t)) /* TRQMSK: Unmask */
-
-#define BITM_LP_CTL_TRAN (_ADI_MSK(0x00000008,uint32_t)) /* Transfer Direction */
-#define ENUM_LP_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* TRAN: Receive */
-#define ENUM_LP_CTL_TX (_ADI_MSK(0x00000008,uint32_t)) /* TRAN: Transmit */
-
-#define BITM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_LP_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_LP_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable linkport */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_STAT_LPBS 8 /* Bus Status */
-#define BITP_LP_STAT_LERR 7 /* Buffer Pack Error Status */
-#define BITP_LP_STAT_FFST 4 /* FIFO Status */
-#define BITP_LP_STAT_LPIT 3 /* Receive FIFO Overflow Interrupt */
-#define BITP_LP_STAT_LRRQ 1 /* Receive Request */
-#define BITP_LP_STAT_LTRQ 0 /* Transmit Request */
-
-#define BITM_LP_STAT_LPBS (_ADI_MSK(0x00000100,uint32_t)) /* Bus Status */
-#define ENUM_LP_STAT_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* LPBS: Bus is Idle */
-#define ENUM_LP_STAT_BUSY (_ADI_MSK(0x00000100,uint32_t)) /* LPBS: Bus Busy */
-
-#define BITM_LP_STAT_LERR (_ADI_MSK(0x00000080,uint32_t)) /* Buffer Pack Error Status */
-#define ENUM_LP_STAT_PACK_DONE (_ADI_MSK(0x00000000,uint32_t)) /* LERR: Packing Complete */
-#define ENUM_LP_STAT_PACK_PROG (_ADI_MSK(0x00000080,uint32_t)) /* LERR: Packing Incomplete */
-
-#define BITM_LP_STAT_FFST (_ADI_MSK(0x00000070,uint32_t)) /* FIFO Status */
-#define ENUM_LP_STAT_RX0_TX0 (_ADI_MSK(0x00000000,uint32_t)) /* FFST: TX - Empty; RX -Empty */
-#define ENUM_LP_STAT_RX1_TXR (_ADI_MSK(0x00000010,uint32_t)) /* FFST: TX - reserved ; RX - One Word */
-#define ENUM_LP_STAT_RX2_TXR (_ADI_MSK(0x00000020,uint32_t)) /* FFST: TX - reserved; RX - Two Word */
-#define ENUM_LP_STAT_RX3_TXR (_ADI_MSK(0x00000030,uint32_t)) /* FFST: TX - reserved; RX - Three Word */
-#define ENUM_LP_STAT_RX4_TX1 (_ADI_MSK(0x00000040,uint32_t)) /* FFST: TX - One Word; RX - Four word */
-#define ENUM_LP_STAT_RXR1_TXR1 (_ADI_MSK(0x00000050,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define ENUM_LP_STAT_RXR2_TXR2 (_ADI_MSK(0x00000060,uint32_t)) /* FFST: TX - FIFO Full; RX - Reserved */
-#define ENUM_LP_STAT_RXR3_TXR3 (_ADI_MSK(0x00000070,uint32_t)) /* FFST: TX - Reserved; RX - Reserved */
-#define BITM_LP_STAT_LPIT (_ADI_MSK(0x00000008,uint32_t)) /* Receive FIFO Overflow Interrupt */
-#define BITM_LP_STAT_LRRQ (_ADI_MSK(0x00000002,uint32_t)) /* Receive Request */
-#define BITM_LP_STAT_LTRQ (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- LP_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_LP_DIV_VALUE 0 /* Divisor Value */
-#define BITM_LP_DIV_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Divisor Value */
-
-/* ==================================================
- General Purpose Timer Block Registers
- ================================================== */
-
-/* =========================
- TIMER0
- ========================= */
-#define REG_TIMER0_REVID 0xFFC01400 /* TIMER0 Revision ID Register */
-#define REG_TIMER0_RUN 0xFFC01404 /* TIMER0 Run Register */
-#define REG_TIMER0_RUN_SET 0xFFC01408 /* TIMER0 Run Set Register */
-#define REG_TIMER0_RUN_CLR 0xFFC0140C /* TIMER0 Run Clear Register */
-#define REG_TIMER0_STOP_CFG 0xFFC01410 /* TIMER0 Stop Configuration Register */
-#define REG_TIMER0_STOP_CFG_SET 0xFFC01414 /* TIMER0 Stop Configuration Set Register */
-#define REG_TIMER0_STOP_CFG_CLR 0xFFC01418 /* TIMER0 Stop Configuration Clear Register */
-#define REG_TIMER0_DATA_IMSK 0xFFC0141C /* TIMER0 Data Interrupt Mask Register */
-#define REG_TIMER0_STAT_IMSK 0xFFC01420 /* TIMER0 Status Interrupt Mask Register */
-#define REG_TIMER0_TRG_MSK 0xFFC01424 /* TIMER0 Trigger Master Mask Register */
-#define REG_TIMER0_TRG_IE 0xFFC01428 /* TIMER0 Trigger Slave Enable Register */
-#define REG_TIMER0_DATA_ILAT 0xFFC0142C /* TIMER0 Data Interrupt Latch Register */
-#define REG_TIMER0_STAT_ILAT 0xFFC01430 /* TIMER0 Status Interrupt Latch Register */
-#define REG_TIMER0_ERR_TYPE 0xFFC01434 /* TIMER0 Error Type Status Register */
-#define REG_TIMER0_BCAST_PER 0xFFC01438 /* TIMER0 Broadcast Period Register */
-#define REG_TIMER0_BCAST_WID 0xFFC0143C /* TIMER0 Broadcast Width Register */
-#define REG_TIMER0_BCAST_DLY 0xFFC01440 /* TIMER0 Broadcast Delay Register */
-#define REG_TIMER0_TMR0_CFG 0xFFC01460 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR1_CFG 0xFFC01480 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR2_CFG 0xFFC014A0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR3_CFG 0xFFC014C0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR4_CFG 0xFFC014E0 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR5_CFG 0xFFC01500 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR6_CFG 0xFFC01520 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR7_CFG 0xFFC01540 /* TIMER0 Timer n Configuration Register */
-#define REG_TIMER0_TMR0_CNT 0xFFC01464 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR1_CNT 0xFFC01484 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR2_CNT 0xFFC014A4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR3_CNT 0xFFC014C4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR4_CNT 0xFFC014E4 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR5_CNT 0xFFC01504 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR6_CNT 0xFFC01524 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR7_CNT 0xFFC01544 /* TIMER0 Timer n Counter Register */
-#define REG_TIMER0_TMR0_PER 0xFFC01468 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR1_PER 0xFFC01488 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR2_PER 0xFFC014A8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR3_PER 0xFFC014C8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR4_PER 0xFFC014E8 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR5_PER 0xFFC01508 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR6_PER 0xFFC01528 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR7_PER 0xFFC01548 /* TIMER0 Timer n Period Register */
-#define REG_TIMER0_TMR0_WID 0xFFC0146C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR1_WID 0xFFC0148C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR2_WID 0xFFC014AC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR3_WID 0xFFC014CC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR4_WID 0xFFC014EC /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR5_WID 0xFFC0150C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR6_WID 0xFFC0152C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR7_WID 0xFFC0154C /* TIMER0 Timer n Width Register */
-#define REG_TIMER0_TMR0_DLY 0xFFC01470 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR1_DLY 0xFFC01490 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR2_DLY 0xFFC014B0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR3_DLY 0xFFC014D0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR4_DLY 0xFFC014F0 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR5_DLY 0xFFC01510 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR6_DLY 0xFFC01530 /* TIMER0 Timer n Delay Register */
-#define REG_TIMER0_TMR7_DLY 0xFFC01550 /* TIMER0 Timer n Delay Register */
-
-/* =========================
- TIMER
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_TIMER_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_TIMER_REVID_MAJOR (_ADI_MSK(0x000000F0,uint16_t)) /* Major Revision ID */
-#define BITM_TIMER_REVID_REV (_ADI_MSK(0x0000000F,uint16_t)) /* Incremental Revision ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_TMR00 0 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR01 1 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR02 2 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR03 3 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR04 4 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR05 5 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR06 6 /* Start/Stop Timer n */
-#define BITP_TIMER_RUN_TMR07 7 /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Start/Stop Timer n */
-#define BITM_TIMER_RUN_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Start/Stop Timer n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_SET_TMR00 0 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR01 1 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR02 2 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR03 3 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR04 4 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR05 5 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR06 6 /* RUN Set Alias */
-#define BITP_TIMER_RUN_SET_TMR07 7 /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Set Alias */
-#define BITM_TIMER_RUN_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_RUN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_RUN_CLR_TMR00 0 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR01 1 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR02 2 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR03 3 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR04 4 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR05 5 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR06 6 /* RUN Clear Alias */
-#define BITP_TIMER_RUN_CLR_TMR07 7 /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* RUN Clear Alias */
-#define BITM_TIMER_RUN_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* RUN Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_TMR00 0 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR01 1 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR02 2 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR03 3 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR04 4 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR05 5 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR06 6 /* Stop Mode Select */
-#define BITP_TIMER_STOP_CFG_TMR07 7 /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Stop Mode Select */
-#define BITM_TIMER_STOP_CFG_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Stop Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_SET_TMR00 0 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR01 1 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR02 2 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR03 3 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR04 4 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR05 5 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR06 6 /* STOP_CFG Set Alias */
-#define BITP_TIMER_STOP_CFG_SET_TMR07 7 /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Set Alias */
-#define BITM_TIMER_STOP_CFG_SET_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Set Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STOP_CFG_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STOP_CFG_CLR_TMR00 0 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR01 1 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR02 2 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR03 3 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR04 4 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR05 5 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR06 6 /* STOP_CFG Clear Alias */
-#define BITP_TIMER_STOP_CFG_CLR_TMR07 7 /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* STOP_CFG Clear Alias */
-#define BITM_TIMER_STOP_CFG_CLR_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* STOP_CFG Clear Alias */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_IMSK_TMR00 0 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR01 1 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR02 2 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR03 3 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR04 4 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR05 5 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR06 6 /* Data Interrupt Mask */
-#define BITP_TIMER_DATA_IMSK_TMR07 7 /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Mask */
-#define BITM_TIMER_DATA_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_IMSK_TMR00 0 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR01 1 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR02 2 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR03 3 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR04 4 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR05 5 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR06 6 /* Status Interrupt Mask */
-#define BITP_TIMER_STAT_IMSK_TMR07 7 /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Mask */
-#define BITM_TIMER_STAT_IMSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_MSK_TMR00 0 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR01 1 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR02 2 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR03 3 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR04 4 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR05 5 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR06 6 /* Trigger Output Mask */
-#define BITP_TIMER_TRG_MSK_TMR07 7 /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Output Mask */
-#define BITM_TIMER_TRG_MSK_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Output Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TRG_IE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TRG_IE_TMR00 0 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR01 1 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR02 2 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR03 3 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR04 4 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR05 5 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR06 6 /* Trigger Input Enable */
-#define BITP_TIMER_TRG_IE_TMR07 7 /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Trigger Input Enable */
-#define BITM_TIMER_TRG_IE_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Trigger Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_DATA_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_DATA_ILAT_TMR00 0 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR01 1 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR02 2 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR03 3 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR04 4 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR05 5 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR06 6 /* Data Interrupt Latch */
-#define BITP_TIMER_DATA_ILAT_TMR07 7 /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Data Interrupt Latch */
-#define BITM_TIMER_DATA_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Data Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_STAT_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_STAT_ILAT_TMR00 0 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR01 1 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR02 2 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR03 3 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR04 4 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR05 5 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR06 6 /* Status Interrupt Latch */
-#define BITP_TIMER_STAT_ILAT_TMR07 7 /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR00 (_ADI_MSK(0x00000001,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR01 (_ADI_MSK(0x00000002,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR02 (_ADI_MSK(0x00000004,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR03 (_ADI_MSK(0x00000008,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR04 (_ADI_MSK(0x00000010,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR05 (_ADI_MSK(0x00000020,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR06 (_ADI_MSK(0x00000040,uint16_t)) /* Status Interrupt Latch */
-#define BITM_TIMER_STAT_ILAT_TMR07 (_ADI_MSK(0x00000080,uint16_t)) /* Status Interrupt Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_ERR_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_ERR_TYPE_TERR7 14 /* Error type for Timer 7 */
-#define BITP_TIMER_ERR_TYPE_TERR6 12 /* Error type for Timer 6 */
-#define BITP_TIMER_ERR_TYPE_TERR5 10 /* Error type for Timer 5 */
-#define BITP_TIMER_ERR_TYPE_TERR4 8 /* Error type for Timer 4 */
-#define BITP_TIMER_ERR_TYPE_TERR3 6 /* Error type for Timer 3 */
-#define BITP_TIMER_ERR_TYPE_TERR2 4 /* Error type for Timer 2 */
-#define BITP_TIMER_ERR_TYPE_TERR1 2 /* Error type for Timer 1 */
-#define BITP_TIMER_ERR_TYPE_TERR0 0 /* Error type for Timer 0 */
-
-#define BITM_TIMER_ERR_TYPE_TERR7 (_ADI_MSK(0x0000C000,uint32_t)) /* Error type for Timer 7 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR7 (_ADI_MSK(0x00000000,uint32_t)) /* TERR7: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF7 (_ADI_MSK(0x00004000,uint32_t)) /* TERR7: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG7 (_ADI_MSK(0x00008000,uint32_t)) /* TERR7: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG7 (_ADI_MSK(0x0000C000,uint32_t)) /* TERR7: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR6 (_ADI_MSK(0x00003000,uint32_t)) /* Error type for Timer 6 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR6 (_ADI_MSK(0x00000000,uint32_t)) /* TERR6: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF6 (_ADI_MSK(0x00001000,uint32_t)) /* TERR6: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG6 (_ADI_MSK(0x00002000,uint32_t)) /* TERR6: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG6 (_ADI_MSK(0x00003000,uint32_t)) /* TERR6: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR5 (_ADI_MSK(0x00000C00,uint32_t)) /* Error type for Timer 5 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR5 (_ADI_MSK(0x00000000,uint32_t)) /* TERR5: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF5 (_ADI_MSK(0x00000400,uint32_t)) /* TERR5: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG5 (_ADI_MSK(0x00000800,uint32_t)) /* TERR5: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG5 (_ADI_MSK(0x00000C00,uint32_t)) /* TERR5: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR4 (_ADI_MSK(0x00000300,uint32_t)) /* Error type for Timer 4 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR4 (_ADI_MSK(0x00000000,uint32_t)) /* TERR4: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF4 (_ADI_MSK(0x00000100,uint32_t)) /* TERR4: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG4 (_ADI_MSK(0x00000200,uint32_t)) /* TERR4: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG4 (_ADI_MSK(0x00000300,uint32_t)) /* TERR4: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR3 (_ADI_MSK(0x000000C0,uint32_t)) /* Error type for Timer 3 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR3 (_ADI_MSK(0x00000000,uint32_t)) /* TERR3: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF3 (_ADI_MSK(0x00000040,uint32_t)) /* TERR3: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG3 (_ADI_MSK(0x00000080,uint32_t)) /* TERR3: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG3 (_ADI_MSK(0x000000C0,uint32_t)) /* TERR3: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR2 (_ADI_MSK(0x00000030,uint32_t)) /* Error type for Timer 2 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR2 (_ADI_MSK(0x00000000,uint32_t)) /* TERR2: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF2 (_ADI_MSK(0x00000010,uint32_t)) /* TERR2: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG2 (_ADI_MSK(0x00000020,uint32_t)) /* TERR2: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG2 (_ADI_MSK(0x00000030,uint32_t)) /* TERR2: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR1 (_ADI_MSK(0x0000000C,uint32_t)) /* Error type for Timer 1 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR1 (_ADI_MSK(0x00000000,uint32_t)) /* TERR1: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF1 (_ADI_MSK(0x00000004,uint32_t)) /* TERR1: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG1 (_ADI_MSK(0x00000008,uint32_t)) /* TERR1: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG1 (_ADI_MSK(0x0000000C,uint32_t)) /* TERR1: WID or DLY Register Programming Error */
-
-#define BITM_TIMER_ERR_TYPE_TERR0 (_ADI_MSK(0x00000003,uint32_t)) /* Error type for Timer 0 */
-#define ENUM_TIMER_ERR_TYPE_NO_ERR0 (_ADI_MSK(0x00000000,uint32_t)) /* TERR0: No Error */
-#define ENUM_TIMER_ERR_TYPE_CNTOVF0 (_ADI_MSK(0x00000001,uint32_t)) /* TERR0: Counter Overflow Error */
-#define ENUM_TIMER_ERR_TYPE_PERPRG0 (_ADI_MSK(0x00000002,uint32_t)) /* TERR0: PER Register Programming Error */
-#define ENUM_TIMER_ERR_TYPE_PULSEPRG0 (_ADI_MSK(0x00000003,uint32_t)) /* TERR0: WID or DLY Register Programming Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TIMER_TMR_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TIMER_TMR_CFG_EMURUN 15 /* Run Timer (Counter) During Emulation */
-#define BITP_TIMER_TMR_CFG_BPEREN 14 /* Broadcast Period Enable */
-#define BITP_TIMER_TMR_CFG_BWIDEN 13 /* Broadcast Width Enable */
-#define BITP_TIMER_TMR_CFG_BDLYEN 12 /* Broadcast Delay Enable */
-#define BITP_TIMER_TMR_CFG_OUTDIS 11 /* Output Disable */
-#define BITP_TIMER_TMR_CFG_TINSEL 10 /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define BITP_TIMER_TMR_CFG_CLKSEL 8 /* Clock Select */
-#define BITP_TIMER_TMR_CFG_PULSEHI 7 /* Polarity Response Select */
-#define BITP_TIMER_TMR_CFG_SLAVETRIG 6 /* Slave Trigger Response */
-#define BITP_TIMER_TMR_CFG_IRQMODE 4 /* Interrupt Modes */
-#define BITP_TIMER_TMR_CFG_TMODE 0 /* Timer Mode Select */
-
-#define BITM_TIMER_TMR_CFG_EMURUN (_ADI_MSK(0x00008000,uint16_t)) /* Run Timer (Counter) During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_NOCNT (_ADI_MSK(0x00000000,uint16_t)) /* EMURUN: Stop Timer During Emulation */
-#define ENUM_TIMER_TMR_CFG_EMU_CNT (_ADI_MSK(0x00008000,uint16_t)) /* EMURUN: Run Timer During Emulation */
-
-#define BITM_TIMER_TMR_CFG_BPEREN (_ADI_MSK(0x00004000,uint16_t)) /* Broadcast Period Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BPEREN: Disable Broadcast to PER Register */
-#define ENUM_TIMER_TMR_CFG_BCASTPER_EN (_ADI_MSK(0x00004000,uint16_t)) /* BPEREN: Enable Broadcast to PER Register */
-
-#define BITM_TIMER_TMR_CFG_BWIDEN (_ADI_MSK(0x00002000,uint16_t)) /* Broadcast Width Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BWIDEN: Disable Broadcast to WID Register */
-#define ENUM_TIMER_TMR_CFG_BCASTWID_EN (_ADI_MSK(0x00002000,uint16_t)) /* BWIDEN: Enable Broadcast to WID Register */
-
-#define BITM_TIMER_TMR_CFG_BDLYEN (_ADI_MSK(0x00001000,uint16_t)) /* Broadcast Delay Enable */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_DIS (_ADI_MSK(0x00000000,uint16_t)) /* BDLYEN: Disable Broadcast to DLY Register */
-#define ENUM_TIMER_TMR_CFG_BCASTDLY_EN (_ADI_MSK(0x00001000,uint16_t)) /* BDLYEN: Enable Broadcast to DLY Register */
-
-#define BITM_TIMER_TMR_CFG_OUTDIS (_ADI_MSK(0x00000800,uint16_t)) /* Output Disable */
-#define ENUM_TIMER_TMR_CFG_PADOUT_EN (_ADI_MSK(0x00000000,uint16_t)) /* OUTDIS: Enable TMR pin output buffer */
-#define ENUM_TIMER_TMR_CFG_PADOUT_DIS (_ADI_MSK(0x00000800,uint16_t)) /* OUTDIS: Disable TMR pin output buffer */
-
-#define BITM_TIMER_TMR_CFG_TINSEL (_ADI_MSK(0x00000400,uint16_t)) /* Timer Input Select (for WIDCAP, WATCHDOG, PININT modes) */
-#define ENUM_TIMER_TMR_CFG_TINSEL_TMR (_ADI_MSK(0x00000000,uint16_t)) /* TINSEL: Use TMR pin input */
-#define ENUM_TIMER_TMR_CFG_TINSEL_AUX (_ADI_MSK(0x00000400,uint16_t)) /* TINSEL: Use TMR Alternate Capture Input */
-
-#define BITM_TIMER_TMR_CFG_CLKSEL (_ADI_MSK(0x00000300,uint16_t)) /* Clock Select */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_SCLK (_ADI_MSK(0x00000000,uint16_t)) /* CLKSEL: Use SCLK */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT0 (_ADI_MSK(0x00000100,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK0 as the TMR clock */
-#define ENUM_TIMER_TMR_CFG_CLKSEL_ALT1 (_ADI_MSK(0x00000300,uint16_t)) /* CLKSEL: Use TMR_ALT_CLK1 as the TMR clock */
-
-#define BITM_TIMER_TMR_CFG_PULSEHI (_ADI_MSK(0x00000080,uint16_t)) /* Polarity Response Select */
-#define ENUM_TIMER_TMR_CFG_NEG_EDGE (_ADI_MSK(0x00000000,uint16_t)) /* PULSEHI: Negative Response/Pulse */
-#define ENUM_TIMER_TMR_CFG_POS_EDGE (_ADI_MSK(0x00000080,uint16_t)) /* PULSEHI: Positive Response/Pulse */
-
-#define BITM_TIMER_TMR_CFG_SLAVETRIG (_ADI_MSK(0x00000040,uint16_t)) /* Slave Trigger Response */
-#define ENUM_TIMER_TMR_CFG_TRIGSTOP (_ADI_MSK(0x00000000,uint16_t)) /* SLAVETRIG: Pulse stops timer if it is running */
-#define ENUM_TIMER_TMR_CFG_TRIGSTART (_ADI_MSK(0x00000040,uint16_t)) /* SLAVETRIG: Pulse starts timer if it is stopped */
-
-#define BITM_TIMER_TMR_CFG_IRQMODE (_ADI_MSK(0x00000030,uint16_t)) /* Interrupt Modes */
-#define ENUM_TIMER_TMR_CFG_IRQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* IRQMODE: Active Edge Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE1 (_ADI_MSK(0x00000010,uint16_t)) /* IRQMODE: Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE2 (_ADI_MSK(0x00000020,uint16_t)) /* IRQMODE: Width Plus Delay Expired Mode */
-#define ENUM_TIMER_TMR_CFG_IRQMODE3 (_ADI_MSK(0x00000030,uint16_t)) /* IRQMODE: Period Expired Mode */
-
-#define BITM_TIMER_TMR_CFG_TMODE (_ADI_MSK(0x0000000F,uint16_t)) /* Timer Mode Select */
-#define ENUM_TIMER_TMR_CFG_IDLE_MODE (_ADI_MSK(0x00000000,uint16_t)) /* TMODE: Idle Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP0_MODE (_ADI_MSK(0x0000000A,uint16_t)) /* TMODE: Width Capture Asserted Mode */
-#define ENUM_TIMER_TMR_CFG_WIDCAP1_MODE (_ADI_MSK(0x0000000B,uint16_t)) /* TMODE: Width Capture Deasserted Mode */
-#define ENUM_TIMER_TMR_CFG_PWMCONT_MODE (_ADI_MSK(0x0000000C,uint16_t)) /* TMODE: Continuous PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_PWMSING_MODE (_ADI_MSK(0x0000000D,uint16_t)) /* TMODE: Single pulse PWMOUT mode */
-#define ENUM_TIMER_TMR_CFG_EXTCLK_MODE (_ADI_MSK(0x0000000E,uint16_t)) /* TMODE: EXTCLK mode */
-#define ENUM_TIMER_TMR_CFG_PININT_MODE (_ADI_MSK(0x0000000F,uint16_t)) /* TMODE: PININT (pin interrupt) mode */
-#define ENUM_TIMER_TMR_CFG_WDPER_MODE (_ADI_MSK(0x00000008,uint16_t)) /* TMODE: Period Watchdog Mode */
-#define ENUM_TIMER_TMR_CFG_WDWID_MODE (_ADI_MSK(0x00000009,uint16_t)) /* TMODE: Width Watchdog Mode */
-
-/* ==================================================
- Cyclic Redundancy Check Unit Registers
- ================================================== */
-
-/* =========================
- CRC0
- ========================= */
-#define REG_CRC0_CTL 0xFFC01C00 /* CRC0 Control Register */
-#define REG_CRC0_DCNT 0xFFC01C04 /* CRC0 Data Word Count Register */
-#define REG_CRC0_DCNTRLD 0xFFC01C08 /* CRC0 Data Word Count Reload Register */
-#define REG_CRC0_COMP 0xFFC01C14 /* CRC0 Data Compare Register */
-#define REG_CRC0_FILLVAL 0xFFC01C18 /* CRC0 Fill Value Register */
-#define REG_CRC0_DFIFO 0xFFC01C1C /* CRC0 Data FIFO Register */
-#define REG_CRC0_INEN 0xFFC01C20 /* CRC0 Interrupt Enable Register */
-#define REG_CRC0_INEN_SET 0xFFC01C24 /* CRC0 Interrupt Enable Set Register */
-#define REG_CRC0_INEN_CLR 0xFFC01C28 /* CRC0 Interrupt Enable Clear Register */
-#define REG_CRC0_POLY 0xFFC01C2C /* CRC0 Polynomial Register */
-#define REG_CRC0_STAT 0xFFC01C40 /* CRC0 Status Register */
-#define REG_CRC0_DCNTCAP 0xFFC01C44 /* CRC0 Data Count Capture Register */
-#define REG_CRC0_RESULT_FIN 0xFFC01C4C /* CRC0 CRC Final Result Register */
-#define REG_CRC0_RESULT_CUR 0xFFC01C50 /* CRC0 CRC Current Result Register */
-#define REG_CRC0_REVID 0xFFC01C60 /* CRC0 Revision ID Register */
-
-/* =========================
- CRC1
- ========================= */
-#define REG_CRC1_CTL 0xFFC01D00 /* CRC1 Control Register */
-#define REG_CRC1_DCNT 0xFFC01D04 /* CRC1 Data Word Count Register */
-#define REG_CRC1_DCNTRLD 0xFFC01D08 /* CRC1 Data Word Count Reload Register */
-#define REG_CRC1_COMP 0xFFC01D14 /* CRC1 Data Compare Register */
-#define REG_CRC1_FILLVAL 0xFFC01D18 /* CRC1 Fill Value Register */
-#define REG_CRC1_DFIFO 0xFFC01D1C /* CRC1 Data FIFO Register */
-#define REG_CRC1_INEN 0xFFC01D20 /* CRC1 Interrupt Enable Register */
-#define REG_CRC1_INEN_SET 0xFFC01D24 /* CRC1 Interrupt Enable Set Register */
-#define REG_CRC1_INEN_CLR 0xFFC01D28 /* CRC1 Interrupt Enable Clear Register */
-#define REG_CRC1_POLY 0xFFC01D2C /* CRC1 Polynomial Register */
-#define REG_CRC1_STAT 0xFFC01D40 /* CRC1 Status Register */
-#define REG_CRC1_DCNTCAP 0xFFC01D44 /* CRC1 Data Count Capture Register */
-#define REG_CRC1_RESULT_FIN 0xFFC01D4C /* CRC1 CRC Final Result Register */
-#define REG_CRC1_RESULT_CUR 0xFFC01D50 /* CRC1 CRC Current Result Register */
-#define REG_CRC1_REVID 0xFFC01D60 /* CRC1 Revision ID Register */
-
-/* =========================
- CRC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_CTL_CMPMIRR 22 /* COMPARE Register Mirroring */
-#define BITP_CRC_CTL_POLYMIRR 21 /* Polynomial Register Mirroring */
-#define BITP_CRC_CTL_RSLTMIRR 20 /* Result Register Mirroring */
-#define BITP_CRC_CTL_FDSEL 19 /* FIFO Data Select */
-#define BITP_CRC_CTL_W16SWP 18 /* Word16 Swapping */
-#define BITP_CRC_CTL_BYTMIRR 17 /* Byte Mirroring */
-#define BITP_CRC_CTL_BITMIRR 16 /* Bit Mirroring */
-#define BITP_CRC_CTL_IRRSTALL 13 /* Intermediate Result Ready Stall */
-#define BITP_CRC_CTL_OBRSTALL 12 /* Output Buffer Ready Stall */
-#define BITP_CRC_CTL_AUTOCLRF 9 /* Auto Clear to One */
-#define BITP_CRC_CTL_AUTOCLRZ 8 /* Auto Clear to Zero */
-#define BITP_CRC_CTL_OPMODE 4 /* Operation Mode */
-#define BITP_CRC_CTL_BLKEN 0 /* Block Enable */
-#define BITM_CRC_CTL_CMPMIRR (_ADI_MSK(0x00400000,uint32_t)) /* COMPARE Register Mirroring */
-#define BITM_CRC_CTL_POLYMIRR (_ADI_MSK(0x00200000,uint32_t)) /* Polynomial Register Mirroring */
-#define BITM_CRC_CTL_RSLTMIRR (_ADI_MSK(0x00100000,uint32_t)) /* Result Register Mirroring */
-#define BITM_CRC_CTL_FDSEL (_ADI_MSK(0x00080000,uint32_t)) /* FIFO Data Select */
-#define BITM_CRC_CTL_W16SWP (_ADI_MSK(0x00040000,uint32_t)) /* Word16 Swapping */
-#define BITM_CRC_CTL_BYTMIRR (_ADI_MSK(0x00020000,uint32_t)) /* Byte Mirroring */
-#define BITM_CRC_CTL_BITMIRR (_ADI_MSK(0x00010000,uint32_t)) /* Bit Mirroring */
-#define BITM_CRC_CTL_IRRSTALL (_ADI_MSK(0x00002000,uint32_t)) /* Intermediate Result Ready Stall */
-#define BITM_CRC_CTL_OBRSTALL (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Ready Stall */
-#define BITM_CRC_CTL_AUTOCLRF (_ADI_MSK(0x00000200,uint32_t)) /* Auto Clear to One */
-#define BITM_CRC_CTL_AUTOCLRZ (_ADI_MSK(0x00000100,uint32_t)) /* Auto Clear to Zero */
-#define BITM_CRC_CTL_OPMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Operation Mode */
-#define BITM_CRC_CTL_BLKEN (_ADI_MSK(0x00000001,uint32_t)) /* Block Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable */
-#define BITP_CRC_INEN_CMPERR 1 /* Compare Error Interrupt Enable */
-
-#define BITM_CRC_INEN_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable */
-#define ENUM_CRC_INEN_DCNTEXP_MSK (_ADI_MSK(0x00000000,uint32_t)) /* DCNTEXP: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_DCNTEXP_UMSK (_ADI_MSK(0x00000010,uint32_t)) /* DCNTEXP: Enable (unmask) interrupt */
-
-#define BITM_CRC_INEN_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable */
-#define ENUM_CRC_INEN_CMPERR_MSK (_ADI_MSK(0x00000000,uint32_t)) /* CMPERR: Disable (mask) interrupt */
-#define ENUM_CRC_INEN_CMPERR_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* CMPERR: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_SET_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITP_CRC_INEN_SET_CMPERR 1 /* Compare Error Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Set */
-#define BITM_CRC_INEN_SET_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_INEN_CLR_DCNTEXP 4 /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITP_CRC_INEN_CLR_CMPERR 1 /* Compare Error Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired (Status) Interrupt Enable Clear */
-#define BITM_CRC_INEN_CLR_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error Interrupt Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_STAT_FSTAT 20 /* FIFO Status */
-#define BITP_CRC_STAT_LUTDONE 19 /* Look Up Table Done */
-#define BITP_CRC_STAT_IRR 18 /* Intermediate Result Ready */
-#define BITP_CRC_STAT_OBR 17 /* Output Buffer Ready */
-#define BITP_CRC_STAT_IBR 16 /* Input Buffer Ready */
-#define BITP_CRC_STAT_DCNTEXP 4 /* Data Count Expired */
-#define BITP_CRC_STAT_CMPERR 1 /* Compare Error */
-#define BITM_CRC_STAT_FSTAT (_ADI_MSK(0x00700000,uint32_t)) /* FIFO Status */
-#define BITM_CRC_STAT_LUTDONE (_ADI_MSK(0x00080000,uint32_t)) /* Look Up Table Done */
-#define BITM_CRC_STAT_IRR (_ADI_MSK(0x00040000,uint32_t)) /* Intermediate Result Ready */
-#define BITM_CRC_STAT_OBR (_ADI_MSK(0x00020000,uint32_t)) /* Output Buffer Ready */
-#define BITM_CRC_STAT_IBR (_ADI_MSK(0x00010000,uint32_t)) /* Input Buffer Ready */
-#define BITM_CRC_STAT_DCNTEXP (_ADI_MSK(0x00000010,uint32_t)) /* Data Count Expired */
-#define BITM_CRC_STAT_CMPERR (_ADI_MSK(0x00000002,uint32_t)) /* Compare Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CRC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CRC_REVID_MAJOR 4 /* Major Revision ID */
-#define BITP_CRC_REVID_REV 0 /* Incremental Revision ID */
-#define BITM_CRC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Revision ID */
-#define BITM_CRC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Revision ID */
-
-/* ==================================================
- 2-Wire Interface Registers
- ================================================== */
-
-/* =========================
- TWI0
- ========================= */
-#define REG_TWI0_CLKDIV 0xFFC01E00 /* TWI0 SCL Clock Divider Register */
-#define REG_TWI0_CTL 0xFFC01E04 /* TWI0 Control Register */
-#define REG_TWI0_SLVCTL 0xFFC01E08 /* TWI0 Slave Mode Control Register */
-#define REG_TWI0_SLVSTAT 0xFFC01E0C /* TWI0 Slave Mode Status Register */
-#define REG_TWI0_SLVADDR 0xFFC01E10 /* TWI0 Slave Mode Address Register */
-#define REG_TWI0_MSTRCTL 0xFFC01E14 /* TWI0 Master Mode Control Registers */
-#define REG_TWI0_MSTRSTAT 0xFFC01E18 /* TWI0 Master Mode Status Register */
-#define REG_TWI0_MSTRADDR 0xFFC01E1C /* TWI0 Master Mode Address Register */
-#define REG_TWI0_ISTAT 0xFFC01E20 /* TWI0 Interrupt Status Register */
-#define REG_TWI0_IMSK 0xFFC01E24 /* TWI0 Interrupt Mask Register */
-#define REG_TWI0_FIFOCTL 0xFFC01E28 /* TWI0 FIFO Control Register */
-#define REG_TWI0_FIFOSTAT 0xFFC01E2C /* TWI0 FIFO Status Register */
-#define REG_TWI0_TXDATA8 0xFFC01E80 /* TWI0 Tx Data Single-Byte Register */
-#define REG_TWI0_TXDATA16 0xFFC01E84 /* TWI0 Tx Data Double-Byte Register */
-#define REG_TWI0_RXDATA8 0xFFC01E88 /* TWI0 Rx Data Single-Byte Register */
-#define REG_TWI0_RXDATA16 0xFFC01E8C /* TWI0 Rx Data Double-Byte Register */
-
-/* =========================
- TWI1
- ========================= */
-#define REG_TWI1_CLKDIV 0xFFC01F00 /* TWI1 SCL Clock Divider Register */
-#define REG_TWI1_CTL 0xFFC01F04 /* TWI1 Control Register */
-#define REG_TWI1_SLVCTL 0xFFC01F08 /* TWI1 Slave Mode Control Register */
-#define REG_TWI1_SLVSTAT 0xFFC01F0C /* TWI1 Slave Mode Status Register */
-#define REG_TWI1_SLVADDR 0xFFC01F10 /* TWI1 Slave Mode Address Register */
-#define REG_TWI1_MSTRCTL 0xFFC01F14 /* TWI1 Master Mode Control Registers */
-#define REG_TWI1_MSTRSTAT 0xFFC01F18 /* TWI1 Master Mode Status Register */
-#define REG_TWI1_MSTRADDR 0xFFC01F1C /* TWI1 Master Mode Address Register */
-#define REG_TWI1_ISTAT 0xFFC01F20 /* TWI1 Interrupt Status Register */
-#define REG_TWI1_IMSK 0xFFC01F24 /* TWI1 Interrupt Mask Register */
-#define REG_TWI1_FIFOCTL 0xFFC01F28 /* TWI1 FIFO Control Register */
-#define REG_TWI1_FIFOSTAT 0xFFC01F2C /* TWI1 FIFO Status Register */
-#define REG_TWI1_TXDATA8 0xFFC01F80 /* TWI1 Tx Data Single-Byte Register */
-#define REG_TWI1_TXDATA16 0xFFC01F84 /* TWI1 Tx Data Double-Byte Register */
-#define REG_TWI1_RXDATA8 0xFFC01F88 /* TWI1 Rx Data Single-Byte Register */
-#define REG_TWI1_RXDATA16 0xFFC01F8C /* TWI1 Rx Data Double-Byte Register */
-
-/* =========================
- TWI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CLKDIV_CLKHI 8 /* SCL Clock High Periods */
-#define BITP_TWI_CLKDIV_CLKLO 0 /* SCL Clock Low Periods */
-#define BITM_TWI_CLKDIV_CLKHI (_ADI_MSK(0x0000FF00,uint16_t)) /* SCL Clock High Periods */
-#define BITM_TWI_CLKDIV_CLKLO (_ADI_MSK(0x000000FF,uint16_t)) /* SCL Clock Low Periods */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_CTL_SCCB 9 /* SCCB Compatibility */
-#define BITP_TWI_CTL_EN 7 /* Enable Module */
-#define BITP_TWI_CTL_PRESCALE 0 /* SCLK Prescale Value */
-
-#define BITM_TWI_CTL_SCCB (_ADI_MSK(0x00000200,uint16_t)) /* SCCB Compatibility */
-#define ENUM_TWI_CTL_SCCB_DIS (_ADI_MSK(0x00000000,uint16_t)) /* SCCB: Disable SCCB compatibility */
-#define ENUM_TWI_CTL_SCCB_EN (_ADI_MSK(0x00000200,uint16_t)) /* SCCB: Enable SCCB compatibility */
-
-#define BITM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* Enable Module */
-#define ENUM_TWI_CTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_CTL_EN (_ADI_MSK(0x00000080,uint16_t)) /* EN: Enable */
-#define BITM_TWI_CTL_PRESCALE (_ADI_MSK(0x0000007F,uint16_t)) /* SCLK Prescale Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVCTL_GEN 4 /* General Call Enable */
-#define BITP_TWI_SLVCTL_NAK 3 /* Not Acknowledge */
-#define BITP_TWI_SLVCTL_TDVAL 2 /* Transmit Data Valid for Slave */
-#define BITP_TWI_SLVCTL_EN 0 /* Enable Slave Mode */
-
-#define BITM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* General Call Enable */
-#define ENUM_TWI_SLVCTL_GDIS (_ADI_MSK(0x00000000,uint16_t)) /* GEN: Disable General Call Matching */
-#define ENUM_TWI_SLVCTL_GEN (_ADI_MSK(0x00000010,uint16_t)) /* GEN: Enable General Call Matching */
-
-#define BITM_TWI_SLVCTL_NAK (_ADI_MSK(0x00000008,uint16_t)) /* Not Acknowledge */
-#define ENUM_TWI_SLVCTL_ACKGEN (_ADI_MSK(0x00000000,uint16_t)) /* NAK: Generate ACK */
-#define ENUM_TWI_SLVCTL_NAKGEN (_ADI_MSK(0x00000008,uint16_t)) /* NAK: Generate NAK */
-
-#define BITM_TWI_SLVCTL_TDVAL (_ADI_MSK(0x00000004,uint16_t)) /* Transmit Data Valid for Slave */
-#define ENUM_TWI_SLVCTL_INVALID (_ADI_MSK(0x00000000,uint16_t)) /* TDVAL: Data Invalid for Slave Tx */
-#define ENUM_TWI_SLVCTL_VALID (_ADI_MSK(0x00000004,uint16_t)) /* TDVAL: Data Valid for Slave Tx */
-
-#define BITM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Slave Mode */
-#define ENUM_TWI_SLVCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_SLVCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVSTAT_GCALL 1 /* General Call */
-#define BITP_TWI_SLVSTAT_DIR 0 /* Transfer Direction for Slave */
-
-#define BITM_TWI_SLVSTAT_GCALL (_ADI_MSK(0x00000002,uint16_t)) /* General Call */
-#define ENUM_TWI_SLVSTAT_NO (_ADI_MSK(0x00000000,uint16_t)) /* GCALL: Not a General Call Address */
-#define ENUM_TWI_SLVSTAT_YES (_ADI_MSK(0x00000002,uint16_t)) /* GCALL: General Call Address */
-
-#define BITM_TWI_SLVSTAT_DIR (_ADI_MSK(0x00000001,uint16_t)) /* Transfer Direction for Slave */
-#define ENUM_TWI_SLVSTAT_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Slave Receive */
-#define ENUM_TWI_SLVSTAT_TX (_ADI_MSK(0x00000001,uint16_t)) /* DIR: Slave Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_SLVADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_SLVADDR_ADDR 0 /* Slave Mode Address */
-#define BITM_TWI_SLVADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Slave Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRCTL_SCLOVR 15 /* Serial Clock Override */
-#define BITP_TWI_MSTRCTL_SDAOVR 14 /* Serial Data Override */
-#define BITP_TWI_MSTRCTL_DCNT 6 /* Data Transfer Count */
-#define BITP_TWI_MSTRCTL_RSTART 5 /* Repeat Start */
-#define BITP_TWI_MSTRCTL_STOP 4 /* Issue Stop Condition */
-#define BITP_TWI_MSTRCTL_FAST 3 /* Fast Mode */
-#define BITP_TWI_MSTRCTL_DIR 2 /* Transfer Direction for Master */
-#define BITP_TWI_MSTRCTL_EN 0 /* Enable Master Mode */
-
-#define BITM_TWI_MSTRCTL_SCLOVR (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Override */
-#define ENUM_TWI_MSTRCTL_SCLNORM (_ADI_MSK(0x00000000,uint16_t)) /* SCLOVR: Permit Normal SCL Operation */
-#define ENUM_TWI_MSTRCTL_SCLOVER (_ADI_MSK(0x00008000,uint16_t)) /* SCLOVR: Override Normal SCL Operation */
-
-#define BITM_TWI_MSTRCTL_SDAOVR (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Override */
-#define ENUM_TWI_MSTRCTL_SDANORM (_ADI_MSK(0x00000000,uint16_t)) /* SDAOVR: Permit Normal SDA Operation */
-#define ENUM_TWI_MSTRCTL_SDAOVER (_ADI_MSK(0x00004000,uint16_t)) /* SDAOVR: Override Normal SDA Operation */
-#define BITM_TWI_MSTRCTL_DCNT (_ADI_MSK(0x00003FC0,uint16_t)) /* Data Transfer Count */
-
-#define BITM_TWI_MSTRCTL_RSTART (_ADI_MSK(0x00000020,uint16_t)) /* Repeat Start */
-#define ENUM_TWI_MSTRCTL_END (_ADI_MSK(0x00000000,uint16_t)) /* RSTART: Disable Repeat Start */
-#define ENUM_TWI_MSTRCTL_RPT (_ADI_MSK(0x00000020,uint16_t)) /* RSTART: Enable Repeat Start */
-
-#define BITM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* Issue Stop Condition */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* STOP: Permit Normal Operation */
-#define ENUM_TWI_MSTRCTL_STOP (_ADI_MSK(0x00000010,uint16_t)) /* STOP: Issue Stop */
-
-#define BITM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* Fast Mode */
-#define ENUM_TWI_MSTRCTL_NORM (_ADI_MSK(0x00000000,uint16_t)) /* FAST: Select Standard Mode */
-#define ENUM_TWI_MSTRCTL_FAST (_ADI_MSK(0x00000008,uint16_t)) /* FAST: Select Fast Mode */
-
-#define BITM_TWI_MSTRCTL_DIR (_ADI_MSK(0x00000004,uint16_t)) /* Transfer Direction for Master */
-#define ENUM_TWI_MSTRCTL_TX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: Master Transmit */
-#define ENUM_TWI_MSTRCTL_RX (_ADI_MSK(0x00000004,uint16_t)) /* DIR: Master Receive */
-
-#define BITM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* Enable Master Mode */
-#define ENUM_TWI_MSTRCTL_DIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable */
-#define ENUM_TWI_MSTRCTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRSTAT_BUSBUSY 8 /* Bus Busy */
-#define BITP_TWI_MSTRSTAT_SCLSEN 7 /* Serial Clock Sense */
-#define BITP_TWI_MSTRSTAT_SDASEN 6 /* Serial Data Sense */
-#define BITP_TWI_MSTRSTAT_BUFWRERR 5 /* Buffer Write Error */
-#define BITP_TWI_MSTRSTAT_BUFRDERR 4 /* Buffer Read Error */
-#define BITP_TWI_MSTRSTAT_DNAK 3 /* Data Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_ANAK 2 /* Address Not Acknowledged */
-#define BITP_TWI_MSTRSTAT_LOSTARB 1 /* Lost Arbitration */
-#define BITP_TWI_MSTRSTAT_MPROG 0 /* Master Transfer in Progress */
-
-#define BITM_TWI_MSTRSTAT_BUSBUSY (_ADI_MSK(0x00000100,uint16_t)) /* Bus Busy */
-#define ENUM_TWI_MSTRSTAT_FREE (_ADI_MSK(0x00000000,uint16_t)) /* BUSBUSY: Bus Free */
-#define ENUM_TWI_MSTRSTAT_BUSY (_ADI_MSK(0x00000100,uint16_t)) /* BUSBUSY: Bus Busy */
-
-#define BITM_TWI_MSTRSTAT_SCLSEN (_ADI_MSK(0x00000080,uint16_t)) /* Serial Clock Sense */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLSEN: SCL Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SCLSEN_YES (_ADI_MSK(0x00000080,uint16_t)) /* SCLSEN: SCL Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_SDASEN (_ADI_MSK(0x00000040,uint16_t)) /* Serial Data Sense */
-#define ENUM_TWI_MSTRSTAT_SDASEN_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDASEN: SDA Inactive "One" */
-#define ENUM_TWI_MSTRSTAT_SDASEN_YES (_ADI_MSK(0x00000040,uint16_t)) /* SDASEN: SDA Active "Zero" */
-
-#define BITM_TWI_MSTRSTAT_BUFWRERR (_ADI_MSK(0x00000020,uint16_t)) /* Buffer Write Error */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFWRERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFWRERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* BUFWRERR: Buffer Write Error */
-
-#define BITM_TWI_MSTRSTAT_BUFRDERR (_ADI_MSK(0x00000010,uint16_t)) /* Buffer Read Error */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* BUFRDERR: No Status */
-#define ENUM_TWI_MSTRSTAT_BUFRDERR_YES (_ADI_MSK(0x00000010,uint16_t)) /* BUFRDERR: Buffer Read Error */
-
-#define BITM_TWI_MSTRSTAT_DNAK (_ADI_MSK(0x00000008,uint16_t)) /* Data Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_DNAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* DNAK: No Status */
-#define ENUM_TWI_MSTRSTAT_DNAK_YES (_ADI_MSK(0x00000008,uint16_t)) /* DNAK: Data NAK */
-
-#define BITM_TWI_MSTRSTAT_ANAK (_ADI_MSK(0x00000004,uint16_t)) /* Address Not Acknowledged */
-#define ENUM_TWI_MSTRSTAT_ANAK_NO (_ADI_MSK(0x00000000,uint16_t)) /* ANAK: No Status */
-#define ENUM_TWI_MSTRSTAT_ANAK_YES (_ADI_MSK(0x00000004,uint16_t)) /* ANAK: Address NAK */
-
-#define BITM_TWI_MSTRSTAT_LOSTARB (_ADI_MSK(0x00000002,uint16_t)) /* Lost Arbitration */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_NO (_ADI_MSK(0x00000000,uint16_t)) /* LOSTARB: No Status */
-#define ENUM_TWI_MSTRSTAT_LOSTARB_YES (_ADI_MSK(0x00000002,uint16_t)) /* LOSTARB: Lost Arbitration */
-
-#define BITM_TWI_MSTRSTAT_MPROG (_ADI_MSK(0x00000001,uint16_t)) /* Master Transfer in Progress */
-#define ENUM_TWI_MSTRSTAT_MPROG_NO (_ADI_MSK(0x00000000,uint16_t)) /* MPROG: No Status */
-#define ENUM_TWI_MSTRSTAT_MPROG_YES (_ADI_MSK(0x00000001,uint16_t)) /* MPROG: Master Transfer in Progress */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_MSTRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_MSTRADDR_ADDR 0 /* Master Mode Address */
-#define BITM_TWI_MSTRADDR_ADDR (_ADI_MSK(0x0000007F,uint16_t)) /* Master Mode Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_ISTAT_SCLI 15 /* Serial Clock Interrupt */
-#define BITP_TWI_ISTAT_SDAI 14 /* Serial Data Interrupt */
-#define BITP_TWI_ISTAT_RXSERV 7 /* Rx FIFO Service */
-#define BITP_TWI_ISTAT_TXSERV 6 /* Tx FIFO Service */
-#define BITP_TWI_ISTAT_MERR 5 /* Master Transfer Error */
-#define BITP_TWI_ISTAT_MCOMP 4 /* Master Transfer Complete */
-#define BITP_TWI_ISTAT_SOVF 3 /* Slave Overflow */
-#define BITP_TWI_ISTAT_SERR 2 /* Slave Transfer Error */
-#define BITP_TWI_ISTAT_SCOMP 1 /* Slave Transfer Complete */
-#define BITP_TWI_ISTAT_SINIT 0 /* Slave Transfer Initiated */
-
-#define BITM_TWI_ISTAT_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: No Interrupt */
-#define ENUM_TWI_ISTAT_SCLI_YES (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_NO (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: No Interrupt */
-#define ENUM_TWI_ISTAT_SDAI_YES (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service */
-#define ENUM_TWI_ISTAT_RXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_RXSERV_YES (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service */
-#define ENUM_TWI_ISTAT_TXSERV_NO (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: No Interrupt */
-#define ENUM_TWI_ISTAT_TXSERV_YES (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error */
-#define ENUM_TWI_ISTAT_MERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* MERR: No Interrupt */
-#define ENUM_TWI_ISTAT_MERR_YES (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete */
-#define ENUM_TWI_ISTAT_MCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_MCOMP_YES (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow */
-#define ENUM_TWI_ISTAT_SOVF_NO (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: No Interrupt */
-#define ENUM_TWI_ISTAT_SOVF_YES (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error */
-#define ENUM_TWI_ISTAT_SERR_NO (_ADI_MSK(0x00000000,uint16_t)) /* SERR: No Interrupt */
-#define ENUM_TWI_ISTAT_SERR_YES (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete */
-#define ENUM_TWI_ISTAT_SCOMP_NO (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: No Interrupt */
-#define ENUM_TWI_ISTAT_SCOMP_YES (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Interrupt Detected */
-
-#define BITM_TWI_ISTAT_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated */
-#define ENUM_TWI_ISTAT_SINIT_NO (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: No Interrupt */
-#define ENUM_TWI_ISTAT_SINIT_YES (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Interrupt Detected */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_IMSK_SCLI 15 /* Serial Clock Interrupt Mask */
-#define BITP_TWI_IMSK_SDAI 14 /* Serial Data Interrupt Mask */
-#define BITP_TWI_IMSK_RXSERV 7 /* Rx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_TXSERV 6 /* Tx FIFO Service Interrupt Mask */
-#define BITP_TWI_IMSK_MERR 5 /* Master Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_MCOMP 4 /* Master Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SOVF 3 /* Slave Overflow Interrupt Mask */
-#define BITP_TWI_IMSK_SERR 2 /* Slave Transfer Error Interrupt Mask */
-#define BITP_TWI_IMSK_SCOMP 1 /* Slave Transfer Complete Interrupt Mask */
-#define BITP_TWI_IMSK_SINIT 0 /* Slave Transfer Initiated Interrupt Mask */
-
-#define BITM_TWI_IMSK_SCLI (_ADI_MSK(0x00008000,uint16_t)) /* Serial Clock Interrupt Mask */
-#define ENUM_TWI_IMSK_SCLI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCLI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCLI_UMSK (_ADI_MSK(0x00008000,uint16_t)) /* SCLI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SDAI (_ADI_MSK(0x00004000,uint16_t)) /* Serial Data Interrupt Mask */
-#define ENUM_TWI_IMSK_SDAI_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SDAI: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SDAI_UMSK (_ADI_MSK(0x00004000,uint16_t)) /* SDAI: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_RXSERV (_ADI_MSK(0x00000080,uint16_t)) /* Rx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_RXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* RXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_RXSERV_UMSK (_ADI_MSK(0x00000080,uint16_t)) /* RXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_TXSERV (_ADI_MSK(0x00000040,uint16_t)) /* Tx FIFO Service Interrupt Mask */
-#define ENUM_TWI_IMSK_TXSERV_MSK (_ADI_MSK(0x00000000,uint16_t)) /* TXSERV: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_TXSERV_UMSK (_ADI_MSK(0x00000040,uint16_t)) /* TXSERV: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MERR (_ADI_MSK(0x00000020,uint16_t)) /* Master Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_MERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MERR_UMSK (_ADI_MSK(0x00000020,uint16_t)) /* MERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_MCOMP (_ADI_MSK(0x00000010,uint16_t)) /* Master Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_MCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* MCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_MCOMP_UMSK (_ADI_MSK(0x00000010,uint16_t)) /* MCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SOVF (_ADI_MSK(0x00000008,uint16_t)) /* Slave Overflow Interrupt Mask */
-#define ENUM_TWI_IMSK_SOVF_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SOVF: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SOVF_UMSK (_ADI_MSK(0x00000008,uint16_t)) /* SOVF: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SERR (_ADI_MSK(0x00000004,uint16_t)) /* Slave Transfer Error Interrupt Mask */
-#define ENUM_TWI_IMSK_SERR_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SERR: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SERR_UMSK (_ADI_MSK(0x00000004,uint16_t)) /* SERR: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SCOMP (_ADI_MSK(0x00000002,uint16_t)) /* Slave Transfer Complete Interrupt Mask */
-#define ENUM_TWI_IMSK_SCOMP_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SCOMP: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SCOMP_UMSK (_ADI_MSK(0x00000002,uint16_t)) /* SCOMP: Unmask (Enable) Interrupt */
-
-#define BITM_TWI_IMSK_SINIT (_ADI_MSK(0x00000001,uint16_t)) /* Slave Transfer Initiated Interrupt Mask */
-#define ENUM_TWI_IMSK_SINIT_MSK (_ADI_MSK(0x00000000,uint16_t)) /* SINIT: Mask (Disable) Interrupt */
-#define ENUM_TWI_IMSK_SINIT_UMSK (_ADI_MSK(0x00000001,uint16_t)) /* SINIT: Unmask (Enable) Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOCTL_RXILEN 3 /* Rx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_TXILEN 2 /* Tx Buffer Interrupt Length */
-#define BITP_TWI_FIFOCTL_RXFLUSH 1 /* Rx Buffer Flush */
-#define BITP_TWI_FIFOCTL_TXFLUSH 0 /* Tx Buffer Flush */
-
-#define BITM_TWI_FIFOCTL_RXILEN (_ADI_MSK(0x00000008,uint16_t)) /* Rx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_RXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* RXILEN: RXSERVI on 1 or 2 Bytes in FIFO */
-#define ENUM_TWI_FIFOCTL_RXTWOBYTE (_ADI_MSK(0x00000008,uint16_t)) /* RXILEN: RXSERVI on 2 Bytes in FIFO */
-
-#define BITM_TWI_FIFOCTL_TXILEN (_ADI_MSK(0x00000004,uint16_t)) /* Tx Buffer Interrupt Length */
-#define ENUM_TWI_FIFOCTL_TXONEBYTE (_ADI_MSK(0x00000000,uint16_t)) /* TXILEN: TXSERVI on 1 Byte of FIFO Empty */
-#define ENUM_TWI_FIFOCTL_TXTWOBYTE (_ADI_MSK(0x00000004,uint16_t)) /* TXILEN: TXSERVI on 2 Bytes of FIFO Empty */
-
-#define BITM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* Rx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_RXNORM (_ADI_MSK(0x00000000,uint16_t)) /* RXFLUSH: Normal Operation of Rx Buffer */
-#define ENUM_TWI_FIFOCTL_RXFLUSH (_ADI_MSK(0x00000002,uint16_t)) /* RXFLUSH: Flush Rx Buffer */
-
-#define BITM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* Tx Buffer Flush */
-#define ENUM_TWI_FIFOCTL_TXNORM (_ADI_MSK(0x00000000,uint16_t)) /* TXFLUSH: Normal Operation of Tx Buffer */
-#define ENUM_TWI_FIFOCTL_TXFLUSH (_ADI_MSK(0x00000001,uint16_t)) /* TXFLUSH: Flush Tx Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_FIFOSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_FIFOSTAT_RXSTAT 2 /* Rx FIFO Status */
-#define BITP_TWI_FIFOSTAT_TXSTAT 0 /* Tx FIFO Status */
-#define BITM_TWI_FIFOSTAT_RXSTAT (_ADI_MSK(0x0000000C,uint16_t)) /* Rx FIFO Status */
-#define BITM_TWI_FIFOSTAT_TXSTAT (_ADI_MSK(0x00000003,uint16_t)) /* Tx FIFO Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_TXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_TXDATA8_VALUE 0 /* Tx Data 8-Bit Value */
-#define BITM_TWI_TXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Tx Data 8-Bit Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TWI_RXDATA8 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TWI_RXDATA8_VALUE 0 /* Rx Data 8-Bit Value */
-#define BITM_TWI_RXDATA8_VALUE (_ADI_MSK(0x000000FF,uint16_t)) /* Rx Data 8-Bit Value */
-
-/* ==================================================
- UART Registers
- ================================================== */
-
-/* =========================
- UART0
- ========================= */
-#define REG_UART0_REVID 0xFFC02000 /* UART0 Revision ID Register */
-#define REG_UART0_CTL 0xFFC02004 /* UART0 Control Register */
-#define REG_UART0_STAT 0xFFC02008 /* UART0 Status Register */
-#define REG_UART0_SCR 0xFFC0200C /* UART0 Scratch Register */
-#define REG_UART0_CLK 0xFFC02010 /* UART0 Clock Rate Register */
-#define REG_UART0_IMSK 0xFFC02014 /* UART0 Interrupt Mask Register */
-#define REG_UART0_IMSK_SET 0xFFC02018 /* UART0 Interrupt Mask Set Register */
-#define REG_UART0_IMSK_CLR 0xFFC0201C /* UART0 Interrupt Mask Clear Register */
-#define REG_UART0_RBR 0xFFC02020 /* UART0 Receive Buffer Register */
-#define REG_UART0_THR 0xFFC02024 /* UART0 Transmit Hold Register */
-#define REG_UART0_TAIP 0xFFC02028 /* UART0 Transmit Address/Insert Pulse Register */
-#define REG_UART0_TSR 0xFFC0202C /* UART0 Transmit Shift Register */
-#define REG_UART0_RSR 0xFFC02030 /* UART0 Receive Shift Register */
-#define REG_UART0_TXCNT 0xFFC02034 /* UART0 Transmit Counter Register */
-#define REG_UART0_RXCNT 0xFFC02038 /* UART0 Receive Counter Register */
-
-/* =========================
- UART1
- ========================= */
-#define REG_UART1_REVID 0xFFC02400 /* UART1 Revision ID Register */
-#define REG_UART1_CTL 0xFFC02404 /* UART1 Control Register */
-#define REG_UART1_STAT 0xFFC02408 /* UART1 Status Register */
-#define REG_UART1_SCR 0xFFC0240C /* UART1 Scratch Register */
-#define REG_UART1_CLK 0xFFC02410 /* UART1 Clock Rate Register */
-#define REG_UART1_IMSK 0xFFC02414 /* UART1 Interrupt Mask Register */
-#define REG_UART1_IMSK_SET 0xFFC02418 /* UART1 Interrupt Mask Set Register */
-#define REG_UART1_IMSK_CLR 0xFFC0241C /* UART1 Interrupt Mask Clear Register */
-#define REG_UART1_RBR 0xFFC02420 /* UART1 Receive Buffer Register */
-#define REG_UART1_THR 0xFFC02424 /* UART1 Transmit Hold Register */
-#define REG_UART1_TAIP 0xFFC02428 /* UART1 Transmit Address/Insert Pulse Register */
-#define REG_UART1_TSR 0xFFC0242C /* UART1 Transmit Shift Register */
-#define REG_UART1_RSR 0xFFC02430 /* UART1 Receive Shift Register */
-#define REG_UART1_TXCNT 0xFFC02434 /* UART1 Transmit Counter Register */
-#define REG_UART1_RXCNT 0xFFC02438 /* UART1 Receive Counter Register */
-
-/* =========================
- UART
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_REVID_MAJOR 4 /* Major Version */
-#define BITP_UART_REVID_REV 0 /* Incremental Version */
-#define BITM_UART_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version */
-#define BITM_UART_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CTL_RFRT 30 /* Receive FIFO RTS Threshold */
-#define BITP_UART_CTL_RFIT 29 /* Receive FIFO IRQ Threshold */
-#define BITP_UART_CTL_ACTS 28 /* Automatic CTS */
-#define BITP_UART_CTL_ARTS 27 /* Automatic RTS */
-#define BITP_UART_CTL_XOFF 26 /* Transmitter off */
-#define BITP_UART_CTL_MRTS 25 /* Manual Request to Send */
-#define BITP_UART_CTL_TPOLC 24 /* IrDA TX Polarity Change */
-#define BITP_UART_CTL_RPOLC 23 /* IrDA RX Polarity Change */
-#define BITP_UART_CTL_FCPOL 22 /* Flow Control Pin Polarity */
-#define BITP_UART_CTL_SB 19 /* Set Break */
-#define BITP_UART_CTL_FFE 18 /* Force Framing Error on Transmit */
-#define BITP_UART_CTL_FPE 17 /* Force Parity Error on Transmit */
-#define BITP_UART_CTL_STP 16 /* Sticky Parity */
-#define BITP_UART_CTL_EPS 15 /* Even Parity Select */
-#define BITP_UART_CTL_PEN 14 /* Parity Enable */
-#define BITP_UART_CTL_STBH 13 /* Stop Bits (Half Bit Time) */
-#define BITP_UART_CTL_STB 12 /* Stop Bits */
-#define BITP_UART_CTL_WLS 8 /* Word Length Select */
-#define BITP_UART_CTL_MOD 4 /* Mode of Operation */
-#define BITP_UART_CTL_LOOP_EN 1 /* Loopback Enable */
-#define BITP_UART_CTL_EN 0 /* Enable UART */
-
-#define BITM_UART_CTL_RFRT (_ADI_MSK(0x40000000,uint32_t)) /* Receive FIFO RTS Threshold */
-#define ENUM_UART_CTL_RX_RTS_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 4; assert if <= 4 */
-#define ENUM_UART_CTL_RX_RTS_TH7 (_ADI_MSK(0x40000000,uint32_t)) /* RFRT: De-assert RTS if RX FIFO word count > 7; assert if <= 7 */
-
-#define BITM_UART_CTL_RFIT (_ADI_MSK(0x20000000,uint32_t)) /* Receive FIFO IRQ Threshold */
-#define ENUM_UART_CTL_RX_IRQ_TH4 (_ADI_MSK(0x00000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 4 */
-#define ENUM_UART_CTL_RX_IRQ_TH7 (_ADI_MSK(0x20000000,uint32_t)) /* RFIT: Set RFCS=1 if RX FIFO count >= 7 */
-
-#define BITM_UART_CTL_ACTS (_ADI_MSK(0x10000000,uint32_t)) /* Automatic CTS */
-#define ENUM_UART_CTL_CTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ACTS: Disable TX handshaking protocol */
-#define ENUM_UART_CTL_CTS_AUTO (_ADI_MSK(0x10000000,uint32_t)) /* ACTS: Enable TX handshaking protocol */
-
-#define BITM_UART_CTL_ARTS (_ADI_MSK(0x08000000,uint32_t)) /* Automatic RTS */
-#define ENUM_UART_CTL_RTS_MAN (_ADI_MSK(0x00000000,uint32_t)) /* ARTS: Disable RX handshaking protocol. */
-#define ENUM_UART_CTL_RTS_AUTO (_ADI_MSK(0x08000000,uint32_t)) /* ARTS: Enable RX handshaking protocol. */
-
-#define BITM_UART_CTL_XOFF (_ADI_MSK(0x04000000,uint32_t)) /* Transmitter off */
-#define ENUM_UART_CTL_TX_ON (_ADI_MSK(0x00000000,uint32_t)) /* XOFF: Transmission ON, if ACTS=0 */
-#define ENUM_UART_CTL_TX_OFF (_ADI_MSK(0x04000000,uint32_t)) /* XOFF: Transmission OFF, if ACTS=0 */
-
-#define BITM_UART_CTL_MRTS (_ADI_MSK(0x02000000,uint32_t)) /* Manual Request to Send */
-#define ENUM_UART_CTL_RTS_DEASSERT (_ADI_MSK(0x00000000,uint32_t)) /* MRTS: De-assert RTS pin when ARTS=0 */
-#define ENUM_UART_CTL_RTS_ASSERT (_ADI_MSK(0x02000000,uint32_t)) /* MRTS: Assert RTS pin when ARTS=0 */
-
-#define BITM_UART_CTL_TPOLC (_ADI_MSK(0x01000000,uint32_t)) /* IrDA TX Polarity Change */
-#define ENUM_UART_CTL_TPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TPOLC: Active-low TX polarity setting */
-#define ENUM_UART_CTL_TPOLC_HI (_ADI_MSK(0x01000000,uint32_t)) /* TPOLC: Active-high TX polarity setting */
-
-#define BITM_UART_CTL_RPOLC (_ADI_MSK(0x00800000,uint32_t)) /* IrDA RX Polarity Change */
-#define ENUM_UART_CTL_RPOLC_LO (_ADI_MSK(0x00000000,uint32_t)) /* RPOLC: Active-low RX polarity setting */
-#define ENUM_UART_CTL_RPOLC_HI (_ADI_MSK(0x00800000,uint32_t)) /* RPOLC: Active-high RX polarity setting */
-
-#define BITM_UART_CTL_FCPOL (_ADI_MSK(0x00400000,uint32_t)) /* Flow Control Pin Polarity */
-#define ENUM_UART_CTL_FCPOL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPOL: Active low CTS/RTS */
-#define ENUM_UART_CTL_FCPOL_HI (_ADI_MSK(0x00400000,uint32_t)) /* FCPOL: Active high CTS/RTS */
-
-#define BITM_UART_CTL_SB (_ADI_MSK(0x00080000,uint32_t)) /* Set Break */
-#define ENUM_UART_CTL_NORM_BREAK (_ADI_MSK(0x00000000,uint32_t)) /* SB: No force */
-#define ENUM_UART_CTL_FORCE_BREAK (_ADI_MSK(0x00080000,uint32_t)) /* SB: Force TX pin to 0 */
-
-#define BITM_UART_CTL_FFE (_ADI_MSK(0x00040000,uint32_t)) /* Force Framing Error on Transmit */
-#define ENUM_UART_CTL_NORM_FRM_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FFE: Normal operation */
-#define ENUM_UART_CTL_FORCE_FRM_ERR (_ADI_MSK(0x00040000,uint32_t)) /* FFE: Force error */
-
-#define BITM_UART_CTL_FPE (_ADI_MSK(0x00020000,uint32_t)) /* Force Parity Error on Transmit */
-#define ENUM_UART_CTL_NORM_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FPE: Normal operation */
-#define ENUM_UART_CTL_FORCE_PARITY_ERR (_ADI_MSK(0x00020000,uint32_t)) /* FPE: Force parity error */
-
-#define BITM_UART_CTL_STP (_ADI_MSK(0x00010000,uint32_t)) /* Sticky Parity */
-#define ENUM_UART_CTL_NORM_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* STP: No Forced Parity */
-#define ENUM_UART_CTL_STICKY_PARITY (_ADI_MSK(0x00010000,uint32_t)) /* STP: Force (Stick) Parity to Defined Value (if PEN=1) */
-
-#define BITM_UART_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* Even Parity Select */
-#define ENUM_UART_CTL_ODD_PARITY (_ADI_MSK(0x00000000,uint32_t)) /* EPS: Odd parity */
-#define ENUM_UART_CTL_EVEN_PARITY (_ADI_MSK(0x00008000,uint32_t)) /* EPS: Even parity */
-
-#define BITM_UART_CTL_PEN (_ADI_MSK(0x00004000,uint32_t)) /* Parity Enable */
-#define ENUM_UART_CTL_PARITY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PEN: Disable */
-#define ENUM_UART_CTL_PARITY_EN (_ADI_MSK(0x00004000,uint32_t)) /* PEN: Enable parity transmit and check */
-
-#define BITM_UART_CTL_STBH (_ADI_MSK(0x00002000,uint32_t)) /* Stop Bits (Half Bit Time) */
-#define ENUM_UART_CTL_NO_EXTRA_STBH (_ADI_MSK(0x00000000,uint32_t)) /* STBH: 0 half-bit-time stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STBH (_ADI_MSK(0x00002000,uint32_t)) /* STBH: 1 half-bit-time stop bit */
-
-#define BITM_UART_CTL_STB (_ADI_MSK(0x00001000,uint32_t)) /* Stop Bits */
-#define ENUM_UART_CTL_NO_EXTRA_STB (_ADI_MSK(0x00000000,uint32_t)) /* STB: 1 stop bit */
-#define ENUM_UART_CTL_1_EXTRA_STB (_ADI_MSK(0x00001000,uint32_t)) /* STB: 2 stop bits */
-
-#define BITM_UART_CTL_WLS (_ADI_MSK(0x00000300,uint32_t)) /* Word Length Select */
-#define ENUM_UART_CTL_WL5BITS (_ADI_MSK(0x00000000,uint32_t)) /* WLS: 5-bit Word */
-#define ENUM_UART_CTL_WL6BITS (_ADI_MSK(0x00000100,uint32_t)) /* WLS: 6-bit Word */
-#define ENUM_UART_CTL_WL7BITS (_ADI_MSK(0x00000200,uint32_t)) /* WLS: 7-bit Word */
-#define ENUM_UART_CTL_WL8BITS (_ADI_MSK(0x00000300,uint32_t)) /* WLS: 8-bit Word */
-
-#define BITM_UART_CTL_MOD (_ADI_MSK(0x00000030,uint32_t)) /* Mode of Operation */
-#define ENUM_UART_CTL_UART_MODE (_ADI_MSK(0x00000000,uint32_t)) /* MOD: UART Mode */
-#define ENUM_UART_CTL_MDB_MODE (_ADI_MSK(0x00000010,uint32_t)) /* MOD: MDB Mode */
-#define ENUM_UART_CTL_IRDA_MODE (_ADI_MSK(0x00000020,uint32_t)) /* MOD: IrDA SIR Mode */
-
-#define BITM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* Loopback Enable */
-#define ENUM_UART_CTL_LOOP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* LOOP_EN: Disable */
-#define ENUM_UART_CTL_LOOP_EN (_ADI_MSK(0x00000002,uint32_t)) /* LOOP_EN: Enable */
-
-#define BITM_UART_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable UART */
-#define ENUM_UART_CTL_CLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_UART_CTL_CLK_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_STAT_RFCS 17 /* Receive FIFO Count Status */
-#define BITP_UART_STAT_CTS 16 /* Clear to Send */
-#define BITP_UART_STAT_SCTS 12 /* Sticky CTS */
-#define BITP_UART_STAT_RO 11 /* Reception On-going */
-#define BITP_UART_STAT_ADDR 10 /* Address Bit Status */
-#define BITP_UART_STAT_ASTKY 9 /* Address Sticky */
-#define BITP_UART_STAT_TFI 8 /* Transmission Finished Indicator */
-#define BITP_UART_STAT_TEMT 7 /* TSR and THR Empty */
-#define BITP_UART_STAT_THRE 5 /* Transmit Hold Register Empty */
-#define BITP_UART_STAT_BI 4 /* Break Indicator */
-#define BITP_UART_STAT_FE 3 /* Framing Error */
-#define BITP_UART_STAT_PE 2 /* Parity Error */
-#define BITP_UART_STAT_OE 1 /* Overrun Error */
-#define BITP_UART_STAT_DR 0 /* Data Ready */
-
-#define BITM_UART_STAT_RFCS (_ADI_MSK(0x00020000,uint32_t)) /* Receive FIFO Count Status */
-#define ENUM_UART_STAT_RFCS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RFCS: RX FIFO has less than 4 (7) entries when RFIT=0 (1) */
-#define ENUM_UART_STAT_RFCS_HI (_ADI_MSK(0x00020000,uint32_t)) /* RFCS: RX FIFO has at least 4 (7) entries when RFIT=0 (1) */
-
-#define BITM_UART_STAT_CTS (_ADI_MSK(0x00010000,uint32_t)) /* Clear to Send */
-#define ENUM_UART_STAT_CTS_LO (_ADI_MSK(0x00000000,uint32_t)) /* CTS: Not clear to send (External device not ready to receive) */
-#define ENUM_UART_STAT_CTS_HI (_ADI_MSK(0x00010000,uint32_t)) /* CTS: Clear to send (External device ready to receive) */
-
-#define BITM_UART_STAT_SCTS (_ADI_MSK(0x00001000,uint32_t)) /* Sticky CTS */
-#define ENUM_UART_STAT_CTS_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* SCTS: CTS has not transitioned from low to high */
-#define ENUM_UART_STAT_CTS_HI_STKY (_ADI_MSK(0x00001000,uint32_t)) /* SCTS: CTS has transitioned from low to high */
-
-#define BITM_UART_STAT_RO (_ADI_MSK(0x00000800,uint32_t)) /* Reception On-going */
-#define ENUM_UART_STAT_NO_RX_PROGRESS (_ADI_MSK(0x00000000,uint32_t)) /* RO: No data reception in progress */
-#define ENUM_UART_STAT_RX_PROGRESS (_ADI_MSK(0x00000800,uint32_t)) /* RO: Data reception in progress */
-
-#define BITM_UART_STAT_ADDR (_ADI_MSK(0x00000400,uint32_t)) /* Address Bit Status */
-#define ENUM_UART_STAT_ADDR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ADDR: Address bit is low */
-#define ENUM_UART_STAT_ADDR_HI (_ADI_MSK(0x00000400,uint32_t)) /* ADDR: Address bit is high */
-
-#define BITM_UART_STAT_ASTKY (_ADI_MSK(0x00000200,uint32_t)) /* Address Sticky */
-#define ENUM_UART_STAT_ADDR_LO_STKY (_ADI_MSK(0x00000000,uint32_t)) /* ASTKY: ADDR bit has not been set */
-#define ENUM_UART_STAT_ADDR_HI_STKY (_ADI_MSK(0x00000200,uint32_t)) /* ASTKY: ADDR bit has been set */
-
-#define BITM_UART_STAT_TFI (_ADI_MSK(0x00000100,uint32_t)) /* Transmission Finished Indicator */
-#define ENUM_UART_STAT_TX_NOT_DONE (_ADI_MSK(0x00000000,uint32_t)) /* TFI: TEMT did not transition from 0 to 1 */
-#define ENUM_UART_STAT_TX_DONE (_ADI_MSK(0x00000100,uint32_t)) /* TFI: TEMT transition from 0 to 1 */
-
-#define BITM_UART_STAT_TEMT (_ADI_MSK(0x00000080,uint32_t)) /* TSR and THR Empty */
-#define ENUM_UART_STAT_TX_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* TEMT: Not empty TSR/THR */
-#define ENUM_UART_STAT_TX_EMPTY (_ADI_MSK(0x00000080,uint32_t)) /* TEMT: TSR/THR Empty */
-
-#define BITM_UART_STAT_THRE (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Hold Register Empty */
-#define ENUM_UART_STAT_THR_NOT_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* THRE: Not empty THR/TAIP */
-#define ENUM_UART_STAT_THR_EMPTY (_ADI_MSK(0x00000020,uint32_t)) /* THRE: Empty THR/TAIP */
-
-#define BITM_UART_STAT_BI (_ADI_MSK(0x00000010,uint32_t)) /* Break Indicator */
-#define ENUM_UART_STAT_NO_BREAK_INT (_ADI_MSK(0x00000000,uint32_t)) /* BI: No break interrupt */
-#define ENUM_UART_STAT_BREAK_INT (_ADI_MSK(0x00000010,uint32_t)) /* BI: Break interrupt */
-
-#define BITM_UART_STAT_FE (_ADI_MSK(0x00000008,uint32_t)) /* Framing Error */
-#define ENUM_UART_STAT_NO_FRAMING_ERR (_ADI_MSK(0x00000000,uint32_t)) /* FE: No error */
-#define ENUM_UART_STAT_FRAMING_ERR (_ADI_MSK(0x00000008,uint32_t)) /* FE: Invalid stop bit error */
-
-#define BITM_UART_STAT_PE (_ADI_MSK(0x00000004,uint32_t)) /* Parity Error */
-#define ENUM_UART_STAT_NO_PARITY_ERR (_ADI_MSK(0x00000000,uint32_t)) /* PE: No parity error */
-#define ENUM_UART_STAT_PARITY_ERR (_ADI_MSK(0x00000004,uint32_t)) /* PE: Parity error */
-
-#define BITM_UART_STAT_OE (_ADI_MSK(0x00000002,uint32_t)) /* Overrun Error */
-#define ENUM_UART_STAT_NO_OVR_ERR (_ADI_MSK(0x00000000,uint32_t)) /* OE: No overrun */
-#define ENUM_UART_STAT_OVR_ERR (_ADI_MSK(0x00000002,uint32_t)) /* OE: Overrun error */
-
-#define BITM_UART_STAT_DR (_ADI_MSK(0x00000001,uint32_t)) /* Data Ready */
-#define ENUM_UART_STAT_NO_DATA (_ADI_MSK(0x00000000,uint32_t)) /* DR: No new data */
-#define ENUM_UART_STAT_NEW_DATA (_ADI_MSK(0x00000001,uint32_t)) /* DR: New data in RBR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_SCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_SCR_VALUE 0 /* Stored 8-bit Data */
-#define BITM_UART_SCR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Stored 8-bit Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_CLK_EDBO 31 /* Enable Divide By One */
-#define BITP_UART_CLK_DIV 0 /* Divisor */
-
-#define BITM_UART_CLK_EDBO (_ADI_MSK(0x80000000,uint32_t)) /* Enable Divide By One */
-#define ENUM_UART_CLK_DIS_DIV_BY_ONE (_ADI_MSK(0x00000000,uint32_t)) /* EDBO: Bit clock prescaler = 16 */
-#define ENUM_UART_CLK_EN_DIV_BY_ONE (_ADI_MSK(0x80000000,uint32_t)) /* EDBO: Bit clock prescaler = 1 */
-#define BITM_UART_CLK_DIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_ETXS 9 /* Enable TX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ERXS 8 /* Enable RX to Status Interrupt Mask Status */
-#define BITP_UART_IMSK_EAWI 7 /* Enable Address Word Interrupt Mask Status */
-#define BITP_UART_IMSK_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Status */
-#define BITP_UART_IMSK_ETFI 5 /* Enable Transmission Finished Interrupt Mask Status */
-#define BITP_UART_IMSK_EDTPTI 4 /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define BITP_UART_IMSK_EDSSI 3 /* Enable Modem Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ELSI 2 /* Enable Line Status Interrupt Mask Status */
-#define BITP_UART_IMSK_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define BITP_UART_IMSK_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Status */
-
-#define BITM_UART_IMSK_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Status */
-#define ENUM_UART_ETXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETXS: Interrupt is masked */
-#define ENUM_UART_ETXS_HI (_ADI_MSK(0x00000200,uint32_t)) /* ETXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Status */
-#define ENUM_UART_ERXS_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERXS: Interrupt is masked */
-#define ENUM_UART_ERXS_HI (_ADI_MSK(0x00000100,uint32_t)) /* ERXS: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Status */
-#define ENUM_UART_EAWI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EAWI: Interrupt is masked */
-#define ENUM_UART_EAWI_HI (_ADI_MSK(0x00000080,uint32_t)) /* EAWI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Status */
-#define ENUM_UART_ERFCI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERFCI: Interrupt is masked */
-#define ENUM_UART_ERFCI_HI (_ADI_MSK(0x00000040,uint32_t)) /* ERFCI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Status */
-#define ENUM_UART_ETFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETFI: Interrupt is masked */
-#define ENUM_UART_ETFI_HI (_ADI_MSK(0x00000020,uint32_t)) /* ETFI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Trigerred Interrupt Mask Status */
-#define ENUM_UART_EDTPTI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDTPTI: Interrupt is masked */
-#define ENUM_UART_EDTPTI_HI (_ADI_MSK(0x00000010,uint32_t)) /* EDTPTI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Status */
-#define ENUM_UART_EDSSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* EDSSI: Interrupt is masked */
-#define ENUM_UART_EDSSI_HI (_ADI_MSK(0x00000008,uint32_t)) /* EDSSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Status */
-#define ENUM_UART_ELSI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ELSI: Interrupt is masked */
-#define ENUM_UART_ELSI_HI (_ADI_MSK(0x00000004,uint32_t)) /* ELSI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Status */
-#define ENUM_UART_ETBEI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ETBEI: Interrupt is masked */
-#define ENUM_UART_ETBEI_HI (_ADI_MSK(0x00000002,uint32_t)) /* ETBEI: Interrupt is unmasked */
-
-#define BITM_UART_IMSK_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Status */
-#define ENUM_UART_ERBFI_LO (_ADI_MSK(0x00000000,uint32_t)) /* ERBFI: Interrupt is masked */
-#define ENUM_UART_ERBFI_HI (_ADI_MSK(0x00000001,uint32_t)) /* ERBFI: Interrupt is unmasked */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_SET_ETXS 9 /* Enable TX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERXS 8 /* Enable RX to Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EAWI 7 /* Enable Address Word Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETFI 5 /* Enable Transmission Finished Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_EDSSI 3 /* Enable Modem Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ELSI 2 /* Enable Line Status Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITP_UART_IMSK_SET_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* The fields and enumerations for UART_IMSK_SET are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_SET_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Set */
-#define BITM_UART_IMSK_SET_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_IMSK_CLR_ETXS 9 /* Enable TX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERXS 8 /* Enable RX to Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EAWI 7 /* Enable Address Word Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERFCI 6 /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETFI 5 /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDTPTI 4 /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_EDSSI 3 /* Enable Modem Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ELSI 2 /* Enable Line Status Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ETBEI 1 /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITP_UART_IMSK_CLR_ERBFI 0 /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* The fields and enumerations for UART_IMSK_CLR are also in UART - see the common set of ENUM_UART_* #defines located with register UART_IMSK */
-
-#define BITM_UART_IMSK_CLR_ETXS (_ADI_MSK(0x00000200,uint32_t)) /* Enable TX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERXS (_ADI_MSK(0x00000100,uint32_t)) /* Enable RX to Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EAWI (_ADI_MSK(0x00000080,uint32_t)) /* Enable Address Word Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERFCI (_ADI_MSK(0x00000040,uint32_t)) /* Enable Receive FIFO Count Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETFI (_ADI_MSK(0x00000020,uint32_t)) /* Enable Transmission Finished Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDTPTI (_ADI_MSK(0x00000010,uint32_t)) /* Enable DMA TX Peripheral Triggered Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_EDSSI (_ADI_MSK(0x00000008,uint32_t)) /* Enable Modem Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ELSI (_ADI_MSK(0x00000004,uint32_t)) /* Enable Line Status Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ETBEI (_ADI_MSK(0x00000002,uint32_t)) /* Enable Transmit Buffer Empty Interrupt Mask Clear */
-#define BITM_UART_IMSK_CLR_ERBFI (_ADI_MSK(0x00000001,uint32_t)) /* Enable Receive Buffer Full Interrupt Mask Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RBR_VALUE 0 /* 8-bit data */
-#define BITM_UART_RBR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_THR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_THR_VALUE 0 /* 8 bit data */
-#define BITM_UART_THR_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8 bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TAIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TAIP_VALUE 0 /* 8-bit data */
-#define BITM_UART_TAIP_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* 8-bit data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TSR_VALUE 0 /* Contents of TSR */
-#define BITM_UART_TSR_VALUE (_ADI_MSK(0x000007FF,uint32_t)) /* Contents of TSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RSR_VALUE 0 /* Contents of RSR */
-#define BITM_UART_RSR_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Contents of RSR */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_TXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_TXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_TXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- UART_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_UART_RXCNT_VALUE 0 /* 16-bit Counter Value */
-#define BITM_UART_RXCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* 16-bit Counter Value */
-
-/* ==================================================
- General Purpose Input/Output Registers
- ================================================== */
-
-/* =========================
- PORTA
- ========================= */
-#define REG_PORTA_FER 0xFFC03000 /* PORTA Port x Function Enable Register */
-#define REG_PORTA_FER_SET 0xFFC03004 /* PORTA Port x Function Enable Set Register */
-#define REG_PORTA_FER_CLR 0xFFC03008 /* PORTA Port x Function Enable Clear Register */
-#define REG_PORTA_DATA 0xFFC0300C /* PORTA Port x GPIO Data Register */
-#define REG_PORTA_DATA_SET 0xFFC03010 /* PORTA Port x GPIO Data Set Register */
-#define REG_PORTA_DATA_CLR 0xFFC03014 /* PORTA Port x GPIO Data Clear Register */
-#define REG_PORTA_DIR 0xFFC03018 /* PORTA Port x GPIO Direction Register */
-#define REG_PORTA_DIR_SET 0xFFC0301C /* PORTA Port x GPIO Direction Set Register */
-#define REG_PORTA_DIR_CLR 0xFFC03020 /* PORTA Port x GPIO Direction Clear Register */
-#define REG_PORTA_INEN 0xFFC03024 /* PORTA Port x GPIO Input Enable Register */
-#define REG_PORTA_INEN_SET 0xFFC03028 /* PORTA Port x GPIO Input Enable Set Register */
-#define REG_PORTA_INEN_CLR 0xFFC0302C /* PORTA Port x GPIO Input Enable Clear Register */
-#define REG_PORTA_MUX 0xFFC03030 /* PORTA Port x Multiplexer Control Register */
-#define REG_PORTA_DATA_TGL 0xFFC03034 /* PORTA Port x GPIO Input Enable Toggle Register */
-#define REG_PORTA_POL 0xFFC03038 /* PORTA Port x GPIO Polarity Invert Register */
-#define REG_PORTA_POL_SET 0xFFC0303C /* PORTA Port x GPIO Polarity Invert Set Register */
-#define REG_PORTA_POL_CLR 0xFFC03040 /* PORTA Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTA_LOCK 0xFFC03044 /* PORTA Port x GPIO Lock Register */
-#define REG_PORTA_REVID 0xFFC0307C /* PORTA Port x GPIO Revision ID */
-
-/* =========================
- PORTB
- ========================= */
-#define REG_PORTB_FER 0xFFC03080 /* PORTB Port x Function Enable Register */
-#define REG_PORTB_FER_SET 0xFFC03084 /* PORTB Port x Function Enable Set Register */
-#define REG_PORTB_FER_CLR 0xFFC03088 /* PORTB Port x Function Enable Clear Register */
-#define REG_PORTB_DATA 0xFFC0308C /* PORTB Port x GPIO Data Register */
-#define REG_PORTB_DATA_SET 0xFFC03090 /* PORTB Port x GPIO Data Set Register */
-#define REG_PORTB_DATA_CLR 0xFFC03094 /* PORTB Port x GPIO Data Clear Register */
-#define REG_PORTB_DIR 0xFFC03098 /* PORTB Port x GPIO Direction Register */
-#define REG_PORTB_DIR_SET 0xFFC0309C /* PORTB Port x GPIO Direction Set Register */
-#define REG_PORTB_DIR_CLR 0xFFC030A0 /* PORTB Port x GPIO Direction Clear Register */
-#define REG_PORTB_INEN 0xFFC030A4 /* PORTB Port x GPIO Input Enable Register */
-#define REG_PORTB_INEN_SET 0xFFC030A8 /* PORTB Port x GPIO Input Enable Set Register */
-#define REG_PORTB_INEN_CLR 0xFFC030AC /* PORTB Port x GPIO Input Enable Clear Register */
-#define REG_PORTB_MUX 0xFFC030B0 /* PORTB Port x Multiplexer Control Register */
-#define REG_PORTB_DATA_TGL 0xFFC030B4 /* PORTB Port x GPIO Input Enable Toggle Register */
-#define REG_PORTB_POL 0xFFC030B8 /* PORTB Port x GPIO Polarity Invert Register */
-#define REG_PORTB_POL_SET 0xFFC030BC /* PORTB Port x GPIO Polarity Invert Set Register */
-#define REG_PORTB_POL_CLR 0xFFC030C0 /* PORTB Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTB_LOCK 0xFFC030C4 /* PORTB Port x GPIO Lock Register */
-#define REG_PORTB_REVID 0xFFC030FC /* PORTB Port x GPIO Revision ID */
-
-/* =========================
- PORTC
- ========================= */
-#define REG_PORTC_FER 0xFFC03100 /* PORTC Port x Function Enable Register */
-#define REG_PORTC_FER_SET 0xFFC03104 /* PORTC Port x Function Enable Set Register */
-#define REG_PORTC_FER_CLR 0xFFC03108 /* PORTC Port x Function Enable Clear Register */
-#define REG_PORTC_DATA 0xFFC0310C /* PORTC Port x GPIO Data Register */
-#define REG_PORTC_DATA_SET 0xFFC03110 /* PORTC Port x GPIO Data Set Register */
-#define REG_PORTC_DATA_CLR 0xFFC03114 /* PORTC Port x GPIO Data Clear Register */
-#define REG_PORTC_DIR 0xFFC03118 /* PORTC Port x GPIO Direction Register */
-#define REG_PORTC_DIR_SET 0xFFC0311C /* PORTC Port x GPIO Direction Set Register */
-#define REG_PORTC_DIR_CLR 0xFFC03120 /* PORTC Port x GPIO Direction Clear Register */
-#define REG_PORTC_INEN 0xFFC03124 /* PORTC Port x GPIO Input Enable Register */
-#define REG_PORTC_INEN_SET 0xFFC03128 /* PORTC Port x GPIO Input Enable Set Register */
-#define REG_PORTC_INEN_CLR 0xFFC0312C /* PORTC Port x GPIO Input Enable Clear Register */
-#define REG_PORTC_MUX 0xFFC03130 /* PORTC Port x Multiplexer Control Register */
-#define REG_PORTC_DATA_TGL 0xFFC03134 /* PORTC Port x GPIO Input Enable Toggle Register */
-#define REG_PORTC_POL 0xFFC03138 /* PORTC Port x GPIO Polarity Invert Register */
-#define REG_PORTC_POL_SET 0xFFC0313C /* PORTC Port x GPIO Polarity Invert Set Register */
-#define REG_PORTC_POL_CLR 0xFFC03140 /* PORTC Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTC_LOCK 0xFFC03144 /* PORTC Port x GPIO Lock Register */
-#define REG_PORTC_REVID 0xFFC0317C /* PORTC Port x GPIO Revision ID */
-
-/* =========================
- PORTD
- ========================= */
-#define REG_PORTD_FER 0xFFC03180 /* PORTD Port x Function Enable Register */
-#define REG_PORTD_FER_SET 0xFFC03184 /* PORTD Port x Function Enable Set Register */
-#define REG_PORTD_FER_CLR 0xFFC03188 /* PORTD Port x Function Enable Clear Register */
-#define REG_PORTD_DATA 0xFFC0318C /* PORTD Port x GPIO Data Register */
-#define REG_PORTD_DATA_SET 0xFFC03190 /* PORTD Port x GPIO Data Set Register */
-#define REG_PORTD_DATA_CLR 0xFFC03194 /* PORTD Port x GPIO Data Clear Register */
-#define REG_PORTD_DIR 0xFFC03198 /* PORTD Port x GPIO Direction Register */
-#define REG_PORTD_DIR_SET 0xFFC0319C /* PORTD Port x GPIO Direction Set Register */
-#define REG_PORTD_DIR_CLR 0xFFC031A0 /* PORTD Port x GPIO Direction Clear Register */
-#define REG_PORTD_INEN 0xFFC031A4 /* PORTD Port x GPIO Input Enable Register */
-#define REG_PORTD_INEN_SET 0xFFC031A8 /* PORTD Port x GPIO Input Enable Set Register */
-#define REG_PORTD_INEN_CLR 0xFFC031AC /* PORTD Port x GPIO Input Enable Clear Register */
-#define REG_PORTD_MUX 0xFFC031B0 /* PORTD Port x Multiplexer Control Register */
-#define REG_PORTD_DATA_TGL 0xFFC031B4 /* PORTD Port x GPIO Input Enable Toggle Register */
-#define REG_PORTD_POL 0xFFC031B8 /* PORTD Port x GPIO Polarity Invert Register */
-#define REG_PORTD_POL_SET 0xFFC031BC /* PORTD Port x GPIO Polarity Invert Set Register */
-#define REG_PORTD_POL_CLR 0xFFC031C0 /* PORTD Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTD_LOCK 0xFFC031C4 /* PORTD Port x GPIO Lock Register */
-#define REG_PORTD_REVID 0xFFC031FC /* PORTD Port x GPIO Revision ID */
-
-/* =========================
- PORTE
- ========================= */
-#define REG_PORTE_FER 0xFFC03200 /* PORTE Port x Function Enable Register */
-#define REG_PORTE_FER_SET 0xFFC03204 /* PORTE Port x Function Enable Set Register */
-#define REG_PORTE_FER_CLR 0xFFC03208 /* PORTE Port x Function Enable Clear Register */
-#define REG_PORTE_DATA 0xFFC0320C /* PORTE Port x GPIO Data Register */
-#define REG_PORTE_DATA_SET 0xFFC03210 /* PORTE Port x GPIO Data Set Register */
-#define REG_PORTE_DATA_CLR 0xFFC03214 /* PORTE Port x GPIO Data Clear Register */
-#define REG_PORTE_DIR 0xFFC03218 /* PORTE Port x GPIO Direction Register */
-#define REG_PORTE_DIR_SET 0xFFC0321C /* PORTE Port x GPIO Direction Set Register */
-#define REG_PORTE_DIR_CLR 0xFFC03220 /* PORTE Port x GPIO Direction Clear Register */
-#define REG_PORTE_INEN 0xFFC03224 /* PORTE Port x GPIO Input Enable Register */
-#define REG_PORTE_INEN_SET 0xFFC03228 /* PORTE Port x GPIO Input Enable Set Register */
-#define REG_PORTE_INEN_CLR 0xFFC0322C /* PORTE Port x GPIO Input Enable Clear Register */
-#define REG_PORTE_MUX 0xFFC03230 /* PORTE Port x Multiplexer Control Register */
-#define REG_PORTE_DATA_TGL 0xFFC03234 /* PORTE Port x GPIO Input Enable Toggle Register */
-#define REG_PORTE_POL 0xFFC03238 /* PORTE Port x GPIO Polarity Invert Register */
-#define REG_PORTE_POL_SET 0xFFC0323C /* PORTE Port x GPIO Polarity Invert Set Register */
-#define REG_PORTE_POL_CLR 0xFFC03240 /* PORTE Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTE_LOCK 0xFFC03244 /* PORTE Port x GPIO Lock Register */
-#define REG_PORTE_REVID 0xFFC0327C /* PORTE Port x GPIO Revision ID */
-
-/* =========================
- PORTF
- ========================= */
-#define REG_PORTF_FER 0xFFC03280 /* PORTF Port x Function Enable Register */
-#define REG_PORTF_FER_SET 0xFFC03284 /* PORTF Port x Function Enable Set Register */
-#define REG_PORTF_FER_CLR 0xFFC03288 /* PORTF Port x Function Enable Clear Register */
-#define REG_PORTF_DATA 0xFFC0328C /* PORTF Port x GPIO Data Register */
-#define REG_PORTF_DATA_SET 0xFFC03290 /* PORTF Port x GPIO Data Set Register */
-#define REG_PORTF_DATA_CLR 0xFFC03294 /* PORTF Port x GPIO Data Clear Register */
-#define REG_PORTF_DIR 0xFFC03298 /* PORTF Port x GPIO Direction Register */
-#define REG_PORTF_DIR_SET 0xFFC0329C /* PORTF Port x GPIO Direction Set Register */
-#define REG_PORTF_DIR_CLR 0xFFC032A0 /* PORTF Port x GPIO Direction Clear Register */
-#define REG_PORTF_INEN 0xFFC032A4 /* PORTF Port x GPIO Input Enable Register */
-#define REG_PORTF_INEN_SET 0xFFC032A8 /* PORTF Port x GPIO Input Enable Set Register */
-#define REG_PORTF_INEN_CLR 0xFFC032AC /* PORTF Port x GPIO Input Enable Clear Register */
-#define REG_PORTF_MUX 0xFFC032B0 /* PORTF Port x Multiplexer Control Register */
-#define REG_PORTF_DATA_TGL 0xFFC032B4 /* PORTF Port x GPIO Input Enable Toggle Register */
-#define REG_PORTF_POL 0xFFC032B8 /* PORTF Port x GPIO Polarity Invert Register */
-#define REG_PORTF_POL_SET 0xFFC032BC /* PORTF Port x GPIO Polarity Invert Set Register */
-#define REG_PORTF_POL_CLR 0xFFC032C0 /* PORTF Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTF_LOCK 0xFFC032C4 /* PORTF Port x GPIO Lock Register */
-#define REG_PORTF_REVID 0xFFC032FC /* PORTF Port x GPIO Revision ID */
-
-/* =========================
- PORTG
- ========================= */
-#define REG_PORTG_FER 0xFFC03300 /* PORTG Port x Function Enable Register */
-#define REG_PORTG_FER_SET 0xFFC03304 /* PORTG Port x Function Enable Set Register */
-#define REG_PORTG_FER_CLR 0xFFC03308 /* PORTG Port x Function Enable Clear Register */
-#define REG_PORTG_DATA 0xFFC0330C /* PORTG Port x GPIO Data Register */
-#define REG_PORTG_DATA_SET 0xFFC03310 /* PORTG Port x GPIO Data Set Register */
-#define REG_PORTG_DATA_CLR 0xFFC03314 /* PORTG Port x GPIO Data Clear Register */
-#define REG_PORTG_DIR 0xFFC03318 /* PORTG Port x GPIO Direction Register */
-#define REG_PORTG_DIR_SET 0xFFC0331C /* PORTG Port x GPIO Direction Set Register */
-#define REG_PORTG_DIR_CLR 0xFFC03320 /* PORTG Port x GPIO Direction Clear Register */
-#define REG_PORTG_INEN 0xFFC03324 /* PORTG Port x GPIO Input Enable Register */
-#define REG_PORTG_INEN_SET 0xFFC03328 /* PORTG Port x GPIO Input Enable Set Register */
-#define REG_PORTG_INEN_CLR 0xFFC0332C /* PORTG Port x GPIO Input Enable Clear Register */
-#define REG_PORTG_MUX 0xFFC03330 /* PORTG Port x Multiplexer Control Register */
-#define REG_PORTG_DATA_TGL 0xFFC03334 /* PORTG Port x GPIO Input Enable Toggle Register */
-#define REG_PORTG_POL 0xFFC03338 /* PORTG Port x GPIO Polarity Invert Register */
-#define REG_PORTG_POL_SET 0xFFC0333C /* PORTG Port x GPIO Polarity Invert Set Register */
-#define REG_PORTG_POL_CLR 0xFFC03340 /* PORTG Port x GPIO Polarity Invert Clear Register */
-#define REG_PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */
-#define REG_PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */
-
-/* =========================
- PORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_PX15 15 /* Port x Bit 15 Mode */
-#define BITP_PORT_FER_PX14 14 /* Port x Bit 14 Mode */
-#define BITP_PORT_FER_PX13 13 /* Port x Bit 13 Mode */
-#define BITP_PORT_FER_PX12 12 /* Port x Bit 12 Mode */
-#define BITP_PORT_FER_PX11 11 /* Port x Bit 11 Mode */
-#define BITP_PORT_FER_PX10 10 /* Port x Bit 10 Mode */
-#define BITP_PORT_FER_PX9 9 /* Port x Bit 9 Mode */
-#define BITP_PORT_FER_PX8 8 /* Port x Bit 8 Mode */
-#define BITP_PORT_FER_PX7 7 /* Port x Bit 7 Mode */
-#define BITP_PORT_FER_PX6 6 /* Port x Bit 6 Mode */
-#define BITP_PORT_FER_PX5 5 /* Port x Bit 5 Mode */
-#define BITP_PORT_FER_PX4 4 /* Port x Bit 4 Mode */
-#define BITP_PORT_FER_PX3 3 /* Port x Bit 3 Mode */
-#define BITP_PORT_FER_PX2 2 /* Port x Bit 2 Mode */
-#define BITP_PORT_FER_PX1 1 /* Port x Bit 1 Mode */
-#define BITP_PORT_FER_PX0 0 /* Port x Bit 0 Mode */
-#define BITM_PORT_FER_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode */
-#define BITM_PORT_FER_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode */
-#define BITM_PORT_FER_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode */
-#define BITM_PORT_FER_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode */
-#define BITM_PORT_FER_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode */
-#define BITM_PORT_FER_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode */
-#define BITM_PORT_FER_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode */
-#define BITM_PORT_FER_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode */
-#define BITM_PORT_FER_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode */
-#define BITM_PORT_FER_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode */
-#define BITM_PORT_FER_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode */
-#define BITM_PORT_FER_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode */
-#define BITM_PORT_FER_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode */
-#define BITM_PORT_FER_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode */
-#define BITM_PORT_FER_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode */
-#define BITM_PORT_FER_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_SET_PX15 15 /* Port x Bit 15 Mode Set */
-#define BITP_PORT_FER_SET_PX14 14 /* Port x Bit 14 Mode Set */
-#define BITP_PORT_FER_SET_PX13 13 /* Port x Bit 13 Mode Set */
-#define BITP_PORT_FER_SET_PX12 12 /* Port x Bit 12 Mode Set */
-#define BITP_PORT_FER_SET_PX11 11 /* Port x Bit 11 Mode Set */
-#define BITP_PORT_FER_SET_PX10 10 /* Port x Bit 10 Mode Set */
-#define BITP_PORT_FER_SET_PX9 9 /* Port x Bit 9 Mode Set */
-#define BITP_PORT_FER_SET_PX8 8 /* Port x Bit 8 Mode Set */
-#define BITP_PORT_FER_SET_PX7 7 /* Port x Bit 7 Mode Set */
-#define BITP_PORT_FER_SET_PX6 6 /* Port x Bit 6 Mode Set */
-#define BITP_PORT_FER_SET_PX5 5 /* Port x Bit 5 Mode Set */
-#define BITP_PORT_FER_SET_PX4 4 /* Port x Bit 4 Mode Set */
-#define BITP_PORT_FER_SET_PX3 3 /* Port x Bit 3 Mode Set */
-#define BITP_PORT_FER_SET_PX2 2 /* Port x Bit 2 Mode Set */
-#define BITP_PORT_FER_SET_PX1 1 /* Port x Bit 1 Mode Set */
-#define BITP_PORT_FER_SET_PX0 0 /* Port x Bit 0 Mode Set */
-#define BITM_PORT_FER_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Set */
-#define BITM_PORT_FER_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Set */
-#define BITM_PORT_FER_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Set */
-#define BITM_PORT_FER_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Set */
-#define BITM_PORT_FER_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Set */
-#define BITM_PORT_FER_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Set */
-#define BITM_PORT_FER_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Set */
-#define BITM_PORT_FER_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Set */
-#define BITM_PORT_FER_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Set */
-#define BITM_PORT_FER_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Set */
-#define BITM_PORT_FER_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Set */
-#define BITM_PORT_FER_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Set */
-#define BITM_PORT_FER_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Set */
-#define BITM_PORT_FER_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Set */
-#define BITM_PORT_FER_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Set */
-#define BITM_PORT_FER_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_FER_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_FER_CLR_PX15 15 /* Port x Bit 15 Mode Clear */
-#define BITP_PORT_FER_CLR_PX14 14 /* Port x Bit 14 Mode Clear */
-#define BITP_PORT_FER_CLR_PX13 13 /* Port x Bit 13 Mode Clear */
-#define BITP_PORT_FER_CLR_PX12 12 /* Port x Bit 12 Mode Clear */
-#define BITP_PORT_FER_CLR_PX11 11 /* Port x Bit 11 Mode Clear */
-#define BITP_PORT_FER_CLR_PX10 10 /* Port x Bit 10 Mode Clear */
-#define BITP_PORT_FER_CLR_PX9 9 /* Port x Bit 9 Mode Clear */
-#define BITP_PORT_FER_CLR_PX8 8 /* Port x Bit 8 Mode Clear */
-#define BITP_PORT_FER_CLR_PX7 7 /* Port x Bit 7 Mode Clear */
-#define BITP_PORT_FER_CLR_PX6 6 /* Port x Bit 6 Mode Clear */
-#define BITP_PORT_FER_CLR_PX5 5 /* Port x Bit 5 Mode Clear */
-#define BITP_PORT_FER_CLR_PX4 4 /* Port x Bit 4 Mode Clear */
-#define BITP_PORT_FER_CLR_PX3 3 /* Port x Bit 3 Mode Clear */
-#define BITP_PORT_FER_CLR_PX2 2 /* Port x Bit 2 Mode Clear */
-#define BITP_PORT_FER_CLR_PX1 1 /* Port x Bit 1 Mode Clear */
-#define BITP_PORT_FER_CLR_PX0 0 /* Port x Bit 0 Mode Clear */
-#define BITM_PORT_FER_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Mode Clear */
-#define BITM_PORT_FER_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Mode Clear */
-#define BITM_PORT_FER_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Mode Clear */
-#define BITM_PORT_FER_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Mode Clear */
-#define BITM_PORT_FER_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Mode Clear */
-#define BITM_PORT_FER_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Mode Clear */
-#define BITM_PORT_FER_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Mode Clear */
-#define BITM_PORT_FER_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Mode Clear */
-#define BITM_PORT_FER_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Mode Clear */
-#define BITM_PORT_FER_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Mode Clear */
-#define BITM_PORT_FER_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Mode Clear */
-#define BITM_PORT_FER_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Mode Clear */
-#define BITM_PORT_FER_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Mode Clear */
-#define BITM_PORT_FER_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Mode Clear */
-#define BITM_PORT_FER_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Mode Clear */
-#define BITM_PORT_FER_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Mode Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_PX15 15 /* Port x Bit 15 Data */
-#define BITP_PORT_DATA_PX14 14 /* Port x Bit 14 Data */
-#define BITP_PORT_DATA_PX13 13 /* Port x Bit 13 Data */
-#define BITP_PORT_DATA_PX12 12 /* Port x Bit 12 Data */
-#define BITP_PORT_DATA_PX11 11 /* Port x Bit 11 Data */
-#define BITP_PORT_DATA_PX10 10 /* Port x Bit 10 Data */
-#define BITP_PORT_DATA_PX9 9 /* Port x Bit 9 Data */
-#define BITP_PORT_DATA_PX8 8 /* Port x Bit 8 Data */
-#define BITP_PORT_DATA_PX7 7 /* Port x Bit 7 Data */
-#define BITP_PORT_DATA_PX6 6 /* Port x Bit 6 Data */
-#define BITP_PORT_DATA_PX5 5 /* Port x Bit 5 Data */
-#define BITP_PORT_DATA_PX4 4 /* Port x Bit 4 Data */
-#define BITP_PORT_DATA_PX3 3 /* Port x Bit 3 Data */
-#define BITP_PORT_DATA_PX2 2 /* Port x Bit 2 Data */
-#define BITP_PORT_DATA_PX1 1 /* Port x Bit 1 Data */
-#define BITP_PORT_DATA_PX0 0 /* Port x Bit 0 Data */
-#define BITM_PORT_DATA_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data */
-#define BITM_PORT_DATA_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data */
-#define BITM_PORT_DATA_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data */
-#define BITM_PORT_DATA_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data */
-#define BITM_PORT_DATA_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data */
-#define BITM_PORT_DATA_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data */
-#define BITM_PORT_DATA_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data */
-#define BITM_PORT_DATA_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data */
-#define BITM_PORT_DATA_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data */
-#define BITM_PORT_DATA_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data */
-#define BITM_PORT_DATA_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data */
-#define BITM_PORT_DATA_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data */
-#define BITM_PORT_DATA_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data */
-#define BITM_PORT_DATA_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data */
-#define BITM_PORT_DATA_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data */
-#define BITM_PORT_DATA_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_SET_PX15 15 /* Port x Bit 15 Data Set */
-#define BITP_PORT_DATA_SET_PX14 14 /* Port x Bit 14 Data Set */
-#define BITP_PORT_DATA_SET_PX13 13 /* Port x Bit 13 Data Set */
-#define BITP_PORT_DATA_SET_PX12 12 /* Port x Bit 12 Data Set */
-#define BITP_PORT_DATA_SET_PX11 11 /* Port x Bit 11 Data Set */
-#define BITP_PORT_DATA_SET_PX10 10 /* Port x Bit 10 Data Set */
-#define BITP_PORT_DATA_SET_PX9 9 /* Port x Bit 9 Data Set */
-#define BITP_PORT_DATA_SET_PX8 8 /* Port x Bit 8 Data Set */
-#define BITP_PORT_DATA_SET_PX7 7 /* Port x Bit 7 Data Set */
-#define BITP_PORT_DATA_SET_PX6 6 /* Port x Bit 6 Data Set */
-#define BITP_PORT_DATA_SET_PX5 5 /* Port x Bit 5 Data Set */
-#define BITP_PORT_DATA_SET_PX4 4 /* Port x Bit 4 Data Set */
-#define BITP_PORT_DATA_SET_PX3 3 /* Port x Bit 3 Data Set */
-#define BITP_PORT_DATA_SET_PX2 2 /* Port x Bit 2 Data Set */
-#define BITP_PORT_DATA_SET_PX1 1 /* Port x Bit 1 Data Set */
-#define BITP_PORT_DATA_SET_PX0 0 /* Port x Bit 0 Data Set */
-#define BITM_PORT_DATA_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Set */
-#define BITM_PORT_DATA_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Set */
-#define BITM_PORT_DATA_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Set */
-#define BITM_PORT_DATA_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Set */
-#define BITM_PORT_DATA_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Set */
-#define BITM_PORT_DATA_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Set */
-#define BITM_PORT_DATA_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Set */
-#define BITM_PORT_DATA_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Set */
-#define BITM_PORT_DATA_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Set */
-#define BITM_PORT_DATA_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Set */
-#define BITM_PORT_DATA_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Set */
-#define BITM_PORT_DATA_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Set */
-#define BITM_PORT_DATA_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Set */
-#define BITM_PORT_DATA_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Set */
-#define BITM_PORT_DATA_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Set */
-#define BITM_PORT_DATA_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_CLR_PX15 15 /* Port x Bit 15 Data Clear */
-#define BITP_PORT_DATA_CLR_PX14 14 /* Port x Bit 14 Data Clear */
-#define BITP_PORT_DATA_CLR_PX13 13 /* Port x Bit 13 Data Clear */
-#define BITP_PORT_DATA_CLR_PX12 12 /* Port x Bit 12 Data Clear */
-#define BITP_PORT_DATA_CLR_PX11 11 /* Port x Bit 11 Data Clear */
-#define BITP_PORT_DATA_CLR_PX10 10 /* Port x Bit 10 Data Clear */
-#define BITP_PORT_DATA_CLR_PX9 9 /* Port x Bit 9 Data Clear */
-#define BITP_PORT_DATA_CLR_PX8 8 /* Port x Bit 8 Data Clear */
-#define BITP_PORT_DATA_CLR_PX7 7 /* Port x Bit 7 Data Clear */
-#define BITP_PORT_DATA_CLR_PX6 6 /* Port x Bit 6 Data Clear */
-#define BITP_PORT_DATA_CLR_PX5 5 /* Port x Bit 5 Data Clear */
-#define BITP_PORT_DATA_CLR_PX4 4 /* Port x Bit 4 Data Clear */
-#define BITP_PORT_DATA_CLR_PX3 3 /* Port x Bit 3 Data Clear */
-#define BITP_PORT_DATA_CLR_PX2 2 /* Port x Bit 2 Data Clear */
-#define BITP_PORT_DATA_CLR_PX1 1 /* Port x Bit 1 Data Clear */
-#define BITP_PORT_DATA_CLR_PX0 0 /* Port x Bit 0 Data Clear */
-#define BITM_PORT_DATA_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Data Clear */
-#define BITM_PORT_DATA_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Data Clear */
-#define BITM_PORT_DATA_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Data Clear */
-#define BITM_PORT_DATA_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Data Clear */
-#define BITM_PORT_DATA_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Data Clear */
-#define BITM_PORT_DATA_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Data Clear */
-#define BITM_PORT_DATA_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Data Clear */
-#define BITM_PORT_DATA_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Data Clear */
-#define BITM_PORT_DATA_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Data Clear */
-#define BITM_PORT_DATA_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Data Clear */
-#define BITM_PORT_DATA_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Data Clear */
-#define BITM_PORT_DATA_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Data Clear */
-#define BITM_PORT_DATA_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Data Clear */
-#define BITM_PORT_DATA_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Data Clear */
-#define BITM_PORT_DATA_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Data Clear */
-#define BITM_PORT_DATA_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Data Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_PX15 15 /* Port x Bit 15 Direction */
-#define BITP_PORT_DIR_PX14 14 /* Port x Bit 14 Direction */
-#define BITP_PORT_DIR_PX13 13 /* Port x Bit 13 Direction */
-#define BITP_PORT_DIR_PX12 12 /* Port x Bit 12 Direction */
-#define BITP_PORT_DIR_PX11 11 /* Port x Bit 11 Direction */
-#define BITP_PORT_DIR_PX10 10 /* Port x Bit 10 Direction */
-#define BITP_PORT_DIR_PX9 9 /* Port x Bit 9 Direction */
-#define BITP_PORT_DIR_PX8 8 /* Port x Bit 8 Direction */
-#define BITP_PORT_DIR_PX7 7 /* Port x Bit 7 Direction */
-#define BITP_PORT_DIR_PX6 6 /* Port x Bit 6 Direction */
-#define BITP_PORT_DIR_PX5 5 /* Port x Bit 5 Direction */
-#define BITP_PORT_DIR_PX4 4 /* Port x Bit 4 Direction */
-#define BITP_PORT_DIR_PX3 3 /* Port x Bit 3 Direction */
-#define BITP_PORT_DIR_PX2 2 /* Port x Bit 2 Direction */
-#define BITP_PORT_DIR_PX1 1 /* Port x Bit 1 Direction */
-#define BITP_PORT_DIR_PX0 0 /* Port x Bit 0 Direction */
-#define BITM_PORT_DIR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction */
-#define BITM_PORT_DIR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction */
-#define BITM_PORT_DIR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction */
-#define BITM_PORT_DIR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction */
-#define BITM_PORT_DIR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction */
-#define BITM_PORT_DIR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction */
-#define BITM_PORT_DIR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction */
-#define BITM_PORT_DIR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction */
-#define BITM_PORT_DIR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction */
-#define BITM_PORT_DIR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction */
-#define BITM_PORT_DIR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction */
-#define BITM_PORT_DIR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction */
-#define BITM_PORT_DIR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction */
-#define BITM_PORT_DIR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction */
-#define BITM_PORT_DIR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction */
-#define BITM_PORT_DIR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_SET_PX15 15 /* Port x Bit 15 Direction Set */
-#define BITP_PORT_DIR_SET_PX14 14 /* Port x Bit 14 Direction Set */
-#define BITP_PORT_DIR_SET_PX13 13 /* Port x Bit 13 Direction Set */
-#define BITP_PORT_DIR_SET_PX12 12 /* Port x Bit 12 Direction Set */
-#define BITP_PORT_DIR_SET_PX11 11 /* Port x Bit 11 Direction Set */
-#define BITP_PORT_DIR_SET_PX10 10 /* Port x Bit 10 Direction Set */
-#define BITP_PORT_DIR_SET_PX9 9 /* Port x Bit 9 Direction Set */
-#define BITP_PORT_DIR_SET_PX8 8 /* Port x Bit 8 Direction Set */
-#define BITP_PORT_DIR_SET_PX7 7 /* Port x Bit 7 Direction Set */
-#define BITP_PORT_DIR_SET_PX6 6 /* Port x Bit 6 Direction Set */
-#define BITP_PORT_DIR_SET_PX5 5 /* Port x Bit 5 Direction Set */
-#define BITP_PORT_DIR_SET_PX4 4 /* Port x Bit 4 Direction Set */
-#define BITP_PORT_DIR_SET_PX3 3 /* Port x Bit 3 Direction Set */
-#define BITP_PORT_DIR_SET_PX2 2 /* Port x Bit 2 Direction Set */
-#define BITP_PORT_DIR_SET_PX1 1 /* Port x Bit 1 Direction Set */
-#define BITP_PORT_DIR_SET_PX0 0 /* Port x Bit 0 Direction Set */
-#define BITM_PORT_DIR_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Set */
-#define BITM_PORT_DIR_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Set */
-#define BITM_PORT_DIR_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Set */
-#define BITM_PORT_DIR_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Set */
-#define BITM_PORT_DIR_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Set */
-#define BITM_PORT_DIR_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Set */
-#define BITM_PORT_DIR_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Set */
-#define BITM_PORT_DIR_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Set */
-#define BITM_PORT_DIR_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Set */
-#define BITM_PORT_DIR_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Set */
-#define BITM_PORT_DIR_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Set */
-#define BITM_PORT_DIR_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Set */
-#define BITM_PORT_DIR_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Set */
-#define BITM_PORT_DIR_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Set */
-#define BITM_PORT_DIR_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Set */
-#define BITM_PORT_DIR_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DIR_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DIR_CLR_PX15 15 /* Port x Bit 15 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX14 14 /* Port x Bit 14 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX13 13 /* Port x Bit 13 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX12 12 /* Port x Bit 12 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX11 11 /* Port x Bit 11 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX10 10 /* Port x Bit 10 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX9 9 /* Port x Bit 9 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX8 8 /* Port x Bit 8 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX7 7 /* Port x Bit 7 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX6 6 /* Port x Bit 6 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX5 5 /* Port x Bit 5 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX4 4 /* Port x Bit 4 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX3 3 /* Port x Bit 3 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX2 2 /* Port x Bit 2 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX1 1 /* Port x Bit 1 Direction Clear */
-#define BITP_PORT_DIR_CLR_PX0 0 /* Port x Bit 0 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Direction Clear */
-#define BITM_PORT_DIR_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Direction Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_PX15 15 /* Port x Bit 15 Input Enable */
-#define BITP_PORT_INEN_PX14 14 /* Port x Bit 14 Input Enable */
-#define BITP_PORT_INEN_PX13 13 /* Port x Bit 13 Input Enable */
-#define BITP_PORT_INEN_PX12 12 /* Port x Bit 12 Input Enable */
-#define BITP_PORT_INEN_PX11 11 /* Port x Bit 11 Input Enable */
-#define BITP_PORT_INEN_PX10 10 /* Port x Bit 10 Input Enable */
-#define BITP_PORT_INEN_PX9 9 /* Port x Bit 9 Input Enable */
-#define BITP_PORT_INEN_PX8 8 /* Port x Bit 8 Input Enable */
-#define BITP_PORT_INEN_PX7 7 /* Port x Bit 7 Input Enable */
-#define BITP_PORT_INEN_PX6 6 /* Port x Bit 6 Input Enable */
-#define BITP_PORT_INEN_PX5 5 /* Port x Bit 5 Input Enable */
-#define BITP_PORT_INEN_PX4 4 /* Port x Bit 4 Input Enable */
-#define BITP_PORT_INEN_PX3 3 /* Port x Bit 3 Input Enable */
-#define BITP_PORT_INEN_PX2 2 /* Port x Bit 2 Input Enable */
-#define BITP_PORT_INEN_PX1 1 /* Port x Bit 1 Input Enable */
-#define BITP_PORT_INEN_PX0 0 /* Port x Bit 0 Input Enable */
-#define BITM_PORT_INEN_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable */
-#define BITM_PORT_INEN_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable */
-#define BITM_PORT_INEN_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable */
-#define BITM_PORT_INEN_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable */
-#define BITM_PORT_INEN_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable */
-#define BITM_PORT_INEN_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable */
-#define BITM_PORT_INEN_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable */
-#define BITM_PORT_INEN_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable */
-#define BITM_PORT_INEN_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable */
-#define BITM_PORT_INEN_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable */
-#define BITM_PORT_INEN_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable */
-#define BITM_PORT_INEN_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable */
-#define BITM_PORT_INEN_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable */
-#define BITM_PORT_INEN_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable */
-#define BITM_PORT_INEN_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable */
-#define BITM_PORT_INEN_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_SET_PX15 15 /* Port x Bit 15 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX14 14 /* Port x Bit 14 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX13 13 /* Port x Bit 13 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX12 12 /* Port x Bit 12 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX11 11 /* Port x Bit 11 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX10 10 /* Port x Bit 10 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX9 9 /* Port x Bit 9 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX8 8 /* Port x Bit 8 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX7 7 /* Port x Bit 7 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX6 6 /* Port x Bit 6 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX5 5 /* Port x Bit 5 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX4 4 /* Port x Bit 4 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX3 3 /* Port x Bit 3 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX2 2 /* Port x Bit 2 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX1 1 /* Port x Bit 1 Input Enable Set */
-#define BITP_PORT_INEN_SET_PX0 0 /* Port x Bit 0 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Set */
-#define BITM_PORT_INEN_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_INEN_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_INEN_CLR_PX15 15 /* Port x Bit 15 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX14 14 /* Port x Bit 14 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX13 13 /* Port x Bit 13 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX12 12 /* Port x Bit 12 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX11 11 /* Port x Bit 11 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX10 10 /* Port x Bit 10 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX9 9 /* Port x Bit 9 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX8 8 /* Port x Bit 8 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX7 7 /* Port x Bit 7 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX6 6 /* Port x Bit 6 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX5 5 /* Port x Bit 5 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX4 4 /* Port x Bit 4 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX3 3 /* Port x Bit 3 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX2 2 /* Port x Bit 2 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX1 1 /* Port x Bit 1 Input Enable Clear */
-#define BITP_PORT_INEN_CLR_PX0 0 /* Port x Bit 0 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Input Enable Clear */
-#define BITM_PORT_INEN_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Input Enable Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_MUX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_MUX_MUX15 30 /* Mux for Port x Bit 15 */
-#define BITP_PORT_MUX_MUX14 28 /* Mux for Port x Bit 14 */
-#define BITP_PORT_MUX_MUX13 26 /* Mux for Port x Bit 13 */
-#define BITP_PORT_MUX_MUX12 24 /* Mux for Port x Bit 12 */
-#define BITP_PORT_MUX_MUX11 22 /* Mux for Port x Bit 11 */
-#define BITP_PORT_MUX_MUX10 20 /* Mux for Port x Bit 10 */
-#define BITP_PORT_MUX_MUX9 18 /* Mux for Port x Bit 9 */
-#define BITP_PORT_MUX_MUX8 16 /* Mux for Port x Bit 8 */
-#define BITP_PORT_MUX_MUX7 14 /* Mux for Port x Bit 7 */
-#define BITP_PORT_MUX_MUX6 12 /* Mux for Port x Bit 6 */
-#define BITP_PORT_MUX_MUX5 10 /* Mux for Port x Bit 5 */
-#define BITP_PORT_MUX_MUX4 8 /* Mux for Port x Bit 4 */
-#define BITP_PORT_MUX_MUX3 6 /* Mux for Port x Bit 3 */
-#define BITP_PORT_MUX_MUX2 4 /* Mux for Port x Bit 2 */
-#define BITP_PORT_MUX_MUX1 2 /* Mux for Port x Bit 1 */
-#define BITP_PORT_MUX_MUX0 0 /* Mux for Port x Bit 0 */
-#define BITM_PORT_MUX_MUX15 (_ADI_MSK(0xC0000000,uint32_t)) /* Mux for Port x Bit 15 */
-#define BITM_PORT_MUX_MUX14 (_ADI_MSK(0x30000000,uint32_t)) /* Mux for Port x Bit 14 */
-#define BITM_PORT_MUX_MUX13 (_ADI_MSK(0x0C000000,uint32_t)) /* Mux for Port x Bit 13 */
-#define BITM_PORT_MUX_MUX12 (_ADI_MSK(0x03000000,uint32_t)) /* Mux for Port x Bit 12 */
-#define BITM_PORT_MUX_MUX11 (_ADI_MSK(0x00C00000,uint32_t)) /* Mux for Port x Bit 11 */
-#define BITM_PORT_MUX_MUX10 (_ADI_MSK(0x00300000,uint32_t)) /* Mux for Port x Bit 10 */
-#define BITM_PORT_MUX_MUX9 (_ADI_MSK(0x000C0000,uint32_t)) /* Mux for Port x Bit 9 */
-#define BITM_PORT_MUX_MUX8 (_ADI_MSK(0x00030000,uint32_t)) /* Mux for Port x Bit 8 */
-#define BITM_PORT_MUX_MUX7 (_ADI_MSK(0x0000C000,uint32_t)) /* Mux for Port x Bit 7 */
-#define BITM_PORT_MUX_MUX6 (_ADI_MSK(0x00003000,uint32_t)) /* Mux for Port x Bit 6 */
-#define BITM_PORT_MUX_MUX5 (_ADI_MSK(0x00000C00,uint32_t)) /* Mux for Port x Bit 5 */
-#define BITM_PORT_MUX_MUX4 (_ADI_MSK(0x00000300,uint32_t)) /* Mux for Port x Bit 4 */
-#define BITM_PORT_MUX_MUX3 (_ADI_MSK(0x000000C0,uint32_t)) /* Mux for Port x Bit 3 */
-#define BITM_PORT_MUX_MUX2 (_ADI_MSK(0x00000030,uint32_t)) /* Mux for Port x Bit 2 */
-#define BITM_PORT_MUX_MUX1 (_ADI_MSK(0x0000000C,uint32_t)) /* Mux for Port x Bit 1 */
-#define BITM_PORT_MUX_MUX0 (_ADI_MSK(0x00000003,uint32_t)) /* Mux for Port x Bit 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_DATA_TGL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_DATA_TGL_PX15 15 /* Port x Bit 15 Toggle */
-#define BITP_PORT_DATA_TGL_PX14 14 /* Port x Bit 14 Toggle */
-#define BITP_PORT_DATA_TGL_PX13 13 /* Port x Bit 13 Toggle */
-#define BITP_PORT_DATA_TGL_PX12 12 /* Port x Bit 12 Toggle */
-#define BITP_PORT_DATA_TGL_PX11 11 /* Port x Bit 11 Toggle */
-#define BITP_PORT_DATA_TGL_PX10 10 /* Port x Bit 10 Toggle */
-#define BITP_PORT_DATA_TGL_PX9 9 /* Port x Bit 9 Toggle */
-#define BITP_PORT_DATA_TGL_PX8 8 /* Port x Bit 8 Toggle */
-#define BITP_PORT_DATA_TGL_PX7 7 /* Port x Bit 7 Toggle */
-#define BITP_PORT_DATA_TGL_PX6 6 /* Port x Bit 6 Toggle */
-#define BITP_PORT_DATA_TGL_PX5 5 /* Port x Bit 5 Toggle */
-#define BITP_PORT_DATA_TGL_PX4 4 /* Port x Bit 4 Toggle */
-#define BITP_PORT_DATA_TGL_PX3 3 /* Port x Bit 3 Toggle */
-#define BITP_PORT_DATA_TGL_PX2 2 /* Port x Bit 2 Toggle */
-#define BITP_PORT_DATA_TGL_PX1 1 /* Port x Bit 1 Toggle */
-#define BITP_PORT_DATA_TGL_PX0 0 /* Port x Bit 0 Toggle */
-#define BITM_PORT_DATA_TGL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Toggle */
-#define BITM_PORT_DATA_TGL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Toggle */
-#define BITM_PORT_DATA_TGL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Toggle */
-#define BITM_PORT_DATA_TGL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Toggle */
-#define BITM_PORT_DATA_TGL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Toggle */
-#define BITM_PORT_DATA_TGL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Toggle */
-#define BITM_PORT_DATA_TGL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Toggle */
-#define BITM_PORT_DATA_TGL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Toggle */
-#define BITM_PORT_DATA_TGL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Toggle */
-#define BITM_PORT_DATA_TGL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Toggle */
-#define BITM_PORT_DATA_TGL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Toggle */
-#define BITM_PORT_DATA_TGL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Toggle */
-#define BITM_PORT_DATA_TGL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Toggle */
-#define BITM_PORT_DATA_TGL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Toggle */
-#define BITM_PORT_DATA_TGL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Toggle */
-#define BITM_PORT_DATA_TGL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Toggle */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_PX15 15 /* Port x Bit 15 Polarity Invert */
-#define BITP_PORT_POL_PX14 14 /* Port x Bit 14 Polarity Invert */
-#define BITP_PORT_POL_PX13 13 /* Port x Bit 13 Polarity Invert */
-#define BITP_PORT_POL_PX12 12 /* Port x Bit 12 Polarity Invert */
-#define BITP_PORT_POL_PX11 11 /* Port x Bit 11 Polarity Invert */
-#define BITP_PORT_POL_PX10 10 /* Port x Bit 10 Polarity Invert */
-#define BITP_PORT_POL_PX9 9 /* Port x Bit 9 Polarity Invert */
-#define BITP_PORT_POL_PX8 8 /* Port x Bit 8 Polarity Invert */
-#define BITP_PORT_POL_PX7 7 /* Port x Bit 7 Polarity Invert */
-#define BITP_PORT_POL_PX6 6 /* Port x Bit 6 Polarity Invert */
-#define BITP_PORT_POL_PX5 5 /* Port x Bit 5 Polarity Invert */
-#define BITP_PORT_POL_PX4 4 /* Port x Bit 4 Polarity Invert */
-#define BITP_PORT_POL_PX3 3 /* Port x Bit 3 Polarity Invert */
-#define BITP_PORT_POL_PX2 2 /* Port x Bit 2 Polarity Invert */
-#define BITP_PORT_POL_PX1 1 /* Port x Bit 1 Polarity Invert */
-#define BITP_PORT_POL_PX0 0 /* Port x Bit 0 Polarity Invert */
-#define BITM_PORT_POL_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert */
-#define BITM_PORT_POL_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert */
-#define BITM_PORT_POL_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert */
-#define BITM_PORT_POL_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert */
-#define BITM_PORT_POL_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert */
-#define BITM_PORT_POL_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert */
-#define BITM_PORT_POL_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert */
-#define BITM_PORT_POL_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert */
-#define BITM_PORT_POL_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert */
-#define BITM_PORT_POL_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert */
-#define BITM_PORT_POL_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert */
-#define BITM_PORT_POL_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert */
-#define BITM_PORT_POL_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert */
-#define BITM_PORT_POL_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert */
-#define BITM_PORT_POL_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert */
-#define BITM_PORT_POL_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_SET_PX15 15 /* Port x Bit 15 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX14 14 /* Port x Bit 14 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX13 13 /* Port x Bit 13 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX12 12 /* Port x Bit 12 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX11 11 /* Port x Bit 11 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX10 10 /* Port x Bit 10 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX9 9 /* Port x Bit 9 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX8 8 /* Port x Bit 8 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX7 7 /* Port x Bit 7 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX6 6 /* Port x Bit 6 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX5 5 /* Port x Bit 5 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX4 4 /* Port x Bit 4 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX3 3 /* Port x Bit 3 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX2 2 /* Port x Bit 2 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX1 1 /* Port x Bit 1 Polarity Invert Set */
-#define BITP_PORT_POL_SET_PX0 0 /* Port x Bit 0 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Set */
-#define BITM_PORT_POL_SET_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_POL_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_POL_CLR_PX15 15 /* Port x Bit 15 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX14 14 /* Port x Bit 14 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX13 13 /* Port x Bit 13 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX12 12 /* Port x Bit 12 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX11 11 /* Port x Bit 11 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX10 10 /* Port x Bit 10 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX9 9 /* Port x Bit 9 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX8 8 /* Port x Bit 8 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX7 7 /* Port x Bit 7 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX6 6 /* Port x Bit 6 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX5 5 /* Port x Bit 5 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX4 4 /* Port x Bit 4 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX3 3 /* Port x Bit 3 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX2 2 /* Port x Bit 2 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX1 1 /* Port x Bit 1 Polarity Invert Clear */
-#define BITP_PORT_POL_CLR_PX0 0 /* Port x Bit 0 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX15 (_ADI_MSK(0x00008000,uint32_t)) /* Port x Bit 15 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX14 (_ADI_MSK(0x00004000,uint32_t)) /* Port x Bit 14 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX13 (_ADI_MSK(0x00002000,uint32_t)) /* Port x Bit 13 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX12 (_ADI_MSK(0x00001000,uint32_t)) /* Port x Bit 12 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX11 (_ADI_MSK(0x00000800,uint32_t)) /* Port x Bit 11 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX10 (_ADI_MSK(0x00000400,uint32_t)) /* Port x Bit 10 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX9 (_ADI_MSK(0x00000200,uint32_t)) /* Port x Bit 9 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX8 (_ADI_MSK(0x00000100,uint32_t)) /* Port x Bit 8 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX7 (_ADI_MSK(0x00000080,uint32_t)) /* Port x Bit 7 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX6 (_ADI_MSK(0x00000040,uint32_t)) /* Port x Bit 6 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX5 (_ADI_MSK(0x00000020,uint32_t)) /* Port x Bit 5 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX4 (_ADI_MSK(0x00000010,uint32_t)) /* Port x Bit 4 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX3 (_ADI_MSK(0x00000008,uint32_t)) /* Port x Bit 3 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX2 (_ADI_MSK(0x00000004,uint32_t)) /* Port x Bit 2 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX1 (_ADI_MSK(0x00000002,uint32_t)) /* Port x Bit 1 Polarity Invert Clear */
-#define BITM_PORT_POL_CLR_PX0 (_ADI_MSK(0x00000001,uint32_t)) /* Port x Bit 0 Polarity Invert Clear */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_LOCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_LOCK_LOCK 31 /* Lock */
-#define BITP_PORT_LOCK_POLAR 5 /* Polarity Lock */
-#define BITP_PORT_LOCK_INEN 4 /* Input Enable Lock */
-#define BITP_PORT_LOCK_DIR 3 /* Direction Lock */
-#define BITP_PORT_LOCK_DATA 2 /* Data Lock */
-#define BITP_PORT_LOCK_MUX 1 /* Function Multiplexer Lock */
-#define BITP_PORT_LOCK_FER 0 /* Function Enable Lock */
-#define BITM_PORT_LOCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_PORT_LOCK_POLAR (_ADI_MSK(0x00000020,uint32_t)) /* Polarity Lock */
-#define BITM_PORT_LOCK_INEN (_ADI_MSK(0x00000010,uint32_t)) /* Input Enable Lock */
-#define BITM_PORT_LOCK_DIR (_ADI_MSK(0x00000008,uint32_t)) /* Direction Lock */
-#define BITM_PORT_LOCK_DATA (_ADI_MSK(0x00000004,uint32_t)) /* Data Lock */
-#define BITM_PORT_LOCK_MUX (_ADI_MSK(0x00000002,uint32_t)) /* Function Multiplexer Lock */
-#define BITM_PORT_LOCK_FER (_ADI_MSK(0x00000001,uint32_t)) /* Function Enable Lock */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PORT_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PORT_REVID_MAJOR 4 /* Major ID */
-#define BITP_PORT_REVID_REV 0 /* Revision ID */
-#define BITM_PORT_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PORT_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID */
-
-/* ==================================================
- Pads Controller Registers
- ================================================== */
-
-/* =========================
- PADS0
- ========================= */
-#define REG_PADS0_EMAC_PTP_CLKSEL 0xFFC03404 /* PADS0 Clock Selection for EMAC and PTP */
-#define REG_PADS0_TWI_VSEL 0xFFC03408 /* PADS0 TWI Voltage Selection */
-#define REG_PADS0_PORTS_HYST 0xFFC03440 /* PADS0 Hysteresis Enable Register */
-
-/* =========================
- PADS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_EMAC_PTP_CLKSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC1 2 /* Select Clock Source for PTP Block in EMAC1 */
-#define BITP_PADS_EMAC_PTP_CLKSEL_EMAC0 0 /* PTP Clock Source 0 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC1 (_ADI_MSK(0x0000000C,uint32_t)) /* Select Clock Source for PTP Block in EMAC1 */
-#define BITM_PADS_EMAC_PTP_CLKSEL_EMAC0 (_ADI_MSK(0x00000003,uint32_t)) /* PTP Clock Source 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_TWI_VSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_TWI_VSEL_TWI1 4 /* TWI Voltage Select 1 */
-#define BITP_PADS_TWI_VSEL_TWI0 0 /* TWI Voltage Select 0 */
-#define BITM_PADS_TWI_VSEL_TWI1 (_ADI_MSK(0x00000070,uint32_t)) /* TWI Voltage Select 1 */
-#define BITM_PADS_TWI_VSEL_TWI0 (_ADI_MSK(0x00000007,uint32_t)) /* TWI Voltage Select 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PADS_PORTS_HYST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PADS_PORTS_HYST_G 6 /* Port G Hysteresis */
-#define BITP_PADS_PORTS_HYST_F 5 /* Port F Hysteresis */
-#define BITP_PADS_PORTS_HYST_E 4 /* Port E Hysteresis */
-#define BITP_PADS_PORTS_HYST_D 3 /* Port D Hysteresis */
-#define BITP_PADS_PORTS_HYST_C 2 /* Port C Hysteresis */
-#define BITP_PADS_PORTS_HYST_B 1 /* Port B Hysteresis */
-#define BITP_PADS_PORTS_HYST_A 0 /* Port A Hysteresis */
-#define BITM_PADS_PORTS_HYST_G (_ADI_MSK(0x00000040,uint32_t)) /* Port G Hysteresis */
-#define BITM_PADS_PORTS_HYST_F (_ADI_MSK(0x00000020,uint32_t)) /* Port F Hysteresis */
-#define BITM_PADS_PORTS_HYST_E (_ADI_MSK(0x00000010,uint32_t)) /* Port E Hysteresis */
-#define BITM_PADS_PORTS_HYST_D (_ADI_MSK(0x00000008,uint32_t)) /* Port D Hysteresis */
-#define BITM_PADS_PORTS_HYST_C (_ADI_MSK(0x00000004,uint32_t)) /* Port C Hysteresis */
-#define BITM_PADS_PORTS_HYST_B (_ADI_MSK(0x00000002,uint32_t)) /* Port B Hysteresis */
-#define BITM_PADS_PORTS_HYST_A (_ADI_MSK(0x00000001,uint32_t)) /* Port A Hysteresis */
-
-/* ==================================================
- PINT Registers
- ================================================== */
-
-/* =========================
- PINT0
- ========================= */
-#define REG_PINT0_MSK_SET 0xFFC04000 /* PINT0 Pint Mask Set Register */
-#define REG_PINT0_MSK_CLR 0xFFC04004 /* PINT0 Pint Mask Clear Register */
-#define REG_PINT0_REQ 0xFFC04008 /* PINT0 Pint Request Register */
-#define REG_PINT0_ASSIGN 0xFFC0400C /* PINT0 Pint Assign Register */
-#define REG_PINT0_EDGE_SET 0xFFC04010 /* PINT0 Pint Edge Set Register */
-#define REG_PINT0_EDGE_CLR 0xFFC04014 /* PINT0 Pint Edge Clear Register */
-#define REG_PINT0_INV_SET 0xFFC04018 /* PINT0 Pint Invert Set Register */
-#define REG_PINT0_INV_CLR 0xFFC0401C /* PINT0 Pint Invert Clear Register */
-#define REG_PINT0_PINSTATE 0xFFC04020 /* PINT0 Pint Pinstate Register */
-#define REG_PINT0_LATCH 0xFFC04024 /* PINT0 Pint Latch Register */
-
-/* =========================
- PINT1
- ========================= */
-#define REG_PINT1_MSK_SET 0xFFC04100 /* PINT1 Pint Mask Set Register */
-#define REG_PINT1_MSK_CLR 0xFFC04104 /* PINT1 Pint Mask Clear Register */
-#define REG_PINT1_REQ 0xFFC04108 /* PINT1 Pint Request Register */
-#define REG_PINT1_ASSIGN 0xFFC0410C /* PINT1 Pint Assign Register */
-#define REG_PINT1_EDGE_SET 0xFFC04110 /* PINT1 Pint Edge Set Register */
-#define REG_PINT1_EDGE_CLR 0xFFC04114 /* PINT1 Pint Edge Clear Register */
-#define REG_PINT1_INV_SET 0xFFC04118 /* PINT1 Pint Invert Set Register */
-#define REG_PINT1_INV_CLR 0xFFC0411C /* PINT1 Pint Invert Clear Register */
-#define REG_PINT1_PINSTATE 0xFFC04120 /* PINT1 Pint Pinstate Register */
-#define REG_PINT1_LATCH 0xFFC04124 /* PINT1 Pint Latch Register */
-
-/* =========================
- PINT2
- ========================= */
-#define REG_PINT2_MSK_SET 0xFFC04200 /* PINT2 Pint Mask Set Register */
-#define REG_PINT2_MSK_CLR 0xFFC04204 /* PINT2 Pint Mask Clear Register */
-#define REG_PINT2_REQ 0xFFC04208 /* PINT2 Pint Request Register */
-#define REG_PINT2_ASSIGN 0xFFC0420C /* PINT2 Pint Assign Register */
-#define REG_PINT2_EDGE_SET 0xFFC04210 /* PINT2 Pint Edge Set Register */
-#define REG_PINT2_EDGE_CLR 0xFFC04214 /* PINT2 Pint Edge Clear Register */
-#define REG_PINT2_INV_SET 0xFFC04218 /* PINT2 Pint Invert Set Register */
-#define REG_PINT2_INV_CLR 0xFFC0421C /* PINT2 Pint Invert Clear Register */
-#define REG_PINT2_PINSTATE 0xFFC04220 /* PINT2 Pint Pinstate Register */
-#define REG_PINT2_LATCH 0xFFC04224 /* PINT2 Pint Latch Register */
-
-/* =========================
- PINT3
- ========================= */
-#define REG_PINT3_MSK_SET 0xFFC04300 /* PINT3 Pint Mask Set Register */
-#define REG_PINT3_MSK_CLR 0xFFC04304 /* PINT3 Pint Mask Clear Register */
-#define REG_PINT3_REQ 0xFFC04308 /* PINT3 Pint Request Register */
-#define REG_PINT3_ASSIGN 0xFFC0430C /* PINT3 Pint Assign Register */
-#define REG_PINT3_EDGE_SET 0xFFC04310 /* PINT3 Pint Edge Set Register */
-#define REG_PINT3_EDGE_CLR 0xFFC04314 /* PINT3 Pint Edge Clear Register */
-#define REG_PINT3_INV_SET 0xFFC04318 /* PINT3 Pint Invert Set Register */
-#define REG_PINT3_INV_CLR 0xFFC0431C /* PINT3 Pint Invert Clear Register */
-#define REG_PINT3_PINSTATE 0xFFC04320 /* PINT3 Pint Pinstate Register */
-#define REG_PINT3_LATCH 0xFFC04324 /* PINT3 Pint Latch Register */
-
-/* =========================
- PINT4
- ========================= */
-#define REG_PINT4_MSK_SET 0xFFC04400 /* PINT4 Pint Mask Set Register */
-#define REG_PINT4_MSK_CLR 0xFFC04404 /* PINT4 Pint Mask Clear Register */
-#define REG_PINT4_REQ 0xFFC04408 /* PINT4 Pint Request Register */
-#define REG_PINT4_ASSIGN 0xFFC0440C /* PINT4 Pint Assign Register */
-#define REG_PINT4_EDGE_SET 0xFFC04410 /* PINT4 Pint Edge Set Register */
-#define REG_PINT4_EDGE_CLR 0xFFC04414 /* PINT4 Pint Edge Clear Register */
-#define REG_PINT4_INV_SET 0xFFC04418 /* PINT4 Pint Invert Set Register */
-#define REG_PINT4_INV_CLR 0xFFC0441C /* PINT4 Pint Invert Clear Register */
-#define REG_PINT4_PINSTATE 0xFFC04420 /* PINT4 Pint Pinstate Register */
-#define REG_PINT4_LATCH 0xFFC04424 /* PINT4 Pint Latch Register */
-
-/* =========================
- PINT5
- ========================= */
-#define REG_PINT5_MSK_SET 0xFFC04500 /* PINT5 Pint Mask Set Register */
-#define REG_PINT5_MSK_CLR 0xFFC04504 /* PINT5 Pint Mask Clear Register */
-#define REG_PINT5_REQ 0xFFC04508 /* PINT5 Pint Request Register */
-#define REG_PINT5_ASSIGN 0xFFC0450C /* PINT5 Pint Assign Register */
-#define REG_PINT5_EDGE_SET 0xFFC04510 /* PINT5 Pint Edge Set Register */
-#define REG_PINT5_EDGE_CLR 0xFFC04514 /* PINT5 Pint Edge Clear Register */
-#define REG_PINT5_INV_SET 0xFFC04518 /* PINT5 Pint Invert Set Register */
-#define REG_PINT5_INV_CLR 0xFFC0451C /* PINT5 Pint Invert Clear Register */
-#define REG_PINT5_PINSTATE 0xFFC04520 /* PINT5 Pint Pinstate Register */
-#define REG_PINT5_LATCH 0xFFC04524 /* PINT5 Pint Latch Register */
-
-/* =========================
- PINT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_SET_PIQ31 31 /* Pin Interrupt 31 Unmask */
-#define BITP_PINT_MSK_SET_PIQ30 30 /* Pin Interrupt 30 Unmask */
-#define BITP_PINT_MSK_SET_PIQ29 29 /* Pin Interrupt 29 Unmask */
-#define BITP_PINT_MSK_SET_PIQ28 28 /* Pin Interrupt 28 Unmask */
-#define BITP_PINT_MSK_SET_PIQ27 27 /* Pin Interrupt 27 Unmask */
-#define BITP_PINT_MSK_SET_PIQ26 26 /* Pin Interrupt 26 Unmask */
-#define BITP_PINT_MSK_SET_PIQ25 25 /* Pin Interrupt 25 Unmask */
-#define BITP_PINT_MSK_SET_PIQ24 24 /* Pin Interrupt 24 Unmask */
-#define BITP_PINT_MSK_SET_PIQ23 23 /* Pin Interrupt 23 Unmask */
-#define BITP_PINT_MSK_SET_PIQ22 22 /* Pin Interrupt 22 Unmask */
-#define BITP_PINT_MSK_SET_PIQ21 21 /* Pin Interrupt 21 Unmask */
-#define BITP_PINT_MSK_SET_PIQ20 20 /* Pin Interrupt 20 Unmask */
-#define BITP_PINT_MSK_SET_PIQ19 19 /* Pin Interrupt 19 Unmask */
-#define BITP_PINT_MSK_SET_PIQ18 18 /* Pin Interrupt 18 Unmask */
-#define BITP_PINT_MSK_SET_PIQ17 17 /* Pin Interrupt 17 Unmask */
-#define BITP_PINT_MSK_SET_PIQ16 16 /* Pin Interrupt 16 Unmask */
-#define BITP_PINT_MSK_SET_PIQ15 15 /* Pin Interrupt 15 Unmask */
-#define BITP_PINT_MSK_SET_PIQ14 14 /* Pin Interrupt 14 Unmask */
-#define BITP_PINT_MSK_SET_PIQ13 13 /* Pin Interrupt 13 Unmask */
-#define BITP_PINT_MSK_SET_PIQ12 12 /* Pin Interrupt 12 Unmask */
-#define BITP_PINT_MSK_SET_PIQ11 11 /* Pin Interrupt 11 Unmask */
-#define BITP_PINT_MSK_SET_PIQ10 10 /* Pin Interrupt 10 Unmask */
-#define BITP_PINT_MSK_SET_PIQ9 9 /* Pin Interrupt 9 Unmask */
-#define BITP_PINT_MSK_SET_PIQ8 8 /* Pin Interrupt 8 Unmask */
-#define BITP_PINT_MSK_SET_PIQ7 7 /* Pin Interrupt 7 Unmask */
-#define BITP_PINT_MSK_SET_PIQ6 6 /* Pin Interrupt 6 Unmask */
-#define BITP_PINT_MSK_SET_PIQ5 5 /* Pin Interrupt 5 Unmask */
-#define BITP_PINT_MSK_SET_PIQ4 4 /* Pin Interrupt 4 Unmask */
-#define BITP_PINT_MSK_SET_PIQ3 3 /* Pin Interrupt 3 Unmask */
-#define BITP_PINT_MSK_SET_PIQ2 2 /* Pin Interrupt 2 Unmask */
-#define BITP_PINT_MSK_SET_PIQ1 1 /* Pin Interrupt 1 Unmask */
-#define BITP_PINT_MSK_SET_PIQ0 0 /* Pin Interrupt 0 Unmask */
-#define BITM_PINT_MSK_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Unmask */
-#define BITM_PINT_MSK_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Unmask */
-#define BITM_PINT_MSK_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Unmask */
-#define BITM_PINT_MSK_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Unmask */
-#define BITM_PINT_MSK_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Unmask */
-#define BITM_PINT_MSK_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Unmask */
-#define BITM_PINT_MSK_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Unmask */
-#define BITM_PINT_MSK_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Unmask */
-#define BITM_PINT_MSK_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Unmask */
-#define BITM_PINT_MSK_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Unmask */
-#define BITM_PINT_MSK_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Unmask */
-#define BITM_PINT_MSK_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Unmask */
-#define BITM_PINT_MSK_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Unmask */
-#define BITM_PINT_MSK_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Unmask */
-#define BITM_PINT_MSK_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Unmask */
-#define BITM_PINT_MSK_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Unmask */
-#define BITM_PINT_MSK_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Unmask */
-#define BITM_PINT_MSK_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Unmask */
-#define BITM_PINT_MSK_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Unmask */
-#define BITM_PINT_MSK_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Unmask */
-#define BITM_PINT_MSK_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Unmask */
-#define BITM_PINT_MSK_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Unmask */
-#define BITM_PINT_MSK_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Unmask */
-#define BITM_PINT_MSK_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Unmask */
-#define BITM_PINT_MSK_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Unmask */
-#define BITM_PINT_MSK_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Unmask */
-#define BITM_PINT_MSK_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Unmask */
-#define BITM_PINT_MSK_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Unmask */
-#define BITM_PINT_MSK_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Unmask */
-#define BITM_PINT_MSK_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Unmask */
-#define BITM_PINT_MSK_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Unmask */
-#define BITM_PINT_MSK_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_MSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_MSK_CLR_PIQ31 31 /* Pin Interrupt 31 Mask */
-#define BITP_PINT_MSK_CLR_PIQ30 30 /* Pin Interrupt 30 Mask */
-#define BITP_PINT_MSK_CLR_PIQ29 29 /* Pin Interrupt 29 Mask */
-#define BITP_PINT_MSK_CLR_PIQ28 28 /* Pin Interrupt 28 Mask */
-#define BITP_PINT_MSK_CLR_PIQ27 27 /* Pin Interrupt 27 Mask */
-#define BITP_PINT_MSK_CLR_PIQ26 26 /* Pin Interrupt 26 Mask */
-#define BITP_PINT_MSK_CLR_PIQ25 25 /* Pin Interrupt 25 Mask */
-#define BITP_PINT_MSK_CLR_PIQ24 24 /* Pin Interrupt 24 Mask */
-#define BITP_PINT_MSK_CLR_PIQ23 23 /* Pin Interrupt 23 Mask */
-#define BITP_PINT_MSK_CLR_PIQ22 22 /* Pin Interrupt 22 Mask */
-#define BITP_PINT_MSK_CLR_PIQ21 21 /* Pin Interrupt 21 Mask */
-#define BITP_PINT_MSK_CLR_PIQ20 20 /* Pin Interrupt 20 Mask */
-#define BITP_PINT_MSK_CLR_PIQ19 19 /* Pin Interrupt 19 Mask */
-#define BITP_PINT_MSK_CLR_PIQ18 18 /* Pin Interrupt 18 Mask */
-#define BITP_PINT_MSK_CLR_PIQ17 17 /* Pin Interrupt 17 Mask */
-#define BITP_PINT_MSK_CLR_PIQ16 16 /* Pin Interrupt 16 Mask */
-#define BITP_PINT_MSK_CLR_PIQ15 15 /* Pin Interrupt 15 Mask */
-#define BITP_PINT_MSK_CLR_PIQ14 14 /* Pin Interrupt 14 Mask */
-#define BITP_PINT_MSK_CLR_PIQ13 13 /* Pin Interrupt 13 Mask */
-#define BITP_PINT_MSK_CLR_PIQ12 12 /* Pin Interrupt 12 Mask */
-#define BITP_PINT_MSK_CLR_PIQ11 11 /* Pin Interrupt 11 Mask */
-#define BITP_PINT_MSK_CLR_PIQ10 10 /* Pin Interrupt 10 Mask */
-#define BITP_PINT_MSK_CLR_PIQ9 9 /* Pin Interrupt 9 Mask */
-#define BITP_PINT_MSK_CLR_PIQ8 8 /* Pin Interrupt 8 Mask */
-#define BITP_PINT_MSK_CLR_PIQ7 7 /* Pin Interrupt 7 Mask */
-#define BITP_PINT_MSK_CLR_PIQ6 6 /* Pin Interrupt 6 Mask */
-#define BITP_PINT_MSK_CLR_PIQ5 5 /* Pin Interrupt 5 Mask */
-#define BITP_PINT_MSK_CLR_PIQ4 4 /* Pin Interrupt 4 Mask */
-#define BITP_PINT_MSK_CLR_PIQ3 3 /* Pin Interrupt 3 Mask */
-#define BITP_PINT_MSK_CLR_PIQ2 2 /* Pin Interrupt 2 Mask */
-#define BITP_PINT_MSK_CLR_PIQ1 1 /* Pin Interrupt 1 Mask */
-#define BITP_PINT_MSK_CLR_PIQ0 0 /* Pin Interrupt 0 Mask */
-#define BITM_PINT_MSK_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Mask */
-#define BITM_PINT_MSK_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Mask */
-#define BITM_PINT_MSK_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Mask */
-#define BITM_PINT_MSK_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Mask */
-#define BITM_PINT_MSK_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Mask */
-#define BITM_PINT_MSK_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Mask */
-#define BITM_PINT_MSK_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Mask */
-#define BITM_PINT_MSK_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Mask */
-#define BITM_PINT_MSK_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Mask */
-#define BITM_PINT_MSK_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Mask */
-#define BITM_PINT_MSK_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Mask */
-#define BITM_PINT_MSK_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Mask */
-#define BITM_PINT_MSK_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Mask */
-#define BITM_PINT_MSK_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Mask */
-#define BITM_PINT_MSK_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Mask */
-#define BITM_PINT_MSK_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Mask */
-#define BITM_PINT_MSK_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Mask */
-#define BITM_PINT_MSK_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Mask */
-#define BITM_PINT_MSK_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Mask */
-#define BITM_PINT_MSK_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Mask */
-#define BITM_PINT_MSK_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Mask */
-#define BITM_PINT_MSK_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Mask */
-#define BITM_PINT_MSK_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Mask */
-#define BITM_PINT_MSK_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Mask */
-#define BITM_PINT_MSK_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Mask */
-#define BITM_PINT_MSK_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Mask */
-#define BITM_PINT_MSK_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Mask */
-#define BITM_PINT_MSK_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Mask */
-#define BITM_PINT_MSK_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Mask */
-#define BITM_PINT_MSK_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Mask */
-#define BITM_PINT_MSK_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Mask */
-#define BITM_PINT_MSK_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_REQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_REQ_PIQ31 31 /* Pin Interrupt 31 Request */
-#define BITP_PINT_REQ_PIQ30 30 /* Pin Interrupt 30 Request */
-#define BITP_PINT_REQ_PIQ29 29 /* Pin Interrupt 29 Request */
-#define BITP_PINT_REQ_PIQ28 28 /* Pin Interrupt 28 Request */
-#define BITP_PINT_REQ_PIQ27 27 /* Pin Interrupt 27 Request */
-#define BITP_PINT_REQ_PIQ26 26 /* Pin Interrupt 26 Request */
-#define BITP_PINT_REQ_PIQ25 25 /* Pin Interrupt 25 Request */
-#define BITP_PINT_REQ_PIQ24 24 /* Pin Interrupt 24 Request */
-#define BITP_PINT_REQ_PIQ23 23 /* Pin Interrupt 23 Request */
-#define BITP_PINT_REQ_PIQ22 22 /* Pin Interrupt 22 Request */
-#define BITP_PINT_REQ_PIQ21 21 /* Pin Interrupt 21 Request */
-#define BITP_PINT_REQ_PIQ20 20 /* Pin Interrupt 20 Request */
-#define BITP_PINT_REQ_PIQ19 19 /* Pin Interrupt 19 Request */
-#define BITP_PINT_REQ_PIQ18 18 /* Pin Interrupt 18 Request */
-#define BITP_PINT_REQ_PIQ17 17 /* Pin Interrupt 17 Request */
-#define BITP_PINT_REQ_PIQ16 16 /* Pin Interrupt 16 Request */
-#define BITP_PINT_REQ_PIQ15 15 /* Pin Interrupt 15 Request */
-#define BITP_PINT_REQ_PIQ14 14 /* Pin Interrupt 14 Request */
-#define BITP_PINT_REQ_PIQ13 13 /* Pin Interrupt 13 Request */
-#define BITP_PINT_REQ_PIQ12 12 /* Pin Interrupt 12 Request */
-#define BITP_PINT_REQ_PIQ11 11 /* Pin Interrupt 11 Request */
-#define BITP_PINT_REQ_PIQ10 10 /* Pin Interrupt 10 Request */
-#define BITP_PINT_REQ_PIQ9 9 /* Pin Interrupt 9 Request */
-#define BITP_PINT_REQ_PIQ8 8 /* Pin Interrupt 8 Request */
-#define BITP_PINT_REQ_PIQ7 7 /* Pin Interrupt 7 Request */
-#define BITP_PINT_REQ_PIQ6 6 /* Pin Interrupt 6 Request */
-#define BITP_PINT_REQ_PIQ5 5 /* Pin Interrupt 5 Request */
-#define BITP_PINT_REQ_PIQ4 4 /* Pin Interrupt 4 Request */
-#define BITP_PINT_REQ_PIQ3 3 /* Pin Interrupt 3 Request */
-#define BITP_PINT_REQ_PIQ2 2 /* Pin Interrupt 2 Request */
-#define BITP_PINT_REQ_PIQ1 1 /* Pin Interrupt 1 Request */
-#define BITP_PINT_REQ_PIQ0 0 /* Pin Interrupt 0 Request */
-#define BITM_PINT_REQ_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Request */
-#define BITM_PINT_REQ_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Request */
-#define BITM_PINT_REQ_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Request */
-#define BITM_PINT_REQ_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Request */
-#define BITM_PINT_REQ_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Request */
-#define BITM_PINT_REQ_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Request */
-#define BITM_PINT_REQ_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Request */
-#define BITM_PINT_REQ_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Request */
-#define BITM_PINT_REQ_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Request */
-#define BITM_PINT_REQ_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Request */
-#define BITM_PINT_REQ_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Request */
-#define BITM_PINT_REQ_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Request */
-#define BITM_PINT_REQ_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Request */
-#define BITM_PINT_REQ_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Request */
-#define BITM_PINT_REQ_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Request */
-#define BITM_PINT_REQ_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Request */
-#define BITM_PINT_REQ_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Request */
-#define BITM_PINT_REQ_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Request */
-#define BITM_PINT_REQ_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Request */
-#define BITM_PINT_REQ_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Request */
-#define BITM_PINT_REQ_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Request */
-#define BITM_PINT_REQ_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Request */
-#define BITM_PINT_REQ_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Request */
-#define BITM_PINT_REQ_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Request */
-#define BITM_PINT_REQ_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Request */
-#define BITM_PINT_REQ_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Request */
-#define BITM_PINT_REQ_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Request */
-#define BITM_PINT_REQ_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Request */
-#define BITM_PINT_REQ_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Request */
-#define BITM_PINT_REQ_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Request */
-#define BITM_PINT_REQ_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Request */
-#define BITM_PINT_REQ_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_ASSIGN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_ASSIGN_B3MAP 24 /* Byte 3 Mapping */
-#define BITP_PINT_ASSIGN_B2MAP 16 /* Byte 2 Mapping */
-#define BITP_PINT_ASSIGN_B1MAP 8 /* Byte 1 Mapping */
-#define BITP_PINT_ASSIGN_B0MAP 0 /* Byte 0 Mapping */
-#define BITM_PINT_ASSIGN_B3MAP (_ADI_MSK(0xFF000000,uint32_t)) /* Byte 3 Mapping */
-#define BITM_PINT_ASSIGN_B2MAP (_ADI_MSK(0x00FF0000,uint32_t)) /* Byte 2 Mapping */
-#define BITM_PINT_ASSIGN_B1MAP (_ADI_MSK(0x0000FF00,uint32_t)) /* Byte 1 Mapping */
-#define BITM_PINT_ASSIGN_B0MAP (_ADI_MSK(0x000000FF,uint32_t)) /* Byte 0 Mapping */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_SET_PIQ31 31 /* Pin Interrupt 31 Edge */
-#define BITP_PINT_EDGE_SET_PIQ30 30 /* Pin Interrupt 30 Edge */
-#define BITP_PINT_EDGE_SET_PIQ29 29 /* Pin Interrupt 29 Edge */
-#define BITP_PINT_EDGE_SET_PIQ28 28 /* Pin Interrupt 28 Edge */
-#define BITP_PINT_EDGE_SET_PIQ27 27 /* Pin Interrupt 27 Edge */
-#define BITP_PINT_EDGE_SET_PIQ26 26 /* Pin Interrupt 26 Edge */
-#define BITP_PINT_EDGE_SET_PIQ25 25 /* Pin Interrupt 25 Edge */
-#define BITP_PINT_EDGE_SET_PIQ24 24 /* Pin Interrupt 24 Edge */
-#define BITP_PINT_EDGE_SET_PIQ23 23 /* Pin Interrupt 23 Edge */
-#define BITP_PINT_EDGE_SET_PIQ22 22 /* Pin Interrupt 22 Edge */
-#define BITP_PINT_EDGE_SET_PIQ21 21 /* Pin Interrupt 21 Edge */
-#define BITP_PINT_EDGE_SET_PIQ20 20 /* Pin Interrupt 20 Edge */
-#define BITP_PINT_EDGE_SET_PIQ19 19 /* Pin Interrupt 19 Edge */
-#define BITP_PINT_EDGE_SET_PIQ18 18 /* Pin Interrupt 18 Edge */
-#define BITP_PINT_EDGE_SET_PIQ17 17 /* Pin Interrupt 17 Edge */
-#define BITP_PINT_EDGE_SET_PIQ16 16 /* Pin Interrupt 16 Edge */
-#define BITP_PINT_EDGE_SET_PIQ15 15 /* Pin Interrupt 15 Edge */
-#define BITP_PINT_EDGE_SET_PIQ14 14 /* Pin Interrupt 14 Edge */
-#define BITP_PINT_EDGE_SET_PIQ13 13 /* Pin Interrupt 13 Edge */
-#define BITP_PINT_EDGE_SET_PIQ12 12 /* Pin Interrupt 12 Edge */
-#define BITP_PINT_EDGE_SET_PIQ11 11 /* Pin Interrupt 11 Edge */
-#define BITP_PINT_EDGE_SET_PIQ10 10 /* Pin Interrupt 10 Edge */
-#define BITP_PINT_EDGE_SET_PIQ9 9 /* Pin Interrupt 9 Edge */
-#define BITP_PINT_EDGE_SET_PIQ8 8 /* Pin Interrupt 8 Edge */
-#define BITP_PINT_EDGE_SET_PIQ7 7 /* Pin Interrupt 7 Edge */
-#define BITP_PINT_EDGE_SET_PIQ6 6 /* Pin Interrupt 6 Edge */
-#define BITP_PINT_EDGE_SET_PIQ5 5 /* Pin Interrupt 5 Edge */
-#define BITP_PINT_EDGE_SET_PIQ4 4 /* Pin Interrupt 4 Edge */
-#define BITP_PINT_EDGE_SET_PIQ3 3 /* Pin Interrupt 3 Edge */
-#define BITP_PINT_EDGE_SET_PIQ2 2 /* Pin Interrupt 2 Edge */
-#define BITP_PINT_EDGE_SET_PIQ1 1 /* Pin Interrupt 1 Edge */
-#define BITP_PINT_EDGE_SET_PIQ0 0 /* Pin Interrupt 0 Edge */
-#define BITM_PINT_EDGE_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Edge */
-#define BITM_PINT_EDGE_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Edge */
-#define BITM_PINT_EDGE_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Edge */
-#define BITM_PINT_EDGE_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Edge */
-#define BITM_PINT_EDGE_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Edge */
-#define BITM_PINT_EDGE_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Edge */
-#define BITM_PINT_EDGE_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Edge */
-#define BITM_PINT_EDGE_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Edge */
-#define BITM_PINT_EDGE_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Edge */
-#define BITM_PINT_EDGE_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Edge */
-#define BITM_PINT_EDGE_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Edge */
-#define BITM_PINT_EDGE_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Edge */
-#define BITM_PINT_EDGE_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Edge */
-#define BITM_PINT_EDGE_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Edge */
-#define BITM_PINT_EDGE_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Edge */
-#define BITM_PINT_EDGE_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Edge */
-#define BITM_PINT_EDGE_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Edge */
-#define BITM_PINT_EDGE_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Edge */
-#define BITM_PINT_EDGE_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Edge */
-#define BITM_PINT_EDGE_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Edge */
-#define BITM_PINT_EDGE_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Edge */
-#define BITM_PINT_EDGE_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Edge */
-#define BITM_PINT_EDGE_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Edge */
-#define BITM_PINT_EDGE_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Edge */
-#define BITM_PINT_EDGE_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Edge */
-#define BITM_PINT_EDGE_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Edge */
-#define BITM_PINT_EDGE_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Edge */
-#define BITM_PINT_EDGE_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Edge */
-#define BITM_PINT_EDGE_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Edge */
-#define BITM_PINT_EDGE_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Edge */
-#define BITM_PINT_EDGE_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Edge */
-#define BITM_PINT_EDGE_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Edge */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_EDGE_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_EDGE_CLR_PIQ31 31 /* Pin Interrupt 31 Level */
-#define BITP_PINT_EDGE_CLR_PIQ30 30 /* Pin Interrupt 30 Level */
-#define BITP_PINT_EDGE_CLR_PIQ29 29 /* Pin Interrupt 29 Level */
-#define BITP_PINT_EDGE_CLR_PIQ28 28 /* Pin Interrupt 28 Level */
-#define BITP_PINT_EDGE_CLR_PIQ27 27 /* Pin Interrupt 27 Level */
-#define BITP_PINT_EDGE_CLR_PIQ26 26 /* Pin Interrupt 26 Level */
-#define BITP_PINT_EDGE_CLR_PIQ25 25 /* Pin Interrupt 25 Level */
-#define BITP_PINT_EDGE_CLR_PIQ24 24 /* Pin Interrupt 24 Level */
-#define BITP_PINT_EDGE_CLR_PIQ23 23 /* Pin Interrupt 23 Level */
-#define BITP_PINT_EDGE_CLR_PIQ22 22 /* Pin Interrupt 22 Level */
-#define BITP_PINT_EDGE_CLR_PIQ21 21 /* Pin Interrupt 21 Level */
-#define BITP_PINT_EDGE_CLR_PIQ20 20 /* Pin Interrupt 20 Level */
-#define BITP_PINT_EDGE_CLR_PIQ19 19 /* Pin Interrupt 19 Level */
-#define BITP_PINT_EDGE_CLR_PIQ18 18 /* Pin Interrupt 18 Level */
-#define BITP_PINT_EDGE_CLR_PIQ17 17 /* Pin Interrupt 17 Level */
-#define BITP_PINT_EDGE_CLR_PIQ16 16 /* Pin Interrupt 16 Level */
-#define BITP_PINT_EDGE_CLR_PIQ15 15 /* Pin Interrupt 15 Level */
-#define BITP_PINT_EDGE_CLR_PIQ14 14 /* Pin Interrupt 14 Level */
-#define BITP_PINT_EDGE_CLR_PIQ13 13 /* Pin Interrupt 13 Level */
-#define BITP_PINT_EDGE_CLR_PIQ12 12 /* Pin Interrupt 12 Level */
-#define BITP_PINT_EDGE_CLR_PIQ11 11 /* Pin Interrupt 11 Level */
-#define BITP_PINT_EDGE_CLR_PIQ10 10 /* Pin Interrupt 10 Level */
-#define BITP_PINT_EDGE_CLR_PIQ9 9 /* Pin Interrupt 9 Level */
-#define BITP_PINT_EDGE_CLR_PIQ8 8 /* Pin Interrupt 8 Level */
-#define BITP_PINT_EDGE_CLR_PIQ7 7 /* Pin Interrupt 7 Level */
-#define BITP_PINT_EDGE_CLR_PIQ6 6 /* Pin Interrupt 6 Level */
-#define BITP_PINT_EDGE_CLR_PIQ5 5 /* Pin Interrupt 5 Level */
-#define BITP_PINT_EDGE_CLR_PIQ4 4 /* Pin Interrupt 4 Level */
-#define BITP_PINT_EDGE_CLR_PIQ3 3 /* Pin Interrupt 3 Level */
-#define BITP_PINT_EDGE_CLR_PIQ2 2 /* Pin Interrupt 2 Level */
-#define BITP_PINT_EDGE_CLR_PIQ1 1 /* Pin Interrupt 1 Level */
-#define BITP_PINT_EDGE_CLR_PIQ0 0 /* Pin Interrupt 0 Level */
-#define BITM_PINT_EDGE_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Level */
-#define BITM_PINT_EDGE_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Level */
-#define BITM_PINT_EDGE_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Level */
-#define BITM_PINT_EDGE_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Level */
-#define BITM_PINT_EDGE_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Level */
-#define BITM_PINT_EDGE_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Level */
-#define BITM_PINT_EDGE_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Level */
-#define BITM_PINT_EDGE_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Level */
-#define BITM_PINT_EDGE_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Level */
-#define BITM_PINT_EDGE_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Level */
-#define BITM_PINT_EDGE_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Level */
-#define BITM_PINT_EDGE_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Level */
-#define BITM_PINT_EDGE_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Level */
-#define BITM_PINT_EDGE_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Level */
-#define BITM_PINT_EDGE_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Level */
-#define BITM_PINT_EDGE_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Level */
-#define BITM_PINT_EDGE_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Level */
-#define BITM_PINT_EDGE_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Level */
-#define BITM_PINT_EDGE_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Level */
-#define BITM_PINT_EDGE_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Level */
-#define BITM_PINT_EDGE_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Level */
-#define BITM_PINT_EDGE_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Level */
-#define BITM_PINT_EDGE_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Level */
-#define BITM_PINT_EDGE_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Level */
-#define BITM_PINT_EDGE_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Level */
-#define BITM_PINT_EDGE_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Level */
-#define BITM_PINT_EDGE_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Level */
-#define BITM_PINT_EDGE_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Level */
-#define BITM_PINT_EDGE_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Level */
-#define BITM_PINT_EDGE_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Level */
-#define BITM_PINT_EDGE_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Level */
-#define BITM_PINT_EDGE_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Level */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_SET_PIQ31 31 /* Pin Interrupt 31 Invert */
-#define BITP_PINT_INV_SET_PIQ30 30 /* Pin Interrupt 30 Invert */
-#define BITP_PINT_INV_SET_PIQ29 29 /* Pin Interrupt 29 Invert */
-#define BITP_PINT_INV_SET_PIQ28 28 /* Pin Interrupt 28 Invert */
-#define BITP_PINT_INV_SET_PIQ27 27 /* Pin Interrupt 27 Invert */
-#define BITP_PINT_INV_SET_PIQ26 26 /* Pin Interrupt 26 Invert */
-#define BITP_PINT_INV_SET_PIQ25 25 /* Pin Interrupt 25 Invert */
-#define BITP_PINT_INV_SET_PIQ24 24 /* Pin Interrupt 24 Invert */
-#define BITP_PINT_INV_SET_PIQ23 23 /* Pin Interrupt 23 Invert */
-#define BITP_PINT_INV_SET_PIQ22 22 /* Pin Interrupt 22 Invert */
-#define BITP_PINT_INV_SET_PIQ21 21 /* Pin Interrupt 21 Invert */
-#define BITP_PINT_INV_SET_PIQ20 20 /* Pin Interrupt 20 Invert */
-#define BITP_PINT_INV_SET_PIQ19 19 /* Pin Interrupt 19 Invert */
-#define BITP_PINT_INV_SET_PIQ18 18 /* Pin Interrupt 18 Invert */
-#define BITP_PINT_INV_SET_PIQ17 17 /* Pin Interrupt 17 Invert */
-#define BITP_PINT_INV_SET_PIQ16 16 /* Pin Interrupt 16 Invert */
-#define BITP_PINT_INV_SET_PIQ15 15 /* Pin Interrupt 15 Invert */
-#define BITP_PINT_INV_SET_PIQ14 14 /* Pin Interrupt 14 Invert */
-#define BITP_PINT_INV_SET_PIQ13 13 /* Pin Interrupt 13 Invert */
-#define BITP_PINT_INV_SET_PIQ12 12 /* Pin Interrupt 12 Invert */
-#define BITP_PINT_INV_SET_PIQ11 11 /* Pin Interrupt 11 Invert */
-#define BITP_PINT_INV_SET_PIQ10 10 /* Pin Interrupt 10 Invert */
-#define BITP_PINT_INV_SET_PIQ9 9 /* Pin Interrupt 9 Invert */
-#define BITP_PINT_INV_SET_PIQ8 8 /* Pin Interrupt 8 Invert */
-#define BITP_PINT_INV_SET_PIQ7 7 /* Pin Interrupt 7 Invert */
-#define BITP_PINT_INV_SET_PIQ6 6 /* Pin Interrupt 6 Invert */
-#define BITP_PINT_INV_SET_PIQ5 5 /* Pin Interrupt 5 Invert */
-#define BITP_PINT_INV_SET_PIQ4 4 /* Pin Interrupt 4 Invert */
-#define BITP_PINT_INV_SET_PIQ3 3 /* Pin Interrupt 3 Invert */
-#define BITP_PINT_INV_SET_PIQ2 2 /* Pin Interrupt 2 Invert */
-#define BITP_PINT_INV_SET_PIQ1 1 /* Pin Interrupt 1 Invert */
-#define BITP_PINT_INV_SET_PIQ0 0 /* Pin Interrupt 0 Invert */
-#define BITM_PINT_INV_SET_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Invert */
-#define BITM_PINT_INV_SET_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Invert */
-#define BITM_PINT_INV_SET_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Invert */
-#define BITM_PINT_INV_SET_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Invert */
-#define BITM_PINT_INV_SET_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Invert */
-#define BITM_PINT_INV_SET_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Invert */
-#define BITM_PINT_INV_SET_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Invert */
-#define BITM_PINT_INV_SET_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Invert */
-#define BITM_PINT_INV_SET_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Invert */
-#define BITM_PINT_INV_SET_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Invert */
-#define BITM_PINT_INV_SET_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Invert */
-#define BITM_PINT_INV_SET_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Invert */
-#define BITM_PINT_INV_SET_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Invert */
-#define BITM_PINT_INV_SET_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Invert */
-#define BITM_PINT_INV_SET_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Invert */
-#define BITM_PINT_INV_SET_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Invert */
-#define BITM_PINT_INV_SET_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Invert */
-#define BITM_PINT_INV_SET_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Invert */
-#define BITM_PINT_INV_SET_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Invert */
-#define BITM_PINT_INV_SET_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Invert */
-#define BITM_PINT_INV_SET_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Invert */
-#define BITM_PINT_INV_SET_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Invert */
-#define BITM_PINT_INV_SET_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Invert */
-#define BITM_PINT_INV_SET_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Invert */
-#define BITM_PINT_INV_SET_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Invert */
-#define BITM_PINT_INV_SET_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Invert */
-#define BITM_PINT_INV_SET_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Invert */
-#define BITM_PINT_INV_SET_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Invert */
-#define BITM_PINT_INV_SET_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Invert */
-#define BITM_PINT_INV_SET_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Invert */
-#define BITM_PINT_INV_SET_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Invert */
-#define BITM_PINT_INV_SET_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_INV_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_INV_CLR_PIQ31 31 /* Pin Interrupt 31 No Invert */
-#define BITP_PINT_INV_CLR_PIQ30 30 /* Pin Interrupt 30 No Invert */
-#define BITP_PINT_INV_CLR_PIQ29 29 /* Pin Interrupt 29 No Invert */
-#define BITP_PINT_INV_CLR_PIQ28 28 /* Pin Interrupt 28 No Invert */
-#define BITP_PINT_INV_CLR_PIQ27 27 /* Pin Interrupt 27 No Invert */
-#define BITP_PINT_INV_CLR_PIQ26 26 /* Pin Interrupt 26 No Invert */
-#define BITP_PINT_INV_CLR_PIQ25 25 /* Pin Interrupt 25 No Invert */
-#define BITP_PINT_INV_CLR_PIQ24 24 /* Pin Interrupt 24 No Invert */
-#define BITP_PINT_INV_CLR_PIQ23 23 /* Pin Interrupt 23 No Invert */
-#define BITP_PINT_INV_CLR_PIQ22 22 /* Pin Interrupt 22 No Invert */
-#define BITP_PINT_INV_CLR_PIQ21 21 /* Pin Interrupt 21 No Invert */
-#define BITP_PINT_INV_CLR_PIQ20 20 /* Pin Interrupt 20 No Invert */
-#define BITP_PINT_INV_CLR_PIQ19 19 /* Pin Interrupt 19 No Invert */
-#define BITP_PINT_INV_CLR_PIQ18 18 /* Pin Interrupt 18 No Invert */
-#define BITP_PINT_INV_CLR_PIQ17 17 /* Pin Interrupt 17 No Invert */
-#define BITP_PINT_INV_CLR_PIQ16 16 /* Pin Interrupt 16 No Invert */
-#define BITP_PINT_INV_CLR_PIQ15 15 /* Pin Interrupt 15 No Invert */
-#define BITP_PINT_INV_CLR_PIQ14 14 /* Pin Interrupt 14 No Invert */
-#define BITP_PINT_INV_CLR_PIQ13 13 /* Pin Interrupt 13 No Invert */
-#define BITP_PINT_INV_CLR_PIQ12 12 /* Pin Interrupt 12 No Invert */
-#define BITP_PINT_INV_CLR_PIQ11 11 /* Pin Interrupt 11 No Invert */
-#define BITP_PINT_INV_CLR_PIQ10 10 /* Pin Interrupt 10 No Invert */
-#define BITP_PINT_INV_CLR_PIQ9 9 /* Pin Interrupt 9 No Invert */
-#define BITP_PINT_INV_CLR_PIQ8 8 /* Pin Interrupt 8 No Invert */
-#define BITP_PINT_INV_CLR_PIQ7 7 /* Pin Interrupt 7 No Invert */
-#define BITP_PINT_INV_CLR_PIQ6 6 /* Pin Interrupt 6 No Invert */
-#define BITP_PINT_INV_CLR_PIQ5 5 /* Pin Interrupt 5 No Invert */
-#define BITP_PINT_INV_CLR_PIQ4 4 /* Pin Interrupt 4 No Invert */
-#define BITP_PINT_INV_CLR_PIQ3 3 /* Pin Interrupt 3 No Invert */
-#define BITP_PINT_INV_CLR_PIQ2 2 /* Pin Interrupt 2 No Invert */
-#define BITP_PINT_INV_CLR_PIQ1 1 /* Pin Interrupt 1 No Invert */
-#define BITP_PINT_INV_CLR_PIQ0 0 /* Pin Interrupt 0 No Invert */
-#define BITM_PINT_INV_CLR_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 No Invert */
-#define BITM_PINT_INV_CLR_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 No Invert */
-#define BITM_PINT_INV_CLR_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 No Invert */
-#define BITM_PINT_INV_CLR_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 No Invert */
-#define BITM_PINT_INV_CLR_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 No Invert */
-#define BITM_PINT_INV_CLR_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 No Invert */
-#define BITM_PINT_INV_CLR_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 No Invert */
-#define BITM_PINT_INV_CLR_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 No Invert */
-#define BITM_PINT_INV_CLR_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 No Invert */
-#define BITM_PINT_INV_CLR_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 No Invert */
-#define BITM_PINT_INV_CLR_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 No Invert */
-#define BITM_PINT_INV_CLR_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 No Invert */
-#define BITM_PINT_INV_CLR_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 No Invert */
-#define BITM_PINT_INV_CLR_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 No Invert */
-#define BITM_PINT_INV_CLR_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 No Invert */
-#define BITM_PINT_INV_CLR_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 No Invert */
-#define BITM_PINT_INV_CLR_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 No Invert */
-#define BITM_PINT_INV_CLR_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 No Invert */
-#define BITM_PINT_INV_CLR_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 No Invert */
-#define BITM_PINT_INV_CLR_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 No Invert */
-#define BITM_PINT_INV_CLR_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 No Invert */
-#define BITM_PINT_INV_CLR_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 No Invert */
-#define BITM_PINT_INV_CLR_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 No Invert */
-#define BITM_PINT_INV_CLR_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 No Invert */
-#define BITM_PINT_INV_CLR_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 No Invert */
-#define BITM_PINT_INV_CLR_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 No Invert */
-#define BITM_PINT_INV_CLR_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 No Invert */
-#define BITM_PINT_INV_CLR_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 No Invert */
-#define BITM_PINT_INV_CLR_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 No Invert */
-#define BITM_PINT_INV_CLR_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 No Invert */
-#define BITM_PINT_INV_CLR_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 No Invert */
-#define BITM_PINT_INV_CLR_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 No Invert */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_PINSTATE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_PINSTATE_PIQ31 31 /* Pin Interrupt 31 State */
-#define BITP_PINT_PINSTATE_PIQ30 30 /* Pin Interrupt 30 State */
-#define BITP_PINT_PINSTATE_PIQ29 29 /* Pin Interrupt 29 State */
-#define BITP_PINT_PINSTATE_PIQ28 28 /* Pin Interrupt 28 State */
-#define BITP_PINT_PINSTATE_PIQ27 27 /* Pin Interrupt 27 State */
-#define BITP_PINT_PINSTATE_PIQ26 26 /* Pin Interrupt 26 State */
-#define BITP_PINT_PINSTATE_PIQ25 25 /* Pin Interrupt 25 State */
-#define BITP_PINT_PINSTATE_PIQ24 24 /* Pin Interrupt 24 State */
-#define BITP_PINT_PINSTATE_PIQ23 23 /* Pin Interrupt 23 State */
-#define BITP_PINT_PINSTATE_PIQ22 22 /* Pin Interrupt 22 State */
-#define BITP_PINT_PINSTATE_PIQ21 21 /* Pin Interrupt 21 State */
-#define BITP_PINT_PINSTATE_PIQ20 20 /* Pin Interrupt 20 State */
-#define BITP_PINT_PINSTATE_PIQ19 19 /* Pin Interrupt 19 State */
-#define BITP_PINT_PINSTATE_PIQ18 18 /* Pin Interrupt 18 State */
-#define BITP_PINT_PINSTATE_PIQ17 17 /* Pin Interrupt 17 State */
-#define BITP_PINT_PINSTATE_PIQ16 16 /* Pin Interrupt 16 State */
-#define BITP_PINT_PINSTATE_PIQ15 15 /* Pin Interrupt 15 State */
-#define BITP_PINT_PINSTATE_PIQ14 14 /* Pin Interrupt 14 State */
-#define BITP_PINT_PINSTATE_PIQ13 13 /* Pin Interrupt 13 State */
-#define BITP_PINT_PINSTATE_PIQ12 12 /* Pin Interrupt 12 State */
-#define BITP_PINT_PINSTATE_PIQ11 11 /* Pin Interrupt 11 State */
-#define BITP_PINT_PINSTATE_PIQ10 10 /* Pin Interrupt 10 State */
-#define BITP_PINT_PINSTATE_PIQ9 9 /* Pin Interrupt 9 State */
-#define BITP_PINT_PINSTATE_PIQ8 8 /* Pin Interrupt 8 State */
-#define BITP_PINT_PINSTATE_PIQ7 7 /* Pin Interrupt 7 State */
-#define BITP_PINT_PINSTATE_PIQ6 6 /* Pin Interrupt 6 State */
-#define BITP_PINT_PINSTATE_PIQ5 5 /* Pin Interrupt 5 State */
-#define BITP_PINT_PINSTATE_PIQ4 4 /* Pin Interrupt 4 State */
-#define BITP_PINT_PINSTATE_PIQ3 3 /* Pin Interrupt 3 State */
-#define BITP_PINT_PINSTATE_PIQ2 2 /* Pin Interrupt 2 State */
-#define BITP_PINT_PINSTATE_PIQ1 1 /* Pin Interrupt 1 State */
-#define BITP_PINT_PINSTATE_PIQ0 0 /* Pin Interrupt 0 State */
-#define BITM_PINT_PINSTATE_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 State */
-#define BITM_PINT_PINSTATE_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 State */
-#define BITM_PINT_PINSTATE_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 State */
-#define BITM_PINT_PINSTATE_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 State */
-#define BITM_PINT_PINSTATE_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 State */
-#define BITM_PINT_PINSTATE_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 State */
-#define BITM_PINT_PINSTATE_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 State */
-#define BITM_PINT_PINSTATE_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 State */
-#define BITM_PINT_PINSTATE_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 State */
-#define BITM_PINT_PINSTATE_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 State */
-#define BITM_PINT_PINSTATE_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 State */
-#define BITM_PINT_PINSTATE_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 State */
-#define BITM_PINT_PINSTATE_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 State */
-#define BITM_PINT_PINSTATE_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 State */
-#define BITM_PINT_PINSTATE_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 State */
-#define BITM_PINT_PINSTATE_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 State */
-#define BITM_PINT_PINSTATE_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 State */
-#define BITM_PINT_PINSTATE_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 State */
-#define BITM_PINT_PINSTATE_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 State */
-#define BITM_PINT_PINSTATE_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 State */
-#define BITM_PINT_PINSTATE_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 State */
-#define BITM_PINT_PINSTATE_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 State */
-#define BITM_PINT_PINSTATE_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 State */
-#define BITM_PINT_PINSTATE_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 State */
-#define BITM_PINT_PINSTATE_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 State */
-#define BITM_PINT_PINSTATE_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 State */
-#define BITM_PINT_PINSTATE_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 State */
-#define BITM_PINT_PINSTATE_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 State */
-#define BITM_PINT_PINSTATE_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 State */
-#define BITM_PINT_PINSTATE_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 State */
-#define BITM_PINT_PINSTATE_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 State */
-#define BITM_PINT_PINSTATE_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PINT_LATCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PINT_LATCH_PIQ31 31 /* Pin Interrupt 31 Latch */
-#define BITP_PINT_LATCH_PIQ30 30 /* Pin Interrupt 30 Latch */
-#define BITP_PINT_LATCH_PIQ29 29 /* Pin Interrupt 29 Latch */
-#define BITP_PINT_LATCH_PIQ28 28 /* Pin Interrupt 28 Latch */
-#define BITP_PINT_LATCH_PIQ27 27 /* Pin Interrupt 27 Latch */
-#define BITP_PINT_LATCH_PIQ26 26 /* Pin Interrupt 26 Latch */
-#define BITP_PINT_LATCH_PIQ25 25 /* Pin Interrupt 25 Latch */
-#define BITP_PINT_LATCH_PIQ24 24 /* Pin Interrupt 24 Latch */
-#define BITP_PINT_LATCH_PIQ23 23 /* Pin Interrupt 23 Latch */
-#define BITP_PINT_LATCH_PIQ22 22 /* Pin Interrupt 22 Latch */
-#define BITP_PINT_LATCH_PIQ21 21 /* Pin Interrupt 21 Latch */
-#define BITP_PINT_LATCH_PIQ20 20 /* Pin Interrupt 20 Latch */
-#define BITP_PINT_LATCH_PIQ19 19 /* Pin Interrupt 19 Latch */
-#define BITP_PINT_LATCH_PIQ18 18 /* Pin Interrupt 18 Latch */
-#define BITP_PINT_LATCH_PIQ17 17 /* Pin Interrupt 17 Latch */
-#define BITP_PINT_LATCH_PIQ16 16 /* Pin Interrupt 16 Latch */
-#define BITP_PINT_LATCH_PIQ15 15 /* Pin Interrupt 15 Latch */
-#define BITP_PINT_LATCH_PIQ14 14 /* Pin Interrupt 14 Latch */
-#define BITP_PINT_LATCH_PIQ13 13 /* Pin Interrupt 13 Latch */
-#define BITP_PINT_LATCH_PIQ12 12 /* Pin Interrupt 12 Latch */
-#define BITP_PINT_LATCH_PIQ11 11 /* Pin Interrupt 11 Latch */
-#define BITP_PINT_LATCH_PIQ10 10 /* Pin Interrupt 10 Latch */
-#define BITP_PINT_LATCH_PIQ9 9 /* Pin Interrupt 9 Latch */
-#define BITP_PINT_LATCH_PIQ8 8 /* Pin Interrupt 8 Latch */
-#define BITP_PINT_LATCH_PIQ7 7 /* Pin Interrupt 7 Latch */
-#define BITP_PINT_LATCH_PIQ6 6 /* Pin Interrupt 6 Latch */
-#define BITP_PINT_LATCH_PIQ5 5 /* Pin Interrupt 5 Latch */
-#define BITP_PINT_LATCH_PIQ4 4 /* Pin Interrupt 4 Latch */
-#define BITP_PINT_LATCH_PIQ3 3 /* Pin Interrupt 3 Latch */
-#define BITP_PINT_LATCH_PIQ2 2 /* Pin Interrupt 2 Latch */
-#define BITP_PINT_LATCH_PIQ1 1 /* Pin Interrupt 1 Latch */
-#define BITP_PINT_LATCH_PIQ0 0 /* Pin Interrupt 0 Latch */
-#define BITM_PINT_LATCH_PIQ31 (_ADI_MSK(0x80000000,uint32_t)) /* Pin Interrupt 31 Latch */
-#define BITM_PINT_LATCH_PIQ30 (_ADI_MSK(0x40000000,uint32_t)) /* Pin Interrupt 30 Latch */
-#define BITM_PINT_LATCH_PIQ29 (_ADI_MSK(0x20000000,uint32_t)) /* Pin Interrupt 29 Latch */
-#define BITM_PINT_LATCH_PIQ28 (_ADI_MSK(0x10000000,uint32_t)) /* Pin Interrupt 28 Latch */
-#define BITM_PINT_LATCH_PIQ27 (_ADI_MSK(0x08000000,uint32_t)) /* Pin Interrupt 27 Latch */
-#define BITM_PINT_LATCH_PIQ26 (_ADI_MSK(0x04000000,uint32_t)) /* Pin Interrupt 26 Latch */
-#define BITM_PINT_LATCH_PIQ25 (_ADI_MSK(0x02000000,uint32_t)) /* Pin Interrupt 25 Latch */
-#define BITM_PINT_LATCH_PIQ24 (_ADI_MSK(0x01000000,uint32_t)) /* Pin Interrupt 24 Latch */
-#define BITM_PINT_LATCH_PIQ23 (_ADI_MSK(0x00800000,uint32_t)) /* Pin Interrupt 23 Latch */
-#define BITM_PINT_LATCH_PIQ22 (_ADI_MSK(0x00400000,uint32_t)) /* Pin Interrupt 22 Latch */
-#define BITM_PINT_LATCH_PIQ21 (_ADI_MSK(0x00200000,uint32_t)) /* Pin Interrupt 21 Latch */
-#define BITM_PINT_LATCH_PIQ20 (_ADI_MSK(0x00100000,uint32_t)) /* Pin Interrupt 20 Latch */
-#define BITM_PINT_LATCH_PIQ19 (_ADI_MSK(0x00080000,uint32_t)) /* Pin Interrupt 19 Latch */
-#define BITM_PINT_LATCH_PIQ18 (_ADI_MSK(0x00040000,uint32_t)) /* Pin Interrupt 18 Latch */
-#define BITM_PINT_LATCH_PIQ17 (_ADI_MSK(0x00020000,uint32_t)) /* Pin Interrupt 17 Latch */
-#define BITM_PINT_LATCH_PIQ16 (_ADI_MSK(0x00010000,uint32_t)) /* Pin Interrupt 16 Latch */
-#define BITM_PINT_LATCH_PIQ15 (_ADI_MSK(0x00008000,uint32_t)) /* Pin Interrupt 15 Latch */
-#define BITM_PINT_LATCH_PIQ14 (_ADI_MSK(0x00004000,uint32_t)) /* Pin Interrupt 14 Latch */
-#define BITM_PINT_LATCH_PIQ13 (_ADI_MSK(0x00002000,uint32_t)) /* Pin Interrupt 13 Latch */
-#define BITM_PINT_LATCH_PIQ12 (_ADI_MSK(0x00001000,uint32_t)) /* Pin Interrupt 12 Latch */
-#define BITM_PINT_LATCH_PIQ11 (_ADI_MSK(0x00000800,uint32_t)) /* Pin Interrupt 11 Latch */
-#define BITM_PINT_LATCH_PIQ10 (_ADI_MSK(0x00000400,uint32_t)) /* Pin Interrupt 10 Latch */
-#define BITM_PINT_LATCH_PIQ9 (_ADI_MSK(0x00000200,uint32_t)) /* Pin Interrupt 9 Latch */
-#define BITM_PINT_LATCH_PIQ8 (_ADI_MSK(0x00000100,uint32_t)) /* Pin Interrupt 8 Latch */
-#define BITM_PINT_LATCH_PIQ7 (_ADI_MSK(0x00000080,uint32_t)) /* Pin Interrupt 7 Latch */
-#define BITM_PINT_LATCH_PIQ6 (_ADI_MSK(0x00000040,uint32_t)) /* Pin Interrupt 6 Latch */
-#define BITM_PINT_LATCH_PIQ5 (_ADI_MSK(0x00000020,uint32_t)) /* Pin Interrupt 5 Latch */
-#define BITM_PINT_LATCH_PIQ4 (_ADI_MSK(0x00000010,uint32_t)) /* Pin Interrupt 4 Latch */
-#define BITM_PINT_LATCH_PIQ3 (_ADI_MSK(0x00000008,uint32_t)) /* Pin Interrupt 3 Latch */
-#define BITM_PINT_LATCH_PIQ2 (_ADI_MSK(0x00000004,uint32_t)) /* Pin Interrupt 2 Latch */
-#define BITM_PINT_LATCH_PIQ1 (_ADI_MSK(0x00000002,uint32_t)) /* Pin Interrupt 1 Latch */
-#define BITM_PINT_LATCH_PIQ0 (_ADI_MSK(0x00000001,uint32_t)) /* Pin Interrupt 0 Latch */
-
-/* ==================================================
- Static Memory Controller Registers
- ================================================== */
-
-/* =========================
- SMC0
- ========================= */
-#define REG_SMC0_GCTL 0xFFC16004 /* SMC0 Grant Control Register */
-#define REG_SMC0_GSTAT 0xFFC16008 /* SMC0 Grant Status Register */
-#define REG_SMC0_B0CTL 0xFFC1600C /* SMC0 Bank 0 Control Register */
-#define REG_SMC0_B0TIM 0xFFC16010 /* SMC0 Bank 0 Timing Register */
-#define REG_SMC0_B0ETIM 0xFFC16014 /* SMC0 Bank 0 Extended Timing Register */
-#define REG_SMC0_B1CTL 0xFFC1601C /* SMC0 Bank 1 Control Register */
-#define REG_SMC0_B1TIM 0xFFC16020 /* SMC0 Bank 1 Timing Register */
-#define REG_SMC0_B1ETIM 0xFFC16024 /* SMC0 Bank 1 Extended Timing Register */
-#define REG_SMC0_B2CTL 0xFFC1602C /* SMC0 Bank 2 Control Register */
-#define REG_SMC0_B2TIM 0xFFC16030 /* SMC0 Bank 2 Timing Register */
-#define REG_SMC0_B2ETIM 0xFFC16034 /* SMC0 Bank 2 Extended Timing Register */
-#define REG_SMC0_B3CTL 0xFFC1603C /* SMC0 Bank 3 Control Register */
-#define REG_SMC0_B3TIM 0xFFC16040 /* SMC0 Bank 3 Timing Register */
-#define REG_SMC0_B3ETIM 0xFFC16044 /* SMC0 Bank 3 Extended Timing Register */
-
-/* =========================
- SMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GCTL_BGDIS 4 /* Bus Grant Disable */
-#define BITM_SMC_GCTL_BGDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bus Grant Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_GSTAT_BGHSTAT 2 /* Bus Grant Hold Status */
-#define BITP_SMC_GSTAT_BRQSTAT 1 /* Bus Request Status */
-#define BITP_SMC_GSTAT_BGSTAT 0 /* Bus Grant Status */
-#define BITM_SMC_GSTAT_BGHSTAT (_ADI_MSK(0x00000004,uint32_t)) /* Bus Grant Hold Status */
-#define BITM_SMC_GSTAT_BRQSTAT (_ADI_MSK(0x00000002,uint32_t)) /* Bus Request Status */
-#define BITM_SMC_GSTAT_BGSTAT (_ADI_MSK(0x00000001,uint32_t)) /* Bus Grant Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B0CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B0CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B0CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B0CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B0CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B0CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B0CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B0CTL_EN 0 /* Bank 0 Enable */
-#define BITM_SMC_B0CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B0CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B0CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B0CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B0CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B0CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B0CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B0CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B0CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B0TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B0TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B0TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B0TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B0TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B0TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B0TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B0TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B0TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B0TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B0TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B0ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B0ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B0ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B0ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B0ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B0ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B0ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B0ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B0ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B0ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B0ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B1CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B1CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B1CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B1CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B1CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B1CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B1CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B1CTL_EN 0 /* Bank 1 Enable */
-#define BITM_SMC_B1CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B1CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B1CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B1CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B1CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B1CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B1CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B1CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B1CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 1 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B1TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B1TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B1TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B1TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B1TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B1TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B1TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B1TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B1TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B1TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B1TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B1ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B1ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B1ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B1ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B1ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B1ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B1ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B1ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B1ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B1ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B1ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B2CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B2CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B2CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B2CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B2CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B2CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B2CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B2CTL_EN 0 /* Bank 2 Enable */
-#define BITM_SMC_B2CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B2CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B2CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B2CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B2CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B2CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B2CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B2CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B2CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 2 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B2TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B2TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B2TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B2TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B2TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B2TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B2TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B2TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B2TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B2TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B2TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B2ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B2ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B2ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B2ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B2ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B2ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B2ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B2ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B2ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B2ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B2ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3CTL_BTYPE 26 /* Burst Type for Flash */
-#define BITP_SMC_B3CTL_BCLK 24 /* Burst Clock Frequency Divisor */
-#define BITP_SMC_B3CTL_PGSZ 20 /* Flash Page Size */
-#define BITP_SMC_B3CTL_RDYABTEN 14 /* ARDY Abort Enable */
-#define BITP_SMC_B3CTL_RDYPOL 13 /* ARDY Polarity */
-#define BITP_SMC_B3CTL_RDYEN 12 /* ARDY Enable */
-#define BITP_SMC_B3CTL_SELCTRL 8 /* Select Control */
-#define BITP_SMC_B3CTL_MODE 4 /* Memory Access Mode */
-#define BITP_SMC_B3CTL_EN 0 /* Bank 3 Enable */
-#define BITM_SMC_B3CTL_BTYPE (_ADI_MSK(0x04000000,uint32_t)) /* Burst Type for Flash */
-#define BITM_SMC_B3CTL_BCLK (_ADI_MSK(0x03000000,uint32_t)) /* Burst Clock Frequency Divisor */
-#define BITM_SMC_B3CTL_PGSZ (_ADI_MSK(0x00300000,uint32_t)) /* Flash Page Size */
-#define BITM_SMC_B3CTL_RDYABTEN (_ADI_MSK(0x00004000,uint32_t)) /* ARDY Abort Enable */
-#define BITM_SMC_B3CTL_RDYPOL (_ADI_MSK(0x00002000,uint32_t)) /* ARDY Polarity */
-#define BITM_SMC_B3CTL_RDYEN (_ADI_MSK(0x00001000,uint32_t)) /* ARDY Enable */
-#define BITM_SMC_B3CTL_SELCTRL (_ADI_MSK(0x00000300,uint32_t)) /* Select Control */
-#define BITM_SMC_B3CTL_MODE (_ADI_MSK(0x00000030,uint32_t)) /* Memory Access Mode */
-#define BITM_SMC_B3CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Bank 3 Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3TIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3TIM_RAT 24 /* Read Access Time */
-#define BITP_SMC_B3TIM_RHT 20 /* Read Hold Time */
-#define BITP_SMC_B3TIM_RST 16 /* Read Setup Time */
-#define BITP_SMC_B3TIM_WAT 8 /* Write Access Time */
-#define BITP_SMC_B3TIM_WHT 4 /* Write Hold Time */
-#define BITP_SMC_B3TIM_WST 0 /* Write Setup Time */
-#define BITM_SMC_B3TIM_RAT (_ADI_MSK(0x3F000000,uint32_t)) /* Read Access Time */
-#define BITM_SMC_B3TIM_RHT (_ADI_MSK(0x00700000,uint32_t)) /* Read Hold Time */
-#define BITM_SMC_B3TIM_RST (_ADI_MSK(0x00070000,uint32_t)) /* Read Setup Time */
-#define BITM_SMC_B3TIM_WAT (_ADI_MSK(0x00003F00,uint32_t)) /* Write Access Time */
-#define BITM_SMC_B3TIM_WHT (_ADI_MSK(0x00000070,uint32_t)) /* Write Hold Time */
-#define BITM_SMC_B3TIM_WST (_ADI_MSK(0x00000007,uint32_t)) /* Write Setup Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SMC_B3ETIM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SMC_B3ETIM_PGWS 16 /* Page Wait States */
-#define BITP_SMC_B3ETIM_IT 12 /* Idle Time */
-#define BITP_SMC_B3ETIM_TT 8 /* Transition Time */
-#define BITP_SMC_B3ETIM_PREAT 4 /* Pre Access Time */
-#define BITP_SMC_B3ETIM_PREST 0 /* Pre Setup Time */
-#define BITM_SMC_B3ETIM_PGWS (_ADI_MSK(0x000F0000,uint32_t)) /* Page Wait States */
-#define BITM_SMC_B3ETIM_IT (_ADI_MSK(0x00007000,uint32_t)) /* Idle Time */
-#define BITM_SMC_B3ETIM_TT (_ADI_MSK(0x00000700,uint32_t)) /* Transition Time */
-#define BITM_SMC_B3ETIM_PREAT (_ADI_MSK(0x00000030,uint32_t)) /* Pre Access Time */
-#define BITM_SMC_B3ETIM_PREST (_ADI_MSK(0x00000003,uint32_t)) /* Pre Setup Time */
-
-/* ==================================================
- Watch Dog Timer Unit Registers
- ================================================== */
-
-/* =========================
- WDOG0
- ========================= */
-#define REG_WDOG0_CTL 0xFFC17000 /* WDOG0 Control Register */
-#define REG_WDOG0_CNT 0xFFC17004 /* WDOG0 Count Register */
-#define REG_WDOG0_STAT 0xFFC17008 /* WDOG0 Watchdog Timer Status Register */
-
-/* =========================
- WDOG1
- ========================= */
-#define REG_WDOG1_CTL 0xFFC17800 /* WDOG1 Control Register */
-#define REG_WDOG1_CNT 0xFFC17804 /* WDOG1 Count Register */
-#define REG_WDOG1_STAT 0xFFC17808 /* WDOG1 Watchdog Timer Status Register */
-
-/* =========================
- WDOG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WDOG_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WDOG_CTL_WDRO 15 /* Watch Dog Rollover */
-#define BITP_WDOG_CTL_WDEN 4 /* Watch Dog Enable */
-
-#define BITM_WDOG_CTL_WDRO (_ADI_MSK(0x00008000,uint32_t)) /* Watch Dog Rollover */
-#define ENUM_WDOG_CTL_WDTEXP (_ADI_MSK(0x00008000,uint32_t)) /* WDRO: WDT has expired */
-#define BITM_WDOG_CTL_WDEN (_ADI_MSK(0x00000FF0,uint32_t)) /* Watch Dog Enable */
-
-/* ==================================================
- EPPI Registers
- ================================================== */
-
-/* =========================
- EPPI0
- ========================= */
-#define REG_EPPI0_STAT 0xFFC18000 /* EPPI0 Status Register */
-#define REG_EPPI0_HCNT 0xFFC18004 /* EPPI0 Horizontal Transfer Count Register */
-#define REG_EPPI0_HDLY 0xFFC18008 /* EPPI0 Horizontal Delay Count Register */
-#define REG_EPPI0_VCNT 0xFFC1800C /* EPPI0 Vertical Transfer Count Register */
-#define REG_EPPI0_VDLY 0xFFC18010 /* EPPI0 Vertical Delay Count Register */
-#define REG_EPPI0_FRAME 0xFFC18014 /* EPPI0 Lines Per Frame Register */
-#define REG_EPPI0_LINE 0xFFC18018 /* EPPI0 Samples Per Line Register */
-#define REG_EPPI0_CLKDIV 0xFFC1801C /* EPPI0 Clock Divide Register */
-#define REG_EPPI0_CTL 0xFFC18020 /* EPPI0 Control Register */
-#define REG_EPPI0_FS1_WLHB 0xFFC18024 /* EPPI0 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI0_FS1_PASPL 0xFFC18028 /* EPPI0 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI0_FS2_WLVB 0xFFC1802C /* EPPI0 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI0_FS2_PALPF 0xFFC18030 /* EPPI0 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI0_IMSK 0xFFC18034 /* EPPI0 Interrupt Mask Register */
-#define REG_EPPI0_ODDCLIP 0xFFC1803C /* EPPI0 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI0_EVENCLIP 0xFFC18040 /* EPPI0 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI0_FS1_DLY 0xFFC18044 /* EPPI0 Frame Sync 1 Delay Value */
-#define REG_EPPI0_FS2_DLY 0xFFC18048 /* EPPI0 Frame Sync 2 Delay Value */
-#define REG_EPPI0_CTL2 0xFFC1804C /* EPPI0 Control Register 2 */
-
-/* =========================
- EPPI1
- ========================= */
-#define REG_EPPI1_STAT 0xFFC18400 /* EPPI1 Status Register */
-#define REG_EPPI1_HCNT 0xFFC18404 /* EPPI1 Horizontal Transfer Count Register */
-#define REG_EPPI1_HDLY 0xFFC18408 /* EPPI1 Horizontal Delay Count Register */
-#define REG_EPPI1_VCNT 0xFFC1840C /* EPPI1 Vertical Transfer Count Register */
-#define REG_EPPI1_VDLY 0xFFC18410 /* EPPI1 Vertical Delay Count Register */
-#define REG_EPPI1_FRAME 0xFFC18414 /* EPPI1 Lines Per Frame Register */
-#define REG_EPPI1_LINE 0xFFC18418 /* EPPI1 Samples Per Line Register */
-#define REG_EPPI1_CLKDIV 0xFFC1841C /* EPPI1 Clock Divide Register */
-#define REG_EPPI1_CTL 0xFFC18420 /* EPPI1 Control Register */
-#define REG_EPPI1_FS1_WLHB 0xFFC18424 /* EPPI1 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI1_FS1_PASPL 0xFFC18428 /* EPPI1 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI1_FS2_WLVB 0xFFC1842C /* EPPI1 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI1_FS2_PALPF 0xFFC18430 /* EPPI1 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI1_IMSK 0xFFC18434 /* EPPI1 Interrupt Mask Register */
-#define REG_EPPI1_ODDCLIP 0xFFC1843C /* EPPI1 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI1_EVENCLIP 0xFFC18440 /* EPPI1 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI1_FS1_DLY 0xFFC18444 /* EPPI1 Frame Sync 1 Delay Value */
-#define REG_EPPI1_FS2_DLY 0xFFC18448 /* EPPI1 Frame Sync 2 Delay Value */
-#define REG_EPPI1_CTL2 0xFFC1844C /* EPPI1 Control Register 2 */
-
-/* =========================
- EPPI2
- ========================= */
-#define REG_EPPI2_STAT 0xFFC18800 /* EPPI2 Status Register */
-#define REG_EPPI2_HCNT 0xFFC18804 /* EPPI2 Horizontal Transfer Count Register */
-#define REG_EPPI2_HDLY 0xFFC18808 /* EPPI2 Horizontal Delay Count Register */
-#define REG_EPPI2_VCNT 0xFFC1880C /* EPPI2 Vertical Transfer Count Register */
-#define REG_EPPI2_VDLY 0xFFC18810 /* EPPI2 Vertical Delay Count Register */
-#define REG_EPPI2_FRAME 0xFFC18814 /* EPPI2 Lines Per Frame Register */
-#define REG_EPPI2_LINE 0xFFC18818 /* EPPI2 Samples Per Line Register */
-#define REG_EPPI2_CLKDIV 0xFFC1881C /* EPPI2 Clock Divide Register */
-#define REG_EPPI2_CTL 0xFFC18820 /* EPPI2 Control Register */
-#define REG_EPPI2_FS1_WLHB 0xFFC18824 /* EPPI2 FS1 Width Register / EPPI Horizontal Blanking Samples Per Line Register */
-#define REG_EPPI2_FS1_PASPL 0xFFC18828 /* EPPI2 FS1 Period Register / EPPI Active Samples Per Line Register */
-#define REG_EPPI2_FS2_WLVB 0xFFC1882C /* EPPI2 FS2 Width Register / EPPI Lines Of Vertical Blanking Register */
-#define REG_EPPI2_FS2_PALPF 0xFFC18830 /* EPPI2 FS2 Period Register / EPPI Active Lines Per Field Register */
-#define REG_EPPI2_IMSK 0xFFC18834 /* EPPI2 Interrupt Mask Register */
-#define REG_EPPI2_ODDCLIP 0xFFC1883C /* EPPI2 Clipping Register for ODD (Chroma) Data */
-#define REG_EPPI2_EVENCLIP 0xFFC18840 /* EPPI2 Clipping Register for EVEN (Luma) Data */
-#define REG_EPPI2_FS1_DLY 0xFFC18844 /* EPPI2 Frame Sync 1 Delay Value */
-#define REG_EPPI2_FS2_DLY 0xFFC18848 /* EPPI2 Frame Sync 2 Delay Value */
-#define REG_EPPI2_CTL2 0xFFC1884C /* EPPI2 Control Register 2 */
-
-/* =========================
- EPPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_STAT_FLD 15 /* Current Field Received by EPPI */
-#define BITP_EPPI_STAT_ERRDET 14 /* Preamble Error Detected */
-#define BITP_EPPI_STAT_PXPERR 7 /* PxP Ready Error */
-#define BITP_EPPI_STAT_ERRNCOR 6 /* Preamble Error Not Corrected */
-#define BITP_EPPI_STAT_FTERRUNDR 5 /* Frame Track Underflow */
-#define BITP_EPPI_STAT_FTERROVR 4 /* Frame Track Overflow */
-#define BITP_EPPI_STAT_LTERRUNDR 3 /* Line Track Underflow */
-#define BITP_EPPI_STAT_LTERROVR 2 /* Line Track Overflow */
-#define BITP_EPPI_STAT_YFIFOERR 1 /* Luma FIFO Error */
-#define BITP_EPPI_STAT_CFIFOERR 0 /* Chroma FIFO Error */
-
-#define BITM_EPPI_STAT_FLD (_ADI_MSK(0x00008000,uint32_t)) /* Current Field Received by EPPI */
-#define ENUM_EPPI_STAT_FIELD1 (_ADI_MSK(0x00000000,uint32_t)) /* FLD: Field 1 */
-#define ENUM_EPPI_STAT_FIELD2 (_ADI_MSK(0x00008000,uint32_t)) /* FLD: Field 2 */
-
-#define BITM_EPPI_STAT_ERRDET (_ADI_MSK(0x00004000,uint32_t)) /* Preamble Error Detected */
-#define ENUM_EPPI_STAT_NO_PRERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRDET: No preamble error detected */
-#define ENUM_EPPI_STAT_PRERR (_ADI_MSK(0x00004000,uint32_t)) /* ERRDET: Preamble error detected */
-#define BITM_EPPI_STAT_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error */
-
-#define BITM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* Preamble Error Not Corrected */
-#define ENUM_EPPI_STAT_NO_ERRNCOR (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: No uncorrected preamble error has occurred */
-#define ENUM_EPPI_STAT_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Preamble error detected but not corrected */
-
-#define BITM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow */
-#define ENUM_EPPI_STAT_NO_FTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow */
-#define ENUM_EPPI_STAT_NO_FTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow */
-#define ENUM_EPPI_STAT_NO_LTERRUNDR (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Error Occurred */
-
-#define BITM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow */
-#define ENUM_EPPI_STAT_NO_LTERROVR (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: No Error Detected */
-#define ENUM_EPPI_STAT_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Error Occurred */
-
-#define BITM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* Luma FIFO Error */
-#define ENUM_EPPI_STAT_NO_YFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Error Occurred */
-
-#define BITM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* Chroma FIFO Error */
-#define ENUM_EPPI_STAT_NO_CFIFOERR (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: No Error Detected */
-#define ENUM_EPPI_STAT_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HCNT_VALUE 0 /* Horizontal Transfer Count */
-#define BITM_EPPI_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_HDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_HDLY_VALUE 0 /* Horizontal Delay Count */
-#define BITM_EPPI_HDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VCNT_VALUE 0 /* Vertical Transfer Count */
-#define BITM_EPPI_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Transfer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_VDLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_VDLY_VALUE 0 /* Vertical Delay Count */
-#define BITM_EPPI_VDLY_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FRAME_VALUE 0 /* Lines Per Frame */
-#define BITM_EPPI_FRAME_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lines Per Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_LINE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_LINE_VALUE 0 /* Samples Per Line */
-#define BITM_EPPI_LINE_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Samples Per Line */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CLKDIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CLKDIV_VALUE 0 /* Internal Clock Divider */
-#define BITM_EPPI_CLKDIV_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Internal Clock Divider */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL_CLKGATEN 31 /* Clock Gating Enable */
-#define BITP_EPPI_CTL_MUXSEL 30 /* MUX Select */
-#define BITP_EPPI_CTL_DMAFINEN 29 /* DMA Finish Enable */
-#define BITP_EPPI_CTL_DMACFG 28 /* One or Two DMA Channels Mode */
-#define BITP_EPPI_CTL_RGBFMTEN 27 /* RGB Formatting Enable */
-#define BITP_EPPI_CTL_SPLTWRD 26 /* Split Word */
-#define BITP_EPPI_CTL_SUBSPLTODD 25 /* Sub-Split Odd Samples */
-#define BITP_EPPI_CTL_SPLTEO 24 /* Split Even and Odd Data Samples */
-#define BITP_EPPI_CTL_SWAPEN 23 /* Swap Enable */
-#define BITP_EPPI_CTL_PACKEN 22 /* Pack/Unpack Enable */
-#define BITP_EPPI_CTL_SKIPEO 21 /* Skip Even or Odd */
-#define BITP_EPPI_CTL_SKIPEN 20 /* Skip Enable */
-#define BITP_EPPI_CTL_DMIRR 19 /* Data Mirroring */
-#define BITP_EPPI_CTL_DLEN 16 /* Data Length */
-#define BITP_EPPI_CTL_POLS 14 /* Frame Sync Polarity */
-#define BITP_EPPI_CTL_POLC 12 /* Clock Polarity */
-#define BITP_EPPI_CTL_SIGNEXT 11 /* Sign Extension */
-#define BITP_EPPI_CTL_IFSGEN 10 /* Internal Frame Sync Generation */
-#define BITP_EPPI_CTL_ICLKGEN 9 /* Internal Clock Generation */
-#define BITP_EPPI_CTL_BLANKGEN 8 /* king Generation (ITU Output Mode) */
-#define BITP_EPPI_CTL_ITUTYPE 7 /* ITU Interlace or Progressive */
-#define BITP_EPPI_CTL_FLDSEL 6 /* Field Select/Trigger */
-#define BITP_EPPI_CTL_FSCFG 4 /* Frame Sync Configuration */
-#define BITP_EPPI_CTL_XFRTYPE 2 /* Transfer Type ( Operating Mode) */
-#define BITP_EPPI_CTL_DIR 1 /* PPI Direction */
-#define BITP_EPPI_CTL_EN 0 /* PPI Enable */
-
-#define BITM_EPPI_CTL_CLKGATEN (_ADI_MSK(0x80000000,uint32_t)) /* Clock Gating Enable */
-#define ENUM_EPPI_CTL_CLKGATE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CLKGATEN: Disable */
-#define ENUM_EPPI_CTL_CLKGATE_EN (_ADI_MSK(0x80000000,uint32_t)) /* CLKGATEN: Enable */
-
-#define BITM_EPPI_CTL_MUXSEL (_ADI_MSK(0x40000000,uint32_t)) /* MUX Select */
-#define ENUM_EPPI_CTL_MUXSEL0 (_ADI_MSK(0x00000000,uint32_t)) /* MUXSEL: Normal Operation */
-#define ENUM_EPPI_CTL_MUXSEL1 (_ADI_MSK(0x40000000,uint32_t)) /* MUXSEL: Multiplexed Operation */
-
-#define BITM_EPPI_CTL_DMAFINEN (_ADI_MSK(0x20000000,uint32_t)) /* DMA Finish Enable */
-#define ENUM_EPPI_CTL_FINISH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DMAFINEN: No Finish Command */
-#define ENUM_EPPI_CTL_FINISH_EN (_ADI_MSK(0x20000000,uint32_t)) /* DMAFINEN: Enable Send Finish Command */
-
-#define BITM_EPPI_CTL_DMACFG (_ADI_MSK(0x10000000,uint32_t)) /* One or Two DMA Channels Mode */
-#define ENUM_EPPI_CTL_DMA1CHAN (_ADI_MSK(0x00000000,uint32_t)) /* DMACFG: PPI uses one DMA Channel */
-#define ENUM_EPPI_CTL_DMA2CHAN (_ADI_MSK(0x10000000,uint32_t)) /* DMACFG: PPI uses two DMA Channels */
-
-#define BITM_EPPI_CTL_RGBFMTEN (_ADI_MSK(0x08000000,uint32_t)) /* RGB Formatting Enable */
-#define ENUM_EPPI_CTL_RGBFMT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RGBFMTEN: Disable RGB Formatted Output */
-#define ENUM_EPPI_CTL_RGBFMT_EN (_ADI_MSK(0x08000000,uint32_t)) /* RGBFMTEN: Enable RGB Formatted Output */
-
-#define BITM_EPPI_CTL_SPLTWRD (_ADI_MSK(0x04000000,uint32_t)) /* Split Word */
-#define ENUM_EPPI_CTL_NO_WORDSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SPLTWRD: PPI_DATA has (DLEN-1) bits of Y or Cr or Cb */
-#define ENUM_EPPI_CTL_WORDSPLIT (_ADI_MSK(0x04000000,uint32_t)) /* SPLTWRD: PPI_DATA contains 2 elements per word */
-
-#define BITM_EPPI_CTL_SUBSPLTODD (_ADI_MSK(0x02000000,uint32_t)) /* Sub-Split Odd Samples */
-#define ENUM_EPPI_CTL_NO_SUBSPLIT (_ADI_MSK(0x00000000,uint32_t)) /* SUBSPLTODD: Disable */
-#define ENUM_EPPI_CTL_SUBSPLIT_ODD (_ADI_MSK(0x02000000,uint32_t)) /* SUBSPLTODD: Enable */
-
-#define BITM_EPPI_CTL_SPLTEO (_ADI_MSK(0x01000000,uint32_t)) /* Split Even and Odd Data Samples */
-#define ENUM_EPPI_CTL_SPLTEO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPLTEO: Do Not Split Samples */
-#define ENUM_EPPI_CTL_SPLTEO_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPLTEO: Split Even/Odd Samples */
-
-#define BITM_EPPI_CTL_SWAPEN (_ADI_MSK(0x00800000,uint32_t)) /* Swap Enable */
-#define ENUM_EPPI_CTL_SWAP_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SWAPEN: Disable */
-#define ENUM_EPPI_CTL_SWAP_EN (_ADI_MSK(0x00800000,uint32_t)) /* SWAPEN: Enable */
-
-#define BITM_EPPI_CTL_PACKEN (_ADI_MSK(0x00400000,uint32_t)) /* Pack/Unpack Enable */
-#define ENUM_EPPI_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACKEN: Disable */
-#define ENUM_EPPI_CTL_PACK_EN (_ADI_MSK(0x00400000,uint32_t)) /* PACKEN: Enable */
-
-#define BITM_EPPI_CTL_SKIPEO (_ADI_MSK(0x00200000,uint32_t)) /* Skip Even or Odd */
-#define ENUM_EPPI_CTL_SKIPODD (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEO: Skip Odd Samples */
-#define ENUM_EPPI_CTL_SKIPEVEN (_ADI_MSK(0x00200000,uint32_t)) /* SKIPEO: Skip Even Samples */
-
-#define BITM_EPPI_CTL_SKIPEN (_ADI_MSK(0x00100000,uint32_t)) /* Skip Enable */
-#define ENUM_EPPI_CTL_NO_SKIP (_ADI_MSK(0x00000000,uint32_t)) /* SKIPEN: No Samples Skipping */
-#define ENUM_EPPI_CTL_SKIP (_ADI_MSK(0x00100000,uint32_t)) /* SKIPEN: Skip Alternate Samples */
-
-#define BITM_EPPI_CTL_DMIRR (_ADI_MSK(0x00080000,uint32_t)) /* Data Mirroring */
-#define ENUM_EPPI_CTL_NO_MIRROR (_ADI_MSK(0x00000000,uint32_t)) /* DMIRR: No Data Mirroring */
-#define ENUM_EPPI_CTL_MIRROR (_ADI_MSK(0x00080000,uint32_t)) /* DMIRR: Data Mirroring */
-
-#define BITM_EPPI_CTL_DLEN (_ADI_MSK(0x00070000,uint32_t)) /* Data Length */
-#define ENUM_EPPI_CTL_DLEN08 (_ADI_MSK(0x00000000,uint32_t)) /* DLEN: 8 bits */
-#define ENUM_EPPI_CTL_DLEN10 (_ADI_MSK(0x00010000,uint32_t)) /* DLEN: 10 bits */
-#define ENUM_EPPI_CTL_DLEN12 (_ADI_MSK(0x00020000,uint32_t)) /* DLEN: 12 bits */
-#define ENUM_EPPI_CTL_DLEN14 (_ADI_MSK(0x00030000,uint32_t)) /* DLEN: 14 bits */
-#define ENUM_EPPI_CTL_DLEN16 (_ADI_MSK(0x00040000,uint32_t)) /* DLEN: 16 bits */
-#define ENUM_EPPI_CTL_DLEN18 (_ADI_MSK(0x00050000,uint32_t)) /* DLEN: 18 bits */
-#define ENUM_EPPI_CTL_DLEN20 (_ADI_MSK(0x00060000,uint32_t)) /* DLEN: 20 bits */
-#define ENUM_EPPI_CTL_DLEN24 (_ADI_MSK(0x00070000,uint32_t)) /* DLEN: 24 bits */
-
-#define BITM_EPPI_CTL_POLS (_ADI_MSK(0x0000C000,uint32_t)) /* Frame Sync Polarity */
-#define ENUM_EPPI_CTL_FS1HI_FS2HI (_ADI_MSK(0x00000000,uint32_t)) /* POLS: FS1 and FS2 are active high */
-#define ENUM_EPPI_CTL_FS1LO_FS2HI (_ADI_MSK(0x00004000,uint32_t)) /* POLS: FS1 is active low. FS2 is active high */
-#define ENUM_EPPI_CTL_FS1HI_FS2LO (_ADI_MSK(0x00008000,uint32_t)) /* POLS: FS1 is active high. FS2 is active low */
-#define ENUM_EPPI_CTL_FS1LO_FS2LO (_ADI_MSK(0x0000C000,uint32_t)) /* POLS: FS1 and FS2 are active low */
-
-#define BITM_EPPI_CTL_POLC (_ADI_MSK(0x00003000,uint32_t)) /* Clock Polarity */
-#define ENUM_EPPI_CTL_POLC00 (_ADI_MSK(0x00000000,uint32_t)) /* POLC: Clock/Sync polarity mode 0 */
-#define ENUM_EPPI_CTL_POLC01 (_ADI_MSK(0x00001000,uint32_t)) /* POLC: Clock/Sync polarity mode 1 */
-#define ENUM_EPPI_CTL_POLC10 (_ADI_MSK(0x00002000,uint32_t)) /* POLC: Clock/Sync polarity mode 2 */
-#define ENUM_EPPI_CTL_POLC11 (_ADI_MSK(0x00003000,uint32_t)) /* POLC: Clock/Sync polarity mode 3 */
-
-#define BITM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* Sign Extension */
-#define ENUM_EPPI_CTL_ZEROFILL (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Filled */
-#define ENUM_EPPI_CTL_SIGNEXT (_ADI_MSK(0x00000800,uint32_t)) /* SIGNEXT: Sign Extended */
-
-#define BITM_EPPI_CTL_IFSGEN (_ADI_MSK(0x00000400,uint32_t)) /* Internal Frame Sync Generation */
-#define ENUM_EPPI_CTL_EXTFS (_ADI_MSK(0x00000000,uint32_t)) /* IFSGEN: External Frame Sync */
-#define ENUM_EPPI_CTL_INTFS (_ADI_MSK(0x00000400,uint32_t)) /* IFSGEN: Internal Frame Sync */
-
-#define BITM_EPPI_CTL_ICLKGEN (_ADI_MSK(0x00000200,uint32_t)) /* Internal Clock Generation */
-#define ENUM_EPPI_CTL_EXTCLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLKGEN: External Clock */
-#define ENUM_EPPI_CTL_INTCLK (_ADI_MSK(0x00000200,uint32_t)) /* ICLKGEN: Internal Clock */
-
-#define BITM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* king Generation (ITU Output Mode) */
-#define ENUM_EPPI_CTL_NO_BLANKGEN (_ADI_MSK(0x00000000,uint32_t)) /* BLANKGEN: Disable */
-#define ENUM_EPPI_CTL_BLANKGEN (_ADI_MSK(0x00000100,uint32_t)) /* BLANKGEN: Enable */
-
-#define BITM_EPPI_CTL_ITUTYPE (_ADI_MSK(0x00000080,uint32_t)) /* ITU Interlace or Progressive */
-#define ENUM_EPPI_CTL_INTERLACED (_ADI_MSK(0x00000000,uint32_t)) /* ITUTYPE: Interlaced */
-#define ENUM_EPPI_CTL_PROGRESSIVE (_ADI_MSK(0x00000080,uint32_t)) /* ITUTYPE: Progressive */
-
-#define BITM_EPPI_CTL_FLDSEL (_ADI_MSK(0x00000040,uint32_t)) /* Field Select/Trigger */
-#define ENUM_EPPI_CTL_FLDSEL_LO (_ADI_MSK(0x00000000,uint32_t)) /* FLDSEL: Field Mode 0 */
-#define ENUM_EPPI_CTL_FLDSEL_HI (_ADI_MSK(0x00000040,uint32_t)) /* FLDSEL: Field Mode 1 */
-
-#define BITM_EPPI_CTL_FSCFG (_ADI_MSK(0x00000030,uint32_t)) /* Frame Sync Configuration */
-#define ENUM_EPPI_CTL_SYNC0 (_ADI_MSK(0x00000000,uint32_t)) /* FSCFG: Sync Mode 0 */
-#define ENUM_EPPI_CTL_SYNC1 (_ADI_MSK(0x00000010,uint32_t)) /* FSCFG: Sync Mode 1 */
-#define ENUM_EPPI_CTL_SYNC2 (_ADI_MSK(0x00000020,uint32_t)) /* FSCFG: Sync Mode 2 */
-#define ENUM_EPPI_CTL_SYNC3 (_ADI_MSK(0x00000030,uint32_t)) /* FSCFG: Sync Mode 3 */
-
-#define BITM_EPPI_CTL_XFRTYPE (_ADI_MSK(0x0000000C,uint32_t)) /* Transfer Type ( Operating Mode) */
-#define ENUM_EPPI_CTL_ACTIVE656 (_ADI_MSK(0x00000000,uint32_t)) /* XFRTYPE: ITU656 Active Video Only Mode */
-#define ENUM_EPPI_CTL_ENTIRE656 (_ADI_MSK(0x00000004,uint32_t)) /* XFRTYPE: ITU656 Entire Field Mode */
-#define ENUM_EPPI_CTL_VERT656 (_ADI_MSK(0x00000008,uint32_t)) /* XFRTYPE: ITU656 Vertical Blanking Only Mode */
-#define ENUM_EPPI_CTL_NON656 (_ADI_MSK(0x0000000C,uint32_t)) /* XFRTYPE: Non-ITU656 Mode (GP Mode) */
-
-#define BITM_EPPI_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* PPI Direction */
-#define ENUM_EPPI_CTL_RXMODE (_ADI_MSK(0x00000000,uint32_t)) /* DIR: Receive Mode */
-#define ENUM_EPPI_CTL_TXMODE (_ADI_MSK(0x00000002,uint32_t)) /* DIR: Transmit Mode */
-
-#define BITM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* PPI Enable */
-#define ENUM_EPPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_EPPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_WLVB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_WLVB_F2VBAD 24 /* Field 2 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F2VBBD 16 /* Field 2 Vertical Blanking Before Data */
-#define BITP_EPPI_FS2_WLVB_F1VBAD 8 /* Field 1 Vertical Blanking After Data */
-#define BITP_EPPI_FS2_WLVB_F1VBBD 0 /* Field 1 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F2VBAD (_ADI_MSK(0xFF000000,uint32_t)) /* Field 2 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F2VBBD (_ADI_MSK(0x00FF0000,uint32_t)) /* Field 2 Vertical Blanking Before Data */
-#define BITM_EPPI_FS2_WLVB_F1VBAD (_ADI_MSK(0x0000FF00,uint32_t)) /* Field 1 Vertical Blanking After Data */
-#define BITM_EPPI_FS2_WLVB_F1VBBD (_ADI_MSK(0x000000FF,uint32_t)) /* Field 1 Vertical Blanking Before Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_FS2_PALPF Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_FS2_PALPF_F2ACT 16 /* Field 2 Active */
-#define BITP_EPPI_FS2_PALPF_F1ACT 0 /* Field 1 Active */
-#define BITM_EPPI_FS2_PALPF_F2ACT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Field 2 Active */
-#define BITM_EPPI_FS2_PALPF_F1ACT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Field 1 Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_IMSK_PXPERR 7 /* PxP Ready Error Interrupt Mask */
-#define BITP_EPPI_IMSK_ERRNCOR 6 /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERRUNDR 5 /* Frame Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_FTERROVR 4 /* Frame Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERRUNDR 3 /* Line Track Underflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_LTERROVR 2 /* Line Track Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_YFIFOERR 1 /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define BITP_EPPI_IMSK_CFIFOERR 0 /* CFIFO Underflow or Overflow Error Interrupt Mask */
-
-#define BITM_EPPI_IMSK_PXPERR (_ADI_MSK(0x00000080,uint32_t)) /* PxP Ready Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_PXPERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* PXPERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_PXPERR_MSK (_ADI_MSK(0x00000080,uint32_t)) /* PXPERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_ERRNCOR (_ADI_MSK(0x00000040,uint32_t)) /* ITU Preamble Error Not Corrected Interrupt Mask */
-#define ENUM_EPPI_IMSK_ERRNCOR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* ERRNCOR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_ERRNCOR_MSK (_ADI_MSK(0x00000040,uint32_t)) /* ERRNCOR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERRUNDR (_ADI_MSK(0x00000020,uint32_t)) /* Frame Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERRUNDR_MSK (_ADI_MSK(0x00000020,uint32_t)) /* FTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_FTERROVR (_ADI_MSK(0x00000010,uint32_t)) /* Frame Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_FTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* FTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_FTERROVR_MSK (_ADI_MSK(0x00000010,uint32_t)) /* FTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERRUNDR (_ADI_MSK(0x00000008,uint32_t)) /* Line Track Underflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERRUNDR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERRUNDR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERRUNDR_MSK (_ADI_MSK(0x00000008,uint32_t)) /* LTERRUNDR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_LTERROVR (_ADI_MSK(0x00000004,uint32_t)) /* Line Track Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_LTERROVR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* LTERROVR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_LTERROVR_MSK (_ADI_MSK(0x00000004,uint32_t)) /* LTERROVR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_YFIFOERR (_ADI_MSK(0x00000002,uint32_t)) /* YFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_YFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* YFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_YFIFOERR_MSK (_ADI_MSK(0x00000002,uint32_t)) /* YFIFOERR: Mask Interrupt */
-
-#define BITM_EPPI_IMSK_CFIFOERR (_ADI_MSK(0x00000001,uint32_t)) /* CFIFO Underflow or Overflow Error Interrupt Mask */
-#define ENUM_EPPI_IMSK_CFIFOERR_UMSK (_ADI_MSK(0x00000000,uint32_t)) /* CFIFOERR: Unmask Interrupt */
-#define ENUM_EPPI_IMSK_CFIFOERR_MSK (_ADI_MSK(0x00000001,uint32_t)) /* CFIFOERR: Mask Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_ODDCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_ODDCLIP_HIGHODD 16 /* High Odd Clipping Threshold (Chroma Data) */
-#define BITP_EPPI_ODDCLIP_LOWODD 0 /* Low Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_HIGHODD (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Odd Clipping Threshold (Chroma Data) */
-#define BITM_EPPI_ODDCLIP_LOWODD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Odd Clipping Threshold (Chroma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_EVENCLIP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_EVENCLIP_HIGHEVEN 16 /* High Even Clipping Threshold (Luma Data) */
-#define BITP_EPPI_EVENCLIP_LOWEVEN 0 /* Low Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_HIGHEVEN (_ADI_MSK(0xFFFF0000,uint32_t)) /* High Even Clipping Threshold (Luma Data) */
-#define BITM_EPPI_EVENCLIP_LOWEVEN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Low Even Clipping Threshold (Luma Data) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EPPI_CTL2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EPPI_CTL2_FS1FINEN 1 /* HSYNC Finish Enable */
-
-#define BITM_EPPI_CTL2_FS1FINEN (_ADI_MSK(0x00000002,uint32_t)) /* HSYNC Finish Enable */
-#define ENUM_EPPI_CTL2_FS2FIN_EN (_ADI_MSK(0x00000000,uint32_t)) /* FS1FINEN: Finish sent after frame RX done */
-#define ENUM_EPPI_CTL2_FS1FIN_EN (_ADI_MSK(0x00000002,uint32_t)) /* FS1FINEN: Finish sent after frame/line RX done */
-
-/* ==================================================
- Pixel Compositor Registers
- ================================================== */
-
-/* =========================
- PIXC0
- ========================= */
-#define REG_PIXC0_CTL 0xFFC19000 /* PIXC0 Control Register */
-#define REG_PIXC0_PPL 0xFFC19004 /* PIXC0 Pixels Per Line Register */
-#define REG_PIXC0_LPF 0xFFC19008 /* PIXC0 Line Per Frame Register */
-#define REG_PIXC0_HSTART_A 0xFFC1900C /* PIXC0 Overlay A Horizontal Start Register */
-#define REG_PIXC0_HEND_A 0xFFC19010 /* PIXC0 Overlay A Horizontal End Register */
-#define REG_PIXC0_VSTART_A 0xFFC19014 /* PIXC0 Overlay A Vertical Start Register */
-#define REG_PIXC0_VEND_A 0xFFC19018 /* PIXC0 Overlay A Vertical End Register */
-#define REG_PIXC0_TRANSP_A 0xFFC1901C /* PIXC0 Overlay A Transparency Ratio Register */
-#define REG_PIXC0_HSTART_B 0xFFC19020 /* PIXC0 Overlay B Horizontal Start Register */
-#define REG_PIXC0_HEND_B 0xFFC19024 /* PIXC0 Overlay B Horizontal End Register */
-#define REG_PIXC0_VSTART_B 0xFFC19028 /* PIXC0 Overlay B Vertical Start Register */
-#define REG_PIXC0_VEND_B 0xFFC1902C /* PIXC0 Overlay B Vertical End Register */
-#define REG_PIXC0_TRANSP_B 0xFFC19030 /* PIXC0 Overlay B Transparency Ratio Register */
-#define REG_PIXC0_IRQSTAT 0xFFC1903C /* PIXC0 Interrupt Status Register */
-#define REG_PIXC0_CONRY 0xFFC19040 /* PIXC0 RY Conversion Component Register */
-#define REG_PIXC0_CONGU 0xFFC19044 /* PIXC0 GU Conversion Component Register */
-#define REG_PIXC0_CONBV 0xFFC19048 /* PIXC0 BV Conversion Component Register */
-#define REG_PIXC0_CCBIAS 0xFFC1904C /* PIXC0 Conversion Bias Register */
-#define REG_PIXC0_TC 0xFFC19050 /* PIXC0 Transparency Color Register */
-#define REG_PIXC0_REVID 0xFFC19054 /* PIXC0 Revision Id */
-
-/* =========================
- PIXC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CTL_ORGBFRMT 10 /* Output RGB Data Format */
-#define BITP_PIXC_CTL_IRGBFRMT 8 /* Input Image Channel RGB Data Format */
-#define BITP_PIXC_CTL_ENTC 7 /* Enable Transparent Color */
-#define BITP_PIXC_CTL_UDSMOD 6 /* Up/Down Sampling Mode */
-#define BITP_PIXC_CTL_OUTFRMT 5 /* Output Data Format */
-#define BITP_PIXC_CTL_OVFRMT 4 /* Overlay Data Format */
-#define BITP_PIXC_CTL_IFRMT 3 /* Image Data Format */
-#define BITP_PIXC_CTL_OVENB 2 /* Overlay Block B Enable */
-#define BITP_PIXC_CTL_OVENA 1 /* Overlay Block A Enable */
-#define BITP_PIXC_CTL_EN 0 /* Overlay Manager enable (module enable) */
-#define BITM_PIXC_CTL_ORGBFRMT (_ADI_MSK(0x00000C00,uint32_t)) /* Output RGB Data Format */
-#define BITM_PIXC_CTL_IRGBFRMT (_ADI_MSK(0x00000300,uint32_t)) /* Input Image Channel RGB Data Format */
-#define BITM_PIXC_CTL_ENTC (_ADI_MSK(0x00000080,uint32_t)) /* Enable Transparent Color */
-#define BITM_PIXC_CTL_UDSMOD (_ADI_MSK(0x00000040,uint32_t)) /* Up/Down Sampling Mode */
-#define BITM_PIXC_CTL_OUTFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Output Data Format */
-#define BITM_PIXC_CTL_OVFRMT (_ADI_MSK(0x00000010,uint32_t)) /* Overlay Data Format */
-#define BITM_PIXC_CTL_IFRMT (_ADI_MSK(0x00000008,uint32_t)) /* Image Data Format */
-#define BITM_PIXC_CTL_OVENB (_ADI_MSK(0x00000004,uint32_t)) /* Overlay Block B Enable */
-#define BITM_PIXC_CTL_OVENA (_ADI_MSK(0x00000002,uint32_t)) /* Overlay Block A Enable */
-#define BITM_PIXC_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Overlay Manager enable (module enable) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TRANSP_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TRANSP_A_VALUE 0 /* Overlay Transparency Ratio Values */
-#define BITM_PIXC_TRANSP_A_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* Overlay Transparency Ratio Values */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TRANSP_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TRANSP_B_VALUE 0 /* Overlay Transparency Ratio Values */
-#define BITM_PIXC_TRANSP_B_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* Overlay Transparency Ratio Values */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_IRQSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_IRQSTAT_FRMSTAT 3 /* Frame Interrupt Status */
-#define BITP_PIXC_IRQSTAT_OVSTAT 2 /* Overlay Interrupt Status */
-#define BITP_PIXC_IRQSTAT_FRMEN 1 /* Frame Interrupt Enable */
-#define BITP_PIXC_IRQSTAT_OVEN 0 /* Overlay Interrupt Enable */
-#define BITM_PIXC_IRQSTAT_FRMSTAT (_ADI_MSK(0x00000008,uint16_t)) /* Frame Interrupt Status */
-#define BITM_PIXC_IRQSTAT_OVSTAT (_ADI_MSK(0x00000004,uint16_t)) /* Overlay Interrupt Status */
-#define BITM_PIXC_IRQSTAT_FRMEN (_ADI_MSK(0x00000002,uint16_t)) /* Frame Interrupt Enable */
-#define BITM_PIXC_IRQSTAT_OVEN (_ADI_MSK(0x00000001,uint16_t)) /* Overlay Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONRY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONRY_RYMULT4 30 /* Multiply the Row by 4 */
-#define BITP_PIXC_CONRY_A13 20 /* A13 element in the coefficient matrix */
-#define BITP_PIXC_CONRY_A12 10 /* A12 element in the coefficient matrix */
-#define BITP_PIXC_CONRY_A11 0 /* A11 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_RYMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply the Row by 4 */
-#define BITM_PIXC_CONRY_A13 (_ADI_MSK(0x3FF00000,uint32_t)) /* A13 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_A12 (_ADI_MSK(0x000FFC00,uint32_t)) /* A12 element in the coefficient matrix */
-#define BITM_PIXC_CONRY_A11 (_ADI_MSK(0x000003FF,uint32_t)) /* A11 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONGU Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONGU_GUMULT4 30 /* Multiply The Row By 4 */
-#define BITP_PIXC_CONGU_A23 20 /* A23 element in the coefficient matrix */
-#define BITP_PIXC_CONGU_A22 10 /* A22 element in the coefficient matrix */
-#define BITP_PIXC_CONGU_A21 0 /* A21 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_GUMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply The Row By 4 */
-#define BITM_PIXC_CONGU_A23 (_ADI_MSK(0x3FF00000,uint32_t)) /* A23 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_A22 (_ADI_MSK(0x000FFC00,uint32_t)) /* A22 element in the coefficient matrix */
-#define BITM_PIXC_CONGU_A21 (_ADI_MSK(0x000003FF,uint32_t)) /* A21 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CONBV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CONBV_BVMULT4 30 /* Multiply The Row By 4 */
-#define BITP_PIXC_CONBV_A33 20 /* A33 element in the coefficient matrix */
-#define BITP_PIXC_CONBV_A32 10 /* A32 element in the coefficient matrix */
-#define BITP_PIXC_CONBV_A31 0 /* A31 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_BVMULT4 (_ADI_MSK(0x40000000,uint32_t)) /* Multiply The Row By 4 */
-#define BITM_PIXC_CONBV_A33 (_ADI_MSK(0x3FF00000,uint32_t)) /* A33 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_A32 (_ADI_MSK(0x000FFC00,uint32_t)) /* A32 element in the coefficient matrix */
-#define BITM_PIXC_CONBV_A31 (_ADI_MSK(0x000003FF,uint32_t)) /* A31 element in the coefficient matrix */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_CCBIAS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_CCBIAS_A34 20 /* A34 in bias vector */
-#define BITP_PIXC_CCBIAS_A24 10 /* A24 in bias vector */
-#define BITP_PIXC_CCBIAS_A14 0 /* A14 in bias vector */
-#define BITM_PIXC_CCBIAS_A34 (_ADI_MSK(0x3FF00000,uint32_t)) /* A34 in bias vector */
-#define BITM_PIXC_CCBIAS_A24 (_ADI_MSK(0x000FFC00,uint32_t)) /* A24 in bias vector */
-#define BITM_PIXC_CCBIAS_A14 (_ADI_MSK(0x000003FF,uint32_t)) /* A14 in bias vector */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_TC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_TC_BVT 16 /* Trans. color - B/V component */
-#define BITP_PIXC_TC_GUT 8 /* Trans. color - G/U component */
-#define BITP_PIXC_TC_RYT 0 /* Trans. color - R/Y component */
-#define BITM_PIXC_TC_BVT (_ADI_MSK(0x00FF0000,uint32_t)) /* Trans. color - B/V component */
-#define BITM_PIXC_TC_GUT (_ADI_MSK(0x0000FF00,uint32_t)) /* Trans. color - G/U component */
-#define BITM_PIXC_TC_RYT (_ADI_MSK(0x000000FF,uint32_t)) /* Trans. color - R/Y component */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PIXC_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PIXC_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_PIXC_REVID_REV 0 /* Incremental Version ID */
-#define BITM_PIXC_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_PIXC_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ==================================================
- PVP Registers
- ================================================== */
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP Block level enums
- ------------------------------------------------------------------------------------------------------------------------ */
-#define ENUM_PVP_GCFG 0x00 /* PVP Block ID Code for GCFG */
-#define ENUM_PVP_OPF0 0x01 /* PVP Block ID Code for OPF0 */
-#define ENUM_PVP_OPF1 0x02 /* PVP Block ID Code for OPF1 */
-#define ENUM_PVP_OPF2 0x03 /* PVP Block ID Code for OPF2 */
-#define ENUM_PVP_OPF3 0x04 /* PVP Block ID Code for OPF3 */
-#define ENUM_PVP_PEC 0x05 /* PVP Block ID Code for PEC */
-#define ENUM_PVP_IIM0 0x06 /* PVP Block ID Code for IIM0 */
-#define ENUM_PVP_IIM1 0x07 /* PVP Block ID Code for IIM1 */
-#define ENUM_PVP_ACU 0x08 /* PVP Block ID Code for ACU */
-#define ENUM_PVP_UDS 0x0A /* PVP Block ID Code for UDS */
-#define ENUM_PVP_IPF0 0x0C /* PVP Block ID Code for IPF0 */
-#define ENUM_PVP_IPF1 0x0E /* PVP Block ID Code for IPF1 */
-#define ENUM_PVP_CNV0 0x10 /* PVP Block ID Code for CNV0 */
-#define ENUM_PVP_CNV1 0x14 /* PVP Block ID Code for CNV1 */
-#define ENUM_PVP_CNV2 0x18 /* PVP Block ID Code for CNV2 */
-#define ENUM_PVP_CNV3 0x1C /* PVP Block ID Code for CNV3 */
-#define ENUM_PVP_THC0 0x20 /* PVP Block ID Code for THC0 */
-#define ENUM_PVP_THC1 0x28 /* PVP Block ID Code for THC1 */
-#define ENUM_PVP_PMA 0x30 /* PVP Block ID Code for PMA */
-
-/* =========================
- PVP0
- ========================= */
-#define REG_PVP0_REVID 0xFFC1A000 /* PVP0 Revision ID */
-#define REG_PVP0_CTL 0xFFC1A004 /* PVP0 Control */
-#define REG_PVP0_IMSK0 0xFFC1A008 /* PVP0 Interrupt Mask n */
-#define REG_PVP0_IMSK1 0xFFC1A00C /* PVP0 Interrupt Mask n */
-#define REG_PVP0_STAT 0xFFC1A010 /* PVP0 Status */
-#define REG_PVP0_ILAT 0xFFC1A014 /* PVP0 Interrupt Latch Status n */
-#define REG_PVP0_IREQ0 0xFFC1A018 /* PVP0 Interrupt Request n */
-#define REG_PVP0_IREQ1 0xFFC1A01C /* PVP0 Interrupt Request n */
-#define REG_PVP0_OPF0_CFG 0xFFC1A020 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF1_CFG 0xFFC1A040 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF2_CFG 0xFFC1A060 /* PVP0 OPFn (Camera Pipe) Configuration */
-#define REG_PVP0_OPF0_CTL 0xFFC1A024 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF1_CTL 0xFFC1A044 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF2_CTL 0xFFC1A064 /* PVP0 OPFn (Camera Pipe) Control */
-#define REG_PVP0_OPF3_CFG 0xFFC1A080 /* PVP0 OPF3 (Memory Pipe) Configuration */
-#define REG_PVP0_OPF3_CTL 0xFFC1A084 /* PVP0 OPF3 (Memory Pipe) Control */
-#define REG_PVP0_PEC_CFG 0xFFC1A0A0 /* PVP0 PEC Configuration */
-#define REG_PVP0_PEC_CTL 0xFFC1A0A4 /* PVP0 PEC Control */
-#define REG_PVP0_PEC_D1TH0 0xFFC1A0A8 /* PVP0 PEC Lower Hysteresis Threshold */
-#define REG_PVP0_PEC_D1TH1 0xFFC1A0AC /* PVP0 PEC Upper Hysteresis Threshold */
-#define REG_PVP0_PEC_D2TH0 0xFFC1A0B0 /* PVP0 PEC Weak Zero Crossing Threshold */
-#define REG_PVP0_PEC_D2TH1 0xFFC1A0B4 /* PVP0 PEC Strong Zero Crossing Threshold */
-#define REG_PVP0_IIM0_CFG 0xFFC1A0C0 /* PVP0 IIMn Configuration */
-#define REG_PVP0_IIM1_CFG 0xFFC1A0E0 /* PVP0 IIMn Configuration */
-#define REG_PVP0_IIM0_CTL 0xFFC1A0C4 /* PVP0 IIMn Control */
-#define REG_PVP0_IIM1_CTL 0xFFC1A0E4 /* PVP0 IIMn Control */
-#define REG_PVP0_IIM0_SCALE 0xFFC1A0C8 /* PVP0 IIMn Scaling Values */
-#define REG_PVP0_IIM1_SCALE 0xFFC1A0E8 /* PVP0 IIMn Scaling Values */
-#define REG_PVP0_IIM0_SOVF_STAT 0xFFC1A0CC /* PVP0 IIMn Signed Overflow Status */
-#define REG_PVP0_IIM1_SOVF_STAT 0xFFC1A0EC /* PVP0 IIMn Signed Overflow Status */
-#define REG_PVP0_IIM0_UOVF_STAT 0xFFC1A0D0 /* PVP0 IIMn Unsigned Overflow Status */
-#define REG_PVP0_IIM1_UOVF_STAT 0xFFC1A0F0 /* PVP0 IIMn Unsigned Overflow Status */
-#define REG_PVP0_ACU_CFG 0xFFC1A100 /* PVP0 ACU Configuration */
-#define REG_PVP0_ACU_CTL 0xFFC1A104 /* PVP0 ACU Control */
-#define REG_PVP0_ACU_OFFSET 0xFFC1A108 /* PVP0 ACU SUM Constant */
-#define REG_PVP0_ACU_FACTOR 0xFFC1A10C /* PVP0 ACU PROD Constant */
-#define REG_PVP0_ACU_SHIFT 0xFFC1A110 /* PVP0 ACU Shift Constant */
-#define REG_PVP0_ACU_MIN 0xFFC1A114 /* PVP0 ACU Lower Sat Threshold Min */
-#define REG_PVP0_ACU_MAX 0xFFC1A118 /* PVP0 ACU Upper Sat Threshold Max */
-#define REG_PVP0_UDS_CFG 0xFFC1A140 /* PVP0 UDS Configuration */
-#define REG_PVP0_UDS_CTL 0xFFC1A144 /* PVP0 UDS Control */
-#define REG_PVP0_UDS_OHCNT 0xFFC1A148 /* PVP0 UDS Output HCNT */
-#define REG_PVP0_UDS_OVCNT 0xFFC1A14C /* PVP0 UDS Output VCNT */
-#define REG_PVP0_UDS_HAVG 0xFFC1A150 /* PVP0 UDS HAVG */
-#define REG_PVP0_UDS_VAVG 0xFFC1A154 /* PVP0 UDS VAVG */
-#define REG_PVP0_IPF0_CFG 0xFFC1A180 /* PVP0 IPF0 (Camera Pipe) Configuration */
-#define REG_PVP0_IPF0_PIPECTL 0xFFC1A184 /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define REG_PVP0_IPF1_PIPECTL 0xFFC1A1C4 /* PVP0 IPFn (Camera/Memory Pipe) Pipe Control */
-#define REG_PVP0_IPF0_CTL 0xFFC1A188 /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define REG_PVP0_IPF1_CTL 0xFFC1A1C8 /* PVP0 IPFn (Camera/Memory Pipe) Control */
-#define REG_PVP0_IPF0_TAG 0xFFC1A18C /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define REG_PVP0_IPF1_TAG 0xFFC1A1CC /* PVP0 IPFn (Camera/Memory Pipe) TAG Value */
-#define REG_PVP0_IPF0_FCNT 0xFFC1A190 /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define REG_PVP0_IPF1_FCNT 0xFFC1A1D0 /* PVP0 IPFn (Camera/Memory Pipe) Frame Count */
-#define REG_PVP0_IPF0_HCNT 0xFFC1A194 /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define REG_PVP0_IPF1_HCNT 0xFFC1A1D4 /* PVP0 IPFn (Camera/Memory Pipe) Horizontal Count */
-#define REG_PVP0_IPF0_VCNT 0xFFC1A198 /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define REG_PVP0_IPF1_VCNT 0xFFC1A1D8 /* PVP0 IPFn (Camera/Memory Pipe) Vertical Count */
-#define REG_PVP0_IPF0_HPOS 0xFFC1A19C /* PVP0 IPF0 (Camera Pipe) Horizontal Position */
-#define REG_PVP0_IPF0_VPOS 0xFFC1A1A0 /* PVP0 IPF0 (Camera Pipe) Vertical Position */
-#define REG_PVP0_IPF0_TAG_STAT 0xFFC1A1A4 /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define REG_PVP0_IPF1_TAG_STAT 0xFFC1A1E4 /* PVP0 IPFn (Camera/Memory Pipe) TAG Status */
-#define REG_PVP0_IPF1_CFG 0xFFC1A1C0 /* PVP0 IPF1 (Memory Pipe) Configuration */
-#define REG_PVP0_CNV0_CFG 0xFFC1A200 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV1_CFG 0xFFC1A280 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV2_CFG 0xFFC1A300 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV3_CFG 0xFFC1A380 /* PVP0 CNVn Configuration */
-#define REG_PVP0_CNV0_CTL 0xFFC1A204 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV1_CTL 0xFFC1A284 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV2_CTL 0xFFC1A304 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV3_CTL 0xFFC1A384 /* PVP0 CNVn Control */
-#define REG_PVP0_CNV0_C00C01 0xFFC1A208 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV1_C00C01 0xFFC1A288 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV2_C00C01 0xFFC1A308 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV3_C00C01 0xFFC1A388 /* PVP0 CNVn Coefficients 0,0 and 0,1 */
-#define REG_PVP0_CNV0_C02C03 0xFFC1A20C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV1_C02C03 0xFFC1A28C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV2_C02C03 0xFFC1A30C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV3_C02C03 0xFFC1A38C /* PVP0 CNVn Coefficients 0,2 and 0,3 */
-#define REG_PVP0_CNV0_C04 0xFFC1A210 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV1_C04 0xFFC1A290 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV2_C04 0xFFC1A310 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV3_C04 0xFFC1A390 /* PVP0 CNVn Coefficient 0,4 */
-#define REG_PVP0_CNV0_C10C11 0xFFC1A214 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV1_C10C11 0xFFC1A294 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV2_C10C11 0xFFC1A314 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV3_C10C11 0xFFC1A394 /* PVP0 CNVn Coefficients 1,0 and 1,1 */
-#define REG_PVP0_CNV0_C12C13 0xFFC1A218 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV1_C12C13 0xFFC1A298 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV2_C12C13 0xFFC1A318 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV3_C12C13 0xFFC1A398 /* PVP0 CNVn Coefficients 1,2 and 1,3 */
-#define REG_PVP0_CNV0_C14 0xFFC1A21C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV1_C14 0xFFC1A29C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV2_C14 0xFFC1A31C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV3_C14 0xFFC1A39C /* PVP0 CNVn Coefficient 1,4 */
-#define REG_PVP0_CNV0_C20C21 0xFFC1A220 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV1_C20C21 0xFFC1A2A0 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV2_C20C21 0xFFC1A320 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV3_C20C21 0xFFC1A3A0 /* PVP0 CNVn Coefficients 2,0 and 2,1 */
-#define REG_PVP0_CNV0_C22C23 0xFFC1A224 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV1_C22C23 0xFFC1A2A4 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV2_C22C23 0xFFC1A324 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV3_C22C23 0xFFC1A3A4 /* PVP0 CNVn Coefficients 2,2 and 2,3 */
-#define REG_PVP0_CNV0_C24 0xFFC1A228 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV1_C24 0xFFC1A2A8 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV2_C24 0xFFC1A328 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV3_C24 0xFFC1A3A8 /* PVP0 CNVn Coefficient 2,4 */
-#define REG_PVP0_CNV0_C30C31 0xFFC1A22C /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV1_C30C31 0xFFC1A2AC /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV2_C30C31 0xFFC1A32C /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV3_C30C31 0xFFC1A3AC /* PVP0 CNVn Coefficients 3,0 and 3,1 */
-#define REG_PVP0_CNV0_C32C33 0xFFC1A230 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV1_C32C33 0xFFC1A2B0 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV2_C32C33 0xFFC1A330 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV3_C32C33 0xFFC1A3B0 /* PVP0 CNVn Coefficients 3,2 and 3,3 */
-#define REG_PVP0_CNV0_C34 0xFFC1A234 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV1_C34 0xFFC1A2B4 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV2_C34 0xFFC1A334 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV3_C34 0xFFC1A3B4 /* PVP0 CNVn Coefficient 3,4 */
-#define REG_PVP0_CNV0_C40C41 0xFFC1A238 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV1_C40C41 0xFFC1A2B8 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV2_C40C41 0xFFC1A338 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV3_C40C41 0xFFC1A3B8 /* PVP0 CNVn Coefficients 4,0 and 4,1 */
-#define REG_PVP0_CNV0_C42C43 0xFFC1A23C /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV1_C42C43 0xFFC1A2BC /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV2_C42C43 0xFFC1A33C /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV3_C42C43 0xFFC1A3BC /* PVP0 CNVn Coefficients 4,2 and 4,3 */
-#define REG_PVP0_CNV0_C44 0xFFC1A240 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV1_C44 0xFFC1A2C0 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV2_C44 0xFFC1A340 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV3_C44 0xFFC1A3C0 /* PVP0 CNVn Coefficient 4,4 */
-#define REG_PVP0_CNV0_SCALE 0xFFC1A244 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV1_SCALE 0xFFC1A2C4 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV2_SCALE 0xFFC1A344 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_CNV3_SCALE 0xFFC1A3C4 /* PVP0 CNVn Scaling Factor */
-#define REG_PVP0_THC0_CFG 0xFFC1A400 /* PVP0 THCn Configuration */
-#define REG_PVP0_THC1_CFG 0xFFC1A500 /* PVP0 THCn Configuration */
-#define REG_PVP0_THC0_CTL 0xFFC1A404 /* PVP0 THCn Control */
-#define REG_PVP0_THC1_CTL 0xFFC1A504 /* PVP0 THCn Control */
-#define REG_PVP0_THC0_HFCNT 0xFFC1A408 /* PVP0 THCn Histogram Frame Count */
-#define REG_PVP0_THC1_HFCNT 0xFFC1A508 /* PVP0 THCn Histogram Frame Count */
-#define REG_PVP0_THC0_RMAXREP 0xFFC1A40C /* PVP0 THCn Max RLE Reports */
-#define REG_PVP0_THC1_RMAXREP 0xFFC1A50C /* PVP0 THCn Max RLE Reports */
-#define REG_PVP0_THC0_CMINVAL 0xFFC1A410 /* PVP0 THCn Min Clip Value */
-#define REG_PVP0_THC1_CMINVAL 0xFFC1A510 /* PVP0 THCn Min Clip Value */
-#define REG_PVP0_THC0_CMINTH 0xFFC1A414 /* PVP0 THCn Clip Min Threshold */
-#define REG_PVP0_THC1_CMINTH 0xFFC1A514 /* PVP0 THCn Clip Min Threshold */
-#define REG_PVP0_THC0_CMAXTH 0xFFC1A418 /* PVP0 THCn Clip Max Threshold */
-#define REG_PVP0_THC1_CMAXTH 0xFFC1A518 /* PVP0 THCn Clip Max Threshold */
-#define REG_PVP0_THC0_CMAXVAL 0xFFC1A41C /* PVP0 THCn Max Clip Value */
-#define REG_PVP0_THC1_CMAXVAL 0xFFC1A51C /* PVP0 THCn Max Clip Value */
-#define REG_PVP0_THC0_TH0 0xFFC1A420 /* PVP0 THCn Threshold Value 0 */
-#define REG_PVP0_THC1_TH0 0xFFC1A520 /* PVP0 THCn Threshold Value 0 */
-#define REG_PVP0_THC0_TH1 0xFFC1A424 /* PVP0 THCn Threshold Value 1 */
-#define REG_PVP0_THC1_TH1 0xFFC1A524 /* PVP0 THCn Threshold Value 1 */
-#define REG_PVP0_THC0_TH2 0xFFC1A428 /* PVP0 THCn Threshold Value 2 */
-#define REG_PVP0_THC1_TH2 0xFFC1A528 /* PVP0 THCn Threshold Value 2 */
-#define REG_PVP0_THC0_TH3 0xFFC1A42C /* PVP0 THCn Threshold Value 3 */
-#define REG_PVP0_THC1_TH3 0xFFC1A52C /* PVP0 THCn Threshold Value 3 */
-#define REG_PVP0_THC0_TH4 0xFFC1A430 /* PVP0 THCn Threshold Value 4 */
-#define REG_PVP0_THC1_TH4 0xFFC1A530 /* PVP0 THCn Threshold Value 4 */
-#define REG_PVP0_THC0_TH5 0xFFC1A434 /* PVP0 THCn Threshold Value 5 */
-#define REG_PVP0_THC1_TH5 0xFFC1A534 /* PVP0 THCn Threshold Value 5 */
-#define REG_PVP0_THC0_TH6 0xFFC1A438 /* PVP0 THCn Threshold Value 6 */
-#define REG_PVP0_THC1_TH6 0xFFC1A538 /* PVP0 THCn Threshold Value 6 */
-#define REG_PVP0_THC0_TH7 0xFFC1A43C /* PVP0 THCn Threshold Value 7 */
-#define REG_PVP0_THC1_TH7 0xFFC1A53C /* PVP0 THCn Threshold Value 7 */
-#define REG_PVP0_THC0_TH8 0xFFC1A440 /* PVP0 THCn Threshold Value 8 */
-#define REG_PVP0_THC1_TH8 0xFFC1A540 /* PVP0 THCn Threshold Value 8 */
-#define REG_PVP0_THC0_TH9 0xFFC1A444 /* PVP0 THCn Threshold Value 9 */
-#define REG_PVP0_THC1_TH9 0xFFC1A544 /* PVP0 THCn Threshold Value 9 */
-#define REG_PVP0_THC0_TH10 0xFFC1A448 /* PVP0 THCn Threshold Value 10 */
-#define REG_PVP0_THC1_TH10 0xFFC1A548 /* PVP0 THCn Threshold Value 10 */
-#define REG_PVP0_THC0_TH11 0xFFC1A44C /* PVP0 THCn Threshold Value 11 */
-#define REG_PVP0_THC1_TH11 0xFFC1A54C /* PVP0 THCn Threshold Value 11 */
-#define REG_PVP0_THC0_TH12 0xFFC1A450 /* PVP0 THCn Threshold Value 12 */
-#define REG_PVP0_THC1_TH12 0xFFC1A550 /* PVP0 THCn Threshold Value 12 */
-#define REG_PVP0_THC0_TH13 0xFFC1A454 /* PVP0 THCn Threshold Value 13 */
-#define REG_PVP0_THC1_TH13 0xFFC1A554 /* PVP0 THCn Threshold Value 13 */
-#define REG_PVP0_THC0_TH14 0xFFC1A458 /* PVP0 THCn Threshold Value 14 */
-#define REG_PVP0_THC1_TH14 0xFFC1A558 /* PVP0 THCn Threshold Value 14 */
-#define REG_PVP0_THC0_TH15 0xFFC1A45C /* PVP0 THCn Threshold Value 15 */
-#define REG_PVP0_THC1_TH15 0xFFC1A55C /* PVP0 THCn Threshold Value 15 */
-#define REG_PVP0_THC0_HHPOS 0xFFC1A460 /* PVP0 THCn Histogram Horzontal Position */
-#define REG_PVP0_THC1_HHPOS 0xFFC1A560 /* PVP0 THCn Histogram Horzontal Position */
-#define REG_PVP0_THC0_HVPOS 0xFFC1A464 /* PVP0 THCn Histogram Vertical Position */
-#define REG_PVP0_THC1_HVPOS 0xFFC1A564 /* PVP0 THCn Histogram Vertical Position */
-#define REG_PVP0_THC0_HHCNT 0xFFC1A468 /* PVP0 THCn Histogram Horizontal Count */
-#define REG_PVP0_THC1_HHCNT 0xFFC1A568 /* PVP0 THCn Histogram Horizontal Count */
-#define REG_PVP0_THC0_HVCNT 0xFFC1A46C /* PVP0 THCn Histogram Vertical Count */
-#define REG_PVP0_THC1_HVCNT 0xFFC1A56C /* PVP0 THCn Histogram Vertical Count */
-#define REG_PVP0_THC0_RHPOS 0xFFC1A470 /* PVP0 THCn RLE Horizontal Position */
-#define REG_PVP0_THC1_RHPOS 0xFFC1A570 /* PVP0 THCn RLE Horizontal Position */
-#define REG_PVP0_THC0_RVPOS 0xFFC1A474 /* PVP0 THCn RLE Vertical Position */
-#define REG_PVP0_THC1_RVPOS 0xFFC1A574 /* PVP0 THCn RLE Vertical Position */
-#define REG_PVP0_THC0_RHCNT 0xFFC1A478 /* PVP0 THCn RLE Horizontal Count */
-#define REG_PVP0_THC1_RHCNT 0xFFC1A578 /* PVP0 THCn RLE Horizontal Count */
-#define REG_PVP0_THC0_RVCNT 0xFFC1A47C /* PVP0 THCn RLE Vertical Count */
-#define REG_PVP0_THC1_RVCNT 0xFFC1A57C /* PVP0 THCn RLE Vertical Count */
-#define REG_PVP0_THC0_HFCNT_STAT 0xFFC1A480 /* PVP0 THCn Histogram Frame Count Status */
-#define REG_PVP0_THC1_HFCNT_STAT 0xFFC1A580 /* PVP0 THCn Histogram Frame Count Status */
-#define REG_PVP0_THC0_HCNT0_STAT 0xFFC1A484 /* PVP0 THCn Histogram Counter Value 0 */
-#define REG_PVP0_THC1_HCNT0_STAT 0xFFC1A584 /* PVP0 THCn Histogram Counter Value 0 */
-#define REG_PVP0_THC0_HCNT1_STAT 0xFFC1A488 /* PVP0 THCn Histogram Counter Value 1 */
-#define REG_PVP0_THC1_HCNT1_STAT 0xFFC1A588 /* PVP0 THCn Histogram Counter Value 1 */
-#define REG_PVP0_THC0_HCNT2_STAT 0xFFC1A48C /* PVP0 THCn Histogram Counter Value 2 */
-#define REG_PVP0_THC1_HCNT2_STAT 0xFFC1A58C /* PVP0 THCn Histogram Counter Value 2 */
-#define REG_PVP0_THC0_HCNT3_STAT 0xFFC1A490 /* PVP0 THCn Histogram Counter Value 3 */
-#define REG_PVP0_THC1_HCNT3_STAT 0xFFC1A590 /* PVP0 THCn Histogram Counter Value 3 */
-#define REG_PVP0_THC0_HCNT4_STAT 0xFFC1A494 /* PVP0 THCn Histogram Counter Value 4 */
-#define REG_PVP0_THC1_HCNT4_STAT 0xFFC1A594 /* PVP0 THCn Histogram Counter Value 4 */
-#define REG_PVP0_THC0_HCNT5_STAT 0xFFC1A498 /* PVP0 THCn Histogram Counter Value 5 */
-#define REG_PVP0_THC1_HCNT5_STAT 0xFFC1A598 /* PVP0 THCn Histogram Counter Value 5 */
-#define REG_PVP0_THC0_HCNT6_STAT 0xFFC1A49C /* PVP0 THCn Histogram Counter Value 6 */
-#define REG_PVP0_THC1_HCNT6_STAT 0xFFC1A59C /* PVP0 THCn Histogram Counter Value 6 */
-#define REG_PVP0_THC0_HCNT7_STAT 0xFFC1A4A0 /* PVP0 THCn Histogram Counter Value 7 */
-#define REG_PVP0_THC1_HCNT7_STAT 0xFFC1A5A0 /* PVP0 THCn Histogram Counter Value 7 */
-#define REG_PVP0_THC0_HCNT8_STAT 0xFFC1A4A4 /* PVP0 THCn Histogram Counter Value 8 */
-#define REG_PVP0_THC1_HCNT8_STAT 0xFFC1A5A4 /* PVP0 THCn Histogram Counter Value 8 */
-#define REG_PVP0_THC0_HCNT9_STAT 0xFFC1A4A8 /* PVP0 THCn Histogram Counter Value 9 */
-#define REG_PVP0_THC1_HCNT9_STAT 0xFFC1A5A8 /* PVP0 THCn Histogram Counter Value 9 */
-#define REG_PVP0_THC0_HCNT10_STAT 0xFFC1A4AC /* PVP0 THCn Histogram Counter Value 10 */
-#define REG_PVP0_THC1_HCNT10_STAT 0xFFC1A5AC /* PVP0 THCn Histogram Counter Value 10 */
-#define REG_PVP0_THC0_HCNT11_STAT 0xFFC1A4B0 /* PVP0 THCn Histogram Counter Value 11 */
-#define REG_PVP0_THC1_HCNT11_STAT 0xFFC1A5B0 /* PVP0 THCn Histogram Counter Value 11 */
-#define REG_PVP0_THC0_HCNT12_STAT 0xFFC1A4B4 /* PVP0 THCn Histogram Counter Value 12 */
-#define REG_PVP0_THC1_HCNT12_STAT 0xFFC1A5B4 /* PVP0 THCn Histogram Counter Value 12 */
-#define REG_PVP0_THC0_HCNT13_STAT 0xFFC1A4B8 /* PVP0 THCn Histogram Counter Value 13 */
-#define REG_PVP0_THC1_HCNT13_STAT 0xFFC1A5B8 /* PVP0 THCn Histogram Counter Value 13 */
-#define REG_PVP0_THC0_HCNT14_STAT 0xFFC1A4BC /* PVP0 THCn Histogram Counter Value 14 */
-#define REG_PVP0_THC1_HCNT14_STAT 0xFFC1A5BC /* PVP0 THCn Histogram Counter Value 14 */
-#define REG_PVP0_THC0_HCNT15_STAT 0xFFC1A4C0 /* PVP0 THCn Histogram Counter Value 15 */
-#define REG_PVP0_THC1_HCNT15_STAT 0xFFC1A5C0 /* PVP0 THCn Histogram Counter Value 15 */
-#define REG_PVP0_THC0_RREP_STAT 0xFFC1A4C4 /* PVP0 THCn Number of RLE Reports */
-#define REG_PVP0_THC1_RREP_STAT 0xFFC1A5C4 /* PVP0 THCn Number of RLE Reports */
-#define REG_PVP0_PMA_CFG 0xFFC1A600 /* PVP0 PMA Configuration */
-
-/* =========================
- PVP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_REVID_MAJOR 4 /* Major ID */
-#define BITP_PVP_REVID_REV 0 /* Revision ID for a given Major ID */
-#define BITM_PVP_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major ID */
-#define BITM_PVP_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Revision ID for a given Major ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CTL_CLKDIV 4 /* Clock Divisor */
-#define BITP_PVP_CTL_CPEN 2 /* Camera Pipe Enable */
-#define BITP_PVP_CTL_MPEN 1 /* Memory Pipe Enable */
-#define BITP_PVP_CTL_PVPEN 0 /* PVP Enable */
-
-#define BITM_PVP_CTL_CLKDIV (_ADI_MSK(0x00000010,uint32_t)) /* Clock Divisor */
-#define ENUM_PVP_CTL_CLKDIV1 (_ADI_MSK(0x00000000,uint32_t)) /* CLKDIV: PVPCLK = SCLK0 */
-#define ENUM_PVP_CTL_CLKDIV2 (_ADI_MSK(0x00000010,uint32_t)) /* CLKDIV: PVPCLK = SCLK0/2 */
-
-#define BITM_PVP_CTL_CPEN (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe Enable */
-#define ENUM_PVP_CTL_CPDIS (_ADI_MSK(0x00000000,uint32_t)) /* CPEN: Disable Camera Pipe */
-#define ENUM_PVP_CTL_CPEN (_ADI_MSK(0x00000004,uint32_t)) /* CPEN: Enable Camera Pipe */
-
-#define BITM_PVP_CTL_MPEN (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe Enable */
-#define ENUM_PVP_CTL_MPDIS (_ADI_MSK(0x00000000,uint32_t)) /* MPEN: Disable Memory Pipe */
-#define ENUM_PVP_CTL_MPEN (_ADI_MSK(0x00000002,uint32_t)) /* MPEN: Enable Memory Pipe */
-
-#define BITM_PVP_CTL_PVPEN (_ADI_MSK(0x00000001,uint32_t)) /* PVP Enable */
-#define ENUM_PVP_CTL_PVPDIS (_ADI_MSK(0x00000000,uint32_t)) /* PVPEN: Disable PVP */
-#define ENUM_PVP_CTL_PVPEN (_ADI_MSK(0x00000001,uint32_t)) /* PVPEN: Enable PVP */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IMSK_ACUSUMSAT 27 /* ACU SUM Saturate Unmask */
-#define BITP_PVP_IMSK_ACUPRODSAT 26 /* ACU PROD Saturate Unmask */
-#define BITP_PVP_IMSK_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Unmask */
-#define BITP_PVP_IMSK_ACUDIVERR 24 /* ACU Divide By Zero Unmask */
-#define BITP_PVP_IMSK_IIM1SOVF 23 /* IIM1 Signed Overflow Unmask */
-#define BITP_PVP_IMSK_IIM1UOVF 22 /* IIM1 Unsigned Overflow Unmask */
-#define BITP_PVP_IMSK_IIM0SOVF 21 /* IIM0 Signed Overflow Unmask */
-#define BITP_PVP_IMSK_IIM0UOVF 20 /* IIM0 Unsigned Overflow Unmask */
-#define BITP_PVP_IMSK_THC1RDY 18 /* THC1 Report Ready Unmask */
-#define BITP_PVP_IMSK_THC0RDY 16 /* THC0 Report Ready Unmask */
-#define BITP_PVP_IMSK_MPRDY 15 /* Memory Pipe Ready Unmask */
-#define BITP_PVP_IMSK_CPRDY 14 /* Camera Pipe Ready Unmask */
-#define BITP_PVP_IMSK_MPDRN 13 /* Memory Pipe Drain Done Unmask */
-#define BITP_PVP_IMSK_CPDRN 12 /* Camera Pipe Drain Done Unmask */
-#define BITP_PVP_IMSK_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Unmask */
-#define BITP_PVP_IMSK_MPOPFDAT 9 /* Memory Pipe First Pixel Unmask */
-#define BITP_PVP_IMSK_CPOPFDAT 8 /* Camera Pipe First Pixel Unmask */
-#define BITP_PVP_IMSK_CPSTOVF 7 /* Status DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF2OVF 6 /* OPF2 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF1OVF 5 /* OPF1 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_OPF0OVF 4 /* OPF0 DDE Stall Error Unmask */
-#define BITP_PVP_IMSK_MPWRERR 3 /* Memory Pipe MMR Write Error Unmask */
-#define BITP_PVP_IMSK_CPWRERR 2 /* Camera Pipe MMR Write Error Unmask */
-#define BITP_PVP_IMSK_MPDC 1 /* Memory Pipe DC Unmask */
-#define BITP_PVP_IMSK_CPDC 0 /* Camera Pipe DC Unmask */
-
-/* The fields and enumerations for PVP_IMSK are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_IMSK_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Unmask */
-#define BITM_PVP_IMSK_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Unmask */
-#define BITM_PVP_IMSK_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Unmask */
-#define BITM_PVP_IMSK_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Unmask */
-#define BITM_PVP_IMSK_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Unmask */
-#define BITM_PVP_IMSK_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Unmask */
-#define BITM_PVP_IMSK_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Unmask */
-#define BITM_PVP_IMSK_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Unmask */
-#define BITM_PVP_IMSK_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Unmask */
-#define BITM_PVP_IMSK_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Unmask */
-#define BITM_PVP_IMSK_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Unmask */
-#define BITM_PVP_IMSK_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Unmask */
-#define BITM_PVP_IMSK_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Unmask */
-#define BITM_PVP_IMSK_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Unmask */
-#define BITM_PVP_IMSK_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Unmask */
-#define BITM_PVP_IMSK_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Unmask */
-#define BITM_PVP_IMSK_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Unmask */
-#define BITM_PVP_IMSK_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Unmask */
-#define BITM_PVP_IMSK_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Unmask */
-#define BITM_PVP_IMSK_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Unmask */
-#define BITM_PVP_IMSK_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Unmask */
-#define BITM_PVP_IMSK_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_STAT_ACUSUMSAT 27 /* ACU SUM Saturate Status */
-#define BITP_PVP_STAT_ACUPRODSAT 26 /* ACU PROD Saturate Status */
-#define BITP_PVP_STAT_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Status */
-#define BITP_PVP_STAT_ACUDIVERR 24 /* ACU Divide By Zero Status */
-#define BITP_PVP_STAT_IIM1SOVF 23 /* IIM1 Signed Overflow Status */
-#define BITP_PVP_STAT_IIM1UOVF 22 /* IIM1 Unsigned Overflow Status */
-#define BITP_PVP_STAT_IIM0SOVF 21 /* IIM0 Signed Overflow Status */
-#define BITP_PVP_STAT_IIM0UOVF 20 /* IIM0 Unsigned Overflow Status */
-#define BITP_PVP_STAT_THC1RDY 18 /* THC1 Report Ready Status */
-#define BITP_PVP_STAT_THC0RDY 16 /* THC0 Report Ready Status */
-#define BITP_PVP_STAT_MPRDY 15 /* Memory Pipe Ready Status */
-#define BITP_PVP_STAT_CPRDY 14 /* Camera Pipe Ready Status */
-#define BITP_PVP_STAT_MPDRN 13 /* Memory Pipe Drain Done Status */
-#define BITP_PVP_STAT_CPDRN 12 /* Camera Pipe Drain Done Status */
-#define BITP_PVP_STAT_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Status */
-#define BITP_PVP_STAT_MPOPFDAT 9 /* Memory Pipe First Pixel Status */
-#define BITP_PVP_STAT_CPOPFDAT 8 /* Camera Pipe First Pixel Status */
-#define BITP_PVP_STAT_CPSTOVF 7 /* Camera Pipe DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF2OVF 6 /* OPF2 DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF1OVF 5 /* OPF1 DDE Stall Error Status */
-#define BITP_PVP_STAT_OPF0OVF 4 /* OPF0 DDE Stall Error Status */
-#define BITP_PVP_STAT_MPWRERR 3 /* Memory Pipe MMR Write Error Status */
-#define BITP_PVP_STAT_CPWRERR 2 /* Camera Pipe MMR Write Error Status */
-#define BITP_PVP_STAT_MPDC 1 /* Memory Pipe DC Status */
-#define BITP_PVP_STAT_CPDC 0 /* Camera Pipe DC Status */
-
-#define BITM_PVP_STAT_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Status */
-#define ENUM_PVP_ACUSUMSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUSUMSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUSUMSAT_HI (_ADI_MSK(0x08000000,uint32_t)) /* ACUSUMSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Status */
-#define ENUM_PVP_ACUPRODSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUPRODSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUPRODSAT_HI (_ADI_MSK(0x04000000,uint32_t)) /* ACUPRODSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Status */
-#define ENUM_PVP_ACUOUTSAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUOUTSAT: No Pending Interrupt */
-#define ENUM_PVP_ACUOUTSAT_HI (_ADI_MSK(0x02000000,uint32_t)) /* ACUOUTSAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Status */
-#define ENUM_PVP_ACUDIVERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ACUDIVERR: No Pending Interrupt */
-#define ENUM_PVP_ACUDIVERR_HI (_ADI_MSK(0x01000000,uint32_t)) /* ACUDIVERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Status */
-#define ENUM_PVP_IIM1SOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM1SOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM1SOVF_HI (_ADI_MSK(0x00800000,uint32_t)) /* IIM1SOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Status */
-#define ENUM_PVP_IIM1UOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM1UOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM1UOVF_HI (_ADI_MSK(0x00400000,uint32_t)) /* IIM1UOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Status */
-#define ENUM_PVP_IIM0SOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM0SOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM0SOVF_HI (_ADI_MSK(0x00200000,uint32_t)) /* IIM0SOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Status */
-#define ENUM_PVP_IIM0UOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* IIM0UOVF: No Pending Interrupt */
-#define ENUM_PVP_IIM0UOVF_HI (_ADI_MSK(0x00100000,uint32_t)) /* IIM0UOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Status */
-#define ENUM_PVP_THC1RDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* THC1RDY: No Pending Interrupt */
-#define ENUM_PVP_THC1RDY_HI (_ADI_MSK(0x00040000,uint32_t)) /* THC1RDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Status */
-#define ENUM_PVP_THC0RDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* THC0RDY: No Pending Interrupt */
-#define ENUM_PVP_THC0RDY_HI (_ADI_MSK(0x00010000,uint32_t)) /* THC0RDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Status */
-#define ENUM_PVP_MPRDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPRDY: No Pending Interrupt */
-#define ENUM_PVP_MPRDY_HI (_ADI_MSK(0x00008000,uint32_t)) /* MPRDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Status */
-#define ENUM_PVP_CPRDY_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPRDY: No Pending Interrupt */
-#define ENUM_PVP_CPRDY_HI (_ADI_MSK(0x00004000,uint32_t)) /* CPRDY: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Status */
-#define ENUM_PVP_MPDRN_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPDRN: No Pending Interrupt */
-#define ENUM_PVP_MPDRN_HI (_ADI_MSK(0x00002000,uint32_t)) /* MPDRN: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Status */
-#define ENUM_PVP_CPDRN_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPDRN: No Pending Interrupt */
-#define ENUM_PVP_CPDRN_HI (_ADI_MSK(0x00001000,uint32_t)) /* CPDRN: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Status */
-#define ENUM_PVP_CPIPFOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPIPFOVF: No Pending Interrupt */
-#define ENUM_PVP_CPIPFOVF_HI (_ADI_MSK(0x00000400,uint32_t)) /* CPIPFOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Status */
-#define ENUM_PVP_MPOPFDAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPOPFDAT: No Pending Interrupt */
-#define ENUM_PVP_MPOPFDAT_HI (_ADI_MSK(0x00000200,uint32_t)) /* MPOPFDAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Status */
-#define ENUM_PVP_CPOPFDAT_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPOPFDAT: No Pending Interrupt */
-#define ENUM_PVP_CPOPFDAT_HI (_ADI_MSK(0x00000100,uint32_t)) /* CPOPFDAT: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Camera Pipe DDE Stall Error Status */
-#define ENUM_PVP_CPSTOVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPSTOVF: No Pending Interrupt */
-#define ENUM_PVP_CPSTOVF_HI (_ADI_MSK(0x00000080,uint32_t)) /* CPSTOVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Status */
-#define ENUM_PVP_OPF2OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF2OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF2OVF_HI (_ADI_MSK(0x00000040,uint32_t)) /* OPF2OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Status */
-#define ENUM_PVP_OPF1OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF1OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF1OVF_HI (_ADI_MSK(0x00000020,uint32_t)) /* OPF1OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Status */
-#define ENUM_PVP_OPF0OVF_LO (_ADI_MSK(0x00000000,uint32_t)) /* OPF0OVF: No Pending Interrupt */
-#define ENUM_PVP_OPF0OVF_HI (_ADI_MSK(0x00000010,uint32_t)) /* OPF0OVF: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Status */
-#define ENUM_PVP_MPWRERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPWRERR: No Pending Interrupt */
-#define ENUM_PVP_MPWRERR_HI (_ADI_MSK(0x00000008,uint32_t)) /* MPWRERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Status */
-#define ENUM_PVP_CPWRERR_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPWRERR: No Pending Interrupt */
-#define ENUM_PVP_CPWRERR_HI (_ADI_MSK(0x00000004,uint32_t)) /* CPWRERR: Pending Interrupt */
-
-#define BITM_PVP_STAT_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Status */
-#define ENUM_PVP_MPDC_LO (_ADI_MSK(0x00000000,uint32_t)) /* MPDC: No Pending Interrupt */
-#define ENUM_PVP_MPDC_HI (_ADI_MSK(0x00000002,uint32_t)) /* MPDC: Pending Interrupt */
-
-#define BITM_PVP_STAT_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Status */
-#define ENUM_PVP_CPDC_LO (_ADI_MSK(0x00000000,uint32_t)) /* CPDC: No Pending Interrupt */
-#define ENUM_PVP_CPDC_HI (_ADI_MSK(0x00000001,uint32_t)) /* CPDC: Pending Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ILAT_ACUSUMSAT 27 /* ACU SUM Saturate Latch */
-#define BITP_PVP_ILAT_ACUPRODSAT 26 /* ACU PROD Saturate Latch */
-#define BITP_PVP_ILAT_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Latch */
-#define BITP_PVP_ILAT_ACUDIVERR 24 /* ACU Divide By Zero Latch */
-#define BITP_PVP_ILAT_IIM1SOVF 23 /* IIM1 Signed Overflow Latch */
-#define BITP_PVP_ILAT_IIM1UOVF 22 /* IIM1 Unsigned Overflow Latch */
-#define BITP_PVP_ILAT_IIM0SOVF 21 /* IIM0 Signed Overflow Latch */
-#define BITP_PVP_ILAT_IIM0UOVF 20 /* IIM0 Unsigned Overflow Latch */
-#define BITP_PVP_ILAT_THC1RDY 18 /* THC1 Report Ready Latch */
-#define BITP_PVP_ILAT_THC0RDY 16 /* THC0 Report Ready Latch */
-#define BITP_PVP_ILAT_MPRDY 15 /* Memory Pipe Ready Latch */
-#define BITP_PVP_ILAT_CPRDY 14 /* Camera Pipe Ready Latch */
-#define BITP_PVP_ILAT_MPDRN 13 /* Memory Pipe Drain Done Latch */
-#define BITP_PVP_ILAT_CPDRN 12 /* Camera Pipe Drain Done Latch */
-#define BITP_PVP_ILAT_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Latch */
-#define BITP_PVP_ILAT_MPOPFDAT 9 /* Memory Pipe First Pixel Latch */
-#define BITP_PVP_ILAT_CPOPFDAT 8 /* Camera Pipe First Pixel Latch */
-#define BITP_PVP_ILAT_CPSTOVF 7 /* Status DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF2OVF 6 /* OPF2 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF1OVF 5 /* OPF1 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_OPF0OVF 4 /* OPF0 DDE Stall Error Latch */
-#define BITP_PVP_ILAT_MPWRERR 3 /* Memory Pipe MMR Write Error Latch */
-#define BITP_PVP_ILAT_CPWRERR 2 /* Camera Pipe MMR Write Error Latch */
-#define BITP_PVP_ILAT_MPDC 1 /* Memory Pipe DC Mask */
-#define BITP_PVP_ILAT_CPDC 0 /* Camera Pipe DC Latch */
-
-/* The fields and enumerations for PVP_ILAT are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_ILAT_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Latch */
-#define BITM_PVP_ILAT_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Latch */
-#define BITM_PVP_ILAT_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Latch */
-#define BITM_PVP_ILAT_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Latch */
-#define BITM_PVP_ILAT_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Latch */
-#define BITM_PVP_ILAT_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Latch */
-#define BITM_PVP_ILAT_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Latch */
-#define BITM_PVP_ILAT_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Latch */
-#define BITM_PVP_ILAT_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Latch */
-#define BITM_PVP_ILAT_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Latch */
-#define BITM_PVP_ILAT_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Latch */
-#define BITM_PVP_ILAT_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Latch */
-#define BITM_PVP_ILAT_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Latch */
-#define BITM_PVP_ILAT_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Latch */
-#define BITM_PVP_ILAT_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Latch */
-#define BITM_PVP_ILAT_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Latch */
-#define BITM_PVP_ILAT_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Latch */
-#define BITM_PVP_ILAT_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Latch */
-#define BITM_PVP_ILAT_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Latch */
-#define BITM_PVP_ILAT_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Latch */
-#define BITM_PVP_ILAT_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Mask */
-#define BITM_PVP_ILAT_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Latch */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IREQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IREQ_ACUSUMSAT 27 /* ACU SUM Saturate Request */
-#define BITP_PVP_IREQ_ACUPRODSAT 26 /* ACU PROD Saturate Request */
-#define BITP_PVP_IREQ_ACUOUTSAT 25 /* ACU MIN/MAX Saturate Request */
-#define BITP_PVP_IREQ_ACUDIVERR 24 /* ACU Divide By Zero Request */
-#define BITP_PVP_IREQ_IIM1SOVF 23 /* IIM1 Signed Overflow Request */
-#define BITP_PVP_IREQ_IIM1UOVF 22 /* IIM1 Unsigned Overflow Request */
-#define BITP_PVP_IREQ_IIM0SOVF 21 /* IIM0 Signed Overflow Request */
-#define BITP_PVP_IREQ_IIM0UOVF 20 /* IIM0 Unsigned Overflow Request */
-#define BITP_PVP_IREQ_THC1RDY 18 /* THC1 Report Ready Request */
-#define BITP_PVP_IREQ_THC0RDY 16 /* THC0 Report Ready Request */
-#define BITP_PVP_IREQ_MPRDY 15 /* Memory Pipe Ready Request */
-#define BITP_PVP_IREQ_CPRDY 14 /* Camera Pipe Ready Request */
-#define BITP_PVP_IREQ_MPDRN 13 /* Memory Pipe Drain Done Request */
-#define BITP_PVP_IREQ_CPDRN 12 /* Camera Pipe Drain Done Request */
-#define BITP_PVP_IREQ_CPIPFOVF 10 /* Camera Pipe Pixel Overrun Request */
-#define BITP_PVP_IREQ_MPOPFDAT 9 /* Memory Pipe First Pixel Request */
-#define BITP_PVP_IREQ_CPOPFDAT 8 /* Camera Pipe First Pixel Request */
-#define BITP_PVP_IREQ_CPSTOVF 7 /* Status DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF2OVF 6 /* OPF2 DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF1OVF 5 /* OPF1 DDE Stall Error Request */
-#define BITP_PVP_IREQ_OPF0OVF 4 /* OPF0 DDE Stall Error Request */
-#define BITP_PVP_IREQ_MPWRERR 3 /* Memory Pipe MMR Write Error Request */
-#define BITP_PVP_IREQ_CPWRERR 2 /* Camera Pipe MMR Write Error Request */
-#define BITP_PVP_IREQ_MPDC 1 /* Memory Pipe DC Request */
-#define BITP_PVP_IREQ_CPDC 0 /* Camera Pipe DC Request */
-
-/* The fields and enumerations for PVP_IREQ are also in PVP - see the common set of ENUM_PVP_* #defines located with register PVP_STAT */
-
-#define BITM_PVP_IREQ_ACUSUMSAT (_ADI_MSK(0x08000000,uint32_t)) /* ACU SUM Saturate Request */
-#define BITM_PVP_IREQ_ACUPRODSAT (_ADI_MSK(0x04000000,uint32_t)) /* ACU PROD Saturate Request */
-#define BITM_PVP_IREQ_ACUOUTSAT (_ADI_MSK(0x02000000,uint32_t)) /* ACU MIN/MAX Saturate Request */
-#define BITM_PVP_IREQ_ACUDIVERR (_ADI_MSK(0x01000000,uint32_t)) /* ACU Divide By Zero Request */
-#define BITM_PVP_IREQ_IIM1SOVF (_ADI_MSK(0x00800000,uint32_t)) /* IIM1 Signed Overflow Request */
-#define BITM_PVP_IREQ_IIM1UOVF (_ADI_MSK(0x00400000,uint32_t)) /* IIM1 Unsigned Overflow Request */
-#define BITM_PVP_IREQ_IIM0SOVF (_ADI_MSK(0x00200000,uint32_t)) /* IIM0 Signed Overflow Request */
-#define BITM_PVP_IREQ_IIM0UOVF (_ADI_MSK(0x00100000,uint32_t)) /* IIM0 Unsigned Overflow Request */
-#define BITM_PVP_IREQ_THC1RDY (_ADI_MSK(0x00040000,uint32_t)) /* THC1 Report Ready Request */
-#define BITM_PVP_IREQ_THC0RDY (_ADI_MSK(0x00010000,uint32_t)) /* THC0 Report Ready Request */
-#define BITM_PVP_IREQ_MPRDY (_ADI_MSK(0x00008000,uint32_t)) /* Memory Pipe Ready Request */
-#define BITM_PVP_IREQ_CPRDY (_ADI_MSK(0x00004000,uint32_t)) /* Camera Pipe Ready Request */
-#define BITM_PVP_IREQ_MPDRN (_ADI_MSK(0x00002000,uint32_t)) /* Memory Pipe Drain Done Request */
-#define BITM_PVP_IREQ_CPDRN (_ADI_MSK(0x00001000,uint32_t)) /* Camera Pipe Drain Done Request */
-#define BITM_PVP_IREQ_CPIPFOVF (_ADI_MSK(0x00000400,uint32_t)) /* Camera Pipe Pixel Overrun Request */
-#define BITM_PVP_IREQ_MPOPFDAT (_ADI_MSK(0x00000200,uint32_t)) /* Memory Pipe First Pixel Request */
-#define BITM_PVP_IREQ_CPOPFDAT (_ADI_MSK(0x00000100,uint32_t)) /* Camera Pipe First Pixel Request */
-#define BITM_PVP_IREQ_CPSTOVF (_ADI_MSK(0x00000080,uint32_t)) /* Status DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF2OVF (_ADI_MSK(0x00000040,uint32_t)) /* OPF2 DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF1OVF (_ADI_MSK(0x00000020,uint32_t)) /* OPF1 DDE Stall Error Request */
-#define BITM_PVP_IREQ_OPF0OVF (_ADI_MSK(0x00000010,uint32_t)) /* OPF0 DDE Stall Error Request */
-#define BITM_PVP_IREQ_MPWRERR (_ADI_MSK(0x00000008,uint32_t)) /* Memory Pipe MMR Write Error Request */
-#define BITM_PVP_IREQ_CPWRERR (_ADI_MSK(0x00000004,uint32_t)) /* Camera Pipe MMR Write Error Request */
-#define BITM_PVP_IREQ_MPDC (_ADI_MSK(0x00000002,uint32_t)) /* Memory Pipe DC Request */
-#define BITM_PVP_IREQ_CPDC (_ADI_MSK(0x00000001,uint32_t)) /* Camera Pipe DC Request */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_OPF_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_OPF_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_OPF_CFG_START 0 /* Start */
-#define BITM_PVP_OPF_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_OPF_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_OPF_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_OPF_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF_CTL_FINISH 12 /* Finish Enable */
-#define BITP_PVP_OPF_CTL_OSIZE 8 /* Output Data Size */
-#define BITP_PVP_OPF_CTL_QFRMT 5 /* Q Format Correction */
-#define BITP_PVP_OPF_CTL_IUP16 4 /* Input Upper 16-Bit Data */
-#define BITP_PVP_OPF_CTL_ISIZE 0 /* Input Data Size */
-
-#define BITM_PVP_OPF_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* Finish Enable */
-#define ENUM_PVP_OPF_CTL_NOFINISH (_ADI_MSK(0x00000000,uint32_t)) /* FINISH: Disable Finish Signal */
-#define ENUM_PVP_OPF_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* FINISH: Enable Finish Signal */
-
-#define BITM_PVP_OPF_CTL_OSIZE (_ADI_MSK(0x00000300,uint32_t)) /* Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 32-Bit Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE16 (_ADI_MSK(0x00000100,uint32_t)) /* OSIZE: 16-Bit Output Data Size */
-#define ENUM_PVP_OPF_CTL_OSIZE8 (_ADI_MSK(0x00000200,uint32_t)) /* OSIZE: 8-Bit Output Data Size */
-
-#define BITM_PVP_OPF_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_OPF_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_OPF_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_OPF_CTL_IUP16 (_ADI_MSK(0x00000010,uint32_t)) /* Input Upper 16-Bit Data */
-#define ENUM_PVP_OPF_CTL_LOWER16 (_ADI_MSK(0x00000000,uint32_t)) /* IUP16: Lower 16 Bits */
-#define ENUM_PVP_OPF_CTL_UPPER16 (_ADI_MSK(0x00000010,uint32_t)) /* IUP16: Upper 16 Bits */
-
-#define BITM_PVP_OPF_CTL_ISIZE (_ADI_MSK(0x00000003,uint32_t)) /* Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* ISIZE: 32-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE16 (_ADI_MSK(0x00000001,uint32_t)) /* ISIZE: 16-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE8 (_ADI_MSK(0x00000002,uint32_t)) /* ISIZE: 8-Bit Input Data Size */
-#define ENUM_PVP_OPF_CTL_ISIZE4 (_ADI_MSK(0x00000003,uint32_t)) /* ISIZE: 4-Bit Input Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF3_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF3_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_OPF3_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_OPF3_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_OPF3_CFG_START 0 /* Start */
-#define BITM_PVP_OPF3_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_OPF3_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_OPF3_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_OPF3_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_OPF3_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_OPF3_CTL_FINISH 12 /* Finish Enable */
-#define BITP_PVP_OPF3_CTL_OSIZE 8 /* Output Data Size */
-#define BITP_PVP_OPF3_CTL_QFRMT 5 /* Q Format Correction */
-#define BITP_PVP_OPF3_CTL_IUP16 4 /* Input Upper 16-Bit Data */
-#define BITP_PVP_OPF3_CTL_ISIZE 0 /* Input Data Size */
-
-#define BITM_PVP_OPF3_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* Finish Enable */
-#define ENUM_PVP_OPF3_CTL_NOFINISH (_ADI_MSK(0x00000000,uint32_t)) /* FINISH: Disable Finish Signal */
-#define ENUM_PVP_OPF3_CTL_FINISH (_ADI_MSK(0x00001000,uint32_t)) /* FINISH: Enable Finish Signal */
-
-#define BITM_PVP_OPF3_CTL_OSIZE (_ADI_MSK(0x00000300,uint32_t)) /* Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 32-Bit Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE16 (_ADI_MSK(0x00000100,uint32_t)) /* OSIZE: 16-Bit Output Data Size */
-#define ENUM_PVP_OPF3_CTL_OSIZE8 (_ADI_MSK(0x00000200,uint32_t)) /* OSIZE: 8-Bit Output Data Size */
-
-#define BITM_PVP_OPF3_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_OPF3_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_OPF3_CTL_QFRMT (_ADI_MSK(0x00000020,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_OPF3_CTL_IUP16 (_ADI_MSK(0x00000010,uint32_t)) /* Input Upper 16-Bit Data */
-#define ENUM_PVP_OPF3_CTL_LOWER16 (_ADI_MSK(0x00000000,uint32_t)) /* IUP16: Lower 16 Bits */
-#define ENUM_PVP_OPF3_CTL_UPPER16 (_ADI_MSK(0x00000010,uint32_t)) /* IUP16: Upper 16 Bits */
-
-#define BITM_PVP_OPF3_CTL_ISIZE (_ADI_MSK(0x00000003,uint32_t)) /* Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE32 (_ADI_MSK(0x00000000,uint32_t)) /* ISIZE: 32-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE16 (_ADI_MSK(0x00000001,uint32_t)) /* ISIZE: 16-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE8 (_ADI_MSK(0x00000002,uint32_t)) /* ISIZE: 8-Bit Input Data Size */
-#define ENUM_PVP_OPF3_CTL_ISIZE4 (_ADI_MSK(0x00000003,uint32_t)) /* ISIZE: 4-Bit Input Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_PEC_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_PEC_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_PEC_CFG_START 0 /* Start */
-#define BITM_PVP_PEC_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_PEC_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_PEC_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_PEC_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_PEC_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_PEC_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_CTL_IGNTH1 3 /* Ignore TH1 Threshold for Encoding */
-#define BITP_PVP_PEC_CTL_OSIZE 2 /* Output Data Size per Bin */
-#define BITP_PVP_PEC_CTL_ZCRSS 1 /* Zero Cross */
-#define BITP_PVP_PEC_CTL_MODE 0 /* Derivative Mode Select */
-
-#define BITM_PVP_PEC_CTL_IGNTH1 (_ADI_MSK(0x00000008,uint32_t)) /* Ignore TH1 Threshold for Encoding */
-#define ENUM_PVP_PEC_CTL_ENCODEDIFF (_ADI_MSK(0x00000000,uint32_t)) /* IGNTH1: Different Strong/Weak Edge Encoding */
-#define ENUM_PVP_PEC_CTL_ENCODESAME (_ADI_MSK(0x00000008,uint32_t)) /* IGNTH1: Identical Strong/Weak Edge Encoding */
-
-#define BITM_PVP_PEC_CTL_OSIZE (_ADI_MSK(0x00000004,uint32_t)) /* Output Data Size per Bin */
-#define ENUM_PVP_PEC_CTL_BIN8 (_ADI_MSK(0x00000000,uint32_t)) /* OSIZE: 8 Bits Per Bin PEC Output Data Size */
-#define ENUM_PVP_PEC_CTL_BIN16 (_ADI_MSK(0x00000004,uint32_t)) /* OSIZE: 16 Bits Per Bin PEC Output Data Size */
-
-#define BITM_PVP_PEC_CTL_ZCRSS (_ADI_MSK(0x00000002,uint32_t)) /* Zero Cross */
-#define ENUM_PVP_PEC_CTL_ANGLE (_ADI_MSK(0x00000000,uint32_t)) /* ZCRSS: Angle Indices and Sub-Pixel Values */
-#define ENUM_PVP_PEC_CTL_ZEROCROSS (_ADI_MSK(0x00000002,uint32_t)) /* ZCRSS: Zero Crossing Codes and Sub-Pixel Values */
-
-#define BITM_PVP_PEC_CTL_MODE (_ADI_MSK(0x00000001,uint32_t)) /* Derivative Mode Select */
-#define ENUM_PVP_PEC_CTL_DERIV1 (_ADI_MSK(0x00000000,uint32_t)) /* MODE: 1st Derivative Mode */
-#define ENUM_PVP_PEC_CTL_DERIV2 (_ADI_MSK(0x00000001,uint32_t)) /* MODE: 2nd Derivative Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D1TH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D1TH0_VALUE 0 /* Lower Hysteresis Threshold */
-#define BITM_PVP_PEC_D1TH0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Lower Hysteresis Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D1TH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D1TH1_VALUE 0 /* Upper Hysteresis Threshold */
-#define BITM_PVP_PEC_D1TH1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Upper Hysteresis Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D2TH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D2TH0_VALUE 0 /* Weak Zero Crossing Threshold */
-#define BITM_PVP_PEC_D2TH0_VALUE (_ADI_MSK(0x00007FFF,uint32_t)) /* Weak Zero Crossing Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PEC_D2TH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PEC_D2TH1_VALUE 0 /* Strong Zero Crossing Threshold */
-#define BITM_PVP_PEC_D2TH1_VALUE (_ADI_MSK(0x00007FFF,uint32_t)) /* Strong Zero Crossing Threshold */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_IIM_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_IIM_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IIM_CFG_START 0 /* Start */
-#define BITM_PVP_IIM_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_IIM_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_IIM_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_IIM_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_IIM_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_IIM_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_CTL_SHIFT 8 /* Shift Select */
-#define BITP_PVP_IIM_CTL_WIDTH 2 /* Width Select */
-#define BITP_PVP_IIM_CTL_MODE 0 /* Mode Select */
-#define BITM_PVP_IIM_CTL_SHIFT (_ADI_MSK(0x00001F00,uint32_t)) /* Shift Select */
-
-#define BITM_PVP_IIM_CTL_WIDTH (_ADI_MSK(0x0000000C,uint32_t)) /* Width Select */
-#define ENUM_PVP_IIM_CTL_SINGLE32 (_ADI_MSK(0x00000000,uint32_t)) /* WIDTH: Single 32 Bit */
-#define ENUM_PVP_IIM_CTL_DUAL16 (_ADI_MSK(0x00000004,uint32_t)) /* WIDTH: Dual 16 Bit */
-#define ENUM_PVP_IIM_CTL_QUAD8 (_ADI_MSK(0x0000000C,uint32_t)) /* WIDTH: Quad 8 Bit */
-
-#define BITM_PVP_IIM_CTL_MODE (_ADI_MSK(0x00000003,uint32_t)) /* Mode Select */
-#define ENUM_PVP_IIM_CTL_RECTMODE (_ADI_MSK(0x00000000,uint32_t)) /* MODE: Rectangular Mode ( SAT) */
-#define ENUM_PVP_IIM_CTL_DIAGMODE (_ADI_MSK(0x00000001,uint32_t)) /* MODE: Diagonal Mode ( RSAT -45) */
-#define ENUM_PVP_IIM_CTL_ROWMODE (_ADI_MSK(0x00000002,uint32_t)) /* MODE: Row Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_SCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_SCALE_VSCL 16 /* Vertical Scaling Factor */
-#define BITP_PVP_IIM_SCALE_HSCL 0 /* Horizontal Scaling Factor */
-#define BITM_PVP_IIM_SCALE_VSCL (_ADI_MSK(0x01FF0000,uint32_t)) /* Vertical Scaling Factor */
-#define BITM_PVP_IIM_SCALE_HSCL (_ADI_MSK(0x000003FF,uint32_t)) /* Horizontal Scaling Factor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_SOVF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_SOVF_STAT_VPOS 16 /* Veritcal Pixel Coordinate */
-#define BITP_PVP_IIM_SOVF_STAT_HPOS 0 /* Horizontal Pixel Coordinate */
-#define BITM_PVP_IIM_SOVF_STAT_VPOS (_ADI_MSK(0x03FF0000,uint32_t)) /* Veritcal Pixel Coordinate */
-#define BITM_PVP_IIM_SOVF_STAT_HPOS (_ADI_MSK(0x000007FF,uint32_t)) /* Horizontal Pixel Coordinate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IIM_UOVF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IIM_UOVF_STAT_VPOS 16 /* Veritcal Pixel Coordinate */
-#define BITP_PVP_IIM_UOVF_STAT_HPOS 0 /* Horizontal Pixel Coordinate */
-#define BITM_PVP_IIM_UOVF_STAT_VPOS (_ADI_MSK(0x03FF0000,uint32_t)) /* Veritcal Pixel Coordinate */
-#define BITM_PVP_IIM_UOVF_STAT_HPOS (_ADI_MSK(0x000007FF,uint32_t)) /* Horizontal Pixel Coordinate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_CFG_IBLOCK1 16 /* Input Block 1 ID */
-#define BITP_PVP_ACU_CFG_IBLOCK0 8 /* Input Block 0 ID */
-#define BITP_PVP_ACU_CFG_IPORT1 6 /* Input Port 1 ID */
-#define BITP_PVP_ACU_CFG_IPORT0 4 /* Input Port 0 ID */
-#define BITP_PVP_ACU_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_ACU_CFG_START 0 /* Start */
-#define BITM_PVP_ACU_CFG_IBLOCK1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Input Block 1 ID */
-#define BITM_PVP_ACU_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block 0 ID */
-#define BITM_PVP_ACU_CFG_IPORT1 (_ADI_MSK(0x000000C0,uint32_t)) /* Input Port 1 ID */
-#define BITM_PVP_ACU_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port 0 ID */
-
-#define BITM_PVP_ACU_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_ACU_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_ACU_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_ACU_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_CTL_SUMOP 28 /* Sum Operation */
-#define BITP_PVP_ACU_CTL_SUMISW 27 /* Sum Input Swap */
-#define BITP_PVP_ACU_CTL_SUMINP 24 /* Sum Inputs for Adder */
-#define BITP_PVP_ACU_CTL_PRDOP 20 /* Prod Operation */
-#define BITP_PVP_ACU_CTL_PRDISW 19 /* Prod Input Swap */
-#define BITP_PVP_ACU_CTL_PRDINP 16 /* Prod Inputs for Mult/Div */
-#define BITP_PVP_ACU_CTL_ACCFRAME 15 /* Accumulator Frame */
-#define BITP_PVP_ACU_CTL_ACCINP 8 /* Accumulator Input */
-#define BITP_PVP_ACU_CTL_SFTINP 0 /* Shift Input */
-
-#define BITM_PVP_ACU_CTL_SUMOP (_ADI_MSK(0x10000000,uint32_t)) /* Sum Operation */
-#define ENUM_PVP_ACU_CTL_ADD (_ADI_MSK(0x00000000,uint32_t)) /* SUMOP: Add */
-#define ENUM_PVP_ACU_CTL_SUBTRACT (_ADI_MSK(0x10000000,uint32_t)) /* SUMOP: Subtract */
-
-#define BITM_PVP_ACU_CTL_SUMISW (_ADI_MSK(0x08000000,uint32_t)) /* Sum Input Swap */
-#define ENUM_PVP_ACU_CTL_NOSWAPSUM (_ADI_MSK(0x00000000,uint32_t)) /* SUMISW: Do Not Swap Operands */
-#define ENUM_PVP_ACU_CTL_SWAPSUM (_ADI_MSK(0x08000000,uint32_t)) /* SUMISW: Swap Operands */
-
-#define BITM_PVP_ACU_CTL_SUMINP (_ADI_MSK(0x03000000,uint32_t)) /* Sum Inputs for Adder */
-#define ENUM_PVP_ACU_CTL_SUMXY (_ADI_MSK(0x00000000,uint32_t)) /* SUMINP: X,Y Inputs */
-#define ENUM_PVP_ACU_CTL_SUMXOFF (_ADI_MSK(0x01000000,uint32_t)) /* SUMINP: X,OFFSET Inputs */
-#define ENUM_PVP_ACU_CTL_SUMYOFF (_ADI_MSK(0x02000000,uint32_t)) /* SUMINP: Y,OFFSET Inputs */
-
-#define BITM_PVP_ACU_CTL_PRDOP (_ADI_MSK(0x00300000,uint32_t)) /* Prod Operation */
-#define ENUM_PVP_ACU_CTL_MULTIPLY (_ADI_MSK(0x00000000,uint32_t)) /* PRDOP: Multiply */
-#define ENUM_PVP_ACU_CTL_DIVQUOTIENT (_ADI_MSK(0x00100000,uint32_t)) /* PRDOP: Divide with Quotient */
-#define ENUM_PVP_ACU_CTL_DIVMODULUS (_ADI_MSK(0x00200000,uint32_t)) /* PRDOP: Divide with Modulus */
-
-#define BITM_PVP_ACU_CTL_PRDISW (_ADI_MSK(0x00080000,uint32_t)) /* Prod Input Swap */
-#define ENUM_PVP_ACU_CTL_NOSWAPPROD (_ADI_MSK(0x00000000,uint32_t)) /* PRDISW: Do Not Swap Operands */
-#define ENUM_PVP_ACU_CTL_SWAPPROD (_ADI_MSK(0x00080000,uint32_t)) /* PRDISW: Swap Operands */
-
-#define BITM_PVP_ACU_CTL_PRDINP (_ADI_MSK(0x00030000,uint32_t)) /* Prod Inputs for Mult/Div */
-#define ENUM_PVP_ACU_CTL_PRODXY (_ADI_MSK(0x00000000,uint32_t)) /* PRDINP: X,Y Inputs */
-#define ENUM_PVP_ACU_CTL_PRODXFACT (_ADI_MSK(0x00010000,uint32_t)) /* PRDINP: X,FACTOR Inputs */
-#define ENUM_PVP_ACU_CTL_PRODYFACT (_ADI_MSK(0x00020000,uint32_t)) /* PRDINP: Y,FACTOR Inputs */
-#define ENUM_PVP_ACU_CTL_PRODSUMFACT (_ADI_MSK(0x00030000,uint32_t)) /* PRDINP: SUM,FACTOR Inputs */
-
-#define BITM_PVP_ACU_CTL_ACCFRAME (_ADI_MSK(0x00008000,uint32_t)) /* Accumulator Frame */
-#define ENUM_PVP_ACU_CTL_ACCUMROW (_ADI_MSK(0x00000000,uint32_t)) /* ACCFRAME: Clear ACC After Row */
-#define ENUM_PVP_ACU_CTL_ACCUMFRAME (_ADI_MSK(0x00008000,uint32_t)) /* ACCFRAME: Clear ACC After Frame */
-
-#define BITM_PVP_ACU_CTL_ACCINP (_ADI_MSK(0x00000300,uint32_t)) /* Accumulator Input */
-#define ENUM_PVP_ACU_CTL_ACCUMX (_ADI_MSK(0x00000000,uint32_t)) /* ACCINP: X Input */
-#define ENUM_PVP_ACU_CTL_ACCUMSUM (_ADI_MSK(0x00000100,uint32_t)) /* ACCINP: SUM Input */
-#define ENUM_PVP_ACU_CTL_ACCUMPROD (_ADI_MSK(0x00000200,uint32_t)) /* ACCINP: PROD Input */
-
-#define BITM_PVP_ACU_CTL_SFTINP (_ADI_MSK(0x00000003,uint32_t)) /* Shift Input */
-#define ENUM_PVP_ACU_CTL_SHIFTXIN (_ADI_MSK(0x00000000,uint32_t)) /* SFTINP: X Input */
-#define ENUM_PVP_ACU_CTL_SHIFTSUM (_ADI_MSK(0x00000001,uint32_t)) /* SFTINP: SUM Result Input */
-#define ENUM_PVP_ACU_CTL_SHIFTPROD (_ADI_MSK(0x00000002,uint32_t)) /* SFTINP: PROD Result Input */
-#define ENUM_PVP_ACU_CTL_SHIFTACC (_ADI_MSK(0x00000003,uint32_t)) /* SFTINP: ACC Result Input */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_ACU_SHIFT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_ACU_SHIFT_VALUE 0 /* SHIFT Constant */
-#define BITM_PVP_ACU_SHIFT_VALUE (_ADI_MSK(0x0000003F,uint32_t)) /* SHIFT Constant */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_UDS_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_UDS_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_UDS_CFG_START 0 /* Start */
-#define BITM_PVP_UDS_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_UDS_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-#define BITM_PVP_UDS_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_UDS_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_CTL_AAVG 0 /* Automatic Averaging */
-
-#define BITM_PVP_UDS_CTL_AAVG (_ADI_MSK(0x00000001,uint32_t)) /* Automatic Averaging */
-#define ENUM_PVP_UDS_CTL_MANTAPS (_ADI_MSK(0x00000000,uint32_t)) /* AAVG: Manual Filter Tap Selection */
-#define ENUM_PVP_UDS_CTL_AUTOTAPS (_ADI_MSK(0x00000001,uint32_t)) /* AAVG: Auto Filter Tap Selection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_OHCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_OHCNT_VALUE 4 /* H Dimension of Output Frame */
-#define BITM_PVP_UDS_OHCNT_VALUE (_ADI_MSK(0x000000F0,uint32_t)) /* H Dimension of Output Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_OVCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_OVCNT_VALUE 4 /* V Dimension of Output Frame */
-#define BITM_PVP_UDS_OVCNT_VALUE (_ADI_MSK(0x000000F0,uint32_t)) /* V Dimension of Output Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_HAVG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_HAVG_VALUE 0 /* H Filter Taps */
-#define BITM_PVP_UDS_HAVG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* H Filter Taps */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_UDS_VAVG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_UDS_VAVG_VALUE 0 /* V Filter Taps */
-#define BITM_PVP_UDS_VAVG_VALUE (_ADI_MSK(0x0000007F,uint32_t)) /* V Filter Taps */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_CFG_STATWCNT 24 /* Camera Pipe DMA Status */
-#define BITP_PVP_IPF0_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IPF0_CFG_START 0 /* Start */
-#define BITM_PVP_IPF0_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Camera Pipe DMA Status */
-#define BITM_PVP_IPF0_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_IPF0_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_PIPECTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_PIPECTL_STATEN 4 /* DMA Status Enable */
-#define BITP_PVP_IPF_PIPECTL_DRAIN 0 /* Drain Enable */
-#define BITM_PVP_IPF_PIPECTL_STATEN (_ADI_MSK(0x00000010,uint32_t)) /* DMA Status Enable */
-#define BITM_PVP_IPF_PIPECTL_DRAIN (_ADI_MSK(0x00000001,uint32_t)) /* Drain Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_CTL_QFRMT 27 /* Q Format Correction */
-#define BITP_PVP_IPF_CTL_SIGNEXT 26 /* Sign Extend */
-#define BITP_PVP_IPF_CTL_EXTRED 25 /* Extract Red/Green */
-#define BITP_PVP_IPF_CTL_UNPACK 24 /* Unpack Incoming */
-#define BITP_PVP_IPF_CTL_CFRMT 16 /* Color Space Format */
-#define BITP_PVP_IPF_CTL_OPORT2EN 12 /* Output Port 2 Enable */
-#define BITP_PVP_IPF_CTL_OPORT1EN 8 /* Output Port 1 Enable */
-#define BITP_PVP_IPF_CTL_OPORT0EN 4 /* Output Port 0 Enable */
-
-#define BITM_PVP_IPF_CTL_QFRMT (_ADI_MSK(0x08000000,uint32_t)) /* Q Format Correction */
-#define ENUM_PVP_IPF_CTL_NOQFRMT (_ADI_MSK(0x00000000,uint32_t)) /* QFRMT: Disable Q Format Correction */
-#define ENUM_PVP_IPF_CTL_QFRMT (_ADI_MSK(0x08000000,uint32_t)) /* QFRMT: Enable Q Format Correction */
-
-#define BITM_PVP_IPF_CTL_SIGNEXT (_ADI_MSK(0x04000000,uint32_t)) /* Sign Extend */
-#define ENUM_PVP_IPF_CTL_ZEROEXT (_ADI_MSK(0x00000000,uint32_t)) /* SIGNEXT: Zero Extend */
-#define ENUM_PVP_IPF_CTL_SIGNEXT (_ADI_MSK(0x04000000,uint32_t)) /* SIGNEXT: Sign Extend */
-
-#define BITM_PVP_IPF_CTL_EXTRED (_ADI_MSK(0x02000000,uint32_t)) /* Extract Red/Green */
-#define ENUM_PVP_IPF_CTL_EXTGREEN (_ADI_MSK(0x00000000,uint32_t)) /* EXTRED: Extract Green */
-#define ENUM_PVP_IPF_CTL_EXTRED (_ADI_MSK(0x02000000,uint32_t)) /* EXTRED: Extract Red */
-
-#define BITM_PVP_IPF_CTL_UNPACK (_ADI_MSK(0x01000000,uint32_t)) /* Unpack Incoming */
-#define ENUM_PVP_IPF_CTL_UNPACKDIS (_ADI_MSK(0x00000000,uint32_t)) /* UNPACK: No Unpacking */
-#define ENUM_PVP_IPF_CTL_UNPACKEN (_ADI_MSK(0x01000000,uint32_t)) /* UNPACK: Unpack Data */
-
-#define BITM_PVP_IPF_CTL_CFRMT (_ADI_MSK(0x001F0000,uint32_t)) /* Color Space Format */
-#define ENUM_PVP_IPF_CTL_RGB8 (_ADI_MSK(0x00000000,uint32_t)) /* CFRMT: RGB 8-Bit */
-#define ENUM_PVP_IPF_CTL_RGB888 (_ADI_MSK(0x00010000,uint32_t)) /* CFRMT: RGB 888 */
-#define ENUM_PVP_IPF_CTL_YUV8 (_ADI_MSK(0x00100000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 1 */
-#define ENUM_PVP_IPF_CTL_YUV8SPLT (_ADI_MSK(0x00110000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 2 */
-#define ENUM_PVP_IPF_CTL_YUV8SUBSPLT (_ADI_MSK(0x00120000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Type 3 */
-#define ENUM_PVP_IPF_CTL_YUV8IN16 (_ADI_MSK(0x00130000,uint32_t)) /* CFRMT: YUV 4:2:2 8-Bit Pair 16-Bit */
-#define ENUM_PVP_IPF_CTL_RGB565 (_ADI_MSK(0x00020000,uint32_t)) /* CFRMT: RGB 565 */
-#define ENUM_PVP_IPF_CTL_YUV16 (_ADI_MSK(0x00140000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 1 */
-#define ENUM_PVP_IPF_CTL_YUV16SPLT (_ADI_MSK(0x00150000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 2 */
-#define ENUM_PVP_IPF_CTL_YUV16SUBSPLT (_ADI_MSK(0x00160000,uint32_t)) /* CFRMT: YUV 4:2:2 16-Bit Type 3 */
-#define ENUM_PVP_IPF_CTL_Y8 (_ADI_MSK(0x00180000,uint32_t)) /* CFRMT: Y Alone 8-Bit */
-#define ENUM_PVP_IPF_CTL_Y16 (_ADI_MSK(0x00190000,uint32_t)) /* CFRMT: Y Alone 16-Bit */
-#define ENUM_PVP_IPF_CTL_Y24 (_ADI_MSK(0x001A0000,uint32_t)) /* CFRMT: Y Alone 24-Bit */
-#define ENUM_PVP_IPF_CTL_WORD32 (_ADI_MSK(0x001B0000,uint32_t)) /* CFRMT: 32 Bit */
-#define ENUM_PVP_IPF_CTL_RGB666 (_ADI_MSK(0x00030000,uint32_t)) /* CFRMT: RGB 666 */
-#define ENUM_PVP_IPF_CTL_RGB16 (_ADI_MSK(0x00040000,uint32_t)) /* CFRMT: RGB 16-Bit */
-#define ENUM_PVP_IPF_CTL_BAYER1 (_ADI_MSK(0x00050000,uint32_t)) /* CFRMT: RGB Bayer Format Type-1 */
-#define ENUM_PVP_IPF_CTL_BAYER2 (_ADI_MSK(0x00060000,uint32_t)) /* CFRMT: RGB Bayer Format Type-2 */
-
-#define BITM_PVP_IPF_CTL_OPORT2EN (_ADI_MSK(0x00001000,uint32_t)) /* Output Port 2 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT2DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT2EN: Disable OPORT2 */
-#define ENUM_PVP_IPF_CTL_OPORT2EVEN (_ADI_MSK(0x00001000,uint32_t)) /* OPORT2EN: Enable OPORT2 (full resolution) */
-
-#define BITM_PVP_IPF_CTL_OPORT1EN (_ADI_MSK(0x00000300,uint32_t)) /* Output Port 1 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT1DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT1EN: Disable OPORT1 */
-#define ENUM_PVP_IPF_CTL_OPORT1ODD (_ADI_MSK(0x00000100,uint32_t)) /* OPORT1EN: Enable OPORT1 (full resolution) */
-#define ENUM_PVP_IPF_CTL_OPORT1WIN (_ADI_MSK(0x00000200,uint32_t)) /* OPORT1EN: Enable OPORT1 (windowed resolution) */
-
-#define BITM_PVP_IPF_CTL_OPORT0EN (_ADI_MSK(0x00000010,uint32_t)) /* Output Port 0 Enable */
-#define ENUM_PVP_IPF_CTL_OPORT0DIS (_ADI_MSK(0x00000000,uint32_t)) /* OPORT0EN: Disable OPORT0 */
-#define ENUM_PVP_IPF_CTL_OPORT0EN (_ADI_MSK(0x00000010,uint32_t)) /* OPORT0EN: Enable OPORT0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_TAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_TAG_VALUE 0 /* TAG Value */
-#define BITM_PVP_IPF_TAG_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* TAG Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_HCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_HCNT_VALUE 0 /* Effective Width of ROI */
-#define BITM_PVP_IPF_HCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Effective Width of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_VCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_VCNT_VALUE 0 /* Effective Height of ROI */
-#define BITM_PVP_IPF_VCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Effective Height of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_HPOS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_HPOS_VALUE 0 /* Horizontal Delay of ROI */
-#define BITM_PVP_IPF0_HPOS_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Horizontal Delay of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF0_VPOS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF0_VPOS_VALUE 0 /* Vertical Delay of ROI */
-#define BITM_PVP_IPF0_VPOS_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Vertical Delay of ROI */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF_TAG_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF_TAG_STAT_VALUE 0 /* TAG Value */
-#define BITM_PVP_IPF_TAG_STAT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* TAG Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_IPF1_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_IPF1_CFG_STATWCNT 24 /* Status Word Count */
-#define BITP_PVP_IPF1_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_IPF1_CFG_START 0 /* Start */
-#define BITM_PVP_IPF1_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Status Word Count */
-#define BITM_PVP_IPF1_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define BITM_PVP_IPF1_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_CNV_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_CNV_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_CNV_CFG_START 0 /* Start */
-#define BITM_PVP_CNV_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_CNV_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_CNV_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_CNV_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_CNV_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_CNV_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_CTL_SHIFT 4 /* Shift Right */
-#define BITP_PVP_CNV_CTL_ZEROFILL 1 /* Zero Fill */
-#define BITP_PVP_CNV_CTL_SAT32 0 /* Saturate Output to 32 Bits */
-#define BITM_PVP_CNV_CTL_SHIFT (_ADI_MSK(0x000001F0,uint32_t)) /* Shift Right */
-
-#define BITM_PVP_CNV_CTL_ZEROFILL (_ADI_MSK(0x00000002,uint32_t)) /* Zero Fill */
-#define ENUM_PVP_CNV_CTL_EDGEDUP (_ADI_MSK(0x00000000,uint32_t)) /* ZEROFILL: Duplicated Data Fill */
-#define ENUM_PVP_CNV_CTL_EDGEZFILL (_ADI_MSK(0x00000002,uint32_t)) /* ZEROFILL: Zero Fill */
-
-#define BITM_PVP_CNV_CTL_SAT32 (_ADI_MSK(0x00000001,uint32_t)) /* Saturate Output to 32 Bits */
-#define ENUM_PVP_CNV_CTL_SIGNEXT (_ADI_MSK(0x00000000,uint32_t)) /* SAT32: 16-Bit Saturate of Output */
-#define ENUM_PVP_CNV_CTL_SAT32 (_ADI_MSK(0x00000001,uint32_t)) /* SAT32: 32-Bit Saturate of Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C00C01 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C00C01_C01 16 /* Coefficient 0, 1 */
-#define BITP_PVP_CNV_C00C01_C00 0 /* Coefficient 0, 0 */
-#define BITM_PVP_CNV_C00C01_C01 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 0, 1 */
-#define BITM_PVP_CNV_C00C01_C00 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C02C03 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C02C03_C03 16 /* Coefficient 0, 3 */
-#define BITP_PVP_CNV_C02C03_C02 0 /* Coefficient 0, 2 */
-#define BITM_PVP_CNV_C02C03_C03 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 0, 3 */
-#define BITM_PVP_CNV_C02C03_C02 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C04 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C04_C04 0 /* Coefficient 0, 4 */
-#define BITM_PVP_CNV_C04_C04 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 0, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C10C11 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C10C11_C11 16 /* Coefficient 1, 1 */
-#define BITP_PVP_CNV_C10C11_C10 0 /* Coefficient 1, 0 */
-#define BITM_PVP_CNV_C10C11_C11 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 1, 1 */
-#define BITM_PVP_CNV_C10C11_C10 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C12C13 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C12C13_C13 16 /* Coefficient 1, 3 */
-#define BITP_PVP_CNV_C12C13_C12 0 /* Coefficient 1, 2 */
-#define BITM_PVP_CNV_C12C13_C13 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 1, 3 */
-#define BITM_PVP_CNV_C12C13_C12 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C14 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C14_C14 0 /* Coefficient 1, 4 */
-#define BITM_PVP_CNV_C14_C14 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 1, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C20C21 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C20C21_C21 16 /* Coefficient 2, 1 */
-#define BITP_PVP_CNV_C20C21_C20 0 /* Coefficient 2, 0 */
-#define BITM_PVP_CNV_C20C21_C21 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 2, 1 */
-#define BITM_PVP_CNV_C20C21_C20 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C22C23 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C22C23_C23 16 /* Coefficient 2, 3 */
-#define BITP_PVP_CNV_C22C23_C22 0 /* Coefficient 2, 2 */
-#define BITM_PVP_CNV_C22C23_C23 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 2, 3 */
-#define BITM_PVP_CNV_C22C23_C22 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C24 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C24_C24 0 /* Coefficient 2, 4 */
-#define BITM_PVP_CNV_C24_C24 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 2, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C30C31 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C30C31_C31 16 /* Coefficient 3, 1 */
-#define BITP_PVP_CNV_C30C31_C30 0 /* Coefficient 3, 0 */
-#define BITM_PVP_CNV_C30C31_C31 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 3, 1 */
-#define BITM_PVP_CNV_C30C31_C30 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C32C33 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C32C33_C33 16 /* Coefficient 3, 3 */
-#define BITP_PVP_CNV_C32C33_C32 0 /* Coefficient 3, 2 */
-#define BITM_PVP_CNV_C32C33_C33 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 3, 3 */
-#define BITM_PVP_CNV_C32C33_C32 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C34 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C34_C34 0 /* Coefficient 3, 4 */
-#define BITM_PVP_CNV_C34_C34 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 3, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C40C41 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C40C41_C41 16 /* Coefficient 4, 1 */
-#define BITP_PVP_CNV_C40C41_C40 0 /* Coefficient 4, 0 */
-#define BITM_PVP_CNV_C40C41_C41 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 4, 1 */
-#define BITM_PVP_CNV_C40C41_C40 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C42C43 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C42C43_C43 16 /* Coefficient 4, 3 */
-#define BITP_PVP_CNV_C42C43_C42 0 /* Coefficient 4, 2 */
-#define BITM_PVP_CNV_C42C43_C43 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Coefficient 4, 3 */
-#define BITM_PVP_CNV_C42C43_C42 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 2 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_C44 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_C44_C44 0 /* Coefficient 4, 4 */
-#define BITM_PVP_CNV_C44_C44 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Coefficient 4, 4 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_CNV_SCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_CNV_SCALE_VSCL 16 /* Vertical Scaling factor */
-#define BITP_PVP_CNV_SCALE_HSCL 0 /* Horizontal Scaling factor */
-#define BITM_PVP_CNV_SCALE_VSCL (_ADI_MSK(0x01FF0000,uint32_t)) /* Vertical Scaling factor */
-#define BITM_PVP_CNV_SCALE_HSCL (_ADI_MSK(0x000003FF,uint32_t)) /* Horizontal Scaling factor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_THC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_THC_CFG_STATWCNT 24 /* Status Word Count */
-#define BITP_PVP_THC_CFG_IBLOCK0 8 /* Input Block ID */
-#define BITP_PVP_THC_CFG_IPORT0 4 /* Input Port ID */
-#define BITP_PVP_THC_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_THC_CFG_START 0 /* Start */
-#define BITM_PVP_THC_CFG_STATWCNT (_ADI_MSK(0xFF000000,uint32_t)) /* Status Word Count */
-#define BITM_PVP_THC_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block ID */
-#define BITM_PVP_THC_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port ID */
-
-#define BITM_PVP_THC_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_THC_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_THC_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_THC_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_THC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_THC_CTL_HISTEN 16 /* Histogram Counters Enable */
-#define BITP_PVP_THC_CTL_RLEWM 11 /* Run-length Encoding Window Mode */
-#define BITP_PVP_THC_CTL_HISTWM 9 /* Histogram Window Mode */
-#define BITP_PVP_THC_CTL_RLEFRAME 8 /* Run-Length-Encode Frame */
-#define BITP_PVP_THC_CTL_OFRMT 4 /* Output Format */
-#define BITP_PVP_THC_CTL_ZEXT 2 /* Zero Extend */
-#define BITP_PVP_THC_CTL_MODE 0 /* Mode */
-
-#define BITM_PVP_THC_CTL_HISTEN (_ADI_MSK(0x00010000,uint32_t)) /* Histogram Counters Enable */
-#define ENUM_PVP_THC_CTL_HISTDIS (_ADI_MSK(0x00000000,uint32_t)) /* HISTEN: Disable */
-#define ENUM_PVP_THC_CTL_HISTEN (_ADI_MSK(0x00010000,uint32_t)) /* HISTEN: Enable */
-
-#define BITM_PVP_THC_CTL_RLEWM (_ADI_MSK(0x00001800,uint32_t)) /* Run-length Encoding Window Mode */
-#define ENUM_PVP_THC_CTL_COMPFRAME (_ADI_MSK(0x00000000,uint32_t)) /* RLEWM: Frame Compression */
-#define ENUM_PVP_THC_CTL_COMPWIN (_ADI_MSK(0x00000800,uint32_t)) /* RLEWM: Window Compression */
-
-#define BITM_PVP_THC_CTL_HISTWM (_ADI_MSK(0x00000600,uint32_t)) /* Histogram Window Mode */
-#define ENUM_PVP_THC_CTL_HISTFRAME (_ADI_MSK(0x00000000,uint32_t)) /* HISTWM: Frame Histogram */
-#define ENUM_PVP_THC_CTL_HISTWIN (_ADI_MSK(0x00000200,uint32_t)) /* HISTWM: Inside-Window Histogram */
-#define ENUM_PVP_THC_CTL_HISTOUTWIN (_ADI_MSK(0x00000400,uint32_t)) /* HISTWM: Outside-Window Histogram */
-
-#define BITM_PVP_THC_CTL_RLEFRAME (_ADI_MSK(0x00000100,uint32_t)) /* Run-Length-Encode Frame */
-#define ENUM_PVP_THC_CTL_RLELINE (_ADI_MSK(0x00000000,uint32_t)) /* RLEFRAME: Row (Line) Compression */
-#define ENUM_PVP_THC_CTL_RLEFRAME (_ADI_MSK(0x00000100,uint32_t)) /* RLEFRAME: Frame Compression */
-
-#define BITM_PVP_THC_CTL_OFRMT (_ADI_MSK(0x000000F0,uint32_t)) /* Output Format */
-#define ENUM_PVP_THC_CTL_WORD32 (_ADI_MSK(0x00000000,uint32_t)) /* OFRMT: 32-Bit Word ( No Compression ) */
-#define ENUM_PVP_THC_CTL_NODATA (_ADI_MSK(0x000000A0,uint32_t)) /* OFRMT: Disable Output/RLE */
-#define ENUM_PVP_THC_CTL_INDX4 (_ADI_MSK(0x00000020,uint32_t)) /* OFRMT: 4-Bit Index ( No Compression) */
-#define ENUM_PVP_THC_CTL_INDX4RL4 (_ADI_MSK(0x00000030,uint32_t)) /* OFRMT: 4-Bit Index / 4-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4ANGL4 (_ADI_MSK(0x00000040,uint32_t)) /* OFRMT: 4-Bit Index / 4-Bit angle ( No Compression) */
-#define ENUM_PVP_THC_CTL_INDX3RL5 (_ADI_MSK(0x00000050,uint32_t)) /* OFRMT: 3-Bit Index / 5-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4RL12 (_ADI_MSK(0x00000060,uint32_t)) /* OFRMT: 4-Bit Index / 12-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX3RL13 (_ADI_MSK(0x00000070,uint32_t)) /* OFRMT: 3-Bit Index / 13-Bit Run Length */
-#define ENUM_PVP_THC_CTL_INDX4RL21 (_ADI_MSK(0x00000080,uint32_t)) /* OFRMT: 4-Bit Index / 21-Bit Run Length */
-#define ENUM_PVP_THC_CTL_WORD16RL16 (_ADI_MSK(0x00000090,uint32_t)) /* OFRMT: 16-Bit Word / 16-Bit Run Length */
-
-#define BITM_PVP_THC_CTL_ZEXT (_ADI_MSK(0x00000004,uint32_t)) /* Zero Extend */
-#define ENUM_PVP_THC_CTL_ZEXTDIS (_ADI_MSK(0x00000000,uint32_t)) /* ZEXT: No Zero Extension */
-#define ENUM_PVP_THC_CTL_ZEXTEN (_ADI_MSK(0x00000004,uint32_t)) /* ZEXT: Zero Extend */
-
-#define BITM_PVP_THC_CTL_MODE (_ADI_MSK(0x00000003,uint32_t)) /* Mode */
-#define ENUM_PVP_THC_CTL_CLIPMODE (_ADI_MSK(0x00000000,uint32_t)) /* MODE: Clipping/Saturation Mode */
-#define ENUM_PVP_THC_CTL_QUANTMODE (_ADI_MSK(0x00000001,uint32_t)) /* MODE: Quantization Mode */
-#define ENUM_PVP_THC_CTL_HYSTMODE (_ADI_MSK(0x00000002,uint32_t)) /* MODE: Hysteresis Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PVP_PMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PVP_PMA_CFG_IBLOCK1 16 /* Input Block 1 ID */
-#define BITP_PVP_PMA_CFG_IBLOCK0 8 /* Input Block 0 ID */
-#define BITP_PVP_PMA_CFG_IPORT1 6 /* Input Port 1 ID */
-#define BITP_PVP_PMA_CFG_IPORT0 4 /* Input Port 0 ID */
-#define BITP_PVP_PMA_CFG_MPIPE 2 /* Memory Pipe */
-#define BITP_PVP_PMA_CFG_START 0 /* Start */
-#define BITM_PVP_PMA_CFG_IBLOCK1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Input Block 1 ID */
-#define BITM_PVP_PMA_CFG_IBLOCK0 (_ADI_MSK(0x0000FF00,uint32_t)) /* Input Block 0 ID */
-#define BITM_PVP_PMA_CFG_IPORT1 (_ADI_MSK(0x000000C0,uint32_t)) /* Input Port 1 ID */
-#define BITM_PVP_PMA_CFG_IPORT0 (_ADI_MSK(0x00000030,uint32_t)) /* Input Port 0 ID */
-
-#define BITM_PVP_PMA_CFG_MPIPE (_ADI_MSK(0x00000004,uint32_t)) /* Memory Pipe */
-#define ENUM_PVP_PMA_CFG_CAMPIPE (_ADI_MSK(0x00000000,uint32_t)) /* MPIPE: Camera Pipe */
-#define ENUM_PVP_PMA_CFG_MEMPIPE (_ADI_MSK(0x00000004,uint32_t)) /* MPIPE: Memory Pipe */
-#define BITM_PVP_PMA_CFG_START (_ADI_MSK(0x00000001,uint32_t)) /* Start */
-
-/* ==================================================
- Pulse-Width Modulator Registers
- ================================================== */
-
-/* =========================
- PWM0
- ========================= */
-#define REG_PWM0_CTL 0xFFC1B000 /* PWM0 Control Register */
-#define REG_PWM0_CHANCFG 0xFFC1B004 /* PWM0 Channel Config Register */
-#define REG_PWM0_TRIPCFG 0xFFC1B008 /* PWM0 Trip Config Register */
-#define REG_PWM0_STAT 0xFFC1B00C /* PWM0 Status Register */
-#define REG_PWM0_IMSK 0xFFC1B010 /* PWM0 Interrupt Mask Register */
-#define REG_PWM0_ILAT 0xFFC1B014 /* PWM0 Interrupt Latch Register */
-#define REG_PWM0_CHOPCFG 0xFFC1B018 /* PWM0 Chop Configuration Register */
-#define REG_PWM0_DT 0xFFC1B01C /* PWM0 Dead Time Register */
-#define REG_PWM0_SYNC_WID 0xFFC1B020 /* PWM0 Sync Pulse Width Register */
-#define REG_PWM0_TM0 0xFFC1B024 /* PWM0 Timer 0 Period Register */
-#define REG_PWM0_TM1 0xFFC1B028 /* PWM0 Timer 1 Period Register */
-#define REG_PWM0_TM2 0xFFC1B02C /* PWM0 Timer 2 Period Register */
-#define REG_PWM0_TM3 0xFFC1B030 /* PWM0 Timer 3 Period Register */
-#define REG_PWM0_TM4 0xFFC1B034 /* PWM0 Timer 4 Period Register */
-#define REG_PWM0_DLYA 0xFFC1B038 /* PWM0 Channel A Delay Register */
-#define REG_PWM0_DLYB 0xFFC1B03C /* PWM0 Channel B Delay Register */
-#define REG_PWM0_DLYC 0xFFC1B040 /* PWM0 Channel C Delay Register */
-#define REG_PWM0_DLYD 0xFFC1B044 /* PWM0 Channel D Delay Register */
-#define REG_PWM0_ACTL 0xFFC1B048 /* PWM0 Channel A Control Register */
-#define REG_PWM0_AH0 0xFFC1B04C /* PWM0 Channel A-High Duty-0 Register */
-#define REG_PWM0_AH1 0xFFC1B050 /* PWM0 Channel A-High Duty-1 Register */
-#define REG_PWM0_AL0 0xFFC1B05C /* PWM0 Channel A-Low Duty-0 Register */
-#define REG_PWM0_AL1 0xFFC1B060 /* PWM0 Channel A-Low Duty-1 Register */
-#define REG_PWM0_BCTL 0xFFC1B064 /* PWM0 Channel B Control Register */
-#define REG_PWM0_BH0 0xFFC1B068 /* PWM0 Channel B-High Duty-0 Register */
-#define REG_PWM0_BH1 0xFFC1B06C /* PWM0 Channel B-High Duty-1 Register */
-#define REG_PWM0_BL0 0xFFC1B078 /* PWM0 Channel B-Low Duty-0 Register */
-#define REG_PWM0_BL1 0xFFC1B07C /* PWM0 Channel B-Low Duty-1 Register */
-#define REG_PWM0_CCTL 0xFFC1B080 /* PWM0 Channel C Control Register */
-#define REG_PWM0_CH0 0xFFC1B084 /* PWM0 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM0_CH1 0xFFC1B088 /* PWM0 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM0_CL0 0xFFC1B094 /* PWM0 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM0_CL1 0xFFC1B098 /* PWM0 Channel C-Low Duty-1 Register */
-#define REG_PWM0_DCTL 0xFFC1B09C /* PWM0 Channel D Control Register */
-#define REG_PWM0_DH0 0xFFC1B0A0 /* PWM0 Channel D-High Duty-0 Register */
-#define REG_PWM0_DH1 0xFFC1B0A4 /* PWM0 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM0_DL0 0xFFC1B0B0 /* PWM0 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM0_DL1 0xFFC1B0B4 /* PWM0 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM1
- ========================= */
-#define REG_PWM1_CTL 0xFFC1B400 /* PWM1 Control Register */
-#define REG_PWM1_CHANCFG 0xFFC1B404 /* PWM1 Channel Config Register */
-#define REG_PWM1_TRIPCFG 0xFFC1B408 /* PWM1 Trip Config Register */
-#define REG_PWM1_STAT 0xFFC1B40C /* PWM1 Status Register */
-#define REG_PWM1_IMSK 0xFFC1B410 /* PWM1 Interrupt Mask Register */
-#define REG_PWM1_ILAT 0xFFC1B414 /* PWM1 Interrupt Latch Register */
-#define REG_PWM1_CHOPCFG 0xFFC1B418 /* PWM1 Chop Configuration Register */
-#define REG_PWM1_DT 0xFFC1B41C /* PWM1 Dead Time Register */
-#define REG_PWM1_SYNC_WID 0xFFC1B420 /* PWM1 Sync Pulse Width Register */
-#define REG_PWM1_TM0 0xFFC1B424 /* PWM1 Timer 0 Period Register */
-#define REG_PWM1_TM1 0xFFC1B428 /* PWM1 Timer 1 Period Register */
-#define REG_PWM1_TM2 0xFFC1B42C /* PWM1 Timer 2 Period Register */
-#define REG_PWM1_TM3 0xFFC1B430 /* PWM1 Timer 3 Period Register */
-#define REG_PWM1_TM4 0xFFC1B434 /* PWM1 Timer 4 Period Register */
-#define REG_PWM1_DLYA 0xFFC1B438 /* PWM1 Channel A Delay Register */
-#define REG_PWM1_DLYB 0xFFC1B43C /* PWM1 Channel B Delay Register */
-#define REG_PWM1_DLYC 0xFFC1B440 /* PWM1 Channel C Delay Register */
-#define REG_PWM1_DLYD 0xFFC1B444 /* PWM1 Channel D Delay Register */
-#define REG_PWM1_ACTL 0xFFC1B448 /* PWM1 Channel A Control Register */
-#define REG_PWM1_AH0 0xFFC1B44C /* PWM1 Channel A-High Duty-0 Register */
-#define REG_PWM1_AH1 0xFFC1B450 /* PWM1 Channel A-High Duty-1 Register */
-#define REG_PWM1_AL0 0xFFC1B45C /* PWM1 Channel A-Low Duty-0 Register */
-#define REG_PWM1_AL1 0xFFC1B460 /* PWM1 Channel A-Low Duty-1 Register */
-#define REG_PWM1_BCTL 0xFFC1B464 /* PWM1 Channel B Control Register */
-#define REG_PWM1_BH0 0xFFC1B468 /* PWM1 Channel B-High Duty-0 Register */
-#define REG_PWM1_BH1 0xFFC1B46C /* PWM1 Channel B-High Duty-1 Register */
-#define REG_PWM1_BL0 0xFFC1B478 /* PWM1 Channel B-Low Duty-0 Register */
-#define REG_PWM1_BL1 0xFFC1B47C /* PWM1 Channel B-Low Duty-1 Register */
-#define REG_PWM1_CCTL 0xFFC1B480 /* PWM1 Channel C Control Register */
-#define REG_PWM1_CH0 0xFFC1B484 /* PWM1 Channel C-High Pulse Duty Register 0 */
-#define REG_PWM1_CH1 0xFFC1B488 /* PWM1 Channel C-High Pulse Duty Register 1 */
-#define REG_PWM1_CL0 0xFFC1B494 /* PWM1 Channel C-Low Pulse Duty Register 0 */
-#define REG_PWM1_CL1 0xFFC1B498 /* PWM1 Channel C-Low Duty-1 Register */
-#define REG_PWM1_DCTL 0xFFC1B49C /* PWM1 Channel D Control Register */
-#define REG_PWM1_DH0 0xFFC1B4A0 /* PWM1 Channel D-High Duty-0 Register */
-#define REG_PWM1_DH1 0xFFC1B4A4 /* PWM1 Channel D-High Pulse Duty Register 1 */
-#define REG_PWM1_DL0 0xFFC1B4B0 /* PWM1 Channel D-Low Pulse Duty Register 0 */
-#define REG_PWM1_DL1 0xFFC1B4B4 /* PWM1 Channel D-Low Pulse Duty Register 1 */
-
-/* =========================
- PWM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CTL_INTSYNCREF 18 /* Timer reference for Internal Sync */
-#define BITP_PWM_CTL_EXTSYNCSEL 17 /* External Sync Select */
-#define BITP_PWM_CTL_EXTSYNC 16 /* External Sync */
-#define BITP_PWM_CTL_DLYDEN 7 /* Enable Delay Counter for Channel D */
-#define BITP_PWM_CTL_DLYCEN 6 /* Enable Delay Counter for Channel C */
-#define BITP_PWM_CTL_DLYBEN 5 /* Enable Delay Counter for Channel B */
-#define BITP_PWM_CTL_DLYAEN 4 /* Enable Delay Counter for Channel A */
-#define BITP_PWM_CTL_SWTRIP 2 /* Software Trip */
-#define BITP_PWM_CTL_EMURUN 1 /* Output Behavior During Emulation Mode */
-#define BITP_PWM_CTL_GLOBEN 0 /* Module Enable */
-
-#define BITM_PWM_CTL_INTSYNCREF (_ADI_MSK(0x001C0000,uint32_t)) /* Timer reference for Internal Sync */
-#define ENUM_PWM_CTL_INTSYNC_0 (_ADI_MSK(0x00000000,uint32_t)) /* INTSYNCREF: PWMTMR0 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_1 (_ADI_MSK(0x00040000,uint32_t)) /* INTSYNCREF: PWMTMR1 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_2 (_ADI_MSK(0x00080000,uint32_t)) /* INTSYNCREF: PWMTMR2 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_3 (_ADI_MSK(0x000C0000,uint32_t)) /* INTSYNCREF: PWMTMR3 provides sync reference */
-#define ENUM_PWM_CTL_INTSYNC_4 (_ADI_MSK(0x00100000,uint32_t)) /* INTSYNCREF: PWMTMR4 provides sync reference */
-
-#define BITM_PWM_CTL_EXTSYNCSEL (_ADI_MSK(0x00020000,uint32_t)) /* External Sync Select */
-#define ENUM_PWM_CTL_EXTSYNC_ASYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNCSEL: Asynchronous External Sync */
-#define ENUM_PWM_CTL_EXTSYNC_SYNC (_ADI_MSK(0x00020000,uint32_t)) /* EXTSYNCSEL: Synchronous External Sync */
-
-#define BITM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* External Sync */
-#define ENUM_PWM_CTL_INTSYNC (_ADI_MSK(0x00000000,uint32_t)) /* EXTSYNC: Internal sync used */
-#define ENUM_PWM_CTL_EXTSYNC (_ADI_MSK(0x00010000,uint32_t)) /* EXTSYNC: External sync used */
-
-#define BITM_PWM_CTL_DLYDEN (_ADI_MSK(0x00000080,uint32_t)) /* Enable Delay Counter for Channel D */
-#define ENUM_PWM_CTL_DLYD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYDEN: Disable */
-#define ENUM_PWM_CTL_DLYD_EN (_ADI_MSK(0x00000080,uint32_t)) /* DLYDEN: Enable */
-
-#define BITM_PWM_CTL_DLYCEN (_ADI_MSK(0x00000040,uint32_t)) /* Enable Delay Counter for Channel C */
-#define ENUM_PWM_CTL_DLYC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYCEN: Disable */
-#define ENUM_PWM_CTL_DLYC_EN (_ADI_MSK(0x00000040,uint32_t)) /* DLYCEN: Enable */
-
-#define BITM_PWM_CTL_DLYBEN (_ADI_MSK(0x00000020,uint32_t)) /* Enable Delay Counter for Channel B */
-#define ENUM_PWM_CTL_DLYB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYBEN: Disable */
-#define ENUM_PWM_CTL_DLYB_EN (_ADI_MSK(0x00000020,uint32_t)) /* DLYBEN: Enable */
-
-#define BITM_PWM_CTL_DLYAEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable Delay Counter for Channel A */
-#define ENUM_PWM_CTL_DLYA_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DLYAEN: Disable */
-#define ENUM_PWM_CTL_DLYA_EN (_ADI_MSK(0x00000010,uint32_t)) /* DLYAEN: Enable */
-
-#define BITM_PWM_CTL_SWTRIP (_ADI_MSK(0x00000004,uint32_t)) /* Software Trip */
-#define ENUM_PWM_CTL_FORCE_TRIP (_ADI_MSK(0x00000004,uint32_t)) /* SWTRIP: Force a Fault Trip Condition */
-
-#define BITM_PWM_CTL_EMURUN (_ADI_MSK(0x00000002,uint32_t)) /* Output Behavior During Emulation Mode */
-#define ENUM_PWM_CTL_EMURUN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMURUN: Disable Outputs */
-#define ENUM_PWM_CTL_EMURUN_EN (_ADI_MSK(0x00000002,uint32_t)) /* EMURUN: Enable Outputs */
-
-#define BITM_PWM_CTL_GLOBEN (_ADI_MSK(0x00000001,uint32_t)) /* Module Enable */
-#define ENUM_PWM_CTL_PWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GLOBEN: Disable */
-#define ENUM_PWM_CTL_PWM_EN (_ADI_MSK(0x00000001,uint32_t)) /* GLOBEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHANCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHANCFG_ENCHOPDL 30 /* Channel D Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLDL 29 /* Channel D low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPDH 27 /* Channel D Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLDH 26 /* Channel D High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSD 25 /* Channel D Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRD 24 /* Channel D Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPCL 22 /* Channel C Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLCL 21 /* Channel C low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPCH 19 /* Channel C Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLCH 18 /* Channel C High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSC 17 /* Channel C Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRC 16 /* Channel C Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPBL 14 /* Channel B Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLBL 13 /* Channel B low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPBH 11 /* Channel B Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLBH 10 /* Channel B High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSB 9 /* Channel B Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRB 8 /* Channel B Timer Reference */
-#define BITP_PWM_CHANCFG_ENCHOPAL 6 /* Channel A Gate Chopping Enable Low Side */
-#define BITP_PWM_CHANCFG_POLAL 5 /* Channel A low side Polarity */
-#define BITP_PWM_CHANCFG_ENCHOPAH 3 /* Channel A Gate Chopping Enable High Side */
-#define BITP_PWM_CHANCFG_POLAH 2 /* Channel A High side Polarity */
-#define BITP_PWM_CHANCFG_MODELSA 1 /* Channel A Mode of low Side Output */
-#define BITP_PWM_CHANCFG_REFTMRA 0 /* Channel A Timer Reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPDL (_ADI_MSK(0x40000000,uint32_t)) /* Channel D Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDL: Disable Chopping Channel D Low Side */
-#define ENUM_PWM_CHANCFG_CHOPDL_EN (_ADI_MSK(0x40000000,uint32_t)) /* ENCHOPDL: Enable Chopping Channel D Low Side */
-
-#define BITM_PWM_CHANCFG_POLDL (_ADI_MSK(0x20000000,uint32_t)) /* Channel D low side Polarity */
-#define ENUM_PWM_CHANCFG_DL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDL: Active Low */
-#define ENUM_PWM_CHANCFG_DL_ACTHI (_ADI_MSK(0x20000000,uint32_t)) /* POLDL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPDH (_ADI_MSK(0x08000000,uint32_t)) /* Channel D Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPDH: Disable Chopping Channel D High Side */
-#define ENUM_PWM_CHANCFG_CHOPDH_EN (_ADI_MSK(0x08000000,uint32_t)) /* ENCHOPDH: Enable Chopping Channel D High Side */
-
-#define BITM_PWM_CHANCFG_POLDH (_ADI_MSK(0x04000000,uint32_t)) /* Channel D High side Polarity */
-#define ENUM_PWM_CHANCFG_DH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLDH: Active Low */
-#define ENUM_PWM_CHANCFG_DH_ACTHI (_ADI_MSK(0x04000000,uint32_t)) /* POLDH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSD (_ADI_MSK(0x02000000,uint32_t)) /* Channel D Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOD_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSD: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOD_IND (_ADI_MSK(0x02000000,uint32_t)) /* MODELSD: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRD (_ADI_MSK(0x01000000,uint32_t)) /* Channel D Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRD: PWMTMR0 is Channel D reference */
-#define ENUM_PWM_CHANCFG_REFTMRD_1 (_ADI_MSK(0x01000000,uint32_t)) /* REFTMRD: PWMTMR1 is Channel D reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPCL (_ADI_MSK(0x00400000,uint32_t)) /* Channel C Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCL: Disable Chopping Channel C Low Side */
-#define ENUM_PWM_CHANCFG_CHOPCL_EN (_ADI_MSK(0x00400000,uint32_t)) /* ENCHOPCL: Enable Chopping Channel C Low Side */
-
-#define BITM_PWM_CHANCFG_POLCL (_ADI_MSK(0x00200000,uint32_t)) /* Channel C low side Polarity */
-#define ENUM_PWM_CHANCFG_CL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCL: Active Low */
-#define ENUM_PWM_CHANCFG_CL_ACTHI (_ADI_MSK(0x00200000,uint32_t)) /* POLCL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPCH (_ADI_MSK(0x00080000,uint32_t)) /* Channel C Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPCH: Disable Chopping Channel C High Side */
-#define ENUM_PWM_CHANCFG_CHOPCH_EN (_ADI_MSK(0x00080000,uint32_t)) /* ENCHOPCH: Enable Chopping Channel C High Side */
-
-#define BITM_PWM_CHANCFG_POLCH (_ADI_MSK(0x00040000,uint32_t)) /* Channel C High side Polarity */
-#define ENUM_PWM_CHANCFG_CH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLCH: Active Low */
-#define ENUM_PWM_CHANCFG_CH_ACTHI (_ADI_MSK(0x00040000,uint32_t)) /* POLCH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSC (_ADI_MSK(0x00020000,uint32_t)) /* Channel C Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOC_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSC: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOC_IND (_ADI_MSK(0x00020000,uint32_t)) /* MODELSC: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRC (_ADI_MSK(0x00010000,uint32_t)) /* Channel C Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRC: PWMTMR0 is Channel C reference */
-#define ENUM_PWM_CHANCFG_REFTMRC_1 (_ADI_MSK(0x00010000,uint32_t)) /* REFTMRC: PWMTMR1 is Channel C reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPBL (_ADI_MSK(0x00004000,uint32_t)) /* Channel B Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBL: Disable Chopping Channel B Low Side */
-#define ENUM_PWM_CHANCFG_CHOPBL_EN (_ADI_MSK(0x00004000,uint32_t)) /* ENCHOPBL: Enable Chopping Channel B Low Side */
-
-#define BITM_PWM_CHANCFG_POLBL (_ADI_MSK(0x00002000,uint32_t)) /* Channel B low side Polarity */
-#define ENUM_PWM_CHANCFG_BL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBL: Active Low */
-#define ENUM_PWM_CHANCFG_BL_ACTHI (_ADI_MSK(0x00002000,uint32_t)) /* POLBL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPBH (_ADI_MSK(0x00000800,uint32_t)) /* Channel B Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPBH: Disable Chopping Channel B High Side */
-#define ENUM_PWM_CHANCFG_CHOPBH_EN (_ADI_MSK(0x00000800,uint32_t)) /* ENCHOPBH: Enable Chopping Channel B High Side */
-
-#define BITM_PWM_CHANCFG_POLBH (_ADI_MSK(0x00000400,uint32_t)) /* Channel B High side Polarity */
-#define ENUM_PWM_CHANCFG_BH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLBH: Active Low */
-#define ENUM_PWM_CHANCFG_BH_ACTHI (_ADI_MSK(0x00000400,uint32_t)) /* POLBH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSB (_ADI_MSK(0x00000200,uint32_t)) /* Channel B Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOB_INV (_ADI_MSK(0x00000000,uint32_t)) /* MODELSB: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOB_IND (_ADI_MSK(0x00000200,uint32_t)) /* MODELSB: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRB (_ADI_MSK(0x00000100,uint32_t)) /* Channel B Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRB: PWMTMR0 is Channel B reference */
-#define ENUM_PWM_CHANCFG_REFTMRB_1 (_ADI_MSK(0x00000100,uint32_t)) /* REFTMRB: PWMTMR1 is Channel B reference */
-
-#define BITM_PWM_CHANCFG_ENCHOPAL (_ADI_MSK(0x00000040,uint32_t)) /* Channel A Gate Chopping Enable Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAL: Disable Chopping Channel A Low Side */
-#define ENUM_PWM_CHANCFG_CHOPAL_EN (_ADI_MSK(0x00000040,uint32_t)) /* ENCHOPAL: Enable Chopping Channel A Low Side */
-
-#define BITM_PWM_CHANCFG_POLAL (_ADI_MSK(0x00000020,uint32_t)) /* Channel A low side Polarity */
-#define ENUM_PWM_CHANCFG_AL_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAL: Active Low */
-#define ENUM_PWM_CHANCFG_AL_ACTHI (_ADI_MSK(0x00000020,uint32_t)) /* POLAL: Active High */
-
-#define BITM_PWM_CHANCFG_ENCHOPAH (_ADI_MSK(0x00000008,uint32_t)) /* Channel A Gate Chopping Enable High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCHOPAH: Disable Chopping Channel A High Side */
-#define ENUM_PWM_CHANCFG_CHOPAH_EN (_ADI_MSK(0x00000008,uint32_t)) /* ENCHOPAH: Enable Chopping Channel A High Side */
-
-#define BITM_PWM_CHANCFG_POLAH (_ADI_MSK(0x00000004,uint32_t)) /* Channel A High side Polarity */
-#define ENUM_PWM_CHANCFG_AH_ACTLO (_ADI_MSK(0x00000000,uint32_t)) /* POLAH: Active Low */
-#define ENUM_PWM_CHANCFG_AH_ACTHI (_ADI_MSK(0x00000004,uint32_t)) /* POLAH: Active High */
-
-#define BITM_PWM_CHANCFG_MODELSA (_ADI_MSK(0x00000002,uint32_t)) /* Channel A Mode of low Side Output */
-#define ENUM_PWM_CHANCFG_LOA_INVHI (_ADI_MSK(0x00000000,uint32_t)) /* MODELSA: Invert of high output */
-#define ENUM_PWM_CHANCFG_LOA_IND (_ADI_MSK(0x00000002,uint32_t)) /* MODELSA: Independent control */
-
-#define BITM_PWM_CHANCFG_REFTMRA (_ADI_MSK(0x00000001,uint32_t)) /* Channel A Timer Reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_0 (_ADI_MSK(0x00000000,uint32_t)) /* REFTMRA: PWMTMR0 is Channel A reference */
-#define ENUM_PWM_CHANCFG_REFTMRA_1 (_ADI_MSK(0x00000001,uint32_t)) /* REFTMRA: PWMTMR1 is Channel A reference */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TRIPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TRIPCFG_MODE1D 27 /* Mode of TRIP1 for Channel D */
-#define BITP_PWM_TRIPCFG_EN1D 26 /* Enable TRIP1 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE0D 25 /* Mode of TRIP0 for Channel D */
-#define BITP_PWM_TRIPCFG_EN0D 24 /* Enable TRIP0 as a trip source for Channel D */
-#define BITP_PWM_TRIPCFG_MODE1C 19 /* Mode of TRIP1 for Channel C */
-#define BITP_PWM_TRIPCFG_EN1C 18 /* Enable TRIP1 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE0C 17 /* Mode of TRIP0 for Channel C */
-#define BITP_PWM_TRIPCFG_EN0C 16 /* Enable TRIP0 as a trip source for Channel C */
-#define BITP_PWM_TRIPCFG_MODE1B 11 /* Mode of TRIP1 for Channel B */
-#define BITP_PWM_TRIPCFG_EN1B 10 /* Enable TRIP1 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE0B 9 /* Mode of TRIP0 for Channel B */
-#define BITP_PWM_TRIPCFG_EN0B 8 /* Enable TRIP0 as a trip source for Channel B */
-#define BITP_PWM_TRIPCFG_MODE1A 3 /* Mode of TRIP1 for Channel A */
-#define BITP_PWM_TRIPCFG_EN1A 2 /* Enable TRIP1 as a trip source for Channel A */
-#define BITP_PWM_TRIPCFG_MODE0A 1 /* Mode of TRIP0 for Channel A */
-#define BITP_PWM_TRIPCFG_EN0A 0 /* Enable TRIP0 as a trip source for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE1D (_ADI_MSK(0x08000000,uint32_t)) /* Mode of TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1D: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1D_RSTRT (_ADI_MSK(0x08000000,uint32_t)) /* MODE1D: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1D (_ADI_MSK(0x04000000,uint32_t)) /* Enable TRIP1 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1D: Disable TRIP1 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP1D_EN (_ADI_MSK(0x04000000,uint32_t)) /* EN1D: Enable TRIP1 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE0D (_ADI_MSK(0x02000000,uint32_t)) /* Mode of TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0D: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0D_RSTRT (_ADI_MSK(0x02000000,uint32_t)) /* MODE0D: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0D (_ADI_MSK(0x01000000,uint32_t)) /* Enable TRIP0 as a trip source for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0D: Disable TRIP0 for Channel D */
-#define ENUM_PWM_TRIPCFG_TRIP0D_EN (_ADI_MSK(0x01000000,uint32_t)) /* EN0D: Enable TRIP0 for Channel D */
-
-#define BITM_PWM_TRIPCFG_MODE1C (_ADI_MSK(0x00080000,uint32_t)) /* Mode of TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1C: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1C_RSTRT (_ADI_MSK(0x00080000,uint32_t)) /* MODE1C: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1C (_ADI_MSK(0x00040000,uint32_t)) /* Enable TRIP1 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1C: Disable TRIP1 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP1C_EN (_ADI_MSK(0x00040000,uint32_t)) /* EN1C: Enable TRIP1 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE0C (_ADI_MSK(0x00020000,uint32_t)) /* Mode of TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0C: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0C_RSTRT (_ADI_MSK(0x00020000,uint32_t)) /* MODE0C: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0C (_ADI_MSK(0x00010000,uint32_t)) /* Enable TRIP0 as a trip source for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0C: Disable TRIP0 for Channel C */
-#define ENUM_PWM_TRIPCFG_TRIP0C_EN (_ADI_MSK(0x00010000,uint32_t)) /* EN0C: Enable TRIP0 for Channel C */
-
-#define BITM_PWM_TRIPCFG_MODE1B (_ADI_MSK(0x00000800,uint32_t)) /* Mode of TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1B: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1B_RSTRT (_ADI_MSK(0x00000800,uint32_t)) /* MODE1B: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1B (_ADI_MSK(0x00000400,uint32_t)) /* Enable TRIP1 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1B: Disable TRIP1 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP1B_EN (_ADI_MSK(0x00000400,uint32_t)) /* EN1B: Enable TRIP1 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE0B (_ADI_MSK(0x00000200,uint32_t)) /* Mode of TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0B: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0B_RSTRT (_ADI_MSK(0x00000200,uint32_t)) /* MODE0B: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0B (_ADI_MSK(0x00000100,uint32_t)) /* Enable TRIP0 as a trip source for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0B: Disable TRIP0 for Channel B */
-#define ENUM_PWM_TRIPCFG_TRIP0B_EN (_ADI_MSK(0x00000100,uint32_t)) /* EN0B: Enable TRIP0 for Channel B */
-
-#define BITM_PWM_TRIPCFG_MODE1A (_ADI_MSK(0x00000008,uint32_t)) /* Mode of TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE1A: Fault Trip on TRIP1 Input */
-#define ENUM_PWM_TRIPCFG_TRIP1A_RSTRT (_ADI_MSK(0x00000008,uint32_t)) /* MODE1A: Self Restart on TRIP1 Input */
-
-#define BITM_PWM_TRIPCFG_EN1A (_ADI_MSK(0x00000004,uint32_t)) /* Enable TRIP1 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN1A: Disable TRIP1 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP1A_EN (_ADI_MSK(0x00000004,uint32_t)) /* EN1A: Enable TRIP1 for Channel A */
-
-#define BITM_PWM_TRIPCFG_MODE0A (_ADI_MSK(0x00000002,uint32_t)) /* Mode of TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_FLT (_ADI_MSK(0x00000000,uint32_t)) /* MODE0A: Fault Trip on TRIP0 Input */
-#define ENUM_PWM_TRIPCFG_TRIP0A_RSTRT (_ADI_MSK(0x00000002,uint32_t)) /* MODE0A: Self Restart on TRIP0 Input */
-
-#define BITM_PWM_TRIPCFG_EN0A (_ADI_MSK(0x00000001,uint32_t)) /* Enable TRIP0 as a trip source for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN0A: Disable TRIP0 for Channel A */
-#define ENUM_PWM_TRIPCFG_TRIP0A_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN0A: Enable TRIP0 for Channel A */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_STAT_TMR4PHASE 28 /* PWMTMR4 Phase Status */
-#define BITP_PWM_STAT_TMR3PHASE 27 /* PWMTMR3 Phase Status */
-#define BITP_PWM_STAT_TMR2PHASE 26 /* PWMTMR2 Phase Status */
-#define BITP_PWM_STAT_TMR1PHASE 25 /* PWMTMR1 Phase Status */
-#define BITP_PWM_STAT_TMR0PHASE 24 /* PWMTMR0 Phase Status */
-#define BITP_PWM_STAT_TMR4PER 20 /* PWMTMR4 Period Boundary Status */
-#define BITP_PWM_STAT_TMR3PER 19 /* PWMTMR3 Period Boundary Status */
-#define BITP_PWM_STAT_TMR2PER 18 /* PWMTMR2 Period Boundary Status */
-#define BITP_PWM_STAT_TMR1PER 17 /* PWMTMR1 Period Boundary Status */
-#define BITP_PWM_STAT_TMR0PER 16 /* PWMTMR0 Period Boundary Status */
-#define BITP_PWM_STAT_SRTRIPD 11 /* Self-Restart Trip Status for Channel D */
-#define BITP_PWM_STAT_FLTTRIPD 10 /* Fault Trip Status for Channel D */
-#define BITP_PWM_STAT_SRTRIPC 9 /* Self-Restart Trip Status for Channel C */
-#define BITP_PWM_STAT_FLTTRIPC 8 /* Fault Trip Status for Channel C */
-#define BITP_PWM_STAT_SRTRIPB 7 /* Self-Restart Trip Status for Channel B */
-#define BITP_PWM_STAT_FLTTRIPB 6 /* Fault Trip Status for Channel B */
-#define BITP_PWM_STAT_SRTRIPA 5 /* Self-Restart Trip Status for Channel A */
-#define BITP_PWM_STAT_FLTTRIPA 4 /* Fault Trip Status for Channel A */
-#define BITP_PWM_STAT_RAWTRIP1 3 /* Raw Trip 1 Status */
-#define BITP_PWM_STAT_RAWTRIP0 2 /* Raw Trip 0 Status */
-#define BITP_PWM_STAT_TRIP1 1 /* Status bit set when TRIP1 is active low */
-#define BITP_PWM_STAT_TRIP0 0 /* Status bit set when TRIP0 is active low */
-
-#define BITM_PWM_STAT_TMR4PHASE (_ADI_MSK(0x10000000,uint32_t)) /* PWMTMR4 Phase Status */
-#define ENUM_PWM_STAT_TMR4PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR4PH2 (_ADI_MSK(0x10000000,uint32_t)) /* TMR4PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR3PHASE (_ADI_MSK(0x08000000,uint32_t)) /* PWMTMR3 Phase Status */
-#define ENUM_PWM_STAT_TMR3PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR3PH2 (_ADI_MSK(0x08000000,uint32_t)) /* TMR3PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR2PHASE (_ADI_MSK(0x04000000,uint32_t)) /* PWMTMR2 Phase Status */
-#define ENUM_PWM_STAT_TMR2PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR2PH2 (_ADI_MSK(0x04000000,uint32_t)) /* TMR2PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR1PHASE (_ADI_MSK(0x02000000,uint32_t)) /* PWMTMR1 Phase Status */
-#define ENUM_PWM_STAT_TMR1PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR1PH2 (_ADI_MSK(0x02000000,uint32_t)) /* TMR1PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR0PHASE (_ADI_MSK(0x01000000,uint32_t)) /* PWMTMR0 Phase Status */
-#define ENUM_PWM_STAT_TMR0PH1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PHASE: 1st Half Phase */
-#define ENUM_PWM_STAT_TMR0PH2 (_ADI_MSK(0x01000000,uint32_t)) /* TMR0PHASE: 2nd Half Phase */
-
-#define BITM_PWM_STAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER4 (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary not reached */
-#define ENUM_PWM_STAT_PER4 (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: PWMTMR4 period boundary reached */
-
-#define BITM_PWM_STAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER3 (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary not reached */
-#define ENUM_PWM_STAT_PER3 (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: PWMTMR3 period boundary reached */
-
-#define BITM_PWM_STAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER2 (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary not reached */
-#define ENUM_PWM_STAT_PER2 (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: PWMTMR2 period boundary reached */
-
-#define BITM_PWM_STAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER1 (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary not reached */
-#define ENUM_PWM_STAT_PER1 (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: PWMTMR1 period boundary reached */
-
-#define BITM_PWM_STAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Status */
-#define ENUM_PWM_STAT_NOT_PER0 (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary not reached */
-#define ENUM_PWM_STAT_PER0 (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: PWMTMR0 period boundary reached */
-
-#define BITM_PWM_STAT_SRTRIPD (_ADI_MSK(0x00000800,uint32_t)) /* Self-Restart Trip Status for Channel D */
-#define ENUM_PWM_STAT_SRD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRD_TRIP (_ADI_MSK(0x00000800,uint32_t)) /* SRTRIPD: Channel D Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPD (_ADI_MSK(0x00000400,uint32_t)) /* Fault Trip Status for Channel D */
-#define ENUM_PWM_STAT_FLTD_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTD_TRIP (_ADI_MSK(0x00000400,uint32_t)) /* FLTTRIPD: Channel D Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPC (_ADI_MSK(0x00000200,uint32_t)) /* Self-Restart Trip Status for Channel C */
-#define ENUM_PWM_STAT_SRC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRC_TRIP (_ADI_MSK(0x00000200,uint32_t)) /* SRTRIPC: Channel C Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPC (_ADI_MSK(0x00000100,uint32_t)) /* Fault Trip Status for Channel C */
-#define ENUM_PWM_STAT_FLTC_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTC_TRIP (_ADI_MSK(0x00000100,uint32_t)) /* FLTTRIPC: Channel C Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPB (_ADI_MSK(0x00000080,uint32_t)) /* Self-Restart Trip Status for Channel B */
-#define ENUM_PWM_STAT_SRB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRB_TRIP (_ADI_MSK(0x00000080,uint32_t)) /* SRTRIPB: Channel B Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPB (_ADI_MSK(0x00000040,uint32_t)) /* Fault Trip Status for Channel B */
-#define ENUM_PWM_STAT_FLTB_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPB: Channel B Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTB_TRIP (_ADI_MSK(0x00000040,uint32_t)) /* FLTTRIPB: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_SRTRIPA (_ADI_MSK(0x00000020,uint32_t)) /* Self-Restart Trip Status for Channel A */
-#define ENUM_PWM_STAT_SRA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_SRA_TRIP (_ADI_MSK(0x00000020,uint32_t)) /* SRTRIPA: Channel A Self-Restart Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_FLTTRIPA (_ADI_MSK(0x00000010,uint32_t)) /* Fault Trip Status for Channel A */
-#define ENUM_PWM_STAT_FLTA_NOTRIP (_ADI_MSK(0x00000000,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "not tripped" */
-#define ENUM_PWM_STAT_FLTA_TRIP (_ADI_MSK(0x00000010,uint32_t)) /* FLTTRIPA: Channel A Fault Trip Status is "tripped" */
-
-#define BITM_PWM_STAT_RAWTRIP1 (_ADI_MSK(0x00000008,uint32_t)) /* Raw Trip 1 Status */
-#define ENUM_PWM_STAT_TRIP1LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP1: TRIP1 Level is Low */
-#define ENUM_PWM_STAT_TRIP1LVL_HI (_ADI_MSK(0x00000008,uint32_t)) /* RAWTRIP1: TRIP1 Level is High */
-
-#define BITM_PWM_STAT_RAWTRIP0 (_ADI_MSK(0x00000004,uint32_t)) /* Raw Trip 0 Status */
-#define ENUM_PWM_STAT_TRIP0LVL_LO (_ADI_MSK(0x00000000,uint32_t)) /* RAWTRIP0: TRIP0 Level is Low */
-#define ENUM_PWM_STAT_TRIP0LVL_HI (_ADI_MSK(0x00000004,uint32_t)) /* RAWTRIP0: TRIP0 Level is High */
-
-#define BITM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* Status bit set when TRIP1 is active low */
-#define ENUM_PWM_STAT_NO_TRIP1 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: TRIP1 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: TRIP1 status is "tripped" (active low) */
-
-#define BITM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* Status bit set when TRIP0 is active low */
-#define ENUM_PWM_STAT_NO_TRIP0 (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: TRIP0 status is "not tripped" */
-#define ENUM_PWM_STAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: TRIP0 status is "tripped" (active low) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_IMSK_TMR4PER 20 /* PWMTMR4 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR3PER 19 /* PWMTMR3 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR2PER 18 /* PWMTMR2 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR1PER 17 /* PWMTMR1 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP1 1 /* TRIP1 Interrupt Enable */
-#define BITP_PWM_IMSK_TRIP0 0 /* TRIP0 Interrupt Enable */
-
-#define BITM_PWM_IMSK_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER4_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: Mask PWMTMR4 Period Interrupt */
-#define ENUM_PWM_IMSK_PER4_UMSK (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Unmask PWMTMR4 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER3_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: Mask PWMTMR3 Period Interrupt */
-#define ENUM_PWM_IMSK_PER3_UMSK (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Unmask PWMTMR3 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER2_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: Mask PWMTMR2 Period Interrupt */
-#define ENUM_PWM_IMSK_PER2_UMSK (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Unmask PWMTMR2 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: Mask PWMTMR1 Period Interrupt */
-#define ENUM_PWM_IMSK_PER1_UMSK (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Unmask PWMTMR1 Period Interrupt */
-
-#define BITM_PWM_IMSK_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Enable */
-#define ENUM_PWM_IMSK_PER0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: Mask PWMTMR0 Period Interrupt */
-#define ENUM_PWM_IMSK_PER0_UMSK (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Unmask PWMTMR0 Period Interrupt */
-
-#define BITM_PWM_IMSK_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP1_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: Mask TRIP1 Interrupt */
-#define ENUM_PWM_IMSK_TRIP1_UMSK (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Unmask TRIP1 Interrupt */
-
-#define BITM_PWM_IMSK_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Enable */
-#define ENUM_PWM_IMSK_TRIP0_MSK (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: Mask TRIP0 Interrupt */
-#define ENUM_PWM_IMSK_TRIP0_UMSK (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Unmask TRIP0 Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ILAT_TMR4PER 20 /* PWMTMR4 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR3PER 19 /* PWMTMR3 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR2PER 18 /* PWMTMR2 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR1PER 17 /* PWMTMR1 Period Latched Interrupt Status */
-#define BITP_PWM_ILAT_TMR0PER 16 /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP1 1 /* TRIP1 Interrupt Latched Status */
-#define BITP_PWM_ILAT_TRIP0 0 /* TRIP0 Interrupt Latched Status */
-
-#define BITM_PWM_ILAT_TMR4PER (_ADI_MSK(0x00100000,uint32_t)) /* PWMTMR4 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER4_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR4PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER4_INTHI (_ADI_MSK(0x00100000,uint32_t)) /* TMR4PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR3PER (_ADI_MSK(0x00080000,uint32_t)) /* PWMTMR3 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER3_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR3PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER3_INTHI (_ADI_MSK(0x00080000,uint32_t)) /* TMR3PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR2PER (_ADI_MSK(0x00040000,uint32_t)) /* PWMTMR2 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER2_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR2PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER2_INTHI (_ADI_MSK(0x00040000,uint32_t)) /* TMR2PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR1PER (_ADI_MSK(0x00020000,uint32_t)) /* PWMTMR1 Period Latched Interrupt Status */
-#define ENUM_PWM_ILAT_PER1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR1PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER1_INTHI (_ADI_MSK(0x00020000,uint32_t)) /* TMR1PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TMR0PER (_ADI_MSK(0x00010000,uint32_t)) /* PWMTMR0 Period Boundary Interrupt Latched Status */
-#define ENUM_PWM_ILAT_PER0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TMR0PER: No Interrupt Latched */
-#define ENUM_PWM_ILAT_PER0_INTHI (_ADI_MSK(0x00010000,uint32_t)) /* TMR0PER: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP1 (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP1_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP1: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP1_INTHI (_ADI_MSK(0x00000002,uint32_t)) /* TRIP1: Interrupt Latched */
-
-#define BITM_PWM_ILAT_TRIP0 (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0 Interrupt Latched Status */
-#define ENUM_PWM_ILAT_TRIP0_INTLO (_ADI_MSK(0x00000000,uint32_t)) /* TRIP0: No Interrupt Latched */
-#define ENUM_PWM_ILAT_TRIP0_INTHI (_ADI_MSK(0x00000001,uint32_t)) /* TRIP0: Interrupt Latched */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CHOPCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CHOPCFG_VALUE 0 /* Gate Chopping Divisor */
-#define BITM_PWM_CHOPCFG_VALUE (_ADI_MSK(0x000000FF,uint32_t)) /* Gate Chopping Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DT_VALUE 0 /* Dead Time */
-#define BITM_PWM_DT_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Dead Time */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_SYNC_WID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_SYNC_WID_VALUE 0 /* Sync Pulse Width */
-#define BITM_PWM_SYNC_WID_VALUE (_ADI_MSK(0x000003FF,uint32_t)) /* Sync Pulse Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM0_VALUE 0 /* Timer PWMTMR0 Period Value */
-#define BITM_PWM_TM0_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR0 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM1_VALUE 0 /* Timer PWMTMR1 Period Value */
-#define BITM_PWM_TM1_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR1 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM2_VALUE 0 /* Timer PWMTMR2 Period Value */
-#define BITM_PWM_TM2_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR2 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM3_VALUE 0 /* Timer PWMTMR3 Period Value */
-#define BITM_PWM_TM3_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR3 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_TM4 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_TM4_VALUE 0 /* Timer PWMTMR4 Period Value */
-#define BITM_PWM_TM4_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Timer PWMTMR4 Period Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYA_VALUE 0 /* Channel A Delay Value */
-#define BITM_PWM_DLYA_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel A Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYB Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYB_VALUE 0 /* Channel B Delay Value */
-#define BITM_PWM_DLYB_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel B Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYC_VALUE 0 /* Channel C Delay Value */
-#define BITM_PWM_DLYC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel C Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DLYD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DLYD_VALUE 0 /* Channel D Delay Value */
-#define BITM_PWM_DLYD_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Channel D Delay Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_ACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_ACTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_ACTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_ACTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_ACTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_ACTL_DISHI 0 /* Channel High Side Output Disable */
-
-#define BITM_PWM_ACTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define ENUM_PWM_SYM_LO (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODELO: Symmetrical */
-#define ENUM_PWM_ASYM_LO (_ADI_MSK(0x00000400,uint32_t)) /* PULSEMODELO: Asymmetrical */
-#define ENUM_PWM_LEFT_LO (_ADI_MSK(0x00000800,uint32_t)) /* PULSEMODELO: Left Half */
-#define ENUM_PWM_RIGHT_LO (_ADI_MSK(0x00000C00,uint32_t)) /* PULSEMODELO: Right Half */
-
-#define BITM_PWM_ACTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define ENUM_PWM_SYM_HI (_ADI_MSK(0x00000000,uint32_t)) /* PULSEMODEHI: Symmetrical */
-#define ENUM_PWM_ASYM_HI (_ADI_MSK(0x00000100,uint32_t)) /* PULSEMODEHI: Asymmetrical */
-#define ENUM_PWM_LEFT_HI (_ADI_MSK(0x00000200,uint32_t)) /* PULSEMODEHI: Left Half */
-#define ENUM_PWM_RIGHT_HI (_ADI_MSK(0x00000300,uint32_t)) /* PULSEMODEHI: Right Half */
-
-#define BITM_PWM_ACTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define ENUM_PWM_XOVR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* XOVR: Disable Crossover */
-#define ENUM_PWM_XOVR_EN (_ADI_MSK(0x00000004,uint32_t)) /* XOVR: Enable Crossover */
-
-#define BITM_PWM_ACTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define ENUM_PWM_LO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISLO: Disable Low Side Output */
-#define ENUM_PWM_LO_EN (_ADI_MSK(0x00000002,uint32_t)) /* DISLO: Enable Low Side Output */
-
-#define BITM_PWM_ACTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-#define ENUM_PWM_HI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* DISHI: Disable High Side Output */
-#define ENUM_PWM_HI_EN (_ADI_MSK(0x00000001,uint32_t)) /* DISHI: Enable High Side Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_AL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_AL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_AL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_AL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_BCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_BCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_BCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_BCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_BCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_BCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_BCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_BCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_BCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_BCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_BL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_BL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_BL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_BL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_CCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_CCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_CCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_CCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_CCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_CCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_CCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_CCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_CCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_CCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_CL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_CL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_CL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_CL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DCTL_PULSEMODELO 10 /* Low Side Output Pulse Position */
-#define BITP_PWM_DCTL_PULSEMODEHI 8 /* High Side Output Pulse Position */
-#define BITP_PWM_DCTL_XOVR 2 /* high-low Crossover Enable */
-#define BITP_PWM_DCTL_DISLO 1 /* Channel Low Side Output Disable */
-#define BITP_PWM_DCTL_DISHI 0 /* Channel High Side Output Disable */
-
-/* The fields and enumerations for PWM_DCTL are also in PWM - see the common set of ENUM_PWM_* #defines located with register PWM_ACTL */
-
-#define BITM_PWM_DCTL_PULSEMODELO (_ADI_MSK(0x00000C00,uint32_t)) /* Low Side Output Pulse Position */
-#define BITM_PWM_DCTL_PULSEMODEHI (_ADI_MSK(0x00000300,uint32_t)) /* High Side Output Pulse Position */
-#define BITM_PWM_DCTL_XOVR (_ADI_MSK(0x00000004,uint32_t)) /* high-low Crossover Enable */
-#define BITM_PWM_DCTL_DISLO (_ADI_MSK(0x00000002,uint32_t)) /* Channel Low Side Output Disable */
-#define BITM_PWM_DCTL_DISHI (_ADI_MSK(0x00000001,uint32_t)) /* Channel High Side Output Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DH0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DH1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DH1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DH1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL0_DUTY 0 /* Duty Cycle Asserted Count */
-#define BITM_PWM_DL0_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle Asserted Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- PWM_DL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PWM_DL1_DUTY 0 /* Duty Cycle De-Asserted Count */
-#define BITM_PWM_DL1_DUTY (_ADI_MSK(0x0000FFFF,uint32_t)) /* Duty Cycle De-Asserted Count */
-
-/* ==================================================
- Video Subsystem Registers Registers
- ================================================== */
-
-/* =========================
- VID0
- ========================= */
-#define REG_VID0_CONN 0xFFC1D000 /* VID0 Video Subsystem Connect Register */
-
-/* =========================
- VID
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- VID_CONN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_VID_CONN_PPI2BCAST 23 /* PPI_2 Broadcast Mode */
-#define BITP_VID_CONN_PPI1BCAST 22 /* PPI_1 Broadcast Mode */
-#define BITP_VID_CONN_PPI0BCAST 21 /* PPI_0 Broadcast Mode */
-#define BITP_VID_CONN_PPI2TX 16 /* PPI_2_TX Connectivity */
-#define BITP_VID_CONN_PPI1TX 12 /* PPI_1_TX Connectivity */
-#define BITP_VID_CONN_PPI0TX 8 /* PPI_0_TX Connectivity */
-#define BITP_VID_CONN_PVP0IN 4 /* PVP_IN Connectivity */
-#define BITP_VID_CONN_PIXC0IN 0 /* PIXC_IN Connectivity */
-#define BITM_VID_CONN_PPI2BCAST (_ADI_MSK(0x00800000,uint32_t)) /* PPI_2 Broadcast Mode */
-#define BITM_VID_CONN_PPI1BCAST (_ADI_MSK(0x00400000,uint32_t)) /* PPI_1 Broadcast Mode */
-#define BITM_VID_CONN_PPI0BCAST (_ADI_MSK(0x00200000,uint32_t)) /* PPI_0 Broadcast Mode */
-#define BITM_VID_CONN_PPI2TX (_ADI_MSK(0x000F0000,uint32_t)) /* PPI_2_TX Connectivity */
-#define BITM_VID_CONN_PPI1TX (_ADI_MSK(0x0000F000,uint32_t)) /* PPI_1_TX Connectivity */
-#define BITM_VID_CONN_PPI0TX (_ADI_MSK(0x00000F00,uint32_t)) /* PPI_0_TX Connectivity */
-#define BITM_VID_CONN_PVP0IN (_ADI_MSK(0x000000F0,uint32_t)) /* PVP_IN Connectivity */
-#define BITM_VID_CONN_PIXC0IN (_ADI_MSK(0x0000000F,uint32_t)) /* PIXC_IN Connectivity */
-
-/* ==================================================
- System Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- SWU0
- ========================= */
-#define REG_SWU0_GCTL 0xFFC1E000 /* SWU0 Global Control Register */
-#define REG_SWU0_GSTAT 0xFFC1E004 /* SWU0 Global Status Register */
-#define REG_SWU0_CTL0 0xFFC1E010 /* SWU0 Control Register n */
-#define REG_SWU0_CTL1 0xFFC1E030 /* SWU0 Control Register n */
-#define REG_SWU0_CTL2 0xFFC1E050 /* SWU0 Control Register n */
-#define REG_SWU0_CTL3 0xFFC1E070 /* SWU0 Control Register n */
-#define REG_SWU0_LA0 0xFFC1E014 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA1 0xFFC1E034 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA2 0xFFC1E054 /* SWU0 Lower Address Register n */
-#define REG_SWU0_LA3 0xFFC1E074 /* SWU0 Lower Address Register n */
-#define REG_SWU0_UA0 0xFFC1E018 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA1 0xFFC1E038 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA2 0xFFC1E058 /* SWU0 Upper Address Register n */
-#define REG_SWU0_UA3 0xFFC1E078 /* SWU0 Upper Address Register n */
-#define REG_SWU0_ID0 0xFFC1E01C /* SWU0 ID Register n */
-#define REG_SWU0_ID1 0xFFC1E03C /* SWU0 ID Register n */
-#define REG_SWU0_ID2 0xFFC1E05C /* SWU0 ID Register n */
-#define REG_SWU0_ID3 0xFFC1E07C /* SWU0 ID Register n */
-#define REG_SWU0_CNT0 0xFFC1E020 /* SWU0 Count Register n */
-#define REG_SWU0_CNT1 0xFFC1E040 /* SWU0 Count Register n */
-#define REG_SWU0_CNT2 0xFFC1E060 /* SWU0 Count Register n */
-#define REG_SWU0_CNT3 0xFFC1E080 /* SWU0 Count Register n */
-#define REG_SWU0_TARG0 0xFFC1E024 /* SWU0 Target Register n */
-#define REG_SWU0_TARG1 0xFFC1E044 /* SWU0 Target Register n */
-#define REG_SWU0_TARG2 0xFFC1E064 /* SWU0 Target Register n */
-#define REG_SWU0_TARG3 0xFFC1E084 /* SWU0 Target Register n */
-#define REG_SWU0_HIST0 0xFFC1E028 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST1 0xFFC1E048 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST2 0xFFC1E068 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_HIST3 0xFFC1E088 /* SWU0 Bandwidth History Register n */
-#define REG_SWU0_CUR0 0xFFC1E02C /* SWU0 Current Register n */
-#define REG_SWU0_CUR1 0xFFC1E04C /* SWU0 Current Register n */
-#define REG_SWU0_CUR2 0xFFC1E06C /* SWU0 Current Register n */
-#define REG_SWU0_CUR3 0xFFC1E08C /* SWU0 Current Register n */
-
-/* =========================
- SWU1
- ========================= */
-#define REG_SWU1_GCTL 0xFFCAB000 /* SWU1 Global Control Register */
-#define REG_SWU1_GSTAT 0xFFCAB004 /* SWU1 Global Status Register */
-#define REG_SWU1_CTL0 0xFFCAB010 /* SWU1 Control Register n */
-#define REG_SWU1_CTL1 0xFFCAB030 /* SWU1 Control Register n */
-#define REG_SWU1_CTL2 0xFFCAB050 /* SWU1 Control Register n */
-#define REG_SWU1_CTL3 0xFFCAB070 /* SWU1 Control Register n */
-#define REG_SWU1_LA0 0xFFCAB014 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA1 0xFFCAB034 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA2 0xFFCAB054 /* SWU1 Lower Address Register n */
-#define REG_SWU1_LA3 0xFFCAB074 /* SWU1 Lower Address Register n */
-#define REG_SWU1_UA0 0xFFCAB018 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA1 0xFFCAB038 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA2 0xFFCAB058 /* SWU1 Upper Address Register n */
-#define REG_SWU1_UA3 0xFFCAB078 /* SWU1 Upper Address Register n */
-#define REG_SWU1_ID0 0xFFCAB01C /* SWU1 ID Register n */
-#define REG_SWU1_ID1 0xFFCAB03C /* SWU1 ID Register n */
-#define REG_SWU1_ID2 0xFFCAB05C /* SWU1 ID Register n */
-#define REG_SWU1_ID3 0xFFCAB07C /* SWU1 ID Register n */
-#define REG_SWU1_CNT0 0xFFCAB020 /* SWU1 Count Register n */
-#define REG_SWU1_CNT1 0xFFCAB040 /* SWU1 Count Register n */
-#define REG_SWU1_CNT2 0xFFCAB060 /* SWU1 Count Register n */
-#define REG_SWU1_CNT3 0xFFCAB080 /* SWU1 Count Register n */
-#define REG_SWU1_TARG0 0xFFCAB024 /* SWU1 Target Register n */
-#define REG_SWU1_TARG1 0xFFCAB044 /* SWU1 Target Register n */
-#define REG_SWU1_TARG2 0xFFCAB064 /* SWU1 Target Register n */
-#define REG_SWU1_TARG3 0xFFCAB084 /* SWU1 Target Register n */
-#define REG_SWU1_HIST0 0xFFCAB028 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST1 0xFFCAB048 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST2 0xFFCAB068 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_HIST3 0xFFCAB088 /* SWU1 Bandwidth History Register n */
-#define REG_SWU1_CUR0 0xFFCAB02C /* SWU1 Current Register n */
-#define REG_SWU1_CUR1 0xFFCAB04C /* SWU1 Current Register n */
-#define REG_SWU1_CUR2 0xFFCAB06C /* SWU1 Current Register n */
-#define REG_SWU1_CUR3 0xFFCAB08C /* SWU1 Current Register n */
-
-/* =========================
- SWU2
- ========================= */
-#define REG_SWU2_GCTL 0xFFCAC000 /* SWU2 Global Control Register */
-#define REG_SWU2_GSTAT 0xFFCAC004 /* SWU2 Global Status Register */
-#define REG_SWU2_CTL0 0xFFCAC010 /* SWU2 Control Register n */
-#define REG_SWU2_CTL1 0xFFCAC030 /* SWU2 Control Register n */
-#define REG_SWU2_CTL2 0xFFCAC050 /* SWU2 Control Register n */
-#define REG_SWU2_CTL3 0xFFCAC070 /* SWU2 Control Register n */
-#define REG_SWU2_LA0 0xFFCAC014 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA1 0xFFCAC034 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA2 0xFFCAC054 /* SWU2 Lower Address Register n */
-#define REG_SWU2_LA3 0xFFCAC074 /* SWU2 Lower Address Register n */
-#define REG_SWU2_UA0 0xFFCAC018 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA1 0xFFCAC038 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA2 0xFFCAC058 /* SWU2 Upper Address Register n */
-#define REG_SWU2_UA3 0xFFCAC078 /* SWU2 Upper Address Register n */
-#define REG_SWU2_ID0 0xFFCAC01C /* SWU2 ID Register n */
-#define REG_SWU2_ID1 0xFFCAC03C /* SWU2 ID Register n */
-#define REG_SWU2_ID2 0xFFCAC05C /* SWU2 ID Register n */
-#define REG_SWU2_ID3 0xFFCAC07C /* SWU2 ID Register n */
-#define REG_SWU2_CNT0 0xFFCAC020 /* SWU2 Count Register n */
-#define REG_SWU2_CNT1 0xFFCAC040 /* SWU2 Count Register n */
-#define REG_SWU2_CNT2 0xFFCAC060 /* SWU2 Count Register n */
-#define REG_SWU2_CNT3 0xFFCAC080 /* SWU2 Count Register n */
-#define REG_SWU2_TARG0 0xFFCAC024 /* SWU2 Target Register n */
-#define REG_SWU2_TARG1 0xFFCAC044 /* SWU2 Target Register n */
-#define REG_SWU2_TARG2 0xFFCAC064 /* SWU2 Target Register n */
-#define REG_SWU2_TARG3 0xFFCAC084 /* SWU2 Target Register n */
-#define REG_SWU2_HIST0 0xFFCAC028 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST1 0xFFCAC048 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST2 0xFFCAC068 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_HIST3 0xFFCAC088 /* SWU2 Bandwidth History Register n */
-#define REG_SWU2_CUR0 0xFFCAC02C /* SWU2 Current Register n */
-#define REG_SWU2_CUR1 0xFFCAC04C /* SWU2 Current Register n */
-#define REG_SWU2_CUR2 0xFFCAC06C /* SWU2 Current Register n */
-#define REG_SWU2_CUR3 0xFFCAC08C /* SWU2 Current Register n */
-
-/* =========================
- SWU3
- ========================= */
-#define REG_SWU3_GCTL 0xFFCAD000 /* SWU3 Global Control Register */
-#define REG_SWU3_GSTAT 0xFFCAD004 /* SWU3 Global Status Register */
-#define REG_SWU3_CTL0 0xFFCAD010 /* SWU3 Control Register n */
-#define REG_SWU3_CTL1 0xFFCAD030 /* SWU3 Control Register n */
-#define REG_SWU3_CTL2 0xFFCAD050 /* SWU3 Control Register n */
-#define REG_SWU3_CTL3 0xFFCAD070 /* SWU3 Control Register n */
-#define REG_SWU3_LA0 0xFFCAD014 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA1 0xFFCAD034 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA2 0xFFCAD054 /* SWU3 Lower Address Register n */
-#define REG_SWU3_LA3 0xFFCAD074 /* SWU3 Lower Address Register n */
-#define REG_SWU3_UA0 0xFFCAD018 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA1 0xFFCAD038 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA2 0xFFCAD058 /* SWU3 Upper Address Register n */
-#define REG_SWU3_UA3 0xFFCAD078 /* SWU3 Upper Address Register n */
-#define REG_SWU3_ID0 0xFFCAD01C /* SWU3 ID Register n */
-#define REG_SWU3_ID1 0xFFCAD03C /* SWU3 ID Register n */
-#define REG_SWU3_ID2 0xFFCAD05C /* SWU3 ID Register n */
-#define REG_SWU3_ID3 0xFFCAD07C /* SWU3 ID Register n */
-#define REG_SWU3_CNT0 0xFFCAD020 /* SWU3 Count Register n */
-#define REG_SWU3_CNT1 0xFFCAD040 /* SWU3 Count Register n */
-#define REG_SWU3_CNT2 0xFFCAD060 /* SWU3 Count Register n */
-#define REG_SWU3_CNT3 0xFFCAD080 /* SWU3 Count Register n */
-#define REG_SWU3_TARG0 0xFFCAD024 /* SWU3 Target Register n */
-#define REG_SWU3_TARG1 0xFFCAD044 /* SWU3 Target Register n */
-#define REG_SWU3_TARG2 0xFFCAD064 /* SWU3 Target Register n */
-#define REG_SWU3_TARG3 0xFFCAD084 /* SWU3 Target Register n */
-#define REG_SWU3_HIST0 0xFFCAD028 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST1 0xFFCAD048 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST2 0xFFCAD068 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_HIST3 0xFFCAD088 /* SWU3 Bandwidth History Register n */
-#define REG_SWU3_CUR0 0xFFCAD02C /* SWU3 Current Register n */
-#define REG_SWU3_CUR1 0xFFCAD04C /* SWU3 Current Register n */
-#define REG_SWU3_CUR2 0xFFCAD06C /* SWU3 Current Register n */
-#define REG_SWU3_CUR3 0xFFCAD08C /* SWU3 Current Register n */
-
-/* =========================
- SWU4
- ========================= */
-#define REG_SWU4_GCTL 0xFFCAE000 /* SWU4 Global Control Register */
-#define REG_SWU4_GSTAT 0xFFCAE004 /* SWU4 Global Status Register */
-#define REG_SWU4_CTL0 0xFFCAE010 /* SWU4 Control Register n */
-#define REG_SWU4_CTL1 0xFFCAE030 /* SWU4 Control Register n */
-#define REG_SWU4_CTL2 0xFFCAE050 /* SWU4 Control Register n */
-#define REG_SWU4_CTL3 0xFFCAE070 /* SWU4 Control Register n */
-#define REG_SWU4_LA0 0xFFCAE014 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA1 0xFFCAE034 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA2 0xFFCAE054 /* SWU4 Lower Address Register n */
-#define REG_SWU4_LA3 0xFFCAE074 /* SWU4 Lower Address Register n */
-#define REG_SWU4_UA0 0xFFCAE018 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA1 0xFFCAE038 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA2 0xFFCAE058 /* SWU4 Upper Address Register n */
-#define REG_SWU4_UA3 0xFFCAE078 /* SWU4 Upper Address Register n */
-#define REG_SWU4_ID0 0xFFCAE01C /* SWU4 ID Register n */
-#define REG_SWU4_ID1 0xFFCAE03C /* SWU4 ID Register n */
-#define REG_SWU4_ID2 0xFFCAE05C /* SWU4 ID Register n */
-#define REG_SWU4_ID3 0xFFCAE07C /* SWU4 ID Register n */
-#define REG_SWU4_CNT0 0xFFCAE020 /* SWU4 Count Register n */
-#define REG_SWU4_CNT1 0xFFCAE040 /* SWU4 Count Register n */
-#define REG_SWU4_CNT2 0xFFCAE060 /* SWU4 Count Register n */
-#define REG_SWU4_CNT3 0xFFCAE080 /* SWU4 Count Register n */
-#define REG_SWU4_TARG0 0xFFCAE024 /* SWU4 Target Register n */
-#define REG_SWU4_TARG1 0xFFCAE044 /* SWU4 Target Register n */
-#define REG_SWU4_TARG2 0xFFCAE064 /* SWU4 Target Register n */
-#define REG_SWU4_TARG3 0xFFCAE084 /* SWU4 Target Register n */
-#define REG_SWU4_HIST0 0xFFCAE028 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST1 0xFFCAE048 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST2 0xFFCAE068 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_HIST3 0xFFCAE088 /* SWU4 Bandwidth History Register n */
-#define REG_SWU4_CUR0 0xFFCAE02C /* SWU4 Current Register n */
-#define REG_SWU4_CUR1 0xFFCAE04C /* SWU4 Current Register n */
-#define REG_SWU4_CUR2 0xFFCAE06C /* SWU4 Current Register n */
-#define REG_SWU4_CUR3 0xFFCAE08C /* SWU4 Current Register n */
-
-/* =========================
- SWU5
- ========================= */
-#define REG_SWU5_GCTL 0xFFCAF000 /* SWU5 Global Control Register */
-#define REG_SWU5_GSTAT 0xFFCAF004 /* SWU5 Global Status Register */
-#define REG_SWU5_CTL0 0xFFCAF010 /* SWU5 Control Register n */
-#define REG_SWU5_CTL1 0xFFCAF030 /* SWU5 Control Register n */
-#define REG_SWU5_CTL2 0xFFCAF050 /* SWU5 Control Register n */
-#define REG_SWU5_CTL3 0xFFCAF070 /* SWU5 Control Register n */
-#define REG_SWU5_LA0 0xFFCAF014 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA1 0xFFCAF034 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA2 0xFFCAF054 /* SWU5 Lower Address Register n */
-#define REG_SWU5_LA3 0xFFCAF074 /* SWU5 Lower Address Register n */
-#define REG_SWU5_UA0 0xFFCAF018 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA1 0xFFCAF038 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA2 0xFFCAF058 /* SWU5 Upper Address Register n */
-#define REG_SWU5_UA3 0xFFCAF078 /* SWU5 Upper Address Register n */
-#define REG_SWU5_ID0 0xFFCAF01C /* SWU5 ID Register n */
-#define REG_SWU5_ID1 0xFFCAF03C /* SWU5 ID Register n */
-#define REG_SWU5_ID2 0xFFCAF05C /* SWU5 ID Register n */
-#define REG_SWU5_ID3 0xFFCAF07C /* SWU5 ID Register n */
-#define REG_SWU5_CNT0 0xFFCAF020 /* SWU5 Count Register n */
-#define REG_SWU5_CNT1 0xFFCAF040 /* SWU5 Count Register n */
-#define REG_SWU5_CNT2 0xFFCAF060 /* SWU5 Count Register n */
-#define REG_SWU5_CNT3 0xFFCAF080 /* SWU5 Count Register n */
-#define REG_SWU5_TARG0 0xFFCAF024 /* SWU5 Target Register n */
-#define REG_SWU5_TARG1 0xFFCAF044 /* SWU5 Target Register n */
-#define REG_SWU5_TARG2 0xFFCAF064 /* SWU5 Target Register n */
-#define REG_SWU5_TARG3 0xFFCAF084 /* SWU5 Target Register n */
-#define REG_SWU5_HIST0 0xFFCAF028 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST1 0xFFCAF048 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST2 0xFFCAF068 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_HIST3 0xFFCAF088 /* SWU5 Bandwidth History Register n */
-#define REG_SWU5_CUR0 0xFFCAF02C /* SWU5 Current Register n */
-#define REG_SWU5_CUR1 0xFFCAF04C /* SWU5 Current Register n */
-#define REG_SWU5_CUR2 0xFFCAF06C /* SWU5 Current Register n */
-#define REG_SWU5_CUR3 0xFFCAF08C /* SWU5 Current Register n */
-
-/* =========================
- SWU6
- ========================= */
-#define REG_SWU6_GCTL 0xFFC82000 /* SWU6 Global Control Register */
-#define REG_SWU6_GSTAT 0xFFC82004 /* SWU6 Global Status Register */
-#define REG_SWU6_CTL0 0xFFC82010 /* SWU6 Control Register n */
-#define REG_SWU6_CTL1 0xFFC82030 /* SWU6 Control Register n */
-#define REG_SWU6_CTL2 0xFFC82050 /* SWU6 Control Register n */
-#define REG_SWU6_CTL3 0xFFC82070 /* SWU6 Control Register n */
-#define REG_SWU6_LA0 0xFFC82014 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA1 0xFFC82034 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA2 0xFFC82054 /* SWU6 Lower Address Register n */
-#define REG_SWU6_LA3 0xFFC82074 /* SWU6 Lower Address Register n */
-#define REG_SWU6_UA0 0xFFC82018 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA1 0xFFC82038 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA2 0xFFC82058 /* SWU6 Upper Address Register n */
-#define REG_SWU6_UA3 0xFFC82078 /* SWU6 Upper Address Register n */
-#define REG_SWU6_ID0 0xFFC8201C /* SWU6 ID Register n */
-#define REG_SWU6_ID1 0xFFC8203C /* SWU6 ID Register n */
-#define REG_SWU6_ID2 0xFFC8205C /* SWU6 ID Register n */
-#define REG_SWU6_ID3 0xFFC8207C /* SWU6 ID Register n */
-#define REG_SWU6_CNT0 0xFFC82020 /* SWU6 Count Register n */
-#define REG_SWU6_CNT1 0xFFC82040 /* SWU6 Count Register n */
-#define REG_SWU6_CNT2 0xFFC82060 /* SWU6 Count Register n */
-#define REG_SWU6_CNT3 0xFFC82080 /* SWU6 Count Register n */
-#define REG_SWU6_TARG0 0xFFC82024 /* SWU6 Target Register n */
-#define REG_SWU6_TARG1 0xFFC82044 /* SWU6 Target Register n */
-#define REG_SWU6_TARG2 0xFFC82064 /* SWU6 Target Register n */
-#define REG_SWU6_TARG3 0xFFC82084 /* SWU6 Target Register n */
-#define REG_SWU6_HIST0 0xFFC82028 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST1 0xFFC82048 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST2 0xFFC82068 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_HIST3 0xFFC82088 /* SWU6 Bandwidth History Register n */
-#define REG_SWU6_CUR0 0xFFC8202C /* SWU6 Current Register n */
-#define REG_SWU6_CUR1 0xFFC8204C /* SWU6 Current Register n */
-#define REG_SWU6_CUR2 0xFFC8206C /* SWU6 Current Register n */
-#define REG_SWU6_CUR3 0xFFC8208C /* SWU6 Current Register n */
-
-/* =========================
- SWU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GCTL_RST 1 /* Global Reset */
-#define BITP_SWU_GCTL_EN 0 /* Global Enable */
-#define BITM_SWU_GCTL_RST (_ADI_MSK(0x00000002,uint32_t)) /* Global Reset */
-#define BITM_SWU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Global Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_GSTAT_ADDRERR 30 /* Address Error Status */
-#define BITP_SWU_GSTAT_OVRBW3 15 /* Group 3 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW3 14 /* Group 3 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW2 13 /* Group 2 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW2 12 /* Group 2 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW1 11 /* Group 1 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW1 10 /* Group 1 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_OVRBW0 9 /* Group 0 Bandwidth Above Maximum Target */
-#define BITP_SWU_GSTAT_UNDRBW0 8 /* Group 0 Bandwidth Below Minimum Target */
-#define BITP_SWU_GSTAT_INT3 7 /* Group 3 Interrupt Status */
-#define BITP_SWU_GSTAT_INT2 6 /* Group 2 Interrupt Status */
-#define BITP_SWU_GSTAT_INT1 5 /* Group 1 Interrupt Status */
-#define BITP_SWU_GSTAT_INT0 4 /* Group 0 Interrupt Status */
-#define BITP_SWU_GSTAT_MTCH3 3 /* Group 3 Match */
-#define BITP_SWU_GSTAT_MTCH2 2 /* Group 2 Match */
-#define BITP_SWU_GSTAT_MTCH1 1 /* Group 1 Match */
-#define BITP_SWU_GSTAT_MTCH0 0 /* Group 0 Match */
-#define BITM_SWU_GSTAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error Status */
-#define BITM_SWU_GSTAT_OVRBW3 (_ADI_MSK(0x00008000,uint32_t)) /* Group 3 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW3 (_ADI_MSK(0x00004000,uint32_t)) /* Group 3 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW2 (_ADI_MSK(0x00002000,uint32_t)) /* Group 2 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW2 (_ADI_MSK(0x00001000,uint32_t)) /* Group 2 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW1 (_ADI_MSK(0x00000800,uint32_t)) /* Group 1 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW1 (_ADI_MSK(0x00000400,uint32_t)) /* Group 1 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_OVRBW0 (_ADI_MSK(0x00000200,uint32_t)) /* Group 0 Bandwidth Above Maximum Target */
-#define BITM_SWU_GSTAT_UNDRBW0 (_ADI_MSK(0x00000100,uint32_t)) /* Group 0 Bandwidth Below Minimum Target */
-#define BITM_SWU_GSTAT_INT3 (_ADI_MSK(0x00000080,uint32_t)) /* Group 3 Interrupt Status */
-#define BITM_SWU_GSTAT_INT2 (_ADI_MSK(0x00000040,uint32_t)) /* Group 2 Interrupt Status */
-#define BITM_SWU_GSTAT_INT1 (_ADI_MSK(0x00000020,uint32_t)) /* Group 1 Interrupt Status */
-#define BITM_SWU_GSTAT_INT0 (_ADI_MSK(0x00000010,uint32_t)) /* Group 0 Interrupt Status */
-#define BITM_SWU_GSTAT_MTCH3 (_ADI_MSK(0x00000008,uint32_t)) /* Group 3 Match */
-#define BITM_SWU_GSTAT_MTCH2 (_ADI_MSK(0x00000004,uint32_t)) /* Group 2 Match */
-#define BITM_SWU_GSTAT_MTCH1 (_ADI_MSK(0x00000002,uint32_t)) /* Group 1 Match */
-#define BITM_SWU_GSTAT_MTCH0 (_ADI_MSK(0x00000001,uint32_t)) /* Group 0 Match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CTL_MAXACT 19 /* Action for Bandwidth Above Maximum */
-#define BITP_SWU_CTL_MINACT 18 /* Action for Bandwidth Below Minimum */
-#define BITP_SWU_CTL_BLENINC 17 /* Increment Bandwidth Count by Burst Length */
-#define BITP_SWU_CTL_BWEN 16 /* Bandwidth Mode Enable */
-#define BITP_SWU_CTL_TMEN 15 /* Trace Message Enable */
-#define BITP_SWU_CTL_TRGEN 14 /* Trigger Enable */
-#define BITP_SWU_CTL_INTEN 13 /* Interrupt Enable */
-#define BITP_SWU_CTL_DBGEN 12 /* Debug Event Enable */
-#define BITP_SWU_CTL_CNTRPTEN 9 /* Count Repeat Enable */
-#define BITP_SWU_CTL_CNTEN 8 /* Count Enable */
-#define BITP_SWU_CTL_LCMPEN 6 /* Locked Comparison Enable */
-#define BITP_SWU_CTL_SCMPEN 5 /* Secure Comparison Enable */
-#define BITP_SWU_CTL_IDCMPEN 4 /* ID Comparison Enable */
-#define BITP_SWU_CTL_ACMPM 2 /* Address Comparison Mode */
-#define BITP_SWU_CTL_DIR 1 /* Transaction Direction for Match */
-#define BITP_SWU_CTL_EN 0 /* Enable Watchpoint */
-#define BITM_SWU_CTL_MAXACT (_ADI_MSK(0x00080000,uint32_t)) /* Action for Bandwidth Above Maximum */
-#define BITM_SWU_CTL_MINACT (_ADI_MSK(0x00040000,uint32_t)) /* Action for Bandwidth Below Minimum */
-#define BITM_SWU_CTL_BLENINC (_ADI_MSK(0x00020000,uint32_t)) /* Increment Bandwidth Count by Burst Length */
-#define BITM_SWU_CTL_BWEN (_ADI_MSK(0x00010000,uint32_t)) /* Bandwidth Mode Enable */
-#define BITM_SWU_CTL_TMEN (_ADI_MSK(0x00008000,uint32_t)) /* Trace Message Enable */
-#define BITM_SWU_CTL_TRGEN (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Enable */
-#define BITM_SWU_CTL_INTEN (_ADI_MSK(0x00002000,uint32_t)) /* Interrupt Enable */
-#define BITM_SWU_CTL_DBGEN (_ADI_MSK(0x00001000,uint32_t)) /* Debug Event Enable */
-#define BITM_SWU_CTL_CNTRPTEN (_ADI_MSK(0x00000200,uint32_t)) /* Count Repeat Enable */
-#define BITM_SWU_CTL_CNTEN (_ADI_MSK(0x00000100,uint32_t)) /* Count Enable */
-#define BITM_SWU_CTL_LCMPEN (_ADI_MSK(0x00000040,uint32_t)) /* Locked Comparison Enable */
-#define BITM_SWU_CTL_SCMPEN (_ADI_MSK(0x00000020,uint32_t)) /* Secure Comparison Enable */
-#define BITM_SWU_CTL_IDCMPEN (_ADI_MSK(0x00000010,uint32_t)) /* ID Comparison Enable */
-#define BITM_SWU_CTL_ACMPM (_ADI_MSK(0x0000000C,uint32_t)) /* Address Comparison Mode */
-#define BITM_SWU_CTL_DIR (_ADI_MSK(0x00000002,uint32_t)) /* Transaction Direction for Match */
-#define BITM_SWU_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable Watchpoint */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_ID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_ID_IDMASK 16 /* Identity Mask (for Or with ID) */
-#define BITP_SWU_ID_ID 0 /* Identity */
-#define BITM_SWU_ID_IDMASK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Identity Mask (for Or with ID) */
-#define BITM_SWU_ID_ID (_ADI_MSK(0x0000FFFF,uint32_t)) /* Identity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CNT_COUNT 0 /* Count */
-#define BITM_SWU_CNT_COUNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_TARG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_TARG_BWMAX 16 /* Maximum Bandwidth Target */
-#define BITP_SWU_TARG_BWMIN 0 /* Minimum Bandwidth Target */
-#define BITM_SWU_TARG_BWMAX (_ADI_MSK(0xFFFF0000,uint32_t)) /* Maximum Bandwidth Target */
-#define BITM_SWU_TARG_BWMIN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Minimum Bandwidth Target */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_HIST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_HIST_BWHIST1 16 /* Bandwidth from Window Before Last */
-#define BITP_SWU_HIST_BWHIST0 0 /* Bandwidth from Last Window */
-#define BITM_SWU_HIST_BWHIST1 (_ADI_MSK(0xFFFF0000,uint32_t)) /* Bandwidth from Window Before Last */
-#define BITM_SWU_HIST_BWHIST0 (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth from Last Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SWU_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SWU_CUR_CURBW 16 /* Current Bandwidth */
-#define BITP_SWU_CUR_CURCNT 0 /* Current Count */
-#define BITM_SWU_CUR_CURBW (_ADI_MSK(0xFFFF0000,uint32_t)) /* Current Bandwidth */
-#define BITM_SWU_CUR_CURCNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Current Count */
-
-/* ==================================================
- System Debug Unit Registers
- ================================================== */
-
-/* =========================
- SDU0
- ========================= */
-#define REG_SDU0_IDCODE 0xFFC1F020 /* SDU0 ID Code Register */
-#define REG_SDU0_CTL 0xFFC1F050 /* SDU0 Control Register */
-#define REG_SDU0_STAT 0xFFC1F054 /* SDU0 Status Register */
-#define REG_SDU0_MACCTL 0xFFC1F058 /* SDU0 Memory Access Control Register */
-#define REG_SDU0_MACADDR 0xFFC1F05C /* SDU0 Memory Access Address Register */
-#define REG_SDU0_MACDATA 0xFFC1F060 /* SDU0 Memory Access Data Register */
-#define REG_SDU0_DMARD 0xFFC1F064 /* SDU0 DMA Read Data Register */
-#define REG_SDU0_DMAWD 0xFFC1F068 /* SDU0 DMA Write Data Register */
-#define REG_SDU0_MSG 0xFFC1F080 /* SDU0 Message Register */
-#define REG_SDU0_MSG_SET 0xFFC1F084 /* SDU0 Message Set Register */
-#define REG_SDU0_MSG_CLR 0xFFC1F088 /* SDU0 Message Clear Register */
-#define REG_SDU0_GHLT 0xFFC1F08C /* SDU0 Group Halt Register */
-
-/* =========================
- SDU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_IDCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_IDCODE_REVID 28 /* Revision ID */
-#define BITP_SDU_IDCODE_PRID 12 /* Product ID */
-#define BITP_SDU_IDCODE_MFID 1 /* Manufacturer ID */
-#define BITM_SDU_IDCODE_REVID (_ADI_MSK(0xF0000000,uint32_t)) /* Revision ID */
-#define BITM_SDU_IDCODE_PRID (_ADI_MSK(0x0FFFF000,uint32_t)) /* Product ID */
-#define BITM_SDU_IDCODE_MFID (_ADI_MSK(0x00000FFE,uint32_t)) /* Manufacturer ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_CTL_EHLT 8 /* Emulator Halt Select */
-#define BITP_SDU_CTL_EMEEN 4 /* Emulation Event Enable */
-#define BITP_SDU_CTL_DMAEN 2 /* DMA Enable */
-#define BITP_SDU_CTL_CSPEN 1 /* Core Scan Path Enable */
-#define BITP_SDU_CTL_SYSRST 0 /* System Reset */
-#define BITM_SDU_CTL_EHLT (_ADI_MSK(0x0000FF00,uint32_t)) /* Emulator Halt Select */
-#define BITM_SDU_CTL_EMEEN (_ADI_MSK(0x00000010,uint32_t)) /* Emulation Event Enable */
-#define BITM_SDU_CTL_DMAEN (_ADI_MSK(0x00000004,uint32_t)) /* DMA Enable */
-#define BITM_SDU_CTL_CSPEN (_ADI_MSK(0x00000002,uint32_t)) /* Core Scan Path Enable */
-#define BITM_SDU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_STAT_CRST 22 /* Core Reset */
-#define BITP_SDU_STAT_CHLT 21 /* Core Halt */
-#define BITP_SDU_STAT_EME 20 /* Emulation Event */
-#define BITP_SDU_STAT_GHLTC 17 /* Group Halt Cause */
-#define BITP_SDU_STAT_GHLT 16 /* Group Halt */
-#define BITP_SDU_STAT_DMAFIFO 12 /* DMA FIFO */
-#define BITP_SDU_STAT_ADDRERR 11 /* Address Error */
-#define BITP_SDU_STAT_DMAWDRDY 10 /* DMAWD Ready */
-#define BITP_SDU_STAT_DMARDRDY 9 /* DMARD Ready */
-#define BITP_SDU_STAT_MACRDY 8 /* MAC Ready */
-#define BITP_SDU_STAT_ERRC 4 /* Error Cause */
-#define BITP_SDU_STAT_SECURE 3 /* Secure Mode */
-#define BITP_SDU_STAT_DEEPSLEEP 2 /* Deep Sleep Mode */
-#define BITP_SDU_STAT_ERR 1 /* Error */
-#define BITP_SDU_STAT_SYSRST 0 /* System Reset */
-#define BITM_SDU_STAT_CRST (_ADI_MSK(0x00400000,uint32_t)) /* Core Reset */
-#define BITM_SDU_STAT_CHLT (_ADI_MSK(0x00200000,uint32_t)) /* Core Halt */
-#define BITM_SDU_STAT_EME (_ADI_MSK(0x00100000,uint32_t)) /* Emulation Event */
-#define BITM_SDU_STAT_GHLTC (_ADI_MSK(0x000E0000,uint32_t)) /* Group Halt Cause */
-#define BITM_SDU_STAT_GHLT (_ADI_MSK(0x00010000,uint32_t)) /* Group Halt */
-#define BITM_SDU_STAT_DMAFIFO (_ADI_MSK(0x00007000,uint32_t)) /* DMA FIFO */
-#define BITM_SDU_STAT_ADDRERR (_ADI_MSK(0x00000800,uint32_t)) /* Address Error */
-#define BITM_SDU_STAT_DMAWDRDY (_ADI_MSK(0x00000400,uint32_t)) /* DMAWD Ready */
-#define BITM_SDU_STAT_DMARDRDY (_ADI_MSK(0x00000200,uint32_t)) /* DMARD Ready */
-#define BITM_SDU_STAT_MACRDY (_ADI_MSK(0x00000100,uint32_t)) /* MAC Ready */
-#define BITM_SDU_STAT_ERRC (_ADI_MSK(0x000000F0,uint32_t)) /* Error Cause */
-#define BITM_SDU_STAT_SECURE (_ADI_MSK(0x00000008,uint32_t)) /* Secure Mode */
-#define BITM_SDU_STAT_DEEPSLEEP (_ADI_MSK(0x00000004,uint32_t)) /* Deep Sleep Mode */
-#define BITM_SDU_STAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define BITM_SDU_STAT_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MACCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MACCTL_AUTOINC 4 /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITP_SDU_MACCTL_RNW 3 /* Read Not Write */
-#define BITP_SDU_MACCTL_SIZE 0 /* Transfer Data Size */
-#define BITM_SDU_MACCTL_AUTOINC (_ADI_MSK(0x00000010,uint32_t)) /* Auto (Post) Increment MACADDR (by SIZE) */
-#define BITM_SDU_MACCTL_RNW (_ADI_MSK(0x00000008,uint32_t)) /* Read Not Write */
-#define BITM_SDU_MACCTL_SIZE (_ADI_MSK(0x00000007,uint32_t)) /* Transfer Data Size */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_MSG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_MSG_CALLERR 31 /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITP_SDU_MSG_CALLBACK 30 /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITP_SDU_MSG_CALLINIT 29 /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITP_SDU_MSG_CALLAPP 28 /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITP_SDU_MSG_HALTONERR 27 /* Generate an Emulation Exception Prior to an Error Call */
-#define BITP_SDU_MSG_HALTONCALL 26 /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITP_SDU_MSG_HALTONINIT 25 /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITP_SDU_MSG_HALTONAPP 24 /* Generate an Emulation Exception Prior to an Application Call */
-#define BITP_SDU_MSG_L3INIT 23 /* Indicates that the L3 Resource is Initialized */
-#define BITP_SDU_MSG_L2INIT 22 /* Indicates that the L2 Resource is Initialized */
-#define BITP_SDU_MSG_C1L1INIT 17 /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITP_SDU_MSG_C0L1INIT 16 /* Indicates that the Core 0 L1 Resource is Initialized */
-#define BITM_SDU_MSG_CALLERR (_ADI_MSK(0x80000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Error Call */
-#define BITM_SDU_MSG_CALLBACK (_ADI_MSK(0x40000000,uint32_t)) /* Flag Set by the Boot Code Prior to a Callback Call */
-#define BITM_SDU_MSG_CALLINIT (_ADI_MSK(0x20000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Initcode Call */
-#define BITM_SDU_MSG_CALLAPP (_ADI_MSK(0x10000000,uint32_t)) /* Flag Set by the Boot Code Prior to an Application Call */
-#define BITM_SDU_MSG_HALTONERR (_ADI_MSK(0x08000000,uint32_t)) /* Generate an Emulation Exception Prior to an Error Call */
-#define BITM_SDU_MSG_HALTONCALL (_ADI_MSK(0x04000000,uint32_t)) /* Generate an Emulation Exception Prior to a Callback Call */
-#define BITM_SDU_MSG_HALTONINIT (_ADI_MSK(0x02000000,uint32_t)) /* Generate an Emulation Exception Prior to an Initcode Call */
-#define BITM_SDU_MSG_HALTONAPP (_ADI_MSK(0x01000000,uint32_t)) /* Generate an Emulation Exception Prior to an Application Call */
-#define BITM_SDU_MSG_L3INIT (_ADI_MSK(0x00800000,uint32_t)) /* Indicates that the L3 Resource is Initialized */
-#define BITM_SDU_MSG_L2INIT (_ADI_MSK(0x00400000,uint32_t)) /* Indicates that the L2 Resource is Initialized */
-#define BITM_SDU_MSG_C1L1INIT (_ADI_MSK(0x00020000,uint32_t)) /* Indicates that the Core 1 L1 Resource is Initialized */
-#define BITM_SDU_MSG_C0L1INIT (_ADI_MSK(0x00010000,uint32_t)) /* Indicates that the Core 0 L1 Resource is Initialized */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SDU_GHLT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SDU_GHLT_SS2 18 /* Slave Select 2 */
-#define BITP_SDU_GHLT_SS1 17 /* Slave Select 1 */
-#define BITP_SDU_GHLT_SS0 16 /* Slave Select 0 */
-#define BITP_SDU_GHLT_MS2 2 /* Master Select 2 */
-#define BITP_SDU_GHLT_MS1 1 /* Master Select 1 */
-#define BITP_SDU_GHLT_MS0 0 /* Master Select 0 */
-#define BITM_SDU_GHLT_SS2 (_ADI_MSK(0x00040000,uint32_t)) /* Slave Select 2 */
-#define BITM_SDU_GHLT_SS1 (_ADI_MSK(0x00020000,uint32_t)) /* Slave Select 1 */
-#define BITM_SDU_GHLT_SS0 (_ADI_MSK(0x00010000,uint32_t)) /* Slave Select 0 */
-#define BITM_SDU_GHLT_MS2 (_ADI_MSK(0x00000004,uint32_t)) /* Master Select 2 */
-#define BITM_SDU_GHLT_MS1 (_ADI_MSK(0x00000002,uint32_t)) /* Master Select 1 */
-#define BITM_SDU_GHLT_MS0 (_ADI_MSK(0x00000001,uint32_t)) /* Master Select 0 */
-
-/* ==================================================
- Ethernet MAC Registers
- ================================================== */
-
-/* =========================
- EMAC0
- ========================= */
-#define REG_EMAC0_MACCFG 0xFFC20000 /* EMAC0 MAC Configuration Register */
-#define REG_EMAC0_MACFRMFILT 0xFFC20004 /* EMAC0 MAC Rx Frame Filter Register */
-#define REG_EMAC0_HASHTBL_HI 0xFFC20008 /* EMAC0 Hash Table High Register */
-#define REG_EMAC0_HASHTBL_LO 0xFFC2000C /* EMAC0 Hash Table Low Register */
-#define REG_EMAC0_SMI_ADDR 0xFFC20010 /* EMAC0 SMI Address Register */
-#define REG_EMAC0_SMI_DATA 0xFFC20014 /* EMAC0 SMI Data Register */
-#define REG_EMAC0_FLOWCTL 0xFFC20018 /* EMAC0 FLow Control Register */
-#define REG_EMAC0_VLANTAG 0xFFC2001C /* EMAC0 VLAN Tag Register */
-#define REG_EMAC0_DBG 0xFFC20024 /* EMAC0 Debug Register */
-#define REG_EMAC0_ISTAT 0xFFC20038 /* EMAC0 Interrupt Status Register */
-#define REG_EMAC0_IMSK 0xFFC2003C /* EMAC0 Interrupt Mask Register */
-#define REG_EMAC0_ADDR0_HI 0xFFC20040 /* EMAC0 MAC Address 0 High Register */
-#define REG_EMAC0_ADDR0_LO 0xFFC20044 /* EMAC0 MAC Address 0 Low Register */
-#define REG_EMAC0_MMC_CTL 0xFFC20100 /* EMAC0 MMC Control Register */
-#define REG_EMAC0_MMC_RXINT 0xFFC20104 /* EMAC0 MMC Rx Interrupt Register */
-#define REG_EMAC0_MMC_TXINT 0xFFC20108 /* EMAC0 MMC Tx Interrupt Register */
-#define REG_EMAC0_MMC_RXIMSK 0xFFC2010C /* EMAC0 MMC Rx Interrupt Mask Register */
-#define REG_EMAC0_MMC_TXIMSK 0xFFC20110 /* EMAC0 MMC TX Interrupt Mask Register */
-#define REG_EMAC0_TXOCTCNT_GB 0xFFC20114 /* EMAC0 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC0_TXFRMCNT_GB 0xFFC20118 /* EMAC0 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_G 0xFFC2011C /* EMAC0 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC0_TXMCASTFRM_G 0xFFC20120 /* EMAC0 Tx Multicast Frames (Good) Register */
-#define REG_EMAC0_TX64_GB 0xFFC20124 /* EMAC0 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX65TO127_GB 0xFFC20128 /* EMAC0 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX128TO255_GB 0xFFC2012C /* EMAC0 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX256TO511_GB 0xFFC20130 /* EMAC0 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX512TO1023_GB 0xFFC20134 /* EMAC0 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TX1024TOMAX_GB 0xFFC20138 /* EMAC0 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUCASTFRM_GB 0xFFC2013C /* EMAC0 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXMCASTFRM_GB 0xFFC20140 /* EMAC0 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXBCASTFRM_GB 0xFFC20144 /* EMAC0 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC0_TXUNDR_ERR 0xFFC20148 /* EMAC0 Tx Underflow Error Register */
-#define REG_EMAC0_TXSNGCOL_G 0xFFC2014C /* EMAC0 Tx Single Collision (Good) Register */
-#define REG_EMAC0_TXMULTCOL_G 0xFFC20150 /* EMAC0 Tx Multiple Collision (Good) Register */
-#define REG_EMAC0_TXDEFERRED 0xFFC20154 /* EMAC0 Tx Deferred Register */
-#define REG_EMAC0_TXLATECOL 0xFFC20158 /* EMAC0 Tx Late Collision Register */
-#define REG_EMAC0_TXEXCESSCOL 0xFFC2015C /* EMAC0 Tx Excess Collision Register */
-#define REG_EMAC0_TXCARR_ERR 0xFFC20160 /* EMAC0 Tx Carrier Error Register */
-#define REG_EMAC0_TXOCTCNT_G 0xFFC20164 /* EMAC0 Tx Octet Count (Good) Register */
-#define REG_EMAC0_TXFRMCNT_G 0xFFC20168 /* EMAC0 Tx Frame Count (Good) Register */
-#define REG_EMAC0_TXEXCESSDEF 0xFFC2016C /* EMAC0 Tx Excess Deferral Register */
-#define REG_EMAC0_TXPAUSEFRM 0xFFC20170 /* EMAC0 Tx Pause Frame Register */
-#define REG_EMAC0_TXVLANFRM_G 0xFFC20174 /* EMAC0 Tx VLAN Frames (Good) Register */
-#define REG_EMAC0_RXFRMCNT_GB 0xFFC20180 /* EMAC0 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_GB 0xFFC20184 /* EMAC0 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC0_RXOCTCNT_G 0xFFC20188 /* EMAC0 Rx Octet Count (Good) Register */
-#define REG_EMAC0_RXBCASTFRM_G 0xFFC2018C /* EMAC0 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC0_RXMCASTFRM_G 0xFFC20190 /* EMAC0 Rx Multicast Frames (Good) Register */
-#define REG_EMAC0_RXCRC_ERR 0xFFC20194 /* EMAC0 Rx CRC Error Register */
-#define REG_EMAC0_RXALIGN_ERR 0xFFC20198 /* EMAC0 Rx alignment Error Register */
-#define REG_EMAC0_RXRUNT_ERR 0xFFC2019C /* EMAC0 Rx Runt Error Register */
-#define REG_EMAC0_RXJAB_ERR 0xFFC201A0 /* EMAC0 Rx Jab Error Register */
-#define REG_EMAC0_RXUSIZE_G 0xFFC201A4 /* EMAC0 Rx Undersize (Good) Register */
-#define REG_EMAC0_RXOSIZE_G 0xFFC201A8 /* EMAC0 Rx Oversize (Good) Register */
-#define REG_EMAC0_RX64_GB 0xFFC201AC /* EMAC0 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX65TO127_GB 0xFFC201B0 /* EMAC0 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX128TO255_GB 0xFFC201B4 /* EMAC0 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX256TO511_GB 0xFFC201B8 /* EMAC0 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX512TO1023_GB 0xFFC201BC /* EMAC0 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RX1024TOMAX_GB 0xFFC201C0 /* EMAC0 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC0_RXUCASTFRM_G 0xFFC201C4 /* EMAC0 Rx Unicast Frames (Good) Register */
-#define REG_EMAC0_RXLEN_ERR 0xFFC201C8 /* EMAC0 Rx Length Error Register */
-#define REG_EMAC0_RXOORTYPE 0xFFC201CC /* EMAC0 Rx Out Of Range Type Register */
-#define REG_EMAC0_RXPAUSEFRM 0xFFC201D0 /* EMAC0 Rx Pause Frames Register */
-#define REG_EMAC0_RXFIFO_OVF 0xFFC201D4 /* EMAC0 Rx FIFO Overflow Register */
-#define REG_EMAC0_RXVLANFRM_GB 0xFFC201D8 /* EMAC0 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC0_RXWDOG_ERR 0xFFC201DC /* EMAC0 Rx Watch Dog Error Register */
-#define REG_EMAC0_IPC_RXIMSK 0xFFC20200 /* EMAC0 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC0_IPC_RXINT 0xFFC20208 /* EMAC0 MMC IPC Rx Interrupt Register */
-#define REG_EMAC0_RXIPV4_GD_FRM 0xFFC20210 /* EMAC0 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_FRM 0xFFC20214 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_FRM 0xFFC20218 /* EMAC0 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC0_RXIPV4_FRAG_FRM 0xFFC2021C /* EMAC0 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC0_RXIPV4_UDSBL_FRM 0xFFC20220 /* EMAC0 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC0_RXIPV6_GD_FRM 0xFFC20224 /* EMAC0 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_FRM 0xFFC20228 /* EMAC0 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC0_RXIPV6_NOPAY_FRM 0xFFC2022C /* EMAC0 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC0_RXUDP_GD_FRM 0xFFC20230 /* EMAC0 Rx UDP Good Frames Register */
-#define REG_EMAC0_RXUDP_ERR_FRM 0xFFC20234 /* EMAC0 Rx UDP Error Frames Register */
-#define REG_EMAC0_RXTCP_GD_FRM 0xFFC20238 /* EMAC0 Rx TCP Good Frames Register */
-#define REG_EMAC0_RXTCP_ERR_FRM 0xFFC2023C /* EMAC0 Rx TCP Error Frames Register */
-#define REG_EMAC0_RXICMP_GD_FRM 0xFFC20240 /* EMAC0 Rx ICMP Good Frames Register */
-#define REG_EMAC0_RXICMP_ERR_FRM 0xFFC20244 /* EMAC0 Rx ICMP Error Frames Register */
-#define REG_EMAC0_RXIPV4_GD_OCT 0xFFC20250 /* EMAC0 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC0_RXIPV4_HDR_ERR_OCT 0xFFC20254 /* EMAC0 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC0_RXIPV4_NOPAY_OCT 0xFFC20258 /* EMAC0 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC0_RXIPV4_FRAG_OCT 0xFFC2025C /* EMAC0 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC0_RXIPV4_UDSBL_OCT 0xFFC20260 /* EMAC0 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC0_RXIPV6_GD_OCT 0xFFC20264 /* EMAC0 Rx IPv6 Good Octets Register */
-#define REG_EMAC0_RXIPV6_HDR_ERR_OCT 0xFFC20268 /* EMAC0 Rx IPv6 Header Errors Register */
-#define REG_EMAC0_RXIPV6_NOPAY_OCT 0xFFC2026C /* EMAC0 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC0_RXUDP_GD_OCT 0xFFC20270 /* EMAC0 Rx UDP Good Octets Register */
-#define REG_EMAC0_RXUDP_ERR_OCT 0xFFC20274 /* EMAC0 Rx UDP Error Octets Register */
-#define REG_EMAC0_RXTCP_GD_OCT 0xFFC20278 /* EMAC0 Rx TCP Good Octets Register */
-#define REG_EMAC0_RXTCP_ERR_OCT 0xFFC2027C /* EMAC0 Rx TCP Error Octets Register */
-#define REG_EMAC0_RXICMP_GD_OCT 0xFFC20280 /* EMAC0 Rx ICMP Good Octets Register */
-#define REG_EMAC0_RXICMP_ERR_OCT 0xFFC20284 /* EMAC0 Rx ICMP Error Octets Register */
-#define REG_EMAC0_TM_CTL 0xFFC20700 /* EMAC0 Time Stamp Control Register */
-#define REG_EMAC0_TM_SUBSEC 0xFFC20704 /* EMAC0 Time Stamp Sub Second Increment Register */
-#define REG_EMAC0_TM_SEC 0xFFC20708 /* EMAC0 Time Stamp Low Seconds Register */
-#define REG_EMAC0_TM_NSEC 0xFFC2070C /* EMAC0 Time Stamp Nano Seconds Register */
-#define REG_EMAC0_TM_SECUPDT 0xFFC20710 /* EMAC0 Time Stamp Seconds Update Register */
-#define REG_EMAC0_TM_NSECUPDT 0xFFC20714 /* EMAC0 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC0_TM_ADDEND 0xFFC20718 /* EMAC0 Time Stamp Addend Register */
-#define REG_EMAC0_TM_TGTM 0xFFC2071C /* EMAC0 Time Stamp Target Time Seconds Register */
-#define REG_EMAC0_TM_NTGTM 0xFFC20720 /* EMAC0 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC0_TM_HISEC 0xFFC20724 /* EMAC0 Time Stamp High Second Register */
-#define REG_EMAC0_TM_STMPSTAT 0xFFC20728 /* EMAC0 Time Stamp Status Register */
-#define REG_EMAC0_TM_PPSCTL 0xFFC2072C /* EMAC0 PPS Control Register */
-#define REG_EMAC0_TM_AUXSTMP_NSEC 0xFFC20730 /* EMAC0 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC0_TM_AUXSTMP_SEC 0xFFC20734 /* EMAC0 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC0_TM_PPSINTVL 0xFFC20760 /* EMAC0 Time Stamp PPS Interval Register */
-#define REG_EMAC0_TM_PPSWIDTH 0xFFC20764 /* EMAC0 PPS Width Register */
-#define REG_EMAC0_DMA_BUSMODE 0xFFC21000 /* EMAC0 DMA Bus Mode Register */
-#define REG_EMAC0_DMA_TXPOLL 0xFFC21004 /* EMAC0 DMA Tx Poll Demand Register */
-#define REG_EMAC0_DMA_RXPOLL 0xFFC21008 /* EMAC0 DMA Rx Poll Demand register */
-#define REG_EMAC0_DMA_RXDSC_ADDR 0xFFC2100C /* EMAC0 DMA Rx Descriptor List Address Register */
-#define REG_EMAC0_DMA_TXDSC_ADDR 0xFFC21010 /* EMAC0 DMA Tx Descriptor List Address Register */
-#define REG_EMAC0_DMA_STAT 0xFFC21014 /* EMAC0 DMA Status Register */
-#define REG_EMAC0_DMA_OPMODE 0xFFC21018 /* EMAC0 DMA Operation Mode Register */
-#define REG_EMAC0_DMA_IEN 0xFFC2101C /* EMAC0 DMA Interrupt Enable Register */
-#define REG_EMAC0_DMA_MISS_FRM 0xFFC21020 /* EMAC0 DMA Missed Frame Register */
-#define REG_EMAC0_DMA_RXIWDOG 0xFFC21024 /* EMAC0 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC0_DMA_BMMODE 0xFFC21028 /* EMAC0 DMA SCB Bus Mode Register */
-#define REG_EMAC0_DMA_BMSTAT 0xFFC2102C /* EMAC0 DMA SCB Status Register */
-#define REG_EMAC0_DMA_TXDSC_CUR 0xFFC21048 /* EMAC0 DMA Tx Descriptor Current Register */
-#define REG_EMAC0_DMA_RXDSC_CUR 0xFFC2104C /* EMAC0 DMA Rx Descriptor Current Register */
-#define REG_EMAC0_DMA_TXBUF_CUR 0xFFC21050 /* EMAC0 DMA Tx Buffer Current Register */
-#define REG_EMAC0_DMA_RXBUF_CUR 0xFFC21054 /* EMAC0 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC1
- ========================= */
-#define REG_EMAC1_MACCFG 0xFFC22000 /* EMAC1 MAC Configuration Register */
-#define REG_EMAC1_MACFRMFILT 0xFFC22004 /* EMAC1 MAC Rx Frame Filter Register */
-#define REG_EMAC1_HASHTBL_HI 0xFFC22008 /* EMAC1 Hash Table High Register */
-#define REG_EMAC1_HASHTBL_LO 0xFFC2200C /* EMAC1 Hash Table Low Register */
-#define REG_EMAC1_SMI_ADDR 0xFFC22010 /* EMAC1 SMI Address Register */
-#define REG_EMAC1_SMI_DATA 0xFFC22014 /* EMAC1 SMI Data Register */
-#define REG_EMAC1_FLOWCTL 0xFFC22018 /* EMAC1 FLow Control Register */
-#define REG_EMAC1_VLANTAG 0xFFC2201C /* EMAC1 VLAN Tag Register */
-#define REG_EMAC1_DBG 0xFFC22024 /* EMAC1 Debug Register */
-#define REG_EMAC1_ISTAT 0xFFC22038 /* EMAC1 Interrupt Status Register */
-#define REG_EMAC1_IMSK 0xFFC2203C /* EMAC1 Interrupt Mask Register */
-#define REG_EMAC1_ADDR0_HI 0xFFC22040 /* EMAC1 MAC Address 0 High Register */
-#define REG_EMAC1_ADDR0_LO 0xFFC22044 /* EMAC1 MAC Address 0 Low Register */
-#define REG_EMAC1_MMC_CTL 0xFFC22100 /* EMAC1 MMC Control Register */
-#define REG_EMAC1_MMC_RXINT 0xFFC22104 /* EMAC1 MMC Rx Interrupt Register */
-#define REG_EMAC1_MMC_TXINT 0xFFC22108 /* EMAC1 MMC Tx Interrupt Register */
-#define REG_EMAC1_MMC_RXIMSK 0xFFC2210C /* EMAC1 MMC Rx Interrupt Mask Register */
-#define REG_EMAC1_MMC_TXIMSK 0xFFC22110 /* EMAC1 MMC TX Interrupt Mask Register */
-#define REG_EMAC1_TXOCTCNT_GB 0xFFC22114 /* EMAC1 Tx OCT Count (Good/Bad) Register */
-#define REG_EMAC1_TXFRMCNT_GB 0xFFC22118 /* EMAC1 Tx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_G 0xFFC2211C /* EMAC1 Tx Broadcast Frames (Good) Register */
-#define REG_EMAC1_TXMCASTFRM_G 0xFFC22120 /* EMAC1 Tx Multicast Frames (Good) Register */
-#define REG_EMAC1_TX64_GB 0xFFC22124 /* EMAC1 Tx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX65TO127_GB 0xFFC22128 /* EMAC1 Tx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX128TO255_GB 0xFFC2212C /* EMAC1 Tx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX256TO511_GB 0xFFC22130 /* EMAC1 Tx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX512TO1023_GB 0xFFC22134 /* EMAC1 Tx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TX1024TOMAX_GB 0xFFC22138 /* EMAC1 Tx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUCASTFRM_GB 0xFFC2213C /* EMAC1 Tx Unicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXMCASTFRM_GB 0xFFC22140 /* EMAC1 Tx Multicast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXBCASTFRM_GB 0xFFC22144 /* EMAC1 Tx Broadcast Frames (Good/Bad) Register */
-#define REG_EMAC1_TXUNDR_ERR 0xFFC22148 /* EMAC1 Tx Underflow Error Register */
-#define REG_EMAC1_TXSNGCOL_G 0xFFC2214C /* EMAC1 Tx Single Collision (Good) Register */
-#define REG_EMAC1_TXMULTCOL_G 0xFFC22150 /* EMAC1 Tx Multiple Collision (Good) Register */
-#define REG_EMAC1_TXDEFERRED 0xFFC22154 /* EMAC1 Tx Deferred Register */
-#define REG_EMAC1_TXLATECOL 0xFFC22158 /* EMAC1 Tx Late Collision Register */
-#define REG_EMAC1_TXEXCESSCOL 0xFFC2215C /* EMAC1 Tx Excess Collision Register */
-#define REG_EMAC1_TXCARR_ERR 0xFFC22160 /* EMAC1 Tx Carrier Error Register */
-#define REG_EMAC1_TXOCTCNT_G 0xFFC22164 /* EMAC1 Tx Octet Count (Good) Register */
-#define REG_EMAC1_TXFRMCNT_G 0xFFC22168 /* EMAC1 Tx Frame Count (Good) Register */
-#define REG_EMAC1_TXEXCESSDEF 0xFFC2216C /* EMAC1 Tx Excess Deferral Register */
-#define REG_EMAC1_TXPAUSEFRM 0xFFC22170 /* EMAC1 Tx Pause Frame Register */
-#define REG_EMAC1_TXVLANFRM_G 0xFFC22174 /* EMAC1 Tx VLAN Frames (Good) Register */
-#define REG_EMAC1_RXFRMCNT_GB 0xFFC22180 /* EMAC1 Rx Frame Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_GB 0xFFC22184 /* EMAC1 Rx Octet Count (Good/Bad) Register */
-#define REG_EMAC1_RXOCTCNT_G 0xFFC22188 /* EMAC1 Rx Octet Count (Good) Register */
-#define REG_EMAC1_RXBCASTFRM_G 0xFFC2218C /* EMAC1 Rx Broadcast Frames (Good) Register */
-#define REG_EMAC1_RXMCASTFRM_G 0xFFC22190 /* EMAC1 Rx Multicast Frames (Good) Register */
-#define REG_EMAC1_RXCRC_ERR 0xFFC22194 /* EMAC1 Rx CRC Error Register */
-#define REG_EMAC1_RXALIGN_ERR 0xFFC22198 /* EMAC1 Rx alignment Error Register */
-#define REG_EMAC1_RXRUNT_ERR 0xFFC2219C /* EMAC1 Rx Runt Error Register */
-#define REG_EMAC1_RXJAB_ERR 0xFFC221A0 /* EMAC1 Rx Jab Error Register */
-#define REG_EMAC1_RXUSIZE_G 0xFFC221A4 /* EMAC1 Rx Undersize (Good) Register */
-#define REG_EMAC1_RXOSIZE_G 0xFFC221A8 /* EMAC1 Rx Oversize (Good) Register */
-#define REG_EMAC1_RX64_GB 0xFFC221AC /* EMAC1 Rx 64-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX65TO127_GB 0xFFC221B0 /* EMAC1 Rx 65- to 127-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX128TO255_GB 0xFFC221B4 /* EMAC1 Rx 128- to 255-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX256TO511_GB 0xFFC221B8 /* EMAC1 Rx 256- to 511-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX512TO1023_GB 0xFFC221BC /* EMAC1 Rx 512- to 1023-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RX1024TOMAX_GB 0xFFC221C0 /* EMAC1 Rx 1024- to Max-Byte Frames (Good/Bad) Register */
-#define REG_EMAC1_RXUCASTFRM_G 0xFFC221C4 /* EMAC1 Rx Unicast Frames (Good) Register */
-#define REG_EMAC1_RXLEN_ERR 0xFFC221C8 /* EMAC1 Rx Length Error Register */
-#define REG_EMAC1_RXOORTYPE 0xFFC221CC /* EMAC1 Rx Out Of Range Type Register */
-#define REG_EMAC1_RXPAUSEFRM 0xFFC221D0 /* EMAC1 Rx Pause Frames Register */
-#define REG_EMAC1_RXFIFO_OVF 0xFFC221D4 /* EMAC1 Rx FIFO Overflow Register */
-#define REG_EMAC1_RXVLANFRM_GB 0xFFC221D8 /* EMAC1 Rx VLAN Frames (Good/Bad) Register */
-#define REG_EMAC1_RXWDOG_ERR 0xFFC221DC /* EMAC1 Rx Watch Dog Error Register */
-#define REG_EMAC1_IPC_RXIMSK 0xFFC22200 /* EMAC1 MMC IPC Rx Interrupt Mask Register */
-#define REG_EMAC1_IPC_RXINT 0xFFC22208 /* EMAC1 MMC IPC Rx Interrupt Register */
-#define REG_EMAC1_RXIPV4_GD_FRM 0xFFC22210 /* EMAC1 Rx IPv4 Datagrams (Good) Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_FRM 0xFFC22214 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_FRM 0xFFC22218 /* EMAC1 Rx IPv4 Datagrams No Payload Frame Register */
-#define REG_EMAC1_RXIPV4_FRAG_FRM 0xFFC2221C /* EMAC1 Rx IPv4 Datagrams Fragmented Frames Register */
-#define REG_EMAC1_RXIPV4_UDSBL_FRM 0xFFC22220 /* EMAC1 Rx IPv4 UDP Disabled Frames Register */
-#define REG_EMAC1_RXIPV6_GD_FRM 0xFFC22224 /* EMAC1 Rx IPv6 Datagrams Good Frames Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_FRM 0xFFC22228 /* EMAC1 Rx IPv6 Datagrams Header Error Frames Register */
-#define REG_EMAC1_RXIPV6_NOPAY_FRM 0xFFC2222C /* EMAC1 Rx IPv6 Datagrams No Payload Frames Register */
-#define REG_EMAC1_RXUDP_GD_FRM 0xFFC22230 /* EMAC1 Rx UDP Good Frames Register */
-#define REG_EMAC1_RXUDP_ERR_FRM 0xFFC22234 /* EMAC1 Rx UDP Error Frames Register */
-#define REG_EMAC1_RXTCP_GD_FRM 0xFFC22238 /* EMAC1 Rx TCP Good Frames Register */
-#define REG_EMAC1_RXTCP_ERR_FRM 0xFFC2223C /* EMAC1 Rx TCP Error Frames Register */
-#define REG_EMAC1_RXICMP_GD_FRM 0xFFC22240 /* EMAC1 Rx ICMP Good Frames Register */
-#define REG_EMAC1_RXICMP_ERR_FRM 0xFFC22244 /* EMAC1 Rx ICMP Error Frames Register */
-#define REG_EMAC1_RXIPV4_GD_OCT 0xFFC22250 /* EMAC1 Rx IPv4 Datagrams Good Octets Register */
-#define REG_EMAC1_RXIPV4_HDR_ERR_OCT 0xFFC22254 /* EMAC1 Rx IPv4 Datagrams Header Errors Register */
-#define REG_EMAC1_RXIPV4_NOPAY_OCT 0xFFC22258 /* EMAC1 Rx IPv4 Datagrams No Payload Octets Register */
-#define REG_EMAC1_RXIPV4_FRAG_OCT 0xFFC2225C /* EMAC1 Rx IPv4 Datagrams Fragmented Octets Register */
-#define REG_EMAC1_RXIPV4_UDSBL_OCT 0xFFC22260 /* EMAC1 Rx IPv4 UDP Disabled Octets Register */
-#define REG_EMAC1_RXIPV6_GD_OCT 0xFFC22264 /* EMAC1 Rx IPv6 Good Octets Register */
-#define REG_EMAC1_RXIPV6_HDR_ERR_OCT 0xFFC22268 /* EMAC1 Rx IPv6 Header Errors Register */
-#define REG_EMAC1_RXIPV6_NOPAY_OCT 0xFFC2226C /* EMAC1 Rx IPv6 No Payload Octets Register */
-#define REG_EMAC1_RXUDP_GD_OCT 0xFFC22270 /* EMAC1 Rx UDP Good Octets Register */
-#define REG_EMAC1_RXUDP_ERR_OCT 0xFFC22274 /* EMAC1 Rx UDP Error Octets Register */
-#define REG_EMAC1_RXTCP_GD_OCT 0xFFC22278 /* EMAC1 Rx TCP Good Octets Register */
-#define REG_EMAC1_RXTCP_ERR_OCT 0xFFC2227C /* EMAC1 Rx TCP Error Octets Register */
-#define REG_EMAC1_RXICMP_GD_OCT 0xFFC22280 /* EMAC1 Rx ICMP Good Octets Register */
-#define REG_EMAC1_RXICMP_ERR_OCT 0xFFC22284 /* EMAC1 Rx ICMP Error Octets Register */
-#define REG_EMAC1_TM_CTL 0xFFC22700 /* EMAC1 Time Stamp Control Register */
-#define REG_EMAC1_TM_SUBSEC 0xFFC22704 /* EMAC1 Time Stamp Sub Second Increment Register */
-#define REG_EMAC1_TM_SEC 0xFFC22708 /* EMAC1 Time Stamp Low Seconds Register */
-#define REG_EMAC1_TM_NSEC 0xFFC2270C /* EMAC1 Time Stamp Nano Seconds Register */
-#define REG_EMAC1_TM_SECUPDT 0xFFC22710 /* EMAC1 Time Stamp Seconds Update Register */
-#define REG_EMAC1_TM_NSECUPDT 0xFFC22714 /* EMAC1 Time Stamp Nano Seconds Update Register */
-#define REG_EMAC1_TM_ADDEND 0xFFC22718 /* EMAC1 Time Stamp Addend Register */
-#define REG_EMAC1_TM_TGTM 0xFFC2271C /* EMAC1 Time Stamp Target Time Seconds Register */
-#define REG_EMAC1_TM_NTGTM 0xFFC22720 /* EMAC1 Time Stamp Target Time Nano Seconds Register */
-#define REG_EMAC1_TM_HISEC 0xFFC22724 /* EMAC1 Time Stamp High Second Register */
-#define REG_EMAC1_TM_STMPSTAT 0xFFC22728 /* EMAC1 Time Stamp Status Register */
-#define REG_EMAC1_TM_PPSCTL 0xFFC2272C /* EMAC1 PPS Control Register */
-#define REG_EMAC1_TM_AUXSTMP_NSEC 0xFFC22730 /* EMAC1 Time Stamp Auxilary TS Nano Seconds Register */
-#define REG_EMAC1_TM_AUXSTMP_SEC 0xFFC22734 /* EMAC1 Time Stamp Auxilary TM Seconds Register */
-#define REG_EMAC1_TM_PPSINTVL 0xFFC22760 /* EMAC1 Time Stamp PPS Interval Register */
-#define REG_EMAC1_TM_PPSWIDTH 0xFFC22764 /* EMAC1 PPS Width Register */
-#define REG_EMAC1_DMA_BUSMODE 0xFFC23000 /* EMAC1 DMA Bus Mode Register */
-#define REG_EMAC1_DMA_TXPOLL 0xFFC23004 /* EMAC1 DMA Tx Poll Demand Register */
-#define REG_EMAC1_DMA_RXPOLL 0xFFC23008 /* EMAC1 DMA Rx Poll Demand register */
-#define REG_EMAC1_DMA_RXDSC_ADDR 0xFFC2300C /* EMAC1 DMA Rx Descriptor List Address Register */
-#define REG_EMAC1_DMA_TXDSC_ADDR 0xFFC23010 /* EMAC1 DMA Tx Descriptor List Address Register */
-#define REG_EMAC1_DMA_STAT 0xFFC23014 /* EMAC1 DMA Status Register */
-#define REG_EMAC1_DMA_OPMODE 0xFFC23018 /* EMAC1 DMA Operation Mode Register */
-#define REG_EMAC1_DMA_IEN 0xFFC2301C /* EMAC1 DMA Interrupt Enable Register */
-#define REG_EMAC1_DMA_MISS_FRM 0xFFC23020 /* EMAC1 DMA Missed Frame Register */
-#define REG_EMAC1_DMA_RXIWDOG 0xFFC23024 /* EMAC1 DMA Rx Interrupt Watch Dog Register */
-#define REG_EMAC1_DMA_BMMODE 0xFFC23028 /* EMAC1 DMA SCB Bus Mode Register */
-#define REG_EMAC1_DMA_BMSTAT 0xFFC2302C /* EMAC1 DMA SCB Status Register */
-#define REG_EMAC1_DMA_TXDSC_CUR 0xFFC23048 /* EMAC1 DMA Tx Descriptor Current Register */
-#define REG_EMAC1_DMA_RXDSC_CUR 0xFFC2304C /* EMAC1 DMA Rx Descriptor Current Register */
-#define REG_EMAC1_DMA_TXBUF_CUR 0xFFC23050 /* EMAC1 DMA Tx Buffer Current Register */
-#define REG_EMAC1_DMA_RXBUF_CUR 0xFFC23054 /* EMAC1 DMA Rx Buffer Current Register */
-
-/* =========================
- EMAC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACCFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACCFG_CST 25 /* CRC Stripping */
-#define BITP_EMAC_MACCFG_WD 23 /* Watch Dog Disable */
-#define BITP_EMAC_MACCFG_JB 22 /* Jabber Disable */
-#define BITP_EMAC_MACCFG_JE 20 /* Jumbo Frame Enable */
-#define BITP_EMAC_MACCFG_IFG 17 /* Inter Frame Gap */
-#define BITP_EMAC_MACCFG_DCRS 16 /* Disable Carrier Sense */
-#define BITP_EMAC_MACCFG_FES 14 /* Speed of Operation */
-#define BITP_EMAC_MACCFG_DO 13 /* Disable Receive Own */
-#define BITP_EMAC_MACCFG_LM 12 /* Loopback Mode */
-#define BITP_EMAC_MACCFG_DM 11 /* Duplex Mode */
-#define BITP_EMAC_MACCFG_IPC 10 /* IP Checksum */
-#define BITP_EMAC_MACCFG_DR 9 /* Disable Retry */
-#define BITP_EMAC_MACCFG_ACS 7 /* Automatic Pad/CRC Stripping */
-#define BITP_EMAC_MACCFG_BL 5 /* Back Off Limit */
-#define BITP_EMAC_MACCFG_DC 4 /* Deferral Check */
-#define BITP_EMAC_MACCFG_TE 3 /* Transmitter Enable */
-#define BITP_EMAC_MACCFG_RE 2 /* Receiver Enable */
-#define BITM_EMAC_MACCFG_CST (_ADI_MSK(0x02000000,uint32_t)) /* CRC Stripping */
-#define BITM_EMAC_MACCFG_WD (_ADI_MSK(0x00800000,uint32_t)) /* Watch Dog Disable */
-#define BITM_EMAC_MACCFG_JB (_ADI_MSK(0x00400000,uint32_t)) /* Jabber Disable */
-#define BITM_EMAC_MACCFG_JE (_ADI_MSK(0x00100000,uint32_t)) /* Jumbo Frame Enable */
-
-#define BITM_EMAC_MACCFG_IFG (_ADI_MSK(0x000E0000,uint32_t)) /* Inter Frame Gap */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_96 (_ADI_MSK(0x00000000,uint32_t)) /* IFG: 96 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_88 (_ADI_MSK(0x00020000,uint32_t)) /* IFG: 88 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_80 (_ADI_MSK(0x00040000,uint32_t)) /* IFG: 80 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_72 (_ADI_MSK(0x00060000,uint32_t)) /* IFG: 72 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_64 (_ADI_MSK(0x00080000,uint32_t)) /* IFG: 64 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_56 (_ADI_MSK(0x000A0000,uint32_t)) /* IFG: 56 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_48 (_ADI_MSK(0x000C0000,uint32_t)) /* IFG: 48 bit times */
-#define ENUM_EMAC_MACCFG_BIT_TIMES_40 (_ADI_MSK(0x000E0000,uint32_t)) /* IFG: 40 bit times */
-#define BITM_EMAC_MACCFG_DCRS (_ADI_MSK(0x00010000,uint32_t)) /* Disable Carrier Sense */
-#define BITM_EMAC_MACCFG_FES (_ADI_MSK(0x00004000,uint32_t)) /* Speed of Operation */
-#define BITM_EMAC_MACCFG_DO (_ADI_MSK(0x00002000,uint32_t)) /* Disable Receive Own */
-#define BITM_EMAC_MACCFG_LM (_ADI_MSK(0x00001000,uint32_t)) /* Loopback Mode */
-#define BITM_EMAC_MACCFG_DM (_ADI_MSK(0x00000800,uint32_t)) /* Duplex Mode */
-#define BITM_EMAC_MACCFG_IPC (_ADI_MSK(0x00000400,uint32_t)) /* IP Checksum */
-
-#define BITM_EMAC_MACCFG_DR (_ADI_MSK(0x00000200,uint32_t)) /* Disable Retry */
-#define ENUM_EMAC_MACCFG_RETRY_ENABLED (_ADI_MSK(0x00000000,uint32_t)) /* DR: Retry enabled */
-#define ENUM_EMAC_MACCFG_RETRY_DISABLED (_ADI_MSK(0x00000200,uint32_t)) /* DR: Retry disabled */
-#define BITM_EMAC_MACCFG_ACS (_ADI_MSK(0x00000080,uint32_t)) /* Automatic Pad/CRC Stripping */
-
-#define BITM_EMAC_MACCFG_BL (_ADI_MSK(0x00000060,uint32_t)) /* Back Off Limit */
-#define ENUM_EMAC_MACCFG_BL_10 (_ADI_MSK(0x00000000,uint32_t)) /* BL: k = min (n, 10) */
-#define ENUM_EMAC_MACCFG_BL_8 (_ADI_MSK(0x00000020,uint32_t)) /* BL: k = min (n, 8) */
-#define ENUM_EMAC_MACCFG_BL_4 (_ADI_MSK(0x00000040,uint32_t)) /* BL: k = min (n, 4) */
-#define ENUM_EMAC_MACCFG_BL_1 (_ADI_MSK(0x00000060,uint32_t)) /* BL: k = min (n, 1) */
-#define BITM_EMAC_MACCFG_DC (_ADI_MSK(0x00000010,uint32_t)) /* Deferral Check */
-#define BITM_EMAC_MACCFG_TE (_ADI_MSK(0x00000008,uint32_t)) /* Transmitter Enable */
-#define BITM_EMAC_MACCFG_RE (_ADI_MSK(0x00000004,uint32_t)) /* Receiver Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MACFRMFILT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MACFRMFILT_RA 31 /* Receive All Frames */
-#define BITP_EMAC_MACFRMFILT_HPF 10 /* Hash or Perfect Filter */
-#define BITP_EMAC_MACFRMFILT_PCF 6 /* Pass Control Frames */
-#define BITP_EMAC_MACFRMFILT_DBF 5 /* Disable Broadcast Frames */
-#define BITP_EMAC_MACFRMFILT_PM 4 /* Pass All Multicast Frames */
-#define BITP_EMAC_MACFRMFILT_DAIF 3 /* Destination Address Inverse Filtering */
-#define BITP_EMAC_MACFRMFILT_HMC 2 /* Hash Multicast */
-#define BITP_EMAC_MACFRMFILT_HUC 1 /* Hash Unicast */
-#define BITP_EMAC_MACFRMFILT_PR 0 /* Promiscuous Mode */
-#define BITM_EMAC_MACFRMFILT_RA (_ADI_MSK(0x80000000,uint32_t)) /* Receive All Frames */
-#define BITM_EMAC_MACFRMFILT_HPF (_ADI_MSK(0x00000400,uint32_t)) /* Hash or Perfect Filter */
-
-#define BITM_EMAC_MACFRMFILT_PCF (_ADI_MSK(0x000000C0,uint32_t)) /* Pass Control Frames */
-#define ENUM_EMAC_MACFRMFILT_FILT_ALL (_ADI_MSK(0x00000000,uint32_t)) /* PCF: Pass no control frames */
-#define ENUM_EMAC_MACFRMFILT_NO_PAUSE (_ADI_MSK(0x00000040,uint32_t)) /* PCF: Pass no PAUSE frames */
-#define ENUM_EMAC_MACFRMFILT_FWD_ALL (_ADI_MSK(0x00000080,uint32_t)) /* PCF: Pass all control frames */
-#define ENUM_EMAC_MACFRMFILT_PADR_FILT (_ADI_MSK(0x000000C0,uint32_t)) /* PCF: Pass address filtered control frames */
-
-#define BITM_EMAC_MACFRMFILT_DBF (_ADI_MSK(0x00000020,uint32_t)) /* Disable Broadcast Frames */
-#define ENUM_EMAC_MACFRMFILT_DIS_BCAST (_ADI_MSK(0x00000000,uint32_t)) /* DBF: AFM module passes all received broadcast frames */
-#define ENUM_EMAC_MACFRMFILT_EN_BCAST (_ADI_MSK(0x00000020,uint32_t)) /* DBF: AFM module filters all incoming broadcast frames */
-#define BITM_EMAC_MACFRMFILT_PM (_ADI_MSK(0x00000010,uint32_t)) /* Pass All Multicast Frames */
-#define BITM_EMAC_MACFRMFILT_DAIF (_ADI_MSK(0x00000008,uint32_t)) /* Destination Address Inverse Filtering */
-#define BITM_EMAC_MACFRMFILT_HMC (_ADI_MSK(0x00000004,uint32_t)) /* Hash Multicast */
-#define BITM_EMAC_MACFRMFILT_HUC (_ADI_MSK(0x00000002,uint32_t)) /* Hash Unicast */
-#define BITM_EMAC_MACFRMFILT_PR (_ADI_MSK(0x00000001,uint32_t)) /* Promiscuous Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_ADDR_PA 11 /* Physical Layer Address */
-#define BITP_EMAC_SMI_ADDR_SMIR 6 /* SMI Register Address */
-#define BITP_EMAC_SMI_ADDR_CR 2 /* Clock Range */
-#define BITP_EMAC_SMI_ADDR_SMIW 1 /* SMI Write */
-#define BITP_EMAC_SMI_ADDR_SMIB 0 /* SMI Busy */
-#define BITM_EMAC_SMI_ADDR_PA (_ADI_MSK(0x0000F800,uint32_t)) /* Physical Layer Address */
-#define BITM_EMAC_SMI_ADDR_SMIR (_ADI_MSK(0x000007C0,uint32_t)) /* SMI Register Address */
-#define BITM_EMAC_SMI_ADDR_CR (_ADI_MSK(0x0000003C,uint32_t)) /* Clock Range */
-#define BITM_EMAC_SMI_ADDR_SMIW (_ADI_MSK(0x00000002,uint32_t)) /* SMI Write */
-#define BITM_EMAC_SMI_ADDR_SMIB (_ADI_MSK(0x00000001,uint32_t)) /* SMI Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_SMI_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_SMI_DATA_SMID 0 /* SMI Data */
-#define BITM_EMAC_SMI_DATA_SMID (_ADI_MSK(0x0000FFFF,uint32_t)) /* SMI Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_FLOWCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_FLOWCTL_PT 16 /* Pause Time */
-#define BITP_EMAC_FLOWCTL_UP 3 /* Unicast Pause Frame Detect */
-#define BITP_EMAC_FLOWCTL_RFE 2 /* Receive Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_TFE 1 /* Transmit Flow Control Enable */
-#define BITP_EMAC_FLOWCTL_FCBBPA 0 /* Initiate Pause Control Frame */
-#define BITM_EMAC_FLOWCTL_PT (_ADI_MSK(0xFFFF0000,uint32_t)) /* Pause Time */
-#define BITM_EMAC_FLOWCTL_UP (_ADI_MSK(0x00000008,uint32_t)) /* Unicast Pause Frame Detect */
-#define BITM_EMAC_FLOWCTL_RFE (_ADI_MSK(0x00000004,uint32_t)) /* Receive Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_TFE (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Flow Control Enable */
-#define BITM_EMAC_FLOWCTL_FCBBPA (_ADI_MSK(0x00000001,uint32_t)) /* Initiate Pause Control Frame */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_VLANTAG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_VLANTAG_ETV 16 /* Enable Tag VLAN Comparison */
-#define BITP_EMAC_VLANTAG_VL 0 /* VLAN Tag Id Receive Frames */
-#define BITM_EMAC_VLANTAG_ETV (_ADI_MSK(0x00010000,uint32_t)) /* Enable Tag VLAN Comparison */
-#define BITM_EMAC_VLANTAG_VL (_ADI_MSK(0x0000FFFF,uint32_t)) /* VLAN Tag Id Receive Frames */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DBG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DBG_TXFIFOFULL 25 /* Tx FIFO Full */
-#define BITP_EMAC_DBG_TXFIFONE 24 /* Tx FIFO Not Empty */
-#define BITP_EMAC_DBG_TXFIFOACT 22 /* Tx FIFO Active */
-#define BITP_EMAC_DBG_TXFIFOCTLST 20 /* Tx FIFO Controller State */
-#define BITP_EMAC_DBG_TXPAUSE 19 /* Tx Paused */
-#define BITP_EMAC_DBG_TXFRCTL 17 /* Tx Frame Controller State */
-#define BITP_EMAC_DBG_MMTEA 16 /* MM Tx Engine Active */
-#define BITP_EMAC_DBG_RXFIFOST 8 /* Rx FIFO State */
-#define BITP_EMAC_DBG_RXFIFOCTLST 5 /* Rx FIFO Controller State */
-#define BITP_EMAC_DBG_RXFIFOACT 4 /* Rx FIFO Active */
-#define BITP_EMAC_DBG_SFIFOST 1 /* Small FIFO State */
-#define BITP_EMAC_DBG_MMREA 0 /* MM Rx Engine Active */
-#define BITM_EMAC_DBG_TXFIFOFULL (_ADI_MSK(0x02000000,uint32_t)) /* Tx FIFO Full */
-#define BITM_EMAC_DBG_TXFIFONE (_ADI_MSK(0x01000000,uint32_t)) /* Tx FIFO Not Empty */
-#define BITM_EMAC_DBG_TXFIFOACT (_ADI_MSK(0x00400000,uint32_t)) /* Tx FIFO Active */
-#define BITM_EMAC_DBG_TXFIFOCTLST (_ADI_MSK(0x00300000,uint32_t)) /* Tx FIFO Controller State */
-#define BITM_EMAC_DBG_TXPAUSE (_ADI_MSK(0x00080000,uint32_t)) /* Tx Paused */
-
-#define BITM_EMAC_DBG_TXFRCTL (_ADI_MSK(0x00060000,uint32_t)) /* Tx Frame Controller State */
-#define ENUM_EMAC_DBG_TXFRCTL_IDLE (_ADI_MSK(0x00000000,uint32_t)) /* TXFRCTL: Idle */
-#define ENUM_EMAC_DBG_TXFRCTL_WT_STATUS (_ADI_MSK(0x00020000,uint32_t)) /* TXFRCTL: Wait */
-#define ENUM_EMAC_DBG_TXFRCTL_PAUSE (_ADI_MSK(0x00040000,uint32_t)) /* TXFRCTL: Pause */
-#define ENUM_EMAC_DBG_TXFRCTL_TXFRAME (_ADI_MSK(0x00060000,uint32_t)) /* TXFRCTL: Transmit */
-#define BITM_EMAC_DBG_MMTEA (_ADI_MSK(0x00010000,uint32_t)) /* MM Tx Engine Active */
-
-#define BITM_EMAC_DBG_RXFIFOST (_ADI_MSK(0x00000300,uint32_t)) /* Rx FIFO State */
-#define ENUM_EMAC_DBG_FIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOST: Rx FIFO Empty */
-#define ENUM_EMAC_DBG_FIFO_BEL_THERSHLD (_ADI_MSK(0x00000100,uint32_t)) /* RXFIFOST: Rx FIFO Below De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_ABV_THERSHLD (_ADI_MSK(0x00000200,uint32_t)) /* RXFIFOST: Rx FIFO Above De-activate FCT */
-#define ENUM_EMAC_DBG_FIFO_FULL (_ADI_MSK(0x00000300,uint32_t)) /* RXFIFOST: Rx FIFO Full */
-
-#define BITM_EMAC_DBG_RXFIFOCTLST (_ADI_MSK(0x00000060,uint32_t)) /* Rx FIFO Controller State */
-#define ENUM_EMAC_DBG_IDLE_FIFO (_ADI_MSK(0x00000000,uint32_t)) /* RXFIFOCTLST: Idle */
-#define ENUM_EMAC_DBG_RD_DATA_FIFO (_ADI_MSK(0x00000020,uint32_t)) /* RXFIFOCTLST: Read Data */
-#define ENUM_EMAC_DBG_RD_STS_FIFO (_ADI_MSK(0x00000040,uint32_t)) /* RXFIFOCTLST: Read Status */
-#define ENUM_EMAC_DBG_FLUSH_FIFO (_ADI_MSK(0x00000060,uint32_t)) /* RXFIFOCTLST: Flush */
-#define BITM_EMAC_DBG_RXFIFOACT (_ADI_MSK(0x00000010,uint32_t)) /* Rx FIFO Active */
-#define BITM_EMAC_DBG_SFIFOST (_ADI_MSK(0x00000006,uint32_t)) /* Small FIFO State */
-#define BITM_EMAC_DBG_MMREA (_ADI_MSK(0x00000001,uint32_t)) /* MM Rx Engine Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ISTAT_TS 9 /* Time Stamp Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRC 7 /* MMC Receive Checksum Offload Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCTX 6 /* MMC Transmit Interrupt Status */
-#define BITP_EMAC_ISTAT_MMCRX 5 /* MMC Receive Interrupt Status */
-#define BITP_EMAC_ISTAT_MMC 4 /* MMC Interrupt Status */
-#define BITM_EMAC_ISTAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRC (_ADI_MSK(0x00000080,uint32_t)) /* MMC Receive Checksum Offload Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCTX (_ADI_MSK(0x00000040,uint32_t)) /* MMC Transmit Interrupt Status */
-#define BITM_EMAC_ISTAT_MMCRX (_ADI_MSK(0x00000020,uint32_t)) /* MMC Receive Interrupt Status */
-#define BITM_EMAC_ISTAT_MMC (_ADI_MSK(0x00000010,uint32_t)) /* MMC Interrupt Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IMSK_TS 9 /* Time Stamp Interrupt Mask */
-#define BITM_EMAC_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_ADDR0_HI Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_ADDR0_HI_ADDR 0 /* Address */
-#define BITM_EMAC_ADDR0_HI_ADDR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_CTL_FULLPSET 5 /* Full Preset */
-#define BITP_EMAC_MMC_CTL_CNTRPSET 4 /* Counter Reset/Preset */
-#define BITP_EMAC_MMC_CTL_CNTRFRZ 3 /* Counter Freeze */
-#define BITP_EMAC_MMC_CTL_RDRST 2 /* Read Reset */
-#define BITP_EMAC_MMC_CTL_NOROLL 1 /* No Rollover */
-#define BITP_EMAC_MMC_CTL_RST 0 /* Reset */
-#define BITM_EMAC_MMC_CTL_FULLPSET (_ADI_MSK(0x00000020,uint32_t)) /* Full Preset */
-#define BITM_EMAC_MMC_CTL_CNTRPSET (_ADI_MSK(0x00000010,uint32_t)) /* Counter Reset/Preset */
-#define BITM_EMAC_MMC_CTL_CNTRFRZ (_ADI_MSK(0x00000008,uint32_t)) /* Counter Freeze */
-#define BITM_EMAC_MMC_CTL_RDRST (_ADI_MSK(0x00000004,uint32_t)) /* Read Reset */
-#define BITM_EMAC_MMC_CTL_NOROLL (_ADI_MSK(0x00000002,uint32_t)) /* No Rollover */
-#define BITM_EMAC_MMC_CTL_RST (_ADI_MSK(0x00000001,uint32_t)) /* Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXINT_WDOGERR 23 /* Rx Watch Dog Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_FIFOOVF 21 /* Rx FIFO Overflow Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_PAUSEFR 20 /* Rx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_LENERR 18 /* Rx Length Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_USIZEG 9 /* Rx Undersize (Good) Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_JABERR 8 /* Rx Jabber Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_RUNTERR 7 /* Rx Runt Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_ALIGNERR 6 /* Rx Alignment Error Count Half/Full */
-#define BITP_EMAC_MMC_RXINT_CRCERR 5 /* Rx CRC Error Counter Half/Full */
-#define BITP_EMAC_MMC_RXINT_MCASTG 4 /* Rx Multicast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_BCASTG 3 /* Rx Broadcast Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTG 2 /* Octet Count (Good) Half/Full */
-#define BITP_EMAC_MMC_RXINT_OCTCNTGB 1 /* Octet Count (Good/Bad) Half/Full */
-#define BITP_EMAC_MMC_RXINT_FRCNTGB 0 /* Frame Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_WDOGERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_FIFOOVF (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_PAUSEFR (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full */
-#define BITM_EMAC_MMC_RXINT_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Counter Half/Full */
-#define BITM_EMAC_MMC_RXINT_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Octet Count (Good) Half/Full */
-#define BITM_EMAC_MMC_RXINT_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Octet Count (Good/Bad) Half/Full */
-#define BITM_EMAC_MMC_RXINT_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Frame Count (Good/Bad) Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXINT_VLANFRGB 24 /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_CARRERR 19 /* Tx Carrier Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_EXCESSCOL 18 /* Tx Exess Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_LATECOL 17 /* Tx Late Collision Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_DEFERRED 16 /* Tx Deffered Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MULTCOLG 15 /* Tx Multiple collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UNDERR 13 /* Tx Underflow Error Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITP_EMAC_MMC_TXINT_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_VLANFRGB (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deffered Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full */
-#define BITM_EMAC_MMC_TXINT_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_RXIMSK_WATCHERR 23 /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_VLANFRGB 22 /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FIFOOV 21 /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_PAUSEFRM 20 /* Rx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OUTRANGE 19 /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_LENERR 18 /* Rx Length Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_UCASTG 17 /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R1024TOMAX 16 /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R512TO1023 15 /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R256TO511 14 /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R128TO255 13 /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R65TO127 12 /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_R64 11 /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OSIZEG 10 /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_USIZEG 9 /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_JABERR 8 /* Rx Jabber Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_RUNTERR 7 /* Rx Runt Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_ALIGNERR 6 /* Rx Alignment Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_CRCERR 5 /* Rx CRC Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_MCASTG 4 /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_BCASTG 3 /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTG 2 /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_OCTCNTGB 1 /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_RXIMSK_FRCNTGB 0 /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_WATCHERR (_ADI_MSK(0x00800000,uint32_t)) /* Rx Watch Dog Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_VLANFRGB (_ADI_MSK(0x00400000,uint32_t)) /* Rx VLAN Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FIFOOV (_ADI_MSK(0x00200000,uint32_t)) /* Rx FIFO Overflow Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_PAUSEFRM (_ADI_MSK(0x00100000,uint32_t)) /* Rx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OUTRANGE (_ADI_MSK(0x00080000,uint32_t)) /* Rx Out Of Range Type Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_LENERR (_ADI_MSK(0x00040000,uint32_t)) /* Rx Length Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_UCASTG (_ADI_MSK(0x00020000,uint32_t)) /* Rx Unicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R1024TOMAX (_ADI_MSK(0x00010000,uint32_t)) /* Rx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R512TO1023 (_ADI_MSK(0x00008000,uint32_t)) /* Rx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R256TO511 (_ADI_MSK(0x00004000,uint32_t)) /* Rx 255-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R128TO255 (_ADI_MSK(0x00002000,uint32_t)) /* Rx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R65TO127 (_ADI_MSK(0x00001000,uint32_t)) /* Rx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_R64 (_ADI_MSK(0x00000800,uint32_t)) /* Rx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OSIZEG (_ADI_MSK(0x00000400,uint32_t)) /* Rx Oversize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_USIZEG (_ADI_MSK(0x00000200,uint32_t)) /* Rx Undersize (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_JABERR (_ADI_MSK(0x00000100,uint32_t)) /* Rx Jabber Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_RUNTERR (_ADI_MSK(0x00000080,uint32_t)) /* Rx Runt Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_ALIGNERR (_ADI_MSK(0x00000040,uint32_t)) /* Rx Alignment Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_CRCERR (_ADI_MSK(0x00000020,uint32_t)) /* Rx CRC Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_MCASTG (_ADI_MSK(0x00000010,uint32_t)) /* Rx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_BCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Rx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTG (_ADI_MSK(0x00000004,uint32_t)) /* Rx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_OCTCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Rx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_RXIMSK_FRCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Rx Frame Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_MMC_TXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_MMC_TXIMSK_VLANFRG 24 /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_PAUSEFRM 23 /* Tx Pause Frames Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSDEF 22 /* Tx Excess Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTG 21 /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTG 20 /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_CARRERR 19 /* Tx Carrier Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_EXCESSCOL 18 /* Tx Exess collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_LATECOL 17 /* Tx Late Collision Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_DEFERRED 16 /* Tx Deferred Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MULTCOLG 15 /* Tx Multiple Collisions (Good) Count Mask */
-#define BITP_EMAC_MMC_TXIMSK_SNGCOLG 14 /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UNDERR 13 /* Tx Underflow Error Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTGB 12 /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTGB 11 /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_UCASTGB 10 /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T1024TOMAX 9 /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T512TO1023 8 /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T256TO511 7 /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T128TO255 6 /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T65TO127 5 /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_T64 4 /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_MCASTG 3 /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_BCASTG 2 /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_FRCNTGB 1 /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITP_EMAC_MMC_TXIMSK_OCTCNTGB 0 /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_VLANFRG (_ADI_MSK(0x01000000,uint32_t)) /* Tx VLAN Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_PAUSEFRM (_ADI_MSK(0x00800000,uint32_t)) /* Tx Pause Frames Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSDEF (_ADI_MSK(0x00400000,uint32_t)) /* Tx Excess Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTG (_ADI_MSK(0x00200000,uint32_t)) /* Tx Frame Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTG (_ADI_MSK(0x00100000,uint32_t)) /* Tx Octet Count (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_CARRERR (_ADI_MSK(0x00080000,uint32_t)) /* Tx Carrier Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_EXCESSCOL (_ADI_MSK(0x00040000,uint32_t)) /* Tx Exess collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_LATECOL (_ADI_MSK(0x00020000,uint32_t)) /* Tx Late Collision Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_DEFERRED (_ADI_MSK(0x00010000,uint32_t)) /* Tx Deferred Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MULTCOLG (_ADI_MSK(0x00008000,uint32_t)) /* Tx Multiple Collisions (Good) Count Mask */
-#define BITM_EMAC_MMC_TXIMSK_SNGCOLG (_ADI_MSK(0x00004000,uint32_t)) /* Tx Single Collision (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UNDERR (_ADI_MSK(0x00002000,uint32_t)) /* Tx Underflow Error Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTGB (_ADI_MSK(0x00001000,uint32_t)) /* Tx Broadcast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTGB (_ADI_MSK(0x00000800,uint32_t)) /* Tx Multicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_UCASTGB (_ADI_MSK(0x00000400,uint32_t)) /* Tx Unicast Frames (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T1024TOMAX (_ADI_MSK(0x00000200,uint32_t)) /* Tx 1024-to-max Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T512TO1023 (_ADI_MSK(0x00000100,uint32_t)) /* Tx 512-to-1023 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T256TO511 (_ADI_MSK(0x00000080,uint32_t)) /* Tx 256-to-511 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T128TO255 (_ADI_MSK(0x00000040,uint32_t)) /* Tx 128-to-255 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T65TO127 (_ADI_MSK(0x00000020,uint32_t)) /* Tx 65-to-127 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_T64 (_ADI_MSK(0x00000010,uint32_t)) /* Tx 64 Octets (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_MCASTG (_ADI_MSK(0x00000008,uint32_t)) /* Tx Multicast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_BCASTG (_ADI_MSK(0x00000004,uint32_t)) /* Tx Broadcast Frames (Good) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_FRCNTGB (_ADI_MSK(0x00000002,uint32_t)) /* Tx Frame Count (Good/Bad) Count Half/Full Mask */
-#define BITM_EMAC_MMC_TXIMSK_OCTCNTGB (_ADI_MSK(0x00000001,uint32_t)) /* Tx Octet Count (Good/Bad) Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXIMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPERRFRM 9 /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4HDERRFRM 1 /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITP_EMAC_IPC_RXIMSK_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx UDP Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frame Count Half/Full Mask */
-#define BITM_EMAC_IPC_RXIMSK_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_IPC_RXINT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_IPC_RXINT_ICMPERROCT 29 /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGOCT 28 /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERROCT 27 /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGOCT 26 /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERROCT 25 /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGOCT 24 /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYOCT 23 /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERROCT 22 /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GOCT 21 /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLOCT 20 /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGOCT 19 /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYOCT 18 /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERROCT 17 /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GOCT 16 /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPERRFRM 13 /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_ICMPGFRM 12 /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPERRFRM 11 /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_TCPGFRM 10 /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPERRFRM 9 /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_UDPGFRM 8 /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6NOPAYFRM 7 /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6HDERRFRM 6 /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V6GFRM 5 /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4UDSBLFRM 4 /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4FRAGFRM 3 /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4NOPAYFRM 2 /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4HDERRFRM 1 /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITP_EMAC_IPC_RXINT_V4GFRM 0 /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERROCT (_ADI_MSK(0x20000000,uint32_t)) /* Rx ICMP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGOCT (_ADI_MSK(0x10000000,uint32_t)) /* Rx ICMP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERROCT (_ADI_MSK(0x08000000,uint32_t)) /* Rx TCP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGOCT (_ADI_MSK(0x04000000,uint32_t)) /* Rx TCP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERROCT (_ADI_MSK(0x02000000,uint32_t)) /* Rx UDP Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGOCT (_ADI_MSK(0x01000000,uint32_t)) /* Rx UDP (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYOCT (_ADI_MSK(0x00800000,uint32_t)) /* Rx IPv6 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERROCT (_ADI_MSK(0x00400000,uint32_t)) /* Rx IPv6 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GOCT (_ADI_MSK(0x00200000,uint32_t)) /* Rx IPv6 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLOCT (_ADI_MSK(0x00100000,uint32_t)) /* Rx IPv4 UDS Disable Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGOCT (_ADI_MSK(0x00080000,uint32_t)) /* Rx IPv4 Fragmented Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYOCT (_ADI_MSK(0x00040000,uint32_t)) /* Rx IPv4 No Payload Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERROCT (_ADI_MSK(0x00020000,uint32_t)) /* Rx IPv4 Header Error Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GOCT (_ADI_MSK(0x00010000,uint32_t)) /* Rx IPv4 (Good) Octets Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPERRFRM (_ADI_MSK(0x00002000,uint32_t)) /* Rx ICMP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_ICMPGFRM (_ADI_MSK(0x00001000,uint32_t)) /* Rx ICMP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPERRFRM (_ADI_MSK(0x00000800,uint32_t)) /* Rx TCP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_TCPGFRM (_ADI_MSK(0x00000400,uint32_t)) /* Rx TCP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPERRFRM (_ADI_MSK(0x00000200,uint32_t)) /* Rx IDP Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_UDPGFRM (_ADI_MSK(0x00000100,uint32_t)) /* Rx UDP (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6NOPAYFRM (_ADI_MSK(0x00000080,uint32_t)) /* Rx IPv6 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6HDERRFRM (_ADI_MSK(0x00000040,uint32_t)) /* Rx IPv6 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V6GFRM (_ADI_MSK(0x00000020,uint32_t)) /* Rx IPv6 (Good) Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4UDSBLFRM (_ADI_MSK(0x00000010,uint32_t)) /* Rx IPv4 UDS Disable Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4FRAGFRM (_ADI_MSK(0x00000008,uint32_t)) /* Rx IPv4 Fragmented Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4NOPAYFRM (_ADI_MSK(0x00000004,uint32_t)) /* Rx IPv4 No Payload Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4HDERRFRM (_ADI_MSK(0x00000002,uint32_t)) /* Rx IPv4 Header Error Frames Count Half/Full Interrupt */
-#define BITM_EMAC_IPC_RXINT_V4GFRM (_ADI_MSK(0x00000001,uint32_t)) /* Rx IPv4 (Good) Frames Count Half/Full Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_CTL_ATSFC 24 /* Auxilary Time Stamp FIFO Clear */
-#define BITP_EMAC_TM_CTL_TSENMACADDR 18 /* Time Stamp Enable MAC Address */
-#define BITP_EMAC_TM_CTL_SNAPTYPSEL 16 /* Snapshot Type Select */
-#define BITP_EMAC_TM_CTL_TSMSTRENA 15 /* Time Stamp Master (Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSEVNTENA 14 /* Time Stamp Event (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV4ENA 13 /* Time Stamp IPV4 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPV6ENA 12 /* Time Stamp IPV6 (PTP Frames) Enable */
-#define BITP_EMAC_TM_CTL_TSIPENA 11 /* Time Stamp IP Enable */
-#define BITP_EMAC_TM_CTL_TSVER2ENA 10 /* Time Stamp VER2 (Snooping) Enable */
-#define BITP_EMAC_TM_CTL_TSCTRLSSR 9 /* Time Stamp Control Nanosecond Rollover */
-#define BITP_EMAC_TM_CTL_TSENALL 8 /* Time Stamp Enable All (Frames) */
-#define BITP_EMAC_TM_CTL_TSADDREG 5 /* Time Stamp Addend Register Update */
-#define BITP_EMAC_TM_CTL_TSTRIG 4 /* Time Stamp (Target Time) Trigger Enable */
-#define BITP_EMAC_TM_CTL_TSUPDT 3 /* Time Stamp (System Time) Update */
-#define BITP_EMAC_TM_CTL_TSINIT 2 /* Time Stamp (System Time) Initialize */
-#define BITP_EMAC_TM_CTL_TSCFUPDT 1 /* Time Stamp (System Time) Fine/Coarse Update */
-#define BITP_EMAC_TM_CTL_TSENA 0 /* Time Stamp (PTP) Enable */
-#define BITM_EMAC_TM_CTL_ATSFC (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp FIFO Clear */
-
-#define BITM_EMAC_TM_CTL_TSENMACADDR (_ADI_MSK(0x00040000,uint32_t)) /* Time Stamp Enable MAC Address */
-#define ENUM_EMAC_TM_CTL_D_PTP_ADDRFILT (_ADI_MSK(0x00000000,uint32_t)) /* TSENMACADDR: Disable PTP MAC address filter */
-#define ENUM_EMAC_TM_CTL_E_PTP_ADDRFILT (_ADI_MSK(0x00040000,uint32_t)) /* TSENMACADDR: Enable PTP MAC address filter */
-#define BITM_EMAC_TM_CTL_SNAPTYPSEL (_ADI_MSK(0x00030000,uint32_t)) /* Snapshot Type Select */
-
-#define BITM_EMAC_TM_CTL_TSMSTRENA (_ADI_MSK(0x00008000,uint32_t)) /* Time Stamp Master (Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_SLVSNPT_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Slave Messages */
-#define ENUM_EMAC_TM_CTL_E_MSSNPST_MSGS (_ADI_MSK(0x00008000,uint32_t)) /* TSMSTRENA: Enable Snapshot for Master Messages */
-
-#define BITM_EMAC_TM_CTL_TSEVNTENA (_ADI_MSK(0x00004000,uint32_t)) /* Time Stamp Event (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_E_ATSTMP_MSGS (_ADI_MSK(0x00000000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for All Messages */
-#define ENUM_EMAC_TM_CTL_E_ETSTMP_MSGS (_ADI_MSK(0x00004000,uint32_t)) /* TSEVNTENA: Enable Time Stamp for Event Messages Only */
-
-#define BITM_EMAC_TM_CTL_TSIPV4ENA (_ADI_MSK(0x00002000,uint32_t)) /* Time Stamp IPV4 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV4 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV4ENA: Disable Time Stamp for PTP Over IPv4 Frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV4 (_ADI_MSK(0x00002000,uint32_t)) /* TSIPV4ENA: Enable Time Stamp for PTP Over IPv4 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPV6ENA (_ADI_MSK(0x00001000,uint32_t)) /* Time Stamp IPV6 (PTP Frames) Enable */
-#define ENUM_EMAC_TM_CTL_D_TSTMP_IPV6 (_ADI_MSK(0x00000000,uint32_t)) /* TSIPV6ENA: Disable Time Stamp for PTP Over IPv6 frames */
-#define ENUM_EMAC_TM_CTL_E_TSTMP_IPV6 (_ADI_MSK(0x00001000,uint32_t)) /* TSIPV6ENA: Enable Time Stamp for PTP Over IPv6 Frames */
-
-#define BITM_EMAC_TM_CTL_TSIPENA (_ADI_MSK(0x00000800,uint32_t)) /* Time Stamp IP Enable */
-#define ENUM_EMAC_TM_CTL_D_PTP_OV_ETHER (_ADI_MSK(0x00000000,uint32_t)) /* TSIPENA: Disable PTP Over Ethernet Frames */
-#define ENUM_EMAC_TM_CTL_E_PTP_OV_ETHER (_ADI_MSK(0x00000800,uint32_t)) /* TSIPENA: Enable PTP Over Ethernet Frames */
-
-#define BITM_EMAC_TM_CTL_TSVER2ENA (_ADI_MSK(0x00000400,uint32_t)) /* Time Stamp VER2 (Snooping) Enable */
-#define ENUM_EMAC_TM_CTL_D_PKT_SNOOP_V2 (_ADI_MSK(0x00000000,uint32_t)) /* TSVER2ENA: Disable packet snooping for V2 frames */
-#define ENUM_EMAC_TM_CTL_E_PKT_SNOOP_V2 (_ADI_MSK(0x00000400,uint32_t)) /* TSVER2ENA: Enable packet snooping for V2 frames */
-
-#define BITM_EMAC_TM_CTL_TSCTRLSSR (_ADI_MSK(0x00000200,uint32_t)) /* Time Stamp Control Nanosecond Rollover */
-#define ENUM_EMAC_TM_CTL_RO_SUBSEC_RES (_ADI_MSK(0x00000000,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x7FFFFFFF */
-#define ENUM_EMAC_TM_CTL_RO_NANO_RES (_ADI_MSK(0x00000200,uint32_t)) /* TSCTRLSSR: Roll Over Nanosecond After 0x3B9AC9FF */
-
-#define BITM_EMAC_TM_CTL_TSENALL (_ADI_MSK(0x00000100,uint32_t)) /* Time Stamp Enable All (Frames) */
-#define ENUM_EMAC_TM_CTL_D_TSALL_FRAMES (_ADI_MSK(0x00000000,uint32_t)) /* TSENALL: Disable timestamp for all frames */
-#define ENUM_EMAC_TM_CTL_E_TSALL_FRAMES (_ADI_MSK(0x00000100,uint32_t)) /* TSENALL: Enable timestamp for all frames */
-#define BITM_EMAC_TM_CTL_TSADDREG (_ADI_MSK(0x00000020,uint32_t)) /* Time Stamp Addend Register Update */
-
-#define BITM_EMAC_TM_CTL_TSTRIG (_ADI_MSK(0x00000010,uint32_t)) /* Time Stamp (Target Time) Trigger Enable */
-#define ENUM_EMAC_TM_CTL_EN_TRIGGER (_ADI_MSK(0x00000010,uint32_t)) /* TSTRIG: Interrupt (TS) if system time is greater than target time register */
-
-#define BITM_EMAC_TM_CTL_TSUPDT (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp (System Time) Update */
-#define ENUM_EMAC_TM_CTL_EN_UPDATE (_ADI_MSK(0x00000008,uint32_t)) /* TSUPDT: System time updated with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSINIT (_ADI_MSK(0x00000004,uint32_t)) /* Time Stamp (System Time) Initialize */
-#define ENUM_EMAC_TM_CTL_EN_TS_INIT (_ADI_MSK(0x00000004,uint32_t)) /* TSINIT: System time initialized with Time stamp register values */
-
-#define BITM_EMAC_TM_CTL_TSCFUPDT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp (System Time) Fine/Coarse Update */
-#define ENUM_EMAC_TM_CTL_EN_COARSE_UPDT (_ADI_MSK(0x00000000,uint32_t)) /* TSCFUPDT: Use Coarse Correction Method for System Time Update */
-#define ENUM_EMAC_TM_CTL_EN_FINE_UPDT (_ADI_MSK(0x00000002,uint32_t)) /* TSCFUPDT: Use Fine Correction Method for System Time Update */
-
-#define BITM_EMAC_TM_CTL_TSENA (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp (PTP) Enable */
-#define ENUM_EMAC_TM_CTL_DTS (_ADI_MSK(0x00000000,uint32_t)) /* TSENA: Disable PTP Module */
-#define ENUM_EMAC_TM_CTL_TS (_ADI_MSK(0x00000001,uint32_t)) /* TSENA: Enable PTP Module */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_SUBSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_SUBSEC_SSINC 0 /* Sub-Second Increment Value */
-#define BITM_EMAC_TM_SUBSEC_SSINC (_ADI_MSK(0x000000FF,uint32_t)) /* Sub-Second Increment Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSEC_TSSS 0 /* Time Stamp Nanoseconds */
-#define BITM_EMAC_TM_NSEC_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Nanoseconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NSECUPDT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NSECUPDT_ADDSUB 31 /* Add or Subtract the Time */
-#define BITP_EMAC_TM_NSECUPDT_TSSS 0 /* Time Stamp Sub Second Initialize/Increment */
-#define BITM_EMAC_TM_NSECUPDT_ADDSUB (_ADI_MSK(0x80000000,uint32_t)) /* Add or Subtract the Time */
-#define BITM_EMAC_TM_NSECUPDT_TSSS (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Time Stamp Sub Second Initialize/Increment */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_NTGTM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_NTGTM_TSTRBUSY 31 /* Target Time Register Busy */
-#define BITP_EMAC_TM_NTGTM_TSTR 0 /* Target Time Nano Seconds */
-#define BITM_EMAC_TM_NTGTM_TSTRBUSY (_ADI_MSK(0x80000000,uint32_t)) /* Target Time Register Busy */
-#define BITM_EMAC_TM_NTGTM_TSTR (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Target Time Nano Seconds */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_HISEC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_HISEC_TSHWR 0 /* Time Stamp Higher Word Seconds Register */
-#define BITM_EMAC_TM_HISEC_TSHWR (_ADI_MSK(0x0000FFFF,uint32_t)) /* Time Stamp Higher Word Seconds Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_STMPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_STMPSTAT_ATSNS 25 /* Auxilary Time Stamp Number of Snapshots */
-#define BITP_EMAC_TM_STMPSTAT_ATSSTM 24 /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITP_EMAC_TM_STMPSTAT_TSTRGTERR 3 /* Time Stamp Target Time Programming Error */
-#define BITP_EMAC_TM_STMPSTAT_ATSTS 2 /* Auxilary Time Stamp Trigger Snapshot */
-#define BITP_EMAC_TM_STMPSTAT_TSTARGT 1 /* Time Stamp Target Time Reached */
-#define BITP_EMAC_TM_STMPSTAT_TSSOVF 0 /* Time Stamp Seconds Overflow */
-#define BITM_EMAC_TM_STMPSTAT_ATSNS (_ADI_MSK(0x0E000000,uint32_t)) /* Auxilary Time Stamp Number of Snapshots */
-#define BITM_EMAC_TM_STMPSTAT_ATSSTM (_ADI_MSK(0x01000000,uint32_t)) /* Auxilary Time Stamp Snapshot Trigger Missed */
-#define BITM_EMAC_TM_STMPSTAT_TSTRGTERR (_ADI_MSK(0x00000008,uint32_t)) /* Time Stamp Target Time Programming Error */
-#define BITM_EMAC_TM_STMPSTAT_ATSTS (_ADI_MSK(0x00000004,uint32_t)) /* Auxilary Time Stamp Trigger Snapshot */
-#define BITM_EMAC_TM_STMPSTAT_TSTARGT (_ADI_MSK(0x00000002,uint32_t)) /* Time Stamp Target Time Reached */
-#define BITM_EMAC_TM_STMPSTAT_TSSOVF (_ADI_MSK(0x00000001,uint32_t)) /* Time Stamp Seconds Overflow */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_TM_PPSCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_TM_PPSCTL_TRGTMODSEL 5 /* Target Time Register Mode */
-#define BITP_EMAC_TM_PPSCTL_PPSEN 4 /* Enable the flexible PPS output mode */
-#define BITP_EMAC_TM_PPSCTL_PPSCTL 0 /* PPS Frequency Control */
-#define BITM_EMAC_TM_PPSCTL_TRGTMODSEL (_ADI_MSK(0x00000060,uint32_t)) /* Target Time Register Mode */
-#define BITM_EMAC_TM_PPSCTL_PPSEN (_ADI_MSK(0x00000010,uint32_t)) /* Enable the flexible PPS output mode */
-#define BITM_EMAC_TM_PPSCTL_PPSCTL (_ADI_MSK(0x0000000F,uint32_t)) /* PPS Frequency Control */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BUSMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BUSMODE_AAL 25 /* Address Aligned Bursts */
-#define BITP_EMAC_DMA_BUSMODE_PBL8 24 /* PBL * 8 */
-#define BITP_EMAC_DMA_BUSMODE_USP 23 /* Use Separate PBL */
-#define BITP_EMAC_DMA_BUSMODE_RPBL 17 /* Receive Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_FB 16 /* Fixed Burst */
-#define BITP_EMAC_DMA_BUSMODE_PBL 8 /* Programmable Burst Length */
-#define BITP_EMAC_DMA_BUSMODE_ATDS 7 /* Alternate Descriptor Size */
-#define BITP_EMAC_DMA_BUSMODE_DSL 2 /* Descriptor Skip Length */
-#define BITP_EMAC_DMA_BUSMODE_SWR 0 /* Software Reset */
-#define BITM_EMAC_DMA_BUSMODE_AAL (_ADI_MSK(0x02000000,uint32_t)) /* Address Aligned Bursts */
-#define BITM_EMAC_DMA_BUSMODE_PBL8 (_ADI_MSK(0x01000000,uint32_t)) /* PBL * 8 */
-#define BITM_EMAC_DMA_BUSMODE_USP (_ADI_MSK(0x00800000,uint32_t)) /* Use Separate PBL */
-#define BITM_EMAC_DMA_BUSMODE_RPBL (_ADI_MSK(0x007E0000,uint32_t)) /* Receive Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_FB (_ADI_MSK(0x00010000,uint32_t)) /* Fixed Burst */
-#define BITM_EMAC_DMA_BUSMODE_PBL (_ADI_MSK(0x00003F00,uint32_t)) /* Programmable Burst Length */
-#define BITM_EMAC_DMA_BUSMODE_ATDS (_ADI_MSK(0x00000080,uint32_t)) /* Alternate Descriptor Size */
-#define BITM_EMAC_DMA_BUSMODE_DSL (_ADI_MSK(0x0000007C,uint32_t)) /* Descriptor Skip Length */
-#define BITM_EMAC_DMA_BUSMODE_SWR (_ADI_MSK(0x00000001,uint32_t)) /* Software Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_STAT_TTI 29 /* Time Stamp Trigger Interrupt */
-#define BITP_EMAC_DMA_STAT_MCI 27 /* MAC MMC Interrupt */
-#define BITP_EMAC_DMA_STAT_EB 23 /* Error Bits */
-#define BITP_EMAC_DMA_STAT_TS 20 /* Transmit Process State */
-#define BITP_EMAC_DMA_STAT_RS 17 /* Receive Process State */
-#define BITP_EMAC_DMA_STAT_NIS 16 /* Normal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_AIS 15 /* Abnormal Interrupt Summary */
-#define BITP_EMAC_DMA_STAT_ERI 14 /* Early Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_FBI 13 /* Fatal Bus Error Interrupt */
-#define BITP_EMAC_DMA_STAT_ETI 10 /* Early Transmit Interrupt */
-#define BITP_EMAC_DMA_STAT_RWT 9 /* Receive WatchDog Timeout */
-#define BITP_EMAC_DMA_STAT_RPS 8 /* Receive Process Stopped */
-#define BITP_EMAC_DMA_STAT_RU 7 /* Receive Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_RI 6 /* Receive Interrupt */
-#define BITP_EMAC_DMA_STAT_UNF 5 /* Transmit Buffer Underflow */
-#define BITP_EMAC_DMA_STAT_OVF 4 /* Receive Buffer Overflow */
-#define BITP_EMAC_DMA_STAT_TJT 3 /* Transmit Jabber Timeout */
-#define BITP_EMAC_DMA_STAT_TU 2 /* Transmit Buffer Unavailable */
-#define BITP_EMAC_DMA_STAT_TPS 1 /* Transmit Process Stopped */
-#define BITP_EMAC_DMA_STAT_TI 0 /* Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_TTI (_ADI_MSK(0x20000000,uint32_t)) /* Time Stamp Trigger Interrupt */
-#define BITM_EMAC_DMA_STAT_MCI (_ADI_MSK(0x08000000,uint32_t)) /* MAC MMC Interrupt */
-#define BITM_EMAC_DMA_STAT_EB (_ADI_MSK(0x03800000,uint32_t)) /* Error Bits */
-
-#define BITM_EMAC_DMA_STAT_TS (_ADI_MSK(0x00700000,uint32_t)) /* Transmit Process State */
-#define ENUM_EMAC_DMA_STAT_TS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* TS: Stopped; Reset or Stop Transmit Command issued */
-#define ENUM_EMAC_DMA_STAT_TS_R_FTD (_ADI_MSK(0x00100000,uint32_t)) /* TS: Running; Fetching Transmit Transfer Descriptor */
-#define ENUM_EMAC_DMA_STAT_TS_R_WSTAT (_ADI_MSK(0x00200000,uint32_t)) /* TS: Running; Waiting for status */
-#define ENUM_EMAC_DMA_STAT_TS_R_TXHMBUF (_ADI_MSK(0x00300000,uint32_t)) /* TS: Reading Data from host memory buffer and queuing it to TX buffer */
-#define ENUM_EMAC_DMA_STAT_TS_WR_TSTMP (_ADI_MSK(0x00400000,uint32_t)) /* TS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_TS_SUSPENDED (_ADI_MSK(0x00600000,uint32_t)) /* TS: Suspended; Transmit Descriptor Unavailable or TX Buffer Underflow */
-#define ENUM_EMAC_DMA_STAT_TS_R_CLSTD (_ADI_MSK(0x00700000,uint32_t)) /* TS: Closing Transmit Descriptor */
-
-#define BITM_EMAC_DMA_STAT_RS (_ADI_MSK(0x000E0000,uint32_t)) /* Receive Process State */
-#define ENUM_EMAC_DMA_STAT_RS_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RS: Stopped: Reset or Stop Receive Command issued. */
-#define ENUM_EMAC_DMA_STAT_RS_R_FRD (_ADI_MSK(0x00020000,uint32_t)) /* RS: Running: Fetching Receive Transfer Descriptor. */
-#define ENUM_EMAC_DMA_STAT_RS_R_WTRX (_ADI_MSK(0x00060000,uint32_t)) /* RS: Running: Waiting for receive packet */
-#define ENUM_EMAC_DMA_STAT_RS_SUSPENDED (_ADI_MSK(0x00080000,uint32_t)) /* RS: Suspended: Receive Descriptor Unavailable */
-#define ENUM_EMAC_DMA_STAT_RS_R_CLSRD (_ADI_MSK(0x000A0000,uint32_t)) /* RS: Running: Closing Receive Descriptor */
-#define ENUM_EMAC_DMA_STAT_RS_WR_TSTMP (_ADI_MSK(0x000C0000,uint32_t)) /* RS: TIME_STAMP write state */
-#define ENUM_EMAC_DMA_STAT_RS_R_RXWRHM (_ADI_MSK(0x000E0000,uint32_t)) /* RS: Running: Transferring RX packet data from RX buffer to host memory */
-#define BITM_EMAC_DMA_STAT_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary */
-#define BITM_EMAC_DMA_STAT_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Interrupt */
-#define BITM_EMAC_DMA_STAT_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt */
-#define BITM_EMAC_DMA_STAT_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchDog Timeout */
-#define BITM_EMAC_DMA_STAT_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Process Stopped */
-#define BITM_EMAC_DMA_STAT_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt */
-#define BITM_EMAC_DMA_STAT_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Buffer Underflow */
-#define BITM_EMAC_DMA_STAT_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Receive Buffer Overflow */
-#define BITM_EMAC_DMA_STAT_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout */
-#define BITM_EMAC_DMA_STAT_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable */
-#define BITM_EMAC_DMA_STAT_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Process Stopped */
-#define BITM_EMAC_DMA_STAT_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_OPMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_OPMODE_DT 26 /* Disable Dropping TCP/IP Errors */
-#define BITP_EMAC_DMA_OPMODE_RSF 25 /* Receive Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_DFF 24 /* Disable Flushing of received Frames */
-#define BITP_EMAC_DMA_OPMODE_TSF 21 /* Transmit Store and Forward */
-#define BITP_EMAC_DMA_OPMODE_FTF 20 /* Flush Transmit FIFO */
-#define BITP_EMAC_DMA_OPMODE_TTC 14 /* Transmit Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_ST 13 /* Start/Stop Transmission */
-#define BITP_EMAC_DMA_OPMODE_FEF 7 /* Forward Error Frames */
-#define BITP_EMAC_DMA_OPMODE_FUF 6 /* Forward Undersized good Frames */
-#define BITP_EMAC_DMA_OPMODE_RTC 3 /* Receive Threshold Control */
-#define BITP_EMAC_DMA_OPMODE_OSF 2 /* Operate on Second Frame */
-#define BITP_EMAC_DMA_OPMODE_SR 1 /* Start/Stop Receive */
-#define BITM_EMAC_DMA_OPMODE_DT (_ADI_MSK(0x04000000,uint32_t)) /* Disable Dropping TCP/IP Errors */
-#define BITM_EMAC_DMA_OPMODE_RSF (_ADI_MSK(0x02000000,uint32_t)) /* Receive Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_DFF (_ADI_MSK(0x01000000,uint32_t)) /* Disable Flushing of received Frames */
-#define BITM_EMAC_DMA_OPMODE_TSF (_ADI_MSK(0x00200000,uint32_t)) /* Transmit Store and Forward */
-#define BITM_EMAC_DMA_OPMODE_FTF (_ADI_MSK(0x00100000,uint32_t)) /* Flush Transmit FIFO */
-
-#define BITM_EMAC_DMA_OPMODE_TTC (_ADI_MSK(0x0001C000,uint32_t)) /* Transmit Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_TTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* TTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_128 (_ADI_MSK(0x00004000,uint32_t)) /* TTC: 128 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_192 (_ADI_MSK(0x00008000,uint32_t)) /* TTC: 192 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_256 (_ADI_MSK(0x0000C000,uint32_t)) /* TTC: 256 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_40 (_ADI_MSK(0x00010000,uint32_t)) /* TTC: 40 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_32 (_ADI_MSK(0x00014000,uint32_t)) /* TTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_24 (_ADI_MSK(0x00018000,uint32_t)) /* TTC: 24 */
-#define ENUM_EMAC_DMA_OPMODE_TTC_16 (_ADI_MSK(0x0001C000,uint32_t)) /* TTC: 16 */
-#define BITM_EMAC_DMA_OPMODE_ST (_ADI_MSK(0x00002000,uint32_t)) /* Start/Stop Transmission */
-#define BITM_EMAC_DMA_OPMODE_FEF (_ADI_MSK(0x00000080,uint32_t)) /* Forward Error Frames */
-#define BITM_EMAC_DMA_OPMODE_FUF (_ADI_MSK(0x00000040,uint32_t)) /* Forward Undersized good Frames */
-
-#define BITM_EMAC_DMA_OPMODE_RTC (_ADI_MSK(0x00000018,uint32_t)) /* Receive Threshold Control */
-#define ENUM_EMAC_DMA_OPMODE_RTC_64 (_ADI_MSK(0x00000000,uint32_t)) /* RTC: 64 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_32 (_ADI_MSK(0x00000008,uint32_t)) /* RTC: 32 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_96 (_ADI_MSK(0x00000010,uint32_t)) /* RTC: 96 */
-#define ENUM_EMAC_DMA_OPMODE_RTC_128 (_ADI_MSK(0x00000018,uint32_t)) /* RTC: 128 */
-#define BITM_EMAC_DMA_OPMODE_OSF (_ADI_MSK(0x00000004,uint32_t)) /* Operate on Second Frame */
-#define BITM_EMAC_DMA_OPMODE_SR (_ADI_MSK(0x00000002,uint32_t)) /* Start/Stop Receive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_IEN_NIS 16 /* Normal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_AIS 15 /* Abnormal Interrupt Summary Enable */
-#define BITP_EMAC_DMA_IEN_ERI 14 /* Early Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_FBI 13 /* Fatal Bus Error Enable */
-#define BITP_EMAC_DMA_IEN_ETI 10 /* Early Transmit Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_RWT 9 /* Receive WatchdogTimeout Enable */
-#define BITP_EMAC_DMA_IEN_RPS 8 /* Receive Stopped Enable */
-#define BITP_EMAC_DMA_IEN_RU 7 /* Receive Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_RI 6 /* Receive Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_UNF 5 /* Underflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_OVF 4 /* Overflow Interrupt Enable */
-#define BITP_EMAC_DMA_IEN_TJT 3 /* Transmit Jabber Timeout Enable */
-#define BITP_EMAC_DMA_IEN_TU 2 /* Transmit Buffer Unavailable Enable */
-#define BITP_EMAC_DMA_IEN_TPS 1 /* Transmit Stopped Enable */
-#define BITP_EMAC_DMA_IEN_TI 0 /* Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_NIS (_ADI_MSK(0x00010000,uint32_t)) /* Normal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_AIS (_ADI_MSK(0x00008000,uint32_t)) /* Abnormal Interrupt Summary Enable */
-#define BITM_EMAC_DMA_IEN_ERI (_ADI_MSK(0x00004000,uint32_t)) /* Early Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_FBI (_ADI_MSK(0x00002000,uint32_t)) /* Fatal Bus Error Enable */
-#define BITM_EMAC_DMA_IEN_ETI (_ADI_MSK(0x00000400,uint32_t)) /* Early Transmit Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_RWT (_ADI_MSK(0x00000200,uint32_t)) /* Receive WatchdogTimeout Enable */
-#define BITM_EMAC_DMA_IEN_RPS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Stopped Enable */
-#define BITM_EMAC_DMA_IEN_RU (_ADI_MSK(0x00000080,uint32_t)) /* Receive Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_RI (_ADI_MSK(0x00000040,uint32_t)) /* Receive Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_UNF (_ADI_MSK(0x00000020,uint32_t)) /* Underflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_OVF (_ADI_MSK(0x00000010,uint32_t)) /* Overflow Interrupt Enable */
-#define BITM_EMAC_DMA_IEN_TJT (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Jabber Timeout Enable */
-#define BITM_EMAC_DMA_IEN_TU (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Buffer Unavailable Enable */
-#define BITM_EMAC_DMA_IEN_TPS (_ADI_MSK(0x00000002,uint32_t)) /* Transmit Stopped Enable */
-#define BITM_EMAC_DMA_IEN_TI (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_MISS_FRM Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_MISS_FRM_OVFFIFO 28 /* Overflow bit for FIFO Overflow Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFROV 17 /* Missed Frames Buffer Overflow */
-#define BITP_EMAC_DMA_MISS_FRM_OVFMISS 16 /* Overflow bit for Missed Frame Counter */
-#define BITP_EMAC_DMA_MISS_FRM_MISSFRUN 0 /* Missed Frames Unavailable Buffer */
-#define BITM_EMAC_DMA_MISS_FRM_OVFFIFO (_ADI_MSK(0x10000000,uint32_t)) /* Overflow bit for FIFO Overflow Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFROV (_ADI_MSK(0x0FFE0000,uint32_t)) /* Missed Frames Buffer Overflow */
-#define BITM_EMAC_DMA_MISS_FRM_OVFMISS (_ADI_MSK(0x00010000,uint32_t)) /* Overflow bit for Missed Frame Counter */
-#define BITM_EMAC_DMA_MISS_FRM_MISSFRUN (_ADI_MSK(0x0000FFFF,uint32_t)) /* Missed Frames Unavailable Buffer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_RXIWDOG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_RXIWDOG_RIWT 0 /* RI WatchDog Timer Count */
-#define BITM_EMAC_DMA_RXIWDOG_RIWT (_ADI_MSK(0x000000FF,uint32_t)) /* RI WatchDog Timer Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMMODE_WROSRLMT 20 /* SCB Maximum Write Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_RDOSRLMT 16 /* SCB Maximum Read Outstanding Request */
-#define BITP_EMAC_DMA_BMMODE_AAL 12 /* Address Aligned Beats */
-#define BITP_EMAC_DMA_BMMODE_BLEN16 3 /* SCB Burst Length 16 */
-#define BITP_EMAC_DMA_BMMODE_BLEN8 2 /* SCB Burst Length 8 */
-#define BITP_EMAC_DMA_BMMODE_BLEN4 1 /* SCB Burst Length 4 */
-#define BITP_EMAC_DMA_BMMODE_UNDEF 0 /* SCB Undefined Burst Length */
-#define BITM_EMAC_DMA_BMMODE_WROSRLMT (_ADI_MSK(0x00700000,uint32_t)) /* SCB Maximum Write Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_RDOSRLMT (_ADI_MSK(0x00070000,uint32_t)) /* SCB Maximum Read Outstanding Request */
-#define BITM_EMAC_DMA_BMMODE_AAL (_ADI_MSK(0x00001000,uint32_t)) /* Address Aligned Beats */
-#define BITM_EMAC_DMA_BMMODE_BLEN16 (_ADI_MSK(0x00000008,uint32_t)) /* SCB Burst Length 16 */
-#define BITM_EMAC_DMA_BMMODE_BLEN8 (_ADI_MSK(0x00000004,uint32_t)) /* SCB Burst Length 8 */
-#define BITM_EMAC_DMA_BMMODE_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* SCB Burst Length 4 */
-#define BITM_EMAC_DMA_BMMODE_UNDEF (_ADI_MSK(0x00000001,uint32_t)) /* SCB Undefined Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- EMAC_DMA_BMSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EMAC_DMA_BMSTAT_BUSRD 1 /* Bus (SCB master) Read Active */
-#define BITP_EMAC_DMA_BMSTAT_BUSWR 0 /* Bus (SCB master) Write Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSRD (_ADI_MSK(0x00000002,uint32_t)) /* Bus (SCB master) Read Active */
-#define BITM_EMAC_DMA_BMSTAT_BUSWR (_ADI_MSK(0x00000001,uint32_t)) /* Bus (SCB master) Write Active */
-
-/* ==================================================
- Serial Port Registers
- ================================================== */
-
-/* =========================
- SPORT0
- ========================= */
-#define REG_SPORT0_CTL_A 0xFFC40000 /* SPORT0 Half SPORT 'A' Control Register */
-#define REG_SPORT0_DIV_A 0xFFC40004 /* SPORT0 Half SPORT 'A' Divisor Register */
-#define REG_SPORT0_MCTL_A 0xFFC40008 /* SPORT0 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT0_CS0_A 0xFFC4000C /* SPORT0 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_A 0xFFC40010 /* SPORT0 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_A 0xFFC40014 /* SPORT0 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT0_CS3_A 0xFFC40018 /* SPORT0 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT0_ERR_A 0xFFC40020 /* SPORT0 Half SPORT 'A' Error Register */
-#define REG_SPORT0_MSTAT_A 0xFFC40024 /* SPORT0 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_A 0xFFC40028 /* SPORT0 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT0_TXPRI_A 0xFFC40040 /* SPORT0 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_A 0xFFC40044 /* SPORT0 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_A 0xFFC40048 /* SPORT0 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_A 0xFFC4004C /* SPORT0 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT0_CTL_B 0xFFC40080 /* SPORT0 Half SPORT 'B' Control Register */
-#define REG_SPORT0_DIV_B 0xFFC40084 /* SPORT0 Half SPORT 'B' Divisor Register */
-#define REG_SPORT0_MCTL_B 0xFFC40088 /* SPORT0 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT0_CS0_B 0xFFC4008C /* SPORT0 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT0_CS1_B 0xFFC40090 /* SPORT0 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT0_CS2_B 0xFFC40094 /* SPORT0 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT0_CS3_B 0xFFC40098 /* SPORT0 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT0_ERR_B 0xFFC400A0 /* SPORT0 Half SPORT 'B' Error Register */
-#define REG_SPORT0_MSTAT_B 0xFFC400A4 /* SPORT0 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT0_CTL2_B 0xFFC400A8 /* SPORT0 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT0_TXPRI_B 0xFFC400C0 /* SPORT0 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT0_RXPRI_B 0xFFC400C4 /* SPORT0 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT0_TXSEC_B 0xFFC400C8 /* SPORT0 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT0_RXSEC_B 0xFFC400CC /* SPORT0 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT1
- ========================= */
-#define REG_SPORT1_CTL_A 0xFFC40100 /* SPORT1 Half SPORT 'A' Control Register */
-#define REG_SPORT1_DIV_A 0xFFC40104 /* SPORT1 Half SPORT 'A' Divisor Register */
-#define REG_SPORT1_MCTL_A 0xFFC40108 /* SPORT1 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT1_CS0_A 0xFFC4010C /* SPORT1 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_A 0xFFC40110 /* SPORT1 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_A 0xFFC40114 /* SPORT1 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT1_CS3_A 0xFFC40118 /* SPORT1 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT1_ERR_A 0xFFC40120 /* SPORT1 Half SPORT 'A' Error Register */
-#define REG_SPORT1_MSTAT_A 0xFFC40124 /* SPORT1 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_A 0xFFC40128 /* SPORT1 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT1_TXPRI_A 0xFFC40140 /* SPORT1 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_A 0xFFC40144 /* SPORT1 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_A 0xFFC40148 /* SPORT1 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_A 0xFFC4014C /* SPORT1 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT1_CTL_B 0xFFC40180 /* SPORT1 Half SPORT 'B' Control Register */
-#define REG_SPORT1_DIV_B 0xFFC40184 /* SPORT1 Half SPORT 'B' Divisor Register */
-#define REG_SPORT1_MCTL_B 0xFFC40188 /* SPORT1 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT1_CS0_B 0xFFC4018C /* SPORT1 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT1_CS1_B 0xFFC40190 /* SPORT1 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT1_CS2_B 0xFFC40194 /* SPORT1 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT1_CS3_B 0xFFC40198 /* SPORT1 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT1_ERR_B 0xFFC401A0 /* SPORT1 Half SPORT 'B' Error Register */
-#define REG_SPORT1_MSTAT_B 0xFFC401A4 /* SPORT1 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT1_CTL2_B 0xFFC401A8 /* SPORT1 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT1_TXPRI_B 0xFFC401C0 /* SPORT1 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT1_RXPRI_B 0xFFC401C4 /* SPORT1 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT1_TXSEC_B 0xFFC401C8 /* SPORT1 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT1_RXSEC_B 0xFFC401CC /* SPORT1 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT2
- ========================= */
-#define REG_SPORT2_CTL_A 0xFFC40200 /* SPORT2 Half SPORT 'A' Control Register */
-#define REG_SPORT2_DIV_A 0xFFC40204 /* SPORT2 Half SPORT 'A' Divisor Register */
-#define REG_SPORT2_MCTL_A 0xFFC40208 /* SPORT2 Half SPORT 'A' Multi-channel Control Register */
-#define REG_SPORT2_CS0_A 0xFFC4020C /* SPORT2 Half SPORT 'A' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_A 0xFFC40210 /* SPORT2 Half SPORT 'A' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_A 0xFFC40214 /* SPORT2 Half SPORT 'A' Multi-channel 64-95 Select Register */
-#define REG_SPORT2_CS3_A 0xFFC40218 /* SPORT2 Half SPORT 'A' Multi-channel 96-127 Select Register */
-#define REG_SPORT2_ERR_A 0xFFC40220 /* SPORT2 Half SPORT 'A' Error Register */
-#define REG_SPORT2_MSTAT_A 0xFFC40224 /* SPORT2 Half SPORT 'A' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_A 0xFFC40228 /* SPORT2 Half SPORT 'A' Control 2 Register */
-#define REG_SPORT2_TXPRI_A 0xFFC40240 /* SPORT2 Half SPORT 'A' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_A 0xFFC40244 /* SPORT2 Half SPORT 'A' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_A 0xFFC40248 /* SPORT2 Half SPORT 'A' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_A 0xFFC4024C /* SPORT2 Half SPORT 'A' Rx Buffer (Secondary) Register */
-#define REG_SPORT2_CTL_B 0xFFC40280 /* SPORT2 Half SPORT 'B' Control Register */
-#define REG_SPORT2_DIV_B 0xFFC40284 /* SPORT2 Half SPORT 'B' Divisor Register */
-#define REG_SPORT2_MCTL_B 0xFFC40288 /* SPORT2 Half SPORT 'B' Multi-channel Control Register */
-#define REG_SPORT2_CS0_B 0xFFC4028C /* SPORT2 Half SPORT 'B' Multi-channel 0-31 Select Register */
-#define REG_SPORT2_CS1_B 0xFFC40290 /* SPORT2 Half SPORT 'B' Multi-channel 32-63 Select Register */
-#define REG_SPORT2_CS2_B 0xFFC40294 /* SPORT2 Half SPORT 'B' Multichannel 64-95 Select Register */
-#define REG_SPORT2_CS3_B 0xFFC40298 /* SPORT2 Half SPORT 'B' Multichannel 96-127 Select Register */
-#define REG_SPORT2_ERR_B 0xFFC402A0 /* SPORT2 Half SPORT 'B' Error Register */
-#define REG_SPORT2_MSTAT_B 0xFFC402A4 /* SPORT2 Half SPORT 'B' Multi-channel Status Register */
-#define REG_SPORT2_CTL2_B 0xFFC402A8 /* SPORT2 Half SPORT 'B' Control 2 Register */
-#define REG_SPORT2_TXPRI_B 0xFFC402C0 /* SPORT2 Half SPORT 'B' Tx Buffer (Primary) Register */
-#define REG_SPORT2_RXPRI_B 0xFFC402C4 /* SPORT2 Half SPORT 'B' Rx Buffer (Primary) Register */
-#define REG_SPORT2_TXSEC_B 0xFFC402C8 /* SPORT2 Half SPORT 'B' Tx Buffer (Secondary) Register */
-#define REG_SPORT2_RXSEC_B 0xFFC402CC /* SPORT2 Half SPORT 'B' Rx Buffer (Secondary) Register */
-
-/* =========================
- SPORT
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_A_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_A_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_A_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_A_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_A_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_A_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_A_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_A_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_A_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_A_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_A_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_A_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_A_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_A_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_A_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_A_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_A_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_A_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_A_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_A_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_A_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_A_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_A_SPENPRI 0 /* Serial Port Enable (Primary) */
-#define BITP_SPORT_CTL_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-#define BITM_SPORT_CTL_A_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSPRI: Empty */
-#define ENUM_SPORT_CTL_PRM_PART_FULL (_ADI_MSK(0x80000000,uint32_t)) /* DXSPRI: Partially full */
-#define ENUM_SPORT_CTL_PRM_FULL (_ADI_MSK(0xC0000000,uint32_t)) /* DXSPRI: Full */
-
-#define BITM_SPORT_CTL_A_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define ENUM_SPORT_CTL_PRM_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRPRI: No error */
-#define ENUM_SPORT_CTL_PRM_ERR (_ADI_MSK(0x20000000,uint32_t)) /* DERRPRI: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* DXSSEC: Empty */
-#define ENUM_SPORT_CTL_SEC_PART_FULL (_ADI_MSK(0x10000000,uint32_t)) /* DXSSEC: Partially full */
-#define ENUM_SPORT_CTL_SEC_FULL (_ADI_MSK(0x18000000,uint32_t)) /* DXSSEC: Full */
-
-#define BITM_SPORT_CTL_A_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define ENUM_SPORT_CTL_SEC_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* DERRSEC: No error */
-#define ENUM_SPORT_CTL_SEC_ERR (_ADI_MSK(0x04000000,uint32_t)) /* DERRSEC: Error (Tx underflow or Rx overflow) */
-
-#define BITM_SPORT_CTL_A_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define ENUM_SPORT_CTL_RX (_ADI_MSK(0x00000000,uint32_t)) /* SPTRAN: Receive */
-#define ENUM_SPORT_CTL_TX (_ADI_MSK(0x02000000,uint32_t)) /* SPTRAN: Transmit */
-
-#define BITM_SPORT_CTL_A_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define ENUM_SPORT_CTL_SECONDARY_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENSEC: Disable */
-#define ENUM_SPORT_CTL_SECONDARY_EN (_ADI_MSK(0x01000000,uint32_t)) /* SPENSEC: Enable */
-
-#define BITM_SPORT_CTL_A_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define ENUM_SPORT_CTL_GCLK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* GCLKEN: Disable */
-#define ENUM_SPORT_CTL_GCLK_EN (_ADI_MSK(0x00200000,uint32_t)) /* GCLKEN: Enable */
-
-#define BITM_SPORT_CTL_A_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define ENUM_SPORT_CTL_TXFIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TFIEN: Last word sent (DMA count done) interrupt */
-#define ENUM_SPORT_CTL_TXFIN_EN (_ADI_MSK(0x00100000,uint32_t)) /* TFIEN: Last bit sent (Tx buffer done) interrupt */
-
-#define BITM_SPORT_CTL_A_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define ENUM_SPORT_CTL_LEVEL_FS (_ADI_MSK(0x00000000,uint32_t)) /* FSED: Level detect frame sync */
-#define ENUM_SPORT_CTL_EDGE_FS (_ADI_MSK(0x00080000,uint32_t)) /* FSED: Edge detect frame sync */
-
-#define BITM_SPORT_CTL_A_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define ENUM_SPORT_CTL_RJUST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RJUST: Disable */
-#define ENUM_SPORT_CTL_RJUST_EN (_ADI_MSK(0x00040000,uint32_t)) /* RJUST: Enable */
-
-#define BITM_SPORT_CTL_A_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define ENUM_SPORT_CTL_EARLY_FS (_ADI_MSK(0x00000000,uint32_t)) /* LAFS: Early frame sync */
-#define ENUM_SPORT_CTL_LATE_FS (_ADI_MSK(0x00020000,uint32_t)) /* LAFS: Late frame sync */
-
-#define BITM_SPORT_CTL_A_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define ENUM_SPORT_CTL_FS_LO (_ADI_MSK(0x00000000,uint32_t)) /* LFS: Active high frame sync (DSP standard mode) */
-#define ENUM_SPORT_CTL_FS_HI (_ADI_MSK(0x00010000,uint32_t)) /* LFS: Active low frame sync (DSP standard mode) */
-
-#define BITM_SPORT_CTL_A_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define ENUM_SPORT_CTL_DATA_DEP_FS (_ADI_MSK(0x00000000,uint32_t)) /* DIFS: Data-dependent frame sync */
-#define ENUM_SPORT_CTL_DATA_INDP_FS (_ADI_MSK(0x00008000,uint32_t)) /* DIFS: Data-independent frame sync */
-
-#define BITM_SPORT_CTL_A_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define ENUM_SPORT_CTL_EXTERNAL_FS (_ADI_MSK(0x00000000,uint32_t)) /* IFS: External frame sync */
-#define ENUM_SPORT_CTL_INTERNAL_FS (_ADI_MSK(0x00004000,uint32_t)) /* IFS: Internal frame sync */
-
-#define BITM_SPORT_CTL_A_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define ENUM_SPORT_CTL_FS_NOT_REQ (_ADI_MSK(0x00000000,uint32_t)) /* FSR: No frame sync required */
-#define ENUM_SPORT_CTL_FS_REQ (_ADI_MSK(0x00002000,uint32_t)) /* FSR: Frame sync required */
-
-#define BITM_SPORT_CTL_A_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define ENUM_SPORT_CTL_CLK_FALL_EDGE (_ADI_MSK(0x00000000,uint32_t)) /* CKRE: Clock falling edge */
-#define ENUM_SPORT_CTL_CLK_RISE_EDGE (_ADI_MSK(0x00001000,uint32_t)) /* CKRE: Clock rising edge */
-
-#define BITM_SPORT_CTL_A_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define ENUM_SPORT_CTL_SERIAL_MC_MODE (_ADI_MSK(0x00000000,uint32_t)) /* OPMODE: DSP standard/multi-channel mode */
-#define ENUM_SPORT_CTL_I2S_MODE (_ADI_MSK(0x00000800,uint32_t)) /* OPMODE: I2S/packed/left-justified mode */
-
-#define BITM_SPORT_CTL_A_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define ENUM_SPORT_CTL_EXTERNAL_CLK (_ADI_MSK(0x00000000,uint32_t)) /* ICLK: External clock */
-#define ENUM_SPORT_CTL_INTERNAL_CLK (_ADI_MSK(0x00000400,uint32_t)) /* ICLK: Internal clock */
-
-#define BITM_SPORT_CTL_A_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define ENUM_SPORT_CTL_PACK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PACK: Disable */
-#define ENUM_SPORT_CTL_PACK_EN (_ADI_MSK(0x00000200,uint32_t)) /* PACK: Enable */
-#define BITM_SPORT_CTL_A_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-
-#define BITM_SPORT_CTL_A_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define ENUM_SPORT_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB first sent/received (big endian) */
-#define ENUM_SPORT_CTL_LSB_FIRST (_ADI_MSK(0x00000008,uint32_t)) /* LSBF: LSB first sent/received (little endian) */
-
-#define BITM_SPORT_CTL_A_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define ENUM_SPORT_CTL_RJUSTIFY_ZFILL (_ADI_MSK(0x00000000,uint32_t)) /* DTYPE: Right-justify data, zero-fill unused MSBs */
-#define ENUM_SPORT_CTL_RJUSTIFY_SFILL (_ADI_MSK(0x00000002,uint32_t)) /* DTYPE: Right-justify data, sign-extend unused MSBs */
-#define ENUM_SPORT_CTL_USE_U_LAW (_ADI_MSK(0x00000004,uint32_t)) /* DTYPE: m-law compand data */
-#define ENUM_SPORT_CTL_USE_A_LAW (_ADI_MSK(0x00000006,uint32_t)) /* DTYPE: A-law compand data */
-
-#define BITM_SPORT_CTL_A_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define BITM_SPORT_CTL_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-#define ENUM_SPORT_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SPENPRI: Disable */
-#define ENUM_SPORT_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* SPENPRI: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_A_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_A_CLKDIV 0 /* Clock Divisor */
-#define BITP_SPORT_DIV_CLKDIV 0 /* Clock Divisor */
-#define BITM_SPORT_DIV_A_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_A_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-#define BITM_SPORT_DIV_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_A_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_A_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_A_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_A_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_A_MCE 0 /* Multichannel enable */
-#define BITP_SPORT_MCTL_MCE 0 /* Multichannel enable */
-#define BITM_SPORT_MCTL_A_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_A_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_A_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-
-#define BITM_SPORT_MCTL_A_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define ENUM_SPORT_MCTL_MCPD_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCPDE: Disable */
-#define ENUM_SPORT_MCTL_MCPD_EN (_ADI_MSK(0x00000004,uint32_t)) /* MCPDE: Enable */
-
-#define BITM_SPORT_MCTL_A_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define BITM_SPORT_MCTL_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multichannel enable */
-#define ENUM_SPORT_MCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MCE: Disable */
-#define ENUM_SPORT_MCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* MCE: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_A_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_A_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_A_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_A_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_A_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITP_SPORT_ERR_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_A_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_A_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_A_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_A_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-#define BITM_SPORT_ERR_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_A_CURCHAN 0 /* Current Channel */
-#define BITP_SPORT_MSTAT_CURCHAN 0 /* Current Channel */
-#define BITM_SPORT_MSTAT_A_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-#define BITM_SPORT_MSTAT_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_A Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_A_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_A_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-#define BITP_SPORT_CTL2_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-#define BITM_SPORT_CTL2_A_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define ENUM_SPORT_CTL2_CLK_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* CKMUXSEL: Disable serial clock multiplexing */
-#define ENUM_SPORT_CTL2_CLK_MUX_EN (_ADI_MSK(0x00000002,uint32_t)) /* CKMUXSEL: Enable serial clock multiplexing */
-
-#define BITM_SPORT_CTL2_A_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define BITM_SPORT_CTL2_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-#define ENUM_SPORT_CTL2_FS_MUX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FSMUXSEL: Disable frame sync multiplexing */
-#define ENUM_SPORT_CTL2_FS_MUX_EN (_ADI_MSK(0x00000001,uint32_t)) /* FSMUXSEL: Enable frame sync multiplexing */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL_B_DXSPRI 30 /* Data Transfer Buffer Status (Primary) */
-#define BITP_SPORT_CTL_B_DERRPRI 29 /* Data Error Status (Primary) */
-#define BITP_SPORT_CTL_B_DXSSEC 27 /* Data Transfer Buffer Status (Secondary) */
-#define BITP_SPORT_CTL_B_DERRSEC 26 /* Data Error Status (Secondary) */
-#define BITP_SPORT_CTL_B_SPTRAN 25 /* Serial Port Transfer Direction */
-#define BITP_SPORT_CTL_B_SPENSEC 24 /* Serial Port Enable (Secondary) */
-#define BITP_SPORT_CTL_B_GCLKEN 21 /* Gated Clock Enable */
-#define BITP_SPORT_CTL_B_TFIEN 20 /* Transmit Finish Interrupt Enable */
-#define BITP_SPORT_CTL_B_FSED 19 /* Frame Sync Edge Detect */
-#define BITP_SPORT_CTL_B_RJUST 18 /* Right-Justified Operation Mode */
-#define BITP_SPORT_CTL_B_LAFS 17 /* Late Frame Sync / OPMODE2 */
-#define BITP_SPORT_CTL_B_LFS 16 /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITP_SPORT_CTL_B_DIFS 15 /* Data-Independent Frame Sync */
-#define BITP_SPORT_CTL_B_IFS 14 /* Internal Frame Sync */
-#define BITP_SPORT_CTL_B_FSR 13 /* Frame Sync Required */
-#define BITP_SPORT_CTL_B_CKRE 12 /* Clock Rising Edge */
-#define BITP_SPORT_CTL_B_OPMODE 11 /* Operation mode */
-#define BITP_SPORT_CTL_B_ICLK 10 /* Internal Clock */
-#define BITP_SPORT_CTL_B_PACK 9 /* Packing Enable */
-#define BITP_SPORT_CTL_B_SLEN 4 /* Serial Word Length */
-#define BITP_SPORT_CTL_B_LSBF 3 /* Least-Significant Bit First */
-#define BITP_SPORT_CTL_B_DTYPE 1 /* Data Type */
-#define BITP_SPORT_CTL_B_SPENPRI 0 /* Serial Port Enable (Primary) */
-
-/* The fields and enumerations for SPORT_CTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL_A */
-
-#define BITM_SPORT_CTL_B_DXSPRI (_ADI_MSK(0xC0000000,uint32_t)) /* Data Transfer Buffer Status (Primary) */
-#define BITM_SPORT_CTL_B_DERRPRI (_ADI_MSK(0x20000000,uint32_t)) /* Data Error Status (Primary) */
-#define BITM_SPORT_CTL_B_DXSSEC (_ADI_MSK(0x18000000,uint32_t)) /* Data Transfer Buffer Status (Secondary) */
-#define BITM_SPORT_CTL_B_DERRSEC (_ADI_MSK(0x04000000,uint32_t)) /* Data Error Status (Secondary) */
-#define BITM_SPORT_CTL_B_SPTRAN (_ADI_MSK(0x02000000,uint32_t)) /* Serial Port Transfer Direction */
-#define BITM_SPORT_CTL_B_SPENSEC (_ADI_MSK(0x01000000,uint32_t)) /* Serial Port Enable (Secondary) */
-#define BITM_SPORT_CTL_B_GCLKEN (_ADI_MSK(0x00200000,uint32_t)) /* Gated Clock Enable */
-#define BITM_SPORT_CTL_B_TFIEN (_ADI_MSK(0x00100000,uint32_t)) /* Transmit Finish Interrupt Enable */
-#define BITM_SPORT_CTL_B_FSED (_ADI_MSK(0x00080000,uint32_t)) /* Frame Sync Edge Detect */
-#define BITM_SPORT_CTL_B_RJUST (_ADI_MSK(0x00040000,uint32_t)) /* Right-Justified Operation Mode */
-#define BITM_SPORT_CTL_B_LAFS (_ADI_MSK(0x00020000,uint32_t)) /* Late Frame Sync / OPMODE2 */
-#define BITM_SPORT_CTL_B_LFS (_ADI_MSK(0x00010000,uint32_t)) /* Active-Low Frame Sync / L_FIRST / PLFS */
-#define BITM_SPORT_CTL_B_DIFS (_ADI_MSK(0x00008000,uint32_t)) /* Data-Independent Frame Sync */
-#define BITM_SPORT_CTL_B_IFS (_ADI_MSK(0x00004000,uint32_t)) /* Internal Frame Sync */
-#define BITM_SPORT_CTL_B_FSR (_ADI_MSK(0x00002000,uint32_t)) /* Frame Sync Required */
-#define BITM_SPORT_CTL_B_CKRE (_ADI_MSK(0x00001000,uint32_t)) /* Clock Rising Edge */
-#define BITM_SPORT_CTL_B_OPMODE (_ADI_MSK(0x00000800,uint32_t)) /* Operation mode */
-#define BITM_SPORT_CTL_B_ICLK (_ADI_MSK(0x00000400,uint32_t)) /* Internal Clock */
-#define BITM_SPORT_CTL_B_PACK (_ADI_MSK(0x00000200,uint32_t)) /* Packing Enable */
-#define BITM_SPORT_CTL_B_SLEN (_ADI_MSK(0x000001F0,uint32_t)) /* Serial Word Length */
-#define BITM_SPORT_CTL_B_LSBF (_ADI_MSK(0x00000008,uint32_t)) /* Least-Significant Bit First */
-#define BITM_SPORT_CTL_B_DTYPE (_ADI_MSK(0x00000006,uint32_t)) /* Data Type */
-#define BITM_SPORT_CTL_B_SPENPRI (_ADI_MSK(0x00000001,uint32_t)) /* Serial Port Enable (Primary) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_DIV_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_DIV_B_FSDIV 16 /* Frame Sync Divisor */
-#define BITP_SPORT_DIV_B_CLKDIV 0 /* Clock Divisor */
-
-/* The fields and enumerations for SPORT_DIV_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_DIV_A */
-
-#define BITM_SPORT_DIV_B_FSDIV (_ADI_MSK(0xFFFF0000,uint32_t)) /* Frame Sync Divisor */
-#define BITM_SPORT_DIV_B_CLKDIV (_ADI_MSK(0x0000FFFF,uint32_t)) /* Clock Divisor */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MCTL_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MCTL_B_WOFFSET 16 /* Window Offset */
-#define BITP_SPORT_MCTL_B_WSIZE 8 /* Window Size */
-#define BITP_SPORT_MCTL_B_MFD 4 /* Multi-channel Frame Delay */
-#define BITP_SPORT_MCTL_B_MCPDE 2 /* Multi-Channel Packing DMA Enable */
-#define BITP_SPORT_MCTL_B_MCE 0 /* Multi-Channel Enable */
-
-/* The fields and enumerations for SPORT_MCTL_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MCTL_A */
-
-#define BITM_SPORT_MCTL_B_WOFFSET (_ADI_MSK(0x03FF0000,uint32_t)) /* Window Offset */
-#define BITM_SPORT_MCTL_B_WSIZE (_ADI_MSK(0x00007F00,uint32_t)) /* Window Size */
-#define BITM_SPORT_MCTL_B_MFD (_ADI_MSK(0x000000F0,uint32_t)) /* Multi-channel Frame Delay */
-#define BITM_SPORT_MCTL_B_MCPDE (_ADI_MSK(0x00000004,uint32_t)) /* Multi-Channel Packing DMA Enable */
-#define BITM_SPORT_MCTL_B_MCE (_ADI_MSK(0x00000001,uint32_t)) /* Multi-Channel Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_ERR_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_ERR_B_FSERRSTAT 6 /* Frame Sync Error Status */
-#define BITP_SPORT_ERR_B_DERRSSTAT 5 /* Data Error Secondary Status */
-#define BITP_SPORT_ERR_B_DERRPSTAT 4 /* Data Error Primary Status */
-#define BITP_SPORT_ERR_B_FSERRMSK 2 /* Frame Sync Error (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRSMSK 1 /* Data Error Secondary (Interrupt) Mask */
-#define BITP_SPORT_ERR_B_DERRPMSK 0 /* Data Error Primary (Interrupt) Mask */
-
-/* The fields and enumerations for SPORT_ERR_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_ERR_A */
-
-#define BITM_SPORT_ERR_B_FSERRSTAT (_ADI_MSK(0x00000040,uint32_t)) /* Frame Sync Error Status */
-#define BITM_SPORT_ERR_B_DERRSSTAT (_ADI_MSK(0x00000020,uint32_t)) /* Data Error Secondary Status */
-#define BITM_SPORT_ERR_B_DERRPSTAT (_ADI_MSK(0x00000010,uint32_t)) /* Data Error Primary Status */
-#define BITM_SPORT_ERR_B_FSERRMSK (_ADI_MSK(0x00000004,uint32_t)) /* Frame Sync Error (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRSMSK (_ADI_MSK(0x00000002,uint32_t)) /* Data Error Secondary (Interrupt) Mask */
-#define BITM_SPORT_ERR_B_DERRPMSK (_ADI_MSK(0x00000001,uint32_t)) /* Data Error Primary (Interrupt) Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_MSTAT_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_MSTAT_B_CURCHAN 0 /* Current Channel */
-
-/* The fields and enumerations for SPORT_MSTAT_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_MSTAT_A */
-
-#define BITM_SPORT_MSTAT_B_CURCHAN (_ADI_MSK(0x000003FF,uint32_t)) /* Current Channel */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPORT_CTL2_B Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPORT_CTL2_B_CKMUXSEL 1 /* Clock Multiplexer Select */
-#define BITP_SPORT_CTL2_B_FSMUXSEL 0 /* Frame Sync Multiplexer Select */
-
-/* The fields and enumerations for SPORT_CTL2_B are also in SPORT - see the common set of ENUM_SPORT_* #defines located with register SPORT_CTL2_A */
-
-#define BITM_SPORT_CTL2_B_CKMUXSEL (_ADI_MSK(0x00000002,uint32_t)) /* Clock Multiplexer Select */
-#define BITM_SPORT_CTL2_B_FSMUXSEL (_ADI_MSK(0x00000001,uint32_t)) /* Frame Sync Multiplexer Select */
-
-/* ==================================================
- Serial Peripheral Interface Registers
- ================================================== */
-
-/* =========================
- SPI0
- ========================= */
-#define REG_SPI0_CTL 0xFFC40404 /* SPI0 Control Register */
-#define REG_SPI0_RXCTL 0xFFC40408 /* SPI0 Receive Control Register */
-#define REG_SPI0_TXCTL 0xFFC4040C /* SPI0 Transmit Control Register */
-#define REG_SPI0_CLK 0xFFC40410 /* SPI0 Clock Rate Register */
-#define REG_SPI0_DLY 0xFFC40414 /* SPI0 Delay Register */
-#define REG_SPI0_SLVSEL 0xFFC40418 /* SPI0 Slave Select Register */
-#define REG_SPI0_RWC 0xFFC4041C /* SPI0 Received Word Count Register */
-#define REG_SPI0_RWCR 0xFFC40420 /* SPI0 Received Word Count Reload Register */
-#define REG_SPI0_TWC 0xFFC40424 /* SPI0 Transmitted Word Count Register */
-#define REG_SPI0_TWCR 0xFFC40428 /* SPI0 Transmitted Word Count Reload Register */
-#define REG_SPI0_IMSK 0xFFC40430 /* SPI0 Interrupt Mask Register */
-#define REG_SPI0_IMSK_CLR 0xFFC40434 /* SPI0 Interrupt Mask Clear Register */
-#define REG_SPI0_IMSK_SET 0xFFC40438 /* SPI0 Interrupt Mask Set Register */
-#define REG_SPI0_STAT 0xFFC40440 /* SPI0 Status Register */
-#define REG_SPI0_ILAT 0xFFC40444 /* SPI0 Masked Interrupt Condition Register */
-#define REG_SPI0_ILAT_CLR 0xFFC40448 /* SPI0 Masked Interrupt Clear Register */
-#define REG_SPI0_RFIFO 0xFFC40450 /* SPI0 Receive FIFO Data Register */
-#define REG_SPI0_TFIFO 0xFFC40458 /* SPI0 Transmit FIFO Data Register */
-
-/* =========================
- SPI1
- ========================= */
-#define REG_SPI1_CTL 0xFFC40504 /* SPI1 Control Register */
-#define REG_SPI1_RXCTL 0xFFC40508 /* SPI1 Receive Control Register */
-#define REG_SPI1_TXCTL 0xFFC4050C /* SPI1 Transmit Control Register */
-#define REG_SPI1_CLK 0xFFC40510 /* SPI1 Clock Rate Register */
-#define REG_SPI1_DLY 0xFFC40514 /* SPI1 Delay Register */
-#define REG_SPI1_SLVSEL 0xFFC40518 /* SPI1 Slave Select Register */
-#define REG_SPI1_RWC 0xFFC4051C /* SPI1 Received Word Count Register */
-#define REG_SPI1_RWCR 0xFFC40520 /* SPI1 Received Word Count Reload Register */
-#define REG_SPI1_TWC 0xFFC40524 /* SPI1 Transmitted Word Count Register */
-#define REG_SPI1_TWCR 0xFFC40528 /* SPI1 Transmitted Word Count Reload Register */
-#define REG_SPI1_IMSK 0xFFC40530 /* SPI1 Interrupt Mask Register */
-#define REG_SPI1_IMSK_CLR 0xFFC40534 /* SPI1 Interrupt Mask Clear Register */
-#define REG_SPI1_IMSK_SET 0xFFC40538 /* SPI1 Interrupt Mask Set Register */
-#define REG_SPI1_STAT 0xFFC40540 /* SPI1 Status Register */
-#define REG_SPI1_ILAT 0xFFC40544 /* SPI1 Masked Interrupt Condition Register */
-#define REG_SPI1_ILAT_CLR 0xFFC40548 /* SPI1 Masked Interrupt Clear Register */
-#define REG_SPI1_RFIFO 0xFFC40550 /* SPI1 Receive FIFO Data Register */
-#define REG_SPI1_TFIFO 0xFFC40558 /* SPI1 Transmit FIFO Data Register */
-
-/* =========================
- SPI
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CTL_SOSI 22 /* Start on MOSI */
-#define BITP_SPI_CTL_MIOM 20 /* Multiple I/O Mode */
-#define BITP_SPI_CTL_FMODE 18 /* Fast-Mode Enable */
-#define BITP_SPI_CTL_FCWM 16 /* Flow Control Watermark */
-#define BITP_SPI_CTL_FCPL 15 /* Flow Control Polarity */
-#define BITP_SPI_CTL_FCCH 14 /* Flow Control Channel Selection */
-#define BITP_SPI_CTL_FCEN 13 /* Flow Control Enable */
-#define BITP_SPI_CTL_LSBF 12 /* Least Significant Bit First */
-#define BITP_SPI_CTL_SIZE 9 /* Word Transfer Size */
-#define BITP_SPI_CTL_EMISO 8 /* Enable MISO */
-#define BITP_SPI_CTL_SELST 7 /* Slave Select Polarity Between Transfers */
-#define BITP_SPI_CTL_ASSEL 6 /* Slave Select Pin Control */
-#define BITP_SPI_CTL_CPOL 5 /* Clock Polarity */
-#define BITP_SPI_CTL_CPHA 4 /* Clock Phase */
-#define BITP_SPI_CTL_ODM 3 /* Open Drain Mode */
-#define BITP_SPI_CTL_PSSE 2 /* Protected Slave Select Enable */
-#define BITP_SPI_CTL_MSTR 1 /* Master / Slave */
-#define BITP_SPI_CTL_EN 0 /* Enable */
-
-#define BITM_SPI_CTL_SOSI (_ADI_MSK(0x00400000,uint32_t)) /* Start on MOSI */
-#define ENUM_SPI_CTL_STMISO (_ADI_MSK(0x00000000,uint32_t)) /* SOSI: Bit 1 on MISO (DIOM) or on D3 (QIOM) */
-#define ENUM_SPI_CTL_STMOSI (_ADI_MSK(0x00400000,uint32_t)) /* SOSI: Bit 1 on MOSI (DIOM and QIOM) */
-
-#define BITM_SPI_CTL_MIOM (_ADI_MSK(0x00300000,uint32_t)) /* Multiple I/O Mode */
-#define ENUM_SPI_CTL_MIO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* MIOM: No MIOM (disabled) */
-#define ENUM_SPI_CTL_MIO_DUAL (_ADI_MSK(0x00100000,uint32_t)) /* MIOM: DIOM operation */
-#define ENUM_SPI_CTL_MIO_QUAD (_ADI_MSK(0x00200000,uint32_t)) /* MIOM: QIOM operation */
-
-#define BITM_SPI_CTL_FMODE (_ADI_MSK(0x00040000,uint32_t)) /* Fast-Mode Enable */
-#define ENUM_SPI_CTL_FAST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FMODE: Disable */
-#define ENUM_SPI_CTL_FAST_EN (_ADI_MSK(0x00040000,uint32_t)) /* FMODE: Enable */
-
-#define BITM_SPI_CTL_FCWM (_ADI_MSK(0x00030000,uint32_t)) /* Flow Control Watermark */
-#define ENUM_SPI_CTL_FIFO0 (_ADI_MSK(0x00000000,uint32_t)) /* FCWM: TFIFO empty or RFIFO full */
-#define ENUM_SPI_CTL_FIFO1 (_ADI_MSK(0x00010000,uint32_t)) /* FCWM: TFIFO 75% or more empty, or RFIFO full */
-#define ENUM_SPI_CTL_FIFO2 (_ADI_MSK(0x00020000,uint32_t)) /* FCWM: TFIFO 50% or more empty, or RFIFO full */
-
-#define BITM_SPI_CTL_FCPL (_ADI_MSK(0x00008000,uint32_t)) /* Flow Control Polarity */
-#define ENUM_SPI_CTL_FLOW_LO (_ADI_MSK(0x00000000,uint32_t)) /* FCPL: Active-low RDY */
-#define ENUM_SPI_CTL_FLOW_HI (_ADI_MSK(0x00008000,uint32_t)) /* FCPL: Active-high RDY */
-
-#define BITM_SPI_CTL_FCCH (_ADI_MSK(0x00004000,uint32_t)) /* Flow Control Channel Selection */
-#define ENUM_SPI_CTL_FLOW_RX (_ADI_MSK(0x00000000,uint32_t)) /* FCCH: Flow control on RX buffer */
-#define ENUM_SPI_CTL_FLOW_TX (_ADI_MSK(0x00004000,uint32_t)) /* FCCH: Flow control on TX buffer */
-
-#define BITM_SPI_CTL_FCEN (_ADI_MSK(0x00002000,uint32_t)) /* Flow Control Enable */
-#define ENUM_SPI_CTL_FLOW_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FCEN: Disable */
-#define ENUM_SPI_CTL_FLOW_EN (_ADI_MSK(0x00002000,uint32_t)) /* FCEN: Enable */
-
-#define BITM_SPI_CTL_LSBF (_ADI_MSK(0x00001000,uint32_t)) /* Least Significant Bit First */
-#define ENUM_SPI_CTL_MSB_FIRST (_ADI_MSK(0x00000000,uint32_t)) /* LSBF: MSB sent/received first (big endian) */
-#define ENUM_SPI_CTL_LSB_FIRST (_ADI_MSK(0x00001000,uint32_t)) /* LSBF: LSB sent/received first (little endian) */
-
-#define BITM_SPI_CTL_SIZE (_ADI_MSK(0x00000600,uint32_t)) /* Word Transfer Size */
-#define ENUM_SPI_CTL_SIZE08 (_ADI_MSK(0x00000000,uint32_t)) /* SIZE: 8-bit word */
-#define ENUM_SPI_CTL_SIZE16 (_ADI_MSK(0x00000200,uint32_t)) /* SIZE: 16-bit word */
-#define ENUM_SPI_CTL_SIZE32 (_ADI_MSK(0x00000400,uint32_t)) /* SIZE: 32-bit word */
-
-#define BITM_SPI_CTL_EMISO (_ADI_MSK(0x00000100,uint32_t)) /* Enable MISO */
-#define ENUM_SPI_CTL_MISO_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EMISO: Disable */
-#define ENUM_SPI_CTL_MISO_EN (_ADI_MSK(0x00000100,uint32_t)) /* EMISO: Enable */
-
-#define BITM_SPI_CTL_SELST (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select Polarity Between Transfers */
-#define ENUM_SPI_CTL_DEASSRT_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* SELST: De-assert slave select (high) */
-#define ENUM_SPI_CTL_ASSRT_SSEL (_ADI_MSK(0x00000080,uint32_t)) /* SELST: Assert slave select (low) */
-
-#define BITM_SPI_CTL_ASSEL (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select Pin Control */
-#define ENUM_SPI_CTL_SW_SSEL (_ADI_MSK(0x00000000,uint32_t)) /* ASSEL: Software Slave Select Control */
-#define ENUM_SPI_CTL_HW_SSEL (_ADI_MSK(0x00000040,uint32_t)) /* ASSEL: Hardware Slave Select Control */
-
-#define BITM_SPI_CTL_CPOL (_ADI_MSK(0x00000020,uint32_t)) /* Clock Polarity */
-#define ENUM_SPI_CTL_SCKHI (_ADI_MSK(0x00000000,uint32_t)) /* CPOL: Active-high SPI CLK */
-#define ENUM_SPI_CTL_SCKLO (_ADI_MSK(0x00000020,uint32_t)) /* CPOL: Active-low SPI CLK */
-
-#define BITM_SPI_CTL_CPHA (_ADI_MSK(0x00000010,uint32_t)) /* Clock Phase */
-#define ENUM_SPI_CTL_SCKMID (_ADI_MSK(0x00000000,uint32_t)) /* CPHA: SPI CLK toggles from middle */
-#define ENUM_SPI_CTL_SCKBEG (_ADI_MSK(0x00000010,uint32_t)) /* CPHA: SPI CLK toggles from start */
-
-#define BITM_SPI_CTL_ODM (_ADI_MSK(0x00000008,uint32_t)) /* Open Drain Mode */
-#define ENUM_SPI_CTL_ODM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ODM: Disable */
-#define ENUM_SPI_CTL_ODM_EN (_ADI_MSK(0x00000008,uint32_t)) /* ODM: Enable */
-
-#define BITM_SPI_CTL_PSSE (_ADI_MSK(0x00000004,uint32_t)) /* Protected Slave Select Enable */
-#define ENUM_SPI_CTL_PSSE_DIS (_ADI_MSK(0x00000000,uint32_t)) /* PSSE: Disable */
-#define ENUM_SPI_CTL_PSSE_EN (_ADI_MSK(0x00000004,uint32_t)) /* PSSE: Enable */
-
-#define BITM_SPI_CTL_MSTR (_ADI_MSK(0x00000002,uint32_t)) /* Master / Slave */
-#define ENUM_SPI_CTL_SLAVE (_ADI_MSK(0x00000000,uint32_t)) /* MSTR: Slave */
-#define ENUM_SPI_CTL_MASTER (_ADI_MSK(0x00000002,uint32_t)) /* MSTR: Master */
-
-#define BITM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SPI_CTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable SPI module */
-#define ENUM_SPI_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RXCTL_RUWM 16 /* Receive FIFO Urgent Watermark */
-#define BITP_SPI_RXCTL_RRWM 12 /* Receive FIFO Regular Watermark */
-#define BITP_SPI_RXCTL_RDO 8 /* Receive Data Overrun */
-#define BITP_SPI_RXCTL_RDR 4 /* Receive Data Request */
-#define BITP_SPI_RXCTL_RWCEN 3 /* Receive Word Counter Enable */
-#define BITP_SPI_RXCTL_RTI 2 /* Receive Transfer Initiate */
-#define BITP_SPI_RXCTL_REN 0 /* Receive Enable */
-
-#define BITM_SPI_RXCTL_RUWM (_ADI_MSK(0x00070000,uint32_t)) /* Receive FIFO Urgent Watermark */
-#define ENUM_SPI_RXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disabled */
-#define ENUM_SPI_RXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* RUWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* RUWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* RUWM: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_UWM_FULL (_ADI_MSK(0x00040000,uint32_t)) /* RUWM: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RRWM (_ADI_MSK(0x00003000,uint32_t)) /* Receive FIFO Regular Watermark */
-#define ENUM_SPI_RXCTL_RWM_0 (_ADI_MSK(0x00000000,uint32_t)) /* RRWM: Empty RFIFO */
-#define ENUM_SPI_RXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* RRWM: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* RRWM: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* RRWM: 75% full RFIFO */
-
-#define BITM_SPI_RXCTL_RDO (_ADI_MSK(0x00000100,uint32_t)) /* Receive Data Overrun */
-#define ENUM_SPI_RXCTL_DISCARD (_ADI_MSK(0x00000000,uint32_t)) /* RDO: KeDiscard incoming data if SPI_RFIFO is full */
-#define ENUM_SPI_RXCTL_OVERWRITE (_ADI_MSK(0x00000100,uint32_t)) /* RDO: Overwrite old data if SPI_RFIFO is full */
-
-#define BITM_SPI_RXCTL_RDR (_ADI_MSK(0x00000070,uint32_t)) /* Receive Data Request */
-#define ENUM_SPI_RXCTL_RDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDR: Disabled */
-#define ENUM_SPI_RXCTL_RDR_NE (_ADI_MSK(0x00000010,uint32_t)) /* RDR: Not empty RFIFO */
-#define ENUM_SPI_RXCTL_RDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* RDR: 25% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* RDR: 50% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* RDR: 75% full RFIFO */
-#define ENUM_SPI_RXCTL_RDR_FULL (_ADI_MSK(0x00000050,uint32_t)) /* RDR: Full RFIFO */
-
-#define BITM_SPI_RXCTL_RWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Receive Word Counter Enable */
-#define ENUM_SPI_RXCTL_RWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RWCEN: Disable */
-#define ENUM_SPI_RXCTL_RWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* RWCEN: Enable */
-
-#define BITM_SPI_RXCTL_RTI (_ADI_MSK(0x00000004,uint32_t)) /* Receive Transfer Initiate */
-#define ENUM_SPI_RXCTL_RTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RTI: Disable */
-#define ENUM_SPI_RXCTL_RTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* RTI: Enable */
-
-#define BITM_SPI_RXCTL_REN (_ADI_MSK(0x00000001,uint32_t)) /* Receive Enable */
-#define ENUM_SPI_RXCTL_RX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* REN: Disable */
-#define ENUM_SPI_RXCTL_RX_EN (_ADI_MSK(0x00000001,uint32_t)) /* REN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TXCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TXCTL_TUWM 16 /* FIFO Urgent Watermark */
-#define BITP_SPI_TXCTL_TRWM 12 /* FIFO Regular Watermark */
-#define BITP_SPI_TXCTL_TDU 8 /* Transmit Data Under-run */
-#define BITP_SPI_TXCTL_TDR 4 /* Transmit Data Request */
-#define BITP_SPI_TXCTL_TWCEN 3 /* Transmit Word Counter Enable */
-#define BITP_SPI_TXCTL_TTI 2 /* Transmit Transfer Initiate */
-#define BITP_SPI_TXCTL_TEN 0 /* Transmit Enable */
-
-#define BITM_SPI_TXCTL_TUWM (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Urgent Watermark */
-#define ENUM_SPI_TXCTL_UWM_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disabled */
-#define ENUM_SPI_TXCTL_UWM_25 (_ADI_MSK(0x00010000,uint32_t)) /* TUWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_50 (_ADI_MSK(0x00020000,uint32_t)) /* TUWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_75 (_ADI_MSK(0x00030000,uint32_t)) /* TUWM: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_UWM_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TUWM: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TRWM (_ADI_MSK(0x00003000,uint32_t)) /* FIFO Regular Watermark */
-#define ENUM_SPI_TXCTL_RWM_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TRWM: Full TFIFO */
-#define ENUM_SPI_TXCTL_RWM_25 (_ADI_MSK(0x00001000,uint32_t)) /* TRWM: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_50 (_ADI_MSK(0x00002000,uint32_t)) /* TRWM: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_RWM_75 (_ADI_MSK(0x00003000,uint32_t)) /* TRWM: 75% empty TFIFO */
-
-#define BITM_SPI_TXCTL_TDU (_ADI_MSK(0x00000100,uint32_t)) /* Transmit Data Under-run */
-#define ENUM_SPI_TXCTL_LASTWD (_ADI_MSK(0x00000000,uint32_t)) /* TDU: Send last word when SPI_TFIFO is empty */
-#define ENUM_SPI_TXCTL_ZERO (_ADI_MSK(0x00000100,uint32_t)) /* TDU: Send zeros when SPI_TFIFO is empty */
-
-#define BITM_SPI_TXCTL_TDR (_ADI_MSK(0x00000070,uint32_t)) /* Transmit Data Request */
-#define ENUM_SPI_TXCTL_TDR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TDR: Disabled */
-#define ENUM_SPI_TXCTL_TDR_NF (_ADI_MSK(0x00000010,uint32_t)) /* TDR: Not full TFIFO */
-#define ENUM_SPI_TXCTL_TDR_25 (_ADI_MSK(0x00000020,uint32_t)) /* TDR: 25% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_50 (_ADI_MSK(0x00000030,uint32_t)) /* TDR: 50% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_75 (_ADI_MSK(0x00000040,uint32_t)) /* TDR: 75% empty TFIFO */
-#define ENUM_SPI_TXCTL_TDR_EMPTY (_ADI_MSK(0x00000050,uint32_t)) /* TDR: Empty TFIFO */
-
-#define BITM_SPI_TXCTL_TWCEN (_ADI_MSK(0x00000008,uint32_t)) /* Transmit Word Counter Enable */
-#define ENUM_SPI_TXCTL_TWC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TWCEN: Disable */
-#define ENUM_SPI_TXCTL_TWC_EN (_ADI_MSK(0x00000008,uint32_t)) /* TWCEN: Enable */
-
-#define BITM_SPI_TXCTL_TTI (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Transfer Initiate */
-#define ENUM_SPI_TXCTL_TTI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TTI: Disable */
-#define ENUM_SPI_TXCTL_TTI_EN (_ADI_MSK(0x00000004,uint32_t)) /* TTI: Enable */
-
-#define BITM_SPI_TXCTL_TEN (_ADI_MSK(0x00000001,uint32_t)) /* Transmit Enable */
-#define ENUM_SPI_TXCTL_TX_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TEN: Disable */
-#define ENUM_SPI_TXCTL_TX_EN (_ADI_MSK(0x00000001,uint32_t)) /* TEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_CLK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_CLK_BAUD 0 /* Baud Rate */
-#define BITM_SPI_CLK_BAUD (_ADI_MSK(0x0000FFFF,uint32_t)) /* Baud Rate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_DLY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_DLY_LAGX 9 /* Extended SPI Clock Lag Control */
-#define BITP_SPI_DLY_LEADX 8 /* Extended SPI Clock Lead Control */
-#define BITP_SPI_DLY_STOP 0 /* Transfer delay time in multiples of SPI clock period */
-#define BITM_SPI_DLY_LAGX (_ADI_MSK(0x00000200,uint32_t)) /* Extended SPI Clock Lag Control */
-#define BITM_SPI_DLY_LEADX (_ADI_MSK(0x00000100,uint32_t)) /* Extended SPI Clock Lead Control */
-#define BITM_SPI_DLY_STOP (_ADI_MSK(0x000000FF,uint32_t)) /* Transfer delay time in multiples of SPI clock period */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_SLVSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_SLVSEL_SSEL7 15 /* Slave Select 7 Input */
-#define BITP_SPI_SLVSEL_SSEL6 14 /* Slave Select 6 Input */
-#define BITP_SPI_SLVSEL_SSEL5 13 /* Slave Select 5 Input */
-#define BITP_SPI_SLVSEL_SSEL4 12 /* Slave Select 4 Input */
-#define BITP_SPI_SLVSEL_SSEL3 11 /* Slave Select 3 Input */
-#define BITP_SPI_SLVSEL_SSEL2 10 /* Slave Select 2 Input */
-#define BITP_SPI_SLVSEL_SSEL1 9 /* Slave Select 1 Input */
-#define BITP_SPI_SLVSEL_SSE7 7 /* Slave Select 7 Enable */
-#define BITP_SPI_SLVSEL_SSE6 6 /* Slave Select 6 Enable */
-#define BITP_SPI_SLVSEL_SSE5 5 /* Slave Select 5 Enable */
-#define BITP_SPI_SLVSEL_SSE4 4 /* Slave Select 4 Enable */
-#define BITP_SPI_SLVSEL_SSE3 3 /* Slave Select 3 Enable */
-#define BITP_SPI_SLVSEL_SSE2 2 /* Slave Select 2 Enable */
-#define BITP_SPI_SLVSEL_SSE1 1 /* Slave Select 1 Enable */
-
-#define BITM_SPI_SLVSEL_SSEL7 (_ADI_MSK(0x00008000,uint32_t)) /* Slave Select 7 Input */
-#define ENUM_SPI_SLVSEL_SSEL7_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL7: Low */
-#define ENUM_SPI_SLVSEL_SSEL7_HI (_ADI_MSK(0x00008000,uint32_t)) /* SSEL7: High */
-
-#define BITM_SPI_SLVSEL_SSEL6 (_ADI_MSK(0x00004000,uint32_t)) /* Slave Select 6 Input */
-#define ENUM_SPI_SLVSEL_SSEL6_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL6: Low */
-#define ENUM_SPI_SLVSEL_SSEL6_HI (_ADI_MSK(0x00004000,uint32_t)) /* SSEL6: High */
-
-#define BITM_SPI_SLVSEL_SSEL5 (_ADI_MSK(0x00002000,uint32_t)) /* Slave Select 5 Input */
-#define ENUM_SPI_SLVSEL_SSEL5_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL5: Low */
-#define ENUM_SPI_SLVSEL_SSEL5_HI (_ADI_MSK(0x00002000,uint32_t)) /* SSEL5: High */
-
-#define BITM_SPI_SLVSEL_SSEL4 (_ADI_MSK(0x00001000,uint32_t)) /* Slave Select 4 Input */
-#define ENUM_SPI_SLVSEL_SSEL4_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL4: Low */
-#define ENUM_SPI_SLVSEL_SSEL4_HI (_ADI_MSK(0x00001000,uint32_t)) /* SSEL4: High */
-
-#define BITM_SPI_SLVSEL_SSEL3 (_ADI_MSK(0x00000800,uint32_t)) /* Slave Select 3 Input */
-#define ENUM_SPI_SLVSEL_SSEL3_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL3: Low */
-#define ENUM_SPI_SLVSEL_SSEL3_HI (_ADI_MSK(0x00000800,uint32_t)) /* SSEL3: High */
-
-#define BITM_SPI_SLVSEL_SSEL2 (_ADI_MSK(0x00000400,uint32_t)) /* Slave Select 2 Input */
-#define ENUM_SPI_SLVSEL_SSEL2_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL2: Low */
-#define ENUM_SPI_SLVSEL_SSEL2_HI (_ADI_MSK(0x00000400,uint32_t)) /* SSEL2: High */
-
-#define BITM_SPI_SLVSEL_SSEL1 (_ADI_MSK(0x00000200,uint32_t)) /* Slave Select 1 Input */
-#define ENUM_SPI_SLVSEL_SSEL1_LO (_ADI_MSK(0x00000000,uint32_t)) /* SSEL1: Low */
-#define ENUM_SPI_SLVSEL_SSEL1_HI (_ADI_MSK(0x00000200,uint32_t)) /* SSEL1: High */
-
-#define BITM_SPI_SLVSEL_SSE7 (_ADI_MSK(0x00000080,uint32_t)) /* Slave Select 7 Enable */
-#define ENUM_SPI_SLVSEL_SSEL7_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE7: Disable */
-#define ENUM_SPI_SLVSEL_SSEL7_EN (_ADI_MSK(0x00000080,uint32_t)) /* SSE7: Enable */
-
-#define BITM_SPI_SLVSEL_SSE6 (_ADI_MSK(0x00000040,uint32_t)) /* Slave Select 6 Enable */
-#define ENUM_SPI_SLVSEL_SSEL6_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE6: Disable */
-#define ENUM_SPI_SLVSEL_SSEL6_EN (_ADI_MSK(0x00000040,uint32_t)) /* SSE6: Enable */
-
-#define BITM_SPI_SLVSEL_SSE5 (_ADI_MSK(0x00000020,uint32_t)) /* Slave Select 5 Enable */
-#define ENUM_SPI_SLVSEL_SSEL5_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE5: Disable */
-#define ENUM_SPI_SLVSEL_SSEL5_EN (_ADI_MSK(0x00000020,uint32_t)) /* SSE5: Enable */
-
-#define BITM_SPI_SLVSEL_SSE4 (_ADI_MSK(0x00000010,uint32_t)) /* Slave Select 4 Enable */
-#define ENUM_SPI_SLVSEL_SSEL4_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE4: Disable */
-#define ENUM_SPI_SLVSEL_SSEL4_EN (_ADI_MSK(0x00000010,uint32_t)) /* SSE4: Enable */
-
-#define BITM_SPI_SLVSEL_SSE3 (_ADI_MSK(0x00000008,uint32_t)) /* Slave Select 3 Enable */
-#define ENUM_SPI_SLVSEL_SSEL3_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE3: Disable */
-#define ENUM_SPI_SLVSEL_SSEL3_EN (_ADI_MSK(0x00000008,uint32_t)) /* SSE3: Enable */
-
-#define BITM_SPI_SLVSEL_SSE2 (_ADI_MSK(0x00000004,uint32_t)) /* Slave Select 2 Enable */
-#define ENUM_SPI_SLVSEL_SSEL2_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE2: Disable */
-#define ENUM_SPI_SLVSEL_SSEL2_EN (_ADI_MSK(0x00000004,uint32_t)) /* SSE2: Enable */
-
-#define BITM_SPI_SLVSEL_SSE1 (_ADI_MSK(0x00000002,uint32_t)) /* Slave Select 1 Enable */
-#define ENUM_SPI_SLVSEL_SSEL1_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SSE1: Disable */
-#define ENUM_SPI_SLVSEL_SSEL1_EN (_ADI_MSK(0x00000002,uint32_t)) /* SSE1: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWC_VALUE 0 /* Received Word Count */
-#define BITM_SPI_RWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_RWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_RWCR_VALUE 0 /* Received Word Count Reload */
-#define BITM_SPI_RWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Received Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWC_VALUE 0 /* Transmitted Word Count */
-#define BITM_SPI_TWC_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_TWCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_TWCR_VALUE 0 /* Transmitted Word Count Reload */
-#define BITM_SPI_TWCR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Transmitted Word Count Reload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_TF 11 /* Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_RF 10 /* Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_TS 9 /* Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_RS 8 /* Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_MF 7 /* Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_TC 6 /* Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_TUR 5 /* Transmit Underrun Interrupt Mask */
-#define BITP_SPI_IMSK_ROR 4 /* Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_TUWM 2 /* Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_RUWM 1 /* Receive Urgent Watermark Interrupt Mask */
-
-#define BITM_SPI_IMSK_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Mask */
-#define ENUM_SPI_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: Disable (mask) interrupt */
-#define ENUM_SPI_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Mask */
-#define ENUM_SPI_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: Disable (mask) interrupt */
-#define ENUM_SPI_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Mask */
-#define ENUM_SPI_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: Disable (mask) interrupt */
-#define ENUM_SPI_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Mask */
-#define ENUM_SPI_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: Disable (mask) interrupt */
-#define ENUM_SPI_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Mask */
-#define ENUM_SPI_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: Disable (mask) interrupt */
-#define ENUM_SPI_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Mask */
-#define ENUM_SPI_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: Disable (mask) interrupt */
-#define ENUM_SPI_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Interrupt Mask */
-#define ENUM_SPI_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: Disable (mask) interrupt */
-#define ENUM_SPI_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Mask */
-#define ENUM_SPI_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: Disable (mask) interrupt */
-#define ENUM_SPI_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: Disable (mask) interrupt */
-#define ENUM_SPI_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Enable (unmask) interrupt */
-
-#define BITM_SPI_IMSK_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Mask */
-#define ENUM_SPI_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: Disable (mask) interrupt */
-#define ENUM_SPI_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Enable (unmask) interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_CLR_TF 11 /* Clear Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RF 10 /* Clear Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TS 9 /* Clear Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RS 8 /* Clear Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_MF 7 /* Clear Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TC 6 /* Clear Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_ROR 4 /* Clear Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_IMSK_SET Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_IMSK_SET_TF 11 /* Set Transmit Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RF 10 /* Set Receive Finish Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TS 9 /* Set Transmit Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RS 8 /* Set Receive Start Interrupt Mask */
-#define BITP_SPI_IMSK_SET_MF 7 /* Set Mode Fault Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TC 6 /* Set Transmit Collision Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUR 5 /* Set Transmit Under-run Interrupt Mask */
-#define BITP_SPI_IMSK_SET_ROR 4 /* Set Receive Overrun Interrupt Mask */
-#define BITP_SPI_IMSK_SET_TUWM 2 /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITP_SPI_IMSK_SET_RUWM 1 /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* The fields and enumerations for SPI_IMSK_SET are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_IMSK_SET_TF (_ADI_MSK(0x00000800,uint32_t)) /* Set Transmit Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RF (_ADI_MSK(0x00000400,uint32_t)) /* Set Receive Finish Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TS (_ADI_MSK(0x00000200,uint32_t)) /* Set Transmit Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RS (_ADI_MSK(0x00000100,uint32_t)) /* Set Receive Start Interrupt Mask */
-#define BITM_SPI_IMSK_SET_MF (_ADI_MSK(0x00000080,uint32_t)) /* Set Mode Fault Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TC (_ADI_MSK(0x00000040,uint32_t)) /* Set Transmit Collision Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Set Transmit Under-run Interrupt Mask */
-#define BITM_SPI_IMSK_SET_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Set Receive Overrun Interrupt Mask */
-#define BITM_SPI_IMSK_SET_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Set Transmit Urgent Watermark Interrupt Mask */
-#define BITM_SPI_IMSK_SET_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Set Receive Urgent Watermark Interrupt Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_STAT_TFF 23 /* SPI_TFIFO Full */
-#define BITP_SPI_STAT_RFE 22 /* SPI_RFIFO Empty */
-#define BITP_SPI_STAT_FCS 20 /* Flow Control Stall Indication */
-#define BITP_SPI_STAT_TFS 16 /* SPI_TFIFO Status */
-#define BITP_SPI_STAT_RFS 12 /* SPI_RFIFO Status */
-#define BITP_SPI_STAT_TF 11 /* Transmit Finish Indication */
-#define BITP_SPI_STAT_RF 10 /* Receive Finish Indication */
-#define BITP_SPI_STAT_TS 9 /* Transmit Start */
-#define BITP_SPI_STAT_RS 8 /* Receive Start */
-#define BITP_SPI_STAT_MF 7 /* Mode Fault Indication */
-#define BITP_SPI_STAT_TC 6 /* Transmit Collision Indication */
-#define BITP_SPI_STAT_TUR 5 /* Transmit Underrun Indication */
-#define BITP_SPI_STAT_ROR 4 /* Receive Overrun Indication */
-#define BITP_SPI_STAT_TUWM 2 /* Transmit Urgent Watermark Breached */
-#define BITP_SPI_STAT_RUWM 1 /* Receive Urgent Watermark Breached */
-#define BITP_SPI_STAT_SPIF 0 /* SPI Finished */
-
-#define BITM_SPI_STAT_TFF (_ADI_MSK(0x00800000,uint32_t)) /* SPI_TFIFO Full */
-#define ENUM_SPI_STAT_TFIFO_NF (_ADI_MSK(0x00000000,uint32_t)) /* TFF: Not full Tx FIFO */
-#define ENUM_SPI_STAT_TFIFO_F (_ADI_MSK(0x00800000,uint32_t)) /* TFF: Full Tx FIFO */
-
-#define BITM_SPI_STAT_RFE (_ADI_MSK(0x00400000,uint32_t)) /* SPI_RFIFO Empty */
-#define ENUM_SPI_STAT_RFIFO_E (_ADI_MSK(0x00000000,uint32_t)) /* RFE: Empty Rx FIFO */
-#define ENUM_SPI_STAT_RFIFO_NE (_ADI_MSK(0x00400000,uint32_t)) /* RFE: Not empty Rx FIFO */
-
-#define BITM_SPI_STAT_FCS (_ADI_MSK(0x00100000,uint32_t)) /* Flow Control Stall Indication */
-#define ENUM_SPI_STAT_STALL (_ADI_MSK(0x00000000,uint32_t)) /* FCS: Stall (RDY pin asserted) */
-#define ENUM_SPI_STAT_NOSTALL (_ADI_MSK(0x00100000,uint32_t)) /* FCS: No stall (RDY pin de-asserted) */
-
-#define BITM_SPI_STAT_TFS (_ADI_MSK(0x00070000,uint32_t)) /* SPI_TFIFO Status */
-#define ENUM_SPI_STAT_TFIFO_FULL (_ADI_MSK(0x00000000,uint32_t)) /* TFS: Full TFIFO */
-#define ENUM_SPI_STAT_TFIFO_25 (_ADI_MSK(0x00010000,uint32_t)) /* TFS: 25% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_50 (_ADI_MSK(0x00020000,uint32_t)) /* TFS: 50% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_75 (_ADI_MSK(0x00030000,uint32_t)) /* TFS: 75% empty TFIFO */
-#define ENUM_SPI_STAT_TFIFO_EMPTY (_ADI_MSK(0x00040000,uint32_t)) /* TFS: Empty TFIFO */
-
-#define BITM_SPI_STAT_RFS (_ADI_MSK(0x00007000,uint32_t)) /* SPI_RFIFO Status */
-#define ENUM_SPI_STAT_RFIFO_EMPTY (_ADI_MSK(0x00000000,uint32_t)) /* RFS: Empty RFIFO */
-#define ENUM_SPI_STAT_RFIFO_25 (_ADI_MSK(0x00001000,uint32_t)) /* RFS: 25% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_50 (_ADI_MSK(0x00002000,uint32_t)) /* RFS: 50% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_75 (_ADI_MSK(0x00003000,uint32_t)) /* RFS: 75% full RFIFO */
-#define ENUM_SPI_STAT_RFIFO_FULL (_ADI_MSK(0x00004000,uint32_t)) /* RFS: Full RFIFO */
-
-#define BITM_SPI_STAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Indication */
-#define ENUM_SPI_STAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No status */
-#define ENUM_SPI_STAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Transmit finish detected */
-
-#define BITM_SPI_STAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Indication */
-#define ENUM_SPI_STAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No status */
-#define ENUM_SPI_STAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Receive finish detected */
-
-#define BITM_SPI_STAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start */
-#define ENUM_SPI_STAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No status */
-#define ENUM_SPI_STAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Transmit start detected */
-
-#define BITM_SPI_STAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start */
-#define ENUM_SPI_STAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No status */
-#define ENUM_SPI_STAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Receive start detected */
-
-#define BITM_SPI_STAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Indication */
-#define ENUM_SPI_STAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No status */
-#define ENUM_SPI_STAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Mode fault occurred */
-
-#define BITM_SPI_STAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Indication */
-#define ENUM_SPI_STAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No status */
-#define ENUM_SPI_STAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Transmit collision occurred */
-
-#define BITM_SPI_STAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Underrun Indication */
-#define ENUM_SPI_STAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No status */
-#define ENUM_SPI_STAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Transmit underrun occurred */
-
-#define BITM_SPI_STAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Indication */
-#define ENUM_SPI_STAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No status */
-#define ENUM_SPI_STAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Receive overrun occurred */
-
-#define BITM_SPI_STAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Breached */
-#define ENUM_SPI_STAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: TX Regular Watermark reached */
-#define ENUM_SPI_STAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: TX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Breached */
-#define ENUM_SPI_STAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: RX Regular Watermark reached */
-#define ENUM_SPI_STAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: RX Urgent Watermark breached */
-
-#define BITM_SPI_STAT_SPIF (_ADI_MSK(0x00000001,uint32_t)) /* SPI Finished */
-#define ENUM_SPI_STAT_SPIF_LO (_ADI_MSK(0x00000000,uint32_t)) /* SPIF: No status */
-#define ENUM_SPI_STAT_SPIF_HI (_ADI_MSK(0x00000001,uint32_t)) /* SPIF: Completed single-word transfer */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_TF 11 /* Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_RF 10 /* Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_TS 9 /* Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_RS 8 /* Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_MF 7 /* Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_TC 6 /* Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_TUR 5 /* Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_ROR 4 /* Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_TUWM 2 /* Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_RUWM 1 /* Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-
-#define BITM_SPI_ILAT_TF (_ADI_MSK(0x00000800,uint32_t)) /* Transmit Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_TF_LO (_ADI_MSK(0x00000000,uint32_t)) /* TF: No interrupt */
-#define ENUM_SPI_ILAT_TF_HI (_ADI_MSK(0x00000800,uint32_t)) /* TF: Latched interrupt */
-
-#define BITM_SPI_ILAT_RF (_ADI_MSK(0x00000400,uint32_t)) /* Receive Finish Interrupt Latch */
-#define ENUM_SPI_ILAT_RF_LO (_ADI_MSK(0x00000000,uint32_t)) /* RF: No interrupt */
-#define ENUM_SPI_ILAT_RF_HI (_ADI_MSK(0x00000400,uint32_t)) /* RF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TS (_ADI_MSK(0x00000200,uint32_t)) /* Transmit Start Interrupt Latch */
-#define ENUM_SPI_ILAT_TS_LO (_ADI_MSK(0x00000000,uint32_t)) /* TS: No interrupt */
-#define ENUM_SPI_ILAT_TS_HI (_ADI_MSK(0x00000200,uint32_t)) /* TS: Latched interrupt */
-
-#define BITM_SPI_ILAT_RS (_ADI_MSK(0x00000100,uint32_t)) /* Receive Start Interrupt Latch */
-#define ENUM_SPI_ILAT_RS_LO (_ADI_MSK(0x00000000,uint32_t)) /* RS: No interrupt */
-#define ENUM_SPI_ILAT_RS_HI (_ADI_MSK(0x00000100,uint32_t)) /* RS: Latched interrupt */
-
-#define BITM_SPI_ILAT_MF (_ADI_MSK(0x00000080,uint32_t)) /* Mode Fault Interrupt Latch */
-#define ENUM_SPI_ILAT_MF_LO (_ADI_MSK(0x00000000,uint32_t)) /* MF: No interrupt */
-#define ENUM_SPI_ILAT_MF_HI (_ADI_MSK(0x00000080,uint32_t)) /* MF: Latched interrupt */
-
-#define BITM_SPI_ILAT_TC (_ADI_MSK(0x00000040,uint32_t)) /* Transmit Collision Interrupt Latch */
-#define ENUM_SPI_ILAT_TC_LO (_ADI_MSK(0x00000000,uint32_t)) /* TC: No interrupt */
-#define ENUM_SPI_ILAT_TC_HI (_ADI_MSK(0x00000040,uint32_t)) /* TC: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Transmit Under-run Interrupt Latch */
-#define ENUM_SPI_ILAT_TUR_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUR: No interrupt */
-#define ENUM_SPI_ILAT_TUR_HI (_ADI_MSK(0x00000020,uint32_t)) /* TUR: Latched interrupt */
-
-#define BITM_SPI_ILAT_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Receive Overrun Interrupt Latch */
-#define ENUM_SPI_ILAT_ROR_LO (_ADI_MSK(0x00000000,uint32_t)) /* ROR: No interrupt */
-#define ENUM_SPI_ILAT_ROR_HI (_ADI_MSK(0x00000010,uint32_t)) /* ROR: Latched interrupt */
-
-#define BITM_SPI_ILAT_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Transmit Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_TUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* TUWM: No interrupt */
-#define ENUM_SPI_ILAT_TUWM_HI (_ADI_MSK(0x00000004,uint32_t)) /* TUWM: Latched interrupt */
-
-#define BITM_SPI_ILAT_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Receive Urgent Watermark Interrupt Latch */
-#define ENUM_SPI_ILAT_RUWM_LO (_ADI_MSK(0x00000000,uint32_t)) /* RUWM: No interrupt */
-#define ENUM_SPI_ILAT_RUWM_HI (_ADI_MSK(0x00000002,uint32_t)) /* RUWM: Latched interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPI_ILAT_CLR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPI_ILAT_CLR_TF 11 /* Clear Transmit Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RF 10 /* Clear Receive Finish Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TS 9 /* Clear Transmit Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RS 8 /* Clear Receive Start Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_MF 7 /* Clear Mode Fault Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TC 6 /* Clear Transmit Collision Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUR 5 /* Clear Transmit Under-run Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_ROR 4 /* Clear Receive Overrun Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_TUWM 2 /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITP_SPI_ILAT_CLR_RUWM 1 /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* The fields and enumerations for SPI_ILAT_CLR are also in SPI - see the common set of ENUM_SPI_* #defines located with register SPI_IMSK */
-
-#define BITM_SPI_ILAT_CLR_TF (_ADI_MSK(0x00000800,uint32_t)) /* Clear Transmit Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RF (_ADI_MSK(0x00000400,uint32_t)) /* Clear Receive Finish Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TS (_ADI_MSK(0x00000200,uint32_t)) /* Clear Transmit Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RS (_ADI_MSK(0x00000100,uint32_t)) /* Clear Receive Start Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_MF (_ADI_MSK(0x00000080,uint32_t)) /* Clear Mode Fault Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TC (_ADI_MSK(0x00000040,uint32_t)) /* Clear Transmit Collision Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUR (_ADI_MSK(0x00000020,uint32_t)) /* Clear Transmit Under-run Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_ROR (_ADI_MSK(0x00000010,uint32_t)) /* Clear Receive Overrun Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_TUWM (_ADI_MSK(0x00000004,uint32_t)) /* Clear Transmit Urgent Watermark Interrupt Latch */
-#define BITM_SPI_ILAT_CLR_RUWM (_ADI_MSK(0x00000002,uint32_t)) /* Clear Receive Urgent Watermark Interrupt Latch */
-
-/* ==================================================
- DMA Channel Registers
- ================================================== */
-
-/* =========================
- DMA0
- ========================= */
-#define REG_DMA0_DSCPTR_NXT 0xFFC41000 /* DMA0 Pointer to Next Initial Descriptor */
-#define REG_DMA0_ADDRSTART 0xFFC41004 /* DMA0 Start Address of Current Buffer */
-#define REG_DMA0_CFG 0xFFC41008 /* DMA0 Configuration Register */
-#define REG_DMA0_XCNT 0xFFC4100C /* DMA0 Inner Loop Count Start Value */
-#define REG_DMA0_XMOD 0xFFC41010 /* DMA0 Inner Loop Address Increment */
-#define REG_DMA0_YCNT 0xFFC41014 /* DMA0 Outer Loop Count Start Value (2D only) */
-#define REG_DMA0_YMOD 0xFFC41018 /* DMA0 Outer Loop Address Increment (2D only) */
-#define REG_DMA0_DSCPTR_CUR 0xFFC41024 /* DMA0 Current Descriptor Pointer */
-#define REG_DMA0_DSCPTR_PRV 0xFFC41028 /* DMA0 Previous Initial Descriptor Pointer */
-#define REG_DMA0_ADDR_CUR 0xFFC4102C /* DMA0 Current Address */
-#define REG_DMA0_STAT 0xFFC41030 /* DMA0 Status Register */
-#define REG_DMA0_XCNT_CUR 0xFFC41034 /* DMA0 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA0_YCNT_CUR 0xFFC41038 /* DMA0 Current Row Count (2D only) */
-#define REG_DMA0_BWLCNT 0xFFC41040 /* DMA0 Bandwidth Limit Count */
-#define REG_DMA0_BWLCNT_CUR 0xFFC41044 /* DMA0 Bandwidth Limit Count Current */
-#define REG_DMA0_BWMCNT 0xFFC41048 /* DMA0 Bandwidth Monitor Count */
-#define REG_DMA0_BWMCNT_CUR 0xFFC4104C /* DMA0 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA1
- ========================= */
-#define REG_DMA1_DSCPTR_NXT 0xFFC41080 /* DMA1 Pointer to Next Initial Descriptor */
-#define REG_DMA1_ADDRSTART 0xFFC41084 /* DMA1 Start Address of Current Buffer */
-#define REG_DMA1_CFG 0xFFC41088 /* DMA1 Configuration Register */
-#define REG_DMA1_XCNT 0xFFC4108C /* DMA1 Inner Loop Count Start Value */
-#define REG_DMA1_XMOD 0xFFC41090 /* DMA1 Inner Loop Address Increment */
-#define REG_DMA1_YCNT 0xFFC41094 /* DMA1 Outer Loop Count Start Value (2D only) */
-#define REG_DMA1_YMOD 0xFFC41098 /* DMA1 Outer Loop Address Increment (2D only) */
-#define REG_DMA1_DSCPTR_CUR 0xFFC410A4 /* DMA1 Current Descriptor Pointer */
-#define REG_DMA1_DSCPTR_PRV 0xFFC410A8 /* DMA1 Previous Initial Descriptor Pointer */
-#define REG_DMA1_ADDR_CUR 0xFFC410AC /* DMA1 Current Address */
-#define REG_DMA1_STAT 0xFFC410B0 /* DMA1 Status Register */
-#define REG_DMA1_XCNT_CUR 0xFFC410B4 /* DMA1 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA1_YCNT_CUR 0xFFC410B8 /* DMA1 Current Row Count (2D only) */
-#define REG_DMA1_BWLCNT 0xFFC410C0 /* DMA1 Bandwidth Limit Count */
-#define REG_DMA1_BWLCNT_CUR 0xFFC410C4 /* DMA1 Bandwidth Limit Count Current */
-#define REG_DMA1_BWMCNT 0xFFC410C8 /* DMA1 Bandwidth Monitor Count */
-#define REG_DMA1_BWMCNT_CUR 0xFFC410CC /* DMA1 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA2
- ========================= */
-#define REG_DMA2_DSCPTR_NXT 0xFFC41100 /* DMA2 Pointer to Next Initial Descriptor */
-#define REG_DMA2_ADDRSTART 0xFFC41104 /* DMA2 Start Address of Current Buffer */
-#define REG_DMA2_CFG 0xFFC41108 /* DMA2 Configuration Register */
-#define REG_DMA2_XCNT 0xFFC4110C /* DMA2 Inner Loop Count Start Value */
-#define REG_DMA2_XMOD 0xFFC41110 /* DMA2 Inner Loop Address Increment */
-#define REG_DMA2_YCNT 0xFFC41114 /* DMA2 Outer Loop Count Start Value (2D only) */
-#define REG_DMA2_YMOD 0xFFC41118 /* DMA2 Outer Loop Address Increment (2D only) */
-#define REG_DMA2_DSCPTR_CUR 0xFFC41124 /* DMA2 Current Descriptor Pointer */
-#define REG_DMA2_DSCPTR_PRV 0xFFC41128 /* DMA2 Previous Initial Descriptor Pointer */
-#define REG_DMA2_ADDR_CUR 0xFFC4112C /* DMA2 Current Address */
-#define REG_DMA2_STAT 0xFFC41130 /* DMA2 Status Register */
-#define REG_DMA2_XCNT_CUR 0xFFC41134 /* DMA2 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA2_YCNT_CUR 0xFFC41138 /* DMA2 Current Row Count (2D only) */
-#define REG_DMA2_BWLCNT 0xFFC41140 /* DMA2 Bandwidth Limit Count */
-#define REG_DMA2_BWLCNT_CUR 0xFFC41144 /* DMA2 Bandwidth Limit Count Current */
-#define REG_DMA2_BWMCNT 0xFFC41148 /* DMA2 Bandwidth Monitor Count */
-#define REG_DMA2_BWMCNT_CUR 0xFFC4114C /* DMA2 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA3
- ========================= */
-#define REG_DMA3_DSCPTR_NXT 0xFFC41180 /* DMA3 Pointer to Next Initial Descriptor */
-#define REG_DMA3_ADDRSTART 0xFFC41184 /* DMA3 Start Address of Current Buffer */
-#define REG_DMA3_CFG 0xFFC41188 /* DMA3 Configuration Register */
-#define REG_DMA3_XCNT 0xFFC4118C /* DMA3 Inner Loop Count Start Value */
-#define REG_DMA3_XMOD 0xFFC41190 /* DMA3 Inner Loop Address Increment */
-#define REG_DMA3_YCNT 0xFFC41194 /* DMA3 Outer Loop Count Start Value (2D only) */
-#define REG_DMA3_YMOD 0xFFC41198 /* DMA3 Outer Loop Address Increment (2D only) */
-#define REG_DMA3_DSCPTR_CUR 0xFFC411A4 /* DMA3 Current Descriptor Pointer */
-#define REG_DMA3_DSCPTR_PRV 0xFFC411A8 /* DMA3 Previous Initial Descriptor Pointer */
-#define REG_DMA3_ADDR_CUR 0xFFC411AC /* DMA3 Current Address */
-#define REG_DMA3_STAT 0xFFC411B0 /* DMA3 Status Register */
-#define REG_DMA3_XCNT_CUR 0xFFC411B4 /* DMA3 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA3_YCNT_CUR 0xFFC411B8 /* DMA3 Current Row Count (2D only) */
-#define REG_DMA3_BWLCNT 0xFFC411C0 /* DMA3 Bandwidth Limit Count */
-#define REG_DMA3_BWLCNT_CUR 0xFFC411C4 /* DMA3 Bandwidth Limit Count Current */
-#define REG_DMA3_BWMCNT 0xFFC411C8 /* DMA3 Bandwidth Monitor Count */
-#define REG_DMA3_BWMCNT_CUR 0xFFC411CC /* DMA3 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA4
- ========================= */
-#define REG_DMA4_DSCPTR_NXT 0xFFC41200 /* DMA4 Pointer to Next Initial Descriptor */
-#define REG_DMA4_ADDRSTART 0xFFC41204 /* DMA4 Start Address of Current Buffer */
-#define REG_DMA4_CFG 0xFFC41208 /* DMA4 Configuration Register */
-#define REG_DMA4_XCNT 0xFFC4120C /* DMA4 Inner Loop Count Start Value */
-#define REG_DMA4_XMOD 0xFFC41210 /* DMA4 Inner Loop Address Increment */
-#define REG_DMA4_YCNT 0xFFC41214 /* DMA4 Outer Loop Count Start Value (2D only) */
-#define REG_DMA4_YMOD 0xFFC41218 /* DMA4 Outer Loop Address Increment (2D only) */
-#define REG_DMA4_DSCPTR_CUR 0xFFC41224 /* DMA4 Current Descriptor Pointer */
-#define REG_DMA4_DSCPTR_PRV 0xFFC41228 /* DMA4 Previous Initial Descriptor Pointer */
-#define REG_DMA4_ADDR_CUR 0xFFC4122C /* DMA4 Current Address */
-#define REG_DMA4_STAT 0xFFC41230 /* DMA4 Status Register */
-#define REG_DMA4_XCNT_CUR 0xFFC41234 /* DMA4 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA4_YCNT_CUR 0xFFC41238 /* DMA4 Current Row Count (2D only) */
-#define REG_DMA4_BWLCNT 0xFFC41240 /* DMA4 Bandwidth Limit Count */
-#define REG_DMA4_BWLCNT_CUR 0xFFC41244 /* DMA4 Bandwidth Limit Count Current */
-#define REG_DMA4_BWMCNT 0xFFC41248 /* DMA4 Bandwidth Monitor Count */
-#define REG_DMA4_BWMCNT_CUR 0xFFC4124C /* DMA4 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA5
- ========================= */
-#define REG_DMA5_DSCPTR_NXT 0xFFC41280 /* DMA5 Pointer to Next Initial Descriptor */
-#define REG_DMA5_ADDRSTART 0xFFC41284 /* DMA5 Start Address of Current Buffer */
-#define REG_DMA5_CFG 0xFFC41288 /* DMA5 Configuration Register */
-#define REG_DMA5_XCNT 0xFFC4128C /* DMA5 Inner Loop Count Start Value */
-#define REG_DMA5_XMOD 0xFFC41290 /* DMA5 Inner Loop Address Increment */
-#define REG_DMA5_YCNT 0xFFC41294 /* DMA5 Outer Loop Count Start Value (2D only) */
-#define REG_DMA5_YMOD 0xFFC41298 /* DMA5 Outer Loop Address Increment (2D only) */
-#define REG_DMA5_DSCPTR_CUR 0xFFC412A4 /* DMA5 Current Descriptor Pointer */
-#define REG_DMA5_DSCPTR_PRV 0xFFC412A8 /* DMA5 Previous Initial Descriptor Pointer */
-#define REG_DMA5_ADDR_CUR 0xFFC412AC /* DMA5 Current Address */
-#define REG_DMA5_STAT 0xFFC412B0 /* DMA5 Status Register */
-#define REG_DMA5_XCNT_CUR 0xFFC412B4 /* DMA5 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA5_YCNT_CUR 0xFFC412B8 /* DMA5 Current Row Count (2D only) */
-#define REG_DMA5_BWLCNT 0xFFC412C0 /* DMA5 Bandwidth Limit Count */
-#define REG_DMA5_BWLCNT_CUR 0xFFC412C4 /* DMA5 Bandwidth Limit Count Current */
-#define REG_DMA5_BWMCNT 0xFFC412C8 /* DMA5 Bandwidth Monitor Count */
-#define REG_DMA5_BWMCNT_CUR 0xFFC412CC /* DMA5 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA6
- ========================= */
-#define REG_DMA6_DSCPTR_NXT 0xFFC41300 /* DMA6 Pointer to Next Initial Descriptor */
-#define REG_DMA6_ADDRSTART 0xFFC41304 /* DMA6 Start Address of Current Buffer */
-#define REG_DMA6_CFG 0xFFC41308 /* DMA6 Configuration Register */
-#define REG_DMA6_XCNT 0xFFC4130C /* DMA6 Inner Loop Count Start Value */
-#define REG_DMA6_XMOD 0xFFC41310 /* DMA6 Inner Loop Address Increment */
-#define REG_DMA6_YCNT 0xFFC41314 /* DMA6 Outer Loop Count Start Value (2D only) */
-#define REG_DMA6_YMOD 0xFFC41318 /* DMA6 Outer Loop Address Increment (2D only) */
-#define REG_DMA6_DSCPTR_CUR 0xFFC41324 /* DMA6 Current Descriptor Pointer */
-#define REG_DMA6_DSCPTR_PRV 0xFFC41328 /* DMA6 Previous Initial Descriptor Pointer */
-#define REG_DMA6_ADDR_CUR 0xFFC4132C /* DMA6 Current Address */
-#define REG_DMA6_STAT 0xFFC41330 /* DMA6 Status Register */
-#define REG_DMA6_XCNT_CUR 0xFFC41334 /* DMA6 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA6_YCNT_CUR 0xFFC41338 /* DMA6 Current Row Count (2D only) */
-#define REG_DMA6_BWLCNT 0xFFC41340 /* DMA6 Bandwidth Limit Count */
-#define REG_DMA6_BWLCNT_CUR 0xFFC41344 /* DMA6 Bandwidth Limit Count Current */
-#define REG_DMA6_BWMCNT 0xFFC41348 /* DMA6 Bandwidth Monitor Count */
-#define REG_DMA6_BWMCNT_CUR 0xFFC4134C /* DMA6 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA7
- ========================= */
-#define REG_DMA7_DSCPTR_NXT 0xFFC41380 /* DMA7 Pointer to Next Initial Descriptor */
-#define REG_DMA7_ADDRSTART 0xFFC41384 /* DMA7 Start Address of Current Buffer */
-#define REG_DMA7_CFG 0xFFC41388 /* DMA7 Configuration Register */
-#define REG_DMA7_XCNT 0xFFC4138C /* DMA7 Inner Loop Count Start Value */
-#define REG_DMA7_XMOD 0xFFC41390 /* DMA7 Inner Loop Address Increment */
-#define REG_DMA7_YCNT 0xFFC41394 /* DMA7 Outer Loop Count Start Value (2D only) */
-#define REG_DMA7_YMOD 0xFFC41398 /* DMA7 Outer Loop Address Increment (2D only) */
-#define REG_DMA7_DSCPTR_CUR 0xFFC413A4 /* DMA7 Current Descriptor Pointer */
-#define REG_DMA7_DSCPTR_PRV 0xFFC413A8 /* DMA7 Previous Initial Descriptor Pointer */
-#define REG_DMA7_ADDR_CUR 0xFFC413AC /* DMA7 Current Address */
-#define REG_DMA7_STAT 0xFFC413B0 /* DMA7 Status Register */
-#define REG_DMA7_XCNT_CUR 0xFFC413B4 /* DMA7 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA7_YCNT_CUR 0xFFC413B8 /* DMA7 Current Row Count (2D only) */
-#define REG_DMA7_BWLCNT 0xFFC413C0 /* DMA7 Bandwidth Limit Count */
-#define REG_DMA7_BWLCNT_CUR 0xFFC413C4 /* DMA7 Bandwidth Limit Count Current */
-#define REG_DMA7_BWMCNT 0xFFC413C8 /* DMA7 Bandwidth Monitor Count */
-#define REG_DMA7_BWMCNT_CUR 0xFFC413CC /* DMA7 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA8
- ========================= */
-#define REG_DMA8_DSCPTR_NXT 0xFFC41400 /* DMA8 Pointer to Next Initial Descriptor */
-#define REG_DMA8_ADDRSTART 0xFFC41404 /* DMA8 Start Address of Current Buffer */
-#define REG_DMA8_CFG 0xFFC41408 /* DMA8 Configuration Register */
-#define REG_DMA8_XCNT 0xFFC4140C /* DMA8 Inner Loop Count Start Value */
-#define REG_DMA8_XMOD 0xFFC41410 /* DMA8 Inner Loop Address Increment */
-#define REG_DMA8_YCNT 0xFFC41414 /* DMA8 Outer Loop Count Start Value (2D only) */
-#define REG_DMA8_YMOD 0xFFC41418 /* DMA8 Outer Loop Address Increment (2D only) */
-#define REG_DMA8_DSCPTR_CUR 0xFFC41424 /* DMA8 Current Descriptor Pointer */
-#define REG_DMA8_DSCPTR_PRV 0xFFC41428 /* DMA8 Previous Initial Descriptor Pointer */
-#define REG_DMA8_ADDR_CUR 0xFFC4142C /* DMA8 Current Address */
-#define REG_DMA8_STAT 0xFFC41430 /* DMA8 Status Register */
-#define REG_DMA8_XCNT_CUR 0xFFC41434 /* DMA8 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA8_YCNT_CUR 0xFFC41438 /* DMA8 Current Row Count (2D only) */
-#define REG_DMA8_BWLCNT 0xFFC41440 /* DMA8 Bandwidth Limit Count */
-#define REG_DMA8_BWLCNT_CUR 0xFFC41444 /* DMA8 Bandwidth Limit Count Current */
-#define REG_DMA8_BWMCNT 0xFFC41448 /* DMA8 Bandwidth Monitor Count */
-#define REG_DMA8_BWMCNT_CUR 0xFFC4144C /* DMA8 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA9
- ========================= */
-#define REG_DMA9_DSCPTR_NXT 0xFFC41480 /* DMA9 Pointer to Next Initial Descriptor */
-#define REG_DMA9_ADDRSTART 0xFFC41484 /* DMA9 Start Address of Current Buffer */
-#define REG_DMA9_CFG 0xFFC41488 /* DMA9 Configuration Register */
-#define REG_DMA9_XCNT 0xFFC4148C /* DMA9 Inner Loop Count Start Value */
-#define REG_DMA9_XMOD 0xFFC41490 /* DMA9 Inner Loop Address Increment */
-#define REG_DMA9_YCNT 0xFFC41494 /* DMA9 Outer Loop Count Start Value (2D only) */
-#define REG_DMA9_YMOD 0xFFC41498 /* DMA9 Outer Loop Address Increment (2D only) */
-#define REG_DMA9_DSCPTR_CUR 0xFFC414A4 /* DMA9 Current Descriptor Pointer */
-#define REG_DMA9_DSCPTR_PRV 0xFFC414A8 /* DMA9 Previous Initial Descriptor Pointer */
-#define REG_DMA9_ADDR_CUR 0xFFC414AC /* DMA9 Current Address */
-#define REG_DMA9_STAT 0xFFC414B0 /* DMA9 Status Register */
-#define REG_DMA9_XCNT_CUR 0xFFC414B4 /* DMA9 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA9_YCNT_CUR 0xFFC414B8 /* DMA9 Current Row Count (2D only) */
-#define REG_DMA9_BWLCNT 0xFFC414C0 /* DMA9 Bandwidth Limit Count */
-#define REG_DMA9_BWLCNT_CUR 0xFFC414C4 /* DMA9 Bandwidth Limit Count Current */
-#define REG_DMA9_BWMCNT 0xFFC414C8 /* DMA9 Bandwidth Monitor Count */
-#define REG_DMA9_BWMCNT_CUR 0xFFC414CC /* DMA9 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA10
- ========================= */
-#define REG_DMA10_DSCPTR_NXT 0xFFC05000 /* DMA10 Pointer to Next Initial Descriptor */
-#define REG_DMA10_ADDRSTART 0xFFC05004 /* DMA10 Start Address of Current Buffer */
-#define REG_DMA10_CFG 0xFFC05008 /* DMA10 Configuration Register */
-#define REG_DMA10_XCNT 0xFFC0500C /* DMA10 Inner Loop Count Start Value */
-#define REG_DMA10_XMOD 0xFFC05010 /* DMA10 Inner Loop Address Increment */
-#define REG_DMA10_YCNT 0xFFC05014 /* DMA10 Outer Loop Count Start Value (2D only) */
-#define REG_DMA10_YMOD 0xFFC05018 /* DMA10 Outer Loop Address Increment (2D only) */
-#define REG_DMA10_DSCPTR_CUR 0xFFC05024 /* DMA10 Current Descriptor Pointer */
-#define REG_DMA10_DSCPTR_PRV 0xFFC05028 /* DMA10 Previous Initial Descriptor Pointer */
-#define REG_DMA10_ADDR_CUR 0xFFC0502C /* DMA10 Current Address */
-#define REG_DMA10_STAT 0xFFC05030 /* DMA10 Status Register */
-#define REG_DMA10_XCNT_CUR 0xFFC05034 /* DMA10 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA10_YCNT_CUR 0xFFC05038 /* DMA10 Current Row Count (2D only) */
-#define REG_DMA10_BWLCNT 0xFFC05040 /* DMA10 Bandwidth Limit Count */
-#define REG_DMA10_BWLCNT_CUR 0xFFC05044 /* DMA10 Bandwidth Limit Count Current */
-#define REG_DMA10_BWMCNT 0xFFC05048 /* DMA10 Bandwidth Monitor Count */
-#define REG_DMA10_BWMCNT_CUR 0xFFC0504C /* DMA10 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA11
- ========================= */
-#define REG_DMA11_DSCPTR_NXT 0xFFC05080 /* DMA11 Pointer to Next Initial Descriptor */
-#define REG_DMA11_ADDRSTART 0xFFC05084 /* DMA11 Start Address of Current Buffer */
-#define REG_DMA11_CFG 0xFFC05088 /* DMA11 Configuration Register */
-#define REG_DMA11_XCNT 0xFFC0508C /* DMA11 Inner Loop Count Start Value */
-#define REG_DMA11_XMOD 0xFFC05090 /* DMA11 Inner Loop Address Increment */
-#define REG_DMA11_YCNT 0xFFC05094 /* DMA11 Outer Loop Count Start Value (2D only) */
-#define REG_DMA11_YMOD 0xFFC05098 /* DMA11 Outer Loop Address Increment (2D only) */
-#define REG_DMA11_DSCPTR_CUR 0xFFC050A4 /* DMA11 Current Descriptor Pointer */
-#define REG_DMA11_DSCPTR_PRV 0xFFC050A8 /* DMA11 Previous Initial Descriptor Pointer */
-#define REG_DMA11_ADDR_CUR 0xFFC050AC /* DMA11 Current Address */
-#define REG_DMA11_STAT 0xFFC050B0 /* DMA11 Status Register */
-#define REG_DMA11_XCNT_CUR 0xFFC050B4 /* DMA11 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA11_YCNT_CUR 0xFFC050B8 /* DMA11 Current Row Count (2D only) */
-#define REG_DMA11_BWLCNT 0xFFC050C0 /* DMA11 Bandwidth Limit Count */
-#define REG_DMA11_BWLCNT_CUR 0xFFC050C4 /* DMA11 Bandwidth Limit Count Current */
-#define REG_DMA11_BWMCNT 0xFFC050C8 /* DMA11 Bandwidth Monitor Count */
-#define REG_DMA11_BWMCNT_CUR 0xFFC050CC /* DMA11 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA12
- ========================= */
-#define REG_DMA12_DSCPTR_NXT 0xFFC05100 /* DMA12 Pointer to Next Initial Descriptor */
-#define REG_DMA12_ADDRSTART 0xFFC05104 /* DMA12 Start Address of Current Buffer */
-#define REG_DMA12_CFG 0xFFC05108 /* DMA12 Configuration Register */
-#define REG_DMA12_XCNT 0xFFC0510C /* DMA12 Inner Loop Count Start Value */
-#define REG_DMA12_XMOD 0xFFC05110 /* DMA12 Inner Loop Address Increment */
-#define REG_DMA12_YCNT 0xFFC05114 /* DMA12 Outer Loop Count Start Value (2D only) */
-#define REG_DMA12_YMOD 0xFFC05118 /* DMA12 Outer Loop Address Increment (2D only) */
-#define REG_DMA12_DSCPTR_CUR 0xFFC05124 /* DMA12 Current Descriptor Pointer */
-#define REG_DMA12_DSCPTR_PRV 0xFFC05128 /* DMA12 Previous Initial Descriptor Pointer */
-#define REG_DMA12_ADDR_CUR 0xFFC0512C /* DMA12 Current Address */
-#define REG_DMA12_STAT 0xFFC05130 /* DMA12 Status Register */
-#define REG_DMA12_XCNT_CUR 0xFFC05134 /* DMA12 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA12_YCNT_CUR 0xFFC05138 /* DMA12 Current Row Count (2D only) */
-#define REG_DMA12_BWLCNT 0xFFC05140 /* DMA12 Bandwidth Limit Count */
-#define REG_DMA12_BWLCNT_CUR 0xFFC05144 /* DMA12 Bandwidth Limit Count Current */
-#define REG_DMA12_BWMCNT 0xFFC05148 /* DMA12 Bandwidth Monitor Count */
-#define REG_DMA12_BWMCNT_CUR 0xFFC0514C /* DMA12 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA13
- ========================= */
-#define REG_DMA13_DSCPTR_NXT 0xFFC07000 /* DMA13 Pointer to Next Initial Descriptor */
-#define REG_DMA13_ADDRSTART 0xFFC07004 /* DMA13 Start Address of Current Buffer */
-#define REG_DMA13_CFG 0xFFC07008 /* DMA13 Configuration Register */
-#define REG_DMA13_XCNT 0xFFC0700C /* DMA13 Inner Loop Count Start Value */
-#define REG_DMA13_XMOD 0xFFC07010 /* DMA13 Inner Loop Address Increment */
-#define REG_DMA13_YCNT 0xFFC07014 /* DMA13 Outer Loop Count Start Value (2D only) */
-#define REG_DMA13_YMOD 0xFFC07018 /* DMA13 Outer Loop Address Increment (2D only) */
-#define REG_DMA13_DSCPTR_CUR 0xFFC07024 /* DMA13 Current Descriptor Pointer */
-#define REG_DMA13_DSCPTR_PRV 0xFFC07028 /* DMA13 Previous Initial Descriptor Pointer */
-#define REG_DMA13_ADDR_CUR 0xFFC0702C /* DMA13 Current Address */
-#define REG_DMA13_STAT 0xFFC07030 /* DMA13 Status Register */
-#define REG_DMA13_XCNT_CUR 0xFFC07034 /* DMA13 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA13_YCNT_CUR 0xFFC07038 /* DMA13 Current Row Count (2D only) */
-#define REG_DMA13_BWLCNT 0xFFC07040 /* DMA13 Bandwidth Limit Count */
-#define REG_DMA13_BWLCNT_CUR 0xFFC07044 /* DMA13 Bandwidth Limit Count Current */
-#define REG_DMA13_BWMCNT 0xFFC07048 /* DMA13 Bandwidth Monitor Count */
-#define REG_DMA13_BWMCNT_CUR 0xFFC0704C /* DMA13 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA14
- ========================= */
-#define REG_DMA14_DSCPTR_NXT 0xFFC07080 /* DMA14 Pointer to Next Initial Descriptor */
-#define REG_DMA14_ADDRSTART 0xFFC07084 /* DMA14 Start Address of Current Buffer */
-#define REG_DMA14_CFG 0xFFC07088 /* DMA14 Configuration Register */
-#define REG_DMA14_XCNT 0xFFC0708C /* DMA14 Inner Loop Count Start Value */
-#define REG_DMA14_XMOD 0xFFC07090 /* DMA14 Inner Loop Address Increment */
-#define REG_DMA14_YCNT 0xFFC07094 /* DMA14 Outer Loop Count Start Value (2D only) */
-#define REG_DMA14_YMOD 0xFFC07098 /* DMA14 Outer Loop Address Increment (2D only) */
-#define REG_DMA14_DSCPTR_CUR 0xFFC070A4 /* DMA14 Current Descriptor Pointer */
-#define REG_DMA14_DSCPTR_PRV 0xFFC070A8 /* DMA14 Previous Initial Descriptor Pointer */
-#define REG_DMA14_ADDR_CUR 0xFFC070AC /* DMA14 Current Address */
-#define REG_DMA14_STAT 0xFFC070B0 /* DMA14 Status Register */
-#define REG_DMA14_XCNT_CUR 0xFFC070B4 /* DMA14 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA14_YCNT_CUR 0xFFC070B8 /* DMA14 Current Row Count (2D only) */
-#define REG_DMA14_BWLCNT 0xFFC070C0 /* DMA14 Bandwidth Limit Count */
-#define REG_DMA14_BWLCNT_CUR 0xFFC070C4 /* DMA14 Bandwidth Limit Count Current */
-#define REG_DMA14_BWMCNT 0xFFC070C8 /* DMA14 Bandwidth Monitor Count */
-#define REG_DMA14_BWMCNT_CUR 0xFFC070CC /* DMA14 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA15
- ========================= */
-#define REG_DMA15_DSCPTR_NXT 0xFFC07100 /* DMA15 Pointer to Next Initial Descriptor */
-#define REG_DMA15_ADDRSTART 0xFFC07104 /* DMA15 Start Address of Current Buffer */
-#define REG_DMA15_CFG 0xFFC07108 /* DMA15 Configuration Register */
-#define REG_DMA15_XCNT 0xFFC0710C /* DMA15 Inner Loop Count Start Value */
-#define REG_DMA15_XMOD 0xFFC07110 /* DMA15 Inner Loop Address Increment */
-#define REG_DMA15_YCNT 0xFFC07114 /* DMA15 Outer Loop Count Start Value (2D only) */
-#define REG_DMA15_YMOD 0xFFC07118 /* DMA15 Outer Loop Address Increment (2D only) */
-#define REG_DMA15_DSCPTR_CUR 0xFFC07124 /* DMA15 Current Descriptor Pointer */
-#define REG_DMA15_DSCPTR_PRV 0xFFC07128 /* DMA15 Previous Initial Descriptor Pointer */
-#define REG_DMA15_ADDR_CUR 0xFFC0712C /* DMA15 Current Address */
-#define REG_DMA15_STAT 0xFFC07130 /* DMA15 Status Register */
-#define REG_DMA15_XCNT_CUR 0xFFC07134 /* DMA15 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA15_YCNT_CUR 0xFFC07138 /* DMA15 Current Row Count (2D only) */
-#define REG_DMA15_BWLCNT 0xFFC07140 /* DMA15 Bandwidth Limit Count */
-#define REG_DMA15_BWLCNT_CUR 0xFFC07144 /* DMA15 Bandwidth Limit Count Current */
-#define REG_DMA15_BWMCNT 0xFFC07148 /* DMA15 Bandwidth Monitor Count */
-#define REG_DMA15_BWMCNT_CUR 0xFFC0714C /* DMA15 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA16
- ========================= */
-#define REG_DMA16_DSCPTR_NXT 0xFFC07180 /* DMA16 Pointer to Next Initial Descriptor */
-#define REG_DMA16_ADDRSTART 0xFFC07184 /* DMA16 Start Address of Current Buffer */
-#define REG_DMA16_CFG 0xFFC07188 /* DMA16 Configuration Register */
-#define REG_DMA16_XCNT 0xFFC0718C /* DMA16 Inner Loop Count Start Value */
-#define REG_DMA16_XMOD 0xFFC07190 /* DMA16 Inner Loop Address Increment */
-#define REG_DMA16_YCNT 0xFFC07194 /* DMA16 Outer Loop Count Start Value (2D only) */
-#define REG_DMA16_YMOD 0xFFC07198 /* DMA16 Outer Loop Address Increment (2D only) */
-#define REG_DMA16_DSCPTR_CUR 0xFFC071A4 /* DMA16 Current Descriptor Pointer */
-#define REG_DMA16_DSCPTR_PRV 0xFFC071A8 /* DMA16 Previous Initial Descriptor Pointer */
-#define REG_DMA16_ADDR_CUR 0xFFC071AC /* DMA16 Current Address */
-#define REG_DMA16_STAT 0xFFC071B0 /* DMA16 Status Register */
-#define REG_DMA16_XCNT_CUR 0xFFC071B4 /* DMA16 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA16_YCNT_CUR 0xFFC071B8 /* DMA16 Current Row Count (2D only) */
-#define REG_DMA16_BWLCNT 0xFFC071C0 /* DMA16 Bandwidth Limit Count */
-#define REG_DMA16_BWLCNT_CUR 0xFFC071C4 /* DMA16 Bandwidth Limit Count Current */
-#define REG_DMA16_BWMCNT 0xFFC071C8 /* DMA16 Bandwidth Monitor Count */
-#define REG_DMA16_BWMCNT_CUR 0xFFC071CC /* DMA16 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA17
- ========================= */
-#define REG_DMA17_DSCPTR_NXT 0xFFC07200 /* DMA17 Pointer to Next Initial Descriptor */
-#define REG_DMA17_ADDRSTART 0xFFC07204 /* DMA17 Start Address of Current Buffer */
-#define REG_DMA17_CFG 0xFFC07208 /* DMA17 Configuration Register */
-#define REG_DMA17_XCNT 0xFFC0720C /* DMA17 Inner Loop Count Start Value */
-#define REG_DMA17_XMOD 0xFFC07210 /* DMA17 Inner Loop Address Increment */
-#define REG_DMA17_YCNT 0xFFC07214 /* DMA17 Outer Loop Count Start Value (2D only) */
-#define REG_DMA17_YMOD 0xFFC07218 /* DMA17 Outer Loop Address Increment (2D only) */
-#define REG_DMA17_DSCPTR_CUR 0xFFC07224 /* DMA17 Current Descriptor Pointer */
-#define REG_DMA17_DSCPTR_PRV 0xFFC07228 /* DMA17 Previous Initial Descriptor Pointer */
-#define REG_DMA17_ADDR_CUR 0xFFC0722C /* DMA17 Current Address */
-#define REG_DMA17_STAT 0xFFC07230 /* DMA17 Status Register */
-#define REG_DMA17_XCNT_CUR 0xFFC07234 /* DMA17 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA17_YCNT_CUR 0xFFC07238 /* DMA17 Current Row Count (2D only) */
-#define REG_DMA17_BWLCNT 0xFFC07240 /* DMA17 Bandwidth Limit Count */
-#define REG_DMA17_BWLCNT_CUR 0xFFC07244 /* DMA17 Bandwidth Limit Count Current */
-#define REG_DMA17_BWMCNT 0xFFC07248 /* DMA17 Bandwidth Monitor Count */
-#define REG_DMA17_BWMCNT_CUR 0xFFC0724C /* DMA17 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA18
- ========================= */
-#define REG_DMA18_DSCPTR_NXT 0xFFC07280 /* DMA18 Pointer to Next Initial Descriptor */
-#define REG_DMA18_ADDRSTART 0xFFC07284 /* DMA18 Start Address of Current Buffer */
-#define REG_DMA18_CFG 0xFFC07288 /* DMA18 Configuration Register */
-#define REG_DMA18_XCNT 0xFFC0728C /* DMA18 Inner Loop Count Start Value */
-#define REG_DMA18_XMOD 0xFFC07290 /* DMA18 Inner Loop Address Increment */
-#define REG_DMA18_YCNT 0xFFC07294 /* DMA18 Outer Loop Count Start Value (2D only) */
-#define REG_DMA18_YMOD 0xFFC07298 /* DMA18 Outer Loop Address Increment (2D only) */
-#define REG_DMA18_DSCPTR_CUR 0xFFC072A4 /* DMA18 Current Descriptor Pointer */
-#define REG_DMA18_DSCPTR_PRV 0xFFC072A8 /* DMA18 Previous Initial Descriptor Pointer */
-#define REG_DMA18_ADDR_CUR 0xFFC072AC /* DMA18 Current Address */
-#define REG_DMA18_STAT 0xFFC072B0 /* DMA18 Status Register */
-#define REG_DMA18_XCNT_CUR 0xFFC072B4 /* DMA18 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA18_YCNT_CUR 0xFFC072B8 /* DMA18 Current Row Count (2D only) */
-#define REG_DMA18_BWLCNT 0xFFC072C0 /* DMA18 Bandwidth Limit Count */
-#define REG_DMA18_BWLCNT_CUR 0xFFC072C4 /* DMA18 Bandwidth Limit Count Current */
-#define REG_DMA18_BWMCNT 0xFFC072C8 /* DMA18 Bandwidth Monitor Count */
-#define REG_DMA18_BWMCNT_CUR 0xFFC072CC /* DMA18 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA19
- ========================= */
-#define REG_DMA19_DSCPTR_NXT 0xFFC07300 /* DMA19 Pointer to Next Initial Descriptor */
-#define REG_DMA19_ADDRSTART 0xFFC07304 /* DMA19 Start Address of Current Buffer */
-#define REG_DMA19_CFG 0xFFC07308 /* DMA19 Configuration Register */
-#define REG_DMA19_XCNT 0xFFC0730C /* DMA19 Inner Loop Count Start Value */
-#define REG_DMA19_XMOD 0xFFC07310 /* DMA19 Inner Loop Address Increment */
-#define REG_DMA19_YCNT 0xFFC07314 /* DMA19 Outer Loop Count Start Value (2D only) */
-#define REG_DMA19_YMOD 0xFFC07318 /* DMA19 Outer Loop Address Increment (2D only) */
-#define REG_DMA19_DSCPTR_CUR 0xFFC07324 /* DMA19 Current Descriptor Pointer */
-#define REG_DMA19_DSCPTR_PRV 0xFFC07328 /* DMA19 Previous Initial Descriptor Pointer */
-#define REG_DMA19_ADDR_CUR 0xFFC0732C /* DMA19 Current Address */
-#define REG_DMA19_STAT 0xFFC07330 /* DMA19 Status Register */
-#define REG_DMA19_XCNT_CUR 0xFFC07334 /* DMA19 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA19_YCNT_CUR 0xFFC07338 /* DMA19 Current Row Count (2D only) */
-#define REG_DMA19_BWLCNT 0xFFC07340 /* DMA19 Bandwidth Limit Count */
-#define REG_DMA19_BWLCNT_CUR 0xFFC07344 /* DMA19 Bandwidth Limit Count Current */
-#define REG_DMA19_BWMCNT 0xFFC07348 /* DMA19 Bandwidth Monitor Count */
-#define REG_DMA19_BWMCNT_CUR 0xFFC0734C /* DMA19 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA20
- ========================= */
-#define REG_DMA20_DSCPTR_NXT 0xFFC07380 /* DMA20 Pointer to Next Initial Descriptor */
-#define REG_DMA20_ADDRSTART 0xFFC07384 /* DMA20 Start Address of Current Buffer */
-#define REG_DMA20_CFG 0xFFC07388 /* DMA20 Configuration Register */
-#define REG_DMA20_XCNT 0xFFC0738C /* DMA20 Inner Loop Count Start Value */
-#define REG_DMA20_XMOD 0xFFC07390 /* DMA20 Inner Loop Address Increment */
-#define REG_DMA20_YCNT 0xFFC07394 /* DMA20 Outer Loop Count Start Value (2D only) */
-#define REG_DMA20_YMOD 0xFFC07398 /* DMA20 Outer Loop Address Increment (2D only) */
-#define REG_DMA20_DSCPTR_CUR 0xFFC073A4 /* DMA20 Current Descriptor Pointer */
-#define REG_DMA20_DSCPTR_PRV 0xFFC073A8 /* DMA20 Previous Initial Descriptor Pointer */
-#define REG_DMA20_ADDR_CUR 0xFFC073AC /* DMA20 Current Address */
-#define REG_DMA20_STAT 0xFFC073B0 /* DMA20 Status Register */
-#define REG_DMA20_XCNT_CUR 0xFFC073B4 /* DMA20 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA20_YCNT_CUR 0xFFC073B8 /* DMA20 Current Row Count (2D only) */
-#define REG_DMA20_BWLCNT 0xFFC073C0 /* DMA20 Bandwidth Limit Count */
-#define REG_DMA20_BWLCNT_CUR 0xFFC073C4 /* DMA20 Bandwidth Limit Count Current */
-#define REG_DMA20_BWMCNT 0xFFC073C8 /* DMA20 Bandwidth Monitor Count */
-#define REG_DMA20_BWMCNT_CUR 0xFFC073CC /* DMA20 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA21
- ========================= */
-#define REG_DMA21_DSCPTR_NXT 0xFFC09000 /* DMA21 Pointer to Next Initial Descriptor */
-#define REG_DMA21_ADDRSTART 0xFFC09004 /* DMA21 Start Address of Current Buffer */
-#define REG_DMA21_CFG 0xFFC09008 /* DMA21 Configuration Register */
-#define REG_DMA21_XCNT 0xFFC0900C /* DMA21 Inner Loop Count Start Value */
-#define REG_DMA21_XMOD 0xFFC09010 /* DMA21 Inner Loop Address Increment */
-#define REG_DMA21_YCNT 0xFFC09014 /* DMA21 Outer Loop Count Start Value (2D only) */
-#define REG_DMA21_YMOD 0xFFC09018 /* DMA21 Outer Loop Address Increment (2D only) */
-#define REG_DMA21_DSCPTR_CUR 0xFFC09024 /* DMA21 Current Descriptor Pointer */
-#define REG_DMA21_DSCPTR_PRV 0xFFC09028 /* DMA21 Previous Initial Descriptor Pointer */
-#define REG_DMA21_ADDR_CUR 0xFFC0902C /* DMA21 Current Address */
-#define REG_DMA21_STAT 0xFFC09030 /* DMA21 Status Register */
-#define REG_DMA21_XCNT_CUR 0xFFC09034 /* DMA21 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA21_YCNT_CUR 0xFFC09038 /* DMA21 Current Row Count (2D only) */
-#define REG_DMA21_BWLCNT 0xFFC09040 /* DMA21 Bandwidth Limit Count */
-#define REG_DMA21_BWLCNT_CUR 0xFFC09044 /* DMA21 Bandwidth Limit Count Current */
-#define REG_DMA21_BWMCNT 0xFFC09048 /* DMA21 Bandwidth Monitor Count */
-#define REG_DMA21_BWMCNT_CUR 0xFFC0904C /* DMA21 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA22
- ========================= */
-#define REG_DMA22_DSCPTR_NXT 0xFFC09080 /* DMA22 Pointer to Next Initial Descriptor */
-#define REG_DMA22_ADDRSTART 0xFFC09084 /* DMA22 Start Address of Current Buffer */
-#define REG_DMA22_CFG 0xFFC09088 /* DMA22 Configuration Register */
-#define REG_DMA22_XCNT 0xFFC0908C /* DMA22 Inner Loop Count Start Value */
-#define REG_DMA22_XMOD 0xFFC09090 /* DMA22 Inner Loop Address Increment */
-#define REG_DMA22_YCNT 0xFFC09094 /* DMA22 Outer Loop Count Start Value (2D only) */
-#define REG_DMA22_YMOD 0xFFC09098 /* DMA22 Outer Loop Address Increment (2D only) */
-#define REG_DMA22_DSCPTR_CUR 0xFFC090A4 /* DMA22 Current Descriptor Pointer */
-#define REG_DMA22_DSCPTR_PRV 0xFFC090A8 /* DMA22 Previous Initial Descriptor Pointer */
-#define REG_DMA22_ADDR_CUR 0xFFC090AC /* DMA22 Current Address */
-#define REG_DMA22_STAT 0xFFC090B0 /* DMA22 Status Register */
-#define REG_DMA22_XCNT_CUR 0xFFC090B4 /* DMA22 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA22_YCNT_CUR 0xFFC090B8 /* DMA22 Current Row Count (2D only) */
-#define REG_DMA22_BWLCNT 0xFFC090C0 /* DMA22 Bandwidth Limit Count */
-#define REG_DMA22_BWLCNT_CUR 0xFFC090C4 /* DMA22 Bandwidth Limit Count Current */
-#define REG_DMA22_BWMCNT 0xFFC090C8 /* DMA22 Bandwidth Monitor Count */
-#define REG_DMA22_BWMCNT_CUR 0xFFC090CC /* DMA22 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA23
- ========================= */
-#define REG_DMA23_DSCPTR_NXT 0xFFC09100 /* DMA23 Pointer to Next Initial Descriptor */
-#define REG_DMA23_ADDRSTART 0xFFC09104 /* DMA23 Start Address of Current Buffer */
-#define REG_DMA23_CFG 0xFFC09108 /* DMA23 Configuration Register */
-#define REG_DMA23_XCNT 0xFFC0910C /* DMA23 Inner Loop Count Start Value */
-#define REG_DMA23_XMOD 0xFFC09110 /* DMA23 Inner Loop Address Increment */
-#define REG_DMA23_YCNT 0xFFC09114 /* DMA23 Outer Loop Count Start Value (2D only) */
-#define REG_DMA23_YMOD 0xFFC09118 /* DMA23 Outer Loop Address Increment (2D only) */
-#define REG_DMA23_DSCPTR_CUR 0xFFC09124 /* DMA23 Current Descriptor Pointer */
-#define REG_DMA23_DSCPTR_PRV 0xFFC09128 /* DMA23 Previous Initial Descriptor Pointer */
-#define REG_DMA23_ADDR_CUR 0xFFC0912C /* DMA23 Current Address */
-#define REG_DMA23_STAT 0xFFC09130 /* DMA23 Status Register */
-#define REG_DMA23_XCNT_CUR 0xFFC09134 /* DMA23 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA23_YCNT_CUR 0xFFC09138 /* DMA23 Current Row Count (2D only) */
-#define REG_DMA23_BWLCNT 0xFFC09140 /* DMA23 Bandwidth Limit Count */
-#define REG_DMA23_BWLCNT_CUR 0xFFC09144 /* DMA23 Bandwidth Limit Count Current */
-#define REG_DMA23_BWMCNT 0xFFC09148 /* DMA23 Bandwidth Monitor Count */
-#define REG_DMA23_BWMCNT_CUR 0xFFC0914C /* DMA23 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA24
- ========================= */
-#define REG_DMA24_DSCPTR_NXT 0xFFC09180 /* DMA24 Pointer to Next Initial Descriptor */
-#define REG_DMA24_ADDRSTART 0xFFC09184 /* DMA24 Start Address of Current Buffer */
-#define REG_DMA24_CFG 0xFFC09188 /* DMA24 Configuration Register */
-#define REG_DMA24_XCNT 0xFFC0918C /* DMA24 Inner Loop Count Start Value */
-#define REG_DMA24_XMOD 0xFFC09190 /* DMA24 Inner Loop Address Increment */
-#define REG_DMA24_YCNT 0xFFC09194 /* DMA24 Outer Loop Count Start Value (2D only) */
-#define REG_DMA24_YMOD 0xFFC09198 /* DMA24 Outer Loop Address Increment (2D only) */
-#define REG_DMA24_DSCPTR_CUR 0xFFC091A4 /* DMA24 Current Descriptor Pointer */
-#define REG_DMA24_DSCPTR_PRV 0xFFC091A8 /* DMA24 Previous Initial Descriptor Pointer */
-#define REG_DMA24_ADDR_CUR 0xFFC091AC /* DMA24 Current Address */
-#define REG_DMA24_STAT 0xFFC091B0 /* DMA24 Status Register */
-#define REG_DMA24_XCNT_CUR 0xFFC091B4 /* DMA24 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA24_YCNT_CUR 0xFFC091B8 /* DMA24 Current Row Count (2D only) */
-#define REG_DMA24_BWLCNT 0xFFC091C0 /* DMA24 Bandwidth Limit Count */
-#define REG_DMA24_BWLCNT_CUR 0xFFC091C4 /* DMA24 Bandwidth Limit Count Current */
-#define REG_DMA24_BWMCNT 0xFFC091C8 /* DMA24 Bandwidth Monitor Count */
-#define REG_DMA24_BWMCNT_CUR 0xFFC091CC /* DMA24 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA25
- ========================= */
-#define REG_DMA25_DSCPTR_NXT 0xFFC09200 /* DMA25 Pointer to Next Initial Descriptor */
-#define REG_DMA25_ADDRSTART 0xFFC09204 /* DMA25 Start Address of Current Buffer */
-#define REG_DMA25_CFG 0xFFC09208 /* DMA25 Configuration Register */
-#define REG_DMA25_XCNT 0xFFC0920C /* DMA25 Inner Loop Count Start Value */
-#define REG_DMA25_XMOD 0xFFC09210 /* DMA25 Inner Loop Address Increment */
-#define REG_DMA25_YCNT 0xFFC09214 /* DMA25 Outer Loop Count Start Value (2D only) */
-#define REG_DMA25_YMOD 0xFFC09218 /* DMA25 Outer Loop Address Increment (2D only) */
-#define REG_DMA25_DSCPTR_CUR 0xFFC09224 /* DMA25 Current Descriptor Pointer */
-#define REG_DMA25_DSCPTR_PRV 0xFFC09228 /* DMA25 Previous Initial Descriptor Pointer */
-#define REG_DMA25_ADDR_CUR 0xFFC0922C /* DMA25 Current Address */
-#define REG_DMA25_STAT 0xFFC09230 /* DMA25 Status Register */
-#define REG_DMA25_XCNT_CUR 0xFFC09234 /* DMA25 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA25_YCNT_CUR 0xFFC09238 /* DMA25 Current Row Count (2D only) */
-#define REG_DMA25_BWLCNT 0xFFC09240 /* DMA25 Bandwidth Limit Count */
-#define REG_DMA25_BWLCNT_CUR 0xFFC09244 /* DMA25 Bandwidth Limit Count Current */
-#define REG_DMA25_BWMCNT 0xFFC09248 /* DMA25 Bandwidth Monitor Count */
-#define REG_DMA25_BWMCNT_CUR 0xFFC0924C /* DMA25 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA26
- ========================= */
-#define REG_DMA26_DSCPTR_NXT 0xFFC09280 /* DMA26 Pointer to Next Initial Descriptor */
-#define REG_DMA26_ADDRSTART 0xFFC09284 /* DMA26 Start Address of Current Buffer */
-#define REG_DMA26_CFG 0xFFC09288 /* DMA26 Configuration Register */
-#define REG_DMA26_XCNT 0xFFC0928C /* DMA26 Inner Loop Count Start Value */
-#define REG_DMA26_XMOD 0xFFC09290 /* DMA26 Inner Loop Address Increment */
-#define REG_DMA26_YCNT 0xFFC09294 /* DMA26 Outer Loop Count Start Value (2D only) */
-#define REG_DMA26_YMOD 0xFFC09298 /* DMA26 Outer Loop Address Increment (2D only) */
-#define REG_DMA26_DSCPTR_CUR 0xFFC092A4 /* DMA26 Current Descriptor Pointer */
-#define REG_DMA26_DSCPTR_PRV 0xFFC092A8 /* DMA26 Previous Initial Descriptor Pointer */
-#define REG_DMA26_ADDR_CUR 0xFFC092AC /* DMA26 Current Address */
-#define REG_DMA26_STAT 0xFFC092B0 /* DMA26 Status Register */
-#define REG_DMA26_XCNT_CUR 0xFFC092B4 /* DMA26 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA26_YCNT_CUR 0xFFC092B8 /* DMA26 Current Row Count (2D only) */
-#define REG_DMA26_BWLCNT 0xFFC092C0 /* DMA26 Bandwidth Limit Count */
-#define REG_DMA26_BWLCNT_CUR 0xFFC092C4 /* DMA26 Bandwidth Limit Count Current */
-#define REG_DMA26_BWMCNT 0xFFC092C8 /* DMA26 Bandwidth Monitor Count */
-#define REG_DMA26_BWMCNT_CUR 0xFFC092CC /* DMA26 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA27
- ========================= */
-#define REG_DMA27_DSCPTR_NXT 0xFFC09300 /* DMA27 Pointer to Next Initial Descriptor */
-#define REG_DMA27_ADDRSTART 0xFFC09304 /* DMA27 Start Address of Current Buffer */
-#define REG_DMA27_CFG 0xFFC09308 /* DMA27 Configuration Register */
-#define REG_DMA27_XCNT 0xFFC0930C /* DMA27 Inner Loop Count Start Value */
-#define REG_DMA27_XMOD 0xFFC09310 /* DMA27 Inner Loop Address Increment */
-#define REG_DMA27_YCNT 0xFFC09314 /* DMA27 Outer Loop Count Start Value (2D only) */
-#define REG_DMA27_YMOD 0xFFC09318 /* DMA27 Outer Loop Address Increment (2D only) */
-#define REG_DMA27_DSCPTR_CUR 0xFFC09324 /* DMA27 Current Descriptor Pointer */
-#define REG_DMA27_DSCPTR_PRV 0xFFC09328 /* DMA27 Previous Initial Descriptor Pointer */
-#define REG_DMA27_ADDR_CUR 0xFFC0932C /* DMA27 Current Address */
-#define REG_DMA27_STAT 0xFFC09330 /* DMA27 Status Register */
-#define REG_DMA27_XCNT_CUR 0xFFC09334 /* DMA27 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA27_YCNT_CUR 0xFFC09338 /* DMA27 Current Row Count (2D only) */
-#define REG_DMA27_BWLCNT 0xFFC09340 /* DMA27 Bandwidth Limit Count */
-#define REG_DMA27_BWLCNT_CUR 0xFFC09344 /* DMA27 Bandwidth Limit Count Current */
-#define REG_DMA27_BWMCNT 0xFFC09348 /* DMA27 Bandwidth Monitor Count */
-#define REG_DMA27_BWMCNT_CUR 0xFFC0934C /* DMA27 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA28
- ========================= */
-#define REG_DMA28_DSCPTR_NXT 0xFFC09380 /* DMA28 Pointer to Next Initial Descriptor */
-#define REG_DMA28_ADDRSTART 0xFFC09384 /* DMA28 Start Address of Current Buffer */
-#define REG_DMA28_CFG 0xFFC09388 /* DMA28 Configuration Register */
-#define REG_DMA28_XCNT 0xFFC0938C /* DMA28 Inner Loop Count Start Value */
-#define REG_DMA28_XMOD 0xFFC09390 /* DMA28 Inner Loop Address Increment */
-#define REG_DMA28_YCNT 0xFFC09394 /* DMA28 Outer Loop Count Start Value (2D only) */
-#define REG_DMA28_YMOD 0xFFC09398 /* DMA28 Outer Loop Address Increment (2D only) */
-#define REG_DMA28_DSCPTR_CUR 0xFFC093A4 /* DMA28 Current Descriptor Pointer */
-#define REG_DMA28_DSCPTR_PRV 0xFFC093A8 /* DMA28 Previous Initial Descriptor Pointer */
-#define REG_DMA28_ADDR_CUR 0xFFC093AC /* DMA28 Current Address */
-#define REG_DMA28_STAT 0xFFC093B0 /* DMA28 Status Register */
-#define REG_DMA28_XCNT_CUR 0xFFC093B4 /* DMA28 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA28_YCNT_CUR 0xFFC093B8 /* DMA28 Current Row Count (2D only) */
-#define REG_DMA28_BWLCNT 0xFFC093C0 /* DMA28 Bandwidth Limit Count */
-#define REG_DMA28_BWLCNT_CUR 0xFFC093C4 /* DMA28 Bandwidth Limit Count Current */
-#define REG_DMA28_BWMCNT 0xFFC093C8 /* DMA28 Bandwidth Monitor Count */
-#define REG_DMA28_BWMCNT_CUR 0xFFC093CC /* DMA28 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA29
- ========================= */
-#define REG_DMA29_DSCPTR_NXT 0xFFC0B000 /* DMA29 Pointer to Next Initial Descriptor */
-#define REG_DMA29_ADDRSTART 0xFFC0B004 /* DMA29 Start Address of Current Buffer */
-#define REG_DMA29_CFG 0xFFC0B008 /* DMA29 Configuration Register */
-#define REG_DMA29_XCNT 0xFFC0B00C /* DMA29 Inner Loop Count Start Value */
-#define REG_DMA29_XMOD 0xFFC0B010 /* DMA29 Inner Loop Address Increment */
-#define REG_DMA29_YCNT 0xFFC0B014 /* DMA29 Outer Loop Count Start Value (2D only) */
-#define REG_DMA29_YMOD 0xFFC0B018 /* DMA29 Outer Loop Address Increment (2D only) */
-#define REG_DMA29_DSCPTR_CUR 0xFFC0B024 /* DMA29 Current Descriptor Pointer */
-#define REG_DMA29_DSCPTR_PRV 0xFFC0B028 /* DMA29 Previous Initial Descriptor Pointer */
-#define REG_DMA29_ADDR_CUR 0xFFC0B02C /* DMA29 Current Address */
-#define REG_DMA29_STAT 0xFFC0B030 /* DMA29 Status Register */
-#define REG_DMA29_XCNT_CUR 0xFFC0B034 /* DMA29 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA29_YCNT_CUR 0xFFC0B038 /* DMA29 Current Row Count (2D only) */
-#define REG_DMA29_BWLCNT 0xFFC0B040 /* DMA29 Bandwidth Limit Count */
-#define REG_DMA29_BWLCNT_CUR 0xFFC0B044 /* DMA29 Bandwidth Limit Count Current */
-#define REG_DMA29_BWMCNT 0xFFC0B048 /* DMA29 Bandwidth Monitor Count */
-#define REG_DMA29_BWMCNT_CUR 0xFFC0B04C /* DMA29 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA30
- ========================= */
-#define REG_DMA30_DSCPTR_NXT 0xFFC0B080 /* DMA30 Pointer to Next Initial Descriptor */
-#define REG_DMA30_ADDRSTART 0xFFC0B084 /* DMA30 Start Address of Current Buffer */
-#define REG_DMA30_CFG 0xFFC0B088 /* DMA30 Configuration Register */
-#define REG_DMA30_XCNT 0xFFC0B08C /* DMA30 Inner Loop Count Start Value */
-#define REG_DMA30_XMOD 0xFFC0B090 /* DMA30 Inner Loop Address Increment */
-#define REG_DMA30_YCNT 0xFFC0B094 /* DMA30 Outer Loop Count Start Value (2D only) */
-#define REG_DMA30_YMOD 0xFFC0B098 /* DMA30 Outer Loop Address Increment (2D only) */
-#define REG_DMA30_DSCPTR_CUR 0xFFC0B0A4 /* DMA30 Current Descriptor Pointer */
-#define REG_DMA30_DSCPTR_PRV 0xFFC0B0A8 /* DMA30 Previous Initial Descriptor Pointer */
-#define REG_DMA30_ADDR_CUR 0xFFC0B0AC /* DMA30 Current Address */
-#define REG_DMA30_STAT 0xFFC0B0B0 /* DMA30 Status Register */
-#define REG_DMA30_XCNT_CUR 0xFFC0B0B4 /* DMA30 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA30_YCNT_CUR 0xFFC0B0B8 /* DMA30 Current Row Count (2D only) */
-#define REG_DMA30_BWLCNT 0xFFC0B0C0 /* DMA30 Bandwidth Limit Count */
-#define REG_DMA30_BWLCNT_CUR 0xFFC0B0C4 /* DMA30 Bandwidth Limit Count Current */
-#define REG_DMA30_BWMCNT 0xFFC0B0C8 /* DMA30 Bandwidth Monitor Count */
-#define REG_DMA30_BWMCNT_CUR 0xFFC0B0CC /* DMA30 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA31
- ========================= */
-#define REG_DMA31_DSCPTR_NXT 0xFFC0B100 /* DMA31 Pointer to Next Initial Descriptor */
-#define REG_DMA31_ADDRSTART 0xFFC0B104 /* DMA31 Start Address of Current Buffer */
-#define REG_DMA31_CFG 0xFFC0B108 /* DMA31 Configuration Register */
-#define REG_DMA31_XCNT 0xFFC0B10C /* DMA31 Inner Loop Count Start Value */
-#define REG_DMA31_XMOD 0xFFC0B110 /* DMA31 Inner Loop Address Increment */
-#define REG_DMA31_YCNT 0xFFC0B114 /* DMA31 Outer Loop Count Start Value (2D only) */
-#define REG_DMA31_YMOD 0xFFC0B118 /* DMA31 Outer Loop Address Increment (2D only) */
-#define REG_DMA31_DSCPTR_CUR 0xFFC0B124 /* DMA31 Current Descriptor Pointer */
-#define REG_DMA31_DSCPTR_PRV 0xFFC0B128 /* DMA31 Previous Initial Descriptor Pointer */
-#define REG_DMA31_ADDR_CUR 0xFFC0B12C /* DMA31 Current Address */
-#define REG_DMA31_STAT 0xFFC0B130 /* DMA31 Status Register */
-#define REG_DMA31_XCNT_CUR 0xFFC0B134 /* DMA31 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA31_YCNT_CUR 0xFFC0B138 /* DMA31 Current Row Count (2D only) */
-#define REG_DMA31_BWLCNT 0xFFC0B140 /* DMA31 Bandwidth Limit Count */
-#define REG_DMA31_BWLCNT_CUR 0xFFC0B144 /* DMA31 Bandwidth Limit Count Current */
-#define REG_DMA31_BWMCNT 0xFFC0B148 /* DMA31 Bandwidth Monitor Count */
-#define REG_DMA31_BWMCNT_CUR 0xFFC0B14C /* DMA31 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA32
- ========================= */
-#define REG_DMA32_DSCPTR_NXT 0xFFC0B180 /* DMA32 Pointer to Next Initial Descriptor */
-#define REG_DMA32_ADDRSTART 0xFFC0B184 /* DMA32 Start Address of Current Buffer */
-#define REG_DMA32_CFG 0xFFC0B188 /* DMA32 Configuration Register */
-#define REG_DMA32_XCNT 0xFFC0B18C /* DMA32 Inner Loop Count Start Value */
-#define REG_DMA32_XMOD 0xFFC0B190 /* DMA32 Inner Loop Address Increment */
-#define REG_DMA32_YCNT 0xFFC0B194 /* DMA32 Outer Loop Count Start Value (2D only) */
-#define REG_DMA32_YMOD 0xFFC0B198 /* DMA32 Outer Loop Address Increment (2D only) */
-#define REG_DMA32_DSCPTR_CUR 0xFFC0B1A4 /* DMA32 Current Descriptor Pointer */
-#define REG_DMA32_DSCPTR_PRV 0xFFC0B1A8 /* DMA32 Previous Initial Descriptor Pointer */
-#define REG_DMA32_ADDR_CUR 0xFFC0B1AC /* DMA32 Current Address */
-#define REG_DMA32_STAT 0xFFC0B1B0 /* DMA32 Status Register */
-#define REG_DMA32_XCNT_CUR 0xFFC0B1B4 /* DMA32 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA32_YCNT_CUR 0xFFC0B1B8 /* DMA32 Current Row Count (2D only) */
-#define REG_DMA32_BWLCNT 0xFFC0B1C0 /* DMA32 Bandwidth Limit Count */
-#define REG_DMA32_BWLCNT_CUR 0xFFC0B1C4 /* DMA32 Bandwidth Limit Count Current */
-#define REG_DMA32_BWMCNT 0xFFC0B1C8 /* DMA32 Bandwidth Monitor Count */
-#define REG_DMA32_BWMCNT_CUR 0xFFC0B1CC /* DMA32 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA33
- ========================= */
-#define REG_DMA33_DSCPTR_NXT 0xFFC0D000 /* DMA33 Pointer to Next Initial Descriptor */
-#define REG_DMA33_ADDRSTART 0xFFC0D004 /* DMA33 Start Address of Current Buffer */
-#define REG_DMA33_CFG 0xFFC0D008 /* DMA33 Configuration Register */
-#define REG_DMA33_XCNT 0xFFC0D00C /* DMA33 Inner Loop Count Start Value */
-#define REG_DMA33_XMOD 0xFFC0D010 /* DMA33 Inner Loop Address Increment */
-#define REG_DMA33_YCNT 0xFFC0D014 /* DMA33 Outer Loop Count Start Value (2D only) */
-#define REG_DMA33_YMOD 0xFFC0D018 /* DMA33 Outer Loop Address Increment (2D only) */
-#define REG_DMA33_DSCPTR_CUR 0xFFC0D024 /* DMA33 Current Descriptor Pointer */
-#define REG_DMA33_DSCPTR_PRV 0xFFC0D028 /* DMA33 Previous Initial Descriptor Pointer */
-#define REG_DMA33_ADDR_CUR 0xFFC0D02C /* DMA33 Current Address */
-#define REG_DMA33_STAT 0xFFC0D030 /* DMA33 Status Register */
-#define REG_DMA33_XCNT_CUR 0xFFC0D034 /* DMA33 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA33_YCNT_CUR 0xFFC0D038 /* DMA33 Current Row Count (2D only) */
-#define REG_DMA33_BWLCNT 0xFFC0D040 /* DMA33 Bandwidth Limit Count */
-#define REG_DMA33_BWLCNT_CUR 0xFFC0D044 /* DMA33 Bandwidth Limit Count Current */
-#define REG_DMA33_BWMCNT 0xFFC0D048 /* DMA33 Bandwidth Monitor Count */
-#define REG_DMA33_BWMCNT_CUR 0xFFC0D04C /* DMA33 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA34
- ========================= */
-#define REG_DMA34_DSCPTR_NXT 0xFFC0D080 /* DMA34 Pointer to Next Initial Descriptor */
-#define REG_DMA34_ADDRSTART 0xFFC0D084 /* DMA34 Start Address of Current Buffer */
-#define REG_DMA34_CFG 0xFFC0D088 /* DMA34 Configuration Register */
-#define REG_DMA34_XCNT 0xFFC0D08C /* DMA34 Inner Loop Count Start Value */
-#define REG_DMA34_XMOD 0xFFC0D090 /* DMA34 Inner Loop Address Increment */
-#define REG_DMA34_YCNT 0xFFC0D094 /* DMA34 Outer Loop Count Start Value (2D only) */
-#define REG_DMA34_YMOD 0xFFC0D098 /* DMA34 Outer Loop Address Increment (2D only) */
-#define REG_DMA34_DSCPTR_CUR 0xFFC0D0A4 /* DMA34 Current Descriptor Pointer */
-#define REG_DMA34_DSCPTR_PRV 0xFFC0D0A8 /* DMA34 Previous Initial Descriptor Pointer */
-#define REG_DMA34_ADDR_CUR 0xFFC0D0AC /* DMA34 Current Address */
-#define REG_DMA34_STAT 0xFFC0D0B0 /* DMA34 Status Register */
-#define REG_DMA34_XCNT_CUR 0xFFC0D0B4 /* DMA34 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA34_YCNT_CUR 0xFFC0D0B8 /* DMA34 Current Row Count (2D only) */
-#define REG_DMA34_BWLCNT 0xFFC0D0C0 /* DMA34 Bandwidth Limit Count */
-#define REG_DMA34_BWLCNT_CUR 0xFFC0D0C4 /* DMA34 Bandwidth Limit Count Current */
-#define REG_DMA34_BWMCNT 0xFFC0D0C8 /* DMA34 Bandwidth Monitor Count */
-#define REG_DMA34_BWMCNT_CUR 0xFFC0D0CC /* DMA34 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA35
- ========================= */
-#define REG_DMA35_DSCPTR_NXT 0xFFC10000 /* DMA35 Pointer to Next Initial Descriptor */
-#define REG_DMA35_ADDRSTART 0xFFC10004 /* DMA35 Start Address of Current Buffer */
-#define REG_DMA35_CFG 0xFFC10008 /* DMA35 Configuration Register */
-#define REG_DMA35_XCNT 0xFFC1000C /* DMA35 Inner Loop Count Start Value */
-#define REG_DMA35_XMOD 0xFFC10010 /* DMA35 Inner Loop Address Increment */
-#define REG_DMA35_YCNT 0xFFC10014 /* DMA35 Outer Loop Count Start Value (2D only) */
-#define REG_DMA35_YMOD 0xFFC10018 /* DMA35 Outer Loop Address Increment (2D only) */
-#define REG_DMA35_DSCPTR_CUR 0xFFC10024 /* DMA35 Current Descriptor Pointer */
-#define REG_DMA35_DSCPTR_PRV 0xFFC10028 /* DMA35 Previous Initial Descriptor Pointer */
-#define REG_DMA35_ADDR_CUR 0xFFC1002C /* DMA35 Current Address */
-#define REG_DMA35_STAT 0xFFC10030 /* DMA35 Status Register */
-#define REG_DMA35_XCNT_CUR 0xFFC10034 /* DMA35 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA35_YCNT_CUR 0xFFC10038 /* DMA35 Current Row Count (2D only) */
-#define REG_DMA35_BWLCNT 0xFFC10040 /* DMA35 Bandwidth Limit Count */
-#define REG_DMA35_BWLCNT_CUR 0xFFC10044 /* DMA35 Bandwidth Limit Count Current */
-#define REG_DMA35_BWMCNT 0xFFC10048 /* DMA35 Bandwidth Monitor Count */
-#define REG_DMA35_BWMCNT_CUR 0xFFC1004C /* DMA35 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA36
- ========================= */
-#define REG_DMA36_DSCPTR_NXT 0xFFC10080 /* DMA36 Pointer to Next Initial Descriptor */
-#define REG_DMA36_ADDRSTART 0xFFC10084 /* DMA36 Start Address of Current Buffer */
-#define REG_DMA36_CFG 0xFFC10088 /* DMA36 Configuration Register */
-#define REG_DMA36_XCNT 0xFFC1008C /* DMA36 Inner Loop Count Start Value */
-#define REG_DMA36_XMOD 0xFFC10090 /* DMA36 Inner Loop Address Increment */
-#define REG_DMA36_YCNT 0xFFC10094 /* DMA36 Outer Loop Count Start Value (2D only) */
-#define REG_DMA36_YMOD 0xFFC10098 /* DMA36 Outer Loop Address Increment (2D only) */
-#define REG_DMA36_DSCPTR_CUR 0xFFC100A4 /* DMA36 Current Descriptor Pointer */
-#define REG_DMA36_DSCPTR_PRV 0xFFC100A8 /* DMA36 Previous Initial Descriptor Pointer */
-#define REG_DMA36_ADDR_CUR 0xFFC100AC /* DMA36 Current Address */
-#define REG_DMA36_STAT 0xFFC100B0 /* DMA36 Status Register */
-#define REG_DMA36_XCNT_CUR 0xFFC100B4 /* DMA36 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA36_YCNT_CUR 0xFFC100B8 /* DMA36 Current Row Count (2D only) */
-#define REG_DMA36_BWLCNT 0xFFC100C0 /* DMA36 Bandwidth Limit Count */
-#define REG_DMA36_BWLCNT_CUR 0xFFC100C4 /* DMA36 Bandwidth Limit Count Current */
-#define REG_DMA36_BWMCNT 0xFFC100C8 /* DMA36 Bandwidth Monitor Count */
-#define REG_DMA36_BWMCNT_CUR 0xFFC100CC /* DMA36 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA37
- ========================= */
-#define REG_DMA37_DSCPTR_NXT 0xFFC10100 /* DMA37 Pointer to Next Initial Descriptor */
-#define REG_DMA37_ADDRSTART 0xFFC10104 /* DMA37 Start Address of Current Buffer */
-#define REG_DMA37_CFG 0xFFC10108 /* DMA37 Configuration Register */
-#define REG_DMA37_XCNT 0xFFC1010C /* DMA37 Inner Loop Count Start Value */
-#define REG_DMA37_XMOD 0xFFC10110 /* DMA37 Inner Loop Address Increment */
-#define REG_DMA37_YCNT 0xFFC10114 /* DMA37 Outer Loop Count Start Value (2D only) */
-#define REG_DMA37_YMOD 0xFFC10118 /* DMA37 Outer Loop Address Increment (2D only) */
-#define REG_DMA37_DSCPTR_CUR 0xFFC10124 /* DMA37 Current Descriptor Pointer */
-#define REG_DMA37_DSCPTR_PRV 0xFFC10128 /* DMA37 Previous Initial Descriptor Pointer */
-#define REG_DMA37_ADDR_CUR 0xFFC1012C /* DMA37 Current Address */
-#define REG_DMA37_STAT 0xFFC10130 /* DMA37 Status Register */
-#define REG_DMA37_XCNT_CUR 0xFFC10134 /* DMA37 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA37_YCNT_CUR 0xFFC10138 /* DMA37 Current Row Count (2D only) */
-#define REG_DMA37_BWLCNT 0xFFC10140 /* DMA37 Bandwidth Limit Count */
-#define REG_DMA37_BWLCNT_CUR 0xFFC10144 /* DMA37 Bandwidth Limit Count Current */
-#define REG_DMA37_BWMCNT 0xFFC10148 /* DMA37 Bandwidth Monitor Count */
-#define REG_DMA37_BWMCNT_CUR 0xFFC1014C /* DMA37 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA38
- ========================= */
-#define REG_DMA38_DSCPTR_NXT 0xFFC12000 /* DMA38 Pointer to Next Initial Descriptor */
-#define REG_DMA38_ADDRSTART 0xFFC12004 /* DMA38 Start Address of Current Buffer */
-#define REG_DMA38_CFG 0xFFC12008 /* DMA38 Configuration Register */
-#define REG_DMA38_XCNT 0xFFC1200C /* DMA38 Inner Loop Count Start Value */
-#define REG_DMA38_XMOD 0xFFC12010 /* DMA38 Inner Loop Address Increment */
-#define REG_DMA38_YCNT 0xFFC12014 /* DMA38 Outer Loop Count Start Value (2D only) */
-#define REG_DMA38_YMOD 0xFFC12018 /* DMA38 Outer Loop Address Increment (2D only) */
-#define REG_DMA38_DSCPTR_CUR 0xFFC12024 /* DMA38 Current Descriptor Pointer */
-#define REG_DMA38_DSCPTR_PRV 0xFFC12028 /* DMA38 Previous Initial Descriptor Pointer */
-#define REG_DMA38_ADDR_CUR 0xFFC1202C /* DMA38 Current Address */
-#define REG_DMA38_STAT 0xFFC12030 /* DMA38 Status Register */
-#define REG_DMA38_XCNT_CUR 0xFFC12034 /* DMA38 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA38_YCNT_CUR 0xFFC12038 /* DMA38 Current Row Count (2D only) */
-#define REG_DMA38_BWLCNT 0xFFC12040 /* DMA38 Bandwidth Limit Count */
-#define REG_DMA38_BWLCNT_CUR 0xFFC12044 /* DMA38 Bandwidth Limit Count Current */
-#define REG_DMA38_BWMCNT 0xFFC12048 /* DMA38 Bandwidth Monitor Count */
-#define REG_DMA38_BWMCNT_CUR 0xFFC1204C /* DMA38 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA39
- ========================= */
-#define REG_DMA39_DSCPTR_NXT 0xFFC12080 /* DMA39 Pointer to Next Initial Descriptor */
-#define REG_DMA39_ADDRSTART 0xFFC12084 /* DMA39 Start Address of Current Buffer */
-#define REG_DMA39_CFG 0xFFC12088 /* DMA39 Configuration Register */
-#define REG_DMA39_XCNT 0xFFC1208C /* DMA39 Inner Loop Count Start Value */
-#define REG_DMA39_XMOD 0xFFC12090 /* DMA39 Inner Loop Address Increment */
-#define REG_DMA39_YCNT 0xFFC12094 /* DMA39 Outer Loop Count Start Value (2D only) */
-#define REG_DMA39_YMOD 0xFFC12098 /* DMA39 Outer Loop Address Increment (2D only) */
-#define REG_DMA39_DSCPTR_CUR 0xFFC120A4 /* DMA39 Current Descriptor Pointer */
-#define REG_DMA39_DSCPTR_PRV 0xFFC120A8 /* DMA39 Previous Initial Descriptor Pointer */
-#define REG_DMA39_ADDR_CUR 0xFFC120AC /* DMA39 Current Address */
-#define REG_DMA39_STAT 0xFFC120B0 /* DMA39 Status Register */
-#define REG_DMA39_XCNT_CUR 0xFFC120B4 /* DMA39 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA39_YCNT_CUR 0xFFC120B8 /* DMA39 Current Row Count (2D only) */
-#define REG_DMA39_BWLCNT 0xFFC120C0 /* DMA39 Bandwidth Limit Count */
-#define REG_DMA39_BWLCNT_CUR 0xFFC120C4 /* DMA39 Bandwidth Limit Count Current */
-#define REG_DMA39_BWMCNT 0xFFC120C8 /* DMA39 Bandwidth Monitor Count */
-#define REG_DMA39_BWMCNT_CUR 0xFFC120CC /* DMA39 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA40
- ========================= */
-#define REG_DMA40_DSCPTR_NXT 0xFFC12100 /* DMA40 Pointer to Next Initial Descriptor */
-#define REG_DMA40_ADDRSTART 0xFFC12104 /* DMA40 Start Address of Current Buffer */
-#define REG_DMA40_CFG 0xFFC12108 /* DMA40 Configuration Register */
-#define REG_DMA40_XCNT 0xFFC1210C /* DMA40 Inner Loop Count Start Value */
-#define REG_DMA40_XMOD 0xFFC12110 /* DMA40 Inner Loop Address Increment */
-#define REG_DMA40_YCNT 0xFFC12114 /* DMA40 Outer Loop Count Start Value (2D only) */
-#define REG_DMA40_YMOD 0xFFC12118 /* DMA40 Outer Loop Address Increment (2D only) */
-#define REG_DMA40_DSCPTR_CUR 0xFFC12124 /* DMA40 Current Descriptor Pointer */
-#define REG_DMA40_DSCPTR_PRV 0xFFC12128 /* DMA40 Previous Initial Descriptor Pointer */
-#define REG_DMA40_ADDR_CUR 0xFFC1212C /* DMA40 Current Address */
-#define REG_DMA40_STAT 0xFFC12130 /* DMA40 Status Register */
-#define REG_DMA40_XCNT_CUR 0xFFC12134 /* DMA40 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA40_YCNT_CUR 0xFFC12138 /* DMA40 Current Row Count (2D only) */
-#define REG_DMA40_BWLCNT 0xFFC12140 /* DMA40 Bandwidth Limit Count */
-#define REG_DMA40_BWLCNT_CUR 0xFFC12144 /* DMA40 Bandwidth Limit Count Current */
-#define REG_DMA40_BWMCNT 0xFFC12148 /* DMA40 Bandwidth Monitor Count */
-#define REG_DMA40_BWMCNT_CUR 0xFFC1214C /* DMA40 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA41
- ========================= */
-#define REG_DMA41_DSCPTR_NXT 0xFFC12180 /* DMA41 Pointer to Next Initial Descriptor */
-#define REG_DMA41_ADDRSTART 0xFFC12184 /* DMA41 Start Address of Current Buffer */
-#define REG_DMA41_CFG 0xFFC12188 /* DMA41 Configuration Register */
-#define REG_DMA41_XCNT 0xFFC1218C /* DMA41 Inner Loop Count Start Value */
-#define REG_DMA41_XMOD 0xFFC12190 /* DMA41 Inner Loop Address Increment */
-#define REG_DMA41_YCNT 0xFFC12194 /* DMA41 Outer Loop Count Start Value (2D only) */
-#define REG_DMA41_YMOD 0xFFC12198 /* DMA41 Outer Loop Address Increment (2D only) */
-#define REG_DMA41_DSCPTR_CUR 0xFFC121A4 /* DMA41 Current Descriptor Pointer */
-#define REG_DMA41_DSCPTR_PRV 0xFFC121A8 /* DMA41 Previous Initial Descriptor Pointer */
-#define REG_DMA41_ADDR_CUR 0xFFC121AC /* DMA41 Current Address */
-#define REG_DMA41_STAT 0xFFC121B0 /* DMA41 Status Register */
-#define REG_DMA41_XCNT_CUR 0xFFC121B4 /* DMA41 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA41_YCNT_CUR 0xFFC121B8 /* DMA41 Current Row Count (2D only) */
-#define REG_DMA41_BWLCNT 0xFFC121C0 /* DMA41 Bandwidth Limit Count */
-#define REG_DMA41_BWLCNT_CUR 0xFFC121C4 /* DMA41 Bandwidth Limit Count Current */
-#define REG_DMA41_BWMCNT 0xFFC121C8 /* DMA41 Bandwidth Monitor Count */
-#define REG_DMA41_BWMCNT_CUR 0xFFC121CC /* DMA41 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA42
- ========================= */
-#define REG_DMA42_DSCPTR_NXT 0xFFC14000 /* DMA42 Pointer to Next Initial Descriptor */
-#define REG_DMA42_ADDRSTART 0xFFC14004 /* DMA42 Start Address of Current Buffer */
-#define REG_DMA42_CFG 0xFFC14008 /* DMA42 Configuration Register */
-#define REG_DMA42_XCNT 0xFFC1400C /* DMA42 Inner Loop Count Start Value */
-#define REG_DMA42_XMOD 0xFFC14010 /* DMA42 Inner Loop Address Increment */
-#define REG_DMA42_YCNT 0xFFC14014 /* DMA42 Outer Loop Count Start Value (2D only) */
-#define REG_DMA42_YMOD 0xFFC14018 /* DMA42 Outer Loop Address Increment (2D only) */
-#define REG_DMA42_DSCPTR_CUR 0xFFC14024 /* DMA42 Current Descriptor Pointer */
-#define REG_DMA42_DSCPTR_PRV 0xFFC14028 /* DMA42 Previous Initial Descriptor Pointer */
-#define REG_DMA42_ADDR_CUR 0xFFC1402C /* DMA42 Current Address */
-#define REG_DMA42_STAT 0xFFC14030 /* DMA42 Status Register */
-#define REG_DMA42_XCNT_CUR 0xFFC14034 /* DMA42 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA42_YCNT_CUR 0xFFC14038 /* DMA42 Current Row Count (2D only) */
-#define REG_DMA42_BWLCNT 0xFFC14040 /* DMA42 Bandwidth Limit Count */
-#define REG_DMA42_BWLCNT_CUR 0xFFC14044 /* DMA42 Bandwidth Limit Count Current */
-#define REG_DMA42_BWMCNT 0xFFC14048 /* DMA42 Bandwidth Monitor Count */
-#define REG_DMA42_BWMCNT_CUR 0xFFC1404C /* DMA42 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA43
- ========================= */
-#define REG_DMA43_DSCPTR_NXT 0xFFC14080 /* DMA43 Pointer to Next Initial Descriptor */
-#define REG_DMA43_ADDRSTART 0xFFC14084 /* DMA43 Start Address of Current Buffer */
-#define REG_DMA43_CFG 0xFFC14088 /* DMA43 Configuration Register */
-#define REG_DMA43_XCNT 0xFFC1408C /* DMA43 Inner Loop Count Start Value */
-#define REG_DMA43_XMOD 0xFFC14090 /* DMA43 Inner Loop Address Increment */
-#define REG_DMA43_YCNT 0xFFC14094 /* DMA43 Outer Loop Count Start Value (2D only) */
-#define REG_DMA43_YMOD 0xFFC14098 /* DMA43 Outer Loop Address Increment (2D only) */
-#define REG_DMA43_DSCPTR_CUR 0xFFC140A4 /* DMA43 Current Descriptor Pointer */
-#define REG_DMA43_DSCPTR_PRV 0xFFC140A8 /* DMA43 Previous Initial Descriptor Pointer */
-#define REG_DMA43_ADDR_CUR 0xFFC140AC /* DMA43 Current Address */
-#define REG_DMA43_STAT 0xFFC140B0 /* DMA43 Status Register */
-#define REG_DMA43_XCNT_CUR 0xFFC140B4 /* DMA43 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA43_YCNT_CUR 0xFFC140B8 /* DMA43 Current Row Count (2D only) */
-#define REG_DMA43_BWLCNT 0xFFC140C0 /* DMA43 Bandwidth Limit Count */
-#define REG_DMA43_BWLCNT_CUR 0xFFC140C4 /* DMA43 Bandwidth Limit Count Current */
-#define REG_DMA43_BWMCNT 0xFFC140C8 /* DMA43 Bandwidth Monitor Count */
-#define REG_DMA43_BWMCNT_CUR 0xFFC140CC /* DMA43 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA44
- ========================= */
-#define REG_DMA44_DSCPTR_NXT 0xFFC14100 /* DMA44 Pointer to Next Initial Descriptor */
-#define REG_DMA44_ADDRSTART 0xFFC14104 /* DMA44 Start Address of Current Buffer */
-#define REG_DMA44_CFG 0xFFC14108 /* DMA44 Configuration Register */
-#define REG_DMA44_XCNT 0xFFC1410C /* DMA44 Inner Loop Count Start Value */
-#define REG_DMA44_XMOD 0xFFC14110 /* DMA44 Inner Loop Address Increment */
-#define REG_DMA44_YCNT 0xFFC14114 /* DMA44 Outer Loop Count Start Value (2D only) */
-#define REG_DMA44_YMOD 0xFFC14118 /* DMA44 Outer Loop Address Increment (2D only) */
-#define REG_DMA44_DSCPTR_CUR 0xFFC14124 /* DMA44 Current Descriptor Pointer */
-#define REG_DMA44_DSCPTR_PRV 0xFFC14128 /* DMA44 Previous Initial Descriptor Pointer */
-#define REG_DMA44_ADDR_CUR 0xFFC1412C /* DMA44 Current Address */
-#define REG_DMA44_STAT 0xFFC14130 /* DMA44 Status Register */
-#define REG_DMA44_XCNT_CUR 0xFFC14134 /* DMA44 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA44_YCNT_CUR 0xFFC14138 /* DMA44 Current Row Count (2D only) */
-#define REG_DMA44_BWLCNT 0xFFC14140 /* DMA44 Bandwidth Limit Count */
-#define REG_DMA44_BWLCNT_CUR 0xFFC14144 /* DMA44 Bandwidth Limit Count Current */
-#define REG_DMA44_BWMCNT 0xFFC14148 /* DMA44 Bandwidth Monitor Count */
-#define REG_DMA44_BWMCNT_CUR 0xFFC1414C /* DMA44 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA45
- ========================= */
-#define REG_DMA45_DSCPTR_NXT 0xFFC14180 /* DMA45 Pointer to Next Initial Descriptor */
-#define REG_DMA45_ADDRSTART 0xFFC14184 /* DMA45 Start Address of Current Buffer */
-#define REG_DMA45_CFG 0xFFC14188 /* DMA45 Configuration Register */
-#define REG_DMA45_XCNT 0xFFC1418C /* DMA45 Inner Loop Count Start Value */
-#define REG_DMA45_XMOD 0xFFC14190 /* DMA45 Inner Loop Address Increment */
-#define REG_DMA45_YCNT 0xFFC14194 /* DMA45 Outer Loop Count Start Value (2D only) */
-#define REG_DMA45_YMOD 0xFFC14198 /* DMA45 Outer Loop Address Increment (2D only) */
-#define REG_DMA45_DSCPTR_CUR 0xFFC141A4 /* DMA45 Current Descriptor Pointer */
-#define REG_DMA45_DSCPTR_PRV 0xFFC141A8 /* DMA45 Previous Initial Descriptor Pointer */
-#define REG_DMA45_ADDR_CUR 0xFFC141AC /* DMA45 Current Address */
-#define REG_DMA45_STAT 0xFFC141B0 /* DMA45 Status Register */
-#define REG_DMA45_XCNT_CUR 0xFFC141B4 /* DMA45 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA45_YCNT_CUR 0xFFC141B8 /* DMA45 Current Row Count (2D only) */
-#define REG_DMA45_BWLCNT 0xFFC141C0 /* DMA45 Bandwidth Limit Count */
-#define REG_DMA45_BWLCNT_CUR 0xFFC141C4 /* DMA45 Bandwidth Limit Count Current */
-#define REG_DMA45_BWMCNT 0xFFC141C8 /* DMA45 Bandwidth Monitor Count */
-#define REG_DMA45_BWMCNT_CUR 0xFFC141CC /* DMA45 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA46
- ========================= */
-#define REG_DMA46_DSCPTR_NXT 0xFFC14200 /* DMA46 Pointer to Next Initial Descriptor */
-#define REG_DMA46_ADDRSTART 0xFFC14204 /* DMA46 Start Address of Current Buffer */
-#define REG_DMA46_CFG 0xFFC14208 /* DMA46 Configuration Register */
-#define REG_DMA46_XCNT 0xFFC1420C /* DMA46 Inner Loop Count Start Value */
-#define REG_DMA46_XMOD 0xFFC14210 /* DMA46 Inner Loop Address Increment */
-#define REG_DMA46_YCNT 0xFFC14214 /* DMA46 Outer Loop Count Start Value (2D only) */
-#define REG_DMA46_YMOD 0xFFC14218 /* DMA46 Outer Loop Address Increment (2D only) */
-#define REG_DMA46_DSCPTR_CUR 0xFFC14224 /* DMA46 Current Descriptor Pointer */
-#define REG_DMA46_DSCPTR_PRV 0xFFC14228 /* DMA46 Previous Initial Descriptor Pointer */
-#define REG_DMA46_ADDR_CUR 0xFFC1422C /* DMA46 Current Address */
-#define REG_DMA46_STAT 0xFFC14230 /* DMA46 Status Register */
-#define REG_DMA46_XCNT_CUR 0xFFC14234 /* DMA46 Current Count(1D) or intra-row XCNT (2D) */
-#define REG_DMA46_YCNT_CUR 0xFFC14238 /* DMA46 Current Row Count (2D only) */
-#define REG_DMA46_BWLCNT 0xFFC14240 /* DMA46 Bandwidth Limit Count */
-#define REG_DMA46_BWLCNT_CUR 0xFFC14244 /* DMA46 Bandwidth Limit Count Current */
-#define REG_DMA46_BWMCNT 0xFFC14248 /* DMA46 Bandwidth Monitor Count */
-#define REG_DMA46_BWMCNT_CUR 0xFFC1424C /* DMA46 Bandwidth Monitor Count Current */
-
-/* =========================
- DMA
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_CFG_PDRF 28 /* Peripheral Data Request Forward */
-#define BITP_DMA_CFG_TWOD 26 /* Two Dimension Addressing Enable */
-#define BITP_DMA_CFG_DESCIDCPY 25 /* Descriptor ID Copy Control */
-#define BITP_DMA_CFG_TOVEN 24 /* Trigger Overrun Error Enable */
-#define BITP_DMA_CFG_TRIG 22 /* Generate Outgoing Trigger */
-#define BITP_DMA_CFG_INT 20 /* Generate Interrupt */
-#define BITP_DMA_CFG_NDSIZE 16 /* Next Descriptor Set Size */
-#define BITP_DMA_CFG_TWAIT 15 /* Wait for Trigger */
-#define BITP_DMA_CFG_FLOW 12 /* Next Operation */
-#define BITP_DMA_CFG_MSIZE 8 /* Memory Transfer Word Size */
-#define BITP_DMA_CFG_PSIZE 4 /* Peripheral Transfer Word Size */
-#define BITP_DMA_CFG_CADDR 3 /* Use Current Address */
-#define BITP_DMA_CFG_SYNC 2 /* Synchronize Work Unit Transitions */
-#define BITP_DMA_CFG_WNR 1 /* Write/Read Channel Direction */
-#define BITP_DMA_CFG_EN 0 /* DMA Channel Enable */
-
-#define BITM_DMA_CFG_PDRF (_ADI_MSK(0x10000000,uint32_t)) /* Peripheral Data Request Forward */
-#define ENUM_DMA_CFG_PDAT_NOTFWD (_ADI_MSK(0x00000000,uint32_t)) /* PDRF: Peripheral Data Request Not Forwarded */
-#define ENUM_DMA_CFG_PDAT_FWD (_ADI_MSK(0x10000000,uint32_t)) /* PDRF: Peripheral Data Request Forwarded */
-
-#define BITM_DMA_CFG_TWOD (_ADI_MSK(0x04000000,uint32_t)) /* Two Dimension Addressing Enable */
-#define ENUM_DMA_CFG_ADDR1D (_ADI_MSK(0x00000000,uint32_t)) /* TWOD: One-Dimensional Addressing */
-#define ENUM_DMA_CFG_ADDR2D (_ADI_MSK(0x04000000,uint32_t)) /* TWOD: Two-Dimensional Addressing */
-
-#define BITM_DMA_CFG_DESCIDCPY (_ADI_MSK(0x02000000,uint32_t)) /* Descriptor ID Copy Control */
-#define ENUM_DMA_CFG_NO_COPY (_ADI_MSK(0x00000000,uint32_t)) /* DESCIDCPY: Never Copy */
-#define ENUM_DMA_CFG_COPY (_ADI_MSK(0x02000000,uint32_t)) /* DESCIDCPY: Copy on Work Unit Complete */
-
-#define BITM_DMA_CFG_TOVEN (_ADI_MSK(0x01000000,uint32_t)) /* Trigger Overrun Error Enable */
-#define ENUM_DMA_CFG_TOV_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOVEN: Ignore Trigger Overrun */
-#define ENUM_DMA_CFG_TOV_EN (_ADI_MSK(0x01000000,uint32_t)) /* TOVEN: Error on Trigger Overrun */
-
-#define BITM_DMA_CFG_TRIG (_ADI_MSK(0x00C00000,uint32_t)) /* Generate Outgoing Trigger */
-#define ENUM_DMA_CFG_NO_TRIG (_ADI_MSK(0x00000000,uint32_t)) /* TRIG: Never assert Trigger */
-#define ENUM_DMA_CFG_XCNT_TRIG (_ADI_MSK(0x00400000,uint32_t)) /* TRIG: Trigger when XCNTCUR reaches 0 */
-#define ENUM_DMA_CFG_YCNT_TRIG (_ADI_MSK(0x00800000,uint32_t)) /* TRIG: Trigger when YCNTCUR reaches 0 */
-
-#define BITM_DMA_CFG_INT (_ADI_MSK(0x00300000,uint32_t)) /* Generate Interrupt */
-#define ENUM_DMA_CFG_NO_INT (_ADI_MSK(0x00000000,uint32_t)) /* INT: Never assert Interrupt */
-#define ENUM_DMA_CFG_XCNT_INT (_ADI_MSK(0x00100000,uint32_t)) /* INT: Interrupt when X Count Expires */
-#define ENUM_DMA_CFG_YCNT_INT (_ADI_MSK(0x00200000,uint32_t)) /* INT: Interrupt when Y Count Expires */
-#define ENUM_DMA_CFG_PERIPH_INT (_ADI_MSK(0x00300000,uint32_t)) /* INT: Peripheral Interrupt */
-
-#define BITM_DMA_CFG_NDSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Next Descriptor Set Size */
-#define ENUM_DMA_CFG_FETCH01 (_ADI_MSK(0x00000000,uint32_t)) /* NDSIZE: Fetch one Descriptor Element */
-#define ENUM_DMA_CFG_FETCH02 (_ADI_MSK(0x00010000,uint32_t)) /* NDSIZE: Fetch two Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH03 (_ADI_MSK(0x00020000,uint32_t)) /* NDSIZE: Fetch three Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH04 (_ADI_MSK(0x00030000,uint32_t)) /* NDSIZE: Fetch four Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH05 (_ADI_MSK(0x00040000,uint32_t)) /* NDSIZE: Fetch five Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH06 (_ADI_MSK(0x00050000,uint32_t)) /* NDSIZE: Fetch six Descriptor Elements */
-#define ENUM_DMA_CFG_FETCH07 (_ADI_MSK(0x00060000,uint32_t)) /* NDSIZE: Fetch seven Descriptor Elements */
-
-#define BITM_DMA_CFG_TWAIT (_ADI_MSK(0x00008000,uint32_t)) /* Wait for Trigger */
-#define ENUM_DMA_CFG_NO_TRGWAIT (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: Begin Work Unit Automatically (No Wait) */
-#define ENUM_DMA_CFG_TRGWAIT (_ADI_MSK(0x00008000,uint32_t)) /* TWAIT: Wait for Trigger (Halt before Work Unit) */
-
-#define BITM_DMA_CFG_FLOW (_ADI_MSK(0x00007000,uint32_t)) /* Next Operation */
-#define ENUM_DMA_CFG_STOP (_ADI_MSK(0x00000000,uint32_t)) /* FLOW: STOP - Stop */
-#define ENUM_DMA_CFG_AUTO (_ADI_MSK(0x00001000,uint32_t)) /* FLOW: AUTO - Autobuffer */
-#define ENUM_DMA_CFG_DSCLIST (_ADI_MSK(0x00004000,uint32_t)) /* FLOW: DSCL - Descriptor List */
-#define ENUM_DMA_CFG_DSCARRAY (_ADI_MSK(0x00005000,uint32_t)) /* FLOW: DSCA - Descriptor Array */
-#define ENUM_DMA_CFG_DODLIST (_ADI_MSK(0x00006000,uint32_t)) /* FLOW: Descriptor On Demand List */
-#define ENUM_DMA_CFG_DODARRAY (_ADI_MSK(0x00007000,uint32_t)) /* FLOW: Descriptor On Demand Array */
-
-#define BITM_DMA_CFG_MSIZE (_ADI_MSK(0x00000700,uint32_t)) /* Memory Transfer Word Size */
-#define ENUM_DMA_CFG_MSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* MSIZE: 1 Byte */
-#define ENUM_DMA_CFG_MSIZE02 (_ADI_MSK(0x00000100,uint32_t)) /* MSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_MSIZE04 (_ADI_MSK(0x00000200,uint32_t)) /* MSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_MSIZE08 (_ADI_MSK(0x00000300,uint32_t)) /* MSIZE: 8 Bytes */
-#define ENUM_DMA_CFG_MSIZE16 (_ADI_MSK(0x00000400,uint32_t)) /* MSIZE: 16 Bytes */
-#define ENUM_DMA_CFG_MSIZE32 (_ADI_MSK(0x00000500,uint32_t)) /* MSIZE: 32 Bytes */
-
-#define BITM_DMA_CFG_PSIZE (_ADI_MSK(0x00000070,uint32_t)) /* Peripheral Transfer Word Size */
-#define ENUM_DMA_CFG_PSIZE01 (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 Byte */
-#define ENUM_DMA_CFG_PSIZE02 (_ADI_MSK(0x00000010,uint32_t)) /* PSIZE: 2 Bytes */
-#define ENUM_DMA_CFG_PSIZE04 (_ADI_MSK(0x00000020,uint32_t)) /* PSIZE: 4 Bytes */
-#define ENUM_DMA_CFG_PSIZE08 (_ADI_MSK(0x00000030,uint32_t)) /* PSIZE: 8 Bytes */
-
-#define BITM_DMA_CFG_CADDR (_ADI_MSK(0x00000008,uint32_t)) /* Use Current Address */
-#define ENUM_DMA_CFG_LD_STARTADDR (_ADI_MSK(0x00000000,uint32_t)) /* CADDR: Load Starting Address */
-#define ENUM_DMA_CFG_LD_CURADDR (_ADI_MSK(0x00000008,uint32_t)) /* CADDR: Use Current Address */
-
-#define BITM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* Synchronize Work Unit Transitions */
-#define ENUM_DMA_CFG_NO_SYNC (_ADI_MSK(0x00000000,uint32_t)) /* SYNC: No Synchronization */
-#define ENUM_DMA_CFG_SYNC (_ADI_MSK(0x00000004,uint32_t)) /* SYNC: Synchronize Channel */
-
-#define BITM_DMA_CFG_WNR (_ADI_MSK(0x00000002,uint32_t)) /* Write/Read Channel Direction */
-#define ENUM_DMA_CFG_READ (_ADI_MSK(0x00000000,uint32_t)) /* WNR: Transmit (Read from memory) */
-#define ENUM_DMA_CFG_WRITE (_ADI_MSK(0x00000002,uint32_t)) /* WNR: Receive (Write to memory) */
-
-#define BITM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* DMA Channel Enable */
-#define ENUM_DMA_CFG_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_DMA_CFG_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_DSCPTR_PRV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_DSCPTR_PRV_DESCPPREV 2 /* Pointer for Previous Descriptor Element */
-#define BITP_DMA_DSCPTR_PRV_PDPO 0 /* Previous Descriptor Pointer Overrun */
-#define BITM_DMA_DSCPTR_PRV_DESCPPREV (_ADI_MSK(0xFFFFFFFC,uint32_t)) /* Pointer for Previous Descriptor Element */
-#define BITM_DMA_DSCPTR_PRV_PDPO (_ADI_MSK(0x00000001,uint32_t)) /* Previous Descriptor Pointer Overrun */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_STAT_TWAIT 20 /* Trigger Wait Status */
-#define BITP_DMA_STAT_FIFOFILL 16 /* FIFO Fill Status */
-#define BITP_DMA_STAT_MBWID 14 /* Memory Bus Width */
-#define BITP_DMA_STAT_PBWID 12 /* Peripheral Bus Width */
-#define BITP_DMA_STAT_RUN 8 /* Run Status */
-#define BITP_DMA_STAT_ERRC 4 /* Error Cause */
-#define BITP_DMA_STAT_PIRQ 2 /* Peripheral Interrupt Request */
-#define BITP_DMA_STAT_IRQERR 1 /* Error Interrupt */
-#define BITP_DMA_STAT_IRQDONE 0 /* Work Unit/Row Done Interrupt */
-
-#define BITM_DMA_STAT_TWAIT (_ADI_MSK(0x00100000,uint32_t)) /* Trigger Wait Status */
-#define ENUM_DMA_STAT_NOTRIGRX (_ADI_MSK(0x00000000,uint32_t)) /* TWAIT: No trigger received */
-#define ENUM_DMA_STAT_TRIGRX (_ADI_MSK(0x00100000,uint32_t)) /* TWAIT: Trigger received */
-
-#define BITM_DMA_STAT_FIFOFILL (_ADI_MSK(0x00070000,uint32_t)) /* FIFO Fill Status */
-#define ENUM_DMA_STAT_FIFOEMPTY (_ADI_MSK(0x00000000,uint32_t)) /* FIFOFILL: Empty */
-#define ENUM_DMA_STAT_FIFO25 (_ADI_MSK(0x00010000,uint32_t)) /* FIFOFILL: Empty < FIFO = 1/4 Full */
-#define ENUM_DMA_STAT_FIFO50 (_ADI_MSK(0x00020000,uint32_t)) /* FIFOFILL: 1/4 Full < FIFO = 1/2 Full */
-#define ENUM_DMA_STAT_FIFO75 (_ADI_MSK(0x00030000,uint32_t)) /* FIFOFILL: 1/2 Full < FIFO = 3/4 Full */
-#define ENUM_DMA_STAT_FIFONEARFULL (_ADI_MSK(0x00040000,uint32_t)) /* FIFOFILL: 3/4 Full < FIFO = Full */
-#define ENUM_DMA_STAT_FIFOFULL (_ADI_MSK(0x00070000,uint32_t)) /* FIFOFILL: Full */
-
-#define BITM_DMA_STAT_MBWID (_ADI_MSK(0x0000C000,uint32_t)) /* Memory Bus Width */
-#define ENUM_DMA_STAT_MBUS02 (_ADI_MSK(0x00000000,uint32_t)) /* MBWID: 2 Bytes */
-#define ENUM_DMA_STAT_MBUS04 (_ADI_MSK(0x00004000,uint32_t)) /* MBWID: 4 Bytes */
-#define ENUM_DMA_STAT_MBUS08 (_ADI_MSK(0x00008000,uint32_t)) /* MBWID: 8 Bytes */
-#define ENUM_DMA_STAT_MBUS16 (_ADI_MSK(0x0000C000,uint32_t)) /* MBWID: 16 Bytes */
-
-#define BITM_DMA_STAT_PBWID (_ADI_MSK(0x00003000,uint32_t)) /* Peripheral Bus Width */
-#define ENUM_DMA_STAT_PBUS01 (_ADI_MSK(0x00000000,uint32_t)) /* PBWID: 1 Byte */
-#define ENUM_DMA_STAT_PBUS02 (_ADI_MSK(0x00001000,uint32_t)) /* PBWID: 2 Bytes */
-#define ENUM_DMA_STAT_PBUS04 (_ADI_MSK(0x00002000,uint32_t)) /* PBWID: 4 Bytes */
-#define ENUM_DMA_STAT_PBUS08 (_ADI_MSK(0x00003000,uint32_t)) /* PBWID: 8 Bytes */
-
-#define BITM_DMA_STAT_RUN (_ADI_MSK(0x00000700,uint32_t)) /* Run Status */
-#define ENUM_DMA_STAT_STOPPED (_ADI_MSK(0x00000000,uint32_t)) /* RUN: Idle/Stop State */
-#define ENUM_DMA_STAT_DSCFETCH (_ADI_MSK(0x00000100,uint32_t)) /* RUN: Descriptor Fetch */
-#define ENUM_DMA_STAT_DATAXFER (_ADI_MSK(0x00000200,uint32_t)) /* RUN: Data Transfer */
-#define ENUM_DMA_STAT_TRGWAIT (_ADI_MSK(0x00000300,uint32_t)) /* RUN: Waiting for Trigger */
-#define ENUM_DMA_STAT_ACKWAIT (_ADI_MSK(0x00000400,uint32_t)) /* RUN: Waiting for Write ACK/FIFO Drain to Peripheral */
-
-#define BITM_DMA_STAT_ERRC (_ADI_MSK(0x00000070,uint32_t)) /* Error Cause */
-#define ENUM_DMA_STAT_CFGERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Configuration Error */
-#define ENUM_DMA_STAT_ILLWRERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Illegal Write Occurred While Channel Running */
-#define ENUM_DMA_STAT_ALGNERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: Address Alignment Error */
-#define ENUM_DMA_STAT_MEMERR (_ADI_MSK(0x00000030,uint32_t)) /* ERRC: Memory Access/Fabric Error */
-#define ENUM_DMA_STAT_TRGOVERR (_ADI_MSK(0x00000050,uint32_t)) /* ERRC: Trigger Overrun */
-#define ENUM_DMA_STAT_BWMONERR (_ADI_MSK(0x00000060,uint32_t)) /* ERRC: Bandwidth Monitor Error */
-
-#define BITM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* Peripheral Interrupt Request */
-#define ENUM_DMA_STAT_NO_PIRQ (_ADI_MSK(0x00000000,uint32_t)) /* PIRQ: No Interrupt */
-#define ENUM_DMA_STAT_PIRQ (_ADI_MSK(0x00000004,uint32_t)) /* PIRQ: Interrupt Signaled by Peripheral */
-
-#define BITM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* Error Interrupt */
-#define ENUM_DMA_STAT_NO_IRQERR (_ADI_MSK(0x00000000,uint32_t)) /* IRQERR: No Error */
-#define ENUM_DMA_STAT_IRQERR (_ADI_MSK(0x00000002,uint32_t)) /* IRQERR: Error Occurred */
-
-#define BITM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* Work Unit/Row Done Interrupt */
-#define ENUM_DMA_STAT_NO_IRQ (_ADI_MSK(0x00000000,uint32_t)) /* IRQDONE: Inactive */
-#define ENUM_DMA_STAT_IRQDONE (_ADI_MSK(0x00000001,uint32_t)) /* IRQDONE: Active */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_VALUE 0 /* Bandwidth Limit Count */
-#define BITM_DMA_BWLCNT_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMA_BWLCNT_CUR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMA_BWLCNT_CUR_VALUE 0 /* Bandwidth Limit Count Current */
-#define BITM_DMA_BWLCNT_CUR_VALUE (_ADI_MSK(0x0000FFFF,uint32_t)) /* Bandwidth Limit Count Current */
-
-/* ==================================================
- ACM Registers
- ================================================== */
-
-/* =========================
- ACM0
- ========================= */
-#define REG_ACM0_CTL 0xFFC45000 /* ACM0 ACM Control Register */
-#define REG_ACM0_TC0 0xFFC45004 /* ACM0 ACM Timing Configuration 0 Register */
-#define REG_ACM0_TC1 0xFFC45008 /* ACM0 ACM Timing Configuration 1 Register */
-#define REG_ACM0_STAT 0xFFC4500C /* ACM0 ACM Status Register */
-#define REG_ACM0_EVSTAT 0xFFC45010 /* ACM0 ACM Event Status Register */
-#define REG_ACM0_EVMSK 0xFFC45014 /* ACM0 ACM Completed Event Interrupt Mask Register */
-#define REG_ACM0_MEVSTAT 0xFFC45018 /* ACM0 ACM Missed Event Status Register */
-#define REG_ACM0_MEVMSK 0xFFC4501C /* ACM0 ACM Missed Event Interrupt Mask Register */
-#define REG_ACM0_EVCTL0 0xFFC45020 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL1 0xFFC45024 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL2 0xFFC45028 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL3 0xFFC4502C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL4 0xFFC45030 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL5 0xFFC45034 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL6 0xFFC45038 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL7 0xFFC4503C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL8 0xFFC45040 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL9 0xFFC45044 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL10 0xFFC45048 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL11 0xFFC4504C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL12 0xFFC45050 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL13 0xFFC45054 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL14 0xFFC45058 /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVCTL15 0xFFC4505C /* ACM0 ACM Eventn Control Register */
-#define REG_ACM0_EVTIME0 0xFFC45060 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME1 0xFFC45064 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME2 0xFFC45068 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME3 0xFFC4506C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME4 0xFFC45070 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME5 0xFFC45074 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME6 0xFFC45078 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME7 0xFFC4507C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME8 0xFFC45080 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME9 0xFFC45084 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME10 0xFFC45088 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME11 0xFFC4508C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME12 0xFFC45090 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME13 0xFFC45094 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME14 0xFFC45098 /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVTIME15 0xFFC4509C /* ACM0 ACM Eventn Time Register */
-#define REG_ACM0_EVORD0 0xFFC450A0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD1 0xFFC450A4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD2 0xFFC450A8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD3 0xFFC450AC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD4 0xFFC450B0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD5 0xFFC450B4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD6 0xFFC450B8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD7 0xFFC450BC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD8 0xFFC450C0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD9 0xFFC450C4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD10 0xFFC450C8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD11 0xFFC450CC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD12 0xFFC450D0 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD13 0xFFC450D4 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD14 0xFFC450D8 /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_EVORD15 0xFFC450DC /* ACM0 ACM Eventn Order Register */
-#define REG_ACM0_TMR0 0xFFC450E8 /* ACM0 ACM Timer 0 Register */
-#define REG_ACM0_TMR1 0xFFC450EC /* ACM0 ACM Timer 1 Register */
-
-/* =========================
- ACM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_CTL_EPS 15 /* External Peripheral Select */
-#define BITP_ACM_CTL_OTSEL 14 /* Trigger Select for Order Register Reset */
-#define BITP_ACM_CTL_AOREN 13 /* Automatic Order Reset Enable */
-#define BITP_ACM_CTL_ORST 12 /* Order Register Reset Bit */
-#define BITP_ACM_CTL_CLKMOD 11 /* ADC Clock Mode */
-#define BITP_ACM_CTL_CLKPOL 10 /* ADC_CLK Polarity */
-#define BITP_ACM_CTL_CSPOL 9 /* CS Polarity */
-#define BITP_ACM_CTL_TRGPOL1 8 /* Trigger Polarity for Timer1 Triggers */
-#define BITP_ACM_CTL_TRGPOL0 7 /* Trigger Polarity for Timer0 Triggers */
-#define BITP_ACM_CTL_TRGSEL1 5 /* Trigger Select 1 */
-#define BITP_ACM_CTL_TRGSEL0 3 /* Trigger Select 0 */
-#define BITP_ACM_CTL_TMR1EN 2 /* Enable ACM Timer1 */
-#define BITP_ACM_CTL_TMR0EN 1 /* Enable ACM Timer0 */
-#define BITP_ACM_CTL_EN 0 /* ACM Enable */
-#define BITM_ACM_CTL_EPS (_ADI_MSK(0x00008000,uint32_t)) /* External Peripheral Select */
-#define BITM_ACM_CTL_OTSEL (_ADI_MSK(0x00004000,uint32_t)) /* Trigger Select for Order Register Reset */
-#define BITM_ACM_CTL_AOREN (_ADI_MSK(0x00002000,uint32_t)) /* Automatic Order Reset Enable */
-#define BITM_ACM_CTL_ORST (_ADI_MSK(0x00001000,uint32_t)) /* Order Register Reset Bit */
-#define BITM_ACM_CTL_CLKMOD (_ADI_MSK(0x00000800,uint32_t)) /* ADC Clock Mode */
-#define BITM_ACM_CTL_CLKPOL (_ADI_MSK(0x00000400,uint32_t)) /* ADC_CLK Polarity */
-#define BITM_ACM_CTL_CSPOL (_ADI_MSK(0x00000200,uint32_t)) /* CS Polarity */
-#define BITM_ACM_CTL_TRGPOL1 (_ADI_MSK(0x00000100,uint32_t)) /* Trigger Polarity for Timer1 Triggers */
-#define BITM_ACM_CTL_TRGPOL0 (_ADI_MSK(0x00000080,uint32_t)) /* Trigger Polarity for Timer0 Triggers */
-#define BITM_ACM_CTL_TRGSEL1 (_ADI_MSK(0x00000060,uint32_t)) /* Trigger Select 1 */
-#define BITM_ACM_CTL_TRGSEL0 (_ADI_MSK(0x00000018,uint32_t)) /* Trigger Select 0 */
-#define BITM_ACM_CTL_TMR1EN (_ADI_MSK(0x00000004,uint32_t)) /* Enable ACM Timer1 */
-#define BITM_ACM_CTL_TMR0EN (_ADI_MSK(0x00000002,uint32_t)) /* Enable ACM Timer0 */
-#define BITM_ACM_CTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* ACM Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC0_SC 16 /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITP_ACM_TC0_CKDIV 0 /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-#define BITM_ACM_TC0_SC (_ADI_MSK(0x0FFF0000,uint32_t)) /* Setup Cycle - ADC Control setup in SCLK cycles */
-#define BITM_ACM_TC0_CKDIV (_ADI_MSK(0x000000FF,uint32_t)) /* Serial Clock Divide Modulus[7:0] CKDIV=0 is Reserved */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_TC1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_TC1_ZC 12 /* Zero Cycle - ADC Control zero duration */
-#define BITP_ACM_TC1_HC 8 /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITP_ACM_TC1_CSW 0 /* CS Width. Active duration of CS in ACLK cycles */
-#define BITM_ACM_TC1_ZC (_ADI_MSK(0x0000F000,uint32_t)) /* Zero Cycle - ADC Control zero duration */
-#define BITM_ACM_TC1_HC (_ADI_MSK(0x00000F00,uint32_t)) /* Hold Cycle - ADC Control hold in ACLK cycle */
-#define BITM_ACM_TC1_CSW (_ADI_MSK(0x000000FF,uint32_t)) /* CS Width. Active duration of CS in ACLK cycles */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_STAT_CEVNT 4 /* Current Event. */
-#define BITP_ACM_STAT_ECOM1 3 /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_ECOM0 2 /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITP_ACM_STAT_EMISS 1 /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITP_ACM_STAT_BSY 0 /* ACM Busy */
-#define BITM_ACM_STAT_CEVNT (_ADI_MSK(0x000000F0,uint32_t)) /* Current Event. */
-#define BITM_ACM_STAT_ECOM1 (_ADI_MSK(0x00000008,uint32_t)) /* ACM Timer1 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_ECOM0 (_ADI_MSK(0x00000004,uint32_t)) /* ACM Timer0 Event Completion. This bit gets cleared with each trigger. */
-#define BITM_ACM_STAT_EMISS (_ADI_MSK(0x00000002,uint32_t)) /* Event Missed This bit will be set if any of the bits in MEVSTAT is set, this bit has to be cleared by writing into the MEVSTAT register */
-#define BITM_ACM_STAT_BSY (_ADI_MSK(0x00000001,uint32_t)) /* ACM Busy */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVSTAT_ECOM1S 17 /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_ECOM0S 16 /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITP_ACM_EVSTAT_EV15 15 /* Event15 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV14 14 /* Event14 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV13 13 /* Event13 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV12 12 /* Event12 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV11 11 /* Event11 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV10 10 /* Event10 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV9 9 /* Event9 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV8 8 /* Event8 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV7 7 /* Event7 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV6 6 /* Event6 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV5 5 /* Event5 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV4 4 /* Event4 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV3 3 /* Event3 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV2 2 /* Event2 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV1 1 /* Event1 Status. W1C bit. */
-#define BITP_ACM_EVSTAT_EV0 0 /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-#define BITM_ACM_EVSTAT_ECOM1S (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the ECOM1 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_ECOM0S (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the ECOM0 bit of ACM_STAT register but this bit will not be cleared by trigger. W1C bit */
-#define BITM_ACM_EVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status. W1C bit. */
-#define BITM_ACM_EVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status. W1C bit. Creates an interrupt if corresponding bit in EVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVMSK_IECOM1 17 /* Timer1 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_IECOM0 16 /* Timer0 Event Completion Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV15 15 /* Event15 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV14 14 /* Event14 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV13 13 /* Event13 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV12 12 /* Event12 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV11 11 /* Event11 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV10 10 /* Event10 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV9 9 /* Event9 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV8 8 /* Event8 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV7 7 /* Event7 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV6 6 /* Event6 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV5 5 /* Event5 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV4 4 /* Event4 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV3 3 /* Event3 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV2 2 /* Event2 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV1 1 /* Event1 Status Interrupt Enable */
-#define BITP_ACM_EVMSK_EV0 0 /* Event0 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM1 (_ADI_MSK(0x00020000,uint32_t)) /* Timer1 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_IECOM0 (_ADI_MSK(0x00010000,uint32_t)) /* Timer0 Event Completion Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Status Interrupt Enable */
-#define BITM_ACM_EVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Status Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVSTAT_EV15 15 /* Event15 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV14 14 /* Event14 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV13 13 /* Event13 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV12 12 /* Event12 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV11 11 /* Event11 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV10 10 /* Event10 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV9 9 /* Event9 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV8 8 /* Event8 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV7 7 /* Event7 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV6 6 /* Event6 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV5 5 /* Event5 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV4 4 /* Event4 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV3 3 /* Event3 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV2 2 /* Event2 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV1 1 /* Event1 Missed. W1C bit. */
-#define BITP_ACM_MEVSTAT_EV0 0 /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-#define BITM_ACM_MEVSTAT_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed. W1C bit. */
-#define BITM_ACM_MEVSTAT_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed. W1C bit. Creates an interrupt if corresponding bit in MEVMSK register is set. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_MEVMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_MEVMSK_EV15 15 /* Event15 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV14 14 /* Event14 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV13 13 /* Event13 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV12 12 /* Event12 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV11 11 /* Event11 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV10 10 /* Event10 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV9 9 /* Event9 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV8 8 /* Event8 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV7 7 /* Event7 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV6 6 /* Event6 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV5 5 /* Event5 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV4 4 /* Event4 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV3 3 /* Event3 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV2 2 /* Event2 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV1 1 /* Event1 Missed Interrupt Enable */
-#define BITP_ACM_MEVMSK_EV0 0 /* Event0 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV15 (_ADI_MSK(0x00008000,uint32_t)) /* Event15 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV14 (_ADI_MSK(0x00004000,uint32_t)) /* Event14 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV13 (_ADI_MSK(0x00002000,uint32_t)) /* Event13 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV12 (_ADI_MSK(0x00001000,uint32_t)) /* Event12 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV11 (_ADI_MSK(0x00000800,uint32_t)) /* Event11 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV10 (_ADI_MSK(0x00000400,uint32_t)) /* Event10 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV9 (_ADI_MSK(0x00000200,uint32_t)) /* Event9 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV8 (_ADI_MSK(0x00000100,uint32_t)) /* Event8 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV7 (_ADI_MSK(0x00000080,uint32_t)) /* Event7 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV6 (_ADI_MSK(0x00000040,uint32_t)) /* Event6 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV5 (_ADI_MSK(0x00000020,uint32_t)) /* Event5 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV4 (_ADI_MSK(0x00000010,uint32_t)) /* Event4 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV3 (_ADI_MSK(0x00000008,uint32_t)) /* Event3 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV2 (_ADI_MSK(0x00000004,uint32_t)) /* Event2 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV1 (_ADI_MSK(0x00000002,uint32_t)) /* Event1 Missed Interrupt Enable */
-#define BITM_ACM_MEVMSK_EV0 (_ADI_MSK(0x00000001,uint32_t)) /* Event0 Missed Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVCTL_EPF 1 /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITP_ACM_EVCTL_ENAEV 0 /* Enable Event */
-#define BITM_ACM_EVCTL_EPF (_ADI_MSK(0x0000003E,uint32_t)) /* Event Parameter Field. All EPF[4:0] has same external pin timing. */
-#define BITM_ACM_EVCTL_ENAEV (_ADI_MSK(0x00000001,uint32_t)) /* Enable Event */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ACM_EVORD Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ACM_EVORD_EVSTAT 17 /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITP_ACM_EVORD_MEVSTAT 16 /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITP_ACM_EVORD_ORD 0 /* Order of Event Completion */
-#define BITM_ACM_EVORD_EVSTAT (_ADI_MSK(0x00020000,uint32_t)) /* Reflects the EVSTATn Bit in the EVSTAT Register */
-#define BITM_ACM_EVORD_MEVSTAT (_ADI_MSK(0x00010000,uint32_t)) /* Reflects the MEVSTATn Bit in the MEVSTAT Register */
-#define BITM_ACM_EVORD_ORD (_ADI_MSK(0x000000FF,uint32_t)) /* Order of Event Completion */
-
-/* ==================================================
- DDR Registers
- ================================================== */
-
-/* =========================
- DMC0
- ========================= */
-#define REG_DMC0_CTL 0xFFC80004 /* DMC0 Control Register */
-#define REG_DMC0_STAT 0xFFC80008 /* DMC0 Status Register */
-#define REG_DMC0_EFFCTL 0xFFC8000C /* DMC0 Efficiency Control Register */
-#define REG_DMC0_PRIO 0xFFC80010 /* DMC0 Priority ID Register */
-#define REG_DMC0_PRIOMSK 0xFFC80014 /* DMC0 Priority ID Mask Register */
-#define REG_DMC0_CFG 0xFFC80040 /* DMC0 Configuration Register */
-#define REG_DMC0_TR0 0xFFC80044 /* DMC0 Timing 0 Register */
-#define REG_DMC0_TR1 0xFFC80048 /* DMC0 Timing 1 Register */
-#define REG_DMC0_TR2 0xFFC8004C /* DMC0 Timing 2 Register */
-#define REG_DMC0_MSK 0xFFC8005C /* DMC0 Mask (Mode Register Shadow) Register */
-#define REG_DMC0_MR 0xFFC80060 /* DMC0 Shadow MR Register */
-#define REG_DMC0_EMR1 0xFFC80064 /* DMC0 Shadow EMR1 Register */
-#define REG_DMC0_EMR2 0xFFC80068 /* DMC0 Shadow EMR2 Register */
-#define REG_DMC0_EMR3 0xFFC8006C /* DMC0 Shadow EMR3 Register */
-#define REG_DMC0_DLLCTL 0xFFC80080 /* DMC0 DLL Control Register */
-#define REG_DMC0_PHY_CTL0 0xFFC80090 /* DMC0 PHY Control 0 Register */
-#define REG_DMC0_PHY_CTL1 0xFFC80094 /* DMC0 PHY Control 1 Register */
-#define REG_DMC0_PHY_CTL2 0xFFC80098 /* DMC0 PHY Control 2 Register */
-#define REG_DMC0_PHY_CTL3 0xFFC8009C /* DMC0 PHY Control 3 Register */
-#define REG_DMC0_PADCTL 0xFFC800C0 /* DMC0 PAD Control Register */
-
-/* =========================
- DMC
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CTL_DLLCAL 13 /* DLL Calibration Start */
-#define BITP_DMC_CTL_PPREF 12 /* Postpone Refresh */
-#define BITP_DMC_CTL_RDTOWR 9 /* Read-to-Write Cycle */
-#define BITP_DMC_CTL_ADDRMODE 8 /* Addressing (Page/Bank) Mode */
-#define BITP_DMC_CTL_PREC 6 /* Precharge */
-#define BITP_DMC_CTL_DPDREQ 5 /* Deep Power Down Request */
-#define BITP_DMC_CTL_PDREQ 4 /* Power Down Request */
-#define BITP_DMC_CTL_SRREQ 3 /* Self Refresh Request */
-#define BITP_DMC_CTL_INIT 2 /* Initialize DRAM Start */
-#define BITP_DMC_CTL_LPDDR 1 /* Low Power DDR Mode */
-#define BITM_DMC_CTL_DLLCAL (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Start */
-#define BITM_DMC_CTL_PPREF (_ADI_MSK(0x00001000,uint32_t)) /* Postpone Refresh */
-
-#define BITM_DMC_CTL_RDTOWR (_ADI_MSK(0x00000E00,uint32_t)) /* Read-to-Write Cycle */
-#define ENUM_DMC_CTL_RDTOWR0 (_ADI_MSK(0x00000000,uint32_t)) /* RDTOWR: 0 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR1 (_ADI_MSK(0x00000200,uint32_t)) /* RDTOWR: 1 Cycle Added */
-#define ENUM_DMC_CTL_RDTOWR2 (_ADI_MSK(0x00000400,uint32_t)) /* RDTOWR: 2 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR3 (_ADI_MSK(0x00000600,uint32_t)) /* RDTOWR: 3 Cycles Added */
-#define ENUM_DMC_CTL_RDTOWR4 (_ADI_MSK(0x00000800,uint32_t)) /* RDTOWR: 4 Cycles Added */
-#define BITM_DMC_CTL_ADDRMODE (_ADI_MSK(0x00000100,uint32_t)) /* Addressing (Page/Bank) Mode */
-#define BITM_DMC_CTL_PREC (_ADI_MSK(0x00000040,uint32_t)) /* Precharge */
-#define BITM_DMC_CTL_DPDREQ (_ADI_MSK(0x00000020,uint32_t)) /* Deep Power Down Request */
-#define BITM_DMC_CTL_PDREQ (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Request */
-#define BITM_DMC_CTL_SRREQ (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Request */
-#define BITM_DMC_CTL_INIT (_ADI_MSK(0x00000004,uint32_t)) /* Initialize DRAM Start */
-#define BITM_DMC_CTL_LPDDR (_ADI_MSK(0x00000002,uint32_t)) /* Low Power DDR Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_STAT_PHYRDPHASE 20 /* PHY Read Phase */
-#define BITP_DMC_STAT_PENDREF 16 /* Pending Refresh */
-#define BITP_DMC_STAT_DLLCALDONE 13 /* DLL Calibration Done */
-#define BITP_DMC_STAT_DPDACK 5 /* Deep Powerdown Acknowledge */
-#define BITP_DMC_STAT_PDACK 4 /* Power Down Acknowledge */
-#define BITP_DMC_STAT_SRACK 3 /* Self Refresh Acknowledge */
-#define BITP_DMC_STAT_MEMINITDONE 1 /* Memory Initialization Done */
-#define BITP_DMC_STAT_IDLE 0 /* Idle State */
-#define BITM_DMC_STAT_PHYRDPHASE (_ADI_MSK(0x00F00000,uint32_t)) /* PHY Read Phase */
-#define BITM_DMC_STAT_PENDREF (_ADI_MSK(0x000F0000,uint32_t)) /* Pending Refresh */
-#define BITM_DMC_STAT_DLLCALDONE (_ADI_MSK(0x00002000,uint32_t)) /* DLL Calibration Done */
-#define BITM_DMC_STAT_DPDACK (_ADI_MSK(0x00000020,uint32_t)) /* Deep Powerdown Acknowledge */
-#define BITM_DMC_STAT_PDACK (_ADI_MSK(0x00000010,uint32_t)) /* Power Down Acknowledge */
-#define BITM_DMC_STAT_SRACK (_ADI_MSK(0x00000008,uint32_t)) /* Self Refresh Acknowledge */
-#define BITM_DMC_STAT_MEMINITDONE (_ADI_MSK(0x00000002,uint32_t)) /* Memory Initialization Done */
-#define BITM_DMC_STAT_IDLE (_ADI_MSK(0x00000001,uint32_t)) /* Idle State */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EFFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EFFCTL_IDLECYC 20 /* Idle Cycle */
-#define BITP_DMC_EFFCTL_NUMREF 16 /* Number of Refresh Commands */
-#define BITP_DMC_EFFCTL_PRECBANK7 15 /* Precharge Bank 7 */
-#define BITP_DMC_EFFCTL_PRECBANK6 14 /* Precharge Bank 6 */
-#define BITP_DMC_EFFCTL_PRECBANK5 13 /* Precharge Bank 5 */
-#define BITP_DMC_EFFCTL_PRECBANK4 12 /* Precharge Bank 4 */
-#define BITP_DMC_EFFCTL_PRECBANK3 11 /* Precharge Bank 3 */
-#define BITP_DMC_EFFCTL_PRECBANK2 10 /* Precharge Bank 2 */
-#define BITP_DMC_EFFCTL_PRECBANK1 9 /* Precharge Bank 1 */
-#define BITP_DMC_EFFCTL_PRECBANK0 8 /* Precharge Bank 0 */
-#define BITP_DMC_EFFCTL_WAITWRDATA 7 /* Wait in Write Data Snapshot */
-#define BITP_DMC_EFFCTL_FULLWRDATA 6 /* Wait for Full Write Data */
-#define BITM_DMC_EFFCTL_IDLECYC (_ADI_MSK(0x00F00000,uint32_t)) /* Idle Cycle */
-#define BITM_DMC_EFFCTL_NUMREF (_ADI_MSK(0x000F0000,uint32_t)) /* Number of Refresh Commands */
-#define BITM_DMC_EFFCTL_PRECBANK7 (_ADI_MSK(0x00008000,uint32_t)) /* Precharge Bank 7 */
-#define BITM_DMC_EFFCTL_PRECBANK6 (_ADI_MSK(0x00004000,uint32_t)) /* Precharge Bank 6 */
-#define BITM_DMC_EFFCTL_PRECBANK5 (_ADI_MSK(0x00002000,uint32_t)) /* Precharge Bank 5 */
-#define BITM_DMC_EFFCTL_PRECBANK4 (_ADI_MSK(0x00001000,uint32_t)) /* Precharge Bank 4 */
-#define BITM_DMC_EFFCTL_PRECBANK3 (_ADI_MSK(0x00000800,uint32_t)) /* Precharge Bank 3 */
-#define BITM_DMC_EFFCTL_PRECBANK2 (_ADI_MSK(0x00000400,uint32_t)) /* Precharge Bank 2 */
-#define BITM_DMC_EFFCTL_PRECBANK1 (_ADI_MSK(0x00000200,uint32_t)) /* Precharge Bank 1 */
-#define BITM_DMC_EFFCTL_PRECBANK0 (_ADI_MSK(0x00000100,uint32_t)) /* Precharge Bank 0 */
-#define BITM_DMC_EFFCTL_WAITWRDATA (_ADI_MSK(0x00000080,uint32_t)) /* Wait in Write Data Snapshot */
-#define BITM_DMC_EFFCTL_FULLWRDATA (_ADI_MSK(0x00000040,uint32_t)) /* Wait for Full Write Data */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIO_ID2 16 /* ID2 Requiring Elevated Priority */
-#define BITP_DMC_PRIO_ID1 0 /* ID1 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID2 (_ADI_MSK(0xFFFF0000,uint32_t)) /* ID2 Requiring Elevated Priority */
-#define BITM_DMC_PRIO_ID1 (_ADI_MSK(0x0000FFFF,uint32_t)) /* ID1 Requiring Elevated Priority */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PRIOMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PRIOMSK_ID2MSK 16 /* Mask for ID2 */
-#define BITP_DMC_PRIOMSK_ID1MSK 0 /* Mask for ID1 */
-#define BITM_DMC_PRIOMSK_ID2MSK (_ADI_MSK(0xFFFF0000,uint32_t)) /* Mask for ID2 */
-#define BITM_DMC_PRIOMSK_ID1MSK (_ADI_MSK(0x0000FFFF,uint32_t)) /* Mask for ID1 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_CFG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_CFG_EXTBANK 12 /* External Banks */
-#define BITP_DMC_CFG_SDRSIZE 8 /* SDRAM Size */
-#define BITP_DMC_CFG_SDRWID 4 /* SDRAM Width */
-#define BITP_DMC_CFG_IFWID 0 /* Interface Width */
-
-#define BITM_DMC_CFG_EXTBANK (_ADI_MSK(0x0000F000,uint32_t)) /* External Banks */
-#define ENUM_DMC_CFG_EXTBANK1 (_ADI_MSK(0x00000000,uint32_t)) /* EXTBANK: 1 External Bank */
-
-#define BITM_DMC_CFG_SDRSIZE (_ADI_MSK(0x00000F00,uint32_t)) /* SDRAM Size */
-#define ENUM_DMC_CFG_SDRSIZE64 (_ADI_MSK(0x00000000,uint32_t)) /* SDRSIZE: 64M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE128 (_ADI_MSK(0x00000100,uint32_t)) /* SDRSIZE: 128M Bit SDRAM (LPDDR Only) */
-#define ENUM_DMC_CFG_SDRSIZE256 (_ADI_MSK(0x00000200,uint32_t)) /* SDRSIZE: 256M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE512 (_ADI_MSK(0x00000300,uint32_t)) /* SDRSIZE: 512M Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE1G (_ADI_MSK(0x00000400,uint32_t)) /* SDRSIZE: 1G Bit SDRAM */
-#define ENUM_DMC_CFG_SDRSIZE2G (_ADI_MSK(0x00000500,uint32_t)) /* SDRSIZE: 2G Bit SDRAM */
-
-#define BITM_DMC_CFG_SDRWID (_ADI_MSK(0x000000F0,uint32_t)) /* SDRAM Width */
-#define ENUM_DMC_CFG_SDRWID16 (_ADI_MSK(0x00000020,uint32_t)) /* SDRWID: 16-Bit Wide SDRAM */
-
-#define BITM_DMC_CFG_IFWID (_ADI_MSK(0x0000000F,uint32_t)) /* Interface Width */
-#define ENUM_DMC_CFG_IFWID16 (_ADI_MSK(0x00000002,uint32_t)) /* IFWID: 16-Bit Wide Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR0_TMRD 28 /* Timing Mode Register Delay */
-#define BITP_DMC_TR0_TRC 20 /* Timing Row Cycle */
-#define BITP_DMC_TR0_TRAS 12 /* Timing Row Active Time */
-#define BITP_DMC_TR0_TRP 8 /* Timing RAS Precharge. */
-#define BITP_DMC_TR0_TWTR 4 /* Timing Write to Read */
-#define BITP_DMC_TR0_TRCD 0 /* Timing RAS to CAS Delay */
-#define BITM_DMC_TR0_TMRD (_ADI_MSK(0xF0000000,uint32_t)) /* Timing Mode Register Delay */
-#define BITM_DMC_TR0_TRC (_ADI_MSK(0x03F00000,uint32_t)) /* Timing Row Cycle */
-#define BITM_DMC_TR0_TRAS (_ADI_MSK(0x0001F000,uint32_t)) /* Timing Row Active Time */
-#define BITM_DMC_TR0_TRP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing RAS Precharge. */
-#define BITM_DMC_TR0_TWTR (_ADI_MSK(0x000000F0,uint32_t)) /* Timing Write to Read */
-#define BITM_DMC_TR0_TRCD (_ADI_MSK(0x0000000F,uint32_t)) /* Timing RAS to CAS Delay */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR1_TRRD 28 /* Timing Read-Read Delay */
-#define BITP_DMC_TR1_TRFC 16 /* Timing Refresh-to-Command */
-#define BITP_DMC_TR1_TREF 0 /* Timing Refresh Interval */
-#define BITM_DMC_TR1_TRRD (_ADI_MSK(0x70000000,uint32_t)) /* Timing Read-Read Delay */
-#define BITM_DMC_TR1_TRFC (_ADI_MSK(0x00FF0000,uint32_t)) /* Timing Refresh-to-Command */
-#define BITM_DMC_TR1_TREF (_ADI_MSK(0x00003FFF,uint32_t)) /* Timing Refresh Interval */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_TR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_TR2_TCKE 20 /* Timing Clock Enable */
-#define BITP_DMC_TR2_TXP 16 /* Timing Exit Powerdown */
-#define BITP_DMC_TR2_TWR 12 /* Timing Write Recovery */
-#define BITP_DMC_TR2_TRTP 8 /* Timing Read-to-Precharge */
-#define BITP_DMC_TR2_TFAW 0 /* Timing Four-Activated-Window */
-#define BITM_DMC_TR2_TCKE (_ADI_MSK(0x00F00000,uint32_t)) /* Timing Clock Enable */
-#define BITM_DMC_TR2_TXP (_ADI_MSK(0x000F0000,uint32_t)) /* Timing Exit Powerdown */
-#define BITM_DMC_TR2_TWR (_ADI_MSK(0x0000F000,uint32_t)) /* Timing Write Recovery */
-#define BITM_DMC_TR2_TRTP (_ADI_MSK(0x00000F00,uint32_t)) /* Timing Read-to-Precharge */
-#define BITM_DMC_TR2_TFAW (_ADI_MSK(0x0000001F,uint32_t)) /* Timing Four-Activated-Window */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MSK_EMR3 11 /* Shadow EMR3 Unmask */
-#define BITP_DMC_MSK_EMR2 10 /* Shadow EMR2 Unmask */
-#define BITP_DMC_MSK_EMR1 9 /* Shadow EMR1 Unmask */
-#define BITP_DMC_MSK_MR 8 /* Shadow MR Unmask */
-#define BITM_DMC_MSK_EMR3 (_ADI_MSK(0x00000800,uint32_t)) /* Shadow EMR3 Unmask */
-#define BITM_DMC_MSK_EMR2 (_ADI_MSK(0x00000400,uint32_t)) /* Shadow EMR2 Unmask */
-#define BITM_DMC_MSK_EMR1 (_ADI_MSK(0x00000200,uint32_t)) /* Shadow EMR1 Unmask */
-#define BITM_DMC_MSK_MR (_ADI_MSK(0x00000100,uint32_t)) /* Shadow MR Unmask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_MR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_MR_PD 12 /* Active Powerdown Mode */
-#define BITP_DMC_MR_WRRECOV 9 /* Write Recovery */
-#define BITP_DMC_MR_DLLRST 8 /* DLL Reset */
-#define BITP_DMC_MR_CL 4 /* CAS Latency */
-#define BITP_DMC_MR_BLEN 0 /* Burst Length */
-#define BITM_DMC_MR_PD (_ADI_MSK(0x00001000,uint32_t)) /* Active Powerdown Mode */
-#define BITM_DMC_MR_WRRECOV (_ADI_MSK(0x00000E00,uint32_t)) /* Write Recovery */
-#define BITM_DMC_MR_DLLRST (_ADI_MSK(0x00000100,uint32_t)) /* DLL Reset */
-
-#define BITM_DMC_MR_CL (_ADI_MSK(0x00000070,uint32_t)) /* CAS Latency */
-#define ENUM_DMC_MR_CL2 (_ADI_MSK(0x00000020,uint32_t)) /* CL: 2 clock cycle latency */
-#define ENUM_DMC_MR_CL3 (_ADI_MSK(0x00000030,uint32_t)) /* CL: 3 clock cycle latency */
-#define ENUM_DMC_MR_CL4 (_ADI_MSK(0x00000040,uint32_t)) /* CL: 4 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL5 (_ADI_MSK(0x00000050,uint32_t)) /* CL: 5 clock cycle latency (DDR2) */
-#define ENUM_DMC_MR_CL6 (_ADI_MSK(0x00000060,uint32_t)) /* CL: 6 clock cycle latency (DDR2) */
-
-#define BITM_DMC_MR_BLEN (_ADI_MSK(0x00000007,uint32_t)) /* Burst Length */
-#define ENUM_DMC_MR_BLEN4 (_ADI_MSK(0x00000002,uint32_t)) /* BLEN: 4-Bit Burst Length */
-#define ENUM_DMC_MR_BLEN8 (_ADI_MSK(0x00000003,uint32_t)) /* BLEN: 8-Bit Burst Length */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR1_QOFF 12 /* Output Buffer Enable */
-#define BITP_DMC_EMR1_DQS 10 /* DQS Enable */
-#define BITP_DMC_EMR1_RTT1 6 /* Termination Resistance 1 */
-#define BITP_DMC_EMR1_AL 3 /* Additive Latency */
-#define BITP_DMC_EMR1_RTT0 2 /* Termination Resistance 0. */
-#define BITP_DMC_EMR1_DIC 1 /* Output Driver Impedance Control */
-#define BITP_DMC_EMR1_DLLEN 0 /* DLL Enable */
-#define BITM_DMC_EMR1_QOFF (_ADI_MSK(0x00001000,uint32_t)) /* Output Buffer Enable */
-#define BITM_DMC_EMR1_DQS (_ADI_MSK(0x00000400,uint32_t)) /* DQS Enable */
-
-#define BITM_DMC_EMR1_RTT1 (_ADI_MSK(0x00000040,uint32_t)) /* Termination Resistance 1 */
-#define ENUM_DMC_EMR1_RTT1_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT1: Disable RTT1 */
-#define ENUM_DMC_EMR1_RTT1_1 (_ADI_MSK(0x00000040,uint32_t)) /* RTT1: Enable RTT1 */
-#define BITM_DMC_EMR1_AL (_ADI_MSK(0x00000038,uint32_t)) /* Additive Latency */
-
-#define BITM_DMC_EMR1_RTT0 (_ADI_MSK(0x00000004,uint32_t)) /* Termination Resistance 0. */
-#define ENUM_DMC_EMR1_RTT0_0 (_ADI_MSK(0x00000000,uint32_t)) /* RTT0: Disable RTT0 */
-#define ENUM_DMC_EMR1_RTT0_1 (_ADI_MSK(0x00000004,uint32_t)) /* RTT0: Enable RTT0 */
-#define BITM_DMC_EMR1_DIC (_ADI_MSK(0x00000002,uint32_t)) /* Output Driver Impedance Control */
-#define BITM_DMC_EMR1_DLLEN (_ADI_MSK(0x00000001,uint32_t)) /* DLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_EMR2 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_EMR2_SRF 7 /* High Temp. Self Refresh */
-#define BITP_DMC_EMR2_DS 5 /* Drive Strength */
-#define BITP_DMC_EMR2_TCSR 3 /* Temp. Comp. Self Refresh */
-#define BITP_DMC_EMR2_PASR 0 /* Partial Array Self Refresh */
-#define BITM_DMC_EMR2_SRF (_ADI_MSK(0x00000080,uint32_t)) /* High Temp. Self Refresh */
-#define BITM_DMC_EMR2_DS (_ADI_MSK(0x00000060,uint32_t)) /* Drive Strength */
-#define BITM_DMC_EMR2_TCSR (_ADI_MSK(0x00000018,uint32_t)) /* Temp. Comp. Self Refresh */
-#define BITM_DMC_EMR2_PASR (_ADI_MSK(0x00000007,uint32_t)) /* Partial Array Self Refresh */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_DLLCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_DLLCTL_DATACYC 8 /* Data Cycles */
-#define BITP_DMC_DLLCTL_DLLCALRDCNT 0 /* DLL Calibration RD Count */
-
-#define BITM_DMC_DLLCTL_DATACYC (_ADI_MSK(0x00000F00,uint32_t)) /* Data Cycles */
-#define ENUM_DMC_DLLCTL_DATACYC2 (_ADI_MSK(0x00000200,uint32_t)) /* DATACYC: 2 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC3 (_ADI_MSK(0x00000300,uint32_t)) /* DATACYC: 3 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC4 (_ADI_MSK(0x00000400,uint32_t)) /* DATACYC: 4 Clock Cycles Latency */
-#define ENUM_DMC_DLLCTL_DATACYC5 (_ADI_MSK(0x00000500,uint32_t)) /* DATACYC: 5 Clock Cycles Latency */
-#define BITM_DMC_DLLCTL_DLLCALRDCNT (_ADI_MSK(0x000000FF,uint32_t)) /* DLL Calibration RD Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL1_CONTODTVAL 19 /* Select ODT value on controller */
-
-#define BITM_DMC_PHY_CTL1_CONTODTVAL (_ADI_MSK(0x00080000,uint32_t)) /* Select ODT value on controller */
-#define ENUM_DMC_PHY_CTL1_ODT_75 (_ADI_MSK(0x00000000,uint32_t)) /* CONTODTVAL: 75 Ohms Termination */
-#define ENUM_DMC_PHY_CTL1_ODT_150 (_ADI_MSK(0x00080000,uint32_t)) /* CONTODTVAL: 150 Ohms Termination */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PHY_CTL3 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PHY_CTL3_OFST1 26 /* Offset Parameter 1 */
-#define BITP_DMC_PHY_CTL3_OFST0 24 /* Offset Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQS 10 /* Enables controller ODT on read of DQS */
-#define BITP_DMC_PHY_CTL3_TMG1 7 /* Timing Parameter 1 */
-#define BITP_DMC_PHY_CTL3_TMG0 6 /* Timing Parameter 0 */
-#define BITP_DMC_PHY_CTL3_ENODTDQ 2 /* Enables controller ODT on read of DQ */
-#define BITM_DMC_PHY_CTL3_OFST1 (_ADI_MSK(0x04000000,uint32_t)) /* Offset Parameter 1 */
-#define BITM_DMC_PHY_CTL3_OFST0 (_ADI_MSK(0x01000000,uint32_t)) /* Offset Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQS (_ADI_MSK(0x00000400,uint32_t)) /* Enables controller ODT on read of DQS */
-#define BITM_DMC_PHY_CTL3_TMG1 (_ADI_MSK(0x00000080,uint32_t)) /* Timing Parameter 1 */
-#define BITM_DMC_PHY_CTL3_TMG0 (_ADI_MSK(0x00000040,uint32_t)) /* Timing Parameter 0 */
-#define BITM_DMC_PHY_CTL3_ENODTDQ (_ADI_MSK(0x00000004,uint32_t)) /* Enables controller ODT on read of DQ */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMC_PADCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMC_PADCTL_CKEOE 19 /* CKE Output Enable */
-#define BITP_DMC_PADCTL_CKEPWD 18 /* CKE pad receiver power down. */
-#define BITP_DMC_PADCTL_CKEODS 16 /* CKE Output Drive Strength */
-#define BITP_DMC_PADCTL_CMDOE 15 /* CMD Output Enable */
-#define BITP_DMC_PADCTL_CMDPWD 14 /* CMD Powerdown */
-#define BITP_DMC_PADCTL_CMDODS 12 /* CMD Output Drive Strength */
-#define BITP_DMC_PADCTL_CLKOE 11 /* CLK Output Enable */
-#define BITP_DMC_PADCTL_CLKPWD 10 /* CLK Powerdown */
-#define BITP_DMC_PADCTL_CLKODS 8 /* Clock Output Drive Strength */
-#define BITP_DMC_PADCTL_DQSPWD 6 /* DQ/DQS Powerdown */
-#define BITP_DMC_PADCTL_DQSODS 4 /* DQS Output Drive Strength */
-#define BITP_DMC_PADCTL_DQPWD 2 /* DQ Powerdown. */
-#define BITP_DMC_PADCTL_DQODS 0 /* DQ Output Drive Strength */
-#define BITM_DMC_PADCTL_CKEOE (_ADI_MSK(0x00080000,uint32_t)) /* CKE Output Enable */
-#define BITM_DMC_PADCTL_CKEPWD (_ADI_MSK(0x00040000,uint32_t)) /* CKE pad receiver power down. */
-#define BITM_DMC_PADCTL_CKEODS (_ADI_MSK(0x00030000,uint32_t)) /* CKE Output Drive Strength */
-#define BITM_DMC_PADCTL_CMDOE (_ADI_MSK(0x00008000,uint32_t)) /* CMD Output Enable */
-#define BITM_DMC_PADCTL_CMDPWD (_ADI_MSK(0x00004000,uint32_t)) /* CMD Powerdown */
-#define BITM_DMC_PADCTL_CMDODS (_ADI_MSK(0x00003000,uint32_t)) /* CMD Output Drive Strength */
-#define BITM_DMC_PADCTL_CLKOE (_ADI_MSK(0x00000800,uint32_t)) /* CLK Output Enable */
-#define BITM_DMC_PADCTL_CLKPWD (_ADI_MSK(0x00000400,uint32_t)) /* CLK Powerdown */
-#define BITM_DMC_PADCTL_CLKODS (_ADI_MSK(0x00000300,uint32_t)) /* Clock Output Drive Strength */
-#define BITM_DMC_PADCTL_DQSPWD (_ADI_MSK(0x00000040,uint32_t)) /* DQ/DQS Powerdown */
-#define BITM_DMC_PADCTL_DQSODS (_ADI_MSK(0x00000030,uint32_t)) /* DQS Output Drive Strength */
-#define BITM_DMC_PADCTL_DQPWD (_ADI_MSK(0x00000004,uint32_t)) /* DQ Powerdown. */
-#define BITM_DMC_PADCTL_DQODS (_ADI_MSK(0x00000003,uint32_t)) /* DQ Output Drive Strength */
-
-/* ==================================================
- System Cross Bar Registers
- ================================================== */
-
-/* =========================
- SCB0
- ========================= */
-#define REG_SCB0_ARBR0 0xFFCA2408 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR1 0xFFCA2428 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR2 0xFFCA2448 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR3 0xFFCA2468 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR4 0xFFCA2488 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBR5 0xFFCA24A8 /* SCB0 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB0_ARBW0 0xFFCA240C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW1 0xFFCA242C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW2 0xFFCA244C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW3 0xFFCA246C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW4 0xFFCA248C /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_ARBW5 0xFFCA24AC /* SCB0 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB0_SLAVES 0xFFCA2FC0 /* SCB0 Slave Interfaces Number Register */
-#define REG_SCB0_MASTERS 0xFFCA2FC4 /* SCB0 Master Interfaces Number Register */
-
-/* =========================
- SCB1
- ========================= */
-#define REG_SCB1_ARBR0 0xFFC42408 /* SCB1 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB1_ARBW0 0xFFC4240C /* SCB1 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB1_SLAVES 0xFFC42FC0 /* SCB1 Slave Interfaces Number Register */
-#define REG_SCB1_MASTERS 0xFFC42FC4 /* SCB1 Master Interfaces Number Register */
-
-/* =========================
- SCB2
- ========================= */
-#define REG_SCB2_ARBR0 0xFFC06408 /* SCB2 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB2_ARBW0 0xFFC0640C /* SCB2 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB2_SLAVES 0xFFC06FC0 /* SCB2 Slave Interfaces Number Register */
-#define REG_SCB2_MASTERS 0xFFC06FC4 /* SCB2 Master Interfaces Number Register */
-
-/* =========================
- SCB3
- ========================= */
-#define REG_SCB3_ARBR0 0xFFC08408 /* SCB3 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB3_ARBW0 0xFFC0840C /* SCB3 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB3_SLAVES 0xFFC08FC0 /* SCB3 Slave Interfaces Number Register */
-#define REG_SCB3_MASTERS 0xFFC08FC4 /* SCB3 Master Interfaces Number Register */
-
-/* =========================
- SCB4
- ========================= */
-#define REG_SCB4_ARBR0 0xFFC0A408 /* SCB4 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB4_ARBW0 0xFFC0A40C /* SCB4 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB4_SLAVES 0xFFC0AFC0 /* SCB4 Slave Interfaces Number Register */
-#define REG_SCB4_MASTERS 0xFFC0AFC4 /* SCB4 Master Interfaces Number Register */
-
-/* =========================
- SCB5
- ========================= */
-#define REG_SCB5_ARBR0 0xFFC0C408 /* SCB5 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB5_ARBW0 0xFFC0C40C /* SCB5 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB5_SLAVES 0xFFC0CFC0 /* SCB5 Slave Interfaces Number Register */
-#define REG_SCB5_MASTERS 0xFFC0CFC4 /* SCB5 Master Interfaces Number Register */
-
-/* =========================
- SCB6
- ========================= */
-#define REG_SCB6_ARBR0 0xFFC0E408 /* SCB6 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB6_ARBW0 0xFFC0E40C /* SCB6 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB6_SLAVES 0xFFC0EFC0 /* SCB6 Slave Interfaces Number Register */
-#define REG_SCB6_MASTERS 0xFFC0EFC4 /* SCB6 Master Interfaces Number Register */
-
-/* =========================
- SCB7
- ========================= */
-#define REG_SCB7_ARBR0 0xFFC11408 /* SCB7 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB7_ARBW0 0xFFC1140C /* SCB7 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB7_SLAVES 0xFFC11FC0 /* SCB7 Slave Interfaces Number Register */
-#define REG_SCB7_MASTERS 0xFFC11FC4 /* SCB7 Master Interfaces Number Register */
-
-/* =========================
- SCB8
- ========================= */
-#define REG_SCB8_ARBR0 0xFFC13408 /* SCB8 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB8_ARBW0 0xFFC1340C /* SCB8 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB8_SLAVES 0xFFC13FC0 /* SCB8 Slave Interfaces Number Register */
-#define REG_SCB8_MASTERS 0xFFC13FC4 /* SCB8 Master Interfaces Number Register */
-
-/* =========================
- SCB9
- ========================= */
-#define REG_SCB9_ARBR0 0xFFC15408 /* SCB9 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB9_ARBW0 0xFFC1540C /* SCB9 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB9_SLAVES 0xFFC15FC0 /* SCB9 Slave Interfaces Number Register */
-#define REG_SCB9_MASTERS 0xFFC15FC4 /* SCB9 Master Interfaces Number Register */
-
-/* =========================
- SCB10
- ========================= */
-#define REG_SCB10_ARBR0 0xFFCA1408 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR1 0xFFCA1428 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBR2 0xFFCA1448 /* SCB10 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB10_ARBW0 0xFFCA140C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW1 0xFFCA142C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_ARBW2 0xFFCA144C /* SCB10 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB10_SLAVES 0xFFCA1FC0 /* SCB10 Slave Interfaces Number Register */
-#define REG_SCB10_MASTERS 0xFFCA1FC4 /* SCB10 Master Interfaces Number Register */
-
-/* =========================
- SCB11
- ========================= */
-#define REG_SCB11_ARBR0 0xFFCA0408 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR1 0xFFCA0428 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR2 0xFFCA0448 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR3 0xFFCA0468 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR4 0xFFCA0488 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR5 0xFFCA04A8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBR6 0xFFCA04C8 /* SCB11 Arbitration Read Channel Master Interface n Register */
-#define REG_SCB11_ARBW0 0xFFCA040C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW1 0xFFCA042C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW2 0xFFCA044C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW3 0xFFCA046C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW4 0xFFCA048C /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW5 0xFFCA04AC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_ARBW6 0xFFCA04CC /* SCB11 Arbitration Write Channel Master Interface n Register */
-#define REG_SCB11_SLAVES 0xFFCA0FC0 /* SCB11 Slave Interfaces Number Register */
-#define REG_SCB11_MASTERS 0xFFCA0FC4 /* SCB11 Master Interfaces Number Register */
-
-/* =========================
- SCB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBR_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBR_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBR_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBR_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_ARBW Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_ARBW_SLOT 24 /* Slot Number */
-#define BITP_SCB_ARBW_SLAVE 0 /* Slave Interface */
-#define BITM_SCB_ARBW_SLOT (_ADI_MSK(0xFF000000,uint32_t)) /* Slot Number */
-#define BITM_SCB_ARBW_SLAVE (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_SLAVES Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_SLAVES_SI 0 /* Slave Interface Value */
-#define BITM_SCB_SLAVES_SI (_ADI_MSK(0x000000FF,uint32_t)) /* Slave Interface Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SCB_MASTERS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SCB_MASTERS_MI 0 /* Master Interface Value */
-#define BITM_SCB_MASTERS_MI (_ADI_MSK(0x000000FF,uint32_t)) /* Master Interface Value */
-
-/* ==================================================
- L2 Memory Controller Registers
- ================================================== */
-
-/* =========================
- L2CTL0
- ========================= */
-#define REG_L2CTL0_CTL 0xFFCA3000 /* L2CTL0 Control Register */
-#define REG_L2CTL0_ACTL_C0 0xFFCA3004 /* L2CTL0 Access Control Core 0 Register */
-#define REG_L2CTL0_ACTL_C1 0xFFCA3008 /* L2CTL0 Access Control Core 1 Register */
-#define REG_L2CTL0_ACTL_SYS 0xFFCA300C /* L2CTL0 Access Control System Register */
-#define REG_L2CTL0_STAT 0xFFCA3010 /* L2CTL0 Status Register */
-#define REG_L2CTL0_RPCR 0xFFCA3014 /* L2CTL0 Read Priority Count Register */
-#define REG_L2CTL0_WPCR 0xFFCA3018 /* L2CTL0 Write Priority Count Register */
-#define REG_L2CTL0_RFA 0xFFCA3024 /* L2CTL0 Refresh Address Register */
-#define REG_L2CTL0_ERRADDR0 0xFFCA3040 /* L2CTL0 ECC Error Address 0 Register */
-#define REG_L2CTL0_ERRADDR1 0xFFCA3044 /* L2CTL0 ECC Error Address 1 Register */
-#define REG_L2CTL0_ERRADDR2 0xFFCA3048 /* L2CTL0 ECC Error Address 2 Register */
-#define REG_L2CTL0_ERRADDR3 0xFFCA304C /* L2CTL0 ECC Error Address 3 Register */
-#define REG_L2CTL0_ERRADDR4 0xFFCA3050 /* L2CTL0 ECC Error Address 4 Register */
-#define REG_L2CTL0_ERRADDR5 0xFFCA3054 /* L2CTL0 ECC Error Address 5 Register */
-#define REG_L2CTL0_ERRADDR6 0xFFCA3058 /* L2CTL0 ECC Error Address 6 Register */
-#define REG_L2CTL0_ERRADDR7 0xFFCA305C /* L2CTL0 ECC Error Address 7 Register */
-#define REG_L2CTL0_ET0 0xFFCA3080 /* L2CTL0 Error Type 0 Register */
-#define REG_L2CTL0_EADDR0 0xFFCA3084 /* L2CTL0 Error Type 0 Address Register */
-#define REG_L2CTL0_ET1 0xFFCA3088 /* L2CTL0 Error Type 1 Register */
-#define REG_L2CTL0_EADDR1 0xFFCA308C /* L2CTL0 Error Type 1 Address Register */
-
-/* =========================
- L2CTL
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_CTL_LOCK 31 /* Lock */
-#define BITP_L2CTL_CTL_DISURP 16 /* Disable Urgent Request Priority */
-#define BITP_L2CTL_CTL_ECCMAP7 15 /* ECC Map Bank 7 */
-#define BITP_L2CTL_CTL_ECCMAP6 14 /* ECC Map Bank 6 */
-#define BITP_L2CTL_CTL_ECCMAP5 13 /* ECC Map Bank 5 */
-#define BITP_L2CTL_CTL_ECCMAP4 12 /* ECC Map Bank 4 */
-#define BITP_L2CTL_CTL_ECCMAP3 11 /* ECC Map Bank 3 */
-#define BITP_L2CTL_CTL_ECCMAP2 10 /* ECC Map Bank 2 */
-#define BITP_L2CTL_CTL_ECCMAP1 9 /* ECC Map Bank 1 */
-#define BITP_L2CTL_CTL_ECCMAP0 8 /* ECC Map Bank 0 */
-#define BITP_L2CTL_CTL_BK7EDIS 7 /* Bank 7 ECC Disable */
-#define BITP_L2CTL_CTL_BK6EDIS 6 /* Bank 6 ECC Disable */
-#define BITP_L2CTL_CTL_BK5EDIS 5 /* Bank 5 ECC Disable */
-#define BITP_L2CTL_CTL_BK4EDIS 4 /* Bank 4 ECC Disable */
-#define BITP_L2CTL_CTL_BK3EDIS 3 /* Bank 3 ECC Disable */
-#define BITP_L2CTL_CTL_BK2EDIS 2 /* Bank 2 ECC Disable */
-#define BITP_L2CTL_CTL_BK1EDIS 1 /* Bank 1 ECC Disable */
-#define BITP_L2CTL_CTL_BK0EDIS 0 /* Bank 0 ECC Disable */
-#define BITM_L2CTL_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_CTL_DISURP (_ADI_MSK(0x00010000,uint32_t)) /* Disable Urgent Request Priority */
-#define BITM_L2CTL_CTL_ECCMAP7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Map Bank 7 */
-#define BITM_L2CTL_CTL_ECCMAP6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Map Bank 6 */
-#define BITM_L2CTL_CTL_ECCMAP5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Map Bank 5 */
-#define BITM_L2CTL_CTL_ECCMAP4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Map Bank 4 */
-#define BITM_L2CTL_CTL_ECCMAP3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Map Bank 3 */
-#define BITM_L2CTL_CTL_ECCMAP2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Map Bank 2 */
-#define BITM_L2CTL_CTL_ECCMAP1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Map Bank 1 */
-#define BITM_L2CTL_CTL_ECCMAP0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Map Bank 0 */
-#define BITM_L2CTL_CTL_BK7EDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 ECC Disable */
-#define BITM_L2CTL_CTL_BK6EDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 ECC Disable */
-#define BITM_L2CTL_CTL_BK5EDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 ECC Disable */
-#define BITM_L2CTL_CTL_BK4EDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 ECC Disable */
-#define BITM_L2CTL_CTL_BK3EDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 ECC Disable */
-#define BITM_L2CTL_CTL_BK2EDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 ECC Disable */
-#define BITM_L2CTL_CTL_BK1EDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 ECC Disable */
-#define BITM_L2CTL_CTL_BK0EDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 ECC Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C0_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C0_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C0_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C0_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C0_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C0_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_C1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_C1_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_C1_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_C1_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_C1_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_C1_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_C1_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ACTL_SYS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ACTL_SYS_LOCK 31 /* Lock */
-#define BITP_L2CTL_ACTL_SYS_BK7WDIS 7 /* Bank 7 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK6WDIS 6 /* Bank 6 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK5WDIS 5 /* Bank 5 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK4WDIS 4 /* Bank 4 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK3WDIS 3 /* Bank 3 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK2WDIS 2 /* Bank 2 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK1WDIS 1 /* Bank 1 Write Disable */
-#define BITP_L2CTL_ACTL_SYS_BK0WDIS 0 /* Bank 0 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_L2CTL_ACTL_SYS_BK7WDIS (_ADI_MSK(0x00000080,uint32_t)) /* Bank 7 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK6WDIS (_ADI_MSK(0x00000040,uint32_t)) /* Bank 6 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK5WDIS (_ADI_MSK(0x00000020,uint32_t)) /* Bank 5 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK4WDIS (_ADI_MSK(0x00000010,uint32_t)) /* Bank 4 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK3WDIS (_ADI_MSK(0x00000008,uint32_t)) /* Bank 3 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK2WDIS (_ADI_MSK(0x00000004,uint32_t)) /* Bank 2 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK1WDIS (_ADI_MSK(0x00000002,uint32_t)) /* Bank 1 Write Disable */
-#define BITM_L2CTL_ACTL_SYS_BK0WDIS (_ADI_MSK(0x00000001,uint32_t)) /* Bank 0 Write Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_STAT_ECCERR7 15 /* ECC Error Bank 7 */
-#define BITP_L2CTL_STAT_ECCERR6 14 /* ECC Error Bank 6 */
-#define BITP_L2CTL_STAT_ECCERR5 13 /* ECC Error Bank 5 */
-#define BITP_L2CTL_STAT_ECCERR4 12 /* ECC Error Bank 4 */
-#define BITP_L2CTL_STAT_ECCERR3 11 /* ECC Error Bank 3 */
-#define BITP_L2CTL_STAT_ECCERR2 10 /* ECC Error Bank 2 */
-#define BITP_L2CTL_STAT_ECCERR1 9 /* ECC Error Bank 1 */
-#define BITP_L2CTL_STAT_ECCERR0 8 /* ECC Error Bank 0 */
-#define BITP_L2CTL_STAT_RFRS 4 /* Refresh Register Status */
-#define BITP_L2CTL_STAT_ERR1 1 /* Error Port 1 */
-#define BITP_L2CTL_STAT_ERR0 0 /* Error Port 0 */
-#define BITM_L2CTL_STAT_ECCERR7 (_ADI_MSK(0x00008000,uint32_t)) /* ECC Error Bank 7 */
-#define BITM_L2CTL_STAT_ECCERR6 (_ADI_MSK(0x00004000,uint32_t)) /* ECC Error Bank 6 */
-#define BITM_L2CTL_STAT_ECCERR5 (_ADI_MSK(0x00002000,uint32_t)) /* ECC Error Bank 5 */
-#define BITM_L2CTL_STAT_ECCERR4 (_ADI_MSK(0x00001000,uint32_t)) /* ECC Error Bank 4 */
-#define BITM_L2CTL_STAT_ECCERR3 (_ADI_MSK(0x00000800,uint32_t)) /* ECC Error Bank 3 */
-#define BITM_L2CTL_STAT_ECCERR2 (_ADI_MSK(0x00000400,uint32_t)) /* ECC Error Bank 2 */
-#define BITM_L2CTL_STAT_ECCERR1 (_ADI_MSK(0x00000200,uint32_t)) /* ECC Error Bank 1 */
-#define BITM_L2CTL_STAT_ECCERR0 (_ADI_MSK(0x00000100,uint32_t)) /* ECC Error Bank 0 */
-#define BITM_L2CTL_STAT_RFRS (_ADI_MSK(0x00000010,uint32_t)) /* Refresh Register Status */
-#define BITM_L2CTL_STAT_ERR1 (_ADI_MSK(0x00000002,uint32_t)) /* Error Port 1 */
-#define BITM_L2CTL_STAT_ERR0 (_ADI_MSK(0x00000001,uint32_t)) /* Error Port 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RPCR_RPC1 8 /* Read Priority Count 1 */
-#define BITP_L2CTL_RPCR_RPC0 0 /* Read Priority Count 0 */
-#define BITM_L2CTL_RPCR_RPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Read Priority Count 1 */
-#define BITM_L2CTL_RPCR_RPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Read Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_WPCR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_WPCR_WPC1 8 /* Write Priority Count 1 */
-#define BITP_L2CTL_WPCR_WPC0 0 /* Write Priority Count 0 */
-#define BITM_L2CTL_WPCR_WPC1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Write Priority Count 1 */
-#define BITM_L2CTL_WPCR_WPC0 (_ADI_MSK(0x000000FF,uint32_t)) /* Write Priority Count 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_RFA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_RFA_ADDRHI 16 /* Address High */
-#define BITP_L2CTL_RFA_ADDRLO 0 /* Address Low */
-#define BITM_L2CTL_RFA_ADDRHI (_ADI_MSK(0xFFFF0000,uint32_t)) /* Address High */
-#define BITM_L2CTL_RFA_ADDRLO (_ADI_MSK(0x0000FFFF,uint32_t)) /* Address Low */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET0 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET0_ID 8 /* Error ID */
-#define BITP_L2CTL_ET0_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET0_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET0_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET0_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET0_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET0_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET0_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET0_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET0_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET0_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET0_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L2CTL_ET1 Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L2CTL_ET1_ID 8 /* Error ID */
-#define BITP_L2CTL_ET1_RDWR 4 /* Read/Write Error */
-#define BITP_L2CTL_ET1_ECCERR 3 /* ECC Error */
-#define BITP_L2CTL_ET1_ACCERR 2 /* Access Error */
-#define BITP_L2CTL_ET1_RSVERR 1 /* Reserved Error */
-#define BITP_L2CTL_ET1_ROMERR 0 /* ROM Error */
-#define BITM_L2CTL_ET1_ID (_ADI_MSK(0x0000FF00,uint32_t)) /* Error ID */
-#define BITM_L2CTL_ET1_RDWR (_ADI_MSK(0x00000010,uint32_t)) /* Read/Write Error */
-#define BITM_L2CTL_ET1_ECCERR (_ADI_MSK(0x00000008,uint32_t)) /* ECC Error */
-#define BITM_L2CTL_ET1_ACCERR (_ADI_MSK(0x00000004,uint32_t)) /* Access Error */
-#define BITM_L2CTL_ET1_RSVERR (_ADI_MSK(0x00000002,uint32_t)) /* Reserved Error */
-#define BITM_L2CTL_ET1_ROMERR (_ADI_MSK(0x00000001,uint32_t)) /* ROM Error */
-
-/* ==================================================
- System Event Controller Registers
- ================================================== */
-
-/* =========================
- SEC0
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Core Interface (SCI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_CCTL0 0xFFCA4400 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CCTL1 0xFFCA4440 /* SEC0 SCI Control Register n */
-#define REG_SEC0_CSTAT0 0xFFCA4404 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CSTAT1 0xFFCA4444 /* SEC0 SCI Status Register n */
-#define REG_SEC0_CPND0 0xFFCA4408 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CPND1 0xFFCA4448 /* SEC0 Core Pending Register n */
-#define REG_SEC0_CACT0 0xFFCA440C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CACT1 0xFFCA444C /* SEC0 SCI Active Register n */
-#define REG_SEC0_CPMSK0 0xFFCA4410 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CPMSK1 0xFFCA4450 /* SEC0 SCI Priority Mask Register n */
-#define REG_SEC0_CGMSK0 0xFFCA4414 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CGMSK1 0xFFCA4454 /* SEC0 SCI Group Mask Register n */
-#define REG_SEC0_CPLVL0 0xFFCA4418 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CPLVL1 0xFFCA4458 /* SEC0 SCI Priority Level Register n */
-#define REG_SEC0_CSID0 0xFFCA441C /* SEC0 SCI Source ID Register n */
-#define REG_SEC0_CSID1 0xFFCA445C /* SEC0 SCI Source ID Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Fault Management Interface (SFI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_FCTL 0xFFCA4010 /* SEC0 Fault Control Register */
-#define REG_SEC0_FSTAT 0xFFCA4014 /* SEC0 Fault Status Register */
-#define REG_SEC0_FSID 0xFFCA4018 /* SEC0 Fault Source ID Register */
-#define REG_SEC0_FEND 0xFFCA401C /* SEC0 Fault End Register */
-#define REG_SEC0_FDLY 0xFFCA4020 /* SEC0 Fault Delay Register */
-#define REG_SEC0_FDLY_CUR 0xFFCA4024 /* SEC0 Fault Delay Current Register */
-#define REG_SEC0_FSRDLY 0xFFCA4028 /* SEC0 Fault System Reset Delay Register */
-#define REG_SEC0_FSRDLY_CUR 0xFFCA402C /* SEC0 Fault System Reset Delay Current Register */
-#define REG_SEC0_FCOPP 0xFFCA4030 /* SEC0 Fault COP Period Register */
-#define REG_SEC0_FCOPP_CUR 0xFFCA4034 /* SEC0 Fault COP Period Current Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Global Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_GCTL 0xFFCA4000 /* SEC0 Global Control Register */
-#define REG_SEC0_GSTAT 0xFFCA4004 /* SEC0 Global Status Register */
-#define REG_SEC0_RAISE 0xFFCA4008 /* SEC0 Global Raise Register */
-#define REG_SEC0_END 0xFFCA400C /* SEC0 Global End Register */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC Source Interface (SSI) Register Definitions
- ------------------------------------------------------------------------------------------------------------------------ */
-#define REG_SEC0_SCTL0 0xFFCA4800 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL1 0xFFCA4808 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL2 0xFFCA4810 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL3 0xFFCA4818 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL4 0xFFCA4820 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL5 0xFFCA4828 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL6 0xFFCA4830 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL7 0xFFCA4838 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL8 0xFFCA4840 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL9 0xFFCA4848 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL10 0xFFCA4850 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL11 0xFFCA4858 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL12 0xFFCA4860 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL13 0xFFCA4868 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL14 0xFFCA4870 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL15 0xFFCA4878 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL16 0xFFCA4880 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL17 0xFFCA4888 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL18 0xFFCA4890 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL19 0xFFCA4898 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL20 0xFFCA48A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL21 0xFFCA48A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL22 0xFFCA48B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL23 0xFFCA48B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL24 0xFFCA48C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL25 0xFFCA48C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL26 0xFFCA48D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL27 0xFFCA48D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL28 0xFFCA48E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL29 0xFFCA48E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL30 0xFFCA48F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL31 0xFFCA48F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL32 0xFFCA4900 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL33 0xFFCA4908 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL34 0xFFCA4910 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL35 0xFFCA4918 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL36 0xFFCA4920 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL37 0xFFCA4928 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL38 0xFFCA4930 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL39 0xFFCA4938 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL40 0xFFCA4940 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL41 0xFFCA4948 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL42 0xFFCA4950 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL43 0xFFCA4958 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL44 0xFFCA4960 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL45 0xFFCA4968 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL46 0xFFCA4970 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL47 0xFFCA4978 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL48 0xFFCA4980 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL49 0xFFCA4988 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL50 0xFFCA4990 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL51 0xFFCA4998 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL52 0xFFCA49A0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL53 0xFFCA49A8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL54 0xFFCA49B0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL55 0xFFCA49B8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL56 0xFFCA49C0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL57 0xFFCA49C8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL58 0xFFCA49D0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL59 0xFFCA49D8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL60 0xFFCA49E0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL61 0xFFCA49E8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL62 0xFFCA49F0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL63 0xFFCA49F8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL64 0xFFCA4A00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL65 0xFFCA4A08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL66 0xFFCA4A10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL67 0xFFCA4A18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL68 0xFFCA4A20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL69 0xFFCA4A28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL70 0xFFCA4A30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL71 0xFFCA4A38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL72 0xFFCA4A40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL73 0xFFCA4A48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL74 0xFFCA4A50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL75 0xFFCA4A58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL76 0xFFCA4A60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL77 0xFFCA4A68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL78 0xFFCA4A70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL79 0xFFCA4A78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL80 0xFFCA4A80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL81 0xFFCA4A88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL82 0xFFCA4A90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL83 0xFFCA4A98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL84 0xFFCA4AA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL85 0xFFCA4AA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL86 0xFFCA4AB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL87 0xFFCA4AB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL88 0xFFCA4AC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL89 0xFFCA4AC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL90 0xFFCA4AD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL91 0xFFCA4AD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL92 0xFFCA4AE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL93 0xFFCA4AE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL94 0xFFCA4AF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL95 0xFFCA4AF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL96 0xFFCA4B00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL97 0xFFCA4B08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL98 0xFFCA4B10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL99 0xFFCA4B18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL100 0xFFCA4B20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL101 0xFFCA4B28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL102 0xFFCA4B30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL103 0xFFCA4B38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL104 0xFFCA4B40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL105 0xFFCA4B48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL106 0xFFCA4B50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL107 0xFFCA4B58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL108 0xFFCA4B60 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL109 0xFFCA4B68 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL110 0xFFCA4B70 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL111 0xFFCA4B78 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL112 0xFFCA4B80 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL113 0xFFCA4B88 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL114 0xFFCA4B90 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL115 0xFFCA4B98 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL116 0xFFCA4BA0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL117 0xFFCA4BA8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL118 0xFFCA4BB0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL119 0xFFCA4BB8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL120 0xFFCA4BC0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL121 0xFFCA4BC8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL122 0xFFCA4BD0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL123 0xFFCA4BD8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL124 0xFFCA4BE0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL125 0xFFCA4BE8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL126 0xFFCA4BF0 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL127 0xFFCA4BF8 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL128 0xFFCA4C00 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL129 0xFFCA4C08 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL130 0xFFCA4C10 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL131 0xFFCA4C18 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL132 0xFFCA4C20 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL133 0xFFCA4C28 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL134 0xFFCA4C30 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL135 0xFFCA4C38 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL136 0xFFCA4C40 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL137 0xFFCA4C48 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL138 0xFFCA4C50 /* SEC0 Source Control Register n */
-#define REG_SEC0_SCTL139 0xFFCA4C58 /* SEC0 Source Control Register n */
-#define REG_SEC0_SSTAT0 0xFFCA4804 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT1 0xFFCA480C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT2 0xFFCA4814 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT3 0xFFCA481C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT4 0xFFCA4824 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT5 0xFFCA482C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT6 0xFFCA4834 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT7 0xFFCA483C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT8 0xFFCA4844 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT9 0xFFCA484C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT10 0xFFCA4854 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT11 0xFFCA485C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT12 0xFFCA4864 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT13 0xFFCA486C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT14 0xFFCA4874 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT15 0xFFCA487C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT16 0xFFCA4884 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT17 0xFFCA488C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT18 0xFFCA4894 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT19 0xFFCA489C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT20 0xFFCA48A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT21 0xFFCA48AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT22 0xFFCA48B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT23 0xFFCA48BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT24 0xFFCA48C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT25 0xFFCA48CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT26 0xFFCA48D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT27 0xFFCA48DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT28 0xFFCA48E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT29 0xFFCA48EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT30 0xFFCA48F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT31 0xFFCA48FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT32 0xFFCA4904 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT33 0xFFCA490C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT34 0xFFCA4914 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT35 0xFFCA491C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT36 0xFFCA4924 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT37 0xFFCA492C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT38 0xFFCA4934 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT39 0xFFCA493C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT40 0xFFCA4944 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT41 0xFFCA494C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT42 0xFFCA4954 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT43 0xFFCA495C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT44 0xFFCA4964 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT45 0xFFCA496C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT46 0xFFCA4974 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT47 0xFFCA497C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT48 0xFFCA4984 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT49 0xFFCA498C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT50 0xFFCA4994 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT51 0xFFCA499C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT52 0xFFCA49A4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT53 0xFFCA49AC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT54 0xFFCA49B4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT55 0xFFCA49BC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT56 0xFFCA49C4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT57 0xFFCA49CC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT58 0xFFCA49D4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT59 0xFFCA49DC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT60 0xFFCA49E4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT61 0xFFCA49EC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT62 0xFFCA49F4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT63 0xFFCA49FC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT64 0xFFCA4A04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT65 0xFFCA4A0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT66 0xFFCA4A14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT67 0xFFCA4A1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT68 0xFFCA4A24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT69 0xFFCA4A2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT70 0xFFCA4A34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT71 0xFFCA4A3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT72 0xFFCA4A44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT73 0xFFCA4A4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT74 0xFFCA4A54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT75 0xFFCA4A5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT76 0xFFCA4A64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT77 0xFFCA4A6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT78 0xFFCA4A74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT79 0xFFCA4A7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT80 0xFFCA4A84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT81 0xFFCA4A8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT82 0xFFCA4A94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT83 0xFFCA4A9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT84 0xFFCA4AA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT85 0xFFCA4AAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT86 0xFFCA4AB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT87 0xFFCA4ABC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT88 0xFFCA4AC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT89 0xFFCA4ACC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT90 0xFFCA4AD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT91 0xFFCA4ADC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT92 0xFFCA4AE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT93 0xFFCA4AEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT94 0xFFCA4AF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT95 0xFFCA4AFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT96 0xFFCA4B04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT97 0xFFCA4B0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT98 0xFFCA4B14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT99 0xFFCA4B1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT100 0xFFCA4B24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT101 0xFFCA4B2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT102 0xFFCA4B34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT103 0xFFCA4B3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT104 0xFFCA4B44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT105 0xFFCA4B4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT106 0xFFCA4B54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT107 0xFFCA4B5C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT108 0xFFCA4B64 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT109 0xFFCA4B6C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT110 0xFFCA4B74 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT111 0xFFCA4B7C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT112 0xFFCA4B84 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT113 0xFFCA4B8C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT114 0xFFCA4B94 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT115 0xFFCA4B9C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT116 0xFFCA4BA4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT117 0xFFCA4BAC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT118 0xFFCA4BB4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT119 0xFFCA4BBC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT120 0xFFCA4BC4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT121 0xFFCA4BCC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT122 0xFFCA4BD4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT123 0xFFCA4BDC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT124 0xFFCA4BE4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT125 0xFFCA4BEC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT126 0xFFCA4BF4 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT127 0xFFCA4BFC /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT128 0xFFCA4C04 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT129 0xFFCA4C0C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT130 0xFFCA4C14 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT131 0xFFCA4C1C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT132 0xFFCA4C24 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT133 0xFFCA4C2C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT134 0xFFCA4C34 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT135 0xFFCA4C3C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT136 0xFFCA4C44 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT137 0xFFCA4C4C /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT138 0xFFCA4C54 /* SEC0 Source Status Register n */
-#define REG_SEC0_SSTAT139 0xFFCA4C5C /* SEC0 Source Status Register n */
-
-/* =========================
- SEC
- ========================= */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CCTL_LOCK 31 /* Lock */
-#define BITP_SEC_CCTL_NMIEN 16 /* NMI Enable */
-#define BITP_SEC_CCTL_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CCTL_RESET 1 /* Reset */
-#define BITP_SEC_CCTL_EN 0 /* Enable */
-
-#define BITM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CCTL_NMIEN (_ADI_MSK(0x00010000,uint32_t)) /* NMI Enable */
-#define ENUM_SEC_CCTL_NMI_DIS (_ADI_MSK(0x00000000,uint32_t)) /* NMIEN: Disable */
-#define ENUM_SEC_CCTL_NMI_EN (_ADI_MSK(0x00010000,uint32_t)) /* NMIEN: Enable */
-
-#define BITM_SEC_CCTL_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CCTL_NO_WAITIDLE (_ADI_MSK(0x00000000,uint32_t)) /* WFI: No Action */
-#define ENUM_SEC_CCTL_WAITIDLE (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Wait for Idle */
-
-#define BITM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_CCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_CCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_CCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_CCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSTAT_NMI 16 /* NMI */
-#define BITP_SEC_CSTAT_WFI 12 /* Wait For Idle */
-#define BITP_SEC_CSTAT_SIDV 10 /* SID Valid */
-#define BITP_SEC_CSTAT_ACTV 9 /* ACT Valid */
-#define BITP_SEC_CSTAT_PNDV 8 /* PND Valid */
-#define BITP_SEC_CSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_CSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI */
-#define ENUM_SEC_CSTAT_NO_NMI (_ADI_MSK(0x00000000,uint32_t)) /* NMI: No NMI Occured */
-#define ENUM_SEC_CSTAT_NMI (_ADI_MSK(0x00010000,uint32_t)) /* NMI: NMI Occurred */
-
-#define BITM_SEC_CSTAT_WFI (_ADI_MSK(0x00001000,uint32_t)) /* Wait For Idle */
-#define ENUM_SEC_CSTAT_NOT_WAITING (_ADI_MSK(0x00000000,uint32_t)) /* WFI: Not Waiting */
-#define ENUM_SEC_CSTAT_WAITING (_ADI_MSK(0x00001000,uint32_t)) /* WFI: Waiting */
-
-#define BITM_SEC_CSTAT_SIDV (_ADI_MSK(0x00000400,uint32_t)) /* SID Valid */
-#define ENUM_SEC_CSTAT_INVALID_SID (_ADI_MSK(0x00000000,uint32_t)) /* SIDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_SID (_ADI_MSK(0x00000400,uint32_t)) /* SIDV: Valid */
-
-#define BITM_SEC_CSTAT_ACTV (_ADI_MSK(0x00000200,uint32_t)) /* ACT Valid */
-#define ENUM_SEC_CSTAT_INVALID_ACT (_ADI_MSK(0x00000000,uint32_t)) /* ACTV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_ACT (_ADI_MSK(0x00000200,uint32_t)) /* ACTV: Valid */
-
-#define BITM_SEC_CSTAT_PNDV (_ADI_MSK(0x00000100,uint32_t)) /* PND Valid */
-#define ENUM_SEC_CSTAT_INVALID_PND (_ADI_MSK(0x00000000,uint32_t)) /* PNDV: Invalid */
-#define ENUM_SEC_CSTAT_VALID_PND (_ADI_MSK(0x00000100,uint32_t)) /* PNDV: Valid */
-
-#define BITM_SEC_CSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_CSTAT_ACKERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: Acknowledge Error */
-
-#define BITM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_CSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_CSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPND_PRIO 8 /* Highest Pending IRQ Priority */
-#define BITP_SEC_CPND_SID 0 /* Highest Pending IRQ Source ID */
-#define BITM_SEC_CPND_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Pending IRQ Priority */
-#define BITM_SEC_CPND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Pending IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CACT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CACT_PRIO 8 /* Highest Active IRQ Priority */
-#define BITP_SEC_CACT_SID 0 /* Highest Active IRQ Source ID */
-#define BITM_SEC_CACT_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Highest Active IRQ Priority */
-#define BITM_SEC_CACT_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Highest Active IRQ Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CPMSK_PRIO 0 /* IRQ Priority Mask */
-
-#define BITM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPMSK_PRIO (_ADI_MSK(0x000000FF,uint32_t)) /* IRQ Priority Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CGMSK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CGMSK_LOCK 31 /* Lock */
-#define BITP_SEC_CGMSK_UGRP 8 /* Ungrouped Mask */
-#define BITP_SEC_CGMSK_GRP 0 /* Grouped Mask */
-
-#define BITM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CGMSK_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CGMSK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_CGMSK_UGRP (_ADI_MSK(0x00000100,uint32_t)) /* Ungrouped Mask */
-#define ENUM_SEC_CGMSK_UNMASK (_ADI_MSK(0x00000000,uint32_t)) /* UGRP: Unmask Ungrouped Sources */
-#define ENUM_SEC_CGMSK_MASK (_ADI_MSK(0x00000100,uint32_t)) /* UGRP: Mask Ungrouped Sources */
-#define BITM_SEC_CGMSK_GRP (_ADI_MSK(0x0000000F,uint32_t)) /* Grouped Mask */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CPLVL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CPLVL_LOCK 31 /* Lock */
-#define BITP_SEC_CPLVL_PLVL 0 /* Priority Levels */
-
-#define BITM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_CPLVL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_CPLVL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_CPLVL_PLVL (_ADI_MSK(0x00000007,uint32_t)) /* Priority Levels */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_CSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_CSID_SID 0 /* Source ID */
-#define BITM_SEC_CSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FCTL_LOCK 31 /* Lock */
-#define BITP_SEC_FCTL_TES 13 /* Trigger Event Select */
-#define BITP_SEC_FCTL_CMS 12 /* COP Mode Select */
-#define BITP_SEC_FCTL_FIEN 7 /* Fault Input Enable */
-#define BITP_SEC_FCTL_SREN 6 /* System Reset Enable */
-#define BITP_SEC_FCTL_TOEN 5 /* Trigger Output Enable */
-#define BITP_SEC_FCTL_FOEN 4 /* Fault Output Enable */
-#define BITP_SEC_FCTL_RESET 1 /* Reset */
-#define BITP_SEC_FCTL_EN 0 /* Enable */
-
-#define BITM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_FCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: UnLock */
-#define ENUM_SEC_FCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_FCTL_TES (_ADI_MSK(0x00002000,uint32_t)) /* Trigger Event Select */
-#define ENUM_SEC_FCTL_FLTACT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* TES: Fault Active Mode */
-#define ENUM_SEC_FCTL_FLTPND_MODE (_ADI_MSK(0x00002000,uint32_t)) /* TES: Fault Pending Mode */
-
-#define BITM_SEC_FCTL_CMS (_ADI_MSK(0x00001000,uint32_t)) /* COP Mode Select */
-#define ENUM_SEC_FCTL_FLT_MODE (_ADI_MSK(0x00000000,uint32_t)) /* CMS: Fault Mode */
-#define ENUM_SEC_FCTL_COP_MODE (_ADI_MSK(0x00001000,uint32_t)) /* CMS: COP Mode */
-
-#define BITM_SEC_FCTL_FIEN (_ADI_MSK(0x00000080,uint32_t)) /* Fault Input Enable */
-#define ENUM_SEC_FCTL_FLTIN_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FIEN: Disable */
-#define ENUM_SEC_FCTL_FLTIN_EN (_ADI_MSK(0x00000080,uint32_t)) /* FIEN: Enable */
-
-#define BITM_SEC_FCTL_SREN (_ADI_MSK(0x00000040,uint32_t)) /* System Reset Enable */
-#define ENUM_SEC_FCTL_SYSRST_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SREN: Disable */
-#define ENUM_SEC_FCTL_SYSRST_EN (_ADI_MSK(0x00000040,uint32_t)) /* SREN: Enable */
-
-#define BITM_SEC_FCTL_TOEN (_ADI_MSK(0x00000020,uint32_t)) /* Trigger Output Enable */
-#define ENUM_SEC_FCTL_TRGOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* TOEN: Disable */
-#define ENUM_SEC_FCTL_TRGOUT_EN (_ADI_MSK(0x00000020,uint32_t)) /* TOEN: Enable */
-
-#define BITM_SEC_FCTL_FOEN (_ADI_MSK(0x00000010,uint32_t)) /* Fault Output Enable */
-#define ENUM_SEC_FCTL_FLTOUT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FOEN: Disable */
-#define ENUM_SEC_FCTL_FLTOUT_EN (_ADI_MSK(0x00000010,uint32_t)) /* FOEN: Enable */
-
-#define BITM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_FCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_FCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_FCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_FCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSTAT_NPND 10 /* Next Pending Fault */
-#define BITP_SEC_FSTAT_ACT 9 /* Fault Active */
-#define BITP_SEC_FSTAT_PND 8 /* Pending Fault */
-#define BITP_SEC_FSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_FSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_FSTAT_NPND (_ADI_MSK(0x00000400,uint32_t)) /* Next Pending Fault */
-#define ENUM_SEC_FSTAT_NO_NXTFLT (_ADI_MSK(0x00000000,uint32_t)) /* NPND: Not Pending */
-#define ENUM_SEC_FSTAT_NXTFLT (_ADI_MSK(0x00000400,uint32_t)) /* NPND: Pending */
-
-#define BITM_SEC_FSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Fault Active */
-#define ENUM_SEC_FSTAT_NO_FLTACT (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Fault */
-#define ENUM_SEC_FSTAT_FLTACT (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Fault */
-
-#define BITM_SEC_FSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Fault */
-#define ENUM_SEC_FSTAT_NO_FLTPND (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_FSTAT_FLTPND (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_FSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_FSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_FSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_FSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FSID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FSID_FEXT 16 /* Fault External */
-#define BITP_SEC_FSID_SID 0 /* Source ID */
-
-#define BITM_SEC_FSID_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FSID_SRC_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FSID_SRC_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FSID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_FEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_FEND_FEXT 16 /* Fault External */
-#define BITP_SEC_FEND_SID 0 /* Source ID */
-
-#define BITM_SEC_FEND_FEXT (_ADI_MSK(0x00010000,uint32_t)) /* Fault External */
-#define ENUM_SEC_FEND_END_INTFLT (_ADI_MSK(0x00000000,uint32_t)) /* FEXT: Fault Internal */
-#define ENUM_SEC_FEND_END_EXTFLT (_ADI_MSK(0x00010000,uint32_t)) /* FEXT: Fault External */
-#define BITM_SEC_FEND_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GCTL_LOCK 31 /* Lock */
-#define BITP_SEC_GCTL_RESET 1 /* Reset */
-#define BITP_SEC_GCTL_EN 0 /* Enable */
-
-#define BITM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_GCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Reset */
-#define ENUM_SEC_GCTL_NO_RESET (_ADI_MSK(0x00000000,uint32_t)) /* RESET: No Action */
-#define ENUM_SEC_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* RESET: Reset */
-
-#define BITM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Enable */
-#define ENUM_SEC_GCTL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* EN: Disable */
-#define ENUM_SEC_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* EN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_GSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_GSTAT_LWERR 31 /* Lock Write Error */
-#define BITP_SEC_GSTAT_ADRERR 30 /* Address Error */
-#define BITP_SEC_GSTAT_SID 16 /* Source ID for SSI Error */
-#define BITP_SEC_GSTAT_SCI 8 /* SCI ID for SCI Error */
-#define BITP_SEC_GSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_GSTAT_ERR 1 /* Error */
-
-#define BITM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define ENUM_SEC_GSTAT_NO_LWERR (_ADI_MSK(0x00000000,uint32_t)) /* LWERR: No Error */
-#define ENUM_SEC_GSTAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* LWERR: Error Occurred */
-
-#define BITM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define ENUM_SEC_GSTAT_NO_ADRERR (_ADI_MSK(0x00000000,uint32_t)) /* ADRERR: No Error */
-#define ENUM_SEC_GSTAT_ADRERR (_ADI_MSK(0x40000000,uint32_t)) /* ADRERR: Error Occurred */
-#define BITM_SEC_GSTAT_SID (_ADI_MSK(0x00FF0000,uint32_t)) /* Source ID for SSI Error */
-#define BITM_SEC_GSTAT_SCI (_ADI_MSK(0x00000F00,uint32_t)) /* SCI ID for SCI Error */
-
-#define BITM_SEC_GSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_GSTAT_SFIERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: SFI Error */
-#define ENUM_SEC_GSTAT_SCIERR (_ADI_MSK(0x00000010,uint32_t)) /* ERRC: SCI Error */
-#define ENUM_SEC_GSTAT_SSIERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: SSI Error */
-
-#define BITM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_GSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_GSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_RAISE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_RAISE_SID 0 /* Source ID IRQ Set to Pending */
-#define BITM_SEC_RAISE_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ Set to Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_END Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_END_SID 0 /* Source ID IRQ to End */
-#define BITM_SEC_END_SID (_ADI_MSK(0x000000FF,uint32_t)) /* Source ID IRQ to End */
-
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SCTL_LOCK 31 /* Lock */
-#define BITP_SEC_SCTL_CTG 24 /* Core Target Select */
-#define BITP_SEC_SCTL_GRP 16 /* Group Select */
-#define BITP_SEC_SCTL_PRIO 8 /* Priority Level Select */
-#define BITP_SEC_SCTL_ERREN 4 /* Error Enable */
-#define BITP_SEC_SCTL_ES 3 /* Edge Select */
-#define BITP_SEC_SCTL_SEN 2 /* Source (signal) Enable */
-#define BITP_SEC_SCTL_FEN 1 /* Fault Enable */
-#define BITP_SEC_SCTL_IEN 0 /* Interrupt Enable */
-
-#define BITM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_SEC_SCTL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_SEC_SCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-#define BITM_SEC_SCTL_CTG (_ADI_MSK(0x0F000000,uint32_t)) /* Core Target Select */
-#define BITM_SEC_SCTL_GRP (_ADI_MSK(0x000F0000,uint32_t)) /* Group Select */
-#define BITM_SEC_SCTL_PRIO (_ADI_MSK(0x0000FF00,uint32_t)) /* Priority Level Select */
-
-#define BITM_SEC_SCTL_ERREN (_ADI_MSK(0x00000010,uint32_t)) /* Error Enable */
-#define ENUM_SEC_SCTL_ERR_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ERREN: Disable */
-#define ENUM_SEC_SCTL_ERR_EN (_ADI_MSK(0x00000010,uint32_t)) /* ERREN: Enable */
-
-#define BITM_SEC_SCTL_ES (_ADI_MSK(0x00000008,uint32_t)) /* Edge Select */
-#define ENUM_SEC_SCTL_LEVEL (_ADI_MSK(0x00000000,uint32_t)) /* ES: Level Sensitive */
-#define ENUM_SEC_SCTL_EDGE (_ADI_MSK(0x00000008,uint32_t)) /* ES: Edge Sensitive */
-
-#define BITM_SEC_SCTL_SEN (_ADI_MSK(0x00000004,uint32_t)) /* Source (signal) Enable */
-#define ENUM_SEC_SCTL_SRC_DIS (_ADI_MSK(0x00000000,uint32_t)) /* SEN: Disable */
-#define ENUM_SEC_SCTL_SRC_EN (_ADI_MSK(0x00000004,uint32_t)) /* SEN: Enable */
-
-#define BITM_SEC_SCTL_FEN (_ADI_MSK(0x00000002,uint32_t)) /* Fault Enable */
-#define ENUM_SEC_SCTL_FAULT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* FEN: Disable */
-#define ENUM_SEC_SCTL_FAULT_EN (_ADI_MSK(0x00000002,uint32_t)) /* FEN: Enable */
-
-#define BITM_SEC_SCTL_IEN (_ADI_MSK(0x00000001,uint32_t)) /* Interrupt Enable */
-#define ENUM_SEC_SCTL_INT_DIS (_ADI_MSK(0x00000000,uint32_t)) /* IEN: Disable */
-#define ENUM_SEC_SCTL_INT_EN (_ADI_MSK(0x00000001,uint32_t)) /* IEN: Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SEC_SSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SEC_SSTAT_CHID 16 /* Channel ID */
-#define BITP_SEC_SSTAT_ACT 9 /* Active Source */
-#define BITP_SEC_SSTAT_PND 8 /* Pending Source */
-#define BITP_SEC_SSTAT_ERRC 4 /* Error Cause */
-#define BITP_SEC_SSTAT_ERR 1 /* Error */
-#define BITM_SEC_SSTAT_CHID (_ADI_MSK(0x00FF0000,uint32_t)) /* Channel ID */
-
-#define BITM_SEC_SSTAT_ACT (_ADI_MSK(0x00000200,uint32_t)) /* Active Source */
-#define ENUM_SEC_SSTAT_NO_SRC (_ADI_MSK(0x00000000,uint32_t)) /* ACT: No Source */
-#define ENUM_SEC_SSTAT_ACTIVE_SRC (_ADI_MSK(0x00000200,uint32_t)) /* ACT: Active Source */
-
-#define BITM_SEC_SSTAT_PND (_ADI_MSK(0x00000100,uint32_t)) /* Pending Source */
-#define ENUM_SEC_SSTAT_NOTPENDING (_ADI_MSK(0x00000000,uint32_t)) /* PND: Not Pending */
-#define ENUM_SEC_SSTAT_PENDING (_ADI_MSK(0x00000100,uint32_t)) /* PND: Pending */
-
-#define BITM_SEC_SSTAT_ERRC (_ADI_MSK(0x00000030,uint32_t)) /* Error Cause */
-#define ENUM_SEC_SSTAT_SOVFERR (_ADI_MSK(0x00000000,uint32_t)) /* ERRC: Source Overflow Error */
-#define ENUM_SEC_SSTAT_ENDERR (_ADI_MSK(0x00000020,uint32_t)) /* ERRC: End Error */
-
-#define BITM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* Error */
-#define ENUM_SEC_SSTAT_NO_ERR (_ADI_MSK(0x00000000,uint32_t)) /* ERR: No Error */
-#define ENUM_SEC_SSTAT_ERR (_ADI_MSK(0x00000002,uint32_t)) /* ERR: Error Occurred */
-
-/* ==================================================
- Trigger Routing Unit Registers
- ================================================== */
-
-/* =========================
- TRU0
- ========================= */
-#define REG_TRU0_SSR0 0xFFCA5000 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR1 0xFFCA5004 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR2 0xFFCA5008 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR3 0xFFCA500C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR4 0xFFCA5010 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR5 0xFFCA5014 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR6 0xFFCA5018 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR7 0xFFCA501C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR8 0xFFCA5020 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR9 0xFFCA5024 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR10 0xFFCA5028 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR11 0xFFCA502C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR12 0xFFCA5030 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR13 0xFFCA5034 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR14 0xFFCA5038 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR15 0xFFCA503C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR16 0xFFCA5040 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR17 0xFFCA5044 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR18 0xFFCA5048 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR19 0xFFCA504C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR20 0xFFCA5050 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR21 0xFFCA5054 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR22 0xFFCA5058 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR23 0xFFCA505C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR24 0xFFCA5060 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR25 0xFFCA5064 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR26 0xFFCA5068 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR27 0xFFCA506C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR28 0xFFCA5070 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR29 0xFFCA5074 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR30 0xFFCA5078 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR31 0xFFCA507C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR32 0xFFCA5080 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR33 0xFFCA5084 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR34 0xFFCA5088 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR35 0xFFCA508C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR36 0xFFCA5090 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR37 0xFFCA5094 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR38 0xFFCA5098 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR39 0xFFCA509C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR40 0xFFCA50A0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR41 0xFFCA50A4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR42 0xFFCA50A8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR43 0xFFCA50AC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR44 0xFFCA50B0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR45 0xFFCA50B4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR46 0xFFCA50B8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR47 0xFFCA50BC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR48 0xFFCA50C0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR49 0xFFCA50C4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR50 0xFFCA50C8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR51 0xFFCA50CC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR52 0xFFCA50D0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR53 0xFFCA50D4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR54 0xFFCA50D8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR55 0xFFCA50DC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR56 0xFFCA50E0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR57 0xFFCA50E4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR58 0xFFCA50E8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR59 0xFFCA50EC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR60 0xFFCA50F0 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR61 0xFFCA50F4 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR62 0xFFCA50F8 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR63 0xFFCA50FC /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR64 0xFFCA5100 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR65 0xFFCA5104 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR66 0xFFCA5108 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR67 0xFFCA510C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR68 0xFFCA5110 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR69 0xFFCA5114 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR70 0xFFCA5118 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR71 0xFFCA511C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR72 0xFFCA5120 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR73 0xFFCA5124 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR74 0xFFCA5128 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR75 0xFFCA512C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR76 0xFFCA5130 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR77 0xFFCA5134 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR78 0xFFCA5138 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR79 0xFFCA513C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR80 0xFFCA5140 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR81 0xFFCA5144 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR82 0xFFCA5148 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR83 0xFFCA514C /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR84 0xFFCA5150 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR85 0xFFCA5154 /* TRU0 Slave Select Register */
-#define REG_TRU0_SSR86 0xFFCA5158 /* TRU0 Slave Select Register */
-#define REG_TRU0_MTR 0xFFCA57E0 /* TRU0 Master Trigger Register */
-#define REG_TRU0_ERRADDR 0xFFCA57E8 /* TRU0 Error Address Register */
-#define REG_TRU0_STAT 0xFFCA57EC /* TRU0 Status Information Register */
-#define REG_TRU0_REVID 0xFFCA57F0 /* TRU0 Revision ID Register */
-#define REG_TRU0_GCTL 0xFFCA57F4 /* TRU0 Global Control Register */
-
-/* =========================
- TRU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_SSR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_SSR_LOCK 31 /* SSRn Lock */
-#define BITP_TRU_SSR_SSR 0 /* SSRn Slave Select */
-#define BITM_TRU_SSR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* SSRn Lock */
-#define BITM_TRU_SSR_SSR (_ADI_MSK(0x000000FF,uint32_t)) /* SSRn Slave Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_MTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_MTR_MTR3 24 /* Master Trigger Register 3 */
-#define BITP_TRU_MTR_MTR2 16 /* Master Trigger Register 2 */
-#define BITP_TRU_MTR_MTR1 8 /* Master Trigger Register 1 */
-#define BITP_TRU_MTR_MTR0 0 /* Master Trigger Register 0 */
-#define BITM_TRU_MTR_MTR3 (_ADI_MSK(0xFF000000,uint32_t)) /* Master Trigger Register 3 */
-#define BITM_TRU_MTR_MTR2 (_ADI_MSK(0x00FF0000,uint32_t)) /* Master Trigger Register 2 */
-#define BITM_TRU_MTR_MTR1 (_ADI_MSK(0x0000FF00,uint32_t)) /* Master Trigger Register 1 */
-#define BITM_TRU_MTR_MTR0 (_ADI_MSK(0x000000FF,uint32_t)) /* Master Trigger Register 0 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_ERRADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_ERRADDR_ADDR 0 /* Error Address */
-#define BITM_TRU_ERRADDR_ADDR (_ADI_MSK(0x00000FFF,uint32_t)) /* Error Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_STAT_ADDRERR 1 /* Address Error Status */
-#define BITP_TRU_STAT_LWERR 0 /* Lock Write Error Status */
-#define BITM_TRU_STAT_ADDRERR (_ADI_MSK(0x00000002,uint32_t)) /* Address Error Status */
-#define BITM_TRU_STAT_LWERR (_ADI_MSK(0x00000001,uint32_t)) /* Lock Write Error Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_REVID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_REVID_MAJOR 4 /* Major Version ID */
-#define BITP_TRU_REVID_REV 0 /* Incremental Version ID */
-#define BITM_TRU_REVID_MAJOR (_ADI_MSK(0x000000F0,uint32_t)) /* Major Version ID */
-#define BITM_TRU_REVID_REV (_ADI_MSK(0x0000000F,uint32_t)) /* Incremental Version ID */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TRU_GCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TRU_GCTL_LOCK 31 /* GCTL Lock Bit */
-#define BITP_TRU_GCTL_MTRL 2 /* MTR Lock Bit */
-#define BITP_TRU_GCTL_RESET 1 /* Soft Reset */
-#define BITP_TRU_GCTL_EN 0 /* Non-MMR Enable */
-#define BITM_TRU_GCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* GCTL Lock Bit */
-#define BITM_TRU_GCTL_MTRL (_ADI_MSK(0x00000004,uint32_t)) /* MTR Lock Bit */
-#define BITM_TRU_GCTL_RESET (_ADI_MSK(0x00000002,uint32_t)) /* Soft Reset */
-#define BITM_TRU_GCTL_EN (_ADI_MSK(0x00000001,uint32_t)) /* Non-MMR Enable */
-
-/* ==================================================
- Reset Control Unit Registers
- ================================================== */
-
-/* =========================
- RCU0
- ========================= */
-#define REG_RCU0_CTL 0xFFCA6000 /* RCU0 Control Register */
-#define REG_RCU0_STAT 0xFFCA6004 /* RCU0 Status Register */
-#define REG_RCU0_CRCTL 0xFFCA6008 /* RCU0 Core Reset Control Register */
-#define REG_RCU0_CRSTAT 0xFFCA600C /* RCU0 Core Reset Status Register */
-#define REG_RCU0_SIDIS 0xFFCA6010 /* RCU0 System Interface Disable Register */
-#define REG_RCU0_SISTAT 0xFFCA6014 /* RCU0 System Interface Status Register */
-#define REG_RCU0_SVECT_LCK 0xFFCA6018 /* RCU0 SVECT Lock Register */
-#define REG_RCU0_BCODE 0xFFCA601C /* RCU0 Boot Code Register */
-#define REG_RCU0_SVECT0 0xFFCA6020 /* RCU0 Software Vector Register n */
-#define REG_RCU0_SVECT1 0xFFCA6024 /* RCU0 Software Vector Register n */
-
-/* =========================
- RCU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CTL_LOCK 31 /* Lock */
-#define BITP_RCU_CTL_RSTOUTDSRT 2 /* Reset Out Deassert */
-#define BITP_RCU_CTL_RSTOUTASRT 1 /* Reset Out Assert */
-#define BITP_RCU_CTL_SYSRST 0 /* System Reset */
-#define BITM_RCU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CTL_RSTOUTDSRT (_ADI_MSK(0x00000004,uint32_t)) /* Reset Out Deassert */
-#define BITM_RCU_CTL_RSTOUTASRT (_ADI_MSK(0x00000002,uint32_t)) /* Reset Out Assert */
-#define BITM_RCU_CTL_SYSRST (_ADI_MSK(0x00000001,uint32_t)) /* System Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_STAT_RSTOUTERR 18 /* Reset Out Error */
-#define BITP_RCU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_RCU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_RCU_STAT_BMODE 8 /* Boot Mode */
-#define BITP_RCU_STAT_RSTOUT 5 /* Reset Out Status */
-#define BITP_RCU_STAT_SWRST 3 /* Software Reset */
-#define BITP_RCU_STAT_SSRST 2 /* System Source Reset */
-#define BITP_RCU_STAT_HBRST 1 /* Hibernate Reset */
-#define BITP_RCU_STAT_HWRST 0 /* Hardware Reset */
-#define BITM_RCU_STAT_RSTOUTERR (_ADI_MSK(0x00040000,uint32_t)) /* Reset Out Error */
-#define BITM_RCU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_RCU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_RCU_STAT_BMODE (_ADI_MSK(0x00000F00,uint32_t)) /* Boot Mode */
-#define BITM_RCU_STAT_RSTOUT (_ADI_MSK(0x00000020,uint32_t)) /* Reset Out Status */
-#define BITM_RCU_STAT_SWRST (_ADI_MSK(0x00000008,uint32_t)) /* Software Reset */
-#define BITM_RCU_STAT_SSRST (_ADI_MSK(0x00000004,uint32_t)) /* System Source Reset */
-#define BITM_RCU_STAT_HBRST (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Reset */
-#define BITM_RCU_STAT_HWRST (_ADI_MSK(0x00000001,uint32_t)) /* Hardware Reset */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRCTL_LOCK 31 /* Lock */
-#define BITP_RCU_CRCTL_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRCTL_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRCTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_CRCTL_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRCTL_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_CRSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_CRSTAT_CR0 0 /* Core Reset n */
-#define BITP_RCU_CRSTAT_CR1 1 /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Reset n */
-#define BITM_RCU_CRSTAT_CR1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Reset n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SIDIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SIDIS_LOCK 31 /* Lock */
-#define BITP_RCU_SIDIS_SI0 0 /* System Interface n */
-#define BITP_RCU_SIDIS_SI1 1 /* System Interface n */
-#define BITM_RCU_SIDIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SIDIS_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SIDIS_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SISTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SISTAT_SI0 0 /* System Interface n */
-#define BITP_RCU_SISTAT_SI1 1 /* System Interface n */
-#define BITM_RCU_SISTAT_SI0 (_ADI_MSK(0x00000001,uint32_t)) /* System Interface n */
-#define BITM_RCU_SISTAT_SI1 (_ADI_MSK(0x00000002,uint32_t)) /* System Interface n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_SVECT_LCK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_SVECT_LCK_LOCK 31 /* Lock */
-#define BITP_RCU_SVECT_LCK_SVECT0 0 /* Software Vector Register n */
-#define BITP_RCU_SVECT_LCK_SVECT1 1 /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_SVECT_LCK_SVECT0 (_ADI_MSK(0x00000001,uint32_t)) /* Software Vector Register n */
-#define BITM_RCU_SVECT_LCK_SVECT1 (_ADI_MSK(0x00000002,uint32_t)) /* Software Vector Register n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- RCU_BCODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_RCU_BCODE_LOCK 31 /* Lock */
-#define BITP_RCU_BCODE_BCODE 0 /* Boot Code */
-#define BITM_RCU_BCODE_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_RCU_BCODE_BCODE (_ADI_MSK(0x7FFFFFFF,uint32_t)) /* Boot Code */
-
-/* ==================================================
- System Protection Unit Registers
- ================================================== */
-
-/* =========================
- SPU0
- ========================= */
-#define REG_SPU0_CTL 0xFFCA7000 /* SPU0 Control Register */
-#define REG_SPU0_STAT 0xFFCA7004 /* SPU0 Status Register */
-#define REG_SPU0_WP0 0xFFCA7400 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP1 0xFFCA7404 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP2 0xFFCA7408 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP3 0xFFCA740C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP4 0xFFCA7410 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP5 0xFFCA7414 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP6 0xFFCA7418 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP7 0xFFCA741C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP8 0xFFCA7420 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP9 0xFFCA7424 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP10 0xFFCA7428 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP11 0xFFCA742C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP12 0xFFCA7430 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP13 0xFFCA7434 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP14 0xFFCA7438 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP15 0xFFCA743C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP16 0xFFCA7440 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP17 0xFFCA7444 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP18 0xFFCA7448 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP19 0xFFCA744C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP20 0xFFCA7450 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP21 0xFFCA7454 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP22 0xFFCA7458 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP23 0xFFCA745C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP24 0xFFCA7460 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP25 0xFFCA7464 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP26 0xFFCA7468 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP27 0xFFCA746C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP28 0xFFCA7470 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP29 0xFFCA7474 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP30 0xFFCA7478 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP31 0xFFCA747C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP32 0xFFCA7480 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP33 0xFFCA7484 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP34 0xFFCA7488 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP35 0xFFCA748C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP36 0xFFCA7490 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP37 0xFFCA7494 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP38 0xFFCA7498 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP39 0xFFCA749C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP40 0xFFCA74A0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP41 0xFFCA74A4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP42 0xFFCA74A8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP43 0xFFCA74AC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP44 0xFFCA74B0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP45 0xFFCA74B4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP46 0xFFCA74B8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP47 0xFFCA74BC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP48 0xFFCA74C0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP49 0xFFCA74C4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP50 0xFFCA74C8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP51 0xFFCA74CC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP52 0xFFCA74D0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP53 0xFFCA74D4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP54 0xFFCA74D8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP55 0xFFCA74DC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP56 0xFFCA74E0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP57 0xFFCA74E4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP58 0xFFCA74E8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP59 0xFFCA74EC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP60 0xFFCA74F0 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP61 0xFFCA74F4 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP62 0xFFCA74F8 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP63 0xFFCA74FC /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP64 0xFFCA7500 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP65 0xFFCA7504 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP66 0xFFCA7508 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP67 0xFFCA750C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP68 0xFFCA7510 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP69 0xFFCA7514 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP70 0xFFCA7518 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP71 0xFFCA751C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP72 0xFFCA7520 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP73 0xFFCA7524 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP74 0xFFCA7528 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP75 0xFFCA752C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP76 0xFFCA7530 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP77 0xFFCA7534 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP78 0xFFCA7538 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP79 0xFFCA753C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP80 0xFFCA7540 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP81 0xFFCA7544 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP82 0xFFCA7548 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP83 0xFFCA754C /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP84 0xFFCA7550 /* SPU0 Write Protect Register n */
-#define REG_SPU0_WP85 0xFFCA7554 /* SPU0 Write Protect Register n */
-
-/* =========================
- SPU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_CTL_WPLCK 16 /* Write Protect Register Lock */
-#define BITP_SPU_CTL_GLCK 0 /* Global Lock Disable */
-#define BITM_SPU_CTL_WPLCK (_ADI_MSK(0x00010000,uint32_t)) /* Write Protect Register Lock */
-#define BITM_SPU_CTL_GLCK (_ADI_MSK(0x000000FF,uint32_t)) /* Global Lock Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_STAT_LWERR 31 /* Lock Write Error */
-#define BITP_SPU_STAT_ADDRERR 30 /* Address Error */
-#define BITP_SPU_STAT_GLCK 0 /* Global Lock Status */
-#define BITM_SPU_STAT_LWERR (_ADI_MSK(0x80000000,uint32_t)) /* Lock Write Error */
-#define BITM_SPU_STAT_ADDRERR (_ADI_MSK(0x40000000,uint32_t)) /* Address Error */
-#define BITM_SPU_STAT_GLCK (_ADI_MSK(0x00000001,uint32_t)) /* Global Lock Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- SPU_WP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SPU_WP_SM0 16 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_SM1 17 /* System Master x Write Protect Enable */
-#define BITP_SPU_WP_CM0 0 /* Core Master x Write Protect Enable */
-#define BITP_SPU_WP_CM1 1 /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_SM0 (_ADI_MSK(0x00010000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_SM1 (_ADI_MSK(0x00020000,uint32_t)) /* System Master x Write Protect Enable */
-#define BITM_SPU_WP_CM0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Master x Write Protect Enable */
-#define BITM_SPU_WP_CM1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Master x Write Protect Enable */
-
-/* ==================================================
- Clock Generation Unit Registers
- ================================================== */
-
-/* =========================
- CGU0
- ========================= */
-#define REG_CGU0_CTL 0xFFCA8000 /* CGU0 Control Register */
-#define REG_CGU0_STAT 0xFFCA8004 /* CGU0 Status Register */
-#define REG_CGU0_DIV 0xFFCA8008 /* CGU0 Divisor Register */
-#define REG_CGU0_CLKOUTSEL 0xFFCA800C /* CGU0 CLKOUT Select Register */
-
-/* =========================
- CGU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CTL_LOCK 31 /* Lock */
-#define BITP_CGU_CTL_WFI 30 /* Wait For Idle */
-#define BITP_CGU_CTL_MSEL 8 /* Multiplier Select */
-#define BITP_CGU_CTL_DF 0 /* Divide Frequency */
-#define BITM_CGU_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_CTL_WFI (_ADI_MSK(0x40000000,uint32_t)) /* Wait For Idle */
-
-#define BITM_CGU_CTL_MSEL (_ADI_MSK(0x00007F00,uint32_t)) /* Multiplier Select */
-#define ENUM_CGU_CTL_MSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* MSEL: MSEL = 1 to 127 */
-#define BITM_CGU_CTL_DF (_ADI_MSK(0x00000001,uint32_t)) /* Divide Frequency */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_STAT_PLOCKERR 21 /* PLL Lock Error */
-#define BITP_CGU_STAT_WDIVERR 20 /* Write to DIV Error */
-#define BITP_CGU_STAT_WDFMSERR 19 /* Write to DF or MSEL Error */
-#define BITP_CGU_STAT_DIVERR 18 /* DIV Error */
-#define BITP_CGU_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_CGU_STAT_ADDRERR 16 /* Address Error */
-#define BITP_CGU_STAT_OCBF 9 /* OUTCLK Buffer Status */
-#define BITP_CGU_STAT_DCBF 8 /* DCLK Buffer Status */
-#define BITP_CGU_STAT_SCBF1 7 /* SCLK1 Buffer Status */
-#define BITP_CGU_STAT_SCBF0 6 /* SCLK0 Buffer Status */
-#define BITP_CGU_STAT_CCBF1 5 /* CCLK1 Buffer Status */
-#define BITP_CGU_STAT_CCBF0 4 /* CCLK0 Buffer Status */
-#define BITP_CGU_STAT_CLKSALGN 3 /* Clock Alignment */
-#define BITP_CGU_STAT_PLOCK 2 /* PLL Lock */
-#define BITP_CGU_STAT_PLLBP 1 /* PLL Bypass */
-#define BITP_CGU_STAT_PLLEN 0 /* PLL Enable */
-#define BITM_CGU_STAT_PLOCKERR (_ADI_MSK(0x00200000,uint32_t)) /* PLL Lock Error */
-#define BITM_CGU_STAT_WDIVERR (_ADI_MSK(0x00100000,uint32_t)) /* Write to DIV Error */
-#define BITM_CGU_STAT_WDFMSERR (_ADI_MSK(0x00080000,uint32_t)) /* Write to DF or MSEL Error */
-#define BITM_CGU_STAT_DIVERR (_ADI_MSK(0x00040000,uint32_t)) /* DIV Error */
-#define BITM_CGU_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_CGU_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_CGU_STAT_OCBF (_ADI_MSK(0x00000200,uint32_t)) /* OUTCLK Buffer Status */
-#define BITM_CGU_STAT_DCBF (_ADI_MSK(0x00000100,uint32_t)) /* DCLK Buffer Status */
-#define BITM_CGU_STAT_SCBF1 (_ADI_MSK(0x00000080,uint32_t)) /* SCLK1 Buffer Status */
-#define BITM_CGU_STAT_SCBF0 (_ADI_MSK(0x00000040,uint32_t)) /* SCLK0 Buffer Status */
-#define BITM_CGU_STAT_CCBF1 (_ADI_MSK(0x00000020,uint32_t)) /* CCLK1 Buffer Status */
-#define BITM_CGU_STAT_CCBF0 (_ADI_MSK(0x00000010,uint32_t)) /* CCLK0 Buffer Status */
-#define BITM_CGU_STAT_CLKSALGN (_ADI_MSK(0x00000008,uint32_t)) /* Clock Alignment */
-#define BITM_CGU_STAT_PLOCK (_ADI_MSK(0x00000004,uint32_t)) /* PLL Lock */
-#define BITM_CGU_STAT_PLLBP (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass */
-#define BITM_CGU_STAT_PLLEN (_ADI_MSK(0x00000001,uint32_t)) /* PLL Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_DIV Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_DIV_LOCK 31 /* Lock */
-#define BITP_CGU_DIV_UPDT 30 /* Update Clock Divisors */
-#define BITP_CGU_DIV_ALGN 29 /* Align */
-#define BITP_CGU_DIV_OSEL 22 /* OUTCLK Divisor */
-#define BITP_CGU_DIV_DSEL 16 /* DCLK Divisor */
-#define BITP_CGU_DIV_S1SEL 13 /* SCLK 1 Divisor */
-#define BITP_CGU_DIV_SYSSEL 8 /* SYSCLK Divisor */
-#define BITP_CGU_DIV_S0SEL 5 /* SCLK 0 Divisor */
-#define BITP_CGU_DIV_CSEL 0 /* CCLK Divisor */
-#define BITM_CGU_DIV_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_CGU_DIV_UPDT (_ADI_MSK(0x40000000,uint32_t)) /* Update Clock Divisors */
-#define BITM_CGU_DIV_ALGN (_ADI_MSK(0x20000000,uint32_t)) /* Align */
-
-#define BITM_CGU_DIV_OSEL (_ADI_MSK(0x1FC00000,uint32_t)) /* OUTCLK Divisor */
-#define ENUM_CGU_DIV_OSEL1TO127 (_ADI_MSK(0x00000000,uint32_t)) /* OSEL: OSEL = 1 to 127 */
-
-#define BITM_CGU_DIV_DSEL (_ADI_MSK(0x001F0000,uint32_t)) /* DCLK Divisor */
-#define ENUM_CGU_DIV_DSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* DSEL: DSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S1SEL (_ADI_MSK(0x0000E000,uint32_t)) /* SCLK 1 Divisor */
-#define ENUM_CGU_DIV_S1SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S1SEL: S1SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_SYSSEL (_ADI_MSK(0x00001F00,uint32_t)) /* SYSCLK Divisor */
-#define ENUM_CGU_DIV_SYSSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* SYSSEL: SYSSEL = 1 to 31 */
-
-#define BITM_CGU_DIV_S0SEL (_ADI_MSK(0x000000E0,uint32_t)) /* SCLK 0 Divisor */
-#define ENUM_CGU_DIV_S0SEL1TO7 (_ADI_MSK(0x00000000,uint32_t)) /* S0SEL: S0SEL = 1 to 7 */
-
-#define BITM_CGU_DIV_CSEL (_ADI_MSK(0x0000001F,uint32_t)) /* CCLK Divisor */
-#define ENUM_CGU_DIV_CSEL1TO31 (_ADI_MSK(0x00000000,uint32_t)) /* CSEL: CSEL= 1 to 31 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CGU_CLKOUTSEL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CGU_CLKOUTSEL_LOCK 31 /* Lock */
-#define BITP_CGU_CLKOUTSEL_CLKOUTSEL 0 /* CLKOUT Select */
-
-#define BITM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define ENUM_CGU_CLKOUTSEL_UNLOCK (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Unlock */
-#define ENUM_CGU_CLKOUTSEL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* LOCK: Lock */
-
-#define BITM_CGU_CLKOUTSEL_CLKOUTSEL (_ADI_MSK(0x0000000F,uint32_t)) /* CLKOUT Select */
-#define ENUM_CGU_CLKOUTSEL_CLKIN (_ADI_MSK(0x00000000,uint32_t)) /* CLKOUTSEL: CLKIN */
-#define ENUM_CGU_CLKOUTSEL_CCLKDIV4 (_ADI_MSK(0x00000001,uint32_t)) /* CLKOUTSEL: CCLKn/4 */
-#define ENUM_CGU_CLKOUTSEL_GNDDIS (_ADI_MSK(0x0000000B,uint32_t)) /* CLKOUTSEL: GND (Disable OUTCLK) */
-#define ENUM_CGU_CLKOUTSEL_SYSCLKDIV2 (_ADI_MSK(0x00000002,uint32_t)) /* CLKOUTSEL: SYSCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_SCLK0 (_ADI_MSK(0x00000003,uint32_t)) /* CLKOUTSEL: SCLK0 */
-#define ENUM_CGU_CLKOUTSEL_SCLK1 (_ADI_MSK(0x00000004,uint32_t)) /* CLKOUTSEL: SCLK1 */
-#define ENUM_CGU_CLKOUTSEL_DCLKDIV2 (_ADI_MSK(0x00000005,uint32_t)) /* CLKOUTSEL: DCLK/2 */
-#define ENUM_CGU_CLKOUTSEL_OUTCLK (_ADI_MSK(0x00000007,uint32_t)) /* CLKOUTSEL: OUTCLK */
-
-/* ==================================================
- Dynamic Power Management Registers
- ================================================== */
-
-/* =========================
- DPM0
- ========================= */
-#define REG_DPM0_CTL 0xFFCA9000 /* DPM0 Control Register */
-#define REG_DPM0_STAT 0xFFCA9004 /* DPM0 Status Register */
-#define REG_DPM0_CCBF_DIS 0xFFCA9008 /* DPM0 Core Clock Buffer Disable Register */
-#define REG_DPM0_CCBF_EN 0xFFCA900C /* DPM0 Core Clock Buffer Enable Register */
-#define REG_DPM0_CCBF_STAT 0xFFCA9010 /* DPM0 Core Clock Buffer Status Register */
-#define REG_DPM0_CCBF_STAT_STKY 0xFFCA9014 /* DPM0 Core Clock Buffer Status Sticky Register */
-#define REG_DPM0_SCBF_DIS 0xFFCA9018 /* DPM0 System Clock Buffer Disable Register */
-#define REG_DPM0_WAKE_EN 0xFFCA901C /* DPM0 Wakeup Enable Register */
-#define REG_DPM0_WAKE_POL 0xFFCA9020 /* DPM0 Wakeup Polarity Register */
-#define REG_DPM0_WAKE_STAT 0xFFCA9024 /* DPM0 Wakeup Status Register */
-#define REG_DPM0_HIB_DIS 0xFFCA9028 /* DPM0 Hibernate Disable Register */
-#define REG_DPM0_PGCNTR 0xFFCA902C /* DPM0 Power Good Counter Register */
-#define REG_DPM0_RESTORE0 0xFFCA9030 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE1 0xFFCA9034 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE2 0xFFCA9038 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE3 0xFFCA903C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE4 0xFFCA9040 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE5 0xFFCA9044 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE6 0xFFCA9048 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE7 0xFFCA904C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE8 0xFFCA9050 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE9 0xFFCA9054 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE10 0xFFCA9058 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE11 0xFFCA905C /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE12 0xFFCA9060 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE13 0xFFCA9064 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE14 0xFFCA9068 /* DPM0 Restore n Register */
-#define REG_DPM0_RESTORE15 0xFFCA906C /* DPM0 Restore n Register */
-
-/* =========================
- DPM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CTL_LOCK 31 /* Lock */
-#define BITP_DPM_CTL_HIBERNATE 4 /* Hibernate */
-#define BITP_DPM_CTL_DEEPSLEEP 3 /* Deep Sleep */
-#define BITP_DPM_CTL_PLLDIS 2 /* PLL Disable */
-#define BITP_DPM_CTL_PLLBPCL 1 /* PLL Bypass Clear */
-#define BITP_DPM_CTL_PLLBPST 0 /* PLL Bypass Set */
-#define BITM_DPM_CTL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CTL_HIBERNATE (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate */
-#define BITM_DPM_CTL_DEEPSLEEP (_ADI_MSK(0x00000008,uint32_t)) /* Deep Sleep */
-#define BITM_DPM_CTL_PLLDIS (_ADI_MSK(0x00000004,uint32_t)) /* PLL Disable */
-#define BITM_DPM_CTL_PLLBPCL (_ADI_MSK(0x00000002,uint32_t)) /* PLL Bypass Clear */
-#define BITM_DPM_CTL_PLLBPST (_ADI_MSK(0x00000001,uint32_t)) /* PLL Bypass Set */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_STAT_PLLCFGERR 19 /* PLL Configuration Error */
-#define BITP_DPM_STAT_HVBSYERR 18 /* HV Busy Error */
-#define BITP_DPM_STAT_LWERR 17 /* Lock Write Error */
-#define BITP_DPM_STAT_ADDRERR 16 /* Address Error */
-#define BITP_DPM_STAT_HVBSY 9 /* HV Busy */
-#define BITP_DPM_STAT_CCLKDIS 8 /* Core Clock(s) Disabled */
-#define BITP_DPM_STAT_PRVMODE 4 /* Previous Mode */
-#define BITP_DPM_STAT_CURMODE 0 /* Current Mode */
-#define BITM_DPM_STAT_PLLCFGERR (_ADI_MSK(0x00080000,uint32_t)) /* PLL Configuration Error */
-#define BITM_DPM_STAT_HVBSYERR (_ADI_MSK(0x00040000,uint32_t)) /* HV Busy Error */
-#define BITM_DPM_STAT_LWERR (_ADI_MSK(0x00020000,uint32_t)) /* Lock Write Error */
-#define BITM_DPM_STAT_ADDRERR (_ADI_MSK(0x00010000,uint32_t)) /* Address Error */
-#define BITM_DPM_STAT_HVBSY (_ADI_MSK(0x00000200,uint32_t)) /* HV Busy */
-#define BITM_DPM_STAT_CCLKDIS (_ADI_MSK(0x00000100,uint32_t)) /* Core Clock(s) Disabled */
-#define BITM_DPM_STAT_PRVMODE (_ADI_MSK(0x000000F0,uint32_t)) /* Previous Mode */
-#define BITM_DPM_STAT_CURMODE (_ADI_MSK(0x0000000F,uint32_t)) /* Current Mode */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_DIS_CCBF0 0 /* Core Clock Buffer n Disable */
-#define BITP_DPM_CCBF_DIS_CCBF1 1 /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_DIS_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Disable */
-#define BITM_DPM_CCBF_DIS_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_EN_LOCK 31 /* Lock */
-#define BITP_DPM_CCBF_EN_CCBF0 0 /* Core Clock Buffer n Enable */
-#define BITP_DPM_CCBF_EN_CCBF1 1 /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_CCBF_EN_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Enable */
-#define BITM_DPM_CCBF_EN_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_CCBF0 0 /* Core Clock Buffer n Status */
-#define BITP_DPM_CCBF_STAT_CCBF1 1 /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status */
-#define BITM_DPM_CCBF_STAT_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_CCBF_STAT_STKY Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF0 0 /* Core Clock Buffer n Status - Sticky */
-#define BITP_DPM_CCBF_STAT_STKY_CCBF1 1 /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-#define BITM_DPM_CCBF_STAT_STKY_CCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* Core Clock Buffer n Status - Sticky */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_SCBF_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_SCBF_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_SCBF_DIS_SCBF0 0 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF1 1 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF2 2 /* System Clock Buffer n Disable */
-#define BITP_DPM_SCBF_DIS_SCBF3 3 /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_SCBF_DIS_SCBF0 (_ADI_MSK(0x00000001,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF1 (_ADI_MSK(0x00000002,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF2 (_ADI_MSK(0x00000004,uint32_t)) /* System Clock Buffer n Disable */
-#define BITM_DPM_SCBF_DIS_SCBF3 (_ADI_MSK(0x00000008,uint32_t)) /* System Clock Buffer n Disable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_EN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_EN_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_EN_WS0 0 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS1 1 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS2 2 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS3 3 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS4 4 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS5 5 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS6 6 /* Wakeup Source n Enable */
-#define BITP_DPM_WAKE_EN_WS7 7 /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_EN_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Enable */
-#define BITM_DPM_WAKE_EN_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_POL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_POL_LOCK 31 /* Lock */
-#define BITP_DPM_WAKE_POL_WS0 0 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS1 1 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS2 2 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS3 3 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS4 4 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS5 5 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS6 6 /* Wakeup Source n Polarity */
-#define BITP_DPM_WAKE_POL_WS7 7 /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_WAKE_POL_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Polarity */
-#define BITM_DPM_WAKE_POL_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Polarity */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_WAKE_STAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_WAKE_STAT_WS0 0 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS1 1 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS2 2 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS3 3 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS4 4 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS5 5 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS6 6 /* Wakeup Source n Status */
-#define BITP_DPM_WAKE_STAT_WS7 7 /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS0 (_ADI_MSK(0x00000001,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS1 (_ADI_MSK(0x00000002,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS2 (_ADI_MSK(0x00000004,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS3 (_ADI_MSK(0x00000008,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS4 (_ADI_MSK(0x00000010,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS5 (_ADI_MSK(0x00000020,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS6 (_ADI_MSK(0x00000040,uint32_t)) /* Wakeup Source n Status */
-#define BITM_DPM_WAKE_STAT_WS7 (_ADI_MSK(0x00000080,uint32_t)) /* Wakeup Source n Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_HIB_DIS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_HIB_DIS_LOCK 31 /* Lock */
-#define BITP_DPM_HIB_DIS_HD0 0 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD1 1 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD2 2 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD3 3 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD4 4 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD5 5 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD6 6 /* Hibernate Disable n */
-#define BITP_DPM_HIB_DIS_HD7 7 /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_HIB_DIS_HD0 (_ADI_MSK(0x00000001,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD1 (_ADI_MSK(0x00000002,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD2 (_ADI_MSK(0x00000004,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD3 (_ADI_MSK(0x00000008,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD4 (_ADI_MSK(0x00000010,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD5 (_ADI_MSK(0x00000020,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD6 (_ADI_MSK(0x00000040,uint32_t)) /* Hibernate Disable n */
-#define BITM_DPM_HIB_DIS_HD7 (_ADI_MSK(0x00000080,uint32_t)) /* Hibernate Disable n */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DPM_PGCNTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DPM_PGCNTR_LOCK 31 /* Lock */
-#define BITP_DPM_PGCNTR_CNT 0 /* Power Good Count */
-#define BITM_DPM_PGCNTR_LOCK (_ADI_MSK(0x80000000,uint32_t)) /* Lock */
-#define BITM_DPM_PGCNTR_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Power Good Count */
-
-/* ==================================================
- eFUSE Controller Registers
- ================================================== */
-
-/* =========================
- EFS0
- ========================= */
-#define REG_EFS0_CTL 0xFFCC0000 /* EFS0 Control Register */
-#define REG_EFS0_DAT0 0xFFCC0008 /* EFS0 Data Register 0 */
-#define REG_EFS0_DAT1 0xFFCC000C /* EFS0 Data Register 1 */
-#define REG_EFS0_DAT2 0xFFCC0010 /* EFS0 Data Register 2 */
-#define REG_EFS0_DAT3 0xFFCC0014 /* EFS0 Data Register 3 */
-#define REG_EFS0_DAT4 0xFFCC0018 /* EFS0 Data Register 4 */
-#define REG_EFS0_DAT5 0xFFCC001C /* EFS0 Data Register 5 */
-#define REG_EFS0_DAT6 0xFFCC0020 /* EFS0 Data Register 6 */
-#define REG_EFS0_DAT7 0xFFCC0024 /* EFS0 Data Register 7 */
-
-/* =========================
- EFS
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- EFS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_EFS_CTL_READ 0 /* Read */
-#define BITM_EFS_CTL_READ (_ADI_MSK(0x00000001,uint32_t)) /* Read */
-
-/* ==================================================
- Universal Serial Bus Controller Registers
- ================================================== */
-
-/* =========================
- USB0
- ========================= */
-#define REG_USB0_FADDR 0xFFCC1000 /* USB0 Function Address Register */
-#define REG_USB0_POWER 0xFFCC1001 /* USB0 Power and Device Control Register */
-#define REG_USB0_INTRTX 0xFFCC1002 /* USB0 Transmit Interrupt Register */
-#define REG_USB0_INTRRX 0xFFCC1004 /* USB0 Receive Interrupt Register */
-#define REG_USB0_INTRTXE 0xFFCC1006 /* USB0 Transmit Interrupt Enable Register */
-#define REG_USB0_INTRRXE 0xFFCC1008 /* USB0 Receive Interrupt Enable Register */
-#define REG_USB0_IRQ 0xFFCC100A /* USB0 Common Interrupts Register */
-#define REG_USB0_IEN 0xFFCC100B /* USB0 Common Interrupts Enable Register */
-#define REG_USB0_FRAME 0xFFCC100C /* USB0 Frame Number Register */
-#define REG_USB0_INDEX 0xFFCC100E /* USB0 Index Register */
-#define REG_USB0_TESTMODE 0xFFCC100F /* USB0 Testmode Register */
-#define REG_USB0_EPI_TXMAXP0 0xFFCC1010 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EPI_TXCSR_P0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EPI_TXCSR_H0 0xFFCC1012 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0I_CSR0_P 0xFFCC1012 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CSR0_H 0xFFCC1012 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXMAXP0 0xFFCC1014 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EPI_RXCSR_H0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EPI_RXCSR_P0 0xFFCC1016 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0I_CNT0 0xFFCC1018 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EPI_RXCNT0 0xFFCC1018 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EPI_TXTYPE0 0xFFCC101A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0I_TYPE0 0xFFCC101A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EPI_TXINTERVAL0 0xFFCC101B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0I_NAKLIMIT0 0xFFCC101B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EPI_RXTYPE0 0xFFCC101C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EPI_RXINTERVAL0 0xFFCC101D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0I_CFGDATA0 0xFFCC101F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_FIFOB0 0xFFCC1020 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB1 0xFFCC1024 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB2 0xFFCC1028 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB3 0xFFCC102C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB4 0xFFCC1030 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB5 0xFFCC1034 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB6 0xFFCC1038 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB7 0xFFCC103C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB8 0xFFCC1040 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB9 0xFFCC1044 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB10 0xFFCC1048 /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOB11 0xFFCC104C /* USB0 FIFO Byte (8-Bit) Register */
-#define REG_USB0_FIFOH0 0xFFCC1020 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH1 0xFFCC1024 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH2 0xFFCC1028 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH3 0xFFCC102C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH4 0xFFCC1030 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH5 0xFFCC1034 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH6 0xFFCC1038 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH7 0xFFCC103C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH8 0xFFCC1040 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH9 0xFFCC1044 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH10 0xFFCC1048 /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFOH11 0xFFCC104C /* USB0 FIFO Half-Word (16-Bit) Register */
-#define REG_USB0_FIFO0 0xFFCC1020 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO1 0xFFCC1024 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO2 0xFFCC1028 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO3 0xFFCC102C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO4 0xFFCC1030 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO5 0xFFCC1034 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO6 0xFFCC1038 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO7 0xFFCC103C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO8 0xFFCC1040 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO9 0xFFCC1044 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO10 0xFFCC1048 /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_FIFO11 0xFFCC104C /* USB0 FIFO Word (32-Bit) Register */
-#define REG_USB0_DEV_CTL 0xFFCC1060 /* USB0 Device Control Register */
-#define REG_USB0_TXFIFOSZ 0xFFCC1062 /* USB0 Transmit FIFO Size Register */
-#define REG_USB0_RXFIFOSZ 0xFFCC1063 /* USB0 Receive FIFO Size Register */
-#define REG_USB0_TXFIFOADDR 0xFFCC1064 /* USB0 Transmit FIFO Address Register */
-#define REG_USB0_RXFIFOADDR 0xFFCC1066 /* USB0 Receive FIFO Address Register */
-#define REG_USB0_EPINFO 0xFFCC1078 /* USB0 Endpoint Information Register */
-#define REG_USB0_RAMINFO 0xFFCC1079 /* USB0 RAM Information Register */
-#define REG_USB0_LINKINFO 0xFFCC107A /* USB0 Link Information Register */
-#define REG_USB0_VPLEN 0xFFCC107B /* USB0 VBUS Pulse Length Register */
-#define REG_USB0_HS_EOF1 0xFFCC107C /* USB0 High-Speed EOF 1 Register */
-#define REG_USB0_FS_EOF1 0xFFCC107D /* USB0 Full-Speed EOF 1 Register */
-#define REG_USB0_LS_EOF1 0xFFCC107E /* USB0 Low-Speed EOF 1 Register */
-#define REG_USB0_SOFT_RST 0xFFCC107F /* USB0 Software Reset Register */
-#define REG_USB0_MP0_TXFUNCADDR 0xFFCC1080 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP1_TXFUNCADDR 0xFFCC1088 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP2_TXFUNCADDR 0xFFCC1090 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP3_TXFUNCADDR 0xFFCC1098 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP4_TXFUNCADDR 0xFFCC10A0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP5_TXFUNCADDR 0xFFCC10A8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP6_TXFUNCADDR 0xFFCC10B0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP7_TXFUNCADDR 0xFFCC10B8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP8_TXFUNCADDR 0xFFCC10C0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP9_TXFUNCADDR 0xFFCC10C8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP10_TXFUNCADDR 0xFFCC10D0 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP11_TXFUNCADDR 0xFFCC10D8 /* USB0 MPn Transmit Function Address Register */
-#define REG_USB0_MP0_TXHUBADDR 0xFFCC1082 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP1_TXHUBADDR 0xFFCC108A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP2_TXHUBADDR 0xFFCC1092 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP3_TXHUBADDR 0xFFCC109A /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP4_TXHUBADDR 0xFFCC10A2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP5_TXHUBADDR 0xFFCC10AA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP6_TXHUBADDR 0xFFCC10B2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP7_TXHUBADDR 0xFFCC10BA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP8_TXHUBADDR 0xFFCC10C2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP9_TXHUBADDR 0xFFCC10CA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP10_TXHUBADDR 0xFFCC10D2 /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP11_TXHUBADDR 0xFFCC10DA /* USB0 MPn Transmit Hub Address Register */
-#define REG_USB0_MP0_TXHUBPORT 0xFFCC1083 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP1_TXHUBPORT 0xFFCC108B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP2_TXHUBPORT 0xFFCC1093 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP3_TXHUBPORT 0xFFCC109B /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP4_TXHUBPORT 0xFFCC10A3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP5_TXHUBPORT 0xFFCC10AB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP6_TXHUBPORT 0xFFCC10B3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP7_TXHUBPORT 0xFFCC10BB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP8_TXHUBPORT 0xFFCC10C3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP9_TXHUBPORT 0xFFCC10CB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP10_TXHUBPORT 0xFFCC10D3 /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP11_TXHUBPORT 0xFFCC10DB /* USB0 MPn Transmit Hub Port Register */
-#define REG_USB0_MP0_RXFUNCADDR 0xFFCC1084 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP1_RXFUNCADDR 0xFFCC108C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP2_RXFUNCADDR 0xFFCC1094 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP3_RXFUNCADDR 0xFFCC109C /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP4_RXFUNCADDR 0xFFCC10A4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP5_RXFUNCADDR 0xFFCC10AC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP6_RXFUNCADDR 0xFFCC10B4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP7_RXFUNCADDR 0xFFCC10BC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP8_RXFUNCADDR 0xFFCC10C4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP9_RXFUNCADDR 0xFFCC10CC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP10_RXFUNCADDR 0xFFCC10D4 /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP11_RXFUNCADDR 0xFFCC10DC /* USB0 MPn Receive Function Address Register */
-#define REG_USB0_MP0_RXHUBADDR 0xFFCC1086 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP1_RXHUBADDR 0xFFCC108E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP2_RXHUBADDR 0xFFCC1096 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP3_RXHUBADDR 0xFFCC109E /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP4_RXHUBADDR 0xFFCC10A6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP5_RXHUBADDR 0xFFCC10AE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP6_RXHUBADDR 0xFFCC10B6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP7_RXHUBADDR 0xFFCC10BE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP8_RXHUBADDR 0xFFCC10C6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP9_RXHUBADDR 0xFFCC10CE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP10_RXHUBADDR 0xFFCC10D6 /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP11_RXHUBADDR 0xFFCC10DE /* USB0 MPn Receive Hub Address Register */
-#define REG_USB0_MP0_RXHUBPORT 0xFFCC1087 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP1_RXHUBPORT 0xFFCC108F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP2_RXHUBPORT 0xFFCC1097 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP3_RXHUBPORT 0xFFCC109F /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP4_RXHUBPORT 0xFFCC10A7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP5_RXHUBPORT 0xFFCC10AF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP6_RXHUBPORT 0xFFCC10B7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP7_RXHUBPORT 0xFFCC10BF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP8_RXHUBPORT 0xFFCC10C7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP9_RXHUBPORT 0xFFCC10CF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP10_RXHUBPORT 0xFFCC10D7 /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_MP11_RXHUBPORT 0xFFCC10DF /* USB0 MPn Receive Hub Port Register */
-#define REG_USB0_EP0_TXMAXP 0xFFCC1100 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP1_TXMAXP 0xFFCC1110 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP2_TXMAXP 0xFFCC1120 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP3_TXMAXP 0xFFCC1130 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP4_TXMAXP 0xFFCC1140 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP5_TXMAXP 0xFFCC1150 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP6_TXMAXP 0xFFCC1160 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP7_TXMAXP 0xFFCC1170 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP8_TXMAXP 0xFFCC1180 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP9_TXMAXP 0xFFCC1190 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP10_TXMAXP 0xFFCC11A0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP11_TXMAXP 0xFFCC11B0 /* USB0 EPn Transmit Maximum Packet Length Register */
-#define REG_USB0_EP0_CSR0_H 0xFFCC1102 /* USB0 EP0 Configuration and Status (Host) Register */
-#define REG_USB0_EP0_TXCSR_H 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP1_TXCSR_H 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP2_TXCSR_H 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP3_TXCSR_H 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP4_TXCSR_H 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP5_TXCSR_H 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP6_TXCSR_H 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP7_TXCSR_H 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP8_TXCSR_H 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP9_TXCSR_H 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP10_TXCSR_H 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP11_TXCSR_H 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Host) Register */
-#define REG_USB0_EP0_CSR0_P 0xFFCC1102 /* USB0 EP0 Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_TXCSR_P 0xFFCC1102 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_TXCSR_P 0xFFCC1112 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_TXCSR_P 0xFFCC1122 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_TXCSR_P 0xFFCC1132 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_TXCSR_P 0xFFCC1142 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_TXCSR_P 0xFFCC1152 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_TXCSR_P 0xFFCC1162 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_TXCSR_P 0xFFCC1172 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_TXCSR_P 0xFFCC1182 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_TXCSR_P 0xFFCC1192 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_TXCSR_P 0xFFCC11A2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_TXCSR_P 0xFFCC11B2 /* USB0 EPn Transmit Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_RXMAXP 0xFFCC1104 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP1_RXMAXP 0xFFCC1114 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP2_RXMAXP 0xFFCC1124 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP3_RXMAXP 0xFFCC1134 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP4_RXMAXP 0xFFCC1144 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP5_RXMAXP 0xFFCC1154 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP6_RXMAXP 0xFFCC1164 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP7_RXMAXP 0xFFCC1174 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP8_RXMAXP 0xFFCC1184 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP9_RXMAXP 0xFFCC1194 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP10_RXMAXP 0xFFCC11A4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP11_RXMAXP 0xFFCC11B4 /* USB0 EPn Receive Maximum Packet Length Register */
-#define REG_USB0_EP0_RXCSR_H 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP1_RXCSR_H 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP2_RXCSR_H 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP3_RXCSR_H 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP4_RXCSR_H 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP5_RXCSR_H 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP6_RXCSR_H 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP7_RXCSR_H 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP8_RXCSR_H 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP9_RXCSR_H 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP10_RXCSR_H 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP11_RXCSR_H 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Host) Register */
-#define REG_USB0_EP0_RXCSR_P 0xFFCC1106 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP1_RXCSR_P 0xFFCC1116 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP2_RXCSR_P 0xFFCC1126 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP3_RXCSR_P 0xFFCC1136 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP4_RXCSR_P 0xFFCC1146 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP5_RXCSR_P 0xFFCC1156 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP6_RXCSR_P 0xFFCC1166 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP7_RXCSR_P 0xFFCC1176 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP8_RXCSR_P 0xFFCC1186 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP9_RXCSR_P 0xFFCC1196 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP10_RXCSR_P 0xFFCC11A6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP11_RXCSR_P 0xFFCC11B6 /* USB0 EPn Receive Configuration and Status (Peripheral) Register */
-#define REG_USB0_EP0_CNT0 0xFFCC1108 /* USB0 EP0 Number of Received Bytes Register */
-#define REG_USB0_EP0_RXCNT 0xFFCC1108 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP1_RXCNT 0xFFCC1118 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP2_RXCNT 0xFFCC1128 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP3_RXCNT 0xFFCC1138 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP4_RXCNT 0xFFCC1148 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP5_RXCNT 0xFFCC1158 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP6_RXCNT 0xFFCC1168 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP7_RXCNT 0xFFCC1178 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP8_RXCNT 0xFFCC1188 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP9_RXCNT 0xFFCC1198 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP10_RXCNT 0xFFCC11A8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP11_RXCNT 0xFFCC11B8 /* USB0 EPn Number of Bytes Received Register */
-#define REG_USB0_EP0_TYPE0 0xFFCC110A /* USB0 EP0 Connection Type Register */
-#define REG_USB0_EP0_TXTYPE 0xFFCC110A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP1_TXTYPE 0xFFCC111A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP2_TXTYPE 0xFFCC112A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP3_TXTYPE 0xFFCC113A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP4_TXTYPE 0xFFCC114A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP5_TXTYPE 0xFFCC115A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP6_TXTYPE 0xFFCC116A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP7_TXTYPE 0xFFCC117A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP8_TXTYPE 0xFFCC118A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP9_TXTYPE 0xFFCC119A /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP10_TXTYPE 0xFFCC11AA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP11_TXTYPE 0xFFCC11BA /* USB0 EPn Transmit Type Register */
-#define REG_USB0_EP0_NAKLIMIT0 0xFFCC110B /* USB0 EP0 NAK Limit Register */
-#define REG_USB0_EP0_TXINTERVAL 0xFFCC110B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP1_TXINTERVAL 0xFFCC111B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP2_TXINTERVAL 0xFFCC112B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP3_TXINTERVAL 0xFFCC113B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP4_TXINTERVAL 0xFFCC114B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP5_TXINTERVAL 0xFFCC115B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP6_TXINTERVAL 0xFFCC116B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP7_TXINTERVAL 0xFFCC117B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP8_TXINTERVAL 0xFFCC118B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP9_TXINTERVAL 0xFFCC119B /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP10_TXINTERVAL 0xFFCC11AB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP11_TXINTERVAL 0xFFCC11BB /* USB0 EPn Transmit Polling Interval Register */
-#define REG_USB0_EP0_RXTYPE 0xFFCC110C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP1_RXTYPE 0xFFCC111C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP2_RXTYPE 0xFFCC112C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP3_RXTYPE 0xFFCC113C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP4_RXTYPE 0xFFCC114C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP5_RXTYPE 0xFFCC115C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP6_RXTYPE 0xFFCC116C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP7_RXTYPE 0xFFCC117C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP8_RXTYPE 0xFFCC118C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP9_RXTYPE 0xFFCC119C /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP10_RXTYPE 0xFFCC11AC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP11_RXTYPE 0xFFCC11BC /* USB0 EPn Receive Type Register */
-#define REG_USB0_EP0_RXINTERVAL 0xFFCC110D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP1_RXINTERVAL 0xFFCC111D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP2_RXINTERVAL 0xFFCC112D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP3_RXINTERVAL 0xFFCC113D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP4_RXINTERVAL 0xFFCC114D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP5_RXINTERVAL 0xFFCC115D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP6_RXINTERVAL 0xFFCC116D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP7_RXINTERVAL 0xFFCC117D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP8_RXINTERVAL 0xFFCC118D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP9_RXINTERVAL 0xFFCC119D /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP10_RXINTERVAL 0xFFCC11AD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP11_RXINTERVAL 0xFFCC11BD /* USB0 EPn Receive Polling Interval Register */
-#define REG_USB0_EP0_CFGDATA0 0xFFCC110F /* USB0 EP0 Configuration Information Register */
-#define REG_USB0_DMA_IRQ 0xFFCC1200 /* USB0 DMA Interrupt Register */
-#define REG_USB0_DMA0_CTL 0xFFCC1204 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA1_CTL 0xFFCC1214 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA2_CTL 0xFFCC1224 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA3_CTL 0xFFCC1234 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA4_CTL 0xFFCC1244 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA5_CTL 0xFFCC1254 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA6_CTL 0xFFCC1264 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA7_CTL 0xFFCC1274 /* USB0 DMA Channel n Control Register */
-#define REG_USB0_DMA0_ADDR 0xFFCC1208 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA1_ADDR 0xFFCC1218 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA2_ADDR 0xFFCC1228 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA3_ADDR 0xFFCC1238 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA4_ADDR 0xFFCC1248 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA5_ADDR 0xFFCC1258 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA6_ADDR 0xFFCC1268 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA7_ADDR 0xFFCC1278 /* USB0 DMA Channel n Address Register */
-#define REG_USB0_DMA0_CNT 0xFFCC120C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA1_CNT 0xFFCC121C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA2_CNT 0xFFCC122C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA3_CNT 0xFFCC123C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA4_CNT 0xFFCC124C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA5_CNT 0xFFCC125C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA6_CNT 0xFFCC126C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_DMA7_CNT 0xFFCC127C /* USB0 DMA Channel n Count Register */
-#define REG_USB0_RQPKTCNT0 0xFFCC1300 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT1 0xFFCC1304 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT2 0xFFCC1308 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT3 0xFFCC130C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT4 0xFFCC1310 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT5 0xFFCC1314 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT6 0xFFCC1318 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT7 0xFFCC131C /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT8 0xFFCC1320 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT9 0xFFCC1324 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_RQPKTCNT10 0xFFCC1328 /* USB0 EPn Request Packet Count Register */
-#define REG_USB0_CT_UCH 0xFFCC1344 /* USB0 Chirp Timeout Register */
-#define REG_USB0_CT_HHSRTN 0xFFCC1346 /* USB0 Host High Speed Return to Normal Register */
-#define REG_USB0_CT_HSBT 0xFFCC1348 /* USB0 High Speed Timeout Register */
-#define REG_USB0_LPM_ATTR 0xFFCC1360 /* USB0 LPM Attribute Register */
-#define REG_USB0_LPM_CTL 0xFFCC1362 /* USB0 LPM Control Register */
-#define REG_USB0_LPM_IEN 0xFFCC1363 /* USB0 LPM Interrupt Enable Register */
-#define REG_USB0_LPM_IRQ 0xFFCC1364 /* USB0 LPM Interrupt Status Register */
-#define REG_USB0_LPM_FADDR 0xFFCC1365 /* USB0 LPM Function Address Register */
-#define REG_USB0_VBUS_CTL 0xFFCC1380 /* USB0 VBUS Control Register */
-#define REG_USB0_BAT_CHG 0xFFCC1381 /* USB0 Battery Charging Control Register */
-#define REG_USB0_PHY_CTL 0xFFCC1394 /* USB0 PHY Control Register */
-#define REG_USB0_PLL_OSC 0xFFCC1398 /* USB0 PLL and Oscillator Control Register */
-
-/* =========================
- USB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_POWER Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_POWER_ISOUPDT 7 /* ISO Update Enable */
-#define BITP_USB_POWER_SOFTCONN 6 /* Soft Connect/Disconnect Enable */
-#define BITP_USB_POWER_HSEN 5 /* High Speed Mode Enable */
-#define BITP_USB_POWER_HSMODE 4 /* High Speed Mode */
-#define BITP_USB_POWER_RESET 3 /* Reset USB */
-#define BITP_USB_POWER_RESUME 2 /* Resume Mode */
-#define BITP_USB_POWER_SUSPEND 1 /* Suspend Mode */
-#define BITP_USB_POWER_SUSEN 0 /* SUSPENDM Output Enable */
-
-#define BITM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISO Update Enable */
-#define ENUM_USB_POWER_NO_ISOUPDT (_ADI_MSK(0x00000000,uint8_t)) /* ISOUPDT: Disable ISO Update */
-#define ENUM_USB_POWER_ISOUPDT (_ADI_MSK(0x00000080,uint8_t)) /* ISOUPDT: Enable ISO Update */
-
-#define BITM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* Soft Connect/Disconnect Enable */
-#define ENUM_USB_POWER_NO_SOFTCONN (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCONN: Disable Soft Connect/Disconnect */
-#define ENUM_USB_POWER_SOFTCONN (_ADI_MSK(0x00000040,uint8_t)) /* SOFTCONN: Enable Soft Connect/Disconnect */
-
-#define BITM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* High Speed Mode Enable */
-#define ENUM_USB_POWER_HSDIS (_ADI_MSK(0x00000000,uint8_t)) /* HSEN: Disable Negotiation for HS Mode */
-#define ENUM_USB_POWER_HSEN (_ADI_MSK(0x00000020,uint8_t)) /* HSEN: Enable Negotiation for HS Mode */
-
-#define BITM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* High Speed Mode */
-#define ENUM_USB_POWER_NO_HSMODE (_ADI_MSK(0x00000000,uint8_t)) /* HSMODE: Full Speed Mode (HS fail during reset) */
-#define ENUM_USB_POWER_HSMODE (_ADI_MSK(0x00000010,uint8_t)) /* HSMODE: High Speed Mode (HS success during reset) */
-
-#define BITM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* Reset USB */
-#define ENUM_USB_POWER_NO_RESET (_ADI_MSK(0x00000000,uint8_t)) /* RESET: No Reset */
-#define ENUM_USB_POWER_RESET (_ADI_MSK(0x00000008,uint8_t)) /* RESET: Reset USB */
-
-#define BITM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* Resume Mode */
-#define ENUM_USB_POWER_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Resume Signaling */
-#define ENUM_USB_POWER_RESUME (_ADI_MSK(0x00000004,uint8_t)) /* RESUME: Enable Resume Signaling */
-
-#define BITM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* Suspend Mode */
-#define ENUM_USB_POWER_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Suspend Mode (Host) */
-#define ENUM_USB_POWER_SUSPEND (_ADI_MSK(0x00000002,uint8_t)) /* SUSPEND: Enable Suspend Mode (Host) */
-
-#define BITM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPENDM Output Enable */
-#define ENUM_USB_POWER_SUSDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSEN: Disable SUSPENDM Output */
-#define ENUM_USB_POWER_SUSEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSEN: Enable SUSPENDM Output */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTX_EP11 11 /* End Point 11 Tx Interrupt */
-#define BITP_USB_INTRTX_EP10 10 /* End Point 10 Tx Interrupt */
-#define BITP_USB_INTRTX_EP9 9 /* End Point 9 Tx Interrupt */
-#define BITP_USB_INTRTX_EP8 8 /* End Point 8 Tx Interrupt */
-#define BITP_USB_INTRTX_EP7 7 /* End Point 7 Tx Interrupt */
-#define BITP_USB_INTRTX_EP6 6 /* End Point 6 Tx Interrupt */
-#define BITP_USB_INTRTX_EP5 5 /* End Point 5 Tx Interrupt */
-#define BITP_USB_INTRTX_EP4 4 /* End Point 4 Tx Interrupt */
-#define BITP_USB_INTRTX_EP3 3 /* End Point 3 Tx Interrupt */
-#define BITP_USB_INTRTX_EP2 2 /* End Point 2 Tx Interrupt */
-#define BITP_USB_INTRTX_EP1 1 /* End Point 1 Tx Interrupt */
-#define BITP_USB_INTRTX_EP0 0 /* End Point 0 Tx Interrupt */
-#define BITM_USB_INTRTX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt */
-#define BITM_USB_INTRTX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt */
-#define BITM_USB_INTRTX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt */
-#define BITM_USB_INTRTX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt */
-#define BITM_USB_INTRTX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt */
-#define BITM_USB_INTRTX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt */
-#define BITM_USB_INTRTX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt */
-#define BITM_USB_INTRTX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt */
-#define BITM_USB_INTRTX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt */
-#define BITM_USB_INTRTX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt */
-#define BITM_USB_INTRTX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt */
-#define BITM_USB_INTRTX_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRX_EP11 11 /* End Point 11 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP10 10 /* End Point 10 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP9 9 /* End Point 9 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP8 8 /* End Point 8 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP7 7 /* End Point 7 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP6 6 /* End Point 6 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP5 5 /* End Point 5 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP4 4 /* End Point 4 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP3 3 /* End Point 3 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP2 2 /* End Point 2 Rx Interrupt. */
-#define BITP_USB_INTRRX_EP1 1 /* End Point 1 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt. */
-#define BITM_USB_INTRRX_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt. */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRTXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRTXE_EP11 11 /* End Point 11 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP10 10 /* End Point 10 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP9 9 /* End Point 9 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP8 8 /* End Point 8 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP7 7 /* End Point 7 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP6 6 /* End Point 6 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP5 5 /* End Point 5 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP4 4 /* End Point 4 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP3 3 /* End Point 3 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP2 2 /* End Point 2 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP1 1 /* End Point 1 Tx Interrupt Enable */
-#define BITP_USB_INTRTXE_EP0 0 /* End Point 0 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Tx Interrupt Enable */
-#define BITM_USB_INTRTXE_EP0 (_ADI_MSK(0x00000001,uint16_t)) /* End Point 0 Tx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INTRRXE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INTRRXE_EP11 11 /* End Point 11 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP10 10 /* End Point 10 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP9 9 /* End Point 9 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP8 8 /* End Point 8 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP7 7 /* End Point 7 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP6 6 /* End Point 6 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP5 5 /* End Point 5 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP4 4 /* End Point 4 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP3 3 /* End Point 3 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP2 2 /* End Point 2 Rx Interrupt Enable */
-#define BITP_USB_INTRRXE_EP1 1 /* End Point 1 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP11 (_ADI_MSK(0x00000800,uint16_t)) /* End Point 11 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP10 (_ADI_MSK(0x00000400,uint16_t)) /* End Point 10 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP9 (_ADI_MSK(0x00000200,uint16_t)) /* End Point 9 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP8 (_ADI_MSK(0x00000100,uint16_t)) /* End Point 8 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP7 (_ADI_MSK(0x00000080,uint16_t)) /* End Point 7 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP6 (_ADI_MSK(0x00000040,uint16_t)) /* End Point 6 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP5 (_ADI_MSK(0x00000020,uint16_t)) /* End Point 5 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP4 (_ADI_MSK(0x00000010,uint16_t)) /* End Point 4 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP3 (_ADI_MSK(0x00000008,uint16_t)) /* End Point 3 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP2 (_ADI_MSK(0x00000004,uint16_t)) /* End Point 2 Rx Interrupt Enable */
-#define BITM_USB_INTRRXE_EP1 (_ADI_MSK(0x00000002,uint16_t)) /* End Point 1 Rx Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IRQ_VBUSERR 7 /* VBUS Threshold Indicator */
-#define BITP_USB_IRQ_SESSREQ 6 /* Session Request Indicator */
-#define BITP_USB_IRQ_DISCON 5 /* Disconnect Indicator */
-#define BITP_USB_IRQ_CON 4 /* Connection Indicator */
-#define BITP_USB_IRQ_SOF 3 /* Start-of-frame Indicator */
-#define BITP_USB_IRQ_RSTBABBLE 2 /* Reset/Babble Indicator */
-#define BITP_USB_IRQ_RESUME 1 /* Resume Indicator */
-#define BITP_USB_IRQ_SUSPEND 0 /* Suspend Indicator */
-
-#define BITM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator */
-#define ENUM_USB_IRQ_NO_VBUSERR (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: No Interrupt */
-#define ENUM_USB_IRQ_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Interrupt Pending */
-
-#define BITM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator */
-#define ENUM_USB_IRQ_NO_SESSREQ (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: No Interrupt */
-#define ENUM_USB_IRQ_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Interrupt Pending */
-
-#define BITM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator */
-#define ENUM_USB_IRQ_NO_DISCON (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: No Interrupt */
-#define ENUM_USB_IRQ_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Interrupt Pending */
-
-#define BITM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator */
-#define ENUM_USB_IRQ_NO_CON (_ADI_MSK(0x00000000,uint8_t)) /* CON: No Interrupt */
-#define ENUM_USB_IRQ_CON (_ADI_MSK(0x00000010,uint8_t)) /* CON: Interrupt Pending */
-
-#define BITM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator */
-#define ENUM_USB_IRQ_NO_SOF (_ADI_MSK(0x00000000,uint8_t)) /* SOF: No Interrupt */
-#define ENUM_USB_IRQ_SOF (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Interrupt Pending */
-
-#define BITM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator */
-#define ENUM_USB_IRQ_NO_RSTBABBLE (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: No Interrupt */
-#define ENUM_USB_IRQ_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Interrupt Pending */
-
-#define BITM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator */
-#define ENUM_USB_IRQ_NO_RESUME (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: No Interrupt */
-#define ENUM_USB_IRQ_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Interrupt Pending */
-
-#define BITM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator */
-#define ENUM_USB_IRQ_NO_SUSPEND (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: No Interrupt */
-#define ENUM_USB_IRQ_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Interrupt Pending */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_IEN_VBUSERR 7 /* VBUS Threshold Indicator Interrupt Enable */
-#define BITP_USB_IEN_SESSREQ 6 /* Session Request Indicator Interrupt Enable */
-#define BITP_USB_IEN_DISCON 5 /* Disconnect Indicator Interrupt Enable */
-#define BITP_USB_IEN_CON 4 /* Connection Indicator Interrupt Enable */
-#define BITP_USB_IEN_SOF 3 /* Start-of-frame Indicator Interrupt Enable */
-#define BITP_USB_IEN_RSTBABBLE 2 /* Reset/Babble Indicator Interrupt Enable */
-#define BITP_USB_IEN_RESUME 1 /* Resume Indicator Interrupt Enable */
-#define BITP_USB_IEN_SUSPEND 0 /* Suspend Indicator Interrupt Enable */
-
-#define BITM_USB_IEN_VBUSERR (_ADI_MSK(0x00000080,uint8_t)) /* VBUS Threshold Indicator Interrupt Enable */
-#define ENUM_USB_IEN_VBUSERRDIS (_ADI_MSK(0x00000000,uint8_t)) /* VBUSERR: Disable Interrupt */
-#define ENUM_USB_IEN_VBUSERREN (_ADI_MSK(0x00000080,uint8_t)) /* VBUSERR: Enable Interrupt */
-
-#define BITM_USB_IEN_SESSREQ (_ADI_MSK(0x00000040,uint8_t)) /* Session Request Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SESSREQDIS (_ADI_MSK(0x00000000,uint8_t)) /* SESSREQ: Disable Interrupt */
-#define ENUM_USB_IEN_SESSREQEN (_ADI_MSK(0x00000040,uint8_t)) /* SESSREQ: Enable Interrupt */
-
-#define BITM_USB_IEN_DISCON (_ADI_MSK(0x00000020,uint8_t)) /* Disconnect Indicator Interrupt Enable */
-#define ENUM_USB_IEN_DISCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* DISCON: Disable Interrupt */
-#define ENUM_USB_IEN_DISCONEN (_ADI_MSK(0x00000020,uint8_t)) /* DISCON: Enable Interrupt */
-
-#define BITM_USB_IEN_CON (_ADI_MSK(0x00000010,uint8_t)) /* Connection Indicator Interrupt Enable */
-#define ENUM_USB_IEN_CONDIS (_ADI_MSK(0x00000000,uint8_t)) /* CON: Disable Interrupt */
-#define ENUM_USB_IEN_CONEN (_ADI_MSK(0x00000010,uint8_t)) /* CON: Enable Interrupt */
-
-#define BITM_USB_IEN_SOF (_ADI_MSK(0x00000008,uint8_t)) /* Start-of-frame Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SOFDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOF: Disable Interrupt */
-#define ENUM_USB_IEN_SOFEN (_ADI_MSK(0x00000008,uint8_t)) /* SOF: Enable Interrupt */
-
-#define BITM_USB_IEN_RSTBABBLE (_ADI_MSK(0x00000004,uint8_t)) /* Reset/Babble Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RSTBABBLEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RSTBABBLE: Disable Interrupt */
-#define ENUM_USB_IEN_RSTBABBLEEN (_ADI_MSK(0x00000004,uint8_t)) /* RSTBABBLE: Enable Interrupt */
-
-#define BITM_USB_IEN_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* Resume Indicator Interrupt Enable */
-#define ENUM_USB_IEN_RESUMEDIS (_ADI_MSK(0x00000000,uint8_t)) /* RESUME: Disable Interrupt */
-#define ENUM_USB_IEN_RESUMEEN (_ADI_MSK(0x00000002,uint8_t)) /* RESUME: Enable Interrupt */
-
-#define BITM_USB_IEN_SUSPEND (_ADI_MSK(0x00000001,uint8_t)) /* Suspend Indicator Interrupt Enable */
-#define ENUM_USB_IEN_SUSPENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* SUSPEND: Disable Interrupt */
-#define ENUM_USB_IEN_SUSPENDEN (_ADI_MSK(0x00000001,uint8_t)) /* SUSPEND: Enable Interrupt */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_FRAME Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_FRAME_VALUE 0 /* Frame Number Value */
-#define BITM_USB_FRAME_VALUE (_ADI_MSK(0x000007FF,uint16_t)) /* Frame Number Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_INDEX Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_INDEX_EP 0 /* Endpoint Index */
-#define BITM_USB_INDEX_EP (_ADI_MSK(0x0000000F,uint8_t)) /* Endpoint Index */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TESTMODE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TESTMODE_FIFOACCESS 6 /* FIFO Access */
-#define BITP_USB_TESTMODE_TESTPACKET 3 /* Test_Packet Mode */
-#define BITP_USB_TESTMODE_TESTK 2 /* Test_K Mode */
-#define BITP_USB_TESTMODE_TESTJ 1 /* Test_J Mode */
-#define BITP_USB_TESTMODE_TESTSE0NAK 0 /* Test SE0 NAK */
-#define BITM_USB_TESTMODE_FIFOACCESS (_ADI_MSK(0x00000040,uint8_t)) /* FIFO Access */
-#define BITM_USB_TESTMODE_TESTPACKET (_ADI_MSK(0x00000008,uint8_t)) /* Test_Packet Mode */
-#define BITM_USB_TESTMODE_TESTK (_ADI_MSK(0x00000004,uint8_t)) /* Test_K Mode */
-#define BITM_USB_TESTMODE_TESTJ (_ADI_MSK(0x00000002,uint8_t)) /* Test_J Mode */
-#define BITM_USB_TESTMODE_TESTSE0NAK (_ADI_MSK(0x00000001,uint8_t)) /* Test SE0 NAK */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EPI_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EPI_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EPI_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EPI_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EPI_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EPI_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EPI_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EPI_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EPI_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EPI_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EPI_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EPI_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EPI_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EPI_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EPI_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EPI_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EPI_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EPI_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EPI_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EPI_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EPI_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EPI_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EPI_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EPI_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EPI_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EPI_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EPI_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EPI_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EPI_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EPI_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EPI_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EPI_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EPI_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EPI_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EPI_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EPI_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EPI_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EPI_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EPI_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EPI_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0I_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0I_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0I_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0I_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0I_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0I_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0I_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0I_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0I_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0I_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0I_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0I_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0I_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0I_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0I_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0I_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0I_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0I_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0I_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0I_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0I_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0I_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0I_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0I_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0I_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0I_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0I_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0I_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0I_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0I_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0I_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0I_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0I_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0I_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0I_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0I_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0I_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0I_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0I_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0I_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0I_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0I_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0I_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0I_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0I_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0I_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0I_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0I_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0I_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0I_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EPI_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EPI_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EPI_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EPI_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EPI_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EPI_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EPI_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EPI_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EPI_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EPI_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EPI_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EPI_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EPI_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EPI_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EPI_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EPI_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EPI_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EPI_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EPI_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EPI_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EPI_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EPI_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EPI_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EPI_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EPI_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EPI_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EPI_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EPI_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EPI_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EPI_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EPI_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EPI_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EPI_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EPI_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EPI_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EPI_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EPI_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EPI_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EPI_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EPI_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EPI_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EPI_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EPI_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EPI_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EPI_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EPI_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EPI_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EPI_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EPI_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EPI_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EPI_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EPI_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EPI_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EPI_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EPI_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EPI_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EPI_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EPI_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EPI_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EPI_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EPI_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EPI_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EPI_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EPI_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EPI_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0I_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EPI_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0I_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0I_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPI_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPI_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EPI_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EPI_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EPI_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EPI_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EPI_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EPI_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EPI_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EPI_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EPI_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EPI_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EPI_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EPI_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EPI_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EPI_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EPI_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0I_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0I_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0I_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0I_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0I_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0I_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0I_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0I_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0I_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0I_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0I_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0I_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0I_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0I_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0I_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0I_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0I_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0I_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0I_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0I_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0I_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0I_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DEV_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DEV_CTL_BDEVICE 7 /* A or B Devices Indicator */
-#define BITP_USB_DEV_CTL_FSDEV 6 /* Full or High-Speed Indicator */
-#define BITP_USB_DEV_CTL_LSDEV 5 /* Low-Speed Indicator */
-#define BITP_USB_DEV_CTL_VBUS 3 /* VBUS Level Indicator */
-#define BITP_USB_DEV_CTL_HOSTMODE 2 /* Host Mode Indicator */
-#define BITP_USB_DEV_CTL_HOSTREQ 1 /* Host Negotiation Request */
-#define BITP_USB_DEV_CTL_SESSION 0 /* Session Indicator */
-
-#define BITM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* A or B Devices Indicator */
-#define ENUM_USB_DEV_CTL_ADEVICE (_ADI_MSK(0x00000000,uint8_t)) /* BDEVICE: A Device Detected */
-#define ENUM_USB_DEV_CTL_BDEVICE (_ADI_MSK(0x00000080,uint8_t)) /* BDEVICE: B Device Detected */
-
-#define BITM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* Full or High-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_FSDEV (_ADI_MSK(0x00000000,uint8_t)) /* FSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_FSDEV (_ADI_MSK(0x00000040,uint8_t)) /* FSDEV: Full or High Speed Detected */
-
-#define BITM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* Low-Speed Indicator */
-#define ENUM_USB_DEV_CTL_NO_LSDEV (_ADI_MSK(0x00000000,uint8_t)) /* LSDEV: Not Detected */
-#define ENUM_USB_DEV_CTL_LSDEV (_ADI_MSK(0x00000020,uint8_t)) /* LSDEV: Low Speed Detected */
-
-#define BITM_USB_DEV_CTL_VBUS (_ADI_MSK(0x00000018,uint8_t)) /* VBUS Level Indicator */
-#define ENUM_USB_DEV_CTL_VBUS_BS (_ADI_MSK(0x00000000,uint8_t)) /* VBUS: Below SessionEnd */
-#define ENUM_USB_DEV_CTL_VBUS_ASBA (_ADI_MSK(0x00000008,uint8_t)) /* VBUS: Above SessionEnd, below AValid */
-#define ENUM_USB_DEV_CTL_VBUS_AABV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS: Above AValid, below VBUSValid */
-#define ENUM_USB_DEV_CTL_VBUS_AV (_ADI_MSK(0x00000018,uint8_t)) /* VBUS: Above VBUSValid */
-
-#define BITM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* Host Mode Indicator */
-#define ENUM_USB_DEV_CTL_NO_HOSTMODE (_ADI_MSK(0x00000000,uint8_t)) /* HOSTMODE: Peripheral Mode */
-#define ENUM_USB_DEV_CTL_HOSTMODE (_ADI_MSK(0x00000004,uint8_t)) /* HOSTMODE: Host Mode */
-
-#define BITM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* Host Negotiation Request */
-#define ENUM_USB_DEV_CTL_NO_HOSTREQ (_ADI_MSK(0x00000000,uint8_t)) /* HOSTREQ: No Request */
-#define ENUM_USB_DEV_CTL_HOSTREQ (_ADI_MSK(0x00000002,uint8_t)) /* HOSTREQ: Place Request */
-
-#define BITM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* Session Indicator */
-#define ENUM_USB_DEV_CTL_NO_SESSION (_ADI_MSK(0x00000000,uint8_t)) /* SESSION: Not Detected */
-#define ENUM_USB_DEV_CTL_SESSION (_ADI_MSK(0x00000001,uint8_t)) /* SESSION: Detected Session */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_TXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_TXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_TXFIFOSZ_DPNDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_TXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_TXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_TXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_TXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_TXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_TXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_TXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_TXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_TXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_TXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_TXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_TXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOSZ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOSZ_DPB 4 /* Double Packet Buffering Enable */
-#define BITP_USB_RXFIFOSZ_SZ 0 /* Maximum Packet Size */
-
-#define BITM_USB_RXFIFOSZ_DPB (_ADI_MSK(0x00000010,uint8_t)) /* Double Packet Buffering Enable */
-#define ENUM_USB_RXFIFOSZ_DPBDIS (_ADI_MSK(0x00000000,uint8_t)) /* DPB: Single Packet Buffering */
-#define ENUM_USB_RXFIFOSZ_DPBEN (_ADI_MSK(0x00000010,uint8_t)) /* DPB: Double Packet Buffering */
-
-#define BITM_USB_RXFIFOSZ_SZ (_ADI_MSK(0x0000000F,uint8_t)) /* Maximum Packet Size */
-#define ENUM_USB_RXFIFOSZ_SZ8 (_ADI_MSK(0x00000000,uint8_t)) /* SZ: PktSz=8, DPB0=8, DPB1=16 */
-#define ENUM_USB_RXFIFOSZ_SZ16 (_ADI_MSK(0x00000001,uint8_t)) /* SZ: PktSz=16, DPB0=16, DPB1=32 */
-#define ENUM_USB_RXFIFOSZ_SZ32 (_ADI_MSK(0x00000002,uint8_t)) /* SZ: PktSz=32, DPB0=32, DPB1=64 */
-#define ENUM_USB_RXFIFOSZ_SZ64 (_ADI_MSK(0x00000003,uint8_t)) /* SZ: PktSz=64, DPB0=64, DPB1=128 */
-#define ENUM_USB_RXFIFOSZ_SZ128 (_ADI_MSK(0x00000004,uint8_t)) /* SZ: PktSz=128, DPB0=128, DPB1=256 */
-#define ENUM_USB_RXFIFOSZ_SZ256 (_ADI_MSK(0x00000005,uint8_t)) /* SZ: PktSz=256, DPB0=256, DPB1=512 */
-#define ENUM_USB_RXFIFOSZ_SZ512 (_ADI_MSK(0x00000006,uint8_t)) /* SZ: PktSz=512, DPB0=512, DPB1=1024 */
-#define ENUM_USB_RXFIFOSZ_SZ1024 (_ADI_MSK(0x00000007,uint8_t)) /* SZ: PktSz=1024, DPB0=1024, DPB1=2048 */
-#define ENUM_USB_RXFIFOSZ_SZ2048 (_ADI_MSK(0x00000008,uint8_t)) /* SZ: PktSz=2048, DPB0=2048, DPB1=4096 */
-#define ENUM_USB_RXFIFOSZ_SZ4096 (_ADI_MSK(0x00000009,uint8_t)) /* SZ: PktSz=4096, DPB0=4096, DPB1=8192 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_TXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_TXFIFOADDR_VALUE 0 /* Tx FIFO Start Address */
-#define BITM_USB_TXFIFOADDR_VALUE (_ADI_MSK(0x00001FFF,uint16_t)) /* Tx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RXFIFOADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RXFIFOADDR_VALUE 0 /* Rx FIFO Start Address */
-#define BITM_USB_RXFIFOADDR_VALUE (_ADI_MSK(0x00000FFF,uint16_t)) /* Rx FIFO Start Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EPINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EPINFO_RXEP 4 /* Rx Endpoints */
-#define BITP_USB_EPINFO_TXEP 0 /* Tx Endpoints */
-#define BITM_USB_EPINFO_RXEP (_ADI_MSK(0x000000F0,uint8_t)) /* Rx Endpoints */
-#define BITM_USB_EPINFO_TXEP (_ADI_MSK(0x0000000F,uint8_t)) /* Tx Endpoints */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_RAMINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_RAMINFO_DMACHANS 4 /* DMA Channels */
-#define BITP_USB_RAMINFO_RAMBITS 0 /* RAM Address Bits */
-#define BITM_USB_RAMINFO_DMACHANS (_ADI_MSK(0x000000F0,uint8_t)) /* DMA Channels */
-#define BITM_USB_RAMINFO_RAMBITS (_ADI_MSK(0x0000000F,uint8_t)) /* RAM Address Bits */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LINKINFO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LINKINFO_WTCON 4 /* Wait for Connect/Disconnect */
-#define BITP_USB_LINKINFO_WTID 0 /* Wait from ID Pull-up */
-#define BITM_USB_LINKINFO_WTCON (_ADI_MSK(0x000000F0,uint8_t)) /* Wait for Connect/Disconnect */
-#define BITM_USB_LINKINFO_WTID (_ADI_MSK(0x0000000F,uint8_t)) /* Wait from ID Pull-up */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_SOFT_RST Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_SOFT_RST_RSTX 1 /* Reset USB XCLK Domain */
-#define BITP_USB_SOFT_RST_RST 0 /* Reset USB CLK Domain */
-
-#define BITM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* Reset USB XCLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RSTX (_ADI_MSK(0x00000000,uint8_t)) /* RSTX: No Reset */
-#define ENUM_USB_SOFT_RST_RSTX (_ADI_MSK(0x00000002,uint8_t)) /* RSTX: Reset USB XCLK Domain */
-
-#define BITM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* Reset USB CLK Domain */
-#define ENUM_USB_SOFT_RST_NO_RST (_ADI_MSK(0x00000000,uint8_t)) /* RST: No Reset */
-#define ENUM_USB_SOFT_RST_RST (_ADI_MSK(0x00000001,uint8_t)) /* RST: Reset USB CLK Domain */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXFUNCADDR_VALUE 0 /* Tx Function Address Value */
-#define BITM_USB_MP_TXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Tx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_TXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_TXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_TXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_TXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_TXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_TXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXFUNCADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXFUNCADDR_VALUE 0 /* Rx Function Address Value */
-#define BITM_USB_MP_RXFUNCADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Rx Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBADDR_MULTTRANS 7 /* Multiple Transaction Translators */
-#define BITP_USB_MP_RXHUBADDR_ADDR 0 /* Hub Address Value */
-#define BITM_USB_MP_RXHUBADDR_MULTTRANS (_ADI_MSK(0x00000080,uint8_t)) /* Multiple Transaction Translators */
-#define BITM_USB_MP_RXHUBADDR_ADDR (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_MP_RXHUBPORT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_MP_RXHUBPORT_VALUE 0 /* Hub Port Value */
-#define BITM_USB_MP_RXHUBPORT_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Hub Port Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_TXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_TXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_TXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_H_DISPING 11 /* Disable Ping */
-#define BITP_USB_EP0_CSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP0_CSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP0_CSR_H_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_H_NAKTO 7 /* NAK Timeout */
-#define BITP_USB_EP0_CSR_H_STATUSPKT 6 /* Status Packet */
-#define BITP_USB_EP0_CSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP0_CSR_H_TOERR 4 /* Timeout Error */
-#define BITP_USB_EP0_CSR_H_SETUPPKT 3 /* Setup Packet */
-#define BITP_USB_EP0_CSR_H_RXSTALL 2 /* Rx Stall */
-#define BITP_USB_EP0_CSR_H_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* Disable Ping */
-#define ENUM_USB_EP0_CSR_H_NO_DISPING (_ADI_MSK(0x00000000,uint16_t)) /* DISPING: Issue PING tokens */
-#define ENUM_USB_EP0_CSR_H_DISPING (_ADI_MSK(0x00000800,uint16_t)) /* DISPING: Do not issue PING */
-
-#define BITM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP0_CSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP0_CSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP0_CSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP0_CSR_H_NO_DATATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP0_CSR_H_DATATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP0_CSR_H_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_H_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout */
-#define ENUM_USB_EP0_CSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTO: No Status */
-#define ENUM_USB_EP0_CSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTO: Endpoint Halted (NAK Timeout) */
-
-#define BITM_USB_EP0_CSR_H_STATUSPKT (_ADI_MSK(0x00000040,uint16_t)) /* Status Packet */
-#define ENUM_USB_EP0_CSR_H_NO_STATPKT (_ADI_MSK(0x00000000,uint16_t)) /* STATUSPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_STATPKT (_ADI_MSK(0x00000040,uint16_t)) /* STATUSPKT: Request Status Transaction */
-
-#define BITM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP0_CSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* Timeout Error */
-#define ENUM_USB_EP0_CSR_H_NO_TOERR (_ADI_MSK(0x00000000,uint16_t)) /* TOERR: No Status */
-#define ENUM_USB_EP0_CSR_H_TOERR (_ADI_MSK(0x00000010,uint16_t)) /* TOERR: Timeout Error */
-
-#define BITM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP0_CSR_H_NO_SETUPPKT (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP0_CSR_H_SETUPPKT (_ADI_MSK(0x00000008,uint16_t)) /* SETUPPKT: Send SETUP token */
-
-#define BITM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Rx Stall */
-#define ENUM_USB_EP0_CSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP0_CSR_H_RXSTALL (_ADI_MSK(0x00000004,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP0_CSR_H_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_H_NO_RXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_H_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_H_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_H_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_H_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_H_DATGLEN 9 /* Data Toggle Write Enable */
-#define BITP_USB_EP_TXCSR_H_DATGL 8 /* Data Toggle */
-#define BITP_USB_EP_TXCSR_H_NAKTOINCMP 7 /* NAK Timeout Incomplete */
-#define BITP_USB_EP_TXCSR_H_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_H_RXSTALL 5 /* Rx STALL */
-#define BITP_USB_EP_TXCSR_H_SETUPPKT 4 /* Setup Packet */
-#define BITP_USB_EP_TXCSR_H_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_H_TXTOERR 2 /* Tx Timeout Error */
-#define BITP_USB_EP_TXCSR_H_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_H_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_H_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_H_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_H_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_H_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGLEN (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_TXCSR_H_DATGLEN (_ADI_MSK(0x00000200,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is set */
-#define ENUM_USB_EP_TXCSR_H_DATGL (_ADI_MSK(0x00000100,uint16_t)) /* DATGL: DATA1 is set */
-
-#define BITM_USB_EP_TXCSR_H_NAKTOINCMP (_ADI_MSK(0x00000080,uint16_t)) /* NAK Timeout Incomplete */
-#define ENUM_USB_EP_TXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTOINCMP: No Status */
-#define ENUM_USB_EP_TXCSR_H_NAKTO (_ADI_MSK(0x00000080,uint16_t)) /* NAKTOINCMP: NAK Timeout Over Maximum */
-
-#define BITM_USB_EP_TXCSR_H_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_H_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_TXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_H_RXSTALL (_ADI_MSK(0x00000020,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* Setup Packet */
-#define ENUM_USB_EP_TXCSR_H_NO_SETUPPK (_ADI_MSK(0x00000000,uint16_t)) /* SETUPPKT: No Request */
-#define ENUM_USB_EP_TXCSR_H_SETUPPKT (_ADI_MSK(0x00000010,uint16_t)) /* SETUPPKT: Send SETUP Token */
-
-#define BITM_USB_EP_TXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_H_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Tx Timeout Error */
-#define ENUM_USB_EP_TXCSR_H_NO_TXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* TXTOERR: No Status */
-#define ENUM_USB_EP_TXCSR_H_TXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* TXTOERR: Tx Timeout Error */
-
-#define BITM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_H_NO_NEFIFO (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_H_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_H_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CSR_P_FLUSHFIFO 8 /* Flush Endpoint FIFO */
-#define BITP_USB_EP0_CSR_P_SSETUPEND 7 /* Service Setup End */
-#define BITP_USB_EP0_CSR_P_SPKTRDY 6 /* Service Rx Packet Ready */
-#define BITP_USB_EP0_CSR_P_SENDSTALL 5 /* Send Stall */
-#define BITP_USB_EP0_CSR_P_SETUPEND 4 /* Setup End */
-#define BITP_USB_EP0_CSR_P_DATAEND 3 /* Data End */
-#define BITP_USB_EP0_CSR_P_SENTSTALL 2 /* Sent Stall */
-#define BITP_USB_EP0_CSR_P_TXPKTRDY 1 /* Tx Packet Ready */
-#define BITP_USB_EP0_CSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP0_CSR_P_FLUSHFIFO (_ADI_MSK(0x00000100,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP0_CSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP0_CSR_P_FLUSH (_ADI_MSK(0x00000100,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* Service Setup End */
-#define ENUM_USB_EP0_CSR_P_NOSSETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SSETUPEND: No Action */
-#define ENUM_USB_EP0_CSR_P_SSETUPEND (_ADI_MSK(0x00000080,uint16_t)) /* SSETUPEND: Clear SETUPEND Bit */
-
-#define BITM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* Service Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_SPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* SPKTRDY: No Action */
-#define ENUM_USB_EP0_CSR_P_SPKTRDY (_ADI_MSK(0x00000040,uint16_t)) /* SPKTRDY: Clear RXPKTRDY Bit */
-
-#define BITM_USB_EP0_CSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP0_CSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Terminate Current Transaction */
-
-#define BITM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* Setup End */
-#define ENUM_USB_EP0_CSR_P_NO_SETUPEND (_ADI_MSK(0x00000000,uint16_t)) /* SETUPEND: No Status */
-#define ENUM_USB_EP0_CSR_P_SETUPEND (_ADI_MSK(0x00000010,uint16_t)) /* SETUPEND: Setup Ended before DATAEND */
-
-#define BITM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* Data End */
-#define ENUM_USB_EP0_CSR_P_NO_DATAEND (_ADI_MSK(0x00000000,uint16_t)) /* DATAEND: No Status */
-#define ENUM_USB_EP0_CSR_P_DATAEND (_ADI_MSK(0x00000008,uint16_t)) /* DATAEND: Data End Condition */
-
-#define BITM_USB_EP0_CSR_P_SENTSTALL (_ADI_MSK(0x00000004,uint16_t)) /* Sent Stall */
-#define ENUM_USB_EP0_CSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP0_CSR_P_STALSNT (_ADI_MSK(0x00000004,uint16_t)) /* SENTSTALL: Transmitted STALL Handshake */
-
-#define BITM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_TXPKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: */
-#define ENUM_USB_EP0_CSR_P_TXPKTRDY (_ADI_MSK(0x00000002,uint16_t)) /* TXPKTRDY: Set this bit after loading a data packet into the FIFO */
-
-#define BITM_USB_EP0_CSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP0_CSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP0_CSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXCSR_P_AUTOSET 15 /* TxPkRdy Autoset Enable */
-#define BITP_USB_EP_TXCSR_P_ISO 14 /* Isochronous Transfers Enable */
-#define BITP_USB_EP_TXCSR_P_DMAREQEN 12 /* DMA Request Enable Tx EP */
-#define BITP_USB_EP_TXCSR_P_FRCDATATGL 11 /* Force Data Toggle */
-#define BITP_USB_EP_TXCSR_P_DMAREQMODE 10 /* DMA Mode Select */
-#define BITP_USB_EP_TXCSR_P_INCOMPTX 7 /* Incomplete Tx */
-#define BITP_USB_EP_TXCSR_P_CLRDATATGL 6 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_TXCSR_P_SENTSTALL 5 /* Sent STALL */
-#define BITP_USB_EP_TXCSR_P_SENDSTALL 4 /* Send STALL */
-#define BITP_USB_EP_TXCSR_P_FLUSHFIFO 3 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_TXCSR_P_URUNERR 2 /* Underrun Error */
-#define BITP_USB_EP_TXCSR_P_NEFIFO 1 /* Not Empty FIFO */
-#define BITP_USB_EP_TXCSR_P_TXPKTRDY 0 /* Tx Packet Ready */
-
-#define BITM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* TxPkRdy Autoset Enable */
-#define ENUM_USB_EP_TXCSR_P_NO_AUTOSET (_ADI_MSK(0x00000000,uint16_t)) /* AUTOSET: Disable Autoset */
-#define ENUM_USB_EP_TXCSR_P_AUTOSET (_ADI_MSK(0x00008000,uint16_t)) /* AUTOSET: Enable Autoset */
-
-#define BITM_USB_EP_TXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers Enable */
-#define ENUM_USB_EP_TXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: Disable Tx EP Isochronous Transfers */
-#define ENUM_USB_EP_TXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: Enable Tx EP Isochronous Transfers */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMA Request Enable Tx EP */
-#define ENUM_USB_EP_TXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_TXCSR_P_DMAREQEN (_ADI_MSK(0x00001000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_TXCSR_P_FRCDATATGL (_ADI_MSK(0x00000800,uint16_t)) /* Force Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_FRCTGL (_ADI_MSK(0x00000000,uint16_t)) /* FRCDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_FRCTGL (_ADI_MSK(0x00000800,uint16_t)) /* FRCDATATGL: Toggle Endpoint Data */
-
-#define BITM_USB_EP_TXCSR_P_DMAREQMODE (_ADI_MSK(0x00000400,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_TXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000400,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_TXCSR_P_INCOMPTX (_ADI_MSK(0x00000080,uint16_t)) /* Incomplete Tx */
-#define ENUM_USB_EP_TXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPTX: No Status */
-#define ENUM_USB_EP_TXCSR_P_INCOMP (_ADI_MSK(0x00000080,uint16_t)) /* INCOMPTX: Incomplete Tx (Insufficient IN Tokens) */
-
-#define BITM_USB_EP_TXCSR_P_CLRDATATGL (_ADI_MSK(0x00000040,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_TXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_TXCSR_P_CLRTGL (_ADI_MSK(0x00000040,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_TXCSR_P_SENTSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_TXCSR_P_STALSNT (_ADI_MSK(0x00000020,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_TXCSR_P_SENDSTALL (_ADI_MSK(0x00000010,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_TXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Request */
-#define ENUM_USB_EP_TXCSR_P_STALL (_ADI_MSK(0x00000010,uint16_t)) /* SENDSTALL: Request STALL Handshake Transmission */
-
-#define BITM_USB_EP_TXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000008,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_TXCSR_P_FLUSH (_ADI_MSK(0x00000008,uint16_t)) /* FLUSHFIFO: Flush endpoint FIFO */
-
-#define BITM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* Underrun Error */
-#define ENUM_USB_EP_TXCSR_P_NO_URUNERR (_ADI_MSK(0x00000000,uint16_t)) /* URUNERR: No Status */
-#define ENUM_USB_EP_TXCSR_P_URUNERR (_ADI_MSK(0x00000004,uint16_t)) /* URUNERR: Underrun Error */
-
-#define BITM_USB_EP_TXCSR_P_NEFIFO (_ADI_MSK(0x00000002,uint16_t)) /* Not Empty FIFO */
-#define ENUM_USB_EP_TXCSR_P_NO_FIFONE (_ADI_MSK(0x00000000,uint16_t)) /* NEFIFO: FIFO Empty */
-#define ENUM_USB_EP_TXCSR_P_FIFONE (_ADI_MSK(0x00000002,uint16_t)) /* NEFIFO: FIFO Not Empty */
-
-#define BITM_USB_EP_TXCSR_P_TXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Tx Packet Ready */
-#define ENUM_USB_EP_TXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* TXPKTRDY: No Tx Packet */
-#define ENUM_USB_EP_TXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* TXPKTRDY: Tx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXMAXP Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXMAXP_MULTM1 11 /* Multi-Packets per Micro-frame */
-#define BITP_USB_EP_RXMAXP_MAXPAY 0 /* Maximum Payload */
-#define BITM_USB_EP_RXMAXP_MULTM1 (_ADI_MSK(0x00001800,uint16_t)) /* Multi-Packets per Micro-frame */
-#define BITM_USB_EP_RXMAXP_MAXPAY (_ADI_MSK(0x000007FF,uint16_t)) /* Maximum Payload */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_H Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_H_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_H_AUTOREQ 14 /* Auto Request Clear Enable */
-#define BITP_USB_EP_RXCSR_H_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_H_PIDERR 12 /* Packet ID Error */
-#define BITP_USB_EP_RXCSR_H_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_H_DATGLEN 10 /* Data Toggle Write Enable */
-#define BITP_USB_EP_RXCSR_H_DATGL 9 /* Data Toggle */
-#define BITP_USB_EP_RXCSR_H_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_H_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_H_RXSTALL 6 /* Rx STALL */
-#define BITP_USB_EP_RXCSR_H_REQPKT 5 /* Request Packet */
-#define BITP_USB_EP_RXCSR_H_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_H_NAKTODERR 3 /* NAK Timeout Data Error */
-#define BITP_USB_EP_RXCSR_H_RXTOERR 2 /* Rx Timeout Error */
-#define BITP_USB_EP_RXCSR_H_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_H_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* Auto Request Clear Enable */
-#define ENUM_USB_EP_RXCSR_H_NO_AUTOREQ (_ADI_MSK(0x00000000,uint16_t)) /* AUTOREQ: Disable Auto Request Clear */
-#define ENUM_USB_EP_RXCSR_H_AUTOREQ (_ADI_MSK(0x00004000,uint16_t)) /* AUTOREQ: Enable Auto Request Clear */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_H_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_H_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* Packet ID Error */
-#define ENUM_USB_EP_RXCSR_H_NO_PIDERR (_ADI_MSK(0x00000000,uint16_t)) /* PIDERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_PIDERR (_ADI_MSK(0x00001000,uint16_t)) /* PIDERR: PID Error */
-
-#define BITM_USB_EP_RXCSR_H_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_H_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* Data Toggle Write Enable */
-#define ENUM_USB_EP_RXCSR_H_DATGLDIS (_ADI_MSK(0x00000000,uint16_t)) /* DATGLEN: Disable Write to DATGL */
-#define ENUM_USB_EP_RXCSR_H_DATGLEN (_ADI_MSK(0x00000400,uint16_t)) /* DATGLEN: Enable Write to DATGL */
-
-#define BITM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_DATGL (_ADI_MSK(0x00000000,uint16_t)) /* DATGL: DATA0 is Set */
-#define ENUM_USB_EP_RXCSR_H_DATGL (_ADI_MSK(0x00000200,uint16_t)) /* DATGL: DATA1 is Set */
-
-#define BITM_USB_EP_RXCSR_H_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_H_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_H_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_H_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_H_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_H_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Rx STALL */
-#define ENUM_USB_EP_RXCSR_H_NO_RXSTALL (_ADI_MSK(0x00000000,uint16_t)) /* RXSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXSTALL (_ADI_MSK(0x00000040,uint16_t)) /* RXSTALL: Stall Received from Device */
-
-#define BITM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* Request Packet */
-#define ENUM_USB_EP_RXCSR_H_NO_REQPKT (_ADI_MSK(0x00000000,uint16_t)) /* REQPKT: No Request */
-#define ENUM_USB_EP_RXCSR_H_REQPKT (_ADI_MSK(0x00000020,uint16_t)) /* REQPKT: Send IN Tokens to Device */
-
-#define BITM_USB_EP_RXCSR_H_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_H_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_H_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_H_NAKTODERR (_ADI_MSK(0x00000008,uint16_t)) /* NAK Timeout Data Error */
-#define ENUM_USB_EP_RXCSR_H_NO_NAKTO (_ADI_MSK(0x00000000,uint16_t)) /* NAKTODERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_NAKTO (_ADI_MSK(0x00000008,uint16_t)) /* NAKTODERR: NAK Timeout Data Error */
-
-#define BITM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* Rx Timeout Error */
-#define ENUM_USB_EP_RXCSR_H_NO_RXTOERR (_ADI_MSK(0x00000000,uint16_t)) /* RXTOERR: No Status */
-#define ENUM_USB_EP_RXCSR_H_RXTOERR (_ADI_MSK(0x00000004,uint16_t)) /* RXTOERR: Rx Timeout Error */
-
-#define BITM_USB_EP_RXCSR_H_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_H_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_H_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_H_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_H_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_H_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCSR_P Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCSR_P_AUTOCLR 15 /* Auto Clear Enable */
-#define BITP_USB_EP_RXCSR_P_ISO 14 /* Isochronous Transfers */
-#define BITP_USB_EP_RXCSR_P_DMAREQEN 13 /* DMA Request Enable Rx EP */
-#define BITP_USB_EP_RXCSR_P_DNYETPERR 12 /* Disable NYET Handshake */
-#define BITP_USB_EP_RXCSR_P_DMAREQMODE 11 /* DMA Mode Select */
-#define BITP_USB_EP_RXCSR_P_INCOMPRX 8 /* Incomplete Rx */
-#define BITP_USB_EP_RXCSR_P_CLRDATATGL 7 /* Clear Endpoint Data Toggle */
-#define BITP_USB_EP_RXCSR_P_SENTSTALL 6 /* Sent STALL */
-#define BITP_USB_EP_RXCSR_P_SENDSTALL 5 /* Send STALL */
-#define BITP_USB_EP_RXCSR_P_FLUSHFIFO 4 /* Flush Endpoint FIFO */
-#define BITP_USB_EP_RXCSR_P_DATAERR 3 /* Data Error */
-#define BITP_USB_EP_RXCSR_P_ORUNERR 2 /* OUT Run Error */
-#define BITP_USB_EP_RXCSR_P_FIFOFULL 1 /* FIFO Full */
-#define BITP_USB_EP_RXCSR_P_RXPKTRDY 0 /* Rx Packet Ready */
-
-#define BITM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* Auto Clear Enable */
-#define ENUM_USB_EP_RXCSR_P_NO_AUTOCLR (_ADI_MSK(0x00000000,uint16_t)) /* AUTOCLR: Disable Auto Clear */
-#define ENUM_USB_EP_RXCSR_P_AUTOCLR (_ADI_MSK(0x00008000,uint16_t)) /* AUTOCLR: Enable Auto Clear */
-
-#define BITM_USB_EP_RXCSR_P_ISO (_ADI_MSK(0x00004000,uint16_t)) /* Isochronous Transfers */
-#define ENUM_USB_EP_RXCSR_P_ISODIS (_ADI_MSK(0x00000000,uint16_t)) /* ISO: This bit should be cleared for bulk or interrupt transfers. */
-#define ENUM_USB_EP_RXCSR_P_ISOEN (_ADI_MSK(0x00004000,uint16_t)) /* ISO: This bit should be set for isochronous transfers. */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMA Request Enable Rx EP */
-#define ENUM_USB_EP_RXCSR_P_DMAREQDIS (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQEN: Disable DMA Request */
-#define ENUM_USB_EP_RXCSR_P_DMAREQEN (_ADI_MSK(0x00002000,uint16_t)) /* DMAREQEN: Enable DMA Request */
-
-#define BITM_USB_EP_RXCSR_P_DNYETPERR (_ADI_MSK(0x00001000,uint16_t)) /* Disable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERREN (_ADI_MSK(0x00000000,uint16_t)) /* DNYETPERR: Enable NYET Handshake */
-#define ENUM_USB_EP_RXCSR_P_DNYTERRDIS (_ADI_MSK(0x00001000,uint16_t)) /* DNYETPERR: Disable NYET Handshake */
-
-#define BITM_USB_EP_RXCSR_P_DMAREQMODE (_ADI_MSK(0x00000800,uint16_t)) /* DMA Mode Select */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* DMAREQMODE: DMA Request Mode 0 */
-#define ENUM_USB_EP_RXCSR_P_DMARQMODE1 (_ADI_MSK(0x00000800,uint16_t)) /* DMAREQMODE: DMA Request Mode 1 */
-
-#define BITM_USB_EP_RXCSR_P_INCOMPRX (_ADI_MSK(0x00000100,uint16_t)) /* Incomplete Rx */
-#define ENUM_USB_EP_RXCSR_P_NO_INCOMP (_ADI_MSK(0x00000000,uint16_t)) /* INCOMPRX: No Status */
-#define ENUM_USB_EP_RXCSR_P_INCOMP (_ADI_MSK(0x00000100,uint16_t)) /* INCOMPRX: Incomplete Rx */
-
-#define BITM_USB_EP_RXCSR_P_CLRDATATGL (_ADI_MSK(0x00000080,uint16_t)) /* Clear Endpoint Data Toggle */
-#define ENUM_USB_EP_RXCSR_P_NO_CLRTGL (_ADI_MSK(0x00000000,uint16_t)) /* CLRDATATGL: No Action */
-#define ENUM_USB_EP_RXCSR_P_CLRTGL (_ADI_MSK(0x00000080,uint16_t)) /* CLRDATATGL: Reset EP Data Toggle to 0 */
-
-#define BITM_USB_EP_RXCSR_P_SENTSTALL (_ADI_MSK(0x00000040,uint16_t)) /* Sent STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALSNT (_ADI_MSK(0x00000000,uint16_t)) /* SENTSTALL: No Status */
-#define ENUM_USB_EP_RXCSR_P_STALSNT (_ADI_MSK(0x00000040,uint16_t)) /* SENTSTALL: STALL Handshake Transmitted */
-
-#define BITM_USB_EP_RXCSR_P_SENDSTALL (_ADI_MSK(0x00000020,uint16_t)) /* Send STALL */
-#define ENUM_USB_EP_RXCSR_P_NO_STALL (_ADI_MSK(0x00000000,uint16_t)) /* SENDSTALL: No Action */
-#define ENUM_USB_EP_RXCSR_P_STALL (_ADI_MSK(0x00000020,uint16_t)) /* SENDSTALL: Request STALL Handshake */
-
-#define BITM_USB_EP_RXCSR_P_FLUSHFIFO (_ADI_MSK(0x00000010,uint16_t)) /* Flush Endpoint FIFO */
-#define ENUM_USB_EP_RXCSR_P_NO_FLUSH (_ADI_MSK(0x00000000,uint16_t)) /* FLUSHFIFO: No Flush */
-#define ENUM_USB_EP_RXCSR_P_FLUSH (_ADI_MSK(0x00000010,uint16_t)) /* FLUSHFIFO: Flush Endpoint FIFO */
-
-#define BITM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* Data Error */
-#define ENUM_USB_EP_RXCSR_P_NO_DATAERR (_ADI_MSK(0x00000000,uint16_t)) /* DATAERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_DATAERR (_ADI_MSK(0x00000008,uint16_t)) /* DATAERR: Data Error */
-
-#define BITM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* OUT Run Error */
-#define ENUM_USB_EP_RXCSR_P_NO_ORUNERR (_ADI_MSK(0x00000000,uint16_t)) /* ORUNERR: No Status */
-#define ENUM_USB_EP_RXCSR_P_ORUNERR (_ADI_MSK(0x00000004,uint16_t)) /* ORUNERR: OUT Run Error */
-
-#define BITM_USB_EP_RXCSR_P_FIFOFULL (_ADI_MSK(0x00000002,uint16_t)) /* FIFO Full */
-#define ENUM_USB_EP_RXCSR_P_NO_FIFOFUL (_ADI_MSK(0x00000000,uint16_t)) /* FIFOFULL: No Status */
-#define ENUM_USB_EP_RXCSR_P_FIFOFUL (_ADI_MSK(0x00000002,uint16_t)) /* FIFOFULL: FIFO Full */
-
-#define BITM_USB_EP_RXCSR_P_RXPKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* Rx Packet Ready */
-#define ENUM_USB_EP_RXCSR_P_NO_PKTRDY (_ADI_MSK(0x00000000,uint16_t)) /* RXPKTRDY: No Rx Packet */
-#define ENUM_USB_EP_RXCSR_P_PKTRDY (_ADI_MSK(0x00000001,uint16_t)) /* RXPKTRDY: Rx Packet in Endpoint FIFO */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CNT_RXCNT 0 /* Rx Byte Count Value */
-#define BITM_USB_EP0_CNT_RXCNT (_ADI_MSK(0x0000007F,uint16_t)) /* Rx Byte Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXCNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXCNT_EPRXCNT 0 /* EP Rx Count */
-#define BITM_USB_EP_RXCNT_EPRXCNT (_ADI_MSK(0x00003FFF,uint16_t)) /* EP Rx Count */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_TYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_TYPE_SPEED 0 /* Speed of Operation Value */
-#define BITM_USB_EP0_TYPE_SPEED (_ADI_MSK(0x00000003,uint8_t)) /* Speed of Operation Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_TXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_TXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_TXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_TXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_TXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_TXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_TXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_TXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_TXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_TXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_TXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_TXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_TXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_TXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_TXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_TXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_TXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_TXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_TXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_TXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_TXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_TXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_TXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_TXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_TXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_TXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_TXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_TXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_TXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_TXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_TXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_NAKLIMIT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_NAKLIMIT_VALUE 0 /* Endpoint 0 Timeout Value (in Frames) */
-#define BITM_USB_EP0_NAKLIMIT_VALUE (_ADI_MSK(0x0000001F,uint8_t)) /* Endpoint 0 Timeout Value (in Frames) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP_RXTYPE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP_RXTYPE_SPEED 6 /* Speed of Operation Value */
-#define BITP_USB_EP_RXTYPE_PROTOCOL 4 /* Protocol for Transfer */
-#define BITP_USB_EP_RXTYPE_TGTEP 0 /* Target Endpoint Number */
-
-#define BITM_USB_EP_RXTYPE_SPEED (_ADI_MSK(0x000000C0,uint8_t)) /* Speed of Operation Value */
-#define ENUM_USB_EP_RXTYPE_UNUSED (_ADI_MSK(0x00000000,uint8_t)) /* SPEED: Same Speed as the Core */
-#define ENUM_USB_EP_RXTYPE_HIGHSPEED (_ADI_MSK(0x00000040,uint8_t)) /* SPEED: High Speed */
-#define ENUM_USB_EP_RXTYPE_FULLSPEED (_ADI_MSK(0x00000080,uint8_t)) /* SPEED: Full Speed */
-#define ENUM_USB_EP_RXTYPE_LOWSPEED (_ADI_MSK(0x000000C0,uint8_t)) /* SPEED: Low Speed */
-
-#define BITM_USB_EP_RXTYPE_PROTOCOL (_ADI_MSK(0x00000030,uint8_t)) /* Protocol for Transfer */
-#define ENUM_USB_EP_RXTYPE_CONTROL (_ADI_MSK(0x00000000,uint8_t)) /* PROTOCOL: Control */
-#define ENUM_USB_EP_RXTYPE_ISO (_ADI_MSK(0x00000010,uint8_t)) /* PROTOCOL: Isochronous */
-#define ENUM_USB_EP_RXTYPE_BULK (_ADI_MSK(0x00000020,uint8_t)) /* PROTOCOL: Bulk */
-#define ENUM_USB_EP_RXTYPE_INT (_ADI_MSK(0x00000030,uint8_t)) /* PROTOCOL: Interrupt */
-
-#define BITM_USB_EP_RXTYPE_TGTEP (_ADI_MSK(0x0000000F,uint8_t)) /* Target Endpoint Number */
-#define ENUM_USB_EP_RXTYPE_TGTEP0 (_ADI_MSK(0x00000000,uint8_t)) /* TGTEP: Endpoint 0 */
-#define ENUM_USB_EP_RXTYPE_TGTEP1 (_ADI_MSK(0x00000001,uint8_t)) /* TGTEP: Endpoint 1 */
-#define ENUM_USB_EP_RXTYPE_TGTEP10 (_ADI_MSK(0x0000000A,uint8_t)) /* TGTEP: Endpoint 10 */
-#define ENUM_USB_EP_RXTYPE_TGTEP11 (_ADI_MSK(0x0000000B,uint8_t)) /* TGTEP: Endpoint 11 */
-#define ENUM_USB_EP_RXTYPE_TGTEP12 (_ADI_MSK(0x0000000C,uint8_t)) /* TGTEP: Endpoint 12 */
-#define ENUM_USB_EP_RXTYPE_TGTEP13 (_ADI_MSK(0x0000000D,uint8_t)) /* TGTEP: Endpoint 13 */
-#define ENUM_USB_EP_RXTYPE_TGTEP14 (_ADI_MSK(0x0000000E,uint8_t)) /* TGTEP: Endpoint 14 */
-#define ENUM_USB_EP_RXTYPE_TGTEP15 (_ADI_MSK(0x0000000F,uint8_t)) /* TGTEP: Endpoint 15 */
-#define ENUM_USB_EP_RXTYPE_TGTEP2 (_ADI_MSK(0x00000002,uint8_t)) /* TGTEP: Endpoint 2 */
-#define ENUM_USB_EP_RXTYPE_TGTEP3 (_ADI_MSK(0x00000003,uint8_t)) /* TGTEP: Endpoint 3 */
-#define ENUM_USB_EP_RXTYPE_TGTEP4 (_ADI_MSK(0x00000004,uint8_t)) /* TGTEP: Endpoint 4 */
-#define ENUM_USB_EP_RXTYPE_TGTEP5 (_ADI_MSK(0x00000005,uint8_t)) /* TGTEP: Endpoint 5 */
-#define ENUM_USB_EP_RXTYPE_TGTEP6 (_ADI_MSK(0x00000006,uint8_t)) /* TGTEP: Endpoint 6 */
-#define ENUM_USB_EP_RXTYPE_TGTEP7 (_ADI_MSK(0x00000007,uint8_t)) /* TGTEP: Endpoint 7 */
-#define ENUM_USB_EP_RXTYPE_TGTEP8 (_ADI_MSK(0x00000008,uint8_t)) /* TGTEP: Endpoint 8 */
-#define ENUM_USB_EP_RXTYPE_TGTEP9 (_ADI_MSK(0x00000009,uint8_t)) /* TGTEP: Endpoint 9 */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_EP0_CFGDATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_EP0_CFGDATA_MPRX 7 /* Multi-Packet Aggregate for Rx Enable */
-#define BITP_USB_EP0_CFGDATA_MPTX 6 /* Multi-Packet Split for Tx Enable */
-#define BITP_USB_EP0_CFGDATA_BIGEND 5 /* Big Endian Data */
-#define BITP_USB_EP0_CFGDATA_HBRX 4 /* High Bandwidth Rx Enable */
-#define BITP_USB_EP0_CFGDATA_HBTX 3 /* High Bandwidth Tx Enable */
-#define BITP_USB_EP0_CFGDATA_DYNFIFO 2 /* Dynamic FIFO Size Enable */
-#define BITP_USB_EP0_CFGDATA_SOFTCON 1 /* Soft Connect Enable */
-#define BITP_USB_EP0_CFGDATA_UTMIWID 0 /* UTMI Data Width */
-
-#define BITM_USB_EP0_CFGDATA_MPRX (_ADI_MSK(0x00000080,uint8_t)) /* Multi-Packet Aggregate for Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPRX: No Aggregate Rx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPRXEN (_ADI_MSK(0x00000080,uint8_t)) /* MPRX: Aggregate Rx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_MPTX (_ADI_MSK(0x00000040,uint8_t)) /* Multi-Packet Split for Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_MPTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* MPTX: No Split Tx Bulk Packets */
-#define ENUM_USB_EP0_CFGDATA_MPTXEN (_ADI_MSK(0x00000040,uint8_t)) /* MPTX: Split Tx Bulk Packets */
-
-#define BITM_USB_EP0_CFGDATA_BIGEND (_ADI_MSK(0x00000020,uint8_t)) /* Big Endian Data */
-#define ENUM_USB_EP0_CFGDATA_BIGENDDIS (_ADI_MSK(0x00000000,uint8_t)) /* BIGEND: Little Endian Configuration */
-#define ENUM_USB_EP0_CFGDATA_BIGENDEN (_ADI_MSK(0x00000020,uint8_t)) /* BIGEND: Big Endian Configuration */
-
-#define BITM_USB_EP0_CFGDATA_HBRX (_ADI_MSK(0x00000010,uint8_t)) /* High Bandwidth Rx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBRXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBRX: No High Bandwidth Rx */
-#define ENUM_USB_EP0_CFGDATA_HBRXEN (_ADI_MSK(0x00000010,uint8_t)) /* HBRX: High Bandwidth Rx */
-
-#define BITM_USB_EP0_CFGDATA_HBTX (_ADI_MSK(0x00000008,uint8_t)) /* High Bandwidth Tx Enable */
-#define ENUM_USB_EP0_CFGDATA_HBTXDIS (_ADI_MSK(0x00000000,uint8_t)) /* HBTX: No High Bandwidth Tx */
-#define ENUM_USB_EP0_CFGDATA_HBTXEN (_ADI_MSK(0x00000008,uint8_t)) /* HBTX: High Bandwidth Tx */
-
-#define BITM_USB_EP0_CFGDATA_DYNFIFO (_ADI_MSK(0x00000004,uint8_t)) /* Dynamic FIFO Size Enable */
-#define ENUM_USB_EP0_CFGDATA_DYNSZDIS (_ADI_MSK(0x00000000,uint8_t)) /* DYNFIFO: No Dynamic FIFO Size */
-#define ENUM_USB_EP0_CFGDATA_DYNSZEN (_ADI_MSK(0x00000004,uint8_t)) /* DYNFIFO: Dynamic FIFO Size */
-
-#define BITM_USB_EP0_CFGDATA_SOFTCON (_ADI_MSK(0x00000002,uint8_t)) /* Soft Connect Enable */
-#define ENUM_USB_EP0_CFGDATA_SFTCONDIS (_ADI_MSK(0x00000000,uint8_t)) /* SOFTCON: No Soft Connect */
-#define ENUM_USB_EP0_CFGDATA_SFTCONEN (_ADI_MSK(0x00000002,uint8_t)) /* SOFTCON: Soft Connect */
-
-#define BITM_USB_EP0_CFGDATA_UTMIWID (_ADI_MSK(0x00000001,uint8_t)) /* UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID8 (_ADI_MSK(0x00000000,uint8_t)) /* UTMIWID: 8-bit UTMI Data Width */
-#define ENUM_USB_EP0_CFGDATA_UTMIWID16 (_ADI_MSK(0x00000001,uint8_t)) /* UTMIWID: 16-bit UTMI Data Width */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_IRQ_D7 7 /* DMA 7 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D6 6 /* DMA 6 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D5 5 /* DMA 5 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D4 4 /* DMA 4 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D3 3 /* DMA 3 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D2 2 /* DMA 2 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D1 1 /* DMA 1 Interrupt Pending Status */
-#define BITP_USB_DMA_IRQ_D0 0 /* DMA 0 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D7 (_ADI_MSK(0x00000080,uint8_t)) /* DMA 7 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D6 (_ADI_MSK(0x00000040,uint8_t)) /* DMA 6 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D5 (_ADI_MSK(0x00000020,uint8_t)) /* DMA 5 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D4 (_ADI_MSK(0x00000010,uint8_t)) /* DMA 4 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D3 (_ADI_MSK(0x00000008,uint8_t)) /* DMA 3 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D2 (_ADI_MSK(0x00000004,uint8_t)) /* DMA 2 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D1 (_ADI_MSK(0x00000002,uint8_t)) /* DMA 1 Interrupt Pending Status */
-#define BITM_USB_DMA_IRQ_D0 (_ADI_MSK(0x00000001,uint8_t)) /* DMA 0 Interrupt Pending Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_DMA_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_DMA_CTL_BRSTM 9 /* Burst Mode */
-#define BITP_USB_DMA_CTL_ERR 8 /* Bus Error */
-#define BITP_USB_DMA_CTL_EP 4 /* DMA Channel Endpoint Assignment */
-#define BITP_USB_DMA_CTL_IE 3 /* DMA Interrupt Enable */
-#define BITP_USB_DMA_CTL_MODE 2 /* DMA Mode */
-#define BITP_USB_DMA_CTL_DIR 1 /* DMA Transfer Direction */
-#define BITP_USB_DMA_CTL_EN 0 /* DMA Enable */
-
-#define BITM_USB_DMA_CTL_BRSTM (_ADI_MSK(0x00000600,uint16_t)) /* Burst Mode */
-#define ENUM_USB_DMA_CTL_BRSTM00 (_ADI_MSK(0x00000000,uint16_t)) /* BRSTM: Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM01 (_ADI_MSK(0x00000200,uint16_t)) /* BRSTM: INCR4 or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM10 (_ADI_MSK(0x00000400,uint16_t)) /* BRSTM: INCR8, INCR4, or Unspecified Length */
-#define ENUM_USB_DMA_CTL_BRSTM11 (_ADI_MSK(0x00000600,uint16_t)) /* BRSTM: INCR16, INCR8, INCR4, or Unspecified Length */
-
-#define BITM_USB_DMA_CTL_ERR (_ADI_MSK(0x00000100,uint16_t)) /* Bus Error */
-#define ENUM_USB_DMA_CTL_NO_DMAERR (_ADI_MSK(0x00000000,uint16_t)) /* ERR: No Status */
-#define ENUM_USB_DMA_CTL_DMAERR (_ADI_MSK(0x00000100,uint16_t)) /* ERR: Bus Error */
-
-#define BITM_USB_DMA_CTL_EP (_ADI_MSK(0x000000F0,uint16_t)) /* DMA Channel Endpoint Assignment */
-#define ENUM_USB_DMA_CTL_DMAEP0 (_ADI_MSK(0x00000000,uint16_t)) /* EP: Endpoint 0 */
-#define ENUM_USB_DMA_CTL_DMAEP1 (_ADI_MSK(0x00000010,uint16_t)) /* EP: Endpoint 1 */
-#define ENUM_USB_DMA_CTL_DMAEP10 (_ADI_MSK(0x000000A0,uint16_t)) /* EP: Endpoint 10 */
-#define ENUM_USB_DMA_CTL_DMAEP11 (_ADI_MSK(0x000000B0,uint16_t)) /* EP: Endpoint 11 */
-#define ENUM_USB_DMA_CTL_DMAEP12 (_ADI_MSK(0x000000C0,uint16_t)) /* EP: Endpoint 12 */
-#define ENUM_USB_DMA_CTL_DMAEP13 (_ADI_MSK(0x000000D0,uint16_t)) /* EP: Endpoint 13 */
-#define ENUM_USB_DMA_CTL_DMAEP14 (_ADI_MSK(0x000000E0,uint16_t)) /* EP: Endpoint 14 */
-#define ENUM_USB_DMA_CTL_DMAEP15 (_ADI_MSK(0x000000F0,uint16_t)) /* EP: Endpoint 15 */
-#define ENUM_USB_DMA_CTL_DMAEP2 (_ADI_MSK(0x00000020,uint16_t)) /* EP: Endpoint 2 */
-#define ENUM_USB_DMA_CTL_DMAEP3 (_ADI_MSK(0x00000030,uint16_t)) /* EP: Endpoint 3 */
-#define ENUM_USB_DMA_CTL_DMAEP4 (_ADI_MSK(0x00000040,uint16_t)) /* EP: Endpoint 4 */
-#define ENUM_USB_DMA_CTL_DMAEP5 (_ADI_MSK(0x00000050,uint16_t)) /* EP: Endpoint 5 */
-#define ENUM_USB_DMA_CTL_DMAEP6 (_ADI_MSK(0x00000060,uint16_t)) /* EP: Endpoint 6 */
-#define ENUM_USB_DMA_CTL_DMAEP7 (_ADI_MSK(0x00000070,uint16_t)) /* EP: Endpoint 7 */
-#define ENUM_USB_DMA_CTL_DMAEP8 (_ADI_MSK(0x00000080,uint16_t)) /* EP: Endpoint 8 */
-#define ENUM_USB_DMA_CTL_DMAEP9 (_ADI_MSK(0x00000090,uint16_t)) /* EP: Endpoint 9 */
-
-#define BITM_USB_DMA_CTL_IE (_ADI_MSK(0x00000008,uint16_t)) /* DMA Interrupt Enable */
-#define ENUM_USB_DMA_CTL_DMAINTDIS (_ADI_MSK(0x00000000,uint16_t)) /* IE: Disable Interrupt */
-#define ENUM_USB_DMA_CTL_DMAINTEN (_ADI_MSK(0x00000008,uint16_t)) /* IE: Enable Interrupt */
-
-#define BITM_USB_DMA_CTL_MODE (_ADI_MSK(0x00000004,uint16_t)) /* DMA Mode */
-#define ENUM_USB_DMA_CTL_DMAMODE0 (_ADI_MSK(0x00000000,uint16_t)) /* MODE: DMA Mode 0 */
-#define ENUM_USB_DMA_CTL_DMAMODE1 (_ADI_MSK(0x00000004,uint16_t)) /* MODE: DMA Mode 1 */
-
-#define BITM_USB_DMA_CTL_DIR (_ADI_MSK(0x00000002,uint16_t)) /* DMA Transfer Direction */
-#define ENUM_USB_DMA_CTL_DMADIR_RX (_ADI_MSK(0x00000000,uint16_t)) /* DIR: DMA Write (for Rx Endpoint) */
-#define ENUM_USB_DMA_CTL_DMADIR_TX (_ADI_MSK(0x00000002,uint16_t)) /* DIR: DMA Read (for Tx Endpoint) */
-
-#define BITM_USB_DMA_CTL_EN (_ADI_MSK(0x00000001,uint16_t)) /* DMA Enable */
-#define ENUM_USB_DMA_CTL_DMADIS (_ADI_MSK(0x00000000,uint16_t)) /* EN: Disable DMA */
-#define ENUM_USB_DMA_CTL_DMAEN (_ADI_MSK(0x00000001,uint16_t)) /* EN: Enable DMA (Start Transfer) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_UCH Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_UCH_VALUE 0 /* Chirp Timeout Value */
-#define BITM_USB_CT_UCH_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Chirp Timeout Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HHSRTN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HHSRTN_VALUE 0 /* Host High Speed Return to Normal Value */
-#define BITM_USB_CT_HHSRTN_VALUE (_ADI_MSK(0x00007FFF,uint16_t)) /* Host High Speed Return to Normal Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_CT_HSBT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_CT_HSBT_VALUE 0 /* HS Timeout Adder */
-#define BITM_USB_CT_HSBT_VALUE (_ADI_MSK(0x0000000F,uint16_t)) /* HS Timeout Adder */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_ATTR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_ATTR_EP 12 /* Endpoint */
-#define BITP_USB_LPM_ATTR_RMTWAK 8 /* Remote Wakeup Enable */
-#define BITP_USB_LPM_ATTR_HIRD 4 /* Host Initiated Resume Duration */
-#define BITP_USB_LPM_ATTR_LINKSTATE 0 /* Link State */
-#define BITM_USB_LPM_ATTR_EP (_ADI_MSK(0x0000F000,uint16_t)) /* Endpoint */
-
-#define BITM_USB_LPM_ATTR_RMTWAK (_ADI_MSK(0x00000100,uint16_t)) /* Remote Wakeup Enable */
-#define ENUM_USB_LPM_ATTR_RMTWAKDIS (_ADI_MSK(0x00000000,uint16_t)) /* RMTWAK: Disable Remote Wakeup */
-#define ENUM_USB_LPM_ATTR_RMTWAKEN (_ADI_MSK(0x00000100,uint16_t)) /* RMTWAK: Enable Remote Wakeup */
-#define BITM_USB_LPM_ATTR_HIRD (_ADI_MSK(0x000000F0,uint16_t)) /* Host Initiated Resume Duration */
-
-#define BITM_USB_LPM_ATTR_LINKSTATE (_ADI_MSK(0x0000000F,uint16_t)) /* Link State */
-#define ENUM_USB_LPM_ATTR_LNKSTATE_SSL1 (_ADI_MSK(0x00000001,uint16_t)) /* LINKSTATE: Sleep State (L1) */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_CTL_NAK 4 /* LPM NAK Enable */
-#define BITP_USB_LPM_CTL_EN 2 /* LPM Enable */
-#define BITP_USB_LPM_CTL_RESUME 1 /* LPM Resume (Remote Wakeup) */
-#define BITP_USB_LPM_CTL_TX 0 /* LPM Transmit */
-#define BITM_USB_LPM_CTL_NAK (_ADI_MSK(0x00000010,uint8_t)) /* LPM NAK Enable */
-#define BITM_USB_LPM_CTL_EN (_ADI_MSK(0x0000000C,uint8_t)) /* LPM Enable */
-#define BITM_USB_LPM_CTL_RESUME (_ADI_MSK(0x00000002,uint8_t)) /* LPM Resume (Remote Wakeup) */
-#define BITM_USB_LPM_CTL_TX (_ADI_MSK(0x00000001,uint8_t)) /* LPM Transmit */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IEN Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IEN_LPMERR 5 /* LPM Error Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMRES 4 /* LPM Resume Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNC 3 /* LPM NYET Control Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMACK 2 /* LPM ACK Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMNY 1 /* LPM NYET Interrupt Enable */
-#define BITP_USB_LPM_IEN_LPMST 0 /* LPM STALL Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt Enable */
-#define BITM_USB_LPM_IEN_LPMST (_ADI_MSK(0x00000001,uint8_t)) /* LPM STALL Interrupt Enable */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_IRQ Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_IRQ_LPMERR 5 /* LPM Error Interrupt */
-#define BITP_USB_LPM_IRQ_LPMRES 4 /* LPM Resume Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNC 3 /* LPM NYET Control Interrupt */
-#define BITP_USB_LPM_IRQ_LPMACK 2 /* LPM ACK Interrupt */
-#define BITP_USB_LPM_IRQ_LPMNY 1 /* LPM NYET Interrupt */
-#define BITP_USB_LPM_IRQ_LPMST 0
-#define BITM_USB_LPM_IRQ_LPMERR (_ADI_MSK(0x00000020,uint8_t)) /* LPM Error Interrupt */
-#define BITM_USB_LPM_IRQ_LPMRES (_ADI_MSK(0x00000010,uint8_t)) /* LPM Resume Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNC (_ADI_MSK(0x00000008,uint8_t)) /* LPM NYET Control Interrupt */
-#define BITM_USB_LPM_IRQ_LPMACK (_ADI_MSK(0x00000004,uint8_t)) /* LPM ACK Interrupt */
-#define BITM_USB_LPM_IRQ_LPMNY (_ADI_MSK(0x00000002,uint8_t)) /* LPM NYET Interrupt */
-#define BITM_USB_LPM_IRQ_LPMST (_ADI_MSK(0x00000001,uint8_t))
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_LPM_FADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_LPM_FADDR_VALUE 0 /* Function Address Value */
-#define BITM_USB_LPM_FADDR_VALUE (_ADI_MSK(0x0000007F,uint8_t)) /* Function Address Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_VBUS_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_VBUS_CTL_DRV 4 /* VBUS Drive */
-#define BITP_USB_VBUS_CTL_DRVINT 3 /* VBUS Drive Interrupt */
-#define BITP_USB_VBUS_CTL_DRVIEN 2 /* VBUS Drive Interrupt Enable */
-#define BITP_USB_VBUS_CTL_DRVOD 1 /* VBUS Drive Open Drain */
-#define BITP_USB_VBUS_CTL_INVDRV 0 /* VBUS Invert Drive */
-#define BITM_USB_VBUS_CTL_DRV (_ADI_MSK(0x00000010,uint8_t)) /* VBUS Drive */
-#define BITM_USB_VBUS_CTL_DRVINT (_ADI_MSK(0x00000008,uint8_t)) /* VBUS Drive Interrupt */
-#define BITM_USB_VBUS_CTL_DRVIEN (_ADI_MSK(0x00000004,uint8_t)) /* VBUS Drive Interrupt Enable */
-#define BITM_USB_VBUS_CTL_DRVOD (_ADI_MSK(0x00000002,uint8_t)) /* VBUS Drive Open Drain */
-#define BITM_USB_VBUS_CTL_INVDRV (_ADI_MSK(0x00000001,uint8_t)) /* VBUS Invert Drive */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_BAT_CHG Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_BAT_CHG_DEDCHG 4 /* Dedicated Charging Port */
-#define BITP_USB_BAT_CHG_CHGDET 3 /* Charging Port Detected */
-#define BITP_USB_BAT_CHG_SNSCHGDET 2 /* Sense Charger Detection */
-#define BITP_USB_BAT_CHG_CONDET 1 /* Connected Detected */
-#define BITP_USB_BAT_CHG_SNSCONDET 0 /* Sense Connection Detection */
-#define BITM_USB_BAT_CHG_DEDCHG (_ADI_MSK(0x00000010,uint8_t)) /* Dedicated Charging Port */
-#define BITM_USB_BAT_CHG_CHGDET (_ADI_MSK(0x00000008,uint8_t)) /* Charging Port Detected */
-#define BITM_USB_BAT_CHG_SNSCHGDET (_ADI_MSK(0x00000004,uint8_t)) /* Sense Charger Detection */
-#define BITM_USB_BAT_CHG_CONDET (_ADI_MSK(0x00000002,uint8_t)) /* Connected Detected */
-#define BITM_USB_BAT_CHG_SNSCONDET (_ADI_MSK(0x00000001,uint8_t)) /* Sense Connection Detection */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PHY_CTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PHY_CTL_EN 7 /* PHY Enable */
-#define BITP_USB_PHY_CTL_RESTORE 1 /* Restore from Hibernate */
-#define BITP_USB_PHY_CTL_HIBER 0 /* Hibernate */
-#define BITM_USB_PHY_CTL_EN (_ADI_MSK(0x00000080,uint8_t)) /* PHY Enable */
-#define BITM_USB_PHY_CTL_RESTORE (_ADI_MSK(0x00000002,uint8_t)) /* Restore from Hibernate */
-#define BITM_USB_PHY_CTL_HIBER (_ADI_MSK(0x00000001,uint8_t)) /* Hibernate */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- USB_PLL_OSC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_USB_PLL_OSC_PLLMSEL 7 /* PLL Multiplier Select */
-#define BITP_USB_PLL_OSC_PLLM 1 /* PLL Multiplier Value */
-#define BITP_USB_PLL_OSC_DIVCLKIN 0 /* Divide CLKIN */
-#define BITM_USB_PLL_OSC_PLLMSEL (_ADI_MSK(0x00000080,uint16_t)) /* PLL Multiplier Select */
-#define BITM_USB_PLL_OSC_PLLM (_ADI_MSK(0x0000007E,uint16_t)) /* PLL Multiplier Value */
-#define BITM_USB_PLL_OSC_DIVCLKIN (_ADI_MSK(0x00000001,uint16_t)) /* Divide CLKIN */
-
-/* ==================================================
- Data Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1DM0
- ========================= */
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cacheability Protection Lookaside Buffer Status */
-#define DCPLB_FAULT_STATUS 0xFFE00008 /* Older definition or alias of above */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cacheability Protection Lookaside Buffer Fault Address */
-#define DCPLB_ADDR0 0xFFE00100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR1 0xFFE00104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR2 0xFFE00108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR3 0xFFE0010C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR4 0xFFE00110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR5 0xFFE00114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR6 0xFFE00118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR7 0xFFE0011C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR8 0xFFE00120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR9 0xFFE00124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR10 0xFFE00128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR11 0xFFE0012C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR12 0xFFE00130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR13 0xFFE00134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR14 0xFFE00138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_ADDR15 0xFFE0013C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define DCPLB_DATA0 0xFFE00200 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA1 0xFFE00204 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA2 0xFFE00208 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA3 0xFFE0020C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA4 0xFFE00210 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA5 0xFFE00214 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA6 0xFFE00218 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA7 0xFFE0021C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA8 0xFFE00220 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA9 0xFFE00224 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA10 0xFFE00228 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA11 0xFFE0022C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA12 0xFFE00230 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA13 0xFFE00234 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA14 0xFFE00238 /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DCPLB_DATA15 0xFFE0023C /* Cacheability Protection Lookaside Buffer Descriptor Data */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-#define L1DBNKA_PELOC 0xFFE00408 /* Data Bank A Parity Error Location */
-#define L1DBNKB_PELOC 0xFFE0040C /* Data Bank B Parity Error Location */
-
-/* =========================
- L1DM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- SRAM_BASE_ADDRESS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_SRAM_BASE_ADDRESS_ADDR 22 /* SRAM Base Address */
-#define BITM_SRAM_BASE_ADDRESS_ADDR (_ADI_MSK(0xFFC00000,uint32_t)) /* SRAM Base Address */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DMEM_CONTROL_PARCTL 15 /* L1 Scratch Parity Control */
-#define BITP_DMEM_CONTROL_PARSEL 14 /* L1 Scratch Parity Select */
-#define BITP_DMEM_CONTROL_PPREF1 13 /* DAG1 Port Preference */
-#define BITP_DMEM_CONTROL_PPREF0 12 /* DAG0 Port Preference */
-#define BITP_DMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_DMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_DMEM_CONTROL_DCBS 4 /* L1 Data Cache Bank Select */
-#define BITP_DMEM_CONTROL_CFG 2 /* Data Memory Configuration */
-#define BITP_DMEM_CONTROL_ENCPLB 1 /* Enable DCPLB */
-
-#define BITM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* L1 Scratch Parity Control */
-#define ENUM_DMEM_CONTROL_NO_PARCTL (_ADI_MSK(0x00000000,uint32_t)) /* PARCTL: No Parity Control (Normal Behavior for L1 RD / L1 WT) */
-#define ENUM_DMEM_CONTROL_PARCTL (_ADI_MSK(0x00008000,uint32_t)) /* PARCTL: Parity Control Enabled */
-#define BITM_DMEM_CONTROL_PARSEL (_ADI_MSK(0x00004000,uint32_t)) /* L1 Scratch Parity Select */
-
-#define BITM_DMEM_CONTROL_PPREF1 (_ADI_MSK(0x00002000,uint32_t)) /* DAG1 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF1A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF1B (_ADI_MSK(0x00002000,uint32_t)) /* PPREF1: DAG1 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_PPREF0 (_ADI_MSK(0x00001000,uint32_t)) /* DAG0 Port Preference */
-#define ENUM_DMEM_CONTROL_PPREF0A (_ADI_MSK(0x00000000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port A */
-#define ENUM_DMEM_CONTROL_PPREF0B (_ADI_MSK(0x00001000,uint32_t)) /* PPREF0: DAG0 Non-cacheable Fetches Use Port B */
-
-#define BITM_DMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_DMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_DMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_DMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_DMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_DMEM_CONTROL_DCBS (_ADI_MSK(0x00000010,uint32_t)) /* L1 Data Cache Bank Select */
-#define ENUM_DMEM_CONTROL_DCBS14 (_ADI_MSK(0x00000000,uint32_t)) /* DCBS: Address bit 14 used to select Bank A or B for cache access */
-#define ENUM_DMEM_CONTROL_DCBS23 (_ADI_MSK(0x00000010,uint32_t)) /* DCBS: Address bit 23 used to select Bank A or B for cache access */
-
-#define BITM_DMEM_CONTROL_CFG (_ADI_MSK(0x0000000C,uint32_t)) /* Data Memory Configuration */
-#define ENUM_DMEM_CONTROL_ASRAM_BSRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: A SRAM, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BSRAM (_ADI_MSK(0x00000008,uint32_t)) /* CFG: A Cache, B SRAM */
-#define ENUM_DMEM_CONTROL_ACACHE_BCACHE (_ADI_MSK(0x0000000C,uint32_t)) /* CFG: A Cache, B Cache */
-
-#define BITM_DMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable DCPLB */
-#define ENUM_DMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs Disabled */
-#define ENUM_DMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs Enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_DCPLB_STATUS_DAG 18 /* Access DAG */
-#define BITP_DCPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_DCPLB_STATUS_RW 16 /* Access Read/Write */
-#define BITP_DCPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_DCPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_DCPLB_STATUS_DAG (_ADI_MSK(0x00040000,uint32_t)) /* Access DAG */
-#define BITM_DCPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_DCPLB_STATUS_RW (_ADI_MSK(0x00010000,uint32_t)) /* Access Read/Write */
-#define BITM_DCPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_DCPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DCPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DCPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_DCPLB_DATA_WT 14 /* CPLB Write Through */
-#define BITP_DCPLB_DATA_L2_CHBL 13 /* CPLB L2 Cacheable */
-#define BITP_DCPLB_DATA_L1_CHBL 12 /* CPLB L1 Cacheable */
-#define BITP_DCPLB_DATA_DIRTY 7 /* CPLB DIRTY */
-#define BITP_DCPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_DCPLB_DATA_SWRITE 4 /* CPLB Supervisor Write */
-#define BITP_DCPLB_DATA_UWRITE 3 /* CPLB User Write */
-#define BITP_DCPLB_DATA_UREAD 2 /* CPLB User Read */
-#define BITP_DCPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_DCPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_DCPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_DCPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_DCPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_DCPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_DCPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_DCPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_DCPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_DCPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_DCPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* CPLB Write Through */
-#define ENUM_DCPLB_DATA_WB (_ADI_MSK(0x00000000,uint32_t)) /* WT: Write-back */
-#define ENUM_DCPLB_DATA_WT (_ADI_MSK(0x00004000,uint32_t)) /* WT: Write-through */
-
-#define BITM_DCPLB_DATA_L2_CHBL (_ADI_MSK(0x00002000,uint32_t)) /* CPLB L2 Cacheable */
-#define ENUM_DCPLB_DATA_L2CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L2CHBL: Non-cacheable in L2 */
-#define ENUM_DCPLB_DATA_L2CHBL_EN (_ADI_MSK(0x00002000,uint32_t)) /* L2CHBL: Cacheable in L2 */
-
-#define BITM_DCPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* CPLB L1 Cacheable */
-#define ENUM_DCPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_DCPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* CPLB DIRTY */
-#define ENUM_DCPLB_DATA_CLEAN (_ADI_MSK(0x00000000,uint32_t)) /* DIRTY: Clean */
-#define ENUM_DCPLB_DATA_DIRTY (_ADI_MSK(0x00000080,uint32_t)) /* DIRTY: Dirty */
-#define BITM_DCPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* CPLB Supervisor Write */
-#define ENUM_DCPLB_DATA_NO_SWRITE (_ADI_MSK(0x00000000,uint32_t)) /* SWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_SWRITE (_ADI_MSK(0x00000010,uint32_t)) /* SWRITE: Write Access Allowed (Supervisor Mode) */
-
-#define BITM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* CPLB User Write */
-#define ENUM_DCPLB_DATA_NO_UWRITE (_ADI_MSK(0x00000000,uint32_t)) /* UWRITE: No Write Access */
-#define ENUM_DCPLB_DATA_UWRITE (_ADI_MSK(0x00000008,uint32_t)) /* UWRITE: Write Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* CPLB User Read */
-#define ENUM_DCPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_DCPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_DCPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_DCPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_DCPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_DCPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid Entry */
-#define ENUM_DCPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- DTEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DTEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_DTEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_DTEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bit 11 */
-#define BITP_DTEST_COMMAND_IDSEL 24 /* Instruction/Data Access */
-#define BITP_DTEST_COMMAND_BNKSEL 23 /* Data Bank Access */
-#define BITP_DTEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_DTEST_COMMAND_SEL16K 14 /* Address bit 14 */
-#define BITP_DTEST_COMMAND_SET 5 /* Set Index */
-#define BITP_DTEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_DTEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_DTEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_DTEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_DTEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_DTEST_COMMAND_WAYSEL (_ADI_MSK(0x04000000,uint32_t)) /* Access Way/Instruction Address Bit 11 */
-#define BITM_DTEST_COMMAND_IDSEL (_ADI_MSK(0x01000000,uint32_t)) /* Instruction/Data Access */
-#define BITM_DTEST_COMMAND_BNKSEL (_ADI_MSK(0x00800000,uint32_t)) /* Data Bank Access */
-#define BITM_DTEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_DTEST_COMMAND_SEL16K (_ADI_MSK(0x00004000,uint32_t)) /* Address bit 14 */
-#define BITM_DTEST_COMMAND_SET (_ADI_MSK(0x000007E0,uint32_t)) /* Set Index */
-#define BITM_DTEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_DTEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_DTEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKA_PELOC_SCRATCH_MEM 12 /* Scratch Memory Parity Status */
-#define BITP_L1DBNKA_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_SCRATCH_MEM (_ADI_MSK(0x00001000,uint32_t)) /* Scratch Memory Parity Status */
-#define BITM_L1DBNKA_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1DBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1DBNKB_PELOC_TAGPAIR 8 /* Tag Parity Status */
-#define BITP_L1DBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1DBNKB_PELOC_TAGPAIR (_ADI_MSK(0x00000300,uint32_t)) /* Tag Parity Status */
-#define BITM_L1DBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Instruction Memory Unit Registers
- ================================================== */
-
-/* =========================
- L1IM0
- ========================= */
-#define IMEM_CONTROL 0xFFE01004 /* Instruction memory control */
-#define ICPLB_STATUS 0xFFE01008 /* Cacheability Protection Lookaside Buffer Status */
-#define CODE_FAULT_STATUS 0xFFE01008 /* Older definition or alias of above */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Cacheability Protection Lookaside Buffer Fault Address */
-#define CODE_FAULT_ADDR 0xFFE0100C /* Older definition or alias of above */
-#define ICPLB_ADDR0 0xFFE01100 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR1 0xFFE01104 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR2 0xFFE01108 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR3 0xFFE0110C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR4 0xFFE01110 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR5 0xFFE01114 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR6 0xFFE01118 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR7 0xFFE0111C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR8 0xFFE01120 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR9 0xFFE01124 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR10 0xFFE01128 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR11 0xFFE0112C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR12 0xFFE01130 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR13 0xFFE01134 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR14 0xFFE01138 /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_ADDR15 0xFFE0113C /* Cacheability Protection Lookaside Buffer Descriptor Address */
-#define ICPLB_DATA0 0xFFE01200 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA1 0xFFE01204 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA2 0xFFE01208 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA3 0xFFE0120C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA4 0xFFE01210 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA5 0xFFE01214 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA6 0xFFE01218 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA7 0xFFE0121C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA8 0xFFE01220 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA9 0xFFE01224 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA10 0xFFE01228 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA11 0xFFE0122C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA12 0xFFE01230 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA13 0xFFE01234 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA14 0xFFE01238 /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ICPLB_DATA15 0xFFE0123C /* Cacheability Protection Lookaside Buffer Descriptor Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-#define L1IBNKA_PELOC 0xFFE01408 /* Instruction Bank A Parity Error Location */
-#define L1IBNKB_PELOC 0xFFE0140C /* Instruction Bank B Parity Error Location */
-#define L1IBNKC_PELOC 0xFFE01410 /* Instruction Bank C Parity Error Location */
-
-/* =========================
- L1IM
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMEM_CONTROL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMEM_CONTROL_LRUPRIORST 13 /* LRU Priority Reset */
-#define BITP_IMEM_CONTROL_RDCHK 9 /* Read Parity Checking */
-#define BITP_IMEM_CONTROL_CBYPASS 8 /* Cache Bypass */
-#define BITP_IMEM_CONTROL_LOC 3 /* Cache Way Lock */
-#define BITP_IMEM_CONTROL_CFG 2 /* Configure L1 code memory as cache */
-#define BITP_IMEM_CONTROL_ENCPLB 1 /* Enable ICPLB */
-
-#define BITM_IMEM_CONTROL_LRUPRIORST (_ADI_MSK(0x00002000,uint32_t)) /* LRU Priority Reset */
-#define ENUM_IMEM_CONTROL_LRUPRIO_EN (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIORST: LRU Priority functionality is enabled */
-#define ENUM_IMEM_CONTROL_LRUPRIO_CLR (_ADI_MSK(0x00002000,uint32_t)) /* LRUPRIORST: All cached LRU priority bits are cleared */
-
-#define BITM_IMEM_CONTROL_RDCHK (_ADI_MSK(0x00000200,uint32_t)) /* Read Parity Checking */
-#define ENUM_IMEM_CONTROL_RDCHK_DIS (_ADI_MSK(0x00000000,uint32_t)) /* RDCHK: Read Parity Checking Disabled */
-#define ENUM_IMEM_CONTROL_RDCHK_EN (_ADI_MSK(0x00000200,uint32_t)) /* RDCHK: Read Parity Checking Enabled */
-
-#define BITM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* Cache Bypass */
-#define ENUM_IMEM_CONTROL_NO_CBYPASS (_ADI_MSK(0x00000000,uint32_t)) /* CBYPASS: Normal Cache Behavior */
-#define ENUM_IMEM_CONTROL_CBYPASS (_ADI_MSK(0x00000100,uint32_t)) /* CBYPASS: Cache Bypassed */
-
-#define BITM_IMEM_CONTROL_LOC (_ADI_MSK(0x00000078,uint32_t)) /* Cache Way Lock */
-#define ENUM_IMEM_CONTROL_WAYLOCK_NONE (_ADI_MSK(0x00000000,uint32_t)) /* LOC: All Ways Not Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_0 (_ADI_MSK(0x00000008,uint32_t)) /* LOC: Way3, Way2, Way1 Not Locked, Way0 Locked */
-#define ENUM_IMEM_CONTROL_WAYLOCK_ALL (_ADI_MSK(0x00000078,uint32_t)) /* LOC: All Ways Locked */
-
-#define BITM_IMEM_CONTROL_CFG (_ADI_MSK(0x00000004,uint32_t)) /* Configure L1 code memory as cache */
-#define ENUM_IMEM_CONTROL_CFG_SRAM (_ADI_MSK(0x00000000,uint32_t)) /* CFG: L1 Instruction Memory Configured as SRAM */
-#define ENUM_IMEM_CONTROL_CFG_CACHE (_ADI_MSK(0x00000004,uint32_t)) /* CFG: L1 Instruction Memory Configures as Cache */
-
-#define BITM_IMEM_CONTROL_ENCPLB (_ADI_MSK(0x00000002,uint32_t)) /* Enable ICPLB */
-#define ENUM_IMEM_CONTROL_CPLB_DIS (_ADI_MSK(0x00000000,uint32_t)) /* ENCPLB: CPLBs disabled */
-#define ENUM_IMEM_CONTROL_CPLB_EN (_ADI_MSK(0x00000002,uint32_t)) /* ENCPLB: CPLBs enabled */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_STATUS Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_STATUS_ILLADDR 19 /* Illegal Address */
-#define BITP_ICPLB_STATUS_MODE 17 /* Access Mode */
-#define BITP_ICPLB_STATUS_FAULT 0 /* Fault Status */
-#define BITM_ICPLB_STATUS_ILLADDR (_ADI_MSK(0x00080000,uint32_t)) /* Illegal Address */
-#define BITM_ICPLB_STATUS_MODE (_ADI_MSK(0x00020000,uint32_t)) /* Access Mode */
-#define BITM_ICPLB_STATUS_FAULT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Fault Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_ADDR Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_ADDR_ADDR 10 /* Address for match */
-#define BITM_ICPLB_ADDR_ADDR (_ADI_MSK(0xFFFFFC00,uint32_t)) /* Address for match */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ICPLB_DATA Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ICPLB_DATA_PSIZE 16 /* Page Size */
-#define BITP_ICPLB_DATA_L1_CHBL 12 /* L1 Cacheable */
-#define BITP_ICPLB_DATA_LRUPRIO 8 /* Least Recently Used Priority */
-#define BITP_ICPLB_DATA_L1SRAM 5 /* CPLB L1SRAM */
-#define BITP_ICPLB_DATA_UREAD 2 /* Allow User Read */
-#define BITP_ICPLB_DATA_LOCK 1 /* CPLB Lock */
-#define BITP_ICPLB_DATA_VALID 0 /* CPLB Valid */
-
-#define BITM_ICPLB_DATA_PSIZE (_ADI_MSK(0x00070000,uint32_t)) /* Page Size */
-#define ENUM_ICPLB_DATA_1KB (_ADI_MSK(0x00000000,uint32_t)) /* PSIZE: 1 KB Page Size */
-#define ENUM_ICPLB_DATA_4KB (_ADI_MSK(0x00010000,uint32_t)) /* PSIZE: 4 KB Page Size */
-#define ENUM_ICPLB_DATA_1MB (_ADI_MSK(0x00020000,uint32_t)) /* PSIZE: 1 MB Page Size */
-#define ENUM_ICPLB_DATA_4MB (_ADI_MSK(0x00030000,uint32_t)) /* PSIZE: 4 MB Page Size */
-#define ENUM_ICPLB_DATA_16KB (_ADI_MSK(0x00040000,uint32_t)) /* PSIZE: 16 KB Page Size */
-#define ENUM_ICPLB_DATA_64KB (_ADI_MSK(0x00050000,uint32_t)) /* PSIZE: 64 KB Page Size */
-#define ENUM_ICPLB_DATA_16MB (_ADI_MSK(0x00060000,uint32_t)) /* PSIZE: 16 MB Page Size */
-#define ENUM_ICPLB_DATA_64MB (_ADI_MSK(0x00070000,uint32_t)) /* PSIZE: 64 MB Page Size */
-
-#define BITM_ICPLB_DATA_L1_CHBL (_ADI_MSK(0x00001000,uint32_t)) /* L1 Cacheable */
-#define ENUM_ICPLB_DATA_L1CHBL_DIS (_ADI_MSK(0x00000000,uint32_t)) /* L1CHBL: Non-cacheable in L1 */
-#define ENUM_ICPLB_DATA_L1CHBL_EN (_ADI_MSK(0x00001000,uint32_t)) /* L1CHBL: Cacheable in L1 */
-
-#define BITM_ICPLB_DATA_LRUPRIO (_ADI_MSK(0x00000100,uint32_t)) /* Least Recently Used Priority */
-#define ENUM_ICPLB_DATA_LRUPRIO_LO (_ADI_MSK(0x00000000,uint32_t)) /* LRUPRIO: Low Importance */
-#define ENUM_ICPLB_DATA_LRUPRIO_HI (_ADI_MSK(0x00000100,uint32_t)) /* LRUPRIO: High Importance */
-#define BITM_ICPLB_DATA_L1SRAM (_ADI_MSK(0x00000020,uint32_t)) /* CPLB L1SRAM */
-
-#define BITM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* Allow User Read */
-#define ENUM_ICPLB_DATA_NO_UREAD (_ADI_MSK(0x00000000,uint32_t)) /* UREAD: No Read Access */
-#define ENUM_ICPLB_DATA_UREAD (_ADI_MSK(0x00000004,uint32_t)) /* UREAD: Read Access Allowed (User Mode) */
-
-#define BITM_ICPLB_DATA_LOCK (_ADI_MSK(0x00000002,uint32_t)) /* CPLB Lock */
-#define ENUM_ICPLB_DATA_REPLACEABLE (_ADI_MSK(0x00000000,uint32_t)) /* LOCK: Entry May Be Replaced */
-#define ENUM_ICPLB_DATA_LOCKED (_ADI_MSK(0x00000002,uint32_t)) /* LOCK: Entry Locked */
-
-#define BITM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* CPLB Valid */
-#define ENUM_ICPLB_DATA_INVALID (_ADI_MSK(0x00000000,uint32_t)) /* VALID: Invalid (disabled) CPLB Entry */
-#define ENUM_ICPLB_DATA_VALID (_ADI_MSK(0x00000001,uint32_t)) /* VALID: Valid (enabled) CPLB Entry */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ITEST_COMMAND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ITEST_COMMAND_PARCTL 30 /* Parity Control */
-#define BITP_ITEST_COMMAND_PARSEL 29 /* Parity Select */
-#define BITP_ITEST_COMMAND_WAYSEL 26 /* Access Way/Instruction Address Bits 11:10 */
-#define BITP_ITEST_COMMAND_SBNK 16 /* Subbank Access */
-#define BITP_ITEST_COMMAND_SET 5 /* Set Index */
-#define BITP_ITEST_COMMAND_DW 3 /* Double Word Index */
-#define BITP_ITEST_COMMAND_TAGSELB 2 /* Array Access */
-#define BITP_ITEST_COMMAND_RW 1 /* Read/Write Access */
-#define BITM_ITEST_COMMAND_PARCTL (_ADI_MSK(0x40000000,uint32_t)) /* Parity Control */
-#define BITM_ITEST_COMMAND_PARSEL (_ADI_MSK(0x20000000,uint32_t)) /* Parity Select */
-#define BITM_ITEST_COMMAND_WAYSEL (_ADI_MSK(0x0C000000,uint32_t)) /* Access Way/Instruction Address Bits 11:10 */
-#define BITM_ITEST_COMMAND_SBNK (_ADI_MSK(0x00030000,uint32_t)) /* Subbank Access */
-#define BITM_ITEST_COMMAND_SET (_ADI_MSK(0x000003E0,uint32_t)) /* Set Index */
-#define BITM_ITEST_COMMAND_DW (_ADI_MSK(0x00000018,uint32_t)) /* Double Word Index */
-#define BITM_ITEST_COMMAND_TAGSELB (_ADI_MSK(0x00000004,uint32_t)) /* Array Access */
-#define BITM_ITEST_COMMAND_RW (_ADI_MSK(0x00000002,uint32_t)) /* Read/Write Access */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKA_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKA_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKA_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKB_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKB_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKB_PELOC_MEMBLK (_ADI_MSK(0x000000FF,uint32_t)) /* Memory Parity Status */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- L1IBNKC_PELOC Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_L1IBNKC_PELOC_TAGPAIR 4 /* Tag Parity Status */
-#define BITP_L1IBNKC_PELOC_MEMBLK 0 /* Memory Parity Status */
-#define BITM_L1IBNKC_PELOC_TAGPAIR (_ADI_MSK(0x00000030,uint32_t)) /* Tag Parity Status */
-#define BITM_L1IBNKC_PELOC_MEMBLK (_ADI_MSK(0x0000000F,uint32_t)) /* Memory Parity Status */
-
-/* ==================================================
- Interrupt Controller Registers
- ================================================== */
-
-/* =========================
- ICU0
- ========================= */
-#define EVT0 0xFFE02000 /* Event Vector */
-#define EVT1 0xFFE02004 /* Event Vector */
-#define EVT2 0xFFE02008 /* Event Vector */
-#define EVT3 0xFFE0200C /* Event Vector */
-#define EVT4 0xFFE02010 /* Event Vector */
-#define EVT5 0xFFE02014 /* Event Vector */
-#define EVT6 0xFFE02018 /* Event Vector */
-#define EVT7 0xFFE0201C /* Event Vector */
-#define EVT8 0xFFE02020 /* Event Vector */
-#define EVT9 0xFFE02024 /* Event Vector */
-#define EVT10 0xFFE02028 /* Event Vector */
-#define EVT11 0xFFE0202C /* Event Vector */
-#define EVT12 0xFFE02030 /* Event Vector */
-#define EVT13 0xFFE02034 /* Event Vector */
-#define EVT14 0xFFE02038 /* Event Vector */
-#define EVT15 0xFFE0203C /* Event Vector */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupts Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-#define IPRIO 0xFFE02110 /* Interrupt Priority Register */
-#define CEC_SID 0xFFE02118 /* Core System Interrupt ID */
-
-/* =========================
- ICU
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- IMASK Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IMASK_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IMASK_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IMASK_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IMASK_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IMASK_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IMASK_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IMASK_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IMASK_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IMASK_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IMASK_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IMASK_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IMASK_UNMASKABLE 0 /* Unmaskable interrupts */
-#define BITM_IMASK_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IMASK_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IMASK_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IMASK_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IMASK_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IMASK_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IMASK_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IMASK_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IMASK_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IMASK_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IMASK_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IMASK_UNMASKABLE (_ADI_MSK(0x0000001F,uint32_t)) /* Unmaskable interrupts */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPEND Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPEND_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_IPEND_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_IPEND_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_IPEND_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_IPEND_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_IPEND_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_IPEND_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_IPEND_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_IPEND_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_IPEND_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_IPEND_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_IPEND_IRPTEN 4 /* Global interrupt enable bit position */
-#define BITP_IPEND_EVX 3 /* Exception bit position */
-#define BITP_IPEND_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_IPEND_RST 1 /* Reset interrupt bit position */
-#define BITP_IPEND_EMU 0 /* Emulator interrupt bit position */
-#define BITM_IPEND_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_IPEND_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_IPEND_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_IPEND_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_IPEND_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_IPEND_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_IPEND_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_IPEND_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_IPEND_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_IPEND_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_IPEND_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_IPEND_IRPTEN (_ADI_MSK(0x00000010,uint32_t)) /* Global interrupt enable bit position */
-#define BITM_IPEND_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_IPEND_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_IPEND_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_IPEND_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- ILAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_ILAT_IVG15 15 /* IVG15 interrupt bit position */
-#define BITP_ILAT_IVG14 14 /* IVG14 interrupt bit position */
-#define BITP_ILAT_IVG13 13 /* IVG13 interrupt bit position */
-#define BITP_ILAT_IVG12 12 /* IVG12 interrupt bit position */
-#define BITP_ILAT_IVG11 11 /* IVG11 interrupt bit position */
-#define BITP_ILAT_IVG10 10 /* IVG10 interrupt bit position */
-#define BITP_ILAT_IVG9 9 /* IVG9 interrupt bit position */
-#define BITP_ILAT_IVG8 8 /* IVG8 interrupt bit position */
-#define BITP_ILAT_IVG7 7 /* IVG7 interrupt bit position */
-#define BITP_ILAT_IVTMR 6 /* Timer interrupt bit position */
-#define BITP_ILAT_IVHW 5 /* Hardware Error interrupt bit position */
-#define BITP_ILAT_EVX 3 /* Exception bit position */
-#define BITP_ILAT_NMI 2 /* Non Maskable interrupt bit position */
-#define BITP_ILAT_RST 1 /* Reset interrupt bit position */
-#define BITP_ILAT_EMU 0 /* Emulator interrupt bit position */
-#define BITM_ILAT_IVG15 (_ADI_MSK(0x00008000,uint32_t)) /* IVG15 interrupt bit position */
-#define BITM_ILAT_IVG14 (_ADI_MSK(0x00004000,uint32_t)) /* IVG14 interrupt bit position */
-#define BITM_ILAT_IVG13 (_ADI_MSK(0x00002000,uint32_t)) /* IVG13 interrupt bit position */
-#define BITM_ILAT_IVG12 (_ADI_MSK(0x00001000,uint32_t)) /* IVG12 interrupt bit position */
-#define BITM_ILAT_IVG11 (_ADI_MSK(0x00000800,uint32_t)) /* IVG11 interrupt bit position */
-#define BITM_ILAT_IVG10 (_ADI_MSK(0x00000400,uint32_t)) /* IVG10 interrupt bit position */
-#define BITM_ILAT_IVG9 (_ADI_MSK(0x00000200,uint32_t)) /* IVG9 interrupt bit position */
-#define BITM_ILAT_IVG8 (_ADI_MSK(0x00000100,uint32_t)) /* IVG8 interrupt bit position */
-#define BITM_ILAT_IVG7 (_ADI_MSK(0x00000080,uint32_t)) /* IVG7 interrupt bit position */
-#define BITM_ILAT_IVTMR (_ADI_MSK(0x00000040,uint32_t)) /* Timer interrupt bit position */
-#define BITM_ILAT_IVHW (_ADI_MSK(0x00000020,uint32_t)) /* Hardware Error interrupt bit position */
-#define BITM_ILAT_EVX (_ADI_MSK(0x00000008,uint32_t)) /* Exception bit position */
-#define BITM_ILAT_NMI (_ADI_MSK(0x00000004,uint32_t)) /* Non Maskable interrupt bit position */
-#define BITM_ILAT_RST (_ADI_MSK(0x00000002,uint32_t)) /* Reset interrupt bit position */
-#define BITM_ILAT_EMU (_ADI_MSK(0x00000001,uint32_t)) /* Emulator interrupt bit position */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- IPRIO Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_IPRIO_IPRIO_MARK 0 /* Priority Watermark */
-#define BITM_IPRIO_IPRIO_MARK (_ADI_MSK(0x0000000F,uint32_t)) /* Priority Watermark */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- CEC_SID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_CEC_SID_SID 0 /* System Interrupt ID */
-#define BITM_CEC_SID_SID (_ADI_MSK(0x000000FF,uint32_t)) /* System Interrupt ID */
-
-/* ==================================================
- Core Timer Registers
- ================================================== */
-
-/* =========================
- TMR0
- ========================= */
-#define TCNTL 0xFFE03000 /* Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Timer Period Register */
-#define TSCALE 0xFFE03008 /* Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Timer Count Register */
-
-/* =========================
- TMR
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TCNTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TCNTL_INT 3 /* Interrupt Status (sticky) */
-#define BITP_TCNTL_AUTORLD 2 /* Auto Reload Enable */
-#define BITP_TCNTL_EN 1 /* Timer Enable */
-#define BITP_TCNTL_PWR 0 /* Low Power Mode Select */
-#define BITM_TCNTL_INT (_ADI_MSK(0x00000008,uint32_t)) /* Interrupt Status (sticky) */
-#define BITM_TCNTL_AUTORLD (_ADI_MSK(0x00000004,uint32_t)) /* Auto Reload Enable */
-#define BITM_TCNTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Timer Enable */
-#define BITM_TCNTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Low Power Mode Select */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TSCALE Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TSCALE_SCALE 0 /* Timer Scaling Value */
-#define BITM_TSCALE_SCALE (_ADI_MSK(0x000000FF,uint32_t)) /* Timer Scaling Value */
-
-/* ==================================================
- Debug Unit Registers
- ================================================== */
-
-/* =========================
- DBG0
- ========================= */
-#define DSPID 0xFFE05000 /* DSP Identification Register */
-
-/* =========================
- DBG
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- DSPID Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_DSPID_COMPANY 24 /* Analog Devices, Inc. */
-#define BITP_DSPID_MAJOR 16 /* Major Architectural Change */
-#define BITP_DSPID_COREID 0 /* Core ID */
-#define BITM_DSPID_COMPANY (_ADI_MSK(0xFF000000,uint32_t)) /* Analog Devices, Inc. */
-
-#define BITM_DSPID_MAJOR (_ADI_MSK(0x00FF0000,uint32_t)) /* Major Architectural Change */
-#define ENUM_DSPID_BF533 (_ADI_MSK(0x00040000,uint32_t)) /* MAJOR: ADSP-BF533 Core Compatible */
-#define BITM_DSPID_COREID (_ADI_MSK(0x000000FF,uint32_t)) /* Core ID */
-
-/* ==================================================
- Trace Unit Registers
- ================================================== */
-
-/* =========================
- TB0
- ========================= */
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* =========================
- TB
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFCTL_COMPRESS 3 /* Trace Buffer Compression */
-#define BITP_TBUFCTL_OVF 2 /* Trace Buffer Overflow */
-#define BITP_TBUFCTL_EN 1 /* Trace Buffer Enable */
-#define BITP_TBUFCTL_PWR 0 /* Trace Buffer Power */
-#define BITM_TBUFCTL_COMPRESS (_ADI_MSK(0x00000018,uint32_t)) /* Trace Buffer Compression */
-#define BITM_TBUFCTL_OVF (_ADI_MSK(0x00000004,uint32_t)) /* Trace Buffer Overflow */
-#define BITM_TBUFCTL_EN (_ADI_MSK(0x00000002,uint32_t)) /* Trace Buffer Enable */
-#define BITM_TBUFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Trace Buffer Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- TBUFSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_TBUFSTAT_CNT 0 /* Trace Buffer Count */
-#define BITM_TBUFSTAT_CNT (_ADI_MSK(0x0000001F,uint32_t)) /* Trace Buffer Count */
-
-/* ==================================================
- Watchpoint Unit Registers
- ================================================== */
-
-/* =========================
- WP0
- ========================= */
-#define WPIACTL 0xFFE07000 /* Watchpoint Instruction Address Control Register 01 */
-#define WPIA0 0xFFE07040 /* Watchpoint Instruction Address Register */
-#define WPIA1 0xFFE07044 /* Watchpoint Instruction Address Register */
-#define WPIA2 0xFFE07048 /* Watchpoint Instruction Address Register */
-#define WPIA3 0xFFE0704C /* Watchpoint Instruction Address Register */
-#define WPIA4 0xFFE07050 /* Watchpoint Instruction Address Register */
-#define WPIA5 0xFFE07054 /* Watchpoint Instruction Address Register */
-#define WPIACNT0 0xFFE07080 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT1 0xFFE07084 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT2 0xFFE07088 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT3 0xFFE0708C /* Watchpoint Instruction Address Count Register */
-#define WPIACNT4 0xFFE07090 /* Watchpoint Instruction Address Count Register */
-#define WPIACNT5 0xFFE07094 /* Watchpoint Instruction Address Count Register */
-#define WPDACTL 0xFFE07100 /* Watchpoint Data Address Control Register */
-#define WPDA0 0xFFE07140 /* Watchpoint Data Address Register */
-#define WPDA1 0xFFE07144 /* Watchpoint Data Address Register */
-#define WPDACNT0 0xFFE07180 /* Watchpoint Data Address Count Value Register */
-#define WPDACNT1 0xFFE07184 /* Watchpoint Data Address Count Value Register */
-#define WPSTAT 0xFFE07200 /* Watchpoint Status Register */
-
-/* =========================
- WP
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACTL_WPAND 25 /* And Triggers */
-#define BITP_WPIACTL_ACT5 24 /* Action field for WPIA5 */
-#define BITP_WPIACTL_ACT4 23 /* Action field for WPIA4 */
-#define BITP_WPIACTL_ENCNT5 22 /* Enable Counter for WPIA5 */
-#define BITP_WPIACTL_ENCNT4 21 /* Enable Counter for WPIA4 */
-#define BITP_WPIACTL_ENIA5 20 /* Enable WPIA5 */
-#define BITP_WPIACTL_ENIA4 19 /* Enable WPIA4 */
-#define BITP_WPIACTL_INVIR45 18 /* Invert Instruction Range 45 */
-#define BITP_WPIACTL_ENIR45 17 /* Enable Instruction Range 45 */
-#define BITP_WPIACTL_ACT3 16 /* Action field for WPIA3 */
-#define BITP_WPIACTL_ACT2 15 /* Action field for WPIA2 */
-#define BITP_WPIACTL_ENCNT3 14 /* Enable Counter for WPIA3 */
-#define BITP_WPIACTL_ENCNT2 13 /* Enable Counter for WPIA2 */
-#define BITP_WPIACTL_ENIA3 12 /* Enable WPIA3 */
-#define BITP_WPIACTL_ENIA2 11 /* Enable WPIA2 */
-#define BITP_WPIACTL_INVIR23 10 /* Invert Instruction Range 23 */
-#define BITP_WPIACTL_ENIR23 9 /* Enable Instruction Range 23 */
-#define BITP_WPIACTL_ACT1 8 /* Action field for WPIA1 */
-#define BITP_WPIACTL_ACT0 7 /* Action field for WPIA0 */
-#define BITP_WPIACTL_ENCNT1 6 /* Enable Counter for WPIA1 */
-#define BITP_WPIACTL_ENCNT0 5 /* Enable Counter for WPIA0 */
-#define BITP_WPIACTL_ENIA1 4 /* Enable WPIA1 */
-#define BITP_WPIACTL_ENIA0 3 /* Enable WPIA0 */
-#define BITP_WPIACTL_INVIR01 2 /* Invert Instruction Range 01 */
-#define BITP_WPIACTL_ENIR01 1 /* Enable Instruction Range 01 */
-#define BITP_WPIACTL_PWR 0 /* Power */
-#define BITM_WPIACTL_WPAND (_ADI_MSK(0x02000000,uint32_t)) /* And Triggers */
-#define BITM_WPIACTL_ACT5 (_ADI_MSK(0x01000000,uint32_t)) /* Action field for WPIA5 */
-#define BITM_WPIACTL_ACT4 (_ADI_MSK(0x00800000,uint32_t)) /* Action field for WPIA4 */
-#define BITM_WPIACTL_ENCNT5 (_ADI_MSK(0x00400000,uint32_t)) /* Enable Counter for WPIA5 */
-#define BITM_WPIACTL_ENCNT4 (_ADI_MSK(0x00200000,uint32_t)) /* Enable Counter for WPIA4 */
-#define BITM_WPIACTL_ENIA5 (_ADI_MSK(0x00100000,uint32_t)) /* Enable WPIA5 */
-#define BITM_WPIACTL_ENIA4 (_ADI_MSK(0x00080000,uint32_t)) /* Enable WPIA4 */
-#define BITM_WPIACTL_INVIR45 (_ADI_MSK(0x00040000,uint32_t)) /* Invert Instruction Range 45 */
-#define BITM_WPIACTL_ENIR45 (_ADI_MSK(0x00020000,uint32_t)) /* Enable Instruction Range 45 */
-#define BITM_WPIACTL_ACT3 (_ADI_MSK(0x00010000,uint32_t)) /* Action field for WPIA3 */
-#define BITM_WPIACTL_ACT2 (_ADI_MSK(0x00008000,uint32_t)) /* Action field for WPIA2 */
-#define BITM_WPIACTL_ENCNT3 (_ADI_MSK(0x00004000,uint32_t)) /* Enable Counter for WPIA3 */
-#define BITM_WPIACTL_ENCNT2 (_ADI_MSK(0x00002000,uint32_t)) /* Enable Counter for WPIA2 */
-#define BITM_WPIACTL_ENIA3 (_ADI_MSK(0x00001000,uint32_t)) /* Enable WPIA3 */
-#define BITM_WPIACTL_ENIA2 (_ADI_MSK(0x00000800,uint32_t)) /* Enable WPIA2 */
-#define BITM_WPIACTL_INVIR23 (_ADI_MSK(0x00000400,uint32_t)) /* Invert Instruction Range 23 */
-#define BITM_WPIACTL_ENIR23 (_ADI_MSK(0x00000200,uint32_t)) /* Enable Instruction Range 23 */
-#define BITM_WPIACTL_ACT1 (_ADI_MSK(0x00000100,uint32_t)) /* Action field for WPIA1 */
-#define BITM_WPIACTL_ACT0 (_ADI_MSK(0x00000080,uint32_t)) /* Action field for WPIA0 */
-#define BITM_WPIACTL_ENCNT1 (_ADI_MSK(0x00000040,uint32_t)) /* Enable Counter for WPIA1 */
-#define BITM_WPIACTL_ENCNT0 (_ADI_MSK(0x00000020,uint32_t)) /* Enable Counter for WPIA0 */
-#define BITM_WPIACTL_ENIA1 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPIA1 */
-#define BITM_WPIACTL_ENIA0 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPIA0 */
-#define BITM_WPIACTL_INVIR01 (_ADI_MSK(0x00000004,uint32_t)) /* Invert Instruction Range 01 */
-#define BITM_WPIACTL_ENIR01 (_ADI_MSK(0x00000002,uint32_t)) /* Enable Instruction Range 01 */
-#define BITM_WPIACTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPIACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPIACNT_CNT 0 /* Count Value */
-#define BITM_WPIACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACTL_ACC1 12 /* Access type for WPDA1 */
-#define BITP_WPDACTL_SRC1 10 /* DAG Source for WPDA1 */
-#define BITP_WPDACTL_ACC0 8 /* Access type for WPDA0 */
-#define BITP_WPDACTL_SRC0 6 /* DAG Source for WPDA0 */
-#define BITP_WPDACTL_ENCNT1 5 /* Enable WPDA1 Counter */
-#define BITP_WPDACTL_ENCNT0 4 /* Enable WPDA0 Counter */
-#define BITP_WPDACTL_ENDA1 3 /* Enable WPDA1 */
-#define BITP_WPDACTL_ENDA0 2 /* Enable WPDA0 */
-#define BITP_WPDACTL_INVR 1 /* Invert Range Comparision */
-#define BITP_WPDACTL_ENR 0 /* Enable Range Comparison */
-#define BITM_WPDACTL_ACC1 (_ADI_MSK(0x00003000,uint32_t)) /* Access type for WPDA1 */
-#define BITM_WPDACTL_SRC1 (_ADI_MSK(0x00000C00,uint32_t)) /* DAG Source for WPDA1 */
-#define BITM_WPDACTL_ACC0 (_ADI_MSK(0x00000300,uint32_t)) /* Access type for WPDA0 */
-#define BITM_WPDACTL_SRC0 (_ADI_MSK(0x000000C0,uint32_t)) /* DAG Source for WPDA0 */
-#define BITM_WPDACTL_ENCNT1 (_ADI_MSK(0x00000020,uint32_t)) /* Enable WPDA1 Counter */
-#define BITM_WPDACTL_ENCNT0 (_ADI_MSK(0x00000010,uint32_t)) /* Enable WPDA0 Counter */
-#define BITM_WPDACTL_ENDA1 (_ADI_MSK(0x00000008,uint32_t)) /* Enable WPDA1 */
-#define BITM_WPDACTL_ENDA0 (_ADI_MSK(0x00000004,uint32_t)) /* Enable WPDA0 */
-#define BITM_WPDACTL_INVR (_ADI_MSK(0x00000002,uint32_t)) /* Invert Range Comparision */
-#define BITM_WPDACTL_ENR (_ADI_MSK(0x00000001,uint32_t)) /* Enable Range Comparison */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPDACNT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPDACNT_CNT 0 /* Count Value */
-#define BITM_WPDACNT_CNT (_ADI_MSK(0x0000FFFF,uint32_t)) /* Count Value */
-
-/* ------------------------------------------------------------------------------------------------------------------------
- WPSTAT Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_WPSTAT_DA1 7 /* WPDA1 match */
-#define BITP_WPSTAT_DA0 6 /* WPDA0 or WPDA0:1 range match */
-#define BITP_WPSTAT_IA5 5 /* WPIA5 match */
-#define BITP_WPSTAT_IA4 4 /* WPIA4 or WPIA4:5 range match */
-#define BITP_WPSTAT_IA3 3 /* WPIA3 match */
-#define BITP_WPSTAT_IA2 2 /* WPIA2 or WPIA2:3 range match */
-#define BITP_WPSTAT_IA1 1 /* WPIA1 match */
-#define BITP_WPSTAT_IA0 0 /* WPIA0 or WPIA0:1 range match */
-#define BITM_WPSTAT_DA1 (_ADI_MSK(0x00000080,uint32_t)) /* WPDA1 match */
-#define BITM_WPSTAT_DA0 (_ADI_MSK(0x00000040,uint32_t)) /* WPDA0 or WPDA0:1 range match */
-#define BITM_WPSTAT_IA5 (_ADI_MSK(0x00000020,uint32_t)) /* WPIA5 match */
-#define BITM_WPSTAT_IA4 (_ADI_MSK(0x00000010,uint32_t)) /* WPIA4 or WPIA4:5 range match */
-#define BITM_WPSTAT_IA3 (_ADI_MSK(0x00000008,uint32_t)) /* WPIA3 match */
-#define BITM_WPSTAT_IA2 (_ADI_MSK(0x00000004,uint32_t)) /* WPIA2 or WPIA2:3 range match */
-#define BITM_WPSTAT_IA1 (_ADI_MSK(0x00000002,uint32_t)) /* WPIA1 match */
-#define BITM_WPSTAT_IA0 (_ADI_MSK(0x00000001,uint32_t)) /* WPIA0 or WPIA0:1 range match */
-
-/* ==================================================
- Performance Monitor Registers
- ================================================== */
-
-/* =========================
- PF0
- ========================= */
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter 1 */
-
-/* =========================
- PF
- ========================= */
-/* ------------------------------------------------------------------------------------------------------------------------
- PFCTL Pos/Masks Description
- ------------------------------------------------------------------------------------------------------------------------ */
-#define BITP_PFCTL_CNT1 25 /* Count Cycles or Edges 1 */
-#define BITP_PFCTL_CNT0 24 /* Count Cycles or Edges 0 */
-#define BITP_PFCTL_MON1 16 /* Monitor 1 Events */
-#define BITP_PFCTL_ENA1 14 /* Enable Monitor 1 */
-#define BITP_PFCTL_EVENT1 13 /* Emulator or Exception Event 1 */
-#define BITP_PFCTL_MON0 5 /* Monitor 0 Events */
-#define BITP_PFCTL_ENA0 3 /* Enable Monitor 0 */
-#define BITP_PFCTL_EVENT0 2 /* Emulator or Exception Event 0 */
-#define BITP_PFCTL_PWR 0 /* Power */
-#define BITM_PFCTL_CNT1 (_ADI_MSK(0x02000000,uint32_t)) /* Count Cycles or Edges 1 */
-#define BITM_PFCTL_CNT0 (_ADI_MSK(0x01000000,uint32_t)) /* Count Cycles or Edges 0 */
-#define BITM_PFCTL_MON1 (_ADI_MSK(0x00FF0000,uint32_t)) /* Monitor 1 Events */
-#define BITM_PFCTL_ENA1 (_ADI_MSK(0x0000C000,uint32_t)) /* Enable Monitor 1 */
-#define BITM_PFCTL_EVENT1 (_ADI_MSK(0x00002000,uint32_t)) /* Emulator or Exception Event 1 */
-#define BITM_PFCTL_MON0 (_ADI_MSK(0x00001FE0,uint32_t)) /* Monitor 0 Events */
-#define BITM_PFCTL_ENA0 (_ADI_MSK(0x00000018,uint32_t)) /* Enable Monitor 0 */
-#define BITM_PFCTL_EVENT0 (_ADI_MSK(0x00000004,uint32_t)) /* Emulator or Exception Event 0 */
-#define BITM_PFCTL_PWR (_ADI_MSK(0x00000001,uint32_t)) /* Power */
-
-/* ==================================
- DMA Alias Definitions
- ================================== */
-#define SPORT0_A_DMA_DSCPTR_NXT (REG_DMA0_DSCPTR_NXT)
-#define SPORT0_A_DMA_ADDRSTART (REG_DMA0_ADDRSTART)
-#define SPORT0_A_DMA_CFG (REG_DMA0_CFG)
-#define SPORT0_A_DMA_XCNT (REG_DMA0_XCNT)
-#define SPORT0_A_DMA_XMOD (REG_DMA0_XMOD)
-#define SPORT0_A_DMA_YCNT (REG_DMA0_YCNT)
-#define SPORT0_A_DMA_YMOD (REG_DMA0_YMOD)
-#define SPORT0_A_DMA_DSCPTR_CUR (REG_DMA0_DSCPTR_CUR)
-#define SPORT0_A_DMA_DSCPTR_PRV (REG_DMA0_DSCPTR_PRV)
-#define SPORT0_A_DMA_ADDR_CUR (REG_DMA0_ADDR_CUR)
-#define SPORT0_A_DMA_STAT (REG_DMA0_STAT)
-#define SPORT0_A_DMA_XCNT_CUR (REG_DMA0_XCNT_CUR)
-#define SPORT0_A_DMA_YCNT_CUR (REG_DMA0_YCNT_CUR)
-#define SPORT0_A_DMA_BWLCNT (REG_DMA0_BWLCNT)
-#define SPORT0_A_DMA_BWLCNT_CUR (REG_DMA0_BWLCNT_CUR)
-#define SPORT0_A_DMA_BWMCNT (REG_DMA0_BWMCNT)
-#define SPORT0_A_DMA_BWMCNT_CUR (REG_DMA0_BWMCNT_CUR)
-#define SPORT0_B_DMA_DSCPTR_NXT (REG_DMA1_DSCPTR_NXT)
-#define SPORT0_B_DMA_ADDRSTART (REG_DMA1_ADDRSTART)
-#define SPORT0_B_DMA_CFG (REG_DMA1_CFG)
-#define SPORT0_B_DMA_XCNT (REG_DMA1_XCNT)
-#define SPORT0_B_DMA_XMOD (REG_DMA1_XMOD)
-#define SPORT0_B_DMA_YCNT (REG_DMA1_YCNT)
-#define SPORT0_B_DMA_YMOD (REG_DMA1_YMOD)
-#define SPORT0_B_DMA_DSCPTR_CUR (REG_DMA1_DSCPTR_CUR)
-#define SPORT0_B_DMA_DSCPTR_PRV (REG_DMA1_DSCPTR_PRV)
-#define SPORT0_B_DMA_ADDR_CUR (REG_DMA1_ADDR_CUR)
-#define SPORT0_B_DMA_STAT (REG_DMA1_STAT)
-#define SPORT0_B_DMA_XCNT_CUR (REG_DMA1_XCNT_CUR)
-#define SPORT0_B_DMA_YCNT_CUR (REG_DMA1_YCNT_CUR)
-#define SPORT0_B_DMA_BWLCNT (REG_DMA1_BWLCNT)
-#define SPORT0_B_DMA_BWLCNT_CUR (REG_DMA1_BWLCNT_CUR)
-#define SPORT0_B_DMA_BWMCNT (REG_DMA1_BWMCNT)
-#define SPORT0_B_DMA_BWMCNT_CUR (REG_DMA1_BWMCNT_CUR)
-#define SPORT1_A_DMA_DSCPTR_NXT (REG_DMA2_DSCPTR_NXT)
-#define SPORT1_A_DMA_ADDRSTART (REG_DMA2_ADDRSTART)
-#define SPORT1_A_DMA_CFG (REG_DMA2_CFG)
-#define SPORT1_A_DMA_XCNT (REG_DMA2_XCNT)
-#define SPORT1_A_DMA_XMOD (REG_DMA2_XMOD)
-#define SPORT1_A_DMA_YCNT (REG_DMA2_YCNT)
-#define SPORT1_A_DMA_YMOD (REG_DMA2_YMOD)
-#define SPORT1_A_DMA_DSCPTR_CUR (REG_DMA2_DSCPTR_CUR)
-#define SPORT1_A_DMA_DSCPTR_PRV (REG_DMA2_DSCPTR_PRV)
-#define SPORT1_A_DMA_ADDR_CUR (REG_DMA2_ADDR_CUR)
-#define SPORT1_A_DMA_STAT (REG_DMA2_STAT)
-#define SPORT1_A_DMA_XCNT_CUR (REG_DMA2_XCNT_CUR)
-#define SPORT1_A_DMA_YCNT_CUR (REG_DMA2_YCNT_CUR)
-#define SPORT1_A_DMA_BWLCNT (REG_DMA2_BWLCNT)
-#define SPORT1_A_DMA_BWLCNT_CUR (REG_DMA2_BWLCNT_CUR)
-#define SPORT1_A_DMA_BWMCNT (REG_DMA2_BWMCNT)
-#define SPORT1_A_DMA_BWMCNT_CUR (REG_DMA2_BWMCNT_CUR)
-#define SPORT1_B_DMA_DSCPTR_NXT (REG_DMA3_DSCPTR_NXT)
-#define SPORT1_B_DMA_ADDRSTART (REG_DMA3_ADDRSTART)
-#define SPORT1_B_DMA_CFG (REG_DMA3_CFG)
-#define SPORT1_B_DMA_XCNT (REG_DMA3_XCNT)
-#define SPORT1_B_DMA_XMOD (REG_DMA3_XMOD)
-#define SPORT1_B_DMA_YCNT (REG_DMA3_YCNT)
-#define SPORT1_B_DMA_YMOD (REG_DMA3_YMOD)
-#define SPORT1_B_DMA_DSCPTR_CUR (REG_DMA3_DSCPTR_CUR)
-#define SPORT1_B_DMA_DSCPTR_PRV (REG_DMA3_DSCPTR_PRV)
-#define SPORT1_B_DMA_ADDR_CUR (REG_DMA3_ADDR_CUR)
-#define SPORT1_B_DMA_STAT (REG_DMA3_STAT)
-#define SPORT1_B_DMA_XCNT_CUR (REG_DMA3_XCNT_CUR)
-#define SPORT1_B_DMA_YCNT_CUR (REG_DMA3_YCNT_CUR)
-#define SPORT1_B_DMA_BWLCNT (REG_DMA3_BWLCNT)
-#define SPORT1_B_DMA_BWLCNT_CUR (REG_DMA3_BWLCNT_CUR)
-#define SPORT1_B_DMA_BWMCNT (REG_DMA3_BWMCNT)
-#define SPORT1_B_DMA_BWMCNT_CUR (REG_DMA3_BWMCNT_CUR)
-#define SPORT2_A_DMA_DSCPTR_NXT (REG_DMA4_DSCPTR_NXT)
-#define SPORT2_A_DMA_ADDRSTART (REG_DMA4_ADDRSTART)
-#define SPORT2_A_DMA_CFG (REG_DMA4_CFG)
-#define SPORT2_A_DMA_XCNT (REG_DMA4_XCNT)
-#define SPORT2_A_DMA_XMOD (REG_DMA4_XMOD)
-#define SPORT2_A_DMA_YCNT (REG_DMA4_YCNT)
-#define SPORT2_A_DMA_YMOD (REG_DMA4_YMOD)
-#define SPORT2_A_DMA_DSCPTR_CUR (REG_DMA4_DSCPTR_CUR)
-#define SPORT2_A_DMA_DSCPTR_PRV (REG_DMA4_DSCPTR_PRV)
-#define SPORT2_A_DMA_ADDR_CUR (REG_DMA4_ADDR_CUR)
-#define SPORT2_A_DMA_STAT (REG_DMA4_STAT)
-#define SPORT2_A_DMA_XCNT_CUR (REG_DMA4_XCNT_CUR)
-#define SPORT2_A_DMA_YCNT_CUR (REG_DMA4_YCNT_CUR)
-#define SPORT2_A_DMA_BWLCNT (REG_DMA4_BWLCNT)
-#define SPORT2_A_DMA_BWLCNT_CUR (REG_DMA4_BWLCNT_CUR)
-#define SPORT2_A_DMA_BWMCNT (REG_DMA4_BWMCNT)
-#define SPORT2_A_DMA_BWMCNT_CUR (REG_DMA4_BWMCNT_CUR)
-#define SPORT2_B_DMA_DSCPTR_NXT (REG_DMA5_DSCPTR_NXT)
-#define SPORT2_B_DMA_ADDRSTART (REG_DMA5_ADDRSTART)
-#define SPORT2_B_DMA_CFG (REG_DMA5_CFG)
-#define SPORT2_B_DMA_XCNT (REG_DMA5_XCNT)
-#define SPORT2_B_DMA_XMOD (REG_DMA5_XMOD)
-#define SPORT2_B_DMA_YCNT (REG_DMA5_YCNT)
-#define SPORT2_B_DMA_YMOD (REG_DMA5_YMOD)
-#define SPORT2_B_DMA_DSCPTR_CUR (REG_DMA5_DSCPTR_CUR)
-#define SPORT2_B_DMA_DSCPTR_PRV (REG_DMA5_DSCPTR_PRV)
-#define SPORT2_B_DMA_ADDR_CUR (REG_DMA5_ADDR_CUR)
-#define SPORT2_B_DMA_STAT (REG_DMA5_STAT)
-#define SPORT2_B_DMA_XCNT_CUR (REG_DMA5_XCNT_CUR)
-#define SPORT2_B_DMA_YCNT_CUR (REG_DMA5_YCNT_CUR)
-#define SPORT2_B_DMA_BWLCNT (REG_DMA5_BWLCNT)
-#define SPORT2_B_DMA_BWLCNT_CUR (REG_DMA5_BWLCNT_CUR)
-#define SPORT2_B_DMA_BWMCNT (REG_DMA5_BWMCNT)
-#define SPORT2_B_DMA_BWMCNT_CUR (REG_DMA5_BWMCNT_CUR)
-#define SPI0_TXDMA_DSCPTR_NXT (REG_DMA6_DSCPTR_NXT)
-#define SPI0_TXDMA_ADDRSTART (REG_DMA6_ADDRSTART)
-#define SPI0_TXDMA_CFG (REG_DMA6_CFG)
-#define SPI0_TXDMA_XCNT (REG_DMA6_XCNT)
-#define SPI0_TXDMA_XMOD (REG_DMA6_XMOD)
-#define SPI0_TXDMA_YCNT (REG_DMA6_YCNT)
-#define SPI0_TXDMA_YMOD (REG_DMA6_YMOD)
-#define SPI0_TXDMA_DSCPTR_CUR (REG_DMA6_DSCPTR_CUR)
-#define SPI0_TXDMA_DSCPTR_PRV (REG_DMA6_DSCPTR_PRV)
-#define SPI0_TXDMA_ADDR_CUR (REG_DMA6_ADDR_CUR)
-#define SPI0_TXDMA_STAT (REG_DMA6_STAT)
-#define SPI0_TXDMA_XCNT_CUR (REG_DMA6_XCNT_CUR)
-#define SPI0_TXDMA_YCNT_CUR (REG_DMA6_YCNT_CUR)
-#define SPI0_TXDMA_BWLCNT (REG_DMA6_BWLCNT)
-#define SPI0_TXDMA_BWLCNT_CUR (REG_DMA6_BWLCNT_CUR)
-#define SPI0_TXDMA_BWMCNT (REG_DMA6_BWMCNT)
-#define SPI0_TXDMA_BWMCNT_CUR (REG_DMA6_BWMCNT_CUR)
-#define SPI0_RXDMA_DSCPTR_NXT (REG_DMA7_DSCPTR_NXT)
-#define SPI0_RXDMA_ADDRSTART (REG_DMA7_ADDRSTART)
-#define SPI0_RXDMA_CFG (REG_DMA7_CFG)
-#define SPI0_RXDMA_XCNT (REG_DMA7_XCNT)
-#define SPI0_RXDMA_XMOD (REG_DMA7_XMOD)
-#define SPI0_RXDMA_YCNT (REG_DMA7_YCNT)
-#define SPI0_RXDMA_YMOD (REG_DMA7_YMOD)
-#define SPI0_RXDMA_DSCPTR_CUR (REG_DMA7_DSCPTR_CUR)
-#define SPI0_RXDMA_DSCPTR_PRV (REG_DMA7_DSCPTR_PRV)
-#define SPI0_RXDMA_ADDR_CUR (REG_DMA7_ADDR_CUR)
-#define SPI0_RXDMA_STAT (REG_DMA7_STAT)
-#define SPI0_RXDMA_XCNT_CUR (REG_DMA7_XCNT_CUR)
-#define SPI0_RXDMA_YCNT_CUR (REG_DMA7_YCNT_CUR)
-#define SPI0_RXDMA_BWLCNT (REG_DMA7_BWLCNT)
-#define SPI0_RXDMA_BWLCNT_CUR (REG_DMA7_BWLCNT_CUR)
-#define SPI0_RXDMA_BWMCNT (REG_DMA7_BWMCNT)
-#define SPI0_RXDMA_BWMCNT_CUR (REG_DMA7_BWMCNT_CUR)
-#define SPI1_TXDMA_DSCPTR_NXT (REG_DMA8_DSCPTR_NXT)
-#define SPI1_TXDMA_ADDRSTART (REG_DMA8_ADDRSTART)
-#define SPI1_TXDMA_CFG (REG_DMA8_CFG)
-#define SPI1_TXDMA_XCNT (REG_DMA8_XCNT)
-#define SPI1_TXDMA_XMOD (REG_DMA8_XMOD)
-#define SPI1_TXDMA_YCNT (REG_DMA8_YCNT)
-#define SPI1_TXDMA_YMOD (REG_DMA8_YMOD)
-#define SPI1_TXDMA_DSCPTR_CUR (REG_DMA8_DSCPTR_CUR)
-#define SPI1_TXDMA_DSCPTR_PRV (REG_DMA8_DSCPTR_PRV)
-#define SPI1_TXDMA_ADDR_CUR (REG_DMA8_ADDR_CUR)
-#define SPI1_TXDMA_STAT (REG_DMA8_STAT)
-#define SPI1_TXDMA_XCNT_CUR (REG_DMA8_XCNT_CUR)
-#define SPI1_TXDMA_YCNT_CUR (REG_DMA8_YCNT_CUR)
-#define SPI1_TXDMA_BWLCNT (REG_DMA8_BWLCNT)
-#define SPI1_TXDMA_BWLCNT_CUR (REG_DMA8_BWLCNT_CUR)
-#define SPI1_TXDMA_BWMCNT (REG_DMA8_BWMCNT)
-#define SPI1_TXDMA_BWMCNT_CUR (REG_DMA8_BWMCNT_CUR)
-#define SPI1_RXDMA_DSCPTR_NXT (REG_DMA9_DSCPTR_NXT)
-#define SPI1_RXDMA_ADDRSTART (REG_DMA9_ADDRSTART)
-#define SPI1_RXDMA_CFG (REG_DMA9_CFG)
-#define SPI1_RXDMA_XCNT (REG_DMA9_XCNT)
-#define SPI1_RXDMA_XMOD (REG_DMA9_XMOD)
-#define SPI1_RXDMA_YCNT (REG_DMA9_YCNT)
-#define SPI1_RXDMA_YMOD (REG_DMA9_YMOD)
-#define SPI1_RXDMA_DSCPTR_CUR (REG_DMA9_DSCPTR_CUR)
-#define SPI1_RXDMA_DSCPTR_PRV (REG_DMA9_DSCPTR_PRV)
-#define SPI1_RXDMA_ADDR_CUR (REG_DMA9_ADDR_CUR)
-#define SPI1_RXDMA_STAT (REG_DMA9_STAT)
-#define SPI1_RXDMA_XCNT_CUR (REG_DMA9_XCNT_CUR)
-#define SPI1_RXDMA_YCNT_CUR (REG_DMA9_YCNT_CUR)
-#define SPI1_RXDMA_BWLCNT (REG_DMA9_BWLCNT)
-#define SPI1_RXDMA_BWLCNT_CUR (REG_DMA9_BWLCNT_CUR)
-#define SPI1_RXDMA_BWMCNT (REG_DMA9_BWMCNT)
-#define SPI1_RXDMA_BWMCNT_CUR (REG_DMA9_BWMCNT_CUR)
-#define RSI0_DMA_DSCPTR_NXT (REG_DMA10_DSCPTR_NXT)
-#define RSI0_DMA_ADDRSTART (REG_DMA10_ADDRSTART)
-#define RSI0_DMA_CFG (REG_DMA10_CFG)
-#define RSI0_DMA_XCNT (REG_DMA10_XCNT)
-#define RSI0_DMA_XMOD (REG_DMA10_XMOD)
-#define RSI0_DMA_YCNT (REG_DMA10_YCNT)
-#define RSI0_DMA_YMOD (REG_DMA10_YMOD)
-#define RSI0_DMA_DSCPTR_CUR (REG_DMA10_DSCPTR_CUR)
-#define RSI0_DMA_DSCPTR_PRV (REG_DMA10_DSCPTR_PRV)
-#define RSI0_DMA_ADDR_CUR (REG_DMA10_ADDR_CUR)
-#define RSI0_DMA_STAT (REG_DMA10_STAT)
-#define RSI0_DMA_XCNT_CUR (REG_DMA10_XCNT_CUR)
-#define RSI0_DMA_YCNT_CUR (REG_DMA10_YCNT_CUR)
-#define RSI0_DMA_BWLCNT (REG_DMA10_BWLCNT)
-#define RSI0_DMA_BWLCNT_CUR (REG_DMA10_BWLCNT_CUR)
-#define RSI0_DMA_BWMCNT (REG_DMA10_BWMCNT)
-#define RSI0_DMA_BWMCNT_CUR (REG_DMA10_BWMCNT_CUR)
-#define SDU0_DMA_DSCPTR_NXT (REG_DMA11_DSCPTR_NXT)
-#define SDU0_DMA_ADDRSTART (REG_DMA11_ADDRSTART)
-#define SDU0_DMA_CFG (REG_DMA11_CFG)
-#define SDU0_DMA_XCNT (REG_DMA11_XCNT)
-#define SDU0_DMA_XMOD (REG_DMA11_XMOD)
-#define SDU0_DMA_YCNT (REG_DMA11_YCNT)
-#define SDU0_DMA_YMOD (REG_DMA11_YMOD)
-#define SDU0_DMA_DSCPTR_CUR (REG_DMA11_DSCPTR_CUR)
-#define SDU0_DMA_DSCPTR_PRV (REG_DMA11_DSCPTR_PRV)
-#define SDU0_DMA_ADDR_CUR (REG_DMA11_ADDR_CUR)
-#define SDU0_DMA_STAT (REG_DMA11_STAT)
-#define SDU0_DMA_XCNT_CUR (REG_DMA11_XCNT_CUR)
-#define SDU0_DMA_YCNT_CUR (REG_DMA11_YCNT_CUR)
-#define SDU0_DMA_BWLCNT (REG_DMA11_BWLCNT)
-#define SDU0_DMA_BWLCNT_CUR (REG_DMA11_BWLCNT_CUR)
-#define SDU0_DMA_BWMCNT (REG_DMA11_BWMCNT)
-#define SDU0_DMA_BWMCNT_CUR (REG_DMA11_BWMCNT_CUR)
-#define LP0_DMA_DSCPTR_NXT (REG_DMA13_DSCPTR_NXT)
-#define LP0_DMA_ADDRSTART (REG_DMA13_ADDRSTART)
-#define LP0_DMA_CFG (REG_DMA13_CFG)
-#define LP0_DMA_XCNT (REG_DMA13_XCNT)
-#define LP0_DMA_XMOD (REG_DMA13_XMOD)
-#define LP0_DMA_YCNT (REG_DMA13_YCNT)
-#define LP0_DMA_YMOD (REG_DMA13_YMOD)
-#define LP0_DMA_DSCPTR_CUR (REG_DMA13_DSCPTR_CUR)
-#define LP0_DMA_DSCPTR_PRV (REG_DMA13_DSCPTR_PRV)
-#define LP0_DMA_ADDR_CUR (REG_DMA13_ADDR_CUR)
-#define LP0_DMA_STAT (REG_DMA13_STAT)
-#define LP0_DMA_XCNT_CUR (REG_DMA13_XCNT_CUR)
-#define LP0_DMA_YCNT_CUR (REG_DMA13_YCNT_CUR)
-#define LP0_DMA_BWLCNT (REG_DMA13_BWLCNT)
-#define LP0_DMA_BWLCNT_CUR (REG_DMA13_BWLCNT_CUR)
-#define LP0_DMA_BWMCNT (REG_DMA13_BWMCNT)
-#define LP0_DMA_BWMCNT_CUR (REG_DMA13_BWMCNT_CUR)
-#define LP1_DMA_DSCPTR_NXT (REG_DMA14_DSCPTR_NXT)
-#define LP1_DMA_ADDRSTART (REG_DMA14_ADDRSTART)
-#define LP1_DMA_CFG (REG_DMA14_CFG)
-#define LP1_DMA_XCNT (REG_DMA14_XCNT)
-#define LP1_DMA_XMOD (REG_DMA14_XMOD)
-#define LP1_DMA_YCNT (REG_DMA14_YCNT)
-#define LP1_DMA_YMOD (REG_DMA14_YMOD)
-#define LP1_DMA_DSCPTR_CUR (REG_DMA14_DSCPTR_CUR)
-#define LP1_DMA_DSCPTR_PRV (REG_DMA14_DSCPTR_PRV)
-#define LP1_DMA_ADDR_CUR (REG_DMA14_ADDR_CUR)
-#define LP1_DMA_STAT (REG_DMA14_STAT)
-#define LP1_DMA_XCNT_CUR (REG_DMA14_XCNT_CUR)
-#define LP1_DMA_YCNT_CUR (REG_DMA14_YCNT_CUR)
-#define LP1_DMA_BWLCNT (REG_DMA14_BWLCNT)
-#define LP1_DMA_BWLCNT_CUR (REG_DMA14_BWLCNT_CUR)
-#define LP1_DMA_BWMCNT (REG_DMA14_BWMCNT)
-#define LP1_DMA_BWMCNT_CUR (REG_DMA14_BWMCNT_CUR)
-#define LP2_DMA_DSCPTR_NXT (REG_DMA15_DSCPTR_NXT)
-#define LP2_DMA_ADDRSTART (REG_DMA15_ADDRSTART)
-#define LP2_DMA_CFG (REG_DMA15_CFG)
-#define LP2_DMA_XCNT (REG_DMA15_XCNT)
-#define LP2_DMA_XMOD (REG_DMA15_XMOD)
-#define LP2_DMA_YCNT (REG_DMA15_YCNT)
-#define LP2_DMA_YMOD (REG_DMA15_YMOD)
-#define LP2_DMA_DSCPTR_CUR (REG_DMA15_DSCPTR_CUR)
-#define LP2_DMA_DSCPTR_PRV (REG_DMA15_DSCPTR_PRV)
-#define LP2_DMA_ADDR_CUR (REG_DMA15_ADDR_CUR)
-#define LP2_DMA_STAT (REG_DMA15_STAT)
-#define LP2_DMA_XCNT_CUR (REG_DMA15_XCNT_CUR)
-#define LP2_DMA_YCNT_CUR (REG_DMA15_YCNT_CUR)
-#define LP2_DMA_BWLCNT (REG_DMA15_BWLCNT)
-#define LP2_DMA_BWLCNT_CUR (REG_DMA15_BWLCNT_CUR)
-#define LP2_DMA_BWMCNT (REG_DMA15_BWMCNT)
-#define LP2_DMA_BWMCNT_CUR (REG_DMA15_BWMCNT_CUR)
-#define LP3_DMA_DSCPTR_NXT (REG_DMA16_DSCPTR_NXT)
-#define LP3_DMA_ADDRSTART (REG_DMA16_ADDRSTART)
-#define LP3_DMA_CFG (REG_DMA16_CFG)
-#define LP3_DMA_XCNT (REG_DMA16_XCNT)
-#define LP3_DMA_XMOD (REG_DMA16_XMOD)
-#define LP3_DMA_YCNT (REG_DMA16_YCNT)
-#define LP3_DMA_YMOD (REG_DMA16_YMOD)
-#define LP3_DMA_DSCPTR_CUR (REG_DMA16_DSCPTR_CUR)
-#define LP3_DMA_DSCPTR_PRV (REG_DMA16_DSCPTR_PRV)
-#define LP3_DMA_ADDR_CUR (REG_DMA16_ADDR_CUR)
-#define LP3_DMA_STAT (REG_DMA16_STAT)
-#define LP3_DMA_XCNT_CUR (REG_DMA16_XCNT_CUR)
-#define LP3_DMA_YCNT_CUR (REG_DMA16_YCNT_CUR)
-#define LP3_DMA_BWLCNT (REG_DMA16_BWLCNT)
-#define LP3_DMA_BWLCNT_CUR (REG_DMA16_BWLCNT_CUR)
-#define LP3_DMA_BWMCNT (REG_DMA16_BWMCNT)
-#define LP3_DMA_BWMCNT_CUR (REG_DMA16_BWMCNT_CUR)
-#define UART0_TXDMA_DSCPTR_NXT (REG_DMA17_DSCPTR_NXT)
-#define UART0_TXDMA_ADDRSTART (REG_DMA17_ADDRSTART)
-#define UART0_TXDMA_CFG (REG_DMA17_CFG)
-#define UART0_TXDMA_XCNT (REG_DMA17_XCNT)
-#define UART0_TXDMA_XMOD (REG_DMA17_XMOD)
-#define UART0_TXDMA_YCNT (REG_DMA17_YCNT)
-#define UART0_TXDMA_YMOD (REG_DMA17_YMOD)
-#define UART0_TXDMA_DSCPTR_CUR (REG_DMA17_DSCPTR_CUR)
-#define UART0_TXDMA_DSCPTR_PRV (REG_DMA17_DSCPTR_PRV)
-#define UART0_TXDMA_ADDR_CUR (REG_DMA17_ADDR_CUR)
-#define UART0_TXDMA_STAT (REG_DMA17_STAT)
-#define UART0_TXDMA_XCNT_CUR (REG_DMA17_XCNT_CUR)
-#define UART0_TXDMA_YCNT_CUR (REG_DMA17_YCNT_CUR)
-#define UART0_TXDMA_BWLCNT (REG_DMA17_BWLCNT)
-#define UART0_TXDMA_BWLCNT_CUR (REG_DMA17_BWLCNT_CUR)
-#define UART0_TXDMA_BWMCNT (REG_DMA17_BWMCNT)
-#define UART0_TXDMA_BWMCNT_CUR (REG_DMA17_BWMCNT_CUR)
-#define UART0_RXDMA_DSCPTR_NXT (REG_DMA18_DSCPTR_NXT)
-#define UART0_RXDMA_ADDRSTART (REG_DMA18_ADDRSTART)
-#define UART0_RXDMA_CFG (REG_DMA18_CFG)
-#define UART0_RXDMA_XCNT (REG_DMA18_XCNT)
-#define UART0_RXDMA_XMOD (REG_DMA18_XMOD)
-#define UART0_RXDMA_YCNT (REG_DMA18_YCNT)
-#define UART0_RXDMA_YMOD (REG_DMA18_YMOD)
-#define UART0_RXDMA_DSCPTR_CUR (REG_DMA18_DSCPTR_CUR)
-#define UART0_RXDMA_DSCPTR_PRV (REG_DMA18_DSCPTR_PRV)
-#define UART0_RXDMA_ADDR_CUR (REG_DMA18_ADDR_CUR)
-#define UART0_RXDMA_STAT (REG_DMA18_STAT)
-#define UART0_RXDMA_XCNT_CUR (REG_DMA18_XCNT_CUR)
-#define UART0_RXDMA_YCNT_CUR (REG_DMA18_YCNT_CUR)
-#define UART0_RXDMA_BWLCNT (REG_DMA18_BWLCNT)
-#define UART0_RXDMA_BWLCNT_CUR (REG_DMA18_BWLCNT_CUR)
-#define UART0_RXDMA_BWMCNT (REG_DMA18_BWMCNT)
-#define UART0_RXDMA_BWMCNT_CUR (REG_DMA18_BWMCNT_CUR)
-#define UART1_TXDMA_DSCPTR_NXT (REG_DMA19_DSCPTR_NXT)
-#define UART1_TXDMA_ADDRSTART (REG_DMA19_ADDRSTART)
-#define UART1_TXDMA_CFG (REG_DMA19_CFG)
-#define UART1_TXDMA_XCNT (REG_DMA19_XCNT)
-#define UART1_TXDMA_XMOD (REG_DMA19_XMOD)
-#define UART1_TXDMA_YCNT (REG_DMA19_YCNT)
-#define UART1_TXDMA_YMOD (REG_DMA19_YMOD)
-#define UART1_TXDMA_DSCPTR_CUR (REG_DMA19_DSCPTR_CUR)
-#define UART1_TXDMA_DSCPTR_PRV (REG_DMA19_DSCPTR_PRV)
-#define UART1_TXDMA_ADDR_CUR (REG_DMA19_ADDR_CUR)
-#define UART1_TXDMA_STAT (REG_DMA19_STAT)
-#define UART1_TXDMA_XCNT_CUR (REG_DMA19_XCNT_CUR)
-#define UART1_TXDMA_YCNT_CUR (REG_DMA19_YCNT_CUR)
-#define UART1_TXDMA_BWLCNT (REG_DMA19_BWLCNT)
-#define UART1_TXDMA_BWLCNT_CUR (REG_DMA19_BWLCNT_CUR)
-#define UART1_TXDMA_BWMCNT (REG_DMA19_BWMCNT)
-#define UART1_TXDMA_BWMCNT_CUR (REG_DMA19_BWMCNT_CUR)
-#define UART1_RXDMA_DSCPTR_NXT (REG_DMA20_DSCPTR_NXT)
-#define UART1_RXDMA_ADDRSTART (REG_DMA20_ADDRSTART)
-#define UART1_RXDMA_CFG (REG_DMA20_CFG)
-#define UART1_RXDMA_XCNT (REG_DMA20_XCNT)
-#define UART1_RXDMA_XMOD (REG_DMA20_XMOD)
-#define UART1_RXDMA_YCNT (REG_DMA20_YCNT)
-#define UART1_RXDMA_YMOD (REG_DMA20_YMOD)
-#define UART1_RXDMA_DSCPTR_CUR (REG_DMA20_DSCPTR_CUR)
-#define UART1_RXDMA_DSCPTR_PRV (REG_DMA20_DSCPTR_PRV)
-#define UART1_RXDMA_ADDR_CUR (REG_DMA20_ADDR_CUR)
-#define UART1_RXDMA_STAT (REG_DMA20_STAT)
-#define UART1_RXDMA_XCNT_CUR (REG_DMA20_XCNT_CUR)
-#define UART1_RXDMA_YCNT_CUR (REG_DMA20_YCNT_CUR)
-#define UART1_RXDMA_BWLCNT (REG_DMA20_BWLCNT)
-#define UART1_RXDMA_BWLCNT_CUR (REG_DMA20_BWLCNT_CUR)
-#define UART1_RXDMA_BWMCNT (REG_DMA20_BWMCNT)
-#define UART1_RXDMA_BWMCNT_CUR (REG_DMA20_BWMCNT_CUR)
-#define MDMA0_SRC_DSCPTR_NXT (REG_DMA21_DSCPTR_NXT)
-#define MDMA0_SRC_ADDRSTART (REG_DMA21_ADDRSTART)
-#define MDMA0_SRC_CFG (REG_DMA21_CFG)
-#define MDMA0_SRC_XCNT (REG_DMA21_XCNT)
-#define MDMA0_SRC_XMOD (REG_DMA21_XMOD)
-#define MDMA0_SRC_YCNT (REG_DMA21_YCNT)
-#define MDMA0_SRC_YMOD (REG_DMA21_YMOD)
-#define MDMA0_SRC_DSCPTR_CUR (REG_DMA21_DSCPTR_CUR)
-#define MDMA0_SRC_DSCPTR_PRV (REG_DMA21_DSCPTR_PRV)
-#define MDMA0_SRC_ADDR_CUR (REG_DMA21_ADDR_CUR)
-#define MDMA0_SRC_STAT (REG_DMA21_STAT)
-#define MDMA0_SRC_XCNT_CUR (REG_DMA21_XCNT_CUR)
-#define MDMA0_SRC_YCNT_CUR (REG_DMA21_YCNT_CUR)
-#define MDMA0_SRC_BWLCNT (REG_DMA21_BWLCNT)
-#define MDMA0_SRC_BWLCNT_CUR (REG_DMA21_BWLCNT_CUR)
-#define MDMA0_SRC_BWMCNT (REG_DMA21_BWMCNT)
-#define MDMA0_SRC_BWMCNT_CUR (REG_DMA21_BWMCNT_CUR)
-#define MDMA0_DST_DSCPTR_NXT (REG_DMA22_DSCPTR_NXT)
-#define MDMA0_DST_ADDRSTART (REG_DMA22_ADDRSTART)
-#define MDMA0_DST_CFG (REG_DMA22_CFG)
-#define MDMA0_DST_XCNT (REG_DMA22_XCNT)
-#define MDMA0_DST_XMOD (REG_DMA22_XMOD)
-#define MDMA0_DST_YCNT (REG_DMA22_YCNT)
-#define MDMA0_DST_YMOD (REG_DMA22_YMOD)
-#define MDMA0_DST_DSCPTR_CUR (REG_DMA22_DSCPTR_CUR)
-#define MDMA0_DST_DSCPTR_PRV (REG_DMA22_DSCPTR_PRV)
-#define MDMA0_DST_ADDR_CUR (REG_DMA22_ADDR_CUR)
-#define MDMA0_DST_STAT (REG_DMA22_STAT)
-#define MDMA0_DST_XCNT_CUR (REG_DMA22_XCNT_CUR)
-#define MDMA0_DST_YCNT_CUR (REG_DMA22_YCNT_CUR)
-#define MDMA0_DST_BWLCNT (REG_DMA22_BWLCNT)
-#define MDMA0_DST_BWLCNT_CUR (REG_DMA22_BWLCNT_CUR)
-#define MDMA0_DST_BWMCNT (REG_DMA22_BWMCNT)
-#define MDMA0_DST_BWMCNT_CUR (REG_DMA22_BWMCNT_CUR)
-#define MDMA1_SRC_DSCPTR_NXT (REG_DMA23_DSCPTR_NXT)
-#define MDMA1_SRC_ADDRSTART (REG_DMA23_ADDRSTART)
-#define MDMA1_SRC_CFG (REG_DMA23_CFG)
-#define MDMA1_SRC_XCNT (REG_DMA23_XCNT)
-#define MDMA1_SRC_XMOD (REG_DMA23_XMOD)
-#define MDMA1_SRC_YCNT (REG_DMA23_YCNT)
-#define MDMA1_SRC_YMOD (REG_DMA23_YMOD)
-#define MDMA1_SRC_DSCPTR_CUR (REG_DMA23_DSCPTR_CUR)
-#define MDMA1_SRC_DSCPTR_PRV (REG_DMA23_DSCPTR_PRV)
-#define MDMA1_SRC_ADDR_CUR (REG_DMA23_ADDR_CUR)
-#define MDMA1_SRC_STAT (REG_DMA23_STAT)
-#define MDMA1_SRC_XCNT_CUR (REG_DMA23_XCNT_CUR)
-#define MDMA1_SRC_YCNT_CUR (REG_DMA23_YCNT_CUR)
-#define MDMA1_SRC_BWLCNT (REG_DMA23_BWLCNT)
-#define MDMA1_SRC_BWLCNT_CUR (REG_DMA23_BWLCNT_CUR)
-#define MDMA1_SRC_BWMCNT (REG_DMA23_BWMCNT)
-#define MDMA1_SRC_BWMCNT_CUR (REG_DMA23_BWMCNT_CUR)
-#define MDMA1_DST_DSCPTR_NXT (REG_DMA24_DSCPTR_NXT)
-#define MDMA1_DST_ADDRSTART (REG_DMA24_ADDRSTART)
-#define MDMA1_DST_CFG (REG_DMA24_CFG)
-#define MDMA1_DST_XCNT (REG_DMA24_XCNT)
-#define MDMA1_DST_XMOD (REG_DMA24_XMOD)
-#define MDMA1_DST_YCNT (REG_DMA24_YCNT)
-#define MDMA1_DST_YMOD (REG_DMA24_YMOD)
-#define MDMA1_DST_DSCPTR_CUR (REG_DMA24_DSCPTR_CUR)
-#define MDMA1_DST_DSCPTR_PRV (REG_DMA24_DSCPTR_PRV)
-#define MDMA1_DST_ADDR_CUR (REG_DMA24_ADDR_CUR)
-#define MDMA1_DST_STAT (REG_DMA24_STAT)
-#define MDMA1_DST_XCNT_CUR (REG_DMA24_XCNT_CUR)
-#define MDMA1_DST_YCNT_CUR (REG_DMA24_YCNT_CUR)
-#define MDMA1_DST_BWLCNT (REG_DMA24_BWLCNT)
-#define MDMA1_DST_BWLCNT_CUR (REG_DMA24_BWLCNT_CUR)
-#define MDMA1_DST_BWMCNT (REG_DMA24_BWMCNT)
-#define MDMA1_DST_BWMCNT_CUR (REG_DMA24_BWMCNT_CUR)
-#define MDMA2_SRC_DSCPTR_NXT (REG_DMA25_DSCPTR_NXT)
-#define MDMA2_SRC_ADDRSTART (REG_DMA25_ADDRSTART)
-#define MDMA2_SRC_CFG (REG_DMA25_CFG)
-#define MDMA2_SRC_XCNT (REG_DMA25_XCNT)
-#define MDMA2_SRC_XMOD (REG_DMA25_XMOD)
-#define MDMA2_SRC_YCNT (REG_DMA25_YCNT)
-#define MDMA2_SRC_YMOD (REG_DMA25_YMOD)
-#define MDMA2_SRC_DSCPTR_CUR (REG_DMA25_DSCPTR_CUR)
-#define MDMA2_SRC_DSCPTR_PRV (REG_DMA25_DSCPTR_PRV)
-#define MDMA2_SRC_ADDR_CUR (REG_DMA25_ADDR_CUR)
-#define MDMA2_SRC_STAT (REG_DMA25_STAT)
-#define MDMA2_SRC_XCNT_CUR (REG_DMA25_XCNT_CUR)
-#define MDMA2_SRC_YCNT_CUR (REG_DMA25_YCNT_CUR)
-#define MDMA2_SRC_BWLCNT (REG_DMA25_BWLCNT)
-#define MDMA2_SRC_BWLCNT_CUR (REG_DMA25_BWLCNT_CUR)
-#define MDMA2_SRC_BWMCNT (REG_DMA25_BWMCNT)
-#define MDMA2_SRC_BWMCNT_CUR (REG_DMA25_BWMCNT_CUR)
-#define MDMA2_DST_DSCPTR_NXT (REG_DMA26_DSCPTR_NXT)
-#define MDMA2_DST_ADDRSTART (REG_DMA26_ADDRSTART)
-#define MDMA2_DST_CFG (REG_DMA26_CFG)
-#define MDMA2_DST_XCNT (REG_DMA26_XCNT)
-#define MDMA2_DST_XMOD (REG_DMA26_XMOD)
-#define MDMA2_DST_YCNT (REG_DMA26_YCNT)
-#define MDMA2_DST_YMOD (REG_DMA26_YMOD)
-#define MDMA2_DST_DSCPTR_CUR (REG_DMA26_DSCPTR_CUR)
-#define MDMA2_DST_DSCPTR_PRV (REG_DMA26_DSCPTR_PRV)
-#define MDMA2_DST_ADDR_CUR (REG_DMA26_ADDR_CUR)
-#define MDMA2_DST_STAT (REG_DMA26_STAT)
-#define MDMA2_DST_XCNT_CUR (REG_DMA26_XCNT_CUR)
-#define MDMA2_DST_YCNT_CUR (REG_DMA26_YCNT_CUR)
-#define MDMA2_DST_BWLCNT (REG_DMA26_BWLCNT)
-#define MDMA2_DST_BWLCNT_CUR (REG_DMA26_BWLCNT_CUR)
-#define MDMA2_DST_BWMCNT (REG_DMA26_BWMCNT)
-#define MDMA2_DST_BWMCNT_CUR (REG_DMA26_BWMCNT_CUR)
-#define MDMA3_SRC_DSCPTR_NXT (REG_DMA27_DSCPTR_NXT)
-#define MDMA3_SRC_ADDRSTART (REG_DMA27_ADDRSTART)
-#define MDMA3_SRC_CFG (REG_DMA27_CFG)
-#define MDMA3_SRC_XCNT (REG_DMA27_XCNT)
-#define MDMA3_SRC_XMOD (REG_DMA27_XMOD)
-#define MDMA3_SRC_YCNT (REG_DMA27_YCNT)
-#define MDMA3_SRC_YMOD (REG_DMA27_YMOD)
-#define MDMA3_SRC_DSCPTR_CUR (REG_DMA27_DSCPTR_CUR)
-#define MDMA3_SRC_DSCPTR_PRV (REG_DMA27_DSCPTR_PRV)
-#define MDMA3_SRC_ADDR_CUR (REG_DMA27_ADDR_CUR)
-#define MDMA3_SRC_STAT (REG_DMA27_STAT)
-#define MDMA3_SRC_XCNT_CUR (REG_DMA27_XCNT_CUR)
-#define MDMA3_SRC_YCNT_CUR (REG_DMA27_YCNT_CUR)
-#define MDMA3_SRC_BWLCNT (REG_DMA27_BWLCNT)
-#define MDMA3_SRC_BWLCNT_CUR (REG_DMA27_BWLCNT_CUR)
-#define MDMA3_SRC_BWMCNT (REG_DMA27_BWMCNT)
-#define MDMA3_SRC_BWMCNT_CUR (REG_DMA27_BWMCNT_CUR)
-#define MDMA3_DST_DSCPTR_NXT (REG_DMA28_DSCPTR_NXT)
-#define MDMA3_DST_ADDRSTART (REG_DMA28_ADDRSTART)
-#define MDMA3_DST_CFG (REG_DMA28_CFG)
-#define MDMA3_DST_XCNT (REG_DMA28_XCNT)
-#define MDMA3_DST_XMOD (REG_DMA28_XMOD)
-#define MDMA3_DST_YCNT (REG_DMA28_YCNT)
-#define MDMA3_DST_YMOD (REG_DMA28_YMOD)
-#define MDMA3_DST_DSCPTR_CUR (REG_DMA28_DSCPTR_CUR)
-#define MDMA3_DST_DSCPTR_PRV (REG_DMA28_DSCPTR_PRV)
-#define MDMA3_DST_ADDR_CUR (REG_DMA28_ADDR_CUR)
-#define MDMA3_DST_STAT (REG_DMA28_STAT)
-#define MDMA3_DST_XCNT_CUR (REG_DMA28_XCNT_CUR)
-#define MDMA3_DST_YCNT_CUR (REG_DMA28_YCNT_CUR)
-#define MDMA3_DST_BWLCNT (REG_DMA28_BWLCNT)
-#define MDMA3_DST_BWLCNT_CUR (REG_DMA28_BWLCNT_CUR)
-#define MDMA3_DST_BWMCNT (REG_DMA28_BWMCNT)
-#define MDMA3_DST_BWMCNT_CUR (REG_DMA28_BWMCNT_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_NXT (REG_DMA29_DSCPTR_NXT)
-#define EPPI0_CH0_DMA_ADDRSTART (REG_DMA29_ADDRSTART)
-#define EPPI0_CH0_DMA_CFG (REG_DMA29_CFG)
-#define EPPI0_CH0_DMA_XCNT (REG_DMA29_XCNT)
-#define EPPI0_CH0_DMA_XMOD (REG_DMA29_XMOD)
-#define EPPI0_CH0_DMA_YCNT (REG_DMA29_YCNT)
-#define EPPI0_CH0_DMA_YMOD (REG_DMA29_YMOD)
-#define EPPI0_CH0_DMA_DSCPTR_CUR (REG_DMA29_DSCPTR_CUR)
-#define EPPI0_CH0_DMA_DSCPTR_PRV (REG_DMA29_DSCPTR_PRV)
-#define EPPI0_CH0_DMA_ADDR_CUR (REG_DMA29_ADDR_CUR)
-#define EPPI0_CH0_DMA_STAT (REG_DMA29_STAT)
-#define EPPI0_CH0_DMA_XCNT_CUR (REG_DMA29_XCNT_CUR)
-#define EPPI0_CH0_DMA_YCNT_CUR (REG_DMA29_YCNT_CUR)
-#define EPPI0_CH0_DMA_BWLCNT (REG_DMA29_BWLCNT)
-#define EPPI0_CH0_DMA_BWLCNT_CUR (REG_DMA29_BWLCNT_CUR)
-#define EPPI0_CH0_DMA_BWMCNT (REG_DMA29_BWMCNT)
-#define EPPI0_CH0_DMA_BWMCNT_CUR (REG_DMA29_BWMCNT_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_NXT (REG_DMA30_DSCPTR_NXT)
-#define EPPI0_CH1_DMA_ADDRSTART (REG_DMA30_ADDRSTART)
-#define EPPI0_CH1_DMA_CFG (REG_DMA30_CFG)
-#define EPPI0_CH1_DMA_XCNT (REG_DMA30_XCNT)
-#define EPPI0_CH1_DMA_XMOD (REG_DMA30_XMOD)
-#define EPPI0_CH1_DMA_YCNT (REG_DMA30_YCNT)
-#define EPPI0_CH1_DMA_YMOD (REG_DMA30_YMOD)
-#define EPPI0_CH1_DMA_DSCPTR_CUR (REG_DMA30_DSCPTR_CUR)
-#define EPPI0_CH1_DMA_DSCPTR_PRV (REG_DMA30_DSCPTR_PRV)
-#define EPPI0_CH1_DMA_ADDR_CUR (REG_DMA30_ADDR_CUR)
-#define EPPI0_CH1_DMA_STAT (REG_DMA30_STAT)
-#define EPPI0_CH1_DMA_XCNT_CUR (REG_DMA30_XCNT_CUR)
-#define EPPI0_CH1_DMA_YCNT_CUR (REG_DMA30_YCNT_CUR)
-#define EPPI0_CH1_DMA_BWLCNT (REG_DMA30_BWLCNT)
-#define EPPI0_CH1_DMA_BWLCNT_CUR (REG_DMA30_BWLCNT_CUR)
-#define EPPI0_CH1_DMA_BWMCNT (REG_DMA30_BWMCNT)
-#define EPPI0_CH1_DMA_BWMCNT_CUR (REG_DMA30_BWMCNT_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_NXT (REG_DMA31_DSCPTR_NXT)
-#define EPPI2_CH0_DMA_ADDRSTART (REG_DMA31_ADDRSTART)
-#define EPPI2_CH0_DMA_CFG (REG_DMA31_CFG)
-#define EPPI2_CH0_DMA_XCNT (REG_DMA31_XCNT)
-#define EPPI2_CH0_DMA_XMOD (REG_DMA31_XMOD)
-#define EPPI2_CH0_DMA_YCNT (REG_DMA31_YCNT)
-#define EPPI2_CH0_DMA_YMOD (REG_DMA31_YMOD)
-#define EPPI2_CH0_DMA_DSCPTR_CUR (REG_DMA31_DSCPTR_CUR)
-#define EPPI2_CH0_DMA_DSCPTR_PRV (REG_DMA31_DSCPTR_PRV)
-#define EPPI2_CH0_DMA_ADDR_CUR (REG_DMA31_ADDR_CUR)
-#define EPPI2_CH0_DMA_STAT (REG_DMA31_STAT)
-#define EPPI2_CH0_DMA_XCNT_CUR (REG_DMA31_XCNT_CUR)
-#define EPPI2_CH0_DMA_YCNT_CUR (REG_DMA31_YCNT_CUR)
-#define EPPI2_CH0_DMA_BWLCNT (REG_DMA31_BWLCNT)
-#define EPPI2_CH0_DMA_BWLCNT_CUR (REG_DMA31_BWLCNT_CUR)
-#define EPPI2_CH0_DMA_BWMCNT (REG_DMA31_BWMCNT)
-#define EPPI2_CH0_DMA_BWMCNT_CUR (REG_DMA31_BWMCNT_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_NXT (REG_DMA32_DSCPTR_NXT)
-#define EPPI2_CH1_DMA_ADDRSTART (REG_DMA32_ADDRSTART)
-#define EPPI2_CH1_DMA_CFG (REG_DMA32_CFG)
-#define EPPI2_CH1_DMA_XCNT (REG_DMA32_XCNT)
-#define EPPI2_CH1_DMA_XMOD (REG_DMA32_XMOD)
-#define EPPI2_CH1_DMA_YCNT (REG_DMA32_YCNT)
-#define EPPI2_CH1_DMA_YMOD (REG_DMA32_YMOD)
-#define EPPI2_CH1_DMA_DSCPTR_CUR (REG_DMA32_DSCPTR_CUR)
-#define EPPI2_CH1_DMA_DSCPTR_PRV (REG_DMA32_DSCPTR_PRV)
-#define EPPI2_CH1_DMA_ADDR_CUR (REG_DMA32_ADDR_CUR)
-#define EPPI2_CH1_DMA_STAT (REG_DMA32_STAT)
-#define EPPI2_CH1_DMA_XCNT_CUR (REG_DMA32_XCNT_CUR)
-#define EPPI2_CH1_DMA_YCNT_CUR (REG_DMA32_YCNT_CUR)
-#define EPPI2_CH1_DMA_BWLCNT (REG_DMA32_BWLCNT)
-#define EPPI2_CH1_DMA_BWLCNT_CUR (REG_DMA32_BWLCNT_CUR)
-#define EPPI2_CH1_DMA_BWMCNT (REG_DMA32_BWMCNT)
-#define EPPI2_CH1_DMA_BWMCNT_CUR (REG_DMA32_BWMCNT_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_NXT (REG_DMA33_DSCPTR_NXT)
-#define EPPI1_CH0_DMA_ADDRSTART (REG_DMA33_ADDRSTART)
-#define EPPI1_CH0_DMA_CFG (REG_DMA33_CFG)
-#define EPPI1_CH0_DMA_XCNT (REG_DMA33_XCNT)
-#define EPPI1_CH0_DMA_XMOD (REG_DMA33_XMOD)
-#define EPPI1_CH0_DMA_YCNT (REG_DMA33_YCNT)
-#define EPPI1_CH0_DMA_YMOD (REG_DMA33_YMOD)
-#define EPPI1_CH0_DMA_DSCPTR_CUR (REG_DMA33_DSCPTR_CUR)
-#define EPPI1_CH0_DMA_DSCPTR_PRV (REG_DMA33_DSCPTR_PRV)
-#define EPPI1_CH0_DMA_ADDR_CUR (REG_DMA33_ADDR_CUR)
-#define EPPI1_CH0_DMA_STAT (REG_DMA33_STAT)
-#define EPPI1_CH0_DMA_XCNT_CUR (REG_DMA33_XCNT_CUR)
-#define EPPI1_CH0_DMA_YCNT_CUR (REG_DMA33_YCNT_CUR)
-#define EPPI1_CH0_DMA_BWLCNT (REG_DMA33_BWLCNT)
-#define EPPI1_CH0_DMA_BWLCNT_CUR (REG_DMA33_BWLCNT_CUR)
-#define EPPI1_CH0_DMA_BWMCNT (REG_DMA33_BWMCNT)
-#define EPPI1_CH0_DMA_BWMCNT_CUR (REG_DMA33_BWMCNT_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_NXT (REG_DMA34_DSCPTR_NXT)
-#define EPPI1_CH1_DMA_ADDRSTART (REG_DMA34_ADDRSTART)
-#define EPPI1_CH1_DMA_CFG (REG_DMA34_CFG)
-#define EPPI1_CH1_DMA_XCNT (REG_DMA34_XCNT)
-#define EPPI1_CH1_DMA_XMOD (REG_DMA34_XMOD)
-#define EPPI1_CH1_DMA_YCNT (REG_DMA34_YCNT)
-#define EPPI1_CH1_DMA_YMOD (REG_DMA34_YMOD)
-#define EPPI1_CH1_DMA_DSCPTR_CUR (REG_DMA34_DSCPTR_CUR)
-#define EPPI1_CH1_DMA_DSCPTR_PRV (REG_DMA34_DSCPTR_PRV)
-#define EPPI1_CH1_DMA_ADDR_CUR (REG_DMA34_ADDR_CUR)
-#define EPPI1_CH1_DMA_STAT (REG_DMA34_STAT)
-#define EPPI1_CH1_DMA_XCNT_CUR (REG_DMA34_XCNT_CUR)
-#define EPPI1_CH1_DMA_YCNT_CUR (REG_DMA34_YCNT_CUR)
-#define EPPI1_CH1_DMA_BWLCNT (REG_DMA34_BWLCNT)
-#define EPPI1_CH1_DMA_BWLCNT_CUR (REG_DMA34_BWLCNT_CUR)
-#define EPPI1_CH1_DMA_BWMCNT (REG_DMA34_BWMCNT)
-#define EPPI1_CH1_DMA_BWMCNT_CUR (REG_DMA34_BWMCNT_CUR)
-#define PIXC0_CH0_DMA_DSCPTR_NXT (REG_DMA35_DSCPTR_NXT)
-#define PIXC0_CH0_DMA_ADDRSTART (REG_DMA35_ADDRSTART)
-#define PIXC0_CH0_DMA_CFG (REG_DMA35_CFG)
-#define PIXC0_CH0_DMA_XCNT (REG_DMA35_XCNT)
-#define PIXC0_CH0_DMA_XMOD (REG_DMA35_XMOD)
-#define PIXC0_CH0_DMA_YCNT (REG_DMA35_YCNT)
-#define PIXC0_CH0_DMA_YMOD (REG_DMA35_YMOD)
-#define PIXC0_CH0_DMA_DSCPTR_CUR (REG_DMA35_DSCPTR_CUR)
-#define PIXC0_CH0_DMA_DSCPTR_PRV (REG_DMA35_DSCPTR_PRV)
-#define PIXC0_CH0_DMA_ADDR_CUR (REG_DMA35_ADDR_CUR)
-#define PIXC0_CH0_DMA_STAT (REG_DMA35_STAT)
-#define PIXC0_CH0_DMA_XCNT_CUR (REG_DMA35_XCNT_CUR)
-#define PIXC0_CH0_DMA_YCNT_CUR (REG_DMA35_YCNT_CUR)
-#define PIXC0_CH0_DMA_BWLCNT (REG_DMA35_BWLCNT)
-#define PIXC0_CH0_DMA_BWLCNT_CUR (REG_DMA35_BWLCNT_CUR)
-#define PIXC0_CH0_DMA_BWMCNT (REG_DMA35_BWMCNT)
-#define PIXC0_CH0_DMA_BWMCNT_CUR (REG_DMA35_BWMCNT_CUR)
-#define PIXC0_CH1_DMA_DSCPTR_NXT (REG_DMA36_DSCPTR_NXT)
-#define PIXC0_CH1_DMA_ADDRSTART (REG_DMA36_ADDRSTART)
-#define PIXC0_CH1_DMA_CFG (REG_DMA36_CFG)
-#define PIXC0_CH1_DMA_XCNT (REG_DMA36_XCNT)
-#define PIXC0_CH1_DMA_XMOD (REG_DMA36_XMOD)
-#define PIXC0_CH1_DMA_YCNT (REG_DMA36_YCNT)
-#define PIXC0_CH1_DMA_YMOD (REG_DMA36_YMOD)
-#define PIXC0_CH1_DMA_DSCPTR_CUR (REG_DMA36_DSCPTR_CUR)
-#define PIXC0_CH1_DMA_DSCPTR_PRV (REG_DMA36_DSCPTR_PRV)
-#define PIXC0_CH1_DMA_ADDR_CUR (REG_DMA36_ADDR_CUR)
-#define PIXC0_CH1_DMA_STAT (REG_DMA36_STAT)
-#define PIXC0_CH1_DMA_XCNT_CUR (REG_DMA36_XCNT_CUR)
-#define PIXC0_CH1_DMA_YCNT_CUR (REG_DMA36_YCNT_CUR)
-#define PIXC0_CH1_DMA_BWLCNT (REG_DMA36_BWLCNT)
-#define PIXC0_CH1_DMA_BWLCNT_CUR (REG_DMA36_BWLCNT_CUR)
-#define PIXC0_CH1_DMA_BWMCNT (REG_DMA36_BWMCNT)
-#define PIXC0_CH1_DMA_BWMCNT_CUR (REG_DMA36_BWMCNT_CUR)
-#define PIXC0_CH2_DMA_DSCPTR_NXT (REG_DMA37_DSCPTR_NXT)
-#define PIXC0_CH2_DMA_ADDRSTART (REG_DMA37_ADDRSTART)
-#define PIXC0_CH2_DMA_CFG (REG_DMA37_CFG)
-#define PIXC0_CH2_DMA_XCNT (REG_DMA37_XCNT)
-#define PIXC0_CH2_DMA_XMOD (REG_DMA37_XMOD)
-#define PIXC0_CH2_DMA_YCNT (REG_DMA37_YCNT)
-#define PIXC0_CH2_DMA_YMOD (REG_DMA37_YMOD)
-#define PIXC0_CH2_DMA_DSCPTR_CUR (REG_DMA37_DSCPTR_CUR)
-#define PIXC0_CH2_DMA_DSCPTR_PRV (REG_DMA37_DSCPTR_PRV)
-#define PIXC0_CH2_DMA_ADDR_CUR (REG_DMA37_ADDR_CUR)
-#define PIXC0_CH2_DMA_STAT (REG_DMA37_STAT)
-#define PIXC0_CH2_DMA_XCNT_CUR (REG_DMA37_XCNT_CUR)
-#define PIXC0_CH2_DMA_YCNT_CUR (REG_DMA37_YCNT_CUR)
-#define PIXC0_CH2_DMA_BWLCNT (REG_DMA37_BWLCNT)
-#define PIXC0_CH2_DMA_BWLCNT_CUR (REG_DMA37_BWLCNT_CUR)
-#define PIXC0_CH2_DMA_BWMCNT (REG_DMA37_BWMCNT)
-#define PIXC0_CH2_DMA_BWMCNT_CUR (REG_DMA37_BWMCNT_CUR)
-#define PVP0_CPDOB_DMA_DSCPTR_NXT (REG_DMA38_DSCPTR_NXT)
-#define PVP0_CPDOB_DMA_ADDRSTART (REG_DMA38_ADDRSTART)
-#define PVP0_CPDOB_DMA_CFG (REG_DMA38_CFG)
-#define PVP0_CPDOB_DMA_XCNT (REG_DMA38_XCNT)
-#define PVP0_CPDOB_DMA_XMOD (REG_DMA38_XMOD)
-#define PVP0_CPDOB_DMA_YCNT (REG_DMA38_YCNT)
-#define PVP0_CPDOB_DMA_YMOD (REG_DMA38_YMOD)
-#define PVP0_CPDOB_DMA_DSCPTR_CUR (REG_DMA38_DSCPTR_CUR)
-#define PVP0_CPDOB_DMA_DSCPTR_PRV (REG_DMA38_DSCPTR_PRV)
-#define PVP0_CPDOB_DMA_ADDR_CUR (REG_DMA38_ADDR_CUR)
-#define PVP0_CPDOB_DMA_STAT (REG_DMA38_STAT)
-#define PVP0_CPDOB_DMA_XCNT_CUR (REG_DMA38_XCNT_CUR)
-#define PVP0_CPDOB_DMA_YCNT_CUR (REG_DMA38_YCNT_CUR)
-#define PVP0_CPDOB_DMA_BWLCNT (REG_DMA38_BWLCNT)
-#define PVP0_CPDOB_DMA_BWLCNT_CUR (REG_DMA38_BWLCNT_CUR)
-#define PVP0_CPDOB_DMA_BWMCNT (REG_DMA38_BWMCNT)
-#define PVP0_CPDOB_DMA_BWMCNT_CUR (REG_DMA38_BWMCNT_CUR)
-#define PVP0_CPDOC_DMA_DSCPTR_NXT (REG_DMA39_DSCPTR_NXT)
-#define PVP0_CPDOC_DMA_ADDRSTART (REG_DMA39_ADDRSTART)
-#define PVP0_CPDOC_DMA_CFG (REG_DMA39_CFG)
-#define PVP0_CPDOC_DMA_XCNT (REG_DMA39_XCNT)
-#define PVP0_CPDOC_DMA_XMOD (REG_DMA39_XMOD)
-#define PVP0_CPDOC_DMA_YCNT (REG_DMA39_YCNT)
-#define PVP0_CPDOC_DMA_YMOD (REG_DMA39_YMOD)
-#define PVP0_CPDOC_DMA_DSCPTR_CUR (REG_DMA39_DSCPTR_CUR)
-#define PVP0_CPDOC_DMA_DSCPTR_PRV (REG_DMA39_DSCPTR_PRV)
-#define PVP0_CPDOC_DMA_ADDR_CUR (REG_DMA39_ADDR_CUR)
-#define PVP0_CPDOC_DMA_STAT (REG_DMA39_STAT)
-#define PVP0_CPDOC_DMA_XCNT_CUR (REG_DMA39_XCNT_CUR)
-#define PVP0_CPDOC_DMA_YCNT_CUR (REG_DMA39_YCNT_CUR)
-#define PVP0_CPDOC_DMA_BWLCNT (REG_DMA39_BWLCNT)
-#define PVP0_CPDOC_DMA_BWLCNT_CUR (REG_DMA39_BWLCNT_CUR)
-#define PVP0_CPDOC_DMA_BWMCNT (REG_DMA39_BWMCNT)
-#define PVP0_CPDOC_DMA_BWMCNT_CUR (REG_DMA39_BWMCNT_CUR)
-#define PVP0_CPSTAT_DMA_DSCPTR_NXT (REG_DMA40_DSCPTR_NXT)
-#define PVP0_CPSTAT_DMA_ADDRSTART (REG_DMA40_ADDRSTART)
-#define PVP0_CPSTAT_DMA_CFG (REG_DMA40_CFG)
-#define PVP0_CPSTAT_DMA_XCNT (REG_DMA40_XCNT)
-#define PVP0_CPSTAT_DMA_XMOD (REG_DMA40_XMOD)
-#define PVP0_CPSTAT_DMA_YCNT (REG_DMA40_YCNT)
-#define PVP0_CPSTAT_DMA_YMOD (REG_DMA40_YMOD)
-#define PVP0_CPSTAT_DMA_DSCPTR_CUR (REG_DMA40_DSCPTR_CUR)
-#define PVP0_CPSTAT_DMA_DSCPTR_PRV (REG_DMA40_DSCPTR_PRV)
-#define PVP0_CPSTAT_DMA_ADDR_CUR (REG_DMA40_ADDR_CUR)
-#define PVP0_CPSTAT_DMA_STAT (REG_DMA40_STAT)
-#define PVP0_CPSTAT_DMA_XCNT_CUR (REG_DMA40_XCNT_CUR)
-#define PVP0_CPSTAT_DMA_YCNT_CUR (REG_DMA40_YCNT_CUR)
-#define PVP0_CPSTAT_DMA_BWLCNT (REG_DMA40_BWLCNT)
-#define PVP0_CPSTAT_DMA_BWLCNT_CUR (REG_DMA40_BWLCNT_CUR)
-#define PVP0_CPSTAT_DMA_BWMCNT (REG_DMA40_BWMCNT)
-#define PVP0_CPSTAT_DMA_BWMCNT_CUR (REG_DMA40_BWMCNT_CUR)
-#define PVP0_CPCI_DMA_DSCPTR_NXT (REG_DMA41_DSCPTR_NXT)
-#define PVP0_CPCI_DMA_ADDRSTART (REG_DMA41_ADDRSTART)
-#define PVP0_CPCI_DMA_CFG (REG_DMA41_CFG)
-#define PVP0_CPCI_DMA_XCNT (REG_DMA41_XCNT)
-#define PVP0_CPCI_DMA_XMOD (REG_DMA41_XMOD)
-#define PVP0_CPCI_DMA_YCNT (REG_DMA41_YCNT)
-#define PVP0_CPCI_DMA_YMOD (REG_DMA41_YMOD)
-#define PVP0_CPCI_DMA_DSCPTR_CUR (REG_DMA41_DSCPTR_CUR)
-#define PVP0_CPCI_DMA_DSCPTR_PRV (REG_DMA41_DSCPTR_PRV)
-#define PVP0_CPCI_DMA_ADDR_CUR (REG_DMA41_ADDR_CUR)
-#define PVP0_CPCI_DMA_STAT (REG_DMA41_STAT)
-#define PVP0_CPCI_DMA_XCNT_CUR (REG_DMA41_XCNT_CUR)
-#define PVP0_CPCI_DMA_YCNT_CUR (REG_DMA41_YCNT_CUR)
-#define PVP0_CPCI_DMA_BWLCNT (REG_DMA41_BWLCNT)
-#define PVP0_CPCI_DMA_BWLCNT_CUR (REG_DMA41_BWLCNT_CUR)
-#define PVP0_CPCI_DMA_BWMCNT (REG_DMA41_BWMCNT)
-#define PVP0_CPCI_DMA_BWMCNT_CUR (REG_DMA41_BWMCNT_CUR)
-#define PVP0_MPDO_DMA_DSCPTR_NXT (REG_DMA42_DSCPTR_NXT)
-#define PVP0_MPDO_DMA_ADDRSTART (REG_DMA42_ADDRSTART)
-#define PVP0_MPDO_DMA_CFG (REG_DMA42_CFG)
-#define PVP0_MPDO_DMA_XCNT (REG_DMA42_XCNT)
-#define PVP0_MPDO_DMA_XMOD (REG_DMA42_XMOD)
-#define PVP0_MPDO_DMA_YCNT (REG_DMA42_YCNT)
-#define PVP0_MPDO_DMA_YMOD (REG_DMA42_YMOD)
-#define PVP0_MPDO_DMA_DSCPTR_CUR (REG_DMA42_DSCPTR_CUR)
-#define PVP0_MPDO_DMA_DSCPTR_PRV (REG_DMA42_DSCPTR_PRV)
-#define PVP0_MPDO_DMA_ADDR_CUR (REG_DMA42_ADDR_CUR)
-#define PVP0_MPDO_DMA_STAT (REG_DMA42_STAT)
-#define PVP0_MPDO_DMA_XCNT_CUR (REG_DMA42_XCNT_CUR)
-#define PVP0_MPDO_DMA_YCNT_CUR (REG_DMA42_YCNT_CUR)
-#define PVP0_MPDO_DMA_BWLCNT (REG_DMA42_BWLCNT)
-#define PVP0_MPDO_DMA_BWLCNT_CUR (REG_DMA42_BWLCNT_CUR)
-#define PVP0_MPDO_DMA_BWMCNT (REG_DMA42_BWMCNT)
-#define PVP0_MPDO_DMA_BWMCNT_CUR (REG_DMA42_BWMCNT_CUR)
-#define PVP0_MPDI_DMA_DSCPTR_NXT (REG_DMA43_DSCPTR_NXT)
-#define PVP0_MPDI_DMA_ADDRSTART (REG_DMA43_ADDRSTART)
-#define PVP0_MPDI_DMA_CFG (REG_DMA43_CFG)
-#define PVP0_MPDI_DMA_XCNT (REG_DMA43_XCNT)
-#define PVP0_MPDI_DMA_XMOD (REG_DMA43_XMOD)
-#define PVP0_MPDI_DMA_YCNT (REG_DMA43_YCNT)
-#define PVP0_MPDI_DMA_YMOD (REG_DMA43_YMOD)
-#define PVP0_MPDI_DMA_DSCPTR_CUR (REG_DMA43_DSCPTR_CUR)
-#define PVP0_MPDI_DMA_DSCPTR_PRV (REG_DMA43_DSCPTR_PRV)
-#define PVP0_MPDI_DMA_ADDR_CUR (REG_DMA43_ADDR_CUR)
-#define PVP0_MPDI_DMA_STAT (REG_DMA43_STAT)
-#define PVP0_MPDI_DMA_XCNT_CUR (REG_DMA43_XCNT_CUR)
-#define PVP0_MPDI_DMA_YCNT_CUR (REG_DMA43_YCNT_CUR)
-#define PVP0_MPDI_DMA_BWLCNT (REG_DMA43_BWLCNT)
-#define PVP0_MPDI_DMA_BWLCNT_CUR (REG_DMA43_BWLCNT_CUR)
-#define PVP0_MPDI_DMA_BWMCNT (REG_DMA43_BWMCNT)
-#define PVP0_MPDI_DMA_BWMCNT_CUR (REG_DMA43_BWMCNT_CUR)
-#define PVP0_MPSTAT_DMA_DSCPTR_NXT (REG_DMA44_DSCPTR_NXT)
-#define PVP0_MPSTAT_DMA_ADDRSTART (REG_DMA44_ADDRSTART)
-#define PVP0_MPSTAT_DMA_CFG (REG_DMA44_CFG)
-#define PVP0_MPSTAT_DMA_XCNT (REG_DMA44_XCNT)
-#define PVP0_MPSTAT_DMA_XMOD (REG_DMA44_XMOD)
-#define PVP0_MPSTAT_DMA_YCNT (REG_DMA44_YCNT)
-#define PVP0_MPSTAT_DMA_YMOD (REG_DMA44_YMOD)
-#define PVP0_MPSTAT_DMA_DSCPTR_CUR (REG_DMA44_DSCPTR_CUR)
-#define PVP0_MPSTAT_DMA_DSCPTR_PRV (REG_DMA44_DSCPTR_PRV)
-#define PVP0_MPSTAT_DMA_ADDR_CUR (REG_DMA44_ADDR_CUR)
-#define PVP0_MPSTAT_DMA_STAT (REG_DMA44_STAT)
-#define PVP0_MPSTAT_DMA_XCNT_CUR (REG_DMA44_XCNT_CUR)
-#define PVP0_MPSTAT_DMA_YCNT_CUR (REG_DMA44_YCNT_CUR)
-#define PVP0_MPSTAT_DMA_BWLCNT (REG_DMA44_BWLCNT)
-#define PVP0_MPSTAT_DMA_BWLCNT_CUR (REG_DMA44_BWLCNT_CUR)
-#define PVP0_MPSTAT_DMA_BWMCNT (REG_DMA44_BWMCNT)
-#define PVP0_MPSTAT_DMA_BWMCNT_CUR (REG_DMA44_BWMCNT_CUR)
-#define PVP0_MPCI_DMA_DSCPTR_NXT (REG_DMA45_DSCPTR_NXT)
-#define PVP0_MPCI_DMA_ADDRSTART (REG_DMA45_ADDRSTART)
-#define PVP0_MPCI_DMA_CFG (REG_DMA45_CFG)
-#define PVP0_MPCI_DMA_XCNT (REG_DMA45_XCNT)
-#define PVP0_MPCI_DMA_XMOD (REG_DMA45_XMOD)
-#define PVP0_MPCI_DMA_YCNT (REG_DMA45_YCNT)
-#define PVP0_MPCI_DMA_YMOD (REG_DMA45_YMOD)
-#define PVP0_MPCI_DMA_DSCPTR_CUR (REG_DMA45_DSCPTR_CUR)
-#define PVP0_MPCI_DMA_DSCPTR_PRV (REG_DMA45_DSCPTR_PRV)
-#define PVP0_MPCI_DMA_ADDR_CUR (REG_DMA45_ADDR_CUR)
-#define PVP0_MPCI_DMA_STAT (REG_DMA45_STAT)
-#define PVP0_MPCI_DMA_XCNT_CUR (REG_DMA45_XCNT_CUR)
-#define PVP0_MPCI_DMA_YCNT_CUR (REG_DMA45_YCNT_CUR)
-#define PVP0_MPCI_DMA_BWLCNT (REG_DMA45_BWLCNT)
-#define PVP0_MPCI_DMA_BWLCNT_CUR (REG_DMA45_BWLCNT_CUR)
-#define PVP0_MPCI_DMA_BWMCNT (REG_DMA45_BWMCNT)
-#define PVP0_MPCI_DMA_BWMCNT_CUR (REG_DMA45_BWMCNT_CUR)
-#define PVP0_CPDOA_DMA_DSCPTR_NXT (REG_DMA46_DSCPTR_NXT)
-#define PVP0_CPDOA_DMA_ADDRSTART (REG_DMA46_ADDRSTART)
-#define PVP0_CPDOA_DMA_CFG (REG_DMA46_CFG)
-#define PVP0_CPDOA_DMA_XCNT (REG_DMA46_XCNT)
-#define PVP0_CPDOA_DMA_XMOD (REG_DMA46_XMOD)
-#define PVP0_CPDOA_DMA_YCNT (REG_DMA46_YCNT)
-#define PVP0_CPDOA_DMA_YMOD (REG_DMA46_YMOD)
-#define PVP0_CPDOA_DMA_DSCPTR_CUR (REG_DMA46_DSCPTR_CUR)
-#define PVP0_CPDOA_DMA_DSCPTR_PRV (REG_DMA46_DSCPTR_PRV)
-#define PVP0_CPDOA_DMA_ADDR_CUR (REG_DMA46_ADDR_CUR)
-#define PVP0_CPDOA_DMA_STAT (REG_DMA46_STAT)
-#define PVP0_CPDOA_DMA_XCNT_CUR (REG_DMA46_XCNT_CUR)
-#define PVP0_CPDOA_DMA_YCNT_CUR (REG_DMA46_YCNT_CUR)
-#define PVP0_CPDOA_DMA_BWLCNT (REG_DMA46_BWLCNT)
-#define PVP0_CPDOA_DMA_BWLCNT_CUR (REG_DMA46_BWLCNT_CUR)
-#define PVP0_CPDOA_DMA_BWMCNT (REG_DMA46_BWMCNT)
-#define PVP0_CPDOA_DMA_BWMCNT_CUR (REG_DMA46_BWMCNT_CUR)
-
-/* ==================================
- DMA Error CHID Definitions
- ================================== */
-#define CHID_SPORT0_A_DMA 0 /* Channel A DMA */
-#define CHID_SPORT0_B_DMA 1 /* Channel B DMA */
-#define CHID_SPORT1_A_DMA 2 /* Channel A DMA */
-#define CHID_SPORT1_B_DMA 3 /* Channel B DMA */
-#define CHID_SPORT2_A_DMA 4 /* Channel A DMA */
-#define CHID_SPORT2_B_DMA 5 /* Channel B DMA */
-#define CHID_SPI0_TXDMA 6 /* TX DMA Channel */
-#define CHID_SPI0_RXDMA 7 /* RX DMA Channel */
-#define CHID_SPI1_TXDMA 8 /* TX DMA Channel */
-#define CHID_SPI1_RXDMA 9 /* RX DMA Channel */
-#define CHID_RSI0_DMA 10 /* DMA Channel */
-#define CHID_SDU0_DMA 11 /* DMA */
-/* -- RESERVED -- 12 */
-#define CHID_LP0_DMA 13 /* DMA Channel */
-#define CHID_LP1_DMA 14 /* DMA Channel */
-#define CHID_LP2_DMA 15 /* DMA Channel */
-#define CHID_LP3_DMA 16 /* DMA Channel */
-#define CHID_UART0_TXDMA 17 /* Transmit DMA */
-#define CHID_UART0_RXDMA 18 /* Receive DMA */
-#define CHID_UART1_TXDMA 19 /* Transmit DMA */
-#define CHID_UART1_RXDMA 20 /* Receive DMA */
-#define CHID_MDMA0_SRC 21 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define CHID_MDMA0_DST 22 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define CHID_MDMA1_SRC 23 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define CHID_MDMA1_DST 24 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define CHID_MDMA2_SRC 25 /* Memory DMA Stream 2 Source Channel */
-#define CHID_MDMA2_DST 26 /* Memory DMA Stream 2 Destination Channel */
-#define CHID_MDMA3_SRC 27 /* Memory DMA Stream 3 Source Channel */
-#define CHID_MDMA3_DST 28 /* Memory DMA Stream 3 Destination Channel */
-#define CHID_EPPI0_CH0_DMA 29 /* Channel 0 DMA */
-#define CHID_EPPI0_CH1_DMA 30 /* Channel 1 DMA */
-#define CHID_EPPI2_CH0_DMA 31 /* Channel 0 DMA */
-#define CHID_EPPI2_CH1_DMA 32 /* Channel 1 DMA */
-#define CHID_EPPI1_CH0_DMA 33 /* Channel 0 DMA */
-#define CHID_EPPI1_CH1_DMA 34 /* Channel 1 DMA */
-#define CHID_PIXC0_CH0_DMA 35 /* Channel 0 DMA */
-#define CHID_PIXC0_CH1_DMA 36 /* Channel 1 DMA */
-#define CHID_PIXC0_CH2_DMA 37 /* Channel 2 DMA */
-#define CHID_PVP0_CPDOB_DMA 38 /* Camera Pipe Data Out B DMA Channel */
-#define CHID_PVP0_CPDOC_DMA 39 /* Camera Pipe Data Out C DMA Channel */
-#define CHID_PVP0_CPSTAT_DMA 40 /* Camera Pipe Status Out DMA Channel */
-#define CHID_PVP0_CPCI_DMA 41 /* Camera Pipe Control In DMA Channel */
-#define CHID_PVP0_MPDO_DMA 42 /* Memory Pipe Data Out DMA Channel */
-#define CHID_PVP0_MPDI_DMA 43 /* Memory Pipe Data In DMA Channel */
-#define CHID_PVP0_MPSTAT_DMA 44 /* Memory Pipe Status Out DMA Channel */
-#define CHID_PVP0_MPCI_DMA 45 /* Memory Pipe Control In DMA Channel */
-#define CHID_PVP0_CPDOA_DMA 46 /* Camera Pipe Data Out A DMA Channel */
-
-/* ==============================
- Interrupt Definitions
- ============================== */
-#define INTR_SEC0_ERR 0 /* Error */
-#define INTR_CGU0_EVT 1 /* Event */
-#define INTR_WDOG0_EXP 2 /* Expiration */
-#define INTR_WDOG1_EXP 3 /* Expiration */
-#define INTR_L2CTL0_ECC_ERR 4 /* ECC Error */
-#define INTR_L2CTL0_ECC_WARNING 5 /* ECC Warning */
-#define INTR_C0_DBL_FAULT 6 /* Core 0 Double Fault */
-#define INTR_C1_DBL_FAULT 7 /* Core 1 Double Fault */
-#define INTR_C0_HW_ERR 8 /* Core 0 Hardware Error */
-#define INTR_C1_HW_ERR 9 /* Core 1 Hardware Error */
-#define INTR_C0_NMI_L1_PARITY_ERR 10 /* Core 0 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_C1_NMI_L1_PARITY_ERR 11 /* Core 1 Unhandled NMI or L1 Memory Parity Error */
-#define INTR_TIMER0_TMR0 12 /* Timer 0 */
-#define INTR_TIMER0_TMR1 13 /* Timer 1 */
-#define INTR_TIMER0_TMR2 14 /* Timer 2 */
-#define INTR_TIMER0_TMR3 15 /* Timer 3 */
-#define INTR_TIMER0_TMR4 16 /* Timer 4 */
-#define INTR_TIMER0_TMR5 17 /* Timer 5 */
-#define INTR_TIMER0_TMR6 18 /* Timer 6 */
-#define INTR_TIMER0_TMR7 19 /* Timer 7 */
-#define INTR_TIMER0_STAT 20 /* Status */
-#define INTR_PINT0_BLOCK 21 /* Pin Interrupt Block */
-#define INTR_PINT1_BLOCK 22 /* Pin Interrupt Block */
-#define INTR_PINT2_BLOCK 23 /* Pin Interrupt Block */
-#define INTR_PINT3_BLOCK 24 /* Pin Interrupt Block */
-#define INTR_PINT4_BLOCK 25 /* Pin Interrupt Block */
-#define INTR_PINT5_BLOCK 26 /* Pin Interrupt Block */
-#define INTR_CNT0_STAT 27 /* Status */
-#define INTR_PWM0_SYNC 28 /* PWMTMR Group */
-#define INTR_PWM0_TRIP 29 /* Trip */
-#define INTR_PWM1_SYNC 30 /* PWMTMR Group */
-#define INTR_PWM1_TRIP 31 /* Trip */
-#define INTR_TWI0_DATA 32 /* Data Interrupt */
-#define INTR_TWI1_DATA 33 /* Data Interrupt */
-#define INTR_SOFT0 34 /* Software-driven Interrupt 0 */
-#define INTR_SOFT1 35 /* Software-driven Interrupt 1 */
-#define INTR_SOFT2 36 /* Software-driven Interrupt 2 */
-#define INTR_SOFT3 37 /* Software-driven Interrupt 3 */
-#define INTR_ACM0_EVT_MISS 38 /* Event Miss */
-#define INTR_ACM0_EVT_COMPLETE 39 /* Event Complete */
-#define INTR_CAN0_RX 40 /* Receive */
-#define INTR_CAN0_TX 41 /* Transmit */
-#define INTR_CAN0_STAT 42 /* Status */
-#define INTR_SPORT0_A_DMA 43 /* Channel A DMA */
-#define INTR_SPORT0_A_STAT 44 /* Channel A Status */
-#define INTR_SPORT0_B_DMA 45 /* Channel B DMA */
-#define INTR_SPORT0_B_STAT 46 /* Channel B Status */
-#define INTR_SPORT1_A_DMA 47 /* Channel A DMA */
-#define INTR_SPORT1_A_STAT 48 /* Channel A Status */
-#define INTR_SPORT1_B_DMA 49 /* Channel B DMA */
-#define INTR_SPORT1_B_STAT 50 /* Channel B Status */
-#define INTR_SPORT2_A_DMA 51 /* Channel A DMA */
-#define INTR_SPORT2_A_STAT 52 /* Channel A Status */
-#define INTR_SPORT2_B_DMA 53 /* Channel B DMA */
-#define INTR_SPORT2_B_STAT 54 /* Channel B Status */
-#define INTR_SPI0_TXDMA 55 /* TX DMA Channel */
-#define INTR_SPI0_RXDMA 56 /* RX DMA Channel */
-#define INTR_SPI0_STAT 57 /* Status */
-#define INTR_SPI1_TXDMA 58 /* TX DMA Channel */
-#define INTR_SPI1_RXDMA 59 /* RX DMA Channel */
-#define INTR_SPI1_STAT 60 /* Status */
-#define INTR_RSI0_DMA 61 /* DMA Channel */
-#define INTR_RSI0_INT0 62 /* Interrupt 0 */
-#define INTR_RSI0_INT1 63 /* Interrupt 1 */
-#define INTR_SDU0_DMA 64 /* DMA */
-/* -- RESERVED -- 65 */
-/* -- RESERVED -- 66 */
-/* -- RESERVED -- 67 */
-#define INTR_EMAC0_STAT 68 /* Status */
-/* -- RESERVED -- 69 */
-#define INTR_EMAC1_STAT 70 /* Status */
-/* -- RESERVED -- 71 */
-#define INTR_LP0_DMA 72 /* DMA Channel */
-#define INTR_LP0_STAT 73 /* Status */
-#define INTR_LP1_DMA 74 /* DMA Channel */
-#define INTR_LP1_STAT 75 /* Status */
-#define INTR_LP2_DMA 76 /* DMA Channel */
-#define INTR_LP2_STAT 77 /* Status */
-#define INTR_LP3_DMA 78 /* DMA Channel */
-#define INTR_LP3_STAT 79 /* Status */
-#define INTR_UART0_TXDMA 80 /* Transmit DMA */
-#define INTR_UART0_RXDMA 81 /* Receive DMA */
-#define INTR_UART0_STAT 82 /* Status */
-#define INTR_UART1_TXDMA 83 /* Transmit DMA */
-#define INTR_UART1_RXDMA 84 /* Receive DMA */
-#define INTR_UART1_STAT 85 /* Status */
-#define INTR_MDMA0_SRC 86 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define INTR_MDMA0_DST 87 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define INTR_CRC0_DCNTEXP 88 /* Datacount expiration */
-#define INTR_CRC0_ERR 89 /* Error */
-#define INTR_MDMA1_SRC 90 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define INTR_MDMA1_DST 91 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define INTR_CRC1_DCNTEXP 92 /* Datacount expiration */
-#define INTR_CRC1_ERR 93 /* Error */
-#define INTR_MDMA2_SRC 94 /* Memory DMA Stream 2 Source Channel */
-#define INTR_MDMA2_DST 95 /* Memory DMA Stream 2 Destination Channel */
-#define INTR_MDMA3_SRC 96 /* Memory DMA Stream 3 Source Channel */
-#define INTR_MDMA3_DST 97 /* Memory DMA Stream 3 Destination Channel */
-#define INTR_EPPI0_CH0_DMA 98 /* Channel 0 DMA */
-#define INTR_EPPI0_CH1_DMA 99 /* Channel 1 DMA */
-#define INTR_EPPI0_STAT 100 /* Status */
-#define INTR_EPPI2_CH0_DMA 101 /* Channel 0 DMA */
-#define INTR_EPPI2_CH1_DMA 102 /* Channel 1 DMA */
-#define INTR_EPPI2_STAT 103 /* Status */
-#define INTR_EPPI1_CH0_DMA 104 /* Channel 0 DMA */
-#define INTR_EPPI1_CH1_DMA 105 /* Channel 1 DMA */
-#define INTR_EPPI1_STAT 106 /* Status */
-#define INTR_PIXC0_CH0_DMA 107 /* Channel 0 DMA */
-#define INTR_PIXC0_CH1_DMA 108 /* Channel 1 DMA */
-#define INTR_PIXC0_CH2_DMA 109 /* Channel 2 DMA */
-#define INTR_PIXC0_STAT 110 /* Status */
-#define INTR_PVP0_CPDOB_DMA 111 /* Camera Pipe Data Out B DMA Channel */
-#define INTR_PVP0_CPDOC_DMA 112 /* Camera Pipe Data Out C DMA Channel */
-#define INTR_PVP0_CPSTAT_DMA 113 /* Camera Pipe Status Out DMA Channel */
-#define INTR_PVP0_CPCI_DMA 114 /* Camera Pipe Control In DMA Channel */
-#define INTR_PVP0_STAT0 115 /* Status 0 */
-#define INTR_PVP0_MPDO_DMA 116 /* Memory Pipe Data Out DMA Channel */
-#define INTR_PVP0_MPDI_DMA 117 /* Memory Pipe Data In DMA Channel */
-#define INTR_PVP0_MPSTAT_DMA 118 /* Memory Pipe Status Out DMA Channel */
-#define INTR_PVP0_MPCI_DMA 119 /* Memory Pipe Control In DMA Channel */
-#define INTR_PVP0_CPDOA_DMA 120 /* Camera Pipe Data Out A DMA Channel */
-#define INTR_PVP0_STAT1 121 /* Status 1 */
-#define INTR_USB0_STAT 122 /* Status/FIFO Data Ready */
-#define INTR_USB0_DATA 123 /* DMA Status/Transfer Complete */
-#define INTR_TRU0_INT0 124 /* Interrupt 0 */
-#define INTR_TRU0_INT1 125 /* Interrupt 1 */
-#define INTR_TRU0_INT2 126 /* Interrupt 2 */
-#define INTR_TRU0_INT3 127 /* Interrupt 3 */
-#define INTR_DMAC_ERR 128 /* DMA Controller Error */
-#define INTR_CGU0_ERR 129 /* Error */
-/* -- RESERVED -- 130 */
-#define INTR_DPM0_EVT 131 /* Event */
-/* -- RESERVED -- 132 */
-#define INTR_SWU0_EVT 133 /* Event */
-#define INTR_SWU1_EVT 134 /* Event */
-#define INTR_SWU2_EVT 135 /* Event */
-#define INTR_SWU3_EVT 136 /* Event */
-#define INTR_SWU4_EVT 137 /* Event */
-#define INTR_SWU5_EVT 138 /* Event */
-#define INTR_SWU6_EVT 139 /* Event */
-
-/* ==============================
- Parameters
- ============================== */
-
-
-/* Generic System Module Parameters */
-
-#define PARAM_SYS0_NUM_BMODE 3
-#define PARAM_SYS0_NUM_CORES 2
-#define PARAM_SYS0_NUM_MDMA_STREAMS 4
-#define PARAM_SYS0_NUM_RSVD_INT 7
-#define PARAM_SYS0_NUM_RSVD_TRIG 6
-#define PARAM_SYS0_NUM_SW_INT 4
-#define PARAM_SYS0_NUM_SW_TRIG 6
-
-
-
-
-/* RSI Parameters */
-
-#define PARAM_RSI0_NUM_DATA 8
-#define PARAM_RSI0_NUM_INT 2
-
-
-
-/* Link Port Parameters */
-
-#define PARAM_LP0_NUM_DATA 8
-#define PARAM_LP1_NUM_DATA 8
-#define PARAM_LP2_NUM_DATA 8
-#define PARAM_LP3_NUM_DATA 8
-
-
-/* General Purpose Timer Block Parameters */
-
-#define PARAM_TIMER0_NUMTIMERS 8
-
-
-
-
-
-/* General Purpose Input/Output Parameters */
-
-#define PARAM_PORTA_PORT_WIDTH 16
-#define PARAM_PORTB_PORT_WIDTH 16
-#define PARAM_PORTC_PORT_WIDTH 16
-#define PARAM_PORTD_PORT_WIDTH 16
-#define PARAM_PORTE_PORT_WIDTH 16
-#define PARAM_PORTF_PORT_WIDTH 16
-#define PARAM_PORTG_PORT_WIDTH 16
-
-
-
-
-/* Static Memory Controller Parameters */
-
-#define PARAM_SMC0_NUM_ABE 2
-#define PARAM_SMC0_NUM_ADDR 26
-#define PARAM_SMC0_NUM_AMS 4
-#define PARAM_SMC0_NUM_DATA 16
-
-
-
-/* EPPI Parameters */
-
-#define PARAM_EPPI0_MAXWIDTH 24
-#define PARAM_EPPI0_NUM_DATA 24
-#define PARAM_EPPI1_MAXWIDTH 24
-#define PARAM_EPPI1_NUM_DATA 18
-#define PARAM_EPPI2_MAXWIDTH 24
-#define PARAM_EPPI2_NUM_DATA 18
-
-
-
-
-/* Pulse-Width Modulator Parameters */
-
-#define PARAM_PWM0_ASYM_DEADTIME 0
-#define PARAM_PWM0_COMPRESS 1
-#define PARAM_PWM0_DOUBLE_UPDATE 0
-#define PARAM_PWM0_FULL_DUTY_REGS 0
-#define PARAM_PWM0_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM0_LO_HP_REGS 0
-#define PARAM_PWM0_NUM_TRIP 2
-#define PARAM_PWM0_NUM_TRIP_PINS 2
-#define PARAM_PWM0_NUM_TRIP_TRIG 0
-#define PARAM_PWM0_REVID_MAJOR 0
-#define PARAM_PWM0_REVID_REV 0
-#define PARAM_PWM1_ASYM_DEADTIME 0
-#define PARAM_PWM1_COMPRESS 1
-#define PARAM_PWM1_DOUBLE_UPDATE 0
-#define PARAM_PWM1_FULL_DUTY_REGS 0
-#define PARAM_PWM1_HI_HP_REGS_PRIVATE 1
-#define PARAM_PWM1_LO_HP_REGS 0
-#define PARAM_PWM1_NUM_TRIP 2
-#define PARAM_PWM1_NUM_TRIP_PINS 2
-#define PARAM_PWM1_NUM_TRIP_TRIG 0
-#define PARAM_PWM1_REVID_MAJOR 0
-#define PARAM_PWM1_REVID_REV 0
-
-
-/* Video Subsystem Registers Parameters */
-
-#define PARAM_VID0_PIXC_ABSENT 0
-#define PARAM_VID0_PVP_ABSENT 0
-
-
-
-/* System Debug Unit Parameters */
-
-#define PARAM_SDU0_IDCODE_PRID 0
-#define PARAM_SDU0_IDCODE_REVID 0
-
-
-/* Ethernet MAC Parameters */
-
-#define PARAM_EMAC0_NUM_RX 2
-#define PARAM_EMAC0_NUM_TX 2
-#define PARAM_EMAC1_NUM_RX 2
-#define PARAM_EMAC1_NUM_TX 2
-
-
-
-/* Serial Peripheral Interface Parameters */
-
-#define PARAM_SPI0_MEM_MAPPED 0
-#define PARAM_SPI0_NUM_SEL 7
-#define PARAM_SPI0_PTM_EXISTS 1
-#define PARAM_SPI0_REVID_MAJOR 3
-#define PARAM_SPI0_REVID_REV 0
-#define PARAM_SPI1_MEM_MAPPED 0
-#define PARAM_SPI1_NUM_SEL 7
-#define PARAM_SPI1_PTM_EXISTS 1
-#define PARAM_SPI1_REVID_MAJOR 3
-#define PARAM_SPI1_REVID_REV 0
-
-
-
-/* ACM Parameters */
-
-#define PARAM_ACM0_NUM_ADDR 5
-#define PARAM_ACM0_NUM_TRIG 2
-
-
-/* DDR Parameters */
-
-#define PARAM_DMC0_NUM_ADDR 14
-#define PARAM_DMC0_NUM_BA 3
-#define PARAM_DMC0_NUM_CS 1
-#define PARAM_DMC0_NUM_DATA 16
-
-
-/* System Cross Bar Parameters */
-
-#define PARAM_SCB0_NUM_MASTERS 6
-#define PARAM_SCB0_NUM_SLOTS 32
-#define PARAM_SCB1_NUM_MASTERS 1
-#define PARAM_SCB1_NUM_SLOTS 32
-#define PARAM_SCB2_NUM_MASTERS 1
-#define PARAM_SCB2_NUM_SLOTS 32
-#define PARAM_SCB3_NUM_MASTERS 1
-#define PARAM_SCB3_NUM_SLOTS 32
-#define PARAM_SCB4_NUM_MASTERS 1
-#define PARAM_SCB4_NUM_SLOTS 32
-#define PARAM_SCB5_NUM_MASTERS 1
-#define PARAM_SCB5_NUM_SLOTS 32
-#define PARAM_SCB6_NUM_MASTERS 1
-#define PARAM_SCB6_NUM_SLOTS 32
-#define PARAM_SCB7_NUM_MASTERS 1
-#define PARAM_SCB7_NUM_SLOTS 32
-#define PARAM_SCB8_NUM_MASTERS 1
-#define PARAM_SCB8_NUM_SLOTS 32
-#define PARAM_SCB9_NUM_MASTERS 1
-#define PARAM_SCB9_NUM_SLOTS 32
-#define PARAM_SCB10_NUM_MASTERS 3
-#define PARAM_SCB10_NUM_SLOTS 32
-#define PARAM_SCB11_NUM_MASTERS 7
-#define PARAM_SCB11_NUM_SLOTS 32
-
-
-
-/* System Event Controller Parameters */
-
-#define PARAM_SEC0_CCOUNT 2
-#define PARAM_SEC0_SCOUNT 140
-
-
-/* Trigger Routing Unit Parameters */
-
-#define PARAM_TRU0_NUM_INTS 4
-#define PARAM_TRU0_NUM_TRIGS 4
-#define PARAM_TRU0_SSRCOUNT 87
-
-
-/* Reset Control Unit Parameters */
-
-#define PARAM_RCU0_CCOUNT 2
-#define PARAM_RCU0_CRCTL_CR_INIT 2
-#define PARAM_RCU0_CRSTAT_CR_INIT 3
-#define PARAM_RCU0_SICOUNT 2
-#define PARAM_RCU0_SVECT_INIT 65440
-
-
-/* System Protection Unit Parameters */
-
-#define PARAM_SPU0_CM_COUNT 2
-#define PARAM_SPU0_END_POINT_COUNT 86
-#define PARAM_SPU0_SM_COUNT 2
-
-
-/* Clock Generation Unit Parameters */
-
-#define PARAM_CGU0_CSEL_DEFAULT 4
-#define PARAM_CGU0_DSEL_DEFAULT 8
-#define PARAM_CGU0_MSEL_DEFAULT 16
-#define PARAM_CGU0_OSEL_DEFAULT 16
-#define PARAM_CGU0_PLLBP_DEFAULT 0
-#define PARAM_CGU0_S0SEL_DEFAULT 2
-#define PARAM_CGU0_S1SEL_DEFAULT 2
-#define PARAM_CGU0_SYSSEL_DEFAULT 8
-
-
-/* Dynamic Power Management Parameters */
-
-#define PARAM_DPM0_NUM_CCLK 2
-#define PARAM_DPM0_NUM_HV 8
-#define PARAM_DPM0_NUM_SCLK 4
-#define PARAM_DPM0_NUM_WAKE 8
-
-
-
-/* Universal Serial Bus Controller Parameters */
-
-#define PARAM_USB0_DMA_CHAN 8
-#define PARAM_USB0_DYN_FIFO_SIZE 1
-#define PARAM_USB0_FS_PHY 0
-#define PARAM_USB0_HS_PHY 1
-#define PARAM_USB0_LOOPBACK 1
-#define PARAM_USB0_NUM_ENDPTS 12
-#define PARAM_USB0_NUM_ENDPTS_MINUS_1 11
-
-
-/* Data Memory Unit Parameters */
-
-#define PARAM_L1DM0_L1_BASE_ADDRESS 1111111110
-
-
-
-
-
-
-
-
-/* ===================================
- Trigger Master Definitions
- =================================== */
-/* -- RESERVED -- 0 */
-#define TRGM_CGU0_EVT 1 /* Event */
-#define TRGM_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGM_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGM_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGM_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGM_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGM_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGM_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGM_TIMER0_TMR7 9 /* Timer 7 */
-#define TRGM_PINT0_BLOCK 10 /* Pin Interrupt Block */
-#define TRGM_PINT1_BLOCK 11 /* Pin Interrupt Block */
-#define TRGM_PINT2_BLOCK 12 /* Pin Interrupt Block */
-#define TRGM_PINT3_BLOCK 13 /* Pin Interrupt Block */
-#define TRGM_PINT4_BLOCK 14 /* Pin Interrupt Block */
-#define TRGM_PINT5_BLOCK 15 /* Pin Interrupt Block */
-#define TRGM_CNT0_STAT 16 /* Status */
-#define TRGM_PWM0_SYNC 17 /* PWMTMR Group */
-#define TRGM_PWM1_SYNC 18 /* PWMTMR Group */
-#define TRGM_ACM0_EVT_COMPLETE 19 /* Event Complete */
-#define TRGM_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGM_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGM_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGM_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGM_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGM_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGM_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGM_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGM_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGM_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGM_RSI0_DMA 30 /* DMA Channel */
-#define TRGM_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGM_EMAC0_STAT 33 /* Status */
-#define TRGM_EMAC1_STAT 34 /* Status */
-#define TRGM_LP0_DMA 35 /* DMA Channel */
-#define TRGM_LP1_DMA 36 /* DMA Channel */
-#define TRGM_LP2_DMA 37 /* DMA Channel */
-#define TRGM_LP3_DMA 38 /* DMA Channel */
-#define TRGM_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGM_UART0_RXDMA 40 /* Receive DMA */
-#define TRGM_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGM_UART1_RXDMA 42 /* Receive DMA */
-#define TRGM_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGM_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGM_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGM_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGM_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGM_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGM_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGM_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGM_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGM_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGM_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGM_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGM_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGM_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGM_PIXC0_CH0_DMA 57 /* Channel 0 DMA */
-#define TRGM_PIXC0_CH1_DMA 58 /* Channel 1 DMA */
-#define TRGM_PIXC0_CH2_DMA 59 /* Channel 2 DMA */
-#define TRGM_PVP0_CPDOB_DMA 60 /* Camera Pipe Data Out B DMA Channel */
-#define TRGM_PVP0_CPDOC_DMA 61 /* Camera Pipe Data Out C DMA Channel */
-#define TRGM_PVP0_CPSTAT_DMA 62 /* Camera Pipe Status Out DMA Channel */
-#define TRGM_PVP0_CPCI_DMA 63 /* Camera Pipe Control In DMA Channel */
-#define TRGM_PVP0_MPDO_DMA 64 /* Memory Pipe Data Out DMA Channel */
-#define TRGM_PVP0_MPDI_DMA 65 /* Memory Pipe Data In DMA Channel */
-#define TRGM_PVP0_MPSTAT_DMA 66 /* Memory Pipe Status Out DMA Channel */
-#define TRGM_PVP0_MPCI_DMA 67 /* Memory Pipe Control In DMA Channel */
-#define TRGM_PVP0_CPDOA_DMA 68 /* Camera Pipe Data Out A DMA Channel */
-#define TRGM_USB0_DATA 69 /* DMA Status/Transfer Complete */
-/* -- RESERVED -- 70 */
-#define TRGM_SEC0_FAULT 71 /* Fault */
-#define TRGM_SOFT0 72 /* Software-driven Trigger 0 */
-#define TRGM_SOFT1 73 /* Software-driven Trigger 1 */
-#define TRGM_SOFT2 74 /* Software-driven Trigger 2 */
-#define TRGM_SOFT3 75 /* Software-driven Trigger 3 */
-#define TRGM_SOFT4 76 /* Software-driven Trigger 4 */
-#define TRGM_SOFT5 77 /* Software-driven Trigger 5 */
-#define TRGM_PVP0_STAT0 78 /* Status 0 */
-#define TRGM_PVP0_STAT1 79 /* Status 1 */
-#define TRGM_SWU0_EVT 80 /* Event */
-#define TRGM_SWU1_EVT 81 /* Event */
-#define TRGM_SWU2_EVT 82 /* Event */
-#define TRGM_SWU3_EVT 83 /* Event */
-#define TRGM_SWU4_EVT 84 /* Event */
-#define TRGM_SWU5_EVT 85 /* Event */
-#define TRGM_SWU6_EVT 86 /* Event */
-
-/* ===================================
- Trigger Slave Definitions
- =================================== */
-#define TRGS_RCU0_SYSRST0 0 /* System Reset 0 */
-#define TRGS_RCU0_SYSRST1 1 /* System Reset 1 */
-#define TRGS_TIMER0_TMR0 2 /* Timer 0 */
-#define TRGS_TIMER0_TMR1 3 /* Timer 1 */
-#define TRGS_TIMER0_TMR2 4 /* Timer 2 */
-#define TRGS_TIMER0_TMR3 5 /* Timer 3 */
-#define TRGS_TIMER0_TMR4 6 /* Timer 4 */
-#define TRGS_TIMER0_TMR5 7 /* Timer 5 */
-#define TRGS_TIMER0_TMR6 8 /* Timer 6 */
-#define TRGS_TIMER0_TMR7 9 /* Timer 7 */
-/* -- RESERVED -- 10 */
-/* -- RESERVED -- 11 */
-#define TRGS_C0_NMI_S0 12 /* NMI (Core 0) Slave 0 */
-#define TRGS_C0_NMI_S1 13 /* NMI (Core 0) Slave 1 */
-#define TRGS_C1_NMI_S0 14 /* NMI (Core 1) Slave 0 */
-#define TRGS_C1_NMI_S1 15 /* NMI (Core 1) Slave 1 */
-#define TRGS_TRU0_IRQ0 16 /* Interrupt Request 0 */
-#define TRGS_TRU0_IRQ1 17 /* Interrupt Request 1 */
-#define TRGS_TRU0_IRQ2 18 /* Interrupt Request 2 */
-#define TRGS_TRU0_IRQ3 19 /* Interrupt Request 3 */
-#define TRGS_SPORT0_A_DMA 20 /* Channel A DMA */
-#define TRGS_SPORT0_B_DMA 21 /* Channel B DMA */
-#define TRGS_SPORT1_A_DMA 22 /* Channel A DMA */
-#define TRGS_SPORT1_B_DMA 23 /* Channel B DMA */
-#define TRGS_SPORT2_A_DMA 24 /* Channel A DMA */
-#define TRGS_SPORT2_B_DMA 25 /* Channel B DMA */
-#define TRGS_SPI0_TXDMA 26 /* TX DMA Channel */
-#define TRGS_SPI0_RXDMA 27 /* RX DMA Channel */
-#define TRGS_SPI1_TXDMA 28 /* TX DMA Channel */
-#define TRGS_SPI1_RXDMA 29 /* RX DMA Channel */
-#define TRGS_RSI0_DMA 30 /* DMA Channel */
-#define TRGS_SDU0_DMA 31 /* DMA */
-/* -- RESERVED -- 32 */
-#define TRGS_ACM0_TRIG2 33 /* Trigger Input 2 */
-#define TRGS_ACM0_TRIG3 34 /* Trigger Input 3 */
-#define TRGS_LP0_DMA 35 /* DMA Channel */
-#define TRGS_LP1_DMA 36 /* DMA Channel */
-#define TRGS_LP2_DMA 37 /* DMA Channel */
-#define TRGS_LP3_DMA 38 /* DMA Channel */
-#define TRGS_UART0_TXDMA 39 /* Transmit DMA */
-#define TRGS_UART0_RXDMA 40 /* Receive DMA */
-#define TRGS_UART1_TXDMA 41 /* Transmit DMA */
-#define TRGS_UART1_RXDMA 42 /* Receive DMA */
-#define TRGS_MDMA0_SRC 43 /* Memory DMA Stream 0 Source / CRC0 Input Channel */
-#define TRGS_MDMA0_DST 44 /* Memory DMA Stream 0 Destination / CRC0 Output Channel */
-#define TRGS_MDMA1_SRC 45 /* Memory DMA Stream 1 Source / CRC1 Input Channel */
-#define TRGS_MDMA1_DST 46 /* Memory DMA Stream 1 Destination / CRC1 Output Channel */
-#define TRGS_MDMA2_SRC 47 /* Memory DMA Stream 2 Source Channel */
-#define TRGS_MDMA2_DST 48 /* Memory DMA Stream 2 Destination Channel */
-#define TRGS_MDMA3_SRC 49 /* Memory DMA Stream 3 Source Channel */
-#define TRGS_MDMA3_DST 50 /* Memory DMA Stream 3 Destination Channel */
-#define TRGS_EPPI0_CH0_DMA 51 /* Channel 0 DMA */
-#define TRGS_EPPI0_CH1_DMA 52 /* Channel 1 DMA */
-#define TRGS_EPPI2_CH0_DMA 53 /* Channel 0 DMA */
-#define TRGS_EPPI2_CH1_DMA 54 /* Channel 1 DMA */
-#define TRGS_EPPI1_CH0_DMA 55 /* Channel 0 DMA */
-#define TRGS_EPPI1_CH1_DMA 56 /* Channel 1 DMA */
-#define TRGS_PIXC0_CH0_DMA 57 /* Channel 0 DMA */
-#define TRGS_PIXC0_CH1_DMA 58 /* Channel 1 DMA */
-#define TRGS_PIXC0_CH2_DMA 59 /* Channel 2 DMA */
-#define TRGS_PVP0_CPDOB_DMA 60 /* Camera Pipe Data Out B DMA Channel */
-#define TRGS_PVP0_CPDOC_DMA 61 /* Camera Pipe Data Out C DMA Channel */
-#define TRGS_PVP0_CPSTAT_DMA 62 /* Camera Pipe Status Out DMA Channel */
-#define TRGS_PVP0_CPCI_DMA 63 /* Camera Pipe Control In DMA Channel */
-#define TRGS_PVP0_MPDO_DMA 64 /* Memory Pipe Data Out DMA Channel */
-#define TRGS_PVP0_MPDI_DMA 65 /* Memory Pipe Data In DMA Channel */
-#define TRGS_PVP0_MPSTAT_DMA 66 /* Memory Pipe Status Out DMA Channel */
-#define TRGS_PVP0_MPCI_DMA 67 /* Memory Pipe Control In DMA Channel */
-#define TRGS_PVP0_CPDOA_DMA 68 /* Camera Pipe Data Out A DMA Channel */
-#define TRGS_SDU0_SLAVE 69 /* Slave Trigger */
-/* -- RESERVED -- 70 */
-#define TRGS_C0_WAKE0 71 /* Core 0 Wakeup Input 0 */
-#define TRGS_C0_WAKE1 72 /* Core 0 Wakeup Input 1 */
-#define TRGS_C0_WAKE2 73 /* Core 0 Wakeup Input 2 */
-#define TRGS_C0_WAKE3 74 /* Core 0 Wakeup Input 3 */
-#define TRGS_C1_WAKE0 75 /* Core 1 Wakeup Input 0 */
-#define TRGS_C1_WAKE1 76 /* Core 1 Wakeup Input 1 */
-#define TRGS_C1_WAKE2 77 /* Core 1 Wakeup Input 2 */
-#define TRGS_C1_WAKE3 78 /* Core 1 Wakeup Input 3 */
-/* -- RESERVED -- 79 */
-#define TRGS_SWU0_EVT 80 /* Event */
-#define TRGS_SWU1_EVT 81 /* Event */
-#define TRGS_SWU2_EVT 82 /* Event */
-#define TRGS_SWU3_EVT 83 /* Event */
-#define TRGS_SWU4_EVT 84 /* Event */
-#define TRGS_SWU5_EVT 85 /* Event */
-#define TRGS_SWU6_EVT 86 /* Event */
-
-
-/* ============================================================================
- Memory Map Macros
- ============================================================================ */
-
-/* ADSP-BF609 is a multi-core processor */
-
-#define MEM_NUM_CORES 2
-
-/* Internal memory range */
-
-#define MEM_BASE_INTERNAL 0xC0000000
-#define MEM_END_INTERNAL 0xFFFFFFFF
-#define MEM_SIZE_INTERNAL 0x40000000
-
-/* External memory range */
-
-#define MEM_BASE_EXTERNAL 0x00000000
-#define MEM_END_EXTERNAL 0xBFFFFFFF
-#define MEM_SIZE_EXTERNAL 0xC0000000
-
-/* Shared DDR2 or LPDDR Memory (256 MB) */
-
-#define MEM_BASE_DDR 0x00000000
-#define MEM_END_DDR 0x0FFFFFFF
-#define MEM_SIZE_DDR 0x10000000
-
-/* Shared Async Memory (256 MB) */
-
-#define MEM_BASE_ASYNC 0xB0000000
-#define MEM_END_ASYNC 0xBFFFFFFF
-#define MEM_SIZE_ASYNC 0x10000000
-
-/* Shared Async Memory Bank 0 (64 MB) */
-
-#define MEM_BASE_ASYNC_0 0xB0000000
-#define MEM_END_ASYNC_0 0xB3FFFFFF
-#define MEM_SIZE_ASYNC_0 0x4000000
-
-/* Shared Async Memory Bank 1 (64 MB) */
-
-#define MEM_BASE_ASYNC_1 0xB4000000
-#define MEM_END_ASYNC_1 0xB7FFFFFF
-#define MEM_SIZE_ASYNC_1 0x4000000
-
-/* Shared Async Memory Bank 2 (64 MB) */
-
-#define MEM_BASE_ASYNC_2 0xB8000000
-#define MEM_END_ASYNC_2 0xBBFFFFFF
-#define MEM_SIZE_ASYNC_2 0x4000000
-
-/* Shared Async Memory Bank 3 (64 MB) */
-
-#define MEM_BASE_ASYNC_3 0xBC000000
-#define MEM_END_ASYNC_3 0xBFFFFFFF
-#define MEM_SIZE_ASYNC_3 0x4000000
-
-/* Shared L2 ROM (32 KB) */
-
-#define MEM_BASE_L2_ROM 0xC8000000
-#define MEM_END_L2_ROM 0xC8007FFF
-#define MEM_SIZE_L2_ROM 0x8000
-
-/* Shared L2 SRAM (256 KB) */
-
-#define MEM_BASE_L2_SRAM 0xC8080000
-#define MEM_END_L2_SRAM 0xC80BFFFF
-#define MEM_SIZE_L2_SRAM 0x40000
-
-/* Core 1 L1 Data Bank A (32 KB) */
-
-#define MEM_C1_BASE_L1DM_A 0xFF400000
-#define MEM_C1_END_L1DM_A 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A 0x8000
-
-/* Core 1 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM 0xFF400000
-#define MEM_C1_END_L1DM_A_SRAM 0xFF403FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 1 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_A_SRAM_CACHE 0xFF404000
-#define MEM_C1_END_L1DM_A_SRAM_CACHE 0xFF407FFF
-#define MEM_C1_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Data Bank B (32 KB) */
-
-#define MEM_C1_BASE_L1DM_B 0xFF500000
-#define MEM_C1_END_L1DM_B 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B 0x8000
-
-/* Core 1 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM 0xFF500000
-#define MEM_C1_END_L1DM_B_SRAM 0xFF503FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 1 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1DM_B_SRAM_CACHE 0xFF504000
-#define MEM_C1_END_L1DM_B_SRAM_CACHE 0xFF507FFF
-#define MEM_C1_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Instruction (80 KB) */
-
-#define MEM_C1_BASE_L1IM 0xFF600000
-#define MEM_C1_END_L1IM 0xFF613FFF
-#define MEM_C1_SIZE_L1IM 0x14000
-
-/* Core 1 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM 0xFF600000
-#define MEM_C1_END_L1IM_SRAM 0xFF60FFFF
-#define MEM_C1_SIZE_L1IM_SRAM 0x10000
-
-/* Core 1 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C1_BASE_L1IM_SRAM_CACHE 0xFF610000
-#define MEM_C1_END_L1IM_SRAM_CACHE 0xFF613FFF
-#define MEM_C1_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 1 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C1_BASE_L1_XPAD_SRAM 0xFF700000
-#define MEM_C1_END_L1_XPAD_SRAM 0xFF700FFF
-#define MEM_C1_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Core 0 L1 Data Bank A (32 KB) */
-
-#define MEM_C0_BASE_L1DM_A 0xFF800000
-#define MEM_C0_END_L1DM_A 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A 0x8000
-
-/* Core 0 L1 Data Bank A SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM 0xFF800000
-#define MEM_C0_END_L1DM_A_SRAM 0xFF803FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM 0x4000
-
-/* Core 0 L1 Data Bank A SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_A_SRAM_CACHE 0xFF804000
-#define MEM_C0_END_L1DM_A_SRAM_CACHE 0xFF807FFF
-#define MEM_C0_SIZE_L1DM_A_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Data Bank B (32 KB) */
-
-#define MEM_C0_BASE_L1DM_B 0xFF900000
-#define MEM_C0_END_L1DM_B 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B 0x8000
-
-/* Core 0 L1 Data Bank B SRAM (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM 0xFF900000
-#define MEM_C0_END_L1DM_B_SRAM 0xFF903FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM 0x4000
-
-/* Core 0 L1 Data Bank B SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1DM_B_SRAM_CACHE 0xFF904000
-#define MEM_C0_END_L1DM_B_SRAM_CACHE 0xFF907FFF
-#define MEM_C0_SIZE_L1DM_B_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Instruction (80 KB) */
-
-#define MEM_C0_BASE_L1IM 0xFFA00000
-#define MEM_C0_END_L1IM 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM 0x14000
-
-/* Core 0 L1 Instruction SRAM (64 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM 0xFFA00000
-#define MEM_C0_END_L1IM_SRAM 0xFFA0FFFF
-#define MEM_C0_SIZE_L1IM_SRAM 0x10000
-
-/* Core 0 L1 Instruction SRAM/Cache (16 KB) */
-
-#define MEM_C0_BASE_L1IM_SRAM_CACHE 0xFFA10000
-#define MEM_C0_END_L1IM_SRAM_CACHE 0xFFA13FFF
-#define MEM_C0_SIZE_L1IM_SRAM_CACHE 0x4000
-
-/* Core 0 L1 Scratchpad SRAM (4 KB) */
-
-#define MEM_C0_BASE_L1_XPAD_SRAM 0xFFB00000
-#define MEM_C0_END_L1_XPAD_SRAM 0xFFB00FFF
-#define MEM_C0_SIZE_L1_XPAD_SRAM 0x1000
-
-/* Shared System MMR Registers (2 MB) */
-
-#define MEM_BASE_MMR_SYSTEM 0xFFC00000
-#define MEM_END_MMR_SYSTEM 0xFFDFFFFF
-#define MEM_SIZE_MMR_SYSTEM 0x200000
-
-/* Core 0 Core MMR Registers (2 MB) */
-
-#define MEM_C0_BASE_MMR_CORE 0xFFE00000
-#define MEM_C0_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C0_SIZE_MMR_CORE 0x200000
-
-/* Core 1 Core MMR Registers (2 MB) */
-
-#define MEM_C1_BASE_MMR_CORE 0xFFE00000
-#define MEM_C1_END_MMR_CORE 0xFFFFFFFF
-#define MEM_C1_SIZE_MMR_CORE 0x200000
-
-
-#endif /* end ifndef _DEF_BF609_H */
diff --git a/libgloss/bfin/include/def_LPBlackfin.h b/libgloss/bfin/include/def_LPBlackfin.h
deleted file mode 100644
index a12080e..0000000
--- a/libgloss/bfin/include/def_LPBlackfin.h
+++ /dev/null
@@ -1,479 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * def_LPBlackfin.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* LP Blackfin CORE REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532 */
-
-#ifndef _DEF_LPBLACKFIN_H
-#define _DEF_LPBLACKFIN_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#endif /* _MISRA_RULES */
-
-
-#if !defined(__ADSPLPBLACKFIN__)
-#warning def_LPBlackfin.h should only be included for 532 compatible chips.
-#endif
-/* ensure macro params bracketed to avoid unexpected evaluations. (GA), MISRA Rule 19.10 */
-#ifdef _MISRA_RULES
-#define MK_BMSK_( x ) (1ul<<(x)) /* Make a bit mask from a bit position */
-#else
-#define MK_BMSK_( x ) (1<<(x)) /* Make a bit mask from a bit position */
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System Register Bits */
-/*********************************************************************************** */
-
-/*************************************************** */
-/* ASTAT register */
-/*************************************************** */
-
-/* definitions of ASTAT bit positions */
-#define ASTAT_AZ_P 0x00000000 /* Result of last ALU0 or shifter operation is zero */
-#define ASTAT_AN_P 0x00000001 /* Result of last ALU0 or shifter operation is negative */
-#define ASTAT_CC_P 0x00000005 /* Condition Code, used for holding comparison results */
-#define ASTAT_AQ_P 0x00000006 /* Quotient Bit */
-#define ASTAT_RND_MOD_P 0x00000008 /* Rounding mode, set for biased, clear for unbiased */
-#define ASTAT_AC0_P 0x0000000C /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC0_COPY_P 0x00000002 /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC1_P 0x0000000D /* Result of last ALU1 operation generated a carry */
-#define ASTAT_AV0_P 0x00000010 /* Result of last ALU0 or MAC0 operation overflowed, sticky for MAC */
-#define ASTAT_AV0S_P 0x00000011 /* Sticky version of ASTAT_AV0 */
-#define ASTAT_AV1_P 0x00000012 /* Result of last MAC1 operation overflowed, sticky for MAC */
-#define ASTAT_AV1S_P 0x00000013 /* Sticky version of ASTAT_AV1 */
-#define ASTAT_V_P 0x00000018 /* Result of last ALU0 or MAC0 operation overflowed */
-#define ASTAT_V_COPY_P 0x00000003 /* Result of last ALU0 or MAC0 operation overflowed */
-#define ASTAT_VS_P 0x00000019 /* Sticky version of ASTAT_V */
-
-/* ** Masks */
-#define ASTAT_AZ MK_BMSK_(ASTAT_AZ_P) /* Result of last ALU0 or shifter operation is zero */
-#define ASTAT_AN MK_BMSK_(ASTAT_AN_P) /* Result of last ALU0 or shifter operation is negative */
-#define ASTAT_AC0 MK_BMSK_(ASTAT_AC0_P) /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC0_COPY MK_BMSK_(ASTAT_AC0_COPY_P) /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC1 MK_BMSK_(ASTAT_AC1_P) /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AV0 MK_BMSK_(ASTAT_AV0_P) /* Result of last ALU0 or MAC0 operation overflowed, sticky for MAC */
-#define ASTAT_AV1 MK_BMSK_(ASTAT_AV1_P) /* Result of last MAC1 operation overflowed, sticky for MAC */
-#define ASTAT_CC MK_BMSK_(ASTAT_CC_P) /* Condition Code, used for holding comparison results */
-#define ASTAT_AQ MK_BMSK_(ASTAT_AQ_P) /* Quotient Bit */
-#define ASTAT_RND_MOD MK_BMSK_(ASTAT_RND_MOD_P) /* Rounding mode, set for biased, clear for unbiased */
-#define ASTAT_V MK_BMSK_(ASTAT_V_P) /* Overflow Bit */
-#define ASTAT_V_COPY MK_BMSK_(ASTAT_V_COPY_P) /* Overflow Bit */
-
-/*************************************************** */
-/* SEQSTAT register */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define SEQSTAT_EXCAUSE0_P 0x00000000 /* Last exception cause bit 0 */
-#define SEQSTAT_EXCAUSE1_P 0x00000001 /* Last exception cause bit 1 */
-#define SEQSTAT_EXCAUSE2_P 0x00000002 /* Last exception cause bit 2 */
-#define SEQSTAT_EXCAUSE3_P 0x00000003 /* Last exception cause bit 3 */
-#define SEQSTAT_EXCAUSE4_P 0x00000004 /* Last exception cause bit 4 */
-#define SEQSTAT_EXCAUSE5_P 0x00000005 /* Last exception cause bit 5 */
-#define SEQSTAT_IDLE_REQ_P 0x0000000C /* Pending idle mode request, set by IDLE instruction */
-#define SEQSTAT_SFTRESET_P 0x0000000D /* Indicates whether the last reset was a software reset (=1) */
-#define SEQSTAT_HWERRCAUSE0_P 0x0000000E /* Last hw error cause bit 0 */
-#define SEQSTAT_HWERRCAUSE1_P 0x0000000F /* Last hw error cause bit 1 */
-#define SEQSTAT_HWERRCAUSE2_P 0x00000010 /* Last hw error cause bit 2 */
-#define SEQSTAT_HWERRCAUSE3_P 0x00000011 /* Last hw error cause bit 3 */
-#define SEQSTAT_HWERRCAUSE4_P 0x00000012 /* Last hw error cause bit 4 */
-#define SEQSTAT_HWERRCAUSE5_P 0x00000013 /* Last hw error cause bit 5 */
-#define SEQSTAT_HWERRCAUSE6_P 0x00000014 /* Last hw error cause bit 6 */
-#define SEQSTAT_HWERRCAUSE7_P 0x00000015 /* Last hw error cause bit 7 */
-/* ** Masks */
-/* Exception cause */
-#define SEQSTAT_EXCAUSE ( MK_BMSK_(SEQSTAT_EXCAUSE0_P ) | \
- MK_BMSK_(SEQSTAT_EXCAUSE1_P ) | \
- MK_BMSK_(SEQSTAT_EXCAUSE2_P ) | \
- MK_BMSK_(SEQSTAT_EXCAUSE3_P ) | \
- MK_BMSK_(SEQSTAT_EXCAUSE4_P ) | \
- MK_BMSK_(SEQSTAT_EXCAUSE5_P ) )
-
-/* Indicates whether the last reset was a software reset (=1) */
-#define SEQSTAT_SFTRESET MK_BMSK_(SEQSTAT_SFTRESET_P )
-
-/* Last hw error cause */
-#define SEQSTAT_HWERRCAUSE ( MK_BMSK_(SEQSTAT_HWERRCAUSE0_P ) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE1_P ) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE2_P ) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE3_P ) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE4_P ) )
-
-/*************************************************** */
-/* SYSCFG register */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define SYSCFG_SSSTEP_P 0x00000000 /* Supervisor single step, when set it forces an exception for each instruction executed */
-#define SYSCFG_CCEN_P 0x00000001 /* Enable cycle counter (=1) */
-#define SYSCFG_SNEN_P 0x00000002 /* Self nesting Interrupt Enable */
-
-/* ** Masks */
-#define SYSCFG_SSSTEP MK_BMSK_(SYSCFG_SSSTEP_P ) /* Supervisor single step, when set it forces an exception for each instruction executed */
-#define SYSCFG_CCEN MK_BMSK_(SYSCFG_CCEN_P ) /* Enable cycle counter (=1) */
-#define SYSCFG_SNEN MK_BMSK_(SYSCFG_SNEN_P) /* Self Nesting Interrupt Enable */
-/* Backward-compatibility for typos in prior releases */
-#define SYSCFG_SSSSTEP SYSCFG_SSSTEP
-#define SYSCFG_CCCEN SYSCFG_CCEN
-
-/*********************************************************************************** */
-/* Core MMR Register Map */
-/*********************************************************************************** */
-
-/* Data Cache & SRAM Memory (0xFFE00000 - 0xFFE00404) */
-
-
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address Register */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cache Programmable Look-Aside Buffer Status */
-#define DCPLB_FAULT_STATUS 0xFFE00008 /* "" (older define) */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cache Programmable Look-Aside Buffer Fault Address */
-#define DCPLB_ADDR0 0xFFE00100 /* Data Cache Protection Lookaside Buffer 0 */
-#define DCPLB_ADDR1 0xFFE00104 /* Data Cache Protection Lookaside Buffer 1 */
-#define DCPLB_ADDR2 0xFFE00108 /* Data Cache Protection Lookaside Buffer 2 */
-#define DCPLB_ADDR3 0xFFE0010C /* Data Cacheability Protection Lookaside Buffer 3 */
-#define DCPLB_ADDR4 0xFFE00110 /* Data Cacheability Protection Lookaside Buffer 4 */
-#define DCPLB_ADDR5 0xFFE00114 /* Data Cacheability Protection Lookaside Buffer 5 */
-#define DCPLB_ADDR6 0xFFE00118 /* Data Cacheability Protection Lookaside Buffer 6 */
-#define DCPLB_ADDR7 0xFFE0011C /* Data Cacheability Protection Lookaside Buffer 7 */
-#define DCPLB_ADDR8 0xFFE00120 /* Data Cacheability Protection Lookaside Buffer 8 */
-#define DCPLB_ADDR9 0xFFE00124 /* Data Cacheability Protection Lookaside Buffer 9 */
-#define DCPLB_ADDR10 0xFFE00128 /* Data Cacheability Protection Lookaside Buffer 10 */
-#define DCPLB_ADDR11 0xFFE0012C /* Data Cacheability Protection Lookaside Buffer 11 */
-#define DCPLB_ADDR12 0xFFE00130 /* Data Cacheability Protection Lookaside Buffer 12 */
-#define DCPLB_ADDR13 0xFFE00134 /* Data Cacheability Protection Lookaside Buffer 13 */
-#define DCPLB_ADDR14 0xFFE00138 /* Data Cacheability Protection Lookaside Buffer 14 */
-#define DCPLB_ADDR15 0xFFE0013C /* Data Cacheability Protection Lookaside Buffer 15 */
-#define DCPLB_DATA0 0xFFE00200 /* Data Cache 0 Status */
-#define DCPLB_DATA1 0xFFE00204 /* Data Cache 1 Status */
-#define DCPLB_DATA2 0xFFE00208 /* Data Cache 2 Status */
-#define DCPLB_DATA3 0xFFE0020C /* Data Cache 3 Status */
-#define DCPLB_DATA4 0xFFE00210 /* Data Cache 4 Status */
-#define DCPLB_DATA5 0xFFE00214 /* Data Cache 5 Status */
-#define DCPLB_DATA6 0xFFE00218 /* Data Cache 6 Status */
-#define DCPLB_DATA7 0xFFE0021C /* Data Cache 7 Status */
-#define DCPLB_DATA8 0xFFE00220 /* Data Cache 8 Status */
-#define DCPLB_DATA9 0xFFE00224 /* Data Cache 9 Status */
-#define DCPLB_DATA10 0xFFE00228 /* Data Cache 10 Status */
-#define DCPLB_DATA11 0xFFE0022C /* Data Cache 11 Status */
-#define DCPLB_DATA12 0xFFE00230 /* Data Cache 12 Status */
-#define DCPLB_DATA13 0xFFE00234 /* Data Cache 13 Status */
-#define DCPLB_DATA14 0xFFE00238 /* Data Cache 14 Status */
-#define DCPLB_DATA15 0xFFE0023C /* Data Cache 15 Status */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-
-/* Instruction Cache & SRAM Memory (0xFFE01004 - 0xFFE01404) */
-
-#define IMEM_CONTROL 0xFFE01004 /* Instruction Memory Control */
-#define ICPLB_STATUS 0xFFE01008 /* Instruction Cache miss status */
-#define CODE_FAULT_STATUS 0xFFE01008 /* "" (older define) */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Instruction Cache miss address */
-#define CODE_FAULT_ADDR 0xFFE0100C /* "" (older define) */
-#define ICPLB_ADDR0 0xFFE01100 /* Instruction Cacheability Protection Lookaside Buffer 0 */
-#define ICPLB_ADDR1 0xFFE01104 /* Instruction Cacheability Protection Lookaside Buffer 1 */
-#define ICPLB_ADDR2 0xFFE01108 /* Instruction Cacheability Protection Lookaside Buffer 2 */
-#define ICPLB_ADDR3 0xFFE0110C /* Instruction Cacheability Protection Lookaside Buffer 3 */
-#define ICPLB_ADDR4 0xFFE01110 /* Instruction Cacheability Protection Lookaside Buffer 4 */
-#define ICPLB_ADDR5 0xFFE01114 /* Instruction Cacheability Protection Lookaside Buffer 5 */
-#define ICPLB_ADDR6 0xFFE01118 /* Instruction Cacheability Protection Lookaside Buffer 6 */
-#define ICPLB_ADDR7 0xFFE0111C /* Instruction Cacheability Protection Lookaside Buffer 7 */
-#define ICPLB_ADDR8 0xFFE01120 /* Instruction Cacheability Protection Lookaside Buffer 8 */
-#define ICPLB_ADDR9 0xFFE01124 /* Instruction Cacheability Protection Lookaside Buffer 9 */
-#define ICPLB_ADDR10 0xFFE01128 /* Instruction Cacheability Protection Lookaside Buffer 10 */
-#define ICPLB_ADDR11 0xFFE0112C /* Instruction Cacheability Protection Lookaside Buffer 11 */
-#define ICPLB_ADDR12 0xFFE01130 /* Instruction Cacheability Protection Lookaside Buffer 12 */
-#define ICPLB_ADDR13 0xFFE01134 /* Instruction Cacheability Protection Lookaside Buffer 13 */
-#define ICPLB_ADDR14 0xFFE01138 /* Instruction Cacheability Protection Lookaside Buffer 14 */
-#define ICPLB_ADDR15 0xFFE0113C /* Instruction Cacheability Protection Lookaside Buffer 15 */
-#define ICPLB_DATA0 0xFFE01200 /* Instruction Cache 0 Status */
-#define ICPLB_DATA1 0xFFE01204 /* Instruction Cache 1 Status */
-#define ICPLB_DATA2 0xFFE01208 /* Instruction Cache 2 Status */
-#define ICPLB_DATA3 0xFFE0120C /* Instruction Cache 3 Status */
-#define ICPLB_DATA4 0xFFE01210 /* Instruction Cache 4 Status */
-#define ICPLB_DATA5 0xFFE01214 /* Instruction Cache 5 Status */
-#define ICPLB_DATA6 0xFFE01218 /* Instruction Cache 6 Status */
-#define ICPLB_DATA7 0xFFE0121C /* Instruction Cache 7 Status */
-#define ICPLB_DATA8 0xFFE01220 /* Instruction Cache 8 Status */
-#define ICPLB_DATA9 0xFFE01224 /* Instruction Cache 9 Status */
-#define ICPLB_DATA10 0xFFE01228 /* Instruction Cache 10 Status */
-#define ICPLB_DATA11 0xFFE0122C /* Instruction Cache 11 Status */
-#define ICPLB_DATA12 0xFFE01230 /* Instruction Cache 12 Status */
-#define ICPLB_DATA13 0xFFE01234 /* Instruction Cache 13 Status */
-#define ICPLB_DATA14 0xFFE01238 /* Instruction Cache 14 Status */
-#define ICPLB_DATA15 0xFFE0123C /* Instruction Cache 15 Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-
-/* Event/Interrupt Controller Registers (0xFFE02000 - 0xFFE02110) */
-
-#define EVT0 0xFFE02000 /* Event Vector 0 ESR Address */
-#define EVT1 0xFFE02004 /* Event Vector 1 ESR Address */
-#define EVT2 0xFFE02008 /* Event Vector 2 ESR Address */
-#define EVT3 0xFFE0200C /* Event Vector 3 ESR Address */
-#define EVT4 0xFFE02010 /* Event Vector 4 ESR Address */
-#define EVT5 0xFFE02014 /* Event Vector 5 ESR Address */
-#define EVT6 0xFFE02018 /* Event Vector 6 ESR Address */
-#define EVT7 0xFFE0201C /* Event Vector 7 ESR Address */
-#define EVT8 0xFFE02020 /* Event Vector 8 ESR Address */
-#define EVT9 0xFFE02024 /* Event Vector 9 ESR Address */
-#define EVT10 0xFFE02028 /* Event Vector 10 ESR Address */
-#define EVT11 0xFFE0202C /* Event Vector 11 ESR Address */
-#define EVT12 0xFFE02030 /* Event Vector 12 ESR Address */
-#define EVT13 0xFFE02034 /* Event Vector 13 ESR Address */
-#define EVT14 0xFFE02038 /* Event Vector 14 ESR Address */
-#define EVT15 0xFFE0203C /* Event Vector 15 ESR Address */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupt Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-#define IPRIO 0xFFE02110 /* Core Interrupt Priority Register */
-
-/* Core Timer Registers (0xFFE03000 - 0xFFE0300C) */
-
-#define TCNTL 0xFFE03000 /* Core Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Core Timer Period Register */
-#define TSCALE 0xFFE03008 /* Core Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Core Timer Count Register */
-
-/* Debug/MP/Emulation Registers (0xFFE05000 - 0xFFE05008) */
-#define DSPID 0xFFE05000 /* DSP Processor ID Register for MP implementations */
-
-#define DBGSTAT 0xFFE05008 /* Debug Status Register */
-
-
-/* Trace Buffer Registers (0xFFE06000 - 0xFFE06100) */
-
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* Watchpoint Control Registers (0xFFE07000 - 0xFFE07200) */
-
-#define WPIACTL 0xFFE07000 /* Watchpoint Instruction Address Control Register */
-#define WPIA0 0xFFE07040 /* Watchpoint Instruction Address Register 0 */
-#define WPIA1 0xFFE07044 /* Watchpoint Instruction Address Register 1 */
-#define WPIA2 0xFFE07048 /* Watchpoint Instruction Address Register 2 */
-#define WPIA3 0xFFE0704C /* Watchpoint Instruction Address Register 3 */
-#define WPIA4 0xFFE07050 /* Watchpoint Instruction Address Register 4 */
-#define WPIA5 0xFFE07054 /* Watchpoint Instruction Address Register 5 */
-#define WPIACNT0 0xFFE07080 /* Watchpoint Instruction Address Count Register 0 */
-#define WPIACNT1 0xFFE07084 /* Watchpoint Instruction Address Count Register 1 */
-#define WPIACNT2 0xFFE07088 /* Watchpoint Instruction Address Count Register 2 */
-#define WPIACNT3 0xFFE0708C /* Watchpoint Instruction Address Count Register 3 */
-#define WPIACNT4 0xFFE07090 /* Watchpoint Instruction Address Count Register 4 */
-#define WPIACNT5 0xFFE07094 /* Watchpoint Instruction Address Count Register 5 */
-#define WPDACTL 0xFFE07100 /* Watchpoint Data Address Control Register */
-#define WPDA0 0xFFE07140 /* Watchpoint Data Address Register 0 */
-#define WPDA1 0xFFE07144 /* Watchpoint Data Address Register 1 */
-#define WPDACNT0 0xFFE07180 /* Watchpoint Data Address Count Value Register 0 */
-#define WPDACNT1 0xFFE07184 /* Watchpoint Data Address Count Value Register 1 */
-#define WPSTAT 0xFFE07200 /* Watchpoint Status Register */
-
-/* Performance Monitor Registers (0xFFE08000 - 0xFFE08104) */
-
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter Register 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter Register 1 */
-
-
-/*********************************************************************************** */
-/* Core MMR Register Bits */
-/*********************************************************************************** */
-
-/*************************************************** */
-/* EVT registers (ILAT, IMASK, and IPEND). */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define EVT_EMU_P 0x00000000 /* Emulator interrupt bit position */
-#define EVT_RST_P 0x00000001 /* Reset interrupt bit position */
-#define EVT_NMI_P 0x00000002 /* Non Maskable interrupt bit position */
-#define EVT_EVX_P 0x00000003 /* Exception bit position */
-#define EVT_IRPTEN_P 0x00000004 /* Global interrupt enable bit position */
-#define EVT_IVHW_P 0x00000005 /* Hardware Error interrupt bit position */
-#define EVT_IVTMR_P 0x00000006 /* Timer interrupt bit position */
-#define EVT_IVG7_P 0x00000007 /* IVG7 interrupt bit position */
-#define EVT_IVG8_P 0x00000008 /* IVG8 interrupt bit position */
-#define EVT_IVG9_P 0x00000009 /* IVG9 interrupt bit position */
-#define EVT_IVG10_P 0x0000000a /* IVG10 interrupt bit position */
-#define EVT_IVG11_P 0x0000000b /* IVG11 interrupt bit position */
-#define EVT_IVG12_P 0x0000000c /* IVG12 interrupt bit position */
-#define EVT_IVG13_P 0x0000000d /* IVG13 interrupt bit position */
-#define EVT_IVG14_P 0x0000000e /* IVG14 interrupt bit position */
-#define EVT_IVG15_P 0x0000000f /* IVG15 interrupt bit position */
-
-/* ** Masks */
-#define EVT_EMU MK_BMSK_(EVT_EMU_P ) /* Emulator interrupt mask */
-#define EVT_RST MK_BMSK_(EVT_RST_P ) /* Reset interrupt mask */
-#define EVT_NMI MK_BMSK_(EVT_NMI_P ) /* Non Maskable interrupt mask */
-#define EVT_EVX MK_BMSK_(EVT_EVX_P ) /* Exception mask */
-#define EVT_IRPTEN MK_BMSK_(EVT_IRPTEN_P) /* Global interrupt enable mask */
-#define EVT_IVHW MK_BMSK_(EVT_IVHW_P ) /* Hardware Error interrupt mask */
-#define EVT_IVTMR MK_BMSK_(EVT_IVTMR_P ) /* Timer interrupt mask */
-#define EVT_IVG7 MK_BMSK_(EVT_IVG7_P ) /* IVG7 interrupt mask */
-#define EVT_IVG8 MK_BMSK_(EVT_IVG8_P ) /* IVG8 interrupt mask */
-#define EVT_IVG9 MK_BMSK_(EVT_IVG9_P ) /* IVG9 interrupt mask */
-#define EVT_IVG10 MK_BMSK_(EVT_IVG10_P ) /* IVG10 interrupt mask */
-#define EVT_IVG11 MK_BMSK_(EVT_IVG11_P ) /* IVG11 interrupt mask */
-#define EVT_IVG12 MK_BMSK_(EVT_IVG12_P ) /* IVG12 interrupt mask */
-#define EVT_IVG13 MK_BMSK_(EVT_IVG13_P ) /* IVG13 interrupt mask */
-#define EVT_IVG14 MK_BMSK_(EVT_IVG14_P ) /* IVG14 interrupt mask */
-#define EVT_IVG15 MK_BMSK_(EVT_IVG15_P ) /* IVG15 interrupt mask */
-
-/*************************************************** */
-/* DMEM_CONTROL Register */
-/*************************************************** */
-/* ** Bit Positions */
-#define ENDM_P 0x00 /* (doesn't really exist) Enable Data Memory L1 */
-#define DMCTL_ENDM_P ENDM_P /* "" (older define) */
-
-#define ENDCPLB_P 0x01 /* Enable DCPLBS */
-#define DMCTL_ENDCPLB_P ENDCPLB_P /* "" (older define) */
-#if defined(__ADSPBF50x__)
-#define DMC_P 0x03 /* L1 Data Memory Configure bit */
-#else
-#define DMC0_P 0x02 /* L1 Data Memory Configure bit 0 */
-#define DMC1_P 0x03 /* L1 Data Memory Configure bit 1 */
-#define DMCTL_DMC0_P DMC0_P /* "" (older define) */
-#define DMCTL_DMC1_P DMC1_P /* "" (older define) */
-#endif
-#define DCBS_P 0x04 /* L1 Data Cache Bank Select */
-#define PORT_PREF0_P 0x12 /* DAG0 Port Preference */
-#define PORT_PREF1_P 0x13 /* DAG1 Port Preference */
-
-/* ** Masks */
-#define ENDM 0x00000001 /* (doesn't really exist) Enable Data Memory L1 */
-#define ENDCPLB 0x00000002 /* Enable DCPLB */
-#define ASRAM_BSRAM 0x00000000
-#define ACACHE_BSRAM 0x00000008
-#define ACACHE_BCACHE 0x0000000C
-#define DCBS 0x00000010 /* L1 Data Cache Bank Select */
-#define PORT_PREF0 0x00001000 /* DAG0 Port Preference */
-#define PORT_PREF1 0x00002000 /* DAG1 Port Preference */
-
-/* IMEM_CONTROL Register */
-/* ** Bit Positions */
-#define ENICPLB_P 0x01 /* Enable ICPLB */
-#define IMCTL_ENICPLB_P 0x01 /* "" (older define) */
-#define IMC_P 0x02 /* Enable */
-#define IMCTL_IMC_P 0x02 /* Configure L1 code memory as cache (0=SRAM) */
-#define ILOC0_P 0x03 /* Lock Way 0 */
-#define ILOC1_P 0x04 /* Lock Way 1 */
-#define ILOC2_P 0x05 /* Lock Way 2 */
-#define ILOC3_P 0x06 /* Lock Way 3 */
-#define LRUPRIORST_P 0x0D /* Least Recently Used Replacement Priority */
-/* ** Masks */
-#define ENICPLB 0x00000002 /* Enable ICPLB */
-#define IMC 0x00000004 /* Configure L1 code memory as cache (0=SRAM) */
-#define ILOC0 0x00000008 /* Lock Way 0 */
-#define ILOC1 0x00000010 /* Lock Way 1 */
-#define ILOC2 0x00000020 /* Lock Way 2 */
-#define ILOC3 0x00000040 /* Lock Way 3 */
-#define LRUPRIORST 0x00002000 /* Least Recently Used Replacement Priority */
-
-/* TCNTL Masks */
-#define TMPWR 0x00000001 /* Timer Low Power Control, 0=low power mode, 1=active state */
-#define TMREN 0x00000002 /* Timer enable, 0=disable, 1=enable */
-#define TAUTORLD 0x00000004 /* Timer auto reload */
-#define TINT 0x00000008 /* Timer generated interrupt 0=no interrupt has been generated, 1=interrupt has been generated (sticky) */
-
-/* TCNTL Bit Positions */
-#define TMPWR_P 0x00000000 /* Timer Low Power Control, 0=low power mode, 1=active state */
-#define TMREN_P 0x00000001 /* Timer enable, 0=disable, 1=enable */
-#define TAUTORLD_P 0x00000002 /* Timer auto reload */
-#define TINT_P 0x00000003 /* Timer generated interrupt 0=no interrupt has been generated, 1=interrupt has been generated (sticky) */
-
-/* DCPLB_DATA and ICPLB_DATA Registers - bit positions */
-#define CPLB_VALID_P 0 /* 0=invalid entry, 1=valid entry */
-#define CPLB_LOCK_P 1 /* 0=entry may be replaced, 1=entry locked */
-#define CPLB_USER_RD_P 2 /* 0=no read access, 1=read access allowed (user mode) */
-#define CPLB_PORTPRIO_P 9 /* 0=low priority port, 1= high priority port */
-/*** ICPLB_DATA only */
-#define CPLB_LRUPRIO_P 8 /* 0=can be replaced by any line, 1=priority for non-replacement */
-/*** DCPLB_DATA only */
-#define CPLB_USER_WR_P 3 /* 0=no write access, 0=write access allowed (user mode) */
-#define CPLB_SUPV_WR_P 4 /* 0=no write access, 0=write access allowed (supervisor mode) */
-#define CPLB_DIRTY_P 7 /* 1=dirty, 0=clean */
-#define CPLB_L1_CHBL_P 12 /* 0=non-cacheable in L1, 1=cacheable in L1 */
-#define CPLB_WT_P 14 /* 0=write-back, 1=write-through */
-#define CPLB_L1_AOW_P 15 /* 0=do not allocate cache lines on write-through writes, */
- /* 1= allocate cache lines on write-through writes. */
-
-/* DCPLB_DATA and ICPLB_DATA Registers - Masks */
-#define CPLB_VALID 0x00000001 /* 0=invalid entry, 1=valid entry */
-#define CPLB_LOCK 0x00000002 /* 0=entry may be replaced, 1=entry locked */
-#define CPLB_USER_RD 0x00000004 /* 0=no read access, 1=read access allowed (user mode) */
-#define PAGE_SIZE_1KB 0x00000000 /* 1 KB page size */
-#define PAGE_SIZE_4KB 0x00010000 /* 4 KB page size */
-#define PAGE_SIZE_1MB 0x00020000 /* 1 MB page size */
-#define PAGE_SIZE_4MB 0x00030000 /* 4 MB page size */
-#define CPLB_PORTPRIO 0x00000200 /* 0=low priority port, 1= high priority port */
-#define CPLB_L1_CHBL 0x00001000 /* 0=non-cacheable in L1, 1=cacheable in L1 */
-/*** ICPLB_DATA only */
-#define CPLB_LRUPRIO 0x00000100 /* 0=can be replaced by any line, 1=priority for non-replacement */
-/*** DCPLB_DATA only */
-#define CPLB_USER_WR 0x00000008 /* 0=no write access, 0=write access allowed (user mode) */
-#define CPLB_SUPV_WR 0x00000010 /* 0=no write access, 0=write access allowed (supervisor mode) */
-#define CPLB_DIRTY 0x00000080 /* 1=dirty, 0=clean */
-#define CPLB_L1_AOW 0x00008000 /* 0=do not allocate cache lines on write-through writes, */
- /* 1= allocate cache lines on write-through writes. */
-#define CPLB_WT 0x00004000 /* 0=write-back, 1=write-through */
-
-
-
-/* ITEST_COMMAND and DTEST_COMMAND Registers */
-/*** Masks */
-#define TEST_READ 0x00000000 /* Read Access */
-#define TEST_WRITE 0x00000002 /* Write Access */
-#define TEST_TAG 0x00000000 /* Access TAG */
-#define TEST_DATA 0x00000004 /* Access DATA */
-#define TEST_DW0 0x00000000 /* Select Double Word 0 */
-#define TEST_DW1 0x00000008 /* Select Double Word 1 */
-#define TEST_DW2 0x00000010 /* Select Double Word 2 */
-#define TEST_DW3 0x00000018 /* Select Double Word 3 */
-#define TEST_MB0 0x00000000 /* Select Mini-Bank 0 */
-#define TEST_MB1 0x00010000 /* Select Mini-Bank 1 */
-#define TEST_MB2 0x00020000 /* Select Mini-Bank 2 */
-#define TEST_MB3 0x00030000 /* Select Mini-Bank 3 */
-/* ensure macro params bracketed to avoid unexpected evaluations. (GA) MISRA Rule 19.10 */
-#ifdef _MISRA_RULES
-#define TEST_SET(x) (((x) << 5) & 0x03E0u) /* Set Index 0->31 */
-#else
-#define TEST_SET(x) (((x) << 5) & 0x03E0) /* Set Index 0->31 */
-#endif /* _MISRA_RULES */
-#define TEST_WAY0 0x00000000 /* Access Way0 */
-#define TEST_WAY1 0x04000000 /* Access Way1 */
-/*** ITEST_COMMAND only */
-#define TEST_WAY2 0x08000000 /* Access Way2 */
-#define TEST_WAY3 0x0C000000 /* Access Way3 */
-/*** DTEST_COMMAND only */
-#define TEST_BNKSELA 0x00000000 /* Access SuperBank A */
-#define TEST_BNKSELB 0x00800000 /* Access SuperBank B */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_LPBLACKFIN_H */
diff --git a/libgloss/bfin/include/defblackfin.h b/libgloss/bfin/include/defblackfin.h
deleted file mode 100644
index c0c122e..0000000
--- a/libgloss/bfin/include/defblackfin.h
+++ /dev/null
@@ -1,462 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * defblackfin.h
- *
- * (c) Copyright 2001-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF535 */
-
-#ifndef _DEF_BLACKFIN_H
-#define _DEF_BLACKFIN_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#endif /* _MISRA_RULES */
-
-
-#if defined(__ADSPLPBLACKFIN__)
-#warning defblackfin.h should only be included for 535 compatible chips.
-#endif
-/* Macro parameters should be enclosed in parentheses to avoid incorrect expression evaluation. MISRA Rule 19.10 */
-#ifdef _MISRA_RULES
-#define MK_BMSK_( x ) (1ul<<(x)) /* Make a bit mask from a bit position */
-#else
-#define MK_BMSK_( x ) (1<<(x)) /* Make a bit mask from a bit position */
-#endif /* _MISRA_RULES */
-
-/*********************************************************************************** */
-/* System Register Bits */
-/*********************************************************************************** */
-
-/*************************************************** */
-/* ASTAT register */
-/*************************************************** */
-
-#if !defined(__ADSPLPBLACKFIN__)
-/* ** Bit Positions */
-#define ASTAT_AZ_P 0x00000000 /* Result of last ALU0 or shifter operation is zero */
-#define ASTAT_AN_P 0x00000001 /* Result of last ALU0 or shifter operation is negative */
-#define ASTAT_AC0_COPY_P 0x00000002 /* Result of last ALU0 operation generated a carry */
-#define ASTAT_V_COPY_P 0x00000003 /* Result of last DAG operation overflowed */
-#define ASTAT_CC_P 0x00000005 /* Condition Code, used for holding comparison results */
-#define ASTAT_AQ_P 0x00000006 /* Quotient Bit */
-#define ASTAT_RND_MOD_P 0x00000008 /* Rounding mode, set for biased, clear for unbiased */
-
-#else /* !__ADSPLPBLACKFIN__ */
-
-/* definitions of ASTAT bit positions for next revision of BLACKFIN */
-#define ASTAT_AZ_P 0x00000000 /* Result of last ALU0 or shifter operation is zero */
-#define ASTAT_AN_P 0x00000001 /* Result of last ALU0 or shifter operation is negative */
-#define ASTAT_CC_P 0x00000005 /* Condition Code, used for holding comparison results */
-#define ASTAT_AQ_P 0x00000006 /* Quotient Bit */
-#define ASTAT_RND_MOD_P 0x00000008 /* Rounding mode, set for biased, clear for unbiased */
-#define ASTAT_AC0_P 0x0000000C /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC1_P 0x0000000D /* Result of last ALU1 operation generated a carry */
-#define ASTAT_AV0_P 0x00000010 /* Result of last ALU0 or MAC0 operation overflowed, sticky for MAC */
-#define ASTAT_AV0S_P 0x00000011 /* Sticky version of ASTAT_AV0_P */
-#define ASTAT_AV1_P 0x00000012 /* Result of last MAC1 operation overflowed, sticky for MAC */
-#define ASTAT_AV1S_P 0x00000013 /* Sticky version of ASTAT_AV1_P */
-#define ASTAT_V_P 0x00000018 /* Result of last op written to data register file. */
-#define ASTAT_VS_P 0x00000019 /* Sticky version of ASTAT_V_P */
-#endif /* !__ADSPLPBLACKFIN__ */
-
-/* ** Masks */
-#define ASTAT_AZ MK_BMSK_(ASTAT_AZ_P) /* Result of last ALU0 or shifter operation is zero */
-#define ASTAT_AN MK_BMSK_(ASTAT_AN_P) /* Result of last ALU0 or shifter operation is negative */
-#define ASTAT_CC MK_BMSK_(ASTAT_CC_P) /* Condition Code, used for holding comparison results */
-#define ASTAT_AQ MK_BMSK_(ASTAT_AQ_P) /* Quotient Bit */
-#define ASTAT_RND_MOD MK_BMSK_(ASTAT_RND_MOD_P) /* Rounding mode, set for biased, clear for unbiased */
-
-#if !defined(__ADSPLPBLACKFIN__)
-
-#define ASTAT_AC0_COPY MK_BMSK_(ASTAT_AC0_COPY_P) /* Result of last ALU0 operation generated a carry */
-#define ASTAT_V_COPY MK_BMSK_(ASTAT_V_COPY_P) /* Result of last DAG operation overflowed */
-
-#else /* !__ADSPLPBLACKFIN__ */
-
-#define ASTAT_AV0 MK_BMSK_(ASTAT_AV0_P) /* Result of last ALU0 or MAC0 operation overflowed, sticky for MAC */
-#define ASTAT_AV1 MK_BMSK_(ASTAT_AV1_P) /* Result of last MAC1 operation overflowed, sticky for MAC */
-#define ASTAT_AC0 MK_BMSK_(ASTAT_AC0_P) /* Result of last ALU0 operation generated a carry */
-#define ASTAT_AC1 MK_BMSK_(ASTAT_AC1_P) /* Result of last ALU1 operation generated a carry */
-#define ASTAT_AV0S MK_BMSK_(ASTAT_AV0S_P) /* Sticky version of ASTAT_AV0_P */
-#define ASTAT_AV1S MK_BMSK_(ASTAT_AV1S_P) /* Sticky version of ASTAT_AV1_P */
-#define ASTAT_V MK_BMSK_(ASTAT_V_P) /* Result of last op written to data register file. */
-#define ASTAT_VS MK_BMSK_(ASTAT_VS_P) /* Sticky version of ASTAT_V_P */
-
-#endif /* !__ADSPLPBLACKFIN__ */
-
-/*************************************************** */
-/* SEQSTAT register */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define SEQSTAT_EXCAUSE0_P 0x00000000 /* Last exception cause bit 0 */
-#define SEQSTAT_EXCAUSE1_P 0x00000001 /* Last exception cause bit 1 */
-#define SEQSTAT_EXCAUSE2_P 0x00000002 /* Last exception cause bit 2 */
-#define SEQSTAT_EXCAUSE3_P 0x00000003 /* Last exception cause bit 3 */
-#define SEQSTAT_EXCAUSE4_P 0x00000004 /* Last exception cause bit 4 */
-#define SEQSTAT_EXCAUSE5_P 0x00000005 /* Last exception cause bit 5 */
-#define SEQSTAT_OMODE0_P 0x0000000A /* Operating mode: 00 user, 01 supervisor, 1x debug */
-#define SEQSTAT_OMODE1_P 0x0000000B /* Operating mode: 00 user, 01 supervisor, 1x debug */
-#define SEQSTAT_IDLE_REQ_P 0x0000000C /* Pending idle mode request, set by IDLE instruction */
-#define SEQSTAT_SFTRESET_P 0x0000000D /* Indicates whether the last reset was a software reset (=1) */
-#define SEQSTAT_HWERRCAUSE0_P 0x0000000E /* Last hw error cause bit 0 */
-#define SEQSTAT_HWERRCAUSE1_P 0x0000000F /* Last hw error cause bit 1 */
-#define SEQSTAT_HWERRCAUSE2_P 0x00000010 /* Last hw error cause bit 2 */
-#define SEQSTAT_HWERRCAUSE3_P 0x00000011 /* Last hw error cause bit 3 */
-#define SEQSTAT_HWERRCAUSE4_P 0x00000012 /* Last hw error cause bit 4 */
-
-/* ** Masks */
-/* Exception cause */
-#define SEQSTAT_EXCAUSE ( MK_BMSK_(SEQSTAT_EXCAUSE0_P) | \
- MK_BMSK_(SEQSTAT_EXCAUSE1_P) | \
- MK_BMSK_(SEQSTAT_EXCAUSE2_P) | \
- MK_BMSK_(SEQSTAT_EXCAUSE3_P) | \
- MK_BMSK_(SEQSTAT_EXCAUSE4_P) | \
- MK_BMSK_(SEQSTAT_EXCAUSE5_P) )
-
-/* Operating mode: 00 user, 01 supervisor, 1x debug */
-#define SEQSTAT_OMODE ( MK_BMSK_(SEQSTAT_OMODE0_P) | \
- MK_BMSK_(SEQSTAT_OMODE1_P) )
-
-/* Pending idle mode request, set by IDLE instruction */
-#define SEQSTAT_IDLE_REQ MK_BMSK_(SEQSTAT_IDLE_REQ_P)
-
-/* Indicates whether the last reset was a software reset (=1) */
-#define SEQSTAT_SFTRESET MK_BMSK_(SEQSTAT_SFTRESET_P)
-
-/* Last hw error cause */
-#define SEQSTAT_HWERRCAUSE ( MK_BMSK_(SEQSTAT_HWERRCAUSE0_P) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE1_P) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE2_P) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE3_P) | \
- MK_BMSK_(SEQSTAT_HWERRCAUSE4_P) )
-
-/*************************************************** */
-/* SYSCFG register */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define SYSCFG_SSSTEP_P 0x00000000 /* Supervisor single step, when set it forces an exception for each instruction executed */
-#define SYSCFG_CCEN_P 0x00000001 /* Enable cycle counter (=1) */
-#define SYSCFG_SNEN_P 0x00000002 /* Enable self-nesting interrupts (=1) */
-
-/* ** Masks */
-#define SYSCFG_SSSTEP MK_BMSK_(SYSCFG_SSSTEP_P) /* Supervisor single step, when set it forces an exception for each instruction executed */
-#define SYSCFG_CCEN MK_BMSK_(SYSCFG_CCEN_P) /* Enable cycle counter (=1) */
-#define SYSCFG_SNEN MK_BMSK_(SYSCFG_SNEN_P) /* Enable self-nesting interrupts (=1) */
-/* Backward-compatibility for typos in prior releases */
-#define SYSCFG_SSSSTEP SYSCFG_SSSTEP
-#define SYSCFG_CCCEN SYSCFG_CCEN
-
-
-/*********************************************************************************** */
-/* Core MMR Register Map */
-/*********************************************************************************** */
-
-/* Cache & SRAM Memory */
-#define SRAM_BASE_ADDRESS 0xFFE00000 /* SRAM Base Address (Read Only) */
-#define DMEM_CONTROL 0xFFE00004 /* Data memory control */
-#define DCPLB_STATUS 0xFFE00008 /* Data Cache Programmable Look-Aside Buffer Status */
-#define DCPLB_FAULT_ADDR 0xFFE0000C /* Data Cache Programmable Look-Aside Buffer Fault Address */
-#define MMR_TIMEOUT 0xFFE00010 /* Memory-Mapped Register Timeout Register */
-#define DCPLB_ADDR0 0xFFE00100 /* Data Cache Protection Lookaside Buffer 0 */
-#define DCPLB_ADDR1 0xFFE00104 /* Data Cache Protection Lookaside Buffer 1 */
-#define DCPLB_ADDR2 0xFFE00108 /* Data Cache Protection Lookaside Buffer 2 */
-#define DCPLB_ADDR3 0xFFE0010C /* Data Cache Protection Lookaside Buffer 3 */
-#define DCPLB_ADDR4 0xFFE00110 /* Data Cache Protection Lookaside Buffer 4 */
-#define DCPLB_ADDR5 0xFFE00114 /* Data Cache Protection Lookaside Buffer 5 */
-#define DCPLB_ADDR6 0xFFE00118 /* Data Cache Protection Lookaside Buffer 6 */
-#define DCPLB_ADDR7 0xFFE0011C /* Data Cache Protection Lookaside Buffer 7 */
-#define DCPLB_ADDR8 0xFFE00120 /* Data Cache Protection Lookaside Buffer 8 */
-#define DCPLB_ADDR9 0xFFE00124 /* Data Cache Protection Lookaside Buffer 9 */
-#define DCPLB_ADDR10 0xFFE00128 /* Data Cache Protection Lookaside Buffer 10 */
-#define DCPLB_ADDR11 0xFFE0012C /* Data Cache Protection Lookaside Buffer 11 */
-#define DCPLB_ADDR12 0xFFE00130 /* Data Cache Protection Lookaside Buffer 12 */
-#define DCPLB_ADDR13 0xFFE00134 /* Data Cache Protection Lookaside Buffer 13 */
-#define DCPLB_ADDR14 0xFFE00138 /* Data Cache Protection Lookaside Buffer 14 */
-#define DCPLB_ADDR15 0xFFE0013C /* Data Cache Protection Lookaside Buffer 15 */
-#define DCPLB_DATA0 0xFFE00200 /* Data Cache 0 Status */
-#define DCPLB_DATA1 0xFFE00204 /* Data Cache 1 Status */
-#define DCPLB_DATA2 0xFFE00208 /* Data Cache 2 Status */
-#define DCPLB_DATA3 0xFFE0020C /* Data Cache 3 Status */
-#define DCPLB_DATA4 0xFFE00210 /* Data Cache 4 Status */
-#define DCPLB_DATA5 0xFFE00214 /* Data Cache 5 Status */
-#define DCPLB_DATA6 0xFFE00218 /* Data Cache 6 Status */
-#define DCPLB_DATA7 0xFFE0021C /* Data Cache 7 Status */
-#define DCPLB_DATA8 0xFFE00220 /* Data Cache 8 Status */
-#define DCPLB_DATA9 0xFFE00224 /* Data Cache 9 Status */
-#define DCPLB_DATA10 0xFFE00228 /* Data Cache 10 Status */
-#define DCPLB_DATA11 0xFFE0022C /* Data Cache 11 Status */
-#define DCPLB_DATA12 0xFFE00230 /* Data Cache 12 Status */
-#define DCPLB_DATA13 0xFFE00234 /* Data Cache 13 Status */
-#define DCPLB_DATA14 0xFFE00238 /* Data Cache 14 Status */
-#define DCPLB_DATA15 0xFFE0023C /* Data Cache 15 Status */
-#define DTEST_COMMAND 0xFFE00300 /* Data Test Command Register */
-#define DTEST_INDEX 0xFFE00304 /* Data Test Index Register */
-#define DTEST_DATA0 0xFFE00400 /* Data Test Data Register */
-#define DTEST_DATA1 0xFFE00404 /* Data Test Data Register */
-#define DTEST_DATA2 0xFFE00408 /* Data Test Data Register */
-#define DTEST_DATA3 0xFFE0040C /* Data Test Data Register */
-#define IMEM_CONTROL 0xFFE01004 /* Instruction Memory Control */
-#define ICPLB_STATUS 0xFFE01008 /* Instruction Cache miss status */
-#define ICPLB_FAULT_ADDR 0xFFE0100C /* Instruction Cache miss address */
-#define ICPLB_ADDR0 0xFFE01100 /* Instruction Cache Protection Lookaside Buffer 0 */
-#define ICPLB_ADDR1 0xFFE01104 /* Instruction Cache Protection Lookaside Buffer 1 */
-#define ICPLB_ADDR2 0xFFE01108 /* Instruction Cache Protection Lookaside Buffer 2 */
-#define ICPLB_ADDR3 0xFFE0110C /* Instruction Cache Protection Lookaside Buffer 3 */
-#define ICPLB_ADDR4 0xFFE01110 /* Instruction Cache Protection Lookaside Buffer 4 */
-#define ICPLB_ADDR5 0xFFE01114 /* Instruction Cache Protection Lookaside Buffer 5 */
-#define ICPLB_ADDR6 0xFFE01118 /* Instruction Cache Protection Lookaside Buffer 6 */
-#define ICPLB_ADDR7 0xFFE0111C /* Instruction Cache Protection Lookaside Buffer 7 */
-#define ICPLB_ADDR8 0xFFE01120 /* Instruction Cache Protection Lookaside Buffer 8 */
-#define ICPLB_ADDR9 0xFFE01124 /* Instruction Cache Protection Lookaside Buffer 9 */
-#define ICPLB_ADDR10 0xFFE01128 /* Instruction Cache Protection Lookaside Buffer 10 */
-#define ICPLB_ADDR11 0xFFE0112C /* Instruction Cache Protection Lookaside Buffer 11 */
-#define ICPLB_ADDR12 0xFFE01130 /* Instruction Cache Protection Lookaside Buffer 12 */
-#define ICPLB_ADDR13 0xFFE01134 /* Instruction Cache Protection Lookaside Buffer 13 */
-#define ICPLB_ADDR14 0xFFE01138 /* Instruction Cache Protection Lookaside Buffer 14 */
-#define ICPLB_ADDR15 0xFFE0113C /* Instruction Cache Protection Lookaside Buffer 15 */
-#define ICPLB_DATA0 0xFFE01200 /* Instruction Cache 0 Status */
-#define ICPLB_DATA1 0xFFE01204 /* Instruction Cache 1 Status */
-#define ICPLB_DATA2 0xFFE01208 /* Instruction Cache 2 Status */
-#define ICPLB_DATA3 0xFFE0120C /* Instruction Cache 3 Status */
-#define ICPLB_DATA4 0xFFE01210 /* Instruction Cache 4 Status */
-#define ICPLB_DATA5 0xFFE01214 /* Instruction Cache 5 Status */
-#define ICPLB_DATA6 0xFFE01218 /* Instruction Cache 6 Status */
-#define ICPLB_DATA7 0xFFE0121C /* Instruction Cache 7 Status */
-#define ICPLB_DATA8 0xFFE01220 /* Instruction Cache 8 Status */
-#define ICPLB_DATA9 0xFFE01224 /* Instruction Cache 9 Status */
-#define ICPLB_DATA10 0xFFE01228 /* Instruction Cache 10 Status */
-#define ICPLB_DATA11 0xFFE0122C /* Instruction Cache 11 Status */
-#define ICPLB_DATA12 0xFFE01230 /* Instruction Cache 12 Status */
-#define ICPLB_DATA13 0xFFE01234 /* Instruction Cache 13 Status */
-#define ICPLB_DATA14 0xFFE01238 /* Instruction Cache 14 Status */
-#define ICPLB_DATA15 0xFFE0123C /* Instruction Cache 15 Status */
-#define ITEST_COMMAND 0xFFE01300 /* Instruction Test Command Register */
-#define ITEST_INDEX 0xFFE01304 /* Instruction Test Index Register */
-#define ITEST_DATA0 0xFFE01400 /* Instruction Test Data Register */
-#define ITEST_DATA1 0xFFE01404 /* Instruction Test Data Register */
-
-/* Event/Interrupt Registers */
-#define EVT0 0xFFE02000 /* Event Vector 0 ESR Address */
-#define EVT1 0xFFE02004 /* Event Vector 1 ESR Address */
-#define EVT2 0xFFE02008 /* Event Vector 2 ESR Address */
-#define EVT3 0xFFE0200C /* Event Vector 3 ESR Address */
-#define EVT4 0xFFE02010 /* Event Vector 4 ESR Address */
-#define EVT5 0xFFE02014 /* Event Vector 5 ESR Address */
-#define EVT6 0xFFE02018 /* Event Vector 6 ESR Address */
-#define EVT7 0xFFE0201C /* Event Vector 7 ESR Address */
-#define EVT8 0xFFE02020 /* Event Vector 8 ESR Address */
-#define EVT9 0xFFE02024 /* Event Vector 9 ESR Address */
-#define EVT10 0xFFE02028 /* Event Vector 10 ESR Address */
-#define EVT11 0xFFE0202C /* Event Vector 11 ESR Address */
-#define EVT12 0xFFE02030 /* Event Vector 12 ESR Address */
-#define EVT13 0xFFE02034 /* Event Vector 13 ESR Address */
-#define EVT14 0xFFE02038 /* Event Vector 14 ESR Address */
-#define EVT15 0xFFE0203C /* Event Vector 15 ESR Address */
-#define IMASK 0xFFE02104 /* Interrupt Mask Register */
-#define IPEND 0xFFE02108 /* Interrupt Pending Register */
-#define ILAT 0xFFE0210C /* Interrupt Latch Register */
-
-/* Core Timer Registers */
-#define TCNTL 0xFFE03000 /* Core Timer Control Register */
-#define TPERIOD 0xFFE03004 /* Core Timer Period Register */
-#define TSCALE 0xFFE03008 /* Core Timer Scale Register */
-#define TCOUNT 0xFFE0300C /* Core Timer Count Register */
-
-/* Debug/MP/Emulation Registers */
-#define DSPID 0xFFE05000 /* DSP Processor ID Register for MP implementations */
-#define DBGCTL 0xFFE05004 /* Debug Control Register */
-#define DBGSTAT 0xFFE05008 /* Debug Status Register */
-#define EMUDAT 0xFFE0500C /* Emulator Data Register */
-
-/* Trace Buffer Registers */
-#define TBUFCTL 0xFFE06000 /* Trace Buffer Control Register */
-#define TBUFSTAT 0xFFE06004 /* Trace Buffer Status Register */
-#define TBUF 0xFFE06100 /* Trace Buffer */
-
-/* Watch Point Control Registers */
-#define WPIACTL 0xFFE07000 /* Instruction Watch Point Control Register */
-#define WPIA0 0xFFE07040 /* Instruction Watch Point Address 0 */
-#define WPIA1 0xFFE07044 /* Instruction Watch Point Address 1 */
-#define WPIA2 0xFFE07048 /* Instruction Watch Point Address 2 */
-#define WPIA3 0xFFE0704C /* Instruction Watch Point Address 3 */
-#define WPIA4 0xFFE07050 /* Instruction Watch Point Address 4 */
-#define WPIA5 0xFFE07054 /* Instruction Watch Point Address 5 */
-#define WPIACNT0 0xFFE07080 /* Instruction Watch Point Counter 0 */
-#define WPIACNT1 0xFFE07084 /* Instruction Watch Point Counter 1 */
-#define WPIACNT2 0xFFE07088 /* Instruction Watch Point Counter 2 */
-#define WPIACNT3 0xFFE0708C /* Instruction Watch Point Counter 3 */
-#define WPIACNT4 0xFFE07090 /* Instruction Watch Point Counter 4 */
-#define WPIACNT5 0xFFE07094 /* Instruction Watch Point Counter 5 */
-#define WPDACTL 0xFFE07100 /* Data Watch Point Control Register */
-#define WPDA0 0xFFE07140 /* Data Watch Point Address 0 */
-#define WPDA1 0xFFE07144 /* Data Watch Point Address 1 */
-#define WPDACNT0 0xFFE07180 /* Data Watch Point Counter 0 */
-#define WPDACNT1 0xFFE07184 /* Data Watch Point Counter 1 */
-#define WPSTAT 0xFFE07200 /* Watch Point Status Register */
-
-/* Performance Monitor Registers */
-#define PFCTL 0xFFE08000 /* Performance Monitor Control Register */
-#define PFCNTR0 0xFFE08100 /* Performance Monitor Counter Register 0 */
-#define PFCNTR1 0xFFE08104 /* Performance Monitor Counter Register 1 */
-
-
-/*********************************************************************************** */
-/* Core MMR Register Bits */
-/*********************************************************************************** */
-
-/*************************************************** */
-/* EVT registers (ILAT, IMASK, and IPEND). */
-/*************************************************** */
-
-/* ** Bit Positions */
-#define EVT_EMU_P 0x00000000 /* Emulator interrupt bit position */
-#define EVT_RST_P 0x00000001 /* Reset interrupt bit position */
-#define EVT_NMI_P 0x00000002 /* Non Maskable interrupt bit position */
-#define EVT_EVX_P 0x00000003 /* Exception bit position */
-#define EVT_IRPTEN_P 0x00000004 /* Global interrupt enable bit position */
-#define EVT_IVHW_P 0x00000005 /* Hardware Error interrupt bit position */
-#define EVT_IVTMR_P 0x00000006 /* Timer interrupt bit position */
-#define EVT_IVG7_P 0x00000007 /* IVG7 interrupt bit position */
-#define EVT_IVG8_P 0x00000008 /* IVG8 interrupt bit position */
-#define EVT_IVG9_P 0x00000009 /* IVG9 interrupt bit position */
-#define EVT_IVG10_P 0x0000000a /* IVG10 interrupt bit position */
-#define EVT_IVG11_P 0x0000000b /* IVG11 interrupt bit position */
-#define EVT_IVG12_P 0x0000000c /* IVG12 interrupt bit position */
-#define EVT_IVG13_P 0x0000000d /* IVG13 interrupt bit position */
-#define EVT_IVG14_P 0x0000000e /* IVG14 interrupt bit position */
-#define EVT_IVG15_P 0x0000000f /* IVG15 interrupt bit position */
-
-/* ** Masks */
-#define EVT_EMU MK_BMSK_(EVT_EMU_P ) /* Emulator interrupt mask */
-#define EVT_RST MK_BMSK_(EVT_RST_P ) /* Reset interrupt mask */
-#define EVT_NMI MK_BMSK_(EVT_NMI_P ) /* Non Maskable interrupt mask */
-#define EVT_EVX MK_BMSK_(EVT_EVX_P ) /* Exception mask */
-#define EVT_IRPTEN MK_BMSK_(EVT_IRPTEN_P) /* Global interrupt enable mask */
-#define EVT_IVHW MK_BMSK_(EVT_IVHW_P ) /* Hardware Error interrupt mask */
-#define EVT_IVTMR MK_BMSK_(EVT_IVTMR_P ) /* Timer interrupt mask */
-#define EVT_IVG7 MK_BMSK_(EVT_IVG7_P ) /* IVG7 interrupt mask */
-#define EVT_IVG8 MK_BMSK_(EVT_IVG8_P ) /* IVG8 interrupt mask */
-#define EVT_IVG9 MK_BMSK_(EVT_IVG9_P ) /* IVG9 interrupt mask */
-#define EVT_IVG10 MK_BMSK_(EVT_IVG10_P ) /* IVG10 interrupt mask */
-#define EVT_IVG11 MK_BMSK_(EVT_IVG11_P ) /* IVG11 interrupt mask */
-#define EVT_IVG12 MK_BMSK_(EVT_IVG12_P ) /* IVG12 interrupt mask */
-#define EVT_IVG13 MK_BMSK_(EVT_IVG13_P ) /* IVG13 interrupt mask */
-#define EVT_IVG14 MK_BMSK_(EVT_IVG14_P ) /* IVG14 interrupt mask */
-#define EVT_IVG15 MK_BMSK_(EVT_IVG15_P ) /* IVG15 interrupt mask */
-
-/*************************************************** */
-/* DMEM_CONTROL register */
-/*************************************************** */
-/* ** Bit Positions */
-#define ENDM_P 0x00 /* Enable Data Memory L1 */
-#define DMCTL_ENDM_P ENDM_P /* "" (older define) */
-#define ENDCPLB_P 0x01 /* Enable DCPLBS */
-#define DMCTL_ENDCPLB_P ENDCPLB_P /* "" (older define) */
-#define DMC0_P 0x02 /* L1 Data Memory Configure bit 0 */
-#define DMCTL_DMC0_P DMC0_P /* "" (older define) */
-#define DMC1_P 0x03 /* L1 Data Memory Configure bit 1 */
-#define DMCTL_DMC1_P DMC1_P /* "" (older define) */
-
-/* ** Masks */
-#define ENDM MK_BMSK_(DMCTL_ENDM_P) /* Enable Data Memory L1 */
-
-/* Bank A set as SRAM, Bank B set as SRAM */
-#define ASRAM_BSRAM 0x00000000
-
-/* Enable DCPLB */
-#define ENDCPLB MK_BMSK_(DMCTL_ENDCPLB_P)
-
-/* Bank A set as CACHE, Bank B set as SRAM */
-#define ACACHE_BSRAM 0x00000008
-/* Bank A set as CACHE, Bank B set as CACHE */
-#define ACACHE_BCACHE 0x0000000C
-#define DCBS 0x00000010 /* If HIGHBIT is 1, select L1 data memory B */
- /* If HIGHBIT is 0, select L1 data memory A */
- /* If LOWBIT is 1, select L1 memory bank B */
- /* If LOWBIT is 0, select L1 memory bank A */
-
-/* IMEM_CONTROL Masks */
-#define ENIM 0x00000001 /* Enable L1 Code Memory */
-#define ENICPLB 0x00000002 /* Enable ICPLB */
-#define IMC 0x00000004 /* Configure L1 code memory as cache (0=SRAM) */
-
-/* TCNTL Masks */
-#define TMPWR 0x00000001 /* Timer Low Power Control, 0=low power mode, 1=active state */
-#define TMREN 0x00000002 /* Timer enable, 0=disable, 1=enable */
-#define TAUTORLD 0x00000004 /* Timer auto reload */
-#define TINT 0x00000008 /* Timer generated interrupt 0=no interrupt has been generated, 1=interrupt has been generated (sticky) */
-
-/* TCNTL Bit Positions */
-#define TMPWR_P 0x00000000 /* Timer Low Power Control, 0=low power mode, 1=active state */
-#define TMREN_P 0x00000001 /* Timer enable, 0=disable, 1=enable */
-#define TAUTORLD_P 0x00000002 /* Timer auto reload */
-#define TINT_P 0x00000003 /* Timer generated interrupt 0=no interrupt has been generated, 1=interrupt has been generated (sticky) */
-
-/* DCPLB_DATA and ICPLB_DATA Masks */
-#define CPLB_VALID 0x00000001 /* 0=invalid entry, 1=valid entry */
-#define CPLB_LOCK 0x00000002 /* 0=entry may be replaced, 1=entry locked */
-#define CPLB_USER_RD 0x00000004 /* 0=no read access, 1=read access allowed (user mode) */
-#define CPLB_USER_WR 0x00000008 /* 0=no write access, 0=write access allowed (user mode) */
- /* only applies to L1 data memory */
-#define CPLB_SUPV_WR 0x00000010 /* 0=no write access, 0=write access allowed (supervisor mode) */
-#define CPLB_L1SRAM 0x00000020 /* 0=SRAM mapped in L1, 0=SRAM not mapped to L1 */
-#define CPLB_DA0ACC 0x00000040 /* 0=access allowed from either DAG, 1=access from DAG0 only */
- /* only applies in L1 data memory controller */
-#define CPLB_DIRTY 0x00000080 /* 1=dirty, 0=clean */
- /* only applies in L1 data memory controller */
-#define CPLB_L1_CHBL 0x00001000 /* 0=non-cacheable in L1, 1=cacheable in L1 */
-#define CPLB_WT 0x00004000 /* 0=write-back, 1=write-through */
- /* only applies in L1 data memory controller in cache mode */
-#define PAGE_SIZE_1KB 0x00000000 /* 1 KB page size */
-#define PAGE_SIZE_4KB 0x00010000 /* 4 KB page size */
-#define PAGE_SIZE_1MB 0x00020000 /* 1 MB page size */
-#define PAGE_SIZE_4MB 0x00030000 /* 4 MB page size */
-
-
-/* DCPLB_DATA and ICPLB_DATA Bit Positions */
-#define CPLB_VALID_P 0 /* 0=invalid entry, 1=valid entry */
-#define CPLB_LOCK_P 1 /* 0=entry may be replaced, 1=entry locked */
-#define CPLB_USER_RD_P 2 /* 0=no read access, 1=read access allowed (user mode) */
-/*** DCPLB_DATA only */
-#define CPLB_USER_WR_P 3 /* 0=no write access, 0=write access allowed (user mode) */
-#define CPLB_SUPV_WR_P 4 /* 0=no write access, 0=write access allowed (supervisor mode) */
-#define CPLB_L1SRAM_P 5 /* 0=SRAM mapped in L1, 0=SRAM not mapped to L1 */
-#define CPLB_DA0ACC_P 6 /* 0=access allowed from either DAG, 1=access from DAG0 only */
-#define CPLB_DIRTY_P 7 /* 1=dirty, 0=clean */
-#define CPLB_L1_CHBL_P 12 /* 0=non-cacheable in L1, 1=cacheable in L1 */
-#define CPLB_WT_P 14 /* 0=write-back, 1=write-through */
-
-
-/* Alternate Deprecated Macros Provided For Backwards Code Compatibility */
-#if !defined(__ADSPLPBLACKFIN__)
-#define ASTAT_AC0_P ASTAT_AC0_COPY_P
-#define ASTAT_AC_P ASTAT_AC0_COPY_P
-#define ASTAT_AV0_P ASTAT_V_COPY_P
-#define ASTAT_AC MK_BMSK_(ASTAT_AC0_COPY_P)
-#define ASTAT_AV1 MK_BMSK_(ASTAT_V_COPY_P)
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _DEF_BLACKFIN_H */
diff --git a/libgloss/bfin/include/sys/_adi_platform.h b/libgloss/bfin/include/sys/_adi_platform.h
deleted file mode 100644
index b121537..0000000
--- a/libgloss/bfin/include/sys/_adi_platform.h
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
-** Include appropriate header file for platform.
-** Copyright (C) 2004-2009 Analog Devices Inc. All Rights Reserved.
-*/
-
-#ifndef __ADI_PLATFORM_H
-#define __ADI_PLATFORM_H
-
-#ifndef __ASSEMBLER__
-
-#if defined (__ADSPBF531__)
-#include <cdefBF531.h>
-#elif defined (__ADSPBF532__)
-#include <cdefBF532.h>
-#elif defined (__ADSPBF533__)
-#include <cdefBF533.h>
-#elif defined (__ADSPBF534__)
-#include <cdefBF534.h>
-#elif defined (__ADSPBF535__)
-#include <cdefBF535.h>
-#elif defined (__ADSPBF536__)
-#include <cdefBF536.h>
-#elif defined (__ADSPBF537__)
-#include <cdefBF537.h>
-#elif defined (__ADSPBF538__)
-#include <cdefBF538.h>
-#elif defined (__ADSPBF539__)
-#include <cdefBF539.h>
-#elif defined (__ADSPBF561__)
-#include <cdefBF561.h>
-#elif defined (__AD6531__)
-#include <cdefAD6531.h>
-#elif defined (__AD6532__)
-#include <cdefAD6532.h>
-#elif defined (__AD6723__)
-#include <cdefAD6723.h>
-#elif defined (__AD6900__)
-#include <cdefAD6900.h>
-#elif defined (__AD6901__)
-#include <cdefAD6901.h>
-#elif defined (__AD6902__)
-#include <cdefAD6902.h>
-#elif defined (__AD6903__)
-#include <cdefAD6903.h>
-#elif defined (__AD6904__)
-#include <cdefAD6904.h>
-#elif defined (__AD6905__)
-#include <cdefAD6905.h>
-#elif defined (__MT6906__)
-#include <cdefMT6906.h>
-#elif defined (__ADSPBF504__)
-#include <cdefBF504.h>
-#elif defined (__ADSPBF504F__)
-#include <cdefBF504F.h>
-#elif defined (__ADSPBF506__) || defined (__ADSPBF506F__)
-#include <cdefBF506F.h>
-#elif defined (__ADSPBF512__)
-#include <cdefBF512.h>
-#elif defined (__ADSPBF514__)
-#include <cdefBF514.h>
-#elif defined (__ADSPBF516__)
-#include <cdefBF516.h>
-#elif defined (__ADSPBF518__)
-#include <cdefBF518.h>
-#elif defined (__ADSPBF522__)
-#include <cdefBF522.h>
-#elif defined (__ADSPBF523__)
-#include <cdefBF523.h>
-#elif defined (__ADSPBF524__)
-#include <cdefBF524.h>
-#elif defined (__ADSPBF525__)
-#include <cdefBF525.h>
-#elif defined (__ADSPBF526__)
-#include <cdefBF526.h>
-#elif defined (__ADSPBF527__)
-#include <cdefBF527.h>
-#elif defined (__ADSPBF542__)
-#include <cdefBF542.h>
-#elif defined (__ADSPBF542M__)
-#include <cdefBF542M.h>
-#elif defined (__ADSPBF544__)
-#include <cdefBF544.h>
-#elif defined (__ADSPBF544M__)
-#include <cdefBF544M.h>
-#elif defined (__ADSPBF547__)
-#include <cdefBF547.h>
-#elif defined (__ADSPBF547M__)
-#include <cdefBF547M.h>
-#elif defined (__ADSPBF548__)
-#include <cdefBF548.h>
-#elif defined (__ADSPBF548M__)
-#include <cdefBF548M.h>
-#elif defined (__ADSPBF549__)
-#include <cdefBF549.h>
-#elif defined (__ADSPBF549M__)
-#include <cdefBF549M.h>
-#elif defined (__ADSPBF592A__)
-#include <cdefBF592-A.h>
-#elif defined (__ADSPBF606__)
-#include <cdefBF606.h>
-#elif defined (__ADSPBF607__)
-#include <cdefBF607.h>
-#elif defined (__ADSPBF608__)
-#include <cdefBF608.h>
-#elif defined (__ADSPBF609__)
-#include <cdefBF609.h>
-#else
-#error Processor Type Not Supported
-#endif
-
-
-#else
-
-#if defined (__ADSPBF531__)
-#include <defBF531.h>
-#elif defined (__ADSPBF532__)
-#include <defBF532.h>
-#elif defined (__ADSPBF533__)
-#include <defBF533.h>
-#elif defined (__ADSPBF534__)
-#include <defBF534.h>
-#elif defined (__ADSPBF535__)
-#include <defBF535.h>
-#elif defined (__ADSPBF536__)
-#include <defBF536.h>
-#elif defined (__ADSPBF537__)
-#include <defBF537.h>
-#elif defined (__ADSPBF538__)
-#include <defBF538.h>
-#elif defined (__ADSPBF539__)
-#include <defBF539.h>
-#elif defined (__ADSPBF561__)
-#include <defBF561.h>
-#elif defined (__AD6531__)
-#include <defAD6531.h>
-#elif defined (__AD6532__)
-#include <defAD6532.h>
-#elif defined (__AD6723__)
-#include <defAD6723.h>
-#elif defined (__AD6900__)
-#include <defAD6900.h>
-#elif defined (__AD6901__)
-#include <defAD6901.h>
-#elif defined (__AD6902__)
-#include <defAD6902.h>
-#elif defined (__AD6903__)
-#include <defAD6903.h>
-#elif defined (__AD6904__)
-#include <defAD6904.h>
-#elif defined (__AD6905__)
-#include <defAD6905.h>
-#elif defined (__MT6906__)
-#include <defMT6906.h>
-#elif defined (__ADSPBF504__)
-#include <defBF504.h>
-#elif defined (__ADSPBF504F__)
-#include <defBF504F.h>
-#elif defined (__ADSPBF506__) || defined (__ADSPBF506F__)
-#include <defBF506F.h>
-#elif defined (__ADSPBF512__)
-#include <defBF512.h>
-#elif defined (__ADSPBF514__)
-#include <defBF514.h>
-#elif defined (__ADSPBF516__)
-#include <defBF516.h>
-#elif defined (__ADSPBF518__)
-#include <defBF518.h>
-#elif defined (__ADSPBF522__)
-#include <defBF522.h>
-#elif defined (__ADSPBF523__)
-#include <defBF523.h>
-#elif defined (__ADSPBF524__)
-#include <defBF524.h>
-#elif defined (__ADSPBF525__)
-#include <defBF525.h>
-#elif defined (__ADSPBF526__)
-#include <defBF526.h>
-#elif defined (__ADSPBF527__)
-#include <defBF527.h>
-#elif defined (__ADSPBF542__)
-#include <defBF542.h>
-#elif defined (__ADSPBF542M__)
-#include <defBF542M.h>
-#elif defined (__ADSPBF544__)
-#include <defBF544.h>
-#elif defined (__ADSPBF544M__)
-#include <defBF544M.h>
-#elif defined (__ADSPBF547__)
-#include <defBF547.h>
-#elif defined (__ADSPBF547M__)
-#include <defBF547M.h>
-#elif defined (__ADSPBF548__)
-#include <defBF548.h>
-#elif defined (__ADSPBF548M__)
-#include <defBF548M.h>
-#elif defined (__ADSPBF549__)
-#include <defBF549.h>
-#elif defined (__ADSPBF549M__)
-#include <defBF549M.h>
-#elif defined (__ADSPBF592A__)
-#include <defBF592-A.h>
-#elif defined (__ADSPBF606__)
-#include <defBF606.h>
-#elif defined (__ADSPBF607__)
-#include <defBF607.h>
-#elif defined (__ADSPBF608__)
-#include <defBF608.h>
-#elif defined (__ADSPBF609__)
-#include <defBF609.h>
-
-#else
-#error Processor Type Not Supported
-#endif
-
-#endif /* __ASSEMBLER__ */
-
-#endif /* __INC_BLACKFIN__ */
-
diff --git a/libgloss/bfin/include/sys/anomaly_macros_rtl.h b/libgloss/bfin/include/sys/anomaly_macros_rtl.h
deleted file mode 100644
index b5110f0..0000000
--- a/libgloss/bfin/include/sys/anomaly_macros_rtl.h
+++ /dev/null
@@ -1,339 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * anomaly_macros_rtl.h : $Revision$
- *
- * (c) Copyright 2005-2011 Analog Devices, Inc. All rights reserved.
- *
- * This file defines macros used within the run-time libraries to enable
- * certain anomaly workarounds for the appropriate chips and silicon
- * revisions. Certain macros are defined for silicon-revision none - this
- * is to ensure behaviour is unchanged from libraries supplied with
- * earlier tools versions, where a small number of anomaly workarounds
- * were applied in all library flavours. __FORCE_LEGACY_WORKAROUNDS__
- * is defined in this case.
- *
- * This file defines macros for a subset of all anomalies that may impact
- * the run-time libraries.
- *
- ************************************************************************/
-
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_2_4:"Assembly code in comment used to illustrate anomalous behaviour")
-#endif /* _MISRA_RULES */
-
-#if !defined(__SILICON_REVISION__)
-#define __FORCE_LEGACY_WORKAROUNDS__
-#endif
-
-
-/* 050000245 - "False Hardware Error from an Access in the Shadow of a
-** Conditional Branch"
-**
-** If a load accesses reserved or illegal memory on the opposite control
-** flow of a conditional jump to the taken path, a false hardware error
-** will occur.
-**
-** This macro is used by System Services/Device Drivers.
-**
-** This is for all Blackfin LP parts.
-*/
-#define WA_05000245 \
- (defined(__ADSPLPBLACKFIN__) && defined(__SILICON_REVISION__))
-
-
-/* 05-00-0229 - "SPI Slave Boot Mode Modifies Registers".
- * When the SPI slave boot completes, the final DMA IRQ is cleared
- * but the DMA5_CONFIG and SPI_CTL registers are not reset to their
- * default states.
- *
- * We work around this by resetting the registers to their default
- * values at the beginning of the CRT. The only issue would be when
- * users boot from flash and make use of the DMA or serial port.
- * In this case, users would need to modify the CRT.
- *
- * This problem impacts all revisions of ADSP-BF531/2/3/8/9
- */
-#define WA_05000229 \
- (defined(__ADSPBLACKFIN__) && defined (__SILICON_REVISION__) && \
- (defined(__ADSPBF531__) || defined(__ADSPBF532__) || \
- defined(__ADSPBF533__) || defined(__ADSPBF538__) || \
- defined(__ADSPBF539__)))
-
-
-/* 05-00-0283 - "A system MMR write is stalled indefinitely when killed in a
- * particular stage".
- *
- * Where an interrupt occurs killing a stalled system MMR write, and the ISR
- * executes an SSYNC, execution execution may stall indefinitely".
- *
- * The workaround is to execute a mispredicted jump over a dummy MMR read,
- * thus killing the read. Also to avoid a system MMR write in two slots
- * after a not predicted conditional jump.
- *
- * This problem impacts:
- * BF531/2/3 - < 0.6
- * BF534/6/7 - < 0.3
- * BF538/9 - < 0.4
- * BF561/6 - < 0.5
- *
- * Since this impacts 538/9 0.3 but not 534 0.3 (the libraries that they use)
- * we have to enable this workaround for the 534 0.3 libraries (see bottom
- * two lines).
- */
-#define WA_05000283 \
- (defined (__SILICON_REVISION__) && \
- (((defined(__ADSPBF531__) || \
- defined(__ADSPBF532__) || \
- defined(__ADSPBF533__)) && \
- (__SILICON_REVISION__ == 0xffff || \
- __SILICON_REVISION__ < 0x6)) || \
- ((defined(__ADSPBF534__) || \
- defined(__ADSPBF536__) || \
- defined(__ADSPBF537__)) && \
- (__SILICON_REVISION__ == 0xffff || \
- __SILICON_REVISION__ < 0x3)) || \
- ((defined(__ADSPBF538__) || \
- defined(__ADSPBF539__)) && \
- (__SILICON_REVISION__ == 0xffff || \
- __SILICON_REVISION__ < 0x4)) || \
- (defined(__ADSPBF561__)) || \
- (defined(__ADSPBF534__) && __SILICON_REVISION__ == 0x3 && \
- defined(__ADI_LIB_BUILD__))))
-
-
-/* 05-00-0311 - Erroneous Flag (GPIO) Pin Operations under Specific Sequences
-**
-** Impacted:
-** ADSP-BF53[123] - 0.0-0.5 (fixed in 0.6)
-**
-** Use by System Services/Device Drivers.
-*/
-#define WA_05000311 \
- (defined(__ADSPBF533_FAMILY__) && \
- (defined(__SILICON_REVISION__) && \
- (__SILICON_REVISION__ <= 0x5 || __SILICON_REVISION__ == 0xffff)))
-
-
-/* 05-00-0312 - Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers
-** Are Interrupted
-**
-** Impacted:
-** ADSP-BF53[123] - 0.0-0.5 (fixed in 0.6)
-** ADSP-BF53[467] - all supported revisions
-** ADSP-BF53[89] - 0.0-0.4 (fixed in 0.5)
-** ADSP-BF561 - all supported revisions
-** ADSP-BF54[24789] - 0.0 (fixed in 0.1)
-**
-** Used by VDK
-*/
-#define WA_05000312 \
- (defined(__SILICON_REVISION__) && \
- ((defined(__ADSPBF533_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x5 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF537_FAMILY__)) || \
- (defined(__ADSPBF538_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x4 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF548_FAMILY__) && \
- (__SILICON_REVISION__ == 0x0 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF561_FAMILY__))))
-
-
-/* 05-00-0323 - Erroneous Flag (GPIO) Pin Operations under Specific Sequences
-**
-** Impacted:
-** ADSP-BF561 - all supported revisions
-**
-** Use by System Services/Device Drivers.
-*/
-#define WA_05000323 \
- (defined(__ADSPBF561__) && defined(__SILICON_REVISION__))
-
-
-/* 05-00-0365 - DMAs that Go Urgent during Tight Core Writes to External
-** Memory Are Blocked
-**
-** Impacted:
-** ADSP-BF54[24789] - all supported revisions
-** ADSP-BF54[24789]M - all supported revisions
-**
-** Use by System Services/Device Drivers.
-*/
-#define WA_05000365 \
- ((defined(__ADSPBF548_FAMILY__) || defined(__ADSPBF548M_FAMILY__)) && \
- defined(__SILICON_REVISION__))
-
-
-/* 05-00-0371 - Possible RETS Register Corruption when Subroutine Is under
-** 5 Cycles in Duration
-**
-** This problem impacts:
-** BF531/2/3 - 0.0-0.5 (fixed in 0.6)
-** BF534/6/7 - 0.0-0.3
-** BF538/9 - 0.0-0.4 (fixed in 0.5)
-** BF561 - 0.0-0.5
-** BF542/4/7/8/9 - 0.0-0.1 (fixed in 0.2)
-** BF523/5/7 - 0.0-0.1 (fixed in 0.2)
-**
-*/
-#define WA_05000371 \
- (defined(__SILICON_REVISION__) && \
- ((defined(__ADSPBF533_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x5 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF537_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x3 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF538_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x4 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF548_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x1 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF527_FAMILY__) && \
- (__SILICON_REVISION__ <= 0x1 || __SILICON_REVISION__ == 0xffff)) || \
- (defined(__ADSPBF561__) || defined(__ADSPBF566__))))
-
-
-/* 05-00-0412 - "TESTSET Instruction Causes Data Corruption with Writeback Data
- * Cache Enabled"
- *
- * If you use the testset instruction to operate on L2 memory and you have data
- * in external memory that is cached using WB mode, data in external memory
- * and/or L2 memory can be corrupted.
- *
- * Workaround: Either do not use writeback cache or precede the TESTSET
- * instruction with an SSYNC instruction. If preceding the TESTSET instruction
- * by an SSYNC instruction, do the following:
- *
- * CLI R0
- * R1 = [P0] // perform a dummy read to make sure CPLB is installed
- * NOP
- * NOP
- * SSYNC
- * TESTSET (P0)
- * STI R0
- *
- * This problem impacts:
- * BF561/6 - rev 0.0-0.5
- *
- */
-#define WA_05000412 \
- (defined (__SILICON_REVISION__) && defined(__ADSPBF561__))
-
-
-/* 05-00-0426 - Speculative Fetches of Indirect-Pointer Instructions Can
-** Cause False Hardware Errors
-**
-**
-** A false hardware error is generated if there is an indirect jump or
-** call through a pointer which may point to reserved or illegal memory
-** on the opposite control flow of a conditional jump to the taken path.
-** This commonly occurs when using function pointers, which can be
-** invalid (e.g., set to -1).
-**
-** Workaround: If instruction cache is on or the ICPLBs are enabled,
-** this anomaly does not apply. If instruction cache is off and ICPLBs
-** are disabled, the indirect pointer instructions must be 2 instructions
-** away from the branch instruction, which can be implemented using NOPs:
-**
-**
-** Impacted:
-** All parts and revisions other than BF535 based parts.
-**
-** Used by System Services/Device Drivers.
-*/
-#define WA_05000426 \
- (defined(__ADSPLPBLACKFIN__) && defined(__SILICON_REVISION__))
-
-
-/* 05-00-0428 - "Lost/Corrupted Write to L2 Memory Following Speculative Read
- * by Core B from L2 Memory"
- *
- * This issue occurs only when the accesses are performed by core B of a BF561.
- *
- * When a write to internal L2 memory follows a speculative read from internal
- * L2 memory, the L2 write may be lost or corrupted. For this anomaly to occur,
- * the speculative read must be caused by a read in the shadow of a branch. The
- * accesses do not have to be consecutive accesses. In other words, the problem
- * can occur even if there are multiple instructions between the speculative
- * read and the write, as shown in the following example:
- *
- * R1 = 1; R2 = 1;
- * CC = R1 == R2;
- * IF CC JUMP X; // Always true...
- * R0 = [P0]; // If any of these three loads accesses L2 memory from Core
- * R1 = [P1]; // B, speculative execution in the pipeline causes the
- * R2 = [P2]; // anomaly trigger condition.
- * X:
- * ... // Any number of instructions...
- * [P0] = R0; // This write can be corrupted or lost.
- *
- * The issue does not occur if the speculative read access is caused by an
- * interrupt or exception.
- *
- * The workaround required depends upon the conditional branch instruction.
- * If the evaluated condition is true and the branch is predicted, then the
- * workaround is to ensure that the target instruction is not be a load
- * instruction, for example:
- *
- * IF CC JUMP X (BP);
- * ...
- * X: <load that might be from L2 memory>
- *
- * If the evaluated condition is false and the branch is not predicted, then
- * the workaround is to make sure that none of the three instructions that
- * are executed after the conditional JUMP are load instructions, for example:
- *
- * IF CC JUMP ...;
- * <load that might be from L2 memory>
- * <load that might be from L2 memory>
- * <load that might be from L2 memory>
- *
- * This problem impacts:
- * BF561 - rev 0.4,0.5
- *
- */
-#define WA_05000428 \
- (defined(__SILICON_REVISION__) && \
- defined(__ADSPBF561__) && \
- ((__SILICON_REVISION__ == 0xffff) || \
- (__SILICON_REVISION__ == 0x4) || \
- (__SILICON_REVISION__ == 0x5)))
-
-
-/* 05-00-0443 - IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall
-**
-** Impacted:
-** All parts and revisions other than BF535 based parts.
-**
-** Used by System Services/Device Drivers.
-*/
-#define WA_05000443 \
- (defined(__ADSPLPBLACKFIN__) && defined(__SILICON_REVISION__))
-
-
-/* 16-00-0005 - "Using L1 Instruction Cache with Parity Enabled is Unreliable."
-**
-** Using L1 instruction cache with parity enabled is unreliable and may cause
-** unpredictable results.
-**
-** Impacted:
-** BF6xx.
-*/
-#define WA_16000005 \
- (defined(__ADSPBF60x__) && defined(__SILICON_REVISION__))
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
diff --git a/libgloss/bfin/include/sys/excause.h b/libgloss/bfin/include/sys/excause.h
deleted file mode 100644
index 2fe9a05..0000000
--- a/libgloss/bfin/include/sys/excause.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * excause.h
- *
- * (c) Copyright 2001-2003 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/*
-** Definitions of constants for the four user-level bits in EXCAUSE,
-** the field from SYSSTAT that is set when the EXCPT instruction is
-** invoked.
-*/
-
-#ifndef _EXCAUSE_H
-#define _EXCAUSE_H
-
-/*
-** Value 0x0 - exit program. (halt)
-** R0 => exit status.
-*/
-
-#define EX_EXIT_PROG 0x0
-
-/*
-** Value 0x1 - abnormal exit (abort)
-*/
-
-#define EX_ABORT_PROG 0x1
-
-/*
-** Value 0x2 - invoke system service.
-** R0 => command.
-** R1 => first arg
-** R2 => second arg
-*/
-
-#define EX_SYS_REQ 0x2
-
-/*
-** Available commands:
-*/
-
-#define EX_SYSREQ_NONE 0x00 /* Do nothing */
-#define EX_SYSREQ_REG_ISR 0x01 /* Register an interrupt handler.
- R1==EVT entry, R2==func ptr
- Returns previous entry in R0. */
-#define EX_SYSREQ_RAISE_INT 0x02 /* Cause an interrupt
- R1 = int number */
-/*
-** Values 0x3 to 0x4 currently undefined.
-*/
-
-/*
-** Value 0x5 - File I/O
-** R0 => first arg
-** R1 => second arg
-** R2 => third arg
-** R4 => command
-** result => R0
-*/
-
-#define EX_FILE_IO 0x5
-
-/*
-** Available commands:
-** XXX stdout/stderr are handled separately for writing.
-*/
-
-#define EX_FILEIO_OPEN 0x00 /* R0 => dev, R1=> path, R2=>mode */
-#define EX_FILEIO_CLOSE 0x01 /* R0=> fid */
-#define EX_FILEIO_WRITE 0x02 /* R0=>fid, R1=>data, R2=>length */
-#define EX_FILEIO_READ 0x03 /* R0=>fid, R1=>data, R2=>length */
-#define EX_FILEIO_SEEK 0x04 /* R0=>fid, R1=>offset, R2=>mode */
-#define EX_FILEIO_DUP 0x05 /* R0=>fid */
-
-/*
-** Values 0x6 to 0xF currently undefined.
-*/
-
-#endif /* _EXCAUSE_H */
diff --git a/libgloss/bfin/include/sys/exception.h b/libgloss/bfin/include/sys/exception.h
deleted file mode 100644
index d1a531a..0000000
--- a/libgloss/bfin/include/sys/exception.h
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#pragma once
-#ifndef __NO_BUILTIN
-#pragma system_header /* exception.h */
-#endif
-/************************************************************************
- *
- * exception.h
- *
- * (c) Copyright 2001-2008 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef _EXCEPTION_H
-#define _EXCEPTION_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_5_6)
-#pragma diag(suppress:misra_rule_5_7)
-#pragma diag(suppress:misra_rule_6_3)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#pragma diag(suppress:misra_rule_19_10)
-#pragma diag(suppress:misra_rule_19_13)
-#endif /* _MISRA_RULES */
-
-
-
-/*
-** Definitions for user-friendly interrupt handling.
-*/
-
-/*
-** Memory-Mapped Registers (MMRs) - these record what causes address
-** exceptions.
-*/
-
-#define EX_DATA_FAULT_STATUS 0xFFE00008
-#define EX_DATA_FAULT_ADDR 0xFFE0000C
-#define EX_CODE_FAULT_STATUS 0xFFE01008
-#define EX_CODE_FAULT_ADDR 0xFFE0100C
-
-/*
-** Event Vector Table
-*/
-
-#define EX_EVENT_VECTOR_TABLE 0xFFE02000
-
-/*
-** Meaning of the various bits in EXCAUSE field in SEQSTAT register.
-*/
-
-#define EX_BITS 0x3F /* All EXCAUSE bits */
-#define EX_TYPE 0x30 /* The bits which define the type */
-#define EX_DEBUG 0x10 /* If set, is a debug exception type */
-#define EX_SYS 0x20 /* If set, is a system exception type */
- /* If neither set, is from EXCPT instr */
-
-#define EX_IS_DEBUG_EXCEPTION(E) (((E)&EX_TYPE)==EX_DEBUG)
-#define EX_IS_SYSTEM_EXCEPTION(E) (((E)&EX_TYPE)==EX_SYS)
-#define EX_IS_USER_EXCEPTION(E) (((E)&EX_TYPE)==0)
-
-/*
-** Service exceptions continue from the instruction after the one
-** that raised the exception.
-** Error exceptions restart the instruction that raised the exception.
-*/
-
-#define EX_IS_SERVICE_EXCEPTION(E) (!EX_IS_SYSTEM_EXCEPTION(E))
-#define EX_IS_ERROR_EXCEPTION(E) (EX_IS_SYSTEM_EXCEPTION(E))
-
-#define EX_DB_SINGLE_STEP 0x10 /* Processor is single-stepping */
-#define EX_DB_EMTRCOVRFLW 0x11 /* Emulation Trace buffer overflowed */
-
-#define EX_SYS_UNDEFINSTR 0x21 /* Undefined instruction */
-#define EX_SYS_ILLINSTRC 0x22 /* Illegal instruction combination */
-#define EX_SYS_DCPLBPROT 0x23 /* Data CPLB Protection violation */
-#define EX_SYS_DALIGN 0x24 /* Data access misaligned address violation */
-#define EX_SYS_UNRECEVT 0x25 /* Unrecoverable event */
-#define EX_SYS_DCPLBMISS 0x26 /* Data access CPLB Miss */
-#define EX_SYS_DCPLBMHIT 0x27 /* Data access CPLB Multiple Hits */
-#define EX_SYS_EMWATCHPT 0x28 /* Emulation watch point match */
-#define EX_SYS_CACCESSEX 0x29 /* Code fetch access exception */
-#define EX_SYS_CALIGN 0x2A /* Attempted misaligned instr cache fetch */
-#define EX_SYS_CCPLBPROT 0x2B /* Code fetch CPLB Protection */
-#define EX_SYS_CCPLBMISS 0x2C /* CPLB miss on an instruction fetch */
-#define EX_SYS_CCPLBMHIT 0x2D /* Code fetch CPLB Multiple Hits */
-#define EX_SYS_ILLUSESUP 0x2E /* Illegal use of Supervisor Resource */
-
-/*
-** Meaning of the various bits in HWERRCAUSE in SEQSTAT
-*/
-
-#define EX_HWBITS (0x1F<<14) /* bits 18:14 */
-
-#if !defined(__ADSPLPBLACKFIN__)
-#define EX_HW_NOMEM1 (0x16<<14)
-#define EX_HW_NOMEM2 (0x17<<14)
-#else
-#define EX_HW_SYSMMR (0x02<<14)
-#define EX_HW_EXTMEM (0x03<<14)
-#endif
-#define EX_HW_DMAHIT (0x01<<14)
-#define EX_HW_PERFMON (0x12<<14)
-#define EX_HW_RAISE (0x18<<14)
-
-/*
-** Meaning of the bits in DATA_FAULT_STATUS and CODE_FAULT_STATUS
-*/
-
-#define EX_DATA_FAULT_ILLADDR (1<<19) /* non-existent memory */
-#define EX_DATA_FAULT_DAG (1<<18) /* 0=>DAG0, 1=>DAG1 */
-#define EX_DATA_FAULT_USERSUPV (1<<17) /* 0=>user mode, 1=> supervisor */
-#define EX_DATA_FAULT_READWRITE (1<<16) /* 0=>read, 1=>write */
-#define EX_DATA_FAULT_CPLB 0xFFFF /* 0=>CPLB0, 1=>CPLB1, etc */
-
-#define EX_CODE_FAULT_ILLADDR (1<<19) /* non-existent memory */
-#define EX_CODE_FAULT_USERSUPV (1<<17) /* 0=>user mode, 1=> supervisor */
-#define EX_CODE_FAULT_CPLB 0xFFFF /* 0=>CPLB0, 1=>CPLB1, etc */
-
-/*
-** The kinds of interrupt that can occur. These are also the
-** indices into the Event Vector Table.
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef enum {
- ik_err=-1,
- ik_emulation,
- ik_reset,
- ik_nmi,
- ik_exception,
- ik_global_int_enable,
- ik_hardware_err,
- ik_timer,
- ik_ivg7,
- ik_ivg8,
- ik_ivg9,
- ik_ivg10,
- ik_ivg11,
- ik_ivg12,
- ik_ivg13,
- ik_ivg14,
- ik_ivg15,
- num_interrupt_kind
-} interrupt_kind;
-
-/*
-** Structure for recording details of an exception or interrupt
-** that has occurred.
-*/
-
-typedef struct {
- interrupt_kind kind; /* whether interrupt, exception, etc. */
- int value; /* interrupt number, exception type, etc. */
- void *pc; /* PC at point where exception occurred */
- void *addr; /* if an address faulted, which one. */
- unsigned status; /* if an address faulted, why. */
-} interrupt_info;
-
-/*
-** Macro for defining an interrupt routine
-*/
-
-typedef void (*ex_handler_fn)();
-
-#define EX_HANDLER(KIND,NAME) \
-_Pragma(#KIND) \
-void NAME (void)
-
-#define EX_HANDLER_PROTO(KIND, NAME) EX_HANDLER(KIND, NAME)
-
-#define EX_INTERRUPT_HANDLER(NAME) EX_HANDLER(interrupt,NAME)
-#define EX_EXCEPTION_HANDLER(NAME) EX_HANDLER(exception,NAME)
-#define EX_NMI_HANDLER(NAME) EX_HANDLER(nmi,NAME)
-#define EX_REENTRANT_HANDLER(NAME) \
-_Pragma("interrupt_reentrant") \
-EX_HANDLER(interrupt,NAME)
-
-/*
-** A convenience function for setting up the interrupt_info contents.
-** Must be called from immediately with the interrupt handler.
-*/
-
-void get_interrupt_info(interrupt_kind int_kind, interrupt_info *int_info);
-
-/*
-** Diagnostics function for reporting unexpected events.
-*/
-
-void _ex_report_event(interrupt_info *int_info);
-
-/*
-** Register an interrupt handler within the EVT.
-** Return previous value if there was one.
-*/
-ex_handler_fn register_handler(interrupt_kind int_kind, ex_handler_fn handler);
-
-/*
-** Some magic values for registering default and null handlers.
-*/
-
-#define EX_INT_DEFAULT ((ex_handler_fn)-1)
-#define EX_INT_IGNORE ((ex_handler_fn)0)
-
-/*
-** Extended function to register an interrupt handler within the EVT.
-** Returns the old handler.
-**
-** If enabled == EX_INT_ALWAYS_ENABLE, install fn (if fn != EX_INT_IGNORE
-** and fn != EX_INT_DISABLE), and then enable the interrupt in IMASK then
-** return
-**
-** If fn == EX_INT_IGNORE, disable the interrupt
-** If fn == EX_INT_DEFAULT, delete the handler entry in the EVT and disable
-** the interrupt in IMASK
-** Otherwise, install the new interrupt handler. Then,
-** If enabled == EX_INT_DISABLE, disable the interrupt in IMASK
-** If enabled == EX_INT_ENABLE, enable the interrupt in IMASK
-** otherwise leave the interrupt status alone.
-*/
-ex_handler_fn register_handler_ex(interrupt_kind kind, ex_handler_fn fn,
- int enable);
-
-/* Constants for the enabled parameter of register_handler_ex */
-#define EX_INT_DISABLE 0
-#define EX_INT_ENABLE 1
-#define EX_INT_KEEP_IMASK -1
-#define EX_INT_ALWAYS_ENABLE 2
-
-/*
-** Allow the user to raise exceptions from C.
-*/
-
-int raise_interrupt(interrupt_kind kind, int which,
- int cmd, int arg1, int arg2);
-
-#ifdef __cplusplus
- } /* extern "C" */
-#endif
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _EXCEPTION_H */
diff --git a/libgloss/bfin/include/sys/mc_typedef.h b/libgloss/bfin/include/sys/mc_typedef.h
deleted file mode 100644
index abcd62d..0000000
--- a/libgloss/bfin/include/sys/mc_typedef.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#pragma once
-#ifndef __NO_BUILTIN
-#pragma system_header /* sys/mc_typedef.h */
-#endif
-/************************************************************************
- *
- * sys/mc_typedef.h
- *
- * (c) Copyright 2007-2009 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-/* Define testset_t. */
-
-#ifndef _SYS_MC_TYPEDEF_H
-#define _SYS_MC_TYPEDEF_H
-
-#if !defined(__ADSPLPBLACKFIN__)
- typedef volatile unsigned char testset_t;
-#elif defined(__WORKAROUND_TESTSET_ALIGN) || defined(__WORKAROUND_05000412)
- /* these workarounds require 32-bit aligned address */
- typedef volatile unsigned int testset_t;
-#else
- typedef volatile unsigned short testset_t;
-#endif
-
-#endif /* _SYS_MC_TYPEDEF_H */
diff --git a/libgloss/bfin/include/sys/platform.h b/libgloss/bfin/include/sys/platform.h
deleted file mode 100644
index b78f890..0000000
--- a/libgloss/bfin/include/sys/platform.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef _PLATFORM_H
-#define _PLATFORM_H
-/* Generic Wrapper for platform specific header file.
- Copyright (C.) 2004, Analog Devices Inc. All Rights Reserved.
- */
-#include <sys/_adi_platform.h>
-#endif
diff --git a/libgloss/bfin/include/sys/pll.h b/libgloss/bfin/include/sys/pll.h
deleted file mode 100644
index 7525d04..0000000
--- a/libgloss/bfin/include/sys/pll.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/************************************************************************
- *
- * pll.h
- *
- * (c) Copyright 2003-2004 Analog Devices, Inc. All rights reserved.
- *
- ************************************************************************/
-
-#ifndef __ASSEMBLER__
-#pragma once
-#pragma system_header
-#endif
-
-#ifndef _PLL_H
-#define _PLL_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_6_3)
-#endif /* _MISRA_RULES */
-
-#define NO_STARTUP_SET 0
-#define MAX_IN_STARTUP 1
-
-#ifndef __ASSEMBLER__
-
-enum clkctrl_t {
- /* no modification of PLL rates in CRT startup - default */
- no_startup_set=NO_STARTUP_SET,
-
- /* CRT startup sets PLL rates to suitable maximum values */
- max_in_startup=MAX_IN_STARTUP
-};
-
-/*
-** Define __clk_ctrl to 1 to cause startup to set PLL rates for maximum
-** speed performance rates. The default version defined in the runtime-
-** libraries defines __clk_ctrl to 0 which disables the feature.
-*/
-extern enum clkctrl_t __clk_ctrl;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if defined(__ADSPLPBLACKFIN__)
-
-/* Sets SSEL and CSEL bits in PLL_DIV to passed values.
-** Returns -1 on failure.
-*/
-int pll_set_system_clocks(int _csel, int _ssel);
-
-/*
-** Sets MSEL and DF bits in PLL_CTL and LOCKCNT in PLL_LOCKCNT.
-** Returns -1 on failure.
-*/
-int pll_set_system_vco(int _msel, int _df, int _lockcnt);
-
-#endif /* __ADSPLPBLACKFIN__ */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __ASSEMBLER__ */
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _PLL_H */
-
diff --git a/libgloss/bfin/include/sysreg.h b/libgloss/bfin/include/sysreg.h
deleted file mode 100644
index 3b3a290..0000000
--- a/libgloss/bfin/include/sysreg.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* This file must be used with compiler version 8.0.8.1 */
-
-#ifdef __VERSIONNUM__
-#if __VERSIONNUM__ != 0x08000801
-#error The compiler version does not match the version of the sysreg.h include
-#endif
-#endif
-
-/************************************************************************
- *
- * sysreg.h
- *
- * (c) Copyright 2001-2006 Analog Devices, Inc. All rights reserved.
- *
- ***********************************************************************/
-
-#pragma once
-#ifndef __NO_BUILTIN
-#pragma system_header /* sysreg.h */
-#endif
-
-/* sysreg definitions for use in sysreg_read and sysreg_write calls. */
-
-#ifndef _SYSREG_H
-#define _SYSREG_H
-
-#ifdef _MISRA_RULES
-#pragma diag(push)
-#pragma diag(suppress:misra_rule_2_4)
-#pragma diag(suppress:misra_rule_6_3)
-#pragma diag(suppress:misra_rule_19_4)
-#pragma diag(suppress:misra_rule_19_7)
-#pragma diag(suppress:misra_rule_19_10)
-#endif /* _MISRA_RULES */
-
-enum {
- /* the following can be used in word-sized sysreg reads and writes */
- reg_I0,
- reg_I1,
- reg_I2,
- reg_I3,
- reg_M0,
- reg_M1,
- reg_M2,
- reg_M3,
- reg_B0,
- reg_B1,
- reg_B2,
- reg_B3,
- reg_L0,
- reg_L1,
- reg_L2,
- reg_L3,
- reg_LC0,
- reg_LC1,
- reg_LT0,
- reg_LT1,
- reg_LB0,
- reg_LB1,
- reg_RETS,
- reg_RETI,
- reg_RETX,
- reg_RETN,
- reg_RETE,
- reg_SEQSTAT,
- reg_SYSCFG,
- reg_CYCLES,
- reg_CYCLES2,
- reg_A0W,
- reg_A0X,
- reg_A1W,
- reg_A1X,
- reg_FP,
- reg_SP,
- reg_ASTAT,
-
- /* the following can be used in double-word sysreg reads and writes */
- reg_A0,
- reg_A1,
- __num_SysRegs
-};
-
-#define STACKPOINTER reg_SP
-#define FRAMEPOINTER reg_FP
-
-#ifdef _MISRA_RULES
-#pragma diag(pop)
-#endif /* _MISRA_RULES */
-
-#endif /* _SYSREG_H */
diff --git a/libgloss/bfin/syscalls.c b/libgloss/bfin/syscalls.c
deleted file mode 100644
index 2dea8c5..0000000
--- a/libgloss/bfin/syscalls.c
+++ /dev/null
@@ -1,268 +0,0 @@
-/*
- * C library support files for the Blackfin processor
- *
- * Copyright (C) 2006 Analog Devices, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/fcntl.h>
-#include <stdio.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include "syscall.h"
-#include <errno.h>
-#include <reent.h>
-#include <unistd.h>
-
-register char *stack_ptr asm ("SP");
-
-static inline int
-do_syscall (int reason, void *arg)
-{
- int result, result2, errcode;
- asm volatile ("excpt 0;"
- : "=q0" (result),
- "=q1" (result2),
- "=q2" (errcode)
- : "qA" (reason),
- "q0" (arg)
- : "memory", "CC");
- errno = errcode;
- return result;
-}
-
-int
-_read (int file, char *ptr, int len)
-{
- int block[3];
-
- block[0] = file;
- block[1] = (int) ptr;
- block[2] = len;
-
- return do_syscall (SYS_read, block);
-}
-
-int
-_lseek (int file, int ptr, int whence)
-{
- int block[3];
-
- block[0] = file;
- block[1] = ptr;
- block[2] = whence;
-
- return do_syscall (SYS_lseek, block);
-}
-
-int
-_write (int file, char *ptr, int len)
-{
- int block[3];
-
- block[0] = file;
- block[1] = (int) ptr;
- block[2] = len;
-
- return do_syscall (SYS_write, block);
-}
-
-int
-_open (const char *path, int flags)
-{
- int block[2];
-
- block[0] = (int) path;
- block[1] = flags;
-
- return do_syscall (SYS_open, block);
-}
-
-int
-_close (int file)
-{
- return do_syscall (SYS_close, &file);
-}
-
-void
-_exit (int n)
-{
- do_syscall (SYS_exit, &n);
-}
-
-int
-_kill (int n, int m)
-{
- int block[2];
-
- block[0] = n;
- block[1] = m;
-
- return do_syscall (SYS_kill, block);
-}
-
-int
-_getpid (int n)
-{
- return do_syscall (SYS_getpid, &n);
-}
-
-caddr_t
-_sbrk (int incr)
-{
- extern char end; /* Defined by the linker. */
- static char *heap_end;
- char *prev_heap_end;
-
- if (heap_end == NULL)
- heap_end = &end;
-
- prev_heap_end = heap_end;
-
- if (heap_end + incr > stack_ptr)
- {
- /* Some of the libstdc++-v3 tests rely upon detecting
- out of memory errors, so do not abort here. */
-#if 0
- extern void abort (void);
-
- _write (1, "_sbrk: Heap and stack collision\n", 32);
-
- abort ();
-#else
- errno = ENOMEM;
- return (caddr_t) -1;
-#endif
- }
-
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
-
-extern void memset (struct stat *, int, unsigned int);
-
-int
-_fstat (int file, struct stat *st)
-{
- int block[2];
-
- block[0] = file;
- block[1] = (int) st;
-
- return do_syscall (SYS_fstat, block);
-}
-
-int _stat (const char *fname, struct stat *st)
-{
- int block[2];
-
- block[0] = (int) fname;
- block[1] = (int) st;
-
- return do_syscall (SYS_stat, block);
-}
-
-int
-_link (const char *existing, const char *new)
-{
- int block[2];
-
- block[0] = (int) existing;
- block[1] = (int) new;
-
- return do_syscall (SYS_link, block);
-}
-
-int
-_unlink (const char *path)
-{
- return do_syscall (SYS_unlink, path);
-}
-
-void
-_raise (void)
-{
- return;
-}
-
-int
-_gettimeofday (struct timeval *tv, void *tz)
-{
- tv->tv_usec = 0;
- tv->tv_sec = do_syscall (SYS_time, 0);
- return 0;
-}
-
-/* Return a clock that ticks at 100Hz. */
-clock_t
-_times (struct tms * tp)
-{
- return -1;
-}
-
-int
-_isatty (int fd)
-{
- return 1;
-}
-
-int
-_system (const char *s)
-{
- if (s == NULL)
- return 0;
- errno = ENOSYS;
- return -1;
-}
-
-int
-_rename (const char * oldpath, const char * newpath)
-{
- errno = ENOSYS;
- return -1;
-}
-
-static inline int
-__setup_argv_for_main (int argc)
-{
- int block[2];
- char **argv;
- int i = argc;
-
- argv = __builtin_alloca ((1 + argc) * sizeof (*argv));
-
- argv[i] = NULL;
- while (i--) {
- block[0] = i;
- argv[i] = __builtin_alloca (1 + do_syscall (SYS_argnlen, (void *)block));
- block[1] = (int) argv[i];
- do_syscall (SYS_argn, (void *)block);
- }
-
- return main (argc, argv);
-}
-
-int
-__setup_argv_and_call_main ()
-{
- int argc = do_syscall (SYS_argc, 0);
-
- if (argc <= 0)
- return main (argc, NULL);
- else
- return __setup_argv_for_main (argc);
-}
diff --git a/libgloss/close.c b/libgloss/close.c
deleted file mode 100644
index 7aafcea..0000000
--- a/libgloss/close.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* close.c -- close a file descriptor.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * close -- We don't need to do anything, but pretend we did.
- */
-int
-_DEFUN (close ,(fd),
- int fd)
-{
- return (0);
-}
diff --git a/libgloss/config/default.mh b/libgloss/config/default.mh
deleted file mode 100644
index a864302..0000000
--- a/libgloss/config/default.mh
+++ /dev/null
@@ -1,31 +0,0 @@
-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
-
-INCLUDES = -I. -I$(srcdir)/..
-# Note that when building the library, ${MULTILIB} is not the way multilib
-# options are passed; they're passed in $(CFLAGS).
-CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-AR_FLAGS = rc
-
-.c.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-.C.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-.s.o:
- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
-
-#
-# GCC knows to run the preprocessor on .S files before it assembles them.
-#
-.S.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-#
-# this is a bogus target that'll produce an assembler from the
-# C source with the right compiler options. this is so we can
-# track down code generation or debug symbol bugs.
-#
-.c.s:
- $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $<
diff --git a/libgloss/config/default.mt b/libgloss/config/default.mt
deleted file mode 100644
index d587247..0000000
--- a/libgloss/config/default.mt
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# these are the minimum required stubs to support newlib
-#
-close.o: ${srcdir}/../close.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-fstat.o: ${srcdir}/../fstat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-getpid.o: ${srcdir}/../getpid.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-isatty.o: ${srcdir}/../isatty.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-kill.o: ${srcdir}/../kill.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-lseek.o: ${srcdir}/../lseek.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-open.o: ${srcdir}/../open.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-print.o: ${srcdir}/../print.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-putnum.o: ${srcdir}/../putnum.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-read.o: ${srcdir}/../read.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-sbrk.o: ${srcdir}/../sbrk.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-stat.o: ${srcdir}/../stat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-unlink.o: ${srcdir}/../unlink.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-write.o: ${srcdir}/../write.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-debug.o: ${srcdir}/../debug.c ${srcdir}/../debug.h
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) ${srcdir}/../debug.c
diff --git a/libgloss/config/dos.mh b/libgloss/config/dos.mh
deleted file mode 100644
index c5874cb..0000000
--- a/libgloss/config/dos.mh
+++ /dev/null
@@ -1,57 +0,0 @@
-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/; fi`
-
-INCLUDES = -I.
-# Note that when building the library, ${MULTILIB} is not the way multilib
-# options are passed; they're passed in $(CFLAGS).
-CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-ARFLAGS_FOR_TARGET = qc
-
-# find the tools used to build libgloss. As this is a DOS build in a
-# 3way cross, we have to specify the name as it lives prebuilt in Unix
-# land. The freshly built tools are for the wrong architecture.
-CC_FOR_TARGET = `t='$(program_transform_name)'; echo gcc | sed -e $$t`
-
-AS_FOR_TARGET = `t='$(program_transform_name)'; echo as | sed -e $$t`
-
-AR_FOR_TARGET = `t='$(program_transform_name)'; echo ar | sed -e $$t`
-
-LD_FOR_TARGET = `t='$(program_transform_name)'; echo ld | sed -e $$t`
-
-RANLIB_FOR_TARGET = `t='$(program_transform_name)'; echo ranlib | sed -e $$t`
-
-OBJDUMP_FOR_TARGET = `t='$(program_transform_name)'; echo objdump | sed -e $$t`
-
-OBJCOPY_FOR_TARGET = `t='$(program_transform_name)'; echo objcopy | sed -e $$t`
-
-
-# Using CFLAGS here may be confusing if the user has given a special
-# CFLAGS intended for use on the host, since we are passing it to the
-# cross-compiler; I'm not sure what to do about this. INCLUDES is
-# from the top level Makefile.
-# FIXME: But isn't CFLAGS what is used to pass multilib options when
-# building the library?
-
-.c.o:
- rootme=`pwd` ; \
- echo CC_FOR_TARGET is ${CC_FOR_TARGET} ; \
- $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $<
-
-.c.s:
- rootme=`pwd` ; \
- echo CC_FOR_TARGET is ${CC_FOR_TARGET} ; \
- $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $<
-
-.S.o:
- rootme=`pwd` ; \
- echo CC_FOR_TARGET is ${CC_FOR_TARGET} ; \
- $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $<
-
-.s.o:
- rootme=`pwd` ; \
- echo AS_FOR_TARGET is ${AS_FOR_TARGET} ; \
- $(AS_FOR_TARGET) $(ASFLAGS_FOR_TARGET) $(INCLUDES) -o $*.o $<
-
-
-
diff --git a/libgloss/config/mips.mt b/libgloss/config/mips.mt
deleted file mode 100644
index 6ae84b4..0000000
--- a/libgloss/config/mips.mt
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# These are the minimum required stubs to support newlib
-# for embedded MIPS targets. Note that although read.o and write.o
-# are mentioned here, they are not used for all targets.
-#
-close.o: ${srcdir}/../close.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-fstat.o: ${srcdir}/../fstat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-getpid.o: ${srcdir}/../getpid.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-isatty.o: ${srcdir}/../isatty.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-kill.o: ${srcdir}/../kill.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-lseek.o: ${srcdir}/../lseek.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-open.o: ${srcdir}/../open.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-print.o: ${srcdir}/../print.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-putnum.o: ${srcdir}/../putnum.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-read.o: ${srcdir}/../read.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-stat.o: ${srcdir}/../stat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-unlink.o: ${srcdir}/../unlink.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
-write.o: ${srcdir}/../write.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $?
diff --git a/libgloss/config/mn10200.mt b/libgloss/config/mn10200.mt
deleted file mode 100644
index cf565c1..0000000
--- a/libgloss/config/mn10200.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Dummy target-specific Makefile fragment for MN10200. We can't
-# use default.mt because it refers to generic source files whose
-# names conflict with the MN10200-specific sources.
diff --git a/libgloss/config/mn10300.mt b/libgloss/config/mn10300.mt
deleted file mode 100644
index 6b4c522..0000000
--- a/libgloss/config/mn10300.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Dummy target-specific Makefile fragment for MN10300. We can't
-# use default.mt because it refers to generic source files whose
-# names conflict with the MN10300-specific sources.
diff --git a/libgloss/config/ppc.mh b/libgloss/config/ppc.mh
deleted file mode 100644
index b5b8c30..0000000
--- a/libgloss/config/ppc.mh
+++ /dev/null
@@ -1,35 +0,0 @@
-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
-
-# For the PowerPC, always add -mrelocatable-lib -mno-eabi. These are set for the
-# multilibs, but are ignored when building the toplevel directory.
-CFLAGS_MRELOCATABLE = -mrelocatable-lib -mno-eabi
-
-INCLUDES = -I. -I$(srcdir)/..
-# Note that when building the library, ${MULTILIB} is not the way multilib
-# options are passed; they're passed in $(CFLAGS).
-CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-AR_FLAGS = qc
-
-.c.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-.C.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -O2 $(INCLUDES) -c $(CFLAGS) $<
-.s.o:
- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
-
-#
-# GCC knows to run the preprocessor on .S files before it assembles them.
-#
-.S.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) $(INCLUDES) $(CFLAGS) -c $<
-
-#
-# this is a bogus target that'll produce an assembler from the
-# C source with the right compiler options. this is so we can
-# track down code generation or debug symbol bugs.
-#
-.c.s:
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS_MRELOCATABLE) -S $(INCLUDES) $(CFLAGS) $<
diff --git a/libgloss/config/xc16x.mt b/libgloss/config/xc16x.mt
deleted file mode 100644
index 2ac79ce..0000000
--- a/libgloss/config/xc16x.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Dummy target-specific Makefile fragment for XC16X. We can't
-# use default.mt because it refers to generic source files whose
-# names conflict with the XC16X-specific sources.
diff --git a/libgloss/configure b/libgloss/configure
deleted file mode 100755
index 41d91d6..0000000
--- a/libgloss/configure
+++ /dev/null
@@ -1,4601 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for libgloss LIBGLOSS_VERSION.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='libgloss'
-PACKAGE_TARNAME='libgloss'
-PACKAGE_VERSION='LIBGLOSS_VERSION'
-PACKAGE_STRING='libgloss LIBGLOSS_VERSION'
-PACKAGE_BUGREPORT=''
-PACKAGE_URL=''
-
-ac_unique_file="libnosys"
-enable_option_checking=no
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-CC
-subdirs
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-ac_subdirs_all='doc
-aarch64
-epiphany
-i386
-m32r
-m68hc11
-nds32
-m68k
-pa
-i960
-sparc_leon
-sparc
-wince
-mips
-rs6000
-mn10200
-mn10300
-bfin
-cr16
-cris
-crx
-d30v
-fr30
-frv
-lm32
-mcore
-mep
-moxie
-microblaze
-mt
-v850
-xc16x
-xstormy16
-m32c
-msp430
-rl78
-rx
-arm
-spu
-tic6x
-iq2000
-libnosys'
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures libgloss LIBGLOSS_VERSION to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/libgloss]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of libgloss LIBGLOSS_VERSION:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-libgloss configure LIBGLOSS_VERSION
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by libgloss $as_me LIBGLOSS_VERSION, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "${srcdir}" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}.."
- fi
-else
- libgloss_topdir="${srcdir}/.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-am__api_version="1.9"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
-alias in your environment" "$LINENO" 5
- fi
-
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='libgloss'
- VERSION='LIBGLOSS_VERSION'
-
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-
-
-
-
-
-
-if test -z "${with_multisubdir}" ; then
-
-
-subdirs="$subdirs doc"
-
-fi
-
-config_testsuite=true
-
-config_libnosys=true
-
-case "${target}" in
- aarch64*-*-*)
- subdirs="$subdirs aarch64"
-
- config_testsuite=true
- ;;
- epiphany-*-*)
- subdirs="$subdirs epiphany"
-
- config_testsuite=true
- ;;
- i[3456]86-*-elf* | i[3456]86-*-coff*)
- subdirs="$subdirs i386"
-
- ;;
- m32r-*-*)
- subdirs="$subdirs m32r"
-
- ;;
- m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
- subdirs="$subdirs m68hc11"
-
- ;;
- nds32*-*-*)
- subdirs="$subdirs nds32"
-
- ;;
- fido-*-* | m68*-*-*)
- subdirs="$subdirs m68k"
-
- ;;
- hppa*-*-pro*)
- subdirs="$subdirs pa"
-
- ;;
- i960-*-coff)
- subdirs="$subdirs i960"
-
- ;;
- sparc-*leon*-elf* | sparc-*leon*-none*)
- subdirs="$subdirs sparc_leon"
-
- ;;
- sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
- subdirs="$subdirs sparc"
-
- ;;
- sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
- subdirs="$subdirs wince"
-
- ;;
- mips*-*-*)
- subdirs="$subdirs mips"
-
- ;;
- powerpc-*-*|powerpcle-*-*)
- subdirs="$subdirs rs6000"
-
- ;;
- mn10200-*-*)
- subdirs="$subdirs mn10200"
-
- ;;
- mn10300-*-*)
- subdirs="$subdirs mn10300"
-
- ;;
- bfin-*-*)
- subdirs="$subdirs bfin"
-
- ;;
- cr16-*-*)
- subdirs="$subdirs cr16"
-
- ;;
- cris-*-* | crisv32-*-*)
- subdirs="$subdirs cris"
-
- ;;
- crx-*-*)
- subdirs="$subdirs crx"
-
- ;;
- d30v-*-*)
- subdirs="$subdirs d30v"
-
- ;;
- fr30-*-*)
- subdirs="$subdirs fr30"
-
- ;;
- frv*-*-*)
- subdirs="$subdirs frv"
-
- ;;
- lm32*-*-*)
- subdirs="$subdirs lm32"
-
- ;;
- mcore-*-*)
- subdirs="$subdirs mcore"
-
- ;;
- mep-*-*)
- subdirs="$subdirs mep"
-
- ;;
- moxie-*-*)
- subdirs="$subdirs moxie"
-
- ;;
- microblaze*-*-*)
- subdirs="$subdirs microblaze"
-
- ;;
- mt-*-*)
- subdirs="$subdirs mt"
-
- ;;
- v850*-*-*)
- subdirs="$subdirs v850"
-
- ;;
- xc16x-*-*)
- subdirs="$subdirs xc16x"
-
- ;;
- xstormy16-*-*)
- subdirs="$subdirs xstormy16"
-
- ;;
- m32c-*-*)
- subdirs="$subdirs m32c"
-
- ;;
- msp430*-*-elf)
- subdirs="$subdirs msp430"
-
- config_libnosys=false
- ;;
- rl78*-*-elf)
- subdirs="$subdirs rl78"
-
- ;;
- rx*-*-elf)
- subdirs="$subdirs rx"
-
- ;;
- arm*-*-elf | arm*-*-coff | arm*-*-*)
- subdirs="$subdirs arm"
-
- ;;
- spu-*-elf)
- subdirs="$subdirs spu"
-
- config_testsuite=false
- config_libnosys=false
- ;;
- tic6x-*-*)
- subdirs="$subdirs tic6x"
-
- config_testsuite=false
- ;;
- iq2000-*-*)
- subdirs="$subdirs iq2000"
-
- ;;
-esac
-
-
-if test "${config_libnosys}" = "true"; then
- subdirs="$subdirs libnosys"
-
-fi
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-# Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AR"; then
- ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AR="ar"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":"
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-if test "${multilib}" = "yes"; then
- multilib_arg="--enable-multilib"
-else
- multilib_arg=
-fi
-
-# for now, only add multilibs for specific targets
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by libgloss $as_me LIBGLOSS_VERSION, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-libgloss config.status LIBGLOSS_VERSION
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="--enable-multilib ${ac_configure_args}"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-CC="${CC}"
-LDFLAGS=${LDFLAGS}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-
-#
-# CONFIG_SUBDIRS section.
-#
-if test "$no_recursion" != yes; then
-
- # Remove --cache-file, --srcdir, and --disable-option-checking arguments
- # so they do not pile up.
- ac_sub_configure_args=
- ac_prev=
- eval "set x $ac_configure_args"
- shift
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
- --disable-option-checking)
- ;;
- *)
- case $ac_arg in
- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
- esac
- done
-
- # Always prepend --prefix to ensure using the same prefix
- # in subdir configurations.
- ac_arg="--prefix=$prefix"
- case $ac_arg in
- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
-
- # Pass --silent
- if test "$silent" = yes; then
- ac_sub_configure_args="--silent $ac_sub_configure_args"
- fi
-
- # Always prepend --disable-option-checking to silence warnings, since
- # different subdirs can have different --enable and --with options.
- ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
-
- ac_popdir=`pwd`
- for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d "$srcdir/$ac_dir" || continue
-
- ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
- $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
- $as_echo "$ac_msg" >&6
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- cd "$ac_dir"
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- ac_sub_configure=$ac_srcdir/configure.gnu
- elif test -f "$ac_srcdir/configure"; then
- ac_sub_configure=$ac_srcdir/configure
- elif test -f "$ac_srcdir/configure.in"; then
- # This should be Cygnus configure.
- ac_sub_configure=$ac_aux_dir/configure
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
-$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
- # Make the cache file name correct relative to the subdirectory.
- case $cache_file in
- [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
- *) # Relative name.
- ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
- esac
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
-$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
- # The eval makes quoting arguments work.
- eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
- --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
- as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
- fi
-
- cd "$ac_popdir"
- done
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-
diff --git a/libgloss/configure.in b/libgloss/configure.in
deleted file mode 100644
index 14287e7..0000000
--- a/libgloss/configure.in
+++ /dev/null
@@ -1,219 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT([libgloss],[LIBGLOSS_VERSION])
-AC_CONFIG_SRCDIR([libnosys])
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "${srcdir}" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}.."
- fi
-else
- libgloss_topdir="${srcdir}/.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_PROG_INSTALL
-
-AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
-
-if test -z "${with_multisubdir}" ; then
- AC_CONFIG_SUBDIRS([doc])
-fi
-
-dnl indicates whether to run configure within the testsuite subdirectory
-config_testsuite=true
-
-dnl indicates whether to run configure within the libnosys subdirectory
-config_libnosys=true
-
-case "${target}" in
- aarch64*-*-*)
- AC_CONFIG_SUBDIRS(aarch64)
- config_testsuite=true
- ;;
- epiphany-*-*)
- AC_CONFIG_SUBDIRS(epiphany)
- config_testsuite=true
- ;;
- i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
- AC_CONFIG_SUBDIRS([i386])
- ;;
- m32r-*-*)
- AC_CONFIG_SUBDIRS([m32r])
- ;;
- m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
- AC_CONFIG_SUBDIRS([m68hc11])
- ;;
- nds32*-*-*)
- AC_CONFIG_SUBDIRS([nds32])
- ;;
- fido-*-* | m68*-*-*)
- AC_CONFIG_SUBDIRS([m68k])
- ;;
- hppa*-*-pro*)
- AC_CONFIG_SUBDIRS([pa])
- ;;
- i960-*-coff)
- AC_CONFIG_SUBDIRS([i960])
- ;;
- sparc-*leon*-elf* | sparc-*leon*-none*)
- AC_CONFIG_SUBDIRS([sparc_leon])
- ;;
- sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
- AC_CONFIG_SUBDIRS([sparc])
- ;;
- sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
- AC_CONFIG_SUBDIRS([wince])
- ;;
- mips*-*-*)
- AC_CONFIG_SUBDIRS([mips])
- ;;
- powerpc-*-*|powerpcle-*-*)
- AC_CONFIG_SUBDIRS([rs6000])
- ;;
- mn10200-*-*)
- AC_CONFIG_SUBDIRS([mn10200])
- ;;
- mn10300-*-*)
- AC_CONFIG_SUBDIRS([mn10300])
- ;;
- bfin-*-*)
- AC_CONFIG_SUBDIRS([bfin])
- ;;
- cr16-*-*)
- AC_CONFIG_SUBDIRS([cr16])
- ;;
- cris-*-* | crisv32-*-*)
- AC_CONFIG_SUBDIRS([cris])
- ;;
- crx-*-*)
- AC_CONFIG_SUBDIRS([crx])
- ;;
- d30v-*-*)
- AC_CONFIG_SUBDIRS([d30v])
- ;;
- fr30-*-*)
- AC_CONFIG_SUBDIRS([fr30])
- ;;
- frv*-*-*)
- AC_CONFIG_SUBDIRS([frv])
- ;;
- lm32*-*-*)
- AC_CONFIG_SUBDIRS([lm32])
- ;;
- mcore-*-*)
- AC_CONFIG_SUBDIRS([mcore])
- ;;
- mep-*-*)
- AC_CONFIG_SUBDIRS([mep])
- ;;
- moxie-*-*)
- AC_CONFIG_SUBDIRS([moxie])
- ;;
- microblaze*-*-*)
- AC_CONFIG_SUBDIRS([microblaze])
- ;;
- mt-*-*)
- AC_CONFIG_SUBDIRS([mt])
- ;;
- v850*-*-*)
- AC_CONFIG_SUBDIRS([v850])
- ;;
- xc16x-*-*)
- AC_CONFIG_SUBDIRS([xc16x])
- ;;
- xstormy16-*-*)
- AC_CONFIG_SUBDIRS([xstormy16])
- ;;
- m32c-*-*)
- AC_CONFIG_SUBDIRS([m32c])
- ;;
- msp430*-*-elf)
- AC_CONFIG_SUBDIRS([msp430])
- config_libnosys=false
- ;;
- rl78*-*-elf)
- AC_CONFIG_SUBDIRS([rl78])
- ;;
- rx*-*-elf)
- AC_CONFIG_SUBDIRS([rx])
- ;;
- arm*-*-elf | arm*-*-coff | arm*-*-*)
- AC_CONFIG_SUBDIRS([arm])
- ;;
- spu-*-elf)
- AC_CONFIG_SUBDIRS([spu])
- config_testsuite=false
- config_libnosys=false
- ;;
- tic6x-*-*)
- AC_CONFIG_SUBDIRS(tic6x)
- config_testsuite=false
- ;;
- iq2000-*-*)
- AC_CONFIG_SUBDIRS([iq2000])
- ;;
-esac
-
-dnl For now, don't bother configuring testsuite
-dnl
-dnl if test "${config_testsuite}" = "true";
-dnl then AC_CONFIG_SUBDIRS([testsuite])
-dnl fi
-
-if test "${config_libnosys}" = "true"; then
- AC_CONFIG_SUBDIRS([libnosys])
-fi
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AC_CHECK_PROG(AR, ar, ar, :)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-if test "${multilib}" = "yes"; then
- multilib_arg="--enable-multilib"
-else
- multilib_arg=
-fi
-
-# for now, only add multilibs for specific targets
-AC_CONFIG_FILES([Makefile],
-[if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi],
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="--enable-multilib ${ac_configure_args}"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-CC="${CC}"
-LDFLAGS=${LDFLAGS}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/cr16/Makefile.in b/libgloss/cr16/Makefile.in
deleted file mode 100644
index 7ee2ea3..0000000
--- a/libgloss/cr16/Makefile.in
+++ /dev/null
@@ -1,156 +0,0 @@
-#
-#
-
-DESTDIR =
-
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-# Here is all of the handlers stuff
-H_SCRIPTS =
-H_BSP = libh.a
-H_OBJS = intable.o dvz_hndl.o flg_hndl.o iad_hndl.o svc_hndl.o und_hndl.o
-H_TEST = hndl-test
-H_INSTALL = install-hndl
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS = sim.ld
-SIM_BSP = libsim.a
-SIM_OBJS = _exit.o close.o _getenv.o lseek.o open.o read.o \
- _rename.o sbrk.o time.o unlink.o write.o \
- stat.o putnum.o kill.o getpid.o isatty.o fstat.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the CRT stuff
-CRT = crti.o crtn.o crt1.o
-CRT_INSTALL = install-crt
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${CRT} ${SIM_BSP} ${H_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${H_BSP}: ${H_OBJS}
- ${AR} ${ARFLAGS} ${H_BSP} ${H_OBJS}
- ${RANLIB} ${H_BSP}
-
-${SIM_BSP}: ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS}
- ${RANLIB} ${SIM_BSP}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${H_TEST}
-
-hndl-test: hndl-test.x hndl-test.dis
-
-hndl-test.x: test.o ${H_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- test.o \
- -o hndl-test.x ${LIBS_FOR_TARGET} -lc ${H_BSP} -Wl,-T${SIM_SCRIPTS}
-
-hndl-test.dis: hndl-test.x
- ${OBJDUMP} -d hndl-test.x > hndl-test.dis
-
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP} -Wl,-T${SIM_SCRIPTS}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(H_BSP)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL}
-
-install-crt:
- set -e; for x in ${CRT} ; do\
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-install-sim:
- for x in ${SIM_BSP} ; do\
- ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
- for x in ${SIM_SCRIPTS}; do\
- ${INSTALL_DATA} ${srcdir}/$${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-install-hndl:
- for x in ${H_BSP}; do\
- ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/cr16/_exit.c b/libgloss/cr16/_exit.c
deleted file mode 100644
index 9a3cfa6..0000000
--- a/libgloss/cr16/_exit.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* _exit.c -- Implementation of the low-level _exit() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdlib.h>
-#include <sys/syscall.h>
-
-/* Returns control to the debugger. */
-void _exit (int stat)
-{
- HOST_SERVICE (SVC_EOP);
-}
diff --git a/libgloss/cr16/_getenv.c b/libgloss/cr16/_getenv.c
deleted file mode 100644
index c43555d..0000000
--- a/libgloss/cr16/_getenv.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* _getenv.c -- Implementation of the low-level _getenv() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-#include <stdlib.h>
-
-register char *R2 __asm__("r2");
-register char *R3 __asm__("r3");
-
-char * _getenv (const char *name)
-{
- char *x;
- char *y;
-
- x = R2;
-
- y = (char *) calloc (256, 1);
- R3 = y;
-
- R2 = x;
-
- HOST_SERVICE (SVC_GETENV);
-}
-
diff --git a/libgloss/cr16/_rename.c b/libgloss/cr16/_rename.c
deleted file mode 100644
index b3d7bd0..0000000
--- a/libgloss/cr16/_rename.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* _rename.c -- Implementation of the low-level rename() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _rename (char *from, char *to)
-{
- HOST_SERVICE (SVC_RENAME);
-}
diff --git a/libgloss/cr16/aclocal.m4 b/libgloss/cr16/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/cr16/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/cr16/close.c b/libgloss/cr16/close.c
deleted file mode 100644
index 86a2926..0000000
--- a/libgloss/cr16/close.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* close.c -- Implementation of the low-level close() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _close (int fd)
-{
- HOST_SERVICE (SVC_CLOSE);
-}
diff --git a/libgloss/cr16/configure b/libgloss/cr16/configure
deleted file mode 100644
index 84e2cf9..0000000
--- a/libgloss/cr16/configure
+++ /dev/null
@@ -1,3975 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell bug-autoconf@gnu.org about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt1.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
- { (exit 1); exit 1; }; } ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.63
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
-done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTION]... [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.63,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { $as_echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=' '
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
- { (exit 1); exit 1; }; }
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- ac_file_inputs="$ac_file_inputs '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
- ;;
-
-
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/cr16/configure.in b/libgloss/cr16/configure.in
deleted file mode 100644
index 6928ce8..0000000
--- a/libgloss/cr16/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt1.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/cr16/crt1.S b/libgloss/cr16/crt1.S
deleted file mode 100644
index eee6fc1..0000000
--- a/libgloss/cr16/crt1.S
+++ /dev/null
@@ -1,98 +0,0 @@
- ##############################################################################
- # crt0.s -- CR16 default start-up routine #
- # #
- # Copyright (c) 2004 National Semiconductor Corporation #
- # #
- # The authors hereby grant permission to use, copy, modify, distribute, #
- # and license this software and its documentation for any purpose, provided #
- # that existing copyright notices are retained in all copies and that this #
- # notice is included verbatim in any distributions. No written agreement, #
- # license, or royalty fee is required for any of the authorized uses. #
- # Modifications to this software may be copyrighted by their authors #
- # and need not follow the licensing terms described here, provided that #
- # the new terms are clearly indicated on the first page of each file where #
- # they apply. #
- # #
- # This is the start routine of your CR16 program. #
- # It is linked with your application automatically. You can use #
- # this routine as a template and modify it to your needs, yet this #
- # file must be supplied for the compiler. #
- # It is assumed that the following symbols are defined in your linker #
- # script: __STACK_START, __ISTACK_START #
- ##############################################################################
-
- .text
-#ifdef __CR16CP__
- .align 4
-#else
- .align 2
-#endif
- .global _main
- .global _atexit
- .global _exit
- .global _start
- .global __fini
- .global __init
- .global __STACK_START
- .global __ISTACK_START
-
-_start:
-
- #----------------------------------------------------------------------------#
- # Initialize the stack pointers. The constants __STACK_START and #
- # __ISTACK_START should be defined in the linker script. #
-
- movd $__STACK_START, (sp)
-
- movd $__ISTACK_START, (r1,r0)
- lprd (r1,r0), isp
-
- #----------------------------------------------------------------------------#
- # Initialize the default sections according to the linker script. #
-
-# bal (ra), __init_bss_data
-
- #----------------------------------------------------------------------#
- # Set the Extended Dispatch bit in the CFG register. This is the #
- # default configuration for CR16C. #
-
- spr cfg, r0 # Set dispatch table width
- orw $0x100, r0
- lpr r0, cfg
-
- #----------------------------------------------------------------------------#
-
-
- #----------------------------------------------------------------------------#
- # Handle global and static constructurs execution and setup #
- # destructors to be called from exit. #
-
- bal (ra),__init
- movd $__fini@c, (r3,r2)
- bal (ra), _atexit
-
- #----------------------------------------------------------------------------#
- # Jump to the main function in your application. #
-
-#ifdef __INT32__
- movd $0, (r3,r2) # Number of arguments
- movd $0, (r5,r4) # conatins pointer to argument string.
-#else
- movw $0, r2 # Number of arguments
- movd $0, (r4,r3) # conatins pointer to argument string.
-#endif
- bal (ra), _main
-
- #----------------------------------------------------------------------------#
- # Upon returning from the main function (if it isn't an infinite loop), #
- # jump to the exit function. The exit function is located in the #
- # library 'libc.a'. #
-
-#ifdef __INT32__
- movd (r1,r0), (r3,r2) # _main return value gets forwarded.
-#else
- movw r0, r2 # _main return value gets forwarded.
-#endif
- br _exit # returns control to the functional simulator.
-
-
diff --git a/libgloss/cr16/crti.S b/libgloss/cr16/crti.S
deleted file mode 100644
index 7bca798..0000000
--- a/libgloss/cr16/crti.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Specialized code needed to support construction and destruction of
- file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* As a special exception, if you link this library with files
- compiled with GCC to produce an executable, this does not cause
- the resulting executable to be covered by the GNU General Public License.
- This exception does not however invalidate any other reasons why
- the executable file might be covered by the GNU General Public License. */
-
-/*
- * This file just supplies function prologues for the .init and .fini
- * sections. It is linked in before crtbegin.o.
- */
-
- .file "crti.o"
- .ident "GNU C crti.o"
-
- .section .init
- .globl _init
- .type _init,@function
-_init:
- push ra
- .section .fini
- .globl _fini
- .type _fini,@function
-_fini:
- push ra
-
diff --git a/libgloss/cr16/crtn.S b/libgloss/cr16/crtn.S
deleted file mode 100644
index 8375f43..0000000
--- a/libgloss/cr16/crtn.S
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Specialized code needed to support construction and destruction of
- file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* As a special exception, if you link this library with files
- compiled with GCC to produce an executable, this does not cause
- the resulting executable to be covered by the GNU General Public License.
- This exception does not however invalidate any other reasons why
- the executable file might be covered by the GNU General Public License. */
-
-/*
- * This file supplies function epilogues for the .init and .fini sections.
- * It is linked in after all other files.
- */
-
- .file "crtn.o"
- .ident "GNU C crtn.o"
-
- .section .init
- popret ra
-
- .section .fini
- popret ra
diff --git a/libgloss/cr16/dvz_hndl.c b/libgloss/cr16/dvz_hndl.c
deleted file mode 100644
index a9bde40..0000000
--- a/libgloss/cr16/dvz_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* dvz_hndl.c -- Implementation of the DVZ trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void dvz_handler (void) __attribute__ ((interrupt ()));
-
-void dvz_handler (void)
-{
- HOST_SERVICE (SVC_DVZ);
-}
diff --git a/libgloss/cr16/flg_hndl.c b/libgloss/cr16/flg_hndl.c
deleted file mode 100644
index 0bb9c86..0000000
--- a/libgloss/cr16/flg_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* flg_hndl.c -- Implementation of the FLG trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void flg_handler (void) __attribute__ ((interrupt ()));
-
-void flg_handler (void)
-{
- HOST_SERVICE (SVC_FLG);
-}
diff --git a/libgloss/cr16/fstat.c b/libgloss/cr16/fstat.c
deleted file mode 100644
index 637f87d..0000000
--- a/libgloss/cr16/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#include <sys/stat.h>
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/cr16/getpid.c b/libgloss/cr16/getpid.c
deleted file mode 100644
index d254c9b..0000000
--- a/libgloss/cr16/getpid.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (_getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/cr16/iad_hndl.c b/libgloss/cr16/iad_hndl.c
deleted file mode 100644
index 875dbe6..0000000
--- a/libgloss/cr16/iad_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* iad_hndl.c -- Implementation of the IAD trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void iad_handler (void) __attribute__ ((interrupt ()));
-
-void iad_handler (void)
-{
- HOST_SERVICE (SVC_IAD);
-}
diff --git a/libgloss/cr16/intable.c b/libgloss/cr16/intable.c
deleted file mode 100644
index 02ca66b..0000000
--- a/libgloss/cr16/intable.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* intable.c -- CompactRISC default dispatch table definition
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdio.h>
-#include <sys/libh.h>
-
-void (* const _dispatch_table[32])(void)=
-{
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- svc_handler,
- dvz_handler,
- flg_handler,
- NULL,
- NULL,
- und_handler,
- NULL,
- iad_handler,
- NULL,
- NULL,
- NULL
-};
diff --git a/libgloss/cr16/isatty.c b/libgloss/cr16/isatty.c
deleted file mode 100644
index 1cb32e5..0000000
--- a/libgloss/cr16/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (_isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/cr16/kill.c b/libgloss/cr16/kill.c
deleted file mode 100644
index b375844..0000000
--- a/libgloss/cr16/kill.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-extern void _exit (int) __attribute__((__noreturn__));
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/cr16/lseek.c b/libgloss/cr16/lseek.c
deleted file mode 100644
index 605be6c..0000000
--- a/libgloss/cr16/lseek.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* lseek.c -- Implementation of the low-level lseek() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-long _lseek (int fd, long offset, int whence)
-{
- HOST_SERVICE (SVC_LSEEK);
-}
diff --git a/libgloss/cr16/open.c b/libgloss/cr16/open.c
deleted file mode 100644
index a7cd6e9..0000000
--- a/libgloss/cr16/open.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* open.c -- Implementation of the low-level open() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-#include <stdarg.h>
-
-int open_aux (char *, int, int);
-
-/* The prototype in <fcntl.h> for open() uses ..., meaning function
- * parameters reside on stack, but the debugger expects the parameters
- * to reside in registers, thus we call an auxiliary function with
- * bounded number of parameters.
- */
-int _open (char *path, int flags, ...)
-{
- int mode;
- va_list ap;
-
- va_start(ap, flags);
- mode = va_arg(ap, int);
- open_aux (path, flags, mode);
- va_end(ap);
-}
-
-int open_aux (char *path, int flags, int mode)
-{
- HOST_SERVICE (SVC_OPEN);
-}
-
diff --git a/libgloss/cr16/putnum.c b/libgloss/cr16/putnum.c
deleted file mode 100644
index 3317bbf..0000000
--- a/libgloss/cr16/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/cr16/read.c b/libgloss/cr16/read.c
deleted file mode 100644
index 766a6b1..0000000
--- a/libgloss/cr16/read.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* read.c -- Implementation of the low-level read() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _read (int fd, char *buffer, int nbytes)
-{
- HOST_SERVICE (SVC_READ);
-}
diff --git a/libgloss/cr16/sbrk.c b/libgloss/cr16/sbrk.c
deleted file mode 100644
index 7c96047..0000000
--- a/libgloss/cr16/sbrk.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* sbrk.c -- Implementation of the low-level sbrk() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-#include <stddef.h> /* where ptrdiff_t is defined */
-#include <stdlib.h>
-
-/* Extend heap space by size bytes.
- Return start of new space allocated, or -1 for errors
- Error cases:
- 1. Allocation is not within heap range */
-
-void * _sbrk (ptrdiff_t size)
-{
- /*
- * The following two memory locations should be defined in the linker script file
- */
- extern const char _HEAP_START; /* start of heap */
- extern const char _HEAP_MAX; /* end of heap (maximum value of heap_ptr) */
-
- static const char * heap_ptr; /* pointer to head of heap */
- const char * old_heap_ptr;
- static unsigned char init_sbrk = 0;
-
- /* heap_ptr is initialized to HEAP_START */
- if (init_sbrk == 0)
- {
- heap_ptr = &_HEAP_START;
- init_sbrk = 1;
- }
-
- old_heap_ptr = heap_ptr;
-
- if ((heap_ptr + size) > &_HEAP_MAX)
- {
- /* top of heap is bigger than _HEAP_MAX */
- errno = ENOMEM;
- return (void *) -1;
- }
-
- /* success: update heap_ptr and return previous value */
- heap_ptr += size;
- return (void *)old_heap_ptr;
-}
diff --git a/libgloss/cr16/sim.ld b/libgloss/cr16/sim.ld
deleted file mode 100644
index 7fa9fa2..0000000
--- a/libgloss/cr16/sim.ld
+++ /dev/null
@@ -1,138 +0,0 @@
-/* Example Linker Script for linking NS CR16 elf32 files.*/
-OUTPUT_FORMAT("elf32-cr16")
-OUTPUT_ARCH(cr16)
-
-/*
- The libh.a library includes various CR default handlers.
- The libsim.a library includes low-level functions, which
- are used as an interface to communicate with the simulator.
-*/
-GROUP(-lc -lsim -lh -lgcc)
-
-/*
- The next line forces the entry point (_start in this script)
- to be entered in the output file as an undefined symbol.
- It is needed in case the entry point is not called explicitly
- (which is the usual case) AND is in an archive.
-*/
-EXTERN(_start)
-ENTRY(_start)
-
-/* Define memory regions: Only RAM required for simulator */
-MEMORY
-{
- ram : ORIGIN = 0x2, LENGTH = 10M
-}
-
-SECTIONS
-{
- .init :
- {
- __INIT_START = .;
- KEEP (*(.init))
- __INIT_END = .;
- } > ram
-
- .fini :
- {
- __FINI_START = .;
- KEEP (*(.fini))
- __FINI_END = .;
- } > ram
-
- .jcr :
- {
- KEEP (*(.jcr))
- } > ram
-
- .text :
- {
- __TEXT_START = .;
- *(.text) *(.text.*) *(.gnu.linkonce.t.*)
- __TEXT_END = .;
- } > ram
-
- .rdata :
- {
- __RDATA_START = .;
- *(.rdata_4) *(.rdata_2) *(.rdata_1) *(.rdata.*) *(.gnu.linkonce.r.*) *(.rodata*)
- __RDATA_END = .;
- } > ram
-
- .ctor ALIGN(4) :
- {
- __CTOR_START = .;
- KEEP (*crtbegin*.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- __CTOR_END = .;
- } > ram
-
- .dtor ALIGN(4) :
- {
- __DTOR_START = .;
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- __DTOR_END = .;
- } > ram
-
- .data :
- {
- __DATA_START = .;
- *(.data_4) *(.data_2) *(.data_1) *(.data) *(.data.*) *(.gnu.linkonce.d.*)
- *(.eh_frame_hdr)
- *(.eh_frame)
- *(.gcc_except_table)
- *(.got.plt) *(.got)
- __DATA_END = .;
- } > ram
-
-.got :
- {
- *(.got)
- } > ram
- .got.plt :
- {
- *(.got.plt)
- } > ram
-
- .bss (NOLOAD) :
- {
- __BSS_START = .;
- *(.bss_4) *(.bss_2) *(.bss_1) *(.bss) *(COMMON) *(.bss.*) *(.gnu.linkonce.b.*)
- __BSS_END = .;
- } > ram
-
-/*
- You may change the sizes of the following sections to fit the actual
- size your program requires.
- The heap and stack are aligned to the bus width, as a speed optimization
- for accessing data located there.
-*/
- .heap :
- {
- . = ALIGN(4);
- __HEAP_START = .;
- . += 0x2000;
- __HEAP_MAX = .;
- } > ram
-
- .stack :
- {
- . = ALIGN(4);
- . += 0x6000;
- __STACK_START = .;
- } > ram
-
- .istack :
- {
- . = ALIGN(4);
- . += 0x100;
- __ISTACK_START = .;
- } > ram
-}
-
-__DATA_IMAGE_START = LOADADDR(.data);
diff --git a/libgloss/cr16/stat.c b/libgloss/cr16/stat.c
deleted file mode 100644
index f1769cd..0000000
--- a/libgloss/cr16/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/cr16/svc_hndl.c b/libgloss/cr16/svc_hndl.c
deleted file mode 100644
index ab93a4d..0000000
--- a/libgloss/cr16/svc_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* svc_hndl.c -- Implementation of the SVC trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void svc_handler (void) __attribute__ ((interrupt ()));
-
-void svc_handler (void)
-{
- HOST_SERVICE (SVC_SVC);
-}
diff --git a/libgloss/cr16/sys/syscall.h b/libgloss/cr16/sys/syscall.h
deleted file mode 100644
index e1d7448..0000000
--- a/libgloss/cr16/sys/syscall.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* cr16 syscall.h file. This is used only by the simulator. These numbers
- match the syscalls used by the sim port which are different from linux
- system calls.
- This will allow correct generation of sim/common/nltvals.def */
-
-
-#ifndef _SYS_SYSCALL_H_
-#define _SYS_SYSCALL_H_
-
-/* Note: This file may be included by assembler source. */
-
-#define SYS_fork 2
-#define SYS_wait4 7
-#define SYS_create 8
-#define SYS_link 9
-#define SYS_execv 11
-#define SYS_chdir 12
-#define SYS_mknod 14
-#define SYS_chmod 15
-#define SYS_chown 16
-#define SYS_getpid 20
-#define SYS_isatty 21
-#define SYS_fstat 22
-#define SYS_ARG 24
-#define SYS_stat 38
-#define SYS_pipe 42
-#define SYS_execve 59
-#define SYS_kill 60
-#define SYS_utime 201
-#define SYS_wait 202
-#define SYS_time 0x300
-#define SYS_open 0x401
-#define SYS_close 0x402
-#define SYS_read 0x403
-#define SYS_write 0x404
-#define SYS_lseek 0x405
-#define SYS_rename 0x406
-#define SYS_unlink 0x407
-#define SYS_exit 0x410
-
-#endif
diff --git a/libgloss/cr16/time.c b/libgloss/cr16/time.c
deleted file mode 100644
index f8be74c..0000000
--- a/libgloss/cr16/time.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* time.c -- Implementation of the low-level time() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <time.h>
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/syscall.h>
-
-time_t _Time (time_t *timer)
-{
- HOST_SERVICE (SVC_TIME);
-}
-
-time_t _time (time_t *tod)
-{
- time_t t = _Time (NULL);
-
- if (tod)
- *tod = t;
-
- return (t);
-}
-
-/* _times -- no clock, so return an error. */
-clock_t _times (struct tms *buf)
-{
- errno = EINVAL;
- return (-1);
-}
-
-/* _gettimeofday -- implement in terms of time. */
-int _gettimeofday (struct timeval *tv, void *tzvp)
-{
- struct timezone *tz = tzvp;
- if (tz)
- tz->tz_minuteswest = tz->tz_dsttime = 0;
-
- tv->tv_usec = 0;
- tv->tv_sec = _time (0);
- return 0;
-}
-
diff --git a/libgloss/cr16/und_hndl.c b/libgloss/cr16/und_hndl.c
deleted file mode 100644
index 4c5cca3..0000000
--- a/libgloss/cr16/und_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* und_hndl.c -- Implementation of the UND trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void und_handler (void) __attribute__ ((interrupt ()));
-
-void und_handler (void)
-{
- HOST_SERVICE (SVC_UND);
-}
diff --git a/libgloss/cr16/unlink.c b/libgloss/cr16/unlink.c
deleted file mode 100644
index c39e319..0000000
--- a/libgloss/cr16/unlink.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* unlink.c -- Implementation of the low-level unlink() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _unlink (char *path)
-{
- HOST_SERVICE (SVC_UNLINK);
-}
diff --git a/libgloss/cr16/write.c b/libgloss/cr16/write.c
deleted file mode 100644
index 61fc2eb..0000000
--- a/libgloss/cr16/write.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* write.c -- Implementation of the low-level write() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _write (int fd, char *buffer, int nbytes)
-{
- HOST_SERVICE (SVC_WRITE);
-}
diff --git a/libgloss/cris/Makefile.in b/libgloss/cris/Makefile.in
deleted file mode 100644
index a5cd9e0..0000000
--- a/libgloss/cris/Makefile.in
+++ /dev/null
@@ -1,278 +0,0 @@
-#
-# libgloss Makefile.in for CRIS. Copied and modified from mcore long ago.
-#
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CFLAGS = -g
-SCRIPTS =
-
-OBJS = outbyte.o
-
-# Beware: GNU make construct used (shell call). Since GCC at the time
-# of this writing requires GNU make >= 3.79.1, this should pose no
-# problem.
-SYSCALL_CFILES := $(shell sed -ne 's/^cat > \([^ ]*\).*/\1/p' < $(srcdir)/gensyscalls)
-
-# Here is all of the simulator stuff.
-# Actually, now it's just the GNU/Linux stuff, as that's also the
-# simulator ABI. The name of the library is different, though.
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsyssim.a
-SIM_CRT0 = $(LIN_CRT0)
-SIM_OBJS = $(LIN_OBJS)
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the GNU/Linux stuff. At present we don't build newlib
-# and libgloss for cris*-linux-gnu*, but it's nice to keep that as an
-# option.
-LIN_PREFIX =
-LIN_LDFLAGS =
-LIN_BSP = libsyslinux.a
-LIN_CRT0 = lcrt0.o
-LIN_EXTRA = crti.o crtn.o crt1.o
-LIN_OBJS = close.o execve.o exit.o fcntl.o fork.o fstat.o getpid.o \
- gettod.o isatty.o kill.o link.o lseek.o open.o read.o \
- rename.o sbrk.o stat.o times.o unlink.o wait.o write.o ${OBJS}
-LIN_SCRIPTS =
-LIN_TEST =
-LIN_INSTALL = install-lin
-
-# In (over)due time, here will be all stuff necessary for a development
-# board.
-BSP_PREFIX =
-BSP_LDFLAGS =
-BSP_BSP = libbsp.a
-BSP_CRT0 = crt0.o
-BSP_OBJS = ${OBJS} setup.o irqtable.o
-BSP_SCRIPTS =
-BSP_TEST =
-BSP_INSTALL = install-bsp
-
-ALL_INSTALL_FILES = \
- ${SIM_CRT0} ${SIM_EXTRA} ${SIM_BSP} \
- ${LIN_CRT0} ${LIN_EXTRA} ${LIN_BSP} \
- ${BSP_CRT0} ${BSP_EXTRA} ${BSP_BSP}
-
-ALL_INSTALL_FILES_NEWLIB_COPY = \
- $(sort ${ALL_INSTALL_FILES:%=$(objroot)/newlib/%}) $(objroot)/newlib/libnosys.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-# Need to augment the definition from host_makefile_frag above.
-INCLUDES += -I$(srcdir)
-
-all: ${ALL_INSTALL_FILES} ${ALL_INSTALL_FILES_NEWLIB_COPY} libnosys.a
-
-#
-# Here's where we build the board support packages for each target.
-#
-${SIM_BSP}: ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS}
- ${RANLIB} ${SIM_BSP}
-
-${BSP_BSP}: ${BSP_OBJS}
- ${AR} ${ARFLAGS} ${BSP_BSP} ${BSP_OBJS}
- ${RANLIB} ${BSP_BSP}
-
-${LIN_BSP}: ${LIN_OBJS}
- ${AR} ${ARFLAGS} ${LIN_BSP} ${LIN_OBJS}
- ${RANLIB} ${LIN_BSP}
-
-# We need a link to libnosys.a in this directory, since this is the
-# directory used when test-compiling for configuration for other parts and
-# when running the testsuite. By using a symbolic link, it does not
-# matter whether libnosys.a is built yet when the rule is executed.
-libnosys.a:
- ln -s ../libnosys/libnosys.a
-
-# Toplevel build rules for various other libraries have gcc -B options
-# applied so the newlib build directory is reached, but not the target
-# libgloss directory (whose name is unknown to the toplevel configury
-# anyway). Configury tests that check for a successful link therefore
-# fail; they can't find crt0.o and non-libc.a+libm.a libraries. We copy
-# over all files we would install to the neighboring newlib directory.
-# Only the default crt0.o and libraries are needed, but we do them all for
-# completeness. They're however installed from here, not from the newlib
-# build directory.
-$(objroot)/newlib/%: %
- cp -p $^ $@
-
-# This rule, being more specific, overrides the pattern rule above.
-$(objroot)/newlib/libnosys.a:
- ln -s ../libgloss/libnosys/libnosys.a $(objroot)/newlib
-
-#
-# Build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-#
-# Here's where we build the test programs for each target.
-#
-.PHONY: test
-test: ${SIM_TEST} ${BSP_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-
-test.o: ${srcdir}/m68k/test.c
-
-# Debug usage.
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} $(INCLUDES) $(CFLAGS) -c $<
-
-# Caveat: for the -melinux multilib in cris-axis-aout, crt0.o is the
-# same as lcrt0.o, while elsewhere (other cris-axis-aout multilib and
-# cris-axis-elf) it's crt0.c compiled.
-crt0.o: lcrt0.o crt0.S
- case "${MULTISUBDIR}" in \
- */elinux) \
- cp -p $< $@; st=$$?;; \
- *) \
- case "$?" in \
- *crt0.S) \
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c -xassembler-with-cpp $(srcdir)/crt0.S;; \
- *) touch $@;; \
- esac; \
- st=$$?;; \
- esac; exit $$st
-
-crt1.o: lcrt0.o
- cp -p $< $@
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(BSP_BSP) $(LIN_BSP) libnosys.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL} ${BSP_INSTALL} ${LIN_INSTALL}
-
-# Note that bsp and elinux objects are exclusive: do not overlap
-# installed files.
-install-bsp:
- case "${MULTISUBDIR}" in \
- */elinux) ;; \
- *) set -e; \
- for x in ${BSP_CRT0} ${BSP_BSP} ${BSP_SCRIPTS}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done;; \
- esac
-
-install-sim:
- set -e; \
- for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-install-lin:
- case "${MULTISUBDIR}" in \
- */elinux) \
- ${INSTALL_DATA} ${LIN_CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/crt0.o; \
- set -e; \
- for x in ${LIN_BSP} ${LIN_SCRIPTS}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done;; \
- *) \
- set -e; \
- for x in ${LIN_BSP} ${LIN_SCRIPTS} ${LIN_EXTRA}; do \
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done;; \
- esac
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
-
-$(SYSCALL_CFILES): syscalls.stamp
-
-syscalls.stamp: gensyscalls
- $(SHELL) $(srcdir)/gensyscalls
- touch $@
-
-# Dependencies that could and should be auto-generated.
-close.o: close.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-execve.o: execve.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-exit.o: exit.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-fork.o: fork.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-fstat.o: fstat.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-fcntl.o: fcntl.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-getpid.o: getpid.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-gettod.o: gettod.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-isatty.o: isatty.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-kill.o: kill.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-link.o: link.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-lseek.o: lseek.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-open.o: open.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-read.o: read.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-rename.o: rename.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-sbrk.o: sbrk.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-stat.o: stat.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-times.o: times.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-unlink.o: unlink.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-wait.o: wait.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-write.o: write.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-lcrt0.o: lcrt0.c linunistd.h $(objdir)/../libnosys/config.h $(srcdir)/../libnosys/warning.h
-setup.o: setup.S
-irqtable.o: irqtable.S
-crti.o: crti.c
-crtn.o: crtn.c
diff --git a/libgloss/cris/aclocal.m4 b/libgloss/cris/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/cris/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/cris/configure b/libgloss/cris/configure
deleted file mode 100755
index 741a9a2..0000000
--- a/libgloss/cris/configure
+++ /dev/null
@@ -1,3731 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="Makefile.in"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/cris/configure.in b/libgloss/cris/configure.in
deleted file mode 100644
index 3604c94..0000000
--- a/libgloss/cris/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl This file is based on ../mcore/configure.in
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(Makefile.in)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/cris/crt0.S b/libgloss/cris/crt0.S
deleted file mode 100644
index 74c1594..0000000
--- a/libgloss/cris/crt0.S
+++ /dev/null
@@ -1,85 +0,0 @@
-/* Generic simplistic start-up-stub for CRIS/CRISv32.
- Copyright (C) 1993-2005, 2007 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#undef cris
-#undef L
-#ifdef __NO_UNDERSCORES__
-#define L(x) x
-#else
-#define L(x) _ ## x
-#endif
-
-; Rudimentary v0..v32-compatible startup stub.
-
-#ifdef __ELF__
- .section .startup,"ax"
-#endif
- .global __start
- nop
-__start:
- move.d 0f,$r9
- jump $r9
- setf
-
-#ifndef __ELF__
-
-; For a.out, everything read-only and code-wise goes into a
-; single section, so we can't separate the interrupt table from
-; the startup code if we want to have files in-between.
-#define IN_CRT0
-#include "irqtable.S"
-
-#else
-
-; The interrupt table (at offset 12, irq #3) is expected here.
-; The simplest way to make sure we link it in, is to sacrifice
-; some memory and refer to it with a relocation.
- .text
- .dword __irqtable_at_irq3
-
-#endif /* __ELF__ */
-
-0:
- move.d __setup,$r9
- jsr $r9
- nop
-#ifdef __ELF__
- jsr L(_init)
- nop
- move.d L(_fini),$r10
- jsr L(atexit)
- nop
-#endif
- jsr L(main)
- nop
- jsr L(exit)
- nop
-0:
- nop
- ba 0b
- nop
diff --git a/libgloss/cris/crti.c b/libgloss/cris/crti.c
deleted file mode 100644
index ceb71e5..0000000
--- a/libgloss/cris/crti.c
+++ /dev/null
@@ -1,77 +0,0 @@
-/* Executable and DSO init/fini start for cris*-axis-linux-gnu and simulators
- Copyright (C) 2000, 2001, 2004, 2005 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#ifdef __ELF__
-__asm__ (".syntax no_register_prefix");
-
-__asm__ (".section .init\n"
-#ifdef __NO_UNDERSCORES__
- " .globl _init\n"
- "_init:\n"
-#else /* not __NO_UNDERSCORES__ */
- " .globl __init\n"
- "__init:\n"
-#endif /* not __NO_UNDERSCORES__ */
- "\tsubq 4,sp\n"
- "\tmove srp,[sp]\n"
-#ifdef __PIC__
- "\tsubq 4,sp\n"
- "\tmove.d r0,[sp]\n"
-#if __CRIS_arch_version >= 32
- "\tlapc _GLOBAL_OFFSET_TABLE_,$r0\n"
-#else /* not __CRIS_arch_version >= 32 */
- "\tmove.d $pc,$r0\n"
- "\tsub.d .:GOTOFF,$r0\n"
-#endif /* not __CRIS_arch_version >= 32 */
-#endif /* __PIC__ */
-
- "\t.section .fini\n"
-#ifdef __NO_UNDERSCORES__
- " .globl _fini\n"
- "_fini:\n"
-#else /* not __NO_UNDERSCORES__ */
- " .globl __fini\n"
- "__fini:\n"
-#endif /* not __NO_UNDERSCORES__ */
- "\tsubq 4,sp\n"
- "\tmove srp,[sp]\n"
-#ifdef __PIC__
- "\tsubq 4,sp\n"
- "\tmove.d r0,[sp]\n"
-#if __CRIS_arch_version >= 32
- "\tlapc _GLOBAL_OFFSET_TABLE_,$r0\n"
-#else /* not __CRIS_arch_version >= 32 */
- "\tmove.d $pc,$r0\n"
- "\tsub.d .:GOTOFF,$r0\n"
-#endif /* not __CRIS_arch_version >= 32 */
-#endif /* __PIC__ */
-);
-
-#else /* not __ELF__ */
-extern int Dummy;
-#endif /* not __ELF__ */
diff --git a/libgloss/cris/crtn.c b/libgloss/cris/crtn.c
deleted file mode 100644
index a819daa..0000000
--- a/libgloss/cris/crtn.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Executable and DSO init/fini end for cris*-axis-linux-gnu and simulators
- Copyright (C) 2000, 2001, 2004, 2005, 2007 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#ifdef __ELF__
-
-__asm__ (".syntax no_register_prefix");
-
-__asm__ (".section .init\n"
-#ifdef __PIC__
- "\tmove.d [sp+],r0\n"
-#endif
- "\tmove.d [sp+],r9\n"
- "\tjump r9\n"
- "\tsetf\n"
-
- "\t.section .fini\n"
-#ifdef __PIC__
- "\tmove.d [sp+],r0\n"
-#endif
- "\tmove.d [sp+],r9\n"
- "\tjump r9\n"
- "\tsetf\n");
-
-#else
-extern int Dummy;
-#endif
diff --git a/libgloss/cris/gensyscalls b/libgloss/cris/gensyscalls
deleted file mode 100644
index b885a20..0000000
--- a/libgloss/cris/gensyscalls
+++ /dev/null
@@ -1,251 +0,0 @@
-#! /bin/sh
-# Copyright (C) 2005 Axis Communications.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# 2. Neither the name of Axis Communications nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
-# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
-# COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
-# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-
-# To avoid an abundance of copyright/license messages for boilerplate
-# code, we instead generate them from this file. Generating the
-# function code could also be done automatically, but at the cost of
-# slightly more intricate build machinery and/or scattered syscall
-# information. Beware that the cat-lines must match the sed regexp
-# "^cat > \([^ ]*\).*".
-
-lu='/* -*- buffer-read-only: t -*-
- THIS FILE IS AUTOMATICALLY GENERATED
- FROM "'$0'". */
-#include "linunistd.h"
-#define R(x) return (x); }
-'
-lui="$lu int"
-r=") { R (_Sys_"
-
-cat > close.c <<EOF
-$lui _close (int fd${r}close (fd))
-EOF
-cat > execve.c <<EOF
-$lui _execve (char *path, char **argv, char **env${r}execve (path, argv, env))
-EOF
-cat > exit.c <<EOF
-$lu void _exit (int val) { _Sys_exit (val); /* Appease GCC: */ while (1) ; }
-EOF
-cat > fcntl.c <<EOF
-$lui _fcntl (int fd, int cmd, long arg${r}fcntl (fd, cmd, arg))
-EOF
-cat > fork.c <<EOF
-$lui _fork (void${r}fork ())
-EOF
-cat > fstat.c <<EOF
-$lu#include <string.h>
-#include <sys/stat.h>
-int
-_fstat (int fd, struct stat *buf)
-{
- struct new_stat ks;
- int retval = _Sys_fstat (fd, &ks);
-
- /* Blank before filling it in. */
- memset (buf, 0, sizeof (*buf));
-
- /* We have to translate from the linux struct new_stat.
- It seems we don't have to translate the contents, though. */
- buf->st_dev = ks.st_dev;
- buf->st_ino = ks.st_ino;
- buf->st_mode = ks.st_mode;
- buf->st_nlink = ks.st_nlink;
- buf->st_uid = ks.st_uid;
- buf->st_gid = ks.st_gid;
- buf->st_rdev = ks.st_rdev;
- buf->st_size = ks.st_size;
- buf->st_blksize = ks.st_blksize;
- buf->st_blocks = ks.st_blocks;
- buf->st_atime = ks.st_atime;
- buf->st_mtime = ks.st_mtime;
- buf->st_ctime = ks.st_ctime;
- R (retval)
-EOF
-cat > getpid.c <<EOF
-$lui _getpid (void${r}getpid ())
-EOF
-cat > gettod.c <<EOF
-$lu#include <sys/time.h>
-#include <sys/times.h>
-int
-_gettimeofday (struct timeval *tp, void *tzp
-${r}gettimeofday (tp, tzp))
-EOF
-cat > isatty.c <<EOF
-$lu
-typedef unsigned int tcflag_t;
-typedef unsigned char cc_t;
-#define NCCS 19
-
-struct termios {
- tcflag_t c_iflag; /* input mode flags */
- tcflag_t c_oflag; /* output mode flags */
- tcflag_t c_cflag; /* control mode flags */
- tcflag_t c_lflag; /* local mode flags */
- cc_t c_line; /* line discipline */
- cc_t c_cc[NCCS]; /* control characters */
-};
-
-/* From asm-etrax100/ioctls.h: beware of updates. */
-#define TCGETS 0x5401
-
-int
-_isatty (int fd)
-{
- struct termios dummy;
- int save_errno = errno;
- int ret = _Sys_ioctl (fd, TCGETS, (unsigned long) &dummy);
- errno = save_errno;
- R (ret == 0)
-EOF
-cat > kill.c <<EOF
-$lui _kill (int pid, int sig${r}kill (pid, sig))
-EOF
-cat > link.c <<EOF
-$lui _link (const char *old, const char *new${r}link (old, new))
-EOF
-cat > lseek.c <<EOF
-$lui _lseek (int fd, int offset, int whence${r}lseek (fd, offset, whence))
-EOF
-cat > open.c <<EOF
-$lui _open (const char *fnam, int flags, int mode${r}open (fnam, flags, mode))
-EOF
-cat > read.c <<EOF
-$lui _read (int fd, char *buf, int nbytes${r}read (fd, buf, nbytes))
-EOF
-cat > rename.c <<EOF
-$lui _rename (const char *old, const char *new${r}rename (old, new))
-EOF
-cat > sbrk.c <<EOF
-$lu
-/* From asm-etrax100/mman.h: beware of updates. */
-#define PROT_READ 0x1 /* page can be read */
-#define PROT_WRITE 0x2 /* page can be written */
-#define MAP_ANONYMOUS 0x20 /* don't use a file */
-char *
-_sbrk (int d)
-{
- static long last_alloc = 0;
-
- /* FIXME: Things are a whole lot different than elinux. */
-#ifdef __elinux__
-
- /* We can't promise linear memory from a predetermined location.
- We're NO_MM. We're paria. We have to rely on tweaks and unclean
- behavior. We abuse the fact that the malloc function in newlib
- accepts nonlinear chunks in return to its sbrk calls (with a minor
- patch). */
-
- /* We use an "old" type mmap, which takes a pointer to a vector of 6
- longs where the parameters are stored. */
- long buffer[6];
-
- /* We can't return memory. Well we could, but we would have to keep a
- list of previous allocations. FIXME: Seems reasonable to do that
- later. */
- if (d < 0)
- return (char *) last_alloc;
-
- buffer[3] = MAP_ANONYMOUS; /* Not associated with a file. */
- buffer[4] = -1; /* No file. */
- buffer[0] = 0; /* Address 0: let mmap pick one. */
- buffer[1] = d; /* Length. */
- buffer[2] = (PROT_READ | PROT_WRITE); /* Protection flags. */
- buffer[5] = 0; /* Offset into file. */
-
- last_alloc = _Sys_mmap (buffer);
-
- return (char *) last_alloc;
-
-#else /* not __elinux__ */
-
- long prev_brk;
-
- if (last_alloc == 0)
- {
- last_alloc = _Sys_brk (0);
-
- if (last_alloc < 0)
- return (char *) -1;
- }
-
- prev_brk = last_alloc;
-
- if (_Sys_brk (last_alloc + d) < last_alloc + d)
- return (char *) -1;
-
- last_alloc += d;
-
- return (char *) prev_brk;
-#endif
-}
-EOF
-cat > stat.c <<EOF
-$lu#include <string.h>
-#include <sys/stat.h>
-int
-_stat (const char *path, struct stat *buf)
-{
- struct new_stat ks;
- int retval = _Sys_stat (path, &ks);
-
- /* Blank before filling it in. */
- memset (buf, 0, sizeof (*buf));
-
- /* We have to translate from the linux struct new_stat.
- It seems we don't have to translate the contents, though. */
- buf->st_dev = ks.st_dev;
- buf->st_ino = ks.st_ino;
- buf->st_mode = ks.st_mode;
- buf->st_nlink = ks.st_nlink;
- buf->st_uid = ks.st_uid;
- buf->st_gid = ks.st_gid;
- buf->st_rdev = ks.st_rdev;
- buf->st_size = ks.st_size;
- buf->st_blksize = ks.st_blksize;
- buf->st_blocks = ks.st_blocks;
- buf->st_atime = ks.st_atime;
- buf->st_mtime = ks.st_mtime;
- buf->st_ctime = ks.st_ctime;
- R (retval)
-EOF
-cat > times.c <<EOF
-$lu#include <sys/times.h>
-clock_t
-_times (struct tms * tp${r}times (tp))
-EOF
-cat > unlink.c <<EOF
-$lui _unlink (const char *f${r}unlink (f))
-EOF
-cat > wait.c <<EOF
-$lui _wait (int *status${r}wait4 (_getpid(), status, 0, 0))
-EOF
-cat > write.c <<EOF
-$lui _write (int fd, char *buf, int nbytes${r}write (fd, buf, nbytes))
-EOF
-exit 0
diff --git a/libgloss/cris/irqtable.S b/libgloss/cris/irqtable.S
deleted file mode 100644
index 202e952..0000000
--- a/libgloss/cris/irqtable.S
+++ /dev/null
@@ -1,82 +0,0 @@
-/* Default interrupt table for CRIS/CRISv32.
- Copyright (C) 2007 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#ifdef __ELF__
- .section .startup,"ax"
-#else
- .text
-#endif
-
-#if defined (__ELF__) || defined (IN_CRT0)
-; This is included from crt0.S for a.out, as we can't have it as
-; a separate object file in a library due to the lack of named
-; section support and the required placement at address 3*4.
-
-; We define an interrupt table with references to the symbols
-; _.irq_XX where XX are hex numbers 3..ff (lower-case). They
-; are satisfied by weak aliases to the _.irq stub function in
-; this file. When overridden, the overriding function must be
-; in code explicitly linked in, i.e. *not* in a library.
-
- .global __irqtable_at_irq3
-__irqtable_at_irq3:
-
- .irpc irqno,3456789abcdef
- .weak _.irq_0\irqno
- .set _.irq_0\irqno,_.irq
- .dword _.irq_0\irqno
- .endr
-
- .irpc irqhd,123456789abcdef
- .irpc irqld,0123456789abcdef
- .weak _.irq_\irqhd\irqld
- .set _.irq_\irqhd\irqld,_.irq
- .dword _.irq_\irqhd\irqld
- .endr
- .endr
-
-; No use having a separate file with default _.irq_[0-f][0-f]
-; definitions; just provide a single stub with a weak definition
-; and make it up to the user to provide a strong definition that
-; they force to be linked in (i.e. not in a library or at least
-; together with another symbol they know is linked in).
- .text
-
-_.irq:
-#ifdef __arch_common_v10_v32
- ; This is just to allow the multilib to compile without
- ; hackery: the "common" subset doesn't recognize
- ; interrupt-return insns.
-#elif __CRIS_arch_version >= 32
- rete
- rfe
-#else
- reti
- nop
-#endif
-#endif /* __ELF__ || IN_CRT0 */
diff --git a/libgloss/cris/lcrt0.c b/libgloss/cris/lcrt0.c
deleted file mode 100644
index ee50746..0000000
--- a/libgloss/cris/lcrt0.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* Support for cris*-axis-linux-gnu and src/sim/cris simulator.
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include "linunistd.h"
-
-extern void exit (int) __attribute ((__noreturn__));
-
-__asm__ (".syntax no_register_prefix");
-
-#ifdef __ELF__
-/* This simulator magic for an earlier simulator was supposed to be
- found two bytes before _start. Let's keep it for sake of
- compatibility. Trying to emit them with an ordinary const char[]
- and attribute section makes gcc barf; it doesn't like having the
- same section attribute for both code and data.
- The code is supposed to cause a crash if someone jumps to 0. */
-__asm__
- (
- " .section .startup,\"ax\",@progbits\n"
- " .byte 55,55\n"
- " move.d 0xbadacce5,r9\n"
- " clear.d [r9]\n"
- " setf\n"
- " setf\n"
- " .previous");
-#endif
-
-__asm__
- (
-#ifdef __AOUT__
- " .text\n\t"
-#elif defined (__ELF__)
- " .section .startup,\"ax\",@progbits\n"
-#endif
- " .global __start\n"
- "__start:\n"
- /* SP must be set up by the simulator or the system. */
-
- /* Find ARGC, ARGV and ENV. */
- /* ARGC. */
- " move.d [sp],r10\n"
-
- /* ARGV. */
- " move.d sp,r11\n"
- " addq 4,r11\n"
-
- /* ENVP. */
- " move.d sp,r12\n"
- " addi r10.d,r12\n"
- " addq 8,r12\n"
-
- /* Terminate R9 and R6; we don't have a "console_print_etrax" or system
- call function. */
- " clear.d r9\n"
- " clear.d r6\n"
- " move.d __start1,r13\n"
- " jump r13\n"
- " setf\n"
-#ifndef __AOUT__
- /* We rely on a.out not being in .data here. Quite fragile, but
- covered by e.g. running the GCC test-suite for cris-unknown-aout. */
- " .previous"
-#endif
- );
-
-extern void _Libctors (void);
-extern void _Libdtors (void);
-
-extern void __init__start (void) __attribute ((weak));
-extern void __aout__ctors (void) __attribute ((weak));
-
-static void start1 () __asm__ ("__start1") __attribute ((__used__));
-static void
-start1 (int argc, char **argv, char **env)
-{
-#ifdef __ELF__
- /* For ELF systems, we call _init and register _fini with atexit. */
- {
- extern void _init (void);
- extern void _fini (void);
- _init ();
- if (atexit (_fini) != 0)
- exit (-1);
- }
-#else
- /* Constructors which may get here through the ELF .init section, when
- linking ELF and producing a.out. */
- if (__init__start)
- __init__start ();
-
- if (__aout__ctors)
- __aout__ctors ();
-
- /* Call constructors in shared libraries. */
- _Libctors ();
-
- if (atexit (_Libdtors) != 0)
- exit (-1);
-#endif
-
- /* Call the user program. */
- exit (main (argc, argv, env));
-}
diff --git a/libgloss/cris/linunistd.h b/libgloss/cris/linunistd.h
deleted file mode 100644
index 4d664a2..0000000
--- a/libgloss/cris/linunistd.h
+++ /dev/null
@@ -1,421 +0,0 @@
-/* Support for syscalls for cris*-axis-linux-gnu and simulators
- Copyright (C) 1998-2005 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-/* Derived from asm-etrax100/unistd.h with minor modifications to fit as
- LOSS for newlib. */
-
-#ifndef _ASM_ELINUX_UNISTD_H_
-#define _ASM_ELINUX_UNISTD_H_
-
-/* Our callers might want to use link_warning, so provide it from here. */
-#include "../libnosys/config.h"
-#include "libnosys/warning.h"
-
-#include <errno.h>
-
-/*
- * This file contains the system call numbers, and stub macros for libc.
- */
-
-#define __NR_setup 0 /* used only by init, to get system going */
-#define __NR_exit 1
-#define __NR_fork 2
-#define __NR_read 3
-#define __NR_write 4
-#define __NR_open 5
-#define __NR_close 6
-#define __NR_waitpid 7
-#define __NR_creat 8
-#define __NR_link 9
-#define __NR_unlink 10
-#define __NR_execve 11
-#define __NR_chdir 12
-#define __NR_time 13
-#define __NR_mknod 14
-#define __NR_chmod 15
-#define __NR_chown 16
-#define __NR_break 17
-#define __NR_oldstat 18
-#define __NR_lseek 19
-#define __NR_getpid 20
-#define __NR_mount 21
-#define __NR_umount 22
-#define __NR_setuid 23
-#define __NR_getuid 24
-#define __NR_stime 25
-#define __NR_ptrace 26
-#define __NR_alarm 27
-#define __NR_oldfstat 28
-#define __NR_pause 29
-#define __NR_utime 30
-#define __NR_stty 31
-#define __NR_gtty 32
-#define __NR_access 33
-#define __NR_nice 34
-#define __NR_ftime 35
-#define __NR_sync 36
-#define __NR_kill 37
-#define __NR_rename 38
-#define __NR_mkdir 39
-#define __NR_rmdir 40
-#define __NR_dup 41
-#define __NR_pipe 42
-#define __NR_times 43
-#define __NR_prof 44
-#define __NR_brk 45
-#define __NR_setgid 46
-#define __NR_getgid 47
-#define __NR_signal 48
-#define __NR_geteuid 49
-#define __NR_getegid 50
-#define __NR_acct 51
-#define __NR_phys 52
-#define __NR_lock 53
-#define __NR_ioctl 54
-#define __NR_fcntl 55
-#define __NR_mpx 56
-#define __NR_setpgid 57
-#define __NR_ulimit 58
-#define __NR_oldolduname 59
-#define __NR_umask 60
-#define __NR_chroot 61
-#define __NR_ustat 62
-#define __NR_dup2 63
-#define __NR_getppid 64
-#define __NR_getpgrp 65
-#define __NR_setsid 66
-#define __NR_sigaction 67
-#define __NR_sgetmask 68
-#define __NR_ssetmask 69
-#define __NR_setreuid 70
-#define __NR_setregid 71
-#define __NR_sigsuspend 72
-#define __NR_sigpending 73
-#define __NR_sethostname 74
-#define __NR_setrlimit 75
-#define __NR_getrlimit 76
-#define __NR_getrusage 77
-#define __NR_gettimeofday 78
-#define __NR_settimeofday 79
-#define __NR_getgroups 80
-#define __NR_setgroups 81
-#define __NR_select 82
-#define __NR_symlink 83
-#define __NR_oldlstat 84
-#define __NR_readlink 85
-#define __NR_uselib 86
-#define __NR_swapon 87
-#define __NR_reboot 88
-#define __NR_readdir 89
-#define __NR_mmap 90
-#define __NR_munmap 91
-#define __NR_truncate 92
-#define __NR_ftruncate 93
-#define __NR_fchmod 94
-#define __NR_fchown 95
-#define __NR_getpriority 96
-#define __NR_setpriority 97
-#define __NR_profil 98
-#define __NR_statfs 99
-#define __NR_fstatfs 100
-#define __NR_ioperm 101
-#define __NR_socketcall 102
-#define __NR_syslog 103
-#define __NR_setitimer 104
-#define __NR_getitimer 105
-#define __NR_stat 106
-#define __NR_lstat 107
-#define __NR_fstat 108
-#define __NR_olduname 109
-#define __NR_iopl 110
-#define __NR_vhangup 111
-#define __NR_idle 112
-#define __NR_vm86 113
-#define __NR_wait4 114
-#define __NR_swapoff 115
-#define __NR_sysinfo 116
-#define __NR_ipc 117
-#define __NR_fsync 118
-#define __NR_sigreturn 119
-#define __NR_clone 120
-#define __NR_setdomainname 121
-#define __NR_uname 122
-#define __NR_modify_ldt 123
-#define __NR_adjtimex 124
-#define __NR_mprotect 125
-#define __NR_sigprocmask 126
-#define __NR_create_module 127
-#define __NR_init_module 128
-#define __NR_delete_module 129
-#define __NR_get_kernel_syms 130
-#define __NR_quotactl 131
-#define __NR_getpgid 132
-#define __NR_fchdir 133
-#define __NR_bdflush 134
-#define __NR_sysfs 135
-#define __NR_personality 136
-#define __NR_afs_syscall 137 /* Syscall for Andrew File System */
-#define __NR_setfsuid 138
-#define __NR_setfsgid 139
-#define __NR__llseek 140
-#define __NR_getdents 141
-#define __NR__newselect 142
-#define __NR_flock 143
-#define __NR_msync 144
-#define __NR_readv 145
-#define __NR_writev 146
-#define __NR_getsid 147
-#define __NR_fdatasync 148
-#define __NR__sysctl 149
-#define __NR_mlock 150
-#define __NR_munlock 151
-#define __NR_mlockall 152
-#define __NR_munlockall 153
-#define __NR_sched_setparam 154
-#define __NR_sched_getparam 155
-#define __NR_sched_setscheduler 156
-#define __NR_sched_getscheduler 157
-#define __NR_sched_yield 158
-#define __NR_sched_get_priority_max 159
-#define __NR_sched_get_priority_min 160
-#define __NR_sched_rr_get_interval 161
-#define __NR_nanosleep 162
-#define __NR_mremap 163
-
-#define __NR_mmap2 192
-
-#define PASTE(x,y) x##y
-#define XSTR(x) # x
-#define STR(x) XSTR (x)
-
-#ifdef __elinux__
-# define CRIS_SYSCALL "jir .$System.call"
-# define CALLNO_REG r1
-# define ARG5_REG r0
-# define MOVE_ARG5 "move.d"
-# define COLON_ARG5_CLOBBER : "r0"
-#else
-# define CRIS_SYSCALL "break 13"
-# define CALLNO_REG r9
-# define ARG5_REG srp
-# define MOVE_ARG5 "move"
-# define COLON_ARG5_CLOBBER
-#endif
-
-/* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */
-#define _syscall0(type,name) \
-type PASTE(_Sys_,name) (void) \
-{ \
- register long __a __asm__ ("r10"); \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_)); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall1(type,name,type1,arg1) \
-type PASTE(_Sys_,name) (type1 arg1) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a)); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall2(type,name,type1,arg1,type2,arg2) \
-type PASTE(_Sys_,name) (type1 arg1,type2 arg2) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __b __asm__ ("r11") = (long) arg2; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a), "r" (__b)); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
-type PASTE(_Sys_,name) (type1 arg1,type2 arg2,type3 arg3) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __b __asm__ ("r11") = (long) arg2; \
- register long __c __asm__ ("r12") = (long) arg3; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a), "r" (__b), "r" (__c)); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
-type PASTE(_Sys_,name) (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __b __asm__ ("r11") = (long) arg2; \
- register long __c __asm__ ("r12") = (long) arg3; \
- register long __d __asm__ ("r13") = (long) arg4; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a), "r" (__b), \
- "r" (__c), "r" (__d)); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
- type5,arg5) \
-type PASTE(_Sys_,name) (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __b __asm__ ("r11") = (long) arg2; \
- register long __c __asm__ ("r12") = (long) arg3; \
- register long __d __asm__ ("r13") = (long) arg4; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (MOVE_ARG5 " %6,$" STR (ARG5_REG) "\n\t" \
- CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a), "r" (__b), \
- "r" (__c), "r" (__d), "g" (arg5) \
- COLON_ARG5_CLOBBER); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
- type5,arg5,type6,arg6) \
-type PASTE(_Sys_,name) (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6) \
-{ \
- register long __a __asm__ ("r10") = (long) arg1; \
- register long __b __asm__ ("r11") = (long) arg2; \
- register long __c __asm__ ("r12") = (long) arg3; \
- register long __d __asm__ ("r13") = (long) arg4; \
- register long __n_ __asm__ (STR (CALLNO_REG)) = (__NR_##name); \
- __asm__ __volatile__ (MOVE_ARG5 " %6,$" STR (ARG5_REG) "\n\t" \
- "move %7,$mof\n\t" \
- CRIS_SYSCALL \
- : "=r" (__a) \
- : "r" (__n_), "0" (__a), "r" (__b), \
- "r" (__c), "r" (__d), "g" (arg5), "g" (arg6) \
- COLON_ARG5_CLOBBER); \
- if (__a >= 0) \
- return (type) __a; \
- errno = -__a; \
- return -1; \
-}
-
-#define __NR__exit __NR_exit
-static inline _syscall0(int,idle)
-static inline _syscall0(int,fork)
-static inline _syscall2(int,clone,unsigned long,flags,char *,esp)
-static inline _syscall0(int,pause)
-static inline _syscall0(int,setup)
-static inline _syscall0(int,sync)
-static inline _syscall3(int,write,int,fd,const char *,buf,unsigned,count)
-static inline _syscall1(int,dup,int,fd)
-static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp)
-static inline _syscall3(int,open,const char *,file,int,flag,int,mode)
-static inline _syscall1(int,close,int,fd)
-static inline _syscall1(int,_exit,int,exitcode)
-static inline _syscall1(int,exit,int,exitcode)
-static inline _syscall3(int,waitpid,int,pid,int *,wait_stat,int,options)
-static inline _syscall3(int,read,int,fd,char *,buf,unsigned,count)
-static inline _syscall2(int,socketcall,int,call,unsigned long *,args)
-static inline _syscall3(int,ioctl,unsigned int,fd,unsigned int,cmd,unsigned long,arg)
-static inline _syscall3(int,fcntl,unsigned int,fd,unsigned int,cmd,unsigned long,arg)
-static inline _syscall5(int,mount,const char *,a,const char *,b,const char *,c,unsigned long,rwflag,const void *,data)
-static inline _syscall2(int,rename,const char *,a,const char*,b)
-
-#ifndef __elinux__
-/* Make sure these are only used where they are supported. */
-static inline _syscall6(int,mmap2,unsigned long, addr, unsigned long, len,
- unsigned long, prot, unsigned long, flags,
- unsigned long, fd, unsigned long, pgoff)
-static inline _syscall1(long,brk,long,addr)
-#endif
-
-/* This structure is ripped from asm-etrax100/stat.h: beware of updates. */
-struct new_stat {
- unsigned short st_dev;
- unsigned short __pad1;
- unsigned long st_ino;
- unsigned short st_mode;
- unsigned short st_nlink;
- unsigned short st_uid;
- unsigned short st_gid;
- unsigned short st_rdev;
- unsigned short __pad2;
- unsigned long st_size;
- unsigned long st_blksize;
- unsigned long st_blocks;
- unsigned long st_atime;
- unsigned long __unused1;
- unsigned long st_mtime;
- unsigned long __unused2;
- unsigned long st_ctime;
- unsigned long __unused3;
- unsigned long __unused4;
- unsigned long __unused5;
-};
-
-static inline _syscall2(int,stat,const char *,path,struct new_stat *,statbuf)
-static inline _syscall2(int,fstat,int,fd,struct new_stat *,statbuf)
-static inline _syscall0(int,getpid)
-static inline _syscall2(int,kill,int,pid,int,sig)
-static inline _syscall3(int,lseek,int,fd,int,offset,int,whence)
-struct tms;
-static inline _syscall1(long,times,struct tms *,tbuf)
-static inline _syscall1(long,mmap,long *, buf)
-struct timeval;
-struct timezone;
-static inline _syscall2(int,gettimeofday,struct timeval *,tp,
- void *, tzp)
-static inline _syscall2(int,link,const char *,old,const char *,new)
-static inline _syscall1(int,unlink,const char *, f)
-struct rusage;
-static inline _syscall4(int,wait4,int,pid,int *,sa,int,op,struct rusage *,ru)
-#endif /* _ASM_ELINUX_UNISTD_H_ */
diff --git a/libgloss/cris/outbyte.c b/libgloss/cris/outbyte.c
deleted file mode 100644
index 1cb686b..0000000
--- a/libgloss/cris/outbyte.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Low-level kind-of-support for CRIS. Mostly used as a placeholder
- function. Too small and obvious to warrant a copyright notice. */
-
-#include <stdio.h>
-void
-outbyte (int ch)
-{
- write (1, &ch, 1);
-}
diff --git a/libgloss/cris/setup.S b/libgloss/cris/setup.S
deleted file mode 100644
index 4100375..0000000
--- a/libgloss/cris/setup.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Support for standalone CRIS/CRISv32 code.
- Copyright (C) 2005, 2007 Axis Communications.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Neither the name of Axis Communications nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY AXIS COMMUNICATIONS AND ITS CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AXIS
- COMMUNICATIONS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
- .text
- .global __setup
-__setup:
- /* Make sure to save SRP. */
-#ifdef __arch_common_v10_v32
- /* Can't do anything if we don't know for which arch. This file is
- then only a placeholder. Oh, and we can't use the "ret" and "nop"
- insns in "common" code. */
- move $srp,$r9
- jump $r9
- setf
-#else
- /* Code missing:
- - Initialize RAM circuits.
- - Initialize serial output and input.
- - Set stack-pointer. */
- ret
- nop
-#endif
diff --git a/libgloss/crx/Makefile.in b/libgloss/crx/Makefile.in
deleted file mode 100644
index a4abe3f..0000000
--- a/libgloss/crx/Makefile.in
+++ /dev/null
@@ -1,156 +0,0 @@
-#
-#
-
-DESTDIR =
-
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-# Here is all of the handlers stuff
-H_SCRIPTS =
-H_BSP = libh.a
-H_OBJS = intable.o dvz_hndl.o flg_hndl.o iad_hndl.o svc_hndl.o und_hndl.o
-H_TEST = hndl-test
-H_INSTALL = install-hndl
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS = sim.ld
-SIM_BSP = libsim.a
-SIM_OBJS = _exit.o close.o _getenv.o lseek.o open.o read.o \
- _rename.o sbrk.o time.o unlink.o write.o \
- stat.o putnum.o kill.o getpid.o isatty.o fstat.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the CRT stuff
-CRT = crti.o crtn.o crt0.o
-CRT_INSTALL = install-crt
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${CRT} ${SIM_BSP} ${H_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${H_BSP}: ${H_OBJS}
- ${AR} ${ARFLAGS} ${H_BSP} ${H_OBJS}
- ${RANLIB} ${H_BSP}
-
-${SIM_BSP}: ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS}
- ${RANLIB} ${SIM_BSP}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${H_TEST}
-
-hndl-test: hndl-test.x hndl-test.dis
-
-hndl-test.x: test.o ${H_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- test.o \
- -o hndl-test.x ${LIBS_FOR_TARGET} -lc ${H_BSP} -Wl,-T${SIM_SCRIPTS}
-
-hndl-test.dis: hndl-test.x
- ${OBJDUMP} -d hndl-test.x > hndl-test.dis
-
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP} -Wl,-T${SIM_SCRIPTS}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(H_BSP)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${CRT_INSTALL} ${SIM_INSTALL} ${H_INSTALL}
-
-install-crt:
- set -e; for x in ${CRT} ; do\
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-install-sim:
- for x in ${SIM_BSP} ; do\
- ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
- for x in ${SIM_SCRIPTS}; do\
- ${INSTALL_DATA} ${srcdir}/$${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-install-hndl:
- for x in ${H_BSP}; do\
- ${INSTALL_PROGRAM} $${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/crx/_exit.c b/libgloss/crx/_exit.c
deleted file mode 100644
index 9a3cfa6..0000000
--- a/libgloss/crx/_exit.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* _exit.c -- Implementation of the low-level _exit() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdlib.h>
-#include <sys/syscall.h>
-
-/* Returns control to the debugger. */
-void _exit (int stat)
-{
- HOST_SERVICE (SVC_EOP);
-}
diff --git a/libgloss/crx/_getenv.c b/libgloss/crx/_getenv.c
deleted file mode 100644
index c43555d..0000000
--- a/libgloss/crx/_getenv.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* _getenv.c -- Implementation of the low-level _getenv() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-#include <stdlib.h>
-
-register char *R2 __asm__("r2");
-register char *R3 __asm__("r3");
-
-char * _getenv (const char *name)
-{
- char *x;
- char *y;
-
- x = R2;
-
- y = (char *) calloc (256, 1);
- R3 = y;
-
- R2 = x;
-
- HOST_SERVICE (SVC_GETENV);
-}
-
diff --git a/libgloss/crx/_rename.c b/libgloss/crx/_rename.c
deleted file mode 100644
index b3d7bd0..0000000
--- a/libgloss/crx/_rename.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* _rename.c -- Implementation of the low-level rename() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int _rename (char *from, char *to)
-{
- HOST_SERVICE (SVC_RENAME);
-}
diff --git a/libgloss/crx/aclocal.m4 b/libgloss/crx/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/crx/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/crx/close.c b/libgloss/crx/close.c
deleted file mode 100644
index 72ce4bd..0000000
--- a/libgloss/crx/close.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* close.c -- Implementation of the low-level close() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int close (int fd)
-{
- HOST_SERVICE (SVC_CLOSE);
-}
diff --git a/libgloss/crx/configure b/libgloss/crx/configure
deleted file mode 100755
index 68601a0..0000000
--- a/libgloss/crx/configure
+++ /dev/null
@@ -1,3777 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="intable.c"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/crx/configure.in b/libgloss/crx/configure.in
deleted file mode 100644
index 2dab824..0000000
--- a/libgloss/crx/configure.in
+++ /dev/null
@@ -1,39 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(intable.c)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile)
-AC_OUTPUT
diff --git a/libgloss/crx/crt0.S b/libgloss/crx/crt0.S
deleted file mode 100644
index c498497..0000000
--- a/libgloss/crx/crt0.S
+++ /dev/null
@@ -1,93 +0,0 @@
- ##############################################################################
- # crt0.S -- CRX default start-up routine #
- # #
- # Copyright (c) 2004 National Semiconductor Corporation #
- # #
- # The authors hereby grant permission to use, copy, modify, distribute, #
- # and license this software and its documentation for any purpose, provided #
- # that existing copyright notices are retained in all copies and that this #
- # notice is included verbatim in any distributions. No written agreement, #
- # license, or royalty fee is required for any of the authorized uses. #
- # Modifications to this software may be copyrighted by their authors #
- # and need not follow the licensing terms described here, provided that #
- # the new terms are clearly indicated on the first page of each file where #
- # they apply. #
- # #
- # This is the start routine of your CRX program. #
- # It is linked with your application automatically. You can use #
- # this routine as a template and modify it to your needs, yet this #
- # file must be supplied for the compiler. #
- # It is assumed that the following symbols are defined in your linker #
- # script: __STACK_START, __ISTACK_START, __DATA_START, __DATA_END, #
- # __DATA_IMAGE_START, __BSS_START, __BSS_END. #
- ##############################################################################
-
- .text
- .align 4
- .globl _main
- .globl _start
- .globl _atexit
- .globl _exit
- .globl __dispatch_table
-
-_start:
-
- #----------------------------------------------------------------------------#
- # Initialize the stack pointers. The constants __STACK_START and #
- # __ISTACK_START should be defined in the linker script. #
-
- movd $__STACK_START, sp
- movd $__ISTACK_START, r0
- mtpr r0, isp
-
- #----------------------------------------------------------------------------#
- # Initialize the default sections according to the linker script. #
-
- movd $__DATA_END, r4
- subd $__DATA_START, r4
- movd $__DATA_START, r2
- movd $__DATA_IMAGE_START, r3
- bal ra, _memcpy
- movd $__BSS_END, r4
- subd $__BSS_START, r4
- movd $__BSS_START, r2
- movd $0, r3
- bal ra, _memset
-
- #----------------------------------------------------------------------------#
- # Initialize the intbase (pointer to the dispatch table). #
-
- movd $__dispatch_table, r0
- mtpr r0, intbase
-
- #----------------------------------------------------------------------------#
- # Handle global and static constructurs execution and setup #
- # destructors to be called from exit. #
- bal ra, _init
- movd $_fini, r2
- bal ra, _atexit
-
- #----------------------------------------------------------------------------#
- # Here you may add initializations that are specific to your #
- # environment. For example: #
- # 1. Configure wait states and other BIU parameters in order to get #
- # the best performance out of your target (see the specification #
- # document). #
- # 2. Enable maskable interrupts that should be enabled when your #
- # program starts to execute. #
-
-
- #----------------------------------------------------------------------------#
- # Jump to the main function in your application. #
-
- bal ra, _main
-
- #----------------------------------------------------------------------------#
- # Upon returning from the main function (if it isn't an infinite loop), #
- # jump to the exit function. The exit function is located in the #
- # library 'libc.a'. #
-
- movd r0, r2 # _main return value is passed as a
- # parameter to exit.
- br _exit # returns control to the debugger.
-
diff --git a/libgloss/crx/crti.S b/libgloss/crx/crti.S
deleted file mode 100644
index 7bca798..0000000
--- a/libgloss/crx/crti.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Specialized code needed to support construction and destruction of
- file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* As a special exception, if you link this library with files
- compiled with GCC to produce an executable, this does not cause
- the resulting executable to be covered by the GNU General Public License.
- This exception does not however invalidate any other reasons why
- the executable file might be covered by the GNU General Public License. */
-
-/*
- * This file just supplies function prologues for the .init and .fini
- * sections. It is linked in before crtbegin.o.
- */
-
- .file "crti.o"
- .ident "GNU C crti.o"
-
- .section .init
- .globl _init
- .type _init,@function
-_init:
- push ra
- .section .fini
- .globl _fini
- .type _fini,@function
-_fini:
- push ra
-
diff --git a/libgloss/crx/crtn.S b/libgloss/crx/crtn.S
deleted file mode 100644
index 8375f43..0000000
--- a/libgloss/crx/crtn.S
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Specialized code needed to support construction and destruction of
- file-scope objects in C++ and Java code, and to support exception handling.
- Copyright (C) 1999 Free Software Foundation, Inc.
- Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* As a special exception, if you link this library with files
- compiled with GCC to produce an executable, this does not cause
- the resulting executable to be covered by the GNU General Public License.
- This exception does not however invalidate any other reasons why
- the executable file might be covered by the GNU General Public License. */
-
-/*
- * This file supplies function epilogues for the .init and .fini sections.
- * It is linked in after all other files.
- */
-
- .file "crtn.o"
- .ident "GNU C crtn.o"
-
- .section .init
- popret ra
-
- .section .fini
- popret ra
diff --git a/libgloss/crx/dvz_hndl.c b/libgloss/crx/dvz_hndl.c
deleted file mode 100644
index a9bde40..0000000
--- a/libgloss/crx/dvz_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* dvz_hndl.c -- Implementation of the DVZ trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void dvz_handler (void) __attribute__ ((interrupt ()));
-
-void dvz_handler (void)
-{
- HOST_SERVICE (SVC_DVZ);
-}
diff --git a/libgloss/crx/flg_hndl.c b/libgloss/crx/flg_hndl.c
deleted file mode 100644
index 0bb9c86..0000000
--- a/libgloss/crx/flg_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* flg_hndl.c -- Implementation of the FLG trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void flg_handler (void) __attribute__ ((interrupt ()));
-
-void flg_handler (void)
-{
- HOST_SERVICE (SVC_FLG);
-}
diff --git a/libgloss/crx/fstat.c b/libgloss/crx/fstat.c
deleted file mode 100644
index 380fc2a..0000000
--- a/libgloss/crx/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#include <sys/stat.h>
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/crx/getpid.c b/libgloss/crx/getpid.c
deleted file mode 100644
index 3c1a7b8..0000000
--- a/libgloss/crx/getpid.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/crx/iad_hndl.c b/libgloss/crx/iad_hndl.c
deleted file mode 100644
index 875dbe6..0000000
--- a/libgloss/crx/iad_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* iad_hndl.c -- Implementation of the IAD trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void iad_handler (void) __attribute__ ((interrupt ()));
-
-void iad_handler (void)
-{
- HOST_SERVICE (SVC_IAD);
-}
diff --git a/libgloss/crx/intable.c b/libgloss/crx/intable.c
deleted file mode 100644
index 02ca66b..0000000
--- a/libgloss/crx/intable.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* intable.c -- CompactRISC default dispatch table definition
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdio.h>
-#include <sys/libh.h>
-
-void (* const _dispatch_table[32])(void)=
-{
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- svc_handler,
- dvz_handler,
- flg_handler,
- NULL,
- NULL,
- und_handler,
- NULL,
- iad_handler,
- NULL,
- NULL,
- NULL
-};
diff --git a/libgloss/crx/isatty.c b/libgloss/crx/isatty.c
deleted file mode 100644
index 927d754..0000000
--- a/libgloss/crx/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/crx/kill.c b/libgloss/crx/kill.c
deleted file mode 100644
index 3ed228f..0000000
--- a/libgloss/crx/kill.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/crx/lseek.c b/libgloss/crx/lseek.c
deleted file mode 100644
index 6c4354c..0000000
--- a/libgloss/crx/lseek.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* lseek.c -- Implementation of the low-level lseek() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-long lseek (int fd, long offset, int whence)
-{
- HOST_SERVICE (SVC_LSEEK);
-}
diff --git a/libgloss/crx/open.c b/libgloss/crx/open.c
deleted file mode 100644
index abe7bbf..0000000
--- a/libgloss/crx/open.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* open.c -- Implementation of the low-level open() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-#include <stdarg.h>
-
-int open_aux (char *, int, int);
-
-/* The prototype in <fcntl.h> for open() uses ..., meaning function
- * parameters reside on stack, but the debugger expects the parameters
- * to reside in registers, thus we call an auxiliary function with
- * bounded number of parameters.
- */
-int open (char *path, int flags, ...)
-{
- int mode;
- va_list ap;
-
- va_start(ap, flags);
- mode = va_arg(ap, int);
- open_aux (path, flags, mode);
- va_end(ap);
-}
-
-int open_aux (char *path, int flags, int mode)
-{
- HOST_SERVICE (SVC_OPEN);
-}
-
diff --git a/libgloss/crx/putnum.c b/libgloss/crx/putnum.c
deleted file mode 100644
index 3317bbf..0000000
--- a/libgloss/crx/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/crx/read.c b/libgloss/crx/read.c
deleted file mode 100644
index f0cb43a..0000000
--- a/libgloss/crx/read.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* read.c -- Implementation of the low-level read() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int read (int fd, char *buffer, int nbytes)
-{
- HOST_SERVICE (SVC_READ);
-}
diff --git a/libgloss/crx/sbrk.c b/libgloss/crx/sbrk.c
deleted file mode 100644
index 70d5d4f..0000000
--- a/libgloss/crx/sbrk.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* sbrk.c -- Implementation of the low-level sbrk() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-#include <stddef.h> /* where ptrdiff_t is defined */
-#include <stdlib.h>
-
-/* Extend heap space by size bytes.
- Return start of new space allocated, or -1 for errors
- Error cases:
- 1. Allocation is not within heap range */
-
-void * sbrk (ptrdiff_t size)
-{
- /*
- * The following two memory locations should be defined in the linker script file
- */
- extern const char _HEAP_START; /* start of heap */
- extern const char _HEAP_MAX; /* end of heap (maximum value of heap_ptr) */
-
- static const char * heap_ptr; /* pointer to head of heap */
- const char * old_heap_ptr;
- static unsigned char init_sbrk = 0;
-
- /* heap_ptr is initialized to HEAP_START */
- if (init_sbrk == 0)
- {
- heap_ptr = &_HEAP_START;
- init_sbrk = 1;
- }
-
- old_heap_ptr = heap_ptr;
-
- if ((heap_ptr + size) > &_HEAP_MAX)
- {
- /* top of heap is bigger than _HEAP_MAX */
- errno = ENOMEM;
- return (void *) -1;
- }
-
- /* success: update heap_ptr and return previous value */
- heap_ptr += size;
- return (void *)old_heap_ptr;
-}
diff --git a/libgloss/crx/sim.ld b/libgloss/crx/sim.ld
deleted file mode 100644
index a75c03d..0000000
--- a/libgloss/crx/sim.ld
+++ /dev/null
@@ -1,126 +0,0 @@
-/* Example Linker Script for linking NS CRX elf32 files. */
-OUTPUT_FORMAT("elf32-crx")
-OUTPUT_ARCH(crx)
-
-/*
- The libh.a library includes various CR default handlers.
- The libsim.a library includes low-level functions, which
- are used as an interface to communicate with the simulator.
-*/
-GROUP(-lc -lsim -lh -lgcc)
-
-/*
- The next line forces the entry point (_start in this script)
- to be entered in the output file as an undefined symbol.
- It is needed in case the entry point is not called explicitly
- (which is the usual case) AND is in an archive.
-*/
-EXTERN(_start)
-ENTRY(_start)
-
-/* Define memory regions */
-MEMORY
-{
- rom : ORIGIN = 0x2, LENGTH = 3M
- ram : ORIGIN = 4M, LENGTH = 10M
-}
-
-SECTIONS
-{
- .init :
- {
- __INIT_START = .;
- KEEP (*(.init))
- __INIT_END = .;
- } > rom
-
- .fini :
- {
- __FINI_START = .;
- KEEP (*(.fini))
- __FINI_END = .;
- } > rom
-
- .jcr :
- {
- KEEP (*(.jcr))
- } > rom
-
- .text :
- {
- __TEXT_START = .;
- *(.text) *(.text.*) *(.gnu.linkonce.t.*)
- __TEXT_END = .;
- } > rom
-
- .rdata :
- {
- __RDATA_START = .;
- *(.rdata_4) *(.rdata_2) *(.rdata_1) *(.rdata.*) *(.gnu.linkonce.r.*)
- __RDATA_END = .;
- } > rom
-
- .ctor ALIGN(4) :
- {
- __CTOR_START = .;
- KEEP (*crtbegin*.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- __CTOR_END = .;
- } > rom
-
- .dtor ALIGN(4) :
- {
- __DTOR_START = .;
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- __DTOR_END = .;
- } > rom
-
- .data :
- {
- __DATA_START = .;
- *(.data_4) *(.data_2) *(.data_1) *(.data) *(.data.*) *(.gnu.linkonce.d.*)
- __DATA_END = .;
- } > ram AT > rom
-
- .bss (NOLOAD) :
- {
- __BSS_START = .;
- *(.bss_4) *(.bss_2) *(.bss_1) *(.bss) *(COMMON) *(.bss.*) *(.gnu.linkonce.b.*)
- __BSS_END = .;
- } > ram
-
-/*
- You may change the sizes of the following sections to fit the actual
- size your program requires.
- The heap and stack are aligned to the bus width, as a speed optimization
- for accessing data located there.
-*/
- .heap :
- {
- . = ALIGN(4);
- __HEAP_START = .;
- . += 0x2000;
- __HEAP_MAX = .;
- } > ram
-
- .stack :
- {
- . = ALIGN(4);
- . += 0x6000;
- __STACK_START = .;
- } > ram
-
- .istack :
- {
- . = ALIGN(4);
- . += 0x100;
- __ISTACK_START = .;
- } > ram
-}
-
-__DATA_IMAGE_START = LOADADDR(.data);
diff --git a/libgloss/crx/stat.c b/libgloss/crx/stat.c
deleted file mode 100644
index 6ffef82..0000000
--- a/libgloss/crx/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/crx/svc_hndl.c b/libgloss/crx/svc_hndl.c
deleted file mode 100644
index ab93a4d..0000000
--- a/libgloss/crx/svc_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* svc_hndl.c -- Implementation of the SVC trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void svc_handler (void) __attribute__ ((interrupt ()));
-
-void svc_handler (void)
-{
- HOST_SERVICE (SVC_SVC);
-}
diff --git a/libgloss/crx/time.c b/libgloss/crx/time.c
deleted file mode 100644
index e82468c..0000000
--- a/libgloss/crx/time.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* time.c -- Implementation of the low-level time() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <time.h>
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/syscall.h>
-
-time_t _Time (time_t *timer)
-{
- HOST_SERVICE (SVC_TIME);
-}
-
-time_t time (time_t *tod)
-{
- time_t t = _Time (NULL);
-
- if (tod)
- *tod = t;
-
- return (t);
-}
-
-/* _times -- no clock, so return an error. */
-clock_t times (struct tms *buf)
-{
- errno = EINVAL;
- return (-1);
-}
-
-/* _gettimeofday -- implement in terms of time. */
-int gettimeofday (struct timeval *tv, void *tzvp)
-{
- struct timezone *tz = tzvp;
- if (tz)
- tz->tz_minuteswest = tz->tz_dsttime = 0;
-
- tv->tv_usec = 0;
- tv->tv_sec = time (0);
- return 0;
-}
-
diff --git a/libgloss/crx/und_hndl.c b/libgloss/crx/und_hndl.c
deleted file mode 100644
index 4c5cca3..0000000
--- a/libgloss/crx/und_hndl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* und_hndl.c -- Implementation of the UND trap handler
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-void und_handler (void) __attribute__ ((interrupt ()));
-
-void und_handler (void)
-{
- HOST_SERVICE (SVC_UND);
-}
diff --git a/libgloss/crx/unlink.c b/libgloss/crx/unlink.c
deleted file mode 100644
index 3a93471..0000000
--- a/libgloss/crx/unlink.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* unlink.c -- Implementation of the low-level unlink() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int unlink (char *path)
-{
- HOST_SERVICE (SVC_UNLINK);
-}
diff --git a/libgloss/crx/write.c b/libgloss/crx/write.c
deleted file mode 100644
index a9a7ff4..0000000
--- a/libgloss/crx/write.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* write.c -- Implementation of the low-level write() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/syscall.h>
-
-int write (int fd, char *buffer, int nbytes)
-{
- HOST_SERVICE (SVC_WRITE);
-}
diff --git a/libgloss/d30v/Makefile.in b/libgloss/d30v/Makefile.in
deleted file mode 100644
index 83148b5..0000000
--- a/libgloss/d30v/Makefile.in
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright (c) 1997 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-
-#
-# This currently works with the D30V simulator.
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = isatty.o print.o putnum.o sbrk.o
-CFLAGS = -g
-SCRIPTS = ${SIM_SCRIPTS}
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = crt0.o
-SIM_OBJS = syscalls.o outbyte.o inbyte.o
-SIM_TEST =
-SIM_INSTALL = install-sim
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${SIM_CRT0} ${SIM_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} $@ ${SIM_OBJS} ${OBJS}
- ${RANLIB} $@
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST}
-
-crt0.o: crt0.S
-syscalls.o: syscalls.c $(srcdir)/../syscall.h
-outbyte.o: outbyte.c
-inbyte.o: inbyte.c
-
-isatty.o: $(srcdir)/../isatty.c
-print.o: $(srcdir)/../print.c
-putnum.o: $(srcdir)/../putnum.c
-sbrk.o: $(srcdir)/../sbrk.c
-
-clean mostlyclean:
- rm -f a.out core *.[oais] *-test *.srec *.dis *.x syscall.h
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL}
-
-install-sim:
- set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/d30v/aclocal.m4 b/libgloss/d30v/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/d30v/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/d30v/configure b/libgloss/d30v/configure
deleted file mode 100755
index 360188c..0000000
--- a/libgloss/d30v/configure
+++ /dev/null
@@ -1,3732 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/d30v/configure.in b/libgloss/d30v/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/d30v/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/d30v/crt0.S b/libgloss/d30v/crt0.S
deleted file mode 100644
index e2ca8a5..0000000
--- a/libgloss/d30v/crt0.S
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * crt0.S -- startup file for D30V systems.
- *
- * Copyright (c) 1997 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- .file "crt0.S"
- .text
- .globl _start
- .extern main
- .extern exit
- .extern __stack
- .extern __sbss_start
- .extern __sbss_end
- .extern __ebss_start
- .extern __ebss_end
- .extern __bss_start
- .extern __bss_end
- .extern memset
- .type _start,@function
-
-_start: or.l sp,r0,__stack
-
- /* Zero the .sbss area */
- or.l r2,r0,__sbss_start
- or.l r4,r0,__sbss_end
- sub r4,r4,r2 || or.s r3,r0,0
- bsrtnz.l r4,(memset)
-
- /* Zero the .ebss area */
- or.l r2,r0,__ebss_start
- or.l r4,r0,__ebss_end
- sub r4,r4,r2 || or.s r3,r0,0
- bsrtnz.l r4,(memset)
-
- /* Zero the .bss area */
- or.l r2,r0,__bss_start
- or.l r4,r0,__bss_end
- sub r4,r4,r2 || or.s r3,r0,0
- bsrtnz.l r4,(memset)
-
- or.s r2,r0,0 || or.s r3,r0,0
- or r4,r0,0 || nop
- jsr.l (main)
- jsr.l (exit)
- .size _start,.-_start
diff --git a/libgloss/d30v/inbyte.c b/libgloss/d30v/inbyte.c
deleted file mode 100644
index 8a2001c..0000000
--- a/libgloss/d30v/inbyte.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* inbyte -- read a single byte.
- *
- * Copyright (c) 1997 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int
-inbyte (void)
-{
- char ch;
- if (read (0, &ch, 1) == 1)
- return ch;
-
- return -1;
-}
diff --git a/libgloss/d30v/outbyte.c b/libgloss/d30v/outbyte.c
deleted file mode 100644
index 4421eff..0000000
--- a/libgloss/d30v/outbyte.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* outbyte -- write a single byte.
- *
- * Copyright (c) 1997 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-void
-outbyte (int byte)
-{
- char ch = byte;
- write (1, &ch, 1);
-}
diff --git a/libgloss/d30v/syscalls.c b/libgloss/d30v/syscalls.c
deleted file mode 100644
index 64fbcf9..0000000
--- a/libgloss/d30v/syscalls.c
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * syscalls.c -- provide system call support via trap 31
- *
- * Copyright (c) 1997 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- * Read bytes, using simulator trap 31.
- */
-
-#include <stdlib.h>
-#include <time.h>
-#include "syscall.h"
-
-extern int *__errno(), errno;
-
-__asm__ (
-" .globl __syscall \n\
- .type __syscall,@function \n\
-__syscall: \n\
- trap 31 || nop \n\
- cmpge f0,r2,0 -> jmp/tx link \n\
- bra __set_errno \n\
- .size __syscall,.-__syscall \n\
-");
-
-int
-__set_errno (int new_errno)
-{
- errno = new_errno;
- *(__errno)() = errno;
- return -1;
-}
-
-void
-_exit (int status)
-{
- __syscall (status, 0, 0, 0, SYS_exit);
-}
-
-int
-open (const char *filename, int flags, int mode)
-{
- return __syscall (filename, flags, mode, 0, SYS_open);
-}
-
-int
-close (int filedes)
-{
- return __syscall (filedes, 0, 0, 0, SYS_close);
-}
-
-int
-read (int filedes, void *buffer, size_t length)
-{
- return __syscall (filedes, buffer, length, 0, SYS_read);
-}
-
-int
-write (int filedes, void *buffer, size_t length)
-{
- return __syscall (filedes, buffer, length, 0, SYS_write);
-}
-
-long
-lseek (int filedes, long offset, int whence)
-{
- return __syscall (filedes, offset, whence, 0, SYS_lseek);
-}
-
-int
-unlink (const char *filename)
-{
- return __syscall (filename, 0, 0, 0, SYS_unlink);
-}
-
-int
-getpid (void)
-{
- return __syscall (0, 0, 0, 0, SYS_getpid);
-}
-
-int
-kill (int signal, int pid)
-{
- return __syscall (signal, pid, 0, 0, SYS_kill);
-}
-
-int
-fstat (int filedes, void *info)
-{
- return __syscall (filedes, info, 0, 0, SYS_fstat);
-}
-
-int
-__argvlen (void)
-{
- return __syscall (0, 0, 0, 0, SYS_argvlen);
-}
-
-int
-__argv (void)
-{
- return __syscall (0, 0, 0, 0, SYS_argv);
-}
-
-int
-chdir (char *dir)
-{
- return __syscall (dir, 0, 0, 0, SYS_chdir);
-}
-
-int
-stat (const char *__restrict filename, void *__restrict info)
-{
- return __syscall (filename, info, 0, 0, SYS_stat);
-}
-
-int
-chmod (const char *filename, int mode)
-{
- return __syscall (filename, mode, 0, 0, SYS_chmod);
-}
-
-int
-utime (const char *filename, void *packet)
-{
- return __syscall (filename, packet, 0, 0, SYS_utime);
-}
-
-time_t
-time (time_t *time_ptr)
-{
- time_t result;
- result = (time_t) __syscall (time_ptr, 0, 0, 0, SYS_time);
- if (time_ptr != NULL)
- *time_ptr = result;
- return result;
-}
diff --git a/libgloss/debug.c b/libgloss/debug.c
deleted file mode 100644
index 3b1c8ff..0000000
--- a/libgloss/debug.c
+++ /dev/null
@@ -1,848 +0,0 @@
-/*
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * A debug packet whose contents are <data> looks like:
- *
- * $ <data> # CSUM1 CSUM2
- *
- * <data> must be ASCII alphanumeric and cannot include characters
- * '$' or '#'. If <data> starts with two characters followed by
- * ':', then the existing stubs interpret this as a sequence number.
- *
- * CSUM1 and CSUM2 are ascii hex representation of an 8-bit
- * checksum of <data>, the most significant nibble is sent first.
- * the hex digits 0-9,a-f are used.
- *
- * We respond with:
- *
- * + - if CSUM is correct and ready for next packet
- * - - if CSUM is incorrect
- *
- * <data> is as follows:
- * Most values are encoded in ascii hex digits.
- */
-
-#include "debug.h"
-#include <signal.h>
-
-/*
- * buffers that hold the packets while they're being constructed.
- */
-char packet_in_buf[BUFMAX];
-char packet_out_buf[BUFMAX];
-int packet_index;
-
-/*
- * indicate to caller of mem2hex or hex2mem that there has been an error.
- * 0 means ok, 1 means error
- */
-volatile int mem_err = 0;
-
-/*
- * 1 means print debugging messages from the target, 0 means be quiet. This is
- * changed by gdb_debug().
- */
-int remote_debug = 0;
-
-/*
- * indicate whether the debug vectors ahave been initialized
- * 0 means not yet, 1 means yep, it's ready.
- */
-int initialized = 0;
-
-/*
- * These variables are instantialted in the GDB stub code.
- */
-
-/* this is a list of signal to exception mappings. */
-extern struct trap_info hard_trap_info[];
-
-/* this is a memory fault exception handler, used by mem2hex & hex2mem */
-extern void set_mem_fault_trap();
-
-/*
- * print debugging messages. This uses print, rather than one of the
- * stdio routines, cause if there are stack or memory problems, the
- * stdio routines don't work.
- * params are the debug level, and the string to print
- * it doesn't return anything.
- */
-void
-debuglog(int level, char *msg)
-{
- char *p;
- unsigned char buf[BUFMAX];
- char newmsg[BUFMAX];
- int i;
-
- if (level > remote_debug)
- return;
-
- if ((level <0) || (level > 100)) {
- print ("ERROR: debug print level out of range");
- return;
- }
-
- /* convert some characters so it'll look right in the log */
- p = newmsg;
- for (i = 0 ; msg[i] != '\0'; i++) {
- if (i > BUFMAX)
- print ("\r\nERROR: Debug message too long\r\n");
- switch (msg[i]) {
- case '\n': /* newlines */
- *p++ = '\\';
- *p++ = 'n';
- continue;
- case '\r': /* carriage returns */
- *p++ = '\\';
- *p++ = 'r';
- continue;
- case '\033': /* escape */
- *p++ = '\\';
- *p++ = 'e';
- continue;
- case '\t': /* tab */
- *p++ = '\\';
- *p++ = 't';
- continue;
- case '\b': /* backspace */
- *p++ = '\\';
- *p++ = 'b';
- continue;
- default: /* no change */
- *p++ = msg[i];
- }
-
- if (msg[i] < 26) { /* modify control characters */
- *p++ = '^';
- *p++ = msg[i] + 'A';
- continue;
- }
- if (msg[i] >= 127) { /* modify control characters */
- *p++ = '!';
- *p++ = msg[i] + 'A';
- continue;
- }
- }
- *p = '\0'; /* terminate the string */
- print (newmsg);
- print ("\r\n");
-}
-
-/*
- * convert an ascii hex digit to a number.
- * param is hex digit.
- * returns a decimal digit.
- */
-int
-hex2digit (int digit)
-{
- if (digit == 0)
- return 0;
-
- if (digit >= '0' && digit <= '9')
- return digit - '0';
- if (digit >= 'a' && digit <= 'f')
- return digit - 'a' + 10;
- if (digit >= 'A' && digit <= 'F')
- return digit - 'A' + 10;
-
- /* shouldn't ever get this far */
- return ERROR;
-}
-
-/*
- * convert number NIB to a hex digit.
- * param is a decimal digit.
- * returns a hex digit.
- */
-char
-digit2hex(int digit)
-{
- if (digit < 10)
- return '0' + digit;
- else
- return 'a' + digit - 10;
-}
-
-/*
- * Convert the memory pointed to by mem into hex, placing result in buf.
- * Return a pointer to the last char put in buf (null), in case of mem fault,
- * return 0.
- * If MAY_FAULT is non-zero, then we will handle memory faults by returning
- * a 0, else treat a fault like any other fault in the stub.
- */
-unsigned char *
-mem2hex(unsigned char *mem, unsigned char *buf, int count, int may_fault)
-{
- unsigned char ch;
-
- DEBUG (1, "In mem2hex");
-
- set_mem_fault_trap(MAY_FAULT);
-
- while (count-- > 0) {
- ch = *mem++;
- if (mem_err) {
- DEBUG (1, "memory fault in mem2hex");
- return 0;
- }
- *buf++ = digit2hex(ch >> 4);
- *buf++ = digit2hex(ch & 0xf);
- }
-
- *buf = 0;
-
- set_mem_fault_trap(OK);
-
- return buf;
-}
-
-/*
- * Convert the hex array pointed to by buf into binary to be placed in mem
- * return a pointer to the character AFTER the last byte written
- */
-unsigned char *
-hex2mem(unsigned char *buf, unsigned char *mem, int count, int may_fault)
-{
- int i;
- unsigned char ch;
-
- DEBUG (1, "In hex2mem");
-
- set_mem_fault_trap(may_fault);
-
- for (i=0; i<count; i++) {
- ch = hex2digit(*buf++) << 4;
- ch |= hex2digit(*buf++);
- *mem++ = ch;
- if (mem_err)
- return 0;
- }
-
- set_mem_fault_trap(0);
-
- return mem;
-}
-
-/*
- * while we find nice hex chars, build an int.
- * param is a pointer to the string.
- * returns the int in the param field, and the number of chars processed.
- */
-int
-hex2int (char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex2digit(**ptr);
- if (hexValue < 0)
- break;
-
- *intValue = (*intValue << 4) | hexValue;
- numChars ++;
- (*ptr)++;
- }
- return (numChars);
-}
-
-/*
- * Scan for the sequence $<data>#<checksum>
- */
-void
-getpacket(unsigned char *buffer)
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- unsigned char ch;
-
- do {
- /* wait around for the start character, ignore all other characters */
- while ((ch = (inbyte() & 0x7f)) != '$') ;
-
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX) {
- ch = inbyte() & 0x7f;
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
-
- if (count >= BUFMAX)
- continue;
-
- buffer[count] = 0;
-
- if (ch == '#') {
- xmitcsum = hex2digit(inbyte() & 0x7f) << 4;
- xmitcsum |= hex2digit(inbyte() & 0x7f);
-#if 1
- /* Humans shouldn't have to figure out checksums to type to it. */
- outbyte ('+');
- return;
-#endif
- if (checksum != xmitcsum)
- outbyte('-'); /* failed checksum */
- else {
- outbyte('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':') {
- outbyte(buffer[0]);
- outbyte(buffer[1]);
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++)
- buffer[i-3] = buffer[i];
- }
- }
- }
- }
- while (checksum != xmitcsum);
-}
-
-/*
- * Send the packet in buffer.
- */
-void
-putpacket(unsigned char *buffer)
-{
- unsigned char checksum;
- int count;
- unsigned char ch;
-
- /* $<packet info>#<checksum>. */
- do {
- outbyte('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count]) {
- if (! outbyte(ch))
- return;
- checksum += ch;
- count += 1;
- }
-
- outbyte('#');
- outbyte(digit2hex(checksum >> 4));
- outbyte(digit2hex(checksum & 0xf));
-
- }
- while ((inbyte() & 0x7f) != '+');
-}
-
-/*
- *
- */
-void
-gdb_event_loop(int sigval, unsigned long *registers)
-{
- int addr;
- int length;
- unsigned char *ptr;
- ptr = packet_out_buf;
-
- DEBUG (1, "In gdb_event_loop");
-
- while (1) {
- packet_out_buf[0] = 0;
-
- getpacket(packet_in_buf);
- ptr = &packet_in_buf[1];
-
- switch (packet_in_buf[0]) {
- case '?': /* get the last known signal */
- gdb_last_signal(sigval);
- break;
-
- case 'd': /* toggle debug messages from the stub */
- gdb_toggle();
- break;
-
- case 'g': /* return the value of the CPU registers */
- target_read_registers(registers);
- break;
-
- case 'G': /* set the value of the CPU registers - return OK */
- target_write_registers(registers);
- break;
-
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* Try to read %x,%x. */
- if (hex2int((char **)&ptr, &addr)
- && *ptr++ == ','
- && hex2int((char **)&ptr, &length)) {
- gdb_read_memory(addr, length);
- } else {
- make_return_packet(1);
- }
- break;
-
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* Try to read '%x,%x:'. */
- if (hex2int((char **)&ptr, &addr)
- && *ptr++ == ','
- && hex2int((char **)&ptr, &length)
- && *ptr++ == ':') {
- gdb_write_memory (addr, length, ptr);
- } else {
- make_return_packet(2);
- }
- break;
-
- case 'c': /* cAA..AA Continue at address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
- if (hex2int((char **)&ptr, &addr)) {
- write_pc(registers, addr);
- }
-
- /*
- * we need to flush the instruction cache here, as we may have
- * deposited a breakpoint, and the icache probably has no way of
- * knowing that a data ref to some location may have changed
- * something that is in the instruction cache.
- */
-
- flush_i_cache();
- /* by returning, we pick up execution where we left off */
- return;
-
- /* kill the program */
- case 'k' :
- gdb_kill();
- break;
- case 'r': /* Reset */
- target_reset();
- break;
- } /* switch */
-
- /* reply to the request */
- putpacket(packet_out_buf);
- }
- DEBUG (1, "Leaving handle_exception()");
-}
-
-/* Convert the hardware trap type code to a unix signal number. */
-
-int
-computeSignal(int tt)
-{
- struct trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- if (ht->tt == tt)
- return ht->signo;
-
- return SIGHUP; /* default for things we don't know about */
-}
-
-/*
- * Set up exception handlers for tracing and breakpoints
- */
-void
-set_debug_traps()
-{
- struct trap_info *ht;
-
- DEBUG (1, "Entering set_debug_traps()");
-
- if (hard_trap_info->tt == 0) {
- print ("ERROR: ARG#$@%^&*!! no hard trap info!!\r\n");
- }
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++) {
- exception_handler(ht->tt, (unsigned long)default_trap_hook);
- }
-
- /* In case GDB is started before us, ack any packets (presumably
- "$?#xx") sitting there. */
-
- outbyte ('+');
- initialized = 1;
-
- DEBUG (1, "Leaving set_debug_traps()");
-}
-
-/*
- * make a return packet.
- * param is the value to return.
- * 0 = OK, any other value is converted to a two digit hex number.
- * returns a string or "OK" or "ENN", where NN is the error number. Each N
- * is an ASCII encoded hex digit.
- */
-char *
-make_return_packet(int val)
-{
- if (val == 0) {
- packet_out_buf[0] = 'O';
- packet_out_buf[1] = 'K';
- packet_out_buf[2] = 0;
- } else {
- packet_out_buf[0] = 'E';
- packet_out_buf[1] = digit2hex((val >> 4) & 0xf);
- packet_out_buf[2] = digit2hex(val & 0xf);
- packet_out_buf[3] = 0;
- }
- return(packet_out_buf);
-}
-
-/*
- * g - read registers.
- * no params.
- * returns a vector of words, size is NUM_REGS.
- */
-char *
-gdb_read_registers()
-{
-}
-
-/*
- * G - write registers.
- * param is a vector of words, size is NUM_REGS.
- * returns an OK or an error number.
- */
-char *
-gdb_write_registers(char *regs)
-{
-}
-
-/*
- * m - read memory.
- * params are the address to start the read at and the number of
- * bytes to read.
- * returns a vector of nbytes or an error number.
- * Can be fewer bytes than requested if able to read only part of the
- * data.
- */
-char *
-gdb_read_memory(long addr, int nbytes)
-{
- if (mem2hex((char *)addr, packet_out_buf, nbytes, MAY_FAULT))
- return(packet_out_buf);
- else {
- return(make_return_packet(3));
- }
-}
-
-/*
- * M write memory
- * params are the address to start writing to, the number of
- * bytes to write, and the new values of the bytes.
- * returns an OK or an error number.
- */
-char *
-gdb_write_memory(long addr, int nbytes, char *mem)
-{
- if (hex2mem(mem, (char *)addr, nbytes, MAY_FAULT))
- return(make_return_packet(OK));
- else {
- return(make_return_packet(3));
- }
-}
-
-/*
- * c - continue at address.
- * param is the address to start at, and an optional signal. If
- * sig is zero, then ignore it.
- * returns an OK or an error number.
- */
-char *
-gdb_continue(int sig, long addr)
-{
-}
-
-/*
- * s - step instruction(s)
- * param is the address to start at, and an optional signal. If
- * sig is zero, then ignore it.
- * returns an OK or an error number.
- */
-char *
-gdb_step(int sig, long addr)
-{
-}
-
-/*
- * k - kill program.
- * no params.
- * returns an OK or an error number.
- */
-char *
-gdb_kill()
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * ? - last signal.
- * no params.
- * returns the last signal number.
- */
-char *
-gdb_last_signal(int val)
-{
- DEBUG (1, "Entering gdb_last_signal()");
-
- packet_out_buf[0] = 'S';
- packet_out_buf[1] = digit2hex(val >> 4);
- packet_out_buf[2] = digit2hex(val & 0xf);
- packet_out_buf[3] = 0;
-
- DEBUG (1, "Leaving gdb_last_signal()");
- return (packet_out_buf);
-}
-
-/*
- * b - change baud rate.
- * param is the new baudrate
- * returns the baud rate.
- */
-char *
-gdb_baudrate(int baud)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * T - dump state.
- * no params.
- * returns the signal number, the registers, the thread ID, and
- * possible extensions in a vector that looks like:
- * TAAn...:r...;n...:r...;n...:r...; where:
- * AA = signal number
- * n... = register number (hex)
- * r... = register contents
- * n... = `thread'
- * r... = thread process ID. This is a hex integer.
- * n... = other string not starting with valid hex digit.
- * gdb should ignore this n,r pair and go on to
- * the next. This way we can extend the protocol.
- */
-char *
-gdb_dump_state()
-{
-}
-
-/*
- * D - host requests a detach
- * no params.
- * returns either a S, T, W, or X command.
- * returns an OK or an error number.
- */
-char *
-gdb_detach()
-{
-}
-
-/*
- * H - set thread.
- * params are the command to execute and the thread ID.
- * cmd = 'c' for thread used in step and continue;
- * cmd = 'g' for thread used in other operations.
- * tid = -1 for all threads.
- * tid = zero, pick a thread,any thread.
- * returns an OK or an error number.
- */
-char *
-gdb_set_thread(int cmd, int tid)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * p - read one register.
- * param is the register number.
- * returns the register value or ENN.
- */
-char *
-gdb_read_reg(int reg)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * P - write one register.
- * params are the register number, and it's new value.
- * returns the register value or ENN.
- */
-char *
-gdb_write_reg(int reg, long val)
-{
- /* generically, we can't do anything for this command */
-
- return(make_return_packet(OK));
-}
-
-/*
- * W - process exited.
- * no params.
- * returns the exit status.
- */
-char *
-gdb_exited()
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * X - process terminated.
- * no params.
- * returns the last signal.
- */
-char *
-gdb_terminated()
-{
-}
-
-/*
- * O - hex encoding.
- * params are a vector of bytes, and the number of bytes to encode.
- * returns a vector of ASCII encoded hex numbers.
- */
-char *
-gdb_hex(char *str, int nbytes)
-{
-}
-
-/*
- * A - tread alive request.
- * param is the thread ID.
- * returns an OK or an error number.
- */
-char *
-gdb_thread_alive(int tid)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * ! - extended protocol.
- * no params.
- * returns an OK or an error number.
- */
-char *
-gdb_extended()
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * d - toggle gdb stub diagnostics.
- * no params.
- * returns an OK or an error number.
- */
-char *
-gdb_debug()
-{
- if (remote_debug > 0)
- remote_debug = 0;
- else
- remote_debug = 1;
-
- return(make_return_packet(OK));
-}
-
-/*
- * d - toggle gdb stub.
- * no params.
- * returns an OK or an error number.
- */
-char *
-gdb_toggle()
-{
- static int level = 0;
-
- if (remote_debug) {
- level = remote_debug;
- remote_debug = 0;
- } else {
- remote_debug = level;
- }
-
- return(make_return_packet(OK));
-}
-
-/*
- * r - reset target
- * no params.
- * returns an OK or an error number.
- */
-char *
-gdb_reset()
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * t - search backwards.
- * params are the address to start searching from, a pattern to match, and
- * the mask to use.
- * FIXME: not entirely sure what this is supposed to return.
- */
-char *
-gdb_search(long addr, long pat, long mask)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * q - general get query.
- * param is a string, that's the query to be executed.
- * FIXME: not entirely sure what this is supposed to return.
- */
-char *
-gdb_get_query(char *query)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-/*
- * Q - general set query
- * param is a string, that's the query to be executed.
- * FIXME: not entirely sure what this means.
- * returns an OK or an error number.
- */
-char *
-gdb_set(char *query)
-{
- /* generically, we can't do anything for this command */
- return(make_return_packet(OK));
-}
-
-
diff --git a/libgloss/debug.h b/libgloss/debug.h
deleted file mode 100644
index 9a78076..0000000
--- a/libgloss/debug.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-static const char hexchars[]="0123456789abcdef";
-
-typedef void (*exception_t)(int); /* pointer to function with int parm */
-
-/*
- * This is the default function handler to be called with all exceptions.
- */
-extern exception_t default_trap_hook;
-
-/* this is used to make Unix style signale nukbers to an exception */
-struct trap_info
-{
- unsigned char tt; /* exception number */
- unsigned char signo; /* corresponding signal number */
-};
-
-/*
- * prototypes for the functions in debug.c. As these'll only be used with GCC,
- * we don't worry about no stinkin K&R comilers.
- */
-extern void exception_handler (int, unsigned long);
-extern unsigned char *mem2hex(unsigned char *, unsigned char *, int, int);
-extern unsigned char *hex2mem(unsigned char *, unsigned char *, int, int);
-extern void getpacket(unsigned char *);
-extern void putpacket(unsigned char *);
-extern char *make_return_packet(int);
-extern void set_debug_traps();
-extern int computeSignal(int);
-extern char digit2hex(int);
-extern int hex2digit(int);
-extern void debuglogs(int level, char *msg);
-extern int hex2int();
-extern char *int2hex(int);
-extern void gdb_event_loop(int, unsigned long *);
-
-extern char *gdb_read_registers(); /* g - read registers */
-extern char *gdb_write_registers(char *); /* G - write registers */
-extern char *gdb_read_memory(long, int); /* m - read memory */
-extern char *gdb_write_memory(long, int, char *);/* M write memory */
-extern char *gdb_continue(int, long ); /* c - continue */
-extern char *gdb_step(int, long); /* s - step instruction(s) */
-extern char *gdb_kill(); /* k - kill program */
-extern char *gdb_last_signal(); /* ? - last signal */
-extern char *gdb_baudrate(int); /* b - change baud rate */
-extern char *gdb_dump_state(); /* T - dump state */
-extern char *gdb_set_thread(int, int); /* H - set thread */
-extern char *gdb_detach(); /* D - detach */
-extern char *gdb_read_reg(int); /* p - read one register */
-extern char *gdb_write_reg(int, long); /* P - write one register */
-extern char *gdb_exited(); /* W - process exited */
-extern char *gdb_terminated(); /* X - process terminated */
-extern char *gdb_hex(); /* O - hex encoding */
-extern char *gdb_thread_alive(int); /* A - tread alive request */
-extern char *gdb_extended(); /* ! - extended protocol */
-extern char *gdb_debug(); /* d - toggle stub diagnostics */
-extern char *gdb_toggle(); /* unsupported, toggle stub on/off */
-extern char *gdb_reset(); /* r - reset target */
-extern char *gdb_search(long, long, long); /* t - search backwards */
-extern char *gdb_query(char *); /* q - general query */
-extern char *gdb_set(char *); /* Q - set value */
-
-/*
- * indicate to caller of mem2hex or hex2mem that there has been an error.
- * 0 means ok, 1 means error
- */
-extern volatile int mem_err;
-
-/*
- * indicate whether the debug vectors have been initialized
- * 0 means not yet, 1 means yep, it's ready.
- */
-extern int initialized;
-
-/*
- * 1 means print debugging messages from the target, 0 means be quiet.
- */
-extern int remote_debug;
-
-/*
- * Set up the command processing required for GDB
- */
-
-struct gdb_ops {
- /*
- * these functions are the most minimal working subset top get full
- * functionality for remote debugging
- */
- char *(*gdb_read_registers); /* g - read registers */
- char *(*gdb_write_registers)(char *); /* G - write registers */
- char *(*gdb_read_memory)(long, int); /* m - read memory */
- char *(*gdb_write_memory)(long, int, char *);/* M write memory */
- char *(*gdb_continue)(int, long ); /* c - continue */
- char *(*gdb_step)(int, long); /* s - step instruction(s) */
- char *(*gdb_kill); /* k - kill program */
- char *(*gdb_last_signal); /* ? - last signal */
- char *(*gdb_baudrate)(int); /* b - change baud rate */
- char *(*gdb_dump_state); /* T - dump state */
- /*
- * these functions are for a more sophisticated target, typically
- * running a simple RTOS.
- */
- char *(*gdb_set_thread)(int, int); /* H - set thread */
- char *(*gdb_detach); /* D - detach */
- char *(*gdb_read_reg)(int); /* p - read one register */
- char *(*gdb_write_reg)(int, long); /* P - write one register */
- char *(*gdb_exited); /* W - process exited */
- char *(*gdb_terminated); /* X - process terminated */
- char *(*gdb_hex); /* O - hex encoding */
- char *(*gdb_thread_alive)(int); /* A - tread alive request */
- /* FIXME: not standard yet */
- char *(*gdb_extended); /* ! - extended protocol */
- char *(*gdb_debug); /* d - toggle stub diagnostics */
- char *(*gdb_toggle); /* unsupported, toggle stub on/off */
- char *(*gdb_reset); /* r - reset target */
- char *(*gdb_search)(long, long, long); /* t - search backwards */
- char *(*gdb_query)(char *); /* q - general query */
- char *(*gdb_set)(long); /* Q - set value */
-};
-
-/*
- * BUFMAX defines the maximum number of characters in inbound/outbound buffers
- * at least NUMREGBYTES*2 are needed for register packets
- */
-#define BUFMAX 2048
-extern char packet_in_buf[BUFMAX];
-extern char packet_out_buf[BUFMAX];
-extern int packet_index;
-
-#define DEBUG(x, y) debuglog(x, y);
-#define set_debug_level(x) remote_debug = x;
-#define OK 0
-#define ERROR -1
-#define ENN(x) "x"
-
-#define MAY_FAULT 1
-#define NO_FAULT 0
diff --git a/libgloss/doc/Makefile.in b/libgloss/doc/Makefile.in
deleted file mode 100644
index 07fb1e1..0000000
--- a/libgloss/doc/Makefile.in
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-
-DESTDIR =
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-datarootdir = @datarootdir@
-
-mandir = @mandir@
-man1dir = $(mandir)/man1
-infodir = @infodir@
-
-MAKEINFO = makeinfo
-TEXI2DVI = TEXINPUTS=$(TEXIDIR):$(srcdir):$$TEXINPUTS texi2dvi
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Where to find texinfo.tex to format docn with TeX
-TEXIDIR = $(srcdir)/../../texinfo
-
-MANPAGES =
-
-all:
-
-info: porting.info
-
-html: porting.html
-
-dvi: porting.dvi
-
-pdf: porting.pdf
-
-ps: porting.ps
-
-doc: info dvi
-
-porting: porting.dvi porting.info
-
-######################################################################
-# DOCUMENTATION TARGETS
-# TeX output
-porting.dvi: $(srcdir)/porting.texi $(srcdir)/porting.texi
- $(TEXI2DVI) $(srcdir)/porting.texi
-
-porting.pdf: $(srcdir)/porting.texi $(srcdir)/porting.texi
- $(TEXI2DVI) --pdf $(srcdir)/porting.texi
-
-# info file for online browsing
-porting.info: $(srcdir)/porting.texi $(srcdir)/porting.texi
- $(MAKEINFO) -I $(srcdir) -o porting.info $(srcdir)/porting.texi
-
-porting.html: $(srcdir)/porting.texi $(srcdir)/porting.texi
- $(MAKEINFO) --html -I $(srcdir) -o porting.html $(srcdir)/porting.texi
-
-porting.ps: porting.dvi
- dvips -f porting.dvi > porting.ps
-
-# different targets for -ms, -mm, -me
-# Try to use a recent texi2roff. v2 was put on prep in jan91.
-# If you want an index, see texi2roff doc for postprocessing
-# and add -i to texi2roff invocations below.
-# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
-# correspondint -e lines when later texi2roff's are current)
-# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
-# + @c's deleted explicitly because texi2roff sees texinfo commands in them
-# + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
-# + @alphaenumerate is ridiculously new, turned into @enumerate
-
-# roff output (-ms)
-porting.ms: $(srcdir)/porting.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/porting.texi | \
- $(TEXI2ROFF) -ms | \
- sed -e 's/---/\\(em/g' \
- >porting.ms
-
-# roff output (-mm)
-# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
-# try leaving them in
-porting.mm: $(srcdir)/porting.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e '/@noindent/d' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/porting.texi | \
- $(TEXI2ROFF) -mm | \
- sed -e 's/---/\\(em/g' \
- >porting.mm
-
-# roff output (-me)
-porting.me: $(srcdir)/porting.texi
- sed -e '/\\input texinfo/d' \
- -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
- -e '/^@ifinfo/,/^@end ifinfo/d' \
- -e '/^@c/d' \
- -e 's/{.*,,/{/' \
- -e 's/@ / /g' \
- -e 's/^@alphaenumerate/@enumerate/g' \
- -e 's/^@end alphaenumerate/@end enumerate/g' \
- $(srcdir)/porting.texi | \
- $(TEXI2ROFF) -me | \
- sed -e 's/---/\\(em/g' \
- >porting.me
-
-
-######################################################################
-
-clean mostlyclean:
- -rm -f *.o *~ \#* core *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc \
- *.tp *.vr *.cps *.fns *.kys *.pgs *.tps *.vrs *.info* *.1 *.ps
-
-maintainer-clean realclean: clean
- -rm -f
-
-install:
-
-install-info: info
- for i in *.info* ; do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
- done
-
-clean-info:
- -rm -rf *.info*
-
-distclean: clean
- -rm -f Makefile config.cache config.log config.status
-
-Makefile: Makefile.in config.status
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/doc/configure b/libgloss/doc/configure
deleted file mode 100755
index 996ca12..0000000
--- a/libgloss/doc/configure
+++ /dev/null
@@ -1,2766 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="porting.texi"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files=''
- ac_precious_vars='build_alias
-host_alias
-target_alias'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
-
- esac
-
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/doc/configure.in b/libgloss/doc/configure.in
deleted file mode 100644
index ab16564..0000000
--- a/libgloss/doc/configure.in
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(porting.texi)
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-AC_CONFIG_FILES(Makefile)
-AC_OUTPUT
diff --git a/libgloss/doc/porting.texi b/libgloss/doc/porting.texi
deleted file mode 100644
index 9e1d928..0000000
--- a/libgloss/doc/porting.texi
+++ /dev/null
@@ -1,2100 +0,0 @@
-\input texinfo @c -*- Texinfo -*-
-@setfilename porting.info
-@settitle Embed with GNU
-
-@c
-@c This file documents the process of porting the GNU tools to an
-@c embedded environment.
-@c
-
-@finalout
-@setchapternewpage off
-@iftex
-@raggedbottom
-@global@parindent=0pt
-@end iftex
-
-@titlepage
-@title Embed With GNU
-@subtitle Porting The GNU Tools To Embedded Systems
-@sp 4
-@subtitle Spring 1995
-@subtitle Very *Rough* Draft
-@author Rob Savoye - Cygnus Support
-@page
-
-@vskip 0pt plus 1filll
-Copyright @copyright{} 1993, 1994, 1995 Cygnus Support
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided also that
-the entire resulting derived work is distributed under the terms of a
-permission notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions.
-@end titlepage
-
-@ifinfo
-@format
-START-INFO-DIR-ENTRY
-* Embed with GNU: (porting-). Embed with GNU
-END-INFO-DIR-ENTRY
-@end format
-Copyright (c) 1993, 1994, 1995 Cygnus Support
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided also that
-the entire resulting derived work is distributed under the terms of a
-permission notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions.
-
-@node Top
-@top Embed with GNU
-
-@end ifinfo
-@strong{Rough Draft}
-
-The goal of this document is to gather all the information needed to
-port the GNU tools to a new embedded target in one place. This will
-duplicate some info found in the other manual for the GNU tools, but
-this should be all you'll need.
-
-@menu
-* Libgloss:: Libgloss, a library of board support packages.
-* GCC:: Porting GCC/G++ to a new embedded target.
-* Libraries:: Making Newlib run on an new embedded target.
-* GDB:: Making GDB understand a new back end.
-* Binutils:: Using the GNU binary utilities.
-* Code Listings:: Listings of the commented source code from the
- text.
-@end menu
-
-@node Libgloss, GCC, Top, Top
-@chapter Libgloss
-Libgloss is a library for all the details that usually get glossed over.
-This library refers to things like startup code, and usually I/O support
-for @code{gcc} and @code{C library}. The C library used through out
-this manual is @code{newlib}. Newlib is a ANSI conforming C library
-developed by Cygnus Support. Libgloss could easily be made to
-support other C libraries, and it can be used standalone as well. The
-standalone configuration is typically used when bringing up new
-hardware, or on small systems.
-
-For a long time, these details were part of newlib. This approach worked
-well when a complete tool chain only had to support one system. A tool
-chain refers to the series of compiler passes required to produce a
-binary file that will run on an embedded system. For C, the passes are
-cpp, gcc, gas, ld. Cpp is the preprocessor, which process all the header
-files and macros. Gcc is the compiler, which produces assembler from the
-processed C files. Gas assembles the code into object files, and then ld
-combines the object files and binds the code to addresses and produces
-the final executable image.
-
-Most of the time a tool chain does only have to support one target
-execution environment. An example of this would be a tool chain for the
-AMD 29k processor family. All of the execution environments for this
-processor have the same interface, the same memory map, and the same
-I/O code. In this case all of the support code is under newlib/libc/sys.
-Libgloss's creation was forced initially because of the @code{cpu32}
-processor family. There are many different execution environments for
-this line, and they vary wildly. newlib itself has only a few
-dependencies that it needs for each target. These are explained later in
-this doc. The hardware dependent part of newlib was reorganized into a
-separate directory structure within newlib called the stub dirs. It was
-initially called this because most of the routines newlib needs for a
-target were simple stubs that do nothing, but return a value to the
-application. They only exist so the linker can produce a final
-executable image. This work was done during the early part of 1993.
-
-After a while it became apparent that this approach of isolating the
-hardware and systems files together made sense. Around this same time
-the stub dirs were made to run standalone, mostly so it could also be
-used to support GDB's remote debugging needs. At this time it was
-decided to move the stub dirs out of newlib and into it's own separate
-library so it could be used standalone, and be included in various other
-GNU tools without having to bring in all of newlib, which is large. The
-new library is called Libgloss, for Gnu Low-level OS support.
-
-@menu
-* Supported targets:: What targets libgloss currently
- supports.
-* Building libgloss:: How to configure and built libgloss
- for a target.
-* Board support:: How to add support for a new board.
-@end menu
-
-@node Supported targets, Building libgloss, Libgloss, Libgloss
-@section Supported Targets
-Currently libgloss is being used for the following targets:
-
-@menu
-* Sparclite:: Fujitsu's sparclite.
-* CPU32:: Various m68k based targets.
-* Mips:: Mips code based targets.
-* PA-RISC:: Precision Risc Organization..
-@end menu
-
-@node Sparclite, CPU32, , Supported targets
-@subsection Sparclite Targets Supported
-@c FIXME: put links to the docs in etc/targetdoc
-This is for the Fujitsu Sparclite family of processors. Currently this
-covers the ex930, ex931, ex932, ex933, and the ex934. In addition to the
-I/O code a startup file, this has a GDB debug-stub that gets linked into
-your application. This is an exception handler style debug stub. For
-more info, see the section on Porting GDB. @ref{GDB,,Porting GDB}.
-
-The Fujitsu eval boards use a host based terminal program to load and
-execute programs on the target. This program, @code{pciuh} is relatively
-new (in 1994) and it replaced the previous ROM monitor which had the
-shell in the ROM. GDB uses the the GDB remote protocol, the relevant
-source files from the gdb sources are remote-sparcl.c. The debug stub is
-part of libgloss and is called sparcl-stub.c.
-
-@node CPU32, Mips, Sparclite, Supported targets
-@subsection Motorola CPU32 Targets supported
-This refers to Motorola's m68k based CPU32 processor family. The crt0.S
-startup file should be usable with any target environment, and it's
-mostly just the I/O code and linker scripts that vary. Currently there
-is support for the Motorola MVME line of 6U VME boards and IDP
-line of eval boards. All of the
-Motorola VME boards run @code{Bug}, a ROM based debug monitor.
-This monitor has the feature of using user level traps to do I/O, so
-this code should be portable to other MVME boards with little if any
-change. The startup file also can remain unchanged. About the only thing
-that varies is the address for where the text section begins. This can
-be accomplished either in the linker script, or on the command line
-using the @samp{-Ttext [address]}.
-
-@c FIXME: Intermetrics or ISI wrote rom68k ?
-There is also support for the @code{rom68k} monitor as shipped on
-Motorola's IDP eval board line. This code should be portable across the
-range of CPU's the board supports. There is also GDB support for this
-target environment in the GDB source tree. The relevant files are
-gdb/monitor.c, monitor.h, and rom58k-rom.c. The usage of these files is
-discussed in the GDB section.
-
-@node Mips, PA-RISC, CPU32, Supported targets
-@subsection Mips core Targets Supported
-The Crt0 startup file should run on any mips target that doesn't require
-additional hardware initialization. The I/O code so far only supports a
-custom LSI33k based RAID disk controller board. It should easy to
-change to support the IDT line of eval boards. Currently the two
-debugging protocols supported by GDB for mips targets is IDT's mips
-debug protocol, and a customized hybrid of the standard GDB remote
-protocol and GDB's standard ROM monitor support. Included here is the
-debug stub for the hybrid monitor. This supports the LSI33k processor,
-and only has support for the GDB protocol commands @code{g}, @code{G},
-@code{m}, @code{M}, which basically only supports the register and
-memory reading and writing commands. This is part of libgloss and is
-called lsi33k-stub.c.
-
-The crt0.S should also work on the IDT line of eval boards, but has only
-been run on the LSI33k for now. There is no I/O support for the IDT eval
-board at this time. The current I/O code is for a customized version of
-LSI's @code{pmon} ROM monitor. This uses entry points into the monitor,
-and should easily port to other versions of the pmon monitor. Pmon is
-distributed in source by LSI.
-
-@node PA-RISC, , Mips, Supported targets
-@subsection PA-RISC Targets Supported
-This supports the various boards manufactured by the HP-PRO consortium.
-This is a group of companies all making variations on the PA-RISC
-processor. Currently supported are ports to the WinBond @samp{Cougar}
-board based around their w89k version of the PA. Also supported is the
-Oki op50n processor.
-
-There is also included, but never built an unfinished port to the HP 743
-board. This board is the main CPU board for the HP700 line of industrial
-computers. This target isn't exactly an embedded system, in fact it's
-really only designed to load and run HP-UX. Still, the crt0.S and I/O
-code are fully working. It is included mostly because their is a barely
-functioning exception handler GDB debug stub, and I hope somebody could
-use it. The other PRO targets all use GDB's ability to talk to ROM
-monitors directly, so it doesn't need a debug stub. There is also a
-utility that will produce a bootable file by HP's ROM monitor. This is
-all included in the hopes somebody else will finish it. :-)
-
-Both the WinBond board and the Oki board download srecords. The WinBond
-board also has support for loading the SOM files as produced by the
-native compiler on HP-UX. WinBond supplies a set of DOS programs that
-will allow the loading of files via a bidirectional parallel port. This
-has never been tested with the output of GNU SOM, as this manual is
-mostly for Unix based systems.
-
-@node Building libgloss, Board support, Supported targets, Libgloss
-@section Configuring and building libgloss.
-
-Libgloss uses an autoconf based script to configure. Autoconf scripts
-are portable shell scripts that are generated from a configure.in file.
-Configure input scripts are based themselves on m4. Most configure
-scripts run a series of tests to determine features the various
-supported features of the target. For features that can't be determined
-by a feature test, a makefile fragment is merged in. The configure
-process leaves creates a Makefile in the build directory. For libgloss,
-there are only a few configure options of importance. These are --target
-and --srcdir.
-
-Typically libgloss is built in a separate tree just for objects. In this
-manner, it's possible to have a single source tree, and multiple object
-trees. If you only need to configure for a single target environment,
-then you can configure in the source tree. The argument for --target is
-a config string. It's usually safest to use the full canonical opposed
-to the target alias. So, to configure for a CPU32 (m68k) with a separate
-source tree, use:
-
-@smallexample
-../src/libgloss/configure --verbose --target m68k-coff
-@end smallexample
-
-The configure script is in the source tree. When configure is invoked
-it will determine it's own source tree, so the --srcdir is would be
-redundant here.
-
-Once libgloss is configured, @code{make} is sufficient to build it. The
-default values for @code{Makefiles} are typically correct for all
-supported systems. The test cases in the testsuite will also built
-automatically as opposed to a @code{make check}, where test binaries
-aren't built till test time. This is mostly cause the libgloss
-testsuites are the last thing built when building the entire GNU source
-tree, so it's a good test of all the other compilation passes.
-
-The default values for the Makefiles are set in the Makefile fragment
-merged in during configuration. This fragment typically has rules like
-
-@smallexample
-CC_FOR_TARGET = `if [ -f $$@{OBJROOT@}/gcc/xgcc ] ; \
- then echo $@{OBJROOT@}/gcc/xgcc -B$@{OBJROOT@}/gcc/ ; \
- else t='$@{program_transform_name@}'; echo gcc | sed -e '' $$t ; fi`
-@end smallexample
-
-Basically this is a runtime test to determine whether there are freshly
-built executables for the other main passes of the GNU tools. If there
-isn't an executable built in the same object tree, then
-@emph{transformed}the generic tool name (like gcc) is transformed to the
-name typically used in GNU cross compilers. The names are
-typically based on the target's canonical name, so if you've configured
-for @code{m68k-coff} the transformed name is @code{m68k-coff-gcc} in
-this case. If you install with aliases or rename the tools, this won't
-work, and it will always look for tools in the path. You can force the a
-different name to work by reconfiguring with the
-@code{--program-transform-name} option to configure. This option takes a
-sed script like this @code{-e s,^,m68k-coff-,} which produces tools
-using the standard names (at least here at Cygnus).
-
-The search for the other GNU development tools is exactly the same idea.
-This technique gets messier when build options like @code{-msoft-float}
-support are used. The Makefile fragments set the @code{MUTILIB}
-variable, and if it is set, the search path is modified. If the linking
-is done with an installed cross compiler, then none of this needs to be
-used. This is done so libgloss will build automatically with a fresh,
-and uninstalled object tree. It also makes it easier to debug the other
-tools using libgloss's test suites.
-
-@node Board support, , Building libgloss, Libgloss
-@section Adding Support for a New Board
-
-This section explains how to add support for a new board to libgloss.
-In order to add support for a board, you must already have developed a
-toolchain for the target architecture.
-
-All of the changes you will make will be in the subdirectory named
-after the architecture used by your board. For example, if you are
-developing support for a new ColdFire board, you will modify files in
-the @file{m68k} subdirectory, as that subdirectory contains support
-for all 68K devices, including architecture variants like ColdFire.
-
-In general, you will be adding three components: a @file{crt0.S} file
-(@pxref{Crt0}), a linker script (@pxref{Linker Scripts}), and a
-hardware support library. Each should be prefixed with the name of
-your board. For example, if you ard adding support for a new Surf
-board, then you will be adding the assembly @file{surf-crt0.S} (which
-will be assembled into @file{surf-crt0.o}), the linker script
-@file{surf.ld}, and other C and assembly files which will be combined
-into the hardware support library @file{libsurf.a}.
-
-You should modify @file{Makefile.in} to define new variables
-corresponding to your board. Although there is some variation between
-architectures, the general convention is to use the following format:
-
-@example
-# The name of the crt0.o file.
-SURF_CRT0 = surf-crt0.o
-# The name of the linker script.
-SURF_SCRIPTS = surf.ld
-# The name of the hardware support library.
-SURF_BSP = libsurf.a
-# The object files that make up the hardware support library.
-SURF_OBJS = surf-file1.o surf-file2.o
-# The name of the Makefile target to use for installation.
-SURF_INSTALL = install-surf
-@end example
-
-Then, you should create the @code{$@{SURF_BSP@}} and
-@code{$@{SURF_INSTALL@}} make targets. Add @code{$@{SURF_CRT0@}} to
-the dependencies for the @code{all} target and add
-@code{$@{SURF_INSTALL@}} to the dependencies for the @code{install}
-target. Now, when libgloss is built and installed, support for your
-BSP will be installed as well.
-
-@node GCC, Libraries, Libgloss, Top
-@chapter Porting GCC
-
-Porting GCC requires two things, neither of which has anything to do
-with GCC. If GCC already supports a processor type, then all the work in
-porting GCC is really a linker issue. All GCC has to do is produce
-assembler output in the proper syntax. Most of the work is done by the
-linker, which is described elsewhere.
-
-Mostly all GCC does is format the command line for the linker pass. The
-command line for GCC is set in the various config subdirectories of gcc.
-The options of interest to us are @code{CPP_SPEC} and
-@code{STARTFILE_SPEC}. CPP_SPEC sets the builtin defines for your
-environment. If you support multiple environments with the same
-processor, then OS specific defines will need to be elsewhere.
-@c FIXME: Check these names
-
-@code{STARTFILE_SPEC}
-
-Once you have linker support, GCC will be able to produce a fully linked
-executable image. The only @emph{part} of GCC that the linker wants is a
-crt0.o, and a memory map. If you plan on running any programs that do
-I/O of any kind, you'll need to write support for the C library, which
-is described elsewhere.
-
-@menu
-* Overview:: An overview as to the compilation passes.
-* Options:: Useful GCC options for embedded systems.
-@end menu
-
-@node Overview, Options, , GCC
-@section Compilation passes
-
-GCC by itself only compiles the C or C++ code into assembler. Typically
-GCC invokes all the passes required for you. These passes are cpp, cc1,
-gas, ld. @code{cpp} is the C preprocessor. This will merge in the
-include files, expand all macros definitions, and process all the
-@code{#ifdef} sections. To see the output of ccp, invoke gcc with the
-@code{-E} option, and the preprocessed file will be printed on the
-stdout. cc1 is the actual compiler pass that produces the assembler for
-the processed file. GCC is actually only a driver program for all the
-compiler passes. It will format command line options for the other passes.
-The usual command line GCC uses for the final link phase will have LD
-link in the startup code and additional libraries by default.
-
-GNU AS started it's life to only function as a compiler pass, but
-these days it can also be used as a source level assembler. When used as
-a source level assembler, it has a companion assembler preprocessor
-called @code{gasp}. This has a syntax similar to most other assembler
-macros packages. GAS emits a relocatable object file from the assembler
-source. The object file contains the executable part of the application,
-and debug symbols.
-
-LD is responsible for resolving the addresses and symbols to something
-that will be fully self-contained. Some RTOS's use relocatable object
-file formats like @code{a.out}, but more commonly the final image will
-only use absolute addresses for symbols. This enables code to be burned
-into PROMS as well. Although LD can produce an executable image, there
-is usually a hidden object file called @code{crt0.o} that is required as
-startup code. With this startup code and a memory map, the executable
-image will actually run on the target environment. @ref{Crt0,,Startup
-Files}.
-
-The startup code usually defines a special symbol like @code{_start}
-that is the default base address for the application, and the first
-symbol in the executable image. If you plan to use any routines from the
-standard C library, you'll also need to implement the functions that
-this library is dependent on. @ref{Libraries,,Porting Newlib}.
-
-@node Options, , Overview, GCC
-@c FIXME: Need stuff here about -fpic, -Ttext, etc...
-
-Options for the various development tools are covered in more detail
-elsewhere. Still, the amount of options can be an overwhelming amount of
-stuff, so the options most suited to embedded systems are summarized
-here. If you use GCC as the main driver for all the passes, most of the
-linker options can be passed directly to the compiler. There are also
-GCC options that control how the GCC driver formats the command line
-arguments for the linker.
-
-@menu
-* GCC Options:: Options for the compiler.
-* GAS Options:: Options for the assembler.
-* LD Options:: Options for the linker.
-@end menu
-
-@node GCC Options, GAS Options, , Options
-Most of the GCC options that we're interested control how the GCC driver
-formats the options for the linker pass.
-
-@c FIXME: this section is still under work.
-@table @code
-@item -nostartfiles
-@item -nostdlib
-@item -Xlinker
-Pass the next option directly to the linker.
-
-@item -v
-@item -fpic
-@end table
-
-@node GAS Options, LD Options, GCC Options, Options
-@c FIXME: Needs stuff here
-
-@node LD Options, , GAS Options, Options
-@c FIXME: Needs stuff here
-
-
-@node Libraries, GDB, GCC, Top
-@chapter Porting newlib
-
-@menu
-* Crt0:: Crt0.S.
-* Linker Scripts:: Linker scripts for memory management.
-* What to do now:: Tricks for manipulating formats.
-* Libc:: Making libc work.
-@end menu
-
-@node Crt0, Linker Scripts, , Libraries
-@section Crt0, the main startup file
-
-To make a program that has been compiled with GCC to run, you
-need to write some startup code. The initial piece of startup code is
-called a crt0. (C RunTime 0) This is usually written in assembler, and
-it's object gets linked in first, and bootstraps the rest of the
-application when executed. This file needs to do the following things.
-
-@enumerate
-@item
-Initialize anything that needs it. This init section varies. If you are
-developing an application that gets download to a ROM monitor, then
-there is usually no need for any special initialization. The ROM monitor
-handles it for you.
-
-If you plan to burn your code in a ROM, then the crt0 typically has to
-do all the hardware initialization that is required to run an
-application. This can include things like initializing serial ports or
-run a memory check. It all depends on the hardware.
-
-@item
-Zero the BSS section. This is for uninitialized data. All the addresses in
-this section need to be initialized to zero so that programs that forget
-to check new variables default value will get unpredictable results.
-
-@item
-Call main()
-This is what basically starts things running. If your ROM monitor
-supports it, then first setup argc and argv for command line arguments
-and an environment pointer. Then branch to main(). For G++ the the main
-routine gets a branch to __main inserted by the code generator at the
-very top. __main() is used by G++ to initialize it's internal tables.
-__main() then returns back to your original main() and your code gets
-executed.
-
-@item
-Call exit()
-After main() has returned, you need to cleanup things and return control
-of the hardware from the application. On some hardware, there is nothing
-to return to, especially if your program is in ROM. Sometimes the best
-thing to do in this case is do a hardware reset, or branch back to the
-start address all over again.
-
-When there is a ROM monitor present, usually a user trap can be called
-and then the ROM takes over. Pick a safe vector with no side
-effects. Some ROMs have a builtin trap handler just for this case.
-@end enumerate
-portable between all the m68k based boards we have here.
-@ref{crt0.S,,Example Crt0.S}.
-
-
-@smallexample
-/* ANSI concatenation macros. */
-
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-@end smallexample
-These we'll use later.
-
-@smallexample
-/* These are predefined by new versions of GNU cpp. */
-
-#ifndef __USER_LABEL_PREFIX__
-#define __USER_LABEL_PREFIX__ _
-#endif
-
-/* Use the right prefix for global labels. */
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
-
-@end smallexample
-
-These macros are to make this code portable between both @emph{COFF} and
-@emph{a.out}. @emph{COFF} always has an @var{_ (underline)} prepended on
-the front of all global symbol names. @emph{a.out} has none.
-
-@smallexample
-#ifndef __REGISTER_PREFIX__
-#define __REGISTER_PREFIX__
-#endif
-
-/* Use the right prefix for registers. */
-#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
-
-#define d0 REG (d0)
-#define d1 REG (d1)
-#define d2 REG (d2)
-#define d3 REG (d3)
-#define d4 REG (d4)
-#define d5 REG (d5)
-#define d6 REG (d6)
-#define d7 REG (d7)
-#define a0 REG (a0)
-#define a1 REG (a1)
-#define a2 REG (a2)
-#define a3 REG (a3)
-#define a4 REG (a4)
-#define a5 REG (a5)
-#define a6 REG (a6)
-#define fp REG (fp)
-#define sp REG (sp)
-@end smallexample
-
-This is for portability between assemblers. Some register names have a
-@var{%} or @var{$} prepended to the register name.
-
-@smallexample
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
- .set stack_size, 0x2000
- .comm SYM (stack), stack_size
-@end smallexample
-
-Set up space for the stack. This can also be done in the linker script,
-but it typically gets done here.
-
-@smallexample
-/*
- * Define an empty environment.
- */
- .data
- .align 2
-SYM (environ):
- .long 0
-@end smallexample
-
-Set up an empty space for the environment. This is bogus on any most ROM
-monitor, but we setup a valid address for it, and pass it to main. At
-least that way if an application checks for it, it won't crash.
-
-@smallexample
- .align 2
- .text
- .global SYM (stack)
-
- .global SYM (main)
- .global SYM (exit)
-/*
- * This really should be __bss_start, not SYM (__bss_start).
- */
- .global __bss_start
-@end smallexample
-
-Setup a few global symbols that get used elsewhere. @var{__bss_start}
-needs to be unchanged, as it's setup by the linker script.
-
-@smallexample
-/*
- * start -- set things up so the application will run.
- */
-SYM (start):
- link a6, #-8
- moveal #SYM (stack) + stack_size, sp
-
-/*
- * zerobss -- zero out the bss section
- */
- moveal #__bss_start, a0
- moveal #SYM (end), a1
-1:
- movel #0, (a0)
- leal 4(a0), a0
- cmpal a0, a1
- bne 1b
-@end smallexample
-
-The global symbol @code{start} is used by the linker as the default
-address to use for the @code{.text} section. then it zeros the
-@code{.bss} section so the uninitialized data will all be cleared. Some
-programs have wild side effects from having the .bss section let
-uncleared. Particularly it causes problems with some implementations of
-@code{malloc}.
-
-@smallexample
-/*
- * Call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * We pass argv as a pointer to NULL.
- */
- pea 0
- pea SYM (environ)
- pea sp@@(4)
- pea 0
- jsr SYM (main)
- movel d0, sp@@-
-@end smallexample
-
-Setup the environment pointer and jump to @code{main()}. When
-@code{main()} returns, it drops down to the @code{exit} routine below.
-
-@smallexample
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run.
- */
-SYM (exit):
- trap #0
-@end smallexample
-
-Implementing @code{exit} here is easy. Both the @code{rom68k} and @code{bug}
-can handle a user caused exception of @code{zero} with no side effects.
-Although the @code{bug} monitor has a user caused trap that will return
-control to the ROM monitor, this solution has been more portable.
-
-@node Linker Scripts, What to do now, Crt0, Libraries
-@section Linker scripts for memory management
-
-The linker script sets up the memory map of an application. It also
-sets up default values for variables used elsewhere by sbrk() and the
-crt0. These default variables are typically called @code{_bss_start} and
-@code{_end}.
-
-For G++, the constructor and destructor tables must also be setup here.
-The actual section names vary depending on the object file format. For
-@code{a.out} and @code{coff}, the three main sections are @code{.text},
-@code{.data}, and @code{.bss}.
-
-Now that you have an image, you can test to make sure it got the
-memory map right. You can do this by having the linker create a memory
-map (by using the @code{-Map} option), or afterwards by using @code{nm} to
-check a few critical addresses like @code{start}, @code{bss_end}, and
-@code{_etext}.
-
-Here's a breakdown of a linker script for a m68k based target board.
-See the file @code{libgloss/m68k/idp.ld}, or go to the appendixes in
-the end of the manual. @ref{idp.ld,,Example Linker Script}.
-
-@smallexample
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-INPUT(idp.o)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-@end smallexample
-
-The @code{STARTUP} command loads the file specified so that it's
-first. In this case it also doubles to load the file as well, because
-the m68k-coff configuration defaults to not linking in the crt0.o by
-default. It assumes that the developer probably has their own crt0.o.
-This behavior is controlled in the config file for each architecture.
-It's a macro called @code{STARTFILE_SPEC}, and if it's set to
-@code{null}, then when @code{gcc} formats it's command line, it doesn't
-add @code{crto.o}. Any file name can be specified here, but the default
-is always @code{crt0.o}.
-
-Course if you only use @code{ld} to link, then the control of whether or
-not to link in @code{crt0.o} is done on the command line. If you have
-multiple crto files, then you can leave this out all together, and link
-in the @code{crt0.o} in the makefile, or by having different linker
-scripts. Sometimes this is done for initializing floating point
-optionally, or to add device support.
-
-The @code{OUTPUT_ARCH} sets architecture the output file is for.
-
-@code{INPUT} loads in the file specified. In this case, it's a relocated
-library that contains the definitions for the low-level functions need
-by libc.a. This could have also been specified on the command line, but
-as it's always needed, it might as well be here as a default.
-@code{SEARCH_DIR} specifies the path to look for files, and
-@code{_DYNAMIC} means in this case there are no shared libraries.
-
-@c FIXME: Check the linker manual to make sure this is accurate.
-@smallexample
-/*
- * Setup the memory map of the MC68ec0x0 Board (IDP)
- * stack grows up towards high memory. This works for
- * both the rom68k and the mon68k monitors.
- */
-MEMORY
-@{
- ram : ORIGIN = 0x10000, LENGTH = 2M
-@}
-@end smallexample
-
-This specifies a name for a section that can be referred to later in the
-script. In this case, it's only a pointer to the beginning of free RAM
-space, with an upper limit at 2M. If the output file exceeds the upper
-limit, it will produce an error message.
-
-@smallexample
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-@{
- .text :
- @{
- CREATE_OBJECT_SYMBOLS
- *(.text)
- etext = .;
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.lit)
- *(.shdata)
- @} > ram
- .shbss SIZEOF(.text) + ADDR(.text) : @{
- *(.shbss)
- @}
-@end smallexample
-
-Set up the @code{.text} section. In a @code{COFF} file, .text is where
-all the actual instructions are. This also sets up the @emph{CONTRUCTOR}
-and the @emph{DESTRUCTOR} tables for @code{G++}. Notice that the section
-description redirects itself to the @emph{ram} variable setup earlier.
-
-@smallexample
- .talias : @{ @} > ram
- .data : @{
- *(.data)
- CONSTRUCTORS
- _edata = .;
- @} > ram
-@end smallexample
-
-Setup the @code{.data} section. In a @code{coff} file, this is where all
-he initialized data goes. @code{CONSTRUCTORS} is a special command used
-by @code{ld}.
-
-@smallexample
- .bss SIZEOF(.data) + ADDR(.data) :
- @{
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- @}
- .mstack : @{ @} > ram
- .rstack : @{ @} > ram
- .stab . (NOLOAD) :
- @{
- [ .stab ]
- @}
- .stabstr . (NOLOAD) :
- @{
- [ .stabstr ]
- @}
-@}
-@end smallexample
-
-Setup the @code{.bss} section. In a @code{COFF} file, this is where
-unitialized data goes. The symbols @code{_bss_start} and @code{_end}
-are setup here for use by the @code{crt0.o} when it zero's the
-@code{.bss} section.
-
-
-@node What to do now, Libc, Linker Scripts, Libraries
-@section What to do when you have a binary image
-
-A few ROM monitors load binary images, typically @code{a.out}, but most all
-will load an @code{srecord}. An srecord is an ASCII representation of a binary
-image. At it's simplest, an srecord is an address, followed by a byte
-count, followed by the bytes, and a 2's compliment checksum. A whole
-srecord file has an optional @emph{start} record, and a required @emph{end}
-record. To make an srecord from a binary image, the GNU @code{objcopy} program
-is used. This will read the image and make an srecord from it. To do
-this, invoke objcopy like this: @code{objcopy -O srec infile outfile}. Most
-PROM burners also read srecords or a similar format. Use @code{objdump -i} to
-get a list of support object files types for your architecture.
-
-@node Libc, , What to do now, Libraries
-@section Libraries
-
-This describes @code{newlib}, a freely available libc replacement. Most
-applications use calls in the standard C library. When initially linking
-in libc.a, several I/O functions are undefined. If you don't plan on
-doing any I/O, then you're OK, otherwise they need to be created. These
-routines are read, write, open, close. sbrk, and kill. Open & close
-don't need to be fully supported unless you have a filesystems, so
-typically they are stubbed out. Kill is also a stub, since you can't do
-process control on an embedded system.
-
-Sbrk() is only needed by applications that do dynamic memory
-allocation. It's uses the symbol @code{_end} that is setup in the linker
-script. It also requires a compile time option to set the upper size
-limit on the heap space. This leaves us with read and write, which are
-required for serial I/O. Usually these two routines are written in C,
-and call a lower level function for the actual I/O operation. These two
-lowest level I/O primitives are inbyte() and outbyte(), and are also
-used by GDB back ends if you've written an exception handler. Some
-systems also implement a havebyte() for input as well.
-
-Other commonly included functions are routines for manipulating
-LED's on the target (if they exist) or low level debug help. Typically a
-putnum() for printing words and bytes as a hex number is helpful, as
-well as a low-level print() to output simple strings.
-
-As libg++ uses the I/O routines in libc.a, if read and write work,
-then libg++ will also work with no additional changes.
-
-@menu
-* I/O Support:: Functions that make serial I/O work.
-* Memory Support:: Memory support.
-* Misc Support:: Other needed functions.
-* Debugging:: Useful Debugging Functions
-@end menu
-
-@node I/O Support, Memory Support, , Libc
-@subsection Making I/O work
-
-@node Memory Support, Misc Support, I/O Support, Libc
-@subsection Routines for dynamic memory allocation
-To support using any of the memory functions, you need to implement
-sbrk(). @code{malloc()}, @code{calloc()}, and @code{realloc()} all call
-@code{sbrk()} at there lowest level. @code{caddr_t} is defined elsewhere
-as @code{char *}. @code{RAMSIZE} is presently a compile time option. All
-this does is move a pointer to heap memory and check for the upper
-limit. @ref{glue.c,,Example libc support code}. @code{sbrk()} returns a
-pointer to the previous value before more memory was allocated.
-
-@smallexample
-/* _end is set in the linker command file *
-extern caddr_t _end;/
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (caddr_t)0x100000
-#endif
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-caddr_t
-sbrk(nbytes)
- int nbytes;
-@{
- static caddr_t heap_ptr = NULL;
- caddr_t base;
-
- if (heap_ptr == NULL) @{
- heap_ptr = (caddr_t)&_end;
- @}
-
- if ((RAMSIZE - heap_ptr) >= 0) @{
- base = heap_ptr;
- heap_ptr += nbytes;
- return (base);
- @} else @{
- errno = ENOMEM;
- return ((caddr_t)-1);
- @}
-@}
-@end smallexample
-
-@node Misc Support, Debugging, Memory Support, Libc
-@subsection Misc support routines
-
-These are called by @code{newlib} but don't apply to the embedded
-environment. @code{isatty()} is self explanatory. @code{kill()} doesn't
-apply either in an environment withno process control, so it justs
-exits, which is a similar enough behavior. @code{getpid()} can safely
-return any value greater than 1. The value doesn't effect anything in
-@code{newlib} because once again there is no process control.
-
-@smallexample
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes and return a 1.
- */
-int
-isatty(fd)
- int fd;
-@{
- return (1);
-@}
-
-/*
- * getpid -- only one process, so just return 1.
- */
-#define __MYPID 1
-int
-getpid()
-@{
- return __MYPID;
-@}
-
-/*
- * kill -- go out via exit...
- */
-int
-kill(pid, sig)
- int pid;
- int sig;
-@{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-@}
-@end smallexample
-
-@node Debugging, , Misc Support, Libc
-@subsection Useful debugging functions
-
-There are always a few useful functions for debugging your project in
-progress. I typically implement a simple @code{print()} routine that
-runs standalone in liblgoss, with no @code{newlib} support. The I/O
-function @code{outbyte()} can also be used for low level debugging. Many
-times print will work when there are problems that cause @code{printf()} to
-cause an exception. @code{putnum()} is just to print out values in hex
-so they are easier to read.
-
-@smallexample
-/*
- * print -- do a raw print of a string
- */
-int
-print(ptr)
-char *ptr;
-@{
- while (*ptr) @{
- outbyte (*ptr++);
- @}
-@}
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-int
-putnum (num)
-unsigned int num;
-@{
- char buffer[9];
- int count;
- char *bufptr = buffer;
- int digit;
-
- for (count = 7 ; count >= 0 ; count--) @{
- digit = (num >> (count * 4)) & 0xf;
-
- if (digit <= 9)
- *bufptr++ = (char) ('0' + digit);
- else
- *bufptr++ = (char) ('a' - 10 + digit);
- @}
-
- *bufptr = (char) 0;
- print (buffer);
- return;
-@}
-@end smallexample
-
-If there are LEDs on the board, they can also be put to use for
-debugging when the serial I/O code is being written. I usually implement
-a @code{zylons()} function, which strobes the LEDS (if there is more
-than one) in sequence, creating a rotating effect. This is convenient
-between I/O to see if the target is still alive. Another useful LED
-function is @code{led_putnum()}, which takes a digit and displays it as
-a bit pattern or number. These usually have to be written in assembler
-for each target board. Here are a number of C based routines that may be
-useful.
-
-@code{led_putnum()} puts a number on a single digit segmented
-LED display. This LED is set by setting a bit mask to an address, where
-1 turns the segment off, and 0 turns it on. There is also a little
-decimal point on the LED display, so it gets the leftmost bit. The other
-bits specify the segment location. The bits look like:
-
-@smallexample
- [d.p | g | f | e | d | c | b | a ] is the byte.
-@end smallexample
-
-The locations are set up as:
-
-@smallexample
- a
- -----
- f | | b
- | g |
- -----
- | |
- e | | c
- -----
- d
-@end smallexample
-
-This takes a number that's already been converted to a string, and
-prints it.
-
-@smallexample
-#define LED_ADDR 0xd00003
-
-void
-led_putnum ( num )
-char num;
-@{
- static unsigned char *leds = (unsigned char *)LED_ADDR;
- static unsigned char num_bits [18] = @{
- 0xff, /* clear all */
- 0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x98, /* numbers 0-9 */
- 0x98, 0x20, 0x3, 0x27, 0x21, 0x4, 0xe /* letters a-f */
- @};
-
- if (num >= '0' && num <= '9')
- num = (num - '0') + 1;
-
- if (num >= 'a' && num <= 'f')
- num = (num - 'a') + 12;
-
- if (num == ' ')
- num = 0;
-
- *leds = num_bits[num];
-@}
-
-/*
- * zylons -- draw a rotating pattern. NOTE: this function never returns.
- */
-void
-zylons()
-@{
- unsigned char *leds = (unsigned char *)LED_ADDR;
- unsigned char curled = 0xfe;
-
- while (1)
- @{
- *leds = curled;
- curled = (curled >> 1) | (curled << 7);
- delay ( 200 );
- @}
-@}
-@end smallexample
-
-
-@node GDB, Binutils, Libraries, Top
-@chapter Writing a new GDB backend
-
-Typically, either the low-level I/O routines are used for debugging, or
-LEDs, if present. It is much easier to use GDb for debugging an
-application. There are several different techniques used to have GDB work
-remotely. Commonly more than one kind of GDB interface is used to cober
-a wide variety of development needs.
-
-The most common style of GDB backend is an exception handler for
-breakpoints. This is also called a @emph{gdb stub}, and is requires the
-two additional lines of init code in your @code{main()} routine. The GDB
-stubs all use the GDB @emph{remote protocol}. When the application gets a
-breakpoint exception, it communicates to GDB on the host.
-
-Another common style of interfacing GDB to a target is by using an
-existing ROM monitor. These break down into two main kinds, a similar
-protocol to the GDB remote protocol, and an interface that uses the ROM
-monitor directly. This kind has GDB simulating a human operator, and all
-GDB does is work as a command formatter and parser.
-
-@menu
-* GNU remote protocol:: The standard remote protocol.
-* Exception handler:: A linked in exception handler.
-* ROM monitors:: Using a ROM monitor as a backend.
-* Other remote protocols:: Adding support for new protocols.
-@end menu
-
-@node GNU remote protocol, Exception handler, ,GDB
-@section The standard remote protocol
-
-The standard remote protocol is a simple, packet based scheme. A debug
-packet whose contents are @emph{<data>} is encapsulated for transmission
-in the form:
-
-@smallexample
- $ <data> # CSUM1 CSUM2
-@end smallexample
-
-@emph{<data>} must be ASCII alphanumeric and cannot include characters
-@code{$} or @code{#}. If @emph{<data>} starts with two characters
-followed by @code{:}, then the existing stubs interpret this as a
-sequence number. For example, the command @code{g} is used to read the
-values of the registers. So, a packet to do this would look like
-
-@smallexample
- $g#67
-@end smallexample
-
-@emph{CSUM1} and @emph{CSUM2} are an ascii representation in hex of an
-8-bit checksum of @emph{<data>}, the most significant nibble is sent first.
-the hex digits 0-9,a-f are used.
-
-A simple protocol is used when communicating with the target. This is
-mainly to give a degree of error handling over the serial cable. For
-each packet transmitted successfully, the target responds with a
-@code{+} (@code{ACK}). If there was a transmission error, then the target
-responds with a @code{-} (@code{NAK}). An error is determined when the
-checksum doesn't match the calculated checksum for that data record.
-Upon reciept of the @code{ACK}, @code{GDB} can then transmit the next
-packet.
-
-Here is a list of the main functions that need to be supported. Each data
-packet is a command with a set number of bytes in the command packet.
-Most commands either return data, or respond with a @code{NAK}. Commands
-that don't return data respond with an @code{ACK}. All data values are
-ascii hex digits. Every byte needs two hex digits to represent t. This
-means that a byte with the value @samp{7} becomes @samp{07}. On a 32 bit
-machine this works out to 8 characters per word. All of the bytes in a
-word are stored in the target byte order. When writing the host side of
-the GDB protocol, be careful of byte order, and make sure that the code
-will run on both big and little endian hosts and produce the same answers.
-
-These functions are the minimum required to make a GDB backend work. All
-other commands are optional, and not supported by all GDB backends.
-
-@table @samp
-@item read registers @code{g}
-
-returns @code{XXXXXXXX...}
-
-Registers are in the internal order for GDB, and the bytes in a register
-are in the same order the machine uses. All values are in sequence
-starting with register 0. All registers are listed in the same packet. A
-sample packet would look like @code{$g#}.
-
-@item write registers @code{GXXXXXXXX...}
-@code{XXXXXXXX} is the value to set the register to. Registers are in
-the internal order for GDB, and the bytes in a register are in the same
-order the machine uses. All values are in sequence starting with
-register 0. All registers values are listed in the same packet. A sample
-packet would look like @code{$G000000001111111122222222...#}
-
-returns @code{ACK} or @code{NAK}
-
-@item read memory @code{mAAAAAAAA,LLLL}
-@code{AAAAAAAA} is address, @code{LLLL} is length. A sample packet would
-look like @code{$m00005556,0024#}. This would request 24 bytes starting
-at address @emph{00005556}
-
-returns @code{XXXXXXXX...}
-@code{XXXXXXXX} is the memory contents. Fewer bytes than requested will
-be returned if only part of the data can be read. This can be determined
-by counting the values till the end of packet @code{#} is seen and
-comparing that with the total count of bytes that was requested.
-
-@item write memory @code{MAAAAAAAA,LLLL:XXXXXXXX}
-@code{AAAAAAAA} is the starting address, @code{LLLL} is the number of
-bytes to be written, and @code{XXXXXXXX} is value to be written. A
-sample packet would look like
-@code{$M00005556,0024:101010101111111100000000...#}
-
-returns @code{ACK} or @code{NAK} for an error. @code{NAK} is also
-returned when only part of the data is written.
-
-@item continue @code{cAAAAAAAAA}
-@code{AAAAAAAA} is address to resume execution at. If @code{AAAAAAAA} is
-omitted, resume at the curent address of the @code{pc} register.
-
-returns the same replay as @code{last signal}. There is no immediate
-replay to @code{cont} until the next breakpoint is reached, and the
-program stops executing.
-
-@item step sAA..AA
-@code{AA..AA} is address to resume
-If @code{AA..AA} is omitted, resume at same address.
-
-returns the same replay as @code{last signal}. There is no immediate
-replay to @code{step} until the next breakpoint is reached, and the
-program stops executing.
-
-@item last signal @code{?}
-
-This returns one of the following:
-
-@itemize @bullet
-@item @code{SAA}
-Where @code{AA} is the number of the last signal.
-Exceptions on the target are converted to the most similar Unix style
-signal number, like @code{SIGSEGV}. A sample response of this type would
-look like @code{$S05#}.
-
-@item TAAnn:XXXXXXXX;nn:XXXXXXXX;nn:XXXXXXXX;
-@code{AA} is the signal number.
-@code{nn} is the register number.
-@code{XXXXXXXX} is the register value.
-
-@item WAA
-The process exited, and @code{AA} is the exit status. This is only
-applicable for certains sorts of targets.
-
-@end itemize
-
-These are used in some GDB backends, but not all.
-
-@item write reg @code{Pnn=XXXXXXXX}
-Write register @code{nn} with value @code{XXXXXXXX}.
-
-returns @code{ACK} or @code{NAK}
-
-@item kill request k
-
-@item toggle debug d
-toggle debug flag (see 386 & 68k stubs)
-
-@item reset r
-reset -- see sparc stub.
-
-@item reserved @code{other}
-On other requests, the stub should ignore the request and send an empty
-response @code{$#<checksum>}. This way we can extend the protocol and GDB
-can tell whether the stub it is talking to uses the old or the new.
-
-@item search @code{tAA:PP,MM}
-Search backwards starting at address @code{AA} for a match with pattern
-PP and mask @code{MM}. @code{PP} and @code{MM} are 4 bytes.
-
-@item general query @code{qXXXX}
-Request info about XXXX.
-
-@item general set @code{QXXXX=yyyy}
-Set value of @code{XXXX} to @code{yyyy}.
-
-@item query sect offs @code{qOffsets}
-Get section offsets. Reply is @code{Text=xxx;Data=yyy;Bss=zzz}
-
-@item console output Otext
-Send text to stdout. The text gets display from the target side of the
-serial connection.
-
-@end table
-
-Responses can be run-length encoded to save space. A @code{*}means that
-the next character is an ASCII encoding giving a repeat count which
-stands for that many repetitions of the character preceding the @code{*}.
-The encoding is n+29, yielding a printable character where n >=3
-(which is where run length encoding starts to win). You can't use a
-value of where n >126 because it's only a two byte value. An example
-would be a @code{0*03} means the same thing as @code{0000}.
-
-@node Exception handler, ROM monitors, GNU remote protocol, GDB
-@section A linked in exception handler
-
-A @emph{GDB stub} consists of two parts, support for the exception
-handler, and the exception handler itself. The exception handler needs
-to communicate to GDB on the host whenever there is a breakpoint
-exception. When GDB starts a program running on the target, it's polling
-the serial port during execution looking for any debug packets. So when
-a breakpoint occurs, the exception handler needs to save state, and send
-a GDB remote protocol packet to GDB on the host. GDB takes any output
-that isn't a debug command packet and displays it in the command window.
-
-Support for the exception handler varies between processors, but the
-minimum supported functions are those needed by GDB. These are functions
-to support the reading and writing of registers, the reading and writing
-of memory, start execution at an address, single step, and last signal.
-Sometimes other functions for adjusting the baud rate, or resetting the
-hardware are implemented.
-
-Once GDB gets the command packet from the breakpoint, it will read a few
-registers and memory locations an then wait for the user. When the user
-types @code{run} or @code{continue} a @code{continue} command is issued
-to the backend, and control returns from the breakpoint routine to the
-application.
-
-@node ROM monitors, Other remote protocols, Exception handler, GDB
-@section Using a ROM monitor as a backend
-GDB also can mimic a human user and use a ROM monitors normal debug
-commands as a backend. This consists mostly of sending and parsing
-@code{ASCII} strings. All the ROM monitor interfaces share a common set
-of routines in @code{gdb/monitor.c}. This supports adding new ROM
-monitor interfaces by filling in a structure with the common commands
-GDB needs. GDb already supports several command ROM monitors, including
-Motorola's @code{Bug} monitor for their VME boards, and the Rom68k
-monitor by Integrated Systems, Inc. for various m68k based boards. GDB
-also supports the custom ROM monitors on the WinBond and Oki PA based
-targets. There is builtin support for loading files to ROM monitors
-specifically. GDB can convert a binary into an srecord and then load it
-as an ascii file, or using @code{xmodem}.
-
-@c FIXME: do I need trademark somethings here ? Is Integrated the right
-@c company?
-
-@node Other remote protocols, ,ROM monitors, GDB
-@section Adding support for new protocols
-@c FIXME: write something here
-
-@node Binutils, Code Listings, GDB, Top
-
-@node Code Listings, idp.ld, Binutils, Top
-@appendix Code Listings
-
-@menu
-* idp.ld:: A m68k linker script.
-* crt0.S:: Crt0.S for an m68k.
-* glue.c:: C based support for for Stdio functions.
-* mvme.S:: Rom monitor based I/O support in assembler.
-* io.c:: C based for memory mapped I/O.
-* leds.c:: C based LED routines.
-@end menu
-
-@node idp.ld, crt0.S, Code Listings, Code Listings
-@section Linker script for the IDP board
-
-This is the linker script script that is used on the Motorola IDP board.
-
-@example
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-INPUT(idp.o)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-/*
- * Setup the memory map of the MC68ec0x0 Board (IDP)
- * stack grows up towards high memory. This works for
- * both the rom68k and the mon68k monitors.
- */
-MEMORY
-@{
- ram : ORIGIN = 0x10000, LENGTH = 2M
-@}
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-@{
- .text :
- @{
- CREATE_OBJECT_SYMBOLS
- *(.text)
- etext = .;
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.lit)
- *(.shdata)
- @} > ram
- .shbss SIZEOF(.text) + ADDR(.text) : @{
- *(.shbss)
- @}
- .talias : @{ @} > ram
- .data : @{
- *(.data)
- CONSTRUCTORS
- _edata = .;
- @} > ram
-
- .bss SIZEOF(.data) + ADDR(.data) :
- @{
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- @}
- .mstack : @{ @} > ram
- .rstack : @{ @} > ram
- .stab . (NOLOAD) :
- @{
- [ .stab ]
- @}
- .stabstr . (NOLOAD) :
- @{
- [ .stabstr ]
- @}
-@}
-@end example
-
-@node crt0.S, glue.c, idp.ld, Code Listings
-@section crt0.S - The startup file
-
-@example
-/*
- * crt0.S -- startup file for m68k-coff
- *
- */
-
- .title "crt0.S for m68k-coff"
-
-/* These are predefined by new versions of GNU cpp. */
-
-#ifndef __USER_LABEL_PREFIX__
-#define __USER_LABEL_PREFIX__ _
-#endif
-
-#ifndef __REGISTER_PREFIX__
-#define __REGISTER_PREFIX__
-#endif
-
-/* ANSI concatenation macros. */
-
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-/* Use the right prefix for global labels. */
-
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
-
-/* Use the right prefix for registers. */
-
-#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
-
-#define d0 REG (d0)
-#define d1 REG (d1)
-#define d2 REG (d2)
-#define d3 REG (d3)
-#define d4 REG (d4)
-#define d5 REG (d5)
-#define d6 REG (d6)
-#define d7 REG (d7)
-#define a0 REG (a0)
-#define a1 REG (a1)
-#define a2 REG (a2)
-#define a3 REG (a3)
-#define a4 REG (a4)
-#define a5 REG (a5)
-#define a6 REG (a6)
-#define fp REG (fp)
-#define sp REG (sp)
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
- .set stack_size, 0x2000
- .comm SYM (stack), stack_size
-
-/*
- * Define an empty environment.
- */
- .data
- .align 2
-SYM (environ):
- .long 0
-
- .align 2
- .text
- .global SYM (stack)
-
- .global SYM (main)
- .global SYM (exit)
-/*
- * This really should be __bss_start, not SYM (__bss_start).
- */
- .global __bss_start
-
-/*
- * start -- set things up so the application will run.
- */
-SYM (start):
- link a6, #-8
- moveal #SYM (stack) + stack_size, sp
-
-/*
- * zerobss -- zero out the bss section
- */
- moveal #__bss_start, a0
- moveal #SYM (end), a1
-1:
- movel #0, (a0)
- leal 4(a0), a0
- cmpal a0, a1
- bne 1b
-
-/*
- * Call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * We pass argv as a pointer to NULL.
- */
- pea 0
- pea SYM (environ)
- pea sp@@(4)
- pea 0
- jsr SYM (main)
- movel d0, sp@@-
-
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run.
- */
-SYM (exit):
- trap #0
-@end example
-
-@node glue.c, mvme.S, crt0.S, Code Listings
-@section C based "glue" code.
-
-@example
-
-/*
- * glue.c -- all the code to make GCC and the libraries run on
- * a bare target board. These should work with any
- * target if inbyte() and outbyte() exist.
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#ifndef NULL
-#define NULL 0
-#endif
-
-/* FIXME: this is a hack till libc builds */
-__main()
-@{
- return;
-@}
-
-#undef errno
-int errno;
-
-extern caddr_t _end; /* _end is set in the linker command file */
-extern int outbyte();
-extern unsigned char inbyte();
-extern int havebyte();
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (caddr_t)0x100000
-#endif
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int
-read(fd, buf, nbytes)
- int fd;
- char *buf;
- int nbytes;
-@{
- int i = 0;
-
- for (i = 0; i < nbytes; i++) @{
- *(buf + i) = inbyte();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) @{
- (*(buf + i)) = 0;
- break;
- @}
- @}
- return (i);
-@}
-
-/*
- * write -- write bytes to the serial port. Ignore fd, since
- * stdout and stderr are the same. Since we have no filesystem,
- * open will only return an error.
- */
-int
-write(fd, buf, nbytes)
- int fd;
- char *buf;
- int nbytes;
-@{
- int i;
-
- for (i = 0; i < nbytes; i++) @{
- if (*(buf + i) == '\n') @{
- outbyte ('\r');
- @}
- outbyte (*(buf + i));
- @}
- return (nbytes);
-@}
-
-/*
- * open -- open a file descriptor. We don't have a filesystem, so
- * we return an error.
- */
-int
-open(buf, flags, mode)
- char *buf;
- int flags;
- int mode;
-@{
- errno = EIO;
- return (-1);
-@}
-
-/*
- * close -- close a file descriptor. We don't need
- * to do anything, but pretend we did.
- */
-int
-close(fd)
- int fd;
-@{
- return (0);
-@}
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-caddr_t
-sbrk(nbytes)
- int nbytes;
-@{
- static caddr_t heap_ptr = NULL;
- caddr_t base;
-
- if (heap_ptr == NULL) @{
- heap_ptr = (caddr_t)&_end;
- @}
-
- if ((RAMSIZE - heap_ptr) >= 0) @{
- base = heap_ptr;
- heap_ptr += nbytes;
- return (base);
- @} else @{
- errno = ENOMEM;
- return ((caddr_t)-1);
- @}
-@}
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes and return a 1.
- */
-int
-isatty(fd)
- int fd;
-@{
- return (1);
-@}
-
-/*
- * lseek -- move read/write pointer. Since a serial port
- * is non-seekable, we return an error.
- */
-off_t
-lseek(fd, offset, whence)
- int fd;
- off_t offset;
- int whence;
-@{
- errno = ESPIPE;
- return ((off_t)-1);
-@}
-
-/*
- * fstat -- get status of a file. Since we have no file
- * system, we just return an error.
- */
-int
-fstat(fd, buf)
- int fd;
- struct stat *buf;
-@{
- errno = EIO;
- return (-1);
-@}
-
-/*
- * getpid -- only one process, so just return 1.
- */
-#define __MYPID 1
-int
-getpid()
-@{
- return __MYPID;
-@}
-
-/*
- * kill -- go out via exit...
- */
-int
-kill(pid, sig)
- int pid;
- int sig;
-@{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-@}
-
-/*
- * print -- do a raw print of a string
- */
-int
-print(ptr)
-char *ptr;
-@{
- while (*ptr) @{
- outbyte (*ptr++);
- @}
-@}
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-int
-putnum (num)
-unsigned int num;
-@{
- char buffer[9];
- int count;
- char *bufptr = buffer;
- int digit;
-
- for (count = 7 ; count >= 0 ; count--) @{
- digit = (num >> (count * 4)) & 0xf;
-
- if (digit <= 9)
- *bufptr++ = (char) ('0' + digit);
- else
- *bufptr++ = (char) ('a' - 10 + digit);
- @}
-
- *bufptr = (char) 0;
- print (buffer);
- return;
-@}
-@end example
-
-@node mvme.S, io.c, glue.c, Code Listings
-@section I/O assembler code sample
-
-@example
-/*
- * mvme.S -- board support for m68k
- */
-
- .title "mvme.S for m68k-coff"
-
-/* These are predefined by new versions of GNU cpp. */
-
-#ifndef __USER_LABEL_PREFIX__
-#define __USER_LABEL_PREFIX__ _
-#endif
-
-#ifndef __REGISTER_PREFIX__
-#define __REGISTER_PREFIX__
-#endif
-
-/* ANSI concatenation macros. */
-
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-/* Use the right prefix for global labels. */
-
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
-
-/* Use the right prefix for registers. */
-
-#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
-
-#define d0 REG (d0)
-#define d1 REG (d1)
-#define d2 REG (d2)
-#define d3 REG (d3)
-#define d4 REG (d4)
-#define d5 REG (d5)
-#define d6 REG (d6)
-#define d7 REG (d7)
-#define a0 REG (a0)
-#define a1 REG (a1)
-#define a2 REG (a2)
-#define a3 REG (a3)
-#define a4 REG (a4)
-#define a5 REG (a5)
-#define a6 REG (a6)
-#define fp REG (fp)
-#define sp REG (sp)
-#define vbr REG (vbr)
-
- .align 2
- .text
- .global SYM (_exit)
- .global SYM (outln)
- .global SYM (outbyte)
- .global SYM (putDebugChar)
- .global SYM (inbyte)
- .global SYM (getDebugChar)
- .global SYM (havebyte)
- .global SYM (exceptionHandler)
-
- .set vbr_size, 0x400
- .comm SYM (vbr_table), vbr_size
-
-/*
- * inbyte -- get a byte from the serial port
- * d0 - contains the byte read in
- */
- .align 2
-SYM (getDebugChar): /* symbol name used by m68k-stub */
-SYM (inbyte):
- link a6, #-8
- trap #15
- .word inchr
- moveb sp@@, d0
- extbl d0
- unlk a6
- rts
-
-/*
- * outbyte -- sends a byte out the serial port
- * d0 - contains the byte to be sent
- */
- .align 2
-SYM (putDebugChar): /* symbol name used by m68k-stub */
-SYM (outbyte):
- link fp, #-4
- moveb fp@@(11), sp@@
- trap #15
- .word outchr
- unlk fp
- rts
-
-/*
- * outln -- sends a string of bytes out the serial port with a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .align 2
-SYM (outln):
- link a6, #-8
- moveml a0/a1, sp@@
- trap #15
- .word outln
- unlk a6
- rts
-
-/*
- * outstr -- sends a string of bytes out the serial port without a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .align 2
-SYM (outstr):
- link a6, #-8
- moveml a0/a1, sp@@
- trap #15
- .word outstr
- unlk a6
- rts
-
-/*
- * havebyte -- checks to see if there is a byte in the serial port,
- * returns 1 if there is a byte, 0 otherwise.
- */
-SYM (havebyte):
- trap #15
- .word instat
- beqs empty
- movel #1, d0
- rts
-empty:
- movel #0, d0
- rts
-
-/*
- * These constants are for the MVME-135 board's boot monitor. They
- * are used with a TRAP #15 call to access the monitor's I/O routines.
- * they must be in the word following the trap call.
- */
- .set inchr, 0x0
- .set instat, 0x1
- .set inln, 0x2
- .set readstr, 0x3
- .set readln, 0x4
- .set chkbrk, 0x5
-
- .set outchr, 0x20
- .set outstr, 0x21
- .set outln, 0x22
- .set write, 0x23
- .set writeln, 0x24
- .set writdln, 0x25
- .set pcrlf, 0x26
- .set eraseln, 0x27
- .set writd, 0x28
- .set sndbrk, 0x29
-
- .set tm_ini, 0x40
- .set dt_ini, 0x42
- .set tm_disp, 0x43
- .set tm_rd, 0x44
-
- .set redir, 0x60
- .set redir_i, 0x61
- .set redir_o, 0x62
- .set return, 0x63
- .set bindec, 0x64
-
- .set changev, 0x67
- .set strcmp, 0x68
- .set mulu32, 0x69
- .set divu32, 0x6A
- .set chk_sum, 0x6B
-
-@end example
-
-@node io.c, leds.c, mvme.S, Code Listings
-@section I/O code sample
-
-@example
-#include "w89k.h"
-
-/*
- * outbyte -- shove a byte out the serial port. We wait till the byte
- */
-int
-outbyte(byte)
- unsigned char byte;
-@{
- while ((inp(RS232REG) & TRANSMIT) == 0x0) @{ @} ;
- return (outp(RS232PORT, byte));
-@}
-
-/*
- * inbyte -- get a byte from the serial port
- */
-unsigned char
-inbyte()
-@{
- while ((inp(RS232REG) & RECEIVE) == 0x0) @{ @};
- return (inp(RS232PORT));
-@}
-@end example
-
-@node leds.c, ,io.c, Code Listings
-@section Led control sample
-
-@example
-/*
- * leds.h -- control the led's on a Motorola mc68ec0x0 board.
- */
-
-#ifndef __LEDS_H__
-#define __LEDS_H__
-
-#define LED_ADDR 0xd00003
-#define LED_0 ~0x1
-#define LED_1 ~0x2
-#define LED_2 ~0x4
-#define LED_3 ~0x8
-#define LED_4 ~0x10
-#define LED_5 ~0x20
-#define LED_6 ~0x40
-#define LED_7 ~0x80
-#define LEDS_OFF 0xff
-#define LEDS_ON 0x0
-
-#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
-
-extern void led_putnum( char );
-
-#endif /* __LEDS_H__ */
-
-/*
- * leds.c -- control the led's on a Motorola mc68ec0x0 (IDP)board.
- */
-#include "leds.h"
-
-void zylons();
-void led_putnum();
-
-/*
- * led_putnum -- print a hex number on the LED. the value of num must be a char with
- * the ascii value. ie... number 0 is '0', a is 'a', ' ' (null) clears
- * the led display.
- * Setting the bit to 0 turns it on, 1 turns it off.
- * the LED's are controlled by setting the right bit mask in the base
- * address.
- * The bits are:
- * [d.p | g | f | e | d | c | b | a ] is the byte.
- *
- * The locations are:
- *
- * a
- * -----
- * f | | b
- * | g |
- * -----
- * | |
- * e | | c
- * -----
- * d . d.p (decimal point)
- */
-void
-led_putnum ( num )
-char num;
-@{
- static unsigned char *leds = (unsigned char *)LED_ADDR;
- static unsigned char num_bits [18] = @{
- 0xff, /* clear all */
- 0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x98, /* numbers 0-9 */
- 0x98, 0x20, 0x3, 0x27, 0x21, 0x4, 0xe /* letters a-f */
- @};
-
- if (num >= '0' && num <= '9')
- num = (num - '0') + 1;
-
- if (num >= 'a' && num <= 'f')
- num = (num - 'a') + 12;
-
- if (num == ' ')
- num = 0;
-
- *leds = num_bits[num];
-@}
-
-/*
- * zylons -- draw a rotating pattern. NOTE: this function never returns.
- */
-void
-zylons()
-@{
- unsigned char *leds = (unsigned char *)LED_ADDR;
- unsigned char curled = 0xfe;
-
- while (1)
- @{
- *leds = curled;
- curled = (curled >> 1) | (curled << 7);
- delay ( 200 );
- @}
-@}
-@end example
-
-@page
-@contents
-@c second page break makes sure right-left page alignment works right
-@c with a one-page toc, even though we don't have setchapternewpage odd.
-@page
-@bye
diff --git a/libgloss/epiphany/Makefile.in b/libgloss/epiphany/Makefile.in
deleted file mode 100644
index 4f77c33..0000000
--- a/libgloss/epiphany/Makefile.in
+++ /dev/null
@@ -1,197 +0,0 @@
-# Makefile for libgloss/epiphany
-
-# Copyright (c) 2011, 2012 Adapteva, Inc.
-# All rights reserved.
-
-# Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Adapteva nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-
-# Standard proforma copied from libnosys
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as-new ] ; \
- then echo ${objroot}/../gas/as-new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld-new ] ; \
- then echo ${objroot}/../ld/ld-new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
-
-INCLUDES = -I. -I$(srcdir)/.. -I$(srcdir)/../../newlib/libc/machine/epiphany
-
-# Note that when building the library, ${MULTILIB} is not the way multilib
-# options are passed; they're passed in $(CFLAGS).
-CFLAGS_FOR_TARGET = ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-AR_FLAGS = qc
-
-.c.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-.C.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-.S.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $(CFLAGS) $<
-.s.o:
- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
-
-#
-# GCC knows to run the preprocessor on .S files before it assembles them.
-#
-.S.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-#
-# this is a bogus target that'll produce an assembler from the
-# C source with the right compiler options. this is so we can
-# track down code generation or debug symbol bugs.
-#
-.c.s:
- $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $<
-
-# EPIPHANY specific stuff
-
-# Object files needed for all libraries
-COMMON_OBJS = access.o \
- close.o \
- environ.o \
- execve.o \
- fork.o \
- fstat.o \
- getpid.o \
- gettimeofday.o \
- _isatty.o \
- kill.o \
- link.o \
- lseek.o \
- open.o \
- read.o \
- sbrk.o \
- stat.o \
- times.o \
- unlink.o \
- wait.o \
- write.o \
- _exit.o \
- epiphany-syscalls.o \
- epiphany-ivthandlers.o
-
-UNUSED_OBJS = chown.o \
- errno.o \
- gettod.o \
- readlink.o \
- symlink.o
-
-# Object files specific to particular targets.
-SIMOBJS = $(COMMON_OBJS)
-
-OUTPUTS = libepiphany.a crt0.o
-
-all: $(OUTPUTS)
-
-#
-# here's where we build the library for each target
-#
-
-libepiphany.a: $(SIMOBJS)
- ${AR} ${ARFLAGS} $@ $(SIMOBJS)
- ${RANLIB} $@
-
-_exit.o: _exit.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-doc:
-
-clean mostlyclean:
- rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status $(OUTPUTS)
-
-.PHONY: install info install-info clean-info
-install:
- @for outputs in ${OUTPUTS}; do\
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- $(INSTALL_PROGRAM) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/epiphany/_exit.S b/libgloss/epiphany/_exit.S
deleted file mode 100644
index 92a9374..0000000
--- a/libgloss/epiphany/_exit.S
+++ /dev/null
@@ -1,35 +0,0 @@
-# EPIPHANY implementation of _exit ()
-
-# Copyright (c) 2011, Adapteva, Inc.
-# All rights reserved.
-
-# Contributor Joern Rennecke <joern.rennecke@embecosm.com> for Adapteva Inc
-
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Adapteva nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE. */
-
- .section .text
- .global __exit
-__exit:
- trap #3 ; exit
- b __exit
diff --git a/libgloss/epiphany/_exit.c b/libgloss/epiphany/_exit.c
deleted file mode 100644
index 7489f1a..0000000
--- a/libgloss/epiphany/_exit.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* EPIPHANY implementation of _exit ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-/* ------------------------------------------------------------------------- */
-#include "epiphany-syscalls.h"
-/* ------------------------------------------------------------------------- */
-
-
-/* ------------------------------------------------------------------------- */
-/*!Exit from execution
-
- This is the interface to the CGEN simulation.
-
- @param[in] rc The return code */
-/* ------------------------------------------------------------------------- */
-void __attribute__ ((section ("libgloss_epiphany")))
-_exit (int rc)
-{
- asm_exit (rc);
-} /* _exit () */
diff --git a/libgloss/epiphany/_isatty.c b/libgloss/epiphany/_isatty.c
deleted file mode 100644
index 9ec5060..0000000
--- a/libgloss/epiphany/_isatty.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/* isatty.c
-
- Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
- Copyright (c) 2012 Adapteva, Inc.
-
- This copyrighted material is made available to anyone wishing to use,
- modify, copy, or redistribute it subject to the terms and conditions
- of the BSD License. This program is distributed in the hope that
- it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
- including the implied warranties of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. A copy of this license is available at
- http://www.opensource.org/licenses. Any Red Hat trademarks that are
- incorporated in the source code or documentation are not subject to
- the BSD License and may only be used or replicated with the express
- permission of Red Hat, Inc. */
-
-/* Dumb implementation so programs will at least run. */
-
-#include <sys/stat.h>
-#include <errno.h>
-
-int
-_DEFUN(_isatty, (fd), int fd)
-{
- struct stat buf;
-
- if (_fstat (fd, &buf) < 0) {
- errno = EBADF;
- return 0;
- }
- if (S_ISCHR (buf.st_mode))
- return 1;
- errno = ENOTTY;
- return 0;
-}
diff --git a/libgloss/epiphany/access.c b/libgloss/epiphany/access.c
deleted file mode 100644
index 832eb76..0000000
--- a/libgloss/epiphany/access.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
diff --git a/libgloss/epiphany/aclocal.m4 b/libgloss/epiphany/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/epiphany/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/epiphany/close.c b/libgloss/epiphany/close.c
deleted file mode 100644
index fe32223..0000000
--- a/libgloss/epiphany/close.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* EPIPHANY implementation of _close ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include "epiphany-syscalls.h"
-
-/* ------------------------------------------------------------------------- */
-/*!Close an open file
-
- When run with the simulator, asm_close () uses the host close routine,
- otherwise it is up to the hardware to provide a suitable BSP
- implementation. In either case it returns 0 on success or -1 on failure,
- and updates errno on failure.
-
- @param[in] filedes The file descriptor to close
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_close (int fildes)
-{
- return asm_close (fildes);
-
-} /* _close () */
diff --git a/libgloss/epiphany/config.h.in b/libgloss/epiphany/config.h.in
deleted file mode 100644
index d5019b3..0000000
--- a/libgloss/epiphany/config.h.in
+++ /dev/null
@@ -1,31 +0,0 @@
-/* config.h.in. Generated from configure.in by autoheader. */
-
-/* .pushsection/.popsection directives allowed */
-#undef HAVE_ASM_POPSECTION_DIRECTIVE
-
-/* .previous directive allowed */
-#undef HAVE_ASM_PREVIOUS_DIRECTIVE
-
-/* Using ELF format */
-#undef HAVE_ELF
-
-/* Using GNU ld */
-#undef HAVE_GNU_LD
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* symbol prefix */
-#undef __SYMBOL_PREFIX
diff --git a/libgloss/epiphany/configure b/libgloss/epiphany/configure
deleted file mode 100755
index e273d80..0000000
--- a/libgloss/epiphany/configure
+++ /dev/null
@@ -1,4061 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for libepiphany 0.0.1.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='libepiphany'
-PACKAGE_TARNAME='libepiphany'
-PACKAGE_VERSION='0.0.1'
-PACKAGE_STRING='libepiphany 0.0.1'
-PACKAGE_BUGREPORT=''
-PACKAGE_URL=''
-
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures libepiphany 0.0.1 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/libepiphany]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of libepiphany 0.0.1:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-libepiphany configure 0.0.1
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by libepiphany $as_me 0.0.1, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-# No shared libraries allowed
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-# Where are the auxillary tools (confg.sub etc)?
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-
-$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
-
-
-# We always use ELF, define various useful associated things.
-
-$as_echo "#define HAVE_ELF 1" >>confdefs.h
-
-
-# Assembler directives (the assembler handles them, whether it does anything
-# useful with them is another matter...
-
-$as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
-
-
-$as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
-
-
-# Section attributes in C don't currently work
-#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes])
-
-# Sort out what the symbol prefix is (we could just fix it as '_', but let the
-# script work it out.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
-$as_echo_n "checking for symbol prefix... " >&6; }
-if ${libc_symbol_prefix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<\EOF
-foo () { }
-EOF
-libc_symbol_prefix=none
-if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; };
-then
- libc_symbol_prefix='$'
-else
- if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; };
- then
- libc_symbol_prefix=_
- fi
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_symbol_prefix" >&5
-$as_echo "$libc_symbol_prefix" >&6; }
-if test $libc_symbol_prefix != none; then
-
-cat >>confdefs.h <<_ACEOF
-#define __SYMBOL_PREFIX "$libc_symbol_prefix"
-_ACEOF
-
-else
-
-$as_echo "#define __SYMBOL_PREFIX \"\"" >>confdefs.h
-
-fi
-
-# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by libepiphany $as_me 0.0.1, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-libepiphany config.status 0.0.1
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_tt"; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any. Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[ ]*#[ ]*define[ ][ ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' <confdefs.h | sed '
-s/'"$ac_delim"'/"\\\
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- line = \$ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
- ;;
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/epiphany/configure.in b/libgloss/epiphany/configure.in
deleted file mode 100644
index a7bd11a..0000000
--- a/libgloss/epiphany/configure.in
+++ /dev/null
@@ -1,127 +0,0 @@
-# Makefile for libgloss/epiphany
-
-# Copyright (c) 2011, Adapteva, Inc.
-# All rights reserved.
-
-# Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Adapteva nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE. */
-
-# Process this file with autoconf to produce a configure script
-
-AC_PREREQ(2.59)
-AC_INIT(libepiphany,0.0.1)
-AC_CONFIG_HEADER(config.h)
-
-# No shared libraries allowed
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-# Where are the auxillary tools (confg.sub etc)?
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld])
-
-# We always use ELF, define various useful associated things.
-AC_DEFINE(HAVE_ELF, 1, [Using ELF format])
-
-# Assembler directives (the assembler handles them, whether it does anything
-# useful with them is another matter...
-AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE, 1, [.previous directive allowed])
-AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE, 1,
- [.pushsection/.popsection directives allowed])
-
-# Section attributes in C don't currently work
-#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes])
-
-# Sort out what the symbol prefix is (we could just fix it as '_', but let the
-# script work it out.
-AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl
-cat > conftest.c <<\EOF
-foo () { }
-EOF
-dnl
-libc_symbol_prefix=none
-if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
-then
- libc_symbol_prefix='$'
-else
- if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
- then
- libc_symbol_prefix=_
- fi
-fi
-rm -f conftest* ])
-if test $libc_symbol_prefix != none; then
- AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix", [symbol prefix])
-else
- AC_DEFINE(__SYMBOL_PREFIX, "", [symbol prefix])
-fi
-
-# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-ac_file=Makefile . ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/epiphany/crt0.S b/libgloss/epiphany/crt0.S
deleted file mode 100644
index d684e1e..0000000
--- a/libgloss/epiphany/crt0.S
+++ /dev/null
@@ -1,166 +0,0 @@
-# C Startup for EPIPHANY
-
-# Copyright (c) 2011, Adapteva, Inc.
-# All rights reserved.
-
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Adapteva nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-
-
-.section IVT,"a",@progbits ;
- .global _start;
- .type _start, %function;
-_start:
- .balign 4 ;
- b .normal_start
-
- .balign 4 ; 0x4
- b .sw_exception_v
-
- .balign 4 ; 0x8
- b .page_miss_v;
-
- .balign 4 ; 0xc
- b .timer0_expired_v
-
- .balign 4 ; 0x10
- b .timer1_expired_v
-
- .balign 4 ; 0x14
- b .message_v
-
- .balign 4 ; 0x18
- b .dma0_v
-
- .balign 4 ; 0x1c
- b .dma1_v
-
- .balign 4 ; 0x20
- b .wand_v
-
- .balign 4 ; 0x24
- b .soft_v
-
-.size _start, .-_start
-
-.section RESERVED_CRT0,"a",@progbits ;
-
-.global .normal_start;
-.balign 4
-.type .normal_start, %function
-.normal_start:
- mov r3,%low(_external_start)
- movt r3,%high(_external_start)
- jalr r3
-.size .normal_start, .-.normal_start
-
-
-
-
-.section .text;
- .org 0x0000 ; Relative to start of text section
- .global _external_start
- .type _external_start, %function
-_external_start:
-
- .align 4
-
- ;; Initialise the stack pointer and frame pointer. Hopefully __stack
- ;; is somewhere meaningful.
- mov sp,%low(___stack)
- movt sp,%high(___stack)
- mov fp,sp
-
- ;; Zero the data space
- mov r0,%low(___bss_start)
- movt r0,%high(___bss_start)
- mov r1,%low(_end)
- movt r1,%high(_end)
- mov r2,#0
- mov r3,#0
-.L0_init_:
- strd r2,[r0],+#1
- sub r5,r1,r0
- bne .L0_init_
-
- ;; Setup destructors to be called from exit if main never returns
-#if 0
- mov r0,%low(fini)
- movt r0,%high(fini)
- mov r2,%low(_atexit)
- movt r2,%high(_atexit)
- jalr r2
-#else
- ; calling atexit drags in malloc, so instead poke the function
- ; address directly into the reent structure
- mov r2,%low(__impure_ptr)
- movt r2,%high(__impure_ptr)
- ldr r2,[r2]
- mov r1,%low(fini)
- movt r1,%high(fini)
-#ifdef __STRUCT_ALIGN_64__
-#error
- add r2,r2,need_to_find_out; &_GLOBAL_REENT->atexit0
- str r2, [r2,-1];??or -2?; _GLOBAL_REENT->atexit
- mov r0, 1
- str r0, [r2,1] ; _GLOBAL_REENT->atexit0._ind
- str r1, [r2,2] ; _GLOBAL_REENT->atexit0._fns[0]
-#else /* !__STRUCT_ALIGN_64__ */
- add r0,r2,0x14c ; &_GLOBAL_REENT->atexit0
- str r0, [r0,-1] ; _GLOBAL_REENT->atexit
- mov r0, 1
- strd r0, [r2,0x2a] ; _GLOBAL_REENT->atexit0._ind
-#endif /* !__STRUCT_ALIGN_64__ */
-#endif /* !0 */
- ;; Call global and static constructors
- mov r2,%low(init)
- movt r2,%high(init)
- jalr r2
-
-
- ;;return from reset ISR
- mov R0,%low(RDS)
- movt R0,%high(RDS)
- movts iret,r0
- rti
-RDS:
-
- ;; Initialise argc, argv and envp to empty and call main
- mov r0,#0
- mov r1,#0
- mov r2,#0
- mov r3,%low(_main)
- movt r3,%high(_main)
- jalr r3
- ;;bl _main
-
- ;; Call exit
- mov r3,%low(_exit)
- movt r3,%high(_exit)
- jalr r3
- ;;bl _exit
-
- ;; Should never reach here
- idle
-
-.size _external_start, .-_external_start
diff --git a/libgloss/epiphany/environ.c b/libgloss/epiphany/environ.c
deleted file mode 100644
index fb3d9b6..0000000
--- a/libgloss/epiphany/environ.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* EPIPHANY implementation of the environ vector
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-/*!The empty list is suitable as a minimal implementation of the
- environment. */
-char *__env[1] = { 0 };
-
-/*!Environment as a pointer to a pointer rather than a pointer to an array. */
-char **environ = __env;
diff --git a/libgloss/epiphany/epiphany-config.h b/libgloss/epiphany/epiphany-config.h
deleted file mode 100644
index e9afa29..0000000
--- a/libgloss/epiphany/epiphany-config.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* EPIPHANY builtin and configuration functions ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#ifndef _EPIPHANY_CONFIG_H
-#define _EPIPHANY_CONFIG_H
-
-
-extern unsigned _stack_start_;
-extern unsigned _heap_start_;
-extern unsigned _heap_end_;
-extern unsigned _CORE_NUM_;
-
-
-
-
-
-enum ECORE_SIGNALS {
-#ifndef SIG_DFL
- SIG_DFL=0,
-#endif
-#ifndef SIG_DFL
- SIG_IGN=1,
-#endif
- SIG_RESET=3,
- SIG_SW_EXCEPTION=4,
- SIG_PAGE_MISS=5,
- SIG_TIMER0=6,
- SIG_TIMER1=7,
- SIG_MESSAGE=8,
- SIG_DMA0=9,
- SIG_DMA1=10,
- SIG_WAND=11,
- SIG_USR1=12
-#ifndef SIG_ERR
- , SIG_ERR=-1
-#endif
-};
-
-
-
-#endif
diff --git a/libgloss/epiphany/epiphany-ivthandlers.S b/libgloss/epiphany/epiphany-ivthandlers.S
deleted file mode 100644
index 0731a6b..0000000
--- a/libgloss/epiphany/epiphany-ivthandlers.S
+++ /dev/null
@@ -1,192 +0,0 @@
-# EPIPHANY implementation of wrappers over user C ISR ()
-
-# Copyright (c) 2011, Adapteva, Inc.
-# All rights reserved.
-
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Adapteva nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-
-.section RESERVED_CRT0,"a",@progbits ;
-.set sw_exception_v_n, 1
-.set page_miss_v_n, 2
-.set timer0_expired_v_n, 3;
-.set timer1_expired_v_n, 4;
-.set message_v_n, 5;
-.set dma0_v_n, 6;
-.set dma1_v_n, 7;
-.set wand_v_n, 8;
-.set soft_v_n, 9
-
-// preserve isr-mods to ACTIVE, GID, KERNEL, WAND, & EXCAUSE bits in the status reg
-.set status_mask, 0x0007000f;
-// for the wand isr, preserve isr-mods to ACTIVE, GID, KERNEL, & EXCAUSE, but
-// clear the WAND bit.
-.set wand_status_mask, 0x00070007;
-
-//IVT wrappers
-
-.global _DEFAULT_ISR_CALLBACK;
-.balign 4
-.type _DEFAULT_ISR_CALLBACK, %function
-_DEFAULT_ISR_CALLBACK:
- rts
-.size _DEFAULT_ISR_CALLBACK, .-_DEFAULT_ISR_CALLBACK
-
-
-.global _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v;
-.balign 4
-.type _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v, %function
-_DEFAULT_ISR_CALLBACK_FOR_sw_exception_v:
- trap 5;; FAIL
-.size _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v, .-_DEFAULT_ISR_CALLBACK_FOR_sw_exception_v
-
-
-.set NUMBER_ENTRIES_IN_IVT, 8
-.global _ISR_VECTOR;
-.balign 4
-.type _ISR_VECTOR, %object
-_ISR_VECTOR:
- .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; reset
- .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; sw_exception
- .word _DEFAULT_ISR_CALLBACK_FOR_sw_exception_v; page_miss
- .rept NUMBER_ENTRIES_IN_IVT
- .word _DEFAULT_ISR_CALLBACK
- .endr
-.size _ISR_VECTOR, .-_ISR_VECTOR
-
-.macro IVT_ENTRY_CALL entry_v_
- ;; assuming we have valid frame poiter
-
- str fp, [sp],-0x10
- str r0, [sp,+0xf]
- str r1, [sp,+0xe]
- mov r0, \entry_v_
-.if \entry_v_ == wand_v_n
- mov r1, %low(wand_status_mask) ; this mask will exclude WAND, so it will
- movt r1, %high(wand_status_mask) ; be forcibly cleared
-.else
- mov r1, %low(status_mask)
- movt r1, %high(status_mask)
-.endif
- str r1, [sp,0x9] ; save the status register isr-preserve mask on the stack
- b __dispatcher
-.endm
-
-.global __dispatcher;
-.balign 4
-.type __dispatcher, %function
-__dispatcher:
- str lr, [sp,+0xd]
- movfs.l r1,status
- str r1, [sp,+0xc]
- movfs.l r1,iret
- str r1, [sp,+0xb]
- str r2, [sp,+0xa]
- str r3, [sp,+0x8]
-
- mov fp,sp
-
- //TODO allow nesting
- //gie
-
- lsl r2, r0, 2
- mov r1, %low(_ISR_VECTOR)
- add r2, r2, r1
- ldr r1, [r2,0] ;; r1 = _ISR_VECTOR[entry_v]
- mov r2, 3
- add r0, r0, r2 ;; r0 = signum
- jalr r1
-
- mov sp,fp
-
- //gid
-
- // preserve isr-modifications to some of the bits in the status register,
- // but restore the rest to pre-interrupt values.
- // status = (status[post_isr] & status_mask) | (status[pre_isr] & ~status_mask)
-
- ldr.l r2, [sp, 9] ; fetch the status register isr preserve mask from the stack
- movfs r1, status
- and r1, r1, r2; (status[post_isr] & status_mask)
-
- ldr r0, [sp,+0xc]
- mov r2, %low(~status_mask)
- movt r2, %high(~status_mask)
- and r0, r0, r2; (status[pre_isr] & ~status_mask)
-
- orr r0, r0, r1 ; combine pre_isr & post_isr status bits
- movts.l status, r0
-
- ldr r0, [sp,+0xb]
- movts.l iret,r0
-
- ldr lr,[sp,+0xd];
- ldr r1,[sp,+0xe]
- ldr r0,[sp,+0xf]
- ldr r2,[sp,+0xa]
- ldr r3,[sp,+0x8]
- ldr fp,[sp],+0x10
- ldr fp,[sp,0]
- rti
-.size __dispatcher, .-__dispatcher
-
-
-.global .sw_exception_v;
-.type .sw_exception_v, %function
-.sw_exception_v:
- IVT_ENTRY_CALL sw_exception_v_n;
-.size .sw_exception_v, .-.sw_exception_v
-
-.global .page_miss_v;
-.type .page_miss_v, %function
-.page_miss_v:
- IVT_ENTRY_CALL page_miss_v_n;
-.size .page_miss_v, .-.page_miss_v
-
-.global .timer0_expired_v;
-.timer0_expired_v:
- IVT_ENTRY_CALL timer0_expired_v_n;
-
-.global .timer1_expired_v;
-.timer1_expired_v:
- IVT_ENTRY_CALL timer1_expired_v_n;
-
-.global .message_v;
-.message_v:
- IVT_ENTRY_CALL message_v_n;
-
-.global .dma0_v;
-.dma0_v:
- IVT_ENTRY_CALL dma0_v_n;
-
-.global .dma1_v;
-.dma1_v:
- IVT_ENTRY_CALL dma1_v_n;
-
-.global .wand_v;
-.wand_v:
- IVT_ENTRY_CALL wand_v_n;
-
-.global .soft_v;
-.soft_v:
- IVT_ENTRY_CALL soft_v_n;
diff --git a/libgloss/epiphany/epiphany-syscalls.c b/libgloss/epiphany/epiphany-syscalls.c
deleted file mode 100644
index e6ebcee..0000000
--- a/libgloss/epiphany/epiphany-syscalls.c
+++ /dev/null
@@ -1,271 +0,0 @@
-/* Adapteva epiphany-core implementation of stdio support functions ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-
-/* simple include interface to EPIPHANY trap instruction. */
-
-/*
- * The simulator uses a trap instruction to escape to the simulator to do file i/o
- */
-
-/* trapcode r0 r1 r2 */
-#define TRAP_write 0 /* channel addr len */
-#define TRAP_read 1 /* channel addr len */
-#define TRAP_open 2 /* filepath mode */
-#define TRAP_exit 3 /* status */
-#define TRAP_pass 4 /* - */
-#define TRAP_fail 5 /* - */
-#define TRAP_close 6 /* channel */
-#define TRAP_other 7 /* subcode r1 r2 */
-
-
-#include "epiphany-syscalls.h"
-
-
-/* prototypical inline asm */
-int __attribute__ ((section ("libgloss_epiphany"))) asm_write (int CHAN, void* ADDR, int LEN)
-{
- register int chan asm("r0") = CHAN;
- register void* addr asm("r1") = ADDR;
- register int len asm("r2") = LEN;
- register int result asm("r0");
- register int error asm("r3");
- asm ("trap 0" : "=r" (result), "=r" (error) :
- "r" (chan), "r" (addr), "r" (len));
- if (error)
- errno = error;
- return result;
-}
-
-int __attribute__ ((section ("libgloss_epiphany"))) asm_read(int CHAN, void *ADDR, int LEN)
-{
- register int chan asm("r0") = CHAN;
- register void* addr asm("r1") = ADDR;
- register int len asm("r2") = LEN;
- register int result asm("r0");
- register int error asm("r3");
- asm ("trap 1" : "=r" (result), "=r" (error) :
- "r" (chan), "r" (addr), "r" (len));
- if (error)
- errno = error;
- return result;
-}
-
-
-int __attribute__ ((section ("libgloss_epiphany")))
-asm_open(const char* FILE, int FLAGS, int MODE)
-{
- register const char* file asm("r0") = FILE;
- register int flags asm("r1") = FLAGS;
- register int result asm("r0");
- register int error asm("r3");
- asm ("trap 2" : "=r" (result), "=r" (error) : "r" (file), "r" (flags));
- if (error)
- errno = error;
- return result;
-}
-
-void __attribute__ ((section ("libgloss_epiphany"))) asm_exit(int STATUS)
-{
- register int status asm("r0") = STATUS;
- asm("trap 3" :: "r" (status));
-}
-
-int __attribute__ ((section ("libgloss_epiphany"))) asm_close(int CHAN)
-{
- register int chan asm("r0") = CHAN;
- register int result asm("r0");
- register int error asm("r3");
- asm ("trap 6" : "=r" (result), "=r" (error) : "r" (chan));
- if (error)
- errno = error;
- return result;
-}
-
-int __attribute__ ((section ("libgloss_epiphany"))) asm_syscall(void *P1,void *P2, void *P3, int SUBFUN)
-{
- register void* p1 asm("r0") = (void*)P1;
- register void* p2 asm("r1") = (void*)P2;
- register void* p3 asm("r2") = (void*)P3;
- register int result asm("r0");
- register int subfun asm("r3") = SUBFUN;
- register int error asm("r3");
- asm ("trap 7" : "=r" (result), "=r" (error) :
- "r" (p1), "r" (p2), "r" (p3), "r" (subfun));
- if (error)
- errno = error;
- return result;
-}
-
-/*
- * Signal functions implementation
- *
- */
-
-#include "epiphany-config.h"
-
-
-#define HW_RESET 0
-#define SW_EXCEPTION_IVT_N 1
-#define PAGE_MISS_IVT_N 2
-#define TIMER0_IVT_N 3
-#define TIMER1_IVT_N 4
-#define MESSAGE_IVT_N 5
-#define DMA0_IVT_N 6
-#define DMA1_IVT_N 7
-#define WAND_IVT_N 8
-#define USR_SOFT_IVT_N 9
-
-
-typedef void (*sighandler_t)(int);
-extern sighandler_t ISR_VECTOR[];
-extern void DEFAULT_ISR_CALLBACK();
-
-sighandler_t __attribute__ ((section ("libgloss_epiphany"))) signal(int signum, sighandler_t handler) {
- switch( signum )
- {
- case SIG_DFL /* see signal.h */:
- //the default is ignore
- break;
- case SIG_IGN /* see signal.h */ :
- DEFAULT_ISR_CALLBACK();
- break;
- case SIG_ERR :
- asm("trap 5");
- break;
- case SIG_RESET:
- ISR_VECTOR[HW_RESET] = handler;
- break;
- case SIG_SW_EXCEPTION:
- ISR_VECTOR[SW_EXCEPTION_IVT_N] = handler;
- break;
- case SIG_PAGE_MISS:
- ISR_VECTOR[PAGE_MISS_IVT_N] = handler;
- break;
- case SIG_TIMER0:
- ISR_VECTOR[TIMER0_IVT_N] = handler;
- break;
- case SIG_TIMER1:
- ISR_VECTOR[TIMER1_IVT_N] = handler;
- break;
- case SIG_MESSAGE:
- ISR_VECTOR[MESSAGE_IVT_N] = handler;
- break;
- case SIG_DMA0:
- ISR_VECTOR[DMA0_IVT_N] = handler;
- break;
- case SIG_DMA1:
- ISR_VECTOR[DMA1_IVT_N] = handler;
- break;
- case SIG_WAND:
- ISR_VECTOR[WAND_IVT_N] = handler;
- break;
-
- case SIG_USR1:
- ISR_VECTOR[USR_SOFT_IVT_N] = handler;
- break;
- default:
- //do nothing
- return 0;
- }
-
- return 0;
-}
-
-//int e_raise(int signum) __attribute__ ((optimize("O0")));
-
-int __attribute__ ((section ("libgloss_epiphany"))) e_raise(int signum) {
-
- //register int imask asm("r4") = 0 ;
- volatile register int ilatst /*asm("r5") */= signum;
-
- switch( signum )
- {
- case SIG_DFL /* see signal.h */:
- //the default is ignore
- return 0;
- case SIG_IGN /* see signal.h */ :
- //do nothing
- return 0;
- case SIG_ERR :
-
- return 0;
- case SIG_RESET:
- //imask = 1 << HW_RESET;
- ilatst = 1 << HW_RESET;
- break;
-
- case SIG_SW_EXCEPTION:
- //imask = 1 << SW_EXCEPTION_IVT_N;
- ilatst = 1 << SW_EXCEPTION_IVT_N;
- break;
- case SIG_PAGE_MISS:
- //imask = 1 << PAGE_MISS_IVT_N;
- ilatst = 1 << PAGE_MISS_IVT_N;
- break;
- case SIG_TIMER0:
- //imask = 1 << TIMER0_IVT_N;
- ilatst = 1 << TIMER0_IVT_N;
- break;
- case SIG_TIMER1:
- //imask = 1 << TIMER1_IVT_N;
- ilatst = 1 << TIMER1_IVT_N;
- break;
- case SIG_MESSAGE:
- //imask = 1 << MESSAGE_IVT_N;
- ilatst = 1 << MESSAGE_IVT_N;
- break;
- case SIG_DMA0:
- //imask = 1 << DMA0_IVT_N;
- ilatst = 1 << DMA0_IVT_N;
- break;
- case SIG_DMA1:
- //imask = 1 << DMA1_IVT_N;
- ilatst = 1 << DMA1_IVT_N;
- break;
- case SIG_WAND:
- __asm__ __volatile__ ("wand");
- //ilatst = 1 << WAND_IVT_N;
- //break;
- return;
-
- case SIG_USR1:
- ilatst = 1 << USR_SOFT_IVT_N;
- break;
-
- default:
- //do nothing
- return 0;
- }
- //asm("movts imask, r4;");
- //asm("movts ilatst, r5;");
- __asm__ __volatile__ ("movts ilatst, %0" : "=r" (ilatst) : "r" (ilatst));
- return 0;
-
-}
diff --git a/libgloss/epiphany/epiphany-syscalls.h b/libgloss/epiphany/epiphany-syscalls.h
deleted file mode 100644
index 3af1c6f..0000000
--- a/libgloss/epiphany/epiphany-syscalls.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Adapteva e-core implementation of stdio support functions ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#ifndef __EPIPHANY_SIM_H_
-#define __EPIPHANY_SIM_H_
-
-int asm_write (int CHAN, void* ADDR, int LEN);
-int asm_read(int CHAN, void *ADDR, int LEN);
-int asm_open(const char* FILE, int FLAGS, int MODE);
-void asm_exit(int STATUS);
-int asm_close(int CHAN);
-int asm_syscall(void *P1, void *P2, void *P3, int SUBFUN);
-
-#endif
diff --git a/libgloss/epiphany/execve.c b/libgloss/epiphany/execve.c
deleted file mode 100644
index 21e4897..0000000
--- a/libgloss/epiphany/execve.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* EPIPHANY implementation of _execve ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include <sys/types.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Transfer control to a new process.
-
- This is a minimal implementation, which always fails (there are no
- processes)!
-
- @todo Is this a permissible errno?
-
- @param[in] filename The file to execute
- @param[in] argv Null terminated list of args to the program
- @param[in] envp Null terminated list of environment value pairs
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_execve (const char *filename, char * const argv[], char * const envp[])
-{
- errno = ENOSYS; /* We don't do processes */
- return -1;
-
-} /* _execve () */
diff --git a/libgloss/epiphany/fork.c b/libgloss/epiphany/fork.c
deleted file mode 100644
index a655484..0000000
--- a/libgloss/epiphany/fork.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* EPIPHANY implementation of _fork ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include <sys/types.h>
-
-/* ------------------------------------------------------------------------- */
-/*!Create a new process
-
- This is a minimal implementation, which always fails, since we have no
- processes.
-
- @todo Is this a permissible errno?
-
- @return pid of the child (returning the parent), 0 (returning in the
- parent) on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-pid_t __attribute__ ((section ("libgloss_epiphany")))
-_fork (void)
-{
- errno = ENOSYS;
- return -1;
-
-} /* _fork () */
diff --git a/libgloss/epiphany/fstat.c b/libgloss/epiphany/fstat.c
deleted file mode 100644
index 5a20b57..0000000
--- a/libgloss/epiphany/fstat.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* EPIPHANY implementation of _fstat ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <sys/stat.h>
-#include <syscall.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Status of an open file
-
- @param[in] fildes File descriptor for which status is sought
- @param[out] st Structure for the status information
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_fstat (int fildes, struct stat *st)
-{
- return asm_syscall (fildes, st, NULL, SYS_fstat);
-
-} /* _fstat () */
diff --git a/libgloss/epiphany/getpid.c b/libgloss/epiphany/getpid.c
deleted file mode 100644
index 221b653..0000000
--- a/libgloss/epiphany/getpid.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/* EPIPHANY implementation of _getpid ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <sys/types.h>
-
-/* ------------------------------------------------------------------------- */
-/*!Get the process ID
-
- A minimal implementation is best advised to return 1, the number of the
- only process. This means the code will work for programs which generate
- filenames based on the PID.
-
- @return the PID. This function never fails. */
-/* ------------------------------------------------------------------------- */
-pid_t __attribute__ ((section ("libgloss_epiphany")))
-_getpid (void)
-{
- return 1;
-
-} /* _getpid () */
diff --git a/libgloss/epiphany/gettimeofday.c b/libgloss/epiphany/gettimeofday.c
deleted file mode 100644
index e169385..0000000
--- a/libgloss/epiphany/gettimeofday.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* EPIPHANY implementation of _stat ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Joern Rennecke <joern.rennecke@embecosm.com> for Adapteva Inc.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <errno.h>
-#include <sys/time.h>
-#include "syscall.h"
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return asm_syscall (tp, tzp, NULL, SYS_gettimeofday);
-}
diff --git a/libgloss/epiphany/kill.c b/libgloss/epiphany/kill.c
deleted file mode 100644
index 64c9151..0000000
--- a/libgloss/epiphany/kill.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* EPIPHANY implementation of _kill ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include <sys/types.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Send a signal
-
- This is a minimal implementation, just call the internal rise
-
- @param[in] pid The process that should receive the signal
- @param[in] sig The signal to send
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-extern int e_raise(int signum);
-int __attribute__ ((section ("libgloss_epiphany")))
-_kill (pid_t pid, int sig)
-{
- //errno = EINVAL;
- return e_raise(sig);
-} /* _kill () */
diff --git a/libgloss/epiphany/link.c b/libgloss/epiphany/link.c
deleted file mode 100644
index d87637e..0000000
--- a/libgloss/epiphany/link.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/* EPIPHANY implementation of _link ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <unistd.h>
-#include <syscall.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Establish a new name for an existing file.
-
- Call an assembly function which will generate a system call trap. Either
- the simulator host file system or the hardware BSP must provide the
- functionality.
-
- @param[in] old The existing file name
- @param[in] new The new file name
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_link (const char *old, const char *new)
-{
- return asm_syscall (old, new, NULL, SYS_link);
-
-} /* _link () */
diff --git a/libgloss/epiphany/lseek.c b/libgloss/epiphany/lseek.c
deleted file mode 100644
index 64ffcdd..0000000
--- a/libgloss/epiphany/lseek.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/* EPIPHANY implementation of _lseek ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <syscall.h>
-#include <sys/types.h>
-
-/* ------------------------------------------------------------------------- */
-/*!Set a position in a file
-
- @param[in] fildes The file descriptor on which to seek
- @param[in] offset The desired offset
- @param[in] whence Where the offset is measured from
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-off_t __attribute__ ((section ("libgloss_epiphany")))
-_lseek (int fildes, off_t offset, int whence)
-{
- return asm_syscall (fildes, offset, whence, SYS_lseek);
-} /* _lseek () */
diff --git a/libgloss/epiphany/open.c b/libgloss/epiphany/open.c
deleted file mode 100644
index 71e9d582b..0000000
--- a/libgloss/epiphany/open.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* EPIPHANY implementation of _open ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <sys/types.h>
-#include "epiphany-syscalls.h"
-#include "syscall.h"
-
-/* ------------------------------------------------------------------------- */
-/*!Open a file
-
- @param[in] file The name of the file to open
- @param[in] flags The flags definining how the file should be opened
- @param[in] mode The permissions to be used in the new file
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_open (const char *file, int flags, mode_t mode)
-{
- return asm_open (file, flags, mode);
-} /* _open () */
diff --git a/libgloss/epiphany/read.c b/libgloss/epiphany/read.c
deleted file mode 100644
index 6e33e05..0000000
--- a/libgloss/epiphany/read.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* EPIPHANY implementation of _read ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <sys/types.h>
-#include "epiphany-syscalls.h"
-#include "syscall.h"
-
-/* ------------------------------------------------------------------------- */
-/*!Read a file
-
- @param[in] fildes The descriptor of the file from which to read
- @param[in] ptr Buffer for the read data
- @param[in] len Maximum number of bytes to read
-
- @return Number of bytes read on success, -1 on failure with an error code
- in errno. */
-/* ------------------------------------------------------------------------- */
-ssize_t __attribute__ ((section ("libgloss_epiphany")))
-_read (int fildes, void *ptr, size_t len)
-{
- return asm_read (fildes, ptr, len);
-} /* _read () */
diff --git a/libgloss/epiphany/sbrk.c b/libgloss/epiphany/sbrk.c
deleted file mode 100644
index 4880c0f..0000000
--- a/libgloss/epiphany/sbrk.c
+++ /dev/null
@@ -1,165 +0,0 @@
-/* EPIPHANY implementation of _sbrk ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-/* ------------------------------------------------------------------------- */
-/* This implementation is suitable for use with the Verilator simulation of
- the EPIPHANY.
-
- Commenting suitable for processing by Doxygen is provided throughout. */
-/* ------------------------------------------------------------------------- */
-#include <sys/types.h>
-#include <errno.h>
-#include <stddef.h>
-
-/* ------------------------------------------------------------------------- */
-/*!Increase program data space
-
- This is a minimal implementation. Assuming the heap is growing upwards
- from __heap_start towards __heap_end.
- See linker file for definition.
-
- @param[in] incr The number of bytes to increment the stack by.
-
- @return A pointer to the start of the new block of memory */
-/* ------------------------------------------------------------------------- */
-void *
-_sbrk (int incr)
-{
- extern char __heap_start;//set by linker
- extern char __heap_end;//set by linker
-
- static char *heap_end; /* Previous end of heap or 0 if none */
- char *prev_heap_end;
-
- if (0 == heap_end) {
- heap_end = &__heap_start; /* Initialize first time round */
- }
-
- prev_heap_end = heap_end;
- heap_end += incr;
- //check
- if( heap_end < (&__heap_end)) {
-
- } else {
- errno = ENOMEM;
- return (char*)-1;
- }
- return (void *) prev_heap_end;
-
-} /* _sbrk () */
-
-
-
-///* sbrk support */
-//
-///* The current plan is to have one sbrk handler for all cpus.
-// Hence use `asm' for each global variable here to avoid the cpu prefix.
-// We can't intrude on the user's namespace (another reason to use asm). */
-//
-//#include <sys/types.h>
-///*#include <sys/syscall.h>*/
-//#include <errno.h>
-//#include <stddef.h>
-//
-///* These variables are publicly accessible for debugging purposes.
-// The user is also free to set sbrk_size to something different.
-// See mem-layout.c. */
-//
-//extern int sbrk_size asm ("sbrk_size");
-//
-//caddr_t sbrk_start asm ("sbrk_start");
-//caddr_t sbrk_loc asm ("sbrk_loc");
-//extern char end; /* Defined by linker. */
-//
-///*caddr_t _sbrk_r (struct _reent *, size_t) asm ("__sbrk_r");*/
-//
-//
-///* This symbol can be defined with the --defsym linker option. */
-//extern char __heap_end __attribute__((weak));
-//
-//
-///* FIXME: We need a semaphore here. */
-//
-//caddr_t
-//_sbrk_r (struct _reent *r, size_t nbytes)
-//{
-// extern char end; /* Defined by linker. */
-// static char *heap_end; /* Previous end of heap or 0 if none */
-// char *prev_heap_end;
-// register char* stack asm("sp");
-//
-// if (0 == heap_end)
-// {
-// heap_end = &end; /* Initialize first time round */
-// }
-//
-// prev_heap_end = heap_end;
-//
-// if (stack < (prev_heap_end+nbytes)) {
-// /* heap would overlap the current stack depth.
-// * Future: use sbrk() system call to make simulator grow memory beyond
-// * the stack and allocate that
-// */
-// errno = ENOMEM;
-// return (char*)-1;
-// }
-//
-// heap_end += nbytes;
-//
-// return (caddr_t) prev_heap_end;
-//
-//} /* _sbrk () */
-
-
-//caddr_t
-//_sbrk_r (struct _reent *r, size_t nbytes)
-//{
-// caddr_t result;
-//
-// void *heap_end;
-//
-// heap_end = &__heap_end;
-// if (!heap_end)
-// heap_end = sbrk_start + sbrk_size;
-// if (
-// /* Ensure we don't underflow. */
-// sbrk_loc + nbytes < sbrk_start
-// /* Ensure we don't overflow. */
-// || sbrk_loc + nbytes > (caddr_t)heap_end)
-// {
-// errno = ENOMEM;
-// return ((caddr_t) -1);
-// }
-//
-// if (0 == sbrk_loc)
-// sbrk_loc = &end; /* Initialize first time round */
-// result = sbrk_loc;
-// sbrk_loc += nbytes;
-// return result;
-//}
diff --git a/libgloss/epiphany/stat.c b/libgloss/epiphany/stat.c
deleted file mode 100644
index 988f28d..0000000
--- a/libgloss/epiphany/stat.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* EPIPHANY implementation of _stat ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <sys/stat.h>
-#include <syscall.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Status of a file (by name)
-
- @param[in] file Name of the file for which status is sought
- @param[out] st Structure for the status information
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_stat (const char *file, struct stat *st)
-{
- return asm_syscall (file, st, NULL, SYS_stat);
-} /* _stat () */
diff --git a/libgloss/epiphany/times.c b/libgloss/epiphany/times.c
deleted file mode 100644
index edcc8c6..0000000
--- a/libgloss/epiphany/times.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/* EPIPHANY implementation of _times ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include <sys/times.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Get timing information for current process
-
- This is a minimal implementation, which always fails
-
- @todo Is this a permissible errno?
-
- @param[out] buf Buffer for timing information
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-clock_t __attribute__ ((section ("libgloss_epiphany")))
-_times (struct tms *buf)
-{
- errno = ENOSYS;
- return -1;
-
-} /* _times () */
diff --git a/libgloss/epiphany/unlink.c b/libgloss/epiphany/unlink.c
deleted file mode 100644
index c78af28..0000000
--- a/libgloss/epiphany/unlink.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/* EPIPHANY implementation of _unlink ()
-
- Copyright (c) 2011, Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <unistd.h>
-#include <syscall.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Remove a file
-
- Call an assembly function which will generate a system call trap. Either
- the simulator host file system or the hardware BSP must provide the
- functionality.
-
- @param[in] name Name of file to remove
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-int __attribute__ ((section ("libgloss_epiphany")))
-_unlink (const char *name)
-{
- return asm_syscall (name, NULL, NULL, SYS_unlink);
-
-
-} /* _unlink () */
diff --git a/libgloss/epiphany/wait.c b/libgloss/epiphany/wait.c
deleted file mode 100644
index 246e3b8..0000000
--- a/libgloss/epiphany/wait.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* EPIPHANY implementation of _wait ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-
-#include <errno.h>
-#include <sys/types.h>
-
-
-/* ------------------------------------------------------------------------- */
-/*!Wait for a child process
-
- This is a minimal implementation, which always fails, since we have only
- one process.
-
- @param[out] status Status information about the file waited for.
-
- @return 0 on success, -1 on failure with an error code in errno. */
-/* ------------------------------------------------------------------------- */
-pid_t __attribute__ ((section ("libgloss_epiphany")))
-_wait (int *status)
-{
- errno = ENOSYS;
- return -1;
-
-} /* _wait () */
diff --git a/libgloss/epiphany/write.c b/libgloss/epiphany/write.c
deleted file mode 100644
index 430c103..0000000
--- a/libgloss/epiphany/write.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* EPIPHANY implementation of _write ()
-
- Copyright (c) 2011, 2012 Adapteva, Inc.
- All rights reserved.
-
- Contributor Jeremy Bennett <jeremy.bennett@embecosm.com> for Adapteva Inc
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Adapteva nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE. */
-
-#include <sys/types.h>
-#include "epiphany-syscalls.h"
-#include "syscall.h"
-
-
-/* ------------------------------------------------------------------------- */
-/*!Write to a file
-
- CGEN simulator file output.
-
- @param[in] fildes File descriptor to write to
- @param[in] ptr Buffer of data to write
- @param[in] len Number of bytes to write
-
- @return Number of bytes written on success, -1 on failure with an error
- code in errno. */
-/* ------------------------------------------------------------------------- */
-ssize_t __attribute__ ((section ("libgloss_epiphany")))
-_write (int file, const void *ptr, size_t len)
-{
- return asm_write (file, ptr, len);
-} /* _write () */
diff --git a/libgloss/fr30/Makefile.in b/libgloss/fr30/Makefile.in
deleted file mode 100644
index e0318a0..0000000
--- a/libgloss/fr30/Makefile.in
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = putnum.o unlink.o
-CFLAGS = -g
-SCRIPTS =
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = crt0.o
-SIM_OBJS = syscalls.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the mon960 stuff
-MON_LDFLAGS =
-MON_BSP = libmon960.a
-MON_CRT0 = crt0.o
-MON_OBJS =
-MON_SCRIPTS = mon960.ld
-MON_TEST =
-MON_INSTALL = install-mon
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-# all: ${MON_CRT0} ${MON_BSP}
-all: ${SIM_CRT0} ${SIM_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-${MON_BSP}: ${OBJS} ${MON_OBJS}
- ${AR} ${ARFLAGS} ${MON_BSP} ${MON_OBJS} ${OBJS}
- ${RANLIB} ${MON_BSP}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${MVME_TEST} ${EVM_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-simulator.o: simulator.S
-sim-crt0.o: sim-crt0.S
-mvme-crt0.o: mvme-crt0.S
-mvme-exit.o: mvme-exit.S
-mvme-inbyte.o: mvme-inbyte.S
-mvme-outbyte.o: mvme-outbyte.S
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(MON_BSP)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL}
-
-install-mon:
- set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-sim:
- set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/fr30/aclocal.m4 b/libgloss/fr30/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/fr30/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/fr30/configure b/libgloss/fr30/configure
deleted file mode 100755
index 0edd344..0000000
--- a/libgloss/fr30/configure
+++ /dev/null
@@ -1,3777 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.s"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/fr30/configure.in b/libgloss/fr30/configure.in
deleted file mode 100644
index 01818d7..0000000
--- a/libgloss/fr30/configure.in
+++ /dev/null
@@ -1,39 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.s)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile)
-AC_OUTPUT
diff --git a/libgloss/fr30/crt0.s b/libgloss/fr30/crt0.s
deleted file mode 100644
index e83a308..0000000
--- a/libgloss/fr30/crt0.s
+++ /dev/null
@@ -1,46 +0,0 @@
-# FR30 startup code
-
- .section .text
- .global _start
-_start:
-
- ;; Initialise the stack pointer
- ldi:32 __stack, r0
- mov r0, sp
- mov r0, fp
-
- ;; Zero the data space
- ldi:32 #_edata, r0
- ldi:32 #_end, r1
- ldi:8 #0, r2
-.L0:
- st r2, @r0
- add #4, r0
- cmp r1, r0
- blt .L0
-
- ;; Call global and static constructors
- ldi:32 _init, r0
- call @r0
-
- ;; Setup destrcutors to be called from exit.
- ;; (Just in case main never returns....)
- ldi:32 atexit, r0
- ldi:32 _fini, r4
- call @r0
-
- ;; Initialise argc, argv and envp to empty
- ldi:8 #0, r4
- ldi:8 #0, r5
- ldi:8 #0, r6
-
- ;; Call main
- ldi:32 main, r0
- call @r0
-
- ;; Jump to exit
- ldi:32 exit, r0
- call @r0
-
- ;; Should never reach here
- int #9
diff --git a/libgloss/fr30/syscalls.c b/libgloss/fr30/syscalls.c
deleted file mode 100644
index 2558556..0000000
--- a/libgloss/fr30/syscalls.c
+++ /dev/null
@@ -1,145 +0,0 @@
-/* FR30 system call emulation code
- Copyright (C) 1998, 2010 Free Software Foundation, Inc.
- Contributed by Cygnus Solutions. */
-
-#include <sys/stat.h>
-#include "../syscall.h"
-
-int
-_read (file, ptr, len)
- int file;
- char * ptr;
- int len;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_read) : "r0");
- asm ("int #10");
-
- return;
-}
-
-int
-_lseek (file, ptr, dir)
- int file;
- int ptr;
- int dir;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_lseek) : "r0");
- asm ("int #10");
-
- return;
-}
-
-int
-_write (file, ptr, len)
- int file;
- char * ptr;
- int len;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_write) : "r0");
- asm ("int #10");
-
- return;
-}
-
-int
-_open (path, flags)
- const char * path;
- int flags;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_open) : "r0");
- asm ("int #10");
-
- return;
-}
-
-int
-_close (file)
- int file;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_close) : "r0");
- asm ("int #10");
-
- return 0;
-}
-
-void
-_exit (n)
- int n;
-{
- asm ("ldi:8 %0, r0" :: "i" (SYS_exit) : "r0");
- asm ("int #10");
-}
-
-
-caddr_t
-_sbrk (incr)
- int incr;
-{
- extern char end asm ("_end"); /* Defined by the linker */
- extern int __stack; /* Defined by linker script. */
- static char * heap_end;
- char * prev_heap_end;
-
- if (heap_end == NULL)
- heap_end = & end;
-
- prev_heap_end = heap_end;
-#if 0
- if (heap_end + incr > __stack)
- {
- _write ( 1, "_sbrk: Heap and stack collision\n", 32);
- abort ();
- }
-#endif
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
-
-int
-_fstat (file, st)
- int file;
- struct stat * st;
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int
-_unlink ()
-{
- return -1;
-}
-
-int
-_isatty (fd)
- int fd;
-{
- return 0;
-}
-
-int
-_raise ()
-{
- return 0;
-}
-
-int
-_times ()
-{
- return 0;
-}
-
-int
-_kill (pid, sig)
- int pid;
- int sig;
-{
- return 0;
-}
-
-int
-_getpid (void)
-{
- return 0;
-}
diff --git a/libgloss/frv/Makefile.in b/libgloss/frv/Makefile.in
deleted file mode 100644
index 64f3345..0000000
--- a/libgloss/frv/Makefile.in
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright (c) 2002 Red Hat, Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/frv. This is the board support
-# code for the various frv targets.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o
-SIM_BSP = libsim.a
-SIM_OBJS = fstat.o \
- getpid.o \
- isatty.o \
- kill.o \
- putnum.o \
- sbrk.o \
- sim-close.o \
- sim-exit.o \
- sim-inbyte.o \
- sim-lseek.o \
- sim-open.o \
- sim-read.o \
- sim-time.o \
- sim-unlink.o \
- sim-write.o \
- stat.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0) $(SIM_BSP)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-fstat.o: $(srcdir)/fstat.c
-getpid.o: $(srcdir)/getpid.c
-isatty.o: $(srcdir)/isatty.c
-kill.o: $(srcdir)/kill.c
-putnum.o: $(srcdir)/putnum.c
-sbrk.o: $(srcdir)/sbrk.c
-sim-close.o: $(srcdir)/sim-close.S
-sim-exit.o: $(srcdir)/sim-exit.S
-sim-inbyte.o: $(srcdir)/sim-inbyte.c
-sim-lseek.o: $(srcdir)/sim-lseek.S
-sim-open.o: $(srcdir)/sim-open.S
-sim-read.o: $(srcdir)/sim-read.S
-sim-time.o: $(srcdir)/sim-time.c
-sim-unlink.o: $(srcdir)/sim-unlink.S
-sim-write.o: $(srcdir)/sim-write.S
-stat.o: $(srcdir)/stat.c
-
-install: $($(CPU)_INSTALL)
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/frv/aclocal.m4 b/libgloss/frv/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/frv/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/frv/configure b/libgloss/frv/configure
deleted file mode 100755
index 360188c..0000000
--- a/libgloss/frv/configure
+++ /dev/null
@@ -1,3732 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/frv/configure.in b/libgloss/frv/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/frv/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/frv/crt0.S b/libgloss/frv/crt0.S
deleted file mode 100644
index 9aa47f7..0000000
--- a/libgloss/frv/crt0.S
+++ /dev/null
@@ -1,276 +0,0 @@
-/* crt0.S -- startup file for frv.
- *
- * Copyright (c) 2002, 2003 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
- /* statically store .Lcall's address so we can see if we are running
- at the location we were linked for or a different location. */
- .data
- .type EXT(__start_cmp),@object
- .size EXT(__start_cmp),4
- .p2align 2
-EXT(__start_cmp):
- .picptr .Lcall
-
- .globl __start
- .weak _start
- .text
- .type __start,@function
-__start:
-_start:
- call .Lcall /* set up _gp in a pic-friendly manor */
-.Lcall: movsg lr, gr4
- P(sethi) #gprelhi(.Lcall), gr5
- setlo #gprello(.Lcall), gr5
- P(sub) gr4, gr5, gr16
-
-#if ! __FRV_FDPIC__
- sethi #gprelhi(EXT(_stack)), sp /* load up stack pointer */
- P(setlo) #gprello(EXT(_stack)), sp
- setlos #0, fp /* zero fp to allow unwinders to stop */
- P(add) sp, gr16, sp
-
-#define FDPIC(...)
-#else
-#define FDPIC(...) __VA_ARGS__
-
- /* The assembler will rightfully claim that
- #hi/lo(__stacksize) are unsafe for PIC, but since __stacksize
- is absolute, and we don't want it to be relocated, we should
- be fine. */
-
- sethi #gprelhi(EXT(__end)), gr6
- P(sethi) #hi(EXT(__stacksize+7)), gr5
- setlo #gprello(EXT(__end)), gr6
- P(setlo) #lo(EXT(__stacksize+7)), gr5
- add gr6, gr16, gr6
- add gr6, gr5, gr5
- andi gr5, -8, sp
-
- /* Using GPREL to compute _GLOBAL_OFFSET_TABLE_'s will force
- the entire program to relocate as a unit, which is fine for
- frv-elf. */
-
- P(sethi) #gprelhi(EXT(_GLOBAL_OFFSET_TABLE_)), gr15
- setlo #gprello(EXT(_GLOBAL_OFFSET_TABLE_)), gr15
- /* We compute the value in a call-saved register (that happens
- to be the PIC register in the EABI, and copy it to gr15 before
- every call. */
- add gr15, gr16, gr17
-#endif
-
- sethi #gprelhi(EXT(__start_cmp)), gr5
- setlo #gprello(EXT(__start_cmp)), gr5
- ld @(gr5,gr16), gr6
- subcc gr4, gr6, gr8, icc0
- beq icc0, 0, .Lfixed
-
- P(st) gr4, @(gr5, gr16) /* update so if we restart no need to fixup */
- setlos 4, gr11
-
-#if ! __FRV_FDPIC__
-
- /* fixup the .ctors list */
- sethi #gprelhi(EXT(__CTOR_LIST__)), gr9
- P(sethi) #gprelhi(EXT(__CTOR_END__)), gr10
- setlo #gprello(EXT(__CTOR_LIST__)), gr9
- P(setlo) #gprello(EXT(__CTOR_END__)), gr10
- add gr9, gr16, gr9
- P(add) gr10, gr16, gr10
- addi gr9, 4, gr9
- P(subi) gr10, 4, gr10
- call EXT(__frv_fixptrs)
-
- /* fixup the .dtors list */
- P(sethi) #gprelhi(EXT(__DTOR_LIST__)), gr9
- sethi #gprelhi(EXT(__DTOR_END__)), gr10
- P(setlo) #gprello(EXT(__DTOR_LIST__)), gr9
- setlo #gprello(EXT(__DTOR_END__)), gr10
- P(add) gr9, gr16, gr9
- add gr10, gr16, gr10
- P(addi) gr9, 4, gr9
- subi gr10, 4, gr10
- call EXT(__frv_fixptrs)
-#endif /* ! __FRV_FDPIC__ */
-
- /* fixup the user .rofixup list */
- P(sethi) #gprelhi(EXT(__ROFIXUP_LIST__)), gr9
- sethi #gprelhi(EXT(__ROFIXUP_END__)), gr10
- P(setlo) #gprello(EXT(__ROFIXUP_LIST__)), gr9
- setlo #gprello(EXT(__ROFIXUP_END__)), gr10
- P(add) gr9, gr16, gr9
- add gr10, gr16, gr10
- FDPIC(mov gr17, gr15)
- call EXT(__frv_fix_usrptrs)
-
-.Lfixed:
-
-/* HSR flags */
-#define HSR_ICE 0x80000000 /* Instruction cache enable */
-#define HSR_DCE 0x40000000 /* Data cache enable */
-#define HSR_CBM 0x08000000 /* Cache copy back mode */
-#define HSR_EIMM 0x04000000 /* Enable Instruction MMU */
-#define HSR_EDMM 0x02000000 /* Enable Data MMU */
-#define HSR_EMEM 0x00800000 /* Enable MMU miss exception mask */
-#define HSR_RME 0x00400000 /* Ram mode enable */
-#define HSR_SA 0x00001000 /* Start address */
-#define HSR_FRN 0x00000800 /* Number of FPRs */
-#define HSR_GRN 0x00000400 /* Number of GPRs */
-#define HSR_FRHE 0x00000200 /* FR Higher Enable */
-#define HSR_FRLE 0x00000100 /* FR Lower Enable */
-#define HSR_GRHE 0x00000080 /* GR Higher Enable */
-#define HSR_GRLE 0x00000040 /* GR Lower Enable */
-
-#ifndef HSR_CLEAR
-#define HSR_CLEAR 0
-#endif
-
-#ifndef HSR_SET
-#ifndef FRV_NO_CACHE
-#define HSR_SET (HSR_ICE|HSR_DCE|HSR_FRHE|HSR_FRLE|HSR_GRHE|HSR_GRLE)
-#else
-#define HSR_SET (HSR_FRHE|HSR_FRLE|HSR_GRHE|HSR_GRLE)
-#endif
-#endif
-
-/* PSR flags */
-#define PSR_ICE 0x00010000 /* In circuit emulation mode */
-#define PSR_NEM 0x00004000 /* Non-exception mode */
-#define PSR_CM 0x00002000 /* Conditional mode */
-#define PSR_BE 0x00001000 /* Big endian mode */
-#define PSR_EF 0x00000100 /* Enable floating point */
-#define PSR_EM 0x00000080 /* Enable media instructions */
-#define PSR_S 0x00000004 /* Enable supervisor mode */
-#define PSR_PS 0x00000002 /* Previous supervisor mode */
-#define PSR_ET 0x00000001 /* Enable interrupts */
-
-#ifndef PSR_CLEAR
-#if __FRV_FPR__
-#define PSR_CLEAR 0
-#else
-#define PSR_CLEAR (PSR_EF|PSR_EM)
-#endif
-#endif
-
-#ifndef PSR_SET
-#if __FRV_FPR__
-#define PSR_SET (PSR_NEM|PSR_CM|PSR_EF|PSR_EM)
-#else
-#define PSR_SET (PSR_NEM|PSR_CM)
-#endif
-#endif
-
- /* Enable floating point */
- movsg hsr0, gr4
- P(sethi) #hi(HSR_SET), gr5
- setlo #lo(HSR_SET), gr5
- P(sethi) #hi(~HSR_CLEAR), gr6
- setlo #lo(~HSR_CLEAR), gr6
- or gr4, gr5, gr4
- and gr4, gr6, gr4
- movgs gr4, hsr0
-
- movsg psr, gr4
- P(sethi) #hi(PSR_SET), gr5
- setlo #lo(PSR_SET), gr5
- P(sethi) #hi(~PSR_CLEAR), gr6
- setlo #lo(~PSR_CLEAR), gr6
- or gr4, gr5, gr4
- and gr4, gr6, gr4
- movgs gr4, psr
-
- /* zero the bss area */
- P(sethi) #gprelhi(__bss_start), gr8
- sethi #gprelhi(__end), gr4
- P(setlo) #gprello(__bss_start), gr8
- setlo #gprello(__end), gr4
- P(add) gr8, gr16, gr8
- add gr4, gr16, gr4
- P(setlos) #0, gr9
- sub gr4, gr8, gr10
- FDPIC(mov gr17, gr15)
- call EXT(memset)
-
- P(setlos) #0, gr8 /* zero argc, argv, envp */
- setlos #0, gr9
- P(setlos) #0, gr10
-
- FDPIC(mov gr17, gr15)
- call EXT(main)
- FDPIC(mov gr17, gr15)
- call EXT(exit)
-.Lend:
- .size __start,(.Lend-__start)
-
-#if ! __FRV_FDPIC__
- /* Routine to adjust pointers
- gr8 = difference to adjust by
- gr9 = starting address
- gr10 = ending address + 4
- gr11 = amount to add to the pointer each iteration. */
- .globl EXT(__frv_fixptrs)
- .type EXT(__frv_fixptrs),@function
-EXT(__frv_fixptrs):
- P(sub) gr9, gr11, gr9
- sub gr10, gr11, gr10
-.Lloop2:
- cmp gr10, gr9, icc0
- bls icc0, 0, .Lret2
-
- ldu @(gr9,gr11), gr5
- add gr8, gr5, gr5
- P(st) gr5, @(gr9,gr0)
- bra .Lloop2
-
-.Lret2: ret
-.Lend2:
- .size EXT(__frv_fixptrs),.Lend2-EXT(__frv_fixptrs)
-#endif /* ! __FRV_FDPIC__ */
-
- /* Routine to adjust statically initialized pointers
- Note since these are pointers to pointers, they
- need to be adjusted themsevles.
-
- gr8 = difference to adjust by
- gr9 = starting address
- gr10 = ending address + 4
- gr11 = amount to add to the pointer each iteration. */
- .globl EXT(__frv_fix_usrptrs)
- .type EXT(__frv_fix_usrptrs),@function
-EXT(__frv_fix_usrptrs):
- P(sub) gr9, gr11, gr9
- sub gr10, gr11, gr10
-.Lloop3:
- cmp gr10, gr9, icc0
- bls icc0, 0, .Lret3
-
- ldu @(gr9,gr11), gr5
- ld @(gr5, gr8), gr6
- cmp gr6, gr0, icc0 /* skip pointers initialized to 0 */
- beq icc0, 0, .Lloop3
-
- add gr8, gr6, gr6
- P(st) gr6, @(gr5,gr8)
- bra .Lloop3
-
-.Lret3: ret
-.Lend3:
- .size EXT(__frv_fix_usrptrs),.Lend3-EXT(__frv_fix_usrptrs)
-
- .section .data
- .global __dso_handle
- .weak __dso_handle
-__dso_handle:
- .long 0
diff --git a/libgloss/frv/fstat.c b/libgloss/frv/fstat.c
deleted file mode 100644
index 756f7b2..0000000
--- a/libgloss/frv/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include "glue.h"
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/frv/getpid.c b/libgloss/frv/getpid.c
deleted file mode 100644
index e6d5682..0000000
--- a/libgloss/frv/getpid.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (_getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/frv/isatty.c b/libgloss/frv/isatty.c
deleted file mode 100644
index b021b4f..0000000
--- a/libgloss/frv/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (_isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/frv/kill.c b/libgloss/frv/kill.c
deleted file mode 100644
index 7c365fd..0000000
--- a/libgloss/frv/kill.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern void _exit (int) __attribute__((__noreturn__));
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/frv/print.c b/libgloss/frv/print.c
deleted file mode 100644
index 8c8be84..0000000
--- a/libgloss/frv/print.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* print.c -- print a string on the output device.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * print -- do a raw print of a string
- */
-void
-_DEFUN (_print, (ptr),
-char *ptr)
-{
- while (*ptr) {
- outbyte (*ptr++);
- }
-}
diff --git a/libgloss/frv/putnum.c b/libgloss/frv/putnum.c
deleted file mode 100644
index c7fa121..0000000
--- a/libgloss/frv/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (_putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/frv/sbrk.c b/libgloss/frv/sbrk.c
deleted file mode 100644
index 469257d..0000000
--- a/libgloss/frv/sbrk.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* sbrk.c -- allocate memory dynamically.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (caddr_t)0x100000
-#endif
-
-char *__heap_ptr = (char *)&_end;
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-char *
-_sbrk (nbytes)
- int nbytes;
-{
- char *base;
- char *sp;
-
- base = __heap_ptr;
- __heap_ptr += nbytes;
-
- return base;
-/* FIXME: We really want to make sure we don't run out of RAM, but this
- * isn't very portable.
- */
-#if 0
- if ((RAMSIZE - heap_ptr - nbytes) >= 0) {
- base = heap_ptr;
- heap_ptr += nbytes;
- return (base);
- } else {
- errno = ENOMEM;
- return ((char *)-1);
- }
-#endif
-}
diff --git a/libgloss/frv/sim-close.S b/libgloss/frv/sim-close.S
deleted file mode 100644
index 96caf0a..0000000
--- a/libgloss/frv/sim-close.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * sim-close.S -- close interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- File descriptor to close.
- *
- * Output:
- * gr8 -- 0 or -1.
- * errno -- Set if an error
- */
-
- .globl EXT(_close)
- .type EXT(_close),@function
- .weak EXT(close)
- .text
-EXT(_close):
-EXT(close):
- setlos #SYS_close,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_close),.Lend-EXT(_close)
diff --git a/libgloss/frv/sim-exit.S b/libgloss/frv/sim-exit.S
deleted file mode 100644
index 7b6d4a0..0000000
--- a/libgloss/frv/sim-exit.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * sim-exit.S -- _exit interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- exit value
- *
- * Output:
- * none
- */
-
- .globl EXT(_exit)
- .type EXT(_exit),@function
- .text
-EXT(_exit):
- setlos #SYS_exit,gr7
- tira gr0,#0
-.Lend:
- .size EXT(_exit),.Lend-EXT(_exit)
diff --git a/libgloss/frv/sim-inbyte.c b/libgloss/frv/sim-inbyte.c
deleted file mode 100644
index 9d39751..0000000
--- a/libgloss/frv/sim-inbyte.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * sim-inbyte.c -- read a character from standard input.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int
-inbyte ()
-{
- char c;
-
- if (read (0, &c, 1) <= 0)
- return -1;
-
- return c;
-}
diff --git a/libgloss/frv/sim-lseek.S b/libgloss/frv/sim-lseek.S
deleted file mode 100644
index f545e90..0000000
--- a/libgloss/frv/sim-lseek.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * sim-lseek.S -- write interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- File descriptor
- * gr9 -- Offset
- * gr10 -- Base from which offset should be taken
- *
- * Output:
- * gr8 -- Zero on success, -1 on failure.
- * errno -- Set if an error
- */
-
- .globl EXT(_lseek)
- .type EXT(_lseek),@function
- .weak EXT(lseek)
- .text
-EXT(_lseek):
-EXT(lseek):
- setlos #SYS_lseek,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_lseek),.Lend-EXT(_lseek)
diff --git a/libgloss/frv/sim-open.S b/libgloss/frv/sim-open.S
deleted file mode 100644
index 9a8fd00..0000000
--- a/libgloss/frv/sim-open.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * sim-open.S -- open interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- File name to open.
- * gr9 -- open mode.
- * gr10 -- optionally, the permission bits to set the file to.
- *
- * Output:
- * gr8 -- file descriptor or -1.
- * errno -- Set if an error
- */
-
- .globl EXT(_open)
- .type EXT(_open),@function
- .weak EXT(open)
- .text
-EXT(_open):
-EXT(open):
- setlos #SYS_open,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_open),.Lend-EXT(_open)
diff --git a/libgloss/frv/sim-read.S b/libgloss/frv/sim-read.S
deleted file mode 100644
index e058ce8..0000000
--- a/libgloss/frv/sim-read.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * sim-read.S -- read interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- File descriptor.
- * gr9 -- Buffer to be read into.
- * gr10 -- Length of the buffer.
- *
- * Output:
- * gr8 -- Length read or -1.
- * errno -- Set if an error
- */
-
- .globl EXT(_read)
- .type EXT(_read),@function
- .weak EXT(read)
- .text
-EXT(_read):
-EXT(read):
- setlos #SYS_read,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_read),.Lend-EXT(_read)
diff --git a/libgloss/frv/sim-time.c b/libgloss/frv/sim-time.c
deleted file mode 100644
index c4746b4..0000000
--- a/libgloss/frv/sim-time.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/* sim-time.c -- stubs so clock can be linked in.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include "glue.h"
-
-/*
- * time -- simulator interface to return current time in seconds.
- */
-__asm__ ("\
- .text\n\
- .globl _sim_time\n\
- .type _sim_time,@function\n\
-_sim_time:\n\
- setlos #18, gr7\n\
- tira gr0, #0\n\
- ret\n\
-.Lsim:\n\
- .size _sim_time,.Lsim-_sim_time");
-
-extern time_t _sim_time (void) __asm__("_sim_time");
-
-
-/*
- * time -- return current time in seconds.
- */
-time_t
-_DEFUN (time, time (t),
- time_t *t)
-{
- time_t ret = _sim_time ();
-
- if (t)
- *t = ret;
-
- return ret;
-}
-
-/*
- * _times -- no clock, so return an error.
- */
-int
-_DEFUN (_times, _times (buf),
- struct tms *buf)
-{
- errno = EINVAL;
- return (-1);
-}
-
-/*
- * _gettimeofday -- implement in terms of time, which means we can't return the
- * microseconds.
- */
-int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
- struct timeval *tv _AND
- void *tzvp)
-{
- struct timezone *tz = tzvp;
- if (tz)
- tz->tz_minuteswest = tz->tz_dsttime = 0;
-
- tv->tv_usec = 0;
- tv->tv_sec = _sim_time ();
- return 0;
-}
diff --git a/libgloss/frv/sim-unlink.S b/libgloss/frv/sim-unlink.S
deleted file mode 100644
index bb44f35..0000000
--- a/libgloss/frv/sim-unlink.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * sim-unlink.S -- write interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- Filename
- *
- * Output:
- * gr8 -- Zero on success, -1 on failure.
- * errno -- Set if an error
- */
-
- .globl EXT(_unlink)
- .type EXT(_unlink),@function
- .weak EXT(unlink)
- .text
-EXT(_unlink):
-EXT(unlink):
- setlos #SYS_unlink,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_unlink),.Lend-EXT(_unlink)
diff --git a/libgloss/frv/sim-write.S b/libgloss/frv/sim-write.S
deleted file mode 100644
index 580f9bd..0000000
--- a/libgloss/frv/sim-write.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * sim-write.S -- write interface for frv simulator
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <frv-asm.h>
-
-#include "syscall.h"
-
-/*
- * Input:
- * gr8 -- File descriptor.
- * gr9 -- String to be printed.
- * gr10 -- Length of the string.
- *
- * Output:
- * gr8 -- Length written or -1.
- * errno -- Set if an error
- */
-
- .globl EXT(_write)
- .type EXT(_write),@function
- .weak EXT(write)
- .text
-EXT(_write):
-EXT(write):
- setlos #SYS_write,gr7
- tira gr0,#0
- ret
-.Lend:
- .size EXT(_write),.Lend-EXT(_write)
diff --git a/libgloss/frv/stat.c b/libgloss/frv/stat.c
deleted file mode 100644
index 094ab48..0000000
--- a/libgloss/frv/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 2002 Red Hat, Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/fstat.c b/libgloss/fstat.c
deleted file mode 100644
index 8082d63..0000000
--- a/libgloss/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include "glue.h"
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/getpid.c b/libgloss/getpid.c
deleted file mode 100644
index 07f7f92..0000000
--- a/libgloss/getpid.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/glue.h b/libgloss/glue.h
deleted file mode 100644
index 0a7e36d..0000000
--- a/libgloss/glue.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* glue.h -- common definitions for "glue" fucntions.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-#ifndef NULL
-# define NULL 0
-#endif
-
-#ifdef __NO_UNDERSCORE__
-# define _end end
-# define _exit exit
-#endif
-
-extern char _end[]; /* _end is set in the linker command file */
-
-/* only one prcess support, as this is OS dependant */
-#define __MYPID 1
-
-
diff --git a/libgloss/hp74x/Makefile.in b/libgloss/hp74x/Makefile.in
deleted file mode 100644
index 307da0b..0000000
--- a/libgloss/hp74x/Makefile.in
+++ /dev/null
@@ -1,216 +0,0 @@
-#
-# Makefile
-# Copyright (C) 1990, 1991, 1992, 1993 ,1994 Free Software Foundation
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#
-
-#
-# Makefile for newlib/libc/stub/hppa. This is the board support code
-# for the HP-PRO hppa embedded boards. <rob@cygnus.com>
-#
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-#
-# As the boot process only deals with LIF volumes, here's the src
-# where we borrow existing code modules and where we put our
-# boot image if we can bvuild one.
-#
-LIF_SRC = /usr/tftpdir/srcboot.lif
-LIF_DEST = /usr/tftpdir/romboot.lif
-
-HPDEFS = -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_XOPEN_SOURCE \
- -D_INCLUDE_HPUX_SOURCE -DPCXT
-
-LIBS_FOR_TARGET = -lc
-
-#
-# The original flags used by HP for the boot ROMS were
-# CFLAGS_FOR_TARGET = -c -Aa +O3 +OS -Wc,-DA1.0 -Wc,-DS1.0 +ESfic +ESsfc ${HPDEFS}
-CFLAGS_FOR_TARGET = -c -Wd,-a -g
-# the original value for -R was 0
-LDFLAGS_FOR_TARGET = -v -t -N -R 10000 -a archive
-INCLUDES = -I${srcdir}
-
-BSP_OBJS= pa_stub.o debugger.o iva_table.o io.o
-STUBCRT0=crt0.o
-STUBLIB=hppa.o
-LDSCRIPT=hppa.ld
-SHARED_DIR=
-SHARED_OBJS=
-# SHARED_OBJS=$(SHARED_DIR)
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: boot
-
-# this target is only for testing
-test: ${STUBCRT0} $(STUBLIB) test.o $(BSP_OBJS)
-# ${LD} $(LDFLAGS_FOR_TARGET) ${STUBCRT0} test.o $(BSP_OBJS) -o test $(LIBS_FOR_TARGET)
- rootme=`pwd` ; \
- ${LD} $(LDFLAGS_FOR_TARGET) ${STUBCRT0} test.o pa_stub.o debugger.o iva_table.o io.o -o test $(LIBS_FOR_TARGET)
-
-$(STUBLIB): $(BSP_OBJS)
- ${LD} -r $(BSP_OBJS) $(SHARED_OBJS) -o $(STUBLIB)
-
-checksum: $(srcdir)/checksum.c
- $(CC) -g $(srcdir)/checksum.c -o checksum
-
-# this is the target from HP's Makefile, it may be bogus
-hpstub: $(OBJS)
- $(LD) $(LDFLAGS_FOR_TARGET) -e main -o $@ $(LIBRARY)/crt1.o \
- $(OBJS) -lc -m >stub.map
-
-install:
- $(INSTALL_PROGRAM) $(STUBLIB) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBLIB)
- $(INSTALL_PROGRAM) $(SHARED_DIR)/$(STUBCRT0) $(DESTDIR)$(tooldir)/lib/$(MULTISUBDIR)$(STUBCRT0)
- $(INSTALL_PROGRAM) $(srcdir)/$(LDSCRIPT) $(DESTDIR)$(tooldir)/lib/$(LDSCRIPT)
-
-.c.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $<
-
-.c.s:
- $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $<
-# $(CC) $(CFLAGS_FOR_TARGET) $(NEWLIB_CFLAGS) $(INCLUDES) -c $<
-
-.s.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $<
-# $(AS) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $<
-
-.SUFFIXES: .S .c .o .s .lif
-#
-# lifinit --
-# -vnnn Sets volume size to nnn bytes.
-# nnn must be a multiple of 256.
-# -d Sets directory size to nnn file entries.
-# nnn must be a multiple of 8.
-# -nsss Sets the volume name to be sss.
-# -Knnn Forces the directory start location to be the
-# nearest multiple of nnn x 1024 bytes.
-# -snnn set the initial system load (ISL) start address to
-# nnn in the volume label
-# -lnnn Specifies the length in bytes of the ISL code.
-# -ennn Set the ISL entry point to nnn bytes from the
-# beginning of the ISL
-#
-# lifcp --
-# -r Forces RAW mode copying.
-# -T Sets the file type of the directory entry.
-# ASCII is 1
-# BIN is -23951
-# BINARY is -2
-# -Knnn forces each file copied in to begin on a nnn x
-# 1024-byte boundary from the beginning of the volume
-# Note: the word echoed below MUST be 10 characters exactly.
-#
-# somxtract infile outfile --
-# converts a series 800 file *only* into a raw image
-#
-LIF_VOL = this_lif
-# 65532
-boot: test checksum
-# FIXME: This fills up the hard disk unless "-R" is used
- @rm -f ${LIF_VOL} ${LIF_DEST}
- @ipl_entry=`nm -t d $< | grep "T .START." | sed -e 's/T .START.//' -e 's/^0*//'` ; \
- echo "Entry point is at $${ipl_entry}" ; \
- if test x"$${ipl_entry}" != x ; then \
- ipl_entry=`expr $${ipl_entry} - 65536` ; \
- echo "Entry point offset is $${ipl_entry}" ; \
- cp $< $<.raw ; \
- rm -f $<.dis ; \
- objdump -d $< > $<.dis ; \
- somxtract $< $<.raw ; \
- ipl_size=`checksum -s $<.raw $<.image | sed -e 's/ is the.*//'` ; \
- echo "IPL_SIZE is $${ipl_size}" ; \
- lifinit -v64000000 -d64 -n"CYGNUS " -K2 -s4096 -l$${ipl_size} -e$${ipl_entry} ${LIF_DEST} ;\
- else \
- echo "ERROR: \$$START\$$ symbol not found" ; \
- fi
- @chmod a+rw $<.image
- @lifcp -r -K2 $<.image ${LIF_DEST}:TEST
- @rm -f $<.image $<.dis
- @lifls -l ${LIF_DEST}
- @objdump -d $< > $<.dis
-
-.S.o:
- rm -f $*.s
- ${CPP} $< > $*.s
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $*.s
-# $(CC) $(CFLAGS_FOR_TARGET) $(NEWLIB_CFLAGS) $(INCLUDES) -c $<
-
-.c.list:
- $(CC) $(CFLAGS) $*.c -S
- $(AS) $(AFLAGS) $*.s -Wa,-l > $*.list
- rm $*.s
-
-.s.list:
- $(AS) $(AFLAGS) $*.s -Wa,-l > $*.list
-
-doc:
-
-clean mostlyclean:
- rm -f *~ *.map *.list stub romboot.lif a.out *.raw *.image
- rm -f *.o $(STUBLIB) $(STUBCRT0) checksum *.dis test
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-pa_stub.o: $(srcdir)/pa_stub.c
-debugger.o: $(srcdir)/debugger.s
-iva_table.o: $(srcdir)/iva_table.s
-io.o: $(srcdir)/io.c
-crt0.o: $(srcdir)/crt0.s
-test.o: $(srcdir)/test.c
-term_in.o: $(srcdir)/term_in.s
-term_out.o: $(srcdir)/term_out.s
-term_init.o: $(srcdir)/term_init.s
-
-.PHONY: info install-info clean-info
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/hp74x/README b/libgloss/hp74x/README
deleted file mode 100644
index f27af18..0000000
--- a/libgloss/hp74x/README
+++ /dev/null
@@ -1,156 +0,0 @@
-*** Registers
- GR0 *always zero
- GR1 scratch
- GR2 normal return register
- GR27 Global Data Pointer (Must be set in crt0)
- GR30 SP stack pointer
- GR31 milicode return pointer
-
- SR* Space registers
-
- CR24-31 Temporary Control Registers
- CR14 Vector Table Register (like VBR on an m68020)
- CR0 Put in a count, causes exception when decremented to 0.
-
-FORTH's magic number is 031240
-
-***
- Series 700/800
- The following options are also supported:
-
- -snnn set the initial system load (ISL) start address to
- nnn in the volume label. This is useful when
- building boot media for Series 700/800 systems.
-
- -lnnn specifies the length in bytes of the ISL code in
- the LIF volume.
-
- -ennn set the ISL entry point to nnn bytes from the
- beginning of the ISL. For example, specifying -
- e3272 means that the ISL entry point is 3272
- (decimal) bytes from the beginning of the ISL
- object module.
-
- -Knnn forces the directory start location to be the
- nearest multiple of nnn x 1024 bytes from the
- beginning of the volume. This is necessary for
- booting Series 700/800 systems from LIF media.
-
- -n xxx Sets the volume name to be xxx.
- lifinit -v64000000 -d64 -nISL10 -K2 -s4096 -l61440 -e5336 this_lif
-
-# lifcp --
-# -r Forces RAW mode copying. (file type BIN (-23951))
-# -T Sets the file type of the directory entry.
-# -Knnn forces each file copied in to begin on a nnn x
-# 1024-byte boundary from the beginning of the volume
-# Note: the word echoed below MUST be 10 characters exactly.
-#
- (echo "FORTH ") | lifcp -r -T-030001 -K2 - this_lif:AUTO
-
-
-#
-# somxtract infile outfile --
-# converts a series 800 file *only* into a raw image
-
-It turns out the native cc and our current gcc produce series 700
-output, so in this case it runs till if fills up the hard disk.
-
-*** rombootlf5 is a FORTH interpreter in a "boot" image. (it won't run on
-the HP742 board)
-
-lifls -l rombootlf5
-volume ISL10 data size 249984 directory size 8 94/04/20 10:26:36
-filename type start size implement created
-===============================================================
-ISL -12800 16 240 0 94/04/20 10:26:36
-HPUX -12928 256 496 0 94/04/20 10:26:37
- IOMAP -12960 752 1504 0 94/04/20 10:26:37
-AUTO -12289 2256 1 0 94/04/20 10:26:38
-FORTH -12960 2264 208 0 94/04/20 10:26:38
-HPFORTH ASCII 2472 420 0 94/04/20 10:26:38
-BOOTROM ASCII 2896 3849 0 94/04/20 10:26:40
-PAD1 -12290 6752 1172 0 94/04/20 10:26:40
-
-*** The ISL is only needed when booting the raw hardware. As we're runing
-on a monitor (barely) all we need is a crt0 that initiallizes the GR27
-Global Data Pointer and zero's bss.
-
-*** Initial Program Load
---------------------
-From page 11-56, architecture book.
-0x00000000 +------------------------------------+ 0
- | LIF_MAGIC | |
-0x00000004 +------------------------------------+ 4
- | |
-0x000000F0 +------------------------------------+ 240
- | IPL_ADDR |
-0x000000F4 +------------------------------------+ 244
- | IPL_SIZE |
-0x000000F8 +------------------------------------+ 248
- | IPL_ENTRY |
-0x000000FC +------------------------------------+ 252
- | |
-IPL_ADDR +------------------------------------+ IPL_ADDR
- | Position Independant |
- | IPL Code |
- | (including IPL_CHECKSUM) |
- +------------------------------------+ IPL_ADDR + IPL_SIZE
- | |
- +------------------------------------+
-
-IPL_ADDR 2 Kbyte aligned, nonzero
-IPL_SIZE Multiple of 2Kbytes, <= 256 Kbytes
-IPL_ENTRY Word aligned, less than IPL_SIZE
-
-Loads at IPL_START
-
-This is based on Cobra/Coral hardware:
- LED register at 0xf080024
- I/O status register at 0xf0800000
- EEPROM at 0xf0810000 (LAN ID begins at byte 0)
-
-Here's a dump of the LIF volume header using "xd" (od with hex output)
-
-*
-00000f0 0000 1000 0000 9800 0000 0000 0000 0000
- ^^^^
- This is the size
-*
-0000800 5445 5354 2020 2020 2020 a271 0000 0010
- ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^<-- this is the ipl offset
- this is the vol name ^^^^<- this is the type
-
-0000810 0000 0098 9407 1919 1426 8001 0000 0000
- ^^^^
- This is the ipl size
-
-Interupts
----------
-The vector table is access by %iva (%cr14). The address here must be a
-multiple of 2048. The indexes are:
-1 high-priority
-2 power failure
-3 recovery counter
-4 external interrupt
-5 low-priority machine check
-6 instruction TLB miss/instruction page fault
-7 instruction memory protection
-8 illegal instruction
-9 break instruction
-10 priviledged operation
-11 priviledged register
-12 overflow
-13 conditional
-14 assist exception
-15 data TLB miss fault/data page fault
-16 non access instruction TLB miss fault
-17 non access page TLB miss fault/non access data page fault
-18 data memory protection/unaligned data reference
-19 data memory break
-20 TLB dirty bit
-21 page reference
-22 assist emulation
-23 higher-priority transfer
-24 lower-priority transfe
-25 taken branch
diff --git a/libgloss/hp74x/aclocal.m4 b/libgloss/hp74x/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/hp74x/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/hp74x/checksum.c b/libgloss/hp74x/checksum.c
deleted file mode 100644
index 4a2b331..0000000
--- a/libgloss/hp74x/checksum.c
+++ /dev/null
@@ -1,150 +0,0 @@
-#include <stdio.h>
-#include <fcntl.h>
-
-#define USAGE "USAGE: checkum -[vhcs] infile outfile\n\t-v\tverbose\n\
-\t-h\thelp\n\t-c\tcheck checksum\n\t-s\tprint the ipl size"
-static int verbose = 0;
-static int verify = 0;
-static int size = 0;
-
-typedef int word_t;
-#define WORDSIZE (sizeof(word_t))
-
-main(argc, argv)
- int argc;
- char **argv;
-{
- char *infile;
- char *outfile;
- int infd;
- int outfd;
- word_t checksum = 0;
- int nbytes;
- word_t buf;
- int i = 1;
- int filesize = 0;
-
- while (*argv[i] == '-') {
- switch (*(argv[i]+1)) {
- case 'v':
- verbose++;
- break;
- case 'c':
- verify++;
- puts ("Sorry, unimplemented for now");
- exit(1);
- break;
- case 's':
- size++;
- break;
- case 'h':
- puts (USAGE);
- exit(0);
- default:
- printf ("\"%s\", Illegal option\n", argv[i]);
- puts (USAGE);
- exit(1);
- }
- i++;
- }
- infile = *(argv + i);
- outfile = *(argv + i+1);
-
- /* see it there were file names on the command line */
- if (infile == 0x0) {
- puts("Didn't specify an input file name");
- exit(1);
- }
- if (outfile == 0x0) {
- puts("Didn't specify an output file name");
- exit(1);
- }
-
- /* try to open the files */
- infd = open(infile, O_RDONLY);
- if (infd == -1) {
- printf("Couldn't open %s\n", infile);
- exit(1);
- }
-
- outfd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC);
- if (outfd == -1) {
- printf("Couldn't open %s\n", outfile);
- exit(1);
- }
-
- if (verbose > 2)
- putchar('\n');
-
- /* calculate the checksum */
- while ((nbytes = read(infd, &buf, WORDSIZE)) == WORDSIZE) {
- if (verbose > 2)
- putchar('.');
- checksum+= buf;
- filesize+= WORDSIZE;
- if (write(outfd, &buf, WORDSIZE) != WORDSIZE) {
- puts("Couldn't write");
- }
- if (verbose > 3)
- putchar('+');
- }
- if (verbose > 2)
- putchar('\n');
-
- /* write the last byte read */
- if (nbytes > 0) {
- write(outfd, &buf, nbytes);
- checksum+= buf; /* calculate the last word */
- filesize+= nbytes;
- }
- /* write the checksum */
- buf = -checksum;
- write(outfd, &buf, WORDSIZE);
- filesize+= WORDSIZE; /* checksum increase the size */
-
- if (verbose > 0)
- printf("The calculated checksum is:\n\t0x%x,\n\t%u\n", -checksum, -checksum);
-
- /* calculate the extra 2K here */
- buf = 0;
- while ((filesize % 2048) !=0) {
- filesize+=WORDSIZE;
- write(outfd, &buf, WORDSIZE);
- }
- if (size > 0) {
- printf ("%u is the new file size\n", filesize);
- }
- close(outfd);
- close(infd);
- exit(0);
-}
-
-#if 0
-/* Calculate a simple checksum and concatenate it to the end of BUF. */
-void
-compute_and_concatenate_checksum (word *buf, size_t bufsize_in_words)
-{
- size_t i;
- word sum;
- sum = buf[0]
- for (i = 1; i < bufsize_in_words; i++)
- sum += buf[i];
- buf[bufsize_in_words] = -sum;
-}
-
-/* Calculate a simple checksum and verify it. NOTE: bufsize_in_words should
- include the checksum, i.e., it should be one larger than when the
- checksum was calculated using compute_and_concatenate_checksum! */
-int
-compute_and_and_verify_checksum (word *buf, size_t bufsize_in_words)
-{
- size_t i;
- word sum;
- sum = buf[0];
- for (i = 1; i < bufsize_in_words; i++)
- sum += buf[i];
- if (sum != 0)
- return ERROR;
- return SUCCESS;
-}
-#endif
diff --git a/libgloss/hp74x/configure b/libgloss/hp74x/configure
deleted file mode 100755
index 730f59e..0000000
--- a/libgloss/hp74x/configure
+++ /dev/null
@@ -1,3572 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.s"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/hp74x/configure.in b/libgloss/hp74x/configure.in
deleted file mode 100644
index 576ffa8..0000000
--- a/libgloss/hp74x/configure.in
+++ /dev/null
@@ -1,35 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.s)
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_OUTPUT(Makefile)
diff --git a/libgloss/hp74x/crt0.s b/libgloss/hp74x/crt0.s
deleted file mode 100644
index b5986e6..0000000
--- a/libgloss/hp74x/crt0.s
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * crt0.S -- startup file for hppa.
- * rob@cygnus.com (Rob Savoye)
- */
- .VERSION "0.2"
- .COPYRIGHT "crt0.S for hppa"
-
-;sp .equ %r30 ; stack pointer
-;dp .equ %r27 ; global data pointer
-;arg0 .equ %r26 ; argument
-;arg1 .equ %r25 ; argument or high part of double argument
-;arg2 .equ %r24 ; argument
-;arg3 .equ %r23 ; argument or high part of double argument
-
-#define IMM(a,b) ldil L%a,b ! ldo R%a(b),b
-#define imm(i,t) ldil LS%i,t ! addi RS%i,t,t
-
- .DATA
-
-/****
- * FIXME: these are just a gross hack so this will assemble
- ****/
-_bss_start .WORD
-_bss_end .WORD
-_foobar
- .STRINGZ "Foo Bar...\r\n"
-
-;;_SYSTEM_ID .WORD
-;; .EXPORT _SYSTEM_ID ; FIXME this is only so it'll
- ; link
-
-/*
- * Set up the standard spaces (sections) These definitions come
- * from /lib/pcc_prefix.s.
- */
- .space $TEXT$,0
-
- .SUBSPA $BOOT$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=4
- .IMPORT _start
-
-/*
- * stuff we need that's defined elsewhere.
- */
- .IMPORT main, CODE
- .IMPORT _bss_start, DATA
- .IMPORT _bss_end, DATA
- .IMPORT environ, DATA
-
-/*
- * start -- set things up so the application will run.
- *
- */
- .PROC
- .CALLINFO SAVE_SP, FRAME=48
- .EXPORT $START$,ENTRY
-$START$
-
- /* FIXME: this writes to page zero */
- ;; setup the %30 (stack pointer) with some memory
- ldil L%_stack+48,%r30
- ldo R%_stack+48(%r30),%r30 ; should be %r30 (sp) but then
- ; we'd kill our test program :-)
- ;; we need to set %r27 (global data pointer) here too
- ldil L%$global$,%r27
- ldo R%$global$(%r27),%r27 ; same problem as above
-
-/*
- * zerobss -- zero out the bss section
- */
- ; load the start of bss
- ldil L%_bss_start,%r4
- ldo R%_bss_start(%r4),%r4
-
- ; load the end of bss
- ldil L%_bss_end,%r5
- ldo R%_bss_end(%r5),%r5
-
-
-bssloop
- addi -1,%r5,%r5 ; decrement _bss_end
- stb %r0,0(0,%r5) ; we do this by bytes for now even
- ; though it's slower, it's safer
- combf,= %r4,%r5, bssloop
- nop
-
- ldi 1,%ret0
-
-/*
- * Call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * We pass argv as a pointer to NULL.
- */
-
- bl main,%r2
- nop
-
- .PROCEND
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run, but with
- * this monitor we can't. Still, "C" wants this symbol, it
- * should be here. Jumping to 0xF0000004 jumps back into the
- * firmware, while writing a 5 to 0xFFFE0030 causes a reset.
- */
- .EXPORT _exit, ENTRY
-_exit
- .PROC
- .CALLINFO
- .ENTRY
-;; ldil L%0xf0000004,%r1
-;; bl %r1, %r2
-
- ldil L'4026531844,%r19
- ldo R'4026531844(%r19),%r19
- blr %r19, %r2
- nop
-
- ;; This just causes a breakpoint exception
-;; break 0x0e,0xa5a
-;; bv,n (%rp)
- nop
- .EXIT
- .PROCEND
-
- .subspa $UNWIND_START$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=56
- .export $UNWIND_START
-$UNWIND_START
- .subspa $UNWIND$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=64
- .subspa $UNWIND_END$,QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=72
- .export $UNWIND_END
-$UNWIND_END
- .subspa $RECOVER_START$,QUAD=0,ALIGN=4,ACCESS=0x2c,SORT=73
- .export $RECOVER_START
-$RECOVER_START
- .subspa $RECOVER$,QUAD=0,ALIGN=4,ACCESS=0x2c,SORT=80
- .subspa $RECOVER_END$,QUAD=0,ALIGN=4,ACCESS=0x2c,SORT=88
- .export $RECOVER_END
-$RECOVER_END
-
-; The following declarations are, by default in the data space ($PRIVATE$)
-
-;; .space $PRIVATE$,1
-
-/*
- * Here we set up the standard date sub spaces.
- * _dp is for the WinBond board.
- *
- * Set up some room for a stack. We just grab a chunk of memory.
- * We also setup some space for the global variable space, which
- * must be done using the reserved name "$global$" so "C" code
- * can find it. The stack grows towards the higher addresses.
- */
-
- .subspa $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=16
- .subspa $SHORTDATA$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=24
- .subspa $GLOBAL$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40
- .export $global$
- .export _dp
-$global$
-_dp
- .subspa $SHORTBSS$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=80,ZERO
- .subspa $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=82,ZERO
-
- .subspa $STACK$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=88,ZERO
- .export _stack
-_stack
- .BLOCK 0x2000
-
-/*
- * The heap follows the stack. To use dynamic memory routines in an
- * application, some space MUST be assigned to the stack.
- */
-
- .subspa $HEAP$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=96,ZERO
- .export _heap
-_heap
- .end
diff --git a/libgloss/hp74x/debugger.h b/libgloss/hp74x/debugger.h
deleted file mode 100644
index 2c73598..0000000
--- a/libgloss/hp74x/debugger.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
- /* Debugger register array offets */
-
-#define R_gr0 0
-#define R_gr1 4
-#define R_gr2 8
-#define R_gr3 12
-#define R_gr4 16
-#define R_gr5 20
-#define R_gr6 24
-#define R_gr7 28
-#define R_gr8 32
-#define R_gr9 36
-#define R_gr10 40
-#define R_gr11 44
-#define R_gr12 48
-#define R_gr13 52
-#define R_gr14 56
-#define R_gr15 60
-#define R_gr16 64
-#define R_gr17 68
-#define R_gr18 72
-#define R_gr19 76
-#define R_gr20 80
-#define R_gr21 84
-#define R_gr22 88
-#define R_gr23 92
-#define R_gr24 96
-#define R_gr25 100
-#define R_gr26 104
-#define R_gr27 108
-#define R_gr28 112
-#define R_gr29 116
-#define R_gr30 120
-#define R_gr31 124
-
-#define R_sr0 128
-#define R_sr1 132
-#define R_sr2 136
-#define R_sr3 140
-#define R_sr4 144
-#define R_sr5 148
-#define R_sr6 152
-#define R_sr7 156
-
-#define R_cr0 160
-#define R_cr1 164
-#define R_cr2 168
-#define R_cr3 172
-#define R_cr4 176
-#define R_cr5 180
-#define R_cr6 184
-#define R_cr7 188
-#define R_cr8 192
-#define R_cr9 196
-#define R_cr10 200
-#define R_cr11 204
-#define R_cr12 208
-#define R_cr13 212
-#define R_cr14 216
-#define R_cr15 220
-#define R_cr16 224
-#define R_cr17H 228
-#define R_cr18H 232
-#define R_cr19 236
-#define R_cr20 240
-#define R_cr21 244
-#define R_cr22 248
-#define R_cr23 252
-#define R_cr24 256
-#define R_cr25 260
-#define R_cr26 264
-#define R_cr27 268
-#define R_cr28 272
-#define R_cr29 276
-#define R_cr30 280
-#define R_cr31 284
-
-#define R_cr17T 288
-#define R_cr18T 292
-
-#define R_cpu0 296
-
-#define R_SIZE 300
-
-#define min_stack 64
-
-; -----------------------------------------------------------
-; ------ ASCII control codes
-; -----------------------------------------------------------
-
-#define NULL 0x00 /* <break> soft-reset (input only) */
-#define DELP 0x03 /* <ctrl>C del-collapse (input only, non-std) */
-#define DELE 0x04 /* <ctrl>D del-to_eol (input only, non-std) */
-#define BELL 0x07 /* <ctrl>G bell - audio */
-#define BS 0x08 /* <ctrl>H back space (left arrow) */
-#define HT 0x09 /* <ctrl>I horizontal tab */
-#define LF 0x0a /* <ctrl>J line feed (down arrow) */
-#define VT 0x0b /* <ctrl>K vertical tab (up arrow) */
-#define FF 0x0c /* <ctrl>L form feed (right arrow) */
-#define RTN 0x0d /* <ctrl>M carrage return */
-#define CR 0x0d /* <ctrl>M carrage return */
-#define INSC 0x0e /* <ctrl>N insert char (input only, non-std) */
-#define XON 0x11 /* <ctrl>Q DC1 - continue */
-#define BT 0x12 /* <ctrl>R reverse tab (input only, non-std) */
-#define XOFF 0x13 /* <ctrl>S DC3 - wait */
-#define INSE 0x16 /* <ctrl>V insert-expand (input only, non-std) */
-#define DELC 0x18 /* <ctrl>X delete char (input only, non-std) */
-#define CLRH 0x1a /* <ctrl>Z clear/home (input only) */
-#define ESC 0x1b /* <ctrl>[ escape (must call key again) */
-#define ENDL 0x1c /* <ctrl>\ cursor-to-eol (input only, non-std) */
-#define HOME 0x1e /* <ctrl>^ cursor home (input only) */
-#define DEL 0x7f /* <shift>BS destructive backspace */
-
diff --git a/libgloss/hp74x/debugger.s b/libgloss/hp74x/debugger.s
deleted file mode 100644
index edf4e4b..0000000
--- a/libgloss/hp74x/debugger.s
+++ /dev/null
@@ -1,585 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
- .space $TEXT$
- .subspa $CODE$,access=0x2c
-
-#if 1
-#include "diagnose.h"
-#endif
-
-i13BREAK .equ 0xa5a ; im13 field for specified functions
-i5REG .equ 0x06 ; Init registers
-i5BP .equ 0x09 ; GDB breakpoin
-i5PSW .equ 0x0b ; Get PSW
-i5INLINE .equ 0x0e ; Get INLINE
-R_gr0 .equ 0
-R_gr1 .equ 4
-R_gr2 .equ 8
-R_gr3 .equ 12
-R_gr4 .equ 16
-R_gr5 .equ 20
-R_gr6 .equ 24
-R_gr7 .equ 28
-R_gr8 .equ 32
-R_gr9 .equ 36
-R_gr10 .equ 40
-R_gr11 .equ 44
-R_gr12 .equ 48
-R_gr13 .equ 52
-R_gr14 .equ 56
-R_gr15 .equ 60
-R_gr16 .equ 64
-R_gr17 .equ 68
-R_gr18 .equ 72
-R_gr19 .equ 76
-R_gr20 .equ 80
-R_gr21 .equ 84
-R_gr22 .equ 88
-R_gr23 .equ 92
-R_gr24 .equ 96
-R_gr25 .equ 100
-R_gr26 .equ 104
-R_gr27 .equ 108
-R_gr28 .equ 112
-R_gr29 .equ 116
-R_gr30 .equ 120
-R_gr31 .equ 124
-
-R_sr0 .equ 128
-R_sr1 .equ 132
-R_sr2 .equ 136
-R_sr3 .equ 140
-R_sr4 .equ 144
-R_sr5 .equ 148
-R_sr6 .equ 152
-R_sr7 .equ 156
-
-R_cr0 .equ 160
-R_cr1 .equ 164
-R_cr2 .equ 168
-R_cr3 .equ 172
-R_cr4 .equ 176
-R_cr5 .equ 180
-R_cr6 .equ 184
-R_cr7 .equ 188
-R_cr8 .equ 192
-R_cr9 .equ 196
-R_cr10 .equ 200
-R_cr11 .equ 204
-R_cr12 .equ 208
-R_cr13 .equ 212
-R_cr14 .equ 216
-R_cr15 .equ 220
-R_cr16 .equ 224
-R_cr17H .equ 228
-R_cr18H .equ 232
-R_cr19 .equ 236
-R_cr20 .equ 240
-R_cr21 .equ 244
-R_cr22 .equ 248
-R_cr23 .equ 252
-R_cr24 .equ 256
-R_cr25 .equ 260
-R_cr26 .equ 264
-R_cr27 .equ 268
-R_cr28 .equ 272
-R_cr29 .equ 276
-R_cr30 .equ 280
-R_cr31 .equ 284
-
-R_cr17T .equ 288
-R_cr18T .equ 292
-
-R_cpu0 .equ 296
-
-R_SIZE .equ 300
-
-min_stack .equ 64
-
- .import handle_exception
- .import $global$, data
- .IMPORT putnum, code
- .IMPORT led_putnum, code
- .IMPORT delay, code
-
- .export FICE
- .export DEBUG_GO
- .export DEBUG_SS
- .export STUB_RESTORE
-
- .export save_regs
- .export RegBlk
- .export Exception_index
-
-;-------------------------------------------------------------------------------
- .EXPORT breakpoint,ENTRY,ARGW0=GR,RTNVAL=GR
-breakpoint
- .PROC
- .CALLINFO CALLER,FRAME=128,SAVE_RP
- .ENTRY
-
- stw %r2,-20(0,%r30) ; stash the return pointer
- ldo 128(%r30),%r30 ; push up the stack pointer
-
-;;; debug
- ldi 6, %r26
- bl,n led_putnum,%r2
- nop
- ldil L'900000,%r26
- ldo R'900000(%r26),%r26
- bl,n delay,%r2
- nop
-;;;
- break i5INLINE,i13BREAK
-;;; more debug
- ldi 7, %r26
- bl,n led_putnum,%r2
- nop
- ldil L'900000,%r26
- ldo R'900000(%r26),%r26
- bl,n delay,%r2
- nop
-;;;
-
-FICE fice 0(0,%r26) ; Flush the i cache entry
- sync
-
- ldw -148(0,%r30),%r2 ; retrieve the return pointer
- ldo -128(%r30),%r30 ; reset the stack pointer
- bv,n 0(%r2) ; return to caller
- nop
-
- .EXIT
- .PROCEND
-
-;-------------------------------------------------------------------------------
-DEBUG_GO
- or,tr %r0,%r0,%r10 ; if go, do not set R-bit to 1
-
-DEBUG_SS
- ldi 1,%r10 ; else set R-bit to 1
-
-DEBUG_EXEC
-
- bl DGO_0,%r8 ; r8 points to register block
- addil L%RegBlk-DGO_0,%r8
-DGO_0
- ldo R%RegBlk-DGO_0(%r1),%r8
-
-; load space registers
-
- ldw R_sr0(%r8),%r1
- mtsp %r1,%sr0
- ldw R_sr1(%r8),%r1
- mtsp %r1,%sr1
- ldw R_sr2(%r8),%r1
- mtsp %r1,%sr2
- ldw R_sr3(%r8),%r1
- mtsp %r1,%sr3
- ldw R_sr4(%r8),%r1
- mtsp %r1,%sr4
- ldw R_sr5(%r8),%r1
- mtsp %r1,%sr5
- ldw R_sr6(%r8),%r1
- mtsp %r1,%sr6
- ldw R_sr7(%r8),%r1
- mtsp %r1,%sr7
-
-; clear Q-bit for rfi
-
- rsm 0x08,%r0
-
-; load control registers
-
- ldw R_cr0(%r8),%r1
- or,= %r10,%r0,%r0 ; if single step
- copy %r0,%r1 ; set %cr0 to 0
- mtctl %r1,%cr0
- ldw R_cr8(%r8),%r1
- mtctl %r1,%cr8
- ldw R_cr9(%r8),%r1
- mtctl %r1,%cr9
- ldw R_cr10(%r8),%r1
- mtctl %r1,%cr10
- ldw R_cr11(%r8),%r1
- mtctl %r1,%cr11
- ldw R_cr12(%r8),%r1
- mtctl %r1,%cr12
- ldw R_cr13(%r8),%r1
- mtctl %r1,%cr13
- ldw R_cr14(%r8),%r1
- mtctl %r1,%cr14
- ldw R_cr15(%r8),%r1
- mtctl %r1,%cr15
- ldw R_cr16(%r8),%r1
- mtctl %r1,%cr16
- ldw R_cr17H(%r8),%r1 ; load iiasq.head
- mtctl %r1,%cr17
- ldw R_cr18H(%r8),%r1 ; load iiaoq.head
- mtctl %r1,%cr18
- ldw R_cr17T(%r8),%r1 ; load iiasq.tail
- mtctl %r1,%cr17
- ldw R_cr18T(%r8),%r1 ; load iiaoq.tail
- mtctl %r1,%cr18
- ldw R_cr19(%r8),%r1
- mtctl %r1,%cr19
- ldw R_cr20(%r8),%r1
- mtctl %r1,%cr20
- ldw R_cr21(%r8),%r1
- mtctl %r1,%cr21
- ldw R_cr22(%r8),%r1
- dep %r10,27,1,%r1 ; set R-bit if applicable
- mtctl %r1,%cr22
- ldw R_cr23(%r8),%r1
- mtctl %r1,%cr23
- ldw R_cr24(%r8),%r1
- mtctl %r1,%cr24
- ldw R_cr25(%r8),%r1
- mtctl %r1,%cr25
- ldw R_cr26(%r8),%r1
- mtctl %r1,%cr26
- ldw R_cr27(%r8),%r1
- mtctl %r1,%cr27
- ldw R_cr28(%r8),%r1
- mtctl %r1,%cr28
- ldw R_cr29(%r8),%r1
- mtctl %r1,%cr29
- ldw R_cr30(%r8),%r1
- mtctl %r1,%cr30
- ldw R_cr31(%r8),%r1
- mtctl %r1,%cr31
-
-; load diagnose registers
-
- ldw R_cpu0(%r8),%r1
- ldil L%CPU0_MASK,%r2
- ldo R%CPU0_MASK(%r2),%r2
- xor %r1,%r2,%r1 ; xor the read/clear bits
- nop
- mtcpu %r1,0
- mtcpu %r1,0
-
-; load general registers
-
- ldw R_gr1(%r8),%r1
- ldw R_gr2(%r8),%r2
- ldw R_gr3(%r8),%r3
- ldw R_gr4(%r8),%r4
- ldw R_gr5(%r8),%r5
- ldw R_gr6(%r8),%r6
- ldw R_gr7(%r8),%r7
- ldw R_gr9(%r8),%r9
- ldw R_gr10(%r8),%r10
- ldw R_gr11(%r8),%r11
- ldw R_gr12(%r8),%r12
- ldw R_gr13(%r8),%r13
- ldw R_gr14(%r8),%r14
- ldw R_gr15(%r8),%r15
- ldw R_gr16(%r8),%r16
- ldw R_gr17(%r8),%r17
- ldw R_gr18(%r8),%r18
- ldw R_gr19(%r8),%r19
- ldw R_gr20(%r8),%r20
- ldw R_gr21(%r8),%r21
- ldw R_gr22(%r8),%r22
- ldw R_gr23(%r8),%r23
- ldw R_gr24(%r8),%r24
- ldw R_gr25(%r8),%r25
- ldw R_gr26(%r8),%r26
- ldw R_gr27(%r8),%r27
- ldw R_gr28(%r8),%r28
- ldw R_gr29(%r8),%r29
- ldw R_gr30(%r8),%r30
- ldw R_gr31(%r8),%r31
- ldw R_gr8(%r8),%r8
-
-; execute user program
-
- nop
- rfi ; switch to user code
- nop
-
-;-------------------------------------------------------------------------------
-
-STUB_RESTORE
- copy %r1,%r9 ; save exception index
- bl SR_00,%r8
- addil L%Exception_index-SR_00,%r8
-SR_00
- ldo R%Exception_index-SR_00(%r1),%r8
- stw %r9,(%r8)
-
- bl save_regs,%r25
- nop
-
-#ifdef DEBUG_DEBUGGER1
- stwm %r1,8(%sp)
- bl putc,%rp
- ldi CR,%arg0
- bl putc,%rp
- ldi LF,%arg0
- bl printit,%mrp
- mfctl %pcoq,%arg0
-
- mfctl %pcoq,%r1
- mtctl %r1,%pcoq
- mfctl %pcoq,%arg0
- bl printit,%mrp
- mtctl %arg0,%pcoq
-
- bl printit,%mrp
- ldw -8(%sp),%arg0
-
- ldwm -8(%sp),%r1
-#endif
-
-#ifdef DEBUG_DEBUGGER2
- stwm %r1,8(%sp)
- bl putc,%rp
- ldi LF,%arg0
- ldwm -8(%sp),%r1
-#endif
-
-#ifdef DEBUG_DEBUGGER3
- bl printit,%mrp
- copy iptr,%arg0
- bl printit,%mrp
- copy rstack,%arg0
- bl printit,%mrp
- copy gspace,%arg0
- bl printit,%mrp
- copy dstack,%arg0
- bl printit,%mrp
- copy nextptr,%arg0
- bl printit,%mrp
- copy %dp,%arg0
- bl printit,%mrp
- copy %sp,%arg0
- bl printit,%mrp
- mfctl %rctr,%arg0
- bl printit,%mrp
- mfctl %iva,%arg0
- bl printit,%mrp
- mfctl %eiem,%arg0
- bl printit,%mrp
- mfctl %ipsw,%arg0
- bl printit,%mrp
- copy %r0,%arg0
-#endif
- bl SR_1,%sp
- addil L%Stub_stack-SR_1,%sp
-SR_1
- ldo R%Stub_stack-SR_1(%r1),%sp ; set the stack pointer
-
- bl SR_2,%arg0
- addil L%RegBlk-SR_2,%arg0
-SR_2
- ldo R%RegBlk-SR_2(%r1),%arg0 ; set arg0 (save register area)
-
- bl SR_3,%arg1
- addil L%Exception_index-SR_3,%arg1 ; set arg1 address
-SR_3
- ldo R%Exception_index-SR_3(%r1),%arg1 ; set arg1 address
-
- addi min_stack,%sp,%sp ; allocate min stack frame
-
- bl handle_exception,%r2
- ldw 0(%arg1),%arg1 ; load arg1
- addi -min_stack,%sp,%sp ; de allocate min stack frame
-
- b DEBUG_EXEC ;
- copy %r28,%r10
-;-------------------------------------------------------------------------------
-
-save_regs ; return address is in %r25
-
- bl SR_0,%r1 ; r1 points to Register block
- addil L%RegBlk-SR_0,%r1
-SR_0
- ldo R%RegBlk-SR_0(%r1),%r1
-
-; save general registers
-
- stw %r0,R_gr0(%r1)
- ; don't store %r1 yet
- stw %r2,R_gr2(%r1)
- stw %r3,R_gr3(%r1)
- stw %r4,R_gr4(%r1)
- stw %r5,R_gr5(%r1)
- stw %r6,R_gr6(%r1)
- stw %r7,R_gr7(%r1)
- ; don't store %r8 yet
- ; don't store %r9 yet
- stw %r10,R_gr10(%r1)
- stw %r11,R_gr11(%r1)
- stw %r12,R_gr12(%r1)
- stw %r13,R_gr13(%r1)
- stw %r14,R_gr14(%r1)
- stw %r15,R_gr15(%r1)
- ; don't store %r16 yet
- ; don't store %r17 yet
- stw %r18,R_gr18(%r1)
- stw %r19,R_gr19(%r1)
- stw %r20,R_gr20(%r1)
- stw %r21,R_gr21(%r1)
- stw %r22,R_gr22(%r1)
- stw %r23,R_gr23(%r1)
- ; don't store %r24 yet
- ; don't store %r25 yet
- stw %r26,R_gr26(%r1)
- stw %r27,R_gr27(%r1)
- stw %r28,R_gr28(%r1)
- stw %r29,R_gr29(%r1)
- stw %r30,R_gr30(%r1)
- stw %r31,R_gr31(%r1)
-
-; restore general registers from shadow registers and save them
-
- copy %r1,%r10 ; hold Register block pointer
- copy %r25,%rp ; hold return pointer
- shdw_gr
- shdw_gr
- stw %r1,R_gr1(%r10)
- stw %r8,R_gr8(%r10)
- stw %r9,R_gr9(%r10)
- stw %r16,R_gr16(%r10)
- stw %r17,R_gr17(%r10)
- stw %r24,R_gr24(%r10)
- stw %r25,R_gr25(%r10)
-
-; save control registers
-
- mfctl %cr0,%r1
- stw %r1,R_cr0(%r10)
- stw %r0,R_cr1(%r10)
- stw %r0,R_cr2(%r10)
- stw %r0,R_cr3(%r10)
- stw %r0,R_cr4(%r10)
- stw %r0,R_cr5(%r10)
- stw %r0,R_cr6(%r10)
- stw %r0,R_cr7(%r10)
- mfctl %cr8,%r1
- stw %r1,R_cr8(%r10)
- mfctl %cr9,%r1
- stw %r1,R_cr9(%r10)
- mfctl %cr10,%r1
- stw %r1,R_cr10(%r10)
- mfctl %cr11,%r1
- stw %r1,R_cr11(%r10)
- mfctl %cr12,%r1
- stw %r1,R_cr12(%r10)
- mfctl %cr13,%r1
- stw %r1,R_cr13(%r10)
- mfctl %cr14,%r1
- stw %r1,R_cr14(%r10)
- mfctl %cr15,%r1
- stw %r1,R_cr15(%r10)
- mfctl %cr16,%r1
- stw %r1,R_cr16(%r10)
- mfctl %cr17,%r1
- stw %r1,R_cr17H(%r10)
- mtctl %r1,%cr17
- mfctl %cr17,%r1
- stw %r1,R_cr17T(%r10)
- mtctl %r1,%cr17
- mfctl %cr18,%r1
- stw %r1,R_cr18H(%r10)
- mtctl %r1,%cr18
- mfctl %cr18,%r1
- stw %r1,R_cr18T(%r10)
- mtctl %r1,%cr18
- mfctl %cr19,%r1
- stw %r1,R_cr19(%r10)
- mfctl %cr20,%r1
- stw %r1,R_cr20(%r10)
- mfctl %cr21,%r1
- stw %r1,R_cr21(%r10)
- mfctl %cr22,%r1
- stw %r1,R_cr22(%r10)
- mfctl %cr23,%r1
- stw %r1,R_cr23(%r10)
- mfctl %cr24,%r1
- stw %r1,R_cr24(%r10)
- mfctl %cr25,%r1
- stw %r1,R_cr25(%r10)
- mfctl %cr26,%r1
- stw %r1,R_cr26(%r10)
- mfctl %cr27,%r1
- stw %r1,R_cr27(%r10)
- mfctl %cr28,%r1
- stw %r1,R_cr28(%r10)
- mfctl %cr29,%r1
- stw %r1,R_cr29(%r10)
- mfctl %cr30,%r1
- stw %r1,R_cr30(%r10)
- mfctl %cr31,%r1
- stw %r1,R_cr31(%r10)
-
-; save diagnose registers
-
- mfcpu_c 0,%r1
- mfcpu_c 0,%r1
- stw %r1,R_cpu0(%r10)
-
-; save space registers
-
- mfsp %sr0,%r1
- stw %r1,R_sr0(%r10)
- mfsp %sr1,%r1
- stw %r1,R_sr1(%r10)
- mfsp %sr2,%r1
- stw %r1,R_sr2(%r10)
- mfsp %sr3,%r1
- stw %r1,R_sr3(%r10)
- mfsp %sr4,%r1
- stw %r1,R_sr4(%r10)
- mfsp %sr5,%r1
- stw %r1,R_sr5(%r10)
- mfsp %sr6,%r1
- stw %r1,R_sr6(%r10)
- mfsp %sr7,%r1
- bv (%rp)
- stw %r1,R_sr7(%r10)
-
-#ifdef DEBUG_DEBUGGER
-;-------------------------------------------------------------------------------
-printit
- mtctl %rp,%tr0
- mtctl %r1,%tr1
- bl putnum,%rp
- copy %rp,%arg0
-
- mtctl %mrp,%tr2
- bl putc,%rp
- ldi CR,%arg0
- bl putc,%rp
- ldi LF,%arg0
- mfctl %tr2,%mrp
- mfctl %tr1,%r1
- bv (%mrp)
- mfctl %tr0,%rp
-#endif
- .space $PRIVATE$
- .subspa $DATA$,align=4,access=0x1f
-
-Exception_index
- .word 0
-
-RegBlk
- .block R_SIZE ; register block
-
-Stub_stack
- .block 1024
-
- .end
diff --git a/libgloss/hp74x/diagnose.h b/libgloss/hp74x/diagnose.h
deleted file mode 100644
index 23eb847..0000000
--- a/libgloss/hp74x/diagnose.h
+++ /dev/null
@@ -1,168 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
- /* Diagnose register definitions */
-
-
-#ifdef PCXL
-
-#define CPU_DIAG_0_L2IHPMC_BIT 6 /* Level 2 I-cache error flag */
-#define CPU_DIAG_0_L2DHPMC_BIT 8 /* Level 2 D-cache error flag */
-#define CPU_DIAG_0_L1IHPMC_BIT 10 /* Level 1 I-cache error flag */
-#define CPU_DIAG_0_L2PARERR_BIT 15 /* rightmost bit */
-#define CPU_DIAG_0_PREV_HPMC_PREP_BIT 16 /* Previous HPMC finished */
-#define CPU_DIAG_0_PWR_FAIL_BIT 17
-#define CPU_DIAG_0_EXPECT_HPMC_BIT 18 /* Expecting HPMC */
-
- /* Mask for Read/clear bits in CPU diagnose register 0 */
-#define CPU0_MASK 0x02AF0000
-
-#else /* PCXT */
-
-#define CPU_DIAG_0_PREV_HPMC_PREP_BIT 3 /* Previous HPMC finished */
-#define CPU_DIAG_0_BOOTING_BIT 4
-#define CPU_DIAG_0_EXPECT_HPMC_BIT 5 /* Expecting HPMC */
-
-#define CPU_DIAG_0_DHPMC_BIT 10
-#define CPU_DIAG_0_ILPMC_BIT 14
-#define CPU_DIAG_0_HTOC_BIT 23
-
- /* Mask for Read/clear bits in CPU diagnose register 0 */
-#define CPU0_MASK 0x00220100
-
-#endif
-
- /* Diagnose instruction macros */
-
-#ifdef PCXL
-
-/*** Different PCXL diagnose commands ***/
-
-/* Original mfcpu replaced with the two commands mfcpu_t & mfcpu_c */
-mfcpu_t .macro diag_reg,gen_reg
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = diag_reg {27 .. 31}
- {11 .. 15} = 0x0 {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0xa0 {24 .. 31}
- {27 .. 31} = gen_reg {27 .. 31}
- .endm
-
-mfcpu_c .macro diag_reg,gen_reg
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = diag_reg {27 .. 31}
- {11 .. 15} = gen_reg {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0x30 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-mtcpu .macro gen_reg,diag_reg
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = diag_reg {27 .. 31}
- {11 .. 15} = gen_reg {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0x12 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-shdw_gr .macro
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = 0x0 {27 .. 31}
- {11 .. 15} = 0x0 {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0xd0 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-gr_shdw .macro
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = 0x0 {27 .. 31}
- {11 .. 15} = 0x0 {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0xd2 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-#else
-
-/*** original PCXT version ***/
-
-/* Originally was mfcpu without the _c */
-mfcpu_c .macro diag_reg,gen_reg
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = diag_reg {27 .. 31}
- {11 .. 15} = gen_reg {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0xd0 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-mtcpu .macro gen_reg,diag_reg
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = diag_reg {27 .. 31}
- {11 .. 15} = gen_reg {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0xb0 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-shdw_gr .macro
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = 0x2 {27 .. 31}
- {11 .. 15} = 0x0 {27 .. 31}
- {16 .. 18} = 0x1 {29 .. 31}
- {19 .. 26} = 0x30 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-gr_shdw .macro
- { 0 .. 5} = 0x5 {26 .. 31}
- { 6 .. 10} = 0x2 {27 .. 31}
- {11 .. 15} = 0x0 {27 .. 31}
- {16 .. 18} = 0x0 {29 .. 31}
- {19 .. 26} = 0x31 {24 .. 31}
- {27 .. 31} = 0x0 {27 .. 31}
- .endm
-
-#endif
-
-
- /* Actual commands used doubled instructions for cpu timing */
-
-
-#define SHDW_GR shdw_gr ! \
- shdw_gr
-
-
- /* Break instruction definitions */
-
-#define i13BREAK 0xa5a /* im13 field for specified functions */
-#define i5REG 0x06 /* Init registers */
-#define i5BP 0x09 /* GDB breakpoint */
-#define i5PSW 0x0b /* Get PSW */
-#define i5INLINE 0x0e /* Get INLINE */
-
-BR_INIT_REGS .macro
- break i5REG,i13BREAK
- .endm
-
-BR_GET_PSW .macro
- break i5PSW,i13BREAK
- .endm
-
-BR_INLINE .macro
- break i5INLINE,i13BREAK
- .endm
-
diff --git a/libgloss/hp74x/hppa-defs.h b/libgloss/hp74x/hppa-defs.h
deleted file mode 100644
index 5bbaeef..0000000
--- a/libgloss/hp74x/hppa-defs.h
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * PDC support
- */
-#define OPT_PDC_CACHE 5
-#define OPT_PDC_ADD_VALID 12
-#define OPT_PDC_CHASSIS 2 /* LED's */
-#define OPT_PDC_IODC 8 /* console I/O */
-#define IODC_CONSOLE_OUT 3 /* bytes out serial port */
-#define IODC_CONSOLE_IN 2 /* bytes in serial port */
-
-#define PGZ_MEM_PDC 0x0388 /* location of PDC_ENTRY in memory */
-#define PGZ_CONSOLE_STRUCT 0x3A0 /* console config info */
-#define CALL_PDC (*(int (*)())((int *)(*((int *)PGZ_MEM_PDC))))
-
-#define putDebugChar outbyte
-#define getDebugChar inbyte
-
-/*
- * IODC support
- */
-#define MAX_BUS_CONVERTERS 6
-#define MAX_LAYERS 6
-#define IO_CONSOLE_INPUT 2
-#define IO_CONSOLE_OUTPUT 3
-
-struct _dev {
- unsigned char flags; /* auto-search and auto-boot */
- unsigned char bus_convert[MAX_BUS_CONVERTERS];
- unsigned char pm; /* fixed field of HPA */
- unsigned int layer[MAX_LAYERS]; /* device dependent layers */
- unsigned int hpa; /* device HPA */
- unsigned int spa; /* device SPA */
- unsigned int *iodc_io; /* address of ENTRY_IO in mem */
- unsigned int class; /* device class */
-};
-
-/*
- * Register defintions
- */
-#define gr0 %r0 /* always ZERO */
-#define gr1 %r1 /* ADDIL results only */
-#define gr2 %r2 /* return address */
-#define gr3 %r3 /* scratch registers */
-#define gr4 %r4
-#define gr5 %r5
-#define gr6 %r6
-#define gr7 %r7
-#define gr8 %r8
-#define gr9 %r9
-#define gr10 %r10
-#define gr11 %r11
-#define gr12 %r12
-#define gr13 %r13
-#define gr14 %r14
-#define gr15 %r15
-#define gr16 %r16
-#define gr17 %r17
-#define gr18 %r18
-#define gr19 %r19 /* 4th temp register */
-#define gr20 %r20 /* 3rd temp register */
-#define gr21 %r21 /* 2rd temp register */
-#define gr22 %r22 /* 1rd temp register */
-#define gr23 %r23 /* argument 3 */
-#define gr24 %r24 /* argument 2 */
-#define gr25 %r25 /* argument 1 */
-#define gr26 %r26 /* argument 0 */
-#define gr27 %r27 /* global data pointer */
-#define gr28 %r28 /* return value */
-#define gr29 %r29 /* return value, static link */
-#define gr30 %r30 /* stack pointer */
-#define gr31 %r31 /* millicode return pointer */
-
-/*
- * extra definitions, calling conventions
- */
-#define rp gr2 /* return address */
-#define sp gr30 /* stack pointer */
-#define dp gr27 /* global data area pointer */
-
-/*
- * extra definitions, argument passing
- */
-#define Arg0 gr26 /* pdc function to perform */
-#define Arg1 gr25 /* args to the pdc function */
-#define Arg2 gr24
-#define Arg3 gr23
-
-/*
- * Special Processor Registers
- */
-#define SAR %cr11 /* shift amount register */
-#define IVA %cr14 /* Interruption Vector Address */
-#define EIEM %cr15 /* EIEM reg */
-#define EIR %cr23 /* EIR reg */
-#define TIMER %cr16 /* interval timer */
-#define CCR %cr10 /* coprocessor control reg. */
-
-/*
- * ASCII escape code
- */
-#define NULL 0x00 /* <break> soft-reset (input only) */
-#define DELP 0x03 /* <ctrl>C del-collapse (input only, non-std) */
-#define DELE 0x04 /* <ctrl>D del-to_eol (input only, non-std) */
-#define BELL 0x07 /* <ctrl>G bell - audio */
-#define BS 0x08 /* <ctrl>H back space (left arrow) */
-#define HT 0x09 /* <ctrl>I horizontal tab */
-#define LF 0x0a /* <ctrl>J line feed (down arrow) */
-#define VT 0x0b /* <ctrl>K vertical tab (up arrow) */
-#define FF 0x0c /* <ctrl>L form feed (right arrow) */
-#define RTN 0x0d /* <ctrl>M carrage return */
-#define CR 0x0d /* <ctrl>M carrage return */
-
-#define INSC 0x0e /* <ctrl>N insert char (input only, non-std) */
-#define XON 0x11 /* <ctrl>Q DC1 - continue */
-#define BT 0x12 /* <ctrl>R reverse tab (input only, non-std) */
-#define XOFF 0x13 /* <ctrl>S DC3 - wait */
-#define INSE 0x16 /* <ctrl>V insert-expand (input only, non-std) */
-#define DELC 0x18 /* <ctrl>X delete char (input only, non-std) */
-#define CLRH 0x1a /* <ctrl>Z clear/home (input only) */
-#define ESC 0x1b /* <ctrl>[ escape (must call key again) */
-#define ENDL 0x1c /* <ctrl>\ cursor-to-eol (input only, non-std) */
-#define HOME 0x1e /* <ctrl>^ cursor home (input only) */
-#define DEL 0x7f /* <shift>BS destructive backspace */
diff --git a/libgloss/hp74x/hppa.ld b/libgloss/hp74x/hppa.ld
deleted file mode 100644
index 37b733b..0000000
--- a/libgloss/hp74x/hppa.ld
+++ /dev/null
@@ -1,64 +0,0 @@
-STARTUP(crt0-hppa.o)
-OUTPUT_ARCH(hppa)
-/*** INPUT(hppa.o) ***/
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the MC68ec0x0 Board (IDP)
- * stack grows up towards high memory. This works for
- * both the rom68k and the mon68k monitors.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x10000, LENGTH = 32M
-}
-
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text)
- etext = .;
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.lit)
- *(.shdata)
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .data : {
- *(.data)
- CONSTRUCTORS
- _edata = .;
- } > ram
-
- .bss SIZEOF(.data) + ADDR(.data) :
- {
- _bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- _bss_end = ALIGN(0x8);
- }
- .stab 0 (NOLOAD) :
- {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
-}
diff --git a/libgloss/hp74x/io.c b/libgloss/hp74x/io.c
deleted file mode 100644
index 054d90c..0000000
--- a/libgloss/hp74x/io.c
+++ /dev/null
@@ -1,338 +0,0 @@
-/*
- * io.c -- all the code to make GCC and the libraries run on
- * a bare target board.
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-#include "hppa-defs.h"
-
-extern char *_end; /* _end is set in the linker command file */
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (char *)0x100000
-#endif
-
-int
-print(ptr)
-char *ptr;
-{
- while (*ptr)
- outbyte (*ptr++);
-}
-
-int
-putnum (Num)
-unsigned int Num;
-{
- char Buffer[9];
- int Count;
- char *BufPtr = Buffer;
- int Digit;
-
- for (Count = 7 ; Count >= 0 ; Count--) {
- Digit = (Num >> (Count * 4)) & 0xf;
-
- if (Digit <= 9)
- *BufPtr++ = (char) ('0' + Digit);
- else
- *BufPtr++ = (char) ('a' - 10 + Digit);
- }
-
- *BufPtr = (char) 0;
- print (Buffer);
- return;
-}
-
-int
-delay (x)
- int x;
-{
- int y = 17;
- while (x-- !=0)
- y = y^2;
-}
-
-/*
- * strobe -- do a zylons thing, toggling each led in sequence forever...
- */
-int
-zylons()
-{
- while (1) {
- strobe();
- }
-}
-
-/*
- * strobe -- toggle each led in sequence up and back once.
- */
-int
-strobe()
-{
- static unsigned char curled = 1;
- static unsigned char dir = 0;
-
- curled = 1;
- dir = 0;
- while (curled != 0) {
- led_putnum (curled);
- delay (70000);
- if (dir)
- curled >>= 1;
- else
- curled <<= 1;
-
- if (curled == 128) {
- dir = ~dir;
- }
- }
- curled = 1;
- dir = 0;
-}
-
-/*
- * iodc_io_call -- this makes a call into the IODC routine
- */
-int
-iodc_io_call(ep_address,arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11)
-int ep_address, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11;
-{
- int (*iodc_entry_point)();
-
- iodc_entry_point = (int (*)())ep_address;
-
- return ((*iodc_entry_point)(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11));
-}
-
-/*
- * pdc_call -- this makes a call into the PDC routine
- */
-int
-pdc_call(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11)
- int arg0, arg1, arg2, arg3, arg4, arg5;
- int arg6, arg7, arg9, arg10, arg11;
-{
- return ( CALL_PDC(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11));
-}
-
-/*
- * put_led -- put a bit pattern on the LED's.
- */
-int
-led_putnum (byte)
- unsigned short byte;
-{
- return (pdc_call(OPT_PDC_CHASSIS,0,byte));
-}
-
-
-/*
- * outbyte -- shove a byte out the serial port
- */
-int
-outbyte(byte)
- unsigned char byte;
-{
- int status;
- int R_addr[32];
- struct _dev *console = (struct _dev *)PGZ_CONSOLE_STRUCT;
-
- status = iodc_io_call(console->iodc_io, console->hpa, IO_CONSOLE_OUTPUT, console->spa,
- console->layer[0], R_addr, 0, &byte, 1, 0);
-
- switch(status)
- {
- case 0: return(1);
- default: return (-1);
- }
-}
-
-/*
- * inbyte -- get a byte from the serial port
- */
-unsigned char
-inbyte()
-{
- int status;
- int R_addr[32];
- char inbuf;
- struct _dev *console = (struct _dev *)PGZ_CONSOLE_STRUCT;
-
- while (status == 0) {
- status = iodc_io_call(console->iodc_io, console->hpa, IO_CONSOLE_INPUT, console->spa,
- console->layer[0], R_addr, 0, &inbuf, 1, 0);
-
- switch (status) {
- case 0:
- case 2: /* recoverable error */
- if (R_addr[0] != 0) { /* found a character */
- return(inbuf);
- }
- else
- break; /* error, no character */
- default: /* error, no character */
- return(0);
- }
- }
-}
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int
-read(fd, buf, nbytes)
- int fd;
- char *buf;
- int nbytes;
-{
- int i = 0;
-
- for (i = 0; i < nbytes; i++) {
- *(buf + i) = inbyte();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) {
- (*(buf + i)) = 0;
- break;
- }
- }
- return (i);
-}
-
-/*
- * write -- write bytes to the serial port. Ignore fd, since
- * stdout and stderr are the same. Since we have no filesystem,
- * open will only return an error.
- */
-int
-write(fd, buf, nbytes)
- int fd;
- char *buf;
- int nbytes;
-{
- int i;
-
- for (i = 0; i < nbytes; i++) {
- if (*(buf + i) == '\n') {
- outbyte ('\r');
- }
- outbyte (*(buf + i));
- }
- return (nbytes);
-}
-
-/*
- * open -- open a file descriptor. We don't have a filesystem, so
- * we return an error.
- */
-int
-open(buf, flags, mode)
- char *buf;
- int flags;
- int mode;
-{
- errno = EIO;
- return (-1);
-}
-
-/*
- * close -- close a file descriptor. We don't need
- * to do anything, but pretend we did.
- */
-int
-close(fd)
- int fd;
-{
- return (0);
-}
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-char *
-sbrk(nbytes)
- int nbytes;
-{
- static char * heap_ptr = NULL;
- char * base;
-
- if (heap_ptr == NULL) {
- heap_ptr = (char *)&_end;
- }
-
- if ((RAMSIZE - heap_ptr) >= 0) {
- base = heap_ptr;
- heap_ptr += nbytes;
- return (heap_ptr);
- } else {
- errno = ENOMEM;
- return ((char *)-1);
- }
-}
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes return a 1.
- */
-int
-isatty(fd)
- int fd;
-{
- return (1);
-}
-
-/*
- * lseek -- move read/write pointer. Since a serial port
- * is non-seekable, we return an error.
- */
-off_t
-lseek(fd, offset, whence)
- int fd;
- off_t offset;
- int whence;
-{
- errno = ESPIPE;
- return ((off_t)-1);
-}
-
-/*
- * fstat -- get status of a file. Since we have no file
- * system, we just return an error.
- */
-int
-fstat(fd, buf)
- int fd;
- struct stat *buf;
-{
- errno = EIO;
- return (-1);
-}
-
-/*
- * getpid -- only one process, so just return 1.
- */
-#define __MYPID 1
-int
-getpid()
-{
- return __MYPID;
-}
-
-/*
- * kill -- assume mvme.S, and go out via exit...
- */
-int
-kill(pid, sig)
- int pid;
- int sig;
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/hp74x/iva_table.h b/libgloss/hp74x/iva_table.h
deleted file mode 100644
index 68d6ba9..0000000
--- a/libgloss/hp74x/iva_table.h
+++ /dev/null
@@ -1,164 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
- /* Interrupt Vector Table entry macros */
-
-#define cstring(Len,String) .byte Len !\
- .string String
-
-#define cstringz(Len,String) .byte Len !\
- .stringz String
-
-AdvancePCOQ .macro
- mtctl %r0,%pcoq ; throw away iiaoq head pointer, tail->head
- mfctl %pcoq,%r1 ; get tail pointer
- mtctl %r1,%pcoq ; insert tail pointer
- ldo 4(%r1),%r1 ; advance tail pointer
- mtctl %r1,%pcoq ; insert new tail pointer, former tail->head
- .endm
-
-#ifdef PRINTSTRING_LED
-PrintString .macro NString,Num
- bl put_led,%mrp
- ldi Num+0xa0,%arg2
- addil L%NString-$global$,%dp
- bl puts,%rp
- ldo R%NString-$global$(%r1),%arg0
- b,n .
- nop
- .endm
-#endif
-
-#ifdef HALT
-
-PrintString .macro NString,Num
- bl,n save_state,%r25
- nop
- bl print_intr,%rp
- ldi NString-Str01,%arg0
- bl print_state,%rp
- nop
- b,n halt
- nop
- .endm
-
-#endif
-
-#ifdef RECOVER
-
-PrintString .macro NString,Num
- bl,n save_state,%r25
- nop
- bl print_intr,%rp
- ldi NString-Str01,%arg0
- bl print_state,%rp
- nop
- b,n recover
- nop
- .endm
-
-#endif
-
-PrintString .macro NString,Num
- bl,n save_state,%r25
- nop
- bl print_intr,%rp
- ldi NString-Str01,%arg0
-#ifdef FULL_REPORT
- bl print_state,%rp
-#else
- nop
-#endif
- nop
- b restore_to_STUB
- ldi Num,%r1
- .endm
-
-
- /* IVA register array offets */
-
-#define R_sr0 0
-#define R_sr1 4
-#define R_sr2 8
-#define R_sr3 12
-#define R_sr4 16
-#define R_sr5 20
-#define R_sr6 24
-#define R_sr7 28
-
-#define R_gr0 32
-#define R_gr1 36
-#define R_gr2 40
-#define R_gr3 44
-#define R_gr4 48
-#define R_gr5 52
-#define R_gr6 56
-#define R_gr7 60
-#define R_gr8 64
-#define R_gr9 68
-#define R_gr10 72
-#define R_gr11 76
-#define R_gr12 80
-#define R_gr13 84
-#define R_gr14 88
-#define R_gr15 92
-#define R_gr16 96
-#define R_gr17 100
-#define R_gr18 104
-#define R_gr19 108
-#define R_gr20 112
-#define R_gr21 116
-#define R_gr22 120
-#define R_gr23 124
-#define R_gr24 128
-#define R_gr25 132
-#define R_gr26 136
-#define R_gr27 140
-#define R_gr28 144
-#define R_gr29 148
-#define R_gr30 152
-#define R_gr31 156
-
-#define R_rctr 160
-#define R_cpu0 164
-#define R_pidr1 168
-#define R_pidr2 172
-#define R_ccr 176
-#define R_sar 180
-#define R_pidr3 184
-#define R_pidr4 188
-#define R_iva 192
-#define R_eiem 196
-
-#define R_itmr 200
-#define R_pcsqH 204
-#define R_pcoqH 208
-#define R_iir 212
-#define R_pcsqT 216
-#define R_pcoqT 220
-#define R_isr 224
-#define R_ior 228
-#define R_ipsw 232
-#define R_eirr 236
-
-#define R_tr0 240
-#define R_tr1 244
-#define R_tr2 248
-#define R_tr3 252
-#define R_tr4 256
-#define R_tr5 260
-#define R_tr6 264
-#define R_tr7 268
-
-#define R_SIZE 272
diff --git a/libgloss/hp74x/iva_table.s b/libgloss/hp74x/iva_table.s
deleted file mode 100644
index 289ea3c..0000000
--- a/libgloss/hp74x/iva_table.s
+++ /dev/null
@@ -1,996 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
- .space $TEXT$
- .subspa $CODE$,access=0x2c
-
-#include "diagnose.h"
-#if 0
-#include "iva_table.h"
-#endif
-
-R_gr0 .equ 0
-R_gr1 .equ 4
-R_gr2 .equ 8
-R_gr3 .equ 12
-R_gr4 .equ 16
-R_gr5 .equ 20
-R_gr6 .equ 24
-R_gr7 .equ 28
-R_gr8 .equ 32
-R_gr9 .equ 36
-R_gr10 .equ 40
-R_gr11 .equ 44
-R_gr12 .equ 48
-R_gr13 .equ 52
-R_gr14 .equ 56
-R_gr15 .equ 60
-R_gr16 .equ 64
-R_gr17 .equ 68
-R_gr18 .equ 72
-R_gr19 .equ 76
-R_gr20 .equ 80
-R_gr21 .equ 84
-R_gr22 .equ 88
-R_gr23 .equ 92
-R_gr24 .equ 96
-R_gr25 .equ 100
-R_gr26 .equ 104
-R_gr27 .equ 108
-R_gr28 .equ 112
-R_gr29 .equ 116
-R_gr30 .equ 120
-R_gr31 .equ 124
-R_rctr .equ 160
-R_cpu0 .equ 164
-R_pidr1 .equ 168
-R_pidr2 .equ 172
-R_ccr .equ 176
-R_sar .equ 180
-R_pidr3 .equ 184
-R_pidr4 .equ 188
-R_iva .equ 192
-R_eiem .equ 196
-
-R_itmr .equ 200
-R_pcsqH .equ 204
-R_pcoqH .equ 208
-R_iir .equ 212
-R_pcsqT .equ 216
-R_pcoqT .equ 220
-R_isr .equ 224
-R_ior .equ 228
-R_ipsw .equ 232
-R_eirr .equ 236
-R_tr0 .equ 240
-R_tr1 .equ 244
-R_tr2 .equ 248
-R_tr3 .equ 252
-R_tr4 .equ 256
-R_tr5 .equ 260
-R_tr6 .equ 264
-R_tr7 .equ 268
-
-R_SIZE .equ 300
-
- .import putc,code
- .import puts,code
- .import putnum,code
- .import put_led,code
- .import save_regs,code
- .import STUB_RESTORE,code
- .import RegBlk,data
- .export iva_table,data
- .IMPORT led_putnum,code
- .IMPORT delay,code
- .IMPORT putnum,code
- .IMPORT outbyte,code
- .IMPORT print,code
-
- .align 2048
-iva_table
- .blockz 32 ; entry 0 is reserved
-
- .align 32
-hpmc
- nop
- b,n hpmc_handler
- nop
- .word 0
- .word 0
- .word 0
- .word hpmc_handler
- .word 0
-
- .align 32
-power_fail
-; PrintString Str02,0x2
- ldi 1,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-recovery
-;; PrintString Str03,0x3
- ldi 2,%r26
- bl,n putnum,%r2
- nop
- ldi 3,%r1
- b,n handle_rcc
- nop
-
- .align 32
-external
-; PrintString Str04,0x4
- ldi 3,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-lpmc
-; PrintString Str05,0x5
- ldi 4,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-itlb_miss
-; PrintString Str06,0x6
- ldi 5,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-imem_protection
-; PrintString Str07,0x7
- ldi 6,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-illegal_inst
-; PrintString Str08,0x8
- ldi 7,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-break
- b,n break_handler
- nop
-
- .align 32
-privileged_op
-; PrintString Str0a,0xa
- ldi 8,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-privileged_reg
-; PrintString Str0b,0xb
- ldi 9,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-overflow
-; PrintString Str0c,0xc
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-conditional
-; PrintString Str0d,0xd
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-assist_excep
-; PrintString Str0e,0xe
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-dtlb_miss
-; PrintString Str0f,0xf
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-na_itlb
-; PrintString Str10,0x10
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-na_dtlb
-; PrintString Str11,0x11
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-dmem_protection
-; PrintString Str12,0x12
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-dmem_break
-; PrintString Str13,0x13
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-tlb_dirty
-; PrintString Str14,0x14
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-page_ref
-; PrintString Str15,0x15
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-assist_emul
-; PrintString Str16,0x16
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-high_priv
-; PrintString Str17,0x17
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-low_priv
-; PrintString Str18,0x18
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
- .align 32
-branch_taken
-; PrintString Str19,0x19
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
-/*
- * foobar -- debug procedure calling between C and assembler
- */
- .EXPORT foobar,ENTRY,ARGW0=GR,RTNVAL=GR
-foobar
- .PROC
- .CALLINFO CALLER,FRAME=128,SAVE_RP
- .ENTRY
-
- stw %r2,-20(0,%r30) ; stash the return pointer
- ldo 128(%r30),%r30 ; push up the stack pointer
-
- ldi 8, %r26
- bl,n led_putnum,%r2
- nop
- ldil L'900000,%r26
- ldo R'900000(%r26),%r26
- bl,n delay,%r2
- nop
- ldi 8, %r26
- bl,n led_putnum,%r2
- nop
- ldil L'900000,%r26
- ldo R'900000(%r26),%r26
- bl,n delay,%r2
- nop
-;; copy %r26,%r26
-;; bl,n putnum,%r2
- nop
-
- ldw -148(0,%r30),%r2 ; retrieve the return pointer
- ldo -128(%r30),%r30 ; reset the stack pointer
- bv,n 0(%r2)
- nop
-
- .EXIT
- .PROCEND
-
-/*
- * setup_vectors -- add vectors for GDB to the vector table.
- * %r3 - current vector table
- * %r4 - new vector table
- */
- .EXPORT setup_vectors,ENTRY,ARGW0=GR,RTNVAL=GR
-setup_vectors
- .PROC
- .CALLINFO CALLER,FRAME=128,SAVE_RP
- .ENTRY
- stw %r2,-20(0,%r30) ; stash the return pointer
- ldo 128(%r30),%r30 ; push up the stack pointer
-
- mfctl %iva,%r3
-
- ldil L%iva_table,%r4 ; Get the new vector table
- ldo R%iva_table(%r4),%r4 ; address
-
- ldil L%break_handler,%r5 ; Get the breakpoint
- ldo R%break_handler(%r5),%r5 ; handler vector
-
- ldil L%break_default,%r6 ; Get the default handler
- ldo R%break_default(%r6),%r6 ; vector
-
- stw %r6,4(%r4) ; ad the default vector
- stw %r5,36(%r4) ; add the break vector
-
- mtctl %r4,%iva
-
- ldw -148(0,%r30),%r2 ; retrieve the return pointer
- ldo -128(%r30),%r30 ; reset the stack pointer
- bv,n 0(%r2)
- nop
-
- .EXIT
- .PROCEND
-
-;-------------------------------------------------------------------------------
-hpmc_handler
- bl,n save_state,%r25
- nop
- bl print_intr,%rp
- ldi Str01-Str01,%arg0
- bl print_state,%rp
- nop
- ldil L%0xf0000000,%r1
- ldw (%r1),%r1 ; read from ROM to reset HPMC
-
- mfcpu_c 0,%r1
- mfcpu_c 0,%r1
- depi 0,CPU_DIAG_0_PREV_HPMC_PREP_BIT,1,%r1 ; clear Prev HPMC bit
-
-#ifdef PCXL
- depi 0,CPU_DIAG_0_L2DHPMC_BIT,1,%r1
- depi 0,CPU_DIAG_0_L2IHPMC_BIT,1,%r1
- depi 0,CPU_DIAG_0_L1IHPMC_BIT,1,%r1
- depi 0,CPU_DIAG_0_L2PARERR_BIT,4,%r1
-#else /* PCXT */
- depi 0,CPU_DIAG_0_DHPMC_BIT,1,%r1 ; don't clear DHPMC
- depi 0,CPU_DIAG_0_ILPMC_BIT,1,%r1 ; don't clear ILPMC
- depi 0,CPU_DIAG_0_HTOC_BIT,1,%r1 ; don't clear HTOC
-#endif
-
- mtcpu %r1,0
- mtcpu %r1,0
-
- b,n restore_to_STUB
- ldi 0x1,%r1
-
-/*
- * break_handler -- this is the main entry point for an exception
- */
- .ALIGN 2048
-break_handler
-
- mfctl %iir,%r1 ; r1 = break instruction
- extru %r1,18,13,%r8
- ldo -i13BREAK(%r8),%r8 ; if im13 field doesn't match
- comb,<>,n %r8,%r0,break_default ; go to default operation
- extru %r1,31,5,%r8
- ldi 0x9,%r1 ; set exception index
- comib,=,n i5BP,%r8,break_breakpoint
- comib,=,n i5PSW,%r8,break_psw
- comib,=,n i5REG,%r8,break_reg_init
- comib,=,n i5INLINE,%r8,break_breakpoint
- ; fall through to break_default
-
-break_default
-; PrintString Str09,0x9
- ldi 32,%r26
- bl,n putnum,%r2
- nop
-
-break_reg_init
- bl setup_vectors,%r25
- nop
- bl save_regs,%r25
- nop
- ; fall through to advance past break instruction
-
-break_psw
- b,n recover
-
-break_breakpoint
- b,n STUB_RESTORE
-
-;-------------------------------------------------------------------------------
-
-handle_rcc
- mfctl %ipsw,%r1
- bb,>=,n %r1,10,do_restore ; check nullify bit
- dep %r0,10,1,%r1
- mtctl %r1,%ipsw ; clear nullify bit
-
- ;; was the AdvancePCOQ .macro
- mtctl %r0,%pcoq ; throw away iiaoq head pointer, tail->head
- mfctl %pcoq,%r1 ; get tail pointer
- mtctl %r1,%pcoq ; insert tail pointer
- ldo 4(%r1),%r1 ; advance tail pointer
- mtctl %r1,%pcoq ; insert new tail pointer, former tail->head
-
-do_restore
- b,n STUB_RESTORE
- nop
-;-------------------------------------------------------------------------------
-
-print_intr
-; %dp may be messed up, so do self-relocating to reach Save_area
- blr %r0,%r1
- addil L%Str01-pr_intr_0,%r1
-
-pr_intr_0
- ldo R%Str01-pr_intr_0(%r1),%r1 ; r1 points to Save_area
- b puts ; print string--return through rp
- add %r1,%arg0,%arg0
-
-;-------------------------------------------------------------------------------
-
-halt
-; %dp may be messed up, so do self-relocating to reach Save_area
- blr %r0,%r1
- addil L%HaltStr-halt_0,%r1
-
-halt_0
- bl puts,%rp ; print halt message
- ldo R%HaltStr-halt_0(%r1),%arg0
-
- nop
- b,n . ; loop forever
- nop
-
-;-------------------------------------------------------------------------------
-
-recover
- ;; was the AdvancePCOQ .macro
- mtctl %r0,%pcoq ; throw away iiaoq head pointer, tail->head
- mfctl %pcoq,%r1 ; get tail pointer
- mtctl %r1,%pcoq ; insert tail pointer
- ldo 4(%r1),%r1 ; advance tail pointer
- mtctl %r1,%pcoq ; insert new tail pointer, former tail->head
-
- rfir
-
-;-------------------------------------------------------------------------------
-
-save_state ; %r25 is return pointer
-; %dp may be messed up, so do self-relocating to reach Save_area
- blr %r0,%r1
- addil L%Save_area-sa_st_0,%r1
-
-sa_st_0
- ldo R%Save_area-sa_st_0(%r1),%r1 ; r1 points to Save_area
-
-; save general registers
- stw %r0,R_gr0(%r1)
- ; don't save %r1 until restored
- stw %r2,R_gr2(%r1)
- stw %r3,R_gr3(%r1)
- stw %r4,R_gr4(%r1)
- stw %r5,R_gr5(%r1)
- stw %r6,R_gr6(%r1)
- stw %r7,R_gr7(%r1)
- ; don't save %r8, %r9 until restored
- stw %r10,R_gr10(%r1)
- stw %r11,R_gr11(%r1)
- stw %r12,R_gr12(%r1)
- stw %r13,R_gr13(%r1)
- stw %r14,R_gr14(%r1)
- stw %r15,R_gr15(%r1)
- ; don't save %r16, %r17 until restored
- stw %r18,R_gr18(%r1)
- stw %r19,R_gr19(%r1)
- stw %r20,R_gr20(%r1)
- stw %r21,R_gr21(%r1)
- stw %r22,R_gr22(%r1)
- stw %r23,R_gr23(%r1)
- ; don't save %r24, %r25 until restored
- stw %r26,R_gr26(%r1)
- stw %r27,R_gr27(%r1)
- stw %r28,R_gr28(%r1)
- stw %r29,R_gr29(%r1)
- copy %r25,%rp ; copy return pointer to %rp
- stw %r30,R_gr30(%r1)
- copy %r1,%r19 ; save Save_area pointer in %r19
- stw %r31,R_gr31(%r1)
- shdw_gr ; restore %r1 and %r25 (et al.) from shadow regs
- shdw_gr
- stw %r1,R_gr1(%r19) ; save %r1
- stw %r8,R_gr8(%r19)
- stw %r9,R_gr9(%r19)
- stw %r16,R_gr16(%r19)
- stw %r17,R_gr17(%r19)
- stw %r24,R_gr24(%r19)
-
-; save control registers
- mfctl %rctr,%r1
- stw %r1,R_rctr(%r19)
- mfctl %pidr1,%r1
- stw %r1,R_pidr1(%r19)
- mfctl %pidr2,%r1
- stw %r1,R_pidr2(%r19)
- mfctl %ccr,%r1
- stw %r1,R_ccr(%r19)
- mfctl %sar,%r1
- stw %r1,R_sar(%r19)
- mfctl %pidr3,%r1
- stw %r1,R_pidr3(%r19)
- mfctl %pidr4,%r1
- stw %r1,R_pidr4(%r19)
- mfctl %iva,%r1
- stw %r1,R_iva(%r19)
- mfctl %eiem,%r1
- stw %r1,R_eiem(%r19)
- mfctl %itmr,%r1
- stw %r1,R_itmr(%r19)
- mfctl %pcsq,%r1
- mtctl %r1,%pcsq
- stw %r1,R_pcsqH(%r19)
- mfctl %pcsq,%r1
- mtctl %r1,%pcsq
- stw %r1,R_pcsqT(%r19)
- mfctl %pcoq,%r1
- mtctl %r1,%pcoq
- stw %r1,R_pcoqH(%r19)
- mfctl %pcoq,%r1
- mtctl %r1,%pcoq
- stw %r1,R_pcoqT(%r19)
- mfctl %iir,%r1
- stw %r1,R_iir(%r19)
- mfctl %isr,%r1
- stw %r1,R_isr(%r19)
- mfctl %ior,%r1
- stw %r1,R_ior(%r19)
- mfctl %ipsw,%r1
- stw %r1,R_ipsw(%r19)
- mfctl %eirr,%r1
- stw %r1,R_eirr(%r19)
- mfctl %tr0,%r1
- stw %r1,R_tr0(%r19)
- mfctl %tr1,%r1
- stw %r1,R_tr1(%r19)
- mfctl %tr2,%r1
- stw %r1,R_tr2(%r19)
- mfctl %tr3,%r1
- stw %r1,R_tr3(%r19)
- mfctl %tr4,%r1
- stw %r1,R_tr4(%r19)
- mfctl %tr5,%r1
- stw %r1,R_tr5(%r19)
- mfctl %tr6,%r1
- stw %r1,R_tr6(%r19)
- mfctl %tr7,%r1
- stw %r1,R_tr7(%r19)
-
-; save diagnose registers
- mfcpu_c 0,%r1
- mfcpu_c 0,%r1
- stw %r1,R_cpu0(%r19)
-
-#ifdef PRINT_SPACE
- stw %r25,R_gr25(%r19)
-
-; save space registers
- mfsp %sr0,%r1
- stw %r1,R_sr0(%r19)
- mfsp %sr1,%r1
- stw %r1,R_sr1(%r19)
- mfsp %sr2,%r1
- stw %r1,R_sr2(%r19)
- mfsp %sr3,%r1
- stw %r1,R_sr3(%r19)
- mfsp %sr4,%r1
- stw %r1,R_sr4(%r19)
- mfsp %sr5,%r1
- stw %r1,R_sr5(%r19)
- mfsp %sr6,%r1
- stw %r1,R_sr6(%r19)
- mfsp %sr7,%r1
- bv (%rp)
- stw %r1,R_sr7(%r19)
-#else
- bv (%rp)
- stw %r25,R_gr25(%r19)
-#endif
-
-
-;-------------------------------------------------------------------------------
-
-restore_to_STUB ; doesn't return--goes to STUB_RESTORE
- ; Note--STUB_RESTORE executes rfir,
- ; so we don't need to
- copy %r1,%r8 ; save exception index
-; %dp may be messed up, so do self-relocating to reach Save_area
- bl re_st_0,%r1
- addil L%Save_area-re_st_0,%r1
-
-re_st_0
- ldo R%Save_area-re_st_0(%r1),%r1 ; r1 points to Save_area
-
-; restore general registers
- ldw R_gr2(%r1),%r2
- ldw R_gr3(%r1),%r3
- ldw R_gr4(%r1),%r4
- ldw R_gr5(%r1),%r5
- ldw R_gr6(%r1),%r6
- ldw R_gr7(%r1),%r7
-; ldw R_gr8(%r1),%r8 don't smash the exception index
- ldw R_gr9(%r1),%r9
- ldw R_gr10(%r1),%r10
- ldw R_gr11(%r1),%r11
- ldw R_gr12(%r1),%r12
- ldw R_gr13(%r1),%r13
- ldw R_gr14(%r1),%r14
- ldw R_gr15(%r1),%r15
- ldw R_gr16(%r1),%r16
- ldw R_gr17(%r1),%r17
- ldw R_gr18(%r1),%r18
- ldw R_gr19(%r1),%r19
- ldw R_gr20(%r1),%r20
- ldw R_gr21(%r1),%r21
- ldw R_gr22(%r1),%r22
- ldw R_gr23(%r1),%r23
- ldw R_gr24(%r1),%r24
- ldw R_gr25(%r1),%r25
- ldw R_gr26(%r1),%r26
- ldw R_gr27(%r1),%r27
- ldw R_gr28(%r1),%r28
- ldw R_gr29(%r1),%r29
- ldw R_gr30(%r1),%r30
- ldw R_gr31(%r1),%r31
- ldw R_gr1(%r1),%r1
- b STUB_RESTORE
- copy %r8,%r1 ; restore the exception index
-
-;-------------------------------------------------------------------------------
-
-#define HoldPtr %r10
-#define SavePtr %r11
-#define StrPtr %r12
-#define Count %r13
-
-#define Hold_Hold 0*4 /* First word of hold area */
-#define Hold_Save 1*4 /* Second word of hold area */
-#define Hold_Str 2*4 /* Third word of hold area */
-#define Hold_Count 3*4 /* Fourth word of hold area */
-#define Hold_rp 4*4 /* Fifth word of hold area */
-
-print_state
-; %dp may be messed up, so do self-relocating to reach Save_area
- blr %r0,%mrp
- addil L%Hold_area-pr_st_0,%mrp
-
-pr_st_0
- ldo R%Hold_area-pr_st_0(%r1),%r1 ; r1 points to Hold_area
-
-; save working registers
-
- stw HoldPtr,Hold_Hold(%r1)
- copy %r1,HoldPtr ; HoldPtr = &Hold_area
- stw SavePtr,Hold_Save(HoldPtr)
- ldo Save_area-Hold_area(HoldPtr),SavePtr ; SavePtr = &Save_area
- stw StrPtr,Hold_Str(HoldPtr)
- addil L%PrintLabels-pr_st_0,%mrp
- stw Count,Hold_Count(HoldPtr)
- ldo R%PrintLabels-pr_st_0(%r1),StrPtr
- stw %rp,Hold_rp(HoldPtr)
-
-
-#ifdef PRINT_SPACE
- ldi 68,Count
-#else
- ldo R_gr0(SavePtr),SavePtr
- ldi 60,Count
-#endif
-
-; print register values
-
-print_loop
- bl puts,%rp ; print label
- ldo 1(StrPtr),%arg0 ; advance past length byte
- bl putnum,%rp ; print register value
- ldwm 4(SavePtr),%arg0
- ldbs,ma 1(StrPtr),%r1
- addib,> -1,Count,print_loop
- add %r1,StrPtr,StrPtr
-
-; skip to next line
- bl puts,%rp ; print label
- ldo 1(StrPtr),%arg0 ; advance past length byte
-
-; restore working registers
-
- ldw Hold_rp(HoldPtr),%rp
- ldw Hold_Count(HoldPtr),Count
- ldw Hold_Str(HoldPtr),StrPtr
- ldw Hold_Save(HoldPtr),SavePtr
- bv (%rp)
- ldw Hold_Hold(HoldPtr),HoldPtr
-
-#undef SavePtr
-#undef HoldPtr
-#undef StrPtr
-#undef Count
-
-#undef Hold_Save
-#undef Hold_Scr
-#undef Hold_Str
-#undef Hold_Count
-#undef Hold_rp
-
-;-------------------------------------------------------------------------------
-
- .space $PRIVATE$
- .subspa $DATA$,align=4,access=0x1f
-
-/* Used to save machine registers before printing */
-Save_area
- .block R_SIZE ; Used to store registers
-
-/* Used to hold callee-save registers */
-Hold_area
- .block 8*4 ; 8 words to store temp. registers
-
-HaltStr
- .stringz "\r\nHalted\r\n"
-
-RebootStr
- .stringz "\r\nRebooting . . .\r\n"
-
-Str01
- .stringz "\r\nHPMC\r\n"
-
-Str02
- .stringz "\r\nPower Fail\r\n"
-
-Str03
- .stringz "\r\nRecovery Counter Trap\r\n"
-
-Str04
- .stringz "\r\nExternal Interrupt\r\n"
-
-Str05
- .stringz "\r\nLPMC\r\n"
-
-Str06
- .stringz "\r\nITLB Miss\r\n"
-
-Str07
- .stringz "\r\nInstruction Memory Protection Trap\r\n"
-
-Str08
- .stringz "\r\nIllegal Instruction\r\n"
-
-Str09
- .stringz "\r\nBreak Trap\r\n"
-
-Str0a
- .stringz "\r\nPrivileged Operation\r\n"
-
-Str0b
- .stringz "\r\nPrivileged Register\r\n"
-
-Str0c
- .stringz "\r\nOverflow Trap\r\n"
-
-Str0d
- .stringz "\r\nConditional Trap\r\n"
-
-Str0e
- .stringz "\r\nAssist Exception\r\n"
-
-Str0f
- .stringz "\r\nData TLB Miss\r\n"
-
-Str10
- .stringz "\r\nNon-access ITLB Miss\r\n"
-
-Str11
- .stringz "\r\nNon-access DTLB Miss\r\n"
-
-Str12
- .stringz "\r\nData Memory Protection Trap\r\n"
-
-Str13
- .stringz "\r\nData Memory Break\r\n"
-
-Str14
- .stringz "\r\nTLB Dirty Bit Trap\r\n"
-
-Str15
- .stringz "\r\nPage Reference Trap\r\n"
-
-Str16
- .stringz "\r\nAssist Emulation Trap\r\n"
-
-Str17
- .stringz "\r\nHigher-privilege Trap\r\n"
-
-Str18
- .stringz "\r\nLower-privilege Trap\r\n"
-
-Str19
- .stringz "\r\nTaken Branch Trap\r\n"
-
-Str20
- .stringz "\r\nHere I am!\r\n"
-
-PrintLabels
-#ifdef PRINT_SPACE
- .byte 10
- .stringz "sr 0 = 0x"
- .byte 13
- .stringz "sr 1 = 0x"
- .byte 13
- .stringz "sr 2 = 0x"
- .byte 13
- .stringz " sr 3 = 0x"
- .byte 12
- .stringz "\r\nsr 4 = 0x"
- .byte 13
- .stringz " sr 5 = 0x"
- .byte 13
- .stringz " sr 6 = 0x"
- .byte 13
- .stringz " sr 7 = 0x"
- .byte 13
- .stringz "\r\n\ngr 0 = 0x"
-#else
- .byte 10
- .stringz "gr 0 = 0x"
-#endif
-
- .byte 13
- .stringz " gr 1 = 0x"
- .byte 13
- .stringz " gr 2 = 0x"
- .byte 13
- .stringz " gr 3 = 0x"
- .byte 12
- .stringz "\r\ngr 4 = 0x"
- .byte 13
- .stringz " gr 5 = 0x"
- .byte 13
- .stringz " gr 6 = 0x"
- .byte 13
- .stringz " gr 7 = 0x"
- .byte 12
- .stringz "\r\ngr 8 = 0x"
- .byte 13
- .stringz " gr 9 = 0x"
- .byte 13
- .stringz " gr10 = 0x"
- .byte 13
- .stringz " gr11 = 0x"
- .byte 12
- .stringz "\r\ngr12 = 0x"
- .byte 13
- .stringz " gr13 = 0x"
- .byte 13
- .stringz " gr14 = 0x"
- .byte 13
- .stringz " gr15 = 0x"
- .byte 12
- .stringz "\r\ngr16 = 0x"
- .byte 13
- .stringz " gr17 = 0x"
- .byte 13
- .stringz " gr18 = 0x"
- .byte 13
- .stringz " gr19 = 0x"
- .byte 12
- .stringz "\r\ngr20 = 0x"
- .byte 13
- .stringz " gr21 = 0x"
- .byte 13
- .stringz " gr22 = 0x"
- .byte 13
- .stringz " gr23 = 0x"
- .byte 12
- .stringz "\r\ngr24 = 0x"
- .byte 13
- .stringz " gr25 = 0x"
- .byte 13
- .stringz " gr26 = 0x"
- .byte 13
- .stringz " gr27 = 0x"
- .byte 12
- .stringz "\r\ngr28 = 0x"
- .byte 13
- .stringz " gr29 = 0x"
- .byte 13
- .stringz " gr30 = 0x"
- .byte 13
- .stringz " gr31 = 0x"
- .byte 13
- .stringz "\r\n\nrctr = 0x"
- .byte 53
- .stringz " cpu0 = 0x"
- .byte 12
- .stringz "\r\npid1 = 0x"
- .byte 13
- .stringz " pid2 = 0x"
- .byte 13
- .stringz " ccr = 0x"
- .byte 13
- .stringz " sar = 0x"
- .byte 12
- .stringz "\r\npid3 = 0x"
- .byte 13
- .stringz " pid4 = 0x"
- .byte 13
- .stringz " iva = 0x"
- .byte 13
- .stringz " eiem = 0x"
- .byte 12
- .stringz "\r\nitmr = 0x"
- .byte 13
- .stringz " iasq = 0x"
- .byte 13
- .stringz " iaoq = 0x"
- .byte 13
- .stringz " iir = 0x"
- .byte 32
- .stringz "\r\n iasq = 0x"
- .byte 13
- .stringz " iaoq = 0x"
- .byte 12
- .stringz "\r\n isr = 0x"
- .byte 13
- .stringz " ior = 0x"
- .byte 13
- .stringz " ipsw = 0x"
- .byte 13
- .stringz " eirr = 0x"
- .byte 12
- .stringz "\r\ncr24 = 0x"
- .byte 13
- .stringz " cr25 = 0x"
- .byte 13
- .stringz " cr26 = 0x"
- .byte 13
- .stringz " cr27 = 0x"
- .byte 12
- .stringz "\r\ncr28 = 0x"
- .byte 13
- .stringz " cr29 = 0x"
- .byte 13
- .stringz " cr30 = 0x"
- .byte 13
- .stringz " cr31 = 0x"
- .byte 4
- .stringz "\r\n\n"
-
- .end
diff --git a/libgloss/hp74x/pa_stub.c b/libgloss/hp74x/pa_stub.c
deleted file mode 100644
index 2964921..0000000
--- a/libgloss/hp74x/pa_stub.c
+++ /dev/null
@@ -1,698 +0,0 @@
-/* -*-C-*-
-*******************************************************************************
-*
-* File: pa_stub.c
-* RCS: $Header$
-* Description: main routines for PA RISC monitor stub
-* Author: Robert Quist
-* Created: Mon Nov 1 10:00:36 1993
-* Modified: Fri Nov 12 15:14:23 1993 (Robert Quist) quist@hpfcrdq
-* Language: C
-* Package: N/A
-* Status: Experimental (Do Not Distribute)
-*
-*******************************************************************************
-*/
-
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * NOTES: See Below $
- *
- * To enable debugger support, two things need to happen.
- *
- * One, a call to set_debug_traps() is necessary in order to allow
- * any breakpoints or error conditions to be properly intercepted and
- * reported to gdb.
- *
- * Two, a breakpoint needs to be generated to begin communication.
- * This is most easily accomplished by a call to breakpoint().
- * breakpoint() simulates a breakpoint
-
-
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * bBB..BB Set baud rate to BB..BB OK or BNN, then sets
- * baud rate
- *
-
- ************
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of :
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-#include <signal.h>
-#include "hppa-defs.h"
-
-/************************************************************************
- *
- * external low-level support
- */
-#define OPT_PDC_CACHE 5
-#define OPT_PDC_ADD_VALID 12
-#define PGZ_MEM_PDC 0x0388 /* location of PDC_ENTRY in memory */
-#define CALL_PDC (*(int (*)())((int *)(*((int *)PGZ_MEM_PDC))))
-
-extern putDebugChar(); /* write a single character */
-extern getDebugChar(); /* read and return a single char */
-extern FICE(); /* flush i cache entry */
-extern INLINE_BREAK(); /* break for user call */
-
-#define RADDR_ALIGN(s,r) (s = ((unsigned int *) ((((int) r ) + 7 ) & 0xFFFFFFF8)))
-
-/************************************************************************/
-/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
-/* at least NUMREGBYTES*2 are needed for register packets */
-
-#define BUFMAX 2048
-
-#define NUMGPRS 32
-#define NUMSRS 8
-#define NUMCRS 32
-#define NUMSPCLS 3
-#define NUMFPRS 32
-
-#define NUMGPRBYTES 4
-#define NUMSRBYTES 4
-#define NUMCRBYTES 4
-#define NUMSPCLBYTES 4
-#define NUMFPRBYTES 8
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES \
- ( (NUMGPRS * NUMGPRBYTES) \
- + (NUMSRS * NUMSRBYTES) \
- + (NUMCRS * NUMCRBYTES) \
- + (NUMSPCLS * NUMSPCLBYTES) \
- + (NUMFPRS * NUMFPRBYTES) \
- )
-
-
-enum regnames {GR0, GR1, GR2, GR3, GR4, GR5, GR6, GR7,
- GR8, GR9, GR10, GR11, GR12, GR13, GR14, GR15,
- GR16, GR17, GR18, GR19, GR20, GR21, GR22, GR23,
- GR24, GR25, GR26, GR27, GR28, GR29, GR30, GR31,
-
- SR0, SR1, SR2, SR3, SR4, SR5, SR6, SR7,
-
- CR0, CR1, CR2, CR3, CR4, CR5, CR6, CR7,
- CR8, CR9, CR10, CR11, CR12, CR13, CR14, CR15,
- CR16, CR17H,CR18H,CR19, CR20, CR21, CR22, CR23,
- CR24, CR25, CR26, CR27, CR28, CR29, CR30, CR31,
-
- CR17T,CR18T,CPUD0 };
-
-enum fregnames {FPR0, FPR1, FPR2, FPR3, FPR4, FPR5, FPR6, FPR7,
- FPR8, FPR9, FPR10, FPR11, FPR12, FPR13, FPR14, FPR15,
- FPR16, FPR17, FPR18, FPR19, FPR20, FPR21, FPR22, FPR23,
- FPR24, FPR25, FPR26, FPR27, FPR28, FPR29, FPR30, FPR31 };
-
-#define PC CR18H
-#define NPC CR18T
-#define SP GR30
-
-struct registers {
- int intregs[NUMGPRS + NUMSRS + NUMCRS + NUMSPCLS];
- int fpregs [NUMFPRS * 2];
- };
-/* Global Variables */
-
-static int initialized = 0; /* !0 means we've been initialized */
-static unsigned char hexchars[]="0123456789abcdef";
-static unsigned char remcomInBuffer[BUFMAX];
-static unsigned char remcomOutBuffer[BUFMAX];
-static unsigned int i_cache_params[6];
-
-/* This table contains the mapping between PA hardware exception
- types, and signals, which are primarily what GDB understands. It also
- indicates which hardware traps we need to commandeer when initializing
- the stub.
-
- The only two currently used are Recovery counter (single stepping)
- and Break trap ( break points ).
-*/
-
-static struct hard_trap_info
-{
- unsigned char tt; /* Trap number for PA-RISC */
- unsigned char signo; /* Signal that we map this trap into */
-} hard_trap_info[] = {
-/* 1 High priority machine check */
-/* 2 Power failure interrupt*/
-/* 3 Recovery counter -- init */
-/* 4 External interrupt */
-/* 5 Low priority machine check */
- {6, SIGSEGV}, /* Instruction TLB miss/page fault */
- {7, SIGSEGV}, /* Memory protection */
- {8, SIGILL}, /* Illegal instruction */
- {9, SIGTRAP}, /* Break instruction -- init */
- {10,SIGILL}, /* Privileged instruction */
- {11,SIGILL}, /* Privileged register */
- {12,SIGUSR1}, /* Overflow */
- {13,SIGUSR2}, /* Conditional */
- {14,SIGEMT}, /* Assist Exception */
- {15,SIGSEGV}, /* Data TLB miss/page fault */
- {16,SIGSEGV}, /* Non-access Instruction TLB miss */
- {17,SIGSEGV}, /* Non-access Data TLB miss/page fault */
- {18,SIGSEGV}, /* Data memory protection/ unaligned data reference */
- {19,SIGTRAP}, /* Data memory break */
- {20,SIGSEGV}, /* TLB dirty bit */
- {21,SIGSEGV}, /* Page reference */
- {22,SIGEMT}, /* Assist emulation */
- {23,SIGILL}, /* Higher-privilege */
- {24,SIGILL}, /* Lower-privilege */
- {25,SIGTRAP}, /* Taken branch */
- {0, 0} /* Must be last */
-};
-
-/* Functions */
-/*========================================================================== */
-
-/* Convert ch from a hex digit to an int */
-
-static int
-hex(ch)
- unsigned char ch;
-{
- if (ch >= 'a' && ch <= 'f')
- return ch-'a'+10;
- if (ch >= '0' && ch <= '9')
- return ch-'0';
- if (ch >= 'A' && ch <= 'F')
- return ch-'A'+10;
- return -1;
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-static void
-getpacket(buffer)
- char *buffer;
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- unsigned char ch;
-
- do
- {
- /* wait around for the start character, ignore all other characters */
- strobe();
- while ((ch = getDebugChar()) != '$') ;
-
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX)
- {
- ch = getDebugChar();
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
-
- if (count >= BUFMAX)
- continue;
-
- buffer[count] = 0;
-
- if (ch == '#')
- {
- xmitcsum = hex(getDebugChar()) << 4;
- xmitcsum |= hex(getDebugChar());
-
-#if TESTING
- /* Humans shouldn't have to figure out checksums to type to it. */
- putDebugChar ('+');
- return;
-#endif
- if (checksum != xmitcsum)
- putDebugChar('-'); /* failed checksum */
- else
- {
- putDebugChar('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':')
- {
- putDebugChar(buffer[0]);
- putDebugChar(buffer[1]);
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++)
- buffer[i-3] = buffer[i];
- }
- }
- }
- }
- while (checksum != xmitcsum);
-}
-
-/* send the packet in buffer. */
-
-static void
-putpacket(buffer)
- unsigned char *buffer;
-{
- unsigned char checksum;
- int count;
- unsigned char ch;
-
- /* $<packet info>#<checksum>. */
-
- do
- {
- putDebugChar('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count])
- {
- if (! putDebugChar(ch))
- return;
- checksum += ch;
- count += 1;
- }
-
- putDebugChar('#');
- putDebugChar(hexchars[checksum >> 4]);
- putDebugChar(hexchars[checksum & 0xf]);
- } while (getDebugChar() != '+');
-}
-
-/* Convert the memory pointed to by mem into hex, placing result in buf.
- * Return a pointer to the last char put in buf (null), in case of mem fault,
- * return 0.
- * If MAY_FAULT is non-zero, then we will handle memory faults by returning
- * a 0, else treat a fault like any other fault in the stub.
- */
-
-static unsigned char *
-mem2hex(mem, buf, count, may_fault)
- unsigned char *mem;
- unsigned char *buf;
- int count;
- int may_fault;
-{
- unsigned char ch;
- int check_addr,
- new_addr;
-
- check_addr = 0;
-
- while (count-- > 0)
- {
- if (may_fault)
- { new_addr = ((int) (mem+3)) & 0xFFFFFFF8;
- if (new_addr != check_addr)
- { check_addr = new_addr;
- if (pdc_call(OPT_PDC_ADD_VALID,0,check_addr)) return 0;
- }
- }
- ch = *mem++;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch & 0xf];
- }
-
- *buf = 0;
-
- return buf;
-}
-
-/* convert the hex array pointed to by buf into binary to be placed in mem
- * return a pointer to the character AFTER the last byte written */
-
-static unsigned char *
-hex2mem(buf, mem, count, may_fault)
- unsigned char *buf;
- unsigned char *mem;
- int count;
- int may_fault;
-{
- int i;
- unsigned int ch;
- int check_addr,
- new_addr;
-
- check_addr = 0;
-
- for (i=0; i<count; i++)
- {
- ch = hex(*buf++) << 4;
- ch |= hex(*buf++);
- if (may_fault)
- { new_addr = ((int)(mem+3)) & 0xFFFFFFF8;
- if (new_addr != check_addr)
- { check_addr = new_addr;
- if (pdc_call(OPT_PDC_ADD_VALID,0,check_addr)) return 0;
- }
- }
- *mem++ = ch;
- }
-
- return mem;
-}
-
-/* Set up exception handlers for traceing and breakpoints */
-
-void
-set_debug_traps()
-{
- unsigned int R_addr[33];
- unsigned int *Raddr_ptr;
-
- setup_vectors();
-
- /* get cache params for use by flush_i_cache */
- RADDR_ALIGN(Raddr_ptr,R_addr);
-
- if (pdc_call(OPT_PDC_CACHE,0,Raddr_ptr,0))
- i_cache_params[0] = -1;
- else
- i_cache_params[0] = R_addr[0];
-
- i_cache_params[1] = Raddr_ptr[1];
- i_cache_params[2] = Raddr_ptr[2];
- i_cache_params[3] = Raddr_ptr[3];
- i_cache_params[4] = Raddr_ptr[4];
- i_cache_params[5] = Raddr_ptr[5];
-
- /* In case GDB is started before us, ack any packets (presumably
- "$?#xx") sitting there. */
-
- putDebugChar ('+');
-
- initialized = 1;
-}
-
-
-/* Convert the PA-RISC hardware trap number to a unix signal number. */
-
-static int
-computeSignal(tt)
- int tt;
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- if (ht->tt == tt)
- return ht->signo;
-
- return SIGHUP; /* default for things we don't know about */
-}
-
-/*
- * While we find nice hex chars, build an int.
- * Return number of chars processed.
- */
-
-static int
-hexToInt(ptr, intValue)
- unsigned char **ptr;
- int *intValue;
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue < 0)
- break;
-
- *intValue = (*intValue << 4) | hexValue;
- numChars ++;
-
- (*ptr)++;
- }
-
- return (numChars);
-}
-
-void
-flush_i_cache()
-
-{
- unsigned int addr,count,loop;
-
- if (i_cache_params[0] <= 0) return;
-
- addr = i_cache_params[2];
- for (count = 0; count < i_cache_params[4]; count++)
- { for ( loop = 0; loop < i_cache_params[5]; loop++) FICE(addr);
- addr = addr + i_cache_params[3];
- }
-}
-
-/*
- * This function does all command procesing for interfacing to gdb.
- return of 0 will execute DEBUG_GO (continue)
- return of 1 will execute DEBUG_SS (single step)
- */
-
-int
-handle_exception (registers,tt)
- unsigned long *registers;
- int tt; /* Trap type */
-{
- int sigval;
- int addr;
- int length;
- unsigned char *ptr;
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal(tt);
- ptr = remcomOutBuffer;
-
- *ptr++ = 'T';
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
-/* could be lots of stuff here like PC and SP registers */
-
- *ptr++ = 0;
-
- putpacket(remcomOutBuffer);
-
- while (1)
- {
- remcomOutBuffer[0] = 0;
-
- getpacket(remcomInBuffer);
- switch (remcomInBuffer[0])
- {
- case '?':
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval & 0xf];
- remcomOutBuffer[3] = 0;
- break;
-
- case 'd':
- /* toggle debug flag */
- led_putnum (16);
- break;
-
- case 'g': /* return the value of the CPU registers */
- {
- ptr = remcomOutBuffer;
- /* GR0..GR31 SR0..SR7 CR0..CR31 specials */
- ptr = mem2hex((char *)registers, ptr, NUMREGBYTES, 0);
- /* need to add floating point registers */
- }
- break;
-
- case 'G': /* set the value of the CPU registers - return OK */
- {
- ptr = &remcomInBuffer[1];
- /* GR0..GR31 SR0..SR7 CR0..CR31 specials */
- hex2mem(ptr, (char *)registers, NUMREGBYTES, 0);
- strcpy(remcomOutBuffer,"OK 1");
- }
- break;
-
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* Try to read %x,%x. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length))
- {
- if (mem2hex((char *)addr, remcomOutBuffer, length, 1))
- break;
-
- strcpy (remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer,"E01");
- break;
-
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* Try to read '%x,%x:'. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length)
- && *ptr++ == ':')
- {
- if (hex2mem(ptr, (char *)addr, length, 1))
- strcpy(remcomOutBuffer, "OK");
- else
- strcpy(remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer, "E02");
- break;
-
- case 'c': /* cAA..AA Continue at address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
-
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr, &addr))
- {
- registers[PC] = addr;
- registers[NPC] = addr + 4;
- }
-
-/* Need to flush the instruction cache here, as we may have deposited a
- breakpoint, and the icache probably has no way of knowing that a data ref to
- some location may have changed something that is in the instruction cache.
- */
-
- flush_i_cache();
- return 0; /* execute GO */
-
- /* kill the program */
- case 'k' : /* do nothing */
- break;
-
- case 's' : /* single step */
- /* try to read optional parameter, pc unchanged if no parm */
-
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr, &addr))
- {
- registers[PC] = addr;
- registers[NPC] = addr + 4;
- }
-/* Need to flush the instruction cache here, as we may have deposited a
- breakpoint, and the icache probably has no way of knowing that a data ref to
- some location may have changed something that is in the instruction cache.
- */
- flush_i_cache();
- return 1; /* execute Single Step */
- break;
-
-#if TESTING1
- case 't': /* Test feature */
- break;
-#endif
- case 'r': /* Reset */
- break;
-
-#if TESTING2
-Disabled until we can unscrew this properly
-
- case 'b': /* bBB... Set baud rate to BB... */
- {
- int baudrate;
- extern void set_timer_3();
-
- ptr = &remcomInBuffer[1];
- if (!hexToInt(&ptr, &baudrate))
- {
- strcpy(remcomOutBuffer,"B01");
- break;
- }
-
- /* Convert baud rate to uart clock divider */
- switch (baudrate)
- {
- case 38400:
- baudrate = 16;
- break;
- case 19200:
- baudrate = 33;
- break;
- case 9600:
- baudrate = 65;
- break;
- default:
- strcpy(remcomOutBuffer,"B02");
- goto x1;
- }
-
- putpacket("OK 2"); /* Ack before changing speed */
- set_timer_3(baudrate); /* Set it */
- }
-x1: break;
-#endif
- } /* switch */
-
- /* reply to the request */
- putpacket(remcomOutBuffer);
- }
- print ("\r\nEscaped handle_exception\r\n");
-}
diff --git a/libgloss/hp74x/test.c b/libgloss/hp74x/test.c
deleted file mode 100644
index 2fd84ac..0000000
--- a/libgloss/hp74x/test.c
+++ /dev/null
@@ -1,47 +0,0 @@
-extern int led_putnum();
-#define DELAY 900000
-extern char strobe(),putDebugChar(),print(),putnum();
-extern char foobar();
-extern char breakpoint();
-
-#define TESTSTUB 1
-
-main()
-{
- unsigned char x;
- char buf[20];
-
-#if TESTIO
- strobe();
- outbyte ('\n');
- outbyte ('$');
- write (2, "Enter 5 characters... ", 24);
- read (0, buf, 5);
- print (buf);
- print ("\r\n");
- strobe ();
-#endif
-
-#if TESTSTUB
- print ("\r\nInit vectors...\r\n");
-/*** set_debug_traps(); ***/
- print ("\r\nSet a breakpoint...\r\n");
- handle_exception();
-/*** breakpoint(); ***/
-#endif
-
- print ("\r\nTest foobar\r\n");
- foobar();
- /* whew, we made it */
- print ("\r\nDone...");
-}
-
-/*
- * FIXME: this is only hear so things will link.
- */
-int
-puts(s)
- char *s;
-{
- s++;
-}
diff --git a/libgloss/i386/Makefile.in b/libgloss/i386/Makefile.in
deleted file mode 100644
index 536f37f..0000000
--- a/libgloss/i386/Makefile.in
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright (c) 1997, 2000 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = cygmon-crt0.o
-CYGMON_OBJS = cygmon-salib.o cygmon-gmon.o
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = cygmon
-BSP = libcygmon.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: ${CRT0} ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-libcygmon.a: $(CYGMON_OBJS)
- ${AR} ${ARFLAGS} $@ $(CYGMON_OBJS)
- ${RANLIB} $@
-
-cygmon-salib.o: ${srcdir}/cygmon-salib.c
- $(CC) -c $(CFLAGS) @NEED_UNDERSCORE@ @IS_COFF@ @IS_AOUT@ $(<) -o $@
-
-cygmon-crt0.o: ${srcdir}/cygmon-crt0.S
- $(CC) -c $(CFLAGS) @NEED_UNDERSCORE@ @IS_COFF@ @IS_AOUT@ $(<) -o $@
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- @for bsp in ${BSP}; do\
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
- @for script in ${SCRIPTS}; do\
- $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-
-# these are for the BSPs
-${CRT0}: cygmon-crt0.S
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/i386/aclocal.m4 b/libgloss/i386/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/i386/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/i386/configure b/libgloss/i386/configure
deleted file mode 100755
index ecc5309..0000000
--- a/libgloss/i386/configure
+++ /dev/null
@@ -1,3749 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="cygmon-salib.c"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-IS_COFF
-IS_AOUT
-NEED_UNDERSCORE
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-case "$target" in
- *coff)
- IS_COFF="-DCOFF"
- ;;
- *aout)
- IS_AOUT="-DAOUT"
- ;;
-esac
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-
-
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-IS_COFF!$IS_COFF$ac_delim
-IS_AOUT!$IS_AOUT$ac_delim
-NEED_UNDERSCORE!$NEED_UNDERSCORE$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/i386/configure.in b/libgloss/i386/configure.in
deleted file mode 100644
index b1e5855..0000000
--- a/libgloss/i386/configure.in
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(cygmon-salib.c)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-case "$target" in
- *coff)
- IS_COFF="-DCOFF"
- ;;
- *aout)
- IS_AOUT="-DAOUT"
- ;;
-esac
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_SUBST(IS_COFF)
-AC_SUBST(IS_AOUT)
-AC_SUBST(NEED_UNDERSCORE)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/i386/cygmon-crt0.S b/libgloss/i386/cygmon-crt0.S
deleted file mode 100644
index 1c4535e..0000000
--- a/libgloss/i386/cygmon-crt0.S
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * crt0 startup code for user programs running under Cygmon
- *
- * Copyright (c) 1998, 2000 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#define _S2(P,X) P ## X
-#define _S1(P,X) _S2(P,X)
-#define SYM(X) _S1(__USER_LABEL_PREFIX__,X)
-
-.data
- .align 8
-SYM(environ):
- .long 0
-
-SYM(argc):
- .long 0
-
- .text
- .align 4
-
- .globl __start
-__start:
- /* see if the stack is already setup. if not, then default
- * to using the value of %sp as set by the ROM monitor
- */
- movl $__stack, %eax
- testl %eax, %eax
- jz 1f
- movl %eax, %esp
-1:
- mov $0, %ebp
-
- movl $__bss_start, %edi
- movl $__bss_end, %ecx
- subl %edi, %ecx
- xorl %eax, %eax
- rep; stosb
-
- pushl $SYM(__sigtramp)
- pushl $0
- call SYM(__install_signal_handler)
- popl %eax
-
- pushl $SYM(__do_global_dtors)
- call SYM(atexit)
- popl %eax
-
- call SYM(__do_global_ctors)
-
- pushl $SYM(argc)
- call SYM(__get_program_arguments)
- popl %ecx
-
- movl SYM(argc), %ecx
- pushl %eax
- pushl %ecx
- call SYM(main)
- popl %ecx
- popl %edx
-
- /* call exit from the C library so atexit gets called, and the
- * C++ destructors get run. This calls our exit routine below
- * when it's done.
- */
- pushl %eax
- call SYM(exit)
-3:
- jmp 3b
diff --git a/libgloss/i386/cygmon-gmon.c b/libgloss/i386/cygmon-gmon.c
deleted file mode 100644
index 480b2ec..0000000
--- a/libgloss/i386/cygmon-gmon.c
+++ /dev/null
@@ -1,362 +0,0 @@
-/*-
- * Copyright (c) 1991, 2000 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-/*
- * This is a modified gmon.c by J.W.Hawtin <oolon@ankh.org>,
- * 14/8/96 based on the original gmon.c in GCC and the hacked version
- * solaris 2 sparc version (config/sparc/gmon-sol.c) by Mark Eichin. To do
- * process profiling on solaris 2.X X86
- *
- * It must be used in conjunction with sol2-gc1.asm, which is used to start
- * and stop process monitoring.
- *
- * Differences.
- *
- * On Solaris 2 _mcount is called by library functions not mcount, so support
- * has been added for both.
- *
- * Also the prototype for profil() is different
- *
- * Solaris 2 does not seem to have char *minbrk which allows the setting of
- * the minimum SBRK region so this code has been removed and lets pray malloc
- * does not mess it up.
- *
- * Notes
- *
- * This code could easily be integrated with the original gmon.c and perhaps
- * should be.
- */
-
-#ifndef lint
-static char sccsid[] = "@(#)gmon.c 5.3 (Berkeley) 5/22/91";
-#endif /* not lint */
-
-#define DEBUG
-#ifdef DEBUG
-#include <stdio.h>
-#endif
-
-#include "cygmon-gmon.h"
-
-/*
- * froms is actually a bunch of unsigned shorts indexing tos
- */
-static int profiling = 3;
-static unsigned short *froms;
-static struct tostruct *tos = 0;
-static long tolimit = 0;
-static char *s_lowpc = 0;
-static char *s_highpc = 0;
-static unsigned long s_textsize = 0;
-
-static int ssiz;
-static char *sbuf;
-static int s_scale;
- /* see profil(2) where this is describe (incorrectly) */
-#define SCALE_1_TO_1 0x10000L
-
-#define MSG "No space for profiling buffer(s)\n"
-
-extern int errno;
-
-int
-monstartup(lowpc, highpc)
- char *lowpc;
- char *highpc;
-{
- int monsize;
- char *buffer;
- register int o;
-
- /*
- * round lowpc and highpc to multiples of the density we're using
- * so the rest of the scaling (here and in gprof) stays in ints.
- */
- lowpc = (char *)
- ROUNDDOWN((unsigned)lowpc, HISTFRACTION*sizeof(HISTCOUNTER));
- s_lowpc = lowpc;
- highpc = (char *)
- ROUNDUP((unsigned)highpc, HISTFRACTION*sizeof(HISTCOUNTER));
- s_highpc = highpc;
- s_textsize = highpc - lowpc;
- monsize = (s_textsize / HISTFRACTION) + sizeof(struct phdr);
- buffer = (char *) sbrk (monsize);
- if (buffer == (char *) -1)
- {
- write (2, MSG , sizeof(MSG));
- return;
- }
- bzero (buffer, monsize);
- froms = (unsigned short *) sbrk (s_textsize / HASHFRACTION);
- if (froms == (unsigned short *) -1)
- {
- write(2, MSG, sizeof(MSG));
- froms = 0;
- return;
- }
- bzero (froms, s_textsize / HASHFRACTION);
- tolimit = s_textsize * ARCDENSITY / 100;
- if (tolimit < MINARCS)
- {
- tolimit = MINARCS;
- }
- else
- {
- if (tolimit > 65534)
- {
- tolimit = 65534;
- }
- }
- tos = (struct tostruct *) sbrk( tolimit * sizeof( struct tostruct ) );
- if (tos == (struct tostruct *) -1)
- {
- write (2, MSG, sizeof(MSG));
- froms = 0;
- tos = 0;
- return;
- }
- bzero (tos, tolimit * sizeof( struct tostruct ) );
- tos[0].link = 0;
- sbuf = buffer;
- ssiz = monsize;
- ( (struct phdr *) buffer ) -> lpc = lowpc;
- ( (struct phdr *) buffer ) -> hpc = highpc;
- ( (struct phdr *) buffer ) -> ncnt = ssiz;
- monsize -= sizeof(struct phdr);
- if ( monsize <= 0 )
- return;
- o = highpc - lowpc;
- if (monsize < o)
- {
- s_scale = ( (float) monsize / o ) * SCALE_1_TO_1;
- }
- else
- s_scale = SCALE_1_TO_1;
- moncontrol (1);
-}
-
-void
-_mcleanup()
-{
- int fd;
- int fromindex;
- int endfrom;
- char *frompc;
- int toindex;
- struct rawarc rawarc;
-
- moncontrol (0);
- profil_write (1, sbuf, ssiz);
-
- endfrom = s_textsize / (HASHFRACTION * sizeof(*froms));
- for ( fromindex = 0 ; fromindex < endfrom ; fromindex++ )
- {
- if ( froms[fromindex] == 0 )
- {
- continue;
- }
- frompc = s_lowpc + (fromindex * HASHFRACTION * sizeof(*froms));
- for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link)
- {
- rawarc.raw_frompc = (unsigned long) frompc;
- rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc;
- rawarc.raw_count = tos[toindex].count;
- profil_write (2, &rawarc, sizeof (rawarc));
- }
- }
- profil_write (3, 0, 0);
-}
-
-static char already_setup = 0;
-
-_mcount()
-{
- register char *selfpc;
- register unsigned short *frompcindex;
- register struct tostruct *top;
- register struct tostruct *prevtop;
- register long toindex;
-
- /*
- * find the return address for mcount,
- * and the return address for mcount's caller.
- */
-
- /* selfpc = pc pushed by mcount call.
- This identifies the function that was just entered. */
- selfpc = (void *) __builtin_return_address (0);
- /* frompcindex = pc in preceding frame.
- This identifies the caller of the function just entered. */
- frompcindex = (void *) __builtin_return_address (1);
-
- if (! already_setup)
- {
- extern _etext();
- extern _ftext();
- already_setup = 1;
- monstartup(_ftext, _etext);
- atexit(_mcleanup);
- }
- /*
- * check that we are profiling
- * and that we aren't recursively invoked.
- */
- if (profiling)
- {
- goto out;
- }
- profiling++;
- /*
- * check that frompcindex is a reasonable pc value.
- * for example: signal catchers get called from the stack,
- * not from text space. too bad.
- */
- frompcindex = (unsigned short *)((long)frompcindex - (long)s_lowpc);
- if ((unsigned long)frompcindex > s_textsize)
- {
- goto done;
- }
- frompcindex =
- &froms[((long)frompcindex) / (HASHFRACTION * sizeof(*froms))];
- toindex = *frompcindex;
- if (toindex == 0)
- {
- /*
- * first time traversing this arc
- */
- toindex = ++tos[0].link;
- if (toindex >= tolimit)
- {
- goto overflow;
- }
- *frompcindex = toindex;
- top = &tos[toindex];
- top->selfpc = selfpc;
- top->count = 1;
- top->link = 0;
- goto done;
- }
- top = &tos[toindex];
- if (top->selfpc == selfpc)
- {
- /*
- * arc at front of chain; usual case.
- */
- top->count++;
- goto done;
- }
- /*
- * have to go looking down chain for it.
- * top points to what we are looking at,
- * prevtop points to previous top.
- * we know it is not at the head of the chain.
- */
- for (; /* goto done */; )
- {
- if (top->link == 0)
- {
- /*
- * top is end of the chain and none of the chain
- * had top->selfpc == selfpc.
- * so we allocate a new tostruct
- * and link it to the head of the chain.
- */
- toindex = ++tos[0].link;
- if (toindex >= tolimit)
- {
- goto overflow;
- }
- top = &tos[toindex];
- top->selfpc = selfpc;
- top->count = 1;
- top->link = *frompcindex;
- *frompcindex = toindex;
- goto done;
- }
- /*
- * otherwise, check the next arc on the chain.
- */
- prevtop = top;
- top = &tos[top->link];
- if (top->selfpc == selfpc)
- {
- /*
- * there it is.
- * increment its count
- * move it to the head of the chain.
- */
- top->count++;
- toindex = prevtop->link;
- prevtop->link = top->link;
- top->link = *frompcindex;
- *frompcindex = toindex;
- goto done;
- }
- }
-done:
- profiling--;
- /* and fall through */
-out:
- return; /* normal return restores saved registers */
-
-overflow:
- profiling++; /* halt further profiling */
-# define TOLIMIT "mcount: tos overflow\n"
- write (2, TOLIMIT, sizeof(TOLIMIT));
- goto out;
-}
-
-/*
- * Control profiling
- * profiling is what mcount checks to see if
- * all the data structures are ready.
- */
-moncontrol(mode)
- int mode;
-{
- if (mode)
- {
- /* start */
- profil((unsigned short *)(sbuf + sizeof(struct phdr)),
- ssiz - sizeof(struct phdr),
- (int)s_lowpc, s_scale);
-
- profiling = 0;
- }
- else
- {
- /* stop */
- profil((unsigned short *)0, 0, 0, 0);
- profiling = 3;
- }
-}
diff --git a/libgloss/i386/cygmon-gmon.h b/libgloss/i386/cygmon-gmon.h
deleted file mode 100644
index f35ae33..0000000
--- a/libgloss/i386/cygmon-gmon.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef GMON_CYGMON_H
-#define GMON_CYGMON_H
-
-struct phdr
-{
- char *lpc;
- char *hpc;
- int ncnt;
-};
-
-
-#define HISTFRACTION 2
-#define HISTCOUNTER unsigned short
-#define HASHFRACTION 1
-#define ARCDENSITY 2
-#define MINARCS 50
-
-struct tostruct
-{
- char *selfpc;
- long count;
- unsigned short link;
-};
-
-struct rawarc
-{
- unsigned long raw_frompc;
- unsigned long raw_selfpc;
- long raw_count;
-};
-
-#define ROUNDDOWN(x,y) (((x)/(y))*(y))
-#define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y))
-
-#endif
diff --git a/libgloss/i386/cygmon-salib.c b/libgloss/i386/cygmon-salib.c
deleted file mode 100644
index b4a4d34..0000000
--- a/libgloss/i386/cygmon-salib.c
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * Standard x86 syscalls for user programs running under Cygmon
- *
- * Copyright (c) 1998, 2000 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <fcntl.h>
-#include <stdlib.h>
-#include "cygmon-syscall.h"
-#include <sys/time.h>
-
-extern int errno;
-
-_syscall3(int,write,int,i,char *,c,int,len);
-#if 0
-_syscall3(int,read,int,i,char *,c,int,len);
-#else
-int
-read (int des, char *dest, int len)
-{
- return -1;
-}
-#endif
-
-_syscall2(int,kill,int,pid,int,signal);
-
-_syscall2(void,__install_signal_handler,int,arg,void *,handler);
-_syscall1(char **,__get_program_arguments,int *,argc);
-
-_syscall1(void,__sys_exit,int,exitcode);
-_syscall1(void,putTtyChar,int,character);
-_syscall1(time_t,time,time_t *,ptr);
-_syscall2(int, gettimeofday, struct timeval *,time, void *,z);
-_syscall3(int, __open, const char *, filename, int, mode, int, filemode);
-_syscall4(void, profil, unsigned short *, buff, unsigned int, bufsiz,
- unsigned int, offset, unsigned int, scale);
-_syscall1(int, close, int, fd);
-
-/* Bleah. */
-int
-open (const char *filename, int mode, ...)
-{
-#if 0
- return __open (filename, mode, 0644);
-#else
- return -1;
-#endif
-}
-
-/* Ultra-super cheezy. */
-int
-isatty (int i)
-{
- return i<3;
-}
-
-int unlink (const char *p)
-{
- return -1;
-}
-
-
-char *
-sbrk (int amt)
-{
- extern char _end;
- static char *ptr = 0;
- char *res;
- if (ptr == 0)
- ptr = &_end;
- if (amt == 0)
- return (char *)ptr;
-
- if (((long)ptr) % 8)
- ptr = ptr + (8 - (((long)(ptr)) % 8));
- res = ptr;
- ptr += amt;
- return (char *)res;
-}
-
-void
-_exit(int i)
-{
- while(1) {
- __sys_exit (i);
- asm(" int $3");
- }
-}
-
-int
-fstat(int des, struct stat *buf)
-{
- return -1;
-}
-
-int
-lseek(int des,unsigned long offset, int whence)
-{
- return -1;
-}
-
-int
-getpid ()
-{
- return -1;
-}
-
-/* Simple replacement for the clock() syscall. */
-clock_t
-clock ()
-{
- struct timeval t;
-
- gettimeofday (&t, 0);
- return t.tv_sec * 1000 + (t.tv_usec / 1000);
-}
-
-#if ! defined(COFF) && ! defined(AOUT)
-typedef void (*ctp)();
-void
-__do_global_ctors ()
-{
- extern int __CTOR_LIST__;
- int *c = &__CTOR_LIST__;
- c++;
- while (*c)
- {
- ctp d = (ctp)*c;
- (d)();
- c++;
- }
-}
-
-void
-__do_global_dtors ()
-{
- extern int __DTOR_LIST__;
- int *c = &__DTOR_LIST__;
- int *cp = c;
- c++;
- while (*c)
- {
- c++;
- }
- c--;
- while (c > cp)
- {
- ctp d = (ctp)*c;
- (*d)();
- c--;
- }
-}
-#endif
-
-void
-profil_write (int type, char *buffer, int len)
-{
- static int des = -1;
-
- if (des < 0)
- {
- des = open ("gmon.out", O_WRONLY | O_CREAT | O_TRUNC, 0644);
- }
- if (len == 0)
- {
- close (des);
- }
- else
- {
- write (des, buffer, len);
- }
-}
diff --git a/libgloss/i386/cygmon-syscall.h b/libgloss/i386/cygmon-syscall.h
deleted file mode 100644
index 3b058d9..0000000
--- a/libgloss/i386/cygmon-syscall.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Standard x86 syscalls for user programs running under Cygmon
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef CYGMON_SYSCALL_H
-#define CYGMON_SYSCALL_H
-
-#define __MAX_ERRNO 4096
-
-#define _syscall0(type,name) \
-type name(void) \
-{ \
-long __res; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res) \
- : "0" (SYS_##name)); \
- return (type) __res; \
-}
-
-#define _syscall1(type,name,atype,a) \
-type name(atype a) \
-{ \
-long __res, dummy; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res), "=&b" (dummy) \
- : "0" (SYS_##name),"1" ((long)(a))); \
- return (type) __res; \
-}
-
-#define _syscall2(type,name,atype,a,btype,b) \
-type name(atype a,btype b) \
-{ \
-long __res, dummy; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res), "=&b" (dummy) \
- : "0" (SYS_##name),"1" ((long)(a)),"c" ((long)(b))); \
- return (type) __res; \
-}
-
-#define _syscall3(type,name,atype,a,btype,b,ctype,c) \
-type name(atype a,btype b,ctype c) \
-{ \
-long __res, dummy; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res), "=&b" (dummy) \
- : "0" (SYS_##name),"1" ((long)(a)),"c" ((long)(b)),"d" ((long)(c))); \
- return (type) __res; \
-}
-
-#define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
-type name (atype a, btype b, ctype c, dtype d) \
-{ \
-long __res; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res) \
- : "0" (SYS_##name),"b" ((long)(a)),"c" ((long)(b)), \
- "d" ((long)(c)),"S" ((long)(d))); \
- return (type) __res; \
-}
-
-#define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \
-type name (atype a,btype b,ctype c,dtype d,etype e) \
-{ \
-long __res; \
-__asm__ __volatile__ ("int $0x80" \
- : "=a" (__res) \
- : "0" (SYS_##name),"b" ((long)(a)),"c" ((long)(b)), \
- "d" ((long)(c)),"S" ((long)(d)),"D" ((long)(e))); \
- return (type) __res; \
-}
-
-#define SYS_putTtyChar 2
-#define SYS___sys_exit 1
-#define SYS_read 3
-#define SYS_write 4
-#define SYS___open 5
-#define SYS_close 6
-#define SYS_kill 37
-#define SYS_time 13
-#define SYS_gettimeofday 156
-#define SYS___install_signal_handler 48
-#define SYS_profil 98
-#define SYS___get_program_arguments 184
-#endif /* SYSCALL_H */
diff --git a/libgloss/i386/cygmon.ld b/libgloss/i386/cygmon.ld
deleted file mode 100644
index ae0d908..0000000
--- a/libgloss/i386/cygmon.ld
+++ /dev/null
@@ -1,101 +0,0 @@
-STARTUP(cygmon-crt0.o)
-ENTRY(__start)
-GROUP(-lcygmon -lc -lcygmon -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0x500000);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (__mem_start = 0x100000);
-PROVIDE (___mem_start = 0x100000);
-SECTIONS
-{
- . = 0x100000;
- .text : {
- _ftext = . ;
- *(.init)
- eprol = .;
- *(.text)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- *(.fini)
- . = ALIGN(4);
- __CTOR_LIST__ = .;
- CONSTRUCTORS
- LONG(-1)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG(-1)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- PROVIDE(_etext = .);
- PROVIDE(__etext = .);
- }
- . = .;
- .rdata : {
- *(.rdata)
- }
- .rodata : {
- *(.rodata)
- *(.rodata.*)
- }
- .eh_frame :
- {
- PROVIDE (__EH_FRAME_BEGIN__ = .);
- *(.eh_frame)
- PROVIDE (__EH_FRAME_END__ = .);
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.gcc_except_table)
- *(.gcc_exc)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = . + 0x8000;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- }
- . = ALIGN(4);
- PROVIDE(_edata = .);
- PROVIDE(__edata = .);
- fbss = .;
- _fbss = .;
- .sbss : {
- PROVIDE(__bss_start = .);
- *(.sbss)
- *(.scommon)
- }
- .bss : {
- *(.bss)
- *(COMMON)
- PROVIDE(__bss_end = .);
- }
- PROVIDE(_end = .);
- PROVIDE(__end = .);
-}
diff --git a/libgloss/i960/Makefile.in b/libgloss/i960/Makefile.in
deleted file mode 100644
index 0ca1597..0000000
--- a/libgloss/i960/Makefile.in
+++ /dev/null
@@ -1,143 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = putnum.o unlink.o
-CFLAGS = -g
-SCRIPTS =
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = sim-crt0.o
-SIM_OBJS = sim-print.o sim-inbyte.o sim-sbrk.o sim-abort.o sim-errno.o simulator.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the mon960 stuff
-MON_LDFLAGS =
-MON_BSP = libmon960.a
-MON_CRT0 = crt0.o
-MON_OBJS = mon-read.o mon-write.o mon-syscalls.o mon960.o
-MON_SCRIPTS = mon960.ld
-MON_TEST =
-MON_INSTALL = install-mon
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${MON_CRT0} ${MON_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-${MON_BSP}: ${OBJS} ${MON_OBJS}
- ${AR} ${ARFLAGS} ${MON_BSP} ${MON_OBJS} ${OBJS}
- ${RANLIB} ${MON_BSP}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${MVME_TEST} ${EVM_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-simulator.o: simulator.S
-sim-crt0.o: sim-crt0.S
-mvme-crt0.o: mvme-crt0.S
-mvme-exit.o: mvme-exit.S
-mvme-inbyte.o: mvme-inbyte.S
-mvme-outbyte.o: mvme-outbyte.S
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${MON_INSTALL}
-
-install-mon:
- set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-sim:
- set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/i960/aclocal.m4 b/libgloss/i960/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/i960/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/i960/asm.h b/libgloss/i960/asm.h
deleted file mode 100644
index 9595697..0000000
--- a/libgloss/i960/asm.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef ASM_H
-#define ASM_H
-
-#ifdef __STDC__
-# define _C_LABEL(x) _ ## x
-#else
-# define _C_LABEL(x) _/**/x
-#endif
-#define _ASM_LABEL(x) x
-
-#define _ENTRY(name) \
- .text; .align 4; .globl name; name:
-
-#define ENTRY(name) \
- _ENTRY(_C_LABEL(name))
-
-#endif
diff --git a/libgloss/i960/configure b/libgloss/i960/configure
deleted file mode 100755
index ec45e25..0000000
--- a/libgloss/i960/configure
+++ /dev/null
@@ -1,3777 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.c"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/i960/configure.in b/libgloss/i960/configure.in
deleted file mode 100644
index b60478a..0000000
--- a/libgloss/i960/configure.in
+++ /dev/null
@@ -1,39 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.c)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile)
-AC_OUTPUT
diff --git a/libgloss/i960/crt0.c b/libgloss/i960/crt0.c
deleted file mode 100644
index 45d7891..0000000
--- a/libgloss/i960/crt0.c
+++ /dev/null
@@ -1,66 +0,0 @@
-extern int main(int argc, char **argv, char **envp);
-extern int brk (void *value);
-
-extern char bss_start;
-extern char end;
-
-char *__env[1] = {0};
-char **environ = __env;
-
-#define ENABLE_TRACE_MASK 1
-
-__inline static void
-enable_tracing (void)
-{
- register int mask = ENABLE_TRACE_MASK;
- __asm__ volatile ("modpc %0,%0,%0"
- :
- : "d" (mask));
-}
-
-#define STACK_ALIGN 64
-
-__inline static void
-set_stack (void* ptr)
-{
- ptr = (void *)(((int)ptr + STACK_ALIGN - 1) & ~(STACK_ALIGN - 1));
- /* SP must be 64 bytes larger than FP at start. */
- __asm__ volatile ("mov %0,sp"
- :
- : "d" (ptr+STACK_ALIGN));
- __asm__ volatile ("mov %0,fp"
- :
- : "d" (ptr));
-}
-
-__inline static void
-init_Cregs (void)
-{
- /* set register values gcc like */
- register unsigned int mask0=0x3b001000;
- register unsigned int mask1=0x00009107;
- __asm__ volatile ("mov %0,g14"
- : /* no output */
- : "I" (0)); /* gnu structure pointer */
- __asm__ volatile ("modac %1,%0,%0"
- : /* no output */
- : "d" (mask0),
- "d" (mask1)); /* fpu control kb */
-}
-
-void
-_start(void)
-{
- char *p;
-
- enable_tracing ();
- set_stack (&end);
- init_Cregs ();
- /* The stack grows upwards, so this makes the heap start after a 256K
- stack area. PlumHall known to fail with less than 73K of stack. */
- brk (&end+0x40000);
- /* clear bss */
- memset (&bss_start, 0, &end - &bss_start);
- main(0, 0, 0);
- exit(0);
-}
diff --git a/libgloss/i960/mon-read.c b/libgloss/i960/mon-read.c
deleted file mode 100644
index 92e15d2..0000000
--- a/libgloss/i960/mon-read.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <errno.h>
-
-read (fd, buf, sz)
- int fd;
- char *buf;
- int sz;
-{
- int nread;
- int r;
-
- r = _sys_read (fd, buf, sz, &nread);
- if (r != 0)
- {
- errno = r;
- return -1;
- }
- return nread;
-}
diff --git a/libgloss/i960/mon-syscalls.S b/libgloss/i960/mon-syscalls.S
deleted file mode 100644
index 489d7fb..0000000
--- a/libgloss/i960/mon-syscalls.S
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "asm.h"
-
-ENTRY(_exit)
- lda 257,g13
- calls g13
-
-ENTRY(_sys_open)
- lda 230,g13
- calls g13
- ret
-
-ENTRY(_sys_read)
- lda 231,g13
- calls g13
- ret
-
-ENTRY(_sys_write)
- lda 232,g13
- calls g13
- ret
-
-ENTRY(_sys_lseek)
- lda 233,g13
- calls g13
- ret
-
-ENTRY(_sys_close)
- lda 234,g13
- calls g13
- ret
diff --git a/libgloss/i960/mon-write.c b/libgloss/i960/mon-write.c
deleted file mode 100644
index 527037f..0000000
--- a/libgloss/i960/mon-write.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <errno.h>
-
-int
-write (int fd, const char *buf, int sz)
-{
- int nwritten;
- int r = _sys_write (fd, buf, sz, &nwritten);
- if (r != 0)
- {
- errno = r;
- return -1;
- }
- return nwritten;
-}
diff --git a/libgloss/i960/mon960.c b/libgloss/i960/mon960.c
deleted file mode 100644
index 7b1e07e..0000000
--- a/libgloss/i960/mon960.c
+++ /dev/null
@@ -1,83 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-
-static char *heap_end = 0;
-
-int
-brk (void *ptr)
-{
- heap_end = ptr;
- return 0;
-}
-
-caddr_t
-sbrk (int amt)
-{
- extern char end;
- char *prev_heap_end;
-
- if (heap_end == 0)
- heap_end = &end;
- prev_heap_end = heap_end;
- heap_end += amt;
- return ((caddr_t) prev_heap_end);
-}
-
-int
-isatty (int file)
-{
- return file<3;
-}
-
-int
-fstat (int file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int
-stat (const char *__restrict filename, struct stat *__restrict st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int
-lseek (int fd, off_t offset, int type)
-{
- return _sys_lseek (fd, offset, type);
-}
-
-int
-open (char *file, int mode, int perms)
-{
- return _sys_open (file, mode, perms);
-}
-
-int
-close (int fd)
-{
- return _sys_close (fd);
-}
-
-int
-getpid ()
-{
- return -1;
-}
-
-int
-kill (int pid, int signal)
-{
- exit (signal);
-}
-
-#if 0
-/* This conflicts with the abort defined in newlib. */
-void
-abort ()
-{
- exit (6);
-}
-#endif
diff --git a/libgloss/i960/mon960.ld b/libgloss/i960/mon960.ld
deleted file mode 100644
index 342a03b..0000000
--- a/libgloss/i960/mon960.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-GROUP(-lc -lgcc -lmon960)
-
-SECTIONS
-{
- . = 0xa0008000;
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text)
- _etext = .;
-
- ___CTOR_LIST__ = .;
- LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- ___CTOR_END__ = .;
- ___DTOR_LIST__ = .;
- LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- ___DTOR_END__ = .;
- }
- .data SIZEOF(.text) + ADDR(.text):
- {
- *(.data)
- CONSTRUCTORS
- _edata = .;
- }
- .bss SIZEOF(.data) + ADDR(.data):
- {
- _bss_start = .;
- *(.bss)
- *(COMMON)
- _end = .;
- }
-}
diff --git a/libgloss/i960/syscall.h b/libgloss/i960/syscall.h
deleted file mode 100644
index b12a8fe..0000000
--- a/libgloss/i960/syscall.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* mon960 syscall.h file. This is used only by the simulator. This matches
- the syscall numbers used by mon-syscalls.S, but is otherwise a copy of
- the libgloss/syscall.h file. */
-/* ??? This file should be used by mon-syscalls.S to avoid maintenance
- problems. */
-
-#ifndef LIBGLOSS_SYSCALL_H
-#define LIBGLOSS_SYSCALL_H
-
-/* Note: This file may be included by assembler source. */
-
-/* These should be as small as possible to allow a port to use a trap type
- instruction, which the system call # as the trap (the d10v for instance
- supports traps 0..31). An alternative would be to define one trap for doing
- system calls, and put the system call number in a register that is not used
- for the normal calling sequence (so that you don't have to shift down the
- arguments to add the system call number). Obviously, if these system call
- numbers are ever changed, all of the simulators and potentially user code
- will need to be updated. */
-
-/* There is no current need for the following: SYS_execv, SYS_creat, SYS_wait,
- etc. etc. Don't add them. */
-
-/* These are required by the ANSI C part of newlib (excluding system() of
- course). */
-#define SYS_exit 257
-#define SYS_open 230
-#define SYS_close 234
-#define SYS_read 231
-#define SYS_write 232
-#define SYS_lseek 233
-
-/* ??? The following system calls apparently aren't support by mon960. */
-#define SYS_unlink 7
-#define SYS_getpid 8
-#define SYS_kill 9
-#define SYS_fstat 10
-/*#define SYS_sbrk 11 - not currently a system call, but reserved. */
-
-/* ARGV support. */
-#define SYS_argvlen 12
-#define SYS_argv 13
-
-/* These are extras added for one reason or another. */
-#define SYS_chdir 14
-#define SYS_stat 15
-#define SYS_chmod 16
-#define SYS_utime 17
-#define SYS_time 18
-
-#endif
diff --git a/libgloss/iq2000/Makefile.in b/libgloss/iq2000/Makefile.in
deleted file mode 100644
index 21cc286..0000000
--- a/libgloss/iq2000/Makefile.in
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright (c) 2000, Cygnus Solutions, A Red Hat Company
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o
-
-# Generic object files common to all targets.
-GENOBJS = _exit.o access.o chmod.o close.o crt1.o \
- fstat.o getpid.o gettime.o isatty.o \
- kill.o lseek.o open.o read.o \
- sbrk.o stat.o time.o trap.o unlink.o utime.o write.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${GENOBJS}
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = sim
-BSP = libeval.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} test.o ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-libeval.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-
-# compile a fully linked binary. The -Wl,-T*.ld is for the linker
-# script. By using -Wl, the linker script is put on the proper place
-# in the comand line for ld, and all the symbols will get fully
-# resolved.
-
-test: $(CRT0) test.o
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS)
- @echo Done...
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- @for bsp in ${BSP}; do\
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
- @for script in ${SCRIPTS}; do\
- $(INSTALL_DATA) $(srcdir)/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-
-# these are for the BSPs
-${CRT0}: ${srcdir}/crt0.S
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/iq2000/_exit.c b/libgloss/iq2000/_exit.c
deleted file mode 100644
index 318984b..0000000
--- a/libgloss/iq2000/_exit.c
+++ /dev/null
@@ -1,35 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-static void _do_dtors()
-{
- /* The loop variable is static so that if a destructor calls exit,
- and we return here, we simply continue with the next destructor. */
- typedef void (*pfunc) ();
- extern pfunc __dtors[];
- extern pfunc __dtors_end[];
- static pfunc *p = __dtors;
-
- while (p < __dtors_end)
- (*p++) ();
-}
-
-
-void _exit (n)
-{
- extern unsigned char __eh_frame_begin[];
- extern void __deregister_frame_info (void *);
-
- /* Destructors should be done earlier because they need to be done before the
- files are closed, but here is better than nowhere (and this balances the
- constructors done in crt1.c. */
- _do_dtors();
-
- /* Deregister any eh frames. */
- __deregister_frame_info (__eh_frame_begin);
-
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/iq2000/access.c b/libgloss/iq2000/access.c
deleted file mode 100644
index 980682e..0000000
--- a/libgloss/iq2000/access.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
-
diff --git a/libgloss/iq2000/aclocal.m4 b/libgloss/iq2000/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/iq2000/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/iq2000/chmod.c b/libgloss/iq2000/chmod.c
deleted file mode 100644
index 8200506..0000000
--- a/libgloss/iq2000/chmod.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-chmod (const char *path, mode_t mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/iq2000/chown.c b/libgloss/iq2000/chown.c
deleted file mode 100644
index 6630d3b..0000000
--- a/libgloss/iq2000/chown.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-
-int
-chown (const char *path, short owner, short group)
-{
- return TRAP0 (SYS_chown, path, owner, group);
-}
diff --git a/libgloss/iq2000/close.c b/libgloss/iq2000/close.c
deleted file mode 100644
index 8474b38..0000000
--- a/libgloss/iq2000/close.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/iq2000/configure b/libgloss/iq2000/configure
deleted file mode 100755
index 66a533b..0000000
--- a/libgloss/iq2000/configure
+++ /dev/null
@@ -1,3755 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-LD_TYPE
-host_makefile_frag_path
-target_makefile_frag_path
-part_specific_obj
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-if test "${with_multisubdir}" = "m32"; then
- LD_TYPE="m32"
-else
- LD_TYPE="m16"
-fi
-
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-LD_TYPE!$LD_TYPE$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-part_specific_obj!$part_specific_obj$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-
-
diff --git a/libgloss/iq2000/configure.in b/libgloss/iq2000/configure.in
deleted file mode 100644
index 9cbd7e2..0000000
--- a/libgloss/iq2000/configure.in
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright (c) 2000, Cygnus Solutions, A Red Hat Company
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-if test "${with_multisubdir}" = "m32"; then
- LD_TYPE="m32"
-else
- LD_TYPE="m16"
-fi
-AC_SUBST(LD_TYPE)
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(part_specific_obj)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/iq2000/creat.c b/libgloss/iq2000/creat.c
deleted file mode 100644
index 1003a2a..0000000
--- a/libgloss/iq2000/creat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-creat (const char *path,
- int mode)
-{
- return TRAP0 (SYS_creat, path, mode, 0);
-}
diff --git a/libgloss/iq2000/crt0.S b/libgloss/iq2000/crt0.S
deleted file mode 100644
index eff6b27..0000000
--- a/libgloss/iq2000/crt0.S
+++ /dev/null
@@ -1,62 +0,0 @@
-##==============================================================================
-##
-## crt0.S
-##
-## IQ2000 startup code
-##
-##==============================================================================
-##
-## Copyright (c) 2000, Cygnus Solutions, A Red Hat Company
-##
-## The authors hereby grant permission to use, copy, modify, distribute,
-## and license this software and its documentation for any purpose, provided
-## that existing copyright notices are retained in all copies and that this
-## notice is included verbatim in any distributions. No written agreement,
-## license, or royalty fee is required for any of the authorized uses.
-## Modifications to this software may be copyrighted by their authors
-## and need not follow the licensing terms described here, provided that
-## the new terms are clearly indicated on the first page of each file where
-## they apply.
-##
-
-##------------------------------------------------------------------------------
-
- .file "crt0.S"
-
-##------------------------------------------------------------------------------
-## Startup code
- .section .text
- .global _start
-_start:
- lui %29,%hi(__stack)
- ori %29,%29,%lo(__stack)
-
- lui %24,%hi(_edata) # get start of bss
- ori %24,%24,%lo(_edata)
-
- lui %25,%hi(_end) # get end of bss
- ori %25,%25,%lo(_end)
-
- beq %24,%25,.L0 # check if end and start are the same
- # do nothing if no bss
-
-.L1:
- sb %0,0(%24) # clear a byte and bump pointer
- addi %24,%24,1
- bne %24,%25,.L1
- nop
-
-.L0:
- jal _main # call _main to run ctors/dtors
- nop
- xor %4,%4,%4
- jal main # call main program
- xor %5,%5,%5
- jal exit # all done, no need to return or
- or %4,%0,%2 # exit with main's return value
-
- .section .data
- .global __dso_handle
- .weak __dso_handle
-__dso_handle:
- .long 0
diff --git a/libgloss/iq2000/crt1.c b/libgloss/iq2000/crt1.c
deleted file mode 100644
index fb333a8..0000000
--- a/libgloss/iq2000/crt1.c
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-/* This object reserves enough space for an EH frame initialization
-object. */
-
-struct object {
- void *reserve[7];
-};
-
-
-void _main ()
-{
- static int initialized;
- static struct object object;
- if (! initialized)
- {
- typedef void (*pfunc) ();
- extern pfunc __ctors[];
- extern pfunc __ctors_end[];
- extern unsigned char __eh_frame_begin[];
- extern void __register_frame_info (void *, struct object *);
-
- pfunc *p;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
- __register_frame_info (__eh_frame_begin, &object);
- }
-}
diff --git a/libgloss/iq2000/execv.c b/libgloss/iq2000/execv.c
deleted file mode 100644
index 16f3ca5..0000000
--- a/libgloss/iq2000/execv.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-execv (const char *path, char *const argv[])
-{
- return TRAP0 (SYS_execv, path, argv, 0);
-}
diff --git a/libgloss/iq2000/execve.c b/libgloss/iq2000/execve.c
deleted file mode 100644
index bd6c7a2..0000000
--- a/libgloss/iq2000/execve.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_execve (const char *path, char *const argv[], char *const envp[])
-{
- return TRAP0 (SYS_execve, path, argv, envp);
-}
diff --git a/libgloss/iq2000/fork.c b/libgloss/iq2000/fork.c
deleted file mode 100644
index 53df5a9..0000000
--- a/libgloss/iq2000/fork.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fork ()
-{
- return TRAP0 (SYS_fork, 0, 0, 0);
-}
diff --git a/libgloss/iq2000/fstat.c b/libgloss/iq2000/fstat.c
deleted file mode 100644
index c3b2fa0..0000000
--- a/libgloss/iq2000/fstat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fstat (int file,
- struct stat *st)
-{
- st->st_mode = S_IFCHR;
- st->st_blksize = 4096;
- return 0;
-}
diff --git a/libgloss/iq2000/getpid.c b/libgloss/iq2000/getpid.c
deleted file mode 100644
index 20ab186..0000000
--- a/libgloss/iq2000/getpid.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_getpid (n)
-{
- return 1;
-}
diff --git a/libgloss/iq2000/gettime.c b/libgloss/iq2000/gettime.c
deleted file mode 100644
index 1a04267..0000000
--- a/libgloss/iq2000/gettime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/time.h"
-
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}
diff --git a/libgloss/iq2000/isatty.c b/libgloss/iq2000/isatty.c
deleted file mode 100644
index 7e63a8c..0000000
--- a/libgloss/iq2000/isatty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/iq2000/kill.c b/libgloss/iq2000/kill.c
deleted file mode 100644
index 40afa6a..0000000
--- a/libgloss/iq2000/kill.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_kill (n, m)
-{
- return TRAP0 (SYS_exit, 0xdead, 0, 0);
-}
-
diff --git a/libgloss/iq2000/lseek.c b/libgloss/iq2000/lseek.c
deleted file mode 100644
index 339baea..0000000
--- a/libgloss/iq2000/lseek.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/unistd.h>
-#include "trap.h"
-
-
-off_t
-_lseek (int file,
- off_t ptr,
- int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/iq2000/open.c b/libgloss/iq2000/open.c
deleted file mode 100644
index 770defe..0000000
--- a/libgloss/iq2000/open.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_open (const char *path,
- int flags)
-{
- return TRAP0 (SYS_open, path, flags, 0);
-}
diff --git a/libgloss/iq2000/pipe.c b/libgloss/iq2000/pipe.c
deleted file mode 100644
index dfade5c..0000000
--- a/libgloss/iq2000/pipe.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-pipe (int fd)
-{
- return TRAP0 (SYS_pipe, fd, 0, 0);
-}
diff --git a/libgloss/iq2000/read.c b/libgloss/iq2000/read.c
deleted file mode 100644
index 31d24cc..0000000
--- a/libgloss/iq2000/read.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_read (int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/iq2000/sbrk.c b/libgloss/iq2000/sbrk.c
deleted file mode 100644
index 6dfd93b..0000000
--- a/libgloss/iq2000/sbrk.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <_ansi.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-caddr_t
-_sbrk (size_t incr)
-{
- extern char __stack; /* Defined by the linker */
- extern char _end; /* Defined by the linker */
- static char *heap_end;
- char *prev_heap_end;
- char *sp = (char *)&sp;
-
- if (heap_end == 0)
- {
- heap_end = &_end;
- }
- prev_heap_end = heap_end;
- heap_end += incr;
- if (heap_end > sp)
- {
- _write (1, "Heap and stack collision\n", 25);
- errno = ENOMEM;
- return (caddr_t)-1;
- }
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/iq2000/sim.ld b/libgloss/iq2000/sim.ld
deleted file mode 100644
index 50da49e..0000000
--- a/libgloss/iq2000/sim.ld
+++ /dev/null
@@ -1,279 +0,0 @@
-/* Special linker script for running C executables on simulator */
-OUTPUT_FORMAT("elf32-iq2000", "elf32-iq2000",
- "elf32-iq2000")
-OUTPUT_ARCH(iq2000)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- . = 0x80000000;
- .interp : { *(.interp) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t.*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t.*)
- }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r.*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r.*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d.*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d.*)
- }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s.*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s.*)
- }
- .rel.sbss :
- {
- *(.rel.sbss)
- *(.rel.sbss.*)
- *(.rel.gnu.linkonce.sb.*)
- }
- .rela.sbss :
- {
- *(.rela.sbss)
- *(.rela.sbss.*)
- *(.rela.gnu.linkonce.sb.*)
- }
- .rel.sdata2 :
- {
- *(.rel.sdata2)
- *(.rel.sdata2.*)
- *(.rel.gnu.linkonce.s2.*)
- }
- .rela.sdata2 :
- {
- *(.rela.sdata2)
- *(.rela.sdata2.*)
- *(.rela.gnu.linkonce.s2.*)
- }
- .rel.sbss2 :
- {
- *(.rel.sbss2)
- *(.rel.sbss2.*)
- *(.rel.gnu.linkonce.sb2.*)
- }
- .rela.sbss2 :
- {
- *(.rela.sbss2)
- *(.rela.sbss2.*)
- *(.rela.gnu.linkonce.sb2.*)
- }
- .rel.bss :
- {
- *(.rel.bss)
- *(.rel.bss.*)
- *(.rel.gnu.linkonce.b.*)
- }
- .rela.bss :
- {
- *(.rela.bss)
- *(.rela.bss.*)
- *(.rela.gnu.linkonce.b.*)
- }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init :
- {
- KEEP (*(.init))
- } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } =0
- .fini :
- {
- KEEP (*(.fini))
- } =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = 0x1000;
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame :
- {
- PROVIDE (__eh_frame_begin = .);
- *(.eh_frame)
- LONG (0);
- PROVIDE (__eh_frame_end = .);
- }
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) }
- .rodata1 : { *(.rodata1) }
- .sdata2 : { *(.sdata2) *(.sdata2.*) *(.gnu.linkonce.s2.*) }
- .sbss2 : { *(.sbss2) *(.sbss2.*) *(.gnu.linkonce.sb2.*) }
- .dynamic : { *(.dynamic) }
- .ctors :
- {
- __ctors = .;
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- __ctors_end = .;
- }
- .dtors :
- {
- __dtors = .;
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- __dtors_end = .;
- }
- .jcr : { KEEP (*(.jcr)) }
- .got : { *(.got.plt) *(.got) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- PROVIDE (__stack = 0x80000);
- /* These must appear regardless of . */
-}
diff --git a/libgloss/iq2000/stat.c b/libgloss/iq2000/stat.c
deleted file mode 100644
index 4e1fddf..0000000
--- a/libgloss/iq2000/stat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_stat (const char *path, struct stat *st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/iq2000/test.c b/libgloss/iq2000/test.c
deleted file mode 100644
index 9ea873a..0000000
--- a/libgloss/iq2000/test.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <stdio.h>
-
-static void
-send_msg1 (void)
-{
- static char msg[] = "Hello World\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-send_msg2 (void)
-{
- static char msg[] = "Goodnight Irene\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-delay (void)
-{
- int i;
-
- for (i = 0; i < 1000000; i++)
- ;
-}
-
-int
-main(int argc, char *argv[])
-{
- int i, j;
- for (i = 0; i < 10; i++)
- {
- send_msg1 ();
- delay ();
- send_msg2 ();
- }
- return 0;
-}
-
-
diff --git a/libgloss/iq2000/time.c b/libgloss/iq2000/time.c
deleted file mode 100644
index 2df8d48..0000000
--- a/libgloss/iq2000/time.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-time_t
-time (time_t *tloc)
-{
- return TRAP0 (SYS_time, tloc, 0, 0);
-}
diff --git a/libgloss/iq2000/times.c b/libgloss/iq2000/times.c
deleted file mode 100644
index b804be4..0000000
--- a/libgloss/iq2000/times.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/times.h"
-
-
-clock_t
-times (struct tms *buffer)
-{
- return TRAP0 (SYS_times, buffer, 0, 0);
-}
diff --git a/libgloss/iq2000/trap.c b/libgloss/iq2000/trap.c
deleted file mode 100644
index 217cef2..0000000
--- a/libgloss/iq2000/trap.c
+++ /dev/null
@@ -1,13 +0,0 @@
-// Perform a system call.
-// Unused parameters should be set to 0.
-int __trap0(unsigned long func, unsigned long p1, unsigned long p2, unsigned long p3)
-{
- int ret = 0;
- asm volatile ("nop\n\tor %%4,%%0,%0" : : "r"(func));
- asm volatile ("nop\n\tor %%5,%%0,%0" : : "r"(p1));
- asm volatile ("nop\n\tor %%6,%%0,%0" : : "r"(p2));
- asm volatile ("nop\n\tor %%7,%%0,%0" : : "r"(p3));
- asm volatile ("nop\n\tor %%11,%%0,%0" : : "r"(func));
- asm volatile ("syscall\n\tnop\n\tor %0,%%0,%%2" : "=r"(ret));
- return ret;
-}
diff --git a/libgloss/iq2000/trap.h b/libgloss/iq2000/trap.h
deleted file mode 100644
index 27636c0..0000000
--- a/libgloss/iq2000/trap.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include "syscall.h"
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
diff --git a/libgloss/iq2000/unlink.c b/libgloss/iq2000/unlink.c
deleted file mode 100644
index 84fb711..0000000
--- a/libgloss/iq2000/unlink.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_unlink ()
-{
- return -1;
-}
diff --git a/libgloss/iq2000/utime.c b/libgloss/iq2000/utime.c
deleted file mode 100644
index 3fce7e3..0000000
--- a/libgloss/iq2000/utime.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/iq2000/wait.c b/libgloss/iq2000/wait.c
deleted file mode 100644
index c8d8b4c..0000000
--- a/libgloss/iq2000/wait.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_wait (statusp)
- int *statusp;
-{
- return TRAP0 (SYS_wait, 0, 0, 0);
-}
diff --git a/libgloss/iq2000/write.c b/libgloss/iq2000/write.c
deleted file mode 100644
index 3ecf4a8..0000000
--- a/libgloss/iq2000/write.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_write ( int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/isatty.c b/libgloss/isatty.c
deleted file mode 100644
index 2d66cd6..0000000
--- a/libgloss/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/kill.c b/libgloss/kill.c
deleted file mode 100644
index afc1257..0000000
--- a/libgloss/kill.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in
deleted file mode 100644
index 22828a4..0000000
--- a/libgloss/libnosys/Makefile.in
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright (c) 1998 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as-new ] ; \
- then echo ${objroot}/../gas/as-new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld-new ] ; \
- then echo ${objroot}/../ld/ld-new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-# object files needed
-OBJS = chown.o close.o environ.o errno.o execve.o fork.o fstat.o \
- getpid.o gettod.o isatty.o kill.o link.o lseek.o open.o \
- read.o readlink.o sbrk.o stat.o symlink.o times.o unlink.o \
- wait.o write.o _exit.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${OBJS}
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-OUTPUTS = libnosys.a
-SPECS = ${srcdir}/nosys.specs
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: ${OUTPUTS}
-
-#
-# here's where we build the library for each target
-#
-
-libnosys.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-doc:
-
-clean mostlyclean:
- rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status $(OUTPUTS)
-
-.PHONY: install info install-info clean-info
-install:
- @for outputs in ${OUTPUTS} ${SPECS}; do\
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
-
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/libnosys/_exit.c b/libgloss/libnosys/_exit.c
deleted file mode 100644
index 3fdf7f0..0000000
--- a/libgloss/libnosys/_exit.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Stub version of _exit. */
-
-#include <limits.h>
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-
-_VOID
-_DEFUN (_exit, (rc),
- int rc)
-{
- /* Default stub just causes a divide by 0 exception. */
- int x = rc / INT_MAX;
- x = 4 / x;
-
- /* Convince GCC that this function never returns. */
- for (;;)
- ;
-}
diff --git a/libgloss/libnosys/acconfig.h b/libgloss/libnosys/acconfig.h
deleted file mode 100644
index c6df5d5..0000000
--- a/libgloss/libnosys/acconfig.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Name of package. */
-#undef PACKAGE
-
-/* Version of package. */
-#undef VERSION
-
-/* Missing syscall names */
-#undef MISSING_SYSCALL_NAMES
-
-/* Using ELF format */
-#undef HAVE_ELF
-
-/* Using GNU LD */
-#undef HAVE_GNU_LD
-
-/* .previous directive allowed */
-#undef HAVE_ASM_PREVIOUS_DIRECTIVE
-
-/* .pushsection/.popsection directives allowed */
-#undef HAVE_ASM_POPSECTION_DIRECTIVE
-
-/* support for section attributes */
-#undef HAVE_SECTION_ATTRIBUTES
-
-/* symbol prefix */
-#undef __SYMBOL_PREFIX
diff --git a/libgloss/libnosys/aclocal.m4 b/libgloss/libnosys/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/libnosys/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/libnosys/chown.c b/libgloss/libnosys/chown.c
deleted file mode 100644
index 67f98d5..0000000
--- a/libgloss/libnosys/chown.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of chown.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#include <sys/types.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_chown, (path, owner, group),
- const char *path _AND
- uid_t owner _AND
- gid_t group)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_chown)
diff --git a/libgloss/libnosys/close.c b/libgloss/libnosys/close.c
deleted file mode 100644
index b759b86..0000000
--- a/libgloss/libnosys/close.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of close.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_close, (fildes),
- int fildes)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning (_close)
diff --git a/libgloss/libnosys/config.h.in b/libgloss/libnosys/config.h.in
deleted file mode 100644
index f7fe3fef..0000000
--- a/libgloss/libnosys/config.h.in
+++ /dev/null
@@ -1,22 +0,0 @@
-/* config.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Missing syscall names */
-#undef MISSING_SYSCALL_NAMES
-
-/* Using ELF format */
-#undef HAVE_ELF
-
-/* Using GNU LD */
-#undef HAVE_GNU_LD
-
-/* .previous directive allowed */
-#undef HAVE_ASM_PREVIOUS_DIRECTIVE
-
-/* .pushsection/.popsection directives allowed */
-#undef HAVE_ASM_POPSECTION_DIRECTIVE
-
-/* support for section attributes */
-#undef HAVE_SECTION_ATTRIBUTES
-
-/* symbol prefix */
-#undef __SYMBOL_PREFIX
diff --git a/libgloss/libnosys/configure b/libgloss/libnosys/configure
deleted file mode 100755
index fbe7db7..0000000
--- a/libgloss/libnosys/configure
+++ /dev/null
@@ -1,4148 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="close.c"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
-
-case "${target}" in
- *-*-cygwin*)
- ;;
- a29k-amd-udi)
- ;;
- arc-*-*)
- ;;
- arm*-*-*)
- ;;
- bfin-*-*)
- ;;
- cris-*-* | crisv32-*-*)
- ;;
- d10v*)
- ;;
- h8300*-*-*)
- ;;
- h8500-*-*)
- ;;
- i345686-*-sco*)
- ;;
- lm32-*-*)
- ;;
- m32r-*-*)
- ;;
- mn10?00-*-*)
- ;;
- powerpcle-*-pe)
- ;;
- sh*-*-*)
- ;;
- sparc-sun-sunos*)
- ;;
- sparc64-*-*)
- ;;
- v850*-*-*)
- ;;
- w65-*-*)
- ;;
- xstormy16-*-*)
- ;;
- z8k-*-*)
- ;;
- *)
- $as_echo "#define MISSING_SYSCALL_NAMES 1" >>confdefs.h
-
- ;;
-esac
-
-case "${target}" in
- *-*-elf)
- $as_echo "#define HAVE_ELF 1" >>confdefs.h
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
-$as_echo_n "checking for .previous assembler directive... " >&6; }
-if ${libc_cv_asm_previous_directive+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- libc_cv_asm_previous_directive=no
- cat > conftest.s <<EOF
-.section foo_section
-.previous
-EOF
- if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_asm_previous_directive=yes
- fi
- rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
-$as_echo "$libc_cv_asm_previous_directive" >&6; }
-
- if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
- $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
-
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
-$as_echo_n "checking for .popsection assembler directive... " >&6; }
-if ${libc_cv_asm_popsection_directive+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- libc_cv_asm_popsection_directive=no
- cat > conftest.s <<EOF
-.pushsection foo_section
-.popsection
-EOF
- if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_asm_popsection_directive=yes
- fi
- rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
-$as_echo "$libc_cv_asm_popsection_directive" >&6; }
-
- if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
- $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
-
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for section attributes" >&5
-$as_echo_n "checking for section attributes... " >&6; }
-if ${libc_cv_section_attributes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- libc_cv_section_attributes=no
- cat > conftest.c <<EOF
-int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
-int main() {}
-EOF
- if { ac_try='${CC-cc} -c $CFLAGS conftest.c 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_section_attributes=yes
- fi
- rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_section_attributes" >&5
-$as_echo "$libc_cv_section_attributes" >&6; }
- if test "x${libc_cv_section_attributes}" = "xyes"; then
- $as_echo "#define HAVE_SECTION_ATTRIBUTES 1" >>confdefs.h
-
- fi
- ;;
-esac
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
-$as_echo_n "checking for symbol prefix... " >&6; }
-if ${libc_cv_symbol_prefix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<\EOF
-foo () { }
-EOF
-libc_cv_symbol_prefix=none
-if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; };
-then
- libc_cv_symbol_prefix='$'
-else
- if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; };
- then
- libc_cv_symbol_prefix=_
- fi
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symbol_prefix" >&5
-$as_echo "$libc_cv_symbol_prefix" >&6; }
-if test $libc_cv_symbol_prefix != none; then
- cat >>confdefs.h <<_ACEOF
-#define __SYMBOL_PREFIX "$libc_cv_symbol_prefix"
-_ACEOF
-
-else
- $as_echo "#define __SYMBOL_PREFIX \"\"" >>confdefs.h
-
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_tt"; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any. Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[ ]*#[ ]*define[ ][ ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' <confdefs.h | sed '
-s/'"$ac_delim"'/"\\\
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- line = \$ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
- ;;
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-
diff --git a/libgloss/libnosys/configure.in b/libgloss/libnosys/configure.in
deleted file mode 100644
index 1d4846b..0000000
--- a/libgloss/libnosys/configure.in
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(close.c)
-AC_CONFIG_HEADER(config.h)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-AC_DEFINE(HAVE_GNU_LD)
-dnl Make sure syscall names match those being used by newlib
-case "${target}" in
- *-*-cygwin*)
- ;;
- a29k-amd-udi)
- ;;
- arc-*-*)
- ;;
- arm*-*-*)
- ;;
- bfin-*-*)
- ;;
- cris-*-* | crisv32-*-*)
- ;;
- d10v*)
- ;;
- h8300*-*-*)
- ;;
- h8500-*-*)
- ;;
- i[3456]86-*-sco*)
- ;;
- lm32-*-*)
- ;;
- m32r-*-*)
- ;;
- mn10?00-*-*)
- ;;
- powerpcle-*-pe)
- ;;
- sh*-*-*)
- ;;
- sparc-sun-sunos*)
- ;;
- sparc64-*-*)
- ;;
- v850*-*-*)
- ;;
- w65-*-*)
- ;;
- xstormy16-*-*)
- ;;
- z8k-*-*)
- ;;
- *)
- AC_DEFINE(MISSING_SYSCALL_NAMES)
- ;;
-esac
-
-dnl Make sure we know if elf format used
-case "${target}" in
- *-*-elf)
- AC_DEFINE(HAVE_ELF)
-
- AC_CACHE_CHECK([for .previous assembler directive],
- libc_cv_asm_previous_directive, [dnl
- libc_cv_asm_previous_directive=no
- cat > conftest.s <<EOF
-.section foo_section
-.previous
-EOF
- if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
- libc_cv_asm_previous_directive=yes
- fi
- rm -f conftest*])
-
- if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
- AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE)
- fi
-
- AC_CACHE_CHECK([for .popsection assembler directive],
- libc_cv_asm_popsection_directive, [dnl
- libc_cv_asm_popsection_directive=no
- cat > conftest.s <<EOF
-.pushsection foo_section
-.popsection
-EOF
- if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
- libc_cv_asm_popsection_directive=yes
- fi
- rm -f conftest*])
-
- if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
- AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE)
- fi
-
- AC_CACHE_CHECK([for section attributes],
- libc_cv_section_attributes, [dnl
- libc_cv_section_attributes=no
- cat > conftest.c <<EOF
-int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
-int main() {}
-EOF
- if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.c 1>&AC_FD_CC); then
- libc_cv_section_attributes=yes
- fi
- rm -f conftest*])
- if test "x${libc_cv_section_attributes}" = "xyes"; then
- AC_DEFINE(HAVE_SECTION_ATTRIBUTES)
- fi
- ;;
-esac
-
-AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl
-cat > conftest.c <<\EOF
-foo () { }
-EOF
-dnl
-libc_cv_symbol_prefix=none
-if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
-then
- libc_cv_symbol_prefix='$'
-else
- if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
- then
- libc_cv_symbol_prefix=_
- fi
-fi
-rm -f conftest* ])
-if test $libc_cv_symbol_prefix != none; then
- AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix")
-else
- AC_DEFINE(__SYMBOL_PREFIX, "")
-fi
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-ac_file=Makefile . ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/libnosys/environ.c b/libgloss/libnosys/environ.c
deleted file mode 100644
index b582506..0000000
--- a/libgloss/libnosys/environ.c
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- * Version of environ for no OS.
- */
-
-char *__env[1] = { 0 };
-char **environ = __env;
diff --git a/libgloss/libnosys/errno.c b/libgloss/libnosys/errno.c
deleted file mode 100644
index 27d8e3a..0000000
--- a/libgloss/libnosys/errno.c
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Supply a definition of errno if one not already provided. */
-
-int errno;
diff --git a/libgloss/libnosys/execve.c b/libgloss/libnosys/execve.c
deleted file mode 100644
index 01743ff..0000000
--- a/libgloss/libnosys/execve.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Stub version of execve.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_execve, (name, argv, env),
- char *name _AND
- char **argv _AND
- char **env)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_execve)
diff --git a/libgloss/libnosys/fork.c b/libgloss/libnosys/fork.c
deleted file mode 100644
index f5795cb..0000000
--- a/libgloss/libnosys/fork.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of fork.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_fork, (),
- _NOARGS)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_fork)
diff --git a/libgloss/libnosys/fstat.c b/libgloss/libnosys/fstat.c
deleted file mode 100644
index 4e18d42..0000000
--- a/libgloss/libnosys/fstat.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of fstat.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_fstat, (fildes, st),
- int fildes _AND
- struct stat *st)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_fstat)
diff --git a/libgloss/libnosys/getpid.c b/libgloss/libnosys/getpid.c
deleted file mode 100644
index 0ea1923..0000000
--- a/libgloss/libnosys/getpid.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of getpid.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_getpid, (),
- _NOARGS)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_getpid)
diff --git a/libgloss/libnosys/gettod.c b/libgloss/libnosys/gettod.c
deleted file mode 100644
index 4d42b4b..0000000
--- a/libgloss/libnosys/gettod.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Stub version of gettimeofday.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-struct timeval;
-
-int
-_DEFUN (_gettimeofday, (ptimeval, ptimezone),
- struct timeval *ptimeval _AND
- void *ptimezone)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_gettimeofday)
diff --git a/libgloss/libnosys/isatty.c b/libgloss/libnosys/isatty.c
deleted file mode 100644
index d93e177..0000000
--- a/libgloss/libnosys/isatty.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of isatty.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_isatty, (file),
- int file)
-{
- errno = ENOSYS;
- return 0;
-}
-
-stub_warning(_isatty)
diff --git a/libgloss/libnosys/kill.c b/libgloss/libnosys/kill.c
deleted file mode 100644
index f1d12c6..0000000
--- a/libgloss/libnosys/kill.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Stub version of kill.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_kill)
diff --git a/libgloss/libnosys/link.c b/libgloss/libnosys/link.c
deleted file mode 100644
index 35881cf..0000000
--- a/libgloss/libnosys/link.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Stub version of link.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_link, (existing, new),
- char *existing _AND
- char *new)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_link)
diff --git a/libgloss/libnosys/lseek.c b/libgloss/libnosys/lseek.c
deleted file mode 100644
index 0aa89e2..0000000
--- a/libgloss/libnosys/lseek.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Stub version of lseek.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_lseek, (file, ptr, dir),
- int file _AND
- int ptr _AND
- int dir)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_lseek)
diff --git a/libgloss/libnosys/nosys.specs b/libgloss/libnosys/nosys.specs
deleted file mode 100644
index 034fefb..0000000
--- a/libgloss/libnosys/nosys.specs
+++ /dev/null
@@ -1,8 +0,0 @@
-%rename lib libc
-
-*libgloss:
--lnosys
-
-*lib:
---start-group %(libc) %(libgloss) --end-group
-
diff --git a/libgloss/libnosys/open.c b/libgloss/libnosys/open.c
deleted file mode 100644
index 2c8a6ce..0000000
--- a/libgloss/libnosys/open.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Stub version of open.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_open, (file, flags, mode),
- char *file _AND
- int flags _AND
- int mode)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_open)
diff --git a/libgloss/libnosys/read.c b/libgloss/libnosys/read.c
deleted file mode 100644
index 1a2819c..0000000
--- a/libgloss/libnosys/read.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Stub version of read.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_read, (file, ptr, len),
- int file _AND
- char *ptr _AND
- int len)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_read)
diff --git a/libgloss/libnosys/readlink.c b/libgloss/libnosys/readlink.c
deleted file mode 100644
index 7df253c..0000000
--- a/libgloss/libnosys/readlink.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of readlink.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#include <sys/types.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_readlink, (path, buf, bufsize),
- const char *path _AND
- char *buf _AND
- size_t bufsize)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_readlink)
diff --git a/libgloss/libnosys/sbrk.c b/libgloss/libnosys/sbrk.c
deleted file mode 100644
index 86c130a..0000000
--- a/libgloss/libnosys/sbrk.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Version of sbrk for no operating system. */
-
-#include "config.h"
-#include <_syslist.h>
-
-void *
-_sbrk (incr)
- int incr;
-{
- extern char end; /* Set by linker. */
- static char * heap_end;
- char * prev_heap_end;
-
- if (heap_end == 0)
- heap_end = & end;
-
- prev_heap_end = heap_end;
- heap_end += incr;
-
- return (void *) prev_heap_end;
-}
diff --git a/libgloss/libnosys/stat.c b/libgloss/libnosys/stat.c
deleted file mode 100644
index 7c34637..0000000
--- a/libgloss/libnosys/stat.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of stat.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_stat, (file, st),
- const char *file _AND
- struct stat *st)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_stat)
diff --git a/libgloss/libnosys/symlink.c b/libgloss/libnosys/symlink.c
deleted file mode 100644
index d9e29f2..0000000
--- a/libgloss/libnosys/symlink.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Stub version of symlink.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_symlink, (path1, path2),
- const char *path1 _AND
- const char *path2)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_symlink)
diff --git a/libgloss/libnosys/times.c b/libgloss/libnosys/times.c
deleted file mode 100644
index f205e50..0000000
--- a/libgloss/libnosys/times.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Stub version of times.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <sys/times.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-clock_t
-_DEFUN (_times, (buf),
- struct tms *buf)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_times)
diff --git a/libgloss/libnosys/unlink.c b/libgloss/libnosys/unlink.c
deleted file mode 100644
index c543709..0000000
--- a/libgloss/libnosys/unlink.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of unlink.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_unlink, (name),
- char *name)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_unlink)
diff --git a/libgloss/libnosys/wait.c b/libgloss/libnosys/wait.c
deleted file mode 100644
index 2a785be..0000000
--- a/libgloss/libnosys/wait.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Stub version of wait.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_wait, (status),
- int *status)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_wait)
diff --git a/libgloss/libnosys/warning.h b/libgloss/libnosys/warning.h
deleted file mode 100644
index 9232a92..0000000
--- a/libgloss/libnosys/warning.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __WARNING_H__
-#define __WARNING_H__
-
-#ifdef HAVE_GNU_LD
-# ifdef HAVE_ELF
-
-/* We want the .gnu.warning.SYMBOL section to be unallocated. */
-# ifdef HAVE_ASM_PREVIOUS_DIRECTIVE
-# define __make_section_unallocated(section_string) \
- asm(".section " section_string "\n .previous");
-# elif defined (HAVE_ASM_POPSECTION_DIRECTIVE)
-# define __make_section_unallocated(section_string) \
- asm(".pushsection " section_string "\n .popsection");
-# else
-# define __make_section_unallocated(section_string)
-# endif
-
-# ifdef HAVE_SECTION_ATTRIBUTES
-# define link_warning(symbol, msg) \
- static const char __evoke_link_warning_##symbol[] \
- __attribute__ ((section (".gnu.warning." __SYMBOL_PREFIX #symbol), \
- __used__)) = msg;
-# else
-# define link_warning(symbol, msg)
-# endif
-
-#else /* !ELF */
-
-# define link_warning(symbol, msg) \
- asm(".stabs \"" msg "\",30,0,0,0\n" \
- ".stabs \"" __SYMBOL_PREFIX #symbol "\",1,0,0,0\n");
-# endif
-#else /* !GNULD */
-/* We will never be heard; they will all die horribly. */
-# define link_warning(symbol, msg)
-#endif
-
-/* A canned warning for sysdeps/stub functions.
- The GNU linker prepends a "warning: " string. */
-#define stub_warning(name) \
- link_warning (name, \
- #name " is not implemented and will always fail")
-
-#endif /* __WARNING_H__ */
diff --git a/libgloss/libnosys/write.c b/libgloss/libnosys/write.c
deleted file mode 100644
index 0136d74..0000000
--- a/libgloss/libnosys/write.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of write.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_write, (file, ptr, len),
- int file _AND
- char *ptr _AND
- int len)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_write)
-
diff --git a/libgloss/lm32/Makefile.in b/libgloss/lm32/Makefile.in
deleted file mode 100644
index d4901f8..0000000
--- a/libgloss/lm32/Makefile.in
+++ /dev/null
@@ -1,101 +0,0 @@
-
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = isatty.o scall.o
-SCRIPTS = sim.ld
-CRT0S = crt0.o
-BSPS = libgloss.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0S) $(BSPS)
-
-libgloss.a: $(OBJS)
- ${AR} ${ARFLAGS} $@ $(OBJS)
- ${RANLIB} $@
-
-#
-# Standard targets
-#
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: install-scripts # install-includes
- @for crt0 in ${CRT0S}; do\
- $(INSTALL_PROGRAM) $${crt0} $(tooldir)/lib${MULTISUBDIR}; \
- done
- @for bsp in ${BSPS}; do\
- $(INSTALL_PROGRAM) $${bsp} $(tooldir)/lib${MULTISUBDIR}; \
- done
-
-install-includes:
- $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/excess; \
- for i in $(srcdir)/*.h; do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/excess/`basename $$i`; \
- done;
-
-install-scripts:
- @for script in ${SCRIPTS}; do\
- $(INSTALL_DATA) ${srcdir}/$${script} $(tooldir)/lib${MULTISUBDIR}; \
- done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/lm32/aclocal.m4 b/libgloss/lm32/aclocal.m4
deleted file mode 100644
index 29da09d..0000000
--- a/libgloss/lm32/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/lm32/configure b/libgloss/lm32/configure
deleted file mode 100755
index 60b8ccf..0000000
--- a/libgloss/lm32/configure
+++ /dev/null
@@ -1,3851 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
diff --git a/libgloss/lm32/configure.in b/libgloss/lm32/configure.in
deleted file mode 100644
index b33c1d7..0000000
--- a/libgloss/lm32/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)dnl
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
diff --git a/libgloss/lm32/crt0.S b/libgloss/lm32/crt0.S
deleted file mode 100644
index 92d2f6a..0000000
--- a/libgloss/lm32/crt0.S
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Lattice Mico32 C startup code.
- * Contributed by Jon Beniston <jon@beniston.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
- .section .boot, "ax", @progbits
-
- /* Program starts here */
-
- .global _start
-_start:
-
- /* Setup stack and global pointer */
- mvhi sp, hi(_fstack)
- ori sp, sp, lo(_fstack)
- mvhi gp, hi(_gp)
- ori gp, gp, lo(_gp)
-
- /* Clear BSS */
- mvhi r1, hi(_fbss)
- ori r1, r1, lo(_fbss)
- mvi r2, 0
- mvhi r3, hi(_ebss)
- ori r3, r3, lo(_ebss)
- sub r3, r3, r1
- calli memset
-
- /* Call C++ constructors */
- calli _init
-
- /* Call C++ destructors on exit */
- mvhi r1, hi(_fini)
- ori r1, r1, lo(_fini)
- calli atexit
-
- /* Call main program */
- mvi r1, 0
- mvi r2, 0
- mvi r3, 0
- calli main
-
- /* Call exit, which doesn't return, to perform any clean up */
- calli exit
diff --git a/libgloss/lm32/isatty.c b/libgloss/lm32/isatty.c
deleted file mode 100644
index 69833fa..0000000
--- a/libgloss/lm32/isatty.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Lattice Mico32 implementation of isatty system call.
- * Contributed by Jon Beniston <jon@beniston.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include "glue.h"
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not.
- * stdin, stdout and sterrr are assumed to be serial ports,
- * other files are not.
- */
-int
-_DEFUN (_isatty, (fd),
- int fd)
-{
- if ((fd == 0) || (fd == 1) || (fd == 2))
- return 1;
- else
- return 0;
-}
diff --git a/libgloss/lm32/scall.S b/libgloss/lm32/scall.S
deleted file mode 100644
index db423a5..0000000
--- a/libgloss/lm32/scall.S
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Lattice Mico32 system calls.
- * Contributed by Jon Beniston <jon@beniston.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include <syscall.h>
-
-/*
- * System call convention (as implemented in simulator:
- * - System call number in register r8
- * - Return value in r1 and r2 (only if 64-bit value)
- * - errno in r3
- */
-
- .extern errno
-
- .global _write
-_write:
- mvi r8, SYS_write
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _read
-_read:
- mvi r8, SYS_read
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _open
-_open:
- mvi r8, SYS_open
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _close
-_close:
- mvi r8, SYS_close
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _lseek
-_lseek:
- mvi r8, SYS_lseek
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _fstat
-_fstat:
- mvi r8, SYS_fstat
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _stat
-_stat:
- mvi r8, SYS_stat
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _link
-_link:
- mvi r8, SYS_link
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _unlink
-_unlink:
- mvi r8, SYS_unlink
- scall
- mvhi r4, hi(errno)
- ori r4, r4, lo(errno)
- sw (r4+0), r3
- ret
-
- .global _exit
-_exit:
- /* This call doesn't return */
- mvi r8, SYS_exit
- scall
diff --git a/libgloss/lm32/sim.ld b/libgloss/lm32/sim.ld
deleted file mode 100644
index 0ca48ac..0000000
--- a/libgloss/lm32/sim.ld
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * Simulator Link script for Lattice Mico32.
- * Contributed by Jon Beniston <jon@beniston.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-OUTPUT_FORMAT("elf32-lm32")
-ENTRY(_start)
-INPUT(crti.o crtbegin.o crt0.o crtend.o crtn.o)
-GROUP(-lgloss -lnosys -lc -lgcc)
-
-MEMORY
-{
- ram : ORIGIN = 0x00000000, LENGTH = 0x100000
-}
-
-SECTIONS
-{
-
- .boot : { *(.boot) } > ram
-
- /* Code */
- .text :
- {
- . = ALIGN(4);
- _ftext = .;
- _ftext_rom = LOADADDR(.text);
- *(.text .stub .text.* .gnu.linkonce.t.*)
- *(.gnu.warning)
- KEEP (*(.init))
- KEEP (*(.fini))
- /* Constructors and destructors */
- KEEP (*crtbegin*.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- KEEP (*(.jcr))
- _etext = .;
- } > ram =0
-
- /* Exception handlers */
- .eh_frame_hdr : { *(.eh_frame_hdr) } > ram
- .eh_frame : { KEEP (*(.eh_frame)) } > ram
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } > ram
-
- /* Read-only data */
- .rodata :
- {
- . = ALIGN(4);
- _frodata = .;
- _frodata_rom = LOADADDR(.rodata);
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- _erodata = .;
- } > ram
-
- /* Data */
- .data :
- {
- . = ALIGN(4);
- _fdata = .;
- _fdata_rom = LOADADDR(.data);
- *(.data .data.* .gnu.linkonce.d.*)
- *(.data1)
- SORT(CONSTRUCTORS)
- _gp = ALIGN(16) + 0x7ff0;
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- _edata = .;
- } > ram
-
- /* BSS */
- .bss :
- {
- . = ALIGN(4);
- _fbss = .;
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(4);
- _ebss = .;
- _end = .;
- PROVIDE (end = .);
- } > ram
-
- /* First location in stack is highest address in RAM */
- PROVIDE(_fstack = ORIGIN(ram) + LENGTH(ram) - 4);
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/lseek.c b/libgloss/lseek.c
deleted file mode 100644
index 1df36f5..0000000
--- a/libgloss/lseek.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* lseek.c -- move read/write pointer.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/types.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * lseek -- Since a serial port is non-seekable, we return an error.
- */
-off_t
-_DEFUN (lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
- int whence)
-{
- errno = ESPIPE;
- return ((off_t)-1);
-}
-
diff --git a/libgloss/m32c/Makefile.in b/libgloss/m32c/Makefile.in
deleted file mode 100644
index e9c64b3..0000000
--- a/libgloss/m32c/Makefile.in
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright (c) 2005,2008 Red Hat Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/m32c.
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-HEADERS = varvects.h
-SCRIPTS = r8c.ld m16c.ld m32cm.ld m32c.ld m16cmon.ld m32cmon.ld sim8.ld sim16.ld sim24.ld
-CRT = crt0.o crtn.o
-SIM_BSP = libsim.a
-M32C_BSP = libm32cgloss.a
-LIBNOSYS = ../libnosys/libnosys.a
-SIM_OBJS = \
- sbrk.o \
- heaptop.o \
- exit.o \
- open.o \
- close.o \
- read.o \
- write.o \
- lseek.o \
- unlink.o \
- getpid.o \
- kill.o \
- fstat.o \
- argvlen.o \
- argv.o \
- chdir.o \
- stat.o \
- chmod.o \
- utime.o \
- time.o \
- gettimeofday.o \
- times.o \
- link.o \
- isatty.o \
- abort.o
-M32C_OBJS = \
- varvects.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-all: $(CRT) $(SIM_BSP) $(M32C_BSP) $(SCRIPTS)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-$(M32C_BSP): $(M32C_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-# genscript parameters: srcdir name ramstart ramsize romstart romsize vecprefix
-
-GDEP = $(srcdir)/m32c.tmpl $(srcdir)/genscript Makefile
-GS = $(SHELL) $(srcdir)/genscript $(srcdir)
-
-# NOTE: The simulators and monitors reserve the following locations
-# for themselves, so we skip them:
-# R8C/M16C: 0x400-0x4ff 0x0ff600-0x0ffcff
-# M32C: 0x400-0x4ff 0xfff600-0xfffcff
-
-r8c.ld : $(GDEP)
- $(GS) r8c 0x500 0x300 0xc000 0x3f24 0xff
-
-m16c.ld : $(GDEP)
- $(GS) m16c 0x500 0x4f00 0xc0000 0x3f600 0xfff
-
-m32cm.ld : $(GDEP)
- $(GS) m32cm 0x500 0x2700 0xfe0000 0x01f600 0xffff
-
-m32c.ld : $(GDEP)
- $(GS) m32c 0x500 0x7b00 0xf80000 0x07f600 0xffff
-
-
-m16cmon.ld : $(GDEP)
- $(GS) m16cmon 0x400 0x100 0xff600 0x800 0xfff
-
-m32cmon.ld : $(GDEP)
- $(GS) m32cmon 0x400 0x100 0xfff600 0x800 0xffff
-
-
-sim8.ld : $(GDEP)
- $(GS) sim8 0x500 0xf624 0 0 0xff
-
-sim16.ld : $(GDEP)
- $(GS) sim16 0x500 0xf700 0x20000 0x80000 0xfff
-
-sim24.ld : $(GDEP)
- $(GS) sim24 0x200000 0x800000 0 0 0xffff
-
-# Dependencies
-
-SDEPS = $(srcdir)/m32csys.h $(srcdir)/../syscall.h
-
-abort.o : $(SDEPS)
-argv.o : $(SDEPS)
-argvlen.o : $(SDEPS)
-chdir.o : $(SDEPS)
-chmod.o : $(SDEPS)
-close.o : $(SDEPS)
-exit.o : $(SDEPS)
-fstat.o : $(SDEPS)
-getpid.o : $(SDEPS)
-gettimeofday.o : $(SDEPS)
-heaptop.o : $(SDEPS)
-kill.o : $(SDEPS)
-link.o : $(SDEPS)
-lseek.o : $(SDEPS)
-open.o : $(SDEPS)
-read.o : $(SDEPS)
-stat.o : $(SDEPS)
-time.o : $(SDEPS)
-times.o : $(SDEPS)
-unlink.o : $(SDEPS)
-utime.o : $(SDEPS)
-write.o : $(SDEPS)
-
-install: $(CRT) $(SIM_BSP) $(M32C_BSP) $(SCRIPTS)
- for c in $(CRT) $(SIM_BSP) $(M32C_BSP); do \
- $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- for c in $(SCRIPTS); do \
- $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- for c in $(HEADERS); do \
- $(INSTALL_DATA) ${srcdir}/$$c \
- $(DESTDIR)$(tooldir)/include/$$c ;\
- done
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/m32c/abort.S b/libgloss/m32c/abort.S
deleted file mode 100644
index 41d2942..0000000
--- a/libgloss/m32c/abort.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
- .global _abort
-_abort:
- /* This is for debuggers. The simulator stops here too. */
- brk
-
- /* Else, fall back on the simulator's "kill me" option. */
-#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
- mov.w #42,r1
-#else
- mov.w #42,r0
-#endif
-
- SYSCALL(SYS_kill)
-
- /* Else, exit. */
- jmp.a __exit
diff --git a/libgloss/m32c/aclocal.m4 b/libgloss/m32c/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/m32c/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/m32c/argv.S b/libgloss/m32c/argv.S
deleted file mode 100644
index 850964c..0000000
--- a/libgloss/m32c/argv.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(argv)
diff --git a/libgloss/m32c/argvlen.S b/libgloss/m32c/argvlen.S
deleted file mode 100644
index 073c69b..0000000
--- a/libgloss/m32c/argvlen.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(argvlen)
diff --git a/libgloss/m32c/chdir.S b/libgloss/m32c/chdir.S
deleted file mode 100644
index a68aeb2..0000000
--- a/libgloss/m32c/chdir.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(chdir)
diff --git a/libgloss/m32c/chmod.S b/libgloss/m32c/chmod.S
deleted file mode 100644
index 7fc14c9..0000000
--- a/libgloss/m32c/chmod.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(chmod)
diff --git a/libgloss/m32c/close.S b/libgloss/m32c/close.S
deleted file mode 100644
index ae6b63c..0000000
--- a/libgloss/m32c/close.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(close)
diff --git a/libgloss/m32c/configure b/libgloss/m32c/configure
deleted file mode 100755
index 360188c..0000000
--- a/libgloss/m32c/configure
+++ /dev/null
@@ -1,3732 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/m32c/configure.in b/libgloss/m32c/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/m32c/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/m32c/crt0.S b/libgloss/m32c/crt0.S
deleted file mode 100644
index 9bbffdd..0000000
--- a/libgloss/m32c/crt0.S
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
-
-Copyright (c) 2005,2008 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
-#define A16
-#define A(n,w) n
-#define W w
-#define ALIGN 1
-#else
-#define A24
-#define A(n,w) w
-#define W l
-#define ALIGN 2
-#endif
-
- .section ".resetvec","ax",@progbits
- .long _start
-
- .text
-
- .global _start
-_start:
-.LFB2:
- fclr U /* One stack for user and interrupts */
- ldc #__stack,sp
-
-#ifdef A16
- mov.b #%hi8(__romdatastart),r1h
- mov.w #%lo16(__romdatastart),a0
- mov.w #__datastart,a1
-#else
- mov.l #__romdatastart,a0
- mov.l #__datastart,a1
-#endif
- mov.w #__romdatacopysize,r3
- shl.w #-1,r3
- smovf.w
-
-#ifdef A16
- mov.w #__bssstart,a1
-#else
- mov.l #__bssstart,a1
-#endif
- mov.w #__bsssize,r3
- shl.w #-1,r3
- mov.w #0,r0
- sstr.w
-
-#ifdef A16
- ldc #%lo16(__var_vects),intbl
- ldc #%hi16(__var_vects),intbh
-#else
- ldc #__var_vects,intb
-#endif
-
- fset I
- jsr.a __m32c_init
-
- jsr.a _main
-.LFE2:
-
-#ifdef A24
- /* rv in r0, ok for arg0 */
-#else
- mov.w r0,r1
-#endif
-
- jsr.a _exit
-
- .text
-
- .global _m32c_run_preinit_array
- .type _m32c_run_preinit_array,@function
-_m32c_run_preinit_array:
- mov.W #__preinit_array_start,a0
- mov.W #__preinit_array_end,a1
- jmp.w _m32c_run_inilist
-
- .global _m32c_run_init_array
- .type _m32c_run_init_array,@function
-_m32c_run_init_array:
- mov.W #__init_array_start,a0
- mov.W #__init_array_end,a1
- jmp.w _m32c_run_inilist
-
- .global _m32c_run_fini_array
- .type _m32c_run_fini_array,@function
-_m32c_run_fini_array:
- mov.W #__fini_array_start,a0
- mov.W #__fini_array_end,a1
- /* fall through */
-
-_m32c_run_inilist:
-next_inilist:
- cmp.W a0,a1
- jeq done_inilist
- pushm a0,a1
- mov.W [a0],a0
-#ifdef A16
- mov.b:s #0,a1 /* zero extends */
- jsri.a a1a0
-#else
- jsri.a a0
-#endif
- popm a0,a1
- add.W A(#2,#4),a0
- jmp.b next_inilist
-done_inilist:
- rts
-
- .section .init,"ax",@progbits
-
- .global __m32c_init
-__m32c_init:
- enter #0
-
- .section .fini,"ax",@progbits
-
- .global __m32c_fini
-__m32c_fini:
- enter #0
- jsr.a _m32c_run_fini_array
-
-
-;;; Provide Dwarf unwinding information that will help GDB stop
-;;; backtraces at the right place. This is stolen from assembly
-;;; code generated by GCC with -dA.
- .section .debug_frame,"",@progbits
-.Lframe0:
- .4byte .LECIE0-.LSCIE0 ; Length of Common Information Entry
-.LSCIE0:
- .4byte 0xffffffff ; CIE Identifier Tag
- .byte 0x1 ; CIE Version
- .ascii "\0" ; CIE Augmentation
- .uleb128 0x1 ; CIE Code Alignment Factor
- .sleb128 -1 ; CIE Data Alignment Factor
- .byte 0xd ; CIE RA Column
- .byte 0xc ; DW_CFA_def_cfa
- .uleb128 0xc
- .uleb128 0x3
- .byte 0x8d ; DW_CFA_offset, column 0xd
- .uleb128 0x3
- .p2align ALIGN
-.LECIE0:
-.LSFDE0:
- .4byte .LEFDE0-.LASFDE0 ; FDE Length
-.LASFDE0:
- .4byte .Lframe0 ; FDE CIE offset
- .4byte .LFB2 ; FDE initial location
- .4byte .LFE2-.LFB2 ; FDE address range
- .byte 0xf ; DW_CFA_def_cfa_expression
- .uleb128 1 ; length of expression
- .byte 0x30 ; DW_OP_lit0
- .p2align ALIGN
-.LEFDE0:
-
- .text
diff --git a/libgloss/m32c/crtn.S b/libgloss/m32c/crtn.S
deleted file mode 100644
index d4e86b8..0000000
--- a/libgloss/m32c/crtn.S
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-
-#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
-#define A16
-#define A(n,w) n
-#define W w
-#else
-#define A24
-#define A(n,w) w
-#define W l
-#endif
-
- .section .init,"ax",@progbits
- jsr.a _m32c_run_preinit_array
- jsr.a _m32c_run_init_array
- exitd
- .global __m32c_init_end
-__m32c_init_end:
-
- .section .fini,"ax",@progbits
-
- exitd
- .global __m32c_fini_end
-__m32c_fini_end:
-
- .text
-
diff --git a/libgloss/m32c/exit.S b/libgloss/m32c/exit.S
deleted file mode 100644
index 5340326..0000000
--- a/libgloss/m32c/exit.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
- .global __exit
-__exit:
- pushm r0,r1
- jsr.a __m32c_fini
- popm r0,r1
- SYSCALL(SYS_exit)
diff --git a/libgloss/m32c/fstat.S b/libgloss/m32c/fstat.S
deleted file mode 100644
index 44815b1..0000000
--- a/libgloss/m32c/fstat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(fstat)
diff --git a/libgloss/m32c/genscript b/libgloss/m32c/genscript
deleted file mode 100644
index 665778e..0000000
--- a/libgloss/m32c/genscript
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2005 Red Hat Incorporated.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# The name of Red Hat Incorporated may not be used to endorse
-# or promote products derived from this software without specific
-# prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-srcdir="$1"
-name="$2"
-ramstart="$3"
-ramsize="$4"
-romstart="$5"
-romsize="$6"
-vecprefix="$7"
-
-sedcmd="s/RAMSTART/$ramstart/g; s/RAMSIZE/$ramsize/g"
-sedcmd="$sedcmd; s/ROMSTART/$romstart/g; s/ROMSIZE/$romsize/g"
-
-# .rodata can be left with .text
-rotext='/IF_ROCOPY/d'
-# .rodata needs to be with .data
-rodata='/IF_ROROM/d'
-
-# All sections are put in one region
-simram='s/LOWROM/RAM/g; s/= .*SIZEOF.*/= 0);/; s/AT>ROM//g'
-oneram='s/> ROM/> RAM/g;'
-# RW data needs to be copied to RAM
-rwonly='s/LOWROM/ROM/g; s/ SIZEOF(.rodata) + //g'
-# all data needs to be copied to RAM
-rocopy='s/LOWROM/RAM AT>ROM/g'
-
-case $name:$romstart in
- sim*:0 )
- # The r8c and m32c simulators have only a single memory region
- sedcmd="$sedcmd; $simram; $oneram; $rotext"
- ;;
- sim*:* )
- # This is most likely the m16c simulator
- sedcmd="$sedcmd; $simram; $rodata"
- ;;
- *:0x???? )
- # This is most likely the r8c chip
- sedcmd="$sedcmd; $rwonly; $rotext"
- ;;
- m32*:* )
- sedcmd="$sedcmd; $rwonly; $rotext"
- ;;
- *:* )
- sedcmd="$sedcmd; $rocopy; $rodata"
- ;;
-esac
-sedcmd="$sedcmd; /ORIGIN = 0,/d"
-
-sedcmd="$sedcmd; s/VECSTART/${vecprefix}dc/; s/RESETSTART/${vecprefix}fc/"
-
-sed "$sedcmd" < ${srcdir}/m32c.tmpl > ${name}.ld
diff --git a/libgloss/m32c/getpid.S b/libgloss/m32c/getpid.S
deleted file mode 100644
index 00b5d39..0000000
--- a/libgloss/m32c/getpid.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(getpid)
diff --git a/libgloss/m32c/gettimeofday.S b/libgloss/m32c/gettimeofday.S
deleted file mode 100644
index 8537a1a..0000000
--- a/libgloss/m32c/gettimeofday.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(gettimeofday)
diff --git a/libgloss/m32c/heaptop.S b/libgloss/m32c/heaptop.S
deleted file mode 100644
index 36c95df..0000000
--- a/libgloss/m32c/heaptop.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-#define SYS__set_heaptop 11
-
-S(_set_heaptop)
diff --git a/libgloss/m32c/isatty.S b/libgloss/m32c/isatty.S
deleted file mode 100644
index 490c8cb..0000000
--- a/libgloss/m32c/isatty.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .global _isatty
-_isatty:
- mov.w #1,r0
- rts
diff --git a/libgloss/m32c/kill.S b/libgloss/m32c/kill.S
deleted file mode 100644
index 61d8469..0000000
--- a/libgloss/m32c/kill.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(kill)
diff --git a/libgloss/m32c/link.S b/libgloss/m32c/link.S
deleted file mode 100644
index 08efad8..0000000
--- a/libgloss/m32c/link.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(link)
diff --git a/libgloss/m32c/lseek.S b/libgloss/m32c/lseek.S
deleted file mode 100644
index 9026e92..0000000
--- a/libgloss/m32c/lseek.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(lseek)
diff --git a/libgloss/m32c/m32c.tmpl b/libgloss/m32c/m32c.tmpl
deleted file mode 100644
index 8fa3498..0000000
--- a/libgloss/m32c/m32c.tmpl
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
-
-Copyright (c) 2005,2008 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_FORMAT("elf32-m32c", "elf32-m32c",
- "elf32-m32c")
-OUTPUT_ARCH(m32c)
-ENTRY(_start)
-INPUT(-lm32cgloss)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-MEMORY {
- RAM (w) : ORIGIN = RAMSTART, LENGTH = RAMSIZE
- ROM (r) : ORIGIN = ROMSTART, LENGTH = ROMSIZE
- VEC (r) : ORIGIN = VECSTART, LENGTH = 32
- RESETVEC (r) : ORIGIN = RESETSTART, LENGTH = 4
-}
-SECTIONS
-{
- /* There are three cases we care about: First, RW data that must be
- in the low 64k. This will always be copied from ROM. Second, RO
- data that must be in the low 64k. This may be copied from ROM if
- the ROM is above 64k. Third, anything that does not need to be
- in the first 64k. Chips normally only have two memory regions;
- low ram and either high or low rom. We map the low rom needs
- into one of the actual regions. */
-
- /* .text goes first so the rom image of ram data will follow it. */
- .text :
- {
- *(.text .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- PROVIDE(__romdatastart = .); /* IF_ROCOPY */
- } > ROM =0
-
- /* rodata will either be part of data, or will be in low rom. So we
- might be spanning it, or we might not. This lets us include it
- in our calculations when appropriate. */
-
- .rodata : {
- . = ALIGN(2);
- PROVIDE(__datastart = .); /* IF_ROCOPY */
- *(.plt)
- KEEP (*(.init))
- KEEP (*(.fini))
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- . = ALIGN(2);
- PROVIDE(__romdatastart = .); /* IF_ROROM */
- } > LOWROM
-
- .data : {
- . = ALIGN(32 / 8);
- PROVIDE (__datastart = .); /* IF_ROROM */
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- PROVIDE (__fini_array_end = .);
-
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin*.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
- PROVIDE (__var_vect_start = .);
- *(.var_vects)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT>ROM
-
- /* Note that __romdatacopysize may be ZERO for the simulator, which
- knows how to intialize RAM directly. It should ONLY be used for
- copying data from ROM to RAM; if you need to know the size of the
- data section, subtract the end symbol from the start symbol. */
- /* Note that crt0 assumes this is even; all the start/stop symbols
- are also assumed word-aligned. */
- PROVIDE (__romdatacopysize = SIZEOF(.rodata) + SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(2);
- PROVIDE (__bssend = .);
- _end = .;
- PROVIDE (end = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- .stack (RAMSTART + RAMSIZE - 2) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- .vec : {
- *(.vec)
- } > VEC
- .resetvec : {
- *(.resetvec)
- } > RESETVEC
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/m32c/m32csys.h b/libgloss/m32c/m32csys.h
deleted file mode 100644
index e8b9b5f..0000000
--- a/libgloss/m32c/m32csys.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "syscall.h"
-
-/* Both the simulators and monitors reserve RAM areas 0x400 through
- 0x4ff for their internal use. We use one of those memory locations
- as our system call trap. */
-
-#define POUND #
-#define SYSCALL(N) mov.b POUND N,0x400
-
-#define SYS__exit SYS_exit
-
-#define S(n) _##n: .global _##n | SYSCALL(SYS_##n) | rts
diff --git a/libgloss/m32c/open.S b/libgloss/m32c/open.S
deleted file mode 100644
index a645851..0000000
--- a/libgloss/m32c/open.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(open)
diff --git a/libgloss/m32c/read.S b/libgloss/m32c/read.S
deleted file mode 100644
index 0aa4f13..0000000
--- a/libgloss/m32c/read.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(read)
diff --git a/libgloss/m32c/sample.c b/libgloss/m32c/sample.c
deleted file mode 100644
index 0b7c665..0000000
--- a/libgloss/m32c/sample.c
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
-
-Copyright (c) 2008 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* This is a sample program that shows how to use a few of the
- features of the M32C port of GCC, Binutils, and Newlib. */
-
-#include <varvects.h>
-
-typedef unsigned char byte;
-typedef unsigned short word;
-
-#define prcr (*(volatile byte *)0x000a)
-#define cm0 (*(volatile byte *)0x0006)
-#define cm1 (*(volatile byte *)0x0007)
-#define ocd (*(volatile byte *)0x000c)
-
-#ifdef __r8c_cpu__
-/* These are for the R8C/20 with LEDs on port P2 */
-
-#define tracr (*(volatile byte *)0x0100)
-#define traioc (*(volatile byte *)0x0101)
-#define tramr (*(volatile byte *)0x0102)
-#define trapre (*(volatile byte *)0x0103)
-#define tra (*(volatile byte *)0x0104)
-#define traic (*(volatile byte *)0x0056)
-
-#define pd2 (*(volatile byte *)0x00e6)
-#define p2 (*(volatile byte *)0x00e4)
-
-#define ivec_timer_ra 22
-#endif
-
-#ifdef __m32c_cpu__
-/* These are for the M32C/83 with LEDs on port P0 and P1 */
-
-#define ta0 (*(volatile word *)0x0346)
-#define ta0mr (*(volatile byte *)0x0356)
-#define tabsr (*(volatile byte *)0x0340)
-#define ta0ic (*(volatile byte *)0x006c)
-
-#define pd0 (*(volatile byte *)0x03e2)
-#define pd1 (*(volatile byte *)0x03e3)
-#define p0 (*(volatile byte *)0x03e0)
-#define p1 (*(volatile byte *)0x03e1)
-
-#define ivec_timer_a0 12
-#endif
-
-/* Newlib's exit() pulls in lots of other things. Main() should never
- exit, but if it did, you could hard-reset the chip here. */
-void
-exit(int rv)
-{
- while (1)
- asm volatile ("");
-}
-
-#ifdef __r8c_cpu__
-/* The "constructor" attribute causes the startup code to call this
- sometime before main() is called. */
-__attribute__((constructor))
-void
-fast_clock(void)
-{
- asm("fclr I");
- prcr = 1;
- cm0 = 0x08;
- cm1 = 0x38;
- asm("nop");
- asm("nop");
- asm("nop");
- asm("nop");
- ocd = 0;
- prcr = 0;
- asm("fset I");
-}
-#endif
-
-/* We mark this volatile in case a non-interrupt function wants to
- read it, else gcc may optimize away extra reads. */
-static volatile int tc = 1;
-
-/* The "interrupt" attribute changes the function entry/exit to
- properly preserve any changed registers. */
-static void __attribute__((interrupt))
-timer_ra_interrupt()
-{
- tc ++;
-#ifdef __r8c_cpu__
- p2 = tc >> 4;
-#else
- p1 = tc;
- p0 = tc >> 8;
-#endif
-}
-
-main()
-{
-#ifdef __r8c_cpu__
- pd2 = 0xff;
-
- /* TIMER RA */
- tracr = 0x00;
- traioc = 0x00;
- tramr = 0x00; /* timer mode, f1 */
- trapre = 255; /* prescaler */
- tra = 255; /* cycle count */
-
- _set_var_vect (timer_ra_interrupt, ivec_timer_ra);
- traic = 5;
- tracr = 1;
-#endif
-
-#ifdef __m32c_cpu__
- pd0 = 0xff;
- pd1 = 0xff;
-
- /* TIMER A0 */
- ta0mr = 0x00; /* Timer A0 mode register */
- ta0 = 65535; /* Timer A0 register */
-
- _set_var_vect (timer_ra_interrupt, ivec_timer_a0);
- ta0ic = 5;
- tabsr = 0xff;
-#endif
-
- /* main() must never return. */
- while (1)
- ;
-}
diff --git a/libgloss/m32c/sbrk.c b/libgloss/m32c/sbrk.c
deleted file mode 100644
index 8db42a9..0000000
--- a/libgloss/m32c/sbrk.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-extern void _set_heaptop(void *ptr);
-
-/* Normally these would be in unistd.h but we don't rely on that being
- available during this build. */
-#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
-#define PTRDIFF_T int
-#else
-#define PTRDIFF_T long
-#endif
-
-char *
-sbrk(PTRDIFF_T adj)
-{
- extern char end;
- static char *heap = &end;
- char *rv = heap;
-
- heap += adj;
- _set_heaptop(heap);
- return rv;
-}
diff --git a/libgloss/m32c/stat.S b/libgloss/m32c/stat.S
deleted file mode 100644
index a96dcbd..0000000
--- a/libgloss/m32c/stat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(stat)
diff --git a/libgloss/m32c/time.S b/libgloss/m32c/time.S
deleted file mode 100644
index 61f5dd5..0000000
--- a/libgloss/m32c/time.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(time)
diff --git a/libgloss/m32c/times.S b/libgloss/m32c/times.S
deleted file mode 100644
index bf77a56..0000000
--- a/libgloss/m32c/times.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(times)
diff --git a/libgloss/m32c/unlink.S b/libgloss/m32c/unlink.S
deleted file mode 100644
index 8dfb059..0000000
--- a/libgloss/m32c/unlink.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(unlink)
diff --git a/libgloss/m32c/utime.S b/libgloss/m32c/utime.S
deleted file mode 100644
index b244a21..0000000
--- a/libgloss/m32c/utime.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(utime)
diff --git a/libgloss/m32c/varvects.S b/libgloss/m32c/varvects.S
deleted file mode 100644
index 540c4e2..0000000
--- a/libgloss/m32c/varvects.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-
-Copyright (c) 2008 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* This works with varvects.h
-*/
-
- .section ".var_vects","aw",@progbits
- .global __var_vects
- .type __var_vects,@object
- .size __var_vects, 256
-__var_vects:
- .zero 256
-
- .text
diff --git a/libgloss/m32c/varvects.h b/libgloss/m32c/varvects.h
deleted file mode 100644
index e48daf9..0000000
--- a/libgloss/m32c/varvects.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-
-Copyright (c) 2008 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* This file defines the interface to the built-in variable vector
- table in R8C/M16C/M32C chips. */
-
-#ifndef _VARVECTS_H_
-#define _VARVECTS_H_
-
-typedef void (*_m32c_interrupt_func)() __attribute__((mode(SI)));
-extern _m32c_interrupt_func _var_vects[];
-
-#if defined(__r8c_cpu__) || defined (__m16c_cpu__)
-
-#define _set_var_vect(f,n) \
- { asm ("mov.w #%%lo16(%d0),__var_vects+%d1" : : "s" (f), "g" (n*4)); \
- asm ("mov.w #%%hi16(%d0),__var_vects+%d1" : : "s" (f), "g" (n*4+2)); }
-
-#else
-
-#define _set_var_vect(f,n) \
- _var_vects[n] = f
-
-#endif
-#endif
diff --git a/libgloss/m32c/write.S b/libgloss/m32c/write.S
deleted file mode 100644
index 273eb47..0000000
--- a/libgloss/m32c/write.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "m32csys.h"
-
-S(write)
diff --git a/libgloss/m32r/Makefile.in b/libgloss/m32r/Makefile.in
deleted file mode 100644
index 12a1be6..0000000
--- a/libgloss/m32r/Makefile.in
+++ /dev/null
@@ -1,144 +0,0 @@
-# Makefile for libgloss/m32r
-# Copyright (c) 1996, 1998 Cygnus Support.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
-# endorse or promote products derived from this software without
-# specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-TOP = ../..
-SRCTOP = ../..
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-
-.NOEXPORT:
-MAKEOVERRIDES=
-
-TARGETDOC = ../../targetdep.tex
-
-CRT0 = crt0.o
-GDBLIB = m32r-lib.o
-GDBSTUB = m32r-stub.o
-EVASCRIPT = eva.ld
-STUBSCRIPT = eva-stub.ld
-
-GENERIC_LIBOBJS = \
- chmod.o close.o exit.o fstat.o getpid.o isatty.o kill.o lseek.o \
- open.o raise.o read.o sbrk.o stat.o unlink.o utime.o write.o
-
-LIBOBJS = trap0.o $(GENERIC_LIBOBJS)
-LIBGLOSS = libgloss.a
-
-MONLIBOBJS = trapmon0.o $(GENERIC_LIBOBJS)
-MONLIBGLOSS = libmon.a
-MONSPECS = mon.specs
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0) $(LIBGLOSS) $(MONLIBGLOSS) $(GDBLIB) $(GDBSTUB)
-
-libgloss.a: $(LIBOBJS)
- $(AR) $(ARFLAGS) $@ $(LIBOBJS)
- $(RANLIB) $@
-
-libmon.a: $(MONLIBOBJS)
- $(AR) $(ARFLAGS) $@ $(MONLIBOBJS)
- $(RANLIB) $@
-
-install:
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- $(INSTALL_DATA) $(LIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS)
- $(INSTALL_DATA) $(MONLIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MONLIBGLOSS)
- $(INSTALL_DATA) $(GDBLIB) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(GDBLIB)
- $(INSTALL_DATA) $(GDBSTUB) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(GDBSTUB)
- $(INSTALL_DATA) $(srcdir)/$(EVASCRIPT) $(DESTDIR)$(tooldir)/lib/$(EVASCRIPT)
- $(INSTALL_DATA) $(srcdir)/$(STUBSCRIPT) $(DESTDIR)$(tooldir)/lib/$(STUBSCRIPT)
- $(INSTALL_DATA) $(srcdir)/$(MONSPECS) $(DESTDIR)$(tooldir)/lib/$(MONSPECS)
-
-clean mostlyclean:
- rm -f *~ *.[oa]
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status
-
-info doc:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
-
-# to support SunOS VPATH
-crt0.o: crt0.S
-m32r-lib.o: m32r-lib.c
-m32r-stub.o: m32r-stub.c
-chmod.o: chmod.c
-close.o: close.c
-exit.o: exit.c
-fstat.o: fstat.c
-getpid.o: getpid.c
-isatty.o: isatty.c
-kill.o: kill.c
-lseek.o: lseek.c
-open.o: open.c
-raise.o: raise.c
-read.o: read.c
-sbrk.o: sbrk.c
-stat.o: stat.c
-unlink.o: unlink.c
-utime.o: utime.c
-write.o: write.c
-trap0.o: trap0.S
-trapmon0.o: trapmon0.c
diff --git a/libgloss/m32r/aclocal.m4 b/libgloss/m32r/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/m32r/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/m32r/chmod.c b/libgloss/m32r/chmod.c
deleted file mode 100644
index 14990d9..0000000
--- a/libgloss/m32r/chmod.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_chmod (const char *path, short mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/m32r/close.c b/libgloss/m32r/close.c
deleted file mode 100644
index 1e32da4..0000000
--- a/libgloss/m32r/close.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/m32r/configure b/libgloss/m32r/configure
deleted file mode 100755
index 86b8aa4..0000000
--- a/libgloss/m32r/configure
+++ /dev/null
@@ -1,3785 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${srcdir}/../..
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${srcdir}/../../config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/m32r/configure.in b/libgloss/m32r/configure.in
deleted file mode 100644
index aa3cf0c..0000000
--- a/libgloss/m32r/configure.in
+++ /dev/null
@@ -1,47 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${srcdir}/../../config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${srcdir}/../..
-)
-AC_OUTPUT
diff --git a/libgloss/m32r/crt0.S b/libgloss/m32r/crt0.S
deleted file mode 100644
index 7c22f5a..0000000
--- a/libgloss/m32r/crt0.S
+++ /dev/null
@@ -1,52 +0,0 @@
- .text
- .balign 4
- .global _start
-_start:
-
- seth sp, #shigh(_stack)
- add3 sp, sp, #low(_stack)
- ldi fp, #0
-
-# Clear the BSS. Do it in two parts for efficiency: longwords first
-# for most of it, then the remaining 0 to 3 bytes.
-
- seth r2, #shigh(__bss_start)
- add3 r2, r2, #low(__bss_start); R2 = start of BSS
- seth r3, #shigh(_end)
- add3 r3, r3, #low(_end) ; R3 = end of BSS + 1
-
- sub r3, r2 ; R3 = BSS size in bytes
- mv r4, r3
- srli r4, #2 ; R4 = BSS size in longwords (rounded down)
- ldi r1, #0 ; clear R1 for longword store
- addi r2, #-4 ; account for pre-inc store
- beqz r4, .Lendloop1 ; any more to go?
-.Lloop1:
- st r1, @+r2 ; yep, zero out another longword
- addi r4, #-1 ; decrement count
- bnez r4, .Lloop1 ; go do some more
-.Lendloop1:
- and3 r4, r3, #3 ; get no. of remaining BSS bytes to clear
- addi r2, #4 ; account for pre-inc store
- beqz r4, .Lendloop2 ; any more to go?
-.Lloop2:
- stb r1, @r2 ; yep, zero out another byte
- addi r2, #1 ; bump address
- addi r4, #-1 ; decrement count
- bnez r4, .Lloop2 ; go do some more
-.Lendloop2:
-
-# Run code in the .init section.
-# This will queue the .fini section to be run with atexit.
-
- bl __init
-
-# Call main, then exit.
-
- bl main
- bl exit
-
-# If that fails just loop.
-
-.Lexit:
- bra .Lexit
diff --git a/libgloss/m32r/eit.h b/libgloss/m32r/eit.h
deleted file mode 100644
index ef51c08..0000000
--- a/libgloss/m32r/eit.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* M32R libgloss EIT interface.
- Copyright (C) 1998, Cygnus Solutions.
-
- At present we only document trap 0, the syscall interface.
- In the future this can hold further EIT related stuff.
- [The m32r manuals use the acronym EIT: exception, interrupt, trap.] */
-
-#include <reent.h>
-
-int __trap0 (int function, int p1, int p2, int p3, struct _reent *r);
-
-#define TRAP0(f, p1, p2, p3) \
-__trap0 (f, (int) (p1), (int) (p2), (int) (p3), _REENT)
diff --git a/libgloss/m32r/eva-stub.ld b/libgloss/m32r/eva-stub.ld
deleted file mode 100644
index 34c341c..0000000
--- a/libgloss/m32r/eva-stub.ld
+++ /dev/null
@@ -1,111 +0,0 @@
-OUTPUT_FORMAT("elf32-m32r", "elf32-m32r",
- "elf32-m32r")
-OUTPUT_ARCH(m32r)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-INPUT(m32r-stub.o)
-INPUT(m32r-lib.o)
-INPUT(-lgloss)
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x200000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rel.text : { *(.rel.text) }
- .rela.text : { *(.rela.text) }
- .rel.data : { *(.rel.data) }
- .rela.data : { *(.rela.data) }
- .rel.rodata : { *(.rel.rodata) }
- .rela.rodata : { *(.rela.rodata) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } = 0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } = 0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } = 0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(32) + (ALIGN(8) & (32 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- *(.ctors)
- }
- .dtors :
- {
- *(.dtors)
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the .debug DWARF section are relative to the beginning of the
- section so we begin .debug at 0. It's not clear yet what needs to happen
- for the others. */
- .debug 0 : { *(.debug) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .line 0 : { *(.line) }
- .stack 0x207ffc : { _stack = .; *(.stack) }
- /* These must appear regardless of . */
-}
-
diff --git a/libgloss/m32r/eva.ld b/libgloss/m32r/eva.ld
deleted file mode 100644
index ee66464..0000000
--- a/libgloss/m32r/eva.ld
+++ /dev/null
@@ -1,97 +0,0 @@
-OUTPUT_FORMAT("elf32-m32r", "elf32-m32r",
- "elf32-m32r")
-OUTPUT_ARCH(m32r)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-INPUT(-lgloss)
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x208000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rel.text : { *(.rel.text) }
- .rela.text : { *(.rela.text) }
- .rel.data : { *(.rel.data) }
- .rela.data : { *(.rela.data) }
- .rel.rodata : { *(.rel.rodata) }
- .rela.rodata : { *(.rela.rodata) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(32) + (ALIGN(8) & (32 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors : { *(.ctors) }
- .dtors : { *(.dtors) }
- .got : { *(.got.plt) *(.got)}
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss : { *(.dynbss) *(.bss) *(COMMON) }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the .debug DWARF section are relative to the beginning of the
- section so we begin .debug at 0. It's not clear yet what needs to happen
- for the others. */
- .debug 0 : { *(.debug) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .line 0 : { *(.line) }
- .stack 0x5ffffc : { _stack = .; *(.stack) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/m32r/exit.c b/libgloss/m32r/exit.c
deleted file mode 100644
index 5251f0d..0000000
--- a/libgloss/m32r/exit.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-void
-_exit (n)
-{
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/m32r/fstat.c b/libgloss/m32r/fstat.c
deleted file mode 100644
index 1f91828..0000000
--- a/libgloss/m32r/fstat.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_fstat (int file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
diff --git a/libgloss/m32r/getpid.c b/libgloss/m32r/getpid.c
deleted file mode 100644
index ff6e902..0000000
--- a/libgloss/m32r/getpid.c
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int
-_getpid (int n)
-{
- return 1;
-}
diff --git a/libgloss/m32r/isatty.c b/libgloss/m32r/isatty.c
deleted file mode 100644
index cc9bfe1..0000000
--- a/libgloss/m32r/isatty.c
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/* FIXME: can we not nuke the 10,000 copies of this function
- and fudge things (which is all this function does) in _fstat? */
-int
-_isatty (int fd)
-{
- return 1;
-}
diff --git a/libgloss/m32r/kill.c b/libgloss/m32r/kill.c
deleted file mode 100644
index d7aaee9..0000000
--- a/libgloss/m32r/kill.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-_kill (n, m)
-{
- return TRAP0 (SYS_exit, 0xdead, 0, 0);
-}
diff --git a/libgloss/m32r/lseek.c b/libgloss/m32r/lseek.c
deleted file mode 100644
index 1fbb5d0..0000000
--- a/libgloss/m32r/lseek.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_lseek (int file, int ptr, int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/m32r/m32r-lib.c b/libgloss/m32r/m32r-lib.c
deleted file mode 100644
index 1d2d291..0000000
--- a/libgloss/m32r/m32r-lib.c
+++ /dev/null
@@ -1,147 +0,0 @@
-/* Stand-alone library for M32R-EVA board.
- *
- * Copyright (c) 1996, 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* #define REVC to enable handling of the original RevC board,
- which is no longer the default, nor is it supported. */
-
-#ifndef REVC
-
-/* Serial I/O routines for MSA2000G01 board */
-#define UART_INCHAR_ADDR 0xff004009
-#define UART_OUTCHR_ADDR 0xff004007
-#define UART_STATUS_ADDR 0xff004002
-
-#else
-
-/* Serial I/O routines for M32R-EVA board */
-#define UART_INCHAR_ADDR 0xff102013
-#define UART_OUTCHR_ADDR 0xff10200f
-#define UART_STATUS_ADDR 0xff102006
-
-#endif
-
-#define UART_INPUT_EMPTY 0x4
-#define UART_OUTPUT_EMPTY 0x1
-
-static volatile char *rx_port = (unsigned char *) UART_INCHAR_ADDR;
-static volatile char *tx_port = (char *) UART_OUTCHR_ADDR;
-static volatile short *rx_status = (short *) UART_STATUS_ADDR;
-static volatile short *tx_status = (short *) UART_STATUS_ADDR;
-
-static int
-rx_rdy()
-{
-#ifndef REVC
- return (*rx_status & UART_INPUT_EMPTY);
-#else
- return !(*rx_status & UART_INPUT_EMPTY);
-#endif
-}
-
-static int
-tx_rdy()
-{
- return (*tx_status & UART_OUTPUT_EMPTY);
-}
-
-static unsigned char
-rx_uchar()
-{
- return *rx_port;
-}
-
-void
-tx_char(char c)
-{
- *tx_port = c;
-}
-
-int
-getDebugChar()
-{
- while (!rx_rdy())
- ;
- return rx_uchar();
-}
-
-void
-putDebugChar(int c)
-{
- while (!tx_rdy())
- ;
- tx_char(c);
-}
-
-void mesg(char *p)
-{
- while (*p)
- {
- if (*p == '\n')
- putDebugChar('\r');
- putDebugChar(*p++);
- }
-}
-
-void phex(long x)
-{
- char buf[9];
- int i;
-
- buf[8] = '\0';
- for (i = 7; i >= 0; i--)
- {
- char c = x & 0x0f;
- buf[i] = c < 10 ? c + '0' : c - 10 + 'A';
- x >>= 4;
- }
- mesg(buf);
-}
-
-/*
- * These routines set and get exception handlers. They look a little
- * funny because the M32R uses branch instructions in its exception
- * vectors, not just the addresses. The instruction format used is
- * BRA pcdisp24.
- */
-
-#define TRAP_VECTOR_BASE_ADDR 0x00000040
-
-/* Setup trap TT to go to ROUTINE. */
-void
-exceptionHandler (int tt, unsigned long routine)
-{
-#ifndef REVC
- unsigned long *tb = (unsigned long *) TRAP_VECTOR_BASE_ADDR;
- tb[tt] = (0xff000000 | ((routine - (unsigned long) (&tb[tt])) >> 2));
-#else
- unsigned long *tb = 0; /* Trap vector base address */
-
- tb[tt] = ((routine >> 2) | 0xff000000) - tt;
-#endif
-}
-
-/* Return the address of trap TT handler */
-unsigned long
-getExceptionHandler (int tt)
-{
-#ifndef REVC
- unsigned long *tb = (unsigned long *) TRAP_VECTOR_BASE_ADDR;
- return ((tb[tt] & ~0xff000000) << 2) + (unsigned long) (&tb[tt]);
-#else
- unsigned long *tb = 0; /* Trap vector base address */
-
- return ((tb[tt] + tt) | 0xff000000) << 2;
-#endif
-}
diff --git a/libgloss/m32r/m32r-stub.c b/libgloss/m32r/m32r-stub.c
deleted file mode 100644
index 4d54f72..0000000
--- a/libgloss/m32r/m32r-stub.c
+++ /dev/null
@@ -1,1779 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * Modified for M32R by Michael Snyder, Cygnus Support.
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- * The external function exceptionHandler() is
- * used to attach a specific handler to a specific M32R vector number.
- * It should use the same privilege level it runs at. It should
- * install it as an interrupt gate so that interrupts are masked
- * while the handler runs.
- *
- * Because gdb will sometimes write to the stack area to execute function
- * calls, this program cannot rely on using the supervisor stack so it
- * uses it's own stack area reserved in the int array remcomStack.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- * XAA..AA,LLLL: Write LLLL binary bytes at address OK or ENN
- * AA..AA
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: <two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-
-/************************************************************************
- *
- * external low-level support routines
- */
-extern void putDebugChar (); /* write a single character */
-extern int getDebugChar (); /* read and return a single char */
-extern void exceptionHandler (); /* assign an exception handler */
-
-/*****************************************************************************
- * BUFMAX defines the maximum number of characters in inbound/outbound buffers
- * at least NUMREGBYTES*2 are needed for register packets
- */
-#define BUFMAX 400
-
-static char initialized; /* boolean flag. != 0 means we've been initialized */
-
-int remote_debug;
-/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
-
-static const unsigned char hexchars[] = "0123456789abcdef";
-
-#define NUMREGS 24
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES (NUMREGS * 4)
-enum regnames
-{ R0, R1, R2, R3, R4, R5, R6, R7,
- R8, R9, R10, R11, R12, R13, R14, R15,
- PSW, CBR, SPI, SPU, BPC, PC, ACCL, ACCH
-};
-
-enum SYS_calls
-{
- SYS_null,
- SYS_exit,
- SYS_open,
- SYS_close,
- SYS_read,
- SYS_write,
- SYS_lseek,
- SYS_unlink,
- SYS_getpid,
- SYS_kill,
- SYS_fstat,
- SYS_sbrk,
- SYS_fork,
- SYS_execve,
- SYS_wait4,
- SYS_link,
- SYS_chdir,
- SYS_stat,
- SYS_utime,
- SYS_chown,
- SYS_chmod,
- SYS_time,
- SYS_pipe
-};
-
-static int registers[NUMREGS];
-
-#define STACKSIZE 8096
-static unsigned char remcomInBuffer[BUFMAX];
-static unsigned char remcomOutBuffer[BUFMAX];
-static int remcomStack[STACKSIZE / sizeof (int)];
-static int *stackPtr = &remcomStack[STACKSIZE / sizeof (int) - 1];
-
-static unsigned int save_vectors[18]; /* previous exception vectors */
-
-/* Indicate to caller of mem2hex or hex2mem that there has been an error. */
-static volatile int mem_err = 0;
-
-/* Store the vector number here (since GDB only gets the signal
- number through the usual means, and that's not very specific). */
-int gdb_m32r_vector = -1;
-
-#if 0
-#include "syscall.h" /* for SYS_exit, SYS_write etc. */
-#endif
-
-/* Global entry points:
- */
-
-extern void handle_exception (int);
-extern void set_debug_traps (void);
-extern void breakpoint (void);
-
-/* Local functions:
- */
-
-static int computeSignal (int);
-static void putpacket (unsigned char *);
-static unsigned char *getpacket (void);
-
-static unsigned char *mem2hex (unsigned char *, unsigned char *, int, int);
-static unsigned char *hex2mem (unsigned char *, unsigned char *, int, int);
-static int hexToInt (unsigned char **, int *);
-static unsigned char *bin2mem (unsigned char *, unsigned char *, int, int);
-static void stash_registers (void);
-static void restore_registers (void);
-static int prepare_to_step (int);
-static int finish_from_step (void);
-static unsigned long crc32 (unsigned char *, int, unsigned long);
-
-static void gdb_error (char *, char *);
-static int gdb_putchar (int), gdb_puts (char *), gdb_write (char *, int);
-
-static unsigned char *strcpy (unsigned char *, const unsigned char *);
-static int strlen (const unsigned char *);
-
-/*
- * This function does all command procesing for interfacing to gdb.
- */
-
-void
-handle_exception (int exceptionVector)
-{
- int sigval, stepping;
- int addr, length, i;
- unsigned char *ptr;
- unsigned char buf[16];
- int binary;
-
- if (!finish_from_step ())
- return; /* "false step": let the target continue */
-
- gdb_m32r_vector = exceptionVector;
-
- if (remote_debug)
- {
- mem2hex ((unsigned char *) &exceptionVector, buf, 4, 0);
- gdb_error ("Handle exception %s, ", buf);
- mem2hex ((unsigned char *) &registers[PC], buf, 4, 0);
- gdb_error ("PC == 0x%s\n", buf);
- }
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal (exceptionVector);
-
- ptr = remcomOutBuffer;
-
- *ptr++ = 'T'; /* notify gdb with signo, PC, FP and SP */
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- *ptr++ = hexchars[PC >> 4];
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex ((unsigned char *) &registers[PC], ptr, 4, 0); /* PC */
- *ptr++ = ';';
-
- *ptr++ = hexchars[R13 >> 4];
- *ptr++ = hexchars[R13 & 0xf];
- *ptr++ = ':';
- ptr = mem2hex ((unsigned char *) &registers[R13], ptr, 4, 0); /* FP */
- *ptr++ = ';';
-
- *ptr++ = hexchars[R15 >> 4];
- *ptr++ = hexchars[R15 & 0xf];
- *ptr++ = ':';
- ptr = mem2hex ((unsigned char *) &registers[R15], ptr, 4, 0); /* SP */
- *ptr++ = ';';
- *ptr++ = 0;
-
- if (exceptionVector == 0) /* simulated SYS call stuff */
- {
- mem2hex ((unsigned char *) &registers[PC], buf, 4, 0);
- switch (registers[R0])
- {
- case SYS_exit:
- gdb_error ("Target program has exited at %s\n", buf);
- ptr = remcomOutBuffer;
- *ptr++ = 'W';
- sigval = registers[R1] & 0xff;
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
- *ptr++ = 0;
- break;
- case SYS_open:
- gdb_error ("Target attempts SYS_open call at %s\n", buf);
- break;
- case SYS_close:
- gdb_error ("Target attempts SYS_close call at %s\n", buf);
- break;
- case SYS_read:
- gdb_error ("Target attempts SYS_read call at %s\n", buf);
- break;
- case SYS_write:
- if (registers[R1] == 1 || /* write to stdout */
- registers[R1] == 2) /* write to stderr */
- { /* (we can do that) */
- registers[R0] =
- gdb_write ((void *) registers[R2], registers[R3]);
- return;
- }
- else
- gdb_error ("Target attempts SYS_write call at %s\n", buf);
- break;
- case SYS_lseek:
- gdb_error ("Target attempts SYS_lseek call at %s\n", buf);
- break;
- case SYS_unlink:
- gdb_error ("Target attempts SYS_unlink call at %s\n", buf);
- break;
- case SYS_getpid:
- gdb_error ("Target attempts SYS_getpid call at %s\n", buf);
- break;
- case SYS_kill:
- gdb_error ("Target attempts SYS_kill call at %s\n", buf);
- break;
- case SYS_fstat:
- gdb_error ("Target attempts SYS_fstat call at %s\n", buf);
- break;
- default:
- gdb_error ("Target attempts unknown SYS call at %s\n", buf);
- break;
- }
- }
-
- putpacket (remcomOutBuffer);
-
- stepping = 0;
-
- while (1 == 1)
- {
- remcomOutBuffer[0] = 0;
- ptr = getpacket ();
- binary = 0;
- switch (*ptr++)
- {
- default: /* Unknown code. Return an empty reply message. */
- break;
- case 'R':
- if (hexToInt (&ptr, &addr))
- registers[PC] = addr;
- strcpy (remcomOutBuffer, "OK");
- break;
- case '!':
- strcpy (remcomOutBuffer, "OK");
- break;
- case 'X': /* XAA..AA,LLLL:<binary data>#cs */
- binary = 1;
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* TRY TO READ '%x,%x:'. IF SUCCEED, SET PTR = 0 */
- {
- if (hexToInt (&ptr, &addr))
- if (*(ptr++) == ',')
- if (hexToInt (&ptr, &length))
- if (*(ptr++) == ':')
- {
- mem_err = 0;
- if (binary)
- bin2mem (ptr, (unsigned char *) addr, length, 1);
- else
- hex2mem (ptr, (unsigned char *) addr, length, 1);
- if (mem_err)
- {
- strcpy (remcomOutBuffer, "E03");
- gdb_error ("memory fault", "");
- }
- else
- {
- strcpy (remcomOutBuffer, "OK");
- }
- ptr = 0;
- }
- if (ptr)
- {
- strcpy (remcomOutBuffer, "E02");
- }
- }
- break;
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* TRY TO READ %x,%x. IF SUCCEED, SET PTR = 0 */
- if (hexToInt (&ptr, &addr))
- if (*(ptr++) == ',')
- if (hexToInt (&ptr, &length))
- {
- ptr = 0;
- mem_err = 0;
- mem2hex ((unsigned char *) addr, remcomOutBuffer, length,
- 1);
- if (mem_err)
- {
- strcpy (remcomOutBuffer, "E03");
- gdb_error ("memory fault", "");
- }
- }
- if (ptr)
- {
- strcpy (remcomOutBuffer, "E01");
- }
- break;
- case '?':
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval % 16];
- remcomOutBuffer[3] = 0;
- break;
- case 'd':
- remote_debug = !(remote_debug); /* toggle debug flag */
- break;
- case 'g': /* return the value of the CPU registers */
- mem2hex ((unsigned char *) registers, remcomOutBuffer, NUMREGBYTES,
- 0);
- break;
- case 'P': /* set the value of a single CPU register - return OK */
- {
- int regno;
-
- if (hexToInt (&ptr, &regno) && *ptr++ == '=')
- if (regno >= 0 && regno < NUMREGS)
- {
- int stackmode;
-
- hex2mem (ptr, (unsigned char *) &registers[regno], 4, 0);
- /*
- * Since we just changed a single CPU register, let's
- * make sure to keep the several stack pointers consistant.
- */
- stackmode = registers[PSW] & 0x80;
- if (regno == R15) /* stack pointer changed */
- { /* need to change SPI or SPU */
- if (stackmode == 0)
- registers[SPI] = registers[R15];
- else
- registers[SPU] = registers[R15];
- }
- else if (regno == SPU) /* "user" stack pointer changed */
- {
- if (stackmode != 0) /* stack in user mode: copy SP */
- registers[R15] = registers[SPU];
- }
- else if (regno == SPI) /* "interrupt" stack pointer changed */
- {
- if (stackmode == 0) /* stack in interrupt mode: copy SP */
- registers[R15] = registers[SPI];
- }
- else if (regno == PSW) /* stack mode may have changed! */
- { /* force SP to either SPU or SPI */
- if (stackmode == 0) /* stack in user mode */
- registers[R15] = registers[SPI];
- else /* stack in interrupt mode */
- registers[R15] = registers[SPU];
- }
- strcpy (remcomOutBuffer, "OK");
- break;
- }
- strcpy (remcomOutBuffer, "E01");
- break;
- }
- case 'G': /* set the value of the CPU registers - return OK */
- hex2mem (ptr, (unsigned char *) registers, NUMREGBYTES, 0);
- strcpy (remcomOutBuffer, "OK");
- break;
- case 's': /* sAA..AA Step one instruction from AA..AA(optional) */
- stepping = 1;
- case 'c': /* cAA..AA Continue from address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
- if (hexToInt (&ptr, &addr))
- registers[PC] = addr;
-
- if (stepping) /* single-stepping */
- {
- if (!prepare_to_step (0)) /* set up for single-step */
- {
- /* prepare_to_step has already emulated the target insn:
- Send SIGTRAP to gdb, don't resume the target at all. */
- ptr = remcomOutBuffer;
- *ptr++ = 'T'; /* Simulate stopping with SIGTRAP */
- *ptr++ = '0';
- *ptr++ = '5';
-
- *ptr++ = hexchars[PC >> 4]; /* send PC */
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex ((unsigned char *) &registers[PC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[R13 >> 4]; /* send FP */
- *ptr++ = hexchars[R13 & 0xf];
- *ptr++ = ':';
- ptr =
- mem2hex ((unsigned char *) &registers[R13], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[R15 >> 4]; /* send SP */
- *ptr++ = hexchars[R15 & 0xf];
- *ptr++ = ':';
- ptr =
- mem2hex ((unsigned char *) &registers[R15], ptr, 4, 0);
- *ptr++ = ';';
- *ptr++ = 0;
-
- break;
- }
- }
- else /* continuing, not single-stepping */
- {
- /* OK, about to do a "continue". First check to see if the
- target pc is on an odd boundary (second instruction in the
- word). If so, we must do a single-step first, because
- ya can't jump or return back to an odd boundary! */
- if ((registers[PC] & 2) != 0)
- prepare_to_step (1);
- }
-
- return;
-
- case 'D': /* Detach */
-#if 0
- /* I am interpreting this to mean, release the board from control
- by the remote stub. To do this, I am restoring the original
- (or at least previous) exception vectors.
- */
- for (i = 0; i < 18; i++)
- exceptionHandler (i, save_vectors[i]);
- putpacket ("OK");
- return; /* continue the inferior */
-#else
- strcpy (remcomOutBuffer, "OK");
- break;
-#endif
- case 'q':
- if (*ptr++ == 'C' &&
- *ptr++ == 'R' && *ptr++ == 'C' && *ptr++ == ':')
- {
- unsigned long start, len, our_crc;
-
- if (hexToInt (&ptr, (int *) &start) &&
- *ptr++ == ',' && hexToInt (&ptr, (int *) &len))
- {
- remcomOutBuffer[0] = 'C';
- our_crc = crc32 ((unsigned char *) start, len, 0xffffffff);
- mem2hex ((char *) &our_crc,
- &remcomOutBuffer[1], sizeof (long), 0);
- } /* else do nothing */
- } /* else do nothing */
- break;
-
- case 'k': /* kill the program */
- continue;
- } /* switch */
-
- /* reply to the request */
- putpacket (remcomOutBuffer);
- }
-}
-
-/* qCRC support */
-
-/* Table used by the crc32 function to calcuate the checksum. */
-static unsigned long crc32_table[256] = { 0, 0 };
-
-static unsigned long
-crc32 (unsigned char *buf, int len, unsigned long crc)
-{
- if (!crc32_table[1])
- {
- /* Initialize the CRC table and the decoding table. */
- int i, j;
- unsigned long c;
-
- for (i = 0; i < 256; i++)
- {
- for (c = i << 24, j = 8; j > 0; --j)
- c = c & 0x80000000 ? (c << 1) ^ 0x04c11db7 : (c << 1);
- crc32_table[i] = c;
- }
- }
-
- while (len--)
- {
- crc = (crc << 8) ^ crc32_table[((crc >> 24) ^ *buf) & 255];
- buf++;
- }
- return crc;
-}
-
-static int
-hex (unsigned char ch)
-{
- if ((ch >= 'a') && (ch <= 'f'))
- return (ch - 'a' + 10);
- if ((ch >= '0') && (ch <= '9'))
- return (ch - '0');
- if ((ch >= 'A') && (ch <= 'F'))
- return (ch - 'A' + 10);
- return (-1);
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-unsigned char *
-getpacket (void)
-{
- unsigned char *buffer = &remcomInBuffer[0];
- unsigned char checksum;
- unsigned char xmitcsum;
- int count;
- char ch;
-
- while (1)
- {
- /* wait around for the start character, ignore all other characters */
- while ((ch = getDebugChar ()) != '$')
- ;
-
- retry:
- checksum = 0;
- xmitcsum = -1;
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX - 1)
- {
- ch = getDebugChar ();
- if (ch == '$')
- goto retry;
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
- buffer[count] = 0;
-
- if (ch == '#')
- {
- ch = getDebugChar ();
- xmitcsum = hex (ch) << 4;
- ch = getDebugChar ();
- xmitcsum += hex (ch);
-
- if (checksum != xmitcsum)
- {
- if (remote_debug)
- {
- unsigned char buf[16];
-
- mem2hex ((unsigned char *) &checksum, buf, 4, 0);
- gdb_error ("Bad checksum: my count = %s, ", buf);
- mem2hex ((unsigned char *) &xmitcsum, buf, 4, 0);
- gdb_error ("sent count = %s\n", buf);
- gdb_error (" -- Bad buffer: \"%s\"\n", buffer);
- }
- putDebugChar ('-'); /* failed checksum */
- }
- else
- {
- putDebugChar ('+'); /* successful transfer */
-
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':')
- {
- putDebugChar (buffer[0]);
- putDebugChar (buffer[1]);
-
- return &buffer[3];
- }
-
- return &buffer[0];
- }
- }
- }
-}
-
-/* send the packet in buffer. */
-
-static void
-putpacket (unsigned char *buffer)
-{
- unsigned char checksum;
- int count;
- char ch;
-
- /* $<packet info>#<checksum>. */
- do
- {
- putDebugChar ('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count])
- {
- putDebugChar (ch);
- checksum += ch;
- count += 1;
- }
- putDebugChar ('#');
- putDebugChar (hexchars[checksum >> 4]);
- putDebugChar (hexchars[checksum % 16]);
- }
- while (getDebugChar () != '+');
-}
-
-/* Address of a routine to RTE to if we get a memory fault. */
-
-static void (*volatile mem_fault_routine) () = 0;
-
-static void
-set_mem_err (void)
-{
- mem_err = 1;
-}
-
-/* Check the address for safe access ranges. As currently defined,
- this routine will reject the "expansion bus" address range(s).
- To make those ranges useable, someone must implement code to detect
- whether there's anything connected to the expansion bus. */
-
-static int
-mem_safe (unsigned char *addr)
-{
-#define BAD_RANGE_ONE_START ((unsigned char *) 0x600000)
-#define BAD_RANGE_ONE_END ((unsigned char *) 0xa00000)
-#define BAD_RANGE_TWO_START ((unsigned char *) 0xff680000)
-#define BAD_RANGE_TWO_END ((unsigned char *) 0xff800000)
-
- if (addr < BAD_RANGE_ONE_START)
- return 1; /* safe */
- if (addr < BAD_RANGE_ONE_END)
- return 0; /* unsafe */
- if (addr < BAD_RANGE_TWO_START)
- return 1; /* safe */
- if (addr < BAD_RANGE_TWO_END)
- return 0; /* unsafe */
-}
-
-/* These are separate functions so that they are so short and sweet
- that the compiler won't save any registers (if there is a fault
- to mem_fault, they won't get restored, so there better not be any
- saved). */
-static int
-get_char (unsigned char *addr)
-{
-#if 1
- if (mem_fault_routine && !mem_safe (addr))
- {
- mem_fault_routine ();
- return 0;
- }
-#endif
- return *addr;
-}
-
-static void
-set_char (unsigned char *addr, unsigned char val)
-{
-#if 1
- if (mem_fault_routine && !mem_safe (addr))
- {
- mem_fault_routine ();
- return;
- }
-#endif
- *addr = val;
-}
-
-/* Convert the memory pointed to by mem into hex, placing result in buf.
- Return a pointer to the last char put in buf (null).
- If MAY_FAULT is non-zero, then we should set mem_err in response to
- a fault; if zero treat a fault like any other fault in the stub. */
-
-static unsigned char *
-mem2hex (unsigned char *mem, unsigned char *buf, int count, int may_fault)
-{
- int i;
- unsigned char ch;
-
- if (may_fault)
- mem_fault_routine = set_mem_err;
- for (i = 0; i < count; i++)
- {
- ch = get_char (mem++);
- if (may_fault && mem_err)
- return (buf);
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch % 16];
- }
- *buf = 0;
- if (may_fault)
- mem_fault_routine = 0;
- return (buf);
-}
-
-/* Convert the hex array pointed to by buf into binary to be placed in mem.
- Return a pointer to the character AFTER the last byte written. */
-
-static unsigned char *
-hex2mem (unsigned char *buf, unsigned char *mem, int count, int may_fault)
-{
- int i;
- unsigned char ch;
-
- if (may_fault)
- mem_fault_routine = set_mem_err;
- for (i = 0; i < count; i++)
- {
- ch = hex (*buf++) << 4;
- ch = ch + hex (*buf++);
- set_char (mem++, ch);
- if (may_fault && mem_err)
- return (mem);
- }
- if (may_fault)
- mem_fault_routine = 0;
- return (mem);
-}
-
-/* Convert the binary stream in BUF to memory.
-
- Gdb will escape $, #, and the escape char (0x7d).
- COUNT is the total number of bytes to write into
- memory. */
-static unsigned char *
-bin2mem (unsigned char *buf, unsigned char *mem, int count, int may_fault)
-{
- int i;
- unsigned char ch;
-
- if (may_fault)
- mem_fault_routine = set_mem_err;
- for (i = 0; i < count; i++)
- {
- /* Check for any escaped characters. Be paranoid and
- only unescape chars that should be escaped. */
- if (*buf == 0x7d)
- {
- switch (*(buf + 1))
- {
- case 0x3: /* # */
- case 0x4: /* $ */
- case 0x5d: /* escape char */
- buf++;
- *buf |= 0x20;
- break;
- default:
- /* nothing */
- break;
- }
- }
-
- set_char (mem++, *buf++);
-
- if (may_fault && mem_err)
- return mem;
- }
-
- if (may_fault)
- mem_fault_routine = 0;
- return mem;
-}
-
-/* this function takes the m32r exception vector and attempts to
- translate this number into a unix compatible signal value */
-
-static int
-computeSignal (int exceptionVector)
-{
- int sigval;
- switch (exceptionVector)
- {
- case 0:
- sigval = 23;
- break; /* I/O trap */
- case 1:
- sigval = 5;
- break; /* breakpoint */
- case 2:
- sigval = 5;
- break; /* breakpoint */
- case 3:
- sigval = 5;
- break; /* breakpoint */
- case 4:
- sigval = 5;
- break; /* breakpoint */
- case 5:
- sigval = 5;
- break; /* breakpoint */
- case 6:
- sigval = 5;
- break; /* breakpoint */
- case 7:
- sigval = 5;
- break; /* breakpoint */
- case 8:
- sigval = 5;
- break; /* breakpoint */
- case 9:
- sigval = 5;
- break; /* breakpoint */
- case 10:
- sigval = 5;
- break; /* breakpoint */
- case 11:
- sigval = 5;
- break; /* breakpoint */
- case 12:
- sigval = 5;
- break; /* breakpoint */
- case 13:
- sigval = 5;
- break; /* breakpoint */
- case 14:
- sigval = 5;
- break; /* breakpoint */
- case 15:
- sigval = 5;
- break; /* breakpoint */
- case 16:
- sigval = 10;
- break; /* BUS ERROR (alignment) */
- case 17:
- sigval = 2;
- break; /* INTerrupt */
- default:
- sigval = 7;
- break; /* "software generated" */
- }
- return (sigval);
-}
-
-/**********************************************/
-/* WHILE WE FIND NICE HEX CHARS, BUILD AN INT */
-/* RETURN NUMBER OF CHARS PROCESSED */
-/**********************************************/
-static int
-hexToInt (unsigned char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
- while (**ptr)
- {
- hexValue = hex (**ptr);
- if (hexValue >= 0)
- {
- *intValue = (*intValue << 4) | hexValue;
- numChars++;
- }
- else
- break;
- (*ptr)++;
- }
- return (numChars);
-}
-
-/*
- Table of branch instructions:
-
- 10B6 RTE return from trap or exception
- 1FCr JMP jump
- 1ECr JL jump and link
- 7Fxx BRA branch
- FFxxxxxx BRA branch (long)
- B09rxxxx BNEZ branch not-equal-zero
- Br1rxxxx BNE branch not-equal
- 7Dxx BNC branch not-condition
- FDxxxxxx BNC branch not-condition (long)
- B0Arxxxx BLTZ branch less-than-zero
- B0Crxxxx BLEZ branch less-equal-zero
- 7Exx BL branch and link
- FExxxxxx BL branch and link (long)
- B0Drxxxx BGTZ branch greater-than-zero
- B0Brxxxx BGEZ branch greater-equal-zero
- B08rxxxx BEQZ branch equal-zero
- Br0rxxxx BEQ branch equal
- 7Cxx BC branch condition
- FCxxxxxx BC branch condition (long)
- */
-
-static int
-isShortBranch (unsigned char *instr)
-{
- unsigned char instr0 = instr[0] & 0x7F; /* mask off high bit */
-
- if (instr0 == 0x10 && instr[1] == 0xB6) /* RTE */
- return 1; /* return from trap or exception */
-
- if (instr0 == 0x1E || instr0 == 0x1F) /* JL or JMP */
- if ((instr[1] & 0xF0) == 0xC0)
- return 2; /* jump thru a register */
-
- if (instr0 == 0x7C || instr0 == 0x7D || /* BC, BNC, BL, BRA */
- instr0 == 0x7E || instr0 == 0x7F)
- return 3; /* eight bit PC offset */
-
- return 0;
-}
-
-static int
-isLongBranch (unsigned char *instr)
-{
- if (instr[0] == 0xFC || instr[0] == 0xFD || /* BRA, BNC, BL, BC */
- instr[0] == 0xFE || instr[0] == 0xFF) /* 24 bit relative */
- return 4;
- if ((instr[0] & 0xF0) == 0xB0) /* 16 bit relative */
- {
- if ((instr[1] & 0xF0) == 0x00 || /* BNE, BEQ */
- (instr[1] & 0xF0) == 0x10)
- return 5;
- if (instr[0] == 0xB0) /* BNEZ, BLTZ, BLEZ, BGTZ, BGEZ, BEQZ */
- if ((instr[1] & 0xF0) == 0x80 || (instr[1] & 0xF0) == 0x90 ||
- (instr[1] & 0xF0) == 0xA0 || (instr[1] & 0xF0) == 0xB0 ||
- (instr[1] & 0xF0) == 0xC0 || (instr[1] & 0xF0) == 0xD0)
- return 6;
- }
- return 0;
-}
-
-/* if address is NOT on a 4-byte boundary, or high-bit of instr is zero,
- then it's a 2-byte instruction, else it's a 4-byte instruction. */
-
-#define INSTRUCTION_SIZE(addr) \
- ((((int) addr & 2) || (((unsigned char *) addr)[0] & 0x80) == 0) ? 2 : 4)
-
-static int
-isBranch (unsigned char *instr)
-{
- if (INSTRUCTION_SIZE (instr) == 2)
- return isShortBranch (instr);
- else
- return isLongBranch (instr);
-}
-
-static int
-willBranch (unsigned char *instr, int branchCode)
-{
- switch (branchCode)
- {
- case 0:
- return 0; /* not a branch */
- case 1:
- return 1; /* RTE */
- case 2:
- return 1; /* JL or JMP */
- case 3: /* BC, BNC, BL, BRA (short) */
- case 4: /* BC, BNC, BL, BRA (long) */
- switch (instr[0] & 0x0F)
- {
- case 0xC: /* Branch if Condition Register */
- return (registers[CBR] != 0);
- case 0xD: /* Branch if NOT Condition Register */
- return (registers[CBR] == 0);
- case 0xE: /* Branch and Link */
- case 0xF: /* Branch (unconditional) */
- return 1;
- default: /* oops? */
- return 0;
- }
- case 5: /* BNE, BEQ */
- switch (instr[1] & 0xF0)
- {
- case 0x00: /* Branch if r1 equal to r2 */
- return (registers[instr[0] & 0x0F] == registers[instr[1] & 0x0F]);
- case 0x10: /* Branch if r1 NOT equal to r2 */
- return (registers[instr[0] & 0x0F] != registers[instr[1] & 0x0F]);
- default: /* oops? */
- return 0;
- }
- case 6: /* BNEZ, BLTZ, BLEZ, BGTZ, BGEZ ,BEQZ */
- switch (instr[1] & 0xF0)
- {
- case 0x80: /* Branch if reg equal to zero */
- return (registers[instr[1] & 0x0F] == 0);
- case 0x90: /* Branch if reg NOT equal to zero */
- return (registers[instr[1] & 0x0F] != 0);
- case 0xA0: /* Branch if reg less than zero */
- return (registers[instr[1] & 0x0F] < 0);
- case 0xB0: /* Branch if reg greater or equal to zero */
- return (registers[instr[1] & 0x0F] >= 0);
- case 0xC0: /* Branch if reg less than or equal to zero */
- return (registers[instr[1] & 0x0F] <= 0);
- case 0xD0: /* Branch if reg greater than zero */
- return (registers[instr[1] & 0x0F] > 0);
- default: /* oops? */
- return 0;
- }
- default: /* oops? */
- return 0;
- }
-}
-
-static int
-branchDestination (unsigned char *instr, int branchCode)
-{
- switch (branchCode)
- {
- default:
- case 0: /* not a branch */
- return 0;
- case 1: /* RTE */
- return registers[BPC] & ~3; /* pop BPC into PC */
- case 2: /* JL or JMP */
- return registers[instr[1] & 0x0F] & ~3; /* jump thru a register */
- case 3: /* BC, BNC, BL, BRA (short, 8-bit relative offset) */
- return (((int) instr) & ~3) + ((char) instr[1] << 2);
- case 4: /* BC, BNC, BL, BRA (long, 24-bit relative offset) */
- return ((int) instr +
- ((((char) instr[1] << 16) | (instr[2] << 8) | (instr[3])) <<
- 2));
- case 5: /* BNE, BEQ (16-bit relative offset) */
- case 6: /* BNEZ, BLTZ, BLEZ, BGTZ, BGEZ ,BEQZ (ditto) */
- return ((int) instr + ((((char) instr[2] << 8) | (instr[3])) << 2));
- }
-
- /* An explanatory note: in the last three return expressions, I have
- cast the most-significant byte of the return offset to char.
- What this accomplishes is sign extension. If the other
- less-significant bytes were signed as well, they would get sign
- extended too and, if negative, their leading bits would clobber
- the bits of the more-significant bytes ahead of them. There are
- other ways I could have done this, but sign extension from
- odd-sized integers is always a pain. */
-}
-
-static void
-branchSideEffects (unsigned char *instr, int branchCode)
-{
- switch (branchCode)
- {
- case 1: /* RTE */
- return; /* I <THINK> this is already handled... */
- case 2: /* JL (or JMP) */
- case 3: /* BL (or BC, BNC, BRA) */
- case 4:
- if ((instr[0] & 0x0F) == 0x0E) /* branch/jump and link */
- registers[R14] = (registers[PC] & ~3) + 4;
- return;
- default: /* any other branch has no side effects */
- return;
- }
-}
-
-static struct STEPPING_CONTEXT
-{
- int stepping; /* true when we've started a single-step */
- unsigned long target_addr; /* the instr we're trying to execute */
- unsigned long target_size; /* the size of the target instr */
- unsigned long noop_addr; /* where we've inserted a no-op, if any */
- unsigned long trap1_addr; /* the trap following the target instr */
- unsigned long trap2_addr; /* the trap at a branch destination, if any */
- unsigned short noop_save; /* instruction overwritten by our no-op */
- unsigned short trap1_save; /* instruction overwritten by trap1 */
- unsigned short trap2_save; /* instruction overwritten by trap2 */
- unsigned short continue_p; /* true if NOT returning to gdb after step */
-} stepping;
-
-/* Function: prepare_to_step
- Called from handle_exception to prepare the user program to single-step.
- Places a trap instruction after the target instruction, with special
- extra handling for branch instructions and for instructions in the
- second half-word of a word.
-
- Returns: True if we should actually execute the instruction;
- False if we are going to emulate executing the instruction,
- in which case we simply report to GDB that the instruction
- has already been executed. */
-
-#define TRAP1 0x10f1; /* trap #1 instruction */
-#define NOOP 0x7000; /* noop instruction */
-
-static unsigned short trap1 = TRAP1;
-static unsigned short noop = NOOP;
-
-static int
-prepare_to_step (continue_p)
- int continue_p; /* if this isn't REALLY a single-step (see below) */
-{
- unsigned long pc = registers[PC];
- int branchCode = isBranch ((unsigned char *) pc);
- unsigned char *p;
-
- /* zero out the stepping context
- (paranoia -- it should already be zeroed) */
- for (p = (unsigned char *) &stepping;
- p < ((unsigned char *) &stepping) + sizeof (stepping); p++)
- *p = 0;
-
- if (branchCode != 0) /* next instruction is a branch */
- {
- branchSideEffects ((unsigned char *) pc, branchCode);
- if (willBranch ((unsigned char *) pc, branchCode))
- registers[PC] = branchDestination ((unsigned char *) pc, branchCode);
- else
- registers[PC] = pc + INSTRUCTION_SIZE (pc);
- return 0; /* branch "executed" -- just notify GDB */
- }
- else if (((int) pc & 2) != 0) /* "second-slot" instruction */
- {
- /* insert no-op before pc */
- stepping.noop_addr = pc - 2;
- stepping.noop_save = *(unsigned short *) stepping.noop_addr;
- *(unsigned short *) stepping.noop_addr = noop;
- /* insert trap after pc */
- stepping.trap1_addr = pc + 2;
- stepping.trap1_save = *(unsigned short *) stepping.trap1_addr;
- *(unsigned short *) stepping.trap1_addr = trap1;
- }
- else /* "first-slot" instruction */
- {
- /* insert trap after pc */
- stepping.trap1_addr = pc + INSTRUCTION_SIZE (pc);
- stepping.trap1_save = *(unsigned short *) stepping.trap1_addr;
- *(unsigned short *) stepping.trap1_addr = trap1;
- }
- /* "continue_p" means that we are actually doing a continue, and not
- being requested to single-step by GDB. Sometimes we have to do
- one single-step before continuing, because the PC is on a half-word
- boundary. There's no way to simply resume at such an address. */
- stepping.continue_p = continue_p;
- stepping.stepping = 1; /* starting a single-step */
- return 1;
-}
-
-/* Function: finish_from_step
- Called from handle_exception to finish up when the user program
- returns from a single-step. Replaces the instructions that had
- been overwritten by traps or no-ops,
-
- Returns: True if we should notify GDB that the target stopped.
- False if we only single-stepped because we had to before we
- could continue (ie. we were trying to continue at a
- half-word boundary). In that case don't notify GDB:
- just "continue continuing". */
-
-static int
-finish_from_step (void)
-{
- if (stepping.stepping) /* anything to do? */
- {
- int continue_p = stepping.continue_p;
- unsigned char *p;
-
- if (stepping.noop_addr) /* replace instr "under" our no-op */
- *(unsigned short *) stepping.noop_addr = stepping.noop_save;
- if (stepping.trap1_addr) /* replace instr "under" our trap */
- *(unsigned short *) stepping.trap1_addr = stepping.trap1_save;
- if (stepping.trap2_addr) /* ditto our other trap, if any */
- *(unsigned short *) stepping.trap2_addr = stepping.trap2_save;
-
- for (p = (unsigned char *) &stepping; /* zero out the stepping context */
- p < ((unsigned char *) &stepping) + sizeof (stepping); p++)
- *p = 0;
-
- return !(continue_p);
- }
- else /* we didn't single-step, therefore this must be a legitimate stop */
- return 1;
-}
-
-struct PSWreg
-{ /* separate out the bit flags in the PSW register */
- int pad1:16;
- int bsm:1;
- int bie:1;
- int pad2:5;
- int bc:1;
- int sm:1;
- int ie:1;
- int pad3:5;
- int c:1;
-} *psw;
-
-/* Upon entry the value for LR to save has been pushed.
- We unpush that so that the value for the stack pointer saved is correct.
- Upon entry, all other registers are assumed to have not been modified
- since the interrupt/trap occured. */
-
-asm ("\n\
-stash_registers:\n\
- push r0\n\
- push r1\n\
- seth r1, #shigh(registers)\n\
- add3 r1, r1, #low(registers)\n\
- pop r0 ; r1\n\
- st r0, @(4,r1)\n\
- pop r0 ; r0\n\
- st r0, @r1\n\
- addi r1, #4 ; only add 4 as subsequent saves are `pre inc'\n\
- st r2, @+r1\n\
- st r3, @+r1\n\
- st r4, @+r1\n\
- st r5, @+r1\n\
- st r6, @+r1\n\
- st r7, @+r1\n\
- st r8, @+r1\n\
- st r9, @+r1\n\
- st r10, @+r1\n\
- st r11, @+r1\n\
- st r12, @+r1\n\
- st r13, @+r1 ; fp\n\
- pop r0 ; lr (r14)\n\
- st r0, @+r1\n\
- st sp, @+r1 ; sp contains right value at this point\n\
- mvfc r0, cr0\n\
- st r0, @+r1 ; cr0 == PSW\n\
- mvfc r0, cr1\n\
- st r0, @+r1 ; cr1 == CBR\n\
- mvfc r0, cr2\n\
- st r0, @+r1 ; cr2 == SPI\n\
- mvfc r0, cr3\n\
- st r0, @+r1 ; cr3 == SPU\n\
- mvfc r0, cr6\n\
- st r0, @+r1 ; cr6 == BPC\n\
- st r0, @+r1 ; PC == BPC\n\
- mvfaclo r0\n\
- st r0, @+r1 ; ACCL\n\
- mvfachi r0\n\
- st r0, @+r1 ; ACCH\n\
- jmp lr");
-
-/* C routine to clean up what stash_registers did.
- It is called after calling stash_registers.
- This is separate from stash_registers as we want to do this in C
- but doing stash_registers in C isn't straightforward. */
-
-static void
-cleanup_stash (void)
-{
- psw = (struct PSWreg *) &registers[PSW]; /* fields of PSW register */
- psw->sm = psw->bsm; /* fix up pre-trap values of psw fields */
- psw->ie = psw->bie;
- psw->c = psw->bc;
- registers[CBR] = psw->bc; /* fix up pre-trap "C" register */
-
-#if 0 /* FIXME: Was in previous version. Necessary?
- (Remember that we use the "rte" insn to return from the
- trap/interrupt so the values of bsm, bie, bc are important. */
- psw->bsm = psw->bie = psw->bc = 0; /* zero post-trap values */
-#endif
-
- /* FIXME: Copied from previous version. This can probably be deleted
- since methinks stash_registers has already done this. */
- registers[PC] = registers[BPC]; /* pre-trap PC */
-
- /* FIXME: Copied from previous version. Necessary? */
- if (psw->sm) /* copy R15 into (psw->sm ? SPU : SPI) */
- registers[SPU] = registers[R15];
- else
- registers[SPI] = registers[R15];
-}
-
-asm ("\n\
-restore_and_return:\n\
- seth r0, #shigh(registers+8)\n\
- add3 r0, r0, #low(registers+8)\n\
- ld r2, @r0+ ; restore r2\n\
- ld r3, @r0+ ; restore r3\n\
- ld r4, @r0+ ; restore r4\n\
- ld r5, @r0+ ; restore r5\n\
- ld r6, @r0+ ; restore r6\n\
- ld r7, @r0+ ; restore r7\n\
- ld r8, @r0+ ; restore r8\n\
- ld r9, @r0+ ; restore r9\n\
- ld r10, @r0+ ; restore r10\n\
- ld r11, @r0+ ; restore r11\n\
- ld r12, @r0+ ; restore r12\n\
- ld r13, @r0+ ; restore r13\n\
- ld r14, @r0+ ; restore r14\n\
- ld r15, @r0+ ; restore r15\n\
- ld r1, @r0+ ; restore cr0 == PSW\n\
- mvtc r1, cr0\n\
- ld r1, @r0+ ; restore cr1 == CBR (no-op, because it's read only)\n\
- mvtc r1, cr1\n\
- ld r1, @r0+ ; restore cr2 == SPI\n\
- mvtc r1, cr2\n\
- ld r1, @r0+ ; restore cr3 == SPU\n\
- mvtc r1, cr3\n\
- addi r0, #4 ; skip BPC\n\
- ld r1, @r0+ ; restore cr6 (BPC) == PC\n\
- mvtc r1, cr6\n\
- ld r1, @r0+ ; restore ACCL\n\
- mvtaclo r1\n\
- ld r1, @r0+ ; restore ACCH\n\
- mvtachi r1\n\
- seth r0, #shigh(registers)\n\
- add3 r0, r0, #low(registers)\n\
- ld r1, @(4,r0) ; restore r1\n\
- ld r0, @r0 ; restore r0\n\
- rte");
-
-/* General trap handler, called after the registers have been stashed.
- NUM is the trap/exception number. */
-
-static void
-process_exception (int num)
-{
- cleanup_stash ();
- asm volatile ("\n\
- seth r1, #shigh(stackPtr)\n\
- add3 r1, r1, #low(stackPtr)\n\
- ld r15, @r1 ; setup local stack (protect user stack)\n\
- mv r0, %0\n\
- bl handle_exception\n\
- bl restore_and_return"::"r" (num):"r0", "r1");
-}
-
-void _catchException0 ();
-
-asm ("\n\
-_catchException0:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #0\n\
- bl process_exception");
-
-void _catchException1 ();
-
-asm ("\n\
-_catchException1:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- bl cleanup_stash\n\
- seth r1, #shigh(stackPtr)\n\
- add3 r1, r1, #low(stackPtr)\n\
- ld r15, @r1 ; setup local stack (protect user stack)\n\
- seth r1, #shigh(registers + 21*4) ; PC\n\
- add3 r1, r1, #low(registers + 21*4)\n\
- ld r0, @r1\n\
- addi r0, #-4 ; back up PC for breakpoint trap.\n\
- st r0, @r1 ; FIXME: what about bp in right slot?\n\
- ldi r0, #1\n\
- bl handle_exception\n\
- bl restore_and_return");
-
-void _catchException2 ();
-
-asm ("\n\
-_catchException2:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #2\n\
- bl process_exception");
-
-void _catchException3 ();
-
-asm ("\n\
-_catchException3:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #3\n\
- bl process_exception");
-
-void _catchException4 ();
-
-asm ("\n\
-_catchException4:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #4\n\
- bl process_exception");
-
-void _catchException5 ();
-
-asm ("\n\
-_catchException5:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #5\n\
- bl process_exception");
-
-void _catchException6 ();
-
-asm ("\n\
-_catchException6:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #6\n\
- bl process_exception");
-
-void _catchException7 ();
-
-asm ("\n\
-_catchException7:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #7\n\
- bl process_exception");
-
-void _catchException8 ();
-
-asm ("\n\
-_catchException8:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #8\n\
- bl process_exception");
-
-void _catchException9 ();
-
-asm ("\n\
-_catchException9:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #9\n\
- bl process_exception");
-
-void _catchException10 ();
-
-asm ("\n\
-_catchException10:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #10\n\
- bl process_exception");
-
-void _catchException11 ();
-
-asm ("\n\
-_catchException11:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #11\n\
- bl process_exception");
-
-void _catchException12 ();
-
-asm ("\n\
-_catchException12:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #12\n\
- bl process_exception");
-
-void _catchException13 ();
-
-asm ("\n\
-_catchException13:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #13\n\
- bl process_exception");
-
-void _catchException14 ();
-
-asm ("\n\
-_catchException14:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #14\n\
- bl process_exception");
-
-void _catchException15 ();
-
-asm ("\n\
-_catchException15:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #15\n\
- bl process_exception");
-
-void _catchException16 ();
-
-asm ("\n\
-_catchException16:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #16\n\
- bl process_exception");
-
-void _catchException17 ();
-
-asm ("\n\
-_catchException17:\n\
- push lr\n\
- bl stash_registers\n\
- ; Note that at this point the pushed value of `lr' has been popped\n\
- ldi r0, #17\n\
- bl process_exception");
-
-
-/* this function is used to set up exception handlers for tracing and
- breakpoints */
-void
-set_debug_traps (void)
-{
- /* extern void remcomHandler(); */
- int i;
-
- for (i = 0; i < 18; i++) /* keep a copy of old vectors */
- if (save_vectors[i] == 0) /* only copy them the first time */
- save_vectors[i] = getExceptionHandler (i);
-
- stackPtr = &remcomStack[STACKSIZE / sizeof (int) - 1];
-
- exceptionHandler (0, _catchException0);
- exceptionHandler (1, _catchException1);
- exceptionHandler (2, _catchException2);
- exceptionHandler (3, _catchException3);
- exceptionHandler (4, _catchException4);
- exceptionHandler (5, _catchException5);
- exceptionHandler (6, _catchException6);
- exceptionHandler (7, _catchException7);
- exceptionHandler (8, _catchException8);
- exceptionHandler (9, _catchException9);
- exceptionHandler (10, _catchException10);
- exceptionHandler (11, _catchException11);
- exceptionHandler (12, _catchException12);
- exceptionHandler (13, _catchException13);
- exceptionHandler (14, _catchException14);
- exceptionHandler (15, _catchException15);
- exceptionHandler (16, _catchException16);
- /* exceptionHandler (17, _catchException17); */
-
- initialized = 1;
-}
-
-/* This function will generate a breakpoint exception. It is used at the
- beginning of a program to sync up with a debugger and can be used
- otherwise as a quick means to stop program execution and "break" into
- the debugger. */
-
-#define BREAKPOINT() asm volatile (" trap #2");
-
-void
-breakpoint (void)
-{
- if (initialized)
- BREAKPOINT ();
-}
-
-/* STDOUT section:
- Stuff pertaining to simulating stdout by sending chars to gdb to be echoed.
- Functions: gdb_putchar(char ch)
- gdb_puts(char *str)
- gdb_write(char *str, int len)
- gdb_error(char *format, char *parm)
- */
-
-/* Function: gdb_putchar(int)
- Make gdb write a char to stdout.
- Returns: the char */
-
-static int
-gdb_putchar (int ch)
-{
- char buf[4];
-
- buf[0] = 'O';
- buf[1] = hexchars[ch >> 4];
- buf[2] = hexchars[ch & 0x0F];
- buf[3] = 0;
- putpacket (buf);
- return ch;
-}
-
-/* Function: gdb_write(char *, int)
- Make gdb write n bytes to stdout (not assumed to be null-terminated).
- Returns: number of bytes written */
-
-static int
-gdb_write (char *data, int len)
-{
- char *buf, *cpy;
- int i;
-
- buf = remcomOutBuffer;
- buf[0] = 'O';
- i = 0;
- while (i < len)
- {
- for (cpy = buf + 1;
- i < len && cpy < buf + sizeof (remcomOutBuffer) - 3; i++)
- {
- *cpy++ = hexchars[data[i] >> 4];
- *cpy++ = hexchars[data[i] & 0x0F];
- }
- *cpy = 0;
- putpacket (buf);
- }
- return len;
-}
-
-/* Function: gdb_puts(char *)
- Make gdb write a null-terminated string to stdout.
- Returns: the length of the string */
-
-static int
-gdb_puts (char *str)
-{
- return gdb_write (str, strlen (str));
-}
-
-/* Function: gdb_error(char *, char *)
- Send an error message to gdb's stdout.
- First string may have 1 (one) optional "%s" in it, which
- will cause the optional second string to be inserted. */
-
-static void
-gdb_error (char *format, char *parm)
-{
- char buf[400], *cpy;
- int len;
-
- if (remote_debug)
- {
- if (format && *format)
- len = strlen (format);
- else
- return; /* empty input */
-
- if (parm && *parm)
- len += strlen (parm);
-
- for (cpy = buf; *format;)
- {
- if (format[0] == '%' && format[1] == 's') /* include second string */
- {
- format += 2; /* advance two chars instead of just one */
- while (parm && *parm)
- *cpy++ = *parm++;
- }
- else
- *cpy++ = *format++;
- }
- *cpy = '\0';
- gdb_puts (buf);
- }
-}
-
-static unsigned char *
-strcpy (unsigned char *dest, const unsigned char *src)
-{
- unsigned char *ret = dest;
-
- if (dest && src)
- {
- while (*src)
- *dest++ = *src++;
- *dest = 0;
- }
- return ret;
-}
-
-static int
-strlen (const unsigned char *src)
-{
- int ret;
-
- for (ret = 0; *src; src++)
- ret++;
-
- return ret;
-}
-
-#if 0
-void
-exit (code)
- int code;
-{
- _exit (code);
-}
-
-int
-atexit (void *p)
-{
- return 0;
-}
-
-void
-abort (void)
-{
- _exit (1);
-}
-#endif
diff --git a/libgloss/m32r/mon.specs b/libgloss/m32r/mon.specs
deleted file mode 100644
index 5db789a..0000000
--- a/libgloss/m32r/mon.specs
+++ /dev/null
@@ -1,3 +0,0 @@
-*endfile_cpu:
--lmon %{m32rx:m32rx/crtfini.o%s} %{!m32rx:crtfini.o%s}
-
diff --git a/libgloss/m32r/open.c b/libgloss/m32r/open.c
deleted file mode 100644
index 6671c29..0000000
--- a/libgloss/m32r/open.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_open (const char *path, int flags)
-{
- return TRAP0 (SYS_open, path, flags, 0);
-}
diff --git a/libgloss/m32r/raise.c b/libgloss/m32r/raise.c
deleted file mode 100644
index b2dc2f6..0000000
--- a/libgloss/m32r/raise.c
+++ /dev/null
@@ -1,5 +0,0 @@
-/* ??? Needed? */
-
-_raise ()
-{
-}
diff --git a/libgloss/m32r/read.c b/libgloss/m32r/read.c
deleted file mode 100644
index 0e32b74..0000000
--- a/libgloss/m32r/read.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_read (int file, char *ptr, int len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/m32r/sbrk.c b/libgloss/m32r/sbrk.c
deleted file mode 100644
index bc82091..0000000
--- a/libgloss/m32r/sbrk.c
+++ /dev/null
@@ -1,34 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-caddr_t
-_sbrk (int incr)
-{
- /* `_end' is defined in the linker script.
- We must handle it carefully as we don't want the compiler to think
- it lives in the small data area. Use medium model to ensure 32 bit
- addressability. */
- extern char _end __attribute__ ((__model__(__medium__)));
- static char *heap_end;
- char *prev_heap_end;
- char *sp = (char *)&sp;
-
- if (heap_end == 0)
- {
- heap_end = &_end;
- }
- prev_heap_end = heap_end;
- if (heap_end > sp)
- {
- _write (1, "Heap and stack collision\n", 25);
-#if 0 /* Calling abort brings in the signal handling code. */
- abort ();
-#else
- exit (1);
-#endif
- }
- heap_end += incr;
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/m32r/stat.c b/libgloss/m32r/stat.c
deleted file mode 100644
index eb4c8e3..0000000
--- a/libgloss/m32r/stat.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_stat (const char *path, struct stat *st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/m32r/trap0.S b/libgloss/m32r/trap0.S
deleted file mode 100644
index 04efa13..0000000
--- a/libgloss/m32r/trap0.S
+++ /dev/null
@@ -1,16 +0,0 @@
-; Trap 0 handler (syscall interface).
-;
-; The trap handler returns the result in r0 and the error code (errno value)
-; in r2. r1 is reserved in case an 8 byte quantity ever needs to be
-; returned in registers.
-
- .text
- .global __trap0
-__trap0:
- trap #0 ; trap 0 returns result in r0, error code in r2
- cmpui r2,#1 ; is error code zero?
- bc .Lret ; yes, skip setting errno
- ld r4,@(sp) ; no, set errno
- st r2,@r4
-.Lret:
- jmp lr ; return to caller
diff --git a/libgloss/m32r/trapmon0.c b/libgloss/m32r/trapmon0.c
deleted file mode 100644
index 20a2fcb..0000000
--- a/libgloss/m32r/trapmon0.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Mon2000 Trap handler (syscall interface).
- *
- * This trap handler is linked into the mon2000 libgloss (libmon).
- */
-#include <reent.h>
-#include "syscall.h"
-
-int __trap0 (int function, int p1, int p2, int p3, struct _reent *r)
-{
- int rc = 0;
-
- switch (function) {
- case SYS_exit:
- /* loop so GDB can't go past system exit call */
- while (1) {
- asm volatile (
- "ldi r0, #0 \n"
- "trap #15 ; return control to Mon2000");
- }
- break;
-
- case SYS_write:
- {
- int i;
-
- for( i=0; i<p3; i++ ) {
- asm volatile (
- "ldi r0, #2 \n"
- "ldi r1, #15 ; load Ctrl-O (ASCII 15) \n"
- "trap #15 ; write Ctrl-O for quoting purposes" );
-
- asm volatile (
- "ldi r0, #2 \n"
- "ldb r1, %0 \n"
- "trap #15 ; write character to console"
- : /* no outputs */
- : "m" (((char*)p2)[i]));
- }
-
- rc = p3; /* return number of chars written */
- break;
- }
-
- default:
- rc = 0;
- break;
- }
-
- return rc;
-}
-
-
diff --git a/libgloss/m32r/unlink.c b/libgloss/m32r/unlink.c
deleted file mode 100644
index 14f741e..0000000
--- a/libgloss/m32r/unlink.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_unlink ()
-{
- return -1;
-}
diff --git a/libgloss/m32r/utime.c b/libgloss/m32r/utime.c
deleted file mode 100644
index ea8da2f..0000000
--- a/libgloss/m32r/utime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/m32r/write.c b/libgloss/m32r/write.c
deleted file mode 100644
index 55be40c..0000000
--- a/libgloss/m32r/write.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "syscall.h"
-#include "eit.h"
-
-int
-_write (int file, char *ptr, int len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/m68hc11/Makefile.in b/libgloss/m68hc11/Makefile.in
deleted file mode 100644
index 4a4ab59..0000000
--- a/libgloss/m68hc11/Makefile.in
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright (c) 1995, 1996, 1997 Cygnus Support
-# Copyright (c) 1999, 2000, 2001, 2002 Stephane Carrez
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# This currently works with Motorola's 68HC11 based target boards.
-# (should work with 68HC12 but not tested yet)
-
-DESTDIR =
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-VPATH = $(srcdir) $(srcdir)/..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = qv
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = sim-valid
-
-OBJS = syscalls.o close.o fstat.o getpid.o isatty.o kill.o \
- lseek.o open.o print.o stat.o \
- unlink.o sci-inout.o
-
-CFLAGS =
-
-CRT0 = crt0.o
-
-#
-# here's all the generic target stuff
-#
-GEN_LDFLAGS= -L${srcdir}
-BSP= libbcc.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${CRT0} ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${BSP}: $(OBJS)
- ${AR} ${ARFLAGS} $@ $(OBJS)
- ${RANLIB} $@
-
-
-syscalls.o: $(srcdir)/syscalls.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-close.o: $(srcdir)/../close.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-fstat.o: $(srcdir)/../fstat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-getpid.o: $(srcdir)/../getpid.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-isatty.o: $(srcdir)/../isatty.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-kill.o: $(srcdir)/../kill.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-lseek.o: $(srcdir)/../lseek.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-open.o: $(srcdir)/../open.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-print.o: $(srcdir)/../print.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-putnum.o: $(srcdir)/../putnum.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-stat.o: $(srcdir)/../stat.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-unlink.o: $(srcdir)/../unlink.c
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-
-.PHONY: install info dvi doc install-info clean-info
-
-clean mostlyclean:
- rm -f a.out core *.[oais] *-test *.srec *.dis *.x syscall.h
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: install-scripts
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- @for bsp in ${BSP}; do\
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
-
-# Install the linker script in the correct place.
-install-scripts:
- if [ -f ${objroot}/../binutils/objdump ] ; then \
- objdump="${objroot}/../binutils/objdump"; \
- else \
- t='$(program_transform_name)'; \
- objdump=`echo objdump | sed -e $$t`; \
- fi ; \
- name=`$$objdump -f $(CRT0) | sed '/^$$/d'`; \
- case $$name in \
- *elf32-m68hc11*) \
- $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc11.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \
- ;; \
- *elf32-m68hc12*) \
- $(INSTALL_DATA) ${srcdir}/sim-valid-m68hc12.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim-valid.ld \
- ;; \
- esac
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/m68hc11/aclocal.m4 b/libgloss/m68hc11/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/m68hc11/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/m68hc11/configure b/libgloss/m68hc11/configure
deleted file mode 100755
index bca06a9..0000000
--- a/libgloss/m68hc11/configure
+++ /dev/null
@@ -1,3733 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="sci-inout.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-
diff --git a/libgloss/m68hc11/configure.in b/libgloss/m68hc11/configure.in
deleted file mode 100644
index b2c1125..0000000
--- a/libgloss/m68hc11/configure.in
+++ /dev/null
@@ -1,56 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(sci-inout.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
diff --git a/libgloss/m68hc11/crt0.S b/libgloss/m68hc11/crt0.S
deleted file mode 100644
index 73dd217..0000000
--- a/libgloss/m68hc11/crt0.S
+++ /dev/null
@@ -1,69 +0,0 @@
-/* Startup code for M68HC11/M68HC12.
- * Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr)
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-;-----------------------------------------
-; startup code
-;-----------------------------------------
- .file "crt0.s"
-
-;;
-;;
-;; The linker concatenate the .install* sections in the following order:
-;;
-;; .install0 Setup the stack pointer
-;; .install1 Place holder for applications
-;; .install2 Optional installation of data section in memory
-;; .install3 Place holder for applications
-;; .install4 Invokes the main
-;;
- .sect .install0,"ax",@progbits
- .globl _start
-
-_start:
-;;
-;; At this step, the stack is not initialized and interrupts are masked.
-;; Applications only have 64 cycles to initialize some registers.
-;;
-;; To have a generic/configurable startup, initialize the stack to
-;; the end of some memory region. The _stack symbol is defined by
-;; the linker.
-;;
- lds #_stack
-
- .sect .install2,"ax",@progbits
-;;
-;; Call a specific initialization operation. The default is empty.
-;; It can be overriden by applications. It is intended to initialize
-;; the 68hc11 registers. Function prototype is:
-;;
-;; int __premain(void);
-;;
- jsr __premain
-
-;;
-;;
-;;
- .sect .install4,"ax",@progbits
- jsr main
-fatal:
- jsr exit
- bra fatal
-
-;-----------------------------------------
-; end startup code
-;-----------------------------------------
-;; Force loading of data section mapping and bss clear
- .globl __map_data_section
- .globl __init_bss_section
-
diff --git a/libgloss/m68hc11/sci-inout.S b/libgloss/m68hc11/sci-inout.S
deleted file mode 100644
index a8675d2..0000000
--- a/libgloss/m68hc11/sci-inout.S
+++ /dev/null
@@ -1,153 +0,0 @@
-/* M68HC11/M68HC12 serial line operations
- * Copyright (C) 1999, 2001, 2003, 2004 Stephane Carrez (stcarrez@nerim.fr)
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef __HAVE_SHORT_INT__
- .mode mshort
-#else
- .mode mlong
-#endif
-
-#if defined(__USE_RTC__)
- .macro ret
-#if defined(mc68hc12)
- rtc
-#else
- jmp __return_32
-#endif
- .endm
-#else
- .macro ret
- rts
- .endm
-#endif
-#ifdef mc68hc12
- SC0CR1 = 0xC2
- SC0CR2 = 0xC3
- SC0SR1 = 0xC4
- SC0DRL = 0xC7
- SC0BD = 0xC0
-
- .sect .data
- .globl _m68hc12_ports
-_m68hc12_ports: .word 0
-
- .sect .text
- .globl outbyte
-;;;
-;;; int outbyte(char c);
-;;;
-;;; B : Character to send
-;;;
-outbyte:
- bsr _sci_init
-L1:
- ldaa SC0SR1,x
- bge L1
- stab SC0DRL,x
- ldab SC0CR2,x
- orab #0x8
- stab SC0CR2,x
- ret
-
- .sect .text
- .globl inbyte
-;;;
-;;; char inbyte(void);
-;;;
-inbyte:
- bsr _sci_init
- ldaa SC0SR1,x
- bita #0x20
- beq inbyte
- ldab SC0CR2,x
- ret
-
- .globl _sci_init
- .sect .text
-_sci_init:
- ldx _m68hc12_ports
- beq do_init
- dex
- rts
-do_init:
- ldx #0x1
- stx _m68hc12_ports
- dex
- ldd #26
- std SC0BD,x
- ldaa #0
- staa SC0CR1,x
- ldaa #0xC
- staa SC0CR2,x
- rts
-#else
- BAUD = 0x2b
- SCCR1= 0x2c
- SCCR2= 0x2d
- SCSR = 0x2e
- SCDR = 0x2f
-
- .sect .data
- .globl _m68hc11_ports
-_m68hc11_ports: .word 0
-
- .sect .text
- .globl outbyte
-;;;
-;;; int outbyte(char c);
-;;;
-;;; B : Character to send
-;;;
-outbyte:
- bsr _sci_init
-L1:
- ldaa SCSR,x
- bge L1
- stab SCDR,x
- ldab SCCR2,x
- orab #0x8
- stab SCCR2,x
- ret
-
- .sect .text
- .globl inbyte
-;;;
-;;; char inbyte(void);
-;;;
-inbyte:
- bsr _sci_init
- ldaa SCSR,x
- bita #0x20
- beq inbyte
- ldab SCDR,x
- ret
-
- .globl _sci_init
- .sect .text
-_sci_init:
- ldx _m68hc11_ports
- beq do_init
- rts
-do_init:
- ldx #0x1000
- stx _m68hc11_ports
- ldaa #0x30
- staa BAUD,x
- clra
- staa SCCR1,x
- ldaa #0xC
- staa SCCR2,x
- rts
-
-#endif
diff --git a/libgloss/m68hc11/sim-valid-m68hc11.ld b/libgloss/m68hc11/sim-valid-m68hc11.ld
deleted file mode 100644
index 82e3b68..0000000
--- a/libgloss/m68hc11/sim-valid-m68hc11.ld
+++ /dev/null
@@ -1,310 +0,0 @@
-/* Linker script for 68HC11 executable (PROM). */
-ENTRY(_start)
-OUTPUT_FORMAT("elf32-m68hc11", "elf32-m68hc11", "elf32-m68hc11")
-OUTPUT_ARCH(m68hc11)
-
-GROUP(-lc -lbcc -lgcc)
-SEARCH_DIR(.);
-/* Fixed definition of the available memory banks.
- See generic emulation script for a user defined configuration. */
-
-/* The memory layout below is suitable for gcc validation.
- It takes care of big programs allowing up to 48128 bytes
- of text while allowing some programs that consume some
- memory (comp-goto-1 requires the RAM to be set to 0x4400
- to avoid head<->stack collision in malloc/sbrk). */
-MEMORY
-{
- page0 (rwx) : ORIGIN = 0x00, LENGTH = 256
- text (rx) : ORIGIN = 0x04400, LENGTH = 0x10000 - 0x4400
- data : ORIGIN = 0x01100, LENGTH = 0x2000 - 0x1100
-}
-/* Setup the stack on the top of the data memory bank. */
-PROVIDE (_stack = 0x04400 - 1);
-SECTIONS
-{
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t.*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t.*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d.*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d.*)
- }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r.*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r.*)
- }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s.*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s.*)
- }
- .rel.sbss :
- {
- *(.rel.sbss)
- *(.rel.sbss.*)
- *(.rel.gnu.linkonce.sb.*)
- }
- .rela.sbss :
- {
- *(.rela.sbss)
- *(.rela.sbss.*)
- *(.rel.gnu.linkonce.sb.*)
- }
- .rel.bss :
- {
- *(.rel.bss)
- *(.rel.bss.*)
- *(.rel.gnu.linkonce.b.*)
- }
- .rela.bss :
- {
- *(.rela.bss)
- *(.rela.bss.*)
- *(.rela.gnu.linkonce.b.*)
- }
- .rela.stext : { *(.rela.stest) }
- .rela.etext : { *(.rela.etest) }
- .rela.sdata : { *(.rela.sdata) }
- .rela.edata : { *(.rela.edata) }
- .rela.eit_v : { *(.rela.eit_v) }
- .rela.ebss : { *(.rela.ebss) }
- .rela.srodata : { *(.rela.srodata) }
- .rela.erodata : { *(.rela.erodata) }
- .rela.got : { *(.rela.got) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.plt : { *(.rela.plt) }
- .rel.stext : { *(.rel.stest) }
- .rel.etext : { *(.rel.etest) }
- .rel.sdata : { *(.rel.sdata) }
- .rel.edata : { *(.rel.edata) }
- .rel.ebss : { *(.rel.ebss) }
- .rel.eit_v : { *(.rel.eit_v) }
- .rel.srodata : { *(.rel.srodata) }
- .rel.erodata : { *(.rel.erodata) }
- .rel.got : { *(.rel.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rel.init : { *(.rel.init) }
- .rel.fini : { *(.rel.fini) }
- .rel.plt : { *(.rel.plt) }
- /* Concatenate .page0 sections. Put them in the page0 memory bank
- unless we are creating a relocatable file. */
- .page0 :
- {
- *(.page0)
- *(.softregs)
- } > page0
-
- /* Start of text section. */
- .stext :
- {
- *(.stext)
- } > text
- .init :
- {
- *(.init)
- } =0
- /* Put trampolines at beginning of text at 0x4400 so that they
- are not in memory bank window. */
- .tramp :
- {
- *(.tramp)
- } > text
- .text :
- {
- /* Put startup code at beginning so that _start keeps same address. */
- /* Startup code. */
- KEEP (*(.install0)) /* Section should setup the stack pointer. */
- KEEP (*(.install1)) /* Place holder for applications. */
- KEEP (*(.install2)) /* Optional installation of data sections in RAM. */
- KEEP (*(.install3)) /* Place holder for applications. */
- KEEP (*(.install4)) /* Section that calls the main. */
- *(.init)
- *(.text)
- *(.text.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- /* Finish code. */
- KEEP (*(.fini0)) /* Beginning of finish code (_exit symbol). */
- KEEP (*(.fini1)) /* Place holder for applications. */
- KEEP (*(.fini2)) /* C++ destructors. */
- KEEP (*(.fini3)) /* Place holder for applications. */
- KEEP (*(.fini4)) /* Runtime exit. */
- _etext = .;
- PROVIDE (etext = .);
- } > text
- .eh_frame :
- {
- *(.eh_frame)
- } > text
- .gcc_except_table :
- {
- *(.gcc_except_table)
- } > text
- .rodata :
- {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r*)
- } > text
- .rodata1 :
- {
- *(.rodata1)
- } > text
- /* Constructor and destructor tables are in ROM. */
- .ctors :
- {
- PROVIDE (__CTOR_LIST__ = .);
- KEEP (*(.ctors))
- PROVIDE(__CTOR_END__ = .);
- } > text
- .dtors :
- {
- PROVIDE(__DTOR_LIST__ = .);
- KEEP (*(.dtors))
- PROVIDE(__DTOR_END__ = .);
- } > text
- /* Start of the data section image in ROM. */
- __data_image = .;
- PROVIDE (__data_image = .);
- /* All read-only sections that normally go in PROM must be above.
- We construct the DATA image section in PROM at end of all these
- read-only sections. The data image must be copied at init time.
- Refer to GNU ld, Section 3.6.8.2 Output Section LMA. */
- .data : AT (__data_image)
- {
- __data_section_start = .;
- PROVIDE (__data_section_start = .);
- *(.sdata)
- *(.data)
- *(.data.*)
- *(.data1)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- _edata = .;
- PROVIDE (edata = .);
- } > data
- __data_section_size = SIZEOF(.data);
- PROVIDE (__data_section_size = SIZEOF(.data));
- __data_image_end = __data_image + __data_section_size;
-/* SCz: this does not work yet... This is supposed to force the loading
- of _map_data.o (from libgcc.a) when the .data section is not empty.
- By doing so, this should bring the code that copies the .data section
- from ROM to RAM at init time.
- ___pre_comp_data_size = SIZEOF(.data);
- __install_data_sections = ___pre_comp_data_size > 0 ?
- __map_data_sections : 0;
-*/
- /* .install :
- {
- . = _data_image_end;
- } > text */
- /* Relocation for some bss and data sections. */
- .bss :
- {
- __bss_start = .;
- *(.sbss)
- *(.scommon)
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- PROVIDE (_end = .);
- } > data
- __bss_size = SIZEOF(.bss);
- PROVIDE (__bss_size = SIZEOF(.bss));
- /* If the 'vectors_addr' symbol is defined, it indicates the start address
- of interrupt vectors. This depends on the 68HC11 operating mode:
- Addr
- Single chip 0xffc0
- Extended mode 0xffc0
- Bootstrap 0x00c0
- Test 0xbfc0
- In general, the vectors address is 0xffc0. This can be overriden
- with the '-defsym vectors_addr=0xbfc0' ld option.
- Note: for the bootstrap mode, the interrupt vectors are at 0xbfc0 but
- they are redirected to 0x00c0 by the internal PROM. Application's vectors
- must also consist of jump instructions (see Motorola's manual). */
- PROVIDE (_vectors_addr = DEFINED (vectors_addr) ? vectors_addr : 0xffc0);
- .vectors DEFINED (vectors_addr) ? vectors_addr : 0xffc0 :
- {
- KEEP (*(.vectors))
- }
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0.
- Treatment of DWARF debug section must be at end of the linker
- script to avoid problems when there are undefined symbols. It's necessary
- to avoid that the DWARF section is relocated before such undefined
- symbols are found. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-}
diff --git a/libgloss/m68hc11/sim-valid-m68hc12.ld b/libgloss/m68hc11/sim-valid-m68hc12.ld
deleted file mode 100644
index 681bc6d..0000000
--- a/libgloss/m68hc11/sim-valid-m68hc12.ld
+++ /dev/null
@@ -1,310 +0,0 @@
-/* Linker script for 68HC12 executable (PROM). */
-ENTRY(_start)
-OUTPUT_FORMAT("elf32-m68hc12", "elf32-m68hc12", "elf32-m68hc12")
-OUTPUT_ARCH(m68hc12)
-
-GROUP(-lc -lbcc -lgcc)
-SEARCH_DIR(.);
-/* Fixed definition of the available memory banks.
- See generic emulation script for a user defined configuration. */
-
-/* The memory layout below is suitable for gcc validation.
- It takes care of big programs allowing up to 48128 bytes
- of text while allowing some programs that consume some
- memory (comp-goto-1 requires the RAM to be set to 0x4400
- to avoid head<->stack collision in malloc/sbrk). */
-MEMORY
-{
- page0 (rwx) : ORIGIN = 0x00, LENGTH = 256
- text (rx) : ORIGIN = 0x04400, LENGTH = 0x10000 - 0x4400
- data : ORIGIN = 0x01100, LENGTH = 0x2000 - 0x1100
-}
-/* Setup the stack on the top of the data memory bank. */
-PROVIDE (_stack = 0x04400 - 1);
-SECTIONS
-{
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t.*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t.*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d.*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d.*)
- }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r.*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r.*)
- }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s.*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s.*)
- }
- .rel.sbss :
- {
- *(.rel.sbss)
- *(.rel.sbss.*)
- *(.rel.gnu.linkonce.sb.*)
- }
- .rela.sbss :
- {
- *(.rela.sbss)
- *(.rela.sbss.*)
- *(.rel.gnu.linkonce.sb.*)
- }
- .rel.bss :
- {
- *(.rel.bss)
- *(.rel.bss.*)
- *(.rel.gnu.linkonce.b.*)
- }
- .rela.bss :
- {
- *(.rela.bss)
- *(.rela.bss.*)
- *(.rela.gnu.linkonce.b.*)
- }
- .rela.stext : { *(.rela.stest) }
- .rela.etext : { *(.rela.etest) }
- .rela.sdata : { *(.rela.sdata) }
- .rela.edata : { *(.rela.edata) }
- .rela.eit_v : { *(.rela.eit_v) }
- .rela.ebss : { *(.rela.ebss) }
- .rela.srodata : { *(.rela.srodata) }
- .rela.erodata : { *(.rela.erodata) }
- .rela.got : { *(.rela.got) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.plt : { *(.rela.plt) }
- .rel.stext : { *(.rel.stest) }
- .rel.etext : { *(.rel.etest) }
- .rel.sdata : { *(.rel.sdata) }
- .rel.edata : { *(.rel.edata) }
- .rel.ebss : { *(.rel.ebss) }
- .rel.eit_v : { *(.rel.eit_v) }
- .rel.srodata : { *(.rel.srodata) }
- .rel.erodata : { *(.rel.erodata) }
- .rel.got : { *(.rel.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rel.init : { *(.rel.init) }
- .rel.fini : { *(.rel.fini) }
- .rel.plt : { *(.rel.plt) }
- /* Concatenate .page0 sections. Put them in the page0 memory bank
- unless we are creating a relocatable file. */
- .page0 :
- {
- *(.page0)
- } > page0
-
- /* Start of text section. */
- .stext :
- {
- *(.stext)
- } > text
- .init :
- {
- *(.init)
- } =0
- /* Put trampolines at beginning of text at 0x4400 so that they
- are not in memory bank window. */
- .tramp :
- {
- *(.tramp)
- } > text
- .text :
- {
- /* Put startup code at beginning so that _start keeps same address. */
- /* Startup code. */
- KEEP (*(.install0)) /* Section should setup the stack pointer. */
- KEEP (*(.install1)) /* Place holder for applications. */
- KEEP (*(.install2)) /* Optional installation of data sections in RAM. */
- KEEP (*(.install3)) /* Place holder for applications. */
- KEEP (*(.install4)) /* Section that calls the main. */
- *(.init)
- *(.text)
- *(.text.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- /* Finish code. */
- KEEP (*(.fini0)) /* Beginning of finish code (_exit symbol). */
- KEEP (*(.fini1)) /* Place holder for applications. */
- KEEP (*(.fini2)) /* C++ destructors. */
- KEEP (*(.fini3)) /* Place holder for applications. */
- KEEP (*(.fini4)) /* Runtime exit. */
- _etext = .;
- PROVIDE (etext = .);
- } > text
- .eh_frame :
- {
- *(.eh_frame)
- } > text
- .gcc_except_table :
- {
- *(.gcc_except_table)
- } > text
- .rodata :
- {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r*)
- } > text
- .rodata1 :
- {
- *(.rodata1)
- } > text
- /* Constructor and destructor tables are in ROM. */
- .ctors :
- {
- PROVIDE (__CTOR_LIST__ = .);
- KEEP (*(.ctors))
- PROVIDE(__CTOR_END__ = .);
- } > text
- .dtors :
- {
- PROVIDE(__DTOR_LIST__ = .);
- KEEP (*(.dtors))
- PROVIDE(__DTOR_END__ = .);
- } > text
- /* Start of the data section image in ROM. */
- __data_image = .;
- PROVIDE (__data_image = .);
- /* All read-only sections that normally go in PROM must be above.
- We construct the DATA image section in PROM at end of all these
- read-only sections. The data image must be copied at init time.
- Refer to GNU ld, Section 3.6.8.2 Output Section LMA. */
- .data : AT (__data_image)
- {
- __data_section_start = .;
- PROVIDE (__data_section_start = .);
- *(.sdata)
- *(.data)
- *(.data.*)
- *(.data1)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- _edata = .;
- PROVIDE (edata = .);
- } > data
- __data_section_size = SIZEOF(.data);
- PROVIDE (__data_section_size = SIZEOF(.data));
- __data_image_end = __data_image + __data_section_size;
-/* SCz: this does not work yet... This is supposed to force the loading
- of _map_data.o (from libgcc.a) when the .data section is not empty.
- By doing so, this should bring the code that copies the .data section
- from ROM to RAM at init time.
- ___pre_comp_data_size = SIZEOF(.data);
- __install_data_sections = ___pre_comp_data_size > 0 ?
- __map_data_sections : 0;
-*/
- /* .install :
- {
- . = _data_image_end;
- } > text */
- /* Relocation for some bss and data sections. */
- .bss :
- {
- __bss_start = .;
- *(.softregs)
- *(.sbss)
- *(.scommon)
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- PROVIDE (_end = .);
- } > data
- __bss_size = SIZEOF(.bss);
- PROVIDE (__bss_size = SIZEOF(.bss));
- /* If the 'vectors_addr' symbol is defined, it indicates the start address
- of interrupt vectors. This depends on the 68HC11 operating mode:
- Addr
- Single chip 0xffc0
- Extended mode 0xffc0
- Bootstrap 0x00c0
- Test 0xbfc0
- In general, the vectors address is 0xffc0. This can be overriden
- with the '-defsym vectors_addr=0xbfc0' ld option.
- Note: for the bootstrap mode, the interrupt vectors are at 0xbfc0 but
- they are redirected to 0x00c0 by the internal PROM. Application's vectors
- must also consist of jump instructions (see Motorola's manual). */
- PROVIDE (_vectors_addr = DEFINED (vectors_addr) ? vectors_addr : 0xffc0);
- .vectors DEFINED (vectors_addr) ? vectors_addr : 0xffc0 :
- {
- KEEP (*(.vectors))
- }
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0.
- Treatment of DWARF debug section must be at end of the linker
- script to avoid problems when there are undefined symbols. It's necessary
- to avoid that the DWARF section is relocated before such undefined
- symbols are found. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-}
diff --git a/libgloss/m68hc11/syscalls.c b/libgloss/m68hc11/syscalls.c
deleted file mode 100644
index 9620146..0000000
--- a/libgloss/m68hc11/syscalls.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/* pseudo system calls for M68HC11 & M68HC12.
- * Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr)
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-extern void outbyte(char c);
-extern char inbyte(void);
-
-int
-read(int file, void *p, size_t nbytes)
-{
- int i = 0;
- char* buf = (char*) p;
-
- for (i = 0; i < nbytes; i++) {
- *(buf + i) = inbyte();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) {
- i++;
- break;
- }
- }
- return (i);
-}
-
-int
-write(int file, const void *p, size_t len)
-{
- const char *ptr = (const char*) p;
- int todo;
-
- for (todo = len; todo; --todo)
- {
- outbyte (*ptr++);
- }
- return(len);
-}
-
-void *
-sbrk(ptrdiff_t incr)
-{
- extern char _end; /* Defined by the linker */
- static char *heap_end;
- char *prev_heap_end;
-
- register char *stack_ptr asm ("sp");
-
- if (heap_end == 0)
- {
- heap_end = &_end;
- }
- prev_heap_end = heap_end;
- if (heap_end + incr > stack_ptr)
- {
- write (1, "Heap and stack collision\n", 25);
- abort ();
- }
- heap_end += incr;
- return ((void*) prev_heap_end);
-}
-
-/* end of syscalls.c */
diff --git a/libgloss/m68k/Makefile.in b/libgloss/m68k/Makefile.in
deleted file mode 100644
index f1ca1c4..0000000
--- a/libgloss/m68k/Makefile.in
+++ /dev/null
@@ -1,483 +0,0 @@
-# Copyright (c) 1995, 1996, 2001 Cygnus Support -*- mode:makefile -*-
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# This currently works with Motorola's MVME135 and IDP m68k based
-# target boards.
-#
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = qv
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = mvme162 mvme135 idp bcc
-
-OBJS = close.o fstat.o getpid.o isatty.o kill.o \
- lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
- unlink.o write.o
-
-# What targets to build for. This is a list of {m68k,cf}
-DO = @DO@
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS = sim.ld
-SIM_LDFLAGS = -Tsim.ld
-SIM_BSP = libsim.a
-SIM_CRT0 = sim-crt0.o
-SIM_OBJS = sim-print.o sim-inbyte.o sim-sbrk.o sim-abort.o sim-errno.o simulator.o sim-funcs.o unlink.o
-SIM_TEST =
-SIM_INSTALL = install-sim
-
-
-CRT0 = crt0.o
-#
-# here's all the MVME135 target stuff
-#
-MVME_LDFLAGS= -L${srcdir} -Tmvme135.ld
-MVME135_BSP= libmvme135.a
-MVME162_BSP= libmvme162.a
-#MVME135_OBJS= mvme.o
-#MVME162_OBJS= mvme.o
-# Uncomment the last two objects if you want to use the GDB stub.
-# The stub is included "as is", and will likely take some hacking
-# to work on your system.
-MVME135_OBJS= cpu32bug.o # mvme-stub.o mvme135-asm.o
-MVME162_OBJS= cpu32bug.o # mvme-stub.o mvme162lx-asm.o
-
-
-#
-# here's all the BCC target stuff
-#
-BCC_LDFLAGS= -L${srcdir} -Tbcc.ld
-BCC_BSP= libbcc.a
-BCC_OBJS= cpu32bug.o
-
-#
-# here's all the IDP target stuff
-#
-IDP_LDFLAGS= -L${srcdir} -Tidp.ld
-IDP_BSP= libidp.a
-IDP_OBJS= leds.o idp-inbyte.o idp-outbyte.o mc68ec.o
-
-#
-# here's all the IDP GDB target stuff
-#
-IDPGDB_LDFLAGS= -L${srcdir} -Tidpgdb.ld
-IDPGDB_BSP= libidpgdb.a
-IDPGDB_OBJS= leds.o idp-inbyte.o idp-gdb-outbyte.o mc68ec.o
-
-#
-# here's all the ColdFire boards
-#
-CF_CRT0S= cf-hosted-crt0.o cf-unhosted-crt0.o
-CF_BSP= libcf.a
-CF_OBJS= cf-isv.o cf-crt1.o cf-hosted.o getpid.o kill.o cf-sbrk.o \
- cf-exit.o $(patsubst %,cf-%.o,${CF_ISRS})
-CF_ISRS= other_interrupt access_error address_error \
- illegal_instruction divide_by_zero privilege_violation \
- trace unimplemented_opcode breakpoint_debug_interrupt \
- format_error spurious_interrupt fp_interrupt \
- unsupported_instruction trap_interrupt
-
-# RAM ROM
-m5208evb := 1024M 16M 0M 2M
-m5213evb := 512M 32K 0M 256K
-m52235evb := 512M 32K 0M 256K
-m5235evb := 0M 16M 0xFFE00000 2M
-m5249c3 := 0M 4M 0xFFE00000 2M
-m5272c3 := 0M 4M 0xFFE00000 2M
-m5275evb := 0M 16M 0xFFE00000 2M
-m5282evb := 0M 16M 0xFFE00000 2M
-m5329evb := 1024M 32M 0M 2M
-m5485evb := 0M 64M 1024M 16M
-
-CF_BOARDS := m5208evb m5213evb m52235evb m5235evb m5249c3 m5272c3 m5275evb \
- m5282evb m5329evb m5485evb
-CF_RAM_SCRIPTS := $(patsubst %,%-ram.ld,$(CF_BOARDS))
-CF_ROM_SCRIPTS := $(patsubst %,%-rom.ld,$(CF_BOARDS))
-CF_HOSTED_SCRIPTS := $(patsubst %.ld,%-hosted.ld,$(CF_RAM_SCRIPTS) $(CF_ROM_SCRIPTS))
-CF_SCRIPTS = $(CF_RAM_SCRIPTS) $(CF_ROM_SCRIPTS) $(CF_HOSTED_SCRIPTS)
-CF_SOURCES = cf-isv.S cf-crt0.S cf-crt1.c asm.h
-
-# Fido board.
-# Programs built with the ROM linker script are designed to be
-# executed from flash. Programs built with the RAM linker script are
-# designed to be run via JTAG. Program built with the RedBoot linker
-# script are designed to be run from the RedBoot boot loader.
-FIDO_CRT0S = fido-rom-crt0.o fido-ram-crt0.o fido-redboot-crt0.o
-FIDO_BSP = libfido.a
-FIDO_OBJS = fido-hosted.o getpid.o kill.o fido-sbrk.o fido-_exit.o \
- $(patsubst %,fido-%Handler.o,$(FIDO_HANDLERS))
-FIDO_HANDLERS:= BusError AddressError IllegalInstruction DivideByZero Chk \
- Trapcc PrivilegeViolation Trace ALine FLine HwBreakpoint Reserved0 \
- FormatError UnitializedInt SoftwareInt \
- $(addprefix Unassigned,0 1 2 3 4 5 6) \
- $(addprefix Int,0 1 2 3 4 5 6 7) \
- $(addprefix Trap,00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15) \
- $(addprefix Reserved,048 049 050 051 052 053 054 055 056 057 058 \
- 059 060 061 062 063) \
- ContextOvertime MpuError \
- $(addprefix SystemTimer,0 1 2 3 4) \
- WatchdogTimer TimerCounter0 TimerCounter1 DMA0 DMA1 AtoDConversion \
- $(addprefix Pdma,0 1 2 3) \
- $(addprefix Reserved,081 082 083 084 085 086 087 088 089 \
- 090 091 092 093 094 095) \
- $(addprefix Trapx,00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15) \
- Dummy
-FIDO_UNHOSTED_SCRIPTS:= fido-rom.ld fido-sram.ld fido-sdram.ld
-FIDO_HOSTED_SCRIPTS:=$(patsubst %.ld,%-hosted.ld,$(FIDO_UNHOSTED_SCRIPTS))
-FIDO_SCRIPTS = $(FIDO_UNHOSTED_SCRIPTS) $(FIDO_HOSTED_SCRIPTS) fido-redboot.ld
-FIDO_SOURCES = fido-crt0.S asm.h fido.h
-
-#
-# here's all the unhosted stuff
-#
-UNHOSTED_BSP= libunhosted.a
-UNHOSTED_OBJS= unhosted-close.o unhosted-fstat.o \
- unhosted-gettimeofday.o unhosted-isatty.o unhosted-lseek.o \
- unhosted-open.o unhosted-read.o unhosted-rename.o \
- unhosted-stat.o unhosted-system.o unhosted-time.o \
- unhosted-unlink.o unhosted-write.o
-
-#
-# here's all the hosted stuff
-#
-HOSTED_BSP= libhosted.a
-HOSTED_OBJS= hosted-gdb.o hosted-exit.o $(patsubst un%,%,$(UNHOSTED_OBJS))
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all :: $(DO:%=all_%)
-
-#
-# here's where we build the board support packages for each target
-#
-
-.PHONY: all_m68k
-all_m68k :: ${SIM_CRT0} ${SIM_BSP} ${CRT0} ${BCC_BSP} ${IDP_BSP} \
- ${IDPGDB_BSP} ${MVME135_BSP} ${MVME162_BSP}
-.PHONY: all_cf
-all_cf :: ${CF_CRT0S} ${CF_BSP} ${CF_SCRIPTS} ${HOSTED_BSP} ${UNHOSTED_BSP}
-
-.PHONY: all_fido
-all_fido :: ${FIDO_CRT0S} ${FIDO_BSP} ${FIDO_SCRIPTS} \
- ${HOSTED_BSP} ${UNHOSTED_BSP}
-
-${SIM_BSP}: ${SIM_OBJS}
- ${AR} ${ARFLAGS} $@ ${SIM_OBJS}
- ${RANLIB} $@
-
-${BCC_BSP}: $(OBJS) ${BCC_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${BCC_OBJS}
- ${RANLIB} $@
-
-${IDP_BSP}: $(OBJS) ${IDP_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${IDP_OBJS}
- ${RANLIB} $@
-
-${IDPGDB_BSP}: $(OBJS) ${IDPGDB_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${IDPGDB_OBJS}
- ${RANLIB} $@
-
-${MVME135_BSP}: $(OBJS) ${MVME135_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${MVME135_OBJS}
- ${RANLIB} $@
-
-${MVME162_BSP}: $(OBJS) ${MVME162_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${MVME162_OBJS}
- ${RANLIB} $@
-
-# build hosted library
-$(HOSTED_OBJS): hosted%.o: io%.c io.h
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DHOSTED=1 $(INCLUDES) -c $< -o $@
-$(HOSTED_BSP): $(HOSTED_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-cf-hosted-crt0.o: cf-crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DHOSTED=1 $(INCLUDES) -c $< -o $@
-
-# build unhosted library
-$(UNHOSTED_OBJS): unhosted%.o: io%.c io.h
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DHOSTED=0 $(INCLUDES) -c $< -o $@
-$(UNHOSTED_BSP): $(UNHOSTED_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-cf-unhosted-crt0.o: cf-crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DHOSTED=0 $(INCLUDES) -c $< -o $@
-
-# build coldfire library
-$(patsubst %,cf-%.o,${CF_ISRS}) : cf-isrs.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -c $< -o $@ \
- -DL_$(patsubst cf-%.o,%,$@)
-$(CF_BSP): $(CF_OBJS)
- ${AR} ${ARFLAGS} $@ $^
- ${RANLIB} $@
-
-m%-ram.ld : cf.sc Makefile
- IO=unhosted RAM=$(word 1,$(m$*)) RAM_SIZE=$(word 2,$(m$*)) \
- ${SHELL} $< >$@
-m%-rom.ld : cf.sc Makefile
- IO=unhosted RAM=$(word 1,$(m$*)) RAM_SIZE=$(word 2,$(m$*)) \
- ROM=$(word 3,$(m$*)) ROM_SIZE=$(word 4,$(m$*)) ${SHELL} $< >$@
-m%-ram-hosted.ld : cf.sc Makefile
- IO=hosted RAM=$(word 1,$(m$*)) RAM_SIZE=$(word 2,$(m$*)) \
- ${SHELL} $< >$@
-m%-rom-hosted.ld : cf.sc Makefile
- IO=hosted RAM=$(word 1,$(m$*)) RAM_SIZE=$(word 2,$(m$*)) \
- ROM=$(word 3,$(m$*)) ROM_SIZE=$(word 4,$(m$*)) ${SHELL} $< >$@
-
-#build fido library
-fido-%-crt0.o : fido-crt0.S asm.h fido.h
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) \
- -DFIDO_$* -c -o $@ $<
-
-$(patsubst %,fido-%Handler.o,${FIDO_HANDLERS}) : fido-handler.c
- $(CC) $(CFLAGS_FOR_TARGET) -fomit-frame-pointer $(CFLAGS) $(INCLUDES) \
- -c $< -o $@ -DHANDLER=$(patsubst fido-%.o,_%,$@)
-${FIDO_BSP}: ${FIDO_OBJS}
- ${AR} ${ARFLAGS} $@ ${FIDO_OBJS}
- ${RANLIB} $@
-
-fido-rom.ld: fido.sc
- MODE=rom IO=unhosted ${SHELL} $< > $@
-
-fido-rom-hosted.ld: fido.sc
- MODE=rom IO=hosted ${SHELL} $< > $@
-
-fido-sram.ld: fido.sc
- MODE=sram IO=unhosted ${SHELL} $< > $@
-
-fido-sram-hosted.ld: fido.sc
- MODE=sram IO=hosted ${SHELL} $< > $@
-
-fido-sdram.ld: fido.sc
- MODE=sdram IO=unhosted ${SHELL} $< > $@
-
-fido-sdram-hosted.ld: fido.sc
- MODE=sdram IO=hosted ${SHELL} $< > $@
-
-fido-redboot.ld: fido.sc
- MODE=redboot IO=unhosted ${SHELL} $< > $@
-
-leds.o: ${srcdir}/leds.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -c $<
-
-idp-inbyte.o: ${srcdir}/idp-inbyte.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -c $<
-
-idp-outbyte.o: ${srcdir}/idp-outbyte.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -c $<
-
-idp-gdb-outbyte.o: ${srcdir}/idp-outbyte.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DGDB_MONITOR_OUTPUT $(INCLUDES) -c $< -o $@
-
-mc68ec.o: ${srcdir}/mc68ec.c
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -c $<
-
-test.o: ${srcdir}/test.c
-
-#
-# Make a simple test case to test the linker script, startup code, and
-# I/O code
-#
-test: $(OBJS) idp-test.srec mvme135-test.srec bcc-test.srec \
- idp-test.dis mvme135-test.dis bcc-test.dis
- @echo Done...
-
-# compile a fully linked binary. The -N option is for a.out, so the
-# base address will be zero, rather than the default of 0x2020. The
-# -Wl,-T*.ld is for the linker script. By using -Wl, the linker script
-# is put on the proper place in the comand line for ld, and all the
-# symbols will get fully resolved.
-
-idp-test.x: test.o ${CRT0} Makefile ${IDP_BSP}
- ${CC} $(CFLAGS_FOR_TARGET) $(CFLAGS) -L${srcdir} -L${objdir} \
- test.o -o $@ $(LDFLAGS_FOR_TARGET) -N -Wl,-Tidp.ld
-idp-test.srec: idp-test.x
- $(OBJCOPY) -O srec idp-test.x $@
-idp-test.dis: idp-test.x
- @rm -fr idp-test.dis
- $(OBJDUMP) -d idp-test.x > $@
-idp-test: idp-test.srec idp-test.dis
-
-idpgdb-test.x: test.o ${CRT0} Makefile ${IDPGDB_BSP}
- ${CC} $(CFLAGS_FOR_TARGET) $(CFLAGS) -L${srcdir} -L${objdir} \
- test.o -o $@ $(LDFLAGS_FOR_TARGET) -N -Wl,-Tidpgdb.ld
-idpgdb-test.srec: idpgdb-test.x
- $(OBJCOPY) -O srec idpgdb-test.x $@
-idpgdb-test.dis: idpgdb-test.x
- @rm -fr idpgdb-test.dis
- $(OBJDUMP) -d idpgdb-test.x > $@
-idpgdb-test: idpgdb-test.srec idpgdb-test.dis
-
-mvme135-test.x: test.o ${CRT0} ${srcdir}/mvme135.ld Makefile ${MVME135_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tmvme135.ld -nostdlib
-mvme135-test.srec: mvme135-test.x
- $(OBJCOPY) -O srec mvme135-test.x $@
-mvme135-test.dis: mvme135-test.x
- @rm -fr mvme135-test.dis
- $(OBJDUMP) -d mvme135-test.x > $@
-mvme135-test: mvme135-test.srec mvme135-test.dis
-
-mvme162-test.x: test.o ${CRT0} ${srcdir}/mvme162.ld Makefile ${MVME162_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tmvme162.ld -nostdlib
-mvme162-test.srec: mvme162-test.x
- $(OBJCOPY) -O srec mvme162-test.x $@
-mvme162-test.dis: mvme162-test.x
- @rm -fr mvme162-test.dis
- $(OBJDUMP) -d mvme162-test.x > $@
-mvme162-test: mvme162-test.srec mvme162-test.dis
-
-bcc-test.x: test.o ${CRT0} ${srcdir}/bcc.ld Makefile ${BCC_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tbcc.ld -nostdlib
-bcc-test.srec: bcc-test.x
- $(OBJCOPY) -O srec bcc-test.x $@
-bcc-test.dis: bcc-test.x
- @rm -fr bcc-test.dis
- $(OBJDUMP) -d bcc-test.x > $@
-bcc-test: bcc-test.srec bcc-test.dis
-
-# a C++ test case
-dtor.o: $(srcdir)/dtor.C
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -o $@ -c $<
-dtor.dis: dtor.x
- @rm -fr dtor.dis
- $(OBJDUMP) -d dtor.x > $@
-dtor.x: dtor.o ${CRT0} ${srcdir}/mvme135.ld Makefile ${MVME135_BSP}
- ${CC} -L${srcdir} -L${objdir} dtor.o -o $@ $(LIBS_FOR_TARGET) \
- -N -Wl,-Tmvme135.ld -nostdlib
-
-unlink.o: $(srcdir)/../unlink.c
-
-.PHONY: install info dvi doc install-info clean-info
-install:: $(DO:%=install_%)
-
-
-.PHONY:install_m68k
-install_m68k::
- # install SIM stuff
- $(INSTALL_PROGRAM) $(SIM_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_CRT0)
- $(INSTALL_PROGRAM) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
- $(INSTALL_DATA) ${srcdir}/sim.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sim.ld
- #
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- # install BCC stuff
- $(INSTALL_PROGRAM) $(BCC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(BCC_BSP)
- $(INSTALL_DATA) ${srcdir}/bcc.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/bcc.ld
- # install IDP stuff
- $(INSTALL_PROGRAM) $(IDP_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(IDP_BSP)
- $(INSTALL_DATA) ${srcdir}/idp.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/idp.ld
- # install IDPGDB stuff
- $(INSTALL_PROGRAM) $(IDPGDB_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(IDPGDB_BSP)
- $(INSTALL_DATA) ${srcdir}/idpgdb.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/idpgdb.ld
- # install MVME135 stuff
- $(INSTALL_PROGRAM) $(MVME135_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MVME135_BSP)
- $(INSTALL_DATA) ${srcdir}/mvme135.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/mvme135.ld
- # install MVME162lx stuff
- $(INSTALL_PROGRAM) $(MVME162_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(MVME162_BSP)
- $(INSTALL_DATA) ${srcdir}/mvme162.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/mvme162.ld
- $(INSTALL_DATA) ${srcdir}/sbc5204.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sbc5204.ld
- $(INSTALL_DATA) ${srcdir}/sbc5206.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/sbc5206.ld
-
-.PHONY: install_cf
-install_cf:: install_io
- # install CF stuff
- $(INSTALL_DATA) $(CF_CRT0S) $(CF_BSP) \
- $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CF_SCRIPTS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-ifeq ($(MULTISUBDIR),)
- # only install sources for the default multilib
- $(INSTALL_DATA) $(addprefix ${srcdir}/,$(CF_SOURCES)) \
- $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-endif
-
-.PHONY: install_fido
-install_fido:: install_io
- $(INSTALL_DATA) $(FIDO_CRT0S) $(FIDO_BSP) \
- $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)
- $(INSTALL_DATA) $(FIDO_SCRIPTS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-ifeq ($(MULTISUBDIR),)
- # only install sources for the default multilib
- $(INSTALL) -d $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/src
- $(INSTALL_DATA) $(addprefix $(srcdir)/,$(FIDO_SOURCES)) \
- $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/src
-endif
-
-.PHONY: install_io
-install_io::
- # install IO stuff
- $(INSTALL_DATA) $(HOSTED_BSP) $(UNHOSTED_BSP) \
- $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.a *.o *-test *.srec *.dis *.x *.map
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-info dvi doc:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/m68k/README b/libgloss/m68k/README
deleted file mode 100644
index 28b7c12..0000000
--- a/libgloss/m68k/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Support for the mvme162 was written by:
-
- Technische Universitaet Berlin fax: +49.30.314 21 116
- Axel Nennker, FR 2-2 phone: +49.30.314 73 114
- Franklinstr. 28-29 e-mail: nennker@cs.tu-berlin.de
- D-10587 Berlin World Wide Web: http://www.cs.tu-berlin.de/~nennker
- Germany http://www.cs.tu-berlin.de/~gnat
-
diff --git a/libgloss/m68k/aclocal.m4 b/libgloss/m68k/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/m68k/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/m68k/asm.h b/libgloss/m68k/asm.h
deleted file mode 100644
index 9f8d43a..0000000
--- a/libgloss/m68k/asm.h
+++ /dev/null
@@ -1,155 +0,0 @@
-/* asm.h -- macros for m68k asm
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#if 0
-/*
- * XXX __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__ do not work on gcc 2.7.0-3
- * XXX The following ifdef magic fixes the problem but results in a warning
- * XXX when compiling assembly code.
- */
-#ifndef __USER_LABEL_PREFIX__
-/* #define __USER_LABEL_PREFIX__ "" /* no underscore for coff */
-#define __USER_LABEL_PREFIX__ _ /* leading underscore for aout */
-#endif
-
-#ifndef __REGISTER_PREFIX__
-#define __REGISTER_PREFIX__ /* never has anything prefixed */
-#endif
-#endif
-
-/*
- * some assemblers choke on '#' as an immediate value. As gcc can also
- * use '&', use that in those cases.
- */
-#ifndef __IMMEDIATE_PREFIX__
-#define __IMMEDIATE_PREFIX__ #
-#endif
-
-/* ANSI concatenation macros. */
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-/* use the right prefix for global labels. */
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__,x)
-
-/* use the right prefix for registers. */
-#define REG(x) CONCAT1 (__REGISTER_PREFIX__,x)
-
-/* use the right prefix for immediate values. */
-#define IMM(x) CONCAT1 (__IMMEDIATE_PREFIX__,x)
-
-/* use the right prefix for register names */
-#define d0 REG (d0)
-#define d1 REG (d1)
-#define d2 REG (d2)
-#define d3 REG (d3)
-#define d4 REG (d4)
-#define d5 REG (d5)
-#define d6 REG (d6)
-#define d7 REG (d7)
-#define a0 REG (a0)
-#define a1 REG (a1)
-#define a2 REG (a2)
-#define a3 REG (a3)
-#define a4 REG (a4)
-#define a5 REG (a5)
-#define a6 REG (a6)
-#define a7 REG (a7)
-#define fp REG (fp)
-#define fp0 REG (fp0)
-#define fp1 REG (fp1)
-#define fp2 REG (fp2)
-#define fp3 REG (fp3)
-#define fp4 REG (fp4)
-#define fp5 REG (fp5)
-#define fp6 REG (fp6)
-#define fp7 REG (fp7)
-#define sp REG (sp)
-#define usp REG (usp)
-#define vbr REG (vbr)
-#define mbb REG (mbb)
-#define sr REG (sr)
-#define fpcr REG (fpcr)
-#define fpsr REG (fpsr)
-#define fpi REG (fpi)
-
-/* Provide a few macros to allow for PIC code support.
- * With PIC, data is stored A5 relative so we've got to take a bit of special
- * care to ensure that all loads of global data is via A5. PIC also requires
- * jumps and subroutine calls to be PC relative rather than absolute. We cheat
- * a little on this and in the PIC case, we use short offset branches and
- * hope that the final object code is within range (which it should be).
- */
-#ifndef __PIC__
-
- /* Non PIC (absolute/relocatable) versions */
-
- .macro PICCALL addr
- jbsr \addr
- .endm
-
- .macro PICJUMP addr
- jmp \addr
- .endm
-
- .macro PICLEA sym, reg
- lea \sym, \reg
- .endm
-
- .macro PICPEA sym, areg
- pea \sym
- .endm
-
-#else /* __PIC__ */
-
- /* Common for -mid-shared-libary and -msep-data */
-
- .macro PICCALL addr
- bsr \addr
- .endm
-
- .macro PICJUMP addr
- bra \addr
- .endm
-
-# if defined(__ID_SHARED_LIBRARY__)
-
- /* -mid-shared-library versions */
-
- .macro PICLEA sym, reg
- movel a5@(_current_shared_library_a5_offset_), \reg
- movel \sym@GOT(\reg), \reg
- .endm
-
- .macro PICPEA sym, areg
- movel a5@(_current_shared_library_a5_offset_), \areg
- movel \sym@GOT(\areg), sp@-
- .endm
-
-# else /* !__ID_SHARED_LIBRARY__ */
-
- /* Versions for -msep-data */
-
- .macro PICLEA sym, reg
- movel \sym@GOT(a5), \reg
- .endm
-
- .macro PICPEA sym, areg
- movel \sym@GOT(a5), sp@-
- .endm
-
-# endif /* !__ID_SHARED_LIBRARY__ */
-#endif /* __PIC__ */
-
diff --git a/libgloss/m68k/bcc.ld b/libgloss/m68k/bcc.ld
deleted file mode 100644
index b9acfb3..0000000
--- a/libgloss/m68k/bcc.ld
+++ /dev/null
@@ -1,128 +0,0 @@
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-SEARCH_DIR(.)
-GROUP(-lbcc -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the M68332BCC Business Card Computer.
- * stack grows down from high memory.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x3000, LENGTH = 0xd000
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 0xd000);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- *(.text .text.*)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- ___CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- ___DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata .rodata.*)
- *(.gcc_except_table)
-
- . = ALIGN(0x2);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/cf-crt0.S b/libgloss/m68k/cf-crt0.S
deleted file mode 100644
index f86b789..0000000
--- a/libgloss/m68k/cf-crt0.S
+++ /dev/null
@@ -1,56 +0,0 @@
-/* Initial boot
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- #include "asm.h"
- .text
-
- .extern __stack
- .extern __heap_end
- .weak __heap_end
- .extern __start1
-
- /* __reset should cause a HALT in a hosted executable and
- fall into __start for an unhosted executable. The user is
- free to override this with their own declaration. */
- .globl __reset
- .weak __reset
-__reset:
-#if HOSTED
- HALT
-#endif
-
- .globl __start
-__start:
- /* Initialize stack */
- move.l IMM(__stack), sp
- move.l IMM(0), fp
- move.l IMM(__heap_end), d1
-#if HOSTED
- /* INIT_SIM syscall. Allows changing sp & d1. */
- move.l IMM(1),d0
-
- /* The semihosting sequence is 'nop; halt;sentinel' aligned to
- a 4 byte boundary. The sentinel is an ill formed instruction
- (movec %sp,0). The debugger will adjust the pc, so it is never
- executed. */
- .balignw 4,0x4e71
- nop
- halt
- .long 0x4e7bf000
-#endif
- move.l d1,sp@-
- move.l fp,sp@- /* Dummy return address */
- jmp __start1
-
diff --git a/libgloss/m68k/cf-crt1.c b/libgloss/m68k/cf-crt1.c
deleted file mode 100644
index 3f37ae9..0000000
--- a/libgloss/m68k/cf-crt1.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Initialization code for coldfire boards.
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdlib.h>
-
-extern const int __interrupt_vector[];
-extern void __reset (void);
-
-extern const char __data_load[] __attribute__ ((aligned (4)));
-extern char __data_start[] __attribute__ ((aligned (4)));
-extern char __bss_start[] __attribute__ ((aligned (4)));
-extern char __end[] __attribute__ ((aligned (4)));
-void *__heap_limit;
-extern void software_init_hook (void) __attribute__ ((weak));
-extern void hardware_init_hook (void) __attribute__ ((weak));
-extern void _init (void);
-extern void _fini (void);
-
-extern int main (int, char **, char **);
-
-/* This is called from a tiny assembly stub. */
-void __start1 (void *heap_limit)
-{
- unsigned ix;
-
- if (hardware_init_hook)
- hardware_init_hook ();
-
- /* Initialize memory */
- if (__data_load != __data_start)
- memcpy (__data_start, __data_load, __bss_start - __data_start);
- memset (__bss_start, 0, __end - __bss_start);
-
- __heap_limit = heap_limit;
-
- if (software_init_hook)
- software_init_hook ();
-
- _init ();
-
- /* I'm not sure how useful it is to have a fini_section in an
- embedded system. */
- atexit (_fini);
-
- ix = main (0, NULL, NULL);
- exit (ix);
-
- while (1)
- __reset ();
-}
-
-/* A default hardware init hook. */
-
-void __attribute__ ((weak)) hardware_init_hook (void)
-{
- /* Set the VBR. */
- __asm__ __volatile__ ("movec.l %0,%/vbr" :: "r" (__interrupt_vector));
-
-#if !defined(__mcf_family_5213) && !defined(__mcf_family_51qe) && !defined(__mcf_family_51)
- /* Flush & enable the caches */
-#define CACR_CINV (1 << 24)
-#define CACR_CENB (1 << 31)
- __asm__ __volatile__ ("movec.l %0,%/cacr" :: "r" (CACR_CINV | CACR_CENB));
-#endif
-
- /* Should we drop into user mode here? */
-}
diff --git a/libgloss/m68k/cf-exit.c b/libgloss/m68k/cf-exit.c
deleted file mode 100644
index 7d17a9b..0000000
--- a/libgloss/m68k/cf-exit.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * cf-exit.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-extern void __reset (void);
-
-/*
- * _exit -- Exit from the application.
- */
-
-void __attribute__ ((noreturn)) _exit (int code)
-{
- while (1)
- {
- __asm__ __volatile__ ("halt" ::: "memory");
- __reset ();
- }
-}
diff --git a/libgloss/m68k/cf-hosted.S b/libgloss/m68k/cf-hosted.S
deleted file mode 100644
index ed8e891..0000000
--- a/libgloss/m68k/cf-hosted.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * cf-hosted.S --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* Semihosting function. The debugger intercepts the halt, and
- determines that it is followed by the sentinel pattern. */
-
- .globl __hosted
-__hosted:
- linkw %fp,#0
- movel %fp@(8),%d0
- movel %fp@(12),%d1
-
- /* The semihosting sequence is 'nop; halt;sentinel' aligned to
- a 4 byte boundary. The sentinel is an ill formed instruction
- (movec %sp,0). The debugger will adjust the pc, so it is never
- executed. */
- .balignw 4,0x4e71
- nop
- halt
- .long 0x4e7bf000
-
- unlk %fp
- rts
diff --git a/libgloss/m68k/cf-isrs.c b/libgloss/m68k/cf-isrs.c
deleted file mode 100644
index 34dcf2c..0000000
--- a/libgloss/m68k/cf-isrs.c
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- * cf-isv.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* This file contains default interrupt handlers code for the
- interrupt vector. All but one of the interrupts are user
- replaceable.
-
- These interrupt handlers are entered whenever the associated
- interrupt occurs. All they do is stop the debugger to give the user
- the opportunity to determine where the problem was. */
-
-
-/* Each ISR is a loop containing a halt instruction */
-#define ISR_DEFINE(NAME) \
-void __attribute__((interrupt_handler)) NAME (void) \
-{ \
- while (1) \
- __asm__ __volatile__ ("halt" ::: "memory"); \
-} \
-struct eat_trailing_semicolon
-
-#if defined (L_other_interrupt)
-static ISR_DEFINE (__other_interrupt);
-#define ALIAS __other_interrupt
-#define PREFIX interrupt
-#define ALIASES A(6) A(7) \
- A(15) A(16) A(17) A(18) A(19) A(20) A(21) A(22) A(23) \
- A(25) A(26) A(27) A(28) A(29) A(30) A(31) \
- A(56) A(57) A(58) A(59) A(60) A(62) A(63) \
- A(64) A(65) A(66) A(67) A(68) A(69) A(70) A(71) \
- A(72) A(73) A(74) A(75) A(76) A(77) A(78) A(79) \
- A(80) A(81) A(82) A(83) A(84) A(85) A(86) A(87) \
- A(88) A(89) A(90) A(91) A(92) A(93) A(94) A(95) \
- A(96) A(97) A(98) A(99) A(100) A(101) A(102) A(103) \
- A(104) A(105) A(106) A(107) A(108) A(109) A(110) A(111) \
- A(112) A(113) A(114) A(115) A(116) A(117) A(118) A(119) \
- A(120) A(121) A(122) A(123) A(124) A(125) A(126) A(127) \
- A(128) A(129) A(130) A(131) A(132) A(133) A(134) A(135) \
- A(136) A(137) A(138) A(139) A(140) A(141) A(142) A(143) \
- A(144) A(145) A(146) A(147) A(148) A(149) A(150) A(151) \
- A(152) A(153) A(154) A(155) A(156) A(157) A(158) A(159) \
- A(160) A(161) A(162) A(163) A(164) A(165) A(166) A(167) \
- A(168) A(169) A(170) A(171) A(172) A(173) A(174) A(175) \
- A(176) A(177) A(178) A(179) A(180) A(181) A(182) A(183) \
- A(184) A(185) A(186) A(187) A(188) A(189) A(190) A(191) \
- A(192) A(193) A(194) A(195) A(196) A(197) A(198) A(199) \
- A(200) A(201) A(202) A(203) A(204) A(205) A(206) A(207) \
- A(208) A(209) A(210) A(211) A(212) A(213) A(214) A(215) \
- A(216) A(217) A(218) A(219) A(220) A(221) A(222) A(223) \
- A(224) A(225) A(226) A(227) A(228) A(229) A(230) A(231) \
- A(232) A(233) A(234) A(235) A(236) A(237) A(238) A(239) \
- A(240) A(241) A(242) A(243) A(244) A(245) A(246) A(247) \
- A(248) A(249) A(250) A(251) A(252) A(253) A(254) A(255)
-#endif
-
-#if defined (L_access_error)
-ISR_DEFINE (__access_error);
-#define DEFINED __access_error
-#endif
-
-#if defined (L_address_error)
-ISR_DEFINE (__address_error);
-#define DEFINED __address_error
-#endif
-
-#if defined (L_illegal_instruction)
-ISR_DEFINE (__illegal_instruction);
-#define DEFINED __illegal_instruction
-#endif
-
-#if defined (L_divide_by_zero)
-ISR_DEFINE (__divide_by_zero);
-#define DEFINED __divide_by_zero
-#endif
-
-#if defined (L_privilege_violation)
-ISR_DEFINE (__privilege_violation);
-#define DEFINED __privilege_violation
-#endif
-
-#if defined (L_trace)
-ISR_DEFINE (__trace);
-#define DEFINED __trace
-#endif
-
-#if defined (L_unimplemented_opcode)
-static ISR_DEFINE (__unimplemented_opcode);
-#define ALIAS __unimplemented_opcode
-#define PREFIX unimplemented_
-#define SUFFIX _opcode
-#define ALIASES A(line_a) A(line_f)
-#endif
-
-#if defined (L_breakpoint_debug_interrupt)
-static ISR_DEFINE (__breakpoint_debug_interrupt);
-#define ALIAS __breakpoint_debug_interrupt
-#define SUFFIX _breakpoint_debug_interrupt
-#define ALIASES A(non_pc) A(pc)
-#endif
-
-#if defined (L_format_error)
-ISR_DEFINE (__format_error);
-#define DEFINED __format_error
-#endif
-
-#if defined (L_spurious_interrupt)
-ISR_DEFINE (__spurious_interrupt);
-#define DEFINED __spurious_interrupt
-#endif
-
-#if defined (L_trap_interrupt)
-static ISR_DEFINE (__trap_interrupt);
-#define ALIAS __trap_interrupt
-#define PREFIX trap
-#define ALIASES A(0) A(1) A(2) A(3) A(4) A(5) A(6) A(7) \
- A(8) A(9) A(10) A(11) A(12) A(13) A(14) A(15)
-#endif
-
-#if defined (L_fp_interrupt)
-static ISR_DEFINE (__fp_interrupt);
-#define ALIAS __fp_interrupt
-#define PREFIX fp_
-#define ALIASES A(branch_unordered) A(inexact_result) A(divide_by_zero) \
- A(underflow) A(operand_error) A(overflow) A(input_not_a_number) \
- A(input_denormalized_number)
-#endif
-
-#if defined (L_unsupported_instruction)
-ISR_DEFINE (__unsupported_instruction);
-#define DEFINED __unsupported_instruction
-#endif
-
-#if defined(ALIAS)
-#ifndef PREFIX
-#define PREFIX
-#endif
-#ifndef SUFFIX
-#define SUFFIX
-#endif
-#define STRING_(a) #a
-#define STRING(a) STRING_(a)
-#define PASTE4_(a,b,c,d) a##b##c##d
-#define PASTE4(a,b,c,d) PASTE4_(a,b,c,d)
-#define A(N) \
- void __attribute__((weak, alias(STRING(ALIAS)))) PASTE4(__,PREFIX,N,SUFFIX) (void);
-ALIASES
-#elif !defined(DEFINED)
-#error "No interrupt routine requested"
-#endif
-
diff --git a/libgloss/m68k/cf-isv.S b/libgloss/m68k/cf-isv.S
deleted file mode 100644
index e8b912a..0000000
--- a/libgloss/m68k/cf-isv.S
+++ /dev/null
@@ -1,120 +0,0 @@
-/* The interrupt table.
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- .macro SLOT,n,prefix=,suffix=
- .long __\prefix\n\suffix
- .endm
-
- .macro ISR n
- SLOT \n,interrupt,
- .endm
-
- .macro TRAP n
- SLOT \n,trap,
- .endm
-
- .macro FP n
- SLOT \n,fp_,
- .endm
-
- .macro UNIMP_OPCODE n
- SLOT \n,unimplemented_,_opcode
- .endm
-
- .macro BREAKPOINT_DEBUG n
- SLOT \n,,_breakpoint_debug_interrupt
- .endm
-
- .section .interrupt_vector,"a"
-
- .globl __interrupt_vector
-__interrupt_vector:
-
- .long __stack /* 0 */
- .long __reset /* 1 */
- .long __access_error /* 2 */
- .long __address_error /* 3 */
- .long __illegal_instruction /* 4 */
- .long __divide_by_zero /* 5 */
- ISR 6
- ISR 7
- .long __privilege_violation /* 8 */
- .long __trace /* 9 */
- UNIMP_OPCODE line_a /* 10 */
- UNIMP_OPCODE line_f /* 11 */
- BREAKPOINT_DEBUG non_pc /* 12 */
- BREAKPOINT_DEBUG pc /* 13 */
- .long __format_error /* 14 */
- .irp N,15,16,17,18,19,20,21,22,23
- ISR \N /* [15,24) */
- .endr
- .long __spurious_interrupt /* 24 */
- .irp N,25,26,27,28,29,30,31
- ISR \N /* [25,32) */
- .endr
- .irp N,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
- TRAP \N /* [32,48) */
- .endr
- FP branch_unordered /* 48 */
- FP inexact_result /* 49 */
- FP divide_by_zero /* 50 */
- FP underflow /* 51 */
- FP operand_error /* 52 */
- FP overflow /* 53 */
- FP input_not_a_number /* 54 */
- FP input_denormalized_number /* 55 */
- .irp N,56,57,58,59,60
- ISR \N /* [56,61) */
- .endr
- .long __unsupported_instruction /* 61 */
- .irp N,62,63
- ISR \N /* [62,64) */
- .endr
- .irp N,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79
- ISR \N /* [64,80) */
- .endr
- .irp N,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95
- ISR \N /* [80,96) */
- .endr
- .irp N,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111
- ISR \N /* [96,112) */
- .endr
- .irp N,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127
- ISR \N /* [112,128) */
- .endr
- .irp N,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143
- ISR \N /* [128,144) */
- .endr
- .irp N,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159
- ISR \N /* [144,160) */
- .endr
- .irp N,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175
- ISR \N /* [160,176) */
- .endr
- .irp N,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191
- ISR \N /* [176,192) */
- .endr
- .irp N,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207
- ISR \N /* [192,208) */
- .endr
- .irp N,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223
- ISR \N /* [208,224) */
- .endr
- .irp N,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239
- ISR \N /* [224,240) */
- .endr
- .irp N,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
- ISR \N /* [240,256) */
- .endr
diff --git a/libgloss/m68k/cf-sbrk.c b/libgloss/m68k/cf-sbrk.c
deleted file mode 100644
index 1bcf3f0..0000000
--- a/libgloss/m68k/cf-sbrk.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * cf-sbrk.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-
-extern char __end[] __attribute__ ((aligned (4)));
-
-/* End of heap, if non NULL. */
-extern void *__heap_limit;
-
-void *
-sbrk (int nbytes)
-{
- static char *heap = __end;
- char *end = __heap_limit;
- char *base = heap;
- char *new_heap = heap + nbytes;
-
- if (!end)
- {
- /* Use sp - 256 as the heap limit. */
- __asm__ __volatile__ ("move.l %/sp,%0" : "=r"(end));
- end -= 256;
- }
- if (nbytes < 0 || (long)(end - new_heap) < 0)
- {
- errno = ENOMEM;
- return (void *)-1;
- }
- heap = new_heap;
- return base;
-}
diff --git a/libgloss/m68k/cf.sc b/libgloss/m68k/cf.sc
deleted file mode 100644
index 3c936d0..0000000
--- a/libgloss/m68k/cf.sc
+++ /dev/null
@@ -1,139 +0,0 @@
-# a linker script template.
-# RAM - start of board's ram
-# RAM_SIZE - size of board's ram
-# ROM - start of board's rom
-# ROM_SIZE - size of board's rom
-# IO - io library name
-
-test -z "${ROM:+1}" && NOROM=1
-
-cat <<EOF
-STARTUP(cf-${IO}-crt0.o)
-OUTPUT_ARCH(m68k)
-ENTRY(__start)
-SEARCH_DIR(.)
-GROUP(-lc -l${IO} -lcf)
-__DYNAMIC = 0;
-
-MEMORY
-{
- ${ROM:+rom (rx) : ORIGIN = ${ROM}, LENGTH = ${ROM_SIZE}}
- ram (rwx) : ORIGIN = ${RAM}, LENGTH = ${RAM_SIZE}
-}
-
-/* Place the stack at the end of memory, unless specified otherwise. */
-PROVIDE (__stack = ${RAM} + ${RAM_SIZE});
-
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.interrupt_vector)
-
- cf-${IO}-crt0.o(.text)
- *(.text .text.*)
- *(.gnu.linkonce.t.*)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.jcr))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr))
- KEEP (*crtend.o(.jcr))
-
- *(.rodata .rodata.*)
- *(.gnu.linkonce.r.*)
-
- . = ALIGN(0x4);
- *(.gcc_except_table)
-
- . = ALIGN(0x4);
- *(.eh_frame)
-
- . = ALIGN(0x4);
- _init = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(0x4);
- _fini = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- *(.lit)
-
- . = ALIGN(4);
- _etext = .;
- } >${ROM:+rom}${NOROM:+ram}
-
- .data :
- {
- __data_load = LOADADDR (.data);
- __data_start = .;
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- *(.gnu.linkonce.d.*)
- . = ALIGN (4);
- _edata = .;
- } >ram ${ROM:+AT>rom}
-
- .bss :
- {
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (8);
- _end = .;
- __end = _end;
- } >ram ${ROM:+AT>rom}
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
-
-}
-EOF
diff --git a/libgloss/m68k/configure b/libgloss/m68k/configure
deleted file mode 100755
index 4de4087..0000000
--- a/libgloss/m68k/configure
+++ /dev/null
@@ -1,4995 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-CFLAGS
-LDFLAGS
-CPPFLAGS
-ac_ct_CC
-EXEEXT
-OBJEXT
-CPP
-DO
-host_makefile_frag_path
-target_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CPP'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- nonstandard directory <lib dir>
- LIBS libraries to pass to the linker, e.g. -l<library>
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
- you have headers in a nonstandard directory <include dir>
- CPP C preprocessor
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${with_multisrctop}../../.."
- else
- libgloss_topdir="${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-{ echo "$as_me:$LINENO: checking target cpu family" >&5
-echo $ECHO_N "checking target cpu family... $ECHO_C" >&6; }
-DO=m68k
-saved_LDFLAGS="$LDFLAGS"
-LDFLAGS="-nostdlib -e main"
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
-echo "${ECHO_T}$ac_ct_CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
-echo "${ECHO_T}$ac_ct_CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&5
-echo "$as_me: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler --version >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -v >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compiler -V >&5") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }
-
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-#
-# List of possible output files, starting from the most likely.
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
-# only as a last resort. b.out is created by i960 compilers.
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
-#
-# The IRIX 6 linker writes into existing files which may not be
-# executable, retaining their permissions. Remove them first so a
-# subsequent execution test works.
-ac_rmfiles=
-for ac_file in $ac_files
-do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
-done
-rm -f $ac_rmfiles
-
-if { (ac_try="$ac_link_default"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile. We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- # We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
- # argument, so we may need to know it at that point already.
- # Even if this section looks crufty: it has the advantage of
- # actually working.
- break;;
- * )
- break;;
- esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
- ac_file=''
-fi
-
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
-echo "${ECHO_T}$ac_file" >&6; }
-if test -z "$ac_file"; then
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
-See \`config.log' for more details." >&5
-echo "$as_me: error: C compiler cannot create executables
-See \`config.log' for more details." >&2;}
- { (exit 77); exit 77; }; }
-fi
-
-ac_exeext=$ac_cv_exeext
-
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
- if { ac_try='./$ac_file'
- { (case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
-echo "${ECHO_T}$cross_compiling" >&6; }
-
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
-done
-else
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-rm -f conftest$ac_cv_exeext
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
-if test "${ac_cv_objext+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
-done
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
-echo "${ECHO_T}$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_compiler_gnu=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_compiler_gnu=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-GCC=`test $ac_compiler_gnu = yes && echo yes`
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_c89=$ac_arg
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { echo "$as_me:$LINENO: result: none needed" >&5
-echo "${ECHO_T}none needed" >&6; } ;;
- xno)
- { echo "$as_me:$LINENO: result: unsupported" >&5
-echo "${ECHO_T}unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
- if test "${ac_cv_prog_CPP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- # Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <ac_nonexistent.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- break
-fi
-
- done
- ac_cv_prog_CPP=$CPP
-
-fi
- CPP=$ac_cv_prog_CPP
-else
- ac_cv_prog_CPP=$CPP
-fi
-{ echo "$as_me:$LINENO: result: $CPP" >&5
-echo "${ECHO_T}$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
- Syntax error
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Broken: fails on valid input.
-continue
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <ac_nonexistent.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- # Broken: success on invalid input.
-continue
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
- :
-else
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-cat >conftest.$ac_ext <<_ACEOF
-#ifndef __mcoldfire__
- #error we are not coldfire
- #endif
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- DO="cf"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f conftest.err conftest.$ac_ext
-cat >conftest.$ac_ext <<_ACEOF
-#ifndef __mfido__
- #error we are not fido
- #endif
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- DO="fido"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f conftest.err conftest.$ac_ext
-LDFLAGS=$saved_LDFLAGS
-{ echo "$as_me:$LINENO: result: $DO" >&5
-echo "${ECHO_T}$DO" >&6; }
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-CFLAGS!$CFLAGS$ac_delim
-LDFLAGS!$LDFLAGS$ac_delim
-CPPFLAGS!$CPPFLAGS$ac_delim
-ac_ct_CC!$ac_ct_CC$ac_delim
-EXEEXT!$EXEEXT$ac_delim
-OBJEXT!$OBJEXT$ac_delim
-CPP!$CPP$ac_delim
-DO!$DO$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-
diff --git a/libgloss/m68k/configure.in b/libgloss/m68k/configure.in
deleted file mode 100644
index 0ec5860..0000000
--- a/libgloss/m68k/configure.in
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${with_multisrctop}../../.."
- else
- libgloss_topdir="${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-AC_MSG_CHECKING([target cpu family])
-DO=m68k
-dnl Temporarily modify LDFLAGS so that link tests will succeed without
-dnl a C library. Note that we may not have a C librabry yet and that
-dnl autoconf automatically adds script to check whether we can create
-dnl an executable or not.
-dnl
-saved_LDFLAGS="$LDFLAGS"
-LDFLAGS="-nostdlib -e main"
-AC_PREPROC_IFELSE([#ifndef __mcoldfire__
- #error we are not coldfire
- #endif],
- DO="cf",)
-AC_PREPROC_IFELSE([#ifndef __mfido__
- #error we are not fido
- #endif],
- DO="fido",)
-LDFLAGS=$saved_LDFLAGS
-AC_MSG_RESULT($DO)
-AC_SUBST(DO)
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
diff --git a/libgloss/m68k/cpu32bug.S b/libgloss/m68k/cpu32bug.S
deleted file mode 100644
index 39f31d4..0000000
--- a/libgloss/m68k/cpu32bug.S
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * cpu32bug.S -- board support for the CPU32BUG monitor.
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-#include "cpu32bug.h"
-
- .title "cpu32bug.S for m68k-coff"
-
- .text
- .global SYM (_exit)
- .global SYM (outln)
- .global SYM (outbyte)
- .global SYM (putDebugChar)
- .global SYM (inbyte)
- .global SYM (getDebugChar)
- .global SYM (havebyte)
-
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run.
- */
- .text
- .align 2
-SYM (_exit):
- link fp, IMM(0)
- trap IMM(15)
- .word RETURN
-
-/*
- * inbyte -- get a byte from the serial port
- * d0 - contains the byte read in
- */
- .text
- .align 2
-SYM (getDebugChar): /* symbol name used by m68k-stub */
-SYM (inbyte):
- link fp, IMM(-8)
- trap IMM(15)
- .word INCHR
- moveb sp@, d0
- extw d0
- extl d0
- unlk fp
- rts
-
-/*
- * outbyte -- sends a byte out the serial port
- * d0 - contains the byte to be sent
- */
- .text
- .align 2
-SYM (putDebugChar): /* symbol name used by m68k-stub */
-SYM (outbyte):
- link fp, IMM(-4)
- moveb fp@(11), sp@
- trap IMM(15)
- .word OUTCHR
- unlk fp
- rts
-
-/*
- * outln -- sends a string of bytes out the serial port with a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .text
- .align 2
-SYM (outln):
- link fp, IMM(-8)
- moveml a0/a1, sp@
- trap IMM(15)
- .word OUTLN
- unlk fp
- rts
-
-/*
- * outstr -- sends a string of bytes out the serial port without a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .text
- .align 2
-SYM (outstr):
- link fp, IMM(-8)
- moveml a0/a1, sp@
- trap IMM(15)
- .word OUTSTR
- unlk fp
- rts
-
-/*
- * havebyte -- checks to see if there is a byte in the serial port,
- * returns 1 if there is a byte, 0 otherwise.
- */
- .text
- .align 2
-SYM (havebyte):
- trap IMM(15)
- .word INSTAT
- beqs empty
- movel IMM(1), d0
- rts
-empty:
- movel IMM(0), d0
- rts
diff --git a/libgloss/m68k/cpu32bug.h b/libgloss/m68k/cpu32bug.h
deleted file mode 100644
index 583b1a9..0000000
--- a/libgloss/m68k/cpu32bug.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * These constants are for the M68332BCC's boot monitor. They
- * are used with a TRAP 15 call to access the monitor's I/O routines.
- * they must be in the word following the trap call.
- */
- INCHR=0X0
- INSTAT=0X1
- INLN=0X2
- READSTR=0X3
- READLN=0X4
- CHKBRK=0X5
-
- OUTCHR=0X20
- OUTSTR=0X21
- OUTLN=0X22
- WRITE=0X23
- WRITELN=0X24
- WRITDLN=0X25
- PCRLF=0X26
- ERASELN=0X27
- WRITD=0X28
- SNDBRK=0X29
-
- TM_INI=0X40
- TM_STR0=0X41
- TM_RD=0X42
- DELAY=0X43
-
- RETURN=0X63
- BINDEC=0X64
-
- CHANGEV=0X67
- STRCMP=0X68
- MULU32=0X69
- DIVU32=0X6A
diff --git a/libgloss/m68k/crt0.S b/libgloss/m68k/crt0.S
deleted file mode 100644
index 4c91628..0000000
--- a/libgloss/m68k/crt0.S
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * crt0.S -- startup file for m68k-coff
- *
- * Copyright (c) 1995, 1996, 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-
- .title "crt0.S for m68k-coff"
-#define STACKSIZE 0x4000
-
-/*
- * Define an empty environment.
- */
- .data
- .align 2
-SYM (environ):
- .long 0
-
- .align 2
- .text
-
-/*
- * These symbols are defined in C code, so they need to always be
- * named with SYM because of the difference between object file formats.
- */
-
-/* These are defined in C code. */
- .extern SYM (main)
- .extern SYM (exit)
- .extern SYM (hardware_init_hook)
- .extern SYM (software_init_hook)
- .extern SYM (atexit)
- .extern SYM(__do_global_dtors)
-
-/*
- * These values are set in the linker script, so they must be
- * explicitly named here without SYM.
- */
- .extern __stack
- .extern __bss_start
- .extern _end
-
-/*
- * Set things up so the application will run. For historical reasons
- * this is called 'start'. We set things up to provide '_start'
- * as with other systems, but also provide a weak alias called
- * 'start' for compatibility with existing linker scripts.
- */
- .global SYM (start)
- .weak SYM (start)
- .set SYM (start),SYM(_start)
-
- .global SYM (_start)
-SYM (_start):
- /*
- * put any hardware init code here
- */
-
- /* See if user supplied their own stack (__stack != 0). If not, then
- * default to using the value of %sp as set by the ROM monitor.
- */
- movel IMM(__stack), a0
- cmpl IMM(0), a0
- jbeq 1f
- movel a0, sp
-1:
- /* set up initial stack frame */
- link a6, IMM(-8)
-
-/*
- * zero out the bss section.
- */
- movel IMM(__bss_start), d1
- movel IMM(_end), d0
- cmpl d0, d1
- jbeq 3f
- movl d1, a0
- subl d1, d0
- subql IMM(1), d0
-2:
- clrb (a0)+
-#if !defined(__mcoldfire__)
- dbra d0, 2b
- clrw d0
- subql IMM(1), d0
- jbcc 2b
-#else
- subql IMM(1), d0
- jbpl 2b
-#endif
-
-3:
-
-/*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
- PICLEA SYM (hardware_init_hook), a0
- cmpl IMM(0),a0
- jbeq 4f
- jsr (a0)
-4:
-
- PICLEA SYM (software_init_hook), a0
- cmpl IMM(0),a0
- jbeq 5f
- jsr (a0)
-5:
-
-/*
- * call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * we pass argv as a pointer to NULL.
- */
-
-#ifdef ADD_DTORS
- /* put __do_global_dtors in the atexit list so the destructors get run */
- movel IMM (SYM(__do_global_dtors)),(sp)
- PICCALL SYM (atexit)
-#endif
- movel IMM (__FINI_SECTION__),(sp)
- PICCALL SYM (atexit)
-
- PICCALL __INIT_SECTION__
-
- pea 0
- PICPEA SYM (environ),a0
- pea sp@(4)
- pea 0
- PICCALL SYM (main)
- movel d0, sp@-
-
-/*
- * drop down into exit incase the user doesn't. This should drop
- * control back to the ROM monitor, if there is one. This calls the
- * exit() from the C library so the C++ tables get cleaned up right.
- */
- PICCALL SYM (exit)
diff --git a/libgloss/m68k/dtor.C b/libgloss/m68k/dtor.C
deleted file mode 100644
index 2cfcb46..0000000
--- a/libgloss/m68k/dtor.C
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdio.h>
-
-extern "C" void print (char *, ...);
-
-class foo
-{
-public:
- foo () { print ("ctor\n"); }
- ~foo () { print ("dtor\n"); }
-};
-
-foo x;
-
-main ()
-{
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
- print ("FooBar\r\n");
-
- /* whew, we made it */
- print ("\r\nDone...\r\n");
- fflush(stdout);
-}
diff --git a/libgloss/m68k/fido-_exit.c b/libgloss/m68k/fido-_exit.c
deleted file mode 100644
index 08a1542..0000000
--- a/libgloss/m68k/fido-_exit.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2006 CodeSourcery, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdlib.h>
-
-__attribute__((noreturn))
-void
-_exit (int code)
-{
- while (1)
- asm volatile ("stop #0x700");
-}
diff --git a/libgloss/m68k/fido-crt0.S b/libgloss/m68k/fido-crt0.S
deleted file mode 100644
index 757d9eb..0000000
--- a/libgloss/m68k/fido-crt0.S
+++ /dev/null
@@ -1,600 +0,0 @@
-/**
- * fido-crt0.S -- Simple startup code
- *
- * Copyright (c) 1995, 1996, 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- * Copyright 2006 Innovasic Semiconductor, All Rights Reserved.
- * Part of the fido Realtime Support Library
- *
- * Description:
- * This routine performs initializations assuming a Fido
- * development board. In order, the following functions are performed:
- *
- * -- memory offset register initialization
- * -- chip select register initialization for external memory
- * -- SDRAM ctrl register initialization for external memory
- * -- in line test of external SRAM
- * -- sets user SP for MasterContext0 (main)
- * -- copies the bss section to RAM
- * -- transfers control to MasterContext0 (main)
- *
- */
-
-#include "asm.h"
-#include "fido.h"
-
-.title "fido-crt0.S for Fido"
-
-/*----------------------------------------------------------------------------*/
-//--------- 66 MHz values --------
-// set up CS0 for flash
-#define CS0_CTRL_VAL 0x0000024A
-#define CS0_TIMING_VAL 0x01000000
-
-// set up CS1 for SDRAM
-#define CS1_CTRL_VAL 0x0200030A /* selects SDRAM ctrl instead of CS1 */
-#define CS1_TIMING_VAL 0x00000000 /* N/A for SDRAM operation */
-#define SDRAM_TIMING_0_VAL 0x00022522 /* TRP=0x2, TRCD=0x2, TRF=0x5, TWR=0x5 TCL=0x5 */
-#define SDRAM_TIMING_1_VAL 0x00120407 /* INI_PREC=0x1, INI_REFT=0x2, REF_INTV=0x407 */
-#define SDRAM_CONFIG_0_VAL 0x00002113 /* MA2T=0, DDW=x16device=0x2, dsz=64MBit, mbw=16bit, bnksz=8Mbyte */
-#define SDRAM_CONFIG_1_VAL 0x00000000 /* IPREC=0, IREF=0, ISMR=0, PWDN=0, SREF=0 */
-#define SDRAM_EXT_BANK_1_VAL 0x00001020 /* SDRAM memory bank 0 at addr 0x0200_0000 */
-
-// set up CS2 for SRAM
-#define CS2_CTRL_VAL 0x03000267
-#define CS2_TIMING_VAL 0x08400000
-/*----------------------------------------------------------------------------*/
-
-#define EXT_SRAM_END_ADDR 0x30FFFFC /* 1 MB of ext. SRAM (2-512Kx8 chips) */
-#define PERP_PWRUP_MASK 0x0000 /* turn on all peripherals */
-
-/*
- * Define an empty environment.
- */
- .data 2
- .align 2
-SYM (environ):
- .long 0
-
- .align 2
- .text 2
-
-/*
- * These symbols are defined in C code, so they need to always be
- * named with SYM because of the difference between object file formats.
- */
-
-/* These are defined in C code. */
-/* .extern SYM (main) */
- .extern SYM (exit)
- .extern SYM (hardware_init_hook)
- .extern SYM (software_init_hook)
- .extern SYM (atexit)
- .extern SYM (__do_global_dtors)
-/*
- * These values are set in the linker script, so they must be
- * explicitly named here without SYM.
- */
-#ifdef FIDO_rom
- .extern __stack
-#endif
- .extern __bss_start
- .extern _end
-
-/*
- * set things up so application will run. This *must* be called _start.
- */
- .global SYM (_start)
-
-SYM (_start):
-
-#ifdef FIDO_rom
- /* save initial value of base offset register */
- movec mbb,d7
-
- /* Initialize memory offset register to offset value in FIDOmemmap.h */
- movel #FIDO_MEM_OFFSET,d0 /* Load memory offset into REG d0 */
- movec d0,mbb
-
- movel #0x011, FIDO_DBG_CTRL /* set the debug control reg */
-
- /* At POR the PerpPowerCtrlReg is set to 0x3F0F, all peripherals off
- See PerpPowerCtrlReg definition, this example turns ON everything */
- movel #PERP_PWRUP_MASK,FIDO_CLOCK_MASK_REGISTER
-
- /* Set up chip selects for ROM, SRAM, and SDRAM (all external mem.) */
- movel #CS0_CTRL_VAL, FIDO_BIU_CS0_CONTROL /* flash memory CS0 */
- movel #CS0_TIMING_VAL, FIDO_BIU_CS0_TIMING
-
- movel #CS2_CTRL_VAL, FIDO_BIU_CS2_CONTROL /* SRAM memory CS2 */
- movel #CS2_TIMING_VAL, FIDO_BIU_CS2_TIMING
-
- /* if this is not POR then say so */
- movel FIDO_POR_REG,d6
-
- /* test external SRAM -- */
- /* a0 == working pointer */
- /* a1 == pointer to base of memory */
- /* a2 == pointer to end of memory */
- /* d0,d1,d2,d3 working registers */
-
- moveal #0x3000000,a1
- moveal #0x30FFFFC,a2
-
- movel a1,a0
- /* walking ones */
- movel #1,d0
-
-.LWalkOnes:
- movel d0, (a0) /* write value out */
- cmpl (a0), d0 /* read it back */
- bne .LFailOnes
- lsl.l #1, d0 /* move to next value */
- bne .LWalkOnes /* when it goes to zero you're done */
- bra .LValTest
-.LFailOnes:
- movel #0x01, d0
- bra .LMemTestEnd
-
-.LValTest:
- /* ffff's */
- /* 5555's */
- /* aaaa's */
- /* 0000's */
- movel a1,a0
- movel #0xFFFFFFFF,d0
-
-.LValLoop:
- movel d0,(a0) /* write value out */
- cmpl (a0)+, d0 /* compare and move to next */
- bne .LFailVal
- cmpl a0,a2 /* at end of memory? */
- bge .LValLoop
- movel d0,d0 /* done writing zeros? */
- beq .LAddrTest
- movel a1,a0 /* go back to start with next value */
- subl #0x55555555,d0 /* get next value (f->a->5->0) */
- bra .LValLoop
-.LFailVal:
- movel #0x02, d0
- bra .LMemTestEnd
-
-.LAddrTest:
- /* unique values */
- movel a1,a0
-.LWriteLoop:
- movel a0, (a0)+ /* write value out and move one */
- cmpl a0,a2 /* look for end of memory */
- bge .LWriteLoop
-
- movel a1,a0
-.LReadLoop:
- cmpl (a0), a0 /* compare value and move on */
- bne .LFailAddr
- addql #4,a0
- cmpl a0,a2 /* look for end of memory */
- bge .LReadLoop
- clrl d0 /* everything passed */
- bra .LMemTestEnd
-
-.LFailAddr:
- movel #0x03, d0
-
-.LMemTestEnd:
- movel d0,d4 /* mem test result in d4 0 == pass */
-#endif /* ROM */
-
- /* See if user supplied their own stack (__stack != 0). If not, then
- * default to using the value of %sp as set by the ROM monitor */
- movel IMM(__stack), a0
- cmpl IMM(0), a0
- jbeq .Lloc1
- movel a0, sp
-.Lloc1:
- /* set up initial stack frame */
- link a6, IMM(-8)
-
-#ifdef FIDO_rom
-/*
- * Now set up the SDRAM (waited to let the controller spin up)
-*/
- /* always initialize SDRAM regs, they're cleared by any reset */
- /* SDRAM enbl bit set in CS1 re-directs to SDRAM controller regs */
-
- movel #CS1_CTRL_VAL, FIDO_BIU_CS1_CONTROL /* SDRAM memory CS1 */
- movel #SDRAM_TIMING_0_VAL, FIDO_SDRAM_TIMING_0 /* SDRAM TIMING REG0 */
- movel #SDRAM_TIMING_1_VAL, FIDO_SDRAM_TIMING_1 /* SDRAM TIMING REG1 */
- movel #SDRAM_CONFIG_0_VAL, FIDO_SDRAM_CONFIG_0 /* SDRAM CONFIG REG */
- movel #0x0000001c, FIDO_SDRAM_CONFIG_1 /* SDRAM CONFIG REG */
-
-.LsdConfigLoop:
- movel FIDO_SDRAM_CONFIG_1,d0
- cmpl #0x00000000,d0
- bne .LsdConfigLoop
-
- movel #SDRAM_EXT_BANK_1_VAL, FIDO_SDRAM_EXT_BANK_1 /* BANK 1 REG */
-
-/*
- * copy data from ROM to RAM
- */
-
- moval IMM(__start_romdata),a0 /* begin data in ROM */
- moval IMM(_data), a1 /* begin data in RAM */
- moval IMM(_edata),a2 /* end of data in RAM */
-
- /* while(a1 < a2) *a1++ = *a0++; */
-.LdataCopyLoop:
- movel (a0)+,(a1)+
- cmpal a1,a2
- bgt .LdataCopyLoop
-#endif /* ROM */
-
-#ifdef FIDO_ram
- /* For ROM configs, the linker script ensures that
- _vector_table is placed at the proper place. For RAM
- configs, we have to adjust it ourselves. */
- movel IMM (SYM (_vector_table)), FIDO_CTX0_VBR
-#endif
-
-#ifndef FIDO_redboot
- /* Setup interrupt vectors for secondary contexts. */
- movel IMM (SYM (_vector_table1)), FIDO_CTX1_VBR
- movel IMM (SYM (_vector_table2)), FIDO_CTX2_VBR
- movel IMM (SYM (_vector_table3)), FIDO_CTX3_VBR
- movel IMM (SYM (_vector_table4)), FIDO_CTX4_VBR
-#endif
-
-/*
- * zero out the bss section.
- */
- movel IMM(__bss_start), d1
- movel IMM(_end), d0
- cmpl d0, d1
- jbeq .Lloc3
- movl d1, a0
- subl d1, d0
- subql IMM(1), d0
-2:
- clrb (a0)+
-#ifndef __mcf5200__
- dbra d0, 2b
- clrw d0
- subql IMM(1), d0
- jbcc 2b
-#else
- subql IMM(1), d0
- jbpl 2b
-#endif
-
-.Lloc3:
-
-#ifdef ADD_DTORS
- /* put __do_global_dtors in the atexit list so the destructors get run */
- movel IMM (SYM(__do_global_dtors)),(sp)
- jsr SYM (atexit)
-#endif
- movel IMM (_fini),(sp)
- jsr SYM (atexit)
-
- jsr _init
-
-/*
- * call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * we pass argv as a pointer to NULL.
- */
-
- pea 0
- pea SYM (environ)
- pea sp@(4)
- pea 0
- jsr SYM (main) /* call to main */
- movel d0, sp@-
-
-/*
- * drop down into exit in case the user doesn't. This should drop
- * control back to the ROM monitor, if there is one. This calls the
- * exit() from the C library so the C++ tables get cleaned up right.
- */
- jsr SYM (exit)
-
-#ifndef FIDO_redboot
- /* Define the interrupt vector table. The linker script
- ensures that the table is placed at address zero. */
- .section .vector_table,"a"
-
- .global SYM (_vector_table)
-
-SYM (_vector_table):
-
- dc.l __stack /* 000 Initial Stack */
- dc.l _start /* 001 Context 0 Start */
- dc.l _BusErrorHandler /* 002 Bus Error */
- dc.l _AddressErrorHandler /* 003 Address Error */
- dc.l _IllegalInstructionHandler /* 004 Illegal Instruction */
- dc.l _DivideByZeroHandler /* 005 Divide by Zero */
- dc.l _ChkHandler /* 006 CHK, CHK2 Instructions */
- dc.l _TrapccHandler /* 007 TRAPcc, TRAPV Instructions */
- dc.l _PrivilegeViolationHandler /* 008 Privilege Violation */
- dc.l _TraceHandler /* 009 Trace */
- dc.l _ALineHandler /* 010 A-Line Unimplemented Instr */
- dc.l _FLineHandler /* 011 F-Line Unimplemented Instr */
- dc.l _HwBreakpointHandler /* 012 Hardware Breakpoint */
- dc.l _Reserved0Handler /* 013 Reserved */
- dc.l _FormatErrorHandler /* 014 Format Error */
- dc.l _UnitializedIntHandler /* 015 Unitialized Interrupt */
- dc.l _SoftwareIntHandler /* 016 Software Interrupt */
- dc.l _Unassigned0Handler /* 017 Unassigned */
- dc.l _Unassigned1Handler /* 018 Unassigned */
- dc.l _Unassigned2Handler /* 019 Unassigned */
- dc.l _Unassigned3Handler /* 020 Unassigned */
- dc.l _Unassigned4Handler /* 021 Unassigned */
- dc.l _Unassigned5Handler /* 022 Unassigned */
- dc.l _Unassigned6Handler /* 023 Unassigned */
- dc.l _Int0Handler /* 024 Interrupt 0 */
- dc.l _Int1Handler /* 025 Interrupt 1 */
- dc.l _Int2Handler /* 026 Interrupt 2 */
- dc.l _Int3Handler /* 027 Interrupt 3 */
- dc.l _Int4Handler /* 028 Interrupt 4 */
- dc.l _Int5Handler /* 029 Interrupt 5 */
- dc.l _Int6Handler /* 030 Interrupt 6 */
- dc.l _Int7Handler /* 031 Interrupt 7 */
- dc.l _Trap00Handler /* 032 Trap #00 Instruction */
- dc.l _Trap01Handler /* 033 Trap #01 Instruction */
- dc.l _Trap02Handler /* 034 Trap #02 Instruction */
- dc.l _Trap03Handler /* 035 Trap #03 Instruction */
- dc.l _Trap04Handler /* 036 Trap #04 Instruction */
- dc.l _Trap05Handler /* 037 Trap #05 Instruction */
- dc.l _Trap06Handler /* 038 Trap #06 Instruction */
- dc.l _Trap07Handler /* 039 Trap #07 Instruction */
- dc.l _Trap08Handler /* 040 Trap #08 Instruction */
- dc.l _Trap09Handler /* 041 Trap #09 Instruction */
- dc.l _Trap10Handler /* 042 Trap #10 Instruction */
- dc.l _Trap11Handler /* 043 Trap #11 Instruction */
- dc.l _Trap12Handler /* 044 Trap #12 Instruction */
- dc.l _Trap13Handler /* 045 Trap #13 Instruction */
- dc.l _Trap14Handler /* 046 Trap #14 Instruction */
- dc.l _Trap15Handler /* 047 Trap #15 Instruction */
- dc.l _Reserved048Handler /* 048 Reserved */
- dc.l _Reserved049Handler /* 049 Reserved */
- dc.l _Reserved050Handler /* 050 Reserved */
- dc.l _Reserved051Handler /* 051 Reserved */
- dc.l _Reserved052Handler /* 052 Reserved */
- dc.l _Reserved053Handler /* 053 Reserved */
- dc.l _Reserved054Handler /* 054 Reserved */
- dc.l _Reserved055Handler /* 055 Reserved */
- dc.l _Reserved056Handler /* 056 Reserved */
- dc.l _Reserved057Handler /* 057 Reserved */
- dc.l _Reserved058Handler /* 058 Reserved */
- dc.l _Reserved059Handler /* 059 Reserved */
- dc.l _Reserved060Handler /* 060 Reserved */
- dc.l _Reserved061Handler /* 061 Reserved */
- dc.l _Reserved062Handler /* 062 Reserved */
- dc.l _Reserved063Handler /* 063 Reserved */
- dc.l _ContextOvertimeHandler /* 064 Context Overtime */
- dc.l _MpuErrorHandler /* 065 MPU Error */
- dc.l _SystemTimer0Handler /* 066 System Timer 0 */
- dc.l _SystemTimer1Handler /* 067 System Timer 1 */
- dc.l _SystemTimer2Handler /* 068 System Timer 2 */
- dc.l _SystemTimer3Handler /* 069 System Timer 3 */
- dc.l _SystemTimer4Handler /* 070 System Timer 4 */
- dc.l _WatchdogTimerHandler /* 071 Watchdog Timer */
- dc.l _TimerCounter0Handler /* 072 Timer Counter 1 */
- dc.l _TimerCounter1Handler /* 073 Timer Counter 2 */
- dc.l _DMA0Handler /* 074 DMA Channel 0 */
- dc.l _DMA1Handler /* 075 DMA Channel 1 */
- dc.l _AtoDConversionHandler /* 076 A/D Conversion Complete */
- dc.l _Pdma0Handler /* 077 PDMA Ch 0 Interrupt */
- dc.l _Pdma1Handler /* 078 PDMA Ch 1 Interrupt */
- dc.l _Pdma2Handler /* 079 PDMA Ch 2 Interrupt */
- dc.l _Pdma3Handler /* 080 PDMA Ch 3 Interrupt */
- dc.l _Reserved081Handler /* 081 Reserved */
- dc.l _Reserved082Handler /* 082 Reserved */
- dc.l _Reserved083Handler /* 083 Reserved */
- dc.l _Reserved084Handler /* 084 Reserved */
- dc.l _Reserved085Handler /* 085 Reserved */
- dc.l _Reserved086Handler /* 086 Reserved */
- dc.l _Reserved087Handler /* 087 Reserved */
- dc.l _Reserved088Handler /* 088 Reserved */
- dc.l _Reserved089Handler /* 089 Reserved */
- dc.l _Reserved090Handler /* 090 Reserved */
- dc.l _Reserved091Handler /* 091 Reserved */
- dc.l _Reserved092Handler /* 092 Reserved */
- dc.l _Reserved093Handler /* 093 Reserved */
- dc.l _Reserved094Handler /* 094 Reserved */
- dc.l _Reserved095Handler /* 095 Reserved */
- dc.l _Trapx00Handler /* 096 Trapx 00 Instruction */
- dc.l _Trapx01Handler /* 097 Trapx 01 Instruction */
- dc.l _Trapx02Handler /* 098 Trapx 02 Instruction */
- dc.l _Trapx03Handler /* 099 Trapx 03 Instruction */
- dc.l _Trapx04Handler /* 100 Trapx 04 Instruction */
- dc.l _Trapx05Handler /* 101 Trapx 05 Instruction */
- dc.l _Trapx06Handler /* 102 Trapx 06 Instruction */
- dc.l _Trapx07Handler /* 103 Trapx 07 Instruction */
- dc.l _Trapx08Handler /* 104 Trapx 08 Instruction */
- dc.l _Trapx09Handler /* 105 Trapx 09 Instruction */
- dc.l _Trapx10Handler /* 106 Trapx 10 Instruction */
- dc.l _Trapx11Handler /* 107 Trapx 11 Instruction */
- dc.l _Trapx12Handler /* 108 Trapx 12 Instruction */
- dc.l _Trapx13Handler /* 109 Trapx 13 Instruction */
- dc.l _Trapx14Handler /* 110 Trapx 14 Instruction */
- dc.l _Trapx15Handler /* 111 Trapx 15 Instruction */
- dc.l _DummyHandler /* 112 */
- dc.l _DummyHandler /* 113 */
- dc.l _DummyHandler /* 114 */
- dc.l _DummyHandler /* 115 */
- dc.l _DummyHandler /* 116 */
- dc.l _DummyHandler /* 117 */
- dc.l _DummyHandler /* 118 */
- dc.l _DummyHandler /* 119 */
- dc.l _DummyHandler /* 120 */
- dc.l _DummyHandler /* 121 */
- dc.l _DummyHandler /* 122 */
- dc.l _DummyHandler /* 123 */
- dc.l _DummyHandler /* 124 */
- dc.l _DummyHandler /* 125 */
- dc.l _DummyHandler /* 126 */
- dc.l _DummyHandler /* 127 */
- dc.l _DummyHandler /* 128 */
- dc.l _DummyHandler /* 129 */
- dc.l _DummyHandler /* 130 */
- dc.l _DummyHandler /* 131 */
- dc.l _DummyHandler /* 132 */
- dc.l _DummyHandler /* 133 */
- dc.l _DummyHandler /* 134 */
- dc.l _DummyHandler /* 135 */
- dc.l _DummyHandler /* 136 */
- dc.l _DummyHandler /* 137 */
- dc.l _DummyHandler /* 138 */
- dc.l _DummyHandler /* 139 */
- dc.l _DummyHandler /* 140 */
- dc.l _DummyHandler /* 141 */
- dc.l _DummyHandler /* 142 */
- dc.l _DummyHandler /* 143 */
- dc.l _DummyHandler /* 144 */
- dc.l _DummyHandler /* 145 */
- dc.l _DummyHandler /* 146 */
- dc.l _DummyHandler /* 147 */
- dc.l _DummyHandler /* 148 */
- dc.l _DummyHandler /* 149 */
- dc.l _DummyHandler /* 150 */
- dc.l _DummyHandler /* 151 */
- dc.l _DummyHandler /* 152 */
- dc.l _DummyHandler /* 153 */
- dc.l _DummyHandler /* 154 */
- dc.l _DummyHandler /* 155 */
- dc.l _DummyHandler /* 156 */
- dc.l _DummyHandler /* 157 */
- dc.l _DummyHandler /* 158 */
- dc.l _DummyHandler /* 159 */
- dc.l _DummyHandler /* 160 */
- dc.l _DummyHandler /* 161 */
- dc.l _DummyHandler /* 162 */
- dc.l _DummyHandler /* 163 */
- dc.l _DummyHandler /* 164 */
- dc.l _DummyHandler /* 165 */
- dc.l _DummyHandler /* 166 */
- dc.l _DummyHandler /* 167 */
- dc.l _DummyHandler /* 168 */
- dc.l _DummyHandler /* 169 */
- dc.l _DummyHandler /* 170 */
- dc.l _DummyHandler /* 171 */
- dc.l _DummyHandler /* 172 */
- dc.l _DummyHandler /* 173 */
- dc.l _DummyHandler /* 174 */
- dc.l _DummyHandler /* 175 */
- dc.l _DummyHandler /* 176 */
- dc.l _DummyHandler /* 177 */
- dc.l _DummyHandler /* 178 */
- dc.l _DummyHandler /* 179 */
- dc.l _DummyHandler /* 180 */
- dc.l _DummyHandler /* 181 */
- dc.l _DummyHandler /* 182 */
- dc.l _DummyHandler /* 183 */
- dc.l _DummyHandler /* 184 */
- dc.l _DummyHandler /* 185 */
- dc.l _DummyHandler /* 186 */
- dc.l _DummyHandler /* 187 */
- dc.l _DummyHandler /* 188 */
- dc.l _DummyHandler /* 189 */
- dc.l _DummyHandler /* 190 */
- dc.l _DummyHandler /* 191 */
- dc.l _DummyHandler /* 192 */
- dc.l _DummyHandler /* 193 */
- dc.l _DummyHandler /* 194 */
- dc.l _DummyHandler /* 195 */
- dc.l _DummyHandler /* 196 */
- dc.l _DummyHandler /* 197 */
- dc.l _DummyHandler /* 198 */
- dc.l _DummyHandler /* 199 */
- dc.l _DummyHandler /* 200 */
- dc.l _DummyHandler /* 201 */
- dc.l _DummyHandler /* 202 */
- dc.l _DummyHandler /* 203 */
- dc.l _DummyHandler /* 204 */
- dc.l _DummyHandler /* 205 */
- dc.l _DummyHandler /* 206 */
- dc.l _DummyHandler /* 207 */
- dc.l _DummyHandler /* 208 */
- dc.l _DummyHandler /* 209 */
- dc.l _DummyHandler /* 210 */
- dc.l _DummyHandler /* 211 */
- dc.l _DummyHandler /* 212 */
- dc.l _DummyHandler /* 213 */
- dc.l _DummyHandler /* 214 */
- dc.l _DummyHandler /* 215 */
- dc.l _DummyHandler /* 216 */
- dc.l _DummyHandler /* 217 */
- dc.l _DummyHandler /* 218 */
- dc.l _DummyHandler /* 219 */
- dc.l _DummyHandler /* 220 */
- dc.l _DummyHandler /* 221 */
- dc.l _DummyHandler /* 222 */
- dc.l _DummyHandler /* 223 */
- dc.l _DummyHandler /* 224 */
- dc.l _DummyHandler /* 225 */
- dc.l _DummyHandler /* 226 */
- dc.l _DummyHandler /* 227 */
- dc.l _DummyHandler /* 228 */
- dc.l _DummyHandler /* 229 */
- dc.l _DummyHandler /* 230 */
- dc.l _DummyHandler /* 231 */
- dc.l _DummyHandler /* 232 */
- dc.l _DummyHandler /* 233 */
- dc.l _DummyHandler /* 234 */
- dc.l _DummyHandler /* 235 */
- dc.l _DummyHandler /* 236 */
- dc.l _DummyHandler /* 237 */
- dc.l _DummyHandler /* 238 */
- dc.l _DummyHandler /* 239 */
- dc.l _DummyHandler /* 240 */
- dc.l _DummyHandler /* 241 */
- dc.l _DummyHandler /* 242 */
- dc.l _DummyHandler /* 243 */
- dc.l _DummyHandler /* 244 */
- dc.l _DummyHandler /* 245 */
- dc.l _DummyHandler /* 246 */
- dc.l _DummyHandler /* 247 */
- dc.l _DummyHandler /* 248 */
- dc.l _DummyHandler /* 249 */
- dc.l _DummyHandler /* 250 */
- dc.l _DummyHandler /* 251 */
- dc.l _DummyHandler /* 252 */
- dc.l _DummyHandler /* 253 */
- dc.l _DummyHandler /* 254 */
- dc.l _DummyHandler /* 255 */
-
-/*
- * Define weak symbols for four alternate interrupt vectors.
- * These will be used as the interrupt vectors for the four
- * secondary contexts.
- */
- .section .data
-
- .global SYM (_vector_table1)
- .weak SYM (_vector_table1)
- .set SYM (_vector_table1), SYM (_vector_table)
-
- .global SYM (_vector_table2)
- .weak SYM (_vector_table2)
- .set SYM (_vector_table2), SYM (_vector_table)
-
- .global SYM (_vector_table3)
- .weak SYM (_vector_table3)
- .set SYM (_vector_table3), SYM (_vector_table)
-
- .global SYM (_vector_table4)
- .weak SYM (_vector_table4)
- .set SYM (_vector_table4), SYM (_vector_table)
-
-#endif
diff --git a/libgloss/m68k/fido-handler.c b/libgloss/m68k/fido-handler.c
deleted file mode 100644
index 838eafe..0000000
--- a/libgloss/m68k/fido-handler.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2006 CodeSourcery, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-__attribute__((interrupt_handler)) void
-HANDLER()
-{
- /* Load the status register into %d0 and the program counter at
- which the interrupt occured into %d1 for ease of inspection in
- the debugger. */
- asm("move.l %sp @(0),%d0\n\t"
- "move.l %sp @(-4),%d1\n\t"
- "sleep");
-}
diff --git a/libgloss/m68k/fido-hosted.S b/libgloss/m68k/fido-hosted.S
deleted file mode 100644
index 6327cce..0000000
--- a/libgloss/m68k/fido-hosted.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * fido-hosted.S --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* Semihosting function. The debugger intercepts the halt, and
- determines that it is followed by the sentinel pattern. */
-
- .globl __hosted
-__hosted:
- linkw %fp,#0
- movel %fp@(8),%d0
- movel %fp@(12),%d1
- .align 4
- nop
- bkpt #0
-
- /* This sentinel instruction value must be immediately after
- the bkpt instruction. The debugger will adjust the pc, so
- that it is never executed. This instruction is
- 'movec %sp,0'. */
- .long 0x4e7bf000
- unlk %fp
- rts
diff --git a/libgloss/m68k/fido-sbrk.c b/libgloss/m68k/fido-sbrk.c
deleted file mode 100644
index e46d35d..0000000
--- a/libgloss/m68k/fido-sbrk.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stddef.h>
-
-extern char _end[];
-static char *curbrk = _end;
-extern char _heapend; /* End of heap */
-
-void *
-sbrk (ptrdiff_t incr)
-{
- char *oldbrk = curbrk;
- if (curbrk + incr > &_heapend)
- return (void *) -1;
- curbrk += incr;
- return oldbrk;
-}
diff --git a/libgloss/m68k/fido.h b/libgloss/m68k/fido.h
deleted file mode 100644
index 32868cc..0000000
--- a/libgloss/m68k/fido.h
+++ /dev/null
@@ -1,704 +0,0 @@
-/**
- ******************************************************************************
- * @defgroup FIDOmemmap.h Memory map include file for Fido
- ****************************************************************************@{
- *
- * @par COPYRIGHT:
- * COPYRIGHT 2005-2006 INNOVASIC SEMICONDUCTOR, ALL RIGHTS RESERVED.\n
- * Part of the FIDO REALTIME SUPPORT LIBRARY
- *
- * @par Created:
- * Wed, 1 June 2005 David L. Deis [DD]
- *
- * @par CVS-Info:
- * $Revision$
- * $Author$
- * $Date$
- *
- * @par Description:
- * Contains board-specific and onchip memory-mapped register and internal
- * memory definitions.
- */
-#ifndef FIDOmemmap_h
-#define FIDOmemmap_h
-
-/******************************************************************************
- * Board-specific definitions specify the location and size of all external
- * memories and the board operating frequency. These values must be specified
- * based upon the physical board design. These definitions are used by the
- * software libraries.
- ******************************************************************************
- */
-
-/**
- * External memory base addresses controlled by chip selects 0,1, and 2.
- * Specify -1 for any absent memories. The defaults are for the Innovasic
- * development board.
- */
-#define FLASH_BASE_ADDR 0x00000000
-#define FLASH_SIZE (8 * 1024 * 1024L)
-
-#define SDRAM_BASE_ADDR 0x02000000
-#define SDRAM_SIZE (8 * 1024 * 1024L)
-
-#define SRAM_BASE_ADDR 0x03000000
-#define SRAM_SIZE (1 * 1024 * 1024L)
-
-/**
- * System clock frequency
- */
-#define FIDO_CLOCK_FREQUENCY (66 * (1000 * 1000))
-
-/******************************************************************************
- * Onchip memory-mapped register and internal memory definitions.
- ******************************************************************************
- */
-
-/**
- * Memory offset register value loaded during crt0. This offset applies to
- * the onchip SRAM, cache, and frame buffer memories and all memory-mapped
- * registers and cannot conflict with any external memory regions.
- */
-#define FIDO_MEM_OFFSET 0x01000000
-
-/**
- * Onchip SRAM
- */
-#define FIDO_SRAM_BASE_ADDR (0x00000000 + FIDO_MEM_OFFSET)
-#define FIDO_SRAM_SIZE ((6 * 1024) * sizeof (unsigned long))
-
-/**
- * Onchip relocatable cache RAM
- */
-#define FIDO_CACHE_BASE_ADDR (0x00080000 + FIDO_MEM_OFFSET)
-#define FIDO_CACHE_BLOCK_SIZE (2 * 1024)
-#define FIDO_CACHE_BLOCK_MAX 16
-#define FIDO_CACHE_SIZE (FIDO_CACHE_BLOCK_SIZE * FIDO_CACHE_BLOCK_MAX)
-#define FIDO_CACHE_BLOCK_ENABLE (1 << 0)
-
-/**
- * Memory-mapped registers
- */
-#ifndef __ASSEMBLER__
- typedef unsigned long volatile FIDO_Register_t;
- #define FIDO_REGISTER_DEF (FIDO_Register_t*)
-#else
- #define FIDO_REGISTER_DEF
-#endif /* __ASSEMBLER__ */
-
-/* CPU DMA channel 0 and channel 1 registers */
-#define FIDO_DMACH0_CONTROL FIDO_REGISTER_DEF(0xA0000 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH0_COUNT FIDO_REGISTER_DEF(0xA0004 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH0_DEST FIDO_REGISTER_DEF(0xA0008 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH0_SOURCE FIDO_REGISTER_DEF(0xA000C + FIDO_MEM_OFFSET)
-#define FIDO_DMACH1_CONTROL FIDO_REGISTER_DEF(0xA0010 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH1_COUNT FIDO_REGISTER_DEF(0xA0014 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH1_DEST FIDO_REGISTER_DEF(0xA0018 + FIDO_MEM_OFFSET)
-#define FIDO_DMACH1_SOURCE FIDO_REGISTER_DEF(0xA001C + FIDO_MEM_OFFSET)
-
-#define FIDO_DMACH_MAX 2
-
-/* Timer-Counter unit 0 registers */
-#define FIDO_TCU00_STATUS FIDO_REGISTER_DEF(0xA0280 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_MODE FIDO_REGISTER_DEF(0xA0284 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_COUNTER FIDO_REGISTER_DEF(0xA0288 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH0_IOMODE FIDO_REGISTER_DEF(0xA0290 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH1_IOMODE FIDO_REGISTER_DEF(0xA0294 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH2_IOMODE FIDO_REGISTER_DEF(0xA0298 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH3_IOMODE FIDO_REGISTER_DEF(0xA029C + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH0_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02A0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH1_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02A4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH2_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02A8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH3_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02AC + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH0_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02B0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH1_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02B4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH2_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02B8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU00_CH3_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02BC + FIDO_MEM_OFFSET)
-
-/* Timer-Counter unit 1 registers */
-#define FIDO_TCU01_STATUS FIDO_REGISTER_DEF(0xA02C0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_MODE FIDO_REGISTER_DEF(0xA02C4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_COUNTER FIDO_REGISTER_DEF(0xA02C8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH0_IOMODE FIDO_REGISTER_DEF(0xA02D0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH1_IOMODE FIDO_REGISTER_DEF(0xA02D4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH2_IOMODE FIDO_REGISTER_DEF(0xA02D8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH3_IOMODE FIDO_REGISTER_DEF(0xA02DC + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH0_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02E0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH1_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02E4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH2_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02E8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH3_INPUTCAPTURE FIDO_REGISTER_DEF(0xA02EC + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH0_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02F0 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH1_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02F4 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH2_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02F8 + FIDO_MEM_OFFSET)
-#define FIDO_TCU01_CH3_OUTPUTCOMPARE FIDO_REGISTER_DEF(0xA02FC + FIDO_MEM_OFFSET)
-
-/* SystemTimer interrupt control registers, main ctrl reg, and prescale */
-#define FIDO_SYSTIMER_INT00CONTROL FIDO_REGISTER_DEF(0xA0300 + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_INT01CONTROL FIDO_REGISTER_DEF(0xA0304 + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_INT02CONTROL FIDO_REGISTER_DEF(0xA0308 + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_INT03CONTROL FIDO_REGISTER_DEF(0xA030C + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_INT04CONTROL FIDO_REGISTER_DEF(0xA0310 + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_CONTROL FIDO_REGISTER_DEF(0xA0314 + FIDO_MEM_OFFSET)
-#define FIDO_SYSTIMER_PRESCALE FIDO_REGISTER_DEF(0xA0318 + FIDO_MEM_OFFSET)
-
-/* Watchdog timer control and reload registers */
-#define FIDO_WDTTIMER_CONTROL FIDO_REGISTER_DEF(0xA0340 + FIDO_MEM_OFFSET)
-#define FIDO_WDTTIMER_RELOAD FIDO_REGISTER_DEF(0xA0344 + FIDO_MEM_OFFSET)
-
-#define FIDO_WDTTIMER_CONTROL_RELOAD (1 << 0)
-#define FIDO_WDTTIMER_CONTROL_ENABLE (1 << 1)
-#define FIDO_WDTTIMER_CONTROL_INTENABLE (1 << 2)
-
-/* Power on reset register */
-#define FIDO_POR_REG FIDO_REGISTER_DEF(0xA0360 + FIDO_MEM_OFFSET)
-
-/* Clock mask register, fixed at 0x00003F0F */
-#define FIDO_CLOCK_MASK_REGISTER FIDO_REGISTER_DEF(0xA0380 + FIDO_MEM_OFFSET)
-#define FIDO_CLOCK_MASK_TCU1 (unsigned long)(1 << 13)
-#define FIDO_CLOCK_MASK_TCU0 (unsigned long)(1 << 12)
-#define FIDO_CLOCK_MASK_SYSTIMER (unsigned long)(1 << 11)
-#define FIDO_CLOCK_MASK_SDRAM (unsigned long)(1 << 10)
-#define FIDO_CLOCK_MASK_ATOD (unsigned long)(1 << 9)
-#define FIDO_CLOCK_MASK_PMU (unsigned long)(1 << 8)
-#define FIDO_CLOCK_MASK_UIC3 (unsigned long)(1 << 3)
-#define FIDO_CLOCK_MASK_UIC2 (unsigned long)(1 << 2)
-#define FIDO_CLOCK_MASK_UIC1 (unsigned long)(1 << 1)
-#define FIDO_CLOCK_MASK_UIC0 (unsigned long)(1 << 0)
-
-/* Device ID register, fixed at 0x29811000 */
-#define FIDO_DEVICE_ID_REGISTER FIDO_REGISTER_DEF(0xA0400 + FIDO_MEM_OFFSET)
-
-/* Debug control registers for use by GDB and ROM monitor */
-#define FIDO_DBG_CTRL FIDO_REGISTER_DEF(0xA0404 + FIDO_MEM_OFFSET)
-#define FIDO_TRCBUF_CTRL FIDO_REGISTER_DEF(0xA0408 + FIDO_MEM_OFFSET)
-#define FIDO_TRCBUF_BASE FIDO_REGISTER_DEF(0xA040C + FIDO_MEM_OFFSET)
-#define FIDO_BRK00_BASE FIDO_REGISTER_DEF(0xA0410 + FIDO_MEM_OFFSET)
-#define FIDO_BRK00_DATA FIDO_REGISTER_DEF(0xA0414 + FIDO_MEM_OFFSET)
-#define FIDO_BRK00_DATAMASK FIDO_REGISTER_DEF(0xA0418 + FIDO_MEM_OFFSET)
-#define FIDO_BRK00_CTRL FIDO_REGISTER_DEF(0xA041C + FIDO_MEM_OFFSET)
-#define FIDO_BRK01_BASE FIDO_REGISTER_DEF(0xA0420 + FIDO_MEM_OFFSET)
-#define FIDO_BRK01_DATA FIDO_REGISTER_DEF(0xA0424 + FIDO_MEM_OFFSET)
-#define FIDO_BRK01_DATAMASK FIDO_REGISTER_DEF(0xA0428 + FIDO_MEM_OFFSET)
-#define FIDO_BRK01_CTRL FIDO_REGISTER_DEF(0xA042C + FIDO_MEM_OFFSET)
-#define FIDO_BRK02_BASE FIDO_REGISTER_DEF(0xA0430 + FIDO_MEM_OFFSET)
-#define FIDO_BRK02_DATA FIDO_REGISTER_DEF(0xA0434 + FIDO_MEM_OFFSET)
-#define FIDO_BRK02_DATAMASK FIDO_REGISTER_DEF(0xA0438 + FIDO_MEM_OFFSET)
-#define FIDO_BRK02_CTRL FIDO_REGISTER_DEF(0xA043C + FIDO_MEM_OFFSET)
-#define FIDO_BRK03_BASE FIDO_REGISTER_DEF(0xA0440 + FIDO_MEM_OFFSET)
-#define FIDO_BRK03_DATA FIDO_REGISTER_DEF(0xA0444 + FIDO_MEM_OFFSET)
-#define FIDO_BRK03_DATAMASK FIDO_REGISTER_DEF(0xA0448 + FIDO_MEM_OFFSET)
-#define FIDO_BRK03_CTRL FIDO_REGISTER_DEF(0xA044C + FIDO_MEM_OFFSET)
-#define FIDO_BRK04_BASE FIDO_REGISTER_DEF(0xA0450 + FIDO_MEM_OFFSET)
-#define FIDO_BRK04_DATA FIDO_REGISTER_DEF(0xA0454 + FIDO_MEM_OFFSET)
-#define FIDO_BRK04_DATAMASK FIDO_REGISTER_DEF(0xA0458 + FIDO_MEM_OFFSET)
-#define FIDO_BRK04_CTRL FIDO_REGISTER_DEF(0xA045C + FIDO_MEM_OFFSET)
-#define FIDO_BRK05_BASE FIDO_REGISTER_DEF(0xA0460 + FIDO_MEM_OFFSET)
-#define FIDO_BRK05_DATA FIDO_REGISTER_DEF(0xA0464 + FIDO_MEM_OFFSET)
-#define FIDO_BRK05_DATAMASK FIDO_REGISTER_DEF(0xA0468 + FIDO_MEM_OFFSET)
-#define FIDO_BRK05_CTRL FIDO_REGISTER_DEF(0xA046C + FIDO_MEM_OFFSET)
-#define FIDO_BRK06_BASE FIDO_REGISTER_DEF(0xA0470 + FIDO_MEM_OFFSET)
-#define FIDO_BRK06_DATA FIDO_REGISTER_DEF(0xA0474 + FIDO_MEM_OFFSET)
-#define FIDO_BRK06_DATAMASK FIDO_REGISTER_DEF(0xA0478 + FIDO_MEM_OFFSET)
-#define FIDO_BRK06_CTRL FIDO_REGISTER_DEF(0xA047C + FIDO_MEM_OFFSET)
-#define FIDO_BRK07_BASE FIDO_REGISTER_DEF(0xA0480 + FIDO_MEM_OFFSET)
-#define FIDO_BRK07_DATA FIDO_REGISTER_DEF(0xA0484 + FIDO_MEM_OFFSET)
-#define FIDO_BRK07_DATAMASK FIDO_REGISTER_DEF(0xA0488 + FIDO_MEM_OFFSET)
-#define FIDO_BRK07_CTRL FIDO_REGISTER_DEF(0xA048C + FIDO_MEM_OFFSET)
-
-/* A/D registers */
-#define FIDO_A2D0_REG00 FIDO_REGISTER_DEF(0xA0600 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG01 FIDO_REGISTER_DEF(0xA0604 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG02 FIDO_REGISTER_DEF(0xA0608 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG03 FIDO_REGISTER_DEF(0xA060C + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG04 FIDO_REGISTER_DEF(0xA0610 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG05 FIDO_REGISTER_DEF(0xA0614 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG06 FIDO_REGISTER_DEF(0xA0618 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG07 FIDO_REGISTER_DEF(0xA061C + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG08 FIDO_REGISTER_DEF(0xA0620 + FIDO_MEM_OFFSET)
-#define FIDO_A2D0_REG09 FIDO_REGISTER_DEF(0xA0624 + FIDO_MEM_OFFSET)
-
-/* Chip select control&timing register pairs */
-#define FIDO_BIU_CS0_CONTROL FIDO_REGISTER_DEF(0xA0680 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS0_TIMING FIDO_REGISTER_DEF(0xA0684 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS1_CONTROL FIDO_REGISTER_DEF(0xA0688 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS1_TIMING FIDO_REGISTER_DEF(0xA068C + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS2_CONTROL FIDO_REGISTER_DEF(0xA0690 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS2_TIMING FIDO_REGISTER_DEF(0xA0694 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS3_CONTROL FIDO_REGISTER_DEF(0xA0698 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS3_TIMING FIDO_REGISTER_DEF(0xA069C + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS4_CONTROL FIDO_REGISTER_DEF(0xA06A0 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS4_TIMING FIDO_REGISTER_DEF(0xA06A4 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS5_CONTROL FIDO_REGISTER_DEF(0xA06A8 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS5_TIMING FIDO_REGISTER_DEF(0xA06AC + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS6_CONTROL FIDO_REGISTER_DEF(0xA06B0 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS6_TIMING FIDO_REGISTER_DEF(0xA06B4 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS7_CONTROL FIDO_REGISTER_DEF(0xA06B8 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_CS7_TIMING FIDO_REGISTER_DEF(0xA06BC + FIDO_MEM_OFFSET)
-
-#define FIDO_BIU_PRIORITY FIDO_REGISTER_DEF(0xA0700 + FIDO_MEM_OFFSET)
-#define FIDO_BIU_DEF_TIMING FIDO_REGISTER_DEF(0xA0704 + FIDO_MEM_OFFSET)
-
-/* SDRAM timing, control, and bank select registers */
-#define FIDO_SDRAM_TIMING_0 FIDO_REGISTER_DEF(0xA0800 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_TIMING_1 FIDO_REGISTER_DEF(0xA0804 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_CONFIG_0 FIDO_REGISTER_DEF(0xA0808 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_CONFIG_1 FIDO_REGISTER_DEF(0xA080C + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_0 FIDO_REGISTER_DEF(0xA0810 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_1 FIDO_REGISTER_DEF(0xA0814 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_2 FIDO_REGISTER_DEF(0xA0818 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_3 FIDO_REGISTER_DEF(0xA081C + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_4 FIDO_REGISTER_DEF(0xA0820 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_5 FIDO_REGISTER_DEF(0xA0824 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_6 FIDO_REGISTER_DEF(0xA0828 + FIDO_MEM_OFFSET)
-#define FIDO_SDRAM_EXT_BANK_7 FIDO_REGISTER_DEF(0xA082C + FIDO_MEM_OFFSET)
-
-/* External interrupt control registers */
-#define FIDO_INTCONTROLCH0 FIDO_REGISTER_DEF(0xA0900 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH1 FIDO_REGISTER_DEF(0xA0904 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH2 FIDO_REGISTER_DEF(0xA0908 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH3 FIDO_REGISTER_DEF(0xA090C + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH4 FIDO_REGISTER_DEF(0xA0910 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH5 FIDO_REGISTER_DEF(0xA0914 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH6 FIDO_REGISTER_DEF(0xA0918 + FIDO_MEM_OFFSET)
-#define FIDO_INTCONTROLCH7 FIDO_REGISTER_DEF(0xA091C + FIDO_MEM_OFFSET)
-
-/* Software interrupt control registers */
-#define FIDO_CTX0_INT_CTRL FIDO_REGISTER_DEF(0xA0980 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_INT_CTRL FIDO_REGISTER_DEF(0xA0984 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_INT_CTRL FIDO_REGISTER_DEF(0xA0988 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_INT_CTRL FIDO_REGISTER_DEF(0xA098C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_INT_CTRL FIDO_REGISTER_DEF(0xA0990 + FIDO_MEM_OFFSET)
-
-#define FIDO_PMU_MAC_FILTER_MODE FIDO_REGISTER_DEF(0xA0A00 + FIDO_MEM_OFFSET)
-#define FIDO_PMU_FILTER_DATA_HEAD FIDO_REGISTER_DEF(0xA0A04 + FIDO_MEM_OFFSET)
-#define FIDO_PMU_FILTER_RDDATA_HEAD FIDO_REGISTER_DEF(0xA0A08 + FIDO_MEM_OFFSET)
-
-/* PMU channel 0 (tied to UIC 0) registers */
-#define FIDO_PMUCH0A_CONTROL FIDO_REGISTER_DEF(0xA0A40 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_STATUS FIDO_REGISTER_DEF(0xA0A44 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0A48 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0A4C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0A50 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_XMITFBUFEND FIDO_REGISTER_DEF(0xA0A54 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0A58 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0A5C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0A60 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_RCVFBUFEND FIDO_REGISTER_DEF(0xA0A64 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0A68 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0A6C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_XMITDATA FIDO_REGISTER_DEF(0xA0A70 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0A_RCVDATA FIDO_REGISTER_DEF(0xA0A74 + FIDO_MEM_OFFSET)
-
-#define FIDO_PMUCH0B_CONTROL FIDO_REGISTER_DEF(0xA0A80 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_STATUS FIDO_REGISTER_DEF(0xA0A84 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0A88 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0A8C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0A90 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_XMITFBUFEND FIDO_REGISTER_DEF(0xA0A94 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0A98 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0A9C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0AA0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_RCVFBUFEND FIDO_REGISTER_DEF(0xA0AA4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0AA8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0AAC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_XMITDATA FIDO_REGISTER_DEF(0xA0AB0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH0B_RCVDATA FIDO_REGISTER_DEF(0xA0AB4 + FIDO_MEM_OFFSET)
-
-/* PMU channel 1 (tied to UIC 1) registers */
-#define FIDO_PMUCH1A_CONTROL FIDO_REGISTER_DEF(0xA0AC0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_STATUS FIDO_REGISTER_DEF(0xA0AC4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0AC8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0ACC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0AD0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_XMITFBUFEND FIDO_REGISTER_DEF(0xA0AD4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0AD8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0ADC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0AE0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_RCVFBUFEND FIDO_REGISTER_DEF(0xA0AE4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0AE8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0AEC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_XMITDATA FIDO_REGISTER_DEF(0xA0AF0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1A_RCVDATA FIDO_REGISTER_DEF(0xA0AF4 + FIDO_MEM_OFFSET)
-
-#define FIDO_PMUCH1B_CONTROL FIDO_REGISTER_DEF(0xA0B00 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_STATUS FIDO_REGISTER_DEF(0xA0B04 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0B08 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0B0C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0B10 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_XMITFBUFEND FIDO_REGISTER_DEF(0xA0B14 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0B18 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0B1C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0B20 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_RCVFBUFEND FIDO_REGISTER_DEF(0xA0B24 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0B28 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0B2C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_XMITDATA FIDO_REGISTER_DEF(0xA0B30 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH1B_RCVDATA FIDO_REGISTER_DEF(0xA0B34 + FIDO_MEM_OFFSET)
-
-/* PMU channel 2 (tied to UIC 2) registers */
-#define FIDO_PMUCH2A_CONTROL FIDO_REGISTER_DEF(0xA0B40 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_STATUS FIDO_REGISTER_DEF(0xA0B44 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0B48 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0B4C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0B50 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_XMITFBUFEND FIDO_REGISTER_DEF(0xA0B54 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0B58 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0B5C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0B60 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_RCVFBUFEND FIDO_REGISTER_DEF(0xA0B64 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0B68 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0B6C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_XMITDATA FIDO_REGISTER_DEF(0xA0B70 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2A_RCVDATA FIDO_REGISTER_DEF(0xA0B74 + FIDO_MEM_OFFSET)
-
-#define FIDO_PMUCH2B_CONTROL FIDO_REGISTER_DEF(0xA0B80 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_STATUS FIDO_REGISTER_DEF(0xA0B84 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0B88 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0B8C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0B90 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_XMITFBUFEND FIDO_REGISTER_DEF(0xA0B94 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0B98 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0B9C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0BA0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_RCVFBUFEND FIDO_REGISTER_DEF(0xA0BA4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0BA8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0BAC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_XMITDATA FIDO_REGISTER_DEF(0xA0BB0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH2B_RCVDATA FIDO_REGISTER_DEF(0xA0BB4 + FIDO_MEM_OFFSET)
-
-/* PMU channel 3 (tied to UIC 3) registers */
-#define FIDO_PMUCH3A_CONTROL FIDO_REGISTER_DEF(0xA0BC0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_STATUS FIDO_REGISTER_DEF(0xA0BC4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0BC8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0BCC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0BD0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_XMITFBUFEND FIDO_REGISTER_DEF(0xA0BD4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0BD8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0BDC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0BE0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_RCVFBUFEND FIDO_REGISTER_DEF(0xA0BE4 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0BE8 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0BEC + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_XMITDATA FIDO_REGISTER_DEF(0xA0BF0 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3A_RCVDATA FIDO_REGISTER_DEF(0xA0BF4 + FIDO_MEM_OFFSET)
-
-#define FIDO_PMUCH3B_CONTROL FIDO_REGISTER_DEF(0xA0C00 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_STATUS FIDO_REGISTER_DEF(0xA0C04 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_PCKXMITSIZE FIDO_REGISTER_DEF(0xA0C08 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_PCKRCVSIZE FIDO_REGISTER_DEF(0xA0C0C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_XMITFBUFSTART FIDO_REGISTER_DEF(0xA0C10 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_XMITFBUFEND FIDO_REGISTER_DEF(0xA0C14 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_XMITFBUFRDPTR FIDO_REGISTER_DEF(0xA0C18 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_XMITFBUFWRPTR FIDO_REGISTER_DEF(0xA0C1C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_RCVFBUFSTART FIDO_REGISTER_DEF(0xA0C20 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_RCVFBUFEND FIDO_REGISTER_DEF(0xA0C24 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_RCVFBUFRDPTR FIDO_REGISTER_DEF(0xA0C28 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_RCVFBUFWRPTR FIDO_REGISTER_DEF(0xA0C2C + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_XMITDATA FIDO_REGISTER_DEF(0xA0C30 + FIDO_MEM_OFFSET)
-#define FIDO_PMUCH3B_RCVDATA FIDO_REGISTER_DEF(0xA0C34 + FIDO_MEM_OFFSET)
-
-/* 4 PMU/UICs with 2 UIC channels (A and B) each */
-#define FIDO_PMUCH_MAX 4
-#define FIDO_UIC_MAX FIDO_PMUCH_MAX
-#define FIDO_UICCH_MAX 2
-
-/* FIDO_PMUCHXX_Control register definitions */
-#define FIDO_PMU_RCV_PACKET_SIZE_EN ( 1 << 18)
-#define FIDO_PMU_UIC_INT_EN ( 1 << 17)
-#define FIDO_PMU_PMU_INT_EN ( 1 << 16)
-#define FIDO_PMU_PRI_SHIFT 13
-#define FIDO_PMU_PRI_MASK ( 7 << FIDO_PMU_PRI_SHIFT)
-#define FIDO_PMU_CONTEXT_SHIFT 8
-#define FIDO_PMU_CONTEXT_MASK ( 7 << FIDO_PMU_CONTEXT_SHIFT)
-#define FIDO_PMU_CHANNEL_EN ( 1 << 7)
-#define FIDO_PMU_XMIT_START ( 1 << 6)
-#define FIDO_PMU_XMIT_IRQ_EN ( 1 << 4)
-#define FIDO_PMU_RCV_IRQ_EN ( 1 << 3)
-#define FIDO_PMU_ERROR_IRQ_EN ( 1 << 2)
-#define FIDO_PMU_MODE_FIFO ( 0 << 0)
-#define FIDO_PMU_MODE_RANDOM ( 1 << 0)
-#define FIDO_PMU_MODE_MASK ( 3 << 0)
-
-/* FIDO_PMUCHXX_Status register definitions */
-#define FIDO_PMU_RCV_FIFO_FULL ( 1 << 11)
-#define FIDO_PMU_RCV_FIFO_EMPTY ( 1 << 10)
-#define FIDO_PMU_XMIT_FIFO_FULL ( 1 << 9)
-#define FIDO_PMU_XMIT_FIFO_EMPTY ( 1 << 8)
-#define FIDO_PMU_INTERRUPT ( 1 << 7)
-#define FIDO_PMU_RCV_BUFF_OVERFLOW ( 1 << 3)
-#define FIDO_PMU_UIC_ERROR ( 1 << 2)
-#define FIDO_PMU_RCV_COMPLETE ( 1 << 1)
-#define FIDO_PMU_XMIT_COMPLETE ( 1 << 0)
-
-/* PMU interrupt vector definitions */
-#define FIDO_PMU0_INT_VECTOR 77
-#define FIDO_PMU1_INT_VECTOR 78
-#define FIDO_PMU2_INT_VECTOR 79
-#define FIDO_PMU3_INT_VECTOR 80
-
-/* Context claim and software interrupt registers */
-#define FIDO_SWINTACT0 FIDO_REGISTER_DEF(0xA110C + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_CLAIM FIDO_REGISTER_DEF(0xA1110 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_PENDING FIDO_REGISTER_DEF(0xA1114 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_PRI_INHER FIDO_REGISTER_DEF(0xA1118 + FIDO_MEM_OFFSET)
-#define FIDO_SWINTACT1 FIDO_REGISTER_DEF(0xA111C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_CLAIM FIDO_REGISTER_DEF(0xA1120 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_PENDING FIDO_REGISTER_DEF(0xA1124 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_PRI_INHER FIDO_REGISTER_DEF(0xA1128 + FIDO_MEM_OFFSET)
-#define FIDO_SWINTACT2 FIDO_REGISTER_DEF(0xA112C + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_CLAIM FIDO_REGISTER_DEF(0xA1130 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_PENDING FIDO_REGISTER_DEF(0xA1134 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_PRI_INHER FIDO_REGISTER_DEF(0xA1138 + FIDO_MEM_OFFSET)
-#define FIDO_SWINTACT3 FIDO_REGISTER_DEF(0xA113C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_CLAIM FIDO_REGISTER_DEF(0xA1140 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_PENDING FIDO_REGISTER_DEF(0xA1144 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_PRI_INHER FIDO_REGISTER_DEF(0xA1148 + FIDO_MEM_OFFSET)
-#define FIDO_SWINTACT4 FIDO_REGISTER_DEF(0xA114C + FIDO_MEM_OFFSET)
-
-/* Context0 data registers and address registers */
-#define FIDO_CTX0_D0 FIDO_REGISTER_DEF(0xA8100 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D1 FIDO_REGISTER_DEF(0xA8104 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D2 FIDO_REGISTER_DEF(0xA8108 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D3 FIDO_REGISTER_DEF(0xA810C + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D4 FIDO_REGISTER_DEF(0xA8110 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D5 FIDO_REGISTER_DEF(0xA8114 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D6 FIDO_REGISTER_DEF(0xA8118 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_D7 FIDO_REGISTER_DEF(0xA811C + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A0 FIDO_REGISTER_DEF(0xA8120 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A1 FIDO_REGISTER_DEF(0xA8124 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A2 FIDO_REGISTER_DEF(0xA8128 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A3 FIDO_REGISTER_DEF(0xA812C + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A4 FIDO_REGISTER_DEF(0xA8130 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A5 FIDO_REGISTER_DEF(0xA8134 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A6 FIDO_REGISTER_DEF(0xA8138 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A7 FIDO_REGISTER_DEF(0xA813C + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_A7S FIDO_REGISTER_DEF(0xA8140 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_PC FIDO_REGISTER_DEF(0xA8144 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_SR FIDO_REGISTER_DEF(0xA8148 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_VBR FIDO_REGISTER_DEF(0xA814C + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_SFC FIDO_REGISTER_DEF(0xA8150 + FIDO_MEM_OFFSET)
-#define FIDO_CTX0_DFC FIDO_REGISTER_DEF(0xA8154 + FIDO_MEM_OFFSET)
-
-/* Context1 data registers and address registers */
-#define FIDO_CTX1_D0 FIDO_REGISTER_DEF(0xA8180 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D1 FIDO_REGISTER_DEF(0xA8184 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D2 FIDO_REGISTER_DEF(0xA8188 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D3 FIDO_REGISTER_DEF(0xA818C + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D4 FIDO_REGISTER_DEF(0xA8190 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D5 FIDO_REGISTER_DEF(0xA8194 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D6 FIDO_REGISTER_DEF(0xA8198 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_D7 FIDO_REGISTER_DEF(0xA819C + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A0 FIDO_REGISTER_DEF(0xA81A0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A1 FIDO_REGISTER_DEF(0xA81A4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A2 FIDO_REGISTER_DEF(0xA81A8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A3 FIDO_REGISTER_DEF(0xA81AC + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A4 FIDO_REGISTER_DEF(0xA81B0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A5 FIDO_REGISTER_DEF(0xA81B4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A6 FIDO_REGISTER_DEF(0xA81B8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A7 FIDO_REGISTER_DEF(0xA81BC + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_A7S FIDO_REGISTER_DEF(0xA81C0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_PC FIDO_REGISTER_DEF(0xA81C4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_SR FIDO_REGISTER_DEF(0xA81C8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_VBR FIDO_REGISTER_DEF(0xA81CC + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_SFC FIDO_REGISTER_DEF(0xA81D0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_DFC FIDO_REGISTER_DEF(0xA81D4 + FIDO_MEM_OFFSET)
-
-/* Context2 data registers and address registers */
-#define FIDO_CTX2_D0 FIDO_REGISTER_DEF(0xA8200 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D1 FIDO_REGISTER_DEF(0xA8204 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D2 FIDO_REGISTER_DEF(0xA8208 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D3 FIDO_REGISTER_DEF(0xA820C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D4 FIDO_REGISTER_DEF(0xA8210 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D5 FIDO_REGISTER_DEF(0xA8214 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D6 FIDO_REGISTER_DEF(0xA8218 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_D7 FIDO_REGISTER_DEF(0xA812C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A0 FIDO_REGISTER_DEF(0xA8220 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A1 FIDO_REGISTER_DEF(0xA8224 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A2 FIDO_REGISTER_DEF(0xA8228 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A3 FIDO_REGISTER_DEF(0xA822C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A4 FIDO_REGISTER_DEF(0xA8230 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A5 FIDO_REGISTER_DEF(0xA8234 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A6 FIDO_REGISTER_DEF(0xA8238 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A7 FIDO_REGISTER_DEF(0xA823C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_A7S FIDO_REGISTER_DEF(0xA8240 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_PC FIDO_REGISTER_DEF(0xA8244 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_SR FIDO_REGISTER_DEF(0xA8248 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_VBR FIDO_REGISTER_DEF(0xA824C + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_SFC FIDO_REGISTER_DEF(0xA8250 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_DFC FIDO_REGISTER_DEF(0xA8254 + FIDO_MEM_OFFSET)
-
-/* Context3 data registers and address registers */
-#define FIDO_CTX3_D0 FIDO_REGISTER_DEF(0xA8280 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D1 FIDO_REGISTER_DEF(0xA8284 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D2 FIDO_REGISTER_DEF(0xA8288 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D3 FIDO_REGISTER_DEF(0xA828C + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D4 FIDO_REGISTER_DEF(0xA8290 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D5 FIDO_REGISTER_DEF(0xA8294 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D6 FIDO_REGISTER_DEF(0xA8298 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_D7 FIDO_REGISTER_DEF(0xA829C + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A0 FIDO_REGISTER_DEF(0xA82A0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A1 FIDO_REGISTER_DEF(0xA82A4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A2 FIDO_REGISTER_DEF(0xA82A8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A3 FIDO_REGISTER_DEF(0xA82AC + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A4 FIDO_REGISTER_DEF(0xA82B0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A5 FIDO_REGISTER_DEF(0xA82B4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A6 FIDO_REGISTER_DEF(0xA82B8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A7 FIDO_REGISTER_DEF(0xA82BC + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_A7S FIDO_REGISTER_DEF(0xA82C0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_PC FIDO_REGISTER_DEF(0xA82C4 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_SR FIDO_REGISTER_DEF(0xA82C8 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_VBR FIDO_REGISTER_DEF(0xA82CC + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_SFC FIDO_REGISTER_DEF(0xA82D0 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_DFC FIDO_REGISTER_DEF(0xA82D4 + FIDO_MEM_OFFSET)
-
-/* Context4 data registers and address registers */
-#define FIDO_CTX4_D0 FIDO_REGISTER_DEF(0xA8300 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D1 FIDO_REGISTER_DEF(0xA8304 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D2 FIDO_REGISTER_DEF(0xA8308 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D3 FIDO_REGISTER_DEF(0xA830C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D4 FIDO_REGISTER_DEF(0xA8310 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D5 FIDO_REGISTER_DEF(0xA8314 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D6 FIDO_REGISTER_DEF(0xA8318 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_D7 FIDO_REGISTER_DEF(0xA831C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A0 FIDO_REGISTER_DEF(0xA8320 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A1 FIDO_REGISTER_DEF(0xA8324 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A2 FIDO_REGISTER_DEF(0xA8328 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A3 FIDO_REGISTER_DEF(0xA832C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A4 FIDO_REGISTER_DEF(0xA8330 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A5 FIDO_REGISTER_DEF(0xA8334 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A6 FIDO_REGISTER_DEF(0xA8338 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A7 FIDO_REGISTER_DEF(0xA833C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_A7S FIDO_REGISTER_DEF(0xA8340 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_PC FIDO_REGISTER_DEF(0xA8344 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_SR FIDO_REGISTER_DEF(0xA8348 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_VBR FIDO_REGISTER_DEF(0xA834C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_SFC FIDO_REGISTER_DEF(0xA8350 + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_DFC FIDO_REGISTER_DEF(0xA8354 + FIDO_MEM_OFFSET)
-
-#define FIDO_CTX_MAX 5
-
-/* MPU Block control register */
-#define FIDO_MPU_BLK00CTRL FIDO_REGISTER_DEF(0xAA000 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK01CTRL FIDO_REGISTER_DEF(0xAA004 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK02CTRL FIDO_REGISTER_DEF(0xAA008 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK03CTRL FIDO_REGISTER_DEF(0xAA00C + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK04CTRL FIDO_REGISTER_DEF(0xAA010 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK05CTRL FIDO_REGISTER_DEF(0xAA014 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK06CTRL FIDO_REGISTER_DEF(0xAA018 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK07CTRL FIDO_REGISTER_DEF(0xAA01C + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK08CTRL FIDO_REGISTER_DEF(0xAA020 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK09CTRL FIDO_REGISTER_DEF(0xAA024 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK10CTRL FIDO_REGISTER_DEF(0xAA028 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK11CTRL FIDO_REGISTER_DEF(0xAA02C + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK12CTRL FIDO_REGISTER_DEF(0xAA030 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK13CTRL FIDO_REGISTER_DEF(0xAA034 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK14CTRL FIDO_REGISTER_DEF(0xAA038 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK15CTRL FIDO_REGISTER_DEF(0xAA03C + FIDO_MEM_OFFSET)
-
-#define FIDO_MPU_BLOCK_MAX 16
-#define FIDO_MPU_BLOCK_BASE_ALIGN 64
-
-/* MPU Block attribute register */
-#define FIDO_MPU_BLK00ATTRIB FIDO_REGISTER_DEF(0xAA080 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK01ATTRIB FIDO_REGISTER_DEF(0xAA084 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK02ATTRIB FIDO_REGISTER_DEF(0xAA088 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK03ATTRIB FIDO_REGISTER_DEF(0xAA08C + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK04ATTRIB FIDO_REGISTER_DEF(0xAA090 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK05ATTRIB FIDO_REGISTER_DEF(0xAA094 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK06ATTRIB FIDO_REGISTER_DEF(0xAA098 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK07ATTRIB FIDO_REGISTER_DEF(0xAA09C + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK08ATTRIB FIDO_REGISTER_DEF(0xAA0A0 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK09ATTRIB FIDO_REGISTER_DEF(0xAA0A4 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK10ATTRIB FIDO_REGISTER_DEF(0xAA0A8 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK11ATTRIB FIDO_REGISTER_DEF(0xAA0AC + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK12ATTRIB FIDO_REGISTER_DEF(0xAA0B0 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK13ATTRIB FIDO_REGISTER_DEF(0xAA0B4 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK14ATTRIB FIDO_REGISTER_DEF(0xAA0B8 + FIDO_MEM_OFFSET)
-#define FIDO_MPU_BLK15ATTRIB FIDO_REGISTER_DEF(0xAA0BC + FIDO_MEM_OFFSET)
-
-#define FIDO_MPU_ATTRIB_SIZE_SHIFT 2
-#define FIDO_MPU_ATTRIB_ENABLE (1 << 0)
-#define FIDO_MPU_ATTRIB_READONLY (1 << 1)
-
-/* MPU allocation registers */
-#define FIDO_CTX0_MPUALLOCATION FIDO_REGISTER_DEF(0xAA100 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_MPUALLOCATION FIDO_REGISTER_DEF(0xAA104 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_MPUALLOCATION FIDO_REGISTER_DEF(0xAA108 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_MPUALLOCATION FIDO_REGISTER_DEF(0xAA10C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_MPUALLOCATION FIDO_REGISTER_DEF(0xAA110 + FIDO_MEM_OFFSET)
-
-/* DCACHE relocatable registers */
-#define FIDO_DCACHE_RELOCATBLK00 FIDO_REGISTER_DEF(0xAA180 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK01 FIDO_REGISTER_DEF(0xAA184 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK02 FIDO_REGISTER_DEF(0xAA188 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK03 FIDO_REGISTER_DEF(0xAA18C + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK04 FIDO_REGISTER_DEF(0xAA190 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK05 FIDO_REGISTER_DEF(0xAA194 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK06 FIDO_REGISTER_DEF(0xAA198 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK07 FIDO_REGISTER_DEF(0xAA19C + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK08 FIDO_REGISTER_DEF(0xAA1A0 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK09 FIDO_REGISTER_DEF(0xAA1A4 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK10 FIDO_REGISTER_DEF(0xAA1A8 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK11 FIDO_REGISTER_DEF(0xAA1AC + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK12 FIDO_REGISTER_DEF(0xAA1B0 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK13 FIDO_REGISTER_DEF(0xAA1B4 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK14 FIDO_REGISTER_DEF(0xAA1B8 + FIDO_MEM_OFFSET)
-#define FIDO_DCACHE_RELOCATBLK15 FIDO_REGISTER_DEF(0xAA1BC + FIDO_MEM_OFFSET)
-
-/* Context control registers */
-#define FIDO_CTX0_CONTROL FIDO_REGISTER_DEF(0xAA400 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_CONTROL FIDO_REGISTER_DEF(0xAA404 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_CONTROL FIDO_REGISTER_DEF(0xAA408 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_CONTROL FIDO_REGISTER_DEF(0xAA40C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_CONTROL FIDO_REGISTER_DEF(0xAA410 + FIDO_MEM_OFFSET)
-
-#define FIDO_CTX_CONTROL_STATE_MASK ( 3 << 0)
-#define FIDO_CTX_CONTROL_STATE_HALTED ( 0 << 0)
-#define FIDO_CTX_CONTROL_STATE_NOTREADY ( 1 << 0)
-#define FIDO_CTX_CONTROL_STATE_READY ( 2 << 0)
-
-#define FIDO_CTX_CONTROL_PRIORITY_MASK 7
-#define FIDO_CTX_CONTROL_PRIORITY_SHIFT 8
-
-#define FIDO_CTX_CONTROL_MODE_MASK ( 3 << 13)
-#define FIDO_CTX_CONTROL_MODE_STANDARD ( 0 << 13)
-#define FIDO_CTX_CONTROL_MODE_FAST ( 1 << 13)
-#define FIDO_CTX_CONTROL_MODE_FAST_ST ( 3 << 13)
-
-#define FIDO_CTX0_MAXTIME FIDO_REGISTER_DEF(0xAA480 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_MAXTIME FIDO_REGISTER_DEF(0xAA484 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_MAXTIME FIDO_REGISTER_DEF(0xAA488 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_MAXTIME FIDO_REGISTER_DEF(0xAA48C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_MAXTIME FIDO_REGISTER_DEF(0xAA490 + FIDO_MEM_OFFSET)
-
-/* Context timer registers */
-#define FIDO_CTX0_TIME FIDO_REGISTER_DEF(0xAA500 + FIDO_MEM_OFFSET)
-#define FIDO_CTX1_TIME FIDO_REGISTER_DEF(0xAA504 + FIDO_MEM_OFFSET)
-#define FIDO_CTX2_TIME FIDO_REGISTER_DEF(0xAA508 + FIDO_MEM_OFFSET)
-#define FIDO_CTX3_TIME FIDO_REGISTER_DEF(0xAA50C + FIDO_MEM_OFFSET)
-#define FIDO_CTX4_TIME FIDO_REGISTER_DEF(0xAA510 + FIDO_MEM_OFFSET)
-
-#define FIDO_CTXN_TIMECLR FIDO_REGISTER_DEF(0xAA580 + FIDO_MEM_OFFSET)
-#define FIDO_CTX_IDLETIME FIDO_REGISTER_DEF(0xAA584 + FIDO_MEM_OFFSET)
-#define FIDO_CTXN_TIMEEN FIDO_REGISTER_DEF(0xAA588 + FIDO_MEM_OFFSET)
-#define FIDO_CTX_FAULTID FIDO_REGISTER_DEF(0xAA600 + FIDO_MEM_OFFSET)
-
-/* Current context register, contains id of currently executing context */
-#define FIDO_CURRENT_CONTEXT_REGISTER FIDO_REGISTER_DEF(0xAA604 + FIDO_MEM_OFFSET)
-
-/* UIC Frame Buffer transmit and receive memory */
-#define FIDO_FB_XMIT_BASE_ADDR (0xB0000 + FIDO_MEM_OFFSET)
-#define FIDO_FB_XMIT_SIZE ((1 * 1024) * sizeof (unsigned long))
-
-#define FIDO_FB_RCV_BASE_ADDR (0xB4000 + FIDO_MEM_OFFSET)
-#define FIDO_FB_RCV_SIZE ((2 * 1024) * sizeof (unsigned long))
-
-/* UIC register file base addresses */
-#define FIDO_UIC0_BASE (0x00B8000 + FIDO_MEM_OFFSET)
-#define FIDO_UIC1_BASE (0x00B8200 + FIDO_MEM_OFFSET)
-#define FIDO_UIC2_BASE (0x00B8400 + FIDO_MEM_OFFSET)
-#define FIDO_UIC3_BASE (0x00B8600 + FIDO_MEM_OFFSET)
-
-#endif /* FIDOmemmap_h */
-
-///@}
diff --git a/libgloss/m68k/fido.sc b/libgloss/m68k/fido.sc
deleted file mode 100644
index 9b80b50..0000000
--- a/libgloss/m68k/fido.sc
+++ /dev/null
@@ -1,230 +0,0 @@
-SRAM_ORIGIN=0x03000000
-SRAM_LENGTH=0x00100000
-
-# HEAPEND must be in the same memory region as DATA. STACK should be
-# above HEAPEND, also in the same region, for configurations which
-# need __stack.
-
-case $MODE in
- rom)
- CRT0=rom
- TEXT=rom
- DATA=sram
- DATALOAD="rom"
- STACK=0x030ffffc
- HEAPEND=0x03080000
- ;;
- sram)
- CRT0=ram
- TEXT=sram
- DATA=sdram
- STACK=0x021ffffc
- HEAPEND=0x02180000
- # Leave the rest of SDRAM for manual use.
- ;;
- sdram)
- CRT0=ram
- TEXT=sdram
- DATA=sdram
- STACK=0x021ffffc
- HEAPEND=0x02180000
- # Leave the rest of SDRAM for manual use.
- ;;
- redboot)
- CRT0=redboot
- # We need to avoid the area used by RedBoot
- SRAM_ORIGIN=0x3080000
- SRAM_LENGTH=0x80000
- # Put code for RedBoot apps in SRAM, since the fido1100 has
- # trouble running code from SDRAM.
- TEXT=sram
- DATA=sdram
- STACK=0
- HEAPEND=0x027f0000
- ;;
- *)
- ERROR
- ;;
-esac
-
-cat <<EOF
-/*
- * Setup the memory map of the Innovasic SBC
- * stack grows down from high memory.
- *
- * The memory map for the ROM model looks like this:
- *
- * +--------------------+ <-address 0 in Flash
- * | .vector_table |
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | DCACHE_CODE | code to be loaded into DCACHE
- * | _dcache_start |
- * | _dcache_end |
- * +--------------------+
- * | .data | initialized data goes here
- * +--------------------+
- * . .
- * . .
- * . .
- * +--------------------+ <- The beginning of the SRAM area
- * | .data | a wriable copy of data goes here.
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * | _heapend | End of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- *
- *
- * The memory map for the RAM model looks like this:
- *
- * +--------------------+ <- The beginning of the SRAM or SDRAM area.
- * | .vector_table |
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | DCACHE_CODE | code to be loaded into DCACHE
- * | _dcache_start |
- * | _dcache_end |
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * | _heapend | End of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-
-STARTUP(fido-${CRT0}-crt0.o)
-OUTPUT_ARCH(m68k)
-ENTRY(_start);
-GROUP(-l${IO} -lfido -lc -lgcc)
-
-MEMORY {
- /* Flash ROM. */
- rom (rx) : ORIGIN = 0x0000000, LENGTH = 0x800000
- /* Internal SRAM. */
- int_ram (rwx) : ORIGIN = 0x1000000, LENGTH = 0x6000
- /* External SDRAM. */
- sdram (rwx) : ORIGIN = 0x2000000, LENGTH = 0x800000
- /* External SRAM. */
- sram (rwx) : ORIGIN = ${SRAM_ORIGIN}, LENGTH = ${SRAM_LENGTH}
-}
-
-SECTIONS {
- /* The interrupt vector is placed at the beginning of ${TEXT},
- as required at reset. */
- .vector_table : {
- *(.vector_table)
- } > ${TEXT}
-
- /* Text section. */
- .text :
- {
- *(.text .text.*)
- *(.gnu.linkonce.t.*)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
-
- . = ALIGN(0x4);
- KEEP (*crtbegin.o(.jcr))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr))
- KEEP (*crtend.o(.jcr))
-
- *(.rodata .rodata.*)
- *(.gnu.linkonce.r.*)
- *(.gcc_except_table)
- *(.eh_frame)
-
- . = ALIGN(0x2);
- _init = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _fini = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
- . = ALIGN(0x800); /* align to a 2K dcache boundary */
- _dcache_start = .;
- *(DCACHE_CODE)
- _dcache_end = .;
- _etext = .;
- *(.lit)
- . = ALIGN(0x4);
- __start_romdata = .;
- } > ${TEXT}
-
- /* Initialized data section. */
- .data :
- {
- _data = .;
- *(.got.plt) *(.got)
- *(.shdata);
- *(.data .data.*)
- *(.gnu.linkonce.d.*)
- _edata_cksum = .;
- *(checksum);
- _edata = .;
- } > ${DATA} ${DATALOAD:+AT>} ${DATALOAD}
-
- /* Zero-initialized data. */
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ${DATA}
-
- /* Specially designated data is placed in the internal RAM. */
- fast_memory :
- {
- . = ALIGN(0x4);
- __fast_start = .;
- *(FAST_RAM)
- __fast_stop = .;
- } > int_ram
-}
-
-PROVIDE (__stack = ${STACK});
-
-PROVIDE (_heapend = ${HEAPEND});
-EOF
diff --git a/libgloss/m68k/fido_profiling.h b/libgloss/m68k/fido_profiling.h
deleted file mode 100644
index 63578ad..0000000
--- a/libgloss/m68k/fido_profiling.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * fido profiling support.
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef FIDO_PROFILING_H
-#define FIDO_PROFILING_H
-
-extern int monconfig (unsigned char *buffer, unsigned buffer_size);
-extern int moncontrol (int);
-extern void _mcleanup (void);
-
-#endif
diff --git a/libgloss/m68k/idp-inbyte.c b/libgloss/m68k/idp-inbyte.c
deleted file mode 100644
index 41db57f..0000000
--- a/libgloss/m68k/idp-inbyte.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* idp-inbyte.c --
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <_ansi.h>
-#include "mc68681reg.h"
-
-/*
- * The DUART is mapped into the IDP address space in an unusual
- * manner. The mc68681 is an 8 bit device located on the least
- * significant byte (byte0) of the data bus. Bytes 3, 2, and
- * one have nothing in them and writes to these locations are
- * not valid.
- */
-
-#define DUART_ADDR 0x00B00000
-#define READREG(x) (*((volatile char *) DUART_ADDR + (x * 4) + 3))
-#define WRITEREG(x, y) (*((char *) DUART_ADDR + (x * 4) + 3) = y)
-
-/*
- * inbyte -- get a byte from the DUART RX buffer. This only reads
- * from channel A
- */
-char
-_DEFUN_VOID (inbyte)
-{
- while ((READREG (DUART_SRA) & 0x01) == 0x00)
- ;
-
- return (READREG (DUART_RBA)); /* read the byte */
-}
diff --git a/libgloss/m68k/idp-outbyte.c b/libgloss/m68k/idp-outbyte.c
deleted file mode 100644
index a95dc0c..0000000
--- a/libgloss/m68k/idp-outbyte.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/* idp-outbyte.c
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <_ansi.h>
-#include "mc68681reg.h"
-
-/*
- * The DUART is mapped into the IDP address space in an unusual
- * manner. The mc68681 is an 8 bit device located on the least
- * significant byte (byte0) of the data bus. Bytes 3, 2, and
- * one have nothing in them and writes to these locations are
- * not valid.
- */
-
-#define DUART_ADDR 0x00B00000
-#define READREG(x) (*((volatile char *) DUART_ADDR + (x * 4) + 3))
-#define WRITEREG(x, y) (*((char *) DUART_ADDR + (x * 4) + 3) = y)
-
-/*
- * raw_outbyte -- send a byte to the DUART buffer. This only sends
- * to channel A.
- */
-static void
-_DEFUN (raw_outbyte, (byte),
- char byte)
-{
- /* First, wait for the UART to finish clocking out the last
- character we sent, if any. Then, give it the next character to
- work on. By waiting first, then handing off a new character, we
- allow the UART to work while the processor (perhaps) does other
- things; if we waited after sending each character, there'd be no
- opportunity for parallelism. */
- while ((READREG (DUART_SRA) & 0x04) == 0x00)
- ;
-
- WRITEREG (DUART_TBA, byte); /* write the byte */
-}
-
-
-/*
- * outbyte -- send BYTE out the DUART's channel A, for display to
- * the user.
- *
- * Normally, this is identical to raw_outbyte, but if
- * GDB_MONITOR_OUTPUT is #defined, we prefix each byte we send
- * with a ^O character (ASCII 15). This is a signal to GDB's
- * `rom68k' target to pass the character directly on to the user;
- * it allows programs to do console output under GDB.
- *
- * We compile this file twice: once with GDB_MONITOR_OUTPUT
- * #defined, and once without. The former .o file we put in
- * libidpgdb.a, which is included in the link by idpgdb.ld; the
- * latter we put in libidp.a, which is selected by idp.ld.
- */
-void
-_DEFUN (outbyte, (byte),
- char byte)
-{
-#ifdef GDB_MONITOR_OUTPUT
- raw_outbyte (0x0f);
-#endif
- raw_outbyte (byte);
-}
diff --git a/libgloss/m68k/idp.ld b/libgloss/m68k/idp.ld
deleted file mode 100644
index 7359783..0000000
--- a/libgloss/m68k/idp.ld
+++ /dev/null
@@ -1,147 +0,0 @@
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-
-SEARCH_DIR(.)
-GROUP(-lidp -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the MC68ec0x0 Board (IDP)
- * stack grows down from high memory. This works for
- * both the rom68k and the mon68k monitors.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-
-/*
- * When the IDP is not remapped (see rom68k's MP command in the
- * "M68EC0x0IDP Users Manual", the first 64K bytes are reserved;
- * Otherwise the first 256K bytes are reserved.
- *
- * The following memory map describes a unmapped IDP w/2MB RAM.
- */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x00010000, LENGTH = 2M-64K
- rom0 : ORIGIN = 0x00800000, LENGTH = 1M
- rom1 : ORIGIN = 0x00900000, LENGTH = 1M
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 2M - 8);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text .text.*)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- *(.rodata .rodata.*)
-
- . = ALIGN(0x4);
- *(.gcc_except_table)
-
- . = ALIGN(0x4);
- *(.eh_frame)
-
- . = ALIGN(0x4);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(0x4);
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/idpgdb.ld b/libgloss/m68k/idpgdb.ld
deleted file mode 100644
index a8a13ee..0000000
--- a/libgloss/m68k/idpgdb.ld
+++ /dev/null
@@ -1,147 +0,0 @@
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-
-SEARCH_DIR(.)
-GROUP(-lidpgdb -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the MC68ec0x0 Board (IDP)
- * stack grows down from high memory. This works for
- * both the rom68k and the mon68k monitors.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-
-/*
- * When the IDP is not remapped (see rom68k's MP command in the
- * "M68EC0x0IDP Users Manual", the first 64K bytes are reserved;
- * Otherwise the first 256K bytes are reserved.
- *
- * The following memory map describes a unmapped IDP w/2MB RAM.
- */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x00010000, LENGTH = 2M-64K
- rom0 : ORIGIN = 0x00800000, LENGTH = 1M
- rom1 : ORIGIN = 0x00900000, LENGTH = 1M
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 2M - 8);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text .text.*)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- *(.rodata .rodata.*)
-
- . = ALIGN(0x4);
- *(.gcc_except_table)
-
- . = ALIGN(0x4);
- *(.eh_frame)
-
- . = ALIGN(0x4);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(0x4);
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/io-close.c b/libgloss/m68k/io-close.c
deleted file mode 100644
index fb8cde3..0000000
--- a/libgloss/m68k/io-close.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * io-close.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <errno.h>
-#define IO close
-#include "io.h"
-
-/*
- * close -- close a file descriptor.
- * input parameters:
- * 0 : file descriptor
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int close (int fd)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fd;
- __hosted (HOSTED_CLOSE, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- return 0;
-#endif
-}
diff --git a/libgloss/m68k/io-exit.c b/libgloss/m68k/io-exit.c
deleted file mode 100644
index 3eee09d..0000000
--- a/libgloss/m68k/io-exit.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * io-exit.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#if HOSTED
-#include "io.h"
-
-/*
- * _exit -- Exit from the application.
- */
-
-void __attribute__ ((noreturn)) _exit (int code)
-{
- while (1)
- __hosted (HOSTED_EXIT, (void *)code);
-}
-#endif
diff --git a/libgloss/m68k/io-fstat.c b/libgloss/m68k/io-fstat.c
deleted file mode 100644
index 83f1516..0000000
--- a/libgloss/m68k/io-fstat.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * io-fstat.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <errno.h>
-#define IO fstat
-#include "io.h"
-
-/*
- * fstat -- get file information
- * input parameters:
- * 0 : file descriptor
- * 1 : stat buf ptr
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int fstat (int fd, struct stat *buf)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- struct gdb_stat gbuf;
- parameters[0] = (uint32_t) fd;
- parameters[1] = (uint32_t) &gbuf;
- __hosted (HOSTED_FSTAT, parameters);
- __hosted_from_gdb_stat (&gbuf, buf);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-gdb.c b/libgloss/m68k/io-gdb.c
deleted file mode 100644
index 4f16b2f..0000000
--- a/libgloss/m68k/io-gdb.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * hosted io support for GDB's remote fileio protocol
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "io.h"
-#include <fcntl.h>
-#include <unistd.h>
-#include <errno.h>
-
-gdb_mode_t
-__hosted_to_gdb_mode_t (mode_t m)
-{
- gdb_mode_t result = 0;
- if (m & S_IFREG)
- result |= GDB_S_IFREG;
- if (m & S_IFDIR)
- result |= GDB_S_IFDIR;
- if (m & S_IRUSR)
- result |= GDB_S_IRUSR;
- if (m & S_IWUSR)
- result |= GDB_S_IWUSR;
- if (m & S_IXUSR)
- result |= GDB_S_IXUSR;
- if (m & S_IRGRP)
- result |= GDB_S_IRGRP;
- if (m & S_IWGRP)
- result |= GDB_S_IWGRP;
- if (m & S_IXGRP)
- result |= GDB_S_IXGRP;
- if (m & S_IROTH)
- result |= GDB_S_IROTH;
- if (m & S_IWOTH)
- result |= GDB_S_IWOTH;
- if (m & S_IXOTH)
- result |= GDB_S_IXOTH;
- return result;
-}
-
-int32_t
-__hosted_to_gdb_open_flags (int f)
-{
- int32_t result = 0;
- if (f & O_RDONLY)
- result |= GDB_O_RDONLY;
- if (f & O_WRONLY)
- result |= GDB_O_WRONLY;
- if (f & O_RDWR)
- result |= GDB_O_RDWR;
- if (f & O_APPEND)
- result |= GDB_O_APPEND;
- if (f & O_CREAT)
- result |= GDB_O_CREAT;
- if (f & O_TRUNC)
- result |= GDB_O_TRUNC;
- if (f & O_EXCL)
- result |= GDB_O_EXCL;
- return result;
-}
-
-int32_t
-__hosted_to_gdb_lseek_flags (int f)
-{
- if (f == SEEK_CUR)
- return GDB_SEEK_CUR;
- else if (f == SEEK_END)
- return GDB_SEEK_END;
- else
- return GDB_SEEK_SET;
-}
-
-void
-__hosted_from_gdb_stat (const struct gdb_stat *gs,
- struct stat *s)
-{
- s->st_dev = gs->st_dev;
- s->st_ino = gs->st_ino;
- s->st_mode = gs->st_mode;
- s->st_nlink = gs->st_nlink;
- s->st_uid = gs->st_uid;
- s->st_gid = gs->st_gid;
- s->st_rdev = gs->st_rdev;
- s->st_size = gs->st_size;
- s->st_blksize = gs->st_blksize;
- s->st_blocks = gs->st_blocks;
- s->st_atime = gs->st_atime;
- s->st_mtime = gs->st_mtime;
- s->st_ctime = gs->st_ctime;
-}
-
-void
-__hosted_from_gdb_timeval (const struct gdb_timeval *gt,
- struct timeval *t)
-{
- t->tv_sec = gt->tv_sec;
- t->tv_usec = gt->tv_usec;
-}
-
-int
-__hosted_from_gdb_errno (int32_t err)
-{
- switch (err)
- {
- case 0: return 0;
- case GDB_EPERM: return EPERM;
- case GDB_ENOENT: return ENOENT;
- case GDB_EINTR: return EINTR;
- case GDB_EBADF: return EBADF;
- case GDB_EACCES: return EACCES;
- case GDB_EFAULT: return EFAULT;
- case GDB_EBUSY: return EBUSY;
- case GDB_EEXIST: return EEXIST;
- case GDB_ENODEV: return ENODEV;
- case GDB_ENOTDIR: return ENOTDIR;
- case GDB_EISDIR: return EISDIR;
- case GDB_EINVAL: return EINVAL;
- case GDB_ENFILE: return ENFILE;
- case GDB_EMFILE: return EMFILE;
- case GDB_EFBIG: return EFBIG;
- case GDB_ENOSPC: return ENOSPC;
- case GDB_ESPIPE: return ESPIPE;
- case GDB_EROFS: return EROFS;
- case GDB_ENAMETOOLONG: return ENAMETOOLONG;
- case GDB_EUNKNOWN:
- default:
- return EIO;
- }
-}
-
diff --git a/libgloss/m68k/io-gettimeofday.c b/libgloss/m68k/io-gettimeofday.c
deleted file mode 100644
index ae4aaf6..0000000
--- a/libgloss/m68k/io-gettimeofday.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * io-gettimeofday.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/time.h>
-#include <errno.h>
-#define IO gettimeofday
-#include "io.h"
-
-/*
- * gettimeofday -- get the current time
- * input parameters:
- * 0 : timeval ptr
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int gettimeofday (struct timeval *tv, void *tzvp)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- struct gdb_timeval gtv;
- struct timezone *tz = tzvp;
- if (!tv)
- return 0;
- if (tz)
- {
- errno = EINVAL;
- return -1;
- }
- parameters[0] = (uint32_t) &gtv;
- __hosted (HOSTED_GETTIMEOFDAY, parameters);
- __hosted_from_gdb_timeval (&gtv, tv);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-isatty.c b/libgloss/m68k/io-isatty.c
deleted file mode 100644
index 4d9bb7d..0000000
--- a/libgloss/m68k/io-isatty.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * io-isatty.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <errno.h>
-#define IO isatty
-#include "io.h"
-
-/*
- * isatty -- check if fd is a terminal
- * input parameters:
- * 0 : file descriptor
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int isatty (int fd)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fd;
- __hosted (HOSTED_ISATTY, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- return 1;
-#endif
-}
diff --git a/libgloss/m68k/io-lseek.c b/libgloss/m68k/io-lseek.c
deleted file mode 100644
index 63ec564..0000000
--- a/libgloss/m68k/io-lseek.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * io-lseek.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <unistd.h>
-#include <errno.h>
-#define IO lseek
-#include "io.h"
-
-/*
- * lseek -- reposition a file descriptor
- * input parameters:
- * 0 : file descriptor
- * 1 : high word of offset
- * 2 : low word of offset
- * 3 : seek flag
- * output parameters:
- * 0 : high word of result
- * 1 : low word of result
- * 2 : errno
- */
-
-off_t lseek (int fd, off_t offset, int whence)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fd;
- parameters[1] = (uint32_t) ((offset >> 32) & 0xffffffff);
- parameters[2] = (uint32_t) (offset & 0xffffffff);
- parameters[3] = __hosted_to_gdb_lseek_flags (whence);
- __hosted (HOSTED_LSEEK, parameters);
- errno = __hosted_from_gdb_errno (parameters[2]);
- return ((uint64_t)parameters[0] << 32) | ((uint64_t)parameters[1]);
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-open.c b/libgloss/m68k/io-open.c
deleted file mode 100644
index ec45a53..0000000
--- a/libgloss/m68k/io-open.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * io-open.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <stdarg.h>
-#include <string.h>
-#include <errno.h>
-#define IO open
-#include "io.h"
-
-/*
- * open -- Open a file.
- * input parameters:
- * 0 : fname ptr
- * 1 : fname length
- * 2 : flags
- * 3 : mode
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int open (const char *fname, int flags, ...)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fname;
- parameters[1] = strlen (fname) + 1;
- parameters[2] = __hosted_to_gdb_open_flags (flags);
- if (flags & O_CREAT)
- {
- va_list ap;
- va_start (ap, flags);
- parameters[3] = __hosted_to_gdb_mode_t (va_arg (ap, mode_t));
- va_end (ap);
- }
- else
- parameters[3] = 0;
- __hosted (HOSTED_OPEN, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-read.c b/libgloss/m68k/io-read.c
deleted file mode 100644
index 2cf3555..0000000
--- a/libgloss/m68k/io-read.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * io-read.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <errno.h>
-#define IO read
-#include "io.h"
-
-/*
- * read -- read from a file descriptor
- * input parameters:
- * 0 : file descriptor
- * 1 : buf ptr
- * 2 : count
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-ssize_t read (int fd, void *buf, size_t count)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fd;
- parameters[1] = (uint32_t) buf;
- parameters[2] = (uint32_t) count;
- __hosted (HOSTED_READ, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-rename.c b/libgloss/m68k/io-rename.c
deleted file mode 100644
index 75e7c87..0000000
--- a/libgloss/m68k/io-rename.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * io-rename.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#define IO rename
-#include "io.h"
-
-/*
- * rename -- rename a file
- * input parameters:
- * 0 : oldname ptr
- * 1 : oldname length
- * 2 : newname ptr
- * 3 : newname length
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int _rename (const char *oldpath, const char *newpath)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) oldpath;
- parameters[1] = (uint32_t) strlen (oldpath) + 1;
- parameters[2] = (uint32_t) newpath;
- parameters[3] = (uint32_t) strlen (newpath) + 1;
- __hosted (HOSTED_RENAME, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-stat.c b/libgloss/m68k/io-stat.c
deleted file mode 100644
index af36b3d..0000000
--- a/libgloss/m68k/io-stat.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * io-stat.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <errno.h>
-#define IO stat
-#include "io.h"
-
-/*
- * stat -- get file information
- * input parameters:
- * 0 : filename ptr
- * 1 : filename length
- * 2 : stat buf ptr
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-
-int stat (const char *__restrict filename, struct stat *__restrict buf)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- struct gdb_stat gbuf;
- parameters[0] = (uint32_t) filename;
- parameters[1] = (uint32_t) strlen (filename) + 1;
- parameters[2] = (uint32_t) &gbuf;
- __hosted (HOSTED_STAT, parameters);
- __hosted_from_gdb_stat (&gbuf, buf);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-system.c b/libgloss/m68k/io-system.c
deleted file mode 100644
index 7d35ed2..0000000
--- a/libgloss/m68k/io-system.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * io-system.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <sys/wait.h>
-#define IO _system
-#include "io.h"
-
-/*
- * system: execute command on (remote) host
- * input parameters:
- * 0 : command ptr
- * 1 : command length
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int _system (const char *command)
-{
-#if HOSTED
- int e;
- gdb_parambuf_t parameters;
-
- parameters[0] = (uint32_t) command;
- parameters[1] = command ? (uint32_t) strlen (command) + 1 : 0;
- __hosted (HOSTED_SYSTEM, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- e = parameters[0];
- if (e >= 0 && command)
- {
- /* We have to convert e, an exit status to the encoded status of
- the command. To avoid hard coding the exit status, we simply
- loop until we find the right position. */
- int exit_code;
-
- for (exit_code = e; e && WEXITSTATUS (e) != exit_code; e <<= 1)
- continue;
- }
-
- return e;
-#else
- if (!command)
- return 0;
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-time.c b/libgloss/m68k/io-time.c
deleted file mode 100644
index 8c549ad..0000000
--- a/libgloss/m68k/io-time.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * io-time.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/time.h>
-#include <errno.h>
-#define IO time
-#include "io.h"
-
-/*
- * time -- get the current time
- * input parameters:
- * 0 : timeval ptr
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-time_t time (time_t *t)
-{
-#if HOSTED
- struct timeval tv;
-
- if (gettimeofday (&tv, NULL))
- return -1;
- if (t)
- *t = tv.tv_sec;
- return tv.tv_sec;
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-unlink.c b/libgloss/m68k/io-unlink.c
deleted file mode 100644
index 0e623aa..0000000
--- a/libgloss/m68k/io-unlink.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * io-unlink.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#define IO unlink
-#include "io.h"
-
-/*
- * unlink -- unlink (delete) a file
- * input parameters:
- * 0 : filename ptr
- * 1 : filename length
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-int unlink (const char *path)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) path;
- parameters[1] = (uint32_t) strlen (path) + 1;
- __hosted (HOSTED_UNLINK, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io-write.c b/libgloss/m68k/io-write.c
deleted file mode 100644
index bf4b776..0000000
--- a/libgloss/m68k/io-write.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * io-write.c --
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <unistd.h>
-#include <errno.h>
-#define IO write
-#include "io.h"
-
-/*
- * write -- write to a file descriptor
- * input parameters:
- * 0 : file descriptor
- * 1 : buf ptr
- * 2 : count
- * output parameters:
- * 0 : result
- * 1 : errno
- */
-
-ssize_t write (int fd, const void *buf, size_t count)
-{
-#if HOSTED
- gdb_parambuf_t parameters;
- parameters[0] = (uint32_t) fd;
- parameters[1] = (uint32_t) buf;
- parameters[2] = (uint32_t) count;
- __hosted (HOSTED_WRITE, parameters);
- errno = __hosted_from_gdb_errno (parameters[1]);
- return parameters[0];
-#else
- errno = ENOSYS;
- return -1;
-#endif
-}
diff --git a/libgloss/m68k/io.h b/libgloss/m68k/io.h
deleted file mode 100644
index b6b2287..0000000
--- a/libgloss/m68k/io.h
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * hosted & unhosted io support.
- *
- * Copyright (c) 2006 CodeSourcery Inc
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#if HOSTED
-#include <stdint.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/stat.h>
-
-#define HOSTED_EXIT 0
-#define HOSTED_INIT_SIM 1
-#define HOSTED_OPEN 2
-#define HOSTED_CLOSE 3
-#define HOSTED_READ 4
-#define HOSTED_WRITE 5
-#define HOSTED_LSEEK 6
-#define HOSTED_RENAME 7
-#define HOSTED_UNLINK 8
-#define HOSTED_STAT 9
-#define HOSTED_FSTAT 10
-#define HOSTED_GETTIMEOFDAY 11
-#define HOSTED_ISATTY 12
-#define HOSTED_SYSTEM 13
-
-/* This function is provided by the board's BSP, because the precise
- mechanism of informing gdb is board specific. */
-extern int __io_hosted (int func, void *args);
-
-/* Protocol specific representation of datatypes, as specified in D.9.11
- * of the GDB manual.
- * Note that since the m68k is big-endian, we can use native
- * representations of integer datatypes in structured datatypes. */
-
-typedef uint32_t gdb_mode_t;
-typedef uint32_t gdb_time_t;
-
-struct gdb_stat {
- uint32_t st_dev; /* device */
- uint32_t st_ino; /* inode */
- gdb_mode_t st_mode; /* protection */
- uint32_t st_nlink; /* number of hard links */
- uint32_t st_uid; /* user ID of owner */
- uint32_t st_gid; /* group ID of owner */
- uint32_t st_rdev; /* device type (if inode device) */
- uint64_t st_size; /* total size, in bytes */
- uint64_t st_blksize; /* blocksize for filesystem I/O */
- uint64_t st_blocks; /* number of blocks allocated */
- gdb_time_t st_atime; /* time of last access */
- gdb_time_t st_mtime; /* time of last modification */
- gdb_time_t st_ctime; /* time of last change */
-};
-
-struct gdb_timeval {
- gdb_time_t tv_sec; /* second */
- uint64_t tv_usec; /* microsecond */
-};
-
-
-/* Parameters are passed between the library and the debugging stub
- * in a fixed-size buffer.
- */
-
-typedef uint32_t gdb_parambuf_t[4];
-
-/* open flags */
-
-#define GDB_O_RDONLY 0x0
-#define GDB_O_WRONLY 0x1
-#define GDB_O_RDWR 0x2
-#define GDB_O_APPEND 0x8
-#define GDB_O_CREAT 0x200
-#define GDB_O_TRUNC 0x400
-#define GDB_O_EXCL 0x800
-
-/* mode_t values */
-
-#define GDB_S_IFREG 0100000
-#define GDB_S_IFDIR 040000
-#define GDB_S_IRUSR 0400
-#define GDB_S_IWUSR 0200
-#define GDB_S_IXUSR 0100
-#define GDB_S_IRGRP 040
-#define GDB_S_IWGRP 020
-#define GDB_S_IXGRP 010
-#define GDB_S_IROTH 04
-#define GDB_S_IWOTH 02
-#define GDB_S_IXOTH 01
-
-/* errno values */
-
-#define GDB_EPERM 1
-#define GDB_ENOENT 2
-#define GDB_EINTR 4
-#define GDB_EBADF 9
-#define GDB_EACCES 13
-#define GDB_EFAULT 14
-#define GDB_EBUSY 16
-#define GDB_EEXIST 17
-#define GDB_ENODEV 19
-#define GDB_ENOTDIR 20
-#define GDB_EISDIR 21
-#define GDB_EINVAL 22
-#define GDB_ENFILE 23
-#define GDB_EMFILE 24
-#define GDB_EFBIG 27
-#define GDB_ENOSPC 28
-#define GDB_ESPIPE 29
-#define GDB_EROFS 30
-#define GDB_ENAMETOOLONG 91
-#define GDB_EUNKNOWN 9999
-
-/* lseek flags */
-
-#define GDB_SEEK_SET 0
-#define GDB_SEEK_CUR 1
-#define GDB_SEEK_END 2
-
-
-/* conversion functions */
-
-extern gdb_mode_t __hosted_to_gdb_mode_t (mode_t m);
-extern int32_t __hosted_to_gdb_open_flags (int f);
-extern int32_t __hosted_to_gdb_lseek_flags (int f);
-
-extern void __hosted_from_gdb_stat (const struct gdb_stat *gs,
- struct stat *s);
-extern void __hosted_from_gdb_timeval (const struct gdb_timeval *gt,
- struct timeval *t);
-extern int __hosted_from_gdb_errno (int32_t err);
-
-#else
-#ifdef IO
-#define IO_NAME_(IO) __hosted_##IO
-#define IO_NAME(IO) IO_NAME_(IO)
-#define IO_STRING_(IO) #IO
-#define IO_STRING(IO) IO_STRING_(IO)
-/* Emit an object that causes a gnu linker warning. */
-static const char IO_NAME (IO) []
-__attribute__ ((section (".gnu.warning"), used)) =
-"IO function '" IO_STRING (IO) "' used";
-#endif
-#endif
diff --git a/libgloss/m68k/leds.c b/libgloss/m68k/leds.c
deleted file mode 100644
index b911237..0000000
--- a/libgloss/m68k/leds.c
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * leds.c -- control the led's on a Motorola mc68ec0x0 board.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "leds.h"
-
-/*
- * led_putnum -- print a hex number on the LED. the value of num must be a char with
- * the ascii value. ie... number 0 is '0', a is 'a', ' ' (null) clears
- * the led display.
- * Setting the bit to 0 turns it on, 1 turns it off.
- * the LED's are controlled by setting the right bit mask in the base
- * address.
- * The bits are:
- * [d.p | g | f | e | d | c | b | a ] is the byte.
- *
- * The locations are:
- *
- * a
- * -----
- * f | | b
- * | g |
- * -----
- * | |
- * e | | c
- * -----
- * d . d.p (decimal point)
- */
-void
-led_putnum ( num )
-char num;
-{
- static unsigned char *leds = (unsigned char *)LED_ADDR;
- static unsigned char num_bits [18] = {
- 0xff, /* clear all */
- 0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x98, /* numbers 0-9 */
- 0x98, 0x20, 0x3, 0x27, 0x21, 0x4, 0xe /* letters a-f */
- };
-
- if (num >= '0' && num <= '9')
- num = (num - '0') + 1;
-
- if (num >= 'a' && num <= 'f')
- num = (num - 'a') + 12;
-
- if (num == ' ')
- num = 0;
-
- *leds = num_bits[num];
-}
-
-/*
- * zylons -- draw a rotating pattern. NOTE: this function never returns.
- */
-void
-zylons()
-{
- unsigned char *leds = (unsigned char *)LED_ADDR;
- unsigned char curled = 0xfe;
-
- while (1)
- {
- *leds = curled;
- curled = (curled >> 1) | (curled << 7);
- delay ( 200 );
- }
-}
diff --git a/libgloss/m68k/leds.h b/libgloss/m68k/leds.h
deleted file mode 100644
index c3fd6a3..0000000
--- a/libgloss/m68k/leds.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* leds.c -- control the led's on a Motorola mc68ec0x0 board.
- * Written by rob@cygnus.com (Rob Savoye)
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef __LEDS_H__
-#define __LEDS_H__
-
-#define LED_ADDR 0xd00003
-#define LED_0 ~0x1
-#define LED_1 ~0x2
-#define LED_2 ~0x4
-#define LED_3 ~0x8
-#define LED_4 ~0x10
-#define LED_5 ~0x20
-#define LED_6 ~0x40
-#define LED_7 ~0x80
-#define LEDS_OFF 0xff
-#define LEDS_ON 0x0
-
-#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
-
-extern void led_putnum( char );
-void zylons();
-
-#endif /* __LEDS_H__ */
diff --git a/libgloss/m68k/mc68681reg.h b/libgloss/m68k/mc68681reg.h
deleted file mode 100644
index 1d9d4ce..0000000
--- a/libgloss/m68k/mc68681reg.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* mc68681reg.h -- Motorola mc68681 DUART register offsets.
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#define DUART_MR1A 0x00 /* Mode Register A */
-#define DUART_MR1A 0x00 /* Mode Register A */
-#define DUART_SRA 0x01 /* Status Register A */
-#define DUART_CSRA 0x01 /* Clock-Select Register A */
-#define DUART_CRA 0x02 /* Command Register A */
-#define DUART_RBA 0x03 /* Receive Buffer A */
-#define DUART_TBA 0x03 /* Transmit Buffer A */
-#define DUART_IPCR 0x04 /* Input Port Change Register */
-#define DUART_ACR 0x04 /* Auxiliary Control Register */
-#define DUART_ISR 0x05 /* Interrupt Status Register */
-#define DUART_IMR 0x05 /* Interrupt Mask Register */
-#define DUART_CUR 0x06 /* Counter Mode: current MSB */
-#define DUART_CTUR 0x06 /* Counter/Timer upper reg */
-#define DUART_CLR 0x07 /* Counter Mode: current LSB */
-#define DUART_CTLR 0x07 /* Counter/Timer lower reg */
-#define DUART_MR1B 0x08 /* Mode Register B */
-#define DUART_MR2B 0x08 /* Mode Register B */
-#define DUART_SRB 0x09 /* Status Register B */
-#define DUART_CSRB 0x09 /* Clock-Select Register B */
-#define DUART_CRB 0x0A /* Command Register B */
-#define DUART_RBB 0x0B /* Receive Buffer B */
-#define DUART_TBB 0x0B /* Transmit Buffer A */
-#define DUART_IVR 0x0C /* Interrupt Vector Register */
-#define DUART_IP 0x0D /* Input Port */
-#define DUART_OPCR 0x0D /* Output Port Configuration Reg. */
-#define DUART_STRTCC 0x0E /* Start-Counter command */
-#define DUART_OPRSET 0x0E /* Output Port Reg, SET bits */
-#define DUART_STOPCC 0x0F /* Stop-Counter command */
-#define DUART_OPRRST 0x0F /* Output Port Reg, ReSeT bits */
diff --git a/libgloss/m68k/mc68ec.c b/libgloss/m68k/mc68ec.c
deleted file mode 100644
index d5ee9b5..0000000
--- a/libgloss/m68k/mc68ec.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* mc68ec.c -- Low level support for the Motorola mc68ec0x0 board.
- * Written by rob@cygnus.com (Rob Savoye)
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <_ansi.h>
-#include <errno.h>
-#include "leds.h"
-
-/*
- * _exit -- exit the running program. We just cause an exception
- * which makes the program return to the boot monitor
- * prompt. It can be restarted from there.
- */
-void
-_DEFUN (_exit, (status),
- int_status)
-{
- /* Use `i' constraint to get proper immediate-operand syntax for
- target assembler configuration. */
- asm ("trap %0" : : "i" (0)); /* seems to be a harmless vector number */
-}
-
-/*
- * delay -- delay execution. This is an ugly hack. It should
- * use the timer, but I'm waiting for docs. (sigh)
- */
-void
-_DEFUN (delay, (num),
- int num)
-{
- while (num--)
- {
- asm ("nop");
- }
-}
diff --git a/libgloss/m68k/mvme-stub.c b/libgloss/m68k/mvme-stub.c
deleted file mode 100644
index fbc4c61..0000000
--- a/libgloss/m68k/mvme-stub.c
+++ /dev/null
@@ -1,734 +0,0 @@
-unsigned long sp_ptr;
-unsigned long pc_ptr;
-int cnt;
-#define UNWIND asm ("movel %/sp, %0" : "=g" (sp_ptr));\
- printf ("\n\t\t== Starting at 0x%x ==\n", sp_ptr);\
- for (cnt=4; cnt <=32; cnt+=4) {\
- printf ("+%d(0x%x): 0x%x\t\t-%d(0x%x): 0x%x\n",\
- cnt, (sp_ptr + cnt), *(unsigned long *)(sp_ptr + cnt),\
- cnt, (sp_ptr - cnt), *(unsigned long *)(sp_ptr - cnt)\
- ); }; fflush (stdout);
-
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- * Some explanation is probably necessary to explain how exceptions are
- * handled. When an exception is encountered the 68000 pushes the current
- * program counter and status register onto the supervisor stack and then
- * transfers execution to a location specified in it's vector table.
- * The handlers for the exception vectors are hardwired to jmp to an address
- * given by the relation: (exception - 256) * 6. These are decending
- * addresses starting from -6, -12, -18, ... By allowing 6 bytes for
- * each entry, a jsr, jmp, bsr, ... can be used to enter the exception
- * handler. Using a jsr to handle an exception has an added benefit of
- * allowing a single handler to service several exceptions and use the
- * return address as the key differentiation. The vector number can be
- * computed from the return address by [ exception = (addr + 1530) / 6 ].
- * The sole purpose of the routine _catchException is to compute the
- * exception number and push it on the stack in place of the return address.
- * The external function exceptionHandler() is
- * used to attach a specific handler to a specific 68k exception.
- * For 68020 machines, the ability to have a return address around just
- * so the vector can be determined is not necessary because the '020 pushes an
- * extra word onto the stack containing the vector offset
- *
- * Because gdb will sometimes write to the stack area to execute function
- * calls, this program cannot rely on using the supervisor stack so it
- * uses it's own stack area reserved in the int array remcomStack.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-#include <stdio.h>
-#include <string.h>
-#include <setjmp.h>
-#include <_ansi.h>
-
-/************************************************************************
- *
- * external low-level support routines
- */
-typedef void (*ExceptionHook)(int); /* pointer to function with int parm */
-typedef void (*Function)(); /* pointer to a function */
-
-extern int putDebugChar(); /* write a single character */
-extern char getDebugChar(); /* read and return a single char */
-
-ExceptionHook exceptionHook; /* hook variable for errors/exceptions */
-
-/************************/
-/* FORWARD DECLARATIONS */
-/************************/
-/** static void initializeRemcomErrorFrame PARAMS ((void)); **/
-static void _DEFUN_VOID (initializeRemcomErrorFrame);
-
-/************************************************************************/
-/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
-/* at least NUMREGBYTES*2 are needed for register packets */
-#define BUFMAX 400
-
-static char initialized; /* boolean flag. != 0 means we've been initialized */
-
-int remote_debug = 0; /*** Robs Thu Sep 24 22:18:51 PDT 1992 ***/
-/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
-
-static const char hexchars[]="0123456789abcdef";
-
-/* there are 180 bytes of registers on a 68020 w/68881 */
-/* many of the fpa registers are 12 byte (96 bit) registers */
-#define NUMREGBYTES 180
-enum regnames {D0,D1,D2,D3,D4,D5,D6,D7,
- A0,A1,A2,A3,A4,A5,A6,A7,
- PS,PC,
- FP0,FP1,FP2,FP3,FP4,FP5,FP6,FP7,
- FPCONTROL,FPSTATUS,FPIADDR
- };
-
-typedef struct FrameStruct
-{
- struct FrameStruct *previous;
- int exceptionPC; /* pc value when this frame created */
- int exceptionVector; /* cpu vector causing exception */
- short frameSize; /* size of cpu frame in words */
- short sr; /* for 68000, this not always sr */
- int pc;
- short format;
- int fsaveHeader;
- int morejunk[0]; /* exception frame, fp save... */
-} Frame;
-
-#define FRAMESIZE 500
-int gdbFrameStack[FRAMESIZE];
-Frame *lastFrame;
-
-/*
- * these should not be static cuz they can be used outside this module
- */
-int registers[NUMREGBYTES/4];
-int superStack;
-
-#define STACKSIZE 10000
-int remcomStack[STACKSIZE/sizeof(int)];
-int* stackPtr = &remcomStack[STACKSIZE/sizeof(int) - 1];
-
-/*
- * In many cases, the system will want to continue exception processing
- * when a continue command is given.
- * oldExceptionHook is a function to invoke in this case.
- */
-
-static ExceptionHook oldExceptionHook;
-
-/* the size of the exception stack on the 68020 varies with the type of
- * exception. The following table is the number of WORDS used
- * for each exception format.
- */
-const short exceptionSize[] = { 4,4,6,4,4,4,4,4,29,10,16,46,12,4,4,4 };
-
-/************* jump buffer used for setjmp/longjmp **************************/
-jmp_buf remcomEnv;
-
-#define BREAKPOINT() asm(" trap #1");
-
-extern void _DEFUN_VOID (return_to_super);
-extern void _DEFUN_VOID (return_to_user);
-extern void _DEFUN_VOID (_catchException);
-
-void _returnFromException( Frame *frame )
-{
- /* if no passed in frame, use the last one */
- if (! frame)
- {
- frame = lastFrame;
- frame->frameSize = 4;
- frame->format = 0;
- frame->fsaveHeader = -1; /* restore regs, but we dont have fsave info*/
- }
-
-#ifndef mc68020
- /* a 68000 cannot use the internal info pushed onto a bus error
- * or address error frame when doing an RTE so don't put this info
- * onto the stack or the stack will creep every time this happens.
- */
- frame->frameSize=3;
-#endif
-
- /* throw away any frames in the list after this frame */
- lastFrame = frame;
-
- frame->sr = registers[(int) PS];
- frame->pc = registers[(int) PC];
-
- if (registers[(int) PS] & 0x2000)
- {
- /* return to supervisor mode... */
- return_to_super();
- }
- else
- { /* return to user mode */
- return_to_user();
- }
-}
-
-int hex(ch)
-char ch;
-{
- if ((ch >= 'a') && (ch <= 'f')) return (ch-'a'+10);
- if ((ch >= '0') && (ch <= '9')) return (ch-'0');
- if ((ch >= 'A') && (ch <= 'F')) return (ch-'A'+10);
- return (-1);
-}
-
-
-/* scan for the sequence $<data>#<checksum> */
-void getpacket(buffer)
-char * buffer;
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- char ch;
-
- if (remote_debug) {
- printf("\nGETPACKET: sr=0x%x, pc=0x%x, sp=0x%x\n",
- registers[ PS ],
- registers[ PC ],
- registers[ A7 ]
- ); fflush (stdout);
- UNWIND
- }
-
- do {
- /* wait around for the start character, ignore all other characters */
- while ((ch = getDebugChar()) != '$');
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX) {
- ch = getDebugChar();
- if (ch == '#') break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
- buffer[count] = 0;
-
- if (ch == '#') {
- xmitcsum = hex(getDebugChar()) << 4;
- xmitcsum += hex(getDebugChar());
- if ((remote_debug ) && (checksum != xmitcsum)) {
- fprintf(stderr,"bad checksum. My count = 0x%x, sent=0x%x. buf=%s\n",
- checksum,xmitcsum,buffer);
- }
-
- if (checksum != xmitcsum) putDebugChar('-'); /* failed checksum */
- else {
- putDebugChar('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':') {
- putDebugChar( buffer[0] );
- putDebugChar( buffer[1] );
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++) buffer[i-3] = buffer[i];
- }
- }
- }
- } while (checksum != xmitcsum);
-
-}
-
-/* send the packet in buffer. The host get's one chance to read it.
- This routine does not wait for a positive acknowledge. */
-
-void putpacket(buffer)
-char * buffer;
-{
- unsigned char checksum;
- int count;
- char ch;
-
- /* $<packet info>#<checksum>. */
- /*** do {***/
- putDebugChar('$');
- checksum = 0;
- count = 0;
-
- while (ch=buffer[count]) {
- if (! putDebugChar(ch)) return;
- checksum += ch;
- count += 1;
- }
-
- putDebugChar('#');
- putDebugChar(hexchars[checksum >> 4]);
- putDebugChar(hexchars[checksum % 16]);
-
- if (remote_debug) {
- printf("\nPUTPACKET: sr=0x%x, pc=0x%x, sp=0x%x\n",
- registers[ PS ],
- registers[ PC ],
- registers[ A7 ]
- ); fflush (stdout);
- UNWIND
- }
-
-/*** } while (getDebugChar() != '+'); ***/
-/** } while (1 == 0); (getDebugChar() != '+'); **/
-
-}
-
-char remcomInBuffer[BUFMAX];
-char remcomOutBuffer[BUFMAX];
-static short error;
-
-
-void debug_error(format, parm)
-char * format;
-char * parm;
-{
- if (remote_debug) fprintf(stderr,format,parm);
-}
-
-/* convert the memory pointed to by mem into hex, placing result in buf */
-/* return a pointer to the last char put in buf (null) */
-char* mem2hex(mem, buf, count)
-char* mem;
-char* buf;
-int count;
-{
- int i;
- unsigned char ch;
- for (i=0;i<count;i++) {
- ch = *mem++;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch % 16];
- }
- *buf = 0;
- return(buf);
-}
-
-/* convert the hex array pointed to by buf into binary to be placed in mem */
-/* return a pointer to the character AFTER the last byte written */
-char* hex2mem(buf, mem, count)
-char* buf;
-char* mem;
-int count;
-{
- int i;
- unsigned char ch;
- for (i=0;i<count;i++) {
- ch = hex(*buf++) << 4;
- ch = ch + hex(*buf++);
- *mem++ = ch;
- }
- return(mem);
-}
-
-/* a bus error has occurred, perform a longjmp
- to return execution and allow handling of the error */
-
-void handle_buserror()
-{
- longjmp(remcomEnv,1);
-}
-
-/* this function takes the 68000 exception number and attempts to
- translate this number into a unix compatible signal value */
-int computeSignal( exceptionVector )
-int exceptionVector;
-{
- int sigval;
- switch (exceptionVector) {
- case 2 : sigval = 10; break; /* bus error */
- case 3 : sigval = 10; break; /* address error */
- case 4 : sigval = 4; break; /* illegal instruction */
- case 5 : sigval = 8; break; /* zero divide */
- case 6 : sigval = 16; break; /* chk instruction */
- case 7 : sigval = 16; break; /* trapv instruction */
- case 8 : sigval = 11; break; /* privilege violation */
- case 9 : sigval = 5; break; /* trace trap */
- case 10: sigval = 4; break; /* line 1010 emulator */
- case 11: sigval = 4; break; /* line 1111 emulator */
- case 13: sigval = 8; break; /* floating point err */
- case 31: sigval = 2; break; /* interrupt */
- case 33: sigval = 5; break; /* breakpoint */
- case 40: sigval = 8; break; /* floating point err */
- case 48: sigval = 8; break; /* floating point err */
- case 49: sigval = 8; break; /* floating point err */
- case 50: sigval = 8; break; /* zero divide */
- case 51: sigval = 8; break; /* underflow */
- case 52: sigval = 8; break; /* operand error */
- case 53: sigval = 8; break; /* overflow */
- case 54: sigval = 8; break; /* NAN */
- default:
- sigval = 7; /* "software generated"*/
- }
- return (sigval);
-}
-
-/**********************************************/
-/* WHILE WE FIND NICE HEX CHARS, BUILD AN INT */
-/* RETURN NUMBER OF CHARS PROCESSED */
-/**********************************************/
-int hexToInt(char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue >=0)
- {
- *intValue = (*intValue <<4) | hexValue;
- numChars ++;
- }
- else
- break;
-
- (*ptr)++;
- }
-
- return (numChars);
-}
-
-/*
- * This function does all command procesing for interfacing to gdb.
- */
-void handle_exception(int exceptionVector)
-{
- int sigval;
- int addr, length;
- char * ptr;
- int newPC;
- Frame *frame;
-
- if (remote_debug) printf("\nHANDLE_EXCEPTION: vector=%d, sr=0x%x, pc=0x%x, sp=0x%x\n",
- exceptionVector,
- registers[ PS ],
- registers[ PC ],
- registers[ A7 ]
- ); fflush (stdout);
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal( exceptionVector );
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval % 16];
- remcomOutBuffer[3] = 0;
-
- putpacket(remcomOutBuffer);
-
- while (1==1) {
- error = 0;
- remcomOutBuffer[0] = 0;
- getpacket(remcomInBuffer);
- switch (remcomInBuffer[0]) {
- case '?' : remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval % 16];
- remcomOutBuffer[3] = 0;
- break;
- case 'd' : remote_debug = !(remote_debug); /* toggle debug flag */
- break;
- case 'g' : /* return the value of the CPU registers */
- mem2hex((char*) registers, remcomOutBuffer, NUMREGBYTES);
- break;
- case 'G' : /* set the value of the CPU registers - return OK */
- hex2mem(&remcomInBuffer[1], (char*) registers, NUMREGBYTES);
- strcpy(remcomOutBuffer,"OK");
- break;
-
- /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- case 'm' :
- if (setjmp(remcomEnv) == 0)
- {
- exceptionHandler(2,handle_buserror);
-
- /* TRY TO READ %x,%x. IF SUCCEED, SET PTR = 0 */
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr,&addr))
- if (*(ptr++) == ',')
- if (hexToInt(&ptr,&length))
- {
- ptr = 0;
- mem2hex((char*) addr, remcomOutBuffer, length);
- }
-
- if (ptr)
- {
- strcpy(remcomOutBuffer,"E01");
- debug_error("malformed read memory command: %s",remcomInBuffer);
- }
- }
- else {
- exceptionHandler(2,_catchException);
- strcpy(remcomOutBuffer,"E03");
- debug_error("bus error");
- }
-
- /* restore handler for bus error */
- exceptionHandler(2,_catchException);
- break;
-
- /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- case 'M' :
- if (setjmp(remcomEnv) == 0) {
- exceptionHandler(2,handle_buserror);
-
- /* TRY TO READ '%x,%x:'. IF SUCCEED, SET PTR = 0 */
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr,&addr))
- if (*(ptr++) == ',')
- if (hexToInt(&ptr,&length))
- if (*(ptr++) == ':')
- {
- hex2mem(ptr, (char*) addr, length);
- ptr = 0;
- strcpy(remcomOutBuffer,"OK");
- }
- if (ptr)
- {
- strcpy(remcomOutBuffer,"E02");
- debug_error("malformed write memory command: %s",remcomInBuffer);
- }
- }
- else {
- exceptionHandler(2,_catchException);
- strcpy(remcomOutBuffer,"E03");
- debug_error("bus error");
- }
-
- /* restore handler for bus error */
- exceptionHandler(2,_catchException);
- break;
-
- /* cAA..AA Continue at address AA..AA(optional) */
- /* sAA..AA Step one instruction from AA..AA(optional) */
- case 'c' :
- case 's' :
- /* try to read optional parameter, pc unchanged if no parm */
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr,&addr))
- registers[ PC ] = addr;
-
- newPC = registers[ PC];
-
- /* clear the trace bit */
- registers[ PS ] &= 0x7fff;
-
- /* set the trace bit if we're stepping */
- if (remcomInBuffer[0] == 's') registers[ PS ] |= 0x8000;
-
- /*
- * look for newPC in the linked list of exception frames.
- * if it is found, use the old frame it. otherwise,
- * fake up a dummy frame in returnFromException().
- */
- if (remote_debug) printf("new pc = 0x%x\n",newPC);
- frame = lastFrame;
- while (frame)
- {
- if (remote_debug)
- printf("frame at 0x%x has pc=0x%x, except#=%d\n",
- frame,frame->exceptionPC,
- frame->exceptionVector);
- if (frame->exceptionPC == newPC) break; /* bingo! a match */
- /*
- * for a breakpoint instruction, the saved pc may
- * be off by two due to re-executing the instruction
- * replaced by the trap instruction. Check for this.
- */
- if ((frame->exceptionVector == 33) &&
- (frame->exceptionPC == (newPC+2))) break;
- if (frame == frame->previous)
- {
- frame = 0; /* no match found */
- break;
- }
- frame = frame->previous;
- }
-
- /*
- * If we found a match for the PC AND we are not returning
- * as a result of a breakpoint (33),
- * trace exception (9), nmi (31), jmp to
- * the old exception handler as if this code never ran.
- */
- if (frame)
- {
- if ((frame->exceptionVector != 9) &&
- (frame->exceptionVector != 31) &&
- (frame->exceptionVector != 33))
- {
- /*
- * invoke the previous handler.
- */
- if (oldExceptionHook)
- (*oldExceptionHook) (frame->exceptionVector);
- newPC = registers[ PC ]; /* pc may have changed */
- if (newPC != frame->exceptionPC)
- {
- if (remote_debug)
- printf("frame at 0x%x has pc=0x%x, except#=%d\n",
- frame,frame->exceptionPC,
- frame->exceptionVector);
- /* re-use the last frame, we're skipping it (longjump?)*/
- frame = (Frame *) 0;
- _returnFromException( frame ); /* this is a jump */
- }
- }
- }
-
- /* if we couldn't find a frame, create one */
- if (frame == 0)
- {
- frame = lastFrame -1 ;
-
- /* by using a bunch of print commands with breakpoints,
- it's possible for the frame stack to creep down. If it creeps
- too far, give up and reset it to the top. Normal use should
- not see this happen.
- */
- if ((unsigned int) (frame-2) < (unsigned int) &gdbFrameStack)
- {
- initializeRemcomErrorFrame();
- frame = lastFrame;
- }
- frame->previous = lastFrame;
- lastFrame = frame;
- frame = 0; /* null so _return... will properly initialize it */
- }
-
- _returnFromException( frame ); /* this is a jump */
-
- break;
-
- /* kill the program */
- case 'k' : /* do nothing */
- break;
- } /* switch */
-
- /* reply to the request */
- putpacket(remcomOutBuffer);
- }
-}
-
-
-void initializeRemcomErrorFrame()
-{
- lastFrame = ((Frame *) &gdbFrameStack[FRAMESIZE-1]) - 1;
- lastFrame->previous = lastFrame;
-}
-
-/* this function is used to set up exception handlers for tracing and
- breakpoints */
-void set_debug_traps()
-{
-extern void _debug_level7();
-extern void remcomHandler();
-int exception;
-
- initializeRemcomErrorFrame();
- stackPtr = &remcomStack[STACKSIZE/sizeof(int) - 1];
-
- setup_vectors();
-
- if (oldExceptionHook != remcomHandler)
- {
- oldExceptionHook = exceptionHook;
- exceptionHook = remcomHandler;
- }
-
- initialized = 1;
-
-}
-/* This function will generate a breakpoint exception. It is used at the
- beginning of a program to sync up with a debugger and can be used
- otherwise as a quick means to stop program execution and "break" into
- the debugger. */
-
-void breakpoint()
-{
- if (initialized) BREAKPOINT();
-}
diff --git a/libgloss/m68k/mvme.S b/libgloss/m68k/mvme.S
deleted file mode 100644
index d2ab37f..0000000
--- a/libgloss/m68k/mvme.S
+++ /dev/null
@@ -1,155 +0,0 @@
-/* mvme.S -- board support for m68k
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-
- .title "mvme.S for m68k-coff"
-
- .align 2
- .text
- .global SYM (_exit)
- .global SYM (outln)
- .global SYM (outbyte)
- .global SYM (putDebugChar)
- .global SYM (inbyte)
- .global SYM (getDebugChar)
- .global SYM (havebyte)
- .global SYM (exceptionHandler)
-
- .set vbr_size, 0x400
- .comm SYM (vbr_table), vbr_size
-
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run.
- */
-SYM (_exit):
- unlk a6
- trap IMM(15)
- .word return
-
- .align 2
-
-/*
- * inbyte -- get a byte from the serial port
- * d0 - contains the byte read in
- */
- .align 2
-SYM (getDebugChar): /* symbol name used by m68k-stub */
-SYM (inbyte):
- link a6, IMM(-8)
- trap IMM(15)
- .word inchr
- moveb sp@, d0
- extw d0
- extl d0
- unlk a6
- rts
-
-/*
- * outbyte -- sends a byte out the serial port
- * d0 - contains the byte to be sent
- */
- .align 2
-SYM (putDebugChar): /* symbol name used by m68k-stub */
-SYM (outbyte):
- link fp, IMM(-4)
- moveb fp@(11), sp@
- trap IMM(15)
- .word outchr
- unlk fp
- rts
-
-/*
- * outln -- sends a string of bytes out the serial port with a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .align 2
-SYM (outln):
- link a6, IMM(-8)
- moveml a0/a1, sp@
- trap IMM(15)
- .word outln
- unlk a6
- rts
-
-/*
- * outstr -- sends a string of bytes out the serial port without a CR/LF
- * a0 - contains the address of the string's first byte
- * a1 - contains the address of the string's last byte
- */
- .align 2
-SYM (outstr):
- link a6, IMM(-8)
- moveml a0/a1, sp@
- trap IMM(15)
- .word outstr
- unlk a6
- rts
-
-/*
- * havebyte -- checks to see if there is a byte in the serial port,
- * returns 1 if there is a byte, 0 otherwise.
- */
-SYM (havebyte):
- trap IMM(15)
- .word instat
- beqs empty
- movel IMM(1), d0
- rts
-empty:
- movel IMM(0), d0
- rts
-
-/*
- * These constants are for the MVME-135 board's boot monitor. They
- * are used with a TRAP 15 call to access the monitor's I/O routines.
- * they must be in the word following the trap call.
- */
- .set inchr, 0x0
- .set instat, 0x1
- .set inln, 0x2
- .set readstr, 0x3
- .set readln, 0x4
- .set chkbrk, 0x5
-
- .set outchr, 0x20
- .set outstr, 0x21
- .set outln, 0x22
- .set write, 0x23
- .set writeln, 0x24
- .set writdln, 0x25
- .set pcrlf, 0x26
- .set eraseln, 0x27
- .set writd, 0x28
- .set sndbrk, 0x29
-
- .set tm_ini, 0x40
- .set dt_ini, 0x42
- .set tm_disp, 0x43
- .set tm_rd, 0x44
-
- .set redir, 0x60
- .set redir_i, 0x61
- .set redir_o, 0x62
- .set return, 0x63
- .set bindec, 0x64
-
- .set changev, 0x67
- .set strcmp, 0x68
- .set mulu32, 0x69
- .set divu32, 0x6A
- .set chk_sum, 0x6B
diff --git a/libgloss/m68k/mvme135-asm.S b/libgloss/m68k/mvme135-asm.S
deleted file mode 100644
index 1722c18..0000000
--- a/libgloss/m68k/mvme135-asm.S
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
- * mvme135-asm.S -- assembler routines for the MVME stub.
- *
- * This code was pulled out of mvme135-stub.c by Ian Taylor so that I
- * could handle different register and label prefixes in a sensible
- * way.
- */
-
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-#include "asm.h"
-
- .title "mvme135-asm.S for m68k"
-
- .globl SYM (registers)
- .globl SYM (lastFrame)
- .globl SYM (superStack)
- .globl SYM (exceptionHook)
- .globl SYM (_returnFromException)
- .globl SYM (stackPtr)
- .globl SYM (handle_exception)
- .globl SYM (exceptionSize)
- .globl SYM (exceptionHandler)
-
-.text
-
-
-/*
- * Create a new exception vector table and populates it. Vectors from the
- * boot monitor are spliced in so I/O and the abort button will continue
- * to work. We also use the monitor's generalized vector for anything the
- * debugger doesn't want.
- */
- .global SYM (setup_vectors)
-SYM (setup_vectors):
- link fp, IMM (-8)
- /* copy monitor vector table */
-
- movecl vbr, a0
- lea SYM (vbr_table), a1
- movel 0x8(a0), d0 /* get generalized vector */
- movew IMM (0x3fc), d1 /* load vector count */
-
-loop: /* fill table to gen. vector */
- movel d0, (a1,d1)
- subqw IMM (4), d1
- bne loop
-
- movel 0x10(a0), 0x10(a1) /* breakpoint */
- movel 0x24(a0), 0x24(a1) /* trace */
- movel 0xbc(a0), 0xbc(a1) /* system call */
-
- /* add stub vectors to table */
- movel SYM (_catchException), 0x8(a1) /* vector = 2, Access Fault */
- movel SYM (_catchException), 0xc(a1) /* vector = 3, Address Error */
- movel SYM (_catchException), 0x10(a1) /* vector = 4, Illegal instruction */
- movel SYM (_catchException), 0x14(a1) /* vector = 5, divide by 0 */
- movel SYM (_catchException), 0x18(a1) /* vector = 6, chk, chk2 instruction */
- movel SYM (_catchException), 0x1c(a1) /* vector = 7, ftrap, trap, trapv ins */
- movel SYM (_catchException), 0x20(a1) /* vector = 8, priviledge violation */
- movel SYM (_catchException), 0x24(a1) /* vector = 9, trace */
- movel SYM (_catchException), 0x28(a1) /* vector = 10, Aline opcode */
- movel SYM (_catchException), 0x2c(a1) /* vector = 11, fline opcode */
- movel SYM (_catchException), 0x30(a1) /* vector = 12, reserved */
- movel SYM (_catchException), 0x34(a1) /* vector = 13, coprocessor protocol violation */
- movel SYM (_catchException), 0x38(a1) /* vector = 14, format error */
- movel SYM (_catchException), 0x3c(a1) /* vector = 15, unitialized interupt */
-
- /* unassigned, reserved */
- movel SYM (_catchException), 0x40(a1) /* vector = 16 */
- movel SYM (_catchException), 0x44(a1) /* vector = 17 */
- movel SYM (_catchException), 0x48(a1) /* vector = 18 */
- movel SYM (_catchException), 0x4c(a1) /* vector = 19 */
- movel SYM (_catchException), 0x50(a1) /* vector = 20 */
- movel SYM (_catchException), 0x54(a1) /* vector = 21 */
- movel SYM (_catchException), 0x58(a1) /* vector = 22 */
- movel SYM (_catchException), 0x5c(a1) /* vector = 23 */
-
- movel SYM (_catchException), 0x84(a1) /* vector = 33, breakpoint, trap #1 */
- movel SYM (_catchException), 0xa0(a1) /* vector = 40 , trap #8*/
-
- /* floating point traps */
- movel SYM (_catchException), 0xc0(a1) /* vector = 48 */
- movel SYM (_catchException), 0xc4(a1) /* vector = 49 */
- movel SYM (_catchException), 0xc8(a1) /* vector = 50 */
- movel SYM (_catchException), 0xcc(a1) /* vector = 51 */
- movel SYM (_catchException), 0xd0(a1) /* vector = 52 */
- movel SYM (_catchException), 0xd4(a1) /* vector = 53 */
- movel SYM (_catchException), 0xd8(a1) /* vector = 54 */
- movel SYM (_catchException), 0xdc(a1) /* vector = 55 */
- movel SYM (_catchException), 0xe0(a1) /* vector = 56 */
- movel SYM (_catchException), 0xe4(a1) /* vector = 57 */
- movel SYM (_catchException), 0xe8(a1) /* vector = 58 */
-
-/*** movel &__debug_level7, 0x7c(a1) /* level7 interupt vector */
-
- movecl a1, vbr /* change VBR to new table */
- unlk fp
- rts
-/*
- * exceptionHandler -- sets up exception vector table.
- * First arg is an integer vector number
- * Second arg is the function pointer for the vector
- */
-SYM (exceptionHandler):
-# link a6, IMM (-8)
-#str1: .ascii "Exception Handler Called\n"
-# moveal IMM (str1), a0
-# moveal IMM (str1+25), a1
-# jsr SYM (outln)
-
-# unlk a6
- rts
-
-/* this never gets called */
- movel fp@(8), d0 /* get vector number */
- movel fp@(12), a0 /* get function address */
- moveal &SYM (vbr_table), a1 /* FIXME */
-
- addl d0, d0
- addl d0, d0
-
- addal d0, a1
- movel a0, (a1)
-
- movecl a1, vbr
- unlk a6
- rts
-
-.globl SYM (return_to_super)
-SYM (return_to_super):
- movel SYM (registers)+60,sp /* get new stack pointer */
- movel SYM (lastFrame),a0 /* get last frame info */
- bra return_to_any
-
-.globl SYM (return_to_user)
-SYM (return_to_user):
- movel SYM (registers)+60,a0 /* get usp */
- movel a0,usp /* set usp */
- movel SYM (superStack),sp /* get original stack pointer */
-
-return_to_any:
- movel SYM (lastFrame),a0 /* get last frame info */
- movel a0@+,SYM (lastFrame) /* link in previous frame */
- addql IMM (8),a0 /* skip over pc, vector#*/
- movew a0@+,d0 /* get # of words in cpu frame */
- addw d0,a0 /* point to end of data */
- addw d0,a0 /* point to end of data */
- movel a0,a1
-/* copy the stack frame */
- subql IMM (1),d0
-copyUserLoop:
- movew a1@-,sp@-
- dbf d0,copyUserLoop
-
-#ifdef __HAVE_68881__
- fmoveml SYM (registers)+168,fpcr/fpsr/fpi
- fmovemx SYM (registers)+72,fp0-fp7
- cmpl IMM (-1),a0@ /* skip frestore flag set ? */
- beq skip_frestore
- frestore a0@+
-skip_frestore:
-#endif
-
- moveml SYM (registers),d0-d7/a0-a6
- rte /* pop and go! */
-
-
-/* this function is called immediately when a level 7 interrupt occurs */
-/* if the previous interrupt level was 7 then we're already servicing */
-/* this interrupt and an rte is in order to return to the debugger. */
-/* For the 68000, the offset for sr is 6 due to the jsr return address */
-.text
-.globl SYM (_debug_level7)
-SYM (_debug_level7):
- movew d0,sp@-
-#ifdef mc68020
- movew sp@(2),d0
-#else
- movew sp@(6),d0
-#endif
- andiw IMM (0x700),d0
- cmpiw IMM (0x700),d0
- beq _already7
- movew sp@+,d0
- bra SYM (_catchException)
-_already7:
- movew sp@+,d0
-#ifndef mc68020
- lea sp@(4),sp /* pull off 68000 return address */
-#endif
- rte
-
-#ifdef mc68020
-/* This function is called when a 68020 exception occurs. It saves
- * all the cpu and fpcp regs in the _registers array, creates a frame on a
- * linked list of frames which has the cpu and fpcp stack frames needed
- * to properly restore the context of these processors, and invokes
- * an exception handler (remcom_handler).
- *
- * stack on entry: stack on exit:
- * N bytes of junk exception # MSWord
- * Exception Format Word exception # MSWord
- * Program counter LSWord
- * Program counter MSWord
- * Status Register
- *
- *
- */
-
-.text
-.globl SYM (_catchException)
-SYM (_catchException):
-
- oriw IMM (0x0700),sr /* Disable interrupts */
-
- moveml d0-d7/a0-a6,SYM (registers) /* save registers */
- movel SYM (lastFrame),a0 /* last frame pointer */
-
-#ifdef __HAVE_68881__
- /* do an fsave, then remember the address to begin a restore from */
- fsave a0@-
- fmovemx fp0-fp7, SYM (registers)+72
- fmoveml fpcr/fpsr/fpi, SYM (registers)+168
-#endif
-
- lea SYM (registers),a5 /* get address of registers */
- movew sp@,d1 /* get status register */
- movew d1,a5@(66) /* save sr */
- movel sp@(2),a4 /* save pc in a4 for later use */
- movel a4,a5@(68) /* save pc in _regisers[] */
-
-/* figure out how many bytes in the stack frame */
- movew sp@(6),d0 /* get '020 exception format */
- movew d0,d2 /* make a copy of format word */
- andiw IMM (0xf000),d0 /* mask off format type */
- rolw IMM (5),d0 /* rotate into the low byte *2 */
- lea SYM (exceptionSize),a1
- addw d0,a1 /* index into the table */
- movew a1@,d0 /* get number of words in frame */
- movew d0,d3 /* save it */
- subw d0,a0 /* adjust save pointer */
- subw d0,a0 /* adjust save pointer(bytes) */
- movel a0,a1 /* copy save pointer */
- subql IMM (1),d0 /* predecrement loop counter */
-
-/* copy the frame */
-
-saveFrameLoop:
- movew sp@+,a1@+
- dbf d0,saveFrameLoop
-
-/* now that the stack has been clenaed,
- * save the a7 in use at time of exception
- */
- movel sp,SYM (superStack) /* save supervisor sp */
- andiw IMM (0x2000),d1 /* were we in supervisor mode ? */
- beq userMode
- movel a7,a5@(60) /* save a7 */
- bra a7saveDone
-userMode:
- movel usp,a1
- movel a1,a5@(60) /* save user stack pointer */
-a7saveDone:
-
-
-/* save size of frame */
- movew d3,a0@-
-
-/* compute exception number */
- andl IMM (0xfff),d2 /* mask off vector offset */
- lsrw IMM (2),d2 /* divide by 4 to get vect num */
- movel d2,a0@- /* save it */
-
-/* save pc causing exception */
- movel a4,a0@-
-
-/* save old frame link and set the new value*/
- movel SYM (lastFrame),a1 /* last frame pointer */
- movel a1,a0@- /* save pointer to prev frame */
- movel a0,SYM (lastFrame)
-
- movel d2,sp@- /* push exception num */
-#ifdef TMP_HACK
- movel SYM (exceptionHook),a0 /* get address of handler */
- jbsr a0@ /* and call it */
-#else
- jbsr SYM (remcomHandler)
-#endif
- clrl sp@ /* replace exception num parm with frame ptr */
- jbsr SYM (_returnFromException) /* jbsr, but never returns */
-
-#else /* mc68000 */
-
-/* This function is called when an exception occurs. It translates the
- * return address found on the stack into an exception vector # which
- * is then handled by either handle_exception or a system handler.
- * _catchException provides a front end for both.
- *
- * stack on entry: stack on exit:
- * Program counter MSWord exception # MSWord
- * Program counter LSWord exception # MSWord
- * Status Register
- * Return Address MSWord
- * Return Address LSWord
- */
-.text
-.globl SYM (_catchException)
-SYM (_catchException):
-
- oriw IMM (0x0700),sr /* Disable interrupts */
-
- moveml d0-d7/a0-a6,SYM (registers) /* save registers */
- movel SYM (lastFrame),a0 /* last frame pointer */
-
-#ifdef __HAVE_68881__
- /* do an fsave, then remember the address to begin a restore from */
- fsave a0@-
- fmovemx fp0-fp7, SYM (registers)+72
- fmoveml fpcr/fpsr/fpi, SYM (registers)+168
-#endif
-
- lea SYM (registers),a5 /* get address of registers */
- movel sp@+,d2 /* pop return address */
- addl IMM (1530),d2 /* convert return addr to */
- divs IMM (6),d2 /* exception number */
- extl d2
-
- moveql IMM (3),d3 /* assume a three word frame */
-
- cmpiw IMM (3),d2 /* bus error or address error ? */
- bgt normal /* if >3 then normal error */
- movel sp@+,a0@- /* copy error info to frame buff*/
- movel sp@+,a0@- /* these are never used */
- moveql IMM (7),d3 /* this is a 7 word frame */
-
-normal:
- movew sp@+,d1 /* pop status register */
- movel sp@+,a4 /* pop program counter */
- movew d1,a5@(66) /* save sr */
- movel a4,a5@(68) /* save pc in _regisers[] */
- movel a4,a0@- /* copy pc to frame buffer */
- movew d1,a0@- /* copy sr to frame buffer */
-
- movel sp,SYM (superStack) /* save supervisor sp */
-
- andiw IMM (0x2000),d1 /* were we in supervisor mode ? */
- beq userMode
- movel a7,a5@(60) /* save a7 */
- bra saveDone
-userMode:
- movel usp,a1 /* save user stack pointer */
- movel a1,a5@(60) /* save user stack pointer */
-saveDone:
-
- movew d3,a0@- /* push frame size in words */
- movel d2,a0@- /* push vector number */
- movel a4,a0@- /* push exception pc */
-
-/* save old frame link and set the new value */
- movel SYM (lastFrame),a1 /* last frame pointer */
- movel a1,a0@- /* save pointer to prev frame */
- movel a0,SYM (lastFrame)
-
- movel d2,sp@- /* push exception num */
- movel SYM (exceptionHook),a0 /* get address of handler */
- jbsr a0@ /* and call it */
- clrl sp@ /* replace exception num parm with frame ptr */
- jbsr SYM (_returnFromException) /* jbsr, but never returns */
-
-#endif /* m68000 */
-
-/*
- * remcomHandler is a front end for handle_exception. It moves the
- * stack pointer into an area reserved for debugger use in case the
- * breakpoint happened in supervisor mode.
- */
-.globl SYM (remcomHandler)
-SYM (remcomHandler):
- addl IMM (4),sp /* pop off return address */
- movel sp@+,d0 /* get the exception number */
- movel SYM (stackPtr),sp /* move to remcom stack area */
- movel d0,sp@- /* push exception onto stack */
- jbsr SYM (handle_exception) /* this never returns */
- rts /* return */
diff --git a/libgloss/m68k/mvme135.ld b/libgloss/m68k/mvme135.ld
deleted file mode 100644
index fd52e4e..0000000
--- a/libgloss/m68k/mvme135.ld
+++ /dev/null
@@ -1,129 +0,0 @@
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-SEARCH_DIR(.)
-GROUP(-lmvme135 -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the Motorola MVME135 Board
- * stack grows down from high memory.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x5000, LENGTH = 1M
-}
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 1M - 8);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- *(.text .text.*)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- ___CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- ___DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata .rodata.*)
- *(.gcc_except_table)
-
- . = ALIGN(0x2);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/mvme162.ld b/libgloss/m68k/mvme162.ld
deleted file mode 100644
index 18d5f62..0000000
--- a/libgloss/m68k/mvme162.ld
+++ /dev/null
@@ -1,130 +0,0 @@
-STARTUP(crt0.o)
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-SEARCH_DIR(.)
-GROUP(-lmvme162 -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the Motorola MVME135 Board
- * stack grows down from high memory.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-
-MEMORY
-{
- monitor : ORIGIN = 0x0000, LENGTH = 64K
- ram (rwx) : ORIGIN = 0x10000, LENGTH = 16M
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 16M - 8);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- *(.text .text.*)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- ___CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- ___DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata .rodata.*)
- *(.gcc_except_table)
-
- . = ALIGN(0x2);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/mvme162lx-asm.S b/libgloss/m68k/mvme162lx-asm.S
deleted file mode 100644
index 8b83621..0000000
--- a/libgloss/m68k/mvme162lx-asm.S
+++ /dev/null
@@ -1,292 +0,0 @@
-/*
- * mvme162lx-asm.S -- assembler routines for the MVME stub.
- *
- * This code was pulled out of mvme162lx-stub.c by Ian Taylor so that I
- * could handle different register and label prefixes in a sensible
- * way.
- */
-
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-#include "asm.h"
-
- .title "mvme162lx-asm.S for m68k"
-
- .globl SYM (registers)
- .globl SYM (lastFrame)
- .globl SYM (superStack)
- .globl SYM (exceptionHook)
- .globl SYM (_returnFromException)
- .globl SYM (stackPtr)
- .globl SYM (handle_exception)
- .globl SYM (exceptionSize)
-
-.text
-.globl SYM (return_to_super)
-SYM (return_to_super):
- movel SYM (registers)+60,sp /* get new stack pointer */
- movel SYM (lastFrame),a0 /* get last frame info */
- bra return_to_any
-
-.globl SYM (return_to_user)
-SYM (return_to_user):
- movel SYM (registers)+60,a0 /* get usp */
- movel a0,usp /* set usp */
- movel SYM (superStack),sp /* get original stack pointer */
-
-return_to_any:
- movel SYM (lastFrame),a0 /* get last frame info */
- movel a0@+,SYM (lastFrame) /* link in previous frame */
- addql IMM (8),a0 /* skip over pc, vector#*/
- movew a0@+,d0 /* get # of words in cpu frame */
- addw d0,a0 /* point to end of data */
- addw d0,a0 /* point to end of data */
- movel a0,a1
-/* copy the stack frame */
- subql IMM (1),d0
-copyUserLoop:
- movew a1@-,sp@-
- dbf d0,copyUserLoop
-
-#ifdef __HAVE_68881__
- fmoveml SYM (registers)+168,fpcr/fpsr/fpi
- fmovemx SYM (registers)+72,fp0-fp7
- cmpl IMM (-1),a0@ /* skip frestore flag set ? */
- beq skip_frestore
- frestore a0@+
-skip_frestore:
-#endif
-
- moveml SYM (registers),d0-d7/a0-a6
- rte /* pop and go! */
-
-
-/* this function is called immediately when a level 7 interrupt occurs */
-/* if the previous interrupt level was 7 then we're already servicing */
-/* this interrupt and an rte is in order to return to the debugger. */
-/* For the 68000, the offset for sr is 6 due to the jsr return address */
-.text
-.globl SYM (_debug_level7)
-SYM (_debug_level7):
- movew d0,sp@-
-#ifdef mc68020
- movew sp@(2),d0
-#else
- movew sp@(6),d0
-#endif
- andiw IMM (0x700),d0
- cmpiw IMM (0x700),d0
- beq _already7
- movew sp@+,d0
- bra SYM (_catchException)
-_already7:
- movew sp@+,d0
-#ifndef mc68020
- lea sp@(4),sp /* pull off 68000 return address */
-#endif
- rte
-
-#ifdef mc68020
-/* This function is called when a 68020 exception occurs. It saves
- * all the cpu and fpcp regs in the _registers array, creates a frame on a
- * linked list of frames which has the cpu and fpcp stack frames needed
- * to properly restore the context of these processors, and invokes
- * an exception handler (remcom_handler).
- *
- * stack on entry: stack on exit:
- * N bytes of junk exception # MSWord
- * Exception Format Word exception # MSWord
- * Program counter LSWord
- * Program counter MSWord
- * Status Register
- *
- *
- */
-
-.text
-.globl SYM (_catchException)
-SYM (_catchException):
-
- oriw IMM (0x0700),sr /* Disable interrupts */
-
- moveml d0-d7/a0-a6,SYM (registers) /* save registers */
- movel SYM (lastFrame),a0 /* last frame pointer */
-
-#ifdef __HAVE_68881__
- /* do an fsave, then remember the address to begin a restore from */
- fsave a0@-
- fmovemx fp0-fp7, SYM (registers)+72
- fmoveml fpcr/fpsr/fpi, SYM (registers)+168
-#endif
-
- lea SYM (registers),a5 /* get address of registers */
- movew sp@,d1 /* get status register */
- movew d1,a5@(66) /* save sr */
- movel sp@(2),a4 /* save pc in a4 for later use */
- movel a4,a5@(68) /* save pc in _regisers[] */
-
-/* figure out how many bytes in the stack frame */
- movew sp@(6),d0 /* get '020 exception format */
- movew d0,d2 /* make a copy of format word */
- andiw IMM (0xf000),d0 /* mask off format type */
- rolw IMM (5),d0 /* rotate into the low byte *2 */
- lea SYM (exceptionSize),a1
- addw d0,a1 /* index into the table */
- movew a1@,d0 /* get number of words in frame */
- movew d0,d3 /* save it */
- subw d0,a0 /* adjust save pointer */
- subw d0,a0 /* adjust save pointer(bytes) */
- movel a0,a1 /* copy save pointer */
- subql IMM (1),d0 /* predecrement loop counter */
-
-/* copy the frame */
-
-saveFrameLoop:
- movew sp@+,a1@+
- dbf d0,saveFrameLoop
-
-/* now that the stack has been clenaed,
- * save the a7 in use at time of exception
- */
- movel sp,SYM (superStack) /* save supervisor sp */
- andiw IMM (0x2000),d1 /* were we in supervisor mode ? */
- beq userMode
- movel a7,a5@(60) /* save a7 */
- bra a7saveDone
-userMode:
- movel usp,a1
- movel a1,a5@(60) /* save user stack pointer */
-a7saveDone:
-
-
-/* save size of frame */
- movew d3,a0@-
-
-/* compute exception number */
- andl IMM (0xfff),d2 /* mask off vector offset */
- lsrw IMM (2),d2 /* divide by 4 to get vect num */
- movel d2,a0@- /* save it */
-
-/* save pc causing exception */
- movel a4,a0@-
-
-/* save old frame link and set the new value*/
- movel SYM (lastFrame),a1 /* last frame pointer */
- movel a1,a0@- /* save pointer to prev frame */
- movel a0,SYM (lastFrame)
-
- movel d2,sp@- /* push exception num */
-#ifdef TMP_HACK
- movel SYM (exceptionHook),a0 /* get address of handler */
- jbsr a0@ /* and call it */
-#else
- jbsr SYM (remcomHandler)
-#endif
- clrl sp@ /* replace exception num parm with frame ptr */
- jbsr SYM (_returnFromException) /* jbsr, but never returns */
-
-#else /* mc68000 */
-
-/* This function is called when an exception occurs. It translates the
- * return address found on the stack into an exception vector # which
- * is then handled by either handle_exception or a system handler.
- * _catchException provides a front end for both.
- *
- * stack on entry: stack on exit:
- * Program counter MSWord exception # MSWord
- * Program counter LSWord exception # MSWord
- * Status Register
- * Return Address MSWord
- * Return Address LSWord
- */
-.text
-.globl SYM (_catchException)
-SYM (_catchException):
-
- oriw IMM (0x0700),sr /* Disable interrupts */
-
- moveml d0-d7/a0-a6,SYM (registers) /* save registers */
- movel SYM (lastFrame),a0 /* last frame pointer */
-
-#ifdef __HAVE_68881__
- /* do an fsave, then remember the address to begin a restore from */
- fsave a0@-
- fmovemx fp0-fp7, SYM (registers)+72
- fmoveml fpcr/fpsr/fpi, SYM (registers)+168
-#endif
-
- lea SYM (registers),a5 /* get address of registers */
- movel sp@+,d2 /* pop return address */
- addl IMM (1530),d2 /* convert return addr to */
- divs IMM (6),d2 /* exception number */
- extl d2
-
- moveql IMM (3),d3 /* assume a three word frame */
-
- cmpiw IMM (3),d2 /* bus error or address error ? */
- bgt normal /* if >3 then normal error */
- movel sp@+,a0@- /* copy error info to frame buff*/
- movel sp@+,a0@- /* these are never used */
- moveql IMM (7),d3 /* this is a 7 word frame */
-
-normal:
- movew sp@+,d1 /* pop status register */
- movel sp@+,a4 /* pop program counter */
- movew d1,a5@(66) /* save sr */
- movel a4,a5@(68) /* save pc in _regisers[] */
- movel a4,a0@- /* copy pc to frame buffer */
- movew d1,a0@- /* copy sr to frame buffer */
-
- movel sp,SYM (superStack) /* save supervisor sp */
-
- andiw IMM (0x2000),d1 /* were we in supervisor mode ? */
- beq userMode
- movel a7,a5@(60) /* save a7 */
- bra saveDone
-userMode:
- movel usp,a1 /* save user stack pointer */
- movel a1,a5@(60) /* save user stack pointer */
-saveDone:
-
- movew d3,a0@- /* push frame size in words */
- movel d2,a0@- /* push vector number */
- movel a4,a0@- /* push exception pc */
-
-/* save old frame link and set the new value */
- movel SYM (lastFrame),a1 /* last frame pointer */
- movel a1,a0@- /* save pointer to prev frame */
- movel a0,SYM (lastFrame)
-
- movel d2,sp@- /* push exception num */
- movel SYM (exceptionHook),a0 /* get address of handler */
- jbsr a0@ /* and call it */
- clrl sp@ /* replace exception num parm with frame ptr */
- jbsr SYM (_returnFromException) /* jbsr, but never returns */
-
-#endif /* m68000 */
-
-/*
- * remcomHandler is a front end for handle_exception. It moves the
- * stack pointer into an area reserved for debugger use in case the
- * breakpoint happened in supervisor mode.
- */
-.globl SYM (remcomHandler)
-SYM (remcomHandler):
- addl IMM (4),sp /* pop off return address */
- movel sp@+,d0 /* get the exception number */
- movel SYM (stackPtr),sp /* move to remcom stack area */
- movel d0,sp@- /* push exception onto stack */
- jbsr SYM (handle_exception) /* this never returns */
- rts /* return */
diff --git a/libgloss/m68k/sbc5204.ld b/libgloss/m68k/sbc5204.ld
deleted file mode 100644
index da10fe8..0000000
--- a/libgloss/m68k/sbc5204.ld
+++ /dev/null
@@ -1,128 +0,0 @@
-/* STARTUP(crt0.o) */
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-SEARCH_DIR(.)
-GROUP(-ldbug -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the Arnewsh SBC5204
- * stack grows down from high memory.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x10000, LENGTH = 0x30000
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 0x30000);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- *(.text .text.*)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- ___CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- ___DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata .rodata.*)
- *(.gcc_except_table)
-
- . = ALIGN(0x2);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/sbc5206.ld b/libgloss/m68k/sbc5206.ld
deleted file mode 100644
index e0707d8..0000000
--- a/libgloss/m68k/sbc5206.ld
+++ /dev/null
@@ -1,128 +0,0 @@
-/* STARTUP(crt0.o) */
-OUTPUT_ARCH(m68k)
-/* Uncomment this if you want srecords. This is needed for a.out
- * if you plan to use GDB.
-OUTPUT_FORMAT(srec)
- */
-SEARCH_DIR(.)
-GROUP(-ldbug -lc -lgcc)
-__DYNAMIC = 0;
-
-/*
- * Setup the memory map of the Arnewsh SBC5206
- * stack grows down from high memory.
- *
- * The memory map look like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * +--------------------+
- * | .data | initialized data goes here
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * . .
- * . .
- * . .
- * | __stack | top of stack
- * +--------------------+
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x10000, LENGTH = 0xd000
-}
-
-/*
- * allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-
-PROVIDE (__stack = 0xd000);
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- .text :
- {
- *(.text .text.*)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- ___CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- ___DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata .rodata.*)
- *(.gcc_except_table)
-
- . = ALIGN(0x2);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/sim-abort.c b/libgloss/m68k/sim-abort.c
deleted file mode 100644
index 4960de8..0000000
--- a/libgloss/m68k/sim-abort.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * sim-abort.c -- m68k abort support when running under the simulator.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-void abort(void)
-{
- write (2, "Abort called.\n", sizeof("Abort called.\n")-1);
- exit (1);
-}
diff --git a/libgloss/m68k/sim-crt0.S b/libgloss/m68k/sim-crt0.S
deleted file mode 100644
index 49f7777..0000000
--- a/libgloss/m68k/sim-crt0.S
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * crt0.S -- startup file for m68k-coff
- *
- * Copyright (c) 1995, 1996, 1998, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-
- .title "crt0.S for m68k-coff"
-#define STACKSIZE 0x4000
-
-/*
- * Define an empty environment.
- */
- .data
- .align 2
-SYM (environ):
- .long 0
-
- .align 2
- .text
-
-/*
- * These symbols are defined in C code, so they need to always be
- * named with SYM because of the difference between object file formats.
- */
-
-/* These are defined in C code. */
- .extern SYM (main)
- .extern SYM (exit)
- .extern SYM (atexit)
- .extern SYM(__do_global_dtors)
-
-/*
- * These values are set in the linker script, so they must be
- * explicitly named here without SYM.
- */
- .extern __stack
- .extern __bss_start
- .extern _end
-
-/*
- * set things up so the application will run. This *must* be called start.
- */
- .global SYM (start)
-
-SYM (start):
- /* See if user supplied their own stack (__stack != 0). If not, then
- * default to using the value of %sp as set by the ROM monitor.
- */
- movel IMM(__stack), a0
- cmpl IMM(0), a0
- jbeq 1f
- movel a0, sp
-1:
- /* set up initial stack frame */
- link a6, IMM(-8)
-
-/*
- * zero out the bss section.
- */
- movel IMM(__bss_start), d1
- movel IMM(_end), d0
- cmpl d0, d1
- jbeq 3f
- movl d1, a0
- subl d1, d0
- subql IMM(1), d0
-2:
- clrb (a0)+
-#if !defined(__mcoldfire__) && !defined(__mcf5200__)
- dbra d0, 2b
- clrw d0
- subql IMM(1), d0
- jbcc 2b
-#else
- subql IMM(1), d0
- jbpl 2b
-#endif
-
-3:
-
-/*
- * call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * we pass argv as a pointer to NULL.
- */
-
-#ifdef ADD_DTORS
- /* put __do_global_dtors in the atexit list so the destructors get run */
- movel IMM (SYM(__do_global_dtors)),(sp)
- PICCALL SYM (atexit)
-#endif
- movel IMM (__FINI_SECTION__),(sp)
- PICCALL SYM (atexit)
-
- PICCALL __INIT_SECTION__
-
- pea 0
- PICPEA SYM (environ),a0
- pea sp@(4)
- pea 0
- PICCALL SYM (main)
- movel d0, sp@-
-
-/*
- * drop down into exit incase the user doesn't. This should drop
- * control back to the ROM monitor, if there is one. This calls the
- * exit() from the C library so the C++ tables get cleaned up right.
- */
- PICCALL SYM (exit)
diff --git a/libgloss/m68k/sim-errno.c b/libgloss/m68k/sim-errno.c
deleted file mode 100644
index de5f914..0000000
--- a/libgloss/m68k/sim-errno.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * sim-errno.c -- return address of errno for current thread.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-
-/* syscall handler branches here in case of error. */
-
-extern int *__errno();
-
-int
-_cerror (e)
- int e;
-{
- *__errno() = e;
- return -1;
-}
diff --git a/libgloss/m68k/sim-funcs.c b/libgloss/m68k/sim-funcs.c
deleted file mode 100644
index 712c566..0000000
--- a/libgloss/m68k/sim-funcs.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* sim-funcs.c - random needed simulator functions
- *
- * Copyright (c) 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#define _XOPEN_SOURCE
-#include <unistd.h>
-
-int
-kill(int pid, int sig)
-{
- exit(0xdead);
-}
-
-pid_t
-getpid()
-{
- return 42;
-}
-
diff --git a/libgloss/m68k/sim-inbyte.c b/libgloss/m68k/sim-inbyte.c
deleted file mode 100644
index 3fa3f24..0000000
--- a/libgloss/m68k/sim-inbyte.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * sim-inbyte.c -- read a character from standard input.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int
-inbyte ()
-{
- char c;
-
- if (read (0, &c, 1) <= 0)
- return -1;
-
- return c;
-}
diff --git a/libgloss/m68k/sim-print.c b/libgloss/m68k/sim-print.c
deleted file mode 100644
index 18ca022..0000000
--- a/libgloss/m68k/sim-print.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* sim-print.c -- print a string on the output device.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * print -- do a raw print of a string
- */
-void
-print (ptr)
- char *ptr;
-{
- int len = 0;
- char *p = ptr;
-
- while (*p != '\0')
- p++;
-
- write (1, ptr, p-ptr);
-}
-
-/*
- * outbyte -- write a single character.
- */
-
-void
-outbyte (c_int)
- int c_int;
-{
- char c = c_int;
-
- write (1, &c, 1);
-}
diff --git a/libgloss/m68k/sim-sbrk.c b/libgloss/m68k/sim-sbrk.c
deleted file mode 100644
index 83e5287..0000000
--- a/libgloss/m68k/sim-sbrk.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * sim-sbrk.c -- m68k sbrk support when running under the simulator.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-extern char _end[];
-static char *curbrk = _end;
-
-char *
-sbrk (incr)
- int incr;
-{
- char *oldbrk = curbrk;
- curbrk += incr;
- if (brk (curbrk) == -1)
- return (char *) -1;
-
- return oldbrk;
-}
diff --git a/libgloss/m68k/sim.ld b/libgloss/m68k/sim.ld
deleted file mode 100644
index 57a41d0..0000000
--- a/libgloss/m68k/sim.ld
+++ /dev/null
@@ -1,88 +0,0 @@
-STARTUP(sim-crt0.o)
-OUTPUT_ARCH(m68k)
-
-SEARCH_DIR(.)
-GROUP(-lsim -lc -lgcc -lsim)
-__DYNAMIC = 0;
-
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x80000000, LENGTH = 1M
-}
-
-PROVIDE (__stack = 0);
-
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text .text.*)
-
- . = ALIGN(0x4);
- /* These are for running static constructors and destructors under ELF. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- *(.rodata .rodata.*)
-
- . = ALIGN(0x4);
- *(.gcc_except_table)
-
- . = ALIGN(0x4);
- *(.eh_frame)
-
- . = ALIGN(0x4);
- __INIT_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.init)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- . = ALIGN(0x4);
- __FINI_SECTION__ = . ;
- LONG (0x4e560000) /* linkw %fp,#0 */
- *(.fini)
- SHORT (0x4e5e) /* unlk %fp */
- SHORT (0x4e75) /* rts */
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data :
- {
- *(.got.plt) *(.got)
- *(.shdata)
- *(.data .data.*)
- _edata = .;
- } > ram
-
- .bss :
- {
- . = ALIGN(0x4);
- __bss_start = . ;
- *(.shbss)
- *(.bss .bss.*)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- .stab 0 (NOLOAD) :
- {
- *(.stab)
- }
-
- .stabstr 0 (NOLOAD) :
- {
- *(.stabstr)
- }
-}
diff --git a/libgloss/m68k/simulator.S b/libgloss/m68k/simulator.S
deleted file mode 100644
index 2161421..0000000
--- a/libgloss/m68k/simulator.S
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * simulator.S -- m68k simulator system calls.
- *
- * Copyright (c) 1995, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-
-#define SYSCALL(x) .word 0x4afc, x
-
-#define FUNC_START(x) .globl x; x:
-#define FUNC_END(x)
-#define FUNC_NAME(x) SYM(x)
-
-FUNC_START(_exit)
- SYSCALL(1)
-
-/*
- * Insure that the debugger tells the client that the PC is in _exit,
- * not whatever function happens to follow this function.
- */
-
-0: nop
- jmp 0b /* we never should return, but... */
-
-FUNC_END(_exit)
-
-FUNC_START(read)
- SYSCALL(3)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(read)
-
-FUNC_START(write)
- SYSCALL(4)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(write)
-
-FUNC_START(open)
- SYSCALL(5)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(open)
-
-FUNC_START(close)
- SYSCALL(6)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(close)
-
-FUNC_START(brk)
- SYSCALL(17)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(brk)
-
-FUNC_START(lseek)
- SYSCALL(199)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(lseek)
-
-FUNC_START(fstat)
- SYSCALL(28)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(lseek)
-
-FUNC_START(isatty)
- SYSCALL(29)
- bcs FUNC_NAME(_cerror)
- rts
-FUNC_END(isatty)
diff --git a/libgloss/m68k/test.c b/libgloss/m68k/test.c
deleted file mode 100644
index d84045d..0000000
--- a/libgloss/m68k/test.c
+++ /dev/null
@@ -1,26 +0,0 @@
-extern int led_putnum();
-extern char print(),putnum();
-
-#include <stdio.h>
-
-main()
-{
- char buf[20];
-
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
- print ("FooBar\r\n");
-
-#if 0
- write (2, "Enter 5 characters... ", 24);
- read (0, buf, 5);
- print (buf);
- print ("\r\n");
-#endif
-
- /* whew, we made it */
- print ("\r\nDone...\r\n");
- fflush(stdout);
-}
diff --git a/libgloss/mcore/Makefile.in b/libgloss/mcore/Makefile.in
deleted file mode 100644
index ecfd2b6..0000000
--- a/libgloss/mcore/Makefile.in
+++ /dev/null
@@ -1,143 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = fstat.o getpid.o isatty.o kill.o raise.o putnum.o stat.o unlink.o
-CFLAGS = -g
-SCRIPTS =
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = crt0.o
-SIM_OBJS = syscalls.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all of the picobug on cmb stuff
-MON_PREFIX = @bsp_prefix@
-MON_LDFLAGS =
-MON_BSP = libcmb.a
-MON_CRT0 = crt0.o
-MON_OBJS = open.o close.o lseek.o sbrk.o read.o write.o print.o cmb-exit.o cmb-inbyte.o cmb-outbyte.o
-MON_SCRIPTS = cmb.ld cmb.specs
-MON_TEST =
-MON_INSTALL = install-mon
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${SIM_CRT0} ${SIM_BSP} ${MON_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-${MON_BSP}: ${OBJS} ${MON_OBJS}
- ${AR} ${ARFLAGS} ${MON_BSP} ${MON_OBJS} ${OBJS}
- ${RANLIB} ${MON_BSP}
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${MON_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} $(INCLUDES) $(CFLAGS) -c $<
-
-simulator.o: simulator.S
-sim-crt0.o: sim-crt0.S
-cmb-exit.o: cmb-exit.c
-cmb-inbyte.o: cmb-inbyte.c
-cmb-outbyte.o: cmb-outbyte.c
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(MON_BSP)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL} ${MON_INSTALL}
-
-install-mon:
- set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${MON_PREFIX}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-sim:
- set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mcore/aclocal.m4 b/libgloss/mcore/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/mcore/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mcore/close.c b/libgloss/mcore/close.c
deleted file mode 100644
index b94cb60..0000000
--- a/libgloss/mcore/close.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* close.c -- close a file descriptor.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * close -- We don't need to do anything, but pretend we did.
- */
-int
-_DEFUN (_close ,(fd),
- int fd)
-{
- return (0);
-}
diff --git a/libgloss/mcore/cmb-exit.c b/libgloss/mcore/cmb-exit.c
deleted file mode 100644
index 0e1de85..0000000
--- a/libgloss/mcore/cmb-exit.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* cmb-exit.c -- exit trap binding.
- *
- * Copyright (c) 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-/*
- * _exit -- Just cause a breakpoint so user can see why we exited.
- */
-void
-_DEFUN (_exit, (val),
- int val)
-{
- while (1) {
- asm("bkpt");
- }
-}
diff --git a/libgloss/mcore/cmb-inbyte.c b/libgloss/mcore/cmb-inbyte.c
deleted file mode 100644
index 0b0b8f5..0000000
--- a/libgloss/mcore/cmb-inbyte.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* cmb-inbyte.c -- inbyte function for CMB1200 eval board.
- *
- * Copyright (c) 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-int
-_DEFUN (inbyte, (),
- _NOARGS)
-
-{
- return -1;
-}
-
diff --git a/libgloss/mcore/cmb-outbyte.c b/libgloss/mcore/cmb-outbyte.c
deleted file mode 100644
index ea2aaef..0000000
--- a/libgloss/mcore/cmb-outbyte.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* cmb-outbyte.c -- outbyte function for CMB1200 eval board.
- *
- * Copyright (c) 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-
-#define _TX 0x40
-#define _SR 0x86
-
-#define UART0_BASE 0x10009000
-#define UART1_BASE 0x1000a000
-
-#define UART_BASE UART0_BASE
-
-#define TXREG ((volatile unsigned short *)(UART_BASE + _TX))
-#define SRREG ((volatile unsigned short *)(UART_BASE + _SR))
-
-#define TRDY 0x2000
-
-#define GDB_QUOTE_CHAR 15 /* ^O */
-
-/*
- * outbyte -- send a byte to the UART.
- */
-void
-_DEFUN (outbyte, (ch),
- char ch)
-{
- while (!(*SRREG & TRDY))
- ;
- *TXREG = GDB_QUOTE_CHAR;
-
- while (!(*SRREG & TRDY))
- ;
- *TXREG = (unsigned short)ch;
-}
diff --git a/libgloss/mcore/configure b/libgloss/mcore/configure
deleted file mode 100755
index 48c7b2b..0000000
--- a/libgloss/mcore/configure
+++ /dev/null
@@ -1,3744 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-bsp_prefix
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case "${target}" in
- mcore-*-elf)
- bsp_prefix=elf-
- ;;
- mcore-*-pe)
- bsp_prefix=pe-
- ;;
-esac
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-bsp_prefix!$bsp_prefix$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/mcore/configure.in b/libgloss/mcore/configure.in
deleted file mode 100644
index 767af17..0000000
--- a/libgloss/mcore/configure.in
+++ /dev/null
@@ -1,65 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case "${target}" in
- mcore-*-elf)
- bsp_prefix=elf-
- ;;
- mcore-*-pe)
- bsp_prefix=pe-
- ;;
-esac
-
-AC_SUBST(bsp_prefix)
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/mcore/crt0.S b/libgloss/mcore/crt0.S
deleted file mode 100644
index cea4370..0000000
--- a/libgloss/mcore/crt0.S
+++ /dev/null
@@ -1,49 +0,0 @@
-// MCore StartUp Code.
-
- .import main
- .import exit
-
- .text
- .export _start
-_start:
- .export _mainCRTStartup
-_mainCRTStartup:
- // Initialise the stack pointer
- lrw r1, _stack
- mov r0, r1
-
- // Zero the .bss data space
- lrw r1, __bss_start__
- lrw r2, __bss_end__
- movi r3, 0
-.L0:
- st r3, (r1, 0)
- addi r1, 4
- cmphs r1, r2
- bf .L0
-#ifdef __ELF__
- // Call the global/static constructors
- jbsr _init
-
- // Setup destructors to be called from exit,
- // just in case main never returns...
- lrw r2, _fini
- jbsr atexit
-#endif
-
- // Initialise the parameters to main()
- movi r2, 0 // argc
- movi r3, 0 // argv
- movi r4, 0 // envp
-
- // Call main
- jbsr main
-
- // Call exit
- movi r2, 0
- jbsr exit
-
- // We should never reach here.
- bkpt
-
-
diff --git a/libgloss/mcore/elf-cmb.ld b/libgloss/mcore/elf-cmb.ld
deleted file mode 100644
index 611e6b9..0000000
--- a/libgloss/mcore/elf-cmb.ld
+++ /dev/null
@@ -1,191 +0,0 @@
-OUTPUT_FORMAT("elf32-mcore-big", "elf32-mcore-big",
- "elf32-mcore-little")
-OUTPUT_ARCH(mcore)
-GROUP(-lc -lcmb -lgcc)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x2f000000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { KEEP (*(.init)) } =0x0e0e
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0x0e0e
- _etext = .;
- PROVIDE (etext = .);
- .fini : { KEEP (*(.fini)) } =0x0e0e
- .rodata :
- {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r*)
- }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(0x1000) + (. & (0x1000 - 1));
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame : { *(.eh_frame) }
- .gcc_except_table : { *(.gcc_except_table) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) *(.sdata.*) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- __bss_start__ = . ;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- . = ALIGN(32 / 8);
- _end = . ;
- __bss_end__ = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .stack 0x2f0ffffc : { _stack = .; *(.stack) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mcore/elf-cmb.specs b/libgloss/mcore/elf-cmb.specs
deleted file mode 100644
index afb9894..0000000
--- a/libgloss/mcore/elf-cmb.specs
+++ /dev/null
@@ -1,3 +0,0 @@
-*endfile:
--Tcmb.ld crtend.o%s crtn.o%s
-
diff --git a/libgloss/mcore/fstat.c b/libgloss/mcore/fstat.c
deleted file mode 100644
index 0205464..0000000
--- a/libgloss/mcore/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include "glue.h"
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/mcore/getpid.c b/libgloss/mcore/getpid.c
deleted file mode 100644
index eee2ac0..0000000
--- a/libgloss/mcore/getpid.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (_getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/mcore/kill.c b/libgloss/mcore/kill.c
deleted file mode 100644
index 43a3597..0000000
--- a/libgloss/mcore/kill.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/mcore/lseek.c b/libgloss/mcore/lseek.c
deleted file mode 100644
index 0f236fe..0000000
--- a/libgloss/mcore/lseek.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* lseek.c -- move read/write pointer.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/types.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * lseek -- Since a serial port is non-seekable, we return an error.
- */
-off_t
-_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
- int whence)
-{
- errno = ESPIPE;
- return ((off_t)-1);
-}
-
diff --git a/libgloss/mcore/open.c b/libgloss/mcore/open.c
deleted file mode 100644
index a9e9959..0000000
--- a/libgloss/mcore/open.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* open.c -- open a file.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * open -- open a file descriptor. We don't have a filesystem, so
- * we return an error.
- */
-int
-_DEFUN (_open, (buf, flags, mode),
- const char *buf _AND
- int flags _AND
- int mode)
-{
- errno = EIO;
- return (-1);
-}
diff --git a/libgloss/mcore/pe-cmb.ld b/libgloss/mcore/pe-cmb.ld
deleted file mode 100644
index 2939a3f..0000000
--- a/libgloss/mcore/pe-cmb.ld
+++ /dev/null
@@ -1,108 +0,0 @@
-OUTPUT_FORMAT("pei-mcore-big", "pei-mcore-big",
- "pei-mcore-little")
-GROUP(-lc -lcmb -lgcc)
-ENTRY(_mainCRTStartup)
-SECTIONS
-{
- .text 0x2f000000 :
- {
- *(.init)
- *(.text)
- *(SORT(.text$*))
- *(.glue_7t)
- *(.glue_7)
- ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
- LONG (-1); *(.ctors); *(.ctor); LONG (0);
- ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
- LONG (-1); *(.dtors); *(.dtor); LONG (0);
- *(.fini)
- /* ??? Why is .gcc_exc here? */
- *(.gcc_exc)
- etext = .;
- *(.gcc_except_table)
- }
- /* The Cygwin32 library uses a section to avoid copying certain data
- on fork. This used to be named ".data". The linker used
- to include this between __data_start__ and __data_end__, but that
- breaks building the cygwin32 dll. Instead, we name the section
- ".data_cygwin_nocopy" and explictly include it after __data_end__. */
- .data BLOCK(__section_alignment__) :
- {
- __data_start__ = . ;
- *(.data)
- *(.data2)
- *(SORT(.data$*))
- __data_end__ = . ;
- *(.data_cygwin_nocopy)
- }
- .bss BLOCK(__section_alignment__) :
- {
- __bss_start__ = . ;
- *(.bss)
- *(COMMON)
- __bss_end__ = . ;
- }
- .rdata BLOCK(__section_alignment__) :
- {
- *(.rdata)
- *(SORT(.rdata$*))
- *(.eh_frame)
- }
- .edata BLOCK(__section_alignment__) :
- {
- *(.edata)
- }
- /DISCARD/ :
- {
- *(.debug$S)
- *(.debug$T)
- *(.debug$F)
- *(.drectve)
- }
- .idata BLOCK(__section_alignment__) :
- {
- /* This cannot currently be handled with grouped sections.
- See pe.em:sort_sections. */
- SORT(*)(.idata$2)
- SORT(*)(.idata$3)
- /* These zeroes mark the end of the import list. */
- LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
- SORT(*)(.idata$4)
- SORT(*)(.idata$5)
- SORT(*)(.idata$6)
- SORT(*)(.idata$7)
- }
- .CRT BLOCK(__section_alignment__) :
- {
- *(SORT(.CRT$*))
- }
- .endjunk BLOCK(__section_alignment__) :
- {
- /* end is deprecated, don't use it */
- end = .;
- _end = .;
- __end__ = .;
- }
- .reloc BLOCK(__section_alignment__) :
- {
- *(.reloc)
- }
- .rsrc BLOCK(__section_alignment__) :
- {
- *(.rsrc)
- *(SORT(.rsrc$*))
- }
- .stab BLOCK(__section_alignment__) (NOLOAD) :
- {
- [ .stab ]
- }
- .stabstr BLOCK(__section_alignment__) (NOLOAD) :
- {
- [ .stabstr ]
- }
- .stack 0x2f0ffffc :
- {
- _stack = .;
- *(.stack)
- }
-}
diff --git a/libgloss/mcore/pe-cmb.specs b/libgloss/mcore/pe-cmb.specs
deleted file mode 100644
index 941b229..0000000
--- a/libgloss/mcore/pe-cmb.specs
+++ /dev/null
@@ -1,3 +0,0 @@
-*endfile:
--Tcmb.ld
-
diff --git a/libgloss/mcore/print.c b/libgloss/mcore/print.c
deleted file mode 100644
index d0d2bce..0000000
--- a/libgloss/mcore/print.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* print.c -- print a string on the output device.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * print -- do a raw print of a string
- */
-void
-_DEFUN (_print, (ptr),
-char *ptr)
-{
- while (*ptr) {
- outbyte (*ptr++);
- }
-}
diff --git a/libgloss/mcore/putnum.c b/libgloss/mcore/putnum.c
deleted file mode 100644
index 2e37c09..0000000
--- a/libgloss/mcore/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (_putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/mcore/raise.c b/libgloss/mcore/raise.c
deleted file mode 100644
index 6657aa6..0000000
--- a/libgloss/mcore/raise.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* raise.c -- raise a signal for current process.
- *
- * Copyright (c) 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-int
-_DEFUN (_raise, (sig),
- int sig)
-{
- return _kill (_getpid (), sig);
-}
diff --git a/libgloss/mcore/read.c b/libgloss/mcore/read.c
deleted file mode 100644
index 499426d..0000000
--- a/libgloss/mcore/read.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* read.c -- read bytes from a input device.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern char _DEFUN_VOID (inbyte);
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int
-_DEFUN (_read, (fd, buf, nbytes),
- int fd _AND
- char *buf _AND
- int nbytes)
-{
- int i = 0;
-
- for (i = 0; i < nbytes; i++) {
- *(buf + i) = inbyte();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) {
- (*(buf + i + 1)) = 0;
- break;
- }
- }
- return (i);
-}
diff --git a/libgloss/mcore/sbrk.c b/libgloss/mcore/sbrk.c
deleted file mode 100644
index 8449589..0000000
--- a/libgloss/mcore/sbrk.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* sbrk.c -- allocate memory dynamically.
- *
- * Copyright (c) 1995,1996,1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "glue.h"
-
-caddr_t
-_sbrk (size_t incr)
-{
- static char *heap_end;
- char *prev_heap_end;
- char *sp = (char *)&sp;
-
- if (heap_end == 0)
- {
- heap_end = _end;
- }
- prev_heap_end = heap_end;
- if (heap_end > sp)
- {
- _write (1, "Heap and stack collision\n", 25);
-#if 0 /* Calling abort brings in the signal handling code. */
- abort ();
-#else
- exit (1);
-#endif
- }
- heap_end += incr;
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/mcore/stat.c b/libgloss/mcore/stat.c
deleted file mode 100644
index 401a6b5..0000000
--- a/libgloss/mcore/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/mcore/syscalls.S b/libgloss/mcore/syscalls.S
deleted file mode 100644
index 61a2847..0000000
--- a/libgloss/mcore/syscalls.S
+++ /dev/null
@@ -1,64 +0,0 @@
-.macro FUNC_START name
- .text
- .globl \name
- .globl _\name
-\name:
-_\name:
-.endm
-
-FUNC_START _sbrk
- mov r4, r2 // save increment
- lrw r3, brkval
- ldw r2, (r3) // get next spot
-
- movi r5, 7
- addi r2, 7 // round up to 8 bytes
- andn r2, r5
-
- addu r4, r2 // save updated pointer
- stw r4, (r3)
- jmp r15
-
-// brk() could go in here too...
-
- .data
- .import _end
-brkval: .long _end
-
-
-FUNC_START _exit
- mov r1, r1 // accomodate simulator glitch...
- .short 0x5000
- br _exit // hard loop here
-
-// 0x5001 - printf
-// 0x5002 - scanf
-
-FUNC_START utime
- .short 0x5003
- jmp r15
-
-
-.macro stub name value
-FUNC_START \name
- movi r1, \value
- .short 0x50FF
- jmp r15
-.endm
-
-stub _close 6
-stub _lseek 19
-stub _open 5
-stub _read 3
-stub _times 43
-stub _unlink 10
-stub _write 4
-
-//stub access 33
-//stub creat 8
-//stub link 9
-//stub time 13
-
-//stub profil 98 // movi r6, 2
-//stub lprofil 98 // movi r6, 4
-
diff --git a/libgloss/mcore/unlink.c b/libgloss/mcore/unlink.c
deleted file mode 100644
index 16dda14..0000000
--- a/libgloss/mcore/unlink.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* unlink.c -- remove a file.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * unlink -- since we have no file system,
- * we just return an error.
- */
-int
-_DEFUN (_unlink, (path),
- char * path)
-{
- errno = EIO;
- return (-1);
-}
diff --git a/libgloss/mcore/write.c b/libgloss/mcore/write.c
deleted file mode 100644
index 7f39fd1..0000000
--- a/libgloss/mcore/write.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* write.c -- write bytes to an output device.
- *
- * Copyright (c) 1995, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern int _EXFUN (outbyte, (char x));
-
-/*
- * write -- write bytes to the serial port. Ignore fd, since
- * stdout and stderr are the same. Since we have no filesystem,
- * open will only return an error.
- */
-int
-_DEFUN (_write, (fd, buf, nbytes),
- int fd _AND
- char *buf _AND
- int nbytes)
-{
- int i;
-
- for (i = 0; i < nbytes; i++) {
- if (*(buf + i) == '\n') {
- outbyte ('\r');
- }
- outbyte (*(buf + i));
- }
- return (nbytes);
-}
diff --git a/libgloss/mep/Makefile.in b/libgloss/mep/Makefile.in
deleted file mode 100644
index b42347d..0000000
--- a/libgloss/mep/Makefile.in
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright (c) 1999, 2001, 2003 Red Hat Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/mep. We only support the simulator at the
-# moment.
-
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = min.ld default.ld
-CRT = crt0.o sdram-crt0.o sim-crt0.o simnovec-crt0.o simsdram-crt0.o crtn.o sim-crtn.o
-SIM_BSP = libsim.a
-LIBNOSYS = ../libnosys/libnosys.a
-SIM_OBJS = \
- isatty.o \
- sbrk.o \
- syscalls.o \
- mep-gmon.o \
- mep-bb.o \
- handlers.o \
- h_reset.o \
- read.o \
- write.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-all: $(CRT) $(SIM_BSP)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
- $(AR) $(ARFLAGS) $(LIBNOSYS) handlers.o h_reset.o
- $(RANLIB) $(LIBNOSYS)
-
-syscalls.o: $(srcdir)/syscalls.S
-sbrk.o: $(srcdir)/sbrk.c
-crt0.o: $(srcdir)/crt0.S $(srcdir)/sim-crt0.S
-sdram-crt0.o: $(srcdir)/sdram-crt0.S $(srcdir)/sim-crt0.S
-sim-crt0.o: $(srcdir)/sim-crt0.S
-simsdram-crt0.o: $(srcdir)/simsdram-crt0.S $(srcdir)/sim-crt0.S
-simnovec-crt0.o: $(srcdir)/simnovec-crt0.S $(srcdir)/sim-crt0.S
-crtn.o: $(srcdir)/crtn.S $(srcdir)/sim-crtn.S
-
-install: $(CRT) $(SIM_BSP)
- for c in $(CRT) $(SIM_BSP); do \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- if test -z "$(MULTISUBDIR)"; then \
- for c in $(SCRIPTS); do \
- $(INSTALL_DATA) $(srcdir)/$$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done; \
- $(INSTALL_DATA) $(srcdir)/gmap_default.ld $(tooldir)/lib/gmap_default.tmpl; \
- else true; fi
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mep/aclocal.m4 b/libgloss/mep/aclocal.m4
deleted file mode 100644
index 29da09d..0000000
--- a/libgloss/mep/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mep/configure b/libgloss/mep/configure
deleted file mode 100755
index 68a1e28..0000000
--- a/libgloss/mep/configure
+++ /dev/null
@@ -1,3711 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/mep/configure.in b/libgloss/mep/configure.in
deleted file mode 100644
index 328b5d8..0000000
--- a/libgloss/mep/configure.in
+++ /dev/null
@@ -1,66 +0,0 @@
-dnl Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved.
-dnl
-dnl This copyrighted material is made available to anyone wishing to use,
-dnl modify, copy, or redistribute it subject to the terms and conditions of
-dnl the BSD License. This program is distributed in the hope that
-dnl it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
-dnl including the implied warranties of MERCHANTABILITY or FITNESS FOR A
-dnl PARTICULAR PURPOSE. A copy of this license is available at
-dnl http://www.opensource.org/licenses. Any Red Hat trademarks that are
-dnl incorporated in the source code or documentation are not subject to the
-dnl BSD License and may only be used or replicated with the express permission
-dnl of Red Hat, Inc.
-
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES([Makefile],
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/mep/crt0.S b/libgloss/mep/crt0.S
deleted file mode 100644
index c549ad9..0000000
--- a/libgloss/mep/crt0.S
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of
-# this license is available at http://www.opensource.org/licenses. Any Red Hat
-# trademarks that are incorporated in the source code or documentation are not
-# subject to the BSD License and may only be used or replicated with the express
-# permission of Red Hat, Inc.
-#
-# Toshiba Media Processor startup file (crt0.S)
-#
-# Designed for user programs running in the 0-2Mb startup section.
-#
-
-#define NOSIM
-#include "sim-crt0.S"
diff --git a/libgloss/mep/crtn.S b/libgloss/mep/crtn.S
deleted file mode 100644
index 01d5a3a..0000000
--- a/libgloss/mep/crtn.S
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of
-# this license is available at http://www.opensource.org/licenses. Any Red Hat
-# trademarks that are incorporated in the source code or documentation are not
-# subject to the BSD License and may only be used or replicated with the express
-
-#define NOSIM
-#include "sim-crtn.S"
diff --git a/libgloss/mep/default.ld b/libgloss/mep/default.ld
deleted file mode 100644
index dba860b..0000000
--- a/libgloss/mep/default.ld
+++ /dev/null
@@ -1,332 +0,0 @@
-/******************************************************************************
-begin-header
-
- DO NOT EDIT. THIS FILE IS MACHINE-GENERATED
- FROM THE TEMPLATE FILE gmap_default.ld.
- ALL EDITS WILL BE ERASED WITH NEXT MeP-Integrator RUN.
-
- Custom linker script for the MeP Module default.
-end-header
-*******************************************************************************/
-
-OUTPUT_FORMAT("elf32-mep-little", "elf32-mep",
- "elf32-mep-little")
-OUTPUT_ARCH(mep)
-ENTRY(_reset)
-
-MEMORY
-{
-/* begin-memory */
- VEC (r) : ORIGIN = 0x00000000, LENGTH = 0x000000b8
- VEC_WARM (w) : ORIGIN = 0x00200000, LENGTH = 0x000000b8
- HWINIT (r) : ORIGIN = 0x000000b8, LENGTH = 0x00000148
- RAM1 (r) : ORIGIN = 0x00000200, LENGTH = 0x001ffe00
- RAM2 (w) : ORIGIN = 0x00800000, LENGTH = 0x00800000
-/*RAM3 (w) : ORIGIN = 0x80000000, LENGTH = 0x00800000 */
- IMEM0 (w) : ORIGIN = 0x002000b8, LENGTH = 0x00003f48
- IMEM1 (w) : ORIGIN = 0x00204000, LENGTH = 0x00004000
- DMEM0 (w) : ORIGIN = 0x00220000, LENGTH = 0x00008000
- DMEM1 (w) : ORIGIN = 0x00228000, LENGTH = 0x00008000
- DMEM2 (w) : ORIGIN = 0x00230000, LENGTH = 0x00008000
- DMEM3 (w) : ORIGIN = 0x00238000, LENGTH = 0x00008000
-/* end-memory */
-}
-
-SECTIONS
-{
- /* Sections to be placed in the vec area. */
- .vec : { *(.vec) } >VEC /* VEC-section */
-
- /* Sections to be placed in the HWINIT area. */
- .hwinit : { *(.hwinit) } >HWINIT /* HWINIT-section */
-
- /* Sections to be placed in the ROM area. */
- .gnu.version : { *(.gnu.version) } >RAM1 /* ROM-section */
- .gnu.version_d : { *(.gnu.version_d) } >RAM1 /* ROM-section */
- .gnu.version_r : { *(.gnu.version_r) } >RAM1 /* ROM-section */
-
- /* Sections to be placed in the romdata.s area. */
- .srodata :
- {
- __sdabase = . + 0x8000;
- *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*)
- } >RAM2 /* DATA-section */
-
- /* Sections to be placed in the data.s area. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- } >RAM2 /* DATA-section */
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- /* Assert maximum size */
- __assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
- "tiny section overflow");
- } >RAM2 /* DATA-section */
-
- /* Sections to be placed in the data.m area. */
- .data :
- {
- __data_start = . ;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } >RAM2 /* DATA-section */
- .data1 : { *(.data1) } >RAM2 /* DATA-section */
- .eh_frame : { KEEP (*(.eh_frame))} >RAM2 /* DATA-section */
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } >RAM2 /* DATA-section */
- .dynamic : { *(.dynamic) } >RAM2 /* DATA-section */
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >RAM2 /* DATA-section */
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >RAM2 /* DATA-section */
- .jcr :
- {
- . = ALIGN(4);
- *(.jcr)
- } >RAM2 /* DATA-section */
- .got :
- {
- *(.got.plt) *(.got)
- _edata = .;
- PROVIDE (edata = .);
- } >RAM2 /* DATA-section */
- .based :
- {
- __tpbase = .;
- *(.based) *(.based.*) *(.gnu.linkonce.based.*)
- /* Assert maximum size */
- __assert_based_size = ASSERT ((. - __tpbase) <= 0x80,
- "based section overflow");
- } >RAM2 /* DATA-section */
-
- .bss :
- {
- __bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
- } >RAM2 /* DATA-section */
-
- /* Sections to be placed in the code.m area. */
- .init :
- {
- KEEP (*(.init))
- } >RAM2 /* CODE-section */
- .plt : { *(.plt) } >RAM2 /* DATA-section */
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } >RAM2 /* CODE-section */ =0
- .vtext ALIGN(8) :
- {
- *(.vtext) *(.vtext.*) *(.gnu.linkonce.v.*)
- } >RAM2 /* CODE-section */
- .fini :
- {
- KEEP (*(.fini))
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- } >RAM2 /* CODE-section */ =0
-
- /* Sections to be placed in the romdata.m area. */
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } >RAM2 /* DATA-section */
- .rodata1 : { *(.rodata1) } >RAM2 /* DATA-section */
-
- /* Sections to be placed in the code.l area. */
- .ftext : { *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*) } >RAM2 /* CODE-section */
- .vftext ALIGN(8) :
- {
- *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
- } >RAM2 /* CODE-section */
-
- /* Sections to be placed in the romdata.l area. */
- .frodata :
- {
- *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
- __assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
- } >RAM2 /* DATA-section */
-
- /* Sections to be placed in the data.l area. */
- .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) } >RAM2 /* DATA-section */
- .farbss :
- { PROVIDE (__farbss_start = .);
- *(.farbss) *(.farbss.*)
- PROVIDE (__farbss_end = .);
- } >RAM2 /* DATA-section */
-
- /* END-mep-sections */
-
- .vec_warm :
- {
- /* vec_warm is a place for the startup code to write the interrupt
- vectors. Allow 0xb8 bytes of space aligned on a 4 byte boundary. */
- . = ALIGN(4);
- vec_warm = .;
- . += 0xb8;
- } >VEC_WARM
-
- /* begin-stack-table */
- __stack50 = (__stack - (0 * (__stack_size / 1)) + 15) / 16 * 16;
-
- .rostacktab :
- {
- /* Emit a table describing the location of the different stacks. */
- . = ALIGN(4);
- __stack_table = .;
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- LONG (__stack50);
- __stack_end = .;
- } >RAM2
- /* end-stack-table */
-
- /* begin-heap */
- /* End of DATA is 0x00800000 + 0x00800000. That's where the heap will end. */
- __heap_end = 0x00800000 + 0x00800000 - 1;
- /* end-heap */
-
- /* Default stack size is 1M. That's where the heap will start if there's
- room. If there's not enough room, allocate half of the remaining space
- for stack and half for heap. Align the heap on a 16 byte boundary. */
- __stack_size = (__stack_end + 0x100000 <= __heap_end + 1
- ? 0x100000
- : ((__heap_end + 1 - __stack_end) / 2));
- __heap = (__stack_end + __stack_size + 15) / 16 * 16;
-
- /* Leave 16 bytes between the stack and the heap. */
- __stack = __heap - 0x10;
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mep/fmax.ld b/libgloss/mep/fmax.ld
deleted file mode 100644
index 83f15b5..0000000
--- a/libgloss/mep/fmax.ld
+++ /dev/null
@@ -1,270 +0,0 @@
-/******************************************************************************
-begin-header
-
- DO NOT EDIT. THIS FILE IS MACHINE-GENERATED
- FROM THE TEMPLATE FILE gmap_default.ld.
- ALL EDITS WILL BE ERASED WITH NEXT MeP-Integrator RUN.
-
- Custom linker script for the MeP Module fmax.
-end-header
-*******************************************************************************/
-
-OUTPUT_FORMAT("elf32-mep", "elf32-mep",
- "elf32-mep")
-OUTPUT_ARCH(mep)
-ENTRY(_reset)
-
-MEMORY
-{
-/* begin-memory */
- VEC (r) : ORIGIN = 0x00000000, LENGTH = 0x000000b8
- HWINIT (r) : ORIGIN = 0x000000b8, LENGTH = 0x00000148
- ROM (r) : ORIGIN = 0x00000200, LENGTH = 0x001ffe00
- RAM1 (w) : ORIGIN = 0x008000b8, LENGTH = 0x007fff48
-/*VEC_WARM (w) : ORIGIN = 0x00800000, LENGTH = 0x000000b8 */
-/*RAM2 (w) : ORIGIN = 0x80800000, LENGTH = 0x00800000 */
-/* end-memory */
-}
-
-SECTIONS
-{
- /* Sections to be placed in the vec area. */
- .vec : { *(.vec) } >VEC /* VEC-section */
-
- /* Sections to be placed in the HWINIT area. */
- .hwinit : { *(.hwinit) } >HWINIT /* HWINIT-section */
-
- /* Sections to be placed in the ROM area. */
- .gnu.version : { *(.gnu.version) } >ROM /* ROM-section */
- .gnu.version_d : { *(.gnu.version_d) } >ROM /* ROM-section */
- .gnu.version_r : { *(.gnu.version_r) } >ROM /* ROM-section */
-
- /* Sections to be placed in the romdata.s area. */
- .srodata :
- {
- __sdabase = . + 0x8000;
- *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*)
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.s area. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- } >RAM1 /* DATA-section */
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- /* Assert maximum size */
- __assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
- "tiny section overflow");
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.m area. */
- .data :
- {
- __data_start = . ;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } >RAM1 /* DATA-section */
- .data1 : { *(.data1) } >RAM1 /* DATA-section */
- .eh_frame : { KEEP (*(.eh_frame))} >RAM1 /* DATA-section */
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } >RAM1 /* DATA-section */
- .dynamic : { *(.dynamic) } >RAM1 /* DATA-section */
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >RAM1 /* DATA-section */
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >RAM1 /* DATA-section */
- .jcr :
- {
- . = ALIGN(4);
- *(.jcr)
- } >RAM1 /* DATA-section */
- .got :
- {
- *(.got.plt) *(.got)
- _edata = .;
- PROVIDE (edata = .);
- } >RAM1 /* DATA-section */
- .based :
- {
- __tpbase = .;
- *(.based) *(.based.*) *(.gnu.linkonce.based.*)
- /* Assert maximum size */
- __assert_based_size = ASSERT ((. - __tpbase) <= 0x80,
- "based section overflow");
- } >RAM1 /* DATA-section */
-
- .bss :
- {
- __bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the code.m area. */
- .init :
- {
- KEEP (*(.init))
- } >RAM1 /* CODE-section */
- .plt : { *(.plt) } >RAM1 /* DATA-section */
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } >RAM1 /* CODE-section */ =0
- .vtext ALIGN(8) :
- {
- *(.vtext) *(.vtext.*) *(.gnu.linkonce.v.*)
- } >RAM1 /* CODE-section */
- .fini :
- {
- KEEP (*(.fini))
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- } >RAM1 /* CODE-section */ =0
-
- /* Sections to be placed in the romdata.m area. */
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } >RAM1 /* DATA-section */
- .rodata1 : { *(.rodata1) } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the code.l area. */
- .ftext : { *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*) } >RAM1 /* CODE-section */
- .vftext ALIGN(8) :
- {
- *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
- } >RAM1 /* CODE-section */
-
- /* Sections to be placed in the romdata.l area. */
- .frodata :
- {
- *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
- __assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.l area. */
- .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) } >RAM1 /* DATA-section */
- .farbss :
- { PROVIDE (__farbss_start = .);
- *(.farbss) *(.farbss.*)
- PROVIDE (__farbss_end = .);
- } >RAM1 /* DATA-section */
-
- /* END-mep-sections */
-
- /* begin-stack-table */
- __stack1 = (__stack - (0 * (__stack_size / 2)) + 15) / 16 * 16;
- __stack2 = (__stack - (1 * (__stack_size / 2)) + 15) / 16 * 16;
-
- .rostacktab :
- {
- /* Emit a table describing the location of the different stacks. */
- . = ALIGN(4);
- __stack_table = .;
- LONG (__stack2);
- LONG (__stack1);
- LONG (__stack2);
- __stack_end = .;
- } >RAM1
- /* end-stack-table */
-
- /* begin-heap */
- /* End of DATA is 0x008000b8 + 0x007fff48. That's where the heap will end. */
- __heap_end = 0x008000b8 + 0x007fff48 - 1;
- /* end-heap */
-
- /* Default stack size is 1M. That's where the heap will start if there's
- room. If there's not enough room, allocate half of the remaining space
- for stack and half for heap. Align the heap on a 16 byte boundary. */
- __stack_size = (__stack_end + 0x100000 <= __heap_end + 1
- ? 0x100000
- : ((__heap_end + 1 - __stack_end) / 2));
- __heap = (__stack_end + __stack_size + 15) / 16 * 16;
-
- /* Leave 16 bytes between the stack and the heap. */
- __stack = __heap - 0x10;
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mep/gcov-io.h b/libgloss/mep/gcov-io.h
deleted file mode 100644
index cb99704..0000000
--- a/libgloss/mep/gcov-io.h
+++ /dev/null
@@ -1,137 +0,0 @@
-/* Machine-independent I/O routines for gcov.
-
- Copyright (c) 2000 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied
- warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of
- this license is available at http://www.opensource.org/licenses. Any Red Hat
- trademarks that are incorporated in the source code or documentation are not
- subject to the BSD License and may only be used or replicated with the
- express permission of Red Hat, Inc.
-*/
-
-
-#ifndef GCC_GCOV_IO_H
-#define GCC_GCOV_IO_H
-#include <stdio.h>
-#include <sys/types.h>
-
-static int __fetch_long (long *, char *, size_t);
-static int __store_long (long, char *, size_t);
-static int __read_long (long *, FILE *, size_t);
-static int __write_long (long, FILE *, size_t);
-
-/* These routines only work for signed values. */
-
-/* Store a portable representation of VALUE in DEST using BYTES*8-1 bits.
- Return a non-zero value if VALUE requires more than BYTES*8-1 bits
- to store. */
-
-static int
-__store_long (value, dest, bytes)
- long value;
- char *dest;
- size_t bytes;
-{
- int upper_bit = (value < 0 ? 128 : 0);
- size_t i;
-
- if (value < 0)
- {
- long oldvalue = value;
- value = -value;
- if (oldvalue != -value)
- return 1;
- }
-
- for(i = 0 ; i < (sizeof (value) < bytes ? sizeof (value) : bytes) ; i++) {
- dest[i] = value & (i == (bytes - 1) ? 127 : 255);
- value = value / 256;
- }
-
- if (value && value != -1)
- return 1;
-
- for(; i < bytes ; i++)
- dest[i] = 0;
- dest[bytes - 1] |= upper_bit;
- return 0;
-}
-
-/* Retrieve a quantity containing BYTES*8-1 bits from SOURCE and store
- the result in DEST. Returns a non-zero value if the value in SOURCE
- will not fit in DEST. */
-
-static int
-__fetch_long (dest, source, bytes)
- long *dest;
- char *source;
- size_t bytes;
-{
- long value = 0;
- int i;
-
- for (i = bytes - 1; (size_t) i > (sizeof (*dest) - 1); i--)
- if (source[i] & ((size_t) i == (bytes - 1) ? 127 : 255 ))
- return 1;
-
- for (; i >= 0; i--)
- value = value * 256 + (source[i] & ((size_t)i == (bytes - 1) ? 127 : 255));
-
- if ((source[bytes - 1] & 128) && (value > 0))
- value = - value;
-
- *dest = value;
- return 0;
-}
-
-/* Write a BYTES*8-bit quantity to FILE, portably. Returns a non-zero
- value if the write fails, or if VALUE can't be stored in BYTES*8
- bits.
-
- Note that VALUE may not actually be large enough to hold BYTES*8
- bits, but BYTES characters will be written anyway.
-
- BYTES may be a maximum of 10. */
-
-static int
-__write_long (value, file, bytes)
- long value;
- FILE *file;
- size_t bytes;
-{
- char c[10];
-
- if (bytes > 10 || __store_long (value, c, bytes))
- return 1;
- else
- return fwrite(c, 1, bytes, file) != bytes;
-}
-
-/* Read a quantity containing BYTES bytes from FILE, portably. Return
- a non-zero value if the read fails or if the value will not fit
- in DEST.
-
- Note that DEST may not be large enough to hold all of the requested
- data, but the function will read BYTES characters anyway.
-
- BYTES may be a maximum of 10. */
-
-static int
-__read_long (dest, file, bytes)
- long *dest;
- FILE *file;
- size_t bytes;
-{
- char c[10];
-
- if (bytes > 10 || fread(c, 1, bytes, file) != bytes)
- return 1;
- else
- return __fetch_long (dest, c, bytes);
-}
-
-#endif /* ! GCC_GCOV_IO_H */
diff --git a/libgloss/mep/gmap_default.ld b/libgloss/mep/gmap_default.ld
deleted file mode 100644
index 7f2e007..0000000
--- a/libgloss/mep/gmap_default.ld
+++ /dev/null
@@ -1,280 +0,0 @@
-/******************************************************************************
-begin-header
-
- Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied
- warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- of this license is available at http://www.opensource.org/licenses. Any
- Red Hat trademarks that are incorporated in the source code or documentation
- are not subject to the BSD License and may only be used or replicated with
- the express permission of Red Hat, Inc.
-
- Default linker script for use with the Configuration Tool for
- Toshiba Media Processor.
-
- When generating a configuration for a media module, M, the
- configuration tool will copy this file into a custom linker script
- M.ld, and customize the script with settings from the media
- module's global map file.
-
-end-header
-*******************************************************************************/
-
-OUTPUT_FORMAT("elf32-mep-little", "elf32-mep",
- "elf32-mep-little")
-OUTPUT_ARCH(mep)
-ENTRY(_reset)
-
-MEMORY
-{
-/* begin-memory */
- VEC (r) : ORIGIN = 0x00000000, LENGTH = 0x000000b8
- ROM (r) : ORIGIN = 0x000000b8, LENGTH = 0x001fff48
- RAM (w) : ORIGIN = 0x00800000, LENGTH = 0x00800000
-/* end-memory */
-}
-
-SECTIONS
-{
- /* Sections to be placed in the vec area. */
- .vec : { *(.vec) } >VEC /* VEC-section */
-
- /* Sections to be placed in the HWINIT area. */
- .hwinit : { *(.hwinit) } >HWINIT /* HWINIT-section */
-
- /* Sections to be placed in the ROM area. */
- .gnu.version : { *(.gnu.version) } >ROM /* ROM-section */
- .gnu.version_d : { *(.gnu.version_d) } >ROM /* ROM-section */
- .gnu.version_r : { *(.gnu.version_r) } >ROM /* ROM-section */
-
- /* Sections to be placed in the romdata.s area. */
- .srodata :
- {
- __sdabase = . + 0x8000;
- *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*)
- } >RAM /* DATA-section */
-
- /* Sections to be placed in the data.s area. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- } >RAM /* DATA-section */
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- /* Assert maximum size */
- __assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
- "tiny section overflow");
- } >RAM /* DATA-section */
-
- /* Sections to be placed in the data.m area. */
- .data :
- {
- __data_start = . ;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } >RAM /* DATA-section */
- .data1 : { *(.data1) } >RAM /* DATA-section */
- .eh_frame : { KEEP (*(.eh_frame))} >RAM /* DATA-section */
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } >RAM /* DATA-section */
- .dynamic : { *(.dynamic) } >RAM /* DATA-section */
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >RAM /* DATA-section */
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >RAM /* DATA-section */
- .jcr :
- {
- . = ALIGN(4);
- *(.jcr)
- } >RAM /* DATA-section */
- .got :
- {
- *(.got.plt) *(.got)
- _edata = .;
- PROVIDE (edata = .);
- } >RAM /* DATA-section */
- .based :
- {
- __tpbase = .;
- *(.based) *(.based.*) *(.gnu.linkonce.based.*)
- /* Assert maximum size */
- __assert_based_size = ASSERT ((. - __tpbase) <= 0x80,
- "based section overflow");
- } >RAM /* DATA-section */
-
- .bss :
- {
- __bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
- } >RAM /* DATA-section */
-
- /* Sections to be placed in the code.m area. */
- .init :
- {
- KEEP (*(.init))
- } >RAM /* CODE-section */
- .plt : { *(.plt) } >RAM /* DATA-section */
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } >RAM /* CODE-section */ =0
- .vtext ALIGN(8) :
- {
- *(.vtext) *(.vtext.*) *(.gnu.linkonce.v.*)
- } >RAM /* CODE-section */
- .fini :
- {
- KEEP (*(.fini))
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- } >RAM /* CODE-section */ =0
-
- /* Sections to be placed in the romdata.m area. */
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } >RAM /* DATA-section */
- .rodata1 : { *(.rodata1) } >RAM /* DATA-section */
-
- /* Sections to be placed in the code.l area. */
- .ftext : { *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*) } >RAM /* CODE-section */
- .vftext ALIGN(8) :
- {
- *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
- } >RAM /* CODE-section */
-
- /* Sections to be placed in the romdata.l area. */
- .frodata :
- {
- *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
- __assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
- } >RAM /* DATA-section */
-
- /* Sections to be placed in the data.l area. */
- .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) } >RAM /* DATA-section */
- .farbss :
- { PROVIDE (__farbss_start = .);
- *(.farbss) *(.farbss.*)
- PROVIDE (__farbss_end = .);
- } >RAM /* DATA-section */
-
- /* END-mep-sections */
-
- /* begin-stack-table */
- __stack0 = (__stack - (0 * (__stack_size / 1)) + 15) / 16 * 16;
-
- .rostacktab :
- {
- /* Emit a table describing the location of the different stacks.
- Only 1 processor in the default configuration. */
- . = ALIGN(4);
- __stack_table = .;
- LONG (__stack0);
- __stack_end = .;
- } >RAM
- /* end-stack-table */
-
- /* begin-heap */
- /* End of DATA is 0x00800000 + 0x00800000. That's where the heap will end. */
- __heap_end = 0x00800000 + 0x00800000 - 1;
- /* end-heap */
-
- /* Default stack size is 1M. That's where the heap will start if there's
- room. If there's not enough room, allocate half of the remaining space
- for stack and half for heap. Align the heap on a 16 byte boundary. */
- __stack_size = (__stack_end + 0x100000 <= __heap_end + 1
- ? 0x100000
- : ((__heap_end + 1 - __stack_end) / 2));
- __heap = (__stack_end + __stack_size + 15) / 16 * 16;
-
- /* Leave 16 bytes between the stack and the heap. */
- __stack = __heap - 0x10;
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mep/h_reset.c b/libgloss/mep/h_reset.c
deleted file mode 100644
index ced85b0..0000000
--- a/libgloss/mep/h_reset.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* h_reset.c -- Setup default reset handler.
- *
- * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-#pragma weak _handler_RESET
-
-void _handler_RESET(void) __attribute__((section(".hwinit")));
-
-extern void _start(void);
-void
-_handler_RESET(void)
-{
- mep_di();
- goto *(&_start);
-}
diff --git a/libgloss/mep/handlers.c b/libgloss/mep/handlers.c
deleted file mode 100644
index 292a428..0000000
--- a/libgloss/mep/handlers.c
+++ /dev/null
@@ -1,297 +0,0 @@
-/* handlers.c -- Setup default handlers.
- *
- * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-#pragma weak _handler_NMI
-
-void __interrupt
-_handler_NMI ()
-{
-}
-
-#pragma weak _handler_RI
-
-void __interrupt
-_handler_RI ()
-{
-}
-
-#pragma weak _handler_ZDIV
-
-void __interrupt
-_handler_ZDIV ()
-{
-}
-
-#pragma weak _handler_BRK
-
-void __interrupt
-_handler_BRK ()
-{
-}
-
-#pragma weak _handler_SWI
-
-void __interrupt
-_handler_SWI ()
-{
-}
-
-#pragma weak _handler_DEBUG
-
-void __interrupt
-_handler_DEBUG ()
-{
-}
-
-#pragma weak _handler_DSP
-
-void __interrupt
-_handler_DSP ()
-{
-}
-
-#pragma weak _handler_COP
-
-void __interrupt
-_handler_COP ()
-{
-}
-
-/* hardware interrupt */
-
-
-#pragma weak _handler_INT0
-
-void __interrupt
-_handler_INT0 ()
-{
-}
-
-#pragma weak _handler_INT1
-
-void __interrupt
-_handler_INT1 ()
-{
-}
-
-#pragma weak _handler_INT2
-
-void __interrupt
-_handler_INT2 ()
-{
-}
-
-#pragma weak _handler_INT3
-
-void __interrupt
-_handler_INT3 ()
-{
-}
-
-#pragma weak _handler_INT4
-
-void __interrupt
-_handler_INT4 ()
-{
-}
-
-#pragma weak _handler_INT5
-
-void __interrupt
-_handler_INT5 ()
-{
-}
-
-#pragma weak _handler_INT6
-
-void __interrupt
-_handler_INT6 ()
-{
-}
-
-#pragma weak _handler_INT7
-
-void __interrupt
-_handler_INT7 ()
-{
-}
-
-#pragma weak _handler_INT8
-
-void __interrupt
-_handler_INT8 ()
-{
-}
-
-#pragma weak _handler_INT9
-
-void __interrupt
-_handler_INT9 ()
-{
-}
-
-#pragma weak _handler_INT10
-
-void __interrupt
-_handler_INT10 ()
-{
-}
-
-#pragma weak _handler_INT11
-
-void __interrupt
-_handler_INT11 ()
-{
-}
-
-#pragma weak _handler_INT12
-
-void __interrupt
-_handler_INT12 ()
-{
-}
-
-#pragma weak _handler_INT13
-
-void __interrupt
-_handler_INT13 ()
-{
-}
-
-#pragma weak _handler_INT14
-
-void __interrupt
-_handler_INT14 ()
-{
-}
-
-#pragma weak _handler_INT15
-
-void __interrupt
-_handler_INT15 ()
-{
-}
-
-#pragma weak _handler_INT16
-
-void __interrupt
-_handler_INT16 ()
-{
-}
-
-#pragma weak _handler_INT17
-
-void __interrupt
-_handler_INT17 ()
-{
-}
-
-#pragma weak _handler_INT18
-
-void __interrupt
-_handler_INT18 ()
-{
-}
-
-#pragma weak _handler_INT19
-
-void __interrupt
-_handler_INT19 ()
-{
-}
-
-#pragma weak _handler_INT20
-
-void __interrupt
-_handler_INT20 ()
-{
-}
-
-#pragma weak _handler_INT21
-
-void __interrupt
-_handler_INT21 ()
-{
-}
-
-#pragma weak _handler_INT22
-
-void __interrupt
-_handler_INT22 ()
-{
-}
-
-#pragma weak _handler_INT23
-
-void __interrupt
-_handler_INT23 ()
-{
-}
-
-#pragma weak _handler_INT24
-
-void __interrupt
-_handler_INT24 ()
-{
-}
-
-#pragma weak _handler_INT25
-
-void __interrupt
-_handler_INT25 ()
-{
-}
-
-#pragma weak _handler_INT26
-
-void __interrupt
-_handler_INT26 ()
-{
-}
-
-#pragma weak _handler_INT27
-
-void __interrupt
-_handler_INT27 ()
-{
-}
-
-#pragma weak _handler_INT28
-
-void __interrupt
-_handler_INT28 ()
-{
-}
-
-#pragma weak _handler_INT29
-
-void __interrupt
-_handler_INT29 ()
-{
-}
-
-#pragma weak _handler_INT30
-
-void __interrupt
-_handler_INT30 ()
-{
-}
-
-#pragma weak _handler_INT31
-
-void __interrupt
-_handler_INT31 ()
-{
-}
diff --git a/libgloss/mep/isatty.c b/libgloss/mep/isatty.c
deleted file mode 100644
index f01e3a2..0000000
--- a/libgloss/mep/isatty.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/mep/mep-bb.c b/libgloss/mep/mep-bb.c
deleted file mode 100644
index 191da16..0000000
--- a/libgloss/mep/mep-bb.c
+++ /dev/null
@@ -1,1071 +0,0 @@
-/*
- * Copyright (c) 2000-2001 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-/* Structure emitted by -a */
-struct bb
-{
- long zero_word;
- const char *filename;
- long *counts;
- long ncounts;
- struct bb *next;
- const unsigned long *addresses;
-
- /* Older GCC's did not emit these fields. */
- long nwords;
- const char **functions;
- const long *line_nums;
- const char **filenames;
- char *flags;
-};
-
-/* Simple minded basic block profiling output dumper for
- systems that don't provide tcov support. At present,
- it requires atexit and stdio. */
-
-#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */
-#include <stdio.h>
-#include <time.h>
-char *ctime (const time_t *);
-
-/*#include "gbl-ctors.h"*/
-#include "gcov-io.h"
-#include <string.h>
-
-static struct bb *bb_head;
-
-static int num_digits (long value, int base) __attribute__ ((const));
-
-/* Return the number of digits needed to print a value */
-/* __inline__ */ static int num_digits (long value, int base)
-{
- int minus = (value < 0 && base != 16);
- unsigned long v = (minus) ? -value : value;
- int ret = minus;
-
- do
- {
- v /= base;
- ret++;
- }
- while (v);
-
- return ret;
-}
-
-void
-__bb_exit_func (void)
-{
- FILE *da_file, *file;
- long time_value;
- int i;
-
- if (bb_head == 0)
- return;
-
- i = strlen (bb_head->filename) - 3;
-
- if (!strcmp (bb_head->filename+i, ".da"))
- {
- /* Must be -fprofile-arcs not -a.
- Dump data in a form that gcov expects. */
-
- struct bb *ptr;
-
- for (ptr = bb_head; ptr != (struct bb *) 0; ptr = ptr->next)
- {
- int firstchar;
-
- /* Make sure the output file exists -
- but don't clobber exiting data. */
- if ((da_file = fopen (ptr->filename, "a")) != 0)
- fclose (da_file);
-
- /* Need to re-open in order to be able to write from the start. */
- da_file = fopen (ptr->filename, "r+b");
- /* Some old systems might not allow the 'b' mode modifier.
- Therefore, try to open without it. This can lead to a race
- condition so that when you delete and re-create the file, the
- file might be opened in text mode, but then, you shouldn't
- delete the file in the first place. */
- if (da_file == 0)
- da_file = fopen (ptr->filename, "r+");
- if (da_file == 0)
- {
- fprintf (stderr, "arc profiling: Can't open output file %s.\n",
- ptr->filename);
- continue;
- }
-
- /* After a fork, another process might try to read and/or write
- the same file simultanously. So if we can, lock the file to
- avoid race conditions. */
-
- /* If the file is not empty, and the number of counts in it is the
- same, then merge them in. */
- firstchar = fgetc (da_file);
- if (firstchar == EOF)
- {
- if (ferror (da_file))
- {
- fprintf (stderr, "arc profiling: Can't read output file ");
- perror (ptr->filename);
- }
- }
- else
- {
- long n_counts = 0;
-
- if (ungetc (firstchar, da_file) == EOF)
- rewind (da_file);
- if (__read_long (&n_counts, da_file, 8) != 0)
- {
- fprintf (stderr, "arc profiling: Can't read output file %s.\n",
- ptr->filename);
- continue;
- }
-
- if (n_counts == ptr->ncounts)
- {
- int i;
-
- for (i = 0; i < n_counts; i++)
- {
- long v = 0;
-
- if (__read_long (&v, da_file, 8) != 0)
- {
- fprintf (stderr, "arc profiling: Can't read output file %s.\n",
- ptr->filename);
- break;
- }
- ptr->counts[i] += v;
- }
- }
-
- }
-
- rewind (da_file);
-
- /* ??? Should first write a header to the file. Preferably, a 4 byte
- magic number, 4 bytes containing the time the program was
- compiled, 4 bytes containing the last modification time of the
- source file, and 4 bytes indicating the compiler options used.
-
- That way we can easily verify that the proper source/executable/
- data file combination is being used from gcov. */
-
- if (__write_long (ptr->ncounts, da_file, 8) != 0)
- {
-
- fprintf (stderr, "arc profiling: Error writing output file %s.\n",
- ptr->filename);
- }
- else
- {
- int j;
- long *count_ptr = ptr->counts;
- int ret = 0;
- for (j = ptr->ncounts; j > 0; j--)
- {
- if (__write_long (*count_ptr, da_file, 8) != 0)
- {
- ret=1;
- break;
- }
- count_ptr++;
- }
- if (ret)
- fprintf (stderr, "arc profiling: Error writing output file %s.\n",
- ptr->filename);
- }
-
- if (fclose (da_file) == EOF)
- fprintf (stderr, "arc profiling: Error closing output file %s.\n",
- ptr->filename);
- }
-
- return;
- }
-
- /* Must be basic block profiling. Emit a human readable output file. */
-
- file = fopen ("bb.out", "a");
-
- if (!file)
- perror ("bb.out");
-
- else
- {
- struct bb *ptr;
-
- /* This is somewhat type incorrect, but it avoids worrying about
- exactly where time.h is included from. It should be ok unless
- a void * differs from other pointer formats, or if sizeof (long)
- is < sizeof (time_t). It would be nice if we could assume the
- use of rationale standards here. */
-
- time ((void *) &time_value);
- fprintf (file, "Basic block profiling finished on %s\n", ctime ((void *) &time_value));
-
- /* We check the length field explicitly in order to allow compatibility
- with older GCC's which did not provide it. */
-
- for (ptr = bb_head; ptr != (struct bb *) 0; ptr = ptr->next)
- {
- int i;
- int func_p = (ptr->nwords >= (long) sizeof (struct bb)
- && ptr->nwords <= 1000
- && ptr->functions);
- int line_p = (func_p && ptr->line_nums);
- int file_p = (func_p && ptr->filenames);
- int addr_p = (ptr->addresses != 0);
- long ncounts = ptr->ncounts;
- long cnt_max = 0;
- long line_max = 0;
- long addr_max = 0;
- int file_len = 0;
- int func_len = 0;
- int blk_len = num_digits (ncounts, 10);
- int cnt_len;
- int line_len;
- int addr_len;
-
- fprintf (file, "File %s, %ld basic blocks \n\n",
- ptr->filename, ncounts);
-
- /* Get max values for each field. */
- for (i = 0; i < ncounts; i++)
- {
- const char *p;
- int len;
-
- if (cnt_max < ptr->counts[i])
- cnt_max = ptr->counts[i];
-
- if (addr_p && (unsigned long) addr_max < ptr->addresses[i])
- addr_max = ptr->addresses[i];
-
- if (line_p && line_max < ptr->line_nums[i])
- line_max = ptr->line_nums[i];
-
- if (func_p)
- {
- p = (ptr->functions[i]) ? (ptr->functions[i]) : "<none>";
- len = strlen (p);
- if (func_len < len)
- func_len = len;
- }
-
- if (file_p)
- {
- p = (ptr->filenames[i]) ? (ptr->filenames[i]) : "<none>";
- len = strlen (p);
- if (file_len < len)
- file_len = len;
- }
- }
-
- addr_len = num_digits (addr_max, 16);
- cnt_len = num_digits (cnt_max, 10);
- line_len = num_digits (line_max, 10);
-
- /* Now print out the basic block information. */
- for (i = 0; i < ncounts; i++)
- {
- fprintf (file,
- " Block #%*d: executed %*ld time(s)",
- blk_len, i+1,
- cnt_len, ptr->counts[i]);
-
- if (addr_p)
- fprintf (file, " address= 0x%.*lx", addr_len,
- ptr->addresses[i]);
-
- if (func_p)
- fprintf (file, " function= %-*s", func_len,
- (ptr->functions[i]) ? ptr->functions[i] : "<none>");
-
- if (line_p)
- fprintf (file, " line= %*ld", line_len, ptr->line_nums[i]);
-
- if (file_p)
- fprintf (file, " file= %s",
- (ptr->filenames[i]) ? ptr->filenames[i] : "<none>");
-
- fprintf (file, "\n");
- }
-
- fprintf (file, "\n");
- fflush (file);
- }
-
- fprintf (file, "\n\n");
- fclose (file);
- }
-}
-
-void
-__bb_init_func (struct bb *blocks)
-{
- /* User is supposed to check whether the first word is non-0,
- but just in case.... */
-
- if (blocks->zero_word)
- return;
-
- /* Initialize destructor. */
- if (!bb_head)
- atexit (__bb_exit_func);
-
- /* Set up linked list. */
- blocks->zero_word = 1;
- blocks->next = bb_head;
- bb_head = blocks;
-}
-
-/* Called before fork or exec - write out profile information gathered so
- far and reset it to zero. This avoids duplication or loss of the
- profile information gathered so far. */
-void
-__bb_fork_func (void)
-{
- struct bb *ptr;
-
- __bb_exit_func ();
- for (ptr = bb_head; ptr != (struct bb *) 0; ptr = ptr->next)
- {
- long i;
- for (i = ptr->ncounts - 1; i >= 0; i--)
- ptr->counts[i] = 0;
- }
-}
-
-#ifndef MACHINE_STATE_SAVE
-#define MACHINE_STATE_SAVE(ID)
-#endif
-#ifndef MACHINE_STATE_RESTORE
-#define MACHINE_STATE_RESTORE(ID)
-#endif
-
-/* Number of buckets in hashtable of basic block addresses. */
-
-#define BB_BUCKETS 311
-
-/* Maximum length of string in file bb.in. */
-
-#define BBINBUFSIZE 500
-
-struct bb_edge
-{
- struct bb_edge *next;
- unsigned long src_addr;
- unsigned long dst_addr;
- unsigned long count;
-};
-
-enum bb_func_mode
-{
- TRACE_KEEP = 0, TRACE_ON = 1, TRACE_OFF = 2
-};
-
-struct bb_func
-{
- struct bb_func *next;
- char *funcname;
- char *filename;
- enum bb_func_mode mode;
-};
-
-/* This is the connection to the outside world.
- The BLOCK_PROFILER macro must set __bb.blocks
- and __bb.blockno. */
-
-struct {
- unsigned long blockno;
- struct bb *blocks;
-} __bb;
-
-/* Vars to store addrs of source and destination basic blocks
- of a jump. */
-
-static unsigned long bb_src = 0;
-static unsigned long bb_dst = 0;
-
-static FILE *bb_tracefile = (FILE *) 0;
-static struct bb_edge **bb_hashbuckets = (struct bb_edge **) 0;
-static struct bb_func *bb_func_head = (struct bb_func *) 0;
-static unsigned long bb_callcount = 0;
-static int bb_mode = 0;
-
-static unsigned long *bb_stack = (unsigned long *) 0;
-static size_t bb_stacksize = 0;
-
-static int reported = 0;
-
-/* Trace modes:
-Always : Print execution frequencies of basic blocks
- to file bb.out.
-bb_mode & 1 != 0 : Dump trace of basic blocks to file bbtrace[.gz]
-bb_mode & 2 != 0 : Print jump frequencies to file bb.out.
-bb_mode & 4 != 0 : Cut call instructions from basic block flow.
-bb_mode & 8 != 0 : Insert return instructions in basic block flow.
-*/
-
-#ifdef HAVE_POPEN
-
-/*#include <sys/types.h>*/
-#include <sys/stat.h>
-/*#include <malloc.h>*/
-
-/* Commands executed by gopen. */
-
-#define GOPENDECOMPRESS "gzip -cd "
-#define GOPENCOMPRESS "gzip -c >"
-
-/* Like fopen but pipes through gzip. mode may only be "r" or "w".
- If it does not compile, simply replace gopen by fopen and delete
- '.gz' from any first parameter to gopen. */
-
-static FILE *
-gopen (char *fn, char *mode)
-{
- int use_gzip;
- char *p;
-
- if (mode[1])
- return (FILE *) 0;
-
- if (mode[0] != 'r' && mode[0] != 'w')
- return (FILE *) 0;
-
- p = fn + strlen (fn)-1;
- use_gzip = ((p[-1] == '.' && (p[0] == 'Z' || p[0] == 'z'))
- || (p[-2] == '.' && p[-1] == 'g' && p[0] == 'z'));
-
- if (use_gzip)
- {
- if (mode[0]=='r')
- {
- FILE *f;
- char *s = (char *) malloc (sizeof (char) * strlen (fn)
- + sizeof (GOPENDECOMPRESS));
- strcpy (s, GOPENDECOMPRESS);
- strcpy (s + (sizeof (GOPENDECOMPRESS)-1), fn);
- f = popen (s, mode);
- free (s);
- return f;
- }
-
- else
- {
- FILE *f;
- char *s = (char *) malloc (sizeof (char) * strlen (fn)
- + sizeof (GOPENCOMPRESS));
- strcpy (s, GOPENCOMPRESS);
- strcpy (s + (sizeof (GOPENCOMPRESS)-1), fn);
- if (!(f = popen (s, mode)))
- f = fopen (s, mode);
- free (s);
- return f;
- }
- }
-
- else
- return fopen (fn, mode);
-}
-
-static int
-gclose (FILE *f)
-{
- struct stat buf;
-
- if (f != 0)
- {
- if (!fstat (fileno (f), &buf) && S_ISFIFO (buf.st_mode))
- return pclose (f);
-
- return fclose (f);
- }
- return 0;
-}
-
-#endif /* HAVE_POPEN */
-
-/* Called once per program. */
-
-static void
-__bb_exit_trace_func (void)
-{
- FILE *file = fopen ("bb.out", "a");
- struct bb_func *f;
- struct bb *b;
-
- if (!file)
- perror ("bb.out");
-
- if (bb_mode & 1)
- {
- if (!bb_tracefile)
- perror ("bbtrace");
- else
-#ifdef HAVE_POPEN
- gclose (bb_tracefile);
-#else
- fclose (bb_tracefile);
-#endif /* HAVE_POPEN */
- }
-
- /* Check functions in `bb.in'. */
-
- if (file)
- {
- long time_value;
- const struct bb_func *p;
- int printed_something = 0;
- struct bb *ptr;
- long blk;
-
- /* This is somewhat type incorrect. */
- time ((void *) &time_value);
-
- for (p = bb_func_head; p != (struct bb_func *) 0; p = p->next)
- {
- for (ptr = bb_head; ptr != (struct bb *) 0; ptr = ptr->next)
- {
- if (!ptr->filename || (p->filename != (char *) 0 && strcmp (p->filename, ptr->filename)))
- continue;
- for (blk = 0; blk < ptr->ncounts; blk++)
- {
- if (!strcmp (p->funcname, ptr->functions[blk]))
- goto found;
- }
- }
-
- if (!printed_something)
- {
- fprintf (file, "Functions in `bb.in' not executed during basic block profiling on %s\n", ctime ((void *) &time_value));
- printed_something = 1;
- }
-
- fprintf (file, "\tFunction %s", p->funcname);
- if (p->filename)
- fprintf (file, " of file %s", p->filename);
- fprintf (file, "\n" );
-
-found: ;
- }
-
- if (printed_something)
- fprintf (file, "\n");
-
- }
-
- if (bb_mode & 2)
- {
- if (!bb_hashbuckets)
- {
- if (!reported)
- {
- fprintf (stderr, "Profiler: out of memory\n");
- reported = 1;
- }
- return;
- }
-
- else if (file)
- {
- long time_value;
- int i;
- unsigned long addr_max = 0;
- unsigned long cnt_max = 0;
- int cnt_len;
- int addr_len;
-
- /* This is somewhat type incorrect, but it avoids worrying about
- exactly where time.h is included from. It should be ok unless
- a void * differs from other pointer formats, or if sizeof (long)
- is < sizeof (time_t). It would be nice if we could assume the
- use of rationale standards here. */
-
- time ((void *) &time_value);
- fprintf (file, "Basic block jump tracing");
-
- switch (bb_mode & 12)
- {
- case 0:
- fprintf (file, " (with call)");
- break;
-
- case 4:
- /* Print nothing. */
- break;
-
- case 8:
- fprintf (file, " (with call & ret)");
- break;
-
- case 12:
- fprintf (file, " (with ret)");
- break;
- }
-
- fprintf (file, " finished on %s\n", ctime ((void *) &time_value));
-
- for (i = 0; i < BB_BUCKETS; i++)
- {
- struct bb_edge *bucket = bb_hashbuckets[i];
- for ( ; bucket; bucket = bucket->next )
- {
- if (addr_max < bucket->src_addr)
- addr_max = bucket->src_addr;
- if (addr_max < bucket->dst_addr)
- addr_max = bucket->dst_addr;
- if (cnt_max < bucket->count)
- cnt_max = bucket->count;
- }
- }
- addr_len = num_digits (addr_max, 16);
- cnt_len = num_digits (cnt_max, 10);
-
- for ( i = 0; i < BB_BUCKETS; i++)
- {
- struct bb_edge *bucket = bb_hashbuckets[i];
- for ( ; bucket; bucket = bucket->next )
- {
- fprintf (file,
- "Jump from block 0x%.*lx to block 0x%.*lx executed %*lu time(s)\n",
- addr_len, bucket->src_addr,
- addr_len, bucket->dst_addr,
- cnt_len, bucket->count);
- }
- }
-
- fprintf (file, "\n");
-
- }
- }
-
- if (file)
- fclose (file);
-
- /* Free allocated memory. */
-
- f = bb_func_head;
- while (f)
- {
- struct bb_func *old = f;
-
- f = f->next;
- if (old->funcname) free (old->funcname);
- if (old->filename) free (old->filename);
- free (old);
- }
-
- if (bb_stack)
- free (bb_stack);
-
- if (bb_hashbuckets)
- {
- int i;
-
- for (i = 0; i < BB_BUCKETS; i++)
- {
- struct bb_edge *old, *bucket = bb_hashbuckets[i];
-
- while (bucket)
- {
- old = bucket;
- bucket = bucket->next;
- free (old);
- }
- }
- free (bb_hashbuckets);
- }
-
- for (b = bb_head; b; b = b->next)
- if (b->flags) free (b->flags);
-}
-
-/* Called once per program. */
-
-static void
-__bb_init_prg (void)
-{
- FILE *file;
- char buf[BBINBUFSIZE];
- const char *p;
- const char *pos;
- enum bb_func_mode m;
- int i;
-
- /* Initialize destructor. */
- atexit (__bb_exit_func);
-
- if (!(file = fopen ("bb.in", "r")))
- return;
-
- while(fgets (buf, BBINBUFSIZE, file) != 0)
- {
- i = strlen (buf);
- if (buf[i-1] == '\n')
- buf[--i] = '\0';
-
- p = buf;
- if (*p == '-')
- {
- m = TRACE_OFF;
- p++;
- }
- else
- {
- m = TRACE_ON;
- }
- if (!strcmp (p, "__bb_trace__"))
- bb_mode |= 1;
- else if (!strcmp (p, "__bb_jumps__"))
- bb_mode |= 2;
- else if (!strcmp (p, "__bb_hidecall__"))
- bb_mode |= 4;
- else if (!strcmp (p, "__bb_showret__"))
- bb_mode |= 8;
- else
- {
- struct bb_func *f = (struct bb_func *) malloc (sizeof (struct bb_func));
- if (f)
- {
- unsigned long l;
- f->next = bb_func_head;
- if ((pos = strchr (p, ':')))
- {
- if (!(f->funcname = (char *) malloc (strlen (pos+1)+1)))
- continue;
- strcpy (f->funcname, pos+1);
- l = pos-p;
- if ((f->filename = (char *) malloc (l+1)))
- {
- strncpy (f->filename, p, l);
- f->filename[l] = '\0';
- }
- else
- f->filename = (char *) 0;
- }
- else
- {
- if (!(f->funcname = (char *) malloc (strlen (p)+1)))
- continue;
- strcpy (f->funcname, p);
- f->filename = (char *) 0;
- }
- f->mode = m;
- bb_func_head = f;
- }
- }
- }
- fclose (file);
-
-#ifdef HAVE_POPEN
-
- if (bb_mode & 1)
- bb_tracefile = gopen ("bbtrace.gz", "w");
-
-#else
-
- if (bb_mode & 1)
- bb_tracefile = fopen ("bbtrace", "w");
-
-#endif /* HAVE_POPEN */
-
- if (bb_mode & 2)
- {
- bb_hashbuckets = (struct bb_edge **)
- malloc (BB_BUCKETS * sizeof (struct bb_edge *));
- if (bb_hashbuckets)
- /* Use a loop here rather than calling bzero to avoid having to
- conditionalize its existance. */
- for (i = 0; i < BB_BUCKETS; i++)
- bb_hashbuckets[i] = 0;
- }
-
- if (bb_mode & 12)
- {
- bb_stacksize = 10;
- bb_stack = (unsigned long *) malloc (bb_stacksize * sizeof (*bb_stack));
- }
-
- /* Initialize destructor. */
- atexit (__bb_exit_trace_func);
-}
-
-/* Called upon entering a basic block. */
-
-void
-__bb_trace_func (void)
-{
- struct bb_edge *bucket;
-
- MACHINE_STATE_SAVE("1")
-
- if (!bb_callcount || (__bb.blocks->flags && (__bb.blocks->flags[__bb.blockno] & TRACE_OFF)))
- goto skip;
-
- bb_dst = __bb.blocks->addresses[__bb.blockno];
- __bb.blocks->counts[__bb.blockno]++;
-
- if (bb_tracefile)
- {
- fwrite (&bb_dst, sizeof (unsigned long), 1, bb_tracefile);
- }
-
- if (bb_hashbuckets)
- {
- struct bb_edge **startbucket, **oldnext;
-
- oldnext = startbucket
- = & bb_hashbuckets[ (((int) bb_src*8) ^ (int) bb_dst) % BB_BUCKETS ];
- bucket = *startbucket;
-
- for (bucket = *startbucket; bucket;
- oldnext = &(bucket->next), bucket = *oldnext)
- {
- if (bucket->src_addr == bb_src
- && bucket->dst_addr == bb_dst)
- {
- bucket->count++;
- *oldnext = bucket->next;
- bucket->next = *startbucket;
- *startbucket = bucket;
- goto ret;
- }
- }
-
- bucket = (struct bb_edge *) malloc (sizeof (struct bb_edge));
-
- if (!bucket)
- {
- if (!reported)
- {
- fprintf (stderr, "Profiler: out of memory\n");
- reported = 1;
- }
- }
-
- else
- {
- bucket->src_addr = bb_src;
- bucket->dst_addr = bb_dst;
- bucket->next = *startbucket;
- *startbucket = bucket;
- bucket->count = 1;
- }
- }
-
-ret:
- bb_src = bb_dst;
-
-skip:
- ;
-
- MACHINE_STATE_RESTORE("1")
-
-}
-
-/* Called when returning from a function and `__bb_showret__' is set. */
-
-static void
-__bb_trace_func_ret (void)
-{
- struct bb_edge *bucket;
-
- if (!bb_callcount || (__bb.blocks->flags && (__bb.blocks->flags[__bb.blockno] & TRACE_OFF)))
- goto skip;
-
- if (bb_hashbuckets)
- {
- struct bb_edge **startbucket, **oldnext;
-
- oldnext = startbucket
- = & bb_hashbuckets[ (((int) bb_dst * 8) ^ (int) bb_src) % BB_BUCKETS ];
- bucket = *startbucket;
-
- for (bucket = *startbucket; bucket;
- oldnext = &(bucket->next), bucket = *oldnext)
- {
- if (bucket->src_addr == bb_dst
- && bucket->dst_addr == bb_src)
- {
- bucket->count++;
- *oldnext = bucket->next;
- bucket->next = *startbucket;
- *startbucket = bucket;
- goto ret;
- }
- }
-
- bucket = (struct bb_edge *) malloc (sizeof (struct bb_edge));
-
- if (!bucket)
- {
- if (!reported)
- {
- fprintf (stderr, "Profiler: out of memory\n");
- reported = 1;
- }
- }
-
- else
- {
- bucket->src_addr = bb_dst;
- bucket->dst_addr = bb_src;
- bucket->next = *startbucket;
- *startbucket = bucket;
- bucket->count = 1;
- }
- }
-
-ret:
- bb_dst = bb_src;
-
-skip:
- ;
-
-}
-
-/* Called upon entering the first function of a file. */
-
-static void
-__bb_init_file (struct bb *blocks)
-{
-
- const struct bb_func *p;
- long blk, ncounts = blocks->ncounts;
- const char **functions = blocks->functions;
-
- /* Set up linked list. */
- blocks->zero_word = 1;
- blocks->next = bb_head;
- bb_head = blocks;
-
- blocks->flags = 0;
- if (!bb_func_head
- || !(blocks->flags = (char *) malloc (sizeof (char) * blocks->ncounts)))
- return;
-
- for (blk = 0; blk < ncounts; blk++)
- blocks->flags[blk] = 0;
-
- for (blk = 0; blk < ncounts; blk++)
- {
- for (p = bb_func_head; p; p = p->next)
- {
- if (!strcmp (p->funcname, functions[blk])
- && (!p->filename || !strcmp (p->filename, blocks->filename)))
- {
- blocks->flags[blk] |= p->mode;
- }
- }
- }
-
-}
-
-/* Called when exiting from a function. */
-
-void
-__bb_trace_ret (void)
-{
-
- MACHINE_STATE_SAVE("2")
-
- if (bb_callcount)
- {
- if ((bb_mode & 12) && bb_stacksize > bb_callcount)
- {
- bb_src = bb_stack[bb_callcount];
- if (bb_mode & 8)
- __bb_trace_func_ret ();
- }
-
- bb_callcount -= 1;
- }
-
- MACHINE_STATE_RESTORE("2")
-
-}
-
-/* Called when entering a function. */
-
-void
-__bb_init_trace_func (struct bb *blocks, unsigned long blockno)
-{
- static int trace_init = 0;
-
- MACHINE_STATE_SAVE("3")
-
- if (!blocks->zero_word)
- {
- if (!trace_init)
- {
- trace_init = 1;
- __bb_init_prg ();
- }
- __bb_init_file (blocks);
- }
-
- if (bb_callcount)
- {
-
- bb_callcount += 1;
-
- if (bb_mode & 12)
- {
- if (bb_callcount >= bb_stacksize)
- {
- size_t newsize = bb_callcount + 100;
-
- bb_stack = (unsigned long *) realloc (bb_stack, newsize);
- if (! bb_stack)
- {
- if (!reported)
- {
- fprintf (stderr, "Profiler: out of memory\n");
- reported = 1;
- }
- bb_stacksize = 0;
- goto stack_overflow;
- }
- bb_stacksize = newsize;
- }
- bb_stack[bb_callcount] = bb_src;
-
- if (bb_mode & 4)
- bb_src = 0;
-
- }
-
-stack_overflow:;
-
- }
-
- else if (blocks->flags && (blocks->flags[blockno] & TRACE_ON))
- {
- bb_callcount = 1;
- bb_src = 0;
-
- if (bb_stack)
- bb_stack[bb_callcount] = bb_src;
- }
-
- MACHINE_STATE_RESTORE("3")
-}
-
diff --git a/libgloss/mep/mep-gmon.c b/libgloss/mep/mep-gmon.c
deleted file mode 100644
index 72d6369..0000000
--- a/libgloss/mep/mep-gmon.c
+++ /dev/null
@@ -1,411 +0,0 @@
-/*-
- * Copyright (c) 1991, 1998, 2001 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. [rescinded 22 July 1999]
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#ifndef lint
-static char sccsid[] = "@(#)gmon.c 5.3 (Berkeley) 5/22/91";
-#endif /* not lint */
-
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-
-#define GMON_PTR_SIZE 4
-
-struct phdr
- {
- char *lpc; /* base pc address of sample buffer */
- char *hpc; /* max pc address of sampled buffer */
- int ncnt; /* size of sample buffer (plus this header) */
-
- char version[4]; /* version number */
- char profrate[4]; /* profiling clock rate */
- char spare[3*4]; /* reserved */
- };
-
-#define GMONVERSION 0x00051879
-
-/*
- * Histogram counters are unsigned shorts:
- */
-#define HISTCOUNTER unsigned short
-
-/*
- * Fraction of text space to allocate for histogram counters here, 1/2:
- */
-#define HISTFRACTION 2
-
-/*
- * Fraction of text space to allocate for from hash buckets. The
- * value of HASHFRACTION is based on the minimum number of bytes of
- * separation between two subroutine call points in the object code.
- * Given MIN_SUBR_SEPARATION bytes of separation the value of
- * HASHFRACTION is calculated as:
- *
- * HASHFRACTION = MIN_SUBR_SEPARATION / (2 * sizeof(short) - 1);
- *
- * For the VAX, the shortest two call sequence is:
- *
- * calls $0,(r0)
- * calls $0,(r0)
- *
- * which is separated by only three bytes, thus HASHFRACTION is
- * calculated as:
- *
- * HASHFRACTION = 3 / (2 * 2 - 1) = 1
- *
- * Note that the division above rounds down, thus if MIN_SUBR_FRACTION
- * is less than three, this algorithm will not work!
- */
-#define HASHFRACTION 1
-
-/*
- * Percent of text space to allocate for tostructs with a minimum:
- */
-#define ARCDENSITY 2
-#define MINARCS 50
-
-struct tostruct
- {
- char *selfpc;
- int count;
- unsigned short link;
- };
-
-/*
- * A raw arc, with pointers to the calling site and the called site
- * and a count. Everything is defined in terms of characters so
- * as to get a packed representation (otherwise, different compilers
- * might introduce different padding):
- */
-struct rawarc
- {
- unsigned long raw_frompc;
- unsigned long raw_selfpc;
- int raw_count;
- };
-
-/*
- * General rounding functions:
- */
-#define ROUNDDOWN(x,y) (((x)/(y))*(y))
-#define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y))
-
-
-#ifdef __alpha
-extern char *sbrk ();
-#endif
-
- /*
- * froms is actually a bunch of unsigned shorts indexing tos
- */
-static int profiling = 3;
-static unsigned short *froms;
-static struct tostruct *tos = 0;
-static long tolimit = 0;
-static char *s_lowpc = 0;
-static char *s_highpc = 0;
-static unsigned long s_textsize = 0;
-
-static int ssiz;
-static char *sbuf;
-static int s_scale;
- /* see profil(2) where this is describe (incorrectly) */
-#define SCALE_1_TO_1 0x10000L
-
-#define MSG "No space for profiling buffer(s)\n"
-
-#ifndef O_BINARY
-#define O_BINARY 0
-#endif
-
-static void
-moncleanup ()
-{
- int fd;
- int fromindex;
- int endfrom;
- char *frompc;
- int toindex;
- struct rawarc rawarc;
-
- profiling = 1;
- fd = open ("gmon.out", O_WRONLY|O_TRUNC|O_CREAT|O_BINARY, 0666);
- if (fd < 0)
- {
- perror ("mcount: gmon.out");
- return;
- }
-#ifdef DEBUG
- fprintf (stderr, "[mcleanup] sbuf 0x%x ssiz %d\n", sbuf, ssiz);
-#endif /* DEBUG */
- write (fd, sbuf, ssiz);
- endfrom = s_textsize / (HASHFRACTION * sizeof (*froms));
- for (fromindex = 0; fromindex < endfrom; fromindex++)
- {
- if (froms[fromindex] == 0)
- {
- continue;
- }
- frompc = s_lowpc + (fromindex * HASHFRACTION * sizeof (*froms));
- for (toindex = froms[fromindex]; toindex != 0;
- toindex = tos[toindex].link)
- {
-#ifdef DEBUG
- fprintf (stderr,
- "[mcleanup] frompc 0x%x selfpc 0x%x count %d\n",
- frompc, tos[toindex].selfpc, tos[toindex].count);
-#endif /* DEBUG */
- rawarc.raw_frompc = (unsigned long) frompc;
- rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc;
- rawarc.raw_count = tos[toindex].count;
- write (fd, &rawarc, sizeof rawarc);
- }
- }
- close (fd);
-}
-
-static void
-monstartup (lowpc, highpc)
- char *lowpc;
- char *highpc;
-{
- int monsize;
- char *buffer;
- register int o;
-
- atexit (moncleanup);
-
- /*
- * round lowpc and highpc to multiples of the density we're using
- * so the rest of the scaling (here and in gprof) stays in ints.
- */
- lowpc = (char *)
- ROUNDDOWN ((unsigned) lowpc, HISTFRACTION * sizeof (HISTCOUNTER));
- s_lowpc = lowpc;
- highpc = (char *)
- ROUNDUP ((unsigned) highpc, HISTFRACTION * sizeof (HISTCOUNTER));
- s_highpc = highpc;
- s_textsize = highpc - lowpc;
- monsize = (s_textsize / HISTFRACTION) + sizeof (struct phdr);
- buffer = sbrk (monsize);
- if (buffer == (char *) -1)
- {
- write (2, MSG, sizeof (MSG));
- return;
- }
- froms = (unsigned short *) sbrk (s_textsize / HASHFRACTION);
- if (froms == (unsigned short *) -1)
- {
- write (2, MSG, sizeof (MSG));
- froms = 0;
- return;
- }
- tolimit = s_textsize * ARCDENSITY / 100;
- if (tolimit < MINARCS)
- {
- tolimit = MINARCS;
- }
- else if (tolimit > 65534)
- {
- tolimit = 65534;
- }
- tos = (struct tostruct *) sbrk (tolimit * sizeof (struct tostruct));
- if (tos == (struct tostruct *) -1)
- {
- write (2, MSG, sizeof (MSG));
- froms = 0;
- tos = 0;
- return;
- }
- tos[0].link = 0;
- sbuf = buffer;
- ssiz = monsize;
- ((struct phdr *) buffer)->lpc = lowpc;
- ((struct phdr *) buffer)->hpc = highpc;
- ((struct phdr *) buffer)->ncnt = ssiz;
- monsize -= sizeof (struct phdr);
- if (monsize <= 0)
- return;
- o = highpc - lowpc;
- if (monsize < o)
-#if 0
- s_scale = ((float) monsize / o) * SCALE_1_TO_1;
-#else /* avoid floating point */
- {
- int quot = o / monsize;
-
- if (quot >= 0x10000)
- s_scale = 1;
- else if (quot >= 0x100)
- s_scale = 0x10000 / quot;
- else if (o >= 0x800000)
- s_scale = 0x1000000 / (o / (monsize >> 8));
- else
- s_scale = 0x1000000 / ((o << 8) / monsize);
- }
-#endif
- else
- s_scale = SCALE_1_TO_1;
- profiling = 0;
-}
-
-/* These happen to be in the right place because of how crt0 works */
-extern char __attribute__((far)) _start;
-extern char __attribute__((far)) _etext;
-
-void
-__mep_mcount_2 (selfpc, frompcindex)
- char *selfpc;
- unsigned short *frompcindex;
-{
- struct tostruct *top;
- struct tostruct *prevtop;
- long toindex;
- static int initialized = 0;
-
- if (!initialized)
- {
- initialized = 1;
- monstartup (&_start, &_etext);
- }
-
- /*
- * check that we are profiling
- * and that we aren't recursively invoked.
- */
- if (profiling)
- {
- goto out;
- }
- profiling++;
- /*
- * check that frompcindex is a reasonable pc value.
- * for example: signal catchers get called from the stack,
- * not from text space. too bad.
- */
- frompcindex = (unsigned short *) ((long) frompcindex - (long) s_lowpc);
- if ((unsigned long) frompcindex > s_textsize)
- {
- goto done;
- }
- frompcindex =
- &froms[((long) frompcindex) / (HASHFRACTION * sizeof (*froms))];
- toindex = *frompcindex;
- if (toindex == 0)
- {
- /*
- * first time traversing this arc
- */
- toindex = ++tos[0].link;
- if (toindex >= tolimit)
- {
- goto overflow;
- }
- *frompcindex = toindex;
- top = &tos[toindex];
- top->selfpc = selfpc;
- top->count = 1;
- top->link = 0;
- goto done;
- }
- top = &tos[toindex];
- if (top->selfpc == selfpc)
- {
- /*
- * arc at front of chain; usual case.
- */
- top->count++;
- goto done;
- }
- /*
- * have to go looking down chain for it.
- * top points to what we are looking at,
- * prevtop points to previous top.
- * we know it is not at the head of the chain.
- */
- for (; /* goto done */ ;)
- {
- if (top->link == 0)
- {
- /*
- * top is end of the chain and none of the chain
- * had top->selfpc == selfpc.
- * so we allocate a new tostruct
- * and link it to the head of the chain.
- */
- toindex = ++tos[0].link;
- if (toindex >= tolimit)
- {
- goto overflow;
- }
- top = &tos[toindex];
- top->selfpc = selfpc;
- top->count = 1;
- top->link = *frompcindex;
- *frompcindex = toindex;
- goto done;
- }
- /*
- * otherwise, check the next arc on the chain.
- */
- prevtop = top;
- top = &tos[top->link];
- if (top->selfpc == selfpc)
- {
- /*
- * there it is.
- * increment its count
- * move it to the head of the chain.
- */
- top->count++;
- toindex = prevtop->link;
- prevtop->link = top->link;
- top->link = *frompcindex;
- *frompcindex = toindex;
- goto done;
- }
-
- }
-done:
- profiling--;
- /* and fall through */
-out:
- return; /* normal return restores saved registers */
-
-overflow:
- profiling++; /* halt further profiling */
-# define TOLIMIT "mcount: tos overflow\n"
- write (2, TOLIMIT, sizeof (TOLIMIT));
- goto out;
-}
-
-
-
diff --git a/libgloss/mep/min.ld b/libgloss/mep/min.ld
deleted file mode 100644
index 265fb19..0000000
--- a/libgloss/mep/min.ld
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- * Copyright (c) 2000 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-OUTPUT_FORMAT("elf32-mep", "elf32-mep",
- "elf32-mep")
-OUTPUT_ARCH(mep)
-ENTRY(_start)
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x0080000;
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .init :
- {
- KEEP (*(.init))
- } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*)
- . = ALIGN(8);
- *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
- *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
- } =0
- .fini :
- {
- KEEP (*(.fini))
- } =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) }
- .rodata1 : { *(.rodata1) }
-
- __stack_size = 0x100000;
- __stack0 = (__stack - (0 * (__stack_size / 1)) + 15) / 16 * 16;
-
- .rostacktab :
- {
- /* Emit a table describing the location of the different stacks.
- Only 1 processor in the default configuration. */
- . = ALIGN(4);
- __stack_table = .;
- LONG (__stack0);
- }
-
- .sdata2 : { *(.sdata2) *(.sdata2.*) *(.gnu.linkonce.s2.*) }
- .sbss2 : { *(.sbss2) *(.sbss2.*) *(.gnu.linkonce.sb2.*) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- .data :
- {
- __data_start = . ;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) }
- . = ALIGN(4);
- __tpbase = .;
- .based : { *(.based) *(.based.*) *(.gnu.linkonce.based.*) }
- .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) }
- .dynamic : { *(.dynamic) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- . = ALIGN(4);
- __sdabase = . + 0x8000;
- .got : { *(.got.plt) *(.got) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .srodata : { *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*) }
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- .farbss : { PROVIDE (__farbss_start = .); *(.farbss) *(.farbss.*) PROVIDE (__farbss_end = .); }
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
-
- __stack = 0x00effff0;
- PROVIDE (__heap = 0x00f00000);
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mep/read.c b/libgloss/mep/read.c
deleted file mode 100644
index 3cf5f7b..0000000
--- a/libgloss/mep/read.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* read.c -- read characters from file, with hook.
- *
- * Copyright (c) 2003 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-extern int __mep_read(int, unsigned char *, int);
-extern int _ioIn(void) __attribute__((weak));
-
-int
-read(int fd, unsigned char *buf, int count)
-{
- if (fd == 0 && &_ioIn)
- {
- int c = 0;
- while (c < count)
- {
- int ch = _ioIn();
- *buf++ = ch;
- if (ch == -1)
- break;
- c ++;
- }
- return c;
- }
- return __mep_read(fd, buf, count);
-}
diff --git a/libgloss/mep/sbrk.c b/libgloss/mep/sbrk.c
deleted file mode 100644
index 9ec8676..0000000
--- a/libgloss/mep/sbrk.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2003 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-#include <errno.h>
-
-extern int __heap __far; /* beginning of heap */
-extern int __heap_end __far; /* if at address 0, use stack pointer as limit */
-
-static char *the_break = (char *)(& __heap);
-
-int
-is_addr_0 (int address)
-{
- return address ? 0 : 1;
-}
-
-void *
-sbrk(int inc)
-{
- char *current_heap_limit = (char *) (& __heap_end);
-
- /* is_addr_0 avoids optimizing out this block. */
- if (is_addr_0 ((int) current_heap_limit))
- {
- int something;
- int margin = 4096;
- current_heap_limit = (char *) (& something) - margin;
- }
-
- if ((the_break + inc) < current_heap_limit)
- {
- void *rv = (void *) the_break;
- the_break += inc;
- return rv;
- }
- else
- {
- errno = ENOMEM;
- return (void *) -1;
- }
-}
-
-int
-brk (void *ptr)
-{
- the_break = ptr;
- return 0;
-}
diff --git a/libgloss/mep/sdram-crt0.S b/libgloss/mep/sdram-crt0.S
deleted file mode 100644
index b8f7b64..0000000
--- a/libgloss/mep/sdram-crt0.S
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright (c) 2003 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
-# of this license is available at http://www.opensource.org/licenses. Any
-# Red Hat trademarks that are incorporated in the source code or documentation
-# are not subject to the BSD License and may only be used or replicated with
-# the express permission of Red Hat, Inc.
-#
-# Toshiba Media Processor startup file (crt0.S)
-#
-# Designed for user programs running in the 0-2Mb startup section
-# which put interrupt/exception vectors in sdram.
-#
-
-#define NOSIM
-#define UseSDRAM
-#include "sim-crt0.S"
diff --git a/libgloss/mep/sim-crt0.S b/libgloss/mep/sim-crt0.S
deleted file mode 100644
index 02639eb..0000000
--- a/libgloss/mep/sim-crt0.S
+++ /dev/null
@@ -1,499 +0,0 @@
-# Copyright (c) 2003 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of
-# this license is available at http://www.opensource.org/licenses. Any Red Hat
-# trademarks that are incorporated in the source code or documentation are not
-# subject to the BSD License and may only be used or replicated with the express
-# permission of Red Hat, Inc.
-#
-# Toshiba Media Processor startup file (crt0.S)
-#
-# Designed for user programs running in the 0-2Mb startup section.
-# Designed for the simulator by default.
-#
-# Exception/Interrupt Handler Locations
-# CFG.EVM CFG.EVA CFG.IVA Exception INTn
-## 0 - - 0x0000_0000 0x0000_0030 rom
-## 1 0 0 0x0020_0000 0x0020_0030 local RAM / local RAM
-## 1 1 0 0x0080_0000 0x0020_0000 ext RAM / local RAM
-## 1 0 1 0x0020_0000 0x0080_0000 local RAM / ext RAM
-## 1 1 1 0x0080_0000 0x0080_0030 ext RAM / ext RAM
-#
-# Exceptions
-# Reset 0x0000_0000
-# NMI 0x0000_0000+4
-# RI (Base Address) +0x08
-# ZDIV (Base Address) +0x0C
-# BRK (Base Address) +0x10
-# SWI (Base Address) +0x14
-# DSP (Base Address) +0x1C
-# COP (Base Address) +0x20
-
- .set _local_ram_base, 0x00200000
- .set _ext_ram_base, 0x00800000
- .set _int_base_offset, 0x30
-
-#include "syscall.h"
-
-.macro if_bitfield_zero reg, start, length, label
- ldc $0, \reg
- srl $0, \start
- and3 $0, $0, (1 << \length) - 1
- beqz $0,\label
-.endm
-
-.macro if_bitfield_notN reg, start, length, N, label
- ldc $0, \reg
- srl $0, \start
- and3 $0, $0, (1 << \length) - 1
- bnei $0,\N, \label
-.endm
-
-.macro if_bitfield_eqN reg, start, length, N, label
- ldc $0, \reg
- srl $0, \start
- and3 $0, $0, (1 << \length) - 1
- beqi $0,\N, \label
-.endm
-
-.macro if_bitfield_ltN reg, start, length, N, label
- ldc $0, \reg
- srl $0, \start
- and3 $0, $0, (1 << \length) - 1
- blti $0,\N, \label
-.endm
-
- .section .hwinit, "ax"
- # CCFG.ICSZ
- if_bitfield_zero reg=$ccfg, start=16, length=7, label=.Lend_enable_icache
-__enable_icache:
- # set ICE(cfg[1])
- ldc $1,$cfg
- or3 $1,$1,2
- stc $1,$cfg
- nop
- nop
- nop
- nop
- nop
-.Lend_enable_icache:
- ret
-
-__enable_dcache:
- # CCFG.DCSZ
- if_bitfield_zero reg=$ccfg, start=0, length=7, label=.Lend_enable_dcache
- # set DCE(cfg[0])
- ldc $1,$cfg
- or3 $1,$1,1
- stc $1,$cfg
- nop
- nop
- nop
- nop
- nop
- ret
-.Lend_enable_dcache:
-
- .text
-
-#ifdef NOVEC
- .global _reset
-_reset:
-#endif
-
- .global _start
-_start:
- mov $fp, 0 # for unwinding
-
- # $sp set
- movh $sp, %uhi(__stack_table)
- or3 $sp, $sp, %lo(__stack_table)
-
- # initialize sp, gp, tp
- # get CPU ID
- ldc $0, $id
- srl $0, 16
-
- # load ID-specific stack pointer
- sl2ad3 $0, $0, $sp # $0 = ($0 << 2) + $sp
- lw $sp,($0) # $sp = *($0)
- mov $0,0xfffffff8
- and $sp, $0
-
-#ifndef NOVEC
- # copy exception vector table
-
- # RCFG.IRSZ
- if_bitfield_zero reg=$rcfg, start=16, length=7, label=.Lend_ev_imem
- # handle imem
- movh $11,%uhi(_local_ram_base)
- or3 $11,$11,%lo(_local_ram_base)
- # clear CFG.EVA ([23])
- ldc $0,$cfg
- movh $1, %uhi(0xff7fffff)
- or3 $1, $1, %lo(0xff7fffff)
- and $0,$1
- stc $0,$cfg
- bra .Ldo_repeat_ev
-.Lend_ev_imem:
-#ifdef UseSDRAM
- movh $11,%uhi(_ext_ram_base)
- or3 $11,$11,%lo(_ext_ram_base)
- # set CFG.EVA ([23])
- ldc $0,$cfg
- movh $1,%uhi(1<<23)
- or3 $1,$1,%lo(1<<23)
- or $0,$1
- stc $0,$cfg
-#else
- # handle ROM
- bra .Lend_ev
-#endif
-.Ldo_repeat_ev:
- # set CFG.EVM ([4])
- ldc $0,$cfg
- or3 $0,$0,(1<<4)
- stc $0,$cfg
- # copy _exception_table to $11
- movh $12,%uhi(_exception_table)
- or3 $12,$12,%lo(_exception_table)
- mov $13,8
- repeat $13,.Lrepeat_ev
- lw $1,0($12)
- add $12,4
-.Lrepeat_ev:
- sw $1,0($11)
- add $11,4
-.Lend_ev:
-
- # copy interrupt vector table
- # RCFG.IRSZ
- if_bitfield_zero reg=$rcfg, start=16, length=7, label=.Lend_iv_imem
- # handle imem
- movh $11,%uhi(_local_ram_base)
- or3 $11,$11,%lo(_int_base_offset)
- # clear CFG.IVA ([22])
- ldc $0,$cfg
- movh $1,%uhi(0xffbfffff) # ~(1<<22)
- or3 $1,$1,%lo(0xffbfffff)
- and $0,$1
- stc $0,$cfg
- bra .Ldo_repeat_iv
-.Lend_iv_imem:
-#ifdef UseSDRAM
- movh $11,%uhi(_ext_ram_base)
- or3 $11,$11,%lo(_int_base_offset)
- # set CFG. IVA ([22])
- ldc $0,$cfg
- movh $1,%uhi(1<<22)
- or3 $1,$1,%lo(1<<22)
- or $0,$1
- stc $0,$cfg
-#else
- # handle ROM
- bra .Lend_iv
-#endif
-.Ldo_repeat_iv:
- # set CFG.IVM ([3])
- ldc $0,$cfg
- or3 $0,$0,(1<<3)
- stc $0,$cfg
- # copy _interrupt_table to $11
- movh $12,%uhi(_interrupt_table)
- or3 $12,$12,%lo(_interrupt_table)
- mov $13,32
- add $13,-1
- and3 $13,$13,127
- repeat $13,.Lrepeat_iv
- lw $1,0($12)
- add $12,4
-.Lrepeat_iv:
- sw $1,0($11)
- add $11,4
-.Lend_iv:
-
- # initialize instruction cache
- # Icache Size CCFG.ICSZ ([22..16]) KByte
- if_bitfield_zero reg=$ccfg, start=16, length=7, label=.Lend_ic
- mov $3,$0 # cache size in KB
- # ID.ID
- if_bitfield_ltN reg=$ID, start=8, length=8, N=3, label=.Lend_mepc3_ic
- # Line Size CCFG.ICSZ ([26..24]) Byte
- if_bitfield_ltN reg=$ccfg, start=24, length=3, N=2, label=.Lend_ic
- bgei $0,5,.Lend_ic
-
- add3 $1,$0,3 # bit width of line size
- mov $0,$3
- # clear tag
- mov $2,10
- sub $2,$1
- sll $0,$2 # *KByte/(line size)
- add $0,-1
- mov $2,1
- sll $2,$1 # line size
- bra .Ldo_repeat_icache
-.Lend_mepc3_ic:
- # ICache: $0 KByte
- mov $0,$3
- # clear tag
- sll $0,(10-5) # *KByte/(32byte=linesize)
- add $0,-1
- mov $2,32
-.Ldo_repeat_icache:
- mov $1,0
- bra 0f
- # Align this code on an 8 byte boundary in order to keep the repeat
- # loop entirely within the instruction fetch buffer.
- .p2align 3
-0:
- movh $3,%hi(0x00310000) # for tag
- repeat $0,.Lrepeat_icache
- add $0,-1
-.Lrepeat_icache:
- sw $1,0($3)
- add3 $3,$3,$2
-.Lenable_icache:
- movh $1,%hi(__enable_icache)
- add3 $1,$1,%lo(__enable_icache)
- jsr $1
-.Lend_ic:
-
- # initialize data cache
- # Dcache Size CCFG.DCSZ ([6..0]) KByte
- if_bitfield_zero reg=$ccfg, start=0, length=7, label=.Lend_dc
- mov $3,$0 # cache size in KB
- # ID.ID
- if_bitfield_ltN reg=$ID, start=8, length=8, N=3, label=.Lend_mepc3_dc
- # Line Size CCFG.DCSZ ([10..8]) Byte
- if_bitfield_ltN reg=$ccfg, start=8, length=3, N=2, label=.Lend_dc
- bgei $0,5,.Lend_dc
-
- add3 $1,$0,3 # bit width of line size
- mov $0,$3
- # clear tag
- mov $2,10
- sub $2,$1
- sll $0,$2 # *KByte/(line size)
- add $0,-1
- mov $2,1
- sll $2,$1 # line size
- bra .Ldo_repeat_dcache
-.Lend_mepc3_dc:
- # DCache: $0 KByte
- mov $0,$3
- # clear tag
- sll $0,(10-5) # *KByte/(32byte=linesize)
- add $0,-1
- mov $2,32
-.Ldo_repeat_dcache:
- mov $1,0
- movh $3,%hi(0x00330000) # for tag
-
- repeat $0,.Lrepeat_dcache
- add $0,-1
-.Lrepeat_dcache:
- sw $1,0($3)
- add3 $3,$3,$2
-.Lenable_dcache:
- movh $1,%hi(__enable_dcache)
- add3 $1,$1,%lo(__enable_dcache)
- jsr $1
-.Lend_dc:
- # NOVEC
-#endif
- mov $0, 0
-
- movh $gp, %uhi(__sdabase)
- or3 $gp, $gp, %lo(__sdabase)
-
- movh $tp, %uhi(__tpbase)
- or3 $tp, $tp, %lo(__tpbase)
-
- # zero out BSS
- movh $1, %uhi(__bss_start)
- or3 $1, $1, %lo(__bss_start)
- mov $2, 0
- movh $3, %uhi(_end)
- or3 $3, $3, %lo(_end)
- sub $3, $1
- bsr memset
-
- movh $1, %uhi(__sbss_start)
- or3 $1, $1, %lo(__sbss_start)
- mov $2, 0
- movh $3, %uhi(__sbss_end)
- or3 $3, $3, %lo(__sbss_end)
- sub $3, $1
- bsr memset
-
- movh $1, %uhi(__farbss_start)
- or3 $1, $1, %lo(__farbss_start)
- mov $2, 0
- movh $3, %uhi(__farbss_end)
- or3 $3, $3, %lo(__farbss_end)
- sub $3, $1
- bsr memset
-
- # enable interrupts
- ei
-
- # construct global class variables
- bsr __invoke_init_section
-
- # invoke main
- mov $1, 0 # argc, argv, envp
- mov $2, 0
- mov $3, 0
- bsr main
- mov $1, $0
- bsr exit
-
- .global _exit
-_exit:
- # Prevent _exit recursion
- movh $3, %uhi(_exit_in_progress)
- or3 $3, $3, %lo(_exit_in_progress)
- lw $5, ($3)
- bnez $5, _skip_fini
- mov $5, 1
- sw $5, ($3)
-
- # We don't need to preserve $5 because we're going to exit anyway.
- mov $5,$1
-
- # destruct global class variables
- bsr __invoke_fini_section
- mov $1,$5
-
-_skip_fini:
-
-#ifdef NOSIM
-_exit_loop:
- bra _exit_loop
-#else
- .2byte 0x7800 | ((SYS_exit & 0xe) << 7) | ((SYS_exit & 1) << 4)
- ret
-#endif
-
- .data
-_exit_in_progress: .word 0
-
-
-
-# For these two, the epilogue is in crtn.S
-
- .section .init
-__invoke_init_section:
- add $sp, -8
- ldc $0, $lp
- sw $0, ($sp)
-
- .section .fini
-__invoke_fini_section:
- add $sp, -8
- ldc $0, $lp
- sw $0, ($sp)
-
-#ifndef NOVEC
- .section .vec, "ax"
- .core
- .org 0x0, 0
- .global _exception_table
-.type _exception_table,@function
-_exception_table:
- .p2align 2
- .org 0x0000, 0
- .global _reset
-_reset:
- jmp _handler_RESET
- .org 0x0004, 0
- jmp _handler_NMI
- .org 0x0008, 0
- jmp _handler_RI
- .org 0x000c, 0
- jmp _handler_ZDIV
- .org 0x0010, 0
- jmp _handler_BRK
- .org 0x0014, 0
- jmp _handler_SWI
- .org 0x0018, 0
- jmp _handler_DEBUG
- .org 0x001c, 0
- jmp _handler_DSP
- .org 0x0020, 0
- jmp _handler_COP
-
- .org 0x30, 0
- .global _interrupt_table
-.type _interrupt_table,@function
-_interrupt_table:
- .org 0x0030
- jmp _handler_INT0
- .org 0x0034
- jmp _handler_INT1
- .org 0x0038
- jmp _handler_INT2
- .org 0x003c
- jmp _handler_INT3
- .org 0x0040
- jmp _handler_INT4
- .org 0x0044
- jmp _handler_INT5
- .org 0x0048
- jmp _handler_INT6
- .org 0x004c
- jmp _handler_INT7
- .org 0x0050
- jmp _handler_INT8
- .org 0x0054
- jmp _handler_INT9
- .org 0x0058
- jmp _handler_INT10
- .org 0x005c
- jmp _handler_INT11
- .org 0x0060
- jmp _handler_INT12
- .org 0x0064
- jmp _handler_INT13
- .org 0x0068
- jmp _handler_INT14
- .org 0x006c
- jmp _handler_INT15
- .org 0x0070
- jmp _handler_INT16
- .org 0x0074
- jmp _handler_INT17
- .org 0x0078
- jmp _handler_INT18
- .org 0x007c
- jmp _handler_INT19
- .org 0x0080
- jmp _handler_INT20
- .org 0x0084
- jmp _handler_INT21
- .org 0x0088
- jmp _handler_INT22
- .org 0x008c
- jmp _handler_INT23
- .org 0x0090
- jmp _handler_INT24
- .org 0x0094
- jmp _handler_INT25
- .org 0x0098
- jmp _handler_INT26
- .org 0x009c
- jmp _handler_INT27
- .org 0x00a0
- jmp _handler_INT28
- .org 0x00a4
- jmp _handler_INT29
- .org 0x00a8
- jmp _handler_INT30
- .org 0x00ac
- jmp _handler_INT31
- # NOVEC
-#endif
diff --git a/libgloss/mep/sim-crtn.S b/libgloss/mep/sim-crtn.S
deleted file mode 100644
index 373fec2..0000000
--- a/libgloss/mep/sim-crtn.S
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (c) 2003 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of
-# this license is available at http://www.opensource.org/licenses. Any Red Hat
-# trademarks that are incorporated in the source code or documentation are not
-# subject to the BSD License and may only be used or replicated with the express
-# permission of Red Hat, Inc.
-
- .section .init
- lw $1, ($sp)
- stc $1, $lp
- add $sp, 8
- ret
-
- .section .fini
- lw $1, ($sp)
- stc $1, $lp
- add $sp, 8
- ret
diff --git a/libgloss/mep/simnovec-crt0.S b/libgloss/mep/simnovec-crt0.S
deleted file mode 100644
index 1a15f37..0000000
--- a/libgloss/mep/simnovec-crt0.S
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (c) 2003 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
-# of this license is available at http://www.opensource.org/licenses. Any
-# Red Hat trademarks that are incorporated in the source code or documentation
-# are not subject to the BSD License and may only be used or replicated with
-# the express permission of Red Hat, Inc.
-#
-# Toshiba Media Processor startup file (simnovec-crt0.S)
-#
-# Designed for user programs which create their own interrupt/exception vectors.
-#
-
-#define NOVEC
-#include "sim-crt0.S"
diff --git a/libgloss/mep/simple.ld b/libgloss/mep/simple.ld
deleted file mode 100644
index d4b0c20..0000000
--- a/libgloss/mep/simple.ld
+++ /dev/null
@@ -1,279 +0,0 @@
-/******************************************************************************
-begin-header
-
- DO NOT EDIT. THIS FILE IS MACHINE-GENERATED
- FROM THE TEMPLATE FILE gmap_default.ld.
- ALL EDITS WILL BE ERASED WITH NEXT MeP-Integrator RUN.
-
- Custom linker script for the MeP Module simple.
-end-header
-*******************************************************************************/
-
-OUTPUT_FORMAT("elf32-mep", "elf32-mep",
- "elf32-mep")
-OUTPUT_ARCH(mep)
-ENTRY(_reset)
-
-MEMORY
-{
-/* begin-memory */
- VEC (r) : ORIGIN = 0x00000000, LENGTH = 0x000000b8
- VEC_WARM (w) : ORIGIN = 0x00800000, LENGTH = 0x000000b8
- HWINIT (r) : ORIGIN = 0x000000b8, LENGTH = 0x00000148
- ROM (r) : ORIGIN = 0x00000200, LENGTH = 0x001ffe00
- RAM1 (w) : ORIGIN = 0x008000b8, LENGTH = 0x007fff48
-/*RAM2 (w) : ORIGIN = 0x80800000, LENGTH = 0x00800000 */
-/* end-memory */
-}
-
-SECTIONS
-{
- /* Sections to be placed in the vec area. */
- .vec : { *(.vec) } >VEC /* VEC-section */
-
- /* Sections to be placed in the HWINIT area. */
- .hwinit : { *(.hwinit) } >HWINIT /* HWINIT-section */
-
- /* Sections to be placed in the ROM area. */
- .gnu.version : { *(.gnu.version) } >ROM /* ROM-section */
- .gnu.version_d : { *(.gnu.version_d) } >ROM /* ROM-section */
- .gnu.version_r : { *(.gnu.version_r) } >ROM /* ROM-section */
-
- /* Sections to be placed in the romdata.s area. */
- .srodata :
- {
- __sdabase = . + 0x8000;
- *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*)
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.s area. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- } >RAM1 /* DATA-section */
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- /* Assert maximum size */
- __assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
- "tiny section overflow");
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.m area. */
- .data :
- {
- __data_start = . ;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } >RAM1 /* DATA-section */
- .data1 : { *(.data1) } >RAM1 /* DATA-section */
- .eh_frame : { KEEP (*(.eh_frame))} >RAM1 /* DATA-section */
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } >RAM1 /* DATA-section */
- .dynamic : { *(.dynamic) } >RAM1 /* DATA-section */
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >RAM1 /* DATA-section */
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >RAM1 /* DATA-section */
- .jcr :
- {
- . = ALIGN(4);
- *(.jcr)
- } >RAM1 /* DATA-section */
- .got :
- {
- *(.got.plt) *(.got)
- _edata = .;
- PROVIDE (edata = .);
- } >RAM1 /* DATA-section */
- .based :
- {
- __tpbase = .;
- *(.based) *(.based.*) *(.gnu.linkonce.based.*)
- /* Assert maximum size */
- __assert_based_size = ASSERT ((. - __tpbase) <= 0x80,
- "based section overflow");
- } >RAM1 /* DATA-section */
-
- .bss :
- {
- __bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- _end = .;
- PROVIDE (end = .);
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the code.m area. */
- .init :
- {
- KEEP (*(.init))
- } >RAM1 /* CODE-section */
- .plt : { *(.plt) } >RAM1 /* DATA-section */
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } >RAM1 /* CODE-section */ =0
- .vtext ALIGN(8) :
- {
- *(.vtext) *(.vtext.*) *(.gnu.linkonce.v.*)
- } >RAM1 /* CODE-section */
- .fini :
- {
- KEEP (*(.fini))
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- } >RAM1 /* CODE-section */ =0
-
- /* Sections to be placed in the romdata.m area. */
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } >RAM1 /* DATA-section */
- .rodata1 : { *(.rodata1) } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the code.l area. */
- .ftext : { *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*) } >RAM1 /* CODE-section */
- .vftext ALIGN(8) :
- {
- *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
- } >RAM1 /* CODE-section */
-
- /* Sections to be placed in the romdata.l area. */
- .frodata :
- {
- *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
- __assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
- } >RAM1 /* DATA-section */
-
- /* Sections to be placed in the data.l area. */
- .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) } >RAM1 /* DATA-section */
- .farbss :
- { PROVIDE (__farbss_start = .);
- *(.farbss) *(.farbss.*)
- PROVIDE (__farbss_end = .);
- } >RAM1 /* DATA-section */
-
- /* END-mep-sections */
-
- .vec_warm :
- {
- /* vec_warm is a place for the startup code to write the interrupt
- vectors. Allow 0xb8 bytes of space aligned on a 4 byte boundary. */
- . = ALIGN(4);
- vec_warm = .;
- . += 0xb8;
- } >VEC_WARM
-
- /* begin-stack-table */
- __stack1 = (__stack - (0 * (__stack_size / 2)) + 15) / 16 * 16;
- __stack2 = (__stack - (1 * (__stack_size / 2)) + 15) / 16 * 16;
-
- .rostacktab :
- {
- /* Emit a table describing the location of the different stacks. */
- . = ALIGN(4);
- __stack_table = .;
- LONG (__stack2);
- LONG (__stack1);
- LONG (__stack2);
- __stack_end = .;
- } >RAM1
- /* end-stack-table */
-
- /* begin-heap */
- /* End of DATA is 0x008000b8 + 0x007fff48. That's where the heap will end. */
- __heap_end = 0x008000b8 + 0x007fff48 - 1;
- /* end-heap */
-
- /* Default stack size is 1M. That's where the heap will start if there's
- room. If there's not enough room, allocate half of the remaining space
- for stack and half for heap. Align the heap on a 16 byte boundary. */
- __stack_size = (__stack_end + 0x100000 <= __heap_end + 1
- ? 0x100000
- : ((__heap_end + 1 - __stack_end) / 2));
- __heap = (__stack_end + __stack_size + 15) / 16 * 16;
-
- /* Leave 16 bytes between the stack and the heap. */
- __stack = __heap - 0x10;
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mep/simsdram-crt0.S b/libgloss/mep/simsdram-crt0.S
deleted file mode 100644
index 66a7291..0000000
--- a/libgloss/mep/simsdram-crt0.S
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (c) 2003 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied
-# warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
-# of this license is available at http://www.opensource.org/licenses. Any
-# Red Hat trademarks that are incorporated in the source code or documentation
-# are not subject to the BSD License and may only be used or replicated with
-# the express permission of Red Hat, Inc.
-#
-# Toshiba Media Processor startup file (simsdram-crt0.S)
-#
-# Designed for user programs which put interrupt/exception vectors in sdram.
-#
-
-#define UseSDRAM
-#include "sim-crt0.S"
diff --git a/libgloss/mep/syscalls.S b/libgloss/mep/syscalls.S
deleted file mode 100644
index 7f0eed4..0000000
--- a/libgloss/mep/syscalls.S
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2003 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-#include "syscall.h"
-
-/* Return ABI: $1 is errno, $0 is return value. */
-
-#define S(n) \
- .global n ; .weak n ; n: ; \
- .2byte 0x7800 | ((SYS_##n & 0xe) << 7) | ((SYS_##n & 1) << 4) ; bra sysret
-
- .text
-
-#define SYS___mep_write SYS_write
-#define SYS___mep_read SYS_read
-#define SYS__Sid_config SYS_reconfig
-
-S(open)
-S(close)
-S(__mep_read)
-S(__mep_write)
-S(lseek)
-S(unlink)
-S(getpid)
-S(kill)
-S(fstat)
-
-/* ARGV support. */
-S(argvlen)
-S(argv)
-
-/* These are extras added for one reason or another. */
-S(chdir)
-S(stat)
-S(chmod)
-S(utime)
-S(time)
-S(gettimeofday)
-S(times)
-S(link)
-S(_Sid_config)
-
-sysret:
- add3 $sp, $sp, -16
- sw $0, 0($sp)
- sw $1, 4($sp)
- ldc $2, $lp
- sw $2, 8($sp)
- bsr __errno
- lw $1, 4($sp)
- sw $1, ($0)
- lw $0, 0($sp)
- lw $2, 8($sp)
- stc $2, $lp
- add3 $sp, $sp, 16
- ret
diff --git a/libgloss/mep/write.c b/libgloss/mep/write.c
deleted file mode 100644
index cb06719..0000000
--- a/libgloss/mep/write.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* write.c -- write characters to file, with hook.
- *
- * Copyright (c) 2003 Red Hat, Inc. All rights reserved.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the BSD
- * License. This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY expressed or implied, including the implied
- * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy
- * of this license is available at http://www.opensource.org/licenses. Any
- * Red Hat trademarks that are incorporated in the source code or documentation
- * are not subject to the BSD License and may only be used or replicated with
- * the express permission of Red Hat, Inc.
- */
-
-extern int __mep_write(int, unsigned char *, int);
-extern void _ioOut(int) __attribute__((weak));
-
-int
-write(int fd, unsigned char *buf, int count)
-{
- if ((fd == 1 || fd == 2) && &_ioOut)
- {
- int c = count;
- while (c > 0)
- {
- c --;
- _ioOut(*buf++);
- }
- return count;
- }
- return __mep_write(fd, buf, count);
-}
diff --git a/libgloss/microblaze/Makefile.in b/libgloss/microblaze/Makefile.in
deleted file mode 100644
index fe04a08..0000000
--- a/libgloss/microblaze/Makefile.in
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 2007, 2009 Xilinx, Inc. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# 1. Redistributions source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-#
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# 3. Neither the name of Xilinx nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Makefile for libgloss/microblaze. This is the board support
-# code for the various microblaze targets.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = qrv
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT = crt0.o crt1.o crt2.o crt3.o crt4.o crtinit.o pgcrtinit.o sim-crtinit.o sim-pgcrtinit.o
-LIB = libgloss.a
-GENOBJS = fstat.o getpid.o isatty.o kill.o lseek.o print.o putnum.o stat.o unlink.o \
- open.o close.o read.o write.o
-OBJS = ${GENOBJS} sbrk.o timer.o _exception_handler.o _hw_exception_handler.o \
- _interrupt_handler.o _program_clean.o _program_init.o \
- xil_malloc.o xil_sbrk.o xil_printf.o
-SCRIPTS = xilinx.ld
-
-# Tiny Linux BSP.
-LINUX_BSP = libgloss-linux.a
-CRT += linux-crt0.o
-LINUX_OBJS = linux-syscalls.o linux-syscalls-wrap.o
-LINUX_OBJS += linux-outbyte.o linux-inbyte.o
-LINUX_SCRIPTS = elf-gloss-linux.specs
-
-CPU = @CPU@
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: ${CRT} ${LIB} ${LINUX_BSP}
-
-install: ${CRT} ${LIB} install-linux
- @for crt in ${CRT}; do \
- $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
- done
- $(INSTALL_PROGRAM) ${LIB} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_PROGRAM) $(srcdir)/${SCRIPTS} $(DESTDIR)$(tooldir)/lib/
-
-install-linux: ${LINUX_BSP}
- $(INSTALL_PROGRAM) ${LINUX_BSP} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-crt0.o: crt0.S
-crt1.o: crt1.S
-crt2.o: crt2.S
-crt3.o: crt3.S
-crt4.o: crt4.S
-linux-crt0.o: linux-crt0.S
-crtinit.o: crtinit.S
-sim-crtinit.o: sim-crtinit.S
-sim-pgcrtinit.o: sim-pgcrtinit.S
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-clean mostlyclean:
- rm -f *.o *.a *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-${LIB}: ${OBJS}
- ${AR} ${ARFLAGS} $@ ${OBJS}
- ${RANLIB} $@
-
-${LINUX_BSP}: ${LINUX_OBJS}
- ${AR} ${ARFLAGS} $@ ${LINUX_OBJS}
- ${RANLIB} $@
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@ \
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/microblaze/_exception_handler.S b/libgloss/microblaze/_exception_handler.S
deleted file mode 100644
index 59385ad..0000000
--- a/libgloss/microblaze/_exception_handler.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .text
- .align 2
- .weakext _exception_handler
- .ent _exception_handler
- .type _exception_handler, @function
-
- _exception_handler:
- addi r11,r11,8
- bra r11
diff --git a/libgloss/microblaze/_hw_exception_handler.S b/libgloss/microblaze/_hw_exception_handler.S
deleted file mode 100644
index bb729ca..0000000
--- a/libgloss/microblaze/_hw_exception_handler.S
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .text
- .globl _hw_exception_handler # HW Exception Handler Label
- .align 2
-
- _hw_exception_handler:
- rted r17, 0
- nop
diff --git a/libgloss/microblaze/_interrupt_handler.S b/libgloss/microblaze/_interrupt_handler.S
deleted file mode 100644
index 844c7d0..0000000
--- a/libgloss/microblaze/_interrupt_handler.S
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .text
- .globl _interrupt_handler # Interrupt Handler Label
- .align 2
-
- _interrupt_handler:
- rtid r14, 0
- nop
diff --git a/libgloss/microblaze/_program_clean.S b/libgloss/microblaze/_program_clean.S
deleted file mode 100644
index c460594..0000000
--- a/libgloss/microblaze/_program_clean.S
+++ /dev/null
@@ -1,42 +0,0 @@
-## Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-##
-## 1. Redistributions source code must retain the above copyright notice,
-## this list of conditions and the following disclaimer.
-##
-## 2. Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in the
-## documentation and/or other materials provided with the distribution.
-##
-## 3. Neither the name of Xilinx nor the names of its contributors may be
-## used to endorse or promote products derived from this software without
-## specific prior written permission.
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-## IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-## PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-## TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-## LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# _program_clean.s
-#
-# Dummy file to be replaced by LibGen
-#
-
- .text
- .align 2
- .globl _program_clean
- .ent _program_clean
-_program_clean:
- rtsd r15,8
- nop
- .end _program_clean
diff --git a/libgloss/microblaze/_program_init.S b/libgloss/microblaze/_program_init.S
deleted file mode 100644
index 0daa42e..0000000
--- a/libgloss/microblaze/_program_init.S
+++ /dev/null
@@ -1,41 +0,0 @@
-## Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-##
-## 1. Redistributions source code must retain the above copyright notice,
-## this list of conditions and the following disclaimer.
-##
-## 2. Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in the
-## documentation and/or other materials provided with the distribution.
-##
-## 3. Neither the name of Xilinx nor the names of its contributors may be
-## used to endorse or promote products derived from this software without
-## specific prior written permission.
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-## IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-## PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-## TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-## LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# _program_init.s
-#
-# Dummy file to be replaced by LibGen
-
- .text
- .align 2
- .globl _program_init
- .ent _program_init
-_program_init:
- rtsd r15,8
- nop
- .end _program_init
diff --git a/libgloss/microblaze/configure b/libgloss/microblaze/configure
deleted file mode 100644
index 9b2bc7a..0000000
--- a/libgloss/microblaze/configure
+++ /dev/null
@@ -1,3227 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-target_makefile_frag_path
-host_makefile_frag_path
-bsp_prefix
-RANLIB
-LD
-AR
-AS
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
-ac_user_opts='
-enable_option_checking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information."
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.64
-
-Copyright (C) 2009 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.64. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- for ac_t in install-sh install.sh shtool; do
- if test -f "$ac_dir/$ac_t"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/$ac_t -c"
- break 2
- fi
- done
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-LIB_AM_PROG_AS
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.64. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.64,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2009 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || as_fn_error "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES "
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- ;;
-
-
-
- esac
-
-
- case $ac_file$ac_mode in
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit $?
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/microblaze/configure.in b/libgloss/microblaze/configure.in
deleted file mode 100644
index 77aa769..0000000
--- a/libgloss/microblaze/configure.in
+++ /dev/null
@@ -1,60 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-AC_SUBST(bsp_prefix)
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/microblaze/crt0.S b/libgloss/microblaze/crt0.S
deleted file mode 100644
index b39ea90..0000000
--- a/libgloss/microblaze/crt0.S
+++ /dev/null
@@ -1,109 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-
- MicroBlaze Vector Map for standalone executables
-
- Address Vector type Label
- ------- ----------- ------
-
- # 0x00 # (-- IMM --)
- # 0x04 # Reset _start1
-
- # 0x08 # (-- IMM --)
- # 0x0c # Software Exception _exception_handler
-
- # 0x10 # (-- IMM --)
- # 0x14 # Hardware Interrupt _interrupt_handler
-
- # 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
-
- # 0x20 # (-- IMM --)
- # 0x24 # Hardware Exception _hw_exception_handler
-
-*/
-
-
- .globl _start
- .section .vectors.reset, "ax"
- .align 2
- .ent _start
- .type _start, @function
-_start:
- brai _start1
- .end _start
-
- .section .vectors.sw_exception, "ax"
- .align 2
-_vector_sw_exception:
- brai _exception_handler
-
- .section .vectors.interrupt, "ax"
- .align 2
-_vector_interrupt:
- brai _interrupt_handler
-
- .section .vectors.hw_exception, "ax"
- .align 2
-_vector_hw_exception:
- brai _hw_exception_handler
-
- .section .text
- .globl _start1
- .align 2
- .ent _start1
- .type _start1, @function
-_start1:
- la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
- la r2, r0, _SDA2_BASE_
- la r1, r0, _stack-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
-
- brlid r15, _crtinit /* Initialize BSS and run program */
- nop
-
- brlid r15, exit /* Call exit with the return value of main */
- addik r5, r3, 0
-
- /* Control does not reach here */
- .end _start1
-
-
-/*
- _exit
- Our simple _exit
-*/
- .globl _exit
- .align 2
- .ent _exit
- .type _exit, @function
-_exit:
- bri 0
- .end _exit
diff --git a/libgloss/microblaze/crt1.S b/libgloss/microblaze/crt1.S
deleted file mode 100644
index 20323ff..0000000
--- a/libgloss/microblaze/crt1.S
+++ /dev/null
@@ -1,102 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
- MicroBlaze Vector Map for standalone executables
- downloaded and executed with XMDSTUB
-
- Address Vector type Label
- ------- ----------- ------
-
- # 0x00 # (-- IMM --)
- # 0x04 # Reset (-- Don't Care --)
-
- # 0x08 # (-- IMM --)
- # 0x0c # Software Exception _exception_handler
-
- # 0x10 # (-- IMM --)
- # 0x14 # Hardware Interrupt _interrupt_handler
-
- # 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
-
- # 0x20 # (-- IMM --)
- # 0x24 # Hardware Exception _hw_exception_handler
-
-*/
-
-
- .section .vectors.sw_exception, "ax"
- .align 2
-_vector_sw_exception:
- brai _exception_handler
-
- .section .vectors.interrupt, "ax"
- .align 2
-_vector_interrupt:
- brai _interrupt_handler
-
- .section .vectors.hw_exception, "ax"
- .align 2
-_vector_hw_exception:
- brai _hw_exception_handler
-
- .section .text
- .globl _start
- .align 2
- .ent _start
- .type _start, @function
-_start:
- la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
- la r2, r0, _SDA2_BASE_
- la r1, r0, _stack-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
-
- brlid r15, _crtinit /* Initialize BSS and run program */
- nop
-
- brlid r15, exit /* Call exit with the return value of main */
- addik r5, r3, 0
-
- /* Control does not reach here */
- .end _start
-
-
-/*
- _exit
- Our simple _exit
-*/
- .globl _exit
- .align 2
- .ent _exit
- .type _exit, @function
-_exit:
- add r3, r0, r5
- brki r16, 0x4 /* Return to hook in XMDSTUB */
- .end _exit
-
diff --git a/libgloss/microblaze/crt2.S b/libgloss/microblaze/crt2.S
deleted file mode 100644
index e3fb15b..0000000
--- a/libgloss/microblaze/crt2.S
+++ /dev/null
@@ -1,98 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
- MicroBlaze Vector Map for standalone executables that are boot-strapped
-
- Address Vector type Label
- ------- ----------- ------
-
- # 0x00 # (-- IMM --)
- # 0x04 # Reset (-- Don't Care --)
-
- # 0x08 # (-- IMM --)
- # 0x0c # Software Exception _exception_handler
-
- # 0x10 # (-- IMM --)
- # 0x14 # Hardware Interrupt _interrupt_handler
-
- # 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
-
- # 0x20 # (-- IMM --)
- # 0x24 # Hardware Exception _hw_exception_handler
-
-*/
-
- .section .vectors.sw_exception, "ax"
- .align 2
-_vector_sw_exception:
- brai _exception_handler
-
- .section .vectors.interrupt, "ax"
- .align 2
-_vector_interrupt:
- brai _interrupt_handler
-
- .section .vectors.hw_exception, "ax"
- .align 2
-_vector_hw_exception:
- brai _hw_exception_handler
-
- .section .text
- .globl _start
- .align 2
- .ent _start
- .type _start, @function
-_start:
- la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
- la r2, r0, _SDA2_BASE_
- la r1, r0, _stack-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
-
- brlid r15, _crtinit /* Initialize BSS and run program */
- nop
-
- brlid r15, exit /* Call exit with the return value of main */
- addik r5, r3, 0
-
- /* Control does not reach here */
-
- .end _start
-
-/*
- _exit
- Our simple _exit
-*/
- .globl _exit
- .align 2
- .ent _exit
- .type _exit, @function
-_exit:
- bri 0
- .end _exit
diff --git a/libgloss/microblaze/crt3.S b/libgloss/microblaze/crt3.S
deleted file mode 100644
index 452ea52..0000000
--- a/libgloss/microblaze/crt3.S
+++ /dev/null
@@ -1,84 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
- MicroBlaze Vector Map for vector-less ELF images
-
- Address Vector type Label
- ------- ----------- ------
-
- # 0x00 # (-- IMM --)
- # 0x04 # Reset (-- Don't Care --)
-
- # 0x08 # (-- IMM --)
- # 0x0c # Software Exception (-- Don't Care --)
-
- # 0x10 # (-- IMM --)
- # 0x14 # Hardware Interrupt (-- Don't Care --)
-
- # 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
-
- # 0x20 # (-- IMM --)
- # 0x24 # Hardware Exception (-- Don't Care --)
-
-*/
-
-
- .section .text
- .globl _start
- .align 2
- .ent _start
- .type _start, @function
-_start:
- la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
- la r2, r0, _SDA2_BASE_
- la r1, r0, _stack-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
-
- brlid r15, _crtinit /* Initialize BSS and run program */
- nop
-
- brlid r15, exit /* Call exit with the return value of main */
- addik r5, r3, 0
-
- /* Control does not reach here */
- .end _start
-
-
-/*
- _exit
- Our simple _exit
-*/
- .globl _exit
- .align 2
- .ent _exit
- .type _exit, @function
-_exit:
- bri 0
- .end _exit
diff --git a/libgloss/microblaze/crt4.S b/libgloss/microblaze/crt4.S
deleted file mode 100644
index 475acec..0000000
--- a/libgloss/microblaze/crt4.S
+++ /dev/null
@@ -1,86 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
- MicroBlaze Vector Map for Xilkernel ELF process images
-
- Address Vector type Label
- ------- ----------- ------
-
- # 0x00 # (-- IMM --)
- # 0x04 # Reset (-- Don't Care --)
-
- # 0x08 # (-- IMM --)
- # 0x0c # Software Exception (-- Don't Care --)
-
- # 0x10 # (-- IMM --)
- # 0x14 # Hardware Interrupt (-- Don't Care --)
-
- # 0x18 # (-- IMM --)
- # 0x1C # Breakpoint Exception (-- Don't Care --)
-
- # 0x20 # (-- IMM --)
- # 0x24 # Hardware Exception (-- Don't Care --)
-
-*/
-
-
- .section .text
- .globl _start
- .align 2
- .ent _start
- .type _start, @function
-_start:
- la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
- la r2, r0, _SDA2_BASE_
- la r1, r0, _stack-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
-
- brlid r15, _crtinit /* Initialize BSS and run program */
- nop
-
- brlid r15, exit /* Call exit with the return value of main */
- addik r5, r3, 0
-
- /* Control does not reach here */
-
- .end _start
-
-
-/*
- _exit
- Our simple _exit
-*/
- .globl _exit
- .align 2
- .ent _exit
- .type _exit, @function
-_exit:
- brlid r15,elf_process_exit
- nop
- .end _exit
diff --git a/libgloss/microblaze/crtinit.S b/libgloss/microblaze/crtinit.S
deleted file mode 100644
index 78eb76d..0000000
--- a/libgloss/microblaze/crtinit.S
+++ /dev/null
@@ -1,87 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
- .globl _crtinit
- .align 2
- .ent _crtinit
- .type _crtinit, @function
-_crtinit:
- addi r1, r1, -20 /* Save Link register */
- swi r15, r1, 0
-
- addi r6, r0, __sbss_start /* clear SBSS */
- addi r7, r0, __sbss_end
- rsub r18, r6, r7
- blei r18, .Lendsbss
-
-.Lloopsbss:
- swi r0, r6, 0
- addi r6, r6, 4
- rsub r18, r6, r7
- bgti r18, .Lloopsbss
-.Lendsbss:
-
- addi r6, r0, __bss_start /* clear BSS */
- addi r7, r0, __bss_end
- rsub r18, r6, r7
- blei r18, .Lendbss
-.Lloopbss:
- swi r0, r6, 0
- addi r6, r6, 4
- rsub r18, r6, r7
- bgti r18, .Lloopbss
-.Lendbss:
-
- brlid r15, _program_init /* Initialize the program */
- nop
-
- brlid r15, __init /* Invoke language initialization functions */
- nop
-
- addi r6, r0, 0 /* Initialize argc = 1 and argv = NULL and envp = NULL */
- addi r7, r0, 0
- brlid r15, main /* Execute the program */
- addi r5, r0, 0
-
- addik r19, r3, 0 /* Save return value */
-
- brlid r15, __fini /* Invoke language cleanup functions */
- nop
-
- brlid r15, _program_clean /* Cleanup the program */
- nop
-
- lw r15, r1, r0 /* Return back to CRT */
-
- addik r3, r19, 0 /* Restore return value */
- rtsd r15, 8
- addi r1, r1, 20
- .end _crtinit
-
diff --git a/libgloss/microblaze/elf-gloss-linux.ld b/libgloss/microblaze/elf-gloss-linux.ld
deleted file mode 100644
index bb58713..0000000
--- a/libgloss/microblaze/elf-gloss-linux.ld
+++ /dev/null
@@ -1,159 +0,0 @@
-/* Default linker script, for normal executables */
-/*OUTPUT_FORMAT("elf32-microblaze", "", "") */
-/*SEARCH_DIR("/proj/fv1/gnu_builds/head/mb/release/lin/mb/microblaze-xilinx-elf/lib");*/
-/*SEARCH_DIR("/proj/fv1/gnu_builds/head/mb/release/lin/mb/microblaze-xilinx-elf/lib");*/
-OUTPUT_ARCH(microblaze)
-ENTRY(_start)
-_TEXT_START_ADDR = DEFINED(_TEXT_START_ADDR) ? _TEXT_START_ADDR : 0x50;
-
-PHDRS
-{
- text PT_LOAD FILEHDR PHDRS;
- data PT_LOAD;
- bss PT_LOAD;
-}
-
-SECTIONS
-{
- . = SIZEOF_HEADERS;
- _ftext = .;
- .text : {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- } : text
- _etext = .;
- .init : { KEEP (*(.init)) } =0
- .fini : { KEEP (*(.fini)) } =0
- PROVIDE (__CTOR_LIST__ = .);
- PROVIDE (___CTOR_LIST__ = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } : text
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (___CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- PROVIDE (___DTOR_LIST__ = .);
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } : text
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (___DTOR_END__ = .);
- . = ALIGN(4);
- _frodata = . ;
- .rodata : {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- CONSTRUCTORS; /* Is this needed? */
- } : text
- _erodata = .;
- /* New page. */
- . += 0x1000;
- /* Alignments by 8 to ensure that _SDA2_BASE_ on a word boundary */
- /* Note that .sdata2 and .sbss2 must be contiguous */
- . = ALIGN(8);
- _ssrw = .;
- .sdata2 : {
- *(.sdata2)
- *(.sdata2.*)
- *(.gnu.linkonce.s2.*)
- } : data
- . = ALIGN(4);
- .sbss2 : {
- PROVIDE (__sbss2_start = .);
- *(.sbss2)
- *(.sbss2.*)
- *(.gnu.linkonce.sb2.*)
- PROVIDE (__sbss2_end = .);
- } : data
- . = ALIGN(8);
- _essrw = .;
- _ssrw_size = _essrw - _ssrw;
- PROVIDE (_SDA2_BASE_ = _ssrw + (_ssrw_size / 2 ));
- . = ALIGN(4);
- _fdata = .;
- .data : {
- *(.data)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS; /* Is this needed? */
- PROVIDE (__bss_start = .);
- } : data
- _edata = . ;
- /* Added to handle pic code */
- .got : {
- *(.got)
- }
- .got1 : {
- *(.got1)
- }
- .got2 : {
- *(.got2)
- }
- /* Added by Sathya to handle C++ exceptions */
- .eh_frame : {
- *(.eh_frame)
- }
- .jcr : {
- *(.jcr)
- . = ALIGN(4096);
- }
- .gcc_except_table : {
- *(.gcc_except_table)
- }
- . = ALIGN(4096);
- /* Alignments by 8 to ensure that _SDA_BASE_ on a word boundary */
- /* Note that .sdata and .sbss must be contiguous */
- . = ALIGN(8);
- _ssro = .;
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- .sbss : {
- PROVIDE (__sbss_start = .);
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- PROVIDE (__sbss_end = .);
- }
- . = ALIGN(8);
- _essro = .;
- _ssro_size = _essro - _ssro;
- PROVIDE (_SDA_BASE_ = _ssro + (_ssro_size / 2 ));
- . = ALIGN(4);
- _fbss = .;
- .bss : {
- PROVIDE (__bss_start = .);
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(4);
- PROVIDE (__bss_end = .);
- . = ALIGN(4096);
- } : bss
-}
diff --git a/libgloss/microblaze/elf-gloss-linux.specs b/libgloss/microblaze/elf-gloss-linux.specs
deleted file mode 100644
index 1f7cf9e..0000000
--- a/libgloss/microblaze/elf-gloss-linux.specs
+++ /dev/null
@@ -1,14 +0,0 @@
-%rename link old_link
-%rename lib libc
-
-*link:
-%(old_link) -defsym _TEXT_START_ADDR=0x10000 -z max-page-size=4096 -z common-page-size=4096 --no-omagic
-
-*libgloss:
--lgloss-linux
-
-*lib:
--start-group -lgloss-linux -lxil-linux -lc -lm -end-group
-
-*startfile:
-linux-crt0%O%s crtbegin%O%s
diff --git a/libgloss/microblaze/linux-crt0.S b/libgloss/microblaze/linux-crt0.S
deleted file mode 100644
index 8650bb5..0000000
--- a/libgloss/microblaze/linux-crt0.S
+++ /dev/null
@@ -1,58 +0,0 @@
-/* linux-crt0 -- Startup routines for the Linux BSP.
- *
- * Copyright (c) 2011 Edgar E. Iglesias
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- .section .text
- .globl _start
- .ent _start
- .type _start, @function
-_start:
- la r13, r0, _SDA_BASE_
- la r2, r0, _SDA2_BASE_
-
- brlid r15, __init
- nop
-
- lwi r5, r1, 0
- addik r6, r1, 4
-
- # Add argc * 4.
- addk r7, r5, r5
- addk r7, r7, r7
-
- brlid r15, main
- # Now add 4 + r1 (i.e r6) in the delayslot.
- addk r7, r7, r6
-
- brlid r15, exit
- addik r5, r3, 0
- .size _start, . - _start
- .end _start
-
- /* Replacement for the GCC provided crti.S. This one avoids the
- setup of stack protection regs (which result in privilieged
- insn exceptions when running in user-space). */
- .section .init, "ax"
- .global __init
- .align 2
-__init:
- addik r1, r1, -8
- sw r15, r0, r1
-
- .section .fini, "ax"
- .global __fini
- .align 2
-__fini:
- addik r1, r1, -8
- sw r15, r0, r1
diff --git a/libgloss/microblaze/linux-inbyte.c b/libgloss/microblaze/linux-inbyte.c
deleted file mode 100644
index 58fdf19..0000000
--- a/libgloss/microblaze/linux-inbyte.c
+++ /dev/null
@@ -1,6 +0,0 @@
-int inbyte(void)
-{
- char ch = 0;
- read(0, &ch, 1);
- return ch;
-}
diff --git a/libgloss/microblaze/linux-outbyte.c b/libgloss/microblaze/linux-outbyte.c
deleted file mode 100644
index 9d7bc48..0000000
--- a/libgloss/microblaze/linux-outbyte.c
+++ /dev/null
@@ -1,4 +0,0 @@
-void outbyte (unsigned char c)
-{
- _write(1, &c, 1);
-}
diff --git a/libgloss/microblaze/linux-syscalls-wrap.c b/libgloss/microblaze/linux-syscalls-wrap.c
deleted file mode 100644
index bccb016..0000000
--- a/libgloss/microblaze/linux-syscalls-wrap.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-int isatty (int fd) {
- return 1;
-}
diff --git a/libgloss/microblaze/linux-syscalls.S b/libgloss/microblaze/linux-syscalls.S
deleted file mode 100644
index 506de78..0000000
--- a/libgloss/microblaze/linux-syscalls.S
+++ /dev/null
@@ -1,45 +0,0 @@
-/* linux-syscalls - Syscall interface to microblaze linux
- *
- * Copyright (c) 2011 Edgar E. Iglesias
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "linux-syscalls.h"
-
-#define FUNC(name) .type name, %function; name:
-
-#define GLOBAL(name) .global name; FUNC(name)
-#define SIZE(name) .size name, .-name
-
-# define SYSCALL_BODY(name) \
- addik r12, r0, SYS_ ## name; \
- brki r14, 8; \
- rtsd r15, 8; \
- nop;
-
-# define SYSCALL(name) \
- GLOBAL(_ ## name); \
- SYSCALL_BODY(name); \
- SIZE(_ ## name)
-
-SYSCALL(brk)
-SYSCALL(exit)
-SYSCALL(read)
-SYSCALL(write)
-SYSCALL(open)
-SYSCALL(close)
-SYSCALL(lseek)
-SYSCALL(fstat)
-SYSCALL(unlink)
-SYSCALL(getpid)
-SYSCALL(kill)
-SYSCALL(rt_sigaction)
diff --git a/libgloss/microblaze/linux-syscalls.h b/libgloss/microblaze/linux-syscalls.h
deleted file mode 100644
index 3bceca3..0000000
--- a/libgloss/microblaze/linux-syscalls.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/** Linux system call interface for the MicroBlaze processor.
- * Copyright (c) 2009 Edgar E. Iglesias.
- *
- * Permission to use, copy, modify, and distribute this software
- * is freely granted, provided that this notice is preserved.
- */
-
-#define SYS_exit 1
-#define SYS_fork 2
-#define SYS_read 3
-#define SYS_write 4
-#define SYS_open 5
-#define SYS_close 6
-#define SYS_waitpid 7
-#define SYS_creat 8
-#define SYS_link 9
-#define SYS_unlink 10
-#define SYS_execve 11
-#define SYS_chdir 12
-#define SYS_time 13
-
-#define SYS_lseek 19
-#define SYS_getpid 20
-#define SYS_kill 37
-#define SYS_brk 45
-#define SYS_fstat 108
-
-#define SYS_rt_sigaction 174
diff --git a/libgloss/microblaze/pgcrtinit.S b/libgloss/microblaze/pgcrtinit.S
deleted file mode 100644
index fca1bc4..0000000
--- a/libgloss/microblaze/pgcrtinit.S
+++ /dev/null
@@ -1,92 +0,0 @@
-## Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-##
-## 1. Redistributions source code must retain the above copyright notice,
-## this list of conditions and the following disclaimer.
-##
-## 2. Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in the
-## documentation and/or other materials provided with the distribution.
-##
-## 3. Neither the name of Xilinx nor the names of its contributors may be
-## used to endorse or promote products derived from this software without
-## specific prior written permission.
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-## IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-## PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-## TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-## LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
- .globl _crtinit
- .align 2
- .ent _crtinit
-
-_crtinit:
- addi r1, r1, -20 /* Save Link register */
- swi r15, r1, 0
-
- addi r6, r0, __sbss_start /* clear SBSS */
- addi r7, r0, __sbss_end
- rsub r18, r6, r7
- blei r18, .Lendsbss
-
-.Lloopsbss:
- swi r0, r6, 0
- addi r6, r6, 4
- rsub r18, r6, r7
- bgti r18, .Lloopsbss
-.Lendsbss:
-
- addi r6, r0, __bss_start /* clear BSS */
- addi r7, r0, __bss_end
- rsub r18, r6, r7
- blei r18, .Lendbss
-.Lloopbss:
- swi r0, r6, 0
- addi r6, r6, 4
- rsub r18, r6, r7
- bgti r18, .Lloopbss
-.Lendbss:
-
- brlid r15, _program_init /* Initialize the program */
- nop
-
- brlid r15, _profile_init /* Initialize profiling library */
- nop
-
- brlid r15, __init /* Invoke language initialization functions */
- nop
-
- addi r6, r0, 0 /* Initialize argc = 1 and argv = NULL and envp = NULL */
- addi r7, r0, 0
- brlid r15, main /* Execute the program */
- addi r5, r0, 0
-
- addik r19, r3, 0 /* Save return value */
-
- brlid r15, __fini /* Invoke language cleanup functions */
- nop
-
- brlid r15, _profile_clean /* Cleanup profiling library */
- nop
-
- brlid r15, _program_clean /* Cleanup the program */
- nop
-
- lw r15, r1, r0 /* Return back to CRT */
- addik r3, r19, 0 /* Restore return value */
- rtsd r15, 8
- addi r1, r1, 20
- .end _crtinit
-
diff --git a/libgloss/microblaze/sbrk.c b/libgloss/microblaze/sbrk.c
deleted file mode 100644
index 1a506db..0000000
--- a/libgloss/microblaze/sbrk.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/* Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <errno.h>
-
-extern char _heap_start[];
-extern char _heap[];
-extern char _heap_end[];
-
-static char *heap_ptr;
-
-char *sbrk (int nbytes)
-{
- char *base;
-
- if (!heap_ptr)
- heap_ptr = (char *)&_heap;
-
- base = heap_ptr;
- heap_ptr += nbytes;
-
- if (heap_ptr <= ((char *)&_heap_end + 1))
- return base;
- else
- {
- errno = ENOMEM;
- return ((char *)-1);
- }
-}
-
diff --git a/libgloss/microblaze/sim-crtinit.S b/libgloss/microblaze/sim-crtinit.S
deleted file mode 100644
index d2f59fe..0000000
--- a/libgloss/microblaze/sim-crtinit.S
+++ /dev/null
@@ -1,69 +0,0 @@
-## Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-##
-## 1. Redistributions source code must retain the above copyright notice,
-## this list of conditions and the following disclaimer.
-##
-## 2. Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in the
-## documentation and/or other materials provided with the distribution.
-##
-## 3. Neither the name of Xilinx nor the names of its contributors may be
-## used to endorse or promote products derived from this software without
-## specific prior written permission.
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-## IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-## PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-## TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-## LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-#
-# sim-crtinit.s
-#
-# Default second stage of C run-time initialization that does not peform
-# BSS initialization to zero. Typical use is on a simulator.
-#
-
- .globl _crtinit
- .align 2
- .ent _crtinit
-
-_crtinit:
- addi r1, r1, -20 /* Save Link register */
- swi r15, r1, 0
-
- brlid r15, _program_init /* Initialize the program */
- nop
-
- brlid r15, __init /* Invoke language initialization functions */
- nop
-
- addi r6, r0, 0 /* Initialize argc = 1 and argv = NULL and envp = NULL */
- addi r7, r0, 0
- brlid r15, main /* Execute the program */
- addi r5, r0, 0
-
- addik r19, r3, 0 /* Save return value */
-
- brlid r15, __fini /* Invoke language cleanup functions */
- nop
-
- brlid r15, _program_clean /* Cleanup the program */
- nop
-
- lw r15, r1, r0 /* Return back to CRT */
- addik r3, r19, 0 /* Restore return value */
- rtsd r15, 8
- addi r1, r1, 20
- .end _crtinit
-
diff --git a/libgloss/microblaze/sim-pgcrtinit.S b/libgloss/microblaze/sim-pgcrtinit.S
deleted file mode 100644
index 3c6ba83..0000000
--- a/libgloss/microblaze/sim-pgcrtinit.S
+++ /dev/null
@@ -1,72 +0,0 @@
-## Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-##
-## Redistribution and use in source and binary forms, with or without
-## modification, are permitted provided that the following conditions are
-## met:
-##
-## 1. Redistributions source code must retain the above copyright notice,
-## this list of conditions and the following disclaimer.
-##
-## 2. Redistributions in binary form must reproduce the above copyright
-## notice, this list of conditions and the following disclaimer in the
-## documentation and/or other materials provided with the distribution.
-##
-## 3. Neither the name of Xilinx nor the names of its contributors may be
-## used to endorse or promote products derived from this software without
-## specific prior written permission.
-##
-## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-## IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-## PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-## HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-## TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-## LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-## SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# sim-pgcrtinit.s
-#
-# Default second stage of C run-time initialization for use with software
-# intrusive profiling. Does not peform BSS initialization to zero.
-# (Typical use is on a simulator)
-#
-
- .globl _crtinit
- .align 2
- .ent _crtinit
-
-_crtinit:
- addi r1, r1, -20 /* Save Link register */
- swi r15, r1, 0
-
- brlid r15, _program_init /* Initialize the program */
- nop
-
- brlid r15, _profile_init /* Initialize profiling library */
- nop
-
- brlid r15, __init /* Invoke language initialization functions */
- nop
-
- addi r6, r0, 0 /* Initialize argc = 1 and argv = NULL and envp = NULL */
- addi r7, r0, 0
- brlid r15, main /* Execute the program */
- addi r5, r0, 0
-
- brlid r15, __fini /* Invoke language cleanup functions */
- nop
-
- brlid r15, _profile_clean /* Cleanup profiling library */
- nop
-
- brlid r15, _program_clean /* Cleanup the program */
- nop
-
- lw r15, r1, r0 /* Return back to CRT */
- rtsd r15, 8
- addi r1, r1, 20
- .end _crtinit
-
diff --git a/libgloss/microblaze/timer.c b/libgloss/microblaze/timer.c
deleted file mode 100644
index 5a204b1..0000000
--- a/libgloss/microblaze/timer.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#undef TIME
-#undef TIMES
-#define __TIMER_DEF__
-/*#define NO_PRINTF*/
-
-long time(long *p)
-{
- return 0L;
-}
diff --git a/libgloss/microblaze/xil_malloc.c b/libgloss/microblaze/xil_malloc.c
deleted file mode 100644
index dac31ea..0000000
--- a/libgloss/microblaze/xil_malloc.c
+++ /dev/null
@@ -1,804 +0,0 @@
-/* Copyright (c) 1995, 2002, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#ifdef DEBUG
-#include <stdlib.h>
-#include <stddef.h>
-#include <stdio.h>
-#else
-typedef unsigned int size_t;
-#define NULL 0
-#endif
-
-#define sbrk xil_sbrk
-
-/* The only extern functions I need if not printing. */
-extern void* sbrk(size_t incr);
-extern void *memcpy(void *s1, const void *s2, size_t n);
-extern void *memset(void *s, int c, size_t n);
-
-
-typedef unsigned char BOOLEAN;
-const BOOLEAN FALSE=0;
-const BOOLEAN TRUE =1;
-
-#define MIN(a,b) (((a) < (b)) ? (a) : (b))
-#define MAX(a,b) (((a) > (b)) ? (a) : (b))
-
-#define M_DBG_NORMAL 0
-#define M_DBG_PARTIAL 1
-#define M_DBG_FULL 2
-
-/* debugging breakpoint aids */
-static char xil_mem_null_free[] = "xil_mem_null_free";
-static char xil_mem_chkcnt [] = "xil_mem_chkcnt";
-
-/* Flag values describing the state of a memory block.
-/* Indicator for allocated blk */
-#define M_ALLOCEDFLAG 0x5a
-/* End-of-block if debug level */
-#define M_ALLOCED 0xc99cc99c
-/* Free block indicator. */
-#define M_FREEFLAG 0xa5
-/* End-of-block if debug level */
-#define M_FREE 0x9cc99cc9
-/* Zero length block. */
-#define M_ZEROFLAG 0xaa
-
-/* Header of a memory block. */
-typedef unsigned char DATA_T;
-typedef DATA_T * DATA_P;
-struct M_HEADER
-{
- unsigned dbglev:2; /* Debug level this was created with. */
- unsigned size:22; /* Size of block / 8. 32 Meg max. */
- unsigned flag:8; /* Indicates whether allocated or freed. */
-};
-typedef struct M_HEADER* M_HEADERP;
-
-BOOLEAN isalloced(M_HEADERP this)
-{
- return this->flag == M_ALLOCEDFLAG;
-}
-BOOLEAN isfree(M_HEADERP this)
-{
- return this->flag == M_FREEFLAG;
-}
-BOOLEAN iszero(M_HEADERP this)
-{
- return this->flag == M_ZEROFLAG;
-}
-
-void setalloced(M_HEADERP this) { this->flag = M_ALLOCEDFLAG; }
-void setfree(M_HEADERP this) { this->flag = M_FREEFLAG; }
-void setzero(M_HEADERP this) { this->flag = M_ZEROFLAG; }
-
-int getdbglev(M_HEADERP this) { return this->dbglev; }
-void setdbglev(M_HEADERP this, int d) { this->dbglev = d; }
-
-size_t getsize(M_HEADERP this) { return this->size << 3; } /* Alignment is 8. */
-void setsize(M_HEADERP this, size_t s){ this->size = s >> 3; }
-
-DATA_T * getend(M_HEADERP this) { return (((DATA_T *)this)+getsize(this)); }
-
-/* Next pointer is after data in block. */
-M_HEADERP getnext(M_HEADERP this) { return *(((M_HEADERP*)getend(this)) - 1); }
-void setnext(M_HEADERP this, M_HEADERP n) { *(((M_HEADERP*)getend(this)) - 1) = n; }
-
-/* Routines used to set a flag at end of block if debuglevel != normal. */
-/* Sentinel is right BEFORE the next pointer. */
-unsigned long* getsentinel(M_HEADERP this);
-void setsentinel(M_HEADERP this, unsigned long lflag);
-BOOLEAN testsentinel(M_HEADERP this, unsigned long lflag);
-
-/* Routines to handle data. Depend on debug level. */
-DATA_T * getdata(M_HEADERP this) { return (((DATA_T*)this)+sizeof(*this)); }
-size_t getdatasize(M_HEADERP this);
-
-/* Fill data with a pattern. */
-void setdata(M_HEADERP this, int f);
-
-/* Debug routines */
-BOOLEAN checkalloc(M_HEADERP this); /* Is this a valid allocated memory pointer? */
-BOOLEAN checkfree(M_HEADERP this); /* Is this a valid freelist entry? */
-
-
-
-/* Get length of data. */
-size_t
-getdatasize(M_HEADERP this)
-{
- /* By default, size is size of block - size of header. */
- int tmp_size = getsize(this) - sizeof(struct M_HEADER);
-
- if (this->dbglev != M_DBG_NORMAL)
- {
- /* Subtract size of sentinel, and next pointer. */
- tmp_size -= sizeof(long) + sizeof(M_HEADERP);
- /* If only eight bytes, no room for sentinel. */
- if (tmp_size < 0)
- tmp_size = 0;
- }
- else
- {
- /* Free block always has a next pointer. Otherwise not. */
- if (isfree(this))
- tmp_size -= sizeof(M_HEADERP);
- }
- return tmp_size;
-}
-
-/* Set the data buffer to value f. */
-void
-setdata(M_HEADERP this, int f)
-{
- memset(getdata(this), f, getdatasize(this));
-}
-
-/* At the end of the block, there may be a longword with
- special meaning. This is the sentinel. If there is a sentinel,
- there is by definition a next pointer. */
-unsigned long*
-getsentinel(M_HEADERP this)
-{
- DATA_T* addr = (getend(this) - sizeof(M_HEADERP)); /* location of next pointer. */
- if (getdata(this) < addr)
- return ((unsigned long*)addr) - 1; /* Right before next pointer. */
- else
- return NULL; /* Block too small. No room for sent. */
-}
-
-void
-setsentinel(M_HEADERP this, unsigned long lflag)
-{
- unsigned long* addr = getsentinel(this);
- if (addr)
- *addr = lflag;
-}
-
-BOOLEAN
-testsentinel(M_HEADERP this, unsigned long lflag)
-{
- unsigned long* addr = getsentinel(this);
- if (addr)
- return *addr == lflag;
- else
- return TRUE;
-}
-
-/* sizeof(struct M_HEADER)+sizeof(M_HEADERP); Alignment */
-#define M_BLOCKSIZE 8
-/* 4096 / 8; // M_BLOCKSIZE ; Number of freelist entries. */
-#define M_FREESIZE 512
-/* 64 * 1024; Size of incremental memory hunks allocated, */
-#define M_BRKINC 2048
-
-static M_HEADERP freelist[M_FREESIZE]; /* Free list. */
-
-static M_HEADERP alloclist = NULL; /* Pointer to linked list
- of Allocated blocks. */
-static int mdebuglevel = M_DBG_NORMAL;
-
-static DATA_T zerobuf[M_BLOCKSIZE] = { M_ZEROFLAG, M_ZEROFLAG, M_ZEROFLAG,
- M_ZEROFLAG, M_ZEROFLAG, M_ZEROFLAG,
- M_ZEROFLAG, M_ZEROFLAG };
-static M_HEADERP zeroblock = (M_HEADERP)zerobuf;
-
-static unsigned long totalallocated = 0; /* NOT actually malloced, but
- rather the size of the pool. */
-
-static unsigned long totalmalloc = 0; /* Total amount malloced. */
-
-static unsigned long highwater = 0; /* Largest amount of memory
- allocated at any time. */
-static long nummallocs = 0;
-static long numfrees = 0;
-static long numreallocs = 0;
-
-int m_prtflag = 0;
-int m_stopaddr = 0;
-int m_stopcnt = 0;
-int m_reenter = 0;
-static int m_curcount = 0;
-
-M_HEADERP
-getmemblock(size_t n)
-{
- M_HEADERP block = (M_HEADERP) sbrk(n);
- if (block != NULL)
- totalallocated += n;
-
- return block;
-}
-
-
-static BOOLEAN
-die (char* msg)
-{
- mdebuglevel = M_DBG_NORMAL;
-#ifdef DEBUG
- printf ("%s\n", msg);
- exit (1);
-#else
- /* Go into infinite loop. */
- for (;;)
- ;
-#endif
- return FALSE;
-}
-
-int
-getfreeindex(size_t size)
-{
- return MIN(size / M_BLOCKSIZE, M_FREESIZE - 1);
-}
-
-static
-void coalesce(M_HEADERP h)
-{
- /* Coalesce block h with free block any free blocks after it.
- Assumes that H is currently allocated. Sentinel at end is
- set to allocated so if H is free, caller has to fix it. */
- for (;;)
- {
- long i;
- M_HEADERP f;
- M_HEADERP next = (M_HEADERP)getend(h);
-
- if (next || isalloced(next))
- break; /* no more coalscing can be done. */
-
- /* Take it off the free list. */
- i = getfreeindex(getsize(next));
- f = freelist[i];
- if (f == next)
- freelist[i] = getnext(next);
- else
- {
- while (f != NULL && getnext(f) != next)
- f = getnext(f);
-
- /* Didn't find it in the free list. */
- if (f == NULL)
- die ("Coalesce failed.");
-
- setnext(f, getnext(next));
- }
-
- /* Add two blocks together and start over. */
- setsize(h, getsize(h) + getsize(next));
-
- if (getdbglev(h) > M_DBG_NORMAL)
- {
- setsentinel(h, M_ALLOCED);
- }
- } /* forever */
-}
-
-BOOLEAN
-checkalloc(M_HEADERP this)
-{
- if (!isalloced(this))
- return die ("checkalloc: pointer header clobbered.");
-
- if (getdbglev(this) > M_DBG_NORMAL)
- {
- if (!testsentinel(this, M_ALLOCED))
- return die ("checkalloc: pointer length overrun.");
- }
- return TRUE;
-}
-
-BOOLEAN
-checkfree(M_HEADERP this)
-{
- DATA_T *d;
- int i;
- if (!isfree(this))
- die ("checkfree: pointer header clobbered.");
-
- if (getdbglev(this) > M_DBG_NORMAL)
- {
- if (!testsentinel(this, M_FREE))
- die ("checkfree: pointer length overrun.");
-
- d = getdata(this);
- i = getdatasize(this);
- while (i-- > 0) {
- if (*d++ != M_FREEFLAG)
- die("checkfree: freed data clobbered.");
- }
- }
- return TRUE;
-}
-
-static void
-checkfreelist()
-{
- long i;
- for (i = 0; i < M_FREESIZE; i += 1)
- {
- M_HEADERP h = (M_HEADERP) freelist[i];
- while (h != NULL)
- {
- checkfree(h);
- if (i != (M_FREESIZE - 1) && getsize(h) != (i * M_BLOCKSIZE))
- die ("checkfreelist: free list size mismatch.");
- h = getnext(h);
- }
- }
-}
-
-static void
-checkalloclist()
-{
- M_HEADERP a = (M_HEADERP) alloclist;
- while (a != NULL)
- {
- checkalloc(a);
- a = getnext(a);
- }
-}
-
-/* Free a block of memory. This is done by adding to the free list. */
-static void
-addtofreelist (M_HEADERP h)
-{
- long i;
- /* Merge freed blocks together. */
- coalesce(h);
-
- /* link this block to the front of the appropriate free list. */
- i = getfreeindex(getsize(h));
- setnext(h, freelist[i]);
- freelist[i] = h;
-
- /* Set the flag info. */
- setfree(h);
- setdbglev(h, mdebuglevel);
- if (mdebuglevel > M_DBG_NORMAL)
- {
- /* Fill with some meaningful (and testable) data. */
- setdata(h, M_FREEFLAG);
- setsentinel(h, M_FREE);
- }
-}
-
-void
-xil_malloc_verify()
-{
- int i;
- for ( i = 0; i < M_BLOCKSIZE; i += 1)
- {
- if (zerobuf[i] != M_ZEROFLAG)
- die ("malloc_verify: Zero block clobbered.");
- }
- checkfreelist();
- checkalloclist();
-}
-
-void
-xil_malloc_debug (int level)
-{
- mdebuglevel = MAX (M_DBG_NORMAL, MIN (M_DBG_FULL, level));
-}
-
-void*
-xil_malloc (size_t nbytes)
-{
- int i;
- int minf;
- int maxf;
- size_t msize;
- M_HEADERP p;
- M_HEADERP h;
-
- nummallocs += 1;
-
- if (nbytes == 0)
- return getdata(zeroblock);
-
- if (mdebuglevel == M_DBG_FULL)
- {
-#ifdef DEBUG
- static unsigned do_cnt = ~0;
- static unsigned done_cnt = 0;
- if (do_cnt == ~0)
- {
- char *x = (char *)getenv(xil_mem_chkcnt);
- do_cnt = 1;
- if (x)
- do_cnt = atoi(x);
- }
- if (do_cnt == 1 || done_cnt % do_cnt == 0)
- xil_malloc_verify();
- done_cnt++;
-#else
- xil_malloc_verify();
-#endif
- }
-
- nbytes += sizeof (struct M_HEADER);
-
- /* If debug, leave room for flag and next pointer. */
- if (mdebuglevel > M_DBG_NORMAL)
- nbytes += sizeof (long) + sizeof (M_HEADERP*);
-
- /* Round up to allocation unit */
- msize = ((nbytes + M_BLOCKSIZE - 1) / M_BLOCKSIZE) * M_BLOCKSIZE;
-
- /* Look around for a block of approximately the right size. */
- h = NULL;
- minf = getfreeindex(msize);
- maxf = MIN(minf * 2, M_FREESIZE);
-
- for (i = minf; i < M_FREESIZE; i += 1)
- {
- if (i >= maxf)
- i = M_FREESIZE - 1; /* Skip over blocks too large. */
-
- h = freelist[i];
- p = NULL; /* Previous. */
- while (h != NULL)
- {
- if (getsize(h) >= nbytes)
- {
- /* Take h out of linked list */
- if (p)
- setnext(p, getnext(h));
- else
- freelist[i] = getnext(h);
-
- if (!isfree(h))
- die ("malloc: freelist clobbered.\n");
-
- goto gotit;
- }
- else
- {
- p = h;
- h = getnext(h);
- }
- }
- }
-
- /* Didn't find any free pointers. Allocate more heap.
- Round up to next heap increment. */
- i = ((msize + sizeof(long) + M_BRKINC - 1) / M_BRKINC) * M_BRKINC;
- if ((h = getmemblock (i)) == NULL)
- {
-#ifdef DEBUG
- printf ("xil_malloc: Out of dynamic memory.\n");
-#endif
- return NULL;
- }
-
- /* Mark end of block with zero for four bytes so we don't merge next block
- into free list accidentally. */
- setsize(h, i - sizeof(long));
- *((long*)getend(h)) = 0;
-
- gotit:
- /* Merge allocated blocks so we can free a bigger part of what is left! */
- coalesce(h);
- if (getsize(h) >= msize + M_BLOCKSIZE)
- {
- M_HEADERP r;
- int rsize;
- /* add the remainder of this block to the free list. */
- rsize = getsize(h) - msize;
- r = (M_HEADERP) (((DATA_T *)h) + msize);
- setsize (r, rsize);
- setsize (h, msize);
- addtofreelist (r);
- }
-
- setalloced(h);
- setdbglev(h, mdebuglevel);
- if (mdebuglevel > M_DBG_NORMAL)
- {
- // Chain into alloc'd list and set sentinel. */
- setsentinel(h, M_ALLOCED);
- setnext(h, alloclist);
- alloclist = h;
- }
-
-#ifdef DEBUG
- if (!m_reenter && m_prtflag)
- {
- m_reenter = 1;
- printf("%d malloc\n",h+1);
- fflush(stdout);
- if (m_stopaddr)
- {
- if ((DATA_T *)m_stopaddr == getdata(h))
- {
- if (m_stopcnt == ++m_curcount)
- exit(10);
- }
- }
- m_reenter = 0;
- }
-#endif
-
- totalmalloc += getsize(h);
- if (totalmalloc > highwater)
- highwater = totalmalloc;
-
- return getdata(h);
-}
-
-void
-xil_free(void* ap)
-{
- M_HEADERP h;
- numfrees += 1;
-
- if (ap == NULL)
- {
-#ifdef DEBUG
- if (mdebuglevel != M_DBG_NORMAL && getenv(xil_mem_null_free))
- die ("free: tried to free NULL pointer.");
- else
- return; /* Let `em do it. */
-#else
- return;
-#endif
- }
-
- /* Drop through to here if not a smartheap allocation. This
- handles free of both xil_malloc and libc malloc. */
-
- h = (M_HEADERP) (((DATA_T *)ap) - sizeof (struct M_HEADER));
-
- if (h == zeroblock)
- return;
-
-#ifdef DEBUG
- if (!m_reenter && m_prtflag) {
- m_reenter = 1;
- printf("%d mfree\n",h+1);
- fflush(stdout);
- m_reenter = 0;
- }
-#endif
-
- if (!isalloced(h)) {
- if (isfree(h))
- die ("free: tried to free pointer twice.");
- else
- die ("free: tried to free a block not allocated by malloc.");
- return;
- }
-
- if (getdbglev(h) > M_DBG_NORMAL)
- {
- /* Make sure things look reasonable. */
- checkalloc(h);
-
- /* Try to find the pointer in the alloc list. */
- if (alloclist == h)
- alloclist = getnext(h);
- else
- {
- M_HEADERP a = alloclist;
- while (a != NULL && getnext(a) != h)
- a = getnext(a);
-
- /* If a is NULL, debuglevel must have been reset at some point. */
- if (a != NULL)
- setnext(a, getnext(h));
- }
- }
-
- totalmalloc -= getsize(h);
-
- addtofreelist (h);
-
- if (mdebuglevel == M_DBG_FULL)
- {
-#ifdef DEBUG
- static unsigned do_cnt = ~0;
- static unsigned done_cnt = 0;
- if (do_cnt == ~0)
- {
- char *x = (char *)getenv(xil_mem_chkcnt);
- do_cnt = 1;
- if (x)
- do_cnt = atoi(x);
- }
- if (do_cnt == 1 || done_cnt % do_cnt == 0)
- xil_malloc_verify();
- done_cnt++;
-#else
- xil_malloc_verify();
-#endif
- }
-}
-
-unsigned
-xil_msize (void* ap)
-{
- M_HEADERP h = (M_HEADERP) (((DATA_T *)ap) - sizeof (struct M_HEADER));
- return getdatasize(h);
-}
-
-void*
-xil_realloc (void* oldblk, size_t newsize )
-{
- M_HEADERP h;
- size_t oldsize;
- void* newblk;
-
- numreallocs += 1;
-
- if (oldblk == NULL)
- {
- if (mdebuglevel != M_DBG_NORMAL)
- die ("realloc: tried to realloc NULL pointer.");
- else
- return xil_malloc(newsize); /* Don't need to copy anything. */
- }
-
- /* Make sure this is a valid block. */
- h = (M_HEADERP) (((char*)oldblk) - sizeof (struct M_HEADER));
-
- /* if old block was zero bytes, just alloc a new one. */
- if (h == zeroblock)
- return xil_malloc(newsize); /* Source is empty anyway. */
-
- /* If old block was already freed, error. */
- if (isfree(h))
- die ("realloc: tried to realloc freed pointer.");
-
- if (!isalloced(h))
- {
- long* pdesc = *(long**)h; /* Get pointer to the block descriptor. */
- long* pnextdesc = (long*)*pdesc;
- if ((pdesc[1] & ~3) != (long)h) /* Should point back to block. */
- die ("realloc: header clobbered.");
-
- /* This must be a libc block. We need to figure out how big it is.
- Length of block is delta between two descriptors - sizeof (void*). */
-
- oldsize = (size_t) ((pnextdesc[1] & ~3) - (pdesc[1] & ~3)-sizeof(void*));
-
- /* Don't bother to change anything unless there's not enough room. */
- if (oldsize < newsize)
- {
- /* Alloc a new block with our malloc. */
- if ((newblk = xil_malloc(newsize)) == NULL )
- return NULL ;
-
- /* Copy the old data to it. */
- memcpy (newblk, oldblk, (newsize < oldsize) ? newsize : oldsize);
- xil_free(oldblk);
- return newblk;
- }
- }
-
- /* If the new size is bigger than my allocated
- size, or if more than 1/4 of the block would be left free, allocate
- a new block and copy the data. Otherwise, leave well enough alone. */
-
- coalesce(h);
-
- oldsize = getdatasize(h);
-
- if (oldsize < newsize
- || (newsize > (2*M_BLOCKSIZE) && (newsize*4) < (oldsize*3)))
- {
- if (( newblk = xil_malloc( newsize )) == NULL )
- return NULL ;
-
- memcpy (newblk, oldblk, (newsize < oldsize) ? newsize : oldsize);
-
- xil_free (oldblk);
- return newblk;
- }
- else
- return oldblk;
-}
-
-void*
-xil_calloc (size_t number, size_t size)
-{
- long* longptr ;
- void* blockptr ;
- size_t temp = number * size + sizeof (long) - 1;
- temp -= temp % sizeof (long);
-
- blockptr = xil_malloc( temp );
- if ( blockptr != 0 )
- {
- longptr = (long*) blockptr ;
- temp /= sizeof (long);
- while ( temp-- > 0 )
- {
- *longptr++ = 0 ;
- }
- }
- return blockptr ;
-}
-
-#define M_STAT_NORMAL 0
-#define M_STAT_VERBOSE 1
-#define M_STAT_REALLYVERBOSE 2
-
-#ifdef DEBUG
-void
-xil_mstats(int verbosity)
-{
- unsigned long totalfree = 0;
- int i;
- printf("Memory Statics:\n"
- "---------------\n");
- printf(" Number of calls to malloc: %ld.\n", nummallocs);
- printf(" Number of calls to free: %ld.\n", numfrees);
- printf(" Number of calls to realloc: %ld.\n", numreallocs);
- printf(" Total allocated memory: %lu (0x%lx)\n",
- totalallocated, totalallocated);
- printf(" Currently malloced memory: %lu (0x%lx)\n",
- totalmalloc, totalmalloc);
- fflush(stdout);
-
-
- for (i = 0; i < M_FREESIZE; i += 1)
- {
- M_HEADERP h = freelist[i];
- unsigned long numblocks = 0;
- while (h != NULL)
- {
- totalfree += getsize(h);
- numblocks += 1;
- h = getnext(h);
- }
- if (verbosity > M_STAT_NORMAL && numblocks > 0)
- {
- printf(" There are %d blocks on freelist for size %d\n",
- numblocks, i * M_BLOCKSIZE);
- fflush(stdout);
- }
- }
- printf(" Currently free memory: %lu (0x%lx)\n",
- totalfree, totalfree);
- printf(" High water mark: %lu (0x%lx)\n",
- highwater, highwater);
-
- printf("\n");
- fflush(stdout);
-}
-#else
-void
-xil_mstats(int verbosity)
-{
-}
-#endif
diff --git a/libgloss/microblaze/xil_printf.c b/libgloss/microblaze/xil_printf.c
deleted file mode 100644
index f18ee84..0000000
--- a/libgloss/microblaze/xil_printf.c
+++ /dev/null
@@ -1,284 +0,0 @@
-/* Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * 3. Neither the name of Xilinx nor the names of its contributors may be
- * used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include <ctype.h>
-#include <string.h>
-#include <stdarg.h>
-
-extern void outbyte (char);
-
-/*----------------------------------------------------*/
-/* Use the following parameter passing structure to */
-/* make xil_printf re-entrant. */
-/*----------------------------------------------------*/
-typedef struct params_s {
- int len;
- int num1;
- int num2;
- char pad_character;
- int do_padding;
- int left_flag;
-} params_t;
-
-/*---------------------------------------------------*/
-/* The purpose of this routine is to output data the */
-/* same as the standard printf function without the */
-/* overhead most run-time libraries involve. Usually */
-/* the printf brings in many kilobytes of code and */
-/* that is unacceptable in most embedded systems. */
-/*---------------------------------------------------*/
-
-typedef char* charptr;
-typedef int (*func_ptr)(int c);
-
-/*---------------------------------------------------*/
-/* */
-/* This routine puts pad characters into the output */
-/* buffer. */
-/* */
-static void padding( const int l_flag, params_t *par)
-{
- int i;
-
- if (par->do_padding && l_flag && (par->len < par->num1))
- for (i=par->len; i<par->num1; i++)
- outbyte( par->pad_character);
-}
-
-/*---------------------------------------------------*/
-/* */
-/* This routine moves a string to the output buffer */
-/* as directed by the padding and positioning flags. */
-/* */
-static void outs( charptr lp, params_t *par)
-{
- /* pad on left if needed */
- par->len = strlen( lp);
- padding( !(par->left_flag), par);
-
- /* Move string to the buffer */
- while (*lp && (par->num2)--)
- outbyte( *lp++);
-
- /* Pad on right if needed */
- /* CR 439175 - elided next stmt. Seemed bogus. */
- /* par->len = strlen( lp); */
- padding( par->left_flag, par);
-}
-
-/*---------------------------------------------------*/
-/* */
-/* This routine moves a number to the output buffer */
-/* as directed by the padding and positioning flags. */
-/* */
-
-static void outnum( const long n, const long base, params_t *par)
-{
- charptr cp;
- int negative;
- char outbuf[32];
- const char digits[] = "0123456789ABCDEF";
- unsigned long num;
-
- /* Check if number is negative */
- if (base == 10 && n < 0L) {
- negative = 1;
- num = -(n);
- }
- else{
- num = (n);
- negative = 0;
- }
-
- /* Build number (backwards) in outbuf */
- cp = outbuf;
- do {
- *cp++ = digits[(int)(num % base)];
- } while ((num /= base) > 0);
- if (negative)
- *cp++ = '-';
- *cp-- = 0;
-
- /* Move the converted number to the buffer and */
- /* add in the padding where needed. */
- par->len = strlen(outbuf);
- padding( !(par->left_flag), par);
- while (cp >= outbuf)
- outbyte( *cp--);
- padding( par->left_flag, par);
-}
-
-/*---------------------------------------------------*/
-/* */
-/* This routine gets a number from the format */
-/* string. */
-/* */
-static int getnum( charptr* linep)
-{
- int n;
- charptr cp;
-
- n = 0;
- cp = *linep;
- while (isdigit(*cp))
- n = n*10 + ((*cp++) - '0');
- *linep = cp;
- return(n);
-}
-
-/*---------------------------------------------------*/
-/* */
-/* This routine operates just like a printf/sprintf */
-/* routine. It outputs a set of data under the */
-/* control of a formatting string. Not all of the */
-/* standard C format control are supported. The ones */
-/* provided are primarily those needed for embedded */
-/* systems work. Primarily the floaing point */
-/* routines are omitted. Other formats could be */
-/* added easily by following the examples shown for */
-/* the supported formats. */
-/* */
-
-/* void esp_printf( const func_ptr f_ptr,
- const charptr ctrl1, ...) */
-void xil_printf( const charptr ctrl1, ...)
-{
-
- int long_flag;
- int dot_flag;
-
- params_t par;
-
- char ch;
- va_list argp;
- charptr ctrl = ctrl1;
-
- va_start( argp, ctrl1);
-
- for ( ; *ctrl; ctrl++) {
-
- /* move format string chars to buffer until a */
- /* format control is found. */
- if (*ctrl != '%') {
- outbyte(*ctrl);
- continue;
- }
-
- /* initialize all the flags for this format. */
- dot_flag = long_flag = par.left_flag = par.do_padding = 0;
- par.pad_character = ' ';
- par.num2=32767;
-
- try_next:
- ch = *(++ctrl);
-
- if (isdigit(ch)) {
- if (dot_flag)
- par.num2 = getnum(&ctrl);
- else {
- if (ch == '0')
- par.pad_character = '0';
-
- par.num1 = getnum(&ctrl);
- par.do_padding = 1;
- }
- ctrl--;
- goto try_next;
- }
-
- switch (tolower(ch)) {
- case '%':
- outbyte( '%');
- continue;
-
- case '-':
- par.left_flag = 1;
- break;
-
- case '.':
- dot_flag = 1;
- break;
-
- case 'l':
- long_flag = 1;
- break;
-
- case 'd':
- if (long_flag || ch == 'D') {
- outnum( va_arg(argp, long), 10L, &par);
- continue;
- }
- else {
- outnum( va_arg(argp, int), 10L, &par);
- continue;
- }
- case 'x':
- outnum((long)va_arg(argp, int), 16L, &par);
- continue;
-
- case 's':
- outs( va_arg( argp, charptr), &par);
- continue;
-
- case 'c':
- outbyte( va_arg( argp, int));
- continue;
-
- case '\\':
- switch (*ctrl) {
- case 'a':
- outbyte( 0x07);
- break;
- case 'h':
- outbyte( 0x08);
- break;
- case 'r':
- outbyte( 0x0D);
- break;
- case 'n':
- outbyte( 0x0D);
- outbyte( 0x0A);
- break;
- default:
- outbyte( *ctrl);
- break;
- }
- ctrl++;
- break;
-
- default:
- continue;
- }
- goto try_next;
- }
- va_end( argp);
-}
-
-/*---------------------------------------------------*/
diff --git a/libgloss/microblaze/xil_sbrk.c b/libgloss/microblaze/xil_sbrk.c
deleted file mode 100644
index 582f585..0000000
--- a/libgloss/microblaze/xil_sbrk.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Copyright (c) 1995, 2002, 2009 Xilinx, Inc. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- 1. Redistributions source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of Xilinx nor the names of its contributors may be
- used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#define sbrk xil_sbrk
-
-char memblk[65536];
-int memindex = 0;
-
-void *
-sbrk(int size)
-{
- int oldindex;
- oldindex = memindex;
- memindex += size;
- if (memindex >= 65536)
- return 0;
- return (void *)(&memblk[oldindex]);
-}
diff --git a/libgloss/microblaze/xilinx.ld b/libgloss/microblaze/xilinx.ld
deleted file mode 100644
index 7789ea9..0000000
--- a/libgloss/microblaze/xilinx.ld
+++ /dev/null
@@ -1,178 +0,0 @@
-/* Default linker script, for normal executables */
-/*SEARCH_DIR("/proj/fv1/gnu_builds/head/mb/release/lin/mb/microblaze-xilinx-elf/lib");*/
-/*SEARCH_DIR("/proj/fv1/gnu_builds/head/mb/release/lin/mb/microblaze-xilinx-elf/lib");*/
-ENTRY(_start)
-_TEXT_START_ADDR = DEFINED(_TEXT_START_ADDR) ? _TEXT_START_ADDR : 0x50;
-_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 0x0;
-_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 0x400;
-SECTIONS
-{
- .vectors.reset 0x0 : { KEEP (*(.vectors.reset)) } = 0
- .vectors.sw_exception 0x8 : { KEEP (*(.vectors.sw_exception)) } = 0
- .vectors.interrupt 0x10 : { KEEP (*(.vectors.interrupt)) } = 0
- .vectors.debug_sw_break 0x18 : { KEEP (*(.vectors.debug_sw_break)) } = 0
- .vectors.hw_exception 0x20 : { KEEP (*(.vectors.hw_exception)) } = 0
- . = _TEXT_START_ADDR;
- _ftext = .;
- .text : {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- }
- _etext = .;
- .init : { KEEP (*(.init)) } =0
- .fini : { KEEP (*(.fini)) } =0
- PROVIDE (__CTOR_LIST__ = .);
- PROVIDE (___CTOR_LIST__ = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (___CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- PROVIDE (___DTOR_LIST__ = .);
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (___DTOR_END__ = .);
- . = ALIGN(4);
- _frodata = . ;
- .rodata : {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- CONSTRUCTORS; /* Is this needed? */
- }
- _erodata = .;
- /* Alignments by 8 to ensure that _SDA2_BASE_ on a word boundary */
- /* Note that .sdata2 and .sbss2 must be contiguous */
- . = ALIGN(8);
- _ssrw = .;
- .sdata2 : {
- *(.sdata2)
- *(.sdata2.*)
- *(.gnu.linkonce.s2.*)
- }
- . = ALIGN(4);
- .sbss2 : {
- PROVIDE (__sbss2_start = .);
- *(.sbss2)
- *(.sbss2.*)
- *(.gnu.linkonce.sb2.*)
- PROVIDE (__sbss2_end = .);
- }
- . = ALIGN(8);
- _essrw = .;
- _ssrw_size = _essrw - _ssrw;
- PROVIDE (_SDA2_BASE_ = _ssrw + (_ssrw_size / 2 ));
- . = ALIGN(4);
- _fdata = .;
- .data : {
- *(.data)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS; /* Is this needed? */
- }
- _edata = . ;
- /* Added to handle pic code */
- .got : {
- *(.got)
- }
- .got1 : {
- *(.got1)
- }
- .got2 : {
- *(.got2)
- }
- /* Added by Sathya to handle C++ exceptions */
- .eh_frame : {
- *(.eh_frame)
- }
- .jcr : {
- *(.jcr)
- }
- .gcc_except_table : {
- *(.gcc_except_table)
- }
- /* Alignments by 8 to ensure that _SDA_BASE_ on a word boundary */
- /* Note that .sdata and .sbss must be contiguous */
- . = ALIGN(8);
- _ssro = .;
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- .sbss : {
- PROVIDE (__sbss_start = .);
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- PROVIDE (__sbss_end = .);
- }
- . = ALIGN(8);
- _essro = .;
- _ssro_size = _essro - _ssro;
- PROVIDE (_SDA_BASE_ = _ssro + (_ssro_size / 2 ));
- . = ALIGN(4);
- _fbss = .;
- .bss : {
- PROVIDE (__bss_start = .);
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(4);
- PROVIDE (__bss_end = .);
- }
-
- . = ALIGN(4);
- .heap : {
- _heap = .;
- _heap_start = .;
- . += _HEAP_SIZE;
- _heap_end = .;
- }
-
- . = ALIGN(4);
- .stack : {
- _stack_end = .;
- . += _STACK_SIZE;
- . = ALIGN(8);
- _stack = .;
- _end = .;
- }
-
- .tdata : {
- *(.tdata)
- *(.tdata.*)
- *(.gnu.linkonce.td.*)
- }
- .tbss : {
- *(.tbss)
- *(.tbss.*)
- *(.gnu.linkonce.tb.*)
- }
-}
diff --git a/libgloss/mips/Makefile.in b/libgloss/mips/Makefile.in
deleted file mode 100644
index d96478d..0000000
--- a/libgloss/mips/Makefile.in
+++ /dev/null
@@ -1,260 +0,0 @@
-# Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = @crt0@
-PCRT0 = @pcrt0@
-GENOBJS = syscalls.o fstat.o getpid.o isatty.o kill.o \
- lseek.o print.o putnum.o stat.o unlink.o
-GENOBJS2 = open.o close.o read.o write.o
-IDTOBJS = idtmon.o @part_specific_obj@ ${GENOBJS}
-PMONOBJS = pmon.o @part_specific_obj@ ${GENOBJS}
-LSIOBJS = lsipmon.o @part_specific_obj@ ${GENOBJS}
-DVEOBJS = dvemon.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
-JMR3904OBJS = jmr3904-io.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
-CFEOBJS = cfe.o cfe_api.o cfe_mem.o @part_specific_obj@ ${GENOBJS} ${GENOBJS2}
-CYGMONOBJS = open.o close.o cygmon.o @part_specific_obj@ ${GENOBJS}
-
-# Nullmon cannot support read and write, but the test cases pull them in via libs
-NULLMONOBJS = nullmon.o @part_specific_obj@ ${GENOBJS}
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = @script_list@
-BSP = @bsp_list@
-
-PART_SPECIFIC_DEFINES = @part_specific_defines@
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} ${PCRT0} test.o ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-mipsidt.o: $(IDTOBJS)
- ${LD} -r $(IDTOBJS) -o $@
-
-mipspmon.o: $(PMONOBJS)
- ${LD} -r $(PMONOBJS) -o $@
-
-mipslsi.o: $(PMONOBJS)
- ${LD} -r $(LSIOBJS) -o $@
-
-libidt.a: $(IDTOBJS)
- ${AR} ${ARFLAGS} $@ $(IDTOBJS)
- ${RANLIB} $@
-
-libpmon.a: $(PMONOBJS)
- ${AR} ${ARFLAGS} $@ $(PMONOBJS)
- ${RANLIB} $@
-
-liblsi.a: $(LSIOBJS)
- ${AR} ${ARFLAGS} $@ $(LSIOBJS)
- ${RANLIB} $@
-
-libdve.a: $(DVEOBJS)
- ${AR} ${ARFLAGS} $@ $(DVEOBJS)
- ${RANLIB} $@
-
-libjmr3904.a: $(JMR3904OBJS)
- ${AR} ${ARFLAGS} $@ $(JMR3904OBJS)
- ${RANLIB} $@
-
-libcygmon.a: $(CYGMONOBJS)
- ${AR} ${ARFLAGS} $@ $(CYGMONOBJS)
- ${RANLIB} $@
-
-libcfe.a: $(CFEOBJS)
- ${AR} ${ARFLAGS} $@ $(CFEOBJS)
- ${RANLIB} $@
-
-# nullmon.a , This is what you want if you want crt0 but NO mon services
-# Supports GDB sim testing, board bringups, ICE operation.
-libnullmon.a: $(NULLMONOBJS)
- ${AR} ${ARFLAGS} $@ $(NULLMONOBJS)
- ${RANLIB} $@
-
-
-# compile a fully linked binary. The -Wl,-T*.ld is for the linker
-# script. By using -Wl, the linker script is put on the proper place
-# in the comand line for ld, and all the symbols will get fully
-# resolved.
-
-test: $(OBJS) ${BSP} pmon-test idt-test cfe-test
- @echo Done...
-
-dtor.o: $(srcdir)/dtor.C
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -o $@ -c $<
-dtor.x: dtor.o ${CRT0} ${srcdir}/pmon.ld Makefile libpmon.a
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- dtor.o -o $@ $(NEWLIB_LDFLAGS) -N -Wl,-Tpmon.ld
-
-pmon-test.x: test.o ${CRT0} Makefile libpmon.a
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Tpmon.ld
-pmon-test.srec: pmon-test.x
- $(OBJCOPY) -O srec pmon-test.x $@
-pmon-test.dis: pmon-test.x
- @rm -fr pmon-test.dis
- $(OBJDUMP) -d pmon-test.x > $@
-pmon-test: pmon-test.srec pmon-test.dis
-
-idt-test.x: test.o ${CRT0} Makefile libidt.a
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Tidt.ld
-idt-test.srec: idt-test.x
- $(OBJCOPY) -O srec idt-test.x $@
-idt-test.dis: idt-test.x
- @rm -fr idt-test.dis
- $(OBJDUMP) -d idt-test.x > $@
-idt-test: idt-test.srec idt-test.dis
-
-cfe-test.x: test.o ${CRT0} Makefile libcfe.a
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Tcfe.ld
-cfe-test.srec: cfe-test.x
- $(OBJCOPY) -O srec cfe-test.x $@
-cfe-test.dis: cfe-test.x
- @rm -fr cfe-test.dis
- $(OBJDUMP) -d cfe-test.x > $@
-cfe-test: cfe-test.srec cfe-test.dis
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- @for file in $(CRT0) $(PCRT0) $(BSP); do \
- $(INSTALL_DATA) $${file} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${file}; \
- done
- @for script in ${SCRIPTS}; do\
- $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-
-# these are for the BSPs
-crt0.o: ${srcdir}/crt0.S
-pcrt0.o: ${srcdir}/crt0.S
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) -DGCRT0 ${srcdir}/crt0.S -o ${PCRT0}
-crt0_cfe.o: ${srcdir}/crt0_cfe.S
-crt0_cygmon.o: ${srcdir}/crt0_cygmon.S
-idtmon.o: ${srcdir}/idtmon.S
-pmon.o: ${srcdir}/pmon.S
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) $(PART_SPECIFIC_DEFINES) ${srcdir}/pmon.S -o pmon.o
-vr4300.o: ${srcdir}/vr4300.S
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/vr4300.S
-vr5xxx.o: ${srcdir}/vr5xxx.S
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/vr5xxx.S
-lsipmon.o: $(srcdir)/lsipmon.S $(srcdir)/pmon.S
-jmr3904-io.o: ${srcdir}/jmr3904-io.c
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/jmr3904-io.c -o $@
-cfe.o: ${srcdir}/cfe.c ${srcdir}/cfe_api.h
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe.c -o $@
-cfe_api.o: ${srcdir}/cfe_api.c ${srcdir}/cfe_api.h ${srcdir}/cfe_api_int.h
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe_api.c -o $@
-cfe_mem.o: ${srcdir}/cfe_mem.c ${srcdir}/cfe_api.h
- $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) ${srcdir}/cfe_mem.c -o $@
-
-# cma101 can not be compiled mips16, if a mips16 version is needed then
-# it will have to be built, then this rule can be scrapped, allowing
-# the implicit rule to run.
-cma101.o: ${srcdir}/cma101.c
- $(CC) -c $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) $(CFLAGS) -mno-mips16 ${srcdir}/cma101.c
-
-# cygmon can not be compiled as mips16 since it uses the syscall instruction
-cygmon.o: ${srcdir}/cygmon.c
- $(CC) -c $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) $(CFLAGS) -mno-mips16 ${srcdir}/cygmon.c
-
-syscalls.o: ${srcdir}/syscalls.c
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mips/aclocal.m4 b/libgloss/mips/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/mips/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mips/array-io.c b/libgloss/mips/array-io.c
deleted file mode 100644
index 5c1d96f..0000000
--- a/libgloss/mips/array-io.c
+++ /dev/null
@@ -1,68 +0,0 @@
-/* array-io.c -- I/O code for the Array Tech RAID disk controller.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "mips.h"
-
-/*
- * outbyte -- shove a byte out the serial port. We wait till the byte
- */
-int
-outbyte(byte)
- unsigned char byte;
-{
- return (PUTCHAR(byte));
-}
-
-/*
- * inbyte -- get a byte from the serial port
- */
-unsigned char
-inbyte()
-{
- return ((unsigned char)GETCHAR);
-}
-
-/*
- * led_putnum -- print a hex number on the LED. the value of num must be a byte.
-
- * The max number 15, since the front panel only has 4 LEDs.
- */
-void
-led_putnum ( num )
-char num;
-{
- print ("Sorry, unimplemented, using putnum instead\r\n");
- putnum (num);
-}
-
-/*
- * zylons -- draw a rotating pattern. NOTE: this function never returns.
- */
-void
-zylons()
-{
- print ("Sorry, unimplemented\r\n");
-}
-
-/*
- * delay -- a really gross, ugly hack for simple time delays
- */
-void
-delay (x)
- int x;
-{
- int y = 17;
- while (x-- !=0)
- y = y^2;
-}
diff --git a/libgloss/mips/array.ld b/libgloss/mips/array.ld
deleted file mode 100644
index fc4cc8f..0000000
--- a/libgloss/mips/array.ld
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- * memory map assumed by prom and standalone system
- *
- * physical kseg1 use
- *
- * 0x1fc20000 0xbfc20000
- * to prom text and read-only data
- * 0x1fc00000 0xbfc00000 (in cpu board "prom space")
- *
- * (Top of RAM - 8K) downward sash and standalone program stack
- * | ( - 8K to preserve kernel message bufs)
- * V (standalone programs grow their stack
- * immediately below sash's stack)
- *
- * ^
- * |
- * 0x00100000 0xa0100000 upward sash program text, data, and bss
- *
- * ^
- * |
- * 0x00020000 0xa0020000 upward standalone program text, data, and bss
- * (kernel is loaded here, also)
- *
- * 0x0001ffff 0xa001ffff downward dbgmon stack
- * |
- * V
- *
- * ^
- * |
- * 0x00010000 0xa0010000 upward dbgmon text, data, and bss
- *
- * 0x0000ffff 0xa000ffff downward prom monitor stack
- * |
- * V
- *
- * ^
- * |
- * 0x00000500 0xa0000500 upward prom monitor bss
- *
- * 0x000004ff 0xa00004ff
- * to restart block
- * 0x00000400 0xa0000400
- *
- * 0x000003ff 0xa00003ff
- * to general exception code
- * 0x00000080 0xa0000080 (note cpu addresses as 0x80000080!)
- *
- * 0x0000007f 0xa000007f
- * to utlbmiss exception code
- * 0x00000000 0xa0000000 (note cpu addresses as 0x80000000!)
- */
-
-/* Uncomment this if you want srecords.
-OUTPUT_FORMAT(srec)
- */
-ENTRY(start)
-STARTUP(crt0.o)
-INPUT(array.o)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- *
-PROVIDE (__stack = 1M - 8);
- */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- _gp = ALIGN(16) + 0x8000;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
- end = .;
- _end = .;
-}
diff --git a/libgloss/mips/cfe.c b/libgloss/mips/cfe.c
deleted file mode 100644
index c1d8af5..0000000
--- a/libgloss/mips/cfe.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/* cfe.c -- I/O code for the MIPS boards running CFE. */
-
-/*
- * Copyright 2001, 2002, 2003
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- */
-
-#include "cfe_api.h"
-
-void *__libcfe_init (long handle, long a1, long cfe_entrypoint, long a3);
-void __libcfe_exit (long status);
-
-char inbyte (void);
-int outbyte (char c);
-
-/* Echo input characters? */
-int __libcfe_echo_input = 0;
-
-/* CFE handle used to access console device. */
-static int cfe_conshandle;
-
-
-/* Initialize firmware callbacks. Called from crt0_cfe. Returns desired
- stack pointer. */
-void *
-__libcfe_init (long handle, long a1, long entrypoint, long a3)
-{
- cfe_init (handle, entrypoint);
- cfe_conshandle = cfe_getstdhandle (CFE_STDHANDLE_CONSOLE);
-
- __libcfe_meminit ();
- return __libcfe_stack_top ();
-}
-
-/* Exit back to monitor, with the given status code. */
-void
-__libcfe_exit (long status)
-{
- outbyte ('\r');
- outbyte ('\n');
- cfe_exit (CFE_FLG_WARMSTART, status);
-}
-
-char
-inbyte (void)
-{
- unsigned char c;
- int rv;
-
- while (cfe_read (cfe_conshandle, &c, 1) != 1)
- ;
- if (c == '\r')
- c = '\n';
- if (__libcfe_echo_input)
- outbyte (c);
- return c;
-}
-
-int
-outbyte (char c)
-{
- int res;
-
- do
- {
- res = cfe_write (cfe_conshandle, &c, 1);
- }
- while (res == 0);
- if (c == '\n')
- outbyte ('\r');
- return 0;
-}
-
-/* This is the MIPS cache flush function call. No defines are provided
- by libgloss for 'cache', and CFE doesn't let you flush ranges, so
- we just flush all I & D for every call. */
-int
-_flush_cache (char *addr, int nbytes, int cache)
-{
- cfe_flushcache (0);
- return 0;
-}
diff --git a/libgloss/mips/cfe.ld b/libgloss/mips/cfe.ld
deleted file mode 100644
index 58e8014..0000000
--- a/libgloss/mips/cfe.ld
+++ /dev/null
@@ -1,173 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0_cfe.o)
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lcfe -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- . = ALIGN(32);
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/cfe_api.c b/libgloss/mips/cfe_api.c
deleted file mode 100644
index ab5ac90..0000000
--- a/libgloss/mips/cfe_api.c
+++ /dev/null
@@ -1,534 +0,0 @@
-/* From: CFE Id: cfe_api.c,v 1.16 2002/07/09 23:29:11 cgd Exp $ */
-
-/*
- * Copyright 2000, 2001, 2002
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/* *********************************************************************
- *
- * Broadcom Common Firmware Environment (CFE)
- *
- * Device Function stubs File: cfe_api.c
- *
- * This module contains device function stubs (small routines to
- * call the standard "iocb" interface entry point to CFE).
- * There should be one routine here per iocb function call.
- *
- * Authors: Mitch Lichtenberg, Chris Demetriou
- *
- ********************************************************************* */
-
-#include "cfe_api.h"
-#include "cfe_api_int.h"
-
-/* Cast from a native pointer to a cfe_xptr_t and back. */
-#define XPTR_FROM_NATIVE(n) ((cfe_xptr_t) (intptr_t) (n))
-#define NATIVE_FROM_XPTR(x) ((void *) (intptr_t) (x))
-
-#ifdef CFE_API_IMPL_NAMESPACE
-#define cfe_iocb_dispatch(a) __cfe_iocb_dispatch(a)
-#endif
-int cfe_iocb_dispatch(cfe_xiocb_t *xiocb);
-
-#if defined(CFE_API_common) || defined(CFE_API_ALL)
-/*
- * Declare the dispatch function with args of "intptr_t".
- * This makes sure whatever model we're compiling in
- * puts the pointers in a single register. For example,
- * combining -mlong64 and -mips1 or -mips2 would lead to
- * trouble, since the handle and IOCB pointer will be
- * passed in two registers each, and CFE expects one.
- */
-
-static int (*cfe_dispfunc)(intptr_t handle, intptr_t xiocb) = 0;
-static cfe_xuint_t cfe_handle = 0;
-
-int
-cfe_init(cfe_xuint_t handle, cfe_xuint_t ept)
-{
- cfe_dispfunc = NATIVE_FROM_XPTR(ept);
- cfe_handle = handle;
- return 0;
-}
-
-int
-cfe_iocb_dispatch(cfe_xiocb_t *xiocb)
-{
- if (!cfe_dispfunc) return -1;
- return (*cfe_dispfunc)((intptr_t)cfe_handle, (intptr_t)xiocb);
-}
-#endif /* CFE_API_common || CFE_API_ALL */
-
-#if defined(CFE_API_close) || defined(CFE_API_ALL)
-int
-cfe_close(int handle)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_CLOSE;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = handle;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = 0;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-
-}
-#endif /* CFE_API_close || CFE_API_ALL */
-
-#if defined(CFE_API_cpu_start) || defined(CFE_API_ALL)
-int
-cfe_cpu_start(int cpu, void (*fn)(void), long sp, long gp, long a1)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_CPUCTL;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_cpuctl_t);
- xiocb.plist.xiocb_cpuctl.cpu_number = cpu;
- xiocb.plist.xiocb_cpuctl.cpu_command = CFE_CPU_CMD_START;
- xiocb.plist.xiocb_cpuctl.gp_val = gp;
- xiocb.plist.xiocb_cpuctl.sp_val = sp;
- xiocb.plist.xiocb_cpuctl.a1_val = a1;
- xiocb.plist.xiocb_cpuctl.start_addr = (long)fn;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_cpu_start || CFE_API_ALL */
-
-#if defined(CFE_API_cpu_stop) || defined(CFE_API_ALL)
-int
-cfe_cpu_stop(int cpu)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_CPUCTL;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_cpuctl_t);
- xiocb.plist.xiocb_cpuctl.cpu_number = cpu;
- xiocb.plist.xiocb_cpuctl.cpu_command = CFE_CPU_CMD_STOP;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_cpu_stop || CFE_API_ALL */
-
-#if defined(CFE_API_enumenv) || defined(CFE_API_ALL)
-int
-cfe_enumenv(int idx, char *name, int namelen, char *val, int vallen)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_ENV_SET;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_envbuf_t);
- xiocb.plist.xiocb_envbuf.enum_idx = idx;
- xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name);
- xiocb.plist.xiocb_envbuf.name_length = namelen;
- xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(val);
- xiocb.plist.xiocb_envbuf.val_length = vallen;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_enumenv || CFE_API_ALL */
-
-#if defined(CFE_API_enummem) || defined(CFE_API_ALL)
-int
-cfe_enummem(int idx, int flags, cfe_xuint_t *start, cfe_xuint_t *length,
- cfe_xuint_t *type)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_MEMENUM;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = flags;
- xiocb.xiocb_psize = sizeof(xiocb_meminfo_t);
- xiocb.plist.xiocb_meminfo.mi_idx = idx;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
-
- *start = xiocb.plist.xiocb_meminfo.mi_addr;
- *length = xiocb.plist.xiocb_meminfo.mi_size;
- *type = xiocb.plist.xiocb_meminfo.mi_type;
-
- return 0;
-}
-#endif /* CFE_API_enummem || CFE_API_ALL */
-
-#if defined(CFE_API_exit) || defined(CFE_API_ALL)
-int
-cfe_exit(int warm, int status)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_RESTART;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = warm ? CFE_FLG_WARMSTART : 0;
- xiocb.xiocb_psize = sizeof(xiocb_exitstat_t);
- xiocb.plist.xiocb_exitstat.status = status;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_exit || CFE_API_ALL */
-
-#if defined(CFE_API_flushcache) || defined(CFE_API_ALL)
-int
-cfe_flushcache(int flg)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_FLUSHCACHE;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = flg;
- xiocb.xiocb_psize = 0;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_flushcache || CFE_API_ALL */
-
-#if defined(CFE_API_getdevinfo) || defined(CFE_API_ALL)
-int
-cfe_getdevinfo(char *name)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_GETINFO;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_buffer_t);
- xiocb.plist.xiocb_buffer.buf_offset = 0;
- xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name);
- xiocb.plist.xiocb_buffer.buf_length = cfe_strlen(name);
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.plist.xiocb_buffer.buf_devflags;
-}
-#endif /* CFE_API_getdevinfo || CFE_API_ALL */
-
-#if defined(CFE_API_getenv) || defined(CFE_API_ALL)
-int
-cfe_getenv(char *name, char *dest, int destlen)
-{
- cfe_xiocb_t xiocb;
-
- *dest = 0;
-
- xiocb.xiocb_fcode = CFE_CMD_ENV_GET;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_envbuf_t);
- xiocb.plist.xiocb_envbuf.enum_idx = 0;
- xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name);
- xiocb.plist.xiocb_envbuf.name_length = cfe_strlen(name);
- xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(dest);
- xiocb.plist.xiocb_envbuf.val_length = destlen;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_getenv || CFE_API_ALL */
-
-#if defined(CFE_API_getfwinfo) || defined(CFE_API_ALL)
-int
-cfe_getfwinfo(cfe_fwinfo_t *info)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_GETINFO;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_fwinfo_t);
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
-
- info->fwi_version = xiocb.plist.xiocb_fwinfo.fwi_version;
- info->fwi_totalmem = xiocb.plist.xiocb_fwinfo.fwi_totalmem;
- info->fwi_flags = xiocb.plist.xiocb_fwinfo.fwi_flags;
- info->fwi_boardid = xiocb.plist.xiocb_fwinfo.fwi_boardid;
- info->fwi_bootarea_va = xiocb.plist.xiocb_fwinfo.fwi_bootarea_va;
- info->fwi_bootarea_pa = xiocb.plist.xiocb_fwinfo.fwi_bootarea_pa;
- info->fwi_bootarea_size = xiocb.plist.xiocb_fwinfo.fwi_bootarea_size;
-#if 0
- info->fwi_reserved1 = xiocb.plist.xiocb_fwinfo.fwi_reserved1;
- info->fwi_reserved2 = xiocb.plist.xiocb_fwinfo.fwi_reserved2;
- info->fwi_reserved3 = xiocb.plist.xiocb_fwinfo.fwi_reserved3;
-#endif
-
- return 0;
-}
-#endif /* CFE_API_getfwinfo || CFE_API_ALL */
-
-#if defined(CFE_API_getstdhandle) || defined(CFE_API_ALL)
-int
-cfe_getstdhandle(int flg)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_GETHANDLE;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = flg;
- xiocb.xiocb_psize = 0;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.xiocb_handle;
-
-}
-#endif /* CFE_API_getstdhandle || CFE_API_ALL */
-
-#if defined(CFE_API_getticks) || defined(CFE_API_ALL)
-int64_t
-#ifdef CFE_API_IMPL_NAMESPACE
-__cfe_getticks(void)
-#else
-cfe_getticks(void)
-#endif
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_FW_GETTIME;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_time_t);
- xiocb.plist.xiocb_time.ticks = 0;
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.plist.xiocb_time.ticks;
-
-}
-#endif /* CFE_API_getticks || CFE_API_ALL */
-
-#if defined(CFE_API_inpstat) || defined(CFE_API_ALL)
-int
-cfe_inpstat(int handle)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_INPSTAT;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = handle;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_inpstat_t);
- xiocb.plist.xiocb_inpstat.inp_status = 0;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.plist.xiocb_inpstat.inp_status;
-
-}
-#endif /* CFE_API_inpstat || CFE_API_ALL */
-
-#if defined(CFE_API_ioctl) || defined(CFE_API_ALL)
-int
-cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
- int *retlen, cfe_xuint_t offset)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_IOCTL;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = handle;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_buffer_t);
- xiocb.plist.xiocb_buffer.buf_offset = offset;
- xiocb.plist.xiocb_buffer.buf_ioctlcmd = ioctlnum;
- xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
- xiocb.plist.xiocb_buffer.buf_length = length;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (retlen)
- *retlen = xiocb.plist.xiocb_buffer.buf_retlen;
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_ioctl || CFE_API_ALL */
-
-#if defined(CFE_API_open) || defined(CFE_API_ALL)
-int
-cfe_open(char *name)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_OPEN;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_buffer_t);
- xiocb.plist.xiocb_buffer.buf_offset = 0;
- xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name);
- xiocb.plist.xiocb_buffer.buf_length = cfe_strlen(name);
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.xiocb_handle;
-}
-#endif /* CFE_API_open || CFE_API_ALL */
-
-#if defined(CFE_API_read) || defined(CFE_API_ALL)
-int
-cfe_read(int handle, unsigned char *buffer, int length)
-{
- return cfe_readblk(handle, 0, buffer, length);
-}
-#endif /* CFE_API_read || CFE_API_ALL */
-
-#if defined(CFE_API_readblk) || defined(CFE_API_ALL)
-int
-cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_READ;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = handle;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_buffer_t);
- xiocb.plist.xiocb_buffer.buf_offset = offset;
- xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
- xiocb.plist.xiocb_buffer.buf_length = length;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.plist.xiocb_buffer.buf_retlen;
-}
-#endif /* CFE_API_readblk || CFE_API_ALL */
-
-#if defined(CFE_API_setenv) || defined(CFE_API_ALL)
-int
-cfe_setenv(char *name, char *val)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_ENV_SET;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = 0;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_envbuf_t);
- xiocb.plist.xiocb_envbuf.enum_idx = 0;
- xiocb.plist.xiocb_envbuf.name_ptr = XPTR_FROM_NATIVE(name);
- xiocb.plist.xiocb_envbuf.name_length = cfe_strlen(name);
- xiocb.plist.xiocb_envbuf.val_ptr = XPTR_FROM_NATIVE(val);
- xiocb.plist.xiocb_envbuf.val_length = cfe_strlen(val);
-
- cfe_iocb_dispatch(&xiocb);
-
- return xiocb.xiocb_status;
-}
-#endif /* CFE_API_setenv || CFE_API_ALL */
-
-#if (defined(CFE_API_strlen) || defined(CFE_API_ALL)) \
- && !defined(CFE_API_STRLEN_CUSTOM)
-int
-cfe_strlen(char *name)
-{
- int count = 0;
-
- while (*name++)
- count++;
-
- return count;
-}
-#endif /* CFE_API_strlen || CFE_API_ALL */
-
-#if defined(CFE_API_write) || defined(CFE_API_ALL)
-int
-cfe_write(int handle, unsigned char *buffer, int length)
-{
- return cfe_writeblk(handle, 0, buffer, length);
-}
-#endif /* CFE_API_write || CFE_API_ALL */
-
-#if defined(CFE_API_writeblk) || defined(CFE_API_ALL)
-int
-cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
-{
- cfe_xiocb_t xiocb;
-
- xiocb.xiocb_fcode = CFE_CMD_DEV_WRITE;
- xiocb.xiocb_status = 0;
- xiocb.xiocb_handle = handle;
- xiocb.xiocb_flags = 0;
- xiocb.xiocb_psize = sizeof(xiocb_buffer_t);
- xiocb.plist.xiocb_buffer.buf_offset = offset;
- xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
- xiocb.plist.xiocb_buffer.buf_length = length;
-
- cfe_iocb_dispatch(&xiocb);
-
- if (xiocb.xiocb_status < 0)
- return xiocb.xiocb_status;
- return xiocb.plist.xiocb_buffer.buf_retlen;
-}
-#endif /* CFE_API_writeblk || CFE_API_ALL */
diff --git a/libgloss/mips/cfe_api.h b/libgloss/mips/cfe_api.h
deleted file mode 100644
index b79b0a0..0000000
--- a/libgloss/mips/cfe_api.h
+++ /dev/null
@@ -1,231 +0,0 @@
-/* From: CFE Id: cfe_api.h,v 1.29 2002/07/09 23:29:11 cgd Exp $ */
-
-/*
- * Copyright 2000, 2001, 2002
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/* *********************************************************************
- *
- * Broadcom Common Firmware Environment (CFE)
- *
- * Device function prototypes File: cfe_api.h
- *
- * This file contains declarations for doing callbacks to
- * cfe from an application. It should be the only header
- * needed by the application to use this library
- *
- * Authors: Mitch Lichtenberg, Chris Demetriou
- *
- ********************************************************************* */
-
-#ifndef CFE_API_H
-#define CFE_API_H
-
-/*
- * Apply customizations here for different OSes. These need to:
- * * typedef uint64_t, int64_t, intptr_t, uintptr_t.
- * * define cfe_strlen() if use of an existing function is desired.
- * * define CFE_API_IMPL_NAMESPACE if API functions are to use
- * names in the implementation namespace.
- * Also, optionally, if the build environment does not do so automatically,
- * CFE_API_* can be defined here as desired.
- */
-/* Begin customization. */
-#include <stdint.h>
-#include <string.h>
-#define cfe_strlen(s) strlen(s)
-
-#define CFE_API_ALL
-#define CFE_API_IMPL_NAMESPACE
-
-/* Return the stack size to be used for the program. Normally 32KB. The
- normal memory allocator uses the bottom of the stack as its heap limit,
- so if your application uses a lot of stack space define this function
- appropriately to keep the heap from growing into the stack. */
-unsigned long __libcfe_stack_size(void) __attribute__((__weak__));
-
-/* Return the (max address + 1) to be used by this program. (This address
- minus '_end' is used as the heap size, so the address should be in the
- same address space segments as _end. The normal memory allocator
- queries CFE to determine the available memory. */
-void *__libcfe_mem_limit(void) __attribute__((__weak__));
-
-/* If the configuration ability provided by __libcfe_mem_limit() and
- __libcfe_stack_size() do not provide enough flexibility for your
- application's memory allocation needs, you can replace the normal
- low-level allocator by providing the functions listed below and
- also the function:
-
- void *sbrk(ptrdiff_t incr);
-
- If you provide any of these functions, you should provide all three,
- and be sure to link them into your application as a .o file (rather
- than a .a).
-
- __libcfe_meminit() is responsible for initializing the low-level
- memory allocator.
-
- __libcfe_stack_top() returns a pointer to the top (highest address;
- the stack grows down from that address) of the stack to be used by
- the program. */
-void __libcfe_meminit (void);
-void *__libcfe_stack_top (void);
-
-/* End customization. */
-
-
-/* *********************************************************************
- * Constants
- ********************************************************************* */
-
-/* Seal indicating CFE's presence, passed to user program. */
-#define CFE_EPTSEAL 0x43464531
-
-#define CFE_MI_RESERVED 0 /* memory is reserved, do not use */
-#define CFE_MI_AVAILABLE 1 /* memory is available */
-
-#define CFE_FLG_WARMSTART 0x00000001
-#define CFE_FLG_FULL_ARENA 0x00000001
-#define CFE_FLG_ENV_PERMANENT 0x00000001
-
-#define CFE_CPU_CMD_START 1
-#define CFE_CPU_CMD_STOP 0
-
-#define CFE_STDHANDLE_CONSOLE 0
-
-#define CFE_DEV_NETWORK 1
-#define CFE_DEV_DISK 2
-#define CFE_DEV_FLASH 3
-#define CFE_DEV_SERIAL 4
-#define CFE_DEV_CPU 5
-#define CFE_DEV_NVRAM 6
-#define CFE_DEV_CLOCK 7
-#define CFE_DEV_OTHER 8
-#define CFE_DEV_MASK 0x0F
-
-#define CFE_CACHE_FLUSH_D 1
-#define CFE_CACHE_INVAL_I 2
-#define CFE_CACHE_INVAL_D 4
-#define CFE_CACHE_INVAL_L2 8
-
-#define CFE_FWI_64BIT 0x00000001
-#define CFE_FWI_32BIT 0x00000002
-#define CFE_FWI_RELOC 0x00000004
-#define CFE_FWI_UNCACHED 0x00000008
-#define CFE_FWI_MULTICPU 0x00000010
-#define CFE_FWI_FUNCSIM 0x00000020
-#define CFE_FWI_RTLSIM 0x00000040
-
-typedef struct {
- int64_t fwi_version; /* major, minor, eco version */
- int64_t fwi_totalmem; /* total installed mem */
- int64_t fwi_flags; /* various flags */
- int64_t fwi_boardid; /* board ID */
- int64_t fwi_bootarea_va; /* VA of boot area */
- int64_t fwi_bootarea_pa; /* PA of boot area */
- int64_t fwi_bootarea_size; /* size of boot area */
-} cfe_fwinfo_t;
-
-
-/*
- * cfe_strlen is handled specially: If already defined, it has been
- * overridden in this environment with a standard strlen-like function.
- */
-#ifdef cfe_strlen
-# define CFE_API_STRLEN_CUSTOM
-#else
-# ifdef CFE_API_IMPL_NAMESPACE
-# define cfe_strlen(a) __cfe_strlen(a)
-# endif
-int cfe_strlen(char *name);
-#endif
-
-/*
- * Defines and prototypes for functions which take no arguments.
- */
-#ifdef CFE_API_IMPL_NAMESPACE
-int64_t __cfe_getticks(void);
-#define cfe_getticks() __cfe_getticks()
-#else
-int64_t cfe_getticks(void);
-#endif
-
-/*
- * Defines and prototypes for the rest of the functions.
- */
-#ifdef CFE_API_IMPL_NAMESPACE
-#define cfe_close(a) __cfe_close(a)
-#define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e)
-#define cfe_cpu_stop(a) __cfe_cpu_stop(a)
-#define cfe_enumenv(a,b,d,e,f) __cfe_enumenv(a,b,d,e,f)
-#define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e)
-#define cfe_exit(a,b) __cfe_exit(a,b)
-#define cfe_flushcache(a) __cfe_cacheflush(a)
-#define cfe_getdevinfo(a) __cfe_getdevinfo(a)
-#define cfe_getenv(a,b,c) __cfe_getenv(a,b,c)
-#define cfe_getfwinfo(a) __cfe_getfwinfo(a)
-#define cfe_getstdhandle(a) __cfe_getstdhandle(a)
-#define cfe_init(a,b) __cfe_init(a,b)
-#define cfe_inpstat(a) __cfe_inpstat(a)
-#define cfe_ioctl(a,b,c,d,e,f) __cfe_ioctl(a,b,c,d,e,f)
-#define cfe_open(a) __cfe_open(a)
-#define cfe_read(a,b,c) __cfe_read(a,b,c)
-#define cfe_readblk(a,b,c,d) __cfe_readblk(a,b,c,d)
-#define cfe_setenv(a,b) __cfe_setenv(a,b)
-#define cfe_write(a,b,c) __cfe_write(a,b,c)
-#define cfe_writeblk(a,b,c,d) __cfe_writeblk(a,b,c,d)
-#endif /* CFE_API_IMPL_NAMESPACE */
-
-int cfe_close(int handle);
-int cfe_cpu_start(int cpu, void (*fn)(void), long sp, long gp, long a1);
-int cfe_cpu_stop(int cpu);
-int cfe_enumenv(int idx, char *name, int namelen, char *val, int vallen);
-int cfe_enummem(int idx, int flags, uint64_t *start, uint64_t *length,
- uint64_t *type);
-int cfe_exit(int warm,int status);
-int cfe_flushcache(int flg);
-int cfe_getdevinfo(char *name);
-int cfe_getenv(char *name, char *dest, int destlen);
-int cfe_getfwinfo(cfe_fwinfo_t *info);
-int cfe_getstdhandle(int flg);
-int cfe_init(uint64_t handle,uint64_t ept);
-int cfe_inpstat(int handle);
-int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
- int length, int *retlen, uint64_t offset);
-int cfe_open(char *name);
-int cfe_read(int handle, unsigned char *buffer, int length);
-int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
-int cfe_setenv(char *name, char *val);
-int cfe_write(int handle, unsigned char *buffer, int length);
-int cfe_writeblk(int handle, int64_t offset, unsigned char *buffer,
- int length);
-
-#endif /* CFE_API_H */
diff --git a/libgloss/mips/cfe_api_int.h b/libgloss/mips/cfe_api_int.h
deleted file mode 100644
index 618211a..0000000
--- a/libgloss/mips/cfe_api_int.h
+++ /dev/null
@@ -1,168 +0,0 @@
-/* From: CFE Id: cfe_api_int.h,v 1.21 2002/07/09 23:29:11 cgd Exp $ */
-
-/*
- * Copyright 2000, 2001, 2002
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/* *********************************************************************
- *
- * Broadcom Common Firmware Environment (CFE)
- *
- * Device function prototypes File: cfe_api_int.h
- *
- * This header defines all internal types and macros for the
- * library. This is stuff that's not exported to an app
- * using the library.
- *
- * Authors: Mitch Lichtenberg, Chris Demetriou
- *
- ********************************************************************* */
-
-#ifndef CFE_API_INT_H
-#define CFE_API_INT_H
-
-/* *********************************************************************
- * Constants
- ********************************************************************* */
-
-#define CFE_CMD_FW_GETINFO 0
-#define CFE_CMD_FW_RESTART 1
-#define CFE_CMD_FW_BOOT 2
-#define CFE_CMD_FW_CPUCTL 3
-#define CFE_CMD_FW_GETTIME 4
-#define CFE_CMD_FW_MEMENUM 5
-#define CFE_CMD_FW_FLUSHCACHE 6
-
-#define CFE_CMD_DEV_GETHANDLE 9
-#define CFE_CMD_DEV_ENUM 10
-#define CFE_CMD_DEV_OPEN 11
-#define CFE_CMD_DEV_INPSTAT 12
-#define CFE_CMD_DEV_READ 13
-#define CFE_CMD_DEV_WRITE 14
-#define CFE_CMD_DEV_IOCTL 15
-#define CFE_CMD_DEV_CLOSE 16
-#define CFE_CMD_DEV_GETINFO 17
-
-#define CFE_CMD_ENV_ENUM 20
-#define CFE_CMD_ENV_GET 22
-#define CFE_CMD_ENV_SET 23
-#define CFE_CMD_ENV_DEL 24
-
-#define CFE_CMD_MAX 32
-
-#define CFE_CMD_VENDOR_USE 0x8000 /* codes above this are for customer use */
-
-/* *********************************************************************
- * Structures
- ********************************************************************* */
-
-typedef uint64_t cfe_xuint_t;
-typedef int64_t cfe_xint_t;
-typedef int64_t cfe_xptr_t;
-
-typedef struct xiocb_buffer_s {
- cfe_xuint_t buf_offset; /* offset on device (bytes) */
- cfe_xptr_t buf_ptr; /* pointer to a buffer */
- cfe_xuint_t buf_length; /* length of this buffer */
- cfe_xuint_t buf_retlen; /* returned length (for read ops) */
- cfe_xuint_t buf_ioctlcmd; /* IOCTL command (used only for IOCTLs) */
-} xiocb_buffer_t;
-
-#define buf_devflags buf_ioctlcmd /* returned device info flags */
-
-typedef struct xiocb_inpstat_s {
- cfe_xuint_t inp_status; /* 1 means input available */
-} xiocb_inpstat_t;
-
-typedef struct xiocb_envbuf_s {
- cfe_xint_t enum_idx; /* 0-based enumeration index */
- cfe_xptr_t name_ptr; /* name string buffer */
- cfe_xint_t name_length; /* size of name buffer */
- cfe_xptr_t val_ptr; /* value string buffer */
- cfe_xint_t val_length; /* size of value string buffer */
-} xiocb_envbuf_t;
-
-typedef struct xiocb_cpuctl_s {
- cfe_xuint_t cpu_number; /* cpu number to control */
- cfe_xuint_t cpu_command; /* command to issue to CPU */
- cfe_xuint_t start_addr; /* CPU start address */
- cfe_xuint_t gp_val; /* starting GP value */
- cfe_xuint_t sp_val; /* starting SP value */
- cfe_xuint_t a1_val; /* starting A1 value */
-} xiocb_cpuctl_t;
-
-typedef struct xiocb_time_s {
- cfe_xint_t ticks; /* current time in ticks */
-} xiocb_time_t;
-
-typedef struct xiocb_exitstat_s {
- cfe_xint_t status;
-} xiocb_exitstat_t;
-
-typedef struct xiocb_meminfo_s {
- cfe_xint_t mi_idx; /* 0-based enumeration index */
- cfe_xint_t mi_type; /* type of memory block */
- cfe_xuint_t mi_addr; /* physical start address */
- cfe_xuint_t mi_size; /* block size */
-} xiocb_meminfo_t;
-
-typedef struct xiocb_fwinfo_s {
- cfe_xint_t fwi_version; /* major, minor, eco version */
- cfe_xint_t fwi_totalmem; /* total installed mem */
- cfe_xint_t fwi_flags; /* various flags */
- cfe_xint_t fwi_boardid; /* board ID */
- cfe_xint_t fwi_bootarea_va; /* VA of boot area */
- cfe_xint_t fwi_bootarea_pa; /* PA of boot area */
- cfe_xint_t fwi_bootarea_size; /* size of boot area */
- cfe_xint_t fwi_reserved1;
- cfe_xint_t fwi_reserved2;
- cfe_xint_t fwi_reserved3;
-} xiocb_fwinfo_t;
-
-typedef struct cfe_xiocb_s {
- cfe_xuint_t xiocb_fcode; /* IOCB function code */
- cfe_xint_t xiocb_status; /* return status */
- cfe_xint_t xiocb_handle; /* file/device handle */
- cfe_xuint_t xiocb_flags; /* flags for this IOCB */
- cfe_xuint_t xiocb_psize; /* size of parameter list */
- union {
- xiocb_buffer_t xiocb_buffer; /* buffer parameters */
- xiocb_inpstat_t xiocb_inpstat; /* input status parameters */
- xiocb_envbuf_t xiocb_envbuf; /* environment function parameters */
- xiocb_cpuctl_t xiocb_cpuctl; /* CPU control parameters */
- xiocb_time_t xiocb_time; /* timer parameters */
- xiocb_meminfo_t xiocb_meminfo; /* memory arena info parameters */
- xiocb_fwinfo_t xiocb_fwinfo; /* firmware information */
- xiocb_exitstat_t xiocb_exitstat; /* Exit Status */
- } plist;
-} cfe_xiocb_t;
-
-#endif /* CFE_API_INT_H */
diff --git a/libgloss/mips/cfe_error.h b/libgloss/mips/cfe_error.h
deleted file mode 100644
index a12af4b..0000000
--- a/libgloss/mips/cfe_error.h
+++ /dev/null
@@ -1,101 +0,0 @@
-/* From: CFE Id: cfe_error.h,v 1.2 2002/07/09 19:37:52 cgd Exp $ */
-
-/*
- * Copyright 2000, 2001, 2002
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/* *********************************************************************
- *
- * Broadcom Common Firmware Environment (CFE)
- *
- * Error codes File: cfe_error.h
- *
- * CFE's global error code list is here.
- *
- * Author: Mitch Lichtenberg
- *
- ********************************************************************* */
-
-
-#define CFE_OK 0
-#define CFE_ERR -1 /* generic error */
-#define CFE_ERR_INV_COMMAND -2
-#define CFE_ERR_EOF -3
-#define CFE_ERR_IOERR -4
-#define CFE_ERR_NOMEM -5
-#define CFE_ERR_DEVNOTFOUND -6
-#define CFE_ERR_DEVOPEN -7
-#define CFE_ERR_INV_PARAM -8
-#define CFE_ERR_ENVNOTFOUND -9
-#define CFE_ERR_ENVREADONLY -10
-
-#define CFE_ERR_NOTELF -11
-#define CFE_ERR_NOT32BIT -12
-#define CFE_ERR_WRONGENDIAN -13
-#define CFE_ERR_BADELFVERS -14
-#define CFE_ERR_NOTMIPS -15
-#define CFE_ERR_BADELFFMT -16
-#define CFE_ERR_BADADDR -17
-
-#define CFE_ERR_FILENOTFOUND -18
-#define CFE_ERR_UNSUPPORTED -19
-
-#define CFE_ERR_HOSTUNKNOWN -20
-
-#define CFE_ERR_TIMEOUT -21
-
-#define CFE_ERR_PROTOCOLERR -22
-
-#define CFE_ERR_NETDOWN -23
-#define CFE_ERR_NONAMESERVER -24
-
-#define CFE_ERR_NOHANDLES -25
-#define CFE_ERR_ALREADYBOUND -26
-
-#define CFE_ERR_CANNOTSET -27
-#define CFE_ERR_NOMORE -28
-#define CFE_ERR_BADFILESYS -29
-#define CFE_ERR_FSNOTAVAIL -30
-
-#define CFE_ERR_INVBOOTBLOCK -31
-#define CFE_ERR_WRONGDEVTYPE -32
-#define CFE_ERR_BBCHECKSUM -33
-#define CFE_ERR_BOOTPROGCHKSUM -34
-
-#define CFE_ERR_LDRNOTAVAIL -35
-
-#define CFE_ERR_NOTREADY -36
-
-#define CFE_ERR_GETMEM -37
-#define CFE_ERR_SETMEM -38
-
-#define CFE_ERR_NOTCONN -39
-#define CFE_ERR_ADDRINUSE -40
diff --git a/libgloss/mips/cfe_mem.c b/libgloss/mips/cfe_mem.c
deleted file mode 100644
index 87caabf..0000000
--- a/libgloss/mips/cfe_mem.c
+++ /dev/null
@@ -1,130 +0,0 @@
-/* cfe_mem.c -- Replaceable memory management hooks for MIPS boards
- running CFE. */
-
-/*
- * Copyright 2003
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- */
-
-#include "cfe_api.h"
-
-/* Structure filled in by get_mem_info. Only the size field is
- actually used (by sbrk), so the others aren't even filled in.
- Note that 'size' is the __size__ of the heap starting at _end! */
-struct s_mem {
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-void *get_mem_info (struct s_mem *);
-
-extern char _end[];
-
-/* Address immediately after available memory. */
-static unsigned long memtop;
-
-/* Program stack size. */
-static unsigned long stack_size;
-
-void
-__libcfe_meminit (void)
-{
- /* If the user has provided a memory-limit function, use it to
- determine the end of usable memory. */
- if (&__libcfe_mem_limit != NULL)
- memtop = __libcfe_mem_limit ();
- else
- {
- uint64_t start, length, type;
- int i, rv;
- long end_segbits, end_pa;
-
- /* Note that this only works if _end and the program live in kseg0
- or kseg1. Not a problem with the default linker script, but
- if you're writing your own, keep it in mind. For more complex
- memory allocation needs, you're encouraged to copy this file
- and syscalls.c (for sbrk()), and reimplement as appropriate. */
- end_segbits = (long)_end & ~ 0x1fffffffL;
- end_pa = (long)_end & 0x1fffffffL;
-
- for (i = 0; ; i++)
- {
- rv = cfe_enummem(i, 0, &start, &length, &type);
- if (rv < 0)
- {
- /* Did not find an available entry containing _end.
- Assume a minimal amount of memory (1MB). */
- memtop = _end + (1 * 1024 * 1024);
- break;
- }
-
- /* If not available, try the next. */
- if (type != CFE_MI_AVAILABLE)
- continue;
-
- /* If end_pa is between start and (start + length) then we have
- a winner. */
- if (end_pa >= start && end_pa < (start + length))
- {
- memtop = (start + length) | end_segbits;
- break;
- }
- }
- }
-
- /* If the user has provided a memory-limit function, use it to
- determine the end of usable memory. */
- if (&__libcfe_stack_size != NULL)
- stack_size = __libcfe_stack_size ();
- else
- stack_size = (32 * 1024); /* Default = 32KB. */
-
- /* Chop the top of memory to a 32-byte aligned location, and
- round the stack size up to a 32-byte multiple. */
- memtop = memtop & ~(unsigned long)31;
- stack_size = (stack_size + 31) & ~(unsigned long)31;
-}
-
-void *
-__libcfe_stack_top (void)
-{
- /* Grow down from the top of available memory. Obviously, if
- code writes above this limit, problems could result! */
- return (void *) memtop;
-}
-
-/* For compatibility, get_mem_info returns the top of memory
- (i.e., the stack address). Nothing actually uses that,
- though. */
-void *
-get_mem_info (struct s_mem *meminfo)
-{
- meminfo->size = (char *)(memtop - stack_size) - _end;
- return (void *) memtop;
-}
diff --git a/libgloss/mips/cma101.c b/libgloss/mips/cma101.c
deleted file mode 100644
index e8f3818..0000000
--- a/libgloss/mips/cma101.c
+++ /dev/null
@@ -1,314 +0,0 @@
-/*
- * cma101.c -- lo-level support for Cogent CMA101 development board.
- *
- * Copyright (c) 1996, 2001, 2002 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef __mips16
-/* The assembler portions of this file need to be re-written to
- support mips16, if and when that seems useful.
-*/
-#error cma101.c can not be compiled -mips16
-#endif
-
-
-#include <time.h> /* standard ANSI time routines */
-
-/* Normally these would appear in a header file for external
- use. However, we are only building a simple example world at the
- moment: */
-
-#include "regs.S"
-
-#if defined(MIPSEB)
-#define BYTEREG(b,o) ((volatile unsigned char *)(PHYS_TO_K1((b) + (o) + 7)))
-#endif /* MIPSEB */
-#if defined(MIPSEL)
-#define BYTEREG(b,o) ((volatile unsigned char *)(PHYS_TO_K1((b) + (o))))
-#endif /* MIPSEL */
-
-/* I/O addresses: */
-#define RTCLOCK_BASE (0x0E800000) /* Mk48T02 NVRAM/RTC */
-#define UART_BASE (0x0E900000) /* NS16C552 DUART */
-#define LCD_BASE (0x0EB00000) /* Alphanumeric display */
-
-/* LCD panel manifests: */
-#define LCD_DATA BYTEREG(LCD_BASE,0)
-#define LCD_CMD BYTEREG(LCD_BASE,8)
-
-#define LCD_STAT_BUSY (0x80)
-#define LCD_SET_DDADDR (0x80)
-
-/* RTC manifests */
-/* The lo-offsets are the NVRAM locations (0x7F8 bytes) */
-#define RTC_CONTROL BYTEREG(RTCLOCK_BASE,0x3FC0)
-#define RTC_SECS BYTEREG(RTCLOCK_BASE,0x3FC8)
-#define RTC_MINS BYTEREG(RTCLOCK_BASE,0x3FD0)
-#define RTC_HOURS BYTEREG(RTCLOCK_BASE,0x3FD8)
-#define RTC_DAY BYTEREG(RTCLOCK_BASE,0x3FE0)
-#define RTC_DATE BYTEREG(RTCLOCK_BASE,0x3FE8)
-#define RTC_MONTH BYTEREG(RTCLOCK_BASE,0x3FF0)
-#define RTC_YEAR BYTEREG(RTCLOCK_BASE,0x3FF8)
-
-#define RTC_CTL_LOCK_READ (0x40) /* lock RTC whilst reading */
-#define RTC_CTL_LOCK_WRITE (0x80) /* lock RTC whilst writing */
-
-/* Macro to force out-standing memory transfers to complete before
- next sequence. For the moment we assume that the processor in the
- CMA101 board supports at least ISA II. */
-#define DOSYNC() asm(" .set mips2 ; sync ; .set mips0")
-
-/* We disable interrupts by writing zero to all of the masks, and the
- global interrupt enable bit: */
-#define INTDISABLE(sr,tmp) asm("\
- .set mips2 ; \
- mfc0 %0,$12 ; \
- lui %1,0xffff ; \
- ori %1,%1,0xfffe ; \
- and %1, %0, %1 ; \
- mtc0 %1,$12 ; \
- .set mips0" : "=d" (sr), "=d" (tmp))
-#define INTRESTORE(sr) asm("\
- .set mips2 ; \
- mtc0 %0,$12 ; \
- .set mips0" : : "d" (sr))
-
-/* TODO:FIXME: The CPU card support should be in separate source file
- from the standard CMA101 support provided in this file. */
-
-/* The CMA101 board being used contains a CMA257 Vr4300 CPU:
- MasterClock is at 33MHz. PClock is derived from MasterClock by
- multiplying by the ratio defined by the DivMode pins:
- DivMode(1:0) MasterClock PClock Ratio
- 00 100MHz 100MHz 1:1
- 01 100MHz 150MHz 1.5:1
- 10 100MHz 200MHz 2:1
- 11 100Mhz 300MHz 3:1
-
- Are these pins reflected in the EC bits in the CONFIG register? or
- is that talking about a different clock multiplier?
- 110 = 1
- 111 = 1.5
- 000 = 2
- 001 = 3
- (all other values are undefined)
-*/
-
-#define MASTERCLOCK (33) /* ticks per uS */
-unsigned int pclock; /* number of PClock ticks per uS */
-void
-set_pclock (void)
-{
- unsigned int config;
- asm volatile ("mfc0 %0,$16 ; nop ; nop" : "=r" (config)); /* nasty CP0 register constant */
- switch ((config >> 28) & 0x7) {
- case 0x7 : /* 1.5:1 */
- pclock = (MASTERCLOCK + (MASTERCLOCK / 2));
- break;
-
- case 0x0 : /* 2:1 */
- pclock = (2 * MASTERCLOCK);
- break;
-
- case 0x1 : /* 3:1 */
- pclock = (3 * MASTERCLOCK);
- break;
-
- case 0x6 : /* 1:1 */
- default : /* invalid configuration, so assume the lowest */
- pclock = MASTERCLOCK;
- break;
- }
-
- return;
-}
-
-#define PCLOCK_WAIT(x) __cpu_timer_poll((x) * pclock)
-
-/* NOTE: On the Cogent CMA101 board the LCD controller will sometimes
- return not-busy, even though it is. The work-around is to perform a
- ~50uS delay before checking the busy signal. */
-
-static int
-lcd_busy (void)
-{
- PCLOCK_WAIT(50); /* 50uS delay */
- return(*LCD_CMD & LCD_STAT_BUSY);
-}
-
-/* Note: This code *ASSUMES* that the LCD has already been initialised
- by the monitor. It only provides code to write to the LCD, and is
- not a complete device driver. */
-
-void
-lcd_display (int line, const char *msg)
-{
- int n;
-
- if (lcd_busy ())
- return;
-
- *LCD_CMD = (LCD_SET_DDADDR | (line == 1 ? 0x40 : 0x00));
-
- for (n = 0; n < 16; n++) {
- if (lcd_busy ())
- return;
- if (*msg)
- *LCD_DATA = *msg++;
- else
- *LCD_DATA = ' ';
- }
-
- return;
-}
-
-#define SM_PATTERN (0x55AA55AA)
-#define SM_INCR ((256 << 10) / sizeof(unsigned int)) /* 64K words */
-
-extern unsigned int __buserr_count(void);
-extern void __default_buserr_handler(void);
-extern void __restore_buserr_handler(void);
-
-/* Allow the user to provide his/her own defaults. */
-unsigned int __sizemem_default;
-
-unsigned int
-__sizemem ()
-{
- volatile unsigned int *base;
- volatile unsigned int *probe;
- unsigned int baseorig;
- unsigned int sr;
- extern char end[];
- char *endptr = (char *)&end;
- int extra;
-
- /* If the linker script provided a value for the memory size (or the user
- overrode it in a debugger), use that. */
- if (__sizemem_default)
- return __sizemem_default;
-
- /* If we are running in kernel segment 0 (possibly cached), try sizing memory
- in kernel segment 1 (uncached) to avoid some problems with monitors. */
- if (endptr >= K0BASE_ADDR && endptr < K1BASE_ADDR)
- endptr = (endptr - K0BASE_ADDR) + K1BASE_ADDR;
-
- INTDISABLE(sr,baseorig); /* disable all interrupt masks */
-
- __default_buserr_handler();
- __cpu_flush();
-
- DOSYNC();
-
- /* _end is the end of the user program. _end may not be properly aligned
- for an int pointer, so we adjust the address to make sure it is safe.
- We use void * arithmetic to avoid accidentally truncating the pointer. */
-
- extra = ((int) endptr & (sizeof (int) - 1));
- base = ((void *) endptr + sizeof (int) - extra);
- baseorig = *base;
-
- *base = SM_PATTERN;
- /* This assumes that the instructions fetched between the store, and
- the following read will have changed the data bus contents: */
- if (*base == SM_PATTERN) {
- probe = base;
- for (;;) {
- unsigned int probeorig;
- probe += SM_INCR;
- probeorig = *probe;
- /* Check if a bus error occurred: */
- if (!__buserr_count()) {
- *probe = SM_PATTERN;
- DOSYNC();
- if (*probe == SM_PATTERN) {
- *probe = ~SM_PATTERN;
- DOSYNC();
- if (*probe == ~SM_PATTERN) {
- if (*base == SM_PATTERN) {
- *probe = probeorig;
- continue;
- }
- }
- }
- *probe = probeorig;
- }
- break;
- }
- }
-
- *base = baseorig;
- __restore_buserr_handler();
- __cpu_flush();
-
- DOSYNC();
-
- INTRESTORE(sr); /* restore interrupt mask to entry state */
-
- return((probe - base) * sizeof(unsigned int));
-}
-
-/* Provided as a function, so as to avoid reading the I/O location
- multiple times: */
-static int
-convertbcd(byte)
- unsigned char byte;
-{
- return ((((byte >> 4) & 0xF) * 10) + (byte & 0xF));
-}
-
-time_t
-time (_timer)
- time_t *_timer;
-{
- time_t result = 0;
- struct tm tm;
- *RTC_CONTROL |= RTC_CTL_LOCK_READ;
- DOSYNC();
-
- tm.tm_sec = convertbcd(*RTC_SECS);
- tm.tm_min = convertbcd(*RTC_MINS);
- tm.tm_hour = convertbcd(*RTC_HOURS);
- tm.tm_mday = convertbcd(*RTC_DATE);
- tm.tm_mon = convertbcd(*RTC_MONTH);
- tm.tm_year = convertbcd(*RTC_YEAR);
-
- DOSYNC();
- *RTC_CONTROL &= ~(RTC_CTL_LOCK_READ | RTC_CTL_LOCK_WRITE);
-
- tm.tm_isdst = 0;
-
- /* Check for invalid time information */
- if ((tm.tm_sec < 60) && (tm.tm_min < 60) && (tm.tm_hour < 24)
- && (tm.tm_mday < 32) && (tm.tm_mon < 13)) {
-
- /* Get the correct year number, but keep it in YEAR-1900 form: */
- if (tm.tm_year < 70)
- tm.tm_year += 100;
-
-#if 0 /* NOTE: mon_printf() can only accept 4 arguments (format string + 3 fields) */
- mon_printf("[DBG: s=%d m=%d h=%d]", tm.tm_sec, tm.tm_min, tm.tm_hour);
- mon_printf("[DBG: d=%d m=%d y=%d]", tm.tm_mday, tm.tm_mon, tm.tm_year);
-#endif
-
- /* Convert the time-structure into a second count */
- result = mktime (&tm);
- }
-
- if (_timer != NULL)
- *_timer = result;
-
- return (result);
-}
-
-/*> EOF cma101.c <*/
diff --git a/libgloss/mips/configure b/libgloss/mips/configure
deleted file mode 100755
index b7c7604..0000000
--- a/libgloss/mips/configure
+++ /dev/null
@@ -1,3855 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-pcrt0
-crt0
-bsp_list
-script_list
-part_specific_defines
-part_specific_obj
-target_makefile_frag_path
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information."
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.64
-
-Copyright (C) 2009 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- return $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.64. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- for ac_t in install-sh install.sh shtool; do
- if test -f "$ac_dir/$ac_t"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/$ac_t -c"
- break 2
- fi
- done
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-crt0=crt0.o
-pcrt0=pcrt0.o
-
-case "${target}" in
- mips*-tx39*-*|mipstx39*-*-*)
- part_specific_obj=
- part_specific_defines=
- script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
- bsp_list="libdve.a libidt.a libjmr3904.a"
- ;;
- mipsisa32-*-* | mipsisa32el-*-* | \
- mipsisa32r2-*-* | mipsisa32r2el-*-* | \
- mipsisa64*-*-*)
- crt0="crt0_cfe.o crt0_cygmon.o crt0.o"
- pcrt0="pcrt0.o"
- part_specific_obj=
- part_specific_defines=
- script_list="idt32 idt64 cfe"
- bsp_list="libcygmon.a libidt.a libcfe.a"
- ;;
- mips*-lsi*-*)
- part_specific_obj=entry.o
- part_specific_defines=
- script_list="lsi"
- bsp_list=liblsi.a
- ;;
- mips64vr5*-*-*)
- part_specific_obj="vr5xxx.o cma101.o"
- part_specific_defines=-DR5000
- script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon"
- bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a"
- ;;
- mips64vr-*-* | mips64vrel-*-*)
- part_specific_obj="vr5xxx.o cma101.o"
- script_list="ddb ddb-kseg0 nullmon"
- bsp_list="libpmon.a libnullmon.a"
- ;;
- *)
- crt0="crt0_cfe.o crt0.o"
- part_specific_obj="vr4300.o cma101.o"
- part_specific_defines=
- script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
- bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a"
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mips.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$?; test $as_status -eq 0 && as_status=1
- if test "$3"; then
- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
- fi
- $as_echo "$as_me: error: $1" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.64. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.64,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2009 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || as_fn_error "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || as_fn_error "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit $?
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/mips/configure.in b/libgloss/mips/configure.in
deleted file mode 100644
index 49b6520..0000000
--- a/libgloss/mips/configure.in
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2002 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-crt0=crt0.o
-pcrt0=pcrt0.o
-
-case "${target}" in
- mips*-tx39*-*|mipstx39*-*-*)
- part_specific_obj=
- part_specific_defines=
- script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
- bsp_list="libdve.a libidt.a libjmr3904.a"
- ;;
- mipsisa32-*-* | mipsisa32el-*-* | \
- mipsisa32r2-*-* | mipsisa32r2el-*-* | \
- mipsisa64*-*-*)
- crt0="crt0_cfe.o crt0_cygmon.o crt0.o"
- pcrt0="pcrt0.o"
- part_specific_obj=
- part_specific_defines=
- script_list="idt32 idt64 cfe"
- bsp_list="libcygmon.a libidt.a libcfe.a"
- ;;
- mips*-lsi*-*)
- part_specific_obj=entry.o
- part_specific_defines=
- script_list="lsi"
- bsp_list=liblsi.a
- ;;
- mips64vr5*-*-*)
- part_specific_obj="vr5xxx.o cma101.o"
- part_specific_defines=-DR5000
- script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon"
- bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a"
- ;;
- mips64vr-*-* | mips64vrel-*-*)
- part_specific_obj="vr5xxx.o cma101.o"
- script_list="ddb ddb-kseg0 nullmon"
- bsp_list="libpmon.a libnullmon.a"
- ;;
- *)
- crt0="crt0_cfe.o crt0.o"
- part_specific_obj="vr4300.o cma101.o"
- part_specific_defines=
- script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64"
- bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a"
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mips.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(part_specific_obj)
-AC_SUBST(part_specific_defines)
-AC_SUBST(script_list)
-AC_SUBST(bsp_list)
-AC_SUBST(crt0)
-AC_SUBST(pcrt0)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/mips/crt0.S b/libgloss/mips/crt0.S
deleted file mode 100644
index 599e79c..0000000
--- a/libgloss/mips/crt0.S
+++ /dev/null
@@ -1,288 +0,0 @@
-/*
- * crt0.S -- startup file for MIPS.
- *
- * Copyright (c) 1995, 1996, 1997, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
-#define STACK_SIZE 0x4000
-#define GLOBAL_SIZE 0x2000
-
-#define STARTUP_STACK_SIZE 0x0100
-
-/* This is for referencing addresses that are not in the .sdata or
- .sbss section under embedded-pic, or before we've set up gp. */
-#ifdef __mips_embedded_pic
-# ifdef __mips64
-# define LA(t,x) la t,x-PICBASE ; daddu t,s0,t
-# else
-# define LA(t,x) la t,x-PICBASE ; addu t,s0,t
-# endif
-#else /* __mips_embedded_pic */
-# define LA(t,x) la t,x
-#endif /* __mips_embedded_pic */
-
- .comm __memsize, 12
- .comm __lstack, STARTUP_STACK_SIZE
-
- .text
- .align 2
-
-/* Without the following nop, GDB thinks _start is a data variable.
- * This is probably a bug in GDB in handling a symbol that is at the
- * start of the .text section.
- */
- nop
-
- .globl hardware_hazard_hook .text
- .globl _start
- .ent _start
-_start:
- .set noreorder
-#ifdef __mips_embedded_pic
-#define PICBASE start_PICBASE
- PICBASE = .+8
- bal PICBASE
- nop
- move s0,$31
-#endif
-#if __mips<3
-# define STATUS_MASK (SR_CU1|SR_PE)
-#else
-/* Post-mips2 has no SR_PE bit. */
-# ifdef __mips64
-/* Turn on 64-bit addressing and additional float regs. */
-# define STATUS_MASK (SR_CU1|SR_FR|SR_KX|SR_SX|SR_UX)
-# else
-# if __mips_fpr==32
-# define STATUS_MASK (SR_CU1)
-# else
-/* Turn on additional float regs. */
-# define STATUS_MASK (SR_CU1|SR_FR)
-# endif
-# endif
-#endif
- li v0, STATUS_MASK
- mtc0 v0, C0_SR
- mtc0 zero, C0_CAUSE
- nop
-
- /* Avoid hazard from FPU enable and other SR changes. */
- LA (t0, hardware_hazard_hook)
- beq t0,zero,1f
- nop
- jal t0
- nop
-1:
-
-/* Check for FPU presence. Don't check if we know that soft_float is
- being used. (This also avoids illegal instruction exceptions.) */
-
-#ifndef __mips_soft_float
- li t2,0xAAAA5555
- mtc1 t2,fp0 /* write to FPR 0 */
- mtc1 zero,fp1 /* write to FPR 1 */
- mfc1 t0,fp0
- mfc1 t1,fp1
- nop
- bne t0,t2,1f /* check for match */
- nop
- bne t1,zero,1f /* double check */
- nop
- j 2f /* FPU is present. */
- nop
-#endif
-1:
- /* FPU is not present. Set status register to say that. */
- li v0, (STATUS_MASK-(STATUS_MASK & SR_CU1))
- mtc0 v0, C0_SR
- nop
- /* Avoid hazard from FPU disable. */
- LA (t0, hardware_hazard_hook)
- beq t0,zero,2f
- nop
- jal t0
- nop
-2:
-
-
-/* Fix high bits, if any, of the PC so that exception handling
- doesn't get confused. */
- LA (v0, 3f)
- jr v0
- nop
-3:
- LA (gp, _gp) # set the global data pointer
- .end _start
-
-/*
- * zero out the bss section.
- */
- .globl __memsize
- .globl get_mem_info .text
- .globl __stack
- .globl __global
- .ent zerobss
-zerobss:
- LA (v0, _fbss)
- LA (v1, _end)
-3:
- sw zero,0(v0)
- bltu v0,v1,3b
- addiu v0,v0,4 # executed in delay slot
-
- la t0, __lstack # make a small stack so we
- addiu sp, t0, STARTUP_STACK_SIZE # can run some C code
- la a0, __memsize # get the usable memory size
- jal get_mem_info
- nop
-
- /* setup the stack pointer */
- LA (t0, __stack) # is __stack set ?
- bne t0,zero,4f
- nop
-
- /* NOTE: a0[0] contains the amount of memory available, and
- not the last memory address. */
- la a0, __memsize
- lw t0,0(a0) # last address of memory available
- la t1,K0BASE # cached kernel memory
- addu t0,t0,t1 # get the end of memory address
- /* Allocate 32 bytes for the register parameters. Allocate 16
- bytes for a null argv and envp. Round the result up to 64
- bytes to preserve alignment. */
- subu t0,t0,64
-4:
- move sp,t0 # set stack pointer
- .end zerobss
-
-/*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
- .globl hardware_init_hook .text
- .globl software_init_hook .text
- .type _fini,@function
- .type _init,@function
- .globl atexit .text
- .globl exit .text
- .ent init
-init:
- LA (t9, hardware_init_hook) # init the hardware if needed
- beq t9,zero,6f
- nop
- jal t9
- nop
-6:
- LA (t9, software_init_hook) # init the hardware if needed
- beq t9,zero,7f
- nop
- jal t9
- nop
-7:
- LA (a0, _fini)
- jal atexit
- nop
-
-#ifdef GCRT0
- .globl _ftext
- .globl _extext
- LA (a0, _ftext)
- LA (a1, _etext)
- jal monstartup
- nop
-#endif
-
-
- jal _init # run global constructors
- nop
-
- addiu a1,sp,32 # argv = sp + 32
- addiu a2,sp,40 # envp = sp + 40
-#if __mips64
- sd zero,(a1) # argv[argc] = 0
- sd zero,(a2) # envp[0] = 0
-#else
- sw zero,(a1)
- sw zero,(a2)
-#endif
- jal main # call the program start function
- move a0,zero # set argc to 0
-
- # fall through to the "exit" routine
- jal exit # call libc exit to run the G++
- # destructors
- move a0,v0 # pass through the exit code
- .end init
-
-
-/* Assume the PICBASE set up above is no longer valid below here. */
-#ifdef __mips_embedded_pic
-#undef PICBASE
-#endif
-
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run. NOTE: This is
- * the only other routine we provide in the crt0.o object, since
- * it may be tied to the "_start" routine. It also allows
- * executables that contain a complete world to be linked with
- * just the crt0.o object.
- */
- .globl hardware_exit_hook .text
- .globl _exit
- .ent _exit
-_exit:
-7:
-#ifdef __mips_embedded_pic
- /* Need to reinit PICBASE, since we might be called via exit()
- rather than via a return path which would restore old s0. */
-#define PICBASE exit_PICBASE
- PICBASE = .+8
- bal PICBASE
- nop
- move s0,$31
-#endif
-#ifdef GCRT0
- LA (t0, _mcleanup)
- jal t0
- nop
-#endif
- LA (t0, hardware_exit_hook)
- beq t0,zero,1f
- nop
- jal t0
- nop
-1:
-
- # break instruction can cope with 0xfffff, but GAS limits the range:
- break 1023
- b 7b # but loop back just in-case
- nop
- .end _exit
-
-/* Assume the PICBASE set up above is no longer valid below here. */
-#ifdef __mips_embedded_pic
-#undef PICBASE
-#endif
-
-/* EOF crt0.S */
diff --git a/libgloss/mips/crt0_cfe.S b/libgloss/mips/crt0_cfe.S
deleted file mode 100644
index 9e920e2..0000000
--- a/libgloss/mips/crt0_cfe.S
+++ /dev/null
@@ -1,263 +0,0 @@
-/*
- * crt0_cfe.S -- Runtime startup for MIPS targets running CFE.
- *
- * Copyright 2003
- * Broadcom Corporation. All rights reserved.
- *
- * This software is furnished under license and may be used and copied only
- * in accordance with the following terms and conditions. Subject to these
- * conditions, you may download, copy, install, use, modify and distribute
- * modified or unmodified copies of this software in source and/or binary
- * form. No title or ownership is transferred hereby.
- *
- * 1) Any source code used, modified or distributed must reproduce and
- * retain this copyright notice and list of conditions as they appear in
- * the source file.
- *
- * 2) No right is granted to use any trade name, trademark, or logo of
- * Broadcom Corporation. The "Broadcom Corporation" name may not be
- * used to endorse or promote products derived from this software
- * without the prior written permission of Broadcom Corporation.
- *
- * 3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
- * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL BROADCOM BE LIABLE
- * FOR ANY DAMAGES WHATSOEVER, AND IN PARTICULAR, BROADCOM SHALL NOT BE
- * LIABLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*
- * Derived from crt0_cygmon.S:
- *
- * Copyright (c) 1995, 1996, 1997, 2000 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * This file does minimal runtime startup for code running under
- * CFE firmware.
- *
- * It does minimal hardware initialization. In particular
- * it sets Status:FR to match the requested floating point
- * mode.
- *
- * It is meant to be linked with the other files provided by libcfe.a,
- * and calls routines in those files.
- */
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-#ifdef __mips_embedded_pic
-# error -membedded-pic is not supported.
-#endif
-
-#include "regs.S"
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
-#define STARTUP_STACK_SIZE (1 * 1024)
-
- .comm _lstack, STARTUP_STACK_SIZE
-
- .text
- .align 4
-
- /*
- * Without the following nop, GDB thinks _start is a data variable.
- * This is probably a bug in GDB in handling a symbol that is at the
- * start of the .text section.
- */
- nop
-
-
- /*
- * On entry, the following values have been passed in registers
- * by the firmware:
- *
- * a0: firmware handle
- * a1: zero (unused)
- * a2: firmware callback entrypoint
- * a3: CFE entrypoint seal (unused)
- *
- * They must be preserved until the CFE entrypoint and handle
- * are passed to __libcfe_init().
- */
-
- .globl _start
- .ent _start
-_start:
- .set noreorder
- /* Set the global data pointer, defined in the linker script. */
- la gp, _gp
-
-#ifndef __mips_soft_float
- /* If compiled for hard float, set the FPU mode based on the
- compilation flags. Note that this assumes that enough code
- will run after the mtc0 to clear any hazards. */
- mfc0 t0, C0_SR
- or t0, t0, (SR_CU1 | SR_FR)
-#if (__mips_fpr == 32)
- xor t0, t0, SR_FR /* If 32-bit FP mode, clear FR. */
-#endif
- mtc0 t0, C0_SR
-#endif
- .end _start
-
- /*
- * zero out the bss section.
- */
- .globl _zerobss
- .ent _zerobss
-_zerobss:
- /* These variables are defined in the linker script. */
- la v0, _fbss
- la v1, _end
-
-3:
- sw zero, 0(v0)
- bltu v0, v1, 3b
- addiu v0, v0, 4 /* Delay slot. */
- .end _zerobss
-
- /*
- * Setup a small stack so we can run some C code, and do
- * the library initialization. (32 bytes are saved for
- * the argument registers' stack slots.)
- */
- .globl _stackinit
- .ent _stackinit
-_stackinit:
- la t0, _lstack
- addiu sp, t0, (STARTUP_STACK_SIZE - 32)
- jal __libcfe_init
- nop
-
- /*
- * Setup the stack pointer --
- * __libcfe_init() returns the value to be used as the top of
- * the program's stack.
- *
- * We subtract 32 bytes for the 4 argument registers, in case
- * main() wants to write them back to the stack. The caller
- * allocates stack space for parameters in the old MIPS ABIs.
- * We must do this even though we aren't passing arguments,
- * because main might be declared to have them.)
- *
- * We subtract 32 more bytes for the argv/envp setup for the
- * call to main().
- */
- subu v0, v0, 64
- move sp, v0
-
- .end _stackinit
-
- /*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
- .globl hardware_init_hook .text
- .globl software_init_hook .text
- .type _fini,@function
- .type _init,@function
- .globl atexit .text
- .globl exit .text
- .globl _crt0init
- .ent _crt0init
-_crt0init:
- la t9, hardware_init_hook # init the hardware if needed
- beq t9, zero, 6f
- nop
- jal t9
- nop
-6:
- la t9, software_init_hook # init the software if needed
- beq t9, zero, 7f
- nop
- jal t9
- nop
-7:
- la a0, _fini
- jal atexit
- nop
-
-#ifdef GCRT0
- .globl _ftext
- .globl _extext
- la a0, _ftext
- la a1, _etext
- jal monstartup
- nop
-#endif
-
- jal _init # run global constructors
- nop
-
- addiu a1,sp,32 # argv = sp + 32
- addiu a2,sp,40 # envp = sp + 40
-#if __mips64
- sd zero,(a1) # argv[argc] = 0
- sd zero,(a2) # envp[0] = 0
-#else
- sw zero,(a1)
- sw zero,(a2)
-#endif
-
- jal main # call the program start function
- move a0,zero # set argc to 0; delay slot.
-
- # fall through to the "exit" routine
- jal exit # call libc exit to run the G++
- # destructors
- move a0, v0 # pass through the exit code
- .end _crt0init
-
-/*
- * _exit -- Exit from the application. This is provided in this file because
- * program exit should shut down profiling (if GCRT0 is defined),
- * and only this file is compiled with GCRT0 defined.
- */
- .globl _exit
- .ent _exit
-_exit:
-7:
- move s0, a0 /* Save in case we loop. */
-
-#ifdef GCRT0
- jal _mcleanup
- nop
-#endif
-
- la t0, hardware_exit_hook
- beq t0,zero,1f
- nop
- jal t0
- nop
-
-1:
- /* Call into the library to do the heavy lifting. */
- jal __libcfe_exit
- move a0, s0 /* Delay slot. */
-
- b 7b /* Loop back just in case. */
- nop
- .end _exit
-
-/* EOF crt0_cfe.S */
diff --git a/libgloss/mips/crt0_cygmon.S b/libgloss/mips/crt0_cygmon.S
deleted file mode 100644
index ae0a9e3..0000000
--- a/libgloss/mips/crt0_cygmon.S
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * crt0_cygmon.S -- Minimal startup file for MIPS targets running Cygmon.
- *
- * Copyright (c) 1995, 1996, 1997, 2000 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * This file contains the minimal startup code necessary.
- * This will not do any hardware initialization. It is assumed that we are talking to Cygmon
- * and therefore the hardware will be initialized properly.
- */
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
-#define STACK_SIZE 0x4000
-#define GLOBAL_SIZE 0x2000
-
-#define STARTUP_STACK_SIZE 0x0100
-
- .comm __memsize, 12
- .comm __lstack, STARTUP_STACK_SIZE
- .comm __stackbase,4
-
- .text
- .align 4
- /*
- * Without the following nop, GDB thinks _start is a data variable.
- * This is probably a bug in GDB in handling a symbol that is at the
- * start of the .text section.
- */
- nop
-
- .globl _start
- .ent _start
-_start:
- .set noreorder
- la gp, _gp # set the global data pointer, defined in the linker script
- .end _start
-
- /*
- * zero out the bss section.
- */
- .globl __memsize
- .globl get_mem_info .text
- .globl zerobss
- .ent zerobss
-zerobss:
- la v0, _fbss # These variables are defined in the linker script
- la v1, _end
-
-3:
- sw zero, 0(v0)
- bltu v0, v1, 3b
- addiu v0, v0, 4 # executed in delay slot
-
- /*
- * Setup a small stack so we can run some C code,
- * and get the usable memory size.
- */
- la t0, __lstack
- addiu sp, t0, STARTUP_STACK_SIZE
- la a0, __memsize
- jal get_mem_info
- nop
-
- /*
- * Setup the stack pointer --
- * get_mem_info returns the top of memory, so just use that In
- * addition, we must subtract 24 bytes for the 3 8 byte
- * arguments to main, in case main wants to write them back to
- * the stack. The caller is supposed to allocate stack space
- * for parameters in registers in the old MIPS ABIs. We must
- * do this even though we aren't passing arguments, because
- * main might be declared to have them.
- * Some ports need a larger alignment for the stack, so we
- * subtract 32, which satisifes the stack for the arguments and
- * keeps the stack pointer better aligned.
- */
- subu v0, v0, 32
- move sp, v0
-
- sw sp, __stackbase # keep this for future ref
- .end zerobss
-
- /*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
- .globl hardware_init_hook .text
- .globl software_init_hook .text
- .globl __do_global_dtors .text
- .globl atexit .text
- .globl exit .text
- .globl init
- .ent init
-init:
- la t9, hardware_init_hook # init the hardware if needed
- beq t9, zero, 6f
- nop
- jal t9
- nop
-6:
- la t9, software_init_hook # init the software if needed
- beq t9, zero, 7f
- nop
- jal t9
- nop
-7:
- la a0, __do_global_dtors
- jal atexit
- nop
-
-#ifdef GCRT0
- .globl _ftext
- .globl _extext
- la a0, _ftext
- la a1, _etext
- jal monstartup
- nop
-#endif
-
- move a0,zero # set argc to 0
- jal main # call the program start function
- nop
-
- # fall through to the "exit" routine
- jal exit # call libc exit to run the G++
- # destructors
- move a0, v0 # pass through the exit code
- .end init
-
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run. NOTE: This is
- * the only other routine we provide in the crt0.o object, since
- * it may be tied to the "_start" routine. It also allows
- * executables that contain a complete world to be linked with
- * just the crt0.o object.
- */
- .globl _exit
- .ent _exit
-_exit:
-7:
-#ifdef GCRT0
- jal _mcleanup
- nop
-#endif
- # Cygmon expects a break 5
- break 5
- nop
- b 7b # loop back just in-case
- nop
- .end _exit
-
-/* EOF crt0.S */
diff --git a/libgloss/mips/cygmon.c b/libgloss/mips/cygmon.c
deleted file mode 100644
index 506e853..0000000
--- a/libgloss/mips/cygmon.c
+++ /dev/null
@@ -1,87 +0,0 @@
-/* cygmon.c -- Glue code for linking apps to run on top of Cygmon.
- *
- * Copyright (c) 1998, 1999, 2000 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-int
-write ( int file,
- char *buf,
- int nbytes)
-{
- return sysCall(SYS_write, file, (unsigned long)buf, nbytes);
-}
-
-int
-read (int file,
- char *buf,
- int nbytes)
-{
- return sysCall(SYS_read, file, (unsigned long)buf, nbytes);
-}
-
-int
-outbyte (unsigned char c)
-{
- return sysCall(SYS_write, 0, (unsigned long)&c, 1);
-}
-
-unsigned char
-inbyte (void)
-{
- char c;
- sysCall(SYS_read, 0, (unsigned long)&c, 1);
- return c;
-}
-
-
-/* Structure filled in by get_mem_info. Only the size field is
- actually used (by sbrk), so the others aren't even filled in. */
-struct s_mem
-{
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-// Perform a system call.
-// Unused parameters should be set to 0.
-int sysCall(unsigned long func, unsigned long p1, unsigned long p2, unsigned long p3)
-{
- int ret = 0;
- asm volatile ( " \n\
- move $4, %1 \n\
- move $5, %2 \n\
- move $6, %3 \n\
- move $7, %4 \n\
- syscall \n\
- nop \n\
- move %0, $2" : "=r"(ret) : "r"(func), "r"(p1), "r"(p2), "r"(p3));
- return ret;
-}
-
-// These need to be kept in sync with the definitions in Cygmon.
-#define SYS_meminfo 1001
-
-void *
-get_mem_info (mem)
- struct s_mem *mem;
-{
- unsigned long totmem = 0, topmem = 0;
- int numbanks;
-
- numbanks = sysCall(SYS_meminfo, (unsigned long)&totmem, (unsigned long)&topmem, 0);
- mem->size = totmem;
- return (void*)topmem;
-}
diff --git a/libgloss/mips/ddb-kseg0.ld b/libgloss/mips/ddb-kseg0.ld
deleted file mode 100644
index db3759e..0000000
--- a/libgloss/mips/ddb-kseg0.ld
+++ /dev/null
@@ -1,166 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lpmon -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80100000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/ddb.ld b/libgloss/mips/ddb.ld
deleted file mode 100644
index 0280783..0000000
--- a/libgloss/mips/ddb.ld
+++ /dev/null
@@ -1,166 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lpmon -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0100000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/dtor.C b/libgloss/mips/dtor.C
deleted file mode 100644
index 2cfcb46..0000000
--- a/libgloss/mips/dtor.C
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdio.h>
-
-extern "C" void print (char *, ...);
-
-class foo
-{
-public:
- foo () { print ("ctor\n"); }
- ~foo () { print ("dtor\n"); }
-};
-
-foo x;
-
-main ()
-{
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
- print ("FooBar\r\n");
-
- /* whew, we made it */
- print ("\r\nDone...\r\n");
- fflush(stdout);
-}
diff --git a/libgloss/mips/dve.ld b/libgloss/mips/dve.ld
deleted file mode 100644
index 073d1e9..0000000
--- a/libgloss/mips/dve.ld
+++ /dev/null
@@ -1,167 +0,0 @@
-/* Linker script for Densan DVE-R3900/20A board */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:3000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -ldve -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0040000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/dvemon.c b/libgloss/mips/dvemon.c
deleted file mode 100644
index 16b49da..0000000
--- a/libgloss/mips/dvemon.c
+++ /dev/null
@@ -1,83 +0,0 @@
-/* dve.c -- I/O code for the Densan DVE-R3900 board.
- *
- * Copyright (c) 1998, 1999 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* Flag indicating that we are being debugged by GDB. If set,
- preceded each character output to the console with a ^O,
- so that GDB will print it instead of discarding it. */
-
-int output_debug = 1;
-
-/* Monitor "ci" function (console input) */
-
-typedef int (*cifunc)(int waitflag);
-#ifdef __mips64
-static cifunc ci = (cifunc) 0xffffffffbfc00010L;
-#else
-static cifunc ci = (cifunc) 0xbfc00010;
-#endif
-
-#define WAIT 1
-#define NOWAIT 0
-#define NOCHAR (-1)
-
-/* Monitor "co" function (console output) */
-
-typedef void (*cofunc)(int c);
-#ifdef __mips64
-static cofunc co = (cofunc) 0xffffffffbfc00018L;
-#else
-static cofunc co = (cofunc) 0xbfc00018;
-#endif
-
-/* outbyte -- shove a byte out the serial port; used by write.c. */
-
-int
-outbyte(byte)
- unsigned char byte;
-{
- /* Output a ^O prefix so that GDB won't discard the output. */
- if (output_debug)
- co (0x0f);
-
- co (byte);
- return byte;
-}
-
-/* inbyte -- get a byte from the serial port; used by read.c. */
-
-unsigned char
-inbyte()
-{
- return (unsigned char) ci (WAIT);
-}
-
-
-/* Structure filled in by get_mem_info. Only the size field is
- actually used (by sbrk), so the others aren't even filled in. */
-
-struct s_mem
-{
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-
-void
-get_mem_info (mem)
- struct s_mem *mem;
-{
- mem->size = 0x1000000; /* DVE-R3900 board has 16 MB of RAM */
-}
diff --git a/libgloss/mips/entry.S b/libgloss/mips/entry.S
deleted file mode 100644
index 3630c55..0000000
--- a/libgloss/mips/entry.S
+++ /dev/null
@@ -1,281 +0,0 @@
-/* entry.S - exception handler for emulating MIPS16 'entry' and 'exit'
- pseudo-instructions. These instructions are generated by the compiler
- when the -mentry switch is used. The instructions are not implemented
- in the MIPS16 CPU; hence the exception handler that emulates them.
-
- This module contains the following public functions:
-
- * void __install_entry_handler(void);
-
- This function installs the entry/exit exception handler. It should
- be called before executing any MIPS16 functions that were compiled with
- -mentry, typically before main() is called.
-
- * void __remove_entry_handler(void);
-
- This function removes the entry/exit exception handler. It should
- be called when the program is exiting, or when it is known that no
- more MIPS16 functions compiled with -mentry will be called.
-*/
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
-#define CAUSE_EXCMASK 0x3c /* mask for ExcCode in Cause Register */
-#define EXC_RI 0x28 /* 101000 == 10 << 2 */
-
-/* Set DEBUG to 1 to enable recording of the last 16 interrupt causes. */
-
-#define DEBUG 0
-
-#if DEBUG
-
- .sdata
-int_count:
- .space 4 /* interrupt count modulo 16 */
-int_cause:
- .space 4*16 /* last 16 interrupt causes */
-#endif
-
- .text
-
- .set noreorder /* Do NOT reorder instructions */
-
-
-/* __entry_exit_handler - the reserved instruction exception handler
- that emulates the entry and exit instruction. */
-
-__entry_exit_handler:
- .set noat /* Do NOT use at register */
-#if DEBUG
-/* Must avoid using 'la' pseudo-op because it uses gp register, which
- may not have a good value in an exception handler. */
-
-# la k0, int_count /* intcount = (intcount + 1) & 0xf */
- lui k0 ,%hi(int_count)
- addiu k0, k0 ,%lo(int_count)
- lw k1, (k0)
- addiu k1, k1, 1
- andi k1, k1, 0x0f
- sw k1, (k0)
-# la k0, int_cause /* k1 = &int_cause[intcount] */
- lui k0, %hi(int_cause)
- addiu k0, k0, %lo(int_cause)
- sll k1, k1, 2
- add k1, k1, k0
-#endif
- mfc0 k0, C0_CAUSE /* Fetch cause */
-#if DEBUG
- sw k0, -4(k1) /* Save exception cause in buffer */
-#endif
- mfc0 k1, C0_EPC /* Check for Reserved Inst. without */
- and k0, CAUSE_EXCMASK /* destroying any register */
- subu k0, EXC_RI
- bne k0, zero, check_others /* Sorry, go do something else */
-
- and k0, k1, 1 /* Check for TR mode (pc.0 = 1) */
- beq k0, zero, ri_in_32 /* Sorry, RI in 32-bit mode */
- xor k1, 1
-
-/* Since we now are going to emulate or die, we can use all the T-registers */
-/* that MIPS16 does not use (at, t0-t8), and we don't have to save them. */
-
- .set at /* Now it's ok to use at again */
-
-#if 0
- j leave
- rfe
-#endif
-
- lhu t0, 0(k1) /* Fetch the offending instruction */
- xor t8, k1, 1 /* Prepare t8 for exit */
- and t1, t0, 0xf81f /* Check for entry/exit opcode */
- bne t1, 0xe809, other_ri
-
-deareg: and t1, t0, 0x0700 /* Isolate the three a-bits */
- srl t1, 6 /* Adjust them so x4 is applied */
- slt t2, t1, 17 /* See if this is the exit instruction */
- beqz t2, doexit
- la t2, savea
- subu t2, t1
- jr t2 /* Jump into the instruction table */
- rfe /* We run the rest in user-mode */
-
- /* This is the entry instruction! */
- sw a3, 12(sp) /* 4: a0-a3 saved */
- sw a2, 8(sp) /* 3: a0-a2 saved */
- sw a1, 4(sp) /* 2: a0-a1 saved */
- sw a0, 0(sp) /* 1: a0 saved */
-savea: /* 0: No arg regs saved */
-
-dera: and t1, t0, 0x0020 /* Isolate the save-ra bit */
- move t7, sp /* Temporary SP */
- beq t1, zero, desreg
- subu sp, 32 /* Default SP adjustment */
- sw ra, -4(t7)
- subu t7, 4
-
-desreg: and t1, t0, 0x00c0 /* Isolate the two s-bits */
- beq t1, zero, leave
- subu t1, 0x0040
- beq t1, zero, leave /* Only one to save... */
- sw s0, -4(t7) /* Do the first one */
- sw s1, -8(t7) /* Do the last one */
-
-leave: jr t8 /* Exit to unmodified EPC */
- nop /* Urgh - the only nop!! */
-
-doexf0: mtc1 v0,$f0 /* Copy float value */
- b doex2
-
-doexf1: mtc1 v1,$f0 /* Copy double value */
- mtc1 v0,$f1
- b doex2
-
-doexit: slt t2, t1, 21
- beq t2, zero, doexf0
- slt t2, t1, 25
- beq t2, zero, doexf1
-
-doex2: and t1, t0, 0x0020 /* Isolate ra bit */
- beq t1, zero, dxsreg /* t1 holds ra-bit */
- addu t7, sp, 32 /* Temporary SP */
- lw ra, -4(t7)
- subu t7, 4
-
-dxsreg: and t1, t0, 0x00c0 /* Isolate the two s-bits */
- beq t1, zero, leavex
- subu t1, 0x0040
- beq t1, zero, leavex /* Only one to save... */
- lw s0, -4(t7) /* Do the first one */
- lw s1, -8(t7) /* Do the last one */
-
-leavex: jr ra /* Exit to ra */
- addu sp, 32 /* Clean up stack pointer */
-
-/* Come here for exceptions we can't handle. */
-
-ri_in_32:
-other_ri:
-check_others: /* call the previous handler */
- la k0,__previous
- jr k0
- nop
-
-__exception_code:
- .set noreorder
- la k0, __entry_exit_handler
-# lui k0, %hi(exception)
-# addiu k0, k0, %lo(exception)
- jr k0
- nop
- .set reorder
-__exception_code_end:
-
- .data
-__previous:
- .space (__exception_code_end - __exception_code)
- .text
-
-
-/* void __install_entry_handler(void)
-
- Install our entry/exit reserved instruction exception handler.
-*/
- .ent __install_entry_handler
- .globl __install_entry_handler
-__install_entry_handler:
- .set noreorder
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,baseaddr
- lui a0,0x8000 /* delay slot */
- lui a0,0xbfc0
- addiu a0,a0,0x0100
-baseaddr:
- addiu a0,a0,0x080 /* a0 = base vector table address */
- li a1,(__exception_code_end - __exception_code)
- la a2,__exception_code
- la a3,__previous
-/* there must be a better way of doing this???? */
-copyloop:
- lw v0,0(a0)
- sw v0,0(a3)
- lw v0,0(a2)
- sw v0,0(a0)
- addiu a0,a0,4
- addiu a2,a2,4
- addiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,copyloop
- nop
- j ra
- nop
- .set reorder
- .end __install_entry_handler
-
-
-/* void __remove_entry_handler(void);
-
- Remove our entry/exit reserved instruction exception handler.
-*/
-
- .ent __remove_entry_handler
- .globl __remove_entry_handler
-__remove_entry_handler:
- .set noreorder
-
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,res_baseaddr
- lui a0,0x8000 /* delay slot */
- lui a0,0xbfc0
- addiu a0,a0,0x0200
-res_baseaddr:
- addiu a0,a0,0x0180 /* a0 = base vector table address */
- li a1,(__exception_code_end - __exception_code)
- la a3,__previous
-
-/* there must be a better way of doing this???? */
-res_copyloop:
- lw v0,0(a3)
- sw v0,0(a0)
- addiu a0,a0,4
- addiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,res_copyloop
- nop
- j ra
- nop
- .set reorder
- .end __remove_entry_handler
-
-
-/* software_init_hook - install entry/exit handler and arrange to have it
- removed at exit. This function is called by crt0.S. */
-
- .text
- .globl software_init_hook
- .ent software_init_hook
-software_init_hook:
- .set noreorder
- subu sp, sp, 8 /* allocate stack space */
- sw ra, 4(sp) /* save return address */
- jal __install_entry_handler /* install entry/exit handler */
- nop
- lui a0, %hi(__remove_entry_handler) /* arrange for exit to */
- jal atexit /* de-install handler */
- addiu a0, a0, %lo(__remove_entry_handler) /* delay slot */
- lw ra, 4(sp) /* get return address */
- j ra /* return */
- addu sp, sp, 8 /* deallocate stack */
- .set reorder
- .end software_init_hook
diff --git a/libgloss/mips/idt.ld b/libgloss/mips/idt.ld
deleted file mode 100644
index 05b39b7..0000000
--- a/libgloss/mips/idt.ld
+++ /dev/null
@@ -1,184 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. i.e. the NEC VR4300 (IDT) first free address is actually
- 0xa001af20. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/idt32.ld b/libgloss/mips/idt32.ld
deleted file mode 100644
index 9555529..0000000
--- a/libgloss/mips/idt32.ld
+++ /dev/null
@@ -1,186 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA32r2 programs for use with
- the simulator. */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa32r2")
-OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/idt64.ld b/libgloss/mips/idt64.ld
deleted file mode 100644
index 4a95820..0000000
--- a/libgloss/mips/idt64.ld
+++ /dev/null
@@ -1,187 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA64r2 programs for use with the
- simulator. We set the ISA explicitly so that we can link objects of
- different ISAs that are subsets of ISA64r2 but are not extensions of
- each other (e.g., MIPS32r2 and MIPS64). */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa64r2")
-OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/idtecoff.ld b/libgloss/mips/idtecoff.ld
deleted file mode 100644
index 2788cc8..0000000
--- a/libgloss/mips/idtecoff.ld
+++ /dev/null
@@ -1,99 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. i.e. the NEC VR4300 (IDT) first free address is actually
- 0xa001af20. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:4000")
-OUTPUT_FORMAT("ecoff-bigmips", "ecoff-bigmips", "ecoff-littlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0020000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
- end = .;
- _end = .;
-}
diff --git a/libgloss/mips/idtmon.S b/libgloss/mips/idtmon.S
deleted file mode 100644
index 304aaa4..0000000
--- a/libgloss/mips/idtmon.S
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * idtmon.S -- lo-level entry points into IDT monitor.
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
- .text
- .align 2
-
-/* Provide named functions for entry into the IDT monitor: */
-#define INDIRECT(name,index) \
- .globl name; \
- .ent name; \
-name: la $2,+(0xbfc00000+((index)*8)); \
- j $2; \
- .end name
-
-/* The following magic numbers are for the slots into the IDT monitor: */
-INDIRECT(open,6)
-INDIRECT(read,7)
-INDIRECT(write,8)
-INDIRECT(close,10)
-INDIRECT(inbyte,11)
-INDIRECT(outbyte,12)
-INDIRECT(unlink,13)
-INDIRECT(lseek,14)
-INDIRECT(stat,15)
-INDIRECT(mon_printf,16)
-INDIRECT(_flush_cache,28)
-INDIRECT(get_mem_info,55) /* expects pointer to three word vector */
-
-/* EOF idtmon.S */
diff --git a/libgloss/mips/jmr3904-io.c b/libgloss/mips/jmr3904-io.c
deleted file mode 100644
index 8d43007..0000000
--- a/libgloss/mips/jmr3904-io.c
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-#define READ_UINT8( _register_, _value_ ) \
- ((_value_) = *((volatile unsigned char *)(_register_)))
-
-#define WRITE_UINT8( _register_, _value_ ) \
- (*((volatile unsigned char *)(_register_)) = (_value_))
-
- /* - Board specific addresses for serial chip */
-#define DIAG_BASE 0xfffff300
-#define DIAG_SLCR (DIAG_BASE+0x00)
-#define DIAG_SLSR (DIAG_BASE+0x04)
-#define DIAG_SLDICR (DIAG_BASE+0x08)
-#define DIAG_SLDISR (DIAG_BASE+0x0C)
-#define DIAG_SFCR (DIAG_BASE+0x10)
-#define DIAG_SBRG (DIAG_BASE+0x14)
-#define DIAG_TFIFO (DIAG_BASE+0x20)
-#define DIAG_RFIFO (DIAG_BASE+0x30)
-
-#define BRG_T0 0x0000
-#define BRG_T2 0x0100
-#define BRG_T4 0x0200
-#define BRG_T5 0x0300
-
-
-#define READ_UINT16( _register_, _value_ ) \
- ((_value_) = *((volatile unsigned short *)(_register_)))
-
-#define WRITE_UINT16( _register_, _value_ ) \
- (*((volatile unsigned short *)(_register_)) = (_value_))
-
-unsigned char
-inbyte (void)
-{
- unsigned char c;
- unsigned short disr;
-
- for (;;)
- {
- READ_UINT16 (DIAG_SLDISR, disr);
- if (disr & 0x0001)
- break;
- }
- disr = disr & ~0x0001;
- READ_UINT8 (DIAG_RFIFO, c);
- WRITE_UINT16 (DIAG_SLDISR, disr);
- return c;
-}
-
-void
-outbyte (unsigned char c)
-{
- unsigned short disr;
-
- for (;;)
- {
- READ_UINT16 (DIAG_SLDISR, disr);
- if (disr & 0x0002)
- break;
- }
- disr = disr & ~0x0002;
- WRITE_UINT8 (DIAG_TFIFO, c);
- WRITE_UINT16 (DIAG_SLDISR, disr);
-}
-
-/* Stuff required to setup IO on this board */
-void board_serial_init (void)
-{
- WRITE_UINT16 (DIAG_SLCR, 0x0020);
- WRITE_UINT16 (DIAG_SLDICR, 0x0000);
- WRITE_UINT16 (DIAG_SFCR, 0x0000);
- WRITE_UINT16 (DIAG_SBRG, BRG_T2 | 5);
-}
-
-/* If you want this to be initialized as part of the stuff which gets called
- by crt0, it should be named 'hardware_init_hook'.
- Local implementations may want to move or add to this function OR
- do the initializations after main() is entered.
-*/
-void hardware_init_hook(void)
-{
- board_serial_init() ;
-}
-
-/* Structure filled in by get_mem_info. Only the size field is
- actually used (by sbrk), so the others aren't even filled in. */
-
-struct s_mem
-{
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-/* mem_size is provided in the linker script so that we don't have to
- define it here. */
-extern char _mem_size[];
-
-void
-get_mem_info (mem)
- struct s_mem *mem;
-{
- mem->size = (unsigned int)_mem_size;
-}
diff --git a/libgloss/mips/jmr3904app-java.ld b/libgloss/mips/jmr3904app-java.ld
deleted file mode 100644
index 98ce535..0000000
--- a/libgloss/mips/jmr3904app-java.ld
+++ /dev/null
@@ -1,135 +0,0 @@
-/* Linker script forJMR 3904 board using Java + qthreads */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:3000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -ljmr3904 -lgcc -lgcjcoop)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
-
-/* Set the size of the stack for Java with qthreads. */
-PROVIDE (_Jv_QthreadsStackSize = 0x10000);
-
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80008000;
- /* This is NOT the address which fits with the monitor from jmr. */
- /* It fits the Cygmon ROMS */
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . += 0x2000 ; /* 8k bytes of stack. */
- __stack = ALIGN(64) ;
- . = __stack ;
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/jmr3904app.ld b/libgloss/mips/jmr3904app.ld
deleted file mode 100644
index 3056a36..0000000
--- a/libgloss/mips/jmr3904app.ld
+++ /dev/null
@@ -1,168 +0,0 @@
-/* Linker script forJMR 3904 board */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:3000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -ljmr3904 -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
-
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80008000;
- /* This is NOT the address which fits with the monitor from jmr. */
- /* It fits the Cygmon ROMS */
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . += 0x2000 ; /* 8k bytes of stack. */
- __stack = ALIGN(64) ;
- . = __stack ;
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/jmr3904dram-java.ld b/libgloss/mips/jmr3904dram-java.ld
deleted file mode 100644
index 71e8403..0000000
--- a/libgloss/mips/jmr3904dram-java.ld
+++ /dev/null
@@ -1,138 +0,0 @@
-/* Linker script forJMR 3904 board using Java + qthreads */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:3000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -ljmr3904 -lgcc -lgcjcoop)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
- /* but this is 1 Mb */
-
-/* Set the size of the stack for Java with qthreads. */
-PROVIDE (_Jv_QthreadsStackSize = 0x10000);
-
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- /* Load everything into DRAM, except for the stack. Put stack in SRAM */
- . = 0x88000000;
- /* This is NOT the address which fits with the monitor from jmr. */
- /* It fits the Cygmon ROMS */
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* Put stack in SRAM (8 Kb); this size is the same as the stack from
- the original script (when everything was in SRAM). */
- __stack = 0x8000A000;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/jmr3904dram.ld b/libgloss/mips/jmr3904dram.ld
deleted file mode 100644
index a2cb1ea..0000000
--- a/libgloss/mips/jmr3904dram.ld
+++ /dev/null
@@ -1,135 +0,0 @@
-/* Linker script forJMR 3904 board */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:3000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -ljmr3904 -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
- /* but this is 1 Mb */
-
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- /* Load everything into DRAM, except for the stack. Put stack in SRAM */
- . = 0x88000000;
- /* This is NOT the address which fits with the monitor from jmr. */
- /* It fits the Cygmon ROMS */
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
- . = .;
- .rdata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* Put stack in SRAM (8 Kb); this size is the same as the stack from
- the original script (when everything was in SRAM). */
- __stack = 0x8000A000;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/mips/lsi.ld b/libgloss/mips/lsi.ld
deleted file mode 100644
index 8393825..0000000
--- a/libgloss/mips/lsi.ld
+++ /dev/null
@@ -1,132 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:4000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -llsi -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0020000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- CONSTRUCTORS
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
- end = .;
- _end = .;
-}
diff --git a/libgloss/mips/lsipmon.S b/libgloss/mips/lsipmon.S
deleted file mode 100644
index f9083d6..0000000
--- a/libgloss/mips/lsipmon.S
+++ /dev/null
@@ -1,2 +0,0 @@
-#define LSI 1
-#include "pmon.S"
diff --git a/libgloss/mips/mti32.ld b/libgloss/mips/mti32.ld
deleted file mode 100644
index 715639e..0000000
--- a/libgloss/mips/mti32.ld
+++ /dev/null
@@ -1,185 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA32r2 programs for use with
- the simulator. */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa32r2")
-OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/mti64.ld b/libgloss/mips/mti64.ld
deleted file mode 100644
index 1bd11f6..0000000
--- a/libgloss/mips/mti64.ld
+++ /dev/null
@@ -1,187 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA64r2 programs for use with the
- simulator. We set the ISA explicitly so that we can link objects of
- different ISAs that are subsets of ISA64r2 but are not extensions of
- each other (e.g., MIPS32r2 and MIPS64). */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa64r2")
-OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/mti64_64.ld b/libgloss/mips/mti64_64.ld
deleted file mode 100644
index a058b96..0000000
--- a/libgloss/mips/mti64_64.ld
+++ /dev/null
@@ -1,190 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA64r2 programs for use with the
- simulator. We set the ISA explicitly so that we can link objects of
- different ISAs that are subsets of ISA64r2 but are not extensions of
- each other (e.g., MIPS32r2 and MIPS64).
-
- It differs from mti64.ld by using the elf64 ABI targets instead of the
- elf32 ABI targets in OUTPUT_FORMAT. */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa64r2")
-OUTPUT_FORMAT("elf64-tradlittlemips", "elf64-tradbigmips", "elf64-tradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xFFFFFFFF80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/mti64_n32.ld b/libgloss/mips/mti64_n32.ld
deleted file mode 100644
index 279571b..0000000
--- a/libgloss/mips/mti64_n32.ld
+++ /dev/null
@@ -1,190 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA64r2 programs for use with the
- simulator. We set the ISA explicitly so that we can link objects of
- different ISAs that are subsets of ISA64r2 but are not extensions of
- each other (e.g., MIPS32r2 and MIPS64).
-
- It differs from mti64.ld by using the n32 ABI targets instead of the
- o32 ABI targets in OUTPUT_FORMAT. */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa64r2")
-OUTPUT_FORMAT("elf32-ntradlittlemips", "elf32-ntradbigmips", "elf32-ntradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/nullmon.c b/libgloss/mips/nullmon.c
deleted file mode 100644
index 0b519bf..0000000
--- a/libgloss/mips/nullmon.c
+++ /dev/null
@@ -1,64 +0,0 @@
-/* nullmon.c - Stub or monitor services.
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* This is a ROMSTUB
- Various libraries in libgloss may reference board specific services.
- These are often performed by system calls and by rom specific
- interfaces such as dvemon.c This file defines the null interface in
- which the rom monitor either does not exist or is not used.
- Linking with this file supports applications which only exercise
- the processor, specifically, the GDB test suite.
- By linking this object in rather than a monitor specific support
- we can insure that the testsuite will run without references or
- linkages to nonexistent monitor services.
- Similarly, every service provided by this file muse be provided by all
- monitor speciifc interfaces.
- PLEASE DO NOT MAKE THIS FILE SPECIFIC TO ANY MONITOR
- */
-
-/* This form is giving linker relocation errors */
-#if ! defined(BOARD_MEM_SIZE)
-#define BOARD_MEM_SIZE 0x100000 /* About a megabyte */
-#endif
-extern char _ftext[]; /* Defined in nullmon.ld */
-extern char _end[]; /* Defined in nullmon.ld */
-
-#if defined(FIXME_WARNINGS)
-#warning("FIXME: struct s_mem belongs in a header file")
-#endif
-struct s_mem
-{ unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-void
-get_mem_info (mem)
- struct s_mem *mem;
-{
- mem->size = BOARD_MEM_SIZE - (_end - _ftext);
-}
-
-/* SYSTEM INTERFACE
- Since we are defining a NULL operating environment here, I am
- entering the stub definitions for the GNUpro libraries, System Calls.
- I would rather not to even pretend to support these functions but, they
- get pulled in by other libraries.
-*/
-
-int read(int file, char * ptr , int len) { return 0 ; }
-int close (int file) { return -1 ; }
-int write(int file , char * ptr, int len) { return 0 ; }
-/*eof*/
diff --git a/libgloss/mips/nullmon.ld b/libgloss/mips/nullmon.ld
deleted file mode 100644
index c90aed3..0000000
--- a/libgloss/mips/nullmon.ld
+++ /dev/null
@@ -1,179 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:4000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lnullmon -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0020000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
- . = ALIGN(64) ;
- end = .;
- _end = .;
-
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/pmon.S b/libgloss/mips/pmon.S
deleted file mode 100644
index 5485979..0000000
--- a/libgloss/mips/pmon.S
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * pmon.S -- low-level entry points into PMON monitor.
- *
- * Copyright (c) 1996, 1997, 2002 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#if !defined(__mips64)
- /* This machine does not support 64-bit operations. */
- #define ADDU addu
- #define SUBU subu
-#else
- /* This machine supports 64-bit operations. */
- #define ADDU daddu
- #define SUBU dsubu
-#endif
-
-#include "regs.S"
-
- .text
- .align 2
-
-#ifdef LSI
- #define PMON_VECTOR 0xffffffffbfc00200
-#else
- #define PMON_VECTOR 0xffffffffbfc00500
-#endif
-
-#ifndef __mips_eabi
-/* Provide named functions for entry into the monitor: */
-#define INDIRECT(name,index) \
- .globl name; \
- .ent name; \
- .set noreorder; \
-name: la $2,+(PMON_VECTOR+((index)*4)); \
- lw $2,0($2); \
- j $2; \
- nop; \
- .set reorder; \
- .end name
-
-#else
-#define INDIRECT(name,index) \
- .globl name; \
- .ent name; \
- .set noreorder; \
-name: la $2,+(PMON_VECTOR+((index)*4)); \
- lw $2,0($2); \
- SUBU sp,sp,0x40; \
- sd ra,0x38(sp); \
- sd fp,0x30(sp); \
- jal $2; \
- move fp,sp; \
- ld ra,0x38(sp); \
- ld fp,0x30(sp); \
- j ra; \
- ADDU sp,sp,0x40; \
- .set reorder; \
- .end name
-#endif
-
-
-/* The following magic numbers are for the slots into the PMON monitor */
-/* The first are used as the lo-level library run-time: */
-INDIRECT(read,0)
-INDIRECT(write,1)
-INDIRECT(open,2)
-INDIRECT(close,3)
-/* The following are useful monitor routines: */
-INDIRECT(mon_ioctl,4)
-INDIRECT(mon_printf,5)
-INDIRECT(mon_vsprintf,6)
-INDIRECT(mon_ttctl,7)
-INDIRECT(mon_cliexit,8)
-INDIRECT(mon_getenv,9)
-INDIRECT(mon_onintr,10)
-INDIRECT(mon_flush_cache,11)
-INDIRECT(_flush_cache,11)
-INDIRECT(mon_exception,12)
-
-/* The following routine is required by the "print()" function: */
- .globl outbyte
- .ent outbyte
- .set noreorder
-outbyte:
- subu sp,sp,0x20 /* allocate stack space for string */
- sd ra,0x18(sp) /* stack return address */
- sd fp,0x10(sp) /* stack frame-pointer */
- move fp,sp /* take a copy of the stack pointer */
- /* We leave so much space on the stack for the string (16
- characters), since the call to mon_printf seems to corrupt
- the 8bytes at offset 8 into the string/stack. */
- sb a0,0x00(sp) /* character to print */
- sb z0,0x01(sp) /* NUL terminator */
- jal mon_printf /* and output the string */
- move a0,sp /* take a copy of the string pointer {DELAY SLOT} */
-
- move sp,fp /* recover stack pointer */
- ld ra,0x18(sp) /* recover return address */
- ld fp,0x10(sp) /* recover frame-pointer */
- j ra /* return to the caller */
- addu sp,sp,0x20 /* dump the stack space {DELAY SLOT} */
- .set reorder
- .end outbyte
-
-/* The following routine is required by the "sbrk()" function: */
- .globl get_mem_info
- .ent get_mem_info
- .set noreorder
-get_mem_info:
- # in: a0 = pointer to 3 word structure
- # out: void
- subu sp,sp,0x18 /* create some stack space */
- sd ra,0x00(sp) /* stack return address */
- sd fp,0x08(sp) /* stack frame-pointer */
- sd a0,0x10(sp) /* stack structure pointer */
- move fp,sp /* take a copy of the stack pointer */
-
- # The monitor has already sized memory, but unfortunately we
- # do not have access to the data location containing the
- # memory size.
-
- jal __sizemem
- nop
-
- ld a0,0x10(sp) # recover structure pointer
- sw v0,0(a0) # amount of memory available
-
- # Deal with getting the cache size information:
- mfc0 a1, C0_CONFIG
- nop
- nop
- andi a2,a1,0x7 << 9 # bits 11..9 for instruction cache size
- sll a2,a2,12 - 8
- sw a2,4(a0)
- andi a2,a1,0x7 << 6 # bits 8..6 for data cache size
- sll a2,a2,12 - 5
- sw a2,8(a0) # data cache size
- #
- move sp,fp /* recover stack pointer */
- ld ra,0x00(sp) /* recover return address */
- ld fp,0x08(sp) /* recover frame-pointer */
- j ra /* return to the caller */
- addu sp,sp,0x18 /* restore stack pointer {DELAY SLOT} */
- .set reorder
- .end get_mem_info
-
-#ifdef LSI
-
-# For the LSI MiniRISC board, we can safely assume that we have
-# at least one megabyte of RAM.
-
- .globl __sizemem
- .ent __sizemem
-__sizemem:
- li v0,0x100000
- j ra
- .end __sizemem
-#else
-
-
-#endif
-/* EOF pmon.S */
diff --git a/libgloss/mips/pmon.ld b/libgloss/mips/pmon.ld
deleted file mode 100644
index 81fd8ee..0000000
--- a/libgloss/mips/pmon.ld
+++ /dev/null
@@ -1,178 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. */
-
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH("mips:4000")
-OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
-GROUP(-lc -lpmon -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0xA0020000;
- .text : {
- _ftext = . ;
- KEEP (*(.init))
- eprol = .;
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- KEEP (*(.fini))
- etext = .;
- _etext = .;
- }
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- edata = .;
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- end = .;
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/regs.S b/libgloss/mips/regs.S
deleted file mode 100644
index bdf933f..0000000
--- a/libgloss/mips/regs.S
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
- * regs.S -- standard MIPS register names.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* Standard MIPS register names: */
-#define zero $0
-#define z0 $0
-#define v0 $2
-#define v1 $3
-#define a0 $4
-#define a1 $5
-#define a2 $6
-#define a3 $7
-#define t0 $8
-#define t1 $9
-#define t2 $10
-#define t3 $11
-#define t4 $12
-#define t5 $13
-#define t6 $14
-#define t7 $15
-#define s0 $16
-#define s1 $17
-#define s2 $18
-#define s3 $19
-#define s4 $20
-#define s5 $21
-#define s6 $22
-#define s7 $23
-#define t8 $24
-#define t9 $25
-#define k0 $26 /* kernel private register 0 */
-#define k1 $27 /* kernel private register 1 */
-#define gp $28 /* global data pointer */
-#define sp $29 /* stack-pointer */
-#define fp $30 /* frame-pointer */
-#define ra $31 /* return address */
-#define pc $pc /* pc, used on mips16 */
-
-#define fp0 $f0
-#define fp1 $f1
-
-/* Useful memory constants: */
-#ifndef __mips64
-#define K0BASE 0x80000000
-#define K1BASE 0xA0000000
-#define K0BASE_ADDR ((char *)K0BASE)
-#define K1BASE_ADDR ((char *)K1BASE)
-#else
-#define K0BASE 0xFFFFFFFF80000000
-#define K1BASE 0xFFFFFFFFA0000000
-#define K0BASE_ADDR ((char *)0xFFFFFFFF80000000LL)
-#define K1BASE_ADDR ((char *)0xFFFFFFFFA0000000LL)
-#endif
-
-#define PHYS_TO_K1(a) ((unsigned)(a) | K1BASE)
-
-/* Standard Co-Processor 0 registers */
-#define C0_COUNT $9 /* Count Register */
-#define C0_SR $12 /* Status Register */
-#define C0_CAUSE $13 /* last exception description */
-#define C0_EPC $14 /* Exception error address */
-#define C0_PRID $15 /* Processor Revision ID */
-#define C0_CONFIG $16 /* CPU configuration */
-
-/* Standard Processor Revision ID Register field offsets */
-#define PR_IMP 8
-
-/* Standard Config Register field offsets */
-#define CR_DB 4
-#define CR_IB 5
-#define CR_DC 6 /* NOTE v4121 semantics != 43,5xxx semantics */
-#define CR_IC 9 /* NOTE v4121 semantics != 43,5xxx semantics */
-#define CR_SC 17
-#define CR_SS 20
-#define CR_SB 22
-
-
-/* Standard Status Register bitmasks: */
-#define SR_CU1 0x20000000 /* Mark CP1 as usable */
-#define SR_FR 0x04000000 /* Enable MIPS III FP registers */
-#define SR_BEV 0x00400000 /* Controls location of exception vectors */
-#define SR_PE 0x00100000 /* Mark soft reset (clear parity error) */
-
-#define SR_KX 0x00000080 /* Kernel extended addressing enabled */
-#define SR_SX 0x00000040 /* Supervisor extended addressing enabled */
-#define SR_UX 0x00000020 /* User extended addressing enabled */
-
-/* Standard (R4000) cache operations. Taken from "MIPS R4000
- Microprocessor User's Manual" 2nd edition: */
-
-#define CACHE_I (0) /* primary instruction */
-#define CACHE_D (1) /* primary data */
-#define CACHE_SI (2) /* secondary instruction */
-#define CACHE_SD (3) /* secondary data (or combined instruction/data) */
-
-#define INDEX_INVALIDATE (0) /* also encodes WRITEBACK if CACHE_D or CACHE_SD */
-#define INDEX_LOAD_TAG (1)
-#define INDEX_STORE_TAG (2)
-#define CREATE_DIRTY_EXCLUSIVE (3) /* CACHE_D and CACHE_SD only */
-#define HIT_INVALIDATE (4)
-#define CACHE_FILL (5) /* CACHE_I only */
-#define HIT_WRITEBACK_INVALIDATE (5) /* CACHE_D and CACHE_SD only */
-#define HIT_WRITEBACK (6) /* CACHE_I, CACHE_D and CACHE_SD only */
-#define HIT_SET_VIRTUAL (7) /* CACHE_SI and CACHE_SD only */
-
-#define BUILD_CACHE_OP(o,c) (((o) << 2) | (c))
-
-/* Individual cache operations: */
-#define INDEX_INVALIDATE_I BUILD_CACHE_OP(INDEX_INVALIDATE,CACHE_I)
-#define INDEX_WRITEBACK_INVALIDATE_D BUILD_CACHE_OP(INDEX_INVALIDATE,CACHE_D)
-#define INDEX_INVALIDATE_SI BUILD_CACHE_OP(INDEX_INVALIDATE,CACHE_SI)
-#define INDEX_WRITEBACK_INVALIDATE_SD BUILD_CACHE_OP(INDEX_INVALIDATE,CACHE_SD)
-
-#define INDEX_LOAD_TAG_I BUILD_CACHE_OP(INDEX_LOAD_TAG,CACHE_I)
-#define INDEX_LOAD_TAG_D BUILD_CACHE_OP(INDEX_LOAD_TAG,CACHE_D)
-#define INDEX_LOAD_TAG_SI BUILD_CACHE_OP(INDEX_LOAD_TAG,CACHE_SI)
-#define INDEX_LOAD_TAG_SD BUILD_CACHE_OP(INDEX_LOAD_TAG,CACHE_SD)
-
-#define INDEX_STORE_TAG_I BUILD_CACHE_OP(INDEX_STORE_TAG,CACHE_I)
-#define INDEX_STORE_TAG_D BUILD_CACHE_OP(INDEX_STORE_TAG,CACHE_D)
-#define INDEX_STORE_TAG_SI BUILD_CACHE_OP(INDEX_STORE_TAG,CACHE_SI)
-#define INDEX_STORE_TAG_SD BUILD_CACHE_OP(INDEX_STORE_TAG,CACHE_SD)
-
-#define CREATE_DIRTY_EXCLUSIVE_D BUILD_CACHE_OP(CREATE_DIRTY_EXCLUSIVE,CACHE_D)
-#define CREATE_DIRTY_EXCLUSIVE_SD BUILD_CACHE_OP(CREATE_DIRTY_EXCLUSIVE,CACHE_SD)
-
-#define HIT_INVALIDATE_I BUILD_CACHE_OP(HIT_INVALIDATE,CACHE_I)
-#define HIT_INVALIDATE_D BUILD_CACHE_OP(HIT_INVALIDATE,CACHE_D)
-#define HIT_INVALIDATE_SI BUILD_CACHE_OP(HIT_INVALIDATE,CACHE_SI)
-#define HIT_INVALIDATE_SD BUILD_CACHE_OP(HIT_INVALIDATE,CACHE_SD)
-
-#define CACHE_FILL_I BUILD_CACHE_OP(CACHE_FILL,CACHE_I)
-#define HIT_WRITEBACK_INVALIDATE_D BUILD_CACHE_OP(HIT_WRITEBACK_INVALIDATE,CACHE_D)
-#define HIT_WRITEBACK_INVALIDATE_SD BUILD_CACHE_OP(HIT_WRITEBACK_INVALIDATE,CACHE_SD)
-
-#define HIT_WRITEBACK_I BUILD_CACHE_OP(HIT_WRITEBACK,CACHE_I)
-#define HIT_WRITEBACK_D BUILD_CACHE_OP(HIT_WRITEBACK,CACHE_D)
-#define HIT_WRITEBACK_SD BUILD_CACHE_OP(HIT_WRITEBACK,CACHE_SD)
-
-#define HIT_SET_VIRTUAL_SI BUILD_CACHE_OP(HIT_SET_VIRTUAL,CACHE_SI)
-#define HIT_SET_VIRTUAL_SD BUILD_CACHE_OP(HIT_SET_VIRTUAL,CACHE_SD)
-
-/*> EOF regs.S <*/
diff --git a/libgloss/mips/sde32.ld b/libgloss/mips/sde32.ld
deleted file mode 100644
index 715639e..0000000
--- a/libgloss/mips/sde32.ld
+++ /dev/null
@@ -1,185 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA32r2 programs for use with
- the simulator. */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa32r2")
-OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/sde64.ld b/libgloss/mips/sde64.ld
deleted file mode 100644
index 1bd11f6..0000000
--- a/libgloss/mips/sde64.ld
+++ /dev/null
@@ -1,187 +0,0 @@
-/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links ISA64r2 programs for use with the
- simulator. We set the ISA explicitly so that we can link objects of
- different ISAs that are subsets of ISA64r2 but are not extensions of
- each other (e.g., MIPS32r2 and MIPS64). */
-
-ENTRY(_start)
-OUTPUT_ARCH("mips:isa64r2")
-OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
-GROUP(-lc -lidt -lgcc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-STARTUP(crt0.o)
-
-/*
- * Allocate the stack to be at the top of memory, since the stack
- * grows down
- */
-PROVIDE (__stack = 0);
-/* PROVIDE (__global = 0); */
-
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we multiple object file
- * formats, as some prepend an underscore.
- */
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-
-SECTIONS
-{
- . = 0x80020000;
- .text : {
- _ftext = . ;
- PROVIDE (eprol = .);
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- *(.mips16.fn.*)
- *(.mips16.call.*)
- }
- .init : {
- KEEP (*(.init))
- }
- .fini : {
- KEEP (*(.fini))
- }
- .rel.sdata : {
- PROVIDE (__runtime_reloc_start = .);
- *(.rel.sdata)
- PROVIDE (__runtime_reloc_stop = .);
- }
- PROVIDE (etext = .);
- _etext = .;
-
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
-
- KEEP (*crtbegin.o(.ctors))
-
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
-
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
-
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
-
- . = .;
- .rodata : {
- *(.rdata)
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- _fdata = ALIGN(16);
- .data : {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- }
- . = ALIGN(8);
- _gp = . + 0x8000;
- __global = _gp;
- .lit8 : {
- *(.lit8)
- }
- .lit4 : {
- *(.lit4)
- }
- .sdata : {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- . = ALIGN(4);
- PROVIDE (edata = .);
- _edata = .;
- _fbss = .;
- .sbss : {
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- }
- .bss : {
- _bss_start = . ;
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- }
-
- PROVIDE (end = .);
- _end = .;
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
-
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Special sections generated by gcc */
- /* Newer GNU linkers strip by default */
- .mdebug.abi32 0 : { KEEP(*(.mdebug.abi32)) }
- .mdebug.abiN32 0 : { KEEP(*(.mdebug.abiN32)) }
- .mdebug.abi64 0 : { KEEP(*(.mdebug.abi64)) }
- .mdebug.abiO64 0 : { KEEP(*(.mdebug.abiO64)) }
- .mdebug.eabi32 0 : { KEEP(*(.mdebug.eabi32)) }
- .mdebug.eabi64 0 : { KEEP(*(.mdebug.eabi64)) }
- .gcc_compiled_long32 0 : { KEEP(*(.gcc_compiled_long32)) }
- .gcc_compiled_long64 0 : { KEEP(*(.gcc_compiled_long64)) }
-}
diff --git a/libgloss/mips/syscalls.c b/libgloss/mips/syscalls.c
deleted file mode 100644
index 3ab5436..0000000
--- a/libgloss/mips/syscalls.c
+++ /dev/null
@@ -1,45 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-#include "regs.S"
-
-extern char _end[];
-
-/* FIXME: This is not ideal, since we do a get_mem_info() call for
- every sbrk() call. */
-char *
-sbrk (nbytes)
- int nbytes;
-{
- static char *heap_ptr = _end;
- static char *heap_start = _end;
- char *base;
- struct s_mem {
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
- } mem;
- unsigned int avail = 0;
-
- /* The sizeof (s_mem.size) must be 4 bytes. The compiler should be
- able to eliminate this check */
- if (sizeof (unsigned int) != 4)
- return (char *)-1;
-
- get_mem_info(&mem);
- /* NOTE: The value returned from the get_mem_info call is the amount
- of memory, and not the address of the (last byte + 1) */
-
- if (((size_t)heap_ptr >= heap_start) && ((size_t)heap_ptr < (heap_start + mem.size))) {
- avail = (heap_start + mem.size) - (size_t)heap_ptr;
- base = heap_ptr;
- } /* else will fail since "nbytes" will be greater than zeroed "avail" value */
-
- if ((nbytes > avail) || (heap_ptr + nbytes < _end))
- base = (char *)-1;
- else
- heap_ptr += nbytes;
-
- return base;
-}
diff --git a/libgloss/mips/test.c b/libgloss/mips/test.c
deleted file mode 100644
index a993479..0000000
--- a/libgloss/mips/test.c
+++ /dev/null
@@ -1,13 +0,0 @@
-main()
-{
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
-
- /* whew, we made it */
-
- print ("\r\nDone...");
-
- return;
-}
diff --git a/libgloss/mips/vr4300.S b/libgloss/mips/vr4300.S
deleted file mode 100644
index 9737ddc..0000000
--- a/libgloss/mips/vr4300.S
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * vr4300.S -- CPU specific support routines
- *
- * Copyright (c) 1995,1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef __mips64
- .set mips3
-#endif
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
- .text
- .align 2
-
- # Taken from "R4300 Preliminary RISC Processor Specification
- # Revision 2.0 January 1995" page 39: "The Count
- # register... increments at a constant rate... at one-half the
- # PClock speed."
- # We can use this fact to provide small polled delays.
- .globl __cpu_timer_poll
- .ent __cpu_timer_poll
-__cpu_timer_poll:
- .set noreorder
- # in: a0 = (unsigned int) number of PClock ticks to wait for
- # out: void
-
- # The Vr4300 counter updates at half PClock, so divide by 2 to
- # get counter delta:
- bnezl a0, 1f # continue if delta non-zero
- srl a0, a0, 1 # divide ticks by 2 {DELAY SLOT}
- # perform a quick return to the caller:
- j ra
- nop # {DELAY SLOT}
-1:
- mfc0 v0, C0_COUNT # get current counter value
- nop
- nop
- # We cannot just do the simple test, of adding our delta onto
- # the current value (ignoring overflow) and then checking for
- # equality. The counter is incrementing every two PClocks,
- # which means the counter value can change between
- # instructions, making it hard to sample at the exact value
- # desired.
-
- # However, we do know that our entry delta value is less than
- # half the number space (since we divide by 2 on entry). This
- # means we can use a difference in signs to indicate timer
- # overflow.
- addu a0, v0, a0 # unsigned add (ignore overflow)
- # We know have our end value (which will have been
- # sign-extended to fill the 64bit register value).
-2:
- # get current counter value:
- mfc0 v0, C0_COUNT
- nop
- nop
- # This is an unsigned 32bit subtraction:
- subu v0, a0, v0 # delta = (end - now) {DELAY SLOT}
- bgtzl v0, 2b # looping back is most likely
- nop
- # We have now been delayed (in the foreground) for AT LEAST
- # the required number of counter ticks.
- j ra # return to caller
- nop # {DELAY SLOT}
- .set reorder
- .end __cpu_timer_poll
-
- # Flush the processor caches to memory:
-
- .globl __cpu_flush
- .ent __cpu_flush
-__cpu_flush:
- .set noreorder
- # NOTE: The Vr4300 *CANNOT* have any secondary cache (bit 17
- # of the CONFIG registered is hard-wired to 1). We just
- # provide code to flush the Data and Instruction caches.
-
- # Even though the Vr4300 has hard-wired cache and cache line
- # sizes, we still interpret the relevant Config register
- # bits. This allows this code to be used for other conforming
- # MIPS architectures if desired.
-
- # Get the config register
- mfc0 a0, C0_CONFIG
- nop
- nop
- li a1, 1 # a useful constant
- #
- srl a2, a0, 9 # bits 11..9 for instruction cache size
- andi a2, a2, 0x7 # 3bits of information
- add a2, a2, 12 # get full power-of-2 value
- sllv a2, a1, a2 # instruction cache size
- #
- srl a3, a0, 6 # bits 8..6 for data cache size
- andi a3, a3, 0x7 # 3bits of information
- add a3, a3, 12 # get full power-of-2 value
- sllv a3, a1, a3 # data cache size
- #
- li a1, (1 << 5) # check IB (instruction cache line size)
- and a1, a0, a1 # mask against the CONFIG register value
- beqz a1, 1f # branch on result of delay slot operation
- nop
- li a1, 32 # non-zero, then 32bytes
- j 2f # continue
- nop
-1:
- li a1, 16 # 16bytes
-2:
- #
- li t0, (1 << 4) # check DB (data cache line size)
- and a0, a0, t0 # mask against the CONFIG register value
- beqz a0, 3f # branch on result of delay slot operation
- nop
- li a0, 32 # non-zero, then 32bytes
- j 4f # continue
- nop
-3:
- li a0, 16 # 16bytes
-4:
- #
- # a0 = data cache line size
- # a1 = instruction cache line size
- # a2 = instruction cache size
- # a3 = data cache size
- #
- lui t0, ((K0BASE >> 16) & 0xFFFF)
- ori t0, t0, (K0BASE & 0xFFFF)
- addu t1, t0, a2 # end cache address
- subu t2, a1, 1 # line size mask
- not t2 # invert the mask
- and t3, t0, t2 # get start address
- addu t1, -1
- and t1, t2 # get end address
-5:
- cache INDEX_INVALIDATE_I,0(t3)
- bne t3, t1, 5b
- addu t3, a1
- #
- addu t1, t0, a3 # end cache address
- subu t2, a0, 1 # line size mask
- not t2 # invert the mask
- and t3, t0, t2 # get start address
- addu t1, -1
- and t1, t2 # get end address
-6:
- cache INDEX_WRITEBACK_INVALIDATE_D,0(t3)
- bne t3, t1, 6b
- addu t3, a0
- #
- j ra # return to the caller
- nop
- .set reorder
- .end __cpu_flush
-
- # NOTE: This variable should *NOT* be addressed relative to
- # the $gp register since this code is executed before $gp is
- # initialised... hence we leave it in the text area. This will
- # cause problems if this routine is ever ROMmed:
-
- .globl __buserr_cnt
-__buserr_cnt:
- .word 0
- .align 3
-__k1_save:
- .word 0
- .word 0
- .align 2
-
- .ent __buserr
- .globl __buserr
-__buserr:
- .set noat
- .set noreorder
- # k0 and k1 available for use:
- mfc0 k0,C0_CAUSE
- nop
- nop
- andi k0,k0,0x7c
- sub k0,k0,7 << 2
- beq k0,$0,__buserr_do
- nop
- # call the previous handler
- la k0,__previous
- jr k0
- nop
- #
-__buserr_do:
- # TODO: check that the cause is indeed a bus error
- # - if not then just jump to the previous handler
- la k0,__k1_save
- sd k1,0(k0)
- #
- la k1,__buserr_cnt
- lw k0,0(k1) # increment counter
- addu k0,1
- sw k0,0(k1)
- #
- la k0,__k1_save
- ld k1,0(k0)
- #
- mfc0 k0,C0_EPC
- nop
- nop
- addu k0,k0,4 # skip offending instruction
- mtc0 k0,C0_EPC # update EPC
- nop
- nop
- eret
-# j k0
-# rfe
- .set reorder
- .set at
- .end __buserr
-
-__exception_code:
- .set noreorder
- lui k0,%hi(__buserr)
- daddiu k0,k0,%lo(__buserr)
- jr k0
- nop
- .set reorder
-__exception_code_end:
-
- .data
-__previous:
- .space (__exception_code_end - __exception_code)
- # This subtracting two addresses is working
- # but is not garenteed to continue working.
- # The assemble reserves the right to put these
- # two labels into different frags, and then
- # cant take their difference.
-
- .text
-
- .ent __default_buserr_handler
- .globl __default_buserr_handler
-__default_buserr_handler:
- .set noreorder
- # attach our simple bus error handler:
- # in: void
- # out: void
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,baseaddr
- lui a0,0x8000 # delay slot
- lui a0,0xbfc0
- daddiu a0,a0,0x0200
-baseaddr:
- daddiu a0,a0,0x0180
- # a0 = base vector table address
- la a1,__exception_code_end
- la a2,__exception_code
- subu a1,a1,a2
- la a3,__previous
- # there must be a better way of doing this????
-copyloop:
- lw v0,0(a0)
- sw v0,0(a3)
- lw v0,0(a2)
- sw v0,0(a0)
- daddiu a0,a0,4
- daddiu a2,a2,4
- daddiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,copyloop
- nop
- la a0,__buserr_cnt
- sw $0,0(a0)
- j ra
- nop
- .set reorder
- .end __default_buserr_handler
-
- .ent __restore_buserr_handler
- .globl __restore_buserr_handler
-__restore_buserr_handler:
- .set noreorder
- # restore original (monitor) bus error handler
- # in: void
- # out: void
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,res_baseaddr
- lui a0,0x8000 # delay slot
- lui a0,0xbfc0
- daddiu a0,a0,0x0200
-res_baseaddr:
- daddiu a0,a0,0x0180
- # a0 = base vector table address
- la a1,__exception_code_end
- la a3,__exception_code
- subu a1,a1,a3
- la a3,__previous
- # there must be a better way of doing this????
-res_copyloop:
- lw v0,0(a3)
- sw v0,0(a0)
- daddiu a0,a0,4
- daddiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,res_copyloop
- nop
- j ra
- nop
- .set reorder
- .end __restore_buserr_handler
-
- .ent __buserr_count
- .globl __buserr_count
-__buserr_count:
- .set noreorder
- # restore original (monitor) bus error handler
- # in: void
- # out: unsigned int __buserr_cnt
- la v0,__buserr_cnt
- lw v0,0(v0)
- j ra
- nop
- .set reorder
- .end __buserr_count
-
-/* EOF vr4300.S */
diff --git a/libgloss/mips/vr5xxx.S b/libgloss/mips/vr5xxx.S
deleted file mode 100644
index f89e88a..0000000
--- a/libgloss/mips/vr5xxx.S
+++ /dev/null
@@ -1,457 +0,0 @@
-/*
- * vr5xxx.S -- CPU specific support routines
- *
- * Copyright (c) 1999 Cygnus Solutions
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* This file cloned from vr4300.S by dlindsay@cygnus.com
- * and recoded to suit Vr5432 and Vr5000.
- * Should be no worse for Vr43{00,05,10}.
- * Specifically, __cpu_flush() has been changed (a) to allow for the hardware
- * difference (in set associativity) between the Vr5432 and Vr5000,
- * and (b) to flush the optional secondary cache of the Vr5000.
- */
-
-/* Processor Revision Identifier (PRID) Register: Implementation Numbers */
-#define IMPL_VR5432 0x54
-
-/* Cache Constants not determinable dynamically */
-#define VR5000_2NDLINE 32 /* secondary cache line size */
-#define VR5432_LINE 32 /* I,Dcache line sizes */
-#define VR5432_SIZE (16*1024) /* I,Dcache half-size */
-
-
-#ifndef __mips64
- .set mips3
-#endif
-#ifdef __mips16
-/* This file contains 32 bit assembly code. */
- .set nomips16
-#endif
-
-#include "regs.S"
-
- .text
- .align 2
-
- # Taken from "R4300 Preliminary RISC Processor Specification
- # Revision 2.0 January 1995" page 39: "The Count
- # register... increments at a constant rate... at one-half the
- # PClock speed."
- # We can use this fact to provide small polled delays.
- .globl __cpu_timer_poll
- .ent __cpu_timer_poll
-__cpu_timer_poll:
- .set noreorder
- # in: a0 = (unsigned int) number of PClock ticks to wait for
- # out: void
-
- # The Vr4300 counter updates at half PClock, so divide by 2 to
- # get counter delta:
- bnezl a0, 1f # continue if delta non-zero
- srl a0, a0, 1 # divide ticks by 2 {DELAY SLOT}
- # perform a quick return to the caller:
- j ra
- nop # {DELAY SLOT}
-1:
- mfc0 v0, C0_COUNT # get current counter value
- nop
- nop
- # We cannot just do the simple test, of adding our delta onto
- # the current value (ignoring overflow) and then checking for
- # equality. The counter is incrementing every two PClocks,
- # which means the counter value can change between
- # instructions, making it hard to sample at the exact value
- # desired.
-
- # However, we do know that our entry delta value is less than
- # half the number space (since we divide by 2 on entry). This
- # means we can use a difference in signs to indicate timer
- # overflow.
- addu a0, v0, a0 # unsigned add (ignore overflow)
- # We know have our end value (which will have been
- # sign-extended to fill the 64bit register value).
-2:
- # get current counter value:
- mfc0 v0, C0_COUNT
- nop
- nop
- # This is an unsigned 32bit subtraction:
- subu v0, a0, v0 # delta = (end - now) {DELAY SLOT}
- bgtzl v0, 2b # looping back is most likely
- nop
- # We have now been delayed (in the foreground) for AT LEAST
- # the required number of counter ticks.
- j ra # return to caller
- nop # {DELAY SLOT}
- .set reorder
- .end __cpu_timer_poll
-
- # Flush the processor caches to memory:
-
- .globl __cpu_flush
- .ent __cpu_flush
-__cpu_flush:
- .set noreorder
- # NOTE: The Vr4300 and Vr5432 *CANNOT* have any secondary cache.
- # On those, SC (bit 17 of CONFIG register) is hard-wired to 1,
- # except that email from Dennis_Han@el.nec.com says that old
- # versions of the Vr5432 incorrectly hard-wired this bit to 0.
- # The Vr5000 has an optional direct-mapped secondary cache,
- # and the SC bit correctly indicates this.
-
- # So, for the 4300 and 5432 we want to just
- # flush the primary Data and Instruction caches.
- # For the 5000 it is desired to flush the secondary cache too.
- # There is an operation difference worth noting.
- # The 4300 and 5000 primary caches use VA bit 14 to choose cache set,
- # whereas 5432 primary caches use VA bit 0.
-
- # This code interprets the relevant Config register bits as
- # much as possible, except for the 5432.
- # The code therefore has some portability.
- # However, the associativity issues mean you should not just assume
- # that this code works anywhere. Also, the secondary cache set
- # size is hardwired, since the 5000 series does not define codes
- # for variant sizes.
-
- # Note: this version of the code flushes D$ before I$.
- # It is difficult to construct a case where that matters,
- # but it cant hurt.
-
- mfc0 a0, C0_PRID # a0 = Processor Revision register
- nop # dlindsay: unclear why the nops, but
- nop # vr4300.S had such so I do too.
- srl a2, a0, PR_IMP # want bits 8..15
- andi a2, a2, 0x255 # mask: now a2 = Implementation # field
- li a1, IMPL_VR5432
- beq a1, a2, 8f # use Vr5432-specific flush algorithm
- nop
-
- # Non-Vr5432 version of the code.
- # (The distinctions being: CONFIG is truthful about secondary cache,
- # and we act as if the primary Icache and Dcache are direct mapped.)
-
- mfc0 t0, C0_CONFIG # t0 = CONFIG register
- nop
- nop
- li a1, 1 # a1=1, a useful constant
-
- srl a2, t0, CR_IC # want IC field of CONFIG
- andi a2, a2, 0x7 # mask: now a2= code for Icache size
- add a2, a2, 12 # +12
- sllv a2, a1, a2 # a2=primary instruction cache size in bytes
-
- srl a3, t0, CR_DC # DC field of CONFIG
- andi a3, a3, 0x7 # mask: now a3= code for Dcache size
- add a3, a3, 12 # +12
- sllv a3, a1, a3 # a3=primary data cache size in bytes
-
- li t2, (1 << CR_IB) # t2=mask over IB boolean
- and t2, t2, t0 # test IB field of CONFIG register value
- beqz t2, 1f #
- li a1, 16 # 16 bytes (branch shadow: always loaded.)
- li a1, 32 # non-zero, then 32bytes
-1:
-
- li t2, (1 << CR_DB) # t2=mask over DB boolean
- and t2, t2, t0 # test BD field of CONFIG register value
- beqz t2, 2f #
- li a0, 16 # 16bytes (branch shadow: always loaded.)
- li a0, 32 # non-zero, then 32bytes
-2:
- lui t1, ((K0BASE >> 16) & 0xFFFF)
- ori t1, t1, (K0BASE & 0xFFFF)
-
- # At this point,
- # a0 = primary Dcache line size in bytes
- # a1 = primary Icache line size in bytes
- # a2 = primary Icache size in bytes
- # a3 = primary Dcache size in bytes
- # t0 = CONFIG value
- # t1 = a round unmapped cached base address (we are in kernel mode)
- # t2,t3 scratch
-
- addi t3, t1, 0 # t3=t1=start address for any cache
- add t2, t3, a3 # t2=end adress+1 of Dcache
- sub t2, t2, a0 # t2=address of last line in Dcache
-3:
- cache INDEX_WRITEBACK_INVALIDATE_D,0(t3)
- bne t3, t2, 3b #
- addu t3, a0 # (delay slot) increment by Dcache line size
-
-
- # Now check CONFIG to see if there is a secondary cache
- lui t2, (1 << (CR_SC-16)) # t2=mask over SC boolean
- and t2, t2, t0 # test SC in CONFIG
- bnez t2, 6f
-
- # There is a secondary cache. Find out its sizes.
-
- srl t3, t0, CR_SS # want SS field of CONFIG
- andi t3, t3, 0x3 # mask: now t3= code for cache size.
- beqz t3, 4f
- lui a3, ((512*1024)>>16) # a3= 512K, code was 0
- addu t3, -1 # decrement code
- beqz t3, 4f
- lui a3, ((1024*1024)>>16) # a3= 1 M, code 1
- addu t3, -1 # decrement code
- beqz t3, 4f
- lui a3, ((2*1024*1024)>>16) # a3= 2 M, code 2
- j 6f # no secondary cache, code 3
-
-4: # a3 = secondary cache size in bytes
- li a0, VR5000_2NDLINE # no codes assigned for other than 32
-
- # At this point,
- # a0 = secondary cache line size in bytes
- # a1 = primary Icache line size in bytes
- # a2 = primary Icache size in bytes
- # a3 = secondary cache size in bytes
- # t1 = a round unmapped cached base address (we are in kernel mode)
- # t2,t3 scratch
-
- addi t3, t1, 0 # t3=t1=start address for any cache
- add t2, t3, a3 # t2=end address+1 of secondary cache
- sub t2, t2, a0 # t2=address of last line in secondary cache
-5:
- cache INDEX_WRITEBACK_INVALIDATE_SD,0(t3)
- bne t3, t2, 5b
- addu t3, a0 # (delay slot) increment by line size
-
-
-6: # Any optional secondary cache done. Now do I-cache and return.
-
- # At this point,
- # a1 = primary Icache line size in bytes
- # a2 = primary Icache size in bytes
- # t1 = a round unmapped cached base address (we are in kernel mode)
- # t2,t3 scratch
-
- add t2, t1, a2 # t2=end adress+1 of Icache
- sub t2, t2, a1 # t2=address of last line in Icache
-7:
- cache INDEX_INVALIDATE_I,0(t1)
- bne t1, t2, 7b
- addu t1, a1 # (delay slot) increment by Icache line size
-
- j ra # return to the caller
- nop
-
-8:
-
-# Vr5432 version of the cpu_flush code.
-# (The distinctions being: CONFIG can not be trusted about secondary
-# cache (which does not exist). The primary caches use Virtual Address Bit 0
-# to control set selection.
-
-# Code does not consult CONFIG about cache sizes: knows the hardwired sizes.
-# Since both I and D have the same size and line size, uses a merged loop.
-
- li a0, VR5432_LINE
- li a1, VR5432_SIZE
- lui t1, ((K0BASE >> 16) & 0xFFFF)
- ori t1, t1, (K0BASE & 0xFFFF)
-
- # a0 = cache line size in bytes
- # a1 = 1/2 cache size in bytes
- # t1 = a round unmapped cached base address (we are in kernel mode)
-
- add t2, t1, a1 # t2=end address+1
- sub t2, t2, a0 # t2=address of last line in Icache
-
-9:
- cache INDEX_WRITEBACK_INVALIDATE_D,0(t1) # set 0
- cache INDEX_WRITEBACK_INVALIDATE_D,1(t1) # set 1
- cache INDEX_INVALIDATE_I,0(t1) # set 0
- cache INDEX_INVALIDATE_I,1(t1) # set 1
- bne t1, t2, 9b
- addu t1, a0
-
- j ra # return to the caller
- nop
- .set reorder
- .end __cpu_flush
-
- # NOTE: This variable should *NOT* be addressed relative to
- # the $gp register since this code is executed before $gp is
- # initialised... hence we leave it in the text area. This will
- # cause problems if this routine is ever ROMmed:
-
- .globl __buserr_cnt
-__buserr_cnt:
- .word 0
- .align 3
-__k1_save:
- .word 0
- .word 0
- .align 2
-
- .ent __buserr
- .globl __buserr
-__buserr:
- .set noat
- .set noreorder
- # k0 and k1 available for use:
- mfc0 k0,C0_CAUSE
- nop
- nop
- andi k0,k0,0x7c
- sub k0,k0,7 << 2
- beq k0,$0,__buserr_do
- nop
- # call the previous handler
- la k0,__previous
- jr k0
- nop
- #
-__buserr_do:
- # TODO: check that the cause is indeed a bus error
- # - if not then just jump to the previous handler
- la k0,__k1_save
- sd k1,0(k0)
- #
- la k1,__buserr_cnt
- lw k0,0(k1) # increment counter
- addu k0,1
- sw k0,0(k1)
- #
- la k0,__k1_save
- ld k1,0(k0)
- #
- mfc0 k0,C0_EPC
- nop
- nop
- addu k0,k0,4 # skip offending instruction
- mtc0 k0,C0_EPC # update EPC
- nop
- nop
- eret
-# j k0
-# rfe
- .set reorder
- .set at
- .end __buserr
-
-__exception_code:
- .set noreorder
- lui k0,%hi(__buserr)
- daddiu k0,k0,%lo(__buserr)
- jr k0
- nop
- .set reorder
-__exception_code_end:
-
- .data
-__previous:
- .space (__exception_code_end - __exception_code)
- # This subtracting two addresses is working
- # but is not garenteed to continue working.
- # The assemble reserves the right to put these
- # two labels into different frags, and then
- # cant take their difference.
-
- .text
-
- .ent __default_buserr_handler
- .globl __default_buserr_handler
-__default_buserr_handler:
- .set noreorder
- # attach our simple bus error handler:
- # in: void
- # out: void
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,baseaddr
- lui a0,0x8000 # delay slot
- lui a0,0xbfc0
- daddiu a0,a0,0x0200
-baseaddr:
- daddiu a0,a0,0x0180
- # a0 = base vector table address
- la a1,__exception_code_end
- la a2,__exception_code
- subu a1,a1,a2
- la a3,__previous
- # there must be a better way of doing this????
-copyloop:
- lw v0,0(a0)
- sw v0,0(a3)
- lw v0,0(a2)
- sw v0,0(a0)
- daddiu a0,a0,4
- daddiu a2,a2,4
- daddiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,copyloop
- nop
- la a0,__buserr_cnt
- sw $0,0(a0)
- j ra
- nop
- .set reorder
- .end __default_buserr_handler
-
- .ent __restore_buserr_handler
- .globl __restore_buserr_handler
-__restore_buserr_handler:
- .set noreorder
- # restore original (monitor) bus error handler
- # in: void
- # out: void
- mfc0 a0,C0_SR
- nop
- li a1,SR_BEV
- and a1,a1,a0
- beq a1,$0,res_baseaddr
- lui a0,0x8000 # delay slot
- lui a0,0xbfc0
- daddiu a0,a0,0x0200
-res_baseaddr:
- daddiu a0,a0,0x0180
- # a0 = base vector table address
- la a1,__exception_code_end
- la a3,__exception_code
- subu a1,a1,a3
- la a3,__previous
- # there must be a better way of doing this????
-res_copyloop:
- lw v0,0(a3)
- sw v0,0(a0)
- daddiu a0,a0,4
- daddiu a3,a3,4
- subu a1,a1,4
- bne a1,$0,res_copyloop
- nop
- j ra
- nop
- .set reorder
- .end __restore_buserr_handler
-
- .ent __buserr_count
- .globl __buserr_count
-__buserr_count:
- .set noreorder
- # restore original (monitor) bus error handler
- # in: void
- # out: unsigned int __buserr_cnt
- la v0,__buserr_cnt
- lw v0,0(v0)
- j ra
- nop
- .set reorder
- .end __buserr_count
-
-/* EOF vr5xxx.S */
diff --git a/libgloss/mn10200/Makefile.in b/libgloss/mn10200/Makefile.in
deleted file mode 100644
index 5a6e10b..0000000
--- a/libgloss/mn10200/Makefile.in
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright (c) 1998 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o
-
-# Generic object files common to all targets.
-GENOBJS = _exit.o access.o chmod.o close.o crt1.o \
- fstat.o getpid.o isatty.o \
- kill.o lseek.o open.o read.o \
- sbrk.o stat.o time.o trap.o unlink.o utime.o write.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${GENOBJS}
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = eval sim
-BSP = libeval.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} test.o ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-libeval.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-
-# compile a fully linked binary. The -Wl,-T*.ld is for the linker
-# script. By using -Wl, the linker script is put on the proper place
-# in the comand line for ld, and all the symbols will get fully
-# resolved.
-
-test: $(CRT0) test.o
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Teval.ld
- @echo Done...
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- @for bsp in ${BSP}; do\
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
- @for script in ${SCRIPTS}; do\
- $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-
-# these are for the BSPs
-${CRT0}: ${srcdir}/crt0.S
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mn10200/_exit.c b/libgloss/mn10200/_exit.c
deleted file mode 100644
index ec51d40..0000000
--- a/libgloss/mn10200/_exit.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-static void _do_dtors()
-{
- /* The loop variable is static so that if a destructor calls exit,
- and we return here, we simply continue with the next destructor. */
- typedef void (*pfunc) ();
- extern pfunc __dtors[];
- extern pfunc __dtors_end[];
- static pfunc *p = __dtors;
-
- while (p < __dtors_end)
- (*p++) ();
-}
-
-
-void _exit (n)
-{
- /* Destructors should be done earlier because they need to be done before the
- files are closed, but here is better than nowhere (and this balances the
- constructors done in crt1.c. */
- _do_dtors();
-
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/mn10200/access.c b/libgloss/mn10200/access.c
deleted file mode 100644
index 980682e..0000000
--- a/libgloss/mn10200/access.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
-
diff --git a/libgloss/mn10200/aclocal.m4 b/libgloss/mn10200/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/mn10200/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mn10200/chmod.c b/libgloss/mn10200/chmod.c
deleted file mode 100644
index 8200506..0000000
--- a/libgloss/mn10200/chmod.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-chmod (const char *path, mode_t mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/mn10200/chown.c b/libgloss/mn10200/chown.c
deleted file mode 100644
index 6630d3b..0000000
--- a/libgloss/mn10200/chown.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-
-int
-chown (const char *path, short owner, short group)
-{
- return TRAP0 (SYS_chown, path, owner, group);
-}
diff --git a/libgloss/mn10200/close.c b/libgloss/mn10200/close.c
deleted file mode 100644
index 8474b38..0000000
--- a/libgloss/mn10200/close.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/mn10200/configure b/libgloss/mn10200/configure
deleted file mode 100755
index 6c62f25..0000000
--- a/libgloss/mn10200/configure
+++ /dev/null
@@ -1,3753 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-target_makefile_frag_path
-part_specific_obj
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case "${target}" in
- *)
- part_specific_obj=vr4300.o
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mn10200.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-part_specific_obj!$part_specific_obj$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-
-
diff --git a/libgloss/mn10200/configure.in b/libgloss/mn10200/configure.in
deleted file mode 100644
index a559e4e..0000000
--- a/libgloss/mn10200/configure.in
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright (c) 1995, 1996, 1997, 1998 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case "${target}" in
- *)
- part_specific_obj=vr4300.o
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mn10200.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(part_specific_obj)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/mn10200/creat.c b/libgloss/mn10200/creat.c
deleted file mode 100644
index 1003a2a..0000000
--- a/libgloss/mn10200/creat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-creat (const char *path,
- int mode)
-{
- return TRAP0 (SYS_creat, path, mode, 0);
-}
diff --git a/libgloss/mn10200/crt0.S b/libgloss/mn10200/crt0.S
deleted file mode 100644
index d41abfc..0000000
--- a/libgloss/mn10200/crt0.S
+++ /dev/null
@@ -1,58 +0,0 @@
-##==============================================================================
-##
-## crt0.S
-##
-## MN10200 startup code
-##
-##==============================================================================
-##
-## Copyright (c) 1995, 1996, 1997, 1998 Cygnus Solutions
-##
-## The authors hereby grant permission to use, copy, modify, distribute,
-## and license this software and its documentation for any purpose, provided
-## that existing copyright notices are retained in all copies and that this
-## notice is included verbatim in any distributions. No written agreement,
-## license, or royalty fee is required for any of the authorized uses.
-## Modifications to this software may be copyrighted by their authors
-## and need not follow the licensing terms described here, provided that
-## the new terms are clearly indicated on the first page of each file where
-## they apply.
-##
-
-##------------------------------------------------------------------------------
-
- .file "crt0.S"
-
-##------------------------------------------------------------------------------
-## Startup code
- .section .text
- .global _start
-_start:
- mov _stack,a3 # Load up the stack pointer and allocate
- # our current frame.
-
- mov _edata,a0 # Get the start/end of bss
- mov _end,a1
-
- cmp a0,a1 # If no bss, then do nothing
- beqx .L0
-
- sub d0,d0 # clear d0
-
-.L1:
- movb d0,(a0) # Clear a byte and bump pointer
- add 1,a0
- cmp a0,a1
- bnex .L1
-
-.L0:
- jsr ___main
- sub d0,d0
- mov d0,d1
- mov d0,(a3)
- jsr _main # Call main program
- jmp _exit # All done, no need to return or
- # deallocate our stack.
-
- .section .stack
-_stack: .long 1
diff --git a/libgloss/mn10200/crt1.c b/libgloss/mn10200/crt1.c
deleted file mode 100644
index dd0be31..0000000
--- a/libgloss/mn10200/crt1.c
+++ /dev/null
@@ -1,16 +0,0 @@
-void __main ()
-{
- static int initialized;
- if (! initialized)
- {
- typedef void (*pfunc) ();
- extern pfunc __ctors[];
- extern pfunc __ctors_end[];
- pfunc *p;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
- }
-}
diff --git a/libgloss/mn10200/eval.ld b/libgloss/mn10200/eval.ld
deleted file mode 100644
index c5c958b..0000000
--- a/libgloss/mn10200/eval.ld
+++ /dev/null
@@ -1,158 +0,0 @@
-/* Linker script for the MN10200 Evaluation Board.
- It differs from the default linker script only in the
- addresses assigned to text and stack sections.
-*/
-
-OUTPUT_FORMAT("elf32-mn10200", "elf32-mn10200",
- "elf32-mn10200")
-OUTPUT_ARCH(mn10200)
-ENTRY(_start)
-GROUP(-lc -leval -lgcc)
-SEARCH_DIR(.);
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- /* Start of RAM (leaving room for Cygmon data) */
- . = 0x408000;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- { *(.rel.text) *(.rel.gnu.linkonce.t*) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rel.data :
- { *(.rel.data) *(.rel.gnu.linkonce.d*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rel.rodata :
- { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- *crtbegin.o(.ctors)
- *(SORT(.ctors.*))
- *(.ctors)
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- *crtbegin.o(.dtors)
- *(SORT(.dtors.*))
- *(.dtors)
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- . = ALIGN(32 / 8);
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Top of RAM is 0x43ffff, but Cygmon uses the top 4K for its stack. */
- .stack 0x43f000 : { _stack = .; *(.stack) *(._stack) }
-
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mn10200/execv.c b/libgloss/mn10200/execv.c
deleted file mode 100644
index 16f3ca5..0000000
--- a/libgloss/mn10200/execv.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-execv (const char *path, char *const argv[])
-{
- return TRAP0 (SYS_execv, path, argv, 0);
-}
diff --git a/libgloss/mn10200/execve.c b/libgloss/mn10200/execve.c
deleted file mode 100644
index bd6c7a2..0000000
--- a/libgloss/mn10200/execve.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_execve (const char *path, char *const argv[], char *const envp[])
-{
- return TRAP0 (SYS_execve, path, argv, envp);
-}
diff --git a/libgloss/mn10200/fork.c b/libgloss/mn10200/fork.c
deleted file mode 100644
index 53df5a9..0000000
--- a/libgloss/mn10200/fork.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fork ()
-{
- return TRAP0 (SYS_fork, 0, 0, 0);
-}
diff --git a/libgloss/mn10200/fstat.c b/libgloss/mn10200/fstat.c
deleted file mode 100644
index c3b2fa0..0000000
--- a/libgloss/mn10200/fstat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fstat (int file,
- struct stat *st)
-{
- st->st_mode = S_IFCHR;
- st->st_blksize = 4096;
- return 0;
-}
diff --git a/libgloss/mn10200/getpid.c b/libgloss/mn10200/getpid.c
deleted file mode 100644
index 20ab186..0000000
--- a/libgloss/mn10200/getpid.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_getpid (n)
-{
- return 1;
-}
diff --git a/libgloss/mn10200/gettime.c b/libgloss/mn10200/gettime.c
deleted file mode 100644
index 1a04267..0000000
--- a/libgloss/mn10200/gettime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/time.h"
-
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}
diff --git a/libgloss/mn10200/isatty.c b/libgloss/mn10200/isatty.c
deleted file mode 100644
index 7e63a8c..0000000
--- a/libgloss/mn10200/isatty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/mn10200/kill.c b/libgloss/mn10200/kill.c
deleted file mode 100644
index 40afa6a..0000000
--- a/libgloss/mn10200/kill.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_kill (n, m)
-{
- return TRAP0 (SYS_exit, 0xdead, 0, 0);
-}
-
diff --git a/libgloss/mn10200/lseek.c b/libgloss/mn10200/lseek.c
deleted file mode 100644
index 339baea..0000000
--- a/libgloss/mn10200/lseek.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/unistd.h>
-#include "trap.h"
-
-
-off_t
-_lseek (int file,
- off_t ptr,
- int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/mn10200/open.c b/libgloss/mn10200/open.c
deleted file mode 100644
index 770defe..0000000
--- a/libgloss/mn10200/open.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_open (const char *path,
- int flags)
-{
- return TRAP0 (SYS_open, path, flags, 0);
-}
diff --git a/libgloss/mn10200/pipe.c b/libgloss/mn10200/pipe.c
deleted file mode 100644
index dfade5c..0000000
--- a/libgloss/mn10200/pipe.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-pipe (int fd)
-{
- return TRAP0 (SYS_pipe, fd, 0, 0);
-}
diff --git a/libgloss/mn10200/read.c b/libgloss/mn10200/read.c
deleted file mode 100644
index 31d24cc..0000000
--- a/libgloss/mn10200/read.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_read (int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/mn10200/sbrk.c b/libgloss/mn10200/sbrk.c
deleted file mode 100644
index 376fd32..0000000
--- a/libgloss/mn10200/sbrk.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-caddr_t
-_sbrk (size_t incr)
-{
- extern char end; /* Defined by the linker */
- static char *heap_end;
- char *prev_heap_end;
-#if 0
- char *sp = (char *)stack_ptr;
-#else
- char *sp = (char *)&sp;
-#endif
-
- if (heap_end == 0)
- {
- heap_end = &end;
- }
- prev_heap_end = heap_end;
- heap_end += incr;
- if (heap_end > sp)
- {
- _write (1, "Heap and stack collision\n", 25);
- abort ();
- }
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/mn10200/sim.ld b/libgloss/mn10200/sim.ld
deleted file mode 100644
index 4c75169..0000000
--- a/libgloss/mn10200/sim.ld
+++ /dev/null
@@ -1,153 +0,0 @@
-/* Linker script for the MN10200 simulator. */
-
-OUTPUT_FORMAT("elf32-mn10200", "elf32-mn10200",
- "elf32-mn10200")
-OUTPUT_ARCH(mn10200)
-ENTRY(_start)
-GROUP(-lc -leval -lgcc)
-SEARCH_DIR(.);
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x0;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- { *(.rel.text) *(.rel.gnu.linkonce.t*) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rel.data :
- { *(.rel.data) *(.rel.gnu.linkonce.d*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rel.rodata :
- { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- *crtbegin.o(.ctors)
- *(SORT(.ctors.*))
- *(.ctors)
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- *crtbegin.o(.dtors)
- *(SORT(.dtors.*))
- *(.dtors)
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- . = ALIGN(32 / 8);
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- .stack 0x80000 : { _stack = .; *(.stack) *(._stack) }
-
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mn10200/stat.c b/libgloss/mn10200/stat.c
deleted file mode 100644
index 4e1fddf..0000000
--- a/libgloss/mn10200/stat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_stat (const char *path, struct stat *st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/mn10200/test.c b/libgloss/mn10200/test.c
deleted file mode 100644
index 9928958..0000000
--- a/libgloss/mn10200/test.c
+++ /dev/null
@@ -1,40 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-
-static void
-send_msg1 (void)
-{
- static char msg[] = "Hello World\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-send_msg2 (void)
-{
- static char msg[] = "Goodnight Irene\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-delay (void)
-{
- int i;
-
- for (i = 0; i < 32000; i++)
- ;
-}
-
-int
-main(int argc, char *argv[])
-{
- int i, j;
- for (i = 0; i < 10; i++)
- {
- send_msg1 ();
- delay ();
- send_msg2 ();
- }
- return 0;
-}
-
-
diff --git a/libgloss/mn10200/time.c b/libgloss/mn10200/time.c
deleted file mode 100644
index 2df8d48..0000000
--- a/libgloss/mn10200/time.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-time_t
-time (time_t *tloc)
-{
- return TRAP0 (SYS_time, tloc, 0, 0);
-}
diff --git a/libgloss/mn10200/times.c b/libgloss/mn10200/times.c
deleted file mode 100644
index b804be4..0000000
--- a/libgloss/mn10200/times.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/times.h"
-
-
-clock_t
-times (struct tms *buffer)
-{
- return TRAP0 (SYS_times, buffer, 0, 0);
-}
diff --git a/libgloss/mn10200/trap.S b/libgloss/mn10200/trap.S
deleted file mode 100644
index cda7a20..0000000
--- a/libgloss/mn10200/trap.S
+++ /dev/null
@@ -1,9 +0,0 @@
- .text
- .global ___trap0
-___trap0:
- syscall
- cmp 0,d0
- beq noerr
- mov d0,(_errno)
-noerr:
- rts
diff --git a/libgloss/mn10200/trap.h b/libgloss/mn10200/trap.h
deleted file mode 100644
index 27636c0..0000000
--- a/libgloss/mn10200/trap.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include "syscall.h"
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
diff --git a/libgloss/mn10200/unlink.c b/libgloss/mn10200/unlink.c
deleted file mode 100644
index 84fb711..0000000
--- a/libgloss/mn10200/unlink.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_unlink ()
-{
- return -1;
-}
diff --git a/libgloss/mn10200/utime.c b/libgloss/mn10200/utime.c
deleted file mode 100644
index 3fce7e3..0000000
--- a/libgloss/mn10200/utime.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/mn10200/wait.c b/libgloss/mn10200/wait.c
deleted file mode 100644
index c8d8b4c..0000000
--- a/libgloss/mn10200/wait.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_wait (statusp)
- int *statusp;
-{
- return TRAP0 (SYS_wait, 0, 0, 0);
-}
diff --git a/libgloss/mn10200/write.c b/libgloss/mn10200/write.c
deleted file mode 100644
index 3ecf4a8..0000000
--- a/libgloss/mn10200/write.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_write ( int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/mn10300/Makefile.in b/libgloss/mn10300/Makefile.in
deleted file mode 100644
index 925b2a4..0000000
--- a/libgloss/mn10300/Makefile.in
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright (c) 1998, 2000 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o crt0_cygmon.o crt0_redboot.o
-
-# Generic object files common to all targets.
-GENOBJS_NO_TRAP = _exit.o access.o chmod.o close.o crt1.o \
- fstat.o getpid.o isatty.o \
- kill.o lseek.o open.o read.o \
- sbrk.o stat.o time.o times.o unlink.o utime.o write.o
-GENOBJS = ${GENOBJS_NO_TRAP} trap.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${GENOBJS}
-CYGMONOBJS = cygmon.o ${GENOBJS_NO_TRAP}
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = @script_list@
-BSP = @bsp_list@
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} test.o ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-libeval.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-libcygmon.a: $(CYGMONOBJS)
- ${AR} ${ARFLAGS} $@ $(CYGMONOBJS)
- ${RANLIB} $@
-
-
-# compile a fully linked binary. The -Wl,-T*.ld is for the linker
-# script. By using -Wl, the linker script is put on the proper place
-# in the comand line for ld, and all the symbols will get fully
-# resolved.
-
-test: ${CRT0} test.o
- ${CC} $(CFLAGS_FOR_TARGET) -L${srcdir} -L${objdir} \
- test.o -o $@ $(NEWLIB_LDFLAGS) -Wl,-Teval.ld
- @echo Done...
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR};
- @for crt in ${CRT0}; do \
- $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
- done
- @for bsp in ${BSP}; do \
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
- @for script in ${SCRIPTS}; do \
- $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-
-# these are for the BSPs
-crt0.o: ${srcdir}/crt0.S
-crt0_cygmon.o: ${srcdir}/crt0_cygmon.S
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mn10300/_exit.c b/libgloss/mn10300/_exit.c
deleted file mode 100644
index ec51d40..0000000
--- a/libgloss/mn10300/_exit.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-static void _do_dtors()
-{
- /* The loop variable is static so that if a destructor calls exit,
- and we return here, we simply continue with the next destructor. */
- typedef void (*pfunc) ();
- extern pfunc __dtors[];
- extern pfunc __dtors_end[];
- static pfunc *p = __dtors;
-
- while (p < __dtors_end)
- (*p++) ();
-}
-
-
-void _exit (n)
-{
- /* Destructors should be done earlier because they need to be done before the
- files are closed, but here is better than nowhere (and this balances the
- constructors done in crt1.c. */
- _do_dtors();
-
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/mn10300/access.c b/libgloss/mn10300/access.c
deleted file mode 100644
index 980682e..0000000
--- a/libgloss/mn10300/access.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
-
diff --git a/libgloss/mn10300/aclocal.m4 b/libgloss/mn10300/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/mn10300/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mn10300/asb2303.ld b/libgloss/mn10300/asb2303.ld
deleted file mode 100644
index 0fe2784..0000000
--- a/libgloss/mn10300/asb2303.ld
+++ /dev/null
@@ -1,151 +0,0 @@
-/* Linker script for the MN10300 AM33/2.00 Panasonic ASB2303 Evaluation Board.
-*/
-
-OUTPUT_FORMAT("elf32-mn10300", "elf32-mn10300",
- "elf32-mn10300")
-OUTPUT_ARCH(mn10300)
-ENTRY(_start)
-GROUP(-lc -lcygmon -lgcc)
- SEARCH_DIR(.);
-STARTUP(crt0_cygmon.o)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- /* Start of RAM (leaving room for Cygmon data) */
- . = 0x90080000;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- { *(.rel.text) *(.rel.gnu.linkonce.t*) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rel.data :
- { *(.rel.data) *(.rel.gnu.linkonce.d*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rel.rodata :
- { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.gcc_except_table)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- KEEP(*crtbegin.o(.ctors))
- KEEP(*(SORT(.ctors.*)))
- KEEP(*(.ctors))
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- KEEP(*crtbegin.o(.dtors))
- KEEP(*(SORT(.dtors.*)))
- KEEP(*(.dtors))
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Top of RAM is 0x48100000, but Cygmon uses the top 4K for its stack. */
- .stack 0x480ff000 : { _stack = .; *(.stack) *(._stack) }
-
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mn10300/asb2305.ld b/libgloss/mn10300/asb2305.ld
deleted file mode 100644
index b827469..0000000
--- a/libgloss/mn10300/asb2305.ld
+++ /dev/null
@@ -1,151 +0,0 @@
-/* Linker script for the MN10300 AM33/2.00 Panasonic ASB2305 Evaluation Board.
-*/
-
-OUTPUT_FORMAT("elf32-mn10300", "elf32-mn10300",
- "elf32-mn10300")
-OUTPUT_ARCH(am33-2)
-ENTRY(_start)
-GROUP(-lc -lcygmon -lgcc)
- SEARCH_DIR(.);
-STARTUP(crt0_redboot.o)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- /* Start of RAM (leaving room for RedBoot data) */
- . = 0x90700000;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- { *(.rel.text) *(.rel.gnu.linkonce.t*) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rel.data :
- { *(.rel.data) *(.rel.gnu.linkonce.d*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rel.rodata :
- { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.gcc_except_table)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- KEEP(*crtbegin.o(.ctors))
- KEEP(*(SORT(.ctors.*)))
- KEEP(*(.ctors))
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- KEEP(*crtbegin.o(.dtors))
- KEEP(*(SORT(.dtors.*)))
- KEEP(*(.dtors))
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Top of usable RAM is 0x91000000 */
- .stack 0x91000000 : { _stack = .; *(.stack) *(._stack) }
-
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mn10300/chmod.c b/libgloss/mn10300/chmod.c
deleted file mode 100644
index 8200506..0000000
--- a/libgloss/mn10300/chmod.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-chmod (const char *path, mode_t mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/mn10300/chown.c b/libgloss/mn10300/chown.c
deleted file mode 100644
index 6630d3b..0000000
--- a/libgloss/mn10300/chown.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-
-int
-chown (const char *path, short owner, short group)
-{
- return TRAP0 (SYS_chown, path, owner, group);
-}
diff --git a/libgloss/mn10300/close.c b/libgloss/mn10300/close.c
deleted file mode 100644
index 8474b38..0000000
--- a/libgloss/mn10300/close.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/mn10300/configure b/libgloss/mn10300/configure
deleted file mode 100755
index 6b4c210..0000000
--- a/libgloss/mn10300/configure
+++ /dev/null
@@ -1,3769 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-target_makefile_frag_path
-part_specific_obj
-script_list
-bsp_list
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case "${target}" in
- mn10300-*elf)
- part_specific_obj=vr4300.o
- script_list="eval sim asb2303 asb2305"
- bsp_list="libeval.a libcygmon.a"
- ;;
- *)
- part_specific_obj=vr4300.o
- script_list="eval sim"
- bsp_list="libeval.a"
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mn10300.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-part_specific_obj!$part_specific_obj$ac_delim
-script_list!$script_list$ac_delim
-bsp_list!$bsp_list$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-
-
diff --git a/libgloss/mn10300/configure.in b/libgloss/mn10300/configure.in
deleted file mode 100644
index 2c9bd83..0000000
--- a/libgloss/mn10300/configure.in
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright (c) 1995, 1996, 2000 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case "${target}" in
- mn10300-*elf)
- part_specific_obj=vr4300.o
- script_list="eval sim asb2303 asb2305"
- bsp_list="libeval.a libcygmon.a"
- ;;
- *)
- part_specific_obj=vr4300.o
- script_list="eval sim"
- bsp_list="libeval.a"
- ;;
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/mn10300.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(part_specific_obj)
-AC_SUBST(script_list)
-AC_SUBST(bsp_list)
-
-AC_CONFIG_FILES([Makefile],
-[if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi],
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/mn10300/creat.c b/libgloss/mn10300/creat.c
deleted file mode 100644
index 1003a2a..0000000
--- a/libgloss/mn10300/creat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-creat (const char *path,
- int mode)
-{
- return TRAP0 (SYS_creat, path, mode, 0);
-}
diff --git a/libgloss/mn10300/crt0-eval.S b/libgloss/mn10300/crt0-eval.S
deleted file mode 100644
index 78a5263..0000000
--- a/libgloss/mn10300/crt0-eval.S
+++ /dev/null
@@ -1,82 +0,0 @@
-##==============================================================================
-##
-## crt0-eval.S
-##
-## MN10300 Series Evaluation Board C startup code
-##
-##==============================================================================
-######COPYRIGHTBEGIN####
-##
-## Copyright (c) 1995, 1996, 1997, 1998 Cygnus Solutions
-##
-## The authors hereby grant permission to use, copy, modify, distribute,
-## and license this software and its documentation for any purpose, provided
-## that existing copyright notices are retained in all copies and that this
-## notice is included verbatim in any distributions. No written agreement,
-## license, or royalty fee is required for any of the authorized uses.
-## Modifications to this software may be copyrighted by their authors
-## and need not follow the licensing terms described here, provided that
-## the new terms are clearly indicated on the first page of each file where
-## they apply.
-##
-######COPYRIGHTEND####
-
-##------------------------------------------------------------------------------
-
- .file "crt0-eval.S"
-
-##------------------------------------------------------------------------------
-## Startup code
-
- .equ DRAM_TOP,0x48100000
-
- .text
-
- .globl __start
-__start:
- # Set up stack. Leave 4K at top for use by Cygmon.
-
- mov DRAM_TOP - 0x1000,a0
- sub 8,a0
- mov a0,sp
-
- # Clear BSS
-
- mov __bss_start,a0
- mov _end,a1
-
- cmp a0,a1
- beq 8f
- clr d0
-1:
- movbu d0,(a0)
- inc a0
- cmp a0,a1
- bne 1b
-8:
- # Call constructors
-
- .extern ___main
- call ___main,[],0
-
- # Call main
- clr d0
- clr d1
- mov d0,(4,sp)
-
-9:
- or 0x0800,psw # Enable interrupts
-
- .extern _main
- call _main,[],0
-
- .extern __exit
- call __exit,[],0
-
-# bra 9b # Loop if we return
-
-
-
-##------------------------------------------------------------------------------
-## end of crt0-eval.S
-
diff --git a/libgloss/mn10300/crt0.S b/libgloss/mn10300/crt0.S
deleted file mode 100644
index 13dd777..0000000
--- a/libgloss/mn10300/crt0.S
+++ /dev/null
@@ -1,64 +0,0 @@
-##==============================================================================
-##
-## crt0.S
-##
-## MN10300 startup code
-##
-##==============================================================================
-##
-## Copyright (c) 1995, 1996, 1997, 1998 Cygnus Solutions
-##
-## The authors hereby grant permission to use, copy, modify, distribute,
-## and license this software and its documentation for any purpose, provided
-## that existing copyright notices are retained in all copies and that this
-## notice is included verbatim in any distributions. No written agreement,
-## license, or royalty fee is required for any of the authorized uses.
-## Modifications to this software may be copyrighted by their authors
-## and need not follow the licensing terms described here, provided that
-## the new terms are clearly indicated on the first page of each file where
-## they apply.
-##
-
-##------------------------------------------------------------------------------
-
- .file "crt0.S"
-
-##------------------------------------------------------------------------------
-## Startup code
- .section .text
- .global _start
-_start:
- mov _stack-8,a0 # Load up the stack pointer
- mov a0,sp
-
- mov _edata,a0 # Get the start/end of bss
- mov _end,a1
-
- cmp a0,a1 # If no bss, then do nothing
- beq .L0
-
- clr d0 # clear d0
-
-.L1:
- movbu d0,(a0) # Clear a byte and bump pointer
- inc a0
- cmp a0,a1
- bne .L1
-
-.L0:
- call ___main,[],0 # Call __main to run ctors/dtors
- clr d0
- clr d1
- mov d0,(4,sp)
- call _main,[],0 # Call main program
- call _exit,[],0 # All done, no need to return or
- # deallocate our stack.
-
- .section .stack
-_stack: .long 1
-
- .section .data
- .global ___dso_handle
- .weak ___dso_handle
-___dso_handle:
- .long 0
diff --git a/libgloss/mn10300/crt0_cygmon.S b/libgloss/mn10300/crt0_cygmon.S
deleted file mode 100644
index 3b2fffa..0000000
--- a/libgloss/mn10300/crt0_cygmon.S
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * crt0_cygmon.S -- Minimal startup file for MN10300 targets running Cygmon.
- *
- * Copyright (c) 1995, 1996, 1997, 2000 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * This file contains the minimal startup code necessary.
- * This will not do any hardware initialization. It is assumed that we are talking to Cygmon
- * and therefore the hardware will be initialized properly.
- */
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
-#define STACK_SIZE 0x4000
-#define GLOBAL_SIZE 0x2000
-
-#define STARTUP_STACK_SIZE 0x0100
-
- .comm __memsize, 12
- .comm __lstack, STARTUP_STACK_SIZE
- .comm __stackbase,4
-
- .section .text
- .global _start
-_start:
- /*
- * Setup a small stack so we can run some C code,
- * and get the usable memory size.
- */
- mov __lstack,a0
- add STARTUP_STACK_SIZE-4,a0
- mov a0,sp
-
- /*
- * zero out the bss section.
- */
- .global __memsize
- .global _get_mem_info
-zerobss:
- mov __bss_start, a0 # These variables are defined in the linker script
- mov _end, a1
-
- cmp a0, a1 # If no bss, then do nothing
- beq 7f
-
- clr d0
-3:
- movbu d0,(a0) # Clear a byte and bump pointer
- inc a0
- cmp a0, a1
- bne 3b
-
-7:
- /*
- * Setup the stack pointer --
- * get_mem_info returns the top of memory, so just use that In
- * addition, we must subtract 24 bytes for the 3 8 byte
- * arguments to main, in case main wants to write them back to
- * the stack. The caller is supposed to allocate stack space
- * for parameters in registers in the old MIPS ABIs. We must
- * do this even though we aren't passing arguments, because
- * main might be declared to have them.
- * Some ports need a larger alignment for the stack, so we
- * subtract 32, which satisifes the stack for the arguments and
- * keeps the stack pointer better aligned.
- */
- mov __memsize, d0
- call _get_mem_info,[],0
-
- sub 32, a0
- mov a0, sp
-
- mov __stackbase, a1
- mov a0, (a1) # keep this for future ref
-
- call ___main,[],0 # Call __main to run ctors/dtors
- clr d0
- clr d1
- mov d0, (4,sp)
- call _main,[],0 # Call main program
- call _exit,[],0
-
-/* EOF crt0_cygmon.S */
diff --git a/libgloss/mn10300/crt0_redboot.S b/libgloss/mn10300/crt0_redboot.S
deleted file mode 100644
index c3667c5..0000000
--- a/libgloss/mn10300/crt0_redboot.S
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * crt0_redboot.S -- Minimal startup file for MN10300 targets running Redboot.
- *
- * Copyright (c) 2001 Red Hat, Inc.
- * Derived from crt0_cygmon.S - Copyright (c) 1995, 1996, 1997, 2000 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * This file contains the minimal startup code necessary.
- * This will not do any hardware initialization. It is assumed that we are talking to Redboot
- * and therefore the hardware will be initialized properly.
- */
-
-/*
- * Set up some room for a stack. We just grab a chunk of memory.
- */
-#define STACK_SIZE 0x4000
-#define GLOBAL_SIZE 0x2000
-
-#define STARTUP_STACK_SIZE 0x0100
-
- .comm __memsize, 12
- .comm __lstack, STARTUP_STACK_SIZE
- .comm __stackbase,4
-
- .section .text
- .global _start
-_start:
- /*
- * Setup a small stack so we can run some C code,
- * and get the usable memory size.
- */
- mov __lstack,a0
- add STARTUP_STACK_SIZE-4,a0
- mov a0,sp
-
- /*
- * zero out the bss section.
- */
- .global __memsize
- .global _get_mem_info
-zerobss:
- mov __bss_start, a0 # These variables are defined in the linker script
- mov _end, a1
-
- cmp a0, a1 # If no bss, then do nothing
- beq 7f
-
- clr d0
-3:
- movbu d0,(a0) # Clear a byte and bump pointer
- inc a0
- cmp a0, a1
- bne 3b
-
-7:
- /*
- * Setup the stack pointer --
- * get_mem_info returns the top of memory, so just use that In
- * addition, we must subtract 24 bytes for the 3 8 byte
- * arguments to main, in case main wants to write them back to
- * the stack. The caller is supposed to allocate stack space
- * for parameters in registers in the old MIPS ABIs. We must
- * do this even though we aren't passing arguments, because
- * main might be declared to have them.
- * Some ports need a larger alignment for the stack, so we
- * subtract 32, which satisifes the stack for the arguments and
- * keeps the stack pointer better aligned.
- */
- mov __memsize, d0
- call _get_mem_info,[],0
-
- sub 32, a0
- mov a0, sp
-
- mov __stackbase, a1
- mov a0, (a1) # keep this for future ref
-
- call ___main,[],0 # Call __main to run ctors/dtors
- clr d0
- clr d1
- mov d0, (4,sp)
- or 0x0800,psw # Enable interrupts
- call _main,[],0 # Call main program
- call _exit,[],0
-
-/* EOF crt0_redboot.S */
diff --git a/libgloss/mn10300/crt1.c b/libgloss/mn10300/crt1.c
deleted file mode 100644
index dd0be31..0000000
--- a/libgloss/mn10300/crt1.c
+++ /dev/null
@@ -1,16 +0,0 @@
-void __main ()
-{
- static int initialized;
- if (! initialized)
- {
- typedef void (*pfunc) ();
- extern pfunc __ctors[];
- extern pfunc __ctors_end[];
- pfunc *p;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
- }
-}
diff --git a/libgloss/mn10300/cygmon.c b/libgloss/mn10300/cygmon.c
deleted file mode 100644
index 513115c..0000000
--- a/libgloss/mn10300/cygmon.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/* cygmon.c -- Glue code for linking apps to run on top of Cygmon.
- *
- * Copyright (c) 1998, 1999, 2000, 2001 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-
-// These need to be kept in sync with the definitions in Cygmon.
-#define SYS_meminfo 1001
-#include "syscall.h"
-
-/* Structure filled in by get_mem_info. Only the size field is
- actually used (by sbrk), so the others aren't even filled in. */
-struct s_mem
-{
- unsigned int size;
- unsigned int icsize;
- unsigned int dcsize;
-};
-
-// Perform a system call.
-// Unused parameters should be set to 0.
-int __trap0(unsigned long func, unsigned long p1, unsigned long p2, unsigned long p3)
-{
- int ret = 0;
-#ifdef __AM33__
- {
- register unsigned long d0 asm ("d0") = func;
- register unsigned long d1 asm ("d1") = p1;
- register unsigned long d2 asm ("d2") = p2;
- register unsigned long d3 asm ("d3") = p3;
- asm volatile (" syscall 0\n"
- " nop"
- : "+d" (d0) : "d" (d1), "d" (d2), "d" (d3) : "memory");
- ret = d0;
- }
-#endif
-
- if (func == SYS_exit)
- {
- while (1)
- {
- asm volatile (" .byte 0xff "); // trigger a breakpoint to drop back into Cygmon
- }
- }
-
- if (ret != 0)
- errno = ret;
-
- return ret;
-}
-
-void *
-get_mem_info (mem)
- struct s_mem *mem;
-{
- unsigned long totmem = 0, topmem = 0;
- register int numbanks;
-
- numbanks = __trap0(SYS_meminfo, (unsigned long)&totmem, (unsigned long)&topmem, 0);
- mem->size = totmem;
- return (void*)topmem;
-}
diff --git a/libgloss/mn10300/eval.ld b/libgloss/mn10300/eval.ld
deleted file mode 100644
index f26f582..0000000
--- a/libgloss/mn10300/eval.ld
+++ /dev/null
@@ -1,151 +0,0 @@
-/* Linker script for the MN10300 Series Evaluation Board.
- It differs from the default linker script only in the
- addresses assigned to text and stack sections.
-*/
-
-OUTPUT_FORMAT("elf32-mn10300", "elf32-mn10300",
- "elf32-mn10300")
-OUTPUT_ARCH(mn10300)
-ENTRY(_start)
-GROUP(-lc -leval -lgcc)
- SEARCH_DIR(.);
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- /* Start of RAM (leaving room for Cygmon data) */
- . = 0x48008000;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text :
- { *(.rel.text) *(.rel.gnu.linkonce.t*) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rel.data :
- { *(.rel.data) *(.rel.gnu.linkonce.d*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rel.rodata :
- { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { *(.init) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.gcc_except_table)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- KEEP(*crtbegin.o(.ctors))
- KEEP(*(SORT(.ctors.*)))
- KEEP(*(.ctors))
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- KEEP(*crtbegin.o(.dtors))
- KEEP(*(SORT(.dtors.*)))
- KEEP(*(.dtors))
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* Top of RAM is 0x48100000, but Cygmon uses the top 4K for its stack. */
- .stack 0x480ff000 : { _stack = .; *(.stack) *(._stack) }
-
- /* These must appear regardless of . */
-}
diff --git a/libgloss/mn10300/execv.c b/libgloss/mn10300/execv.c
deleted file mode 100644
index 16f3ca5..0000000
--- a/libgloss/mn10300/execv.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-execv (const char *path, char *const argv[])
-{
- return TRAP0 (SYS_execv, path, argv, 0);
-}
diff --git a/libgloss/mn10300/execve.c b/libgloss/mn10300/execve.c
deleted file mode 100644
index bd6c7a2..0000000
--- a/libgloss/mn10300/execve.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_execve (const char *path, char *const argv[], char *const envp[])
-{
- return TRAP0 (SYS_execve, path, argv, envp);
-}
diff --git a/libgloss/mn10300/fork.c b/libgloss/mn10300/fork.c
deleted file mode 100644
index 53df5a9..0000000
--- a/libgloss/mn10300/fork.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fork ()
-{
- return TRAP0 (SYS_fork, 0, 0, 0);
-}
diff --git a/libgloss/mn10300/fstat.c b/libgloss/mn10300/fstat.c
deleted file mode 100644
index c3b2fa0..0000000
--- a/libgloss/mn10300/fstat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_fstat (int file,
- struct stat *st)
-{
- st->st_mode = S_IFCHR;
- st->st_blksize = 4096;
- return 0;
-}
diff --git a/libgloss/mn10300/getpid.c b/libgloss/mn10300/getpid.c
deleted file mode 100644
index 20ab186..0000000
--- a/libgloss/mn10300/getpid.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_getpid (n)
-{
- return 1;
-}
diff --git a/libgloss/mn10300/gettime.c b/libgloss/mn10300/gettime.c
deleted file mode 100644
index 1a04267..0000000
--- a/libgloss/mn10300/gettime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/time.h"
-
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}
diff --git a/libgloss/mn10300/isatty.c b/libgloss/mn10300/isatty.c
deleted file mode 100644
index 7e63a8c..0000000
--- a/libgloss/mn10300/isatty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/mn10300/kill.c b/libgloss/mn10300/kill.c
deleted file mode 100644
index 40afa6a..0000000
--- a/libgloss/mn10300/kill.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_kill (n, m)
-{
- return TRAP0 (SYS_exit, 0xdead, 0, 0);
-}
-
diff --git a/libgloss/mn10300/lseek.c b/libgloss/mn10300/lseek.c
deleted file mode 100644
index 339baea..0000000
--- a/libgloss/mn10300/lseek.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/unistd.h>
-#include "trap.h"
-
-
-off_t
-_lseek (int file,
- off_t ptr,
- int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/mn10300/open.c b/libgloss/mn10300/open.c
deleted file mode 100644
index 770defe..0000000
--- a/libgloss/mn10300/open.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_open (const char *path,
- int flags)
-{
- return TRAP0 (SYS_open, path, flags, 0);
-}
diff --git a/libgloss/mn10300/pipe.c b/libgloss/mn10300/pipe.c
deleted file mode 100644
index dfade5c..0000000
--- a/libgloss/mn10300/pipe.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-pipe (int fd)
-{
- return TRAP0 (SYS_pipe, fd, 0, 0);
-}
diff --git a/libgloss/mn10300/read.c b/libgloss/mn10300/read.c
deleted file mode 100644
index 31d24cc..0000000
--- a/libgloss/mn10300/read.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-_read (int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/mn10300/sbrk.c b/libgloss/mn10300/sbrk.c
deleted file mode 100644
index 376fd32..0000000
--- a/libgloss/mn10300/sbrk.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-caddr_t
-_sbrk (size_t incr)
-{
- extern char end; /* Defined by the linker */
- static char *heap_end;
- char *prev_heap_end;
-#if 0
- char *sp = (char *)stack_ptr;
-#else
- char *sp = (char *)&sp;
-#endif
-
- if (heap_end == 0)
- {
- heap_end = &end;
- }
- prev_heap_end = heap_end;
- heap_end += incr;
- if (heap_end > sp)
- {
- _write (1, "Heap and stack collision\n", 25);
- abort ();
- }
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/mn10300/sim.ld b/libgloss/mn10300/sim.ld
deleted file mode 100644
index 51fcbe4..0000000
--- a/libgloss/mn10300/sim.ld
+++ /dev/null
@@ -1,138 +0,0 @@
-/* Linker script for the MN10300 simulator. */
-
-OUTPUT_FORMAT("elf32-mn10300", "elf32-mn10300", "elf32-mn10300")
-OUTPUT_ARCH(mn10300)
-ENTRY(_start)
-GROUP(-lc -leval -lgcc)
-SEARCH_DIR(.);
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- /* Start of RAM (leaving room for Cygmon data) */
- . = 4;
-
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d*) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r*) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { KEEP (*(.init)) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text .stub .text.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.gcc_except_table)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini : { KEEP (*(.fini)) } =0
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(1) + (. & (1 - 1));
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- KEEP(*crtbegin.o(.ctors))
- KEEP(*(SORT(.ctors.*)))
- KEEP(*(.ctors))
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- KEEP(*crtbegin.o(.dtors))
- KEEP(*(SORT(.dtors.*)))
- KEEP(*(.dtors))
- ___dtors_end = .;
- }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .sbss : { *(.dynsbss) *(.sbss .sbss.* .gnu.linkonce.sb.*) *(.scommon) }
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- .stack 0x80000 : { _stack = .; *(.stack) *(._stack) }
-}
diff --git a/libgloss/mn10300/stat.c b/libgloss/mn10300/stat.c
deleted file mode 100644
index 4e1fddf..0000000
--- a/libgloss/mn10300/stat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_stat (const char *path, struct stat *st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/mn10300/test.c b/libgloss/mn10300/test.c
deleted file mode 100644
index 9ea873a..0000000
--- a/libgloss/mn10300/test.c
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <stdio.h>
-
-static void
-send_msg1 (void)
-{
- static char msg[] = "Hello World\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-send_msg2 (void)
-{
- static char msg[] = "Goodnight Irene\r\n";
- write(1, msg, strlen (msg));
-}
-
-static void
-delay (void)
-{
- int i;
-
- for (i = 0; i < 1000000; i++)
- ;
-}
-
-int
-main(int argc, char *argv[])
-{
- int i, j;
- for (i = 0; i < 10; i++)
- {
- send_msg1 ();
- delay ();
- send_msg2 ();
- }
- return 0;
-}
-
-
diff --git a/libgloss/mn10300/time.c b/libgloss/mn10300/time.c
deleted file mode 100644
index 4528631..0000000
--- a/libgloss/mn10300/time.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-time_t
-time (time_t *tloc)
-{
- time_t res;
- res = TRAP0 (SYS_time, 0, 0, 0);
- if (tloc)
- *tloc = res;
- return res;
-}
diff --git a/libgloss/mn10300/times.c b/libgloss/mn10300/times.c
deleted file mode 100644
index 8cdc55b..0000000
--- a/libgloss/mn10300/times.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/times.h"
-
-
-clock_t
-_times (struct tms *buffer)
-{
- return TRAP0 (SYS_times, buffer, 0, 0);
-}
diff --git a/libgloss/mn10300/trap.S b/libgloss/mn10300/trap.S
deleted file mode 100644
index 05939b9..0000000
--- a/libgloss/mn10300/trap.S
+++ /dev/null
@@ -1,9 +0,0 @@
- .text
- .global ___trap0
-___trap0:
- syscall
- cmp 0,d0
- beq .L0
- mov d0,(_errno)
-.L0:
- rets
diff --git a/libgloss/mn10300/trap.h b/libgloss/mn10300/trap.h
deleted file mode 100644
index 27636c0..0000000
--- a/libgloss/mn10300/trap.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include "syscall.h"
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
diff --git a/libgloss/mn10300/unlink.c b/libgloss/mn10300/unlink.c
deleted file mode 100644
index 84fb711..0000000
--- a/libgloss/mn10300/unlink.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_unlink ()
-{
- return -1;
-}
diff --git a/libgloss/mn10300/utime.c b/libgloss/mn10300/utime.c
deleted file mode 100644
index 3fce7e3..0000000
--- a/libgloss/mn10300/utime.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/mn10300/wait.c b/libgloss/mn10300/wait.c
deleted file mode 100644
index c8d8b4c..0000000
--- a/libgloss/mn10300/wait.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_wait (statusp)
- int *statusp;
-{
- return TRAP0 (SYS_wait, 0, 0, 0);
-}
diff --git a/libgloss/mn10300/write.c b/libgloss/mn10300/write.c
deleted file mode 100644
index 3ecf4a8..0000000
--- a/libgloss/mn10300/write.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-_write ( int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/moxie/Makefile.in b/libgloss/moxie/Makefile.in
deleted file mode 100644
index 9aba6b4..0000000
--- a/libgloss/moxie/Makefile.in
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright (c) 2008, 2010 Anthony Green
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/spro. This is the board support code for the
-# moxie target.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-LD_SCRIPTS = moxie-elf-common.ld qemu.ld sim.ld moxiebox.ld
-
-@BUILD_CRT0_TRUE@CRT0 = crt0.o
-@BUILD_CRT0_TRUE@CRT0_INSTALL = install-crt0
-@BUILD_CRT0_FALSE@CRT0 =
-@BUILD_CRT0_FALSE@CRT0_INSTALL =
-
-SIM_BSP = libsim.a
-SIM_OBJS = fstat.o \
- getpid.o \
- isatty.o \
- kill.o \
- putnum.o \
- sbrk.o \
- sim-close.o \
- sim-exit.o \
- sim-inbyte.o \
- sim-lseek.o \
- sim-open.o \
- sim-read.o \
- sim-time.o \
- sim-unlink.o \
- sim-write.o \
- stat.o
-
-QEMU_BSP = libqemu.a
-QEMU_OBJS = qemu-write.o \
- qemu-time.o \
- sim-exit.o \
- sbrk.o \
- sim-close.o \
- fstat.o \
- getpid.o \
- isatty.o \
- kill.o \
- putnum.o \
- sim-lseek.o \
- sim-read.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: ${CRT0} $(SIM_BSP) $(QEMU_BSP)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-$(QEMU_BSP): $(QEMU_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-fstat.o: $(srcdir)/fstat.c
-getpid.o: $(srcdir)/getpid.c
-isatty.o: $(srcdir)/isatty.c
-kill.o: $(srcdir)/kill.c
-putnum.o: $(srcdir)/putnum.c
-sbrk.o: $(srcdir)/sbrk.c
-sim-close.o: $(srcdir)/sim-close.S
-sim-exit.o: $(srcdir)/sim-exit.S
-sim-inbyte.o: $(srcdir)/sim-inbyte.c
-sim-lseek.o: $(srcdir)/sim-lseek.c
-sim-open.o: $(srcdir)/sim-open.S
-sim-read.o: $(srcdir)/sim-read.S
-sim-time.o: $(srcdir)/sim-time.c
-sim-unlink.o: $(srcdir)/sim-unlink.S
-sim-write.o: $(srcdir)/sim-write.S
-stat.o: $(srcdir)/stat.c
-qemu-write.o: $(srcdir)/qemu-write.c
-
-install: ${CRT0_INSTALL} $($(CPU)_INSTALL)
- $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
- $(INSTALL_DATA) $(QEMU_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(QEMU_BSP)
- for x in ${LD_SCRIPTS}; do \
- ${INSTALL_DATA} ${srcdir}/$$x $(DESTDIR)${tooldir}/lib/$$x; \
- done;
-
-install-crt0:
- ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/moxie/aclocal.m4 b/libgloss/moxie/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/moxie/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/moxie/configure b/libgloss/moxie/configure
deleted file mode 100644
index 4523398..0000000
--- a/libgloss/moxie/configure
+++ /dev/null
@@ -1,3851 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/moxie/configure.in b/libgloss/moxie/configure.in
deleted file mode 100644
index e3b5d14..0000000
--- a/libgloss/moxie/configure.in
+++ /dev/null
@@ -1,70 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-dnl Don't build crt0 for moxiebox, which provides crt0 for us.
-case "${target}" in
- moxie-*-moxiebox*)
- BUILD_CRT0_TRUE='#'
- BUILD_CRT0_FALSE=
- ;;
- *)
- BUILD_CRT0_TRUE=
- BUILD_CRT0_FALSE='#'
- ;;
-esac
-
-AC_SUBST(BUILD_CRT0_TRUE)
-AC_SUBST(BUILD_CRT0_FALSE)
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/moxie/crt0.S b/libgloss/moxie/crt0.S
deleted file mode 100644
index 44616a8..0000000
--- a/libgloss/moxie/crt0.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/* crt0.S -- startup file for moxie
- *
- * Copyright (c) 2008, 2009 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
- .globl __start
- .weak _start
- .text
- .type __start,@function
-__start:
-_start:
- ldi.l $sp, _stack /* set the top of stack */
- xor $fp, $fp /* zero fp to allow unwinders to stop */
-
- /* zero the bss area */
- ldi.l $r0, __bss_start__
- xor $r1, $r1
- ldi.l $r2, __bss_end__
- sub.l $r2, $r0
- jsra memset
-
- /* Call _init to invoke static constructors, etc. */
- jsra _init
-
- /* Call _fini at exit time for static destructors. */
- ldi.l $r0, _fini
- jsra atexit
-
- /* Set argc and argv. These are populated by the simulator. */
- lda.l $r0, 0x4
- ldi.l $r1, 0x8
-
- jsra main
- jsra exit
-
-.Lend:
- .size __start,(.Lend-__start)
diff --git a/libgloss/moxie/fstat.c b/libgloss/moxie/fstat.c
deleted file mode 100644
index 6464a86..0000000
--- a/libgloss/moxie/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include "glue.h"
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/moxie/getpid.c b/libgloss/moxie/getpid.c
deleted file mode 100644
index 957eee7..0000000
--- a/libgloss/moxie/getpid.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (_getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/moxie/isatty.c b/libgloss/moxie/isatty.c
deleted file mode 100644
index 14cb9c4..0000000
--- a/libgloss/moxie/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (_isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/moxie/kill.c b/libgloss/moxie/kill.c
deleted file mode 100644
index 257c491..0000000
--- a/libgloss/moxie/kill.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern void _exit (int) __attribute__((__noreturn__));
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/moxie/moxie-elf-common.ld b/libgloss/moxie/moxie-elf-common.ld
deleted file mode 100644
index ee15510..0000000
--- a/libgloss/moxie/moxie-elf-common.ld
+++ /dev/null
@@ -1,235 +0,0 @@
-/*
- * The common part of the default linker scripts for standalone
- * executables running on a Moxie processor.
- *
- * Copyright (C) 2008, 2012 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify,
- * distribute, and license this software and its documentation for any
- * purpose, provided that existing copyright notices are retained in
- * all copies and that this notice is included verbatim in any
- * distributions. No written agreement, license, or royalty fee is
- * required for any of the authorized uses. Modifications to this
- * software may be copyrighted by their authors and need not follow
- * the licensing terms described here, provided that the new terms are
- * clearly indicated on the first page of each file where they apply.
- */
-
-OUTPUT_FORMAT("elf32-bigmoxie", "elf32-bigmoxie",
- "elf32-littlemoxie")
-OUTPUT_ARCH(moxie)
-ENTRY(_start)
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x00001000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s*)
- }
- .rel.sbss : { *(.rel.sbss) }
- .rela.sbss : { *(.rela.sbss) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.glue_7t) *(.glue_7)
- } =0
- .init :
- {
- KEEP (*(.init))
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini :
- {
- KEEP (*(.fini))
- } =0
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- .jcr : { KEEP (*(.jcr)) }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- __bss_start__ = .;
- .sbss :
- {
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.scommon)
- }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- . = ALIGN(32 / 8);
- _end = .;
- _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- .stack 0x400000 : { _stack = .; *(.stack) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/moxie/moxiebox.ld b/libgloss/moxie/moxiebox.ld
deleted file mode 100644
index 1da9d06..0000000
--- a/libgloss/moxie/moxiebox.ld
+++ /dev/null
@@ -1,232 +0,0 @@
-/*
- * Default linker script for moxiebox.
- *
- * Copyright (C) 2014 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify,
- * distribute, and license this software and its documentation for any
- * purpose, provided that existing copyright notices are retained in
- * all copies and that this notice is included verbatim in any
- * distributions. No written agreement, license, or royalty fee is
- * required for any of the authorized uses. Modifications to this
- * software may be copyrighted by their authors and need not follow
- * the licensing terms described here, provided that the new terms are
- * clearly indicated on the first page of each file where they apply.
- */
-
-OUTPUT_FORMAT("elf32-littlemoxie")
-OUTPUT_ARCH(moxie)
-ENTRY(_start)
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x00001000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text :
- {
- *(.rel.text)
- *(.rel.text.*)
- *(.rel.gnu.linkonce.t*)
- }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata :
- {
- *(.rel.rodata)
- *(.rel.rodata.*)
- *(.rel.gnu.linkonce.r*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rel.data :
- {
- *(.rel.data)
- *(.rel.data.*)
- *(.rel.gnu.linkonce.d*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata :
- {
- *(.rel.sdata)
- *(.rel.sdata.*)
- *(.rel.gnu.linkonce.s*)
- }
- .rela.sdata :
- {
- *(.rela.sdata)
- *(.rela.sdata.*)
- *(.rela.gnu.linkonce.s*)
- }
- .rel.sbss : { *(.rel.sbss) }
- .rela.sbss : { *(.rela.sbss) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- *(.glue_7t) *(.glue_7)
- } =0
- .init :
- {
- KEEP (*(.init))
- } =0
- _etext = .;
- PROVIDE (etext = .);
- .fini :
- {
- KEEP (*(.fini))
- } =0
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- SORT(CONSTRUCTORS)
- }
- .data1 : { *(.data1) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- .jcr : { KEEP (*(.jcr)) }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata :
- {
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- }
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- __bss_start__ = .;
- .sbss :
- {
- *(.dynsbss)
- *(.sbss)
- *(.sbss.*)
- *(.scommon)
- }
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- }
- . = ALIGN(32 / 8);
- _end = .;
- _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/moxie/print.c b/libgloss/moxie/print.c
deleted file mode 100644
index a20743a..0000000
--- a/libgloss/moxie/print.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* print.c -- print a string on the output device.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * print -- do a raw print of a string
- */
-void
-_DEFUN (_print, (ptr),
-char *ptr)
-{
- while (*ptr) {
- outbyte (*ptr++);
- }
-}
diff --git a/libgloss/moxie/putnum.c b/libgloss/moxie/putnum.c
deleted file mode 100644
index f5bac1f..0000000
--- a/libgloss/moxie/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (_putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/moxie/qemu-time.c b/libgloss/moxie/qemu-time.c
deleted file mode 100644
index 4b09209..0000000
--- a/libgloss/moxie/qemu-time.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* qemu-time.c -- stubs so clock can be linked in.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include "glue.h"
-
-/* This is the base address of the mc146818 RTC i/o port. */
-#define RTC_PORT 0x400
-
-#define RTC_SECONDS 0x00
-#define RTC_SECONDS_ALARM 0x01
-#define RTC_MINUTES 0x02
-#define RTC_MINUTES_ALARM 0x03
-#define RTC_HOURS 0x04
-#define RTC_HOURS_ALARM 0x05
-#define RTC_DAY_OF_WEEK 0x06
-#define RTC_DATE_OF_MONTH 0x07
-#define RTC_MONTH 0x08
-#define RTC_YEAR 0x09
-#define RTC_CONFIG_A 0x0A
-#define RTC_CONFIG_B 0x0B
-#define RTC_CONFIG_C 0x0C
-#define RTC_CONFIG_D 0x0D
-
-/*
- * _times -- FIXME
- */
-int
-_DEFUN (_times, _times (buf),
- struct tms *buf)
-{
- errno = EINVAL;
- return (-1);
-}
-
-/* Read a value from the RTC port. */
-static unsigned char
-rtc_read (unsigned char reg)
-{
- *(volatile unsigned char *)(RTC_PORT) = reg;
- return *(volatile unsigned char *)(RTC_PORT + 1);
-}
-
-/* Write a value to the RTC port. */
-static void
-rtc_write (unsigned char reg, unsigned char val)
-{
- *(volatile unsigned char *)(RTC_PORT) = reg;
- *(volatile unsigned char *)(RTC_PORT + 1) = val;
-}
-
-/* Convert BCD to Decimal. */
-#define BCD2DEC(BYTE) ((((BYTE >> 4) & 0xF) * 10) + (BYTE & 0xF))
-
-/*
- * time -- return current time in seconds.
- */
-time_t
-_DEFUN (time, time (t),
- time_t *t)
-{
- struct tm tm;
- time_t ret;
-
- tm.tm_sec = BCD2DEC(rtc_read(RTC_SECONDS));
- tm.tm_min = BCD2DEC(rtc_read(RTC_MINUTES));
- tm.tm_hour = BCD2DEC(rtc_read(RTC_HOURS));
- tm.tm_wday = BCD2DEC(rtc_read(RTC_DAY_OF_WEEK)) - 1;
- tm.tm_mday = BCD2DEC(rtc_read(RTC_DATE_OF_MONTH));
- tm.tm_mon = BCD2DEC(rtc_read(RTC_MONTH)) - 1;
- tm.tm_year = BCD2DEC(rtc_read(RTC_YEAR)) + 100;
-
- /* FIXME. Not really sure how to handle this. */
- tm.tm_isdst = 1;
-
- ret = mktime(&tm);
-
- if (t)
- *t = ret;
-
- return ret;
-}
-
-/*
- * _gettimeofday -- implement in terms of time, which means we can't
- * return the microseconds.
- */
-int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
- struct timeval *tv _AND
- void *tzvp)
-{
- struct timezone *tz = tzvp;
- struct tm tm;
- if (tz)
- tz->tz_minuteswest = tz->tz_dsttime = 0;
-
- tv->tv_usec = 0;
- tv->tv_sec = time(0);
-
- return 0;
-}
diff --git a/libgloss/moxie/qemu-write.c b/libgloss/moxie/qemu-write.c
deleted file mode 100644
index 4abc6dd..0000000
--- a/libgloss/moxie/qemu-write.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * qemu-write.c -- write interface for default qemu simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int _write (int fd, char *buf, int len)
-{
- int i = 0;
- while (i < len)
- *(char *)0x3f8 = buf[i++];
- return len;
-}
diff --git a/libgloss/moxie/qemu.ld b/libgloss/moxie/qemu.ld
deleted file mode 100644
index c8559ba..0000000
--- a/libgloss/moxie/qemu.ld
+++ /dev/null
@@ -1,2 +0,0 @@
-GROUP(-lc -lgcc -lqemu)
-INCLUDE moxie-elf-common.ld \ No newline at end of file
diff --git a/libgloss/moxie/sbrk.c b/libgloss/moxie/sbrk.c
deleted file mode 100644
index f3489c1..0000000
--- a/libgloss/moxie/sbrk.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* sbrk.c -- allocate memory dynamically.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (caddr_t)0x100000
-#endif
-
-char *__heap_ptr = (char *)&_end;
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-char *
-_sbrk (nbytes)
- int nbytes;
-{
- char *base;
- char *sp;
-
- base = __heap_ptr;
- __heap_ptr += nbytes;
-
- return base;
-/* FIXME: We really want to make sure we don't run out of RAM, but this
- * isn't very portable.
- */
-#if 0
- if ((RAMSIZE - heap_ptr - nbytes) >= 0) {
- base = heap_ptr;
- heap_ptr += nbytes;
- return (base);
- } else {
- errno = ENOMEM;
- return ((char *)-1);
- }
-#endif
-}
diff --git a/libgloss/moxie/sim-close.S b/libgloss/moxie/sim-close.S
deleted file mode 100644
index 3b8f498..0000000
--- a/libgloss/moxie/sim-close.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * sim-close.S -- close interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-/*
- * Input:
- * $r0 -- File descriptor to close.
- *
- * Output:
- * $r0 -- 0 or -1.
- * errno -- Set if an error
- */
-
- .globl _close
- .type _close,@function
- .weak close
- .text
-_close:
-close:
- swi SYS_close
- ret
-.Lend:
- .size _close,.Lend-_close
diff --git a/libgloss/moxie/sim-exit.S b/libgloss/moxie/sim-exit.S
deleted file mode 100644
index ae191d1..0000000
--- a/libgloss/moxie/sim-exit.S
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * sim-exit.S -- _exit interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-/*
- * Input:
- * $r0 -- exit value
- *
- * Output:
- * none
- */
-
- .globl _exit
- .type _exit,@function
- .text
-_exit:
- swi SYS_exit
-.Lend:
- .size _exit,.Lend-_exit
diff --git a/libgloss/moxie/sim-inbyte.c b/libgloss/moxie/sim-inbyte.c
deleted file mode 100644
index 1e7466a..0000000
--- a/libgloss/moxie/sim-inbyte.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * sim-inbyte.c -- read a character from standard input.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int
-inbyte ()
-{
- char c;
-
- if (read (0, &c, 1) <= 0)
- return -1;
-
- return c;
-}
diff --git a/libgloss/moxie/sim-lseek.S b/libgloss/moxie/sim-lseek.S
deleted file mode 100644
index 1c799f8..0000000
--- a/libgloss/moxie/sim-lseek.S
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * sim-lseek.S -- write interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <errno.h>
-
-/*
- * lseek -- Since a simulated serial port is non-seekable, we return
- * an error.
- */
-off_t
-_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
- int whence)
-{
- errno = ESPIPE;
- return ((off_t)-1);
-} \ No newline at end of file
diff --git a/libgloss/moxie/sim-lseek.c b/libgloss/moxie/sim-lseek.c
deleted file mode 100644
index 8e7ee50..0000000
--- a/libgloss/moxie/sim-lseek.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * sim-lseek.S -- write interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <sys/types.h>
-#include <errno.h>
-
-/*
- * lseek -- Since a simulated serial port is non-seekable, we return
- * an error.
- */
-off_t
-_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
- int whence)
-{
- /* errno = ESPIPE; */
- return ((off_t)-1);
-}
diff --git a/libgloss/moxie/sim-open.S b/libgloss/moxie/sim-open.S
deleted file mode 100644
index 87e9b94..0000000
--- a/libgloss/moxie/sim-open.S
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * sim-open.S -- open interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-/*
- * Input:
- * $r0 -- File name to open.
- * $r1 -- open mode.
- * -0x12($fp) -- optionally, the permission bits to set the file to.
- *
- * Output:
- * $r0 -- file descriptor or -1.
- * errno -- Set if an error
- */
-
- .globl _open
- .type _open,@function
- .weak open
- .text
-_open:
-open:
- swi SYS_open
- ret
-.Lend:
- .size _open,.Lend-_open
diff --git a/libgloss/moxie/sim-read.S b/libgloss/moxie/sim-read.S
deleted file mode 100644
index 58cf175..0000000
--- a/libgloss/moxie/sim-read.S
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * sim-read.S -- read interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-/*
- * Input:
- * $r0 -- File descriptor.
- * $r1 -- Buffer to be read into.
- * -0x12($fp) -- Length of the buffer.
- *
- * Output:
- * $r0 -- Length read or -1.
- * errno -- Set if an error
- */
-
- .globl _read
- .type _read,@function
- .weak read
- .text
-_read:
-read:
- swi SYS_read
- ret
-.Lend:
- .size _read,.Lend-_read
diff --git a/libgloss/moxie/sim-time.c b/libgloss/moxie/sim-time.c
deleted file mode 100644
index 3e9fafb..0000000
--- a/libgloss/moxie/sim-time.c
+++ /dev/null
@@ -1,78 +0,0 @@
-/* sim-time.c -- stubs so clock can be linked in.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include "glue.h"
-
-/*
- * time -- simulator interface to return current time in seconds.
- */
-__asm__ ("\
- .text\n\
- .globl _sim_time\n\
- .type _sim_time,@function\n\
-_sim_time:\n\
- jmpa _sim_time\n\
- ret\n\
-.Lsim:\n\
- .size _sim_time,.Lsim-_sim_time");
-
-extern time_t _sim_time (void) __asm__("_sim_time");
-
-
-/*
- * time -- return current time in seconds.
- */
-time_t
-_DEFUN (time, time (t),
- time_t *t)
-{
- time_t ret = _sim_time ();
-
- if (t)
- *t = ret;
-
- return ret;
-}
-
-/*
- * _times -- no clock, so return an error.
- */
-int
-_DEFUN (_times, _times (buf),
- struct tms *buf)
-{
- errno = EINVAL;
- return (-1);
-}
-
-/*
- * _gettimeofday -- implement in terms of time, which means we can't return the
- * microseconds.
- */
-int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
- struct timeval *tv _AND
- void *tzvp)
-{
- struct timezone *tz = tzvp;
- if (tz)
- tz->tz_minuteswest = tz->tz_dsttime = 0;
-
- tv->tv_usec = 0;
- tv->tv_sec = _sim_time ();
- return 0;
-}
diff --git a/libgloss/moxie/sim-unlink.S b/libgloss/moxie/sim-unlink.S
deleted file mode 100644
index 87ae90f..0000000
--- a/libgloss/moxie/sim-unlink.S
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * sim-unlink.S -- write interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
- .globl _unlink
- .type _unlink,@function
- .weak unlink
- .text
-_unlink:
-unlink:
- jmpa unlink
- ret
-.Lend:
- .size _unlink,.Lend-_unlink
diff --git a/libgloss/moxie/sim-write.S b/libgloss/moxie/sim-write.S
deleted file mode 100644
index e194aa2..0000000
--- a/libgloss/moxie/sim-write.S
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * sim-write.S -- write interface for moxie simulator
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "syscall.h"
-
-/*
- * Input:
- * $r0 -- File descriptor.
- * $r1 -- String to be printed.
- * -0x12($fp) -- Length of the string.
- *
- * Output:
- * $r0 -- Length written or -1.
- * errno -- Set if an error
- */
-
- .globl _write
- .type _write,@function
- .weak write
- .text
-_write:
-write:
- swi SYS_write
- ret
-.Lend:
- .size _write,.Lend-_write
diff --git a/libgloss/moxie/sim.ld b/libgloss/moxie/sim.ld
deleted file mode 100644
index 4224b93..0000000
--- a/libgloss/moxie/sim.ld
+++ /dev/null
@@ -1,2 +0,0 @@
-GROUP(-lc -lgcc -lsim)
-INCLUDE moxie-elf-common.ld \ No newline at end of file
diff --git a/libgloss/moxie/stat.c b/libgloss/moxie/stat.c
deleted file mode 100644
index 0d7511a..0000000
--- a/libgloss/moxie/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 2008 Anthony Green
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
deleted file mode 100644
index 57c7f10..0000000
--- a/libgloss/msp430/Makefile.in
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright (c) 2008-2014 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
-# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
-# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
-# are incorporated in the source code or documentation are not subject to the BSD
-# License and may only be used or replicated with the express permission of
-# Red Hat, Inc.
-
-# Makefile for libgloss/msp430.
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = $(srcdir)/msp430.ld
-SCRIPTS += $(srcdir)/msp430-sim.ld
-SCRIPTS += $(srcdir)/msp430xl-sim.ld
-SCRIPTS += $(srcdir)/intr_vectors.ld
-
-CRT = gcrt0.o crt0.o crt0-minrt.o crtn.o crtn-minrt.o
-SIM_BSP = libsim.a
-LIBNOSYS = libnosys.a
-LIB_CRT = libcrt.a
-
-SIM_OBJS = syscalls.o \
- cio.o \
- write.o \
- sbrk.o
-
-NOSYS_OBJS = nosyscalls.o \
- cio.o \
- write.o \
- unlink.o \
- sbrk.o
-
-# Each crt_*.o is built from crt0.S using -DL*. crt0.o is built from
-# crt0.s with -DL0 via the default rule below.
-CRT_OBJS = \
- crt_bss.o \
- crt_movedata.o \
- crt_main.o \
- crt_main_minrt.o \
- crt_callexit.o \
- crt_init.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-
-all: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) copy_scripts_to_objdir
-
-crt_%.o : crt0.S
- $(CC) -DL$* -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $< -o $@
-
-crt0-minrt.o : crt0.S
- $(CC) -DL0 -DMINRT -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $< -o $@
-
-crtn-minrt.o : crtn.S
- $(CC) -DL0 -DMINRT -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $< -o $@
-
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -DL0 -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-$(LIBNOSYS): $(NOSYS_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-$(LIB_CRT): $(CRT_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-copy_scripts_to_objdir: $(SCRIPTS)
- cp $(SCRIPTS) $(objdir)
-
-# Dependencies
-
-SDEPS = $(srcdir)/cio.h
-
-abort.o : $(SDEPS)
-argv.o : $(SDEPS)
-argvlen.o : $(SDEPS)
-chdir.o : $(SDEPS)
-chmod.o : $(SDEPS)
-close.o : $(SDEPS)
-exit.o : $(SDEPS)
-fstat.o : $(SDEPS)
-getpid.o : $(SDEPS)
-gettimeofday.o : $(SDEPS)
-gcrt0.o: gcrt0.S crt0.S
-kill.o : $(SDEPS)
-link.o : $(SDEPS)
-lseek.o : $(SDEPS)
-mcount.o : $(SDEPS)
-open.o : $(SDEPS)
-read.o : $(SDEPS)
-sigprocmask.o : $(SDEPS)
-sleep.o : $(SDEPS)
-stat.o : $(SDEPS)
-time.o : $(SDEPS)
-times.o : $(SDEPS)
-unlink.o : $(SDEPS)
-utime.o : $(SDEPS)
-write.o : $(SDEPS)
-
-install: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) $(SCRIPTS)
- for c in $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT); do \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- for c in $(SCRIPTS); do \
- b=`basename $$c`; \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
- done
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/msp430/cio.c b/libgloss/msp430/cio.c
deleted file mode 100644
index d5e3e74..0000000
--- a/libgloss/msp430/cio.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-
-Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
-This copyrighted material is made available to anyone wishing to use, modify,
-copy, or redistribute it subject to the terms and conditions of the BSD
-License. This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
-of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
-is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
-are incorporated in the source code or documentation are not subject to the BSD
-License and may only be used or replicated with the express permission of
-Red Hat, Inc.
-
-*/
-
-#include "cio.h"
-
-__CIOBUF__TYPE__ __CIOBUF__;
-
-void
-_libgloss_cio_hook (void)
-{
- __asm__ __volatile__ (" .global C$$IO$$");
- __asm__ __volatile__ ("C$$IO$$: nop");
-}
diff --git a/libgloss/msp430/cio.h b/libgloss/msp430/cio.h
deleted file mode 100644
index 1085542..0000000
--- a/libgloss/msp430/cio.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-
-Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
-This copyrighted material is made available to anyone wishing to use, modify,
-copy, or redistribute it subject to the terms and conditions of the BSD
-License. This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
-of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
-is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
-are incorporated in the source code or documentation are not subject to the BSD
-License and may only be used or replicated with the express permission of
-Red Hat, Inc.
-
-*/
-
-#ifndef CIO_BUF_SIZE
-#define CIO_BUF_SIZE 64
-#endif
-
-typedef struct {
- unsigned char length[2];
- unsigned char parms[9];
- unsigned char buf[CIO_BUF_SIZE];
-} __CIOBUF__TYPE__;
-
-extern __CIOBUF__TYPE__ __CIOBUF__;
-
-extern void _libgloss_cio_hook (void);
-
-#define CIO_OPEN (0xF0)
-#define CIO_CLOSE (0xF1)
-#define CIO_READ (0xF2)
-#define CIO_WRITE (0xF3)
-#define CIO_LSEEK (0xF4)
-#define CIO_UNLINK (0xF5)
-#define CIO_GETENV (0xF6)
-#define CIO_RENAME (0xF7)
-#define CIO_GETTIME (0xF8)
-#define CIO_GETCLK (0xF9)
-#define CIO_SYNC (0xFF)
-
diff --git a/libgloss/msp430/configure b/libgloss/msp430/configure
deleted file mode 100644
index 066c9a6..0000000
--- a/libgloss/msp430/configure
+++ /dev/null
@@ -1,3815 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.66.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.66
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.66. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.66. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.66,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/msp430/configure.in b/libgloss/msp430/configure.in
deleted file mode 100644
index 217f115..0000000
--- a/libgloss/msp430/configure.in
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the BSD
-# License. This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
-# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
-# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
-# are incorporated in the source code or documentation are not subject to the BSD
-# License and may only be used or replicated with the express permission of
-# Red Hat, Inc.
-
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/msp430/crt0.S b/libgloss/msp430/crt0.S
deleted file mode 100644
index 9ea25c1..0000000
--- a/libgloss/msp430/crt0.S
+++ /dev/null
@@ -1,157 +0,0 @@
-/* Copyright (c) 2012-2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-#include "memmodel.h"
-
-;; The linker links all .crt_* sections in asciibetical order at the
-;; same place. So, the four digits in .crt_NNNN determine the link
-;; order, so, keep them in sequential order here. The first two
-;; digits are set here, the second two allow users to insert code
-;; between code fragments here.
-
-#if L0
- .section ".resetvec", "a"
-__msp430_resetvec_hook:
- .word __start
-
- .section ".crt_0000init", "ax", @progbits
- .refsym __msp430_resetvec_hook
-#ifdef MINRT
- .refsym __crt0_call_just_main
-#else
- .refsym __crt0_call_init_then_main
-#endif
- .global __start
-__start:
- mov_ #__stack, R1
-
- ;; Disable watchdog timer.
- MOV #0x5a80, &0x15C
-#endif
-
-#if Lbss
- .section ".crt_0100bss", "ax", @progbits
-
- .global __crt0_init_bss
-__crt0_init_bss:
-
- mov_ #__bssstart, R12
- clr.w R13
- mov.w #__bsssize, R14
-#ifdef __MSP430X_LARGE__
- clr.w R15 ; We assume that __bsssize is never > 64M
-#endif
- call_ #memset
-#endif
-
-#if Lmovedata
- .section ".crt_0200movedata", "ax", @progbits
-
- .global __crt0_movedata
-__crt0_movedata:
-
- mov_ #__datastart, R12
- mov_ #__romdatastart, R13
-
- ;; memmove and memcpy do not currently work when src == dst
- cmp_ R12, R13
- jeq 1f
-
- mov.w #__romdatacopysize, R14
-#ifdef __MSP430X_LARGE__
- clr.w R15 ; We assume that __romdatacopysize is never > 64M
-#endif
- call_ #memmove
-1:
-#endif
-
-#if Lmain_minrt
- .section ".crt_0300main", "ax", @progbits
- .global __crt0_call_just_main
-__crt0_call_just_main:
- clr.w R12 ; Set argc == 0
- call_ #main
-#endif
-
-#if Lmain
- .section ".crt_0300main", "ax", @progbits
- .global __crt0_call_init_then_main
-__crt0_call_init_then_main:
- call_ #__msp430_init
-
- clr.w R12 ; Set argc == 0
- call_ #main
-#endif
-
-#if Lcallexit
- .section ".crt_0400main_exit", "ax", @progbits
- .global __crt0_call_exit
-__crt0_call_exit:
- call_ #_exit
-#endif
-
-;----------------------------------------
-
-#ifndef MINRT
-#if L0
- .section ".crt_0500main_init", "ax", @progbits
- .global _msp430_run_init_array
- .type _msp430_run_init_array,@function
-_msp430_run_init_array:
- mov_ #__init_array_start, R4
- mov_ #__init_array_end, R5
- mov_ #PTRsz, R6
- br_ #_msp430_run_array
-
- .global _msp430_run_preinit_array
- .type _msp430_run_preinit_array,@function
-_msp430_run_preinit_array:
- mov_ #__preinit_array_start, R4
- mov_ #__preinit_array_end, R5
- mov_ #PTRsz, R6
- br_ #_msp430_run_array
-
- .global _msp430_run_fini_array
- .type _msp430_run_fini_array,@function
-_msp430_run_fini_array:
- mov_ #__fini_array_start, R4
- mov_ #__fini_array_end, R5
- mov_ #-PTRsz, R6
- br_ #_msp430_run_array
-
-_msp430_run_array:
- cmp_ R4, R5
- jeq _msp430_run_done
- mov_ @R4, R7
- add_ R6, R4
- call_ @R7
- br_ _msp430_run_array
-
-_msp430_run_done:
- ret_
-
-;----------------------------------------
-
- .section .init,"ax"
-
- .global __msp430_init
-__msp430_init:
-
- .section .fini,"ax"
-
- .global __msp430_fini
-__msp430_fini:
- call_ #_msp430_run_fini_array
-
-#endif
-#endif
diff --git a/libgloss/msp430/crt_bss.S b/libgloss/msp430/crt_bss.S
deleted file mode 100644
index 27ab2ef..0000000
--- a/libgloss/msp430/crt_bss.S
+++ /dev/null
@@ -1,44 +0,0 @@
-/* Copyright (c) 2012-2013 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- This software is provided by the copyright holders and contributors
- "AS IS" and any express or implied warranties, including, but not
- limited to, the implied warranties of merchantability and fitness for
- a particular purpose are disclaimed. In no event shall Red Hat
- incorporated be liable for any direct, indirect, incidental, special,
- exemplary, or consequential damages (including, but not limited to,
- procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage. */
-
-#include "memmodel.h"
-
- .section ".crt_bss", "ax", @progbits
-
- .global __crt0_init_bss
-__crt0_init_bss:
-
- mov_ #__bssstart, R12
- clr.w R13
- mov.w #__bsssize, R14
-#ifdef __MSP430X_LARGE__
- clr.w R15 ; We assume that __bsssize is never > 64M
-#endif
- call_ #memset
diff --git a/libgloss/msp430/crt_movedata.S b/libgloss/msp430/crt_movedata.S
deleted file mode 100644
index ad9fa27..0000000
--- a/libgloss/msp430/crt_movedata.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/* Copyright (c) 2012-2013 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- This software is provided by the copyright holders and contributors
- "AS IS" and any express or implied warranties, including, but not
- limited to, the implied warranties of merchantability and fitness for
- a particular purpose are disclaimed. In no event shall Red Hat
- incorporated be liable for any direct, indirect, incidental, special,
- exemplary, or consequential damages (including, but not limited to,
- procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage. */
-
-#include "memmodel.h"
-
- .section ".crt_movedata", "ax", @progbits
-
- .global __crt0_movedata
-__crt0_movedata:
-
- mov_ #__datastart, R12
- mov_ #__romdatastart, R13
-
- ;; memmove and memcpy do not currently work when src == dst
- cmp_ R12, R13
- jeq 1f
-
- mov.w #__romdatacopysize, R14
-#ifdef __MSP430X_LARGE__
- clr.w R15 ; We assume that __romdatacopysize is never > 64M
-#endif
- call_ #memmove
-1:
diff --git a/libgloss/msp430/crtn.S b/libgloss/msp430/crtn.S
deleted file mode 100644
index 939d5ce..0000000
--- a/libgloss/msp430/crtn.S
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-#include "memmodel.h"
-
-#ifndef MINRT
- .section .init,"ax"
- call_ #_msp430_run_preinit_array
- call_ #_msp430_run_init_array
- ret_
- .global __msp430_init_end
-__msp430_init_end:
-
- .section .fini,"ax"
-
- ret_
- .global __msp430_fini_end
-__msp430_fini_end:
-
- .text
-
-#endif
diff --git a/libgloss/msp430/gcrt0.S b/libgloss/msp430/gcrt0.S
deleted file mode 100644
index dfc25bf..0000000
--- a/libgloss/msp430/gcrt0.S
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
- .text
- .global _mcount
-_mcount:
- ret
diff --git a/libgloss/msp430/intr_vectors.ld b/libgloss/msp430/intr_vectors.ld
deleted file mode 100644
index 994146d..0000000
--- a/libgloss/msp430/intr_vectors.ld
+++ /dev/null
@@ -1,71 +0,0 @@
-MEMORY
-{
- VECT0 (w) : ORIGIN = 0x0FFC0, LENGTH = 2
- VECT1 (w) : ORIGIN = 0x0FFC2, LENGTH = 2
- VECT2 (w) : ORIGIN = 0x0FFC4, LENGTH = 2
- VECT3 (w) : ORIGIN = 0x0FFC6, LENGTH = 2
- VECT4 (w) : ORIGIN = 0x0FFC8, LENGTH = 2
- VECT5 (w) : ORIGIN = 0x0FFCA, LENGTH = 2
- VECT6 (w) : ORIGIN = 0x0FFCC, LENGTH = 2
- VECT7 (w) : ORIGIN = 0x0FFCE, LENGTH = 2
- VECT8 (w) : ORIGIN = 0x0FFD0, LENGTH = 2
- VECT9 (w) : ORIGIN = 0x0FFD2, LENGTH = 2
- VECT10 (w) : ORIGIN = 0x0FFD4, LENGTH = 2
- VECT11 (w) : ORIGIN = 0x0FFD6, LENGTH = 2
- VECT12 (w) : ORIGIN = 0x0FFD8, LENGTH = 2
- VECT13 (w) : ORIGIN = 0x0FFDA, LENGTH = 2
- VECT14 (w) : ORIGIN = 0x0FFDC, LENGTH = 2
- VECT15 (w) : ORIGIN = 0x0FFDE, LENGTH = 2
- VECT16 (w) : ORIGIN = 0x0FFE0, LENGTH = 2
- VECT17 (w) : ORIGIN = 0x0FFE2, LENGTH = 2
- VECT18 (w) : ORIGIN = 0x0FFE4, LENGTH = 2
- VECT19 (w) : ORIGIN = 0x0FFE6, LENGTH = 2
- VECT20 (w) : ORIGIN = 0x0FFE8, LENGTH = 2
- VECT21 (w) : ORIGIN = 0x0FFEA, LENGTH = 2
- VECT22 (w) : ORIGIN = 0x0FFEC, LENGTH = 2
- VECT23 (w) : ORIGIN = 0x0FFEE, LENGTH = 2
- VECT24 (w) : ORIGIN = 0x0FFF0, LENGTH = 2
- VECT25 (w) : ORIGIN = 0x0FFF2, LENGTH = 2
- VECT26 (w) : ORIGIN = 0x0FFF4, LENGTH = 2
- VECT27 (w) : ORIGIN = 0x0FFF6, LENGTH = 2
- VECT28 (w) : ORIGIN = 0x0FFF8, LENGTH = 2
- VECT29 (w) : ORIGIN = 0x0FFFA, LENGTH = 2
- VECT30 (w) : ORIGIN = 0x0FFFC, LENGTH = 2
- VECT31 (w) : ORIGIN = 0x0FFFE, LENGTH = 2
-}
-
-SECTIONS
-{
- __interrupt_vector_0 : { KEEP (*(__interrupt_vector_0)) } > VECT0
- __interrupt_vector_1 : { KEEP (*(__interrupt_vector_1)) } > VECT1
- __interrupt_vector_2 : { KEEP (*(__interrupt_vector_2)) } > VECT2
- __interrupt_vector_3 : { KEEP (*(__interrupt_vector_3)) } > VECT3
- __interrupt_vector_4 : { KEEP (*(__interrupt_vector_4)) } > VECT4
- __interrupt_vector_5 : { KEEP (*(__interrupt_vector_5)) } > VECT5
- __interrupt_vector_6 : { KEEP (*(__interrupt_vector_6)) } > VECT6
- __interrupt_vector_7 : { KEEP (*(__interrupt_vector_7)) } > VECT7
- __interrupt_vector_8 : { KEEP (*(__interrupt_vector_8)) } > VECT8
- __interrupt_vector_9 : { KEEP (*(__interrupt_vector_9)) } > VECT9
- __interrupt_vector_10 : { KEEP (*(__interrupt_vector_10)) } > VECT10
- __interrupt_vector_11 : { KEEP (*(__interrupt_vector_11)) } > VECT11
- __interrupt_vector_12 : { KEEP (*(__interrupt_vector_12)) } > VECT12
- __interrupt_vector_13 : { KEEP (*(__interrupt_vector_13)) } > VECT13
- __interrupt_vector_14 : { KEEP (*(__interrupt_vector_14)) } > VECT14
- __interrupt_vector_15 : { KEEP (*(__interrupt_vector_15)) } > VECT15
- __interrupt_vector_16 : { KEEP (*(__interrupt_vector_16)) } > VECT16
- __interrupt_vector_17 : { KEEP (*(__interrupt_vector_17)) } > VECT17
- __interrupt_vector_18 : { KEEP (*(__interrupt_vector_18)) } > VECT18
- __interrupt_vector_19 : { KEEP (*(__interrupt_vector_19)) } > VECT19
- __interrupt_vector_20 : { KEEP (*(__interrupt_vector_20)) } > VECT20
- __interrupt_vector_21 : { KEEP (*(__interrupt_vector_21)) } > VECT21
- __interrupt_vector_22 : { KEEP (*(__interrupt_vector_22)) } > VECT22
- __interrupt_vector_23 : { KEEP (*(__interrupt_vector_23)) } > VECT23
- __interrupt_vector_24 : { KEEP (*(__interrupt_vector_24)) } > VECT24
- __interrupt_vector_25 : { KEEP (*(__interrupt_vector_25)) } > VECT25
- __interrupt_vector_26 : { KEEP (*(__interrupt_vector_26)) KEEP (*(__interrupt_vector_watchdog)) } > VECT26
- __interrupt_vector_27 : { KEEP (*(__interrupt_vector_27)) } > VECT27
- __interrupt_vector_28 : { KEEP (*(__interrupt_vector_28)) } > VECT28
- __interrupt_vector_29 : { KEEP (*(__interrupt_vector_29)) } > VECT29
- __interrupt_vector_30 : { KEEP (*(__interrupt_vector_30)) KEEP (*(__interrupt_vector_nmi)) } > VECT30
- __interrupt_vector_31 : { KEEP (*(__interrupt_vector_31)) KEEP (*(__interrupt_vector_reset)) KEEP (*(.resetvec)) } > VECT31
-}
diff --git a/libgloss/msp430/memmodel.h b/libgloss/msp430/memmodel.h
deleted file mode 100644
index 4804e17..0000000
--- a/libgloss/msp430/memmodel.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (c) 2012-2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* This file provides macros for various MSP430 instructions
- which have similar, but not identical, versions when assembling
- for the LARGE memory model. */
-
-#ifdef __MSP430X_LARGE__
-
-#define call_ CALLA
-#define ret_ RETA
-#define mov_ MOVA
-#define movx_ MOVX
-#define br_ BRA
-#define cmp_ CMPA
-#define add_ ADDA
-#define PTRsz 4
-
-#else
-
-#define call_ CALL
-#define ret_ RET
-#define mov_ MOV
-#define movx_ MOV
-#define br_ BR
-#define cmp_ CMP
-#define add_ ADD
-#define PTRsz 2
-
-
-#endif
diff --git a/libgloss/msp430/msp430-sim.ld b/libgloss/msp430/msp430-sim.ld
deleted file mode 100644
index 35a91ea..0000000
--- a/libgloss/msp430/msp430-sim.ld
+++ /dev/null
@@ -1,207 +0,0 @@
-/* Copyright (c) 2005,2008,2009,2011,2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(msp430)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-INCLUDE intr_vectors.ld
-
-MEMORY
-{
- RAM (w) : ORIGIN = 0x00200, LENGTH = 0x0ee00
- RESETVEC (w) : ORIGIN = 0x0fffe, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .resetvec :
- {
- *(.resetvec)
- } > RESETVEC
-
- .rodata : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata .rodata.* .gnu.linkonce.r.* .const .const:*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > RAM
-
- .text :
- {
- . = ALIGN(2);
- PROVIDE (_start = .);
- KEEP (*(SORT(.crt_*)))
- *(.lowtext .text .stub .text.* .gnu.linkonce.t.* .text:*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- KEEP (*(.tm_clone_table))
- } > RAM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss .bss.* .gnu.linkonce.b.*)
- PROVIDE (__bssend = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- /* This section contains data that is not initialised at startup. */
- .noinit : {
- . = ALIGN(2);
- PROVIDE (__noinit_start = .);
- *(.noinit)
- . = ALIGN(2);
- *(COMMON)
- PROVIDE (__noinit_end = .);
- } > RAM
-
- _end = .;
- PROVIDE (end = .);
-
- .stack (ORIGIN (RAM) + LENGTH(RAM)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- /* The rest are all not normally part of the runtime image. */
-
- .MP430.attributes 0 :
- {
- KEEP (*(.MSP430.attributes))
- KEEP (*(.gnu.attributes))
- KEEP (*(__TI_build_attributes))
- }
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* DWARF 3 */
- .debug_pubtypes 0 : { *(.debug_pubtypes) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* DWARF Extension. */
- .debug_macro 0 : { *(.debug_macro) }
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/msp430/msp430.ld b/libgloss/msp430/msp430.ld
deleted file mode 100644
index 0220186..0000000
--- a/libgloss/msp430/msp430.ld
+++ /dev/null
@@ -1,200 +0,0 @@
-/* Copyright (c) 2005,2008,2009,2011,2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(msp430)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-INCLUDE intr_vectors.ld
-
-MEMORY {
- RAM (w) : ORIGIN = 0x00200, LENGTH = 0x0ee00
- RESETVEC (w) : ORIGIN = 0x0fffe, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .resetvec :
- {
- *(.resetvec)
- } > RESETVEC
-
- .rodata : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata .rodata.* .gnu.linkonce.r.* .const .const:*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > RAM
-
- .text :
- {
- . = ALIGN(2);
- PROVIDE (_start = .);
- KEEP (*(SORT(.crt_*)))
- *(.lowtext .text .stub .text.* .gnu.linkonce.t.* .text:*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- KEEP (*(.tm_clone_table))
- } > RAM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss .bss.* .gnu.linkonce.b.*)
- PROVIDE (__bssend = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- /* This section contains data that is not initialised at startup. */
- .noinit : {
- . = ALIGN(2);
- PROVIDE (__noinit_start = .);
- *(.noinit)
- . = ALIGN(2);
- *(COMMON)
- PROVIDE (__noinit_end = .);
- } > RAM
-
- _end = .;
- PROVIDE (end = .);
-
- .stack (ORIGIN (RAM) + LENGTH(RAM)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- .MP430.attributes 0 :
- {
- KEEP (*(.MSP430.attributes))
- KEEP (*(.gnu.attributes))
- KEEP (*(__TI_build_attributes))
- }
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/msp430/msp430F5438A-l.ld b/libgloss/msp430/msp430F5438A-l.ld
deleted file mode 100644
index 2e9cab6..0000000
--- a/libgloss/msp430/msp430F5438A-l.ld
+++ /dev/null
@@ -1,220 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(msp430)
-ENTRY(_start)
-
-INCLUDE intr_vectors.ld
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-MEMORY
-{
- RAM (w) : ORIGIN = 0x01c00, LENGTH = 0x04000
- LOWROM (w) : ORIGIN = 0x05c00, LENGTH = 0x0a3fe
- RESETVEC (w) : ORIGIN = 0x0fffe, LENGTH = 0x00002
- ROM (w) : ORIGIN = 0x10000, LENGTH = 0x35c00
-}
-
-SECTIONS
-{
- .resetvec :
- {
- *(.resetvec)
- } > RESETVEC
-
- .rodata : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata .rodata.* .gnu.linkonce.r.* .const .const:*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT>ROM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss .bss.* .gnu.linkonce.b.*)
- . = ALIGN(2);
- PROVIDE (__bssend = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- /* This section contains data that is not initialised at startup. */
- .noinit : {
- . = ALIGN(2);
- PROVIDE (__noinit_start = .);
- *(.noinit)
- . = ALIGN(2);
- *(COMMON)
- PROVIDE (__noinit_end = .);
- } > RAM
-
- _end = .;
- PROVIDE (end = .);
-
- .stack (ORIGIN (RAM) + LENGTH(RAM)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- /* This is just for crt0.S */
- .lowtext :
- {
- PROVIDE (_start = .);
- . = ALIGN(2);
- KEEP (*(.crt_init))
- KEEP (*(.crt_bss))
- KEEP (*(.crt_movedata))
- KEEP (*(.crt_main))
- KEEP (*(.lowtext))
- } > LOWROM
-
- .text :
- {
- . = ALIGN(2);
- *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- KEEP (*(.tm_clone_table))
- } > ROM
-
- /* The rest are all not normally part of the runtime image. */
-
- .MP430.attributes 0 :
- {
- KEEP (*(.MSP430.attributes))
- KEEP (*(.gnu.attributes))
- KEEP (*(__TI_build_attributes))
- }
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* DWARF 3 */
- .debug_pubtypes 0 : { *(.debug_pubtypes) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* DWARF Extension. */
- .debug_macro 0 : { *(.debug_macro) }
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/msp430/msp430F5438A-s.ld b/libgloss/msp430/msp430F5438A-s.ld
deleted file mode 100644
index 4e9fc84..0000000
--- a/libgloss/msp430/msp430F5438A-s.ld
+++ /dev/null
@@ -1,206 +0,0 @@
-/* Copyright (c) 2005,2008,2009,2011,2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(msp430)
-ENTRY(_start)
-
-INCLUDE intr_vectors.ld
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-MEMORY
-{
- RAM (w) : ORIGIN = 0x01c00, LENGTH = 0x04000
- ROM (w) : ORIGIN = 0x05c00, LENGTH = 0x0a3fe
- RESETVEC (w) : ORIGIN = 0x0fffe, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .resetvec :
- {
- *(.resetvec)
- } > RESETVEC
-
- .rodata : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata .rodata.* .gnu.linkonce.r.* .const .const:*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
-
- .text :
- {
- . = ALIGN(2);
- PROVIDE (_start = .);
- KEEP (*(.crt_init))
- KEEP (*(.crt_bss))
- KEEP (*(.crt_movedata))
- KEEP (*(.crt_main))
- KEEP (*(.lowtext))
- *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- KEEP (*(.tm_clone_table))
- } > ROM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT>ROM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss .bss.* .gnu.linkonce.b.*)
- PROVIDE (__bssend = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- /* This section contains data that is not initialised at startup. */
- .noinit : {
- . = ALIGN(2);
- PROVIDE (__noinit_start = .);
- *(.noinit)
- . = ALIGN(2);
- *(COMMON)
- PROVIDE (__noinit_end = .);
- } > RAM
-
- _end = .;
- PROVIDE (end = .);
-
- .stack (ORIGIN (RAM) + LENGTH(RAM)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- .MP430.attributes 0 :
- {
- KEEP (*(.MSP430.attributes))
- KEEP (*(.gnu.attributes))
- KEEP (*(__TI_build_attributes))
- }
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld
deleted file mode 100644
index 3bd1463..0000000
--- a/libgloss/msp430/msp430xl-sim.ld
+++ /dev/null
@@ -1,217 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(msp430)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-INCLUDE intr_vectors.ld
-
-MEMORY {
- RAM (rx) : ORIGIN = 0x00200, LENGTH = 0x0ee00
- LOWROM (w) : ORIGIN = 0x0f000, LENGTH = 0x00800
- ROM (w) : ORIGIN = 0x10000, LENGTH = 0x80000
- RESETVEC (w) : ORIGIN = 0x0fffe, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .resetvec :
- {
- *(.resetvec)
- } > RESETVEC
-
- .rodata : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata .rodata.* .gnu.linkonce.r.* .const .const:*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT>ROM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss .bss.* .gnu.linkonce.b.*)
- . = ALIGN(2);
- PROVIDE (__bssend = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- /* This section contains data that is not initialised at startup. */
- .noinit : {
- . = ALIGN(2);
- PROVIDE (__noinit_start = .);
- *(.noinit)
- . = ALIGN(2);
- *(COMMON)
- PROVIDE (__noinit_end = .);
- } > RAM
-
- _end = .;
- PROVIDE (end = .);
-
- .stack (ORIGIN (RAM) + LENGTH(RAM)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- /* This is just for crt0.S */
- .lowtext :
- {
- PROVIDE (_start = .);
- . = ALIGN(2);
- KEEP (*(SORT(.crt_*)))
- KEEP (*(.lowtext))
- } > LOWROM
-
- .text :
- {
- . = ALIGN(2);
- *(.text .stub .text.* .gnu.linkonce.t.* .text:*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- KEEP (*(.tm_clone_table))
- } > ROM
-
- /* The rest are all not normally part of the runtime image. */
-
- .MP430.attributes 0 :
- {
- KEEP (*(.MSP430.attributes))
- KEEP (*(.gnu.attributes))
- KEEP (*(__TI_build_attributes))
- }
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* DWARF 3 */
- .debug_pubtypes 0 : { *(.debug_pubtypes) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* DWARF Extension. */
- .debug_macro 0 : { *(.debug_macro) }
-
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/msp430/nosyscalls.S b/libgloss/msp430/nosyscalls.S
deleted file mode 100644
index abb01b0..0000000
--- a/libgloss/msp430/nosyscalls.S
+++ /dev/null
@@ -1,69 +0,0 @@
-/* Copyright (c) 2012, 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Empty syscall definitions for when we run on real hardware. */
-
-#include "../syscall.h"
-#include "memmodel.h"
-
-#define ENOSYS 88
-
-.macro sc,a
- sc2 \a,\a
-.endm
-
-.macro sc2,name,num
- .weak \name
- .global \name
-\name:
- call_ #__errno
- movx_ #ENOSYS, @R12
- MOV.W #-1,R12
- ret_
-.endm
-
- .weak exit
- .weak _exit
- .global exit
- .global _exit
-exit:
-_exit:
- /* For some reason, the board fails to stop at a breakpoint
- placed on top of a software breakpoint instruction. */
-/* MOV.B #0,R3 ; this is a software breakpoint instruction */
-1: br_ #1b
-
-#define SC(n) sc2 n,SYS_##n
-
- SC (open)
- SC (close)
- SC (read)
-/* SC (write)*/
- SC (fstat)
- SC (lseek)
- SC (kill)
-
- .weak isatty
- .global isatty
-isatty:
- .weak _isatty
- .global _isatty
-_isatty:
- MOV #1,R12
- ret_
-
- .weak getpid
- .global getpid
-getpid:
- MOV #42,R12
- ret_
diff --git a/libgloss/msp430/sbrk.c b/libgloss/msp430/sbrk.c
deleted file mode 100644
index 0a88b94..0000000
--- a/libgloss/msp430/sbrk.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-char *
-_sbrk (int adj)
-{
- extern char end[]; /* Defined in the linker script. */
- static char * heap = end;
- char * rv = heap;
- char * sp = (char *) & sp; /* Stack grows down, heap grows up... */
-
- if (heap + adj > sp)
- {
-#define MESSAGE "Heap and stack collision\n"
- write (1, MESSAGE, sizeof MESSAGE);
- abort ();
- }
-
- heap += adj;
- return rv;
-}
-
-char * sbrk (int) __attribute__((weak, alias ("_sbrk")));
diff --git a/libgloss/msp430/syscalls.S b/libgloss/msp430/syscalls.S
deleted file mode 100644
index 8aa22ae..0000000
--- a/libgloss/msp430/syscalls.S
+++ /dev/null
@@ -1,66 +0,0 @@
-/* Copyright (c) 2012, 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-/* Be wary: the lower N bits of the *address* of the function
- determines the syscall used by the simulator. Thus, the addresses
- listed here depend on the syscall numbers in ../syscalls.h. */
-
-/* As per the MSP430x200 Family Users Guide, section 1.5, "An
- instruction fetch from the address range 0x0000 - 0x01FF will reset
- the device." We take advantage of that to do syscalls in the
- simulator, by trying to execute specific addresses in that range
- and letting the simulator catch them while simulating the CALL
- instruction. In theory, this is an operation that the physical
- hardware will never attempt to do, so it won't interfere with the
- simulation's accuracy (i.e. we aren't abusing holes in the opcode
- map, for example). */
-
-#include "../syscall.h"
-#include "memmodel.h"
-
-.macro sc,a
- sc2 \a,\a
-.endm
-
-.macro sc2,name,num
- .weak \name
- .global \name
- \name = 0x180 + \num
-.endm
-
-#define SC(n) sc2 n,SYS_##n
-
- sc2 _exit,SYS_exit
- SC (exit)
- SC (open)
- SC (close)
- SC (read)
-/* SC (write)*/
- SC (fstat)
- SC (lseek)
- SC (kill)
-
- .weak isatty
- .global isatty
-isatty:
- .weak _isatty
- .global _isatty
-_isatty:
- MOV #1,R12
- ret_
-
- .weak getpid
- .global getpid
-getpid:
- MOV #42,R12
- ret_
diff --git a/libgloss/msp430/unlink.c b/libgloss/msp430/unlink.c
deleted file mode 100644
index 1c8c6f2..0000000
--- a/libgloss/msp430/unlink.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <string.h>
-
-#include "cio.h"
-
-signed int
-unlink (const char * name)
-{
- unsigned len = strlen (name);
-
- if (len >= CIO_BUF_SIZE)
- return -1;
-
- __CIOBUF__.length[0] = len;
- __CIOBUF__.length[1] = len >> 8;
- __CIOBUF__.parms[0] = CIO_UNLINK;
- __CIOBUF__.parms[1] = len;
- __CIOBUF__.parms[2] = len >> 8;
- memcpy (__CIOBUF__.buf, name, len);
-
- _libgloss_cio_hook ();
-
- return __CIOBUF__.parms[0] + __CIOBUF__.parms[1] * 256;
-}
-
-
diff --git a/libgloss/msp430/write.c b/libgloss/msp430/write.c
deleted file mode 100644
index 0c01098..0000000
--- a/libgloss/msp430/write.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
-
- This copyrighted material is made available to anyone wishing to use, modify,
- copy, or redistribute it subject to the terms and conditions of the BSD
- License. This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
- is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
- are incorporated in the source code or documentation are not subject to the BSD
- License and may only be used or replicated with the express permission of
- Red Hat, Inc.
-*/
-
-#include <string.h>
-
-#include "cio.h"
-
-static int
-write_chunk (int fd, char *buf, int len)
-{
- __CIOBUF__.length[0] = len;
- __CIOBUF__.length[1] = len >> 8;
- __CIOBUF__.parms[0] = CIO_WRITE;
- __CIOBUF__.parms[1] = fd;
- __CIOBUF__.parms[2] = fd >> 8;
- __CIOBUF__.parms[3] = len;
- __CIOBUF__.parms[4] = len >> 8;
- memcpy (__CIOBUF__.buf, buf, len);
-
- _libgloss_cio_hook ();
-
- return __CIOBUF__.parms[0] + __CIOBUF__.parms[1] * 256;
-}
-
-#include <stdio.h>
-
-int
-write (int fd, char *buf, int len)
-{
- int rv = 0;
- int c;
-#if 0
- if (fd == 2)
- fprintf (stderr, "%.*s", buf, len);
- else if (fd == 1)
- printf ("%.*s", buf, len);
-#endif
- while (len > 0)
- {
- int l = (len > CIO_BUF_SIZE) ? CIO_BUF_SIZE : len;
- c = write_chunk (fd, buf, l);
- if (c < 0)
- return c;
- rv += l;
- len -= l;
- buf += l;
- }
- return c;
-}
diff --git a/libgloss/mt/16-002.ld b/libgloss/mt/16-002.ld
deleted file mode 100644
index 9dfd62e..0000000
--- a/libgloss/mt/16-002.ld
+++ /dev/null
@@ -1,248 +0,0 @@
-OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
-OUTPUT_ARCH(mt)
-ENTRY(__boot_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x0, LENGTH = 128K
- frame-buffer (w) : ORIGIN = 0xde0000, LENGTH = 40K
- ports (w) : ORIGIN = 0xfff000, LENGTH = 4K
- dma-ram (w) : ORIGIN = 0x1000000, LENGTH = 16M-4K
-}
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x0;
- PROVIDE(__executable_start = 0x0);
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rel.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
- .startup : { *startup-16-002.o(.startup) } >ram =0
- . = 0x40 ;
-
- .init : { KEEP (*(.init)) } >ram =0
- .plt : { *(.plt) } >ram
- .text :
- {
- *startup-16-002.o(.text)
- *(.text .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >ram =0
- .fini : { KEEP (*(.fini)) } >ram =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >ram
- .rodata1 : { *(.rodata1) } >ram
- .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >ram
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >ram
- .eh_frame_hdr : { *(.eh_frame_hdr) } >ram
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >ram
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >ram
- /* Ensure the __preinit_array_start label is properly aligned. We
- could instead move the label definition inside the section, but
- the linker would then create the section even if it turns out to
- be empty, which isn't pretty. */
- . = ALIGN(32 / 8);
- PROVIDE (__preinit_array_start = .);
- .preinit_array : { *(.preinit_array) } >ram
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- .init_array : { *(.init_array) } >ram
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- .fini_array : { *(.fini_array) } >ram
- PROVIDE (__fini_array_end = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >ram
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >ram
- .jcr : { KEEP (*(.jcr)) } >ram
- .data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) } >ram
- .dynamic : { *(.dynamic) } >ram
-
- /* DJK - Re-align the data section from the read-only section. */
- . = ALIGN(16) + (. & (16 - 1));
- PROVIDE (_data = .);
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } >ram
- .data1 : { *(.data1) } >ram
- .got : { *(.got.plt) *(.got) } >ram
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) } >ram
- _edata = .;
- PROVIDE ( edata = . ) ;
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- } >ram
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- } >ram
- . = ALIGN(32 / 8);
- __bss_start = ADDR ( .sbss ) ;
- __bss_end = __bss_start + SIZEOF ( .sbss ) + SIZEOF ( .bss ) - 4 ;
- _end = .;
- PROVIDE (end = .);
-
- /* DJK - Initialized frame buffer data is copied from RAM to FB. */
- .auxbss : AT (ADDR(.bss) + SIZEOF(.bss)) { *(.auxbss) } >frame-buffer
- .auxdata : AT (LOADADDR(.auxbss) + SIZEOF(.auxbss))
- {
- *(.auxdata)
- } >frame-buffer
-
- _fbbss_start = ADDR ( .auxbss );
- _fbbss_end = _fbbss_start + SIZEOF ( .auxbss ) - 4;
- _fbdata_start = LOADADDR ( .auxdata );
- _fbdata_end = _fbdata_start + SIZEOF ( .auxdata ) ;
- _fbdata_vma = ADDR ( .auxdata );
-
- PROVIDE (__FRAME_BUFFER_START = ADDR(.auxbss) );
- PROVIDE (__FRAME_BUFFER_SIZE = 0xa000);
- PROVIDE (__FRAME_BUFFER_END = __FRAME_BUFFER_START + __FRAME_BUFFER_SIZE);
-
- .dma : { _dma_start = .; *(.dma) _dma_end = .; } >dma-ram
- .internal_io (NOLOAD) : { *(.internal_io) } >ports
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* In a multi-core environment, each core is given its own stack space
- equal to __stack_size. */
- PROVIDE (__stack = 0x1fff0);
- PROVIDE (__stack_size = 0x800);
-
- .stack (DEFINED(__stack) ? __stack : 0x007ffff0) :
- {
- __stack = .;
- *(.stack)
- LONG(0xdeaddead)
- }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/mt/16-003.ld b/libgloss/mt/16-003.ld
deleted file mode 100644
index c837b75..0000000
--- a/libgloss/mt/16-003.ld
+++ /dev/null
@@ -1,258 +0,0 @@
-OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
-OUTPUT_ARCH(mt)
-ENTRY(__boot_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x0, LENGTH = 608K
- frame-buffer (w) : ORIGIN = 0xff000000, LENGTH = 80K
- dma-ram (w) : ORIGIN = 0x1000000, LENGTH = 16M-4K
- ports (w) : ORIGIN = 0xfffff000, LENGTH = 4K
-}
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x0;
- PROVIDE(__executable_start = 0x0);
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rel.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
- .startup : { *startup-16-003.o(.startup) } >ram =0
- . = 0x40;
-
- .init : { KEEP (*(.init)) } >ram =0
- .plt : { *(.plt) } >ram
- .text :
- {
- *startup-16-003.o(.text);
- *(.text .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >ram =0
- .fini : { KEEP (*(.fini)) } >ram =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >ram
- .rodata1 : { *(.rodata1) } >ram
- .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >ram
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >ram
- .eh_frame_hdr : { *(.eh_frame_hdr) } >ram
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >ram
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >ram
- /* Ensure the __preinit_array_start label is properly aligned. We
- could instead move the label definition inside the section, but
- the linker would then create the section even if it turns out to
- be empty, which isn't pretty. */
- . = ALIGN(32 / 8);
- PROVIDE (__preinit_array_start = .);
- .preinit_array : { *(.preinit_array) } >ram
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- .init_array : { *(.init_array) } >ram
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- .fini_array : { *(.fini_array) } >ram
- PROVIDE (__fini_array_end = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >ram
- .dtors :
- {
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >ram
- .jcr : { KEEP (*(.jcr)) } >ram
- .data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) } >ram
- .dynamic : { *(.dynamic) } >ram
-
- /* DJK - Re-align the data section from the read-only section. */
- . = ALIGN(16) + (. & (16 - 1));
- PROVIDE (_data = .);
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >ram
- .data1 : { *(.data1) } >ram
- .got : { *(.got.plt) *(.got) } >ram
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) } >ram
- _edata = .;
- PROVIDE ( edata = . );
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- } >ram
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- } >ram
- . = ALIGN(32 / 8);
- __bss_start = ADDR ( .sbss ) ;
- __bss_end = __bss_start + SIZEOF ( .sbss ) + SIZEOF ( .bss ) - 4 ;
- _end = .;
- PROVIDE (end = .);
-
- /* DJK - Initialized frame buffer data is copied from RAM to FB. */
- .auxbss : AT (ADDR(.bss) + SIZEOF(.bss)) { *(.auxbss) } >frame-buffer
- .auxdata : AT (LOADADDR(.auxbss) + SIZEOF(.auxbss))
- {
- *(.auxdata.bank0)
- . = ALIGN(0x4000);
- *(.auxdata.bank1)
- . = ALIGN(0x4000);
- *(.auxdata.bank2)
- . = ALIGN(0x4000);
- *(.auxdata.bank3)
- . = ALIGN(0x4000);
- *(.auxdata.bank4)
- *(.auxdata)
- } >frame-buffer
-
- _fbbss_start = ADDR ( .auxbss );
- _fbbss_end = _fbbss_start + SIZEOF ( .auxbss ) - 4;
- _fbdata_start = LOADADDR ( .auxdata );
- _fbdata_end = _fbdata_start + SIZEOF ( .auxdata ) ;
- _fbdata_vma = ADDR ( .auxdata );
-
- PROVIDE (__FRAME_BUFFER_START = ADDR(.auxbss) );
- PROVIDE (__FRAME_BUFFER_SIZE = 0x14000);
- PROVIDE (__FRAME_BUFFER_END = __FRAME_BUFFER_START + __FRAME_BUFFER_SIZE);
-
- .dma : { _dma_start = .; *(.dma) _dma_end = .; } >dma-ram
- .internal_io (NOLOAD) : { *(.internal_io) } >ports
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* In a multi-core environment, each core is given its own stack space
- equal to __stack_size, growing downwards. */
- PROVIDE (__stack = 0x97ff0);
- PROVIDE (__stack_size = 0x800);
-
- .stack (DEFINED(__stack) ? __stack : 0x007ffff0) :
- {
- __stack = .;
- *(.stack)
- LONG(0xdeaddead)
- }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/mt/64-001.ld b/libgloss/mt/64-001.ld
deleted file mode 100644
index 501ec32..0000000
--- a/libgloss/mt/64-001.ld
+++ /dev/null
@@ -1,282 +0,0 @@
-OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
-OUTPUT_ARCH(mt)
-ENTRY(__boot_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x000000, LENGTH = 8M
- frame-buffer (w) : ORIGIN = 0x800000, LENGTH = 64K
- ram (w) : ORIGIN = 0xc00000, LENGTH = 4M
- dma-ram (w) : ORIGIN = 0x1000000, LENGTH = 16M
-}
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- PROVIDE (__executable_start = 0x0); . = 0x0;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro*) }
- .rela.data.rel.ro : { *(.rel.data.rel.ro*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rel.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
- .startup : { *startup-64-001.o(.startup) } >rom =0
-
- .init : { KEEP (*(.init)) } >rom =0
- .plt : { *(.plt) } >rom
- .text :
- {
- *startup-64-001.o(.text)
- *(.text .stub .text.* .gnu.linkonce.t.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >rom =0
- .fini :
- {
- KEEP (*(.fini))
- } >rom =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >rom
- .rodata1 : { *(.rodata1) } >rom
-
- /* Data starting here needs to be copied from ROM to the frame buffer. */
- /* Section .sdata2 is used as the beginning marker of the frame buffer
- address as well as the start of the data that needs to be copied. */
- .sdata2 : AT (ADDR(.rodata1) + SIZEOF(.rodata1))
- { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >frame-buffer
- .sbss2 : AT (LOADADDR(.sdata2) + SIZEOF(.sdata2))
- { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >frame-buffer
- .eh_frame_hdr : AT (LOADADDR(.sbss2) + SIZEOF(.sbss2))
- { *(.eh_frame_hdr) } >frame-buffer
- .eh_frame : AT (LOADADDR(.eh_frame_hdr) + SIZEOF(.eh_frame_hdr))
- ONLY_IF_RO { KEEP (*(.eh_frame)) } >frame-buffer
- .gcc_except_table : AT (LOADADDR(.eh_frame) + SIZEOF(.eh_frame))
- ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >frame-buffer
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- /* Exception handling */
- .eh_frame : AT (LOADADDR(.eh_frame_hdr) + SIZEOF(.eh_frame_hdr))
- ONLY_IF_RW { KEEP (*(.eh_frame)) } >frame-buffer
- .gcc_except_table : AT (LOADADDR(.eh_frame) + SIZEOF(.eh_frame))
- ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >frame-buffer
- /* Thread Local Storage sections */
- .tdata : AT (LOADADDR(.gcc_except_table) + SIZEOF(.gcc_except_table))
- { *(.tdata .tdata.* .gnu.linkonce.td.*) } >frame-buffer
- .tbss : AT (LOADADDR(.tdata) + SIZEOF(.tdata))
- { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >frame-buffer
- /* Ensure the __preinit_array_start label is properly aligned. We
- could instead move the label definition inside the section, but
- the linker would then create the section even if it turns out to
- be empty, which isn't pretty. */
- . = ALIGN(32 / 8);
- PROVIDE (__preinit_array_start = .);
- .preinit_array : AT (LOADADDR(.tbss) + SIZEOF(.tbss))
- { *(.preinit_array) } >frame-buffer
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- .init_array : AT (LOADADDR(.preinit_array) + SIZEOF(.preinit_array))
- { *(.init_array) } >frame-buffer
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- .fini_array : AT (LOADADDR(.init_array) + SIZEOF(.init_array))
- { *(.fini_array) } >frame-buffer
- PROVIDE (__fini_array_end = .);
- .ctors : AT (LOADADDR(.fini_array) + SIZEOF(.fini_array))
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin*.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >frame-buffer
- .dtors : AT (LOADADDR(.ctors) + SIZEOF(.ctors))
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >frame-buffer
- .jcr : AT (LOADADDR(.dtors) + SIZEOF(.dtors))
- { KEEP (*(.jcr)) } >frame-buffer
- .data.rel.ro : AT (LOADADDR(.jcr) + SIZEOF(.jcr))
- { *(.data.rel.ro.local) *(.data.rel.ro*) } >frame-buffer
- .dynamic : AT (LOADADDR(.data.rel.ro) + SIZEOF(.data.rel.ro))
- { *(.dynamic) } >frame-buffer
-
- /* DJK - Re-align the data section from the read-only section. */
- . = ALIGN(16) + (. & (16 - 1));
- PROVIDE (_data = .);
- .data : AT (LOADADDR(.dynamic) + SIZEOF(.dynamic))
- {
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >frame-buffer
- .data1 : AT (LOADADDR(.data) + SIZEOF(.data))
- { *(.data1) } >frame-buffer
- .got : AT (LOADADDR(.data1) + SIZEOF(.data1))
- { *(.got.plt) *(.got) }
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : AT (LOADADDR(.got) + SIZEOF(.got))
- { *(.sdata .sdata.* .gnu.linkonce.s.*) } >frame-buffer
- _edata = .;
- PROVIDE ( edata = . ) ;
-
- _fbdata_start = LOADADDR(.sdata2) ;
- _fbdata_end = LOADADDR(.sdata) + SIZEOF(.sdata) - 4 ;
-
- PROVIDE (__FRAME_BUFFER_START = ADDR(.sdata2));
- PROVIDE (__FRAME_BUFFER_SIZE = 0x10000);
- PROVIDE (__FRAME_BUFFER_END = __FRAME_BUFFER_START + __FRAME_BUFFER_SIZE);
-
- .sbss : AT (LOADADDR(.sdata) + SIZEOF(.sdata))
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- } >frame-buffer
- .bss : AT (LOADADDR(.sbss) + SIZEOF(.sbss))
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- } >frame-buffer
- . = ALIGN(32 / 8);
- __bss_start = ADDR(.sbss) ;
- __bss_end = __bss_start + SIZEOF(.sbss) + SIZEOF(.bss) - 4 ;
- _end = .;
- PROVIDE (end = .);
-
- PROVIDE ( _extdata_start = ADDR(.bss) + SIZEOF(.bss));
- .extdata : AT ( LOADADDR(.bss) + SIZEOF(.bss))
- {
- *(.extdata)
- } >ram
- PROVIDE (_extdata_end = _extdata_start + SIZEOF(.extdata) - 4 );
-
- .extbss : AT ( LOADADDR(.extdata) + SIZEOF(.extdata))
- {
- _extbss_start = .;
- *(.extbss);
- . = ALIGN(4);
- _extbss_end = .;
- } >ram
- . = ALIGN(4);
-
- PROVIDE (__EXTERNAL_MEMORY_START = 0xc00000);
-
- .dma :
- {
- _dma_start = .;
- *(.dma)
- _dma_end = .;
- } >dma-ram
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
-
- PROVIDE (__stack = 0x80fff0);
-
- .stack (DEFINED(__stack) ? __stack : 0x7FFFF0) :
- {
- __stack = .;
- *(.stack)
- LONG(0xdeaddead)
- }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/mt/Makefile.in b/libgloss/mt/Makefile.in
deleted file mode 100644
index 031c864..0000000
--- a/libgloss/mt/Makefile.in
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright (c) 2001, 2005 Red Hat, Inc.
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/mt. This is the board support for the Morpho mt.
-
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = 16-002.ld 16-003.ld 64-001.ld ms2.ld
-CRT0 = crt0.o crt0-64-001.o crt0-16-002.o crt0-16-003.o crt0-ms2.o \
- startup-64-001.o startup-16-002.o startup-16-003.o startup-ms2.o \
- exit.o exit-64-001.o exit-16-002.o exit-16-003.o exit-ms2.o
-
-SIM_BSP = libsim.a
-SIM_OBJS = access.o chmod.o close.o \
- fstat.o getpid.o gettime.o isatty.o kill.o lseek.o open.o \
- read.o sbrk.o stat.o time.o times.o trap.o unlink.o utime.o write.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0) $(SIM_BSP)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-access.o: $(srcdir)/access.c
-chmod.o: $(srcdir)/chmod.c
-close.o: $(srcdir)/close.c
-fstat.o: $(srcdir)/fstat.c
-getpid.o: $(srcdir)/getpid.c
-gettime.o: $(srcdir)/gettime.c
-isatty.o: $(srcdir)/isatty.c
-kill.o: $(srcdir)/kill.c
-lseek.o: $(srcdir)/lseek.c
-open.o: $(srcdir)/open.c
-read.o: $(srcdir)/read.c
-sbrk.o: $(srcdir)/sbrk.c
-stat.o: $(srcdir)/stat.c
-time.o: $(srcdir)/time.c
-times.o: $(srcdir)/times.c
-unlink.o: $(srcdir)/unlink.c
-utime.o: $(srcdir)/utime.c
-write.o: $(srcdir)/write.c
-crt0.o: $(srcdir)/crt0.S
-crt0-16-002.o: $(srcdir)/crt0-16-002.S
-crt0-16-003.o: $(srcdir)/crt0-16-003.S
-crt0-64-001.o: $(srcdir)/crt0-64-001.S
-crt0-ms2.o: $(srcdir)/crt0-ms2.S
-
-trap.o: $(srcdir)/trap.S
-
-install: $($(CPU)_INSTALL)
- for c in $(CRT0); do \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ; \
- done;
- $(INSTALL_DATA) $(SIM_BSP) $(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
- for c in $(SCRIPTS); do \
- $(INSTALL_DATA) $(srcdir)/$$c $(tooldir)/lib/$$c ; \
- done;
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/mt/access.c b/libgloss/mt/access.c
deleted file mode 100644
index 980682e..0000000
--- a/libgloss/mt/access.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
-
diff --git a/libgloss/mt/aclocal.m4 b/libgloss/mt/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/mt/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/mt/chmod.c b/libgloss/mt/chmod.c
deleted file mode 100644
index 8200506..0000000
--- a/libgloss/mt/chmod.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-chmod (const char *path, mode_t mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/mt/close.c b/libgloss/mt/close.c
deleted file mode 100644
index 02ee072..0000000
--- a/libgloss/mt/close.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/mt/configure b/libgloss/mt/configure
deleted file mode 100755
index 360188c..0000000
--- a/libgloss/mt/configure
+++ /dev/null
@@ -1,3732 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/mt/configure.in b/libgloss/mt/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/mt/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/mt/crt0-16-002.S b/libgloss/mt/crt0-16-002.S
deleted file mode 100644
index ac2727e..0000000
--- a/libgloss/mt/crt0-16-002.S
+++ /dev/null
@@ -1,111 +0,0 @@
-; crt0_2.s - Startup code for the mrisc1. This code initializes the C
-; run-time model.
-;
-; Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-;
-; The authors hereby grant permission to use, copy, modify, distribute,
-; and license this software and its documentation for any purpose, provided
-; that existing copyright notices are retained in all copies and that this
-; notice is included verbatim in any distributions. No written agreement,
-; license, or royalty fee is required for any of the authorized uses.
-; Modifications to this software may be copyrighted by their authors
-; and need not follow the licensing terms described here, provided that
-; the new terms are clearly indicated on the first page of each file where
-; they apply.
-;
-
- ; Create a label for the start of the eh_frame section.
- .section .eh_frame
-__eh_frame_begin:
-
- .text
- .global _start
-_start:
- ;; Initialize the stack pointer
- ldui sp, #%hi16(__stack)
- addui sp, sp, #%lo16(__stack)
- or fp, sp, sp
- ;; Zero the bss space
- ldui r9, #%hi16(__bss_start)
- addui r9, r9, #%lo16(__bss_start)
- ldui r10, #%hi16(__bss_end)
- addui r10, r10, #%lo16(__bss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext1
- or r0, r0, r0
-.Lcpy0:
- stw r0, r9, #0
- addi r9, r9, #4
- or r0, r0, r0 ; nop
- brle r9, r10, .Lcpy0
- or r0, r0, r0 ; nop
-
-.Lnext1:
- ;; Copy data from ROM to Frame Buffer (on-chip memory)
- ldui r9, #%hi16(_fbdata_start)
- ori r9, r9, #%lo16(_fbdata_start)
- ldui r10, #%hi16(_fbdata_end)
- ori r10, r10, #%lo16(_fbdata_end)
- ldui r11, #%hi16(_fbdata_vma)
- brle r10, r9, .Lnext2
- ori r11, r11, #%lo16(_fbdata_vma)
-.Lcpy1:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy1
- addi r11, r11, #$4
-
-.Lnext2:
- ;; Zero the frame buffer bss section
- ldui r9, #%hi16(_fbbss_start)
- ori r9, r9, #%lo16(_fbbss_start)
- ldui r10, #%hi16(_fbbss_end)
- ori r10, r10, #%lo16(_fbbss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext3
- or r0, r0, r0
-.Lcpy2:
- stw r0, r9, #$0
- addi r9, r9, #$4
- or r0, r0, r0
- brle r9, r10, .Lcpy2
- or r0, r0, r0
-
-.Lnext3:
- ;; Call global and static constructors
- ldui r10, #%hi16(_init)
- ori r10, r10, #%lo16(_init)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Call main
- ldui r10, #%hi16(main)
- ori r10, r10, #%lo16(main)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; DJK - Added 12Nov01. Pass main's return value to exit.
- or r1, r11, r0
-
- ;; Jump to exit
- ldui r10, #%hi16(exit)
- ori r10, r10, #%lo16(exit)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Exit does not return, however, this code is to catch an
- ;; error if it does. Set the processor into sleep mode.
- ori r1, r0, #$1
- stw r1, r0, #%lo16(_DEBUG_HALT_REG)
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
-.Lend:
- jmp .Lend
- or r0, r0, r0
diff --git a/libgloss/mt/crt0-16-003.S b/libgloss/mt/crt0-16-003.S
deleted file mode 100644
index bd88bcc..0000000
--- a/libgloss/mt/crt0-16-003.S
+++ /dev/null
@@ -1,112 +0,0 @@
-; crt0.s - Startup code for the mrisc1. This code initializes the C
-; run-time model.
-;
-;
-; Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-;
-; The authors hereby grant permission to use, copy, modify, distribute,
-; and license this software and its documentation for any purpose, provided
-; that existing copyright notices are retained in all copies and that this
-; notice is included verbatim in any distributions. No written agreement,
-; license, or royalty fee is required for any of the authorized uses.
-; Modifications to this software may be copyrighted by their authors
-; and need not follow the licensing terms described here, provided that
-; the new terms are clearly indicated on the first page of each file where
-; they apply.
-;
-
- ; Create a label for the start of the eh_frame section.
- .section .eh_frame
-__eh_frame_begin:
-
- .text
- .global _start
-_start:
- ;; Initialize the stack pointer
- ldui sp, #%hi16(__stack)
- addui sp, sp, #%lo16(__stack)
- or fp, sp, sp
- ;; Zero the bss space
- ldui r9, #%hi16(__bss_start)
- addui r9, r9, #%lo16(__bss_start)
- ldui r10, #%hi16(__bss_end)
- addui r10, r10, #%lo16(__bss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext1
- or r0, r0, r0
-.Lcpy0:
- stw r0, r9, #0
- addi r9, r9, #4
- or r0, r0, r0 ; nop
- brle r9, r10, .Lcpy0
- or r0, r0, r0 ; nop
-
-.Lnext1:
- ;; Copy data from ROM to Frame Buffer (on-chip memory)
- ldui r9, #%hi16(_fbdata_start)
- ori r9, r9, #%lo16(_fbdata_start)
- ldui r10, #%hi16(_fbdata_end)
- ori r10, r10, #%lo16(_fbdata_end)
- ldui r11, #%hi16(_fbdata_vma)
- brle r10, r9, .Lnext2
- ori r11, r11, #%lo16(_fbdata_vma)
-.Lcpy1:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy1
- addi r11, r11, #$4
-
-.Lnext2:
- ;; Zero the frame buffer bss section
- ldui r9, #%hi16(_fbbss_start)
- ori r9, r9, #%lo16(_fbbss_start)
- ldui r10, #%hi16(_fbbss_end)
- ori r10, r10, #%lo16(_fbbss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext3
- or r0, r0, r0
-.Lcpy2:
- stw r0, r9, #$0
- addi r9, r9, #$4
- or r0, r0, r0
- brle r9, r10, .Lcpy2
- or r0, r0, r0
-
-.Lnext3:
- ;; Call global and static constructors
- ldui r10, #%hi16(_init)
- ori r10, r10, #%lo16(_init)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Call main
- ldui r10, #%hi16(main)
- ori r10, r10, #%lo16(main)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; DJK - Added 12Nov01. Pass main's return value to exit.
- or r1, r11, r0
-
- ;; Jump to exit
- ldui r10, #%hi16(exit)
- ori r10, r10, #%lo16(exit)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Exit does not return, however, this code is to catch an
- ;; error if it does. Set the processor into sleep mode.
- ori r1, r0, #$1
- stw r1, r0, #%lo16(_DEBUG_HALT_REG)
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
-.Lend:
- jmp .Lend
- or r0, r0, r0
diff --git a/libgloss/mt/crt0-64-001.S b/libgloss/mt/crt0-64-001.S
deleted file mode 100644
index b78e780..0000000
--- a/libgloss/mt/crt0-64-001.S
+++ /dev/null
@@ -1,144 +0,0 @@
-; crt0_2.s - Startup code for the mrisc1. This code initializes the C
-; run-time model.
-;
-; 12Nov01 (DJK) - The return code from main was not being passed to exit().
-; Now it is passed as a parameter in R1.
-;
-; 10Sep01 (DJK) - The function exit() does not return. However, in the
-; the case of device error (if the halt bit does not
-; function properly, for instance), then a catch loop
-; has been added.
-;
-;
-; Copyright 2001, 2002, 2003, 2004 Morpho Technologies, Inc.
-;
-
- ; Create a label for the start of the eh_frame section.
- .section .eh_frame
-__eh_frame_begin:
-
- .equ HALT_REG, 0x300
- .section .text
- .global _start
-_start:
- ;; Initialize the stack pointer
- ldui sp, #%hi16(__stack)
- addui sp, sp, #%lo16(__stack)
- or fp, sp, sp
-
- ;; Copy data from ROM to Frame Buffer (on-chip memory)
- ldui r9, #%hi16(_fbdata_start)
- ori r9, r9, #%lo16(_fbdata_start)
- ldui r10, #%hi16(_fbdata_end)
- ori r10, r10, #%lo16(_fbdata_end)
- ldui r11, #%hi16(__FRAME_BUFFER_START)
- brle r10, r9, .Lnext1
- ori r11, r11, #%lo16(__FRAME_BUFFER_START)
-.Lcpy0:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy0
- addi r11, r11, #$4
-
-.Lnext1:
- ;; Copy data from ROM to External Memory (off-chip memory)
- ldui r9, #%hi16(_extdata_start)
- ori r9, r9, #%lo16(_extdata_start)
- ldui r10, #%hi16(_extdata_end)
- ori r10, r10, #%lo16(_extdata_end)
- ldui r11, #%hi16(__EXTERNAL_MEMORY_START)
- brle r10, r9, .Lnext2
- ori r11, r11, #%lo16(__EXTERNAL_MEMORY_START)
-.Lcpy1:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy1
- addi r11, r11, #$4
-
-
-.Lnext2:
- ;; Zero the bss space
- ldui r9, #%hi16(__bss_start)
- addui r9, r9, #%lo16(__bss_start)
- ldui r10, #%hi16(__bss_end)
- addui r10, r10, #%lo16(__bss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext3
- or r0, r0, r0
-.Lcpy2:
- stw r0, r9, #0
- addi r9, r9, #4
- or r0, r0, r0 ; nop
- brle r9, r10, .Lcpy2
- or r0, r0, r0 ; nop
-
-.Lnext3:
- ;; Zero the external memory bss section
- ldui r9, #%hi16(_extbss_start)
- ori r9, r9, #%lo16(_extbss_start)
- ldui r10, #%hi16(_extbss_end)
- ori r10, r10, #%lo16(_extbss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext4
- or r0, r0, r0
-.Lcpy3:
- stw r0, r9, #$0
- addi r9, r9, #$4
- or r0, r0, r0
- brle r9, r10, .Lcpy3
- or r0, r0, r0
-
-.Lnext4:
- ;; Call global and static constructors
- ldui r10, #%hi16(_init)
- ori r10, r10, #%lo16(_init)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Setup destructors to be called from exit.
- ;; (Just in case main never returns....)
- ldui r10, #%hi16(atexit)
- ori r10, r10, #%lo16(atexit)
- ldui r1, #%hi16(_fini)
- ori r1, r1, #%lo16(_fini)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Initialise argc, argv and envp to empty
- addi r1, r0, #0
- addi r2, r0, #0
- addi r3, r0, #0
-
- ;; Call main
- ldui r10, #%hi16(main)
- ori r10, r10, #%lo16(main)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; DJK - Added 12Nov01. Pass main's return value to exit.
- or r1, r11, r0
-
- ;; Jump to exit
- ldui r10, #%hi16(exit)
- ori r10, r10, #%lo16(exit)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Exit does not return, however, this code is to catch an
- ;; error if it does. Set the processor into sleep mode.
- ori r1, r0, #$1
- stw r1, r0, #HALT_REG
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
-.Lend:
- jmp .Lend
- or r0, r0, r0
diff --git a/libgloss/mt/crt0-ms2.S b/libgloss/mt/crt0-ms2.S
deleted file mode 100644
index 2efaebd..0000000
--- a/libgloss/mt/crt0-ms2.S
+++ /dev/null
@@ -1,121 +0,0 @@
-; crt0.s - Startup code for the ms2. This code initializes the C
-; run-time model.
-;
-;
-; Copyright 2001, 2002, 2003, 2004 Morpho Technologies
-;
-
- ; Create a label for the start of the eh_frame section.
- .section .eh_frame
-__eh_frame_begin:
-
- .text
- .global _start
-_start:
- ;; Initialize the stack pointer
- ldui sp, #%hi16(__stack)
- addui sp, sp, #%lo16(__stack)
- or fp, sp, sp
- ;; Zero the bss space
- ldui r9, #%hi16(__bss_start)
- addui r9, r9, #%lo16(__bss_start)
- ldui r10, #%hi16(__bss_end)
- addui r10, r10, #%lo16(__bss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext1
- or r0, r0, r0
-.Lcpy0:
- stw r0, r9, #0
- addi r9, r9, #4
- or r0, r0, r0 ; nop
- brle r9, r10, .Lcpy0
- or r0, r0, r0 ; nop
-
-.Lnext1:
- ;; Copy data from ROM to Frame Buffer (on-chip memory)
- ldui r9, #%hi16(_fbdata_start)
- ori r9, r9, #%lo16(_fbdata_start)
- ldui r10, #%hi16(_fbdata_end)
- ori r10, r10, #%lo16(_fbdata_end)
- ldui r11, #%hi16(_fbdata_vma)
- brle r10, r9, .Lnext2
- ori r11, r11, #%lo16(_fbdata_vma)
-.Lcpy1:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy1
- addi r11, r11, #$4
-
-.Lnext2:
- ;; Zero the frame buffer bss section
- ldui r9, #%hi16(_fbbss_start)
- ori r9, r9, #%lo16(_fbbss_start)
- ldui r10, #%hi16(_fbbss_end)
- ori r10, r10, #%lo16(_fbbss_end)
- or r0, r0, r0
- brle r10, r9, .Lnext3
- or r0, r0, r0
-.Lcpy2:
- stw r0, r9, #$0
- addi r9, r9, #$4
- or r0, r0, r0
- brle r9, r10, .Lcpy2
- or r0, r0, r0
-
-.Lnext3:
- ;; Copy data from ROM to SRAM (another on-chip memory)
- ldui r9, #%hi16(_sram_data_start)
- ori r9, r9, #%lo16(_sram_data_start)
- ldui r10, #%hi16(_sram_data_end)
- ori r10, r10, #%lo16(_sram_data_end)
- ldui r11, #%hi16(_sram_data_vma)
- brle r10, r9, .Lnext4
- ori r11, r11, #%lo16(_sram_data_vma)
-.Lcpy3:
- ldw r5, r9, #$0
- addi r9, r9, #$4
- stw r5, r11, #$0
- brlt r9, r10, .Lcpy3
- addi r11, r11, #$4
-
-.Lnext4:
- ;; Call global and static constructors
- ldui r10, #%hi16(_init)
- ori r10, r10, #%lo16(_init)
- or r0, r0, r0 ; nop
- or r0, r0, r0 ; nop, added 06Sep05
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Call main
- ldui r10, #%hi16(main)
- ori r10, r10, #%lo16(main)
- or r0, r0, r0 ; nop
- or r0, r0, r0 ; nop, added 06Sep05
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; DJK - Added 12Nov01. Pass main's return value to exit.
- or r1, r11, r0
-
- ;; Jump to exit
- ldui r10, #%hi16(exit)
- ori r10, r10, #%lo16(exit)
- or r0, r0, r0 ; nop
- or r0, r0, r0 ; nop, added 06Sep05
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Exit does not return, however, this code is to catch an
- ;; error if it does. Set the processor into sleep mode.
- ori r1, r0, #$1
- stw r1, r0, #%lo16(_DEBUG_HALT_REG)
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
-.Lend:
- jmp .Lend
- or r0, r0, r0
diff --git a/libgloss/mt/crt0.S b/libgloss/mt/crt0.S
deleted file mode 100644
index ba5249e..0000000
--- a/libgloss/mt/crt0.S
+++ /dev/null
@@ -1,63 +0,0 @@
-# Startup Code for the Morpho mt
-
-# Create a label for the start of the eh_frame section.
- .section .eh_frame
-__eh_frame_begin:
-
- .section .text
- .global _start
-_start:
-
- ;; Initialise the stack pointer
- ldui sp, #%hi16(__stack)
- addui sp, sp, #%lo16(__stack)
- or fp, sp, sp
-
- ;; Zero the data space
- ldui r9, #%hi16(_edata)
- addui r9, r9, #%lo16(_edata)
- ldui r10, #%hi16(_end)
- addui r10, r10, #%lo16(_end)
- addi r5, r0, #0
-
-.L0:
- stw r5, r9, #0
- addi r9, r9, #4
- or r0, r0, r0 ; nop
- brle r9, r10, .L0
- or r0, r0, r0 ; nop
-
- ;; Call global and static constructors
- ldui r10, #%hi16(_init)
- addui r10, r10, #%lo16(_init)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
- ;; Setup destructors to be called from exit.
- ;; (Just in case main never returns....)
- ldui r10, #%hi16(atexit)
- addui r10, r10, #%lo16(atexit)
- ldui r1, #%hi16(_fini)
- addui r1, r1, #%lo16(_fini)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Initialise argc, argv and envp to empty
- addi r1, r0, #0
- addi r2, r0, #0
- addi r3, r0, #0
-
- ;; Call main
- ldui r10, #%hi16(main)
- addui r10, r10, #%lo16(main)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
-
- ;; Jump to exit
- ldui r10, #%hi16(exit)
- addui r10, r10, #%lo16(exit)
- or r0, r0, r0 ; nop
- jal r14, r10
- or r0, r0, r0 ; nop
diff --git a/libgloss/mt/exit-16-002.c b/libgloss/mt/exit-16-002.c
deleted file mode 100644
index ba048d9..0000000
--- a/libgloss/mt/exit-16-002.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-
-void _exit (n)
-{
- /* Set bit #0 in the _DEBUG_HALT_REG to trigger program exit to
- the simulator. (The simulator will return a SIGQUIT signal.) */
- asm("ori r1, r0, #$1\n");
- asm("stw r1, r0, #$fffff300\n");
-}
diff --git a/libgloss/mt/exit-16-003.c b/libgloss/mt/exit-16-003.c
deleted file mode 100644
index ba048d9..0000000
--- a/libgloss/mt/exit-16-003.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-
-void _exit (n)
-{
- /* Set bit #0 in the _DEBUG_HALT_REG to trigger program exit to
- the simulator. (The simulator will return a SIGQUIT signal.) */
- asm("ori r1, r0, #$1\n");
- asm("stw r1, r0, #$fffff300\n");
-}
diff --git a/libgloss/mt/exit-64-001.c b/libgloss/mt/exit-64-001.c
deleted file mode 100644
index 97c7b8c..0000000
--- a/libgloss/mt/exit-64-001.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-
-void _exit (n)
-{
- /* Set bit #0 in the _DEBUG_HALT_REG to trigger program exit to
- the simulator. (The simulator will return a SIGQUIT signal.) */
- asm("ori r1, r0, #$1\n");
- asm("stw r1, r0, #$300\n");
-}
diff --git a/libgloss/mt/exit-ms2.c b/libgloss/mt/exit-ms2.c
deleted file mode 100644
index 93a3f85..0000000
--- a/libgloss/mt/exit-ms2.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-
-void _exit (n)
-{
- // Set bit #0 in the _DEBUG_HALT_REG to trigger program exit to
- // the simulator. (The simulator will return a SIGQUIT signal.)
- asm("ori r1, r0, #$1\n");
- asm("stw r1, r0, #$fffff300\n");
-} // exit
diff --git a/libgloss/mt/exit.c b/libgloss/mt/exit.c
deleted file mode 100644
index cc7983b..0000000
--- a/libgloss/mt/exit.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-void _exit (n)
-{
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/mt/fstat.c b/libgloss/mt/fstat.c
deleted file mode 100644
index 1d7d2dc..0000000
--- a/libgloss/mt/fstat.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-fstat (int file,
- struct stat *st)
-{
- st->st_mode = S_IFCHR;
- st->st_blksize = 4096;
- return 0;
-}
diff --git a/libgloss/mt/getpid.c b/libgloss/mt/getpid.c
deleted file mode 100644
index 8d686b8..0000000
--- a/libgloss/mt/getpid.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-getpid (n)
-{
- return 1;
-}
diff --git a/libgloss/mt/gettime.c b/libgloss/mt/gettime.c
deleted file mode 100644
index 1a04267..0000000
--- a/libgloss/mt/gettime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/time.h"
-
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}
diff --git a/libgloss/mt/isatty.c b/libgloss/mt/isatty.c
deleted file mode 100644
index 0930a53..0000000
--- a/libgloss/mt/isatty.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/mt/kill.c b/libgloss/mt/kill.c
deleted file mode 100644
index e8ea437..0000000
--- a/libgloss/mt/kill.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-kill (n, m)
-{
- return TRAP0 (SYS_exit, 0xdead, 0, 0);
-}
-
diff --git a/libgloss/mt/lseek.c b/libgloss/mt/lseek.c
deleted file mode 100644
index 7839091..0000000
--- a/libgloss/mt/lseek.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/unistd.h>
-#include "trap.h"
-
-
-off_t
-lseek (int file,
- off_t ptr,
- int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/mt/ms2.ld b/libgloss/mt/ms2.ld
deleted file mode 100644
index 3dac307..0000000
--- a/libgloss/mt/ms2.ld
+++ /dev/null
@@ -1,271 +0,0 @@
-OUTPUT_FORMAT("elf32-mt", "elf32-mt", "elf32-mt")
-OUTPUT_ARCH(mt)
-ENTRY(__boot_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x0, LENGTH = 16M
- sram (wx) : ORIGIN = 0xfef00000, LENGTH = 64K
- frame-buffer (w) : ORIGIN = 0xff000000, LENGTH = 80K
- dma-ram (w) : ORIGIN = 0x1000000, LENGTH = 32M
- ports (w) : ORIGIN = 0xfffff000, LENGTH = 4K
-}
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x0;
- PROVIDE(__executable_start = 0x0);
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
- .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
- .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) }
- .rel.data.rel.ro : { *(.rel.data.rel.ro*) }
- .rela.data.rel.ro : { *(.rela.data.rel.ro*) }
- .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
- .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
- .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
- .rela.tdata : { *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*) }
- .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
- .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) }
- .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) }
- .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) }
- .rela.sbss : { *(.rela.sbss .rela.sbss.* .rel.gnu.linkonce.sb.*) }
- .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) }
- .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) }
- .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) }
- .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
- .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
- .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
- .startup : { *startup-16-003.o(.startup) } >ram =0
- . = 0x40;
-
- .init : { KEEP (*(.init)) } >ram =0
- .plt : { *(.plt) } >ram
- .text :
- {
- *startup-16-004.o(.text);
- *(.text .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } >ram =0
- .fini : { KEEP (*(.fini)) } >ram =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } >ram
- .rodata1 : { *(.rodata1) } >ram
- .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } >ram
- .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } >ram
- .eh_frame_hdr : { *(.eh_frame_hdr) } >ram
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. */
- . = ALIGN(256) + (. & (256 - 1));
- /* Exception handling */
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) } >ram
- .gcc_except_table : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } >ram
- /* Thread Local Storage sections */
- .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } >ram
- .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } >ram
- /* Ensure the __preinit_array_start label is properly aligned. We
- could instead move the label definition inside the section, but
- the linker would then create the section even if it turns out to
- be empty, which isn't pretty. */
- . = ALIGN(32 / 8);
- PROVIDE (__preinit_array_start = .);
- .preinit_array : { *(.preinit_array) } >ram
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- .init_array : { *(.init_array) } >ram
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- .fini_array : { *(.fini_array) } >ram
- PROVIDE (__fini_array_end = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } >ram
- .dtors :
- {
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } >ram
- .jcr : { KEEP (*(.jcr)) } >ram
- .data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) } >ram
- .dynamic : { *(.dynamic) } >ram
-
- /* DJK - Re-align the data section from the read-only section. */
- . = ALIGN(16) + (. & (16 - 1));
- PROVIDE (_data = .);
- .data :
- {
- *(.data .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- } >ram
- .data1 : { *(.data1) } >ram
- .got : { *(.got.plt) *(.got) } >ram
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) } >ram
- _edata = .;
- PROVIDE ( edata = . );
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- PROVIDE (___sbss_start = .);
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- PROVIDE (___sbss_end = .);
- } >ram
- .bss :
- {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
- } >ram
- . = ALIGN(32 / 8);
- __bss_start = ADDR ( .sbss ) ;
- __bss_end = __bss_start + SIZEOF ( .sbss ) + SIZEOF ( .bss ) - 4 ;
- _end = .;
- PROVIDE (end = .);
-
- /* DJK - Initialized frame buffer data is copied from RAM to FB. */
- .auxbss : AT (ADDR(.bss) + SIZEOF(.bss)) { *(.auxbss) } >frame-buffer
- .auxdata : AT (LOADADDR(.auxbss) + SIZEOF(.auxbss))
- {
- *(.auxdata.bank0)
- . = ALIGN(0x4000);
- *(.auxdata.bank1)
- . = ALIGN(0x4000);
- *(.auxdata.bank2)
- . = ALIGN(0x4000);
- *(.auxdata.bank3)
- . = ALIGN(0x4000);
- *(.auxdata.bank4)
- *(.auxdata)
- } >frame-buffer
-
- _fbbss_start = ADDR ( .auxbss );
- _fbbss_end = _fbbss_start + SIZEOF ( .auxbss ) - 4;
- _fbdata_start = LOADADDR ( .auxdata );
- _fbdata_end = _fbdata_start + SIZEOF ( .auxdata ) ;
- _fbdata_vma = ADDR ( .auxdata );
-
- PROVIDE (__FRAME_BUFFER_START = ADDR(.auxbss) );
- PROVIDE (__FRAME_BUFFER_SIZE = 0x14000);
- PROVIDE (__FRAME_BUFFER_END = __FRAME_BUFFER_START + __FRAME_BUFFER_SIZE);
-
- /* For now, locate data ahead of code in onchip sram/memory. */
- .sram : AT (LOADADDR(.auxdata) + SIZEOF(.auxdata))
- {
- *(.sram.data)
- . = ALIGN(4) ; /* Make sure that instructions are aligned... */
- *(.sram.text)
- } >sram
-
- _sram_data_start = LOADADDR ( .sram );
- _sram_data_end = _sram_data_start + SIZEOF ( .sram ) ;
- _sram_data_vma = ADDR ( .sram );
-
- .dma : { _dma_start = .; *(.dma) _dma_end = .; } >dma-ram
- .internal_io (NOLOAD) : { *(.internal_io) } >ports
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-
- /* In a multi-core environment, each core is given its own stack space
- equal to __stack_size, growing downwards. */
- PROVIDE (__stack = 0x97ff0);
- PROVIDE (__stack_size = 0x800);
-
- .stack (DEFINED(__stack) ? __stack : 0x007ffff0) :
- {
- __stack = .;
- *(.stack)
- LONG(0xdeaddead)
- }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/mt/open.c b/libgloss/mt/open.c
deleted file mode 100644
index d727bdd..0000000
--- a/libgloss/mt/open.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-open (const char *path, int flags, int mode)
-{
- return TRAP0 (SYS_open, path, flags, mode);
-}
diff --git a/libgloss/mt/read.c b/libgloss/mt/read.c
deleted file mode 100644
index e7f37fa..0000000
--- a/libgloss/mt/read.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-read (int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/mt/sbrk.c b/libgloss/mt/sbrk.c
deleted file mode 100644
index 1f959c0..0000000
--- a/libgloss/mt/sbrk.c
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-caddr_t
-sbrk (size_t incr)
-{
- extern char end; /* Defined by the linker */
- static char *heap_end;
- char *prev_heap_end;
-
- char *sp = (char *) &sp;
-
- if (heap_end == 0)
- {
- heap_end = &end;
- }
- prev_heap_end = heap_end;
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/mt/startup-16-002.S b/libgloss/mt/startup-16-002.S
deleted file mode 100644
index d1732d6..0000000
--- a/libgloss/mt/startup-16-002.S
+++ /dev/null
@@ -1,628 +0,0 @@
-/*
- * interrupt_vectors.s -- the interrupt handler jump table.
- *
- *
- * There are a total of 32 interrupt vector possible, however, only
- * 11 of those are currently used (the others are reserved). The
- * order of vectors is as follows:
- *
- * 1. Boot Vector. Vector for power-on/reset.
- * 2. Software Vector. Vector for handling the SI instruction (an
- * explicit interrupt caused by software).
- * 3. Break Vector. Vector for handling the Break instruction.
- * 4. Device 0 Vector. Service vector for device zero.
- * 5. Device 1 Vector. Service vector for device one.
- * 6. Device 2 Vector. Service vector for device two.
- * 7. Device 3 Vector. Service vector for device three.
- * 8. Device 4 Vector. Service vector for device four.
- * 9. Device 5 Vector. Service vector for device five.
- * 10. Device 6 Vector. Service vector for device six.
- * 11. Device 7 Vector. Service vector for device seven.
- *
- * The rest of the interrupt vectors are reserved for future use.
- *
- *
- * Each jump table entry consists of the following two instructions:
- *
- * jmp Label ; Label as appropriate
- * nop ; implemented as or r0,r0,r0
- *
- * The following labels are reserved for the vectors named above,
- * respectively:
- *
- * _BOOTIVEC, _SOFTIVEC, _BRKIVEC, _DEV0IVEC, _DEV1IVEC, _DEV2IVEC,
- * _DEV3IVEC, _DEV4IVEC, _DEV5IVEC, _DEV6IVEC, _DEV7IVEC
- *
- *
- *
- * Copyright (c) 2001, 2002, 2003, 2004 Morpho Technologies
- *
- */
-
- .section .startup, "a", @progbits
- .global __boot_start
-__boot_start:
-_INTERRUPT_VECTOR_TABLE:
- jmp _BOOTIVEC ; Boot vector
- or r0, r0, r0
- jmp _SOFTIVEC ; Vector for SI instruction
- or r0,r0,r0
- jmp _BRKIVEC ; Vector for Break instruction
- or r0,r0,r0
- ; The illegal instruction trap is not implemented.
-_RESERVED1_IVEC:
- jmp _RESERVED1_IVEC ; Vector for illegal instruction
- or r0,r0,r0
- jmp _OVFIVEC ; Vector for overflow exception
- or r0,r0,r0
-_RESERVED2_IVEC:
- jmp _RESERVED2_IVEC
- or r0,r0,r0
-_RESERVED3_IVEC:
- jmp _RESERVED3_IVEC
- or r0,r0,r0
-_RESERVED4_IVEC:
- jmp _RESERVED4_IVEC
- or r0,r0,r0
-
- .text
-
- .equ SI_IOPORT_ADR, _DEBUG_SW_SYSREQ_REG
- .equ SI_IOPORT_BIT, 0x1
- .equ BRK_IOPORT_ADR, _DEBUG_BREAK_REG
- .equ BRK_IOPORT_BIT, 0x1
-
- .global _BOOTIVEC
-_BOOTIVEC:
- ; Initialize the interrupt controller's interrupt vector registers
- ldui r1, #%hi16(_IVEC_DEFAULT)
- ori r1, r1, #%lo16(_IVEC_DEFAULT)
- stw r1, r0, #%lo16(_DEV0_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV1_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV2_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV3_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV4_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV5_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV6_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV7_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV8_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV9_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV10_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV11_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV12_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV13_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV14_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV15_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV16_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV17_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV18_INTERRUPT_REG)
-
- ; Statically initialized data must be copied from ROM to RAM.
- ; This is done in the C run-time start-up code (crt0.o).
-
- ; Jump to the beginning of the application and enable interrupts.
- jmp _start
- ei
-
-
-
- ; Handler for the SI instruction. To perform a system call, the
- ; C model uses a trapping mechanism which executes an SI instruction.
- ; The Morpho Technologies simulator simply performs a branch to
- ; this vector to simulate the SI instruction (this is as the hardware
- ; behaves). In order to trigger the simulator that a system call
- ; is needed a write into the I/O register at address $40005 to
- ; set bit #2 (0x4) is necessary.
- ;
- ; The above address has been changed to 0x00031C and the bit number
- ; is zero. (The manifest constants have been changed to reflect this.)
- .global _SOFTIVEC
-_SOFTIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(SI_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(SI_IOPORT_ADR)
- ori r10, r0, #SI_IOPORT_BIT
- stw r10, r9, #$0
- or r0, r0, r0 ; SYS_call is handled by simulator here...
- ldw r10, sp, #$0
- or r0, r0, r0
- ldw r9, sp, #$4
- reti r14
- addi sp, sp, #$8
-
-
-
- ; Handler for BREAK instruction. This handler triggers the simulator
- ; to send a SIGTRAP signal to gdb by writing to the I/O register at
- ; address $40005, setting bit #0 (0x1).
- ;
- ; The above address has been changed to 0x000304 and the bit number
- ; is zero. (The manifest constants have been changed to reflect this.)
- .global _BRKIVEC
-_BRKIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(BRK_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(BRK_IOPORT_ADR)
- ori r10, r0, #BRK_IOPORT_BIT
- stw r10, r9, #$0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- ldw r10, sp, #$0
- ldw r9, sp, #$4
- reti r15
- addi sp, sp, #$8
-
-
- ; The documentation is lacking in the specification of the Overflow
- ; Exception generation. The address of the instruction causing the
- ; overflow is placed into R15 and the overflow exception interrupt
- ; is triggered. So, to continue execution, return to the address
- ; of the next instruction (i.e., R15 + one instruction).
-_OVFIVEC:
- addi r15, r15, #$4
- or r0, r0, r0
- reti r15
- or r0, r0, r0
-
-
- .global _IVEC_DEFAULT
-_IVEC_DEFAULT:
- reti r15
- or r0, r0, r0
-
-
- .section .internal_io, "a", @nobits
- .fill 256 ; Fill the first page.
-
- ; This is the memory-mapped I/O region.
-
- ; Hardware Interrupt Registers
- ;.org 0xfff100
- .global _DEV0_INTERRUPT_REG
-_DEV0_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_REG
-_DEV1_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_REG
-_DEV2_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_REG
-_DEV3_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_REG
-_DEV4_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_REG
-_DEV5_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_REG
-_DEV6_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_REG
-_DEV7_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV8_INTERRUPT_REG
-_DEV8_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV9_INTERRUPT_REG
-_DEV9_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV10_INTERRUPT_REG
-_DEV10_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV11_INTERRUPT_REG
-_DEV11_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV12_INTERRUPT_REG
-_DEV12_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV13_INTERRUPT_REG
-_DEV13_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV14_INTERRUPT_REG
-_DEV14_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV15_INTERRUPT_REG
-_DEV15_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV16_INTERRUPT_REG
-_DEV16_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV17_INTERRUPT_REG
-_DEV17_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV18_INTERRUPT_REG
-_DEV18_INTERRUPT_REG:
- .word 0x00000000
-
- ; 128 bytes minus ten registers (four bytes per register)
- .fill (128 - 19 * 4)
-
- .global _INTERRUPT_MASK_REG
-_INTERRUPT_MASK_REG:
- .word 0x00000000
-
- ; 128 bytes minus one register (four bytes per register)
- .fill (128 - 1 * 4)
-
-
- ;.org 0xfff200
- ; MorphoSys Decoder Registers
- .global _MS_DEC_CIRC_BUFF_SEL_REG
-_MS_DEC_CIRC_BUFF_SEL_REG:
- .word 0x00000000
-
- .global _MS_DEC_SKIP_FACTOR_REG
-_MS_DEC_SKIP_FACTOR_REG:
- .word 0x00000000
-
- .global _MS_DEC_CUSTOM_PERM_REG
-_MS_DEC_CUSTOM_PERM_REG:
- .word 0x00000000
-
- .global _MS_DEC_CTXT_BASE_REG
-_MS_DEC_CTXT_BASE_REG:
- .word 0x00000000
-
- .global _MS_DEC_LOOKUP_TBL_REG
-_MS_DEC_LOOKUP_TBL_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF0_END_REG
-_MS_CIRC_BUFF0_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF0_SIZE_REG
-_MS_CIRC_BUFF0_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK0_END_REG
-_MS_DATA_BLK0_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK0_SIZE_REG
-_MS_DATA_BLK0_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF1_END_REG
-_MS_CIRC_BUFF1_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF1_SIZE_REG
-_MS_CIRC_BUFF1_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK1_END_REG
-_MS_DATA_BLK1_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK1_SIZE_REG
-_MS_DATA_BLK1_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF2_END_REG
-_MS_CIRC_BUFF2_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF2_SIZE_REG
-_MS_CIRC_BUFF2_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK2_END_REG
-_MS_DATA_BLK2_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK2_SIZE_REG
-_MS_DATA_BLK2_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF3_END_REG
-_MS_CIRC_BUFF3_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF3_SIZE_REG
-_MS_CIRC_BUFF3_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK3_END_REG
-_MS_DATA_BLK3_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK3_SIZE_REG
-_MS_DATA_BLK3_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF4_END_REG
-_MS_CIRC_BUFF4_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF4_SIZE_REG
-_MS_CIRC_BUFF4_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK4_END_REG
-_MS_DATA_BLK4_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK4_SIZE_REG
-_MS_DATA_BLK4_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF5_END_REG
-_MS_CIRC_BUFF5_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF5_SIZE_REG
-_MS_CIRC_BUFF5_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK5_END_REG
-_MS_DATA_BLK5_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK5_SIZE_REG
-_MS_DATA_BLK5_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF6_END_REG
-_MS_CIRC_BUFF6_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF6_SIZE_REG
-_MS_CIRC_BUFF6_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK6_END_REG
-_MS_DATA_BLK6_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK6_SIZE_REG
-_MS_DATA_BLK6_SIZE_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF7_END_REG
-_MS_CIRC_BUFF7_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF7_SIZE_REG
-_MS_CIRC_BUFF7_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLK7_END_REG
-_MS_DATA_BLK7_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLK7_SIZE_REG
-_MS_DATA_BLK7_SIZE_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC0_REG
-_MS_DEC_AUTO_INC0_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC1_REG
-_MS_DEC_AUTO_INC1_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC2_REG
-_MS_DEC_AUTO_INC2_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC3_REG
-_MS_DEC_AUTO_INC3_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC4_REG
-_MS_DEC_AUTO_INC4_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC5_REG
-_MS_DEC_AUTO_INC5_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC6_REG
-_MS_DEC_AUTO_INC6_REG:
- .word 0x00000000
-
- .global _MS_DEC_AUTO_INC7_REG
-_MS_DEC_AUTO_INC7_REG:
- .word 0x00000000
-
-
- ; 256 bytes minus forty-five registers (four bytes per register)
- .fill (256 - 45 * 4)
-
-
-
- ;.org 0xfff300
- ; Debug Registers
- .global _DEBUG_HALT_REG
-_DEBUG_HALT_REG:
- .word 0x00000000
-
- .global _DEBUG_BREAK_REG
-_DEBUG_BREAK_REG:
- .word 0x00000000
-
- ; There are five reserved registers.
- .fill (5 * 4)
-
- .global _DEBUG_SW_SYSREQ_REG
-_DEBUG_SW_SYSREQ_REG:
- .word 0x00000000
-
- ; 256 bytes minus eight registers (four bytes per register)
- .fill (256 - 8 * 4)
-
-
-
- ;.org 0xfff400
- ; Sequence Generator Registers
- .global _SEQ_GEN_CTRL_REG
-_SEQ_GEN_CTRL_REG:
- .word 0x00000000
-
- .global _SEQ_GEN_MASK_REGS
-_SEQ_GEN_MASK_REGS:
- ; The mask registers consume two pages (less one control register).
- ; 512 bytes minus one register (four bytes per register).
- .fill (256 + 256 - 1 * 4)
-
-
-
- ;.org 0xfff600
- ; Timer Registers
- .global _TIMER0_VAL_REG
-_TIMER0_VAL_REG:
- .word 0x00000000
-
- .global _TIMER1_VAL_REG
-_TIMER1_VAL_REG:
- .word 0x00000000
-
- .global _TIMER2_VAL_REG
-_TIMER2_VAL_REG:
- .word 0x00000000
-
- .global _TIMER3_VAL_REG
-_TIMER3_VAL_REG:
- .word 0x00000000
-
- ; 256 bytes minus four registers (four bytes per register)
- .fill (256 - 4 * 4)
-
-
-
- ;.org 0xfff700
- ; Output Line Control Registers
- .global _OUTPUT0_CTRL
-_OUTPUT0_CTRL:
- .word 0x00000000
-
- .global _OUTPUT1_CTRL
-_OUTPUT1_CTRL:
- .word 0x00000000
-
- .global _OUTPUT2_CTRL
-_OUTPUT2_CTRL:
- .word 0x00000000
-
- .global _OUTPUT3_CTRL
-_OUTPUT3_CTRL:
- .word 0x00000000
-
- .global _OUTPUT4_CTRL
-_OUTPUT4_CTRL:
- .word 0x00000000
-
- .global _OUTPUT5_CTRL
-_OUTPUT5_CTRL:
- .word 0x00000000
-
- .global _OUTPUT6_CTRL
-_OUTPUT6_CTRL:
- .word 0x00000000
-
- .global _OUTPUT7_CTRL
-_OUTPUT7_CTRL:
- .word 0x00000000
-
- .global _OUTPUT8_CTRL
-_OUTPUT8_CTRL:
- .word 0x00000000
-
- .global _OUTPUT9_CTRL
-_OUTPUT9_CTRL:
- .word 0x00000000
-
- .global _OUTPUT10_CTRL
-_OUTPUT10_CTRL:
- .word 0x00000000
-
- ;; 128 bytes minus eleven registers (four bytes per register)
- ;.fill (128 - 11 * 4)
-
- .global _INPUT0_CTRL
-_INPUT0_CTRL:
- .word 0x00000000
-
- ;; 128 bytes minus one register (four bytes per register)
- ;.fill (128 - 1 * 4)
- ; 256 bytes minus twelve registers (four bytes per register)
- .fill (256 - 12 * 4)
-
-
-
- ;.org 0xfff800
- ; IQ Buffer Registers
- .global _IQ_BUFF_CTRL_REG
-_IQ_BUFF_CTRL_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER1_REG
-_IQ_BUFF_PARAMETER1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_DATA_SIZE1_REG
-_IQ_BUFF_DATA_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE1_REG
-_IQ_BUFF_TRANSFER_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_ADDR1_REG
-_IQ_BUFF_FB_ADDR1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER2_REG
-_IQ_BUFF_PARAMETER2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_DATA_SIZE2_REG
-_IQ_BUFF_DATA_SIZE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE2_REG
-_IQ_BUFF_TRANSFER_SIZE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_ADDR2_REG
-_IQ_BUFF_FB_ADDR2_REG:
- .word 0x00000000
-
- ; 256 bytes minus nine registers (four bytes per register)
- .fill (256 - 9 * 4)
-
-
- ;.org 0xfff900
- ; Reserved memory-mapped space.
- .fill (0x1000 - 0x900)
diff --git a/libgloss/mt/startup-16-003.S b/libgloss/mt/startup-16-003.S
deleted file mode 100644
index 9fe23b9..0000000
--- a/libgloss/mt/startup-16-003.S
+++ /dev/null
@@ -1,838 +0,0 @@
-/*
- * $Header$
- *
- * interrupt_vectors.s -- the interrupt handler jump table.
- *
- *
- * There are a total of 32 interrupt vector possible, however, only
- * 11 of those are currently used (the others are reserved). The
- * order of vectors is as follows:
- *
- * 1. Boot Vector. Vector for power-on/reset.
- * 2. Software Vector. Vector for handling the SI instruction (an
- * explicit interrupt caused by software).
- * 3. Break Vector. Vector for handling the Break instruction.
- * 4. Device 0 Vector. Service vector for device zero.
- * 5. Device 1 Vector. Service vector for device one.
- * 6. Device 2 Vector. Service vector for device two.
- * 7. Device 3 Vector. Service vector for device three.
- * 8. Device 4 Vector. Service vector for device four.
- * 9. Device 5 Vector. Service vector for device five.
- * 10. Device 6 Vector. Service vector for device six.
- * 11. Device 7 Vector. Service vector for device seven.
- *
- * The rest of the interrupt vectors are reserved for future use.
- *
- *
- * Each jump table entry consists of the following two instructions:
- *
- * jmp Label ; Label as appropriate
- * nop ; implemented as or r0,r0,r0
- *
- * The following labels are reserved for the vectors named above,
- * respectively:
- *
- * _BOOTIVEC, _SOFTIVEC, _BRKIVEC, _DEV0IVEC, _DEV1IVEC, _DEV2IVEC,
- * _DEV3IVEC, _DEV4IVEC, _DEV5IVEC, _DEV6IVEC, _DEV7IVEC
- *
- * 09Jan04 (DJK) Modified internal I/O port definitions for the
- * MS1-16-003.
- *
- * 10Oct01 (DJK) The memory map is finalized and the first 4K of address
- * space is now reserved for memory-mapped I/O devices.
- * (There is over 2K unused, reserved space in this area.)
- *
- * 26Sep01 (DJK) The memory map is changed and the device interrupts are
- * now memory-mapped.
- *
- *
- *
- * Copyright (c) 2001, 2002, 2003, 2004 Morpho Technologies
- *
- */
-
- .section .startup, "a", @progbits
- .global __boot_start
-__boot_start:
-_INTERRUPT_VECTOR_TABLE:
- jmp _BOOTIVEC ; Boot vector
- or r0, r0, r0
- jmp _SOFTIVEC ; Vector for SI instruction
- or r0,r0,r0
- jmp _BRKIVEC ; Vector for Break instruction
- or r0,r0,r0
- ; The illegal instruction trap is not implemented.
- ;jmp _ILLIVEC ; Vector for illegal instruction
- or r0,r0,r0
- or r0,r0,r0
-_RESERVED1_IVEC:
- jmp _RESERVED1_IVEC
- or r0,r0,r0
-_RESERVED2_IVEC:
- jmp _RESERVED2_IVEC
- or r0,r0,r0
-_RESERVED3_IVEC:
- jmp _RESERVED3_IVEC
- or r0,r0,r0
-_RESERVED4_IVEC:
- jmp _RESERVED4_IVEC
- or r0,r0,r0
-
-
- .text
-
- .equ SI_IOPORT_ADR, _DEBUG_SW_SYSREQ_REG
- .equ SI_IOPORT_BIT, 0x1
- .equ BRK_IOPORT_ADR, _DEBUG_BREAK_REG
- .equ BRK_IOPORT_BIT, 0x1
-
- .global _BOOTIVEC
-_BOOTIVEC:
- ; Initialize the interrupt controller's interrupt vector registers
- ldui r1, #%hi16(_IVEC_DEFAULT)
- ori r1, r1, #%lo16(_IVEC_DEFAULT)
- stw r1, r0, #%lo16(_DEV0_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV1_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV2_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV3_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV4_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV5_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV6_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV7_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV8_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV9_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV10_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV11_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV12_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV13_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV14_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV15_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV16_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV17_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV18_INTERRUPT_REG)
-
- ; Statically initialized data must be copied from ROM to RAM.
- ; This is done in the C run-time start-up code (crt0.o).
-
- ; Jump to the beginning of the application and enable interrupts.
- jmp _start
- ei
-
-
- ; Handler for the SI instruction. To perform a system call, the
- ; C model uses a trapping mechanism which executes an SI instruction.
- ; The Morpho Technologies simulator simply performs a branch to
- ; this vector to simulate the SI instruction (this is as the hardware
- ; behaves). In order to trigger the simulator that a system call
- ; is needed a write into the I/O register at address $40005 to
- ; set bit #2 (0x4) is necessary.
- ;
- ; The above address has been changed to 0x00031C and the bit number
- ; is zero. (The manifest constants have been changed to reflect this.)
- .global _SOFTIVEC
-_SOFTIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(SI_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(SI_IOPORT_ADR)
- ori r10, r0, #SI_IOPORT_BIT
- stw r10, r9, #$0
- ; SYS_call is handled by simulator here...
- or r0, r0, r0
- ldw r10, sp, #$0
- or r0, r0, r0
- ldw r9, sp, #$4
- reti r14
- addi sp, sp, #$8
-
-
-
- .global _BRKIVEC
-_BRKIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(BRK_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(BRK_IOPORT_ADR)
- ori r10, r0, #BRK_IOPORT_BIT
- stw r10, r9, #$0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- ldw r10, sp, #$0
- ldw r9, sp, #$4
- reti r15
- addi sp, sp, #$8
-
-
-.if 0
- ; Handler for illegal instruction.
- .global _ILLIVEC
-_ILLIVEC:
- reti r15
- or r0, r0, r0
-.endif
-
-
- .global _IVEC_DEFAULT
-_IVEC_DEFAULT:
- reti r15
- or r0, r0, r0
-
-
- .section .internal_io, "a", @nobits
- .fill 256 ; Fill the first page.
-
- ; This is the memory-mapped I/O region.
-
- ; Hardware Interrupt Registers
- ;.org 0xfffff100
- .global _DEV0_INTERRUPT_REG
-_DEV0_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_REG
-_DEV1_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_REG
-_DEV2_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_REG
-_DEV3_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_REG
-_DEV4_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_REG
-_DEV5_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_REG
-_DEV6_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_REG
-_DEV7_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV8_INTERRUPT_REG
-_DEV8_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV9_INTERRUPT_REG
-_DEV9_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV10_INTERRUPT_REG
-_DEV10_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV11_INTERRUPT_REG
-_DEV11_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV12_INTERRUPT_REG
-_DEV12_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV13_INTERRUPT_REG
-_DEV13_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV14_INTERRUPT_REG
-_DEV14_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV15_INTERRUPT_REG
-_DEV15_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV16_INTERRUPT_REG
-_DEV16_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV17_INTERRUPT_REG
-_DEV17_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV18_INTERRUPT_REG
-_DEV18_INTERRUPT_REG:
- .word 0x00000000
-
- ; 128 bytes minus nineteen registers (four bytes per register)
- .fill (128 - 19 * 4)
-
- .global _INTERRUPT_MASK_REG
-_INTERRUPT_MASK_REG:
- .word 0x00000000
-
- .global _INTERRUPT_PENDING_REG
-_INTERRUPT_PENDING_REG:
- .word 0x00000000
-
- ; 16 bytes minus two registers (four bytes per register)
- .fill (16 - 2 * 4)
-
- .global _DEV0_INTERRUPT_LEVEL_REG
-_DEV0_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_LEVEL_REG
-_DEV1_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_LEVEL_REG
-_DEV2_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_LEVEL_REG
-_DEV3_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_LEVEL_REG
-_DEV4_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_LEVEL_REG
-_DEV5_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_LEVEL_REG
-_DEV6_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_LEVEL_REG
-_DEV7_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV8_INTERRUPT_LEVEL_REG
-_DEV8_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV9_INTERRUPT_LEVEL_REG
-_DEV9_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV10_INTERRUPT_LEVEL_REG
-_DEV10_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV11_INTERRUPT_LEVEL_REG
-_DEV11_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV12_INTERRUPT_LEVEL_REG
-_DEV12_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV13_INTERRUPT_LEVEL_REG
-_DEV13_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV14_INTERRUPT_LEVEL_REG
-_DEV14_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV15_INTERRUPT_LEVEL_REG
-_DEV15_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV16_INTERRUPT_LEVEL_REG
-_DEV16_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV17_INTERRUPT_LEVEL_REG
-_DEV17_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV18_INTERRUPT_LEVEL_REG
-_DEV18_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- ; 128 bytes minus twenty-three registers (four bytes per register)
- .fill (128 - 23 * 4)
-
-
- ;.org 0xfffff200
- ; MorphoSys Decoder Registers
- .global _MS_DEC_CIRC_BUFF_SEL_REG
-_MS_DEC_CIRC_BUFF_SEL_REG:
- .word 0x00000000
-
- .global _MS_DEC_SKIP_FACTOR_REG
-_MS_DEC_SKIP_FACTOR_REG:
- .word 0x00000000
-
- .global _MS_DEC_CUSTOM_PERM_REG
-_MS_DEC_CUSTOM_PERM_REG:
- .word 0x00000000
-
- .global _MS_DEC_CTXT_BASE_REG
-_MS_DEC_CTXT_BASE_REG:
- .word 0x00000000
-
- .global _MS_DEC_LOOKUP_TBL_REG
-_MS_DEC_LOOKUP_TBL_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF0_I_REG
-_MS_CIRC_BUFF0_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF0_P_REG
-_MS_CIRC_BUFF0_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF0_B_REG
-_MS_DATA_BUFF0_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF0_S_REG
-_MS_DATA_BUFF0_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF1_I_REG
-_MS_CIRC_BUFF1_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF1_P_REG
-_MS_CIRC_BUFF1_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF1_B_REG
-_MS_DATA_BUFF1_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF1_S_REG
-_MS_DATA_BUFF1_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF2_I_REG
-_MS_CIRC_BUFF2_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF2_P_REG
-_MS_CIRC_BUFF2_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF2_B_REG
-_MS_DATA_BUFF2_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF2_S_REG
-_MS_DATA_BUFF2_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF3_I_REG
-_MS_CIRC_BUFF3_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF3_P_REG
-_MS_CIRC_BUFF3_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF3_B_REG
-_MS_DATA_BUFF3_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF3_S_REG
-_MS_DATA_BUFF3_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF4_I_REG
-_MS_CIRC_BUFF4_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF4_P_REG
-_MS_CIRC_BUFF4_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF4_B_REG
-_MS_DATA_BUFF4_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF4_S_REG
-_MS_DATA_BUFF4_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF5_I_REG
-_MS_CIRC_BUFF5_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF5_P_REG
-_MS_CIRC_BUFF5_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF5_B_REG
-_MS_DATA_BUFF5_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF5_S_REG
-_MS_DATA_BUFF5_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF6_I_REG
-_MS_CIRC_BUFF6_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF6_P_REG
-_MS_CIRC_BUFF6_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF6_B_REG
-_MS_DATA_BUFF6_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF6_S_REG
-_MS_DATA_BUFF6_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF7_I_REG
-_MS_CIRC_BUFF7_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF7_P_REG
-_MS_CIRC_BUFF7_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF7_B_REG
-_MS_DATA_BUFF7_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF7_S_REG
-_MS_DATA_BUFF7_S_REG:
- .word 0x00000000
-
- .global _MS_OMEGA_PERM1_REG
-_MS_OMEGA_PERM1_REG:
- .word 0x00000000
-
- .global _MS_WRITE_FB_ADDR_REG
-_MS_WRITE_FB_ADDR_REG:
- .word 0x00000000
-
- .global _MS_OMEGA_PERM2_REG
-_MS_OMEGA_PERM2_REG:
- .word 0x00000000
-
-
- ; 256 bytes minus forty registers (four bytes per register)
- .fill (256 - 40 * 4)
-
-
-
- ;.org 0xfffff300
- ; Debug Registers
- .global _DEBUG_HALT_REG
-_DEBUG_HALT_REG:
- .word 0x00000000
-
- .global _DEBUG_BREAK_REG
-_DEBUG_BREAK_REG:
- .word 0x00000000
-
- .global _DEBUG_CRITICAL_REG
-_DEBUG_OWNERSHIP_REG:
- .word 0x00000000
-
- .global _DEBUG_KERNEL_ID_REG
-_DEBUG_KERNEL_ID_REG:
- .word 0x00000000
-
- .global _DEBUG_IRQ_STATUS_REG
-_DEBUG_IRQ_STATUS_REG:
- .word 0x00000000
-
- ; There are two reserved registers.
- .fill (2 * 4)
-
- .global _DEBUG_SW_SYSREQ_REG
-_DEBUG_SW_SYSREQ_REG:
- .word 0x00000000
-
- ; 128 bytes minus eight registers (four bytes per register)
- .fill (128 - 8 * 4)
-
- .global _EXTENDED_GP0_REG
-_EXTENDED_GP0_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP1_REG
-_EXTENDED_GP1_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP2_REG
-_EXTENDED_GP2_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP3_REG
-_EXTENDED_GP3_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP4_REG
-_EXTENDED_GP4_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP5_REG
-_EXTENDED_GP5_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP6_REG
-_EXTENDED_GP6_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP7_REG
-_EXTENDED_GP7_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_EN_NC_MEM_REG
-_MEM_CTRL_EN_NC_MEM_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE0_ADDR_REG
-_MEM_CTRL_BASE0_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK0_ADDR_REG
-_MEM_CTRL_MASK0_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE1_ADDR_REG
-_MEM_CTRL_BASE1_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK1_ADDR_REG
-_MEM_CTRL_MASK1_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE2_ADDR_REG
-_MEM_CTRL_BASE2_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK2_ADDR_REG
-_MEM_CTRL_MASK2_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE3_ADDR_REG
-_MEM_CTRL_BASE3_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK3_ADDR_REG
-_MEM_CTRL_MASK3_ADDR_REG:
- .word 0x00000000
-
- ; 128 bytes minus seventeen registers (four bytes per register)
- .fill (128 - 17 * 4)
-
-
-
- ; Reserved memory-map space
- .fill (256 + 256)
-
-
-
- ;.org 0xfffff600
- ; Timer Registers
- .global _TIMER0_VAL_REG
-_TIMER0_VAL_REG:
- .word 0x00000000
-
- .global _TIMER1_VAL_REG
-_TIMER1_VAL_REG:
- .word 0x00000000
-
- .global _TIMER2_VAL_REG
-_TIMER2_VAL_REG:
- .word 0x00000000
-
- .global _TIMER3_VAL_REG
-_TIMER3_VAL_REG:
- .word 0x00000000
-
- ; 256 bytes minus four registers (four bytes per register)
- .fill (256 - 4 * 4)
-
-
-
- ;.org 0xfffff700
- ; Output Line Control Registers
- .global _OUTPUT0_CTRL
-_OUTPUT0_CTRL:
- .word 0x00000000
-
- .global _OUTPUT1_CTRL
-_OUTPUT1_CTRL:
- .word 0x00000000
-
- .global _OUTPUT2_CTRL
-_OUTPUT2_CTRL:
- .word 0x00000000
-
- .global _OUTPUT3_CTRL
-_OUTPUT3_CTRL:
- .word 0x00000000
-
- .global _OUTPUT4_CTRL
-_OUTPUT4_CTRL:
- .word 0x00000000
-
- .global _OUTPUT5_CTRL
-_OUTPUT5_CTRL:
- .word 0x00000000
-
- .global _OUTPUT6_CTRL
-_OUTPUT6_CTRL:
- .word 0x00000000
-
- ; 128 bytes minus seven registers (four bytes per register)
- .fill (128 - 7 * 4)
-
- .global _INPUT0_CTRL
-_INPUT0_CTRL:
- .word 0x00000000
-
- ; 128 bytes minus one register (four bytes per register)
- .fill (128 - 1 * 4)
-
-
-
- ;.org 0xfffff800
- ; IQ Buffer Registers
- .global _IQ_BUFF_CTRL_REG
-_IQ_BUFF_CTRL_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_STATUS_REG
-_IQ_BUFF_STATUS_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER1_REG
-_IQ_BUFF_PARAMETER1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE1_REG
-_IQ_BUFF_TRANSFER_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_BASE1_REG
-_IQ_BUFF_FB_BASE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_SIZE1_REG
-_IQ_BUFF_FB_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER2_REG
-_IQ_BUFF_PARAMETER2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE2_REG
-_IQ_BUFF_TRANSFER_SIZE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_BASE2_REG
-_IQ_BUFF_FB_BASE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_SIZE2_REG
-_IQ_BUFF_FB_SIZE2_REG:
- .word 0x00000000
-
- ; 256 bytes minus ten registers (four bytes per register)
- .fill (256 - 10 * 4)
-
-
-
- ;.org 0xfffff900
- ; DMA Controller
- .global _DMA_CTRL_REG
-_DMA_CTRL_REG:
- .word 0x00000000
-
- .global _DMA_STATUS_REG
-_DMA_STATUS_REG:
- .word 0x00000000
-
- .global _DMA_CH0_EADDR_REG
-_DMA_CH0_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH0_IADDR_REG
-_DMA_CH0_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH0_SIZE_REG
-_DMA_CH0_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH1_EADDR_REG
-_DMA_CH1_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH1_IADDR_REG
-_DMA_CH1_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH1_SIZE_REG
-_DMA_CH1_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH2_EADDR_REG
-_DMA_CH2_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH2_IADDR_REG
-_DMA_CH2_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH2_SIZE_REG
-_DMA_CH2_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH3_EADDR_REG
-_DMA_CH3_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH3_IADDR_REG
-_DMA_CH3_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH3_SIZE_REG
-_DMA_CH3_SIZE_REG:
- .word 0x00000000
-
- ; 256 bytes minus fourteen registers (four bytes per register)
- .fill (256 - 14 * 4)
-
-
-
- ;.org 0xfffffa00
- ; Sequence Generator
- .global _SEQ_GEN_CTRL_STATUS_REG
-_SEQ_GEN_CTRL_STATUS_REG:
- .word 0x00000000
-
- .global _SEQ_GEN_MASK_REGS
-_SEQ_GEN_MASK_REGS:
- .fill (302 * 4)
-
- .global _SEQ_GEN_SHIFT_REG
-_SEQ_GEN_SHIFT_REG:
- .word 0x00000000
-
- ; 256 bytes minus seven registers (four bytes per register)
- .fill (256 - 48 * 4)
-
-
-
- ; Reserved memory-map space
- .fill (0x1000 - 0xf00)
diff --git a/libgloss/mt/startup-64-001.S b/libgloss/mt/startup-64-001.S
deleted file mode 100644
index 5ceb42b..0000000
--- a/libgloss/mt/startup-64-001.S
+++ /dev/null
@@ -1,378 +0,0 @@
-/*
- * $Header$
- *
- * interrupt_vectors.s -- the interrupt handler jump table.
- *
- *
- * There are a total of 32 interrupt vector possible, however, only
- * 11 of those are currently used (the others are reserved). The
- * order of vectors is as follows:
- *
- * 1. Boot Vector. Vector for power-on/reset.
- * 2. Software Vector. Vector for handling the SI instruction (an
- * explicit interrupt caused by software).
- * 3. Break Vector. Vector for handling the Break instruction.
- * 4. Device 0 Vector. Service vector for device zero.
- * 5. Device 1 Vector. Service vector for device one.
- * 6. Device 2 Vector. Service vector for device two.
- * 7. Device 3 Vector. Service vector for device three.
- * 8. Device 4 Vector. Service vector for device four.
- * 9. Device 5 Vector. Service vector for device five.
- * 10. Device 6 Vector. Service vector for device six.
- * 11. Device 7 Vector. Service vector for device seven.
- *
- * The rest of the interrupt vectors are reserved for future use.
- *
- *
- * Each jump table entry consists of the following two instructions:
- *
- * jmp Label ; Label as appropriate
- * nop ; implemented as or r0,r0,r0
- *
- * The following labels are reserved for the vectors named above,
- * respectively:
- *
- * _BOOTIVEC, _SOFTIVEC, _BRKIVEC, _DEV0IVEC, _DEV1IVEC, _DEV2IVEC,
- * _DEV3IVEC, _DEV4IVEC, _DEV5IVEC, _DEV6IVEC, _DEV7IVEC
- *
- *
- * 26Sep01 (DJK) The memory map is changed and the device interrupts are
- * now memory-mapped.
- *
- * 10Oct01 (DJK) The memory map is finalized and the first 4K of address
- * space is now reserved for memory-mapped I/O devices.
- * (There is over 2K unused, reserved space in this area.)
- *
- * 27Jul02 (DJK) Fixed the address for the interrupt mask register. Old
- * documentation stated the port address as 0x140, but
- * the implementation uses 0x13c.
- *
- * 30Jul02 (DJK) Added support for printf. This only supports output to
- * stderr and stdout. Using the message box interface,
- * a (newly defined) message or series of messages is
- * passed to the controller to output bytes as text to
- * the debug console. These messages are constructed in
- * the interrupt handler for the SI instruction.
- * With this implementation, the user is unable to
- * utilize the message box interface in applications as
- * specialized interrupt handlers for the external
- * interrupts are necessary.
- *
- *
- *
- * Copyright (c) 2001, 2002, 2003, 2004 Morpho Technologies, Inc.
- *
- */
-
- .section .startup, "a", @progbits
- .global __boot_start
-_INTERRUPT_VECTOR_TABLE:
-__boot_start:
- jmp _BOOTIVEC ; Boot vector
- or r0, r0, r0
- jmp _SOFTIVEC ; Vector for SI instruction
- or r0,r0,r0
- jmp _BRKIVEC ; Vector for Break instruction
- or r0,r0,r0
-
-
- ; This is the memory-mapped I/O region.
-
- ; Hardware Interrupt Registers
- .org 0x100
- .global _DEV0_INTERRUPT_REG
-_DEV0_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_REG
-_DEV1_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_REG
-_DEV2_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_REG
-_DEV3_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_REG
-_DEV4_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_REG
-_DEV5_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_REG
-_DEV6_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_REG
-_DEV7_INTERRUPT_REG:
- .word 0x00000000
-
- ; 60 bytes minus eight registers (four bytes per register)
- .fill (60 - 8 * 4)
-
- .global _INTERRUPT_MASK_REG
-_INTERRUPT_MASK_REG:
- .word 0x00000000
-
- ; 256 bytes minus sixteen registers (four bytes per register)
- .fill (256 - 16 * 4)
-
-
-
- .org 0x200
- ; MorphoSys Decoder Registers
- .global _MS_DEC_AUTO_INCREMENT_REG
-_MS_DEC_AUTO_INCREMENT_REG:
- .word 0x00000000
-
- .global _MS_DEC_SKIP_FACTOR_REG
-_MS_DEC_SKIP_FACTOR_REG:
- .word 0x00000000
-
- .global _MS_DEC_CUSTOM_PERMUTATION_REG
-_MS_DEC_CUSTOM_PERMUTATION_REG:
- .word 0x00000000
-
- .global _MS_DEC_CONTEXT_BASE_REG
-_MS_DEC_CONTEXT_BASE_REG:
- .word 0x00000000
-
- .global _MS_DEC_LOOKUP_TABLE_BASE_REG
-_MS_DEC_LOOKUP_TABLE_BASE_REG:
- .word 0x00000000
-
- .global _MS_CIRCULAR_BUFFER_END_REG
-_MS_CIRCULAR_BUFFER_END_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRCULAR_BUFFER_SIZE_REG
-_MS_CIRCULAR_BUFFER_SIZE_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BLOCK_END_REG
-_MS_DATA_BLOCK_END_REG:
- .word 0x00000000
-
- .global _MS_DATA_BLOCK_SIZE_REG
-_MS_DATA_BLOCK_SIZE_REG:
- .word 0x00000000
-
- ; 256 bytes minus nine registers (four bytes per register)
- .fill (256 - 9 * 4)
-
-
-
- .org 0x300
- ; Debug Registers
- .global _DEBUG_HALT_REG
-_DEBUG_HALT_REG:
- .word 0x00000000
-
- .global _DEBUG_BREAK_REG
-_DEBUG_BREAK_REG:
- .word 0x00000000
-
- .global _DEBUG_HW_RESERVED0_REG
-_DEBUG_HW_RESERVED0_REG:
- .word 0x00000000
-
- .global _DEBUG_HW_RESERVED1_REG
-_DEBUG_HW_RESERVED1_REG:
- .word 0x00000000
-
- .global _DEBUG_HW_RESERVED2_REG
-_DEBUG_HW_RESERVED2_REG:
- .word 0x00000000
-
- .global _DEBUG_HW_RESERVED3_REG
-_DEBUG_HW_RESERVED3_REG:
- .word 0x00000000
-
- .global _DEBUG_HW_RESERVED4_REG
-_DEBUG_HW_RESERVED4_REG:
- .word 0x00000000
-
- .global _DEBUG_SW_SYSREQ_REG
-_DEBUG_SW_SYSREQ_REG:
- .word 0x00000000
-
- ; 256 bytes minus eight registers (four bytes per register)
- .fill (256 - 8 * 4)
-
-
-
- .org 0x400
- ; Sequence Generator Registers
-_SEQ_GEN_REGS:
- .fill 256
-
-
-
- .org 0x500
-_RESERVED_SEQ_GEN_REGS:
- .fill 256
-
-
-
- .org 0x600
- .global _TIMER0_VAL_REG
-_TIMER0_VAL_REG:
- .word 0x00000000
-
- .global _TIMER0_CTRL_REG
-_TIMER0_CTRL_REG:
- .word 0x00000000
-
- .global _TIMER1_VAL_REG
-_TIMER1_VAL_REG:
- .word 0x00000000
-
- .global _TIMER1_CTRL_REG
-_TIMER1_CTRL_REG:
- .word 0x00000000
-
- .global _TIMER2_VAL_REG
-_TIMER2_VAL_REG:
- .word 0x00000000
-
- .global _TIMER2_CTRL_REG
-_TIMER2_CTRL_REG:
- .word 0x00000000
-
- ; 256 bytes minus six registers (four bytes per register)
- .fill (256 - 6 * 4)
-
-
-
- .org 0x700
- .global _OUTPUT0_CONTROL
-_OUTPUT0_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT1_CONTROL
-_OUTPUT1_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT2_CONTROL
-_OUTPUT2_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT3_CONTROL
-_OUTPUT3_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT4_CONTROL
-_OUTPUT4_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT5_CONTROL
-_OUTPUT5_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT6_CONTROL
-_OUTPUT6_CONTROL:
- .word 0x00000000
-
- .global _OUTPUT7_CONTROL
-_OUTPUT7_CONTROL:
- .word 0x00000000
-
- ; 256 bytes minus eight registers (four bytes per register)
- .fill (256 - 8 * 4)
-
-
-
- .org 0x800
- ; Reserved memory-mapped space.
- .fill (0x1000 - 0x800)
-
-
-
- .text
-
- .equ SI_IOPORT_ADR, _DEBUG_SW_SYSREQ_REG
- .equ SI_IOPORT_BIT, 0x1
- .equ BRK_IOPORT_ADR, _DEBUG_BREAK_REG
- .equ BRK_IOPORT_BIT, 0x1
-
- .global _BOOTIVEC
-_BOOTIVEC:
-
- ; Initialize the interrupt controller's interrupt vector registers
- ; for devices zero through seven.
- ldui r1, #%hi16(_IVEC_DEFAULT)
- ori r1, r1, #%lo16(_IVEC_DEFAULT)
- stw r1, r0, #%lo16(_DEV0_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV1_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV2_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV3_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV4_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV5_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV6_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV7_INTERRUPT_REG)
-
- ; Jump to the beginning of the application and enable interrupts.
- jmp _start
- ei
-
-
-
- ; Handler for the SI instruction. To perform a system call, the
- ; C model uses a trapping mechanism which executes an SI instruction.
- ; The Morpho Technologies simulator simply performs a branch to
- ; this vector to simulate the SI instruction (this is as the hardware
- ; behaves). In order to trigger the simulator that a system call
- ; is needed, a write into the I/O register at address $40005 to
- ; set bit #2 (0x4) is necessary.
- ;
- ; The above address has been changed to 0x31C and the bit number
- ; is zero. (The manifest constants have been changed to reflect this.)
- ;
- .global _SOFTIVEC
-_SOFTIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(SI_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(SI_IOPORT_ADR)
- ori r10, r0, #SI_IOPORT_BIT
- stw r10, r9, #$0
- ; SYS_call is handled by simulator here...
- or r0, r0, r0
- ldw r10, sp, #$0
- or r0, r0, r0
- ldw r9, sp, #$4
- reti r14
- addi sp, sp, #$8
-
-
-
- .global _BRKIVEC
-_BRKIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(BRK_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(BRK_IOPORT_ADR)
- ori r10, r0, #BRK_IOPORT_BIT
- stw r10, r9, #$0
- or r0, r0, r0
- ldw r10, sp, #$0
- subi r15, r15, #$4 ; Backup to address of break
- ldw r9, sp, #$4
- reti r15
- addi sp, sp, #$8
-
-
-
- .global _IVEC_DEFAULT
-_IVEC_DEFAULT:
- reti r15
- or r0, r0, r0
diff --git a/libgloss/mt/startup-ms2.S b/libgloss/mt/startup-ms2.S
deleted file mode 100644
index 846c72c..0000000
--- a/libgloss/mt/startup-ms2.S
+++ /dev/null
@@ -1,840 +0,0 @@
-/*
- *
- * interrupt_vectors.s -- the interrupt handler jump table.
- *
- *
- * There are a total of 32 interrupt vector possible, however, only
- * 11 of those are currently used (the others are reserved). The
- * order of vectors is as follows:
- *
- * 1. Boot Vector. Vector for power-on/reset.
- * 2. Software Vector. Vector for handling the SI instruction (an
- * explicit interrupt caused by software).
- * 3. Break Vector. Vector for handling the Break instruction.
- * 4. Device 0 Vector. Service vector for device zero.
- * 5. Device 1 Vector. Service vector for device one.
- * 6. Device 2 Vector. Service vector for device two.
- * 7. Device 3 Vector. Service vector for device three.
- * 8. Device 4 Vector. Service vector for device four.
- * 9. Device 5 Vector. Service vector for device five.
- * 10. Device 6 Vector. Service vector for device six.
- * 11. Device 7 Vector. Service vector for device seven.
- *
- * The rest of the interrupt vectors are reserved for future use.
- *
- *
- * Each jump table entry consists of the following two instructions:
- *
- * jmp Label ; Label as appropriate
- * nop ; implemented as or r0,r0,r0
- *
- * The following labels are reserved for the vectors named above,
- * respectively:
- *
- * _BOOTIVEC, _SOFTIVEC, _BRKIVEC, _DEV0IVEC, _DEV1IVEC, _DEV2IVEC,
- * _DEV3IVEC, _DEV4IVEC, _DEV5IVEC, _DEV6IVEC, _DEV7IVEC
- *
- * 28Apr05 (DJK) Added support for the overflow vector.
- *
- * XXXXXXX (DJK) Modified for the MS2 target
- *
- * 09Jan04 (DJK) Modified internal I/O port definitions for the
- * MS1-16-003.
- *
- * 10Oct01 (DJK) The memory map is finalized and the first 4K of address
- * space is now reserved for memory-mapped I/O devices.
- * (There is over 2K unused, reserved space in this area.)
- *
- * 26Sep01 (DJK) The memory map is changed and the device interrupts are
- * now memory-mapped.
- *
- *
- *
- * Copyright (c) 2001, 2002, 2003, 2004 Morpho Technologies
- *
- */
-
- .section .startup, "a", @progbits
- .global __boot_start
-__boot_start:
-_INTERRUPT_VECTOR_TABLE:
- jmp _BOOTIVEC ; Boot vector
- or r0, r0, r0
- jmp _SOFTIVEC ; Vector for SI instruction
- or r0, r0, r0
- jmp _BRKIVEC ; Vector for Break instruction
- or r0, r0, r0
- ; The illegal instruction trap is not implemented.
-_RESERVED1_IVEC:
- jmp _RESERVED1_IVEC
- or r0, r0, r0
- jmp _OVFIVEC
- or r0, r0, r0
-_RESERVED2_IVEC:
- jmp _RESERVED2_IVEC
- or r0, r0, r0
-_RESERVED3_IVEC:
- jmp _RESERVED3_IVEC
- or r0, r0, r0
-_RESERVED4_IVEC:
- jmp _RESERVED4_IVEC
- or r0, r0, r0
-
-
- .text
-
- .equ SI_IOPORT_ADR, _DEBUG_SW_SYSREQ_REG
- .equ SI_IOPORT_BIT, 0x1
- .equ BRK_IOPORT_ADR, _DEBUG_BREAK_REG
- .equ BRK_IOPORT_BIT, 0x1
-
- .global _BOOTIVEC
-_BOOTIVEC:
- ; Initialize the interrupt controller's interrupt vector registers
- ldui r1, #%hi16(_IVEC_DEFAULT)
- ori r1, r1, #%lo16(_IVEC_DEFAULT)
- stw r1, r0, #%lo16(_DEV0_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV1_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV2_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV3_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV4_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV5_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV6_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV7_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV8_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV9_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV10_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV11_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV12_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV13_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV14_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV15_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV16_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV17_INTERRUPT_REG)
- stw r1, r0, #%lo16(_DEV18_INTERRUPT_REG)
-
- ; Statically initialized data must be copied from ROM to RAM.
- ; This is done in the C run-time start-up code (crt0.o).
-
- ; Jump to the beginning of the application and enable interrupts.
- jmp _start
- ei
-
-
- ; Handler for the SI instruction. To perform a system call, the
- ; C model uses a trapping mechanism which executes an SI instruction.
- ; The Morpho Technologies simulator simply performs a branch to
- ; this vector to simulate the SI instruction (this is as the hardware
- ; behaves). In order to trigger the simulator that a system call
- ; is needed a write into the I/O register at address $40005 to
- ; set bit #2 (0x4) is necessary.
- ;
- ; The above address has been changed to 0x00031C and the bit number
- ; is zero. (The manifest constants have been changed to reflect this.)
- .global _SOFTIVEC
-_SOFTIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(SI_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(SI_IOPORT_ADR)
- ori r10, r0, #SI_IOPORT_BIT
- stw r10, r9, #$0
- ; SYS_call is handled by simulator here...
- or r0, r0, r0
- ldw r10, sp, #$0
- or r0, r0, r0
- ldw r9, sp, #$4
- reti r14
- addi sp, sp, #$8
-
-
-
- .global _BRKIVEC
-_BRKIVEC:
- ; Build a frame to save registers.
- subi sp, sp, #$8
- stw r9, sp, #$4
- ldui r9, #%hi16(BRK_IOPORT_ADR)
- stw r10, sp, #$0
- ori r9, r9, #%lo16(BRK_IOPORT_ADR)
- ori r10, r0, #BRK_IOPORT_BIT
- stw r10, r9, #$0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- or r0, r0, r0
- ldw r10, sp, #$0
- ldw r9, sp, #$4
- reti r15
- addi sp, sp, #$8
-
-
- .global _OVFIVEC
-_OVFIVEC:
- addi r15, r15, #$4
- or r0, r0, r0
- or r0, r0, r0 ; added 06Sep05
- reti r15
- or r0, r0, r0
-
-
- .global _IVEC_DEFAULT
-_IVEC_DEFAULT:
- reti r15
- or r0, r0, r0
-
-
- .section .internal_io, "a", @nobits
- .fill 256 ; Fill the first page.
-
- ; This is the memory-mapped I/O region.
-
- ; Hardware Interrupt Registers
- ;.org 0xfffff100
- .global _DEV0_INTERRUPT_REG
-_DEV0_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_REG
-_DEV1_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_REG
-_DEV2_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_REG
-_DEV3_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_REG
-_DEV4_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_REG
-_DEV5_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_REG
-_DEV6_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_REG
-_DEV7_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV8_INTERRUPT_REG
-_DEV8_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV9_INTERRUPT_REG
-_DEV9_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV10_INTERRUPT_REG
-_DEV10_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV11_INTERRUPT_REG
-_DEV11_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV12_INTERRUPT_REG
-_DEV12_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV13_INTERRUPT_REG
-_DEV13_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV14_INTERRUPT_REG
-_DEV14_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV15_INTERRUPT_REG
-_DEV15_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV16_INTERRUPT_REG
-_DEV16_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV17_INTERRUPT_REG
-_DEV17_INTERRUPT_REG:
- .word 0x00000000
-
- .global _DEV18_INTERRUPT_REG
-_DEV18_INTERRUPT_REG:
- .word 0x00000000
-
- ; 128 bytes minus nineteen registers (four bytes per register)
- .fill (128 - 19 * 4)
-
- .global _INTERRUPT_MASK_REG
-_INTERRUPT_MASK_REG:
- .word 0x00000000
-
- .global _INTERRUPT_PENDING_REG
-_INTERRUPT_PENDING_REG:
- .word 0x00000000
-
- ; 16 bytes minus two registers (four bytes per register)
- .fill (16 - 2 * 4)
-
- .global _DEV0_INTERRUPT_LEVEL_REG
-_DEV0_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV1_INTERRUPT_LEVEL_REG
-_DEV1_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV2_INTERRUPT_LEVEL_REG
-_DEV2_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV3_INTERRUPT_LEVEL_REG
-_DEV3_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV4_INTERRUPT_LEVEL_REG
-_DEV4_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV5_INTERRUPT_LEVEL_REG
-_DEV5_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV6_INTERRUPT_LEVEL_REG
-_DEV6_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV7_INTERRUPT_LEVEL_REG
-_DEV7_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV8_INTERRUPT_LEVEL_REG
-_DEV8_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV9_INTERRUPT_LEVEL_REG
-_DEV9_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV10_INTERRUPT_LEVEL_REG
-_DEV10_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV11_INTERRUPT_LEVEL_REG
-_DEV11_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV12_INTERRUPT_LEVEL_REG
-_DEV12_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV13_INTERRUPT_LEVEL_REG
-_DEV13_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV14_INTERRUPT_LEVEL_REG
-_DEV14_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV15_INTERRUPT_LEVEL_REG
-_DEV15_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV16_INTERRUPT_LEVEL_REG
-_DEV16_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV17_INTERRUPT_LEVEL_REG
-_DEV17_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- .global _DEV18_INTERRUPT_LEVEL_REG
-_DEV18_INTERRUPT_LEVEL_REG:
- .word 0x00000000
-
- ; 128 bytes minus twenty-three registers (four bytes per register)
- .fill (128 - 23 * 4)
-
-
- ;.org 0xfffff200
- ; MorphoSys Decoder Registers
- .global _MS_DEC_CIRC_BUFF_SEL_REG
-_MS_DEC_CIRC_BUFF_SEL_REG:
- .word 0x00000000
-
- .global _MS_DEC_SKIP_FACTOR_REG
-_MS_DEC_SKIP_FACTOR_REG:
- .word 0x00000000
-
- .global _MS_DEC_CUSTOM_PERM_REG
-_MS_DEC_CUSTOM_PERM_REG:
- .word 0x00000000
-
- .global _MS_DEC_CTXT_BASE_REG
-_MS_DEC_CTXT_BASE_REG:
- .word 0x00000000
-
- .global _MS_DEC_LOOKUP_TBL_REG
-_MS_DEC_LOOKUP_TBL_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF0_I_REG
-_MS_CIRC_BUFF0_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF0_P_REG
-_MS_CIRC_BUFF0_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF0_B_REG
-_MS_DATA_BUFF0_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF0_S_REG
-_MS_DATA_BUFF0_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF1_I_REG
-_MS_CIRC_BUFF1_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF1_P_REG
-_MS_CIRC_BUFF1_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF1_B_REG
-_MS_DATA_BUFF1_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF1_S_REG
-_MS_DATA_BUFF1_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF2_I_REG
-_MS_CIRC_BUFF2_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF2_P_REG
-_MS_CIRC_BUFF2_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF2_B_REG
-_MS_DATA_BUFF2_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF2_S_REG
-_MS_DATA_BUFF2_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF3_I_REG
-_MS_CIRC_BUFF3_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF3_P_REG
-_MS_CIRC_BUFF3_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF3_B_REG
-_MS_DATA_BUFF3_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF3_S_REG
-_MS_DATA_BUFF3_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF4_I_REG
-_MS_CIRC_BUFF4_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF4_P_REG
-_MS_CIRC_BUFF4_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF4_B_REG
-_MS_DATA_BUFF4_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF4_S_REG
-_MS_DATA_BUFF4_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF5_I_REG
-_MS_CIRC_BUFF5_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF5_P_REG
-_MS_CIRC_BUFF5_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF5_B_REG
-_MS_DATA_BUFF5_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF5_S_REG
-_MS_DATA_BUFF5_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF6_I_REG
-_MS_CIRC_BUFF6_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF6_P_REG
-_MS_CIRC_BUFF6_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF6_B_REG
-_MS_DATA_BUFF6_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF6_S_REG
-_MS_DATA_BUFF6_S_REG:
- .word 0x00000000
-
- .global _MS_CIRC_BUFF7_I_REG
-_MS_CIRC_BUFF7_I_REG:
- .word (__FRAME_BUFFER_END)
-
- .global _MS_CIRC_BUFF7_P_REG
-_MS_CIRC_BUFF7_P_REG:
- .word __FRAME_BUFFER_SIZE
-
- .global _MS_DATA_BUFF7_B_REG
-_MS_DATA_BUFF7_B_REG:
- .word 0x00000000
-
- .global _MS_DATA_BUFF7_S_REG
-_MS_DATA_BUFF7_S_REG:
- .word 0x00000000
-
- .global _MS_OMEGA_PERM1_REG
-_MS_OMEGA_PERM1_REG:
- .word 0x00000000
-
- .global _MS_WRITE_FB_ADDR_REG
-_MS_WRITE_FB_ADDR_REG:
- .word 0x00000000
-
- .global _MS_OMEGA_PERM2_REG
-_MS_OMEGA_PERM2_REG:
- .word 0x00000000
-
-
- ; 256 bytes minus forty registers (four bytes per register)
- .fill (256 - 40 * 4)
-
-
-
- ;.org 0xfffff300
- ; Debug Registers
- .global _DEBUG_HALT_REG
-_DEBUG_HALT_REG:
- .word 0x00000000
-
- .global _DEBUG_BREAK_REG
-_DEBUG_BREAK_REG:
- .word 0x00000000
-
- .global _DEBUG_CRITICAL_REG
-_DEBUG_OWNERSHIP_REG:
- .word 0x00000000
-
- .global _DEBUG_KERNEL_ID_REG
-_DEBUG_KERNEL_ID_REG:
- .word 0x00000000
-
- .global _DEBUG_IRQ_STATUS_REG
-_DEBUG_IRQ_STATUS_REG:
- .word 0x00000000
-
- ; There are two reserved registers.
- .fill (2 * 4)
-
- .global _DEBUG_SW_SYSREQ_REG
-_DEBUG_SW_SYSREQ_REG:
- .word 0x00000000
-
- ; 128 bytes minus eight registers (four bytes per register)
- .fill (128 - 8 * 4)
-
- .global _EXTENDED_GP0_REG
-_EXTENDED_GP0_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP1_REG
-_EXTENDED_GP1_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP2_REG
-_EXTENDED_GP2_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP3_REG
-_EXTENDED_GP3_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP4_REG
-_EXTENDED_GP4_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP5_REG
-_EXTENDED_GP5_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP6_REG
-_EXTENDED_GP6_REG:
- .word 0x00000000
-
- .global _EXTENDED_GP7_REG
-_EXTENDED_GP7_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_EN_NC_MEM_REG
-_MEM_CTRL_EN_NC_MEM_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE0_ADDR_REG
-_MEM_CTRL_BASE0_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK0_ADDR_REG
-_MEM_CTRL_MASK0_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE1_ADDR_REG
-_MEM_CTRL_BASE1_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK1_ADDR_REG
-_MEM_CTRL_MASK1_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE2_ADDR_REG
-_MEM_CTRL_BASE2_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK2_ADDR_REG
-_MEM_CTRL_MASK2_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_BASE3_ADDR_REG
-_MEM_CTRL_BASE3_ADDR_REG:
- .word 0x00000000
-
- .global _MEM_CTRL_MASK3_ADDR_REG
-_MEM_CTRL_MASK3_ADDR_REG:
- .word 0x00000000
-
- ; 128 bytes minus seventeen registers (four bytes per register)
- .fill (128 - 17 * 4)
-
-
-
- ; Reserved memory-map space
- .fill (256 + 256)
-
-
-
- ;.org 0xfffff600
- ; Timer Registers
- .global _TIMER0_VAL_REG
-_TIMER0_VAL_REG:
- .word 0x00000000
-
- .global _TIMER1_VAL_REG
-_TIMER1_VAL_REG:
- .word 0x00000000
-
- .global _TIMER2_VAL_REG
-_TIMER2_VAL_REG:
- .word 0x00000000
-
- .global _TIMER3_VAL_REG
-_TIMER3_VAL_REG:
- .word 0x00000000
-
- ; 256 bytes minus four registers (four bytes per register)
- .fill (256 - 4 * 4)
-
-
-
- ;.org 0xfffff700
- ; Output Line Control Registers
- .global _OUTPUT0_CTRL
-_OUTPUT0_CTRL:
- .word 0x00000000
-
- .global _OUTPUT1_CTRL
-_OUTPUT1_CTRL:
- .word 0x00000000
-
- .global _OUTPUT2_CTRL
-_OUTPUT2_CTRL:
- .word 0x00000000
-
- .global _OUTPUT3_CTRL
-_OUTPUT3_CTRL:
- .word 0x00000000
-
- .global _OUTPUT4_CTRL
-_OUTPUT4_CTRL:
- .word 0x00000000
-
- .global _OUTPUT5_CTRL
-_OUTPUT5_CTRL:
- .word 0x00000000
-
- .global _OUTPUT6_CTRL
-_OUTPUT6_CTRL:
- .word 0x00000000
-
- ; 128 bytes minus seven registers (four bytes per register)
- .fill (128 - 7 * 4)
-
- .global _INPUT0_CTRL
-_INPUT0_CTRL:
- .word 0x00000000
-
- ; 128 bytes minus one register (four bytes per register)
- .fill (128 - 1 * 4)
-
-
-
- ;.org 0xfffff800
- ; IQ Buffer Registers
- .global _IQ_BUFF_CTRL_REG
-_IQ_BUFF_CTRL_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_STATUS_REG
-_IQ_BUFF_STATUS_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER1_REG
-_IQ_BUFF_PARAMETER1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE1_REG
-_IQ_BUFF_TRANSFER_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_BASE1_REG
-_IQ_BUFF_FB_BASE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_SIZE1_REG
-_IQ_BUFF_FB_SIZE1_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_PARAMETER2_REG
-_IQ_BUFF_PARAMETER2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_TRANSFER_SIZE2_REG
-_IQ_BUFF_TRANSFER_SIZE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_BASE2_REG
-_IQ_BUFF_FB_BASE2_REG:
- .word 0x00000000
-
- .global _IQ_BUFF_FB_SIZE2_REG
-_IQ_BUFF_FB_SIZE2_REG:
- .word 0x00000000
-
- ; 256 bytes minus ten registers (four bytes per register)
- .fill (256 - 10 * 4)
-
-
-
- ;.org 0xfffff900
- ; DMA Controller
- .global _DMA_CTRL_REG
-_DMA_CTRL_REG:
- .word 0x00000000
-
- .global _DMA_STATUS_REG
-_DMA_STATUS_REG:
- .word 0x00000000
-
- .global _DMA_CH0_EADDR_REG
-_DMA_CH0_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH0_IADDR_REG
-_DMA_CH0_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH0_SIZE_REG
-_DMA_CH0_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH1_EADDR_REG
-_DMA_CH1_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH1_IADDR_REG
-_DMA_CH1_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH1_SIZE_REG
-_DMA_CH1_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH2_EADDR_REG
-_DMA_CH2_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH2_IADDR_REG
-_DMA_CH2_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH2_SIZE_REG
-_DMA_CH2_SIZE_REG:
- .word 0x00000000
-
- .global _DMA_CH3_EADDR_REG
-_DMA_CH3_EADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH3_IADDR_REG
-_DMA_CH3_IADDR_REG:
- .word 0x00000000
-
- .global _DMA_CH3_SIZE_REG
-_DMA_CH3_SIZE_REG:
- .word 0x00000000
-
- ; 256 bytes minus fourteen registers (four bytes per register)
- .fill (256 - 14 * 4)
-
-
-
- ;.org 0xfffffa00
- ; Sequence Generator
- .global _SEQ_GEN_CTRL_STATUS_REG
-_SEQ_GEN_CTRL_STATUS_REG:
- .word 0x00000000
-
- .global _SEQ_GEN_MASK_REGS
-_SEQ_GEN_MASK_REGS:
- .fill (302 * 4)
-
- .global _SEQ_GEN_SHIFT_REG
-_SEQ_GEN_SHIFT_REG:
- .word 0x00000000
-
- ; 256 bytes minus seven registers (four bytes per register)
- .fill (256 - 48 * 4)
-
-
-
- ; Reserved memory-map space
- .fill (0x1000 - 0xf00)
diff --git a/libgloss/mt/stat.c b/libgloss/mt/stat.c
deleted file mode 100644
index 4f1da73..0000000
--- a/libgloss/mt/stat.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-stat (const char *__restrict path, struct stat *__restrict st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/mt/time.c b/libgloss/mt/time.c
deleted file mode 100644
index 2df8d48..0000000
--- a/libgloss/mt/time.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-time_t
-time (time_t *tloc)
-{
- return TRAP0 (SYS_time, tloc, 0, 0);
-}
diff --git a/libgloss/mt/times.c b/libgloss/mt/times.c
deleted file mode 100644
index b804be4..0000000
--- a/libgloss/mt/times.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-#include "sys/times.h"
-
-
-clock_t
-times (struct tms *buffer)
-{
- return TRAP0 (SYS_times, buffer, 0, 0);
-}
diff --git a/libgloss/mt/trap.S b/libgloss/mt/trap.S
deleted file mode 100644
index 9fca720..0000000
--- a/libgloss/mt/trap.S
+++ /dev/null
@@ -1,34 +0,0 @@
-;;
-;; The errno will be in r5 if r11 is -1.
-;;
- .text
- .global __trap0
-__trap0:
- ;; non-leaf function so need to create stack frame to
- ;; store ra and fp
- subi sp, sp, #16
- stw ra, sp, #12
- or r0, r0, r0 ;; nop
- stw fp, sp, #8
- or fp, sp, sp
- stw r5, sp, #4
- or r0, r0, r0 ;; nop
- stw r6, sp, #0
- addi r6, r0, #$-1
- si r14
- or r0, r0, r0 ;; nop
- brne r11, r6, .L0
- ldui r6, #%hi16(errno)
- addui r6, r6, #%lo16(errno)
- stw r5, r6, #0
- or r0, r0, r0 ;; nop
-.L0:
- ldw r6, sp, #0
- or r0, r0, r0 ;; nop
- ldw r5, sp, #4
- or r0, r0, r0 ;; nop
- ldw ra, sp, #12
- or r0, r0, r0 ;; nop
- ldw fp, sp, #8
- jal r0, r14
- addi sp, sp, #16
diff --git a/libgloss/mt/trap.h b/libgloss/mt/trap.h
deleted file mode 100644
index 27636c0..0000000
--- a/libgloss/mt/trap.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include "syscall.h"
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
diff --git a/libgloss/mt/unlink.c b/libgloss/mt/unlink.c
deleted file mode 100644
index a620e89..0000000
--- a/libgloss/mt/unlink.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-unlink ()
-{
- return -1;
-}
diff --git a/libgloss/mt/utime.c b/libgloss/mt/utime.c
deleted file mode 100644
index 3fce7e3..0000000
--- a/libgloss/mt/utime.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/mt/write.c b/libgloss/mt/write.c
deleted file mode 100644
index 88b5ff8..0000000
--- a/libgloss/mt/write.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "trap.h"
-
-
-int
-write ( int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/nds32/Makefile.in b/libgloss/nds32/Makefile.in
deleted file mode 100644
index 99ccae8..0000000
--- a/libgloss/nds32/Makefile.in
+++ /dev/null
@@ -1,146 +0,0 @@
-# Makefile for libgloss/nds32
-# Copyright (c) 1996, 1998 Cygnus Support. 2012 Andes Porting.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
-# endorse or promote products derived from this software without
-# specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-TOP = ../..
-SRCTOP = ../..
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTISRCTOP =
-MULTIBUILDTOP =
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-
-.NOEXPORT:
-MAKEOVERRIDES =
-
-TARGETDOC = ../../targetdep.tex
-
-CRT0 = crt0.o
-CRT1 = crt1.o
-
-
-
-SYSCALLS1 = _exit.o _open.o _close.o _read.o _write.o
-SYSCALLS2 = _lseek.o _unlink.o _getpid.o _kill.o _fstat.o
-SYSCALLS3 = _argvlen.o _argv.o _chdir.o _stat.o _chmod.o
-SYSCALLS4 = _utime.o _time.o _gettimeofday.o _times.o _link.o
-SYSCALLS5 = _rename.o _isatty.o _system.o _sbrk.o syscall_error_handler.o
-SYSCALLS = $(SYSCALLS1) $(SYSCALLS2) $(SYSCALLS3) $(SYSCALLS4) $(SYSCALLS5)
-GENERIC_LIBOBJS =
-
-LIBOBJS = $(SYSCALLS) $(GENERIC_LIBOBJS)
-LIBGLOSS = libgloss.a
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0) $(CRT1) $(LIBGLOSS)
-
-libgloss.a: $(LIBOBJS)
- $(AR) $(ARFLAGS) $@ $(LIBOBJS)
- $(RANLIB) $@
-
-install:
- mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- $(INSTALL_DATA) $(CRT1) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT1)
- $(INSTALL_DATA) $(LIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS)
-
-
-
-
-
-
-
-clean mostlyclean:
- rm -f *~ *.[oa]
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status
-
-info doc:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
-
-# to support SunOS VPATH
-crt0.o: crt0.S
-crt1.o: crt1.S
-_exit.o: _exit.S
-_open.o: _open.S
-_close.o: _close.S
-_read.o: _read.S
-_write.o: _write.S
-_lseek.o: _lseek.S
-_unlink.o: _unlink.S
-_getpid.o: _getpid.S
-_kill.o: _kill.S
-_fstat.o: _fstat.S
-_argvlen.o: _argvlen.S
-_argv.o: _argv.S
-_chdir.o: _chdir.S
-_stat.o: _stat.S
-_chmod.o: _chmod.S
-_utime.o: _utime.S
-_time.o: _time.S
-_gettimeofday.o: _gettimeofday.S
-_times.o: _times.S
-_link.o: _link.S
-_rename.o: _rename.S
-_isatty.o: _isatty.S
-_system.o: _system.S
-_sbrk.o: _sbrk.S
-syscall_error_handler.o: syscall_error_handler.S
diff --git a/libgloss/nds32/_argv.S b/libgloss/nds32/_argv.S
deleted file mode 100644
index bd85979..0000000
--- a/libgloss/nds32/_argv.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _argv, SYS_argv
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_argvlen.S b/libgloss/nds32/_argvlen.S
deleted file mode 100644
index 32401d3..0000000
--- a/libgloss/nds32/_argvlen.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _argvlen, SYS_argvlen
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_chdir.S b/libgloss/nds32/_chdir.S
deleted file mode 100644
index bb6b324..0000000
--- a/libgloss/nds32/_chdir.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _chdir, SYS_chdir
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_chmod.S b/libgloss/nds32/_chmod.S
deleted file mode 100644
index 231a18f..0000000
--- a/libgloss/nds32/_chmod.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _chmod, SYS_chmod
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_close.S b/libgloss/nds32/_close.S
deleted file mode 100644
index 0a1aec1..0000000
--- a/libgloss/nds32/_close.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _close, VH_CLOSE
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _close, SYS_close
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_exit.S b/libgloss/nds32/_exit.S
deleted file mode 100644
index 8154fbe..0000000
--- a/libgloss/nds32/_exit.S
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE3 _exit, VH_EXIT
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
- .section .text
- .global _exit
- .type _exit, @function
- .align 2
-_exit:
- syscall SYS_exit /* Make syscall 'SYS_exit'. */
- .size _exit, .-_exit
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_fstat.S b/libgloss/nds32/_fstat.S
deleted file mode 100644
index 7d0cb6e..0000000
--- a/libgloss/nds32/_fstat.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _fstat, VH_FSTAT
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _fstat, SYS_fstat
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_getpid.S b/libgloss/nds32/_getpid.S
deleted file mode 100644
index 086be84..0000000
--- a/libgloss/nds32/_getpid.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _getpid, SYS_getpid
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_gettimeofday.S b/libgloss/nds32/_gettimeofday.S
deleted file mode 100644
index adc5f68..0000000
--- a/libgloss/nds32/_gettimeofday.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE3 _gettimeofday, VH_GETTIMEOFDAY
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _gettimeofday, SYS_gettimeofday
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_isatty.S b/libgloss/nds32/_isatty.S
deleted file mode 100644
index c90028a..0000000
--- a/libgloss/nds32/_isatty.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE0 _isatty, VH_ISATTY
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _isatty, SYS_isatty
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_kill.S b/libgloss/nds32/_kill.S
deleted file mode 100644
index 69d8b41..0000000
--- a/libgloss/nds32/_kill.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _kill, SYS_kill
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_link.S b/libgloss/nds32/_link.S
deleted file mode 100644
index 15016fc..0000000
--- a/libgloss/nds32/_link.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _link, SYS_link
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_lseek.S b/libgloss/nds32/_lseek.S
deleted file mode 100644
index c17e22f..0000000
--- a/libgloss/nds32/_lseek.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _lseek, VH_LSEEK
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _lseek, SYS_lseek
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_open.S b/libgloss/nds32/_open.S
deleted file mode 100644
index 6c80ab0..0000000
--- a/libgloss/nds32/_open.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _open, VH_OPEN
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _open, SYS_open
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_read.S b/libgloss/nds32/_read.S
deleted file mode 100644
index ca0c8af..0000000
--- a/libgloss/nds32/_read.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _read, VH_READ
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _read, SYS_read
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_rename.S b/libgloss/nds32/_rename.S
deleted file mode 100644
index f91c1f6..0000000
--- a/libgloss/nds32/_rename.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _rename, VH_RENAME
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _rename, SYS_rename
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_sbrk.S b/libgloss/nds32/_sbrk.S
deleted file mode 100644
index dc3ed7b..0000000
--- a/libgloss/nds32/_sbrk.S
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#include "../syscall.h"
-#include "syscall_extra.h"
-
- .extern _impure_ptr /* The first element is _errno. */
- .extern _end
- .global _sbrk
- .type _sbrk, @function
-
- .text
- .align 2
-_sbrk:
- /* Get the value stored in heap_end (Top of Heap). If the value is zero,
- initialize it with the ending of bss section and leave a 1024-byte
- room to do low memory action. */
- l.w $r1, heap_end
- bnez $r1, .L0
- /* Note: leave 1024 byte to do low memory action. */
- la $r1, _end + 1024
- s.w $r1, heap_end
-
-.L0:
- /* Try to increments heap_end by $r0 bytes. Check if collision happens ?
- If collision happens, -1 is returned and errno is set to ENOMEM.
- Otherwise, save new value to heap_end and return the previous
- heap_end. */
-
- /* Make sure new heap_end is aligned on 8-byte boundary. */
- addi $r0, $r0, 7
- srli $r0, $r0, 3
- slli $r0, $r0, 3
-
- add $r0, $r1, $r0 /* Set $r0 as new heap_end. */
- slt $r2, $sp, $r0 /* Set $r2 if $sp is lower than heap_end. */
- bnez $r2, .Lerror /* Branch if collision happens. */
-
- s.w $r0, heap_end /* Save new value to heap_end. */
- move $r0, $r1 /* Return the previous heap_end. */
- ret
-
-.Lerror:
- movi $r0, 12
- l.w $r15, _impure_ptr
- swi $r0, [$r15] /* Set errno. */
- movi $r0, -1 /* Reture value is -1. */
- ret
-
- .size _sbrk, .-_sbrk
- .section .bss
- .align 2
-heap_end:
- .word 0
diff --git a/libgloss/nds32/_stat.S b/libgloss/nds32/_stat.S
deleted file mode 100644
index 9bb23ce..0000000
--- a/libgloss/nds32/_stat.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _stat, VH_STAT
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _stat, SYS_stat
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_system.S b/libgloss/nds32/_system.S
deleted file mode 100644
index bbd6a78..0000000
--- a/libgloss/nds32/_system.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _system, VH_SYSTEM
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _system, SYS_system
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_time.S b/libgloss/nds32/_time.S
deleted file mode 100644
index 43c7aba..0000000
--- a/libgloss/nds32/_time.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _time, SYS_time
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_times.S b/libgloss/nds32/_times.S
deleted file mode 100644
index 048de62..0000000
--- a/libgloss/nds32/_times.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _times, SYS_times
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_unlink.S b/libgloss/nds32/_unlink.S
deleted file mode 100644
index ec251b5..0000000
--- a/libgloss/nds32/_unlink.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _lseek, VH_LSEEK
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _unlink, SYS_unlink
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_utime.S b/libgloss/nds32/_utime.S
deleted file mode 100644
index 014aa1a..0000000
--- a/libgloss/nds32/_utime.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _utime, SYS_utime
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/_write.S b/libgloss/nds32/_write.S
deleted file mode 100644
index f0d8651..0000000
--- a/libgloss/nds32/_write.S
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifdef __NDS32_VH__
-
-#include "vh.h"
-.extern _impure_ptr
-TYPE1 _write, VH_WRITE
-
-#else /* not __NDS32_VH__ */
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-SYS_WRAPPER _write, SYS_write
-
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/aclocal.m4 b/libgloss/nds32/aclocal.m4
deleted file mode 100644
index 6ba6210..0000000
--- a/libgloss/nds32/aclocal.m4
+++ /dev/null
@@ -1,409 +0,0 @@
-# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
-# 2010, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/nds32/configure b/libgloss/nds32/configure
deleted file mode 100755
index bb041df..0000000
--- a/libgloss/nds32/configure
+++ /dev/null
@@ -1,3924 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${srcdir}/../..
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${srcdir}/../../config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/nds32/configure.in b/libgloss/nds32/configure.in
deleted file mode 100644
index aa3cf0c..0000000
--- a/libgloss/nds32/configure.in
+++ /dev/null
@@ -1,47 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${srcdir}/../../config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${srcdir}/../..
-)
-AC_OUTPUT
diff --git a/libgloss/nds32/crt0.S b/libgloss/nds32/crt0.S
deleted file mode 100644
index 968b735..0000000
--- a/libgloss/nds32/crt0.S
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
-Copyright (c) 2013-2014 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-##==============================================================================
-##
-## crt0.S
-##
-## nds32 startup code
-##
-##==============================================================================
-
-##------------------------------------------------------------------------------
-## Vector table setup
-##------------------------------------------------------------------------------
- .section .nds32_init, "ax"
- j _start
-
-##------------------------------------------------------------------------------
-## Startup code implementation
-##------------------------------------------------------------------------------
- .section .text
- .weak _SDA_BASE_
- .global _start
- .type _start, @function
- .align 2
-_start:
- /* The initialization sequence really does matter !!!
- The global pointer must be
- initialized precedence over all others. */
-
-.L_init_gp:
- /* Initialization for global pointer. The symbol _SDA_BASE_ is
- determined by Linker. SDA stands for Small Data Access. */
- la $gp, _SDA_BASE_
-
-.L_init_sp:
- /* Initialization for stack pointe. The symbol _stack is defined
- in linker script. Make sure $sp is 8-byte aligned. */
- la $sp, _stack
-#if __NDS32_ISA_V3__
- bitci $sp, $sp, #7
-#else
- movi $r0, #-8 /* Set $r0 as 0xFFFFFFF8. */
- and $sp, $sp, $r0
-#endif
-
-#if __NDS32_EX9_EXT__
-.L_init_itb:
- /* Initialization for Instruction Table Base (ITB).
- The symbol $_ITB_BASE_ is determined by Linker.
- Set $ITB only if MSC_CFG.EIT (cr4.b'24) is set. */
- mfsr $r0, $MSC_CFG
- srli $r0, $r0, 24
- andi $r0, $r0, 0x1
- beqz $r0, .L_zero_out_bss /* Fall through ? */
- la $r0, $_ITB_BASE_
- mtusr $r0, $ITB
-#endif
-
-.L_zero_out_bss:
- /* Zero out the bss section.
- Equivalence C code for follow part:
- if (_end == _edata) goto .L_call_main
- unsinged int *ptr = _edata;
- while (ptr != _end)
- *ptr++ = 0
- $r0 = ptr/_edata
- $r1 = _end
- $r2 = 0
- */
- la $r0, _edata
- la $r1, _end
- movi $r2, #0
- beq $r0, $r1, .L_call_main /* Branch if no bss. */
-.Lword_clear:
- swi.bi $r2, [$r0], #4
- bne $r0, $r1, .Lword_clear
-
-.L_call_main:
- /* Prepare argc/argv/env for main function.
- Since there is no operating system so far,
- we set $r0, $r1, and $r2 to be zero.
- Note: $r2 already set to zero in line 84. */
- movi $r0, 0
- movi $r1, 0
- /* Call 'main'. */
- bal main
-
-.L_terminate_program:
- /* There are two ways to terminate program:
- 1. User "syscall 0x1" directly.
- 2. Call exit. The return value $r0 from main() is
- implicitly passed as argument.
-
- Currently, we use option 2 as a solution to follow C99 5.1.2.2.3,
- but aware that general exit() will do some cleanup procedures
- which may result in large-memory-footprints. */
- bal exit
-
-.L_forever_loop:
- /* Should never return here. */
- b .L_forever_loop
-
- .size _start, .-_start
diff --git a/libgloss/nds32/crt1.S b/libgloss/nds32/crt1.S
deleted file mode 100644
index 2ff2eea..0000000
--- a/libgloss/nds32/crt1.S
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
-Copyright (c) 2013-2014 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-##==============================================================================
-##
-## crt1.S
-##
-## nds32 startup code
-##
-##==============================================================================
-
-##------------------------------------------------------------------------------
-## Vector table setup
-##------------------------------------------------------------------------------
- .section .nds32_init, "ax"
- j _start
-
-##------------------------------------------------------------------------------
-## Startup code implementation
-##------------------------------------------------------------------------------
- .section .text
- .weak _SDA_BASE_
- .global _start
- .type _start, @function
- .align 2
-_start:
- /* The initialization sequence really does matter !!!
- The global pointer must be
- initialized precedence over all others. */
-
-.L_init_gp:
- /* Initialization for global pointer. The symbol _SDA_BASE_ is
- determined by Linker. SDA stands for Small Data Access. */
- la $gp, _SDA_BASE_
-
-.L_init_sp:
- /* Initialization for stack pointe. The symbol _stack is defined
- in linker script. Make sure $sp is 8-byte aligned. */
- la $sp, _stack
-#if __NDS32_ISA_V3__
- bitci $sp, $sp, #7
-#else
- movi $r0, #-8 /* Set $r0 as 0xFFFFFFF8. */
- and $sp, $sp, $r0
-#endif
-
-#if __NDS32_EX9_EXT__
-.L_init_itb:
- /* Initialization for Instruction Table Base (ITB).
- The symbol $_ITB_BASE_ is determined by Linker.
- Set $ITB only if MSC_CFG.EIT (cr4.b'24) is set. */
- mfsr $r0, $MSC_CFG
- srli $r0, $r0, 24
- andi $r0, $r0, 0x1
- beqz $r0, .L_zero_out_bss /* Fall through ? */
- la $r0, $_ITB_BASE_
- mtusr $r0, $ITB
-#endif
-
-.L_zero_out_bss:
- /* Zero out the bss section.
- Equivalence C code for follow part:
- if (_end == _edata) goto .L_call_main
- unsinged int *ptr = _edata;
- while (ptr != _end)
- *ptr++ = 0
- $r0 = ptr/_edata
- $r1 = _end
- $r2 = 0
- */
- la $r0, _edata
- la $r1, _end
- beq $r0, $r1, .L_call_main /* Branch if no bss. */
- movi $r2, #0
-.Lword_clear:
- swi.bi $r2, [$r0], #4
- bne $r0, $r1, .Lword_clear
-
-.L_call_main:
- /* Call '_init' to invoke constructors. */
- jal _init
- /* Register '_fini' into atexit() to invoke destructors when
- exit() has been reached. */
- la $r0, _fini
- jal atexit
- /* Prepare argc/argv/env for main function.
- Since there is no operating system so far,
- we set $r0, $r1, and $r2 to be zero. */
- movi $r0, 0
- movi $r1, 0
- movi $r2, 0
- /* Call 'main'. */
- bal main
-
-.L_terminate_program:
- /* There are two ways to terminate program:
- 1. User "syscall 0x1" directly.
- 2. Call exit. The return value $r0 from main() is
- implicitly passed as argument.
-
- Currently, we use option 2 as a solution to follow C99 5.1.2.2.3,
- but aware that general exit() will do some cleanup procedures
- which may result in large-memory-footprints. */
-
- bal exit
-
-.L_forever_loop:
- /* Should never return here. */
- b .L_forever_loop
-
- .size _start, .-_start
diff --git a/libgloss/nds32/syscall_error_handler.S b/libgloss/nds32/syscall_error_handler.S
deleted file mode 100644
index 2b65c68..0000000
--- a/libgloss/nds32/syscall_error_handler.S
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef __NDS32_VH__
-
-#include "../syscall.h"
-#include "syscall_extra.h"
-
-
- .extern _impure_ptr /* The first element is _errno. */
- .text
- .global __syscall_error_handler
- .type __syscall_error_handler, @function
- .hidden __syscall_error_handler
- .align 2
-__syscall_error_handler:
- addi $r1, $r0, 1
- bnez $r1, 1f /* Branch if success. */
- syscall SYS_geterr /* There is something wrong. */
- l.w $r15, _impure_ptr
- swi $r0, [$r15] /* Set errno. */
- move $r0, -1
-1:
- ret
- .size __syscall_error_handler, .-__syscall_error_handler
-#endif /* not __NDS32_VH__ */
diff --git a/libgloss/nds32/syscall_extra.h b/libgloss/nds32/syscall_extra.h
deleted file mode 100644
index 7af4a45..0000000
--- a/libgloss/nds32/syscall_extra.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-Copyright (c) 2013 Andes Technology Corporation.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of the company may not be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-#ifndef _SYSCALL_EXTRA_H
-#define _SYSCALL_EXTRA_H
-
-
-/* These are additional syscalls for nds32 target. */
-#define SYS_rename 3001
-#define SYS_isatty 3002
-#define SYS_system 3003
-
-#define SYS_geterr 6001
-
-
-/* Define macros that generate assembly output. */
-.macro SYS_WRAPPER name num
- .text
- .global \name
- .type \name, @function
- .align 2
-\name:
- /* Make syscall with arg=`\num'.
- Reture value `-1' stored in $r0 means there is something wrong.
- If there is something wrong, make syscall to get `SYS_geterr' to get
- error code to see what exactly happens and store it in errno . */
- syscall \num /* Make syscall with arg=`\num'. */
- j __syscall_error_handler
- .size \name, .-\name
-.endm
-
-#endif /* _SYSCALL_EXTRA_H */
diff --git a/libgloss/nds32/vh.h b/libgloss/nds32/vh.h
deleted file mode 100644
index 4ee3e89..0000000
--- a/libgloss/nds32/vh.h
+++ /dev/null
@@ -1,123 +0,0 @@
-#ifndef _VH_H
-#define _VH_H
-
-/*
-BREAK #SWID definition:
-0x00 – 0x1F: Free to use
-0x20 – 0x1FF: Reserved for EX9
-0x0200 – 0x7EFF: Free to use
-0x7F00 – 0x7FFF: Reserved for virtual hosting
-*/
-/* These are #SWID defined for Virtual Hosting. */
-#define VH_FOPEN 0x7F00
-#define VH_FREOPEN 0x7F01
-#define VH_FCLOSE 0x7F02
-#define VH_FFLUSH 0x7F03
-#define VH_FREAD 0x7F04
-#define VH_FWRITE 0x7F05
-#define VH_FGETC 0x7F06
-#define VH_FGETS 0x7F07
-#define VH_FPUTC 0x7F08
-#define VH_FPUTS 0x7F09
-#define VH_UNGETC 0x7F0A
-#define VH_FTELL 0x7F0B
-#define VH_FSEEK 0x7F0C
-#define VH_REWIND 0x7F0D
-#define VH_CLEARERR 0x7F0E
-#define VH_FEOF 0x7F0F
-#define VH_FERROR 0x7F10
-#define VH_REMOVE 0x7F11
-#define VH_TMPFILE 0x7F12
-/* From here, define Low-level routines. */
-#define VH_EXIT 0x7F20
-#define VH_OPEN 0x7F21
-#define VH_CLOSE 0x7F22
-#define VH_READ 0x7F23
-#define VH_WRITE 0x7F24
-#define VH_LSEEK 0x7F25
-#define VH_UNLINK 0x7F26
-#define VH_RENAME 0x7F27
-#define VH_FSTAT 0x7F28
-#define VH_STAT 0x7F29
-#define VH_GETTIMEOFDAY 0x7F2A
-#define VH_ISATTY 0x7F2B
-#define VH_SYSTEM 0x7F2C
-#define VH_GETERR 0x7F2D /* The method we get errno. */
-
-
-/* Define macros that generate assembly output.
- Generate a System Call exception to notify GDB
- to handle this virtual I/O routine. */
-
-.macro TYPE0 name num
-/* If r0 is not NULL(0), set errno. */
- .text
- .global \name
- .type \name, @function
- .align 2
-\name:
- BREAK \num /* Generate_Exception(Breakpoint); */
- bnez $r0, 1f /* Branch if success.
- r0 value is not NULL(0). */
- BREAK VH_GETERR
- l.w $r15, _impure_ptr
- swi $r0, [$r15] /* Set errno. */
- move $r0, 0 /* Set return value as 0. */
-1:
- ret
- .size \name, .-\name
-.endm
-
-.macro TYPE1 name num
-/* If r0 is EOF(-1), set errno. */
- .text
- .global \name
- .type \name, @function
- .align 2
-\name:
- BREAK \num /* Generate_Exception(Breakpoint); */
- addi $r15, $r0, 1
- bnezs8 1f /* Branch if success.
- r0 value is EOF(-1). */
- BREAK VH_GETERR
- l.w $r15, _impure_ptr
- swi $r0, [$r15] /* Set errno. */
- move $r0, -1 /* Set return value as -1. */
-1:
- ret
- .size \name, .-\name
-.endm
-
-.macro TYPE2 name num
-/* If r0 is less than r2, set errno. */
- .text
- .global \name
- .type \name, @function
- .align 2
-\name:
- BREAK \num /* Generate_Exception(Breakpoint); */
- slt $r15, $r0, $r2 /* If r15 is set, set errno. */
- beqzs8 1f /* Branch if success.
- r15 is zero. */
- move $r4, $r0 /* Keep return value r0. */
- BREAK VH_GETERR
- l.w $r15, _impure_ptr
- swi $r0, [$r15] /* Set errno. */
- move $r0, $r4 /* Restore r0. */
-1:
- ret
- .size \name, .-\name
-.endm
-
-.macro TYPE3 name num
-/* No errors are defined. */
- .text
- .global \name
- .type \name, @function
- .align 2
-\name:
- BREAK \num /* Generate_Exception(Breakpoint); */
- ret
- .size \name, .-\name
-.endm
-#endif /* _VH_H */
diff --git a/libgloss/open.c b/libgloss/open.c
deleted file mode 100644
index 468b11c..0000000
--- a/libgloss/open.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* open.c -- open a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * open -- open a file descriptor. We don't have a filesystem, so
- * we return an error.
- */
-int
-_DEFUN (open, (buf, flags, mode),
- const char *buf _AND
- int flags _AND
- int mode)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/pa/Makefile.in b/libgloss/pa/Makefile.in
deleted file mode 100644
index 03323c3..0000000
--- a/libgloss/pa/Makefile.in
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = w89k op50n
-CRT0 = crt0.o
-OBJS = close.o fstat.o getpid.o isatty.o kill.o \
- lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
- unlink.o write.o hp-milli.o
-
-CFLAGS = -g
-# ARFLAGS = rv
-
-#
-# here's all the Oki OP50N target stuff
-#
-OKI_LDFLAGS= -L${srcdir} -Top50n.ld $(LDFLAGS_FOR_TARGET) -Ttext 40000 -Map oki.map
-OKI_BSP= libop50n.a
-OKI_OBJS= op50nled.o op50n-io.o
-
-#
-# here's all the WinBind W89k target stuff
-#
-WEC_LDFLAGS= -L${srcdir} -Tw89k.ld $(LDFLAGS_FOR_TARGET) -Ttext 100000 -Map wec.map
-WEC_BSP= libw89k.a
-WEC_OBJS= w89k-io.o
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} ${OKI_BSP} ${WEC_BSP}
-
-test: ${CRT0} test.o ${OKI_BSP} ${WEC_BSP}
- @for script in ${SCRIPTS}; do \
- echo Building $@ for $${script}... ; \
- ${CC} $(CFLAGS_FOR_TARGET) $(INCLUDES) -L${objdir} \
- -m$${script} test.o -L. \
- -o $${script}-test.x $(LIBS_FOR_TARGET) ; \
- if [ -s $${script}-test.x ] ; then \
- echo "Making an srecord for $${script}-test.x..." ; \
- ${OBJCOPY} -O srec $${script}-test.x $${script}-test.srec ; \
- echo "Making an disassembly file for $${script}-test.x..." ; \
- rm -f $${script}-test.dis ; \
- ${OBJDUMP} -d $${script}-test.x > $${script}-test.dis ; \
- else \
- rm $${script}-test.x ; \
- echo "WARNING: $${script}-test didn't build." ; \
- fi ; \
- done
-
-#
-# here's where we build the board support packages for each target
-#
-${OKI_BSP}: $(OBJS) ${OKI_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${OKI_OBJS}
- ${RANLIB} $@
-
-${WEC_BSP}: $(OBJS) ${WEC_OBJS}
- ${AR} ${ARFLAGS} $@ $(OBJS) ${WEC_OBJS}
- ${RANLIB} $@
-
-op50n-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
-w89k-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: install info install-info clean-info
-install:
- $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- # install Oki stuff
- $(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP)
- $(INSTALL_DATA) ${srcdir}/op50n.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/op50n.ld
- # install WinBond stuff
- $(INSTALL_PROGRAM) $(WEC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(WEC_BSP)
- $(INSTALL_DATA) ${srcdir}/w89k.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/w89k.ld
-
-info:
-install-info:
-clean-info:
-
-test.o: ${srcdir}/test.c
-${CRT0}:${srcdir}/crt0.S
-op50n-io.o: ${srcdir}/op50n-io.S
-op50nled.o: ${srcdir}/op50nled.c
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/pa/README b/libgloss/pa/README
deleted file mode 100644
index 6037c57..0000000
--- a/libgloss/pa/README
+++ /dev/null
@@ -1,82 +0,0 @@
- Misc
- ....
-
-Naming Conventions
-------------------
- The basic naming convention for Unix machines is that
- hppa1.1-hp-proelf- is prepended to the front of each tool
- name. For DOS machines, the names are truncated to just the base
- tool name, like GCC.
-
-Installation
-------------
- For this beta release, there are three tar files on the tape. A
- simple "tar xvf [device name]" will work. One of the tarfiles is
- all the sources, the others are binaries. One set is for a HP-UX
- host, and the other set is for a sun4 host.
-
- First, make a directory called /usr/cygnus/beta-941019. Cd into
- this directory and type the tar command to extract the three tar
- files. Once the tar files are off the tape, you can uncompress
- and extract them. Typically, once they are installed, it's common
- practice to make a symbolic link so the path
- /usr/cygnus/beta-941019 works regardless which host. The actual
- binaries are in /usr/cygnus/beta-941019/$host/bin, where host is
- the configuration string for this machine.
-
-
- WinBond W89k board
- ..................
-Downloading
------------
- To download type the "U" command to the ROM monitor. This will
- load to the address as specified in the srecord. This address is
- 0x100000.
-
-To compile
-----------
- Use these arguments on the command line for either the linker or
- the compiler:
-
- -Tw89k.ld -Ttext 100000
-
-To execute
-----------
- Type a "g = 100000" at thr ROM monitor after downloading to the
- target. After downloading, PC will be set to the correct address,
- but this command will *always* restart the execution from the
- beginning.
-
-To debug
---------
- To connect GDB to the target, use the "target w89k [devicename]".
-
- Oki OP50N board
- ...............
-
-Downloading
------------
- To download, type "r 0" to the ROM monitor. The 0 is cause the
- monitor wants to offset the address in the srecord to 0x40000. The
- problem is that it doesn't relocate data right. So, we set the
- address for .text and .data to 0x40000, and we don't want any
- offset.
-
-To compile
-----------
- Use these arguments on the command line for either the linker or
- the compiler:
-
- -Top50n.ld -Ttext 40000
-
- To execute
-----------
- Type a "g 40000" at thr ROM monitor after downloading to the
- target. After downloading, PC will be set to the correct address,
- but this command will *always* restart the execution from the
- beginning
-
-To debug
---------
- To connect GDB to the target, use the "target op50n [devicename]".
-
diff --git a/libgloss/pa/aclocal.m4 b/libgloss/pa/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/pa/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/pa/configure b/libgloss/pa/configure
deleted file mode 100755
index f394064..0000000
--- a/libgloss/pa/configure
+++ /dev/null
@@ -1,3742 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-target_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/pa/configure.in b/libgloss/pa/configure.in
deleted file mode 100644
index d8f9d55..0000000
--- a/libgloss/pa/configure.in
+++ /dev/null
@@ -1,71 +0,0 @@
-/* Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- * Process this file with autoconf to produce a configure script.
- */
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/pa/crt0.S b/libgloss/pa/crt0.S
deleted file mode 100644
index e9ea525..0000000
--- a/libgloss/pa/crt0.S
+++ /dev/null
@@ -1,128 +0,0 @@
-/* crt0.S -- startup file for hppa.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
- .VERSION "1.0"
- .COPYRIGHT "crt0.o for the PA"
-
- .DATA
-
-/*
- * Set up the standard spaces (sections) These definitions come
- * from /lib/pcc_prefix.s.
- */
- .TEXT
-
-/*
- * stuff we need that's defined elsewhere.
- */
- .IMPORT main, CODE
- .IMPORT exit, CODE
- .IMPORT _bss_start, DATA
- .IMPORT _end, DATA
- .IMPORT environ, DATA
-
-/*
- * start -- set things up so the application will run.
- *
- */
- .PROC
- .CALLINFO SAVE_SP, FRAME=48
- .EXPORT $START$,ENTRY
-$START$
-
- /* FIXME: this writes to page zero */
- ;; setup the %30 (stack pointer) with some memory
- ldil L%_stack,%r30
- ldo R%_stack(%r30),%r30
-
- ;; we need to set %r27 (global data pointer) here too
- ldil L%$global$,%r27
- ldo R%$global$(%r27),%r27 ; same problem as above
-
-/*
- * zerobss -- zero out the bss section
- */
- ; load the start of bss
- ldil L%_bss_start,%r4
- ldo R%_bss_start(%r4),%r4
-
- ; load the end of bss
- ldil L%_end,%r5
- ldo R%_end(%r5),%r5
-
-
-L$bssloop
- addi -1,%r5,%r5 ; decrement _bss_end
- stb %r0,0(0,%r5) ; we do this by bytes for now even
- ; though it's slower, it's safer
- combf,= %r4,%r5, L$bssloop
- nop
-
- ldi 1,%ret0
-
-/*
- * Call the main routine from the application to get it going.
- * main (argc, argv, environ)
- * We pass argv as a pointer to NULL.
- */
-
- ldil L%main,%r22
- ble R%main(%sr4,%r22)
- copy %r31,%r2
-/*
- * Call exit() from the C library with the return value from main()
- */
- copy %r28,%r26
- ldil L%exit,%r22
- ble R%exit(%sr4,%r22)
- copy %r31,%r2
-
- .PROCEND
-/*
- * _exit -- Exit from the application. Normally we cause a user trap
- * to return to the ROM monitor for another run.
- */
- .EXPORT _exit, ENTRY
-_exit
- .PROC
- .CALLINFO
- .ENTRY
-
- ;; This just causes a breakpoint exception
- break 0x0,0x0
- bv,n (%rp)
- nop
- .EXIT
- .PROCEND
-
-/*
- * _sr4export -- support for called functions. (mostly for GDB)
- */
- .EXPORT _sr4export, ENTRY
-_sr4export:
- .PROC
- .CALLINFO
- .ENTRY
-
- ble 0(%sr4,%r22)
- copy %r31,%rp
- ldw -24(%sr0,%sp),%rp
- ldsid (%sr0,%rp),%r1
- mtsp %r1,%sr0
- be,n 0(%sr0,%rp)
- nop
- .EXIT
- .PROCEND
-
-
diff --git a/libgloss/pa/hp-milli.s b/libgloss/pa/hp-milli.s
deleted file mode 100644
index 85aaa08..0000000
--- a/libgloss/pa/hp-milli.s
+++ /dev/null
@@ -1,1998 +0,0 @@
-;
-; (c) Copyright 1986 HEWLETT-PACKARD COMPANY
-;
-; To anyone who acknowledges that this file is provided "AS IS"
-; without any express or implied warranty:
-; permission to use, copy, modify, and distribute this file
-; for any purpose is hereby granted without fee, provided that
-; the above copyright notice and this notice appears in all
-; copies, and that the name of Hewlett-Packard Company not be
-; used in advertising or publicity pertaining to distribution
-; of the software without specific, written prior permission.
-; Hewlett-Packard Company makes no representations about the
-; suitability of this software for any purpose.
-;
-
-; Standard Hardware Register Definitions for Use with Assembler
-; version A.08.06
-; - fr16-31 added at Utah
-;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-; Hardware General Registers
-r0: .equ 0
-
-r1: .equ 1
-
-r2: .equ 2
-
-r3: .equ 3
-
-r4: .equ 4
-
-r5: .equ 5
-
-r6: .equ 6
-
-r7: .equ 7
-
-r8: .equ 8
-
-r9: .equ 9
-
-r10: .equ 10
-
-r11: .equ 11
-
-r12: .equ 12
-
-r13: .equ 13
-
-r14: .equ 14
-
-r15: .equ 15
-
-r16: .equ 16
-
-r17: .equ 17
-
-r18: .equ 18
-
-r19: .equ 19
-
-r20: .equ 20
-
-r21: .equ 21
-
-r22: .equ 22
-
-r23: .equ 23
-
-r24: .equ 24
-
-r25: .equ 25
-
-r26: .equ 26
-
-r27: .equ 27
-
-r28: .equ 28
-
-r29: .equ 29
-
-r30: .equ 30
-
-r31: .equ 31
-
-; Hardware Space Registers
-sr0: .equ 0
-
-sr1: .equ 1
-
-sr2: .equ 2
-
-sr3: .equ 3
-
-sr4: .equ 4
-
-sr5: .equ 5
-
-sr6: .equ 6
-
-sr7: .equ 7
-
-; Hardware Floating Point Registers
-fr0: .equ 0
-
-fr1: .equ 1
-
-fr2: .equ 2
-
-fr3: .equ 3
-
-fr4: .equ 4
-
-fr5: .equ 5
-
-fr6: .equ 6
-
-fr7: .equ 7
-
-fr8: .equ 8
-
-fr9: .equ 9
-
-fr10: .equ 10
-
-fr11: .equ 11
-
-fr12: .equ 12
-
-fr13: .equ 13
-
-fr14: .equ 14
-
-fr15: .equ 15
-
-fr16: .equ 16
-
-fr17: .equ 17
-
-fr18: .equ 18
-
-fr19: .equ 19
-
-fr20: .equ 20
-
-fr21: .equ 21
-
-fr22: .equ 22
-
-fr23: .equ 23
-
-fr24: .equ 24
-
-fr25: .equ 25
-
-fr26: .equ 26
-
-fr27: .equ 27
-
-fr28: .equ 28
-
-fr29: .equ 29
-
-fr30: .equ 30
-
-fr31: .equ 31
-
-; Hardware Control Registers
-cr0: .equ 0
-
-rctr: .equ 0 ; Recovery Counter Register
-
-
-cr8: .equ 8 ; Protection ID 1
-
-pidr1: .equ 8
-
-
-cr9: .equ 9 ; Protection ID 2
-
-pidr2: .equ 9
-
-
-cr10: .equ 10
-
-ccr: .equ 10 ; Coprocessor Confiquration Register
-
-
-cr11: .equ 11
-
-sar: .equ 11 ; Shift Amount Register
-
-
-cr12: .equ 12
-
-pidr3: .equ 12 ; Protection ID 3
-
-
-cr13: .equ 13
-
-pidr4: .equ 13 ; Protection ID 4
-
-
-cr14: .equ 14
-
-iva: .equ 14 ; Interrupt Vector Address
-
-
-cr15: .equ 15
-
-eiem: .equ 15 ; External Interrupt Enable Mask
-
-
-cr16: .equ 16
-
-itmr: .equ 16 ; Interval Timer
-
-
-cr17: .equ 17
-
-pcsq: .equ 17 ; Program Counter Space queue
-
-
-cr18: .equ 18
-
-pcoq: .equ 18 ; Program Counter Offset queue
-
-
-cr19: .equ 19
-
-iir: .equ 19 ; Interruption Instruction Register
-
-
-cr20: .equ 20
-
-isr: .equ 20 ; Interruption Space Register
-
-
-cr21: .equ 21
-
-ior: .equ 21 ; Interruption Offset Register
-
-
-cr22: .equ 22
-
-ipsw: .equ 22 ; Interrpution Processor Status Word
-
-
-cr23: .equ 23
-
-eirr: .equ 23 ; External Interrupt Request
-
-
-cr24: .equ 24
-
-ppda: .equ 24 ; Physcial Page Directory Address
-
-tr0: .equ 24 ; Temporary register 0
-
-
-cr25: .equ 25
-
-hta: .equ 25 ; Hash Table Address
-
-tr1: .equ 25 ; Temporary register 1
-
-
-cr26: .equ 26
-
-tr2: .equ 26 ; Temporary register 2
-
-
-cr27: .equ 27
-
-tr3: .equ 27 ; Temporary register 3
-
-
-cr28: .equ 28
-
-tr4: .equ 28 ; Temporary register 4
-
-
-cr29: .equ 29
-
-tr5: .equ 29 ; Temporary register 5
-
-
-cr30: .equ 30
-
-tr6: .equ 30 ; Temporary register 6
-
-
-cr31: .equ 31
-
-tr7: .equ 31 ; Temporary register 7
-
-;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-; Procedure Call Convention ~
-; Register Definitions for Use with Assembler ~
-; version A.08.06
-;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-; Software Architecture General Registers
-rp: .equ r2 ; return pointer
-
-mrp: .equ r31 ; millicode return pointer
-
-ret0: .equ r28 ; return value
-
-ret1: .equ r29 ; return value (high part of double)
-
-sl: .equ r29 ; static link
-
-sp: .equ r30 ; stack pointer
-
-dp: .equ r27 ; data pointer
-
-arg0: .equ r26 ; argument
-
-arg1: .equ r25 ; argument or high part of double argument
-
-arg2: .equ r24 ; argument
-
-arg3: .equ r23 ; argument or high part of double argument
-
-;_____________________________________________________________________________
-; Software Architecture Space Registers
-; sr0 ; return link form BLE
-sret: .equ sr1 ; return value
-
-sarg: .equ sr1 ; argument
-
-; sr4 ; PC SPACE tracker
-; sr5 ; process private data
-;_____________________________________________________________________________
-; Software Architecture Pseudo Registers
-previous_sp: .equ 64 ; old stack pointer (locates previous frame)
-
-;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-; Standard space and subspace definitions. version A.08.06
-; These are generally suitable for programs on HP_UX and HPE.
-; Statements commented out are used when building such things as operating
-; system kernels.
-;;;;;;;;;;;;;;;;
- .SPACE $TEXT$, SPNUM=0,SORT=8
- .subspa $MILLICODE$, QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=8
- .subspa $LIT$, QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=16
- .subspa $CODE$, QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=24
-; Additional code subspaces should have ALIGN=8 for an interspace BV
-; and should have SORT=24.
-;
-; For an incomplete executable (program bound to shared libraries),
-; sort keys $GLOBAL$ -1 and $GLOBAL$ -2 are reserved for the $DLT$
-; and $PLT$ subspaces respectively.
-;;;;;;;;;;;;;;;
- .SPACE $PRIVATE$, SPNUM=1,PRIVATE,SORT=16
- .subspa $GLOBAL$, QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=40
- .import $global$
- .subspa $DATA$, QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=16
- .subspa $BSS$, QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=82,ZERO
-
- .SPACE $TEXT$
- .SUBSPA $MILLICODE$
-
- .align 8
- .EXPORT $$remI,millicode
-; .IMPORT cerror
-$$remI:
- .PROC
- .CALLINFO millicode
- .ENTRY
- addit,= 0,arg1,r0
- add,>= r0,arg0,ret1
- sub r0,ret1,ret1
- sub r0,arg1,r1
- ds r0,r1,r0
- or r0,r0,r1
- add ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- ds r1,arg1,r1
- addc ret1,ret1,ret1
- movb,>=,n r1,ret1,remI300
- add,< arg1,r0,r0
- add,tr r1,arg1,ret1
- sub r1,arg1,ret1
-remI300: add,>= arg0,r0,r0
-
- sub r0,ret1,ret1
- bv r0(r31)
- nop
- .EXIT
- .PROCEND
-
-bit1: .equ 1
-
-bit30: .equ 30
-bit31: .equ 31
-
-len2: .equ 2
-
-len4: .equ 4
-
-
-$$dyncall:
- .proc
- .callinfo NO_CALLS
- .entry
- .export $$dyncall,MILLICODE
-
- bb,>=,n 22,bit30,noshlibs
-
- depi 0,bit31,len2,22
- ldw 4(22),19
- ldw 0(22),22
-noshlibs:
- ldsid (22),r1
- mtsp r1,sr0
- be 0(sr0,r22)
- stw rp,-24(sp)
- .exit
- .procend
-
-temp: .EQU r1
-
-retreg: .EQU ret1 ; r29
-
-
- .export $$divU,millicode
- .import $$divU_3,millicode
- .import $$divU_5,millicode
- .import $$divU_6,millicode
- .import $$divU_7,millicode
- .import $$divU_9,millicode
- .import $$divU_10,millicode
- .import $$divU_12,millicode
- .import $$divU_14,millicode
- .import $$divU_15,millicode
-$$divU:
- .proc
- .callinfo millicode
- .entry
-; The subtract is not nullified since it does no harm and can be used
-; by the two cases that branch back to "normal".
- comib,>= 15,arg1,special_divisor
- sub r0,arg1,temp ; clear carry, negate the divisor
- ds r0,temp,r0 ; set V-bit to 1
-normal:
- add arg0,arg0,retreg ; shift msb bit into carry
- ds r0,arg1,temp ; 1st divide step, if no carry
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 2nd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 3rd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 4th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 5th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 6th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 7th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 8th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 9th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 10th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 11th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 12th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 13th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 14th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 15th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 16th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 17th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 18th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 19th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 20th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 21st divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 22nd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 23rd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 24th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 25th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 26th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 27th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 28th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 29th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 30th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 31st divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 32nd divide step,
- bv 0(r31)
- addc retreg,retreg,retreg ; shift last retreg bit into retreg
-;_____________________________________________________________________________
-; handle the cases where divisor is a small constant or has high bit on
-special_divisor:
- comib,> 0,arg1,big_divisor
- nop
- blr arg1,r0
- nop
-zero_divisor: ; this label is here to provide external visibility
-
- addit,= 0,arg1,0 ; trap for zero dvr
- nop
- bv 0(r31) ; divisor == 1
- copy arg0,retreg
- bv 0(r31) ; divisor == 2
- extru arg0,30,31,retreg
- b,n $$divU_3 ; divisor == 3
- nop
- bv 0(r31) ; divisor == 4
- extru arg0,29,30,retreg
- b,n $$divU_5 ; divisor == 5
- nop
- b,n $$divU_6 ; divisor == 6
- nop
- b,n $$divU_7 ; divisor == 7
- nop
- bv 0(r31) ; divisor == 8
- extru arg0,28,29,retreg
- b,n $$divU_9 ; divisor == 9
- nop
- b,n $$divU_10 ; divisor == 10
- nop
- b normal ; divisor == 11
- ds r0,temp,r0 ; set V-bit to 1
- b,n $$divU_12 ; divisor == 12
- nop
- b normal ; divisor == 13
- ds r0,temp,r0 ; set V-bit to 1
- b,n $$divU_14 ; divisor == 14
- nop
- b,n $$divU_15 ; divisor == 15
- nop
-;_____________________________________________________________________________
-; Handle the case where the high bit is on in the divisor.
-; Compute: if( dividend>=divisor) quotient=1; else quotient=0;
-; Note: dividend>==divisor iff dividend-divisor does not borrow
-; and not borrow iff carry
-big_divisor:
- sub arg0,arg1,r0
- bv 0(r31)
- addc r0,r0,retreg
- .exit
- .procend
- .end
-
-t2: .EQU r1
-
-; x2 .EQU arg0 ; r26
-t1: .EQU arg1 ; r25
-
-; x1 .EQU ret1 ; r29
-;_____________________________________________________________________________
-
-$$divide_by_constant:
- .PROC
- .CALLINFO millicode
- .entry
-
-
- .export $$divide_by_constant,millicode
-; Provides a "nice" label for the code covered by the unwind descriptor
-; for things like gprof.
-
-
-
-
-
-
-
-
-
-$$divI_2:
- .EXPORT $$divI_2,MILLICODE
- COMCLR,>= arg0,0,0
- ADDI 1,arg0,arg0
- bv 0(r31)
- EXTRS arg0,30,31,ret1
-
-
-
-$$divI_4:
- .EXPORT $$divI_4,MILLICODE
- COMCLR,>= arg0,0,0
- ADDI 3,arg0,arg0
- bv 0(r31)
- EXTRS arg0,29,30,ret1
-
-
-
-$$divI_8:
- .EXPORT $$divI_8,MILLICODE
- COMCLR,>= arg0,0,0
- ADDI 7,arg0,arg0
- bv 0(r31)
- EXTRS arg0,28,29,ret1
-
-
-$$divI_16:
- .EXPORT $$divI_16,MILLICODE
- COMCLR,>= arg0,0,0
- ADDI 15,arg0,arg0
- bv 0(r31)
- EXTRS arg0,27,28,ret1
-
-
-
-
-
-
-
-
-
-
-
-$$divI_3:
- .EXPORT $$divI_3,MILLICODE
- COMB,<,N arg0,0,$neg3
-
- ADDI 1,arg0,arg0
- EXTRU arg0,1,2,ret1
- SH2ADD arg0,arg0,arg0
- B $pos
- ADDC ret1,0,ret1
-
-$neg3:
- SUBI 1,arg0,arg0
- EXTRU arg0,1,2,ret1
- SH2ADD arg0,arg0,arg0
- B $neg
- ADDC ret1,0,ret1
-
-$$divU_3:
- .EXPORT $$divU_3,MILLICODE
- ADDI 1,arg0,arg0
- ADDC 0,0,ret1
- SHD ret1,arg0,30,t1
- SH2ADD arg0,arg0,arg0
- B $pos
- ADDC ret1,t1,ret1
-
-
-
-$$divI_5:
- .EXPORT $$divI_5,MILLICODE
- COMB,<,N arg0,0,$neg5
- ADDI 3,arg0,t1
- SH1ADD arg0,t1,arg0
- B $pos
- ADDC 0,0,ret1
-
-$neg5:
- SUB 0,arg0,arg0
- ADDI 1,arg0,arg0
- SHD 0,arg0,31,ret1
- SH1ADD arg0,arg0,arg0
- B $neg
- ADDC ret1,0,ret1
-
-$$divU_5:
- .EXPORT $$divU_5,MILLICODE
- ADDI 1,arg0,arg0
- ADDC 0,0,ret1
- SHD ret1,arg0,31,t1
- SH1ADD arg0,arg0,arg0
- B $pos
- ADDC t1,ret1,ret1
-
-
-$$divI_6:
- .EXPORT $$divI_6,MILLICODE
- COMB,<,N arg0,0,$neg6
- EXTRU arg0,30,31,arg0
- ADDI 5,arg0,t1
- SH2ADD arg0,t1,arg0
- B $pos
- ADDC 0,0,ret1
-
-$neg6:
- SUBI 2,arg0,arg0
-
-
- EXTRU arg0,30,31,arg0
- SHD 0,arg0,30,ret1
- SH2ADD arg0,arg0,arg0
- B $neg
- ADDC ret1,0,ret1
-
-$$divU_6:
- .EXPORT $$divU_6,MILLICODE
- EXTRU arg0,30,31,arg0
- ADDI 1,arg0,arg0
- SHD 0,arg0,30,ret1
- SH2ADD arg0,arg0,arg0
- B $pos
- ADDC ret1,0,ret1
-
-
-$$divU_10:
- .EXPORT $$divU_10,MILLICODE
- EXTRU arg0,30,31,arg0
- ADDI 3,arg0,t1
- SH1ADD arg0,t1,arg0
- ADDC 0,0,ret1
-$pos:
- SHD ret1,arg0,28,t1
- SHD arg0,0,28,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-$pos_for_17:
- SHD ret1,arg0,24,t1
- SHD arg0,0,24,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-
- SHD ret1,arg0,16,t1
- SHD arg0,0,16,t2
- ADD arg0,t2,arg0
- bv 0(r31)
- ADDC ret1,t1,ret1
-
-$$divI_10:
- .EXPORT $$divI_10,MILLICODE
- COMB,< arg0,0,$neg10
- COPY 0,ret1
- EXTRU arg0,30,31,arg0
- ADDIB,TR 1,arg0,$pos
- SH1ADD arg0,arg0,arg0
-
-$neg10:
- SUBI 2,arg0,arg0
-
-
- EXTRU arg0,30,31,arg0
- SH1ADD arg0,arg0,arg0
-$neg:
- SHD ret1,arg0,28,t1
- SHD arg0,0,28,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-$neg_for_17:
- SHD ret1,arg0,24,t1
- SHD arg0,0,24,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-
- SHD ret1,arg0,16,t1
- SHD arg0,0,16,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
- bv 0(r31)
- SUB 0,ret1,ret1
-
-
-$$divI_12:
- .EXPORT $$divI_12,MILLICODE
- COMB,< arg0,0,$neg12
- COPY 0,ret1
- EXTRU arg0,29,30,arg0
- ADDIB,TR 1,arg0,$pos
- SH2ADD arg0,arg0,arg0
-
-$neg12:
- SUBI 4,arg0,arg0
-
-
- EXTRU arg0,29,30,arg0
- B $neg
- SH2ADD arg0,arg0,arg0
-
-$$divU_12:
- .EXPORT $$divU_12,MILLICODE
- EXTRU arg0,29,30,arg0
- ADDI 5,arg0,t1
- SH2ADD arg0,t1,arg0
- B $pos
- ADDC 0,0,ret1
-
-
-$$divI_15:
- .EXPORT $$divI_15,MILLICODE
- COMB,< arg0,0,$neg15
- COPY 0,ret1
- ADDIB,TR 1,arg0,$pos+4
- SHD ret1,arg0,28,t1
-
-$neg15:
- B $neg
- SUBI 1,arg0,arg0
-
-$$divU_15:
- .EXPORT $$divU_15,MILLICODE
- ADDI 1,arg0,arg0
- B $pos
- ADDC 0,0,ret1
-
-
-$$divI_17:
- .EXPORT $$divI_17,MILLICODE
- COMB,<,N arg0,0,$neg17
- ADDI 1,arg0,arg0
- SHD 0,arg0,28,t1
- SHD arg0,0,28,t2
- SUB t2,arg0,arg0
- B $pos_for_17
- SUBB t1,0,ret1
-
-$neg17:
- SUBI 1,arg0,arg0
- SHD 0,arg0,28,t1
- SHD arg0,0,28,t2
- SUB t2,arg0,arg0
- B $neg_for_17
- SUBB t1,0,ret1
-
-$$divU_17:
- .EXPORT $$divU_17,MILLICODE
- ADDI 1,arg0,arg0
- ADDC 0,0,ret1
- SHD ret1,arg0,28,t1
-$u17:
- SHD arg0,0,28,t2
- SUB t2,arg0,arg0
- B $pos_for_17
- SUBB t1,ret1,ret1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-$$divI_7:
- .EXPORT $$divI_7,MILLICODE
- COMB,<,N arg0,0,$neg7
-$7:
- ADDI 1,arg0,arg0
- SHD 0,arg0,29,ret1
- SH3ADD arg0,arg0,arg0
- ADDC ret1,0,ret1
-$pos7:
- SHD ret1,arg0,26,t1
- SHD arg0,0,26,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-
- SHD ret1,arg0,20,t1
- SHD arg0,0,20,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,t1
-
-
-
- COPY 0,ret1
- SHD,= t1,arg0,24,t1
-$1:
- ADDB,TR t1,ret1,$2
- EXTRU arg0,31,24,arg0
-
- bv,n 0(r31)
-
-$2:
- ADDB,TR t1,arg0,$1
- EXTRU,= arg0,7,8,t1
-
-$neg7:
- SUBI 1,arg0,arg0
-$8:
- SHD 0,arg0,29,ret1
- SH3ADD arg0,arg0,arg0
- ADDC ret1,0,ret1
-
-$neg7_shift:
- SHD ret1,arg0,26,t1
- SHD arg0,0,26,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,ret1
-
- SHD ret1,arg0,20,t1
- SHD arg0,0,20,t2
- ADD arg0,t2,arg0
- ADDC ret1,t1,t1
-
-
-
- COPY 0,ret1
- SHD,= t1,arg0,24,t1
-$3:
- ADDB,TR t1,ret1,$4
- EXTRU arg0,31,24,arg0
-
- bv 0(r31)
- SUB 0,ret1,ret1
-
-$4:
- ADDB,TR t1,arg0,$3
- EXTRU,= arg0,7,8,t1
-
-$$divU_7:
- .EXPORT $$divU_7,MILLICODE
- ADDI 1,arg0,arg0
- ADDC 0,0,ret1
- SHD ret1,arg0,29,t1
- SH3ADD arg0,arg0,arg0
- B $pos7
- ADDC t1,ret1,ret1
-
-
-$$divI_9:
- .EXPORT $$divI_9,MILLICODE
- COMB,<,N arg0,0,$neg9
- ADDI 1,arg0,arg0
- SHD 0,arg0,29,t1
- SHD arg0,0,29,t2
- SUB t2,arg0,arg0
- B $pos7
- SUBB t1,0,ret1
-
-$neg9:
- SUBI 1,arg0,arg0
- SHD 0,arg0,29,t1
- SHD arg0,0,29,t2
- SUB t2,arg0,arg0
- B $neg7_shift
- SUBB t1,0,ret1
-
-$$divU_9:
- .EXPORT $$divU_9,MILLICODE
- ADDI 1,arg0,arg0
- ADDC 0,0,ret1
- SHD ret1,arg0,29,t1
- SHD arg0,0,29,t2
- SUB t2,arg0,arg0
- B $pos7
- SUBB t1,ret1,ret1
-
-
-$$divI_14:
- .EXPORT $$divI_14,MILLICODE
- COMB,<,N arg0,0,$neg14
-$$divU_14:
- .EXPORT $$divU_14,MILLICODE
- B $7
- EXTRU arg0,30,31,arg0
-
-$neg14:
- SUBI 2,arg0,arg0
- B $8
- EXTRU arg0,30,31,arg0
-
- .exit
- .PROCEND
- .END
-
-rmndr: .EQU ret1 ; r29
-
-
- .export $$remU,millicode
-$$remU:
- .proc
- .callinfo millicode
- .entry
-
- comib,>=,n 0,arg1,special_case
- sub r0,arg1,rmndr ; clear carry, negate the divisor
- ds r0,rmndr,r0 ; set V-bit to 1
- add arg0,arg0,temp ; shift msb bit into carry
- ds r0,arg1,rmndr ; 1st divide step, if no carry
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 2nd divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 3rd divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 4th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 5th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 6th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 7th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 8th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 9th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 10th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 11th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 12th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 13th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 14th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 15th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 16th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 17th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 18th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 19th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 20th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 21st divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 22nd divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 23rd divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 24th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 25th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 26th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 27th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 28th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 29th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 30th divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 31st divide step
- addc temp,temp,temp ; shift temp with/into carry
- ds rmndr,arg1,rmndr ; 32nd divide step,
- comiclr,<= 0,rmndr,r0
- add rmndr,arg1,rmndr ; correction
-; .exit
- bv,n 0(r31)
- nop
-; Putting >= on the last DS and deleting COMICLR does not work!
-;_____________________________________________________________________________
-special_case:
- addit,= 0,arg1,r0 ; trap on div by zero
- sub,>>= arg0,arg1,rmndr
- copy arg0,rmndr
- bv,n 0(r31)
- nop
- .exit
- .procend
- .end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-; Use bv 0(r31) and bv,n 0(r31) instead.
-; #define return bv 0(%mrp)
-; #define return_n bv,n 0(%mrp)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .subspa $MILLICODE$
- .align 16
-$$mulI:
-
- .proc
- .callinfo millicode
- .entry
- .export $$mulI, millicode
- combt,<<= %r25,%r26,l4 ; swap args if unsigned %r25>%r26
- copy 0,%r29 ; zero out the result
- xor %r26,%r25,%r26 ; swap %r26 & %r25 using the
- xor %r26,%r25,%r25 ; old xor trick
- xor %r26,%r25,%r26
-l4: combt,<= 0,%r26,l3 ; if %r26>=0 then proceed like unsigned
-
- zdep %r25,30,8,%r1 ; %r1 = (%r25&0xff)<<1 *********
- sub,> 0,%r25,%r1 ; otherwise negate both and
- combt,<=,n %r26,%r1,l2 ; swap back if |%r26|<|%r25|
- sub 0,%r26,%r25
- movb,tr,n %r1,%r26,l2 ; 10th inst.
-
-l0: add %r29,%r1,%r29 ; add in this partial product
-
-l1: zdep %r26,23,24,%r26 ; %r26 <<= 8 ******************
-
-l2: zdep %r25,30,8,%r1 ; %r1 = (%r25&0xff)<<1 *********
-
-l3: blr %r1,0 ; case on these 8 bits ******
-
- extru %r25,23,24,%r25 ; %r25 >>= 8 ******************
-
-;16 insts before this.
-; %r26 <<= 8 **************************
-x0: comb,<> %r25,0,l2 ! zdep %r26,23,24,%r26 ! bv,n 0(r31) ! nop
-
-x1: comb,<> %r25,0,l1 ! add %r29,%r26,%r29 ! bv,n 0(r31) ! nop
-
-x2: comb,<> %r25,0,l1 ! sh1add %r26,%r29,%r29 ! bv,n 0(r31) ! nop
-
-x3: comb,<> %r25,0,l0 ! sh1add %r26,%r26,%r1 ! bv 0(r31) ! add %r29,%r1,%r29
-
-x4: comb,<> %r25,0,l1 ! sh2add %r26,%r29,%r29 ! bv,n 0(r31) ! nop
-
-x5: comb,<> %r25,0,l0 ! sh2add %r26,%r26,%r1 ! bv 0(r31) ! add %r29,%r1,%r29
-
-x6: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh1add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x7: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r26,%r29,%r29 ! b,n ret_t0
-
-x8: comb,<> %r25,0,l1 ! sh3add %r26,%r29,%r29 ! bv,n 0(r31) ! nop
-
-x9: comb,<> %r25,0,l0 ! sh3add %r26,%r26,%r1 ! bv 0(r31) ! add %r29,%r1,%r29
-
-x10: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh1add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x11: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r26,%r29,%r29 ! b,n ret_t0
-
-x12: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh2add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x13: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r26,%r29,%r29 ! b,n ret_t0
-
-x14: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x15: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh1add %r1,%r1,%r1 ! b,n ret_t0
-
-x16: zdep %r26,27,28,%r1 ! comb,<> %r25,0,l1 ! add %r29,%r1,%r29 ! bv,n 0(r31)
-
-x17: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r26,%r1,%r1 ! b,n ret_t0
-
-x18: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh1add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x19: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh1add %r1,%r26,%r1 ! b,n ret_t0
-
-x20: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh2add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x21: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r26,%r1 ! b,n ret_t0
-
-x22: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x23: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x24: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh3add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x25: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r1,%r1 ! b,n ret_t0
-
-x26: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x27: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r1,%r1,%r1 ! b,n ret_t0
-
-x28: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x29: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x30: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x31: zdep %r26,26,27,%r1 ! comb,<> %r25,0,l0 ! sub %r1,%r26,%r1 ! b,n ret_t0
-
-x32: zdep %r26,26,27,%r1 ! comb,<> %r25,0,l1 ! add %r29,%r1,%r29 ! bv,n 0(r31)
-
-x33: sh3add %r26,0,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r26,%r1 ! b,n ret_t0
-
-x34: zdep %r26,27,28,%r1 ! add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x35: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh3add %r26,%r1,%r1
-
-x36: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh2add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x37: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r26,%r1 ! b,n ret_t0
-
-x38: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x39: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x40: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh3add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x41: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r1,%r26,%r1 ! b,n ret_t0
-
-x42: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x43: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x44: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x45: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r1,%r1 ! b,n ret_t0
-
-x46: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! add %r1,%r26,%r1
-
-x47: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh1add %r26,%r1,%r1
-
-x48: sh1add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! zdep %r1,27,28,%r1 ! b,n ret_t0
-
-x49: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r26,%r1,%r1
-
-x50: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x51: sh3add %r26,%r26,%r1 ! sh3add %r26,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x52: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x53: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x54: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x55: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x56: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x57: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x58: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x59: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t02a0 ! sh1add %r1,%r1,%r1
-
-x60: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x61: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x62: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x63: zdep %r26,25,26,%r1 ! comb,<> %r25,0,l0 ! sub %r1,%r26,%r1 ! b,n ret_t0
-
-x64: zdep %r26,25,26,%r1 ! comb,<> %r25,0,l1 ! add %r29,%r1,%r29 ! bv,n 0(r31)
-
-x65: sh3add %r26,0,%r1 ! comb,<> %r25,0,l0 ! sh3add %r1,%r26,%r1 ! b,n ret_t0
-
-x66: zdep %r26,26,27,%r1 ! add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x67: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x68: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x69: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x70: zdep %r26,25,26,%r1 ! sh2add %r26,%r1,%r1 ! b e_t0 ! sh1add %r26,%r1,%r1
-
-x71: sh3add %r26,%r26,%r1 ! sh3add %r1,0,%r1 ! b e_t0 ! sub %r1,%r26,%r1
-
-x72: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh3add %r1,%r29,%r29 ! bv,n 0(r31)
-
-x73: sh3add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_shift ! add %r29,%r1,%r29
-
-x74: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x75: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x76: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x77: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x78: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x79: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1
-
-x80: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! add %r29,%r1,%r29
-
-x81: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_shift ! add %r29,%r1,%r29
-
-x82: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x83: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x84: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x85: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x86: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x87: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_t02a0 ! sh2add %r26,%r1,%r1
-
-x88: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x89: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x90: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x91: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x92: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1
-
-x93: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x94: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh1add %r26,%r1,%r1
-
-x95: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x96: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x97: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x98: zdep %r26,26,27,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh1add %r26,%r1,%r1
-
-x99: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x100: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x101: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x102: zdep %r26,26,27,%r1 ! sh1add %r26,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x103: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t02a0 ! sh2add %r1,%r26,%r1
-
-x104: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x105: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x106: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x107: sh3add %r26,%r26,%r1 ! sh2add %r26,%r1,%r1 ! b e_t02a0 ! sh3add %r1,%r26,%r1
-
-x108: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x109: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x110: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x111: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x112: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! zdep %r1,27,28,%r1
-
-x113: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t02a0 ! sh1add %r1,%r1,%r1
-
-x114: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r1,%r1
-
-x115: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r1,%r1
-
-x116: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh2add %r1,%r26,%r1
-
-x117: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r1,%r1
-
-x118: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0a0 ! sh3add %r1,%r1,%r1
-
-x119: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t02a0 ! sh3add %r1,%r1,%r1
-
-x120: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x121: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x122: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x123: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x124: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x125: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x126: zdep %r26,25,26,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x127: zdep %r26,24,25,%r1 ! comb,<> %r25,0,l0 ! sub %r1,%r26,%r1 ! b,n ret_t0
-
-x128: zdep %r26,24,25,%r1 ! comb,<> %r25,0,l1 ! add %r29,%r1,%r29 ! bv,n 0(r31)
-
-x129: zdep %r26,24,25,%r1 ! comb,<> %r25,0,l0 ! add %r1,%r26,%r1 ! b,n ret_t0
-
-x130: zdep %r26,25,26,%r1 ! add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x131: sh3add %r26,0,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x132: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x133: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x134: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x135: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x136: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x137: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x138: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x139: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0a0 ! sh2add %r1,%r26,%r1
-
-x140: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh2add %r1,%r1,%r1
-
-x141: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0a0 ! sh1add %r1,%r26,%r1
-
-x142: sh3add %r26,%r26,%r1 ! sh3add %r1,0,%r1 ! b e_2t0 ! sub %r1,%r26,%r1
-
-x143: zdep %r26,27,28,%r1 ! sh3add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1
-
-x144: sh3add %r26,%r26,%r1 ! sh3add %r1,0,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x145: sh3add %r26,%r26,%r1 ! sh3add %r1,0,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x146: sh3add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x147: sh3add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x148: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x149: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x150: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x151: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r26,%r1
-
-x152: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x153: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x154: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x155: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x156: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1
-
-x157: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_t02a0 ! sh2add %r1,%r1,%r1
-
-x158: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sub %r1,%r26,%r1
-
-x159: zdep %r26,26,27,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1
-
-x160: sh2add %r26,%r26,%r1 ! sh2add %r1,0,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x161: sh3add %r26,0,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x162: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x163: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1
-
-x164: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x165: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x166: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x167: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r26,%r1
-
-x168: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x169: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x170: zdep %r26,26,27,%r1 ! sh1add %r26,%r1,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x171: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r1,%r1
-
-x172: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1
-
-x173: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t02a0 ! sh3add %r1,%r1,%r1
-
-x174: zdep %r26,26,27,%r1 ! sh1add %r26,%r1,%r1 ! b e_t04a0 ! sh2add %r1,%r1,%r1
-
-x175: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_5t0 ! sh1add %r1,%r26,%r1
-
-x176: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_8t0 ! add %r1,%r26,%r1
-
-x177: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_8t0a0 ! add %r1,%r26,%r1
-
-x178: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh3add %r1,%r26,%r1
-
-x179: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0a0 ! sh3add %r1,%r26,%r1
-
-x180: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x181: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x182: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh1add %r1,%r26,%r1
-
-x183: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0a0 ! sh1add %r1,%r26,%r1
-
-x184: sh2add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_4t0 ! add %r1,%r26,%r1
-
-x185: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x186: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r1,%r1
-
-x187: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t02a0 ! sh2add %r1,%r1,%r1
-
-x188: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_4t0 ! sh1add %r26,%r1,%r1
-
-x189: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r1,%r1
-
-x190: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r1,%r1
-
-x191: zdep %r26,25,26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1
-
-x192: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x193: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x194: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x195: sh3add %r26,0,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x196: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1
-
-x197: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_4t0a0 ! sh1add %r1,%r26,%r1
-
-x198: zdep %r26,25,26,%r1 ! sh1add %r26,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x199: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r1,%r1
-
-x200: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x201: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x202: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x203: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0a0 ! sh2add %r1,%r26,%r1
-
-x204: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh1add %r1,%r1,%r1
-
-x205: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x206: zdep %r26,25,26,%r1 ! sh2add %r26,%r1,%r1 ! b e_t02a0 ! sh1add %r1,%r1,%r1
-
-x207: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_3t0 ! sh2add %r1,%r26,%r1
-
-x208: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_8t0 ! add %r1,%r26,%r1
-
-x209: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_8t0a0 ! add %r1,%r26,%r1
-
-x210: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh2add %r1,%r1,%r1
-
-x211: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh2add %r1,%r1,%r1
-
-x212: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_4t0 ! sh2add %r1,%r26,%r1
-
-x213: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_4t0a0 ! sh2add %r1,%r26,%r1
-
-x214: sh3add %r26,%r26,%r1 ! sh2add %r26,%r1,%r1 ! b e2t04a0 ! sh3add %r1,%r26,%r1
-
-x215: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_5t0 ! sh1add %r1,%r26,%r1
-
-x216: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x217: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x218: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%r26,%r1
-
-x219: sh3add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x220: sh1add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1
-
-x221: sh1add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_4t0a0 ! sh1add %r1,%r26,%r1
-
-x222: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r1,%r1
-
-x223: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r1,%r1
-
-x224: sh3add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_8t0 ! add %r1,%r26,%r1
-
-x225: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r1,%r1
-
-x226: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t02a0 ! zdep %r1,26,27,%r1
-
-x227: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t02a0 ! sh2add %r1,%r1,%r1
-
-x228: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh1add %r1,%r1,%r1
-
-x229: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0a0 ! sh1add %r1,%r1,%r1
-
-x230: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_5t0 ! add %r1,%r26,%r1
-
-x231: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_3t0 ! sh2add %r1,%r26,%r1
-
-x232: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_8t0 ! sh2add %r1,%r26,%r1
-
-x233: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_8t0a0 ! sh2add %r1,%r26,%r1
-
-x234: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh3add %r1,%r1,%r1
-
-x235: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh3add %r1,%r1,%r1
-
-x236: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e4t08a0 ! sh1add %r1,%r1,%r1
-
-x237: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_3t0 ! sub %r1,%r26,%r1
-
-x238: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e2t04a0 ! sh3add %r1,%r1,%r1
-
-x239: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0ma0 ! sh1add %r1,%r1,%r1
-
-x240: sh3add %r26,%r26,%r1 ! add %r1,%r26,%r1 ! b e_8t0 ! sh1add %r1,%r1,%r1
-
-x241: sh3add %r26,%r26,%r1 ! add %r1,%r26,%r1 ! b e_8t0a0 ! sh1add %r1,%r1,%r1
-
-x242: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh3add %r1,%r26,%r1
-
-x243: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1
-
-x244: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_4t0 ! sh2add %r1,%r26,%r1
-
-x245: sh3add %r26,0,%r1 ! sh1add %r1,%r1,%r1 ! b e_5t0 ! sh1add %r1,%r26,%r1
-
-x246: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,%r1,%r1
-
-x247: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r1,%r1
-
-x248: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh3add %r1,%r29,%r29
-
-x249: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1
-
-x250: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%r1,%r1
-
-x251: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0a0 ! sh2add %r1,%r1,%r1
-
-x252: zdep %r26,25,26,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh2add %r1,%r29,%r29
-
-x253: zdep %r26,25,26,%r1 ! sub %r1,%r26,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1
-
-x254: zdep %r26,24,25,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29
-
-x255: zdep %r26,23,24,%r1 ! comb,<> %r25,0,l0 ! sub %r1,%r26,%r1 ! b,n ret_t0
-
-;1040 insts before this.
-ret_t0: bv 0(r31)
-
-e_t0: add %r29,%r1,%r29
-
-e_shift: comb,<> %r25,0,l2
-
- zdep %r26,23,24,%r26 ; %r26 <<= 8 ***********
- bv,n 0(r31)
-e_t0ma0: comb,<> %r25,0,l0
-
- sub %r1,%r26,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_t0a0: comb,<> %r25,0,l0
-
- add %r1,%r26,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_t02a0: comb,<> %r25,0,l0
-
- sh1add %r26,%r1,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_t04a0: comb,<> %r25,0,l0
-
- sh2add %r26,%r1,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_2t0: comb,<> %r25,0,l1
-
- sh1add %r1,%r29,%r29
- bv,n 0(r31)
-e_2t0a0: comb,<> %r25,0,l0
-
- sh1add %r1,%r26,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e2t04a0: sh1add %r26,%r1,%r1
-
- comb,<> %r25,0,l1
- sh1add %r1,%r29,%r29
- bv,n 0(r31)
-e_3t0: comb,<> %r25,0,l0
-
- sh1add %r1,%r1,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_4t0: comb,<> %r25,0,l1
-
- sh2add %r1,%r29,%r29
- bv,n 0(r31)
-e_4t0a0: comb,<> %r25,0,l0
-
- sh2add %r1,%r26,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e4t08a0: sh1add %r26,%r1,%r1
-
- comb,<> %r25,0,l1
- sh2add %r1,%r29,%r29
- bv,n 0(r31)
-e_5t0: comb,<> %r25,0,l0
-
- sh2add %r1,%r1,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-e_8t0: comb,<> %r25,0,l1
-
- sh3add %r1,%r29,%r29
- bv,n 0(r31)
-e_8t0a0: comb,<> %r25,0,l0
-
- sh3add %r1,%r26,%r1
- bv 0(r31)
- add %r29,%r1,%r29
-
- .exit
- .procend
- .end
-
- .import $$divI_2,millicode
- .import $$divI_3,millicode
- .import $$divI_4,millicode
- .import $$divI_5,millicode
- .import $$divI_6,millicode
- .import $$divI_7,millicode
- .import $$divI_8,millicode
- .import $$divI_9,millicode
- .import $$divI_10,millicode
- .import $$divI_12,millicode
- .import $$divI_14,millicode
- .import $$divI_15,millicode
- .export $$divI,millicode
- .export $$divoI,millicode
-$$divoI:
- .proc
- .callinfo millicode
- .entry
- comib,=,n -1,arg1,negative1 ; when divisor == -1
-$$divI:
- comib,>>=,n 15,arg1,small_divisor
- add,>= 0,arg0,retreg ; move dividend, if retreg < 0,
-normal1:
- sub 0,retreg,retreg ; make it positive
- sub 0,arg1,temp ; clear carry,
- ; negate the divisor
- ds 0,temp,0 ; set V-bit to the comple-
- ; ment of the divisor sign
- add retreg,retreg,retreg ; shift msb bit into carry
- ds r0,arg1,temp ; 1st divide step, if no carry
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 2nd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 3rd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 4th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 5th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 6th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 7th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 8th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 9th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 10th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 11th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 12th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 13th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 14th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 15th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 16th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 17th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 18th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 19th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 20th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 21st divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 22nd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 23rd divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 24th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 25th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 26th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 27th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 28th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 29th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 30th divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 31st divide step
- addc retreg,retreg,retreg ; shift retreg with/into carry
- ds temp,arg1,temp ; 32nd divide step,
- addc retreg,retreg,retreg ; shift last retreg bit into retreg
- xor,>= arg0,arg1,0 ; get correct sign of quotient
- sub 0,retreg,retreg ; based on operand signs
- bv,n 0(r31)
- nop
-;______________________________________________________________________
-small_divisor:
- blr,n arg1,r0
- nop
-; table for divisor == 0,1, ... ,15
- addit,= 0,arg1,r0 ; trap if divisor == 0
- nop
- bv 0(r31) ; divisor == 1
- copy arg0,retreg
- b,n $$divI_2 ; divisor == 2
- nop
- b,n $$divI_3 ; divisor == 3
- nop
- b,n $$divI_4 ; divisor == 4
- nop
- b,n $$divI_5 ; divisor == 5
- nop
- b,n $$divI_6 ; divisor == 6
- nop
- b,n $$divI_7 ; divisor == 7
- nop
- b,n $$divI_8 ; divisor == 8
- nop
- b,n $$divI_9 ; divisor == 9
- nop
- b,n $$divI_10 ; divisor == 10
- nop
- b normal1 ; divisor == 11
- add,>= 0,arg0,retreg
- b,n $$divI_12 ; divisor == 12
- nop
- b normal1 ; divisor == 13
- add,>= 0,arg0,retreg
- b,n $$divI_14 ; divisor == 14
- nop
- b,n $$divI_15 ; divisor == 15
- nop
-;______________________________________________________________________
-negative1:
- sub 0,arg0,retreg ; result is negation of dividend
- bv 0(r31)
- addo arg0,arg1,r0 ; trap iff dividend==0x80000000 && divisor==-1
- .exit
- .procend
-
- .subspa $LIT$
-___hp_free_copyright:
- .export ___hp_free_copyright,data
- .align 4
- .string "(c) Copyright 1986 HEWLETT-PACKARD COMPANY\x0aTo anyone who acknowledges that this file is provided \"AS IS\"\x0awithout any express or implied warranty:\x0a permission to use, copy, modify, and distribute this file\x0afor any purpose is hereby granted without fee, provided that\x0athe above copyright notice and this notice appears in all\x0acopies, and that the name of Hewlett-Packard Company not be\x0aused in advertising or publicity pertaining to distribution\x0aof the software without specific, written prior permission.\x0aHewlett-Packard Company makes no representations about the\x0asuitability of this software for any purpose.\x0a\x00"
- .align 4
- .end
diff --git a/libgloss/pa/op50n-io.S b/libgloss/pa/op50n-io.S
deleted file mode 100644
index 25328ef..0000000
--- a/libgloss/pa/op50n-io.S
+++ /dev/null
@@ -1,120 +0,0 @@
-/* op50n-io.S -- low-level I/O routines for the Oki OP50N eval board.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-mon_start .EQU 0xd0000000
-where_dp .EQU mon_start+4*4
-where_ci .EQU mon_start+14*4
-where_co .EQU mon_start+15*4
-where_read .EQU mon_start+22*4
-where_write .EQU mon_start+23*4
-
-/*
- *int c = inbyte(wait);
- */
- .space $TEXT$
- .align 4
- .EXPORT inbyte,CODE,ARGW0=GR,RTNVAL=GR
-inbyte
- .PROC
- .CALLINFO CALLER,FRAME=64,SAVE_RP
- .ENTRY
- stw %r2,-20(0,%r30)
- ldo 64(%r30),%r30
- stw %r27,-56(0,%r30) ; save my dp
- ldil l%where_dp,%r27 ; load monitors dp
- ldw r%where_dp(0,%r27),%r27
- ldil l%where_ci,%r1
- ldw r%where_ci(0,%r1),%r1
- ble 0(0,%r1)
- copy %r31,%r2
- ldw -56(0,%r30),%r27 ; load my dp
- ldw -84(0,%r30),%r2
- ldo -64(%r30),%r30
- bv %r0(%r2)
- nop
- .EXIT
- .PROCEND
-
-/* int c = outbyte(c);
-*/
- .EXPORT outbyte,CODE,ARGW0=GR,RTNVAL=GR
-outbyte
- .PROC
- .CALLINFO CALLER,FRAME=64,SAVE_RP
- .ENTRY
- stw %r2,-20(0,%r30)
- ldo 64(%r30),%r30
- stw %r27,-56(0,%r30) ; save my dp
- ldil l%where_dp,%r27 ; load monitors dp
- ldw r%where_dp(0,%r27),%r27
- ldil l%where_co,%r1
- ldw r%where_co(0,%r1),%r1
- ble 0(0,%r1)
- copy %r31,%r2
- ldw -56(0,%r30),%r27 ; load my dp
- ldw -84(0,%r30),%r2
- ldo -64(%r30),%r30
- bv %r0(%r2)
- nop
- .EXIT
- .PROCEND
-
-#if 0
-/* cnt = read(fd, bufp, cnt);
-*/
- .EXPORT read,CODE,ARGW0=NO,ARGW1=NO,ARGW2=NO,ARGW3=NO,RTNVAL=NO
-read
- .PROC
- .CALLINFO FRAME=64,CALLS,SAVE_RP
- .ENTRY
- stw %r2,-20(0,%r30)
- ldo 64(%r30),%r30
- stw %dp,-56(0,%r30) ; save my dp
- ldil l%where_dp,%dp ; load monitors dp
- ldw r%where_dp(0,%dp), %dp
- ldil l%where_read,%r1
- ldw r%where_read(0,%r1), %r1
- ble 0(0,%r1)
- copy %r31,%r2
- ldw -56(0,%r30),%dp ; load my dp
- ldw -84(0,%r30),%r2
- bv %r0(%r2)
- ldo -64(%r30),%r30
- .EXIT
- .PROCEND
-
-/* cnt = write(fd, bufp, cnt);
-*/
- .EXPORT write,CODE,ARGW0=NO,ARGW1=NO,ARGW2=NO,ARGW3=NO,RTNVAL=NO
-write
- .PROC
- .CALLINFO FRAME=64,CALLS,SAVE_RP
- .ENTRY
- stw %r2,-20(0,%r30)
- ldo 64(%r30),%r30
- stw %dp,-56(0,%r30) ; save my dp
- ldil l%where_dp,%dp ; load monitors dp
- ldw r%where_dp(0,%dp), %dp
- ldil l%where_write,%r1
- ldw r%where_write(0,%r1), %r1
- ble 0(0,%r1)
- copy %r31,%r2
- ldw -56(0,%r30),%dp ; load my dp
- ldw -84(0,%r30),%r2
- bv %r0(%r2)
- ldo -64(%r30),%r30
- .EXIT
- .PROCEND
-#endif
diff --git a/libgloss/pa/op50n.h b/libgloss/pa/op50n.h
deleted file mode 100644
index 7f73109..0000000
--- a/libgloss/pa/op50n.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* op50n.h -- Support definitions for the Oki OP50N target board
- *
- * Copyright (c) 1995 Cygnus Support
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef __OP50N_H__
-#define __OP50N_H__
-
-#define LED_ADDR 0xfc000059
-#define LED_0 0x1
-#define LED_1 0x2
-#define LED_2 0x4
-#define LED_3 0x8
-#define LED_4 0x10
-
-extern void led_putnum( char );
-#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
-
-#endif /* __OP50N_H__ */
-
-
-
diff --git a/libgloss/pa/op50n.ld b/libgloss/pa/op50n.ld
deleted file mode 100644
index 0d8601f..0000000
--- a/libgloss/pa/op50n.ld
+++ /dev/null
@@ -1,54 +0,0 @@
-OUTPUT_ARCH(hppa)
-ENTRY("$START$")
-STARTUP(crt0.o)
-GROUP(-lc -lop50n -lgcc)
-SEARCH_DIR(.)
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x40000, LENGTH = 0x100000
-}
-
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.PARISC.stubs)
- *(.text)
- etext = . ;
- _etext = . ;
- __CTOR_LIST__ = . ;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = . ;
- __DTOR_LIST__ = . ;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = . ;
- *(.lit)
- *(.shdata)
- $global$ = ALIGN(4) ;
- . += 4;
- } > ram
-
- .data : {
- *(.data)
- CONSTRUCTORS
- edata = . ;
- _edata = . ;
- } > ram
-
- .bss : {
- _bss_start = ALIGN(4) ;
- *(.bss)
- *(COMMON)
- _stack = ALIGN(64) ; /* Stack grows up on the PA!!! */
- . += 0x2000 ;
- end = . ;
- _end = . ;
- } > ram
-
-}
diff --git a/libgloss/pa/op50nled.c b/libgloss/pa/op50nled.c
deleted file mode 100644
index b6b35be..0000000
--- a/libgloss/pa/op50nled.c
+++ /dev/null
@@ -1,81 +0,0 @@
-/* op50nled.c -- fucntions that manipulate the LEDs.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "op50n.h"
-
-void zylons();
-void strobe();
-void led_putnum();
-void delay();
-
-/*
- * led_putnum -- print a hex number on the LED. the value of num must be a byte.
- * The max number 15, since the front panel only has 4 LEDs.
- */
-void
-led_putnum ( num )
-char num;
-{
- static unsigned char *leds = (unsigned char *)LED_ADDR;
-
-/** *leds = (num << 4); **/
- *leds = num;
-}
-
-/*
- * strobe -- do a zylons thing, toggling each led in sequence forever...
- */
-void
-zylons()
-{
- while (1) {
- strobe();
- }
-}
-
-/*
- * strobe -- toggle each led in sequence up and back once.
- */
-void
-strobe()
-{
- static unsigned char curled;
- static unsigned char dir;
-
- curled = 1;
- dir = 0;
- while (curled != 0) {
- led_putnum (curled);
- delay (70000);
- if (dir)
- curled >>= 1;
- else
- curled <<= 1;
-
- if (curled == 0x100) {
- dir = ~dir;
- }
- }
- curled = 1;
- dir = 0;
-}
-
-void
-delay (x)
- int x;
-{
- int y = 17;
- while (x-- !=0)
- y = y^2;
-}
diff --git a/libgloss/pa/setjmp.S b/libgloss/pa/setjmp.S
deleted file mode 100644
index aa10087..0000000
--- a/libgloss/pa/setjmp.S
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Copyright (c) 1990,1994 The University of Utah and
- * the Computer Systems Laboratory (CSL). All rights reserved.
- *
- * Permission to use, copy, modify and distribute this software is hereby
- * granted provided that (1) source code retains these copyright, permission,
- * and disclaimer notices, and (2) redistributions including binaries
- * reproduce the notices in supporting documentation, and (3) all advertising
- * materials mentioning features or use of this software display the following
- * acknowledgement: ``This product includes software developed by the
- * Computer Systems Laboratory at the University of Utah.''
- *
- * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
- * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
- * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * CSL requests users of this software to return to csl-dist@cs.utah.edu any
- * improvements that they make and grant CSL redistribution rights.
- *
- * Utah $Hdr: _setjmp.s 1.9 94/12/16$
- */
-
- .space $TEXT$
- .subspa $CODE$
-
-/*
- * The PA jmp_buf is 48 words arranged as follows:
- *
- * 0- 9: sigcontext
- * 10-26: callee save GRs (r3-r18) and DP (r27)
- * 27: callee save SRs (sr3)
- * 28-47: callee save FRs (fr12-fr21)
- */
-
-/*
- * int
- * setjmp(env)
- * jmp_buf env;
- *
- * This routine does not restore signal state.
- */
-
- .export setjmp,entry
- .export _setjmp,entry
- .proc
- .callinfo
-setjmp
-_setjmp
- .entry
-
- /*
- * save sp and rp in sigcontext, skip the rest
- */
- stw %r30,8(%r26)
- stw %r2,24(%r26)
- ldo 40(%r26),%r26
-
- /*
- * save dp and the callee saves registers
- */
- stwm %r3,4(%r26)
- stwm %r4,4(%r26)
- stwm %r5,4(%r26)
- stwm %r6,4(%r26)
- stwm %r7,4(%r26)
- stwm %r8,4(%r26)
- stwm %r9,4(%r26)
- stwm %r10,4(%r26)
- stwm %r11,4(%r26)
- stwm %r12,4(%r26)
- stwm %r13,4(%r26)
- stwm %r14,4(%r26)
- stwm %r15,4(%r26)
- stwm %r16,4(%r26)
- stwm %r17,4(%r26)
- stwm %r18,4(%r26)
- stwm %r27,4(%r26)
-
- mfsp %sr3,%r9
- stwm %r9,4(%r26)
-
- bv 0(%r2)
- copy %r0,%r28
- .exit
- .procend
-
-/*
- * void
- * longjmp(env, val)
- * jmp_buf env;
- * int val;
- *
- * This routine does not retore signal state.
- * This routine does not override a zero val.
- */
-
- .export longjmp,entry
- .export _longjmp,entry
- .proc
- .callinfo
-longjmp
-_longjmp
-
- .entry
-
- /*
- * restore sp and rp
- */
- ldw 8(%r26),%r30
- ldw 24(%r26),%r2
- ldo 40(%r26),%r26
-
- /*
- * restore callee saves registers
- */
- ldwm 4(%r26),%r3
- ldwm 4(%r26),%r4
- ldwm 4(%r26),%r5
- ldwm 4(%r26),%r6
- ldwm 4(%r26),%r7
- ldwm 4(%r26),%r8
- ldwm 4(%r26),%r9
- ldwm 4(%r26),%r10
- ldwm 4(%r26),%r11
- ldwm 4(%r26),%r12
- ldwm 4(%r26),%r13
- ldwm 4(%r26),%r14
- ldwm 4(%r26),%r15
- ldwm 4(%r26),%r16
- ldwm 4(%r26),%r17
- ldwm 4(%r26),%r18
- ldwm 4(%r26),%r27
-
- ldwm 4(%r26),%r9
- mtsp %r9,%sr3
-
- bv 0(%r2)
- copy %r25,%r28
- .exit
- .procend
diff --git a/libgloss/pa/test.c b/libgloss/pa/test.c
deleted file mode 100644
index 4aefee6..0000000
--- a/libgloss/pa/test.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-extern int led_putnum();
-extern char putDebugChar(),print(),putnum();
-#include <stdio.h>
-
-main()
-{
- float a1,b1,c1;
- int a2, b2, c2;
-
- a1 = 0.41;
- b1 = 3.12;
- c1 = a1+b1;
-
- a2 = 1;
- b2 = 2;
- c2 = a2 + b2;
-
- iprintf ("Print integer, result = %d\n", c2);
- fflush (stdout);
- putnum (c1);
- outbyte ('\n');
- printf ("Print float, result with 'f' = %f\n", c1);
- printf ("Print float, result with 'e' = %e\n", c1);
- printf ("Print float, result with 'E' = %E\n", c1);
- printf ("Print float, result with 'g' = %g\n", c1);
- printf ("Print float, result with 'G' = %G\n", c1);
- fflush (stdout);
- print ("Done...\n");
-}
diff --git a/libgloss/pa/w89k-io.c b/libgloss/pa/w89k-io.c
deleted file mode 100644
index 2d98a81..0000000
--- a/libgloss/pa/w89k-io.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/* w89k-io.c -- I/O code for the Winbond Cougar board.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "w89k.h"
-
-void zylons();
-void led_putnum();
-void delay();
-
-/*
- * outbyte -- shove a byte out the serial port. We wait till the byte
- */
-void
-outbyte (byte)
- unsigned char byte;
-{
- while ((inp(COM1_LSR) & TRANSMIT) == 0x0) ;
-
- outp (COM1_DATA, byte);
-
- return;
-}
-
-/*
- * inbyte -- get a byte from the serial port
- */
-unsigned char
-inbyte ()
-{
- while ((inp(COM1_LSR) & RECEIVE) == 0x0) ;
-
- return (inp(COM1_DATA));
-}
-
-/*
- * led_putnum -- print a hex number on the LED. the value of num must be a byte.
- * The max number 15, since the front panel only has 4 LEDs.
- */
-void
-led_putnum ( num )
-char num;
-{
- print ("Sorry, no LED's on the WinBond W89k board, using putnum instead\r\n");
- putnum (num);
-}
-
-/*
- * zylons -- draw a rotating pattern. NOTE: this function never returns.
- */
-void
-zylons()
-{
- print ("Sorry, no LED's on the WinBond W89k board\r\n");
-}
-
-void
-delay (x)
- int x;
-{
- int y = 17;
- while (x-- !=0)
- y = y^2;
-}
diff --git a/libgloss/pa/w89k.h b/libgloss/pa/w89k.h
deleted file mode 100644
index 9e16e91..0000000
--- a/libgloss/pa/w89k.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- * The w89k uses a memory mapped I/O scheme as well as a PC style ISA bus.
- * All I/O accesses are via a port.
- */
-#define IOSPACE 0xf0000000
-#define outp(port,val) *((volatile unsigned char*)(IOSPACE+port))=val
-#define inp(port) *((volatile unsigned char*)(IOSPACE+port))
-#define RS232PORT 0x3f8
-#define COM1_LSR (0x3f8 + 5)
-#define COM1_DATA (0x3f8 + 0)
-
-#define RS232REG 0x3fd
-#define TRANSMIT 0x20
-#define RECEIVE 0x01
diff --git a/libgloss/pa/w89k.ld b/libgloss/pa/w89k.ld
deleted file mode 100644
index 721e83b..0000000
--- a/libgloss/pa/w89k.ld
+++ /dev/null
@@ -1,54 +0,0 @@
-OUTPUT_ARCH(hppa)
-ENTRY("$START$")
-STARTUP(crt0.o)
-GROUP(-lc -lw89k -lgcc)
-SEARCH_DIR(.)
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x100000, LENGTH = 0x100000
-}
-
-SECTIONS
-{
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.PARISC.stubs)
- *(.text)
- etext = . ;
- _etext = . ;
- __CTOR_LIST__ = . ;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = . ;
- __DTOR_LIST__ = . ;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = . ;
- *(.lit)
- *(.shdata)
- $global$ = ALIGN(4) ;
- . += 4;
- } > ram
-
- .data : {
- *(.data)
- CONSTRUCTORS
- edata = . ;
- _edata = . ;
- } > ram
-
- .bss : {
- _bss_start = ALIGN(4) ;
- *(.bss)
- *(COMMON)
- _stack = ALIGN(64) ; /* Stack grows up on the PA!!! */
- . += 0x2000 ;
- end = . ;
- _end = . ;
- } > ram
-
-}
diff --git a/libgloss/print.c b/libgloss/print.c
deleted file mode 100644
index 8f78ff2..0000000
--- a/libgloss/print.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* print.c -- print a string on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * print -- do a raw print of a string
- */
-void
-_DEFUN (print, (ptr),
-char *ptr)
-{
- while (*ptr) {
- outbyte (*ptr++);
- }
-}
diff --git a/libgloss/putnum.c b/libgloss/putnum.c
deleted file mode 100644
index 842e10f..0000000
--- a/libgloss/putnum.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* putnum.c -- put a hex number on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * putnum -- print a 32 bit number in hex
- */
-void
-_DEFUN (putnum, (num),
- unsigned int num)
-{
- char buf[9];
- int cnt;
- char *ptr;
- int digit;
-
- ptr = buf;
- for (cnt = 7 ; cnt >= 0 ; cnt--) {
- digit = (num >> (cnt * 4)) & 0xf;
-
- if (digit <= 9)
- *ptr++ = (char) ('0' + digit);
- else
- *ptr++ = (char) ('a' - 10 + digit);
- }
-
- *ptr = (char) 0;
- print (buf);
-}
diff --git a/libgloss/read.c b/libgloss/read.c
deleted file mode 100644
index 419a8ed..0000000
--- a/libgloss/read.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* read.c -- read bytes from a input device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern char _DEFUN_VOID (inbyte);
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int
-_DEFUN (read, (fd, buf, nbytes),
- int fd _AND
- char *buf _AND
- int nbytes)
-{
- int i = 0;
-
- for (i = 0; i < nbytes; i++) {
- *(buf + i) = inbyte();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) {
- i++;
- break;
- }
- }
- return (i);
-}
diff --git a/libgloss/rl78/Makefile.in b/libgloss/rl78/Makefile.in
deleted file mode 100644
index bdb6340..0000000
--- a/libgloss/rl78/Makefile.in
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright (c) 2008, 2009, 2011 Red Hat Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/rl78.
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = $(srcdir)/rl78.ld $(srcdir)/rl78-sim.ld
-CRT = gcrt0.o crt0.o crtn.o
-SIM_BSP = libsim.a
-LIBNOSYS = ../libnosys/libnosys.a
-SIM_OBJS = \
- sbrk.o \
- exit.o \
- open.o \
- close.o \
- read.o \
- write.o \
- lseek.o \
- unlink.o \
- getpid.o \
- kill.o \
- fstat.o \
- argvlen.o \
- argv.o \
- chdir.o \
- stat.o \
- chmod.o \
- utime.o \
- time.o \
- gettimeofday.o \
- times.o \
- link.o \
- isatty.o \
- abort.o \
- mcount.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-all: $(CRT) $(SIM_BSP) copy_scripts_to_objdir
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-copy_scripts_to_objdir: $(SCRIPTS)
- cp $(SCRIPTS) $(objdir)
-
-# Dependencies
-
-SDEPS = $(srcdir)/rl78-sys.h $(srcdir)/../syscall.h
-
-abort.o : $(SDEPS)
-argv.o : $(SDEPS)
-argvlen.o : $(SDEPS)
-chdir.o : $(SDEPS)
-chmod.o : $(SDEPS)
-close.o : $(SDEPS)
-exit.o : $(SDEPS)
-fstat.o : $(SDEPS)
-getpid.o : $(SDEPS)
-gettimeofday.o : $(SDEPS)
-gcrt0.o: gcrt0.S crt0.S
-kill.o : $(SDEPS)
-link.o : $(SDEPS)
-lseek.o : $(SDEPS)
-mcount.o : $(SDEPS)
-open.o : $(SDEPS)
-read.o : $(SDEPS)
-sigprocmask.o : $(SDEPS)
-sleep.o : $(SDEPS)
-stat.o : $(SDEPS)
-time.o : $(SDEPS)
-times.o : $(SDEPS)
-unlink.o : $(SDEPS)
-utime.o : $(SDEPS)
-write.o : $(SDEPS)
-
-install: $(CRT) $(SIM_BSP) $(SCRIPTS)
- for c in $(CRT) $(SIM_BSP); do \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- for c in $(SCRIPTS); do \
- b=`basename $$c`; \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
- done
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/rl78/abort.S b/libgloss/rl78/abort.S
deleted file mode 100644
index c39932d..0000000
--- a/libgloss/rl78/abort.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
- .global _abort
- .type _abort, @function
-_abort:
- /* This is for debuggers. The simulator stops here too. */
- brk
-
- movw ax, #42
- push ax
- SYSCALL(SYS_kill)
- pop ax
-
- /* Else, exit. */
- call !!__exit
-
- .size _abort, . - _abort
-
diff --git a/libgloss/rl78/argv.S b/libgloss/rl78/argv.S
deleted file mode 100644
index 43be134..0000000
--- a/libgloss/rl78/argv.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(argv)
diff --git a/libgloss/rl78/argvlen.S b/libgloss/rl78/argvlen.S
deleted file mode 100644
index 624b6bc..0000000
--- a/libgloss/rl78/argvlen.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(argvlen)
diff --git a/libgloss/rl78/chdir.S b/libgloss/rl78/chdir.S
deleted file mode 100644
index 8344a82..0000000
--- a/libgloss/rl78/chdir.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(chdir)
diff --git a/libgloss/rl78/chmod.S b/libgloss/rl78/chmod.S
deleted file mode 100644
index 6e6f338..0000000
--- a/libgloss/rl78/chmod.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(chmod)
diff --git a/libgloss/rl78/close.S b/libgloss/rl78/close.S
deleted file mode 100644
index 5b21390..0000000
--- a/libgloss/rl78/close.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-OK(close)
diff --git a/libgloss/rl78/configure b/libgloss/rl78/configure
deleted file mode 100644
index 066c9a6..0000000
--- a/libgloss/rl78/configure
+++ /dev/null
@@ -1,3815 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.66.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.66
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.66. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.66. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.66,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/rl78/configure.in b/libgloss/rl78/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/rl78/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/rl78/crt0.S b/libgloss/rl78/crt0.S
deleted file mode 100644
index d5a07df..0000000
--- a/libgloss/rl78/crt0.S
+++ /dev/null
@@ -1,331 +0,0 @@
-/* Copyright (c) 2011 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- This software is provided by the copyright holders and contributors
- "AS IS" and any express or implied warranties, including, but not
- limited to, the implied warranties of merchantability and fitness for
- a particular purpose are disclaimed. In no event shall Red Hat
- incorporated be liable for any direct, indirect, incidental, special,
- exemplary, or consequential damages (including, but not limited to,
- procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage. */
-
-#include "rl78-sys.h"
-
- .section ".vec","a"
- .short _start
-
- .section ".ivec","a"
- .macro _iv x
- .weak \x
- .short \x
- .endm
-#define IV(x) _iv _##x##_handler
-#define IVx() .short 0
-
- /* To use a vector, simply define a global function named foo_handler()
- for any IV(foo) listed below (i.e. tm05_handler) */
-
- .global _interrupt_vector_table
-_interrupt_vector_table:
- IV(wdti)
- IV(lvi)
- IV(p0)
- IV(p1)
- IV(p2)
- IV(p3)
- IV(p4)
- IV(p5)
-
- IV(st2)
- IV(sr2)
- IV(sre2)
- IV(dma0)
- IV(dma1)
- IV(st0)
- IV(sr0)
- IV(tm01h)
-
- IV(st1)
- IV(sr1)
- IV(sre1)
- IV(iica0)
- IV(tm00)
- IV(tm01)
- IV(tm02)
- IV(tm03)
-
- IV(ad)
- IV(rtc)
- IV(it)
- IV(kr)
- IV(st3)
- IV(sr3)
- IV(tm13)
- IV(tm04)
-
- IV(tm05)
- IV(tm06)
- IV(tm07)
- IV(p6)
- IV(p7)
- IV(p8)
- IV(p9)
- IV(p10)
-
- IV(p11)
- IV(tm10)
- IV(tm12)
- IV(sre3)
- IV(tm13h)
- IV(md)
- IV(iica1)
- IV(fl)
-
- IV(dma2)
- IV(dma3)
- IV(tm14)
- IV(tm15)
- IV(tm16)
- IV(tm17)
- IVx()
- IVx()
-
- IVx()
- IVx()
- IVx()
- IVx()
- IVx()
- IV(brk)
- /* Note: 126 vectors */
-
- .section ".csstart", "ax"
- .global __csstart
-__csstart:
- br !!_start
-
- .weak __rl78_option_byte_0
- .weak __rl78_option_byte_1
- .weak __rl78_option_byte_2
- .weak __rl78_option_byte_3
-__rl78_option_byte_0 = 0x6e
-__rl78_option_byte_1 = 0xff
-__rl78_option_byte_2 = 0xe8
-__rl78_option_byte_3 = 0x85
-
- .section ".opt", "a"
- .byte __rl78_option_byte_0
- .byte __rl78_option_byte_1
- .byte __rl78_option_byte_2
- .byte __rl78_option_byte_3
-
- .text
-
- .global _start
- .type _start, @function
-_start:
- movw sp, #__stack
-
-
-;; block move to initialize .data
-
- ;; we're copying from 00:[_romdatastart] to 0F:[_datastart]
- ;; and our data is not in the mirrored area.
- mov es, #0
-
- sel rb0 ; bank 0
- movw hl, #__datastart
- movw de, #__romdatastart
- sel rb1 ; bank 1
- movw ax, #__romdatacopysize
- shrw ax,1
-1:
- cmpw ax, #0
- bz $1f
- decw ax
- sel rb0 ; bank 0
- movw ax, es:[de]
- movw [hl], ax
- incw de
- incw de
- incw hl
- incw hl
- sel rb1
- br $1b
-1:
- sel rb0 ; bank 0
-
-
-;; block fill to .bss
-
- sel rb0 ; bank 0
- movw hl, #__bssstart
- movw ax, #0
- sel rb1 ; bank 1
- movw ax, #__bsssize
- shrw ax,1
-1:
- cmpw ax, #0
- bz $1f
- decw ax
- sel rb0 ; bank 0
- movw [hl], ax
- incw hl
- incw hl
- sel rb1
- br $1b
-1:
- sel rb0 ; bank 0
-
-
-
- call !!__rl78_init
-
-#ifdef PROFILE_SUPPORT /* Defined in gcrt0.S. */
- movw ax, # _start
- push ax
- movw ax, # _etext
- push ax
- call !!__monstartup
-#endif
-
- movw ax, #0
- push ax /* envp */
- push ax /* argv */
- push ax /* argc */
- call !!_main
-.LFE2:
-
- movw ax, r8 ; Save return code.
- push ax
-
-#ifdef PROFILE_SUPPORT
- call !!__mcleanup
-#endif
-
- call !!_exit
-
- .size _start, . - _start
-
- .global _rl78_run_preinit_array
- .type _rl78_run_preinit_array,@function
-_rl78_run_preinit_array:
- movw hl, #__preinit_array_start
- movw de, #__preinit_array_end
- movw bc, #-2
- br $_rl78_run_inilist
-
- .global _rl78_run_init_array
- .type _rl78_run_init_array,@function
-_rl78_run_init_array:
- movw hl, #__init_array_start
- movw de, #__init_array_end
- movw bc, #2
- br $_rl78_run_inilist
-
- .global _rl78_run_fini_array
- .type _rl78_run_fini_array,@function
-_rl78_run_fini_array:
- movw hl, #__fini_array_start
- movw de, #__fini_array_end
- movw bc, #-2
- /* fall through */
-
- ;; HL = start of list
- ;; DE = end of list
- ;; BC = step direction (+2 or -2)
-_rl78_run_inilist:
-next_inilist:
- movw ax, hl
- cmpw ax, de
- bz $done_inilist
- movw ax, [hl]
- cmpw ax, #-1
- bz $skip_inilist
- cmpw ax, #0
- bz $skip_inilist
- push ax
- push bc
- push de
- push hl
- call ax
- pop hl
- pop de
- pop bc
- pop ax
-skip_inilist:
- movw ax, hl
- addw ax, bc
- movw hl, ax
- br $next_inilist
-done_inilist:
- ret
-
- .section .init,"ax"
-
- .global __rl78_init
-__rl78_init:
-
- .section .fini,"ax"
-
- .global __rl78_fini
-__rl78_fini:
- call !!_rl78_run_fini_array
-
- .section .data
- .global ___dso_handle
- .weak ___dso_handle
-___dso_handle:
- .long 0
-
-;;; Provide Dwarf unwinding information that will help GDB stop
-;;; backtraces at the right place. This is stolen from assembly
-;;; code generated by GCC with -dA.
- .section .debug_frame,"",@progbits
-.Lframe0:
- .4byte .LECIE0-.LSCIE0 ; Length of Common Information Entry
-.LSCIE0:
- .4byte 0xffffffff ; CIE Identifier Tag
- .byte 0x1 ; CIE Version
- .ascii "\0" ; CIE Augmentation
- .uleb128 0x1 ; CIE Code Alignment Factor
- .sleb128 -1 ; CIE Data Alignment Factor
- .byte 0xd ; CIE RA Column
- .byte 0xc ; DW_CFA_def_cfa
- .uleb128 0xc
- .uleb128 0x3
- .byte 0x8d ; DW_CFA_offset, column 0xd
- .uleb128 0x3
- .p2align 2
-.LECIE0:
-.LSFDE0:
- .4byte .LEFDE0-.LASFDE0 ; FDE Length
-.LASFDE0:
- .4byte .Lframe0 ; FDE CIE offset
- .4byte _start ; FDE initial location
- .4byte .LFE2 - _start ; FDE address range
- .byte 0xf ; DW_CFA_def_cfa_expression
- .uleb128 1 ; length of expression
- .byte 0x30 ; DW_OP_lit0
- .p2align 2
-.LEFDE0:
-
- .text
diff --git a/libgloss/rl78/crtn.S b/libgloss/rl78/crtn.S
deleted file mode 100644
index 8b3002c..0000000
--- a/libgloss/rl78/crtn.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-
-Copyright (c) 2005,2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .section .init,"ax"
- call !!_rl78_run_preinit_array
- call !!_rl78_run_init_array
- ret
- .global __rl78_init_end
-__rl78_init_end:
-
- .section .fini,"ax"
-
- ret
- .global __rl78_fini_end
-__rl78_fini_end:
-
- .text
-
diff --git a/libgloss/rl78/exit.S b/libgloss/rl78/exit.S
deleted file mode 100644
index e394315..0000000
--- a/libgloss/rl78/exit.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
- .global __exit
- .type __exit, @function
-__exit:
- call !!__rl78_fini
- mov a, [sp+4]
- halt
- SYSCALL(SYS_exit)
- .size __exit, . - __exit
-
diff --git a/libgloss/rl78/fstat.S b/libgloss/rl78/fstat.S
deleted file mode 100644
index 1f68e6f..0000000
--- a/libgloss/rl78/fstat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(fstat)
diff --git a/libgloss/rl78/gcrt0.S b/libgloss/rl78/gcrt0.S
deleted file mode 100644
index a75614f..0000000
--- a/libgloss/rl78/gcrt0.S
+++ /dev/null
@@ -1,58 +0,0 @@
-/* Copyright (c) 2011 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- This software is provided by the copyright holders and contributors
- "AS IS" and any express or implied warranties, including, but not
- limited to, the implied warranties of merchantability and fitness for
- a particular purpose are disclaimed. In no event shall Red Hat
- incorporated be liable for any direct, indirect, incidental, special,
- exemplary, or consequential damages (including, but not limited to,
- procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage. */
-
-#define PROFILE_SUPPORT 1
-
-#include "crt0.S"
-
- .global __mcount
- .type __mcount, @function
-__mcount:
- ;; When a function is compiled for profiling, gcc creates code
- ;; like this at the start of each profiled function:
- ;;
- ;; .global <func_name>
- ;; <func_name>:
- ;; bsr __mcount
- ;; <...function's prologue...>
- ;; <...function's body...>
- ;;
- ;; We must save all of the argument registers, extract the
- ;; address of <func_name>, call _mcount_internal to do the
- ;; real work and then restore the argument registers before
- ;; returning.
-
- movw ax, [sp]
- push ax
- call !!__mcount_internal
- pop ax
- ret
-
- .size __mcount, . - __mcount
diff --git a/libgloss/rl78/getpid.S b/libgloss/rl78/getpid.S
deleted file mode 100644
index 58e75ba..0000000
--- a/libgloss/rl78/getpid.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-RET(getpid,42)
-
diff --git a/libgloss/rl78/gettimeofday.S b/libgloss/rl78/gettimeofday.S
deleted file mode 100644
index 1611e7d..0000000
--- a/libgloss/rl78/gettimeofday.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(gettimeofday)
diff --git a/libgloss/rl78/isatty.S b/libgloss/rl78/isatty.S
deleted file mode 100644
index a77b375..0000000
--- a/libgloss/rl78/isatty.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright (c) 2011 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
-#include "rl78-sys.h"
-
- .global _isatty
- .weak _isatty
-_isatty:
-
-RET(_isatty,1)
-
diff --git a/libgloss/rl78/kill.S b/libgloss/rl78/kill.S
deleted file mode 100644
index 111b111..0000000
--- a/libgloss/rl78/kill.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(kill)
diff --git a/libgloss/rl78/link.S b/libgloss/rl78/link.S
deleted file mode 100644
index 152e65f..0000000
--- a/libgloss/rl78/link.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(link)
diff --git a/libgloss/rl78/lseek.S b/libgloss/rl78/lseek.S
deleted file mode 100644
index 8aa58cf..0000000
--- a/libgloss/rl78/lseek.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(lseek)
diff --git a/libgloss/rl78/mcount.c b/libgloss/rl78/mcount.c
deleted file mode 100644
index 567abd0..0000000
--- a/libgloss/rl78/mcount.c
+++ /dev/null
@@ -1,422 +0,0 @@
-/*-
- * Copyright (c) 1983, 1992, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-/* This file implements a subset of the profiling support functions.
- It has been copied and adapted from mcount.c, gmon.c and gmon.h in
- the glibc sources.
- Since we do not have access to a timer interrupt in the simulator
- the histogram and basic block information is not generated. */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <fcntl.h>
-
-/* Fraction of text space to allocate for histogram counters here, 1/2. */
-#define HISTFRACTION 2
-
-/* Fraction of text space to allocate for from hash buckets.
- The value of HASHFRACTION is based on the minimum number of bytes
- of separation between two subroutine call points in the object code.
- Given MIN_SUBR_SEPARATION bytes of separation the value of
- HASHFRACTION is calculated as:
-
- HASHFRACTION = MIN_SUBR_SEPARATION / (2 * sizeof (short) - 1);
-
- For example, on the VAX, the shortest two call sequence is:
-
- calls $0,(r0)
- calls $0,(r0)
-
- which is separated by only three bytes, thus HASHFRACTION is
- calculated as:
-
- HASHFRACTION = 3 / (2 * 2 - 1) = 1
-
- Note that the division above rounds down, thus if MIN_SUBR_FRACTION
- is less than three, this algorithm will not work!
-
- In practice, however, call instructions are rarely at a minimal
- distance. Hence, we will define HASHFRACTION to be 2 across all
- architectures. This saves a reasonable amount of space for
- profiling data structures without (in practice) sacrificing
- any granularity. */
-#define HASHFRACTION 2
-
-/* Percent of text space to allocate for tostructs.
- This is a heuristic; we will fail with a warning when profiling
- programs with a very large number of very small functions, but
- that's normally OK.
- 2 is probably still a good value for normal programs.
- Profiling a test case with 64000 small functions will work if
- you raise this value to 3 and link statically (which bloats the
- text size, thus raising the number of arcs expected by the heuristic). */
-#define ARCDENSITY 3
-
-/* Always allocate at least this many tostructs. This hides the
- inadequacy of the ARCDENSITY heuristic, at least for small programs. */
-#define MINARCS 50
-
-/* Maximum number of arcs we want to allow.
- Used to be max representable value of ARCINDEX minus 2, but now
- that ARCINDEX is a long, that's too large; we don't really want
- to allow a 48 gigabyte table.
- The old value of 1<<16 wasn't high enough in practice for large C++
- programs; will 1<<20 be adequate for long? FIXME */
-#define MAXARCS (1L << 20)
-
-#define SCALE_1_TO_1 0x10000L
-
-#define GMON_MAGIC "gmon" /* Magic cookie. */
-#define GMON_VERSION 1 /* Version number. */
-
-
-/* General rounding functions. */
-#define ROUNDDOWN(x ,y) (((x) / (y)) * (y))
-#define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y))
-
-struct tostruct
-{
- unsigned long selfpc;
- unsigned long count;
- unsigned long link;
-};
-
-/* Possible states of profiling. */
-enum profiling_state
-{
- GMON_PROF_OFF,
- GMON_PROF_ON,
- GMON_PROF_BUSY,
- GMON_PROF_ERROR
-};
-
-/* The profiling data structures are housed in this structure. */
-struct gmonparam
-{
- enum profiling_state state;
- unsigned short * kcount;
- unsigned long kcountsize;
- unsigned long * froms;
- unsigned long fromssize;
- struct tostruct * tos;
- unsigned long tossize;
- long tolimit;
- unsigned long lowpc;
- unsigned long highpc;
- unsigned long textsize;
- unsigned long hashfraction;
- long log_hashfraction;
-};
-
-/* Raw header as it appears in the gmon.out file (without padding).
- This header always comes first and is then followed by a series
- records defined below. */
-struct gmon_hdr
-{
- char cookie[4];
- char version[4];
- char spare[3 * 4];
-};
-
-/* Types of records in this file. */
-typedef enum
-{
- GMON_TAG_TIME_HIST = 0,
- GMON_TAG_CG_ARC = 1,
-} GMON_Record_Tag;
-
-struct gmon_cg_arc_record
-{
- char tag; /* Set to GMON_TAG_CG_ARC. */
- char from_pc[sizeof (char *)]; /* Address within caller's body. */
- char self_pc[sizeof (char *)]; /* Address within callee's body. */
- char count[4]; /* Number of arc traversals. */
-};
-
-
-/* Forward declarations. */
-void _mcount_internal (unsigned long);
-void _monstartup (unsigned long, unsigned long);
-void _mcleanup (void);
-
-static struct gmonparam _gmonparam;
-
-void
-_mcount_internal (unsigned long frompc)
-{
- unsigned long selfpc = frompc;
- unsigned long * frompcindex;
- struct tostruct * top;
- struct tostruct * prevtop;
- struct gmonparam * p;
- unsigned long toindex;
- int i;
-
- p = & _gmonparam;
-
- /* Check that we are profiling and that we aren't recursively invoked.
- NB/ This version is not thread-safe. */
- if (p->state != GMON_PROF_ON)
- return;
- p->state = GMON_PROF_BUSY;
-
- /* Check that frompcindex is a reasonable pc value.
- For example: signal catchers get called from the stack,
- not from text space. Too bad. */
- frompc -= p->lowpc;
- if (frompc > p->textsize)
- goto done;
-
- i = frompc >> p->log_hashfraction;
-
- frompcindex = p->froms + i;
- toindex = * frompcindex;
-
- if (toindex == 0)
- {
- /* First time traversing this arc. */
- toindex = ++ p->tos[0].link;
- if (toindex >= p->tolimit)
- /* Halt further profiling. */
- goto overflow;
-
- * frompcindex = toindex;
- top = p->tos + toindex;
- top->selfpc = selfpc;
- top->count = 1;
- top->link = 0;
- goto done;
- }
-
- top = p->tos + toindex;
-
- if (top->selfpc == selfpc)
- {
- /* Arc at front of chain: usual case. */
- top->count ++;
- goto done;
- }
-
- /* Have to go looking down chain for it.
- Top points to what we are looking at,
- prevtop points to previous top.
- We know it is not at the head of the chain. */
- for (;;)
- {
- if (top->link == 0)
- {
- /* Top is end of the chain and none of the chain
- had top->selfpc == selfpc. So we allocate a
- new tostruct and link it to the head of the
- chain. */
- toindex = ++ p->tos[0].link;
- if (toindex >= p->tolimit)
- goto overflow;
-
- top = p->tos + toindex;
- top->selfpc = selfpc;
- top->count = 1;
- top->link = * frompcindex;
- * frompcindex = toindex;
- goto done;
- }
-
- /* Otherwise, check the next arc on the chain. */
- prevtop = top;
- top = p->tos + top->link;
-
- if (top->selfpc == selfpc)
- {
- /* There it is. Increment its count
- move it to the head of the chain. */
- top->count ++;
- toindex = prevtop->link;
- prevtop->link = top->link;
- top->link = * frompcindex;
- * frompcindex = toindex;
- goto done;
- }
- }
-
- done:
- p->state = GMON_PROF_ON;
- return;
-
- overflow:
- p->state = GMON_PROF_ERROR;
- return;
-}
-
-void
-_monstartup (unsigned long lowpc, unsigned long highpc)
-{
- char * cp;
- struct gmonparam * p = & _gmonparam;
-
- /* If the calloc() function has been instrumented we must make sure
- that it is not profiled until we are ready. */
- p->state = GMON_PROF_BUSY;
-
- /* Round lowpc and highpc to multiples of the density we're using
- so the rest of the scaling (here and in gprof) stays in ints. */
- p->lowpc = ROUNDDOWN (lowpc, HISTFRACTION * sizeof (* p->kcount));
- p->highpc = ROUNDUP (highpc, HISTFRACTION * sizeof (* p->kcount));
- p->textsize = p->highpc - p->lowpc;
- p->kcountsize = ROUNDUP (p->textsize / HISTFRACTION, sizeof (*p->froms));
- p->hashfraction = HASHFRACTION;
- p->log_hashfraction = -1;
- p->log_hashfraction = ffs (p->hashfraction * sizeof (*p->froms)) - 1;
- p->fromssize = p->textsize / HASHFRACTION;
- p->tolimit = p->textsize * ARCDENSITY / 100;
-
- if (p->tolimit < MINARCS)
- p->tolimit = MINARCS;
- else if (p->tolimit > MAXARCS)
- p->tolimit = MAXARCS;
-
- p->tossize = p->tolimit * sizeof (struct tostruct);
-
- cp = calloc (p->kcountsize + p->fromssize + p->tossize, 1);
- if (cp == NULL)
- {
- write (2, "monstartup: out of memory\n", 26);
- p->tos = NULL;
- p->state = GMON_PROF_ERROR;
- return;
- }
-
- p->tos = (struct tostruct *) cp;
- cp += p->tossize;
- p->kcount = (unsigned short *) cp;
- cp += p->kcountsize;
- p->froms = (unsigned long *) cp;
-
- p->tos[0].link = 0;
- p->state = GMON_PROF_ON;
-}
-
-
-static void
-write_call_graph (int fd)
-{
-#define NARCS_PER_WRITE 32
-
- struct gmon_cg_arc_record raw_arc[NARCS_PER_WRITE]
- __attribute__ ((aligned (__alignof__ (char *))));
- unsigned long from_index;
- unsigned long to_index;
- unsigned long from_len;
- unsigned long frompc;
- int nfilled;
-
- for (nfilled = 0; nfilled < NARCS_PER_WRITE; ++ nfilled)
- raw_arc[nfilled].tag = GMON_TAG_CG_ARC;
-
- nfilled = 0;
- from_len = _gmonparam.fromssize / sizeof (*_gmonparam.froms);
-
- for (from_index = 0; from_index < from_len; ++from_index)
- {
- if (_gmonparam.froms[from_index] == 0)
- continue;
-
- frompc = _gmonparam.lowpc;
- frompc += (from_index * _gmonparam.hashfraction
- * sizeof (*_gmonparam.froms));
-
- for (to_index = _gmonparam.froms[from_index];
- to_index != 0;
- to_index = _gmonparam.tos[to_index].link)
- {
- struct gmon_cg_arc_record * arc = raw_arc + nfilled;
-
- memcpy (arc->from_pc, & frompc, sizeof (arc->from_pc));
- memcpy (arc->self_pc, & _gmonparam.tos[to_index].selfpc, sizeof (arc->self_pc));
- memcpy (arc->count, & _gmonparam.tos[to_index].count, sizeof (arc->count));
-
- if (++ nfilled == NARCS_PER_WRITE)
- {
- write (fd, raw_arc, sizeof raw_arc);
- nfilled = 0;
- }
- }
- }
-
- if (nfilled > 0)
- write (fd, raw_arc, nfilled * sizeof (raw_arc[0]));
-}
-
-#include <errno.h>
-
-static void
-write_gmon (void)
-{
- struct gmon_hdr ghdr __attribute__ ((aligned (__alignof__ (int))));
- int fd;
-
- fd = open ("gmon.out", O_CREAT|O_TRUNC|O_WRONLY, 0666);
- if (fd < 0)
- {
- write (2, "_mcleanup: could not create gmon.out\n", 37);
- return;
- }
-
- /* Write gmon.out header: */
- memset (& ghdr, '\0', sizeof (ghdr));
- memcpy (ghdr.cookie, GMON_MAGIC, sizeof (ghdr.cookie));
- * (unsigned long *) ghdr.version = GMON_VERSION;
- write (fd, & ghdr, sizeof (ghdr));
-
- /* We do not have histogram or basic block information,
- so we do not generate these parts of the gmon.out file. */
-
- /* Write call-graph. */
- write_call_graph (fd);
-
- close (fd);
-}
-
-void
-_mcleanup (void)
-{
- if (_gmonparam.state != GMON_PROF_ERROR)
- {
- _gmonparam.state = GMON_PROF_OFF;
- write_gmon ();
- }
-
- /* Free the memory. */
- if (_gmonparam.tos != NULL)
- {
- free (_gmonparam.tos);
- _gmonparam.tos = NULL;
- }
-}
diff --git a/libgloss/rl78/open.S b/libgloss/rl78/open.S
deleted file mode 100644
index ae83e0b..0000000
--- a/libgloss/rl78/open.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(open)
diff --git a/libgloss/rl78/read.S b/libgloss/rl78/read.S
deleted file mode 100644
index 9cbea1d..0000000
--- a/libgloss/rl78/read.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(read)
diff --git a/libgloss/rl78/rl78-sim.ld b/libgloss/rl78/rl78-sim.ld
deleted file mode 100644
index f69fb95..0000000
--- a/libgloss/rl78/rl78-sim.ld
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
-
-Copyright (c) 2005,2008,2009,2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(rl78)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-/* This is for the simulator - 512k flash, 32k ram, no data flash */
-MEMORY {
- VEC (r) : ORIGIN = 0x00000, LENGTH = 0x00002
- IVEC (r) : ORIGIN = 0x00004, LENGTH = 0x0007c
- OPT (r) : ORIGIN = 0x000c0, LENGTH = 0x00004
- ROM (r) : ORIGIN = 0x000d8, LENGTH = 0x7ff28
- RAM (w) : ORIGIN = 0xf8000, LENGTH = 0x07ee0
- STACK (w) : ORIGIN = 0xffee0, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .vec :
- {
- *(.vec)
- } > VEC
- .ivec :
- {
- *(.ivec)
- } > IVEC
- .opt :
- {
- *(.opt)
- } > OPT
-
- /* CubeSuite always starts at 0xd8. */
- .csstart : {
- *(.csstart)
- } > ROM
-
- /* For code that must be in the first 64k, or could fill unused
- space below .rodata. */
- .lowtext : {
- *(.plt)
- *(.lowtext)
- } > ROM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data D .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT> ROM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss B B_2 B_1 .bss.* .gnu.linkonce.b.*)
- . = ALIGN(2);
- *(COMMON)
- . = ALIGN(2);
- PROVIDE (__bssend = .);
- _end = .;
- PROVIDE (end = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- .stack (ORIGIN (STACK)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- .rodata (MAX(__romdatastart + __romdatacopysize, 0x1000)) : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
-
- .text :
- {
- PROVIDE (_start = .);
- *(.text P .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- } > ROM
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/rl78/rl78-sys.h b/libgloss/rl78/rl78-sys.h
deleted file mode 100644
index 281dad0..0000000
--- a/libgloss/rl78/rl78-sys.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "syscall.h"
-
-r8 = 0xffef0
-r9 = 0xffef1
-r10 = 0xffef2
-r11 = 0xffef3
-r12 = 0xffef4
-r13 = 0xffef5
-r14 = 0xffef6
-r15 = 0xffef7
-r16 = 0xffee8
-r17 = 0xffee9
-r18 = 0xffeea
-r19 = 0xffeeb
-r20 = 0xffeec
-r21 = 0xffeed
-r22 = 0xffeee
-r23 = 0xffeef
-
-#define SYS__exit SYS_exit
-
- .macro syscall_body number
- /* The RL78 doesn't really have an "interrupt" upcode, just
- BRK, which we emulate exactly. We use the STOP opcode,
- which is a breakpoint in the simulator. */
- mov A, #\number
- stop
- ret
- .endm
-
- .macro do_syscall name number
-__\name:
- .global __\name
-_\name:
- .weak _\name
- syscall_body \number
- .endm
-
- .macro syscall_returns name number
-__\name:
- .global __\name
-_\name:
- .weak _\name
- mov r8, #\number
- ret
- .endm
-
-#define S(name) do_syscall name, SYS_##name
-#define SYSCALL(number) syscall_body number
-#define ERR(name) syscall_returns name, -1
-#define OK(name) syscall_returns name, 0
-#define RET(name,val) syscall_returns name, val
diff --git a/libgloss/rl78/rl78.ld b/libgloss/rl78/rl78.ld
deleted file mode 100644
index f062e2c..0000000
--- a/libgloss/rl78/rl78.ld
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
-
-Copyright (c) 2005,2008,2009,2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(rl78)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-/* This is for an RL78/G13, 64k flash, 4k ram */
-MEMORY {
- VEC (r) : ORIGIN = 0x00000, LENGTH = 0x00002
- IVEC (r) : ORIGIN = 0x00004, LENGTH = 0x0007c
- OPT (r) : ORIGIN = 0x000c0, LENGTH = 0x00004
- ROM (r) : ORIGIN = 0x000d8, LENGTH = 0x0ff28
- RAM (w) : ORIGIN = 0xfef00, LENGTH = 0x00fe0
- STACK (w) : ORIGIN = 0xffee0, LENGTH = 0x00002
-}
-
-SECTIONS
-{
- .vec :
- {
- *(.vec)
- } > VEC
- .ivec :
- {
- *(.ivec)
- } > IVEC
- .opt :
- {
- *(.opt)
- } > OPT
-
- /* CubeSuite always starts at 0xd8. */
- .csstart : {
- *(.csstart)
- } > ROM
-
- /* For code that must be in the first 64k, or could fill unused
- space below .rodata. */
- .lowtext : {
- *(.plt)
- *(.lowtext)
- } > ROM
-
- .data : {
- . = ALIGN(2);
- PROVIDE (__datastart = .);
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data D .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(2);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(2);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT> ROM
-
- /* Note that crt0 assumes this is a multiple of two; all the
- start/stop symbols are also assumed word-aligned. */
- PROVIDE(__romdatastart = LOADADDR(.data));
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(2);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss B B_2 B_1 .bss.* .gnu.linkonce.b.*)
- . = ALIGN(2);
- *(COMMON)
- . = ALIGN(2);
- PROVIDE (__bssend = .);
- _end = .;
- PROVIDE (end = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss));
-
- .stack (ORIGIN (STACK)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- .rodata (MAX(__romdatastart + __romdatacopysize, 0x2000)) : {
- . = ALIGN(2);
- *(.plt)
- *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
-
- .text :
- {
- PROVIDE (_start = .);
- *(.text P .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- KEEP (*(.init))
- KEEP (*(.fini))
- } > ROM
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/rl78/sbrk.c b/libgloss/rl78/sbrk.c
deleted file mode 100644
index acff713..0000000
--- a/libgloss/rl78/sbrk.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-
-Copyright (c) 2005, 2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <errno.h>
-
-char *
-_sbrk (int adj)
-{
- extern char end;
- static char * heap = & end;
- char * rv = heap;
- char * heaptop = (char *) &adj;
-
- heap += adj;
-
- /* The allocated chunk spans our stack? */
- if (rv < heaptop && heap > heaptop
- /* The allocated chunk spans our address space? */
- || heap < rv)
- {
- errno = ENOMEM;
- return (char *) -1;
- }
-
- return rv;
-}
-
-char * sbrk (int) __attribute__((weak, alias ("_sbrk")));
diff --git a/libgloss/rl78/stat.S b/libgloss/rl78/stat.S
deleted file mode 100644
index 1726ffc..0000000
--- a/libgloss/rl78/stat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(stat)
diff --git a/libgloss/rl78/time.S b/libgloss/rl78/time.S
deleted file mode 100644
index a07a0d3..0000000
--- a/libgloss/rl78/time.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(time)
diff --git a/libgloss/rl78/times.S b/libgloss/rl78/times.S
deleted file mode 100644
index e034929..0000000
--- a/libgloss/rl78/times.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(times)
diff --git a/libgloss/rl78/unlink.S b/libgloss/rl78/unlink.S
deleted file mode 100644
index 4feab0f..0000000
--- a/libgloss/rl78/unlink.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(unlink)
diff --git a/libgloss/rl78/utime.S b/libgloss/rl78/utime.S
deleted file mode 100644
index f72a595..0000000
--- a/libgloss/rl78/utime.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2011 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rl78-sys.h"
-
-ERR(utime)
diff --git a/libgloss/rl78/write.c b/libgloss/rl78/write.c
deleted file mode 100644
index 2adeb94..0000000
--- a/libgloss/rl78/write.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
-
-Copyright (c) 2010 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* These definitions are for the RL78/G13, which the simulator
- simulates. */
-
-typedef unsigned char UQI __attribute__((mode(QI)));
-typedef unsigned int UHI __attribute__((mode(HI)));
-
-#define s8(x) (*(volatile UQI *)(x))
-#define s16(x) (*(volatile UHI *)(x))
-
-#define P(x) s8(0xfff00+(x))
-#define PM(x) s8(0xfff20+(x))
-
-#define PER0 s8(0xf00f0)
-
-#define SSR00 s16(0xf0100)
-#define SMR00 s16(0xf0110)
-#define SCR00 s16(0xf0118)
-#define SS0 s16(0xf0122)
-#define SPS0 s16(0xf0126)
-#define SO0 s16(0xf0128)
-#define SOE0 s16(0xf012a)
-#define SOL0 s16(0xf0134)
-
-#define SDR00 s16(0xfff10)
-
-static int initted = 0;
-
-static void
-init_uart0 ()
-{
- initted = 1;
-
- PER0 = 0xff;
- SPS0 = 0x0011; /* 16 MHz */
- SMR00 = 0x0022; /* uart mode */
- SCR00 = 0x8097; /* 8-N-1 */
- SDR00 = 0x8a00; /* baud in MSB - 115200 */
- SOL0 = 0x0000; /* not inverted */
- SO0 = 0x000f; /* initial value */
- SOE0 = 0x0001; /* enable TxD0 */
- P(1) |= 0b00000100;
- PM(1) &= 0b11111011;
- SS0 = 0x0001;
-}
-
-static void
-tputc (char c)
-{
- /* Wait for transmit buffer to be empty. */
- while (SSR00 & 0x0020)
- asm("");
- /* Transmit that byte. */
- SDR00 = c;
-}
-
-int
-_write(int fd, char *ptr, int len)
-{
- int rv = len;
-
- if (!initted)
- init_uart0 ();
-
- while (len != 0)
- {
- if (*ptr == '\n')
- tputc ('\r');
- tputc (*ptr);
- ptr ++;
- len --;
- }
- return rv;
-}
-
-char * write (int) __attribute__((weak, alias ("_write")));
diff --git a/libgloss/rs6000/Makefile.in b/libgloss/rs6000/Makefile.in
deleted file mode 100644
index 51714e5..0000000
--- a/libgloss/rs6000/Makefile.in
+++ /dev/null
@@ -1,394 +0,0 @@
-# Copyright (c) 1995, 1996, 1998 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-#
-
-#
-# This currently works with the PPC simulator.
-#
-
-DESTDIR =
-VPATH = @srcdir@:@srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-OBJS = fstat.o getpid.o isatty.o kill.o putnum.o stat.o unlink.o mcount.o
-CFLAGS = -g
-SCRIPTS = ${SIM_SCRIPTS} ${MVME_SCRIPTS} ${YELLOWKNIFE_SCRIPTS} ${ADS_SCRIPTS}
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = sim-crt0.o
-SIM_OBJS = sim-print.o sim-inbyte.o sim-sbrk.o sim-abort.o sim-errno.o simulator.o sim-getrusage.o sim-times.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Here is all the mvme stuff
-MVME_SCRIPTS =
-MVME_LDFLAGS =
-MVME_BSP = libmvme.a
-MVME_CRT0 = crt0.o
-MVME_OBJS = mvme-exit.o mvme-inbyte.o mvme-outbyte.o open.o close.o lseek.o sbrk.o mvme-read.o mvme-print.o
-MVME_TEST = mvme-test
-MVME_INSTALL = install-mvme
-
-# Here is the Solaris stuff
-#SOLARIS_SCRIPTS=
-#SOLARIS_LDFLAGS=
-#SOLARIS_BSP = libsolaris.a
-#SOLARIS_CRT0 =
-#SOLARIS_OBJS = sol-cfuncs.o sol-syscall.o
-#SOLARIS_TEST = sol-test
-#SOLARIS_INSTALL= install-solaris
-
-# Here is the Linux stuff
-#LINUX_SCRIPTS =
-#LINUX_LDFLAGS =
-#LINUX_BSP = liblinux.a
-#LINUX_CRT0 =
-#LINUX_OBJS = lin-cfuncs.o lin-syscall.o
-#LINUX_TEST = linux-test
-#LINUX_INSTALL = install-linux
-
-YELLOWKNIFE_SCRIPTS = yellowknife.ld
-YELLOWKNIFE_CRT0 = crt0.o
-YELLOWKNIFE_BSP = libyk.a
-YELLOWKNIFE_OBJS = open.o close.o lseek.o sbrk.o mvme-exit.o mvme-inbyte.o mvme-outbyte.o mvme-read.o mvme-print.o
-YELLOWKNIFE_TEST = yellowknife-test
-YELLOWKNIFE_INSTALL = install-yellowknife
-
-ADS_SCRIPTS = ads.ld
-ADS_CRT0 = crt0.o
-ADS_BSP = libads.a
-ADS_OBJS = open.o close.o lseek.o sbrk.o ads-exit.o ads-io.o
-ADS_TEST = ads-test
-ADS_INSTALL = install-ads
-
-MBX_SCRIPTS = mbx.ld
-MBX_SPECS = mbx.specs
-MBX_CRT0 = crt0.o
-MBX_BSP = libmbx.a
-MBX_OBJS = open.o close.o lseek.o sbrk.o read.o write.o mbx-exit.o mbx-inbyte.o mbx-outbyte.o mbx-print.o
-MBX_TEST = mbx-test
-MBX_INSTALL = install-mbx
-
-XIL_SCRIPTS = xilinx.ld xilinx440.ld
-XIL_SPECS =
-XIL_CRT0 = xil-crt0.o xil-pgcrt0.o xil-sim-crt0.o xil-sim-pgcrt0.o
-XIL_BSP = libxil.a
-XIL_OBJS = open.o close.o lseek.o sbrk.o read.o write.o print.o
-XIL_TEST = xil-test
-XIL_INSTALL = install-xil
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: \
- ${SIM_CRT0} ${SIM_BSP} \
- ${MVME_CRT0} ${MVME_BSP} \
- ${SOLARIS_CRT0} ${SOLARIS_BSP} \
- ${LINUX_CRT0} ${LINUX_BSP} \
- ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP} \
- ${ADS_CRT0} ${ADS_BSP} \
- ${MBX_CRT0} ${MBX_BSP} \
- ${XIL_CRT0} ${XIL_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} $@ ${SIM_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${MVME_BSP}: ${OBJS} ${MVME_OBJS}
- ${AR} ${ARFLAGS} $@ ${MVME_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${LINUX_BSP}: ${OBJS} ${LINUX_OBJS}
- ${AR} ${ARFLAGS} $@ ${LINUX_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${SOLARIS_BSP}: ${OBJS} ${SOLARIS_OBJS}
- ${AR} ${ARFLAGS} $@ ${SOLARIS_OBJS}
- ${RANLIB} $@
-
-${YELLOWKNIFE_BSP}: ${OBJS} ${YELLOWKNIFE_OBJS}
- ${AR} ${ARFLAGS} $@ ${YELLOWKNIFE_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${ADS_BSP}: ${OBJS} ${ADS_OBJS}
- ${AR} ${ARFLAGS} $@ ${ADS_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${MBX_BSP}: ${OBJS} ${MBX_OBJS}
- ${AR} ${ARFLAGS} $@ ${MBX_OBJS} ${OBJS}
- ${RANLIB} $@
-
-${XIL_BSP}: ${OBJS} ${XIL_OBJS}
- ${AR} ${ARFLAGS} $@ ${XIL_OBJS} ${OBJS}
- ${RANLIB} $@
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST} ${MVME_TEST} ${YELLOWKNIFE_TEST} ${ADS_TEST} ${MBX_TEST} ${XIL_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-mvme-test: mvme-test.x mvme-test.dis mvme-test.srec
-
-mvme-test.x: test.o ${MVME_CRT0} ${MVME_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o mvme-test.x ${LIBS_FOR_TARGET} -lc ${MVME_BSP}
-
-mvme-test.dis: mvme-test.x
- ${OBJDUMP} -d mvme-test.x > mvme-test.dis
-
-mvme-test.srec: mvme-test.x
- ${OBJCOPY} -O srec mvme-test.x mvme-test.srec
-
-sol-test: sol-test.x sol-test.dis sol-test.srec
-
-sol-test.x: test.o ${SOLARIS_CRT0} ${SOLARIS_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sol-test.x ${LIBS_FOR_TARGET} -lc ${SOLARIS_BSP}
-
-sol-test.dis: sol-test.x
- ${OBJDUMP} -d sol-test.x > sol-test.dis
-
-sol-test.srec: sol-test.x
- ${OBJCOPY} -O srec sol-test.x sol-test.srec
-
-linux-test: linux-test.x linux-test.dis linux-test.srec
-
-linux-test.x: test.o ${LINUX_CRT0} ${LINUX_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o linux-test.x ${LIBS_FOR_TARGET} -lc ${LINUX_BSP}
-
-linux-test.dis: linux-test.x
- ${OBJDUMP} -d linux-test.x > linux-test.dis
-
-linux-test.srec: linux-test.x
- ${OBJCOPY} -O srec linux-test.x linux-test.srec
-
-yellowknife-test: yellowknife-test.x yellowknife-test.dis yellowknife-test.srec
-
-yellowknife-test.x: test.o ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- -T${srcdir}/yellowknife.ld ${YELLOWKNIFE_CRT0} test.o \
- -o yellowknife-test.x $(LIBS_FOR_TARGET) ${YELLOWKNIFE_BSP} -lc ${YELLOWKNIFE_BSP}
-
-yellowknife-test.dis: yellowknife-test.x
- ${OBJDUMP} -d yellowknife-test.x > yellowknife-test.dis
-
-yellowknife-test.srec: yellowknife-test.x
- ${OBJCOPY} -O srec yellowknife-test.x yellowknife-test.srec
-
-ads-test: ads-test.x ads-test.dis ads-test.srec
-
-ads-test.x: test.o ${ADS_CRT0} ${ADS_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- -T${srcdir}/ads.ld ${ADS_CRT0} test.o \
- -o ads-test.x $(LIBS_FOR_TARGET) ${ADS_BSP} -lc ${ADS_BSP}
-
-ads-test.dis: ads-test.x
- ${OBJDUMP} -d ads-test.x > ads-test.dis
-
-ads-test.srec: ads-test.x
- ${OBJCOPY} -O srec ads-test.x ads-test.srec
-
-mbx-test: mbx-test.x mbx-test.dis mbx-test.srec
-
-mbx-test.x: test.o ${MBX_CRT0} ${MBX_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- -T${srcdir}/mbx.ld ${MBX_CRT0} test.o \
- -o mbx-test.x $(LIBS_FOR_TARGET) ${MBX_BSP} -lc ${MBX_BSP}
-
-mbx-test.dis: mbx-test.x
- ${OBJDUMP} -d mbx-test.x > mbx-test.dis
-
-mbx-test.srec: mbx-test.x
- ${OBJCOPY} -O srec mbx-test.x mbx-test.srec
-
-xil-test: xil-test.x xil-test.dis xil-test.srec
-
-xil-test.x: test.o ${XIL_CRT0} ${XIL_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- -T${srcdir}/xilinx.ld ${XIL_CRT0} test.o \
- -o xil-test.x $(LIBS_FOR_TARGET) ${XIL_BSP} -lc ${XIL_BSP}
-
-xil-test.dis: xil-test.x
- ${OBJDUMP} -d xil-test.x > xil-test.dis
-
-xil-test.srec: xil-test.x
- ${OBJCOPY} -O srec xil-test.x xil-test.srec
-
-#
-#
-#
-
-crt0.o: crt0.S
-
-simulator.o: simulator.S
-sim-getrusage.o: sim-getrusage.S
-sim-crt0.o: sim-crt0.S
-mount.o: mount.S
-
-mvme-exit.o: mvme-exit.S
-mvme-inbyte.o: mvme-inbyte.S
-mvme-outbyte.o: mvme-outbyte.S
-
-ads-exit.o: ads-exit.S
-ads-io.o: ads-io.c
-
-mbx-exit.o: mbx-exit.c
-mbx-inbyte.o: mbx-inbyte.c
-mbx-outbyte.o: mbx-outbyte.c
-mbx-print.o: mbx-print.c
-
-xil-crt0.o: xil-crt0.S
- ${CC} -c -o $@ $<
-
-xil-pgcrt0.o: xil-crt0.S
- ${CC} -c -DPROFILING -o $@ $<
-
-xil-sim-crt0.o: xil-crt0.S
- ${CC} -c -DSIMULATOR -o $@ $<
-
-xil-sim-pgcrt0.o: xil-crt0.S
- ${CC} -c -DSIMULATOR -DPROFILING -o $@ $<
-
-sol-cfuncs.o: sol-cfuncs.c
-sol-syscall.o: sol-syscall.S
-
-close.o: $(srcdir)/../close.c
-fstat.o: $(srcdir)/../fstat.c
-getpid.o: $(srcdir)/../getpid.c
-isatty.o: $(srcdir)/../isatty.c
-kill.o: $(srcdir)/../kill.c
-lseek.o: $(srcdir)/../lseek.c
-open.o: $(srcdir)/../open.c
-putnum.o: $(srcdir)/../putnum.c
-sbrk.o: $(srcdir)/../sbrk.c
-stat.o: $(srcdir)/../stat.c
-unlink.o: $(srcdir)/../unlink.c
-
-# Don't optimize when compiling the test program, makes confusion in
-# the debugger.
-
-test.o: $(srcdir)/test.c
- $(CC) -g $(CFLAGS_MRELOCATABLE) $(INCLUDES) -c $(CFLAGS) $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL} ${MVME_INSTALL} ${SOLARIS_INSTALL} ${LINUX_INSTALL} ${YELLOWKNIFE_INSTALL} ${ADS_INSTALL} ${MBX_INSTALL} ${XIL_INSTALL}
-
-install-sim:
- set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-mvme:
- set -e; for x in ${MVME_CRT0} ${MVME_BSP} ${MVME_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-solaris:
- set -e; for x in ${SOLARIS_CRT0} ${SOLARIS_BSP} ${SOLARIS_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-linux:
- set -e; for x in ${LINUX_CRT0} ${LINUX_BSP} ${LINUX_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-yellowknife:
- set -e; for x in ${YELLOWKNIFE_CRT0} ${YELLOWKNIFE_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${YELLOWKNIFE_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-ads:
- set -e; for x in ${ADS_CRT0} ${ADS_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${ADS_SCRIPTS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-mbx:
- set -e; for x in ${MBX_CRT0} ${MBX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
- set -e; for x in ${MBX_SCRIPTS} ${MBX_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
-
-install-xil:
- set -e; for x in ${XIL_CRT0} ${XIL_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
- set -e; for x in ${XIL_SCRIPTS} ${XIL_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib/$$x; done
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/rs6000/aclocal.m4 b/libgloss/rs6000/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/rs6000/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/rs6000/ads-exit.S b/libgloss/rs6000/ads-exit.S
deleted file mode 100644
index 1a381c8..0000000
--- a/libgloss/rs6000/ads-exit.S
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * ads-exit.S -- _exit stub for targets using the sds monitor
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-FUNC_START(_exit)
-/*
- * Insure that the debugger tells the client that the PC is in _exit,
- * not whatever function happens to follow this function.
- */
-
-0: trap
- b 0b
-FUNC_END(_exit)
-
diff --git a/libgloss/rs6000/ads-io.c b/libgloss/rs6000/ads-io.c
deleted file mode 100644
index d57b297..0000000
--- a/libgloss/rs6000/ads-io.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * ads-io.c -- stub io functions for targets using the sds monitor
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int inbyte(void)
-{
- return -1;
-}
-
-
-void outbyte(char c)
-{
-}
-
-
-/*
- * write -- write some bytes to the output device.
- */
-
-int
-write (int fd, char *ptr, unsigned len)
-{
- return len;
-}
-
-
-/*
- * print -- do a raw print of a string
- */
-void
-print (char *ptr)
-{
-}
-
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int read (int fd, char *buf, int nbytes)
-{
- return -1;
-}
diff --git a/libgloss/rs6000/ads.ld b/libgloss/rs6000/ads.ld
deleted file mode 100644
index ef5038e..0000000
--- a/libgloss/rs6000/ads.ld
+++ /dev/null
@@ -1,155 +0,0 @@
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-PROVIDE (__stack = 0x2000000);
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x10000, LENGTH = 0x2000000
-}
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x10000 + SIZEOF_HEADERS;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rela.got : { *(.rela.got) }
- .rela.got1 : { *(.rela.got1) }
- .rela.got2 : { *(.rela.got2) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.bss : { *(.rela.bss) }
- .rela.plt : { *(.rela.plt) }
- .rela.sdata : { *(.rela.sdata2) }
- .rela.sbss : { *(.rela.sbss2) }
- .rela.sdata2 : { *(.rela.sdata2) }
- .rela.sbss2 : { *(.rela.sbss2) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- .init : { *(.init) } =0
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- .gcc_except_table : { *(.gcc_except_table) }
- _etext = .;
- PROVIDE (etext = .);
- .sdata2 : { *(.sdata2) }
- .sbss2 : { *(.sbss2) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. It would
- be more correct to do this:
- . = ALIGN(0x10000) + (ALIGN(8) & (0x10000 - 1));
- The current expression does not correctly handle the case of a
- text segment ending precisely at the end of a page; it causes the
- data segment to skip a page. The above expression does not have
- this problem, but it will currently (2/95) cause BFD to allocate
- a single segment, combining both text and data, for this case.
- This will prevent the text segment from being shared among
- multiple executions of the program; I think that is more
- important than losing a page of the virtual address space (note
- that no actual memory is lost; the page which is skipped can not
- be referenced). */
- . = ALIGN(8) + 0x10000;
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .got1 : { *(.got1) }
- .dynamic : { *(.dynamic) }
- /* Put .ctors and .dtors next to the .got2 section, so that the pointers
- get relocated with -mrelocatable. Also put in the .fixup pointers.
- The current compiler no longer needs this, but keep it around for 2.7.2 */
- PROVIDE (_GOT2_START_ = .);
- .got2 : { *(.got2) }
- PROVIDE (__CTOR_LIST__ = .);
- .ctors : { *(.ctors) }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- .dtors : { *(.dtors) }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) }
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (_GOT2_END_ = .);
- PROVIDE (_GOT_START_ = .);
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
- PROVIDE (_GOT_END_ = .);
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- *(.sbss)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- }
- .bss :
- {
- PROVIDE (__bss_start = .);
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/rs6000/configure b/libgloss/rs6000/configure
deleted file mode 100755
index 5c923f9..0000000
--- a/libgloss/rs6000/configure
+++ /dev/null
@@ -1,3732 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="sim-crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/ppc.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/rs6000/configure.in b/libgloss/rs6000/configure.in
deleted file mode 100644
index caa192f..0000000
--- a/libgloss/rs6000/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(sim-crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/ppc.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/rs6000/crt0.S b/libgloss/rs6000/crt0.S
deleted file mode 100644
index 9a59819..0000000
--- a/libgloss/rs6000/crt0.S
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * crt0.S -- startup file for PowerPC systems.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "crt0.S"
- .section ".got2","aw"
- .align 2
-
-.LCTOC1 = .+32768
-
- .extern FUNC_NAME(atexit)
- .globl FUNC_NAME(__atexit)
- .section ".sdata","aw"
- .align 2
-FUNC_NAME(__atexit): /* tell C's eabi-ctor's we have an atexit function */
- .long FUNC_NAME(atexit)@fixup /* and that it is to register __do_global_dtors */
-
- .section ".fixup","aw"
- .align 2
- .long FUNC_NAME(__atexit)
-
- .section ".got2","aw"
-.Ltable = .-.LCTOC1
- .long .LCTOC1 /* address we think .LCTOC1 is loaded at */
-
-.Lsbss_start = .-.LCTOC1
- .long __sbss_start
-
-.Lsbss_end = .-.LCTOC1
- .long __sbss_end
-
-.Lbss_start = .-.LCTOC1
- .long __bss_start
-
-.Lend = .-.LCTOC1
- .long _end
-
-.Lstack = .-.LCTOC1 /* stack address if set by user */
- .long __stack
-
- .text
-.Lptr:
- .long .LCTOC1-.Laddr
-
- .globl _start
- .type _start,@function
-_start:
- bl .Laddr /* get current address */
-.Laddr:
- mflr r4 /* real address of .Laddr */
- lwz r5,(.Lptr-.Laddr)(r4) /* linker generated address of .LCTOC1 */
- add r5,r5,r4 /* correct to real pointer */
- lwz r4,.Ltable(r5) /* get linker's idea of where .Laddr is */
- subf r4,r4,r5 /* calculate difference between where linked and current */
-
- /* clear bss and sbss */
- lwz r6,.Lbss_start(r5) /* calculate beginning of the BSS */
- lwz r7,.Lend(r5) /* calculate end of the BSS */
- add r6,r6,r4 /* adjust pointers */
- add r7,r7,r4
-
- cmplw 1,r6,r7
- bc 4,4,.Ldone1
-
- subf r8,r6,r7 /* number of bytes to zero */
- srwi r9,r8,2 /* number of words to zero */
- mtctr r9
- li r0,0 /* zero to clear memory */
- addi r6,r6,-4 /* adjust so we can use stwu */
-.Lloop:
- stwu r0,4(r6) /* zero bss */
- bdnz .Lloop
-
-.Ldone1:
-
- lwz r6,.Lsbss_start(r5) /* calculate beginning of the SBSS */
- lwz r7,.Lsbss_end(r5) /* calculate end of the SBSS */
- add r6,r6,r4 /* adjust pointers */
- add r7,r7,r4
-
- cmplw 1,r6,r7
- bc 4,4,.Ldone
-
- subf r8,r6,r7 /* number of bytes to zero */
- srwi r9,r8,2 /* number of words to zero */
- mtctr r9
- li r0,0 /* zero to clear memory */
- addi r6,r6,-4 /* adjust so we can use stwu */
-.Lloop2:
- stwu r0,4(r6) /* zero bss */
- bdnz .Lloop2
-
-.Ldone:
-
- lwz r0,.Lstack(r5) /* stack address or 0 */
- cmplwi 1,r0,0 /* equal to 0? */
- bc 12,6,.Lnostack /* use default stack if == 0 */
- mr sp,r0 /* use user defined stack */
-
-.Lnostack:
- /* set up initial stack frame */
- addi sp,sp,-4 /* make sure we don't overwrite debug mem */
- lis r0,0
- stw r0,0(sp) /* clear back chain */
- stwu sp,-64(sp) /* push another stack frame */
-
- /* Let her rip */
- bl FUNC_NAME(main)
-
- /* return value from main is argument to exit */
- bl FUNC_NAME(exit)
- trap
-.Lstart:
- .size _start,.Lstart-_start
diff --git a/libgloss/rs6000/mbx-exit.c b/libgloss/rs6000/mbx-exit.c
deleted file mode 100644
index d295414..0000000
--- a/libgloss/rs6000/mbx-exit.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * mbx-exit.c -- exit function for targets using the eppcbug monitor
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-void _exit(int stat)
-{
- asm volatile ("li 10,0xf00; sc\n");
-
- while (1) ;
-
- return;
-}
-
diff --git a/libgloss/rs6000/mbx-inbyte.c b/libgloss/rs6000/mbx-inbyte.c
deleted file mode 100644
index bd06aa0..0000000
--- a/libgloss/rs6000/mbx-inbyte.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * mbx-inbyte.c -- inbyte function for targets using the eppcbug monitor
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-int inbyte(void)
-{
- struct {
- unsigned clun;
- unsigned dlun;
- char *data;
- unsigned len;
- unsigned rsrvd;
- char buf[4];
- } ipb, *inpb;
-
- struct {
- int status;
- int cnt;
- } opb, *outpb;
-
- inpb = &ipb;
- outpb = &opb;
-
- do {
- inpb->clun = 0;
- inpb->dlun = 0;
- inpb->data = ipb.buf;
- inpb->len = 1;
- inpb->rsrvd = 0;
-
- asm volatile (
- "mr 3,%0\n"
- "mr 4,%1\n"
- "li 10,0x200\n"
- "sc"
- : /* no outputs */
- : "r" (inpb), "r" (outpb)
- : "3", "4", "10"
- );
- } while (outpb->status == 0 && outpb->cnt == 0);
-
- if (outpb->status == 0)
- return ipb.buf[0] & 0xff;
-
- return -1;
-}
diff --git a/libgloss/rs6000/mbx-outbyte.c b/libgloss/rs6000/mbx-outbyte.c
deleted file mode 100644
index 0ebf0c6..0000000
--- a/libgloss/rs6000/mbx-outbyte.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * mbx-outbyte.c -- outbyte function for targets using the eppcbug monitor
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-static int sendbyte(char c)
-{
- struct {
- unsigned clun;
- unsigned dlun;
- char *data;
- unsigned len;
- unsigned rsrvd;
- char buf[4];
- } ipb, *inpb;
-
- struct {
- int status;
- int cnt;
- } opb, *outpb;
-
- inpb = &ipb;
- outpb = &opb;
-
- inpb->clun = 0;
- inpb->dlun = 0;
- inpb->data = ipb.buf;
- inpb->len = 1;
- inpb->rsrvd = 0;
- inpb->buf[0] = c;
-
- asm volatile (
- "mr 3,%0\n"
- "mr 4,%1\n"
- "li 10,0x201\n"
- "sc"
- : /* no outputs */
- : "r" (inpb), "r" (outpb)
- : "3", "4", "10"
- );
-
- return (outpb->status == 0 && outpb->cnt == 1);
-}
-
-#define GDB_QUOTE_OUTBYTES 1
-
-void outbyte(char c)
-{
-#ifdef GDB_QUOTE_OUTBYTES
- /*
- * GDB monitor.c will echo characters quoted with ^O
- */
- while (!sendbyte('\017')) ;
-#endif
- while (!sendbyte(c)) ;
-}
-
-
diff --git a/libgloss/rs6000/mbx-print.c b/libgloss/rs6000/mbx-print.c
deleted file mode 100644
index 64472ee..0000000
--- a/libgloss/rs6000/mbx-print.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* mbx-print.c -- print a string on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * print -- do a raw print of a string
- */
-void
-print (ptr)
- char *ptr;
-{
- int len = 0;
- char *p = ptr;
-
- while (*p != '\0')
- p++;
-
- write (1, ptr, p-ptr);
-}
-
diff --git a/libgloss/rs6000/mbx.ld b/libgloss/rs6000/mbx.ld
deleted file mode 100644
index cedf4e8..0000000
--- a/libgloss/rs6000/mbx.ld
+++ /dev/null
@@ -1,135 +0,0 @@
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-PROVIDE (__stack = 0x0);
-
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x2000 + SIZEOF_HEADERS;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rela.got : { *(.rela.got) }
- .rela.got1 : { *(.rela.got1) }
- .rela.got2 : { *(.rela.got2) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.bss : { *(.rela.bss) }
- .rela.plt : { *(.rela.plt) }
- .rela.sdata : { *(.rela.sdata2) }
- .rela.sbss : { *(.rela.sbss2) }
- .rela.sdata2 : { *(.rela.sdata2) }
- .rela.sbss2 : { *(.rela.sbss2) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- .init : { *(.init) } =0
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- _etext = .;
- PROVIDE (etext = .);
- .sdata2 : { *(.sdata2) }
- .sbss2 : { *(.sbss2) }
- . = ALIGN(8);
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .got1 : { *(.got1) }
- .dynamic : { *(.dynamic) }
- /* Put .ctors and .dtors next to the .got2 section, so that the pointers
- get relocated with -mrelocatable. Also put in the .fixup pointers.
- The current compiler no longer needs this, but keep it around for 2.7.2 */
- PROVIDE (_GOT2_START_ = .);
- .got2 : { *(.got2) }
- PROVIDE (__CTOR_LIST__ = .);
- .ctors : { *(.ctors) }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- .dtors : { *(.dtors) }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) }
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (_GOT2_END_ = .);
- PROVIDE (_GOT_START_ = .);
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
- PROVIDE (_GOT_END_ = .);
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- *(.sbss)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- }
- .bss :
- {
- PROVIDE (__bss_start = .);
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/rs6000/mbx.specs b/libgloss/rs6000/mbx.specs
deleted file mode 100644
index dd01cc8..0000000
--- a/libgloss/rs6000/mbx.specs
+++ /dev/null
@@ -1,12 +0,0 @@
-*lib_default:
---start-group -lmbx -lc --end-group
-
-*startfile_default:
-ecrti.o%s crt0.o%s
-
-*endfile_default:
-ecrtn.o%s
-
-*link_start_default:
--T mbx.ld%s
-
diff --git a/libgloss/rs6000/mcount.S b/libgloss/rs6000/mcount.S
deleted file mode 100644
index 3ea5ef9..0000000
--- a/libgloss/rs6000/mcount.S
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * mcount.S -- dummy module for profiling.
- *
- * Copyright (c) 1997 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "mcount-dummy.S"
- .text
-FUNC_START(_mcount)
- mflr r11
- lwz r0,4(sp)
- mtctr r11
- mtlr r0
- bctr
-FUNC_END(_mcount)
diff --git a/libgloss/rs6000/mvme-errno.c b/libgloss/rs6000/mvme-errno.c
deleted file mode 100644
index 17386d8..0000000
--- a/libgloss/rs6000/mvme-errno.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * sim-errno.c -- return address of errno for current thread.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int errno;
-
-int *
-__errno ()
-{
- return &errno;
-}
diff --git a/libgloss/rs6000/mvme-exit.S b/libgloss/rs6000/mvme-exit.S
deleted file mode 100644
index a33a5e0..0000000
--- a/libgloss/rs6000/mvme-exit.S
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * mvme-exit.S -- _exit function for targets using the ppcbug monitor
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "mvme-exit.S"
- .text
-FUNC_START(_exit)
- li r10,0x63
- sc
-
-/*
- * Insure that the debugger tells the client that the PC is in _exit,
- * not whatever function happens to follow this function.
- */
-
-0: trap
- b 0b /* we never should return, but... */
-FUNC_END(_exit)
diff --git a/libgloss/rs6000/mvme-inbyte.S b/libgloss/rs6000/mvme-inbyte.S
deleted file mode 100644
index f5c781b..0000000
--- a/libgloss/rs6000/mvme-inbyte.S
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * mvme-inbyte.S -- inbyte function for targets using the ppcbug monitor
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "mvme-inbyte.S"
- .text
-FUNC_START(inbyte)
- li r10,0x0
- sc
- blr
-FUNC_END(inbyte)
-
-FUNC_START(__inln)
- li r10,0x2
- sc
- blr
-FUNC_END(__inln)
diff --git a/libgloss/rs6000/mvme-outbyte.S b/libgloss/rs6000/mvme-outbyte.S
deleted file mode 100644
index 3940874..0000000
--- a/libgloss/rs6000/mvme-outbyte.S
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * mvme-outbyte.S -- outbyte function for targets using the ppcbug monitor
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "mvme-outbyte.S"
- .text
-FUNC_START(outbyte)
- li r10,0x20
- sc
- blr
-FUNC_END(outbyte)
-
-FUNC_START(__outstr)
- li r10,0x21
- sc
- blr
-FUNC_END(__outstr)
-
-FUNC_START(__outln)
- li r10,0x22
- sc
- blr
-FUNC_END(__outln)
-
-FUNC_START(__pcrlf)
- li r10,0x26
- sc
- blr
-FUNC_END(__pcrlf)
diff --git a/libgloss/rs6000/mvme-print.c b/libgloss/rs6000/mvme-print.c
deleted file mode 100644
index 8d19542..0000000
--- a/libgloss/rs6000/mvme-print.c
+++ /dev/null
@@ -1,76 +0,0 @@
-/* mvme-print.c -- print a string on the output device.
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * write -- write some bytes to the output device.
- */
-
-int
-write (fd, ptr, len)
- int fd;
- char *ptr;
- unsigned len;
-{
- char *done = ptr + len;
- char *q;
- unsigned len2;
-
- while (ptr < done)
- {
- if (*ptr == '\n')
- {
- __pcrlf ();
- ptr++;
- }
- else
- {
- q = ptr;
- while ( (q < done) && ((ptr - q) < 254))
- {
- if (*q == '\n')
- {
- __outln (ptr, q);
- ptr = ++q;
- }
- else
- q++;
- }
-
- if (ptr != q)
- {
- __outstr (ptr, q);
- ptr = q;
- }
- }
- }
- return len;
-}
-
-/*
- * print -- do a raw print of a string
- */
-
-void
-print (ptr)
- char *ptr;
-{
- int len = 0;
- char *p = ptr;
-
- while (*p != '\0')
- p++;
-
- write (1, ptr, p-ptr);
-}
diff --git a/libgloss/rs6000/mvme-read.c b/libgloss/rs6000/mvme-read.c
deleted file mode 100644
index 1c823b4..0000000
--- a/libgloss/rs6000/mvme-read.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* mvme-read.c -- read bytes from a input device.
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-extern int inbyte ();
-extern char * __inln ();
-
-/*
- * read -- read bytes from the serial port. Ignore fd, since
- * we only have stdin.
- */
-int
-read (fd, buf, nbytes)
- int fd;
- char *buf;
- int nbytes;
-{
- if (nbytes >= 256)
- {
- char *read_end = __inln (buf);
- *read_end = '\n';
- return read_end - buf + 1;
- }
- else
- {
- int i, c;
- for (i = 0; i < nbytes; i++) {
- *buf++ = c = inbyte ();
- if (c == '\n' || c == '\r') {
- buf[-1] = '\n'; /* convert \r to \n */
- buf[0] = '\0';
- break;
- }
- }
-
- return i;
- }
-}
diff --git a/libgloss/rs6000/sim-abort.c b/libgloss/rs6000/sim-abort.c
deleted file mode 100644
index e1b59cf..0000000
--- a/libgloss/rs6000/sim-abort.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * sim-abort.c -- PowerPC abort support when running under the simulator.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-void abort(void)
-{
- write (2, "Abort called.\n", sizeof("Abort called.\n")-1);
- exit (1);
-}
diff --git a/libgloss/rs6000/sim-crt0.S b/libgloss/rs6000/sim-crt0.S
deleted file mode 100644
index e0d3bb9..0000000
--- a/libgloss/rs6000/sim-crt0.S
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * crt0.S -- startup file for PowerPC systems.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "sim-crt0.S"
- .text
- .globl _start
- .type _start,@function
-_start:
- lis r0,0
- stw r0,0(sp) /* clear back chain */
- stwu sp,-64(sp) /* push another stack frame */
-
- /* Let her rip */
- bl FUNC_NAME(main)
-
- /* return value from main is argument to exit */
- bl FUNC_NAME(exit)
-.Lstart:
- .size _start,.Lstart-_start
-
- .extern FUNC_NAME(atexit)
- .globl FUNC_NAME(__atexit)
- .section ".sdata","aw"
- .align 2
-FUNC_NAME(__atexit): /* tell C's eabi-ctor's we have an atexit function */
- .long FUNC_NAME(atexit)@fixup /* and that it is to register __do_global_dtors */
-
- .section ".fixup","aw"
- .align 2
- .long FUNC_NAME(__atexit)
diff --git a/libgloss/rs6000/sim-errno.c b/libgloss/rs6000/sim-errno.c
deleted file mode 100644
index 29cb4a2..0000000
--- a/libgloss/rs6000/sim-errno.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * sim-errno.c -- return address of errno for current thread.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-#include <reent.h>
-
-/* syscall handler branches here in case of error. */
-
-int
-_cerror (e)
- int e;
-{
- _REENT->_errno = e;
- return -1;
-}
diff --git a/libgloss/rs6000/sim-getrusage.S b/libgloss/rs6000/sim-getrusage.S
deleted file mode 100644
index 20f1c62..0000000
--- a/libgloss/rs6000/sim-getrusage.S
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * sim-getrusage.S -- PowerPC simulator getrusage call.
- *
- * Copyright (c) 1995, 2000, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-FUNC_START(getrusage)
- li r0,117
- sc
- bns+ 0f
- b FUNC_NAME(_cerror)
-0: blr
-FUNC_END(getrusage)
diff --git a/libgloss/rs6000/sim-inbyte.c b/libgloss/rs6000/sim-inbyte.c
deleted file mode 100644
index 787b689..0000000
--- a/libgloss/rs6000/sim-inbyte.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * sim-inbyte.c -- read a character from standard input.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-int
-inbyte ()
-{
- char c;
-
- if (read (0, &c, 1) <= 0)
- return -1;
-
- return c;
-}
diff --git a/libgloss/rs6000/sim-print.c b/libgloss/rs6000/sim-print.c
deleted file mode 100644
index c0b9adc..0000000
--- a/libgloss/rs6000/sim-print.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* sim-print.c -- print a string on the output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/*
- * print -- do a raw print of a string
- */
-void
-print (ptr)
- char *ptr;
-{
- int len = 0;
- char *p = ptr;
-
- while (*p != '\0')
- p++;
-
- write (1, ptr, p-ptr);
-}
-
-/*
- * outbyte -- write a single character.
- */
-
-void
-outbyte (c_int)
- int c_int;
-{
- char c = c_int;
-
- write (1, &c, 1);
-}
diff --git a/libgloss/rs6000/sim-sbrk.c b/libgloss/rs6000/sim-sbrk.c
deleted file mode 100644
index 5c8bd65..0000000
--- a/libgloss/rs6000/sim-sbrk.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * sim-sbrk.c -- PowerPC sbrk support when running under the simulator.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-extern char _end[];
-static char *curbrk = _end;
-
-char *
-sbrk (incr)
- int incr;
-{
- char *oldbrk = curbrk;
- curbrk += incr;
- if (brk (curbrk) == -1)
- return (char *) -1;
-
- return oldbrk;
-}
diff --git a/libgloss/rs6000/sim-times.c b/libgloss/rs6000/sim-times.c
deleted file mode 100644
index 171ab15..0000000
--- a/libgloss/rs6000/sim-times.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* sim-times.c - times support routines for PowerPC.
- *
- * Written by Aldy Hernandez.
- *
- * This file is licensed with the default Red Hat license
- * found in COPYING.NEWLIB.
- * http://sourceware.org/cgi-bin/cvsweb.cgi/src/COPYING.NEWLIB?rev=1.32&content-type=text/x-cvsweb-markup&cvsroot=src
- */
-
-#include <_ansi.h>
-#include <reent.h>
-#include <sys/time.h>
-#include <sys/times.h>
-#include <sys/resource.h>
-
-clock_t
-times (struct tms *tp)
-{
- struct rusage usage;
- union {
- struct rusage r;
- /* Newlib's rusage has only 2 fields. We need to make room for
- when we call the system's rusage. This should be enough. */
- int filler[32];
- } host_ru;
-
- getrusage (RUSAGE_SELF, (void *)&host_ru);
-
- if (tp)
- {
- tp->tms_utime = host_ru.r.ru_utime.tv_sec * 1000
- + host_ru.r.ru_utime.tv_usec;
- tp->tms_stime = host_ru.r.ru_stime.tv_sec * 1000
- + host_ru.r.ru_stime.tv_usec;
- tp->tms_cutime = 0; /* user time, children */
- tp->tms_cstime = 0; /* system time, children */
- }
-
- return tp->tms_utime;
-}
diff --git a/libgloss/rs6000/simulator.S b/libgloss/rs6000/simulator.S
deleted file mode 100644
index 914a761..0000000
--- a/libgloss/rs6000/simulator.S
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * simulator.S -- PowerPC simulator system calls.
- *
- * Copyright (c) 1995, 2000, 2001 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
-FUNC_START(_exit)
- li r0, 1
- sc
-
-/*
- * Insure that the debugger tells the client that the PC is in _exit,
- * not whatever function happens to follow this function.
- */
-
-0: trap
- b 0b /* we never should return, but... */
-
-FUNC_END(_exit)
-
-FUNC_START(read)
- li r0,3
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(read)
-
-FUNC_START(write)
- li r0,4
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(write)
-
-FUNC_START(open)
- li r0,5
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(open)
-
-FUNC_START(close)
- li r0,6
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(close)
-
-FUNC_START(brk)
- li r0,17
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(brk)
-
-FUNC_START(access)
- li r0,33
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(access)
-
-FUNC_START(dup)
- li r0,41
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(dup)
-
-FUNC_START(gettimeofday)
- li r0,116
- sc
- bns+ 0f
- b FUNC_NAME(_cerror)
-0: blr
-FUNC_END(gettimeofday)
-
-FUNC_START(lseek)
- li r0,199
- sc
- bnslr+
- b FUNC_NAME(_cerror)
-FUNC_END(lseek)
diff --git a/libgloss/rs6000/sol-cfuncs.c b/libgloss/rs6000/sol-cfuncs.c
deleted file mode 100644
index 9827167..0000000
--- a/libgloss/rs6000/sol-cfuncs.c
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
- * solaris-cfuncs.S -- C functions for Solaris.
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/unistd.h>
-
-#ifndef __STDC__
-#define const
-#endif
-
-/* Solaris stat packet */
-typedef long solaris_off_t;
-typedef long solaris_uid_t;
-typedef long solaris_gid_t;
-typedef long unsigned solaris_mode_t;
-typedef long unsigned solaris_nlink_t;
-typedef long unsigned solaris_dev_t;
-typedef long unsigned solaris_ino_t;
-typedef long solaris_time_t;
-
-typedef struct {
- solaris_time_t tv_sec;
- long tv_nsec;
-} solaris_timestruc_t;
-
-#define _ST_FSTYPSZ 16
-
-struct solaris_stat {
- solaris_dev_t st_dev;
- long st_pad1[3];
- solaris_ino_t st_ino;
- solaris_mode_t st_mode;
- solaris_nlink_t st_nlink;
- solaris_uid_t st_uid;
- solaris_gid_t st_gid;
- solaris_dev_t st_rdev;
- long st_pad2[2];
- solaris_off_t st_size;
- long st_pad3;
- solaris_timestruc_t st_atim;
- solaris_timestruc_t st_mtim;
- solaris_timestruc_t st_ctim;
- long st_blksize;
- long st_blocks;
- char st_fstype[_ST_FSTYPSZ];
- long st_pad4[8];
-};
-
-/* Solaris termios packet */
-#define SOLARIS_NCCS 19
-typedef unsigned long solaris_tcflag_t;
-typedef unsigned char solaris_cc_t;
-typedef unsigned long solaris_speed_t;
-
-struct solaris_termios {
- solaris_tcflag_t c_iflag;
- solaris_tcflag_t c_oflag;
- solaris_tcflag_t c_cflag;
- solaris_tcflag_t c_lflag;
- solaris_cc_t c_cc[SOLARIS_NCCS];
-};
-
-#define SOLARIS_TIOC ('T'<<8)
-#define SOLARIS_TCGETS (SOLARIS_TIOC|13)
-
-
-
-/* Debug support */
-#ifdef DEBUG
-#define TRACE(msg) trace (msg)
-#define TRACE1(msg,num) trace1 (msg,(unsigned)num)
-
-static void
-trace (msg)
- const char *msg;
-{
- const char *p;
-
- for (p = msg; *p != '\0'; p++)
- ;
-
- (void) write (2, msg, p-msg);
-}
-
-static void
-trace1 (msg, num)
- const char *msg;
- unsigned int num;
-{
- char buffer[16];
- char *p = &buffer[ sizeof(buffer) ];
-
- trace (msg);
- *--p = '\0';
- *--p = '\n';
- do {
- *--p = '0' + (num % 10);
- num /= 10;
- } while (num != 0);
- trace (p);
-}
-
-#else
-#define TRACE(msg)
-#define TRACE1(msg,num)
-#endif
-
-
-/* Errno support */
-
-int errno;
-
-int *
-__errno ()
-{
- return &errno;
-}
-
-/* syscall handler branches here to set errno. Error codes
- that are common between newlib and Solaris are the same. */
-
-int
-_cerror (e)
- int e;
-{
- TRACE1("got to _cerror ",e);
- errno = e;
- return -1;
-}
-
-
-/* Sbrk support */
-
-extern char _end[];
-static char *curbrk = _end;
-
-void *
-sbrk (incr)
- size_t incr;
-{
- char *oldbrk = curbrk;
- TRACE("got to sbrk\n");
- curbrk += incr;
- if (brk (curbrk) == -1)
- return (char *) -1;
-
- return (void *)oldbrk;
-}
-
-
-/* Isatty support */
-
-int
-isatty (fd)
- int fd;
-{
- struct solaris_termios t;
- int ret;
-
- ret = (ioctl (fd, SOLARIS_TCGETS, &t) == 0);
-
- TRACE1("got to isatty, returned ", ret);
- return ret;
-}
-
-
-/* Convert Solaris {,f}stat to newlib.
- Fortunately, the st_mode bits are the same. */
-
-static void
-solaris_to_newlib_stat (solaris, newlib)
- struct solaris_stat *solaris;
- struct stat *newlib;
-{
- static struct stat zero_stat;
-
- *newlib = zero_stat;
- newlib->st_dev = solaris->st_dev;
- newlib->st_ino = solaris->st_ino;
- newlib->st_mode = solaris->st_mode;
- newlib->st_nlink = solaris->st_nlink;
- newlib->st_uid = solaris->st_uid;
- newlib->st_gid = solaris->st_gid;
- newlib->st_rdev = solaris->st_rdev;
- newlib->st_size = solaris->st_size;
- newlib->st_blksize = solaris->st_blksize;
- newlib->st_blocks = solaris->st_blocks;
- newlib->st_atime = solaris->st_atim.tv_sec;
- newlib->st_mtime = solaris->st_mtim.tv_sec;
- newlib->st_ctime = solaris->st_ctim.tv_sec;
-}
-
-int
-stat (file, newlib_stat)
- const char *file;
- struct stat *newlib_stat;
-{
- int ret;
- struct solaris_stat st;
-
- TRACE("got to stat\n");
- ret = _stat (file, &st);
- if (ret >= 0)
- solaris_to_newlib_stat (&st, newlib_stat);
-
- return ret;
-}
-
-int
-lstat (file, newlib_stat)
- const char *file;
- struct stat *newlib_stat;
-{
- int ret;
- struct solaris_stat st;
-
- TRACE("got to lstat\n");
- ret = _lstat (file, &st);
- if (ret >= 0)
- solaris_to_newlib_stat (&st, newlib_stat);
-
- return ret;
-}
-
-int
-fstat (fd, newlib_stat)
- int fd;
- struct stat *newlib_stat;
-{
- int ret;
- struct solaris_stat st;
-
- TRACE("got to fstat\n");
- ret = _fstat (fd, &st);
- if (ret >= 0)
- solaris_to_newlib_stat (&st, newlib_stat);
-
- return ret;
-}
-
-
-/* Nops */
-
-int
-getrusage ()
-{
- _cerror (EINVAL);
- return -1;
-}
-
-char *
-getcwd(buf, size)
- char *buf;
- size_t size;
-{
- if (!buf || size < 2)
- return ".";
-
- buf[0] = '.';
- buf[1] = '\0';
- return buf;
-}
diff --git a/libgloss/rs6000/sol-syscall.S b/libgloss/rs6000/sol-syscall.S
deleted file mode 100644
index 352253d..0000000
--- a/libgloss/rs6000/sol-syscall.S
+++ /dev/null
@@ -1,280 +0,0 @@
-/*
- * solaris-syscall.S -- System call stubs for Solaris.
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "ppc-asm.h"
-
- .file "solaris-syscall.S"
-
-#define SYS_syscall 0
-#define SYS_exit 1
-#define SYS_fork 2
-#define SYS_read 3
-#define SYS_write 4
-#define SYS_open 5
-#define SYS_close 6
-#define SYS_wait 7
-#define SYS_creat 8
-#define SYS_link 9
-#define SYS_unlink 10
-#define SYS_exec 11
-#define SYS_chdir 12
-#define SYS_time 13
-#define SYS_mknod 14
-#define SYS_chmod 15
-#define SYS_chown 16
-#define SYS_brk 17
-#define SYS_stat 18
-#define SYS_lseek 19
-#define SYS_getpid 20
-#define SYS_mount 21
-#define SYS_umount 22
-#define SYS_setuid 23
-#define SYS_getuid 24
-#define SYS_stime 25
-#define SYS_ptrace 26
-#define SYS_alarm 27
-#define SYS_fstat 28
-#define SYS_pause 29
-#define SYS_utime 30
-#define SYS_stty 31
-#define SYS_gtty 32
-#define SYS_access 33
-#define SYS_nice 34
-#define SYS_statfs 35
-#define SYS_sync 36
-#define SYS_kill 37
-#define SYS_fstatfs 38
-#define SYS_pgrpsys 39
-#define SYS_xenix 40
-#define SYS_dup 41
-#define SYS_pipe 42
-#define SYS_times 43
-#define SYS_profil 44
-#define SYS_plock 45
-#define SYS_setgid 46
-#define SYS_getgid 47
-#define SYS_signal 48
-#define SYS_msgsys 49
-#define SYS_syssun 50
-#define SYS_sysi86 50
-#define SYS_sysppc 50
-#define SYS_acct 51
-#define SYS_shmsys 52
-#define SYS_semsys 53
-#define SYS_ioctl 54
-#define SYS_uadmin 55
-#define SYS_utssys 57
-#define SYS_fdsync 58
-#define SYS_execve 59
-#define SYS_umask 60
-#define SYS_chroot 61
-#define SYS_fcntl 62
-#define SYS_ulimit 63
-#define SYS_rmdir 79
-#define SYS_mkdir 80
-#define SYS_getdents 81
-#define SYS_sysfs 84
-#define SYS_getmsg 85
-#define SYS_putmsg 86
-#define SYS_poll 87
-#define SYS_lstat 88
-#define SYS_symlink 89
-#define SYS_readlink 90
-#define SYS_setgroups 91
-#define SYS_getgroups 92
-#define SYS_fchmod 93
-#define SYS_fchown 94
-#define SYS_sigprocmask 95
-#define SYS_sigsuspend 96
-#define SYS_sigaltstack 97
-#define SYS_sigaction 98
-#define SYS_sigpending 99
-#define SYS_context 100
-#define SYS_evsys 101
-#define SYS_evtrapret 102
-#define SYS_statvfs 103
-#define SYS_fstatvfs 104
-#define SYS_nfssys 106
-#define SYS_waitsys 107
-#define SYS_sigsendsys 108
-#define SYS_hrtsys 109
-#define SYS_acancel 110
-#define SYS_async 111
-#define SYS_priocntlsys 112
-#define SYS_pathconf 113
-#define SYS_mincore 114
-#define SYS_mmap 115
-#define SYS_mprotect 116
-#define SYS_munmap 117
-#define SYS_fpathconf 118
-#define SYS_vfork 119
-#define SYS_fchdir 120
-#define SYS_readv 121
-#define SYS_writev 122
-#define SYS_xstat 123
-#define SYS_lxstat 124
-#define SYS_fxstat 125
-#define SYS_xmknod 126
-#define SYS_clocal 127
-#define SYS_setrlimit 128
-#define SYS_getrlimit 129
-#define SYS_lchown 130
-#define SYS_memcntl 131
-#define SYS_getpmsg 132
-#define SYS_putpmsg 133
-#define SYS_rename 134
-#define SYS_uname 135
-#define SYS_setegid 136
-#define SYS_sysconfig 137
-#define SYS_adjtime 138
-#define SYS_systeminfo 139
-#define SYS_seteuid 141
-#define SYS_vtrace 142
-#define SYS_fork1 143
-#define SYS_sigtimedwait 144
-#define SYS_lwp_info 145
-#define SYS_yield 146
-#define SYS_lwp_sema_wait 147
-#define SYS_lwp_sema_post 148
-#define SYS_modctl 152
-#define SYS_fchroot 153
-#define SYS_utimes 154
-#define SYS_vhangup 155
-#define SYS_gettimeofday 156
-#define SYS_getitimer 157
-#define SYS_setitimer 158
-#define SYS_lwp_create 159
-#define SYS_lwp_exit 160
-#define SYS_lwp_suspend 161
-#define SYS_lwp_continue 162
-#define SYS_lwp_kill 163
-#define SYS_lwp_self 164
-#define SYS_lwp_setprivate 165
-#define SYS_lwp_getprivate 166
-#define SYS_lwp_wait 167
-#define SYS_lwp_mutex_unlock 168
-#define SYS_lwp_mutex_lock 169
-#define SYS_lwp_cond_wait 170
-#define SYS_lwp_cond_signal 171
-#define SYS_lwp_cond_broadcast 172
-#define SYS_pread 173
-#define SYS_pwrite 174
-#define SYS_llseek 175
-#define SYS_inst_sync 176
-#define SYS_kaio 178
-#define SYS_tsolsys 184
-#define SYS_acl 185
-#define SYS_auditsys 186
-#define SYS_processor_bind 187
-#define SYS_processor_info 188
-#define SYS_p_online 189
-#define SYS_sigqueue 190
-#define SYS_clock_gettime 191
-#define SYS_clock_settime 192
-#define SYS_clock_getres 193
-#define SYS_timer_create 194
-#define SYS_timer_delete 195
-#define SYS_timer_settime 196
-#define SYS_timer_gettime 197
-#define SYS_timer_getoverrun 198
-#define SYS_nanosleep 199
-#define SYS_facl 200
-#define SYS_door 201
-#define SYS_setreuid 202
-#define SYS_setregid 203
-#define SYS_install_utrap 204
-#define SYS_signotifywait 210
-#define SYS_lwp_sigredirect 211
-#define SYS_lwp_alarm 212
-
- .text
-FUNC_START(_exit)
- li r0,SYS_exit
- sc
-
-/*
- * Insure that the debugger tells the client that the PC is in _exit,
- * not whatever function happens to follow this function.
- */
-
-0: trap
- b 0b /* we never should return, but... */
-FUNC_END(_exit)
-
-#define SYSCALL(syscall,name) \
-FUNC_START(name); \
- li r0,syscall; \
- sc; \
- bns+ 0f; \
- b FUNC_NAME(_cerror); \
-0: blr; \
-FUNC_END(name)
-
-SYSCALL(SYS_access,access)
-SYSCALL(SYS_alarm,alarm)
-SYSCALL(SYS_brk,brk)
-SYSCALL(SYS_chdir,chdir)
-SYSCALL(SYS_chmod,chomd)
-SYSCALL(SYS_chown,chown)
-SYSCALL(SYS_close,close)
-SYSCALL(SYS_creat,creat)
-SYSCALL(SYS_dup,dup)
-SYSCALL(SYS_exec,exec)
-SYSCALL(SYS_fork,fork)
-SYSCALL(SYS_fstat,_fstat)
-SYSCALL(SYS_getpid,getpid)
-SYSCALL(SYS_ioctl,ioctl)
-SYSCALL(SYS_kill,kill)
-SYSCALL(SYS_link,link)
-SYSCALL(SYS_lseek,lseek)
-SYSCALL(SYS_nice,nice)
-SYSCALL(SYS_open,open)
-SYSCALL(SYS_pause,pause)
-SYSCALL(SYS_pipe,pipe)
-SYSCALL(SYS_ptrace,ptrace)
-SYSCALL(SYS_read,read)
-SYSCALL(SYS_signal,signal)
-SYSCALL(SYS_stat,_stat)
-SYSCALL(SYS_sync,sync)
-SYSCALL(SYS_sysppc,sysppc)
-SYSCALL(SYS_time,time)
-SYSCALL(SYS_times,times)
-SYSCALL(SYS_unlink,unlink)
-SYSCALL(SYS_wait,wait)
-SYSCALL(SYS_write,write)
-SYSCALL(SYS_umask,umask)
-SYSCALL(SYS_execve,execve)
-SYSCALL(SYS_fcntl,fcntl)
-SYSCALL(SYS_ulimit,ulimit)
-SYSCALL(SYS_mkdir,mkdir)
-SYSCALL(SYS_rmdir,rmdir)
-SYSCALL(SYS_getdents,getdents)
-SYSCALL(SYS_lstat,_lstat)
-SYSCALL(SYS_symlink,symlink)
-SYSCALL(SYS_readlink,readlink)
-SYSCALL(SYS_sigprocmask,sigprocmask)
-SYSCALL(SYS_sigsuspend,sigsuspend)
-SYSCALL(SYS_sigaction,sigaction)
-SYSCALL(SYS_mmap,mmap)
-SYSCALL(SYS_mprotect,mprotect)
-SYSCALL(SYS_munmap,munmap)
-SYSCALL(SYS_fpathconf,fpathconf)
-SYSCALL(SYS_vfork,vfork)
-SYSCALL(SYS_setrlimit,setrlimit)
-SYSCALL(SYS_getrlimit,getrlimit)
-SYSCALL(SYS_rename,rename)
-SYSCALL(SYS_utimes,utimes)
-SYSCALL(SYS_gettimeofday,gettimeofday)
diff --git a/libgloss/rs6000/test.c b/libgloss/rs6000/test.c
deleted file mode 100644
index f8f8ea1..0000000
--- a/libgloss/rs6000/test.c
+++ /dev/null
@@ -1,23 +0,0 @@
-extern int led_putnum();
-extern char putDebugChar(),print(),putnum();
-
-main()
-{
- char buf[20];
-
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
- print ("FooBar\r\n");
-
-#if 0
- write (2, "Enter 5 characters... ", 24);
- read (0, buf, 5);
- print (buf);
- print ("\r\n");
-#endif
-
- /* whew, we made it */
- print ("\r\nDone...");
-}
diff --git a/libgloss/rs6000/xil-crt0.S b/libgloss/rs6000/xil-crt0.S
deleted file mode 100644
index e003ed3..0000000
--- a/libgloss/rs6000/xil-crt0.S
+++ /dev/null
@@ -1,192 +0,0 @@
-/*-----------------------------------------------------------------------------
-//
-// Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// 1. Redistributions source code must retain the above copyright notice,
-// this list of conditions and the following disclaimer.
-//
-// 2. Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-// 3. Neither the name of Xilinx nor the names of its contributors may be
-// used to endorse or promote products derived from this software without
-// specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//
-//---------------------------------------------------------------------------*/
-
- .file "xil-crt0.S"
- .section ".got2","aw"
- .align 2
-
-.LCTOC1 = . + 32768
-
-.Lsbss_start = .-.LCTOC1
- .long __sbss_start
-
-.Lsbss_end = .-.LCTOC1
- .long __sbss_end
-
-.Lbss_start = .-.LCTOC1
- .long __bss_start
-
-.Lbss_end = .-.LCTOC1
- .long __bss_end
-
-.Lstack = .-.LCTOC1
- .long __stack
-
-.Lsda = .-.LCTOC1
- .long _SDA_BASE_ /* address of the first small data area */
-
-.Lsda2 = .-.LCTOC1
- .long _SDA2_BASE_ /* address of the second small data area */
-
-
- .text
- .globl _start
-_start:
- bl __cpu_init /* Initialize the CPU first (BSP provides this) */
-
- lis 5,.LCTOC1@h
- ori 5,5,.LCTOC1@l
-
- lwz 13,.Lsda(5) /* load r13 with _SDA_BASE_ address */
- lwz 2,.Lsda2(5) /* load r2 with _SDA2_BASE_ address */
-
-#ifndef SIMULATOR
- /* clear sbss */
- lwz 6,.Lsbss_start(5) /* calculate beginning of the SBSS */
- lwz 7,.Lsbss_end(5) /* calculate end of the SBSS */
-
- cmplw 1,6,7
- bc 4,4,.Lenclsbss /* If no SBSS, no clearing required */
-
- li 0,0 /* zero to clear memory */
- subf 8,6,7 /* number of bytes to zero */
- srwi. 9,8,2 /* number of words to zero */
- beq .Lstbyteloopsbss /* Check if the number of bytes was less than 4 */
- mtctr 9
- addi 6,6,-4 /* adjust so we can use stwu */
-.Lloopsbss:
- stwu 0,4(6) /* zero sbss */
- bdnz .Lloopsbss
-
-.Lstbyteloopsbss:
- andi. 9,8,3 /* Calculate how many trailing bytes we have */
- beq 0,.Lenclsbss
- mtctr 9
- addi 6,6,-1 /* adjust, so we can use stbu */
-
-.Lbyteloopsbss:
- stbu 0,1(6)
- bdnz .Lbyteloopsbss
-
-.Lenclsbss:
-.Lstclbss:
-
- /* clear bss */
- lwz 6,.Lbss_start(5) /* calculate beginning of the BSS */
- lwz 7,.Lbss_end(5) /* calculate end of the BSS */
-
- cmplw 1,6,7
- bc 4,4,.Lenclbss /* If no BSS, no clearing required */
-
- li 0,0 /* zero to clear memory */
- subf 8,6,7 /* number of bytes to zero */
- srwi. 9,8,2 /* number of words to zero */
- beq .Lstbyteloopbss /* Check if the number of bytes was less than 4 */
- mtctr 9
- addi 6,6,-4 /* adjust so we can use stwu */
-.Lloopbss:
- stwu 0,4(6) /* zero bss */
- bdnz .Lloopbss
-
-.Lstbyteloopbss:
- andi. 9,8,3 /* Calculate how many trailing bytes we have */
- beq 0,.Lenclbss /* If zero, we are done */
- mtctr 9
- addi 6,6,-1 /* adjust, so we can use stbu */
-
-.Lbyteloopbss:
- stbu 0,1(6)
- bdnz .Lbyteloopbss
-
-.Lenclbss:
-#endif /* SIMULATOR */
-
- /* set stack pointer */
- lwz 1,.Lstack(5) /* stack address */
-
- /* set up initial stack frame */
- addi 1,1,-8 /* location of back chain */
- lis 0,0
- stw 0,0(1) /* set end of back chain */
-
- /* initialize base timer to zero */
- mtspr 0x11c,0
- mtspr 0x11d,0
-
-#ifdef HAVE_XFPU
- /* On the Xilinx PPC405 and PPC440, the MSR
- must be explicitly set to mark the prescence
- of an FPU */
- mfpvr 0
- rlwinm 0,0,0,12,15
- cmpwi 7,0,8192
- mfmsr 0
- ori 0,0,8192
- beq- 7,fpu_init_done
-do_405:
- oris 0,0,512
-fpu_init_done:
- mtmsr 0
-#endif
-
-#ifdef PROFILING
- /* Setup profiling stuff */
- bl _profile_init
-#endif /* PROFILING */
-
- /* Call __init */
- bl __init
-
- /* Let her rip */
- bl main
-
- /* Invoke the language cleanup functions */
- bl __fini
-
-#ifdef PROFILING
- /* Cleanup profiling stuff */
- bl _profile_clean
-#endif /* PROFILING */
-
- /* Call __init */
- /* All done */
- bl exit
-
-/* Trap has been removed for both simulation and hardware */
- .globl _exit
-_exit:
- b _exit
-
-.Lstart:
- .size _start,.Lstart-_start
-
diff --git a/libgloss/rs6000/xilinx.ld b/libgloss/rs6000/xilinx.ld
deleted file mode 100644
index 75b2a12..0000000
--- a/libgloss/rs6000/xilinx.ld
+++ /dev/null
@@ -1,307 +0,0 @@
-/* Default linker script, for normal executables
-
-Copyright (c) 2008, 2009 Xilinx, Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-1. Redistributions source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Neither the name of Xilinx nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc:common)
-ENTRY(_boot)
-_START_ADDR = DEFINED(_START_ADDR) ? _START_ADDR : 0xFFFF0000;
-_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 4k;
-_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 4k;
-STARTUP(boot.o)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-PROVIDE (__stack = 0); PROVIDE (___stack = 0);
-SECTIONS
-{
-
- . = _START_ADDR;
- .vectors BLOCK (64k):
- {
- *(.vectors)
- }
- /* Read-only sections, merged into text segment: */
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rela.got : { *(.rela.got) }
- .rela.got1 : { *(.rela.got1) }
- .rela.got2 : { *(.rela.got2) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.bss : { *(.rela.bss) }
- .rela.plt : { *(.rela.plt) }
- .rela.sdata : { *(.rela.sdata) }
- .rela.sbss : { *(.rela.sbss) }
- .rela.sdata2 : { *(.rela.sdata2) }
- .rela.sbss2 : { *(.rela.sbss2) }
- .text :
- {
- *(.text)
- *(.text.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } =0
- .init : { KEEP (*(.init)) } =0
- .fini : { KEEP (*(.fini)) } =0
- .rodata :
- {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- .rodata1 : { *(.rodata1) }
- _etext = .;
- PROVIDE (etext = .);
- PROVIDE (__etext = .);
- .sdata2 : { *(.sdata2) *(.sdata2.*) *(.gnu.linkonce.s2.*)}
- __SDATA2_START__ = ADDR(.sdata2);
- __SDATA2_END__ = ADDR(.sdata2) + SIZEOF(.sdata2);
- .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*)}
- __SBSS2_START__ = ADDR(.sbss2);
- __SBSS2_END__ = ADDR(.sbss2) + SIZEOF(.sbss2);
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. It would
- be more correct to do this:
- . = ALIGN(0x08) + (ALIGN(8) & (0x08 - 1));
- The current expression does not correctly handle the case of a
- text segment ending precisely at the end of a page; it causes the
- data segment to skip a page. The above expression does not have
- this problem, but it will currently (2/95) cause BFD to allocate
- a single segment, combining both text and data, for this case.
- This will prevent the text segment from being shared among
- multiple executions of the program; I think that is more
- important than losing a page of the virtual address space (note
- that no actual memory is lost; the page which is skipped can not
- be referenced). */
-/* . = ALIGN(8) + 0x08;*/
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .got1 : { *(.got1) }
- .dynamic : { *(.dynamic) }
- /* Put .ctors and .dtors next to the .got2 section, so that the pointers
- get relocated with -mrelocatable. Also put in the .fixup pointers.
- The current compiler no longer needs this, but keep it around for 2.7.2 */
- PROVIDE (_GOT2_START_ = .);
- PROVIDE (__GOT2_START_ = .);
- .got2 : { *(.got2) }
- PROVIDE (__CTOR_LIST__ = .);
- PROVIDE (___CTOR_LIST__ = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (___CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- PROVIDE (___DTOR_LIST__ = .);
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (___DTOR_END__ = .);
- PROVIDE (_FIXUP_START_ = .);
- PROVIDE (__FIXUP_START_ = .);
- .fixup : { *(.fixup) }
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END_ = .);
- PROVIDE (_GOT2_END_ = .);
- PROVIDE (__GOT2_END_ = .);
- PROVIDE (_GOT_START_ = .);
- PROVIDE (__GOT_START_ = .);
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
- PROVIDE (_GOT_END_ = .);
- PROVIDE (__GOT_END_ = .);
- /* Added by Sathya to handle C++ exceptions */
- .eh_frame : {
- *(.eh_frame)
- }
- .jcr : {
- *(.jcr)
- }
- .gcc_except_table : {
- *(.gcc_except_table)
- }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*)}
- __SDATA_START__ = ADDR(.sdata);
- __SDATA_END__ = ADDR(.sdata) + SIZEOF(.sdata);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__edata = .);
- .sbss :
- {
- __sbss_start = .;
- ___sbss_start = .;
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- *(.dynsbss)
- __sbss_end = .;
- ___sbss_end = .;
- }
- .plt : { *(.plt) }
- .bss :
- {
- __bss_start = .;
- ___bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(4);
- __bss_end = .;
- }
-
- .stack :
- {
- _stack_end = .;
- . = . + _STACK_SIZE;
- . = ALIGN(16);
- __stack = .;
- }
-
- .heap :
- {
- _heap_start = .;
- . = . + _HEAP_SIZE;
- . = ALIGN(16);
- _heap_end = .;
- }
-
- .tdata : {
- *(.tdata)
- *(.tdata.*)
- *(.gnu.linkonce.td.*)
- }
- .tbss : {
- *(.tbss)
- *(.gnu.linkonce.tb.*)
- }
- /* Check to see if boot0 is going to be within 24bits from boot */
- /* If so, then leave the location counter as is. */
- /* If not, then make location counter to be 0x20 locations above boot location */
- /* This assumes that a BRAM is present for boot and hence 0x20 locations above it are valid */
- /* This fixes CR 183394 */
- __boot0_flag__ = ((. > 0x00ffffff) && (. < 0xff000000)) ? 1 : 0;
- . = (__boot0_flag__) ? 0xffffffdc : .;
- .boot0 : { *(.boot0)}
- _end = . ;
- end = .;
- __end = .;
- .boot 0xFFFFFFFC : { *(.boot) }
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/rs6000/xilinx440.ld b/libgloss/rs6000/xilinx440.ld
deleted file mode 100644
index 2c7c5ab..0000000
--- a/libgloss/rs6000/xilinx440.ld
+++ /dev/null
@@ -1,302 +0,0 @@
-/* Default linker script for PowerPC 440, for normal executables
-
-Copyright (c) 2008, 2009 Xilinx, Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-1. Redistributions source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Neither the name of Xilinx nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
-IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc:common)
-ENTRY(_boot)
-_START_ADDR = DEFINED(_START_ADDR) ? _START_ADDR : 0xFFFF0000;
-_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 4k;
-_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 4k;
-STARTUP(boot.o)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-PROVIDE (__stack = 0); PROVIDE (___stack = 0);
-SECTIONS
-{
-
- . = _START_ADDR;
-
- /* Read-only sections, merged into text segment: */
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .gnu.version : { *(.gnu.version) }
- .gnu.version_d : { *(.gnu.version_d) }
- .gnu.version_r : { *(.gnu.version_r) }
- .rela.text :
- {
- *(.rela.text)
- *(.rela.text.*)
- *(.rela.gnu.linkonce.t*)
- }
- .rela.data :
- {
- *(.rela.data)
- *(.rela.data.*)
- *(.rela.gnu.linkonce.d*)
- }
- .rela.rodata :
- {
- *(.rela.rodata)
- *(.rela.rodata.*)
- *(.rela.gnu.linkonce.r*)
- }
- .rela.got : { *(.rela.got) }
- .rela.got1 : { *(.rela.got1) }
- .rela.got2 : { *(.rela.got2) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.bss : { *(.rela.bss) }
- .rela.plt : { *(.rela.plt) }
- .rela.sdata : { *(.rela.sdata) }
- .rela.sbss : { *(.rela.sbss) }
- .rela.sdata2 : { *(.rela.sdata2) }
- .rela.sbss2 : { *(.rela.sbss2) }
- .text :
- {
- *(.text)
- *(.text.*)
- *(.vectors)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } =0
- .init : { KEEP (*(.init)) } =0
- .fini : { KEEP (*(.fini)) } =0
- .rodata :
- {
- *(.rodata)
- *(.rodata.*)
- *(.gnu.linkonce.r.*)
- }
- .rodata1 : { *(.rodata1) }
- _etext = .;
- PROVIDE (etext = .);
- PROVIDE (__etext = .);
- .sdata2 : { *(.sdata2) *(.sdata2.*) *(.gnu.linkonce.s2.*)}
- __SDATA2_START__ = ADDR(.sdata2);
- __SDATA2_END__ = ADDR(.sdata2) + SIZEOF(.sdata2);
- .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*)}
- __SBSS2_START__ = ADDR(.sbss2);
- __SBSS2_END__ = ADDR(.sbss2) + SIZEOF(.sbss2);
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. It would
- be more correct to do this:
- . = ALIGN(0x08) + (ALIGN(8) & (0x08 - 1));
- The current expression does not correctly handle the case of a
- text segment ending precisely at the end of a page; it causes the
- data segment to skip a page. The above expression does not have
- this problem, but it will currently (2/95) cause BFD to allocate
- a single segment, combining both text and data, for this case.
- This will prevent the text segment from being shared among
- multiple executions of the program; I think that is more
- important than losing a page of the virtual address space (note
- that no actual memory is lost; the page which is skipped can not
- be referenced). */
-/* . = ALIGN(8) + 0x08;*/
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .got1 : { *(.got1) }
- .dynamic : { *(.dynamic) }
- /* Put .ctors and .dtors next to the .got2 section, so that the pointers
- get relocated with -mrelocatable. Also put in the .fixup pointers.
- The current compiler no longer needs this, but keep it around for 2.7.2 */
- PROVIDE (_GOT2_START_ = .);
- PROVIDE (__GOT2_START_ = .);
- .got2 : { *(.got2) }
- PROVIDE (__CTOR_LIST__ = .);
- PROVIDE (___CTOR_LIST__ = .);
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (___CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- PROVIDE (___DTOR_LIST__ = .);
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (___DTOR_END__ = .);
- PROVIDE (_FIXUP_START_ = .);
- PROVIDE (__FIXUP_START_ = .);
- .fixup : { *(.fixup) }
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END_ = .);
- PROVIDE (_GOT2_END_ = .);
- PROVIDE (__GOT2_END_ = .);
- PROVIDE (_GOT_START_ = .);
- PROVIDE (__GOT_START_ = .);
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
- PROVIDE (_GOT_END_ = .);
- PROVIDE (__GOT_END_ = .);
- /* Added by Sathya to handle C++ exceptions */
- .eh_frame : {
- *(.eh_frame)
- }
- .jcr : {
- *(.jcr)
- }
- .gcc_except_table : {
- *(.gcc_except_table)
- }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*)}
- __SDATA_START__ = ADDR(.sdata);
- __SDATA_END__ = ADDR(.sdata) + SIZEOF(.sdata);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__edata = .);
- .sbss :
- {
- __sbss_start = .;
- ___sbss_start = .;
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- *(.dynsbss)
- __sbss_end = .;
- ___sbss_end = .;
- }
- .plt : { *(.plt) }
- .bss :
- {
- __bss_start = .;
- ___bss_start = .;
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN(4);
- __bss_end = .;
- }
-
- .stack :
- {
- _stack_end = .;
- . = . + _STACK_SIZE;
- . = ALIGN(16);
- __stack = .;
- }
-
- .heap :
- {
- _heap_start = .;
- . = . + _HEAP_SIZE;
- . = ALIGN(16);
- _heap_end = .;
- }
-
- .tdata : {
- *(.tdata)
- *(.tdata.*)
- *(.gnu.linkonce.td.*)
- }
- .tbss : {
- *(.tbss)
- *(.gnu.linkonce.tb.*)
- }
-
- _end = . ;
- end = .;
- __end = .;
-
- .boot0 0xFFFFFF00 : { *(.boot0)}
-
- .boot 0xFFFFFFFC : { *(.boot) }
-
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/rs6000/yellowknife.ld b/libgloss/rs6000/yellowknife.ld
deleted file mode 100644
index 36c3009..0000000
--- a/libgloss/rs6000/yellowknife.ld
+++ /dev/null
@@ -1,147 +0,0 @@
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-ENTRY(_start)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-PROVIDE (__stack = 0);
-SECTIONS
-{
- /* Read-only sections, merged into text segment: */
- . = 0x50000 + SIZEOF_HEADERS;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rela.text :
- { *(.rela.text) *(.rela.gnu.linkonce.t*) }
- .rela.data :
- { *(.rela.data) *(.rela.gnu.linkonce.d*) }
- .rela.rodata :
- { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
- .rela.got : { *(.rela.got) }
- .rela.got1 : { *(.rela.got1) }
- .rela.got2 : { *(.rela.got2) }
- .rela.ctors : { *(.rela.ctors) }
- .rela.dtors : { *(.rela.dtors) }
- .rela.init : { *(.rela.init) }
- .rela.fini : { *(.rela.fini) }
- .rela.bss : { *(.rela.bss) }
- .rela.plt : { *(.rela.plt) }
- .rela.sdata : { *(.rela.sdata2) }
- .rela.sbss : { *(.rela.sbss2) }
- .rela.sdata2 : { *(.rela.sdata2) }
- .rela.sbss2 : { *(.rela.sbss2) }
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- .init : { *(.init) } =0
- .fini : { *(.fini) } =0
- .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- _etext = .;
- PROVIDE (etext = .);
- .sdata2 : { *(.sdata2) }
- .sbss2 : { *(.sbss2) }
- /* Adjust the address for the data segment. We want to adjust up to
- the same address within the page on the next page up. It would
- be more correct to do this:
- . = ALIGN(0x50000) + (ALIGN(8) & (0x50000 - 1));
- The current expression does not correctly handle the case of a
- text segment ending precisely at the end of a page; it causes the
- data segment to skip a page. The above expression does not have
- this problem, but it will currently (2/95) cause BFD to allocate
- a single segment, combining both text and data, for this case.
- This will prevent the text segment from being shared among
- multiple executions of the program; I think that is more
- important than losing a page of the virtual address space (note
- that no actual memory is lost; the page which is skipped can not
- be referenced). */
- . = ALIGN(8) + 0x50000;
- .data :
- {
- *(.data)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .got1 : { *(.got1) }
- .dynamic : { *(.dynamic) }
- /* Put .ctors and .dtors next to the .got2 section, so that the pointers
- get relocated with -mrelocatable. Also put in the .fixup pointers.
- The current compiler no longer needs this, but keep it around for 2.7.2 */
- PROVIDE (_GOT2_START_ = .);
- .got2 : { *(.got2) }
- PROVIDE (__CTOR_LIST__ = .);
- .ctors : { *(.ctors) }
- PROVIDE (__CTOR_END__ = .);
- PROVIDE (__DTOR_LIST__ = .);
- .dtors : { *(.dtors) }
- PROVIDE (__DTOR_END__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) }
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (_GOT2_END_ = .);
- PROVIDE (_GOT_START_ = .);
- .got : { *(.got) }
- .got.plt : { *(.got.plt) }
- PROVIDE (_GOT_END_ = .);
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
- _edata = .;
- PROVIDE (edata = .);
- .sbss :
- {
- PROVIDE (__sbss_start = .);
- *(.sbss)
- *(.scommon)
- PROVIDE (__sbss_end = .);
- }
- .bss :
- {
- PROVIDE (__bss_start = .);
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/rx/Makefile.in b/libgloss/rx/Makefile.in
deleted file mode 100644
index f3806ae..0000000
--- a/libgloss/rx/Makefile.in
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright (c) 2008, 2009 Red Hat Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/rx.
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-SCRIPTS = $(srcdir)/rx.ld $(srcdir)/rx-sim.ld
-CRT = gcrt0.o crt0.o crtn.o
-SIM_BSP = libsim.a
-LIBNOSYS = ../libnosys/libnosys.a
-SIM_OBJS = \
- sbrk.o \
- heaptop.o \
- exit.o \
- open.o \
- close.o \
- read.o \
- write.o \
- lseek.o \
- unlink.o \
- getpid.o \
- kill.o \
- fstat.o \
- argvlen.o \
- argv.o \
- chdir.o \
- stat.o \
- chmod.o \
- utime.o \
- time.o \
- gettimeofday.o \
- times.o \
- link.o \
- isatty.o \
- abort.o \
- mcount.o \
- sigprocmask.o \
- sleep.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-all: $(CRT) $(SIM_BSP) copy_scripts_to_objdir
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-copy_scripts_to_objdir: $(SCRIPTS)
- cp $(SCRIPTS) $(objdir)
-
-# Dependencies
-
-SDEPS = $(srcdir)/rxsys.h $(srcdir)/../syscall.h
-
-abort.o : $(SDEPS)
-argv.o : $(SDEPS)
-argvlen.o : $(SDEPS)
-chdir.o : $(SDEPS)
-chmod.o : $(SDEPS)
-close.o : $(SDEPS)
-exit.o : $(SDEPS)
-fstat.o : $(SDEPS)
-getpid.o : $(SDEPS)
-gettimeofday.o : $(SDEPS)
-gcrt0.o: gcrt0.S crt0.S
-heaptop.o : $(SDEPS)
-kill.o : $(SDEPS)
-link.o : $(SDEPS)
-lseek.o : $(SDEPS)
-mcount.o : $(SDEPS)
-open.o : $(SDEPS)
-read.o : $(SDEPS)
-sigprocmask.o : $(SDEPS)
-sleep.o : $(SDEPS)
-stat.o : $(SDEPS)
-time.o : $(SDEPS)
-times.o : $(SDEPS)
-unlink.o : $(SDEPS)
-utime.o : $(SDEPS)
-write.o : $(SDEPS)
-
-install: $(CRT) $(SIM_BSP) $(SCRIPTS)
- for c in $(CRT) $(SIM_BSP); do \
- $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
- done
- for c in $(SCRIPTS); do \
- b=`basename $$c`; \
- $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\
- done
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/rx/abort.S b/libgloss/rx/abort.S
deleted file mode 100644
index ae8270d..0000000
--- a/libgloss/rx/abort.S
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
- .global _abort
-_abort:
- /* This is for debuggers. The simulator stops here too. */
- brk
-
- mov #42, r1
-
- SYSCALL(SYS_kill)
-
- /* Else, exit. */
- bra.w __exit
diff --git a/libgloss/rx/argv.S b/libgloss/rx/argv.S
deleted file mode 100644
index 3906e86..0000000
--- a/libgloss/rx/argv.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(argv)
diff --git a/libgloss/rx/argvlen.S b/libgloss/rx/argvlen.S
deleted file mode 100644
index 2dc0e25..0000000
--- a/libgloss/rx/argvlen.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(argvlen)
diff --git a/libgloss/rx/chdir.S b/libgloss/rx/chdir.S
deleted file mode 100644
index bca4cd7..0000000
--- a/libgloss/rx/chdir.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(chdir)
diff --git a/libgloss/rx/chmod.S b/libgloss/rx/chmod.S
deleted file mode 100644
index 86fd8f2..0000000
--- a/libgloss/rx/chmod.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(chmod)
diff --git a/libgloss/rx/close.S b/libgloss/rx/close.S
deleted file mode 100644
index 213c215..0000000
--- a/libgloss/rx/close.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(close)
diff --git a/libgloss/rx/configure b/libgloss/rx/configure
deleted file mode 100644
index de277fe..0000000
--- a/libgloss/rx/configure
+++ /dev/null
@@ -1,3948 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell bug-autoconf@gnu.org about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
- { (exit 1); exit 1; }; } ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.63
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
-done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTION]... [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.63,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { $as_echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=' '
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
- { (exit 1); exit 1; }; }
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- ac_file_inputs="$ac_file_inputs '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
- ;;
-
-
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/rx/configure.in b/libgloss/rx/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/rx/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/rx/crt0.S b/libgloss/rx/crt0.S
deleted file mode 100644
index 2227423..0000000
--- a/libgloss/rx/crt0.S
+++ /dev/null
@@ -1,191 +0,0 @@
-/* Copyright (c) 2008, 2009, 2011 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- This software is provided by the copyright holders and contributors
- "AS IS" and any express or implied warranties, including, but not
- limited to, the implied warranties of merchantability and fitness for
- a particular purpose are disclaimed. In no event shall Red Hat
- incorporated be liable for any direct, indirect, incidental, special,
- exemplary, or consequential damages (including, but not limited to,
- procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage. */
-
- .text
-
- .global _start
-_start:
-.LFB2:
- mvtc #0, psw
- /* Enable the DN bit - this should have been done for us by
- the CPU reset, but it is best to make sure for ourselves. */
- mvtc #0x100, fpsw
- mov #__stack, r0
- mvtc #__vectors, intb
-
- mov #__datastart, r1
- mov #__romdatastart, r2
- mov #__romdatacopysize, r3
- smovf
-
- mov #__bssstart, r1
- mov #0, r2
- mov #__bsssize, r3
- sstr.l
-
- /* Initialize data pointer register(s).
- Note: The registers used here should agree with the definition of
- GP_BASE_REGNUM in gcc/config/rx/rx.h.
- Note: We are assuming that -mint-register has not been used when
- compiling the application. */
-#ifdef _RX_PID
- /* Initialise the constant data pointer and small data pointers. */
- mov #__pid_base, r13
- mov #__gp, r12
-#else
- /* Initialise the small data area pointer. */
- mov #__gp, r13
-#endif
-
- bsr.a __rx_init
-
-#ifdef PROFILE_SUPPORT /* Defined in gcrt0.S. */
- mov # _start, r1
- mov # _etext, r2
- bsr.a __monstartup
-#endif
-
- mov #0, r1 /* argc */
- mov #0, r2 /* argv */
- mov #0, r3 /* envv */
- bsr.a _main
-.LFE2:
-
-#ifdef PROFILE_SUPPORT
- mov r1, r13 ; Save return code.
- bsr.a __mcleanup
- mov r13, r1
-#endif
-
- bsr.a _exit
-
- .global _rx_run_preinit_array
- .type _rx_run_preinit_array,@function
-_rx_run_preinit_array:
- mov #__preinit_array_start,r1
- mov #__preinit_array_end,r2
- bra.a _rx_run_inilist
-
- .global _rx_run_init_array
- .type _rx_run_init_array,@function
-_rx_run_init_array:
- mov #__init_array_start,r1
- mov #__init_array_end,r2
- mov #4, r3
- bra.a _rx_run_inilist
-
- .global _rx_run_fini_array
- .type _rx_run_fini_array,@function
-_rx_run_fini_array:
- mov #__fini_array_start,r2
- mov #__fini_array_end,r1
- mov #-4, r3
- /* fall through */
-
-_rx_run_inilist:
-next_inilist:
- cmp r1,r2
- beq.b done_inilist
- mov.l [r1],r4
- cmp #-1, r4
- beq.b skip_inilist
- cmp #0, r4
- beq.b skip_inilist
- pushm r1-r3
- jsr r4
- popm r1-r3
-skip_inilist:
- add r3,r1
- bra.b next_inilist
-done_inilist:
- rts
-
- .section .init,"ax"
-
- .global __rx_init
-__rx_init:
-
- .section .fini,"ax"
-
- .global __rx_fini
-__rx_fini:
- bsr.a _rx_run_fini_array
-
- .section .rodata
- .balign 4
- .global __pid_base
- .weak __pid_base
-__pid_base:
-
- .section .sdata
- .balign 4
- .global __gp
- .weak __gp
-__gp:
-
- .section .data
- .global ___dso_handle
- .weak ___dso_handle
-___dso_handle:
- .long 0
-
-;;; Provide Dwarf unwinding information that will help GDB stop
-;;; backtraces at the right place. This is stolen from assembly
-;;; code generated by GCC with -dA.
- .section .debug_frame,"",@progbits
-.Lframe0:
- .4byte .LECIE0-.LSCIE0 ; Length of Common Information Entry
-.LSCIE0:
- .4byte 0xffffffff ; CIE Identifier Tag
- .byte 0x1 ; CIE Version
- .ascii "\0" ; CIE Augmentation
- .uleb128 0x1 ; CIE Code Alignment Factor
- .sleb128 -1 ; CIE Data Alignment Factor
- .byte 0xd ; CIE RA Column
- .byte 0xc ; DW_CFA_def_cfa
- .uleb128 0xc
- .uleb128 0x3
- .byte 0x8d ; DW_CFA_offset, column 0xd
- .uleb128 0x3
- .p2align 2
-.LECIE0:
-.LSFDE0:
- .4byte .LEFDE0-.LASFDE0 ; FDE Length
-.LASFDE0:
- .4byte .Lframe0 ; FDE CIE offset
- .4byte .LFB2 ; FDE initial location
- .4byte .LFE2-.LFB2 ; FDE address range
- .byte 0xf ; DW_CFA_def_cfa_expression
- .uleb128 1 ; length of expression
- .byte 0x30 ; DW_OP_lit0
- .p2align 2
-.LEFDE0:
-
- .text
diff --git a/libgloss/rx/crtn.S b/libgloss/rx/crtn.S
deleted file mode 100644
index 964c59a7..0000000
--- a/libgloss/rx/crtn.S
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
- .section .init,"ax"
- bsr.a _rx_run_preinit_array
- bsr.a _rx_run_init_array
- rts
- .global __rx_init_end
-__rx_init_end:
-
- .section .fini,"ax"
-
- rts
- .global __rx_fini_end
-__rx_fini_end:
-
- .text
-
diff --git a/libgloss/rx/exit.S b/libgloss/rx/exit.S
deleted file mode 100644
index 77a7efd..0000000
--- a/libgloss/rx/exit.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
- .global __exit
-__exit:
- pushm r1-r2
- bsr.a __rx_fini
- popm r1-r2
- SYSCALL(SYS_exit)
diff --git a/libgloss/rx/fstat.S b/libgloss/rx/fstat.S
deleted file mode 100644
index 3726926..0000000
--- a/libgloss/rx/fstat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(fstat)
diff --git a/libgloss/rx/gcrt0.S b/libgloss/rx/gcrt0.S
deleted file mode 100644
index 911927c..0000000
--- a/libgloss/rx/gcrt0.S
+++ /dev/null
@@ -1,25 +0,0 @@
-#define PROFILE_SUPPORT 1
-
-#include "crt0.S"
-
- .global __mcount
-__mcount:
- ;; When a function is compiled for profiling, gcc creates code
- ;; like this at the start of each profiled function:
- ;;
- ;; .global <func_name>
- ;; <func_name>:
- ;; bsr __mcount
- ;; <...function's prologue...>
- ;; <...function's body...>
- ;;
- ;; We must save all of the argument registers, extract the
- ;; address of <func_name>, call _mcount_internal to do the
- ;; real work and then restore the argument registers before
- ;; returning.
-
- pushm r1-r4
- mov.l 16[r0], r1
- bsr __mcount_internal
- rtsd #16, r1-r4
-
diff --git a/libgloss/rx/getpid.S b/libgloss/rx/getpid.S
deleted file mode 100644
index 2998968..0000000
--- a/libgloss/rx/getpid.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(getpid)
diff --git a/libgloss/rx/gettimeofday.S b/libgloss/rx/gettimeofday.S
deleted file mode 100644
index a36e210..0000000
--- a/libgloss/rx/gettimeofday.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(gettimeofday)
diff --git a/libgloss/rx/heaptop.S b/libgloss/rx/heaptop.S
deleted file mode 100644
index 2d4d3e5..0000000
--- a/libgloss/rx/heaptop.S
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-#define SYS__set_heaptop 11
-
-S(_set_heaptop)
diff --git a/libgloss/rx/isatty.S b/libgloss/rx/isatty.S
deleted file mode 100644
index 636e2d3..0000000
--- a/libgloss/rx/isatty.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright (c) 2008, 2009 Red Hat Incorporated.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-
- .global __isatty
-__isatty:
- .weak _isatty
-_isatty:
- mov #1,r1
- rts
-
diff --git a/libgloss/rx/kill.S b/libgloss/rx/kill.S
deleted file mode 100644
index e9f4a28..0000000
--- a/libgloss/rx/kill.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(kill)
diff --git a/libgloss/rx/link.S b/libgloss/rx/link.S
deleted file mode 100644
index df29e29..0000000
--- a/libgloss/rx/link.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(link)
diff --git a/libgloss/rx/lseek.S b/libgloss/rx/lseek.S
deleted file mode 100644
index 22bab20..0000000
--- a/libgloss/rx/lseek.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(lseek)
diff --git a/libgloss/rx/mcount.c b/libgloss/rx/mcount.c
deleted file mode 100644
index 4a72fe1..0000000
--- a/libgloss/rx/mcount.c
+++ /dev/null
@@ -1,422 +0,0 @@
-/*-
- * Copyright (c) 1983, 1992, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-/* This file implements a subset of the profiling support functions.
- It has been copied and adapted from mcount.c, gmon.c and gmon.h in
- the glibc sources.
- Since we do not have access to a timer interrupt in the simulator
- the histogram and basic block information is not generated. */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <fcntl.h>
-
-/* Fraction of text space to allocate for histogram counters here, 1/2. */
-#define HISTFRACTION 2
-
-/* Fraction of text space to allocate for from hash buckets.
- The value of HASHFRACTION is based on the minimum number of bytes
- of separation between two subroutine call points in the object code.
- Given MIN_SUBR_SEPARATION bytes of separation the value of
- HASHFRACTION is calculated as:
-
- HASHFRACTION = MIN_SUBR_SEPARATION / (2 * sizeof (short) - 1);
-
- For example, on the VAX, the shortest two call sequence is:
-
- calls $0,(r0)
- calls $0,(r0)
-
- which is separated by only three bytes, thus HASHFRACTION is
- calculated as:
-
- HASHFRACTION = 3 / (2 * 2 - 1) = 1
-
- Note that the division above rounds down, thus if MIN_SUBR_FRACTION
- is less than three, this algorithm will not work!
-
- In practice, however, call instructions are rarely at a minimal
- distance. Hence, we will define HASHFRACTION to be 2 across all
- architectures. This saves a reasonable amount of space for
- profiling data structures without (in practice) sacrificing
- any granularity. */
-#define HASHFRACTION 2
-
-/* Percent of text space to allocate for tostructs.
- This is a heuristic; we will fail with a warning when profiling
- programs with a very large number of very small functions, but
- that's normally OK.
- 2 is probably still a good value for normal programs.
- Profiling a test case with 64000 small functions will work if
- you raise this value to 3 and link statically (which bloats the
- text size, thus raising the number of arcs expected by the heuristic). */
-#define ARCDENSITY 3
-
-/* Always allocate at least this many tostructs. This hides the
- inadequacy of the ARCDENSITY heuristic, at least for small programs. */
-#define MINARCS 50
-
-/* Maximum number of arcs we want to allow.
- Used to be max representable value of ARCINDEX minus 2, but now
- that ARCINDEX is a long, that's too large; we don't really want
- to allow a 48 gigabyte table.
- The old value of 1<<16 wasn't high enough in practice for large C++
- programs; will 1<<20 be adequate for long? FIXME */
-#define MAXARCS (1 << 20)
-
-#define SCALE_1_TO_1 0x10000L
-
-#define GMON_MAGIC "gmon" /* Magic cookie. */
-#define GMON_VERSION 1 /* Version number. */
-
-
-/* General rounding functions. */
-#define ROUNDDOWN(x ,y) (((x) / (y)) * (y))
-#define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y))
-
-struct tostruct
-{
- unsigned long selfpc;
- unsigned long count;
- unsigned long link;
-};
-
-/* Possible states of profiling. */
-enum profiling_state
-{
- GMON_PROF_OFF,
- GMON_PROF_ON,
- GMON_PROF_BUSY,
- GMON_PROF_ERROR
-};
-
-/* The profiling data structures are housed in this structure. */
-struct gmonparam
-{
- enum profiling_state state;
- unsigned short * kcount;
- unsigned long kcountsize;
- unsigned long * froms;
- unsigned long fromssize;
- struct tostruct * tos;
- unsigned long tossize;
- long tolimit;
- unsigned long lowpc;
- unsigned long highpc;
- unsigned long textsize;
- unsigned long hashfraction;
- long log_hashfraction;
-};
-
-/* Raw header as it appears in the gmon.out file (without padding).
- This header always comes first and is then followed by a series
- records defined below. */
-struct gmon_hdr
-{
- char cookie[4];
- char version[4];
- char spare[3 * 4];
-};
-
-/* Types of records in this file. */
-typedef enum
-{
- GMON_TAG_TIME_HIST = 0,
- GMON_TAG_CG_ARC = 1,
-} GMON_Record_Tag;
-
-struct gmon_cg_arc_record
-{
- char tag; /* Set to GMON_TAG_CG_ARC. */
- char from_pc[sizeof (char *)]; /* Address within caller's body. */
- char self_pc[sizeof (char *)]; /* Address within callee's body. */
- char count[4]; /* Number of arc traversals. */
-};
-
-
-/* Forward declarations. */
-void _mcount_internal (unsigned long);
-void _monstartup (unsigned long, unsigned long);
-void _mcleanup (void);
-
-static struct gmonparam _gmonparam;
-
-void
-_mcount_internal (unsigned long frompc)
-{
- unsigned long selfpc = frompc;
- unsigned long * frompcindex;
- struct tostruct * top;
- struct tostruct * prevtop;
- struct gmonparam * p;
- unsigned long toindex;
- int i;
-
- p = & _gmonparam;
-
- /* Check that we are profiling and that we aren't recursively invoked.
- NB/ This version is not thread-safe. */
- if (p->state != GMON_PROF_ON)
- return;
- p->state = GMON_PROF_BUSY;
-
- /* Check that frompcindex is a reasonable pc value.
- For example: signal catchers get called from the stack,
- not from text space. Too bad. */
- frompc -= p->lowpc;
- if (frompc > p->textsize)
- goto done;
-
- i = frompc >> p->log_hashfraction;
-
- frompcindex = p->froms + i;
- toindex = * frompcindex;
-
- if (toindex == 0)
- {
- /* First time traversing this arc. */
- toindex = ++ p->tos[0].link;
- if (toindex >= p->tolimit)
- /* Halt further profiling. */
- goto overflow;
-
- * frompcindex = toindex;
- top = p->tos + toindex;
- top->selfpc = selfpc;
- top->count = 1;
- top->link = 0;
- goto done;
- }
-
- top = p->tos + toindex;
-
- if (top->selfpc == selfpc)
- {
- /* Arc at front of chain: usual case. */
- top->count ++;
- goto done;
- }
-
- /* Have to go looking down chain for it.
- Top points to what we are looking at,
- prevtop points to previous top.
- We know it is not at the head of the chain. */
- for (;;)
- {
- if (top->link == 0)
- {
- /* Top is end of the chain and none of the chain
- had top->selfpc == selfpc. So we allocate a
- new tostruct and link it to the head of the
- chain. */
- toindex = ++ p->tos[0].link;
- if (toindex >= p->tolimit)
- goto overflow;
-
- top = p->tos + toindex;
- top->selfpc = selfpc;
- top->count = 1;
- top->link = * frompcindex;
- * frompcindex = toindex;
- goto done;
- }
-
- /* Otherwise, check the next arc on the chain. */
- prevtop = top;
- top = p->tos + top->link;
-
- if (top->selfpc == selfpc)
- {
- /* There it is. Increment its count
- move it to the head of the chain. */
- top->count ++;
- toindex = prevtop->link;
- prevtop->link = top->link;
- top->link = * frompcindex;
- * frompcindex = toindex;
- goto done;
- }
- }
-
- done:
- p->state = GMON_PROF_ON;
- return;
-
- overflow:
- p->state = GMON_PROF_ERROR;
- return;
-}
-
-void
-_monstartup (unsigned long lowpc, unsigned long highpc)
-{
- char * cp;
- struct gmonparam * p = & _gmonparam;
-
- /* If the calloc() function has been instrumented we must make sure
- that it is not profiled until we are ready. */
- p->state = GMON_PROF_BUSY;
-
- /* Round lowpc and highpc to multiples of the density we're using
- so the rest of the scaling (here and in gprof) stays in ints. */
- p->lowpc = ROUNDDOWN (lowpc, HISTFRACTION * sizeof (* p->kcount));
- p->highpc = ROUNDUP (highpc, HISTFRACTION * sizeof (* p->kcount));
- p->textsize = p->highpc - p->lowpc;
- p->kcountsize = ROUNDUP (p->textsize / HISTFRACTION, sizeof (*p->froms));
- p->hashfraction = HASHFRACTION;
- p->log_hashfraction = -1;
- p->log_hashfraction = ffs (p->hashfraction * sizeof (*p->froms)) - 1;
- p->fromssize = p->textsize / HASHFRACTION;
- p->tolimit = p->textsize * ARCDENSITY / 100;
-
- if (p->tolimit < MINARCS)
- p->tolimit = MINARCS;
- else if (p->tolimit > MAXARCS)
- p->tolimit = MAXARCS;
-
- p->tossize = p->tolimit * sizeof (struct tostruct);
-
- cp = calloc (p->kcountsize + p->fromssize + p->tossize, 1);
- if (cp == NULL)
- {
- write (2, "monstartup: out of memory\n", 26);
- p->tos = NULL;
- p->state = GMON_PROF_ERROR;
- return;
- }
-
- p->tos = (struct tostruct *) cp;
- cp += p->tossize;
- p->kcount = (unsigned short *) cp;
- cp += p->kcountsize;
- p->froms = (unsigned long *) cp;
-
- p->tos[0].link = 0;
- p->state = GMON_PROF_ON;
-}
-
-
-static void
-write_call_graph (int fd)
-{
-#define NARCS_PER_WRITE 32
-
- struct gmon_cg_arc_record raw_arc[NARCS_PER_WRITE]
- __attribute__ ((aligned (__alignof__ (char *))));
- unsigned long from_index;
- unsigned long to_index;
- unsigned long from_len;
- unsigned long frompc;
- int nfilled;
-
- for (nfilled = 0; nfilled < NARCS_PER_WRITE; ++ nfilled)
- raw_arc[nfilled].tag = GMON_TAG_CG_ARC;
-
- nfilled = 0;
- from_len = _gmonparam.fromssize / sizeof (*_gmonparam.froms);
-
- for (from_index = 0; from_index < from_len; ++from_index)
- {
- if (_gmonparam.froms[from_index] == 0)
- continue;
-
- frompc = _gmonparam.lowpc;
- frompc += (from_index * _gmonparam.hashfraction
- * sizeof (*_gmonparam.froms));
-
- for (to_index = _gmonparam.froms[from_index];
- to_index != 0;
- to_index = _gmonparam.tos[to_index].link)
- {
- struct gmon_cg_arc_record * arc = raw_arc + nfilled;
-
- memcpy (arc->from_pc, & frompc, sizeof (arc->from_pc));
- memcpy (arc->self_pc, & _gmonparam.tos[to_index].selfpc, sizeof (arc->self_pc));
- memcpy (arc->count, & _gmonparam.tos[to_index].count, sizeof (arc->count));
-
- if (++ nfilled == NARCS_PER_WRITE)
- {
- write (fd, raw_arc, sizeof raw_arc);
- nfilled = 0;
- }
- }
- }
-
- if (nfilled > 0)
- write (fd, raw_arc, nfilled * sizeof (raw_arc[0]));
-}
-
-#include <errno.h>
-
-static void
-write_gmon (void)
-{
- struct gmon_hdr ghdr __attribute__ ((aligned (__alignof__ (int))));
- int fd;
-
- fd = open ("gmon.out", O_CREAT|O_TRUNC|O_WRONLY, 0666);
- if (fd < 0)
- {
- write (2, "_mcleanup: could not create gmon.out\n", 37);
- return;
- }
-
- /* Write gmon.out header: */
- memset (& ghdr, '\0', sizeof (ghdr));
- memcpy (ghdr.cookie, GMON_MAGIC, sizeof (ghdr.cookie));
- * (unsigned long *) ghdr.version = GMON_VERSION;
- write (fd, & ghdr, sizeof (ghdr));
-
- /* We do not have histogram or basic block information,
- so we do not generate these parts of the gmon.out file. */
-
- /* Write call-graph. */
- write_call_graph (fd);
-
- close (fd);
-}
-
-void
-_mcleanup (void)
-{
- if (_gmonparam.state != GMON_PROF_ERROR)
- {
- _gmonparam.state = GMON_PROF_OFF;
- write_gmon ();
- }
-
- /* Free the memory. */
- if (_gmonparam.tos != NULL)
- {
- free (_gmonparam.tos);
- _gmonparam.tos = NULL;
- }
-}
diff --git a/libgloss/rx/open.S b/libgloss/rx/open.S
deleted file mode 100644
index 52677bd..0000000
--- a/libgloss/rx/open.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(open)
diff --git a/libgloss/rx/read.S b/libgloss/rx/read.S
deleted file mode 100644
index e237e4a..0000000
--- a/libgloss/rx/read.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(read)
diff --git a/libgloss/rx/rx-sim.ld b/libgloss/rx/rx-sim.ld
deleted file mode 100644
index 4acc6cb..0000000
--- a/libgloss/rx/rx-sim.ld
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
-
-Copyright (c) 2005,2008,2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(rx)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-/* This memory layout is larger than the largest predicted RX600 chip,
- but gives us more memory for benchmarks. */
-
-MEMORY {
- RAM (w) : ORIGIN = 0x01000000, LENGTH = 0x07000000 /* 112 Mb "external" address space. */
- STACK (w) : ORIGIN = 0x08000000, LENGTH = 16 /* Top of RAM. */
-}
-
-SECTIONS
-{
- .text :
- {
- PROVIDE (_start = .);
- *(.text P .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(4);
- KEEP (*(.init))
- KEEP (*(.fini))
- } > RAM
-
- .rodata : {
- . = ALIGN(4);
- *(.plt)
- *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- . = ALIGN(4);
- PROVIDE(__romdatastart = .);
- } > RAM
-
- .data : {
- . = ALIGN(4);
- PROVIDE (__datastart = .);
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data D .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(4);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(4);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM
-
- /* Note that crt0 assumes this is a multiple of four; all the
- start/stop symbols are also assumed long-aligned. */
- /* PROVIDE (__romdatacopysize = __dataend - __datastart); */
- /* We're loading into simulator ram, no need to copy */
- PROVIDE (__romdatacopysize = 0);
-
- .bss : {
- . = ALIGN(4);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss B B_2 B_1 .bss.* .gnu.linkonce.b.*)
- . = ALIGN(4);
- *(COMMON)
- . = ALIGN(4);
- PROVIDE (__bssend = .);
- _end = .;
- PROVIDE (end = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss) / 4);
-
- .stack (ORIGIN (STACK)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- } > STACK
-
- /* Providing one of these symbols in your code is sufficient to have
- it linked in to the fixed vector table. */
-
- PROVIDE (__rx_priviledged_exception_handler = 0x00000000);
- PROVIDE (__rx_access_exception_handler = 0x00000000);
- PROVIDE (__rx_undefined_exception_handler = 0x00000000);
- PROVIDE (__rx_floating_exception_handler = 0x00000000);
- PROVIDE (__rx_nonmaskable_exception_handler = 0x00000000);
-
- .vectors (0xFFFFFFD0) :
- {
- PROVIDE (__vectors = .);
- LONG (__rx_priviledged_exception_handler);
- LONG (__rx_access_exception_handler);
- LONG (0);
- LONG (__rx_undefined_exception_handler);
- LONG (0);
- LONG (__rx_floating_exception_handler);
- LONG (0);
- LONG (0);
- LONG (0);
- LONG (0);
- LONG (__rx_nonmaskable_exception_handler);
- LONG (_start);
- }
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/rx/rx.ld b/libgloss/rx/rx.ld
deleted file mode 100644
index 7aa263a..0000000
--- a/libgloss/rx/rx.ld
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
-
-Copyright (c) 2005,2008,2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-/* Default linker script, for normal executables */
-OUTPUT_ARCH(rx)
-ENTRY(_start)
-
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-/* This memory layout corresponds to the smallest predicted RX600 chip. */
-MEMORY {
- RAM (w) : ORIGIN = 0x00000000, LENGTH = 0x00020000 /* 128k */
- STACK (w) : ORIGIN = 0x00020000, LENGTH = 16 /* top of RAM */
-
- ROM (w) : ORIGIN = 0xfff40000, LENGTH = 0x000bffd0 /* 768k */
-/* This is the largest RX6000: */
-/* ROM (w) : ORIGIN = 0xffe00000, LENGTH = 0x001fffd0 */ /* 2Mb */
-}
-
-SECTIONS
-{
- .text :
- {
- PROVIDE (_start = .);
- *(.text P .stub .text.* .gnu.linkonce.t.*)
- KEEP (*(.text.*personality*))
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.interp .hash .dynsym .dynstr .gnu.version*)
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(4);
- KEEP (*(.init))
- KEEP (*(.fini))
- } > ROM
-
- .rodata : {
- . = ALIGN(4);
- *(.plt)
- *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- *(.eh_frame_hdr)
- KEEP (*(.eh_frame))
- KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
- . = ALIGN(4);
- PROVIDE(__romdatastart = .);
- } > ROM
-
- .data : {
- . = ALIGN(4);
- PROVIDE (__datastart = .); /* IF_ROROM */
- PROVIDE (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE (__preinit_array_end = .);
- PROVIDE (__init_array_start = .);
- KEEP (*(SORT(.init_array.*)))
- KEEP (*(.init_array))
- PROVIDE (__init_array_end = .);
- PROVIDE (__fini_array_start = .);
- KEEP (*(.fini_array))
- KEEP (*(SORT(.fini_array.*)))
- PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
-
- /* gcc uses crtbegin.o to find the start of the constructors, so
- we make sure it is first. Because this is a wildcard, it
- doesn't matter if the user does not actually link against
- crtbegin.o; the linker won't look for a file to match a
- wildcard. The wildcard also means that it doesn't matter which
- directory crtbegin.o is in. */
- KEEP (*crtbegin*.o(.ctors))
-
- /* We don't want to include the .ctor section from from the
- crtend.o file until after the sorted ctors. The .ctor section
- from the crtend file contains the end of ctors marker and it
- must be last */
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
-
- KEEP (*crtbegin*.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend*.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
-
- KEEP (*(.jcr))
- *(.data.rel.ro.local) *(.data.rel.ro*)
- *(.dynamic)
-
- *(.data D .data.* .gnu.linkonce.d.*)
- KEEP (*(.gnu.linkonce.d.*personality*))
- SORT(CONSTRUCTORS)
- *(.data1)
- *(.got.plt) *(.got)
-
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- . = ALIGN(4);
- *(.sdata .sdata.* .gnu.linkonce.s.* D_2 D_1)
-
- . = ALIGN(4);
- _edata = .;
- PROVIDE (edata = .);
- PROVIDE (__dataend = .);
- } > RAM AT> ROM
-
- /* Note that __romdatacopysize may be ZERO for the simulator, which
- knows how to intialize RAM directly. It should ONLY be used for
- copying data from ROM to RAM; if you need to know the size of the
- data section, subtract the end symbol from the start symbol. */
- /* Note that crt0 assumes this is a multiple of four; all the
- start/stop symbols are also assumed long-aligned. */
- PROVIDE (__romdatacopysize = SIZEOF(.data));
-
- .bss : {
- . = ALIGN(4);
- PROVIDE (__bssstart = .);
- *(.dynbss)
- *(.sbss .sbss.*)
- *(.bss B B_2 B_1 .bss.* .gnu.linkonce.b.*)
- . = ALIGN(4);
- *(COMMON)
- . = ALIGN(4);
- PROVIDE (__bssend = .);
- _end = .;
- PROVIDE (end = .);
- } > RAM
- PROVIDE (__bsssize = SIZEOF(.bss) / 4);
-
- .stack (ORIGIN (STACK)) :
- {
- PROVIDE (__stack = .);
- *(.stack)
- }
-
- /* Providing one of these symbols in your code is sufficient to have
- it linked in to the fixed vector table. */
-
- PROVIDE (__rx_priviledged_exception_handler = 0x00000000);
- PROVIDE (__rx_access_exception_handler = 0x00000000);
- PROVIDE (__rx_undefined_exception_handler = 0x00000000);
- PROVIDE (__rx_floating_exception_handler = 0x00000000);
- PROVIDE (__rx_nonmaskable_exception_handler = 0x00000000);
-
- .vectors (0xFFFFFFD0) :
- {
- PROVIDE (__vectors = .);
- LONG (__rx_priviledged_exception_handler);
- LONG (__rx_access_exception_handler);
- LONG (0);
- LONG (__rx_undefined_exception_handler);
- LONG (0);
- LONG (__rx_floating_exception_handler);
- LONG (0);
- LONG (0);
- LONG (0);
- LONG (0);
- LONG (__rx_nonmaskable_exception_handler);
- LONG (_start);
- }
-
- /* The rest are all not normally part of the runtime image. */
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /DISCARD/ : { *(.note.GNU-stack) }
-}
diff --git a/libgloss/rx/rxsys.h b/libgloss/rx/rxsys.h
deleted file mode 100644
index 39c5373..0000000
--- a/libgloss/rx/rxsys.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
-
-Copyright (c) 2005, 2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "syscall.h"
-
- /* This mixture of C pre-processor macros and assembler
- macros is to get around the fact that the RX assembler
- does not support a line separator character. */
-
-#define SYS__exit SYS_exit
-
- .macro syscall_body number
- /* We use interrupt 255 as a system call,
- with the call number in r5. */
- mov # \number, r5
- int # 255
- rts
- .endm
-
-
- .macro do_syscall name number
-__\name:
- .global __\name
-_\name:
- .weak _\name
- syscall_body \number
- .endm
-
-
-#define S(name) do_syscall name SYS_##name
-#define SYSCALL(number) syscall_body number
diff --git a/libgloss/rx/sbrk.c b/libgloss/rx/sbrk.c
deleted file mode 100644
index 48d26bf..0000000
--- a/libgloss/rx/sbrk.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-
-Copyright (c) 2005, 2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-extern void __set_heaptop (void * ptr);
-
-char *
-_sbrk (int adj)
-{
- extern char end;
- static char * heap = & end;
- char * rv = heap;
-
- heap += adj;
- __set_heaptop (heap);
- return rv;
-}
-
-char * sbrk (int) __attribute__((weak, alias ("_sbrk")));
diff --git a/libgloss/rx/sigprocmask.S b/libgloss/rx/sigprocmask.S
deleted file mode 100644
index 3b83f21..0000000
--- a/libgloss/rx/sigprocmask.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-
-Copyright (c) 2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-#define SYS_sigprocmask 127
-
-S(sigprocmask)
diff --git a/libgloss/rx/sleep.S b/libgloss/rx/sleep.S
deleted file mode 100644
index 1fb8366..0000000
--- a/libgloss/rx/sleep.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-
-Copyright (c) 2009 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-#define SYS_sleep 127
-
-S(sleep)
diff --git a/libgloss/rx/stat.S b/libgloss/rx/stat.S
deleted file mode 100644
index 0cbaefd..0000000
--- a/libgloss/rx/stat.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(stat)
diff --git a/libgloss/rx/time.S b/libgloss/rx/time.S
deleted file mode 100644
index 30f14c0..0000000
--- a/libgloss/rx/time.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(time)
diff --git a/libgloss/rx/times.S b/libgloss/rx/times.S
deleted file mode 100644
index cfbb475..0000000
--- a/libgloss/rx/times.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(times)
diff --git a/libgloss/rx/unlink.S b/libgloss/rx/unlink.S
deleted file mode 100644
index fcc9930..0000000
--- a/libgloss/rx/unlink.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(unlink)
diff --git a/libgloss/rx/utime.S b/libgloss/rx/utime.S
deleted file mode 100644
index 8017919..0000000
--- a/libgloss/rx/utime.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(utime)
diff --git a/libgloss/rx/write.S b/libgloss/rx/write.S
deleted file mode 100644
index bb0d5fa..0000000
--- a/libgloss/rx/write.S
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-Copyright (c) 2005 Red Hat Incorporated.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "rxsys.h"
-
-S(write)
diff --git a/libgloss/sbrk.c b/libgloss/sbrk.c
deleted file mode 100644
index c222b4b..0000000
--- a/libgloss/sbrk.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/* sbrk.c -- allocate memory dynamically.
- *
- * Copyright (c) 1995,1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/* just in case, most boards have at least some memory */
-#ifndef RAMSIZE
-# define RAMSIZE (caddr_t)0x100000
-#endif
-
-char *heap_ptr;
-
-/*
- * sbrk -- changes heap size size. Get nbytes more
- * RAM. We just increment a pointer in what's
- * left of memory on the board.
- */
-char *
-sbrk (nbytes)
- int nbytes;
-{
- char *base;
-
- if (!heap_ptr)
- heap_ptr = (char *)&_end;
- base = heap_ptr;
- heap_ptr += nbytes;
-
- return base;
-/* FIXME: We really want to make sure we don't run out of RAM, but this
- * isn't very portable.
- */
-#if 0
- if ((RAMSIZE - heap_ptr - nbytes) >= 0) {
- base = heap_ptr;
- heap_ptr += nbytes;
- return (base);
- } else {
- errno = ENOMEM;
- return ((char *)-1);
- }
-#endif
-}
diff --git a/libgloss/sh/sh1lcevb.ld b/libgloss/sh/sh1lcevb.ld
deleted file mode 100644
index b2979d7..0000000
--- a/libgloss/sh/sh1lcevb.ld
+++ /dev/null
@@ -1,114 +0,0 @@
-/* Linker script for the SH1 Low-Cost Eval Board. */
-
-SEARCH_DIR(.)
-GROUP(-lc -lgcc)
-__DYNAMIC = 0;
-
-/* The location of RAM comes from the manual. We also leave an 8K pad
- for the monitor's own working data and stack. Note that the smallest
- boards only have 64K of RAM, so no room for SPEC benchmarks here! */
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0xa002000, LENGTH = 0x10000
-}
-
-/* Put the stack up high. */
-/* (Commented out because it doesn't seem to work right) */
-/*PROVIDE (__stack = 0xa00ff00);*/
-
-/* Initalize some symbols to be zero so we can reference them in the
- crt0 without core dumping. These functions are all optional, but
- we do this so we can have our crt0 always use them if they exist.
- This is so BSPs work better when using the crt0 installed with gcc.
- We have to initalize them twice, so we cover a.out (which prepends
- an underscore) and coff object file formats. */
-
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-
-/* Put everything in ram (of course). */
-
-SECTIONS
-{
- .text :
- {
- *(.text)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- ___ctors = .;
- *(.ctors)
- ___ctors_end = .;
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- ___dtors = .;
- *(.dtors)
- ___dtors_end = .;
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata)
- *(.gcc_except_table)
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data BLOCK (0x4) :
- {
- *(.shdata)
- *(.data)
- _edata = .;
- } > ram
-
- .bss BLOCK (0x4) :
- {
- __bss_start = . ;
- *(.shbss)
- *(.bss)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- /* I know, I know, stack sections are supposed to be useless; but
- this actually worked for me, as opposed to the PROVIDE. */
- .stack 0xa00ff00 :
- {
- __stack = .;
- } > ram
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/sh/sh2lcevb.ld b/libgloss/sh/sh2lcevb.ld
deleted file mode 100644
index 06a85ad..0000000
--- a/libgloss/sh/sh2lcevb.ld
+++ /dev/null
@@ -1,110 +0,0 @@
-/* Linker script for the SH2 Low-Cost Eval Board. */
-
-SEARCH_DIR(.)
-GROUP(-lc -lgcc)
-__DYNAMIC = 0;
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x4004000, LENGTH = 0x40000
-}
-
-/* Put the stack up high. */
-/* (Commented out because it doesn't seem to work right) */
-/*PROVIDE (__stack = 0x403ff00);*/
-
-/* Initalize some symbols to be zero so we can reference them in the
- crt0 without core dumping. These functions are all optional, but
- we do this so we can have our crt0 always use them if they exist.
- This is so BSPs work better when using the crt0 installed with gcc.
- We have to initalize them twice, so we cover a.out (which prepends
- an underscore) and coff object file formats. */
-
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-
-/* Put everything in ram (of course). */
-
-SECTIONS
-{
- .text :
- {
- *(.text)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- ___ctors = .;
- *(.ctors)
- ___ctors_end = .;
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- ___dtors = .;
- *(.dtors)
- ___dtors_end = .;
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata)
- *(.gcc_except_table)
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data BLOCK (0x4) :
- {
- *(.shdata)
- *(.data)
- _edata = .;
- } > ram
-
- .bss BLOCK (0x4) :
- {
- __bss_start = . ;
- *(.shbss)
- *(.bss)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- /* I know, I know, stack sections are supposed to be useless; but
- this actually worked for me, as opposed to the PROVIDE. */
- .stack 0x403ff00 :
- {
- __stack = .;
- } > ram
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/sh/sh3bb.ld b/libgloss/sh/sh3bb.ld
deleted file mode 100644
index f2a3319..0000000
--- a/libgloss/sh/sh3bb.ld
+++ /dev/null
@@ -1,112 +0,0 @@
-/* Linker script for the "SH3 Target System", also known as "the big box". */
-
-/*STARTUP(crt0.o) */
-/*OUTPUT_ARCH(shl)*/
-SEARCH_DIR(.)
-GROUP(-lc -lgcc)
-__DYNAMIC = 0;
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0xc008000, LENGTH = 0x2000000
-}
-
-/* Put the stack up high. */
-/* (Commented out because it doesn't seem to work right) */
-/*PROVIDE (__stack = 0xc800000);*/
-
-/* Initalize some symbols to be zero so we can reference them in the
- crt0 without core dumping. These functions are all optional, but
- we do this so we can have our crt0 always use them if they exist.
- This is so BSPs work better when using the crt0 installed with gcc.
- We have to initalize them twice, so we cover a.out (which prepends
- an underscore) and coff object file formats. */
-
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-
-/* Put everything in ram (of course). */
-
-SECTIONS
-{
- .text :
- {
- *(.text)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- ___ctors = .;
- *(.ctors)
- ___ctors_end = .;
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- ___dtors = .;
- *(.dtors)
- ___dtors_end = .;
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata)
- *(.gcc_except_table)
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data BLOCK (0x4) :
- {
- *(.shdata)
- *(.data)
- _edata = .;
- } > ram
-
- .bss BLOCK (0x4) :
- {
- __bss_start = . ;
- *(.shbss)
- *(.bss)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- /* I know, I know, stack sections are supposed to be useless; but
- this actually worked for me, as opposed to the PROVIDE. */
- .stack 0xc800000 :
- {
- __stack = .;
- } > ram
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/sh/sh3lcevb.ld b/libgloss/sh/sh3lcevb.ld
deleted file mode 100644
index d41c65f..0000000
--- a/libgloss/sh/sh3lcevb.ld
+++ /dev/null
@@ -1,110 +0,0 @@
-/* Linker script for the SH3 Low-Cost Eval Board. */
-
-SEARCH_DIR(.)
-GROUP(-lc -lgcc)
-__DYNAMIC = 0;
-
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x8004000, LENGTH = 0x2000000
-}
-
-/* Put the stack up high. */
-/* (Commented out because it doesn't seem to work right) */
-/*PROVIDE (__stack = 0x8100000);*/
-
-/* Initalize some symbols to be zero so we can reference them in the
- crt0 without core dumping. These functions are all optional, but
- we do this so we can have our crt0 always use them if they exist.
- This is so BSPs work better when using the crt0 installed with gcc.
- We have to initalize them twice, so we cover a.out (which prepends
- an underscore) and coff object file formats. */
-
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-
-/* Put everything in ram (of course). */
-
-SECTIONS
-{
- .text :
- {
- *(.text)
- . = ALIGN(0x4);
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- ___ctors = .;
- *(.ctors)
- ___ctors_end = .;
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- ___dtors = .;
- *(.dtors)
- ___dtors_end = .;
- LONG(0)
- __DTOR_END__ = .;
- *(.rodata)
- *(.gcc_except_table)
-
- _etext = .;
- *(.lit)
- } > ram
-
- .data BLOCK (0x4) :
- {
- *(.shdata)
- *(.data)
- _edata = .;
- } > ram
-
- .bss BLOCK (0x4) :
- {
- __bss_start = . ;
- *(.shbss)
- *(.bss)
- *(COMMON)
- _end = ALIGN (0x8);
- __end = _end;
- } > ram
-
- /* I know, I know, stack sections are supposed to be useless; but
- this actually worked for me, as opposed to the PROVIDE. */
- .stack 0x8100000 :
- {
- __stack = .;
- } > ram
-
- .stab 0 (NOLOAD) : { *(.stab) }
- .stabstr 0 (NOLOAD) : { *(.stabstr) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to
- the beginning of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
-}
diff --git a/libgloss/sparc/Makefile.in b/libgloss/sparc/Makefile.in
deleted file mode 100644
index 67f19ac..0000000
--- a/libgloss/sparc/Makefile.in
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright (c) 1995, 1996, 1997 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/sparc. This is the board support
-# code for the various sparc targets.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = qrv
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CYGMON_CRT0 = cygmon-crt0.o
-CYGMON_BSP = libcygmon.a
-CYGMON_OBJS = cygmon-salib.o
-
-701_CRT0 = crt0-701.o
-701_BSP = libsplet701.a
-701_OBJS = sysc-701.o salib-701.o sparclet-stub.o
-
-930_BSP = libslite930.a
-931_BSP = libslite931.a
-934_BSP = libslite934.a
-86X_BSP = libslite86x.a
-
-# for the time being, built the stub without hardware breakpoint support
-SLITE_OBJS = salib.o sparcl-stub.o cache.o
-
-# ERC32: SIS simulator, see sim/erc32.
-ERC32_CRT0 = erc32-crt0.o
-ERC32_BSP = liberc32.a
-ERC32_OBJS = erc32-io.o traps.o erc32-stub.o debug.o fixctors.o
-ERC32_ALL = $(ERC32_CRT0) $(ERC32_BSP)
-
-CRT0 = crt0.o
-OBJS = close.o fstat.o getpid.o isatty.o kill.o \
- lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
- unlink.o write.o
-
-# This is set to one of SPARC, SLITE, or SPLET by configure.
-# It's not clear what to do here.
-# One could certainly build everything. The assembler supports all cpu
-# variants (via runtime switches). However, the compiler [currently] doesn't.
-# Of course, it may be the case that there isn't any cpu specific code in
-# C source files, but there might be in the future.
-CPU = @CPU@
-
-# sparc stuff (not sparclite or sparclet)
-SPARC_ALL = $(CYGMON_BSP) $(CYGMON_CRT0) $(objdir)/cygmon.ld
-SPARC_INSTALL = sparc-install
-SPARC_OBJ_FORMAT = sparc
-SPARC_RAM_START = 0x4000
-
-# sparc 64 stuff
-SPARC64_ALL = $(CYGMON_BSP) $(CYGMON_CRT0) $(objdir)/cygmon.ld
-SPARC64_INSTALL = sparc-install
-SPARC64_OBJ_FORMAT = sparc:v9
-SPARC64_RAM_START = 0x4000
-
-# sparclite stuff
-SLITE_ALL = $(930_BSP) $(931_BSP) $(CYGMON_BSP) $(CYGMON_CRT0) $(objdir)/cygmon.ld $(934_BSP) $(86X_BSP)
-SLITE_INSTALL = slite-install
-SLITE_OBJ_FORMAT = sparc
-SLITE_RAM_START = 0x40050000
-
-# sparclet stuff
-SPLET_ALL = $(701_CRT0) $(701_BSP)
-SPLET_INSTALL = splet-install
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: ${CRT0} $($(CPU)_ALL) $(ERC32_ALL)
-
-$(CYGMON_CRT0): cygmon-crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) -DTARGET_CPU_$(CPU) $(INCLUDES) -o $@ -c $(srcdir)/cygmon-crt0.S
-
-$(CYGMON_BSP): $(CYGMON_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(CYGMON_OBJS)
- ${RANLIB} $@
-
-#$(STUBLIBS): $(OBJS) $(SLITE_OBJS) $(CRT0)
-# ${CC} -nostdlib -r $(SLITE_OBJS) $(SHARED_OBJS) -o $(930_BSP)
-# ${CC} -DSL931 -nostdlib -r $(SLITE_OBJS) $(SHARED_OBJS) -o $(931_BSP)
-# ${CC} -nostdlib -r $(SLITE_OBJS) $(SHARED_OBJS) -o $(934_BSP)
-
-$(CRT0): $(srcdir)/crt0.S $(srcdir)/asm.h $(srcdir)/slite.h
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -o $@ -c $(srcdir)/crt0.S
-
-$(930_BSP) $(931_BSP) $(934_BSP) $(86X_BSP): $(OBJS) $(SLITE_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(OBJS) $(SLITE_OBJS)
- ${RANLIB} $@
-
-$(701_BSP): $(701_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(701_OBJS)
- ${RANLIB} $@
-
-erc32-crt0.o: $(srcdir)/erc32-crt0.S $(srcdir)/asm.h $(srcdir)/slite.h
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -o $@ -c $(srcdir)/erc32-crt0.S
-
-liberc32.a: $(OBJS) $(ERC32_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(OBJS) $(ERC32_OBJS)
- ${RANLIB} $@
-
-crt0-701.o: crt0-701.S
-sysc-701.o: sysc-701.c
-salib-701.o: salib-701.c
-sparclet-stub.o: sparclet-stub.c
-cygmon-salib.o: cygmon-salib.c
- $(CC) -DTARGET_CPU_$(CPU) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -o $@ -c $(srcdir)/cygmon-salib.c
-cache.o: $(srcdir)/cache.c
-salib.o: $(srcdir)/salib.c
-win.o: $(srcdir)/win.S
-syscalls.o: $(srcdir)/syscalls.c
-sparcl-stub.o: $(srcdir)/sparcl-stub.c $(srcdir)/../debug.h $(srcdir)/../debug.c
-erc32-stub.o: $(srcdir)/erc32-stub.c $(srcdir)/../debug.h $(srcdir)/../debug.c
-fixctors.o : $(srcdir)/fixctors.c
-
-$(objdir)/cygmon.ld: @CYGMONLDSCRIPTTEMPL@
- sed 's/TARGET_OBJ_FORMAT/$($(CPU)_OBJ_FORMAT)/g;s/TARGET_RAM_START/$($(CPU)_RAM_START)/g;' < $(<) > $(objdir)/cygmon.ld
-
-install: $($(CPU)_INSTALL)
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
-
-sparc-install:
- $(INSTALL_DATA) $(CYGMON_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CYGMON_OBJS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(objdir)/cygmon.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CYGMON_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-
-slite-install:
- $(INSTALL_DATA) $(930_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(930_BSP)
- $(INSTALL_DATA) $(931_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(931_BSP)
- $(INSTALL_DATA) $(934_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(934_BSP)
- $(INSTALL_DATA) $(86X_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(86X_BSP)
- $(INSTALL_DATA) $(srcdir)/ex930.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(srcdir)/ex931.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(srcdir)/ex934.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(srcdir)/sparc86x.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(srcdir)/elfsim.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(ERC32_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(ERC32_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(objdir)/traps.o $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CYGMON_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CYGMON_OBJS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(objdir)/cygmon.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
- $(INSTALL_DATA) $(CYGMON_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-
-splet-install:
- $(INSTALL_DATA) $(701_CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(701_CRT0)
- $(INSTALL_DATA) $(701_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(701_BSP)
- $(INSTALL_DATA) $(srcdir)/tsc701.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
-
-# Make a simple test case to test the linker script, startup code, and
-# I/O code
-#
-test: ex930-test.x ex931-test.x erc32-test.x
- @echo Done...
-
-# compile a fully linked binary. The -N option is for a.out, so the
-# base address will be zero, rather than the default of 0x2020. The
-# -Wl,-T*.ld is for the linker script. By using -Wl, the linker script
-# is put on the proper place in the comand line for ld, and all the
-# symbols will get fully resolved.
-
-erc32-test.x: test.o ${ERC32_CRT0} ${srcdir}/erc32.ld Makefile ${ERC32_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Terc32.ld -Wl,-Map -Wl,erc32.map -nostdlib
-erc32-test.srec: erc32-test.x
- $(OBJCOPY) -O srec erc32-test.x $@
-erc32-test.dis: erc32-test.x
- @rm -fr erc32-test.dis
- $(OBJDUMP) -d erc32-test.x > $@
-erc32-test: erc32-test.srec erc32-test.dis
-
-ex930-test.x: test.o ${CRT0} ${srcdir}/ex930.ld Makefile ${930_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tex930.ld -nostdlib
-ex930-test.srec: ex930-test.x
- $(OBJCOPY) -O srec ex930-test.x $@
-ex930-test.dis: ex930-test.x
- @rm -fr ex930-test.dis
- $(OBJDUMP) -d ex930-test.x > $@
-ex930-test: ex930-test.srec ex930-test.dis
-
-ex931-test.x: test.o ${CRT0} ${srcdir}/ex931.ld Makefile ${931_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tex931.ld -nostdlib
-ex931-test.srec: ex931-test.x
- $(OBJCOPY) -O srec ex931-test.x $@
-ex931-test.dis: ex931-test.x
- @rm -fr ex931-test.dis
- $(OBJDUMP) -d ex931-test.x > $@
-ex931-test: ex931-test.srec ex931-test.dis
-
-ex934-test.x: test.o ${CRT0} ${srcdir}/ex934.ld Makefile ${934_BSP}
- ${CC} -L${srcdir} -L${objdir} test.o -o $@ $(LDFLAGS_FOR_TARGET) \
- -N -Wl,-Tex934.ld -nostdlib
-ex934-test.srec: ex934-test.x
- $(OBJCOPY) -O srec ex934-test.x $@
-ex934-test.dis: ex934-test.x
- @rm -fr ex934-test.dis
- $(OBJDUMP) -d ex934-test.x > $@
-ex934-test: ex934-test.srec ex934-test.dis
-
-# a C++ test case
-dtor.o: $(srcdir)/dtor.C
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -o $@ -c $?
-dtor.dis: dtor.x
- @rm -fr dtor.dis
- $(OBJDUMP) -d dtor.x > $@
-dtor.x: dtor.o ${ERC32_CRT0} ${srcdir}/erc32.ld Makefile ${ERC32_BSP}
- ${CC} -L${srcdir} -L${objdir} dtor.o -o $@ $(LIBS_FOR_TARGET) \
- -N -Wl,-Terc32.ld
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-clean mostlyclean:
- rm -f *.o *.a *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ \
- @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/sparc/aclocal.m4 b/libgloss/sparc/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/sparc/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/sparc/asm.h b/libgloss/sparc/asm.h
deleted file mode 100644
index daeff34..0000000
--- a/libgloss/sparc/asm.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* asm.h -- macros for sparc asm
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#ifndef __SPARC_ASM_h
-#define __SPARC_ASM_h
-
-/* Indicate we are in an assembly file and get the basic CPU definitions. */
-#define ASM
-
-/* ANSI concatenation macros. */
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-/* Use the right prefix for global labels.
- Note that it's too late to have coff have no underscores
- (would break user programs).
- One school of thought likes having underscores for both a.out and coff
- (simplicity in consistency). */
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__,x)
-
-/* STRINGSYM makes a string out of a symbol name with the proper assembly
- prefix. Useful for inline assembly language in C source files. */
-#define STRINGIT2(x) #x
-#define STRINGIT1(x) STRINGIT2(x)
-#define STRINGSYM(x) STRINGIT1(SYM(x))
-
-#endif
diff --git a/libgloss/sparc/cache.c b/libgloss/sparc/cache.c
deleted file mode 100644
index 5b6e270..0000000
--- a/libgloss/sparc/cache.c
+++ /dev/null
@@ -1,147 +0,0 @@
-/* Cache code for SPARClite
- *
- * Copyright (c) 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "sparclite.h"
-
-/* Ancillary registers on the DANlite */
-
-#define DIAG 30
-#define ICCR 31
-
-/* Bits in the DIAG register */
-
-#define ICD 0x40000000 /* ICACHE disable */
-#define DCD 0x20000000 /* DCACHE disable */
-
-/* Bits in the ICCR register */
-
-#define CE 1 /* cache enable*/
-
-
-/* Forward declarations. */
-
-void flush_i_cache ();
-
-
-/* Determine if this is a DANlite (MB8686x), as opposed to an earlier
- SPARClite (MB8683x). This is done by examining the impl and ver
- fields in the PSR:
-
- MB8683x: impl(bit31-28)=0x0; ver(bit27-24)=0xf;
- MB8686x: impl(bit31-28)=0x1; ver(bit27-24)=0xe;
-*/
-
-static int
-is_danlite ()
-{
- static int checked = 0;
- static int danlite = 0;
-
- if (!checked)
- {
- int psr = read_psr ();
- danlite = (psr & 0xff000000) == 0x1e000000;
- checked = 1;
- }
- return danlite;
-}
-
-/* This cache code is known to work on both the 930 & 932 processors. It just
- cheats and clears the all of the address space that could contain tags, as
- opposed to striding the tags at 8 or 16 word intervals, or using the cache
- flush registers, which don't exist on all processors. */
-
-void
-cache_off ()
-{
- if (is_danlite ())
- {
- /* Disable the ICACHE. Disabling the DCACHE crashes the machine. */
- unsigned int diag = read_asr (DIAG);
- write_asr (DIAG, diag | ICD);
- }
- else
- {
- write_asi (1, 0, 0);
- }
-}
-
-void
-cache_on ()
-{
- if (is_danlite ())
- {
- unsigned int diag;
-
- /* Flush the caches. */
- flush_i_cache ();
-
- /* Enable the ICACHE and DCACHE */
- diag = read_asr (DIAG);
- write_asr (DIAG, diag & ~ (ICD | DCD));
- }
- else
- {
- unsigned long addr;
-
- cache_off (); /* Make sure the cache is off */
-
- /* Reset all of the cache line valid bits */
-
- for (addr = 0; addr < 0x1000; addr += 8)
- {
- write_asi (0xc, addr, 0); /* Clear bank 1, icache */
- write_asi (0xc, addr + 0x80000000, 0); /* Clear bank 2, icache */
-
- write_asi (0xe, addr, 0); /* Clear bank 1, dcache */
- write_asi (0xe, addr + 0x80000000, 0); /* Clear bank 2, dcache */
- }
-
- /* turn on the cache */
-
- write_asi (1, 0, 0x35); /* Write buf ena, prefetch buf ena, data
- & inst caches enab */
- }
-}
-
-/* Flush the instruction cache. We need to do this for the debugger stub so
- that breakpoints, et. al. become visible to the instruction stream after
- storing them in memory.
- */
-
-void
-flush_i_cache ()
-{
- if (is_danlite ())
- {
- write_asi (0x31, 0, 0); /* Flush entire i/d caches */
- }
- else
- {
- int cache_reg;
- unsigned long addr;
-
- cache_reg = read_asi (1, 0); /* Read cache/bus interface reg */
-
- if (!(cache_reg & 1))
- return; /* Just return if cache is already off */
-
- for (addr = 0; addr < 0x1000; addr += 8)
- {
- write_asi (0xc, addr, 0); /* Clear bank 1, icache */
- write_asi (0xc, addr + 0x80000000, 0); /* Clear bank 2, icache */
- }
- }
-}
diff --git a/libgloss/sparc/configure b/libgloss/sparc/configure
deleted file mode 100755
index 89ad160..0000000
--- a/libgloss/sparc/configure
+++ /dev/null
@@ -1,3932 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="sparc-stub.c"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-CPU
-subdirs
-host_makefile_frag_path
-target_makefile_frag_path
-CYGMONLDSCRIPTTEMPL
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-ac_subdirs_all='libsys'
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${with_multisrctop}../../.."
- else
- libgloss_topdir="${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-case ${target_cpu} in
-sparclite*) CPU=SLITE ;;
-sparclet*) CPU=SPLET ;;
-sparc64*) CPU=SPARC64 ;;
-sparc86x*) CPU=SLITE ;;
-*) CPU=SPARC ;;
-esac
-
-
-case ${target_cpu} in
-sparc64*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon-sparc64-ld.src ;;
-sparclet-*-aout*) CYGMONLDSCRIPTTEMPL-${srcdir}/cygmon.ld.src; subdirs="$subdirs libsys"
- ;;
-*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon.ld.src
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-ac_config_commands="$ac_config_commands default"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-CPU!$CPU$ac_delim
-subdirs!$subdirs$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-target_makefile_frag_path!$target_makefile_frag_path$ac_delim
-CYGMONLDSCRIPTTEMPL!$CYGMONLDSCRIPTTEMPL$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-/^[ ]*@target_makefile_frag@[ ]*$/{
-r $target_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "default":C) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
-#
-# CONFIG_SUBDIRS section.
-#
-if test "$no_recursion" != yes; then
-
- # Remove --cache-file and --srcdir arguments so they do not pile up.
- ac_sub_configure_args=
- ac_prev=
- eval "set x $ac_configure_args"
- shift
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
- *)
- case $ac_arg in
- *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
- esac
- done
-
- # Always prepend --prefix to ensure using the same prefix
- # in subdir configurations.
- ac_arg="--prefix=$prefix"
- case $ac_arg in
- *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
-
- # Pass --silent
- if test "$silent" = yes; then
- ac_sub_configure_args="--silent $ac_sub_configure_args"
- fi
-
- ac_popdir=`pwd`
- for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d "$srcdir/$ac_dir" || continue
-
- ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
- echo "$as_me:$LINENO: $ac_msg" >&5
- echo "$ac_msg" >&6
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- cd "$ac_dir"
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- ac_sub_configure=$ac_srcdir/configure.gnu
- elif test -f "$ac_srcdir/configure"; then
- ac_sub_configure=$ac_srcdir/configure
- elif test -f "$ac_srcdir/configure.in"; then
- # This should be Cygnus configure.
- ac_sub_configure=$ac_aux_dir/configure
- else
- { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
-echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
- # Make the cache file name correct relative to the subdirectory.
- case $cache_file in
- [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
- *) # Relative name.
- ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
- esac
-
- { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
-echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
- # The eval makes quoting arguments work.
- eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
- --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
- { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
-echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- cd "$ac_popdir"
- done
-fi
-
-
diff --git a/libgloss/sparc/configure.in b/libgloss/sparc/configure.in
deleted file mode 100644
index d4f02d2..0000000
--- a/libgloss/sparc/configure.in
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright (c) 1995, 1996 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(sparc-stub.c)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${with_multisrctop}../../.."
- else
- libgloss_topdir="${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_PROG_INSTALL
-
-AC_CANONICAL_SYSTEM
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-case ${target_cpu} in
-sparclite*) CPU=SLITE ;;
-sparclet*) CPU=SPLET ;;
-sparc64*) CPU=SPARC64 ;;
-sparc86x*) CPU=SLITE ;;
-*) CPU=SPARC ;;
-esac
-AC_SUBST(CPU)
-
-case ${target_cpu} in
-sparc64*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon-sparc64-ld.src ;;
-sparclet-*-aout*) CYGMONLDSCRIPTTEMPL-${srcdir}/cygmon.ld.src; AC_CONFIG_SUBDIRS(libsys) ;;
-*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon.ld.src
-esac
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(CYGMONLDSCRIPTTEMPL)
-
-AC_OUTPUT(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-
diff --git a/libgloss/sparc/crt0-701.S b/libgloss/sparc/crt0-701.S
deleted file mode 100644
index 44ffadc..0000000
--- a/libgloss/sparc/crt0-701.S
+++ /dev/null
@@ -1,105 +0,0 @@
-/* crt0.S for the sparclet 701.
-
- At the moment, all the necessary syscalls are here.
- Convention has them in a separate file but libgloss is still in
- too much flux. */
-
- .text
-
- .global start
-start:
-
-! zero bss
-
- sethi %hi(_end), %o1
- or %o1, %lo(_end), %o1
- sethi %hi(_edata), %o0
- or %o0, %lo (_edata), %o0
- sub %o1, %o0, %o1
-Lzero_bss:
- subcc %o1, 4, %o1
- clr [%o0]
- bne Lzero_bss
- add %o0, 4, %o0
-
-! set up argc, argv, envp (?)
-
- ld [%sp+64], %o0
- sll %o0, 2, %o2
- add %o2, 4, %o2
- add %sp, 68, %o1
- add %o1, %o2, %o2
- sethi %hi(_environ), %o3
- st %o2, [%o3+%lo(_environ)]
-
-! call main, exit
-
- call _main
- sub %sp, 32, %sp
- call _exit
- nop
-
-! void _exit (int rc)
-
- .global __exit
-__exit:
- mov 1, %g1
- ta 0
-! If that does not work, just loop forever.
-Lloop_forever:
- b Lloop_forever
- nop
-
-! int _open (char *, int)
-
- .global _open
-_open:
- mov 5, %g1
- ta 0
- bcc Lnoerr
- nop
- b Lcerror
- nop
-
-! int _close (int)
-
- .global _close
-_close:
- mov 6, %g1
- ta 0
- bcc Lnoerr
- nop
- b Lcerror
- nop
-
-! int read (int, char *, int)
-
- .global _read
-_read:
- mov 3, %g1
- ta 0
- bcc Lnoerr
- nop
- b Lcerror
- nop
-
-! int write (int, char *, int)
-
- .global _write
-_write:
- mov 4, %g1
- ta 0
- bcc Lnoerr
- nop
- b Lcerror
- nop
-
-Lnoerr:
- retl
- nop
-
-Lcerror:
- sethi %hi(__impure_ptr), %g1
- st %o0, [%g1+%lo(__impure_ptr)]
- retl
- mov -1, %o0
diff --git a/libgloss/sparc/crt0.S b/libgloss/sparc/crt0.S
deleted file mode 100644
index 90e18c5..0000000
--- a/libgloss/sparc/crt0.S
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * C startup code for the Fujitsu SPARClite demo board
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "asm.h"
-
-.data
- .align 8
- .ascii "DaTa" ! this is the first address in the data section
- .long SYM(sdata)
-SYM(environ):
- .long 0
-
- .text
- .align 8
-
- .globl SYM(_start)
-SYM(_start):
- .globl SYM(start)
-SYM(start):
- /* see if the stack is already setup. if not, then default
- * to using the value of %sp as set by the ROM monitor
- */
- sethi %hi(__stack), %g1
- or %g1,%lo(__stack),%g1
- cmp %g0,%g1
- be 1f
- mov %g1, %sp ! set the stack pointer
- mov %sp, %fp
-1:
-
- /* zero the bss section */
- sethi %hi(__bss_start),%g2
- or %g2,%lo(__bss_start),%g2 ! start of bss
- sethi %hi(_end),%g3
- or %g3,%lo(_end),%g3 ! end of bss
- mov %g0,%g1 ! so std has two zeros
-zerobss:
- std %g0,[%g2]
- add %g2,8,%g2
- cmp %g2,%g3
- bleu,a zerobss
- nop
-
-/*
- * copy prom & trap vectors to sram.
- */
- set 0x30000000, %l0
- set 0xfff8, %l1
- tst %l1 ! Set condition codes
-
-copyloop:
- ldd [%l1], %l2
- std %l2, [%l0 + %l1]
- bg copyloop
- deccc 8, %l1
-
- set 0x30000000, %l0 ! Base of new trap vector
- mov %l0, %tbr ! Install the new tbr
-
- set SYM(win_ovf_trap), %l1 ! Setup window overflow trap
- ldd [%l1], %l2
- std %l2, [%l0 + 5 * 16]
- ldd [%l1 + 8], %l2
- std %l2, [%l0 + 5 * 16 + 8]
-
- set SYM(win_unf_trap), %l1 ! Setup window underflow trap
- ldd [%l1], %l2
- std %l2, [%l0 + 6 * 16]
- ldd [%l1 + 8], %l2
- std %l2, [%l0 + 6 * 16 + 8]
-
-/*
- * Try enabling the FPU by setting EF. If that causes a trap, then we probably
- * don't have an FPU.
- */
-
- ldd [%l0 + 2 * 16], %l4 ! Save original trap routine
- set SYM(no_fpu_trap), %l1 ! Install new one
- ldd [%l1], %l2
- std %l2, [%l0 + 2 * 16]
-
- mov %psr, %l0
- sethi %hi(0x1000), %l1
- bset %l1, %l0
-! mov %l0, %psr
-
- std %l4, [2 * 16] ! Restore original trap routine
-
-
-/*
- * Move the data segment from it's ROM address to RAM where it
- * belongs.
- */
-
-relocd:
-#if 0 /* This code is broken. FIXME */
- set (_sdata),%g2 ! %g2 = start of data in aout file
- set SYM(environ),%g4 ! %g4 = actual data base address
- set (_edata),%g3 ! %g3 = end of where data should go
- subcc %g3, %g4, %g5 ! %g5 = length of data
-
- subcc %g4, %g2, %g0 ! need to relocate data ?
- ble init
- ld [%g4], %g6
- subcc %g6, 1, %g0
- be init
-mvdata:
- subcc %g5, 8, %g5
- ldd [%g2 + %g5], %g6
- bg mvdata
-#endif
-
-/*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
-init:
- sethi %hi(SYM(hardware_init_hook)), %g1
- or %g1,%lo(SYM(hardware_init_hook)),%g1
- cmp %g0,%g1
- be 1f
- nop
- call SYM(hardware_init_hook)
- nop
-
-1:
- sethi %hi(SYM(software_init_hook)), %g1
- or %g1,%lo(SYM(software_init_hook)),%g1
- cmp %g0,%g1
- be 2f
- nop
- call SYM(software_init_hook)
- nop
-2:
- call SYM(main)
- nop
-
- /* call exit from the C library so atexit gets called, and the
- * C++ destructors get run. This calls our exit routine below
- * when it's done.
- */
- call SYM(exit)
- nop
-
-/*
- * This should drop control back to the ROM monitor, if there is
- * one.
- */
- .globl SYM(_exit)
-SYM(_exit):
- call 0
- nop
-
-/*
- * Trap handlers.
- */
-
- .align 8
-
-SYM(win_ovf_trap):
- sethi %hi(SYM(win_ovf)), %l3
- jmpl %lo(SYM(win_ovf))+%l3, %g0
- mov %wim, %l0
- nop
-
-SYM(win_unf_trap):
- sethi %hi(SYM(win_unf)), %l3
- jmpl %lo(SYM(win_unf))+%l3, %g0
- mov %wim, %l0
- nop
-
-SYM(no_fpu_trap): ! Come here when no fpu exists.
- jmpl %l2, %g0 ! This just skips the
- rett %l2+4 ! offending instruction.
diff --git a/libgloss/sparc/cygmon-crt0.S b/libgloss/sparc/cygmon-crt0.S
deleted file mode 100644
index 272c00d..0000000
--- a/libgloss/sparc/cygmon-crt0.S
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * C startup code for the Fujitsu SPARClite demo board
- *
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "asm.h"
-
-#ifdef TARGET_CPU_SPARC64
-#define STACK_BIAS 2047
-#define SAVE_SIZE -128
-#else
-#define SAVE_SIZE -64
-#endif
-
-.data
- .align 8
-SYM(environ): ! this is the first address in the data section
- .long 0
-
-SYM(argc):
- .long 0
-
- .text
- .align 8
-
- .globl SYM(start)
- .globl start
-SYM(start):
-start:
- /* see if the stack is already setup. if not, then default
- * to using the value of %sp as set by the ROM monitor
- */
- sethi %hi(__stack), %g1
- or %g1,%lo(__stack),%g1
- cmp %g0,%g1
- be 1f
- nop
-#ifdef STACK_BIAS
- sub %g1, STACK_BIAS, %g1
-#endif
- mov %g1, %sp ! set the stack pointer
- mov 0, %fp
-1:
-
- /* zero the bss section */
- sethi %hi(__bss_start),%g2
- or %g2,%lo(__bss_start),%g2 ! start of bss
- sethi %hi(_end),%g3
- or %g3,%lo(_end),%g3 ! end of bss
- mov %g0,%g1 ! so std has two zeros
-zerobss:
- std %g0,[%g2]
- add %g2,8,%g2
- cmp %g2,%g3
- bleu,a zerobss
- nop
-
-/*
- * initialize target specific stuff. Only execute these
- * functions it they exist.
- */
-init:
- sethi %hi(SYM(hardware_init_hook)), %g1
- or %g1,%lo(SYM(hardware_init_hook)),%g1
- cmp %g0,%g1
- be 1f
- nop
- call SYM(hardware_init_hook)
- nop
-
-1:
- sethi %hi(SYM(software_init_hook)), %g1
- or %g1,%lo(SYM(software_init_hook)),%g1
- cmp %g0,%g1
- be 2f
- nop
- call SYM(software_init_hook)
- nop
-2:
- set SYM(__sigtramp), %o0
- call SYM(__install_signal_handler)
- nop
-
- set do_dtors,%o0
- call SYM(atexit)
- nop
-
- call do_ctors
- nop
-
- set SYM(argc), %o0
- call SYM(__getProgramArgs)
- nop
-
- mov %o0, %o1
- set SYM(argc), %o0
- ld [%o0], %o0
- call SYM(main)
- nop
-
- /* call exit from the C library so atexit gets called, and the
- * C++ destructors get run. This calls our exit routine below
- * when it's done.
- */
- call SYM(exit)
- nop
-
-do_ctors:
- save %sp,SAVE_SIZE,%sp
- set __CTOR_LIST__,%l0
-our_entry:
- ld [%l0],%l1
- add %l0,4,%l0
- tst %l1
-1:
- beq 2f
- nop
- ld [%l0],%l2
- add %l0,4,%l0
-
- call %l2
- nop
- deccc %l1
- b 1b
- nop
-2:
- ret
- restore
-
-do_dtors:
- save %sp,SAVE_SIZE,%sp
- set __DTOR_LIST__,%l0
- b our_entry
- nop
diff --git a/libgloss/sparc/cygmon-salib.c b/libgloss/sparc/cygmon-salib.c
deleted file mode 100644
index 7bffcff..0000000
--- a/libgloss/sparc/cygmon-salib.c
+++ /dev/null
@@ -1,220 +0,0 @@
-#ifdef TARGET_CPU_SPARC64
-#include <sys/types.h>
-#endif
-#include <sys/time.h>
-
-void
-putTtyChar(int c)
-{
- /* 2 is fork under solaris; bad juju */
- asm(" mov %i0,%o0 \n\
- or %g0,2,%g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-write(int fd,char *ptr,int amt)
-{
- if (fd < 0 || fd > 2)
- {
- return -1;
- }
- asm(" or %g0, 4, %g1 \n\
- ta 8 \n\
- nop");
- return amt;
-}
-
-int
-read(int fd,char *ptr,int amt)
-{
- if (fd < 0 || fd > 2)
- {
- return -1;
- }
- asm(" or %g0, 3, %g1 \n\
- ta 8 \n\
- nop");
- return amt;
-}
-
-void
-_exit(int code)
-{
- while(1) {
- asm(" or %g0,1,%g1 \n\
- ta 8 \n\
- nop \n\
- ta 1 \n\
- nop");
- }
-}
-
-int
-setitimer(int which, const struct itimerval *value, struct itimerval *ovalue)
-{
- asm(" or %g0, 158, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-
-
-long
-sbrk (unsigned long amt)
-{
- extern char _end;
- static char *ptr = 0;
- char *res;
- if (ptr == 0)
- ptr = &_end;
- if (amt == 0)
- return (long)ptr;
-
- if (((long)ptr) % 8)
- ptr = ptr + (8 - (((long)(ptr)) % 8));
- res = ptr;
- ptr += amt;
- return (long)res;
-}
-
-#ifdef TARGET_CPU_SPARC64
-long
-_sbrk_r (void *foo, unsigned long amt)
-{
- return sbrk(amt);
-}
-
-long
-_fstat_r (void *foo, void *bar, void *baz)
-{
- return -1;
-}
-
-long
-_brk_r (void *foo)
-{
- return sbrk(0);
-}
-
-int
-_open_r (char *filename, int mode)
-{
- return open (filename, mode);
-}
-
-int
-_close_r (int fd)
-{
- return close(fd);
-}
-#endif
-
-int
-close (int fd)
-{
- return 0;
-}
-
-int
-fstat(int des,void *buf)
-{
- return -1;
-}
-
-int
-lseek(int des,unsigned long offset, int whence)
-{
- return -1;
-}
-
-int
-isatty(int fd)
-{
- return (fd < 3);
-}
-
-int
-kill (int pid, int signal)
-{
- asm ("or %g0, 37, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-getpid ()
-{
- return -1;
-}
-
-int
-getitimer (int which, struct itimerval *value)
-{
- asm ("or %g0, 157, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-void
-__install_signal_handler (void *func)
-{
- asm ("mov %o0, %o1 \n\
- mov %g0, %o0 \n\
- or %g0, 48, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-gettimeofday (struct timeval *tp, void *tzp)
-{
- asm ("or %g0, 156, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-stime (long *seconds)
-{
- asm ("or %g0, 25, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-add_mapping (long vma, long pma, long size)
-{
- asm ("or %g0, 115, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-remove_mapping (long vma, long vma_end)
-{
- asm ("or %g0, 117, %g1 \n\
- ta 8 \n\
- nop");
-}
-
-int
-open (char *filename, int mode)
-{
- return -1;
-}
-
-void *
-__getProgramArgs (int *argv)
-{
- int *res;
-
- /* 184 is tsolsys under solaris; bad juju */
- asm ("mov %1, %%o0 \n\
- or %%g0, 184, %%g1 \n\
- ta 8 \n\
- nop \n\
- mov %%o0, %0" : "=r" (res) : "r" (argv): "g1");
- return res;
-}
diff --git a/libgloss/sparc/cygmon-sparc64-ld.src b/libgloss/sparc/cygmon-sparc64-ld.src
deleted file mode 100644
index 3746290..0000000
--- a/libgloss/sparc/cygmon-sparc64-ld.src
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(start)
-OUTPUT_ARCH(TARGET_OBJ_FORMAT)
-SEARCH_DIR(.)
-STARTUP(cygmon-crt0.o)
-GROUP(cygmon-salib.o -lc -lgcc -lc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 1M;
-_RAM_START = 0x4000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Setup the standard memory map. The stack grows down towards low memory.
- */
-MEMORY
-{
- ram : ORIGIN = 0x4000, LENGTH = 1M
-}
-
-__stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
- CREATE_OBJECT_SYMBOLS
- *(.text)
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.init)
- *(.lit)
- *(.rodata)
- *(.rodata.*)
- *(.shdata)
- *(.eh_frame)
- *(.gnu.linkonce.t*)
- *(.gnu.linkonce.r*)
- *(.gcc_except_table)
- *(.fini)
- _etext = .;
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- *(.gnu.linkonce.d*)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/cygmon.ld.src b/libgloss/sparc/cygmon.ld.src
deleted file mode 100644
index 1889caa..0000000
--- a/libgloss/sparc/cygmon.ld.src
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(start)
-OUTPUT_ARCH(TARGET_OBJ_FORMAT)
-SEARCH_DIR(.)
-STARTUP(cygmon-crt0.o)
-GROUP(cygmon-salib.o -lc -lgcc -lc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 1M;
-_RAM_START = TARGET_RAM_START;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Setup the standard memory map. The stack grows down towards low memory.
- */
-MEMORY
-{
- ram : ORIGIN = TARGET_RAM_START, LENGTH = 1M
-}
-
-__stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
- CREATE_OBJECT_SYMBOLS
- *(.text)
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
- LONG(0)
- __DTOR_END__ = .;
- *(.init)
- *(.lit)
- *(.rodata)
- *(.rodata.*)
- *(.shdata)
- *(.eh_frame)
- *(.gnu.linkonce.t*)
- *(.gnu.linkonce.r*)
- *(.gcc_except_table)
- *(.fini)
- _etext = .;
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- *(.gnu.linkonce.d*)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
-/* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
-/* DWARF 1 */
- .debug 0 (NOLOAD) :
- {
- [ .debug ]
- }
- .line 0 (NOLOAD) :
- {
- [ .line ]
- }
-/* GNU DWARF 1 extensions */
- .debug_srcinfo 0 (NOLOAD) :
- {
- [ .debug_srcinfo ]
- }
- .debug_sfnames 0 (NOLOAD) :
- {
- [ .debug_sfnames ]
- }
-/* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 (NOLOAD) :
- {
- [ .debug_aranges ]
- }
- .debug_pubnames 0 (NOLOAD) :
- {
- [ .debug_pubnames ]
- }
-/* DWARF 2 */
- .debug_info 0 (NOLOAD) :
- {
- [ .debug_info ]
- }
- .debug_abbrev 0 (NOLOAD) :
- {
- [ .debug_abbrev ]
- }
- .debug_line 0 (NOLOAD) :
- {
- [ .debug_line ]
- }
- .debug_frame 0 (NOLOAD) :
- {
- [ .debug_frame ]
- }
- .debug_str 0 (NOLOAD) :
- {
- [ .debug_str ]
- }
- .debug_loc 0 (NOLOAD) :
- {
- [ .debug_loc ]
- }
- .debug_macinfo 0 (NOLOAD) :
- {
- [ .debug_macinfo ]
- }
-}
diff --git a/libgloss/sparc/dtor.C b/libgloss/sparc/dtor.C
deleted file mode 100644
index abde4f1..0000000
--- a/libgloss/sparc/dtor.C
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdio.h>
-
-extern "C" void print (char *, ...);
-
-class foo
-{
-public:
- foo () { print ("ctor\n"); }
- ~foo () { print ("dtor\n"); }
-};
-
-foo x;
-
-main ()
-{
- outbyte ('&');
- outbyte ('@');
- outbyte ('$');
- outbyte ('%');
- print ("FooBar\r\n");
-
- /* whew, we made it */
- print ("\r\nDone...\r\n");
-/* fflush(stdout); */
-}
diff --git a/libgloss/sparc/elfsim.ld b/libgloss/sparc/elfsim.ld
deleted file mode 100644
index a047a05..0000000
--- a/libgloss/sparc/elfsim.ld
+++ /dev/null
@@ -1,203 +0,0 @@
-/* Linker script for running ELF programs in the Sparc simulator */
-
-/* OUTPUT_FORMAT("elf32-sparc", "elf32-sparc", "elf32-sparcle") */
-/* OUTPUT_FORMAT("elf32-sparc") */
-OUTPUT_ARCH(sparc)
-STARTUP(traps.o)
-INPUT(erc32-crt0.o)
-ENTRY(_trap_table)
-GROUP(-lc -lerc32 -lgcc) /* -lerc32 used to be -lsim */
-
-SEARCH_DIR(.)
-/* Do we need any of these for elf?
- __DYNAMIC = 0; */
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-/*
- * User modifiable values:
- *
- * _CLOCK_SPEED in Mhz (used to program the counter/timers)
- *
- * _PROM_SIZE size of PROM (permissible values are 4K, 8K, 16K
- * 32K, 64K, 128K, 256K, and 512K)
- * _RAM_SIZE size of RAM (permissible values are 256K, 512K,
- * 1MB, 2Mb, 4Mb, 8Mb, 16Mb, and 32Mb)
- *
- * These symbols are only used in assembler code, so they only need to
- * be listed once. They should always be refered to without SYM().
- */
-
-_CLOCK_SPEED = 10;
-
-_PROM_SIZE = 4M;
-_RAM_SIZE = 256K;
-
-_RAM_START = 0x02000000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-_STACK_SIZE = (16 * 1024);
-_PROM_START = 0x00000000;
-_PROM_END = _PROM_START + _PROM_SIZE;
-
-
-/*
- * Base address of the on-CPU peripherals
- */
-
-_ERC32_MEC = 0x01f80000;
-
-/*
- * Setup the memory map for the SIS simulator.
- * stack grows up towards low memory.
- */
-
-MEMORY
-{
- rom : ORIGIN = 0x00000000, LENGTH = 4M
- ram (rwx) : ORIGIN = 0x02000000, LENGTH = 2M
-}
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-SECTIONS
-{
- .text :
- {
- _stext = .;
- PROVIDE (stext = .);
- *(.text)
- _etext = .;
- PROVIDE (etext = .);
-
- /* For a.out. */
- CONSTRUCTORS
-
- /* For ELF. */
- __CTOR_LIST__ = .;
- LONG(-1)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG(-1)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
- LONG(0)
- __DTOR_END__ = .;
-
- *(.init)
- *(.lit)
- *(.rodata)
- *(.shdata)
- __EH_FRAME_BEGIN__ = .;
- *(.eh_frame)
- *(.gnu.linkonce.t*)
- *(.gnu.linkonce.r*)
- *(.gcc_except_table)
- *(.fini)
-
- _endtext = .;
- PROVIDE(endtext = .);
- } > ram
-
- .shbss SIZEOF(.text) + ADDR(.text) :
- {
- *(.shbss)
- }
-
- .talias : { } > ram
-
- .data :
- {
- _sdata = .;
- PROVIDE (sdata = .);
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- _edata = .;
- PROVIDE (edata = .);
- } > ram
-
- .bss SIZEOF(.data) + ADDR(.data) :
- {
- _sbss = . ;
- PROVIDE (sbss = . );
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- _ebss = .;
- PROVIDE (ebss = .);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- PROVIDE (end = ALIGN(0x8));
- }
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/erc32-crt0.S b/libgloss/sparc/erc32-crt0.S
deleted file mode 100644
index 8f8b1ea..0000000
--- a/libgloss/sparc/erc32-crt0.S
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * This is based on the file srt0.s provided with the binary
- * distribution of the SPARC Instruction Simulator (SIS) found
- * at ftp://ftp.estec.esa.nl/pub/ws/wsd/erc32.
- */
-
-#include "asm.h"
-
- .data
- .align 8
-SYM(environ):
- .long 0
-
- .text
-
- .globl SYM(start)
-SYM(start):
- sethi %hi(__stack), %g1
- or %g1,%lo(__stack),%g1
- mov %g1, %sp ! set the stack pointer
- mov %sp, %fp
-
- /* clear the bss */
- sethi %hi(__bss_start),%g2
- or %g2,%lo(__bss_start),%g2 ! start of bss
- sethi %hi(_end),%g3
- or %g3,%lo(_end),%g3 ! end of bss
- mov %g0,%g1 ! so std has two zeros
-zerobss:
- std %g0,[%g2]
- add %g2,8,%g2
- cmp %g2,%g3
- bleu,a zerobss
- nop
-
- /* move data segment to proper location */
-
-#if 0
-relocd:
- set (_endtext),%g2 ! g2 = start of data in aout file
- set (_environ),%g4 ! g4 = start of where data should go
- set (_edata),%g3 ! g3 = end of where data should go
- subcc %g3, %g4, %g5 ! g5 = length of data
-
- subcc %g4, %g2, %g0 ! need to relocate data ?
- ble initok
- ld [%g4], %g6
- subcc %g6, 1, %g0
- be initok
-mvdata:
- subcc %g5, 8, %g5
- ldd [%g2 + %g5], %g6
- bg mvdata
- std %g6, [%g4 + %g5]
-
-initok:
-#endif
-
- call SYM(__fix_ctors)
- nop
- call SYM(main)
- nop
-
- /* call exit from the C library so atexit gets called, and the
- * C++ destructors get run. This calls our exit routine below * when it's done.
- */
- call SYM(exit)
- nop
-
- .globl SYM(_exit)
-SYM(_exit):
- set 0xdeadd00d, %o1 ! Magic number for simulator.
- ta 0 ! Halt if _main returns ...
- nop
-
diff --git a/libgloss/sparc/erc32-io.c b/libgloss/sparc/erc32-io.c
deleted file mode 100644
index 082d9f9..0000000
--- a/libgloss/sparc/erc32-io.c
+++ /dev/null
@@ -1,47 +0,0 @@
-#define USE_PORT_A
-
-#define RXADATA (int *) 0x01F800E0
-#define RXBDATA (int *) 0x01F800E4
-#define RXSTAT (int *) 0x01F800E8
-
-void
-outbyte (int c)
-{
- volatile int *rxstat;
- volatile int *rxadata;
- int rxmask;
-
- rxstat = RXSTAT;
-#ifdef USE_PORT_A
- rxadata = RXADATA;
- rxmask = 6;
-#else
- rxadata = RXBDATA;
- rxmask = 0x60000;
-#endif
-
- while ((*rxstat & rxmask) == 0);
-
- *rxadata = c;
-}
-
-int
-inbyte (void)
-{
- volatile int *rxstat;
- volatile int *rxadata;
- int rxmask;
-
- rxstat = RXSTAT;
-#ifdef USE_PORT_A
- rxadata = RXADATA;
- rxmask = 1;
-#else
- rxadata = RXBDATA;
- rxmask = 0x10000;
-#endif
-
- while ((*rxstat & rxmask) == 0);
-
- return *rxadata;
-}
diff --git a/libgloss/sparc/erc32-stub.c b/libgloss/sparc/erc32-stub.c
deleted file mode 100644
index 98866e3..0000000
--- a/libgloss/sparc/erc32-stub.c
+++ /dev/null
@@ -1,363 +0,0 @@
-/*
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <string.h>
-#include <signal.h>
-#include "debug.h"
-#include "asm.h"
-#include "slite.h"
-
-extern unsigned long rdtbr();
-extern struct trap_entry fltr_proto;
-extern void trap_low();
-exception_t default_trap_hook = trap_low;
-void target_reset();
-void flush_i_cache();
-char *target_read_registers(unsigned long *);
-char *target_write_registers(unsigned long *);
-char *target_dump_state(unsigned long *);
-
-#define NUMREGS 72
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES (NUMREGS * 4)
-
-enum regnames {G0, G1, G2, G3, G4, G5, G6, G7,
- O0, O1, O2, O3, O4, O5, SP, O7,
- L0, L1, L2, L3, L4, L5, L6, L7,
- I0, I1, I2, I3, I4, I5, FP, I7,
-
- F0, F1, F2, F3, F4, F5, F6, F7,
- F8, F9, F10, F11, F12, F13, F14, F15,
- F16, F17, F18, F19, F20, F21, F22, F23,
- F24, F25, F26, F27, F28, F29, F30, F31,
- Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR };
-
-/*
- * Each entry in the trap vector occupies four words, typically a jump
- * to the processing routine.
- */
-struct trap_entry {
- unsigned sethi_filler:10;
- unsigned sethi_imm22:22;
- unsigned jmpl_filler:19;
- unsigned jmpl_simm13:13;
- unsigned long filler[2];
-};
-
-/*
- * This table contains the mapping between SPARC hardware trap types, and
- * signals, which are primarily what GDB understands. It also indicates
- * which hardware traps we need to commandeer when initializing the stub.
- */
-struct trap_info hard_trap_info[] = {
- {1, SIGSEGV}, /* instruction access error */
- {2, SIGILL}, /* privileged instruction */
- {3, SIGILL}, /* illegal instruction */
- {4, SIGEMT}, /* fp disabled */
- {36, SIGEMT}, /* cp disabled */
- {7, SIGBUS}, /* mem address not aligned */
- {9, SIGSEGV}, /* data access exception */
- {10, SIGEMT}, /* tag overflow */
- {128+1, SIGTRAP}, /* ta 1 - normal breakpoint instruction */
- {0, 0} /* Must be last */
-};
-
-extern struct trap_entry fltr_proto;
-void
-exception_handler (int tt, unsigned long routine)
-{
- struct trap_entry *tb; /* Trap vector base address */
-
- DEBUG (1, "Entering exception_handler()");
- if (tt != 256) {
- tb = (struct trap_entry *) (rdtbr() & ~0xfff);
- } else {
- tt = 255;
- tb = (struct trap_entry *) 0;
- }
-
- tb[tt] = fltr_proto;
-
- tb[tt].sethi_imm22 = routine >> 10;
- tb[tt].jmpl_simm13 = routine & 0x3ff;
-
- DEBUG (1, "Leaving exception_handler()");
-}
-
-/*
- * This is so we can trap a memory fault when reading or writing
- * directly to memory.
- */
-void
-set_mem_fault_trap(enable)
- int enable;
-{
- extern void fltr_set_mem_err();
-
- DEBUG (1, "Entering set_mem_fault_trap()");
-
- mem_err = 0;
-
- if (enable)
- exception_handler(9, (unsigned long)fltr_set_mem_err);
- else
- exception_handler(9, (unsigned long)trap_low);
-
- DEBUG (1, "Leaving set_mem_fault_trap()");
-}
-
-/*
- * This function does all command procesing for interfacing to gdb. It
- * returns 1 if you should skip the instruction at the trap address, 0
- * otherwise.
- */
-extern void breakinst();
-
-void
-handle_exception (registers)
- unsigned long *registers;
-{
- int sigval;
-
- /* First, we must force all of the windows to be spilled out */
-
- DEBUG (1, "Entering handle_exception()");
-
-/* asm("mov %g0, %wim ; nop; nop; nop"); */
- asm(" save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- save %sp, -64, %sp \n\
- restore \n\
- restore \n\
- restore \n\
- restore \n\
- restore \n\
- restore \n\
- restore \n\
- restore \n\
-");
-
- if (registers[PC] == (unsigned long)breakinst) {
- registers[PC] = registers[NPC];
- registers[NPC] += 4;
- }
-
- /* get the last know signal number from the trap register */
- sigval = computeSignal((registers[TBR] >> 4) & 0xff);
-
- /* call the main command processing loop for gdb */
- gdb_event_loop (sigval, registers);
-}
-
-/*
- * This function will generate a breakpoint exception. It is used at the
- * beginning of a program to sync up with a debugger and can be used
- * otherwise as a quick means to stop program execution and "break" into
- * the debugger.
- */
-void
-breakpoint()
-{
- DEBUG (1, "Entering breakpoint()");
-
- if (!initialized)
- return;
-
- asm(" .globl " STRINGSYM(breakinst) " \n\
- " STRINGSYM(breakinst) ": ta 128+1 \n\
- nop \n\
- nop \n\
- ");
-}
-
-/*
- * This is just a test vector for debugging excpetions.
- */
-void
-bad_trap(tt)
-int tt;
-{
- print ("Got a bad trap #");
- outbyte (tt);
- outbyte ('\n');
- asm("ta 0 \n\
- nop \n\
- nop \n\
- ");
-}
-
-/*
- * This is just a test vector for debugging excpetions.
- */
-void
-soft_trap(tt)
-int tt;
-{
- print ("Got a soft trap #");
- outbyte (tt);
- outbyte ('\n');
- asm("ta 0 \n\
- nop \n\
- nop \n\
- ");
-}
-
-/*
- * Flush the instruction cache. We need to do this for the debugger stub so
- * that breakpoints, et. al. become visible to the instruction stream after
- * storing them in memory.
- *
- * For the sparclite, we need to do something here, but for a standard
- * sparc (which SIS simulates), we don't.
- */
-
-void
-flush_i_cache ()
-{
-}
-
-/*
- * This will reset the processor, so we never return from here.
- */
-void
-target_reset()
-{
- asm ("call 0 \n\
- nop ");
-}
-
-/*
- * g - read registers.
- * no params.
- * returns a vector of words, size is NUM_REGS.
- */
-char *
-target_read_registers(unsigned long *registers)
-{
- char *ptr;
- unsigned long *sp;
-
- DEBUG (1, "In target_read_registers()");
-
- ptr = packet_out_buf;
- ptr = mem2hex((char *)registers, ptr, 16 * 4, 0); /* G & O regs */
- ptr = mem2hex((unsigned char *)(sp + 0), ptr, 16 * 4, 0); /* L & I regs */
- memset(ptr, '0', 32 * 8); /* Floating point */
- mem2hex((char *)&registers[Y],
- ptr + 32 * 4 * 2,
- 8 * 4,
- 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
- return (ptr);
-}
-
-/*
- * G - write registers.
- * param is a vector of words, size is NUM_REGS.
- * returns an OK or an error number.
- */
-char *
-target_write_registers(unsigned long *registers)
-{
- unsigned char *ptr;
- unsigned long *sp;
- unsigned long *newsp, psr;
-
- DEBUG (1, "In target_write_registers()");
-
- psr = registers[PSR];
-
- ptr = &packet_in_buf[1];
-
- hex2mem(ptr, (char *)registers, 16 * 4, 0); /* G & O regs */
- hex2mem(ptr + 16 * 4 * 2, (unsigned char *)(sp + 0), 16 * 4, 0); /* L & I regs */
- hex2mem(ptr + 64 * 4 * 2, (char *)&registers[Y],
- 8 * 4, 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
-
- /*
- * see if the stack pointer has moved. If so, then copy the saved
- * locals and ins to the new location. This keeps the window
- * overflow and underflow routines happy.
- */
-
- newsp = (unsigned long *)registers[SP];
- if (sp != newsp)
- sp = memcpy(newsp, sp, 16 * 4);
-
- /* Don't allow CWP to be modified. */
-
- if (psr != registers[PSR])
- registers[PSR] = (psr & 0x1f) | (registers[PSR] & ~0x1f);
-
- return (ptr);
-}
-
-char *
-target_dump_state(unsigned long *registers)
-{
- int tt; /* Trap type */
- int sigval;
- char *ptr;
- unsigned long *sp;
-
- DEBUG (1, "In target_dump_state()");
-
- sp = (unsigned long *)registers[SP];
-
- tt = (registers[TBR] >> 4) & 0xff;
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal(tt);
- ptr = packet_out_buf;
-
- *ptr++ = 'T';
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- *ptr++ = hexchars[PC >> 4];
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((unsigned char *)&registers[PC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[FP >> 4];
- *ptr++ = hexchars[FP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((unsigned char *)(sp + 8 + 6), ptr, 4, 0); /* FP */
- *ptr++ = ';';
-
- *ptr++ = hexchars[SP >> 4];
- *ptr++ = hexchars[SP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((unsigned char *)&sp, ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[NPC >> 4];
-
- return (packet_out_buf);
-}
-
-void
-write_pc(unsigned long *registers, unsigned long addr)
-{
- DEBUG (1, "In write_pc");
-
- registers[PC] = addr;
- registers[NPC] = addr + 4;
-}
diff --git a/libgloss/sparc/erc32.ld b/libgloss/sparc/erc32.ld
deleted file mode 100644
index 179dcc0..0000000
--- a/libgloss/sparc/erc32.ld
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-STARTUP(traps.o)
-INPUT(sim-crt0.o)
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-GROUP(-lc -lsim -lgcc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-/*
- * User modifiable values:
- *
- * _CLOCK_SPEED in Mhz (used to program the counter/timers)
- *
- * _PROM_SIZE size of PROM (permissible values are 4K, 8K, 16K
- * 32K, 64K, 128K, 256K, and 512K)
- * _RAM_SIZE size of RAM (permissible values are 256K, 512K,
- * 1MB, 2Mb, 4Mb, 8Mb, 16Mb, and 32Mb)
- *
- * These symbols are only used in assembler code, so they only need to
- * be listed once. They should always be refered to without SYM().
- */
-
-_CLOCK_SPEED = 10;
-
-_PROM_SIZE = 4M;
-_RAM_SIZE = 2M;
-
-_RAM_START = 0x02020000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-_STACK_SIZE = (16 * 1024);
-_PROM_START = 0x00000000;
-_PROM_END = _PROM_START + _PROM_SIZE;
-
-
-/*
- * Base address of the on-CPU peripherals
- */
-
-_ERC32_MEC = 0x01f80000;
-
-/*
- * Setup the memory map for the SIS simulator.
- * stack grows up towards low memory.
- */
-/*
-MEMORY
-{
- rom : ORIGIN = 0x00000000, LENGTH = 4M
- ram (rwx) : ORIGIN = 0x02000000, LENGTH = 2M
-}
-*/
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-SECTIONS
-{
- .text 0x02000000 : {
- stext = .;
- _stext = .;
- *(.text)
- _etext = .;
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- *(.lit)
- *(.shdata)
- _endtext = .;
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) :
- {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) :
- {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
-}
diff --git a/libgloss/sparc/ex930.ld b/libgloss/sparc/ex930.ld
deleted file mode 100644
index 9822dca..0000000
--- a/libgloss/sparc/ex930.ld
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-GROUP (-lc -lslite930 -lgcc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 2M;
-_RAM_START = 0x40000000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Base address of the on-CPU peripherals. This is for compatability
- * with the simulator.
- */
-
-_ERC32_MEC = 0x0;
-
-/*
- * Setup the memory map of the MB86931-EB Board (ex931)
- * stack grows down towards low memory.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x40000000, LENGTH = 2M
-}
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
- CREATE_OBJECT_SYMBOLS
- *(.text)
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- _etext = .;
- *(.lit)
- *(.shdata)
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/ex931.ld b/libgloss/sparc/ex931.ld
deleted file mode 100644
index b3e6107..0000000
--- a/libgloss/sparc/ex931.ld
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-GROUP (-lc -lslite931 -lgcc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 2M;
-_RAM_START = 0x40000000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Base address of the on-CPU peripherals. This is for compatability
- * with the simulator.
- */
-
-_ERC32_MEC = 0x0;
-
-/*
- * Setup the memory map of the MB86931-EB Board (ex931)
- * stack grows down towards low memory.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x40000000, LENGTH = 2M
-}
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
- CREATE_OBJECT_SYMBOLS
- *(.text)
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- _etext = .;
- *(.lit)
- *(.shdata)
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/ex934.ld b/libgloss/sparc/ex934.ld
deleted file mode 100644
index ff2f91b..0000000
--- a/libgloss/sparc/ex934.ld
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-GROUP (-lc -lslite934 -lgcc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 2M;
-_RAM_START = 0x40010000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Base address of the on-CPU peripherals. This is for compatability
- * with the simulator.
- */
-
-_ERC32_MEC = 0x0;
-
-/*
- * Setup the memory map of the MB86931-EB Board (ex931)
- * stack grows down towards low memory.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x40010000, LENGTH = 2M
-}
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
- CREATE_OBJECT_SYMBOLS
- *(.text)
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
- _etext = .;
- *(.lit)
- *(.shdata)
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/fixctors.c b/libgloss/sparc/fixctors.c
deleted file mode 100644
index 484023c..0000000
--- a/libgloss/sparc/fixctors.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Code to byte-swap static constructor/destructor tables on
- broken a.out little-endian targets. The startup code should call
- __fix_ctors just before calling main. It is safe to use on non-broken
- or big-endian targets. */
-
-extern long __CTOR_LIST__[];
-extern long __DTOR_LIST__[];
-
-static void
-byte_swap (long *entry)
-{
- unsigned char *p = (unsigned char *)entry;
- unsigned char tmp;
-
- tmp = p[0];
- p[0] = p[3];
- p[3] = tmp;
- tmp = p[1];
- p[1] = p[2];
- p[2] = tmp;
-}
-
-static void
-fix_table (long *table)
-{
- long len = table[0];
-
- /* The heuristic for deciding if a table is broken is to examine
- the word at the start of the table, which contains the number
- of function pointers immediately following. If the low word
- is zero, and the high word is non-zero, it's very likely that
- it is byte-swapped. This test will fail if the program has
- an exact multiple of 64K static constructors or destructors, a very
- unlikely situation. */
- if ((len & 0xffff) == 0 && (len & 0xffff0000) != 0)
- {
-
- /* The table looks broken. Byte-swap all the words in the table, up
- to a NULL entry, which marks the end of the table. */
- do
- {
- byte_swap (table);
- table++;
- }
- while (*table);
- }
-}
-
-void
-__fix_ctors (void)
-{
- fix_table (__CTOR_LIST__);
- fix_table (__DTOR_LIST__);
-}
diff --git a/libgloss/sparc/libsys/Makefile.in b/libgloss/sparc/libsys/Makefile.in
deleted file mode 100644
index b4c4be6..0000000
--- a/libgloss/sparc/libsys/Makefile.in
+++ /dev/null
@@ -1,168 +0,0 @@
-# Makefile for libgloss/sparc/libsys
-# Copyright (c) 1996 Cygnus Support.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
-# endorse or promote products derived from this software without
-# specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-# _r.o is for the reentrant syscall stubs.
-# The .S_r.o/.c_r.o rules are from host/any.
-
-.SUFFIXES: .c .S .o _r.o
-
-.S_r.o:
- $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
-.c_r.o:
- $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
-
-# CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
-# needed by the ANSI C part of newlib when REENTRANT_SYSCALLS_PROVIDED is
-# defined.
-
-CFILES = isatty.c
-
-CFILES_R =
-
-SFILES = cerror.S _exit.S
-
-SFILES_R = sbrk.S
-
-# List of files built from template.S (with an '_' suffix).
-
-TEMPLATE_SFILES = chdir_ lstat_
-
-TEMPLATE_SFILES_R = close_ fstat_ getpid_ kill_ \
- lseek_ open_ read_ stat_ unlink_ write_
-
-# If newlib defines REENTRANT_SYSCALLS_PROVIDED, then these are used as well.
-REENTRANT_OFILES = $(SFILES_R:.S=_r.o) $(TEMPLATE_SFILES_R:_=_r.o) \
- $(CFILES_R:.c=_r.o)
-
-OFILES = $(SFILES:.S=.o) $(SFILES_R:.S=.o) \
- $(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
- $(CFILES:.c=.o) $(CFILES_R:.c=.o) \
- $(REENTRANT_OFILES)
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: libsys.a libsys-crt0.o
-
-libsys.a: $(OFILES)
- rm -f $@
- $(AR) $(AR_FLAGS) $@ $(OFILES)
-
-install:
- $(INSTALL_DATA) libsys-crt0.o $(DESTDIR)$(tooldir)/lib/libsys-crt0.o
- $(INSTALL_DATA) libsys.a $(DESTDIR)$(tooldir)/lib/libsys.a
-
-doc:
-
-.PHONY: info install-info clean-info
-info:
-install-info:
-clean-info:
-
-clean mostlyclean:
- rm -f *.o *.a *.s stamp-srcs
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
-
-stamp-srcs: Makefile template.S template_r.S
- for f in $(TEMPLATE_SFILES:_=) ; \
- do \
- $(CC) -E -Dfunc=$$f \
- $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
- $(srcdir)/template.S >$$f.S ; \
- done
- for f in $(TEMPLATE_SFILES_R:_=) ; \
- do \
- $(CC) -E -Dfunc=$$f \
- $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
- $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S ; \
- done
- touch stamp-srcs
-
-# Make a dependency for each file built from a template.
-
-$(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
-
-# To support SunOS broken VPATH (sigh).
-
-_exit.o: _exit.S
-cerror.o: cerror.S
-chdir.o: chdir.S
-close.o: close.S
-fstat.o: fstat.S
-getpid.o: getpid.S
-isatty.o: isatty.c
-kill.o: kill.S
-libsys-crt0.o: libsys-crt0.S
-lseek.o: lseek.S
-lstat.o: lstat.S
-open.o: open.S
-read.o: read.S
-sbrk.o: sbrk.S
-stat.o: stat.S
-write.o: write.S
-
-# Reentrant versions ...
-# These are all needed to support the ANSI C library routines.
-
-close_r.o: close.S
-fstat_r.o: fstat.S
-getpid_r.o: getpid.S
-kill_r.o: kill.S
-lseek_r.o: lseek.S
-open_r.o: open.S
-read_r.o: read.S
-sbrk_r.o: sbrk.S
-stat_r.o: stat.S
-unlink_r.o: unlink.S
-write_r.o: write.S
diff --git a/libgloss/sparc/libsys/_exit.S b/libgloss/sparc/libsys/_exit.S
deleted file mode 100644
index 52c5c14..0000000
--- a/libgloss/sparc/libsys/_exit.S
+++ /dev/null
@@ -1,14 +0,0 @@
-! _exit() system call
-
-#include "syscallasm.h"
-
- TEXT_SECTION
- ALIGN (4)
- GLOBAL (ASM_SYMBOL (_exit))
-ASM_SYMBOL (_exit):
- mov SYS_exit,%g1
- ta SYSCALL_TRAP
-
-! If that returns (yikes!), try an illegal insn ...
-
- WORD (0) \ No newline at end of file
diff --git a/libgloss/sparc/libsys/aclocal.m4 b/libgloss/sparc/libsys/aclocal.m4
deleted file mode 100644
index 341025a..0000000
--- a/libgloss/sparc/libsys/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../../acinclude.m4])
diff --git a/libgloss/sparc/libsys/cerror.S b/libgloss/sparc/libsys/cerror.S
deleted file mode 100644
index 8ad99c2..0000000
--- a/libgloss/sparc/libsys/cerror.S
+++ /dev/null
@@ -1,47 +0,0 @@
-! Set errno.
-! This function is called by all the syscall stubs.
-!
-! FIXME: We assume errno is the first member of struct _reent.
-! Not sure what to do about this.
-
-#include "syscallasm.h"
-
- DATA_SECTION
- ALIGN (4)
- GLOBAL (ASM_SYMBOL (errno)) ! FIXME: ASM_PRIVATE_SYMBOL ?
-ASM_SYMBOL (errno):
- WORD (0)
-
- TEXT_SECTION
- ALIGN (4)
-
- GLOBAL (ASM_PRIVATE_SYMBOL (cerror))
-ASM_PRIVATE_SYMBOL (cerror):
- sethi %hi (ASM_SYMBOL (errno)),%g1
- st %o0,[%g1+%lo (ASM_SYMBOL (errno))]
- jmpl %o7+8,%g0
- mov -1,%o0
-
- GLOBAL (ASM_PRIVATE_SYMBOL (cerror_r))
-ASM_PRIVATE_SYMBOL (cerror_r):
- st %o0,[%o1]
- jmpl %o7+8,%g0
- mov -1,%o0
-
-! Since all system calls need this file, we put various state globals
-! here as well.
-
- DATA_SECTION
-
-! CURBRK contains the current top of allocated space.
-! END is a private symbol in svr4, but a public one in sunos4.
-! FIXME: CURBRK is 4 bytes for now.
-
- ALIGN (4)
- GLOBAL (ASM_PRIVATE_SYMBOL (curbrk))
-ASM_PRIVATE_SYMBOL (curbrk):
-#ifdef SVR4
- WORD (ASM_PRIVATE_SYMBOL (end))
-#else
- WORD (ASM_SYMBOL (end))
-#endif
diff --git a/libgloss/sparc/libsys/configure b/libgloss/sparc/libsys/configure
deleted file mode 100755
index 6e12720..0000000
--- a/libgloss/sparc/libsys/configure
+++ /dev/null
@@ -1,3572 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="libsys-crt0.S"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../../.. "$srcdir"/${mdir}../../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../../.. \"$srcdir\"/${mdir}../../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../../.. \"$srcdir\"/${mdir}../../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../../.. "$srcdir"/${srcdir}/../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../../.. \"$srcdir\"/${srcdir}/../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../../.. \"$srcdir\"/${srcdir}/../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/sparc/libsys/configure.in b/libgloss/sparc/libsys/configure.in
deleted file mode 100644
index 4d8a5fa..0000000
--- a/libgloss/sparc/libsys/configure.in
+++ /dev/null
@@ -1,51 +0,0 @@
-# Configure.in for libgloss/sparc/libsys
-# Copyright (c) 1996 Cygnus Support
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that the above copyright notice and this paragraph are
-# duplicated in all such forms and that any documentation,
-# advertising materials, and other materials related to such
-# distribution and use acknowledge that the software was developed
-# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
-# endorse or promote products derived from this software without
-# specific prior written permission.
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(libsys-crt0.S)
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_OUTPUT(Makefile)
diff --git a/libgloss/sparc/libsys/isatty.c b/libgloss/sparc/libsys/isatty.c
deleted file mode 100644
index 3c64647..0000000
--- a/libgloss/sparc/libsys/isatty.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* isatty.c */
-
-/* Dumb implementation so programs will at least run. */
-
-#include <sys/stat.h>
-
-int
-isatty (int fd)
-{
- struct stat buf;
-
- if (fstat (fd, &buf) < 0)
- return 0;
- if (S_ISCHR (buf.st_mode))
- return 1;
- return 0;
-}
diff --git a/libgloss/sparc/libsys/libsys-crt0.S b/libgloss/sparc/libsys/libsys-crt0.S
deleted file mode 100644
index ef1b29d..0000000
--- a/libgloss/sparc/libsys/libsys-crt0.S
+++ /dev/null
@@ -1,127 +0,0 @@
-! C run time start off
-
-! This file supports:
-!
-! - both 32bit pointer and 64bit pointer environments (at compile time)
-! - an imposed stack bias (of 2047) (at run time)
-! - medium/low and medium/anywhere code models (at run time)
-
-! Initial stack setup:
-!
-! bottom of stack (higher memory address)
-! ...
-! text of environment strings
-! text of argument strings
-! envp[envc] = 0 (4/8 bytes)
-! ...
-! env[0] (4/8 bytes)
-! argv[argc] = 0 (4/8 bytes)
-! ...
-! argv[0] (4/8 bytes)
-! argc (4/8 bytes)
-! register save area (64 bits by 16 registers = 128 bytes)
-! top of stack (%sp)
-
-! Stack Bias:
-!
-! It is the responsibility of the o/s to set this up.
-! We handle both a 0 and 2047 value for the stack bias.
-
-! Medium/Anywhere code model support:
-!
-! In this model %g4 points to the start of the data segment.
-! The text segment can go anywhere, but %g4 points to the *data* segment.
-! It is up to the compiler/linker to get this right.
-!
-! Since this model is statically linked the start of the data segment
-! is known at link time. Eg:
-!
-! sethi %hh(data_start), %g1
-! sethi %lm(data_start), %g4
-! or %g1, %hm(data_start), %g1
-! or %g4, %lo(data_start), %g4
-! sllx %g1, 32, %g1
-! or %g4, %g1, %g4
-!
-! FIXME: For now we just assume 0.
-
-! FIXME: if %g1 contains a non-zero value, atexit() should be invoked
-! with this value.
-
-#include "syscallasm.h"
-
-#ifndef TARGET_PTR_SIZE
-#define TARGET_PTR_SIZE 32
-#endif
-
- TEXT_SECTION
- ALIGN (4)
- GLOBAL (ASM_PRIVATE_SYMBOL (start))
-ASM_PRIVATE_SYMBOL (start):
- clr %fp
-
-! We use %g4 even if the code model is Medium/Low (simplifies the code).
-
- clr %g4 ! Medium/Anywhere base reg
-
-! If there is a stack bias in effect, account for it in %g5. Then always
-! add %g5 to stack references below. This way the code can be used with
-! or without an imposed bias.
-
- andcc %sp, 1, %g5
- bnz,a .LHaveBias
- mov 2047, %g5
-.LHaveBias:
- add %sp, %g5, %sp
-
-#if TARGET_PTR_SIZE == 32
- ! FIXME: We apparently assume here that there is no reserved word.
- ! This is probably correct, but try to verify it.
- ld [%sp + 0x80], %o0 ! argc
- add %sp, 0x84, %o1 ! argv
- add %o0, 1, %o2
- sll %o2, 2, %o2
-#else /* TARGET_PTR_SIZE == 64 */
- ld [%sp + 0x8c], %o0 ! argc.lo
- add %sp, 0x90, %o1 ! argv
- add %o0, 1, %o2
- sll %o2, 3, %o2
-#endif
- add %o1, %o2, %o2 ! envp
- sethi %hi (ASM_SYMBOL (environ)), %o3
- or %o3, %lo (ASM_SYMBOL (environ)), %o3
-#if TARGET_PTR_SIZE == 32
- st %o2, [%o3 + %g4]
-#else /* TARGET_PTR_SIZE == 64 */
- stx %o2, [%o3 + %g4]
-#endif
-
-! Restore any stack bias before we call main() ...
-
- sub %sp, %g5, %sp
-
- GLOBAL (ASM_SYMBOL (main))
- call ASM_SYMBOL (main)
-
-! FIXME: Not sure if this is needed anymore.
-#if TARGET_PTR_SIZE == 32
- sub %sp, 0x20, %sp ! room to push args
-#else /* TARGET_PTR_SIZE == 64 */
- sub %sp, 0x30, %sp ! room to push args
-#endif
-
- GLOBAL (ASM_SYMBOL (exit))
- call ASM_SYMBOL (exit)
- nop
-
- GLOBAL (ASM_SYMBOL (_exit))
- call ASM_SYMBOL (_exit)
- nop
-
- set SYS_exit, %g1
- ta SYSCALL_TRAP ! in case user redefines __exit
-
-! If all the above methods fail to terminate the program, try an illegal insn.
-! If that does not work, the o/s is hosed more than we are.
-
- WORD (0)
diff --git a/libgloss/sparc/libsys/sbrk.S b/libgloss/sparc/libsys/sbrk.S
deleted file mode 100644
index b862621..0000000
--- a/libgloss/sparc/libsys/sbrk.S
+++ /dev/null
@@ -1,66 +0,0 @@
-! sbrk() system call
-
-#include "syscallasm.h"
-
- TEXT_SECTION
- ALIGN (4)
-#ifdef REENT
- GLOBAL (ASM_SYMBOL (_sbrk_r))
-ASM_SYMBOL (_sbrk_r):
- mov %o0,%o5
- mov %o1,%o0
-#else
- GLOBAL (ASM_SYMBOL (sbrk))
-ASM_SYMBOL (sbrk):
-#endif
- add %o0,7,%o0
- andn %o0,7,%o0
- sethi %hi (ASM_PRIVATE_SYMBOL (curbrk)),%o2
-#ifdef __sparc_v9__
- lduw [%o2+%lo (ASM_PRIVATE_SYMBOL (curbrk))],%o3
-#else
- ld [%o2+%lo (ASM_PRIVATE_SYMBOL (curbrk))],%o3
-#endif
- add %o3,7,%o3
- andn %o3,7,%o3
- add %o3,%o0,%o0
- mov %o0,%o4
- mov SYS_brk,%g1
- ta SYSCALL_TRAP
- bcs err
- nop
- st %o4,[%o2+%lo (ASM_PRIVATE_SYMBOL (curbrk))]
- jmpl %o7+8,%g0
- mov %o3,%o0
-
-#ifdef REENT
- GLOBAL (ASM_SYMBOL (_brk_r))
-ASM_SYMBOL (_brk_r):
- mov %o0,%o5
- mov %o1,%o0
-#else
- GLOBAL (ASM_SYMBOL (brk))
-ASM_SYMBOL (brk):
-#endif
- add %o0,7,%o0
- andn %o0,7,%o0
- mov %o0,%o2
- mov SYS_brk,%g1
- ta SYSCALL_TRAP
- bcs err
- nop
- sethi %hi (ASM_PRIVATE_SYMBOL (curbrk)),%o3
- st %o2,[%o3+%lo (ASM_PRIVATE_SYMBOL (curbrk))]
- retl
- mov %g0,%o0
-
-err:
-#ifdef REENT
- sethi %hi (ASM_PRIVATE_SYMBOL (cerror_r)),%g1
- or %g1,%lo (ASM_PRIVATE_SYMBOL (cerror_r)),%g1
-#else
- sethi %hi (ASM_PRIVATE_SYMBOL (cerror)),%g1
- or %g1,%lo (ASM_PRIVATE_SYMBOL (cerror)),%g1
-#endif
- jmpl %g1,%g0
- mov %o5,%o1
diff --git a/libgloss/sparc/libsys/syscall.h b/libgloss/sparc/libsys/syscall.h
deleted file mode 100644
index 457fe3a..0000000
--- a/libgloss/sparc/libsys/syscall.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef _SYSCALL_H_
-#define _SYSCALL_H_
-
-/*
- * This file defines the minimal set of system calls needed
- * by newlib for both sunos4 and solaris2.
- *
- * WARNING: This file can be included by assembler files.
- */
-
-/* Process control. */
-#define SYS_exit 1
-#define SYS_getpid 20
-#define SYS_kill 37
-
-/* File stuff. */
-#define SYS_read 3
-#define SYS_write 4
-#define SYS_open 5
-#define SYS_close 6
-#define SYS_lseek 19
-
-/* Memory stuff. */
-#define SYS_brk 17
-
-/* Directory stuff. */
-#define SYS_unlink 10
-#define SYS_chdir 12
-#ifdef SVR4
-#define SYS_stat 18
-#define SYS_fstat 28
-#define SYS_lstat 88
-#else
-#define SYS_stat 38
-#define SYS_fstat 62
-#define SYS_lstat 40
-#endif
-
-#endif /* _SYSCALL_H_ */
diff --git a/libgloss/sparc/libsys/syscallasm.h b/libgloss/sparc/libsys/syscallasm.h
deleted file mode 100644
index 55f25cd..0000000
--- a/libgloss/sparc/libsys/syscallasm.h
+++ /dev/null
@@ -1,93 +0,0 @@
-#ifndef _SYSCALLASM_H_
-#define _SYSCALLASM_H_
-
-/*
- * This file defines the system calls for SPARC for the assembler.
- * Anything C-ish is not allowed in this file.
- * C files should include syscall.h.
- */
-
-#include "syscall.h"
-
-/* Some macros for writing assember syscall stubs. */
-
-#ifdef SVR4
-#define TEXT_SECTION .section ".text"
-#define DATA_SECTION .section ".data"
-#define ALIGN(x) .align x
-#define GLOBAL(sym) .global sym
-#define WORD(x) .long x
-#define ASM_SYMBOL(name) name
-#define ASM_PRIVATE_SYMBOL(name) _##name
-#define SYSCALL_TRAP 8
-#else
-#define TEXT_SECTION .text
-#define DATA_SECTION .data
-#define ALIGN(x) .align x
-#define GLOBAL(sym) .global sym
-#define WORD(x) .word x
-#define ASM_SYMBOL(name) _##name
-#define ASM_PRIVATE_SYMBOL(name) name
-#define SYSCALL_TRAP 0
-#endif
-
-#define defsyscall(name, n) \
- TEXT_SECTION ; \
- ALIGN (4) ; \
- GLOBAL (ASM_SYMBOL (name)) ; \
-ASM_SYMBOL (name): \
- mov n,%g1 ; \
- ta SYSCALL_TRAP ; \
- bcc noerr ; \
- sethi %hi (ASM_PRIVATE_SYMBOL (cerror)),%g1 ; \
- or %g1,%lo (ASM_PRIVATE_SYMBOL (cerror)),%g1 ; \
- jmpl %g1+%g0,%g0 ; \
- nop ; \
-noerr: \
- jmpl %o7+8,%g0 ; \
- nop
-
-/* Support for reentrant syscalls. The "struct _reent *" arg is always the
- the first one. After that we allow up to four additional args. We could
- allow more, but that's all we need for now.
-
- It may seem inefficient to have the reent arg be the first one as it means
- copying all the other args into place (as opposed to making the reent arg
- the last one in which case there wouldn't be any copying). I chose a clean
- design over an extra four instructions in a system call. All other
- reentrant functions use the first arg this way.
- ??? Of course this scheme breaks down if we need to support 6 or more args.
-
- And of course the system calls aren't *really* reentrant. The intent
- is to exercise the reentrancy framework rather than provide/claim
- real reentrancy for this port.
-*/
-
-#define defsyscall_r(name, n) \
- TEXT_SECTION ; \
- ALIGN (4) ; \
- GLOBAL (ASM_SYMBOL (name)) ; \
-ASM_SYMBOL (name): \
- mov n,%g1 ; \
- mov %o0,%o5 ; \
- mov %o1,%o0 ; \
- mov %o2,%o1 ; \
- mov %o3,%o2 ; \
- mov %o4,%o3 ; \
- ta SYSCALL_TRAP ; \
- bcc noerr ; \
- sethi %hi (ASM_PRIVATE_SYMBOL (cerror_r)),%g1 ; \
- or %g1,%lo (ASM_PRIVATE_SYMBOL (cerror_r)),%g1 ; \
- jmpl %g1+%g0,%g0 ; \
- mov %o5,%o1 ; \
-noerr: \
- jmpl %o7+8,%g0 ; \
- nop
-
-#define seterrno() \
- sethi %hi (ASM_PRIVATE_SYMBOL (cerror)),%g1 ; \
- or %g1,%lo (ASM_PRIVATE_SYMBOL (cerror)),%g1 ; \
- jmpl %g1+%g0,%g0 ; \
- nop
-
-#endif /* _SYSCALLASM_H_ */
diff --git a/libgloss/sparc/libsys/template.S b/libgloss/sparc/libsys/template.S
deleted file mode 100644
index e1b437b..0000000
--- a/libgloss/sparc/libsys/template.S
+++ /dev/null
@@ -1,14 +0,0 @@
-/* system call template */
-
-/* Lots of system calls are trivial functions, so we build their source files
- from a template. New syscalls can be added simply by editing the
- Makefile!
-
- Usage: Compile this file with "func" set to the name of the syscall. */
-
-#include "syscallasm.h"
-
-#define concat(a,b) a##b
-#define makesys(a) concat (SYS_, a)
-
- defsyscall (func, makesys(func))
diff --git a/libgloss/sparc/libsys/template_r.S b/libgloss/sparc/libsys/template_r.S
deleted file mode 100644
index 3a9b5f8..0000000
--- a/libgloss/sparc/libsys/template_r.S
+++ /dev/null
@@ -1,26 +0,0 @@
-/* reentrant system call template */
-
-/* Lots of system calls are trivial functions, so we build their source files
- from a template. New syscalls can be added simply by editing the
- Makefile!
-
- The system calls aren't necessarily reentrant. If we were being used in
- an embedded system they could be. Reentrant syscalls are also used,
- however, to provide ANSI C namespace clean access to the host o/s.
-
- Usage: Compile this file with "func" set to the name of the syscall. */
-
-#include "syscallasm.h"
-
-#define concat(a,b) a##b
-#define concat3(a,b,c) a##b##c
-#define makesys(a) concat (SYS_, a)
-#define make_r_fn(a) concat3 (_, a, _r)
-
-/* The leading _'s get turned into #'s by the Makefile. */
-
-_ifdef REENT
- defsyscall_r (make_r_fn (func), makesys (func))
-_else
- defsyscall (func, makesys (func))
-_endif
diff --git a/libgloss/sparc/salib-701.c b/libgloss/sparc/salib-701.c
deleted file mode 100644
index 404ad6c..0000000
--- a/libgloss/sparc/salib-701.c
+++ /dev/null
@@ -1,288 +0,0 @@
-/* Stand-alone library for Sparclet 701 board
- *
- * Copyright (c) 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#define RAM_BASE ((unsigned char *)0x12000000) /* Start of cacheable dram */
-#define DCACHE_LINES 128 /* Number of lines in data cache */
-#define DCACHE_LINE_SIZE 16 /* Bytes per data cache line */
-#define DCACHE_BANKS 4 /* 4-way associative */
-#define CACHE_INST_TAG_ADDR ((unsigned char *)0xc0020000) /* I-Cache tag base address */
-#define ALL_BANKS 0x0000f000 /* Selects all 4 cache banks */
-#define ICACHE_LINES 128 /* Number of lines in inst cache */
-#define ICACHE_LINE_SIZE 32 /* Bytes per inst cache line */
-
-/* I/O Base addresses */
-#define CACHE_INST_BASE_ADD 0xc0000000
-#define CACHE_DATA_BASE_ADD 0xc8000000
-#define _InstrCacheCtlBase 0xc0000000
-#define _DataCacheCtlBase 0xc8000000
-
-#define USART_BASE_ADD 0x92000000
-#define USART_BASE_ADRS(n) (USART_BASE_ADD + ((n)<<21)) /*0..3*/
-
-/* Serial receiver definitions */
-#define USART_RX_CHAR(n) (*(unsigned char *) (USART_BASE_ADRS(n) +(2<<19)))
-#define USART_RX_CTRL_BASE_ADRS(n) (USART_BASE_ADRS(n)+(3<<19))
-#define URSTR(n) (*(unsigned int *) (USART_RX_CTRL_BASE_ADRS(n)+(2<<15)))
-#define URSTR_CHAR_NUM 0x1f00 /* Bits 8-12 */
-
-/* Serial receiver definitions */
-#define USART_TX_CHAR(n) (*(unsigned char *) (USART_BASE_ADRS(n)+3))
-#define USART_TX_CTRL_BASE_ADRS(n) (USART_BASE_ADRS(n)+(1<<19))
-#define UTSTR(n) (*(unsigned int *) (USART_TX_CTRL_BASE_ADRS(n)+(2<<15)))
-#define UTSTR_CHAR_FREE 0x1f0 /* Bits 4-8 */
-
-/* Cache definitions */
-#define DCCA_NB_LINES 128 /* Nb of lines of the cache */
-/* Bank number, used for Cache Memory and Cache Tag */
-#define ICCA_B3 0x000008000 /* Bit 15 - 1:Bank3 selected */
-#define ICCA_B2 0x000004000 /* Bit 14 - 1:Bank2 selected */
-#define ICCA_B1 0x000002000 /* Bit 13 - 1:Bank1 selected */
-#define ICCA_B0 0x000001000 /* Bit 12 - 1:Bank0 selected */
-/* Register address, show which register is to be checked/updated */
-#define ICCACR 0x00000000 /* Bits 17 - 16 - Control register */
-#define ICCAMEM 0x00010000 /* Bits 17 - 16 - Cache memory */
-#define DCCACR 0x00000000 /* Bits 16 - 15 - Control register */
-/* Instruction Cache Controller Register */
-#define ICCR_DISABLE 0xfffffffe /* Reset enable bit */
-
-/* Serial I/O routines */
-
-#define STUB_PORT 1 /* 0 = serial port A; 1 = serial port B */
-
-static volatile unsigned char *rx_fifo = &USART_RX_CHAR(STUB_PORT);
-static volatile unsigned int *rx_status = &URSTR(STUB_PORT);
-
-static volatile unsigned char *tx_fifo = &USART_TX_CHAR(STUB_PORT);
-static volatile unsigned int *tx_status = &UTSTR(STUB_PORT);
-
-/* library-free debug reoutines */
-#ifdef XDEBUG
-#define XDBG_MSG(x) pmsg(x)
-#define XDBG_HEX(x) phex(x)
-#else
-#define XDBG_MSG(x)
-#define XDBG_HEX(x)
-#endif
-
-static int
-rx_rdy()
-{
- return (*rx_status & URSTR_CHAR_NUM);
-}
-
-static unsigned char
-rx_char()
-{
- return *rx_fifo;
-}
-
-void
-tx_char(char c)
-{
- *tx_fifo = c;
-}
-
-static int
-tx_rdy()
-{
- return (*tx_status & UTSTR_CHAR_FREE);
-}
-
-int
-getDebugChar()
-{
- while (!rx_rdy())
- ;
- return rx_char();
-}
-
-void
-putDebugChar(int c)
-{
- while (!tx_rdy())
- ;
- tx_char(c);
-}
-
-#ifdef XDEBUG
-/* library-free debug reoutines */
-/* print a string */
-void pmsg(char *p)
-{
- while (*p)
- {
- if (*p == '\n')
- putDebugChar('\r');
- putDebugChar(*p++);
- }
-}
-
-/* print a hex number */
-void phex(long x)
-{
- char buf[9];
- int i;
-
- buf[8] = '\0';
- for (i = 7; i >= 0; i--)
- {
- char c = x & 0x0f;
- buf[i] = c < 10 ? c + '0' : c - 10 + 'A';
- x >>= 4;
- }
- pmsg(buf);
-}
-#endif
-
-/* rdtbr() - read the trap base register */
-
-unsigned long rdtbr();
-
-asm("
- .text
- .align 4
- .globl _rdtbr
-_rdtbr:
- retl
- mov %tbr, %o0
-");
-
-/* wrtbr() - write the trap base register */
-
-void wrtbr(unsigned long);
-
-asm("
- .text
- .align 4
- .globl _wrtbr
-_wrtbr:
- retl
- mov %o0, %tbr
-");
-
-/* Each entry in the trap vector occupies four words. */
-
-struct trap_entry
-{
- unsigned sethi_filler:10;
- unsigned sethi_imm22:22;
- unsigned jmpl_filler:19;
- unsigned jmpl_simm13:13;
- unsigned long filler[2];
-};
-
-extern struct trap_entry fltr_proto;
-asm ("
- .data
- .globl _fltr_proto
- .align 4
-_fltr_proto: ! First level trap routine prototype
- sethi 0, %l0
- jmpl 0+%l0, %g0
- nop
- nop
-
- .text
- .align 4
-");
-
-/* copy_vectors - Copy the trap vectors from ROM to RAM, set the TBR register
- to point to the RAM vectors, and return the address of the RAM vectors. */
-
-extern struct trap_entry __trap_vectors[256]; /* defined in matra.ld */
-
-struct trap_entry *copy_vectors()
-{
- int i;
- struct trap_entry *old = (struct trap_entry *) (rdtbr() & ~0xfff);
-
- XDBG_MSG("Copying vectors...\n");
- for (i = 0; i < 256; i++)
- __trap_vectors[i] = old[i];
- wrtbr ((unsigned long)__trap_vectors);
- XDBG_MSG("Done\n");
- return __trap_vectors;
-}
-
-
-void
-disable_cache()
-{
- unsigned long *ptr;
- static unsigned long CACHE_shadow_iccr = 0; /* Because CR cannot be read */
- static unsigned long CACHE_shadow_dccr = 0; /* Because CR cannot be read */
-
- XDBG_MSG("Disabling cache...\n");
- ptr = (unsigned long*)(CACHE_INST_BASE_ADD | ICCACR);
- CACHE_shadow_iccr = CACHE_shadow_iccr & ICCR_DISABLE;
- *ptr = CACHE_shadow_iccr;
-
- ptr = (unsigned long*)(CACHE_DATA_BASE_ADD | DCCACR);
- CACHE_shadow_dccr = CACHE_shadow_dccr & ICCR_DISABLE;
- *ptr = CACHE_shadow_dccr;
- XDBG_MSG("Done\n");
-}
-
-/* Flush the instruction cache. We need to do this for the debugger stub so
- that breakpoints, et. al. become visible to the instruction stream after
- storing them in memory. FIXME!!
- */
-
-void
-flush_i_cache ()
-{
- volatile unsigned char *addr;
-
- /* First, force all dirty items in the data cache to be moved out to real
- memory. This is done by making read refs to alternate addresses that will
- fill up all four banks for each line. Note that we actually have to
- reference 8 locs per line just in case the region of memory we use is one
- of the areas that needs to be flushed. */
-
- for (addr = RAM_BASE;
- addr < RAM_BASE + (DCACHE_LINES * DCACHE_LINE_SIZE * DCACHE_BANKS) * 2;
- addr += DCACHE_LINE_SIZE)
- *addr; /* Read the loc */
-
- /* Now, flush the instruction cache. */
-
- for (addr = CACHE_INST_TAG_ADDR + ALL_BANKS;
- addr <= CACHE_INST_TAG_ADDR + ALL_BANKS + ICACHE_LINES * ICACHE_LINE_SIZE;
- addr += ICACHE_LINE_SIZE)
- *(unsigned long *)addr = 0; /* Clr tag entry for all banks on this line */
-}
-
-/* Setup trap TT to go to ROUTINE. */
-
-void
-exceptionHandler (int tt, unsigned long routine)
-{
- static struct trap_entry *tb; /* Trap vector base address */
-
- if (!tb)
- {
- tb = copy_vectors(); /* Copy trap vectors to RAM */
- disable_cache(); /* Disable cache FIXME!! */
- }
-
- XDBG_MSG("Setting exception handler for trap...\n");
-
- tb[tt] = fltr_proto;
-
- tb[tt].sethi_imm22 = routine >> 10;
- tb[tt].jmpl_simm13 = routine & 0x3ff;
-
- XDBG_MSG("Done\n");
-}
diff --git a/libgloss/sparc/salib.c b/libgloss/sparc/salib.c
deleted file mode 100644
index 8076a6b..0000000
--- a/libgloss/sparc/salib.c
+++ /dev/null
@@ -1,388 +0,0 @@
-/* Stand-alone library for SPARClite
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "sparclite.h"
-#include "asm.h"
-
-/* LED blinking pattern can be changed by modifying __led_algorithm. */
-
-enum ledtype
-{
- led_marching, /* marching pattern, only one led on at a time */
- led_random, /* pseudo-random pattern */
- led_blinking, /* all leds blink on and off */
- led_none /* leds off all the time */
-};
-
-enum ledtype __led_algorithm = led_marching;
-
-
-/* Pointer to hook for outbyte, set by stub's exception handler. */
-void (*__outbyte_hook) (int c);
-
-#ifdef SL931
-#define SDTR_BASE 0x200
-#define SDTR_ASI 1
-#define SDTR_SHIFT 0
-#else
-#define SDTR_BASE 0x10000000
-#define SDTR_ASI 4
-#define SDTR_SHIFT 16
-#endif
-
-#define get_uart_status(PORT) \
- (read_asi (SDTR_ASI, SDTR_BASE + 0x24 + (PORT) * 0x10) >> SDTR_SHIFT)
-
-#define xmt_char(PORT, C) \
- write_asi (SDTR_ASI, SDTR_BASE + 0x20 + (PORT) * 0x10, (C) << SDTR_SHIFT)
-
-#define rcv_char(PORT) \
- (read_asi (SDTR_ASI, SDTR_BASE + 0x20 + (PORT) * 0x10) >> SDTR_SHIFT)
-
-void putDebugChar();
-
-#if 0
-void
-set_uart (cmd)
- int cmd;
-{
- write_asi (SDTR_ASI, SDTR_BASE + 0x24, cmd << SDTR_SHIFT);
-}
-
-void
-set_timer_3 (val)
- int val;
-{
- write_asi (SDTR_ASI, SDTR_BASE + 0x78, val << SDTR_SHIFT);
-}
-#endif
-
-
-asm("
- .text
- .align 4
-
-! Register window overflow handler. Come here when save would move us
-! into the invalid window. This routine runs with traps disabled, and
-! must be careful not to touch the condition codes, as PSR is never
-! restored.
-!
-! We are called with %l0 = wim, %l1 = pc, %l2 = npc
-
- .globl " STRINGSYM(win_ovf) "
-" STRINGSYM(win_ovf) ":
- mov %g1, %l3 ! Save g1, we use it to hold the wim
- srl %l0, 1, %g1 ! Rotate wim right
- sll %l0, __WINSIZE-1, %l0
- or %l0, %g1, %g1
-
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l3, %g1 ! Restore %g1
-
- jmpl %l1, %g0
- rett %l2
-
-! Register window underflow handler. Come here when restore would move us
-! into the invalid window. This routine runs with traps disabled, and
-! must be careful not to touch the condition codes, as PSR is never
-! restored.
-!
-! We are called with %l0 = wim, %l1 = pc, %l2 = npc
-
- .globl " STRINGSYM(win_unf) "
-" STRINGSYM(win_unf) ":
- sll %l0, 1, %l3 ! Rotate wim left
- srl %l0, __WINSIZE-1, %l0
- or %l0, %l3, %l0
-
- mov %l0, %wim ! Install the new wim
-
- restore ! User's window
- restore ! His caller's window
-
- ldd [%sp + 0 * 4], %l0 ! restore L & I registers
- ldd [%sp + 2 * 4], %l2
- ldd [%sp + 4 * 4], %l4
- ldd [%sp + 6 * 4], %l6
-
- ldd [%sp + 8 * 4], %i0
- ldd [%sp + 10 * 4], %i2
- ldd [%sp + 12 * 4], %i4
- ldd [%sp + 14 * 4], %i6
-
- save %g0, %g0, %g0 ! Back to trap window
- save %g0, %g0, %g0
-
- jmpl %l1, %g0
- rett %l2
-
-! Read the TBR.
-
- .globl " STRINGSYM(rdtbr) "
-" STRINGSYM(rdtbr) ":
- retl
- mov %tbr, %o0
-
-");
-
-extern unsigned long rdtbr();
-
-void
-die(val)
- int val;
-{
- static unsigned char *leds = (unsigned char *)0x02000003;
-
- *leds = val;
-
- while (1) ;
-}
-
-/* Each entry in the trap vector occupies four words. */
-
-struct trap_entry
-{
- unsigned sethi_filler:10;
- unsigned sethi_imm22:22;
- unsigned jmpl_filler:19;
- unsigned jmpl_simm13:13;
- unsigned long filler[2];
-};
-
-extern struct trap_entry fltr_proto;
-asm ("
- .data
- .globl " STRINGSYM(fltr_proto) "
- .align 4
-" STRINGSYM(fltr_proto) ": ! First level trap routine prototype
- sethi 0, %l0
- jmpl 0+%l0, %g0
- nop
- nop
-
- .text
- .align 4
-");
-
-/* Setup trap TT to go to ROUTINE. If TT is between 0 and 255 inclusive, the
- normal trap vector will be used. If TT is 256, then it's for the SPARClite
- DSU, and that always vectors off to 255 unrelocated.
-*/
-
-void
-exceptionHandler (tt, routine)
- int tt;
- unsigned long routine;
-{
- struct trap_entry *tb; /* Trap vector base address */
-
- if (tt != 256)
- tb = (struct trap_entry *) (rdtbr() & ~0xfff);
- else
- {
- tt = 255;
- tb = (struct trap_entry *) 0;
- }
-
- tb[tt] = fltr_proto;
-
- tb[tt].sethi_imm22 = routine >> 10;
- tb[tt].jmpl_simm13 = routine & 0x3ff;
-}
-
-void
-update_leds()
-{
- static unsigned char *leds = (unsigned char *)0x02000003;
- static enum ledtype prev_algorithm = led_none;
-
- if (prev_algorithm != __led_algorithm)
- {
- *leds = 0xff; /* turn the LEDs off */
- prev_algorithm = __led_algorithm;
- }
-
- switch (__led_algorithm)
- {
- case led_marching:
- {
- static unsigned char curled = 1;
- static unsigned char dir = 0;
-
- *leds = ~curled;
-
- if (dir)
- curled <<= 1;
- else
- curled >>= 1;
-
- if (curled == 0)
- {
- if (dir)
- curled = 0x80;
- else
- curled = 1;
- dir = ~dir;
- }
- break;
- }
-
- case led_random:
- {
- static unsigned int next = 0;
- *leds = next & 0xff;
- next = (next * 1103515245 + 12345) & 0x7fff;
- break;
- }
-
- case led_blinking:
- {
- static unsigned char next = 0;
- *leds = next;
- next = ~next;
- break;
- }
-
- default:
- break;
- }
-}
-
- /* 1/5th of a second? */
-
-#define LEDTIME (20000000 / 500)
-
-unsigned long ledtime = LEDTIME;
-
-int
-inbyte()
-{
- return (getDebugChar());
-}
-
-int
-getDebugChar()
-{
- unsigned long countdown = ledtime;
-
- update_leds();
-
- while (1)
- {
- if ((get_uart_status(0) & 2) != 0) break;
-
- if (countdown-- == 0)
- {
- countdown = ledtime;
- update_leds();
- }
- }
-
- return rcv_char(0);
-}
-
-/* Output one character to the serial port */
-void
-outbyte(c)
- int c;
-{
- if (__outbyte_hook)
- __outbyte_hook (c);
- else
- putDebugChar(c);
-}
-
-void
-putDebugChar(c)
- int c;
-{
- update_leds();
-
- while ((get_uart_status(0) & 1) == 0) ;
-
- xmt_char(0, c);
-}
-
-#if 0
-int
-write(fd, data, length)
- int fd;
- unsigned char *data;
- int length;
-{
- int olength = length;
-
- while (length--)
- putDebugChar(*data++);
-
- return olength;
-}
-
-int
-read(fd, data, length)
- int fd;
- unsigned char *data;
- int length;
-{
- int olength = length;
- int c;
-
- while (length--)
- *data++ = getDebugChar();
-
- return olength;
-}
-#endif
-
-/* Set the baud rate for the serial port, returns 0 for success,
- -1 otherwise */
-
-#if 0
-int
-set_baud_rate(baudrate)
- int baudrate;
-{
- /* Convert baud rate to uart clock divider */
- switch (baudrate)
- {
- case 38400:
- baudrate = 16;
- break;
- case 19200:
- baudrate = 33;
- break;
- case 9600:
- baudrate = 65;
- break;
- default:
- return -1;
- }
-
- set_timer_3(baudrate); /* Set it */
-}
-#endif
diff --git a/libgloss/sparc/slite.h b/libgloss/sparc/slite.h
deleted file mode 100644
index 4762e3f..0000000
--- a/libgloss/sparc/slite.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- * Copyright (c) 1995, 1996 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#define STACK_SIZE 16 * 1024
-#define TRAP_STACK_SIZE 4 * 1024
-#define NUM_REGS 20
-
-#ifdef SL933
-#define NUMBER_OF_REGISTER_WINDOWS 6
-#else
-#define NUMBER_OF_REGISTER_WINDOWS 8
-#endif
-
-#if (NUMBER_OF_REGISTER_WINDOWS == 8)
-#define SPARC_PSR_CWP_MASK 0x07 /* bits 0 - 4 */
-#elif (NUMBER_OF_REGISTER_WINDOWS == 16)
-#define SPARC_PSR_CWP_MASK 0x0F /* bits 0 - 4 */
-#elif (NUMBER_OF_REGISTER_WINDOWS == 32)
-#define SPARC_PSR_CWP_MASK 0x1F /* bits 0 - 4 */
-#else
-#error "Unsupported number of register windows for this cpu"
-#endif
-
-/* The traptable has to be the first code in a boot PROM. */
-
-/*
- * Entry for traps which jump to a programmer-specified trap handler.
- */
-
-#define TRAP(_handler) \
- sethi %hi(_handler), %l3 ; \
- jmpl %l3+%lo(_handler), %g0 ; \
- mov %wim, %l0 ; \
- nop
-
-/* Unexcpected trap will halt the processor by forcing it to error state */
-#if 1
-#define BAD_TRAP ta 0; nop; nop; nop;
-#else
-#define BAD_TRAP \
- mov %psr, l0 ; \
- mov 0x0, %o0 ; \
- sethi %hi(SYM(bad_trap)), l4 ; \
- jmp l4+%lo(SYM(bad_trap));
-#endif
-
-/* Software trap. Treat as BAD_TRAP for the time being... */
-#if 1
-#define SOFT_TRAP BAD_TRAP
-#else
-#define SOFT_TRAP \
- mov $psr, $l0 ; \
- mov 0x0, $o0 ; \
- sethi $hi(SYM(soft_trap)), l4 ; \
- jmp l4+$lo(SYM(soft_trap));
-#endif
-
-#define PSR_INIT 0x10c0 /* Disable traps, set s and ps */
-#define TBR_INIT 0
-#define WIM_INIT 2
-#define SP_INIT 0x023ffff0
-
-/* Macros for reading and writing to arbitrary address spaces. Note that ASI
- must be a constant (sorry, but the SPARC can only specify ASIs as part of an
- instruction. */
-
-#define read_asi(ASI, LOC) \
- ({ \
- unsigned int val; \
- __asm__ volatile ("lda [%r1]%2,%0" : "=r" (val) : "rJ" (LOC), "I" (ASI)); \
- val; \
- })
-
-#define write_asi(ASI, LOC, VAL) \
- __asm__ volatile ("sta %0,[%r1]%2" : : "r" (VAL), "rJ" (LOC), "I" (ASI));
-
-/*
- * Use this when modifying registers that cause memory to be modified. This
- * will cause GCC to reload all values after this point.
- */
-#define write_asi_volatile(ASI, LOC, VAL) \
- __asm__ volatile ("sta %0,[%r1]%2" : : "r" (VAL), "rJ" (LOC), "I" (ASI) \
- : "memory");
-
-#define WRITE_PC(x) registers[PC] = x; registers[NPC] = x + 4;
-
-/*
- * Processor Status Register (psr)
- *
- * 31 28|27 24|23 20|19 12|11 9|7|6|5|4 0
- * +------+-------+-------+-------+------+-+-+-+--------+
- * | impl | ver | icc | res. | pil | | | | cwp |
- * +------+-------+-------+-------+------+-+-+-+--------+
- * S P E
- * S T
- * if ET = 1, traps are enabled, 0 means disabled.
- * if S = 1, you're in supervisor mode, 0 means user mode.
- * cwp points to the current window.
- *
- * Trap Base Register (tbr)
- *
- * 31 12|11 4|3 0
- * +--------------+--------------+------+
- * | tba | tt | null |
- * +--------------+--------------+------+
- *
- * tba contains the most sig. 20 bits of the tbr base address
- * tt is the trap number.
- *
- * Window Invalid Register (wim)
- * 31 8| 7| 6| 5| 4| 3| 2| 1| 0
- * +-------------+--+--+--+--+--+--+--+--+
- * | res. |w7|w6|w5|w4|w3|w2|w1|w0|
- * +-------------+--+--+--+--+--+--+--+--+
- */
-
diff --git a/libgloss/sparc/sparc-stub.c b/libgloss/sparc/sparc-stub.c
deleted file mode 100644
index fa21d72..0000000
--- a/libgloss/sparc/sparc-stub.c
+++ /dev/null
@@ -1,848 +0,0 @@
-#include "sparclite.h"
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * Modified for SPARC by Stu Grossman, Cygnus Support.
- *
- * This code has been extensively tested on the Fujitsu SPARClite demo board.
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * bBB..BB Set baud rate to BB..BB OK or BNN, then sets
- * baud rate
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-#include <string.h>
-#include <signal.h>
-
-/************************************************************************
- *
- * external low-level support routines
- */
-
-extern putDebugChar(); /* write a single character */
-extern getDebugChar(); /* read and return a single char */
-
-/************************************************************************/
-/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
-/* at least NUMREGBYTES*2 are needed for register packets */
-#define BUFMAX 2048
-
-static int initialized = 0; /* !0 means we've been initialized */
-
-static void set_mem_fault_trap();
-
-static const char hexchars[]="0123456789abcdef";
-
-#define NUMREGS 72
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES (NUMREGS * 4)
-enum regnames {G0, G1, G2, G3, G4, G5, G6, G7,
- O0, O1, O2, O3, O4, O5, SP, O7,
- L0, L1, L2, L3, L4, L5, L6, L7,
- I0, I1, I2, I3, I4, I5, FP, I7,
-
- F0, F1, F2, F3, F4, F5, F6, F7,
- F8, F9, F10, F11, F12, F13, F14, F15,
- F16, F17, F18, F19, F20, F21, F22, F23,
- F24, F25, F26, F27, F28, F29, F30, F31,
- Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR };
-
-/*************************** ASSEMBLY CODE MACROS *************************/
-/* */
-
-extern void trap_low();
-
-asm("
- .reserve trapstack, 1000 * 4, \"bss\", 8
-
- .data
- .align 4
-
-in_trap_handler:
- .word 0
-
- .text
- .align 4
-
-! This function is called when any SPARC trap (except window overflow or
-! underflow) occurs. It makes sure that the invalid register window is still
-! available before jumping into C code. It will also restore the world if you
-! return from handle_exception.
-
- .globl _trap_low
-_trap_low:
- mov %psr, %l0
- mov %wim, %l3
-
- srl %l3, %l0, %l4 ! wim >> cwp
- cmp %l4, 1
- bne window_fine ! Branch if not in the invalid window
- nop
-
-! Handle window overflow
-
- mov %g1, %l4 ! Save g1, we use it to hold the wim
- srl %l3, 1, %g1 ! Rotate wim right
- tst %g1
- bg good_wim ! Branch if new wim is non-zero
- nop
-
-! At this point, we need to bring a 1 into the high order bit of the wim.
-! Since we don't want to make any assumptions about the number of register
-! windows, we figure it out dynamically so as to setup the wim correctly.
-
- not %g1 ! Fill g1 with ones
- mov %g1, %wim ! Fill the wim with ones
- nop
- nop
- nop
- mov %wim, %g1 ! Read back the wim
- inc %g1 ! Now g1 has 1 just to left of wim
- srl %g1, 1, %g1 ! Now put 1 at top of wim
- mov %g0, %wim ! Clear wim so that subsequent save
- nop ! won't trap
- nop
- nop
-
-good_wim:
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l4, %g1 ! Restore %g1
-
-window_fine:
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- tst %l5
- bg recursive_trap
- inc %l5
-
- set trapstack+1000*4, %sp ! Switch to trap stack
-
-recursive_trap:
- st %l5, [%lo(in_trap_handler) + %l4]
- sub %sp,(16+1+6+1+72)*4,%sp ! Make room for input & locals
- ! + hidden arg + arg spill
- ! + doubleword alignment
- ! + registers[72] local var
-
- std %g0, [%sp + (24 + 0) * 4] ! registers[Gx]
- std %g2, [%sp + (24 + 2) * 4]
- std %g4, [%sp + (24 + 4) * 4]
- std %g6, [%sp + (24 + 6) * 4]
-
- std %i0, [%sp + (24 + 8) * 4] ! registers[Ox]
- std %i2, [%sp + (24 + 10) * 4]
- std %i4, [%sp + (24 + 12) * 4]
- std %i6, [%sp + (24 + 14) * 4]
- ! F0->F31 not implemented
- mov %y, %l4
- mov %tbr, %l5
- st %l4, [%sp + (24 + 64) * 4] ! Y
- st %l0, [%sp + (24 + 65) * 4] ! PSR
- st %l3, [%sp + (24 + 66) * 4] ! WIM
- st %l5, [%sp + (24 + 67) * 4] ! TBR
- st %l1, [%sp + (24 + 68) * 4] ! PC
- st %l2, [%sp + (24 + 69) * 4] ! NPC
-
- ! CPSR and FPSR not impl
-
- or %l0, 0xf20, %l4
- mov %l4, %psr ! Turn on traps, disable interrupts
-
- call _handle_exception
- add %sp, 24 * 4, %o0 ! Pass address of registers
-
-! Reload all of the registers that aren't on the stack
-
- ld [%sp + (24 + 1) * 4], %g1 ! registers[Gx]
- ldd [%sp + (24 + 2) * 4], %g2
- ldd [%sp + (24 + 4) * 4], %g4
- ldd [%sp + (24 + 6) * 4], %g6
-
- ldd [%sp + (24 + 8) * 4], %i0 ! registers[Ox]
- ldd [%sp + (24 + 10) * 4], %i2
- ldd [%sp + (24 + 12) * 4], %i4
- ldd [%sp + (24 + 14) * 4], %i6
-
- ldd [%sp + (24 + 64) * 4], %l0 ! Y & PSR
- ldd [%sp + (24 + 68) * 4], %l2 ! PC & NPC
-
- restore ! Ensure that previous window is valid
- save %g0, %g0, %g0 ! by causing a window_underflow trap
-
- mov %l0, %y
- mov %l1, %psr ! Make sure that traps are disabled
- ! for rett
-
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- dec %l5
- st %l5, [%lo(in_trap_handler) + %l4]
-
- jmpl %l2, %g0 ! Restore old PC
- rett %l3 ! Restore old nPC
-");
-
-/* Convert ch from a hex digit to an int */
-
-static int
-hex(ch)
- unsigned char ch;
-{
- if (ch >= 'a' && ch <= 'f')
- return ch-'a'+10;
- if (ch >= '0' && ch <= '9')
- return ch-'0';
- if (ch >= 'A' && ch <= 'F')
- return ch-'A'+10;
- return -1;
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-static void
-getpacket(buffer)
- char *buffer;
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- unsigned char ch;
-
- do
- {
- /* wait around for the start character, ignore all other characters */
- while ((ch = (getDebugChar() & 0x7f)) != '$') ;
-
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX)
- {
- ch = getDebugChar() & 0x7f;
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
-
- if (count >= BUFMAX)
- continue;
-
- buffer[count] = 0;
-
- if (ch == '#')
- {
- xmitcsum = hex(getDebugChar() & 0x7f) << 4;
- xmitcsum |= hex(getDebugChar() & 0x7f);
-#if 0
- /* Humans shouldn't have to figure out checksums to type to it. */
- putDebugChar ('+');
- return;
-#endif
- if (checksum != xmitcsum)
- putDebugChar('-'); /* failed checksum */
- else
- {
- putDebugChar('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':')
- {
- putDebugChar(buffer[0]);
- putDebugChar(buffer[1]);
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++)
- buffer[i-3] = buffer[i];
- }
- }
- }
- }
- while (checksum != xmitcsum);
-}
-
-/* send the packet in buffer. */
-
-static void
-putpacket(buffer)
- unsigned char *buffer;
-{
- unsigned char checksum;
- int count;
- unsigned char ch;
-
- /* $<packet info>#<checksum>. */
- do
- {
- putDebugChar('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count])
- {
- if (! putDebugChar(ch))
- return;
- checksum += ch;
- count += 1;
- }
-
- putDebugChar('#');
- putDebugChar(hexchars[checksum >> 4]);
- putDebugChar(hexchars[checksum & 0xf]);
-
- }
- while ((getDebugChar() & 0x7f) != '+');
-}
-
-static char remcomInBuffer[BUFMAX];
-static char remcomOutBuffer[BUFMAX];
-
-/* Indicate to caller of mem2hex or hex2mem that there has been an
- error. */
-static volatile int mem_err = 0;
-
-/* Convert the memory pointed to by mem into hex, placing result in buf.
- * Return a pointer to the last char put in buf (null), in case of mem fault,
- * return 0.
- * If MAY_FAULT is non-zero, then we will handle memory faults by returning
- * a 0, else treat a fault like any other fault in the stub.
- */
-
-static unsigned char *
-mem2hex(mem, buf, count, may_fault)
- unsigned char *mem;
- unsigned char *buf;
- int count;
- int may_fault;
-{
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- while (count-- > 0)
- {
- ch = *mem++;
- if (mem_err)
- return 0;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch & 0xf];
- }
-
- *buf = 0;
-
- set_mem_fault_trap(0);
-
- return buf;
-}
-
-/* convert the hex array pointed to by buf into binary to be placed in mem
- * return a pointer to the character AFTER the last byte written */
-
-static char *
-hex2mem(buf, mem, count, may_fault)
- unsigned char *buf;
- unsigned char *mem;
- int count;
- int may_fault;
-{
- int i;
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- for (i=0; i<count; i++)
- {
- ch = hex(*buf++) << 4;
- ch |= hex(*buf++);
- *mem++ = ch;
- if (mem_err)
- return 0;
- }
-
- set_mem_fault_trap(0);
-
- return mem;
-}
-
-/* This table contains the mapping between SPARC hardware trap types, and
- signals, which are primarily what GDB understands. It also indicates
- which hardware traps we need to commandeer when initializing the stub. */
-
-static struct hard_trap_info
-{
- unsigned char tt; /* Trap type code for SPARClite */
- unsigned char signo; /* Signal that we map this trap into */
-} hard_trap_info[] = {
- {1, SIGSEGV}, /* instruction access error */
- {2, SIGILL}, /* privileged instruction */
- {3, SIGILL}, /* illegal instruction */
- {4, SIGEMT}, /* fp disabled */
- {36, SIGEMT}, /* cp disabled */
- {7, SIGBUS}, /* mem address not aligned */
- {9, SIGSEGV}, /* data access exception */
- {10, SIGEMT}, /* tag overflow */
- {128+1, SIGTRAP}, /* ta 1 - normal breakpoint instruction */
- {0, 0} /* Must be last */
-};
-
-/* Set up exception handlers for tracing and breakpoints */
-
-void
-set_debug_traps()
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- exceptionHandler(ht->tt, trap_low);
-
- /* In case GDB is started before us, ack any packets (presumably
- "$?#xx") sitting there. */
-
- putDebugChar ('+');
-
- initialized = 1;
-}
-
-asm ("
-! Trap handler for memory errors. This just sets mem_err to be non-zero. It
-! assumes that %l1 is non-zero. This should be safe, as it is doubtful that
-! 0 would ever contain code that could mem fault. This routine will skip
-! past the faulting instruction after setting mem_err.
-
- .text
- .align 4
-
-_fltr_set_mem_err:
- sethi %hi(_mem_err), %l0
- st %l1, [%l0 + %lo(_mem_err)]
- jmpl %l2, %g0
- rett %l2+4
-");
-
-static void
-set_mem_fault_trap(enable)
- int enable;
-{
- extern void fltr_set_mem_err();
- mem_err = 0;
-
- if (enable)
- exceptionHandler(9, fltr_set_mem_err);
- else
- exceptionHandler(9, trap_low);
-}
-
-/* Convert the SPARC hardware trap type code to a unix signal number. */
-
-static int
-computeSignal(tt)
- int tt;
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- if (ht->tt == tt)
- return ht->signo;
-
- return SIGHUP; /* default for things we don't know about */
-}
-
-/*
- * While we find nice hex chars, build an int.
- * Return number of chars processed.
- */
-
-static unsigned int
-hexToInt(char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue < 0)
- break;
-
- *intValue = (*intValue << 4) | hexValue;
- numChars ++;
-
- (*ptr)++;
- }
-
- return (numChars);
-}
-
-/*
- * This function does all command procesing for interfacing to gdb. It
- * returns 1 if you should skip the instruction at the trap address, 0
- * otherwise.
- */
-
-extern void breakinst();
-
-static void
-handle_exception (registers)
- unsigned long *registers;
-{
- int tt; /* Trap type */
- int sigval;
- unsigned int addr;
- int length;
- char *ptr;
- unsigned long *sp;
-
-/* First, we must force all of the windows to be spilled out */
-
- asm(" save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- restore
- restore
- restore
- restore
- restore
- restore
- restore
- restore
-");
-
- if (registers[PC] == (unsigned long)breakinst)
- {
- registers[PC] = registers[NPC];
- registers[NPC] += 4;
- }
-
- sp = (unsigned long *)registers[SP];
-
- tt = (registers[TBR] >> 4) & 0xff;
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal(tt);
- ptr = remcomOutBuffer;
-
- *ptr++ = 'T';
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- *ptr++ = hexchars[PC >> 4];
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[PC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[FP >> 4];
- *ptr++ = hexchars[FP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex(sp + 8 + 6, ptr, 4, 0); /* FP */
- *ptr++ = ';';
-
- *ptr++ = hexchars[SP >> 4];
- *ptr++ = hexchars[SP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&sp, ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[NPC >> 4];
- *ptr++ = hexchars[NPC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[NPC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[O7 >> 4];
- *ptr++ = hexchars[O7 & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[O7], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = 0;
-
- putpacket(remcomOutBuffer);
-
- while (1)
- {
- remcomOutBuffer[0] = 0;
-
- getpacket(remcomInBuffer);
- switch (remcomInBuffer[0])
- {
- case '?':
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval & 0xf];
- remcomOutBuffer[3] = 0;
- break;
-
- case 'd':
- /* toggle debug flag */
- break;
-
- case 'g': /* return the value of the CPU registers */
- {
- ptr = remcomOutBuffer;
- ptr = mem2hex((char *)registers, ptr, 16 * 4, 0); /* G & O regs */
- ptr = mem2hex(sp + 0, ptr, 16 * 4, 0); /* L & I regs */
- memset(ptr, '0', 32 * 8); /* Floating point */
- mem2hex((char *)&registers[Y],
- ptr + 32 * 4 * 2,
- 8 * 4,
- 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
- }
- break;
-
- case 'G': /* set the value of the CPU registers - return OK */
- {
- unsigned long *newsp, psr;
-
- psr = registers[PSR];
-
- ptr = &remcomInBuffer[1];
- hex2mem(ptr, (char *)registers, 16 * 4, 0); /* G & O regs */
- hex2mem(ptr + 16 * 4 * 2, sp + 0, 16 * 4, 0); /* L & I regs */
- hex2mem(ptr + 64 * 4 * 2, (char *)&registers[Y],
- 8 * 4, 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
-
- /* See if the stack pointer has moved. If so, then copy the saved
- locals and ins to the new location. This keeps the window
- overflow and underflow routines happy. */
-
- newsp = (unsigned long *)registers[SP];
- if (sp != newsp)
- sp = memcpy(newsp, sp, 16 * 4);
-
- /* Don't allow CWP to be modified. */
-
- if (psr != registers[PSR])
- registers[PSR] = (psr & 0x1f) | (registers[PSR] & ~0x1f);
-
- strcpy(remcomOutBuffer,"OK");
- }
- break;
-
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* Try to read %x,%x. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length))
- {
- if (mem2hex((char *)addr, remcomOutBuffer, length, 1))
- break;
-
- strcpy (remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer,"E01");
- break;
-
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* Try to read '%x,%x:'. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length)
- && *ptr++ == ':')
- {
- if (hex2mem(ptr, (char *)addr, length, 1))
- strcpy(remcomOutBuffer, "OK");
- else
- strcpy(remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer, "E02");
- break;
-
- case 'c': /* cAA..AA Continue at address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
-
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr, &addr))
- {
- registers[PC] = addr;
- registers[NPC] = addr + 4;
- }
-
-/* Need to flush the instruction cache here, as we may have deposited a
- breakpoint, and the icache probably has no way of knowing that a data ref to
- some location may have changed something that is in the instruction cache.
- */
-
- flush_i_cache();
- return;
-
- /* kill the program */
- case 'k' : /* do nothing */
- break;
-#if 0
- case 't': /* Test feature */
- asm (" std %f30,[%sp]");
- break;
-#endif
- case 'r': /* Reset */
- asm ("call 0
- nop ");
- break;
-
-#if 0
-Disabled until we can unscrew this properly
-
- case 'b': /* bBB... Set baud rate to BB... */
- {
- int baudrate;
- extern void set_timer_3();
-
- ptr = &remcomInBuffer[1];
- if (!hexToInt(&ptr, &baudrate))
- {
- strcpy(remcomOutBuffer,"B01");
- break;
- }
-
- /* Convert baud rate to uart clock divider */
- switch (baudrate)
- {
- case 38400:
- baudrate = 16;
- break;
- case 19200:
- baudrate = 33;
- break;
- case 9600:
- baudrate = 65;
- break;
- default:
- strcpy(remcomOutBuffer,"B02");
- goto x1;
- }
-
- putpacket("OK"); /* Ack before changing speed */
- set_timer_3(baudrate); /* Set it */
- }
-x1: break;
-#endif
- } /* switch */
-
- /* reply to the request */
- putpacket(remcomOutBuffer);
- }
-}
-
-/* This function will generate a breakpoint exception. It is used at the
- beginning of a program to sync up with a debugger and can be used
- otherwise as a quick means to stop program execution and "break" into
- the debugger. */
-
-void
-breakpoint()
-{
- if (!initialized)
- return;
-
- asm(" .globl _breakinst
-
- _breakinst: ta 1
- ");
-}
diff --git a/libgloss/sparc/sparc86x.ld b/libgloss/sparc/sparc86x.ld
deleted file mode 100644
index 585b16c..0000000
--- a/libgloss/sparc/sparc86x.ld
+++ /dev/null
@@ -1,178 +0,0 @@
-/*
- *uncomment this if you want the linker to output srecords.
-OUTPUT_FORMAT(srec)
- *
- */
-ENTRY(_start)
-STARTUP(crt0.o)
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(.)
-__DYNAMIC = 0;
-GROUP (-lc -lslite86x -lgcc)
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | .text |
- * | _stext |
- * | _etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _end_text |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | __bss_start | start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | heap space |
- * | _ENDHEAP |
- * | stack space |
- * | __stack | top of stack
- * +--------------------+ <- high memory
- */
-
-_STACK_SIZE = (16 * 1024);
-_RAM_SIZE = 2M;
-_RAM_START = 0x40010000;
-_RAM_END = _RAM_START + _RAM_SIZE;
-
-/*
- * Base address of the on-CPU peripherals. This is for compatability
- * with the simulator.
- */
-
-_ERC32_MEC = 0x0;
-
-/*
- * Setup the memory map of the MB86931-EB Board (ex931)
- * stack grows down towards low memory.
- */
-MEMORY
-{
- ram (rwx) : ORIGIN = 0x40010000, LENGTH = 2M
-}
-
-__stack = _RAM_START + _RAM_SIZE - 4 * 16;
-__trap_stack = (_RAM_START + _RAM_SIZE - 4 * 16) - _STACK_SIZE;
-
-/*
- * All the symbols that might be accessed from C code need to be
- * listed twice, once with an additional underscore. aout format needs
- * and extra underscore, whereas coff & elf doesn't. This is to work
- * with both.
- */
-/*
- * Initalize some symbols to be zero so we can reference them in the
- * crt0 without core dumping. These functions are all optional, but
- * we do this so we can have our crt0 always use them if they exist.
- * This is so BSPs work better when using the crt0 installed with gcc.
- * We have to initalize them twice, so we cover a.out (which prepends
- * an underscore) and coff object file formats.
- */
-PROVIDE (hardware_init_hook = 0);
-PROVIDE (_hardware_init_hook = 0);
-PROVIDE (software_init_hook = 0);
-PROVIDE (_software_init_hook = 0);
-SECTIONS
-{
- .text : {
- stext = .;
- _stext = .;
-
- CREATE_OBJECT_SYMBOLS
- *(.text)
-
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend.o(.ctors))
- LONG(0)
- __CTOR_END__ = .;
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
- LONG(0)
- __DTOR_END__ = .;
-
- _etext = .;
-
- *(.init)
- *(.lit)
- *(.rodata)
- *(.shdata)
- __EH_FRAME_BEGIN__ = .;
- *(.eh_frame)
- *(.gnu.linkonce.t*)
- *(.gnu.linkonce.r*)
- *(.gcc_except_table)
- *(.fini)
-
- } > ram
- .shbss SIZEOF(.text) + ADDR(.text) : {
- *(.shbss)
- }
- .talias : { } > ram
- .data ALIGN(0x2000) : {
- sdata = .;
- _sdata = .;
- *(.data)
- edata = .;
- _edata = .;
- } > ram
- .bss SIZEOF(.data) + ADDR(.data) : {
- sbss = . ;
- _sbss = . ;
- __bss_start = ALIGN(0x8);
- __bss_start = ALIGN(0x8);
- *(.bss)
- *(COMMON)
- end = ALIGN(0x8);
- _end = ALIGN(0x8);
- __end = ALIGN(0x8);
- ebss = .;
- _ebss = .;
- }
- .mstack : { } > ram
- .rstack : { } > ram
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) :
- {
- [ .stabstr ]
- }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/sparc/sparcl-stub.c b/libgloss/sparc/sparcl-stub.c
deleted file mode 100644
index 634878b..0000000
--- a/libgloss/sparc/sparcl-stub.c
+++ /dev/null
@@ -1,1005 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * Modified for SPARC by Stu Grossman, Cygnus Support.
- * Based on sparc-stub.c, it's modified for SPARClite Debug Unit hardware
- * breakpoint support to create sparclite-stub.c, by Kung Hsu, Cygnus Support.
- *
- * This code has been extensively tested on the Fujitsu SPARClite demo board.
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * bBB..BB Set baud rate to BB..BB OK or BNN, then sets
- * baud rate
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-#include <string.h>
-#include <signal.h>
-#include "asm.h"
-
-/************************************************************************
- *
- * external low-level support routines
- */
-extern putDebugChar(); /* write a single character */
-extern getDebugChar(); /* read and return a single char */
-
-/* Pointer to hook for outbyte, set by stub's exception handler. */
-extern void (*__outbyte_hook)();
-
-/************************************************************************/
-/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
-/* at least NUMREGBYTES*2 are needed for register packets */
-#define BUFMAX 2048
-
-static int initialized = 0; /* !0 means we've been initialized */
-
-extern void breakinst();
-static void hw_breakpoint();
-static void set_mem_fault_trap();
-static void get_in_break_mode();
-
-static const char hexchars[]="0123456789abcdef";
-
-#define NUMREGS 80
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES (NUMREGS * 4)
-enum regnames {G0, G1, G2, G3, G4, G5, G6, G7,
- O0, O1, O2, O3, O4, O5, SP, O7,
- L0, L1, L2, L3, L4, L5, L6, L7,
- I0, I1, I2, I3, I4, I5, FP, I7,
-
- F0, F1, F2, F3, F4, F5, F6, F7,
- F8, F9, F10, F11, F12, F13, F14, F15,
- F16, F17, F18, F19, F20, F21, F22, F23,
- F24, F25, F26, F27, F28, F29, F30, F31,
- Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR,
- DIA1, DIA2, DDA1, DDA2, DDV1, DDV2, DCR, DSR };
-
-/*************************** ASSEMBLY CODE MACROS *************************/
-/* */
-
-extern void trap_low();
-
-asm("
- .reserve trapstack, 1000 * 4, \"bss\", 8
-
- .data
- .align 4
-
-in_trap_handler:
- .word 0
-
- .text
- .align 4
-
-! This function is called when any SPARC trap (except window overflow or
-! underflow) occurs. It makes sure that the invalid register window is still
-! available before jumping into C code. It will also restore the world if you
-! return from handle_exception.
-
- .globl " STRINGSYM(trap_low) "
-" STRINGSYM(trap_low) ":
- mov %psr, %l0
- mov %wim, %l3
-
- srl %l3, %l0, %l4 ! wim >> cwp
- cmp %l4, 1
- bne window_fine ! Branch if not in the invalid window
- nop
-
-! Handle window overflow
-
- mov %g1, %l4 ! Save g1, we use it to hold the wim
- srl %l3, 1, %g1 ! Rotate wim right
- tst %g1
- bg good_wim ! Branch if new wim is non-zero
- nop
-
-! At this point, we need to bring a 1 into the high order bit of the wim.
-! Since we don't want to make any assumptions about the number of register
-! windows, we figure it out dynamically so as to setup the wim correctly.
-
- not %g1 ! Fill g1 with ones
- mov %g1, %wim ! Fill the wim with ones
- nop
- nop
- nop
- mov %wim, %g1 ! Read back the wim
- inc %g1 ! Now g1 has 1 just to left of wim
- srl %g1, 1, %g1 ! Now put 1 at top of wim
- mov %g0, %wim ! Clear wim so that subsequent save
- nop ! won't trap
- nop
- nop
-
-good_wim:
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l4, %g1 ! Restore %g1
-
-window_fine:
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- tst %l5
- bg recursive_trap
- inc %l5
-
- set trapstack+1000*4, %sp ! Switch to trap stack
-
-recursive_trap:
- st %l5, [%lo(in_trap_handler) + %l4]
- sub %sp,(16+1+6+1+80)*4,%sp ! Make room for input & locals
- ! + hidden arg + arg spill
- ! + doubleword alignment
- ! + registers[72] local var
-
- std %g0, [%sp + (24 + 0) * 4] ! registers[Gx]
- std %g2, [%sp + (24 + 2) * 4]
- std %g4, [%sp + (24 + 4) * 4]
- std %g6, [%sp + (24 + 6) * 4]
-
- std %i0, [%sp + (24 + 8) * 4] ! registers[Ox]
- std %i2, [%sp + (24 + 10) * 4]
- std %i4, [%sp + (24 + 12) * 4]
- std %i6, [%sp + (24 + 14) * 4]
- ! F0->F31 not implemented
- mov %y, %l4
- mov %tbr, %l5
- st %l4, [%sp + (24 + 64) * 4] ! Y
- st %l0, [%sp + (24 + 65) * 4] ! PSR
- st %l3, [%sp + (24 + 66) * 4] ! WIM
- st %l5, [%sp + (24 + 67) * 4] ! TBR
- st %l1, [%sp + (24 + 68) * 4] ! PC
- st %l2, [%sp + (24 + 69) * 4] ! NPC
- ! CPSR and FPSR not impl
- or %l0, 0xf20, %l4
- mov %l4, %psr ! Turn on traps, disable interrupts
- nop
- nop
- nop
- call " STRINGSYM(get_in_break_mode) "
- nop
- nop
- nop
-
- sethi %hi(0xff00), %l5
- or %l5, %lo(0xff00), %l5
-
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 72) * 4] ! DIA1, debug instr addr 1
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 73) * 4] ! DIA2, debug instr addr 2
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 74) * 4] ! DDA1, debug data addr 1
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 75) * 4] ! DDA2, debug data addr 2
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 76) * 4] ! DDV1, debug data val 1
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 77) * 4] ! DDV2, debug data val 2
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 78) * 4] ! DCR, debug control reg
- add %l5, 4, %l5
- lda [%l5]0x1, %l4
- st %l4, [%sp + (24 + 79) * 4] ! DSR, debug status reg
- nop
- nop
- or %l0, 0xf20, %l4
- mov %l4, %psr ! Turn on traps, disable interrupts
- nop
- nop
- nop
- call " STRINGSYM(handle_exception) "
- add %sp, 24 * 4, %o0 ! Pass address of registers
-
-! Reload all of the registers that aren't on the stack
-
- ld [%sp + (24 + 1) * 4], %g1 ! registers[Gx]
- ldd [%sp + (24 + 2) * 4], %g2
- ldd [%sp + (24 + 4) * 4], %g4
- ldd [%sp + (24 + 6) * 4], %g6
-
- ldd [%sp + (24 + 8) * 4], %i0 ! registers[Ox]
- ldd [%sp + (24 + 10) * 4], %i2
- ldd [%sp + (24 + 12) * 4], %i4
- ldd [%sp + (24 + 14) * 4], %i6
-
- sethi %hi(0xff00), %l2
- or %l2, %lo(0xff00), %l2
- ldd [%sp + (24 + 72) * 4], %l4 ! DIA1, debug instr addr 1
- stda %l4, [%l2]0x1
- nop
- nop
- nop
- nop
- ldd [%sp + (24 + 74) * 4], %l4 ! DDA1, debug data addr 1
- add %l2, 8, %l2
- stda %l4, [%l2]0x1
- nop
- nop
- nop
- nop
- ldd [%sp + (24 + 76) * 4], %l4 ! DDV1, debug data value 1
- add %l2, 8, %l2
- stda %l4, [%l2]0x1
- nop
- nop
- nop
- nop
- ld [%sp + (24 + 78) * 4], %l4 ! DCR, debug control reg
- ld [%sp + (24 + 79) * 4], %l5 ! DSR, debug control reg
- add %l2, 8, %l2
- or %l4, 0x200, %l4
- sta %l4, [%l2]0x1
- add %l2, 4, %l2
- sta %l5, [%l2]0x1
- nop
- nop
- nop
- nop
-
- ldd [%sp + (24 + 64) * 4], %l0 ! Y & PSR
- ldd [%sp + (24 + 68) * 4], %l2 ! PC & NPC
-
- restore ! Ensure that previous window is valid
- save %g0, %g0, %g0 ! by causing a window_underflow trap
-
- mov %l0, %y
- mov %l1, %psr ! Make sure that traps are disabled
- ! for rett
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- dec %l5
- st %l5, [%lo(in_trap_handler) + %l4]
-
- jmpl %l2, %g0 ! Restore old PC
- rett %l3 ! Restore old nPC
-");
-
-/* Convert ch from a hex digit to an int */
-
-static int
-hex(ch)
- unsigned char ch;
-{
- if (ch >= 'a' && ch <= 'f')
- return ch-'a'+10;
- if (ch >= '0' && ch <= '9')
- return ch-'0';
- if (ch >= 'A' && ch <= 'F')
- return ch-'A'+10;
- return -1;
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-static void
-getpacket(buffer)
- char *buffer;
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- unsigned char ch;
-
- do
- {
- /* wait around for the start character, ignore all other characters */
- while ((ch = (getDebugChar() & 0x7f)) != '$') ;
-
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX)
- {
- ch = getDebugChar() & 0x7f;
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
-
- if (count >= BUFMAX)
- continue;
-
- buffer[count] = 0;
-
- if (ch == '#')
- {
- xmitcsum = hex(getDebugChar() & 0x7f) << 4;
- xmitcsum |= hex(getDebugChar() & 0x7f);
-#if 0
- /* Humans shouldn't have to figure out checksums to type to it. */
- putDebugChar ('+');
- return;
-#endif
- if (checksum != xmitcsum)
- putDebugChar('-'); /* failed checksum */
- else
- {
- putDebugChar('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':')
- {
- putDebugChar(buffer[0]);
- putDebugChar(buffer[1]);
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++)
- buffer[i-3] = buffer[i];
- }
- }
- }
- }
- while (checksum != xmitcsum);
-}
-
-/* send the packet in buffer. */
-
-static void
-putpacket(buffer)
- unsigned char *buffer;
-{
- unsigned char checksum;
- int count;
- unsigned char ch;
-
- /* $<packet info>#<checksum>. */
- do
- {
- putDebugChar('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count])
- {
- if (! putDebugChar(ch))
- return;
- checksum += ch;
- count += 1;
- }
-
- putDebugChar('#');
- putDebugChar(hexchars[checksum >> 4]);
- putDebugChar(hexchars[checksum & 0xf]);
-
- }
- while ((getDebugChar() & 0x7f) != '+');
-}
-
-static char remcomInBuffer[BUFMAX];
-static char remcomOutBuffer[BUFMAX];
-
-/* Indicate to caller of mem2hex or hex2mem that there has been an
- error. */
-static volatile int mem_err = 0;
-
-/* Convert the memory pointed to by mem into hex, placing result in buf.
- * Return a pointer to the last char put in buf (null), in case of mem fault,
- * return 0.
- * If MAY_FAULT is non-zero, then we will handle memory faults by returning
- * a 0, else treat a fault like any other fault in the stub.
- */
-
-static unsigned char *
-mem2hex(mem, buf, count, may_fault)
- unsigned char *mem;
- unsigned char *buf;
- int count;
- int may_fault;
-{
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- while (count-- > 0)
- {
- ch = *mem++;
- if (mem_err)
- return 0;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch & 0xf];
- }
-
- *buf = 0;
-
- set_mem_fault_trap(0);
-
- return buf;
-}
-
-/* convert the hex array pointed to by buf into binary to be placed in mem
- * return a pointer to the character AFTER the last byte written */
-
-static char *
-hex2mem(buf, mem, count, may_fault)
- unsigned char *buf;
- unsigned char *mem;
- int count;
- int may_fault;
-{
- int i;
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- for (i=0; i<count; i++)
- {
- ch = hex(*buf++) << 4;
- ch |= hex(*buf++);
- *mem++ = ch;
- if (mem_err)
- return 0;
- }
-
- set_mem_fault_trap(0);
-
- return mem;
-}
-
-/* This table contains the mapping between SPARC hardware trap types, and
- signals, which are primarily what GDB understands. It also indicates
- which hardware traps we need to commandeer when initializing the stub. */
-
-static struct hard_trap_info
-{
- unsigned char tt; /* Trap type code for SPARClite */
- unsigned char signo; /* Signal that we map this trap into */
-} hard_trap_info[] = {
- {1, SIGSEGV}, /* instruction access error */
- {2, SIGILL}, /* privileged instruction */
- {3, SIGILL}, /* illegal instruction */
- {4, SIGEMT}, /* fp disabled */
- {36, SIGEMT}, /* cp disabled */
- {7, SIGBUS}, /* mem address not aligned */
- {9, SIGSEGV}, /* data access exception */
- {10, SIGEMT}, /* tag overflow */
- {128+1, SIGTRAP}, /* ta 1 - normal breakpoint instruction */
- {255, SIGTRAP}, /* hardware breakpoint */
- {0, 0} /* Must be last */
-};
-
-/* Set up exception handlers for tracing and breakpoints */
-
-void
-set_debug_traps()
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- exceptionHandler(ht->tt, trap_low);
-
- /* In case GDB is started before us, ack any packets (presumably
- "$?#xx") sitting there. */
-
- putDebugChar ('+');
-
- initialized = 1;
-}
-
-asm ("
-! Trap handler for memory errors. This just sets mem_err to be non-zero. It
-! assumes that %l1 is non-zero. This should be safe, as it is doubtful that
-! 0 would ever contain code that could mem fault. This routine will skip
-! past the faulting instruction after setting mem_err.
-
- .text
- .align 4
-
-" STRINGSYM(fltr_set_mem_err) ":
- sethi %hi(" STRINGSYM(mem_err) "), %l0
- st %l1, [%l0 + %lo(" STRINGSYM(mem_err) ")]
- jmpl %l2, %g0
- rett %l2+4
-");
-
-static void
-set_mem_fault_trap(enable)
- int enable;
-{
- extern void fltr_set_mem_err();
- mem_err = 0;
-
- if (enable)
- exceptionHandler(9, fltr_set_mem_err);
- else
- exceptionHandler(9, trap_low);
-}
-
-asm ("
- .text
- .align 4
-
-" STRINGSYM(dummy_hw_breakpoint) ":
- jmpl %l2, %g0
- rett %l2+4
- nop
- nop
-");
-
-static void
-set_hw_breakpoint_trap(enable)
- int enable;
-{
- extern void dummy_hw_breakpoint();
-
- if (enable)
- exceptionHandler(255, dummy_hw_breakpoint);
- else
- exceptionHandler(255, trap_low);
-}
-
-static void
-get_in_break_mode()
-{
- set_hw_breakpoint_trap(1);
-
- asm("
- sethi %hi(0xff10), %l4
- or %l4, %lo(0xff10), %l4
- sta %g0, [%l4]0x1
- nop
- nop
- nop
- ");
-
- set_hw_breakpoint_trap(0);
-}
-
-/* Convert the SPARC hardware trap type code to a unix signal number. */
-
-static int
-computeSignal(tt)
- int tt;
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- if (ht->tt == tt)
- return ht->signo;
-
- return SIGHUP; /* default for things we don't know about */
-}
-
-/*
- * While we find nice hex chars, build an int.
- * Return number of chars processed.
- */
-
-static int
-hexToInt(char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue < 0)
- break;
-
- *intValue = (*intValue << 4) | hexValue;
- numChars ++;
-
- (*ptr)++;
- }
-
- return (numChars);
-}
-
-/* Replacement for outbyte that sends a packet to GDB containing
- the character to be output. */
-
-static void
-outbyte_stub (int c)
-{
- static char buf[4];
-
- buf[0] = 'O';
- buf[1] = hexchars[(c >> 4) & 0xf];
- buf[2] = hexchars[c % 16];
- buf[3] = 0;
- putpacket (buf);
-}
-
-
-/*
- * This function does all command procesing for interfacing to gdb. It
- * returns 1 if you should skip the instruction at the trap address, 0
- * otherwise.
- */
-
-
-static void
-handle_exception (registers)
- unsigned long *registers;
-{
- int tt; /* Trap type */
- int sigval;
- int addr;
- int length;
- char *ptr;
- unsigned long *sp;
- unsigned long dsr;
-
-/* First, we must force all of the windows to be spilled out */
-
- asm(" save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- restore
- restore
- restore
- restore
- restore
- restore
- restore
- restore
-");
-
- if (registers[PC] == (unsigned long)breakinst)
- {
- registers[PC] = registers[NPC];
- registers[NPC] += 4;
- }
- sp = (unsigned long *)registers[SP];
-
- dsr = (unsigned long)registers[DSR];
- if (dsr & 0x3c)
- {
- tt = 255;
- }
- else
- {
- tt = (registers[TBR] >> 4) & 0xff;
- }
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal(tt);
- ptr = remcomOutBuffer;
-
- *ptr++ = 'T';
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- *ptr++ = hexchars[PC >> 4];
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[PC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[FP >> 4];
- *ptr++ = hexchars[FP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex(sp + 8 + 6, ptr, 4, 0); /* FP */
- *ptr++ = ';';
-
- *ptr++ = hexchars[SP >> 4];
- *ptr++ = hexchars[SP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&sp, ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[NPC >> 4];
- *ptr++ = hexchars[NPC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[NPC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[O7 >> 4];
- *ptr++ = hexchars[O7 & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[O7], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = 0;
-
- putpacket(remcomOutBuffer);
-
- __outbyte_hook = outbyte_stub;
-
- while (1)
- {
- remcomOutBuffer[0] = 0;
-
- getpacket(remcomInBuffer);
- switch (remcomInBuffer[0])
- {
- case '?':
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval & 0xf];
- remcomOutBuffer[3] = 0;
- break;
-
- case 'd':
- /* toggle debug flag */
- break;
-
- case 'g': /* return the value of the CPU registers */
- {
- ptr = remcomOutBuffer;
- ptr = mem2hex((char *)registers, ptr, 16 * 4, 0); /* G & O regs */
- ptr = mem2hex(sp + 0, ptr, 16 * 4, 0); /* L & I regs */
- memset(ptr, '0', 32 * 8); /* Floating point */
- ptr = mem2hex((char *)&registers[Y],
- ptr + 32 * 4 * 2,
- 8 * 4,
- 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
- mem2hex((char *)&registers[DIA1], ptr,
- 8 * 4, 0); /* DIA1, DIA2, DDA1, DDA2, DDV1, DDV2, DCR, DSR */
- }
- break;
-
- case 'G': /* set the value of the CPU registers - return OK */
- {
- unsigned long *newsp, psr;
-
- psr = registers[PSR];
-
- ptr = &remcomInBuffer[1];
- hex2mem(ptr, (char *)registers, 16 * 4, 0); /* G & O regs */
- hex2mem(ptr + 16 * 4 * 2, sp + 0, 16 * 4, 0); /* L & I regs */
- hex2mem(ptr + 64 * 4 * 2, (char *)&registers[Y],
- 8 * 4, 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
- hex2mem(ptr + 72 * 4 * 2, (char *)&registers[DIA1],
- 8 * 4, 0); /* DIA1, DIA2, DDA1, DDA2, DDV1, DDV2, DCR, DSR */
-
- /* See if the stack pointer has moved. If so, then copy the saved
- locals and ins to the new location. This keeps the window
- overflow and underflow routines happy. */
-
- newsp = (unsigned long *)registers[SP];
- if (sp != newsp)
- sp = memcpy(newsp, sp, 16 * 4);
-
- /* Don't allow CWP to be modified. */
-
- if (psr != registers[PSR])
- registers[PSR] = (psr & 0x1f) | (registers[PSR] & ~0x1f);
-
- strcpy(remcomOutBuffer,"OK");
- }
- break;
-
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* Try to read %x,%x. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length))
- {
- if (mem2hex((char *)addr, remcomOutBuffer, length, 1))
- break;
-
- strcpy (remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer,"E01");
- break;
-
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* Try to read '%x,%x:'. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length)
- && *ptr++ == ':')
- {
- if (hex2mem(ptr, (char *)addr, length, 1))
- strcpy(remcomOutBuffer, "OK");
- else
- strcpy(remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer, "E02");
- break;
-
- case 'c': /* cAA..AA Continue at address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
-
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr, &addr))
- {
- registers[PC] = addr;
- registers[NPC] = addr + 4;
- }
-
-/* Need to flush the instruction cache here, as we may have deposited a
- breakpoint, and the icache probably has no way of knowing that a data ref to
- some location may have changed something that is in the instruction cache.
- */
-
- flush_i_cache();
- return;
-
- /* kill the program */
- case 'k' : /* do nothing */
- break;
-#if 0
- case 't': /* Test feature */
- asm (" std %f30,[%sp]");
- break;
-#endif
- case 'r': /* Reset */
- asm ("call 0
- nop ");
- break;
-
-#if 0
-Disabled until we can unscrew this properly
-
- case 'b': /* bBB... Set baud rate to BB... */
- {
- int baudrate;
- extern void set_timer_3();
-
- ptr = &remcomInBuffer[1];
- if (!hexToInt(&ptr, &baudrate))
- {
- strcpy(remcomOutBuffer,"B01");
- break;
- }
-
- /* Convert baud rate to uart clock divider */
- switch (baudrate)
- {
- case 38400:
- baudrate = 16;
- break;
- case 19200:
- baudrate = 33;
- break;
- case 9600:
- baudrate = 65;
- break;
- default:
- strcpy(remcomOutBuffer,"B02");
- goto x1;
- }
-
- putpacket("OK"); /* Ack before changing speed */
- set_timer_3(baudrate); /* Set it */
- }
-x1: break;
-#endif
- } /* switch */
-
- /* reply to the request */
- putpacket(remcomOutBuffer);
- }
-}
-
-/* This function will generate a breakpoint exception. It is used at the
- beginning of a program to sync up with a debugger and can be used
- otherwise as a quick means to stop program execution and "break" into
- the debugger. */
-
-void
-breakpoint()
-{
- if (!initialized)
- return;
-
- asm(" .globl " STRINGSYM(breakinst) "
-
- " STRINGSYM(breakinst) ": ta 1
- ");
-}
-
-static void
-hw_breakpoint()
-{
- asm("
- ta 127
- ");
-}
diff --git a/libgloss/sparc/sparclet-stub.c b/libgloss/sparc/sparclet-stub.c
deleted file mode 100644
index a462128..0000000
--- a/libgloss/sparc/sparclet-stub.c
+++ /dev/null
@@ -1,1233 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * Modified for SPARC by Stu Grossman, Cygnus Support.
- * Based on sparc-stub.c, it's modified for SPARClite Debug Unit hardware
- * breakpoint support to create sparclite-stub.c, by Kung Hsu, Cygnus Support.
- *
- * This code has been extensively tested on the Fujitsu SPARClite demo board.
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- * P set the value of a single CPU register OK or P01 (???)
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * bBB..BB Set baud rate to BB..BB OK or BNN, then sets
- * baud rate
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: <two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-#include <string.h>
-#include <signal.h>
-
-/************************************************************************
- *
- * external low-level support routines
- */
-
-extern putDebugChar(); /* write a single character */
-extern getDebugChar(); /* read and return a single char */
-
-/************************************************************************/
-/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
-/* at least NUMREGBYTES*2 are needed for register packets */
-#define BUFMAX 2048
-
-static int initialized = 0; /* !0 means we've been initialized */
-static int remote_debug = 0; /* turn on verbose debugging */
-
-extern void breakinst();
-void _cprint();
-static void hw_breakpoint();
-static void set_mem_fault_trap();
-static void get_in_break_mode();
-static unsigned char *mem2hex();
-
-static const char hexchars[]="0123456789abcdef";
-
-#define NUMREGS 121
-
-static unsigned long saved_stack_pointer;
-
-/* Number of bytes of registers. */
-#define NUMREGBYTES (NUMREGS * 4)
-enum regnames { G0, G1, G2, G3, G4, G5, G6, G7,
- O0, O1, O2, O3, O4, O5, SP, O7,
- L0, L1, L2, L3, L4, L5, L6, L7,
- I0, I1, I2, I3, I4, I5, FP, I7,
-
- F0, F1, F2, F3, F4, F5, F6, F7,
- F8, F9, F10, F11, F12, F13, F14, F15,
- F16, F17, F18, F19, F20, F21, F22, F23,
- F24, F25, F26, F27, F28, F29, F30, F31,
-
- Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR,
- CCSR, CCPR, CCCRCR, CCOR, CCOBR, CCIBR, CCIR, UNUSED1,
-
- ASR1, ASR15, ASR17, ASR18, ASR19, ASR20, ASR21, ASR22,
- /* the following not actually implemented */
- AWR0, AWR1, AWR2, AWR3, AWR4, AWR5, AWR6, AWR7,
- AWR8, AWR9, AWR10, AWR11, AWR12, AWR13, AWR14, AWR15,
- AWR16, AWR17, AWR18, AWR19, AWR20, AWR21, AWR22, AWR23,
- AWR24, AWR25, AWR26, AWR27, AWR28, AWR29, AWR30, AWR31,
- APSR
-};
-
-/*************************** ASSEMBLY CODE MACROS *************************/
-/* */
-
-extern void trap_low();
-
-asm("
- .reserve trapstack, 1000 * 4, \"bss\", 8
-
- .data
- .align 4
-
-in_trap_handler:
- .word 0
-
- .text
- .align 4
-
-! This function is called when any SPARC trap (except window overflow or
-! underflow) occurs. It makes sure that the invalid register window is still
-! available before jumping into C code. It will also restore the world if you
-! return from handle_exception.
-!
-! On entry, trap_low expects l1 and l2 to contain pc and npc respectivly.
-
- .globl _trap_low
-_trap_low:
- mov %psr, %l0
- mov %wim, %l3
-
- srl %l3, %l0, %l4 ! wim >> cwp
- and %l4, 0xff, %l4 ! Mask off windows 28, 29
- cmp %l4, 1
- bne window_fine ! Branch if not in the invalid window
- nop
-
-! Handle window overflow
-
- mov %g1, %l4 ! Save g1, we use it to hold the wim
- srl %l3, 1, %g1 ! Rotate wim right
- and %g1, 0xff, %g1 ! Mask off windows 28, 29
- tst %g1
- bg good_wim ! Branch if new wim is non-zero
- nop
-
-! At this point, we need to bring a 1 into the high order bit of the wim.
-! Since we don't want to make any assumptions about the number of register
-! windows, we figure it out dynamically so as to setup the wim correctly.
-
- ! The normal way doesn't work on the sparclet as register windows
- ! 28 and 29 are special purpose windows.
- !not %g1 ! Fill g1 with ones
- !mov %g1, %wim ! Fill the wim with ones
- !nop
- !nop
- !nop
- !mov %wim, %g1 ! Read back the wim
- !inc %g1 ! Now g1 has 1 just to left of wim
- !srl %g1, 1, %g1 ! Now put 1 at top of wim
-
- mov 0x80, %g1 ! Hack for sparclet
-
- ! This doesn't work on the sparclet.
- !mov %g0, %wim ! Clear wim so that subsequent save
- ! won't trap
- andn %l3, 0xff, %l5 ! Clear wim but not windows 28, 29
- mov %l5, %wim
- nop
- nop
- nop
-
-good_wim:
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l4, %g1 ! Restore %g1
-
-window_fine:
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- tst %l5
- bg recursive_trap
- inc %l5
-
- set trapstack+1000*4, %sp ! Switch to trap stack
-
-recursive_trap:
- st %l5, [%lo(in_trap_handler) + %l4]
- sub %sp,(16+1+6+1+88)*4,%sp ! Make room for input & locals
- ! + hidden arg + arg spill
- ! + doubleword alignment
- ! + registers[121]
-
- std %g0, [%sp + (24 + 0) * 4] ! registers[Gx]
- std %g2, [%sp + (24 + 2) * 4]
- std %g4, [%sp + (24 + 4) * 4]
- std %g6, [%sp + (24 + 6) * 4]
-
- std %i0, [%sp + (24 + 8) * 4] ! registers[Ox]
- std %i2, [%sp + (24 + 10) * 4]
- std %i4, [%sp + (24 + 12) * 4]
- std %i6, [%sp + (24 + 14) * 4]
-
- ! FP regs (sparclet doesn't have fpu)
-
- mov %y, %l4
- mov %tbr, %l5
- st %l4, [%sp + (24 + 64) * 4] ! Y
- st %l0, [%sp + (24 + 65) * 4] ! PSR
- st %l3, [%sp + (24 + 66) * 4] ! WIM
- st %l5, [%sp + (24 + 67) * 4] ! TBR
- st %l1, [%sp + (24 + 68) * 4] ! PC
- st %l2, [%sp + (24 + 69) * 4] ! NPC
- ! CPSR and FPSR not impl
- or %l0, 0xf20, %l4
- mov %l4, %psr ! Turn on traps, disable interrupts
- nop
- nop
- nop
-
-! Save coprocessor state.
-! See SK/demo/hdlc_demo/ldc_swap_context.S.
-
- mov %psr, %l0
- sethi %hi(0x2000), %l5 ! EC bit in PSR
- or %l5, %l0, %l5
- mov %l5, %psr ! enable coprocessor
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
- crdcxt %ccsr, %l1 ! capture CCSR
- mov 0x6, %l2
- cwrcxt %l2, %ccsr ! set CCP state machine for CCFR
- crdcxt %ccfr, %l2 ! capture CCOR
- cwrcxt %l2, %ccfr ! tickle CCFR
- crdcxt %ccfr, %l3 ! capture CCOBR
- cwrcxt %l3, %ccfr ! tickle CCFR
- crdcxt %ccfr, %l4 ! capture CCIBR
- cwrcxt %l4, %ccfr ! tickle CCFR
- crdcxt %ccfr, %l5 ! capture CCIR
- cwrcxt %l5, %ccfr ! tickle CCFR
- crdcxt %ccpr, %l6 ! capture CCPR
- crdcxt %cccrcr, %l7 ! capture CCCRCR
- st %l1, [%sp + (24 + 72) * 4] ! save CCSR
- st %l2, [%sp + (24 + 75) * 4] ! save CCOR
- st %l3, [%sp + (24 + 76) * 4] ! save CCOBR
- st %l4, [%sp + (24 + 77) * 4] ! save CCIBR
- st %l5, [%sp + (24 + 78) * 4] ! save CCIR
- st %l6, [%sp + (24 + 73) * 4] ! save CCPR
- st %l7, [%sp + (24 + 74) * 4] ! save CCCRCR
- mov %l0, %psr ! restore original PSR
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-
-! End of saving coprocessor state.
-! Save asr regs
-
-! Part of this is silly -- we should not display ASR15 or ASR19 at all.
-
- sethi %hi(0x01000000), %l6
- st %l6, [%sp + (24 + 81) * 4] ! ASR15 == NOP
- sethi %hi(0xdeadc0de), %l6
- or %l6, %lo(0xdeadc0de), %l6
- st %l6, [%sp + (24 + 84) * 4] ! ASR19 == DEADC0DE
-
- rd %asr1, %l4
- st %l4, [%sp + (24 + 80) * 4]
-! rd %asr15, %l4 ! must not read ASR15
-! st %l4, [%sp + (24 + 81) * 4] ! (illegal instr trap)
- rd %asr17, %l4
- st %l4, [%sp + (24 + 82) * 4]
- rd %asr18, %l4
- st %l4, [%sp + (24 + 83) * 4]
-! rd %asr19, %l4 ! must not read asr19
-! st %l4, [%sp + (24 + 84) * 4] ! (halts the CPU)
- rd %asr20, %l4
- st %l4, [%sp + (24 + 85) * 4]
- rd %asr21, %l4
- st %l4, [%sp + (24 + 86) * 4]
- rd %asr22, %l4
- st %l4, [%sp + (24 + 87) * 4]
-
-! End of saving asr regs
-
- call _handle_exception
- add %sp, 24 * 4, %o0 ! Pass address of registers
-
-! Reload all of the registers that aren't on the stack
-
- ld [%sp + (24 + 1) * 4], %g1 ! registers[Gx]
- ldd [%sp + (24 + 2) * 4], %g2
- ldd [%sp + (24 + 4) * 4], %g4
- ldd [%sp + (24 + 6) * 4], %g6
-
- ldd [%sp + (24 + 8) * 4], %i0 ! registers[Ox]
- ldd [%sp + (24 + 10) * 4], %i2
- ldd [%sp + (24 + 12) * 4], %i4
- ldd [%sp + (24 + 14) * 4], %i6
-
- ! FP regs (sparclet doesn't have fpu)
-
-! Update the coprocessor registers.
-! See SK/demo/hdlc_demo/ldc_swap_context.S.
-
- mov %psr, %l0
- sethi %hi(0x2000), %l5 ! EC bit in PSR
- or %l5, %l0, %l5
- mov %l5, %psr ! enable coprocessor
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-
- mov 0x6, %l2
- cwrcxt %l2, %ccsr ! set CCP state machine for CCFR
-
- ld [%sp + (24 + 72) * 4], %l1 ! saved CCSR
- ld [%sp + (24 + 75) * 4], %l2 ! saved CCOR
- ld [%sp + (24 + 76) * 4], %l3 ! saved CCOBR
- ld [%sp + (24 + 77) * 4], %l4 ! saved CCIBR
- ld [%sp + (24 + 78) * 4], %l5 ! saved CCIR
- ld [%sp + (24 + 73) * 4], %l6 ! saved CCPR
- ld [%sp + (24 + 74) * 4], %l7 ! saved CCCRCR
-
- cwrcxt %l2, %ccfr ! restore CCOR
- cwrcxt %l3, %ccfr ! restore CCOBR
- cwrcxt %l4, %ccfr ! restore CCIBR
- cwrcxt %l5, %ccfr ! restore CCIR
- cwrcxt %l6, %ccpr ! restore CCPR
- cwrcxt %l7, %cccrcr ! restore CCCRCR
- cwrcxt %l1, %ccsr ! restore CCSR
-
- mov %l0, %psr ! restore PSR
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-
-! End of coprocessor handling stuff.
-! Update asr regs
-
- ld [%sp + (24 + 80) * 4], %l4
- wr %l4, %asr1
-! ld [%sp + (24 + 81) * 4], %l4 ! can't write asr15
-! wr %l4, %asr15
- ld [%sp + (24 + 82) * 4], %l4
- wr %l4, %asr17
- ld [%sp + (24 + 83) * 4], %l4
- wr %l4, %asr18
-! ld [%sp + (24 + 84) * 4], %l4 ! can't write asr19
-! wr %l4, %asr19
-! ld [%sp + (24 + 85) * 4], %l4 ! can't write asr20
-! wr %l4, %asr20
-! ld [%sp + (24 + 86) * 4], %l4 ! can't write asr21
-! wr %l4, %asr21
- ld [%sp + (24 + 87) * 4], %l4
- wr %l4, %asr22
-
-! End of restoring asr regs
-
-
- ldd [%sp + (24 + 64) * 4], %l0 ! Y & PSR
- ldd [%sp + (24 + 68) * 4], %l2 ! PC & NPC
-
- restore ! Ensure that previous window is valid
- save %g0, %g0, %g0 ! by causing a window_underflow trap
-
- mov %l0, %y
- mov %l1, %psr ! Make sure that traps are disabled
- ! for rett
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- dec %l5
- st %l5, [%lo(in_trap_handler) + %l4]
-
- jmpl %l2, %g0 ! Restore old PC
- rett %l3 ! Restore old nPC
-");
-
-/* Convert ch from a hex digit to an int */
-
-static int
-hex(ch)
- unsigned char ch;
-{
- if (ch >= 'a' && ch <= 'f')
- return ch-'a'+10;
- if (ch >= '0' && ch <= '9')
- return ch-'0';
- if (ch >= 'A' && ch <= 'F')
- return ch-'A'+10;
- return -1;
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-static void
-getpacket(buffer)
- char *buffer;
-{
- unsigned char checksum;
- unsigned char xmitcsum;
- int i;
- int count;
- unsigned char ch;
-
- do
- {
- /* wait around for the start character, ignore all other characters */
- while ((ch = (getDebugChar() & 0x7f)) != '$')
- ;
-
- checksum = 0;
- xmitcsum = -1;
-
- count = 0;
-
- /* now, read until a # or end of buffer is found */
- while (count < BUFMAX)
- {
- ch = getDebugChar() & 0x7f;
- if (ch == '#')
- break;
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- }
-
- if (count >= BUFMAX)
- continue;
-
- buffer[count] = 0;
-
- if (ch == '#')
- {
- xmitcsum = hex(ch = getDebugChar() & 0x7f) << 4;
- xmitcsum |= hex(ch = getDebugChar() & 0x7f);
-
- if (checksum != xmitcsum)
- putDebugChar('-'); /* failed checksum */
- else
- {
- putDebugChar('+'); /* successful transfer */
- /* if a sequence char is present, reply the sequence ID */
- if (buffer[2] == ':')
- {
- putDebugChar(buffer[0]);
- putDebugChar(buffer[1]);
- /* remove sequence chars from buffer */
- count = strlen(buffer);
- for (i=3; i <= count; i++)
- buffer[i-3] = buffer[i];
- }
- }
- }
- }
- while (checksum != xmitcsum);
-}
-
-/* send the packet in buffer. */
-
-static void
-putpacket(buffer)
- unsigned char *buffer;
-{
- unsigned char checksum;
- int count;
- unsigned char ch;
-
- /* $<packet info>#<checksum>. */
- do
- {
- putDebugChar('$');
- checksum = 0;
- count = 0;
-
- while (ch = buffer[count])
- {
- if (! putDebugChar(ch))
- return;
- checksum += ch;
- count += 1;
- }
-
- putDebugChar('#');
- putDebugChar(hexchars[checksum >> 4]);
- putDebugChar(hexchars[checksum & 0xf]);
-
- }
- while ((getDebugChar() & 0x7f) != '+');
-}
-
-static char remcomInBuffer[BUFMAX];
-static char remcomOutBuffer[BUFMAX];
-
-/* Indicate to caller of mem2hex or hex2mem that there has been an
- error. */
-static volatile int mem_err = 0;
-
-/* Convert the memory pointed to by mem into hex, placing result in buf.
- * Return a pointer to the last char put in buf (null), in case of mem fault,
- * return 0.
- * If MAY_FAULT is non-zero, then we will handle memory faults by returning
- * a 0, else treat a fault like any other fault in the stub.
- */
-
-static unsigned char *
-mem2hex(mem, buf, count, may_fault)
- unsigned char *mem;
- unsigned char *buf;
- int count;
- int may_fault;
-{
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- while (count-- > 0)
- {
- ch = *mem++;
- if (mem_err)
- return 0;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch & 0xf];
- }
-
- *buf = 0;
-
- set_mem_fault_trap(0);
-
- return buf;
-}
-
-/* convert the hex array pointed to by buf into binary to be placed in mem
- * return a pointer to the character AFTER the last byte written */
-
-static char *
-hex2mem(buf, mem, count, may_fault)
- unsigned char *buf;
- unsigned char *mem;
- int count;
- int may_fault;
-{
- int i;
- unsigned char ch;
-
- set_mem_fault_trap(may_fault);
-
- for (i=0; i<count; i++)
- {
- ch = hex(*buf++) << 4;
- ch |= hex(*buf++);
- *mem++ = ch;
- if (mem_err)
- return 0;
- }
-
- set_mem_fault_trap(0);
-
- return mem;
-}
-
-/* This table contains the mapping between SPARC hardware trap types, and
- signals, which are primarily what GDB understands. It also indicates
- which hardware traps we need to commandeer when initializing the stub. */
-
-static struct hard_trap_info
-{
- unsigned char tt; /* Trap type code for SPARClite */
- unsigned char signo; /* Signal that we map this trap into */
-} hard_trap_info[] = {
- {1, SIGSEGV}, /* instruction access exception */
- {0x3b, SIGSEGV}, /* instruction access error */
- {2, SIGILL}, /* illegal instruction */
- {3, SIGILL}, /* privileged instruction */
- {4, SIGEMT}, /* fp disabled */
- {0x24, SIGEMT}, /* cp disabled */
- {7, SIGBUS}, /* mem address not aligned */
- {0x29, SIGSEGV}, /* data access exception */
- {10, SIGEMT}, /* tag overflow */
- {128+1, SIGTRAP}, /* ta 1 - normal breakpoint instruction */
- {0, 0} /* Must be last */
-};
-
-/* Set up exception handlers for tracing and breakpoints */
-
-void
-set_debug_traps()
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- exceptionHandler(ht->tt, trap_low);
-
- /* In case GDB is started before us, ack any packets (presumably
- "$?#xx") sitting there. */
- putDebugChar ('+');
-
- initialized = 1;
-}
-
-asm ("
-! Trap handler for memory errors. This just sets mem_err to be non-zero. It
-! assumes that %l1 is non-zero. This should be safe, as it is doubtful that
-! 0 would ever contain code that could mem fault. This routine will skip
-! past the faulting instruction after setting mem_err.
-
- .text
- .align 4
-
-_fltr_set_mem_err:
- sethi %hi(_mem_err), %l0
- st %l1, [%l0 + %lo(_mem_err)]
- jmpl %l2, %g0
- rett %l2+4
-");
-
-static void
-set_mem_fault_trap(enable)
- int enable;
-{
- extern void fltr_set_mem_err();
- mem_err = 0;
-
- if (enable)
- exceptionHandler(0x29, fltr_set_mem_err);
- else
- exceptionHandler(0x29, trap_low);
-}
-
-asm ("
- .text
- .align 4
-
-_dummy_hw_breakpoint:
- jmpl %l2, %g0
- rett %l2+4
- nop
- nop
-");
-
-static void
-set_hw_breakpoint_trap(enable)
- int enable;
-{
- extern void dummy_hw_breakpoint();
-
- if (enable)
- exceptionHandler(255, dummy_hw_breakpoint);
- else
- exceptionHandler(255, trap_low);
-}
-
-static void
-get_in_break_mode()
-{
-#if 0
- int x;
- mesg("get_in_break_mode, sp = ");
- phex(&x);
-#endif
- set_hw_breakpoint_trap(1);
-
- asm("
- sethi %hi(0xff10), %l4
- or %l4, %lo(0xff10), %l4
- sta %g0, [%l4]0x1
- nop
- nop
- nop
- ");
-
- set_hw_breakpoint_trap(0);
-}
-
-/* Convert the SPARC hardware trap type code to a unix signal number. */
-
-static int
-computeSignal(tt)
- int tt;
-{
- struct hard_trap_info *ht;
-
- for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
- if (ht->tt == tt)
- return ht->signo;
-
- return SIGHUP; /* default for things we don't know about */
-}
-
-/*
- * While we find nice hex chars, build an int.
- * Return number of chars processed.
- */
-
-static int
-hexToInt(char **ptr, int *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
-
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue < 0)
- break;
-
- *intValue = (*intValue << 4) | hexValue;
- numChars ++;
-
- (*ptr)++;
- }
-
- return (numChars);
-}
-
-/*
- * This function does all command procesing for interfacing to gdb. It
- * returns 1 if you should skip the instruction at the trap address, 0
- * otherwise.
- */
-
-static void
-handle_exception (registers)
- unsigned long *registers;
-{
- int tt; /* Trap type */
- int sigval;
- int addr;
- int length;
- char *ptr;
- unsigned long *sp;
- unsigned long dsr;
-
-/* First, we must force all of the windows to be spilled out */
-
- asm("
- ! Ugh. sparclet has broken save
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- !save %sp, -64, %sp
- save
- add %fp,-64,%sp
- restore
- restore
- restore
- restore
- restore
- restore
- restore
- restore
-");
-
- if (registers[PC] == (unsigned long)breakinst)
- {
- registers[PC] = registers[NPC];
- registers[NPC] += 4;
- }
- sp = (unsigned long *)registers[SP];
-
- tt = (registers[TBR] >> 4) & 0xff;
-
- /* reply to host that an exception has occurred */
- sigval = computeSignal(tt);
- ptr = remcomOutBuffer;
-
- *ptr++ = 'T';
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- *ptr++ = hexchars[PC >> 4];
- *ptr++ = hexchars[PC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[PC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[FP >> 4];
- *ptr++ = hexchars[FP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex(sp + 8 + 6, ptr, 4, 0); /* FP */
- *ptr++ = ';';
-
- *ptr++ = hexchars[SP >> 4];
- *ptr++ = hexchars[SP & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&sp, ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[NPC >> 4];
- *ptr++ = hexchars[NPC & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[NPC], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = hexchars[O7 >> 4];
- *ptr++ = hexchars[O7 & 0xf];
- *ptr++ = ':';
- ptr = mem2hex((char *)&registers[O7], ptr, 4, 0);
- *ptr++ = ';';
-
- *ptr++ = 0;
-
- putpacket(remcomOutBuffer);
-
- while (1)
- {
- remcomOutBuffer[0] = 0;
-
- getpacket(remcomInBuffer);
- switch (remcomInBuffer[0])
- {
- case '?':
- remcomOutBuffer[0] = 'S';
- remcomOutBuffer[1] = hexchars[sigval >> 4];
- remcomOutBuffer[2] = hexchars[sigval & 0xf];
- remcomOutBuffer[3] = 0;
- break;
-
- case 'd':
- remote_debug = !(remote_debug); /* toggle debug flag */
- break;
-
- case 'g': /* return the value of the CPU registers */
- {
- ptr = remcomOutBuffer;
- ptr = mem2hex((char *)registers, ptr, 16 * 4, 0); /* G & O regs */
- ptr = mem2hex(sp + 0, ptr, 16 * 4, 0); /* L & I regs */
- memset(ptr, '0', 32 * 8); /* Floating point */
- ptr = mem2hex((char *)&registers[Y],
- ptr + 32 * 4 * 2,
- 8 * 4,
- 0); /* Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR */
- ptr = mem2hex((char *)&registers[CCSR],
- ptr,
- 8 * 4,
- 0); /* CCSR, CCPR, CCCRCR, CCOR, CCOBR, CCIBR, CCIR */
- ptr = mem2hex((char *)&registers[ASR1],
- ptr,
- 8 * 4,
- 0); /* ASR1,ASR15,ASR17,ASR18,ASR19,ASR20,ASR21,ASR22 */
-#if 0 /* not implemented */
- ptr = mem2hex((char *) &registers[AWR0],
- ptr,
- 32 * 4,
- 0); /* Alternate Window Registers */
-#endif
- }
- break;
-
- case 'G': /* set value of all the CPU registers - return OK */
- case 'P': /* set value of one CPU register - return OK */
- {
- unsigned long *newsp, psr;
-
- psr = registers[PSR];
-
- ptr = &remcomInBuffer[1];
-
- if (remcomInBuffer[0] == 'P') /* do a single register */
- {
- int regno;
-
- if (hexToInt (&ptr, &regno)
- && *ptr++ == '=')
- if (regno >= L0 && regno <= I7)
- hex2mem (ptr, sp + regno - L0, 4, 0);
- else
- hex2mem (ptr, (char *)&registers[regno], 4, 0);
- else
- {
- strcpy (remcomOutBuffer, "P01");
- break;
- }
- }
- else
- {
- hex2mem(ptr, (char *)registers, 16 * 4, 0); /* G & O regs */
- hex2mem(ptr + 16 * 4 * 2, sp + 0, 16 * 4, 0); /* L & I regs */
- hex2mem(ptr + 64 * 4 * 2, (char *)&registers[Y],
- 8 * 4, 0); /* Y,PSR,WIM,TBR,PC,NPC,FPSR,CPSR */
- hex2mem(ptr + 72 * 4 * 2, (char *)&registers[CCSR],
- 8 * 4, 0); /* CCSR,CCPR,CCCRCR,CCOR,CCOBR,CCIBR,CCIR */
- hex2mem(ptr + 80 * 4 * 2, (char *)&registers[ASR1],
- 8 * 4, 0); /* ASR1 ... ASR22 */
-#if 0 /* not implemented */
- hex2mem(ptr + 88 * 4 * 2, (char *)&registers[AWR0],
- 8 * 4, 0); /* Alternate Window Registers */
-#endif
- }
- /* See if the stack pointer has moved. If so, then copy the saved
- locals and ins to the new location. This keeps the window
- overflow and underflow routines happy. */
-
- newsp = (unsigned long *)registers[SP];
- if (sp != newsp)
- sp = memcpy(newsp, sp, 16 * 4);
-
- /* Don't allow CWP to be modified. */
-
- if (psr != registers[PSR])
- registers[PSR] = (psr & 0x1f) | (registers[PSR] & ~0x1f);
-
- strcpy(remcomOutBuffer,"OK");
- }
- break;
-
- case 'm': /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* Try to read %x,%x. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length))
- {
- if (mem2hex((char *)addr, remcomOutBuffer, length, 1))
- break;
-
- strcpy (remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer,"E01");
- break;
-
- case 'M': /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* Try to read '%x,%x:'. */
-
- ptr = &remcomInBuffer[1];
-
- if (hexToInt(&ptr, &addr)
- && *ptr++ == ','
- && hexToInt(&ptr, &length)
- && *ptr++ == ':')
- {
- if (hex2mem(ptr, (char *)addr, length, 1))
- strcpy(remcomOutBuffer, "OK");
- else
- strcpy(remcomOutBuffer, "E03");
- }
- else
- strcpy(remcomOutBuffer, "E02");
- break;
-
- case 'c': /* cAA..AA Continue at address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
-
- ptr = &remcomInBuffer[1];
- if (hexToInt(&ptr, &addr))
- {
- registers[PC] = addr;
- registers[NPC] = addr + 4;
- }
-
-/* Need to flush the instruction cache here, as we may have deposited a
- breakpoint, and the icache probably has no way of knowing that a data ref to
- some location may have changed something that is in the instruction cache.
- */
-
- flush_i_cache();
- return;
-
- /* kill the program */
- case 'k' : /* do nothing */
- break;
-#if 0
- case 't': /* Test feature */
- asm (" std %f30,[%sp]");
- break;
-#endif
- case 'r': /* Reset */
- asm ("call 0
- nop ");
- break;
-
-#if 0
-Disabled until we can unscrew this properly
-
- case 'b': /* bBB... Set baud rate to BB... */
- {
- int baudrate;
- extern void set_timer_3();
-
- ptr = &remcomInBuffer[1];
- if (!hexToInt(&ptr, &baudrate))
- {
- strcpy(remcomOutBuffer,"B01");
- break;
- }
-
- /* Convert baud rate to uart clock divider */
- switch (baudrate)
- {
- case 38400:
- baudrate = 16;
- break;
- case 19200:
- baudrate = 33;
- break;
- case 9600:
- baudrate = 65;
- break;
- default:
- strcpy(remcomOutBuffer,"B02");
- goto x1;
- }
-
- putpacket("OK"); /* Ack before changing speed */
- set_timer_3(baudrate); /* Set it */
- }
-x1: break;
-#endif
- } /* switch */
-
- /* reply to the request */
- putpacket(remcomOutBuffer);
- }
-}
-
-/* This function will generate a breakpoint exception. It is used at the
- beginning of a program to sync up with a debugger and can be used
- otherwise as a quick means to stop program execution and "break" into
- the debugger. */
-
-void
-breakpoint()
-{
- if (!initialized)
- return;
-
- asm(" .globl _breakinst
-
- _breakinst: ta 1
- ");
-}
-
-static void
-hw_breakpoint()
-{
- asm("
- ta 127
- ");
-}
-
-#if 0 /* experimental and never finished, left here for reference */
-static void
-splet_temp(void)
-{
- asm(" sub %sp,(16+1+6+1+121)*4,%sp ! Make room for input & locals
- ! + hidden arg + arg spill
- ! + doubleword alignment
- ! + registers[121]
-
-! Leave a trail of breadcrumbs! (save register save area for debugging)
- mov %sp, %l0
- add %l0, 24*4, %l0
- sethi %hi(_debug_registers), %l1
- st %l0, [%lo(_debug_registers) + %l1]
-
-! Save the Alternate Register Set: (not implemented yet)
-! To save the Alternate Register set, we must:
-! 1) Save the current SP in some global location.
-! 2) Swap the register sets.
-! 3) Save the Alternate SP in the Y register
-! 4) Fetch the SP that we saved in step 1.
-! 5) Use that to save the rest of the regs (not forgetting ASP in Y)
-! 6) Restore the Alternate SP from Y
-! 7) Swap the registers back.
-
-! 1) Copy the current stack pointer to global _SAVED_STACK_POINTER:
- sethi %hi(_saved_stack_pointer), %l0
- st %sp, [%lo(_saved_stack_pointer) + %l0]
-
-! 2) Swap the register sets:
- mov %psr, %l1
- sethi %hi(0x10000), %l2
- xor %l1, %l2, %l1
- mov %l1, %psr
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-
-! 3) Save Alternate L0 in Y
- wr %l0, 0, %y
-
-! 4) Load former SP into alternate SP, using L0
- sethi %hi(_saved_stack_pointer), %l0
- or %lo(_saved_stack_pointer), %l0, %l0
- swap [%l0], %sp
-
-! 4.5) Restore alternate L0
- rd %y, %l0
-
-! 5) Save the Alternate Window Registers
- st %r0, [%sp + (24 + 88) * 4] ! AWR0
- st %r1, [%sp + (24 + 89) * 4] ! AWR1
- st %r2, [%sp + (24 + 90) * 4] ! AWR2
- st %r3, [%sp + (24 + 91) * 4] ! AWR3
- st %r4, [%sp + (24 + 92) * 4] ! AWR4
- st %r5, [%sp + (24 + 93) * 4] ! AWR5
- st %r6, [%sp + (24 + 94) * 4] ! AWR6
- st %r7, [%sp + (24 + 95) * 4] ! AWR7
- st %r8, [%sp + (24 + 96) * 4] ! AWR8
- st %r9, [%sp + (24 + 97) * 4] ! AWR9
- st %r10, [%sp + (24 + 98) * 4] ! AWR10
- st %r11, [%sp + (24 + 99) * 4] ! AWR11
- st %r12, [%sp + (24 + 100) * 4] ! AWR12
- st %r13, [%sp + (24 + 101) * 4] ! AWR13
-! st %r14, [%sp + (24 + 102) * 4] ! AWR14 (SP)
- st %r15, [%sp + (24 + 103) * 4] ! AWR15
- st %r16, [%sp + (24 + 104) * 4] ! AWR16
- st %r17, [%sp + (24 + 105) * 4] ! AWR17
- st %r18, [%sp + (24 + 106) * 4] ! AWR18
- st %r19, [%sp + (24 + 107) * 4] ! AWR19
- st %r20, [%sp + (24 + 108) * 4] ! AWR20
- st %r21, [%sp + (24 + 109) * 4] ! AWR21
- st %r22, [%sp + (24 + 110) * 4] ! AWR22
- st %r23, [%sp + (24 + 111) * 4] ! AWR23
- st %r24, [%sp + (24 + 112) * 4] ! AWR24
- st %r25, [%sp + (24 + 113) * 4] ! AWR25
- st %r26, [%sp + (24 + 114) * 4] ! AWR26
- st %r27, [%sp + (24 + 115) * 4] ! AWR27
- st %r28, [%sp + (24 + 116) * 4] ! AWR28
- st %r29, [%sp + (24 + 117) * 4] ! AWR29
- st %r30, [%sp + (24 + 118) * 4] ! AWR30
- st %r31, [%sp + (24 + 119) * 4] ! AWR21
-
-! Get the Alternate PSR (I hope...)
-
- rd %psr, %l2
- st %l2, [%sp + (24 + 120) * 4] ! APSR
-
-! Don't forget the alternate stack pointer
-
- rd %y, %l3
- st %l3, [%sp + (24 + 102) * 4] ! AWR14 (SP)
-
-! 6) Restore the Alternate SP (saved in Y)
-
- rd %y, %o6
-
-
-! 7) Swap the registers back:
-
- mov %psr, %l1
- sethi %hi(0x10000), %l2
- xor %l1, %l2, %l1
- mov %l1, %psr
- nop ! 3 nops after write to %psr (needed?)
- nop
- nop
-");
-}
-
-#endif
diff --git a/libgloss/sparc/sparclite.h b/libgloss/sparc/sparclite.h
deleted file mode 100644
index 0f14d51..0000000
--- a/libgloss/sparc/sparclite.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* SPARClite defs
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-/* Macros for reading and writing to arbitrary address spaces. Note that ASI
- must be a constant (sorry, but the SPARC can only specify ASIs as part of an
- instruction. */
-
-#define read_asi(ASI, LOC) \
- ({ \
- unsigned int val; \
- __asm__ volatile ("lda [%r1]%2,%0" : "=r" (val) : "rJ" (LOC), "I" (ASI)); \
- val; \
- })
-
-#define write_asi(ASI, LOC, VAL) \
- __asm__ volatile ("sta %0,[%r1]%2" : : "r" (VAL), "rJ" (LOC), "I" (ASI))
-
-/* Use this when modifying registers that cause memory to be modified. This
- will cause GCC to reload all values after this point. */
-
-#define write_asi_volatile(ASI, LOC, VAL) \
- __asm__ volatile ("sta %0,[%r1]%2" : : "r" (VAL), "rJ" (LOC), "I" (ASI) \
- : "memory")
-
-/* Read the PSR (processor state register). */
-
-#define read_psr() \
- ({ \
- unsigned int psr; \
- __asm__ ("mov %%psr, %0" : "=r" (psr)); \
- psr; \
- })
-
-/* Write the PSR. */
-
-#define write_psr(VAL) \
- __asm__ ("mov %0, %%psr \n nop \n nop \n nop" : : "r" (VAL))
-
-/* Read the specified Ancillary State Register. */
-
-#define read_asr(REG) read_asr1(REG)
-#define read_asr1(REG) \
- ({ \
- unsigned int val; \
- __asm__ ("rd %%asr" #REG ",%0" : "=r" (val)); \
- val; \
- })
-
-/* Write the specified Ancillary State Register. */
-
-#define write_asr(REG, VAL) write_asr1(REG, VAL)
-#define write_asr1(REG, VAL) \
- __asm__ ("wr %0, 0, %%asr" #REG : : "r" (VAL))
-
-/* Set window size for window overflow and underflow trap handlers. Better to
- do this at at compile time than to calculate them at compile time each time
- we get a window overflow/underflow trap. */
-
-#ifdef SL933
- asm ("__WINSIZE=6");
-#else
- asm ("__WINSIZE=8");
-#endif
-
-#define PSR_INIT 0x10c0 /* Disable traps, set s and ps */
-#define TBR_INIT 0
-#define WIM_INIT 2
-#define STACK_SIZE 16 * 1024
-
diff --git a/libgloss/sparc/sysc-701.c b/libgloss/sparc/sysc-701.c
deleted file mode 100644
index 191a08a..0000000
--- a/libgloss/sparc/sysc-701.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/* more sparclet syscall support (the rest is in crt0-701.S). */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-int
-fstat(int _fd, struct stat* _sbuf)
-{
- errno = ENOSYS;
- return -1;
-}
-
-int
-isatty(int fd)
-{
- if (fd < 0)
- {
- errno = EBADF;
- return -1;
- }
- return fd <= 2;
-}
-
-int
-getpid()
-{
- return 1;
-}
-
-int
-kill(int pid)
-{
- /* if we knew how to nuke the board, we would... */
- return 0;
-}
-
-int
-lseek(int _fd, off_t offset, int whence)
-{
- errno = ENOSYS;
- return -1;
-}
-
-extern char end;
-char*
-sbrk (int incr)
-{
- static char* base;
- char *b;
- if(!base) base = &end;
- b = base;
- base += incr;
- return b;
-}
diff --git a/libgloss/sparc/syscalls.c b/libgloss/sparc/syscalls.c
deleted file mode 100644
index 01ba501..0000000
--- a/libgloss/sparc/syscalls.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/* Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- *
- * fake unix routines for sparclite and remote debugger
- * Many of these routines just substitute an appropriate error status,
- * if you want some kind of file system access, you'll have to fill them in...
- * sbrk on the other hand is functional (malloc uses it) but it doesn't do
- * any checking for lack of memory.
- * kill and _exit could get more real implementations, as well.
- */
-
-#include <sys/stat.h>
-
-int
-fstat(int _fd, struct stat* _sbuf)
-{
- /* this is used in a few places in stdio... */
- /* just error, so they assume a pipe */
- return -1;
-}
-
-int
-isatty(int _fd)
-{
- return 1;
-}
-
-int
-close(int _fd)
-{
- /* return value usually ignored anyhow */
- return 0;
-}
-
-int
-open(char *filename)
-{
- /* always fail */
- return -1;
-}
-
-int
-getpid() {
- return 1;
-}
-
-int
-kill(int pid) {
- /* if we knew how to nuke the board, we would... */
- return 0;
-}
-
-void
-_exit(int status) {
- /* likewise... */
- return;
-}
-
-int
-lseek(int _fd, off_t offset, int whence)
-{
- /* nothing is ever seekable */
- return -1;
-}
-
-extern char end;
-char*
-sbrk(int incr)
-{
- static char* base;
- char *b;
- if(!base) base = &end;
- b = base;
- base += incr;
- return b;
-}
diff --git a/libgloss/sparc/test.c b/libgloss/sparc/test.c
deleted file mode 100644
index fc443a8..0000000
--- a/libgloss/sparc/test.c
+++ /dev/null
@@ -1,69 +0,0 @@
-#include "debug.h"
-
-char hextab[] = "0123456789abcdef";
-
-int
-foo(arg)
- int arg;
-{
- return arg+1;
-}
-
-int
-fact (i)
- int i;
-{
- if (i == 1)
- return 1;
- else
- return i * fact ( i - 1);
-}
-
-main()
-{
- unsigned char c;
- int num;
- char foo[100];
-
-#if 0
- set_debug_level(2);
-
- cache_on();
-#endif
-
- set_debug_traps();
- breakpoint();
-
- print("Got to here\r\n");
-
- while (1) {
- c = inbyte();
- if (c == 'c')
- break;
-
- if (c == 'd') {
- set_debug_traps();
- breakpoint();
- break;
- }
-
- print("echo ");
- outbyte(c);
- print("\r\n");
- }
-
- print("Hello world\r\n");
-
- while (1) {
- c = inbyte();
-
- if ((c & 0x7f) == 4)
- break;
-
- print("Char is ");
- outbyte (c);
- print("\r\n");
- }
-
- print("I escaped!\r\n");
-}
diff --git a/libgloss/sparc/traps.S b/libgloss/sparc/traps.S
deleted file mode 100644
index b3cc966..0000000
--- a/libgloss/sparc/traps.S
+++ /dev/null
@@ -1,651 +0,0 @@
-/*
- * Copyright (c) 1995, 1996, 1998 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include "asm.h"
-#include "slite.h"
-
- .text
- .align 4
-
-/*
- * The trap table has to be the first code in a boot PROM. But because
- * the Memory Configuration comes up thinking we only have 4K of PROM, we
- * cannot have a full trap table and still have room left over to
- * reprogram the Memory Configuration register correctly. This file
- * uses an abbreviated trap which has every entry which might be used
- * before RTEMS installs its own trap table.
- */
- .globl _trap_table
-_trap_table:
- TRAP(SYM(ercinit)); ! 00 reset trap
- BAD_TRAP; ! 01 instruction access exception
- TRAP(SYM(no_fpu)); ! 02 illegal instruction
- BAD_TRAP; ! 03 privileged instruction
- BAD_TRAP; ! 04 fp disabled
- TRAP(SYM(win_overflow)); ! 05 window overflow
- TRAP(SYM(win_underflow)); ! 06 window underflow
- BAD_TRAP; ! 07 memory address not aligned
- BAD_TRAP; ! 08 fp exception
- BAD_TRAP; ! 09 data access exception
- BAD_TRAP; ! 0A tag overflow
-
- /* Trap levels from 0B to 0x10 are not defined (used for MEC init) */
-
-SYM(ercinit):
- sethi %hi(_ERC32_MEC), %g1 ! 0B
- sethi %hi(0x001C1000), %g2
- or %g1,%lo(0x001C1000),%g1
- st %g2, [%g1 + 0x10]
- st %g0, [%g1 + 0x18] ! 0C
- nop
- nop
- nop
-
- TRAP(SYM(hard_reset)); ! 0D undefined
- BAD_TRAP; ! 0E undefined
- BAD_TRAP; ! 0F undefined
- BAD_TRAP; ! 10 undefined
-
- /*
- * ERC32 defined traps
- */
-
- BAD_TRAP; ! 11 masked errors
- BAD_TRAP; ! 12 external 1
- BAD_TRAP; ! 13 external 2
- BAD_TRAP; ! 14 UART A RX/TX
- BAD_TRAP; ! 15 UART B RX/TX
- BAD_TRAP; ! 16 correctable memory error
- BAD_TRAP; ! 17 UART error
- BAD_TRAP; ! 18 DMA access error
- BAD_TRAP; ! 19 DMA timeout
- BAD_TRAP; ! 1A external 3
- BAD_TRAP; ! 1B external 4
- BAD_TRAP; ! 1C general purpose timer
- BAD_TRAP; ! 1D real time clock
- BAD_TRAP; ! 1E external 5
- BAD_TRAP; ! 1F watchdog timeout
-
-
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 20 - 23 undefined
- BAD_TRAP; ! 24 cp_disabled
- BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 25 - 27 undefined
- BAD_TRAP; ! 28 cp_exception
- BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 29 - 2B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 2C - 2F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 30 - 33 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 34 - 37 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 38 - 3B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 3C - 3F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 40 - 43 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 44 - 47 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 48 - 4B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 4C - 4F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 50 - 53 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 54 - 57 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 58 - 5B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 5C - 5F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 60 - 63 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 64 - 67 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 68 - 6B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 6C - 6F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 70 - 73 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 74 - 77 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 78 - 7B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 7C - 7F undefined
-
- /*
- * Software traps
- *
- * NOTE: At the risk of being redundant... this is not a full
- * table. The setjmp on the SPARC requires a window flush trap
- * handler and RTEMS will preserve the entries that were
- * installed before.
- */
-
- SOFT_TRAP; ! 80
-#if 0
- SOFT_TRAP; ! 81
-#else
- TRAP(SYM(trap_low)) ! 81
-#endif
- SOFT_TRAP; ! 82
- TRAP(SYM(win_flush)); ! 83 flush windows SW trap
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 84 - 87
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 88 - 8B
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 8C - 8F
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 90 - 93
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 94 - 97
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 98 - 9B
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 9C - 9F
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A0 - A3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A4 - A7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A8 - AB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! AC - AF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B0 - B3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B4 - B7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B8 - BB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! BC - BF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C0 - C3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C4 - C7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C8 - CB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! CC - CF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D0 - D3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D4 - D7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D8 - DB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! DC - DF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E0 - E3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E4 - E7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E8 - EB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! EC - EF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F0 - F3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F4 - F7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F8 - FB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! FC - FF
-
-/*
- * Startup code for standalone system. Wash IU and FPU (if present)
- * registers. The registers have to be written to initiate the parity
- * bits.
- */
- .globl SYM(hard_reset)
-SYM(hard_reset):
-
- sethi %hi(0x01FE0),%o0
- or %o0,%lo(0x01FE0),%o0
- mov %o0, %psr ! Set valid PSR
- nop
-
- mov %g0, %wim ! Set window invalid mask register
- mov %g0, %y ! Init Y-register
- nop
- sethi %hi(SYM(hard_reset)), %g1
-
- mov %g1, %tbr ! Set TBR
- sethi %hi(SP_INIT),%sp
- or %g0, 1, %o0
- ld [%g0], %f0 ! Check if FPU is present
-
- tst %o0
- bz fixiu
- nop
- ba fixfpu
-
-! FPU disabled trap address
-
- clr %i0
- jmpl %l2, %g0
- rett %l2 + 4
- nop
-
-
-! Wash register files (fix for 90C601E & 90C602E)
-
-fixfpu:
-
- ld [%g0], %f0
- ld [%g0], %f1
- ld [%g0], %f2
- ld [%g0], %f3
- ld [%g0], %f4
- ld [%g0], %f5
- ld [%g0], %f6
- ld [%g0], %f7
- ld [%g0], %f8
- ld [%g0], %f9
- ld [%g0], %f10
- ld [%g0], %f11
- ld [%g0], %f12
- ld [%g0], %f13
- ld [%g0], %f14
- ld [%g0], %f15
- ld [%g0], %f16
- ld [%g0], %f17
- ld [%g0], %f18
- ld [%g0], %f19
- ld [%g0], %f20
- ld [%g0], %f21
- ld [%g0], %f22
- ld [%g0], %f23
- ld [%g0], %f24
- ld [%g0], %f25
- ld [%g0], %f26
- ld [%g0], %f27
- ld [%g0], %f28
- ld [%g0], %f29
- ld [%g0], %f30
- ld [%g0], %f31
-
-fixiu:
- clr %g1
- clr %g2
- clr %g3
- clr %g4
- clr %g5
- clr %g6
- clr %g7
- set 8,%g1
-wl0:
- clr %i0
- clr %i1
- clr %i2
- clr %i3
- clr %i4
- clr %i5
- clr %i6
- clr %i7
- clr %l0
- clr %l1
- clr %l2
- clr %l3
- clr %l4
- clr %l5
- clr %l6
- clr %l7
- save
- subcc %g1, 1, %g1
- bne wl0
- nop
-
-!
-! Start the real-time clock with a tick of 150 clocks
-!
-
-rtc:
-
- set 0x1f80000, %l0 ! MEC register base
- set 149, %l1
- st %l1, [%l0 + 0x84] ! RTC scaler = 149
- set 0x0d00, %l1
- st %l1, [%l0 + 0x98] ! Start RTC
-
- st %g0, [%l0 + 0x64] ! Disable watchdog for now
- ld [%l0], %g1
- or %g1, 1, %g1
- st %g1, [%l0] ! Enable power-down mode
-
-_init:
- set PSR_INIT, %g1 ! Initialize psr
- mov %g1, %psr
- set WIM_INIT, %g1 ! Initialize WIM
- mov %g1, %wim
- set _trap_table, %g1 ! Initialize TBR
- mov %g1, %tbr
- nop;nop;nop
-
- set PSR_INIT, %g1
- wr %g1, 0x20, %psr ! enable traps
- nop; nop; nop;
-
- call SYM(start)
- nop
-
-/*
- * Register window overflow handler. Come here when save would move us
- * into the invalid window. This routine runs with traps disabled, and
- * must be careful not to touch the condition codes, as PSR is never
- * restored.
- *
- * We are called with %l0 = wim, %l1 = pc, %l2 = npc
- */
- .globl SYM(win_overflow)
-SYM(win_overflow):
- mov %g1, %l3 ! Save g1, we use it to hold the wim
- srl %l0, 1, %g1 ! Rotate wim right
- sll %l0, NUMBER_OF_REGISTER_WINDOWS - 1, %l0
- or %l0, %g1, %g1
-
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
- nop
- nop
- nop
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l3, %g1 ! Restore %g1
-
- jmpl %l1, %g0
- rett %l2
-
-/*
- * Register window underflow handler. Come here when restore would move us
- * into the invalid window. This routine runs with traps disabled, and
- * must be careful not to touch the condition codes, as PSR is never
- * restored.
- *
- * We are called with %l0 = wim, %l1 = pc, %l2 = npc
- */
- .globl SYM(win_underflow)
-SYM(win_underflow):
- sll %l0, 1, %l3 ! Rotate wim left
- srl %l0, NUMBER_OF_REGISTER_WINDOWS - 1, %l0
- or %l0, %l3, %l0
-
- mov %l0, %wim ! Install the new wim
-
- restore ! Users window
- restore ! His callers window
-
- ldd [%sp + 0 * 4], %l0 ! restore L & I registers
- ldd [%sp + 2 * 4], %l2
- ldd [%sp + 4 * 4], %l4
- ldd [%sp + 6 * 4], %l6
-
- ldd [%sp + 8 * 4], %i0
- ldd [%sp + 10 * 4], %i2
- ldd [%sp + 12 * 4], %i4
- ldd [%sp + 14 * 4], %i6
-
- save %g0, %g0, %g0 ! Back to trap window
- save %g0, %g0, %g0
-
- jmpl %l1, %g0
- rett %l2
-
-/*
- * Register window flush handler, triggered by a "ta 3" instruction.
- * We are called with %l0 = wim, %l1 = pc, %l2 = npc
- */
- .globl SYM(win_flush)
-SYM(win_flush):
- mov %psr, %l0
- or %l0,0xf00,%l3 ! Disable interrupts
- mov %l3,%psr
- nop
- nop
- nop
- mov %wim, %l3
-
- srl %l3, %l0, %l4 ! wim >> cwp
- cmp %l4, 1
- bne flush_window_fine ! Branch if not in the invalid window
- nop
-
-/* Handle window overflow. We can't trap here. */
-
- mov %g1, %l4 ! Save g1, we use it to hold the wim
- srl %l3, 1, %g1 ! Rotate wim right
- sll %l3, NUMBER_OF_REGISTER_WINDOWS - 1, %l3
- or %l3, %g1, %g1
- mov %g0, %wim ! Clear wim so that subsequent save
- nop ! wont trap
- nop
- nop
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l4, %g1 ! Restore %g1
-
-flush_window_fine:
- mov %psr,%l5 ! enable traps
- or %l5,0x20,%l5
- mov %l5, %psr
- nop
- nop
- nop
-
- set save_buf,%l5
- st %l2,[%l5]
-
- ! The stack pointer currently contains a bogus value [when a trap
- ! occurs CWP is decremented and points to an unused window].
- ! Give it something useful before we flush every window.
- ! This does what a "save %sp,-64,$sp" would, except that CWP has
- ! already been decremented.
- add %fp, -64, %sp
-
- save %sp, -64, %sp ! Flush user register window to stack
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- save %sp, -64, %sp
- restore
- restore
- restore
- restore
- restore
- restore
- restore
- restore
-
- restore ! Make sure we have a valid window
- save %g0, %g0, %g0
-
- set save_buf, %l2 ! Get our return address back
- ld [%l2],%l2
-
- mov %psr,%l5 ! disable traps for rett
- andn %l5,0x20,%l5
- mov %l5,%psr
- nop
- nop
- nop
-
- jmpl %l2, %g0
- rett %l2+4
-
-/*
- * Read the TBR.
- */
- .globl SYM(rdtbr)
-SYM(rdtbr):
- mov %tbr, %o0
- nop
- retl
- nop
-
-/*
- * Read the psr
- */
- .globl SYM(read_psr)
-SYM(read_psr):
- mov %psr, %o0
- nop
- retl
- nop
-
-/*
- * Write the PSR.
- */
-
- .globl SYM(write_psr)
-SYM(write_psr):
- mov %i0, %psr
- nop
- nop
- nop
- retl
- nop
-/*
- * Come here when no fpu exists. This just skips the offending
- * instruction.
- */
- .globl SYM(no_fpu)
-SYM(no_fpu):
- jmpl %l2, %g0
- rett %l2+4
-
- .globl SYM(fltr_proto)
- .align 4
-SYM(fltr_proto): ! First level trap routine prototype
- sethi 0, %l0
- jmpl 0+%l0, %g0
- nop
- nop
-
-/*
- * Trap handler for memory errors. This just sets mem_err to be
- * non-zero. It assumes that l1 is non-zero. This should be safe,
- * as it is doubtful that 0 would ever contain code that could mem
- * fault. This routine will skip past the faulting instruction after
- * setting mem_err.
- */
- .globl SYM(fltr_set_mem_err)
-SYM(fltr_set_mem_err):
- sethi %hi(SYM(mem_err)), %l0
- st %l1, [%l0 + %lo(SYM(mem_err))]
- jmpl %l2, %g0
- rett %l2+4
-
- .data
- .align 4
- .ascii "DaTa"
- .long SYM(sdata)
-in_trap_handler:
- .word 0
-save_buf:
- .word 0 /* place to save %g1 */
- .word 0 /* place to save %g2 */
-
- .text
- .align 4
-
-/*
- * This function is called when any SPARC trap (except window overflow
- * or underflow) occurs. It makes sure that the invalid register
- * window is still available before jumping into C code. It will also
- * restore the world if you return from handle_exception.
- */
- .globl SYM(trap_low)
-SYM(trap_low):
- mov %psr, %l0
- mov %wim, %l3
-
- srl %l3, %l0, %l4 ! wim >> cwp
- cmp %l4, 1
- bne window_fine ! Branch if not in the invalid window
- nop
-
- mov %g1, %l4 ! Save g1, we use it to hold the wim
- srl %l3, 1, %g1 ! Rotate wim right
- sll %l3, 8-1, %l5
- or %l5, %g1, %g1
-
- save %g0, %g0, %g0 ! Slip into next window
- mov %g1, %wim ! Install the new wim
-
- std %l0, [%sp + 0 * 4] ! save L & I registers
- std %l2, [%sp + 2 * 4]
- std %l4, [%sp + 4 * 4]
- std %l6, [%sp + 6 * 4]
-
- std %i0, [%sp + 8 * 4]
- std %i2, [%sp + 10 * 4]
- std %i4, [%sp + 12 * 4]
- std %i6, [%sp + 14 * 4]
-
- restore ! Go back to trap window.
- mov %l4, %g1 ! Restore g1
-
-window_fine:
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- tst %l5
- bg recursive_trap
- inc %l5
-
- /* use the stack we set in the linker script */
- sethi %hi(__trap_stack), %l6
- or %l6,%lo(__trap_stack),%l6
- mov %l6, %sp ! set the stack pointer
-
-recursive_trap:
- st %l5, [%lo(in_trap_handler) + %l4]
-
- sub %sp,(16+1+6+1+72)*4,%sp ! Make room for input & locals
- ! + hidden arg + arg spill
- ! + doubleword alignment
- ! + registers[72] local var
-
- std %g0, [%sp + (24 + 0) * 4] ! registers[Gx]
- std %g2, [%sp + (24 + 2) * 4]
- std %g4, [%sp + (24 + 4) * 4]
- std %g6, [%sp + (24 + 6) * 4]
-
- std %i0, [%sp + (24 + 8) * 4] ! registers[Ox]
- std %i2, [%sp + (24 + 10) * 4]
- std %i4, [%sp + (24 + 12) * 4]
- std %i6, [%sp + (24 + 14) * 4]
- ! F0->F31 not implemented
- mov %y, %l4
- mov %tbr, %l5
- st %l4, [%sp + (24 + 64) * 4] ! Y
- st %l0, [%sp + (24 + 65) * 4] ! PSR
- st %l3, [%sp + (24 + 66) * 4] ! WIM
- st %l5, [%sp + (24 + 67) * 4] ! TBR
- st %l1, [%sp + (24 + 68) * 4] ! PC
- st %l2, [%sp + (24 + 69) * 4] ! NPC
- ! CPSR and FPSR not implemented
-
- or %l0, 0xf20, %l4
- mov %l4, %psr ! Turn on traps, disable interrupts
-
- call SYM(handle_exception)
- add %sp, 24 * 4, %o0 ! Pass address of registers
-
-/* Reload all of the registers that aren't on the stack */
-
- ld [%sp + (24 + 1) * 4], %g1 ! registers[Gx]
- ldd [%sp + (24 + 2) * 4], %g2
- ldd [%sp + (24 + 4) * 4], %g4
- ldd [%sp + (24 + 6) * 4], %g6
-
- ldd [%sp + (24 + 8) * 4], %i0 ! registers[Ox]
- ldd [%sp + (24 + 10) * 4], %i2
- ldd [%sp + (24 + 12) * 4], %i4
- ldd [%sp + (24 + 14) * 4], %i6
-
- ldd [%sp + (24 + 64) * 4], %l0 ! Y & PSR
- ldd [%sp + (24 + 68) * 4], %l2 ! PC & NPC
-
- restore ! Ensure that previous window is valid
- save %g0, %g0, %g0 ! by causing a window_underflow trap
-
- mov %l0, %y
- mov %l1, %psr ! Make sure that traps are disabled
- ! for rett
-
- sethi %hi(in_trap_handler), %l4
- ld [%lo(in_trap_handler) + %l4], %l5
- dec %l5
- st %l5, [%lo(in_trap_handler) + %l4]
-
- jmpl %l2, %g0 ! Restore old PC
- rett %l3 ! Restore old nPC
-
-
diff --git a/libgloss/sparc/tsc701.ld b/libgloss/sparc/tsc701.ld
deleted file mode 100644
index bc6cd73..0000000
--- a/libgloss/sparc/tsc701.ld
+++ /dev/null
@@ -1,55 +0,0 @@
-/* must compile with -nostdlib option */
-OUTPUT_FORMAT("a.out-sunos-big", "a.out-sunos-big",
- "a.out-sparc-little")
-OUTPUT_ARCH(sparc)
-SEARCH_DIR(/usr/local/sparclet-aout/lib)
-PROVIDE (__stack = 0);
-ENTRY (start)
-STARTUP (crt0-701.o)
-GROUP (libsplet701.a libc.a libgcc.a)
-SECTIONS
-{
- /* Sparcmon likes to load programs starting at this address. */
- . = 0x12010000;
- .text :
- {
- CREATE_OBJECT_SYMBOLS
- *(.text)
- /* The next six sections are for SunOS dynamic linking. The order
- is important. */
- *(.dynrel)
- *(.hash)
- *(.dynsym)
- *(.dynstr)
- *(.rules)
- *(.need)
- _etext = .;
- __etext = .;
- }
- .data :
- {
- /* The first three sections are for SunOS dynamic linking. */
- *(.dynamic)
- *(.got)
- *(.plt)
- *(.data)
- *(.linux-dynamic) /* For Linux dynamic linking. */
- CONSTRUCTORS
- _edata = .;
- __edata = .;
- }
- .bss :
- {
- __bss_start = .;
- *(.bss)
- *(COMMON)
- _end = ALIGN(4) ;
- __end = ALIGN(4) ;
- }
- /* This is the value that Sparcmon assigns to the SP at reset, minus 4K. */
- PROVIDE(___stack = 0x123ef000);
- PROVIDE(__stack = 0x123ef000);
- /* Provide 4K area for copying the trap vectors from ROM to RAM. */
- PROVIDE(___trap_vectors = 0x123f0000);
- PROVIDE(__trap_vectors = 0x123f0000);
-}
diff --git a/libgloss/sparc_leon/Makefile.in b/libgloss/sparc_leon/Makefile.in
deleted file mode 100644
index c21a3e3..0000000
--- a/libgloss/sparc_leon/Makefile.in
+++ /dev/null
@@ -1,161 +0,0 @@
-# Makefile for libgloss/sparc_leon. This is the board support
-# code for the various sparc leon targets.
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = qrv
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-LEON_BSP = libleonbare.a
-LEON_OBJS = etrap.o rtrap.o etrap_fast.o rtrap_fast.o irqinstall.o regwin.o \
- regwinflush.o fpu.o bdinit.o contextswitch.o \
- busscan.o irqtrap_fast.o catch_interrupt.o catch_interrupt_svt.o \
- catch_interrupt_mvt.o catch_interrupt_pending.o gettimeofday.o \
- times.o rtc.o lcpuinit.o console_init.o console.o console_dbg.o \
- contextswitch.o contextswitch_asm.o _exit.o amba.o amba_dbg.o \
- amba_scan.o amba_driver.o timer.o mutex.o locore.o locore_clean.o \
- locore_var.o locore_var_svt.o jiffies.o \
- mmu_asm.o locore_svtdisp.o locore_mvt_reset.o locore_svt_reset.o stop.o initcalls.o \
- regwin_patch.o cacheA.o nocache.o
-
-LEONBARE_THREADS = liblbthread.a
-LEONBARE_THREADS_OBJS = kernel.o kernel_debug.o kernel_debug_var.o kernel_context.o \
- kernel_mutex.o kernel_thread.o kernel_sched.o kernel_queue.o \
- kernel_mm.o
-
-LOCOREATEXIT = locore_atexit.o
-LEON_SMALLC = libsmall.a
-
-PNP=pnpinit.o
-PNP_S=pnpinit_simple.o
-LEON_ALL = $(LEON_BSP) $(LEON_SMALLC) $(LEONBARE_THREADS) $(PNP) $(PNP_S) crti.o crtn.o
-
-LOCORESVT = locore_svt.o
-LOCOREMVT = locore_mvt.o
-CRT0 = crt0.o
-OBJS = close.o fstat.o getpid.o isatty.o kill.o \
- lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
- unlink.o write.o io.o kernel.o kernel_debug.o kernel_debug_var.o kernel_context.o
-#link.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: stmp-targ-include $(CRT0) $(LOCOREMVT) $(LOCORESVT) $(LEON_ALL)
-
-$(CRT0): $(srcdir)/crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -o $@ -c $(srcdir)/crt0.S
-
-$(LEON_BSP): $(OBJS) $(LEON_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(OBJS) $(LEON_OBJS)
- ${RANLIB} $@
-
-$(LEON_SMALLC): $(LOCOREATEXIT)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(LOCOREATEXIT)
- ${RANLIB} $@
-
-$(LEONBARE_THREADS): $(LEONBARE_THREADS_OBJS)
- @rm -f $@
- ${AR} ${AR_FLAGS} $@ $(LEONBARE_THREADS_OBJS)
- ${RANLIB} $@
-
-install:
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- $(INSTALL_DATA) $(LOCORESVT) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LOCORESVT)
- $(INSTALL_DATA) $(LOCOREMVT) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LOCOREMVT)
- $(INSTALL_DATA) $(PNP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(PNP)
- $(INSTALL_DATA) $(PNP_S) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(PNP_S)
- $(INSTALL_DATA) $(LEON_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LEON_BSP)
- $(INSTALL_DATA) $(LEON_SMALLC) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LEON_SMALLC)
- $(INSTALL_DATA) $(LEONBARE_THREADS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LEONBARE_THREADS)
- if [ -z "$(MULTISUBDIR)" ]; then \
- $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/asm-leon; \
- for i in $(srcdir)/asm-leon/*.h; do \
- if [ -f $$i ]; then \
- $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/asm-leon/`basename $$i` || exit $$?; \
- else true; fi ; \
- done; \
- else true; fi
-
-stmp-targ-include: $(srcdir)/asm-leon/*
- if [ -d ${objroot}/newlib/targ-include/asm-leon ]; then \
- rm -rf ${objroot}/newlib/targ-include/asm-leon; \
- else true; fi ; \
- if [ -d ${objroot}/newlib/targ-include ]; then \
- cp -r $(srcdir)/asm-leon ${objroot}/newlib/targ-include/asm-leon; \
- else true; fi ; \
- touch $@
-
-all-recursive: stmp-targ-include
-
-# Make a simple test case to test the linker script, startup code, and
-# I/O code
-#
-test:
- @echo Done...
-
-# target specific makefile fragment comes in here.
-# @target_makefile_frag@
-
-clean mostlyclean:
- rm -f *.o *.a *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/sparc_leon/_exit.c b/libgloss/sparc_leon/_exit.c
deleted file mode 100644
index fbe86cc..0000000
--- a/libgloss/sparc_leon/_exit.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-void
-_exit (int status)
-{
- asm ("mov 1, %g1; ta 0;\n");
-}
diff --git a/libgloss/sparc_leon/aclocal.m4 b/libgloss/sparc_leon/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/sparc_leon/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/sparc_leon/amba.c b/libgloss/sparc_leon/amba.c
deleted file mode 100644
index 0df6759..0000000
--- a/libgloss/sparc_leon/amba.c
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-/*#define DEBUG_CONFIG*/
-
-/* Structure containing address to devices found on the Amba Plug&Play bus */
-amba_confarea_type amba_conf;
-
-/* Pointers to Interrupt Controller configuration registers */
-volatile LEON3_IrqCtrl_Regs_Map *LEON3_IrqCtrl_Regs = 0;
-volatile LEON3_GpTimer_Regs_Map *LEON3_GpTimer_Regs = 0;
-unsigned long LEON3_GpTimer_Irq = 0;
-
-unsigned long
-amba_find_apbslv_addr (unsigned long vendor, unsigned long device,
- unsigned long *irq)
-{
- unsigned int i, conf, iobar;
- for (i = 0; i < amba_conf.apbslv.devnr; i++)
- {
- conf = amba_get_confword (amba_conf.apbslv, i, 0);
- if ((amba_vendor (conf) == vendor) && (amba_device (conf) == device))
- {
- if (irq)
- {
- *irq = amba_irq (conf);
- }
- iobar = amba_apb_get_membar (amba_conf.apbslv, i);
- return amba_iobar_start (amba_conf.apbslv.apbmst[i], iobar);
- }
- }
- return 0;
-}
-
-#define amba_insert_device(tab, address) do { \
- if (LEON3_BYPASS_LOAD_PA(address)) { \
- (tab)->addr[(tab)->devnr] = (address); \
- (tab)->devnr ++; \
- } \
- } while(0)
-
-#define amba_insert_apb_device(tab, address, apbmst, idx) do { \
- if (*(address)) { \
- (tab)->addr[(tab)->devnr] = (address); \
- (tab)->apbmst[(tab)->devnr] = (apbmst); \
- (tab)->apbmstidx[(tab)->devnr] = (idx); \
- (tab)->devnr ++; \
- } \
- } while(0)
-
-/*
- * Used to scan system bus. Probes for AHB masters, AHB slaves and
- * APB slaves. Addresses to configuration areas of the AHB masters,
- * AHB slaves, APB slaves and APB master are storeds in
- * amba_ahb_masters, amba_ahb_slaves and amba.
- */
-
-int amba_init_done = 0;
-
-void
-amba_init (void)
-{
- unsigned int *cfg_area; /* address to configuration area */
- unsigned int mbar, conf, apbmst;
- int i, j, idx = 0;
-
- if (amba_init_done)
- {
- return;
- }
- amba_init_done = 1;
-
- memset (&amba_conf, 0, sizeof (amba_conf));
- /*amba_conf.ahbmst.devnr = 0; amba_conf.ahbslv.devnr = 0; amba_conf.apbslv.devnr = 0; */
-
- cfg_area = (unsigned int *) (LEON3_IO_AREA | LEON3_CONF_AREA);
-
- for (i = 0; i < LEON3_AHB_MASTERS; i++)
- {
- amba_insert_device (&amba_conf.ahbmst, cfg_area);
- cfg_area += LEON3_AHB_CONF_WORDS;
- }
-
- cfg_area =
- (unsigned int *) (LEON3_IO_AREA | LEON3_CONF_AREA |
- LEON3_AHB_SLAVE_CONF_AREA);
- for (i = 0; i < LEON3_AHB_SLAVES; i++)
- {
- amba_insert_device (&amba_conf.ahbslv, cfg_area);
- cfg_area += LEON3_AHB_CONF_WORDS;
- }
-
- for (i = 0; i < amba_conf.ahbslv.devnr; i++)
- {
- conf = amba_get_confword (amba_conf.ahbslv, i, 0);
- mbar = amba_ahb_get_membar (amba_conf.ahbslv, i, 0);
- if ((amba_vendor (conf) == VENDOR_GAISLER)
- && (amba_device (conf) == GAISLER_APBMST))
- {
- int k;
- /*amba_conf.apbmst = */ apbmst = amba_membar_start (mbar);
- cfg_area = (unsigned int *) (apbmst | LEON3_CONF_AREA);
-
- for (j = amba_conf.apbslv.devnr, k = 0;
- j < AMBA_MAXAPB_DEVS && k < AMBA_MAXAPB_DEVS_PERBUS; j++, k++)
- {
- amba_insert_apb_device (&amba_conf.apbslv, cfg_area, apbmst,
- idx);
- cfg_area += LEON3_APB_CONF_WORDS;
- }
- idx++;
- }
- }
-
- /* Find LEON3 Interrupt controler */
- LEON3_IrqCtrl_Regs = (volatile LEON3_IrqCtrl_Regs_Map *)
- amba_find_apbslv_addr (VENDOR_GAISLER, GAISLER_IRQMP, 0);
- LEON3_GpTimer_Regs = (volatile LEON3_GpTimer_Regs_Map *)
- amba_find_apbslv_addr (VENDOR_GAISLER, GAISLER_GPTIMER,
- &LEON3_GpTimer_Irq);
- if (LEON3_IrqCtrl_Regs)
- {
- LEON3_BYPASS_STORE_PA (&(LEON3_IrqCtrl_Regs->mask[0]), 0);
- }
-}
diff --git a/libgloss/sparc_leon/amba_dbg.c b/libgloss/sparc_leon/amba_dbg.c
deleted file mode 100644
index 5f04450..0000000
--- a/libgloss/sparc_leon/amba_dbg.c
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-/*#define DEBUG_CONFIG*/
-
-/* Structure containing address to devices found on the Amba Plug&Play bus */
-extern amba_confarea_type amba_conf;
-
-#ifdef DEBUG_CONFIG
-#define printk(fmt,arg...) \
-{ char c[1024]; \
- sprintf(c,fmt,##arg); \
- DEBUG_puts(c); \
-}
-#else
-#define printk(fmt,arg...)
-#endif
-
-static void
-vendor_dev_string (unsigned long conf, char *vendorbuf, char *devbuf)
-{
- int vendor = amba_vendor (conf);
- int dev = amba_device (conf);
- char *devstr;
- char *vendorstr;
-#ifdef DEBUG_CONFIG
- sprintf (vendorbuf, "Unknown vendor %2x", vendor);
- sprintf (devbuf, "Unknown device %2x", dev);
- vendorstr = vendor_id2str (vendor);
- if (vendorstr)
- {
- sprintf (vendorbuf, "%s", vendorstr);
- }
- devstr = device_id2str (vendor, dev);
- if (devstr)
- {
- sprintf (devbuf, "%s", devstr);
- }
-#else
- vendorbuf[0] = 0;
- devbuf[0] = 0;
-#endif
-}
-
-void
-amba_prinf_config (void)
-{
- char devbuf[128];
- char vendorbuf[128];
- unsigned int conf;
- int i = 0;
- int j = 0;
- unsigned int addr;
- unsigned int m;
- printk (" Vendors Slaves\n");
- printk ("Ahb masters:\n");
- i = 0;
- while (i < amba_conf.ahbmst.devnr)
- {
- conf = amba_get_confword (amba_conf.ahbmst, i, 0);
- vendor_dev_string (conf, vendorbuf, devbuf);
- printk ("%2i(%2x:%3x|%2i): %16s %16s \n", i, amba_vendor (conf),
- amba_device (conf), amba_irq (conf), vendorbuf, devbuf);
- for (j = 0; j < 4; j++)
- {
- m = amba_ahb_get_membar (amba_conf.ahbmst, i, j);
- if (m)
- {
- addr = amba_membar_start (m);
- printk (" +%i: 0x%x \n", j, addr);
- }
- }
- i++;
- }
- printk ("Ahb slaves:\n");
- i = 0;
- while (i < amba_conf.ahbslv.devnr)
- {
- conf = amba_get_confword (amba_conf.ahbslv, i, 0);
- vendor_dev_string (conf, vendorbuf, devbuf);
- printk ("%2i(%2x:%3x|%2i): %16s %16s \n", i, amba_vendor (conf),
- amba_device (conf), amba_irq (conf), vendorbuf, devbuf);
- for (j = 0; j < 4; j++)
- {
- m = amba_ahb_get_membar (amba_conf.ahbslv, i, j);
- if (m)
- {
- addr = amba_membar_start (m);
- if (amba_membar_type (m) == AMBA_TYPE_AHBIO)
- {
- addr = AMBA_TYPE_AHBIO_ADDR (addr);
- }
- else if (amba_membar_type (m) == AMBA_TYPE_APBIO)
- {
- printk ("Warning: apbio membar\n");
- }
- printk (" +%i: 0x%x (raw:0x%x)\n", j, addr, m);
- }
- }
- i++;
- }
- printk ("Apb slaves:\n");
- i = 0;
- while (i < amba_conf.apbslv.devnr)
- {
-
- conf = amba_get_confword (amba_conf.apbslv, i, 0);
- vendor_dev_string (conf, vendorbuf, devbuf);
- printk ("%2i(%2x:%3x|%2i): %16s %16s \n", i, amba_vendor (conf),
- amba_device (conf), amba_irq (conf), vendorbuf, devbuf);
-
- m = amba_apb_get_membar (amba_conf.apbslv, i);
- addr = amba_iobar_start (amba_conf.apbslv.apbmst[i], m);
- printk (" +%2i: 0x%x (raw:0x%x) \n", 0, addr, m);
-
- i++;
-
- }
-
-}
diff --git a/libgloss/sparc_leon/amba_driver.c b/libgloss/sparc_leon/amba_driver.c
deleted file mode 100644
index 0340e94..0000000
--- a/libgloss/sparc_leon/amba_driver.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-/*#define DEBUG_CONFIG*/
-
-/* Structure containing address to devices found on the Amba Plug&Play bus */
-extern amba_confarea_type amba_conf;
-
-/*collect apb slaves*/
-int
-amba_get_free_apbslv_devices (int vendor, int device, amba_apb_device * dev,
- int nr)
-{
- unsigned int i, conf, iobar, j = 0;
-#ifdef DEBUG_CONFIG
- printf ("Apbslv: search for apdslv devices\n");
-#endif
- for (i = 0; i < amba_conf.apbslv.devnr && j < nr; i++)
- {
- conf = amba_get_confword (amba_conf.apbslv, i, 0);
-#ifdef DEBUG_CONFIG
- printf ("Apbslv: check(%x:%x)==(%x:%x)\n", vendor, device,
- amba_vendor (conf), amba_device (conf));
-#endif
- if ((amba_vendor (conf) == vendor) && (amba_device (conf) == device))
- {
- if (!(amba_conf.apbslv.allocbits[i / 32] & (1 << (i & (32 - 1)))))
- {
-#ifdef DEBUG_CONFIG
- printf ("Apbslv: alloc device idx %i (%x:%x)\n",
- j, vendor, device);
-#endif
- amba_conf.apbslv.allocbits[i / 32] |= (1 << (i & (32 - 1)));
- dev[j].irq = amba_irq (conf);
- iobar = amba_apb_get_membar (amba_conf.apbslv, i);
- dev[j].start =
- amba_iobar_start (amba_conf.apbslv.apbmst[i], iobar);
-#ifdef DEBUG_CONFIG
- printf (" +bar: 0x%x \n", k, dev[j].start);
-#endif
- j++;
- }
- }
- }
- return j;
-}
-
-/*collect ahb slaves*/
-int
-amba_get_free_ahbslv_devices (int vendor, int device, amba_ahb_device * dev,
- int nr)
-{
- unsigned int addr, i, conf, iobar, j = 0, k;
-#ifdef DEBUG_CONFIG
- printf ("Ahbslv: search for ahdslv devices\n");
-#endif
- for (i = 0; i < amba_conf.ahbslv.devnr && j < nr; i++)
- {
- conf = amba_get_confword (amba_conf.ahbslv, i, 0);
-#ifdef DEBUG_CONFIG
- printf ("Ahbslv: check(%x:%x)==(%x:%x)\n", vendor, device,
- amba_vendor (conf), amba_device (conf));
-#endif
- if ((amba_vendor (conf) == vendor) && (amba_device (conf) == device))
- {
- if (!(amba_conf.ahbslv.allocbits[i / 32] & (1 << (i & (32 - 1)))))
- {
-#ifdef DEBUG_CONFIG
- printf ("Ahbslv: alloc device idx %i (%x:%x)\n",
- j, vendor, device);
-#endif
- amba_conf.ahbslv.allocbits[i / 32] |= (1 << (i & (32 - 1)));
- dev[j].irq = amba_irq (conf);
- for (k = 0; k < 4; k++)
- {
- iobar = amba_ahb_get_membar (amba_conf.ahbslv, i, k);
- addr = amba_membar_start (iobar);
- if (amba_membar_type (iobar) == AMBA_TYPE_AHBIO)
- {
- addr = AMBA_TYPE_AHBIO_ADDR (addr);
- }
- dev[j].start[k] = addr;
-#ifdef DEBUG_CONFIG
- printf (" +%i: 0x%x \n", k, dev[j].start[k]);
-#endif
- }
- j++;
- }
- }
- }
- return j;
-}
diff --git a/libgloss/sparc_leon/amba_scan.c b/libgloss/sparc_leon/amba_scan.c
deleted file mode 100644
index 6d12281..0000000
--- a/libgloss/sparc_leon/amba_scan.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-unsigned int
-leon3_ahbslv_scan (register unsigned int vendor, register unsigned int driver)
-{
- register unsigned int conf, i, *confp;
- register unsigned int cfg_area =
- (unsigned int) (LEON3_IO_AREA | LEON3_CONF_AREA |
- LEON3_AHB_SLAVE_CONF_AREA);
- for (i = 0; i < LEON3_AHB_SLAVES; i++)
- {
- confp = (unsigned int *) (cfg_area + (i * LEON3_AHB_CONF_WORDS * 4));
- conf = *confp;
- if ((amba_vendor (conf) == vendor) && (amba_device (conf) == driver))
- {
- return (unsigned int) confp;
- }
- }
- return 0;
-}
-
-unsigned int
-leon3_getbase (register unsigned int *mbar, register unsigned int iobase,
- int *irq)
-{
- register unsigned int conf = mbar[1];
- return (unsigned int) (((iobase & 0xfff00000) |
- ((conf & 0xfff00000) >> 12)) & (((conf & 0x0000fff0)
- << 4) |
- 0xfff00000));
-}
-
-unsigned int
-leon3_apbslv_scan (register unsigned int base,
- register unsigned int vendor,
- register unsigned int driver,
- amba_apb_device * apbdevs, int c)
-{
- register unsigned int conf, i, *confp;
- int j = 0;
- for (i = 0; i < LEON3_APB_SLAVES; i++)
- {
- confp = (unsigned int *) (base + (i * LEON3_APB_CONF_WORDS * 4));
- conf = *confp;
- if ((amba_vendor (conf) == vendor) && (amba_device (conf) == driver))
- {
- if (j < c)
- {
- apbdevs[j].start = leon3_getbase (confp, base, 0);
- apbdevs[j].irq = amba_irq (conf);
- j++;
- }
- }
- }
- return j;
-}
-
-
-unsigned int
-leon3_getapbbase (register unsigned int vendor,
- register unsigned int driver,
- amba_apb_device * apbdevs, int c)
-{
- unsigned int apb = leon3_ahbslv_scan (VENDOR_GAISLER, GAISLER_APBMST);
- apb = (*(unsigned int *) (apb + 16)) & LEON3_IO_AREA;
- apb |= LEON3_CONF_AREA;
- return leon3_apbslv_scan (apb, vendor, driver, apbdevs, c);
-}
diff --git a/libgloss/sparc_leon/asm-leon/amba.h b/libgloss/sparc_leon/asm-leon/amba.h
deleted file mode 100644
index 0dd2d98..0000000
--- a/libgloss/sparc_leon/asm-leon/amba.h
+++ /dev/null
@@ -1,429 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _LEON3_AMBA_H__
-#define _LEON3_AMBA_H__
-
-#define LEON3_IO_AREA 0xfff00000
-#define LEON3_CONF_AREA 0xff000
-#define LEON3_AHB_SLAVE_CONF_AREA (1 << 11)
-
-#define LEON3_AHB_CONF_WORDS 8
-#define LEON3_APB_CONF_WORDS 2
-#define LEON3_AHB_MASTERS 8
-#define LEON3_AHB_SLAVES 8
-#define LEON3_APB_SLAVES 16
-#define LEON3_APBUARTS 8
-
-/* Vendor codes */
-#define VENDOR_GAISLER 1
-#define VENDOR_PENDER 2
-#define VENDOR_ESA 4
-#define VENDOR_OPENCORES 8
-
-/* Gaisler Research device id's */
-#define GAISLER_LEON3 0x003
-#define GAISLER_LEON3DSU 0x004
-#define GAISLER_ETHAHB 0x005
-#define GAISLER_APBMST 0x006
-#define GAISLER_AHBUART 0x007
-#define GAISLER_SRCTRL 0x008
-#define GAISLER_SDCTRL 0x009
-#define GAISLER_APBUART 0x00c
-#define GAISLER_IRQMP 0x00d
-#define GAISLER_AHBRAM 0x00e
-#define GAISLER_GPTIMER 0x011
-#define GAISLER_PCITRG 0x012
-#define GAISLER_PCISBRG 0x013
-#define GAISLER_PCIFBRG 0x014
-#define GAISLER_PCITRACE 0x015
-#define GAISLER_PCIDMA 0x016
-#define GAISLER_AHBTRACE 0x017
-#define GAISLER_ETHDSU 0x018
-#define GAISLER_PIOPORT 0x01A
-#define GAISLER_SPACEWIRE 0x01f
-
-#define GAISLER_ETHMAC 0x01d
-#define GAISLER_EHCI 0x026
-#define GAISLER_UHCI 0x027
-
-#define GAISLER_L2TIME 0xffd /* internal device: leon2 timer */
-#define GAISLER_L2C 0xffe /* internal device: leon2compat */
-#define GAISLER_PLUGPLAY 0xfff /* internal device: plug & play configarea */
-
-#ifndef __ASSEMBLER__
-
-extern inline char *
-gaisler_device_str (int id)
-{
- switch (id)
- {
- case GAISLER_LEON3:
- return "GAISLER_LEON3";
- case GAISLER_LEON3DSU:
- return "GAISLER_LEON3DSU";
- case GAISLER_ETHAHB:
- return "GAISLER_ETHAHB";
- case GAISLER_APBMST:
- return "GAISLER_APBMST";
- case GAISLER_AHBUART:
- return "GAISLER_AHBUART";
- case GAISLER_SRCTRL:
- return "GAISLER_SRCTRL";
- case GAISLER_SDCTRL:
- return "GAISLER_SDCTRL";
- case GAISLER_APBUART:
- return "GAISLER_APBUART";
- case GAISLER_IRQMP:
- return "GAISLER_IRQMP";
- case GAISLER_AHBRAM:
- return "GAISLER_AHBRAM";
- case GAISLER_GPTIMER:
- return "GAISLER_GPTIMER";
- case GAISLER_PCITRG:
- return "GAISLER_PCITRG";
- case GAISLER_PCISBRG:
- return "GAISLER_PCISBRG";
- case GAISLER_PCIFBRG:
- return "GAISLER_PCIFBRG";
- case GAISLER_PCITRACE:
- return "GAISLER_PCITRACE";
- case GAISLER_AHBTRACE:
- return "GAISLER_AHBTRACE";
- case GAISLER_ETHDSU:
- return "GAISLER_ETHDSU";
- case GAISLER_PIOPORT:
- return "GAISLER_PIOPORT";
- case GAISLER_SPACEWIRE:
- return "GAISLER_SPACEWIRE";
-
-
- case GAISLER_L2TIME:
- return "GAISLER_L2TIME";
- case GAISLER_L2C:
- return "GAISLER_L2C";
- case GAISLER_PLUGPLAY:
- return "GAISLER_PLUGPLAY";
-
- default:
- break;
- }
- return 0;
-}
-
-#endif
-
-/* European Space Agency device id's */
-#define ESA_LEON2 0x002
-#define ESA_MCTRL 0x00f
-
-#ifndef __ASSEMBLER__
-
-extern inline char *
-esa_device_str (int id)
-{
- switch (id)
- {
- case ESA_LEON2:
- return "ESA_LEON2";
- case ESA_MCTRL:
- return "ESA_MCTRL";
- default:
- break;
- }
- return 0;
-}
-
-#endif
-
-/* Opencores device id's */
-#define OPENCORES_PCIBR 0x4
-#define OPENCORES_ETHMAC 0x5
-
-#ifndef __ASSEMBLER__
-
-extern inline char *
-opencores_device_str (int id)
-{
- switch (id)
- {
- case OPENCORES_PCIBR:
- return "OPENCORES_PCIBR";
- case OPENCORES_ETHMAC:
- return "OPENCORES_ETHMAC";
- default:
- break;
- }
- return 0;
-}
-
-extern inline char *
-device_id2str (int vendor, int id)
-{
- switch (vendor)
- {
- case VENDOR_GAISLER:
- return gaisler_device_str (id);
- case VENDOR_ESA:
- return esa_device_str (id);
- case VENDOR_OPENCORES:
- return opencores_device_str (id);
- case VENDOR_PENDER:
- default:
- break;
- }
- return 0;
-}
-
-extern inline char *
-vendor_id2str (int vendor)
-{
- switch (vendor)
- {
- case VENDOR_GAISLER:
- return "VENDOR_GAISLER";
- case VENDOR_ESA:
- return "VENDOR_ESA";
- case VENDOR_OPENCORES:
- return "VENDOR_OPENCORES";
- case VENDOR_PENDER:
- return "VENDOR_PENDER";
- default:
- break;
- }
- return 0;
-}
-
-#endif
-
-/* Vendor codes */
-
-/*
- *
- * Macros for manipulating Configuration registers
- *
- */
-
-#define LEON3_BYPASS_LOAD_PA(x) (*((unsigned long*)x))
-#define LEON3_BYPASS_STORE_PA(x,v) (*((unsigned long*)x) = (v))
-
-#define amba_get_confword(tab, index, word) (*((tab).addr[(index)]+(word)))
-
-#define amba_vendor(x) (((x) >> 24) & 0xff)
-
-#define amba_device(x) (((x) >> 12) & 0xfff)
-
-#define amba_ahb_get_membar(tab, index, nr) (*((tab).addr[(index)]+4+(nr)))
-
-#define amba_apb_get_membar(tab, index) (*((tab).addr[(index)]+1))
-
-#define amba_membar_start(mbar) (((mbar) & 0xfff00000) & (((mbar) & 0xfff0) << 16))
-
-#define amba_iobar_start(base, iobar) ((base) | ((((iobar) & 0xfff00000)>>12) & (((iobar) & 0xfff0)<<4)) )
-
-#define amba_irq(conf) ((conf) & 0xf)
-
-#define amba_membar_type(mbar) ((mbar) & 0xf)
-
-#define AMBA_TYPE_APBIO 0x1
-#define AMBA_TYPE_MEM 0x2
-#define AMBA_TYPE_AHBIO 0x3
-
-#define AMBA_TYPE_AHBIO_ADDR(addr) (LEON3_IO_AREA | ((addr) >> 12))
-
-
-
-
-
-
-#ifndef __ASSEMBLER__
-
-/*
- * The following defines the bits in the LEON UART Status Registers.
- */
-
-#define LEON_REG_UART_STATUS_DR 0x00000001 /* Data Ready */
-#define LEON_REG_UART_STATUS_TSE 0x00000002 /* TX Send Register Empty */
-#define LEON_REG_UART_STATUS_THE 0x00000004 /* TX Hold Register Empty */
-#define LEON_REG_UART_STATUS_BR 0x00000008 /* Break Error */
-#define LEON_REG_UART_STATUS_OE 0x00000010 /* RX Overrun Error */
-#define LEON_REG_UART_STATUS_PE 0x00000020 /* RX Parity Error */
-#define LEON_REG_UART_STATUS_FE 0x00000040 /* RX Framing Error */
-#define LEON_REG_UART_STATUS_ERR 0x00000078 /* Error Mask */
-
-/*
- * The following defines the bits in the LEON UART Ctrl Registers.
- */
-
-#define LEON_REG_UART_CTRL_RE 0x00000001 /* Receiver enable */
-#define LEON_REG_UART_CTRL_TE 0x00000002 /* Transmitter enable */
-#define LEON_REG_UART_CTRL_RI 0x00000004 /* Receiver interrupt enable */
-#define LEON_REG_UART_CTRL_TI 0x00000008 /* Transmitter interrupt enable */
-#define LEON_REG_UART_CTRL_PS 0x00000010 /* Parity select */
-#define LEON_REG_UART_CTRL_PE 0x00000020 /* Parity enable */
-#define LEON_REG_UART_CTRL_FL 0x00000040 /* Flow control enable */
-#define LEON_REG_UART_CTRL_LB 0x00000080 /* Loop Back enable */
-
-#define LEON3_GPTIMER_EN 1
-#define LEON3_GPTIMER_RL 2
-#define LEON3_GPTIMER_LD 4
-#define LEON3_GPTIMER_IRQEN 8
-#define LEON3_GPTIMER_IP 0x10
-
-#define LEON3_GPTIMER_CONFIG_TIMERMASK 0x7
-#define LEON3_GPTIMER_CONFIG_SEPERATE (1<<8)
-
-typedef struct
-{
- volatile unsigned int ilevel;
- volatile unsigned int ipend;
- volatile unsigned int iforce;
- volatile unsigned int iclear;
- volatile unsigned int notused00;
- volatile unsigned int notused01;
- volatile unsigned int notused02;
- volatile unsigned int notused03;
- volatile unsigned int notused10;
- volatile unsigned int notused11;
- volatile unsigned int notused12;
- volatile unsigned int notused13;
- volatile unsigned int notused20;
- volatile unsigned int notused21;
- volatile unsigned int notused22;
- volatile unsigned int notused23;
- volatile unsigned int mask[16];
-} LEON3_IrqCtrl_Regs_Map;
-extern volatile LEON3_IrqCtrl_Regs_Map *LEON3_IrqCtrl_Regs; /* in amba.c */
-
-typedef struct
-{
- volatile unsigned int data;
- volatile unsigned int status;
- volatile unsigned int ctrl;
- volatile unsigned int scaler;
-} LEON23_APBUART_Regs_Map;
-extern volatile LEON23_APBUART_Regs_Map *leon23_uarts[2]; /* in console.c */
-extern unsigned int leon23_irqs[2]; /* in console.c */
-
-typedef struct
-{
- volatile unsigned int val;
- volatile unsigned int rld;
- volatile unsigned int ctrl;
- volatile unsigned int unused;
-} LEON3_GpTimerElem_Regs_Map;
-
-
-typedef struct
-{
- volatile unsigned int scalar;
- volatile unsigned int scalar_reload;
- volatile unsigned int config;
- volatile unsigned int unused;
- volatile LEON3_GpTimerElem_Regs_Map e[8];
-} LEON3_GpTimer_Regs_Map;
-#define LEON3_GPTIMER_CONFIG_NRTIMERS(c) ((c)->config & 0x7)
-int Timer_getTimer1 (unsigned int **count, unsigned int **reload, unsigned int **ctrl); /* in timer.c */
-int Timer_getTimer2 (unsigned int **count, unsigned int **reload, unsigned int **ctrl); /* in timer.c */
-extern volatile LEON3_GpTimer_Regs_Map *LEON3_GpTimer_Regs;
-extern unsigned long LEON3_GpTimer_Irq;
-
-typedef struct
-{
- volatile unsigned int iodata;
- volatile unsigned int ioout;
- volatile unsigned int iodir;
- volatile unsigned int irqmask;
- volatile unsigned int irqpol;
- volatile unsigned int irqedge;
-} LEON3_IOPORT_Regs_Map;
-
-
-/*
- * Types and structure used for AMBA Plug & Play bus scanning
- */
-extern int amba_init_done;
-
-#define AMBA_MAXAPB_DEVS 64
-#define AMBA_MAXAPB_DEVS_PERBUS 16
-
-typedef struct amba_device_table
-{
- int devnr; /* numbrer of devices on AHB or APB bus */
- unsigned int *addr[16]; /* addresses to the devices configuration tables */
- unsigned int allocbits[1]; /* 0=unallocated, 1=allocated driver */
-} amba_device_table;
-
-typedef struct amba_apbslv_device_table
-{
- int devnr; /* number of devices on AHB or APB bus */
- unsigned int *addr[AMBA_MAXAPB_DEVS]; /* addresses to the devices configuration tables */
- unsigned int apbmst[AMBA_MAXAPB_DEVS]; /* apb master if a entry is a apb slave */
- unsigned int apbmstidx[AMBA_MAXAPB_DEVS]; /* apb master idx if a entry is a apb slave */
- unsigned int allocbits[4]; /* 0=unallocated, 1=allocated driver */
-} amba_apbslv_device_table;
-
-typedef struct amba_confarea_type
-{
- amba_device_table ahbmst;
- amba_device_table ahbslv;
- amba_apbslv_device_table apbslv;
- /*unsigned int apbmst; */
-} amba_confarea_type;
-
-
-extern unsigned long amba_find_apbslv_addr (unsigned long vendor,
- unsigned long device,
- unsigned long *irq);
-
-// collect apb slaves
-typedef struct amba_apb_device
-{
- unsigned int start, irq;
-} amba_apb_device;
-extern int amba_get_free_apbslv_devices (int vendor, int device,
- amba_apb_device * dev, int nr);
-
-// collect ahb slaves
-typedef struct amba_ahb_device
-{
- unsigned int start[4], irq;
-} amba_ahb_device;
-extern int amba_get_free_ahbslv_devices (int vendor, int device,
- amba_ahb_device * dev, int nr);
-
-
-/*amba_scan.c*/
-unsigned int leon3_getapbbase (register unsigned int vendor,
- register unsigned int driver,
- amba_apb_device * apbdevs, int c);
-
-#endif //!__ASSEMBLER__
-
-
-
-
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/asmmacro.h b/libgloss/sparc_leon/asm-leon/asmmacro.h
deleted file mode 100644
index c210d0e..0000000
--- a/libgloss/sparc_leon/asm-leon/asmmacro.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEON_ASMMACRO_h
-#define _INCLUDE_LEON_ASMMACRO_h
-
-#include <asm-leon/leonstack.h>
-
-/* All trap entry points _must_ begin with this macro or else you
- * lose. It makes sure the kernel has a proper window so that
- * c-code can be called.
- */
-#define SAVE_ALL_HEAD \
- sethi %hi(leonbare_trapsetup), %l4; \
- jmpl %l4 + %lo(leonbare_trapsetup), %l6;
-#define SAVE_ALL \
- SAVE_ALL_HEAD \
- nop;
-
-#define SAVE_ALL_FAST(l) \
- set l-8, %l6; \
- sethi %hi(leonbare_trapsetup_fast), %l4; \
- jmpl %l4 + %lo(leonbare_trapsetup_fast), %g0; \
- nop;
-
-/* All traps low-level code here must end with this macro. */
-#define RESTORE_ALL b leonbare_trapreturn; clr %l6;
-#define RESTORE_ALL_FAST b leonbare_trapreturn_fast; clr %l6;
-
-#define WRITE_PAUSE nop; nop; nop;
-
-#endif /* !_INCLUDE_LEON_STACK_h */
diff --git a/libgloss/sparc_leon/asm-leon/clock.h b/libgloss/sparc_leon/asm-leon/clock.h
deleted file mode 100644
index 189e942..0000000
--- a/libgloss/sparc_leon/asm-leon/clock.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _ASMSPARC_CLOCK_PARAM_H
-#define _ASMSPARC_CLOCK_PARAM_H
-
-#include <_ansi.h>
-#include <asm-leon/param.h>
-
-#ifndef __ASSEMBLER__
-int _EXFUN (gettimeofday, (struct timeval * __p, void *__tz));
-int _EXFUN (settimeofday, (const struct timeval *, const struct timezone *));
-void do_gettimeofday (struct timeval *tv);
-#endif
-
-#define USEC_PER_SEC (1000000L)
-#define NSEC_PER_SEC (1000000000L)
-#define NSEC_PER_USEC (1000L)
-
-extern unsigned long tick_nsec;
-extern unsigned long tick_usec;
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/contextswitch.h b/libgloss/sparc_leon/asm-leon/contextswitch.h
deleted file mode 100644
index 8150ac8..0000000
--- a/libgloss/sparc_leon/asm-leon/contextswitch.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef H_LEONBARE_CONTEXTSWITCH_H
-#define H_LEONBARE_CONTEXTSWITCH_H
-
-
-/*
- * for this version, the index of THREAD_JB_SP must be even !!!
- * This way, we can speed up the context switch (using std).
- */
-#define THREAD_JB_SP 0 /* aligned */
-#define THREAD_JB_PC 1
-#define THREAD_JB_SVMASK 3
-#define THREAD_JB_MASK 4
-#define THREAD_JB_FP 5
-#define THREAD_JB_I7 6
-
-#define THREAD_JB_PSR 8 /* aligned */
-#define THREAD_JB_WIM 9
-
-#define THREAD_JB_FPUCTX 10
-
-#ifndef __ASSEMBLER__
-
-extern unsigned long fpustate_current;
-
-typedef int threadctx_t[14 + 2] __attribute__ ((aligned (8)));
-
-int thread_setjmp (threadctx_t env, int val);
-void thread_longjmp (threadctx_t env, int val);
-void _switch_to (threadctx_t env, int val);
-
-#endif /* __ASSEMBLER__ */
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/elfmacro.h b/libgloss/sparc_leon/asm-leon/elfmacro.h
deleted file mode 100644
index 02dfdc9..0000000
--- a/libgloss/sparc_leon/asm-leon/elfmacro.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEON_ELFMACRO_h
-#define _INCLUDE_LEON_ELFMACRO_h
-
-#ifdef __ASSEMBLER__
-#define _TEXT_SEG_ALIGN 4
-#define _LIBLEONBARE_TEXT_SEG_START \
- .text ; .balign _TEXT_SEG_ALIGN
-#define FUNC_BEGIN(func) func:
-#define FUNC_END(func) .size func, . - func
-
-#define GTEXT(sym) sym ; .type sym,@function
-#define GDATA(sym) sym ; .type sym,@object
-
-#define FUNC_EXPORT(func) .globl GTEXT(func)
-#define DATA_EXPORT(var) .globl GDATA(var)
-
-#define FUNC_IMPORT(func) .extern FUNC(func)
-#define DATA_IMPORT(var) .extern var
-#endif
-
-#ifndef weak_alias
-/* Define ALIASNAME as a weak alias for NAME. */
-# define weak_alias(name, aliasname) _weak_alias (name, aliasname)
-# define _weak_alias(name, aliasname) \
- extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
-#endif
-
-#ifndef strong_alias
-/* Define ALIASNAME as a strong alias for NAME. */
-# define strong_alias(name, aliasname) _strong_alias(name, aliasname)
-# define _strong_alias(name, aliasname) \
- extern __typeof (name) aliasname __attribute__ ((alias (#name)));
-#endif
-
-#ifndef __ASSEMBLER__
-typedef int (*initcall_t) (void);
-extern initcall_t __leonbare_initcall_start;
-extern initcall_t __leonbare_initcall_end;
-
-#endif
-
-#if __GNUC_MINOR__ >= 3
-# define __attribute_used__ __attribute__((__used__))
-#else
-# define __attribute_used__ __attribute__((__unused__))
-#endif
-
-#define __define_initcall(level,fn) \
- static initcall_t __initcall_##fn __attribute_used__ \
- __attribute__((__section__(".initcall" level ".init"))) = fn
-
-#define libc_initcall(fn) __define_initcall("1",fn)
-
-#endif /* !_INCLUDE_LEON_STACK_h */
diff --git a/libgloss/sparc_leon/asm-leon/head.h b/libgloss/sparc_leon/asm-leon/head.h
deleted file mode 100644
index 83aa4ae..0000000
--- a/libgloss/sparc_leon/asm-leon/head.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef __LEONBARE_HEAD_H
-#define __LEONBARE_HEAD_H
-
-/* This is for hard interrupts from level 1-14, 15 is non-maskable (nmi) and
- * gets handled with another macro.
- */
-#define TRAP_ENTRY_INTERRUPT(int_level) \
- mov int_level, %l7; rd %psr, %l0; b leonbare_irq_entry; rd %wim, %l3;
-
-#define TRAP_ENTRY(H) \
- rd %psr, %l0; b H; rd %wim, %l3; nop;
-
-
-#endif /* __SPARC_HEAD_H */
diff --git a/libgloss/sparc_leon/asm-leon/irq.h b/libgloss/sparc_leon/asm-leon/irq.h
deleted file mode 100644
index 5f542d5..0000000
--- a/libgloss/sparc_leon/asm-leon/irq.h
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _LEON_CATCHIRQ_HANDLER_H_
-#define _LEON_CATCHIRQ_HANDLER_H_
-
-#include <asm-leon/leon.h>
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/leoncompat.h>
-#include <asm-leon/leonstack.h>
-
-#ifndef __ASSEMBLER__
-
-struct pt_regs;
-typedef int (*irqhandler) (int, void *, struct leonbare_pt_regs *);
-
-struct irqaction
-{
- irqhandler handler;
- unsigned long flags;
- void *dev_id;
- struct irqaction *next;
-};
-#define INIT_IRQACTION { 0,0,0,0 }
-
-struct irqmp_type
-{
- int *addr;
- int eirq;
-};
-
-extern void chained_catch_interrupt (int irq, struct irqaction *a);
-extern int catch_interrupt (int func, int irq);
-
-typedef int (*schedulehandler) (struct leonbare_pt_regs *);
-extern schedulehandler schedule_callback;
-typedef int (*tickerhandler) (struct leonbare_pt_regs *);
-extern tickerhandler ticker_callback;
-extern int leonbare_hz;
-extern int nestcount;
-extern int no_inirq_check;
-extern unsigned long force_noalarm;
-
-extern void (*handler_irq_pre) (void);
-extern void (*handler_irq_post) (void);
-
-extern void leonbare_enable_traps (unsigned long old_flags);
-extern unsigned long leonbare_disable_traps ();
-extern void leonbare_flush_windows ();
-
-static inline void
-leonbare_enable_irq (int irq)
-{
- unsigned int old, irqmask = 1 << irq;
- old = leonbare_disable_traps ();
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- LEON3_IrqCtrl_Regs->mask[0] = LEON3_IrqCtrl_Regs->mask[0] | irqmask;
- break;
- }
- //---------------------
- leonbare_enable_traps (old);
-}
-
-typedef int (*pendinghandler) (void *);
-struct pendingaction
-{
- TAILQ_ENTRY (pendingaction) next;
- pendinghandler handler;
- void *arg;
-};
-
-#endif
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/jiffies.h b/libgloss/sparc_leon/asm-leon/jiffies.h
deleted file mode 100644
index 60b0e27..0000000
--- a/libgloss/sparc_leon/asm-leon/jiffies.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _LINUX_JIFFIES_H
-#define _LINUX_JIFFIES_H
-
-#include <asm-leon/types.h>
-#include <asm-leon/clock.h>
-#include <asm-leon/linkage.h>
-
-/* Suppose we want to devide two numbers NOM and DEN: NOM/DEN, the we can
- * improve accuracy by shifting LSH bits, hence calculating:
- * (NOM << LSH) / DEN
- * This however means trouble for large NOM, because (NOM << LSH) may no
- * longer fit in 32 bits. The following way of calculating this gives us
- * some slack, under the following conditions:
- * - (NOM / DEN) fits in (32 - LSH) bits.
- * - (NOM % DEN) fits in (32 - LSH) bits.
- */
-#define SH_DIV(NOM,DEN,LSH) ( ((NOM / DEN) << LSH) \
- + (((NOM % DEN) << LSH) + DEN / 2) / DEN)
-
-/* TICK_NSEC is the time between ticks in nsec assuming real ACTHZ */
-#define TICK_NSEC (SH_DIV (1000000UL * 1000, (HZ<<8), 8))
-
-/*
- * The 64-bit value is not volatile - you MUST NOT read it
- * without sampling the sequence number in xtime_lock.
- */
-extern u64 jiffies_64;
-extern struct timespec xtime __attribute__ ((aligned (16)));
-#define jiffies (*((unsigned long *)(((unsigned long)(&jiffies_64))+4)))
-
-/*
- * These inlines deal with timer wrapping correctly. You are
- * strongly encouraged to use them
- * 1. Because people otherwise forget
- * 2. Because if the timer wrap changes in future you won't have to
- * alter your driver code.
- *
- * time_after(a,b) returns true if the time a is after time b.
- *
- * Do this with "<0" and ">=0" to only test the sign of the result. A
- * good compiler would generate better code (and a really good compiler
- * wouldn't care). Gcc is currently neither.
- */
-#define time_after(a,b) \
- (typecheck(unsigned long, a) && \
- typecheck(unsigned long, b) && \
- ((long)(b) - (long)(a) < 0))
-#define time_before(a,b) time_after(b,a)
-
-#define time_after_eq(a,b) \
- (typecheck(unsigned long, a) && \
- typecheck(unsigned long, b) && \
- ((long)(a) - (long)(b) >= 0))
-#define time_before_eq(a,b) time_after_eq(b,a)
-
-/*
- * Have the 32 bit jiffies value wrap 5 minutes after boot
- * so jiffies wrap bugs show up earlier.
- */
-#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
-
-static inline void
-set_normalized_timespec (struct timespec *ts, time_t sec, long nsec)
-{
- while (nsec > NSEC_PER_SEC)
- {
- nsec -= NSEC_PER_SEC;
- ++sec;
- }
- while (nsec < 0)
- {
- nsec += NSEC_PER_SEC;
- --sec;
- }
- ts->tv_sec = sec;
- ts->tv_nsec = nsec;
-}
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/lambapp.h b/libgloss/sparc_leon/asm-leon/lambapp.h
deleted file mode 100644
index ed406f1..0000000
--- a/libgloss/sparc_leon/asm-leon/lambapp.h
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _LAMBAPP_H
-#define _LAMBAPP_H
-
-
-/* Include VENDOR and DEVICE definitions */
-#include "lambapp_devs.h"
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
- struct ambapp_dev_hdr;
- struct ambapp_apb_info;
- struct ambapp_ahb_info;
-
- struct ambapp_dev_hdr
- {
- struct ambapp_dev_hdr *next; /* Next */
- struct ambapp_dev_hdr *prev; /* Previous Device. If (this == prev->child) prev is bus bridge */
- struct ambapp_dev_hdr *children; /* Points to first device on sub-bus */
- void *owner; /* Owner of this AMBA device */
- unsigned char dev_type; /* AHB MST, AHB SLV or APB SLV */
- unsigned char vendor; /* Vendor ID */
- unsigned short device; /* Device ID */
- void *devinfo; /* Device info (APB or AHB depending on type) */
- };
-
-#define AMBAPP_FLAG_FFACT_DIR 0x100 /* Frequency factor direction, 0=down, 1=up */
-#define AMBAPP_FLAG_FFACT 0x0f0 /* Frequency factor against top bus */
-#define AMBAPP_FLAG_MBUS 0x00c
-#define AMBAPP_FLAG_SBUS 0x003
-
- struct ambapp_apb_info
- {
- /* COMMON */
- unsigned char irq;
- unsigned char ver;
-
- /* APB SPECIFIC */
- unsigned int start;
- unsigned int mask;
- };
-
- struct ambapp_ahb_info
- {
- /* COMMON */
- unsigned char irq;
- unsigned char ver;
-
- /* AHB SPECIFIC */
- unsigned int start[4];
- unsigned int mask[4];
- char type[4]; /* type[N] Determine type of start[N]-mask[N], 2=AHB Memory Space, 3=AHB I/O Space */
- unsigned int custom[3];
- };
-
-/* Describes a complete AMBA Core. Each device may consist of 3 interfaces */
- struct ambapp_dev_info
- {
- char irq; /* irq=-1 indicate no IRQ */
- unsigned char vendor;
- unsigned short device;
- int index; /* Core index if multiple "subcores" in one */
- struct ambapp_ahb_info *ahb_mst;
- struct ambapp_ahb_info *ahb_slv;
- struct ambapp_apb_info *apb_slv;
- };
-
- struct ambapp_mmap
- {
- unsigned int size;
- unsigned int local_adr;
- unsigned int remote_adr;
- };
-
-/* Complete AMBA PnP information */
- struct ambapp_bus
- {
- struct ambapp_mmap *mmaps;
- struct ambapp_dev_hdr *root;
- };
-
-/*
- * Return values
- * 0 - continue
- * 1 - stop scanning
- */
- typedef int (*ambapp_func_t) (struct ambapp_dev_hdr * dev, int index,
- int maxdepth, void *arg);
-
-#define DEV_IS_FREE(dev) (dev->owner == NULL)
-#define DEV_IS_ALLOCATED(dev) (dev->owner != NULL)
-
-/* Options to ambapp_for_each */
-#define OPTIONS_AHB_MSTS 0x00000001
-#define OPTIONS_AHB_SLVS 0x00000002
-#define OPTIONS_APB_SLVS 0x00000004
-#define OPTIONS_ALL_DEVS (OPTIONS_AHB_MSTS|OPTIONS_AHB_SLVS|OPTIONS_APB_SLVS)
-
-#define OPTIONS_FREE 0x00000010
-#define OPTIONS_ALLOCATED 0x00000020
-#define OPTIONS_ALL (OPTIONS_FREE|OPTIONS_ALLOCATED)
-
-/* Depth first search, Defualt is breth first search. */
-#define OPTIONS_DEPTH_FIRST 0x00000100
-
-#define DEV_AHB_NONE 0
-#define DEV_AHB_MST 1
-#define DEV_AHB_SLV 2
-#define DEV_APB_SLV 3
-
-/* Structures used to access Plug&Play information directly */
- struct ambapp_pnp_ahb
- {
- const unsigned int id; /* VENDOR, DEVICE, VER, IRQ, */
- const unsigned int custom[3];
- const unsigned int mbar[4]; /* MASK, ADDRESS, TYPE, CACHABLE/PREFETCHABLE */
- };
-
- struct ambapp_pnp_apb
- {
- const unsigned int id; /* VENDOR, DEVICE, VER, IRQ, */
- const unsigned int iobar; /* MASK, ADDRESS, TYPE, CACHABLE/PREFETCHABLE */
- };
-
-#define ambapp_pnp_vendor(id) (((id) >> 24) & 0xff)
-#define ambapp_pnp_device(id) (((id) >> 12) & 0xfff)
-#define ambapp_pnp_ver(id) (((id)>>5) & 0x1f)
-#define ambapp_pnp_irq(id) ((id) & 0x1f)
-
-#define ambapp_pnp_start(mbar) (((mbar) & 0xfff00000) & (((mbar) & 0xfff0) << 16))
-#define ambapp_pnp_mbar_mask(mbar) (((mbar)>>4) & 0xfff)
-#define ambapp_pnp_mbar_type(mbar) ((mbar) & 0xf)
-
-#define ambapp_pnp_apb_start(iobar, base) ((base) | ((((iobar) & 0xfff00000)>>12) & (((iobar) & 0xfff0)<<4)) )
-#define ambapp_pnp_apb_mask(iobar) ((~(ambapp_pnp_mbar_mask(iobar)<<8) & 0x000fffff) + 1)
-
-#define AMBA_TYPE_AHBIO_ADDR(addr,base_ioarea) ((unsigned int)(base_ioarea) | ((addr) >> 12))
-
-#define AMBA_TYPE_APBIO 0x1
-#define AMBA_TYPE_MEM 0x2
-#define AMBA_TYPE_AHBIO 0x3
-
- extern int find_apbslv (int vendor, int device,
- struct ambapp_apb_info *dev);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/lambapp_devs.h b/libgloss/sparc_leon/asm-leon/lambapp_devs.h
deleted file mode 100644
index eda7d42..0000000
--- a/libgloss/sparc_leon/asm-leon/lambapp_devs.h
+++ /dev/null
@@ -1,242 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef __AMBAPP_DEVS_H__
-#define __AMBAPP_DEVS_H__
-
-/* Vendor codes */
-#define VENDOR_GAISLER 1
-#define VENDOR_PENDER 2
-#define VENDOR_ESA 4
-#define VENDOR_ASTRIUM 6
-#define VENDOR_OPENCHIP 7
-#define VENDOR_OPENCORES 8
-#define VENDOR_CONTRIB 9
-#define VENDOR_EONIC 11
-#define VENDOR_RADIONOR 15
-#define VENDOR_GLEICHMANN 16
-#define VENDOR_MENTA 17
-#define VENDOR_SUN 19
-#define VENDOR_MOVIDIA 20
-#define VENDOR_ORBITA 23
-#define VENDOR_SYNOPSYS 33
-#define VENDOR_NASA 34
-#define VENDOR_ACTEL 172
-#define VENDOR_CAL 202
-#define VENDOR_EMBEDDIT 234
-#define VENDOR_CETON 203
-
-/* Gaisler Research device id's */
-#define GAISLER_LEON2DSU 0x002
-#define GAISLER_LEON3 0x003
-#define GAISLER_LEON3DSU 0x004
-#define GAISLER_ETHAHB 0x005
-#define GAISLER_APBMST 0x006
-#define GAISLER_AHBUART 0x007
-#define GAISLER_SRCTRL 0x008
-#define GAISLER_SDCTRL 0x009
-#define GAISLER_SSRCTRL 0x00a
-#define GAISLER_APBUART 0x00c
-#define GAISLER_IRQMP 0x00d
-#define GAISLER_AHBRAM 0x00e
-#define GAISLER_AHBDPRAM 0x00f
-#define GAISLER_GPTIMER 0x011
-#define GAISLER_PCITRG 0x012
-#define GAISLER_PCISBRG 0x013
-#define GAISLER_PCIFBRG 0x014
-#define GAISLER_PCITRACE 0x015
-#define GAISLER_DMACTRL 0x016
-#define GAISLER_AHBTRACE 0x017
-#define GAISLER_DSUCTRL 0x018
-#define GAISLER_CANAHB 0x019
-#define GAISLER_GPIO 0x01a
-#define GAISLER_AHBROM 0x01b
-#define GAISLER_AHBJTAG 0x01c
-#define GAISLER_ETHMAC 0x01d
-#define GAISLER_SWNODE 0x01e
-#define GAISLER_SPW 0x01f
-#define GAISLER_AHB2AHB 0x020
-#define GAISLER_USBDC 0x021
-#define GAISLER_USB_DCL 0x022
-#define GAISLER_DDRMP 0x023
-#define GAISLER_ATACTRL 0x024
-#define GAISLER_DDRSP 0x025
-#define GAISLER_EHCI 0x026
-#define GAISLER_UHCI 0x027
-#define GAISLER_I2CMST 0x028
-#define GAISLER_SPW2 0x029
-#define GAISLER_AHBDMA 0x02a
-#define GAISLER_NUHOSP3 0x02b
-#define GAISLER_CLKGATE 0x02c
-#define GAISLER_SPICTRL 0x02d
-#define GAISLER_DDR2SP 0x02e
-#define GAISLER_SLINK 0x02f
-#define GAISLER_GRTM 0x030
-#define GAISLER_GRTC 0x031
-#define GAISLER_GRPW 0x032
-#define GAISLER_GRCTM 0x033
-#define GAISLER_GRHCAN 0x034
-#define GAISLER_GRFIFO 0x035
-#define GAISLER_GRADCDAC 0x036
-#define GAISLER_GRPULSE 0x037
-#define GAISLER_GRTIMER 0x038
-#define GAISLER_AHB2PP 0x039
-#define GAISLER_GRVERSION 0x03a
-#define GAISLER_APB2PW 0x03b
-#define GAISLER_PW2APB 0x03c
-#define GAISLER_GRCAN 0x03d
-#define GAISLER_I2CSLV 0x03e
-#define GAISLER_U16550 0x03f
-#define GAISLER_AHBMST_EM 0x040
-#define GAISLER_AHBSLV_EM 0x041
-#define GAISLER_GRTESTMOD 0x042
-#define GAISLER_ASCS 0x043
-#define GAISLER_IPMVBCTRL 0x044
-#define GAISLER_SPIMCTRL 0x045
-#define GAISLER_LEON4 0x048
-#define GAISLER_LEON4DSU 0x049
-#define GAISLER_GRPWM 0x04A
-#define GAISLER_FTAHBRAM 0x050
-#define GAISLER_FTSRCTRL 0x051
-#define GAISLER_AHBSTAT 0x052
-#define GAISLER_LEON3FT 0x053
-#define GAISLER_FTMCTRL 0x054
-#define GAISLER_FTSDCTRL 0x055
-#define GAISLER_FTSRCTRL8 0x056
-#define GAISLER_APBPS2 0x060
-#define GAISLER_VGACTRL 0x061
-#define GAISLER_LOGAN 0x062
-#define GAISLER_SVGACTRL 0x063
-#define GAISLER_T1AHB 0x064
-#define GAISLER_MP7WRAP 0x065
-#define GAISLER_GRSYSMON 0x066
-#define GAISLER_GRACECTRL 0x067
-#define GAISLER_B1553BC 0x070
-#define GAISLER_B1553RT 0x071
-#define GAISLER_B1553BRM 0x072
-#define GAISLER_SATCAN 0x080
-#define GAISLER_CANMUX 0x081
-#define GAISLER_GRTMRX 0x082
-#define GAISLER_GRTCTX 0x083
-#define GAISLER_GRTMDESC 0x084
-#define GAISLER_GRTMVC 0x085
-#define GAISLER_GEFFE 0x086
-#define GAISLER_AES 0x073
-#define GAISLER_ECC 0x074
-#define GAISLER_PCIF 0x075
-#define GAISLER_CLKMOD 0x076
-#define GAISLER_HAPSTRAK 0x077
-#define GAISLER_TEST_1X2 0x078
-#define GAISLER_WILD2AHB 0x079
-#define GAISLER_BIO1 0x07a
-
-#define GAISLER_PIPEWRAPPER 0xffa
-#define GAISLER_L2TIME 0xffd /* internal device: leon2 timer */
-#define GAISLER_L2C 0xffe /* internal device: leon2compat */
-#define GAISLER_PLUGPLAY 0xfff /* internal device: plug & play configarea */
-
-/* European Space Agency device id's */
-#define ESA_LEON2 0x002
-#define ESA_LEON2APB 0x003
-#define ESA_IRQ 0x005
-#define ESA_TIMER 0x006
-#define ESA_UART 0x007
-#define ESA_CFG 0x008
-#define ESA_IO 0x009
-#define ESA_MCTRL 0x00f
-#define ESA_PCIARB 0x010
-#define ESA_HURRICANE 0x011
-#define ESA_SPW_RMAP 0x012
-#define ESA_SPW2 0x012
-#define ESA_AHBUART 0x013
-#define ESA_SPWA 0x014
-#define ESA_BOSCHCAN 0x015
-#define ESA_IRQ2 0x016
-#define ESA_AHBSTAT 0x017
-#define ESA_WPROT 0x018
-#define ESA_WPROT2 0x019
-#define ESA_PDEC3AMBA 0x020
-#define ESA_PTME3AMBA 0x021
-
-#define OPENCHIP_APBGPIO 0x001
-#define OPENCHIP_APBI2C 0x002
-#define OPENCHIP_APBSPI 0x003
-#define OPENCHIP_APBCHARLCD 0x004
-#define OPENCHIP_APBPWM 0x005
-#define OPENCHIP_APBPS2 0x006
-#define OPENCHIP_APBMMCSD 0x007
-#define OPENCHIP_APBNAND 0x008
-#define OPENCHIP_APBLPC 0x009
-#define OPENCHIP_APBCF 0x00a
-#define OPENCHIP_APBSYSACE 0x00b
-#define OPENCHIP_APB1WIRE 0x00c
-#define OPENCHIP_APBJTAG 0x00d
-#define OPENCHIP_APBSUI 0x00e
-
-
-#define CONTRIB_CORE1 0x001
-#define CONTRIB_CORE2 0x002
-
-#define GLEICHMANN_CUSTOM 0x001
-#define GLEICHMANN_GEOLCD01 0x002
-#define GLEICHMANN_DAC 0x003
-#define GLEICHMANN_HPI 0x004
-#define GLEICHMANN_SPI 0x005
-#define GLEICHMANN_HIFC 0x006
-#define GLEICHMANN_ADCDAC 0x007
-#define GLEICHMANN_SPIOC 0x008
-#define GLEICHMANN_AC97 0x009
-
-#define SUN_T1 0x001
-#define SUN_S1 0x011
-
-#define ORBITA_1553B 0x001
-#define ORBITA_429 0x002
-#define ORBITA_SPI 0x003
-#define ORBITA_I2C 0x004
-#define ORBITA_SMARTCARD 0x064
-#define ORBITA_SDCARD 0x065
-#define ORBITA_UART16550 0x066
-#define ORBITA_CRYPTO 0x067
-#define ORBITA_SYSIF 0x068
-#define ORBITA_PIO 0x069
-#define ORBITA_RTC 0x0c8
-#define ORBITA_COLORLCD 0x12c
-#define ORBITA_PCI 0x190
-#define ORBITA_DSP 0x1f4
-#define ORBITA_USBHOST 0x258
-#define ORBITA_USBDEV 0x2bc
-
-#define NASA_EP32 0x001
-
-#define CAL_DDRCTRL 0x188
-
-#define ACTEL_COREMP7 0x001
-
-/* Opencores device id's */
-#define OPENCORES_PCIBR 0x4
-#define OPENCORES_ETHMAC 0x5
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/leon.h b/libgloss/sparc_leon/asm-leon/leon.h
deleted file mode 100644
index 8c13a1b..0000000
--- a/libgloss/sparc_leon/asm-leon/leon.h
+++ /dev/null
@@ -1,370 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEON_h
-#define _INCLUDE_LEON_h
-
-#include <asm-leon/leon3.h>
-#include <asm-leon/amba.h>
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-/* psr defines */
-#define SPARC_PSR_WIN_MASK 0x0000001f /* bit 0-4 */
-#define SPARC_PSR_ET_MASK 0x00000020 /* bit 5 */
-#define SPARC_PSR_PS_MASK 0x00000040 /* bit 6 */
-#define SPARC_PSR_S_MASK 0x00000080 /* bit 7 */
-#define SPARC_PSR_PIL_MASK 0x00000F00 /* bits 8 - 11 */
-#define SPARC_PSR_EF_MASK 0x00001000 /* bit 12 */
-#define SPARC_PSR_EC_MASK 0x00002000 /* bit 13 */
-#define SPARC_PSR_ICC_MASK 0x00F00000 /* bits 20 - 23 */
-#define SPARC_PSR_VER_MASK 0x0F000000 /* bits 24 - 27 */
-#define SPARC_PSR_IMPL_MASK 0xF0000000 /* bits 28 - 31 */
-#define SPARC_PSR_PIL_SHIFT 8
-
-#define SPARC_NUM_REGWIN _nwindows
-
-#ifndef __ASSEMBLER__
- extern int _nwindows;
- extern int _leon_version;
-#endif
-
-#define LEON_VERSION _leon_version
-
-/*
- * Interrupt Sources
- *
- * The interrupt source numbers directly map to the trap type and to
- * the bits used in the Interrupt Clear, Interrupt Force, Interrupt Mask,
- * and the Interrupt Pending Registers.
- */
-
-#define LEON_INTERRUPT_CORRECTABLE_MEMORY_ERROR 1
-#define LEON2_INTERRUPT_UART_2_RX_TX 2
-#define LEON2_INTERRUPT_UART_1_RX_TX 3
-#define LEON23_INTERRUPT_UART_2_RX_TX leon23_irqs[1] /*console.c */
-#define LEON23_INTERRUPT_UART_1_RX_TX leon23_irqs[0] /*console.c */
-#define LEON_INTERRUPT_EXTERNAL_0 4
-#define LEON_INTERRUPT_EXTERNAL_1 5
-#define LEON_INTERRUPT_EXTERNAL_2 6
-#define LEON_INTERRUPT_EXTERNAL_3 7
-#define LEON2_INTERRUPT_TIMER1 8
-#define LEON2_INTERRUPT_TIMER2 9
-#define LEON23_INTERRUPT_TIMER1 leon23_timerirqs[0] /* timer.c */
-#define LEON23_INTERRUPT_TIMER2 leon23_timerirqs[1] /* timer.c */
-#define LEON_INTERRUPT_EMPTY1 10
-#define LEON_INTERRUPT_EMPTY2 11
-#define LEON_INTERRUPT_EMPTY3 12
-#define LEON_INTERRUPT_EMPTY4 13
-#define LEON_INTERRUPT_EMPTY5 14
-#define LEON_INTERRUPT_EMPTY6 15
-
-#ifndef __ASSEMBLER__
-
-/*
- * Trap Types for on-chip peripherals
- *
- * Source: Table 8 - Interrupt Trap Type and Default Priority Assignments
- *
- * NOTE: The priority level for each source corresponds to the least
- * significant nibble of the trap type.
- */
-
-#define LEON_TRAP_TYPE( _source ) SPARC_ASYNCHRONOUS_TRAP((_source) + 0x10)
-
-#define LEON_TRAP_SOURCE( _trap ) ((_trap) - 0x10)
-
-#define LEON_INT_TRAP( _trap ) \
- ( (_trap) >= LEON_TRAP_TYPE( LEON_INTERRUPT_CORRECTABLE_MEMORY_ERROR ) && \
- (_trap) <= LEON_TRAP_TYPE( LEON_INTERRUPT_EMPTY6 ) )
-
-
-#endif
-
-
-/*
- * The following defines the bits in Memory Configuration Register 1.
- */
-
-#define LEON_MEMORY_CONFIGURATION_PROM_SIZE_MASK 0x0003C000
-
-/*
- * The following defines the bits in Memory Configuration Register 1.
- */
-
-#define LEON_MEMORY_CONFIGURATION_RAM_SIZE_MASK 0x00001E00
-
-
-/*
- * The following defines the bits in the Timer Control Register.
- */
-
-#define LEON_REG_TIMER_CONTROL_EN 0x00000001 /* 1 = enable counting */
- /* 0 = hold scalar and counter */
-#define LEON_REG_TIMER_CONTROL_RL 0x00000002 /* 1 = reload at 0 */
- /* 0 = stop at 0 */
-#define LEON_REG_TIMER_CONTROL_LD 0x00000004 /* 1 = load counter */
- /* 0 = no function */
-
-/*
- * The following defines the bits in the UART Control Registers.
- *
- */
-
-#define LEON_REG_UART_CONTROL_RTD 0x000000FF /* RX/TX data */
-
-/*
- * The following defines the bits in the LEON UART Status Registers.
- */
-
-#define LEON_REG_UART_STATUS_DR 0x00000001 /* Data Ready */
-#define LEON_REG_UART_STATUS_TSE 0x00000002 /* TX Send Register Empty */
-#define LEON_REG_UART_STATUS_THE 0x00000004 /* TX Hold Register Empty */
-#define LEON_REG_UART_STATUS_BR 0x00000008 /* Break Error */
-#define LEON_REG_UART_STATUS_OE 0x00000010 /* RX Overrun Error */
-#define LEON_REG_UART_STATUS_PE 0x00000020 /* RX Parity Error */
-#define LEON_REG_UART_STATUS_FE 0x00000040 /* RX Framing Error */
-#define LEON_REG_UART_STATUS_ERR 0x00000078 /* Error Mask */
-
-
-/*
- * The following defines the bits in the LEON UART Status Registers.
- */
-
-#define LEON_REG_UART_CTRL_RE 0x00000001 /* Receiver enable */
-#define LEON_REG_UART_CTRL_TE 0x00000002 /* Transmitter enable */
-#define LEON_REG_UART_CTRL_RI 0x00000004 /* Receiver interrupt enable */
-#define LEON_REG_UART_CTRL_TI 0x00000008 /* Transmitter interrupt enable */
-#define LEON_REG_UART_CTRL_PS 0x00000010 /* Parity select */
-#define LEON_REG_UART_CTRL_PE 0x00000020 /* Parity enable */
-#define LEON_REG_UART_CTRL_FL 0x00000040 /* Flow control enable */
-#define LEON_REG_UART_CTRL_LB 0x00000080 /* Loop Back enable */
-
-/* leon2 asis */
-#define ASI_LEON2_IFLUSH 0x05
-#define ASI_LEON2_DFLUSH 0x06
-#define ASI_LEON2_CACHEMISS 1
-
-/* leon3 asis */
-#define ASI_LEON3_IFLUSH 0x10
-#define ASI_LEON3_DFLUSH 0x11
-#define ASI_LEON3_CACHEMISS 1
-#define ASI_LEON3_SYSCTRL 0x02
-
-#define ASI_LEON23_ITAG 0x0c
-#define ASI_LEON23_DTAG 0x0e
-
-
-#ifndef __ASSEMBLER__
-
- unsigned int leonbare_leon23_loadnocache (unsigned int addr);
- unsigned int leonbare_leon23_loadnocache16 (unsigned int addr);
- unsigned int leonbare_leon23_loadnocache8 (unsigned int addr);
- unsigned int leonbare_leon23_storenocache (unsigned int addr,
- unsigned int value);
- unsigned int leonbare_leon23_storenocache16 (unsigned int addr,
- unsigned int value);
- unsigned int leonbare_leon23_storenocache8 (unsigned int addr,
- unsigned int value);
-
- unsigned int leonbare_leon3_loadnocache (unsigned int addr);
- unsigned int leonbare_leon3_loadnocache16 (unsigned int addr);
- unsigned int leonbare_leon3_loadnocache8 (unsigned int addr);
-
-
-/*
- * This is used to manipulate the on-chip registers.
- *
- * The following symbol must be defined in the linkcmds file and point
- * to the correct location.
- */
-
- extern unsigned long *LEON23_IRQ_mask_addr; /* in peripherals.h */
- extern unsigned long *LEON23_IRQ_force_addr; /* in peripherals.h */
- extern unsigned long *LEON23_IRQ_pending_addr; /* in peripherals.h */
- extern unsigned long *LEON23_IRQ_clear_addr; /* in peripherals.h */
-
-/*
- * Macros to manipulate the Interrupt Clear, Interrupt Force, Interrupt Mask,
- * and the Interrupt Pending Registers.
- *
- * NOTE: For operations which are not atomic, this code disables interrupts
- * to guarantee there are no intervening accesses to the same register.
- * The operations which read the register, modify the value and then
- * store the result back are vulnerable.
- */
-
-#define LEON_Clear_interrupt( _source ) \
- do { \
- (*LEON23_IRQ_clear_addr) = (1 << (_source)); \
- } while (0)
-
-#define LEON_Force_interrupt( _source ) \
- do { \
- (*LEON23_IRQ_force_addr) = (1 << (_source)); \
- } while (0)
-
-#define LEON_Is_interrupt_masked( _source ) \
- ((*LEON23_IRQ_mask_addr) & (1 << (_source)))
-
-#define LEON_Mask_interrupt( _source ) \
- do { \
- unsigned32 _level; \
- \
- _level = sparc_disable_interrupts(); \
- (*LEON23_IRQ_mask_addr) &= ~(1 << (_source)); \
- sparc_enable_interrupts( _level ); \
- } while (0)
-
-#define LEON_Unmask_interrupt( _source ) \
- do { \
- unsigned32 _level; \
- \
- _level = sparc_disable_interrupts(); \
- (*LEON23_IRQ_mask_addr) |= (1 << (_source)); \
- sparc_enable_interrupts( _level ); \
- } while (0)
-
-#define LEON_Disable_interrupt( _source, _previous ) \
- do { \
- unsigned32 _level; \
- unsigned32 _mask = 1 << (_source); \
- \
- _level = sparc_disable_interrupts(); \
- (_previous) = (*LEON23_IRQ_mask_addr); \
- (*LEON23_IRQ_mask_addr) = _previous & ~_mask; \
- sparc_enable_interrupts( _level ); \
- (_previous) &= _mask; \
- } while (0)
-
-#define LEON_Restore_interrupt( _source, _previous ) \
- do { \
- unsigned32 _level; \
- unsigned32 _mask = 1 << (_source); \
- \
- _level = sparc_disable_interrupts(); \
- (*LEON23_IRQ_mask_addr) = \
- ((*LEON23_IRQ_mask_addr) & ~_mask) | (_previous); \
- sparc_enable_interrupts( _level ); \
- } while (0)
-
-/*
- * Each timer control register is organized as follows:
- *
- * D0 - Enable
- * 1 = enable counting
- * 0 = hold scaler and counter
- *
- * D1 - Counter Reload
- * 1 = reload counter at zero and restart
- * 0 = stop counter at zero
- *
- * D2 - Counter Load
- * 1 = load counter with preset value
- * 0 = no function
- *
- */
-
-#define LEON_REG_TIMER_COUNTER_IRQEN 0x00000008
-
-#define LEON_REG_TIMER_COUNTER_RELOAD_AT_ZERO 0x00000002
-#define LEON_REG_TIMER_COUNTER_STOP_AT_ZERO 0x00000000
-
-#define LEON_REG_TIMER_COUNTER_LOAD_COUNTER 0x00000004
-
-#define LEON_REG_TIMER_COUNTER_ENABLE_COUNTING 0x00000001
-#define LEON_REG_TIMER_COUNTER_DISABLE_COUNTING 0x00000000
-
-#define LEON_REG_TIMER_COUNTER_RELOAD_MASK 0x00000002
-#define LEON_REG_TIMER_COUNTER_ENABLE_MASK 0x00000001
-
-#define LEON_REG_TIMER_COUNTER_DEFINED_MASK 0x00000003
-#define LEON_REG_TIMER_COUNTER_CURRENT_MODE_MASK 0x00000003
-
-/* console.c */
- int lo_sprintf (char *buf, const char *fmt, ...);
-
-/* do a virtual address read without cache */
- static __inline__ unsigned long leon23_getpsr ()
- {
- unsigned long retval;
- __asm__ __volatile__ ("mov %%psr, %0\n\t":"=r" (retval):);
- return retval;
- }
-
- extern __inline__ void sparc_leon2_dcache_flush (void)
- {
- __asm__
- __volatile__ ("sta %%g0, [%%g0] %0\n\t"::"i"
- (ASI_LEON2_IFLUSH):"memory");
- __asm__
- __volatile__ ("sta %%g0, [%%g0] %0\n\t"::"i"
- (ASI_LEON2_DFLUSH):"memory");
- };
-
-
- extern __inline__ void sparc_leon_dcache_flush (void)
- {
- switch (sparc_leon23_get_psr_version ())
- {
- case 0:
- case 2:
- sparc_leon2_dcache_flush ();
- break;
- default:
- sparc_leon3_dcache_flush ();
- break;
- }
- }
-
- extern int lolevelirqinstall (int irqnr, void (*handler) ());
- extern unsigned long locore_readtbr ();
- extern void _leonbase_Stop ();
-
- extern void uninstall_winoverflow_hook ();
- extern int install_winoverflow_hook (void (*func) (void));
-
- extern void sparc_leon23_icache_flush ();
- extern void sparc_leon23_dcache_flush ();
-
-#endif /* ! __ASSEMBLER__ */
-
-#ifdef __cplusplus
-}
-#endif
-
-#define TACODE_IRQCALL 2
-#define TACODE_IRQCALL_FLUSH 6
-
-#define TACODE_FLUSH 3
-#define TACODE_IRQCALLDIS 5
-
-
-
-#endif /* !_INCLUDE_LEON_h */
-/* end of include file */
diff --git a/libgloss/sparc_leon/asm-leon/leon3.h b/libgloss/sparc_leon/asm-leon/leon3.h
deleted file mode 100644
index e8b6cfe..0000000
--- a/libgloss/sparc_leon/asm-leon/leon3.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEON3_h
-#define _INCLUDE_LEON3_h
-
-#ifndef __ASSEMBLER__
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define ASI_LEON3_CACHEMISS 1
-#define ASI_LEON3_SYSCTRL 0x02
-#define ASI_LEON3_DFLUSH 0x11
-
-#define ASI_LEON3_SYSCTRL_ICFG 0x08
-#define ASI_LEON3_SYSCTRL_DCFG 0x0c
-#define ASI_LEON3_SYSCTRL_CFG_SNOOPING (1<<27)
-#define ASI_LEON3_SYSCTRL_CFG_SSIZE(c) (1<<((c>>20)&0xf))
-
-
- extern __inline__ unsigned long sparc_leon23_get_psr (void)
- {
- unsigned int retval;
- __asm__ __volatile__ ("rd %%psr, %0\n\t":"=r" (retval):);
- return (retval);
- }
-
- extern __inline__ unsigned long sparc_leon23_get_psr_version (void)
- {
- unsigned int psr = sparc_leon23_get_psr ();
- return (psr >> 24) & 0xf;
- }
-#define LEON_ISLEON2 (sparc_leon23_get_psr_version() == 2 || sparc_leon23_get_psr_version() == 0)
-#define LEON_ISLEON3 (sparc_leon23_get_psr_version() == 3)
-
- extern __inline__ unsigned long sparc_leon3_get_dcachecfg (void)
- {
- unsigned int retval;
- __asm__
- __volatile__ ("lda [%1] %2, %0\n\t":"=r" (retval):"r"
- (ASI_LEON3_SYSCTRL_DCFG), "i" (ASI_LEON3_SYSCTRL));
- return (retval);
- }
-
- extern __inline__ void sparc_leon3_enable_snooping (void)
- {
- /*enable snooping */
- __asm__ volatile ("lda [%%g0] 2, %%l1\n\t"
- "set 0x800000, %%l2\n\t"
- "or %%l2, %%l1, %%l2\n\t"
- "sta %%l2, [%%g0] 2\n\t":::"l1", "l2");
- };
-
- extern __inline__ void sparc_leon3_disable_cache (void)
- {
- /*asi 2 */
- __asm__ volatile ("lda [%%g0] 2, %%l1\n\t"
- "set 0x00000f, %%l2\n\t"
- "andn %%l2, %%l1, %%l2\n\t"
- "sta %%l2, [%%g0] 2\n\t":::"l1", "l2");
- };
-
-
-
- extern __inline__ void sparc_leon3_dcache_flush (void)
- {
- __asm__ __volatile__ (" flush "); //iflush
- __asm__
- __volatile__ ("sta %%g0, [%%g0] %0\n\t"::"i"
- (ASI_LEON3_DFLUSH):"memory");
- };
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !ASM */
-
-
-#endif /* !_INCLUDE_LEON3_h */
-/* end of include file */
diff --git a/libgloss/sparc_leon/asm-leon/leonbare_debug.h b/libgloss/sparc_leon/asm-leon/leonbare_debug.h
deleted file mode 100644
index ca9362f..0000000
--- a/libgloss/sparc_leon/asm-leon/leonbare_debug.h
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef __LEONBARE_KERNEL_DEBUG_H__
-#define __LEONBARE_KERNEL_DEBUG_H__
-
-#include <asm-leon/leondbg.h>
-
-/*
- #define LBDEBUG_DO_DEBUG
- #define LBDEBUG_DO_ASSERT
-*/
-
-#define LBDEBUG_ALWAYS_NR (1<<0)
-#define LBDEBUG_ASSERT_NR (1<<1)
-#define LBDEBUG_FNCALL_NR (1<<2)
-#define LBDEBUG_FNEXIT_NR (1<<3)
-#define LBDEBUG_SCHED_NR (1<<4)
-#define LBDEBUG_QUEUE_NR (1<<5)
-#define LBDEBUG_THREAD_NR (1<<6)
-
-#define LBDEBUG_PRINTF dbgleon_printf /*leonbare_debug_printf */
-
-#ifdef LBDEBUG_DO_DEBUG
-#ifndef __ASSEMBLER__
-extern int leonbare_debug;
-#endif
-# define PDEBUG_FLAGS_CHECK(c) ((c)&leonbare_debug)
-# define PDEBUG_FLAGS_SET(c) leonbare_debug |= c
-#else
-# define PDEBUG_FLAGS_CHECK(c) 0
-# define PDEBUG_FLAGS_SET(c)
-#endif
-
-#ifdef LBDEBUG_DO_DEBUG
-# define LBDEBUG(x, fmt, args...) do { if (PDEBUG_FLAGS_CHECK(x)) { LBDEBUG_PRINTF(fmt,args); } } while(0)
-#else
-# define LBDEBUG(x, fmt, args...)
-#endif
-
-#ifdef LBDEBUG_DO_ASSERT
-# define LBPASSERT(x, fmt, args...) if (!(x)) { LBDEBUG_PRINTF(fmt,args); while(1); }
-#else
-# define LBPASSERT(x, fmt, args...)
-#endif
-
-#ifndef LBDEBUG___FUNCTION__
-#define LBDEBUG___FUNCTION__ __FUNCTION__
-#endif
-
-#ifndef LBDEBUG___FUNCTION_WIDTH__
-#define LBDEBUG___FUNCTION_WIDTH__ "28"
-#endif
-
-#ifdef LBDEBUG_DO_FILE
-#ifndef LBDEBUG___FILE__
-#define LBDEBUG___FILE__ __FILE__
-#endif
-#ifndef LBDEBUG___FILE_WIDTH__
-#define LBDEBUG___FILE_WIDTH__ "28"
-#endif
-#define LBDEBUG___FILE_APPEND ,__FILE__
-#define LBDEBUG___FILE_FMT_APPEND ":%" LBDEBUG___FILE_WIDTH__ "s"
-#else
-#define LBDEBUG___FILE_APPEND
-#define LBDEBUG___FILE_FMT_APPEND
-#endif
-
-#ifdef LBDEBUG_DO_DEBUG
-# define LBDEBUG_HEADER(code) \
- if (PDEBUG_FLAGS_CHECK(code)) { \
- register unsigned int _GETSP asm("sp"); \
- LBDEBUG_PRINTF("[sp:%08x self(%08x):", _GETSP, LEONBARE_KR_CURRENT); \
- LBDEBUG_PRINTF("%10s",LEONBARE_TH_NAME_DBG(LEONBARE_KR_CURRENT)); \
- LBDEBUG_PRINTF(" %03d @ %" LBDEBUG___FUNCTION_WIDTH__ "s()" LBDEBUG___FILE_FMT_APPEND "]:" , __LINE__,LBDEBUG___FUNCTION__ LBDEBUG___FILE_APPEND); \
- }
-
-# define LBDEBUG_HEADER_PRINTF(code,fmt,args...) \
- if (PDEBUG_FLAGS_CHECK(code)) { \
- LBDEBUG_HEADER(code); \
- LBDEBUG_PRINTF(fmt,args); \
- }
-
-# define LBDEBUG_CODE_PRINTF(code,fmt,args...) \
- if (PDEBUG_FLAGS_CHECK(code)) { \
- LBDEBUG_PRINTF(fmt,args); \
- }
-#else
-# define LBDEBUG_HEADER(code)
-# define LBDEBUG_HEADER_PRINTF(code,fmt,args...)
-# define LBDEBUG_CODE_PRINTF(code,fmt,args...)
-#endif
-
-#define LBDEBUG_FNCALL LBDEBUG_HEADER_PRINTF(LBDEBUG_FNCALL_NR,"enter\n",0)
-#define LBDEBUG_FNEXIT LBDEBUG_HEADER_PRINTF(LBDEBUG_FNEXIT_NR,"exit\n",0)
-
-#ifndef __ASSEMBLER__
-
-int leonbare_debug_printf (const char *fmt, ...);
-
-#endif
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/leonbare_kernel.h b/libgloss/sparc_leon/asm-leon/leonbare_kernel.h
deleted file mode 100644
index 0924d47..0000000
--- a/libgloss/sparc_leon/asm-leon/leonbare_kernel.h
+++ /dev/null
@@ -1,438 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef __LEONBARE_KERNEL_H__
-#define __LEONBARE_KERNEL_H__
-
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/leon.h>
-#ifndef __ASSEMBLER__
-#include <asm-leon/leonbare_kernel_queue.h>
-#include <reent.h>
-#endif
-#include "irq.h"
-
-#define LEONBARE_RUNQ_READY_NR (2) /* queue 0-1 for ready */
-#define LEONBARE_RUNQ_SUSPENDED_IDX (2) /* queue 2 for suspended */
-#define LEONBARE_RUNQ_PREPARE_IDX (3) /* LEONBARE_RUNQ_READY_NR times queues */
-#define LEONBARE_RUNQ_KILLED_IDX (LEONBARE_RUNQ_PREPARE_IDX+LEONBARE_RUNQ_READY_NR) /* queue 2 for killed threads */
-#define LEONBARE_RUNQ_NR (LEONBARE_RUNQ_KILLED_IDX+1)
-
-#define LEONBARE_RUNQ_ISREADY(idx) ((idx) >= 0 && (idx) < LEONBARE_RUNQ_READY_NR)
-#define LEONBARE_RUNQ_ISPREPARE(idx) ((idx) >= LEONBARE_RUNQ_PREPARE_IDX && (idx) < LEONBARE_RUNQ_PREPARE_IDX+LEONBARE_RUNQ_READY_NR)
-#define LEONBARE_RUNQ_ISSUSPEND(idx) ((idx) == LEONBARE_RUNQ_SUSPENDED_IDX)
-#define LEONBARE_RUNQ_ISKILLED(idx) ((idx) == LEONBARE_RUNQ_KILLED_IDX)
-
-#ifndef __ASSEMBLER__
-
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
-#define MACRO_BEGIN do {
-#define MACRO_END } while (0)
-
-#define optbarrier() __asm__ __volatile__("": : :"memory")
-
-typedef struct leonbare_thread_ctx
-{
- unsigned long sf_locals[8];
- unsigned long sf_ins[8];
- unsigned long outs[8];
- unsigned long globals[8];
- unsigned long psr;
- unsigned long wim;
- unsigned long magic;
- unsigned long fpu;
- /* size aligned to 8 */
-} leonbare_thread_ctx_t;
-#define LEONBARE_THREAD_CTX_SZ sizeof(struct leonbare_thread_ctx)
-
-typedef
-LBTAILQ_HEAD (leonbare_mutex_queue, leonbare_mutex) *
- leonbare_mutex_queue_t;
-
-#endif
-#define LEONBARE_THREAD_OFFSET_CTX 0
-#ifndef __ASSEMBLER__
-
- struct leonbare_thread_protect
- {
- unsigned int runq;
- unsigned int krp_runq_depth;
- unsigned int krp_k_depth;
- struct leonbare_mutex *krp_m;
- unsigned int krp_m_depth;
- unsigned int krp_flags;;
- unsigned int krp_flags_depth;
- };
-
-#define LEONBARE_INT_DISABLE_DECL unsigned long _irq_flags = leonbare_disable_traps();
-#define LEONBARE_INT_ENABLE_DECL leonbare_enable_traps(_irq_flags);
-
-#define leonbare_setu32p(a,v) leonbare_leon23_storenocache(a,v)
-#define leonbare_setu32(a,v) leonbare_leon23_storenocache(a,v)
-#define leonbare_getu32(a) leonbare_leon23_loadnocache(a)
-
-#define LEONBARE_KERNEL_UNCACHED
-#ifndef LEONBARE_KERNEL_UNCACHED
-#define LEONBARE_KERNEL_SETU32P(a,v) (a=v)
-#define LEONBARE_KERNEL_SETU32(a,v) (a=v) /* uncached version should return v */
-#define LEONBARE_KERNEL_GETU32(a) (a)
-#define LEONBARE_KERNEL_GETU32P(a) (a)
-#define LEONBARE_KERNEL_GETI32(a) (a)
-#define LEONBARE_KERNEL_GETU32P_CAST(a,typ) ((typ)(a))
-#define LEONBARE_KERNEL_GETU32P_BARE(a) (*(a)) /* uncached: no & */
-#define LEONBARE_KERNEL_SETU32P_BARE(a,v) (*(a) = v) /* uncached: no & */
-#else
-#define LEONBARE_KERNEL_SETU32P(a,v) (leonbare_setu32p(&a,v))
-#define LEONBARE_KERNEL_SETU32(a,v) (leonbare_setu32p(&a,v)) /* uncached version should return v */
-#define LEONBARE_KERNEL_GETU32(a) (leonbare_getu32(&a))
-#define LEONBARE_KERNEL_GETU32P(a) ((void *)leonbare_getu32(&a))
-#define LEONBARE_KERNEL_GETI32(a) (leonbare_getu32(&a))
-#define LEONBARE_KERNEL_GETU32P_CAST(a,typ) ((typ)(LEONBARE_KERNEL_GETU32P(a)))
-#define LEONBARE_KERNEL_GETU32P_BARE(a) ((void *)leonbare_getu32(a)) /* uncached: no & */
-#define LEONBARE_KERNEL_SETU32P_BARE(a,v) (leonbare_setu32p(a,v)) /* uncached: no & */
-#endif
-
-
-#define LEONBARE_SMP_SPINLOCK_AQUIRE(l)
-#define LEONBARE_SMP_SPINLOCK_RELEASE(l)
-
-#define LEONBARE_ISQ_ISDISABLED ((leon23_getpsr() & SPARC_PSR_PIL_MASK) == SPARC_PSR_PIL_MASK)
-
-#define _LEONBARE_PROTECT_IRQ_START \
- if (LEONBARE_KR_CURRENT->th_prot.krp_flags_depth++) { \
- LBPASSERT((LEONBARE_ISQ_ISDISABLED),"Internal error: Recursiv IRQ protection with irq's enabled",0); \
- } else { \
- LEONBARE_KR_CURRENT->th_prot.krp_flags = leonbare_disable_traps(); \
- }
-
-#define _LEONBARE_PROTECT_IRQ_END \
- if (--LEONBARE_KR_CURRENT->th_prot.krp_flags_depth) { \
- LBPASSERT((LEONBARE_ISQ_ISDISABLED),"Internal error: Recursiv IRQ protection with irq's enabled",0); \
- } else { \
- leonbare_enable_traps(LEONBARE_KR_CURRENT->th_prot.krp_flags); \
- }
-
-#define _LEONBARE_PROTECT_MUTEXSTRUCT_START(m) \
- if (LEONBARE_KR_CURRENT->th_prot.krp_m_depth++) { \
- LBPASSERT((LEONBARE_KR_CURRENT->th_prot.krp_m == m),"Mutex protection only allowed for one mutex at a time",0); \
- } else { \
- LEONBARE_SMP_SPINLOCK_AQUIRE(m->smp_lock); \
- LEONBARE_KR_CURRENT->th_prot.krp_m = m; \
- }
-
-#define _LEONBARE_PROTECT_MUTEXSTRUCT_END(m) \
- LBPASSERT((LEONBARE_KR_CURRENT->th_prot.krp_m == m),"Mutex protection only allowed for one mutex at a time",0); \
- if ((--LEONBARE_KR_CURRENT->th_prot.krp_m_depth) == 0) { \
- LEONBARE_SMP_SPINLOCK_RELEASE(m->smp_lock); \
- }
-
-#define _LEONBARE_PROTECT_KERNEL_START \
- if (LEONBARE_KR_CURRENT->th_prot.krp_k_depth++ == 0) { \
- LEONBARE_SMP_SPINLOCK_AQUIRE(LEONBARE_KR_LOCK); \
- }
-
-#define _LEONBARE_PROTECT_KERNEL_END \
- if ((--LEONBARE_KR_CURRENT->th_prot.krp_k_depth) == 0) { \
- LEONBARE_SMP_SPINLOCK_RELEASE(LEONBARE_KR_LOCK); \
- }
-
-
-#define LEONBARE_PROTECT_MUTEXSTRUCT_START(m) \
- _LEONBARE_PROTECT_IRQ_START; \
- _LEONBARE_PROTECT_MUTEXSTRUCT_START(m)
-
-#define LEONBARE_PROTECT_MUTEXSTRUCT_END(m) \
- _LEONBARE_PROTECT_MUTEXSTRUCT_END(m) \
- _LEONBARE_PROTECT_IRQ_END;
-
-
-#define LEONBARE_PROTECT_KERNEL_START() \
- _LEONBARE_PROTECT_IRQ_START; \
- _LEONBARE_PROTECT_KERNEL_START;
-
-#define LEONBARE_PROTECT_KERNEL_END() \
- _LEONBARE_PROTECT_KERNEL_END; \
- _LEONBARE_PROTECT_IRQ_END;
-
- typedef struct leonbare_thread
- {
- struct leonbare_thread_ctx th_ctx;
- unsigned int th_flags;
-
- int th_account; /* how many ticks the thread stays in the readyqueue for one round */
- int th_caccount; /* current value of th_account, updated on reinsertion */
- unsigned int th_pri_idx; /* ready queue index */
- unsigned int th_runq_idx; /* ready queue index index */
- unsigned int th_runq_which; /* 0: ready queue, 1: ready prepare queue */
-
- char *th_name;
- int th_result;
- int (*th_func) (void *);
- void *th_arg;
- char *th_stack_base;
- unsigned int th_stack_size;
- struct _reent th_reent; /* reentrant structure for newlib */
- struct _reent *th_reentp; /* pointer to eather pt_reent or global reent */
-
- struct leonbare_thread_protect th_prot;
-
- LBTAILQ_ENTRY (leonbare_thread) th_runq;
- LBTAILQ_ENTRY (leonbare_thread) th_allq;
- LBTAILQ_ENTRY (leonbare_thread) th_mutex;
- struct leonbare_mutex_queue th_mutex_locked;
-
- } *leonbare_thread_t __attribute__ ((aligned (8)));
-
-#define LEONBARE_TH_FLAGS_get(c) LEONBARE_KERNEL_GETU32((c)->th_flags)
-#define LEONBARE_TH_ACCOUNT_get(c) LEONBARE_KERNEL_GETI32((c)->th_account)
-#define LEONBARE_TH_CACCOUNT_get(c) LEONBARE_KERNEL_GETI32((c)->th_caccount)
-
-#define LEONBARE_TH_PRI_IDX_get(c) LEONBARE_KERNEL_GETU32((c)->th_pri_idx)
-#define LEONBARE_TH_RUNQ_IDX_get(c) LEONBARE_KERNEL_GETU32((c)->th_runq_idx)
-#define LEONBARE_TH_RUNQ_WHICH_get(c) LEONBARE_KERNEL_GETU32((c)->th_runq_which)
-
-#define LEONBARE_TH_NAME_get(c) LEONBARE_KERNEL_GETU32P((c)->th_name)
-#define LEONBARE_TH_RESULT_get(c) LEONBARE_KERNEL_GETI32((c)->th_result)
-#define LEONBARE_TH_FUNC_get(c) LEONBARE_KERNEL_GETU32((c)->th_func)
-#define LEONBARE_TH_ARG_get(c) LEONBARE_KERNEL_GETU32((c)->th_arg)
-#define LEONBARE_TH_STACK_BASE_get(c) LEONBARE_KERNEL_GETU32P((c)->th_stack_base)
-#define LEONBARE_TH_STACK_SIZE_get(c) LEONBARE_KERNEL_GETU32((c)->th_stack_size)
-#define LEONBARE_TH_REENTP_get(c) LEONBARE_KERNEL_GETU32P((c)->th_reentp)
-
-
-
-
-#define LEONBARE_TH_NAME(c) (c->th_name)
-#define LEONBARE_TH_NAME_DBG(c) (LEONBARE_TH_NAME(c) ? LEONBARE_TH_NAME(c) : "<unknown>")
-
-#define LEONBARE_REENT_SET(p) ((_impure_ptr=(p)->th_reentp)==_impure_ptr)
-
-#define LEONBARE_TH_READY (1<<0)
-#define LEONBARE_TH_SUSPENDED (1<<1)
-#define LEONBARE_TH_TERMINATED (1<<2)
-#define LEONBARE_TH_FINISHED (1<<3)
-
-#define LEONBARE_TH_SATEMASK (LEONBARE_TH_READY | \
- LEONBARE_TH_SUSPENDED | \
- LEONBARE_TH_TERMINATED | \
- LEONBARE_TH_FINISHED)
-
-#define LEONBARE_TH_SETSTATE(c,f) c->th_flags = ((c->th_flags & ~LEONBARE_TH_SATEMASK) | (f & LEONBARE_TH_SATEMASK))
-#define LEONBARE_TH_ORSTATE(c,f) c->th_flags |= (f & LEONBARE_TH_SATEMASK)
-
- typedef LBTAILQ_HEAD (leonbare_thread_queue,
- leonbare_thread) * leonbare_thread_queue_t;
-
- extern struct leonbare_kernel leonbare_kernel;
-#define KERNEL_GLOBAL leonbare_kernel
- typedef struct leonbare_kernel
- {
- leonbare_thread_t kr_cur, kr_next;
- struct leonbare_thread_queue kr_runq[LEONBARE_RUNQ_NR];
- struct leonbare_thread_queue kr_allq;
- struct leonbare_mutex_queue kr_allm;
- int kr_is_inkernel, kr_need_schedule, kr_is_preemption, kr_runq_which;
- int kr_protect_flags;
- } leonbare_kernel_t __attribute__ ((aligned (8)));
-#define LEONBARE_KR_CURRENT (KERNEL_GLOBAL.kr_cur)
-#define LEONBARE_KR_NEXT (KERNEL_GLOBAL.kr_next)
-#define LEONBARE_KR_RUNQ(i) (&(KERNEL_GLOBAL.kr_runq[i]))
-#define LEONBARE_KR_RUNQ_WHICH (KERNEL_GLOBAL.kr_runq_which)
-#define LEONBARE_KR_ALLQ (&(KERNEL_GLOBAL.kr_allq))
-#define LEONBARE_KR_ALLM (&(KERNEL_GLOBAL.kr_allm))
-#define LEONBARE_KR_IS_IN_KERNEL (KERNEL_GLOBAL.kr_is_inkernel)
-#define LEONBARE_KR_IS_PREEMPTION (KERNEL_GLOBAL.kr_is_preemption)
-
-#define LEONBARE_KR_NEED_SCHEDULE (LEONBARE_KR_CURRENT != LEONBARE_KR_NEXT)
-
-#define LEONBARE_STACKALIGN(sp) ((((unsigned int)sp) + 7) & ~7)
-
-/* context switching macros, implemented via setjmp/longjmp plus saving errno */
-#define SAVE_CONTEXT(t) ( _leonbare_kernel_savecontext((t), 0) )
-#define RESTORE_CONTEXT(t) _leonbare_kernel_switchto((t), 1)
-
-#define KERNEL_SCHEDULE(f,retval) \
- MACRO_BEGIN \
- LEONBARE_KR_IS_IN_KERNEL--; \
- if (LEONBARE_KR_IS_IN_KERNEL == 0 && LEONBARE_KR_NEED_SCHEDULE) { \
- LEONBARE_KR_IS_IN_KERNEL++; \
- if ((f) && (SAVE_CONTEXT(LEONBARE_KR_CURRENT) == 0)) { \
- leonbare_sched(); \
- } \
- optbarrier(); \
- LEONBARE_KR_IS_IN_KERNEL--; \
- } \
- MACRO_END
-
-#define KERNEL_ENTER LEONBARE_KR_IS_IN_KERNEL++;
-#define KERNEL_EXIT(f,ret) KERNEL_SCHEDULE(f,ret)
-
- int leonbare_thread_init ();
- int leonbare_thread_create (struct leonbare_thread *thread, char *stack,
- int stacksize);
- int leonbare_sched_update ();
- leonbare_thread_t leonbare_sched_paytime ();
- void leonbare_sched_insert (struct leonbare_thread *thread, int head,
- int prepare);
- unsigned int leonbare_sched ();
- unsigned int reschedule ();
- unsigned int _leonbare_kernel_switchto (struct leonbare_thread *old,
- struct leonbare_thread *new);
-
-#define LEONBARE_STACK_DEFINE(n,size) unsigned char n[size] __attribute__((aligned(8)));
-#define LEONBARE_STACK_SIZE_DEFAULT 1024*20
-
- typedef struct leonbare_mutex
- {
- unsigned int mx_owner_cnt;
- leonbare_thread_t mx_owner;
- struct leonbare_thread_queue mx_threads;
- LBTAILQ_ENTRY (leonbare_mutex) mx_allm;
- LBTAILQ_ENTRY (leonbare_mutex) mx_locked;
-
- } *leonbare_mutex_t;
-
-#define LEONBARE_MUTEX_OWNER_GET(m) LEONBARE_KERNEL_GETU32(m->mx_owner)
-#define LEONBARE_MUTEX_OWNER_SET(m,o) LEONBARE_KERNEL_SETU32(m->mx_owner,o)
-#define LEONBARE_MUTEX_OWNER_CNT_GET(m) LEONBARE_KERNEL_GETU32(m->mx_owner_cnt)
-#define LEONBARE_MUTEX_OWNER_CNT_SET(m,o) LEONBARE_KERNEL_SETU32(m->mx_owner_cnt,o)
-
-#define LEONBARE_MUTEX_LOCK_TIMEOUT -1
-#define LEONBARE_MUTEX_LOCK_OK 0
-#define LEONBARE_MUTEX_LOCK_ERROR 1
-
-#define LEONBARE_MUTEX_UNLOCK_OK 0
-#define LEONBARE_MUTEX_UNLOCK_ERROR 1
-
-
-#define LEONBARE_PROTECT_DECL(flags) unsigned long flags;
-#define LEONBARE_PROTECT_KERNEL(flags) flags = leonbare_disable_traps();
-#define LEONBARE_UNPROTECT_KERNEL(flags) leonbare_enable_traps(flags);
-
-#define LEONBARE_PROTECT_MUTEX(flags,m) flags = leonbare_disable_traps();
-#define LEONBARE_UNPROTECT_MUTEX(flags,m) leonbare_enable_traps(flags);
-
-#else
-
-#define LEONBARE_THREAD_CTX_STORE_LOCALS(base_reg) \
- std %l0, [%base_reg + LEONBARE_THREAD_CTX_STACK_L0]; \
- std %l2, [%base_reg + LEONBARE_THREAD_CTX_STACK_L2]; \
- std %l4, [%base_reg + LEONBARE_THREAD_CTX_STACK_L4]; \
- std %l6, [%base_reg + LEONBARE_THREAD_CTX_STACK_L6];
-
-#define LEONBARE_THREAD_CTX_STORE_INS(base_reg) \
- std %i0, [%base_reg + LEONBARE_THREAD_CTX_STACK_I0]; \
- std %i2, [%base_reg + LEONBARE_THREAD_CTX_STACK_I2]; \
- std %i4, [%base_reg + LEONBARE_THREAD_CTX_STACK_I4]; \
- std %i6, [%base_reg + LEONBARE_THREAD_CTX_STACK_I6];
-
-#define LEONBARE_THREAD_CTX_STORE_OUTS(base_reg) \
- std %o0, [%base_reg + LEONBARE_THREAD_CTX_STACK_O0]; \
- std %o2, [%base_reg + LEONBARE_THREAD_CTX_STACK_O2]; \
- std %o4, [%base_reg + LEONBARE_THREAD_CTX_STACK_O4]; \
- std %o6, [%base_reg + LEONBARE_THREAD_CTX_STACK_O6];
-
-#define LEONBARE_THREAD_CTX_STORE_GLOBALS(base_reg) \
- st %g1, [%base_reg + LEONBARE_THREAD_CTX_STACK_G1]; \
- std %g2, [%base_reg + LEONBARE_THREAD_CTX_STACK_G2]; \
- std %g4, [%base_reg + LEONBARE_THREAD_CTX_STACK_G4]; \
- std %g6, [%base_reg + LEONBARE_THREAD_CTX_STACK_G6];
-
-
-#define LEONBARE_THREAD_CTX_LOAD_LOCALS(base_reg) \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_L0], %l0; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_L2], %l2; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_L4], %l4; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_L6], %l6;
-
-#define LEONBARE_THREAD_CTX_LOAD_INS(base_reg) \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_I0], %i0; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_I2], %i2; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_I4], %i4; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_I6], %i6;
-
-#define LEONBARE_THREAD_CTX_LOAD_OUTS(base_reg) \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_O0], %o0; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_O2], %o2; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_O4], %o4; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_O6], %o6;
-
-#define LEONBARE_THREAD_CTX_LOAD_GLOBALS(base_reg) \
- ld [%base_reg + LEONBARE_THREAD_CTX_STACK_G1], %g1; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_G2], %g2; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_G4], %g4; \
- ldd [%base_reg + LEONBARE_THREAD_CTX_STACK_G6], %g6;
-
-
-#define LEONBARE_THREAD_CTX_STACK_L0 (0*8*4)
-#define LEONBARE_THREAD_CTX_STACK_L2 (LEONBARE_THREAD_CTX_STACK_L0+(2*4))
-#define LEONBARE_THREAD_CTX_STACK_L4 (LEONBARE_THREAD_CTX_STACK_L0+(4*4))
-#define LEONBARE_THREAD_CTX_STACK_L6 (LEONBARE_THREAD_CTX_STACK_L0+(6*4))
-
-#define LEONBARE_THREAD_CTX_STACK_I0 (1*8*4)
-#define LEONBARE_THREAD_CTX_STACK_I2 (LEONBARE_THREAD_CTX_STACK_I0+(2*4))
-#define LEONBARE_THREAD_CTX_STACK_I4 (LEONBARE_THREAD_CTX_STACK_I0+(4*4))
-#define LEONBARE_THREAD_CTX_STACK_I6 (LEONBARE_THREAD_CTX_STACK_I0+(6*4))
-
-#define LEONBARE_THREAD_CTX_STACK_O0 (2*8*4)
-#define LEONBARE_THREAD_CTX_STACK_O2 (LEONBARE_THREAD_CTX_STACK_O0+(2*4))
-#define LEONBARE_THREAD_CTX_STACK_O4 (LEONBARE_THREAD_CTX_STACK_O0+(4*4))
-#define LEONBARE_THREAD_CTX_STACK_O6 (LEONBARE_THREAD_CTX_STACK_O0+(6*4))
-
-#define LEONBARE_THREAD_CTX_STACK_G0 (3*8*4)
-#define LEONBARE_THREAD_CTX_STACK_G1 (LEONBARE_THREAD_CTX_STACK_G0+(1*4))
-#define LEONBARE_THREAD_CTX_STACK_G2 (LEONBARE_THREAD_CTX_STACK_G0+(2*4))
-#define LEONBARE_THREAD_CTX_STACK_G4 (LEONBARE_THREAD_CTX_STACK_G0+(4*4))
-#define LEONBARE_THREAD_CTX_STACK_G6 (LEONBARE_THREAD_CTX_STACK_G0+(6*4))
-
-#define LEONBARE_THREAD_CTX_STACK_PSR (4*8*4)
-#define LEONBARE_THREAD_CTX_STACK_WIM (LEONBARE_THREAD_CTX_STACK_PSR+4)
-#define LEONBARE_THREAD_CTX_STACK_MAGIC (LEONBARE_THREAD_CTX_STACK_PSR+8)
-#define LEONBARE_THREAD_CTX_STACK_FPU (LEONBARE_THREAD_CTX_STACK_PSR+12)
-
-#define LEONBARE_THREAD_CTX_SZ (LEONBARE_THREAD_CTX_STACK_PSR+16)
-
-#endif /* __ASSEMBLER__ */
-
-# define LEONBARE_STOPALL \
- LBDEBUG_HEADER_PRINTF(LBDEBUG_ALWAYS_NR,"Stopped at %s(%d), possibly not implemented yet\n",__FUNCTION__,__LINE__); \
- _leonbare_Stop();
-
-#define LEONBARE_THREAD_CTX_MAGIC 0x1234
-
-#ifdef LBDEBUG_DO_ASSERT
-#define LEONBARE_VERIFYIRQDISABLED() LBPASSERT(((leon23_getpsr() & SPARC_PSR_PIL_MASK) == SPARC_PSR_PIL_MASK),"Irq must be disabled (pil==0xf)\n",0)
-#define LEONBARE_VERIFYSCHED() leonbare_sched_verify()
-#else
-#define LEONBARE_VERIFYIRQDISABLED()
-#define LEONBARE_VERIFYSCHED()
-#endif
-#define LEONBARE_PRINTQUEUES() if (PDEBUG_FLAGS_CHECK(LBDEBUG_QUEUE_NR)) { leonbare_sched_printqueue(); }
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/leonbare_kernel_queue.h b/libgloss/sparc_leon/asm-leon/leonbare_kernel_queue.h
deleted file mode 100644
index a51df10..0000000
--- a/libgloss/sparc_leon/asm-leon/leonbare_kernel_queue.h
+++ /dev/null
@@ -1,148 +0,0 @@
-//####BSDCOPYRIGHTBEGIN####
-//
-// -------------------------------------------
-//
-// Portions of this software may have been derived from OpenBSD,
-// FreeBSD or other sources, and are covered by the appropriate
-// copyright disclaimers included herein.
-//
-// Portions created by Red Hat are
-// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
-//
-// -------------------------------------------
-//
-//####BSDCOPYRIGHTEND####
-//==========================================================================
-
-/*
- * Copyright (c) 1991, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)queue.h 8.5 (Berkeley) 8/20/94
- * $FreeBSD: src/sys/sys/queue.h,v 1.32.2.4 2001/03/31 03:33:39 hsu Exp $
- */
-
-#ifndef _SYS_LEONBARE_QUEUE_H_
-#define _SYS_LEONBARE_QUEUE_H_
-
-
-/*
- * Tail queue definitions.
- */
-#define LBTAILQ_HEAD(name, type) \
-struct name { \
- struct type *tqh_first; /* first element */ \
- struct type **tqh_last; /* addr of last next element */ \
- char *tqh_name; \
-}
-
-#define LBTAILQ_HEAD_INITIALIZER(head) \
- { NULL, &(head).tqh_first, 0 }
-
-#define LBTAILQ_ENTRY(type) \
-struct { \
- struct type *tqe_next; /* next element */ \
- struct type **tqe_prev; /* address of previous next element */ \
-}
-
-/*
- * Tail queue functions.
- */
-#define LBTAILQ_EMPTY(head) (LEONBARE_KERNEL_GETU32P((head)->tqh_first) == NULL)
-
-#define LBTAILQ_HASTWO(head, field) ((!LBTAILQ_EMPTY(head)) && LBTAILQ_NEXT(LBTAILQ_FIRST(head),field))
-
-#define LBTAILQ_FOREACH(var, head, field) \
- for (var = LBTAILQ_FIRST(head); var; var = LBTAILQ_NEXT(var, field))
-
-#define LBTAILQ_FIRST(head) LEONBARE_KERNEL_GETU32P_CAST((head)->tqh_first,__typeof((head)->tqh_first))
-
-#define LBTAILQ_LAST(head, headname) \
- LEONBARE_KERNEL_GETU32P_BARE(LEONBARE_KERNEL_GETU32P(((struct headname *)(LEONBARE_KERNEL_GETU32P((head)->tqh_last)))->tqh_last))
-
-#define LBTAILQ_NEXT(elm, field) LEONBARE_KERNEL_GETU32P_CAST((elm)->field.tqe_next,__typeof((elm)->field.tqe_next))
-
-#define LBTAILQ_PREV(elm, headname, field) \
- LEONBARE_KERNEL_GETU32P_BARE(LEONBARE_KERNEL_GETU32P(((struct headname *)(LEONBARE_KERNEL_GETU32P((elm)->field.tqe_prev)))->tqh_last))
-
-/* #define LBTAILQ_INIT(head) do { \ */
-/* (head)->tqh_first = NULL; \ */
-/* (head)->tqh_last = &(head)->tqh_first; \ */
-/* (head)->tqh_name = 0; \ */
-/* } while (0) */
-
-#define LBTAILQ_INIT(head) do { \
- LEONBARE_KERNEL_SETU32P((head)->tqh_first,NULL); \
- LEONBARE_KERNEL_SETU32P((head)->tqh_last,&(head)->tqh_first); \
- LEONBARE_KERNEL_SETU32P((head)->tqh_name,0); \
-} while (0)
-
-/* #define LBTAILQ_INSERT_HEAD(head, elm, field) do { \ */
-/* if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \ */
-/* (head)->tqh_first->field.tqe_prev = \ */
-/* &(elm)->field.tqe_next; \ */
-/* else \ */
-/* (head)->tqh_last = &(elm)->field.tqe_next; \ */
-/* (head)->tqh_first = (elm); \ */
-/* (elm)->field.tqe_prev = &(head)->tqh_first; \ */
-/* } while (0) */
-
-#define LBTAILQ_INSERT_HEAD(head, elm, field) do { \
- if ((LEONBARE_KERNEL_SETU32P((elm)->field.tqe_next,LEONBARE_KERNEL_GETU32P((head)->tqh_first))) != NULL) \
- LEONBARE_KERNEL_SETU32P(LEONBARE_KERNEL_GETU32P_CAST((head)->tqh_first,__typeof ((head)->tqh_first))->field.tqe_prev,&(elm)->field.tqe_next); \
- else \
- LEONBARE_KERNEL_SETU32P((head)->tqh_last,&(elm)->field.tqe_next); \
- LEONBARE_KERNEL_SETU32P((head)->tqh_first,(elm)); \
- LEONBARE_KERNEL_SETU32P((elm)->field.tqe_prev,&(head)->tqh_first); \
-} while (0)
-
-#define LBTAILQ_INSERT_TAIL(head, elm, field) do { \
- LEONBARE_KERNEL_SETU32P((elm)->field.tqe_next,NULL); \
- LEONBARE_KERNEL_SETU32P((elm)->field.tqe_prev,LEONBARE_KERNEL_GETU32P((head)->tqh_last)); \
- LEONBARE_KERNEL_SETU32P_BARE(LEONBARE_KERNEL_GETU32P((head)->tqh_last),(elm)); \
- LEONBARE_KERNEL_SETU32P((head)->tqh_last,&(elm)->field.tqe_next); \
-} while (0)
-
-#define LBTAILQ_REMOVE(head, elm, field) do { \
- if (LEONBARE_KERNEL_GETU32P((elm)->field.tqe_next) != NULL) \
- LEONBARE_KERNEL_SETU32P(LEONBARE_KERNEL_GETU32P_CAST((elm)->field.tqe_next, __typeof((elm)->field.tqe_next))->field.tqe_prev, LEONBARE_KERNEL_GETU32P((elm)->field.tqe_prev)); \
- else \
- LEONBARE_KERNEL_SETU32P((head)->tqh_last, LEONBARE_KERNEL_GETU32P((elm)->field.tqe_prev)); \
- LEONBARE_KERNEL_SETU32P_BARE(LEONBARE_KERNEL_GETU32P((elm)->field.tqe_prev),LEONBARE_KERNEL_GETU32P((elm)->field.tqe_next)); \
- LEONBARE_KERNEL_SETU32P((elm)->field.tqe_next, 0); \
- LEONBARE_KERNEL_SETU32P((elm)->field.tqe_prev, 0); /* mark removed */ \
-} while (0)
-
-#define LBTAILQ_REMOVED(elm, field) (LEONBARE_KERNEL_GETU32P((elm)->field.tqe_next) == NULL && LEONBARE_KERNEL_GETU32P((elm)->field.tqe_prev) == NULL)
-
-
-
-#endif /* !_SYS_QUEUE_H_ */
diff --git a/libgloss/sparc_leon/asm-leon/leoncompat.h b/libgloss/sparc_leon/asm-leon/leoncompat.h
deleted file mode 100644
index 7158296..0000000
--- a/libgloss/sparc_leon/asm-leon/leoncompat.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEONCOMPAT_h
-#define _INCLUDE_LEONCOMPAT_h
-
-#include <asm-leon/leon.h>
-
-#ifndef __ASSEMBLER__
-
-#define LEONCOMPAT_VERSION _leon_version
-#define LEONCOMPAT_VERSION_ISLEON3 (LEONCOMPAT_VERSION == 3)
-extern int _leon_version;
-
-#endif /* __ASSEMBLER__ */
-
-#endif /* !_INCLUDE_LEONCOMPAT_h */
diff --git a/libgloss/sparc_leon/asm-leon/leondbg.h b/libgloss/sparc_leon/asm-leon/leondbg.h
deleted file mode 100644
index 7b5b1cd..0000000
--- a/libgloss/sparc_leon/asm-leon/leondbg.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _ASMSPARC_LEONDBG_H
-#define _ASMSPARC_LEONDBG_H
-
-#ifndef __ASSEMBLER__
-extern int dbgleon_printf (const char *fmt, ...);
-#endif
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/leonstack.h b/libgloss/sparc_leon/asm-leon/leonstack.h
deleted file mode 100644
index 94cb6ea..0000000
--- a/libgloss/sparc_leon/asm-leon/leonstack.h
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEON_STACK_h
-#define _INCLUDE_LEON_STACK_h
-
-#ifndef __ASSEMBLER__
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-/* process trap regs */
- struct leonbare_pt_regs
- {
- unsigned long psr;
- unsigned long pc;
- unsigned long npc;
- unsigned long y;
- unsigned long u_regs[16]; /* globals and ins */
- };
-#define PT_REGS_SZ sizeof(struct leonbare_pt_regs)
-
-/* A Sparc stack frame */
- struct sparc_stackframe_regs
- {
- unsigned long sf_locals[8];
- unsigned long sf_ins[6];
- struct sparc_stackframe_regs *sf_fp;
- unsigned long sf_callers_pc;
- char *sf_structptr;
- unsigned long sf_xargs[6];
- unsigned long sf_xxargs[1];
- };
-#define SF_REGS_SZ sizeof(struct sparc_stackframe_regs)
-
-/* A register window */
- struct sparc_regwindow_regs
- {
- unsigned long locals[8];
- unsigned long ins[8];
- };
-#define RW_REGS_SZ sizeof(struct sparc_regwindow_regs)
-
-/* A fpu window */
- struct sparc_fpuwindow_regs
- {
- unsigned long locals[32];
- unsigned long fsr;
- unsigned long dummy;
- unsigned long irqpsr;
- unsigned long lastctx;
- };
-#define FW_REGS_SZ sizeof(struct sparc_fpuwindow_regs)
-
-#ifdef __cplusplus
-}
-#endif
-
-#else
-#define PT_REGS_SZ 0x50 /* 20*4 */
-#define SF_REGS_SZ 0x60 /* 24*4 */
-#define RW_REGS_SZ 0x20 /* 16*4 */
-#define FW_REGS_SZ 0x90 /* 36*4 */
-#endif /* !ASM */
-
-/* These are for pt_regs. */
-#define PT_PSR 0x0
-#define PT_PC 0x4
-#define PT_NPC 0x8
-#define PT_Y 0xc
-#define PT_G0 0x10
-#define PT_WIM PT_G0
-#define PT_G1 0x14
-#define PT_G2 0x18
-#define PT_G3 0x1c
-#define PT_G4 0x20
-#define PT_G5 0x24
-#define PT_G6 0x28
-#define PT_G7 0x2c
-#define PT_I0 0x30
-#define PT_I1 0x34
-#define PT_I2 0x38
-#define PT_I3 0x3c
-#define PT_I4 0x40
-#define PT_I5 0x44
-#define PT_I6 0x48
-#define PT_FP PT_I6
-#define PT_I7 0x4c
-
-/* Stack_frame offsets */
-#define SF_L0 0x00
-#define SF_L1 0x04
-#define SF_L2 0x08
-#define SF_L3 0x0c
-#define SF_L4 0x10
-#define SF_L5 0x14
-#define SF_L6 0x18
-#define SF_L7 0x1c
-#define SF_I0 0x20
-#define SF_I1 0x24
-#define SF_I2 0x28
-#define SF_I3 0x2c
-#define SF_I4 0x30
-#define SF_I5 0x34
-#define SF_FP 0x38
-#define SF_PC 0x3c
-#define SF_RETP 0x40
-#define SF_XARG0 0x44
-#define SF_XARG1 0x48
-#define SF_XARG2 0x4c
-#define SF_XARG3 0x50
-#define SF_XARG4 0x54
-#define SF_XARG5 0x58
-#define SF_XXARG 0x5c
-
-/* Reg_window offsets */
-#define RW_L0 0x00
-#define RW_L1 0x04
-#define RW_L2 0x08
-#define RW_L3 0x0c
-#define RW_L4 0x10
-#define RW_L5 0x14
-#define RW_L6 0x18
-#define RW_L7 0x1c
-#define RW_I0 0x20
-#define RW_I1 0x24
-#define RW_I2 0x28
-#define RW_I3 0x2c
-#define RW_I4 0x30
-#define RW_I5 0x34
-#define RW_I6 0x38
-#define RW_I7 0x3c
-
-/* Fpu_window offsets */
-#define FW_F0 0x00
-#define FW_F2 0x08
-#define FW_F4 0x10
-#define FW_F6 0x18
-#define FW_F8 0x20
-#define FW_F10 0x28
-#define FW_F12 0x30
-#define FW_F14 0x38
-#define FW_F16 0x40
-#define FW_F18 0x48
-#define FW_F20 0x50
-#define FW_F22 0x58
-#define FW_F24 0x60
-#define FW_F26 0x68
-#define FW_F28 0x70
-#define FW_F30 0x78
-#define FW_FSR 0x80
-
-#endif /* !_INCLUDE_LEON_STACK_h */
diff --git a/libgloss/sparc_leon/asm-leon/liblocks.h b/libgloss/sparc_leon/asm-leon/liblocks.h
deleted file mode 100644
index 66f605f..0000000
--- a/libgloss/sparc_leon/asm-leon/liblocks.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef __LEONBARE_LIBLOCKS_H
-#define __LEONBARE_LIBLOCKS_H
-
-extern int (*__lbst_pthread_mutex_init) (pthread_mutex_t * __mutex,
- pthread_mutexattr_t * __mutex_attr);
-extern int (*__lbst_pthread_mutex_destroy) (pthread_mutex_t * __mutex);
-extern int (*__lbst_pthread_mutex_trylock) (pthread_mutex_t * __mutex);
-extern int (*__lbst_pthread_mutex_lock) (pthread_mutex_t * __mutex);
-extern int (*__lbst_pthread_mutex_unlock) (pthread_mutex_t * __mutex);
-extern int (*__lbst_pthread_mutexattr_init) (pthread_mutexattr_t * __attr);
-extern int (*__lbst_pthread_mutexattr_destroy) (pthread_mutexattr_t * __attr);
-extern int (*__lbst_pthread_mutexattr_settype) (pthread_mutexattr_t * __attr,
- int __kind);
-
-#endif /* __LEONBARE_LIBLOCKS_H */
diff --git a/libgloss/sparc_leon/asm-leon/linkage.h b/libgloss/sparc_leon/asm-leon/linkage.h
deleted file mode 100644
index d82eb90..0000000
--- a/libgloss/sparc_leon/asm-leon/linkage.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef H_LEONBARE_LINKAGE_H
-#define H_LEONBARE_LINKAGE_H
-
-#ifndef _ASM
-# define __inline__ __inline__ __attribute__((always_inline))
-
-#define likely(x) __builtin_expect(!!(x), 1)
-#define unlikely(x) __builtin_expect(!!(x), 0)
-#define barrier() __memory_barrier()
-
-#define gccalign8 __attribute__((aligned(8)))
-
-#else /* !_ASM */
-
-#define MCOUNT_SIZE 0 /* no instructions inserted */
-#define MCOUNT(x)
-
-/*
- * ENTRY provides the standard procedure entry code and an easy way to
- * insert the calls to mcount for profiling. ENTRY_NP is identical, but
- * never calls mcount.
- */
-#define ENTRY(x) \
- .section ".text"; \
- .align 4; \
- .global x; \
- .type x, #function; \
-x: MCOUNT(x)
-
-#define ENTRY_SIZE MCOUNT_SIZE
-
-#endif /* _ASM */
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/param.h b/libgloss/sparc_leon/asm-leon/param.h
deleted file mode 100644
index 4b24092..0000000
--- a/libgloss/sparc_leon/asm-leon/param.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _LEON_ASMSPARC_PARAM_H
-#define _LEON_ASMSPARC_PARAM_H
-
-/* note: this is also defined in machine/param.h */
-#define HZ 100UL /* Internal kernel timer frequency */
-#define CLOCK_TICK_RATE 1000000UL /* Underlying HZ */
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/queue.h b/libgloss/sparc_leon/asm-leon/queue.h
deleted file mode 100644
index 621bc30..0000000
--- a/libgloss/sparc_leon/asm-leon/queue.h
+++ /dev/null
@@ -1,570 +0,0 @@
-//####BSDCOPYRIGHTBEGIN####
-//
-// -------------------------------------------
-//
-// Portions of this software may have been derived from OpenBSD,
-// FreeBSD or other sources, and are covered by the appropriate
-// copyright disclaimers included herein.
-//
-// Portions created by Red Hat are
-// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
-//
-// -------------------------------------------
-//
-//####BSDCOPYRIGHTEND####
-//==========================================================================
-
-/*
- * Copyright (c) 1991, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)queue.h 8.5 (Berkeley) 8/20/94
- * $FreeBSD: src/sys/sys/queue.h,v 1.32.2.4 2001/03/31 03:33:39 hsu Exp $
- */
-
-#ifndef _SYS_QUEUE_H_
-#define _SYS_QUEUE_H_
-
-#ifndef __ASSEMBLER__
-
-/*
- * This file defines five types of data structures: singly-linked lists,
- * singly-linked tail queues, lists, tail queues, and circular queues.
- *
- * A singly-linked list is headed by a single forward pointer. The elements
- * are singly linked for minimum space and pointer manipulation overhead at
- * the expense of O(n) removal for arbitrary elements. New elements can be
- * added to the list after an existing element or at the head of the list.
- * Elements being removed from the head of the list should use the explicit
- * macro for this purpose for optimum efficiency. A singly-linked list may
- * only be traversed in the forward direction. Singly-linked lists are ideal
- * for applications with large datasets and few or no removals or for
- * implementing a LIFO queue.
- *
- * A singly-linked tail queue is headed by a pair of pointers, one to the
- * head of the list and the other to the tail of the list. The elements are
- * singly linked for minimum space and pointer manipulation overhead at the
- * expense of O(n) removal for arbitrary elements. New elements can be added
- * to the list after an existing element, at the head of the list, or at the
- * end of the list. Elements being removed from the head of the tail queue
- * should use the explicit macro for this purpose for optimum efficiency.
- * A singly-linked tail queue may only be traversed in the forward direction.
- * Singly-linked tail queues are ideal for applications with large datasets
- * and few or no removals or for implementing a FIFO queue.
- *
- * A list is headed by a single forward pointer (or an array of forward
- * pointers for a hash table header). The elements are doubly linked
- * so that an arbitrary element can be removed without a need to
- * traverse the list. New elements can be added to the list before
- * or after an existing element or at the head of the list. A list
- * may only be traversed in the forward direction.
- *
- * A tail queue is headed by a pair of pointers, one to the head of the
- * list and the other to the tail of the list. The elements are doubly
- * linked so that an arbitrary element can be removed without a need to
- * traverse the list. New elements can be added to the list before or
- * after an existing element, at the head of the list, or at the end of
- * the list. A tail queue may be traversed in either direction.
- *
- * A circle queue is headed by a pair of pointers, one to the head of the
- * list and the other to the tail of the list. The elements are doubly
- * linked so that an arbitrary element can be removed without a need to
- * traverse the list. New elements can be added to the list before or after
- * an existing element, at the head of the list, or at the end of the list.
- * A circle queue may be traversed in either direction, but has a more
- * complex end of list detection.
- *
- * For details on the use of these macros, see the queue(3) manual page.
- *
- *
- * SLIST LIST STAILQ TAILQ CIRCLEQ
- * _HEAD + + + + +
- * _ENTRY + + + + +
- * _INIT + + + + +
- * _EMPTY + + + + +
- * _FIRST + + + + +
- * _NEXT + + + + +
- * _PREV - - - + +
- * _LAST - - + + +
- * _FOREACH + + + + +
- * _FOREACH_REVERSE - - - + +
- * _INSERT_HEAD + + + + +
- * _INSERT_BEFORE - + - + +
- * _INSERT_AFTER + + + + +
- * _INSERT_TAIL - - + + +
- * _REMOVE_HEAD + - + - -
- * _REMOVE + + + + +
- *
- */
-
-/*
- * Singly-linked List definitions.
- */
-#define SLIST_HEAD(name, type) \
-struct name { \
- struct type *slh_first; /* first element */ \
-}
-
-#define SLIST_HEAD_INITIALIZER(head) \
- { NULL }
-
-#define SLIST_ENTRY(type) \
-struct { \
- struct type *sle_next; /* next element */ \
-}
-
-/*
- * Singly-linked List functions.
- */
-#define SLIST_EMPTY(head) ((head)->slh_first == NULL)
-
-#define SLIST_FIRST(head) ((head)->slh_first)
-
-#define SLIST_FOREACH(var, head, field) \
- for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
-
-#define SLIST_INIT(head) { \
- (head)->slh_first = NULL; \
-}
-
-#define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
- (elm)->field.sle_next = (slistelm)->field.sle_next; \
- (slistelm)->field.sle_next = (elm); \
-} while (0)
-
-#define SLIST_INSERT_HEAD(head, elm, field) do { \
- (elm)->field.sle_next = (head)->slh_first; \
- (head)->slh_first = (elm); \
-} while (0)
-
-#define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
-
-#define SLIST_REMOVE_HEAD(head, field) do { \
- (head)->slh_first = (head)->slh_first->field.sle_next; \
-} while (0)
-
-#define SLIST_REMOVE(head, elm, type, field) do { \
- if ((head)->slh_first == (elm)) { \
- SLIST_REMOVE_HEAD((head), field); \
- } \
- else { \
- struct type *curelm = (head)->slh_first; \
- while( curelm->field.sle_next != (elm) ) \
- curelm = curelm->field.sle_next; \
- curelm->field.sle_next = \
- curelm->field.sle_next->field.sle_next; \
- } \
-} while (0)
-
-/*
- * Singly-linked Tail queue definitions.
- */
-#define STAILQ_HEAD(name, type) \
-struct name { \
- struct type *stqh_first;/* first element */ \
- struct type **stqh_last;/* addr of last next element */ \
-}
-
-#define STAILQ_HEAD_INITIALIZER(head) \
- { NULL, &(head).stqh_first }
-
-#define STAILQ_ENTRY(type) \
-struct { \
- struct type *stqe_next; /* next element */ \
-}
-
-/*
- * Singly-linked Tail queue functions.
- */
-#define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
-
-#define STAILQ_INIT(head) do { \
- (head)->stqh_first = NULL; \
- (head)->stqh_last = &(head)->stqh_first; \
-} while (0)
-
-#define STAILQ_FIRST(head) ((head)->stqh_first)
-
-#define STAILQ_LAST(head, type, field) \
- (STAILQ_EMPTY(head) ? \
- NULL : \
- ((struct type *) \
- ((char *)((head)->stqh_last) - __offsetof(struct type, field))))
-
-#define STAILQ_FOREACH(var, head, field) \
- for((var) = (head)->stqh_first; (var); (var) = (var)->field.stqe_next)
-
-#define STAILQ_INSERT_HEAD(head, elm, field) do { \
- if (((elm)->field.stqe_next = (head)->stqh_first) == NULL) \
- (head)->stqh_last = &(elm)->field.stqe_next; \
- (head)->stqh_first = (elm); \
-} while (0)
-
-#define STAILQ_INSERT_TAIL(head, elm, field) do { \
- (elm)->field.stqe_next = NULL; \
- *(head)->stqh_last = (elm); \
- (head)->stqh_last = &(elm)->field.stqe_next; \
-} while (0)
-
-#define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \
- if (((elm)->field.stqe_next = (tqelm)->field.stqe_next) == NULL)\
- (head)->stqh_last = &(elm)->field.stqe_next; \
- (tqelm)->field.stqe_next = (elm); \
-} while (0)
-
-#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
-
-#define STAILQ_REMOVE_HEAD(head, field) do { \
- if (((head)->stqh_first = \
- (head)->stqh_first->field.stqe_next) == NULL) \
- (head)->stqh_last = &(head)->stqh_first; \
-} while (0)
-
-#define STAILQ_REMOVE_HEAD_UNTIL(head, elm, field) do { \
- if (((head)->stqh_first = (elm)->field.stqe_next) == NULL) \
- (head)->stqh_last = &(head)->stqh_first; \
-} while (0)
-
-#define STAILQ_REMOVE(head, elm, type, field) do { \
- if ((head)->stqh_first == (elm)) { \
- STAILQ_REMOVE_HEAD(head, field); \
- } \
- else { \
- struct type *curelm = (head)->stqh_first; \
- while( curelm->field.stqe_next != (elm) ) \
- curelm = curelm->field.stqe_next; \
- if((curelm->field.stqe_next = \
- curelm->field.stqe_next->field.stqe_next) == NULL) \
- (head)->stqh_last = &(curelm)->field.stqe_next; \
- } \
-} while (0)
-
-/*
- * List definitions.
- */
-#define LIST_HEAD(name, type) \
-struct name { \
- struct type *lh_first; /* first element */ \
-}
-
-#define LIST_HEAD_INITIALIZER(head) \
- { NULL }
-
-#define LIST_ENTRY(type) \
-struct { \
- struct type *le_next; /* next element */ \
- struct type **le_prev; /* address of previous next element */ \
-}
-
-/*
- * List functions.
- */
-
-#define LIST_EMPTY(head) ((head)->lh_first == NULL)
-
-#define LIST_FIRST(head) ((head)->lh_first)
-
-#define LIST_FOREACH(var, head, field) \
- for((var) = (head)->lh_first; (var); (var) = (var)->field.le_next)
-
-#define LIST_INIT(head) do { \
- (head)->lh_first = NULL; \
-} while (0)
-
-#define LIST_INSERT_AFTER(listelm, elm, field) do { \
- if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
- (listelm)->field.le_next->field.le_prev = \
- &(elm)->field.le_next; \
- (listelm)->field.le_next = (elm); \
- (elm)->field.le_prev = &(listelm)->field.le_next; \
-} while (0)
-
-#define LIST_INSERT_BEFORE(listelm, elm, field) do { \
- (elm)->field.le_prev = (listelm)->field.le_prev; \
- (elm)->field.le_next = (listelm); \
- *(listelm)->field.le_prev = (elm); \
- (listelm)->field.le_prev = &(elm)->field.le_next; \
-} while (0)
-
-#define LIST_INSERT_HEAD(head, elm, field) do { \
- if (((elm)->field.le_next = (head)->lh_first) != NULL) \
- (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
- (head)->lh_first = (elm); \
- (elm)->field.le_prev = &(head)->lh_first; \
-} while (0)
-
-#define LIST_NEXT(elm, field) ((elm)->field.le_next)
-
-#define LIST_REMOVE(elm, field) do { \
- if ((elm)->field.le_next != NULL) \
- (elm)->field.le_next->field.le_prev = \
- (elm)->field.le_prev; \
- *(elm)->field.le_prev = (elm)->field.le_next; \
-} while (0)
-
-/*
- * Tail queue definitions.
- */
-#define TAILQ_HEAD(name, type) \
-struct name { \
- struct type *tqh_first; /* first element */ \
- struct type **tqh_last; /* addr of last next element */ \
- char *tqh_name; \
-}
-
-#define TAILQ_HEAD_INITIALIZER(head) \
- { NULL, &(head).tqh_first, 0 }
-
-#define TAILQ_ENTRY(type) \
-struct { \
- struct type *tqe_next; /* next element */ \
- struct type **tqe_prev; /* address of previous next element */ \
-}
-
-/*
- * Tail queue functions.
- */
-#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
-
-#define TAILQ_HASTWO(head, field) ((!TAILQ_EMPTY(head)) && TAILQ_NEXT(TAILQ_FIRST(head),field))
-
-#define TAILQ_FOREACH(var, head, field) \
- for (var = TAILQ_FIRST(head); var; var = TAILQ_NEXT(var, field))
-
-#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
- for ((var) = TAILQ_LAST((head), headname); \
- (var); \
- (var) = TAILQ_PREV((var), headname, field))
-
-#define TAILQ_FIRST(head) ((head)->tqh_first)
-
-#define TAILQ_LAST(head, headname) \
- (*(((struct headname *)((head)->tqh_last))->tqh_last))
-
-#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
-
-#define TAILQ_PREV(elm, headname, field) \
- (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
-
-#define TAILQ_INIT(head) do { \
- (head)->tqh_first = NULL; \
- (head)->tqh_last = &(head)->tqh_first; \
- (head)->tqh_name = 0; \
-} while (0)
-
-#define TAILQ_INSERT_HEAD(head, elm, field) do { \
- if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
- (head)->tqh_first->field.tqe_prev = \
- &(elm)->field.tqe_next; \
- else \
- (head)->tqh_last = &(elm)->field.tqe_next; \
- (head)->tqh_first = (elm); \
- (elm)->field.tqe_prev = &(head)->tqh_first; \
-} while (0)
-
-#define TAILQ_INSERT_TAIL(head, elm, field) do { \
- (elm)->field.tqe_next = NULL; \
- (elm)->field.tqe_prev = (head)->tqh_last; \
- *(head)->tqh_last = (elm); \
- (head)->tqh_last = &(elm)->field.tqe_next; \
-} while (0)
-
-#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
- if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
- (elm)->field.tqe_next->field.tqe_prev = \
- &(elm)->field.tqe_next; \
- else \
- (head)->tqh_last = &(elm)->field.tqe_next; \
- (listelm)->field.tqe_next = (elm); \
- (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
-} while (0)
-
-#define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
- (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
- (elm)->field.tqe_next = (listelm); \
- *(listelm)->field.tqe_prev = (elm); \
- (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
-} while (0)
-
-#define TAILQ_REMOVE(head, elm, field) do { \
- if (((elm)->field.tqe_next) != NULL) \
- (elm)->field.tqe_next->field.tqe_prev = \
- (elm)->field.tqe_prev; \
- else \
- (head)->tqh_last = (elm)->field.tqe_prev; \
- *(elm)->field.tqe_prev = (elm)->field.tqe_next; \
- (elm)->field.tqe_next = 0; \
- (elm)->field.tqe_prev = 0; /* mark removed */ \
-} while (0)
-
-#define TAILQ_REMOVED(elm, field) ((elm)->field.tqe_next == NULL && (elm)->field.tqe_prev == NULL)
-
-/*
- * Circular queue definitions.
- */
-#define CIRCLEQ_HEAD(name, type) \
-struct name { \
- struct type *cqh_first; /* first element */ \
- struct type *cqh_last; /* last element */ \
-}
-
-#define CIRCLEQ_ENTRY(type) \
-struct { \
- struct type *cqe_next; /* next element */ \
- struct type *cqe_prev; /* previous element */ \
-}
-
-/*
- * Circular queue functions.
- */
-#define CIRCLEQ_EMPTY(head) ((head)->cqh_first == (void *)(head))
-
-#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
-
-#define CIRCLEQ_FOREACH(var, head, field) \
- for((var) = (head)->cqh_first; \
- (var) != (void *)(head); \
- (var) = (var)->field.cqe_next)
-
-#define CIRCLEQ_FOREACH_REVERSE(var, head, field) \
- for((var) = (head)->cqh_last; \
- (var) != (void *)(head); \
- (var) = (var)->field.cqe_prev)
-
-#define CIRCLEQ_INIT(head) do { \
- (head)->cqh_first = (void *)(head); \
- (head)->cqh_last = (void *)(head); \
-} while (0)
-
-#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
- (elm)->field.cqe_next = (listelm)->field.cqe_next; \
- (elm)->field.cqe_prev = (listelm); \
- if ((listelm)->field.cqe_next == (void *)(head)) \
- (head)->cqh_last = (elm); \
- else \
- (listelm)->field.cqe_next->field.cqe_prev = (elm); \
- (listelm)->field.cqe_next = (elm); \
-} while (0)
-
-#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \
- (elm)->field.cqe_next = (listelm); \
- (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \
- if ((listelm)->field.cqe_prev == (void *)(head)) \
- (head)->cqh_first = (elm); \
- else \
- (listelm)->field.cqe_prev->field.cqe_next = (elm); \
- (listelm)->field.cqe_prev = (elm); \
-} while (0)
-
-#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \
- (elm)->field.cqe_next = (head)->cqh_first; \
- (elm)->field.cqe_prev = (void *)(head); \
- if ((head)->cqh_last == (void *)(head)) \
- (head)->cqh_last = (elm); \
- else \
- (head)->cqh_first->field.cqe_prev = (elm); \
- (head)->cqh_first = (elm); \
-} while (0)
-
-#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \
- (elm)->field.cqe_next = (void *)(head); \
- (elm)->field.cqe_prev = (head)->cqh_last; \
- if ((head)->cqh_first == (void *)(head)) \
- (head)->cqh_first = (elm); \
- else \
- (head)->cqh_last->field.cqe_next = (elm); \
- (head)->cqh_last = (elm); \
-} while (0)
-
-#define CIRCLEQ_LAST(head) ((head)->cqh_last)
-
-#define CIRCLEQ_NEXT(elm,field) ((elm)->field.cqe_next)
-
-#define CIRCLEQ_PREV(elm,field) ((elm)->field.cqe_prev)
-
-#define CIRCLEQ_REMOVE(head, elm, field) do { \
- if ((elm)->field.cqe_next == (void *)(head)) \
- (head)->cqh_last = (elm)->field.cqe_prev; \
- else \
- (elm)->field.cqe_next->field.cqe_prev = \
- (elm)->field.cqe_prev; \
- if ((elm)->field.cqe_prev == (void *)(head)) \
- (head)->cqh_first = (elm)->field.cqe_next; \
- else \
- (elm)->field.cqe_prev->field.cqe_next = \
- (elm)->field.cqe_next; \
-} while (0)
-
-/*
- * XXX insque() and remque() are an old way of handling certain queues.
- * They bogusly assumes that all queue heads look alike.
- */
-
-struct quehead
-{
- struct quehead *qh_link;
- struct quehead *qh_rlink;
-};
-
-#ifdef __GNUC__
-
-static __inline void
-insque (void *a, void *b)
-{
- struct quehead *element = a, *head = b;
-
- element->qh_link = head->qh_link;
- element->qh_rlink = head;
- head->qh_link = element;
- element->qh_link->qh_rlink = element;
-}
-
-static __inline void
-remque (void *a)
-{
- struct quehead *element = a;
-
- element->qh_link->qh_rlink = element->qh_rlink;
- element->qh_rlink->qh_link = element->qh_link;
- element->qh_rlink = 0;
-}
-
-#else /* !__GNUC__ */
-
-void insque __P ((void *a, void *b));
-void remque __P ((void *a));
-
-#endif /* __GNUC__ */
-
-#endif /* __ASSEMBLER__ */
-
-
-#endif /* !_SYS_QUEUE_H_ */
diff --git a/libgloss/sparc_leon/asm-leon/spinlock.h b/libgloss/sparc_leon/asm-leon/spinlock.h
deleted file mode 100644
index c3c0a7c..0000000
--- a/libgloss/sparc_leon/asm-leon/spinlock.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _INCLUDE_LEONSPINLOCK_h
-#define _INCLUDE_LEONSPINLOCK_h
-
-typedef struct
-{
- unsigned char lock;
-} raw_spinlock_t;
-
-#define __RAW_SPIN_LOCK_UNLOCKED { 0 }
-
-typedef struct
-{
- volatile unsigned int lock;
-} raw_rwlock_t;
-
-#define __RAW_RW_LOCK_UNLOCKED { 0 }
-
-static inline void
-__raw_spin_lock (raw_spinlock_t * lock)
-{
- __asm__ __volatile__ ("\n1:\n\t" "ldstuba [%0]1, %%g2\n\t" /* ASI_LEON23_DCACHE_MISS */
- "orcc %%g2, 0x0, %%g0\n\t" "bne,a 2f\n\t" " ldub [%0], %%g2\n\t" ".subsection 2\n" "2:\n\t" "orcc %%g2, 0x0, %%g0\n\t" "bne,a 2b\n\t" " ldub [%0], %%g2\n\t" "b,a 1b\n\t" ".previous\n": /* no outputs */
- :"r" (lock):"g2", "memory", "cc");
-}
-
-static inline int
-__raw_spin_trylock (raw_spinlock_t * lock)
-{
- unsigned int result;
- __asm__ __volatile__ ("ldstuba [%1]1, %0" /* ASI_LEON23_DCACHE_MISS */
- :"=r" (result):"r" (lock):"memory");
- return (result == 0);
-}
-
-static inline void
-__raw_spin_unlock (raw_spinlock_t * lock)
-{
- __asm__ __volatile__ ("stb %%g0, [%0]"::"r" (lock):"memory");
-}
-
-
-
-#endif /* _INCLUDE_LEONSPINLOCK_h */
-/* end of include file */
diff --git a/libgloss/sparc_leon/asm-leon/stack.h b/libgloss/sparc_leon/asm-leon/stack.h
deleted file mode 100644
index 5ba773b..0000000
--- a/libgloss/sparc_leon/asm-leon/stack.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _SYS_STACK_H_
-#define _SYS_STACK_H_
-
-#if !defined(_ASM)
-#include <sys/types.h>
-#endif
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-/*
- * A stack frame looks like:
- *
- * %fp->| |
- * |-------------------------------|
- * | Locals, temps, saved floats |
- * |-------------------------------|
- * | outgoing parameters past 6 |
- * |-------------------------------|-\
- * | 6 words for callee to dump | |
- * | register arguments | |
- * |-------------------------------| > minimum stack frame
- * | One word struct-ret address | |
- * |-------------------------------| |
- * | 16 words to save IN and | |
- * %sp->| LOCAL register on overflow | |
- * |-------------------------------|-/
- */
-
-/*
- * Constants defining a 32-bit stack frame.
- */
-#define WINDOWSIZE (16*4) /* size of window save area */
-#define ARGPUSHSIZE (6*4) /* size of arg dump area */
-#define ARGPUSH (WINDOWSIZE + 4) /* arg dump area offset */
-#define MINFRAME (WINDOWSIZE + ARGPUSHSIZE + 4) /* min frame */
-
-#define STACK_GROWTH_DOWN /* stacks grow from high to low addresses */
-
-/*
- * Stack alignment macros.
- */
-#define STACK_ALIGN 8
-#define SA(X) (((X)+(STACK_ALIGN-1)) & ~(STACK_ALIGN-1))
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _SYS_STACK_H */
diff --git a/libgloss/sparc_leon/asm-leon/time.h b/libgloss/sparc_leon/asm-leon/time.h
deleted file mode 100644
index 487190e..0000000
--- a/libgloss/sparc_leon/asm-leon/time.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _ASMSPARC_TIME_H
-#define _ASMSPARC_TIME_H
-
-extern struct timespec xtime;
-extern unsigned long tick_nsec; /* nsec per tick (resolution) */
-extern unsigned long nodotimer;
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/timer.h b/libgloss/sparc_leon/asm-leon/timer.h
deleted file mode 100644
index f650d2e..0000000
--- a/libgloss/sparc_leon/asm-leon/timer.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef _ASMSPARC_TIMER_H
-#define _ASMSPARC_TIMER_H
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <sys/time.h>
-#include <asm-leon/clock.h>
-
-#ifndef __ASSEMBLER__
-typedef int (*timerevent_handler) (void *);
-struct timerevent
-{
- TAILQ_ENTRY (timerevent) n;
- struct timespec expire;
- timerevent_handler handler;
- void *arg;
-
-};
-#endif
-
-#define GT_TIMESPEC(t1, t2) \
- (t1.tv_sec > t2.tv_sec || \
- (t1.tv_sec == t2.tv_sec && \
- t1.tv_nsec > t2.tv_nsec))
-
-#define GT_TIMEVAL(t1, t2) \
- (t1.tv_sec > t2.tv_sec || \
- (t1.tv_sec == t2.tv_sec && \
- t1.tv_usec > t2.tv_usec))
-
-/*
- * MINUS_TIME only works if src1 > src2
- */
-#define MINUS_TIMEVAL(dst, src1, src2) \
- if ((src2).tv_usec > (src1).tv_usec) { \
- (dst).tv_sec = (src1).tv_sec - (src2).tv_sec - 1; \
- (dst).tv_usec = ((src1).tv_usec - (src2).tv_usec) + USEC_PER_SEC; \
- } \
- else { \
- (dst).tv_sec = (src1).tv_sec - (src2).tv_sec; \
- (dst).tv_usec = (src1).tv_usec - (src2).tv_usec; \
- }
-
-/* Protypes */
-#ifndef __ASSEMBLER__
-void leonbare_init_ticks ();
-int addtimer (struct timerevent *e);
-#endif
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/types.h b/libgloss/sparc_leon/asm-leon/types.h
deleted file mode 100644
index fa9e721..0000000
--- a/libgloss/sparc_leon/asm-leon/types.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#ifndef H_LEONBARE_TYPES_H
-#define H_LEONBARE_TYPES_H
-
-typedef unsigned long long u64;
-
-#endif
diff --git a/libgloss/sparc_leon/asm-leon/winmacros.h b/libgloss/sparc_leon/asm-leon/winmacros.h
deleted file mode 100644
index 37ca676..0000000
--- a/libgloss/sparc_leon/asm-leon/winmacros.h
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
-/* Store the register window onto the 8-byte aligned area starting
- * at %reg. It might be %sp, it might not, we don't care.
- */
-#define RW_STORE(reg) \
- std %l0, [%reg + RW_L0]; \
- std %l2, [%reg + RW_L2]; \
- std %l4, [%reg + RW_L4]; \
- std %l6, [%reg + RW_L6]; \
- std %i0, [%reg + RW_I0]; \
- std %i2, [%reg + RW_I2]; \
- std %i4, [%reg + RW_I4]; \
- std %i6, [%reg + RW_I6];
-
-/* Load a register window from the area beginning at %reg. */
-#define RW_LOAD(reg) \
- ldd [%reg + RW_L0], %l0; \
- ldd [%reg + RW_L2], %l2; \
- ldd [%reg + RW_L4], %l4; \
- ldd [%reg + RW_L6], %l6; \
- ldd [%reg + RW_I0], %i0; \
- ldd [%reg + RW_I2], %i2; \
- ldd [%reg + RW_I4], %i4; \
- ldd [%reg + RW_I6], %i6;
-
-/* Loading and storing struct pt_reg trap frames. */
-#define PT_LOAD_INS(base_reg) \
- ldd [%base_reg + SF_REGS_SZ + PT_I0], %i0; \
- ldd [%base_reg + SF_REGS_SZ + PT_I2], %i2; \
- ldd [%base_reg + SF_REGS_SZ + PT_I4], %i4; \
- ldd [%base_reg + SF_REGS_SZ + PT_I6], %i6;
-
-#define PT_LOAD_GLOBALS(base_reg) \
- ld [%base_reg + SF_REGS_SZ + PT_G1], %g1; \
- ldd [%base_reg + SF_REGS_SZ + PT_G2], %g2; \
- ldd [%base_reg + SF_REGS_SZ + PT_G4], %g4; \
- ldd [%base_reg + SF_REGS_SZ + PT_G6], %g6;
-
-#define PT_LOAD_GLOBALS_23(base_reg) \
- ldd [%base_reg + SF_REGS_SZ + PT_G2], %g2;
-
-#define PT_LOAD_YREG(base_reg, scratch) \
- ld [%base_reg + SF_REGS_SZ + PT_Y], %scratch; \
- wr %scratch, 0x0, %y;
-
-#define PT_LOAD_PRIV(base_reg, pt_psr, pt_pc, pt_npc) \
- ld [%base_reg + SF_REGS_SZ + PT_PSR], %pt_psr; \
- ld [%base_reg + SF_REGS_SZ + PT_PC], %pt_pc; \
- ld [%base_reg + SF_REGS_SZ + PT_NPC], %pt_npc;
-
-#define PT_LOAD_ALL(base_reg, pt_psr, pt_pc, pt_npc, scratch) \
- PT_LOAD_YREG(base_reg, scratch) \
- PT_LOAD_INS(base_reg) \
- PT_LOAD_GLOBALS(base_reg) \
- PT_LOAD_PRIV(base_reg, pt_psr, pt_pc, pt_npc)
-
-#define PT_LOAD_ALL_FAST(base_reg, pt_psr, pt_pc, pt_npc, scratch) \
- PT_LOAD_YREG(base_reg, scratch) \
- PT_LOAD_GLOBALS(base_reg)
-
-#define PT_STORE_INS(base_reg) \
- std %i0, [%base_reg + SF_REGS_SZ + PT_I0]; \
- std %i2, [%base_reg + SF_REGS_SZ + PT_I2]; \
- std %i4, [%base_reg + SF_REGS_SZ + PT_I4]; \
- std %i6, [%base_reg + SF_REGS_SZ + PT_I6];
-
-#define PT_STORE_GLOBALS(base_reg) \
- st %g1, [%base_reg + SF_REGS_SZ + PT_G1]; \
- std %g2, [%base_reg + SF_REGS_SZ + PT_G2]; \
- std %g4, [%base_reg + SF_REGS_SZ + PT_G4]; \
- std %g6, [%base_reg + SF_REGS_SZ + PT_G6];
-
-#define PT_STORE_GLOBALS_23(base_reg) \
- std %g2, [%base_reg + SF_REGS_SZ + PT_G2];
-
-#define PT_STORE_YREG(base_reg, scratch) \
- rd %y, %scratch; \
- st %scratch, [%base_reg + SF_REGS_SZ + PT_Y];
-
-#define PT_STORE_PRIV(base_reg, pt_psr, pt_pc, pt_npc) \
- st %pt_psr, [%base_reg + SF_REGS_SZ + PT_PSR]; \
- st %pt_pc, [%base_reg + SF_REGS_SZ + PT_PC]; \
- st %pt_npc, [%base_reg + SF_REGS_SZ + PT_NPC];
-
-#define PT_STORE_ALL(base_reg, reg_psr, reg_pc, reg_npc, g_scratch) \
- PT_STORE_PRIV(base_reg, reg_psr, reg_pc, reg_npc) \
- PT_STORE_GLOBALS(base_reg) \
- PT_STORE_YREG(base_reg, g_scratch) \
- PT_STORE_INS(base_reg)
-
-#define PT_STORE_ALL_FAST(base_reg, reg_psr, reg_pc, reg_npc, g_scratch) \
- PT_STORE_GLOBALS(base_reg) \
- PT_STORE_YREG(base_reg, g_scratch)
-
-/* Store the fpu register window*/
-#define FW_STORE(reg) \
- std %f0, [reg + FW_F0]; \
- std %f2, [reg + FW_F2]; \
- std %f4, [reg + FW_F4]; \
- std %f6, [reg + FW_F6]; \
- std %f8, [reg + FW_F8]; \
- std %f10, [reg + FW_F10]; \
- std %f12, [reg + FW_F12]; \
- std %f14, [reg + FW_F14]; \
- std %f16, [reg + FW_F16]; \
- std %f18, [reg + FW_F18]; \
- std %f20, [reg + FW_F20]; \
- std %f22, [reg + FW_F22]; \
- std %f24, [reg + FW_F24]; \
- std %f26, [reg + FW_F26]; \
- std %f28, [reg + FW_F28]; \
- std %f30, [reg + FW_F30]; \
- st %fsr, [reg + FW_FSR];
-
-/* Load a fpu register window from the area beginning at reg. */
-#define FW_LOAD(reg) \
- ldd [reg + FW_F0], %f0; \
- ldd [reg + FW_F2], %f2; \
- ldd [reg + FW_F4], %f4; \
- ldd [reg + FW_F6], %f6; \
- ldd [reg + FW_F8], %f8; \
- ldd [reg + FW_F10], %f10; \
- ldd [reg + FW_F12], %f12; \
- ldd [reg + FW_F14], %f14; \
- ldd [reg + FW_F16], %f16; \
- ldd [reg + FW_F18], %f18; \
- ldd [reg + FW_F20], %f20; \
- ldd [reg + FW_F22], %f22; \
- ldd [reg + FW_F24], %f24; \
- ldd [reg + FW_F26], %f26; \
- ldd [reg + FW_F28], %f28; \
- ldd [reg + FW_F30], %f30; \
- ld [reg + FW_FSR], %fsr;
-
-#define SET_WIM_CWPMIN2(psr_reg,tmp1,tmp2,tmp3,tmp4) \
- sethi %hi(_nwindows_min2), %##tmp1; \
- and %##psr_reg, SPARC_PSR_WIN_MASK, %##tmp3; \
- mov 1, %##tmp2; \
- ld [ %##tmp1 + %lo(_nwindows_min2)], %##tmp1; \
- sll %##tmp2, %##tmp3, %##tmp3; \
- sll %##tmp3, 2, %##tmp4; \
- srl %##tmp3, %##tmp1, %##tmp1; \
- or %##tmp4, %##tmp1, %##tmp3; \
- wr %##tmp3, 0x0, %wim; \
- nop; nop; nop;
-
-#define SET_WIM_CWPMIN1(psr_reg,tmp1,tmp2,tmp3,tmp4) \
- sethi %hi(_nwindows_min1), %##tmp1; \
- and %##psr_reg, SPARC_PSR_WIN_MASK, %##tmp3; \
- mov 1, %##tmp2; \
- ld [ %##tmp1 + %lo(_nwindows_min1)], %##tmp1; \
- sll %##tmp2, %##tmp3, %##tmp3; \
- sll %##tmp3, 1, %##tmp4; \
- srl %##tmp3, %##tmp1, %##tmp1; \
- or %##tmp4, %##tmp1, %##tmp3; \
- wr %##tmp3, 0x0, %wim; \
- nop; nop; nop;
diff --git a/libgloss/sparc_leon/bdinit.S b/libgloss/sparc_leon/bdinit.S
deleted file mode 100644
index 0e97af7..0000000
--- a/libgloss/sparc_leon/bdinit.S
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
- .section .text
- /* ------- */
- .weak bdinit1
- .set bdinit1,__bdinit1
- /* ------- */
-__bdinit1:
- retl
- nop
-
- .section .text
- /* ------- */
- .weak bdinit2
- .set bdinit2,__bdinit2
- /* ------- */
-__bdinit2:
- retl
- nop
-
- .section .text
- /* ------- */
- .weak prelibchook
- .set prelibchook,__prelibchook
- /* ------- */
-__prelibchook:
- retl
- nop
-
-
diff --git a/libgloss/sparc_leon/busscan.S b/libgloss/sparc_leon/busscan.S
deleted file mode 100644
index e7f1396..0000000
--- a/libgloss/sparc_leon/busscan.S
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-!unsigned int ahbslv_scan(register unsigned int vendor,register unsigned int driver) {
-! register unsigned int conf, mbar,i, *confp;
-! register unsigned int cfg_area = (unsigned int ) (LEON3_IO_AREA | LEON3_CONF_AREA | LEON3_AHB_SLAVE_CONF_AREA);
-! for (i = 0; i < LEON3_AHB_SLAVES; i++)
-! {
-! confp = (unsigned int*)(cfg_area + (i * LEON3_AHB_CONF_WORDS * 4));
-! conf = *confp;
-! //mbar = *(unsigned int*)(i * LEON3_AHB_CONF_WORDS+ (4 * 4));
-! if ((amba_vendor(conf) == vendor) && (amba_device(conf) == driver)) {
-! return (unsigned int)confp;
-! }
-! }
-! return 0;
-!}
-
-
- .section ".text"
- .global ahbslv_scan
- .align 4
-
-ahbslv_scan:
- mov %o0, %g1
- mov -2048, %o5
- mov 0, %o3
- sll %o3, 5, %o0
-.LL11:
- add %o5, %o0, %o4
- ld [%o5+%o0], %o2
- srl %o2, 24, %o0
- cmp %o0, %g1
- bne,a .LL10
- add %o3, 1, %o3
- srl %o2, 12, %o0
- and %o0, 4095, %o0
- cmp %o0, %o1
- be .LL1
- mov %o4, %o2
- add %o3, 1, %o3
-.LL10:
- cmp %o3, 7
- bleu,a .LL11
- sll %o3, 5, %o0
- mov 0, %o2
-.LL1:
- retl
- mov %o2, %o0
-
-
-!unsigned int apbslv_scan(register unsigned int base,register unsigned int vendor, register unsigned int driver) {
-! register unsigned int conf, mbar,i, *confp;
-! for (i = 0; i < LEON3_APB_SLAVES; i++)
-! {
-! confp = (unsigned int*)(base + (i * LEON3_APB_CONF_WORDS * 4));
-! conf = *confp;
-! //mbar = *(unsigned int*)(i * LEON3_AHB_CONF_WORDS+ (4 * 4));
-! if ((amba_vendor(conf) == vendor) && (amba_device(conf) == driver)) {
-! return (unsigned int)confp;
-! }
-! }
-! return 0;
-!}
-
-
- .section ".text"
- .align 4
- .global apbslv_scan
-
-apbslv_scan:
- mov %o0, %g1
- mov 0, %o4
- sll %o4, 3, %o0
-.LL22:
- add %g1, %o0, %o5
- ld [%g1+%o0], %o3
- srl %o3, 24, %o0
- cmp %o0, %o1
- bne,a .LL21
- add %o4, 1, %o4
- srl %o3, 12, %o0
- and %o0, 4095, %o0
- cmp %o0, %o2
- be .LL12
- mov %o5, %o3
- add %o4, 1, %o4
-.LL21:
- cmp %o4, 15
- bleu,a .LL22
- sll %o4, 3, %o0
- mov 0, %o3
-.LL12:
- retl
- mov %o3, %o0
-
-
-
-!unsigned int getbase(register unsigned int *mbar,register unsigned int iobase) {
-! register unsigned int conf = mbar[1];
-! return ((iobase & 0xfff00000) |
-! ((conf & 0xfff00000)>> 12)) & (((conf & 0x0000fff0) <<4) | 0xfff00000);
-!
-!}
-
-
- .section ".text"
- .align 4
- .global iobar_getbase
-
-iobar_getbase:
- ld [%o0+4], %o2
- sethi %hi(-1048576), %o3
- and %o1, %o3, %o1
- and %o2, %o3, %o0
- srl %o0, 12, %o0
- or %o1, %o0, %o1
- sethi %hi(64512), %o0
- or %o0, 1008, %o0
- and %o2, %o0, %o2
- sll %o2, 4, %o2
- or %o2, %o3, %o2
- and %o1, %o2, %o1
- retl
- mov %o1, %o0
-
diff --git a/libgloss/sparc_leon/cacheA.S b/libgloss/sparc_leon/cacheA.S
deleted file mode 100644
index e982884..0000000
--- a/libgloss/sparc_leon/cacheA.S
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-
- .seg "data"
- .global sparc_leon23_cache_flush, sparc_leon23_icache_flush, sparc_leon23_dcache_flush
-
- .global _leon_version
-
- .seg "text"
-
-/* =============================================== */
-
-/* use only %o7 */
-sparc_leon23_icache_flush:
-sparc_leon3_icache_flush:
- retl
-sparc_leon23_cache_flush:
-sparc_leon3_cache_flush:
- sta %g0, [%g0] ASI_LEON3_IFLUSH
-sparc_leon23_dcache_flush:
-sparc_leon3_dcache_flush:
- retl
- sta %g0, [%g0] ASI_LEON3_DFLUSH
-
-
-
diff --git a/libgloss/sparc_leon/catch_interrupt.c b/libgloss/sparc_leon/catch_interrupt.c
deleted file mode 100644
index f55defa..0000000
--- a/libgloss/sparc_leon/catch_interrupt.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-#define NULL 0
-struct irqaction *_irqtbl[32] =
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-0, 0, 0, 0, 0, 0, 0 };
-struct irqaction _oirqtbl[32] =
- { INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION,
- INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION, INIT_IRQACTION
-};
-
-int
-catch_interrupt (int func, int irq)
-{
- struct irqaction *a = _irqtbl[irq];
- struct irqaction *n = &_oirqtbl[irq];
- if (irq >= 32)
- return 0;
-
- while (a)
- {
- if (a == n)
- {
- int tmp = (int) a->handler;
- a->handler = (irqhandler) func;
- return tmp;
- }
- a = a->next;
- }
- n->handler = (irqhandler) func;
- chained_catch_interrupt (irq, n);
- return 0;
-}
-
-void
-chained_catch_interrupt (int irq, struct irqaction *a)
-{
- a->next = _irqtbl[irq];
- _irqtbl[irq] = a;
-}
-
-int no_inirq_check = 0;
-int inirq[32] = { 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0
-};
-extern struct irqmp_type irqmp;
-
-void (*handler_irq_pre) (void) = 0;
-void (*handler_irq_post) (void) = 0;
-handler_irq (int irq, struct leonbare_pt_regs *pt_regs)
-{
- struct irqaction *a;
-
- if (irq == irqmp.eirq)
- irq = irqmp.addr[48] & 0x1f;
- if (!irq)
- irq = irqmp.eirq;
-
- a = _irqtbl[irq];
-
- while (a)
- {
- if (a->handler)
- {
-#ifndef CONFIG_LEONBARE_NONESTEDIRQ
- if (no_inirq_check || !(inirq[irq]))
- {
-#endif
- inirq[irq]++;
- if (handler_irq_pre)
- handler_irq_pre ();
- a->handler (irq, a->dev_id, pt_regs);
- if (handler_irq_post)
- handler_irq_post ();
- inirq[irq]--;
-#ifndef CONFIG_LEONBARE_NONESTEDIRQ
- }
-#endif
- }
- a = a->next;
- }
-}
-
-schedulehandler schedule_callback = 0;
diff --git a/libgloss/sparc_leon/catch_interrupt_mvt.c b/libgloss/sparc_leon/catch_interrupt_mvt.c
deleted file mode 100644
index da0332a..0000000
--- a/libgloss/sparc_leon/catch_interrupt_mvt.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-#define NULL 0
-
-
-/* multi vector trapping version of trap handler installs */
-int
-mvtlolevelirqinstall (int irqnr, void (*handler) ())
-{
- unsigned long h = (unsigned long) handler;
- unsigned long *addr =
- (unsigned long *) ((locore_readtbr () & ~0xFFF) + 0x100 + (16 * irqnr));
-
- if (irqnr == 0 || irqnr >= 15)
- {
- return 0;
- }
-
- addr[0] = ((h >> 10) & 0x3fffff) | 0x29000000; /* 29000000: sethi %hi(handler), %l4 */
- addr[1] = ((h) & 0x3ff) | 0x81c52000; /* 81c52000: jmpl %l4 + %lo(handler), %g0 */
- addr[2] = 0x01000000; /* 01000000: nop */
- addr[3] = 0x01000000; /* 01000000: nop */
- return 1;
-}
-
-int
-lolevelirqinstall (int irqnr, void (*handler) ())
-{
- return mvtlolevelirqinstall (irqnr, handler);
-}
diff --git a/libgloss/sparc_leon/catch_interrupt_pending.c b/libgloss/sparc_leon/catch_interrupt_pending.c
deleted file mode 100644
index 1193cad..0000000
--- a/libgloss/sparc_leon/catch_interrupt_pending.c
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-#define NULL 0
-
-TAILQ_HEAD (pending_queue, pendingaction) pending =
-TAILQ_HEAD_INITIALIZER (pending);
-
- void add_pending (struct pendingaction *a)
-{
- unsigned long old = leonbare_disable_traps ();
- TAILQ_INSERT_TAIL (&pending, a, next);
- leonbare_enable_traps (old);
-}
-
-struct pendingaction *
-get_pending ()
-{
- struct pendingaction *a = 0;
- unsigned long old = leonbare_disable_traps ();
- if (a = TAILQ_FIRST (&pending))
- {
- TAILQ_REMOVE (&pending, a, next);
- }
- leonbare_enable_traps (old);
- return a;
-}
-
-void
-process_pending ()
-{
- struct pendingaction *a;
- while (a = get_pending ())
- {
- if (a->handler)
- {
- a->handler (a->arg);
- }
- }
-}
diff --git a/libgloss/sparc_leon/catch_interrupt_svt.c b/libgloss/sparc_leon/catch_interrupt_svt.c
deleted file mode 100644
index 065b5f1..0000000
--- a/libgloss/sparc_leon/catch_interrupt_svt.c
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-#define NULL 0
-
-/* single vector trapping version of trap handler installs */
-struct svt_trap_entry
-{
- int start, end, func;
-};
-extern struct svt_trap_entry trap_table[28];
-extern struct svt_trap_entry svt_trap_table_ext[17];
-extern struct svt_trap_entry svt_trap_table_ext_end;
-
-static struct svt_trap_entry *
-gettrap_pos (int nr)
-{
- struct svt_trap_entry *p = trap_table;
- while ((p->start) || (p->end) || (p->func))
- {
- if (p->start <= nr && p->end >= nr)
- {
- break;
- }
- p++;
- }
- return p;
-}
-
-int
-svtloleveltrapinstall (int trap, void (*handler) ())
-{
- struct svt_trap_entry *p = gettrap_pos (trap);
- if (p >= &svt_trap_table_ext_end)
- {
- return 0;
- }
- p->start = trap;
- p->end = trap;
- p->func = handler;
- return 1;
-}
-
-int
-svtlolevelirqinstall (int irqnr, void (*handler) ())
-{
- if (irqnr == 0 || irqnr >= 15)
- {
- return 0;
- }
- return svtloleveltrapinstall (irqnr + 0x10, handler);
-}
diff --git a/libgloss/sparc_leon/configure b/libgloss/sparc_leon/configure
deleted file mode 100755
index 0c93718..0000000
--- a/libgloss/sparc_leon/configure
+++ /dev/null
@@ -1,3877 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-target_makefile_frag_path
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/sparc_leon/configure.in b/libgloss/sparc_leon/configure.in
deleted file mode 100644
index fab622f..0000000
--- a/libgloss/sparc_leon/configure.in
+++ /dev/null
@@ -1,58 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/default.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/sparc_leon/console.c b/libgloss/sparc_leon/console.c
deleted file mode 100644
index 849aad9..0000000
--- a/libgloss/sparc_leon/console.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <stdlib.h>
-#include <ctype.h>
-
-int *console = (int *) 0x80000100;
diff --git a/libgloss/sparc_leon/console_dbg.c b/libgloss/sparc_leon/console_dbg.c
deleted file mode 100644
index 57c258f..0000000
--- a/libgloss/sparc_leon/console_dbg.c
+++ /dev/null
@@ -1,354 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <stdlib.h>
-#include <ctype.h>
-#ifdef _HAVE_STDC
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-#include <asm-leon/leoncompat.h>
-#include <asm-leon/leon.h>
-
-static size_t
-lo_strnlen (const char *s, size_t count)
-{
- const char *sc;
-
- for (sc = s; count-- && *sc != '\0'; ++sc)
- /* nothing */ ;
- return sc - s;
-}
-
-static int
-lo_vsnprintf (char *buf, size_t size, const char *fmt, va_list args)
-{
- int len;
- unsigned long long num;
- int i, j, n;
- char *str, *end, c;
- const char *s;
- int flags;
- int field_width;
- int precision;
- int qualifier;
- int filler;
-
- str = buf;
- end = buf + size - 1;
-
- if (end < buf - 1)
- {
- end = ((void *) -1);
- size = end - buf + 1;
- }
-
- for (; *fmt; ++fmt)
- {
- if (*fmt != '%')
- {
- if (*fmt == '\n')
- {
- if (str <= end)
- {
- *str = '\r';
- }
- str++;
- }
- if (str <= end)
- *str = *fmt;
- ++str;
- continue;
- }
-
- /* process flags */
- flags = 0;
- /* get field width */
- field_width = 0;
- /* get the precision */
- precision = -1;
- /* get the conversion qualifier */
- qualifier = 'l';
- filler = ' ';
-
- ++fmt;
-
- if (*fmt == '0')
- {
- filler = '0';
- ++fmt;
- }
-
- while (isdigit (*fmt))
- {
- field_width = field_width * 10 + ((*fmt) - '0');
- ++fmt;
- }
-
- /* default base */
- switch (*fmt)
- {
- case 'c':
- c = (unsigned char) va_arg (args, int);
- if (str <= end)
- *str = c;
- ++str;
- while (--field_width > 0)
- {
- if (str <= end)
- *str = ' ';
- ++str;
- }
- continue;
-
- case 's':
- s = va_arg (args, char *);
- if (!s)
- s = "<NULL>";
-
- len = lo_strnlen (s, precision);
-
- for (i = 0; i < len; ++i)
- {
- if (str <= end)
- *str = *s;
- ++str;
- ++s;
- }
- while (len < field_width--)
- {
- if (str <= end)
- *str = ' ';
- ++str;
- }
- continue;
-
-
- case '%':
- if (str <= end)
- *str = '%';
- ++str;
- continue;
-
- case 'x':
- break;
- case 'd':
- break;
-
- default:
- if (str <= end)
- *str = '%';
- ++str;
- if (*fmt)
- {
- if (str <= end)
- *str = *fmt;
- ++str;
- }
- else
- {
- --fmt;
- }
- continue;
- }
- num = va_arg (args, unsigned long);
- if (*fmt == 'd')
- {
- j = 0;
- while (num && str <= end)
- {
- *str = (num % 10) + '0';
- num = num / 10;
- ++str;
- j++;
- }
- /* flip */
- for (i = 0; i < (j / 2); i++)
- {
- n = str[(-j) + i];
- str[(-j) + i] = str[-(i + 1)];
- str[-(i + 1)] = n;
- }
- /* shift */
- if (field_width > j)
- {
- i = field_width - j;
- for (n = 1; n <= j; n++)
- {
- if (str + i - n <= end)
- {
- str[i - n] = str[-n];
- }
- }
- for (i--; i >= 0; i--)
- {
- str[i - j] = filler;
- }
- str += field_width - j;
- j = 1;
- }
- }
- else
- {
- for (j = 0, i = 0; i < 8 && str <= end; i++)
- {
- if ((n =
- ((unsigned long) (num & (0xf0000000ul >> (i * 4)))) >>
- ((7 - i) * 4)) || j != 0)
- {
- if (n >= 10)
- n += 'a' - 10;
- else
- n += '0';
- *str = n;
- ++str;
- j++;
- }
- }
-
- /* shift */
- if (field_width > j)
- {
- i = field_width - j;
- for (n = 1; n <= j; n++)
- {
- if (str + i - n <= end)
- {
- str[i - n] = str[-n];
- }
- }
- for (i--; i >= 0; i--)
- {
- str[i - j] = filler;
- }
- str += field_width - j;
- j = 1;
- }
-
-
- }
-
- if (j == 0 && str <= end)
- {
- *str = '0';
- ++str;
- }
- }
- if (str <= end)
- *str = '\0';
- else if (size > 0)
- /* don't write out a null byte if the buf size is zero */
- *end = '\0';
- /* the trailing null byte doesn't count towards the total
- * ++str;
- */
- return str - buf;
-}
-
-/**
- * lo_vsprintf - Format a string and place it in a buffer
- * @buf: The buffer to place the result into
- * @fmt: The format string to use
- * @args: Arguments for the format string
- *
- * Call this function if you are already dealing with a va_list.
- * You probably want lo_sprintf instead.
- */
-static int
-lo_vsprintf (char *buf, const char *fmt, va_list args)
-{
- return lo_vsnprintf (buf, 0xFFFFFFFFUL, fmt, args);
-}
-
-
-int
-dbgleon_sprintf (char *buf, size_t size, const char *fmt, ...)
-{
- va_list args;
- int printed_len;
-
- va_start (args, fmt);
- printed_len = lo_vsnprintf (buf, size, fmt, args);
- va_end (args);
- return printed_len;
-}
-
-#define UART_TIMEOUT 100000
-static LEON23_APBUART_Regs_Map *uart_regs = 0;
-int
-dbgleon_printf (const char *fmt, ...)
-{
- unsigned int i, loops, ch;
- amba_apb_device apbdevs[1];
- va_list args;
- int printed_len;
- char printk_buf[1024];
- char *p = printk_buf;
-
- /* Emit the output into the temporary buffer */
- va_start (args, fmt);
- printed_len = lo_vsnprintf (printk_buf, sizeof (printk_buf), fmt, args);
- va_end (args);
-
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- {
- if (!uart_regs)
- {
- if (i =
- leon3_getapbbase (VENDOR_GAISLER, GAISLER_APBUART, apbdevs,
- 1))
- {
- uart_regs = (LEON23_APBUART_Regs_Map *) apbdevs[0].start;
- }
- }
- if (uart_regs)
- {
- while (printed_len-- != 0)
- {
- ch = *p++;
- if (uart_regs)
- {
- loops = 0;
- while (!(uart_regs->status & LEON_REG_UART_STATUS_THE)
- && (loops < UART_TIMEOUT))
- loops++;
- uart_regs->data = ch;
- loops = 0;
- while (!(uart_regs->status & LEON_REG_UART_STATUS_TSE)
- && (loops < UART_TIMEOUT))
- loops++;
- }
- }
- }
- }
- break;
- }
- //---------------------
-}
diff --git a/libgloss/sparc_leon/console_init.c b/libgloss/sparc_leon/console_init.c
deleted file mode 100644
index 5a81698..0000000
--- a/libgloss/sparc_leon/console_init.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-extern int *console;
-
-console_init (unsigned int *addr, int freq, int baud)
-{
- console = addr;
- addr[1] = 0;
- addr[2] = 3;
- addr[3] = (freq / baud + 8) / 16 - 1;
-}
diff --git a/libgloss/sparc_leon/contextswitch.c b/libgloss/sparc_leon/contextswitch.c
deleted file mode 100644
index 7aafec4..0000000
--- a/libgloss/sparc_leon/contextswitch.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/time.h>
-#include <asm-leon/contextswitch.h>
-
-/* This asm code relies on the following offsets (setjmp.h):
-#define THREAD_JB_SP 0
-#define THREAD_JB_PC 1
-#define THREAD_JB_PSR 8
-#define THREAD_JB_WIM 9 */
-
-int
-_do_thread_setjmp (threadctx_t env, unsigned int savesigs)
-{
-
-#ifndef _FLAT
- /* first restore should trap */
- env[THREAD_JB_WIM] = 1 << ((env[THREAD_JB_PSR] & SPARC_PSR_WIN_MASK) + 1);
- env[THREAD_JB_WIM] |= env[THREAD_JB_WIM] >> SPARC_NUM_REGWIN;
-#else
- env[THREAD_JB_WIM] = 0;
-#endif
-
-#ifndef _SOFT_FLOAT
- env[THREAD_JB_FPUCTX] = fpustate_current;
-#endif
- return 0;
-}
-
-void
-thread_longjmp (threadctx_t env, int val)
-{
-
- if (!val)
- val = 1;
-
-#ifndef _SOFT_FLOAT
- fpustate_current = env[THREAD_JB_FPUCTX];
-#endif
-
- _switch_to (env, val);
-
-/* __asm__ __volatile__( \ */
-/* " mov %8,%%i0 /\* propagate on restore *\/ \n\t"\ */
-/* " mov %0,%%i1 /\* propagate on restore *\/ \n\t"\ */
-/* " restore \n\t"\ */
-/* " mov %%o0,%%g6 \n\t"\ */
-/* " mov %%o1,%%g3 /\* former %%i1 (val) *\/ \n\t"\ */
-/* " \n\t"\ */
-/* " !ta 0x03 /\* flush registers *\/ \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " save %%sp, %7, %%sp \n\t"\ */
-/* " \n\t"\ */
-/* " ldd [%%g6+%5], %%g4 /\* load psr,wim *\/ \n\t"\ */
-/* " wr %%g4, 0x20, %%psr \n\t"\ */
-/* " nop \n\t"\ */
-/* " nop \n\t"\ */
-/* " nop \n\t"\ */
-/* " ldd [%%g6 +%1], %%sp /\* load sp, pc to jump to *\/ \n\t"\ */
-/* " wr %%g5, 0x0, %%wim \n\t"\ */
-/* " \n\t"\ */
-/* " ldd [%%sp], %%l0 /\* restore window *\/ \n\t"\ */
-/* " ldd [%%sp+8], %%l2 \n\t"\ */
-/* " ldd [%%sp+16], %%l4 \n\t"\ */
-/* " ldd [%%sp+24], %%l6 \n\t"\ */
-/* " \n\t"\ */
-/* " ldd [%%sp+32], %%i0 \n\t"\ */
-/* " ldd [%%sp+40], %%i2 \n\t"\ */
-/* " ldd [%%sp+48], %%i4 \n\t"\ */
-/* " ldd [%%sp+56], %%i6 \n\t"\ */
-/* " wr %%g4, 0x00, %%psr \n\t"\ */
-/* " nop \n\t"\ */
-/* " nop \n\t"\ */
-/* " nop \n\t"\ */
-/* " \n\t"\ */
-/* " jmp %%o7 + 8 /\* success *\/ \n\t"\ */
-/* " mov %%g3, %%o0 /\* return %%g3 *\/ \n\t"\ */
-/* : : /\* %0 *\/ "r" (val), \ */
-/* /\* %1 *\/ "i" (sizeof(int) * THREAD_JB_SP), \ */
-/* /\* %2 *\/ "i" (sizeof(int) * THREAD_JB_I7), \ */
-/* /\* %3 *\/ "i" (sizeof(int) * THREAD_JB_FP), \ */
-/* /\* %4 *\/ "i" (sizeof(int) * THREAD_JB_PC), \ */
-/* /\* %5 *\/ "i" (sizeof(int) * THREAD_JB_PSR), \ */
-/* /\* %6 *\/ "i" (sizeof(int) * THREAD_JB_WIM), \ */
-/* /\* %7 *\/ "i" (-SF_REGS_SZ), \ */
-/* /\* %8 *\/ "r" (env) ); */
-
- /* never come here */
-}
diff --git a/libgloss/sparc_leon/contextswitch_asm.S b/libgloss/sparc_leon/contextswitch_asm.S
deleted file mode 100644
index 755efa2..0000000
--- a/libgloss/sparc_leon/contextswitch_asm.S
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/winmacros.h>
-
-/* This asm code relies on the following offsets (setjmp.h):
-#define THREAD_JB_SP 0
-#define THREAD_JB_PC 1
-#define THREAD_JB_PSR 8
-#define THREAD_JB_WIM 9 */
-
- /* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- .text
- .global _switch_to
-_switch_to:
-
-#ifndef _FLAT
- !mov %o0,%i0 /* propagate env on restore */
- !mov %o1,%i1 /* propagate val on restore */
- !restore
- mov %o0,%g7
- mov %o1,%g3 /* former %%i1 (val) */
-
- sethi %hi(_nwindows_min1), %g4 /* flush registers */
- ld [%g4+%lo(_nwindows_min1)], %g4
-1: save %sp, -SF_REGS_SZ, %sp !NWINDOWS-1 times
- sub %g4,1,%g4
- cmp %g0,%g4
- bne 1b
- nop
-#else
- mov %o0,%g7
- mov %o1,%g3 /* former %%i1 (val) */
- RW_STORE(sp)
-#endif
-
- ldd [%g7+THREAD_JB_PSR*4], %g4 /* load psr,wim */
- wr %g4, 0x20, %psr
- nop
- nop
- nop
- ldd [%g7 +THREAD_JB_SP*4], %sp /* load sp, pc to jump to */
- wr %g5, 0x0, %wim
-
- RW_LOAD(sp) /* restore window */
- wr %g4, 0x00, %psr
- nop
- nop
- nop
-
- jmp %o7 + 8 /* success */
- mov %g3, %o0 /* return %%g3 */
-
-
-
- .text
- .global thread_setjmp, _do_thread_setjmp
-thread_setjmp:
-
-#ifdef _FLAT
- RW_STORE(sp) /* store window */
-#endif
-
-! RW_STORE(sp) /* store window for _FLAT and normal, SWITCH_TO_STACK in pthread need this*/
-
- mov %psr,%o2
-#ifndef _SOFT_FLOAT
- set 0x1000,%o3
- andn %o2,%o3,%o2 !disable fpu
-#endif
- std %sp,[%o0] !THREAD_JB_SP
- st %o2,[%o0+(8*4)] !THREAD_JB_PSR
- ba _do_thread_setjmp
- nop
diff --git a/libgloss/sparc_leon/crt0.S b/libgloss/sparc_leon/crt0.S
deleted file mode 100644
index 7a20a41..0000000
--- a/libgloss/sparc_leon/crt0.S
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
- .text
- .global _start, main, _end
-
-_start:
-
-#ifndef _FLAT
- save %sp, -64, %sp
-#else
- add %sp, -72, %sp
- st %o7, [%sp+64]
-#endif
- /* clear the bss */
-
- sethi %hi(__bss_start),%g2
- or %g2,%lo(__bss_start),%g2 ! g2 = start of bss
- sethi %hi(_end),%g3
- or %g3,%lo(_end),%g3 ! g3 = end of bss
- mov %g0,%g1 ! so std has two zeros
- sub %g3, %g2, %g3
-zerobss:
- subcc %g3, 8, %g3
- bge,a zerobss
- std %g0,[%g2+%g3]
-
- set _end, %o0
- st %g0,[%o0]
-
- call bdinit2
- nop
-
- call prelibchook
- nop
-
- call _call_initcalls /* atexit uses __atexit lock */
- nop
-
- set _fini, %o0
- call atexit, 1
- nop
-
- call _init
- nop
-
- call main
- nop
- call _exit
- nop
-#ifndef _FLAT
- ret
- restore
-#else
- ld [%sp+64], %o7
- retl
- add %sp, 72, %sp
-#endif
-
- .seg "data"
- .global .bdata
-.bdata:
- .align 8
- .global _environ
-_environ:
- .word 1
-
-
-
diff --git a/libgloss/sparc_leon/crti.S b/libgloss/sparc_leon/crti.S
deleted file mode 100644
index 526741a..0000000
--- a/libgloss/sparc_leon/crti.S
+++ /dev/null
@@ -1,69 +0,0 @@
-! Copyright (C) 1992 Free Software Foundation, Inc.
-! Written By David Vinayak Henkel-Wallace, June 1992
-!
-! This file is free software; you can redistribute it and/or modify it
-! under the terms of the GNU General Public License as published by the
-! Free Software Foundation; either version 2, or (at your option) any
-! later version.
-!
-! In addition to the permissions in the GNU General Public License, the
-! Free Software Foundation gives you unlimited permission to link the
-! compiled version of this file with other programs, and to distribute
-! those programs without any restriction coming from the use of this
-! file. (The General Public License restrictions do apply in other
-! respects; for example, they cover modification of the file, and
-! distribution when not linked into another program.)
-!
-! This file is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of
-! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-! General Public License for more details.
-!
-! You should have received a copy of the GNU General Public License
-! along with this program; see the file COPYING. If not, write to
-! the Free Software Foundation, 59 Temple Place - Suite 330,
-! Boston, MA 02111-1307, USA.
-!
-! As a special exception, if you link this library with files
-! compiled with GCC to produce an executable, this does not cause
-! the resulting executable to be covered by the GNU General Public License.
-! This exception does not however invalidate any other reasons why
-! the executable file might be covered by the GNU General Public License.
-!
-
-! This file just make a stack frame for the contents of the .fini and
-! .init sections. Users may put any desired instructions in those
-! sections.
-
-! This file is linked in before the Values-Xx.o files and also before
-! crtbegin, with which perhaps it should be merged.
-
-
- .section ".init"
- .global _init
- .type _init,#function
- .align 4
-_init:
-#ifndef _FLAT
- save %sp, -96, %sp
-#else
- add %sp, -96, %sp
- st %o7, [%sp + 64]
-#endif
-
-
- .section ".fini"
- .global _fini
- .type _fini,#function
- .align 4
-_fini:
-#ifndef _FLAT
- save %sp, -96, %sp
-#else
- add %sp, -96, %sp
- st %o7, [%sp + 64]
-#endif
-
-
-
-
diff --git a/libgloss/sparc_leon/crtn.S b/libgloss/sparc_leon/crtn.S
deleted file mode 100644
index ec85b3a..0000000
--- a/libgloss/sparc_leon/crtn.S
+++ /dev/null
@@ -1,63 +0,0 @@
-
-! Copyright (C) 1992 Free Software Foundation, Inc.
-! Written By David Vinayak Henkel-Wallace, June 1992
-!
-! This file is free software; you can redistribute it and/or modify it
-! under the terms of the GNU General Public License as published by the
-! Free Software Foundation; either version 2, or (at your option) any
-! later version.
-!
-! In addition to the permissions in the GNU General Public License, the
-! Free Software Foundation gives you unlimited permission to link the
-! compiled version of this file with other programs, and to distribute
-! those programs without any restriction coming from the use of this
-! file. (The General Public License restrictions do apply in other
-! respects; for example, they cover modification of the file, and
-! distribution when not linked into another program.)
-!
-! This file is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of
-! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-! General Public License for more details.
-!
-! You should have received a copy of the GNU General Public License
-! along with this program; see the file COPYING. If not, write to
-! the Free Software Foundation, 59 Temple Place - Suite 330,
-! Boston, MA 02111-1307, USA.
-!
-! As a special exception, if you link this library with files
-! compiled with GCC to produce an executable, this does not cause
-! the resulting executable to be covered by the GNU General Public License.
-! This exception does not however invalidate any other reasons why
-! the executable file might be covered by the GNU General Public License.
-!
-
-! This file just makes sure that the .fini and .init sections do in
-! fact return. Users may put any desired instructions in those sections.
-! This file is the last thing linked into any executable.
-
- .file "crtn.s"
-
- .section ".init"
- .align 4
-#ifndef _FLAT
- ret
- restore
-#else
- ld [%sp+64], %o7
- retl
- add %sp, 96, %sp
-#endif
-
- .section ".fini"
- .align 4
-
-#ifndef _FLAT
- ret
- restore
-#else
- ld [%sp+64], %o7
- retl
- add %sp, 96, %sp
-#endif
-
diff --git a/libgloss/sparc_leon/etrap.S b/libgloss/sparc_leon/etrap.S
deleted file mode 100644
index 7c4fe17..0000000
--- a/libgloss/sparc_leon/etrap.S
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/winmacros.h>
-
-/* Registers to not touch at all. */
-#define t_psr l0 /* Set by caller */
-#define t_pc l1 /* Set by caller */
-#define t_npc l2 /* Set by caller */
-#define t_wim l3 /* Set by caller */
-#define t_twinmask l4 /* Set at beginning of this entry routine. */
-#define t_kstack l5 /* Set right before pt_regs frame is built */
-#define t_retpc l6 /* If you change this, change winmacro.h header file */
-#define t_systable l7 /* Never touch this, could be the syscall table ptr. */
-#define curptr g6 /* Set after pt_regs frame is built */
-
- /* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- .text
- .align 4
- .globl leonbare_trapsetup
-
-leonbare_trapsetup:
-
-#ifdef _FLAT
- restore
- RW_STORE(sp)
- save
-#endif
-
-#ifndef _SOFT_FLOAT
- /* build a pt_regs trap frame. */
- sub %fp, (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ), %t_kstack
- PT_STORE_ALL(t_kstack, t_psr, t_pc, t_npc, g2)
-
- /* build a fp_regs trap frame. */
- sethi %hi(fpustate_current), %g2
- ld [%g2+%lo(fpustate_current)], %g3
- st %g3,[%t_kstack + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 4)]
- add %t_kstack,SF_REGS_SZ + PT_REGS_SZ,%g3
- st %g3, [%g2+%lo(fpustate_current)]
-
-#else
- /* build a pt_regs trap frame.
- */
- sub %fp, (SF_REGS_SZ + PT_REGS_SZ), %t_kstack
- PT_STORE_ALL(t_kstack, t_psr, t_pc, t_npc, g2)
-#endif
-
-
-#ifndef _FLAT
- /* See if we are in the trap window. */
- mov 1, %t_twinmask
- sll %t_twinmask, %t_psr, %t_twinmask ! t_twinmask = (1 << psr)
- andcc %t_twinmask, %t_wim, %g0
- beq 1f ! in trap window, clean up
- nop
-
- /*-------------------------------------------------*/
- /* Spill , adjust %wim and go. */
- srl %t_wim, 0x1, %g2 ! begin computation of new %wim
-
- sethi %hi(_nwindows_min1), %g3
- ld [%g3+%lo(_nwindows_min1)], %g3
-
- sll %t_wim, %g3, %t_wim ! NWINDOWS-1
- or %t_wim, %g2, %g2
- and %g2, 0xff, %g2
-
- save %g0, %g0, %g0 ! get in window to be saved
-
- /* Set new %wim value */
- wr %g2, 0x0, %wim
-
- /* Save the kernel window onto the corresponding stack. */
- RW_STORE(sp)
-
- restore %g0, %g0, %g0
- /*-------------------------------------------------*/
-
-1:
-#endif
- /* Trap from kernel with a window available.
- * Just do it...
- */
- jmpl %t_retpc + 0x8, %g0 ! return to caller
- mov %t_kstack, %sp ! jump onto new stack
-
-
diff --git a/libgloss/sparc_leon/etrap_fast.S b/libgloss/sparc_leon/etrap_fast.S
deleted file mode 100644
index d6cab92..0000000
--- a/libgloss/sparc_leon/etrap_fast.S
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/winmacros.h>
-
-/* Registers to not touch at all. */
-#define t_psr l0 /* Set by caller */
-#define t_pc l1 /* Set by caller */
-#define t_npc l2 /* Set by caller */
-#define t_wim l3 /* Set by caller */
-#define t_twinmask l4 /* Set at beginning of this entry routine. */
-#define t_kstack l5 /* Set right before pt_regs frame is built */
-#define t_retpc l6 /* If you change this, change winmacro.h header file */
-#define t_systable l7 /* Never touch this, could be the syscall table ptr. */
-#define curptr g6 /* Set after pt_regs frame is built */
-
- /* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- .text
- .align 4
- .globl leonbare_trapsetup_fast
-
-/* etap entry special for irqtrap.S */
-leonbare_trapsetup_fast:
-
-#ifdef _FLAT
- restore
- RW_STORE(sp)
- save
-#endif
-
-#ifndef _SOFT_FLOAT
- /* build a pt_regs trap frame. */
- sub %fp, (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ), %t_kstack
- st %t_psr, [%t_kstack + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 8)] /* sparc_fpuwindow_regs.irqpsr */
-
- set SPARC_PSR_EF_MASK, %t_twinmask
- andn %t_psr, %t_twinmask, %t_psr ! fpu off
-
- PT_STORE_ALL_FAST(t_kstack, t_psr, t_pc, t_npc, g2)
- /*PT_STORE_GLOBALS(t_kstack)*/
-
- /* build a fp_regs trap frame. */
- sethi %hi(fpustate_current), %g2
- ld [%g2+%lo(fpustate_current)], %g3
- st %g3,[%t_kstack + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 4)] /* sparc_fpuwindow_regs.lastctx */
- add %t_kstack,SF_REGS_SZ + PT_REGS_SZ,%g3
- st %g3, [%g2+%lo(fpustate_current)]
- st %g0, [%g3 + FW_FSR]
-#else
- /* build a pt_regs trap frame.
- */
- sub %fp, (SF_REGS_SZ + PT_REGS_SZ), %t_kstack
- PT_STORE_ALL_FAST(t_kstack, t_psr, t_pc, t_npc, g2)
- /*PT_STORE_GLOBALS(t_kstack)*/
-#endif
-
-
-#ifndef _FLAT
- /* See if we are in the trap window . */
- mov 1, %t_twinmask
- sll %t_twinmask, %t_psr, %t_twinmask ! t_twinmask = (1 << psr)
- andcc %t_twinmask, %t_wim, %g0
- beq 1f ! in trap window, clean up
- nop
-
- /*-------------------------------------------------*/
- /* Spill , adjust %wim and go. */
- srl %t_wim, 0x1, %g2 ! begin computation of new %wim
-
- sethi %hi(_nwindows_min1), %g3
- ld [%g3+%lo(_nwindows_min1)], %g3
-
- sll %t_wim, %g3, %t_wim ! NWINDOWS-1
- or %t_wim, %g2, %g2
- and %g2, 0xff, %g2
-
- save %g0, %g0, %g0 ! get in window to be saved
-
- /* Set new %wim value */
- wr %g2, 0x0, %wim
-
- /* Save the kernel window onto the corresponding stack. */
- RW_STORE(sp)
-
- restore %g0, %g0, %g0
- /*-------------------------------------------------*/
-
-1:
-#endif
- /* Trap from kernel with a window available.
- * Just do it...
- */
- jmpl %t_retpc + 0x8, %g0 ! return to caller
- mov %t_kstack, %sp ! jump onto new stack
-
-
diff --git a/libgloss/sparc_leon/fpu.S b/libgloss/sparc_leon/fpu.S
deleted file mode 100644
index b55b20d..0000000
--- a/libgloss/sparc_leon/fpu.S
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/asmmacro.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/winmacros.h>
-#include <asm-leon/leon.h>
-
-#ifndef _SOFT_FLOAT
-
- .seg "text"
- /* ------- */
- .weak _fpdis_enable_svt
- .set _fpdis_enable_svt,__fpdis_enable_svt
- .weak _fpdis_enable
- .set _fpdis_enable,__fpdis_enable
- /* ------- */
- !.global _fpdis_enable,_fpdis_enable_svt
-__fpdis_enable_svt:
-__fpdis_enable:
-
- set SPARC_PSR_EF_MASK,%l3
- or %l0,%l3,%l0
- or %l0,0xf00, %l3 ! PIL up to 15, enable fpu
- wr %l3,0, %psr ! restore the condition flags, enable fpu
- nop
- nop
- nop
-
- mov %psr, %l3 ! check if fpu is present
- set SPARC_PSR_EF_MASK,%l4
- andcc %l3, %l4, %l3
- bne 4f
- nop
-
- ta 0 ! no fpu present, halt
-
-4:
- set fpustate_current,%l4
-
- ld [%l4],%l4
- set fpustate_owner,%l5
- ld [%l5],%l5
- cmp %l4,%l5
- beq mpfnostore
- nop
- cmp %g0,%l5
- beq mpfstore
- nop
-
- FW_STORE(%l5)
-
-mpfstore:
- set fpustate_owner,%l6
- st %l4,[%l6]
- cmp %g0,%l4
- beq mpfnostore
- nop
-
- FW_LOAD(%l4)
-
-mpfnostore:
- wr %l0,0, %psr ! restore the condition flags, enable fpu
- nop
- nop
- nop
-
- jmpl %l1, %g0
- rett %l2
-
- .seg "data"
-
- .global fpustate_default
- .align 8
-fpustate_default:
- .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0;
- .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0;
- .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0;
- .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0;
- .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0; .long 0;
- .global fpustate_owner
-fpustate_owner:
- .word fpustate_default ! pointer to FPU owning context
-
- .global fpustate_current
-fpustate_current:
- .word fpustate_default ! pointer to current threads FPU context
-
-#endif
diff --git a/libgloss/sparc_leon/gettimeofday.c b/libgloss/sparc_leon/gettimeofday.c
deleted file mode 100644
index 088184c..0000000
--- a/libgloss/sparc_leon/gettimeofday.c
+++ /dev/null
@@ -1,272 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/errno.h>
-#include <asm-leon/elfmacro.h>
-#include <asm-leon/leon.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/jiffies.h>
-#include <asm-leon/param.h>
-#include <asm-leon/leoncompat.h>
-
-static __inline__ unsigned long do_gettimeoffset ();
-
-
-extern int *rtc;
-
-unsigned long wall_jiffies = INITIAL_JIFFIES;
-unsigned long tick_nsec = TICK_NSEC;
-unsigned long tick_usec = TICK_NSEC / 1000;
-unsigned long seperateirq = 1;
-unsigned long noalarm = 1;
-unsigned long force_noalarm = 0;
-unsigned long nodotimer = 0;
-int leonbare_hz = HZ;
-
-
-void settimer ();
-inline void
-do_timer (struct leonbare_pt_regs *regs)
-{
- unsigned long ticks;
- jiffies_64++;
- ticks = jiffies - wall_jiffies;
- if (ticks)
- {
- wall_jiffies += ticks;
- do
- {
- ticks--;
- xtime.tv_nsec += tick_nsec;
- if (xtime.tv_nsec >= 1000000000)
- {
- xtime.tv_nsec -= 1000000000;
- xtime.tv_sec++;
- }
- }
- while (ticks);
- }
- settimer ();
-}
-
-int
-leonbare_alarm (int irq, void *arg, struct leonbare_pt_regs *regs)
-{
- settimer ();
-}
-
-extern clock_t (*clock_custom) (void);
-clock_t
-leonbare_clock_custom ()
-{
- int hz = leonbare_hz ? leonbare_hz : HZ;
- return (clock_t) ((jiffies * (CLOCK_TICK_RATE / hz)) + do_gettimeoffset ());
-}
-
-
-tickerhandler ticker_callback = 0;
-int
-leonbare_tick (int irq, void *arg, struct leonbare_pt_regs *regs)
-{
- unsigned int ctrl;
- if (!seperateirq)
- {
- /* only leon3 comes here */
- if (!noalarm)
- {
- ctrl = LEON3_GpTimer_Regs->e[1].ctrl;
- if (ctrl & LEON3_GPTIMER_IP)
- {
- leonbare_alarm (irq, arg, regs);
- LEON3_GpTimer_Regs->e[1].ctrl = ctrl & ~LEON3_GPTIMER_IP;
- }
- }
- ctrl = LEON3_GpTimer_Regs->e[0].ctrl;
- if (!(ctrl & LEON3_GPTIMER_IP))
- {
- return 0;
- }
- LEON3_GpTimer_Regs->e[0].ctrl = ctrl & ~LEON3_GPTIMER_IP;
- }
-
- if (!nodotimer)
- {
- do_timer (regs);
- }
- if (ticker_callback)
- {
- ticker_callback (regs);
- }
- return 0;
-}
-
-static struct irqaction irqact1 = { (irqhandler) leonbare_tick, 0, 0, 0 };
-static struct irqaction irqact2 = { (irqhandler) leonbare_alarm, 0, 0, 0 };
-
-void
-leonbare_init_ticks ()
-{
- int i, irq1 = 0, irq2 = 0;
- int hz = leonbare_hz ? leonbare_hz : HZ;
- amba_apb_device dev[1];
-
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- amba_init ();
- if (LEON3_GpTimer_Regs && LEON3_IrqCtrl_Regs)
- {
- if ((LEON3_GpTimer_Regs->config & LEON3_GPTIMER_CONFIG_TIMERMASK) >=
- 2 && force_noalarm == 0)
- noalarm = 0;
- if (!(LEON3_GpTimer_Regs->config & LEON3_GPTIMER_CONFIG_SEPERATE))
- seperateirq = 0;
- LEON3_GpTimer_Regs->e[0].val = 0;
- LEON3_GpTimer_Regs->e[0].rld = (((CLOCK_TICK_RATE / hz) - 1));
- LEON3_GpTimer_Regs->e[0].ctrl = 0;
- LEON3_GpTimer_Regs->e[0].ctrl =
- LEON3_GPTIMER_EN |
- LEON3_GPTIMER_RL | LEON3_GPTIMER_LD | LEON3_GPTIMER_IRQEN;
- irq1 = LEON3_GpTimer_Irq;
- irq2 = LEON3_GpTimer_Irq + 1;
- }
- break;
- }
- //---------------------
-
- if (irq1)
- {
- clock_custom = leonbare_clock_custom;
- chained_catch_interrupt (irq1, &irqact1);
- leonbare_enable_irq (irq1);
- }
- if (irq2 && (!noalarm) && seperateirq)
- {
- chained_catch_interrupt (irq2, &irqact2);
- leonbare_enable_irq (irq2);
- }
-}
-
-
-//'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-
-static __inline__ unsigned long
-do_gettimeoffset ()
-{
- unsigned long usec = 0;
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- usec = ((LEON3_GpTimer_Regs->e[0].rld & 0x7fffff) -
- (LEON3_GpTimer_Regs->e[0].val & 0x7fffff));
- break;
- }
- //---------------------
- return usec;
-}
-
-/* get usec (timeval) resolution,
- * could use nsec (timespec) because pthread use it (todo) */
-void
-do_gettimeofday (struct timeval *tv)
-{
-
- unsigned long flags;
- unsigned long seq;
- unsigned long usec, sec;
-
- do
- {
- unsigned long lost;
- seq = jiffies;
-
- usec = do_gettimeoffset ();
- lost = jiffies - wall_jiffies;
-
- if (unlikely (lost))
- {
- usec += lost * tick_usec;
- }
-
- sec = xtime.tv_sec;
- usec += (xtime.tv_nsec / 1000);
- }
- while (seq != jiffies);
-
- while (usec >= 1000000)
- {
- usec -= 1000000;
- sec++;
- }
-
- tv->tv_sec = sec;
- tv->tv_usec = usec;
-}
-
-int
-gettimeofday (struct timeval *__p, void *__tz)
-{
- do_gettimeofday (__p);
- return 0;
-}
-
-//'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-
-static int
-do_settimeofday (struct timespec *tv)
-{
- time_t sec = tv->tv_sec;
- long nsec = tv->tv_nsec;
-
- if ((unsigned long) nsec >= NSEC_PER_SEC)
- return EINVAL;
-
- /*
- * This is revolting. We need to set "xtime" correctly. However, the
- * value in this location is the value at the most recent update of
- * wall time. Discover what correction gettimeofday() would have
- * made, and then undo it!
- */
- nsec -= 1000 * (do_gettimeoffset () +
- (jiffies - wall_jiffies) * (USEC_PER_SEC / HZ));
-
- set_normalized_timespec (&xtime, sec, nsec);
- return 0;
-}
-
-int
-settimeofday (const struct timeval *tv, const struct timezone *tz)
-{
- struct timespec ts;
- ts.tv_sec = tv->tv_sec;
- ts.tv_nsec = tv->tv_usec * NSEC_PER_USEC;
- return do_settimeofday (&ts);
-}
diff --git a/libgloss/sparc_leon/initcalls.c b/libgloss/sparc_leon/initcalls.c
deleted file mode 100644
index 773a345..0000000
--- a/libgloss/sparc_leon/initcalls.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/elfmacro.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-void
-_call_initcalls ()
-{
-
- initcall_t *p = &__leonbare_initcall_start;
- while (p < &__leonbare_initcall_end)
- {
- if (*p)
- {
- (*p) ();
- }
- p++;
- }
-}
diff --git a/libgloss/sparc_leon/io.c b/libgloss/sparc_leon/io.c
deleted file mode 100644
index 282e513..0000000
--- a/libgloss/sparc_leon/io.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#define DREADY 1
-#define TREADY 4
-
-extern volatile int *console;
-
-void
-outbyte (int c)
-{
- volatile int *rxstat;
- volatile int *rxadata;
- int rxmask;
- while ((console[1] & TREADY) == 0);
- console[0] = (0x0ff & c);
- if (c == '\n')
- {
- while ((console[1] & TREADY) == 0);
- console[0] = (int) '\r';
- }
-}
-
-int
-inbyte (void)
-{
- if (!console)
- return (0);
- while (!(console[1] & DREADY));
- return console[0];
-}
diff --git a/libgloss/sparc_leon/irqinstall.S b/libgloss/sparc_leon/irqinstall.S
deleted file mode 100644
index abba254..0000000
--- a/libgloss/sparc_leon/irqinstall.S
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-
- /* l0: psr
- l1: pc
- l2: npc
- l3: wim
- l7: irqnr */
-
- .seg "text"
-
- .global locore_readtbr
-
-locore_readtbr:
- retl
- rd %tbr,%o0
-
diff --git a/libgloss/sparc_leon/irqtrap.S b/libgloss/sparc_leon/irqtrap.S
deleted file mode 100644
index d137577..0000000
--- a/libgloss/sparc_leon/irqtrap.S
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-#include <asm-leon/winmacros.h>
-#include <asm-leon/leon.h>
-
- /* l0: psr
- l1: pc
- l2: npc
- l3: wim
- l7: irqnr */
-
- .seg "text"
-
- /* ------- */
- .weak _leonbare_irq_entry_svt
- .set _leonbare_irq_entry_svt,__leonbare_irq_entry_svt
- .weak leonbare_irq_entry
- .set leonbare_irq_entry,_leonbare_irq_entry
- /* ------- */
- !.global leonbare_irq_entry,_leonbare_irq_entry_svt
- .global _irqtbl, _irqtrap, handler_irq, fpustate_current
-
-__leonbare_irq_entry_svt: /* irq from svt trap dispatcher */
- sub %l6,0x10, %l7
- rd %wim, %l3
-
-_leonbare_irq_entry:
- set SPARC_PSR_EF_MASK,%l6
- andn %l0, %l6, %l0 ! fpu off
-
- SAVE_ALL
-
- set nestcount,%o0
- ld [%o0],%o1
- add %o1,1,%o1
- st %o1,[%o0]
-
-#ifdef CONFIG_LEONBARE_NONESTEDIRQ
- or %l0, SPARC_PSR_PIL_MASK, %o0 ! no nested irqs
- wr %o0, SPARC_PSR_ET_MASK, %psr
- WRITE_PAUSE
-#else
- sll %l7,SPARC_PSR_PIL_SHIFT,%o1
- andn %l0,SPARC_PSR_PIL_MASK,%o0
- or %l0, %o1, %o1
- set nestedirq,%o0
- ld [%o0],%o0
- cmp %g0,%o0 ! no nested irqs?
- beq,a .L1
- or %o1, SPARC_PSR_PIL_MASK, %o1
-.L1:
- wr %o1, SPARC_PSR_ET_MASK, %psr
- WRITE_PAUSE
-#endif
-
- mov %l7, %o0 ! irq level
- call handler_irq ! void handler_irq (int irq, struct leonbare_pt_regs *pt_regs)
-#ifndef _SOFT_FLOAT
- add %sp, FW_REGS_SZ + 8 + SF_REGS_SZ , %o1 ! pt_regs ptr
-#else
- add %sp, SF_REGS_SZ , %o1 ! pt_regs ptr
-#endif
-
- or %l0, SPARC_PSR_PIL_MASK, %o1
- wr %o1, SPARC_PSR_ET_MASK, %psr ! enable nesting again, keep ET up
- WRITE_PAUSE
-
- set nestcount,%o0
- ld [%o0],%o1
- sub %o1,1,%o1
- st %o1,[%o0]
-
- RESTORE_ALL
-
- .seg "data"
- .global nestedirq
- .align 4
-nestedirq:
- .long 0
- .global nestcount
- .align 4
-nestcount:
- .long 0
diff --git a/libgloss/sparc_leon/irqtrap_fast.S b/libgloss/sparc_leon/irqtrap_fast.S
deleted file mode 100644
index 5f74c04..0000000
--- a/libgloss/sparc_leon/irqtrap_fast.S
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-#include <asm-leon/winmacros.h>
-#include <asm-leon/leon.h>
-
- /* l0: psr
- l1: pc
- l2: npc
- l3: wim
- l7: irqnr */
-
- .seg "text"
-
- /* ------- */
- .weak _leonbare_irq_entry_svt
- .set _leonbare_irq_entry_svt,__leonbare_irq_entry_svt
- .weak leonbare_irq_entry
- .set leonbare_irq_entry,_leonbare_irq_entry
- /* ------- */
- !.global leonbare_irq_entry,_leonbare_irq_entry_svt
- .global _irqtbl, _irqtrap, handler_irq, fpustate_current
-
-#define FASTIRQ_ENABLE
-/*#define FASTIRQ_DYNAMIC*/ /* depend on FASTIRQ_ENABLE */
-
-__leonbare_irq_entry_svt: /* irq from svt trap dispatcher */
- sub %l6,0x10, %l7
- rd %wim, %l3
-
-_leonbare_irq_entry:
-
- SAVE_ALL_FAST(.L3) ! fast irq processing, volatile %g6, use frame
-
-.L3:
-#ifdef __threadx__
- set _tx_thread_system_state, %o0
- ld [%o0],%o1
- add %o1,1,%o1
- st %o1,[%o0]
-#endif
-
- set nestcount,%o0
- ld [%o0],%o1
- add %o1,1,%o1
- st %o1,[%o0]
-
-#ifdef CONFIG_LEONBARE_NONESTEDIRQ
- or %l0, SPARC_PSR_PIL_MASK, %o0 ! no nested irqs
- wr %o0, SPARC_PSR_ET_MASK, %psr
- WRITE_PAUSE
-#else
- sll %l7,SPARC_PSR_PIL_SHIFT,%o1
- andn %l0,SPARC_PSR_PIL_MASK,%o0
- or %o0, %o1, %o1
- set nestedirq,%o0
- ld [%o0],%o0
- cmp %g0,%o0 ! no nested irqs?
- beq,a .L1
- or %o1, SPARC_PSR_PIL_MASK, %o1
-.L1:
- wr %o1, SPARC_PSR_ET_MASK, %psr
- WRITE_PAUSE
-#endif
-
- mov %l7, %o0 ! irq level
- call handler_irq ! void handler_irq (int irq, struct leonbare_pt_regs *pt_regs)
-#ifndef _SOFT_FLOAT
- add %sp, FW_REGS_SZ + 8 + SF_REGS_SZ , %o1 ! pt_regs ptr
-#else
- add %sp, SF_REGS_SZ , %o1 ! pt_regs ptr
-#endif
-
- or %l0, SPARC_PSR_PIL_MASK, %o1
- wr %o1, SPARC_PSR_ET_MASK, %psr ! enable nesting again, keep ET up
- WRITE_PAUSE
-
- set nestcount,%o0
- ld [%o0],%o1
- sub %o1,1,%o1
- st %o1,[%o0]
-
-#ifdef __threadx__
- set _tx_thread_system_state, %o0
- ld [%o0],%o1
- sub %o1,1,%o1
- st %o1,[%o0]
-#endif
-
- RESTORE_ALL_FAST
-
- .seg "data"
- .global nestedirq
- .align 4
-nestedirq:
- .long 0
- .global fastirq
- .align 4
-fastirq:
- .long 0
- .global nestcount
- .align 4
-nestcount:
- .long 0
diff --git a/libgloss/sparc_leon/jiffies.c b/libgloss/sparc_leon/jiffies.c
deleted file mode 100644
index 61d320d..0000000
--- a/libgloss/sparc_leon/jiffies.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/errno.h>
-#include <asm-leon/elfmacro.h>
-#include <asm-leon/leon.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/jiffies.h>
-#include <asm-leon/param.h>
-#include <asm-leon/leoncompat.h>
-
-struct timespec xtime __attribute__ ((aligned (16)));
-u64 jiffies_64 = INITIAL_JIFFIES;
diff --git a/libgloss/sparc_leon/kernel.c b/libgloss/sparc_leon/kernel.c
deleted file mode 100644
index ecdeb21..0000000
--- a/libgloss/sparc_leon/kernel.c
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-
-struct leonbare_kernel leonbare_kernel;
-
-/*
- * queue 0: [ <acc=2>],
- * queue 1: [ <acc=10>, <acc=8>,<acc=8>,<acc=1> ],
- * queue 2: [ ... ],
- * ...
- * queue n: [ ... ]
- *
- * Seach through ready queue [0 - LEONBARE_RUNQ_READY_NR-1] for the
- * first thread in a queue'ss head to discover
- * leonbare_thread_tick_callback() will put threads that have their th_caccount
- * consumed into the prepare-run queues. th_caccount is already initialized
- * to the value for the next schedule round. So all there is to do is to
- * move the to prepare-run queues to run queues [0 - LEONBARE_RUNQ_READY_NR-1].
- * return the first thread in any queue, similary to leonbare_sched_next().
- * Using LEONBARE_KR_RUNQ_WHICH and leonbare_thread.th_runq_which one can
- * determine weather the thread is in a runqueue or a prepare-runqueue:
- * LEONBARE_KR_RUNQ_WHICH == leonbare_thread.th_runq_which : thread in runqueue
- * LEONBARE_KR_RUNQ_WHICH != leonbare_thread.th_runq_which : thread in prepare-runqueue
- * after a leonbare_thread_tick_callback() or a run queue change, call
- * leonbare_sched_update() to update LEONBARE_KR_NEXT and
- * LEONBARE_KR_NEED_SCHEDULE
- */
-int
-leonbare_sched_update ()
-{
- int idx;
- leonbare_thread_t n = 0;
- int i = 0;
- LEONBARE_VERIFYIRQDISABLED ();
- LEONBARE_VERIFYSCHED ();
- for (i = 0; i < LEONBARE_RUNQ_READY_NR; i++)
- {
- leonbare_thread_t c;
- if (!LBTAILQ_EMPTY (LEONBARE_KR_RUNQ (i)))
- {
- n = LBTAILQ_FIRST (LEONBARE_KR_RUNQ (i));
- break;
- }
- }
- if (!n)
- {
- for (idx = 0; idx < LEONBARE_RUNQ_READY_NR; idx++)
- {
- struct leonbare_thread_queue *h0 =
- (struct leonbare_thread_queue *) LEONBARE_KR_RUNQ (idx);
- struct leonbare_thread_queue *h1 = (struct leonbare_thread_queue *)
- LEONBARE_KR_RUNQ (idx + LEONBARE_RUNQ_PREPARE_IDX);
- if (LBTAILQ_EMPTY (h1))
- {
- LBTAILQ_INIT (h0);
- }
- else
- {
- *h0 = *h1;
- if (LBTAILQ_FIRST (h0))
- {
- LBTAILQ_FIRST (h0)->th_runq.tqe_prev = &(h0)->tqh_first;
- }
- if (!n)
- {
- n = LBTAILQ_FIRST (h0);
- }
- }
- }
- for (idx = 0; idx < LEONBARE_RUNQ_READY_NR; idx++)
- {
- LBTAILQ_INIT (LEONBARE_KR_RUNQ (idx + LEONBARE_RUNQ_PREPARE_IDX));
- }
- LEONBARE_KR_RUNQ_WHICH++;
- LEONBARE_VERIFYSCHED ();
- LEONBARE_PRINTQUEUES ();
- }
- LEONBARE_KR_NEXT = n;
- return (LEONBARE_KR_NEED_SCHEDULE);
-}
-
-/* called in the timer irq handling. Decrements the
- * th_caccount field. On consumption of th_caccount the
- * thread will be removed from the ready queue nad placed into the
- * prepare-runqueue for later readdition by leonbare_sched_readyprepare()
- * called from gettimeofday.c's installed ticker_callback callback
- * leonbare_thread_tick_callback() might change the kernel state in which case
- * state on return from leonbare_thread_tick_callback() leonbare_thread_schedule_callback()
- * will be called from rtrap_fast.S .
- */
-int
-leonbare_thread_tick_callback ()
-{
- LEONBARE_PROTECT_DECL (flags);
- unsigned int r;
- volatile leonbare_thread_t c = LEONBARE_KR_CURRENT;
- leonbare_thread_t i;
- LBDEBUG_FNCALL;
- if (c && LEONBARE_KR_IS_PREEMPTION)
- {
-
- LEONBARE_PROTECT_KERNEL_START ();
- {
-
- LEONBARE_VERIFYIRQDISABLED ();
- LEONBARE_VERIFYSCHED ();
-
- if ((--c->th_caccount) < 0)
- {
- LBDEBUG_HEADER_PRINTF (LBDEBUG_QUEUE_NR, "remove %s(%x)\n",
- LEONBARE_TH_NAME_DBG (c), c);
- LBTAILQ_REMOVE (LEONBARE_KR_RUNQ (c->th_runq_idx), c, th_runq);
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_RUNQ
- (c->th_runq_idx + LEONBARE_RUNQ_PREPARE_IDX),
- c, th_runq);
- c->th_caccount = c->th_account;
- c->th_runq_which++;
- }
- else
- {
- /* todo: round robbin scheme */
- }
- }
- LEONBARE_PROTECT_KERNEL_END ();
- }
- r = leonbare_sched_update ();
- return r;
-}
-
-/* called from rtrap_fast.S's installed schedule_callback callback */
-int
-leonbare_thread_schedule_callback (struct leonbare_pt_regs *ptregs)
-{
- unsigned int retval;
- LBDEBUG_FNCALL;
- if (LEONBARE_KR_IS_IN_KERNEL == 0 && LEONBARE_KR_NEED_SCHEDULE)
- {
-
- leonbare_sched ();
-
- //KERNEL_ENTER;
- //KERNEL_EXIT(LEONBARE_KR_NEED_SCHEDULE, retval);
- }
- LBDEBUG_FNEXIT;
-}
-
-
-struct leonbare_thread _thread_main;
-int
-leonbare_thread_init ()
-{
- int i;
- LBDEBUG_FNCALL;
-
- memset ((void *) &_thread_main, 0, sizeof (_thread_main));
- _thread_main.th_reentp = _impure_ptr;
- _thread_main.th_name = "<main>";
- _thread_main.th_runq_idx = 0;
- _thread_main.th_pri_idx = 0;
- _thread_main.th_account = 0;
-
- LBTAILQ_INIT (LEONBARE_KR_ALLQ);
- for (i = 0; i < LEONBARE_RUNQ_NR; i++)
- {
- LBTAILQ_INIT (LEONBARE_KR_RUNQ (i));
- }
- LBTAILQ_INIT (LEONBARE_KR_ALLM);
-
- /* queues */
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_ALLQ, &_thread_main, th_allq);
-
- /* inseart into ready queue 0 at head */
- LBTAILQ_INSERT_HEAD (LEONBARE_KR_RUNQ (_thread_main.th_runq_idx),
- &_thread_main, th_runq);
-
- LEONBARE_KR_CURRENT = &_thread_main;
- LEONBARE_KR_IS_IN_KERNEL = 0;
-
- leonbare_init_ticks ();
- schedule_callback = (schedulehandler) leonbare_thread_schedule_callback;
- ticker_callback = (tickerhandler) leonbare_thread_tick_callback;
-
- /* disable later */
- LEONBARE_KR_IS_PREEMPTION = 1;
-
-
- LBDEBUG_FNEXIT;
-}
diff --git a/libgloss/sparc_leon/kernel_context.S b/libgloss/sparc_leon/kernel_context.S
deleted file mode 100644
index 0b8cad7..0000000
--- a/libgloss/sparc_leon/kernel_context.S
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/elfmacro.h>
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/winmacros.h>
-#include <asm-leon/leonbare_kernel.h>
-
- FUNC_EXPORT(_leonbare_kernel_switchto)
- FUNC_EXPORT(_leonbare_Stop)
-
- FUNC_IMPORT(leonbare_disable_traps)
-
- .text
-
-/* unsigned int _leonbare_kernel_switchto(struct leonbare_thread_ctx *thread,struct leonbare_thread_ctx *thread) */
-FUNC_BEGIN(_leonbare_kernel_switchto)
-
- /* =================================*/
- /* save context */
- /* =================================*/
-
- mov %o0, %g1
- mov %o1, %g2
- mov %o7, %g3
- rd %psr, %g4 /* psr.cwp should stay same because irq path rely on it. */
-
- call leonbare_disable_traps /* psr in %o0, modify %o0, %o1, %o7 */
- nop
-
- set TACODE_IRQCALL_FLUSH,%o1
- ta TACODE_IRQCALL
-
- st %g4, [%g1 + LEONBARE_THREAD_CTX_STACK_PSR] /* psr */
- set LEONBARE_THREAD_CTX_MAGIC,%g4
- st %g4, [%g1 + LEONBARE_THREAD_CTX_STACK_MAGIC]
-
- mov %g3, %o7 ! restore %o7
-
- LEONBARE_THREAD_CTX_STORE_INS(g1)
- LEONBARE_THREAD_CTX_STORE_LOCALS(g1)
- LEONBARE_THREAD_CTX_STORE_OUTS(g1)
-
- /* =================================*/
- /* restore context */
- /* =================================*/
-
- /* check valid context stack area */
- ld [%g2 + LEONBARE_THREAD_CTX_STACK_MAGIC], %o1
- set LEONBARE_THREAD_CTX_MAGIC,%o2
- cmp %o1, %o2
- beq 1f
- nop
-
- /* stop all */
- ta 0x0
-
-1:
- /* get psr */
- ld [%g2 + LEONBARE_THREAD_CTX_STACK_PSR],%g1 /* psr.cwp should stay same because irq path rely on it. */
- set SPARC_PSR_EF_MASK,%g3 ! clear ef bit
- andn %g1, %g3, %g1
-
- wr %g0,%wim
- nop; nop; nop;
-
- andn %g1, SPARC_PSR_ET_MASK, %g3 ! disable traps, up to PSR_EF imm andn ok
- wr %g3, %psr
- nop; nop; nop;
-
- LEONBARE_THREAD_CTX_LOAD_INS(g2)
- LEONBARE_THREAD_CTX_LOAD_LOCALS(g2)
- LEONBARE_THREAD_CTX_LOAD_OUTS(g2)
-
- SET_WIM_CWPMIN1(g1,o1,o2,o3,o4) ! calc wim from psr_cwp so that next restore traps
-
- wr %g1,%psr
- nop; nop; nop;
-
- retl
- nop
-
-FUNC_END(_leonbare_kernel_switchto)
-
-
-FUNC_BEGIN(_leonbare_Stop)
- ta 0x0
-FUNC_END(_leonbare_Stop)
diff --git a/libgloss/sparc_leon/kernel_debug.c b/libgloss/sparc_leon/kernel_debug.c
deleted file mode 100644
index 0374de7..0000000
--- a/libgloss/sparc_leon/kernel_debug.c
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <stdarg.h>
-
-/*indent:
- indent -kr -i4 -ts4 -sob -l80 -ss -ncs -nut newlib-1.13.0/libgloss/sparc_leon/kernel*.c
- indent -kr -i4 -ts4 -sob -l80 -ss -ncs -nut *.h
- indent -kr -i4 -ts4 -sob -l80 -ss -ncs -nut *.c
-*/
-
-void leonbare_sched_printqueue ();
-
-int
-leonbare_sched_verify ()
-{
-#ifdef LBDEBUG_DO_ASSERT
- int i, j;
- leonbare_thread_t c, d;
- for (i = 0; i < LEONBARE_RUNQ_NR; i++)
- {
- LBTAILQ_FOREACH (c, LEONBARE_KR_RUNQ (i), th_runq)
- {
- if (i < LEONBARE_RUNQ_READY_NR)
- {
- LBPASSERT (c->th_runq_idx == i,
- "thread %s has wrong runq[%d] index (%d) ",
- LEONBARE_TH_NAME_DBG (c), i, c->th_runq_idx);
- LBPASSERT (c->th_runq_which == LEONBARE_KR_RUNQ_WHICH,
- "thread %s in runqueue[%d] has wrong th_runq_which(%d) (!=LEONBARE_KR_RUNQ_WHICH(%d))",
- LEONBARE_TH_NAME_DBG (c), i, c->th_runq_which,
- LEONBARE_KR_RUNQ_WHICH);
- }
- else if (i == LEONBARE_RUNQ_SUSPENDED_IDX)
- {
- LBPASSERT (c->th_flags & LEONBARE_TH_SUSPENDED,
- "thread %s in suspension queue has LEONBARE_TH_SUSPENDED not set ",
- LEONBARE_TH_NAME_DBG (c));
- }
- else if (i == LEONBARE_RUNQ_KILLED_IDX)
- {
- LBPASSERT (c->
- th_flags & (LEONBARE_TH_TERMINATED |
- LEONBARE_TH_FINISHED),
- "thread %s in killed queue has (LEONBARE_TH_TERMINATED | LEONBARE_TH_FINISHED) not set ",
- LEONBARE_TH_NAME_DBG (c));
- }
- else if (i >= LEONBARE_RUNQ_PREPARE_IDX &&
- i < (LEONBARE_RUNQ_PREPARE_IDX + LEONBARE_RUNQ_READY_NR))
- {
- LBPASSERT (c->th_runq_idx == (i - LEONBARE_RUNQ_PREPARE_IDX),
- "thread %s has wrong prepare-runq[%d] index (%d) ",
- LEONBARE_TH_NAME_DBG (c),
- i - LEONBARE_RUNQ_PREPARE_IDX, c->th_runq_idx);
- LBPASSERT (c->th_runq_which != LEONBARE_KR_RUNQ_WHICH,
- "thread %s in prepare-runqueue[%d] has wrong th_runq_which(%d) (==LEONBARE_KR_RUNQ_WHICH(%d))",
- LEONBARE_TH_NAME_DBG (c), i, c->th_runq_which,
- LEONBARE_KR_RUNQ_WHICH);
- }
-
- if (i != LEONBARE_RUNQ_KILLED_IDX)
- {
- LBPASSERT (!
- (c->
- th_flags & (LEONBARE_TH_TERMINATED |
- LEONBARE_TH_FINISHED)),
- "thread %s not in killed queue has (LEONBARE_TH_TERMINATED | LEONBARE_TH_FINISHED) set ",
- LEONBARE_TH_NAME_DBG (c));
- }
- if (i != LEONBARE_RUNQ_SUSPENDED_IDX)
- {
- LBPASSERT (!(c->th_flags & (LEONBARE_TH_SUSPENDED)),
- "thread %s not in suspend queue has LEONBARE_TH_SUSPENDED set ",
- LEONBARE_TH_NAME_DBG (c));
- }
-
- if (LBTAILQ_NEXT (c, th_runq))
- {
- LBPASSERT (c->th_account <=
- LBTAILQ_NEXT (c, th_runq)->th_account,
- "thread %s account is not sorted (%d<=%d)",
- LEONBARE_TH_NAME_DBG (c), c->th_account,
- LBTAILQ_NEXT (c, th_runq)->th_account);
- }
- }
- }
- LBTAILQ_FOREACH (c, LEONBARE_KR_ALLQ, th_allq)
- {
- if ((j = c->th_runq_idx) != -1)
- {
- LBPASSERT (j >= 0
- && j < LEONBARE_RUNQ_NR,
- "thread %s has wrong runq index (%d) ",
- LEONBARE_TH_NAME_DBG (c), c->th_runq_idx);
- LBTAILQ_FOREACH (d, LEONBARE_KR_RUNQ (j), th_runq)
- {
- if (d == c)
- {
- break;
- }
- }
- /*LBPASSERT(d,"thread %s is not in runq[%d] ",LEONBARE_TH_NAME_DBG(c),j); */
- }
- }
-#endif
-}
-
-int
-leonbare_debug_printf (const char *fmt, ...)
-{
- va_list ap;
- va_start (ap, fmt);
- vprintf (fmt, ap);
- va_end (ap);
- return 0;
-}
-
-void
-leonbare_sched_printqueue ()
-{
- int i, j;
- leonbare_thread_t c;
- for (i = 0; i < LEONBARE_RUNQ_NR; i++)
- {
- LBDEBUG_HEADER_PRINTF (LBDEBUG_QUEUE_NR, "runq[%d]:[", i);
- LBTAILQ_FOREACH (c, LEONBARE_KR_RUNQ (i), th_runq)
- {
- LBDEBUG (LBDEBUG_QUEUE_NR, "%s[0x%x](%d),", LEONBARE_TH_NAME_DBG (c),
- c, c->th_account);
- }
- LBDEBUG (LBDEBUG_QUEUE_NR, "]\n", 0);
- }
-}
diff --git a/libgloss/sparc_leon/kernel_debug_var.c b/libgloss/sparc_leon/kernel_debug_var.c
deleted file mode 100644
index 47b8e69..0000000
--- a/libgloss/sparc_leon/kernel_debug_var.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <stdarg.h>
-
-int leonbare_debug = -1;
diff --git a/libgloss/sparc_leon/kernel_mm.c b/libgloss/sparc_leon/kernel_mm.c
deleted file mode 100644
index fd11bb0..0000000
--- a/libgloss/sparc_leon/kernel_mm.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
diff --git a/libgloss/sparc_leon/kernel_mutex.c b/libgloss/sparc_leon/kernel_mutex.c
deleted file mode 100644
index a813449..0000000
--- a/libgloss/sparc_leon/kernel_mutex.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-
-leonbare_mutex_t
-leonbare_mutex_init (leonbare_mutex_t m)
-{
- m->mx_owner_cnt = 0;
- m->mx_owner = 0;
- LBTAILQ_INIT (&(m->mx_threads));
-
- LEONBARE_PROTECT_KERNEL_START ();
- {
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_ALLM, m, mx_allm);
- }
- LEONBARE_PROTECT_KERNEL_END ();
-
-}
-
-int
-_self__leonbare_mutex_lock (leonbare_mutex_t m, int wait)
-{
- int ret = LEONBARE_MUTEX_LOCK_OK;
- leonbare_thread_t c;
-
- LEONBARE_PROTECT_MUTEXSTRUCT_START (m);
- while (1)
- {
- if (LEONBARE_MUTEX_OWNER_GET (m) == 0)
- {
- LEONBARE_MUTEX_OWNER_SET (m, LEONBARE_KR_CURRENT);
- LEONBARE_MUTEX_OWNER_CNT_SET (m, 0);
- LBTAILQ_INSERT_TAIL (&c->th_mutex_locked, m, mx_locked);
- ret = LEONBARE_MUTEX_LOCK_OK;
- break;
- }
- else if (m->mx_owner == LEONBARE_KR_CURRENT)
- {
- m->mx_owner_cnt++;
- ret = LEONBARE_MUTEX_LOCK_OK;
- break;
- }
- LBTAILQ_INSERT_TAIL (&m->mx_threads, c, th_mutex);
- current_suspend ();
- }
- LEONBARE_PROTECT_MUTEXSTRUCT_END (m);
- return ret;
-}
-
-int
-leonbare_mutex_unlock (leonbare_mutex_t m)
-{
- int ret = LEONBARE_MUTEX_UNLOCK_ERROR;
- leonbare_thread_t c, h;
-
- LEONBARE_PROTECT_MUTEXSTRUCT_START (m);
- {
- c = LEONBARE_KR_CURRENT;
- if (m->mx_owner != c)
- {
- ret = LEONBARE_MUTEX_UNLOCK_OK;
- }
- else if (m->mx_owner == c && m->mx_owner_cnt)
- {
- m->mx_owner_cnt--;
- ret = LEONBARE_MUTEX_UNLOCK_OK;
- }
- else if ((h = LBTAILQ_FIRST (&m->mx_threads)))
- {
- LBTAILQ_REMOVE (&m->mx_threads, h, th_mutex);
- leonbare_thread_resume (h);
- ret = LEONBARE_MUTEX_UNLOCK_OK;
- }
- }
- LEONBARE_PROTECT_MUTEXSTRUCT_END (m);
- return ret;
-}
diff --git a/libgloss/sparc_leon/kernel_queue.c b/libgloss/sparc_leon/kernel_queue.c
deleted file mode 100644
index a6a20e1..0000000
--- a/libgloss/sparc_leon/kernel_queue.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-
-int
-leonbare_thread_getqueueidx (leonbare_thread_t thread)
-{
- LEONBARE_VERIFYSCHED ();
- if (thread->th_flags & (LEONBARE_TH_TERMINATED | LEONBARE_TH_FINISHED))
- {
- return LEONBARE_RUNQ_KILLED_IDX;
- }
- else if ((thread->th_flags & LEONBARE_TH_SUSPENDED))
- {
- return LEONBARE_RUNQ_SUSPENDED_IDX;
- }
- else if (LEONBARE_RUNQ_ISREADY (thread->th_runq_idx))
- {
- if (LEONBARE_KR_RUNQ_WHICH == thread->th_runq_which)
- {
- return thread->th_runq_idx;
- }
- else
- {
- return thread->th_runq_idx + LEONBARE_RUNQ_PREPARE_IDX;
- }
- }
- return -1;
-}
diff --git a/libgloss/sparc_leon/kernel_sched.c b/libgloss/sparc_leon/kernel_sched.c
deleted file mode 100644
index 2b485c0..0000000
--- a/libgloss/sparc_leon/kernel_sched.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-
-unsigned int
-reschedule ()
-{
- leonbare_sched_update ();
- return leonbare_sched ();
-}
-
-unsigned int
-leonbare_sched ()
-{
- unsigned int ret = 0;
- volatile leonbare_thread_t old = LEONBARE_KR_CURRENT, new =
- LEONBARE_KR_NEXT;
- LBDEBUG_FNCALL;
- LBDEBUG_HEADER_PRINTF (LBDEBUG_SCHED_NR, "switch %s[%x]->%s[%x]\n",
- LEONBARE_TH_NAME_DBG (old), old,
- LEONBARE_TH_NAME_DBG (new), new);
-
- LBPASSERT ((old != new),
- "leonbare_sched should only be called with reschedule work to do",
- 0);
-
- LEONBARE_KR_CURRENT = new;
-
- /* to be able to programm symetrically on kernel level each thread
- saves it's spinlock on mutexes and kernel and irq flags in its
- own save region. On a kernel switch they are released until the
- thread is reawakened. Then the locks will be reaquired (and finally
- released when the codeblock exits). The locking can be recursive. */
- if (old->th_prot.krp_k_depth)
- {
- LEONBARE_SMP_SPINLOCK_RELEASE (LEONBARE_KR_LOCK);
- }
- if (old->th_prot.krp_m_depth)
- {
- LEONBARE_SMP_SPINLOCK_RELEASE (old->th_prot.krp_m);
- }
-
- ret = _leonbare_kernel_switchto (old, new);
- optbarrier ();
-
- if (new->th_prot.krp_m_depth)
- {
- LEONBARE_SMP_SPINLOCK_AQUIRE (new->th_prot.krp_m);
- }
- if (old->th_prot.krp_k_depth)
- {
- LEONBARE_SMP_SPINLOCK_AQUIRE (LEONBARE_KR_LOCK);
- }
-
- return ret;
-}
diff --git a/libgloss/sparc_leon/kernel_thread.c b/libgloss/sparc_leon/kernel_thread.c
deleted file mode 100644
index b51b6be..0000000
--- a/libgloss/sparc_leon/kernel_thread.c
+++ /dev/null
@@ -1,214 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_queue.h>*/
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/leonbare_kernel.h>
-#include <asm-leon/leonbare_debug.h>
-#include <asm-leon/stack.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/irq.h>
-
-int
-leonbare_thread_resume (leonbare_thread_t thread)
-{
- leonbare_thread_t i = 0;
- if ((thread->th_flags & LEONBARE_TH_SUSPENDED) &&
- !(thread->th_flags & (LEONBARE_TH_TERMINATED | LEONBARE_TH_FINISHED)))
- {
-
- LEONBARE_PROTECT_KERNEL_START ();
- {
- unsigned int idx = leonbare_thread_getqueueidx (thread);
-
- if (idx != -1)
- {
- LBTAILQ_REMOVE (LEONBARE_KR_RUNQ (idx), thread, th_runq);
- }
-
- if (thread->th_pri_idx != -1)
- {
- thread->th_runq_idx = thread->th_pri_idx;
- thread->th_runq_which = LEONBARE_KR_RUNQ_WHICH;
- LBTAILQ_INSERT_HEAD (LEONBARE_KR_RUNQ (thread->th_runq_idx),
- thread, th_runq);
- LEONBARE_TH_SETSTATE (thread, LEONBARE_TH_READY);
- }
- }
- LEONBARE_PROTECT_KERNEL_END ();
- }
-
-}
-
-int
-leonbare_thread_terminate (leonbare_thread_t thread)
-{
- unsigned int ret = 0;
- leonbare_thread_t c = LEONBARE_KR_CURRENT;
- LEONBARE_PROTECT_KERNEL_START ();
- {
- unsigned int idx = leonbare_thread_getqueueidx (thread);
-
- if (LEONBARE_RUNQ_ISREADY (idx) || LEONBARE_RUNQ_ISPREPARE (idx) ||
- LEONBARE_RUNQ_ISSUSPEND (idx))
- {
- LBTAILQ_REMOVE (LEONBARE_KR_RUNQ (idx), thread, th_runq);
- }
- else
- {
- LBPASSERT (LEONBARE_RUNQ_ISKILLED (idx),
- "thread %s is in no queue ",
- LEONBARE_TH_NAME_DBG (thread));
- }
- LEONBARE_TH_SETSTATE (thread, LEONBARE_TH_TERMINATED);
- LBTAILQ_INSERT_HEAD (LEONBARE_KR_RUNQ (LEONBARE_RUNQ_KILLED_IDX), thread,
- th_runq);
-
- LEONBARE_PRINTQUEUES ();
-
- LEONBARE_VERIFYSCHED ();
- }
- if (thread == LEONBARE_KR_CURRENT)
- {
- ret = reschedule ();
- /* never come here */
- LEONBARE_STOPALL;
- }
- LEONBARE_PROTECT_KERNEL_END ();
- return ret;
-}
-
-
-int
-current_suspend ()
-{
- unsigned int ret = 0;
- leonbare_thread_t c = LEONBARE_KR_CURRENT;
- LEONBARE_PROTECT_KERNEL_START ();
- {
- LBPASSERT ((c->th_runq_which == LEONBARE_KR_RUNQ_WHICH),
- "Current thread cannot be on the prepare queue", 0);
-
- LBTAILQ_REMOVE (LEONBARE_KR_RUNQ (c->th_runq_idx), c, th_runq);
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_RUNQ (LEONBARE_RUNQ_SUSPENDED_IDX),
- c, th_runq);
- c->th_runq_idx = LEONBARE_RUNQ_SUSPENDED_IDX;
- LEONBARE_TH_SETSTATE (c, LEONBARE_TH_SUSPENDED);
- LEONBARE_VERIFYSCHED ();
- }
- ret = reschedule ();
- LEONBARE_PROTECT_KERNEL_END ();
- return ret;
-}
-
-void
-_leonbare_thread_body ()
-{
- LBDEBUG_FNCALL;
- leonbare_thread_t thread = LEONBARE_KR_CURRENT;
-
- LEONBARE_KR_IS_IN_KERNEL = 0;
- thread->th_result = thread->th_func (thread->th_arg);
-
- leonbare_thread_terminate (thread);
-
- LBDEBUG_FNEXIT;
-}
-
-#define LEONBARE_BODY_OFFSET 200
-
-int
-leonbare_thread_create (struct leonbare_thread *thread, char *stack,
- int stacksize)
-{
- LEONBARE_PROTECT_DECL (flags);
- struct sparc_stackframe_regs *sp;
- unsigned int v;
- unsigned int fpspill, bodysp, bodyfp;
- struct leonbare_thread_ctx *threadctx;
- LBDEBUG_FNCALL;
-
- thread->th_stack_base = (char *) LEONBARE_STACKALIGN (stack);
- stacksize -= thread->th_stack_base - stack;
- thread->th_stack_size = stacksize;
- thread->th_runq_idx = 0;
- thread->th_pri_idx = 0;
- thread->th_account = 0;
- thread->th_caccount = 0;
-
- /* stack:
- * 0:+--------------------------------+ <- thread.th_stack_base
- * | .... |
- * +--------------------------------+ <- thread.th_ctx->out[6] (%sp)
- * | _leonbare_thread_body() frame |
- * +--------------------------------+ <- thread.th_ctx->sf_ins[6] (%fp)
- * | WINDOWSPILL |
- * +--------------------------------+ <- thread.th_ctx->fpu
- * | struct sparc_fpuwindow_regs |
- * +--------------------------------+ <- thread.th_stack_base + thread->th_stack_size
- *
- */
- v = (unsigned int) (thread->th_stack_base +
- LEONBARE_STACKALIGN (thread->th_stack_size -
- (LEONBARE_BODY_OFFSET +
- WINDOWSIZE + FW_REGS_SZ)));
-
- bodysp = ((unsigned int) v);
- bodyfp = ((unsigned int) bodysp) + LEONBARE_BODY_OFFSET;
- fpspill = ((unsigned int) bodyfp) + WINDOWSIZE;
-
- thread->th_ctx.outs[6] = (unsigned int) bodysp;
- thread->th_ctx.outs[7] = (int) _leonbare_thread_body;
- thread->th_ctx.outs[7] -= 8;
- thread->th_ctx.sf_ins[6] = (unsigned int) bodyfp;
- thread->th_ctx.fpu = (unsigned int) fpspill;
- thread->th_ctx.magic = LEONBARE_THREAD_CTX_MAGIC;
-
- thread->th_ctx.psr = 0x0e0;
- thread->th_ctx.wim = 0x2;
-
- LBDEBUG_HEADER_PRINTF (LBDEBUG_THREAD_NR,
- "Thread %s (0x%x): stack [0x%x-0x%x] \n",
- LEONBARE_TH_NAME_DBG (thread), thread,
- thread->th_stack_base,
- thread->th_stack_base + thread->th_stack_size);
-
- /* newlibc reent */
- thread->th_reentp = &(thread->th_reent);
- _REENT_INIT_PTR (thread->th_reentp);
-
- LEONBARE_PROTECT_KERNEL_START ();
- /* queues */
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_ALLQ, thread, th_allq);
- LBTAILQ_INSERT_TAIL (LEONBARE_KR_RUNQ (thread->th_runq_idx), thread,
- th_runq);
-
- LEONBARE_PRINTQUEUES ();
-
- LEONBARE_PROTECT_KERNEL_END ();
-
- LBDEBUG_FNEXIT;
-}
diff --git a/libgloss/sparc_leon/lcpuinit.S b/libgloss/sparc_leon/lcpuinit.S
deleted file mode 100644
index d6a9ec8..0000000
--- a/libgloss/sparc_leon/lcpuinit.S
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#define LEON3_IO_AREA 0xfff00000
-#define LEON3_CONF_AREA 0xff000
-#define VENDOR_GAISLER 0x01
-#define GAISLER_APBMST 0x006
-#define GAISLER_APBUART 0x00C
-#define GAISLER_GPTIMER 0x011
-
- .text
- /* ------- */
- .weak cpuinit
- .set cpuinit,_cpuinit
- /* ------- */
- !.global cpuinit
-_cpuinit:
-
- mov %o7,%g6
-
- mov %psr, %l3
- srl %l3, 24, %g5
- and %g5, 0xf, %g5
- subcc %g5, 3, %0
- be 1f
-
- /* other versions */
-
- ba 2f
-
- ! ####### leon3 #########
-
-1: set 0x01, %o0 !VENDOR_GAISLER
- set 0x006, %o1 !GAISLER_APBMST
- call ahbslv_scan
- nop
-
- cmp %g0,%o0
- be 2f
- nop
-
- ld [%o0+16],%g1
- set 0xfff00000,%o0 !LEON3_IO_AREA
- and %g1,%o0,%g1 !g1: apb base
-
- set 0xff000,%o0 !LEON3_CONF_AREA
- or %g1,%o0,%g2 !g2: apb conf base
-
- ! ####### uart #########
- mov %g2,%o0
- set 0x01 , %o1 ! VENDOR_GAISLER
- set 0x00C,%o2 ! GAISLER_APBUART
- call apbslv_scan
- nop
- cmp %g0,%o0
- be 2f
- nop
-
- call iobar_getbase
- mov %g1,%o1
-
- set console, %g5
- st %o1,[%g5] !uart base address
-
- ! ####### timer #########
-
- mov %g2,%o0
- set 0x01 , %o1 !VENDOR_GAISLER
- set 0x011,%o2 !GAISLER_GPTIMER
- call apbslv_scan
- nop
- cmp %g0,%o0
- be 2f
- nop
-
- call iobar_getbase
- mov %g1,%o1
-
- add %o1,0x10,%o1
- set rtc, %g5
- st %o1,[%g5]
-
- ! ################
-
- mov %g2,%o0
- set 0x01 , %o1 !VENDOR_GAISLER
- set 0x00D,%o2 !GAISLER_IRQMP
- call apbslv_scan
- nop
- cmp %g0,%o0
- be 2f
- nop
-
- call iobar_getbase
- mov %g1,%o1
-
- set irqmp, %g5
- st %o1,[%g5]
- ld [%o1+0x10], %o2
- srl %o2, 16, %o2
- and %o2, 15, %o2
- st %o2,[%g5+4]
-
- ! ################
-
-2: mov %g6,%o7
- retl
- nop
-
- ! force link of jiffies_64
- .global jiffies_64
-3: set jiffies_64,%g1
-
-
- .data
- .global irqmp
-
-irqmp: .word 0 ! IRQMP base address
- .word 0 ! extended irq number
-
- .text
diff --git a/libgloss/sparc_leon/locore.S b/libgloss/sparc_leon/locore.S
deleted file mode 100644
index 011711b..0000000
--- a/libgloss/sparc_leon/locore.S
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-/* The traptable has to be the first code in a boot PROM. */
-
-#include <asm-leon/head.h>
-
-#define TRAP(H) mov %psr, %l0; sethi %hi(H), %l4; jmp %l4+%lo(H); nop;
-#define TRAPL(H) nop; sethi %hi(H), %g1; jmp %g1+%lo(H); nop;
-#define TRAP_ENTRY(H) rd %psr, %l0; b H; rd %wim, %l3; nop;
-
-#define WIM_INIT 2
-#ifdef _SOFT_FLOAT
-#define PSR_INIT 0x0e0
-#else
-#define PSR_INIT 0x10e0
-#endif
-
-#define NUMREGWINDOWS 8
-
-/* Unexcpected trap will halt the processor by forcing it to error state */
-#define BAD_TRAP ta 0; nop; nop; nop;
-
-/* Software trap. Treat as BAD_TRAP */
-#define SOFT_TRAP BAD_TRAP
-
- .seg "text"
- .global _trap_table, start, _start, cpuinit, leonbare_irq_entry, _hardreset
- .global _window_overflow, _window_underflow, _flush_windows, _fpdis_enable
- /*.global _nwindows, _leon_version, _nwindows_min1*/
-
-
-!
-! Startup code for standalone system. Wash IU and FPU (if present) registers.
-! The registers have to be written to initiate the parity bits.
-!
- .section .text
- /* ------- */
- .weak _hardreset
- .set _hardreset,_hardreset_libgloss
- /* ------- */
-
- .global _hardreset_custom_weak, _hardreset_real, _cleanregs_custom_weak, _hardreset_custom_svt_weak
-
-_hardreset_real:
- nop
-_hardreset_libgloss:
- set _hardreset_custom_weak, %g1 ! possible mkprom init code here, default links to dummy _hardreset_custom_dummy
- call %g1
- nop
-
- set _trap_table, %g1 ! Initialize TBR
- mov %g1, %tbr
-
- set _hardreset_custom_svt_weak, %g1 ! give mkprom svt chance to reset tbr
- call %g1
- nop
-
- set _cleanregs_custom_weak, %g1
- call %g1
- nop
-
-#ifdef _FLAT
- mov %g0, %wim
-#else
-/* ! assume that %sp is correct use cwp of psr to set the next window as invalid
- mov %psr, %g2 ! extract cwp
- and 0x1f, %g2,%g2
- set 0x1, %g3
- sll %g3,%g2,%g3 ! the bit mask for cwp
-
- sll %g3, 1, %g4 ! rotate one to left
- sethi %hi(_nwindows_min1), %g5 ! NWINDOWS-1
- ld [%g5+%lo(_nwindows_min1)], %g5
- srl %g3, %g5, %g5
- or %g5, %g4, %g5
- mov %g5, %wim
- nop; nop; nop */
-#endif
-
-/*
- mov %psr, %g2
- set 0x202, %g3
- sll %g3, %g2, %g2
- mov %g2, %wim
- nop; nop; nop
-1:
-*/
- ! -------------------------------
- ! only cpu 0 initializes
-/* mov %psr, %g5
- srl %g5, 24, %g5
- and %g5, 3, %g5
- subcc %g5, 3, %g0 ! leon2: 0 or 2, leon3: 3
- bne callcpuinit
- nop
-*/
-
- rd %asr17,%g5
- srl %g5,28,%g5
- cmp %g5,%g0
- bne slavego
- nop
-
-callcpuinit:
- call cpuinit
- nop
-
- call pnpinit
- nop
-
-slavego:
- ! -------------------------------
-
- sub %sp, 0x40, %sp ! room for main to save args
- call _start
- nop
-
- mov 1, %g1
- ta 0 ! Halt if _main would return ...
- nop
-
- .global _fpdis,_fpdis_svt
-_fpdis_svt:
-_fpdis:
- set 0x1000, %l4
- andcc %l0, %l4, %l3
- bne,a 4f
- andn %l0, %l4, %l0
- ta 0
-4:
- mov %l0, %psr ! restore %psr
- nop; nop; nop
- jmp %l2 ! Jump to nPC
- rett %l2 + 4
-
-
-/*
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- .section .bss
- .global _nwindows, _leon_version, _nwindows_min1
-_nwindows:
- .word 8
-_nwindows_min1:
- .word 7
-_leon_version:
- .word 3
-*/
diff --git a/libgloss/sparc_leon/locore_atexit.c b/libgloss/sparc_leon/locore_atexit.c
deleted file mode 100644
index b23054c..0000000
--- a/libgloss/sparc_leon/locore_atexit.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <stddef.h>
-#include <stdlib.h>
-#include <reent.h>
-#include <sys/lock.h>
-
-/*
- * Register a function to be performed at exit or on shared library unload.
- */
-
-int
-atexit (void (*fn) (void))
-{
- register struct _atexit *p;
-
- p = _GLOBAL_REENT->_atexit;
- if (p == NULL)
- _GLOBAL_REENT->_atexit = p = &_GLOBAL_REENT->_atexit0;
- if (p->_ind >= _ATEXIT_SIZE)
- {
- return -1;
- }
-
- p->_fns[p->_ind++] = fn;
- return 0;
-}
diff --git a/libgloss/sparc_leon/locore_clean.S b/libgloss/sparc_leon/locore_clean.S
deleted file mode 100644
index 6a2df85..0000000
--- a/libgloss/sparc_leon/locore_clean.S
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/head.h>
-
- .section .text
- /* ------- */
- .weak _cleanregs_custom_weak
- .set _cleanregs_custom_weak,_cleanregs_donothing
- /* ------- */
- .global _cleanregs_libgloss
-
-
-_cleanregs_donothing:
-_cleanregs_libgloss:
- retl
- nop
-
-
-#define NUMREGWINDOWS 8
-
-//_cleanregs_libgloss:
-
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-! initialize regs with values
-//#define REGINIT
-#ifdef REGINIT
-
- mov %psr, %g3
- mov %wim, %g4
- mov %sp, %g5
- mov %fp, %g6
- mov %o7, %g7
- mov %g0, %wim
- set 0, %g1
- andn %g3,0x1f,%l0
- mov %l0,%psr
- nop; nop; nop
-
-3: set 0x0001,%i0
- set 0x0101,%i1
- set 0x0201,%i2
- set 0x0301,%i3
- set 0x0401,%i4
- set 0x0501,%i5
- set 0x0601,%i6
- set 0x0701,%i7
- set 0x0801,%l0
- set 0x0901,%l1
- set 0x1001,%l2
- set 0x1101,%l3
- set 0x1201,%l4
- set 0x1301,%l5
- set 0x1401,%l6
- set 0x1501,%l7
- or %g1,%i0,%i0
- or %g1,%i1,%i1
- or %g1,%i2,%i2
- or %g1,%i3,%i3
- or %g1,%i4,%i4
- or %g1,%i5,%i5
- or %g1,%i6,%i6
- or %g1,%i7,%i7
- or %g1,%l0,%l0
- or %g1,%l1,%l1
- or %g1,%l2,%l2
- or %g1,%l3,%l3
- or %g1,%l4,%l4
- or %g1,%l5,%l5
- or %g1,%l6,%l6
- or %g1,%l7,%l7
- restore
- set 0x10000,%g2
- add %g1,%g2,%g1
- set NUMREGWINDOWS*0x10000,%g2
- cmp %g1,%g2
- bne 3b
- nop
-
- mov %g4,%wim
- nop; nop; nop;
- mov %g3,%psr
- nop; nop; nop;
- mov %g5, %sp
- mov %g6, %fp
-
-#endif
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-
- jmpl %g7+8,%g0
- nop
-
diff --git a/libgloss/sparc_leon/locore_mvt.S b/libgloss/sparc_leon/locore_mvt.S
deleted file mode 100644
index b8a051b..0000000
--- a/libgloss/sparc_leon/locore_mvt.S
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-/* The traptable has to be the first code in a boot PROM. */
-
-#include <asm-leon/head.h>
-
-#define TRAP(H) mov %psr, %l0; sethi %hi(H), %l4; jmp %l4+%lo(H); nop;
-#define TRAPL(H) mov %g0, %g4; sethi %hi(H), %g4; jmp %g4+%lo(H); nop;
-#define TRAP_ENTRY(H) rd %psr, %l0; b H; rd %wim, %l3; nop;
-/* srmmu trap */
-#define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b _srmmu_fault; mov 1, %l6;
-#define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b _srmmu_fault; mov 9, %l6;
-
-#define WIM_INIT 2
-#ifdef _SOFT_FLOAT
-#define PSR_INIT 0x0e0
-#else
-#define PSR_INIT 0x10e0
-#endif
-
-#define NUMREGWINDOWS 8
-
-/* Unexcpected trap will halt the processor by forcing it to error state */
-#define BAD_TRAP ta 0; nop; nop; nop;
-
-/* Software trap. Treat as BAD_TRAP */
-#define SOFT_TRAP BAD_TRAP
-
- .seg "text"
- .global _trap_table, cpuinit, leonbare_irq_entry, _hardreset, _hardreset_mvt
- .global _window_overflow, _window_underflow, _flush_windows, _fpdis_enable
- .global start
-start:
-_trap_table:
- TRAPL(_hardreset_mvt); ! 00 reset trap
- SRMMU_TFAULT ! 01 instruction_access_exception (in mmu_asm.S)
- BAD_TRAP; ! 02 illegal_instruction
- BAD_TRAP; ! 03 priveleged_instruction
-#ifndef _SOFT_FLOAT
- TRAP(_fpdis_enable); ! 04 fp_disabled
-#else
- TRAP(_fpdis); ! 04 fp_disabled
-#endif
-#ifndef _FLAT
- TRAP(_window_overflow); ! 05 window_overflow
- TRAP(_window_underflow); ! 06 window_underflow
-#else
- BAD_TRAP; BAD_TRAP;
-#endif
- BAD_TRAP; ! 07 memory_address_not_aligned
- BAD_TRAP; ! 08 fp_exception
- SRMMU_DFAULT ! 09 data_access_exception (in mmu_asm.S)
- BAD_TRAP; ! 0A tag_overflow
-
- BAD_TRAP; ! 0B undefined
- BAD_TRAP; ! 0C undefined
- BAD_TRAP; ! 0D undefined
- BAD_TRAP; ! 0E undefined
- BAD_TRAP; ! 0F undefined
- BAD_TRAP; ! 10 undefined
-
- /* Interrupt entries */
- TRAP_ENTRY_INTERRUPT(1); ! 11 interrupt level 1
- TRAP_ENTRY_INTERRUPT(2); ! 12 interrupt level 2
- TRAP_ENTRY_INTERRUPT(3); ! 13 interrupt level 3
- TRAP_ENTRY_INTERRUPT(4); ! 14 interrupt level 4
- TRAP_ENTRY_INTERRUPT(5); ! 15 interrupt level 5
- TRAP_ENTRY_INTERRUPT(6); ! 16 interrupt level 6
- TRAP_ENTRY_INTERRUPT(7); ! 17 interrupt level 7
- TRAP_ENTRY_INTERRUPT(8); ! 18 interrupt level 8
- TRAP_ENTRY_INTERRUPT(9); ! 19 interrupt level 9
- TRAP_ENTRY_INTERRUPT(10); ! 1A interrupt level 1
- TRAP_ENTRY_INTERRUPT(11); ! 1B interrupt level 11
- TRAP_ENTRY_INTERRUPT(12); ! 1C interrupt level 12
- TRAP_ENTRY_INTERRUPT(13); ! 1D interrupt level 13
- TRAP_ENTRY_INTERRUPT(14); ! 1E interrupt level 14
- TRAP_ENTRY_INTERRUPT(15); ! 1F interrupt level 15
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 20 - 23 undefined
- BAD_TRAP; ! 24 cp_disabled
- BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 25 - 27 undefined
- BAD_TRAP; ! 28 cp_exception
- BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 29 - 2B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 2C - 2F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 30 - 33 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 34 - 37 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 38 - 3B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 3C - 3F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 40 - 43 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 44 - 47 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 48 - 4B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 4C - 4F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 50 - 53 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 54 - 57 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 58 - 5B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 5C - 5F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 60 - 63 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 64 - 67 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 68 - 6B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 6C - 6F undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 70 - 73 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 74 - 77 undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 78 - 7B undefined
- BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 7C - 7F undefined
-
- /* Software traps */
- SOFT_TRAP; SOFT_TRAP; TRAP(_irqcall); ! 80 - 82
-#ifndef _FLAT
- TRAP_ENTRY(_flush_windows) ! 83
-#else
- SOFT_TRAP
-#endif
- SOFT_TRAP; ! 84
- TRAP(_irqcall_disableirq); ! 85
- SOFT_TRAP; SOFT_TRAP; ! 86 - 87
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 88 - 8B
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 8C - 8F
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 90 - 93
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 94 - 97
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 98 - 9B
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! 9C - 9F
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A0 - A3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A4 - A7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! A8 - AB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! AC - AF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B0 - B3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B4 - B7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! B8 - BB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! BC - BF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C0 - C3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C4 - C7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! C8 - CB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! CC - CF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D0 - D3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D4 - D7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! D8 - DB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! DC - DF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E0 - E3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E4 - E7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! E8 - EB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! EC - EF
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F0 - F3
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F4 - F7
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! F8 - FB
- SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! FC - FF
-
-
-
diff --git a/libgloss/sparc_leon/locore_mvt_reset.S b/libgloss/sparc_leon/locore_mvt_reset.S
deleted file mode 100644
index 74cc92e..0000000
--- a/libgloss/sparc_leon/locore_mvt_reset.S
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/head.h>
-
- .section .text
- /* ------- */
- .weak _hardreset_mvt
- .set _hardreset_mvt,_hardreset_mvt_ram
- /* ------- */
- .global _hardreset
-
-_hardreset_mvt_ram:
- mov %psr, %g1
- srl %g1, 24, %g1
- and %g1, 3, %g1
- subcc %g1, 3, %g0 ! leon2: 0 or 2, leon3: 3
- bne .L2
- nop
-
- mov %asr17, %g1 ! set svt
- set 1<<13,%g2
- andn %g1,%g2,%g1
- mov %g1, %asr17
-
-.L2: mov %g0, %g4
- sethi %hi(_hardreset), %g4
- jmp %g4+%lo(_hardreset);
- nop
-
diff --git a/libgloss/sparc_leon/locore_svt.S b/libgloss/sparc_leon/locore_svt.S
deleted file mode 100644
index 429a8df..0000000
--- a/libgloss/sparc_leon/locore_svt.S
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-/* The traptable has to be the first code in a boot PROM. */
-
-#include <asm-leon/head.h>
-
- .seg "text"
-
- .global _trap_table, _start_svt_weak
- .global start
-
- /* Hardware traps */
- /* svt code asumes that %g6 is never used in the code */
-
-start:
-_trap_table:
-
- sethi %hi(_start_svt_weak), %g6
- jmp %g6+%lo(_start_svt_weak)
- nop
-
diff --git a/libgloss/sparc_leon/locore_svt_reset.S b/libgloss/sparc_leon/locore_svt_reset.S
deleted file mode 100644
index cde9a7b..0000000
--- a/libgloss/sparc_leon/locore_svt_reset.S
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/head.h>
-
- .section .text
- /* ------- */
- .weak _hardreset_svt
- .set _hardreset_svt, __hardreset_svt
- /* ------- */
- .global _hardreset, _hardreset_svt_real
-
-! reset entry point for single vector trapping. Try enable svt
-_hardreset_svt_real:
- nop
-__hardreset_svt:
- mov %psr, %l3
- srl %l3, 24, %g5
- and %g5, 3, %g5
- subcc %g5, 3, %g0 ! leon2: 0 or 2, leon3: 3
- bne .L2
- nop
-
- mov %asr17, %g5 ! set svt
- set 1<<13,%g1
- or %g5,%g1,%g5
- mov %g5, %asr17
- nop; nop; nop
- mov %asr17,%g5 ! check svt
- andcc %g5, %g1, %g0
- beq .L2
- nop
-
- set _hardreset,%l3
- jmp %l3
- nop
-
-.L2: ta 0x0 ! no svt implemented (ether leon2 or svt != 1)
- nop
-
diff --git a/libgloss/sparc_leon/locore_svtdisp.S b/libgloss/sparc_leon/locore_svtdisp.S
deleted file mode 100644
index 44400f2..0000000
--- a/libgloss/sparc_leon/locore_svtdisp.S
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-/* The traptable has to be the first code in a boot PROM. */
-
-#include <asm-leon/head.h>
-
-#define TRAP(H) mov %psr, %l0; sethi %hi(H), %l4; jmp %l4+%lo(H); nop;
-#define TRAPL(H) mov %g0, %l0; sethi %hi(H), %l4; jmp %l4+%lo(H); nop;
-#define TRAP_ENTRY(H) rd %psr, %l0; b H; rd %wim, %l3; nop;
-
-#define WIM_INIT 2
-#ifdef _SOFT_FLOAT
-#define PSR_INIT 0x0e0
-#else
-#define PSR_INIT 0x10e0
-#endif
-
-#define NUMREGWINDOWS 8
-
-/* Unexcpected trap will halt the processor by forcing it to error state */
-#define BAD_TRAP ta 0; nop; nop; nop;
-
-/* Software trap. Treat as BAD_TRAP */
-#define SOFT_TRAP BAD_TRAP
-
-#define TT_MASK 0xff0 // trap type mask from tbr
-#define TT_SHL 4 // shift to get a tbr value
-
- .seg "text"
-
- /* ------- */
- .weak _start_svt_weak
- .set _start_svt_weak,_start_svt_disp
- /* ------- */
-
- .global _trap_table, cpuinit, _hardreset, _hardreset_svt
- .global _fpdis_enable_svt,_fpdis_svt,_window_overflow_svt,_window_underflow_svt
- .global _leonbare_irq_entry_svt,_irqcall_svt,_flush_windows_svt,_srmmu_fault_svt,_irqcall_disableirq_svt
- .global start, _start_svt_real
-
-_start_svt_real:
- nop
-
-_start_svt_disp:
- rd %tbr, %l3
- rd %psr, %l0
- ! here,locals have been set up as follows:
- ! %l0 = psr
- ! %l1 = pc
- ! %l2 = npc
- ! %l3 = tbr
- and %l3,TT_MASK,%l3
- srl %l3,TT_SHL,%l3
-
-/*
-struct get {
- int start,end,func;
-};
-
-struct get table[3] = {
- {0,1,..},
- {0,0,0},
-};
-
-int gettrap(int nr){
- struct get *p = table;
- while((p->start) || (p->end) || (p->func)) {
- if (p->start <= nr && p->end >= nr) {
- return p->func;
- }
- p++;
- }
- return 0;
-}
-
-$sparc-elf-gcc -S gettrap.c -o test.S -O2
-*/
-
-#define loc_o0 l3
-#define loc_o1 l4
-#define loc_o2 l5
-#define loc_o3 l6
-
- sethi %hi(trap_table), %loc_o2
- or %loc_o2, %lo(trap_table), %loc_o2
- mov %loc_o0, %loc_o3
- ld [%loc_o2], %loc_o1
-.LL13:
- cmp %loc_o1, %loc_o3
-.LL12:
- bg,a .LL11
- add %loc_o2, 12, %loc_o2
- ld [%loc_o2+4], %loc_o0
- cmp %loc_o0, %loc_o3
- bge,a .LL1
- ld [%loc_o2+8], %loc_o0
- add %loc_o2, 12, %loc_o2
-.LL11:
- ld [%loc_o2], %loc_o0
- orcc %loc_o0, 0, %loc_o1
- bne .LL12
- cmp %loc_o1, %loc_o3
- ld [%loc_o2+4], %loc_o0
- cmp %loc_o0, 0
- bne .LL12
- cmp %loc_o1, %loc_o3
- ld [%loc_o2+8], %loc_o0
- cmp %loc_o0, 0
- bne .LL12
- cmp %loc_o1, %loc_o3
-
- !not in table
- BAD_TRAP
-
-.LL1:
- jmp %loc_o0
- nop
-
-
- .global trap_table,svt_trap_table_ext,svt_trap_table_ext_end
- .section ".rodata"
- .align 4
-trap_table:
- .long 0,0, _hardreset_svt
- .long 1,1, _srmmu_fault_svt ! 01 instruction_access_exception (in mmu_asm.S)
- .long 4,4
-#ifndef _SOFT_FLOAT
- .long _fpdis_enable_svt ! 04 fp_disabled
-#else
- .long _fpdis_svt ! 04 fp_disabled
-#endif
-#ifndef _FLAT
- .long 5, 5, _window_overflow_svt ! 05 window_overflow
- .long 6, 6, _window_underflow_svt ! 06 window_underflow
-#endif
- .long 9,9, _srmmu_fault_svt ! 09 data_access_exception (in mmu_asm.S)
- .long 0x11,0x1f, _leonbare_irq_entry_svt ! 11-1f interrupt level
- .long 0x82,0x82, _irqcall_svt ! 82
-#ifndef _FLAT
- .long 0x83,0x83, _flush_windows_svt ! 83
-#endif
- .long 0x85,0x85, _irqcall_disableirq_svt ! 85
-svt_trap_table_ext:
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
- .long 0,0,0
-svt_trap_table_ext_end:
- .long 0,0,0
-
diff --git a/libgloss/sparc_leon/locore_var.S b/libgloss/sparc_leon/locore_var.S
deleted file mode 100644
index 0d690bb..0000000
--- a/libgloss/sparc_leon/locore_var.S
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
- .section .text
- /* ------- */
- .weak _hardreset_custom_weak
- .set _hardreset_custom_weak,_hardreset_custom_weak_dummy
- /* ------- */
- .global _nwindows, _leon_version, _nwindows_min1
-
-_hardreset_custom_weak_dummy:
-
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-! get nwindows and leon version
-
- mov %psr, %l3
- srl %l3, 24, %g5
- and %g5, 3, %g5
- subcc %g5, 3, %g0 ! leon3: 3
- bne 1f
- nop
- set _leon_version,%l0
- set 3,%l1
- st %l1,[%l0]
- mov %asr17, %g5 ! leon3 has nwindows in %asr17
- ba 2f
-1:
- /* other version */
-2:
- and %g5, 0x1f, %g5
- set _nwindows_min1, %l3
- st %g5, [%l3]
- add %g5,1,%g5
- set _nwindows, %l3
- st %g5, [%l3]
- set _nwindows_min2, %l3
- sub %g5,2,%g5
- st %g5, [%l3]
-
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
-
- retl
- nop
-
-!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- .section .data
- .global _nwindows, _leon_version, _nwindows_min1, _nwindows_min2
-_nwindows:
- .word 8
-_nwindows_min1:
- .word 7
-_nwindows_min2:
- .word 6
-_leon_version:
- .word 3
diff --git a/libgloss/sparc_leon/locore_var_svt.S b/libgloss/sparc_leon/locore_var_svt.S
deleted file mode 100644
index 0a75239..0000000
--- a/libgloss/sparc_leon/locore_var_svt.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-
- .section .text
- /* ------- */
- .weak _hardreset_custom_svt_weak
- .set _hardreset_custom_svt_weak,_hardreset_custom_svt_weak_dummy
- /* ------- */
-
-
-_hardreset_custom_svt_weak_dummy:
- retl
- nop
-
diff --git a/libgloss/sparc_leon/mmu_asm.S b/libgloss/sparc_leon/mmu_asm.S
deleted file mode 100644
index 5fe6a76..0000000
--- a/libgloss/sparc_leon/mmu_asm.S
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
- .seg "text"
-
- ! srmmu trap or data access trap
- /* ------- */
- .weak _srmmu_fault_svt
- .set _srmmu_fault_svt,__srmmu_fault_svt
- .weak _srmmu_fault
- .set _srmmu_fault,__srmmu_fault
- /* ------- */
-
-/* 1 (inst) or 9 (data) in %l6 */
-__srmmu_fault_svt:
-__srmmu_fault:
- ta 0; nop; nop; nop;
- jmp %l1 ! Re-execute save.
- rett %l2
diff --git a/libgloss/sparc_leon/mutex.c b/libgloss/sparc_leon/mutex.c
deleted file mode 100644
index eb2c299..0000000
--- a/libgloss/sparc_leon/mutex.c
+++ /dev/null
@@ -1,256 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <sys/types.h>
-#include <sys/lock.h>
-#include <asm-leon/queue.h>
-/*#include <sys/fsu_pthread_mutex.h>*/
-
-typedef int pthread_protocol_t;
-typedef
-TAILQ_HEAD (pthread_queue, pthread) *
- pthread_queue_t;
-
-#define pthread_mutex_t_defined
- typedef struct pthread_mutex
- {
- struct pthread_queue queue;
- char lock;
- struct pthread *owner;
- int flags;
- int count;
- int prioceiling;
- pthread_protocol_t protocol;
- int prev_max_ceiling_prio;
- TAILQ_ENTRY (pthread_mutex) dbglist;
- char *dbgname;
- int _fitothers[16];
- } pthread_mutex_t;
-
- typedef struct
- {
- int flags;
- int prioceiling;
- pthread_protocol_t protocol;
- } pthread_mutexattr_t;
-
-
- int (*__lbst_pthread_mutex_init) (pthread_mutex_t * __mutex,
- pthread_mutexattr_t * __mutex_attr) =
- 0;
- int (*__lbst_pthread_mutex_destroy) (pthread_mutex_t * __mutex) = 0;
- int (*__lbst_pthread_mutex_trylock) (pthread_mutex_t * __mutex) = 0;
- int (*__lbst_pthread_mutex_lock) (pthread_mutex_t * __mutex) = 0;
- int (*__lbst_pthread_mutex_unlock) (pthread_mutex_t * __mutex) = 0;
- int (*__lbst_pthread_mutexattr_init) (pthread_mutexattr_t * __attr) = 0;
- int (*__lbst_pthread_mutexattr_destroy) (pthread_mutexattr_t * __attr) =
- 0;
- int (*__lbst_pthread_mutexattr_settype) (pthread_mutexattr_t * __attr,
- int __kind) = 0;
-
- int ___st_pthread_mutex_init (mutex, attr)
- pthread_mutex_t *mutex;
- pthread_mutexattr_t *attr;
-{
- if (__lbst_pthread_mutex_init)
- {
- return __lbst_pthread_mutex_init (mutex, attr);
- }
- return 0;
-}
-
-int
-___st_pthread_mutex_destroy (mutex)
- pthread_mutex_t *mutex;
-{
- if (__lbst_pthread_mutex_destroy)
- {
- return __lbst_pthread_mutex_destroy (mutex);
- }
- return 0;
-}
-
-int
-___st_pthread_mutex_lock (mutex)
- pthread_mutex_t *mutex;
-{
- if (__lbst_pthread_mutex_lock)
- {
- return __lbst_pthread_mutex_lock (mutex);
- }
- return 0;
-}
-
-int
-___st_pthread_mutex_trylock (mutex)
- pthread_mutex_t *mutex;
-{
- if (__lbst_pthread_mutex_trylock)
- {
- return __lbst_pthread_mutex_trylock (mutex);
- }
- return 0;
-}
-
-int
-___st_pthread_mutex_unlock (mutex)
- pthread_mutex_t *mutex;
-{
- if (__lbst_pthread_mutex_unlock)
- {
- return __lbst_pthread_mutex_unlock (mutex);
- }
- return 0;
-}
-
-int
-___st_pthread_mutexattr_init (attr)
- pthread_mutexattr_t *attr;
-{
- if (__lbst_pthread_mutexattr_init)
- {
- return __lbst_pthread_mutexattr_init (attr);
- }
- return (0);
-}
-
-int
-___st_pthread_mutexattr_destroy (attr)
- pthread_mutexattr_t *attr;
-{
- if (__lbst_pthread_mutexattr_destroy)
- {
- return __lbst_pthread_mutexattr_destroy (attr);
- }
- return 0;
-}
-
-int
-___st_pthread_mutexattr_settype (attr, kind)
- pthread_mutexattr_t *attr;
- int kind;
-{
- if (__lbst_pthread_mutexattr_settype)
- {
- return __lbst_pthread_mutexattr_settype (attr, kind);
- }
- return 0;
-}
-
-#include <asm-leon/elfmacro.h>
-
-weak_alias (___st_pthread_mutex_init, __st_pthread_mutex_init)
-weak_alias (___st_pthread_mutex_destroy, __st_pthread_mutex_destroy)
-weak_alias (___st_pthread_mutex_trylock, __st_pthread_mutex_trylock)
-weak_alias (___st_pthread_mutex_lock, __st_pthread_mutex_lock)
-weak_alias (___st_pthread_mutex_unlock, __st_pthread_mutex_unlock)
-weak_alias (___st_pthread_mutexattr_init, __st_pthread_mutexattr_init)
-weak_alias (___st_pthread_mutexattr_destroy, __st_pthread_mutexattr_destroy)
-weak_alias (___st_pthread_mutexattr_settype, __st_pthread_mutexattr_settype)
-/* /\* #ifndef weak_extern *\/ */
-/* /\* #define weak_extern(symbol) _weak_extern (symbol) *\/ */
-/* /\* #define _weak_extern(symbol) asm (".weak " #symbol); *\/ */
-/* /\* #endif *\/ */
-/* /\* weak_extern (__pthread_mutex_init) *\/ */
-/* /\* weak_extern (__pthread_mutex_destroy) *\/ */
-/* /\* weak_extern (__pthread_mutex_lock) *\/ */
-/* /\* weak_extern (__pthread_mutex_trylock) *\/ */
-/* /\* weak_extern (__pthread_mutex_unlock) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_init) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_destroy) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_settype) *\/ */
-/* /\* weak_extern (__pthread_once) *\/ */
-/* /\* weak_extern (__pthread_initialize) *\/ */
-/* /\* Initialize the named lock variable, leaving it in a consistent, unlocked */
-/* state. *\/ */
-/* #define __libc_lock_init(NAME) \ */
-/* (__pthread_mutex_init != NULL ? __pthread_mutex_init (&(NAME), NULL) : 0); */
-/* /\* Same as last but this time we initialize a recursive mutex. *\/ */
-/* #define __libc_lock_init_recursive(NAME) \ */
-/* do { \ */
-/* if (__pthread_mutex_init != NULL) \ */
-/* { \ */
-/* pthread_mutexattr_t __attr; \ */
-/* __pthread_mutexattr_init (&__attr); \ */
-/* __pthread_mutexattr_settype (&__attr, PTHREAD_MUTEX_RECURSIVE_NP); \ */
-/* __pthread_mutex_init (&(NAME), &__attr); \ */
-/* __pthread_mutexattr_destroy (&__attr); \ */
-/* } \ */
-/* } while (0); */
-/* /\* Finalize the named lock variable, which must be locked. It cannot be */
-/* used again until __libc_lock_init is called again on it. This must be */
-/* called on a lock variable before the containing storage is reused. *\/ */
-/* //#define __libc_lock_fini(NAME) (__pthread_mutex_destroy != NULL ? __pthread_mutex_destroy (&(NAME)) : 0) */
-/* #define __libc_lock_fini(NAME) (__st_pthread_mutex_destroy (&(NAME))) */
-/* /\* Finalize recursive named lock. *\/ */
-/* #define __libc_lock_fini_recursive(NAME) __libc_lock_fini (NAME) */
-/* /\* Lock the named lock variable. *\/ */
-/* //#define __libc_lock_lock(NAME) (__pthread_mutex_lock != NULL ? __pthread_mutex_lock (&(NAME)) : 0) */
-/* #define __libc_lock_lock(NAME) (__st_pthread_mutex_lock (&(NAME))) */
-/* /\* Lock the recursive named lock variable. *\/ */
-/* #define __libc_lock_lock_recursive(NAME) __libc_lock_lock (NAME) */
-/* /\* Try to lock the named lock variable. *\/ */
-/* //#define __libc_lock_trylock(NAME) (__pthread_mutex_trylock != NULL ? __pthread_mutex_trylock (&(NAME)) : 0) */
-/* #define __libc_lock_trylock(NAME) (__st_pthread_mutex_trylock (&(NAME))) */
-/* /\* Try to lock the recursive named lock variable. *\/ */
-/* #define __libc_lock_trylock_recursive(NAME) __libc_lock_trylock (NAME) */
-/* /\* Unlock the named lock variable. *\/ */
-/* //#define __libc_lock_unlock(NAME) (__pthread_mutex_unlock != NULL ? __pthread_mutex_unlock (&(NAME)) : 0) */
-/* #define __libc_lock_unlock(NAME) (__st_pthread_mutex_unlock (&(NAME))) */
-/* /\* Unlock the recursive named lock variable. *\/ */
-/* #define __libc_lock_unlock_recursive(NAME) __libc_lock_unlock (NAME) */
-/* extern int __st_pthread_mutex_init (pthread_mutex_t *__mutex, pthread_mutexattr_t *__mutex_attr); */
-/* extern int __st_pthread_mutex_destroy (pthread_mutex_t *__mutex); */
-/* extern int __st_pthread_mutex_trylock (pthread_mutex_t *__mutex); */
-/* extern int __st_pthread_mutex_lock (pthread_mutex_t *__mutex); */
-/* extern int __st_pthread_mutex_unlock (pthread_mutex_t *__mutex); */
-/* extern int __st_pthread_mutexattr_init (pthread_mutexattr_t *__attr); */
-/* extern int __st_pthread_mutexattr_destroy (pthread_mutexattr_t *__attr); */
-/* extern int __st_pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind); */
-/* /\* /\\* Functions that are used by this file and are internal to the GNU C library. *\\/ *\/ */
-/* /\* extern int __pthread_mutex_init (pthread_mutex_t *__mutex, pthread_mutexattr_t *__mutex_attr); *\/ */
-/* /\* extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex); *\/ */
-/* /\* extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex); *\/ */
-/* /\* extern int __pthread_mutex_lock (pthread_mutex_t *__mutex); *\/ */
-/* /\* extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); *\/ */
-/* /\* extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr); *\/ */
-/* /\* extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr); *\/ */
-/* /\* extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind); *\/ */
-/* /\* /\\* Make the pthread functions weak so that we can elide them from *\/ */
-/* /\* single-threaded processes. *\\/ *\/ */
-/* /\* #ifndef weak_extern *\/ */
-/* /\* #define weak_extern(symbol) _weak_extern (symbol) *\/ */
-/* /\* #define _weak_extern(symbol) asm (".weak " #symbol); *\/ */
-/* /\* #endif *\/ */
-/* /\* weak_extern (__pthread_mutex_init) *\/ */
-/* /\* weak_extern (__pthread_mutex_destroy) *\/ */
-/* /\* weak_extern (__pthread_mutex_lock) *\/ */
-/* /\* weak_extern (__pthread_mutex_trylock) *\/ */
-/* /\* weak_extern (__pthread_mutex_unlock) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_init) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_destroy) *\/ */
-/* /\* weak_extern (__pthread_mutexattr_settype) *\/ */
-/* /\* weak_extern (__pthread_once) *\/ */
-/* /\* weak_extern (__pthread_initialize) *\/ */
diff --git a/libgloss/sparc_leon/nocache.S b/libgloss/sparc_leon/nocache.S
deleted file mode 100644
index 12709af..0000000
--- a/libgloss/sparc_leon/nocache.S
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/elfmacro.h>
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/contextswitch.h>
-#include <asm-leon/winmacros.h>
-#include <asm-leon/leonbare_kernel.h>
-
- FUNC_EXPORT(leonbare_leon23_loadnocache)
- FUNC_EXPORT(leonbare_leon23_loadnocache16)
- FUNC_EXPORT(leonbare_leon23_loadnocache8)
-
- FUNC_EXPORT(leonbare_leon3_loadnocache)
- FUNC_EXPORT(leonbare_leon3_loadnocache16)
- FUNC_EXPORT(leonbare_leon3_loadnocache8)
-
-
- FUNC_EXPORT(leonbare_leon23_storenocache)
- FUNC_EXPORT(leonbare_leon23_storenocache16)
- FUNC_EXPORT(leonbare_leon23_storenocache8)
-
- FUNC_IMPORT(_leon_version)
-
- .text
-
-/* =================================== */
-/* LEON2 / 3 */
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon23_loadnocache) /* use only %o0,%o1,%o7 */
- lda [%o0] ASI_LEON3_CACHEMISS, %o0
- retl
- nop
-FUNC_END(leonbare_leon23_loadnocache)
-
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon23_loadnocache16)
- lduha [%o0] ASI_LEON3_CACHEMISS, %o0
- retl
- nop
-FUNC_END(leonbare_leon23_loadnocache16)
-
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon23_loadnocache8)
- lduba [%o0] ASI_LEON3_CACHEMISS, %o0
- retl
- nop
-FUNC_END(leonbare_leon23_loadnocache8)
-
-/* write through cache */
-FUNC_BEGIN(leonbare_leon23_storenocache) /* use only %o0,%o1,%o7 */
- st %o1, [%o0]
- retl
- mov %o1,%o0
-FUNC_END(leonbare_leon23_storenocache)
-
-/* write through cache */
-FUNC_BEGIN(leonbare_leon23_storenocache16)
- sth %o1, [%o0]
- retl
- mov %o1,%o0
-FUNC_END(leonbare_leon23_storenocache16)
-
-/* write through cache */
-FUNC_BEGIN(leonbare_leon23_storenocache8)
- stb %o1, [%o0]
- retl
- mov %o1,%o0
-FUNC_END(leonbare_leon23_storenocache8)
-
-
-
-/* =================================== */
-/* LEON3 only */
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon3_loadnocache) /* use only %o0,%o1,%o7 */
- retl
- lda [%o0] ASI_LEON3_CACHEMISS, %o0
-FUNC_END(leonbare_leon3_loadnocache)
-
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon3_loadnocache16)
- retl
- lduha [%o0] ASI_LEON3_CACHEMISS, %o0
-FUNC_END(leonbare_leon3_loadnocache16)
-
-/* load with forceing cache miss */
-FUNC_BEGIN(leonbare_leon3_loadnocache8)
- retl
- lduba [%o0] ASI_LEON3_CACHEMISS, %o0
-FUNC_END(leonbare_leon3_loadnocache8)
-
-
-
diff --git a/libgloss/sparc_leon/pnpinit.c b/libgloss/sparc_leon/pnpinit.c
deleted file mode 100644
index 7b8522b..0000000
--- a/libgloss/sparc_leon/pnpinit.c
+++ /dev/null
@@ -1,430 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/amba.h>
-#undef AMBA_TYPE_AHBIO_ADDR
-#include <asm-leon/lambapp.h>
-#include <string.h>
-
-#define AMBA_CONF_AREA 0xff000
-#define AMBA_AHB_SLAVE_CONF_AREA (1 << 11)
-#define AMBA_APB_SLAVES 16
-
-#ifdef PDEBUG
-#define DPRINTF(p) printf p
-#else
-#define DPRINTF(p)
-#endif
-
-unsigned int
-ambapp_addr_from (struct ambapp_mmap *mmaps, unsigned int address)
-{
- /* no translation? */
- if (!mmaps)
- return address;
-
- while (mmaps->size)
- {
- if ((address >= mmaps->remote_adr)
- && (address <= (mmaps->remote_adr + (mmaps->size - 1))))
- {
- return (address - mmaps->remote_adr) + mmaps->local_adr;
- }
- mmaps++;
- }
- return 1;
-}
-
-
-static void
-ambapp_ahb_dev_init (unsigned int ioarea,
- struct ambapp_mmap *mmaps,
- struct ambapp_pnp_ahb *ahb, struct ambapp_dev_hdr *dev)
-{
- int bar;
- struct ambapp_ahb_info *ahb_info;
- unsigned int addr, mask, mbar;
-
- /* Setup device struct */
- dev->vendor = ambapp_pnp_vendor (ahb->id);
- dev->device = ambapp_pnp_device (ahb->id);
- ahb_info = dev->devinfo;
- ahb_info->ver = ambapp_pnp_ver (ahb->id);
- ahb_info->irq = ambapp_pnp_irq (ahb->id);
- ahb_info->custom[0] = (unsigned int) ahb->custom[0];
- ahb_info->custom[1] = (unsigned int) ahb->custom[1];
- ahb_info->custom[2] = (unsigned int) ahb->custom[2];
-
- DPRINTF (("+AHB device %d:%d\n", dev->device, dev->vendor));
-
- /* Memory BARs */
- for (bar = 0; bar < 4; bar++)
- {
- mbar = ahb->mbar[bar];
- if (mbar == 0)
- {
- addr = 0;
- mask = 0;
- }
- else
- {
- addr = ambapp_pnp_start (mbar);
- if (ambapp_pnp_mbar_type (mbar) == AMBA_TYPE_AHBIO)
- {
- /* AHB I/O area is releative IO_AREA */
- addr = AMBA_TYPE_AHBIO_ADDR (addr, ioarea);
- mask =
- (((unsigned int) (ambapp_pnp_mbar_mask ((~mbar)) << 8) |
- 0xff)) + 1;
- }
- else
- {
- /* AHB memory area, absolute address */
- addr = ambapp_addr_from (mmaps, addr);
- mask =
- (~((unsigned int) (ambapp_pnp_mbar_mask (mbar) << 20))) + 1;
- }
- }
- ahb_info->start[bar] = addr;
- ahb_info->mask[bar] = mask;
- }
-}
-
-static void
-ambapp_apb_dev_init (unsigned int base,
- struct ambapp_mmap *mmaps,
- struct ambapp_pnp_apb *apb, struct ambapp_dev_hdr *dev)
-{
- struct ambapp_apb_info *apb_info;
-
- /* Setup device struct */
- dev->vendor = ambapp_pnp_vendor (apb->id);
- dev->device = ambapp_pnp_device (apb->id);
- apb_info = dev->devinfo;
- apb_info->ver = ambapp_pnp_ver (apb->id);
- apb_info->irq = ambapp_pnp_irq (apb->id);
- apb_info->start = ambapp_pnp_apb_start (apb->iobar, base);
- apb_info->mask = ambapp_pnp_apb_mask (apb->iobar);
-
- DPRINTF (("+APB device %d:%d\n", dev->device, dev->vendor));
-
-
-}
-
-#define MAX_NUM_BUSES 16
-static void
-ambapp_add_scanned_bus (unsigned int *ioareas, unsigned int ioarea)
-{
- int i;
- for (i = 0; i < MAX_NUM_BUSES; i++)
- {
- if (ioareas[i] == 0)
- {
- ioareas[i] = ioarea;
- return;
- }
- }
-}
-
-static int
-ambapp_has_been_scanned (unsigned int *ioareas, unsigned int ioarea)
-{
- int i;
- if (!ioareas)
- return 0;
-
- for (i = 0; i < MAX_NUM_BUSES; i++)
- {
- if (ioareas[i] == 0)
- {
- break;
- }
- else if (ioareas[i] == ioarea)
- {
- return 1;
- }
- }
- return 0;
-}
-
-static int
-ambapp_find (unsigned int ioarea,
- struct ambapp_dev_hdr *parent,
- struct ambapp_mmap *mmaps,
- void *internal,
- int (*find_match) (struct ambapp_dev_hdr * dev, void *arg),
- void *arg, int vendor, int device)
-{
- struct ambapp_pnp_ahb *ahb, ahb_buf;
- struct ambapp_pnp_apb *apb, apb_buf;
- struct ambapp_dev_hdr *dev, *prev, *prevapb, *apbdev;
- struct ambapp_ahb_info *ahb_info;
- int maxloops = 64;
- unsigned int apbbase, bridge_address;
- int i, j;
-
- DPRINTF (("Scan at 0x%08x\n", ioarea));
-
- if (parent)
- {
- /* scan first bus for 64 devices, rest for 16 devices */
- maxloops = 16;
- }
- else
- {
- if (internal)
- {
- ambapp_add_scanned_bus (internal, ioarea);
- }
- }
-
- prev = parent;
-
- /* AHB MASTERS */
- ahb = (struct ambapp_pnp_ahb *) (ioarea | AMBA_CONF_AREA);
- for (i = 0; i < maxloops; i++)
- {
- memcpy (&ahb_buf, ahb, sizeof (struct ambapp_pnp_ahb));
- if (ahb_buf.id != 0)
- {
- struct ambapp_dev_hdr _dev;
- struct ambapp_ahb_info _ahb;
- memset (&_dev, 0, sizeof (_dev));
- memset (&_ahb, 0, sizeof (_ahb));
- _dev.devinfo = &_ahb;
- _dev.dev_type = DEV_AHB_MST;
- dev = &_dev;
-
- ambapp_ahb_dev_init (ioarea, mmaps, &ahb_buf, dev);
-
- DPRINTF ((" = test %d:%d == %d:%d\n", vendor, device, dev->vendor,
- dev->device));
-
- if (vendor == dev->vendor &&
- device == dev->device && find_match (dev, arg))
- {
- return 1;
- }
- }
- ahb++;
- }
-
-
- /* AHB SLAVES */
- ahb =
- (struct ambapp_pnp_ahb *) (ioarea | AMBA_CONF_AREA |
- AMBA_AHB_SLAVE_CONF_AREA);
- for (i = 0; i < maxloops; i++)
- {
- memcpy (&ahb_buf, ahb, sizeof (struct ambapp_pnp_ahb));
- if (ahb_buf.id != 0)
- {
- struct ambapp_dev_hdr _dev;
- struct ambapp_ahb_info _ahb;
- memset (&_dev, 0, sizeof (_dev));
- memset (&_ahb, 0, sizeof (_ahb));
- _dev.devinfo = &_ahb;
- _dev.dev_type = DEV_AHB_MST;
- dev = &_dev;
-
- ambapp_ahb_dev_init (ioarea, mmaps, &ahb_buf, dev);
-
- DPRINTF ((" = test %d:%d == %d:%d\n", vendor, device, dev->vendor,
- dev->device));
-
- if (vendor == dev->vendor &&
- device == dev->device && find_match (dev, arg))
- {
- return 1;
- }
-
- /* Is it a AHB/AHB Bridge ? */
- if ((dev->device == GAISLER_AHB2AHB)
- && (dev->vendor == VENDOR_GAISLER))
- {
- /* AHB/AHB Bridge Found, recurse down the Bridge */
- ahb_info = dev->devinfo;
- if (ahb_info->ver)
- {
- bridge_address =
- ambapp_addr_from (mmaps, ahb_info->custom[1]);
-
- DPRINTF (("+(AHBAHB:0x%x)\n", bridge_address));
-
- /* Makes sure bus only scanned once */
- if (internal == 0
- || ambapp_has_been_scanned (internal,
- bridge_address) == NULL)
- {
- if (internal)
- ambapp_add_scanned_bus (internal, bridge_address);
-
- if (ambapp_find (bridge_address, dev, mmaps, internal,
- find_match, arg, vendor, device))
- return 1;
- }
- }
- }
- else if ((dev->device == GAISLER_APBMST)
- && (dev->vendor == VENDOR_GAISLER))
- {
- /* AHB/APB Bridge Found, add the APB devices to this AHB Slave's children */
- prevapb = dev;
- ahb_info = dev->devinfo;
- apbbase = ahb_info->start[0];
- apb = (struct ambapp_pnp_apb *) (apbbase | AMBA_CONF_AREA);
- for (j = 0; j < AMBA_APB_SLAVES; j++)
- {
- memcpy (&apb_buf, apb, sizeof (struct ambapp_pnp_apb));
- if (apb_buf.id)
- {
- struct ambapp_dev_hdr _apbdev;
- struct ambapp_apb_info _apb;
- memset (&_apbdev, 0, sizeof (_apbdev));
- memset (&_apb, 0, sizeof (_apb));
- _apbdev.devinfo = &_apb;
- _apbdev.dev_type = DEV_APB_SLV;
- apbdev = &_apbdev;
-
- ambapp_apb_dev_init (apbbase, mmaps, &apb_buf, apbdev);
-
- DPRINTF ((" = test %d:%d == %d:%d\n", vendor, device,
- apbdev->vendor, apbdev->device));
-
- if (vendor == apbdev->vendor &&
- device == apbdev->device &&
- find_match (apbdev, arg))
- {
-
- return 1;
- }
- }
- apb++;
- }
- }
- }
- ahb++;
- }
-
- if (parent == NULL)
- {
- /*free(internal); */
- }
-
- return 0;
-}
-
-struct ambapp_dev_find_match_arg
-{
- int index;
- int count;
- int type;
- void *dev;
-};
-
-/* AMBA PP find routines */
-static int
-ambapp_dev_find_match (struct ambapp_dev_hdr *dev, void *arg)
-{
- struct ambapp_dev_find_match_arg *p = arg;
-
- if (p->index == 0)
- {
- /* Found controller, stop */
- if (p->type == DEV_APB_SLV)
- {
- *(struct ambapp_apb_info *) p->dev =
- *(struct ambapp_apb_info *) dev->devinfo;
- p->dev = ((struct ambapp_apb_info *) p->dev) + 1;
- }
- else
- {
- *(struct ambapp_ahb_info *) p->dev =
- *(struct ambapp_ahb_info *) dev->devinfo;
- p->dev = ((struct ambapp_ahb_info *) p->dev) + 1;
- }
- p->count--;
- if (p->count < 1)
- return 1;
- }
- else
- {
- p->index--;
- }
- return 0;
-}
-
-static int
-find_apbslvs_next (int vendor, int device, struct ambapp_apb_info *dev,
- int index, int maxno)
-{
- struct ambapp_dev_find_match_arg arg;
- unsigned int busses[MAX_NUM_BUSES];
- memset (busses, 0, sizeof (busses));
-
- arg.index = index;
- arg.count = maxno;
- arg.type = DEV_APB_SLV; /* APB */
- arg.dev = dev;
-
- ambapp_find (LEON3_IO_AREA, NULL, NULL, &busses,
- ambapp_dev_find_match, &arg, vendor, device);
-
- return maxno - arg.count;
-}
-
-int
-find_apbslv (int vendor, int device, struct ambapp_apb_info *dev)
-{
- return find_apbslvs_next (vendor, device, dev, 0, 1);
-}
-
-struct ambapp_dev_hdr *ambapp_root = NULL;
-unsigned int busses[MAX_NUM_BUSES];
-extern unsigned int console;
-extern unsigned int rtc;
-extern unsigned int irqmp;
-
-void
-pnpinit (void)
-{
- struct ambapp_apb_info dev;
- int n;
- if ((n = find_apbslv (VENDOR_GAISLER, GAISLER_APBUART, &dev)) == 1)
- {
- console = dev.start;
- DPRINTF (("Found abuart at 0x%x\n", console));
- }
- if ((n = find_apbslv (VENDOR_GAISLER, GAISLER_GPTIMER, &dev)) == 1)
- {
- rtc = dev.start + 0x10;
- DPRINTF (("Found rtc at 0x%x\n", rtc));
- }
- if ((n = find_apbslv (VENDOR_GAISLER, GAISLER_IRQMP, &dev)) == 1)
- {
- irqmp = dev.start;
- DPRINTF (("Found irqmp at 0x%x\n", rtc));
- }
-}
diff --git a/libgloss/sparc_leon/pnpinit_malloc.c b/libgloss/sparc_leon/pnpinit_malloc.c
deleted file mode 100644
index ed76405..0000000
--- a/libgloss/sparc_leon/pnpinit_malloc.c
+++ /dev/null
@@ -1,679 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/amba.h>
-#undef AMBA_TYPE_AHBIO_ADDR
-#include <asm-leon/lambapp.h>
-#include <string.h>
-
-#define AMBA_CONF_AREA 0xff000
-#define AMBA_AHB_SLAVE_CONF_AREA (1 << 11)
-#define AMBA_APB_SLAVES 16
-
-#define DPRINTF(p) printf p
-
-/* Allocate */
-struct ambapp_dev_hdr *
-ambapp_alloc_dev_struct (int dev_type)
-{
- int size = sizeof (struct ambapp_dev_hdr);
- struct ambapp_dev_hdr *dev;
-
- if (dev_type == DEV_APB_SLV)
- {
- size += sizeof (struct ambapp_apb_info);
- }
- else
- {
- /* AHB */
- size += sizeof (struct ambapp_ahb_info);
- }
- dev = malloc (size);
- if (dev == NULL)
- return NULL;
- memset (dev, 0, size);
- dev->devinfo = (void *) (dev + 1);
- dev->dev_type = dev_type;
- return dev;
-}
-
-unsigned int
-ambapp_addr_from (struct ambapp_mmap *mmaps, unsigned int address)
-{
- /* no translation? */
- if (!mmaps)
- return address;
-
- while (mmaps->size)
- {
- if ((address >= mmaps->remote_adr)
- && (address <= (mmaps->remote_adr + (mmaps->size - 1))))
- {
- return (address - mmaps->remote_adr) + mmaps->local_adr;
- }
- mmaps++;
- }
- return 1;
-}
-
-void
-ambapp_ahb_dev_init (unsigned int ioarea,
- struct ambapp_mmap *mmaps,
- struct ambapp_pnp_ahb *ahb, struct ambapp_dev_hdr *dev)
-{
- int bar;
- struct ambapp_ahb_info *ahb_info;
- unsigned int addr, mask, mbar;
-
- /* Setup device struct */
- dev->vendor = ambapp_pnp_vendor (ahb->id);
- dev->device = ambapp_pnp_device (ahb->id);
- ahb_info = dev->devinfo;
- ahb_info->ver = ambapp_pnp_ver (ahb->id);
- ahb_info->irq = ambapp_pnp_irq (ahb->id);
- ahb_info->custom[0] = (unsigned int) ahb->custom[0];
- ahb_info->custom[1] = (unsigned int) ahb->custom[1];
- ahb_info->custom[2] = (unsigned int) ahb->custom[2];
-
- DPRINTF (("+AHB device %d:%d\n", dev->device, dev->vendor));
-
- /* Memory BARs */
- for (bar = 0; bar < 4; bar++)
- {
- mbar = ahb->mbar[bar];
- if (mbar == 0)
- {
- addr = 0;
- mask = 0;
- }
- else
- {
- addr = ambapp_pnp_start (mbar);
- if (ambapp_pnp_mbar_type (mbar) == AMBA_TYPE_AHBIO)
- {
- /* AHB I/O area is releative IO_AREA */
- addr = AMBA_TYPE_AHBIO_ADDR (addr, ioarea);
- mask =
- (((unsigned int) (ambapp_pnp_mbar_mask ((~mbar)) << 8) |
- 0xff)) + 1;
- }
- else
- {
- /* AHB memory area, absolute address */
- addr = ambapp_addr_from (mmaps, addr);
- mask =
- (~((unsigned int) (ambapp_pnp_mbar_mask (mbar) << 20))) + 1;
- }
- }
- ahb_info->start[bar] = addr;
- ahb_info->mask[bar] = mask;
- }
-}
-
-void
-ambapp_apb_dev_init (unsigned int base,
- struct ambapp_mmap *mmaps,
- struct ambapp_pnp_apb *apb, struct ambapp_dev_hdr *dev)
-{
- struct ambapp_apb_info *apb_info;
-
- /* Setup device struct */
- dev->vendor = ambapp_pnp_vendor (apb->id);
- dev->device = ambapp_pnp_device (apb->id);
- apb_info = dev->devinfo;
- apb_info->ver = ambapp_pnp_ver (apb->id);
- apb_info->irq = ambapp_pnp_irq (apb->id);
- apb_info->start = ambapp_pnp_apb_start (apb->iobar, base);
- apb_info->mask = ambapp_pnp_apb_mask (apb->iobar);
-
- DPRINTF (("+APB device %d:%d\n", dev->device, dev->vendor));
-
-
-}
-
-#define MAX_NUM_BUSES 16
-void
-ambapp_add_scanned_bus (unsigned int *ioareas, unsigned int ioarea)
-{
- int i;
- for (i = 0; i < MAX_NUM_BUSES; i++)
- {
- if (ioareas[i] == 0)
- {
- ioareas[i] = ioarea;
- return;
- }
- }
-}
-
-int
-ambapp_has_been_scanned (unsigned int *ioareas, unsigned int ioarea)
-{
- int i;
- if (!ioareas)
- return 0;
-
- for (i = 0; i < MAX_NUM_BUSES; i++)
- {
- if (ioareas[i] == 0)
- {
- break;
- }
- else if (ioareas[i] == ioarea)
- {
- return 1;
- }
- }
- return 0;
-}
-
-int
-ambapp_scan (unsigned int ioarea,
- struct ambapp_dev_hdr *parent,
- struct ambapp_mmap *mmaps,
- void *(*memfunc) (void *dest, const void *src, int n),
- struct ambapp_dev_hdr **root, void *internal)
-{
- struct ambapp_pnp_ahb *ahb, ahb_buf;
- struct ambapp_pnp_apb *apb, apb_buf;
- struct ambapp_dev_hdr *dev, *prev, *prevapb, *apbdev;
- struct ambapp_ahb_info *ahb_info;
- int maxloops = 64;
- unsigned int apbbase, bridge_address;
- int i, j;
-
- DPRINTF (("Scan at 0x%08x\n", ioarea));
-
- /* Default to memcpy() */
- if (!memfunc)
- memfunc = (void *(*)(void *dest, const void *src, int n)) memcpy;
-
- *root = NULL;
-
- if (parent)
- {
- /* scan first bus for 64 devices, rest for 16 devices */
- maxloops = 16;
- }
- else
- {
- DPRINTF (("+(malloc:"));
- internal = malloc (sizeof (unsigned int) * MAX_NUM_BUSES);
- DPRINTF (("0x%x)\n", internal));
-
- if (!internal)
- return -1;
- memset (internal, 0, sizeof (unsigned int) * MAX_NUM_BUSES);
-
- ambapp_add_scanned_bus (internal, ioarea);
- }
-
- prev = parent;
-
- /* AHB MASTERS */
- ahb = (struct ambapp_pnp_ahb *) (ioarea | AMBA_CONF_AREA);
- for (i = 0; i < maxloops; i++)
- {
- memfunc (&ahb_buf, ahb, sizeof (struct ambapp_pnp_ahb));
- if (ahb_buf.id != 0)
- {
- /* A AHB device present here */
- dev = ambapp_alloc_dev_struct (DEV_AHB_MST);
- if (!dev)
- return -1;
-
- ambapp_ahb_dev_init (ioarea, mmaps, &ahb_buf, dev);
-
- if (*root == NULL)
- *root = dev;
-
- if (prev != parent)
- prev->next = dev;
- dev->prev = prev;
- prev = dev;
- }
- ahb++;
- }
-
- /* AHB SLAVES */
- ahb =
- (struct ambapp_pnp_ahb *) (ioarea | AMBA_CONF_AREA |
- AMBA_AHB_SLAVE_CONF_AREA);
- for (i = 0; i < maxloops; i++)
- {
- memfunc (&ahb_buf, ahb, sizeof (struct ambapp_pnp_ahb));
- if (ahb_buf.id != 0)
- {
- /* A AHB device present here */
- dev = ambapp_alloc_dev_struct (DEV_AHB_SLV);
- if (!dev)
- return -1;
-
- ambapp_ahb_dev_init (ioarea, mmaps, &ahb_buf, dev);
-
- if (prev != parent)
- prev->next = dev;
- dev->prev = prev;
- prev = dev;
-
- /* Is it a AHB/AHB Bridge ? */
- if ((dev->device == GAISLER_AHB2AHB)
- && (dev->vendor == VENDOR_GAISLER))
- {
- /* AHB/AHB Bridge Found, recurse down the Bridge */
- ahb_info = dev->devinfo;
- if (ahb_info->ver)
- {
- bridge_address =
- ambapp_addr_from (mmaps, ahb_info->custom[1]);
-
- DPRINTF (("+(AHBAHB:0x%x)\n", bridge_address));
-
- /* Makes sure bus only scanned once */
- if (ambapp_has_been_scanned (internal, bridge_address) ==
- NULL)
- {
- ambapp_add_scanned_bus (internal, bridge_address);
- if (ambapp_scan
- (bridge_address, dev, mmaps, memfunc,
- &dev->children, internal))
- return -1;
- }
- }
- }
- else if ((dev->device == GAISLER_APBMST)
- && (dev->vendor == VENDOR_GAISLER))
- {
- /* AHB/APB Bridge Found, add the APB devices to this AHB Slave's children */
- prevapb = dev;
- ahb_info = dev->devinfo;
- apbbase = ahb_info->start[0];
- apb = (struct ambapp_pnp_apb *) (apbbase | AMBA_CONF_AREA);
- for (j = 0; j < AMBA_APB_SLAVES; j++)
- {
- memfunc (&apb_buf, apb, sizeof (struct ambapp_pnp_apb));
- if (apb_buf.id)
- {
- apbdev = ambapp_alloc_dev_struct (DEV_APB_SLV);
- if (!dev)
- return -1;
-
- ambapp_apb_dev_init (apbbase, mmaps, &apb_buf, apbdev);
-
- if (prevapb != dev)
- prevapb->next = apbdev;
- else
- dev->children = apbdev;
- apbdev->prev = prevapb;
- prevapb = apbdev;
- }
- apb++;
- }
- }
- }
- ahb++;
- }
-
- if (parent == NULL)
- {
- free (internal);
- }
-
- return 0;
-}
-
-/* Match search options againt device */
-int
-ambapp_dev_match_options (struct ambapp_dev_hdr *dev, unsigned int options,
- int vendor, int device)
-{
- if ((((options & (OPTIONS_ALL_DEVS)) == OPTIONS_ALL_DEVS) || /* Match TYPE */
- ((options & OPTIONS_AHB_MSTS) && (dev->dev_type == DEV_AHB_MST)) || ((options & OPTIONS_AHB_SLVS) && (dev->dev_type == DEV_AHB_SLV)) || ((options & OPTIONS_APB_SLVS) && (dev->dev_type == DEV_APB_SLV))) && ((vendor == -1) || (vendor == dev->vendor)) && /* Match ID */
- ((device == -1) || (device == dev->device)) && (((options & OPTIONS_ALL) == OPTIONS_ALL) || /* Match Allocated State */
- ((options &
- OPTIONS_FREE)
- && DEV_IS_FREE (dev))
- ||
- ((options &
- OPTIONS_ALLOCATED)
- &&
- DEV_IS_ALLOCATED
- (dev))))
- {
- return 1;
- }
- return 0;
-}
-
-/* If device is an APB bridge all devices on the APB bridge is processed */
-static int
-ambapp_for_each_apb (struct ambapp_dev_hdr *dev,
- unsigned int options,
- int vendor,
- int device, int maxdepth, ambapp_func_t func, void *arg)
-{
- int index;
- struct ambapp_dev_hdr *apbslv;
-
- if (maxdepth < 0)
- return 0;
-
- if (dev->children && (dev->children->dev_type == DEV_APB_SLV))
- {
- /* Found a APB Bridge */
- index = 0;
- apbslv = dev->children;
- while (apbslv)
- {
- if (ambapp_dev_match_options (apbslv, options, vendor, device) == 1)
- {
- if (func (apbslv, index, maxdepth, arg) == 1)
- return 1; /* Signalled stopped */
- }
- index++;
- apbslv = apbslv->next;
- }
- }
- return 0;
-}
-
-/* Traverse the prescanned device information */
-int
-ambapp_for_each (struct ambapp_dev_hdr *root,
- unsigned int options,
- int vendor,
- int device, int maxdepth, ambapp_func_t func, void *arg)
-{
- struct ambapp_dev_hdr *dev;
- int ahb_slave = 0;
- int index;
-
- if (maxdepth < 0)
- return 0;
-
- /* Start at device 'root' and process downwards.
- *
- * Breadth first search, search order
- * 1. AHB MSTS
- * 2. AHB SLVS
- * 3. APB SLVS on primary bus
- * 4. AHB/AHB secondary... -> step to 1.
- */
-
- /* AHB MST / AHB SLV */
- if (options & (OPTIONS_AHB_MSTS | OPTIONS_AHB_SLVS | OPTIONS_DEPTH_FIRST))
- {
- index = 0;
- dev = root;
- while (dev)
- {
- if ((dev->dev_type == DEV_AHB_SLV) && !ahb_slave)
- {
- /* First AHB Slave */
- ahb_slave = 1;
- index = 0;
- }
-
- /* Conditions must be fullfilled for function to be called */
- if (ambapp_dev_match_options (dev, options, vendor, device) == 1)
- {
- /* Correct device and vendor ID */
- if (func (dev, index, maxdepth, arg) == 1)
- return 1; /* Signalled stopped */
- }
-
- if ((options & OPTIONS_DEPTH_FIRST) && (options & OPTIONS_APB_SLVS))
- {
- /* Check is APB bridge, and process all APB Slaves in that case */
- if (ambapp_for_each_apb
- (dev, options, vendor, device, (maxdepth - 1), func,
- arg) == 1)
- return 1; /* Signalled stopped */
- }
-
- if (options & OPTIONS_DEPTH_FIRST)
- {
- if (dev->children && (dev->children->dev_type != DEV_APB_SLV))
- {
- /* Found AHB Bridge, recurse */
- if (ambapp_for_each
- (dev->children, options, vendor, device, (maxdepth - 1),
- func, arg) == 1)
- return 1;
- }
- }
-
- index++;
- dev = dev->next;
- }
- }
-
- /* Find APB Bridges */
- if ((options & OPTIONS_APB_SLVS) && !(options & OPTIONS_DEPTH_FIRST))
- {
- dev = root;
- while (dev)
- {
- /* Check is APB bridge, and process all APB Slaves in that case */
- if (ambapp_for_each_apb
- (dev, options, vendor, device, (maxdepth - 1), func, arg) == 1)
- return 1; /* Signalled stopped */
- dev = dev->next;
- }
- }
-
- /* Find AHB Bridges */
- if (!(options & OPTIONS_DEPTH_FIRST))
- {
- dev = root;
- while (dev)
- {
- if (dev->children && (dev->children->dev_type != DEV_APB_SLV))
- {
- /* Found AHB Bridge, recurse */
- if (ambapp_for_each
- (dev->children, options, vendor, device, (maxdepth - 1),
- func, arg) == 1)
- return 1;
- }
- dev = dev->next;
- }
- }
-
- return 0;
-}
-
-int
-ambapp_alloc_dev (struct ambapp_dev_hdr *dev, void *owner)
-{
- if (dev->owner)
- return -1;
- dev->owner = owner;
- return 0;
-}
-
-void
-ambapp_free_dev (struct ambapp_dev_hdr *dev)
-{
- dev->owner = NULL;
-}
-
-struct ambapp_dev_find_match_arg
-{
- int index;
- int count;
- int type;
- void *dev;
-};
-
-/* AMBA PP find routines */
-int
-ambapp_dev_find_match (struct ambapp_dev_hdr *dev, int index, int maxdepth,
- void *arg)
-{
- struct ambapp_dev_find_match_arg *p = arg;
-
- if (p->index == 0)
- {
- /* Found controller, stop */
- if (p->type == DEV_APB_SLV)
- {
- *(struct ambapp_apb_info *) p->dev =
- *(struct ambapp_apb_info *) dev->devinfo;
- p->dev = ((struct ambapp_apb_info *) p->dev) + 1;
- }
- else
- {
- *(struct ambapp_ahb_info *) p->dev =
- *(struct ambapp_ahb_info *) dev->devinfo;
- p->dev = ((struct ambapp_ahb_info *) p->dev) + 1;
- }
- p->count--;
- if (p->count < 1)
- return 1;
- }
- else
- {
- p->index--;
- }
- return 0;
-}
-
-int
-ambapp_find_apbslvs_next (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_apb_info *dev, int index, int maxno)
-{
- struct ambapp_dev_find_match_arg arg;
-
- arg.index = index;
- arg.count = maxno;
- arg.type = DEV_APB_SLV; /* APB */
- arg.dev = dev;
-
- ambapp_for_each (root, (OPTIONS_ALL | OPTIONS_APB_SLVS), vendor, device, 10,
- ambapp_dev_find_match, &arg);
-
- return maxno - arg.count;
-}
-
-int
-ambapp_find_apbslv (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_apb_info *dev)
-{
- return ambapp_find_apbslvs_next (root, vendor, device, dev, 0, 1);
-}
-
-int
-ambapp_find_apbslv_next (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_apb_info *dev, int index)
-{
- return ambapp_find_apbslvs_next (root, vendor, device, dev, index, 1);
-}
-
-int
-ambapp_find_apbslvs (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_apb_info *dev, int maxno)
-{
- return ambapp_find_apbslvs_next (root, vendor, device, dev, 0, maxno);
-}
-
-int
-ambapp_find_ahbslvs_next (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_ahb_info *dev, int index, int maxno)
-{
- struct ambapp_dev_find_match_arg arg;
-
- arg.index = index;
- arg.count = maxno;
- arg.type = DEV_AHB_SLV; /* AHB SLV */
- arg.dev = dev;
-
- ambapp_for_each (root, (OPTIONS_ALL | OPTIONS_AHB_SLVS), vendor, device, 10,
- ambapp_dev_find_match, &arg);
-
- return maxno - arg.count;
-}
-
-int
-ambapp_find_ahbslv_next (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_ahb_info *dev, int index)
-{
- return ambapp_find_ahbslvs_next (root, vendor, device, dev, index, 1);
-}
-
-int
-ambapp_find_ahbslv (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_ahb_info *dev)
-{
- return ambapp_find_ahbslvs_next (root, vendor, device, dev, 0, 1);
-}
-
-int
-ambapp_find_ahbslvs (struct ambapp_dev_hdr *root, int vendor, int device,
- struct ambapp_ahb_info *dev, int maxno)
-{
- return ambapp_find_ahbslvs_next (root, vendor, device, dev, 0, maxno);
-}
-
-struct ambapp_dev_hdr *
-ambapp_find_parent (struct ambapp_dev_hdr *dev)
-{
- while (dev->prev)
- {
- if (dev == dev->prev->children)
- {
- return dev->prev;
- }
- dev = dev->prev;
- }
- return NULL;
-}
-
-
-struct ambapp_dev_hdr *ambapp_root = NULL;
-extern unsigned int console;
-extern unsigned int rtc;
-
-void
-pnpinit (void)
-{
- struct ambapp_apb_info dev;
- int n;
- ambapp_scan (LEON3_IO_AREA, NULL, NULL, NULL, &ambapp_root, NULL);
- if ((n =
- ambapp_find_apbslv (ambapp_root, VENDOR_GAISLER, GAISLER_APBUART,
- &dev)) == 1)
- {
- console = dev.start;
- DPRINTF (("Found abuart at 0x%x\n", console));
- }
- if ((n =
- ambapp_find_apbslv (ambapp_root, VENDOR_GAISLER, GAISLER_GPTIMER,
- &dev)) == 1)
- {
- rtc = dev.start + 0x10;
- DPRINTF (("Found rtc at 0x%x\n", rtc));
- }
-}
diff --git a/libgloss/sparc_leon/pnpinit_simple.c b/libgloss/sparc_leon/pnpinit_simple.c
deleted file mode 100644
index 3fb9801..0000000
--- a/libgloss/sparc_leon/pnpinit_simple.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/amba.h>
-#undef AMBA_TYPE_AHBIO_ADDR
-#include <asm-leon/lambapp.h>
-#include <string.h>
-
-void
-pnpinit (void)
-{
-}
diff --git a/libgloss/sparc_leon/regwin.S b/libgloss/sparc_leon/regwin.S
deleted file mode 100644
index a9c18f9..0000000
--- a/libgloss/sparc_leon/regwin.S
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
- .seg "text"
-
-
-/* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- ! Window overflow trap handler on save.
- ! Touches %g1
- /* ------- */
- .weak _window_overflow
- .set _window_overflow,__window_overflow
- .weak _window_overflow_svt
- .set _window_overflow_svt,__window_overflow_svt
- /* ------- */
- !.global _window_overflow,_window_overflow_svt
- .global __window_overflow_rettseq,__window_overflow_rettseq_ret,__window_overflow_slow1
-
-__window_overflow_svt:
-__window_overflow:
-#ifndef _FLAT
-__window_overflow_rettseq:
- mov %wim, %l3 ! Calculate next WIM
- mov %g1, %l7
- srl %l3, 1, %g1
-__window_overflow_rettseq_ret:
- sethi %hi(_nwindows_min1), %l4 ! NWINDOWS-1
- ld [%l4+%lo(_nwindows_min1)], %l4
-
- sll %l3, %l4 , %l4
- or %l4, %g1, %g1
-
- save ! Get into window to be saved.
- mov %g1, %wim
- nop; nop; nop
- std %l0, [%sp + 0];
- std %l2, [%sp + 8];
- std %l4, [%sp + 16];
- std %l6, [%sp + 24];
- std %i0, [%sp + 32];
- std %i2, [%sp + 40];
- std %i4, [%sp + 48];
- std %i6, [%sp + 56];
- restore ! Go back to trap window.
- mov %l7, %g1
-
- jmp %l1 ! Re-execute save.
- rett %l2
- nop
-
-__window_overflow_slow1: ! space for possible stackcheck patch
- nop
- nop
-#else
- ta 0 ! halt
-__window_overflow_rettseq:
-__window_overflow_rettseq_ret:
-__window_overflow_slow1:
- nop
- nop
- nop
-#endif
-
- /* Window underflow trap handler on restore. */
-
- ! Touches %g1
- /* ------- */
- .weak _window_underflow
- .set _window_underflow,__window_underflow
- .weak _window_underflow_svt
- .set _window_underflow_svt,__window_underflow_svt
- /* ------- */
- !.global _window_underflow,_window_underflow_svt
-
-__window_underflow_svt:
-__window_underflow:
-#ifndef _FLAT
- mov %wim, %l3 ! Calculate next WIM
- sll %l3, 1, %l4
-
- sethi %hi(_nwindows_min1), %l5 ! NWINDOWS-1
- ld [%l5+%lo(_nwindows_min1)], %l5
-
- srl %l3, %l5, %l5
- or %l5, %l4, %l5
- mov %l5, %wim
- nop; nop; nop
- restore ! Two restores to get into the
- restore ! window to restore
- ldd [%sp + 0], %l0; ! Restore window from the stack
- ldd [%sp + 8], %l2;
- ldd [%sp + 16], %l4;
- ldd [%sp + 24], %l6;
- ldd [%sp + 32], %i0;
- ldd [%sp + 40], %i2;
- ldd [%sp + 48], %i4;
- ldd [%sp + 56], %i6;
- save ! Get back to the trap window.
- save
- jmp %l1 ! Re-execute restore.
- rett %l2
-#else
- ta 0 ! halt
-#endif
-
-
diff --git a/libgloss/sparc_leon/regwin_patch.c b/libgloss/sparc_leon/regwin_patch.c
deleted file mode 100644
index 319403e..0000000
--- a/libgloss/sparc_leon/regwin_patch.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
-extern volatile unsigned int __window_overflow_rettseq[3];
-extern volatile unsigned int __window_overflow_slow1[2];
-
-static unsigned int installed = 0;
-static unsigned int save__window_overflow_rettseq[3];
-
-int
-install_winoverflow_hook (void (*func) (void))
-{
- if (installed)
- {
- return 0;
- }
- if (!installed)
- {
- /*
- a7 50 00 00 rd %wim, %l3
- ae 10 00 01 mov %g1, %l7
- 83 34 e0 01 srl %l3, 1, %g1
-
- 81 c4 40 00 jmp %l1
- 81 cc 80 00 rett %l2 */
- save__window_overflow_rettseq[0] = __window_overflow_rettseq[0];
- save__window_overflow_rettseq[1] = __window_overflow_rettseq[1];
- save__window_overflow_rettseq[2] = __window_overflow_rettseq[2];
-
- /*29 10 00 31 sethi %hi(0x4000c400), %l4
- 81 c5 22 48 jmp %l4 + 0x248
- 01 00 00 00 nop */
-
- __window_overflow_rettseq[0] = ((((unsigned int) func) >> 10) & 0x3fffff) | 0x29000000; /* upper 22 */
- __window_overflow_rettseq[1] = ((((unsigned int) func)) & 0x03ff) | 0x81c52000; /* lower 10 */
- __window_overflow_rettseq[2] = 0x01000000; /* nop */
-
- sparc_leon23_icache_flush ();
- installed = 1;
- }
- return 0;
-}
-
-void
-uninstall_winoverflow_hook ()
-{
- if (installed)
- {
- __window_overflow_rettseq[0] = save__window_overflow_rettseq[0];
- __window_overflow_rettseq[1] = save__window_overflow_rettseq[1];
- __window_overflow_rettseq[2] = save__window_overflow_rettseq[2];
-
- sparc_leon23_icache_flush ();
- installed = 0;
- }
-}
diff --git a/libgloss/sparc_leon/regwin_slow.S b/libgloss/sparc_leon/regwin_slow.S
deleted file mode 100644
index 6191834..0000000
--- a/libgloss/sparc_leon/regwin_slow.S
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
- .seg "text"
-
-
-/* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- ! Window overflow trap handler on save.
- ! Touches %g1
- /* ------- */
- .weak _window_overflow
- .set _window_overflow,__window_overflow
- .weak _window_overflow_svt
- .set _window_overflow_svt,__window_overflow_svt
- /* ------- */
- !.global _window_overflow,_window_overflow_svt
- .global __window_overflow_rettseq,__window_overflow_rettseq_ret,__window_overflow_slow1
-
-__window_overflow_svt:
-__window_overflow:
-#ifndef _FLAT
-__window_overflow_rettseq:
- mov %wim, %l3 ! Calculate next WIM
- mov %g1, %l7
- srl %l3, 1, %g1
-
-__window_overflow_rettseq_ret:
- sethi %hi(_nwindows_min1), %l4 ! NWINDOWS-1
- ld [%l4+%lo(_nwindows_min1)], %l4
-
- sll %l3, %l4 , %l4
- or %l4, %g1, %g1
-
- save ! Get into window to be saved.
- mov %g1, %wim
- nop; nop; nop
- std %l0, [%sp + 0];
- std %l2, [%sp + 8];
- std %l4, [%sp + 16];
- std %l6, [%sp + 24];
- std %i0, [%sp + 32];
- std %i2, [%sp + 40];
- std %i4, [%sp + 48];
- std %i6, [%sp + 56];
- restore ! Go back to trap window.
- mov %l7, %g1
-
- jmp %l1 ! Re-execute save.
- rett %l2
- nop
-
-__window_overflow_slow1: ! space for possible stackcheck patch
- nop
- nop
-#else
- ta 0 ! halt
-__window_overflow_rettseq:
-__window_overflow_rettseq_ret:
-__window_overflow_slow1:
- nop
- nop
- nop
-#endif
-
- /* Window underflow trap handler on restore. */
-
- ! Touches %g1
- /* ------- */
- .weak _window_underflow
- .set _window_underflow,__window_underflow
- .weak _window_underflow_svt
- .set _window_underflow_svt,__window_underflow_svt
- /* ------- */
- !.global _window_underflow,_window_underflow_svt
-
-__window_underflow_svt:
-__window_underflow:
-#ifndef _FLAT
- mov %wim, %l3 ! Calculate next WIM
- sll %l3, 1, %l4
-
- sethi %hi(_nwindows_min1), %l5 ! NWINDOWS-1
- ld [%l5+%lo(_nwindows_min1)], %l5
-
- srl %l3, %l5, %l5
- or %l5, %l4, %l5
- mov %l5, %wim
- nop; nop; nop
- restore ! Two restores to get into the
- restore ! window to restore
- ldd [%sp + 0], %l0; ! Restore window from the stack
- ldd [%sp + 8], %l2;
- ldd [%sp + 16], %l4;
- ldd [%sp + 24], %l6;
- ldd [%sp + 32], %i0;
- ldd [%sp + 40], %i2;
- ldd [%sp + 48], %i4;
- ldd [%sp + 56], %i6;
- save ! Get back to the trap window.
- save
- jmp %l1 ! Re-execute restore.
- rett %l2
-#else
- ta 0 ! halt
-#endif
-
-
diff --git a/libgloss/sparc_leon/regwinflush.S b/libgloss/sparc_leon/regwinflush.S
deleted file mode 100644
index b21454c..0000000
--- a/libgloss/sparc_leon/regwinflush.S
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leon.h>
-#include <asm-leon/leonstack.h>
-#include <asm-leon/asmmacro.h>
-
- .seg "data"
- .global _lb_spillglobals, _lb_issideflush
- .align 4
-_lb_spillglobals:
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
-_lb_issideflush:
- .word 0 /* off: 28 */
-
- .seg "text"
-
-/* =============================================== */
-
-#define _SV save %sp, -SF_REGS_SZ, %sp
-#define _RS restore
-
- /* ------- */
- .weak _flush_windows
- .set _flush_windows,__flush_windows
- .weak _flush_windows_svt
- .set _flush_windows_svt,__flush_windows_svt
- /* ------- */
- !.global _flush_windows,_flush_windows_svt
-__flush_windows_svt:
- rd %wim, %l3
-
-__flush_windows:
- SAVE_ALL
-
-#ifndef _FLAT
-
- set _lb_issideflush, %l3
- st %l0, [%l3] /* mark as inside flush */
-
- wr %l0, SPARC_PSR_ET_MASK, %psr
- nop; nop; nop
-
- _SV; _SV; _SV; _SV; _SV; _SV; _SV;
- _RS; _RS; _RS; _RS; _RS; _RS; _RS;
-
- set _lb_issideflush, %l3
- st %g0, [%l3] /* mark as outside flush */
-
- /* Advance over the trap instruction. */
- ld [%sp + SF_REGS_SZ + PT_NPC], %l1
- add %l1, 0x4, %l2
- st %l1, [%sp + SF_REGS_SZ + PT_PC]
- st %l2, [%sp + SF_REGS_SZ + PT_NPC]
-#endif
-
- RESTORE_ALL
-
-/* =============================================== */
-
-_irqcall_flush_windows:
-#ifndef _FLAT
- set _lb_spillglobals,%l4
- st %g1,[%l4+0]
- st %g4,[%l4+4]
- st %l0,[%l4+16]
- st %l1,[%l4+20]
- st %l2,[%l4+24]
- st %l4,[%l4+28] /* mark as inside flush */
-
- restore
-
- mov %psr, %g1
- or %g1, SPARC_PSR_PIL_MASK, %g1
- wr %g1, SPARC_PSR_ET_MASK, %psr /* disable irq, enable traps */
- nop
- nop
- nop
-
- sethi %hi(_nwindows_min1), %g4 /* flush registers */
- ld [%g4+%lo(_nwindows_min1)], %g4
-1: save /* NWINDOWS-1 times */
- sub %g4,1,%g4
-
- /*****************/
- andncc %g4,0xff,%g0
- be .lab1
- nop
- nop
-
-.lab1: /*****************/
-
- cmp %g4,%g0
- bne 1b
- nop
-
- sethi %hi(_nwindows_min1), %g4
- ld [%g4+%lo(_nwindows_min1)], %g4
-2: restore /* NWINDOWS-1 times */
-
- /*****************/
- andncc %g4,0xff,%g0
- be .lab2
- nop
- nop
-
-.lab2: /*****************/
-
- sub %g4,1,%g4
- cmp %g4,%g0
- bne 2b
- nop
-
- save
-
- set _lb_spillglobals,%l4
- ld [%l4+4], %g4
- ld [%l4+0], %g1
- ld [%l4+16],%l0
- ld [%l4+20],%l1
- ld [%l4+24],%l2
- st %g0,[%l4+28] /* clean inside flush mark */
-
-#endif
-
- wr %l0, 0, %psr /* restore psr */
- nop
- nop
- nop
-
- jmpl %l2, %g0
- rett %l2 + 4
-
-/* =============================================== */
-
- /* ------- */
- .weak _irqcall_disableirq
- .set _irqcall_disableirq,__irqcall_disableirq
- .weak _irqcall_disableirq_svt
- .set _irqcall_disableirq_svt,__irqcall_disableirq_svt
- /* ------- */
-
-__irqcall_disableirq:
-__irqcall_disableirq_svt:
- or %l0, SPARC_PSR_PIL_MASK, %l0
- mov %l0, %psr
- nop; nop; nop
- jmpl %l2, %g0
- rett %l2 + 4
-
-/* =============================================== */
-
- /*
- * system call (ta 0x2):
- * 2: irq_disable:
- * o1 = 2
- * 3: irq_enable:
- * o0 = old_flags
- * o1 = 3
- * 4: enter supervisor mode (from user mode):
- * o1 = 4
- * 5: enter user mode:
- * o1 = 5
- * 6: flush windows
- *
- * On entry:
- *
- * l0 = psr (from trap table)
- * l1 = pc
- * l2 = npc
- * i0 = system call id
- */
-
- /* ------- */
- .weak _irqcall
- .set _irqcall,__irqcall
- .weak _irqcall_svt
- .set _irqcall_svt,__irqcall_svt
- /* ------- */
- !.global _irqcall,_irqcall_svt
-__irqcall_svt:
-__irqcall:
-
- subcc %i1, 2, %g0 ! syscall 2, disable interrupts
- bne 3f
- or %l0, 0x0f00, %l4 ! set PIL=15
- mov %l4, %psr
- or %l0, SPARC_PSR_ET_MASK, %i0 ! return old psr with ET=1
- ba,a 9f
-3:
- subcc %i1, 3, %g0 ! syscall 3, enable interrupts
- bne 4f
- and %i0, SPARC_PSR_PIL_MASK, %l4
- andn %l0, SPARC_PSR_PIL_MASK, %l5
- or %l5, %l4, %l4
- mov %l4, %psr
- ba,a 9f
-4:
- subcc %i1, 4, %g0 ! syscall 4, enter supervisor
- bne 5f
-
- mov %psr, %l4
- or %l4,SPARC_PSR_PS_MASK,%l4
- mov %l4, %psr ! set previous supervisor %psr
- nop; nop; nop
- ba,a 9f
-
-5:
- subcc %i1, 5, %g0 ! syscall 5, enter user
- bne 6f
-
- mov %psr, %l4
- andn %l4,SPARC_PSR_PS_MASK,%l4
- mov %l4, %psr ! clear previous supervisor %psr, return to user mode
- nop; nop; nop
- ba,a 9f
-
-6:
- subcc %i1, 6, %g0 ! syscall 6, flush windows
- bne 1f
- nop
-
- ba,a _irqcall_flush_windows
-
-1:
- ta 0 ! halt
-9: ! leave
- jmpl %l2, %g0
- rett %l2 + 4
-
-/* =============================================== */
-
- /* call _irqcall through trap */
- .global leonbare_enable_traps !void leonbare_enable_traps(unsigned long old_flags);
-leonbare_enable_traps:
- set 3,%o1
- retl
- ta 0x2
-
-/* =============================================== */
-
- /* call _irqcall through trap */
- .global leonbare_disable_traps !unsigned long leonbare_disable_traps();
-leonbare_disable_traps:
- set 2,%o1
- retl
- ta 0x2
-
-/* =============================================== */
-
- /* flush all windows */
- .global leonbare_flush_windows !void leonbare_flush_windows();
-leonbare_flush_windows:
- set 6,%o1
- retl
- ta 0x2
-
diff --git a/libgloss/sparc_leon/rtc.c b/libgloss/sparc_leon/rtc.c
deleted file mode 100644
index a67fb43..0000000
--- a/libgloss/sparc_leon/rtc.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-int *rtc = (int *) 0x80000310;
diff --git a/libgloss/sparc_leon/rtrap.S b/libgloss/sparc_leon/rtrap.S
deleted file mode 100644
index 677b2b1..0000000
--- a/libgloss/sparc_leon/rtrap.S
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/winmacros.h>
-
-/* Registers to not touch at all. */
-#define t_psr l0
-#define t_pc l1
-#define t_npc l2
-#define t_wim l3
-#define twin_tmp1 l4
-#define glob_tmp g4
-#define curptr g6
-
- /* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- .text
- .align 4
- .globl leonbare_trapreturn, schedule_callback
-
-leonbare_trapreturn:
-
- /* a optional scheduler can be called here */
- set schedule_callback, %g2
- ld [%g2], %g2
- cmp %g2,%g0
- beq 3f
- nop
-
- jmpl %g2,%o7
-#ifndef _SOFT_FLOAT
- add %sp, FW_REGS_SZ + 8 + SF_REGS_SZ , %o1 ! pt_regs ptr
-#else
- add %sp, SF_REGS_SZ , %o1 ! pt_regs ptr
-#endif
-
-3:
-
-#ifndef _SOFT_FLOAT
- ld [%sp + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 4)],%g2
- sethi %hi(fpustate_current), %g3
- st %g2, [%g3+%lo(fpustate_current)]
-#endif
-
- wr %t_psr, 0x0, %psr ! enable nesting again, clear ET
-
-#ifndef _FLAT
- /* Will the rett land us in the invalid window? */
- mov 2, %g1
- sll %g1, %t_psr, %g1
-
- sethi %hi(_nwindows), %g2 !NWINDOWS
- ld [%g2+%lo(_nwindows)], %g2
-
- srl %g1, %g2, %g2
- or %g1, %g2, %g1
- rd %wim, %g2
- andcc %g2, %g1, %g0
- be 1f ! Nope, just return from the trap
- sll %g2, 0x1, %g1
-
- /* We have to grab a window before returning. */
- sethi %hi(_nwindows_min1), %g3 !NWINDOWS-1
- ld [%g3+%lo(_nwindows_min1)], %g3
-
- srl %g2, %g3, %g2
- or %g1, %g2, %g1
- and %g1, 0xff, %g1
-
- wr %g1, 0x0, %wim
-
- /* Grrr, make sure we load from the right %sp... */
- PT_LOAD_ALL(sp, t_psr, t_pc, t_npc, g1)
-
- restore %g0, %g0, %g0
- RW_LOAD(sp)
- b 2f
- save %g0, %g0, %g0
-
- /* Reload the entire frame in case this is from a
- * kernel system call or whatever...
- */
-1:
-#endif
- PT_LOAD_ALL(sp, t_psr, t_pc, t_npc, g1)
-2:
-
-#ifdef _FLAT
- restore
- RW_LOAD(sp)
- save
-#endif
-
- wr %t_psr, 0x0, %psr
- nop; nop; nop
-
- jmp %t_pc
- rett %t_npc
-
-
-
-
-
-#ifdef _FLAT
-#warning _FLAT not implemented
-#endif
-
-
diff --git a/libgloss/sparc_leon/rtrap_fast.S b/libgloss/sparc_leon/rtrap_fast.S
deleted file mode 100644
index 1aef526..0000000
--- a/libgloss/sparc_leon/rtrap_fast.S
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <asm-leon/leonstack.h>
-#include <asm-leon/winmacros.h>
-
-/* Registers to not touch at all. */
-#define t_psr l0
-#define t_pc l1
-#define t_npc l2
-#define t_wim l3
-#define twin_tmp1 l4
-#define glob_tmp g4
-#define curptr g6
-
- /* Number of register windows */
- .global _nwindows_min1, _nwindows
-
- .text
- .align 4
- .globl leonbare_trapreturn_fast, schedule_callback
-
-
-/* rtap return special for irqtrap.S */
-leonbare_trapreturn_fast:
-
- /* a optional scheduler can be called here */
- set schedule_callback, %g2
- ld [%g2], %g2
- cmp %g2,%g0
- beq 3f
- nop
-
- jmpl %g2,%o7
-#ifndef _SOFT_FLOAT
- add %sp, FW_REGS_SZ + 8 + SF_REGS_SZ , %o1 ! pt_regs ptr
-#else
- add %sp, SF_REGS_SZ , %o1 ! pt_regs ptr
-#endif
-
-3:
-
-#ifndef _SOFT_FLOAT
- ld [%sp + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 4)],%g2
- sethi %hi(fpustate_current), %g3
- st %g2, [%g3+%lo(fpustate_current)]
- sethi %hi(fpustate_owner), %g3
- ld [%g3+%lo(fpustate_owner)], %g3
- cmp %g2, %g3
- bne didusefpu
- nop
-
- /* avoid fpu exception */
- ld [%sp + (SF_REGS_SZ + PT_REGS_SZ + FW_REGS_SZ - 8)], %g2
- set SPARC_PSR_EF_MASK, %g3
- and %g2, %g3, %g2
- andn %t_psr, %g3, %t_psr
- or %t_psr, %g2, %t_psr
- ba,a 1f
-
-didusefpu:
- add %sp,SF_REGS_SZ + PT_REGS_SZ,%g2
- cmp %g2, %g3
- bne 1f
-
- sethi %hi(fpustate_owner), %g3
- st %g0, [%g3+%lo(fpustate_owner)]
-
-1:
-#endif
-
- wr %t_psr, 0x0, %psr ! enable nesting again, clear ET
-
-#ifndef _FLAT
- /* Will the rett land us in the invalid window? */
- mov 2, %g1
- sll %g1, %t_psr, %g1
-
- sethi %hi(_nwindows), %g2 !NWINDOWS
- ld [%g2+%lo(_nwindows)], %g2
-
- srl %g1, %g2, %g2
- or %g1, %g2, %g1
- rd %wim, %g2
- andcc %g2, %g1, %g0
- be 1f ! Nope, just return from the trap
- sll %g2, 0x1, %g1
-
- /* We have to grab a window before returning. */
- sethi %hi(_nwindows_min1), %g3 !NWINDOWS-1
- ld [%g3+%lo(_nwindows_min1)], %g3
-
- srl %g2, %g3, %g2
- or %g1, %g2, %g1
- and %g1, 0xff, %g1
-
- wr %g1, 0x0, %wim
-
- /* Grrr, make sure we load from the right %sp... */
- PT_LOAD_ALL_FAST(sp, t_psr, t_pc, t_npc, g1)
-
- restore %g0, %g0, %g0
- RW_LOAD(sp)
- b 2f
- save %g0, %g0, %g0
-
- /* Reload the entire frame in case this is from a
- * kernel system call or whatever...
- */
-1:
-#endif
- PT_LOAD_ALL_FAST(sp, t_psr, t_pc, t_npc, g1)
-
-2: /*PT_LOAD_GLOBALS(sp)*/
-
-#ifdef _FLAT
- restore
- RW_LOAD(sp)
- save
-#endif
-
- wr %t_psr, 0x0, %psr
- nop; nop; nop
-
- jmp %t_pc
- rett %t_npc
-
-
-
-
-
-#ifdef _FLAT
-#warning _FLAT not implemented
-#endif
-
-
diff --git a/libgloss/sparc_leon/stop.S b/libgloss/sparc_leon/stop.S
deleted file mode 100644
index c8c8ac8..0000000
--- a/libgloss/sparc_leon/stop.S
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
- .seg "text"
- .global _leonbase_Stop
-
-_leonbase_Stop:
- ta 0
- nop
diff --git a/libgloss/sparc_leon/timer.c b/libgloss/sparc_leon/timer.c
deleted file mode 100644
index 0f4683e..0000000
--- a/libgloss/sparc_leon/timer.c
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/errno.h>
-#include <asm-leon/leon.h>
-#include <asm-leon/irq.h>
-#include <asm-leon/timer.h>
-#include <asm-leon/leoncompat.h>
-
-// '''''''''''''''''''''''''''''''''''''''''''''''''''''
-
-TAILQ_HEAD (timer_queue, timerevent) timers = TAILQ_HEAD_INITIALIZER (timers);
-
- int
- addtimer (struct timerevent *e)
-{
- struct timerevent *next;
- unsigned long old = leonbare_disable_traps ();
- TAILQ_FOREACH (next, &timers, n)
- {
- if (!GT_TIMESPEC (e->expire, next->expire))
- break;
- }
- if (next)
- {
- TAILQ_INSERT_BEFORE (next, e, n);
- }
- else
- {
- TAILQ_INSERT_TAIL (&timers, e, n);
- }
- leonbare_enable_traps (old);
-}
-
-extern unsigned long noalarm;
-void
-settimer ()
-{
- struct timeval tv, te;
- struct timerevent *e = TAILQ_FIRST (&timers), *n;
- while (e)
- {
- n = TAILQ_NEXT (e, n);
- te.tv_sec = e->expire.tv_sec;
- te.tv_usec = e->expire.tv_nsec / NSEC_PER_USEC;
- do_gettimeofday (&tv);
- if (GT_TIMEVAL (te, tv))
- {
- MINUS_TIMEVAL (te, te, tv);
- if (!tv.tv_sec || te.tv_usec <= tick_usec)
- {
- if (!noalarm)
- {
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- LEON3_GpTimer_Regs->e[1].val = 0;
- LEON3_GpTimer_Regs->e[1].rld = te.tv_usec - 1;
- LEON3_GpTimer_Regs->e[1].ctrl = 0;
- LEON3_GpTimer_Regs->e[1].ctrl =
- LEON3_GPTIMER_EN |
- LEON3_GPTIMER_LD | LEON3_GPTIMER_IRQEN;
- break;
- }
- }
- //---------------------
- }
- }
- else
- {
- unsigned long old = leonbare_disable_traps ();
- TAILQ_REMOVE (&timers, e, n);
- e->handler (e->arg);
- leonbare_enable_traps (old);
- }
- e = n;
- }
-}
-
-int
-Timer_getTimer1 (unsigned int **count, unsigned int **reload,
- unsigned int **ctrl)
-{
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- amba_init ();
- *count = (unsigned int *) &(LEON3_GpTimer_Regs->e[0].val);
- *reload = (unsigned int *) &(LEON3_GpTimer_Regs->e[0].rld);
- *ctrl = (unsigned int *) &(LEON3_GpTimer_Regs->e[0].ctrl);
- break;
- }
- //---------------------
- return 1;
-}
-
-int
-Timer_getTimer2 (unsigned int **count, unsigned int **reload,
- unsigned int **ctrl)
-{
- //---------------------
- switch (LEONCOMPAT_VERSION)
- {
- case 3:
- default:
- amba_init ();
- if (!noalarm)
- {
- *count = (unsigned int *) &(LEON3_GpTimer_Regs->e[1].val);
- *reload = (unsigned int *) &(LEON3_GpTimer_Regs->e[1].rld);
- *ctrl = (unsigned int *) &(LEON3_GpTimer_Regs->e[1].ctrl);
- break;
- }
- return 0;
- }
- //---------------------
- return 1;
-}
diff --git a/libgloss/sparc_leon/times.c b/libgloss/sparc_leon/times.c
deleted file mode 100644
index 817f40a..0000000
--- a/libgloss/sparc_leon/times.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2011 Aeroflex Gaisler
- *
- * BSD license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-
-#include <sys/types.h>
-#include <sys/times.h>
-#include <sys/errno.h>
-#include <asm-leon/jiffies.h>
-#include <asm-leon/param.h>
-
-clock_t (*clock_custom) (void) = 0;
-
-extern int *rtc;
-
-clock_t
-times (struct tms *buffer)
-{
- clock_t v;
- if (clock_custom)
- v = clock_custom ();
- else
- v = -*rtc;
-
- buffer->tms_utime = v; //-*rtc;
- buffer->tms_utime /= (CLOCK_TICK_RATE / HZ);
- buffer->tms_stime = 0;
- buffer->tms_cutime = 0;
- buffer->tms_cstime = 0;
-}
-
-clock_t
-clock (void)
-{
- if (clock_custom)
- return clock_custom ();
- return (-*rtc);
-}
diff --git a/libgloss/spu/Makefile.in b/libgloss/spu/Makefile.in
deleted file mode 100644
index c7d8f7e..0000000
--- a/libgloss/spu/Makefile.in
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright (c) 1998 Cygnus Support
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-
-AR = @AR@
-
-LD = @LD@
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `t='$(program_transform_name)'; echo objdump | sed -e $$t`
-OBJCOPY = `t='$(program_transform_name)'; echo objcopy | sed -e $$t`
-
-# object files needed
-OBJS = \
- access.o chdir.o chmod.o chown.o close.o conv_stat.o dirfuncs.o dup.o \
- dup2.o exit.o fchdir.o fchmod.o fchown.o fdatasync.o fstat.o fsync.o \
- ftruncate.o getcwd.o getpagesize.o getpid.o gettimeofday.o isatty.o \
- kill.o lchown.o link.o linux_syscalls.o lockf.o lseek.o lstat.o mkdir.o \
- mknod.o mkstemp.o mktemp.o mmap_eaddr.o mremap_eaddr.o msync_eaddr.o \
- munmap_eaddr.o nanosleep.o open.o pread.o pwrite.o read.o readlink.o \
- readv.o rmdir.o sbrk.o sched_yield.o shm_open.o shm_unlink.o stat.o \
- symlink.o sync.o syscalls.o truncate.o umask.o unlink.o utime.o utimes.o \
- write.o writev.o linux_getpid.o linux_gettid.o times.o getitimer.o \
- setitimer.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${OBJS}
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-CRTOBJS = crti.o crtn.o crt1.o crt2.o gcrt1.o gcrt2.o
-OUTPUTS = libgloss.a $(CRTOBJS)
-
-NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi` -ffunction-sections -fdata-sections
-NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
-
-INCLUDES = -I. -I$(srcdir)/..
-
-# TODO: Once libspu is installed on the system we can remove this hack
-INCLUDES += -I${srcroot}/../libspu/include
-
-# Note that when building the library, ${MULTILIB} is not the way multilib
-# options are passed; they're passed in $(CFLAGS).
-CFLAGS_FOR_TARGET = ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
-LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-AR_FLAGS = qc
-
-.c.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-
-.C.o:
- $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<
-.s.o:
- $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $<
-
-#
-# GCC knows to run the preprocessor on .S files before it assembles them.
-#
-.S.o:
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
-#
-# this is a bogus target that'll produce an assembler from the
-# C source with the right compiler options. this is so we can
-# track down code generation or debug symbol bugs.
-#
-.c.s:
- $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $<
-
-all: ${OUTPUTS}
-
-#
-# here's where we build the library for each target
-#
-
-libgloss.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-# C Runtime Library startup code.
-crti.o: $(srcdir)/crti.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crti.S -c -o crti.o
-
-crtn.o: $(srcdir)/crtn.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crtn.S -c -o crtn.o
-
-crt1.o: $(srcdir)/crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crt0.S -c -o crt1.o
-
-crt2.o: $(srcdir)/crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crt0.S -D_STD_MAIN -c -o crt2.o
-
-gcrt1.o: $(srcdir)/crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crt0.S -D_PROFILE -c -o gcrt1.o
-
-gcrt2.o: $(srcdir)/crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) $(srcdir)/crt0.S -D_PROFILE -D_STD_MAIN -c -o gcrt2.o
-
-doc:
-
-clean mostlyclean:
- rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status $(OUTPUTS)
-
-.PHONY: install info install-info clean-info
-install:
- for outputs in ${OUTPUTS}; do\
- ${INSTALL_DATA} $${outputs} $(DESTDIR)/${tooldir}/lib${MULTISUBDIR}/$${outputs}; \
- done
-
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
-
-syscalls.o close.o fstat.o lseek.o open.o read.o stat.o unlink.o write.o shm_open.o shm_unlink.o: jsre.h
diff --git a/libgloss/spu/access.c b/libgloss/spu/access.c
deleted file mode 100644
index 9c5cea4..0000000
--- a/libgloss/spu/access.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int pathname;
- unsigned int pad0[3];
- unsigned int mode;
- unsigned int pad1[3];
-} syscall_access_t;
-
-int
-access (const char *pathname, int mode)
-{
- syscall_access_t sys;
-
- sys.pathname = (unsigned int) pathname;
- sys.mode = mode;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_ACCESS, &sys);
-}
diff --git a/libgloss/spu/aclocal.m4 b/libgloss/spu/aclocal.m4
deleted file mode 100644
index b4e512e..0000000
--- a/libgloss/spu/aclocal.m4
+++ /dev/null
@@ -1,400 +0,0 @@
-# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 6
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# serial 7 -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-#serial 2
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# -*- Autoconf -*-
-# Copyright (C) 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 1
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 2
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/spu/chdir.c b/libgloss/spu/chdir.c
deleted file mode 100644
index a62550e..0000000
--- a/libgloss/spu/chdir.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-chdir (const char *path)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CHDIR, &path);
-}
diff --git a/libgloss/spu/chmod.c b/libgloss/spu/chmod.c
deleted file mode 100644
index 40c55bc..0000000
--- a/libgloss/spu/chmod.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int mode;
- unsigned int pad1[3];
-} syscall_chmod_t;
-
-int
-chmod (const char *path, mode_t mode)
-{
- syscall_chmod_t sys;
-
- sys.path = (unsigned int) path;
- sys.mode = (unsigned int) mode;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CHMOD, &sys);
-}
diff --git a/libgloss/spu/chown.c b/libgloss/spu/chown.c
deleted file mode 100644
index c5eab58..0000000
--- a/libgloss/spu/chown.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int owner;
- unsigned int pad1[3];
- unsigned int group;
- unsigned int pad2[3];
-} syscall_chown_t;
-
-int
-chown (const char *path, uid_t owner, gid_t group)
-{
- syscall_chown_t sys;
-
- sys.path = (unsigned int) path;
- sys.owner = (unsigned int) owner;
- sys.group = (unsigned int) group;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CHOWN, &sys);
-}
diff --git a/libgloss/spu/close.c b/libgloss/spu/close.c
deleted file mode 100644
index 57011f1..0000000
--- a/libgloss/spu/close.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include "jsre.h"
-
-int
-close (int file)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CLOSE, &file);
-}
diff --git a/libgloss/spu/configure b/libgloss/spu/configure
deleted file mode 100644
index d318367..0000000
--- a/libgloss/spu/configure
+++ /dev/null
@@ -1,3847 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-PACKAGE_URL=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/ppc.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$ac_tmp/subs.awk"
-else
- $AWK -f "$ac_tmp/subs.awk" | $SHELL
-fi \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/spu/configure.in b/libgloss/spu/configure.in
deleted file mode 100644
index 32270d9..0000000
--- a/libgloss/spu/configure.in
+++ /dev/null
@@ -1,51 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)dnl
-AC_INIT(crt0.S)
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/ppc.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/spu/conv_stat.c b/libgloss/spu/conv_stat.c
deleted file mode 100644
index 6b51058..0000000
--- a/libgloss/spu/conv_stat.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/stat.h>
-#include "jsre.h"
-
-/*
- * Convert the jsre stat structure to the newlib stat.
- */
-
-void
-__conv_stat (struct stat *stat, struct jsre_stat *jstat)
-{
- stat->st_dev = jstat->dev;
- stat->st_ino = jstat->ino;
- stat->st_mode = jstat->mode;
- stat->st_nlink = jstat->nlink;
- stat->st_uid = jstat->uid;
- stat->st_gid = jstat->gid;
- stat->st_rdev = jstat->rdev;
- stat->st_size = jstat->size;
- stat->st_blksize = jstat->blksize;
- stat->st_blocks = jstat->blocks;
- stat->st_atime = jstat->atime;
- stat->st_mtime = jstat->mtime;
- stat->st_ctime = jstat->ctime;
-}
diff --git a/libgloss/spu/crt0.S b/libgloss/spu/crt0.S
deleted file mode 100644
index 4c4bac6..0000000
--- a/libgloss/spu/crt0.S
+++ /dev/null
@@ -1,184 +0,0 @@
-/* (C) Copyright IBM Corp. 2005, 2006
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/* crt0.S - entry function for C Runtime.
- *
- * With _STD_MAIN switch, the crt0.S will be compiled to crt2.o.
- * The crt2.o sets up a C99-style interface for the SPU application's
- * main() function, including a local copy of argv strings.
- *
- * The number of argument strings is passed in R3. The size and EA
- * location of the argument vector region is passed in R4. Once the
- * argv region is copied to the highest range of LS, and $SP is set
- * just below it.
- *
- * Without _STD_MAIN, the crt0.S is compiled to crt1.o.
- * The crt1.o prepares the entry for an SPU module. The main() function
- * is called with different parameter list: spu_id, param and env
- * are passed by R3, R4 and R5 respectively.
- */
-
-#ifdef _STD_MAIN
-#define MFC_TAG_UPDATE_ALL 2
-#define MFC_GET_CMD 0x40
-#define TAGID 0
-#define TAGMASK 1
-#endif
-
-.comm __ea_local_store,16,16
-
-.text
-.global _start
-.type _start, @function
-
-_start:
- /* Save the local store base from $6. */
- stqr $6, __ea_local_store
-
-#ifdef _STD_MAIN
- /*
- * Copy the argument vector region from EA to LS. The DMA
- * parameters are passed in R4:
- *
- * +-------+-------+-------+-------+
- * R4 | LS | EA-HI | EA-LO | SIZE |
- * +-------+-------+-------+-------+
- * word 0 1 2 3
- *
- * By the end of this sequence, the prefered slot (word 0) of
- * R4 will contain the LS offset of argv region, which also
- * serves as the base offset for $SP.
- */
- wrch $MFC_LSA, $4
- rotqbyi $4, $4, 4
- wrch $MFC_EAH, $4
- rotqbyi $4, $4, 4
- wrch $MFC_EAL, $4
- rotqbyi $4, $4, 4
- wrch $MFC_Size, $4
- rotqbyi $4, $4, 4
- il $LR, TAGID
- wrch $MFC_TagID, $LR
-
- /* Issue MFC_GET_CMD, then wait for transfer of argument
- * vector region to complete.
- */
- il $LR, MFC_GET_CMD
- wrch $MFC_Cmd, $LR
- il $LR, TAGMASK
- wrch $MFC_WrTagMask, $LR
- il $LR, MFC_TAG_UPDATE_ALL
- wrch $MFC_WrTagUpdate, $LR
- rdch $LR, $MFC_RdTagStat
-#endif
-
- /* Save parameter list of main function to the non-volatile
- * registers. spu_thread module has three parameters, while
- * spulet only has two.
- */
- ori $80, $3, 0
- ori $81, $4, 0
-#ifndef _STD_MAIN
- ori $82, $5, 0
-#endif
-
- /* The Link Register is initialized to NULL.
- */
- il $LR, 0
-
-#ifdef _STD_MAIN
- /* For spulet, initialize stack pointer just below the argv region.
- */
- ai $SP,$4,-16
-#else
- /* For spe_thread module, the stack pointer is initialized
- * below the area where __stack points to.
- */
- ila $SP,__stack
-#endif
- /* Initialize back chain to NULL.
- */
- stqd $LR,0($SP)
-
- /* Allocate 2 slots for stack frame.
- */
- stqd $SP,-32($SP)
- ai $SP,$SP,-32
-
- /* Save the Link Register in Link Register Save Area.
- */
- stqd $LR,16($SP)
-
- /* Calculate stack size.
- */
- ila $3,_end
- sf $3,$3,$SP
- rotqbyi $3,$3,12
-
- /* The BE Linux ABI passes the stack size in $2, or use
- * the default if $2 == 0.
- */
- rotqbyi $4,$2,12
- ceqi $5,$4,0
- selb $3,$4,$3,$5
- fsmbi $4,3840
- selb $SP,$SP,$3,$4
-
- /* Call the _init function.
- */
- brsl $LR, _init
-
- /* Call the _fini function at exit time.
- */
- ila $3, _fini
- brsl $LR, atexit
-
-#ifdef _PROFILE
- /* Call monstartup if profiling is enabled
- */
-#ifdef _STD_MAIN
- ila $3,0
-#else
- ori $3,$80,0
-#endif
- brsl $LR, __monstartup
-#endif
- ori $3,$80,0
- ori $4,$81,0
-#ifndef _STD_MAIN
- ori $5,$82,0
-#endif
-
- /* Call the programs main.
- */
- brsl $LR, main
-
- /* Call exit.
- */
- brsl $LR, exit
-
diff --git a/libgloss/spu/crti.S b/libgloss/spu/crti.S
deleted file mode 100644
index 0e79a39..0000000
--- a/libgloss/spu/crti.S
+++ /dev/null
@@ -1,61 +0,0 @@
-# (C) Copyright IBM Corp. 2005, 2006
-#
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of IBM nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-# This file just make a stack frame for the contents of the .fini and
-# .init sections. Users may put any desired instructions in those
-# sections.
-
- # Note - this macro is complimented by the FUNC_END macro
- # in crtn.S. If you change this macro you must also change
- # that macro match.
-.macro FUNC_START
- # Create a stack frame with two slots: LR and BC
- # The .init and .fini section don't change the call-preserved
- # registes, therefore no need to save them.
- stqd $lr, 16($sp)
- stqd $sp, -32($sp)
- ai $sp, $sp, -32
-.endm
-
- .file "crti.S"
-
- .section ".init"
- .align 2
- .global _init
- .type _init, @function
-_init:
- FUNC_START
-
-
- .section ".fini"
- .align 2
- .global _fini
- .type _fini, @function
-_fini:
- FUNC_START
-
diff --git a/libgloss/spu/crtn.S b/libgloss/spu/crtn.S
deleted file mode 100644
index ef4edfc..0000000
--- a/libgloss/spu/crtn.S
+++ /dev/null
@@ -1,64 +0,0 @@
-# (C) Copyright IBM Corp. 2005, 2006
-#
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# * Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of IBM nor the names of its contributors may be
-# used to endorse or promote products derived from this software without
-# specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-# This file just makes sure that the .fini and .init sections do in
-# fact return. Users may put any desired instructions in those sections.
-# This file is the last thing linked into any executable.
-
- # Note - this macro is complimented by the FUNC_START macro
- # in crti.S. If you change this macro you must also change
- # that macro match.
- #
- # Note - we do not try any fancy optimisations of the return
- # sequences here, it is just not worth it. Instead keep things
- # simple. The link register is restored and then the correct
- # function return instruction is performed.
-.macro FUNC_END
- ai $sp, $sp, 32
- lqd $lr, 16($sp)
- bi $lr
-.endm
- .file "crtn.S"
-
- .section ".init"
-
- FUNC_END
-
- .section ".fini"
-
- FUNC_END
-
- # To ensure nothing is linked at address 0, provide a dummy
- # .interrupt section. This is in crtn.S to make sure any
- # user-provided real .interrupt section will get linked
- # in front of this dummy.
- .section ".interrupt","ax"
- .align 2
- heq $0,$0
-
-# end of crtn.S
diff --git a/libgloss/spu/dirfuncs.c b/libgloss/spu/dirfuncs.c
deleted file mode 100644
index adf1b0e..0000000
--- a/libgloss/spu/dirfuncs.c
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/*
- * Put all of the dir functions in one file here, since it is not useful
- * to use opendir without readdir, and then we can put the handling of the
- * struct dirent here too.
- */
-
-#include <stdint.h>
-#include <unistd.h>
-#include <dirent.h>
-#include <errno.h>
-#include "jsre.h"
-
-/*
- * The SPU DIR includes space for one dirent, and is 256 + 4 bytes in
- * size, so keep this small.
- */
-#define SPE_OPENDIR_MAX 4
-
-static DIR spe_dir[SPE_OPENDIR_MAX]; /* zero by default */
-
-typedef struct {
- unsigned int name;
- unsigned int pad0[3];
-} syscall_opendir_t;
-
-typedef struct {
- uint64_t dir;
- unsigned int pad0[2];
-} syscall_opendir_ret_t;
-
-DIR *
-opendir (const char *name)
-{
- DIR *dir;
- int i;
- union {
- syscall_opendir_t sys;
- syscall_opendir_ret_t ret;
- } u;
-
- u.sys.name = (unsigned int) name;
- for (i = 0; i < SPE_OPENDIR_MAX; i++) {
- if (!spe_dir[i].ppc_dir) {
- dir = &spe_dir[i];
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_OPENDIR, &u);
- /*
- * Pull 64 bits out of the result.
- */
- dir->ppc_dir = u.ret.dir;
- if (!dir->ppc_dir) {
- dir = NULL;
- }
- return dir;
- }
- }
-
- errno = EMFILE;
- return NULL;
-}
-
-int
-closedir (DIR *dir)
-{
- int rc, i;
- uint64_t ppc_dir;
-
- if (dir) {
- /*
- * Don't pass &dir->ppc_dir to __send_to_ppe, since it would be
- * overwritten by the assist call.
- */
- ppc_dir = dir->ppc_dir;
- rc = __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CLOSEDIR, &ppc_dir);
-
- /*
- * Try to release the dir even if the closedir failed.
- */
- for (i = 0; i < SPE_OPENDIR_MAX; i++) {
- if (spe_dir[i].ppc_dir == dir->ppc_dir) {
- spe_dir[i].ppc_dir = 0;
- }
- }
- } else {
- /*
- * Gracefully handle NULL, but not other invalid dir values.
- */
- rc = -1;
- errno = EBADF;
- }
- return rc;
-}
-
-typedef struct {
- uint64_t ppc_dir;
- unsigned int pad0[2];
- unsigned int dirent;
- unsigned int pad1[3];
-} syscall_readdir_t;
-
-struct dirent *
-readdir (DIR *dir)
-{
- syscall_readdir_t sys;
-
- sys.ppc_dir = dir->ppc_dir;
- sys.dirent = (unsigned int) &dir->dirent;
- return (struct dirent *) __send_to_ppe (JSRE_POSIX1_SIGNALCODE,
- JSRE_READDIR, &sys);
-}
-
-void
-rewinddir (DIR *dir)
-{
- uint64_t ppc_dir = dir->ppc_dir;
-
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_REWINDDIR, &ppc_dir);
-}
-
-typedef struct {
- uint64_t ppc_dir;
- unsigned int pad0[2];
- unsigned int offset;
- unsigned int pad1[3];
-} syscall_seekdir_t;
-
-void
-seekdir (DIR *dir, off_t offset)
-{
- syscall_seekdir_t sys;
-
- sys.ppc_dir = dir->ppc_dir;
- sys.offset = offset;
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SEEKDIR, &sys);
-}
-
-off_t
-telldir (DIR *dir)
-{
- uint64_t ppc_dir = dir->ppc_dir;
-
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_TELLDIR, &ppc_dir);
-}
diff --git a/libgloss/spu/dup.c b/libgloss/spu/dup.c
deleted file mode 100644
index 325db63..0000000
--- a/libgloss/spu/dup.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include "jsre.h"
-
-int
-dup (int oldfd)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP, &oldfd);
-}
diff --git a/libgloss/spu/dup2.c b/libgloss/spu/dup2.c
deleted file mode 100644
index 3ae2855..0000000
--- a/libgloss/spu/dup2.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int oldfd;
- unsigned int pad0[3];
- unsigned int newfd;
- unsigned int pad1[3];
-} syscall_dup2_t;
-
-int
-dup2 (int oldfd, int newfd)
-{
- syscall_dup2_t sys;
-
- sys.oldfd = (unsigned int) oldfd;
- sys.newfd = (unsigned int) newfd;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP2, &sys);
-}
diff --git a/libgloss/spu/exit.c b/libgloss/spu/exit.c
deleted file mode 100644
index 899f324..0000000
--- a/libgloss/spu/exit.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-void _exit(int rc)
-{
- /* Some self modifying code to return 'rc' in the 'stop' insn. */
- asm volatile (
- " ori $3, %0,0\n"
- " lqr $4, 1f\n"
- " cbd $5, 1f+3($sp)\n"
- " shufb $0, %0, $4, $5\n"
- " stqr $0, 1f\n"
- " sync\n"
- "1:\n"
- " stop 0x2000\n"
- : : "r" (rc) );
-
- for (;;)
- ;
-}
diff --git a/libgloss/spu/fchdir.c b/libgloss/spu/fchdir.c
deleted file mode 100644
index e12fbd0..0000000
--- a/libgloss/spu/fchdir.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-fchdir (int fd)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FCHDIR, &fd);
-}
diff --git a/libgloss/spu/fchmod.c b/libgloss/spu/fchmod.c
deleted file mode 100644
index c44d5fc..0000000
--- a/libgloss/spu/fchmod.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int filedes;
- unsigned int pad0[3];
- unsigned int mode;
- unsigned int pad1[3];
-} syscall_fchmod_t;
-
-int
-fchmod (int filedes, mode_t mode)
-{
- syscall_fchmod_t sys;
-
- sys.filedes = (unsigned int) filedes;
- sys.mode = (unsigned int) mode;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FCHMOD, &sys);
-}
diff --git a/libgloss/spu/fchown.c b/libgloss/spu/fchown.c
deleted file mode 100644
index 642c47e..0000000
--- a/libgloss/spu/fchown.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int owner;
- unsigned int pad1[3];
- unsigned int group;
- unsigned int pad2[3];
-} syscall_fchown_t;
-
-int
-fchown (int fd, uid_t owner, gid_t group)
-{
- syscall_fchown_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.owner = (unsigned int) owner;
- sys.group = (unsigned int) group;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FCHOWN, &sys);
-}
diff --git a/libgloss/spu/fdatasync.c b/libgloss/spu/fdatasync.c
deleted file mode 100644
index 6c06e3f..0000000
--- a/libgloss/spu/fdatasync.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-fdatasync (int fd)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FDATASYNC, &fd);
-}
diff --git a/libgloss/spu/fstat.c b/libgloss/spu/fstat.c
deleted file mode 100644
index cb983d9..0000000
--- a/libgloss/spu/fstat.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <sys/stat.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int file;
- unsigned int pad0[3];
- unsigned int ptr;
- unsigned int pad1[3];
-} syscall_fstat_t;
-
-int
-fstat (int file, struct stat *pstat)
-{
- syscall_fstat_t sys;
- struct jsre_stat pjstat;
- int ret;
-
- sys.file = file;
- sys.ptr = ( unsigned int )&pjstat;
- ret = __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FSTAT, &sys);
- __conv_stat (pstat, &pjstat);
- return ret;
-}
diff --git a/libgloss/spu/fsync.c b/libgloss/spu/fsync.c
deleted file mode 100644
index 7756659..0000000
--- a/libgloss/spu/fsync.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-fsync (int fd)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_FSYNC, &fd);
-}
diff --git a/libgloss/spu/ftruncate.c b/libgloss/spu/ftruncate.c
deleted file mode 100644
index 138f60e..0000000
--- a/libgloss/spu/ftruncate.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int file;
- unsigned int pad0[3];
- unsigned int length;
- unsigned int pad1[3];
-} syscall_ftruncate_t;
-
-int
-ftruncate (int file, off_t length)
-{
- syscall_ftruncate_t sys;
-
- sys.file = file;
- sys.length = length;
- return __send_to_ppe(JSRE_POSIX1_SIGNALCODE, JSRE_FTRUNCATE, &sys);
-}
diff --git a/libgloss/spu/getcwd.c b/libgloss/spu/getcwd.c
deleted file mode 100644
index 482af22..0000000
--- a/libgloss/spu/getcwd.c
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <stdlib.h>
-#include <unistd.h>
-#include <errno.h>
-#include "jsre.h"
-
-#define ALLOC_BASE 64
-#define ALLOC_INCR 64
-
-typedef struct
-{
- unsigned int buf;
- unsigned int pad0[3];
- unsigned int size;
- unsigned int pad1[3];
-} syscall_getcwd_t;
-
-char *
-getcwd (char *buf, size_t size)
-{
- syscall_getcwd_t sys;
- int retry_alloc, local_alloc;
- char *newbuf;
- char *res;
-
- /*
- * Do not let the ppu side allocate memory, since it has to be used on
- * the SPU (must be in LS), and it can't easily be freed on the spu
- * side. So check for NULL buf, handle allocations here, and only call
- * the assist call with a non-NULL buf.
- */
- retry_alloc = 0;
- local_alloc = 0;
- if (!buf) {
- local_alloc = 1;
- if (size == 0) {
- retry_alloc = 1;
- size = ALLOC_BASE;
- }
- buf = malloc (size);
- if (!buf) {
- /*
- * Leave errno as set by malloc.
- */
- return NULL;
- }
- }
-
- /*
- * Let the assist call check for error cases, specifically let it handle
- * non-NULL buf and size of zero.
- */
-
- sys.buf = (unsigned int) buf;
- sys.size = (unsigned int) size;
- res = (char*) __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_GETCWD, &sys);
-
- while (!res && retry_alloc && errno == ERANGE) {
- size += ALLOC_INCR;
- newbuf = realloc (buf, size);
- if (!newbuf) {
- free (buf);
- return NULL;
- }
- buf = newbuf;
-
- sys.buf = (unsigned int) buf;
- sys.size = (unsigned int) size;
- res = (char*) __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_GETCWD, &sys);
- }
-
- if (!res && local_alloc) {
- free (buf);
- }
-
- return res;
-}
diff --git a/libgloss/spu/getitimer.c b/libgloss/spu/getitimer.c
deleted file mode 100644
index df28b0f..0000000
--- a/libgloss/spu/getitimer.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2009
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <errno.h>
-#include <sys/time.h>
-#include "libnosys/warning.h"
-
-/*
- * Only a stub version for now.
- */
-int
-getitimer (int which, struct itimerval *value)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning (getitimer)
diff --git a/libgloss/spu/getpagesize.c b/libgloss/spu/getpagesize.c
deleted file mode 100644
index 417426c..0000000
--- a/libgloss/spu/getpagesize.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-getpagesize (void)
-{
- vector unsigned int sys;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_GETPAGESIZE, &sys);
-}
diff --git a/libgloss/spu/getpid.c b/libgloss/spu/getpid.c
deleted file mode 100644
index ff2d820..0000000
--- a/libgloss/spu/getpid.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-int
-getpid ()
-{
- return (1);
-}
-
diff --git a/libgloss/spu/gettimeofday.c b/libgloss/spu/gettimeofday.c
deleted file mode 100644
index 9b32efb..0000000
--- a/libgloss/spu/gettimeofday.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <unistd.h>
-#include <errno.h>
-#include <sys/time.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int tv;
- unsigned int pad0[3];
- unsigned int tz;
- unsigned int pad1[3];
-} syscall_gettimeofday_t;
-
-int
-gettimeofday (struct timeval *tv, void *tz)
-{
- syscall_gettimeofday_t sys;
-
- sys.tv = (unsigned int)tv;
- sys.tz = (unsigned int)tz;
- return __send_to_ppe(JSRE_POSIX1_SIGNALCODE, JSRE_GETTIMEOFDAY, &sys);
-}
diff --git a/libgloss/spu/isatty.c b/libgloss/spu/isatty.c
deleted file mode 100644
index 7a20e15..0000000
--- a/libgloss/spu/isatty.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-int
-isatty (int fd)
-{
- return (0);
-}
-
diff --git a/libgloss/spu/jsre.h b/libgloss/spu/jsre.h
deleted file mode 100644
index b8abc35..0000000
--- a/libgloss/spu/jsre.h
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006, 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-/* this file provides the mappings for the JSRE defined interface for PE assisted libary calls */
-
-#include <sys/stat.h>
-#include <sys/syscall.h>
-
-#ifndef __JSRE_H
-#define __JSRE_H
-
-#define JSRE_POSIX1_SIGNALCODE 0x2101
-
-#define JSRE_CLOSE 2
-#define JSRE_FSTAT 4
-#define JSRE_GETPAGESIZE 6
-#define JSRE_GETTIMEOFDAY 7
-#define JSRE_LSEEK 9
-#define JSRE_LSTAT 10
-#define JSRE_MMAP 11
-#define JSRE_MREMAP 12
-#define JSRE_MSYNC 13
-#define JSRE_MUNMAP 14
-#define JSRE_OPEN 15
-#define JSRE_READ 16
-#define JSRE_SHM_OPEN 21
-#define JSRE_SHM_UNLINK 22
-#define JSRE_STAT 23
-#define JSRE_UNLINK 24
-#define JSRE_WRITE 27
-#define JSRE_FTRUNCATE 28
-#define JSRE_ACCESS 29
-#define JSRE_DUP 30
-#define JSRE_NANOSLEEP 32
-
-#define JSRE_CHDIR 33
-#define JSRE_FCHDIR 34
-#define JSRE_MKDIR 35
-#define JSRE_MKNOD 36
-#define JSRE_RMDIR 37
-#define JSRE_CHMOD 38
-#define JSRE_FCHMOD 39
-#define JSRE_CHOWN 40
-#define JSRE_FCHOWN 41
-#define JSRE_LCHOWN 42
-#define JSRE_GETCWD 43
-#define JSRE_LINK 44
-#define JSRE_SYMLINK 45
-#define JSRE_READLINK 46
-#define JSRE_SYNC 47
-#define JSRE_FSYNC 48
-#define JSRE_FDATASYNC 49
-#define JSRE_DUP2 50
-#define JSRE_LOCKF 51
-#define JSRE_TRUNCATE 52
-#define JSRE_MKSTEMP 53
-#define JSRE_MKTEMP 54
-#define JSRE_OPENDIR 55
-#define JSRE_CLOSEDIR 56
-#define JSRE_READDIR 57
-#define JSRE_REWINDDIR 58
-#define JSRE_SEEKDIR 59
-#define JSRE_TELLDIR 60
-#define JSRE_SCHED_YIELD 61
-#define JSRE_UMASK 62
-#define JSRE_UTIME 63
-#define JSRE_UTIMES 64
-#define JSRE_PREAD 65
-#define JSRE_PWRITE 66
-#define JSRE_READV 67
-#define JSRE_WRITEV 68
-
-struct jsre_stat {
- unsigned int dev;
- unsigned int ino;
- unsigned int mode;
- unsigned int nlink;
- unsigned int uid;
- unsigned int gid;
- unsigned int rdev;
- unsigned int size;
- unsigned int blksize;
- unsigned int blocks;
- unsigned int atime;
- unsigned int mtime;
- unsigned int ctime;
-};
-
-void __conv_stat (struct stat *stat, struct jsre_stat *jstat);
-
-#endif
diff --git a/libgloss/spu/kill.c b/libgloss/spu/kill.c
deleted file mode 100644
index 1aa2f5e..0000000
--- a/libgloss/spu/kill.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <unistd.h>
-#include <errno.h>
-
-int
-kill (int pid, int sig)
-{
- if (pid == 1)
- {
- _exit (sig);
- }
- errno = ESRCH;
- return -1;
-}
-
diff --git a/libgloss/spu/lchown.c b/libgloss/spu/lchown.c
deleted file mode 100644
index 904232a..0000000
--- a/libgloss/spu/lchown.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int owner;
- unsigned int pad1[3];
- unsigned int group;
- unsigned int pad2[3];
-} syscall_lchown_t;
-
-int
-lchown (const char *path, uid_t owner, gid_t group)
-{
- syscall_lchown_t sys;
-
- sys.path = (unsigned int) path;
- sys.owner = (unsigned int) owner;
- sys.group = (unsigned int) group;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LCHOWN, &sys);
-}
diff --git a/libgloss/spu/link.c b/libgloss/spu/link.c
deleted file mode 100644
index dde2a0d..0000000
--- a/libgloss/spu/link.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int oldpath;
- unsigned int pad0[3];
- unsigned int newpath;
- unsigned int pad1[3];
-} syscall_link_t;
-
-int
-link (const char *oldpath, const char *newpath)
-{
- syscall_link_t sys;
-
- sys.oldpath = (unsigned int) oldpath;
- sys.newpath = (unsigned int) newpath;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LINK, &sys);
-}
diff --git a/libgloss/spu/linux_getpid.c b/libgloss/spu/linux_getpid.c
deleted file mode 100644
index 9473ea5..0000000
--- a/libgloss/spu/linux_getpid.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2009
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Ken Werner <ken.werner@de.ibm.com>
-*/
-
-#include <sys/linux_syscalls.h>
-#include <sys/types.h>
-
-pid_t
-linux_getpid (void)
-{
- struct spu_syscall_block s = {
- __NR_getpid,
- {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0}
- };
- return __linux_syscall (&s);
-}
diff --git a/libgloss/spu/linux_gettid.c b/libgloss/spu/linux_gettid.c
deleted file mode 100644
index 789c792..0000000
--- a/libgloss/spu/linux_gettid.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2009
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Ken Werner <ken.werner@de.ibm.com>
-*/
-
-#include "sys/linux_syscalls.h"
-#include <sys/types.h>
-
-pid_t
-linux_gettid (void)
-{
- struct spu_syscall_block s = {
- __NR_gettid,
- {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0}
- };
- return __linux_syscall (&s);
-}
diff --git a/libgloss/spu/linux_syscalls.c b/libgloss/spu/linux_syscalls.c
deleted file mode 100644
index 1ecc241..0000000
--- a/libgloss/spu/linux_syscalls.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2008
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Ken Werner <ken.werner@de.ibm.com>
-*/
-
-#include "sys/linux_syscalls.h"
-#include <errno.h>
-
-int
-__linux_syscall (struct spu_syscall_block *s)
-{
- int ret;
- __vector unsigned int stopfunc = {
- 0x00002104, /* stop 0x2104 */
- (unsigned int) s,
- 0x4020007f, /* nop */
- 0x35000000 /* bi $0 */
- };
-
- void (*f) (void) = (void *) &stopfunc;
- asm ("sync");
-
- f ();
-
- if (s->nr_ret > -4096ull)
- {
- errno = -s->nr_ret;
- ret = -1;
- }
- else
- {
- ret = s->nr_ret;
- }
- return ret;
-}
diff --git a/libgloss/spu/lockf.c b/libgloss/spu/lockf.c
deleted file mode 100644
index 3d2d7dc..0000000
--- a/libgloss/spu/lockf.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int cmd;
- unsigned int pad1[3];
- unsigned int len;
- unsigned int pad2[3];
-} syscall_lockf_t;
-
-int
-lockf (int fd, int cmd, off_t len)
-{
- syscall_lockf_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.cmd = (unsigned int) cmd;
- sys.len = (unsigned int) len;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LOCKF, &sys);
-}
diff --git a/libgloss/spu/lseek.c b/libgloss/spu/lseek.c
deleted file mode 100644
index e5b3b75..0000000
--- a/libgloss/spu/lseek.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-#define JSRE_SEEK_SET 0
-#define JSRE_SEEK_CUR 1
-#define JSRE_SEEK_END 2
-
-typedef struct
-{
- unsigned int file;
- unsigned int pad0[3];
- unsigned int offset;
- unsigned int pad1[3];
- unsigned int whence;
- unsigned int pad2[3];
-} syscall_lseek_t;
-
-off_t
-lseek (int file, off_t offset, int whence)
-{
- syscall_lseek_t sys;
-
- sys.file = file;
- sys.offset = offset;
-
- switch( whence ){
- case SEEK_SET:
- sys.whence = JSRE_SEEK_SET;
- break;
- case SEEK_CUR:
- sys.whence = JSRE_SEEK_CUR;
- break;
- case SEEK_END:
- sys.whence = JSRE_SEEK_END;
- break;
- }
-
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSEEK, &sys);
-}
diff --git a/libgloss/spu/lstat.c b/libgloss/spu/lstat.c
deleted file mode 100644
index f34e0a3..0000000
--- a/libgloss/spu/lstat.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <stdarg.h>
-#include <fcntl.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int pathname;
- unsigned int pad0[3];
- unsigned int ptr;
- unsigned int pad1[3];
-} syscall_stat_t;
-
-int
-lstat (const char *__restrict pathname, struct stat *__restrict pstat)
-{
- syscall_stat_t sys;
- struct jsre_stat pjstat;
- int ret;
-
- sys.pathname = (unsigned int)pathname;
- sys.ptr = ( unsigned int )&pjstat;
- ret = __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSTAT, &sys);
- __conv_stat (pstat, &pjstat);
- return ret;
-}
diff --git a/libgloss/spu/mkdir.c b/libgloss/spu/mkdir.c
deleted file mode 100644
index 9d0def7..0000000
--- a/libgloss/spu/mkdir.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int mode;
- unsigned int pad1[3];
-} syscall_mkdir_t;
-
-int
-mkdir (const char *path, mode_t mode)
-{
- syscall_mkdir_t sys;
-
- sys.path = (unsigned int) path;
- sys.mode = (unsigned int) mode;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MKDIR, &sys);
-}
diff --git a/libgloss/spu/mknod.c b/libgloss/spu/mknod.c
deleted file mode 100644
index 42e3060..0000000
--- a/libgloss/spu/mknod.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int mode;
- unsigned int pad1[3];
- unsigned int dev;
- unsigned int pad2[3];
-} syscall_mknod_t;
-
-int
-mknod (const char *path, mode_t mode, dev_t dev)
-{
- syscall_mknod_t sys;
-
- sys.path = (unsigned int) path;
- sys.mode = (unsigned int) mode;
- sys.dev = (unsigned int) dev;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MKNOD, &sys);
-}
diff --git a/libgloss/spu/mkstemp.c b/libgloss/spu/mkstemp.c
deleted file mode 100644
index f94ef4d..0000000
--- a/libgloss/spu/mkstemp.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <stdlib.h>
-#include "jsre.h"
-
-int
-mkstemp (char *template)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MKSTEMP, &template);
-}
diff --git a/libgloss/spu/mktemp.c b/libgloss/spu/mktemp.c
deleted file mode 100644
index b13f19f..0000000
--- a/libgloss/spu/mktemp.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <stdlib.h>
-#include "jsre.h"
-
-char *
-mktemp (char *template)
-{
- return (char *) __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MKTEMP, &template);
-}
diff --git a/libgloss/spu/mmap_eaddr.c b/libgloss/spu/mmap_eaddr.c
deleted file mode 100644
index 1ca0301..0000000
--- a/libgloss/spu/mmap_eaddr.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <sys/mman.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned long long start;
- unsigned int pad0[2];
- unsigned int length;
- unsigned int pad1[3];
- unsigned int prot;
- unsigned int pad2[3];
- unsigned int flags;
- unsigned int pad3[3];
- unsigned int fd;
- unsigned int pad4[3];
- unsigned int offset;
- unsigned int pad5[3];
-} syscall_mmap_t;
-
-unsigned long long mmap_eaddr(unsigned long long start, size_t length, int
- prot, int flags, int fd, off_t offset)
-{
- syscall_mmap_t sys;
-
- sys.start = start;
- sys.length = (unsigned int) length;
- sys.prot = (unsigned int) prot;
- sys.flags = (unsigned int) flags;
- sys.fd = (unsigned int) fd;
- sys.offset = (unsigned int) offset;
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MMAP, &sys);
- /*
- * Extract 64 bit result from the result stored in sys.
- */
- return *(unsigned long long *) (&sys);
-}
diff --git a/libgloss/spu/mremap_eaddr.c b/libgloss/spu/mremap_eaddr.c
deleted file mode 100644
index df0ea2f..0000000
--- a/libgloss/spu/mremap_eaddr.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <sys/mman.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned long long old_addr;
- unsigned int pad0[2];
- unsigned int old_size;
- unsigned int pad1[3];
- unsigned int new_size;
- unsigned int pad2[3];
- unsigned int flags;
- unsigned int pad3[3];
-} syscall_mremap_t;
-
-unsigned long long mremap_eaddr(unsigned long long old_addr, size_t old_size,
- size_t new_size, int flags)
-{
- syscall_mremap_t sys;
-
- sys.old_addr = old_addr;
- sys.old_size = (unsigned int) old_size;
- sys.new_size = (unsigned int) new_size;
- sys.flags = (unsigned int) flags;
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MREMAP, &sys);
- /*
- * Extract 64 bit result from the result stored in sys.
- */
- return *(unsigned long long *) (&sys);
-}
diff --git a/libgloss/spu/msync_eaddr.c b/libgloss/spu/msync_eaddr.c
deleted file mode 100644
index ecfbbea..0000000
--- a/libgloss/spu/msync_eaddr.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <sys/mman.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned long long start;
- unsigned int pad0[2];
- unsigned int length;
- unsigned int pad1[3];
- unsigned int flags;
- unsigned int pad2[3];
-} syscall_msync_t;
-
-unsigned long long msync_eaddr(unsigned long long start, size_t length,
- int flags)
-{
- syscall_msync_t sys;
-
- sys.start = start;
- sys.length = (unsigned int) length;
- sys.flags = (unsigned int) flags;
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MSYNC, &sys);
- /*
- * Extract 64 bit result from the result stored in sys.
- */
- return *(unsigned long long *) (&sys);
-}
diff --git a/libgloss/spu/munmap_eaddr.c b/libgloss/spu/munmap_eaddr.c
deleted file mode 100644
index ac7a724..0000000
--- a/libgloss/spu/munmap_eaddr.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2007
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-*/
-
-#include <sys/mman.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned long long start;
- unsigned int pad0[2];
- unsigned int length;
- unsigned int pad1[3];
-} syscall_munmap_t;
-
-unsigned long long munmap_eaddr(unsigned long long start, size_t length)
-{
- syscall_munmap_t sys;
-
- sys.start = start;
- sys.length = (unsigned int) length;
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_MUNMAP, &sys);
- /*
- * Extract 64 bit result from the result stored in sys.
- */
- return *(unsigned long long *) (&sys);
-}
diff --git a/libgloss/spu/nanosleep.c b/libgloss/spu/nanosleep.c
deleted file mode 100644
index 937147c..0000000
--- a/libgloss/spu/nanosleep.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <time.h>
-#include "jsre.h"
-
-typedef struct {
- unsigned int req;
- unsigned int pad0[3];
- unsigned int rem;
- unsigned int pad1[3];
-} syscall_nanosleep_t;
-
-int
-nanosleep(const struct timespec *req, struct timespec *rem)
-{
- syscall_nanosleep_t sys;
-
- sys.req = (unsigned int) req;
- sys.rem = (unsigned int) rem;
- return __send_to_ppe(JSRE_POSIX1_SIGNALCODE, JSRE_NANOSLEEP, &sys);
-}
diff --git a/libgloss/spu/open.c b/libgloss/spu/open.c
deleted file mode 100644
index 0c1b253..0000000
--- a/libgloss/spu/open.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <stdarg.h>
-#include <fcntl.h>
-#include "jsre.h"
-
-#define JSRE_O_RDONLY 0
-#define JSRE_O_WRONLY 1
-#define JSRE_O_RDWR 2
-
-#define JSRE_O_CREAT 64
-#define JSRE_O_EXCL 128
-#define JSRE_O_NOCTTY 256
-#define JSRE_O_TRUNC 512
-#define JSRE_O_APPEND 1024
-#define JSRE_O_NDELAY 2048
-#define JSRE_O_SYNC 4096
-#define JSRE_O_ASYNC 8192
-
-typedef struct
-{
- unsigned int pathname;
- unsigned int pad0[3];
- unsigned int flags;
- unsigned int pad1[3];
- unsigned int mode;
- unsigned int pad2[3];
-} syscall_open_t;
-
-int
-open (const char *filename, int flags, ...)
-{
- syscall_open_t sys;
- va_list ap;
-
- sys.pathname = ( unsigned int )filename;
-
- sys.flags = 0;
-
- sys.flags |= ( ( flags & O_CREAT ) ? JSRE_O_CREAT : 0 );
- sys.flags |= ( ( flags & O_EXCL ) ? JSRE_O_EXCL : 0 );
- sys.flags |= ( ( flags & O_NOCTTY ) ? JSRE_O_NOCTTY : 0 );
- sys.flags |= ( ( flags & O_TRUNC ) ? JSRE_O_TRUNC : 0 );
- sys.flags |= ( ( flags & O_APPEND ) ? JSRE_O_APPEND : 0 );
-// sys.flags |= ( ( flags & O_NOBLOCK ) ? JSRE_O_NOBLOCK : 0 );
-// sys.flags |= ( ( flags & O_NDELAY ) ? JSRE_O_NDELAY : 0 );
- sys.flags |= ( ( flags & O_SYNC ) ? JSRE_O_SYNC : 0 );
-// sys.flags |= ( ( flags & O_NOFOLLOW ) ? JSRE_O_NOFOLLOW : 0 );
-// sys.flags |= ( ( flags & O_DIRECTORY ) ? JSRE_O_DIRECTORY : 0 );
-// sys.flags |= ( ( flags & O_DIRECT ) ? JSRE_O_DIRECT : 0 );
-// sys.flags |= ( ( flags & O_ASYNC ) ? JSRE_O_ASYNC : 0 );
-// sys.flags |= ( ( flags & O_LARGEFILE ) ? JSRE_O_LARGEFILE : 0 );
-
-
- sys.flags |= ( ( flags & O_RDONLY ) ? JSRE_O_RDONLY : 0 );
- sys.flags |= ( ( flags & O_WRONLY ) ? JSRE_O_WRONLY : 0 );
- sys.flags |= ( ( flags & O_RDWR ) ? JSRE_O_RDWR : 0 );
-
- /* FIXME: we have to check/map all flags */
-
- va_start (ap, flags);
- sys.mode = va_arg (ap, int);
- va_end (ap);
-
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_OPEN, &sys);
-}
diff --git a/libgloss/spu/pread.c b/libgloss/spu/pread.c
deleted file mode 100644
index a2f04b7..0000000
--- a/libgloss/spu/pread.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int buf;
- unsigned int pad1[3];
- unsigned int count;
- unsigned int pad2[3];
- unsigned int offset;
- unsigned int pad3[3];
-} syscall_pread_t;
-
-ssize_t pread(int fd, void *buf, size_t count, off_t offset)
-{
- syscall_pread_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.buf = (unsigned int) buf;
- sys.count = (unsigned int) count;
- sys.offset = (unsigned int) offset;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_PREAD, &sys);
-}
diff --git a/libgloss/spu/pwrite.c b/libgloss/spu/pwrite.c
deleted file mode 100644
index af269ff..0000000
--- a/libgloss/spu/pwrite.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int buf;
- unsigned int pad1[3];
- unsigned int count;
- unsigned int pad2[3];
- unsigned int offset;
- unsigned int pad3[3];
-} syscall_pwrite_t;
-
-ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset)
-{
- syscall_pwrite_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.buf = (unsigned int) buf;
- sys.count = (unsigned int) count;
- sys.offset = (unsigned int) offset;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_PWRITE, &sys);
-}
diff --git a/libgloss/spu/read.c b/libgloss/spu/read.c
deleted file mode 100644
index 4e7189c..0000000
--- a/libgloss/spu/read.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <fcntl.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int file;
- unsigned int pad0[3];
- unsigned int ptr;
- unsigned int pad1[3];
- unsigned int len;
- unsigned int pad2[3];
-} syscall_read_t;
-
-int
-read (int file, void *ptr, size_t len)
-{
- syscall_read_t sys;
-
- sys.file = file;
- sys.ptr = ( unsigned int )ptr;
- sys.len = len;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_READ, &sys);
-}
diff --git a/libgloss/spu/readlink.c b/libgloss/spu/readlink.c
deleted file mode 100644
index 7a3dc95..0000000
--- a/libgloss/spu/readlink.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int buf;
- unsigned int pad1[3];
- unsigned int bufsiz;
- unsigned int pad2[3];
-} syscall_readlink_t;
-
-ssize_t
-readlink (const char *path, char *buf, size_t bufsiz)
-{
- syscall_readlink_t sys;
-
- sys.path = (unsigned int) path;
- sys.buf = (unsigned int) buf;
- sys.bufsiz = (unsigned int) bufsiz;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_READLINK, &sys);
-}
diff --git a/libgloss/spu/readv.c b/libgloss/spu/readv.c
deleted file mode 100644
index 5dd00f8..0000000
--- a/libgloss/spu/readv.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/uio.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int vec;
- unsigned int pad1[3];
- unsigned int count;
- unsigned int pad2[3];
-} syscall_readv_t;
-
-ssize_t readv(int fd, const struct iovec *vec, int count)
-{
- syscall_readv_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.vec = (unsigned int) vec;
- sys.count = (unsigned int) count;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_READV, &sys);
-}
diff --git a/libgloss/spu/rmdir.c b/libgloss/spu/rmdir.c
deleted file mode 100644
index fcd8509..0000000
--- a/libgloss/spu/rmdir.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int
-rmdir (const char *path)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_RMDIR, &path);
-}
diff --git a/libgloss/spu/sbrk.c b/libgloss/spu/sbrk.c
deleted file mode 100644
index 00c8d97..0000000
--- a/libgloss/spu/sbrk.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <sys/types.h>
-#include <errno.h>
-#include <spu_intrinsics.h>
-
-extern caddr_t _end;
-#define STACKSIZE 4096
-
-void *
-sbrk (ptrdiff_t increment)
-{
- static caddr_t heap_ptr = NULL;
- caddr_t base;
- vector unsigned int sp_reg, sp_delta;
- vector unsigned int *sp_ptr;
- caddr_t sps;
-
- /* The stack pointer register. */
- volatile register vector unsigned int sp_r1 __asm__("1");
-
- if (heap_ptr == NULL)
- heap_ptr = (caddr_t) & _end;
-
- sps = (caddr_t) spu_extract (sp_r1, 0);
- if (((int) sps - STACKSIZE - (int) heap_ptr) >= increment)
- {
- base = heap_ptr;
- heap_ptr += increment;
-
- sp_delta = (vector unsigned int) spu_insert (increment, spu_splats (0), 1);
-
- /* Subtract sp_delta from the SP limit (word 1). */
- sp_r1 = spu_sub (sp_r1, sp_delta);
-
- /* Fix-up backchain. */
- sp_ptr = (vector unsigned int *) spu_extract (sp_r1, 0);
- do
- {
- sp_reg = *sp_ptr;
- *sp_ptr = (vector unsigned int) spu_sub (sp_reg, sp_delta);
- }
- while ((sp_ptr = (vector unsigned int *) spu_extract (sp_reg, 0)));
-
- return (base);
- }
- else
- {
- errno = ENOMEM;
- return ((void *) -1);
- }
-}
diff --git a/libgloss/spu/sched_yield.c b/libgloss/spu/sched_yield.c
deleted file mode 100644
index 487e8e4..0000000
--- a/libgloss/spu/sched_yield.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sched.h>
-#include "jsre.h"
-
-
-typedef struct {
- unsigned int res;
- unsigned int pad0[3];
-} struct_sched_yield_t;
-
-int
-sched_yield (void)
-{
- struct_sched_yield_t sys;
-
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SCHED_YIELD, &sys);
-}
diff --git a/libgloss/spu/setitimer.c b/libgloss/spu/setitimer.c
deleted file mode 100644
index 9d9072d..0000000
--- a/libgloss/spu/setitimer.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2009
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <errno.h>
-#include <sys/time.h>
-#include "libnosys/warning.h"
-
-/*
- * Only a stub version for now.
- */
-int
-setitimer (int which, const struct itimerval *value, struct itimerval *ovalue)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning (getitimer)
diff --git a/libgloss/spu/shm_open.c b/libgloss/spu/shm_open.c
deleted file mode 100644
index dbd0ee9..0000000
--- a/libgloss/spu/shm_open.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- char *name;
- unsigned int pad0[3];
- int oflag;
- unsigned int pad1[3];
- mode_t mode;
- unsigned int pad2[3];
-} syscall_shm_open_t;
-
-int shm_open (const char *name, int oflag, mode_t mode)
-{
- syscall_shm_open_t sys;
-
- sys.name = (char *) name;
- sys.oflag = oflag;
- sys.mode = mode;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SHM_OPEN, &sys);
-}
diff --git a/libgloss/spu/shm_unlink.c b/libgloss/spu/shm_unlink.c
deleted file mode 100644
index 93c31d3..0000000
--- a/libgloss/spu/shm_unlink.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-int shm_unlink (const char *name)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SHM_UNLINK, &name);
-}
diff --git a/libgloss/spu/stat.c b/libgloss/spu/stat.c
deleted file mode 100644
index 79be7dc..0000000
--- a/libgloss/spu/stat.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <stdarg.h>
-#include <fcntl.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int pathname;
- unsigned int pad0[3];
- unsigned int ptr;
- unsigned int pad1[3];
-} syscall_stat_t;
-
-int
-stat (const char *pathname, struct stat *pstat)
-{
- syscall_stat_t sys;
- struct jsre_stat pjstat;
- int ret;
-
- sys.pathname = (unsigned int)pathname;
- sys.ptr = ( unsigned int )&pjstat;
- ret = __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_STAT, &sys);
- __conv_stat (pstat, &pjstat);
- return ret;
-}
diff --git a/libgloss/spu/symlink.c b/libgloss/spu/symlink.c
deleted file mode 100644
index f95825b..0000000
--- a/libgloss/spu/symlink.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int oldpath;
- unsigned int pad0[3];
- unsigned int newpath;
- unsigned int pad1[3];
-} syscall_link_t;
-
-int
-symlink (const char *oldpath, const char *newpath)
-{
- syscall_link_t sys;
-
- sys.oldpath = (unsigned int) oldpath;
- sys.newpath = (unsigned int) newpath;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SYMLINK, &sys);
-}
diff --git a/libgloss/spu/sync.c b/libgloss/spu/sync.c
deleted file mode 100644
index 6b74f8e..0000000
--- a/libgloss/spu/sync.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-void
-sync (void)
-{
- int sys;
-
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_SYNC, &sys);
-}
diff --git a/libgloss/spu/syscalls.c b/libgloss/spu/syscalls.c
deleted file mode 100644
index 7e85fa5..0000000
--- a/libgloss/spu/syscalls.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-#include <spu_intrinsics.h>
-#include <errno.h>
-#include "jsre.h"
-
-int
-__send_to_ppe (unsigned int signalcode, unsigned int opcode, void *data)
-{
-
- int newerrno;
- unsigned int combined = ( ( opcode<<24 )&0xff000000 ) | ( ( unsigned int )data & 0x00ffffff );
-
- __vector unsigned int stopfunc = {
- signalcode, /* stop */
- (unsigned int) combined,
- 0x4020007f, /* nop */
- 0x35000000 /* bi $0 */
- };
-
- void (*f) (void) = (void *) &stopfunc;
- asm ("sync");
- f ();
- newerrno = ((unsigned int *) data)[3];
- /*
- * Note: branchless code to conditionally set errno using
- * spu_cmpeq and spu_sel used more space than the following.
- */
- if (newerrno)
- errno = newerrno;
-
- /*
- * Return the rc code stored in slot 0.
- */
- return ((unsigned int *) data)[0];
-}
-
diff --git a/libgloss/spu/times.c b/libgloss/spu/times.c
deleted file mode 100644
index 40a4e8b..0000000
--- a/libgloss/spu/times.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2009
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-* Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <errno.h>
-#include <sys/times.h>
-#include "libnosys/warning.h"
-
-/*
- * Only a stub version of times for now.
- */
-clock_t
-times (struct tms *buffer)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning (times)
diff --git a/libgloss/spu/truncate.c b/libgloss/spu/truncate.c
deleted file mode 100644
index 2f81baa..0000000
--- a/libgloss/spu/truncate.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <unistd.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int path;
- unsigned int pad0[3];
- unsigned int length;
- unsigned int pad1[3];
-} syscall_truncate_t;
-
-int
-truncate (const char *path, off_t length)
-{
- syscall_truncate_t sys;
-
- sys.path = (unsigned int) path;
- sys.length = (unsigned int) length;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_TRUNCATE, &sys);
-}
diff --git a/libgloss/spu/umask.c b/libgloss/spu/umask.c
deleted file mode 100644
index 1202f8f..0000000
--- a/libgloss/spu/umask.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/stat.h>
-#include "jsre.h"
-
-mode_t
-umask (mode_t mask)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UMASK, &mask);
-}
diff --git a/libgloss/spu/unlink.c b/libgloss/spu/unlink.c
deleted file mode 100644
index 6c5dadd..0000000
--- a/libgloss/spu/unlink.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include "jsre.h"
-
-int
-unlink (const char *pathname)
-{
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UNLINK, &pathname);
-}
diff --git a/libgloss/spu/utime.c b/libgloss/spu/utime.c
deleted file mode 100644
index 7f3897f..0000000
--- a/libgloss/spu/utime.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/types.h>
-#include <utime.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int filename;
- unsigned int pad0[3];
- unsigned int buf;
- unsigned int pad1[3];
-} syscall_utime_t;
-
-int
-utime (const char *filename, const struct utimbuf *buf)
-{
- syscall_utime_t sys;
-
- sys.filename = (unsigned int) filename;
- sys.buf = (unsigned int) buf;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UTIME, &sys);
-}
diff --git a/libgloss/spu/utimes.c b/libgloss/spu/utimes.c
deleted file mode 100644
index 1bbadde..0000000
--- a/libgloss/spu/utimes.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/types.h>
-#include <sys/time.h>
-#include <utime.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int filename;
- unsigned int pad0[3];
- unsigned int times;
- unsigned int pad1[3];
-} syscall_utimes_t;
-
-int
-utimes (const char *filename, const struct timeval times[2])
-{
- syscall_utimes_t sys;
-
- sys.filename = (unsigned int) filename;
- sys.times = (unsigned int) times;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UTIMES, &sys);
-}
diff --git a/libgloss/spu/write.c b/libgloss/spu/write.c
deleted file mode 100644
index 7cd5e5a..0000000
--- a/libgloss/spu/write.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-(C) Copyright IBM Corp. 2005, 2006
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
- * Neither the name of IBM nor the names of its contributors may be
-used to endorse or promote products derived from this software without
-specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
-Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
-*/
-
-#include <fcntl.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int file;
- unsigned int pad0[3];
- unsigned int ptr;
- unsigned int pad1[3];
- unsigned int len;
- unsigned int pad2[3];
-} syscall_write_t;
-
-int
-write (int file, const void *ptr, size_t len)
-{
- syscall_write_t sys;
-
- sys.file = file;
- sys.ptr = ( unsigned int )ptr;
- sys.len = len;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITE, &sys);
-}
diff --git a/libgloss/spu/writev.c b/libgloss/spu/writev.c
deleted file mode 100644
index a0373a6..0000000
--- a/libgloss/spu/writev.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- Copyright 2007
- International Business Machines Corporation,
- Sony Computer Entertainment, Incorporated,
- Toshiba Corporation,
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the names of the copyright holders nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-#include <sys/uio.h>
-#include "jsre.h"
-
-typedef struct
-{
- unsigned int fd;
- unsigned int pad0[3];
- unsigned int vec;
- unsigned int pad1[3];
- unsigned int count;
- unsigned int pad2[3];
-} syscall_writev_t;
-
-ssize_t writev(int fd, const struct iovec *vec, int count)
-{
- syscall_writev_t sys;
-
- sys.fd = (unsigned int) fd;
- sys.vec = (unsigned int) vec;
- sys.count = (unsigned int) count;
- return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITEV, &sys);
-}
diff --git a/libgloss/stat.c b/libgloss/stat.c
deleted file mode 100644
index ebb7de3..0000000
--- a/libgloss/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/syscall.h b/libgloss/syscall.h
deleted file mode 100644
index 3db9db1..0000000
--- a/libgloss/syscall.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/* General use syscall.h file.
- The more ports that use this file, the simpler sim/common/nltvals.def
- remains. */
-
-#ifndef LIBGLOSS_SYSCALL_H
-#define LIBGLOSS_SYSCALL_H
-
-/* Note: This file may be included by assembler source. */
-
-/* These should be as small as possible to allow a port to use a trap type
- instruction, which the system call # as the trap (the d10v for instance
- supports traps 0..31). An alternative would be to define one trap for doing
- system calls, and put the system call number in a register that is not used
- for the normal calling sequence (so that you don't have to shift down the
- arguments to add the system call number). Obviously, if these system call
- numbers are ever changed, all of the simulators and potentially user code
- will need to be updated. */
-
-/* There is no current need for the following: SYS_execv, SYS_creat, SYS_wait,
- etc. etc. Don't add them. */
-
-/* These are required by the ANSI C part of newlib (excluding system() of
- course). */
-#define SYS_exit 1
-#define SYS_open 2
-#define SYS_close 3
-#define SYS_read 4
-#define SYS_write 5
-#define SYS_lseek 6
-#define SYS_unlink 7
-#define SYS_getpid 8
-#define SYS_kill 9
-#define SYS_fstat 10
-/*#define SYS_sbrk 11 - not currently a system call, but reserved. */
-
-/* ARGV support. */
-#define SYS_argvlen 12
-#define SYS_argv 13
-
-/* These are extras added for one reason or another. */
-#define SYS_chdir 14
-#define SYS_stat 15
-#define SYS_chmod 16
-#define SYS_utime 17
-#define SYS_time 18
-#define SYS_gettimeofday 19
-#define SYS_times 20
-#define SYS_link 21
-
-/* New ARGV support. */
-#define SYS_argc 22
-#define SYS_argnlen 23
-#define SYS_argn 24
-
-/* SID simulator runtime reconfiguration. */
-#define SYS_reconfig 25
-
-#endif
diff --git a/libgloss/testsuite/Makefile.in b/libgloss/testsuite/Makefile.in
deleted file mode 100644
index 28fd914..0000000
--- a/libgloss/testsuite/Makefile.in
+++ /dev/null
@@ -1,109 +0,0 @@
-#
-# Makefile
-# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#
-
-srcdir = .
-
-prefix = /usr/local
-
-exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
-libdir = $(exec_prefix)/lib
-tooldir = $(exec_prefix)
-
-SHELL = /bin/sh
-
-INSTALL = `cd $(srcdir); pwd`/../../install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-
-AR_FLAGS = qv
-BISON = bison
-MAKEINFO = makeinfo
-
-SUBDIRS =
-OBJROOT =
-SRCROOT =
-
-.NOEXPORT:
-MAKEOVERRIDES=
-
-#### Host, target, and site specific Makefile fragments come in here.
-###
-
-# These are roughly topologically sorted in order to make porting more
-# streamlined.
-FLAGS_TO_PASS = \
- "prefix=$(prefix)" \
- "exec_prefix=$(exec_prefix)" \
- "CC=$(CC)" \
- "CFLAGS=$(CFLAGS)" \
- "AR=$(AR)" \
- "RANLIB=$(RANLIB)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "AS=$(AS)" \
- "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
- "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
- "OBJROOT=$(OBJROOT)"
-
-all:
- @for dir in ${SUBDIRS}; do \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
- else true; fi; \
- done
-
-install:
- -rm -f *~ core *.o a.out xgdb *.x
- for dir in ${SUBDIRS}; do \
- echo "$$dir:"; \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
- else true; fi; \
- done
-
-clean-here:
- -rm -f *~ core *.o a.out xgdb *.x
-
-clean mostlyclean: clean-here
- for dir in ${SUBDIRS}; do \
- echo "$$dir:"; \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
- else true; fi; \
- done
-
-distclean maintainer-clean realclean: clean-here
- for dir in ${SUBDIRS}; do \
- echo "$$dir:"; \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
- else true; fi; \
- done
- -rm -f Makefile config.status *-init.exp site.*
- -rm -fr *.log summary detail *.sum blockit
-
-.PHONY: info install-info clean-info
-info:
-install-info:
-clean-info:
-
-force:
-
-Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) config.status
diff --git a/libgloss/testsuite/config/hppa.mt b/libgloss/testsuite/config/hppa.mt
deleted file mode 100644
index 0a01c32..0000000
--- a/libgloss/testsuite/config/hppa.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-MULTILIB=-msoft-float
-GLOSSDIR=pa
-SCRIPTS=w89k op50n
-
diff --git a/libgloss/testsuite/config/m68k.mt b/libgloss/testsuite/config/m68k.mt
deleted file mode 100644
index c8415ac..0000000
--- a/libgloss/testsuite/config/m68k.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-MULTILIB=
-GLOSSDIR=m68k
-SCRIPTS=mvme135 idp
diff --git a/libgloss/testsuite/config/mips.mt b/libgloss/testsuite/config/mips.mt
deleted file mode 100644
index c8979f3..0000000
--- a/libgloss/testsuite/config/mips.mt
+++ /dev/null
@@ -1,3 +0,0 @@
-MULTILIB=
-GLOSSDIR=mips
-SCRIPTS=array
diff --git a/libgloss/testsuite/config/support.c b/libgloss/testsuite/config/support.c
deleted file mode 100644
index 2fc7bcc..0000000
--- a/libgloss/testsuite/config/support.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * support.c -- minimal support functions. This is to keep the exit code
- * generic enough that pattern matching from expect should be easier.
- */
-
-#if defined (unix)
-#define PRINT printf /* so we can test on a native system */
-#else
-#define PRINT iprintf /* this is only in newlib */
-#endif
-
-int
-fail (str)
-char *str;
-{
- PRINT ("FAIL: %s\n", str);
-}
-
-int
-pass (str)
-char *str;
-{
- PRINT ("PASS: %s\n", str);
-}
diff --git a/libgloss/testsuite/configure.in b/libgloss/testsuite/configure.in
deleted file mode 100644
index 07b8fee..0000000
--- a/libgloss/testsuite/configure.in
+++ /dev/null
@@ -1,29 +0,0 @@
-# This file is a shell script fragment that supplies the information
-# necessary to tailor a template configure script into the configure
-# script appropriate for this directory. For more information, check
-# any existing configure script.
-
-srctrigger=Makefile.in
-srcname="testing support"
-target_dependent=true
-
-# per-host:
-
-# This is basically a hack so that we don't have to replicate the same
-# defines in all the Makefiles. We put a standard set of definitions
-# in host/any, and use them everywhere.
-
-host_makefile_frag=../config/default.mh
-
-# per-target:
-
-configdirs="libgloss.all"
-
-# post-target:
-
-objroot=`pwd | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
-srcroot=`echo $srcdir | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
-sed -e "s:^OBJROOT[ ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[ ]*=.*$:SRCROOT = ${srcroot}:" \
- ${Makefile} > Makefile.tem
-rm -f ${Makefile}
-mv Makefile.tem ${Makefile}
diff --git a/libgloss/testsuite/lib/libgloss.exp b/libgloss/testsuite/lib/libgloss.exp
deleted file mode 100644
index 4335f3e..0000000
--- a/libgloss/testsuite/lib/libgloss.exp
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-# This file was written by Rob Savoye. (rob@cygnus.com)
-
-# The default option list can be overridden by
-# TORTURE_OPTIONS="{ { list1 } ... { listN } }"
-
-if ![info exists TORTURE_OPTIONS] {
- # FIXME: We should test -g at least once.
- set TORTURE_OPTIONS [list \
- { -O0 } { -O1 } { -O2 } \
- { -O2 -fomit-frame-pointer -finline-functions } \
- { -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops }]
-}
-
-# These globals are used if no compiler arguments are provided.
-# They are also used by the various testsuites to define the environment:
-# where to find stdio.h, libc.a, etc.
-
-global CC
-if ![info exists CC] then {
- set CC [findfile $base_dir/xgcc "$base_dir/xgcc -B$base_dir/" [transform gcc
-]]
-}
-if { [which $CC] == 0 } then {
- perror "$CC does not exist"
- exit 1
-}
-
-global CFLAGS
-if ![info exists CFLAGS] then {
- set CFLAGS ""
-}
-
-global LIBS
-if ![info exists LIBS] then {
- set LIBS ""
-}
-
-# It is difficult to come up with a situation where one has to use LDFLAGS
-# and not LIBS (why two?). Both are useful in makefiles, so maybe it's better
-# to just continue existing practice. However, there is still a lot of
-# confusion about when to use one or the other.
-global LDFLAGS
-if ![info exists LDFLAGS] then {
- set LDFLAGS ""
-}
-
-proc just_compile { file } {
- global CFLAGS
- set output "$tmpdir/[file tail [file rootname $src]].o"
-
- append CFLAGS " -w -c -o $output $option"
-}
-
-proc just_link { file } {
-}
-
-proc just_execute { file } {
-}
-
-proc run_test { file } {
-}
diff --git a/libgloss/testsuite/libgloss.all/.gdbinit b/libgloss/testsuite/libgloss.all/.gdbinit
deleted file mode 100644
index 65fbccd..0000000
--- a/libgloss/testsuite/libgloss.all/.gdbinit
+++ /dev/null
@@ -1,82 +0,0 @@
-define wec-test
-set height 0
-set remotedebug 0
-echo Running array test...
-load array-w89k.x
-run
-echo Running double test...
-load double-w89k.x
-run
-echo Running float test...
-load float-w89k.x
-run
-echo Running func test...
-load func-w89k.x
-run
-echo Running io test...
-load io-w89k.x
-run
-echo Running math test...
-load math-w89k.x
-run
-echo Running memory test...
-load memory-w89k.x
-run
-echo Running div test...
-load div-w89k.x
-run
-echo Running struct test...
-load struct-w89k.x
-run
-echo Running printf test...
-load printf-w89k.x
-run
-echo Running varargs test...
-load varargs-w89k.x
-run
-echo Running varargs2 test...
-load varargs2-w89k.x
-run
-end
-
-define oki-test
-set height 0
-set remotedebug 0
-echo Running array test...
-load array-op50n.x
-run
-echo Running double test...
-load double-op50n.x
-run
-echo Running float test...
-load float-op50n.x
-run
-echo Running func test...
-load func-op50n.x
-run
-echo Running io test...
-load io-op50n.x
-run
-echo Running math test...
-load math-op50n.x
-run
-echo Running memory test...
-load memory-op50n.x
-run
-echo Running div test...
-load div-op50n.x
-run
-echo Running struct test...
-load struct-op50n.x
-run
-echo Running printf test...
-load printf-op50n.x
-run
-echo Running varargs test...
-load varargs-op50n.x
-run
-echo Running varargs2 test...
-load varargs2-op50n.x
-run
-end
-
diff --git a/libgloss/testsuite/libgloss.all/Makefile.in b/libgloss/testsuite/libgloss.all/Makefile.in
deleted file mode 100644
index fcade79..0000000
--- a/libgloss/testsuite/libgloss.all/Makefile.in
+++ /dev/null
@@ -1,221 +0,0 @@
-srcdir = .
-OBJROOT =
-SRCROOT =
-
-SHELL = /bin/sh
-
-#
-# this is for code to support embedded testing
-#
-SUPPORT=support.o
-
-#
-# to add a new test, put it's name here, and list the objects
-# required too.
-TESTS= misc.x float.x io.x memory.x double.x math.x func.x div.x \
- printf.x varargs.x varargs2.x array.x struct.x misc.x
-
-CFLAGS= -g
-LDFLAGS_FOR_TARGET= -g
-LIBS_FOR_TARGET = ${SUPPORT} ${LIBC_FOR_TARGET} ${LIBGCC_FOR_TARGET} \
- ${LIBC_FOR_TARGET}
-
-#### Host, target, and site specific Makefile fragments come in here.
-###
-
-#
-# This attempts to build the binaries. Ideally these are getting built
-# under control of DejaGnu, but it's nice to build these for times
-# when testing needs to be done by hand.
-#
-all: support.o ${TESTS}
-
-#
-# we create a false implicit rule to make a binary ".x" file from
-# an object file. this also makes us an srecord and a dissasmbly
-# cause if something goes wrong, we'll need them.
-#
-.SUFFIXES: .x
-.o.x:
- for script in ${SCRIPTS}; do \
- echo Building $@ for $${script}... ; \
- echo Link Line is ${LD_FOR_TARGET} \
- ${LDFLAGS_FOR_TARGET} $< -L${OBJROOT}/libgloss/${GLOSSDIR} \
- -T${srcdir}/../../${GLOSSDIR}/$${script}.ld \
- ${SUPPORT} -o $*-$${script} $(LIBS_FOR_TARGET); \
- ${LD_FOR_TARGET} ${LDFLAGS_FOR_TARGET} $< -L${OBJROOT}/libgloss/${GLOSSDIR} \
- -T${srcdir}/../../${GLOSSDIR}/$${script}.ld \
- ${SUPPORT} -o $*-$${script}.x $(LIBS_FOR_TARGET); \
- if [ -s $*-$${script}.x ] ; then \
- echo "Making an srecord for $@..." ; \
- ${OBJCOPY_FOR_TARGET} -O srec $*-$${script}.x $*-$${script}.srec ; \
- echo "Making an disassembly file for $@..." ; \
- rm -f $*-$${script}.dis ; \
- ${OBJDUMP_FOR_TARGET} -d $*-$${script}.x > $*-$${script}.dis ; \
- else \
- rm $*-$${script}.x ; \
- echo "WARNING: $*-$${script} didn't build." ; \
- fi ; \
- touch $@ ; \
- done
-
-#
-# here's all the dependancies. This is a little messy cause we want
-# dependancies to work for the rule we just defined. this isn't
-# tottally ideal cause if one of the architectures doesn't build. it
-# relinks for all of the scrip0t files.
-#
-array.o: ${srcdir}/array.c
-array.x: array-w89k.x array-op50n.x
-array-w89k.x: array.o
-array-op50n.x: array.o
-float.o: ${srcdir}/float.c
-float.x: float-w89k.x float-op50n.x
-float-w89k.x: float.o
-float-op50n.x: float.o
-io.o: ${srcdir}/io.c
-io.x: io-w89k.x io-op50n.x
-io-w89k.x: io.o
-io-op50n.x: io.o
-memory.o: ${srcdir}/memory.c
-memory.x: memory-w89k.x memory-op50n.x
-memory-w89k.x: memory.o
-memory-op50n.x: memory.o
-double.o: ${srcdir}/double.c
-double.x: double-w89k.x double-op50n.x
-double-w89k.x: double.o
-double-op50n.x: double.o
-math.o: ${srcdir}/math.c
-math.x: math-w89k.x math-op50n.x
-math-w89k.x: math.o
-math-op50n.x: math.o
-misc.o: ${srcdir}/misc.c
-misc.x: misc-w89k.x misc-op50n.x
-misc-w89k.x: misc.o
-misc-op50n.x: misc.o
-func.o: ${srcdir}/func.c
-func.x: func-w89k.x func-op50n.x
-func-w89k.x: func.o
-func-op50n.x: func.o
-div.o: ${srcdir}/div.c
-div.x: div-w89k.x div-op50n.x
-div-w89k.x: div.o
-div-op50n.x: div.o
-struct.o: ${srcdir}/struct.c
-struct.x: struct-w89k.x struct-op50n.x
-struct-w89k.x: struct.o
-struct-op50n.x: struct.o
-printf.o: ${srcdir}/printf.c
-printf.x: printf-w89k.x printf-op50n.x
-printf-w89k.x: printf.o
-printf-op50n.x: printf.o
-varargs.o: ${srcdir}/varargs.c
-varargs.x: varargs-w89k.x varargs-op50n.x
-varargs-w89k.x: varargs.o
-varargs-op50n.x: varargs.o
-varargs2.o: ${srcdir}/varargs2.c
-varargs2.x: varargs2-w89k.x varargs2-op50n.x
-varargs2-w89k.x: varargs2.o
-varargs2-op50n.x: varargs.o
-misc.o: ${srcdir}/misc.c
-misc.x: misc-w89k.x misc-op50n.x
-misc-w89k.x: misc.o
-misc-op50n.x: misc.o
-
-#
-# this attempts to build these test cases on a DOS box
-#
-DOSLIBS= ../lib/soft-flo/libc.a ../lib/soft-flo/libgcc.a ../lib/soft-flo/libc.a
-LIBDIR= -L../lib
-dos:
- gcc -msoft-float -c support.c
- gcc -msoft-float -c io.c
- gcc -msoft-float -c float.c
- gcc -msoft-float -c memory.c
- gcc -msoft-float -c double.c
- gcc -msoft-float -c func.c
- gcc -msoft-float -c array.c
- gcc -msoft-float -c math.c
- gcc -msoft-float -c div.c
- gcc -msoft-float -c struct.c
- gcc -msoft-float -c printf.c
- gcc -msoft-float -c varargs.c
- gcc -msoft-float -c varargs2.c
- gcc -msoft-float -c misc.c
- ld ${LIBDIR} io.o -Tw89k.ld -o io-wec.x support.o ${DOSLIBS}
- objcopy -O srec io-wec.x io-wec.sre
- ld ${LIBDIR} io.o -Top50n.ld -o io-oki.x support.o ${DOSLIBS}
- objcopy -O srec io-oki.x io-oki.sre
- ld ${LIBDIR} func.o -Tw89k.ld -o func-wec.x support.o ${DOSLIBS}
- objcopy -O srec func-wec.x func-wec.sre
- ld ${LIBDIR} func.o -Top50n.ld -o func-oki.x support.o ${DOSLIBS}
- objcopy -O srec func-oki.x func-oki.sre
- ld ${LIBDIR} math.o -Tw89k.ld -o math-wec.x support.o ${DOSLIBS}
- objcopy -O srec math-wec.x math-wec.sre
- gcc ${LIBDIR} math.o -Top50n.ld -o math-oki.x support.o ${DOSLIBS}
- objcopy -O srec math-oki.x math-oki.sre
- gcc ${LIBDIR} float.o -Tw89k.ld -o flot-wec.x support.o ${DOSLIBS}
- objcopy -O srec flot-wec.x flot-wec.sre
- gcc ${LIBDIR} float.o -Top50n.ld -o flot-oki.x support.o ${DOSLIBS}
- objcopy -O srec flot-oki.x flot-oki.sre
- gcc ${LIBDIR} memory.o -Tw89k.ld -o mem-wec.x support.o ${DOSLIBS}
- objcopy -O srec mem-wec.x mem-wec.sre
- gcc ${LIBDIR} memory.c -Top50n.ld -o mem-oki.x support.o ${DOSLIBS}
- objcopy -O srec mem-oki.x mem-oki.sre
- gcc ${LIBDIR} double.o -Tw89k.ld -o doub-wec.x support.o ${DOSLIBS}
- objcopy -O srec mem-wec.x doub-wec.sre
- gcc ${LIBDIR} double.o -Top50n.ld -o doub-oki.x support.o ${DOSLIBS}
- objcopy -O srec doub-oki.x doub-oki.sre
- gcc ${LIBDIR} array.o -Tw89k.ld -o arry-wec.x support.o ${DOSLIBS}
- objcopy -O srec arry-wec.x arry-wec.sre
- gcc ${LIBDIR} array.o -Top50n.ld -o arry-oki.x support.o ${DOSLIBS}
- objcopy -O srec arry-oki.x arry-oki.sre
- gcc ${LIBDIR} div.o -Tw89k.ld -o div-wec.x support.o ${DOSLIBS}
- objcopy -O srec div-wec.x div-wec.sre
- gcc ${LIBDIR} div.o -Top50n.ld -o div-oki.x support.o ${DOSLIBS}
- objcopy -O srec div-oki.x div-oki.sre
- gcc ${LIBDIR} printf.o -Tw89k.ld -o printf-wec.x support.o ${DOSLIBS}
- objcopy -O srec printf-wec.x printf-wec.sre
- gcc ${LIBDIR} printf.o -Top50n.ld -o printf-oki.x support.o ${DOSLIBS}
- objcopy -O srec printf-oki.x printf-oki.sre
- gcc ${LIBDIR} struct.o -Tw89k.ld -o struct-wec.x support.o ${DOSLIBS}
- objcopy -O srec struct-wec.x struct-wec.sre
- gcc ${LIBDIR} struct.o -Top50n.ld -o struct-oki.x support.o ${DOSLIBS}
- objcopy -O srec struct-oki.x struct-oki.sre
- gcc ${LIBDIR} varargs.o -Tw89k.ld -o args-wec.x support.o ${DOSLIBS}
- objcopy -O srec args-wec.x args-wec.sre
- gcc ${LIBDIR} varargs.o -Top50n.ld -o args-oki.x support.o ${DOSLIBS}
- objcopy -O srec args-oki.x args-oki.sre
- gcc ${LIBDIR} varargs2.o -Tw89k.ld -o arg2-wec.x support.o ${DOSLIBS}
- objcopy -O srec arg2-wec.x arg2-wec.sre
- gcc ${LIBDIR} varargs2.o -Top50n.ld -o arg2-oki.x support.o ${DOSLIBS}
- objcopy -O srec arg2-oki.x arg2-oki.sre
- gcc ${LIBDIR} misc.o -Tw89k.ld -o misc-wec.x support.o ${DOSLIBS}
- objcopy -O srec misc-wec.x misc-wec.sre
- gcc ${LIBDIR} misc.o -Top50n.ld -o misc-oki.x support.o ${DOSLIBS}
- objcopy -O srec misc-oki.x misc-oki.sre
-
-# this is a minimalist testing API for these test cases to keep the
-# outout standardized enough to help with automated testing.
-support.o: ${srcdir}/../config/support.c
- rootme=`pwd | sed -e 's@/[^/]*$$@@'`; \
- $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $<
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) config.status
-
-
diff --git a/libgloss/testsuite/libgloss.all/array.c b/libgloss/testsuite/libgloss.all/array.c
deleted file mode 100644
index 14b6fdb..0000000
--- a/libgloss/testsuite/libgloss.all/array.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* WinBond bug report
-
- this is a compile test. At one time static arrays over 500 elements
- didn't work. We'll test both global and local array. If it compiles at
- all, it it passes.
- */
-
-#include <stdio.h>
-static short aa[64][64];
-static int bb[500];
-
-main()
-{
- static short cc[64][64];
- static int dd[500];
- pass ("large arrays");
- fflush(stdout);
-}
diff --git a/libgloss/testsuite/libgloss.all/configure.in b/libgloss/testsuite/libgloss.all/configure.in
deleted file mode 100644
index d51e602..0000000
--- a/libgloss/testsuite/libgloss.all/configure.in
+++ /dev/null
@@ -1,54 +0,0 @@
-# This file is a shell script fragment that supplies the information
-# necessary to tailor a template configure script into the configure
-# script appropriate for this directory. For more information, check
-# any existing configure script.
-
-srctrigger=io.c
-srcname="libgloss testsuite"
-target_dependent=true
-
-# per-host:
-
-# This is basically a hack so that we don't have to replicate the same
-# defines in all the Makefiles. We put a standard set of definitions
-# in host/any, and use them everywhere except DOS, which is braindead.
-
-host_makefile_frag=../../config/default.mh
-case "${host}" in
- i[3456]86-*-go32)
- host_makefile_frag=../../config/dos.mh
- ;;
-esac
-
-# per-target:
-case "${target}" in
- m68*-unknown-*)
- target_makefile_frag=../config/m68k.mt
- ;;
- hppa*-*-pro*)
- target_makefile_frag=../config/hppa.mt
- ;;
- sparclite-*-*)
- target_makefile_frag=../config/sparcl.mt
- ;;
- mips*-*-*)
- target_makefile_frag=../config/mips.mt
- ;;
-esac
-
-# post-target:
-
-case ${srcdir} in
- .)
- ;;
- *)
- grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
- echo "source ${srcdir}/.gdbinit" >> .gdbinit
-esac
-
-objroot=`pwd | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
-srcroot=`echo $srcdir | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
-sed -e "s:^OBJROOT[ ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[ ]*=.*$:SRCROOT = ${srcroot}:" \
- ${Makefile} > Makefile.tem
-rm -f ${Makefile}
-mv Makefile.tem ${Makefile}
diff --git a/libgloss/testsuite/libgloss.all/div.c b/libgloss/testsuite/libgloss.all/div.c
deleted file mode 100644
index 32eff9d..0000000
--- a/libgloss/testsuite/libgloss.all/div.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/* WinBond bug report
-
- Please don't use "gcc -O3 -S hello.c" command, because it
- will optimize "i/5" to be "2" in compile time.
-
- */
-
-#include <stdio.h>
-#define TESTSEED 10
-
-main ()
-{
- int a1,b1,c1;
- long a2,b2,c2;
- double a3,b3,c3;
- float a4,b4,c4;
- char buf[20];
-
- /* integer tests */
- for (a1 = 1; a1 < 16; a1++) {
- b1 = TESTSEED/a1;
- c1 = TESTSEED%a1;
- printf ("%d/%d = %d, ^ = %d\n", TESTSEED, a1, b1, c1);
- if ((c1 + (a1 * b1)) == TESTSEED) {
- sprintf (buf, "div %d by %d", TESTSEED, a1);
- pass (buf);
- } else {
- sprintf (buf, "div %d by %d", TESTSEED, a1);
- fail (buf);
- }
- fflush (stdout);
- }
-}
-
-
diff --git a/libgloss/testsuite/libgloss.all/double.c b/libgloss/testsuite/libgloss.all/double.c
deleted file mode 100644
index e648191..0000000
--- a/libgloss/testsuite/libgloss.all/double.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Oki bug report [OKI001](gcc008_1)
-
- The following program is not executed.
- error messages are as follow.
-
- illegal trap: 0x12 pc=d000d954
- d000d954 08000240 NOP
- */
-
-#include <stdio.h>
-extern double dcall ();
-
-main ()
-{
- double d1, d2, d3;
- int i;
-
- d1 = dcall (1.);
- printf ("d1 = %e\n", d1);
-
- pass ("double [OKI001]");
- fflush(stdout);
-}
-
-double
-dcall (d)
- double d;
-{
- int Zero = 0;
- return d + Zero;
-}
-
-
diff --git a/libgloss/testsuite/libgloss.all/float.c b/libgloss/testsuite/libgloss.all/float.c
deleted file mode 100644
index bbe41ca..0000000
--- a/libgloss/testsuite/libgloss.all/float.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdio.h>
-
-main()
-{
- float a,b,c;
-
- a = 0.11;
- b = 3.12;
- c = a+b;
-
- printf ("Print float, result with 'f' = %f\n", c);
- printf ("Print float, result with 'e' = %e\n", c);
- printf ("Print float, result with 'E' = %E\n", c);
- printf ("Print float, result with 'g' = %g\n", c);
- printf ("Print float, result with 'G' = %G\n", c);
-
- pass ("float");
- fflush (stdout);
-}
-
diff --git a/libgloss/testsuite/libgloss.all/func.c b/libgloss/testsuite/libgloss.all/func.c
deleted file mode 100644
index 50ca207..0000000
--- a/libgloss/testsuite/libgloss.all/func.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Oki bug report [OKI002](gcc008_2)
-
- The following program is not executed.
- Error message is as follow.
-
- illegal trap: 0x12 pc=d000d954
- d000d954 08000240 NOP
-
- */
-
-#include <stdio.h>
-#include <stdarg.h>
-
-int func (int, ...);
-
-void main ()
-{
- func (2, 1., 2., 3.);
- pass ("func [OKI002]");
- fflush (stdout);
-}
-
-int func (int i, ...)
-{
- return (i);
-}
diff --git a/libgloss/testsuite/libgloss.all/io.c b/libgloss/testsuite/libgloss.all/io.c
deleted file mode 100644
index 5ad93ef..0000000
--- a/libgloss/testsuite/libgloss.all/io.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- io.c -- Test the serial I/O.
- */
-
-#define BUFSIZE 80
-#include <stdio.h>
-
-main()
-{
- char buf[100];
- char *tmp;
- int result;
-
- /* test the lowest level output function */
- result = outbyte ('&');
- if (result != 0x0) {
- pass ("outbyte");
- } else {
- fail ("outbyte");
- }
-
- /* try writing a string */
- result = write ("Write Test:\n", 12);
- print ("result was ");
- putnum (result);
- outbyte ('\n');
- if (result == 12) {
- pass ("write");
- } else {
- fail ("write");
- }
-
- /* try the print() function too */
- result = print ("Print Test:\n");
- print ("result was ");
- putnum (result);
- outbyte ('\n');
- if (result == 12) {
- pass ("print");
- } else {
- fail ("print");
- }
-
- /* try the iprintf() function too */
- result = print ("Iprintf Test:\n");
- print ("result was ");
- putnum (result);
- outbyte ('\n');
- if (result == 14) {
- pass ("iprintf");
- } else {
- fail ("iprintf");
- }
-
- /* try to read a string */
- print ("Type 5 characters");
-
- result = 0;
- result = read (0, buf, 5);
- print (buf);
- if (result == 5) {
- pass ("read");
- } else {
- fail ("read");
- }
-
- /* clear everything out */
- fflush (stdout);
-}
-
-
diff --git a/libgloss/testsuite/libgloss.all/math.c b/libgloss/testsuite/libgloss.all/math.c
deleted file mode 100644
index fe137da..0000000
--- a/libgloss/testsuite/libgloss.all/math.c
+++ /dev/null
@@ -1,88 +0,0 @@
-/* Oki bug report [OKI004](gcc005)
-
- The following computation is no work.
- -1 / 1 => 1 (correct -1)
- -1 % 2 => 1 (correct -1)
- */
-
-#include <stdio.h>
-
-main ()
-{
- long l1, l2, l6;
- auto long l3;
- long oza1, oza2, oza;
-
- l1 = 1;
- l2 = 2;
- l3 = -1;
- l6 = 6;
-
- /*** test 1 ***/
- oza = ((l3 / ((l1)--)) | (l6 <= (l3 % l2)));
- printf ("test 1 has a result of %d.\n", oza);
- if (oza != -1)
- fail ("divide test [OKI004]");
- else
- pass ("divide test [OKI004]");
-
- l1 = 1;
- /*** test 2 ***/
- oza1 = (l3 / ((l1)--));
- oza2 = (l6 <= (l3 % l2));
- oza = oza1 | oza2;
-
- printf ("test 2 has a result of %d.\n", oza);
- if (oza != -1)
- fail ("modulos test [OKI004]");
- else
- pass ("modulos test [OKI004]");
- fflush (stdout);
-
- test_1();
-}
-
-/*
- 32760 / (1) = 32760
- 32760 / (-1) = 32760 -------> ERROR, same as you said.
- 32760 / (2) = 16380
- 32760 / (-2) = -2147467268 ----> ERROR
- 32760 / (3) = 10920
- 32760 / (-3) = -1431644845 ----> ERROR
- 32760 / (4) = 8190
- 32760 / (-4) = -8190
- */
-test_1()
-{
- int value, i, j;
-
- i = 32760;
- j = 1;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
- j = -1;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-
- j = 2;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
- j = -2;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-
- j = 3;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
- j = -3;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-
- j = 4;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
- j = -4;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-}
-
diff --git a/libgloss/testsuite/libgloss.all/memory.c b/libgloss/testsuite/libgloss.all/memory.c
deleted file mode 100644
index 6e0422d..0000000
--- a/libgloss/testsuite/libgloss.all/memory.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* WinBond bug report
-
- malloc() returns 0x0.
-
- test the memory calls. These test sbrk(), which is part of glue.c
- for most architectures.
- */
-
-#include <stdio.h>
-#define BUFSIZE 80
-
-main()
-{
- char *buf;
- char *tmp;
- char *result;
-
- /* see if we can get some memory */
- buf = (char *)malloc(BUFSIZE);
- if (buf != 0x0) {
- pass ("malloc");
- } else {
- fail ("malloc");
- }
-
- /* see if we can realloc it */
- tmp = buf;
- result = (char *)realloc (buf, BUFSIZE+100);
- if ((buf != 0x0) && (result != 0x0)) {
- pass ("realloc");
- } else {
- fail ("realloc");
- }
-
- /* see if we can free it up. FIXME: how to test free ?*/
- free (buf);
- fflush (stdout);
-}
diff --git a/libgloss/testsuite/libgloss.all/misc.c b/libgloss/testsuite/libgloss.all/misc.c
deleted file mode 100644
index 5d082bc..0000000
--- a/libgloss/testsuite/libgloss.all/misc.c
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * this file contains misc bug reports from WinBond.
- */
-#include <stdio.h>
-#include <math.h>
-
-#if unix
-#define pass(x) printf("PASS: %s\n", x);
-#define fail(x) printf("FAIL: %s\n", x);
-#endif
-
-/*
- The compare operation is error. Because the constant value 1.0 is
- not correct. It seems compare with 0 in this statement.
-
-HP-UX native:
- dist is 0.301
- PASS: float compare
- *cp = be9a1cac, *cp1 = be9a1cac
- PASS: float multiple 1
- PASS: float multiple 2
- 32760 / (-2) = -16380
- PASS: float divide 1
- 32760 / (-1) = -32760
- PASS: float divide 1
- These test only pass if the output matches:
- Correct output is
- 1.0 = 1.000000E+00, 0.3010 = 3.000000E-01, -1.0 = -1.000000E+0
- 1.0 = 1.000000E+00, 0.3010 = 3.010000E-01, -1.0 = -1.000000E+00
- These test only pass if the outut matches:
- Correct output is
- ans = 1.000000E+00, ans1 = 3.010000E-01, ans2 = -1.000000E+00
- ans = 1.000000E+00, ans1 = 3.010000E-01, ans2 = -1.000000E+00
-
-
-Test run on Oki:
-
- dist is 0
- PASS: float compare
- *cp = be9a1cac, *cp1 = be9a1cac
- PASS: float multiple 1
- PASS: float multiple 2
- 32760 / (-2) = -2147467268
- PASS: float divide 1
- 32760 / (-1) = 32760
- PASS: float divide 1
- These test only pass if the output matches:
- Correct output is
- 1.0 = 1.000000E+00, 0.3010 = 3.000000E-01, -1.0 = -1.000000E+0
- 1.0 = 1.586860E-318, 0.3010 = -1.009091E-303, -1.0 = 5.290504E-315
- These test only pass if the outut matches:
- Correct output is
- ans = 1.000000E+00, ans1 = 3.010000E-01, ans2 = -1.000000E+00
- ans = 4.940656E-324, ans1 = -5.299809E-315, ans2 = 5.290504E-315
-
- */
-
-main()
-{
- float dist = 0.3010;
-
- printf ("dist is %G\n", dist);
- if ( dist < 1.0 ) {
- pass ("float compare");
- } else {
- fail ("float compare");
- }
-
- test_1();
- test_2();
- test_3();
- test_4();
-
- fflush (stdout);
-}
-
-/*
- * *cp = be9a1cac, *cp1 = 00000000
- */
-test_1()
-{
- float i, ans, ans1;
- unsigned int *cp=&ans, *cp1=&ans1;
-
- i = 0.3010;
- ans = (-1.0) * 0.3010 * 1.0; /* OK */
- ans1 = (-1.0) * i * 1.0; /* Disaster */
- printf ("*cp = %08x, *cp1 = %08x\n", *cp, *cp1);
-
- if (*cp != 0xbe9a1cac) {
- fail ("float multiple 1");
- } else {
- pass ("float multiple 1");
- }
-
- if (*cp1 != 0xbe9a1cac) {
- fail ("float multiple 2");
- } else {
- pass ("float multiple 2");
- }
-}
-
-/*
- Positive integer divide Negative integer may get interesting result.
- For examples:
- EX1: 32760 / (-2) = -2147467268
- */
-test_2()
-{
- int value, i, j;
-
- i = 32760;
- j = -2;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-
- if (value != -16380) {
- fail ("float divide 1");
- } else {
- pass ("float divide 1");
- }
-}
-
-/*
- EX2: 32760 / (-1) = 32760
- */
-test_3()
-{
- int value, i, j;
-
- i = 32760;
- j = -1;
- value = i / (j);
- printf ("%d / (%d) = %d\n", i, j, value);
-
- if (value != -32760) {
- fail ("float divide 1");
- } else {
- pass ("float divide 1");
- }
-}
-
-/*
- The data output format %e, %E, %g, %G in printf() can not work.
- Please test the following example:
-
- 1.0 = 1.000000E+00, 0.3010 = 3.009999E-01, -1.0 = -1.000000E+00
- ans = 4.940656E-324, ans1 = -5.299809E-315, ans2 = 5.290504E-315
- */
-test_4()
-{
- float ans, ans1, ans2;
-
- ans = 1.0;
- ans1 = 0.3010;
- ans2 = -1.0;
-
- printf ("These test only pass if the output matches:\nCorrect output is\n1.0 = 1.000000E+00, 0.3010 = 3.000000E-01, -1.0 = -1.000000E+0\n");
- printf ("1.0 = %E, 0.3010 = %E, -1.0 = %E\n", 1.0, 0.3010, -1.0);
- printf ("These test only pass if the outut matches:\nCorrect output is\nans = 1.000000E+00, ans1 = 3.010000E-01, ans2 = -1.000000E+00\n");
- printf ("ans = %E, ans1 = %E, ans2 = %E\n", ans, ans1, ans2);
-}
-
-
-
-
-
diff --git a/libgloss/testsuite/libgloss.all/printf.c b/libgloss/testsuite/libgloss.all/printf.c
deleted file mode 100644
index 4aff104..0000000
--- a/libgloss/testsuite/libgloss.all/printf.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Oki bug report [OKI006]
-
- The following program is no work.
-
- illegal trap: 0x12 pc=d000d954
- d000d954 08000240 NOP
- */
-
-#include <stdio.h>
-
-main ()
-{
- int i, j, k;
-
- print ("\r\nDemo Program Start\r\n");
- printf ("Value = %d, %d\r\n", 2, 1);
- pass ("printf [OKI006]");
-
-/* Oki bug report [OKI007]
-
- iprintf is no work.
- "Value = 2, 1" string is not displayed.
-
- break instruction trap (9) pc=4003c
- 0004003c 00000000 BREAK 0x0,0x0
- */
- print ("\r\nDemo Program Start\r\n");
- iprintf ("Value = %d, %d\r\n", 2, 1);
- pass ("iprintf [OKI007]");
- fflush (stdout);
-}
diff --git a/libgloss/testsuite/libgloss.all/struct.c b/libgloss/testsuite/libgloss.all/struct.c
deleted file mode 100644
index 799f9a5..0000000
--- a/libgloss/testsuite/libgloss.all/struct.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Oki bug report, no number. Here's the output the error generates.
-
- gcc -c -g -ansi oki008.c -o oki008.o -msoft-float
- oki008.c: In function `Proc0':
- oki008.c:50: internal error--insn does not satisfy its constraints:
- (insn 37 35 24 (set (mem:DF (post_inc:DF (reg:SI 1 %r1)))
- (reg:DF 48 %fr12)) 94 {reload_outdf+2} (nil)
- (nil))
- gcc: Internal compiler error: program cc1 got fatal signal 6
- */
-
-#include <stdio.h>
-
-typedef int Enumeration;
-typedef int OneToFifty;
-typedef char String30[31];
-struct Record
-{
- struct Record *PtrComp;
- Enumeration Discr;
- Enumeration EnumComp;
- OneToFifty IntComp;
- String30 StringComp;
-};
-
-typedef struct Record RecordType;
-typedef RecordType * RecordPtr;
-typedef int boolean;
-
-#include <stdio.h>
-
-char buf[0x10000];
-char *pbuf = buf;
-
-char *_malloc(size)
-{
- char *p;
-
- p = pbuf;
- pbuf += size;
- if (pbuf >= &buf[sizeof (buf)]) {
- printf("_malloc error\n");
- return (0);
- }
- return (p);
-}
-
-main()
-{
- Proc0();
- pass ("struct");
- fflush (stdout);
- return (0);
-}
-
-RecordPtr PtrGlbNext;
-
-Proc0()
-{
- extern char *_malloc();
-
- register unsigned int i;
-
- PtrGlbNext = (RecordPtr) _malloc(sizeof(RecordType));
-}
diff --git a/libgloss/testsuite/libgloss.all/varargs.c b/libgloss/testsuite/libgloss.all/varargs.c
deleted file mode 100644
index c055574..0000000
--- a/libgloss/testsuite/libgloss.all/varargs.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Oki bug report [OKI013]
-
- Variable argments test failed.
-
- Execution result.
- val1, val2 = 1, 0
- val1, val2 = 2, 0
- val1, val2 = 3, 0
-
- Note, this tests for ANSI style varargs.
-
- */
-
-#include <stdio.h>
-#include <stdarg.h>
-int func(int, ...);
-
-main()
-{
- func(2, 1., 2., 3.);
-}
-
-func(int i, ...)
-{
- va_list p;
- int j;
-
- va_start(p, i);
- for (j = 1; j <= 3; ++j){
- dequals(__LINE__, (double)j, va_arg(p, double));
- }
- va_end(p);
- return (i);
-}
-
-dequals(int line, double val1, double val2)
-{
- iprintf ("val1, val2 = %d, %d\n", (int)val1, (int)val2);
- if(val1 == val2)
- pass ("varargs [OKI013]");
- else
- fail ("varargs [OKI013]");
-
- fflush (stdout);
- return;
-}
diff --git a/libgloss/testsuite/libgloss.all/varargs2.c b/libgloss/testsuite/libgloss.all/varargs2.c
deleted file mode 100644
index 9e590fc..0000000
--- a/libgloss/testsuite/libgloss.all/varargs2.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Oki bug report [OKI013]
-
- Variable argments test failed.
-
- Execution result.
- val1, val2 = 1, 0
- val1, val2 = 2, 0
- val1, val2 = 3, 0
-
- Note, this test case for for traditional style C code.
-
- */
-
-#include <stdio.h>
-#include <varargs.h>
-int func();
-
-main()
-{
- func(1., 2., 3.);
-}
-
-func(va_alist)
- va_dcl
-{
- va_list p;
- double val1, val2;
- int j;
-
- va_start(p);
- for (j = 1; j <= 3; ++j){
- dequals((double)j, va_arg(p, double));
- }
- va_end(p);
- return (p);
-}
-
-dequals(double val1, double val2)
-{
- iprintf ("val1 is %d, val2 is %d\n", (int)val1, (int)val2);
- if (val1 == val2)
- pass ("varargs2 [OKI013]");
- else
- fail ("varargs2 [OKI013]");
-
- fflush (stdout);
- return;
-}
diff --git a/libgloss/tic6x/Makefile.in b/libgloss/tic6x/Makefile.in
deleted file mode 100644
index 40c38e8..0000000
--- a/libgloss/tic6x/Makefile.in
+++ /dev/null
@@ -1,126 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CFLAGS = -g
-SCRIPTS =
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS =
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_CRT0 = crt0.o
-SIM_OBJS = sbrk.o putnum.o getpid.o kill.o syscalls.o
-SIM_TEST = sim-test
-SIM_INSTALL = install-sim
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-all: ${SIM_CRT0} ${SIM_BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test: ${SIM_TEST}
-
-sim-test: sim-test.x sim-test.dis
-
-sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP}
- ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \
- ${SIM_CRT0} test.o \
- -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP}
-
-sim-test.dis: sim-test.x
- ${OBJDUMP} -d sim-test.x > sim-test.dis
-
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install: ${SIM_INSTALL}
-
-install-sim:
- set -e;\
- for x in ${SIM_CRT0} ${SIM_BSP}; do\
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x;\
- done
- for x in ${SIM_SCRIPTS}; do\
- ${INSTALL_DATA} ${srcdir}/$${x} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
-
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/tic6x/aclocal.m4 b/libgloss/tic6x/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/tic6x/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/tic6x/configure b/libgloss/tic6x/configure
deleted file mode 100755
index faba215..0000000
--- a/libgloss/tic6x/configure
+++ /dev/null
@@ -1,3974 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell bug-autoconf@gnu.org about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
- { (exit 1); exit 1; }; } ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.63
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
-done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTION]... [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.63,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { $as_echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=' '
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
- { (exit 1); exit 1; }; }
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- ac_file_inputs="$ac_file_inputs '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
- ;;
-
-
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/tic6x/configure.in b/libgloss/tic6x/configure.in
deleted file mode 100644
index 7c2231c..0000000
--- a/libgloss/tic6x/configure.in
+++ /dev/null
@@ -1,54 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/tic6x/crt0.S b/libgloss/tic6x/crt0.S
deleted file mode 100644
index 52af351..0000000
--- a/libgloss/tic6x/crt0.S
+++ /dev/null
@@ -1,63 +0,0 @@
-/* crt0.S for the TI C6X series of processors
-
- Copyright (c) 2010 CodeSourcery, Inc.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of CodeSourcery nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
- OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE. */
-
- .text
- .align 2
-
- .global _start
-_start:
- /* Start by setting up a stack */
- mvkl .s2 _STACK_START - 4, B15
- mvkh .s2 _STACK_START - 4, B15
- and .s2 -8, B15, B15
-
- mvkl .s2 __c6xabi_DSBT_BASE, B14
- mvkh .s2 __c6xabi_DSBT_BASE, B14
-
-#ifdef __DSBT__
- stw .d2t2 B14, *B14
-#endif
- /* Zero the memory in the .bss section. */
-
- /* Set up GOT pointer. */
-
- mvkl .s2 1f, B3
- mvkh .s2 1f, B3
- call .s2 _init
- nop 5
-1:
-
- mvkl .s2 1f, B3
- mvkh .s2 1f, B3
- call .s2 main
- nop 5
-1:
-
- b .s2 exit
- nop 5
diff --git a/libgloss/tic6x/getpid.c b/libgloss/tic6x/getpid.c
deleted file mode 100644
index 3c1a7b8..0000000
--- a/libgloss/tic6x/getpid.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/tic6x/kill.c b/libgloss/tic6x/kill.c
deleted file mode 100644
index 3ed228f..0000000
--- a/libgloss/tic6x/kill.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <_ansi.h>
-#define __MYPID 1
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/tic6x/sbrk.c b/libgloss/tic6x/sbrk.c
deleted file mode 100644
index 5bb645e..0000000
--- a/libgloss/tic6x/sbrk.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/* sbrk.c -- Implementation of the low-level sbrk() routine
- *
- * Copyright (c) 2004 National Semiconductor Corporation
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-
-#include <errno.h>
-#include <stddef.h> /* where ptrdiff_t is defined */
-#include <stdlib.h>
-
-/* Start of the heap. */
-extern const char _HEAP_START __attribute__((section(".heap")));
-/* End of the heap (maximum value of heap_ptr). */
-extern const char _HEAP_MAX __attribute__((section(".heap")));
-
-/* Extend heap space by size bytes.
- Return start of new space allocated, or -1 for errors
- Error cases:
- 1. Allocation is not within heap range */
-
-void * sbrk (ptrdiff_t size)
-{
- /*
- * The following two memory locations should be defined in the linker script file
- */
-
- static const char * heap_ptr; /* pointer to head of heap */
- const char * old_heap_ptr;
- static unsigned char init_sbrk = 0;
-
- /* heap_ptr is initialized to HEAP_START */
- if (init_sbrk == 0)
- {
- heap_ptr = &_HEAP_START;
- init_sbrk = 1;
- }
-
- old_heap_ptr = heap_ptr;
-
- if ((heap_ptr + size) > &_HEAP_MAX)
- {
- /* top of heap is bigger than _HEAP_MAX */
- errno = ENOMEM;
- return (void *) -1;
- }
-
- /* success: update heap_ptr and return previous value */
- heap_ptr += size;
- return (void *)old_heap_ptr;
-}
diff --git a/libgloss/tic6x/syscalls.c b/libgloss/tic6x/syscalls.c
deleted file mode 100644
index 393fba6..0000000
--- a/libgloss/tic6x/syscalls.c
+++ /dev/null
@@ -1,382 +0,0 @@
-/* Copyright (c) 2010 CodeSourcery, Inc.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of CodeSourcery nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
- OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE. */
-
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
-#include <sys/time.h>
-#include <sys/stat.h>
-#include <errno.h>
-
-#define _DTOPEN 0xf0
-#define _DTCLOSE 0xf1
-#define _DTREAD 0xf2
-#define _DTWRITE 0xf3
-#define _DTLSEEK 0xf4
-#define _DTUNLINK 0xf5
-#define _DTGETENV 0xf6
-#define _DTRENAME 0xf7
-#define _DTGETTIME 0xf8
-#define _DTGETCLK 0xf9
-#define _DTSYNC 0xff
-
-#define CIOBUFSIZ (BUFSIZ + 32)
-
-struct __attribute__((packed)) cio_open_to_host
-{
- /* Suggested file descriptor (little endian). */
- short fd;
- /* Flags (little endian). */
- short flags;
-};
-
-struct __attribute__((packed)) cio_open_from_host
-{
- /* File descriptor (little endian). */
- short fd;
-};
-
-struct __attribute__((packed)) cio_close_to_host
-{
- /* File descriptor (little endian). */
- short fd;
-};
-
-struct __attribute__((packed)) cio_close_from_host
-{
- /* Result (little endian). */
- short result;
-};
-
-struct __attribute__((packed)) cio_read_to_host
-{
- /* File descriptor (little endian). */
- short fd;
- /* Length (little endian). */
- short length;
-};
-
-struct __attribute__((packed)) cio_read_from_host
-{
- /* Result (little endian). */
- short result;
-};
-
-struct __attribute__((packed)) cio_write_to_host
-{
- /* File descriptor (little endian). */
- short fd;
- /* Length (little endian). */
- short length;
-};
-
-struct __attribute__((packed)) cio_write_from_host
-{
- /* Result (little endian). */
- short result;
-};
-
-struct __attribute__((packed)) cio_lseek_to_host
-{
- /* File descriptor (little endian). */
- short fd;
- /* Offset (little endian). */
- int offset;
- /* Whence (little endian). */
- short whence;
-};
-
-struct __attribute__((packed)) cio_lseek_from_host
-{
- /* Result (little endian). */
- int result;
-};
-
-struct __attribute__((packed)) cio_unlink_to_host
-{
- /* Empty. */
-};
-
-struct __attribute__((packed)) cio_unlink_from_host
-{
- /* Result (little endian). */
- short result;
-};
-
-struct __attribute__((packed)) cio_rename_to_host
-{
- /* Empty. */
-};
-
-struct __attribute__((packed)) cio_rename_from_host
-{
- /* Result (little endian). */
- short result;
-};
-
-struct __attribute__((packed)) cio_gettime_to_host
-{
- /* Empty. */
-};
-
-struct __attribute__((packed)) cio_gettime_from_host
-{
- /* Time (little endian). */
- int time;
-};
-
-struct __attribute__((packed)) cio_getclk_to_host
-{
- /* Empty. */
-};
-
-struct __attribute__((packed)) cio_getclk_from_host
-{
- /* Clock cycles (little endian). */
- int result;
-};
-
-struct __attribute__((packed)) cio_to_host
-{
- /* Data length (target endian). */
- unsigned int length;
- /* Command. */
- unsigned char command;
- /* Parameters. */
- union
- {
- unsigned char buf[8];
- struct cio_open_to_host open;
- struct cio_close_to_host close;
- struct cio_read_to_host read;
- struct cio_write_to_host write;
- struct cio_lseek_to_host lseek;
- struct cio_unlink_to_host unlink;
- struct cio_rename_to_host rename;
- struct cio_gettime_to_host gettime;
- struct cio_getclk_to_host getclk;
- } parms;
- /* Variable-length data. */
- unsigned char data[];
-};
-
-struct __attribute__((packed)) cio_from_host
-{
- /* Length (target endian). */
- unsigned int length;
- /* Parameters. */
- union
- {
- unsigned char buf[8];
- struct cio_open_from_host open;
- struct cio_close_from_host close;
- struct cio_read_from_host read;
- struct cio_write_from_host write;
- struct cio_lseek_from_host lseek;
- struct cio_unlink_from_host unlink;
- struct cio_rename_from_host rename;
- struct cio_gettime_from_host gettime;
- struct cio_getclk_from_host getclk;
- } parms;
- /* Data. */
- unsigned char data[];
-};
-
-union
-{
- unsigned char buf[CIOBUFSIZ];
- int align;
- union
- {
- struct cio_to_host to_host;
- struct cio_from_host from_host;
- } u;
-} _CIOBUF_ __attribute__((section(".cio")));
-
-#ifdef _BIG_ENDIAN
-#define SWAPSHORT(s) ((short)((((s) & 0xff) << 8) | (((s) & 0xff00) >> 8)))
-#define SWAPINT(i) (__builtin_bswap32 (i))
-#else
-#define SWAPSHORT(s) (s)
-#define SWAPINT(i) (i)
-#endif
-
-static void __attribute__((noinline))
-do_semi_call (void)
-{
- asm volatile (".globl C$$IO$$\nnop\nC$$IO$$:nop" : "+m" (_CIOBUF_));
-}
-
-static inline void
-semi_call_wrapper (unsigned char command, const char *data,
- unsigned int length)
-{
- _CIOBUF_.u.to_host.length = length;
- _CIOBUF_.u.to_host.command = command;
- if (data != NULL)
- memcpy (_CIOBUF_.u.to_host.data, data, length);
- do_semi_call ();
-}
-
-static inline void
-semi_call_wrapper2 (unsigned char command, const char *data1,
- unsigned int length1, const char *data2,
- unsigned int length2)
-{
- _CIOBUF_.u.to_host.length = length1 + length2;
- _CIOBUF_.u.to_host.command = command;
- if (data1 != NULL)
- memcpy (_CIOBUF_.u.to_host.data, data1, length1);
- if (data2 != NULL)
- memcpy (_CIOBUF_.u.to_host.data + length1, data2, length2);
- do_semi_call ();
-}
-
-void
-_exit (int status)
-{
- /* The semihosting interface appears to provide no way to return an
- exit status. */
- asm volatile (".globl C$$EXIT\nnop\nC$$EXIT:nop");
-}
-
-int
-open (const char *path, int flags, ...)
-{
- /* ??? It's not clear what the suggested fd is for. */
- static short suggest_fd = 3;
- short ret_fd;
- ++suggest_fd;
- _CIOBUF_.u.to_host.parms.open.fd = SWAPSHORT (suggest_fd);
- _CIOBUF_.u.to_host.parms.open.flags = SWAPSHORT (flags);
- semi_call_wrapper (_DTOPEN, path, strlen (path) + 1);
- ret_fd = SWAPSHORT (_CIOBUF_.u.from_host.parms.open.fd);
- if (ret_fd == -1)
- return -1;
- return suggest_fd;
-}
-
-int
-close (int fd)
-{
- _CIOBUF_.u.to_host.parms.close.fd = SWAPSHORT (fd);
- semi_call_wrapper (_DTCLOSE, NULL, 0);
- return SWAPSHORT (_CIOBUF_.u.from_host.parms.close.result);
-}
-
-int
-read (int fd, char *ptr, int len)
-{
- if (len > BUFSIZ)
- len = BUFSIZ;
- _CIOBUF_.u.to_host.parms.read.fd = SWAPSHORT (fd);
- _CIOBUF_.u.to_host.parms.read.length = SWAPSHORT (len);
- semi_call_wrapper (_DTREAD, NULL, 0);
- memcpy (ptr, _CIOBUF_.u.from_host.data, _CIOBUF_.u.from_host.length);
- return SWAPSHORT (_CIOBUF_.u.from_host.parms.read.result);
-}
-
-int
-write (int fd, char *ptr, int len)
-{
- if (len > BUFSIZ)
- len = BUFSIZ;
- _CIOBUF_.u.to_host.parms.write.fd = SWAPSHORT (fd);
- _CIOBUF_.u.to_host.parms.write.length = SWAPSHORT (len);
- semi_call_wrapper (_DTWRITE, ptr, len);
- return SWAPSHORT (_CIOBUF_.u.from_host.parms.write.result);
-}
-
-int
-lseek (int fd, int offset, int whence)
-{
- _CIOBUF_.u.to_host.parms.lseek.fd = SWAPSHORT (fd);
- _CIOBUF_.u.to_host.parms.lseek.offset = SWAPINT (offset);
- _CIOBUF_.u.to_host.parms.lseek.whence = SWAPSHORT (whence);
- semi_call_wrapper (_DTLSEEK, NULL, 0);
- return SWAPINT (_CIOBUF_.u.from_host.parms.lseek.result);
-}
-
-int
-unlink (const char *path)
-{
- semi_call_wrapper (_DTUNLINK, path, strlen (path) + 1);
- return SWAPSHORT (_CIOBUF_.u.from_host.parms.unlink.result);
-}
-
-int
-rename (const char *oldpath, const char *newpath)
-{
- semi_call_wrapper2 (_DTRENAME, oldpath, strlen (oldpath) + 1,
- newpath, strlen (newpath) + 1);
- return SWAPSHORT (_CIOBUF_.u.from_host.parms.rename.result);
-}
-
-int
-gettimeofday (struct timeval *tp, void *tzvp)
-{
- struct timezone *tzp = tzvp;
-
- if (tp)
- {
- semi_call_wrapper (_DTGETTIME, NULL, 0);
- tp->tv_sec = SWAPINT (_CIOBUF_.u.from_host.parms.gettime.time);
- tp->tv_usec = 0;
- }
-
- if (tzp)
- {
- tzp->tz_minuteswest = 0;
- tzp->tz_dsttime = 0;
- }
-
- return 0;
-}
-
-clock_t
-clock (void)
-{
- semi_call_wrapper (_DTGETCLK, NULL, 0);
- return SWAPINT (_CIOBUF_.u.from_host.parms.getclk.result);
-}
-
-
-int
-isatty (int file __attribute__((unused)))
-{
- errno = ENOSYS;
- return 0;
-}
-
-int
-fstat (int fd, struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/unlink.c b/libgloss/unlink.c
deleted file mode 100644
index 15ea7e8..0000000
--- a/libgloss/unlink.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* unlink.c -- remove a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * unlink -- since we have no file system,
- * we just return an error.
- */
-int
-_DEFUN (unlink, (path),
- char * path)
-{
- errno = EIO;
- return (-1);
-}
diff --git a/libgloss/v850/Makefile.in b/libgloss/v850/Makefile.in
deleted file mode 100644
index 276e9b2..0000000
--- a/libgloss/v850/Makefile.in
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright (c) 2002 Red Hat, Inc
-#
-# The authors hereby grant permission to use, copy, modify, distribute,
-# and license this software and its documentation for any purpose, provided
-# that existing copyright notices are retained in all copies and that this
-# notice is included verbatim in any distributions. No written agreement,
-# license, or royalty fee is required for any of the authorized uses.
-# Modifications to this software may be copyrighted by their authors
-# and need not follow the licensing terms described here, provided that
-# the new terms are clearly indicated on the first page of each file where
-# they apply.
-
-# Makefile for libgloss/frv. This is the board support
-# code for the various frv targets.
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-AR_FLAGS = rc
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o
-SIM_BSP = libsim.a
-SIM_OBJS = _exit.o \
- access.o \
- chmod.o \
- chown.o \
- close.o \
- creat.o \
- crt1.o \
- execv.o \
- execve.o \
- fork.o \
- fstat.o \
- getpid.o \
- gettime.o \
- isatty.o \
- kill.o \
- link.o \
- lseek.o \
- open.o \
- pipe.o \
- read.o \
- sbrk.o \
- stat.o \
- time.o \
- times.o \
- trap.o \
- unlink.o \
- utime.o \
- wait.o \
- write.o
-
-#### Host specific Makefile fragment comes in here.
-@host_makefile_frag@
-
-all: $(CRT0) $(SIM_BSP)
-
-$(SIM_BSP): $(SIM_OBJS)
- $(AR) $(ARFLAGS) $@ $?
- $(RANLIB) $@
-
-_exit.o: $(srcdir)/_exit.c
-access.o: $(srcdir)/access.c
-chmod.o: $(srcdir)/chmod.c
-chown.o: $(srcdir)/chown.c
-close.o: $(srcdir)/close.c
-creat.o: $(srcdir)/creat.c
-crt1.o: $(srcdir)/crt1.c
-execv.o: $(srcdir)/execv.c
-execve.o: $(srcdir)/execve.c
-fork.o: $(srcdir)/fork.c
-fstat.o: $(srcdir)/fstat.c
-getpid.o: $(srcdir)/getpid.c
-gettime.o: $(srcdir)/gettime.c
-isatty.o: $(srcdir)/isatty.c
-kill.o: $(srcdir)/kill.c
-link.o: $(srcdir)/link.c
-lseek.o: $(srcdir)/lseek.c
-open.o: $(srcdir)/open.c
-pipe.o: $(srcdir)/pipe.c
-read.o: $(srcdir)/read.c
-sbrk.o: $(srcdir)/sbrk.c
-stat.o: $(srcdir)/stat.c
-time.o: $(srcdir)/time.c
-times.o: $(srcdir)/times.c
-trap.o: $(srcdir)/trap.S
-unlink.o: $(srcdir)/unlink.c
-utime.o: $(srcdir)/utime.c
-wait.o: $(srcdir)/wait.c
-write.o: $(srcdir)/write.c
-
-install: $($(CPU)_INSTALL)
- $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
- $(INSTALL_DATA) $(SIM_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(SIM_BSP)
-
-clean mostlyclean:
- rm -f *.o *.a
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.cache config.log config.status
-
-.PHONY: info dvi doc install-info clean-info
-info doc dvi:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/v850/_exit.c b/libgloss/v850/_exit.c
deleted file mode 100644
index b45ae96..0000000
--- a/libgloss/v850/_exit.c
+++ /dev/null
@@ -1,34 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-static void _do_dtors()
-{
- /* The loop variable is static so that if a destructor calls exit,
- and we return here, we simply continue with the next destructor. */
- typedef void (*pfunc) ();
- extern pfunc __dtors[];
- extern pfunc __dtors_end[];
- static pfunc *p = __dtors;
-
- while (p < __dtors_end)
- (*p++) ();
-}
-
-
-void _exit (n)
-{
- /* Destructors should be done earlier because they need to be done before the
- files are closed, but here is better than nowhere (and this balances the
- constructors done in crt1.c. */
- _do_dtors();
-
- TRAP0 (SYS_exit, n, 0, 0);
-}
diff --git a/libgloss/v850/access.c b/libgloss/v850/access.c
deleted file mode 100644
index 980682e..0000000
--- a/libgloss/v850/access.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* This is file ACCESS.C */
-/*
- * Copyright (C) 1993 DJ Delorie
- * All rights reserved.
- *
- * Redistribution, modification, and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-int access(const char *fn, int flags)
-{
- struct stat s;
- if (stat(fn, &s))
- return -1;
- if (s.st_mode & S_IFDIR)
- return 0;
- if (flags & W_OK)
- {
- if (s.st_mode & S_IWRITE)
- return 0;
- return -1;
- }
- return 0;
-}
-
diff --git a/libgloss/v850/aclocal.m4 b/libgloss/v850/aclocal.m4
deleted file mode 100644
index 2349523..0000000
--- a/libgloss/v850/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/v850/chmod.c b/libgloss/v850/chmod.c
deleted file mode 100644
index c86e5c9..0000000
--- a/libgloss/v850/chmod.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-chmod (const char *path, mode_t mode)
-{
- return TRAP0 (SYS_chmod, path, mode, 0);
-}
diff --git a/libgloss/v850/chown.c b/libgloss/v850/chown.c
deleted file mode 100644
index 0344d77..0000000
--- a/libgloss/v850/chown.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-chown (const char *path, short owner, short group)
-{
- return TRAP0 (SYS_chown, path, owner, group);
-}
diff --git a/libgloss/v850/close.c b/libgloss/v850/close.c
deleted file mode 100644
index 3c62f68..0000000
--- a/libgloss/v850/close.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_close (int file)
-{
- return TRAP0 (SYS_close, file, 0, 0);
-}
diff --git a/libgloss/v850/configure b/libgloss/v850/configure
deleted file mode 100644
index c573667..0000000
--- a/libgloss/v850/configure
+++ /dev/null
@@ -1,3975 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell bug-autoconf@gnu.org about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
- { (exit 1); exit 1; }; } ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.63
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
-done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTION]... [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.63,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { $as_echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=' '
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
- { (exit 1); exit 1; }; }
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- ac_file_inputs="$ac_file_inputs '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
- ;;
-
-
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/libgloss/v850/configure.in b/libgloss/v850/configure.in
deleted file mode 100644
index 04169f1..0000000
--- a/libgloss/v850/configure.in
+++ /dev/null
@@ -1,55 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_CONFIG_FILES(Makefile,
-. ${libgloss_topdir}/config-ml.in,
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
diff --git a/libgloss/v850/creat.c b/libgloss/v850/creat.c
deleted file mode 100644
index 8d468a6..0000000
--- a/libgloss/v850/creat.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-creat (const char *path,
- int mode)
-{
- return TRAP0 (SYS_creat, path, mode, 0);
-}
diff --git a/libgloss/v850/crt0.S b/libgloss/v850/crt0.S
deleted file mode 100644
index c9c93e7..0000000
--- a/libgloss/v850/crt0.S
+++ /dev/null
@@ -1,82 +0,0 @@
-# NEC V850 startup code
-
- .section .text
- .global _start
-
-_start:
-
-#if defined(__v850e__) || defined(__v850e2__) || defined(__v850e2v3__) || defined(__v850e3v5__)
-
- movea 255, r0, r20
- mov 65535, r21
- mov hilo(_stack), sp
- mov hilo(__ep), ep
- mov hilo(__gp), gp
- mov hilo(__ctbp), r6
- ldsr r6, ctbp
-#if defined(__v850e2v3__) || defined(__v850e3v5__)
- // FPU enable
- stsr psw, r6
- movhi 1, r0, r7
- or r7, r6
- ldsr r6, psw
- // Initialize the FPSR
- movhi 2, r0, r6
- ldsr r6, fpsr
-#endif
- mov hilo(_edata), r6
- mov hilo(_end), r7
-.L0:
- st.w r0, 0[r6]
- addi 4, r6, r6
- cmp r7, r6
- bl .L0
-.L1:
- jarl ___main, r31
- addi -16, sp, sp
- mov 0, r6
- mov 0, r7
- mov 0, r8
- jarl _main, r31
- mov r10, r6
- jarl _exit, r31
-
-# else
- movea 255, r0, r20
- mov r0, r21
- ori 65535, r0, r21
- movhi hi(_stack), r0, sp
- movea lo(_stack), sp, sp
- movhi hi(__ep), r0, ep
- movea lo(__ep), ep, ep
- movhi hi(__gp), r0, gp
- movea lo(__gp), gp, gp
-
- movhi hi(_edata), r0, r6
- movea lo(_edata), r6, r6
- movhi hi(_end), r0, r7
- movea lo(_end), r7, r7
-.L0:
- st.b r0, 0[r6]
- addi 1, r6, r6
- cmp r7, r6
- bl .L0
-.L1:
- jarl ___main, r31
- addi -16, sp, sp
- mov 0, r6
- mov 0, r7
- mov 0, r8
- jarl _main, r31
- mov r10, r6
- jarl _exit, r31
-# endif
-
- .section .stack
-_stack: .long 1
-
- .section .data
- .global ___dso_handle
- .weak ___dso_handle
-___dso_handle:
- .long 0
diff --git a/libgloss/v850/crt1.c b/libgloss/v850/crt1.c
deleted file mode 100644
index dd0be31..0000000
--- a/libgloss/v850/crt1.c
+++ /dev/null
@@ -1,16 +0,0 @@
-void __main ()
-{
- static int initialized;
- if (! initialized)
- {
- typedef void (*pfunc) ();
- extern pfunc __ctors[];
- extern pfunc __ctors_end[];
- pfunc *p;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
- }
-}
diff --git a/libgloss/v850/execv.c b/libgloss/v850/execv.c
deleted file mode 100644
index 5286be6..0000000
--- a/libgloss/v850/execv.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-execv (const char *path, char *const argv[])
-{
- return TRAP0 (SYS_execv, path, argv, 0);
-}
diff --git a/libgloss/v850/execve.c b/libgloss/v850/execve.c
deleted file mode 100644
index b8d97f9..0000000
--- a/libgloss/v850/execve.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_execve (const char *path, char *const argv[], char *const envp[])
-{
- return TRAP0 (SYS_execve, path, argv, envp);
-}
diff --git a/libgloss/v850/fork.c b/libgloss/v850/fork.c
deleted file mode 100644
index 116116c..0000000
--- a/libgloss/v850/fork.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_fork ()
-{
- return TRAP0 (SYS_fork, 0, 0, 0);
-}
diff --git a/libgloss/v850/fstat.c b/libgloss/v850/fstat.c
deleted file mode 100644
index e8783b3..0000000
--- a/libgloss/v850/fstat.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_fstat (int file,
- struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
diff --git a/libgloss/v850/getpid.c b/libgloss/v850/getpid.c
deleted file mode 100644
index 18fd149..0000000
--- a/libgloss/v850/getpid.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-_getpid (n)
-{
- return 1;
-}
diff --git a/libgloss/v850/gettime.c b/libgloss/v850/gettime.c
deleted file mode 100644
index fc47532..0000000
--- a/libgloss/v850/gettime.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-#include "sys/time.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_gettimeofday (struct timeval *tp, void *tzp)
-{
- return TRAP0 (SYS_gettimeofday, tp, tzp, 0);
-}
diff --git a/libgloss/v850/isatty.c b/libgloss/v850/isatty.c
deleted file mode 100644
index 95d2c0e..0000000
--- a/libgloss/v850/isatty.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-_isatty (fd)
- int fd;
-{
- return 1;
-}
diff --git a/libgloss/v850/kill.c b/libgloss/v850/kill.c
deleted file mode 100644
index b8e5395..0000000
--- a/libgloss/v850/kill.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-#include <reent.h>
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-_kill (pid, sig)
- pid_t pid;
- int sig;
-{
- return TRAP0 (SYS_exit, 0xdead0000 | sig, 0, 0);
-}
-
diff --git a/libgloss/v850/link.c b/libgloss/v850/link.c
deleted file mode 100644
index 9776d79..0000000
--- a/libgloss/v850/link.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_link ()
-{
- return -1;
-}
diff --git a/libgloss/v850/lseek.c b/libgloss/v850/lseek.c
deleted file mode 100644
index b5d3ef0..0000000
--- a/libgloss/v850/lseek.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_lseek (int file,
- int ptr,
- int dir)
-{
- return TRAP0 (SYS_lseek, file, ptr, dir);
-}
diff --git a/libgloss/v850/open.c b/libgloss/v850/open.c
deleted file mode 100644
index 96616e5..0000000
--- a/libgloss/v850/open.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_open (const char *path,
- int flags)
-{
- return TRAP0 (SYS_open, path, flags, 0);
-}
diff --git a/libgloss/v850/pipe.c b/libgloss/v850/pipe.c
deleted file mode 100644
index 494a99e..0000000
--- a/libgloss/v850/pipe.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-pipe (int *fd)
-{
- return TRAP0 (SYS_pipe, fd, 0, 0);
-}
diff --git a/libgloss/v850/read.c b/libgloss/v850/read.c
deleted file mode 100644
index ec064cb..0000000
--- a/libgloss/v850/read.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-_read (int file,
- char *ptr,
- int len)
-{
- return TRAP0 (SYS_read, file, ptr, len);
-}
diff --git a/libgloss/v850/sbrk.c b/libgloss/v850/sbrk.c
deleted file mode 100644
index 248a092..0000000
--- a/libgloss/v850/sbrk.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-caddr_t
-_sbrk (int incr)
-{
- extern char heap_start[]; /* Defined by the linker script. */
- static char * heap_end = NULL;
- char * prev_heap_end;
- char * sp = (char *) & sp;
-
- if (heap_end == NULL)
- heap_end = heap_start;
-
- prev_heap_end = heap_end;
-
- if (heap_end + incr > sp)
- {
-#define MESSAGE "Heap and stack collision\n"
- _write (1, MESSAGE, sizeof MESSAGE);
- abort ();
- }
-
- heap_end += incr;
-
- return (caddr_t) prev_heap_end;
-}
diff --git a/libgloss/v850/sim.ld b/libgloss/v850/sim.ld
deleted file mode 100644
index 8f6649a..0000000
--- a/libgloss/v850/sim.ld
+++ /dev/null
@@ -1,201 +0,0 @@
-/* Default linker script, for normal executables */
-OUTPUT_FORMAT("elf32-v850", "elf32-v850",
- "elf32-v850")
-OUTPUT_ARCH(v850)
-ENTRY(_start)
-GROUP(-lc -lsim -lgcc)
-SEARCH_DIR(.);
-EXTERN(__ctbp __ep __gp);
-SECTIONS
-{
- /* This saves a little space in the ELF file, since the zda starts
- at a higher location that the ELF headers take up. */
- .zdata 0x160 :
- {
- *(.zdata)
- *(.zbss)
- *(reszdata)
- *(.zcommon)
- }
- /* This is the read only part of the zero data area.
- Having it as a seperate section prevents its
- attributes from being inherited by the zdata
- section. Specifically it prevents the zdata
- section from being marked READONLY. */
- .rozdata ALIGN (4) :
- {
- *(.rozdata)
- *(romzdata)
- *(romzbss)
- }
- /* Read-only sections, merged into text segment. */
- . = 0x100000;
- .interp : { *(.interp) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
- .rel.text : { *(.rel.text) }
- .rela.text : { *(.rela.text) }
- .rel.data : { *(.rel.data) }
- .rela.data : { *(.rela.data) }
- .rel.rodata : { *(.rel.rodata) }
- .rela.rodata : { *(.rela.rodata) }
- .rel.gcc_except_table : { *(.rel.gcc_except_table) }
- .rela.gcc_except_table : { *(.rela.gcc_except_table) }
- .rel.got : { *(.rel.got) }
- .rela.got : { *(.rela.got) }
- .rel.ctors : { *(.rel.ctors) }
- .rela.ctors : { *(.rela.ctors) }
- .rel.dtors : { *(.rel.dtors) }
- .rela.dtors : { *(.rela.dtors) }
- .rel.init : { *(.rel.init) }
- .rela.init : { *(.rela.init) }
- .rel.fini : { *(.rel.fini) }
- .rela.fini : { *(.rela.fini) }
- .rel.bss : { *(.rel.bss) }
- .rela.bss : { *(.rela.bss) }
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
- .init : { KEEP (*(.init)) } =0
- .plt : { *(.plt) }
- .text :
- {
- *(.text)
- *(.text.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t*)
- } =0
- _etext = .;
- PROVIDE (etext = .);
- /* This is special code area at the end of the normal text section.
- It contains a small lookup table at the start followed by the
- code pointed to by entries in the lookup table. */
- .call_table_data ALIGN (4) :
- {
- PROVIDE(__ctbp = .);
- *(.call_table_data)
- } = 0xff /* Fill gaps with 0xff. */
- .call_table_text :
- {
- *(.call_table_text)
- }
- .fini : { KEEP (*(.fini)) } =0
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) }
- .rodata1 : { *(.rodata1) }
- .data :
- {
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d*)
- CONSTRUCTORS
- }
- .data1 : { *(.data1) }
- .ctors :
- {
- ___ctors = .;
- KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*crtend(.ctors))
- ___ctors_end = .;
- }
- .dtors :
- {
- ___dtors = .;
- KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*crtend.o(.dtors))
- ___dtors_end = .;
- }
- .jcr :
- {
- KEEP (*(.jcr))
- }
- .gcc_except_table : { *(.gcc_except_table) }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- .tdata ALIGN (4) :
- {
- PROVIDE (__ep = .);
- *(.tbyte)
- *(.tcommon_byte)
- *(.tdata)
- *(.tbss)
- *(.tcommon)
- }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata ALIGN (4) :
- {
- PROVIDE (__gp = . + 0x8000);
- *(.sdata)
- }
- /* See comment about .rozdata. */
- .rosdata ALIGN (4) :
- {
- *(.rosdata)
- }
- /* We place the .sbss data section AFTER the .rosdata section, so that
- it can directly preceed the .bss section. This allows runtime startup
- code to initialise all the zero-data sections by simply taking the
- value of '_edata' and zeroing until it reaches '_end'. */
- .sbss :
- {
- __sbss_start = .;
- *(.sbss)
- *(.scommon)
- }
- _edata = DEFINED (__sbss_start) ? __sbss_start : . ;
- PROVIDE (edata = _edata);
- .bss :
- {
- __bss_start = DEFINED (__sbss_start) ? __sbss_start : . ;
- __real_bss_start = . ;
- *(.dynbss)
- *(.bss)
- *(COMMON)
- }
- _end = . ;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions. */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* User stack. */
- .stack 0x200000 :
- {
- __stack = .;
- *(.stack)
- }
-}
-
diff --git a/libgloss/v850/stat.c b/libgloss/v850/stat.c
deleted file mode 100644
index dc8351e..0000000
--- a/libgloss/v850/stat.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_stat (const char *path, struct stat *st)
-
-{
- return TRAP0 (SYS_stat, path, st, 0);
-}
diff --git a/libgloss/v850/sys/syscall.h b/libgloss/v850/sys/syscall.h
deleted file mode 100644
index 7eff786..0000000
--- a/libgloss/v850/sys/syscall.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef _SYS_SYSCALL_H_
-#define _SYS_SYSCALL_H_
-
-/* Note: This file may be included by assembler source. */
-
-#define SYS_exit 1
-#define SYS_fork 2
-
-#define SYS_read 3
-#define SYS_write 4
-#define SYS_open 5
-#define SYS_close 6
-#define SYS_wait4 7
-#define SYS_creat 8
-#define SYS_link 9
-#define SYS_unlink 10
-#define SYS_execv 11
-#define SYS_chdir 12
-#define SYS_mknod 14
-#define SYS_chmod 15
-#define SYS_chown 16
-#define SYS_lseek 19
-#define SYS_getpid 20
-#define SYS_isatty 21
-#define SYS_fstat 22
-#define SYS_time 23
-
-
-#define SYS_ARG 24
-#define SYS_stat 38
-
-
-#define SYS_pipe 42
-#define SYS_execve 59
-#define SYS_times 43
-#define SYS_gettimeofday 116
-#define SYS_rename 134
-
-#define SYS_utime 201 /* not really a system call */
-#define SYS_wait 202 /* nor is this */
-
-#endif
diff --git a/libgloss/v850/time.c b/libgloss/v850/time.c
deleted file mode 100644
index d0dc93f..0000000
--- a/libgloss/v850/time.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-time_t
-time (time_t *tloc)
-{
- return TRAP0 (SYS_time, tloc, 0, 0);
-}
diff --git a/libgloss/v850/times.c b/libgloss/v850/times.c
deleted file mode 100644
index a558267..0000000
--- a/libgloss/v850/times.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-#include "sys/times.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-clock_t
-_times (struct tms *buffer)
-{
- return TRAP0 (SYS_times, buffer, 0, 0);
-}
diff --git a/libgloss/v850/trap.S b/libgloss/v850/trap.S
deleted file mode 100644
index 9955572..0000000
--- a/libgloss/v850/trap.S
+++ /dev/null
@@ -1,10 +0,0 @@
- .text
- .global ___trap0
-___trap0:
- trap 31
- tst r10,r10
- bz .L0
- movhi hi(_errno),r0,r6
- st.w r10,lo(_errno)[r6]
-.L0:
- jmp [r31]
diff --git a/libgloss/v850/unlink.c b/libgloss/v850/unlink.c
deleted file mode 100644
index c6261d3..0000000
--- a/libgloss/v850/unlink.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_unlink ()
-{
- return -1;
-}
diff --git a/libgloss/v850/utime.c b/libgloss/v850/utime.c
deleted file mode 100644
index ea1f789..0000000
--- a/libgloss/v850/utime.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-utime (path, times)
- const char *path;
- char *times;
-{
- return TRAP0 (SYS_utime, path, times, 0);
-}
diff --git a/libgloss/v850/wait.c b/libgloss/v850/wait.c
deleted file mode 100644
index d8c96f0..0000000
--- a/libgloss/v850/wait.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_wait (statusp)
- int *statusp;
-{
- return TRAP0 (SYS_wait, 0, 0, 0);
-}
diff --git a/libgloss/v850/write.c b/libgloss/v850/write.c
deleted file mode 100644
index 136ac9e..0000000
--- a/libgloss/v850/write.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 (int function, int p1, int p2, int p3);
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (int)(p1), (int)(p2), (int)(p3))
-
-int
-_write ( int file,
- char *ptr,
- int len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}
diff --git a/libgloss/wince/Makefile.am b/libgloss/wince/Makefile.am
deleted file mode 100644
index acb72b8..0000000
--- a/libgloss/wince/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-## Process this file with automake to produce Makefile.in.
-
-AUTOMAKE_OPTIONS = cygnus
-
-gdbdir = ${dir ${patsubst %/,%,${dir @srcdir@}}}gdb
-VPATH = $(gdbdir)
-bin_PROGRAMS = stub.exe
-stub_exe_SOURCES = wince-stub.c
-
-tooldir = $(exec_prefix)/$(host_alias)
-INCLUDES = -I$(gdbdir)
-LDADD = @LDADD@
diff --git a/libgloss/wince/Makefile.in b/libgloss/wince/Makefile.in
deleted file mode 100644
index e0d428a..0000000
--- a/libgloss/wince/Makefile.in
+++ /dev/null
@@ -1,332 +0,0 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
-
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-SHELL = @SHELL@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = .
-
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_alias = @build_alias@
-build_triplet = @build@
-host_alias = @host_alias@
-host_triplet = @host@
-target_alias = @target_alias@
-target_triplet = @target@
-CC = @CC@
-EXEEXT = @EXEEXT@
-LD = @LD@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-AUTOMAKE_OPTIONS = cygnus
-
-gdbdir = ${dir ${patsubst %/,%,${dir @srcdir@}}}gdb
-VPATH = $(gdbdir)
-bin_PROGRAMS = stub.exe
-stub_exe_SOURCES = wince-stub.c
-
-tooldir = $(exec_prefix)/$(host_alias)
-INCLUDES = -I$(gdbdir)
-LDADD = @LDADD@
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
-CONFIG_CLEAN_FILES =
-bin_PROGRAMS = stub.exe
-PROGRAMS = $(bin_PROGRAMS)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir)
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-stub_exe_OBJECTS = wince-stub.o
-stub_exe_LDADD = $(LDADD)
-stub_exe_DEPENDENCIES =
-stub_exe_LDFLAGS =
-CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = gtar
-GZIP_ENV = --best
-SOURCES = $(stub_exe_SOURCES)
-OBJECTS = $(stub_exe_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .o .s
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
-
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
- cd $(srcdir) && $(ACLOCAL)
-
-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
- cd $(srcdir) && $(AUTOCONF)
-
-mostlyclean-binPROGRAMS:
-
-clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-
-distclean-binPROGRAMS:
-
-maintainer-clean-binPROGRAMS:
-
-install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(bindir)
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- if test -f $$p; then \
- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- else :; fi; \
- done
-
-uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- list='$(bin_PROGRAMS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- done
-
-.c.o:
- $(COMPILE) -c $<
-
-.s.o:
- $(COMPILE) -c $<
-
-.S.o:
- $(COMPILE) -c $<
-
-mostlyclean-compile:
- -rm -f *.o core *.core
-
-clean-compile:
-
-distclean-compile:
- -rm -f *.tab.c
-
-maintainer-clean-compile:
-
-stub.exe: $(stub_exe_OBJECTS) $(stub_exe_DEPENDENCIES)
- @rm -f stub.exe
- $(LINK) $(stub_exe_LDFLAGS) $(stub_exe_OBJECTS) $(stub_exe_LDADD) $(LIBS)
-
-tags: TAGS
-
-ID: $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- here=`pwd` && cd $(srcdir) \
- && mkid -f$$here/ID $$unique $(LISP)
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
-
-mostlyclean-tags:
-
-clean-tags:
-
-distclean-tags:
- -rm -f TAGS ID
-
-maintainer-clean-tags:
-
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-
-# This target untars the dist file and tries a VPATH configuration. Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
- -rm -rf $(distdir)
- GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
- mkdir $(distdir)/=build
- mkdir $(distdir)/=inst
- dc_install_base=`cd $(distdir)/=inst && pwd`; \
- cd $(distdir)/=build \
- && ../configure --srcdir=.. --prefix=$$dc_install_base \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) dist
- -rm -rf $(distdir)
- @banner="$(distdir).tar.gz is ready for distribution"; \
- dashes=`echo "$$banner" | sed s/./=/g`; \
- echo "$$dashes"; \
- echo "$$banner"; \
- echo "$$dashes"
-dist: distdir
- -chmod -R a+r $(distdir)
- GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
- -rm -rf $(distdir)
-dist-all: distdir
- -chmod -R a+r $(distdir)
- GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
- -rm -rf $(distdir)
-distdir: $(DISTFILES)
- -rm -rf $(distdir)
- mkdir $(distdir)
- -chmod 777 $(distdir)
- @for file in $(DISTFILES); do \
- if test -f $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- cp -pr $$/$$file $(distdir)/$$file; \
- else \
- test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
- || cp -p $$d/$$file $(distdir)/$$file || :; \
- fi; \
- done
-info-am:
-info: info-am
-dvi-am:
-dvi: dvi-am
-check-am:
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-install-info-am:
-install-info: install-info-am
-install-exec-am: install-binPROGRAMS
-install-exec: install-exec-am
-
-install-data-am:
-install-data: install-data-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am: uninstall-binPROGRAMS
-uninstall: uninstall-am
-all-am: Makefile $(PROGRAMS)
-all-redirect: all-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs:
- $(mkinstalldirs) $(DESTDIR)$(bindir)
-
-
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
- -rm -f config.cache config.log stamp-h stamp-h[0-9]*
-
-maintainer-clean-generic:
-mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
- mostlyclean-tags mostlyclean-generic
-
-mostlyclean: mostlyclean-am
-
-clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
- mostlyclean-am
-
-clean: clean-am
-
-distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
- distclean-generic clean-am
-
-distclean: distclean-am
- -rm -f config.status
-
-maintainer-clean-am: maintainer-clean-binPROGRAMS \
- maintainer-clean-compile maintainer-clean-tags \
- maintainer-clean-generic distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
-
-maintainer-clean: maintainer-clean-am
- -rm -f config.status
-
-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
-mostlyclean-compile distclean-compile clean-compile \
-maintainer-clean-compile tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
-check-am installcheck-am installcheck install-info-am install-info \
-install-exec-am install-exec install-data-am install-data install-am \
-install uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/libgloss/wince/aclocal.m4 b/libgloss/wince/aclocal.m4
deleted file mode 100644
index 183ae66..0000000
--- a/libgloss/wince/aclocal.m4
+++ /dev/null
@@ -1,880 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.9.5])])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-])
-])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $1 | $1:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-AC_SUBST(install_sh)])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
-# From Jim Meyering
-
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-AC_DEFUN([AM_MAINTAINER_MODE],
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- dnl maintainer-mode is disabled by default
- AC_ARG_ENABLE(maintainer-mode,
-[ --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer],
- USE_MAINTAINER_MODE=$enableval,
- USE_MAINTAINER_MODE=no)
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
- MAINT=$MAINTAINER_MODE_TRUE
- AC_SUBST(MAINT)dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-#
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-# concurrently, both version can detect that a/ is missing, but only
-# one can create it and the other will error out. Consequently we
-# restrict ourselves to GNU make (using the --version option ensures
-# this.)
-AC_DEFUN([AM_PROG_MKDIR_P],
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-AC_SUBST([mkdir_p])])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# ------------------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
-m4_if([$1], [v7],
- [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/wince/configure b/libgloss/wince/configure
deleted file mode 100755
index 5b8d67f..0000000
--- a/libgloss/wince/configure
+++ /dev/null
@@ -1,4181 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="Makefile.in"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CYGPATH_W
-PACKAGE
-VERSION
-ACLOCAL
-AUTOCONF
-AUTOMAKE
-AUTOHEADER
-MAKEINFO
-install_sh
-STRIP
-INSTALL_STRIP_PROGRAM
-mkdir_p
-AWK
-SET_MAKE
-am__leading_dot
-AMTAR
-am__tar
-am__untar
-MAINTAINER_MODE_TRUE
-MAINTAINER_MODE_FALSE
-MAINT
-CC
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-LD
-LDADD
-CCAS
-CCASFLAGS
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files=''
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-am__api_version="1.9"
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&5
-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
-Check your system clock" >&5
-echo "$as_me: error: newly created file is older than distributed files!
-Check your system clock" >&2;}
- { (exit 1); exit 1; }; }
-fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AWK="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { echo "$as_me:$LINENO: result: $AWK" >&5
-echo "${ECHO_T}$AWK" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- SET_MAKE=
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE=wince-stub
- VERSION=1.0
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { echo "$as_me:$LINENO: result: $STRIP" >&5
-echo "${ECHO_T}$STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility.
-
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-
-
-
-
-
-{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
-echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
-echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
-
-
-if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
-
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-
-cross_compiling=yes
-program_transform_name=s,^,@target_alias@-,;
-
-: ${CFLAGS='-O2'}
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ld; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_LD+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$LD"; then
- ac_cv_prog_LD="$LD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_LD="${ac_tool_prefix}ld"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-LD=$ac_cv_prog_LD
-if test -n "$LD"; then
- { echo "$as_me:$LINENO: result: $LD" >&5
-echo "${ECHO_T}$LD" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_LD"; then
- ac_ct_LD=$LD
- # Extract the first word of "ld", so it can be a program name with args.
-set dummy ld; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_LD"; then
- ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_LD="ld"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_LD=$ac_cv_prog_ac_ct_LD
-if test -n "$ac_ct_LD"; then
- { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
-echo "${ECHO_T}$ac_ct_LD" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_LD" = x; then
- LD="ld"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- LD=$ac_ct_LD
- fi
-else
- LD="$ac_cv_prog_LD"
-fi
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-case "${target}" in
- *arm*-*-*) LDADD='-lwinsock -lsslsock' ;;
- *) LDADD='-lwinsock'
-esac
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-#
-# The following is sort of a kludge but we *know* that we need
-# an executable extension and, currently, the sh-pe-gcc compiler
-# doesn't play well with configure, so, set a "cache" entry.
-#
-: ${ac_cv_exeext='.exe'}
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CYGPATH_W!$CYGPATH_W$ac_delim
-PACKAGE!$PACKAGE$ac_delim
-VERSION!$VERSION$ac_delim
-ACLOCAL!$ACLOCAL$ac_delim
-AUTOCONF!$AUTOCONF$ac_delim
-AUTOMAKE!$AUTOMAKE$ac_delim
-AUTOHEADER!$AUTOHEADER$ac_delim
-MAKEINFO!$MAKEINFO$ac_delim
-install_sh!$install_sh$ac_delim
-STRIP!$STRIP$ac_delim
-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
-mkdir_p!$mkdir_p$ac_delim
-AWK!$AWK$ac_delim
-SET_MAKE!$SET_MAKE$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-AMTAR!$AMTAR$ac_delim
-am__tar!$am__tar$ac_delim
-am__untar!$am__untar$ac_delim
-MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
-MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
-MAINT!$MAINT$ac_delim
-CC!$CC$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-LD!$LD$ac_delim
-LDADD!$LDADD$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/wince/configure.in b/libgloss/wince/configure.in
deleted file mode 100644
index fd57254..0000000
--- a/libgloss/wince/configure.in
+++ /dev/null
@@ -1,34 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.59)
-
-AC_INIT(Makefile.in)
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-AM_INIT_AUTOMAKE(wince-stub, 1.0)
-AM_MAINTAINER_MODE
-
-cross_compiling=yes
-program_transform_name=s,^,@target_alias@-,;
-
-: ${CFLAGS='-O2'}
-LIB_AC_PROG_CC
-# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain"
-AC_CHECK_TOOL(LD, ld, ld)
-AC_SUBST(LD)
-AC_PROG_INSTALL
-case "${target}" in
- *arm*-*-*) LDADD='-lwinsock -lsslsock' ;;
- *) LDADD='-lwinsock'
-esac
-AC_SUBST(LDADD)
-LIB_AM_PROG_AS
-#
-# The following is sort of a kludge but we *know* that we need
-# an executable extension and, currently, the sh-pe-gcc compiler
-# doesn't play well with configure, so, set a "cache" entry.
-#
-: ${ac_cv_exeext='.exe'}
-AC_EXEEXT
-
-AC_OUTPUT([Makefile])
diff --git a/libgloss/write.c b/libgloss/write.c
deleted file mode 100644
index 292a68e..0000000
--- a/libgloss/write.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* write.c -- write bytes to an output device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-extern int _EXFUN (outbyte, (char x));
-
-/*
- * write -- write bytes to the serial port. Ignore fd, since
- * stdout and stderr are the same. Since we have no filesystem,
- * open will only return an error.
- */
-int
-_DEFUN (write, (fd, buf, nbytes),
- int fd _AND
- char *buf _AND
- int nbytes)
-{
- int i;
-
- for (i = 0; i < nbytes; i++) {
- if (*(buf + i) == '\n') {
- outbyte ('\r');
- }
- outbyte (*(buf + i));
- }
- return (nbytes);
-}
diff --git a/libgloss/xc16x/Makefile.in b/libgloss/xc16x/Makefile.in
deleted file mode 100644
index 885cf13..0000000
--- a/libgloss/xc16x/Makefile.in
+++ /dev/null
@@ -1,145 +0,0 @@
-#
-# Copyright (C) 2006 KPIT Cummins
-# Copyright (C) 2009 Conny Marco Menebröcker
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms is permitted
-# provided that the above copyright notice and following paragraph are
-# duplicated in all such forms.
-#
-# This file is distributed WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-
-DESTDIR =
-VPATH = @srcdir@
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-MULTIDO = true
-MULTICLEAN = true
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-#AS = @AS@
-AS = `if [ -f ${objroot}/../gas/as.new ] ; \
- then echo ${objroot}/../gas/as.new ; \
- else echo as ; fi`
-
-AR = @AR@
-
-#LD = @LD@
-LD = `if [ -f ${objroot}/../ld/ld.new ] ; \
- then echo ${objroot}/../ld/ld.new ; \
- else echo ld ; fi`
-
-RANLIB = @RANLIB@
-
-OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
- then echo ${objroot}/../binutils/objdump ; \
- else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
-OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
- then echo ${objroot}/../binutils/objcopy ; \
- else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-
-CRT0 = crt0.o
-
-# Generic object files common to all targets.
-GENOBJS_NO_TRAP = close.o create.o crt0.o fstat.o getchar1.o \
- isatty.o lseek.o mem-layout.o misc.o open.o \
- read.o sbrk.o syscalls.o write.o
-GENOBJS = ${GENOBJS_NO_TRAP} trap_handle.o
-
-# Object files specific to particular targets.
-EVALOBJS = ${GENOBJS}
-CYGMONOBJS = ${GENOBJS_NO_TRAP}
-
-CFLAGS = -g
-
-GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \
- then echo -L${objroot}/../gcc ; fi`
-
-SCRIPTS = @script_list@
-BSP = @bsp_list@
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-
-all: ${CRT0} ${BSP}
-
-#
-# here's where we build the board support packages for each target
-#
-
-libeval.a: $(EVALOBJS)
- ${AR} ${ARFLAGS} $@ $(EVALOBJS)
- ${RANLIB} $@
-
-libcygmon.a: $(CYGMONOBJS)
- ${AR} ${ARFLAGS} $@ $(CYGMONOBJS)
- ${RANLIB} $@
-
-
-doc:
-
-clean mostlyclean:
- rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status a.out
-
-.PHONY: install info install-info clean-info
-install:
- @for crt in ${CRT0}; do \
- $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
- done
- @for bsp in ${BSP}; do \
- $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
- done
- @for script in ${SCRIPTS}; do \
- $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${script}.ld; \
- done
-
-info:
-install-info:
-clean-info:
-
-# these are for the BSPs
-crt0.o: ${srcdir}/crt0.S
-
-# target specific makefile fragment comes in here.
-@target_makefile_frag@
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/xc16x/aclocal.m4 b/libgloss/xc16x/aclocal.m4
deleted file mode 100644
index 2d4f5ac..0000000
--- a/libgloss/xc16x/aclocal.m4
+++ /dev/null
@@ -1,404 +0,0 @@
-# generated automatically by aclocal 1.11 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/xc16x/close.S b/libgloss/xc16x/close.S
deleted file mode 100644
index 9b2f76f..0000000
--- a/libgloss/xc16x/close.S
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-.section .text
-.global __close
-__close:
-#ifdef __xc16xL__
-rets
-#else
-ret
-#endif
diff --git a/libgloss/xc16x/configure b/libgloss/xc16x/configure
deleted file mode 100755
index 0882037..0000000
--- a/libgloss/xc16x/configure
+++ /dev/null
@@ -1,3992 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell bug-autoconf@gnu.org about your system,
- echo including any error possibly output before this message.
- echo This can help us improve future autoconf versions.
- echo Configuration will now proceed without shell functions.
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.S"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-bsp_list
-script_list
-part_specific_obj
-target_makefile_frag_path
-host_makefile_frag_path
-CCASFLAGS
-CCAS
-RANLIB
-LD
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-am__leading_dot
-CC
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_os
-target_vendor
-target_cpu
-target
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files='host_makefile_frag
-target_makefile_frag'
-ac_user_opts='
-enable_option_checking
-enable_dependency_tracking
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
- { (exit 1); exit 1; }; }
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { $as_echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
- { (exit 1); exit 1; }; } ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { $as_echo "$as_me: error: working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.63
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- ac_site_file1=$CONFIG_SITE
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test -r "$ac_site_file"; then
- { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-ac_aux_dir=
-for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
-$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ $as_echo "$as_me:$LINENO: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-$as_echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-$as_echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:$LINENO: checking target system type" >&5
-$as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-$as_echo "$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-$as_echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
-done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/xc16x.mt
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-target_makefile_frag_path=$target_makefile_frag
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.63. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTION]... [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.63,
- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { $as_echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- $as_echo "$as_me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
- ac_cs_awk_getline=:
- ac_cs_awk_pipe_init=
- ac_cs_awk_read_file='
- while ((getline aline < (F[key])) > 0)
- print(aline)
- close(F[key])'
- ac_cs_awk_pipe_fini=
-else
- ac_cs_awk_getline=false
- ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
- ac_cs_awk_read_file='
- print "|#_!!_#|"
- print "cat " F[key] " &&"
- '$ac_cs_awk_pipe_init
- # The final `:' finishes the AND list.
- ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
-fi
-ac_cr=' '
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
-_ACEOF
-
-# Create commands to substitute file output variables.
-{
- echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
- echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
- echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
- echo "_ACAWK" &&
- echo "_ACEOF"
-} >conf$$files.sh &&
-. ./conf$$files.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-rm -f conf$$files.sh
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\).*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\).*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- \$ac_cs_awk_pipe_init
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- if (nfields == 3 && !substed) {
- key = field[2]
- if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
- \$ac_cs_awk_read_file
- next
- }
- }
- print line
-}
-\$ac_cs_awk_pipe_fini
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
- || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-$as_echo "$as_me: error: could not setup config files machinery" >&2;}
- { (exit 1); exit 1; }; }
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
-$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- ac_file_inputs="$ac_file_inputs '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin" \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
-if $ac_cs_awk_getline; then
- $AWK -f "$tmp/subs.awk"
-else
- $AWK -f "$tmp/subs.awk" | $SHELL
-fi >$tmp/out \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out" && rm -f "$tmp/out";;
- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
- esac \
- || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-$as_echo "$as_me: error: could not create $ac_file" >&2;}
- { (exit 1); exit 1; }; }
- ;;
-
-
- :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
- "Makefile":F) if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-
diff --git a/libgloss/xc16x/configure.in b/libgloss/xc16x/configure.in
deleted file mode 100644
index 40ecfea..0000000
--- a/libgloss/xc16x/configure.in
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# Copyright (C) 2006 KPIT Cummins
-# Copyright (C) 2009 Conny Marco Menebröcker
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms is permitted
-# provided that the above copyright notice and following paragraph are
-# duplicated in all such forms.
-#
-# This file is distributed WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-#
-# Process this file with autoconf to produce a configure script.
-#
-AC_PREREQ(2.59)
-AC_INIT(crt0.S)
-
-if test "${enable_shared}" = "yes" ; then
- echo "Shared libraries not supported for cross compiling, ignored"
-fi
-
-if test "$srcdir" = "." ; then
- if test "${with_target_subdir}" != "." ; then
- libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
- else
- libgloss_topdir="${srcdir}/${with_multisrctop}../.."
- fi
-else
- libgloss_topdir="${srcdir}/../.."
-fi
-AC_CONFIG_AUX_DIR($libgloss_topdir)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-target_makefile_frag=${srcdir}/../config/xc16x.mt
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-target_makefile_frag_path=$target_makefile_frag
-AC_SUBST(target_makefile_frag_path)
-AC_SUBST_FILE(target_makefile_frag)
-AC_SUBST(part_specific_obj)
-AC_SUBST(script_list)
-AC_SUBST(bsp_list)
-
-AC_CONFIG_FILES([Makefile],
-[if test -n "$CONFIG_FILES"; then
- unset ac_file
- . ${libgloss_topdir}/config-ml.in
-fi],
-srcdir=${srcdir}
-target=${target}
-with_multisubdir=${with_multisubdir}
-ac_configure_args="${ac_configure_args} --enable-multilib"
-CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-libgloss_topdir=${libgloss_topdir}
-)
-AC_OUTPUT
-
-
diff --git a/libgloss/xc16x/create.c b/libgloss/xc16x/create.c
deleted file mode 100644
index 33f4e0b..0000000
--- a/libgloss/xc16x/create.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include<sys/stat.h>
-#include<sys/types.h>
-/*volatile int creatsys(char *name,int perms)
-{
- #ifndef __xc16xL__
- asm volatile("push r10\n"
- " mov r10,r9 \n"
- " mov r9,#0x300 \n"
- );
-
- #endif
-
-asm volatile("trap #7");
-#ifndef __xc16xL__
-asm volatile("pop r10");
-#endif
-}
-*/
-volatile int _creat(char *name,int perms)
-{
- int temp;
-
- temp=creatsys(name,perms);
-// putchar((char)temp);
-//printf("%d\n",temp);
-return temp;
-}
diff --git a/libgloss/xc16x/crt0.S b/libgloss/xc16x/crt0.S
deleted file mode 100644
index 0186f47..0000000
--- a/libgloss/xc16x/crt0.S
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
- .section .text
- .global _start
- .align 2
-_start:
- #if __xc16xL__
- mov dpp0,#0x2
- #else
- mov dpp0,#0x300
- #endif
- mov dpp1,#1
- mov dpp2,#2
- mov dpp3,#3
- mov sp,#0xfc00
- mov r0,#0xc000
- #if __xc16x__
- mov csp,#0x0
- mov dpp0,#0x0
- #else
- mov csp,#0xc0
- #endif
-
-#if __xc16xL__
-calls #SEG:_main,#SOF:_main
-#else
-calla cc_UC,_main
-#endif
- mov r8,#0x0
- trap #0
-ret
diff --git a/libgloss/xc16x/fstat.S b/libgloss/xc16x/fstat.S
deleted file mode 100644
index 292303e..0000000
--- a/libgloss/xc16x/fstat.S
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-.section .text
-.global __fstat
-__fstat:
-#ifdef __xc16xL__
-rets
-#else
-ret
-#endif
diff --git a/libgloss/xc16x/getchar1.c b/libgloss/xc16x/getchar1.c
deleted file mode 100644
index 4ba5959..0000000
--- a/libgloss/xc16x/getchar1.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-signed char getchar (void)
-{
-
- asm(" trap #2");
-
-}
-
diff --git a/libgloss/xc16x/isatty.c b/libgloss/xc16x/isatty.c
deleted file mode 100644
index 30e6a53..0000000
--- a/libgloss/xc16x/isatty.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-/* isatty.c */
-
-/* Dumb implementation so programs will at least run. */
-
-#include <sys/stat.h>
-
-int
-isatty (int fd)
-{
-
-
-
- return 1;
-}
diff --git a/libgloss/xc16x/lseek.c b/libgloss/xc16x/lseek.c
deleted file mode 100644
index ff3057d..0000000
--- a/libgloss/xc16x/lseek.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include <sys/types.h>
-#include <sys/stat.h>
-
-
-int
-_lseek (int file, int ptr, int dir)
-{
- return trap_lseek (file,(unsigned long)ptr, dir);
-}
diff --git a/libgloss/xc16x/mem-layout.c b/libgloss/xc16x/mem-layout.c
deleted file mode 100644
index 4619ed2..0000000
--- a/libgloss/xc16x/mem-layout.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-/* Ideally this kind of stuff is specified in a linker script. It's not clear
- what the default linker script should do, so for now we have this. */
-
-#ifndef STACK_SIZE
-/* Cache lines recycle at 4096 I think, and 4096 is listed as the page size,
- so we make the stack size a multiple of it. Not that it's relevant or
- anything, but why not base it on *something*? */
-#define STACK_SIZE (4096 * 4)
-#endif
-
-int stack_size asm ("stack_size") = STACK_SIZE;
-
-#ifndef SBRK_SIZE
-#define SBRK_SIZE (4096 * 32)
-#endif
-
-int sbrk_size asm ("sbrk_size") = SBRK_SIZE;
diff --git a/libgloss/xc16x/misc.c b/libgloss/xc16x/misc.c
deleted file mode 100644
index 786db36..0000000
--- a/libgloss/xc16x/misc.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-/* _raise(), getpid(), and kill() are required by abort().
- getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES. */
-
-int _DEFUN(_raise,(sig),
- int sig)
-{
- errno = ENOSYS;
- return -1;
-}
-
-int _DEFUN(_getpid,(),)
-{
- errno = ENOSYS;
- return -1;
-}
-
-int _DEFUN(_kill,(pid, sig),
- int pid _AND
- int sig)
-{
- errno = ENOSYS;
- return -1;
-}
diff --git a/libgloss/xc16x/open.c b/libgloss/xc16x/open.c
deleted file mode 100644
index 4dd0d07..0000000
--- a/libgloss/xc16x/open.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include<sys/types.h>
-#include<sys/stat.h>
-/*volatile int opensys(char *name,int flags,int perms)
-{
- #ifndef __xc16xL__
- asm volatile("push r11\n"
- "mov r11,r10 \n"
- " mov r10,r9 \n"
- " mov r9,#0x300 \n"
- );
-
- #endif
-
-asm volatile("trap #5");
-#ifndef __xc16xL__
-asm volatile("pop r11");
-#endif
-}*/
-
-int _open(char *name,int flags,int perms)
-{
- int temp;
-
- temp=opensys(name,flags,perms);
-return temp;
-}
diff --git a/libgloss/xc16x/read.c b/libgloss/xc16x/read.c
deleted file mode 100644
index b117af9..0000000
--- a/libgloss/xc16x/read.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include<sys/types.h>
-#include<sys/stat.h>
-
-/*int trap1(int file, unsigned long ptr,int len)
-{
- asm volatile("TRAP #4");
-
-}*/
-
-int _read(int file, char *ptr,int len)
-{
-
- return trap1(file,(unsigned long)ptr,1);
-
-}
-
-
diff --git a/libgloss/xc16x/sbrk.c b/libgloss/xc16x/sbrk.c
deleted file mode 100644
index deb2df2..0000000
--- a/libgloss/xc16x/sbrk.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
- char *stack_ptr ;
-
-caddr_t
- _sbrk(incr)
- int incr;
-{
- extern char end; /* Defined by the linker */
- static char *heap_end=&end;
- char *prev_heap_end;
-
-
-
- prev_heap_end = heap_end;
-
-
- heap_end += incr;
- return (caddr_t)prev_heap_end;
-}
-
diff --git a/libgloss/xc16x/sys/syscall.h b/libgloss/xc16x/sys/syscall.h
deleted file mode 100644
index 8b13789..0000000
--- a/libgloss/xc16x/sys/syscall.h
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/libgloss/xc16x/syscalls.c b/libgloss/xc16x/syscalls.c
deleted file mode 100644
index 03b6368..0000000
--- a/libgloss/xc16x/syscalls.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/syscall.h>
-#include <_ansi.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <stdarg.h>
-#include <reent.h>
-
-
-
-void _exit(int n)
-{
-asm volatile("trap #0");
-}
-
-int isatty(file)
- int file;
-{
- return 1;
-}
diff --git a/libgloss/xc16x/trap_handle.c b/libgloss/xc16x/trap_handle.c
deleted file mode 100644
index 899cdc2..0000000
--- a/libgloss/xc16x/trap_handle.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-int trap0(int file, unsigned long ptr,int len)
-{
-asm volatile("TRAP #3");
-return len;
-}
-
-
-int trap1(int file, unsigned long ptr,int len)
-{
- asm volatile("TRAP #4");
-
-}
-
-int trap_lseek(int file, unsigned long ptr,int len)
-{
- asm volatile("TRAP #8");
-
-}
-
-
-
-volatile int opensys(char *name,int flags,int perms)
-{
- #ifndef __xc16xL__
- asm volatile("push r11\n"
- "mov r11,r10 \n"
- " mov r10,r9 \n"
- " mov r9,#0x300 \n"
- );
-
- #endif
-
-asm volatile("trap #5");
-#ifndef __xc16xL__
-asm volatile("pop r11");
-#endif
-}
-
-volatile int creatsys(char *name,int perms)
-{
- #ifndef __xc16xL__
- asm volatile("push r10\n"
- " mov r10,r9 \n"
- " mov r9,#0x300 \n"
- );
-
- #endif
-
-asm volatile("trap #7");
-#ifndef __xc16xL__
-asm volatile("pop r10");
-#endif
-}
-
-
diff --git a/libgloss/xc16x/write.c b/libgloss/xc16x/write.c
deleted file mode 100644
index 10b1b55..0000000
--- a/libgloss/xc16x/write.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (C) 2006 KPIT Cummins
- * Copyright (C) 2009 Conny Marco Menebröcker
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms is permitted
- * provided that the above copyright notice and following paragraph are
- * duplicated in all such forms.
- *
- * This file is distributed WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-#include<sys/types.h>
-#include<sys/stat.h>
-
-/*int trap0(int file, unsigned long ptr,int len)
-{
-asm volatile("TRAP #3");
-return len;
-}
-*/
-int _write(int file, char *ptr,int len)
-{
- return trap0(file,(unsigned long)ptr,len);
-}
diff --git a/libgloss/xstormy16/Makefile.in b/libgloss/xstormy16/Makefile.in
deleted file mode 100644
index eddd9d2..0000000
--- a/libgloss/xstormy16/Makefile.in
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-#
-
-DESTDIR =
-VPATH = @srcdir@ @srcdir@/..
-srcdir = @srcdir@
-objdir = .
-srcroot = $(srcdir)/../..
-objroot = $(objdir)/../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-
-bindir = @bindir@
-libdir = @libdir@
-tooldir = $(exec_prefix)/$(target_alias)
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-
-# Multilib support variables.
-# TOP is used instead of MULTI{BUILD,SRC}TOP.
-MULTIDIRS =
-MULTISUBDIR =
-
-SHELL = /bin/sh
-
-CC = @CC@
-
-AS = @AS@
-AR = @AR@
-LD = @LD@
-RANLIB = @RANLIB@
-
-# Yuk.
-OBJCOPY = $(subst ranlib,objcopy,$(RANLIB))
-
-OBJS = isatty.o
-CFLAGS = -g -O2
-ASFLAGS = --gdwarf2
-SCRIPTS =
-CRT = crt0.o crti.o crtn.o
-
-# Here is all of the simulator stuff
-SIM_SCRIPTS = sim_high.ld sim_rom.ld
-SIM_LDFLAGS =
-SIM_BSP = libsim.a
-SIM_OBJS = syscalls.o sim_malloc_start.o
-
-# Here is stuff for building apps for GDB on the EVA board
-EVA_APP_BSP = libeva_app.a
-EVA_APP_OBJS = close.o fstat.o getpid.o kill.o lseek.o open.o \
- stat.o unlink.o eva_app.o
-EVA_APP_SCRIPTS = eva_app.ld
-
-# Stub stuff
-EVA_STUB_HEX = eva_stub.hex
-EVA_STUB = eva_stub.elf
-EVA_STUB_OBJS = xstormy16_stub.o crt0_stub.o
-
-# Host specific makefile fragment comes in here.
-@host_makefile_frag@
-
-#
-# build a test program for each target board. Just trying to get
-# it to link is a good test, so we ignore all the errors for now.
-#
-# all: ${MON_CRT0} ${MON_BSP}
-all: ${CRT} ${SIM_BSP} ${EVA_APP_BSP} ${EVA_STUB_HEX}
-
-#
-# here's where we build the board support packages for each target
-#
-${SIM_BSP}: ${OBJS} ${SIM_OBJS}
- ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS}
- ${RANLIB} ${SIM_BSP}
-
-${EVA_APP_BSP}: ${OBJS} ${EVA_APP_OBJS}
- ${AR} ${ARFLAGS} ${EVA_APP_BSP} ${EVA_APP_OBJS} ${OBJS}
- ${RANLIB} ${EVA_APP_BSP}
-
-${EVA_STUB_HEX}: ${EVA_STUB}
- ${OBJCOPY} -O ihex $< $@
-
-${EVA_STUB}: ${EVA_STUB_OBJS} ${srcdir}/eva_stub.ld
- ${CC} -g -Os -nostartfiles -T${srcdir}/eva_stub.ld ${EVA_STUB_OBJS} -o $@
-
-
-#
-# here's where we build the test programs for each target
-#
-.PHONY: test
-test:
- true
-
-#
-#
-#
-.c.S:
- ${CC} ${CFLAGS_FOR_TARGET} -c $<
-
-clean mostlyclean:
- rm -f a.out core *.i *.o *-test *.srec *.dis *.x *.hex $(SIM_BSP) $(EVA_APP_BSP) $(EVA_STUB)
-
-distclean maintainer-clean realclean: clean
- rm -f Makefile config.status *~
-
-.PHONY: install info install-info clean-info
-install:
- set -e; for x in ${SIM_BSP} ${CRT} ${EVA_APP_BSP} ${EVA_STUB_HEX} ${EVA_STUB} ; do\
- ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
- done
- @for script in ${SCRIPTS} ${SIM_SCRIPTS} ${EVA_APP_SCRIPTS}; do\
- ${INSTALL_DATA} ${srcdir}/$${script} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$${script}; \
- done
-
-
-doc:
-info:
-install-info:
-clean-info:
-
-Makefile: Makefile.in config.status @host_makefile_frag_path@
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
diff --git a/libgloss/xstormy16/aclocal.m4 b/libgloss/xstormy16/aclocal.m4
deleted file mode 100644
index b6cdfae..0000000
--- a/libgloss/xstormy16/aclocal.m4
+++ /dev/null
@@ -1,344 +0,0 @@
-# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 3
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-m4_include([../acinclude.m4])
diff --git a/libgloss/xstormy16/close.c b/libgloss/xstormy16/close.c
deleted file mode 100644
index 5fcfbf5..0000000
--- a/libgloss/xstormy16/close.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* close.c -- close a file descriptor.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * close -- We don't need to do anything, but pretend we did.
- */
-int
-_DEFUN (_close ,(fd),
- int fd)
-{
- return (0);
-}
diff --git a/libgloss/xstormy16/configure b/libgloss/xstormy16/configure
deleted file mode 100755
index 0edd344..0000000
--- a/libgloss/xstormy16/configure
+++ /dev/null
@@ -1,3777 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test "x$CONFIG_SHELL" = x; then
- if (eval ":") 2>/dev/null; then
- as_have_required=yes
-else
- as_have_required=no
-fi
-
- if test $as_have_required = yes && (eval ":
-(as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=\$LINENO
- as_lineno_2=\$LINENO
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
- :
-else
- as_candidate_shells=
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- case $as_dir in
- /*)
- for as_base in sh bash ksh sh5; do
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- done;;
- esac
-done
-IFS=$as_save_IFS
-
-
- for as_shell in $as_candidate_shells $SHELL; do
- # Try only shells that exist, to save several forks.
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
- CONFIG_SHELL=$as_shell
- as_have_required=yes
- if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
- (exit $1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
- break
-fi
-
-fi
-
- done
-
- if test "x$CONFIG_SHELL" != x; then
- for as_var in BASH_ENV ENV
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- done
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
-fi
-
-
- if test $as_have_required = no; then
- echo This script requires a shell more modern than all the
- echo shells that I found on your system. Please install a
- echo modern shell, or manually run the script under such a
- echo shell if you do have one.
- { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval "as_func_return () {
- (exit \$1)
-}
-as_func_success () {
- as_func_return 0
-}
-as_func_failure () {
- as_func_return 1
-}
-as_func_ret_success () {
- return 0
-}
-as_func_ret_failure () {
- return 1
-}
-
-exitcode=0
-if as_func_success; then
- :
-else
- exitcode=1
- echo as_func_success failed.
-fi
-
-if as_func_failure; then
- exitcode=1
- echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
- :
-else
- exitcode=1
- echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
- exitcode=1
- echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- :
-else
- exitcode=1
- echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0") || {
- echo No shell found that supports shell functions.
- echo Please tell autoconf@gnu.org about your system,
- echo including any error possibly output before this
- echo message
-}
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-
-exec 7<&0 </dev/null 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
-
-ac_unique_file="crt0.s"
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-target
-target_cpu
-target_vendor
-target_os
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-CC
-am__leading_dot
-DEPDIR
-am__include
-am__quote
-AMDEP_TRUE
-AMDEP_FALSE
-AMDEPBACKSLASH
-CCDEPMODE
-am__fastdepCC_TRUE
-am__fastdepCC_FALSE
-AS
-AR
-LD
-RANLIB
-CCAS
-CCASFLAGS
-host_makefile_frag_path
-LIBOBJS
-LTLIBOBJS'
-ac_subst_files='host_makefile_frag'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
- eval enable_$ac_feature=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
- eval with_$ac_package=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute directory names.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; }
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- { echo "$as_me: error: Working directory cannot be determined" >&2
- { (exit 1); exit 1; }; }
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- { echo "$as_me: error: pwd does not report name of working directory" >&2
- { (exit 1); exit 1; }; }
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- { (exit 1); exit 1; }; }
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
- --target=TARGET configure for building compilers for TARGET [HOST]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" || continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-configure
-generated by GNU Autoconf 2.61
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args '$ac_arg'"
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -n "$CONFIG_SITE"; then
- set x "$CONFIG_SITE"
-elif test "x$prefix" != xNONE; then
- set x "$prefix/share/config.site" "$prefix/etc/config.site"
-else
- set x "$ac_default_prefix/share/config.site" \
- "$ac_default_prefix/etc/config.site"
-fi
-shift
-for ac_site_file
-do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
- { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit 1; }; }
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-{ echo "$as_me:$LINENO: checking target system type" >&5
-echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
-if test "${ac_cv_target+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test "x$target_alias" = x; then
- ac_cv_target=$ac_cv_host
-else
- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
- { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
-echo "${ECHO_T}$ac_cv_target" >&6; }
-case $ac_cv_target in
-*-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
-echo "$as_me: error: invalid value of canonical target" >&2;}
- { (exit 1); exit 1; }; };;
-esac
-target=$ac_cv_target
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_target
-shift
-target_cpu=$1
-target_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-target_os=$*
-IFS=$ac_save_IFS
-case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
-
-
-# The aliases save the names the user supplied, while $host etc.
-# will get canonicalized.
-test -n "$target_alias" &&
- test "$program_prefix$program_suffix$program_transform_name" = \
- NONENONEs,x,x, &&
- program_prefix=${target_alias}-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
-
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
- ac_aux_dir=
-for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-else
- ac_aux_dir=
-for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-
-
-if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
-
-
-if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
-echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
-echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- CFLAGS=""
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- :
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_prog_cc_g=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-AS=${AS-as}
-
-AR=${AR-ar}
-
-LD=${LD-ld}
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { echo "$as_me:$LINENO: result: $RANLIB" >&5
-echo "${ECHO_T}$RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-host_makefile_frag_path=$host_makefile_frag
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- *) $as_unset $ac_var ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- test "x$cache_file" != "x/dev/null" &&
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
- cat confcache >$cache_file
- else
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
-fi
-
-
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- { (exit 1); exit 1; }
-fi
-
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line after each line using $LINENO; the second 'sed'
- # does the real work. The second script uses 'N' to pair each
- # line-number line with the line containing $LINENO, and appends
- # trailing '-' during substitution so that $LINENO is not a special
- # case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # scripts with optimization help from Paolo Bonzini. Blame Lee
- # E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
- case `echo 'x\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- *) ECHO_C='\c';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir
-fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-
-# Save the log message, to keep $[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by $as_me, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- -q, --quiet do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to <bug-autoconf@gnu.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-config.status
-configured by $0, generated by GNU Autoconf 2.61,
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2006 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value. By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- echo "$ac_cs_version"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; } ;;
-
- *) ac_config_targets="$ac_config_targets $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- CONFIG_SHELL=$SHELL
- export CONFIG_SHELL
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- { (exit 1); exit 1; }; };;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp=
- trap 'exit_status=$?
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
-' 0
- trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} ||
-{
- echo "$me: cannot create a temporary directory in ." >&2
- { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-
-_ACEOF
-
-# Create sed commands to just substitute file output variables.
-
-# Remaining file output variables are in a fragment that also has non-file
-# output varibles.
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-target!$target$ac_delim
-target_cpu!$target_cpu$ac_delim
-target_vendor!$target_vendor$ac_delim
-target_os!$target_os$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-CC!$CC$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-DEPDIR!$DEPDIR$ac_delim
-am__include!$am__include$ac_delim
-am__quote!$am__quote$ac_delim
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
-CCDEPMODE!$CCDEPMODE$ac_delim
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-AS!$AS$ac_delim
-AR!$AR$ac_delim
-LD!$LD$ac_delim
-RANLIB!$RANLIB$ac_delim
-CCAS!$CCAS$ac_delim
-CCASFLAGS!$CCASFLAGS$ac_delim
-host_makefile_frag_path!$host_makefile_frag_path$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
-
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
- break
- elif $ac_last_try; then
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- { (exit 1); exit 1; }; }
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-/^[ ]*@host_makefile_frag@[ ]*$/{
-r $host_makefile_frag
-d
-}
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[ ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-fi # test -n "$CONFIG_FILES"
-
-
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- { (exit 1); exit 1; }; };;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- { (exit 1); exit 1; }; };;
- esac
- ac_file_inputs="$ac_file_inputs $ac_f"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input="Generated from "`IFS=:
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
- fi
-
- case $ac_tag in
- *:-:* | *:-) cat >"$tmp/stdin";;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir="$ac_dir"
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
- sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-$ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined." >&2;}
-
- rm -f "$tmp/stdin"
- case $ac_file in
- -) cat "$tmp/out"; rm -f "$tmp/out";;
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- esac
- ;;
-
-
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
-echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- { as_dir=$dirpart/$fdir
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
- { (exit 1); exit 1; }; }; }
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
- ;;
-
- esac
-done # for ac_tag
-
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/libgloss/xstormy16/configure.in b/libgloss/xstormy16/configure.in
deleted file mode 100644
index d7d5e3b..0000000
--- a/libgloss/xstormy16/configure.in
+++ /dev/null
@@ -1,38 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(crt0.s)
-
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
-if test "$srcdir" = "." ; then
- mdir=`echo "${with_multisubdir}/" \
- | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'`
- AC_CONFIG_AUX_DIR(${mdir}../../..)
-else
- AC_CONFIG_AUX_DIR(${srcdir}/../..)
-fi
-
-AC_PROG_INSTALL
-
-LIB_AC_PROG_CC
-AS=${AS-as}
-AC_SUBST(AS)
-AR=${AR-ar}
-AC_SUBST(AR)
-LD=${LD-ld}
-AC_SUBST(LD)
-AC_PROG_RANLIB
-LIB_AM_PROG_AS
-
-host_makefile_frag=${srcdir}/../config/default.mh
-
-dnl We have to assign the same value to other variables because autoconf
-dnl doesn't provide a mechanism to substitute a replacement keyword with
-dnl arbitrary data or pathnames.
-dnl
-host_makefile_frag_path=$host_makefile_frag
-AC_SUBST(host_makefile_frag_path)
-AC_SUBST_FILE(host_makefile_frag)
-
-AC_OUTPUT(Makefile)
diff --git a/libgloss/xstormy16/crt0.s b/libgloss/xstormy16/crt0.s
deleted file mode 100644
index f8adb98..0000000
--- a/libgloss/xstormy16/crt0.s
+++ /dev/null
@@ -1,114 +0,0 @@
-# XSTORMY16 startup code
-
-# Interrupt vectors at 0x8000.
- .section .int_vec,"ax"
- .global _start
- .align 1
-_start:
- ;; Reset, watchdog timer interrupt
- jmpf _int_reset
- ;; base timer interrupt
- jmpf _int_basetimer
- ;; timer 0
- jmpf _int_timer0
- ;; timer 1
- jmpf _int_timer1
- ;; SIO0 interrupt
- jmpf _int_sio0
- ;; SIO1 interrupt
- jmpf _int_sio1
- ;; port0 interrupt
- jmpf _int_port0
- ;; port1 interrupt
- jmpf _int_port1
-
-# Reset code, set up memory and call main.
- .section .rodata
-2: .word __rdata
- .text
-_int_reset:
- ;; Set up the stack pointer.
- mov r0,#__stack
- bz r0,#0,0f
- mov sp,r0
-0:
- ;; Zero the data space
- mov r0,#_edata
- mov r1,#_end
- mov r2,#0
-0: mov.w (r0++),r2
- blt r0,r1,0b
-
- ;; Copy data from ROM into RAM. ROM area may be above 64k,
- ;; but RAM may not.
- mov r1,#__data
- mov r3,#_edata
- mov r4,#2b
- mov.w r0,(r4++)
- mov.w r2,(r4)
- mov r8,r2
- ;; If _data == _rdata there's no need to copy anything.
- bnz r0,r1,0f
- bz r2,#0,1f
-0: movf.w r2,(r0++)
- bnz r0,#0,2f
- add r8,#1
-2: mov.w (r1++),r2
- blt r1,r3,0b
-1:
- ;; Call hardware init routine
- callf _hwinit
- ;; Call initialization routines
- callf _init
- ;; Set up fini routines to be called from exit
- mov r2,#@fptr(_fini)
- callf atexit
- ;; Call main() with empty argc/argv/envp
- mov r2,#0
- mov r3,#0
- mov r4,#0
- callf main
- ;; Exit.
- callf exit
- ;; Should never reach this code.
- halt
-1: .size _int_reset,1b-_int_reset
-
-# Stub interrupt routines.
- .globl _int_timer0
- .weak _int_timer0
- .globl _int_timer1
- .weak _int_timer1
- .globl _int_sio0
- .weak _int_sio0
- .globl _int_sio1
- .weak _int_sio1
- .globl _int_port0
- .weak _int_port0
- .globl _int_port1
- .weak _int_port1
- .globl _int_basetimer
- .weak _int_basetimer
-_int_timer0:
-_int_timer1:
-_int_sio0:
-_int_sio1:
-_int_port0:
-_int_port1:
-_int_basetimer:
- iret
-1: .size _int_timer0,1b-_int_timer0
-
-# Stub hardware init
- .globl _hwinit
- .weak _hwinit
-_hwinit:
- ret
-1: .size _hwinit,1b-_hwinit
-
-# The first word in .data has address 0, so it's not a good
-# idea to use it as its address conflicts with NULL.
-# Place a HALT instruction there to try to catch NULL pointer
-# dereferences.
- .data
- halt
diff --git a/libgloss/xstormy16/crt0_stub.s b/libgloss/xstormy16/crt0_stub.s
deleted file mode 100644
index 14ec471..0000000
--- a/libgloss/xstormy16/crt0_stub.s
+++ /dev/null
@@ -1,151 +0,0 @@
-# XSTORMY16 startup code for GDB stub.
-
-# CPU Data for Sanyo EVA debugger at 0x7F00
- .section .cpudata,"ax"
- .byte 0x00,0x02,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x44,0x35,0x39,0x52,0x30,0x30,0x30,0x30,0x2E,0x4F,0x50,0x54,0x00,0x00,0x00,0x00
- .byte 0x4c,0x43,0x35,0x39,0x52,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x80,0x00,0x20,0x48,0x00,0x00,0x00
- .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x20,0x01,0x12,0x31,0x23,0x59
-
-# Interrupt vectors at 0x8000.
- .section .int_vec,"ax"
- .global _start
- .align 1
-_start:
- ;; Reset, watchdog timer interrupt
- jmpf _int_reset
- ;; base timer interrupt
- jmpf _int_basetimer
- ;; timer 0
- jmpf _int_timer0
- ;; timer 1
- jmpf _int_timer1
- ;; SIO0 interrupt
- jmpf _int_sio0
- ;; SIO1 interrupt
- jmpf _int_sio1
- ;; port0 interrupt
- jmpf _int_port0
- ;; port1 interrupt
- jmpf _int_port1
-
- .org 0x80
- ;; sys interrupt (0x8080)
- jmpf _int_sys
-
- ;; Application void write(char *buf, int nbytes)
- ;; This jmps to a stub function to packetize the buf for GDB
- jmpf gdb_write
- ;; Application int read(char *buf, int nbytes)
- jmpf gdb_read
-
- .text
-# Reset code, set up memory and call main.
-_int_reset:
- ;; Set up the application stack pointer.
- mov sp,#0x002
-
- ;; Zero the data space
- mov r0,#_edata
- mov r1,#_end
- mov r2,#0
-0: mov.w (r0++),r2
- blt r0,r1,0b
-
- ;; Init the UART
- callf uart_init
-
- ;; Turn on illegal insn trap
- mov r0,r14
- set1 r0,#11
- mov r14,r0
- mov.b 0x7f08,#0x11
- mov.b 0x7f09,#0x10
-
- ;; "breakpoint" sends us into stub.
-0:
- .hword 0x0006
- br 0b
-
-_int_sys:
- push r13
- mov r13,#registers
- mov.w (r13++),r0
- mov.w (r13++),r1
- mov.w (r13++),r2
- mov.w (r13++),r3
- mov.w (r13++),r4
- mov.w (r13++),r5
- mov.w (r13++),r6
- mov.w (r13++),r7
- mov r0,r8
- mov.w (r13++),r0
- mov r0,r9
- mov.w (r13++),r0
- mov r0,r10
- mov.w (r13++),r0
- mov r0,r11
- mov.w (r13++),r0
- mov r0,r12
- mov.w (r13++),r0
- pop r0
- mov.w (r13++),r0 ; R13
- pop r0
- mov.w (r13++),r0 ; PSW
- mov r0,r15
- sub r0,#4
- mov.w (r13++),r0 ; SP
- pop r0
- pop r1
- mov.w (r13++),r1 ; PCL
- mov.w (r13++),r0 ; PCH
-
- ;; switch to stub stack and invoke stub
- mov sp,#0x700
- callf handle_exception
-
- mov r0,#registers+34
- mov.w r1,(r0) ; PCH
- mov.w r2,(--r0) ; PCL
- mov.w r3,(--r0) ; SP
- mov r15,r3
- push r2
- push r1
- mov.w r1,(--r0) ; PSW
- push r1
- mov.w r1,(--r0)
- mov r13,r1
- mov.w r1,(--r0)
- mov r12,r1
- mov.w r1,(--r0)
- mov r11,r1
- mov.w r1,(--r0)
- mov r10,r1
- mov.w r1,(--r0)
- mov r9,r1
- mov.w r1,(--r0)
- mov r8,r1
- mov.w r7,(--r0)
- mov.w r6,(--r0)
- mov.w r5,(--r0)
- mov.w r4,(--r0)
- mov.w r3,(--r0)
- mov.w r2,(--r0)
- mov.w r1,(--r0)
- mov.w r0,(--r0)
- iret
-1: .size _int_sys,1b-_int_sys
-
-
diff --git a/libgloss/xstormy16/crti.s b/libgloss/xstormy16/crti.s
deleted file mode 100644
index 3713ba3..0000000
--- a/libgloss/xstormy16/crti.s
+++ /dev/null
@@ -1,9 +0,0 @@
- .section .init,"ax"
- .align 1
- .globl _init
-_init:
-
- .section .fini,"ax"
- .align 1
- .globl _fini
-_fini:
diff --git a/libgloss/xstormy16/crtn.s b/libgloss/xstormy16/crtn.s
deleted file mode 100644
index 22d71b8..0000000
--- a/libgloss/xstormy16/crtn.s
+++ /dev/null
@@ -1,5 +0,0 @@
- .section .init,"ax"
- ret
-
- .section .fini,"ax"
- ret
diff --git a/libgloss/xstormy16/eva_app.c b/libgloss/xstormy16/eva_app.c
deleted file mode 100644
index f6069fc..0000000
--- a/libgloss/xstormy16/eva_app.c
+++ /dev/null
@@ -1,78 +0,0 @@
-/* eva_app.c -- Glue code for linking apps to run under GDB debugger control.
- *
- * Copyright (c) 2001 Red Hat, Inc.
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-typedef void (*write_proc_t)(char *buf, int nbytes);
-typedef int (*read_proc_t)(char *buf, int nbytes);
-
-/* There is no "syscall", so we just call directly into the stub code
- at fixed addresses. */
-#define STUB_WRITE(p,n) ((write_proc_t)0x8084)((p),(n))
-#define STUB_READ(p,n) ((read_proc_t)0x8088)((p),(n))
-
-/*
- * print -- do a raw print of a string
- */
-void
-print(char *ptr)
-{
- STUB_WRITE(ptr, strlen(ptr));
-}
-
-/*
- * write -- write bytes to the serial port. Ignore fd, since
- * stdout and stderr are the same. Since we have no filesystem,
- * open will only return an error.
- */
-int
-_write (int fd, char *buf, int nbytes)
-{
- STUB_WRITE(buf, nbytes);
- return (nbytes);
-}
-
-int
-_read (int fd, char *buf, int nbytes)
-{
- return STUB_READ(buf, nbytes);
-}
-
-extern char _end[];
-#define HEAP_LIMIT ((char *)0xffff)
-
-void *
-_sbrk(int inc)
-{
- static char *heap_ptr = _end;
- void *base;
-
- if (inc > (HEAP_LIMIT - heap_ptr))
- return (void *)-1;
-
- base = heap_ptr;
- heap_ptr += inc;
-
- return base;
-}
-
-void
-_exit(int n)
-{
- while (1)
- {
- asm volatile ("nop");
- asm volatile (".hword 0x0006"); /* breakpoint (special illegal insn) */
- }
-}
diff --git a/libgloss/xstormy16/eva_app.ld b/libgloss/xstormy16/eva_app.ld
deleted file mode 100644
index f4ee258..0000000
--- a/libgloss/xstormy16/eva_app.ld
+++ /dev/null
@@ -1,133 +0,0 @@
-OUTPUT_FORMAT("elf32-xstormy16", "elf32-xstormy16",
- "elf32-xstormy16")
-OUTPUT_ARCH(xstormy16)
-ENTRY(_start)
-GROUP(-lc -leva_app -lgcc)
-
-MEMORY
-{
- RAM (w) : ORIGIN = 0x9000, LENGTH = 0x7000
- ROM (!w) : ORIGIN = 0x10000, LENGTH = 0x70000
-}
-
-SECTIONS
-{
- __stack = 2 ;
- __malloc_start = 0x800;
- .data :
- {
- __rdata = .;
- __data = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } > RAM
- /* Read-only sections */
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } > RAM
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } > RAM
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > RAM
- .eh_frame : { KEEP (*(.eh_frame)) } > RAM
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } > RAM
- .jcr : { *(.jcr) } > RAM
- .plt : { *(.plt) } > RAM
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(2);
- } > RAM
- . = ALIGN(2);
- _end = .;
- PROVIDE (end = .);
- .text :
- {
- *(.int_vec)
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } > ROM =0
- .init :
- {
- KEEP (*(.init))
- } > ROM =0
- .fini :
- {
- KEEP (*(.fini))
- } > ROM =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/xstormy16/eva_stub.ld b/libgloss/xstormy16/eva_stub.ld
deleted file mode 100644
index a7d63b3..0000000
--- a/libgloss/xstormy16/eva_stub.ld
+++ /dev/null
@@ -1,142 +0,0 @@
-OUTPUT_FORMAT("elf32-xstormy16", "elf32-xstormy16",
- "elf32-xstormy16")
-OUTPUT_ARCH(xstormy16)
-ENTRY(_start)
-
-MEMORY
-{
- CPUDATA (!w) : ORIGIN = 0x7F00, LENGTH = 0x100
- ROM (w) : ORIGIN = 0x8000, LENGTH = 0x1000
-}
-
-/* Point interrupt vectors to user application. */
-PROVIDE (_int_basetimer = 0x10004);
-PROVIDE (_int_timer0 = 0x10008);
-PROVIDE (_int_timer1 = 0x1000C);
-PROVIDE (_int_sio0 = 0x10010);
-PROVIDE (_int_sio1 = 0x10014);
-PROVIDE (_int_port0 = 0x10018);
-PROVIDE (_int_port1 = 0x1001C);
-
-SECTIONS
-{
- /* CPU data for Sanyo debugger */
- .cpudata : { KEEP (*(.cpudata)) } > CPUDATA
- /* Read-only sections in ROM. */
- .int_vec : { *(.int_vec) } > ROM
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } > ROM
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } > ROM
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
- .eh_frame : { KEEP (*(.eh_frame)) } > ROM
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } > ROM
- .jcr : { *(.jcr) } > ROM
- .plt : { *(.plt) } > ROM
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } > ROM =0
- .init :
- {
- KEEP (*(.init))
- } > ROM =0
- .fini :
- {
- KEEP (*(.fini))
- } > ROM =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- .data :
- {
- __data = .;
- __rdata = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } > ROM
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(2);
- } > ROM
- . = ALIGN(2);
- _end = .;
- PROVIDE (end = .);
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/xstormy16/fstat.c b/libgloss/xstormy16/fstat.c
deleted file mode 100644
index 982d578..0000000
--- a/libgloss/xstormy16/fstat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* fstat.c -- get status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include "glue.h"
-
-/*
- * fstat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_fstat, (fd, buf),
- int fd _AND
- struct stat *buf)
-{
- buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
- buf->st_blksize = 0;
-
- return (0);
-}
diff --git a/libgloss/xstormy16/getpid.c b/libgloss/xstormy16/getpid.c
deleted file mode 100644
index 0f081a1..0000000
--- a/libgloss/xstormy16/getpid.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* getpid.c -- get the current process id.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * getpid -- only one process, so just return 1.
- */
-int
-_DEFUN (_getpid, (),
- )
-{
- return __MYPID;
-}
diff --git a/libgloss/xstormy16/isatty.c b/libgloss/xstormy16/isatty.c
deleted file mode 100644
index e3c3205..0000000
--- a/libgloss/xstormy16/isatty.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* isatty.c -- chek the terminal device.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * isatty -- returns 1 if connected to a terminal device,
- * returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
- */
-int
-_DEFUN (_isatty, (fd),
- int fd)
-{
- return (1);
-}
diff --git a/libgloss/xstormy16/kill.c b/libgloss/xstormy16/kill.c
deleted file mode 100644
index 0bbc014..0000000
--- a/libgloss/xstormy16/kill.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* kill.c -- remove a process.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include "glue.h"
-
-/*
- * kill -- go out via exit...
- */
-int
-_DEFUN (_kill, (pid, sig),
- int pid _AND
- int sig)
-{
- if(pid == __MYPID)
- _exit(sig);
- return 0;
-}
diff --git a/libgloss/xstormy16/lseek.c b/libgloss/xstormy16/lseek.c
deleted file mode 100644
index 640a96e..0000000
--- a/libgloss/xstormy16/lseek.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* lseek.c -- move read/write pointer.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/types.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * lseek -- Since a serial port is non-seekable, we return an error.
- */
-off_t
-_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
- int whence)
-{
- errno = ESPIPE;
- return ((off_t)-1);
-}
-
diff --git a/libgloss/xstormy16/open.c b/libgloss/xstormy16/open.c
deleted file mode 100644
index a2c318e..0000000
--- a/libgloss/xstormy16/open.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* open.c -- open a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * open -- open a file descriptor. We don't have a filesystem, so
- * we return an error.
- */
-int
-_DEFUN (_open, (buf, flags, mode),
- const char *buf _AND
- int flags _AND
- int mode)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/xstormy16/sim_high.ld b/libgloss/xstormy16/sim_high.ld
deleted file mode 100644
index a5142c5..0000000
--- a/libgloss/xstormy16/sim_high.ld
+++ /dev/null
@@ -1,135 +0,0 @@
-/* A modified version of the basic linker script, for testing purposes,
- which puts all code above 0x10000. */
-OUTPUT_FORMAT("elf32-xstormy16", "elf32-xstormy16",
- "elf32-xstormy16")
-OUTPUT_ARCH(xstormy16)
-ENTRY(_start)
- SEARCH_DIR(/es/scratch/geoffk/objs/mainline-sX/H-i686-pc-linux-gnulibc2.2/xstormy16-elf/lib);
-/* There are two memory regions we care about, one from 0 through 0x7F00
- that is RAM and one from 0x8000 up which is ROM. */
-MEMORY
-{
- RAM (w) : ORIGIN = 0, LENGTH = 0x7F00
- LOROM (!w) : ORIGIN = 0x8000, LENGTH = 0x8000
- HIROM (!w) : ORIGIN = 0x10000, LENGTH = 0xFF0000
-}
-SECTIONS
-{
- .data :
- {
- __data = .;
- __rdata = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } > RAM
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- .bss :
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(2);
- } > RAM
- . = ALIGN(2);
- __stack = .;
- _end = .;
- PROVIDE (end = .);
- /* Read-only sections in ROM. */
- .int_vec : { *(.int_vec) } > LOROM
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } > LOROM
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } > LOROM
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > LOROM
- .eh_frame : { KEEP (*(.eh_frame)) } > LOROM
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } > LOROM
- .jcr : { *(.jcr) } > LOROM
- .plt : { *(.plt) } > LOROM
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } > HIROM =0
- .init :
- {
- KEEP (*(.init))
- } > HIROM =0
- .fini :
- {
- KEEP (*(.fini))
- } > HIROM =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/xstormy16/sim_malloc_start.s b/libgloss/xstormy16/sim_malloc_start.s
deleted file mode 100644
index 143053f..0000000
--- a/libgloss/xstormy16/sim_malloc_start.s
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file just defines __malloc_start for newlib for the simulator.
-# The simulator has RAM up to the I/O area at 0x7F00.
- .globl __malloc_start
- .set __malloc_start,0x7F00
-
diff --git a/libgloss/xstormy16/sim_rom.ld b/libgloss/xstormy16/sim_rom.ld
deleted file mode 100644
index 297fbc3..0000000
--- a/libgloss/xstormy16/sim_rom.ld
+++ /dev/null
@@ -1,139 +0,0 @@
-/* Test xstormy16 programs that have initial data in ROM and copy it
- to RAM. */
-
-OUTPUT_FORMAT("elf32-xstormy16", "elf32-xstormy16",
- "elf32-xstormy16")
-OUTPUT_ARCH(xstormy16)
-ENTRY(_start)
- SEARCH_DIR(/cuddles/aph/sanyo-011113-branch/install/xstormy16-elf/lib);
-/* There are two memory regions we care about, one from 0 through 0x7F00
- that is RAM and one from 0x8000 up which is ROM. */
-MEMORY
-{
- RAM (w) : ORIGIN = 0, LENGTH = 0x7F00
- ROM (!w) : ORIGIN = 0x8000, LENGTH = 0xFF8000
-}
-SECTIONS
-{
- /* Read-only sections in ROM. */
- .int_vec : { *(.int_vec) } > ROM
- .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) } > ROM
- .ctors :
- {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- /* We don't want to include the .ctor section from
- from the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } > ROM
- .dtors :
- {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > ROM
- .jcr : { KEEP (*(.jcr)) } > ROM
- .eh_frame : { KEEP (*(.eh_frame)) } > ROM
- .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } > ROM
- .plt : { *(.plt) } > ROM
- .text :
- {
- *(.text)
- *(.text.*)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- *(.gnu.linkonce.t.*)
- } > ROM =0
- .init :
- {
- KEEP (*(.init))
- } > ROM =0
- .fini :
- {
- KEEP (*(.fini))
- } > ROM =0
- PROVIDE (__etext = .);
- PROVIDE (_etext = .);
- PROVIDE (etext = .);
- . = ALIGN(2);
- __rdata = .;
- .data : AT (__rdata)
- {
- __data = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } > RAM
- _edata = .;
- PROVIDE (edata = .);
- __bss_start = .;
- /* Why do we need to give bss an AT address at all? Because if we
- don't, ld will generate another program header for it rather than
- using the one for .data. */
- .bss : AT (LOADADDR(.data) + SIZEOF(.data))
- {
- *(.dynbss)
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- /* Align here to ensure that the .bss section occupies space up to
- _end. Align after .bss to ensure correct alignment even if the
- .bss section disappears because there are no input sections. */
- . = ALIGN(2);
- } > RAM
- . = ALIGN(2);
- _end = .;
- __stack = .;
- PROVIDE (end = .);
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/libgloss/xstormy16/stat.c b/libgloss/xstormy16/stat.c
deleted file mode 100644
index c766a34..0000000
--- a/libgloss/xstormy16/stat.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* stat.c -- Get the status of a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <sys/stat.h>
-#include <errno.h>
-#include "glue.h"
-
-/*
- * stat -- Since we have no file system, we just return an error.
- */
-int
-_DEFUN (_stat, (path, buf),
- const char *path _AND
- struct stat *buf)
-{
- errno = EIO;
- return (-1);
-}
-
diff --git a/libgloss/xstormy16/syscalls.S b/libgloss/xstormy16/syscalls.S
deleted file mode 100644
index 8f4175f..0000000
--- a/libgloss/xstormy16/syscalls.S
+++ /dev/null
@@ -1,162 +0,0 @@
-# xstormy16 system calls for the simulator
-
-#include <syscall.h>
-
- .text
-
- .globl _exit
-_exit:
- mov r1,#SYS_exit
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size exit,0b-_exit
-
- .globl _open
-_open:
- mov r1,#SYS_open
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size open,0b-_open
-
- .globl _close
-_close:
- mov r1,#SYS_close
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size close,0b-_close
-
- .globl _read
-_read:
- mov r1,#SYS_read
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size read,0b-_read
-
- .globl _write
-_write:
- mov r1,#SYS_write
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size write,0b-_write
-
- .globl _lseek
-_lseek:
- mov r1,#SYS_lseek
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size lseek,0b-_lseek
-
- .globl _unlink
-_unlink:
- mov r1,#SYS_unlink
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size unlink,0b-_unlink
-
- .globl _getpid
-_getpid:
- mov r1,#SYS_getpid
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size getpid,0b-_getpid
-
- .globl _kill
-_kill:
- mov r1,#SYS_kill
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size kill,0b-_kill
-
- .globl _fstat
-_fstat:
- mov r1,#SYS_fstat
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size fstat,0b-_fstat
-
- .globl _chdir
-_chdir:
- mov r1,#SYS_chdir
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size chdir,0b-_chdir
-
- .globl _stat
-_stat:
- mov r1,#SYS_stat
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size stat,0b-_stat
-
- .globl _chmod
-_chmod:
- mov r1,#SYS_chmod
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size chmod,0b-_chmod
-
- .globl _utime
-_utime:
- mov r1,#SYS_utime
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size utime,0b-_utime
-
- .globl _time
-_time:
- mov r1,#SYS_time
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size time,0b-_time
-
- .globl _gettimeofday
-_gettimeofday:
- mov r1,#SYS_gettimeofday
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size gettimeofday,0b-_gettimeofday
-
- .globl _times
-_times:
- mov r1,#SYS_times
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size times,0b-_times
-
- .globl _link
-_link:
- mov r1,#SYS_link
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size link,0b-_link
-
-syscall_error:
-# Return value for the syscall is in r2. Save it here, as
-# _errno will overwrite it with the address of the errno
-# variable. r0 is the errno.
- push r2
- push r0
- callf __errno
- pop r0
- mov.w (r2),r0
- pop r2
- ret
-0: .size syscall_error,0b-syscall_error
diff --git a/libgloss/xstormy16/syscalls.m4 b/libgloss/xstormy16/syscalls.m4
deleted file mode 100644
index ab71fc6..0000000
--- a/libgloss/xstormy16/syscalls.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# xstormy16 system calls for the simulator
-
-#include <syscall.h>
-
- .text
-
-define(`syscall',`.globl _`'$1
-_`'$1`':
- mov r1,#SYS_$1
- .hword 0x0001
- bnz r1,#0,syscall_error
- ret
-0: .size $1,0b-_$1
-')dnl
- syscall(exit)
- syscall(open)
- syscall(close)
- syscall(read)
- syscall(write)
- syscall(lseek)
- syscall(unlink)
- syscall(getpid)
- syscall(kill)
- syscall(fstat)
- syscall(chdir)
- syscall(stat)
- syscall(chmod)
- syscall(utime)
- syscall(time)
- syscall(gettimeofday)
- syscall(times)
- syscall(link)
-dnl
-syscall_error:
- push r0
- callf __errno
- pop r0
- mov.w (r2),r0
- ret
-0: .size syscall_error,0b-syscall_error
diff --git a/libgloss/xstormy16/unlink.c b/libgloss/xstormy16/unlink.c
deleted file mode 100644
index 1c56663..0000000
--- a/libgloss/xstormy16/unlink.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* unlink.c -- remove a file.
- *
- * Copyright (c) 1995 Cygnus Support
- *
- * The authors hereby grant permission to use, copy, modify, distribute,
- * and license this software and its documentation for any purpose, provided
- * that existing copyright notices are retained in all copies and that this
- * notice is included verbatim in any distributions. No written agreement,
- * license, or royalty fee is required for any of the authorized uses.
- * Modifications to this software may be copyrighted by their authors
- * and need not follow the licensing terms described here, provided that
- * the new terms are clearly indicated on the first page of each file where
- * they apply.
- */
-#include <errno.h>
-#include "glue.h"
-
-/*
- * unlink -- since we have no file system,
- * we just return an error.
- */
-int
-_DEFUN (_unlink, (path),
- char * path)
-{
- errno = EIO;
- return (-1);
-}
diff --git a/libgloss/xstormy16/xstormy16_stub.c b/libgloss/xstormy16/xstormy16_stub.c
deleted file mode 100644
index 7706031..0000000
--- a/libgloss/xstormy16/xstormy16_stub.c
+++ /dev/null
@@ -1,837 +0,0 @@
-/****************************************************************************
-
- THIS SOFTWARE IS NOT COPYRIGHTED
-
- HP offers the following for use in the public domain. HP makes no
- warranty with regard to the software or it's performance and the
- user accepts the software "AS IS" with all faults.
-
- HP DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD
- TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
-****************************************************************************/
-
-/****************************************************************************
- * Header: remcom.c,v 1.34 91/03/09 12:29:49 glenne Exp $
- *
- * Module name: remcom.c $
- * Revision: 1.34 $
- * Date: 91/03/09 12:29:49 $
- * Contributor: Lake Stevens Instrument Division$
- *
- * Description: low level support for gdb debugger. $
- *
- * Considerations: only works on target hardware $
- *
- * Written by: Glenn Engel $
- * ModuleState: Experimental $
- *
- * NOTES: See Below $
- *
- * Heavily modified for XStormy16 by Mark Salter, Red Hat.
- * Optimisations and 'X' support by Geoff Keating, Red Hat.
- *
- * To enable debugger support, two things need to happen. One, a
- * call to set_debug_traps() is necessary in order to allow any breakpoints
- * or error conditions to be properly intercepted and reported to gdb.
- * Two, a breakpoint needs to be generated to begin communication. This
- * is most easily accomplished by a call to breakpoint(). Breakpoint()
- * simulates a breakpoint by executing a trap #1.
- *
- * Because gdb will sometimes write to the stack area to execute function
- * calls, this program cannot rely on using the inferior stack so it uses
- * it's own stack area.
- *
- *************
- *
- * The following gdb commands are supported:
- *
- * command function Return value
- *
- * g return the value of the CPU registers hex data or ENN
- * G set the value of the CPU registers OK or ENN
- *
- * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
- * MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
- * XAA..AA,LLLL: Write LLLL binary bytes at address OK or ENN
- * AA..AA
- *
- * c Resume at current address SNN ( signal NN)
- * cAA..AA Continue at address AA..AA SNN
- *
- * s Step one instruction SNN
- * sAA..AA Step one instruction from AA..AA SNN
- *
- * k kill
- *
- * ? What was the last sigval ? SNN (signal NN)
- *
- * All commands and responses are sent with a packet which includes a
- * checksum. A packet consists of
- *
- * $<packet info>#<checksum>.
- *
- * where
- * <packet info> :: <characters representing the command or response>
- * <checksum> :: <two hex digits computed as modulo 256 sum of <packetinfo>>
- *
- * When a packet is received, it is first acknowledged with either '+' or '-'.
- * '+' indicates a successful transfer. '-' indicates a failed transfer.
- *
- * Example:
- *
- * Host: Reply:
- * $m0,10#2a +$00010203040506070809101112131415#42
- *
- ****************************************************************************/
-
-/* Local functions:
- */
-static void putDebugChar(unsigned ch);
-static unsigned char getDebugChar(void);
-static void putPacket(unsigned char *);
-static void putHex (char c, unsigned long mem_arg, int count);
-static unsigned char *getpacket(void);
-static void hex2mem(unsigned char *, unsigned long, int);
-static int valid_addr_range (unsigned long mem, int count);
-static int hexToInt(unsigned char **, long *);
-static void prepare_to_step(void);
-static void finish_from_step(void);
-
-/* breakpoint opcode */
-#define BREAKPOINT_OPCODE 0x0006
-
-/* Error Detection Register */
-#define ERR_DETECT_REG (*(volatile unsigned *)0x7f08)
-#define UNDEF_INSN_ENA 0x01
-#define UNDEF_INSN_FLAG 0x02
-#define ODD_ADDR_ENA 0x04
-#define ODD_ADDR_FLAG 0x08
-#define BAD_ADDR_ENA 0x10
-#define BAD_ADDR_FLAG 0x20
-#define SER0_IRQ_ENA 0x1000
-#define SER0_IRQ_FLAG 0x2000
-
-/*****************************************************************************
- * BUFMAX defines the maximum number of characters in inbound/outbound buffers
- * at least NUMREGBYTES*2 are needed for register packets
- */
-#define BUFMAX 80
-
-static const unsigned char hexchars[]="0123456789abcdef";
-
-#define NUMREGS 17
-
-/* Number of bytes of registers (extra 2 bytes is for 4 byte PC). */
-#define NUMREGBYTES ((NUMREGS * 2) + 2)
-enum regnames { R0, R1, R2, R3, R4, R5, R6, R7,
- R8, R9, R10, R11, R12, R13, R14, R15,
- PC };
-
-#define FP R13
-#define PSW R14
-#define SP R15
-
-struct regs {
- int r[16];
- long pc;
-} registers;
-
-static struct regs orig_registers;
-
-static unsigned char remcomBuffer[BUFMAX];
-
-/* Indicate whether inferior is running. Used to decide whether or not to
- send T packet when stub is entered. */
-static char is_running;
-
-static inline unsigned char
-get_char(unsigned long addr)
-{
- unsigned int msw, lsw;
- unsigned char ret;
-
- msw = addr >> 16;
- lsw = addr & 0xffff;
-
- asm("movf.b %0,(%2)\n"
- : "=e"(ret) : "d"(msw), "r"(lsw) : "memory");
-
- return ret;
-}
-
-static inline void
-set_char(unsigned long addr, unsigned int val)
-{
- unsigned int msw, lsw;
-
- msw = addr >> 16;
- lsw = addr & 0xffff;
-
- asm("movf.b (%1),%2\n"
- : /* none */ : "d"(msw), "r"(lsw), "e"(val) : "memory" );
-}
-
-static inline unsigned int
-get_word(unsigned long addr)
-{
- unsigned int ret, msw, lsw;
-
- msw = addr >> 16;
- lsw = addr & 0xffff;
-
- asm("movf.w %0,(%2)\n"
- : "=e"(ret) : "d"(msw), "r"(lsw) : "memory" );
-
- return ret;
-}
-
-static inline void
-set_word(unsigned long addr, unsigned int val)
-{
- unsigned int msw, lsw;
-
- msw = addr >> 16;
- lsw = addr & 0xffff;
-
- asm("movf.w (%1),%2\n"
- : /* none */ : "d"(msw), "r"(lsw), "e"(val) : "memory" );
-}
-
-static void
-assign_regs (struct regs *dest, const struct regs *src)
-{
- int i;
- char *d = (char *)dest, *s = (char *)src;
- for (i = 0; i < sizeof (struct regs); i++)
- *d++ = *s++;
-}
-
-/* Write out a register for a 'T' packet. */
-
-static unsigned char *
-putreg (unsigned char *buf, int regnum, void *mem_p, int count)
-{
- int i;
- unsigned char ch;
- char *mem = (char *)mem_p;
-
- *buf++ = hexchars[regnum >> 4];
- *buf++ = hexchars[regnum % 16];
- *buf++ = ':';
-
- for (i=0;i<count;i++)
- {
- ch = *mem++;
- *buf++ = hexchars[ch >> 4];
- *buf++ = hexchars[ch % 16];
- }
- *buf++ = ';';
- return(buf);
-}
-
-/*
- * This function does all command procesing for interfacing to gdb.
- */
-void
-handle_exception(void)
-{
- char sigval;
- unsigned char *ptr;
- long addr, length;
-
- /* reply to host that an exception has occurred */
- sigval = 5; /* SIGTRAP is default */
- if (ERR_DETECT_REG & UNDEF_INSN_FLAG)
- {
- ERR_DETECT_REG &= ~UNDEF_INSN_FLAG;
- registers.pc -= 2;
- if (get_word(registers.pc) != BREAKPOINT_OPCODE)
- sigval = 4; /* SIGILL */
- }
- if (ERR_DETECT_REG & BAD_ADDR_FLAG)
- {
- ERR_DETECT_REG &= ~BAD_ADDR_FLAG;
- sigval = 11; /* SIGSEGV */
- }
- if (ERR_DETECT_REG & SER0_IRQ_FLAG)
- {
- unsigned char ch;
-
- ch = getDebugChar();
- ERR_DETECT_REG &= ~SER0_IRQ_FLAG;
- if (ch != 0x03)
- return;
- sigval = 2; /* SIGINT */
- }
-
- finish_from_step();
-
- /* save original context so it can be restored as a result of
- a kill packet. */
- if (orig_registers.pc == 0L)
- assign_regs (&orig_registers, &registers);
-
- if (is_running)
- {
- ptr = remcomBuffer;
-
- *ptr++ = 'T'; /* notify gdb with signo, PC, FP and SP */
- *ptr++ = hexchars[sigval >> 4];
- *ptr++ = hexchars[sigval & 0xf];
-
- ptr = putreg (ptr, PC, &registers.pc, 4);
- ptr = putreg (ptr, FP, &registers.r[FP], 2);
- ptr = putreg (ptr, SP, &registers.r[SP], 2);
-
- *ptr++ = 0;
-
- putPacket(remcomBuffer);
- }
-
- while (1) {
- char kind;
-
- ptr = getpacket();
- kind = *ptr++;
- if (kind == 'M' || kind == 'X')
- {
- /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */
- /* TRY TO READ '%x,%x:'. IF SUCCEED, SET PTR = 0 */
- if (hexToInt(&ptr,&addr)
- && *(ptr++) == ','
- && hexToInt(&ptr,&length)
- && *(ptr++) == ':')
- {
- if (valid_addr_range (addr, length))
- {
- if (kind == 'M')
- hex2mem(ptr, addr, length);
- else
- {
- int i;
- for (i = 0; i < length; i++)
- if (*ptr++ == 0x7d)
- set_char (addr++, *ptr++ ^ 0x20);
- else
- set_char (addr++, ptr[-1]);
-
- }
- putPacket ("OK");
- }
- else
- putPacket ("E03");
- }
- else
- putPacket ("E02");
- }
- else if (kind == 'm')
- {
- /* mAA..AA,LLLL Read LLLL bytes at address AA..AA */
- /* TRY TO READ %x,%x. IF SUCCEED, SET PTR = 0 */
- if (hexToInt(&ptr,&addr)
- && *(ptr++) == ','
- && hexToInt (&ptr,&length))
- {
- if (valid_addr_range (addr, length))
- putHex (0, addr, length);
- else
- putPacket ("E03");
- }
- else
- putPacket ("E02");
- }
- else if (kind == 'R')
- {
- if (hexToInt (&ptr, &addr))
- registers.pc = addr;
- putPacket ("OK");
- }
- else if (kind == '!')
- putPacket ("OK");
- else if (kind == '?')
- putHex ('S', (unsigned long)(unsigned int)&sigval, 1);
- else if (kind == 'g')
- putHex (0, (unsigned long)(unsigned int)&registers, NUMREGBYTES);
- else if (kind == 'P')
- {
- /* set the value of a single CPU register - return OK */
- unsigned long regno;
-
- if (hexToInt (&ptr, &regno)
- && *ptr++ == '='
- && regno < NUMREGS)
- {
- hex2mem (ptr, (unsigned long)(unsigned int)(registers.r + regno),
- regno == PC ? 4 : 2);
- putPacket ("OK");
- }
- else
- putPacket ("E01");
- }
- else if (kind == 'G')
- {
- /* set the value of the CPU registers - return OK */
- hex2mem(ptr, (unsigned long)(unsigned int)&registers, NUMREGBYTES);
- putPacket ("OK");
- }
- else if (kind == 's' || kind == 'c')
- {
- /* sAA..AA Step one instruction from AA..AA(optional) */
- /* cAA..AA Continue from address AA..AA(optional) */
- /* try to read optional parameter, pc unchanged if no parm */
-
- is_running = 1;
-
- if (hexToInt(&ptr,&addr))
- registers.pc = addr;
-
- if (kind == 's') /* single-stepping */
- prepare_to_step();
- return;
- }
- else if (kind == 'k')
- {
- /* kill the program */
- assign_regs (&registers, &orig_registers);
- is_running = 0;
- putPacket ("");
- }
- else
- /* Unknown code. Return an empty reply message. */
- putPacket ("");
- }
-}
-
-static int
-hex (int ch)
-{
- if ((ch >= '0') && (ch <= '9')) return (ch-'0');
- if ((ch >= 'a') && (ch <= 'f')) return (ch-'a'+10);
- if ((ch >= 'A') && (ch <= 'F')) return (ch-'A'+10);
- return (-1);
-}
-
-/* scan for the sequence $<data>#<checksum> */
-
-static unsigned char *
-getpacket (void)
-{
- unsigned char *buffer = &remcomBuffer[0];
- unsigned checksum;
- int count;
- char ch;
-
- while (1)
- {
- /* wait around for the start character, ignore all other characters */
- while (getDebugChar () != '$')
- ;
-
- checksum = 0;
- count = 0;
- while ((ch = getDebugChar ()) == '$')
- ;
-
- /* now, read until a # or end of buffer is found */
- while (ch != '#' && count < BUFMAX - 1)
- {
- checksum = checksum + ch;
- buffer[count] = ch;
- count = count + 1;
- ch = getDebugChar ();
- }
- buffer[count] = 0;
-
- if (ch == '#')
- {
- unsigned xmitcsum;
- ch = getDebugChar ();
- xmitcsum = hex (ch) << 4;
- ch = getDebugChar ();
- xmitcsum += hex (ch);
-
- /* If one of the above 'hex' calls returns -1, xmitcsum will
- have high bits set, and so the test below will fail. */
-
- if ((checksum & 0xFF) != xmitcsum)
- putDebugChar ('-'); /* failed checksum */
- else
- {
- putDebugChar ('+'); /* successful transfer */
- return &buffer[0];
- }
- }
- }
-}
-
-/* send the packet in buffer. */
-
-static void
-putPacket (unsigned char *buffer_p)
-{
- /* $<packet info>#<checksum>. */
- do {
- unsigned checksum;
- unsigned char *buffer = buffer_p;
-
- putDebugChar('$');
- checksum = 0;
-
- while (*buffer) {
- putDebugChar(*buffer);
- checksum += *buffer;
- buffer++;
- }
- putDebugChar('#');
- putDebugChar(hexchars[(checksum >> 4) % 16]);
- putDebugChar(hexchars[checksum % 16]);
- } while (getDebugChar() != '+');
-}
-
-/* Convert the memory pointed to by mem into hex, and return it as a packet. */
-
-static void
-putHex (char c, unsigned long mem_arg, int count)
-{
- do {
- unsigned long mem = mem_arg;
- int i;
- unsigned checksum;
-
- putDebugChar('$');
- checksum = 0;
-
- if (c)
- {
- checksum = c;
- putDebugChar(c);
- }
-
- for (i = 0; i < count; i++)
- {
- unsigned char c = get_char (mem);
- char ch = hexchars[c >> 4];
- putDebugChar(ch);
- checksum += ch;
- ch = hexchars[c % 16];
- putDebugChar(ch);
- checksum += ch;
- mem++;
- }
- putDebugChar('#');
- putDebugChar(hexchars[(checksum >> 4) % 16]);
- putDebugChar(hexchars[checksum % 16]);
- } while (getDebugChar() != '+');
-}
-
-/* Function: gdb_write(char *, int)
- Make gdb write n bytes to stdout (not assumed to be null-terminated). */
-
-void
-gdb_write (char *data, int len)
-{
- ERR_DETECT_REG &= ~SER0_IRQ_ENA;
- putHex ('O', (unsigned long)(unsigned int)data, len);
- ERR_DETECT_REG |= SER0_IRQ_ENA;
-}
-
-int
-gdb_read (char *buf, int nbytes)
-{
- int i = 0;
-
- ERR_DETECT_REG &= ~SER0_IRQ_ENA;
- for (i = 0; i < nbytes; i++)
- {
- *(buf + i) = getDebugChar();
- if ((*(buf + i) == '\n') || (*(buf + i) == '\r'))
- {
- (*(buf + i + 1)) = 0;
- break;
- }
- }
- ERR_DETECT_REG |= SER0_IRQ_ENA;
- return (i);
-}
-
-static int
-valid_addr_range (unsigned long mem, int count)
-{
- unsigned long last = mem + count - 1;
-
- if (last < 0x800L)
- return 1;
-
- if (mem < 0x7f00L)
- return 0;
-
- if (last > 0x7ffffL)
- return 0;
-
- return 1;
-}
-
-/* Convert the hex array pointed to by buf into binary to be placed in mem.
- Return a pointer to the character AFTER the last byte written. */
-
-static void
-hex2mem (unsigned char *buf, unsigned long mem, int count)
-{
- int i;
- unsigned char ch;
-
- for (i=0;i<count;i++)
- {
- ch = hex(*buf++) << 4;
- ch = ch + hex(*buf++);
- set_char (mem++, ch);
- }
-}
-
-/**********************************************/
-/* WHILE WE FIND NICE HEX CHARS, BUILD AN INT */
-/* RETURN NUMBER OF CHARS PROCESSED */
-/**********************************************/
-static int
-hexToInt (unsigned char **ptr, long *intValue)
-{
- int numChars = 0;
- int hexValue;
-
- *intValue = 0;
- while (**ptr)
- {
- hexValue = hex(**ptr);
- if (hexValue >=0)
- {
- *intValue = (*intValue <<4) | (unsigned) hexValue;
- numChars ++;
- }
- else
- break;
- (*ptr)++;
- }
- return (numChars);
-}
-
-
-/* Function: opcode_size
- Determine number of bytes in full opcode by examining first word.
-*/
-static int
-opcode_size(unsigned int opcode)
-{
- if ((opcode & 0xff00) == 0)
- return 2;
-
- if ((opcode & 0xf800) == 0)
- return 4;
-
- if ((opcode & 0xf800) == 0x7800)
- return 4;
-
- if ((opcode & 0xf000) == 0xc000)
- return 4;
-
- if ((opcode & 0xf100) == 0x2000)
- return 4;
-
- if ((opcode & 0xfff0) == 0x30e0)
- return 4;
-
- if ((opcode & 0xf008) == 0x6008)
- return 4;
-
- if ((opcode & 0xf808) == 0x7008)
- return 4;
-
- opcode >>= 8;
- if (opcode == 0x0c || opcode == 0x0d || opcode == 0x31)
- return 4;
-
- return 2;
-}
-
-static struct {
- unsigned long addr;
- unsigned long addr2;
- unsigned int opcode;
- unsigned int opcode2;
-} stepinfo;
-
-/* Function: prepare_to_step
- Called from handle_exception to prepare the user program to single-step.
- Places a trap instruction after the target instruction, with special
- extra handling for branch instructions.
-*/
-
-static void
-prepare_to_step(void)
-{
- unsigned long pc = registers.pc;
- unsigned long next_pc, next_pc2;
- unsigned int op, op2, sp;
- unsigned char op_msb, op_lsb;
- int r12;
- char r8;
-
- op = get_word(pc);
- op_msb = (op >> 8) & 0xff;
- op_lsb = op & 0xff;
- op2 = get_word(pc + 2);
- next_pc = pc + opcode_size(op);
- next_pc2 = 0;
-
- if (op_msb == 0)
- {
- if (op_lsb == 2)
- {
- /* IRET */
- sp = registers.r[SP];
- next_pc = *(unsigned *)(sp - 4);
- next_pc = (next_pc << 16) | *(unsigned *)(sp - 6);
- }
- else if (op_lsb == 3)
- {
- /* RET */
- sp = registers.r[SP];
- next_pc = *(unsigned *)(sp - 2);
- next_pc = (next_pc << 16) | *(unsigned *)(sp - 4);
- }
- else
- {
- op2 = op_lsb & 0xf0;
- if (op2 && op2 < 0x40)
- {
- /* {CALLR,BR,ICALLR} Rs */
- next_pc = (pc + 2) + (int)registers.r[op_lsb & 0xf];
- }
- else if (op2 < 0x80 || op2 == 0xa0 || op2 == 0xb0)
- {
- /* {JMP,ICALL,CALL} Rb,Rs */
- next_pc = registers.r[(op_lsb & 0x10) ? 9 : 8];
- next_pc = (next_pc << 16) | (unsigned int)registers.r[op_lsb & 0xf];
- }
- }
- }
- else if (op_msb < 4)
- {
- /* {CALLF,JMPF,ICALLF} a24 */
- next_pc = ((unsigned long)op2) << 8;
- next_pc |= op_lsb;
- }
- else if (op_msb < 8)
- {
- if ((op2 & 0xf000) == 0)
- {
- /* Bx Rd,#imm4,r12 */
- /* Bx Rd,Rs,r12 */
- r12 = op2 << 4;
- r12 >>= 4;
- next_pc2 = (pc + 4) + r12;
- }
- }
- else if (op_msb == 0x0c || op_msb == 0x0d || (op_msb & 0xf1) == 0x20 ||
- ((op_msb >= 0x7c && op_msb <= 0x7f) && (op2 & 0x8000) == 0))
- {
- /* Bxx Rd,Rs,r12 */
- /* Bxx Rd,#imm8,r12 */
- /* Bx m8,#imm3,r12 */
- /* Bx s8,#imm3,r12 */
- r12 = op2 << 4;
- r12 >>= 4;
- next_pc2 = (pc + 4) + r12;
- }
- else if ((op_msb & 0xf0) == 0x10)
- {
- /* {BR,CALLR} r12 */
- r12 = (op & 0xffe) << 4;
- r12 >>= 4;
- next_pc = (pc + 2) + r12;
- }
- else if ((op_msb & 0xe0) == 0xc0)
- {
- /* Bxx Rx,#imm16,r8 */
- /* TBxx r8 */
- r8 = op_lsb;
- next_pc2 = next_pc + r8;
- }
-
- stepinfo.addr = next_pc;
- stepinfo.opcode = get_word(next_pc);
- set_word(next_pc, BREAKPOINT_OPCODE);
-
- if (next_pc2)
- {
- stepinfo.addr2 = next_pc2;
- stepinfo.opcode2 = get_word(next_pc2);
- set_word(next_pc2, BREAKPOINT_OPCODE);
- }
-}
-
-/* Function: finish_from_step
- Called from handle_exception to finish up when the user program
- returns from a single-step. Replaces the instructions that had
- been overwritten by breakpoint. */
-
-static void
-finish_from_step (void)
-{
- if (stepinfo.addr) /* anything to do? */
- {
- set_word(stepinfo.addr, stepinfo.opcode);
- stepinfo.addr = 0;
- if (stepinfo.addr2)
- {
- set_word(stepinfo.addr2, stepinfo.opcode2);
- stepinfo.addr2 = 0;
- }
- }
-}
-
-
-/*
- * UART support
- */
-#define UART0_BASE 0x7f38
-#define UART1_BASE 0x7f48
-
-#define UART_CR(base) (*(volatile unsigned char *)(base))
-#define UART_RXD(base) (*(volatile unsigned int *)((base) + 2))
-#define UART_TXD(base) (*(volatile unsigned int *)((base) + 4))
-
-#define UART_CR_RUN 0x80
-#define UART_CR_ERR 0x40
-#define UART_CR_BAUD_115k 0x20
-#define UART_CR_PARITY 0x10
-#define UART_CR_TXEMPTY 0x08
-#define UART_CR_TXIEN 0x04
-#define UART_CR_RXRDY 0x02
-#define UART_CR_RXIEN 0x01
-
-#define DBG_UART UART0_BASE
-
-static void
-putDebugChar(unsigned ch)
-{
- while ((UART_CR(DBG_UART) & UART_CR_TXEMPTY) == 0) ;
-
- UART_TXD(DBG_UART) = ch;
-}
-
-static unsigned char
-getDebugChar(void)
-{
- while ((UART_CR(DBG_UART) & UART_CR_RXRDY) == 0) ;
-
- return UART_RXD(DBG_UART);
-}
-
-void
-uart_init(void)
-{
- UART_CR(DBG_UART) |= (UART_CR_RUN | UART_CR_RXIEN);
-}
-
diff --git a/newlib/libc/machine/or1k/Makefile.am b/newlib/libc/machine/or1k/Makefile.am
deleted file mode 100644
index 5b78bc1..0000000
--- a/newlib/libc/machine/or1k/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-## Process this file with automake to generate Makefile.in
-
-AUTOMAKE_OPTIONS = cygnus
-
-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-
-AM_CCASFLAGS = $(INCLUDES)
-
-noinst_LIBRARIES = lib.a
-
-lib_a_SOURCES = setjmp.S
-lib_a_CCASFLAGS=$(AM_CCASFLAGS)
-lib_a_CFLAGS=$(AM_CFLAGS)
-
-ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
-CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
diff --git a/newlib/libc/machine/or1k/Makefile.in b/newlib/libc/machine/or1k/Makefile.in
deleted file mode 100644
index 99ab1fd..0000000
--- a/newlib/libc/machine/or1k/Makefile.in
+++ /dev/null
@@ -1,464 +0,0 @@
-# Makefile.in generated by automake 1.12.2 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
-
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-am__make_dryrun = \
- { \
- am__dry=no; \
- case $$MAKEFLAGS in \
- *\\[\ \ ]*) \
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
- *) \
- for am__flg in $$MAKEFLAGS; do \
- case $$am__flg in \
- *=*|--*) ;; \
- *n*) am__dry=yes; break;; \
- esac; \
- done;; \
- esac; \
- test $$am__dry = yes; \
- }
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = .
-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(top_srcdir)/configure $(am__configure_deps) \
- $(top_srcdir)/../../../../mkinstalldirs
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
-ARFLAGS = cru
-lib_a_AR = $(AR) $(ARFLAGS)
-lib_a_LIBADD =
-am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
-lib_a_OBJECTS = $(am_lib_a_OBJECTS)
-DEFAULT_INCLUDES = -I.@am__isrc@
-depcomp =
-am__depfiles_maybe =
-CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(lib_a_SOURCES)
-am__can_run_installinfo = \
- case $$AM_UPDATE_INFO_DIR in \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
-AM_RECURSIVE_TARGETS = cscope
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AR = @AR@
-AS = @AS@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCAS = @CCAS@
-CCASFLAGS = @CCASFLAGS@
-CCDEPMODE = @CCDEPMODE@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
-NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-READELF = @READELF@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-aext = @aext@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-libm_machine_dir = @libm_machine_dir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-lpfx = @lpfx@
-machine_dir = @machine_dir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-newlib_basedir = @newlib_basedir@
-oext = @oext@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sys_dir = @sys_dir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = cygnus
-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(INCLUDES)
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = setjmp.S
-lib_a_CCASFLAGS = $(AM_CCASFLAGS)
-lib_a_CFLAGS = $(AM_CFLAGS)
-ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
-CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .S .o .obj
-am--refresh: Makefile
- @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
- $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
- $(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --cygnus Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- $(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
- -rm -f lib.a
- $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
- $(RANLIB) lib.a
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-.S.o:
- $(CPPASCOMPILE) -c -o $@ $<
-
-.S.obj:
- $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
-
-lib_a-setjmp.o: setjmp.S
- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '$(srcdir)/'`setjmp.S
-
-lib_a-setjmp.obj: setjmp.S
- $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- set x; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- shift; \
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- if test $$# -gt 0; then \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- "$$@" $$unique; \
- else \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$unique; \
- fi; \
- fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && $(am__cd) $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) "$$here"
-
-cscope: cscope.files
- test ! -s cscope.files \
- || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
-clean-cscope:
- -rm -f cscope.files
-
-cscope.files: clean-cscope cscopelist
-
-cscopelist: $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
- case "$(srcdir)" in \
- [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
- *) sdir=$(subdir)/$(srcdir) ;; \
- esac; \
- for i in $$list; do \
- if test -f "$$i"; then \
- echo "$(subdir)/$$i"; \
- else \
- echo "$$sdir/$$i"; \
- fi; \
- done >> $(top_builddir)/cscope.files
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-am:
-check: check-am
-all-am: Makefile $(LIBRARIES)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- if test -z '$(STRIP)'; then \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- install; \
- else \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
-
-distclean: distclean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
- clean-cscope clean-generic clean-noinstLIBRARIES cscope \
- cscopelist ctags distclean distclean-compile distclean-generic \
- distclean-tags dvi dvi-am html html-am info info-am install \
- install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
- tags uninstall uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/newlib/libc/machine/or1k/aclocal.m4 b/newlib/libc/machine/or1k/aclocal.m4
deleted file mode 100644
index f417e75..0000000
--- a/newlib/libc/machine/or1k/aclocal.m4
+++ /dev/null
@@ -1,1248 +0,0 @@
-# generated automatically by aclocal 1.12.2 -*- Autoconf -*-
-
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
-[m4_warning([this file was generated for autoconf 2.69.
-You have another version of autoconf. It may work, but is not guaranteed to.
-If you have problems, you may need to regenerate the build system entirely.
-To do so, use the procedure documented by the package, typically 'autoreconf'.])])
-
-# Copyright (C) 2002-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.2], [],
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too. Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.2])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
-# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is '.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 10
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ([2.52])dnl
- m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 17
-
-# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
- [$1], [CXX], [depcc="$CXX" am_compiler_list=],
- [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
- [$1], [UPC], [depcc="$UPC" am_compiler_list=],
- [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE([dependency-tracking], [dnl
-AS_HELP_STRING(
- [--enable-dependency-tracking],
- [do not reject slow dependency extractors])
-AS_HELP_STRING(
- [--disable-dependency-tracking],
- [speeds up one-time build])])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 6
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each '.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 19
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
-m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(
- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
- [ok:ok],,
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
- AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
-AM_MISSING_PROG([AUTOCONF], [autoconf])
-AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
-AM_MISSING_PROG([AUTOHEADER], [autoheader])
-AM_MISSING_PROG([MAKEINFO], [makeinfo])
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES([CC])],
- [m4_define([AC_PROG_CC],
- m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES([CXX])],
- [m4_define([AC_PROG_CXX],
- m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES([OBJC])],
- [m4_define([AC_PROG_OBJC],
- m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
- [_AM_DEPENDENCIES([OBJCXX])],
- [m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
-])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
-AC_CONFIG_COMMANDS_PRE(dnl
-[m4_provide_if([_AM_COMPILER_EXEEXT],
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-])
-
-dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
-dnl mangled by Autoconf and run in a shell conditional statement.
-m4_define([_AC_COMPILER_EXEEXT],
-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_arg=$1
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-AC_SUBST([install_sh])])
-
-# Copyright (C) 2003-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
-# From Jim Meyering
-
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_MAINTAINER_MODE([DEFAULT-MODE])
-# ----------------------------------
-# Control maintainer-specific portions of Makefiles.
-# Default is to disable them, unless 'enable' is passed literally.
-# For symmetry, 'disable' may be passed as well. Anyway, the user
-# can override the default with the --enable/--disable switch.
-AC_DEFUN([AM_MAINTAINER_MODE],
-[m4_case(m4_default([$1], [disable]),
- [enable], [m4_define([am_maintainer_other], [disable])],
- [disable], [m4_define([am_maintainer_other], [enable])],
- [m4_define([am_maintainer_other], [enable])
- m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- dnl maintainer-mode's default is 'disable' unless 'enable' is passed
- AC_ARG_ENABLE([maintainer-mode],
- [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
- am_maintainer_other[ make rules and dependencies not useful
- (and sometimes confusing) to the casual installer])],
- [USE_MAINTAINER_MODE=$enableval],
- [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
- MAINT=$MAINTAINER_MODE_TRUE
- AC_SUBST([MAINT])dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 7
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([missing])dnl
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN(['missing' script is too old or missing])
-fi
-])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 6
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# --------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[[\\\"\#\$\&\'\`$am_lf]]*)
- AC_MSG_ERROR([unsafe absolute working directory name]);;
-esac
-case $srcdir in
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
- alias in your environment])
- fi
- if test "$[2]" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT([yes])
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-AC_CONFIG_COMMANDS_PRE(
- [AC_MSG_CHECKING([that generated files are newer than configure])
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- AC_MSG_RESULT([done])])
-rm -f conftest.file
-])
-
-# Copyright (C) 2001-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor 'install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in "make install-strip", and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Copyright (C) 2006-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004-2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of 'v7', 'ustar', or 'pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AC_SUBST([AMTAR], ['$${TAR-tar}'])
-m4_if([$1], [v7],
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of '-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-dnl This provides configure definitions used by all the newlib
-dnl configure.in files.
-
-AC_DEFUN([DEF_NEWLIB_VERSION],
-m4_define([NEWLIB_VERSION],[2.1.0]))
-
-dnl Basic newlib configury. This calls basic introductory stuff,
-dnl including AM_INIT_AUTOMAKE and AC_CANONICAL_HOST. It also runs
-dnl configure.host. The only argument is the relative path to the top
-dnl newlib directory.
-
-AC_DEFUN([NEWLIB_CONFIGURE],
-[AC_REQUIRE([DEF_NEWLIB_VERSION])
-dnl Default to --enable-multilib
-AC_ARG_ENABLE(multilib,
-[ --enable-multilib build many library versions (default)],
-[case "${enableval}" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
- esac], [multilib=yes])dnl
-
-dnl Support --enable-target-optspace
-AC_ARG_ENABLE(target-optspace,
-[ --enable-target-optspace optimize for space],
-[case "${enableval}" in
- yes) target_optspace=yes ;;
- no) target_optspace=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for target-optspace option) ;;
- esac], [target_optspace=])dnl
-
-dnl Support --enable-malloc-debugging - currently only supported for Cygwin
-AC_ARG_ENABLE(malloc-debugging,
-[ --enable-malloc-debugging indicate malloc debugging requested],
-[case "${enableval}" in
- yes) malloc_debugging=yes ;;
- no) malloc_debugging=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for malloc-debugging option) ;;
- esac], [malloc_debugging=])dnl
-
-dnl Support --enable-newlib-multithread
-AC_ARG_ENABLE(newlib-multithread,
-[ --enable-newlib-multithread enable support for multiple threads],
-[case "${enableval}" in
- yes) newlib_multithread=yes ;;
- no) newlib_multithread=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-multithread option) ;;
- esac], [newlib_multithread=yes])dnl
-
-dnl Support --enable-newlib-iconv
-AC_ARG_ENABLE(newlib-iconv,
-[ --enable-newlib-iconv enable iconv library support],
-[if test "${newlib_iconv+set}" != set; then
- case "${enableval}" in
- yes) newlib_iconv=yes ;;
- no) newlib_iconv=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv option) ;;
- esac
- fi], [newlib_iconv=${newlib_iconv}])dnl
-
-dnl Support --enable-newlib-elix-level
-AC_ARG_ENABLE(newlib-elix-level,
-[ --enable-newlib-elix-level supply desired elix library level (1-4)],
-[case "${enableval}" in
- 0) newlib_elix_level=0 ;;
- 1) newlib_elix_level=1 ;;
- 2) newlib_elix_level=2 ;;
- 3) newlib_elix_level=3 ;;
- 4) newlib_elix_level=4 ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-elix-level option) ;;
- esac], [newlib_elix_level=0])dnl
-
-dnl Support --disable-newlib-io-float
-AC_ARG_ENABLE(newlib-io-float,
-[ --disable-newlib-io-float disable printf/scanf family float support],
-[case "${enableval}" in
- yes) newlib_io_float=yes ;;
- no) newlib_io_float=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;;
- esac], [newlib_io_float=yes])dnl
-
-dnl Support --disable-newlib-supplied-syscalls
-AC_ARG_ENABLE(newlib-supplied-syscalls,
-[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls],
-[case "${enableval}" in
- yes) newlib_may_supply_syscalls=yes ;;
- no) newlib_may_supply_syscalls=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;;
- esac], [newlib_may_supply_syscalls=yes])dnl
-
-AM_CONDITIONAL(MAY_SUPPLY_SYSCALLS, test x[$]{newlib_may_supply_syscalls} = xyes)
-
-dnl We may get other options which we don't document:
-dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
-
-test -z "[$]{with_target_subdir}" && with_target_subdir=.
-
-if test "[$]{srcdir}" = "."; then
- if test "[$]{with_target_subdir}" != "."; then
- newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../$1"
- else
- newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}$1"
- fi
-else
- newlib_basedir="[$]{srcdir}/$1"
-fi
-AC_SUBST(newlib_basedir)
-
-AC_CANONICAL_HOST
-
-AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
-
-# FIXME: We temporarily define our own version of AC_PROG_CC. This is
-# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
-# are probably using a cross compiler, which will not be able to fully
-# link an executable. This should really be fixed in autoconf
-# itself.
-
-AC_DEFUN([LIB_AC_PROG_CC_GNU],
-[AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc,
-[dnl The semicolon is to pacify NeXT's syntax-checking cpp.
-cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
-else
- ac_cv_prog_gcc=no
-fi])])
-
-AC_DEFUN([LIB_AM_PROG_AS],
-[# By default we simply use the C compiler to build assembly code.
-AC_REQUIRE([LIB_AC_PROG_CC])
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
-AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
-])
-
-AC_DEFUN([LIB_AC_PROG_CC],
-[AC_BEFORE([$0], [AC_PROG_CPP])dnl
-AC_CHECK_PROG(CC, gcc, gcc)
-_AM_DEPENDENCIES(CC)
-if test -z "$CC"; then
- AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
- test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
-fi
-
-LIB_AC_PROG_CC_GNU
-
-if test $ac_cv_prog_gcc = yes; then
- GCC=yes
-dnl Check whether -g works, even if CFLAGS is set, in case the package
-dnl plays around with CFLAGS (such as to build both debugging and
-dnl normal versions of a library), tasteless as that idea is.
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- _AC_PROG_CC_G
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-])
-
-LIB_AC_PROG_CC
-
-AC_CHECK_TOOL(AS, as)
-AC_CHECK_TOOL(AR, ar)
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-AC_CHECK_TOOL(READELF, readelf, :)
-
-AC_PROG_INSTALL
-
-# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
-ac_given_INSTALL=$INSTALL
-
-AM_MAINTAINER_MODE
-LIB_AM_PROG_AS
-
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
- AC_EXEEXT
- dummy_var=1
-fi
-
-. [$]{newlib_basedir}/configure.host
-
-newlib_cflags="[$]{newlib_cflags} -fno-builtin"
-
-NEWLIB_CFLAGS=${newlib_cflags}
-AC_SUBST(NEWLIB_CFLAGS)
-
-NO_INCLUDE_LIST=${noinclude}
-AC_SUBST(NO_INCLUDE_LIST)
-
-LDFLAGS=${ldflags}
-AC_SUBST(LDFLAGS)
-
-AM_CONDITIONAL(ELIX_LEVEL_0, test x[$]{newlib_elix_level} = x0)
-AM_CONDITIONAL(ELIX_LEVEL_1, test x[$]{newlib_elix_level} = x1)
-AM_CONDITIONAL(ELIX_LEVEL_2, test x[$]{newlib_elix_level} = x2)
-AM_CONDITIONAL(ELIX_LEVEL_3, test x[$]{newlib_elix_level} = x3)
-AM_CONDITIONAL(ELIX_LEVEL_4, test x[$]{newlib_elix_level} = x4)
-
-AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} = xyes)
-
-# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
-# use oext, which is set in configure.host based on the target platform.
-OBJEXT=${oext}
-
-AC_SUBST(OBJEXT)
-AC_SUBST(oext)
-AC_SUBST(aext)
-AC_SUBST(lpfx)
-
-AC_SUBST(libm_machine_dir)
-AC_SUBST(machine_dir)
-AC_SUBST(sys_dir)
-])
-
diff --git a/newlib/libc/machine/or1k/configure b/newlib/libc/machine/or1k/configure
deleted file mode 100755
index 200cc4a..0000000
--- a/newlib/libc/machine/or1k/configure
+++ /dev/null
@@ -1,4778 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for newlib 2.1.0.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='newlib'
-PACKAGE_TARNAME='newlib'
-PACKAGE_VERSION='2.1.0'
-PACKAGE_STRING='newlib 2.1.0'
-PACKAGE_BUGREPORT=''
-PACKAGE_URL=''
-
-ac_unique_file="Makefile.am"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-sys_dir
-machine_dir
-libm_machine_dir
-lpfx
-aext
-oext
-OBJEXT
-USE_LIBTOOL_FALSE
-USE_LIBTOOL_TRUE
-ELIX_LEVEL_4_FALSE
-ELIX_LEVEL_4_TRUE
-ELIX_LEVEL_3_FALSE
-ELIX_LEVEL_3_TRUE
-ELIX_LEVEL_2_FALSE
-ELIX_LEVEL_2_TRUE
-ELIX_LEVEL_1_FALSE
-ELIX_LEVEL_1_TRUE
-ELIX_LEVEL_0_FALSE
-ELIX_LEVEL_0_TRUE
-LDFLAGS
-NO_INCLUDE_LIST
-NEWLIB_CFLAGS
-CCASFLAGS
-CCAS
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
-READELF
-RANLIB
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-CC
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-newlib_basedir
-MAY_SUPPLY_SYSCALLS_FALSE
-MAY_SUPPLY_SYSCALLS_TRUE
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_multilib
-enable_target_optspace
-enable_malloc_debugging
-enable_newlib_multithread
-enable_newlib_iconv
-enable_newlib_elix_level
-enable_newlib_io_float
-enable_newlib_supplied_syscalls
-enable_dependency_tracking
-enable_maintainer_mode
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures newlib 2.1.0 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of newlib 2.1.0:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-multilib build many library versions (default)
- --enable-target-optspace optimize for space
- --enable-malloc-debugging indicate malloc debugging requested
- --enable-newlib-multithread enable support for multiple threads
- --enable-newlib-iconv enable iconv library support
- --enable-newlib-elix-level supply desired elix library level (1-4)
- --disable-newlib-io-float disable printf/scanf family float support
- --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
- --enable-dependency-tracking
- do not reject slow dependency extractors
- --disable-dependency-tracking
- speeds up one-time build
- --enable-maintainer-mode
- enable make rules and dependencies not useful (and
- sometimes confusing) to the casual installer
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-newlib configure 2.1.0
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by newlib $as_me 2.1.0, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-ac_aux_dir=
-for ac_dir in ../../../.. "$srcdir"/../../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-am__api_version='1.12'
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- alias in your environment" "$LINENO" 5
- fi
- if test "$2" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-
-rm -f conftest.file
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
- if ${ac_cv_path_mkdir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
- 'mkdir (coreutils) '* | \
- 'mkdir (fileutils) '4.1*)
- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- break 3;;
- esac
- done
- done
- done
-IFS=$as_save_IFS
-
-fi
-
- test -d ./--version && rmdir ./--version
- if test "${ac_cv_path_mkdir+set}" = set; then
- MKDIR_P="$ac_cv_path_mkdir -p"
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Check whether --enable-multilib was given.
-if test "${enable_multilib+set}" = set; then :
- enableval=$enable_multilib; case "${enableval}" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
- esac
-else
- multilib=yes
-fi
-
-# Check whether --enable-target-optspace was given.
-if test "${enable_target_optspace+set}" = set; then :
- enableval=$enable_target_optspace; case "${enableval}" in
- yes) target_optspace=yes ;;
- no) target_optspace=no ;;
- *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
- esac
-else
- target_optspace=
-fi
-
-# Check whether --enable-malloc-debugging was given.
-if test "${enable_malloc_debugging+set}" = set; then :
- enableval=$enable_malloc_debugging; case "${enableval}" in
- yes) malloc_debugging=yes ;;
- no) malloc_debugging=no ;;
- *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
- esac
-else
- malloc_debugging=
-fi
-
-# Check whether --enable-newlib-multithread was given.
-if test "${enable_newlib_multithread+set}" = set; then :
- enableval=$enable_newlib_multithread; case "${enableval}" in
- yes) newlib_multithread=yes ;;
- no) newlib_multithread=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
- esac
-else
- newlib_multithread=yes
-fi
-
-# Check whether --enable-newlib-iconv was given.
-if test "${enable_newlib_iconv+set}" = set; then :
- enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
- case "${enableval}" in
- yes) newlib_iconv=yes ;;
- no) newlib_iconv=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
- esac
- fi
-else
- newlib_iconv=${newlib_iconv}
-fi
-
-# Check whether --enable-newlib-elix-level was given.
-if test "${enable_newlib_elix_level+set}" = set; then :
- enableval=$enable_newlib_elix_level; case "${enableval}" in
- 0) newlib_elix_level=0 ;;
- 1) newlib_elix_level=1 ;;
- 2) newlib_elix_level=2 ;;
- 3) newlib_elix_level=3 ;;
- 4) newlib_elix_level=4 ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
- esac
-else
- newlib_elix_level=0
-fi
-
-# Check whether --enable-newlib-io-float was given.
-if test "${enable_newlib_io_float+set}" = set; then :
- enableval=$enable_newlib_io_float; case "${enableval}" in
- yes) newlib_io_float=yes ;;
- no) newlib_io_float=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
- esac
-else
- newlib_io_float=yes
-fi
-
-# Check whether --enable-newlib-supplied-syscalls was given.
-if test "${enable_newlib_supplied_syscalls+set}" = set; then :
- enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
- yes) newlib_may_supply_syscalls=yes ;;
- no) newlib_may_supply_syscalls=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
- esac
-else
- newlib_may_supply_syscalls=yes
-fi
-
- if test x${newlib_may_supply_syscalls} = xyes; then
- MAY_SUPPLY_SYSCALLS_TRUE=
- MAY_SUPPLY_SYSCALLS_FALSE='#'
-else
- MAY_SUPPLY_SYSCALLS_TRUE='#'
- MAY_SUPPLY_SYSCALLS_FALSE=
-fi
-
-
-
-test -z "${with_target_subdir}" && with_target_subdir=.
-
-if test "${srcdir}" = "."; then
- if test "${with_target_subdir}" != "."; then
- newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
- else
- newlib_basedir="${srcdir}/${with_multisrctop}../../.."
- fi
-else
- newlib_basedir="${srcdir}/../../.."
-fi
-
-
-
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- am__isrc=' -I$(srcdir)'
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='newlib'
- VERSION='2.1.0'
-
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-mkdir_p='$(MKDIR_P)'
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
-
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-
-
-
-
-
-
-# FIXME: We temporarily define our own version of AC_PROG_CC. This is
-# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
-# are probably using a cross compiler, which will not be able to fully
-# link an executable. This should really be fixed in autoconf
-# itself.
-
-
-
-
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
-set dummy ${ac_tool_prefix}as; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AS+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AS"; then
- ac_cv_prog_AS="$AS" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AS="${ac_tool_prefix}as"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AS=$ac_cv_prog_AS
-if test -n "$AS"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
-$as_echo "$AS" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_AS"; then
- ac_ct_AS=$AS
- # Extract the first word of "as", so it can be a program name with args.
-set dummy as; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AS+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_AS"; then
- ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_AS="as"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AS=$ac_cv_prog_ac_ct_AS
-if test -n "$ac_ct_AS"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
-$as_echo "$ac_ct_AS" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_AS" = x; then
- AS=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- AS=$ac_ct_AS
- fi
-else
- AS="$ac_cv_prog_AS"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AR"; then
- ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AR="${ac_tool_prefix}ar"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_AR"; then
- ac_ct_AR=$AR
- # Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AR+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_AR"; then
- ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_AR="ar"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_AR" = x; then
- AR=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- AR=$ac_ct_AR
- fi
-else
- AR="$ac_cv_prog_AR"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
-set dummy ${ac_tool_prefix}readelf; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_READELF+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$READELF"; then
- ac_cv_prog_READELF="$READELF" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_READELF="${ac_tool_prefix}readelf"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-READELF=$ac_cv_prog_READELF
-if test -n "$READELF"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
-$as_echo "$READELF" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_READELF"; then
- ac_ct_READELF=$READELF
- # Extract the first word of "readelf", so it can be a program name with args.
-set dummy readelf; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_READELF+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_READELF"; then
- ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_READELF="readelf"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
-if test -n "$ac_ct_READELF"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
-$as_echo "$ac_ct_READELF" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_READELF" = x; then
- READELF=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- READELF=$ac_ct_READELF
- fi
-else
- READELF="$ac_cv_prog_READELF"
-fi
-
-
-
-
-# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
-ac_given_INSTALL=$INSTALL
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
-
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
-
- dummy_var=1
-fi
-
-. ${newlib_basedir}/configure.host
-
-newlib_cflags="${newlib_cflags} -fno-builtin"
-
-NEWLIB_CFLAGS=${newlib_cflags}
-
-
-NO_INCLUDE_LIST=${noinclude}
-
-
-LDFLAGS=${ldflags}
-
-
- if test x${newlib_elix_level} = x0; then
- ELIX_LEVEL_0_TRUE=
- ELIX_LEVEL_0_FALSE='#'
-else
- ELIX_LEVEL_0_TRUE='#'
- ELIX_LEVEL_0_FALSE=
-fi
-
- if test x${newlib_elix_level} = x1; then
- ELIX_LEVEL_1_TRUE=
- ELIX_LEVEL_1_FALSE='#'
-else
- ELIX_LEVEL_1_TRUE='#'
- ELIX_LEVEL_1_FALSE=
-fi
-
- if test x${newlib_elix_level} = x2; then
- ELIX_LEVEL_2_TRUE=
- ELIX_LEVEL_2_FALSE='#'
-else
- ELIX_LEVEL_2_TRUE='#'
- ELIX_LEVEL_2_FALSE=
-fi
-
- if test x${newlib_elix_level} = x3; then
- ELIX_LEVEL_3_TRUE=
- ELIX_LEVEL_3_FALSE='#'
-else
- ELIX_LEVEL_3_TRUE='#'
- ELIX_LEVEL_3_FALSE=
-fi
-
- if test x${newlib_elix_level} = x4; then
- ELIX_LEVEL_4_TRUE=
- ELIX_LEVEL_4_FALSE='#'
-else
- ELIX_LEVEL_4_TRUE='#'
- ELIX_LEVEL_4_FALSE=
-fi
-
-
- if test x${use_libtool} = xyes; then
- USE_LIBTOOL_TRUE=
- USE_LIBTOOL_FALSE='#'
-else
- USE_LIBTOOL_TRUE='#'
- USE_LIBTOOL_FALSE=
-fi
-
-
-# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
-# use oext, which is set in configure.host based on the target platform.
-OBJEXT=${oext}
-
-
-
-
-
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
- as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
-$as_echo_n "checking that generated files are newer than configure... " >&6; }
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
-$as_echo "done" >&6; }
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
- as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by newlib $as_me 2.1.0, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-newlib config.status 2.1.0
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
-
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
-
- print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/newlib/libc/machine/or1k/configure.in b/newlib/libc/machine/or1k/configure.in
deleted file mode 100644
index 528fe44..0000000
--- a/newlib/libc/machine/or1k/configure.in
+++ /dev/null
@@ -1,14 +0,0 @@
-dnl This is the newlib/libc/machine/or1k configure.in file.
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.59)
-AC_INIT([newlib],[NEWLIB_VERSION])
-AC_CONFIG_SRCDIR([Makefile.am])
-
-dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
-AC_CONFIG_AUX_DIR(../../../..)
-
-NEWLIB_CONFIGURE(../../..)
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/newlib/libc/machine/or1k/setjmp.S b/newlib/libc/machine/or1k/setjmp.S
deleted file mode 100644
index 2fbf15d..0000000
--- a/newlib/libc/machine/or1k/setjmp.S
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
-Copyright (c) 2014, Hesham ALMatary
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
-this list of conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*/
-
-.align 4
-.global setjmp
-.type setjmp,@function
-setjmp:
-
- l.sw 4(r3), r1
- l.sw 8(r3), r2
- l.sw 12(r3), r3
- l.sw 16(r3), r4
- l.sw 20(r3), r5
- l.sw 24(r3), r6
- l.sw 28(r3), r7
- l.sw 32(r3), r8
- l.sw 36(r3), r9
- /* Skip r10 as it's preserved to be used by TLS */
- /* Skip r11, setjmp always set it to 0 */
- /* The following set if registers are preserved across function calls */
- l.sw 52(r3), r14
- l.sw 60(r3), r16
- l.sw 68(r3), r18
- l.sw 76(r3), r20
- l.sw 84(r3), r22
- l.sw 92(r3), r24
- l.sw 100(r3), r26
- l.sw 108(r3), r28
- l.sw 116(r3), r30
- /* Save Status Register */
- l.mfspr r13, r0, 17
- l.sw 124(r3), r13
-/* Set result register to 0 and jump */
- l.jr r9
- l.addi r11, r0, 0
-
-.align 4
-.global longjmp
-.type longjmp,@function
-longjmp:
-
- /* If the second argument to longjmp is zero, set return address to 1,
- otherwise set it to the value of the second argument */
- l.addi r11, r0, 1
- l.sfne r4, r0
- l.bf 1f
- l.nop
- l.addi r11, r4, 0
-
- /* Load status register */
-1:
- l.lwz r15, 124(r3)
- l.mtspr r0, r15, 17
-
- l.lwz r1, 4(r3)
- l.lwz r2, 8(r3)
- /* Skip r3 as it contains the current buffer address */
- l.lwz r4, 16(r3)
- l.lwz r5, 20(r3)
- l.lwz r6, 24(r3)
- l.lwz r7, 28(r3)
- l.lwz r8, 32(r3)
- l.lwz r9, 36(r3)
- /* Skip r11 as it's always set by longjmp */
- l.lwz r14, 52(r3)
- l.lwz r16, 60(r3)
- l.lwz r18, 68(r3)
- l.lwz r20, 76(r3)
- l.lwz r22, 84(r3)
- l.lwz r24, 92(r3)
- l.lwz r26, 100(r3)
- l.lwz r28, 108(r3)
- l.lwz r30, 116(r3)
- l.lwz r3, 12(r3)
-
- l.jr r9
- l.nop
diff --git a/newlib/libc/sys/tirtos/Makefile.am b/newlib/libc/sys/tirtos/Makefile.am
deleted file mode 100644
index fc6d1f3..0000000
--- a/newlib/libc/sys/tirtos/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-## Process this file with automake to generate Makefile.in
-
-AUTOMAKE_OPTIONS = cygnus
-
-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-
-AM_CCASFLAGS = $(INCLUDES)
-
-noinst_LIBRARIES = lib.a
-
-lib_a_SOURCES = lock.c
-lib_a_CCASFLAGS = $(AM_CCASFLAGS)
-lib_a_CFLAGS = $(AM_CFLAGS)
-
-ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
-CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
diff --git a/newlib/libc/sys/tirtos/Makefile.in b/newlib/libc/sys/tirtos/Makefile.in
deleted file mode 100644
index 357cab8..0000000
--- a/newlib/libc/sys/tirtos/Makefile.in
+++ /dev/null
@@ -1,438 +0,0 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-am__make_dryrun = \
- { \
- am__dry=no; \
- case $$MAKEFLAGS in \
- *\\[\ \ ]*) \
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
- *) \
- for am__flg in $$MAKEFLAGS; do \
- case $$am__flg in \
- *=*|--*) ;; \
- *n*) am__dry=yes; break;; \
- esac; \
- done;; \
- esac; \
- test $$am__dry = yes; \
- }
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-subdir = .
-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(top_srcdir)/configure $(am__configure_deps) \
- $(srcdir)/../../../../mkinstalldirs
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
-CONFIG_CLEAN_FILES =
-CONFIG_CLEAN_VPATH_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
-ARFLAGS = cru
-lib_a_AR = $(AR) $(ARFLAGS)
-lib_a_LIBADD =
-am_lib_a_OBJECTS = lib_a-lock.$(OBJEXT)
-lib_a_OBJECTS = $(am_lib_a_OBJECTS)
-DEFAULT_INCLUDES = -I.@am__isrc@
-depcomp =
-am__depfiles_maybe =
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(lib_a_SOURCES)
-am__can_run_installinfo = \
- case $$AM_UPDATE_INFO_DIR in \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
-ETAGS = etags
-CTAGS = ctags
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AR = @AR@
-AS = @AS@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCAS = @CCAS@
-CCASFLAGS = @CCASFLAGS@
-CCDEPMODE = @CCDEPMODE@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
-NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-READELF = @READELF@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-aext = @aext@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-libm_machine_dir = @libm_machine_dir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-lpfx = @lpfx@
-machine_dir = @machine_dir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-newlib_basedir = @newlib_basedir@
-oext = @oext@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sys_dir = @sys_dir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = cygnus
-INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(INCLUDES)
-noinst_LIBRARIES = lib.a
-lib_a_SOURCES = lock.c
-lib_a_CCASFLAGS = $(AM_CCASFLAGS)
-lib_a_CFLAGS = $(AM_CFLAGS)
-ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
-CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .o .obj
-am--refresh: Makefile
- @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
- $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
- $(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --cygnus Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- $(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
- -rm -f lib.a
- $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
- $(RANLIB) lib.a
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-.c.o:
- $(COMPILE) -c $<
-
-.c.obj:
- $(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-lib_a-lock.o: lock.c
- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-lock.o `test -f 'lock.c' || echo '$(srcdir)/'`lock.c
-
-lib_a-lock.obj: lock.c
- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-lock.obj `if test -f 'lock.c'; then $(CYGPATH_W) 'lock.c'; else $(CYGPATH_W) '$(srcdir)/lock.c'; fi`
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- set x; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- shift; \
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- if test $$# -gt 0; then \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- "$$@" $$unique; \
- else \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$unique; \
- fi; \
- fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && $(am__cd) $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-check-am:
-check: check-am
-all-am: Makefile $(LIBRARIES)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- if test -z '$(STRIP)'; then \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- install; \
- else \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- fi
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
-
-distclean: distclean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
- clean-generic clean-noinstLIBRARIES ctags distclean \
- distclean-compile distclean-generic distclean-tags dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- uninstall-am
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/newlib/libc/sys/tirtos/aclocal.m4 b/newlib/libc/sys/tirtos/aclocal.m4
deleted file mode 100644
index 18dab02..0000000
--- a/newlib/libc/sys/tirtos/aclocal.m4
+++ /dev/null
@@ -1,1012 +0,0 @@
-# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
-[m4_warning([this file was generated for autoconf 2.68.
-You have another version of autoconf. It may work, but is not guaranteed to.
-If you have problems, you may need to regenerate the build system entirely.
-To do so, use the procedure documented by the package, typically `autoreconf'.])])
-
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
-# Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.11'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.11.6], [],
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too. Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.6])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 9
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
-# 2010, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 12
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-#serial 5
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 16
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES(OBJC)],
- [define([AC_PROG_OBJC],
- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
-])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
-dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
-AC_CONFIG_COMMANDS_PRE(dnl
-[m4_provide_if([_AM_COMPILER_EXEEXT],
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-])
-
-dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
-dnl mangled by Autoconf and run in a shell conditional statement.
-m4_define([_AC_COMPILER_EXEEXT],
-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_arg=$1
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
-# Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-AC_SUBST(install_sh)])
-
-# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
-# From Jim Meyering
-
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_MAINTAINER_MODE([DEFAULT-MODE])
-# ----------------------------------
-# Control maintainer-specific portions of Makefiles.
-# Default is to disable them, unless `enable' is passed literally.
-# For symmetry, `disable' may be passed as well. Anyway, the user
-# can override the default with the --enable/--disable switch.
-AC_DEFUN([AM_MAINTAINER_MODE],
-[m4_case(m4_default([$1], [disable]),
- [enable], [m4_define([am_maintainer_other], [disable])],
- [disable], [m4_define([am_maintainer_other], [enable])],
- [m4_define([am_maintainer_other], [enable])
- m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- dnl maintainer-mode's default is 'disable' unless 'enable' is passed
- AC_ARG_ENABLE([maintainer-mode],
-[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
- (and sometimes confusing) to the casual installer],
- [USE_MAINTAINER_MODE=$enableval],
- [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
- MAINT=$MAINTAINER_MODE_TRUE
- AC_SUBST([MAINT])dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 4
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 6
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([missing])dnl
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
-# Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check for `mkdir -p'.
-AC_DEFUN([AM_PROG_MKDIR_P],
-[AC_PREREQ([2.60])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
-dnl while keeping a definition of mkdir_p for backward compatibility.
-dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
-dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
-dnl Makefile.ins that do not define MKDIR_P, so we do our own
-dnl adjustment using top_builddir (which is defined more often than
-dnl MKDIR_P).
-AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
-case $mkdir_p in
- [[\\/$]]* | ?:[[\\/]]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
-# Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# --------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 5
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[[\\\"\#\$\&\'\`$am_lf]]*)
- AC_MSG_ERROR([unsafe absolute working directory name]);;
-esac
-case $srcdir in
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
-esac
-
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 1
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 3
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 2
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of `v7', `ustar', or `pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AC_SUBST([AMTAR], ['$${TAR-tar}'])
-m4_if([$1], [v7],
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
- [m4_case([$1], [ustar],, [pax],,
- [m4_fatal([Unknown tar format])])
-AC_MSG_CHECKING([how to create a $1 tar archive])
-# Loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-_am_tools=${am_cv_prog_tar_$1-$_am_tools}
-# Do not fold the above two line into one, because Tru64 sh and
-# Solaris sh will not grok spaces in the rhs of `-'.
-for _am_tool in $_am_tools
-do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar;
- do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
-done
-rm -rf conftest.dir
-
-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
-AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([../../../acinclude.m4])
diff --git a/newlib/libc/sys/tirtos/configure b/newlib/libc/sys/tirtos/configure
deleted file mode 100755
index 7b9d62a..0000000
--- a/newlib/libc/sys/tirtos/configure
+++ /dev/null
@@ -1,4748 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for newlib 2.1.0.
-#
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-$0: including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='newlib'
-PACKAGE_TARNAME='newlib'
-PACKAGE_VERSION='2.1.0'
-PACKAGE_STRING='newlib 2.1.0'
-PACKAGE_BUGREPORT=''
-PACKAGE_URL=''
-
-ac_unique_file="lock.c"
-ac_subst_vars='LTLIBOBJS
-LIBOBJS
-sys_dir
-machine_dir
-libm_machine_dir
-lpfx
-aext
-oext
-OBJEXT
-USE_LIBTOOL_FALSE
-USE_LIBTOOL_TRUE
-ELIX_LEVEL_4_FALSE
-ELIX_LEVEL_4_TRUE
-ELIX_LEVEL_3_FALSE
-ELIX_LEVEL_3_TRUE
-ELIX_LEVEL_2_FALSE
-ELIX_LEVEL_2_TRUE
-ELIX_LEVEL_1_FALSE
-ELIX_LEVEL_1_TRUE
-ELIX_LEVEL_0_FALSE
-ELIX_LEVEL_0_TRUE
-LDFLAGS
-NO_INCLUDE_LIST
-NEWLIB_CFLAGS
-CCASFLAGS
-CCAS
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
-READELF
-RANLIB
-AR
-AS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-CC
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-host_os
-host_vendor
-host_cpu
-host
-build_os
-build_vendor
-build_cpu
-build
-newlib_basedir
-MAY_SUPPLY_SYSCALLS_FALSE
-MAY_SUPPLY_SYSCALLS_TRUE
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_multilib
-enable_target_optspace
-enable_malloc_debugging
-enable_newlib_multithread
-enable_newlib_iconv
-enable_newlib_elix_level
-enable_newlib_io_float
-enable_newlib_supplied_syscalls
-enable_dependency_tracking
-enable_maintainer_mode
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CCAS
-CCASFLAGS'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures newlib 2.1.0 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST cross-compile to build programs to run on HOST [BUILD]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of newlib 2.1.0:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-multilib build many library versions (default)
- --enable-target-optspace optimize for space
- --enable-malloc-debugging indicate malloc debugging requested
- --enable-newlib-multithread enable support for multiple threads
- --enable-newlib-iconv enable iconv library support
- --enable-newlib-elix-level supply desired elix library level (1-4)
- --disable-newlib-io-float disable printf/scanf family float support
- --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer
-
-Some influential environment variables:
- CCAS assembler compiler command (defaults to CC)
- CCASFLAGS assembler compiler flags (defaults to CFLAGS)
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to the package provider.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-newlib configure 2.1.0
-generated by GNU Autoconf 2.68
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by newlib $as_me 2.1.0, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-ac_aux_dir=
-for ac_dir in ../../../.. "$srcdir"/../../../..; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
-$as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$host_alias" = x; then
- ac_cv_host=$ac_cv_build
-else
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
-$as_echo "$ac_cv_host" >&6; }
-case $ac_cv_host in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
-esac
-host=$ac_cv_host
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_host
-shift
-host_cpu=$1
-host_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-host_os=$*
-IFS=$ac_save_IFS
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
-
-
-am__api_version='1.11'
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
-esac
-
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
-alias in your environment" "$LINENO" 5
- fi
-
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
- if ${ac_cv_path_mkdir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
- 'mkdir (coreutils) '* | \
- 'mkdir (fileutils) '4.1*)
- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- break 3;;
- esac
- done
- done
- done
-IFS=$as_save_IFS
-
-fi
-
- test -d ./--version && rmdir ./--version
- if test "${ac_cv_path_mkdir+set}" = set; then
- MKDIR_P="$ac_cv_path_mkdir -p"
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
- [\\/$]* | ?:[\\/]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from `make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-# Check whether --enable-multilib was given.
-if test "${enable_multilib+set}" = set; then :
- enableval=$enable_multilib; case "${enableval}" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
- esac
-else
- multilib=yes
-fi
-
-# Check whether --enable-target-optspace was given.
-if test "${enable_target_optspace+set}" = set; then :
- enableval=$enable_target_optspace; case "${enableval}" in
- yes) target_optspace=yes ;;
- no) target_optspace=no ;;
- *) as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
- esac
-else
- target_optspace=
-fi
-
-# Check whether --enable-malloc-debugging was given.
-if test "${enable_malloc_debugging+set}" = set; then :
- enableval=$enable_malloc_debugging; case "${enableval}" in
- yes) malloc_debugging=yes ;;
- no) malloc_debugging=no ;;
- *) as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
- esac
-else
- malloc_debugging=
-fi
-
-# Check whether --enable-newlib-multithread was given.
-if test "${enable_newlib_multithread+set}" = set; then :
- enableval=$enable_newlib_multithread; case "${enableval}" in
- yes) newlib_multithread=yes ;;
- no) newlib_multithread=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
- esac
-else
- newlib_multithread=yes
-fi
-
-# Check whether --enable-newlib-iconv was given.
-if test "${enable_newlib_iconv+set}" = set; then :
- enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
- case "${enableval}" in
- yes) newlib_iconv=yes ;;
- no) newlib_iconv=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
- esac
- fi
-else
- newlib_iconv=${newlib_iconv}
-fi
-
-# Check whether --enable-newlib-elix-level was given.
-if test "${enable_newlib_elix_level+set}" = set; then :
- enableval=$enable_newlib_elix_level; case "${enableval}" in
- 0) newlib_elix_level=0 ;;
- 1) newlib_elix_level=1 ;;
- 2) newlib_elix_level=2 ;;
- 3) newlib_elix_level=3 ;;
- 4) newlib_elix_level=4 ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
- esac
-else
- newlib_elix_level=0
-fi
-
-# Check whether --enable-newlib-io-float was given.
-if test "${enable_newlib_io_float+set}" = set; then :
- enableval=$enable_newlib_io_float; case "${enableval}" in
- yes) newlib_io_float=yes ;;
- no) newlib_io_float=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
- esac
-else
- newlib_io_float=yes
-fi
-
-# Check whether --enable-newlib-supplied-syscalls was given.
-if test "${enable_newlib_supplied_syscalls+set}" = set; then :
- enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
- yes) newlib_may_supply_syscalls=yes ;;
- no) newlib_may_supply_syscalls=no ;;
- *) as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
- esac
-else
- newlib_may_supply_syscalls=yes
-fi
-
- if test x${newlib_may_supply_syscalls} = xyes; then
- MAY_SUPPLY_SYSCALLS_TRUE=
- MAY_SUPPLY_SYSCALLS_FALSE='#'
-else
- MAY_SUPPLY_SYSCALLS_TRUE='#'
- MAY_SUPPLY_SYSCALLS_FALSE=
-fi
-
-
-
-test -z "${with_target_subdir}" && with_target_subdir=.
-
-if test "${srcdir}" = "."; then
- if test "${with_target_subdir}" != "."; then
- newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
- else
- newlib_basedir="${srcdir}/${with_multisrctop}../../.."
- fi
-else
- newlib_basedir="${srcdir}/../../.."
-fi
-
-
-
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- am__isrc=' -I$(srcdir)'
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='newlib'
- VERSION='2.1.0'
-
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
-
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-
-
-
-
-
-
-# FIXME: We temporarily define our own version of AC_PROG_CC. This is
-# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
-# are probably using a cross compiler, which will not be able to fully
-# link an executable. This should really be fixed in autoconf
-# itself.
-
-
-
-
-
-
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok `-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
-$as_echo_n "checking whether we are using GNU C... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
-#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_c_compiler_gnu=yes
-else
- ac_cv_c_compiler_gnu=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-
-if test $ac_cv_c_compiler_gnu = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- elif test $ac_cv_prog_cc_g = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-O2"
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
-set dummy ${ac_tool_prefix}as; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AS+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AS"; then
- ac_cv_prog_AS="$AS" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AS="${ac_tool_prefix}as"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AS=$ac_cv_prog_AS
-if test -n "$AS"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
-$as_echo "$AS" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_AS"; then
- ac_ct_AS=$AS
- # Extract the first word of "as", so it can be a program name with args.
-set dummy as; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AS+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_AS"; then
- ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_AS="as"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AS=$ac_cv_prog_ac_ct_AS
-if test -n "$ac_ct_AS"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
-$as_echo "$ac_ct_AS" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_AS" = x; then
- AS=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- AS=$ac_ct_AS
- fi
-else
- AS="$ac_cv_prog_AS"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AR"; then
- ac_cv_prog_AR="$AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_AR="${ac_tool_prefix}ar"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AR=$ac_cv_prog_AR
-if test -n "$AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
-$as_echo "$AR" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_AR"; then
- ac_ct_AR=$AR
- # Extract the first word of "ar", so it can be a program name with args.
-set dummy ar; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AR+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_AR"; then
- ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_AR="ar"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_AR=$ac_cv_prog_ac_ct_AR
-if test -n "$ac_ct_AR"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
-$as_echo "$ac_ct_AR" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_AR" = x; then
- AR=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- AR=$ac_ct_AR
- fi
-else
- AR="$ac_cv_prog_AR"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
-set dummy ${ac_tool_prefix}readelf; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_READELF+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$READELF"; then
- ac_cv_prog_READELF="$READELF" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_READELF="${ac_tool_prefix}readelf"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-READELF=$ac_cv_prog_READELF
-if test -n "$READELF"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
-$as_echo "$READELF" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_READELF"; then
- ac_ct_READELF=$READELF
- # Extract the first word of "readelf", so it can be a program name with args.
-set dummy readelf; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_READELF+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_READELF"; then
- ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_READELF="readelf"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
-if test -n "$ac_ct_READELF"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
-$as_echo "$ac_ct_READELF" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_READELF" = x; then
- READELF=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- READELF=$ac_ct_READELF
- fi
-else
- READELF="$ac_cv_prog_READELF"
-fi
-
-
-
-
-# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
-ac_given_INSTALL=$INSTALL
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
-
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-# By default we simply use the C compiler to build assembly code.
-
-test "${CCAS+set}" = set || CCAS=$CC
-test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
-
-
-
-
-# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
-# at least currently, we never actually build a program, so we never
-# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
-# fails, because we are probably configuring with a cross compiler
-# which can't create executables. So we include AC_EXEEXT to keep
-# automake happy, but we don't execute it, since we don't care about
-# the result.
-if false; then
-
- dummy_var=1
-fi
-
-. ${newlib_basedir}/configure.host
-
-newlib_cflags="${newlib_cflags} -fno-builtin"
-
-NEWLIB_CFLAGS=${newlib_cflags}
-
-
-NO_INCLUDE_LIST=${noinclude}
-
-
-LDFLAGS=${ldflags}
-
-
- if test x${newlib_elix_level} = x0; then
- ELIX_LEVEL_0_TRUE=
- ELIX_LEVEL_0_FALSE='#'
-else
- ELIX_LEVEL_0_TRUE='#'
- ELIX_LEVEL_0_FALSE=
-fi
-
- if test x${newlib_elix_level} = x1; then
- ELIX_LEVEL_1_TRUE=
- ELIX_LEVEL_1_FALSE='#'
-else
- ELIX_LEVEL_1_TRUE='#'
- ELIX_LEVEL_1_FALSE=
-fi
-
- if test x${newlib_elix_level} = x2; then
- ELIX_LEVEL_2_TRUE=
- ELIX_LEVEL_2_FALSE='#'
-else
- ELIX_LEVEL_2_TRUE='#'
- ELIX_LEVEL_2_FALSE=
-fi
-
- if test x${newlib_elix_level} = x3; then
- ELIX_LEVEL_3_TRUE=
- ELIX_LEVEL_3_FALSE='#'
-else
- ELIX_LEVEL_3_TRUE='#'
- ELIX_LEVEL_3_FALSE=
-fi
-
- if test x${newlib_elix_level} = x4; then
- ELIX_LEVEL_4_TRUE=
- ELIX_LEVEL_4_FALSE='#'
-else
- ELIX_LEVEL_4_TRUE='#'
- ELIX_LEVEL_4_FALSE=
-fi
-
-
- if test x${use_libtool} = xyes; then
- USE_LIBTOOL_TRUE=
- USE_LIBTOOL_FALSE='#'
-else
- USE_LIBTOOL_TRUE='#'
- USE_LIBTOOL_FALSE=
-fi
-
-
-# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
-# use oext, which is set in configure.host based on the target platform.
-OBJEXT=${oext}
-
-
-
-
-
-
-
-
-
-
-
-ac_config_files="$ac_config_files Makefile"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-:mline
-/\\$/{
- N
- s,\\\n,,
- b mline
-}
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
- as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
- as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
- as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -p'
- fi
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by newlib $as_me 2.1.0, which was
-generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Configuration commands:
-$config_commands
-
-Report bugs to the package provider."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-newlib config.status 2.1.0
-configured by $0, generated by GNU Autoconf 2.68,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2010 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
-
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
-
- print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-
-eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/newlib/libc/sys/tirtos/configure.in b/newlib/libc/sys/tirtos/configure.in
deleted file mode 100644
index 461301f..0000000
--- a/newlib/libc/sys/tirtos/configure.in
+++ /dev/null
@@ -1,14 +0,0 @@
-dnl This is the newlib/libc/sys/tirtos configure.in file.
-dnl Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.59)
-AC_INIT([newlib],[NEWLIB_VERSION])
-AC_CONFIG_SRCDIR([lock.c])
-
-dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
-AC_CONFIG_AUX_DIR(../../../..)
-
-NEWLIB_CONFIGURE(../../..)
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/newlib/libc/sys/tirtos/include/sys/lock.h b/newlib/libc/sys/tirtos/include/sys/lock.h
deleted file mode 100644
index 4f2f816..0000000
--- a/newlib/libc/sys/tirtos/include/sys/lock.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Copyright (c) 2014, Texas Instruments Incorporated
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef __SYS_LOCK_H__
-#define __SYS_LOCK_H__
-
-/*
- * Lock routines for TI-RTOS multi-threaded apps. The implementation
- * is provided by TI-RTOS kernel.
- */
-
-/*
- * Dummy semaphore structure of size 32 bytes. This will be
- * type casted to Semaphore_struct in TI-RTOS.
- */
-typedef struct {
- void *dummy[8];
-} __dummy_sem_t;
-
-typedef struct {
- __dummy_sem_t sem;
- unsigned char init_done;
-} __lock_mutex_t;
-
-typedef struct {
- void *owner;
- __dummy_sem_t sem;
- unsigned int count;
- unsigned char init_done;
-} __lock_recursive_mutex_t;
-
-typedef __lock_mutex_t _LOCK_T;
-typedef __lock_recursive_mutex_t _LOCK_RECURSIVE_T;
-
-#include <_ansi.h>
-
-#define __LOCK_INIT(class,lock) \
- class _LOCK_T lock = { .sem.dummy = {0, 0, 0, 0, 0, 0, 0, 0}, \
- .init_done = 0 }
-
-#define __LOCK_INIT_RECURSIVE(class,lock) \
- class _LOCK_RECURSIVE_T lock = { .owner = 0, \
- .sem.dummy = {0, 0, 0, 0, 0, 0, 0, 0}, .count = 0, \
- .init_done = 0 }
-
-extern void __libc_lock_init(_LOCK_T *lock);
-extern void __libc_lock_init_recursive(_LOCK_RECURSIVE_T *lock);
-extern void __libc_lock_close(_LOCK_T *lock);
-extern void __libc_lock_close_recursive(_LOCK_RECURSIVE_T *lock);
-extern void __libc_lock_acquire(_LOCK_T *lock);
-extern void __libc_lock_acquire_recursive(_LOCK_RECURSIVE_T *lock);
-extern void __libc_lock_release(_LOCK_T *lock);
-extern void __libc_lock_release_recursive(_LOCK_RECURSIVE_T *lock);
-
-/* Returns 0 for success and non-zero for failure */
-extern int __libc_lock_try_acquire(_LOCK_T *lock);
-extern int __libc_lock_try_acquire_recursive(_LOCK_RECURSIVE_T *lock);
-
-#define __lock_init(lock) \
- __libc_lock_init(&(lock))
-#define __lock_init_recursive(lock) \
- __libc_lock_init_recursive(&(lock))
-#define __lock_close(lock) \
- __libc_lock_close(&(lock))
-#define __lock_close_recursive(lock) \
- __libc_lock_close_recursive(&(lock))
-#define __lock_acquire(lock) \
- __libc_lock_acquire(&(lock))
-#define __lock_acquire_recursive(lock) \
- __libc_lock_acquire_recursive(&(lock))
-#define __lock_try_acquire(lock) \
- __libc_lock_try_acquire(&(lock))
-#define __lock_try_acquire_recursive(lock) \
- __libc_lock_try_acquire_recursive(&(lock))
-#define __lock_release(lock) \
- __libc_lock_release(&(lock))
-#define __lock_release_recursive(lock) \
- __libc_lock_release_recursive(&(lock))
-
-#endif /* __SYS_LOCK_H__ */
diff --git a/newlib/libc/sys/tirtos/lock.c b/newlib/libc/sys/tirtos/lock.c
deleted file mode 100644
index afd4d01..0000000
--- a/newlib/libc/sys/tirtos/lock.c
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2014, Texas Instruments Incorporated
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of Texas Instruments Incorporated nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-/*
- * ======== lock.c ========
- * TIRTOS provides an implementation for the sys/lock APIs if re-entrancy
- * support is enabled. If re-entrancy support is disabled or an app is built
- * without TIRTOS but using the libraries built for TIRTOS, these empty
- * stubs are required to succesfully link the app.
- */
-
-#include <sys/lock.h>
-
-/* Empty stubs for sys/lock APIs */
-
-void __libc_lock_init(_LOCK_T *lock)
-{
- return;
-}
-
-void __libc_lock_init_recursive(_LOCK_RECURSIVE_T *lock)
-{
- return;
-}
-
-void __libc_lock_close(_LOCK_T *lock)
-{
- return;
-}
-
-void __libc_lock_close_recursive(_LOCK_RECURSIVE_T *lock)
-{
- return;
-}
-
-void __libc_lock_acquire(_LOCK_T *lock)
-{
- return;
-}
-
-void __libc_lock_acquire_recursive(_LOCK_RECURSIVE_T *lock)
-{
- return;
-}
-
-void __libc_lock_release(_LOCK_T *lock)
-{
- return;
-}
-
-void __libc_lock_release_recursive(_LOCK_RECURSIVE_T *lock)\
-{
- return;
-}
-
-int __libc_lock_try_acquire(_LOCK_T *lock)
-{
- return -1;
-}
-
-int __libc_lock_try_acquire_recursive(_LOCK_RECURSIVE_T *lock)
-{
- return -1;
-}
diff --git a/texinfo/texinfo.tex b/texinfo/texinfo.tex
deleted file mode 100644
index 23a30bc..0000000
--- a/texinfo/texinfo.tex
+++ /dev/null
@@ -1,9291 +0,0 @@
-% texinfo.tex -- TeX macros to handle Texinfo files.
-%
-% Load plain if necessary, i.e., if running under initex.
-\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
-%
-\def\texinfoversion{2009-03-28.05}
-%
-% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
-% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-% 2007, 2008, 2009 Free Software Foundation, Inc.
-%
-% This texinfo.tex file is free software: you can redistribute it and/or
-% modify it under the terms of the GNU General Public License as
-% published by the Free Software Foundation, either version 3 of the
-% License, or (at your option) any later version.
-%
-% This texinfo.tex file is distributed in the hope that it will be
-% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
-% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-% General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with this program. If not, see <http://www.gnu.org/licenses/>.
-%
-% As a special exception, when this file is read by TeX when processing
-% a Texinfo source document, you may use the result without
-% restriction. (This has been our intent since Texinfo was invented.)
-%
-% Please try the latest version of texinfo.tex before submitting bug
-% reports; you can get the latest version from:
-% http://www.gnu.org/software/texinfo/ (the Texinfo home page), or
-% ftp://tug.org/tex/texinfo.tex
-% (and all CTAN mirrors, see http://www.ctan.org).
-% The texinfo.tex in any given distribution could well be out
-% of date, so if that's what you're using, please check.
-%
-% Send bug reports to bug-texinfo@gnu.org. Please include including a
-% complete document in each bug report with which we can reproduce the
-% problem. Patches are, of course, greatly appreciated.
-%
-% To process a Texinfo manual with TeX, it's most reliable to use the
-% texi2dvi shell script that comes with the distribution. For a simple
-% manual foo.texi, however, you can get away with this:
-% tex foo.texi
-% texindex foo.??
-% tex foo.texi
-% tex foo.texi
-% dvips foo.dvi -o # or whatever; this makes foo.ps.
-% The extra TeX runs get the cross-reference information correct.
-% Sometimes one run after texindex suffices, and sometimes you need more
-% than two; texi2dvi does it as many times as necessary.
-%
-% It is possible to adapt texinfo.tex for other languages, to some
-% extent. You can get the existing language-specific files from the
-% full Texinfo distribution.
-%
-% The GNU Texinfo home page is http://www.gnu.org/software/texinfo.
-
-
-\message{Loading texinfo [version \texinfoversion]:}
-
-% If in a .fmt file, print the version number
-% and turn on active characters that we couldn't do earlier because
-% they might have appeared in the input file name.
-\everyjob{\message{[Texinfo version \texinfoversion]}%
- \catcode`+=\active \catcode`\_=\active}
-
-
-\chardef\other=12
-
-% We never want plain's \outer definition of \+ in Texinfo.
-% For @tex, we can use \tabalign.
-\let\+ = \relax
-
-% Save some plain tex macros whose names we will redefine.
-\let\ptexb=\b
-\let\ptexbullet=\bullet
-\let\ptexc=\c
-\let\ptexcomma=\,
-\let\ptexdot=\.
-\let\ptexdots=\dots
-\let\ptexend=\end
-\let\ptexequiv=\equiv
-\let\ptexexclam=\!
-\let\ptexfootnote=\footnote
-\let\ptexgtr=>
-\let\ptexhat=^
-\let\ptexi=\i
-\let\ptexindent=\indent
-\let\ptexinsert=\insert
-\let\ptexlbrace=\{
-\let\ptexless=<
-\let\ptexnewwrite\newwrite
-\let\ptexnoindent=\noindent
-\let\ptexplus=+
-\let\ptexrbrace=\}
-\let\ptexslash=\/
-\let\ptexstar=\*
-\let\ptext=\t
-\let\ptextop=\top
-{\catcode`\'=\active
-\global\let\ptexquoteright'}% Math-mode def from plain.tex.
-\let\ptexraggedright=\raggedright
-
-% If this character appears in an error message or help string, it
-% starts a new line in the output.
-\newlinechar = `^^J
-
-% Use TeX 3.0's \inputlineno to get the line number, for better error
-% messages, but if we're using an old version of TeX, don't do anything.
-%
-\ifx\inputlineno\thisisundefined
- \let\linenumber = \empty % Pre-3.0.
-\else
- \def\linenumber{l.\the\inputlineno:\space}
-\fi
-
-% Set up fixed words for English if not already set.
-\ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi
-\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi
-\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi
-\ifx\putwordin\undefined \gdef\putwordin{in}\fi
-\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi
-\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi
-\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi
-\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi
-\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi
-\ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi
-\ifx\putwordof\undefined \gdef\putwordof{of}\fi
-\ifx\putwordon\undefined \gdef\putwordon{on}\fi
-\ifx\putwordpage\undefined \gdef\putwordpage{page}\fi
-\ifx\putwordsection\undefined \gdef\putwordsection{section}\fi
-\ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi
-\ifx\putwordsee\undefined \gdef\putwordsee{see}\fi
-\ifx\putwordSee\undefined \gdef\putwordSee{See}\fi
-\ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi
-\ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi
-%
-\ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi
-\ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi
-\ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi
-\ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi
-\ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi
-\ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi
-\ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi
-\ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi
-\ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi
-\ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi
-\ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi
-\ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi
-%
-\ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi
-\ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi
-\ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi
-\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi
-\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi
-
-% Since the category of space is not known, we have to be careful.
-\chardef\spacecat = 10
-\def\spaceisspace{\catcode`\ =\spacecat}
-
-% sometimes characters are active, so we need control sequences.
-\chardef\colonChar = `\:
-\chardef\commaChar = `\,
-\chardef\dashChar = `\-
-\chardef\dotChar = `\.
-\chardef\exclamChar= `\!
-\chardef\lquoteChar= `\`
-\chardef\questChar = `\?
-\chardef\rquoteChar= `\'
-\chardef\semiChar = `\;
-\chardef\underChar = `\_
-
-% Ignore a token.
-%
-\def\gobble#1{}
-
-% The following is used inside several \edef's.
-\def\makecsname#1{\expandafter\noexpand\csname#1\endcsname}
-
-% Hyphenation fixes.
-\hyphenation{
- Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script
- ap-pen-dix bit-map bit-maps
- data-base data-bases eshell fall-ing half-way long-est man-u-script
- man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm
- par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces
- spell-ing spell-ings
- stand-alone strong-est time-stamp time-stamps which-ever white-space
- wide-spread wrap-around
-}
-
-% Margin to add to right of even pages, to left of odd pages.
-\newdimen\bindingoffset
-\newdimen\normaloffset
-\newdimen\pagewidth \newdimen\pageheight
-
-% For a final copy, take out the rectangles
-% that mark overfull boxes (in case you have decided
-% that the text looks ok even though it passes the margin).
-%
-\def\finalout{\overfullrule=0pt}
-
-% @| inserts a changebar to the left of the current line. It should
-% surround any changed text. This approach does *not* work if the
-% change spans more than two lines of output. To handle that, we would
-% have adopt a much more difficult approach (putting marks into the main
-% vertical list for the beginning and end of each change).
-%
-\def\|{%
- % \vadjust can only be used in horizontal mode.
- \leavevmode
- %
- % Append this vertical mode material after the current line in the output.
- \vadjust{%
- % We want to insert a rule with the height and depth of the current
- % leading; that is exactly what \strutbox is supposed to record.
- \vskip-\baselineskip
- %
- % \vadjust-items are inserted at the left edge of the type. So
- % the \llap here moves out into the left-hand margin.
- \llap{%
- %
- % For a thicker or thinner bar, change the `1pt'.
- \vrule height\baselineskip width1pt
- %
- % This is the space between the bar and the text.
- \hskip 12pt
- }%
- }%
-}
-
-% Sometimes it is convenient to have everything in the transcript file
-% and nothing on the terminal. We don't just call \tracingall here,
-% since that produces some useless output on the terminal. We also make
-% some effort to order the tracing commands to reduce output in the log
-% file; cf. trace.sty in LaTeX.
-%
-\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}%
-\def\loggingall{%
- \tracingstats2
- \tracingpages1
- \tracinglostchars2 % 2 gives us more in etex
- \tracingparagraphs1
- \tracingoutput1
- \tracingmacros2
- \tracingrestores1
- \showboxbreadth\maxdimen \showboxdepth\maxdimen
- \ifx\eTeXversion\undefined\else % etex gives us more logging
- \tracingscantokens1
- \tracingifs1
- \tracinggroups1
- \tracingnesting2
- \tracingassigns1
- \fi
- \tracingcommands3 % 3 gives us more in etex
- \errorcontextlines16
-}%
-
-% add check for \lastpenalty to plain's definitions. If the last thing
-% we did was a \nobreak, we don't want to insert more space.
-%
-\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount
- \removelastskip\penalty-50\smallskip\fi\fi}
-\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount
- \removelastskip\penalty-100\medskip\fi\fi}
-\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount
- \removelastskip\penalty-200\bigskip\fi\fi}
-
-% For @cropmarks command.
-% Do @cropmarks to get crop marks.
-%
-\newif\ifcropmarks
-\let\cropmarks = \cropmarkstrue
-%
-% Dimensions to add cropmarks at corners.
-% Added by P. A. MacKay, 12 Nov. 1986
-%
-\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines
-\newdimen\cornerlong \cornerlong=1pc
-\newdimen\cornerthick \cornerthick=.3pt
-\newdimen\topandbottommargin \topandbottommargin=.75in
-
-% Output a mark which sets \thischapter, \thissection and \thiscolor.
-% We dump everything together because we only have one kind of mark.
-% This works because we only use \botmark / \topmark, not \firstmark.
-%
-% A mark contains a subexpression of the \ifcase ... \fi construct.
-% \get*marks macros below extract the needed part using \ifcase.
-%
-% Another complication is to let the user choose whether \thischapter
-% (\thissection) refers to the chapter (section) in effect at the top
-% of a page, or that at the bottom of a page. The solution is
-% described on page 260 of The TeXbook. It involves outputting two
-% marks for the sectioning macros, one before the section break, and
-% one after. I won't pretend I can describe this better than DEK...
-\def\domark{%
- \toks0=\expandafter{\lastchapterdefs}%
- \toks2=\expandafter{\lastsectiondefs}%
- \toks4=\expandafter{\prevchapterdefs}%
- \toks6=\expandafter{\prevsectiondefs}%
- \toks8=\expandafter{\lastcolordefs}%
- \mark{%
- \the\toks0 \the\toks2
- \noexpand\or \the\toks4 \the\toks6
- \noexpand\else \the\toks8
- }%
-}
-% \topmark doesn't work for the very first chapter (after the title
-% page or the contents), so we use \firstmark there -- this gets us
-% the mark with the chapter defs, unless the user sneaks in, e.g.,
-% @setcolor (or @url, or @link, etc.) between @contents and the very
-% first @chapter.
-\def\gettopheadingmarks{%
- \ifcase0\topmark\fi
- \ifx\thischapter\empty \ifcase0\firstmark\fi \fi
-}
-\def\getbottomheadingmarks{\ifcase1\botmark\fi}
-\def\getcolormarks{\ifcase2\topmark\fi}
-
-% Avoid "undefined control sequence" errors.
-\def\lastchapterdefs{}
-\def\lastsectiondefs{}
-\def\prevchapterdefs{}
-\def\prevsectiondefs{}
-\def\lastcolordefs{}
-
-% Main output routine.
-\chardef\PAGE = 255
-\output = {\onepageout{\pagecontents\PAGE}}
-
-\newbox\headlinebox
-\newbox\footlinebox
-
-% \onepageout takes a vbox as an argument. Note that \pagecontents
-% does insertions, but you have to call it yourself.
-\def\onepageout#1{%
- \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi
- %
- \ifodd\pageno \advance\hoffset by \bindingoffset
- \else \advance\hoffset by -\bindingoffset\fi
- %
- % Do this outside of the \shipout so @code etc. will be expanded in
- % the headline as they should be, not taken literally (outputting ''code).
- \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
- \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
- \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
- \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
- %
- {%
- % Have to do this stuff outside the \shipout because we want it to
- % take effect in \write's, yet the group defined by the \vbox ends
- % before the \shipout runs.
- %
- \indexdummies % don't expand commands in the output.
- \normalturnoffactive % \ in index entries must not stay \, e.g., if
- % the page break happens to be in the middle of an example.
- % We don't want .vr (or whatever) entries like this:
- % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}}
- % "\acronym" won't work when it's read back in;
- % it needs to be
- % {\code {{\tt \backslashcurfont }acronym}
- \shipout\vbox{%
- % Do this early so pdf references go to the beginning of the page.
- \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi
- %
- \ifcropmarks \vbox to \outervsize\bgroup
- \hsize = \outerhsize
- \vskip-\topandbottommargin
- \vtop to0pt{%
- \line{\ewtop\hfil\ewtop}%
- \nointerlineskip
- \line{%
- \vbox{\moveleft\cornerthick\nstop}%
- \hfill
- \vbox{\moveright\cornerthick\nstop}%
- }%
- \vss}%
- \vskip\topandbottommargin
- \line\bgroup
- \hfil % center the page within the outer (page) hsize.
- \ifodd\pageno\hskip\bindingoffset\fi
- \vbox\bgroup
- \fi
- %
- \unvbox\headlinebox
- \pagebody{#1}%
- \ifdim\ht\footlinebox > 0pt
- % Only leave this space if the footline is nonempty.
- % (We lessened \vsize for it in \oddfootingyyy.)
- % The \baselineskip=24pt in plain's \makefootline has no effect.
- \vskip 24pt
- \unvbox\footlinebox
- \fi
- %
- \ifcropmarks
- \egroup % end of \vbox\bgroup
- \hfil\egroup % end of (centering) \line\bgroup
- \vskip\topandbottommargin plus1fill minus1fill
- \boxmaxdepth = \cornerthick
- \vbox to0pt{\vss
- \line{%
- \vbox{\moveleft\cornerthick\nsbot}%
- \hfill
- \vbox{\moveright\cornerthick\nsbot}%
- }%
- \nointerlineskip
- \line{\ewbot\hfil\ewbot}%
- }%
- \egroup % \vbox from first cropmarks clause
- \fi
- }% end of \shipout\vbox
- }% end of group with \indexdummies
- \advancepageno
- \ifnum\outputpenalty>-20000 \else\dosupereject\fi
-}
-
-\newinsert\margin \dimen\margin=\maxdimen
-
-\def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}}
-{\catcode`\@ =11
-\gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi
-% marginal hacks, juha@viisa.uucp (Juha Takala)
-\ifvoid\margin\else % marginal info is present
- \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
-\dimen@=\dp#1\relax \unvbox#1\relax
-\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi
-\ifr@ggedbottom \kern-\dimen@ \vfil \fi}
-}
-
-% Here are the rules for the cropmarks. Note that they are
-% offset so that the space between them is truly \outerhsize or \outervsize
-% (P. A. MacKay, 12 November, 1986)
-%
-\def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong}
-\def\nstop{\vbox
- {\hrule height\cornerthick depth\cornerlong width\cornerthick}}
-\def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong}
-\def\nsbot{\vbox
- {\hrule height\cornerlong depth\cornerthick width\cornerthick}}
-
-% Parse an argument, then pass it to #1. The argument is the rest of
-% the input line (except we remove a trailing comment). #1 should be a
-% macro which expects an ordinary undelimited TeX argument.
-%
-\def\parsearg{\parseargusing{}}
-\def\parseargusing#1#2{%
- \def\argtorun{#2}%
- \begingroup
- \obeylines
- \spaceisspace
- #1%
- \parseargline\empty% Insert the \empty token, see \finishparsearg below.
-}
-
-{\obeylines %
- \gdef\parseargline#1^^M{%
- \endgroup % End of the group started in \parsearg.
- \argremovecomment #1\comment\ArgTerm%
- }%
-}
-
-% First remove any @comment, then any @c comment.
-\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
-\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
-
-% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
-%
-% \argremovec might leave us with trailing space, e.g.,
-% @end itemize @c foo
-% This space token undergoes the same procedure and is eventually removed
-% by \finishparsearg.
-%
-\def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M}
-\def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M}
-\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{%
- \def\temp{#3}%
- \ifx\temp\empty
- % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp:
- \let\temp\finishparsearg
- \else
- \let\temp\argcheckspaces
- \fi
- % Put the space token in:
- \temp#1 #3\ArgTerm
-}
-
-% If a _delimited_ argument is enclosed in braces, they get stripped; so
-% to get _exactly_ the rest of the line, we had to prevent such situation.
-% We prepended an \empty token at the very beginning and we expand it now,
-% just before passing the control to \argtorun.
-% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
-% either the null string, or it ends with \^^M---thus there is no danger
-% that a pair of braces would be stripped.
-%
-% But first, we have to remove the trailing space token.
-%
-\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}}
-
-% \parseargdef\foo{...}
-% is roughly equivalent to
-% \def\foo{\parsearg\Xfoo}
-% \def\Xfoo#1{...}
-%
-% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my
-% favourite TeX trick. --kasal, 16nov03
-
-\def\parseargdef#1{%
- \expandafter \doparseargdef \csname\string#1\endcsname #1%
-}
-\def\doparseargdef#1#2{%
- \def#2{\parsearg#1}%
- \def#1##1%
-}
-
-% Several utility definitions with active space:
-{
- \obeyspaces
- \gdef\obeyedspace{ }
-
- % Make each space character in the input produce a normal interword
- % space in the output. Don't allow a line break at this space, as this
- % is used only in environments like @example, where each line of input
- % should produce a line of output anyway.
- %
- \gdef\sepspaces{\obeyspaces\let =\tie}
-
- % If an index command is used in an @example environment, any spaces
- % therein should become regular spaces in the raw index file, not the
- % expansion of \tie (\leavevmode \penalty \@M \ ).
- \gdef\unsepspaces{\let =\space}
-}
-
-
-\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next}
-
-% Define the framework for environments in texinfo.tex. It's used like this:
-%
-% \envdef\foo{...}
-% \def\Efoo{...}
-%
-% It's the responsibility of \envdef to insert \begingroup before the
-% actual body; @end closes the group after calling \Efoo. \envdef also
-% defines \thisenv, so the current environment is known; @end checks
-% whether the environment name matches. The \checkenv macro can also be
-% used to check whether the current environment is the one expected.
-%
-% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
-% are not treated as environments; they don't open a group. (The
-% implementation of @end takes care not to call \endgroup in this
-% special case.)
-
-
-% At run-time, environments start with this:
-\def\startenvironment#1{\begingroup\def\thisenv{#1}}
-% initialize
-\let\thisenv\empty
-
-% ... but they get defined via ``\envdef\foo{...}'':
-\long\def\envdef#1#2{\def#1{\startenvironment#1#2}}
-\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}}
-
-% Check whether we're in the right environment:
-\def\checkenv#1{%
- \def\temp{#1}%
- \ifx\thisenv\temp
- \else
- \badenverr
- \fi
-}
-
-% Environment mismatch, #1 expected:
-\def\badenverr{%
- \errhelp = \EMsimple
- \errmessage{This command can appear only \inenvironment\temp,
- not \inenvironment\thisenv}%
-}
-\def\inenvironment#1{%
- \ifx#1\empty
- out of any environment%
- \else
- in environment \expandafter\string#1%
- \fi
-}
-
-% @end foo executes the definition of \Efoo.
-% But first, it executes a specialized version of \checkenv
-%
-\parseargdef\end{%
- \if 1\csname iscond.#1\endcsname
- \else
- % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03
- \expandafter\checkenv\csname#1\endcsname
- \csname E#1\endcsname
- \endgroup
- \fi
-}
-
-\newhelp\EMsimple{Press RETURN to continue.}
-
-
-%% Simple single-character @ commands
-
-% @@ prints an @
-% Kludge this until the fonts are right (grr).
-\def\@{{\tt\char64}}
-
-% This is turned off because it was never documented
-% and you can use @w{...} around a quote to suppress ligatures.
-%% Define @` and @' to be the same as ` and '
-%% but suppressing ligatures.
-%\def\`{{`}}
-%\def\'{{'}}
-
-% Used to generate quoted braces.
-\def\mylbrace {{\tt\char123}}
-\def\myrbrace {{\tt\char125}}
-\let\{=\mylbrace
-\let\}=\myrbrace
-\begingroup
- % Definitions to produce \{ and \} commands for indices,
- % and @{ and @} for the aux/toc files.
- \catcode`\{ = \other \catcode`\} = \other
- \catcode`\[ = 1 \catcode`\] = 2
- \catcode`\! = 0 \catcode`\\ = \other
- !gdef!lbracecmd[\{]%
- !gdef!rbracecmd[\}]%
- !gdef!lbraceatcmd[@{]%
- !gdef!rbraceatcmd[@}]%
-!endgroup
-
-% @comma{} to avoid , parsing problems.
-\let\comma = ,
-
-% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent
-% Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
-\let\, = \c
-\let\dotaccent = \.
-\def\ringaccent#1{{\accent23 #1}}
-\let\tieaccent = \t
-\let\ubaraccent = \b
-\let\udotaccent = \d
-
-% Other special characters: @questiondown @exclamdown @ordf @ordm
-% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
-\def\questiondown{?`}
-\def\exclamdown{!`}
-\def\ordf{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{a}}}
-\def\ordm{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{o}}}
-
-% Dotless i and dotless j, used for accents.
-\def\imacro{i}
-\def\jmacro{j}
-\def\dotless#1{%
- \def\temp{#1}%
- \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi
- \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi
- \else \errmessage{@dotless can be used only with i or j}%
- \fi\fi
-}
-
-% The \TeX{} logo, as in plain, but resetting the spacing so that a
-% period following counts as ending a sentence. (Idea found in latex.)
-%
-\edef\TeX{\TeX \spacefactor=1000 }
-
-% @LaTeX{} logo. Not quite the same results as the definition in
-% latex.ltx, since we use a different font for the raised A; it's most
-% convenient for us to use an explicitly smaller font, rather than using
-% the \scriptstyle font (since we don't reset \scriptstyle and
-% \scriptscriptstyle).
-%
-\def\LaTeX{%
- L\kern-.36em
- {\setbox0=\hbox{T}%
- \vbox to \ht0{\hbox{\selectfonts\lllsize A}\vss}}%
- \kern-.15em
- \TeX
-}
-
-% Be sure we're in horizontal mode when doing a tie, since we make space
-% equivalent to this in @example-like environments. Otherwise, a space
-% at the beginning of a line will start with \penalty -- and
-% since \penalty is valid in vertical mode, we'd end up putting the
-% penalty on the vertical list instead of in the new paragraph.
-{\catcode`@ = 11
- % Avoid using \@M directly, because that causes trouble
- % if the definition is written into an index file.
- \global\let\tiepenalty = \@M
- \gdef\tie{\leavevmode\penalty\tiepenalty\ }
-}
-
-% @: forces normal size whitespace following.
-\def\:{\spacefactor=1000 }
-
-% @* forces a line break.
-\def\*{\hfil\break\hbox{}\ignorespaces}
-
-% @/ allows a line break.
-\let\/=\allowbreak
-
-% @. is an end-of-sentence period.
-\def\.{.\spacefactor=\endofsentencespacefactor\space}
-
-% @! is an end-of-sentence bang.
-\def\!{!\spacefactor=\endofsentencespacefactor\space}
-
-% @? is an end-of-sentence query.
-\def\?{?\spacefactor=\endofsentencespacefactor\space}
-
-% @frenchspacing on|off says whether to put extra space after punctuation.
-%
-\def\onword{on}
-\def\offword{off}
-%
-\parseargdef\frenchspacing{%
- \def\temp{#1}%
- \ifx\temp\onword \plainfrenchspacing
- \else\ifx\temp\offword \plainnonfrenchspacing
- \else
- \errhelp = \EMsimple
- \errmessage{Unknown @frenchspacing option `\temp', must be on/off}%
- \fi\fi
-}
-
-% @w prevents a word break. Without the \leavevmode, @w at the
-% beginning of a paragraph, when TeX is still in vertical mode, would
-% produce a whole line of output instead of starting the paragraph.
-\def\w#1{\leavevmode\hbox{#1}}
-
-% @group ... @end group forces ... to be all on one page, by enclosing
-% it in a TeX vbox. We use \vtop instead of \vbox to construct the box
-% to keep its height that of a normal line. According to the rules for
-% \topskip (p.114 of the TeXbook), the glue inserted is
-% max (\topskip - \ht (first item), 0). If that height is large,
-% therefore, no glue is inserted, and the space between the headline and
-% the text is small, which looks bad.
-%
-% Another complication is that the group might be very large. This can
-% cause the glue on the previous page to be unduly stretched, because it
-% does not have much material. In this case, it's better to add an
-% explicit \vfill so that the extra space is at the bottom. The
-% threshold for doing this is if the group is more than \vfilllimit
-% percent of a page (\vfilllimit can be changed inside of @tex).
-%
-\newbox\groupbox
-\def\vfilllimit{0.7}
-%
-\envdef\group{%
- \ifnum\catcode`\^^M=\active \else
- \errhelp = \groupinvalidhelp
- \errmessage{@group invalid in context where filling is enabled}%
- \fi
- \startsavinginserts
- %
- \setbox\groupbox = \vtop\bgroup
- % Do @comment since we are called inside an environment such as
- % @example, where each end-of-line in the input causes an
- % end-of-line in the output. We don't want the end-of-line after
- % the `@group' to put extra space in the output. Since @group
- % should appear on a line by itself (according to the Texinfo
- % manual), we don't worry about eating any user text.
- \comment
-}
-%
-% The \vtop produces a box with normal height and large depth; thus, TeX puts
-% \baselineskip glue before it, and (when the next line of text is done)
-% \lineskip glue after it. Thus, space below is not quite equal to space
-% above. But it's pretty close.
-\def\Egroup{%
- % To get correct interline space between the last line of the group
- % and the first line afterwards, we have to propagate \prevdepth.
- \endgraf % Not \par, as it may have been set to \lisppar.
- \global\dimen1 = \prevdepth
- \egroup % End the \vtop.
- % \dimen0 is the vertical size of the group's box.
- \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox
- % \dimen2 is how much space is left on the page (more or less).
- \dimen2 = \pageheight \advance\dimen2 by -\pagetotal
- % if the group doesn't fit on the current page, and it's a big big
- % group, force a page break.
- \ifdim \dimen0 > \dimen2
- \ifdim \pagetotal < \vfilllimit\pageheight
- \page
- \fi
- \fi
- \box\groupbox
- \prevdepth = \dimen1
- \checkinserts
-}
-%
-% TeX puts in an \escapechar (i.e., `@') at the beginning of the help
-% message, so this ends up printing `@group can only ...'.
-%
-\newhelp\groupinvalidhelp{%
-group can only be used in environments such as @example,^^J%
-where each line of input produces a line of output.}
-
-% @need space-in-mils
-% forces a page break if there is not space-in-mils remaining.
-
-\newdimen\mil \mil=0.001in
-
-% Old definition--didn't work.
-%\parseargdef\need{\par %
-%% This method tries to make TeX break the page naturally
-%% if the depth of the box does not fit.
-%{\baselineskip=0pt%
-%\vtop to #1\mil{\vfil}\kern -#1\mil\nobreak
-%\prevdepth=-1000pt
-%}}
-
-\parseargdef\need{%
- % Ensure vertical mode, so we don't make a big box in the middle of a
- % paragraph.
- \par
- %
- % If the @need value is less than one line space, it's useless.
- \dimen0 = #1\mil
- \dimen2 = \ht\strutbox
- \advance\dimen2 by \dp\strutbox
- \ifdim\dimen0 > \dimen2
- %
- % Do a \strut just to make the height of this box be normal, so the
- % normal leading is inserted relative to the preceding line.
- % And a page break here is fine.
- \vtop to #1\mil{\strut\vfil}%
- %
- % TeX does not even consider page breaks if a penalty added to the
- % main vertical list is 10000 or more. But in order to see if the
- % empty box we just added fits on the page, we must make it consider
- % page breaks. On the other hand, we don't want to actually break the
- % page after the empty box. So we use a penalty of 9999.
- %
- % There is an extremely small chance that TeX will actually break the
- % page at this \penalty, if there are no other feasible breakpoints in
- % sight. (If the user is using lots of big @group commands, which
- % almost-but-not-quite fill up a page, TeX will have a hard time doing
- % good page breaking, for example.) However, I could not construct an
- % example where a page broke at this \penalty; if it happens in a real
- % document, then we can reconsider our strategy.
- \penalty9999
- %
- % Back up by the size of the box, whether we did a page break or not.
- \kern -#1\mil
- %
- % Do not allow a page break right after this kern.
- \nobreak
- \fi
-}
-
-% @br forces paragraph break (and is undocumented).
-
-\let\br = \par
-
-% @page forces the start of a new page.
-%
-\def\page{\par\vfill\supereject}
-
-% @exdent text....
-% outputs text on separate line in roman font, starting at standard page margin
-
-% This records the amount of indent in the innermost environment.
-% That's how much \exdent should take out.
-\newskip\exdentamount
-
-% This defn is used inside fill environments such as @defun.
-\parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break}
-
-% This defn is used inside nofill environments such as @example.
-\parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount
- \leftline{\hskip\leftskip{\rm#1}}}}
-
-% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current
-% paragraph. For more general purposes, use the \margin insertion
-% class. WHICH is `l' or `r'.
-%
-\newskip\inmarginspacing \inmarginspacing=1cm
-\def\strutdepth{\dp\strutbox}
-%
-\def\doinmargin#1#2{\strut\vadjust{%
- \nobreak
- \kern-\strutdepth
- \vtop to \strutdepth{%
- \baselineskip=\strutdepth
- \vss
- % if you have multiple lines of stuff to put here, you'll need to
- % make the vbox yourself of the appropriate size.
- \ifx#1l%
- \llap{\ignorespaces #2\hskip\inmarginspacing}%
- \else
- \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
- \fi
- \null
- }%
-}}
-\def\inleftmargin{\doinmargin l}
-\def\inrightmargin{\doinmargin r}
-%
-% @inmargin{TEXT [, RIGHT-TEXT]}
-% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right;
-% else use TEXT for both).
-%
-\def\inmargin#1{\parseinmargin #1,,\finish}
-\def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing.
- \setbox0 = \hbox{\ignorespaces #2}%
- \ifdim\wd0 > 0pt
- \def\lefttext{#1}% have both texts
- \def\righttext{#2}%
- \else
- \def\lefttext{#1}% have only one text
- \def\righttext{#1}%
- \fi
- %
- \ifodd\pageno
- \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin
- \else
- \def\temp{\inleftmargin\lefttext}%
- \fi
- \temp
-}
-
-% @include FILE -- \input text of FILE.
-%
-\def\include{\parseargusing\filenamecatcodes\includezzz}
-\def\includezzz#1{%
- \pushthisfilestack
- \def\thisfile{#1}%
- {%
- \makevalueexpandable % we want to expand any @value in FILE.
- \turnoffactive % and allow special characters in the expansion
- \indexnofonts % Allow `@@' and other weird things in file names.
- \edef\temp{\noexpand\input #1 }%
- %
- % This trickery is to read FILE outside of a group, in case it makes
- % definitions, etc.
- \expandafter
- }\temp
- \popthisfilestack
-}
-\def\filenamecatcodes{%
- \catcode`\\=\other
- \catcode`~=\other
- \catcode`^=\other
- \catcode`_=\other
- \catcode`|=\other
- \catcode`<=\other
- \catcode`>=\other
- \catcode`+=\other
- \catcode`-=\other
- \catcode`\`=\other
- \catcode`\'=\other
-}
-
-\def\pushthisfilestack{%
- \expandafter\pushthisfilestackX\popthisfilestack\StackTerm
-}
-\def\pushthisfilestackX{%
- \expandafter\pushthisfilestackY\thisfile\StackTerm
-}
-\def\pushthisfilestackY #1\StackTerm #2\StackTerm {%
- \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}%
-}
-
-\def\popthisfilestack{\errthisfilestackempty}
-\def\errthisfilestackempty{\errmessage{Internal error:
- the stack of filenames is empty.}}
-
-\def\thisfile{}
-
-% @center line
-% outputs that line, centered.
-%
-\parseargdef\center{%
- \ifhmode
- \let\next\centerH
- \else
- \let\next\centerV
- \fi
- \next{\hfil \ignorespaces#1\unskip \hfil}%
-}
-\def\centerH#1{%
- {%
- \hfil\break
- \advance\hsize by -\leftskip
- \advance\hsize by -\rightskip
- \line{#1}%
- \break
- }%
-}
-\def\centerV#1{\line{\kern\leftskip #1\kern\rightskip}}
-
-% @sp n outputs n lines of vertical space
-
-\parseargdef\sp{\vskip #1\baselineskip}
-
-% @comment ...line which is ignored...
-% @c is the same as @comment
-% @ignore ... @end ignore is another way to write a comment
-
-\def\comment{\begingroup \catcode`\^^M=\other%
-\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other%
-\commentxxx}
-{\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}}
-
-\let\c=\comment
-
-% @paragraphindent NCHARS
-% We'll use ems for NCHARS, close enough.
-% NCHARS can also be the word `asis' or `none'.
-% We cannot feasibly implement @paragraphindent asis, though.
-%
-\def\asisword{asis} % no translation, these are keywords
-\def\noneword{none}
-%
-\parseargdef\paragraphindent{%
- \def\temp{#1}%
- \ifx\temp\asisword
- \else
- \ifx\temp\noneword
- \defaultparindent = 0pt
- \else
- \defaultparindent = #1em
- \fi
- \fi
- \parindent = \defaultparindent
-}
-
-% @exampleindent NCHARS
-% We'll use ems for NCHARS like @paragraphindent.
-% It seems @exampleindent asis isn't necessary, but
-% I preserve it to make it similar to @paragraphindent.
-\parseargdef\exampleindent{%
- \def\temp{#1}%
- \ifx\temp\asisword
- \else
- \ifx\temp\noneword
- \lispnarrowing = 0pt
- \else
- \lispnarrowing = #1em
- \fi
- \fi
-}
-
-% @firstparagraphindent WORD
-% If WORD is `none', then suppress indentation of the first paragraph
-% after a section heading. If WORD is `insert', then do indent at such
-% paragraphs.
-%
-% The paragraph indentation is suppressed or not by calling
-% \suppressfirstparagraphindent, which the sectioning commands do.
-% We switch the definition of this back and forth according to WORD.
-% By default, we suppress indentation.
-%
-\def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent}
-\def\insertword{insert}
-%
-\parseargdef\firstparagraphindent{%
- \def\temp{#1}%
- \ifx\temp\noneword
- \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent
- \else\ifx\temp\insertword
- \let\suppressfirstparagraphindent = \relax
- \else
- \errhelp = \EMsimple
- \errmessage{Unknown @firstparagraphindent option `\temp'}%
- \fi\fi
-}
-
-% Here is how we actually suppress indentation. Redefine \everypar to
-% \kern backwards by \parindent, and then reset itself to empty.
-%
-% We also make \indent itself not actually do anything until the next
-% paragraph.
-%
-\gdef\dosuppressfirstparagraphindent{%
- \gdef\indent{%
- \restorefirstparagraphindent
- \indent
- }%
- \gdef\noindent{%
- \restorefirstparagraphindent
- \noindent
- }%
- \global\everypar = {%
- \kern -\parindent
- \restorefirstparagraphindent
- }%
-}
-
-\gdef\restorefirstparagraphindent{%
- \global \let \indent = \ptexindent
- \global \let \noindent = \ptexnoindent
- \global \everypar = {}%
-}
-
-
-% @asis just yields its argument. Used with @table, for example.
-%
-\def\asis#1{#1}
-
-% @math outputs its argument in math mode.
-%
-% One complication: _ usually means subscripts, but it could also mean
-% an actual _ character, as in @math{@var{some_variable} + 1}. So make
-% _ active, and distinguish by seeing if the current family is \slfam,
-% which is what @var uses.
-{
- \catcode`\_ = \active
- \gdef\mathunderscore{%
- \catcode`\_=\active
- \def_{\ifnum\fam=\slfam \_\else\sb\fi}%
- }
-}
-% Another complication: we want \\ (and @\) to output a \ character.
-% FYI, plain.tex uses \\ as a temporary control sequence (why?), but
-% this is not advertised and we don't care. Texinfo does not
-% otherwise define @\.
-%
-% The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\.
-\def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi}
-%
-\def\math{%
- \tex
- \mathunderscore
- \let\\ = \mathbackslash
- \mathactive
- % make the texinfo accent commands work in math mode
- \let\"=\ddot
- \let\'=\acute
- \let\==\bar
- \let\^=\hat
- \let\`=\grave
- \let\u=\breve
- \let\v=\check
- \let\~=\tilde
- \let\dotaccent=\dot
- $\finishmath
-}
-\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
-
-% Some active characters (such as <) are spaced differently in math.
-% We have to reset their definitions in case the @math was an argument
-% to a command which sets the catcodes (such as @item or @section).
-%
-{
- \catcode`^ = \active
- \catcode`< = \active
- \catcode`> = \active
- \catcode`+ = \active
- \catcode`' = \active
- \gdef\mathactive{%
- \let^ = \ptexhat
- \let< = \ptexless
- \let> = \ptexgtr
- \let+ = \ptexplus
- \let' = \ptexquoteright
- }
-}
-
-% Some math mode symbols.
-\def\bullet{$\ptexbullet$}
-\def\geq{\ifmmode \ge\else $\ge$\fi}
-\def\leq{\ifmmode \le\else $\le$\fi}
-\def\minus{\ifmmode -\else $-$\fi}
-
-% @dots{} outputs an ellipsis using the current font.
-% We do .5em per period so that it has the same spacing in the cm
-% typewriter fonts as three actual period characters; on the other hand,
-% in other typewriter fonts three periods are wider than 1.5em. So do
-% whichever is larger.
-%
-\def\dots{%
- \leavevmode
- \setbox0=\hbox{...}% get width of three periods
- \ifdim\wd0 > 1.5em
- \dimen0 = \wd0
- \else
- \dimen0 = 1.5em
- \fi
- \hbox to \dimen0{%
- \hskip 0pt plus.25fil
- .\hskip 0pt plus1fil
- .\hskip 0pt plus1fil
- .\hskip 0pt plus.5fil
- }%
-}
-
-% @enddots{} is an end-of-sentence ellipsis.
-%
-\def\enddots{%
- \dots
- \spacefactor=\endofsentencespacefactor
-}
-
-% @comma{} is so commas can be inserted into text without messing up
-% Texinfo's parsing.
-%
-\let\comma = ,
-
-% @refill is a no-op.
-\let\refill=\relax
-
-% If working on a large document in chapters, it is convenient to
-% be able to disable indexing, cross-referencing, and contents, for test runs.
-% This is done with @novalidate (before @setfilename).
-%
-\newif\iflinks \linkstrue % by default we want the aux files.
-\let\novalidate = \linksfalse
-
-% @setfilename is done at the beginning of every texinfo file.
-% So open here the files we need to have open while reading the input.
-% This makes it possible to make a .fmt file for texinfo.
-\def\setfilename{%
- \fixbackslash % Turn off hack to swallow `\input texinfo'.
- \iflinks
- \tryauxfile
- % Open the new aux file. TeX will close it automatically at exit.
- \immediate\openout\auxfile=\jobname.aux
- \fi % \openindices needs to do some work in any case.
- \openindices
- \let\setfilename=\comment % Ignore extra @setfilename cmds.
- %
- % If texinfo.cnf is present on the system, read it.
- % Useful for site-wide @afourpaper, etc.
- \openin 1 texinfo.cnf
- \ifeof 1 \else \input texinfo.cnf \fi
- \closein 1
- %
- \comment % Ignore the actual filename.
-}
-
-% Called from \setfilename.
-%
-\def\openindices{%
- \newindex{cp}%
- \newcodeindex{fn}%
- \newcodeindex{vr}%
- \newcodeindex{tp}%
- \newcodeindex{ky}%
- \newcodeindex{pg}%
-}
-
-% @bye.
-\outer\def\bye{\pagealignmacro\tracingstats=1\ptexend}
-
-
-\message{pdf,}
-% adobe `portable' document format
-\newcount\tempnum
-\newcount\lnkcount
-\newtoks\filename
-\newcount\filenamelength
-\newcount\pgn
-\newtoks\toksA
-\newtoks\toksB
-\newtoks\toksC
-\newtoks\toksD
-\newbox\boxA
-\newcount\countA
-\newif\ifpdf
-\newif\ifpdfmakepagedest
-
-% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
-% can be set). So we test for \relax and 0 as well as \undefined,
-% borrowed from ifpdf.sty.
-\ifx\pdfoutput\undefined
-\else
- \ifx\pdfoutput\relax
- \else
- \ifcase\pdfoutput
- \else
- \pdftrue
- \fi
- \fi
-\fi
-
-% PDF uses PostScript string constants for the names of xref targets,
-% for display in the outlines, and in other places. Thus, we have to
-% double any backslashes. Otherwise, a name like "\node" will be
-% interpreted as a newline (\n), followed by o, d, e. Not good.
-% http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html
-% (and related messages, the final outcome is that it is up to the TeX
-% user to double the backslashes and otherwise make the string valid, so
-% that's what we do).
-
-% double active backslashes.
-%
-{\catcode`\@=0 \catcode`\\=\active
- @gdef@activebackslashdouble{%
- @catcode`@\=@active
- @let\=@doublebackslash}
-}
-
-% To handle parens, we must adopt a different approach, since parens are
-% not active characters. hyperref.dtx (which has the same problem as
-% us) handles it with this amazing macro to replace tokens, with minor
-% changes for Texinfo. It is included here under the GPL by permission
-% from the author, Heiko Oberdiek.
-%
-% #1 is the tokens to replace.
-% #2 is the replacement.
-% #3 is the control sequence with the string.
-%
-\def\HyPsdSubst#1#2#3{%
- \def\HyPsdReplace##1#1##2\END{%
- ##1%
- \ifx\\##2\\%
- \else
- #2%
- \HyReturnAfterFi{%
- \HyPsdReplace##2\END
- }%
- \fi
- }%
- \xdef#3{\expandafter\HyPsdReplace#3#1\END}%
-}
-\long\def\HyReturnAfterFi#1\fi{\fi#1}
-
-% #1 is a control sequence in which to do the replacements.
-\def\backslashparens#1{%
- \xdef#1{#1}% redefine it as its expansion; the definition is simply
- % \lastnode when called from \setref -> \pdfmkdest.
- \HyPsdSubst{(}{\realbackslash(}{#1}%
- \HyPsdSubst{)}{\realbackslash)}{#1}%
-}
-
-\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
-with PDF output, and none of those formats could be found. (.eps cannot
-be supported due to the design of the PDF format; use regular TeX (DVI
-output) for that.)}
-
-\ifpdf
- %
- % Color manipulation macros based on pdfcolor.tex.
- \def\cmykDarkRed{0.28 1 1 0.35}
- \def\cmykBlack{0 0 0 1}
- %
- % k sets the color for filling (usual text, etc.);
- % K sets the color for stroking (thin rules, e.g., normal _'s).
- \def\pdfsetcolor#1{\pdfliteral{#1 k #1 K}}
- %
- % Set color, and create a mark which defines \thiscolor accordingly,
- % so that \makeheadline knows which color to restore.
- \def\setcolor#1{%
- \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}%
- \domark
- \pdfsetcolor{#1}%
- }
- %
- \def\maincolor{\cmykBlack}
- \pdfsetcolor{\maincolor}
- \edef\thiscolor{\maincolor}
- \def\lastcolordefs{}
- %
- \def\makefootline{%
- \baselineskip24pt
- \line{\pdfsetcolor{\maincolor}\the\footline}%
- }
- %
- \def\makeheadline{%
- \vbox to 0pt{%
- \vskip-22.5pt
- \line{%
- \vbox to8.5pt{}%
- % Extract \thiscolor definition from the marks.
- \getcolormarks
- % Typeset the headline with \maincolor, then restore the color.
- \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}%
- }%
- \vss
- }%
- \nointerlineskip
- }
- %
- %
- \pdfcatalog{/PageMode /UseOutlines}
- %
- % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
- \def\dopdfimage#1#2#3{%
- \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
- \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
- %
- % pdftex (and the PDF format) support .png, .jpg, .pdf (among
- % others). Let's try in that order.
- \let\pdfimgext=\empty
- \begingroup
- \openin 1 #1.png \ifeof 1
- \openin 1 #1.jpg \ifeof 1
- \openin 1 #1.jpeg \ifeof 1
- \openin 1 #1.JPG \ifeof 1
- \openin 1 #1.pdf \ifeof 1
- \openin 1 #1.PDF \ifeof 1
- \errhelp = \nopdfimagehelp
- \errmessage{Could not find image file #1 for pdf}%
- \else \gdef\pdfimgext{PDF}%
- \fi
- \else \gdef\pdfimgext{pdf}%
- \fi
- \else \gdef\pdfimgext{JPG}%
- \fi
- \else \gdef\pdfimgext{jpeg}%
- \fi
- \else \gdef\pdfimgext{jpg}%
- \fi
- \else \gdef\pdfimgext{png}%
- \fi
- \closein 1
- \endgroup
- %
- % without \immediate, ancient pdftex seg faults when the same image is
- % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.)
- \ifnum\pdftexversion < 14
- \immediate\pdfimage
- \else
- \immediate\pdfximage
- \fi
- \ifdim \wd0 >0pt width \imagewidth \fi
- \ifdim \wd2 >0pt height \imageheight \fi
- \ifnum\pdftexversion<13
- #1.\pdfimgext
- \else
- {#1.\pdfimgext}%
- \fi
- \ifnum\pdftexversion < 14 \else
- \pdfrefximage \pdflastximage
- \fi}
- %
- \def\pdfmkdest#1{{%
- % We have to set dummies so commands such as @code, and characters
- % such as \, aren't expanded when present in a section title.
- \indexnofonts
- \turnoffactive
- \activebackslashdouble
- \makevalueexpandable
- \def\pdfdestname{#1}%
- \backslashparens\pdfdestname
- \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
- }}
- %
- % used to mark target names; must be expandable.
- \def\pdfmkpgn#1{#1}
- %
- % by default, use a color that is dark enough to print on paper as
- % nearly black, but still distinguishable for online viewing.
- \def\urlcolor{\cmykDarkRed}
- \def\linkcolor{\cmykDarkRed}
- \def\endlink{\setcolor{\maincolor}\pdfendlink}
- %
- % Adding outlines to PDF; macros for calculating structure of outlines
- % come from Petr Olsak
- \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%
- \else \csname#1\endcsname \fi}
- \def\advancenumber#1{\tempnum=\expnumber{#1}\relax
- \advance\tempnum by 1
- \expandafter\xdef\csname#1\endcsname{\the\tempnum}}
- %
- % #1 is the section text, which is what will be displayed in the
- % outline by the pdf viewer. #2 is the pdf expression for the number
- % of subentries (or empty, for subsubsections). #3 is the node text,
- % which might be empty if this toc entry had no corresponding node.
- % #4 is the page number
- %
- \def\dopdfoutline#1#2#3#4{%
- % Generate a link to the node text if that exists; else, use the
- % page number. We could generate a destination for the section
- % text in the case where a section has no node, but it doesn't
- % seem worth the trouble, since most documents are normally structured.
- \def\pdfoutlinedest{#3}%
- \ifx\pdfoutlinedest\empty
- \def\pdfoutlinedest{#4}%
- \else
- % Doubled backslashes in the name.
- {\activebackslashdouble \xdef\pdfoutlinedest{#3}%
- \backslashparens\pdfoutlinedest}%
- \fi
- %
- % Also double the backslashes in the display string.
- {\activebackslashdouble \xdef\pdfoutlinetext{#1}%
- \backslashparens\pdfoutlinetext}%
- %
- \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}%
- }
- %
- \def\pdfmakeoutlines{%
- \begingroup
- % Thanh's hack / proper braces in bookmarks
- \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace
- \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace
- %
- % Read toc silently, to get counts of subentries for \pdfoutline.
- \def\numchapentry##1##2##3##4{%
- \def\thischapnum{##2}%
- \def\thissecnum{0}%
- \def\thissubsecnum{0}%
- }%
- \def\numsecentry##1##2##3##4{%
- \advancenumber{chap\thischapnum}%
- \def\thissecnum{##2}%
- \def\thissubsecnum{0}%
- }%
- \def\numsubsecentry##1##2##3##4{%
- \advancenumber{sec\thissecnum}%
- \def\thissubsecnum{##2}%
- }%
- \def\numsubsubsecentry##1##2##3##4{%
- \advancenumber{subsec\thissubsecnum}%
- }%
- \def\thischapnum{0}%
- \def\thissecnum{0}%
- \def\thissubsecnum{0}%
- %
- % use \def rather than \let here because we redefine \chapentry et
- % al. a second time, below.
- \def\appentry{\numchapentry}%
- \def\appsecentry{\numsecentry}%
- \def\appsubsecentry{\numsubsecentry}%
- \def\appsubsubsecentry{\numsubsubsecentry}%
- \def\unnchapentry{\numchapentry}%
- \def\unnsecentry{\numsecentry}%
- \def\unnsubsecentry{\numsubsecentry}%
- \def\unnsubsubsecentry{\numsubsubsecentry}%
- \readdatafile{toc}%
- %
- % Read toc second time, this time actually producing the outlines.
- % The `-' means take the \expnumber as the absolute number of
- % subentries, which we calculated on our first read of the .toc above.
- %
- % We use the node names as the destinations.
- \def\numchapentry##1##2##3##4{%
- \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%
- \def\numsecentry##1##2##3##4{%
- \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}%
- \def\numsubsecentry##1##2##3##4{%
- \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}%
- \def\numsubsubsecentry##1##2##3##4{% count is always zero
- \dopdfoutline{##1}{}{##3}{##4}}%
- %
- % PDF outlines are displayed using system fonts, instead of
- % document fonts. Therefore we cannot use special characters,
- % since the encoding is unknown. For example, the eogonek from
- % Latin 2 (0xea) gets translated to a | character. Info from
- % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.
- %
- % xx to do this right, we have to translate 8-bit characters to
- % their "best" equivalent, based on the @documentencoding. Right
- % now, I guess we'll just let the pdf reader have its way.
- \indexnofonts
- \setupdatafile
- \catcode`\\=\active \otherbackslash
- \input \tocreadfilename
- \endgroup
- }
- %
- \def\skipspaces#1{\def\PP{#1}\def\D{|}%
- \ifx\PP\D\let\nextsp\relax
- \else\let\nextsp\skipspaces
- \ifx\p\space\else\addtokens{\filename}{\PP}%
- \advance\filenamelength by 1
- \fi
- \fi
- \nextsp}
- \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax}
- \ifnum\pdftexversion < 14
- \let \startlink \pdfannotlink
- \else
- \let \startlink \pdfstartlink
- \fi
- % make a live url in pdf output.
- \def\pdfurl#1{%
- \begingroup
- % it seems we really need yet another set of dummies; have not
- % tried to figure out what each command should do in the context
- % of @url. for now, just make @/ a no-op, that's the only one
- % people have actually reported a problem with.
- %
- \normalturnoffactive
- \def\@{@}%
- \let\/=\empty
- \makevalueexpandable
- % do we want to go so far as to use \indexnofonts instead of just
- % special-casing \var here?
- \def\var##1{##1}%
- %
- \leavevmode\setcolor{\urlcolor}%
- \startlink attr{/Border [0 0 0]}%
- user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
- \endgroup}
- \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
- \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
- \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
- \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}
- \def\maketoks{%
- \expandafter\poptoks\the\toksA|ENDTOKS|\relax
- \ifx\first0\adn0
- \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3
- \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6
- \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9
- \else
- \ifnum0=\countA\else\makelink\fi
- \ifx\first.\let\next=\done\else
- \let\next=\maketoks
- \addtokens{\toksB}{\the\toksD}
- \ifx\first,\addtokens{\toksB}{\space}\fi
- \fi
- \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
- \next}
- \def\makelink{\addtokens{\toksB}%
- {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
- \def\pdflink#1{%
- \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}
- \setcolor{\linkcolor}#1\endlink}
- \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
-\else
- % non-pdf mode
- \let\pdfmkdest = \gobble
- \let\pdfurl = \gobble
- \let\endlink = \relax
- \let\setcolor = \gobble
- \let\pdfsetcolor = \gobble
- \let\pdfmakeoutlines = \relax
-\fi % \ifx\pdfoutput
-
-
-\message{fonts,}
-
-% Change the current font style to #1, remembering it in \curfontstyle.
-% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
-% italics, not bold italics.
-%
-\def\setfontstyle#1{%
- \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
- \csname ten#1\endcsname % change the current font
-}
-
-% Select #1 fonts with the current style.
-%
-\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname}
-
-\def\rm{\fam=0 \setfontstyle{rm}}
-\def\it{\fam=\itfam \setfontstyle{it}}
-\def\sl{\fam=\slfam \setfontstyle{sl}}
-\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
-\def\tt{\fam=\ttfam \setfontstyle{tt}}
-
-% Unfortunately, we have to override this for titles and the like, since
-% in those cases "rm" is bold. Sigh.
-\def\rmisbold{\rm\def\curfontstyle{bf}}
-
-% Texinfo sort of supports the sans serif font style, which plain TeX does not.
-% So we set up a \sf.
-\newfam\sffam
-\def\sf{\fam=\sffam \setfontstyle{sf}}
-\let\li = \sf % Sometimes we call it \li, not \sf.
-
-% We don't need math for this font style.
-\def\ttsl{\setfontstyle{ttsl}}
-
-
-% Default leading.
-\newdimen\textleading \textleading = 13.2pt
-
-% Set the baselineskip to #1, and the lineskip and strut size
-% correspondingly. There is no deep meaning behind these magic numbers
-% used as factors; they just match (closely enough) what Knuth defined.
-%
-\def\lineskipfactor{.08333}
-\def\strutheightpercent{.70833}
-\def\strutdepthpercent {.29167}
-%
-% can get a sort of poor man's double spacing by redefining this.
-\def\baselinefactor{1}
-%
-\def\setleading#1{%
- \dimen0 = #1\relax
- \normalbaselineskip = \baselinefactor\dimen0
- \normallineskip = \lineskipfactor\normalbaselineskip
- \normalbaselines
- \setbox\strutbox =\hbox{%
- \vrule width0pt height\strutheightpercent\baselineskip
- depth \strutdepthpercent \baselineskip
- }%
-}
-
-% PDF CMaps. See also LaTeX's t1.cmap.
-%
-% do nothing with this by default.
-\expandafter\let\csname cmapOT1\endcsname\gobble
-\expandafter\let\csname cmapOT1IT\endcsname\gobble
-\expandafter\let\csname cmapOT1TT\endcsname\gobble
-
-% if we are producing pdf, and we have \pdffontattr, then define cmaps.
-% (\pdffontattr was introduced many years ago, but people still run
-% older pdftex's; it's easy to conditionalize, so we do.)
-\ifpdf \ifx\pdffontattr\undefined \else
- \begingroup
- \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
- \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-OT1-0)
-%%Title: (TeX-OT1-0 TeX OT1 0)
-%%Version: 1.000
-%%EndComments
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CIDSystemInfo
-<< /Registry (TeX)
-/Ordering (OT1)
-/Supplement 0
->> def
-/CMapName /TeX-OT1-0 def
-/CMapType 2 def
-1 begincodespacerange
-<00> <7F>
-endcodespacerange
-8 beginbfrange
-<00> <01> <0393>
-<09> <0A> <03A8>
-<23> <26> <0023>
-<28> <3B> <0028>
-<3F> <5B> <003F>
-<5D> <5E> <005D>
-<61> <7A> <0061>
-<7B> <7C> <2013>
-endbfrange
-40 beginbfchar
-<02> <0398>
-<03> <039B>
-<04> <039E>
-<05> <03A0>
-<06> <03A3>
-<07> <03D2>
-<08> <03A6>
-<0B> <00660066>
-<0C> <00660069>
-<0D> <0066006C>
-<0E> <006600660069>
-<0F> <00660066006C>
-<10> <0131>
-<11> <0237>
-<12> <0060>
-<13> <00B4>
-<14> <02C7>
-<15> <02D8>
-<16> <00AF>
-<17> <02DA>
-<18> <00B8>
-<19> <00DF>
-<1A> <00E6>
-<1B> <0153>
-<1C> <00F8>
-<1D> <00C6>
-<1E> <0152>
-<1F> <00D8>
-<21> <0021>
-<22> <201D>
-<27> <2019>
-<3C> <00A1>
-<3D> <003D>
-<3E> <00BF>
-<5C> <201C>
-<5F> <02D9>
-<60> <2018>
-<7D> <02DD>
-<7E> <007E>
-<7F> <00A8>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-%%EndResource
-%%EOF
- }\endgroup
- \expandafter\edef\csname cmapOT1\endcsname#1{%
- \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
- }%
-%
-% \cmapOT1IT
- \begingroup
- \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
- \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-OT1IT-0)
-%%Title: (TeX-OT1IT-0 TeX OT1IT 0)
-%%Version: 1.000
-%%EndComments
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CIDSystemInfo
-<< /Registry (TeX)
-/Ordering (OT1IT)
-/Supplement 0
->> def
-/CMapName /TeX-OT1IT-0 def
-/CMapType 2 def
-1 begincodespacerange
-<00> <7F>
-endcodespacerange
-8 beginbfrange
-<00> <01> <0393>
-<09> <0A> <03A8>
-<25> <26> <0025>
-<28> <3B> <0028>
-<3F> <5B> <003F>
-<5D> <5E> <005D>
-<61> <7A> <0061>
-<7B> <7C> <2013>
-endbfrange
-42 beginbfchar
-<02> <0398>
-<03> <039B>
-<04> <039E>
-<05> <03A0>
-<06> <03A3>
-<07> <03D2>
-<08> <03A6>
-<0B> <00660066>
-<0C> <00660069>
-<0D> <0066006C>
-<0E> <006600660069>
-<0F> <00660066006C>
-<10> <0131>
-<11> <0237>
-<12> <0060>
-<13> <00B4>
-<14> <02C7>
-<15> <02D8>
-<16> <00AF>
-<17> <02DA>
-<18> <00B8>
-<19> <00DF>
-<1A> <00E6>
-<1B> <0153>
-<1C> <00F8>
-<1D> <00C6>
-<1E> <0152>
-<1F> <00D8>
-<21> <0021>
-<22> <201D>
-<23> <0023>
-<24> <00A3>
-<27> <2019>
-<3C> <00A1>
-<3D> <003D>
-<3E> <00BF>
-<5C> <201C>
-<5F> <02D9>
-<60> <2018>
-<7D> <02DD>
-<7E> <007E>
-<7F> <00A8>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-%%EndResource
-%%EOF
- }\endgroup
- \expandafter\edef\csname cmapOT1IT\endcsname#1{%
- \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
- }%
-%
-% \cmapOT1TT
- \begingroup
- \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
- \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
-%%DocumentNeededResources: ProcSet (CIDInit)
-%%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-OT1TT-0)
-%%Title: (TeX-OT1TT-0 TeX OT1TT 0)
-%%Version: 1.000
-%%EndComments
-/CIDInit /ProcSet findresource begin
-12 dict begin
-begincmap
-/CIDSystemInfo
-<< /Registry (TeX)
-/Ordering (OT1TT)
-/Supplement 0
->> def
-/CMapName /TeX-OT1TT-0 def
-/CMapType 2 def
-1 begincodespacerange
-<00> <7F>
-endcodespacerange
-5 beginbfrange
-<00> <01> <0393>
-<09> <0A> <03A8>
-<21> <26> <0021>
-<28> <5F> <0028>
-<61> <7E> <0061>
-endbfrange
-32 beginbfchar
-<02> <0398>
-<03> <039B>
-<04> <039E>
-<05> <03A0>
-<06> <03A3>
-<07> <03D2>
-<08> <03A6>
-<0B> <2191>
-<0C> <2193>
-<0D> <0027>
-<0E> <00A1>
-<0F> <00BF>
-<10> <0131>
-<11> <0237>
-<12> <0060>
-<13> <00B4>
-<14> <02C7>
-<15> <02D8>
-<16> <00AF>
-<17> <02DA>
-<18> <00B8>
-<19> <00DF>
-<1A> <00E6>
-<1B> <0153>
-<1C> <00F8>
-<1D> <00C6>
-<1E> <0152>
-<1F> <00D8>
-<20> <2423>
-<27> <2019>
-<60> <2018>
-<7F> <00A8>
-endbfchar
-endcmap
-CMapName currentdict /CMap defineresource pop
-end
-end
-%%EndResource
-%%EOF
- }\endgroup
- \expandafter\edef\csname cmapOT1TT\endcsname#1{%
- \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
- }%
-\fi\fi
-
-
-% Set the font macro #1 to the font named #2, adding on the
-% specified font prefix (normally `cm').
-% #3 is the font's design size, #4 is a scale factor, #5 is the CMap
-% encoding (currently only OT1, OT1IT and OT1TT are allowed, pass
-% empty to omit).
-\def\setfont#1#2#3#4#5{%
- \font#1=\fontprefix#2#3 scaled #4
- \csname cmap#5\endcsname#1%
-}
-% This is what gets called when #5 of \setfont is empty.
-\let\cmap\gobble
-% emacs-page end of cmaps
-
-% Use cm as the default font prefix.
-% To specify the font prefix, you must define \fontprefix
-% before you read in texinfo.tex.
-\ifx\fontprefix\undefined
-\def\fontprefix{cm}
-\fi
-% Support font families that don't use the same naming scheme as CM.
-\def\rmshape{r}
-\def\rmbshape{bx} %where the normal face is bold
-\def\bfshape{b}
-\def\bxshape{bx}
-\def\ttshape{tt}
-\def\ttbshape{tt}
-\def\ttslshape{sltt}
-\def\itshape{ti}
-\def\itbshape{bxti}
-\def\slshape{sl}
-\def\slbshape{bxsl}
-\def\sfshape{ss}
-\def\sfbshape{ss}
-\def\scshape{csc}
-\def\scbshape{csc}
-
-% Definitions for a main text size of 11pt. This is the default in
-% Texinfo.
-%
-\def\definetextfontsizexi{%
-% Text fonts (11.2pt, magstep1).
-\def\textnominalsize{11pt}
-\edef\mainmagstep{\magstephalf}
-\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
-\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
-\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
-\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
-\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
-\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
-\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
-\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
-\font\texti=cmmi10 scaled \mainmagstep
-\font\textsy=cmsy10 scaled \mainmagstep
-\def\textecsize{1095}
-
-% A few fonts for @defun names and args.
-\setfont\defbf\bfshape{10}{\magstep1}{OT1}
-\setfont\deftt\ttshape{10}{\magstep1}{OT1TT}
-\setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT}
-\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
-
-% Fonts for indices, footnotes, small examples (9pt).
-\def\smallnominalsize{9pt}
-\setfont\smallrm\rmshape{9}{1000}{OT1}
-\setfont\smalltt\ttshape{9}{1000}{OT1TT}
-\setfont\smallbf\bfshape{10}{900}{OT1}
-\setfont\smallit\itshape{9}{1000}{OT1IT}
-\setfont\smallsl\slshape{9}{1000}{OT1}
-\setfont\smallsf\sfshape{9}{1000}{OT1}
-\setfont\smallsc\scshape{10}{900}{OT1}
-\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
-\font\smalli=cmmi9
-\font\smallsy=cmsy9
-\def\smallecsize{0900}
-
-% Fonts for small examples (8pt).
-\def\smallernominalsize{8pt}
-\setfont\smallerrm\rmshape{8}{1000}{OT1}
-\setfont\smallertt\ttshape{8}{1000}{OT1TT}
-\setfont\smallerbf\bfshape{10}{800}{OT1}
-\setfont\smallerit\itshape{8}{1000}{OT1IT}
-\setfont\smallersl\slshape{8}{1000}{OT1}
-\setfont\smallersf\sfshape{8}{1000}{OT1}
-\setfont\smallersc\scshape{10}{800}{OT1}
-\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
-\font\smalleri=cmmi8
-\font\smallersy=cmsy8
-\def\smallerecsize{0800}
-
-% Fonts for title page (20.4pt):
-\def\titlenominalsize{20pt}
-\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
-\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
-\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
-\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
-\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
-\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
-\let\titlebf=\titlerm
-\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
-\font\titlei=cmmi12 scaled \magstep3
-\font\titlesy=cmsy10 scaled \magstep4
-\def\titleecsize{2074}
-
-% Chapter (and unnumbered) fonts (17.28pt).
-\def\chapnominalsize{17pt}
-\setfont\chaprm\rmbshape{12}{\magstep2}{OT1}
-\setfont\chapit\itbshape{10}{\magstep3}{OT1IT}
-\setfont\chapsl\slbshape{10}{\magstep3}{OT1}
-\setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT}
-\setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT}
-\setfont\chapsf\sfbshape{17}{1000}{OT1}
-\let\chapbf=\chaprm
-\setfont\chapsc\scbshape{10}{\magstep3}{OT1}
-\font\chapi=cmmi12 scaled \magstep2
-\font\chapsy=cmsy10 scaled \magstep3
-\def\chapecsize{1728}
-
-% Section fonts (14.4pt).
-\def\secnominalsize{14pt}
-\setfont\secrm\rmbshape{12}{\magstep1}{OT1}
-\setfont\secit\itbshape{10}{\magstep2}{OT1IT}
-\setfont\secsl\slbshape{10}{\magstep2}{OT1}
-\setfont\sectt\ttbshape{12}{\magstep1}{OT1TT}
-\setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT}
-\setfont\secsf\sfbshape{12}{\magstep1}{OT1}
-\let\secbf\secrm
-\setfont\secsc\scbshape{10}{\magstep2}{OT1}
-\font\seci=cmmi12 scaled \magstep1
-\font\secsy=cmsy10 scaled \magstep2
-\def\sececsize{1440}
-
-% Subsection fonts (13.15pt).
-\def\ssecnominalsize{13pt}
-\setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1}
-\setfont\ssecit\itbshape{10}{1315}{OT1IT}
-\setfont\ssecsl\slbshape{10}{1315}{OT1}
-\setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT}
-\setfont\ssecttsl\ttslshape{10}{1315}{OT1TT}
-\setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1}
-\let\ssecbf\ssecrm
-\setfont\ssecsc\scbshape{10}{1315}{OT1}
-\font\sseci=cmmi12 scaled \magstephalf
-\font\ssecsy=cmsy10 scaled 1315
-\def\ssececsize{1200}
-
-% Reduced fonts for @acro in text (10pt).
-\def\reducednominalsize{10pt}
-\setfont\reducedrm\rmshape{10}{1000}{OT1}
-\setfont\reducedtt\ttshape{10}{1000}{OT1TT}
-\setfont\reducedbf\bfshape{10}{1000}{OT1}
-\setfont\reducedit\itshape{10}{1000}{OT1IT}
-\setfont\reducedsl\slshape{10}{1000}{OT1}
-\setfont\reducedsf\sfshape{10}{1000}{OT1}
-\setfont\reducedsc\scshape{10}{1000}{OT1}
-\setfont\reducedttsl\ttslshape{10}{1000}{OT1TT}
-\font\reducedi=cmmi10
-\font\reducedsy=cmsy10
-\def\reducedecsize{1000}
-
-% reset the current fonts
-\textfonts
-\rm
-} % end of 11pt text font size definitions
-
-
-% Definitions to make the main text be 10pt Computer Modern, with
-% section, chapter, etc., sizes following suit. This is for the GNU
-% Press printing of the Emacs 22 manual. Maybe other manuals in the
-% future. Used with @smallbook, which sets the leading to 12pt.
-%
-\def\definetextfontsizex{%
-% Text fonts (10pt).
-\def\textnominalsize{10pt}
-\edef\mainmagstep{1000}
-\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
-\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
-\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
-\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
-\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
-\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
-\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
-\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
-\font\texti=cmmi10 scaled \mainmagstep
-\font\textsy=cmsy10 scaled \mainmagstep
-\def\textecsize{1000}
-
-% A few fonts for @defun names and args.
-\setfont\defbf\bfshape{10}{\magstephalf}{OT1}
-\setfont\deftt\ttshape{10}{\magstephalf}{OT1TT}
-\setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT}
-\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
-
-% Fonts for indices, footnotes, small examples (9pt).
-\def\smallnominalsize{9pt}
-\setfont\smallrm\rmshape{9}{1000}{OT1}
-\setfont\smalltt\ttshape{9}{1000}{OT1TT}
-\setfont\smallbf\bfshape{10}{900}{OT1}
-\setfont\smallit\itshape{9}{1000}{OT1IT}
-\setfont\smallsl\slshape{9}{1000}{OT1}
-\setfont\smallsf\sfshape{9}{1000}{OT1}
-\setfont\smallsc\scshape{10}{900}{OT1}
-\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
-\font\smalli=cmmi9
-\font\smallsy=cmsy9
-\def\smallecsize{0900}
-
-% Fonts for small examples (8pt).
-\def\smallernominalsize{8pt}
-\setfont\smallerrm\rmshape{8}{1000}{OT1}
-\setfont\smallertt\ttshape{8}{1000}{OT1TT}
-\setfont\smallerbf\bfshape{10}{800}{OT1}
-\setfont\smallerit\itshape{8}{1000}{OT1IT}
-\setfont\smallersl\slshape{8}{1000}{OT1}
-\setfont\smallersf\sfshape{8}{1000}{OT1}
-\setfont\smallersc\scshape{10}{800}{OT1}
-\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
-\font\smalleri=cmmi8
-\font\smallersy=cmsy8
-\def\smallerecsize{0800}
-
-% Fonts for title page (20.4pt):
-\def\titlenominalsize{20pt}
-\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
-\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
-\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
-\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
-\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
-\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
-\let\titlebf=\titlerm
-\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
-\font\titlei=cmmi12 scaled \magstep3
-\font\titlesy=cmsy10 scaled \magstep4
-\def\titleecsize{2074}
-
-% Chapter fonts (14.4pt).
-\def\chapnominalsize{14pt}
-\setfont\chaprm\rmbshape{12}{\magstep1}{OT1}
-\setfont\chapit\itbshape{10}{\magstep2}{OT1IT}
-\setfont\chapsl\slbshape{10}{\magstep2}{OT1}
-\setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT}
-\setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT}
-\setfont\chapsf\sfbshape{12}{\magstep1}{OT1}
-\let\chapbf\chaprm
-\setfont\chapsc\scbshape{10}{\magstep2}{OT1}
-\font\chapi=cmmi12 scaled \magstep1
-\font\chapsy=cmsy10 scaled \magstep2
-\def\chapecsize{1440}
-
-% Section fonts (12pt).
-\def\secnominalsize{12pt}
-\setfont\secrm\rmbshape{12}{1000}{OT1}
-\setfont\secit\itbshape{10}{\magstep1}{OT1IT}
-\setfont\secsl\slbshape{10}{\magstep1}{OT1}
-\setfont\sectt\ttbshape{12}{1000}{OT1TT}
-\setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT}
-\setfont\secsf\sfbshape{12}{1000}{OT1}
-\let\secbf\secrm
-\setfont\secsc\scbshape{10}{\magstep1}{OT1}
-\font\seci=cmmi12
-\font\secsy=cmsy10 scaled \magstep1
-\def\sececsize{1200}
-
-% Subsection fonts (10pt).
-\def\ssecnominalsize{10pt}
-\setfont\ssecrm\rmbshape{10}{1000}{OT1}
-\setfont\ssecit\itbshape{10}{1000}{OT1IT}
-\setfont\ssecsl\slbshape{10}{1000}{OT1}
-\setfont\ssectt\ttbshape{10}{1000}{OT1TT}
-\setfont\ssecttsl\ttslshape{10}{1000}{OT1TT}
-\setfont\ssecsf\sfbshape{10}{1000}{OT1}
-\let\ssecbf\ssecrm
-\setfont\ssecsc\scbshape{10}{1000}{OT1}
-\font\sseci=cmmi10
-\font\ssecsy=cmsy10
-\def\ssececsize{1000}
-
-% Reduced fonts for @acro in text (9pt).
-\def\reducednominalsize{9pt}
-\setfont\reducedrm\rmshape{9}{1000}{OT1}
-\setfont\reducedtt\ttshape{9}{1000}{OT1TT}
-\setfont\reducedbf\bfshape{10}{900}{OT1}
-\setfont\reducedit\itshape{9}{1000}{OT1IT}
-\setfont\reducedsl\slshape{9}{1000}{OT1}
-\setfont\reducedsf\sfshape{9}{1000}{OT1}
-\setfont\reducedsc\scshape{10}{900}{OT1}
-\setfont\reducedttsl\ttslshape{10}{900}{OT1TT}
-\font\reducedi=cmmi9
-\font\reducedsy=cmsy9
-\def\reducedecsize{0900}
-
-% reduce space between paragraphs
-\divide\parskip by 2
-
-% reset the current fonts
-\textfonts
-\rm
-} % end of 10pt text font size definitions
-
-
-% We provide the user-level command
-% @fonttextsize 10
-% (or 11) to redefine the text font size. pt is assumed.
-%
-\def\xword{10}
-\def\xiword{11}
-%
-\parseargdef\fonttextsize{%
- \def\textsizearg{#1}%
- \wlog{doing @fonttextsize \textsizearg}%
- %
- % Set \globaldefs so that documents can use this inside @tex, since
- % makeinfo 4.8 does not support it, but we need it nonetheless.
- %
- \begingroup \globaldefs=1
- \ifx\textsizearg\xword \definetextfontsizex
- \else \ifx\textsizearg\xiword \definetextfontsizexi
- \else
- \errhelp=\EMsimple
- \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'}
- \fi\fi
- \endgroup
-}
-
-
-% In order for the font changes to affect most math symbols and letters,
-% we have to define the \textfont of the standard families. Since
-% texinfo doesn't allow for producing subscripts and superscripts except
-% in the main text, we don't bother to reset \scriptfont and
-% \scriptscriptfont (which would also require loading a lot more fonts).
-%
-\def\resetmathfonts{%
- \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy
- \textfont\itfam=\tenit \textfont\slfam=\tensl \textfont\bffam=\tenbf
- \textfont\ttfam=\tentt \textfont\sffam=\tensf
-}
-
-% The font-changing commands redefine the meanings of \tenSTYLE, instead
-% of just \STYLE. We do this because \STYLE needs to also set the
-% current \fam for math mode. Our \STYLE (e.g., \rm) commands hardwire
-% \tenSTYLE to set the current font.
-%
-% Each font-changing command also sets the names \lsize (one size lower)
-% and \lllsize (three sizes lower). These relative commands are used in
-% the LaTeX logo and acronyms.
-%
-% This all needs generalizing, badly.
-%
-\def\textfonts{%
- \let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl
- \let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc
- \let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy
- \let\tenttsl=\textttsl
- \def\curfontsize{text}%
- \def\lsize{reduced}\def\lllsize{smaller}%
- \resetmathfonts \setleading{\textleading}}
-\def\titlefonts{%
- \let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl
- \let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc
- \let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy
- \let\tenttsl=\titlettsl
- \def\curfontsize{title}%
- \def\lsize{chap}\def\lllsize{subsec}%
- \resetmathfonts \setleading{25pt}}
-\def\titlefont#1{{\titlefonts\rmisbold #1}}
-\def\chapfonts{%
- \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl
- \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc
- \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy
- \let\tenttsl=\chapttsl
- \def\curfontsize{chap}%
- \def\lsize{sec}\def\lllsize{text}%
- \resetmathfonts \setleading{19pt}}
-\def\secfonts{%
- \let\tenrm=\secrm \let\tenit=\secit \let\tensl=\secsl
- \let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc
- \let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy
- \let\tenttsl=\secttsl
- \def\curfontsize{sec}%
- \def\lsize{subsec}\def\lllsize{reduced}%
- \resetmathfonts \setleading{16pt}}
-\def\subsecfonts{%
- \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl
- \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc
- \let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy
- \let\tenttsl=\ssecttsl
- \def\curfontsize{ssec}%
- \def\lsize{text}\def\lllsize{small}%
- \resetmathfonts \setleading{15pt}}
-\let\subsubsecfonts = \subsecfonts
-\def\reducedfonts{%
- \let\tenrm=\reducedrm \let\tenit=\reducedit \let\tensl=\reducedsl
- \let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc
- \let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy
- \let\tenttsl=\reducedttsl
- \def\curfontsize{reduced}%
- \def\lsize{small}\def\lllsize{smaller}%
- \resetmathfonts \setleading{10.5pt}}
-\def\smallfonts{%
- \let\tenrm=\smallrm \let\tenit=\smallit \let\tensl=\smallsl
- \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc
- \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy
- \let\tenttsl=\smallttsl
- \def\curfontsize{small}%
- \def\lsize{smaller}\def\lllsize{smaller}%
- \resetmathfonts \setleading{10.5pt}}
-\def\smallerfonts{%
- \let\tenrm=\smallerrm \let\tenit=\smallerit \let\tensl=\smallersl
- \let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc
- \let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy
- \let\tenttsl=\smallerttsl
- \def\curfontsize{smaller}%
- \def\lsize{smaller}\def\lllsize{smaller}%
- \resetmathfonts \setleading{9.5pt}}
-
-% Fonts for short table of contents.
-\setfont\shortcontrm\rmshape{12}{1000}{OT1}
-\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12
-\setfont\shortcontsl\slshape{12}{1000}{OT1}
-\setfont\shortconttt\ttshape{12}{1000}{OT1TT}
-
-% Define these just so they can be easily changed for other fonts.
-\def\angleleft{$\langle$}
-\def\angleright{$\rangle$}
-
-% Set the fonts to use with the @small... environments.
-\let\smallexamplefonts = \smallfonts
-
-% About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample
-% can fit this many characters:
-% 8.5x11=86 smallbook=72 a4=90 a5=69
-% If we use \scriptfonts (8pt), then we can fit this many characters:
-% 8.5x11=90+ smallbook=80 a4=90+ a5=77
-% For me, subjectively, the few extra characters that fit aren't worth
-% the additional smallness of 8pt. So I'm making the default 9pt.
-%
-% By the way, for comparison, here's what fits with @example (10pt):
-% 8.5x11=71 smallbook=60 a4=75 a5=58
-% --karl, 24jan03.
-
-% Set up the default fonts, so we can use them for creating boxes.
-%
-\definetextfontsizexi
-
-
-\message{markup,}
-
-% Check if we are currently using a typewriter font. Since all the
-% Computer Modern typewriter fonts have zero interword stretch (and
-% shrink), and it is reasonable to expect all typewriter fonts to have
-% this property, we can check that font parameter.
-%
-\def\ifmonospace{\ifdim\fontdimen3\font=0pt }
-
-% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will
-% define and register \INITMACRO to be called on markup style changes.
-% \INITMACRO can check \currentmarkupstyle for the innermost
-% style and the set of \ifmarkupSTYLE switches for all styles
-% currently in effect.
-\newif\ifmarkupvar
-\newif\ifmarkupsamp
-\newif\ifmarkupkey
-%\newif\ifmarkupfile % @file == @samp.
-%\newif\ifmarkupoption % @option == @samp.
-\newif\ifmarkupcode
-\newif\ifmarkupkbd
-%\newif\ifmarkupenv % @env == @code.
-%\newif\ifmarkupcommand % @command == @code.
-\newif\ifmarkuptex % @tex (and part of @math, for now).
-\newif\ifmarkupexample
-\newif\ifmarkupverb
-\newif\ifmarkupverbatim
-
-\let\currentmarkupstyle\empty
-
-\def\setupmarkupstyle#1{%
- \csname markup#1true\endcsname
- \def\currentmarkupstyle{#1}%
- \markupstylesetup
-}
-
-\let\markupstylesetup\empty
-
-\def\defmarkupstylesetup#1{%
- \expandafter\def\expandafter\markupstylesetup
- \expandafter{\markupstylesetup #1}%
- \def#1%
-}
-
-% Markup style setup for left and right quotes.
-\defmarkupstylesetup\markupsetuplq{%
- \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname
- \ifx\temp\relax \markupsetuplqdefault \else \temp \fi
-}
-
-\defmarkupstylesetup\markupsetuprq{%
- \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname
- \ifx\temp\relax \markupsetuprqdefault \else \temp \fi
-}
-
-{
-\catcode`\'=\active
-\catcode`\`=\active
-
-\gdef\markupsetuplqdefault{\let`\lq}
-\gdef\markupsetuprqdefault{\let'\rq}
-
-\gdef\markupsetcodequoteleft{\let`\codequoteleft}
-\gdef\markupsetcodequoteright{\let'\codequoteright}
-
-\gdef\markupsetnoligaturesquoteleft{\let`\noligaturesquoteleft}
-}
-
-\let\markupsetuplqcode \markupsetcodequoteleft
-\let\markupsetuprqcode \markupsetcodequoteright
-\let\markupsetuplqexample \markupsetcodequoteleft
-\let\markupsetuprqexample \markupsetcodequoteright
-\let\markupsetuplqverb \markupsetcodequoteleft
-\let\markupsetuprqverb \markupsetcodequoteright
-\let\markupsetuplqverbatim \markupsetcodequoteleft
-\let\markupsetuprqverbatim \markupsetcodequoteright
-
-\let\markupsetuplqsamp \markupsetnoligaturesquoteleft
-\let\markupsetuplqkbd \markupsetnoligaturesquoteleft
-
-% Allow an option to not replace quotes with a regular directed right
-% quote/apostrophe (char 0x27), but instead use the undirected quote
-% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it
-% the default, but it works for pasting with more pdf viewers (at least
-% evince), the lilypond developers report. xpdf does work with the
-% regular 0x27.
-%
-\def\codequoteright{%
- \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
- \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
- '%
- \else \char'15 \fi
- \else \char'15 \fi
-}
-%
-% and a similar option for the left quote char vs. a grave accent.
-% Modern fonts display ASCII 0x60 as a grave accent, so some people like
-% the code environments to do likewise.
-%
-\def\codequoteleft{%
- \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
- \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
- % [Knuth] pp. 380,381,391
- % \relax disables Spanish ligatures ?` and !` of \tt font.
- \relax`%
- \else \char'22 \fi
- \else \char'22 \fi
-}
-
-% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font.
-\def\noligaturesquoteleft{\relax\lq}
-
-% Count depth in font-changes, for error checks
-\newcount\fontdepth \fontdepth=0
-
-%% Add scribe-like font environments, plus @l for inline lisp (usually sans
-%% serif) and @ii for TeX italic
-
-% \smartitalic{ARG} outputs arg in italics, followed by an italic correction
-% unless the following character is such as not to need one.
-\def\smartitalicx{\ifx\next,\else\ifx\next-\else\ifx\next.\else
- \ptexslash\fi\fi\fi}
-\def\smartslanted#1{{\ifusingtt\ttsl\sl #1}\futurelet\next\smartitalicx}
-\def\smartitalic#1{{\ifusingtt\ttsl\it #1}\futurelet\next\smartitalicx}
-
-% like \smartslanted except unconditionally uses \ttsl.
-% @var is set to this for defun arguments.
-\def\ttslanted#1{{\ttsl #1}\futurelet\next\smartitalicx}
-
-% @cite is like \smartslanted except unconditionally use \sl. We never want
-% ttsl for book titles, do we?
-\def\cite#1{{\sl #1}\futurelet\next\smartitalicx}
-
-\let\i=\smartitalic
-\let\slanted=\smartslanted
-\def\var#1{{\setupmarkupstyle{var}\smartslanted{#1}}}
-\let\dfn=\smartslanted
-\let\emph=\smartitalic
-
-% Explicit font changes: @r, @sc, undocumented @ii.
-\def\r#1{{\rm #1}} % roman font
-\def\sc#1{{\smallcaps#1}} % smallcaps font
-\def\ii#1{{\it #1}} % italic font
-
-% @b, explicit bold. Also @strong.
-\def\b#1{{\bf #1}}
-\let\strong=\b
-
-% @sansserif, explicit sans.
-\def\sansserif#1{{\sf #1}}
-
-% We can't just use \exhyphenpenalty, because that only has effect at
-% the end of a paragraph. Restore normal hyphenation at the end of the
-% group within which \nohyphenation is presumably called.
-%
-\def\nohyphenation{\hyphenchar\font = -1 \aftergroup\restorehyphenation}
-\def\restorehyphenation{\hyphenchar\font = `- }
-
-% Set sfcode to normal for the chars that usually have another value.
-% Can't use plain's \frenchspacing because it uses the `\x notation, and
-% sometimes \x has an active definition that messes things up.
-%
-\catcode`@=11
- \def\plainfrenchspacing{%
- \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m
- \sfcode\colonChar=\@m \sfcode\semiChar =\@m \sfcode\commaChar =\@m
- \def\endofsentencespacefactor{1000}% for @. and friends
- }
- \def\plainnonfrenchspacing{%
- \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000
- \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250
- \def\endofsentencespacefactor{3000}% for @. and friends
- }
-\catcode`@=\other
-\def\endofsentencespacefactor{3000}% default
-
-% @t, explicit typewriter.
-\def\t#1{%
- {\tt \rawbackslash \plainfrenchspacing #1}%
- \null
-}
-
-% @samp.
-\def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}}
-
-% definition of @key that produces a lozenge. Doesn't adjust to text size.
-%\setfont\keyrm\rmshape{8}{1000}{OT1}
-%\font\keysy=cmsy9
-%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
-% \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
-% \vbox{\hrule\kern-0.4pt
-% \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
-% \kern-0.4pt\hrule}%
-% \kern-.06em\raise0.4pt\hbox{\angleright}}}}
-
-% definition of @key with no lozenge. If the current font is already
-% monospace, don't change it; that way, we respect @kbdinputstyle. But
-% if it isn't monospace, then use \tt.
-%
-\def\key#1{{\setupmarkupstyle{key}%
- \nohyphenation
- \ifmonospace\else\tt\fi
- #1}\null}
-
-% ctrl is no longer a Texinfo command.
-\def\ctrl #1{{\tt \rawbackslash \hat}#1}
-
-% @file, @option are the same as @samp.
-\let\file=\samp
-\let\option=\samp
-
-% @code is a modification of @t,
-% which makes spaces the same size as normal in the surrounding text.
-\def\tclose#1{%
- {%
- % Change normal interword space to be same as for the current font.
- \spaceskip = \fontdimen2\font
- %
- % Switch to typewriter.
- \tt
- %
- % But `\ ' produces the large typewriter interword space.
- \def\ {{\spaceskip = 0pt{} }}%
- %
- % Turn off hyphenation.
- \nohyphenation
- %
- \rawbackslash
- \plainfrenchspacing
- #1%
- }%
- \null
-}
-
-% We *must* turn on hyphenation at `-' and `_' in @code.
-% Otherwise, it is too hard to avoid overfull hboxes
-% in the Emacs manual, the Library manual, etc.
-
-% Unfortunately, TeX uses one parameter (\hyphenchar) to control
-% both hyphenation at - and hyphenation within words.
-% We must therefore turn them both off (\tclose does that)
-% and arrange explicitly to hyphenate at a dash.
-% -- rms.
-{
- \catcode`\-=\active \catcode`\_=\active
- \catcode`\'=\active \catcode`\`=\active
- \global\let'=\rq \global\let`=\lq % default definitions
- %
- \global\def\code{\begingroup
- \setupmarkupstyle{code}%
- % The following should really be moved into \setupmarkupstyle handlers.
- \catcode\dashChar=\active \catcode\underChar=\active
- \ifallowcodebreaks
- \let-\codedash
- \let_\codeunder
- \else
- \let-\realdash
- \let_\realunder
- \fi
- \codex
- }
-}
-
-\def\realdash{-}
-\def\codedash{-\discretionary{}{}{}}
-\def\codeunder{%
- % this is all so @math{@code{var_name}+1} can work. In math mode, _
- % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.)
- % will therefore expand the active definition of _, which is us
- % (inside @code that is), therefore an endless loop.
- \ifusingtt{\ifmmode
- \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_.
- \else\normalunderscore \fi
- \discretionary{}{}{}}%
- {\_}%
-}
-\def\codex #1{\tclose{#1}\endgroup}
-
-% An additional complication: the above will allow breaks after, e.g.,
-% each of the four underscores in __typeof__. This is undesirable in
-% some manuals, especially if they don't have long identifiers in
-% general. @allowcodebreaks provides a way to control this.
-%
-\newif\ifallowcodebreaks \allowcodebreakstrue
-
-\def\keywordtrue{true}
-\def\keywordfalse{false}
-
-\parseargdef\allowcodebreaks{%
- \def\txiarg{#1}%
- \ifx\txiarg\keywordtrue
- \allowcodebreakstrue
- \else\ifx\txiarg\keywordfalse
- \allowcodebreaksfalse
- \else
- \errhelp = \EMsimple
- \errmessage{Unknown @allowcodebreaks option `\txiarg'}%
- \fi\fi
-}
-
-% @kbd is like @code, except that if the argument is just one @key command,
-% then @kbd has no effect.
-\def\kbd#1{{\setupmarkupstyle{kbd}\def\look{#1}\expandafter\kbdfoo\look??\par}}
-
-% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always),
-% `example' (@kbd uses ttsl only inside of @example and friends),
-% or `code' (@kbd uses normal tty font always).
-\parseargdef\kbdinputstyle{%
- \def\txiarg{#1}%
- \ifx\txiarg\worddistinct
- \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}%
- \else\ifx\txiarg\wordexample
- \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}%
- \else\ifx\txiarg\wordcode
- \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}%
- \else
- \errhelp = \EMsimple
- \errmessage{Unknown @kbdinputstyle option `\txiarg'}%
- \fi\fi\fi
-}
-\def\worddistinct{distinct}
-\def\wordexample{example}
-\def\wordcode{code}
-
-% Default is `distinct'.
-\kbdinputstyle distinct
-
-\def\xkey{\key}
-\def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}%
-\ifx\one\xkey\ifx\threex\three \key{#2}%
-\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi
-\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi}
-
-% For @indicateurl, @env, @command quotes seem unnecessary, so use \code.
-\let\indicateurl=\code
-\let\env=\code
-\let\command=\code
-
-% @clicksequence{File @click{} Open ...}
-\def\clicksequence#1{\begingroup #1\endgroup}
-
-% @clickstyle @arrow (by default)
-\parseargdef\clickstyle{\def\click{#1}}
-\def\click{\arrow}
-
-% @uref (abbreviation for `urlref') takes an optional (comma-separated)
-% second argument specifying the text to display and an optional third
-% arg as text to display instead of (rather than in addition to) the url
-% itself. First (mandatory) arg is the url. Perhaps eventually put in
-% a hypertex \special here.
-%
-\def\uref#1{\douref #1,,,\finish}
-\def\douref#1,#2,#3,#4\finish{\begingroup
- \unsepspaces
- \pdfurl{#1}%
- \setbox0 = \hbox{\ignorespaces #3}%
- \ifdim\wd0 > 0pt
- \unhbox0 % third arg given, show only that
- \else
- \setbox0 = \hbox{\ignorespaces #2}%
- \ifdim\wd0 > 0pt
- \ifpdf
- \unhbox0 % PDF: 2nd arg given, show only it
- \else
- \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
- \fi
- \else
- \code{#1}% only url given, so show it
- \fi
- \fi
- \endlink
-\endgroup}
-
-% @url synonym for @uref, since that's how everyone uses it.
-%
-\let\url=\uref
-
-% rms does not like angle brackets --karl, 17may97.
-% So now @email is just like @uref, unless we are pdf.
-%
-%\def\email#1{\angleleft{\tt #1}\angleright}
-\ifpdf
- \def\email#1{\doemail#1,,\finish}
- \def\doemail#1,#2,#3\finish{\begingroup
- \unsepspaces
- \pdfurl{mailto:#1}%
- \setbox0 = \hbox{\ignorespaces #2}%
- \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi
- \endlink
- \endgroup}
-\else
- \let\email=\uref
-\fi
-
-% Typeset a dimension, e.g., `in' or `pt'. The only reason for the
-% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt.
-%
-\def\dmn#1{\thinspace #1}
-
-% @l was never documented to mean ``switch to the Lisp font'',
-% and it is not used as such in any manual I can find. We need it for
-% Polish suppressed-l. --karl, 22sep96.
-%\def\l#1{{\li #1}\null}
-
-% @acronym for "FBI", "NATO", and the like.
-% We print this one point size smaller, since it's intended for
-% all-uppercase.
-%
-\def\acronym#1{\doacronym #1,,\finish}
-\def\doacronym#1,#2,#3\finish{%
- {\selectfonts\lsize #1}%
- \def\temp{#2}%
- \ifx\temp\empty \else
- \space ({\unsepspaces \ignorespaces \temp \unskip})%
- \fi
-}
-
-% @abbr for "Comput. J." and the like.
-% No font change, but don't do end-of-sentence spacing.
-%
-\def\abbr#1{\doabbr #1,,\finish}
-\def\doabbr#1,#2,#3\finish{%
- {\plainfrenchspacing #1}%
- \def\temp{#2}%
- \ifx\temp\empty \else
- \space ({\unsepspaces \ignorespaces \temp \unskip})%
- \fi
-}
-
-
-\message{glyphs,}
-
-% @point{}, @result{}, @expansion{}, @print{}, @equiv{}.
-%
-% Since these characters are used in examples, they should be an even number of
-% \tt widths. Each \tt character is 1en, so two makes it 1em.
-%
-\def\point{$\star$}
-\def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}}
-\def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}}
-\def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}}
-\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}}
-\def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}}
-
-% The @error{} command.
-% Adapted from the TeXbook's \boxit.
-%
-\newbox\errorbox
-%
-{\tentt \global\dimen0 = 3em}% Width of the box.
-\dimen2 = .55pt % Thickness of rules
-% The text. (`r' is open on the right, `e' somewhat less so on the left.)
-\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt}
-%
-\setbox\errorbox=\hbox to \dimen0{\hfil
- \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right.
- \advance\hsize by -2\dimen2 % Rules.
- \vbox{%
- \hrule height\dimen2
- \hbox{\vrule width\dimen2 \kern3pt % Space to left of text.
- \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below.
- \kern3pt\vrule width\dimen2}% Space to right.
- \hrule height\dimen2}
- \hfil}
-%
-\def\error{\leavevmode\lower.7ex\copy\errorbox}
-
-% @pounds{} is a sterling sign, which Knuth put in the CM italic font.
-%
-\def\pounds{{\it\$}}
-
-% @euro{} comes from a separate font, depending on the current style.
-% We use the free feym* fonts from the eurosym package by Henrik
-% Theiling, which support regular, slanted, bold and bold slanted (and
-% "outlined" (blackboard board, sort of) versions, which we don't need).
-% It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
-%
-% Although only regular is the truly official Euro symbol, we ignore
-% that. The Euro is designed to be slightly taller than the regular
-% font height.
-%
-% feymr - regular
-% feymo - slanted
-% feybr - bold
-% feybo - bold slanted
-%
-% There is no good (free) typewriter version, to my knowledge.
-% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide.
-% Hmm.
-%
-% Also doesn't work in math. Do we need to do math with euro symbols?
-% Hope not.
-%
-%
-\def\euro{{\eurofont e}}
-\def\eurofont{%
- % We set the font at each command, rather than predefining it in
- % \textfonts and the other font-switching commands, so that
- % installations which never need the symbol don't have to have the
- % font installed.
- %
- % There is only one designed size (nominal 10pt), so we always scale
- % that to the current nominal size.
- %
- % By the way, simply using "at 1em" works for cmr10 and the like, but
- % does not work for cmbx10 and other extended/shrunken fonts.
- %
- \def\eurosize{\csname\curfontsize nominalsize\endcsname}%
- %
- \ifx\curfontstyle\bfstylename
- % bold:
- \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize
- \else
- % regular:
- \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize
- \fi
- \thiseurofont
-}
-
-% Glyphs from the EC fonts. We don't use \let for the aliases, because
-% sometimes we redefine the original macro, and the alias should reflect
-% the redefinition.
-%
-% Use LaTeX names for the Icelandic letters.
-\def\DH{{\ecfont \char"D0}} % Eth
-\def\dh{{\ecfont \char"F0}} % eth
-\def\TH{{\ecfont \char"DE}} % Thorn
-\def\th{{\ecfont \char"FE}} % thorn
-%
-\def\guillemetleft{{\ecfont \char"13}}
-\def\guillemotleft{\guillemetleft}
-\def\guillemetright{{\ecfont \char"14}}
-\def\guillemotright{\guillemetright}
-\def\guilsinglleft{{\ecfont \char"0E}}
-\def\guilsinglright{{\ecfont \char"0F}}
-\def\quotedblbase{{\ecfont \char"12}}
-\def\quotesinglbase{{\ecfont \char"0D}}
-%
-% This positioning is not perfect (see the ogonek LaTeX package), but
-% we have the precomposed glyphs for the most common cases. We put the
-% tests to use those glyphs in the single \ogonek macro so we have fewer
-% dummy definitions to worry about for index entries, etc.
-%
-% ogonek is also used with other letters in Lithuanian (IOU), but using
-% the precomposed glyphs for those is not so easy since they aren't in
-% the same EC font.
-\def\ogonek#1{{%
- \def\temp{#1}%
- \ifx\temp\macrocharA\Aogonek
- \else\ifx\temp\macrochara\aogonek
- \else\ifx\temp\macrocharE\Eogonek
- \else\ifx\temp\macrochare\eogonek
- \else
- \ecfont \setbox0=\hbox{#1}%
- \ifdim\ht0=1ex\accent"0C #1%
- \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}%
- \fi
- \fi\fi\fi\fi
- }%
-}
-\def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A}
-\def\aogonek{{\ecfont \char"A1}}\def\macrochara{a}
-\def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E}
-\def\eogonek{{\ecfont \char"A6}}\def\macrochare{e}
-%
-% Use the ec* fonts (cm-super in outline format) for non-CM glyphs.
-\def\ecfont{%
- % We can't distinguish serif/sans and italic/slanted, but this
- % is used for crude hacks anyway (like adding French and German
- % quotes to documents typeset with CM, where we lose kerning), so
- % hopefully nobody will notice/care.
- \edef\ecsize{\csname\curfontsize ecsize\endcsname}%
- \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
- \ifx\curfontstyle\bfstylename
- % bold:
- \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
- \else
- % regular:
- \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
- \fi
- \thisecfont
-}
-
-% @registeredsymbol - R in a circle. The font for the R should really
-% be smaller yet, but lllsize is the best we can do for now.
-% Adapted from the plain.tex definition of \copyright.
-%
-\def\registeredsymbol{%
- $^{{\ooalign{\hfil\raise.07ex\hbox{\selectfonts\lllsize R}%
- \hfil\crcr\Orb}}%
- }$%
-}
-
-% @textdegree - the normal degrees sign.
-%
-\def\textdegree{$^\circ$}
-
-% Laurent Siebenmann reports \Orb undefined with:
-% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38
-% so we'll define it if necessary.
-%
-\ifx\Orb\undefined
-\def\Orb{\mathhexbox20D}
-\fi
-
-% Quotes.
-\chardef\quotedblleft="5C
-\chardef\quotedblright=`\"
-\chardef\quoteleft=`\`
-\chardef\quoteright=`\'
-
-
-\message{page headings,}
-
-\newskip\titlepagetopglue \titlepagetopglue = 1.5in
-\newskip\titlepagebottomglue \titlepagebottomglue = 2pc
-
-% First the title page. Must do @settitle before @titlepage.
-\newif\ifseenauthor
-\newif\iffinishedtitlepage
-
-% Do an implicit @contents or @shortcontents after @end titlepage if the
-% user says @setcontentsaftertitlepage or @setshortcontentsaftertitlepage.
-%
-\newif\ifsetcontentsaftertitlepage
- \let\setcontentsaftertitlepage = \setcontentsaftertitlepagetrue
-\newif\ifsetshortcontentsaftertitlepage
- \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue
-
-\parseargdef\shorttitlepage{\begingroup\hbox{}\vskip 1.5in \chaprm \centerline{#1}%
- \endgroup\page\hbox{}\page}
-
-\envdef\titlepage{%
- % Open one extra group, as we want to close it in the middle of \Etitlepage.
- \begingroup
- \parindent=0pt \textfonts
- % Leave some space at the very top of the page.
- \vglue\titlepagetopglue
- % No rule at page bottom unless we print one at the top with @title.
- \finishedtitlepagetrue
- %
- % Most title ``pages'' are actually two pages long, with space
- % at the top of the second. We don't want the ragged left on the second.
- \let\oldpage = \page
- \def\page{%
- \iffinishedtitlepage\else
- \finishtitlepage
- \fi
- \let\page = \oldpage
- \page
- \null
- }%
-}
-
-\def\Etitlepage{%
- \iffinishedtitlepage\else
- \finishtitlepage
- \fi
- % It is important to do the page break before ending the group,
- % because the headline and footline are only empty inside the group.
- % If we use the new definition of \page, we always get a blank page
- % after the title page, which we certainly don't want.
- \oldpage
- \endgroup
- %
- % Need this before the \...aftertitlepage checks so that if they are
- % in effect the toc pages will come out with page numbers.
- \HEADINGSon
- %
- % If they want short, they certainly want long too.
- \ifsetshortcontentsaftertitlepage
- \shortcontents
- \contents
- \global\let\shortcontents = \relax
- \global\let\contents = \relax
- \fi
- %
- \ifsetcontentsaftertitlepage
- \contents
- \global\let\contents = \relax
- \global\let\shortcontents = \relax
- \fi
-}
-
-\def\finishtitlepage{%
- \vskip4pt \hrule height 2pt width \hsize
- \vskip\titlepagebottomglue
- \finishedtitlepagetrue
-}
-
-%%% Macros to be used within @titlepage:
-
-\let\subtitlerm=\tenrm
-\def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines}
-
-\parseargdef\title{%
- \checkenv\titlepage
- \leftline{\titlefonts\rmisbold #1}
- % print a rule at the page bottom also.
- \finishedtitlepagefalse
- \vskip4pt \hrule height 4pt width \hsize \vskip4pt
-}
-
-\parseargdef\subtitle{%
- \checkenv\titlepage
- {\subtitlefont \rightline{#1}}%
-}
-
-% @author should come last, but may come many times.
-% It can also be used inside @quotation.
-%
-\parseargdef\author{%
- \def\temp{\quotation}%
- \ifx\thisenv\temp
- \def\quotationauthor{#1}% printed in \Equotation.
- \else
- \checkenv\titlepage
- \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi
- {\secfonts\rmisbold \leftline{#1}}%
- \fi
-}
-
-
-%%% Set up page headings and footings.
-
-\let\thispage=\folio
-
-\newtoks\evenheadline % headline on even pages
-\newtoks\oddheadline % headline on odd pages
-\newtoks\evenfootline % footline on even pages
-\newtoks\oddfootline % footline on odd pages
-
-% Now make TeX use those variables
-\headline={{\textfonts\rm \ifodd\pageno \the\oddheadline
- \else \the\evenheadline \fi}}
-\footline={{\textfonts\rm \ifodd\pageno \the\oddfootline
- \else \the\evenfootline \fi}\HEADINGShook}
-\let\HEADINGShook=\relax
-
-% Commands to set those variables.
-% For example, this is what @headings on does
-% @evenheading @thistitle|@thispage|@thischapter
-% @oddheading @thischapter|@thispage|@thistitle
-% @evenfooting @thisfile||
-% @oddfooting ||@thisfile
-
-
-\def\evenheading{\parsearg\evenheadingxxx}
-\def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish}
-\def\evenheadingyyy #1\|#2\|#3\|#4\finish{%
-\global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
-
-\def\oddheading{\parsearg\oddheadingxxx}
-\def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish}
-\def\oddheadingyyy #1\|#2\|#3\|#4\finish{%
-\global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
-
-\parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}%
-
-\def\evenfooting{\parsearg\evenfootingxxx}
-\def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish}
-\def\evenfootingyyy #1\|#2\|#3\|#4\finish{%
-\global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
-
-\def\oddfooting{\parsearg\oddfootingxxx}
-\def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish}
-\def\oddfootingyyy #1\|#2\|#3\|#4\finish{%
- \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}%
- %
- % Leave some space for the footline. Hopefully ok to assume
- % @evenfooting will not be used by itself.
- \global\advance\pageheight by -12pt
- \global\advance\vsize by -12pt
-}
-
-\parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}}
-
-% @evenheadingmarks top \thischapter <- chapter at the top of a page
-% @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page
-%
-% The same set of arguments for:
-%
-% @oddheadingmarks
-% @evenfootingmarks
-% @oddfootingmarks
-% @everyheadingmarks
-% @everyfootingmarks
-
-\def\evenheadingmarks{\headingmarks{even}{heading}}
-\def\oddheadingmarks{\headingmarks{odd}{heading}}
-\def\evenfootingmarks{\headingmarks{even}{footing}}
-\def\oddfootingmarks{\headingmarks{odd}{footing}}
-\def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1}
- \headingmarks{odd}{heading}{#1} }
-\def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1}
- \headingmarks{odd}{footing}{#1} }
-% #1 = even/odd, #2 = heading/footing, #3 = top/bottom.
-\def\headingmarks#1#2#3 {%
- \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname
- \global\expandafter\let\csname get#1#2marks\endcsname \temp
-}
-
-\everyheadingmarks bottom
-\everyfootingmarks bottom
-
-% @headings double turns headings on for double-sided printing.
-% @headings single turns headings on for single-sided printing.
-% @headings off turns them off.
-% @headings on same as @headings double, retained for compatibility.
-% @headings after turns on double-sided headings after this page.
-% @headings doubleafter turns on double-sided headings after this page.
-% @headings singleafter turns on single-sided headings after this page.
-% By default, they are off at the start of a document,
-% and turned `on' after @end titlepage.
-
-\def\headings #1 {\csname HEADINGS#1\endcsname}
-
-\def\HEADINGSoff{%
-\global\evenheadline={\hfil} \global\evenfootline={\hfil}
-\global\oddheadline={\hfil} \global\oddfootline={\hfil}}
-\HEADINGSoff
-% When we turn headings on, set the page number to 1.
-% For double-sided printing, put current file name in lower left corner,
-% chapter name on inside top of right hand pages, document
-% title on inside top of left hand pages, and page numbers on outside top
-% edge of all pages.
-\def\HEADINGSdouble{%
-\global\pageno=1
-\global\evenfootline={\hfil}
-\global\oddfootline={\hfil}
-\global\evenheadline={\line{\folio\hfil\thistitle}}
-\global\oddheadline={\line{\thischapter\hfil\folio}}
-\global\let\contentsalignmacro = \chapoddpage
-}
-\let\contentsalignmacro = \chappager
-
-% For single-sided printing, chapter title goes across top left of page,
-% page number on top right.
-\def\HEADINGSsingle{%
-\global\pageno=1
-\global\evenfootline={\hfil}
-\global\oddfootline={\hfil}
-\global\evenheadline={\line{\thischapter\hfil\folio}}
-\global\oddheadline={\line{\thischapter\hfil\folio}}
-\global\let\contentsalignmacro = \chappager
-}
-\def\HEADINGSon{\HEADINGSdouble}
-
-\def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdoublex}
-\let\HEADINGSdoubleafter=\HEADINGSafter
-\def\HEADINGSdoublex{%
-\global\evenfootline={\hfil}
-\global\oddfootline={\hfil}
-\global\evenheadline={\line{\folio\hfil\thistitle}}
-\global\oddheadline={\line{\thischapter\hfil\folio}}
-\global\let\contentsalignmacro = \chapoddpage
-}
-
-\def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsinglex}
-\def\HEADINGSsinglex{%
-\global\evenfootline={\hfil}
-\global\oddfootline={\hfil}
-\global\evenheadline={\line{\thischapter\hfil\folio}}
-\global\oddheadline={\line{\thischapter\hfil\folio}}
-\global\let\contentsalignmacro = \chappager
-}
-
-% Subroutines used in generating headings
-% This produces Day Month Year style of output.
-% Only define if not already defined, in case a txi-??.tex file has set
-% up a different format (e.g., txi-cs.tex does this).
-\ifx\today\undefined
-\def\today{%
- \number\day\space
- \ifcase\month
- \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr
- \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug
- \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec
- \fi
- \space\number\year}
-\fi
-
-% @settitle line... specifies the title of the document, for headings.
-% It generates no output of its own.
-\def\thistitle{\putwordNoTitle}
-\def\settitle{\parsearg{\gdef\thistitle}}
-
-
-\message{tables,}
-% Tables -- @table, @ftable, @vtable, @item(x).
-
-% default indentation of table text
-\newdimen\tableindent \tableindent=.8in
-% default indentation of @itemize and @enumerate text
-\newdimen\itemindent \itemindent=.3in
-% margin between end of table item and start of table text.
-\newdimen\itemmargin \itemmargin=.1in
-
-% used internally for \itemindent minus \itemmargin
-\newdimen\itemmax
-
-% Note @table, @ftable, and @vtable define @item, @itemx, etc., with
-% these defs.
-% They also define \itemindex
-% to index the item name in whatever manner is desired (perhaps none).
-
-\newif\ifitemxneedsnegativevskip
-
-\def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi}
-
-\def\internalBitem{\smallbreak \parsearg\itemzzz}
-\def\internalBitemx{\itemxpar \parsearg\itemzzz}
-
-\def\itemzzz #1{\begingroup %
- \advance\hsize by -\rightskip
- \advance\hsize by -\tableindent
- \setbox0=\hbox{\itemindicate{#1}}%
- \itemindex{#1}%
- \nobreak % This prevents a break before @itemx.
- %
- % If the item text does not fit in the space we have, put it on a line
- % by itself, and do not allow a page break either before or after that
- % line. We do not start a paragraph here because then if the next
- % command is, e.g., @kindex, the whatsit would get put into the
- % horizontal list on a line by itself, resulting in extra blank space.
- \ifdim \wd0>\itemmax
- %
- % Make this a paragraph so we get the \parskip glue and wrapping,
- % but leave it ragged-right.
- \begingroup
- \advance\leftskip by-\tableindent
- \advance\hsize by\tableindent
- \advance\rightskip by0pt plus1fil
- \leavevmode\unhbox0\par
- \endgroup
- %
- % We're going to be starting a paragraph, but we don't want the
- % \parskip glue -- logically it's part of the @item we just started.
- \nobreak \vskip-\parskip
- %
- % Stop a page break at the \parskip glue coming up. However, if
- % what follows is an environment such as @example, there will be no
- % \parskip glue; then the negative vskip we just inserted would
- % cause the example and the item to crash together. So we use this
- % bizarre value of 10001 as a signal to \aboveenvbreak to insert
- % \parskip glue after all. Section titles are handled this way also.
- %
- \penalty 10001
- \endgroup
- \itemxneedsnegativevskipfalse
- \else
- % The item text fits into the space. Start a paragraph, so that the
- % following text (if any) will end up on the same line.
- \noindent
- % Do this with kerns and \unhbox so that if there is a footnote in
- % the item text, it can migrate to the main vertical list and
- % eventually be printed.
- \nobreak\kern-\tableindent
- \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0
- \unhbox0
- \nobreak\kern\dimen0
- \endgroup
- \itemxneedsnegativevskiptrue
- \fi
-}
-
-\def\item{\errmessage{@item while not in a list environment}}
-\def\itemx{\errmessage{@itemx while not in a list environment}}
-
-% @table, @ftable, @vtable.
-\envdef\table{%
- \let\itemindex\gobble
- \tablecheck{table}%
-}
-\envdef\ftable{%
- \def\itemindex ##1{\doind {fn}{\code{##1}}}%
- \tablecheck{ftable}%
-}
-\envdef\vtable{%
- \def\itemindex ##1{\doind {vr}{\code{##1}}}%
- \tablecheck{vtable}%
-}
-\def\tablecheck#1{%
- \ifnum \the\catcode`\^^M=\active
- \endgroup
- \errmessage{This command won't work in this context; perhaps the problem is
- that we are \inenvironment\thisenv}%
- \def\next{\doignore{#1}}%
- \else
- \let\next\tablex
- \fi
- \next
-}
-\def\tablex#1{%
- \def\itemindicate{#1}%
- \parsearg\tabley
-}
-\def\tabley#1{%
- {%
- \makevalueexpandable
- \edef\temp{\noexpand\tablez #1\space\space\space}%
- \expandafter
- }\temp \endtablez
-}
-\def\tablez #1 #2 #3 #4\endtablez{%
- \aboveenvbreak
- \ifnum 0#1>0 \advance \leftskip by #1\mil \fi
- \ifnum 0#2>0 \tableindent=#2\mil \fi
- \ifnum 0#3>0 \advance \rightskip by #3\mil \fi
- \itemmax=\tableindent
- \advance \itemmax by -\itemmargin
- \advance \leftskip by \tableindent
- \exdentamount=\tableindent
- \parindent = 0pt
- \parskip = \smallskipamount
- \ifdim \parskip=0pt \parskip=2pt \fi
- \let\item = \internalBitem
- \let\itemx = \internalBitemx
-}
-\def\Etable{\endgraf\afterenvbreak}
-\let\Eftable\Etable
-\let\Evtable\Etable
-\let\Eitemize\Etable
-\let\Eenumerate\Etable
-
-% This is the counter used by @enumerate, which is really @itemize
-
-\newcount \itemno
-
-\envdef\itemize{\parsearg\doitemize}
-
-\def\doitemize#1{%
- \aboveenvbreak
- \itemmax=\itemindent
- \advance\itemmax by -\itemmargin
- \advance\leftskip by \itemindent
- \exdentamount=\itemindent
- \parindent=0pt
- \parskip=\smallskipamount
- \ifdim\parskip=0pt \parskip=2pt \fi
- %
- % Try typesetting the item mark that if the document erroneously says
- % something like @itemize @samp (intending @table), there's an error
- % right away at the @itemize. It's not the best error message in the
- % world, but it's better than leaving it to the @item. This means if
- % the user wants an empty mark, they have to say @w{} not just @w.
- \def\itemcontents{#1}%
- \setbox0 = \hbox{\itemcontents}%
- %
- % @itemize with no arg is equivalent to @itemize @bullet.
- \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi
- %
- \let\item=\itemizeitem
-}
-
-% Definition of @item while inside @itemize and @enumerate.
-%
-\def\itemizeitem{%
- \advance\itemno by 1 % for enumerations
- {\let\par=\endgraf \smallbreak}% reasonable place to break
- {%
- % If the document has an @itemize directly after a section title, a
- % \nobreak will be last on the list, and \sectionheading will have
- % done a \vskip-\parskip. In that case, we don't want to zero
- % parskip, or the item text will crash with the heading. On the
- % other hand, when there is normal text preceding the item (as there
- % usually is), we do want to zero parskip, or there would be too much
- % space. In that case, we won't have a \nobreak before. At least
- % that's the theory.
- \ifnum\lastpenalty<10000 \parskip=0in \fi
- \noindent
- \hbox to 0pt{\hss \itemcontents \kern\itemmargin}%
- %
- \vadjust{\penalty 1200}}% not good to break after first line of item.
- \flushcr
-}
-
-% \splitoff TOKENS\endmark defines \first to be the first token in
-% TOKENS, and \rest to be the remainder.
-%
-\def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}%
-
-% Allow an optional argument of an uppercase letter, lowercase letter,
-% or number, to specify the first label in the enumerated list. No
-% argument is the same as `1'.
-%
-\envparseargdef\enumerate{\enumeratey #1 \endenumeratey}
-\def\enumeratey #1 #2\endenumeratey{%
- % If we were given no argument, pretend we were given `1'.
- \def\thearg{#1}%
- \ifx\thearg\empty \def\thearg{1}\fi
- %
- % Detect if the argument is a single token. If so, it might be a
- % letter. Otherwise, the only valid thing it can be is a number.
- % (We will always have one token, because of the test we just made.
- % This is a good thing, since \splitoff doesn't work given nothing at
- % all -- the first parameter is undelimited.)
- \expandafter\splitoff\thearg\endmark
- \ifx\rest\empty
- % Only one token in the argument. It could still be anything.
- % A ``lowercase letter'' is one whose \lccode is nonzero.
- % An ``uppercase letter'' is one whose \lccode is both nonzero, and
- % not equal to itself.
- % Otherwise, we assume it's a number.
- %
- % We need the \relax at the end of the \ifnum lines to stop TeX from
- % continuing to look for a <number>.
- %
- \ifnum\lccode\expandafter`\thearg=0\relax
- \numericenumerate % a number (we hope)
- \else
- % It's a letter.
- \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax
- \lowercaseenumerate % lowercase letter
- \else
- \uppercaseenumerate % uppercase letter
- \fi
- \fi
- \else
- % Multiple tokens in the argument. We hope it's a number.
- \numericenumerate
- \fi
-}
-
-% An @enumerate whose labels are integers. The starting integer is
-% given in \thearg.
-%
-\def\numericenumerate{%
- \itemno = \thearg
- \startenumeration{\the\itemno}%
-}
-
-% The starting (lowercase) letter is in \thearg.
-\def\lowercaseenumerate{%
- \itemno = \expandafter`\thearg
- \startenumeration{%
- % Be sure we're not beyond the end of the alphabet.
- \ifnum\itemno=0
- \errmessage{No more lowercase letters in @enumerate; get a bigger
- alphabet}%
- \fi
- \char\lccode\itemno
- }%
-}
-
-% The starting (uppercase) letter is in \thearg.
-\def\uppercaseenumerate{%
- \itemno = \expandafter`\thearg
- \startenumeration{%
- % Be sure we're not beyond the end of the alphabet.
- \ifnum\itemno=0
- \errmessage{No more uppercase letters in @enumerate; get a bigger
- alphabet}
- \fi
- \char\uccode\itemno
- }%
-}
-
-% Call \doitemize, adding a period to the first argument and supplying the
-% common last two arguments. Also subtract one from the initial value in
-% \itemno, since @item increments \itemno.
-%
-\def\startenumeration#1{%
- \advance\itemno by -1
- \doitemize{#1.}\flushcr
-}
-
-% @alphaenumerate and @capsenumerate are abbreviations for giving an arg
-% to @enumerate.
-%
-\def\alphaenumerate{\enumerate{a}}
-\def\capsenumerate{\enumerate{A}}
-\def\Ealphaenumerate{\Eenumerate}
-\def\Ecapsenumerate{\Eenumerate}
-
-
-% @multitable macros
-% Amy Hendrickson, 8/18/94, 3/6/96
-%
-% @multitable ... @end multitable will make as many columns as desired.
-% Contents of each column will wrap at width given in preamble. Width
-% can be specified either with sample text given in a template line,
-% or in percent of \hsize, the current width of text on page.
-
-% Table can continue over pages but will only break between lines.
-
-% To make preamble:
-%
-% Either define widths of columns in terms of percent of \hsize:
-% @multitable @columnfractions .25 .3 .45
-% @item ...
-%
-% Numbers following @columnfractions are the percent of the total
-% current hsize to be used for each column. You may use as many
-% columns as desired.
-
-
-% Or use a template:
-% @multitable {Column 1 template} {Column 2 template} {Column 3 template}
-% @item ...
-% using the widest term desired in each column.
-
-% Each new table line starts with @item, each subsequent new column
-% starts with @tab. Empty columns may be produced by supplying @tab's
-% with nothing between them for as many times as empty columns are needed,
-% ie, @tab@tab@tab will produce two empty columns.
-
-% @item, @tab do not need to be on their own lines, but it will not hurt
-% if they are.
-
-% Sample multitable:
-
-% @multitable {Column 1 template} {Column 2 template} {Column 3 template}
-% @item first col stuff @tab second col stuff @tab third col
-% @item
-% first col stuff
-% @tab
-% second col stuff
-% @tab
-% third col
-% @item first col stuff @tab second col stuff
-% @tab Many paragraphs of text may be used in any column.
-%
-% They will wrap at the width determined by the template.
-% @item@tab@tab This will be in third column.
-% @end multitable
-
-% Default dimensions may be reset by user.
-% @multitableparskip is vertical space between paragraphs in table.
-% @multitableparindent is paragraph indent in table.
-% @multitablecolmargin is horizontal space to be left between columns.
-% @multitablelinespace is space to leave between table items, baseline
-% to baseline.
-% 0pt means it depends on current normal line spacing.
-%
-\newskip\multitableparskip
-\newskip\multitableparindent
-\newdimen\multitablecolspace
-\newskip\multitablelinespace
-\multitableparskip=0pt
-\multitableparindent=6pt
-\multitablecolspace=12pt
-\multitablelinespace=0pt
-
-% Macros used to set up halign preamble:
-%
-\let\endsetuptable\relax
-\def\xendsetuptable{\endsetuptable}
-\let\columnfractions\relax
-\def\xcolumnfractions{\columnfractions}
-\newif\ifsetpercent
-
-% #1 is the @columnfraction, usually a decimal number like .5, but might
-% be just 1. We just use it, whatever it is.
-%
-\def\pickupwholefraction#1 {%
- \global\advance\colcount by 1
- \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}%
- \setuptable
-}
-
-\newcount\colcount
-\def\setuptable#1{%
- \def\firstarg{#1}%
- \ifx\firstarg\xendsetuptable
- \let\go = \relax
- \else
- \ifx\firstarg\xcolumnfractions
- \global\setpercenttrue
- \else
- \ifsetpercent
- \let\go\pickupwholefraction
- \else
- \global\advance\colcount by 1
- \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a
- % separator; typically that is always in the input, anyway.
- \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}%
- \fi
- \fi
- \ifx\go\pickupwholefraction
- % Put the argument back for the \pickupwholefraction call, so
- % we'll always have a period there to be parsed.
- \def\go{\pickupwholefraction#1}%
- \else
- \let\go = \setuptable
- \fi%
- \fi
- \go
-}
-
-% multitable-only commands.
-%
-% @headitem starts a heading row, which we typeset in bold.
-% Assignments have to be global since we are inside the implicit group
-% of an alignment entry. \everycr resets \everytab so we don't have to
-% undo it ourselves.
-\def\headitemfont{\b}% for people to use in the template row; not changeable
-\def\headitem{%
- \checkenv\multitable
- \crcr
- \global\everytab={\bf}% can't use \headitemfont since the parsing differs
- \the\everytab % for the first item
-}%
-%
-% A \tab used to include \hskip1sp. But then the space in a template
-% line is not enough. That is bad. So let's go back to just `&' until
-% we again encounter the problem the 1sp was intended to solve.
-% --karl, nathan@acm.org, 20apr99.
-\def\tab{\checkenv\multitable &\the\everytab}%
-
-% @multitable ... @end multitable definitions:
-%
-\newtoks\everytab % insert after every tab.
-%
-\envdef\multitable{%
- \vskip\parskip
- \startsavinginserts
- %
- % @item within a multitable starts a normal row.
- % We use \def instead of \let so that if one of the multitable entries
- % contains an @itemize, we don't choke on the \item (seen as \crcr aka
- % \endtemplate) expanding \doitemize.
- \def\item{\crcr}%
- %
- \tolerance=9500
- \hbadness=9500
- \setmultitablespacing
- \parskip=\multitableparskip
- \parindent=\multitableparindent
- \overfullrule=0pt
- \global\colcount=0
- %
- \everycr = {%
- \noalign{%
- \global\everytab={}%
- \global\colcount=0 % Reset the column counter.
- % Check for saved footnotes, etc.
- \checkinserts
- % Keeps underfull box messages off when table breaks over pages.
- %\filbreak
- % Maybe so, but it also creates really weird page breaks when the
- % table breaks over pages. Wouldn't \vfil be better? Wait until the
- % problem manifests itself, so it can be fixed for real --karl.
- }%
- }%
- %
- \parsearg\domultitable
-}
-\def\domultitable#1{%
- % To parse everything between @multitable and @item:
- \setuptable#1 \endsetuptable
- %
- % This preamble sets up a generic column definition, which will
- % be used as many times as user calls for columns.
- % \vtop will set a single line and will also let text wrap and
- % continue for many paragraphs if desired.
- \halign\bgroup &%
- \global\advance\colcount by 1
- \multistrut
- \vtop{%
- % Use the current \colcount to find the correct column width:
- \hsize=\expandafter\csname col\the\colcount\endcsname
- %
- % In order to keep entries from bumping into each other
- % we will add a \leftskip of \multitablecolspace to all columns after
- % the first one.
- %
- % If a template has been used, we will add \multitablecolspace
- % to the width of each template entry.
- %
- % If the user has set preamble in terms of percent of \hsize we will
- % use that dimension as the width of the column, and the \leftskip
- % will keep entries from bumping into each other. Table will start at
- % left margin and final column will justify at right margin.
- %
- % Make sure we don't inherit \rightskip from the outer environment.
- \rightskip=0pt
- \ifnum\colcount=1
- % The first column will be indented with the surrounding text.
- \advance\hsize by\leftskip
- \else
- \ifsetpercent \else
- % If user has not set preamble in terms of percent of \hsize
- % we will advance \hsize by \multitablecolspace.
- \advance\hsize by \multitablecolspace
- \fi
- % In either case we will make \leftskip=\multitablecolspace:
- \leftskip=\multitablecolspace
- \fi
- % Ignoring space at the beginning and end avoids an occasional spurious
- % blank line, when TeX decides to break the line at the space before the
- % box from the multistrut, so the strut ends up on a line by itself.
- % For example:
- % @multitable @columnfractions .11 .89
- % @item @code{#}
- % @tab Legal holiday which is valid in major parts of the whole country.
- % Is automatically provided with highlighting sequences respectively
- % marking characters.
- \noindent\ignorespaces##\unskip\multistrut
- }\cr
-}
-\def\Emultitable{%
- \crcr
- \egroup % end the \halign
- \global\setpercentfalse
-}
-
-\def\setmultitablespacing{%
- \def\multistrut{\strut}% just use the standard line spacing
- %
- % Compute \multitablelinespace (if not defined by user) for use in
- % \multitableparskip calculation. We used define \multistrut based on
- % this, but (ironically) that caused the spacing to be off.
- % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100.
-\ifdim\multitablelinespace=0pt
-\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip
-\global\advance\multitablelinespace by-\ht0
-\fi
-%% Test to see if parskip is larger than space between lines of
-%% table. If not, do nothing.
-%% If so, set to same dimension as multitablelinespace.
-\ifdim\multitableparskip>\multitablelinespace
-\global\multitableparskip=\multitablelinespace
-\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller
- %% than skip between lines in the table.
-\fi%
-\ifdim\multitableparskip=0pt
-\global\multitableparskip=\multitablelinespace
-\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller
- %% than skip between lines in the table.
-\fi}
-
-
-\message{conditionals,}
-
-% @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext,
-% @ifnotxml always succeed. They currently do nothing; we don't
-% attempt to check whether the conditionals are properly nested. But we
-% have to remember that they are conditionals, so that @end doesn't
-% attempt to close an environment group.
-%
-\def\makecond#1{%
- \expandafter\let\csname #1\endcsname = \relax
- \expandafter\let\csname iscond.#1\endcsname = 1
-}
-\makecond{iftex}
-\makecond{ifnotdocbook}
-\makecond{ifnothtml}
-\makecond{ifnotinfo}
-\makecond{ifnotplaintext}
-\makecond{ifnotxml}
-
-% Ignore @ignore, @ifhtml, @ifinfo, and the like.
-%
-\def\direntry{\doignore{direntry}}
-\def\documentdescription{\doignore{documentdescription}}
-\def\docbook{\doignore{docbook}}
-\def\html{\doignore{html}}
-\def\ifdocbook{\doignore{ifdocbook}}
-\def\ifhtml{\doignore{ifhtml}}
-\def\ifinfo{\doignore{ifinfo}}
-\def\ifnottex{\doignore{ifnottex}}
-\def\ifplaintext{\doignore{ifplaintext}}
-\def\ifxml{\doignore{ifxml}}
-\def\ignore{\doignore{ignore}}
-\def\menu{\doignore{menu}}
-\def\xml{\doignore{xml}}
-
-% Ignore text until a line `@end #1', keeping track of nested conditionals.
-%
-% A count to remember the depth of nesting.
-\newcount\doignorecount
-
-\def\doignore#1{\begingroup
- % Scan in ``verbatim'' mode:
- \obeylines
- \catcode`\@ = \other
- \catcode`\{ = \other
- \catcode`\} = \other
- %
- % Make sure that spaces turn into tokens that match what \doignoretext wants.
- \spaceisspace
- %
- % Count number of #1's that we've seen.
- \doignorecount = 0
- %
- % Swallow text until we reach the matching `@end #1'.
- \dodoignore{#1}%
-}
-
-{ \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source.
- \obeylines %
- %
- \gdef\dodoignore#1{%
- % #1 contains the command name as a string, e.g., `ifinfo'.
- %
- % Define a command to find the next `@end #1'.
- \long\def\doignoretext##1^^M@end #1{%
- \doignoretextyyy##1^^M@#1\_STOP_}%
- %
- % And this command to find another #1 command, at the beginning of a
- % line. (Otherwise, we would consider a line `@c @ifset', for
- % example, to count as an @ifset for nesting.)
- \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}%
- %
- % And now expand that command.
- \doignoretext ^^M%
- }%
-}
-
-\def\doignoreyyy#1{%
- \def\temp{#1}%
- \ifx\temp\empty % Nothing found.
- \let\next\doignoretextzzz
- \else % Found a nested condition, ...
- \advance\doignorecount by 1
- \let\next\doignoretextyyy % ..., look for another.
- % If we're here, #1 ends with ^^M\ifinfo (for example).
- \fi
- \next #1% the token \_STOP_ is present just after this macro.
-}
-
-% We have to swallow the remaining "\_STOP_".
-%
-\def\doignoretextzzz#1{%
- \ifnum\doignorecount = 0 % We have just found the outermost @end.
- \let\next\enddoignore
- \else % Still inside a nested condition.
- \advance\doignorecount by -1
- \let\next\doignoretext % Look for the next @end.
- \fi
- \next
-}
-
-% Finish off ignored text.
-{ \obeylines%
- % Ignore anything after the last `@end #1'; this matters in verbatim
- % environments, where otherwise the newline after an ignored conditional
- % would result in a blank line in the output.
- \gdef\enddoignore#1^^M{\endgroup\ignorespaces}%
-}
-
-
-% @set VAR sets the variable VAR to an empty value.
-% @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE.
-%
-% Since we want to separate VAR from REST-OF-LINE (which might be
-% empty), we can't just use \parsearg; we have to insert a space of our
-% own to delimit the rest of the line, and then take it out again if we
-% didn't need it.
-% We rely on the fact that \parsearg sets \catcode`\ =10.
-%
-\parseargdef\set{\setyyy#1 \endsetyyy}
-\def\setyyy#1 #2\endsetyyy{%
- {%
- \makevalueexpandable
- \def\temp{#2}%
- \edef\next{\gdef\makecsname{SET#1}}%
- \ifx\temp\empty
- \next{}%
- \else
- \setzzz#2\endsetzzz
- \fi
- }%
-}
-% Remove the trailing space \setxxx inserted.
-\def\setzzz#1 \endsetzzz{\next{#1}}
-
-% @clear VAR clears (i.e., unsets) the variable VAR.
-%
-\parseargdef\clear{%
- {%
- \makevalueexpandable
- \global\expandafter\let\csname SET#1\endcsname=\relax
- }%
-}
-
-% @value{foo} gets the text saved in variable foo.
-\def\value{\begingroup\makevalueexpandable\valuexxx}
-\def\valuexxx#1{\expandablevalue{#1}\endgroup}
-{
- \catcode`\- = \active \catcode`\_ = \active
- %
- \gdef\makevalueexpandable{%
- \let\value = \expandablevalue
- % We don't want these characters active, ...
- \catcode`\-=\other \catcode`\_=\other
- % ..., but we might end up with active ones in the argument if
- % we're called from @code, as @code{@value{foo-bar_}}, though.
- % So \let them to their normal equivalents.
- \let-\realdash \let_\normalunderscore
- }
-}
-
-% We have this subroutine so that we can handle at least some @value's
-% properly in indexes (we call \makevalueexpandable in \indexdummies).
-% The command has to be fully expandable (if the variable is set), since
-% the result winds up in the index file. This means that if the
-% variable's value contains other Texinfo commands, it's almost certain
-% it will fail (although perhaps we could fix that with sufficient work
-% to do a one-level expansion on the result, instead of complete).
-%
-\def\expandablevalue#1{%
- \expandafter\ifx\csname SET#1\endcsname\relax
- {[No value for ``#1'']}%
- \message{Variable `#1', used in @value, is not set.}%
- \else
- \csname SET#1\endcsname
- \fi
-}
-
-% @ifset VAR ... @end ifset reads the `...' iff VAR has been defined
-% with @set.
-%
-% To get special treatment of `@end ifset,' call \makeond and the redefine.
-%
-\makecond{ifset}
-\def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}}
-\def\doifset#1#2{%
- {%
- \makevalueexpandable
- \let\next=\empty
- \expandafter\ifx\csname SET#2\endcsname\relax
- #1% If not set, redefine \next.
- \fi
- \expandafter
- }\next
-}
-\def\ifsetfail{\doignore{ifset}}
-
-% @ifclear VAR ... @end ifclear reads the `...' iff VAR has never been
-% defined with @set, or has been undefined with @clear.
-%
-% The `\else' inside the `\doifset' parameter is a trick to reuse the
-% above code: if the variable is not set, do nothing, if it is set,
-% then redefine \next to \ifclearfail.
-%
-\makecond{ifclear}
-\def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}}
-\def\ifclearfail{\doignore{ifclear}}
-
-% @dircategory CATEGORY -- specify a category of the dir file
-% which this file should belong to. Ignore this in TeX.
-\let\dircategory=\comment
-
-% @defininfoenclose.
-\let\definfoenclose=\comment
-
-
-\message{indexing,}
-% Index generation facilities
-
-% Define \newwrite to be identical to plain tex's \newwrite
-% except not \outer, so it can be used within macros and \if's.
-\edef\newwrite{\makecsname{ptexnewwrite}}
-
-% \newindex {foo} defines an index named foo.
-% It automatically defines \fooindex such that
-% \fooindex ...rest of line... puts an entry in the index foo.
-% It also defines \fooindfile to be the number of the output channel for
-% the file that accumulates this index. The file's extension is foo.
-% The name of an index should be no more than 2 characters long
-% for the sake of vms.
-%
-\def\newindex#1{%
- \iflinks
- \expandafter\newwrite \csname#1indfile\endcsname
- \openout \csname#1indfile\endcsname \jobname.#1 % Open the file
- \fi
- \expandafter\xdef\csname#1index\endcsname{% % Define @#1index
- \noexpand\doindex{#1}}
-}
-
-% @defindex foo == \newindex{foo}
-%
-\def\defindex{\parsearg\newindex}
-
-% Define @defcodeindex, like @defindex except put all entries in @code.
-%
-\def\defcodeindex{\parsearg\newcodeindex}
-%
-\def\newcodeindex#1{%
- \iflinks
- \expandafter\newwrite \csname#1indfile\endcsname
- \openout \csname#1indfile\endcsname \jobname.#1
- \fi
- \expandafter\xdef\csname#1index\endcsname{%
- \noexpand\docodeindex{#1}}%
-}
-
-
-% @synindex foo bar makes index foo feed into index bar.
-% Do this instead of @defindex foo if you don't want it as a separate index.
-%
-% @syncodeindex foo bar similar, but put all entries made for index foo
-% inside @code.
-%
-\def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}}
-\def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}}
-
-% #1 is \doindex or \docodeindex, #2 the index getting redefined (foo),
-% #3 the target index (bar).
-\def\dosynindex#1#2#3{%
- % Only do \closeout if we haven't already done it, else we'll end up
- % closing the target index.
- \expandafter \ifx\csname donesynindex#2\endcsname \relax
- % The \closeout helps reduce unnecessary open files; the limit on the
- % Acorn RISC OS is a mere 16 files.
- \expandafter\closeout\csname#2indfile\endcsname
- \expandafter\let\csname donesynindex#2\endcsname = 1
- \fi
- % redefine \fooindfile:
- \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname
- \expandafter\let\csname#2indfile\endcsname=\temp
- % redefine \fooindex:
- \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}%
-}
-
-% Define \doindex, the driver for all \fooindex macros.
-% Argument #1 is generated by the calling \fooindex macro,
-% and it is "foo", the name of the index.
-
-% \doindex just uses \parsearg; it calls \doind for the actual work.
-% This is because \doind is more useful to call from other macros.
-
-% There is also \dosubind {index}{topic}{subtopic}
-% which makes an entry in a two-level index such as the operation index.
-
-\def\doindex#1{\edef\indexname{#1}\parsearg\singleindexer}
-\def\singleindexer #1{\doind{\indexname}{#1}}
-
-% like the previous two, but they put @code around the argument.
-\def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer}
-\def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}}
-
-% Take care of Texinfo commands that can appear in an index entry.
-% Since there are some commands we want to expand, and others we don't,
-% we have to laboriously prevent expansion for those that we don't.
-%
-\def\indexdummies{%
- \escapechar = `\\ % use backslash in output files.
- \def\@{@}% change to @@ when we switch to @ as escape char in index files.
- \def\ {\realbackslash\space }%
- %
- % Need these in case \tex is in effect and \{ is a \delimiter again.
- % But can't use \lbracecmd and \rbracecmd because texindex assumes
- % braces and backslashes are used only as delimiters.
- \let\{ = \mylbrace
- \let\} = \myrbrace
- %
- % I don't entirely understand this, but when an index entry is
- % generated from a macro call, the \endinput which \scanmacro inserts
- % causes processing to be prematurely terminated. This is,
- % apparently, because \indexsorttmp is fully expanded, and \endinput
- % is an expandable command. The redefinition below makes \endinput
- % disappear altogether for that purpose -- although logging shows that
- % processing continues to some further point. On the other hand, it
- % seems \endinput does not hurt in the printed index arg, since that
- % is still getting written without apparent harm.
- %
- % Sample source (mac-idx3.tex, reported by Graham Percival to
- % help-texinfo, 22may06):
- % @macro funindex {WORD}
- % @findex xyz
- % @end macro
- % ...
- % @funindex commtest
- %
- % The above is not enough to reproduce the bug, but it gives the flavor.
- %
- % Sample whatsit resulting:
- % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}}
- %
- % So:
- \let\endinput = \empty
- %
- % Do the redefinitions.
- \commondummies
-}
-
-% For the aux and toc files, @ is the escape character. So we want to
-% redefine everything using @ as the escape character (instead of
-% \realbackslash, still used for index files). When everything uses @,
-% this will be simpler.
-%
-\def\atdummies{%
- \def\@{@@}%
- \def\ {@ }%
- \let\{ = \lbraceatcmd
- \let\} = \rbraceatcmd
- %
- % Do the redefinitions.
- \commondummies
- \otherbackslash
-}
-
-% Called from \indexdummies and \atdummies.
-%
-\def\commondummies{%
- %
- % \definedummyword defines \#1 as \string\#1\space, thus effectively
- % preventing its expansion. This is used only for control% words,
- % not control letters, because the \space would be incorrect for
- % control characters, but is needed to separate the control word
- % from whatever follows.
- %
- % For control letters, we have \definedummyletter, which omits the
- % space.
- %
- % These can be used both for control words that take an argument and
- % those that do not. If it is followed by {arg} in the input, then
- % that will dutifully get written to the index (or wherever).
- %
- \def\definedummyword ##1{\def##1{\string##1\space}}%
- \def\definedummyletter##1{\def##1{\string##1}}%
- \let\definedummyaccent\definedummyletter
- %
- \commondummiesnofonts
- %
- \definedummyletter\_%
- %
- % Non-English letters.
- \definedummyword\AA
- \definedummyword\AE
- \definedummyword\DH
- \definedummyword\L
- \definedummyword\O
- \definedummyword\OE
- \definedummyword\TH
- \definedummyword\aa
- \definedummyword\ae
- \definedummyword\dh
- \definedummyword\exclamdown
- \definedummyword\l
- \definedummyword\o
- \definedummyword\oe
- \definedummyword\ordf
- \definedummyword\ordm
- \definedummyword\questiondown
- \definedummyword\ss
- \definedummyword\th
- %
- % Although these internal commands shouldn't show up, sometimes they do.
- \definedummyword\bf
- \definedummyword\gtr
- \definedummyword\hat
- \definedummyword\less
- \definedummyword\sf
- \definedummyword\sl
- \definedummyword\tclose
- \definedummyword\tt
- %
- \definedummyword\LaTeX
- \definedummyword\TeX
- %
- % Assorted special characters.
- \definedummyword\bullet
- \definedummyword\comma
- \definedummyword\copyright
- \definedummyword\registeredsymbol
- \definedummyword\dots
- \definedummyword\enddots
- \definedummyword\equiv
- \definedummyword\error
- \definedummyword\euro
- \definedummyword\guillemetleft
- \definedummyword\guillemetright
- \definedummyword\guilsinglleft
- \definedummyword\guilsinglright
- \definedummyword\expansion
- \definedummyword\minus
- \definedummyword\ogonek
- \definedummyword\pounds
- \definedummyword\point
- \definedummyword\print
- \definedummyword\quotedblbase
- \definedummyword\quotedblleft
- \definedummyword\quotedblright
- \definedummyword\quoteleft
- \definedummyword\quoteright
- \definedummyword\quotesinglbase
- \definedummyword\result
- \definedummyword\textdegree
- %
- % We want to disable all macros so that they are not expanded by \write.
- \macrolist
- %
- \normalturnoffactive
- %
- % Handle some cases of @value -- where it does not contain any
- % (non-fully-expandable) commands.
- \makevalueexpandable
-}
-
-% \commondummiesnofonts: common to \commondummies and \indexnofonts.
-%
-\def\commondummiesnofonts{%
- % Control letters and accents.
- \definedummyletter\!%
- \definedummyaccent\"%
- \definedummyaccent\'%
- \definedummyletter\*%
- \definedummyaccent\,%
- \definedummyletter\.%
- \definedummyletter\/%
- \definedummyletter\:%
- \definedummyaccent\=%
- \definedummyletter\?%
- \definedummyaccent\^%
- \definedummyaccent\`%
- \definedummyaccent\~%
- \definedummyword\u
- \definedummyword\v
- \definedummyword\H
- \definedummyword\dotaccent
- \definedummyword\ogonek
- \definedummyword\ringaccent
- \definedummyword\tieaccent
- \definedummyword\ubaraccent
- \definedummyword\udotaccent
- \definedummyword\dotless
- %
- % Texinfo font commands.
- \definedummyword\b
- \definedummyword\i
- \definedummyword\r
- \definedummyword\sc
- \definedummyword\t
- %
- % Commands that take arguments.
- \definedummyword\acronym
- \definedummyword\cite
- \definedummyword\code
- \definedummyword\command
- \definedummyword\dfn
- \definedummyword\emph
- \definedummyword\env
- \definedummyword\file
- \definedummyword\kbd
- \definedummyword\key
- \definedummyword\math
- \definedummyword\option
- \definedummyword\pxref
- \definedummyword\ref
- \definedummyword\samp
- \definedummyword\strong
- \definedummyword\tie
- \definedummyword\uref
- \definedummyword\url
- \definedummyword\var
- \definedummyword\verb
- \definedummyword\w
- \definedummyword\xref
-}
-
-% \indexnofonts is used when outputting the strings to sort the index
-% by, and when constructing control sequence names. It eliminates all
-% control sequences and just writes whatever the best ASCII sort string
-% would be for a given command (usually its argument).
-%
-\def\indexnofonts{%
- % Accent commands should become @asis.
- \def\definedummyaccent##1{\let##1\asis}%
- % We can just ignore other control letters.
- \def\definedummyletter##1{\let##1\empty}%
- % Hopefully, all control words can become @asis.
- \let\definedummyword\definedummyaccent
- %
- \commondummiesnofonts
- %
- % Don't no-op \tt, since it isn't a user-level command
- % and is used in the definitions of the active chars like <, >, |, etc.
- % Likewise with the other plain tex font commands.
- %\let\tt=\asis
- %
- \def\ { }%
- \def\@{@}%
- % how to handle braces?
- \def\_{\normalunderscore}%
- %
- % Non-English letters.
- \def\AA{AA}%
- \def\AE{AE}%
- \def\DH{DZZ}%
- \def\L{L}%
- \def\OE{OE}%
- \def\O{O}%
- \def\TH{ZZZ}%
- \def\aa{aa}%
- \def\ae{ae}%
- \def\dh{dzz}%
- \def\exclamdown{!}%
- \def\l{l}%
- \def\oe{oe}%
- \def\ordf{a}%
- \def\ordm{o}%
- \def\o{o}%
- \def\questiondown{?}%
- \def\ss{ss}%
- \def\th{zzz}%
- %
- \def\LaTeX{LaTeX}%
- \def\TeX{TeX}%
- %
- % Assorted special characters.
- % (The following {} will end up in the sort string, but that's ok.)
- \def\bullet{bullet}%
- \def\comma{,}%
- \def\copyright{copyright}%
- \def\registeredsymbol{R}%
- \def\dots{...}%
- \def\enddots{...}%
- \def\equiv{==}%
- \def\error{error}%
- \def\euro{euro}%
- \def\guillemetleft{<<}%
- \def\guillemetright{>>}%
- \def\guilsinglleft{<}%
- \def\guilsinglright{>}%
- \def\expansion{==>}%
- \def\minus{-}%
- \def\pounds{pounds}%
- \def\point{.}%
- \def\print{-|}%
- \def\quotedblbase{"}%
- \def\quotedblleft{"}%
- \def\quotedblright{"}%
- \def\quoteleft{`}%
- \def\quoteright{'}%
- \def\quotesinglbase{,}%
- \def\result{=>}%
- \def\textdegree{degrees}%
- %
- % We need to get rid of all macros, leaving only the arguments (if present).
- % Of course this is not nearly correct, but it is the best we can do for now.
- % makeinfo does not expand macros in the argument to @deffn, which ends up
- % writing an index entry, and texindex isn't prepared for an index sort entry
- % that starts with \.
- %
- % Since macro invocations are followed by braces, we can just redefine them
- % to take a single TeX argument. The case of a macro invocation that
- % goes to end-of-line is not handled.
- %
- \macrolist
-}
-
-\let\indexbackslash=0 %overridden during \printindex.
-\let\SETmarginindex=\relax % put index entries in margin (undocumented)?
-
-% Most index entries go through here, but \dosubind is the general case.
-% #1 is the index name, #2 is the entry text.
-\def\doind#1#2{\dosubind{#1}{#2}{}}
-
-% Workhorse for all \fooindexes.
-% #1 is name of index, #2 is stuff to put there, #3 is subentry --
-% empty if called from \doind, as we usually are (the main exception
-% is with most defuns, which call us directly).
-%
-\def\dosubind#1#2#3{%
- \iflinks
- {%
- % Store the main index entry text (including the third arg).
- \toks0 = {#2}%
- % If third arg is present, precede it with a space.
- \def\thirdarg{#3}%
- \ifx\thirdarg\empty \else
- \toks0 = \expandafter{\the\toks0 \space #3}%
- \fi
- %
- \edef\writeto{\csname#1indfile\endcsname}%
- %
- \safewhatsit\dosubindwrite
- }%
- \fi
-}
-
-% Write the entry in \toks0 to the index file:
-%
-\def\dosubindwrite{%
- % Put the index entry in the margin if desired.
- \ifx\SETmarginindex\relax\else
- \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \the\toks0}}%
- \fi
- %
- % Remember, we are within a group.
- \indexdummies % Must do this here, since \bf, etc expand at this stage
- \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now
- % so it will be output as is; and it will print as backslash.
- %
- % Process the index entry with all font commands turned off, to
- % get the string to sort by.
- {\indexnofonts
- \edef\temp{\the\toks0}% need full expansion
- \xdef\indexsorttmp{\temp}%
- }%
- %
- % Set up the complete index entry, with both the sort key and
- % the original text, including any font commands. We write
- % three arguments to \entry to the .?? file (four in the
- % subentry case), texindex reduces to two when writing the .??s
- % sorted result.
- \edef\temp{%
- \write\writeto{%
- \string\entry{\indexsorttmp}{\noexpand\folio}{\the\toks0}}%
- }%
- \temp
-}
-
-% Take care of unwanted page breaks/skips around a whatsit:
-%
-% If a skip is the last thing on the list now, preserve it
-% by backing up by \lastskip, doing the \write, then inserting
-% the skip again. Otherwise, the whatsit generated by the
-% \write or \pdfdest will make \lastskip zero. The result is that
-% sequences like this:
-% @end defun
-% @tindex whatever
-% @defun ...
-% will have extra space inserted, because the \medbreak in the
-% start of the @defun won't see the skip inserted by the @end of
-% the previous defun.
-%
-% But don't do any of this if we're not in vertical mode. We
-% don't want to do a \vskip and prematurely end a paragraph.
-%
-% Avoid page breaks due to these extra skips, too.
-%
-% But wait, there is a catch there:
-% We'll have to check whether \lastskip is zero skip. \ifdim is not
-% sufficient for this purpose, as it ignores stretch and shrink parts
-% of the skip. The only way seems to be to check the textual
-% representation of the skip.
-%
-% The following is almost like \def\zeroskipmacro{0.0pt} except that
-% the ``p'' and ``t'' characters have catcode \other, not 11 (letter).
-%
-\edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname}
-%
-\newskip\whatsitskip
-\newcount\whatsitpenalty
-%
-% ..., ready, GO:
-%
-\def\safewhatsit#1{%
-\ifhmode
- #1%
-\else
- % \lastskip and \lastpenalty cannot both be nonzero simultaneously.
- \whatsitskip = \lastskip
- \edef\lastskipmacro{\the\lastskip}%
- \whatsitpenalty = \lastpenalty
- %
- % If \lastskip is nonzero, that means the last item was a
- % skip. And since a skip is discardable, that means this
- % -\whatsitskip glue we're inserting is preceded by a
- % non-discardable item, therefore it is not a potential
- % breakpoint, therefore no \nobreak needed.
- \ifx\lastskipmacro\zeroskipmacro
- \else
- \vskip-\whatsitskip
- \fi
- %
- #1%
- %
- \ifx\lastskipmacro\zeroskipmacro
- % If \lastskip was zero, perhaps the last item was a penalty, and
- % perhaps it was >=10000, e.g., a \nobreak. In that case, we want
- % to re-insert the same penalty (values >10000 are used for various
- % signals); since we just inserted a non-discardable item, any
- % following glue (such as a \parskip) would be a breakpoint. For example:
- %
- % @deffn deffn-whatever
- % @vindex index-whatever
- % Description.
- % would allow a break between the index-whatever whatsit
- % and the "Description." paragraph.
- \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi
- \else
- % On the other hand, if we had a nonzero \lastskip,
- % this make-up glue would be preceded by a non-discardable item
- % (the whatsit from the \write), so we must insert a \nobreak.
- \nobreak\vskip\whatsitskip
- \fi
-\fi
-}
-
-% The index entry written in the file actually looks like
-% \entry {sortstring}{page}{topic}
-% or
-% \entry {sortstring}{page}{topic}{subtopic}
-% The texindex program reads in these files and writes files
-% containing these kinds of lines:
-% \initial {c}
-% before the first topic whose initial is c
-% \entry {topic}{pagelist}
-% for a topic that is used without subtopics
-% \primary {topic}
-% for the beginning of a topic that is used with subtopics
-% \secondary {subtopic}{pagelist}
-% for each subtopic.
-
-% Define the user-accessible indexing commands
-% @findex, @vindex, @kindex, @cindex.
-
-\def\findex {\fnindex}
-\def\kindex {\kyindex}
-\def\cindex {\cpindex}
-\def\vindex {\vrindex}
-\def\tindex {\tpindex}
-\def\pindex {\pgindex}
-
-\def\cindexsub {\begingroup\obeylines\cindexsub}
-{\obeylines %
-\gdef\cindexsub "#1" #2^^M{\endgroup %
-\dosubind{cp}{#2}{#1}}}
-
-% Define the macros used in formatting output of the sorted index material.
-
-% @printindex causes a particular index (the ??s file) to get printed.
-% It does not print any chapter heading (usually an @unnumbered).
-%
-\parseargdef\printindex{\begingroup
- \dobreak \chapheadingskip{10000}%
- %
- \smallfonts \rm
- \tolerance = 9500
- \plainfrenchspacing
- \everypar = {}% don't want the \kern\-parindent from indentation suppression.
- %
- % See if the index file exists and is nonempty.
- % Change catcode of @ here so that if the index file contains
- % \initial {@}
- % as its first line, TeX doesn't complain about mismatched braces
- % (because it thinks @} is a control sequence).
- \catcode`\@ = 11
- \openin 1 \jobname.#1s
- \ifeof 1
- % \enddoublecolumns gets confused if there is no text in the index,
- % and it loses the chapter title and the aux file entries for the
- % index. The easiest way to prevent this problem is to make sure
- % there is some text.
- \putwordIndexNonexistent
- \else
- %
- % If the index file exists but is empty, then \openin leaves \ifeof
- % false. We have to make TeX try to read something from the file, so
- % it can discover if there is anything in it.
- \read 1 to \temp
- \ifeof 1
- \putwordIndexIsEmpty
- \else
- % Index files are almost Texinfo source, but we use \ as the escape
- % character. It would be better to use @, but that's too big a change
- % to make right now.
- \def\indexbackslash{\backslashcurfont}%
- \catcode`\\ = 0
- \escapechar = `\\
- \begindoublecolumns
- \input \jobname.#1s
- \enddoublecolumns
- \fi
- \fi
- \closein 1
-\endgroup}
-
-% These macros are used by the sorted index file itself.
-% Change them to control the appearance of the index.
-
-\def\initial#1{{%
- % Some minor font changes for the special characters.
- \let\tentt=\sectt \let\tt=\sectt \let\sf=\sectt
- %
- % Remove any glue we may have, we'll be inserting our own.
- \removelastskip
- %
- % We like breaks before the index initials, so insert a bonus.
- \nobreak
- \vskip 0pt plus 3\baselineskip
- \penalty 0
- \vskip 0pt plus -3\baselineskip
- %
- % Typeset the initial. Making this add up to a whole number of
- % baselineskips increases the chance of the dots lining up from column
- % to column. It still won't often be perfect, because of the stretch
- % we need before each entry, but it's better.
- %
- % No shrink because it confuses \balancecolumns.
- \vskip 1.67\baselineskip plus .5\baselineskip
- \leftline{\secbf #1}%
- % Do our best not to break after the initial.
- \nobreak
- \vskip .33\baselineskip plus .1\baselineskip
-}}
-
-% \entry typesets a paragraph consisting of the text (#1), dot leaders, and
-% then page number (#2) flushed to the right margin. It is used for index
-% and table of contents entries. The paragraph is indented by \leftskip.
-%
-% A straightforward implementation would start like this:
-% \def\entry#1#2{...
-% But this freezes the catcodes in the argument, and can cause problems to
-% @code, which sets - active. This problem was fixed by a kludge---
-% ``-'' was active throughout whole index, but this isn't really right.
-%
-% The right solution is to prevent \entry from swallowing the whole text.
-% --kasal, 21nov03
-\def\entry{%
- \begingroup
- %
- % Start a new paragraph if necessary, so our assignments below can't
- % affect previous text.
- \par
- %
- % Do not fill out the last line with white space.
- \parfillskip = 0in
- %
- % No extra space above this paragraph.
- \parskip = 0in
- %
- % Do not prefer a separate line ending with a hyphen to fewer lines.
- \finalhyphendemerits = 0
- %
- % \hangindent is only relevant when the entry text and page number
- % don't both fit on one line. In that case, bob suggests starting the
- % dots pretty far over on the line. Unfortunately, a large
- % indentation looks wrong when the entry text itself is broken across
- % lines. So we use a small indentation and put up with long leaders.
- %
- % \hangafter is reset to 1 (which is the value we want) at the start
- % of each paragraph, so we need not do anything with that.
- \hangindent = 2em
- %
- % When the entry text needs to be broken, just fill out the first line
- % with blank space.
- \rightskip = 0pt plus1fil
- %
- % A bit of stretch before each entry for the benefit of balancing
- % columns.
- \vskip 0pt plus1pt
- %
- % Swallow the left brace of the text (first parameter):
- \afterassignment\doentry
- \let\temp =
-}
-\def\doentry{%
- \bgroup % Instead of the swallowed brace.
- \noindent
- \aftergroup\finishentry
- % And now comes the text of the entry.
-}
-\def\finishentry#1{%
- % #1 is the page number.
- %
- % The following is kludged to not output a line of dots in the index if
- % there are no page numbers. The next person who breaks this will be
- % cursed by a Unix daemon.
- \setbox\boxA = \hbox{#1}%
- \ifdim\wd\boxA = 0pt
- \ %
- \else
- %
- % If we must, put the page number on a line of its own, and fill out
- % this line with blank space. (The \hfil is overwhelmed with the
- % fill leaders glue in \indexdotfill if the page number does fit.)
- \hfil\penalty50
- \null\nobreak\indexdotfill % Have leaders before the page number.
- %
- % The `\ ' here is removed by the implicit \unskip that TeX does as
- % part of (the primitive) \par. Without it, a spurious underfull
- % \hbox ensues.
- \ifpdf
- \pdfgettoks#1.%
- \ \the\toksA
- \else
- \ #1%
- \fi
- \fi
- \par
- \endgroup
-}
-
-% Like plain.tex's \dotfill, except uses up at least 1 em.
-\def\indexdotfill{\cleaders
- \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill}
-
-\def\primary #1{\line{#1\hfil}}
-
-\newskip\secondaryindent \secondaryindent=0.5cm
-\def\secondary#1#2{{%
- \parfillskip=0in
- \parskip=0in
- \hangindent=1in
- \hangafter=1
- \noindent\hskip\secondaryindent\hbox{#1}\indexdotfill
- \ifpdf
- \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph.
- \else
- #2
- \fi
- \par
-}}
-
-% Define two-column mode, which we use to typeset indexes.
-% Adapted from the TeXbook, page 416, which is to say,
-% the manmac.tex format used to print the TeXbook itself.
-\catcode`\@=11
-
-\newbox\partialpage
-\newdimen\doublecolumnhsize
-
-\def\begindoublecolumns{\begingroup % ended by \enddoublecolumns
- % Grab any single-column material above us.
- \output = {%
- %
- % Here is a possibility not foreseen in manmac: if we accumulate a
- % whole lot of material, we might end up calling this \output
- % routine twice in a row (see the doublecol-lose test, which is
- % essentially a couple of indexes with @setchapternewpage off). In
- % that case we just ship out what is in \partialpage with the normal
- % output routine. Generally, \partialpage will be empty when this
- % runs and this will be a no-op. See the indexspread.tex test case.
- \ifvoid\partialpage \else
- \onepageout{\pagecontents\partialpage}%
- \fi
- %
- \global\setbox\partialpage = \vbox{%
- % Unvbox the main output page.
- \unvbox\PAGE
- \kern-\topskip \kern\baselineskip
- }%
- }%
- \eject % run that output routine to set \partialpage
- %
- % Use the double-column output routine for subsequent pages.
- \output = {\doublecolumnout}%
- %
- % Change the page size parameters. We could do this once outside this
- % routine, in each of @smallbook, @afourpaper, and the default 8.5x11
- % format, but then we repeat the same computation. Repeating a couple
- % of assignments once per index is clearly meaningless for the
- % execution time, so we may as well do it in one place.
- %
- % First we halve the line length, less a little for the gutter between
- % the columns. We compute the gutter based on the line length, so it
- % changes automatically with the paper format. The magic constant
- % below is chosen so that the gutter has the same value (well, +-<1pt)
- % as it did when we hard-coded it.
- %
- % We put the result in a separate register, \doublecolumhsize, so we
- % can restore it in \pagesofar, after \hsize itself has (potentially)
- % been clobbered.
- %
- \doublecolumnhsize = \hsize
- \advance\doublecolumnhsize by -.04154\hsize
- \divide\doublecolumnhsize by 2
- \hsize = \doublecolumnhsize
- %
- % Double the \vsize as well. (We don't need a separate register here,
- % since nobody clobbers \vsize.)
- \vsize = 2\vsize
-}
-
-% The double-column output routine for all double-column pages except
-% the last.
-%
-\def\doublecolumnout{%
- \splittopskip=\topskip \splitmaxdepth=\maxdepth
- % Get the available space for the double columns -- the normal
- % (undoubled) page height minus any material left over from the
- % previous page.
- \dimen@ = \vsize
- \divide\dimen@ by 2
- \advance\dimen@ by -\ht\partialpage
- %
- % box0 will be the left-hand column, box2 the right.
- \setbox0=\vsplit255 to\dimen@ \setbox2=\vsplit255 to\dimen@
- \onepageout\pagesofar
- \unvbox255
- \penalty\outputpenalty
-}
-%
-% Re-output the contents of the output page -- any previous material,
-% followed by the two boxes we just split, in box0 and box2.
-\def\pagesofar{%
- \unvbox\partialpage
- %
- \hsize = \doublecolumnhsize
- \wd0=\hsize \wd2=\hsize
- \hbox to\pagewidth{\box0\hfil\box2}%
-}
-%
-% All done with double columns.
-\def\enddoublecolumns{%
- % The following penalty ensures that the page builder is exercised
- % _before_ we change the output routine. This is necessary in the
- % following situation:
- %
- % The last section of the index consists only of a single entry.
- % Before this section, \pagetotal is less than \pagegoal, so no
- % break occurs before the last section starts. However, the last
- % section, consisting of \initial and the single \entry, does not
- % fit on the page and has to be broken off. Without the following
- % penalty the page builder will not be exercised until \eject
- % below, and by that time we'll already have changed the output
- % routine to the \balancecolumns version, so the next-to-last
- % double-column page will be processed with \balancecolumns, which
- % is wrong: The two columns will go to the main vertical list, with
- % the broken-off section in the recent contributions. As soon as
- % the output routine finishes, TeX starts reconsidering the page
- % break. The two columns and the broken-off section both fit on the
- % page, because the two columns now take up only half of the page
- % goal. When TeX sees \eject from below which follows the final
- % section, it invokes the new output routine that we've set after
- % \balancecolumns below; \onepageout will try to fit the two columns
- % and the final section into the vbox of \pageheight (see
- % \pagebody), causing an overfull box.
- %
- % Note that glue won't work here, because glue does not exercise the
- % page builder, unlike penalties (see The TeXbook, pp. 280-281).
- \penalty0
- %
- \output = {%
- % Split the last of the double-column material. Leave it on the
- % current page, no automatic page break.
- \balancecolumns
- %
- % If we end up splitting too much material for the current page,
- % though, there will be another page break right after this \output
- % invocation ends. Having called \balancecolumns once, we do not
- % want to call it again. Therefore, reset \output to its normal
- % definition right away. (We hope \balancecolumns will never be
- % called on to balance too much material, but if it is, this makes
- % the output somewhat more palatable.)
- \global\output = {\onepageout{\pagecontents\PAGE}}%
- }%
- \eject
- \endgroup % started in \begindoublecolumns
- %
- % \pagegoal was set to the doubled \vsize above, since we restarted
- % the current page. We're now back to normal single-column
- % typesetting, so reset \pagegoal to the normal \vsize (after the
- % \endgroup where \vsize got restored).
- \pagegoal = \vsize
-}
-%
-% Called at the end of the double column material.
-\def\balancecolumns{%
- \setbox0 = \vbox{\unvbox255}% like \box255 but more efficient, see p.120.
- \dimen@ = \ht0
- \advance\dimen@ by \topskip
- \advance\dimen@ by-\baselineskip
- \divide\dimen@ by 2 % target to split to
- %debug\message{final 2-column material height=\the\ht0, target=\the\dimen@.}%
- \splittopskip = \topskip
- % Loop until we get a decent breakpoint.
- {%
- \vbadness = 10000
- \loop
- \global\setbox3 = \copy0
- \global\setbox1 = \vsplit3 to \dimen@
- \ifdim\ht3>\dimen@
- \global\advance\dimen@ by 1pt
- \repeat
- }%
- %debug\message{split to \the\dimen@, column heights: \the\ht1, \the\ht3.}%
- \setbox0=\vbox to\dimen@{\unvbox1}%
- \setbox2=\vbox to\dimen@{\unvbox3}%
- %
- \pagesofar
-}
-\catcode`\@ = \other
-
-
-\message{sectioning,}
-% Chapters, sections, etc.
-
-% \unnumberedno is an oxymoron, of course. But we count the unnumbered
-% sections so that we can refer to them unambiguously in the pdf
-% outlines by their "section number". We avoid collisions with chapter
-% numbers by starting them at 10000. (If a document ever has 10000
-% chapters, we're in trouble anyway, I'm sure.)
-\newcount\unnumberedno \unnumberedno = 10000
-\newcount\chapno
-\newcount\secno \secno=0
-\newcount\subsecno \subsecno=0
-\newcount\subsubsecno \subsubsecno=0
-
-% This counter is funny since it counts through charcodes of letters A, B, ...
-\newcount\appendixno \appendixno = `\@
-%
-% \def\appendixletter{\char\the\appendixno}
-% We do the following ugly conditional instead of the above simple
-% construct for the sake of pdftex, which needs the actual
-% letter in the expansion, not just typeset.
-%
-\def\appendixletter{%
- \ifnum\appendixno=`A A%
- \else\ifnum\appendixno=`B B%
- \else\ifnum\appendixno=`C C%
- \else\ifnum\appendixno=`D D%
- \else\ifnum\appendixno=`E E%
- \else\ifnum\appendixno=`F F%
- \else\ifnum\appendixno=`G G%
- \else\ifnum\appendixno=`H H%
- \else\ifnum\appendixno=`I I%
- \else\ifnum\appendixno=`J J%
- \else\ifnum\appendixno=`K K%
- \else\ifnum\appendixno=`L L%
- \else\ifnum\appendixno=`M M%
- \else\ifnum\appendixno=`N N%
- \else\ifnum\appendixno=`O O%
- \else\ifnum\appendixno=`P P%
- \else\ifnum\appendixno=`Q Q%
- \else\ifnum\appendixno=`R R%
- \else\ifnum\appendixno=`S S%
- \else\ifnum\appendixno=`T T%
- \else\ifnum\appendixno=`U U%
- \else\ifnum\appendixno=`V V%
- \else\ifnum\appendixno=`W W%
- \else\ifnum\appendixno=`X X%
- \else\ifnum\appendixno=`Y Y%
- \else\ifnum\appendixno=`Z Z%
- % The \the is necessary, despite appearances, because \appendixletter is
- % expanded while writing the .toc file. \char\appendixno is not
- % expandable, thus it is written literally, thus all appendixes come out
- % with the same letter (or @) in the toc without it.
- \else\char\the\appendixno
- \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
- \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
-
-% Each @chapter defines these (using marks) as the number+name, number
-% and name of the chapter. Page headings and footings can use
-% these. @section does likewise.
-\def\thischapter{}
-\def\thischapternum{}
-\def\thischaptername{}
-\def\thissection{}
-\def\thissectionnum{}
-\def\thissectionname{}
-
-\newcount\absseclevel % used to calculate proper heading level
-\newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count
-
-% @raisesections: treat @section as chapter, @subsection as section, etc.
-\def\raisesections{\global\advance\secbase by -1}
-\let\up=\raisesections % original BFox name
-
-% @lowersections: treat @chapter as section, @section as subsection, etc.
-\def\lowersections{\global\advance\secbase by 1}
-\let\down=\lowersections % original BFox name
-
-% we only have subsub.
-\chardef\maxseclevel = 3
-%
-% A numbered section within an unnumbered changes to unnumbered too.
-% To achive this, remember the "biggest" unnum. sec. we are currently in:
-\chardef\unmlevel = \maxseclevel
-%
-% Trace whether the current chapter is an appendix or not:
-% \chapheadtype is "N" or "A", unnumbered chapters are ignored.
-\def\chapheadtype{N}
-
-% Choose a heading macro
-% #1 is heading type
-% #2 is heading level
-% #3 is text for heading
-\def\genhead#1#2#3{%
- % Compute the abs. sec. level:
- \absseclevel=#2
- \advance\absseclevel by \secbase
- % Make sure \absseclevel doesn't fall outside the range:
- \ifnum \absseclevel < 0
- \absseclevel = 0
- \else
- \ifnum \absseclevel > 3
- \absseclevel = 3
- \fi
- \fi
- % The heading type:
- \def\headtype{#1}%
- \if \headtype U%
- \ifnum \absseclevel < \unmlevel
- \chardef\unmlevel = \absseclevel
- \fi
- \else
- % Check for appendix sections:
- \ifnum \absseclevel = 0
- \edef\chapheadtype{\headtype}%
- \else
- \if \headtype A\if \chapheadtype N%
- \errmessage{@appendix... within a non-appendix chapter}%
- \fi\fi
- \fi
- % Check for numbered within unnumbered:
- \ifnum \absseclevel > \unmlevel
- \def\headtype{U}%
- \else
- \chardef\unmlevel = 3
- \fi
- \fi
- % Now print the heading:
- \if \headtype U%
- \ifcase\absseclevel
- \unnumberedzzz{#3}%
- \or \unnumberedseczzz{#3}%
- \or \unnumberedsubseczzz{#3}%
- \or \unnumberedsubsubseczzz{#3}%
- \fi
- \else
- \if \headtype A%
- \ifcase\absseclevel
- \appendixzzz{#3}%
- \or \appendixsectionzzz{#3}%
- \or \appendixsubseczzz{#3}%
- \or \appendixsubsubseczzz{#3}%
- \fi
- \else
- \ifcase\absseclevel
- \chapterzzz{#3}%
- \or \seczzz{#3}%
- \or \numberedsubseczzz{#3}%
- \or \numberedsubsubseczzz{#3}%
- \fi
- \fi
- \fi
- \suppressfirstparagraphindent
-}
-
-% an interface:
-\def\numhead{\genhead N}
-\def\apphead{\genhead A}
-\def\unnmhead{\genhead U}
-
-% @chapter, @appendix, @unnumbered. Increment top-level counter, reset
-% all lower-level sectioning counters to zero.
-%
-% Also set \chaplevelprefix, which we prepend to @float sequence numbers
-% (e.g., figures), q.v. By default (before any chapter), that is empty.
-\let\chaplevelprefix = \empty
-%
-\outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz
-\def\chapterzzz#1{%
- % section resetting is \global in case the chapter is in a group, such
- % as an @include file.
- \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
- \global\advance\chapno by 1
- %
- % Used for \float.
- \gdef\chaplevelprefix{\the\chapno.}%
- \resetallfloatnos
- %
- % \putwordChapter can contain complex things in translations.
- \toks0=\expandafter{\putwordChapter}%
- \message{\the\toks0 \space \the\chapno}%
- %
- % Write the actual heading.
- \chapmacro{#1}{Ynumbered}{\the\chapno}%
- %
- % So @section and the like are numbered underneath this chapter.
- \global\let\section = \numberedsec
- \global\let\subsection = \numberedsubsec
- \global\let\subsubsection = \numberedsubsubsec
-}
-
-\outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz
-%
-\def\appendixzzz#1{%
- \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
- \global\advance\appendixno by 1
- \gdef\chaplevelprefix{\appendixletter.}%
- \resetallfloatnos
- %
- % \putwordAppendix can contain complex things in translations.
- \toks0=\expandafter{\putwordAppendix}%
- \message{\the\toks0 \space \appendixletter}%
- %
- \chapmacro{#1}{Yappendix}{\appendixletter}%
- %
- \global\let\section = \appendixsec
- \global\let\subsection = \appendixsubsec
- \global\let\subsubsection = \appendixsubsubsec
-}
-
-\outer\parseargdef\unnumbered{\unnmhead0{#1}} % normally unnmhead0 calls unnumberedzzz
-\def\unnumberedzzz#1{%
- \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
- \global\advance\unnumberedno by 1
- %
- % Since an unnumbered has no number, no prefix for figures.
- \global\let\chaplevelprefix = \empty
- \resetallfloatnos
- %
- % This used to be simply \message{#1}, but TeX fully expands the
- % argument to \message. Therefore, if #1 contained @-commands, TeX
- % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
- % expanded @cite (which turns out to cause errors because \cite is meant
- % to be executed, not expanded).
- %
- % Anyway, we don't want the fully-expanded definition of @cite to appear
- % as a result of the \message, we just want `@cite' itself. We use
- % \the<toks register> to achieve this: TeX expands \the<toks> only once,
- % simply yielding the contents of <toks register>. (We also do this for
- % the toc entries.)
- \toks0 = {#1}%
- \message{(\the\toks0)}%
- %
- \chapmacro{#1}{Ynothing}{\the\unnumberedno}%
- %
- \global\let\section = \unnumberedsec
- \global\let\subsection = \unnumberedsubsec
- \global\let\subsubsection = \unnumberedsubsubsec
-}
-
-% @centerchap is like @unnumbered, but the heading is centered.
-\outer\parseargdef\centerchap{%
- % Well, we could do the following in a group, but that would break
- % an assumption that \chapmacro is called at the outermost level.
- % Thus we are safer this way: --kasal, 24feb04
- \let\centerparametersmaybe = \centerparameters
- \unnmhead0{#1}%
- \let\centerparametersmaybe = \relax
-}
-
-% @top is like @unnumbered.
-\let\top\unnumbered
-
-% Sections.
-\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz
-\def\seczzz#1{%
- \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
- \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}%
-}
-
-\outer\parseargdef\appendixsection{\apphead1{#1}} % normally calls appendixsectionzzz
-\def\appendixsectionzzz#1{%
- \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
- \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}%
-}
-\let\appendixsec\appendixsection
-
-\outer\parseargdef\unnumberedsec{\unnmhead1{#1}} % normally calls unnumberedseczzz
-\def\unnumberedseczzz#1{%
- \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
- \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}%
-}
-
-% Subsections.
-\outer\parseargdef\numberedsubsec{\numhead2{#1}} % normally calls numberedsubseczzz
-\def\numberedsubseczzz#1{%
- \global\subsubsecno=0 \global\advance\subsecno by 1
- \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}%
-}
-
-\outer\parseargdef\appendixsubsec{\apphead2{#1}} % normally calls appendixsubseczzz
-\def\appendixsubseczzz#1{%
- \global\subsubsecno=0 \global\advance\subsecno by 1
- \sectionheading{#1}{subsec}{Yappendix}%
- {\appendixletter.\the\secno.\the\subsecno}%
-}
-
-\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} %normally calls unnumberedsubseczzz
-\def\unnumberedsubseczzz#1{%
- \global\subsubsecno=0 \global\advance\subsecno by 1
- \sectionheading{#1}{subsec}{Ynothing}%
- {\the\unnumberedno.\the\secno.\the\subsecno}%
-}
-
-% Subsubsections.
-\outer\parseargdef\numberedsubsubsec{\numhead3{#1}} % normally numberedsubsubseczzz
-\def\numberedsubsubseczzz#1{%
- \global\advance\subsubsecno by 1
- \sectionheading{#1}{subsubsec}{Ynumbered}%
- {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}%
-}
-
-\outer\parseargdef\appendixsubsubsec{\apphead3{#1}} % normally appendixsubsubseczzz
-\def\appendixsubsubseczzz#1{%
- \global\advance\subsubsecno by 1
- \sectionheading{#1}{subsubsec}{Yappendix}%
- {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}%
-}
-
-\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} %normally unnumberedsubsubseczzz
-\def\unnumberedsubsubseczzz#1{%
- \global\advance\subsubsecno by 1
- \sectionheading{#1}{subsubsec}{Ynothing}%
- {\the\unnumberedno.\the\secno.\the\subsecno.\the\subsubsecno}%
-}
-
-% These macros control what the section commands do, according
-% to what kind of chapter we are in (ordinary, appendix, or unnumbered).
-% Define them by default for a numbered chapter.
-\let\section = \numberedsec
-\let\subsection = \numberedsubsec
-\let\subsubsection = \numberedsubsubsec
-
-% Define @majorheading, @heading and @subheading
-
-% NOTE on use of \vbox for chapter headings, section headings, and such:
-% 1) We use \vbox rather than the earlier \line to permit
-% overlong headings to fold.
-% 2) \hyphenpenalty is set to 10000 because hyphenation in a
-% heading is obnoxious; this forbids it.
-% 3) Likewise, headings look best if no \parindent is used, and
-% if justification is not attempted. Hence \raggedright.
-
-\def\majorheading{%
- {\advance\chapheadingskip by 10pt \chapbreak }%
- \parsearg\chapheadingzzz
-}
-
-\def\chapheading{\chapbreak \parsearg\chapheadingzzz}
-\def\chapheadingzzz#1{%
- {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
- \parindent=0pt\ptexraggedright
- \rmisbold #1\hfill}}%
- \bigskip \par\penalty 200\relax
- \suppressfirstparagraphindent
-}
-
-% @heading, @subheading, @subsubheading.
-\parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{}
- \suppressfirstparagraphindent}
-\parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{}
- \suppressfirstparagraphindent}
-\parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{}
- \suppressfirstparagraphindent}
-
-% These macros generate a chapter, section, etc. heading only
-% (including whitespace, linebreaking, etc. around it),
-% given all the information in convenient, parsed form.
-
-%%% Args are the skip and penalty (usually negative)
-\def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi}
-
-%%% Define plain chapter starts, and page on/off switching for it
-% Parameter controlling skip before chapter headings (if needed)
-
-\newskip\chapheadingskip
-
-\def\chapbreak{\dobreak \chapheadingskip {-4000}}
-\def\chappager{\par\vfill\supereject}
-% Because \domark is called before \chapoddpage, the filler page will
-% get the headings for the next chapter, which is wrong. But we don't
-% care -- we just disable all headings on the filler page.
-\def\chapoddpage{%
- \chappager
- \ifodd\pageno \else
- \begingroup
- \evenheadline={\hfil}\evenfootline={\hfil}%
- \oddheadline={\hfil}\oddfootline={\hfil}%
- \hbox to 0pt{}%
- \chappager
- \endgroup
- \fi
-}
-
-\def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname}
-
-\def\CHAPPAGoff{%
-\global\let\contentsalignmacro = \chappager
-\global\let\pchapsepmacro=\chapbreak
-\global\let\pagealignmacro=\chappager}
-
-\def\CHAPPAGon{%
-\global\let\contentsalignmacro = \chappager
-\global\let\pchapsepmacro=\chappager
-\global\let\pagealignmacro=\chappager
-\global\def\HEADINGSon{\HEADINGSsingle}}
-
-\def\CHAPPAGodd{%
-\global\let\contentsalignmacro = \chapoddpage
-\global\let\pchapsepmacro=\chapoddpage
-\global\let\pagealignmacro=\chapoddpage
-\global\def\HEADINGSon{\HEADINGSdouble}}
-
-\CHAPPAGon
-
-% Chapter opening.
-%
-% #1 is the text, #2 is the section type (Ynumbered, Ynothing,
-% Yappendix, Yomitfromtoc), #3 the chapter number.
-%
-% To test against our argument.
-\def\Ynothingkeyword{Ynothing}
-\def\Yomitfromtockeyword{Yomitfromtoc}
-\def\Yappendixkeyword{Yappendix}
-%
-\def\chapmacro#1#2#3{%
- % Insert the first mark before the heading break (see notes for \domark).
- \let\prevchapterdefs=\lastchapterdefs
- \let\prevsectiondefs=\lastsectiondefs
- \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}%
- \gdef\thissection{}}%
- %
- \def\temptype{#2}%
- \ifx\temptype\Ynothingkeyword
- \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
- \gdef\thischapter{\thischaptername}}%
- \else\ifx\temptype\Yomitfromtockeyword
- \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
- \gdef\thischapter{}}%
- \else\ifx\temptype\Yappendixkeyword
- \toks0={#1}%
- \xdef\lastchapterdefs{%
- \gdef\noexpand\thischaptername{\the\toks0}%
- \gdef\noexpand\thischapternum{\appendixletter}%
- % \noexpand\putwordAppendix avoids expanding indigestible
- % commands in some of the translations.
- \gdef\noexpand\thischapter{\noexpand\putwordAppendix{}
- \noexpand\thischapternum:
- \noexpand\thischaptername}%
- }%
- \else
- \toks0={#1}%
- \xdef\lastchapterdefs{%
- \gdef\noexpand\thischaptername{\the\toks0}%
- \gdef\noexpand\thischapternum{\the\chapno}%
- % \noexpand\putwordChapter avoids expanding indigestible
- % commands in some of the translations.
- \gdef\noexpand\thischapter{\noexpand\putwordChapter{}
- \noexpand\thischapternum:
- \noexpand\thischaptername}%
- }%
- \fi\fi\fi
- %
- % Output the mark. Pass it through \safewhatsit, to take care of
- % the preceding space.
- \safewhatsit\domark
- %
- % Insert the chapter heading break.
- \pchapsepmacro
- %
- % Now the second mark, after the heading break. No break points
- % between here and the heading.
- \let\prevchapterdefs=\lastchapterdefs
- \let\prevsectiondefs=\lastsectiondefs
- \domark
- %
- {%
- \chapfonts \rmisbold
- %
- % Have to define \lastsection before calling \donoderef, because the
- % xref code eventually uses it. On the other hand, it has to be called
- % after \pchapsepmacro, or the headline will change too soon.
- \gdef\lastsection{#1}%
- %
- % Only insert the separating space if we have a chapter/appendix
- % number, and don't print the unnumbered ``number''.
- \ifx\temptype\Ynothingkeyword
- \setbox0 = \hbox{}%
- \def\toctype{unnchap}%
- \else\ifx\temptype\Yomitfromtockeyword
- \setbox0 = \hbox{}% contents like unnumbered, but no toc entry
- \def\toctype{omit}%
- \else\ifx\temptype\Yappendixkeyword
- \setbox0 = \hbox{\putwordAppendix{} #3\enspace}%
- \def\toctype{app}%
- \else
- \setbox0 = \hbox{#3\enspace}%
- \def\toctype{numchap}%
- \fi\fi\fi
- %
- % Write the toc entry for this chapter. Must come before the
- % \donoderef, because we include the current node name in the toc
- % entry, and \donoderef resets it to empty.
- \writetocentry{\toctype}{#1}{#3}%
- %
- % For pdftex, we have to write out the node definition (aka, make
- % the pdfdest) after any page break, but before the actual text has
- % been typeset. If the destination for the pdf outline is after the
- % text, then jumping from the outline may wind up with the text not
- % being visible, for instance under high magnification.
- \donoderef{#2}%
- %
- % Typeset the actual heading.
- \nobreak % Avoid page breaks at the interline glue.
- \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
- \hangindent=\wd0 \centerparametersmaybe
- \unhbox0 #1\par}%
- }%
- \nobreak\bigskip % no page break after a chapter title
- \nobreak
-}
-
-% @centerchap -- centered and unnumbered.
-\let\centerparametersmaybe = \relax
-\def\centerparameters{%
- \advance\rightskip by 3\rightskip
- \leftskip = \rightskip
- \parfillskip = 0pt
-}
-
-
-% I don't think this chapter style is supported any more, so I'm not
-% updating it with the new noderef stuff. We'll see. --karl, 11aug03.
-%
-\def\setchapterstyle #1 {\csname CHAPF#1\endcsname}
-%
-\def\unnchfopen #1{%
-\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
- \parindent=0pt\ptexraggedright
- \rmisbold #1\hfill}}\bigskip \par\nobreak
-}
-\def\chfopen #1#2{\chapoddpage {\chapfonts
-\vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}%
-\par\penalty 5000 %
-}
-\def\centerchfopen #1{%
-\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
- \parindent=0pt
- \hfill {\rmisbold #1}\hfill}}\bigskip \par\nobreak
-}
-\def\CHAPFopen{%
- \global\let\chapmacro=\chfopen
- \global\let\centerchapmacro=\centerchfopen}
-
-
-% Section titles. These macros combine the section number parts and
-% call the generic \sectionheading to do the printing.
-%
-\newskip\secheadingskip
-\def\secheadingbreak{\dobreak \secheadingskip{-1000}}
-
-% Subsection titles.
-\newskip\subsecheadingskip
-\def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}}
-
-% Subsubsection titles.
-\def\subsubsecheadingskip{\subsecheadingskip}
-\def\subsubsecheadingbreak{\subsecheadingbreak}
-
-
-% Print any size, any type, section title.
-%
-% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is
-% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the
-% section number.
-%
-\def\seckeyword{sec}
-%
-\def\sectionheading#1#2#3#4{%
- {%
- % Switch to the right set of fonts.
- \csname #2fonts\endcsname \rmisbold
- %
- \def\sectionlevel{#2}%
- \def\temptype{#3}%
- %
- % Insert first mark before the heading break (see notes for \domark).
- \let\prevsectiondefs=\lastsectiondefs
- \ifx\temptype\Ynothingkeyword
- \ifx\sectionlevel\seckeyword
- \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}%
- \gdef\thissection{\thissectionname}}%
- \fi
- \else\ifx\temptype\Yomitfromtockeyword
- % Don't redefine \thissection.
- \else\ifx\temptype\Yappendixkeyword
- \ifx\sectionlevel\seckeyword
- \toks0={#1}%
- \xdef\lastsectiondefs{%
- \gdef\noexpand\thissectionname{\the\toks0}%
- \gdef\noexpand\thissectionnum{#4}%
- % \noexpand\putwordSection avoids expanding indigestible
- % commands in some of the translations.
- \gdef\noexpand\thissection{\noexpand\putwordSection{}
- \noexpand\thissectionnum:
- \noexpand\thissectionname}%
- }%
- \fi
- \else
- \ifx\sectionlevel\seckeyword
- \toks0={#1}%
- \xdef\lastsectiondefs{%
- \gdef\noexpand\thissectionname{\the\toks0}%
- \gdef\noexpand\thissectionnum{#4}%
- % \noexpand\putwordSection avoids expanding indigestible
- % commands in some of the translations.
- \gdef\noexpand\thissection{\noexpand\putwordSection{}
- \noexpand\thissectionnum:
- \noexpand\thissectionname}%
- }%
- \fi
- \fi\fi\fi
- %
- % Go into vertical mode. Usually we'll already be there, but we
- % don't want the following whatsit to end up in a preceding paragraph
- % if the document didn't happen to have a blank line.
- \par
- %
- % Output the mark. Pass it through \safewhatsit, to take care of
- % the preceding space.
- \safewhatsit\domark
- %
- % Insert space above the heading.
- \csname #2headingbreak\endcsname
- %
- % Now the second mark, after the heading break. No break points
- % between here and the heading.
- \let\prevsectiondefs=\lastsectiondefs
- \domark
- %
- % Only insert the space after the number if we have a section number.
- \ifx\temptype\Ynothingkeyword
- \setbox0 = \hbox{}%
- \def\toctype{unn}%
- \gdef\lastsection{#1}%
- \else\ifx\temptype\Yomitfromtockeyword
- % for @headings -- no section number, don't include in toc,
- % and don't redefine \lastsection.
- \setbox0 = \hbox{}%
- \def\toctype{omit}%
- \let\sectionlevel=\empty
- \else\ifx\temptype\Yappendixkeyword
- \setbox0 = \hbox{#4\enspace}%
- \def\toctype{app}%
- \gdef\lastsection{#1}%
- \else
- \setbox0 = \hbox{#4\enspace}%
- \def\toctype{num}%
- \gdef\lastsection{#1}%
- \fi\fi\fi
- %
- % Write the toc entry (before \donoderef). See comments in \chapmacro.
- \writetocentry{\toctype\sectionlevel}{#1}{#4}%
- %
- % Write the node reference (= pdf destination for pdftex).
- % Again, see comments in \chapmacro.
- \donoderef{#3}%
- %
- % Interline glue will be inserted when the vbox is completed.
- % That glue will be a valid breakpoint for the page, since it'll be
- % preceded by a whatsit (usually from the \donoderef, or from the
- % \writetocentry if there was no node). We don't want to allow that
- % break, since then the whatsits could end up on page n while the
- % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000.
- \nobreak
- %
- % Output the actual section heading.
- \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
- \hangindent=\wd0 % zero if no section number
- \unhbox0 #1}%
- }%
- % Add extra space after the heading -- half of whatever came above it.
- % Don't allow stretch, though.
- \kern .5 \csname #2headingskip\endcsname
- %
- % Do not let the kern be a potential breakpoint, as it would be if it
- % was followed by glue.
- \nobreak
- %
- % We'll almost certainly start a paragraph next, so don't let that
- % glue accumulate. (Not a breakpoint because it's preceded by a
- % discardable item.)
- \vskip-\parskip
- %
- % This is purely so the last item on the list is a known \penalty >
- % 10000. This is so \startdefun can avoid allowing breakpoints after
- % section headings. Otherwise, it would insert a valid breakpoint between:
- %
- % @section sec-whatever
- % @deffn def-whatever
- \penalty 10001
-}
-
-
-\message{toc,}
-% Table of contents.
-\newwrite\tocfile
-
-% Write an entry to the toc file, opening it if necessary.
-% Called from @chapter, etc.
-%
-% Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno}
-% We append the current node name (if any) and page number as additional
-% arguments for the \{chap,sec,...}entry macros which will eventually
-% read this. The node name is used in the pdf outlines as the
-% destination to jump to.
-%
-% We open the .toc file for writing here instead of at @setfilename (or
-% any other fixed time) so that @contents can be anywhere in the document.
-% But if #1 is `omit', then we don't do anything. This is used for the
-% table of contents chapter openings themselves.
-%
-\newif\iftocfileopened
-\def\omitkeyword{omit}%
-%
-\def\writetocentry#1#2#3{%
- \edef\writetoctype{#1}%
- \ifx\writetoctype\omitkeyword \else
- \iftocfileopened\else
- \immediate\openout\tocfile = \jobname.toc
- \global\tocfileopenedtrue
- \fi
- %
- \iflinks
- {\atdummies
- \edef\temp{%
- \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}%
- \temp
- }%
- \fi
- \fi
- %
- % Tell \shipout to create a pdf destination on each page, if we're
- % writing pdf. These are used in the table of contents. We can't
- % just write one on every page because the title pages are numbered
- % 1 and 2 (the page numbers aren't printed), and so are the first
- % two pages of the document. Thus, we'd have two destinations named
- % `1', and two named `2'.
- \ifpdf \global\pdfmakepagedesttrue \fi
-}
-
-
-% These characters do not print properly in the Computer Modern roman
-% fonts, so we must take special care. This is more or less redundant
-% with the Texinfo input format setup at the end of this file.
-%
-\def\activecatcodes{%
- \catcode`\"=\active
- \catcode`\$=\active
- \catcode`\<=\active
- \catcode`\>=\active
- \catcode`\\=\active
- \catcode`\^=\active
- \catcode`\_=\active
- \catcode`\|=\active
- \catcode`\~=\active
-}
-
-
-% Read the toc file, which is essentially Texinfo input.
-\def\readtocfile{%
- \setupdatafile
- \activecatcodes
- \input \tocreadfilename
-}
-
-\newskip\contentsrightmargin \contentsrightmargin=1in
-\newcount\savepageno
-\newcount\lastnegativepageno \lastnegativepageno = -1
-
-% Prepare to read what we've written to \tocfile.
-%
-\def\startcontents#1{%
- % If @setchapternewpage on, and @headings double, the contents should
- % start on an odd page, unlike chapters. Thus, we maintain
- % \contentsalignmacro in parallel with \pagealignmacro.
- % From: Torbjorn Granlund <tege@matematik.su.se>
- \contentsalignmacro
- \immediate\closeout\tocfile
- %
- % Don't need to put `Contents' or `Short Contents' in the headline.
- % It is abundantly clear what they are.
- \chapmacro{#1}{Yomitfromtoc}{}%
- %
- \savepageno = \pageno
- \begingroup % Set up to handle contents files properly.
- \raggedbottom % Worry more about breakpoints than the bottom.
- \advance\hsize by -\contentsrightmargin % Don't use the full line length.
- %
- % Roman numerals for page numbers.
- \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi
-}
-
-% redefined for the two-volume lispref. We always output on
-% \jobname.toc even if this is redefined.
-%
-\def\tocreadfilename{\jobname.toc}
-
-% Normal (long) toc.
-%
-\def\contents{%
- \startcontents{\putwordTOC}%
- \openin 1 \tocreadfilename\space
- \ifeof 1 \else
- \readtocfile
- \fi
- \vfill \eject
- \contentsalignmacro % in case @setchapternewpage odd is in effect
- \ifeof 1 \else
- \pdfmakeoutlines
- \fi
- \closein 1
- \endgroup
- \lastnegativepageno = \pageno
- \global\pageno = \savepageno
-}
-
-% And just the chapters.
-\def\summarycontents{%
- \startcontents{\putwordShortTOC}%
- %
- \let\numchapentry = \shortchapentry
- \let\appentry = \shortchapentry
- \let\unnchapentry = \shortunnchapentry
- % We want a true roman here for the page numbers.
- \secfonts
- \let\rm=\shortcontrm \let\bf=\shortcontbf
- \let\sl=\shortcontsl \let\tt=\shortconttt
- \rm
- \hyphenpenalty = 10000
- \advance\baselineskip by 1pt % Open it up a little.
- \def\numsecentry##1##2##3##4{}
- \let\appsecentry = \numsecentry
- \let\unnsecentry = \numsecentry
- \let\numsubsecentry = \numsecentry
- \let\appsubsecentry = \numsecentry
- \let\unnsubsecentry = \numsecentry
- \let\numsubsubsecentry = \numsecentry
- \let\appsubsubsecentry = \numsecentry
- \let\unnsubsubsecentry = \numsecentry
- \openin 1 \tocreadfilename\space
- \ifeof 1 \else
- \readtocfile
- \fi
- \closein 1
- \vfill \eject
- \contentsalignmacro % in case @setchapternewpage odd is in effect
- \endgroup
- \lastnegativepageno = \pageno
- \global\pageno = \savepageno
-}
-\let\shortcontents = \summarycontents
-
-% Typeset the label for a chapter or appendix for the short contents.
-% The arg is, e.g., `A' for an appendix, or `3' for a chapter.
-%
-\def\shortchaplabel#1{%
- % This space should be enough, since a single number is .5em, and the
- % widest letter (M) is 1em, at least in the Computer Modern fonts.
- % But use \hss just in case.
- % (This space doesn't include the extra space that gets added after
- % the label; that gets put in by \shortchapentry above.)
- %
- % We'd like to right-justify chapter numbers, but that looks strange
- % with appendix letters. And right-justifying numbers and
- % left-justifying letters looks strange when there is less than 10
- % chapters. Have to read the whole toc once to know how many chapters
- % there are before deciding ...
- \hbox to 1em{#1\hss}%
-}
-
-% These macros generate individual entries in the table of contents.
-% The first argument is the chapter or section name.
-% The last argument is the page number.
-% The arguments in between are the chapter number, section number, ...
-
-% Chapters, in the main contents.
-\def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}}
-%
-% Chapters, in the short toc.
-% See comments in \dochapentry re vbox and related settings.
-\def\shortchapentry#1#2#3#4{%
- \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#4\egroup}%
-}
-
-% Appendices, in the main contents.
-% Need the word Appendix, and a fixed-size box.
-%
-\def\appendixbox#1{%
- % We use M since it's probably the widest letter.
- \setbox0 = \hbox{\putwordAppendix{} M}%
- \hbox to \wd0{\putwordAppendix{} #1\hss}}
-%
-\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\labelspace#1}{#4}}
-
-% Unnumbered chapters.
-\def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}}
-\def\shortunnchapentry#1#2#3#4{\tocentry{#1}{\doshortpageno\bgroup#4\egroup}}
-
-% Sections.
-\def\numsecentry#1#2#3#4{\dosecentry{#2\labelspace#1}{#4}}
-\let\appsecentry=\numsecentry
-\def\unnsecentry#1#2#3#4{\dosecentry{#1}{#4}}
-
-% Subsections.
-\def\numsubsecentry#1#2#3#4{\dosubsecentry{#2\labelspace#1}{#4}}
-\let\appsubsecentry=\numsubsecentry
-\def\unnsubsecentry#1#2#3#4{\dosubsecentry{#1}{#4}}
-
-% And subsubsections.
-\def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#2\labelspace#1}{#4}}
-\let\appsubsubsecentry=\numsubsubsecentry
-\def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#4}}
-
-% This parameter controls the indentation of the various levels.
-% Same as \defaultparindent.
-\newdimen\tocindent \tocindent = 15pt
-
-% Now for the actual typesetting. In all these, #1 is the text and #2 is the
-% page number.
-%
-% If the toc has to be broken over pages, we want it to be at chapters
-% if at all possible; hence the \penalty.
-\def\dochapentry#1#2{%
- \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip
- \begingroup
- \chapentryfonts
- \tocentry{#1}{\dopageno\bgroup#2\egroup}%
- \endgroup
- \nobreak\vskip .25\baselineskip plus.1\baselineskip
-}
-
-\def\dosecentry#1#2{\begingroup
- \secentryfonts \leftskip=\tocindent
- \tocentry{#1}{\dopageno\bgroup#2\egroup}%
-\endgroup}
-
-\def\dosubsecentry#1#2{\begingroup
- \subsecentryfonts \leftskip=2\tocindent
- \tocentry{#1}{\dopageno\bgroup#2\egroup}%
-\endgroup}
-
-\def\dosubsubsecentry#1#2{\begingroup
- \subsubsecentryfonts \leftskip=3\tocindent
- \tocentry{#1}{\dopageno\bgroup#2\egroup}%
-\endgroup}
-
-% We use the same \entry macro as for the index entries.
-\let\tocentry = \entry
-
-% Space between chapter (or whatever) number and the title.
-\def\labelspace{\hskip1em \relax}
-
-\def\dopageno#1{{\rm #1}}
-\def\doshortpageno#1{{\rm #1}}
-
-\def\chapentryfonts{\secfonts \rm}
-\def\secentryfonts{\textfonts}
-\def\subsecentryfonts{\textfonts}
-\def\subsubsecentryfonts{\textfonts}
-
-
-\message{environments,}
-% @foo ... @end foo.
-
-% @tex ... @end tex escapes into raw Tex temporarily.
-% One exception: @ is still an escape character, so that @end tex works.
-% But \@ or @@ will get a plain tex @ character.
-
-\envdef\tex{%
- \setupmarkupstyle{tex}%
- \catcode `\\=0 \catcode `\{=1 \catcode `\}=2
- \catcode `\$=3 \catcode `\&=4 \catcode `\#=6
- \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie
- \catcode `\%=14
- \catcode `\+=\other
- \catcode `\"=\other
- \catcode `\|=\other
- \catcode `\<=\other
- \catcode `\>=\other
- \catcode`\`=\other
- \catcode`\'=\other
- \escapechar=`\\
- %
- \let\b=\ptexb
- \let\bullet=\ptexbullet
- \let\c=\ptexc
- \let\,=\ptexcomma
- \let\.=\ptexdot
- \let\dots=\ptexdots
- \let\equiv=\ptexequiv
- \let\!=\ptexexclam
- \let\i=\ptexi
- \let\indent=\ptexindent
- \let\noindent=\ptexnoindent
- \let\{=\ptexlbrace
- \let\+=\tabalign
- \let\}=\ptexrbrace
- \let\/=\ptexslash
- \let\*=\ptexstar
- \let\t=\ptext
- \expandafter \let\csname top\endcsname=\ptextop % outer
- \let\frenchspacing=\plainfrenchspacing
- %
- \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
- \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}%
- \def\@{@}%
-}
-% There is no need to define \Etex.
-
-% Define @lisp ... @end lisp.
-% @lisp environment forms a group so it can rebind things,
-% including the definition of @end lisp (which normally is erroneous).
-
-% Amount to narrow the margins by for @lisp.
-\newskip\lispnarrowing \lispnarrowing=0.4in
-
-% This is the definition that ^^M gets inside @lisp, @example, and other
-% such environments. \null is better than a space, since it doesn't
-% have any width.
-\def\lisppar{\null\endgraf}
-
-% This space is always present above and below environments.
-\newskip\envskipamount \envskipamount = 0pt
-
-% Make spacing and below environment symmetrical. We use \parskip here
-% to help in doing that, since in @example-like environments \parskip
-% is reset to zero; thus the \afterenvbreak inserts no space -- but the
-% start of the next paragraph will insert \parskip.
-%
-\def\aboveenvbreak{{%
- % =10000 instead of <10000 because of a special case in \itemzzz and
- % \sectionheading, q.v.
- \ifnum \lastpenalty=10000 \else
- \advance\envskipamount by \parskip
- \endgraf
- \ifdim\lastskip<\envskipamount
- \removelastskip
- % it's not a good place to break if the last penalty was \nobreak
- % or better ...
- \ifnum\lastpenalty<10000 \penalty-50 \fi
- \vskip\envskipamount
- \fi
- \fi
-}}
-
-\let\afterenvbreak = \aboveenvbreak
-
-% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
-% also clear it, so that its embedded environments do the narrowing again.
-\let\nonarrowing=\relax
-
-% @cartouche ... @end cartouche: draw rectangle w/rounded corners around
-% environment contents.
-\font\circle=lcircle10
-\newdimen\circthick
-\newdimen\cartouter\newdimen\cartinner
-\newskip\normbskip\newskip\normpskip\newskip\normlskip
-\circthick=\fontdimen8\circle
-%
-\def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
-\def\ctr{{\hskip 6pt\circle\char'010}}
-\def\cbl{{\circle\char'012\hskip -6pt}}
-\def\cbr{{\hskip 6pt\circle\char'011}}
-\def\carttop{\hbox to \cartouter{\hskip\lskip
- \ctl\leaders\hrule height\circthick\hfil\ctr
- \hskip\rskip}}
-\def\cartbot{\hbox to \cartouter{\hskip\lskip
- \cbl\leaders\hrule height\circthick\hfil\cbr
- \hskip\rskip}}
-%
-\newskip\lskip\newskip\rskip
-
-\envdef\cartouche{%
- \ifhmode\par\fi % can't be in the midst of a paragraph.
- \startsavinginserts
- \lskip=\leftskip \rskip=\rightskip
- \leftskip=0pt\rightskip=0pt % we want these *outside*.
- \cartinner=\hsize \advance\cartinner by-\lskip
- \advance\cartinner by-\rskip
- \cartouter=\hsize
- \advance\cartouter by 18.4pt % allow for 3pt kerns on either
- % side, and for 6pt waste from
- % each corner char, and rule thickness
- \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
- % Flag to tell @lisp, etc., not to narrow margin.
- \let\nonarrowing = t%
- \vbox\bgroup
- \baselineskip=0pt\parskip=0pt\lineskip=0pt
- \carttop
- \hbox\bgroup
- \hskip\lskip
- \vrule\kern3pt
- \vbox\bgroup
- \kern3pt
- \hsize=\cartinner
- \baselineskip=\normbskip
- \lineskip=\normlskip
- \parskip=\normpskip
- \vskip -\parskip
- \comment % For explanation, see the end of \def\group.
-}
-\def\Ecartouche{%
- \ifhmode\par\fi
- \kern3pt
- \egroup
- \kern3pt\vrule
- \hskip\rskip
- \egroup
- \cartbot
- \egroup
- \checkinserts
-}
-
-
-% This macro is called at the beginning of all the @example variants,
-% inside a group.
-\newdimen\nonfillparindent
-\def\nonfillstart{%
- \aboveenvbreak
- \hfuzz = 12pt % Don't be fussy
- \sepspaces % Make spaces be word-separators rather than space tokens.
- \let\par = \lisppar % don't ignore blank lines
- \obeylines % each line of input is a line of output
- \parskip = 0pt
- % Turn off paragraph indentation but redefine \indent to emulate
- % the normal \indent.
- \nonfillparindent=\parindent
- \parindent = 0pt
- \let\indent\nonfillindent
- %
- \emergencystretch = 0pt % don't try to avoid overfull boxes
- \ifx\nonarrowing\relax
- \advance \leftskip by \lispnarrowing
- \exdentamount=\lispnarrowing
- \else
- \let\nonarrowing = \relax
- \fi
- \let\exdent=\nofillexdent
-}
-
-\begingroup
-\obeyspaces
-% We want to swallow spaces (but not other tokens) after the fake
-% @indent in our nonfill-environments, where spaces are normally
-% active and set to @tie, resulting in them not being ignored after
-% @indent.
-\gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}%
-\gdef\nonfillindentcheck{%
-\ifx\temp %
-\expandafter\nonfillindentgobble%
-\else%
-\leavevmode\nonfillindentbox%
-\fi%
-}%
-\endgroup
-\def\nonfillindentgobble#1{\nonfillindent}
-\def\nonfillindentbox{\hbox to \nonfillparindent{\hss}}
-
-% If you want all examples etc. small: @set dispenvsize small.
-% If you want even small examples the full size: @set dispenvsize nosmall.
-% This affects the following displayed environments:
-% @example, @display, @format, @lisp
-%
-\def\smallword{small}
-\def\nosmallword{nosmall}
-\let\SETdispenvsize\relax
-\def\setnormaldispenv{%
- \ifx\SETdispenvsize\smallword
- % end paragraph for sake of leading, in case document has no blank
- % line. This is redundant with what happens in \aboveenvbreak, but
- % we need to do it before changing the fonts, and it's inconvenient
- % to change the fonts afterward.
- \ifnum \lastpenalty=10000 \else \endgraf \fi
- \smallexamplefonts \rm
- \fi
-}
-\def\setsmalldispenv{%
- \ifx\SETdispenvsize\nosmallword
- \else
- \ifnum \lastpenalty=10000 \else \endgraf \fi
- \smallexamplefonts \rm
- \fi
-}
-
-% We often define two environments, @foo and @smallfoo.
-% Let's do it by one command:
-\def\makedispenv #1#2{
- \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2}
- \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2}
- \expandafter\let\csname E#1\endcsname \afterenvbreak
- \expandafter\let\csname Esmall#1\endcsname \afterenvbreak
-}
-
-% Define two synonyms:
-\def\maketwodispenvs #1#2#3{
- \makedispenv{#1}{#3}
- \makedispenv{#2}{#3}
-}
-
-% @lisp: indented, narrowed, typewriter font; @example: same as @lisp.
-%
-% @smallexample and @smalllisp: use smaller fonts.
-% Originally contributed by Pavel@xerox.
-%
-\maketwodispenvs {lisp}{example}{%
- \nonfillstart
- \tt\setupmarkupstyle{example}%
- \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special.
- \gobble % eat return
-}
-% @display/@smalldisplay: same as @lisp except keep current font.
-%
-\makedispenv {display}{%
- \nonfillstart
- \gobble
-}
-
-% @format/@smallformat: same as @display except don't narrow margins.
-%
-\makedispenv{format}{%
- \let\nonarrowing = t%
- \nonfillstart
- \gobble
-}
-
-% @flushleft: same as @format, but doesn't obey \SETdispenvsize.
-\envdef\flushleft{%
- \let\nonarrowing = t%
- \nonfillstart
- \gobble
-}
-\let\Eflushleft = \afterenvbreak
-
-% @flushright.
-%
-\envdef\flushright{%
- \let\nonarrowing = t%
- \nonfillstart
- \advance\leftskip by 0pt plus 1fill
- \gobble
-}
-\let\Eflushright = \afterenvbreak
-
-
-% @raggedright does more-or-less normal line breaking but no right
-% justification. From plain.tex.
-\envdef\raggedright{%
- \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax
-}
-\let\Eraggedright\par
-
-\envdef\raggedleft{%
- \parindent=0pt \leftskip0pt plus2em
- \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
- \hbadness=10000 % Last line will usually be underfull, so turn off
- % badness reporting.
-}
-\let\Eraggedleft\par
-
-\envdef\raggedcenter{%
- \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em
- \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
- \hbadness=10000 % Last line will usually be underfull, so turn off
- % badness reporting.
-}
-\let\Eraggedcenter\par
-
-
-% @quotation does normal linebreaking (hence we can't use \nonfillstart)
-% and narrows the margins. We keep \parskip nonzero in general, since
-% we're doing normal filling. So, when using \aboveenvbreak and
-% \afterenvbreak, temporarily make \parskip 0.
-%
-\def\quotationstart{%
- {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip
- \parindent=0pt
- %
- % @cartouche defines \nonarrowing to inhibit narrowing at next level down.
- \ifx\nonarrowing\relax
- \advance\leftskip by \lispnarrowing
- \advance\rightskip by \lispnarrowing
- \exdentamount = \lispnarrowing
- \else
- \let\nonarrowing = \relax
- \fi
- \parsearg\quotationlabel
-}
-
-\envdef\quotation{%
- \setnormaldispenv
- \quotationstart
-}
-
-\envdef\smallquotation{%
- \setsmalldispenv
- \quotationstart
-}
-\let\Esmallquotation = \Equotation
-
-% We have retained a nonzero parskip for the environment, since we're
-% doing normal filling.
-%
-\def\Equotation{%
- \par
- \ifx\quotationauthor\undefined\else
- % indent a bit.
- \leftline{\kern 2\leftskip \sl ---\quotationauthor}%
- \fi
- {\parskip=0pt \afterenvbreak}%
-}
-
-% If we're given an argument, typeset it in bold with a colon after.
-\def\quotationlabel#1{%
- \def\temp{#1}%
- \ifx\temp\empty \else
- {\bf #1: }%
- \fi
-}
-
-
-% LaTeX-like @verbatim...@end verbatim and @verb{<char>...<char>}
-% If we want to allow any <char> as delimiter,
-% we need the curly braces so that makeinfo sees the @verb command, eg:
-% `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org
-%
-% [Knuth]: Donald Ervin Knuth, 1996. The TeXbook.
-%
-% [Knuth] p.344; only we need to do the other characters Texinfo sets
-% active too. Otherwise, they get lost as the first character on a
-% verbatim line.
-\def\dospecials{%
- \do\ \do\\\do\{\do\}\do\$\do\&%
- \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~%
- \do\<\do\>\do\|\do\@\do+\do\"%
- % Don't do the quotes -- if we do, @set txicodequoteundirected and
- % @set txicodequotebacktick will not have effect on @verb and
- % @verbatim, and ?` and !` ligatures won't get disabled.
- %\do\`\do\'%
-}
-%
-% [Knuth] p. 380
-\def\uncatcodespecials{%
- \def\do##1{\catcode`##1=\other}\dospecials}
-%
-% Setup for the @verb command.
-%
-% Eight spaces for a tab
-\begingroup
- \catcode`\^^I=\active
- \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }}
-\endgroup
-%
-\def\setupverb{%
- \tt % easiest (and conventionally used) font for verbatim
- \def\par{\leavevmode\endgraf}%
- \setupmarkupstyle{verb}%
- \tabeightspaces
- % Respect line breaks,
- % print special symbols as themselves, and
- % make each space count
- % must do in this order:
- \obeylines \uncatcodespecials \sepspaces
-}
-
-% Setup for the @verbatim environment
-%
-% Real tab expansion
-\newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount
-%
-\def\starttabbox{\setbox0=\hbox\bgroup}
-%
-\begingroup
- \catcode`\^^I=\active
- \gdef\tabexpand{%
- \catcode`\^^I=\active
- \def^^I{\leavevmode\egroup
- \dimen0=\wd0 % the width so far, or since the previous tab
- \divide\dimen0 by\tabw
- \multiply\dimen0 by\tabw % compute previous multiple of \tabw
- \advance\dimen0 by\tabw % advance to next multiple of \tabw
- \wd0=\dimen0 \box0 \starttabbox
- }%
- }
-\endgroup
-
-% start the verbatim environment.
-\def\setupverbatim{%
- \let\nonarrowing = t%
- \nonfillstart
- % Easiest (and conventionally used) font for verbatim
- \tt
- \def\par{\leavevmode\egroup\box0\endgraf}%
- \tabexpand
- \setupmarkupstyle{verbatim}%
- % Respect line breaks,
- % print special symbols as themselves, and
- % make each space count
- % must do in this order:
- \obeylines \uncatcodespecials \sepspaces
- \everypar{\starttabbox}%
-}
-
-% Do the @verb magic: verbatim text is quoted by unique
-% delimiter characters. Before first delimiter expect a
-% right brace, after last delimiter expect closing brace:
-%
-% \def\doverb'{'<char>#1<char>'}'{#1}
-%
-% [Knuth] p. 382; only eat outer {}
-\begingroup
- \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other
- \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next]
-\endgroup
-%
-\def\verb{\begingroup\setupverb\doverb}
-%
-%
-% Do the @verbatim magic: define the macro \doverbatim so that
-% the (first) argument ends when '@end verbatim' is reached, ie:
-%
-% \def\doverbatim#1@end verbatim{#1}
-%
-% For Texinfo it's a lot easier than for LaTeX,
-% because texinfo's \verbatim doesn't stop at '\end{verbatim}':
-% we need not redefine '\', '{' and '}'.
-%
-% Inspired by LaTeX's verbatim command set [latex.ltx]
-%
-\begingroup
- \catcode`\ =\active
- \obeylines %
- % ignore everything up to the first ^^M, that's the newline at the end
- % of the @verbatim input line itself. Otherwise we get an extra blank
- % line in the output.
- \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}%
- % We really want {...\end verbatim} in the body of the macro, but
- % without the active space; thus we have to use \xdef and \gobble.
-\endgroup
-%
-\envdef\verbatim{%
- \setupverbatim\doverbatim
-}
-\let\Everbatim = \afterenvbreak
-
-
-% @verbatiminclude FILE - insert text of file in verbatim environment.
-%
-\def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude}
-%
-\def\doverbatiminclude#1{%
- {%
- \makevalueexpandable
- \setupverbatim
- \indexnofonts % Allow `@@' and other weird things in file names.
- \input #1
- \afterenvbreak
- }%
-}
-
-% @copying ... @end copying.
-% Save the text away for @insertcopying later.
-%
-% We save the uninterpreted tokens, rather than creating a box.
-% Saving the text in a box would be much easier, but then all the
-% typesetting commands (@smallbook, font changes, etc.) have to be done
-% beforehand -- and a) we want @copying to be done first in the source
-% file; b) letting users define the frontmatter in as flexible order as
-% possible is very desirable.
-%
-\def\copying{\checkenv{}\begingroup\scanargctxt\docopying}
-\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}}
-%
-\def\insertcopying{%
- \begingroup
- \parindent = 0pt % paragraph indentation looks wrong on title page
- \scanexp\copyingtext
- \endgroup
-}
-
-
-\message{defuns,}
-% @defun etc.
-
-\newskip\defbodyindent \defbodyindent=.4in
-\newskip\defargsindent \defargsindent=50pt
-\newskip\deflastargmargin \deflastargmargin=18pt
-\newcount\defunpenalty
-
-% Start the processing of @deffn:
-\def\startdefun{%
- \ifnum\lastpenalty<10000
- \medbreak
- \defunpenalty=10003 % Will keep this @deffn together with the
- % following @def command, see below.
- \else
- % If there are two @def commands in a row, we'll have a \nobreak,
- % which is there to keep the function description together with its
- % header. But if there's nothing but headers, we need to allow a
- % break somewhere. Check specifically for penalty 10002, inserted
- % by \printdefunline, instead of 10000, since the sectioning
- % commands also insert a nobreak penalty, and we don't want to allow
- % a break between a section heading and a defun.
- %
- % As a minor refinement, we avoid "club" headers by signalling
- % with penalty of 10003 after the very first @deffn in the
- % sequence (see above), and penalty of 10002 after any following
- % @def command.
- \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi
- %
- % Similarly, after a section heading, do not allow a break.
- % But do insert the glue.
- \medskip % preceded by discardable penalty, so not a breakpoint
- \fi
- %
- \parindent=0in
- \advance\leftskip by \defbodyindent
- \exdentamount=\defbodyindent
-}
-
-\def\dodefunx#1{%
- % First, check whether we are in the right environment:
- \checkenv#1%
- %
- % As above, allow line break if we have multiple x headers in a row.
- % It's not a great place, though.
- \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi
- %
- % And now, it's time to reuse the body of the original defun:
- \expandafter\gobbledefun#1%
-}
-\def\gobbledefun#1\startdefun{}
-
-% \printdefunline \deffnheader{text}
-%
-\def\printdefunline#1#2{%
- \begingroup
- % call \deffnheader:
- #1#2 \endheader
- % common ending:
- \interlinepenalty = 10000
- \advance\rightskip by 0pt plus 1fil
- \endgraf
- \nobreak\vskip -\parskip
- \penalty\defunpenalty % signal to \startdefun and \dodefunx
- % Some of the @defun-type tags do not enable magic parentheses,
- % rendering the following check redundant. But we don't optimize.
- \checkparencounts
- \endgroup
-}
-
-\def\Edefun{\endgraf\medbreak}
-
-% \makedefun{deffn} creates \deffn, \deffnx and \Edeffn;
-% the only thing remaining is to define \deffnheader.
-%
-\def\makedefun#1{%
- \expandafter\let\csname E#1\endcsname = \Edefun
- \edef\temp{\noexpand\domakedefun
- \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}%
- \temp
-}
-
-% \domakedefun \deffn \deffnx \deffnheader
-%
-% Define \deffn and \deffnx, without parameters.
-% \deffnheader has to be defined explicitly.
-%
-\def\domakedefun#1#2#3{%
- \envdef#1{%
- \startdefun
- \parseargusing\activeparens{\printdefunline#3}%
- }%
- \def#2{\dodefunx#1}%
- \def#3%
-}
-
-%%% Untyped functions:
-
-% @deffn category name args
-\makedefun{deffn}{\deffngeneral{}}
-
-% @deffn category class name args
-\makedefun{defop}#1 {\defopon{#1\ \putwordon}}
-
-% \defopon {category on}class name args
-\def\defopon#1#2 {\deffngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} }
-
-% \deffngeneral {subind}category name args
-%
-\def\deffngeneral#1#2 #3 #4\endheader{%
- % Remember that \dosubind{fn}{foo}{} is equivalent to \doind{fn}{foo}.
- \dosubind{fn}{\code{#3}}{#1}%
- \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}%
-}
-
-%%% Typed functions:
-
-% @deftypefn category type name args
-\makedefun{deftypefn}{\deftypefngeneral{}}
-
-% @deftypeop category class type name args
-\makedefun{deftypeop}#1 {\deftypeopon{#1\ \putwordon}}
-
-% \deftypeopon {category on}class type name args
-\def\deftypeopon#1#2 {\deftypefngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} }
-
-% \deftypefngeneral {subind}category type name args
-%
-\def\deftypefngeneral#1#2 #3 #4 #5\endheader{%
- \dosubind{fn}{\code{#4}}{#1}%
- \defname{#2}{#3}{#4}\defunargs{#5\unskip}%
-}
-
-%%% Typed variables:
-
-% @deftypevr category type var args
-\makedefun{deftypevr}{\deftypecvgeneral{}}
-
-% @deftypecv category class type var args
-\makedefun{deftypecv}#1 {\deftypecvof{#1\ \putwordof}}
-
-% \deftypecvof {category of}class type var args
-\def\deftypecvof#1#2 {\deftypecvgeneral{\putwordof\ \code{#2}}{#1\ \code{#2}} }
-
-% \deftypecvgeneral {subind}category type var args
-%
-\def\deftypecvgeneral#1#2 #3 #4 #5\endheader{%
- \dosubind{vr}{\code{#4}}{#1}%
- \defname{#2}{#3}{#4}\defunargs{#5\unskip}%
-}
-
-%%% Untyped variables:
-
-% @defvr category var args
-\makedefun{defvr}#1 {\deftypevrheader{#1} {} }
-
-% @defcv category class var args
-\makedefun{defcv}#1 {\defcvof{#1\ \putwordof}}
-
-% \defcvof {category of}class var args
-\def\defcvof#1#2 {\deftypecvof{#1}#2 {} }
-
-%%% Type:
-% @deftp category name args
-\makedefun{deftp}#1 #2 #3\endheader{%
- \doind{tp}{\code{#2}}%
- \defname{#1}{}{#2}\defunargs{#3\unskip}%
-}
-
-% Remaining @defun-like shortcuts:
-\makedefun{defun}{\deffnheader{\putwordDeffunc} }
-\makedefun{defmac}{\deffnheader{\putwordDefmac} }
-\makedefun{defspec}{\deffnheader{\putwordDefspec} }
-\makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} }
-\makedefun{defvar}{\defvrheader{\putwordDefvar} }
-\makedefun{defopt}{\defvrheader{\putwordDefopt} }
-\makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} }
-\makedefun{defmethod}{\defopon\putwordMethodon}
-\makedefun{deftypemethod}{\deftypeopon\putwordMethodon}
-\makedefun{defivar}{\defcvof\putwordInstanceVariableof}
-\makedefun{deftypeivar}{\deftypecvof\putwordInstanceVariableof}
-
-% \defname, which formats the name of the @def (not the args).
-% #1 is the category, such as "Function".
-% #2 is the return type, if any.
-% #3 is the function name.
-%
-% We are followed by (but not passed) the arguments, if any.
-%
-\def\defname#1#2#3{%
- % Get the values of \leftskip and \rightskip as they were outside the @def...
- \advance\leftskip by -\defbodyindent
- %
- % How we'll format the type name. Putting it in brackets helps
- % distinguish it from the body text that may end up on the next line
- % just below it.
- \def\temp{#1}%
- \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi}
- %
- % Figure out line sizes for the paragraph shape.
- % The first line needs space for \box0; but if \rightskip is nonzero,
- % we need only space for the part of \box0 which exceeds it:
- \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip
- % The continuations:
- \dimen2=\hsize \advance\dimen2 by -\defargsindent
- % (plain.tex says that \dimen1 should be used only as global.)
- \parshape 2 0in \dimen0 \defargsindent \dimen2
- %
- % Put the type name to the right margin.
- \noindent
- \hbox to 0pt{%
- \hfil\box0 \kern-\hsize
- % \hsize has to be shortened this way:
- \kern\leftskip
- % Intentionally do not respect \rightskip, since we need the space.
- }%
- %
- % Allow all lines to be underfull without complaint:
- \tolerance=10000 \hbadness=10000
- \exdentamount=\defbodyindent
- {%
- % defun fonts. We use typewriter by default (used to be bold) because:
- % . we're printing identifiers, they should be in tt in principle.
- % . in languages with many accents, such as Czech or French, it's
- % common to leave accents off identifiers. The result looks ok in
- % tt, but exceedingly strange in rm.
- % . we don't want -- and --- to be treated as ligatures.
- % . this still does not fix the ?` and !` ligatures, but so far no
- % one has made identifiers using them :).
- \df \tt
- \def\temp{#2}% return value type
- \ifx\temp\empty\else \tclose{\temp} \fi
- #3% output function name
- }%
- {\rm\enskip}% hskip 0.5 em of \tenrm
- %
- \boldbrax
- % arguments will be output next, if any.
-}
-
-% Print arguments in slanted roman (not ttsl), inconsistently with using
-% tt for the name. This is because literal text is sometimes needed in
-% the argument list (groff manual), and ttsl and tt are not very
-% distinguishable. Prevent hyphenation at `-' chars.
-%
-\def\defunargs#1{%
- % use sl by default (not ttsl),
- % tt for the names.
- \df \sl \hyphenchar\font=0
- %
- % On the other hand, if an argument has two dashes (for instance), we
- % want a way to get ttsl. Let's try @var for that.
- \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}%
- #1%
- \sl\hyphenchar\font=45
-}
-
-% We want ()&[] to print specially on the defun line.
-%
-\def\activeparens{%
- \catcode`\(=\active \catcode`\)=\active
- \catcode`\[=\active \catcode`\]=\active
- \catcode`\&=\active
-}
-
-% Make control sequences which act like normal parenthesis chars.
-\let\lparen = ( \let\rparen = )
-
-% Be sure that we always have a definition for `(', etc. For example,
-% if the fn name has parens in it, \boldbrax will not be in effect yet,
-% so TeX would otherwise complain about undefined control sequence.
-{
- \activeparens
- \global\let(=\lparen \global\let)=\rparen
- \global\let[=\lbrack \global\let]=\rbrack
- \global\let& = \&
-
- \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb}
- \gdef\magicamp{\let&=\amprm}
-}
-
-\newcount\parencount
-
-% If we encounter &foo, then turn on ()-hacking afterwards
-\newif\ifampseen
-\def\amprm#1 {\ampseentrue{\bf\&#1 }}
-
-\def\parenfont{%
- \ifampseen
- % At the first level, print parens in roman,
- % otherwise use the default font.
- \ifnum \parencount=1 \rm \fi
- \else
- % The \sf parens (in \boldbrax) actually are a little bolder than
- % the contained text. This is especially needed for [ and ] .
- \sf
- \fi
-}
-\def\infirstlevel#1{%
- \ifampseen
- \ifnum\parencount=1
- #1%
- \fi
- \fi
-}
-\def\bfafterword#1 {#1 \bf}
-
-\def\opnr{%
- \global\advance\parencount by 1
- {\parenfont(}%
- \infirstlevel \bfafterword
-}
-\def\clnr{%
- {\parenfont)}%
- \infirstlevel \sl
- \global\advance\parencount by -1
-}
-
-\newcount\brackcount
-\def\lbrb{%
- \global\advance\brackcount by 1
- {\bf[}%
-}
-\def\rbrb{%
- {\bf]}%
- \global\advance\brackcount by -1
-}
-
-\def\checkparencounts{%
- \ifnum\parencount=0 \else \badparencount \fi
- \ifnum\brackcount=0 \else \badbrackcount \fi
-}
-% these should not use \errmessage; the glibc manual, at least, actually
-% has such constructs (when documenting function pointers).
-\def\badparencount{%
- \message{Warning: unbalanced parentheses in @def...}%
- \global\parencount=0
-}
-\def\badbrackcount{%
- \message{Warning: unbalanced square brackets in @def...}%
- \global\brackcount=0
-}
-
-
-\message{macros,}
-% @macro.
-
-% To do this right we need a feature of e-TeX, \scantokens,
-% which we arrange to emulate with a temporary file in ordinary TeX.
-\ifx\eTeXversion\undefined
- \newwrite\macscribble
- \def\scantokens#1{%
- \toks0={#1}%
- \immediate\openout\macscribble=\jobname.tmp
- \immediate\write\macscribble{\the\toks0}%
- \immediate\closeout\macscribble
- \input \jobname.tmp
- }
-\fi
-
-\def\scanmacro#1{%
- \begingroup
- \newlinechar`\^^M
- \let\xeatspaces\eatspaces
- % Undo catcode changes of \startcontents and \doprintindex
- % When called from @insertcopying or (short)caption, we need active
- % backslash to get it printed correctly. Previously, we had
- % \catcode`\\=\other instead. We'll see whether a problem appears
- % with macro expansion. --kasal, 19aug04
- \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
- % ... and \example
- \spaceisspace
- %
- % Append \endinput to make sure that TeX does not see the ending newline.
- % I've verified that it is necessary both for e-TeX and for ordinary TeX
- % --kasal, 29nov03
- \scantokens{#1\endinput}%
- \endgroup
-}
-
-\def\scanexp#1{%
- \edef\temp{\noexpand\scanmacro{#1}}%
- \temp
-}
-
-\newcount\paramno % Count of parameters
-\newtoks\macname % Macro name
-\newif\ifrecursive % Is it recursive?
-
-% List of all defined macros in the form
-% \definedummyword\macro1\definedummyword\macro2...
-% Currently is also contains all @aliases; the list can be split
-% if there is a need.
-\def\macrolist{}
-
-% Add the macro to \macrolist
-\def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname}
-\def\addtomacrolistxxx#1{%
- \toks0 = \expandafter{\macrolist\definedummyword#1}%
- \xdef\macrolist{\the\toks0}%
-}
-
-% Utility routines.
-% This does \let #1 = #2, with \csnames; that is,
-% \let \csname#1\endcsname = \csname#2\endcsname
-% (except of course we have to play expansion games).
-%
-\def\cslet#1#2{%
- \expandafter\let
- \csname#1\expandafter\endcsname
- \csname#2\endcsname
-}
-
-% Trim leading and trailing spaces off a string.
-% Concepts from aro-bend problem 15 (see CTAN).
-{\catcode`\@=11
-\gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }}
-\gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@}
-\gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @}
-\def\unbrace#1{#1}
-\unbrace{\gdef\trim@@@ #1 } #2@{#1}
-}
-
-% Trim a single trailing ^^M off a string.
-{\catcode`\^^M=\other \catcode`\Q=3%
-\gdef\eatcr #1{\eatcra #1Q^^MQ}%
-\gdef\eatcra#1^^MQ{\eatcrb#1Q}%
-\gdef\eatcrb#1Q#2Q{#1}%
-}
-
-% Macro bodies are absorbed as an argument in a context where
-% all characters are catcode 10, 11 or 12, except \ which is active
-% (as in normal texinfo). It is necessary to change the definition of \.
-
-% Non-ASCII encodings make 8-bit characters active, so un-activate
-% them to avoid their expansion. Must do this non-globally, to
-% confine the change to the current group.
-
-% It's necessary to have hard CRs when the macro is executed. This is
-% done by making ^^M (\endlinechar) catcode 12 when reading the macro
-% body, and then making it the \newlinechar in \scanmacro.
-
-\def\scanctxt{%
- \catcode`\"=\other
- \catcode`\+=\other
- \catcode`\<=\other
- \catcode`\>=\other
- \catcode`\@=\other
- \catcode`\^=\other
- \catcode`\_=\other
- \catcode`\|=\other
- \catcode`\~=\other
- \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi
-}
-
-\def\scanargctxt{%
- \scanctxt
- \catcode`\\=\other
- \catcode`\^^M=\other
-}
-
-\def\macrobodyctxt{%
- \scanctxt
- \catcode`\{=\other
- \catcode`\}=\other
- \catcode`\^^M=\other
- \usembodybackslash
-}
-
-\def\macroargctxt{%
- \scanctxt
- \catcode`\\=\other
-}
-
-% \mbodybackslash is the definition of \ in @macro bodies.
-% It maps \foo\ => \csname macarg.foo\endcsname => #N
-% where N is the macro parameter number.
-% We define \csname macarg.\endcsname to be \realbackslash, so
-% \\ in macro replacement text gets you a backslash.
-
-{\catcode`@=0 @catcode`@\=@active
- @gdef@usembodybackslash{@let\=@mbodybackslash}
- @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname}
-}
-\expandafter\def\csname macarg.\endcsname{\realbackslash}
-
-\def\macro{\recursivefalse\parsearg\macroxxx}
-\def\rmacro{\recursivetrue\parsearg\macroxxx}
-
-\def\macroxxx#1{%
- \getargs{#1}% now \macname is the macname and \argl the arglist
- \ifx\argl\empty % no arguments
- \paramno=0%
- \else
- \expandafter\parsemargdef \argl;%
- \fi
- \if1\csname ismacro.\the\macname\endcsname
- \message{Warning: redefining \the\macname}%
- \else
- \expandafter\ifx\csname \the\macname\endcsname \relax
- \else \errmessage{Macro name \the\macname\space already defined}\fi
- \global\cslet{macsave.\the\macname}{\the\macname}%
- \global\expandafter\let\csname ismacro.\the\macname\endcsname=1%
- \addtomacrolist{\the\macname}%
- \fi
- \begingroup \macrobodyctxt
- \ifrecursive \expandafter\parsermacbody
- \else \expandafter\parsemacbody
- \fi}
-
-\parseargdef\unmacro{%
- \if1\csname ismacro.#1\endcsname
- \global\cslet{#1}{macsave.#1}%
- \global\expandafter\let \csname ismacro.#1\endcsname=0%
- % Remove the macro name from \macrolist:
- \begingroup
- \expandafter\let\csname#1\endcsname \relax
- \let\definedummyword\unmacrodo
- \xdef\macrolist{\macrolist}%
- \endgroup
- \else
- \errmessage{Macro #1 not defined}%
- \fi
-}
-
-% Called by \do from \dounmacro on each macro. The idea is to omit any
-% macro definitions that have been changed to \relax.
-%
-\def\unmacrodo#1{%
- \ifx #1\relax
- % remove this
- \else
- \noexpand\definedummyword \noexpand#1%
- \fi
-}
-
-% This makes use of the obscure feature that if the last token of a
-% <parameter list> is #, then the preceding argument is delimited by
-% an opening brace, and that opening brace is not consumed.
-\def\getargs#1{\getargsxxx#1{}}
-\def\getargsxxx#1#{\getmacname #1 \relax\getmacargs}
-\def\getmacname #1 #2\relax{\macname={#1}}
-\def\getmacargs#1{\def\argl{#1}}
-
-% Parse the optional {params} list. Set up \paramno and \paramlist
-% so \defmacro knows what to do. Define \macarg.blah for each blah
-% in the params list, to be ##N where N is the position in that list.
-% That gets used by \mbodybackslash (above).
-
-% We need to get `macro parameter char #' into several definitions.
-% The technique used is stolen from LaTeX: let \hash be something
-% unexpandable, insert that wherever you need a #, and then redefine
-% it to # just before using the token list produced.
-%
-% The same technique is used to protect \eatspaces till just before
-% the macro is used.
-
-\def\parsemargdef#1;{\paramno=0\def\paramlist{}%
- \let\hash\relax\let\xeatspaces\relax\parsemargdefxxx#1,;,}
-\def\parsemargdefxxx#1,{%
- \if#1;\let\next=\relax
- \else \let\next=\parsemargdefxxx
- \advance\paramno by 1%
- \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname
- {\xeatspaces{\hash\the\paramno}}%
- \edef\paramlist{\paramlist\hash\the\paramno,}%
- \fi\next}
-
-% These two commands read recursive and nonrecursive macro bodies.
-% (They're different since rec and nonrec macros end differently.)
-
-\long\def\parsemacbody#1@end macro%
-{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}%
-\long\def\parsermacbody#1@end rmacro%
-{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}%
-
-% This defines the macro itself. There are six cases: recursive and
-% nonrecursive macros of zero, one, and many arguments.
-% Much magic with \expandafter here.
-% \xdef is used so that macro definitions will survive the file
-% they're defined in; @include reads the file inside a group.
-\def\defmacro{%
- \let\hash=##% convert placeholders to macro parameter chars
- \ifrecursive
- \ifcase\paramno
- % 0
- \expandafter\xdef\csname\the\macname\endcsname{%
- \noexpand\scanmacro{\temp}}%
- \or % 1
- \expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup\noexpand\macroargctxt
- \noexpand\braceorline
- \expandafter\noexpand\csname\the\macname xxx\endcsname}%
- \expandafter\xdef\csname\the\macname xxx\endcsname##1{%
- \egroup\noexpand\scanmacro{\temp}}%
- \else % many
- \expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup\noexpand\macroargctxt
- \noexpand\csname\the\macname xx\endcsname}%
- \expandafter\xdef\csname\the\macname xx\endcsname##1{%
- \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}%
- \expandafter\expandafter
- \expandafter\xdef
- \expandafter\expandafter
- \csname\the\macname xxx\endcsname
- \paramlist{\egroup\noexpand\scanmacro{\temp}}%
- \fi
- \else
- \ifcase\paramno
- % 0
- \expandafter\xdef\csname\the\macname\endcsname{%
- \noexpand\norecurse{\the\macname}%
- \noexpand\scanmacro{\temp}\egroup}%
- \or % 1
- \expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup\noexpand\macroargctxt
- \noexpand\braceorline
- \expandafter\noexpand\csname\the\macname xxx\endcsname}%
- \expandafter\xdef\csname\the\macname xxx\endcsname##1{%
- \egroup
- \noexpand\norecurse{\the\macname}%
- \noexpand\scanmacro{\temp}\egroup}%
- \else % many
- \expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup\noexpand\macroargctxt
- \expandafter\noexpand\csname\the\macname xx\endcsname}%
- \expandafter\xdef\csname\the\macname xx\endcsname##1{%
- \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}%
- \expandafter\expandafter
- \expandafter\xdef
- \expandafter\expandafter
- \csname\the\macname xxx\endcsname
- \paramlist{%
- \egroup
- \noexpand\norecurse{\the\macname}%
- \noexpand\scanmacro{\temp}\egroup}%
- \fi
- \fi}
-
-\def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}}
-
-% \braceorline decides whether the next nonwhitespace character is a
-% {. If so it reads up to the closing }, if not, it reads the whole
-% line. Whatever was read is then fed to the next control sequence
-% as an argument (by \parsebrace or \parsearg)
-\def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx}
-\def\braceorlinexxx{%
- \ifx\nchar\bgroup\else
- \expandafter\parsearg
- \fi \macnamexxx}
-
-
-% @alias.
-% We need some trickery to remove the optional spaces around the equal
-% sign. Just make them active and then expand them all to nothing.
-\def\alias{\parseargusing\obeyspaces\aliasxxx}
-\def\aliasxxx #1{\aliasyyy#1\relax}
-\def\aliasyyy #1=#2\relax{%
- {%
- \expandafter\let\obeyedspace=\empty
- \addtomacrolist{#1}%
- \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}%
- }%
- \next
-}
-
-
-\message{cross references,}
-
-\newwrite\auxfile
-\newif\ifhavexrefs % True if xref values are known.
-\newif\ifwarnedxrefs % True if we warned once that they aren't known.
-
-% @inforef is relatively simple.
-\def\inforef #1{\inforefzzz #1,,,,**}
-\def\inforefzzz #1,#2,#3,#4**{\putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}},
- node \samp{\ignorespaces#1{}}}
-
-% @node's only job in TeX is to define \lastnode, which is used in
-% cross-references. The @node line might or might not have commas, and
-% might or might not have spaces before the first comma, like:
-% @node foo , bar , ...
-% We don't want such trailing spaces in the node name.
-%
-\parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse}
-%
-% also remove a trailing comma, in case of something like this:
-% @node Help-Cross, , , Cross-refs
-\def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse}
-\def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}}
-
-\let\nwnode=\node
-\let\lastnode=\empty
-
-% Write a cross-reference definition for the current node. #1 is the
-% type (Ynumbered, Yappendix, Ynothing).
-%
-\def\donoderef#1{%
- \ifx\lastnode\empty\else
- \setref{\lastnode}{#1}%
- \global\let\lastnode=\empty
- \fi
-}
-
-% @anchor{NAME} -- define xref target at arbitrary point.
-%
-\newcount\savesfregister
-%
-\def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi}
-\def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi}
-\def\anchor#1{\savesf \setref{#1}{Ynothing}\restoresf \ignorespaces}
-
-% \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an
-% anchor), which consists of three parts:
-% 1) NAME-title - the current sectioning name taken from \lastsection,
-% or the anchor name.
-% 2) NAME-snt - section number and type, passed as the SNT arg, or
-% empty for anchors.
-% 3) NAME-pg - the page number.
-%
-% This is called from \donoderef, \anchor, and \dofloat. In the case of
-% floats, there is an additional part, which is not written here:
-% 4) NAME-lof - the text as it should appear in a @listoffloats.
-%
-\def\setref#1#2{%
- \pdfmkdest{#1}%
- \iflinks
- {%
- \atdummies % preserve commands, but don't expand them
- \edef\writexrdef##1##2{%
- \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef
- ##1}{##2}}% these are parameters of \writexrdef
- }%
- \toks0 = \expandafter{\lastsection}%
- \immediate \writexrdef{title}{\the\toks0 }%
- \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc.
- \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, during \shipout
- }%
- \fi
-}
-
-% @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is
-% the node name, #2 the name of the Info cross-reference, #3 the printed
-% node name, #4 the name of the Info file, #5 the name of the printed
-% manual. All but the node name can be omitted.
-%
-\def\pxref#1{\putwordsee{} \xrefX[#1,,,,,,,]}
-\def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]}
-\def\ref#1{\xrefX[#1,,,,,,,]}
-\def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup
- \unsepspaces
- \def\printedmanual{\ignorespaces #5}%
- \def\printedrefname{\ignorespaces #3}%
- \setbox1=\hbox{\printedmanual\unskip}%
- \setbox0=\hbox{\printedrefname\unskip}%
- \ifdim \wd0 = 0pt
- % No printed node name was explicitly given.
- \expandafter\ifx\csname SETxref-automatic-section-title\endcsname\relax
- % Use the node name inside the square brackets.
- \def\printedrefname{\ignorespaces #1}%
- \else
- % Use the actual chapter/section title appear inside
- % the square brackets. Use the real section title if we have it.
- \ifdim \wd1 > 0pt
- % It is in another manual, so we don't have it.
- \def\printedrefname{\ignorespaces #1}%
- \else
- \ifhavexrefs
- % We know the real title if we have the xref values.
- \def\printedrefname{\refx{#1-title}{}}%
- \else
- % Otherwise just copy the Info node name.
- \def\printedrefname{\ignorespaces #1}%
- \fi%
- \fi
- \fi
- \fi
- %
- % Make link in pdf output.
- \ifpdf
- {\indexnofonts
- \turnoffactive
- % This expands tokens, so do it after making catcode changes, so _
- % etc. don't get their TeX definitions.
- \getfilename{#4}%
- %
- % See comments at \activebackslashdouble.
- {\activebackslashdouble \xdef\pdfxrefdest{#1}%
- \backslashparens\pdfxrefdest}%
- %
- \leavevmode
- \startlink attr{/Border [0 0 0]}%
- \ifnum\filenamelength>0
- goto file{\the\filename.pdf} name{\pdfxrefdest}%
- \else
- goto name{\pdfmkpgn{\pdfxrefdest}}%
- \fi
- }%
- \setcolor{\linkcolor}%
- \fi
- %
- % Float references are printed completely differently: "Figure 1.2"
- % instead of "[somenode], p.3". We distinguish them by the
- % LABEL-title being set to a magic string.
- {%
- % Have to otherify everything special to allow the \csname to
- % include an _ in the xref name, etc.
- \indexnofonts
- \turnoffactive
- \expandafter\global\expandafter\let\expandafter\Xthisreftitle
- \csname XR#1-title\endcsname
- }%
- \iffloat\Xthisreftitle
- % If the user specified the print name (third arg) to the ref,
- % print it instead of our usual "Figure 1.2".
- \ifdim\wd0 = 0pt
- \refx{#1-snt}{}%
- \else
- \printedrefname
- \fi
- %
- % if the user also gave the printed manual name (fifth arg), append
- % "in MANUALNAME".
- \ifdim \wd1 > 0pt
- \space \putwordin{} \cite{\printedmanual}%
- \fi
- \else
- % node/anchor (non-float) references.
- %
- % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
- % insert empty discretionaries after hyphens, which means that it will
- % not find a line break at a hyphen in a node names. Since some manuals
- % are best written with fairly long node names, containing hyphens, this
- % is a loss. Therefore, we give the text of the node name again, so it
- % is as if TeX is seeing it for the first time.
- \ifdim \wd1 > 0pt
- \putwordSection{} ``\printedrefname'' \putwordin{} \cite{\printedmanual}%
- \else
- % _ (for example) has to be the character _ for the purposes of the
- % control sequence corresponding to the node, but it has to expand
- % into the usual \leavevmode...\vrule stuff for purposes of
- % printing. So we \turnoffactive for the \refx-snt, back on for the
- % printing, back off for the \refx-pg.
- {\turnoffactive
- % Only output a following space if the -snt ref is nonempty; for
- % @unnumbered and @anchor, it won't be.
- \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}%
- \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi
- }%
- % output the `[mynode]' via a macro so it can be overridden.
- \xrefprintnodename\printedrefname
- %
- % But we always want a comma and a space:
- ,\space
- %
- % output the `page 3'.
- \turnoffactive \putwordpage\tie\refx{#1-pg}{}%
- \fi
- \fi
- \endlink
-\endgroup}
-
-% This macro is called from \xrefX for the `[nodename]' part of xref
-% output. It's a separate macro only so it can be changed more easily,
-% since square brackets don't work well in some documents. Particularly
-% one that Bob is working on :).
-%
-\def\xrefprintnodename#1{[#1]}
-
-% Things referred to by \setref.
-%
-\def\Ynothing{}
-\def\Yomitfromtoc{}
-\def\Ynumbered{%
- \ifnum\secno=0
- \putwordChapter@tie \the\chapno
- \else \ifnum\subsecno=0
- \putwordSection@tie \the\chapno.\the\secno
- \else \ifnum\subsubsecno=0
- \putwordSection@tie \the\chapno.\the\secno.\the\subsecno
- \else
- \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno
- \fi\fi\fi
-}
-\def\Yappendix{%
- \ifnum\secno=0
- \putwordAppendix@tie @char\the\appendixno{}%
- \else \ifnum\subsecno=0
- \putwordSection@tie @char\the\appendixno.\the\secno
- \else \ifnum\subsubsecno=0
- \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno
- \else
- \putwordSection@tie
- @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno
- \fi\fi\fi
-}
-
-% Define \refx{NAME}{SUFFIX} to reference a cross-reference string named NAME.
-% If its value is nonempty, SUFFIX is output afterward.
-%
-\def\refx#1#2{%
- {%
- \indexnofonts
- \otherbackslash
- \expandafter\global\expandafter\let\expandafter\thisrefX
- \csname XR#1\endcsname
- }%
- \ifx\thisrefX\relax
- % If not defined, say something at least.
- \angleleft un\-de\-fined\angleright
- \iflinks
- \ifhavexrefs
- \message{\linenumber Undefined cross reference `#1'.}%
- \else
- \ifwarnedxrefs\else
- \global\warnedxrefstrue
- \message{Cross reference values unknown; you must run TeX again.}%
- \fi
- \fi
- \fi
- \else
- % It's defined, so just use it.
- \thisrefX
- \fi
- #2% Output the suffix in any case.
-}
-
-% This is the macro invoked by entries in the aux file. Usually it's
-% just a \def (we prepend XR to the control sequence name to avoid
-% collisions). But if this is a float type, we have more work to do.
-%
-\def\xrdef#1#2{%
- {% The node name might contain 8-bit characters, which in our current
- % implementation are changed to commands like @'e. Don't let these
- % mess up the control sequence name.
- \indexnofonts
- \turnoffactive
- \xdef\safexrefname{#1}%
- }%
- %
- \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% remember this xref
- %
- % Was that xref control sequence that we just defined for a float?
- \expandafter\iffloat\csname XR\safexrefname\endcsname
- % it was a float, and we have the (safe) float type in \iffloattype.
- \expandafter\let\expandafter\floatlist
- \csname floatlist\iffloattype\endcsname
- %
- % Is this the first time we've seen this float type?
- \expandafter\ifx\floatlist\relax
- \toks0 = {\do}% yes, so just \do
- \else
- % had it before, so preserve previous elements in list.
- \toks0 = \expandafter{\floatlist\do}%
- \fi
- %
- % Remember this xref in the control sequence \floatlistFLOATTYPE,
- % for later use in \listoffloats.
- \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0
- {\safexrefname}}%
- \fi
-}
-
-% Read the last existing aux file, if any. No error if none exists.
-%
-\def\tryauxfile{%
- \openin 1 \jobname.aux
- \ifeof 1 \else
- \readdatafile{aux}%
- \global\havexrefstrue
- \fi
- \closein 1
-}
-
-\def\setupdatafile{%
- \catcode`\^^@=\other
- \catcode`\^^A=\other
- \catcode`\^^B=\other
- \catcode`\^^C=\other
- \catcode`\^^D=\other
- \catcode`\^^E=\other
- \catcode`\^^F=\other
- \catcode`\^^G=\other
- \catcode`\^^H=\other
- \catcode`\^^K=\other
- \catcode`\^^L=\other
- \catcode`\^^N=\other
- \catcode`\^^P=\other
- \catcode`\^^Q=\other
- \catcode`\^^R=\other
- \catcode`\^^S=\other
- \catcode`\^^T=\other
- \catcode`\^^U=\other
- \catcode`\^^V=\other
- \catcode`\^^W=\other
- \catcode`\^^X=\other
- \catcode`\^^Z=\other
- \catcode`\^^[=\other
- \catcode`\^^\=\other
- \catcode`\^^]=\other
- \catcode`\^^^=\other
- \catcode`\^^_=\other
- % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc.
- % in xref tags, i.e., node names. But since ^^e4 notation isn't
- % supported in the main text, it doesn't seem desirable. Furthermore,
- % that is not enough: for node names that actually contain a ^
- % character, we would end up writing a line like this: 'xrdef {'hat
- % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first
- % argument, and \hat is not an expandable control sequence. It could
- % all be worked out, but why? Either we support ^^ or we don't.
- %
- % The other change necessary for this was to define \auxhat:
- % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter
- % and then to call \auxhat in \setq.
- %
- \catcode`\^=\other
- %
- % Special characters. Should be turned off anyway, but...
- \catcode`\~=\other
- \catcode`\[=\other
- \catcode`\]=\other
- \catcode`\"=\other
- \catcode`\_=\other
- \catcode`\|=\other
- \catcode`\<=\other
- \catcode`\>=\other
- \catcode`\$=\other
- \catcode`\#=\other
- \catcode`\&=\other
- \catcode`\%=\other
- \catcode`+=\other % avoid \+ for paranoia even though we've turned it off
- %
- % This is to support \ in node names and titles, since the \
- % characters end up in a \csname. It's easier than
- % leaving it active and making its active definition an actual \
- % character. What I don't understand is why it works in the *value*
- % of the xrdef. Seems like it should be a catcode12 \, and that
- % should not typeset properly. But it works, so I'm moving on for
- % now. --karl, 15jan04.
- \catcode`\\=\other
- %
- % Make the characters 128-255 be printing characters.
- {%
- \count1=128
- \def\loop{%
- \catcode\count1=\other
- \advance\count1 by 1
- \ifnum \count1<256 \loop \fi
- }%
- }%
- %
- % @ is our escape character in .aux files, and we need braces.
- \catcode`\{=1
- \catcode`\}=2
- \catcode`\@=0
-}
-
-\def\readdatafile#1{%
-\begingroup
- \setupdatafile
- \input\jobname.#1
-\endgroup}
-
-
-\message{insertions,}
-% including footnotes.
-
-\newcount \footnoteno
-
-% The trailing space in the following definition for supereject is
-% vital for proper filling; pages come out unaligned when you do a
-% pagealignmacro call if that space before the closing brace is
-% removed. (Generally, numeric constants should always be followed by a
-% space to prevent strange expansion errors.)
-\def\supereject{\par\penalty -20000\footnoteno =0 }
-
-% @footnotestyle is meaningful for info output only.
-\let\footnotestyle=\comment
-
-{\catcode `\@=11
-%
-% Auto-number footnotes. Otherwise like plain.
-\gdef\footnote{%
- \let\indent=\ptexindent
- \let\noindent=\ptexnoindent
- \global\advance\footnoteno by \@ne
- \edef\thisfootno{$^{\the\footnoteno}$}%
- %
- % In case the footnote comes at the end of a sentence, preserve the
- % extra spacing after we do the footnote number.
- \let\@sf\empty
- \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi
- %
- % Remove inadvertent blank space before typesetting the footnote number.
- \unskip
- \thisfootno\@sf
- \dofootnote
-}%
-
-% Don't bother with the trickery in plain.tex to not require the
-% footnote text as a parameter. Our footnotes don't need to be so general.
-%
-% Oh yes, they do; otherwise, @ifset (and anything else that uses
-% \parseargline) fails inside footnotes because the tokens are fixed when
-% the footnote is read. --karl, 16nov96.
-%
-\gdef\dofootnote{%
- \insert\footins\bgroup
- % We want to typeset this text as a normal paragraph, even if the
- % footnote reference occurs in (for example) a display environment.
- % So reset some parameters.
- \hsize=\pagewidth
- \interlinepenalty\interfootnotelinepenalty
- \splittopskip\ht\strutbox % top baseline for broken footnotes
- \splitmaxdepth\dp\strutbox
- \floatingpenalty\@MM
- \leftskip\z@skip
- \rightskip\z@skip
- \spaceskip\z@skip
- \xspaceskip\z@skip
- \parindent\defaultparindent
- %
- \smallfonts \rm
- %
- % Because we use hanging indentation in footnotes, a @noindent appears
- % to exdent this text, so make it be a no-op. makeinfo does not use
- % hanging indentation so @noindent can still be needed within footnote
- % text after an @example or the like (not that this is good style).
- \let\noindent = \relax
- %
- % Hang the footnote text off the number. Use \everypar in case the
- % footnote extends for more than one paragraph.
- \everypar = {\hang}%
- \textindent{\thisfootno}%
- %
- % Don't crash into the line above the footnote text. Since this
- % expands into a box, it must come within the paragraph, lest it
- % provide a place where TeX can split the footnote.
- \footstrut
- \futurelet\next\fo@t
-}
-}%end \catcode `\@=11
-
-% In case a @footnote appears in a vbox, save the footnote text and create
-% the real \insert just after the vbox finished. Otherwise, the insertion
-% would be lost.
-% Similarly, if a @footnote appears inside an alignment, save the footnote
-% text to a box and make the \insert when a row of the table is finished.
-% And the same can be done for other insert classes. --kasal, 16nov03.
-
-% Replace the \insert primitive by a cheating macro.
-% Deeper inside, just make sure that the saved insertions are not spilled
-% out prematurely.
-%
-\def\startsavinginserts{%
- \ifx \insert\ptexinsert
- \let\insert\saveinsert
- \else
- \let\checkinserts\relax
- \fi
-}
-
-% This \insert replacement works for both \insert\footins{foo} and
-% \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}.
-%
-\def\saveinsert#1{%
- \edef\next{\noexpand\savetobox \makeSAVEname#1}%
- \afterassignment\next
- % swallow the left brace
- \let\temp =
-}
-\def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}}
-\def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1}
-
-\def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi}
-
-\def\placesaveins#1{%
- \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname
- {\box#1}%
-}
-
-% eat @SAVE -- beware, all of them have catcode \other:
-{
- \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-)
- \gdef\gobblesave @SAVE{}
-}
-
-% initialization:
-\def\newsaveins #1{%
- \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}%
- \next
-}
-\def\newsaveinsX #1{%
- \csname newbox\endcsname #1%
- \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts
- \checksaveins #1}%
-}
-
-% initialize:
-\let\checkinserts\empty
-\newsaveins\footins
-\newsaveins\margin
-
-
-% @image. We use the macros from epsf.tex to support this.
-% If epsf.tex is not installed and @image is used, we complain.
-%
-% Check for and read epsf.tex up front. If we read it only at @image
-% time, we might be inside a group, and then its definitions would get
-% undone and the next image would fail.
-\openin 1 = epsf.tex
-\ifeof 1 \else
- % Do not bother showing banner with epsf.tex v2.7k (available in
- % doc/epsf.tex and on ctan).
- \def\epsfannounce{\toks0 = }%
- \input epsf.tex
-\fi
-\closein 1
-%
-% We will only complain once about lack of epsf.tex.
-\newif\ifwarnednoepsf
-\newhelp\noepsfhelp{epsf.tex must be installed for images to
- work. It is also included in the Texinfo distribution, or you can get
- it from ftp://tug.org/tex/epsf.tex.}
-%
-\def\image#1{%
- \ifx\epsfbox\undefined
- \ifwarnednoepsf \else
- \errhelp = \noepsfhelp
- \errmessage{epsf.tex not found, images will be ignored}%
- \global\warnednoepsftrue
- \fi
- \else
- \imagexxx #1,,,,,\finish
- \fi
-}
-%
-% Arguments to @image:
-% #1 is (mandatory) image filename; we tack on .eps extension.
-% #2 is (optional) width, #3 is (optional) height.
-% #4 is (ignored optional) html alt text.
-% #5 is (ignored optional) extension.
-% #6 is just the usual extra ignored arg for parsing this stuff.
-\newif\ifimagevmode
-\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup
- \catcode`\^^M = 5 % in case we're inside an example
- \normalturnoffactive % allow _ et al. in names
- % If the image is by itself, center it.
- \ifvmode
- \imagevmodetrue
- \nobreak\medskip
- % Usually we'll have text after the image which will insert
- % \parskip glue, so insert it here too to equalize the space
- % above and below.
- \nobreak\vskip\parskip
- \nobreak
- \fi
- %
- % Leave vertical mode so that indentation from an enclosing
- % environment such as @quotation is respected. On the other hand, if
- % it's at the top level, we don't want the normal paragraph indentation.
- \noindent
- %
- % Output the image.
- \ifpdf
- \dopdfimage{#1}{#2}{#3}%
- \else
- % \epsfbox itself resets \epsf?size at each figure.
- \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
- \setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
- \epsfbox{#1.eps}%
- \fi
- %
- \ifimagevmode \medskip \fi % space after the standalone image
-\endgroup}
-
-
-% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables,
-% etc. We don't actually implement floating yet, we always include the
-% float "here". But it seemed the best name for the future.
-%
-\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish}
-
-% There may be a space before second and/or third parameter; delete it.
-\def\eatcommaspace#1, {#1,}
-
-% #1 is the optional FLOATTYPE, the text label for this float, typically
-% "Figure", "Table", "Example", etc. Can't contain commas. If omitted,
-% this float will not be numbered and cannot be referred to.
-%
-% #2 is the optional xref label. Also must be present for the float to
-% be referable.
-%
-% #3 is the optional positioning argument; for now, it is ignored. It
-% will somehow specify the positions allowed to float to (here, top, bottom).
-%
-% We keep a separate counter for each FLOATTYPE, which we reset at each
-% chapter-level command.
-\let\resetallfloatnos=\empty
-%
-\def\dofloat#1,#2,#3,#4\finish{%
- \let\thiscaption=\empty
- \let\thisshortcaption=\empty
- %
- % don't lose footnotes inside @float.
- %
- % BEWARE: when the floats start float, we have to issue warning whenever an
- % insert appears inside a float which could possibly float. --kasal, 26may04
- %
- \startsavinginserts
- %
- % We can't be used inside a paragraph.
- \par
- %
- \vtop\bgroup
- \def\floattype{#1}%
- \def\floatlabel{#2}%
- \def\floatloc{#3}% we do nothing with this yet.
- %
- \ifx\floattype\empty
- \let\safefloattype=\empty
- \else
- {%
- % the floattype might have accents or other special characters,
- % but we need to use it in a control sequence name.
- \indexnofonts
- \turnoffactive
- \xdef\safefloattype{\floattype}%
- }%
- \fi
- %
- % If label is given but no type, we handle that as the empty type.
- \ifx\floatlabel\empty \else
- % We want each FLOATTYPE to be numbered separately (Figure 1,
- % Table 1, Figure 2, ...). (And if no label, no number.)
- %
- \expandafter\getfloatno\csname\safefloattype floatno\endcsname
- \global\advance\floatno by 1
- %
- {%
- % This magic value for \lastsection is output by \setref as the
- % XREFLABEL-title value. \xrefX uses it to distinguish float
- % labels (which have a completely different output format) from
- % node and anchor labels. And \xrdef uses it to construct the
- % lists of floats.
- %
- \edef\lastsection{\floatmagic=\safefloattype}%
- \setref{\floatlabel}{Yfloat}%
- }%
- \fi
- %
- % start with \parskip glue, I guess.
- \vskip\parskip
- %
- % Don't suppress indentation if a float happens to start a section.
- \restorefirstparagraphindent
-}
-
-% we have these possibilities:
-% @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap
-% @float Foo,lbl & no caption: Foo 1.1
-% @float Foo & @caption{Cap}: Foo: Cap
-% @float Foo & no caption: Foo
-% @float ,lbl & Caption{Cap}: 1.1: Cap
-% @float ,lbl & no caption: 1.1
-% @float & @caption{Cap}: Cap
-% @float & no caption:
-%
-\def\Efloat{%
- \let\floatident = \empty
- %
- % In all cases, if we have a float type, it comes first.
- \ifx\floattype\empty \else \def\floatident{\floattype}\fi
- %
- % If we have an xref label, the number comes next.
- \ifx\floatlabel\empty \else
- \ifx\floattype\empty \else % if also had float type, need tie first.
- \appendtomacro\floatident{\tie}%
- \fi
- % the number.
- \appendtomacro\floatident{\chaplevelprefix\the\floatno}%
- \fi
- %
- % Start the printed caption with what we've constructed in
- % \floatident, but keep it separate; we need \floatident again.
- \let\captionline = \floatident
- %
- \ifx\thiscaption\empty \else
- \ifx\floatident\empty \else
- \appendtomacro\captionline{: }% had ident, so need a colon between
- \fi
- %
- % caption text.
- \appendtomacro\captionline{\scanexp\thiscaption}%
- \fi
- %
- % If we have anything to print, print it, with space before.
- % Eventually this needs to become an \insert.
- \ifx\captionline\empty \else
- \vskip.5\parskip
- \captionline
- %
- % Space below caption.
- \vskip\parskip
- \fi
- %
- % If have an xref label, write the list of floats info. Do this
- % after the caption, to avoid chance of it being a breakpoint.
- \ifx\floatlabel\empty \else
- % Write the text that goes in the lof to the aux file as
- % \floatlabel-lof. Besides \floatident, we include the short
- % caption if specified, else the full caption if specified, else nothing.
- {%
- \atdummies
- %
- % since we read the caption text in the macro world, where ^^M
- % is turned into a normal character, we have to scan it back, so
- % we don't write the literal three characters "^^M" into the aux file.
- \scanexp{%
- \xdef\noexpand\gtemp{%
- \ifx\thisshortcaption\empty
- \thiscaption
- \else
- \thisshortcaption
- \fi
- }%
- }%
- \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident
- \ifx\gtemp\empty \else : \gtemp \fi}}%
- }%
- \fi
- \egroup % end of \vtop
- %
- % place the captured inserts
- %
- % BEWARE: when the floats start floating, we have to issue warning
- % whenever an insert appears inside a float which could possibly
- % float. --kasal, 26may04
- %
- \checkinserts
-}
-
-% Append the tokens #2 to the definition of macro #1, not expanding either.
-%
-\def\appendtomacro#1#2{%
- \expandafter\def\expandafter#1\expandafter{#1#2}%
-}
-
-% @caption, @shortcaption
-%
-\def\caption{\docaption\thiscaption}
-\def\shortcaption{\docaption\thisshortcaption}
-\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption}
-\def\defcaption#1#2{\egroup \def#1{#2}}
-
-% The parameter is the control sequence identifying the counter we are
-% going to use. Create it if it doesn't exist and assign it to \floatno.
-\def\getfloatno#1{%
- \ifx#1\relax
- % Haven't seen this figure type before.
- \csname newcount\endcsname #1%
- %
- % Remember to reset this floatno at the next chap.
- \expandafter\gdef\expandafter\resetallfloatnos
- \expandafter{\resetallfloatnos #1=0 }%
- \fi
- \let\floatno#1%
-}
-
-% \setref calls this to get the XREFLABEL-snt value. We want an @xref
-% to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we
-% first read the @float command.
-%
-\def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}%
-
-% Magic string used for the XREFLABEL-title value, so \xrefX can
-% distinguish floats from other xref types.
-\def\floatmagic{!!float!!}
-
-% #1 is the control sequence we are passed; we expand into a conditional
-% which is true if #1 represents a float ref. That is, the magic
-% \lastsection value which we \setref above.
-%
-\def\iffloat#1{\expandafter\doiffloat#1==\finish}
-%
-% #1 is (maybe) the \floatmagic string. If so, #2 will be the
-% (safe) float type for this float. We set \iffloattype to #2.
-%
-\def\doiffloat#1=#2=#3\finish{%
- \def\temp{#1}%
- \def\iffloattype{#2}%
- \ifx\temp\floatmagic
-}
-
-% @listoffloats FLOATTYPE - print a list of floats like a table of contents.
-%
-\parseargdef\listoffloats{%
- \def\floattype{#1}% floattype
- {%
- % the floattype might have accents or other special characters,
- % but we need to use it in a control sequence name.
- \indexnofonts
- \turnoffactive
- \xdef\safefloattype{\floattype}%
- }%
- %
- % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE.
- \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax
- \ifhavexrefs
- % if the user said @listoffloats foo but never @float foo.
- \message{\linenumber No `\safefloattype' floats to list.}%
- \fi
- \else
- \begingroup
- \leftskip=\tocindent % indent these entries like a toc
- \let\do=\listoffloatsdo
- \csname floatlist\safefloattype\endcsname
- \endgroup
- \fi
-}
-
-% This is called on each entry in a list of floats. We're passed the
-% xref label, in the form LABEL-title, which is how we save it in the
-% aux file. We strip off the -title and look up \XRLABEL-lof, which
-% has the text we're supposed to typeset here.
-%
-% Figures without xref labels will not be included in the list (since
-% they won't appear in the aux file).
-%
-\def\listoffloatsdo#1{\listoffloatsdoentry#1\finish}
-\def\listoffloatsdoentry#1-title\finish{{%
- % Can't fully expand XR#1-lof because it can contain anything. Just
- % pass the control sequence. On the other hand, XR#1-pg is just the
- % page number, and we want to fully expand that so we can get a link
- % in pdf output.
- \toksA = \expandafter{\csname XR#1-lof\endcsname}%
- %
- % use the same \entry macro we use to generate the TOC and index.
- \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}%
- \writeentry
-}}
-
-
-\message{localization,}
-
-% For single-language documents, @documentlanguage is usually given very
-% early, just after @documentencoding. Single argument is the language
-% (de) or locale (de_DE) abbreviation.
-%
-{
- \catcode`\_ = \active
- \globaldefs=1
-\parseargdef\documentlanguage{\begingroup
- \let_=\normalunderscore % normal _ character for filenames
- \tex % read txi-??.tex file in plain TeX.
- % Read the file by the name they passed if it exists.
- \openin 1 txi-#1.tex
- \ifeof 1
- \documentlanguagetrywithoutunderscore{#1_\finish}%
- \else
- \globaldefs = 1 % everything in the txi-LL files needs to persist
- \input txi-#1.tex
- \fi
- \closein 1
- \endgroup % end raw TeX
-\endgroup}
-%
-% If they passed de_DE, and txi-de_DE.tex doesn't exist,
-% try txi-de.tex.
-%
-\gdef\documentlanguagetrywithoutunderscore#1_#2\finish{%
- \openin 1 txi-#1.tex
- \ifeof 1
- \errhelp = \nolanghelp
- \errmessage{Cannot read language file txi-#1.tex}%
- \else
- \globaldefs = 1 % everything in the txi-LL files needs to persist
- \input txi-#1.tex
- \fi
- \closein 1
-}
-}% end of special _ catcode
-%
-\newhelp\nolanghelp{The given language definition file cannot be found or
-is empty. Maybe you need to install it? Putting it in the current
-directory should work if nowhere else does.}
-
-% This macro is called from txi-??.tex files; the first argument is the
-% \language name to set (without the "\lang@" prefix), the second and
-% third args are \{left,right}hyphenmin.
-%
-% The language names to pass are determined when the format is built.
-% See the etex.log file created at that time, e.g.,
-% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log.
-%
-% With TeX Live 2008, etex now includes hyphenation patterns for all
-% available languages. This means we can support hyphenation in
-% Texinfo, at least to some extent. (This still doesn't solve the
-% accented characters problem.)
-%
-\catcode`@=11
-\def\txisetlanguage#1#2#3{%
- % do not set the language if the name is undefined in the current TeX.
- \expandafter\ifx\csname lang@#1\endcsname \relax
- \message{no patterns for #1}%
- \else
- \global\language = \csname lang@#1\endcsname
- \fi
- % but there is no harm in adjusting the hyphenmin values regardless.
- \global\lefthyphenmin = #2\relax
- \global\righthyphenmin = #3\relax
-}
-
-% Helpers for encodings.
-% Set the catcode of characters 128 through 255 to the specified number.
-%
-\def\setnonasciicharscatcode#1{%
- \count255=128
- \loop\ifnum\count255<256
- \global\catcode\count255=#1\relax
- \advance\count255 by 1
- \repeat
-}
-
-\def\setnonasciicharscatcodenonglobal#1{%
- \count255=128
- \loop\ifnum\count255<256
- \catcode\count255=#1\relax
- \advance\count255 by 1
- \repeat
-}
-
-% @documentencoding sets the definition of non-ASCII characters
-% according to the specified encoding.
-%
-\parseargdef\documentencoding{%
- % Encoding being declared for the document.
- \def\declaredencoding{\csname #1.enc\endcsname}%
- %
- % Supported encodings: names converted to tokens in order to be able
- % to compare them with \ifx.
- \def\ascii{\csname US-ASCII.enc\endcsname}%
- \def\latnine{\csname ISO-8859-15.enc\endcsname}%
- \def\latone{\csname ISO-8859-1.enc\endcsname}%
- \def\lattwo{\csname ISO-8859-2.enc\endcsname}%
- \def\utfeight{\csname UTF-8.enc\endcsname}%
- %
- \ifx \declaredencoding \ascii
- \asciichardefs
- %
- \else \ifx \declaredencoding \lattwo
- \setnonasciicharscatcode\active
- \lattwochardefs
- %
- \else \ifx \declaredencoding \latone
- \setnonasciicharscatcode\active
- \latonechardefs
- %
- \else \ifx \declaredencoding \latnine
- \setnonasciicharscatcode\active
- \latninechardefs
- %
- \else \ifx \declaredencoding \utfeight
- \setnonasciicharscatcode\active
- \utfeightchardefs
- %
- \else
- \message{Unknown document encoding #1, ignoring.}%
- %
- \fi % utfeight
- \fi % latnine
- \fi % latone
- \fi % lattwo
- \fi % ascii
-}
-
-% A message to be logged when using a character that isn't available
-% the default font encoding (OT1).
-%
-\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}}
-
-% Take account of \c (plain) vs. \, (Texinfo) difference.
-\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi}
-
-% First, make active non-ASCII characters in order for them to be
-% correctly categorized when TeX reads the replacement text of
-% macros containing the character definitions.
-\setnonasciicharscatcode\active
-%
-% Latin1 (ISO-8859-1) character definitions.
-\def\latonechardefs{%
- \gdef^^a0{~}
- \gdef^^a1{\exclamdown}
- \gdef^^a2{\missingcharmsg{CENT SIGN}}
- \gdef^^a3{{\pounds}}
- \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
- \gdef^^a5{\missingcharmsg{YEN SIGN}}
- \gdef^^a6{\missingcharmsg{BROKEN BAR}}
- \gdef^^a7{\S}
- \gdef^^a8{\"{}}
- \gdef^^a9{\copyright}
- \gdef^^aa{\ordf}
- \gdef^^ab{\guillemetleft}
- \gdef^^ac{$\lnot$}
- \gdef^^ad{\-}
- \gdef^^ae{\registeredsymbol}
- \gdef^^af{\={}}
- %
- \gdef^^b0{\textdegree}
- \gdef^^b1{$\pm$}
- \gdef^^b2{$^2$}
- \gdef^^b3{$^3$}
- \gdef^^b4{\'{}}
- \gdef^^b5{$\mu$}
- \gdef^^b6{\P}
- %
- \gdef^^b7{$^.$}
- \gdef^^b8{\cedilla\ }
- \gdef^^b9{$^1$}
- \gdef^^ba{\ordm}
- %
- \gdef^^bb{\guilletright}
- \gdef^^bc{$1\over4$}
- \gdef^^bd{$1\over2$}
- \gdef^^be{$3\over4$}
- \gdef^^bf{\questiondown}
- %
- \gdef^^c0{\`A}
- \gdef^^c1{\'A}
- \gdef^^c2{\^A}
- \gdef^^c3{\~A}
- \gdef^^c4{\"A}
- \gdef^^c5{\ringaccent A}
- \gdef^^c6{\AE}
- \gdef^^c7{\cedilla C}
- \gdef^^c8{\`E}
- \gdef^^c9{\'E}
- \gdef^^ca{\^E}
- \gdef^^cb{\"E}
- \gdef^^cc{\`I}
- \gdef^^cd{\'I}
- \gdef^^ce{\^I}
- \gdef^^cf{\"I}
- %
- \gdef^^d0{\DH}
- \gdef^^d1{\~N}
- \gdef^^d2{\`O}
- \gdef^^d3{\'O}
- \gdef^^d4{\^O}
- \gdef^^d5{\~O}
- \gdef^^d6{\"O}
- \gdef^^d7{$\times$}
- \gdef^^d8{\O}
- \gdef^^d9{\`U}
- \gdef^^da{\'U}
- \gdef^^db{\^U}
- \gdef^^dc{\"U}
- \gdef^^dd{\'Y}
- \gdef^^de{\TH}
- \gdef^^df{\ss}
- %
- \gdef^^e0{\`a}
- \gdef^^e1{\'a}
- \gdef^^e2{\^a}
- \gdef^^e3{\~a}
- \gdef^^e4{\"a}
- \gdef^^e5{\ringaccent a}
- \gdef^^e6{\ae}
- \gdef^^e7{\cedilla c}
- \gdef^^e8{\`e}
- \gdef^^e9{\'e}
- \gdef^^ea{\^e}
- \gdef^^eb{\"e}
- \gdef^^ec{\`{\dotless i}}
- \gdef^^ed{\'{\dotless i}}
- \gdef^^ee{\^{\dotless i}}
- \gdef^^ef{\"{\dotless i}}
- %
- \gdef^^f0{\dh}
- \gdef^^f1{\~n}
- \gdef^^f2{\`o}
- \gdef^^f3{\'o}
- \gdef^^f4{\^o}
- \gdef^^f5{\~o}
- \gdef^^f6{\"o}
- \gdef^^f7{$\div$}
- \gdef^^f8{\o}
- \gdef^^f9{\`u}
- \gdef^^fa{\'u}
- \gdef^^fb{\^u}
- \gdef^^fc{\"u}
- \gdef^^fd{\'y}
- \gdef^^fe{\th}
- \gdef^^ff{\"y}
-}
-
-% Latin9 (ISO-8859-15) encoding character definitions.
-\def\latninechardefs{%
- % Encoding is almost identical to Latin1.
- \latonechardefs
- %
- \gdef^^a4{\euro}
- \gdef^^a6{\v S}
- \gdef^^a8{\v s}
- \gdef^^b4{\v Z}
- \gdef^^b8{\v z}
- \gdef^^bc{\OE}
- \gdef^^bd{\oe}
- \gdef^^be{\"Y}
-}
-
-% Latin2 (ISO-8859-2) character definitions.
-\def\lattwochardefs{%
- \gdef^^a0{~}
- \gdef^^a1{\ogonek{A}}
- \gdef^^a2{\u{}}
- \gdef^^a3{\L}
- \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
- \gdef^^a5{\v L}
- \gdef^^a6{\'S}
- \gdef^^a7{\S}
- \gdef^^a8{\"{}}
- \gdef^^a9{\v S}
- \gdef^^aa{\cedilla S}
- \gdef^^ab{\v T}
- \gdef^^ac{\'Z}
- \gdef^^ad{\-}
- \gdef^^ae{\v Z}
- \gdef^^af{\dotaccent Z}
- %
- \gdef^^b0{\textdegree}
- \gdef^^b1{\ogonek{a}}
- \gdef^^b2{\ogonek{ }}
- \gdef^^b3{\l}
- \gdef^^b4{\'{}}
- \gdef^^b5{\v l}
- \gdef^^b6{\'s}
- \gdef^^b7{\v{}}
- \gdef^^b8{\cedilla\ }
- \gdef^^b9{\v s}
- \gdef^^ba{\cedilla s}
- \gdef^^bb{\v t}
- \gdef^^bc{\'z}
- \gdef^^bd{\H{}}
- \gdef^^be{\v z}
- \gdef^^bf{\dotaccent z}
- %
- \gdef^^c0{\'R}
- \gdef^^c1{\'A}
- \gdef^^c2{\^A}
- \gdef^^c3{\u A}
- \gdef^^c4{\"A}
- \gdef^^c5{\'L}
- \gdef^^c6{\'C}
- \gdef^^c7{\cedilla C}
- \gdef^^c8{\v C}
- \gdef^^c9{\'E}
- \gdef^^ca{\ogonek{E}}
- \gdef^^cb{\"E}
- \gdef^^cc{\v E}
- \gdef^^cd{\'I}
- \gdef^^ce{\^I}
- \gdef^^cf{\v D}
- %
- \gdef^^d0{\DH}
- \gdef^^d1{\'N}
- \gdef^^d2{\v N}
- \gdef^^d3{\'O}
- \gdef^^d4{\^O}
- \gdef^^d5{\H O}
- \gdef^^d6{\"O}
- \gdef^^d7{$\times$}
- \gdef^^d8{\v R}
- \gdef^^d9{\ringaccent U}
- \gdef^^da{\'U}
- \gdef^^db{\H U}
- \gdef^^dc{\"U}
- \gdef^^dd{\'Y}
- \gdef^^de{\cedilla T}
- \gdef^^df{\ss}
- %
- \gdef^^e0{\'r}
- \gdef^^e1{\'a}
- \gdef^^e2{\^a}
- \gdef^^e3{\u a}
- \gdef^^e4{\"a}
- \gdef^^e5{\'l}
- \gdef^^e6{\'c}
- \gdef^^e7{\cedilla c}
- \gdef^^e8{\v c}
- \gdef^^e9{\'e}
- \gdef^^ea{\ogonek{e}}
- \gdef^^eb{\"e}
- \gdef^^ec{\v e}
- \gdef^^ed{\'\i}
- \gdef^^ee{\^\i}
- \gdef^^ef{\v d}
- %
- \gdef^^f0{\dh}
- \gdef^^f1{\'n}
- \gdef^^f2{\v n}
- \gdef^^f3{\'o}
- \gdef^^f4{\^o}
- \gdef^^f5{\H o}
- \gdef^^f6{\"o}
- \gdef^^f7{$\div$}
- \gdef^^f8{\v r}
- \gdef^^f9{\ringaccent u}
- \gdef^^fa{\'u}
- \gdef^^fb{\H u}
- \gdef^^fc{\"u}
- \gdef^^fd{\'y}
- \gdef^^fe{\cedilla t}
- \gdef^^ff{\dotaccent{}}
-}
-
-% UTF-8 character definitions.
-%
-% This code to support UTF-8 is based on LaTeX's utf8.def, with some
-% changes for Texinfo conventions. It is included here under the GPL by
-% permission from Frank Mittelbach and the LaTeX team.
-%
-\newcount\countUTFx
-\newcount\countUTFy
-\newcount\countUTFz
-
-\gdef\UTFviiiTwoOctets#1#2{\expandafter
- \UTFviiiDefined\csname u8:#1\string #2\endcsname}
-%
-\gdef\UTFviiiThreeOctets#1#2#3{\expandafter
- \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname}
-%
-\gdef\UTFviiiFourOctets#1#2#3#4{\expandafter
- \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname}
-
-\gdef\UTFviiiDefined#1{%
- \ifx #1\relax
- \message{\linenumber Unicode char \string #1 not defined for Texinfo}%
- \else
- \expandafter #1%
- \fi
-}
-
-\begingroup
- \catcode`\~13
- \catcode`\"12
-
- \def\UTFviiiLoop{%
- \global\catcode\countUTFx\active
- \uccode`\~\countUTFx
- \uppercase\expandafter{\UTFviiiTmp}%
- \advance\countUTFx by 1
- \ifnum\countUTFx < \countUTFy
- \expandafter\UTFviiiLoop
- \fi}
-
- \countUTFx = "C2
- \countUTFy = "E0
- \def\UTFviiiTmp{%
- \xdef~{\noexpand\UTFviiiTwoOctets\string~}}
- \UTFviiiLoop
-
- \countUTFx = "E0
- \countUTFy = "F0
- \def\UTFviiiTmp{%
- \xdef~{\noexpand\UTFviiiThreeOctets\string~}}
- \UTFviiiLoop
-
- \countUTFx = "F0
- \countUTFy = "F4
- \def\UTFviiiTmp{%
- \xdef~{\noexpand\UTFviiiFourOctets\string~}}
- \UTFviiiLoop
-\endgroup
-
-\begingroup
- \catcode`\"=12
- \catcode`\<=12
- \catcode`\.=12
- \catcode`\,=12
- \catcode`\;=12
- \catcode`\!=12
- \catcode`\~=13
-
- \gdef\DeclareUnicodeCharacter#1#2{%
- \countUTFz = "#1\relax
- \wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}%
- \begingroup
- \parseXMLCharref
- \def\UTFviiiTwoOctets##1##2{%
- \csname u8:##1\string ##2\endcsname}%
- \def\UTFviiiThreeOctets##1##2##3{%
- \csname u8:##1\string ##2\string ##3\endcsname}%
- \def\UTFviiiFourOctets##1##2##3##4{%
- \csname u8:##1\string ##2\string ##3\string ##4\endcsname}%
- \expandafter\expandafter\expandafter\expandafter
- \expandafter\expandafter\expandafter
- \gdef\UTFviiiTmp{#2}%
- \endgroup}
-
- \gdef\parseXMLCharref{%
- \ifnum\countUTFz < "A0\relax
- \errhelp = \EMsimple
- \errmessage{Cannot define Unicode char value < 00A0}%
- \else\ifnum\countUTFz < "800\relax
- \parseUTFviiiA,%
- \parseUTFviiiB C\UTFviiiTwoOctets.,%
- \else\ifnum\countUTFz < "10000\relax
- \parseUTFviiiA;%
- \parseUTFviiiA,%
- \parseUTFviiiB E\UTFviiiThreeOctets.{,;}%
- \else
- \parseUTFviiiA;%
- \parseUTFviiiA,%
- \parseUTFviiiA!%
- \parseUTFviiiB F\UTFviiiFourOctets.{!,;}%
- \fi\fi\fi
- }
-
- \gdef\parseUTFviiiA#1{%
- \countUTFx = \countUTFz
- \divide\countUTFz by 64
- \countUTFy = \countUTFz
- \multiply\countUTFz by 64
- \advance\countUTFx by -\countUTFz
- \advance\countUTFx by 128
- \uccode `#1\countUTFx
- \countUTFz = \countUTFy}
-
- \gdef\parseUTFviiiB#1#2#3#4{%
- \advance\countUTFz by "#10\relax
- \uccode `#3\countUTFz
- \uppercase{\gdef\UTFviiiTmp{#2#3#4}}}
-\endgroup
-
-\def\utfeightchardefs{%
- \DeclareUnicodeCharacter{00A0}{\tie}
- \DeclareUnicodeCharacter{00A1}{\exclamdown}
- \DeclareUnicodeCharacter{00A3}{\pounds}
- \DeclareUnicodeCharacter{00A8}{\"{ }}
- \DeclareUnicodeCharacter{00A9}{\copyright}
- \DeclareUnicodeCharacter{00AA}{\ordf}
- \DeclareUnicodeCharacter{00AB}{\guillemetleft}
- \DeclareUnicodeCharacter{00AD}{\-}
- \DeclareUnicodeCharacter{00AE}{\registeredsymbol}
- \DeclareUnicodeCharacter{00AF}{\={ }}
-
- \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}
- \DeclareUnicodeCharacter{00B4}{\'{ }}
- \DeclareUnicodeCharacter{00B8}{\cedilla{ }}
- \DeclareUnicodeCharacter{00BA}{\ordm}
- \DeclareUnicodeCharacter{00BB}{\guillemetright}
- \DeclareUnicodeCharacter{00BF}{\questiondown}
-
- \DeclareUnicodeCharacter{00C0}{\`A}
- \DeclareUnicodeCharacter{00C1}{\'A}
- \DeclareUnicodeCharacter{00C2}{\^A}
- \DeclareUnicodeCharacter{00C3}{\~A}
- \DeclareUnicodeCharacter{00C4}{\"A}
- \DeclareUnicodeCharacter{00C5}{\AA}
- \DeclareUnicodeCharacter{00C6}{\AE}
- \DeclareUnicodeCharacter{00C7}{\cedilla{C}}
- \DeclareUnicodeCharacter{00C8}{\`E}
- \DeclareUnicodeCharacter{00C9}{\'E}
- \DeclareUnicodeCharacter{00CA}{\^E}
- \DeclareUnicodeCharacter{00CB}{\"E}
- \DeclareUnicodeCharacter{00CC}{\`I}
- \DeclareUnicodeCharacter{00CD}{\'I}
- \DeclareUnicodeCharacter{00CE}{\^I}
- \DeclareUnicodeCharacter{00CF}{\"I}
-
- \DeclareUnicodeCharacter{00D0}{\DH}
- \DeclareUnicodeCharacter{00D1}{\~N}
- \DeclareUnicodeCharacter{00D2}{\`O}
- \DeclareUnicodeCharacter{00D3}{\'O}
- \DeclareUnicodeCharacter{00D4}{\^O}
- \DeclareUnicodeCharacter{00D5}{\~O}
- \DeclareUnicodeCharacter{00D6}{\"O}
- \DeclareUnicodeCharacter{00D8}{\O}
- \DeclareUnicodeCharacter{00D9}{\`U}
- \DeclareUnicodeCharacter{00DA}{\'U}
- \DeclareUnicodeCharacter{00DB}{\^U}
- \DeclareUnicodeCharacter{00DC}{\"U}
- \DeclareUnicodeCharacter{00DD}{\'Y}
- \DeclareUnicodeCharacter{00DE}{\TH}
- \DeclareUnicodeCharacter{00DF}{\ss}
-
- \DeclareUnicodeCharacter{00E0}{\`a}
- \DeclareUnicodeCharacter{00E1}{\'a}
- \DeclareUnicodeCharacter{00E2}{\^a}
- \DeclareUnicodeCharacter{00E3}{\~a}
- \DeclareUnicodeCharacter{00E4}{\"a}
- \DeclareUnicodeCharacter{00E5}{\aa}
- \DeclareUnicodeCharacter{00E6}{\ae}
- \DeclareUnicodeCharacter{00E7}{\cedilla{c}}
- \DeclareUnicodeCharacter{00E8}{\`e}
- \DeclareUnicodeCharacter{00E9}{\'e}
- \DeclareUnicodeCharacter{00EA}{\^e}
- \DeclareUnicodeCharacter{00EB}{\"e}
- \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}
- \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}
- \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}
- \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}
-
- \DeclareUnicodeCharacter{00F0}{\dh}
- \DeclareUnicodeCharacter{00F1}{\~n}
- \DeclareUnicodeCharacter{00F2}{\`o}
- \DeclareUnicodeCharacter{00F3}{\'o}
- \DeclareUnicodeCharacter{00F4}{\^o}
- \DeclareUnicodeCharacter{00F5}{\~o}
- \DeclareUnicodeCharacter{00F6}{\"o}
- \DeclareUnicodeCharacter{00F8}{\o}
- \DeclareUnicodeCharacter{00F9}{\`u}
- \DeclareUnicodeCharacter{00FA}{\'u}
- \DeclareUnicodeCharacter{00FB}{\^u}
- \DeclareUnicodeCharacter{00FC}{\"u}
- \DeclareUnicodeCharacter{00FD}{\'y}
- \DeclareUnicodeCharacter{00FE}{\th}
- \DeclareUnicodeCharacter{00FF}{\"y}
-
- \DeclareUnicodeCharacter{0100}{\=A}
- \DeclareUnicodeCharacter{0101}{\=a}
- \DeclareUnicodeCharacter{0102}{\u{A}}
- \DeclareUnicodeCharacter{0103}{\u{a}}
- \DeclareUnicodeCharacter{0104}{\ogonek{A}}
- \DeclareUnicodeCharacter{0105}{\ogonek{a}}
- \DeclareUnicodeCharacter{0106}{\'C}
- \DeclareUnicodeCharacter{0107}{\'c}
- \DeclareUnicodeCharacter{0108}{\^C}
- \DeclareUnicodeCharacter{0109}{\^c}
- \DeclareUnicodeCharacter{0118}{\ogonek{E}}
- \DeclareUnicodeCharacter{0119}{\ogonek{e}}
- \DeclareUnicodeCharacter{010A}{\dotaccent{C}}
- \DeclareUnicodeCharacter{010B}{\dotaccent{c}}
- \DeclareUnicodeCharacter{010C}{\v{C}}
- \DeclareUnicodeCharacter{010D}{\v{c}}
- \DeclareUnicodeCharacter{010E}{\v{D}}
-
- \DeclareUnicodeCharacter{0112}{\=E}
- \DeclareUnicodeCharacter{0113}{\=e}
- \DeclareUnicodeCharacter{0114}{\u{E}}
- \DeclareUnicodeCharacter{0115}{\u{e}}
- \DeclareUnicodeCharacter{0116}{\dotaccent{E}}
- \DeclareUnicodeCharacter{0117}{\dotaccent{e}}
- \DeclareUnicodeCharacter{011A}{\v{E}}
- \DeclareUnicodeCharacter{011B}{\v{e}}
- \DeclareUnicodeCharacter{011C}{\^G}
- \DeclareUnicodeCharacter{011D}{\^g}
- \DeclareUnicodeCharacter{011E}{\u{G}}
- \DeclareUnicodeCharacter{011F}{\u{g}}
-
- \DeclareUnicodeCharacter{0120}{\dotaccent{G}}
- \DeclareUnicodeCharacter{0121}{\dotaccent{g}}
- \DeclareUnicodeCharacter{0124}{\^H}
- \DeclareUnicodeCharacter{0125}{\^h}
- \DeclareUnicodeCharacter{0128}{\~I}
- \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}
- \DeclareUnicodeCharacter{012A}{\=I}
- \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}
- \DeclareUnicodeCharacter{012C}{\u{I}}
- \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}
-
- \DeclareUnicodeCharacter{0130}{\dotaccent{I}}
- \DeclareUnicodeCharacter{0131}{\dotless{i}}
- \DeclareUnicodeCharacter{0132}{IJ}
- \DeclareUnicodeCharacter{0133}{ij}
- \DeclareUnicodeCharacter{0134}{\^J}
- \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}
- \DeclareUnicodeCharacter{0139}{\'L}
- \DeclareUnicodeCharacter{013A}{\'l}
-
- \DeclareUnicodeCharacter{0141}{\L}
- \DeclareUnicodeCharacter{0142}{\l}
- \DeclareUnicodeCharacter{0143}{\'N}
- \DeclareUnicodeCharacter{0144}{\'n}
- \DeclareUnicodeCharacter{0147}{\v{N}}
- \DeclareUnicodeCharacter{0148}{\v{n}}
- \DeclareUnicodeCharacter{014C}{\=O}
- \DeclareUnicodeCharacter{014D}{\=o}
- \DeclareUnicodeCharacter{014E}{\u{O}}
- \DeclareUnicodeCharacter{014F}{\u{o}}
-
- \DeclareUnicodeCharacter{0150}{\H{O}}
- \DeclareUnicodeCharacter{0151}{\H{o}}
- \DeclareUnicodeCharacter{0152}{\OE}
- \DeclareUnicodeCharacter{0153}{\oe}
- \DeclareUnicodeCharacter{0154}{\'R}
- \DeclareUnicodeCharacter{0155}{\'r}
- \DeclareUnicodeCharacter{0158}{\v{R}}
- \DeclareUnicodeCharacter{0159}{\v{r}}
- \DeclareUnicodeCharacter{015A}{\'S}
- \DeclareUnicodeCharacter{015B}{\'s}
- \DeclareUnicodeCharacter{015C}{\^S}
- \DeclareUnicodeCharacter{015D}{\^s}
- \DeclareUnicodeCharacter{015E}{\cedilla{S}}
- \DeclareUnicodeCharacter{015F}{\cedilla{s}}
-
- \DeclareUnicodeCharacter{0160}{\v{S}}
- \DeclareUnicodeCharacter{0161}{\v{s}}
- \DeclareUnicodeCharacter{0162}{\cedilla{t}}
- \DeclareUnicodeCharacter{0163}{\cedilla{T}}
- \DeclareUnicodeCharacter{0164}{\v{T}}
-
- \DeclareUnicodeCharacter{0168}{\~U}
- \DeclareUnicodeCharacter{0169}{\~u}
- \DeclareUnicodeCharacter{016A}{\=U}
- \DeclareUnicodeCharacter{016B}{\=u}
- \DeclareUnicodeCharacter{016C}{\u{U}}
- \DeclareUnicodeCharacter{016D}{\u{u}}
- \DeclareUnicodeCharacter{016E}{\ringaccent{U}}
- \DeclareUnicodeCharacter{016F}{\ringaccent{u}}
-
- \DeclareUnicodeCharacter{0170}{\H{U}}
- \DeclareUnicodeCharacter{0171}{\H{u}}
- \DeclareUnicodeCharacter{0174}{\^W}
- \DeclareUnicodeCharacter{0175}{\^w}
- \DeclareUnicodeCharacter{0176}{\^Y}
- \DeclareUnicodeCharacter{0177}{\^y}
- \DeclareUnicodeCharacter{0178}{\"Y}
- \DeclareUnicodeCharacter{0179}{\'Z}
- \DeclareUnicodeCharacter{017A}{\'z}
- \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}
- \DeclareUnicodeCharacter{017C}{\dotaccent{z}}
- \DeclareUnicodeCharacter{017D}{\v{Z}}
- \DeclareUnicodeCharacter{017E}{\v{z}}
-
- \DeclareUnicodeCharacter{01C4}{D\v{Z}}
- \DeclareUnicodeCharacter{01C5}{D\v{z}}
- \DeclareUnicodeCharacter{01C6}{d\v{z}}
- \DeclareUnicodeCharacter{01C7}{LJ}
- \DeclareUnicodeCharacter{01C8}{Lj}
- \DeclareUnicodeCharacter{01C9}{lj}
- \DeclareUnicodeCharacter{01CA}{NJ}
- \DeclareUnicodeCharacter{01CB}{Nj}
- \DeclareUnicodeCharacter{01CC}{nj}
- \DeclareUnicodeCharacter{01CD}{\v{A}}
- \DeclareUnicodeCharacter{01CE}{\v{a}}
- \DeclareUnicodeCharacter{01CF}{\v{I}}
-
- \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}
- \DeclareUnicodeCharacter{01D1}{\v{O}}
- \DeclareUnicodeCharacter{01D2}{\v{o}}
- \DeclareUnicodeCharacter{01D3}{\v{U}}
- \DeclareUnicodeCharacter{01D4}{\v{u}}
-
- \DeclareUnicodeCharacter{01E2}{\={\AE}}
- \DeclareUnicodeCharacter{01E3}{\={\ae}}
- \DeclareUnicodeCharacter{01E6}{\v{G}}
- \DeclareUnicodeCharacter{01E7}{\v{g}}
- \DeclareUnicodeCharacter{01E8}{\v{K}}
- \DeclareUnicodeCharacter{01E9}{\v{k}}
-
- \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}
- \DeclareUnicodeCharacter{01F1}{DZ}
- \DeclareUnicodeCharacter{01F2}{Dz}
- \DeclareUnicodeCharacter{01F3}{dz}
- \DeclareUnicodeCharacter{01F4}{\'G}
- \DeclareUnicodeCharacter{01F5}{\'g}
- \DeclareUnicodeCharacter{01F8}{\`N}
- \DeclareUnicodeCharacter{01F9}{\`n}
- \DeclareUnicodeCharacter{01FC}{\'{\AE}}
- \DeclareUnicodeCharacter{01FD}{\'{\ae}}
- \DeclareUnicodeCharacter{01FE}{\'{\O}}
- \DeclareUnicodeCharacter{01FF}{\'{\o}}
-
- \DeclareUnicodeCharacter{021E}{\v{H}}
- \DeclareUnicodeCharacter{021F}{\v{h}}
-
- \DeclareUnicodeCharacter{0226}{\dotaccent{A}}
- \DeclareUnicodeCharacter{0227}{\dotaccent{a}}
- \DeclareUnicodeCharacter{0228}{\cedilla{E}}
- \DeclareUnicodeCharacter{0229}{\cedilla{e}}
- \DeclareUnicodeCharacter{022E}{\dotaccent{O}}
- \DeclareUnicodeCharacter{022F}{\dotaccent{o}}
-
- \DeclareUnicodeCharacter{0232}{\=Y}
- \DeclareUnicodeCharacter{0233}{\=y}
- \DeclareUnicodeCharacter{0237}{\dotless{j}}
-
- \DeclareUnicodeCharacter{02DB}{\ogonek{ }}
-
- \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}
- \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}
- \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}
- \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}
- \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}
- \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}
- \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}
- \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}
- \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}
- \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}
- \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}
- \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}
-
- \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}
- \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}
-
- \DeclareUnicodeCharacter{1E20}{\=G}
- \DeclareUnicodeCharacter{1E21}{\=g}
- \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}
- \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}
- \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}
- \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}
- \DeclareUnicodeCharacter{1E26}{\"H}
- \DeclareUnicodeCharacter{1E27}{\"h}
-
- \DeclareUnicodeCharacter{1E30}{\'K}
- \DeclareUnicodeCharacter{1E31}{\'k}
- \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}
- \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}
- \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}
- \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}
- \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}
- \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}
- \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}
- \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}
- \DeclareUnicodeCharacter{1E3E}{\'M}
- \DeclareUnicodeCharacter{1E3F}{\'m}
-
- \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}
- \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}
- \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}
- \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}
- \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}
- \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}
- \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}
- \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}
- \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}
- \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}
-
- \DeclareUnicodeCharacter{1E54}{\'P}
- \DeclareUnicodeCharacter{1E55}{\'p}
- \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}
- \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}
- \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}
- \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}
- \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}
- \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}
- \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}
- \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}
-
- \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}
- \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}
- \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}
- \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}
- \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}
- \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}
- \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}
- \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}
- \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}
- \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}
-
- \DeclareUnicodeCharacter{1E7C}{\~V}
- \DeclareUnicodeCharacter{1E7D}{\~v}
- \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}
- \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}
-
- \DeclareUnicodeCharacter{1E80}{\`W}
- \DeclareUnicodeCharacter{1E81}{\`w}
- \DeclareUnicodeCharacter{1E82}{\'W}
- \DeclareUnicodeCharacter{1E83}{\'w}
- \DeclareUnicodeCharacter{1E84}{\"W}
- \DeclareUnicodeCharacter{1E85}{\"w}
- \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}
- \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}
- \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}
- \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}
- \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}
- \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}
- \DeclareUnicodeCharacter{1E8C}{\"X}
- \DeclareUnicodeCharacter{1E8D}{\"x}
- \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}
- \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}
-
- \DeclareUnicodeCharacter{1E90}{\^Z}
- \DeclareUnicodeCharacter{1E91}{\^z}
- \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}
- \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}
- \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}
- \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}
- \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}
- \DeclareUnicodeCharacter{1E97}{\"t}
- \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}
- \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}
-
- \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}
- \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}
-
- \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}
- \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}
- \DeclareUnicodeCharacter{1EBC}{\~E}
- \DeclareUnicodeCharacter{1EBD}{\~e}
-
- \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}
- \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}
- \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}
- \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}
-
- \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}
- \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}
-
- \DeclareUnicodeCharacter{1EF2}{\`Y}
- \DeclareUnicodeCharacter{1EF3}{\`y}
- \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}
-
- \DeclareUnicodeCharacter{1EF8}{\~Y}
- \DeclareUnicodeCharacter{1EF9}{\~y}
-
- \DeclareUnicodeCharacter{2013}{--}
- \DeclareUnicodeCharacter{2014}{---}
- \DeclareUnicodeCharacter{2018}{\quoteleft}
- \DeclareUnicodeCharacter{2019}{\quoteright}
- \DeclareUnicodeCharacter{201A}{\quotesinglbase}
- \DeclareUnicodeCharacter{201C}{\quotedblleft}
- \DeclareUnicodeCharacter{201D}{\quotedblright}
- \DeclareUnicodeCharacter{201E}{\quotedblbase}
- \DeclareUnicodeCharacter{2022}{\bullet}
- \DeclareUnicodeCharacter{2026}{\dots}
- \DeclareUnicodeCharacter{2039}{\guilsinglleft}
- \DeclareUnicodeCharacter{203A}{\guilsinglright}
- \DeclareUnicodeCharacter{20AC}{\euro}
-
- \DeclareUnicodeCharacter{2192}{\expansion}
- \DeclareUnicodeCharacter{21D2}{\result}
-
- \DeclareUnicodeCharacter{2212}{\minus}
- \DeclareUnicodeCharacter{2217}{\point}
- \DeclareUnicodeCharacter{2261}{\equiv}
-}% end of \utfeightchardefs
-
-
-% US-ASCII character definitions.
-\def\asciichardefs{% nothing need be done
- \relax
-}
-
-% Make non-ASCII characters printable again for compatibility with
-% existing Texinfo documents that may use them, even without declaring a
-% document encoding.
-%
-\setnonasciicharscatcode \other
-
-
-\message{formatting,}
-
-\newdimen\defaultparindent \defaultparindent = 15pt
-
-\chapheadingskip = 15pt plus 4pt minus 2pt
-\secheadingskip = 12pt plus 3pt minus 2pt
-\subsecheadingskip = 9pt plus 2pt minus 2pt
-
-% Prevent underfull vbox error messages.
-\vbadness = 10000
-
-% Don't be so finicky about underfull hboxes, either.
-\hbadness = 2000
-
-% Following George Bush, get rid of widows and orphans.
-\widowpenalty=10000
-\clubpenalty=10000
-
-% Use TeX 3.0's \emergencystretch to help line breaking, but if we're
-% using an old version of TeX, don't do anything. We want the amount of
-% stretch added to depend on the line length, hence the dependence on
-% \hsize. We call this whenever the paper size is set.
-%
-\def\setemergencystretch{%
- \ifx\emergencystretch\thisisundefined
- % Allow us to assign to \emergencystretch anyway.
- \def\emergencystretch{\dimen0}%
- \else
- \emergencystretch = .15\hsize
- \fi
-}
-
-% Parameters in order: 1) textheight; 2) textwidth;
-% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip;
-% 7) physical page height; 8) physical page width.
-%
-% We also call \setleading{\textleading}, so the caller should define
-% \textleading. The caller should also set \parskip.
-%
-\def\internalpagesizes#1#2#3#4#5#6#7#8{%
- \voffset = #3\relax
- \topskip = #6\relax
- \splittopskip = \topskip
- %
- \vsize = #1\relax
- \advance\vsize by \topskip
- \outervsize = \vsize
- \advance\outervsize by 2\topandbottommargin
- \pageheight = \vsize
- %
- \hsize = #2\relax
- \outerhsize = \hsize
- \advance\outerhsize by 0.5in
- \pagewidth = \hsize
- %
- \normaloffset = #4\relax
- \bindingoffset = #5\relax
- %
- \ifpdf
- \pdfpageheight #7\relax
- \pdfpagewidth #8\relax
- % if we don't reset these, they will remain at "1 true in" of
- % whatever layout pdftex was dumped with.
- \pdfhorigin = 1 true in
- \pdfvorigin = 1 true in
- \fi
- %
- \setleading{\textleading}
- %
- \parindent = \defaultparindent
- \setemergencystretch
-}
-
-% @letterpaper (the default).
-\def\letterpaper{{\globaldefs = 1
- \parskip = 3pt plus 2pt minus 1pt
- \textleading = 13.2pt
- %
- % If page is nothing but text, make it come out even.
- \internalpagesizes{607.2pt}{6in}% that's 46 lines
- {\voffset}{.25in}%
- {\bindingoffset}{36pt}%
- {11in}{8.5in}%
-}}
-
-% Use @smallbook to reset parameters for 7x9.25 trim size.
-\def\smallbook{{\globaldefs = 1
- \parskip = 2pt plus 1pt
- \textleading = 12pt
- %
- \internalpagesizes{7.5in}{5in}%
- {-.2in}{0in}%
- {\bindingoffset}{16pt}%
- {9.25in}{7in}%
- %
- \lispnarrowing = 0.3in
- \tolerance = 700
- \hfuzz = 1pt
- \contentsrightmargin = 0pt
- \defbodyindent = .5cm
-}}
-
-% Use @smallerbook to reset parameters for 6x9 trim size.
-% (Just testing, parameters still in flux.)
-\def\smallerbook{{\globaldefs = 1
- \parskip = 1.5pt plus 1pt
- \textleading = 12pt
- %
- \internalpagesizes{7.4in}{4.8in}%
- {-.2in}{-.4in}%
- {0pt}{14pt}%
- {9in}{6in}%
- %
- \lispnarrowing = 0.25in
- \tolerance = 700
- \hfuzz = 1pt
- \contentsrightmargin = 0pt
- \defbodyindent = .4cm
-}}
-
-% Use @afourpaper to print on European A4 paper.
-\def\afourpaper{{\globaldefs = 1
- \parskip = 3pt plus 2pt minus 1pt
- \textleading = 13.2pt
- %
- % Double-side printing via postscript on Laserjet 4050
- % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm.
- % To change the settings for a different printer or situation, adjust
- % \normaloffset until the front-side and back-side texts align. Then
- % do the same for \bindingoffset. You can set these for testing in
- % your texinfo source file like this:
- % @tex
- % \global\normaloffset = -6mm
- % \global\bindingoffset = 10mm
- % @end tex
- \internalpagesizes{673.2pt}{160mm}% that's 51 lines
- {\voffset}{\hoffset}%
- {\bindingoffset}{44pt}%
- {297mm}{210mm}%
- %
- \tolerance = 700
- \hfuzz = 1pt
- \contentsrightmargin = 0pt
- \defbodyindent = 5mm
-}}
-
-% Use @afivepaper to print on European A5 paper.
-% From romildo@urano.iceb.ufop.br, 2 July 2000.
-% He also recommends making @example and @lisp be small.
-\def\afivepaper{{\globaldefs = 1
- \parskip = 2pt plus 1pt minus 0.1pt
- \textleading = 12.5pt
- %
- \internalpagesizes{160mm}{120mm}%
- {\voffset}{\hoffset}%
- {\bindingoffset}{8pt}%
- {210mm}{148mm}%
- %
- \lispnarrowing = 0.2in
- \tolerance = 800
- \hfuzz = 1.2pt
- \contentsrightmargin = 0pt
- \defbodyindent = 2mm
- \tableindent = 12mm
-}}
-
-% A specific text layout, 24x15cm overall, intended for A4 paper.
-\def\afourlatex{{\globaldefs = 1
- \afourpaper
- \internalpagesizes{237mm}{150mm}%
- {\voffset}{4.6mm}%
- {\bindingoffset}{7mm}%
- {297mm}{210mm}%
- %
- % Must explicitly reset to 0 because we call \afourpaper.
- \globaldefs = 0
-}}
-
-% Use @afourwide to print on A4 paper in landscape format.
-\def\afourwide{{\globaldefs = 1
- \afourpaper
- \internalpagesizes{241mm}{165mm}%
- {\voffset}{-2.95mm}%
- {\bindingoffset}{7mm}%
- {297mm}{210mm}%
- \globaldefs = 0
-}}
-
-% @pagesizes TEXTHEIGHT[,TEXTWIDTH]
-% Perhaps we should allow setting the margins, \topskip, \parskip,
-% and/or leading, also. Or perhaps we should compute them somehow.
-%
-\parseargdef\pagesizes{\pagesizesyyy #1,,\finish}
-\def\pagesizesyyy#1,#2,#3\finish{{%
- \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi
- \globaldefs = 1
- %
- \parskip = 3pt plus 2pt minus 1pt
- \setleading{\textleading}%
- %
- \dimen0 = #1\relax
- \advance\dimen0 by \voffset
- %
- \dimen2 = \hsize
- \advance\dimen2 by \normaloffset
- %
- \internalpagesizes{#1}{\hsize}%
- {\voffset}{\normaloffset}%
- {\bindingoffset}{44pt}%
- {\dimen0}{\dimen2}%
-}}
-
-% Set default to letter.
-%
-\letterpaper
-
-
-\message{and turning on texinfo input format.}
-
-% DEL is a comment character, in case @c does not suffice.
-\catcode`\^^? = 14
-
-% Define macros to output various characters with catcode for normal text.
-\catcode`\"=\other
-\catcode`\~=\other
-\catcode`\^=\other
-\catcode`\_=\other
-\catcode`\|=\other
-\catcode`\<=\other
-\catcode`\>=\other
-\catcode`\+=\other
-\catcode`\$=\other
-\def\normaldoublequote{"}
-\def\normaltilde{~}
-\def\normalcaret{^}
-\def\normalunderscore{_}
-\def\normalverticalbar{|}
-\def\normalless{<}
-\def\normalgreater{>}
-\def\normalplus{+}
-\def\normaldollar{$}%$ font-lock fix
-
-% This macro is used to make a character print one way in \tt
-% (where it can probably be output as-is), and another way in other fonts,
-% where something hairier probably needs to be done.
-%
-% #1 is what to print if we are indeed using \tt; #2 is what to print
-% otherwise. Since all the Computer Modern typewriter fonts have zero
-% interword stretch (and shrink), and it is reasonable to expect all
-% typewriter fonts to have this, we can check that font parameter.
-%
-\def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi}
-
-% Same as above, but check for italic font. Actually this also catches
-% non-italic slanted fonts since it is impossible to distinguish them from
-% italic fonts. But since this is only used by $ and it uses \sl anyway
-% this is not a problem.
-\def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi}
-
-% Turn off all special characters except @
-% (and those which the user can use as if they were ordinary).
-% Most of these we simply print from the \tt font, but for some, we can
-% use math or other variants that look better in normal text.
-
-\catcode`\"=\active
-\def\activedoublequote{{\tt\char34}}
-\let"=\activedoublequote
-\catcode`\~=\active
-\def~{{\tt\char126}}
-\chardef\hat=`\^
-\catcode`\^=\active
-\def^{{\tt \hat}}
-
-\catcode`\_=\active
-\def_{\ifusingtt\normalunderscore\_}
-\let\realunder=_
-% Subroutine for the previous macro.
-\def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }
-
-\catcode`\|=\active
-\def|{{\tt\char124}}
-\chardef \less=`\<
-\catcode`\<=\active
-\def<{{\tt \less}}
-\chardef \gtr=`\>
-\catcode`\>=\active
-\def>{{\tt \gtr}}
-\catcode`\+=\active
-\def+{{\tt \char 43}}
-\catcode`\$=\active
-\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
-
-% If a .fmt file is being used, characters that might appear in a file
-% name cannot be active until we have parsed the command line.
-% So turn them off again, and have \everyjob (or @setfilename) turn them on.
-% \otherifyactive is called near the end of this file.
-\def\otherifyactive{\catcode`+=\other \catcode`\_=\other}
-
-% Used sometimes to turn off (effectively) the active characters even after
-% parsing them.
-\def\turnoffactive{%
- \normalturnoffactive
- \otherbackslash
-}
-
-\catcode`\@=0
-
-% \backslashcurfont outputs one backslash character in current font,
-% as in \char`\\.
-\global\chardef\backslashcurfont=`\\
-\global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work
-
-% \realbackslash is an actual character `\' with catcode other, and
-% \doublebackslash is two of them (for the pdf outlines).
-{\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}}
-
-% In texinfo, backslash is an active character; it prints the backslash
-% in fixed width font.
-\catcode`\\=\active
-@def@normalbackslash{{@tt@backslashcurfont}}
-% On startup, @fixbackslash assigns:
-% @let \ = @normalbackslash
-
-% \rawbackslash defines an active \ to do \backslashcurfont.
-% \otherbackslash defines an active \ to be a literal `\' character with
-% catcode other.
-@gdef@rawbackslash{@let\=@backslashcurfont}
-@gdef@otherbackslash{@let\=@realbackslash}
-
-% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
-% the literal character `\'.
-%
-@def@normalturnoffactive{%
- @let\=@normalbackslash
- @let"=@normaldoublequote
- @let~=@normaltilde
- @let^=@normalcaret
- @let_=@normalunderscore
- @let|=@normalverticalbar
- @let<=@normalless
- @let>=@normalgreater
- @let+=@normalplus
- @let$=@normaldollar %$ font-lock fix
- @markupsetuplqdefault
- @markupsetuprqdefault
- @unsepspaces
-}
-
-% Make _ and + \other characters, temporarily.
-% This is canceled by @fixbackslash.
-@otherifyactive
-
-% If a .fmt file is being used, we don't want the `\input texinfo' to show up.
-% That is what \eatinput is for; after that, the `\' should revert to printing
-% a backslash.
-%
-@gdef@eatinput input texinfo{@fixbackslash}
-@global@let\ = @eatinput
-
-% On the other hand, perhaps the file did not have a `\input texinfo'. Then
-% the first `\' in the file would cause an error. This macro tries to fix
-% that, assuming it is called before the first `\' could plausibly occur.
-% Also turn back on active characters that might appear in the input
-% file name, in case not using a pre-dumped format.
-%
-@gdef@fixbackslash{%
- @ifx\@eatinput @let\ = @normalbackslash @fi
- @catcode`+=@active
- @catcode`@_=@active
-}
-
-% Say @foo, not \foo, in error messages.
-@escapechar = `@@
-
-% These look ok in all fonts, so just make them not special.
-@catcode`@& = @other
-@catcode`@# = @other
-@catcode`@% = @other
-
-@c Finally, make ` and ' active, so that txicodequoteundirected and
-@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we
-@c don't make ` and ' active, @code will not get them as active chars.
-@c Do this last of all since we use ` in the previous @catcode assignments.
-@catcode`@'=@active
-@catcode`@`=@active
-@markupsetuplqdefault
-@markupsetuprqdefault
-
-@c Gnulib now utterly and painfully insists on no trailing whitespace.
-@c So we have to nuke it.
-
-@c Local variables:
-@c eval: (add-hook 'write-file-hooks 'time-stamp)
-@c eval: (add-hook 'write-file-hooks 'nuke-trailing-whitespace)
-@c page-delimiter: "^\\\\message"
-@c time-stamp-start: "def\\\\texinfoversion{"
-@c time-stamp-format: "%:y-%02m-%02d.%02H"
-@c time-stamp-end: "}"
-@c End:
-
-@c vim:sw=2:
-
-@ignore
- arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115
-@end ignore
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index ce7df51..c169880 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-07 Yaakov Selkowitz <yselkowi@redhat.com>
+
+ * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.
+
2014-02-18 Christopher Faylor <me.cygwin2014@cgf.cx>
* Makefile.in: Ignore errors on doc install.
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index d97ecb0..d3a46e7 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -23,7 +23,7 @@ opt=$(filter -O%,${CFLAGS}) $(filter -g%,${CFLAGS})
override CXXFLAGS:=${filter-out -g%,$(filter-out -O%,${CXXFLAGS})} ${opt}
cflags_common:=-Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0
-COMPILE.cc=c++wrap ${CXXFLAGS} -fno-rtti -fno-exceptions ${cflags_common}
+COMPILE.cc=c++wrap ${CXXFLAGS} -fno-rtti -fno-exceptions -fno-use-cxa-atexit ${cflags_common}
COMPILE.c=ccwrap ${CFLAGS} ${cflags_common}
top_srcdir:=$(call justdir,${winsup_srcdir})
diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog
index 1104918..653f531 100644
--- a/winsup/cygserver/ChangeLog
+++ b/winsup/cygserver/ChangeLog
@@ -21,11 +21,6 @@
2014-04-16 Corinna Vinschen <corinna@vinschen.de>
- * pwdgrp.cc (client_request_pwdgrp::pwd_serve): Add 1 to the message
- length to account for the trailing NUL.
-
-2014-04-16 Corinna Vinschen <corinna@vinschen.de>
-
* cygserver-config: Use numeric id 18 instead of "system" in chown.
2014-04-07 Corinna Vinschen <corinna@vinschen.de>
@@ -35,13 +30,6 @@
2014-03-12 Corinna Vinschen <corinna@vinschen.de>
- * Makefile.in (OBJS): Add pwdgrp.o.
- * client.cc (client_request::handle_request): Handle
- CYGSERVER_REQUEST_PWDGRP message.
- * pwdgrp.cc: New file implementing CYGSERVER_REQUEST_PWDGRP.
-
-2014-03-12 Corinna Vinschen <corinna@vinschen.de>
-
* Throughout, fix format specifiers in debug statements to accommodate
x86_64.
diff --git a/winsup/cygserver/Makefile.in b/winsup/cygserver/Makefile.in
index 816f5b3..e2fe309 100644
--- a/winsup/cygserver/Makefile.in
+++ b/winsup/cygserver/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for Cygwin server
-# Copyright 2003, 2006, 2007, 2008, 2009, 2014 Red Hat, Inc.
+# Copyright 2003, 2006, 2007, 2008, 2009 Red Hat, Inc.
# This file is part of Cygwin.
@@ -46,7 +46,7 @@ AR:=@AR@
OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \
transport.o transport_pipes.o \
bsd_helper.o bsd_log.o bsd_mutex.o \
- sysv_msg.o sysv_sem.o sysv_shm.o setpwd.o pwdgrp.o
+ sysv_msg.o sysv_sem.o sysv_shm.o setpwd.o
LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)}
CYGWIN_OBJS:=$(cygwin_build)/version.o
diff --git a/winsup/cygserver/client.cc b/winsup/cygserver/client.cc
index 0c6c24b..9c890f7 100644
--- a/winsup/cygserver/client.cc
+++ b/winsup/cygserver/client.cc
@@ -26,7 +26,6 @@ details. */
#include "cygserver_sem.h"
#include "cygserver_shm.h"
#include "cygserver_setpwd.h"
-#include "cygserver_pwdgrp.h"
#include "cygserver.h"
#include "transport.h"
@@ -286,9 +285,6 @@ client_request::handle_request (transport_layer_base *const conn,
case CYGSERVER_REQUEST_SETPWD:
req = new client_request_setpwd;
break;
- case CYGSERVER_REQUEST_PWDGRP:
- req = new client_request_pwdgrp;
- break;
default:
syscall_printf ("unknown request code %d received: request ignored",
header.request_code);
diff --git a/winsup/cygserver/pwdgrp.cc b/winsup/cygserver/pwdgrp.cc
deleted file mode 100644
index cc12dea..0000000
--- a/winsup/cygserver/pwdgrp.cc
+++ /dev/null
@@ -1,161 +0,0 @@
-/* pwdgrp.cc: Request account information
-
- Copyright 2014 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifdef __OUTSIDE_CYGWIN__
-#include "woutsup.h"
-
-#include <stdio.h>
-#include <errno.h>
-#include <pwd.h>
-#include <grp.h>
-#include <sys/cygwin.h>
-
-#include "cygserver.h"
-#include "process.h"
-#include "transport.h"
-
-#include "cygserver_pwdgrp.h"
-
-#include <sddl.h>
-
-client_request_pwdgrp::client_request_pwdgrp ()
- : client_request (CYGSERVER_REQUEST_PWDGRP,
- &_parameters, sizeof (_parameters))
-{
-}
-
-void
-client_request_pwdgrp::pwd_serve ()
-{
- struct passwd *pwd = NULL;
-
- switch (_parameters.in.type)
- {
- case SID_arg:
- pwd = (struct passwd *) cygwin_internal (CW_GETPWSID, 0,
- &_parameters.in.arg.sid);
- break;
- case NAME_arg:
- pwd = getpwnam (_parameters.in.arg.name);
- break;
- case ID_arg:
- pwd = getpwuid (_parameters.in.arg.id);
- break;
- }
- if (pwd)
- msglen (snprintf (_parameters.out.line, sizeof _parameters.out.line,
- "%s:%s:%u:%u:%s:%s:%s",
- pwd->pw_name ?: "",
- pwd->pw_passwd ?: "",
- (uint32_t) pwd->pw_uid,
- (uint32_t) pwd->pw_gid,
- pwd->pw_gecos ?: "",
- pwd->pw_dir ?: "",
- pwd->pw_shell ?: "") + 1);
- else
- {
- switch (_parameters.in.type)
- {
- case SID_arg:
- {
- char *str;
- if (ConvertSidToStringSid (&_parameters.in.arg.sid, &str))
- {
- debug_printf ("User <%s> failed", str);
- LocalFree (str);
- }
- }
- break;
- case NAME_arg:
- debug_printf ("User <%s> failed", _parameters.in.arg.name);
- break;
- case ID_arg:
- debug_printf ("User <%u> failed", _parameters.in.arg.id);
- break;
- }
- _parameters.out.line[0] = '\0';
- msglen (0);
- error_code (ENOENT);
- }
-}
-
-void
-client_request_pwdgrp::grp_serve ()
-{
- struct group *grp = NULL;
-
- switch (_parameters.in.type)
- {
- case SID_arg:
- grp = (struct group *) cygwin_internal (CW_GETGRSID, 0,
- &_parameters.in.arg.sid);
- break;
- case NAME_arg:
- grp = getgrnam (_parameters.in.arg.name);
- break;
- case ID_arg:
- grp = getgrgid (_parameters.in.arg.id);
- break;
- }
- if (grp)
- msglen (snprintf (_parameters.out.line, sizeof _parameters.out.line,
- "%s:%s:%u:",
- grp->gr_name ?: "",
- grp->gr_passwd ?: "",
- (uint32_t) grp->gr_gid) + 1);
- else
- {
- switch (_parameters.in.type)
- {
- case SID_arg:
- {
- char *str;
- if (ConvertSidToStringSid (&_parameters.in.arg.sid, &str))
- {
- debug_printf ("Group <%s> failed", str);
- LocalFree (str);
- }
- }
- break;
- case NAME_arg:
- debug_printf ("Group <%s> failed", _parameters.in.arg.name);
- break;
- case ID_arg:
- debug_printf ("Group <%u> failed", _parameters.in.arg.id);
- break;
- }
- _parameters.out.line[0] = '\0';
- msglen (0);
- error_code (ENOENT);
- }
-}
-
-void
-client_request_pwdgrp::serve (transport_layer_base *const conn,
- process_cache *const cache)
-{
- debug_printf ("Request account information");
- if (msglen () < __builtin_offsetof (struct _pwdgrp_param_t::_pwdgrp_in_t, arg)
- + sizeof (uint32_t)
- || msglen () > sizeof (_parameters.in))
- {
- syscall_printf ("bad request body length: got %lu", msglen ());
- error_code (EINVAL);
- msglen (0);
- return;
- }
- error_code (0);
- if (_parameters.in.group)
- grp_serve ();
- else
- pwd_serve ();
- debug_printf ("Request account information returns <%s> error %d", _parameters.out.line, error_code ());
-}
-#endif /* __OUTSIDE_CYGWIN__ */
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d4e2be4..0c6b6d2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,15 +1,33 @@
-2014-08-04 Corinna Vinschen <corinna@vinschen.de>
+2014-08-11 Corinna Vinschen <corinna@vinschen.de>
- * common.din (__cxa_atexit): Export.
- * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.
+ * cpuid.h: Add missing copyright header. Fix formatting. Use uint32_t
+ instead of unsigned throughout. Change functions to static inline and
+ always inline.
+ (cpuid): Add parameter to set ecx, allowing to request extended CPUID
+ info.
+ * fhandler_proc.cc (format_proc_cpuinfo): Use uint32_t instead of
+ unsigned throughout. Add fake decimal places to MHz info. Handle more
+ feature flags.
+ * fhandler_random.cc (fhandler_dev_random::write): Allow up to 4K
+ input to add entropy.
+ * syscalls.cc: Drop including cpuid.h.
+
+2014-08-07 Yaakov Selkowitz <yselkowi@redhat.com>
+
+ * common.din (__cxa_finalize): Export.
+ * dcrt0.cc (cygwin_atexit): Use d->handle with __cxa_atexit.
+ * dll_init.cc (dll_list::detach): Use d->handle with __cxa_finalize.
+ * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Use 274 for
+ __cxa_finalize as well.
+
+2014-08-04 Anthony Heading <anthony@ajrh.net>
+
+ * include/sys/file.h: Add extern "C".
2014-08-04 Corinna Vinschen <corinna@vinschen.de>
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"
- as naming style. Drop enum name_style_t, use a boolean
- "fully_qualified_name" value instead. Rework function to drop
- "plus_prepended" handling througout and default to "name only" style
- as replacement.
+ * common.din (__cxa_atexit): Export.
+ * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.
2014-07-31 Eric Blake <eblake@redhat.com>
@@ -20,27 +38,6 @@
* include/sys/cygwin.h: Likewise.
* include/sys/strace.h: Likewise.
-2014-07-30 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.
-
-2014-07-29 Corinna Vinschen <corinna@vinschen.de>
-
- * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.
- * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Return UINT32_MAX
- in case of error.
- * security.h (PRIMARY_POSIX_OFFSET): Define.
- (NOACCESS_POSIX_OFFSET): Define.
- (UNUSABLE_POSIX_OFFSET): Define.
- * uinfo.cc (cygheap_domain_info::init): Drop initializing
- lowest_tdo_posix_offset.
- (pwdgrp::fetch_account_from_file): Set PosixOffset to either
- UNUSABLE_POSIX_OFFSET or NOACCESS_POSIX_OFFSET in case we don't get a
- sensible offset from AD. Explain why. Drop setting ch
- lowest_tdo_posix_offset.
- (pwdgrp::fetch_account_from_windows): Replace constant 0x100000 with
- PRIMARY_POSIX_OFFSET throughout.
-
2014-07-24 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::send_internal): Fix value of
@@ -52,14 +49,6 @@
* thread.cc (pthread::init_mainthread): Initialize thread mutex to
type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.
-2014-07-21 Corinna Vinschen <corinna@vinschen.de>
-
- * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 32.
-
-2014-07-21 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc: Fix typo in comment.
-
2014-07-16 Corinna Vinschen <corinna@vinschen.de>
* thread.cc (pthread::create): Handle stackaddr as upper bound address.
@@ -93,13 +82,6 @@
* sigproc.cc (send_sig): Fix bad format in diagnostic output.
-2014-07-14 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (cygheap_domain_info::init): Correctly set
- lowest_tdo_posix_offset to UNIX_POSIX_OFFSET.
- (fetch_posix_offset): Redesign to fake a POSIX offset in all cases
- where we can't fetch a non-0 POSIX offset from our primary domain.
-
2014-07-14 Yaakov Selkowitz <yselkowitz@cygwin.com>
* thread.cc (pthread_mutex::pthread_mutex): Change default type
@@ -147,12 +129,6 @@
2014-07-07 Corinna Vinschen <corinna@vinschen.de>
- * passwd.cc (pg_ent::enumerate_ad): Revert to simply skipping a domain
- if opening the connection to the domain fails.
-
-2014-07-07 Pierre Humblet <Pierre.Humblet@ieee.org>
- Corinna Vinschen <corinna@vinschen.de>
-
* libc/minires.c (minires_dprintf): Change "Minires" to "Resolv" to
differ from external minres lib.
(res_nquerydomain): Fix off-by-one in domain concatenation. Add debug
@@ -163,73 +139,6 @@
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add debug
output.
-2014-06-25 Corinna Vinschen <corinna@vinschen.de>
-
- * errno.cc (errmap): Fix order of SERVICE_REQUEST_TIMEOUT.
-
-2014-06-25 Corinna Vinschen <corinna@vinschen.de>
-
- * errno.cc (errmap): Handle Windows error codes ERROR_CANCELLED,
- ERROR_CONNECTION_REFUSED, ERROR_DEV_NOT_EXIST, ERROR_DS_GENERIC_ERROR,
- ERROR_NOT_ENOUGH_QUOTA, ERROR_SERVICE_REQUEST_TIMEOUT, ERROR_TIMEOUT,
- ERROR_UNEXP_NET_ERR.
- * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Drop explicit LDAP_TIMEOUT
- handling.
-
-2014-06-25 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (cyg_ldap::map_ldaperr_to_errno): Explicitely map LDAP_TIMEOUT
- to EIO.
-
-2014-06-25 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (ldap_search_sW): Replace ldap_search_stW.
- (LdapMapErrorToWin32): Import.
- * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Accommodate
- change to cyg_ldap::open.
- * ldap.cc (CYG_LDAP_TIMEOUT): Remove.
- (CYG_LDAP_ENUM_TIMEOUT): Remove.
- (def_tv): Remove.
- (enum_tv): Remove.
- (cyg_ldap::map_ldaperr_to_errno): New method to map LDAP error codes to
- POSIX errno codes. Explicitly map LDAP_NO_RESULTS_RETURNED to ENMFILE.
- (cyg_ldap::wait): Ditto.
- (struct cyg_ldap_init): New struct.
- (cyg_ldap::connect_ssl): Return ULONG. Drop setting LDAP_OPT_TIMELIMIT.
- Add call to ldap_search_sW to fetch root DSE.
- (cyg_ldap::connect_non_ssl): Ditto.
- (ldap_init_thr): New static thread function.
- (cyg_ldap::connect): New method to call connect_ssl/connect_non_ssl in
- an interruptible cygthread.
- (struct cyg_ldap_search): New struct.
- (cyg_ldap::search_s): New method to perform generic synchronous search.
- (ldap_search_thr): New static thread function.
- (cyg_ldap::search): New method to call search_s in an interruptible
- cygthread.
- (struct cyg_ldap_next_page): New struct.
- (cyg_ldap::next_page_s): New method to perform generic synchronous
- paged search.
- (ldap_next_page_thr): New static thread function.
- (cyg_ldap::next_page): New method to call next_page_s in an
- interruptible cygthread.
- (cyg_ldap::open): Return POSIX errno. Call connect method.
- (cyg_ldap::fetch_ad_account): Call search method rather than
- ldap_search_stW.
- (cyg_ldap::enumerate_ad_accounts): Return POSIX errno. Use infinite
- timeout in call to ldap_search_init_pageW.
- (cyg_ldap::next_account): Return POSIX errno. Call next_page method
- rather than ldap_get_next_page_s.
- (cyg_ldap::fetch_posix_offset_for_domain): Call search method rather
- than ldap_search_stW.
- (cyg_ldap::fetch_unix_sid_from_ad): Ditto.
- (cyg_ldap::fetch_unix_name_from_rfc2307): Ditto.
- * ldap.h (class cyg_ldap): Accommodate aforementioned changes.
- * passwd.cc (pg_ent::enumerate_ad): Ditto. Break search if one of
- cyg_ldap::enumerate_ad_accounts or cldap.next_account returns with
- an error code other than ENMFILE.
- * sec_helper.cc (cygpsid::get_id): Accommodate change to cyg_ldap::open.
- * uinfo.cc (fetch_posix_offset): Ditto.
-
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (find_exec): Initialize err (CID 60111).
@@ -287,24 +196,6 @@
* dcrt0.cc (insert_file): Fix resource leaks (CIDs 59987, 59988).
-2014-06-23 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (CYG_LDAP_TIMEOUT): Set to 5 secs.
- (CYG_LDAP_ENUM_TIMEOUT): New timeout value for enumeration only. Set
- to 60 secs.
- (CYG_LDAP_ENUM_PAGESIZE): Define as number of entries per single
- search page. Set to 100. Use throughout.
- (def_tv): Rename from tv. Use throughout.
- (enum_tv): New variable. Use in call to ldap_get_next_page_s.
-
-2014-06-17 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (CYG_LDAP_TIMEOUT): Define as timeout value. Set to 30 secs
- for now. Use throughout.
- * uinfo.cc (colon_to_semicolon): New local function.
- (pwdgrp::fetch_account_from_windows): Convert all colons in AD gecos
- entry to semicolons.
-
2014-06-17 David Stacey <drstacey@tiscali.co.uk>
* libc/rexec.cc (cygwin_rexec): Make ahostbuf static to avoid returning
@@ -325,62 +216,12 @@
* timer.cc (timer_tracker::cancel): Demote api_fatal to system_printf,
printing more details about odd failure condition.
-2014-05-23 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (ldap_memfreeW): Remove.
- (ldap_msgfree): Import.
- * ldap.cc: Throughout, use ldap_msgfree to free LDAPMessage memory,
- rather than ldap_memfreeW.
- (cyg_ldap::next_account): Immediately abandon search when quiting from
- search.
-
-2014-05-22 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (ldap_abandon): Remove.
- (ldap_count_entries): Import.
- (ldap_get_next_page_s): Import.
- (ldap_result): Remove.
- (ldap_searchW): Remove.
- (ldap_search_abandon_page): Import.
- (ldap_search_init_pageW): Import.
- * ldap.cc (cyg_ldap::close): Use ldap_search_abandon_page to abandon
- search. Reset srch_id, srch_msg and srch_entry.
- (cyg_ldap::enumerate_ad_accounts): Use paged search to overcome server
- side search result set restriction.
- (cyg_ldap::next_account): Ditto.
- * ldap.h (class cyg_ldap): Add members srch_id, srch_msg and srch_entry.
- Remove member msg_id.
- (cyg_ldap::cyg_ldap): Change initialization accordingly.
-
-2014-05-22 Corinna Vinschen <corinna@vinschen.de>
-
- * sec_auth.cc (get_server_groups): Call get_user_local_groups only if
- get_logon_server succeeded.
-
-2014-05-22 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (cyg_ldap::fetch_ad_account): Take additional domain string
- parameter. Convert into likely rootDSE string if not NULL, and use in
- subsequent call to ldap_search_stW. Add comment to explain that this
- is not the exactly correct solution.
- * ldap.h (cyg_ldap::fetch_ad_account): Change prototype accordingly.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Always use loc_ldap
- in call to fetch_posix_offset to make sure we're fetchoinmg the posix
- offsets from *our* domain controller. Only set domain variable to
- non-NULL if the account is from a trusted domain. Use domain in call
- to cyg_ldap::fetch_ad_account.
-
2014-05-22 Corinna Vinschen <corinna@vinschen.de>
* gmon.h: Pull in profile.h. Explain why.
2014-05-22 Corinna Vinschen <corinna@vinschen.de>
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix potential SEGV
- referencing NULL pointer.
-
-2014-05-22 Corinna Vinschen <corinna@vinschen.de>
-
* libc/bsdlib.cc (forkpty): Close master and slave if fork fails to
avoid resource leak (CID 59997).
* libc/fts.c: Update to FreeBSD version 1.39 (CID 59947).
@@ -416,7 +257,7 @@
2014-05-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Fix floppy
- drive handling broken with 1.7.19.
+ drive handling broken with 1.7.19.
2014-05-20 Corinna Vinschen <corinna@vinschen.de>
@@ -464,30 +305,6 @@
* syscalls.cc (getusershell): Fix buffer overrun (Coverity ID 59932).
-2014-05-15 Corinna Vinschen <corinna@vinschen.de>
-
- * external.cc (cygwin_internal): Use local name buffer instead of
- allocated one in CW_CYGNAME_FROM_WINNAME.
-
-2014-05-15 Corinna Vinschen <corinna@vinschen.de>
-
- * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 273.
-
-2014-05-15 Corinna Vinschen <corinna@vinschen.de>
-
- * external.cc (cygwin_internal): Implement CW_CYGNAME_FROM_WINNAME.
- Add lengthy comment to explain what we do and why.
- * include/sys/cygwin.h (cygwin_getinfo_types): Add
- CW_CYGNAME_FROM_WINNAME.
-
-2014-05-14 Corinna Vinschen <corinna@vinschen.de>
-
- * sec_auth.cc (get_server_groups): Call get_logon_server only for
- non-builtin accounts.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Check incoming
- account name for validity in terms of the current name prefixing rules
- and refuse invalid names.
-
2014-05-13 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::ioctl): Handle the different
@@ -501,76 +318,6 @@
* fhandler_console.cc (dev_console::save_restore): Only save current
dwEnd line rather than the one after that.
-2014-05-08 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (cygheap_user::init): Fix formatting in debug output.
- (struct cyg_USER_INFO_24): Define temporarily. Explain why.
- (pwdgrp::fetch_account_from_windows): Handle sane primary group
- setting for Microsoft Accounts. Explain why.
- * wincap.h (wincaps::has_microsoft_accounts): New element.
- * wincap.cc: Implement above element throughout.
-
-2014-05-08 Corinna Vinschen <corinna@vinschen.de>
-
- * grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing
- an endless loop.
-
-2014-05-07 Corinna Vinschen <corinna@vinschen.de>
-
- * passwd.cc (pwdgrp::parse_passwd): Fix an off by one computing the
- buffer len. Add comment.
- * uinfo.cc (internal_getlogin): Fix typo in comment.
-
-2014-05-07 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Tweak SID<->uid
- conversion to cover S-1-5-113, S-1-5-114, and S-1-5-1000 groups.
-
-2014-05-07 Corinna Vinschen <corinna@vinschen.de>
-
- * grp.cc (pwdgrp::parse_group): Set grp.len. Drop generating any
- gr_mem entries.
- (getgrgid_r): Don't try to copy gr_mem entries. Always set gr_mem
- to an empty list.
- (getgrnam_r): Ditto.
- (app_gr): New static struct to store group data propagated to the
- calling application via getgrgid/getgrnam.
- (getgr_cp): Fill app_gr and return pointer to app_gr.g.
- (getgrgid32): Call getgr_cp.
- (getgrnam32): Ditto.
- * passwd.cc (pwdgrp::parse_passwd): Set res.len.
- (app_pw): New static struct to store passwd data propagated to the
- calling application via getpwuid/getpwnam.
- (getpw_cp): Fill app_pw and return pointer to app_pw.p.
- (getpwuid32): Cal getpw_cp.
- (getpwnam): Ditto.
- * pwdgrp.h (struct pg_pwd): Add len member.
- (struct pg_grp): Ditto.
-
-2014-05-06 Corinna Vinschen <corinna@vinschen.de>
-
- * security.h (MAX_SUBAUTH_CNT): Drop. Use SID_MAX_SUB_AUTHORITIES
- instead throughout.
- (MAX_SID_LEN): Drop. Use SECURITY_MAX_SID_SIZE instead throughout.
-
-2014-05-06 Corinna Vinschen <corinna@vinschen.de>
-
- * grp.cc (internal_getgroups): Drop unused cygsid variable.
- * sec_helper.cc (cygpsid::pstring): Use sid_sub_auth_count macro.
- (cygsid::get_sid): Use MAX_SUBAUTH_CNT rather than wrong constant 8.
- Don't call memcpy to copy subauthorities into SID, use assignment.
- (cygsid::getfromstr): Use MAX_SUBAUTH_CNT rather than wrong constant 8.
- * security.h (MAX_SUBAUTH_CNT): New definition. Set to 11 to cover
- Microsoft Accounts.
- (MAX_SID_LEN): Define in terms of SID member sizes and MAX_SUBAUTH_CNT.
- (DBGSID): Use MAX_SUBAUTH_CNT to define size of SubAuthority array.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Handle Micosoft
- Accounts. Handle them as well known group. Compare domain names
- case-insensitive.
- * winlean.h (PIPE_REJECT_REMOTE_CLIENTS): Drop temporary definition
- since Mingw64 catched up.
- (DNLEN): Redefine as 16. Explain why.
-
2014-05-05 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_getsockopt): Rearrange code slightly and handle
@@ -614,16 +361,6 @@
* miscfuncs.cc (check_iovec): Allow 0 as valid iovcnt value.
-2014-04-22 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (user_attr): Remove "uid" attribute.
- * ldap.h (LDAP_USER_NAME_ATTR): Remove. Change other attribute index
- values as required.
- (cyg_ldap::get_user_name): Remove inline function.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Remove code to handle
- Cygwin username different from Windows username.
- (pwdgrp::add_account_from_cygserver): Remove unnecessary cast.
-
2014-04-18 Corinna Vinschen <corinna@vinschen.de>
* winf.cc (linebuf::fromargv): Temporarily revert patch from 2014-01-24.
@@ -644,7 +381,7 @@
(tmp_pathbuf::w_get): Ditto.
* tls_pbuf.h (class tmp_pathbuf): Change type of c_buf_old and w_buf_old
to unsigned.
- (tmp_pathbuf::check_usage): New inline method to check if we have
+ (tmp_pathbuf::check_usage): New inline method to check if we have
enough tmp_pathbuf buffers left to call a function using tmp_pathbuf
buffers.
* tlsoffsets.h: Regenerate.
@@ -654,30 +391,25 @@
* net.cc (cygwin_setsockopt): Ignore IPV6_TCLASS the same way as IP_TOS.
-2014-04-12 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix gid evaluation
- for local accounts.
-
2014-04-10 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 30.
-2014-04-09 Corinna Vinschen <corinna@vinschen.de>
-
- * exceptions.cc (exception::myfault_handle): Only handle the minimum
- amount of exceptions the myfault handler was designed for.
-
2014-04-08 Corinna Vinschen <corinna@vinschen.de>
* cygwin.sc.in: (Temporarily?) workaround serious ld bug which
truncates symbols in certain computations to 32 bit. See
https://sourceware.org/bugzilla/show_bug.cgi?id=16821
+2014-04-09 Corinna Vinschen <corinna@vinschen.de>
+
+ * exceptions.cc (exception::myfault_handle): Only handle the minimum
+ amount of exceptions the myfault handler was designed for.
+
2014-04-07 Corinna Vinschen <corinna@vinschen.de>
* cygserver_ipc.h (ipc_set_proc_info): Add bool parameter to specify
- whether or not to send signal_arrived.
+ whether or not to send signal_arrived.
* shm.cc (client_request_shm::client_request_shm): Call
ipc_set_proc_info with bool parameter set to true to not send
signal_arrived.
@@ -769,12 +501,6 @@
(exception::exception): Install unhandled exception filter.
* exceptions.cc (exception::handle_while_being_debugged): New method.
-2014-03-19 Corinna Vinschen <corinna@vinschen.de>
-
- * passwd.cc (pg_ent::enumerate_ad): Ignore primary domain in list of
- trusted domains only if all trusted domains are enumerated anyway.
- Explain why.
-
2014-03-18 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_fork): Actually call
@@ -821,58 +547,6 @@
2014-03-12 Corinna Vinschen <corinna@vinschen.de>
- * cygheap.h (enum cygheap_pwdgrp::cache_t): Remove.
- (cygheap_pwdgrp::caching): Convert to bool.
- (cygheap_pwdgrp::pwd_cache): Add cygserver member.
- (cygheap_pwdgrp::grp_cache): Ditto.
- (cygheap_pwdgrp::nss_db_caching): Drop.
- (cygheap_pwdgrp::nss_db_full_caching): Drop.
- (cygheap_pwdgrp::nss_cygserver_caching): New method.
- (cygheap_pwdgrp::nss_disable_cygserver_caching): New method.
- * cygserver.h (client_request::request_code_t): Add
- CYGSERVER_REQUEST_PWDGRP.
- * cygserver_pwdgrp.h: New file.
- * cygtls.h (struct _local_storage): Remove pwbuf and grbuf members.
- * grp.cc (pwdgrp::prep_tls_grbuf): Drop.
- (internal_getgrsid): Handle cygserver caching and rearrange to check
- the caches first.
- (internal_getgrnam): Ditto.
- (internal_getgrgid): Ditto.
- (gr_ent::enumerate_caches): Handle cygserver cache.
- * passwd.cc (pwdgrp::prep_tls_pwbuf): Drop.
- (internal_getpwsid): Handle cygserver caching and rearrange to check
- the caches first.
- (internal_getpwnam): Ditto.
- (internal_getpwuid): Ditto.
- (pw_ent::enumerate_caches): Handle cygserver cache.
- * pwdgrp.h (pwdgrp::add_account_from_cygserver): New method declaration.
- (pwdgrp::fetch_account_from_cygserver): New method declaration.
- (pwdgrp::prep_tls_pwbuf): Drop declaration.
- (pwdgrp::prep_tls_grbuf): Drop declaration.
- (pwdgrp::add_user_from_cygserver): New inline methods.
- (pwdgrp::add_group_from_cygserver): New inline methods.
- * tlsoffsets.h: Regenerate.
- * tlsoffsets64.h: Regenerate.
- * uinfo.cc (internal_getlogin): Call internal_getgroups if cygserver
- caching is not available.
- (cygheap_pwdgrp::init): Initialize pwd_cache.cygserver and
- grp_cache.cygserver. Set caching to true.
- (cygheap_pwdgrp::nss_init_line): Drop db_cache handling entirely.
- (pwdgrp::add_account_from_windows): Drop no caching handling.
- (client_request_pwdgrp::client_request_pwdgrp): New method.
- (pwdgrp::fetch_account_from_cygserver): New method.
- (pwdgrp::add_account_from_cygserver): New method.
-
- * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix formatting.
- * include/sys/cygwin.h: Ditto.
-
-2014-03-12 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Avoid crash on
- non-domain member machines if an unknown SID comes in.
-
-2014-03-12 Corinna Vinschen <corinna@vinschen.de>
-
* include/cygwin/socket.h (IPV6_JOIN_GROUP): Revert.
(IPV6_LEAVE_GROUP): Ditto.
@@ -932,55 +606,6 @@
* dir.cc (opendir): Propagate any errno from build_fh_name.
-2014-03-07 Corinna Vinschen <corinna@vinschen.de>
-
- * pwdgrp.h (pwdgrp::is_passwd): New inline method.
- (pwdgrp::is_group): New inline method.
- (add_account_from_windows): Drop group argument from declaration.
- (fetch_account_from_windows): Ditto.
- (check_file): Ditto.
- (add_user_from_windows): Call add_account_from_windows accordingly.
- (add_group_from_windows): Ditto.
- * uinfo.cc (pwdgrp::add_account_from_windows): Drop group argument.
- Use is_group method instead.
- (pwdgrp::check_file): Ditto.
- (pwdgrp::fetch_account_from_windows): Ditto.
- * grp.cc: Accommodate aforementioned changes.
- * passwd.cc: Ditto.
-
-2014-03-06 Corinna Vinschen <corinna@vinschen.de>
-
- * passwd.cc (pg_ent::enumerate_builtin): Convert pwd_builtins and
- grp_builtins to array of cygpsid pointers. Replace SID strings with
- pointers to well known SIDs.
- * sec_helper.cc (well_known_local_service_sid): Define.
- (well_known_network_service_sid): Define.
- (trusted_installer_sid): Define.
- * security.h (well_known_local_service_sid): Declare.
- (well_known_network_service_sid): Declare.
- (trusted_installer_sid): Declare.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Throughout set acc_type
- to SidTypeUnknown if LookupAccountXXX function failed. Create
- simplified passwd entry for non-user accounts, except for LocalSystem.
- Add comment.
-
-2014-03-06 Corinna Vinschen <corinna@vinschen.de>
-
- * setlsapwd.cc (setlsapwd): Use RtlSecureZeroMemory to delete password
- from memory.
-
-2014-03-05 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (rediscover_thread): Remove.
- (cyg_ldap::open): Remove code to rediscover DC. It just won't do the
- right thing.
- (cyg_ldap::enumerate_ad_accounts): Change to be self-sufficient (no
- explicit open call required). Enumerate on a DC of the domain itself
- instead of relying on delegation. Remove ill-advised code trying to
- generate rootdse from domain name.
- * passwd.cc (pg_ent::enumerate_ad): Drop explicit call to
- cyg_ldap::open.
-
2014-03-05 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/config.h (__TM_GMTOFF): Define.
@@ -1009,115 +634,6 @@
* exception.h (exception::exception): Install vectored exception
handler rather than vectored continue handler.
-2014-03-03 Corinna Vinschen <corinna@vinschen.de>
-
- * sec_helper.cc (cygpsid::get_id): Move Samba SID->uid/gid mapping
- from get_sids_info here.
- (get_sids_info): Vice versa.
- * security.cc (convert_samba_sd): New static function to map a Samba
- security descriptor to a security descriptor with UNIX users and groups
- converted to Windows SIDs per RFC 2307 mapping.
- (check_file_access): Call convert_samba_sd on Samba security
- descriptors.
-
-2014-02-28 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Only fetch extended
- user info if we're creating a passwd entry. Add comment.
-
-2014-02-28 Corinna Vinschen <corinna@vinschen.de>
-
- * cygheap.h (cygheap_user::sid): Return reference to cygpsid rather
- than PSID.
- (cygheap_user::saved_sid): Ditto.
- (cygheap_pwdgrp::cache_t): New type.
- (cygheap_pwdgrp::caching): Convert to cache_t.
- (cygheap_pwdgrp::nss_db_caching): Change accordingly.
- (cygheap_pwdgrp::nss_db_full_caching): New inline method.
- * grp.cc (internal_getgroups): Reinvent. Take cyg_ldap pointer as
- third parameter and use throughout.
- (getgroups32): Call internal_getgroups.
- * pwdgrp.h (internal_getgroups): Declare.
- * uinfo.cc (internal_getlogin): Partial rewrite to accommodate having
- no connection to the DC. Give primary group from user token more
- weight. Generate group entries for all groups in the user token if
- caching is set to NSS_FULL_CACHING.
- (cygheap_pwdgrp::init): Initialize caching to NSS_FULL_CACHING.
- (cygheap_pwdgrp::nss_init_line): Handle "db_cache: full".
- (pwdgrp::add_account_from_windows): Fix group handling in non-caching
- mode.
- (pwdgrp::fetch_account_from_windows): Default primary group for the
- current user to primary group from user token. Check for primary
- domain first after LookupAccountSid failed.
-
-2014-02-27 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (CheckTokenMembership): Import.
- * external.cc (cygwin_internal): Call get_uid/get_gid instead of get_id.
- * grp.cc (internal_getgrsid): Take additional cyg_ldap pointer.
- Forward to pwdgrp::add_group_from_windows.
- (internal_getgrnam): Ditto.
- (internal_getgrgid): Ditto.
- (gr_ent::enumerate_local): Drop ugid_caching bool from call to
- pwdgrp::fetch_account_from_windows.
- (getgroups32): Rename from internal_getgroups and drop getgroups32 stub.
- Drop srchsid parameter and code handling it. Add local cyg_ldap
- instance and forward to internal_getgrXXX.
- (getgroups): Call getgroups32.
- (get_groups): Add local cyg_ldap instance and forward to
- internal_getgrXXX.
- (getgrouplist): Ditto.
- (setgroups32): Ditto.
- * ldap.cc (cyg_ldap::open): Don't call close. Return true if connection
- is already open.
- (cyg_ldap::remap_uid): Forward this to internal_getpwsid.
- (cyg_ldap::remap_gid): Forward this to internal_getgrsid.
- * passwd.cc (internal_getpwsid): Take additional cyg_ldap pointer.
- Forward to pwdgrp::add_user_from_windows.
- (internal_getpwnam): Ditto.
- (internal_getpwuid): Ditto.
- (pg_ent::enumerate_builtin): Drop ugid_caching bool from call to
- pwdgrp::fetch_account_from_windows.
- (pg_ent::enumerate_sam): Ditto.
- (pg_ent::enumerate_ad): Ditto. Forward local cldap instead.
- * pwdgrp.h (internal_getpwsid): Align declaration to above change.
- (internal_getpwnam): Ditto.
- (internal_getpwuid): Ditto.
- (internal_getgrsid): Ditto.
- (internal_getgrgid): Ditto.
- (internal_getgrnam): Ditto.
- (internal_getgroups): Drop declaration.
- (pwdgrp::add_account_from_windows): Align declaration to below change.
- (pwdgrp::add_user_from_windows): Ditto.
- (pwdgrp::add_group_from_windows): Ditto.
- * sec_acl.cc (setacl): Add local cyg_ldap instance and forward to
- internal_getpwuid and internal_getgrgid.
- (getacl): Add local cyg_ldap instance and forward to cygpsid::get_id.
- (aclfromtext32): Add local cyg_ldap instance and forward to
- internal_getpwnam and internal_getgrnam.
- * sec_helper.cc (cygpsid::get_id): Take additional cyg_ldap pointer.
- Forward to internal_getgrsid and internal_getpwsid.
- (get_sids_info): Drop ldap_open. Forward local cldap to
- internal_getpwsid and internal_getgrXXX. Call CheckTokenMembership
- rather than internal_getgroups.
- * security.h (cygpsid::get_id): Add cyg_ldap pointer, drop default
- parameter.
- (cygpsid::get_uid): Add cyg_ldap pointer. Call get_id accordingly.
- (cygpsid::get_gid): Ditto.
- * uinfo.cc (internal_getlogin): Add local cyg_ldap instance and forward
- to internal_getpwXXX and internal_getgrXXX calls.
- (pwdgrp::add_account_from_windows): Take additional cyg_ldap pointer.
- Forward to pwdgrp::fetch_account_from_windows.
- (fetch_posix_offset): Drop ldap_open argument and handling. Get
- cyg_ldap instance as pointer.
- (pwdgrp::fetch_account_from_windows): Take additional cyg_ldap pointer.
- Use it if it's not NULL, local instance otherwise. Drop ldap_open.
- Drop fetching extended group arguments from AD for speed.
-
-2014-02-27 Corinna Vinschen <corinna@vinschen.de>
-
- * path.cc (find_fast_cwd_pointer): Fix preceeding comment.
-
2014-02-25 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler.h (fhandler_console::scroll_buffer_screen): New function.
@@ -1125,6 +641,13 @@
(fhandler_console::char_command): Use scroll_buffer_screen as appropriate.
(dev_console::scroll_buffer): Remove if 0'ed block.
+2014-02-22 Corinna Vinschen <corinna@vinschen.de>
+
+ * external.cc (cygwin_internal): Add cases for CW_GETPWSID and
+ CW_GETGRSID.
+ * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SETENT, CW_GETENT,
+ CW_ENDENT, CW_GETNSSSEP, CW_GETPWSID and CW_GETGRSID.
+
2014-02-22 Christopher Faylor <me.cygwin2014@cgf.cx>
* dev_console::scroll_buffer): Reinstate clipping region.
@@ -1154,35 +677,6 @@
(fhandler_console::cursor_get): Ditto.
(fhandler_console::write): Fix "reverse index".
-2014-02-22 Corinna Vinschen <corinna@vinschen.de>
-
- * external.cc (cygwin_internal): Add cases for CW_GETNSSSEP,
- CW_GETPWSID and CW_GETGRSID.
- * grp.cc (internal_getgrsid_from_db): New function.
- * passwd.cc (internal_getpwsid_from_db): New function.
- (pg_ent::setent): Add special case for call from mkpasswd/mkgroup.
- * pwdgrp.h (internal_getpwsid_from_db): Declare.
- (internal_getgrsid_from_db): Declare.
- (enum nss_enum_t): Move to include/sys/cygwin.h.
- (class pg_ent): Add comment.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix typo in comment.
- Change "UNIX" to "Unix" in domain name.
- * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GETNSSSEP,
- CW_GETPWSID and CW_GETGRSID.
- (enum nss_enum_t): Define here.
-
-2014-02-21 Corinna Vinschen <corinna@vinschen.de>
-
- * pwdgrp.h (pwdgrp::fetch_account_from_windows): Add bool parameter
- to declaration, set to true by default.
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Add bool parameter
- "ugid_caching". Only add account to ugid_cache if set to true.
- * grp.cc (gr_ent::enumerate_local): Call fetch_account_from_windows
- with ugid_caching parameter set to false.
- * passwd.cc (pg_ent::enumerate_builtin): Ditto.
- (pg_ent::enumerate_sam): Ditto.
- (pg_ent::enumerate_ad): Ditto.
-
2014-02-20 Corinna Vinschen <corinna@vinschen.de>
* grp.cc (getgrouplist): Fix previous fix so ret is only set to ngroups
@@ -1193,120 +687,6 @@
* grp.cc (get_groups): Don't add gid to list if it's ILLEGAL_GID.
(getgrouplist): Return number of groups, just like glibc.
-2014-02-19 Corinna Vinschen <corinna@vinschen.de>
-
- * passwd.cc (pg_ent::setent): Initialize cygheap domain info.
- * sec_auth.cc (get_logon_server): Ditto.
-
-2014-02-18 Corinna Vinschen <corinna@vinschen.de>
-
- * external.cc (cygwin_internal): Handle new CW_SETENT, CW_GETENT and
- CW_ENDENT info types.
- * grp.cc (setgrent_filtered): New function, called from cygwin_internal.
- (getgrent_filtered): Ditto.
- (endgrent_filtered): Ditto.
- * passwd.cc (pg_ent::setent): Set state explicitely to from_cache.
- (pg_ent::getent): Handle the fact that a DC has no SAM and enumerating
- local accounts is equivalent to enumerating domain accounts.
- (setpwent_filtered): New function, called from cygwin_internal.
- (getpwent_filtered): Ditto.
- (endpwent_filtered): Ditto.
- * pwdgrp.h (setpwent_filtered): Declare.
- (getgrent_filtered): Ditto.
- (endgrent_filtered): Ditto.
- (setpwent_filtered): Ditto.
- (getpwent_filtered): Ditto.
- (endpwent_filtered): Ditto.
- * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SETENT, CW_GETENT,
- and CW_ENDENT.
-
-2014-02-18 Corinna Vinschen <corinna@vinschen.de>
-
- * setlsapwd.cc (setlsapwd): Fix conditional expression after breaking
- it on 2014-01-23.
-
-2014-02-17 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (ldap_abandon): Import.
- (ldap_result): Import.
- (ldap_searchW): Import.
- (NetGroupEnum): Import.
- (NetLocalGroupEnum): Import.
- (NetUserEnum): Import.
- * cygheap.h (class cygheap_pwdgrp): Add members enums and enum_tdoms.
- (cygheap_pwdgrp::nss_db_enums): New inline method.
- (cygheap_pwdgrp::nss_db_enum_tdoms): Ditto.
- * cygtls.h (struct _local_storage): Drop unused members pw_pos and
- grp_pos.
- * grp.cc (grent): New static variable of class gr_ent.
- (gr_ent::enumerate_caches): New method.
- (gr_ent::enumerate_local): New method.
- (gr_ent::getgrent): New method.
- (setgrent): Call gr_ent method.
- (getgrent32): Ditto.
- (endgrent): Ditto.
- * ldap.cc (sid_attr): Rename from nfs_attr.
- (cyg_ldap::close): Abandon still running asynchronous search.
- (cyg_ldap::fetch_ad_account): Reduce filter buffer size.
- (cyg_ldap::enumerate_ad_accounts): New method.
- (cyg_ldap::next_account): New method.
- (cyg_ldap::fetch_posix_offset_for_domain): Reduce filter buffer size.
- (cyg_ldap::fetch_unix_sid_from_ad): Ditto. Fix return value in case
- no value has been read.
- (cyg_ldap::fetch_unix_name_from_rfc2307): Reduce filter buffer size.
- * ldap.h (class cyg_ldap): Add msg_id member.
- (cyg_ldap::enumerate_ad_accounts): Declare.
- (cyg_ldap::next_account): Declare:
- * passwd.cc (pwent): New static variable of class pw_ent.
- (pg_ent::clear_cache): New method.
- (pg_ent::setent): New method.
- (pg_ent::getent): New method.
- (pg_ent::endent): New method.
- (pg_ent::enumerate_file): New method.
- (pg_ent::enumerate_builtin): New method.
- (pg_ent::enumerate_sam): New method.
- (pg_ent::enumerate_ad): New method.
- (pw_ent::enumerate_caches): New method.
- (pw_ent::enumerate_local): New method.
- (pw_ent::getpwent): New method.
- (setpwent): Call pw_ent method.
- (getpwent): Ditto.
- (endpwent): Ditto.
- * pwdgrp.h (class pwdgrp): Define pg_ent, pw_ent and gr_ent as friend
- classes.
- (pwdgrp::add_account_post_fetch): Declare with extra bool parameter.
- (pwdgrp::file_attr): New inline method.
- (enum nss_enum_t): Define.
- (class pg_ent): Define.
- (class pw_ent): Define.
- (class gr_ent): Define.
- * tlsoffsets.h: Regenerate.
- * tlsoffsets64.h: Ditto.
- * uinfo.cc (cygheap_pwdgrp::init): Initialize enums and enum_tdoms.
- (cygheap_pwdgrp::nss_init_line): Fix typo in preceeding comment.
- Handle new "db_enum" keyword.
- (pwdgrp::add_account_post_fetch): Take additional `bool lock' parameter
- and acquire pglock before adding element to array if lock is true.
- (pwdgrp::add_account_from_file): Call add_account_post_fetch with lock
- set to true.
- (pwdgrp::add_account_from_windows): Ditto in case of caching.
- (pwdgrp::fetch_account_from_windows): Handle builtin aliases only
- known to the domain controller. Only call NetLocalGroupGetInfo for
- aliases.
-
-2014-02-16 Corinna Vinschen <corinna@vinschen.de>
-
- * miscfuncs.h (NT_readline::close): New function to close handle.
- (NT_readline::~NT_readline): Call close.
- * sec_auth.cc (verify_token): Use constructor to initialize tok_usersid.
- * security.h (cygsid::cygsid): Add copy constructor taking cygsid as
- source.
-
-2014-02-16 Corinna Vinschen <corinna@vinschen.de>
-
- * dcrt0.cc (dll_crt0_1): Call initial_setlocale before fetching
- current user information.
-
2014-02-15 Christopher Faylor <me.cygwin2014@cgf.cx>
* DevNotes: Add entry cgf-000024.
@@ -1342,95 +722,18 @@
when !winpid. Simplify logic. Don't do duplicate detection for
winpid.
-2014-02-14 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Default to /bin/bash
- as login shell.
-
-2014-02-13 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): If domain name
- has no dot, it's a Netbios name. Change the search filter expression
- accordingly and filter by flatName. Add comment.
- * uinfo.cc (cygheap_domain_info::init): Gracefully handle NULL
- DnsDomainName and DomainSid members in DS_DOMAIN_TRUSTSW structure.
- Add comment. Fix comment preceeding fetching the mapping server
- from registry.
- (pwdgrp::fetch_account_from_file): Convert str to a local array.
- (fetch_posix_offset): New static function.
- (pwdgrp::fetch_account_from_windows): Add debug output in case
- LookupAccountSidW fails. Simplify code by calling fetch_posix_offset
- where appropriate. If LookupAccountSidW fails, check if the SID is
- one of the known trusted domains. If so, create a more informative
- account entry.
-
-2014-02-12 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (cygheap_pwdgrp::nss_init_line): Explicitely ignore a colon
- as separator char.
-
-2014-02-11 Christopher Faylor <me.cygwin2014@cgf.cx>
-
- * winsup.h: Turn off previous workaround but leave a comment.
-
-2014-02-11 Corinna Vinschen <corinna@vinschen.de>
-
- * ldap.cc (rediscover_thread): Give argument a useful name.
- * miscfuncs.cc (NT_readline::init): It's a really bad idea trying to
- print a pointer to a PUNICODE_STRING as PUNICODE_STRING. Fix it.
- * uinfo.cc (cygheap_domain_info::init): Print status codes as hex
- values in debug output.
-
-2014-02-11 Corinna Vinschen <corinna@vinschen.de>
-
- * autoload.cc (NetLocalGroupGetInfo): Replace NetGroupGetInfo.
- * cygheap.h (class cygheap_ugid_cache): Move ugid_cache_t type here
- and rename.
- (struct init_cygheap): Add cygheap_ugid_cache member "ugid_cache".
- * pwdgrp.h (class ugid_cache_t): Remove here.
- * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Accommodate
- move of ugid_cache to cygheap.
- * sec_helper.cc (get_sids_info): Ditto.
- * uinfo.cc (ugid_cache): Remove.
- (pwdgrp::fetch_account_from_windows): Define id_val globally.
- Move SidTypeAlias handling into SidTypeUser/SidTypeGroup branch since
- aliases are handled like groups in SAM. Accommodate move of ugid_cache
- to cygheap. Consolidate code reading SAM comments into a single branch
- for both, SidTypeUser and SidTypeAlias. For SidTypeAlias, fix thinko
- and call NetLocalGroupGetInfo rather than NetGroupGetInfo. Simplify
- code setting Cygwin primary group for SAM accounts. Add code to handle
- UNIX uid/gid from SAM comment.
-
2014-02-11 Christopher Faylor <me.cygwin2014@cgf.cx>
- * winsup.h (Interlocked*): Use intrinsic versions of Interlocked
- functions.
-
* cygwin.sc.in: More closely emulate default pe/i386 linker script.
2014-02-10 Corinna Vinschen <corinna@vinschen.de>
- * uinfo.cc (cygheap_domain_info::init): Drop accidentally leftover if
- statement.
-
-2014-02-10 Corinna Vinschen <corinna@vinschen.de>
-
- * uinfo.cc (cygheap_domain_info::init): Fix handling of account domain
- on donmain controllers. Explain why.
-
-2014-02-10 Corinna Vinschen <corinna@vinschen.de>
-
* cygheap.cc (cwcsdup): Change parameter to correct PWCSTR.
(cwcsdup1): Ditto.
* cygheap_malloc.h: Change declarations accordingly.
2014-02-10 Corinna Vinschen <corinna@vinschen.de>
- * uinfo.cc (pwdgrp::fetch_account_from_windows): Add code to allow
- setting the primary group from the SAM comment field.
-
-2014-02-10 Corinna Vinschen <corinna@vinschen.de>
-
* dcrt0.cc (child_info_spawn::handle_spawn): Call fixup_lockf_after_exec
with additional argument to specify if the process has been execed
or spawned.
@@ -1448,161 +751,11 @@
* environ.cc (strbrk): New function.
(parse_options): Use strbrk to parse CYGWIN environment variable.
-2014-02-09 Corinna Vinschen <corinna@vinschen.de>
-
- Introduce reading passwd/group entries from SAM/AD. Introduce
- /etc/nsswitch.conf file to configure it.
- * Makefile.in (DLL_OFILES): Add ldap.o.
- * autoload.cc: Import ldap functions from wldap32.dll.
- (DsEnumerateDomainTrustsW): Import.
- (NetGroupGetInfo): Import.
- * cygheap.h (class cygheap_domain_info): New class to keep global
- domain info.
- (class cygheap_pwdgrp): New class to keep passwd/group caches and
- configuration info from /etc/nssswitch.conf.
- (struct init_cygheap): Add cygheap_domain_info member "dom" and
- cygheap_pwdgrp member "pg".
- * cygtls.h (struct _local_storage): Remove unused member "res".
- Rearrange slightly, Add members pwbuf and grbuf to implement non-caching
- passwd/group fetching from SAM/AD. Make pw_pos and pw_pos unsigned.
- * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Add RFC 2307
- uid/gid mapping.
- * fhandler_process.cc: Drop including pwdgrp.h.
- * fhandler_procsysvipc.cc: Ditto.
- * fhandler_registry.cc (fhandler_registry::fstat): Set key uid/gid
- to ILLEGAL_UID/ILLEGAL_GID rather than UNKNOWN_UID/UNKNOWN_GID.
- * grp.cc (group_buf): Drop.
- (gr): Drop.
- (pwdgrp::parse_group): Fill pg_grp.
- (pwdgrp::read_group): Remove.
- (pwdgrp::init_grp): New method.
- (pwdgrp::prep_tls_grbuf): New method.
- (pwdgrp::find_group): New methods.
- (internal_getgrsid): Convert to call new pwdgrp methods.
- (internal_getgrnam): Ditto.
- (internal_getgrgid): Ditto.
- (getgrgid_r): Drop 2nd parameter from internal_getgrgid call.
- (getgrgid32): Ditto.
- (getgrnam_r): Ditto for internal_getgrnam.
- (getgrnam32): Ditto.
- (getgrent32): Convert to call new pwdgrp methods.
- (internal_getgrent): Remove.
- (internal_getgroups): Simplify, especially drop calls to
- internal_getgrent.
- * ldap.cc: New file implementing cyg_ldap class for LDAP access to AD
- and RFC 2307 server.
- * ldap.h: New header, declaring cyg_ldap class.
- * passwd.cc (passwd_buf): Drop.
- (pr): Drop.
- (pwdgrp::parse_passwd): Fill pg_pwd.
- (pwdgrp::read_passwd): Remove.
- (pwdgrp::init_pwd): New method.
- (pwdgrp::prep_tls_pwbuf): New method.
- (find_user): New methods.
- (internal_getpwsid): Convert to call new pwdgrp methods.
- (internal_getpwnam): Ditto.
- (internal_getpwuid): Ditto.
- (getpwuid32): Drop 2nd parameter from internal_getpwuid call.
- (getpwuid_r): Ditto.
- (getpwnam): Ditto for internal_getpwnam.
- (getpwnam_r): Ditto.
- (getpwent): Convert to call new pwdgrp methods.
- * path.cc (class etc): Remove all methods.
- * path.h (class etc): Drop.
- * pinfo.cc (pinfo_basic::pinfo_basic): Set gid to ILLEGAL_GID rather
- than UNKNOWN_GID.
- (pinfo_init): Ditto.
- * pwdgrp.h (internal_getpwnam): Drop 2nd parameter from declaration.
- (internal_getpwuid): Ditto.
- (internal_getgrgid): Ditto.
- (internal_getgrnam): Ditto.
- (internal_getgrent): Drop declaration.
- (enum fetch_user_arg_type_t): New type.
- (struct fetch_user_arg_t): New type.
- (struct pg_pwd): New type.
- (struct pg_grp): New type.
- (class pwdgrp): Rework to provide functions for file and db requests
- and caching.
- (class ugid_cache_t): New class to provide RFC 2307 uid map caching.
- (ugid_cache): Declare.
- * sec_acl.cc: Drop including pwdgrp.h.
- * sec_auth.cc: Drop including dsgetdc.h and pwdgrp.h.
- (get_logon_server): Convert third parameter to ULONG flags argument
- to allow arbitrary flags values in DsGetDcNameW call and change calls
- to this function throughout. Use cached account domain name rather
- than calling GetComputerNameW.
- (get_unix_group_sidlist): Remove.
- (get_server_groups): Drop call to get_unix_group_sidlist.
- (verify_token): Rework token group check without calling
- internal_getgrent.
- * sec_helper.cc (cygpsid::pstring): New methods, like string() but
- return pointer to end of string.
- (cygsid::getfromstr): Add wide character implementation.
- (get_sids_info): Add RFC 2307 uid/gid mapping for Samba shares.
- * security.cc: Drop including pwdgrp.h.
- * security.h (DEFAULT_UID): Remove.
- (UNKNOWN_UID): Remove.
- (UNKNOWN_GID): Remove.
- (uinfo_init): Move here from winsup.h.
- (ILLEGAL_UID): Ditto.
- (ILLEGAL_GID): Ditto.
- (UNIX_POSIX_OFFSET): Define. Add lengthy comment.
- (UNIX_POSIX_MASK): Ditto.
- (MAP_UNIX_TO_CYGWIN_ID): Ditto.
- (ILLEGAL_UID16): Move here from winsup.h.
- (ILLEGAL_GID16): Ditto.
- (uid16touid32): Ditto.
- (gid16togid32): Ditto.
- (sid_id_auth): New convenience macro for SID component access.
- (sid_sub_auth_count): Ditto.
- (sid_sub_auth): Ditto.
- (sid_sub_auth_rid): Ditto.
- (cygpsid::pstring): Declare.
- (cygsid::getfromstr): Declare wide character variant.
- (cygsid::operator=): Ditto.
- (cygsid::operator*=): Ditto.
- (get_logon_server): Change declaration according to source code.
- * setlsapwd.cc (setlsapwd): Drop 2nd parameter from internal_getpwnam
- call.
- * shared.cc (memory_init): Call cygheap->pg.init in first process.
- * syscalls.cc: Drop including pwdgrp.h.
- * tlsoffsets.h: Regenerate.
- * tlsoffsets64.h: Ditto.
- * uinfo.cc (internal_getlogin): Drop gratuitious internal_getpwuid
- call. Fix debug output. Overwrite user gid in border case of a
- missing passwd file while a group file exists.
- (pwdgrp::add_line): Allocate memory on cygheap.
- (pwdgrp::load): Remove.
- (ugid_cache): Define.
- (cygheap_pwdgrp::init): New method.
- (cygheap_pwdgrp::nss_init_line): New method.
- (cygheap_pwdgrp::_nss_init): New method.
- (cygheap_domain_info::init): New method.
- (logon_sid): Define.
- (get_logon_sid): New function.
- (pwdgrp::add_account_post_fetch): New method.
- (pwdgrp::add_account_from_file): New methods.
- (pwdgrp::add_account_from_windows): New methods.
- (pwdgrp::check_file): New method.
- (pwdgrp::fetch_account_from_line): New method.
- (pwdgrp::fetch_account_from_file): New method.
- (pwdgrp::fetch_account_from_windows): New method.
- * winsup.h: Move aforementioned macros and declarations to security.h.
-
2014-02-09 Christopher Faylor <me.cygwin2014@cgf.cx>
* sigproc.cc (sig_send): Don't bother with an error message if we are
exiting.
-2014-02-08 Corinna Vinschen <corinna@vinschen.de>
-
- * miscfuncs.h (class NT_readline): New class to implement line-wise
- reading from file using native NT functions.
- * miscfuncs.cc (NT_readline::init): New method.
- (NT_readline::fgets): New method.
- * mount.cc (mount_info::from_fstab): Utilize NT_readline to read
- fstab files.
-
2014-02-06 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Fix typo in
@@ -1612,9 +765,6 @@
* net.cc (cygwin_gethostname): Call GetComputerNameExA rather than
GetComputerNameA if gethostname failed.
* shared.cc (user_info::initialize): Fix formatting.
-
-2014-02-06 Corinna Vinschen <corinna@vinschen.de>
-
* include/sys/file.h: Define flock and accompanying macros if not
already defined in sys/_default_fcntl.h.
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 6065d12..b473303 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -1,6 +1,6 @@
# Makefile.in for Cygwin.
# Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-# 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+# 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
#
# This file is part of Cygwin.
#
@@ -166,7 +166,7 @@ DLL_OFILES:=advapi32.o arc4random.o assert.o autoload.o base64.o bsdlib.o ctype.
fhandler_termios.o fhandler_tty.o fhandler_virtual.o fhandler_windows.o \
fhandler_zero.o flock.o fnmatch.o fork.o fts.o ftw.o getopt.o glob.o \
glob_pattern_p.o globals.o grp.o heap.o hookapi.o inet_addr.o \
- inet_network.o init.o ioctl.o ipc.o kernel32.o ldap.o libstdcxx_wrapper.o \
+ inet_network.o init.o ioctl.o ipc.o kernel32.o libstdcxx_wrapper.o \
localtime.o lsearch.o malloc_wrapper.o minires-os-if.o minires.o \
miscfuncs.o mktemp.o mmap.o msg.o mount.o net.o netdb.o nfs.o nftw.o \
nlsfuncs.o ntea.o passwd.o path.o pinfo.o pipe.o poll.o posix_ipc.o \
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 8e3733e..0199cc5 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -1,7 +1,7 @@
/* autoload.cc: all dynamic load stuff.
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -536,7 +536,6 @@ wsock_init ()
LoadDLLprime (ws2_32, _wsock_init, 0)
-LoadDLLfunc (CheckTokenMembership, 12, advapi32)
LoadDLLfunc (CreateProcessAsUserW, 44, advapi32)
LoadDLLfunc (DeregisterEventSource, 4, advapi32)
LoadDLLfunc (LogonUserW, 24, advapi32)
@@ -581,46 +580,15 @@ LoadDLLfuncEx2 (IdnToAscii, 20, kernel32, 1, 0)
LoadDLLfuncEx2 (IdnToUnicode, 20, kernel32, 1, 0)
LoadDLLfunc (LocaleNameToLCID, 8, kernel32)
-/* ldap functions are cdecl! */
-#pragma push_macro ("mangle")
-#undef mangle
-#define mangle(name, n) #name
-LoadDLLfunc (ldap_bind_s, 0, wldap32)
-LoadDLLfunc (ldap_count_entries, 0, wldap32)
-LoadDLLfunc (ldap_count_valuesW, 0, wldap32)
-LoadDLLfunc (ldap_first_entry, 0, wldap32)
-LoadDLLfunc (ldap_get_next_page_s, 0, wldap32)
-LoadDLLfunc (ldap_get_valuesW, 0, wldap32)
-LoadDLLfunc (ldap_get_values_lenW, 0, wldap32)
-LoadDLLfunc (ldap_initW, 0, wldap32)
-LoadDLLfunc (ldap_msgfree, 0, wldap32)
-LoadDLLfunc (ldap_next_entry, 0, wldap32)
-LoadDLLfunc (ldap_search_abandon_page, 0, wldap32)
-LoadDLLfunc (ldap_search_init_pageW, 0, wldap32)
-LoadDLLfunc (ldap_search_sW, 0, wldap32)
-LoadDLLfunc (ldap_set_option, 0, wldap32)
-LoadDLLfunc (ldap_sslinitW, 0, wldap32)
-LoadDLLfunc (ldap_unbind, 0, wldap32)
-LoadDLLfunc (ldap_value_freeW, 0, wldap32)
-LoadDLLfunc (ldap_value_free_len, 0, wldap32)
-LoadDLLfunc (LdapGetLastError, 0, wldap32)
-LoadDLLfunc (LdapMapErrorToWin32, 0, wldap32)
-#pragma pop_macro ("mangle")
-
LoadDLLfunc (WNetCloseEnum, 4, mpr)
LoadDLLfunc (WNetEnumResourceA, 16, mpr)
LoadDLLfunc (WNetGetProviderNameA, 12, mpr)
LoadDLLfunc (WNetGetResourceInformationA, 16, mpr)
LoadDLLfunc (WNetOpenEnumA, 20, mpr)
-LoadDLLfunc (DsEnumerateDomainTrustsW, 16, netapi32)
LoadDLLfunc (DsGetDcNameW, 24, netapi32)
LoadDLLfunc (NetApiBufferFree, 4, netapi32)
-LoadDLLfunc (NetGroupEnum, 28, netapi32)
-LoadDLLfunc (NetLocalGroupEnum, 28, netapi32)
-LoadDLLfunc (NetLocalGroupGetInfo, 16, netapi32)
LoadDLLfunc (NetUseGetInfo, 16, netapi32)
-LoadDLLfunc (NetUserEnum, 32, netapi32)
LoadDLLfunc (NetUserGetGroups, 28, netapi32)
LoadDLLfunc (NetUserGetInfo, 16, netapi32)
LoadDLLfunc (NetUserGetLocalGroups, 32, netapi32)
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 8a8f38e..bf20fde 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -42,6 +42,7 @@ __assertfail NOSIGFE
__b64_ntop NOSIGFE
__b64_pton NOSIGFE
__cxa_atexit SIGFE
+__cxa_finalize SIGFE
__dn_comp SIGFE
__dn_expand SIGFE
__dn_skipname SIGFE
diff --git a/winsup/cygwin/cpuid.h b/winsup/cygwin/cpuid.h
index ff35322..7053b4d 100644
--- a/winsup/cygwin/cpuid.h
+++ b/winsup/cygwin/cpuid.h
@@ -1,54 +1,64 @@
+/* cpuid.h: Define cpuid instruction
+
+ Copyright 2003, 2012, 2014 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
#ifndef CPUID_H
#define CPUID_H
-extern inline void
-cpuid (unsigned *a, unsigned *b, unsigned *c, unsigned *d, unsigned in)
+static inline void __attribute ((always_inline))
+cpuid (uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t ain,
+ uint32_t cin = 0)
{
- asm ("cpuid"
- : "=a" (*a),
- "=b" (*b),
- "=c" (*c),
- "=d" (*d)
- : "a" (in));
+ asm volatile ("cpuid"
+ : "=a" (*a), "=b" (*b), "=c" (*c), "=d" (*d)
+ : "a" (ain), "c" (cin));
}
#ifdef __x86_64__
-extern inline bool
-can_set_flag (register unsigned long flag)
+static inline bool __attribute ((always_inline))
+can_set_flag (register uint32_t long flag)
{
- register unsigned long r1, r2;
- asm("pushfq\n"
- "popq %0\n"
- "movq %0, %1\n"
- "xorq %2, %0\n"
- "pushq %0\n"
- "popfq\n"
- "pushfq\n"
- "popq %0\n"
- "pushq %1\n"
- "popfq\n"
- : "=&r" (r1), "=&r" (r2)
- : "ir" (flag)
+ register uint32_t long r1, r2;
+
+ asm volatile ("pushfq\n"
+ "popq %0\n"
+ "movq %0, %1\n"
+ "xorq %2, %0\n"
+ "pushq %0\n"
+ "popfq\n"
+ "pushfq\n"
+ "popq %0\n"
+ "pushq %1\n"
+ "popfq\n"
+ : "=&r" (r1), "=&r" (r2)
+ : "ir" (flag)
);
return ((r1 ^ r2) & flag) != 0;
}
#else
-extern inline bool
-can_set_flag (register unsigned flag)
+static inline bool __attribute ((always_inline))
+can_set_flag (register uint32_t flag)
{
- register unsigned r1, r2;
- asm("pushfl\n"
- "popl %0\n"
- "movl %0, %1\n"
- "xorl %2, %0\n"
- "pushl %0\n"
- "popfl\n"
- "pushfl\n"
- "popl %0\n"
- "pushl %1\n"
- "popfl\n"
- : "=&r" (r1), "=&r" (r2)
- : "ir" (flag)
+ register uint32_t r1, r2;
+
+ asm volatile ("pushfl\n"
+ "popl %0\n"
+ "movl %0, %1\n"
+ "xorl %2, %0\n"
+ "pushl %0\n"
+ "popfl\n"
+ "pushfl\n"
+ "popl %0\n"
+ "pushl %1\n"
+ "popfl\n"
+ : "=&r" (r1), "=&r" (r2)
+ : "ir" (flag)
);
return ((r1 ^ r2) & flag) != 0;
}
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index b08569d..164a870 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -1,7 +1,7 @@
/* cygheap.h: Cygwin heap manager.
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -11,7 +11,6 @@ details. */
#include "hires.h"
#include "cygheap_malloc.h"
-#include "pwdgrp.h"
#define incygheap(s) (cygheap && ((char *) (s) >= (char *) cygheap) && ((char *) (s) <= ((char *) cygheap_max)))
@@ -156,8 +155,8 @@ public:
}
void set_sid (PSID new_sid) { effec_cygsid = new_sid;}
void set_saved_sid () { saved_cygsid = effec_cygsid; }
- cygpsid &sid () { return effec_cygsid; }
- cygpsid &saved_sid () { return saved_cygsid; }
+ PSID sid () { return effec_cygsid; }
+ PSID saved_sid () { return saved_cygsid; }
const char *ontherange (homebodies what, struct passwd * = NULL);
#define NO_IMPERSONATION NULL
bool issetuid () const { return curr_imp_token != NO_IMPERSONATION; }
@@ -356,126 +355,6 @@ struct user_heap_info
void __reg1 init ();
};
-class cygheap_domain_info
-{
- PWCHAR pdom_name;
- PWCHAR pdom_dns_name;
- cygsid pdom_sid;
-
- PWCHAR adom_name;
- cygsid adom_sid;
-
- PDS_DOMAIN_TRUSTSW tdom;
- ULONG tdom_count;
-
- PWCHAR rfc2307_domain_buf;
-
-public:
- bool init ();
-
- inline PCWSTR primary_flat_name () const { return pdom_name; }
- inline PCWSTR primary_dns_name () const { return pdom_dns_name; }
- inline cygsid &primary_sid () { return pdom_sid; }
-
- inline bool member_machine () const { return pdom_sid != NO_SID; }
-
- inline PCWSTR account_flat_name () const { return adom_name; }
- inline cygsid &account_sid () { return adom_sid; }
-
- inline PDS_DOMAIN_TRUSTSW trusted_domain (ULONG idx) const
- { return (idx < tdom_count) ? tdom + idx : NULL; }
-
- inline PWCHAR get_rfc2307_domain () const
- { return rfc2307_domain_buf ?: NULL; }
-};
-
-class cygheap_pwdgrp
-{
- static const int NSS_FILES = 1;
- static const int NSS_DB = 2;
- enum pfx_t {
- NSS_AUTO = 0,
- NSS_PRIMARY,
- NSS_ALWAYS
- };
- bool nss_inited;
- int pwd_src;
- int grp_src;
- pfx_t prefix;
- WCHAR separator[2];
- bool caching;
- int enums;
- PWCHAR enum_tdoms;
-
- void nss_init_line (const char *line);
- void _nss_init ();
-
-public:
- struct {
- pwdgrp cygserver;
- pwdgrp file;
- pwdgrp win;
- } pwd_cache;
- struct {
- pwdgrp cygserver;
- pwdgrp file;
- pwdgrp win;
- } grp_cache;
-
- void init ();
-
- inline void nss_init () { if (!nss_inited) _nss_init (); }
- inline bool nss_pwd_files () const { return !!(pwd_src & NSS_FILES); }
- inline bool nss_pwd_db () const { return !!(pwd_src & NSS_DB); }
- inline bool nss_grp_files () const { return !!(grp_src & NSS_FILES); }
- inline bool nss_grp_db () const { return !!(grp_src & NSS_DB); }
- inline bool nss_prefix_auto () const { return prefix == NSS_AUTO; }
- inline bool nss_prefix_primary () const { return prefix == NSS_PRIMARY; }
- inline bool nss_prefix_always () const { return prefix == NSS_ALWAYS; }
- inline PCWSTR nss_separator () const { return separator; }
- inline bool nss_cygserver_caching () const { return caching; }
- inline void nss_disable_cygserver_caching () { caching = false; }
- inline int nss_db_enums () const { return enums; }
- inline PCWSTR nss_db_enum_tdoms () const { return enum_tdoms; }
-};
-
-class cygheap_ugid_cache
-{
- struct idmap {
- uint32_t nfs_id;
- uint32_t cyg_id;
- };
- class idmaps {
- uint32_t _cnt;
- uint32_t _max;
- idmap *_map;
- public:
- uint32_t get (uint32_t id) const
- {
- for (uint32_t i = 0; i < _cnt; ++i)
- if (_map[i].nfs_id == id)
- return _map[i].cyg_id;
- return (uint32_t) -1;
- }
- void add (uint32_t nfs_id, uint32_t cyg_id)
- {
- if (_cnt >= _max)
- _map = (idmap *) crealloc (_map, (_max += 10) * sizeof (*_map));
- _map[_cnt].nfs_id = nfs_id;
- _map[_cnt].cyg_id = cyg_id;
- ++_cnt;
- }
- };
- idmaps uids;
- idmaps gids;
-
-public:
- uid_t get_uid (uid_t uid) const { return uids.get (uid); }
- gid_t get_gid (gid_t gid) const { return gids.get (gid); }
- void add_uid (uid_t nfs_uid, uid_t cyg_uid) { uids.add (nfs_uid, cyg_uid); }
- void add_gid (gid_t nfs_gid, gid_t cyg_gid) { gids.add (nfs_gid, cyg_gid); }
-};
-
struct hook_chain
{
void **loc;
@@ -499,9 +378,6 @@ struct init_cygheap: public mini_cygheap
UNICODE_STRING installation_key;
WCHAR installation_key_buf[18];
cygheap_root root;
- cygheap_domain_info dom;
- cygheap_pwdgrp pg;
- cygheap_ugid_cache ugid_cache;
cygheap_user user;
user_heap_info user_heap;
mode_t umask;
diff --git a/winsup/cygwin/cygserver.h b/winsup/cygwin/cygserver.h
index 1313d3c..8bcc271 100644
--- a/winsup/cygwin/cygserver.h
+++ b/winsup/cygwin/cygserver.h
@@ -52,7 +52,6 @@ protected:
CYGSERVER_REQUEST_SEM,
CYGSERVER_REQUEST_SHM,
CYGSERVER_REQUEST_SETPWD,
- CYGSERVER_REQUEST_PWDGRP,
CYGSERVER_REQUEST_LAST
} request_code_t;
diff --git a/winsup/cygwin/cygserver_pwdgrp.h b/winsup/cygwin/cygserver_pwdgrp.h
deleted file mode 100644
index 52b9b42..0000000
--- a/winsup/cygwin/cygserver_pwdgrp.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* cygserver_pwdgrp.h: Request account information
-
- Copyright 2014 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifndef __CYGSERVER_PWDGRP_H__
-#define __CYGSERVER_PWDGRP_H__
-
-#include <sys/types.h>
-#include "cygserver.h"
-
-class transport_layer_base;
-class process_cache;
-
-#ifdef __INSIDE_CYGWIN__
-#include "pwdgrp.h"
-#else
-/* Don't include pwdgrp.h, but keep this in sync. */
-enum fetch_user_arg_type_t {
- SID_arg,
- NAME_arg,
- ID_arg
-};
-#endif
-
-class client_request_pwdgrp : public client_request
-{
- friend class client_request;
-
-private:
- union _pwdgrp_param_t
- {
- struct _pwdgrp_in_t
- {
- bool group;
- fetch_user_arg_type_t type;
- union
- {
- BYTE sid[40];
- char name[UNLEN + 1];
- uint32_t id;
- } arg;
- } in;
-
- struct
- {
- char line[1024];
- } out;
- } _parameters;
-
-#ifndef __INSIDE_CYGWIN__
- client_request_pwdgrp ();
- virtual void serve (transport_layer_base *, process_cache *);
- void pwd_serve ();
- void grp_serve ();
-#endif
-
-public:
-
-#ifdef __INSIDE_CYGWIN__
- client_request_pwdgrp (fetch_user_arg_t &arg, bool group);
-#endif
-
- const char *line () const { return (msglen () > 0) ? _parameters.out.line
- : NULL; }
-};
-
-#endif /* __CYGSERVER_PWDGRP_H__ */
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 3283874..0d6aa71 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -79,13 +79,20 @@ public:
struct _local_storage
{
- /* passwd.cc */
- char pass[_PASSWORD_LEN];
+ /*
+ Needed for the group functions
+ */
+ int grp_pos;
/* dlfcn.cc */
int dl_error;
char dl_buffer[256];
+ /* passwd.cc */
+ struct passwd res;
+ char pass[_PASSWORD_LEN];
+ int pw_pos;
+
/* path.cc */
struct mntent mntbuf;
int iteration;
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 6e75cce..8e1e627 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1,7 +1,7 @@
/* dcrt0.cc -- essentially the main() for the Cygwin dll
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
This file is part of Cygwin.
@@ -936,14 +936,14 @@ dll_crt0_1 (void *)
/* Allocate cygheap->fdtab */
dtable_init ();
- /* Set internal locale to the environment settings. */
- initial_setlocale ();
-
uinfo_init (); /* initialize user info */
/* Connect to tty. */
tty::init_session ();
+ /* Set internal locale to the environment settings. */
+ initial_setlocale ();
+
if (!__argc)
{
PWCHAR wline = GetCommandLineW ();
@@ -1240,7 +1240,7 @@ cygwin_atexit (void (*fn) (void))
{
int res;
dll *d = dlls.find ((void *) _my_tls.retaddr ());
- res = d ? __cxa_atexit ((void (*) (void *)) fn, NULL, d) : atexit (fn);
+ res = d ? __cxa_atexit ((void (*) (void *)) fn, NULL, d->handle) : atexit (fn);
return res;
}
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc
index 637f1cc..3fcb448 100644
--- a/winsup/cygwin/dll_init.cc
+++ b/winsup/cygwin/dll_init.cc
@@ -1,7 +1,7 @@
/* dll_init.cc
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
- 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
+ 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
@@ -401,7 +401,7 @@ dll_list::detach (void *retaddr)
exception protect;
/* Call finalize function if we are not already exiting */
if (!exit_state)
- __cxa_finalize (d);
+ __cxa_finalize (d->handle);
d->run_dtors ();
d->prev->next = d->next;
if (d->next)
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index a87a115..2a5f711 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -59,21 +59,17 @@ static const struct
X (BUSY, EBUSY),
X (BUS_RESET, EIO),
X (CALL_NOT_IMPLEMENTED, ENOSYS),
- X (CANCELLED, EINTR),
X (CANNOT_MAKE, EPERM),
X (CHILD_NOT_COMPLETE, EBUSY),
X (COMMITMENT_LIMIT, EAGAIN),
- X (CONNECTION_REFUSED, ECONNREFUSED),
X (CRC, EIO),
X (DEVICE_DOOR_OPEN, EIO),
X (DEVICE_IN_USE, EAGAIN),
X (DEVICE_REQUIRES_CLEANING, EIO),
- X (DEV_NOT_EXIST, ENOENT),
X (DIRECTORY, ENOTDIR),
X (DIR_NOT_EMPTY, ENOTEMPTY),
X (DISK_CORRUPT, EIO),
X (DISK_FULL, ENOSPC),
- X (DS_GENERIC_ERROR, EIO),
X (DUP_NAME, ENOTUNIQ),
X (EAS_DIDNT_FIT, ENOSPC),
X (EAS_NOT_SUPPORTED, ENOTSUP),
@@ -119,7 +115,6 @@ static const struct
X (NONPAGED_SYSTEM_RESOURCES, EAGAIN),
X (NOT_CONNECTED, ENOLINK),
X (NOT_ENOUGH_MEMORY, ENOMEM),
- X (NOT_ENOUGH_QUOTA, EIO),
X (NOT_OWNER, EPERM),
X (NOT_READY, ENOMEDIUM),
X (NOT_SAME_DEVICE, EXDEV),
@@ -151,7 +146,6 @@ static const struct
X (REM_NOT_LIST, ENONET),
X (SECTOR_NOT_FOUND, EINVAL),
X (SEEK, EINVAL),
- X (SERVICE_REQUEST_TIMEOUT, EBUSY),
X (SETMARK_DETECTED, EIO),
X (SHARING_BUFFER_EXCEEDED, ENOLCK),
X (SHARING_VIOLATION, EBUSY),
@@ -159,10 +153,8 @@ static const struct
X (SIGNAL_REFUSED, EIO),
X (SXS_CANT_GEN_ACTCTX, ELIBBAD),
X (THREAD_1_INACTIVE, EINVAL),
- X (TIMEOUT, EBUSY),
X (TOO_MANY_LINKS, EMLINK),
X (TOO_MANY_OPEN_FILES, EMFILE),
- X (UNEXP_NET_ERR, EIO),
X (WAIT_NO_CHILDREN, ECHILD),
X (WORKING_SET_QUOTA, EAGAIN),
X (WRITE_PROTECT, EROFS),
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index edc9d5d..47b1880 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -380,13 +380,13 @@ cygwin_internal (cygwin_getinfo_types t, ...)
case CW_GET_UID_FROM_SID:
{
cygpsid psid = va_arg (arg, PSID);
- res = psid.get_uid (NULL);
+ res = psid.get_id (false, NULL);
}
break;
case CW_GET_GID_FROM_SID:
{
cygpsid psid = va_arg (arg, PSID);
- res = psid.get_gid (NULL);
+ res = psid.get_id (true, NULL);
}
break;
case CW_GET_BINMODE:
@@ -554,123 +554,22 @@ cygwin_internal (cygwin_getinfo_types t, ...)
}
break;
- case CW_SETENT:
- {
- int group = va_arg (arg, int);
- int enums = va_arg (arg, int);
- PCWSTR enum_tdoms = va_arg (arg, PCWSTR);
- if (group)
- res = (uintptr_t) setgrent_filtered (enums, enum_tdoms);
- else
- res = (uintptr_t) setpwent_filtered (enums, enum_tdoms);
- }
- break;
-
- case CW_GETENT:
- {
- int group = va_arg (arg, int);
- void *obj = va_arg (arg, void *);
- if (obj)
- {
- if (group)
- res = (uintptr_t) getgrent_filtered (obj);
- else
- res = (uintptr_t) getpwent_filtered (obj);
- }
- }
- break;
-
- case CW_ENDENT:
- {
- int group = va_arg (arg, int);
- void *obj = va_arg (arg, void *);
- if (obj)
- {
- if (group)
- endgrent_filtered (obj);
- else
- endpwent_filtered (obj);
- res = 0;
- }
- }
- break;
-
- case CW_GETNSSSEP:
- res = (uintptr_t) cygheap->pg.nss_separator ();
- break;
-
case CW_GETPWSID:
- {
- int db_only = va_arg (arg, int);
- PSID psid = va_arg (arg, PSID);
- cygpsid sid (psid);
- res = (uintptr_t) (db_only ? internal_getpwsid_from_db (sid)
- : internal_getpwsid (sid));
- }
- break;
+ {
+ va_arg (arg, int);
+ PSID psid = va_arg (arg, PSID);
+ cygpsid sid (psid);
+ res = (uintptr_t) internal_getpwsid (sid);
+ }
+ break;
case CW_GETGRSID:
- {
- int db_only = va_arg (arg, int);
- PSID psid = va_arg (arg, PSID);
- cygpsid sid (psid);
- res = (uintptr_t) (db_only ? internal_getgrsid_from_db (sid)
- : internal_getgrsid (sid));
- }
- break;
-
- case CW_CYGNAME_FROM_WINNAME:
- {
- /* This functionality has been added mainly for sshd. Sshd
- calls getpwnam() with the username of the non-privileged
- user used for privilege separation. This is usually a
- fixed string "sshd". However, when using usernames from
- the Windows DBs, it's no safe bet anymore if the username
- is "sshd", it could also be "DOMAIN+sshd". So what we do
- here is this:
-
- Sshd calls cygwin_internal (CW_CYGNAME_FROM_WINNAME,
- "sshd",
- username_buffer,
- sizeof username_buffer);
-
- If this call succeeds, sshd expects the correct Cygwin
- username of the unprivileged sshd account in username_buffer.
-
- The below code checks for a Windows username matching the
- incoming username, and then fetches the Cygwin username with
- the matching SID. This is our username used for privsep then.
-
- Of course, other applications with similar needs can use the
- same method. */
- const char *winname = va_arg (arg, const char *);
- char *buffer = va_arg (arg, char *);
- size_t buflen = va_arg (arg, size_t);
-
- if (!winname || !buffer || !buflen)
- break;
-
- WCHAR name[UNLEN + 1];
- sys_mbstowcs (name, sizeof name, winname);
-
- cygsid sid;
- DWORD slen = SECURITY_MAX_SID_SIZE;
- WCHAR dom[DNLEN + 1];
- DWORD dlen = DNLEN + 1;
- SID_NAME_USE acc_type;
-
- if (!LookupAccountNameW (NULL, name, sid, &slen, dom, &dlen,
- &acc_type))
- break;
-
- struct passwd *pw = internal_getpwsid (sid);
- if (!pw)
- break;
-
- buffer[0] = '\0';
- strncat (buffer, pw->pw_name, buflen - 1);
- res = 0;
- }
+ {
+ va_arg (arg, int);
+ PSID psid = va_arg (arg, PSID);
+ cygpsid sid (psid);
+ res = (uintptr_t) internal_getgrsid (sid);
+ }
break;
default:
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index 428d04c..b5415c9 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -10,8 +10,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
-#include <winioctl.h>
-#include <lm.h>
#include <stdlib.h>
#include <sys/acl.h>
#include <sys/statvfs.h>
@@ -25,8 +23,10 @@ details. */
#include "pinfo.h"
#include "ntdll.h"
#include "tls_pbuf.h"
+#include "pwdgrp.h"
+#include <winioctl.h>
+#include <lm.h>
#include "devices.h"
-#include "ldap.h"
#define _COMPILING_NEWLIB
#include <dirent.h>
@@ -323,9 +323,6 @@ int __reg2
fhandler_base::fstat_by_nfs_ea (struct stat *buf)
{
fattr3 *nfs_attr = pc.nfsattr ();
- PWCHAR domain;
- cyg_ldap cldap;
- bool ldap_open = false;
if (get_io_handle ())
{
@@ -343,36 +340,14 @@ fhandler_base::fstat_by_nfs_ea (struct stat *buf)
buf->st_mode = (nfs_attr->mode & 0xfff)
| nfs_type_mapping[nfs_attr->type & 7];
buf->st_nlink = nfs_attr->nlink;
- /* Try to map UNIX uid/gid to Cygwin uid/gid. If there's no mapping in
- the cache, try to fetch it from the configured RFC 2307 domain (see
- last comment in cygheap_domain_info::init() for more information) and
- add it to the mapping cache. */
- buf->st_uid = cygheap->ugid_cache.get_uid (nfs_attr->uid);
- buf->st_gid = cygheap->ugid_cache.get_gid (nfs_attr->gid);
- if (buf->st_uid == ILLEGAL_UID)
- {
- uid_t map_uid = ILLEGAL_UID;
-
- domain = cygheap->dom.get_rfc2307_domain ();
- if ((ldap_open = (cldap.open (domain) == NO_ERROR)))
- map_uid = cldap.remap_uid (nfs_attr->uid);
- if (map_uid == ILLEGAL_UID)
- map_uid = MAP_UNIX_TO_CYGWIN_ID (nfs_attr->uid);
- cygheap->ugid_cache.add_uid (nfs_attr->uid, map_uid);
- buf->st_uid = map_uid;
- }
- if (buf->st_gid == ILLEGAL_GID)
- {
- gid_t map_gid = ILLEGAL_GID;
-
- domain = cygheap->dom.get_rfc2307_domain ();
- if ((ldap_open || cldap.open (domain) == NO_ERROR))
- map_gid = cldap.remap_gid (nfs_attr->gid);
- if (map_gid == ILLEGAL_GID)
- map_gid = MAP_UNIX_TO_CYGWIN_ID (nfs_attr->gid);
- cygheap->ugid_cache.add_gid (nfs_attr->gid, map_gid);
- buf->st_gid = map_gid;
- }
+ /* FIXME: How to convert UNIX uid/gid to Windows SIDs? */
+#if 0
+ buf->st_uid = nfs_attr->uid;
+ buf->st_gid = nfs_attr->gid;
+#else
+ buf->st_uid = myself->uid;
+ buf->st_gid = myself->gid;
+#endif
buf->st_rdev = makedev (nfs_attr->rdev.specdata1,
nfs_attr->rdev.specdata2);
buf->st_size = nfs_attr->size;
@@ -534,7 +509,8 @@ fhandler_base::fstat_fs (struct stat *buf)
}
int __reg3
-fhandler_base::fstat_helper (struct stat *buf, DWORD nNumberOfLinks)
+fhandler_base::fstat_helper (struct stat *buf,
+ DWORD nNumberOfLinks)
{
IO_STATUS_BLOCK st;
FILE_COMPRESSION_INFORMATION fci;
@@ -802,7 +778,7 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs)
}
else
debug_printf ("%y = NtQueryVolumeInformationFile"
- "(%S, FileFsFullSizeInformation)",
+ "(%S, FileFsFullSizeInformation)",
status, pc.get_nt_native_path ());
out:
if (opened)
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index adb5856..5db8ea2 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -601,7 +601,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
char s[BUFSIZE];
WCHAR w[BUFSIZE / sizeof (WCHAR)];
DWORD d;
- unsigned m[13];
+ uint32_t m[13];
} in_buf;
tmp_pathbuf tp;
@@ -698,7 +698,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
RtlQueryRegistryValues (RTL_REGISTRY_ABSOLUTE, cpu_key, tab,
NULL, NULL);
bufptr += __small_sprintf (bufptr, "processor\t: %d\n", cpu_number);
- unsigned maxf, vendor_id[4], unused;
+ uint32_t maxf, vendor_id[4], unused;
cpuid (&maxf, &vendor_id[0], &vendor_id[2], &vendor_id[1], 0);
maxf &= 0xffff;
vendor_id[3] = 0;
@@ -714,23 +714,23 @@ format_proc_cpuinfo (void *, char *&destbuf)
(char *)vendor_id);
if (maxf >= 1)
{
- unsigned features2, features1, extra_info, cpuid_sig;
+ uint32_t features2, features1, extra_info, cpuid_sig;
cpuid (&cpuid_sig, &extra_info, &features2, &features1, 1);
- /* unsigned extended_family = (cpuid_sig & 0x0ff00000) >> 20,
+ /* uint32_t extended_family = (cpuid_sig & 0x0ff00000) >> 20,
extended_model = (cpuid_sig & 0x000f0000) >> 16,
type = (cpuid_sig & 0x00003000) >> 12; */
- unsigned family = (cpuid_sig & 0x00000f00) >> 8,
+ uint32_t family = (cpuid_sig & 0x00000f00) >> 8,
model = (cpuid_sig & 0x000000f0) >> 4,
stepping = cpuid_sig & 0x0000000f;
/* Not printed on Linux */
- //unsigned brand_id = extra_info & 0x0000000f;
- //unsigned cpu_count = (extra_info & 0x00ff0000) >> 16;
- unsigned apic_id = (extra_info & 0xff000000) >> 24;
+ //uint32_t brand_id = extra_info & 0x0000000f;
+ //uint32_t cpu_count = (extra_info & 0x00ff0000) >> 16;
+ uint32_t apic_id = (extra_info & 0xff000000) >> 24;
if (family == 15)
family += (cpuid_sig >> 20) & 0xff;
if (family >= 6)
model += ((cpuid_sig >> 16) & 0x0f) << 4;
- unsigned maxe = 0;
+ uint32_t maxe = 0;
cpuid (&maxe, &unused, &unused, &unused, 0x80000000);
if (maxe >= 0x80000004)
{
@@ -757,7 +757,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
cache_alignment = clflush * 2;
if (maxe >= 0x80000005) /* L1 Cache and TLB Identifiers. */
{
- unsigned data_cache, inst_cache;
+ uint32_t data_cache, inst_cache;
cpuid (&unused, &unused, &data_cache, &inst_cache,
0x80000005);
@@ -766,7 +766,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
}
if (maxe >= 0x80000006) /* L2 Cache and L2 TLB Identifiers. */
{
- unsigned tlb, l2;
+ uint32_t tlb, l2;
cpuid (&unused, &tlb, &l2, &unused, 0x80000006);
cache_size = l2 >> 16;
@@ -776,7 +776,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
"model\t\t: %d\n"
"model name\t: %s\n"
"stepping\t: %d\n"
- "cpu MHz\t\t: %d\n",
+ "cpu MHz\t\t: %d.000\n",
family,
model,
in_buf.s + strspn (in_buf.s, " "),
@@ -789,7 +789,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
/* Recognize multi-core CPUs. */
if (is_amd && maxe >= 0x80000008)
{
- unsigned core_info;
+ uint32_t core_info;
cpuid (&unused, &unused, &core_info, &unused, 0x80000008);
int max_cores = 1 + (core_info & 0xff);
@@ -888,28 +888,27 @@ format_proc_cpuinfo (void *, char *&destbuf)
if (is_amd && maxe >= 0x80000001)
{
- unsigned features;
- cpuid (&unused, &unused, &unused, &features, 0x80000001);
+ cpuid (&unused, &unused, &unused, &features1, 0x80000001);
- if (features & (1 << 11))
+ if (features1 & (1 << 11))
print (" syscall");
- if (features & (1 << 19)) /* Huh? Not in AMD64 specs. */
+ if (features1 & (1 << 19)) /* Huh? Not in AMD64 specs. */
print (" mp");
- if (features & (1 << 20))
+ if (features1 & (1 << 20))
print (" nx");
- if (features & (1 << 22))
+ if (features1 & (1 << 22))
print (" mmxext");
- if (features & (1 << 25))
+ if (features1 & (1 << 25))
print (" fxsr_opt");
- if (features & (1 << 26))
+ if (features1 & (1 << 26))
print (" pdpe1gb");
- if (features & (1 << 27))
+ if (features1 & (1 << 27))
print (" rdtscp");
- if (features & (1 << 29))
+ if (features1 & (1 << 29))
print (" lm");
- if (features & (1 << 30)) /* 31th bit is on. */
+ if (features1 & (1 << 30)) /* 31th bit is on. */
print (" 3dnowext");
- if (features & (1 << 31)) /* 32th bit (highest) is on. */
+ if (features1 & (1 << 31)) /* 32th bit (highest) is on. */
print (" 3dnow");
}
@@ -966,48 +965,136 @@ format_proc_cpuinfo (void *, char *&destbuf)
print (" osxsave");
if (features2 & (1 << 28))
print (" avx");
+ if (features2 & (1 << 29))
+ print (" f16c");
+ if (features2 & (1 << 30))
+ print (" rdrand");
+ if (features2 & (1 << 31))
+ print (" hypervisor");
}
if (maxe >= 0x80000001)
{
- unsigned features;
- cpuid (&unused, &unused, &features, &unused, 0x80000001);
+ cpuid (&unused, &unused, &features1, &unused, 0x80000001);
- if (features & (1 << 0))
+ if (features1 & (1 << 0))
print (" lahf_lm");
- if (features & (1 << 1))
+ if (features1 & (1 << 1))
print (" cmp_legacy");
if (is_amd)
{
- if (features & (1 << 2))
+ if (features1 & (1 << 2))
print (" svm");
- if (features & (1 << 3))
+ if (features1 & (1 << 3))
print (" extapic");
- if (features & (1 << 4))
+ if (features1 & (1 << 4))
print (" cr8_legacy");
- if (features & (1 << 5))
+ if (features1 & (1 << 5))
print (" abm");
- if (features & (1 << 6))
+ if (features1 & (1 << 6))
print (" sse4a");
- if (features & (1 << 7))
+ if (features1 & (1 << 7))
print (" misalignsse");
- if (features & (1 << 8))
+ if (features1 & (1 << 8))
print (" 3dnowprefetch");
- if (features & (1 << 9))
+ if (features1 & (1 << 9))
print (" osvw");
}
- if (features & (1 << 10))
+ if (features1 & (1 << 10))
print (" ibs");
if (is_amd)
{
- if (features & (1 << 11))
+ if (features1 & (1 << 11))
print (" sse5");
- if (features & (1 << 12))
+ if (features1 & (1 << 12))
print (" skinit");
- if (features & (1 << 13))
+ if (features1 & (1 << 13))
print (" wdt");
+ if (features1 & (1 << 15))
+ print (" lwp");
+ if (features1 & (1 << 16))
+ print (" fma4");
+ if (features1 & (1 << 17))
+ print (" tce");
+ if (features1 & (1 << 19))
+ print (" nodeid_msr");
+ if (features1 & (1 << 21))
+ print (" tbm");
+ if (features1 & (1 << 22))
+ print (" topoext");
+ if (features1 & (1 << 23))
+ print (" perfctr_core");
+ if (features1 & (1 << 24))
+ print (" perfctr_nb");
+ if (features1 & (1 << 28))
+ print (" perfctr_l2");
}
}
+ if (is_intel) /* features scattered in various CPUID levels. */
+ {
+ cpuid (&features1, &unused, &features2, &unused, 0x06);
+
+ if (features1 & (1 << 1))
+ print (" ida");
+ if (features1 & (1 << 2))
+ print (" arat");
+ if (features2 & (1 << 3))
+ print (" epb");
+
+ cpuid (&features2, &unused, &unused, &unused, 0x0d, 1);
+ if (features2 & (1 << 0))
+ print (" xsaveopt");
+
+ if (features1 & (1 << 4))
+ print (" pln");
+ if (features1 & (1 << 6))
+ print (" pts");
+ if (features1 & (1 << 0))
+ print (" dtherm");
+ }
+ if (is_intel) /* Extended feature flags */
+ {
+ cpuid (&unused, &features1, &unused, &unused, 0x07, 0);
+
+ if (features1 & (1 << 0))
+ print (" fsgsbase");
+ if (features1 & (1 << 1))
+ print (" tsc_adjust");
+ if (features1 & (1 << 3))
+ print (" bmi1");
+ if (features1 & (1 << 4))
+ print (" hle");
+ if (features1 & (1 << 5))
+ print (" avx2");
+ if (features1 & (1 << 7))
+ print (" smep");
+ if (features1 & (1 << 8))
+ print (" bmi2");
+ if (features1 & (1 << 9))
+ print (" erms");
+ if (features1 & (1 << 10))
+ print (" invpcid");
+ if (features1 & (1 << 11))
+ print (" rtm");
+ if (features1 & (1 << 14))
+ print (" mpx");
+ if (features1 & (1 << 16))
+ print (" avx512f");
+ if (features1 & (1 << 18))
+ print (" rdseed");
+ if (features1 & (1 << 19))
+ print (" adx");
+ if (features1 & (1 << 20))
+ print (" smap");
+ if (features1 & (1 << 23))
+ print (" clflushopt");
+ if (features1 & (1 << 26))
+ print (" avx512pf");
+ if (features1 & (1 << 27))
+ print (" avx512er");
+ if (features1 & (1 << 28))
+ print (" avx512cd");
+ }
print ("\n");
@@ -1024,7 +1111,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
if (maxe >= 0x80000008) /* Address size. */
{
- unsigned addr_size, phys, virt;
+ uint32_t addr_size, phys, virt;
cpuid (&addr_size, &unused, &unused, &unused, 0x80000008);
phys = addr_size & 0xff;
@@ -1040,24 +1127,24 @@ format_proc_cpuinfo (void *, char *&destbuf)
if (maxe >= 0x80000007) /* Advanced power management. */
{
- cpuid (&unused, &unused, &unused, &features2, 0x80000007);
+ cpuid (&unused, &unused, &unused, &features1, 0x80000007);
print ("power management:");
- if (features2 & (1 << 0))
+ if (features1 & (1 << 0))
print (" ts");
- if (features2 & (1 << 1))
+ if (features1 & (1 << 1))
print (" fid");
- if (features2 & (1 << 2))
+ if (features1 & (1 << 2))
print (" vid");
- if (features2 & (1 << 3))
+ if (features1 & (1 << 3))
print (" ttp");
- if (features2 & (1 << 4))
+ if (features1 & (1 << 4))
print (" tm");
- if (features2 & (1 << 5))
+ if (features1 & (1 << 5))
print (" stc");
- if (features2 & (1 << 6))
+ if (features1 & (1 << 6))
print (" 100mhzsteps");
- if (features2 & (1 << 7))
+ if (features1 & (1 << 7))
print (" hwpstate");
}
}
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
index a6e326c..1e5a028 100644
--- a/winsup/cygwin/fhandler_process.cc
+++ b/winsup/cygwin/fhandler_process.cc
@@ -24,6 +24,7 @@ details. */
#include "cygheap.h"
#include "ntdll.h"
#include "cygtls.h"
+#include "pwdgrp.h"
#include "mount.h"
#include "tls_pbuf.h"
#include <sys/sysmacros.h>
diff --git a/winsup/cygwin/fhandler_random.cc b/winsup/cygwin/fhandler_random.cc
index 0d28738..3753982 100644
--- a/winsup/cygwin/fhandler_random.cc
+++ b/winsup/cygwin/fhandler_random.cc
@@ -11,6 +11,7 @@ details. */
#include "winsup.h"
#include <unistd.h>
+#include <sys/param.h>
#include "cygerrno.h"
#include "path.h"
#include "fhandler.h"
@@ -65,10 +66,10 @@ fhandler_dev_random::write (const void *ptr, size_t len)
return -1;
}
- /* Limit len to a value <= 512 since we don't want to overact.
+ /* Limit len to a value <= 4096 since we don't want to overact.
Copy to local buffer because CryptGenRandom violates const. */
- unsigned char buf[512];
- size_t limited_len = len <= 512 ? len : 512;
+ size_t limited_len = MIN (len, 4096);
+ unsigned char buf[limited_len];
memcpy (buf, ptr, limited_len);
/* Mess up system entropy source. Return error if device is /dev/random. */
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc
index fd3b768..d4b6706 100644
--- a/winsup/cygwin/fhandler_registry.cc
+++ b/winsup/cygwin/fhandler_registry.cc
@@ -586,8 +586,8 @@ fhandler_registry::fstat (struct stat *buf)
and it's also rather unlikely that the user is the owner.
Therefore it's probably most safe to assume unknown ownership
and no permissions for nobody. */
- buf->st_uid = ILLEGAL_UID;
- buf->st_gid = ILLEGAL_GID;
+ buf->st_uid = UNKNOWN_UID;
+ buf->st_gid = UNKNOWN_GID;
buf->st_mode &= ~0777;
}
}
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index f7ce61b..d4d1b65 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -1,7 +1,7 @@
/* grp.cc
Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2008, 2009, 2011, 2012, 2013 Red Hat, Inc.
Original stubs by Jason Molenda of Cygnus Support, crash@cygnus.com
First implementation by Gunther Ebert, gunther.ebert@ixos-leipzig.de
@@ -13,7 +13,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
-#include <lm.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@ -24,166 +23,134 @@ details. */
#include "dtable.h"
#include "cygheap.h"
#include "ntdll.h"
-#include "miscfuncs.h"
-#include "ldap.h"
-#include "tls_pbuf.h"
+#include "pwdgrp.h"
+static group *group_buf;
+static pwdgrp gr (group_buf);
static char * NO_COPY_RO null_ptr;
bool
pwdgrp::parse_group ()
{
- pg_grp &grp = group ()[curr_lines];
- grp.g.gr_name = next_str (':');
- if (!*grp.g.gr_name)
+ group &grp = (*group_buf)[curr_lines];
+ grp.gr_name = next_str (':');
+ if (!*grp.gr_name)
return false;
- grp.g.gr_passwd = next_str (':');
- /* Note that lptr points to the first byte of the gr_gid field.
- We deliberately ignore the gr_gid and gr_mem entries when copying
- the buffer content since they are not referenced anymore. */
- grp.len = lptr - grp.g.gr_name;
- if (!next_num (grp.g.gr_gid))
+
+ grp.gr_passwd = next_str (':');
+
+ if (!next_num (grp.gr_gid))
return false;
- /* Don't generate gr_mem entries. */
- grp.g.gr_mem = &null_ptr;
- grp.sid.getfromgr (&grp.g);
+
+ int n;
+ char *dp = raw_ptr ();
+ for (n = 0; *next_str (','); n++)
+ continue;
+
+ grp.gr_mem = &null_ptr;
+ if (n)
+ {
+ char **namearray = (char **) calloc (n + 1, sizeof (char *));
+ if (namearray)
+ {
+ for (int i = 0; i < n; i++, dp = strchr (dp, '\0') + 1)
+ namearray[i] = dp;
+ grp.gr_mem = namearray;
+ }
+ }
+
return true;
}
-muto NO_COPY pwdgrp::pglock;
-
+/* Cygwin internal */
+/* Read in /etc/group and save contents in the group cache */
+/* This sets group_in_memory_p to 1 so functions in this file can
+ tell that /etc/group has been read in */
void
-pwdgrp::init_grp ()
+pwdgrp::read_group ()
{
- pwdgrp_buf_elem_size = sizeof (pg_grp);
- parse = &pwdgrp::parse_group;
-}
+ for (int i = 0; i < gr.curr_lines; i++)
+ if ((*group_buf)[i].gr_mem != &null_ptr)
+ free ((*group_buf)[i].gr_mem);
-struct group *
-pwdgrp::find_group (cygpsid &sid)
-{
- for (ULONG i = 0; i < curr_lines; i++)
- if (sid == group ()[i].sid)
- return &group ()[i].g;
- return NULL;
+ load (L"\\etc\\group");
+
+ /* Complete /etc/group in memory if needed */
+ if (!internal_getgrgid (myself->gid))
+ {
+ static char linebuf [200];
+ char group_name [UNLEN + 1] = "mkgroup";
+ char strbuf[128] = "";
+ struct group *gr;
+
+ cygheap->user.groups.pgsid.string (strbuf);
+ if ((gr = internal_getgrsid (cygheap->user.groups.pgsid)))
+ snprintf (group_name, sizeof (group_name),
+ "passwd/group_GID_clash(%u/%u)", myself->gid, gr->gr_gid);
+ if (myself->uid == UNKNOWN_UID)
+ strcpy (group_name, "mkpasswd"); /* Feedback... */
+ snprintf (linebuf, sizeof (linebuf), "%s:%s:%u:%s",
+ group_name, strbuf, myself->gid, cygheap->user.name ());
+ debug_printf ("Completing /etc/group: %s", linebuf);
+ add_line (linebuf);
+ }
+ static char NO_COPY pretty_ls[] = "????????::-1:";
+ add_line (pretty_ls);
}
-struct group *
-pwdgrp::find_group (const char *name)
+muto NO_COPY pwdgrp::pglock;
+
+pwdgrp::pwdgrp (passwd *&pbuf) :
+ pwdgrp_buf_elem_size (sizeof (*pbuf)), passwd_buf (&pbuf)
{
- for (ULONG i = 0; i < curr_lines; i++)
- if (strcasematch (group ()[i].g.gr_name, name))
- return &group ()[i].g;
- return NULL;
+ read = &pwdgrp::read_passwd;
+ parse = &pwdgrp::parse_passwd;
+ pglock.init ("pglock");
}
-struct group *
-pwdgrp::find_group (gid_t gid)
+pwdgrp::pwdgrp (group *&gbuf) :
+ pwdgrp_buf_elem_size (sizeof (*gbuf)), group_buf (&gbuf)
{
- for (ULONG i = 0; i < curr_lines; i++)
- if (gid == group ()[i].g.gr_gid)
- return &group ()[i].g;
- return NULL;
+ read = &pwdgrp::read_group;
+ parse = &pwdgrp::parse_group;
+ pglock.init ("pglock");
}
struct group *
-internal_getgrsid (cygpsid &sid, cyg_ldap *pldap)
+internal_getgrsid (cygpsid &sid)
{
- struct group *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.find_group (sid)))
- return ret;
- if (cygheap->pg.nss_grp_files ()
- && (ret = cygheap->pg.grp_cache.file.find_group (sid)))
- return ret;
- if (cygheap->pg.nss_grp_db ()
- && (ret = cygheap->pg.grp_cache.win.find_group (sid)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.add_group_from_cygserver (sid)))
- return ret;
- if (cygheap->pg.nss_grp_files ())
- {
- cygheap->pg.grp_cache.file.check_file ();
- if ((ret = cygheap->pg.grp_cache.file.add_group_from_file (sid)))
- return ret;
- }
- if (cygheap->pg.nss_grp_db ())
- return cygheap->pg.grp_cache.win.add_group_from_windows (sid, pldap);
+ char sid_string[128];
+
+ gr.refresh (false);
+
+ if (sid.string (sid_string))
+ for (int i = 0; i < gr.curr_lines; i++)
+ if (!strcmp (sid_string, group_buf[i].gr_passwd))
+ return group_buf + i;
return NULL;
}
-/* This function gets only called from mkgroup via cygwin_internal. */
struct group *
-internal_getgrsid_from_db (cygpsid &sid)
+internal_getgrgid (gid_t gid, bool check)
{
- cygheap->pg.nss_init ();
- return cygheap->pg.grp_cache.win.add_group_from_windows (sid);
-}
+ gr.refresh (check);
-struct group *
-internal_getgrnam (const char *name, cyg_ldap *pldap)
-{
- struct group *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.find_group (name)))
- return ret;
- if (cygheap->pg.nss_grp_files ()
- && (ret = cygheap->pg.grp_cache.file.find_group (name)))
- return ret;
- if (cygheap->pg.nss_grp_db ()
- && (ret = cygheap->pg.grp_cache.win.find_group (name)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.add_group_from_cygserver (name)))
- return ret;
- if (cygheap->pg.nss_grp_files ())
- {
- cygheap->pg.grp_cache.file.check_file ();
- if ((ret = cygheap->pg.grp_cache.file.add_group_from_file (name)))
- return ret;
- }
- if (cygheap->pg.nss_grp_db ())
- return cygheap->pg.grp_cache.win.add_group_from_windows (name, pldap);
+ for (int i = 0; i < gr.curr_lines; i++)
+ if (group_buf[i].gr_gid == gid)
+ return group_buf + i;
return NULL;
}
struct group *
-internal_getgrgid (gid_t gid, cyg_ldap *pldap)
+internal_getgrnam (const char *name, bool check)
{
- struct group *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.find_group (gid)))
- return ret;
- if (cygheap->pg.nss_grp_files ()
- && (ret = cygheap->pg.grp_cache.file.find_group (gid)))
- return ret;
- if (cygheap->pg.nss_grp_db ()
- && (ret = cygheap->pg.grp_cache.win.find_group (gid)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.grp_cache.cygserver.add_group_from_cygserver (gid)))
- return ret;
- if (cygheap->pg.nss_grp_files ())
- {
- cygheap->pg.grp_cache.file.check_file ();
- if ((ret = cygheap->pg.grp_cache.file.add_group_from_file (gid)))
- return ret;
- }
- if (cygheap->pg.nss_grp_db () || gid == ILLEGAL_GID)
- return cygheap->pg.grp_cache.win.add_group_from_windows (gid, pldap);
+ gr.refresh (check);
+
+ for (int i = 0; i < gr.curr_lines; i++)
+ if (strcasematch (group_buf[i].gr_name, name))
+ return group_buf + i;
+
+ /* Didn't find requested group */
return NULL;
}
@@ -214,65 +181,37 @@ getgrgid_r (gid_t gid, struct group *grp, char *buffer, size_t bufsize,
if (!grp || !buffer)
return ERANGE;
- struct group *tempgr = internal_getgrgid (gid);
+ struct group *tempgr = internal_getgrgid (gid, true);
pthread_testcancel ();
if (!tempgr)
return 0;
- /* Check needed buffer size. Deliberately ignore gr_mem. */
+ /* check needed buffer size. */
+ int i;
size_t needsize = strlen (tempgr->gr_name) + strlen (tempgr->gr_passwd)
+ 2 + sizeof (char *);
+ for (i = 0; tempgr->gr_mem[i]; ++i)
+ needsize += strlen (tempgr->gr_mem[i]) + 1 + sizeof (char *);
if (needsize > bufsize)
return ERANGE;
- /* Make a copy of tempgr. Deliberately ignore gr_mem. */
+ /* make a copy of tempgr */
*result = grp;
grp->gr_gid = tempgr->gr_gid;
buffer = stpcpy (grp->gr_name = buffer, tempgr->gr_name);
buffer = stpcpy (grp->gr_passwd = buffer + 1, tempgr->gr_passwd);
grp->gr_mem = (char **) (buffer + 1);
- grp->gr_mem[0] = NULL;
+ buffer = (char *) grp->gr_mem + (i + 1) * sizeof (char *);
+ for (i = 0; tempgr->gr_mem[i]; ++i)
+ buffer = stpcpy (grp->gr_mem[i] = buffer, tempgr->gr_mem[i]) + 1;
+ grp->gr_mem[i] = NULL;
return 0;
}
-/* getgrgid/getgrnam are not reentrant. */
-static struct {
- struct group g;
- char *buf;
- size_t bufsiz;
-} app_gr;
-
-static struct group *
-getgr_cp (struct group *tempgr)
-{
- if (!tempgr)
- return NULL;
- pg_grp *gr = (pg_grp *) tempgr;
- if (app_gr.bufsiz < gr->len)
- {
- char *newbuf = (char *) realloc (app_gr.buf, gr->len);
- if (!newbuf)
- {
- set_errno (ENOMEM);
- return NULL;
- }
- app_gr.buf = newbuf;
- app_gr.bufsiz = gr->len;
- }
- memcpy (app_gr.buf, gr->g.gr_name, gr->len);
- memcpy (&app_gr.g, &gr->g, sizeof gr->g);
- ptrdiff_t diff = app_gr.buf - gr->g.gr_name;
- app_gr.g.gr_name += diff;
- app_gr.g.gr_passwd += diff;
- return &app_gr.g;
-}
-
extern "C" struct group *
getgrgid32 (gid_t gid)
{
- struct group *tempgr = internal_getgrgid (gid);
- pthread_testcancel ();
- return getgr_cp (tempgr);
+ return internal_getgrgid (gid, true);
}
#ifdef __x86_64__
@@ -296,33 +235,37 @@ getgrnam_r (const char *nam, struct group *grp, char *buffer,
if (!grp || !buffer)
return ERANGE;
- struct group *tempgr = internal_getgrnam (nam);
+ struct group *tempgr = internal_getgrnam (nam, true);
pthread_testcancel ();
if (!tempgr)
return 0;
- /* Check needed buffer size. Deliberately ignore gr_mem. */
+ /* check needed buffer size. */
+ int i;
size_t needsize = strlen (tempgr->gr_name) + strlen (tempgr->gr_passwd)
+ 2 + sizeof (char *);
+ for (i = 0; tempgr->gr_mem[i]; ++i)
+ needsize += strlen (tempgr->gr_mem[i]) + 1 + sizeof (char *);
if (needsize > bufsize)
return ERANGE;
- /* Make a copy of tempgr. Deliberately ignore gr_mem. */
+ /* make a copy of tempgr */
*result = grp;
grp->gr_gid = tempgr->gr_gid;
buffer = stpcpy (grp->gr_name = buffer, tempgr->gr_name);
buffer = stpcpy (grp->gr_passwd = buffer + 1, tempgr->gr_passwd);
grp->gr_mem = (char **) (buffer + 1);
- grp->gr_mem[0] = NULL;
+ buffer = (char *) grp->gr_mem + (i + 1) * sizeof (char *);
+ for (i = 0; tempgr->gr_mem[i]; ++i)
+ buffer = stpcpy (grp->gr_mem[i] = buffer, tempgr->gr_mem[i]) + 1;
+ grp->gr_mem[i] = NULL;
return 0;
}
extern "C" struct group *
getgrnam32 (const char *name)
{
- struct group *tempgr = internal_getgrnam (name);
- pthread_testcancel ();
- return getgr_cp (tempgr);
+ return internal_getgrnam (name, true);
}
#ifdef __x86_64__
@@ -337,119 +280,21 @@ getgrnam (const char *name)
}
#endif
-/* getgrent functions are not reentrant. */
-static gr_ent grent;
-
-void *
-gr_ent::enumerate_caches ()
-{
- switch (max)
- {
- case 0:
- if (cygheap->pg.nss_cygserver_caching ())
- {
- pwdgrp &grc = cygheap->pg.grp_cache.cygserver;
- if (cnt < grc.cached_groups ())
- return &grc.group ()[cnt++].g;
- }
- cnt = 0;
- max = 1;
- /*FALLTHRU*/
- case 1:
- if (from_files)
- {
- pwdgrp &grf = cygheap->pg.grp_cache.file;
- grf.check_file ();
- if (cnt < grf.cached_groups ())
- return &grf.group ()[cnt++].g;
- }
- cnt = 0;
- max = 2;
- /*FALLTHRU*/
- case 2:
- if (from_db)
- {
- pwdgrp &grw = cygheap->pg.grp_cache.win;
- if (cnt < grw.cached_groups ())
- return &grw.group ()[cnt++].g;
- }
- break;
- }
- cnt = max = 0;
- return NULL;
-}
-
-void *
-gr_ent::enumerate_local ()
-{
- while (true)
- {
- if (!cnt)
- {
- DWORD total;
- NET_API_STATUS ret;
-
- if (buf)
- {
- NetApiBufferFree (buf);
- buf = NULL;
- }
- if (resume == ULONG_MAX)
- ret = ERROR_NO_MORE_ITEMS;
- else
- ret = NetLocalGroupEnum (NULL, 0, (PBYTE *) &buf,
- MAX_PREFERRED_LENGTH,
- &max, &total, &resume);
- if (ret == NERR_Success)
- resume = ULONG_MAX;
- else if (ret != ERROR_MORE_DATA)
- {
- cnt = max = resume = 0;
- return NULL;
- }
- }
- while (cnt < max)
- {
- cygsid sid;
- DWORD slen = SECURITY_MAX_SID_SIZE;
- WCHAR dom[DNLEN + 1];
- DWORD dlen = DNLEN + 1;
- SID_NAME_USE acc_type;
-
- LookupAccountNameW (NULL,
- ((PLOCALGROUP_INFO_0) buf)[cnt++].lgrpi0_name,
- sid, &slen, dom, &dlen, &acc_type);
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg);
- if (line)
- return pg.add_account_post_fetch (line, false);
- }
- cnt = 0;
- }
-}
-
-struct group *
-gr_ent::getgrent (void)
-{
- if (state == rewound)
- setent (true);
- else
- clear_cache ();
- return (struct group *) getent ();
-}
-
extern "C" void
-setgrent ()
+endgrent ()
{
- grent.setgrent ();
+ _my_tls.locals.grp_pos = 0;
}
extern "C" struct group *
-getgrent32 (void)
+getgrent32 ()
{
- return grent.getgrent ();
+ if (_my_tls.locals.grp_pos == 0)
+ gr.refresh (true);
+ if (_my_tls.locals.grp_pos < gr.curr_lines)
+ return group_buf + _my_tls.locals.grp_pos++;
+
+ return NULL;
}
#ifdef __x86_64__
@@ -465,85 +310,90 @@ getgrent ()
#endif
extern "C" void
-endgrent (void)
-{
- grent.endgrent ();
-}
-
-/* *_filtered functions are called from mkgroup */
-void *
-setgrent_filtered (int enums, PCWSTR enum_tdoms)
+setgrent ()
{
- gr_ent *gr = new gr_ent;
- if (gr)
- gr->setgrent (enums, enum_tdoms);
- return (void *) gr;
+ _my_tls.locals.grp_pos = 0;
}
-void *
-getgrent_filtered (void *gr)
+/* Internal function. ONLY USE THIS INTERNALLY, NEVER `getgrent'!!! */
+struct group *
+internal_getgrent (int pos)
{
- return (void *) ((gr_ent *) gr)->getgrent ();
-}
+ gr.refresh (false);
-void
-endgrent_filtered (void *gr)
-{
- ((gr_ent *) gr)->endgrent ();
+ if (pos < gr.curr_lines)
+ return group_buf + pos;
+ return NULL;
}
int
-internal_getgroups (int gidsetsize, gid_t *grouplist, cyg_ldap *pldap)
+internal_getgroups (int gidsetsize, gid_t *grouplist, cygpsid * srchsid)
{
NTSTATUS status;
- HANDLE tok;
+ HANDLE hToken = NULL;
ULONG size;
int cnt = 0;
- struct group *grp;
+ struct group *gr;
- if (cygheap->user.groups.issetgroups ())
+ if (!srchsid && cygheap->user.groups.issetgroups ())
{
- for (int pg = 0; pg < cygheap->user.groups.sgsids.count (); ++pg)
- if ((grp = internal_getgrsid (cygheap->user.groups.sgsids.sids[pg],
- pldap)))
- {
- if (cnt < gidsetsize)
- grouplist[cnt] = grp->gr_gid;
- ++cnt;
- if (gidsetsize && cnt > gidsetsize)
- goto error;
- }
+ cygsid sid;
+ for (int gidx = 0; (gr = internal_getgrent (gidx)); ++gidx)
+ if (sid.getfromgr (gr))
+ for (int pg = 0; pg < cygheap->user.groups.sgsids.count (); ++pg)
+ if (sid == cygheap->user.groups.sgsids.sids[pg]
+ && sid != well_known_world_sid)
+ {
+ if (cnt < gidsetsize)
+ grouplist[cnt] = gr->gr_gid;
+ ++cnt;
+ if (gidsetsize && cnt > gidsetsize)
+ goto error;
+ break;
+ }
return cnt;
}
+
/* If impersonated, use impersonation token. */
- tok = cygheap->user.issetuid () ? cygheap->user.primary_token () : hProcToken;
+ if (cygheap->user.issetuid ())
+ hToken = cygheap->user.primary_token ();
+ else
+ hToken = hProcToken;
- status = NtQueryInformationToken (tok, TokenGroups, NULL, 0, &size);
+ status = NtQueryInformationToken (hToken, TokenGroups, NULL, 0, &size);
if (NT_SUCCESS (status) || status == STATUS_BUFFER_TOO_SMALL)
{
PTOKEN_GROUPS groups = (PTOKEN_GROUPS) alloca (size);
- status = NtQueryInformationToken (tok, TokenGroups, groups, size, &size);
+ status = NtQueryInformationToken (hToken, TokenGroups, groups,
+ size, &size);
if (NT_SUCCESS (status))
{
- for (DWORD pg = 0; pg < groups->GroupCount; ++pg)
+ cygsid sid;
+
+ if (srchsid)
{
- cygpsid sid = groups->Groups[pg].Sid;
- if ((grp = internal_getgrsid (sid, pldap)))
- {
- if ((groups->Groups[pg].Attributes
- & (SE_GROUP_ENABLED | SE_GROUP_INTEGRITY_ENABLED))
+ for (DWORD pg = 0; pg < groups->GroupCount; ++pg)
+ if ((cnt = (*srchsid == groups->Groups[pg].Sid)))
+ break;
+ }
+ else
+ for (int gidx = 0; (gr = internal_getgrent (gidx)); ++gidx)
+ if (sid.getfromgr (gr))
+ for (DWORD pg = 0; pg < groups->GroupCount; ++pg)
+ if (sid == groups->Groups[pg].Sid
+ && (groups->Groups[pg].Attributes
+ & (SE_GROUP_ENABLED | SE_GROUP_INTEGRITY_ENABLED))
&& sid != well_known_world_sid)
{
if (cnt < gidsetsize)
- grouplist[cnt] = grp->gr_gid;
+ grouplist[cnt] = gr->gr_gid;
++cnt;
if (gidsetsize && cnt > gidsetsize)
goto error;
+ break;
}
- }
- }
}
}
else
@@ -558,9 +408,7 @@ error:
extern "C" int
getgroups32 (int gidsetsize, gid_t *grouplist)
{
- cyg_ldap cldap;
-
- return internal_getgroups (gidsetsize, grouplist, &cldap);
+ return internal_getgroups (gidsetsize, grouplist);
}
#ifdef __x86_64__
@@ -579,7 +427,7 @@ getgroups (int gidsetsize, __gid16_t *grouplist)
if (gidsetsize > 0 && grouplist)
grouplist32 = (gid_t *) alloca (gidsetsize * sizeof (gid_t));
- int ret = getgroups32 (gidsetsize, grouplist32);
+ int ret = internal_getgroups (gidsetsize, grouplist32);
if (gidsetsize > 0 && grouplist)
for (int i = 0; i < ret; ++ i)
@@ -593,15 +441,13 @@ getgroups (int gidsetsize, __gid16_t *grouplist)
static void
get_groups (const char *user, gid_t gid, cygsidlist &gsids)
{
- cyg_ldap cldap;
-
cygheap->user.deimpersonate ();
- struct passwd *pw = internal_getpwnam (user, &cldap);
- struct group *grp = internal_getgrgid (gid, &cldap);
+ struct passwd *pw = internal_getpwnam (user);
+ struct group *gr = internal_getgrgid (gid);
cygsid usersid, grpsid;
if (usersid.getfrompw (pw))
get_server_groups (gsids, usersid, pw);
- if (gid != ILLEGAL_GID && grpsid.getfromgr (grp))
+ if (gid != ILLEGAL_GID && grpsid.getfromgr (gr))
gsids += grpsid;
cygheap->user.reimpersonate ();
}
@@ -636,8 +482,7 @@ getgrouplist (const char *user, gid_t gid, gid_t *groups, int *ngroups)
{
int ret = 0;
int cnt = 0;
- struct group *grp;
- cyg_ldap cldap;
+ struct group *gr;
/* Note that it's not defined if groups or ngroups may be NULL!
GLibc does not check the pointers on entry and just uses them.
@@ -650,10 +495,10 @@ getgrouplist (const char *user, gid_t gid, gid_t *groups, int *ngroups)
cygsidlist tmp_gsids (cygsidlist_auto, 12);
get_groups (user, gid, tmp_gsids);
for (int i = 0; i < tmp_gsids.count (); i++)
- if ((grp = internal_getgrsid (tmp_gsids.sids[i], &cldap)) != NULL)
+ if ((gr = internal_getgrsid (tmp_gsids.sids[i])) != NULL)
{
if (groups && cnt < *ngroups)
- groups[cnt] = grp->gr_gid;
+ groups[cnt] = gr->gr_gid;
++cnt;
}
if (cnt > *ngroups)
@@ -679,16 +524,15 @@ setgroups32 (int ngroups, const gid_t *grouplist)
}
cygsidlist gsids (cygsidlist_alloc, ngroups);
- struct group *grp;
- cyg_ldap cldap;
+ struct group *gr;
if (ngroups && !gsids.sids)
return -1;
for (int gidx = 0; gidx < ngroups; ++gidx)
{
- if ((grp = internal_getgrgid (grouplist[gidx], &cldap))
- && gsids.addfromgr (grp))
+ if ((gr = internal_getgrgid (grouplist[gidx]))
+ && gsids.addfromgr (gr))
continue;
debug_printf ("No sid found for gid %u", grouplist[gidx]);
gsids.free_sids ();
diff --git a/winsup/cygwin/import/rexec.c b/winsup/cygwin/import/rexec.c
deleted file mode 100644
index 4e01eb6..0000000
--- a/winsup/cygwin/import/rexec.c
+++ /dev/null
@@ -1,391 +0,0 @@
-/*
- * Copyright (c) 1980, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $FreeBSD$
- */
-
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)rexec.c 8.1 (Berkeley) 6/4/93";
-#endif /* LIBC_SCCS and not lint */
-
-#include <sys/types.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-#include <sys/param.h>
-#include <sys/stat.h>
-
-#include <netinet/in.h>
-
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
-#include <netdb.h>
-#include <errno.h>
-#include <ctype.h>
-#include <err.h>
-#include <stdlib.h>
-#include <unistd.h>
-
-int rexecoptions;
-char *getpass(), *getlogin();
-
-/*
- * Options and other state info.
- */
-struct macel {
- char mac_name[9]; /* macro name */
- char *mac_start; /* start of macro in macbuf */
- char *mac_end; /* end of macro in macbuf */
-};
-
-int macnum; /* number of defined macros */
-struct macel macros[16];
-char macbuf[4096];
-
-static FILE *cfile;
-
-#define DEFAULT 1
-#define LOGIN 2
-#define PASSWD 3
-#define ACCOUNT 4
-#define MACDEF 5
-#define ID 10
-#define MACH 11
-
-static char tokval[100];
-
-static struct toktab {
- char *tokstr;
- int tval;
-} toktab[]= {
- { "default", DEFAULT },
- { "login", LOGIN },
- { "password", PASSWD },
- { "passwd", PASSWD },
- { "account", ACCOUNT },
- { "machine", MACH },
- { "macdef", MACDEF },
- { NULL, 0 }
-};
-
-static int
-token()
-{
- char *cp;
- int c;
- struct toktab *t;
-
- if (feof(cfile) || ferror(cfile))
- return (0);
- while ((c = getc(cfile)) != EOF &&
- (c == '\n' || c == '\t' || c == ' ' || c == ','))
- continue;
- if (c == EOF)
- return (0);
- cp = tokval;
- if (c == '"') {
- while ((c = getc(cfile)) != EOF && c != '"') {
- if (c == '\\')
- c = getc(cfile);
- *cp++ = c;
- }
- } else {
- *cp++ = c;
- while ((c = getc(cfile)) != EOF
- && c != '\n' && c != '\t' && c != ' ' && c != ',') {
- if (c == '\\')
- c = getc(cfile);
- *cp++ = c;
- }
- }
- *cp = 0;
- if (tokval[0] == 0)
- return (0);
- for (t = toktab; t->tokstr; t++)
- if (!strcmp(t->tokstr, tokval))
- return (t->tval);
- return (ID);
-}
-
-static int
-ruserpass(host, aname, apass, aacct)
- char *host, **aname, **apass, **aacct;
-{
- char *hdir, buf[BUFSIZ], *tmp;
- char myname[MAXHOSTNAMELEN], *mydomain;
- int t, i, c, usedefault = 0;
- struct stat stb;
-
- hdir = getenv("HOME");
- if (hdir == NULL)
- hdir = ".";
- if (strlen(hdir) + 8 > sizeof(buf))
- return (0);
- (void) sprintf(buf, "%s/.netrc", hdir);
- cfile = fopen(buf, "r");
- if (cfile == NULL) {
- if (errno != ENOENT)
- warn("%s", buf);
- return (0);
- }
- if (gethostname(myname, sizeof(myname)) < 0)
- myname[0] = '\0';
- if ((mydomain = strchr(myname, '.')) == NULL)
- mydomain = "";
-next:
- while ((t = token())) switch(t) {
-
- case DEFAULT:
- usedefault = 1;
- /* FALL THROUGH */
-
- case MACH:
- if (!usedefault) {
- if (token() != ID)
- continue;
- /*
- * Allow match either for user's input host name
- * or official hostname. Also allow match of
- * incompletely-specified host in local domain.
- */
- if (strcasecmp(host, tokval) == 0)
- goto match;
- if ((tmp = strchr(host, '.')) != NULL &&
- strcasecmp(tmp, mydomain) == 0 &&
- strncasecmp(host, tokval, tmp - host) == 0 &&
- tokval[tmp - host] == '\0')
- goto match;
- continue;
- }
- match:
- while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
-
- case LOGIN:
- if (token())
- if (*aname == 0) {
- *aname = malloc((unsigned) strlen(tokval) + 1);
- (void) strcpy(*aname, tokval);
- } else {
- if (strcmp(*aname, tokval))
- goto next;
- }
- break;
- case PASSWD:
- if ((*aname == 0 || strcmp(*aname, "anonymous")) &&
- fstat(fileno(cfile), &stb) >= 0 &&
- (stb.st_mode & 077) != 0) {
- warnx("Error: .netrc file is readable by others.");
- warnx("Remove password or make file unreadable by others.");
- goto bad;
- }
- if (token() && *apass == 0) {
- *apass = malloc((unsigned) strlen(tokval) + 1);
- (void) strcpy(*apass, tokval);
- }
- break;
- case ACCOUNT:
- if (fstat(fileno(cfile), &stb) >= 0
- && (stb.st_mode & 077) != 0) {
- warnx("Error: .netrc file is readable by others.");
- warnx("Remove account or make file unreadable by others.");
- goto bad;
- }
- if (token() && *aacct == 0) {
- *aacct = malloc((unsigned) strlen(tokval) + 1);
- (void) strcpy(*aacct, tokval);
- }
- break;
- case MACDEF:
- while ((c=getc(cfile)) != EOF &&
- (c == ' ' || c == '\t'))
- ;
- if (c == EOF || c == '\n') {
- printf("Missing macdef name argument.\n");
- goto bad;
- }
- if (macnum == 16) {
- printf("Limit of 16 macros have already been defined\n");
- goto bad;
- }
- tmp = macros[macnum].mac_name;
- *tmp++ = c;
- for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
- !isspace(c); ++i) {
- *tmp++ = c;
- }
- if (c == EOF) {
- printf("Macro definition missing null line terminator.\n");
- goto bad;
- }
- *tmp = '\0';
- if (c != '\n') {
- while ((c=getc(cfile)) != EOF && c != '\n');
- }
- if (c == EOF) {
- printf("Macro definition missing null line terminator.\n");
- goto bad;
- }
- if (macnum == 0) {
- macros[macnum].mac_start = macbuf;
- }
- else {
- macros[macnum].mac_start = macros[macnum-1].mac_end + 1;
- }
- tmp = macros[macnum].mac_start;
- while (tmp != macbuf + 4096) {
- if ((c=getc(cfile)) == EOF) {
- printf("Macro definition missing null line terminator.\n");
- goto bad;
- }
- *tmp = c;
- if (*tmp == '\n') {
- if (*(tmp-1) == '\0') {
- macros[macnum++].mac_end = tmp - 1;
- break;
- }
- *tmp = '\0';
- }
- tmp++;
- }
- if (tmp == macbuf + 4096) {
- printf("4K macro buffer exceeded\n");
- goto bad;
- }
- break;
- default:
- warnx("Unknown .netrc keyword %s", tokval);
- break;
- }
- goto done;
- }
-done:
- (void) fclose(cfile);
- return (0);
-bad:
- (void) fclose(cfile);
- return (-1);
-}
-
-int
-rexec(ahost, rport, name, pass, cmd, fd2p)
- char **ahost;
- int rport;
- char *name, *pass, *cmd;
- int *fd2p;
-{
- struct sockaddr_in sin, sin2, from;
- struct hostent *hp;
- u_short port;
- int s, timo = 1, s3;
- char c, *acct;
-
- hp = gethostbyname(*ahost);
- if (hp == 0) {
- herror(*ahost);
- return (-1);
- }
- *ahost = hp->h_name;
- acct = NULL;
- ruserpass(hp->h_name, &name, &pass, &acct);
- free(acct);
-retry:
- s = socket(AF_INET, SOCK_STREAM, 0);
- if (s < 0) {
- perror("rexec: socket");
- return (-1);
- }
- sin.sin_family = hp->h_addrtype;
- sin.sin_port = rport;
- bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length);
- if (connect(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) {
- if (errno == ECONNREFUSED && timo <= 16) {
- (void) close(s);
- sleep(timo);
- timo *= 2;
- goto retry;
- }
- perror(hp->h_name);
- return (-1);
- }
- if (fd2p == 0) {
- (void) write(s, "", 1);
- port = 0;
- } else {
- char num[8];
- int s2, sin2len;
-
- s2 = socket(AF_INET, SOCK_STREAM, 0);
- if (s2 < 0) {
- (void) close(s);
- return (-1);
- }
- listen(s2, 1);
- sin2len = sizeof (sin2);
- if (getsockname(s2, (struct sockaddr *)&sin2, &sin2len) < 0 ||
- sin2len != sizeof (sin2)) {
- perror("getsockname");
- (void) close(s2);
- goto bad;
- }
- port = ntohs((u_short)sin2.sin_port);
- (void) sprintf(num, "%u", port);
- (void) write(s, num, strlen(num)+1);
- { int len = sizeof (from);
- s3 = accept(s2, (struct sockaddr *)&from, &len);
- close(s2);
- if (s3 < 0) {
- perror("accept");
- port = 0;
- goto bad;
- }
- }
- *fd2p = s3;
- }
- (void) write(s, name, strlen(name) + 1);
- /* should public key encypt the password here */
- (void) write(s, pass, strlen(pass) + 1);
- (void) write(s, cmd, strlen(cmd) + 1);
- if (read(s, &c, 1) != 1) {
- perror(*ahost);
- goto bad;
- }
- if (c != 0) {
- while (read(s, &c, 1) == 1) {
- (void) write(2, &c, 1);
- if (c == '\n')
- break;
- }
- goto bad;
- }
- return (s);
-bad:
- if (port)
- (void) close(*fd2p);
- (void) close(s);
- return (-1);
-}
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 8c2497b..9b9e24a 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -446,10 +446,8 @@ details. */
as number of partitions on tape.
271: Export posix_spawn, posix_spawnp, and helper functions.
272: Export tm_gmtoff and tm_zone members.
- 273: Introduce account mapping from Windows account DBs. Add CW_SETENT,
- CW_GETENT, CW_ENDENT, CW_GETNSSSEP, CW_GETPWSID, CW_GETGRSID,
- CW_CYGNAME_FROM_WINNAME.
- 274: Export __cxa_atexit.
+ 273: Skipped.
+ 274: Export __cxa_atexit and __cxa_finalize.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index 39639b8..321a58e 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -216,20 +216,6 @@ enum
CW_TOKEN_RESTRICTED = 1
};
-/* Enumeration source constants for CW_SETENT called from mkpasswd/mkgroup. */
-enum nss_enum_t
-{
- ENUM_NONE = 0x00,
- ENUM_CACHE = 0x01,
- ENUM_FILES = 0x02,
- ENUM_BUILTIN = 0x04,
- ENUM_LOCAL = 0x08,
- ENUM_PRIMARY = 0x10,
- ENUM_TDOMS = 0x20,
- ENUM_TDOMS_ALL = 0x40,
- ENUM_ALL = 0x7f
-};
-
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
uintptr_t cygwin_internal (cygwin_getinfo_types, ...);
diff --git a/winsup/cygwin/include/sys/file.h b/winsup/cygwin/include/sys/file.h
index 9b72ee9..6dabeb7 100644
--- a/winsup/cygwin/include/sys/file.h
+++ b/winsup/cygwin/include/sys/file.h
@@ -39,8 +39,17 @@
#define LOCK_NB 0x04 /* don't block when locking */
#define LOCK_UN 0x08 /* unlock file */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
extern int flock _PARAMS ((int, int));
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif
diff --git a/winsup/cygwin/ldap.cc b/winsup/cygwin/ldap.cc
deleted file mode 100644
index df77568..0000000
--- a/winsup/cygwin/ldap.cc
+++ /dev/null
@@ -1,629 +0,0 @@
-/* ldap.cc: Helper functions for ldap access to Active Directory.
-
- Copyright 2014 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#include "winsup.h"
-#include "ldap.h"
-#include "cygerrno.h"
-#include "security.h"
-#include "path.h"
-#include "fhandler.h"
-#include "dtable.h"
-#include "cygheap.h"
-#include "registry.h"
-#include "pinfo.h"
-#include "lm.h"
-#include "dsgetdc.h"
-#include "tls_pbuf.h"
-
-#define CYG_LDAP_ENUM_PAGESIZE 100 /* entries per page */
-
-static PWCHAR rootdse_attr[] =
-{
- (PWCHAR) L"defaultNamingContext",
- (PWCHAR) L"supportedCapabilities",
- NULL
-};
-
-static PWCHAR user_attr[] =
-{
- (PWCHAR) L"primaryGroupID",
- (PWCHAR) L"gecos",
- (PWCHAR) L"unixHomeDirectory",
- (PWCHAR) L"loginShell",
- (PWCHAR) L"uidNumber",
- NULL
-};
-
-static PWCHAR group_attr[] =
-{
- (PWCHAR) L"cn",
- (PWCHAR) L"gidNumber",
- NULL
-};
-
-PWCHAR tdom_attr[] =
-{
- (PWCHAR) L"trustPosixOffset",
- NULL
-};
-
-PWCHAR sid_attr[] =
-{
- (PWCHAR) L"objectSid",
- NULL
-};
-
-PWCHAR rfc2307_uid_attr[] =
-{
- (PWCHAR) L"uid",
- NULL
-};
-
-PWCHAR rfc2307_gid_attr[] =
-{
- (PWCHAR) L"cn",
- NULL
-};
-
-/* ================================================================= */
-/* Helper methods. */
-/* ================================================================= */
-
-inline int
-cyg_ldap::map_ldaperr_to_errno (ULONG lerr)
-{
- switch (lerr)
- {
- case LDAP_SUCCESS:
- return NO_ERROR;
- case LDAP_NO_RESULTS_RETURNED:
- /* LdapMapErrorToWin32 maps LDAP_NO_RESULTS_RETURNED to ERROR_MORE_DATA,
- which in turn is mapped to EMSGSIZE by geterrno_from_win_error. This
- is SO wrong, especially considering that LDAP_MORE_RESULTS_TO_RETURN
- is mapped to ERROR_MORE_DATA as well :-P */
- return ENMFILE;
- default:
- break;
- }
- return geterrno_from_win_error (LdapMapErrorToWin32 (lerr));
-}
-
-inline int
-cyg_ldap::wait (cygthread *thr)
-{
- if (!thr)
- return EIO;
- if (cygwait (*thr, INFINITE, cw_sig | cw_sig_eintr) != WAIT_OBJECT_0)
- {
- thr->terminate_thread ();
- _my_tls.call_signal_handler ();
- return EINTR;
- }
- thr->detach ();
- return 0;
-}
-
-/* ================================================================= */
-/* Helper struct and functions for interruptible LDAP initalization. */
-/* ================================================================= */
-
-struct cyg_ldap_init {
- cyg_ldap *that;
- PCWSTR domain;
- bool ssl;
- ULONG ret;
-};
-
-ULONG
-cyg_ldap::connect_ssl (PCWSTR domain)
-{
- ULONG ret;
-
- if (!(lh = ldap_sslinitW ((PWCHAR) domain, LDAP_SSL_PORT, 1)))
- {
- debug_printf ("ldap_init(%W) error 0x%02x", domain, LdapGetLastError ());
- return LdapGetLastError ();
- }
- if ((ret = ldap_bind_s (lh, NULL, NULL, LDAP_AUTH_NEGOTIATE)) != LDAP_SUCCESS)
- debug_printf ("ldap_bind(%W) 0x%02x", domain, ret);
- else if ((ret = ldap_search_sW (lh, NULL, LDAP_SCOPE_BASE,
- (PWCHAR) L"(objectclass=*)", rootdse_attr,
- 0, &msg))
- != LDAP_SUCCESS)
- debug_printf ("ldap_search(%W, ROOTDSE) error 0x%02x", domain, ret);
- return ret;
-}
-
-ULONG
-cyg_ldap::connect_non_ssl (PCWSTR domain)
-{
- ULONG ret;
-
- if (!(lh = ldap_initW ((PWCHAR) domain, LDAP_PORT)))
- {
- debug_printf ("ldap_init(%W) error 0x%02x", domain, LdapGetLastError ());
- return LdapGetLastError ();
- }
- if ((ret = ldap_set_option (lh, LDAP_OPT_SIGN, LDAP_OPT_ON))
- != LDAP_SUCCESS)
- debug_printf ("ldap_set_option(LDAP_OPT_SIGN) error 0x%02x", ret);
- if ((ret = ldap_set_option (lh, LDAP_OPT_ENCRYPT, LDAP_OPT_ON))
- != LDAP_SUCCESS)
- debug_printf ("ldap_set_option(LDAP_OPT_ENCRYPT) error 0x%02x", ret);
- if ((ret = ldap_bind_s (lh, NULL, NULL, LDAP_AUTH_NEGOTIATE)) != LDAP_SUCCESS)
- debug_printf ("ldap_bind(%W) 0x%02x", domain, ret);
- else if ((ret = ldap_search_sW (lh, NULL, LDAP_SCOPE_BASE,
- (PWCHAR) L"(objectclass=*)", rootdse_attr,
- 0, &msg))
- != LDAP_SUCCESS)
- debug_printf ("ldap_search(%W, ROOTDSE) error 0x%02x", domain, ret);
- return ret;
-}
-
-static DWORD WINAPI
-ldap_init_thr (LPVOID param)
-{
- cyg_ldap_init *cl = (cyg_ldap_init *) param;
- cl->ret = cl->ssl ? cl->that->connect_ssl (cl->domain)
- : cl->that->connect_non_ssl (cl->domain);
- return 0;
-}
-
-inline int
-cyg_ldap::connect (PCWSTR domain)
-{
- /* FIXME? connect_ssl can take ages even when failing, so we're trying to
- do everything the non-SSL (but still encrypted) way. */
- cyg_ldap_init cl = { this, domain, false, NO_ERROR };
- cygthread *thr = new cygthread (ldap_init_thr, &cl, "ldap_init");
- return wait (thr) ?: map_ldaperr_to_errno (cl.ret);
-}
-
-/* ================================================================= */
-/* Helper struct and functions for interruptible LDAP search. */
-/* ================================================================= */
-
-struct cyg_ldap_search {
- cyg_ldap *that;
- PWCHAR base;
- PWCHAR filter;
- PWCHAR *attrs;
- ULONG ret;
-};
-
-ULONG
-cyg_ldap::search_s (PWCHAR base, PWCHAR filter, PWCHAR *attrs)
-{
- ULONG ret;
-
- if ((ret = ldap_search_sW (lh, base, LDAP_SCOPE_SUBTREE, filter,
- attrs, 0, &msg)) != LDAP_SUCCESS)
- debug_printf ("ldap_search_sW(%W,%W) error 0x%02x", base, filter, ret);
- return ret;
-}
-
-static DWORD WINAPI
-ldap_search_thr (LPVOID param)
-{
- cyg_ldap_search *cl = (cyg_ldap_search *) param;
- cl->ret = cl->that->search_s (cl->base, cl->filter, cl->attrs);
- return 0;
-}
-
-inline int
-cyg_ldap::search (PWCHAR base, PWCHAR filter, PWCHAR *attrs)
-{
- cyg_ldap_search cl = { this, base, filter, attrs, NO_ERROR };
- cygthread *thr = new cygthread (ldap_search_thr, &cl, "ldap_search");
- return wait (thr) ?: map_ldaperr_to_errno (cl.ret);
-}
-
-/* ================================================================= */
-/* Helper struct and functions for interruptible LDAP page search. */
-/* ================================================================= */
-
-struct cyg_ldap_next_page {
- cyg_ldap *that;
- ULONG ret;
-};
-
-ULONG
-cyg_ldap::next_page_s ()
-{
- ULONG total;
- ULONG ret;
-
- do
- {
- ret = ldap_get_next_page_s (lh, srch_id, NULL, CYG_LDAP_ENUM_PAGESIZE,
- &total, &srch_msg);
- }
- while (ret == LDAP_SUCCESS && ldap_count_entries (lh, srch_msg) == 0);
- if (ret && ret != LDAP_NO_RESULTS_RETURNED)
- debug_printf ("ldap_result() error 0x%02x", ret);
- return ret;
-}
-
-static DWORD WINAPI
-ldap_next_page_thr (LPVOID param)
-{
- cyg_ldap_next_page *cl = (cyg_ldap_next_page *) param;
- cl->ret = cl->that->next_page_s ();
- return 0;
-}
-
-inline int
-cyg_ldap::next_page ()
-{
- cyg_ldap_next_page cl = { this, NO_ERROR };
- cygthread *thr = new cygthread (ldap_next_page_thr, &cl, "ldap_next_page");
- return wait (thr) ?: map_ldaperr_to_errno (cl.ret);
-}
-
-/* ================================================================= */
-/* Public methods. */
-/* ================================================================= */
-
-int
-cyg_ldap::open (PCWSTR domain)
-{
- int ret = 0;
-
- /* Already open? */
- if (lh)
- return 0;
-
- if ((ret = connect (domain)) != NO_ERROR)
- goto err;
- /* Prime `ret' and fetch ROOTDSE search result. */
- ret = EIO;
- if (!(entry = ldap_first_entry (lh, msg)))
- {
- debug_printf ("No ROOTDSE entry for %W", domain);
- goto err;
- }
- if (!(val = ldap_get_valuesW (lh, entry, rootdse_attr[0])))
- {
- debug_printf ("No ROOTDSE value for %W", domain);
- goto err;
- }
- if (!(rootdse = wcsdup (val[0])))
- {
- debug_printf ("wcsdup(%W, ROOTDSE) %d", domain, get_errno ());
- goto err;
- }
- ldap_value_freeW (val);
- if ((val = ldap_get_valuesW (lh, entry, rootdse_attr[1])))
- {
- for (ULONG idx = 0; idx < ldap_count_valuesW (val); ++idx)
- if (!wcscmp (val[idx], LDAP_CAP_ACTIVE_DIRECTORY_OID_W))
- {
- isAD = true;
- break;
- }
- }
- ldap_value_freeW (val);
- val = NULL;
- ldap_msgfree (msg);
- msg = entry = NULL;
- return 0;
-err:
- close ();
- return ret;
-}
-
-void
-cyg_ldap::close ()
-{
- if (srch_id != NULL)
- ldap_search_abandon_page (lh, srch_id);
- if (lh)
- ldap_unbind (lh);
- if (srch_msg)
- ldap_msgfree (srch_msg);
- if (msg)
- ldap_msgfree (msg);
- if (val)
- ldap_value_freeW (val);
- if (rootdse)
- free (rootdse);
- lh = NULL;
- msg = entry = NULL;
- val = NULL;
- rootdse = NULL;
- srch_id = NULL;
- srch_msg = srch_entry = NULL;
-}
-
-bool
-cyg_ldap::fetch_ad_account (PSID sid, bool group, PCWSTR domain)
-{
- WCHAR filter[140], *f, *rdse = rootdse;
- LONG len = (LONG) RtlLengthSid (sid);
- PBYTE s = (PBYTE) sid;
- static WCHAR hex_wchars[] = L"0123456789abcdef";
- tmp_pathbuf tp;
-
- if (msg)
- {
- ldap_msgfree (msg);
- msg = entry = NULL;
- }
- if (val)
- {
- ldap_value_freeW (val);
- val = NULL;
- }
- f = wcpcpy (filter, L"(objectSid=");
- while (len-- > 0)
- {
- *f++ = L'\\';
- *f++ = hex_wchars[*s >> 4];
- *f++ = hex_wchars[*s++ & 0xf];
- }
- wcpcpy (f, L")");
- if (domain)
- {
- /* FIXME: This is a hack. The most correct solution is probably to
- open a connection to the DC of the trusted domain. But this always
- takes extra time, so we're trying to avoid it. If this results in
- problems, we know what to do. */
- rdse = tp.w_get ();
- PWCHAR r = rdse;
- for (PWCHAR dotp = (PWCHAR) domain; dotp && *dotp; domain = dotp)
- {
- dotp = wcschr (domain, L'.');
- if (dotp)
- *dotp++ = L'\0';
- if (r > rdse)
- *r++ = L',';
- r = wcpcpy (r, L"DC=");
- r = wcpcpy (r, domain);
- }
- }
- attr = group ? group_attr : user_attr;
- if (search (rdse, filter, attr) != 0)
- return false;
- if (!(entry = ldap_first_entry (lh, msg)))
- {
- debug_printf ("No entry for %W in rootdse %W", filter, rdse);
- return false;
- }
- return true;
-}
-
-int
-cyg_ldap::enumerate_ad_accounts (PCWSTR domain, bool group)
-{
- int ret;
- tmp_pathbuf tp;
- PCWSTR filter;
-
- close ();
- if ((ret = open (domain)) != NO_ERROR)
- return ret;
-
- if (!group)
- filter = L"(&(objectClass=User)"
- "(objectCategory=Person)"
- /* 512 == ADS_UF_NORMAL_ACCOUNT */
- "(userAccountControl:" LDAP_MATCHING_RULE_BIT_AND ":=512)"
- "(objectSid=*))";
- else if (!domain)
- filter = L"(&(objectClass=Group)"
- "(objectSid=*))";
- else
- filter = L"(&(objectClass=Group)"
- /* 1 == ACCOUNT_GROUP */
- "(!(groupType:" LDAP_MATCHING_RULE_BIT_AND ":=1))"
- "(objectSid=*))";
- srch_id = ldap_search_init_pageW (lh, rootdse, LDAP_SCOPE_SUBTREE,
- (PWCHAR) filter, sid_attr, 0, NULL, NULL,
- INFINITE, CYG_LDAP_ENUM_PAGESIZE, NULL);
- if (srch_id == NULL)
- {
- debug_printf ("ldap_search_init_pageW(%W,%W) error 0x%02x",
- rootdse, filter, LdapGetLastError ());
- return map_ldaperr_to_errno (LdapGetLastError ());
- }
- return NO_ERROR;
-}
-
-int
-cyg_ldap::next_account (cygsid &sid)
-{
- ULONG ret;
- PLDAP_BERVAL *bval;
-
- if (srch_entry)
- {
- if ((srch_entry = ldap_next_entry (lh, srch_entry))
- && (bval = ldap_get_values_lenW (lh, srch_entry, sid_attr[0])))
- {
- sid = (PSID) bval[0]->bv_val;
- ldap_value_free_len (bval);
- return NO_ERROR;
- }
- ldap_msgfree (srch_msg);
- srch_msg = srch_entry = NULL;
- }
- ret = next_page ();
- if (ret == NO_ERROR)
- {
- if ((srch_entry = ldap_first_entry (lh, srch_msg))
- && (bval = ldap_get_values_lenW (lh, srch_entry, sid_attr[0])))
- {
- sid = (PSID) bval[0]->bv_val;
- ldap_value_free_len (bval);
- return NO_ERROR;
- }
- ret = EIO;
- }
- ldap_search_abandon_page (lh, srch_id);
- srch_id = NULL;
- return ret;
-}
-
-/* Return UINT32_MAX on error to allow differing between not being able
- to fetch a value and a real 0 offset. */
-uint32_t
-cyg_ldap::fetch_posix_offset_for_domain (PCWSTR domain)
-{
- WCHAR filter[300];
-
- if (msg)
- {
- ldap_msgfree (msg);
- msg = entry = NULL;
- }
- if (val)
- {
- ldap_value_freeW (val);
- val = NULL;
- }
- /* If domain name has no dot, it's a Netbios name. In that case, filter
- by flatName rather than by name. */
- __small_swprintf (filter, L"(&(objectClass=trustedDomain)(%W=%W))",
- wcschr (domain, L'.') ? L"name" : L"flatName", domain);
- if (search (rootdse, filter, attr = tdom_attr) != 0)
- return UINT32_MAX;
- if (!(entry = ldap_first_entry (lh, msg)))
- {
- debug_printf ("No entry for %W in rootdse %W", filter, rootdse);
- return UINT32_MAX;
- }
- return get_num_attribute (0);
-}
-
-PWCHAR
-cyg_ldap::get_string_attribute (int idx)
-{
- if (val)
- ldap_value_freeW (val);
- val = ldap_get_valuesW (lh, entry, attr[idx]);
- if (val)
- return val[0];
- return NULL;
-}
-
-uint32_t
-cyg_ldap::get_num_attribute (int idx)
-{
- PWCHAR ret = get_string_attribute (idx);
- if (ret)
- return (uint32_t) wcstoul (ret, NULL, 10);
- return (uint32_t) -1;
-}
-
-bool
-cyg_ldap::fetch_unix_sid_from_ad (uint32_t id, cygsid &sid, bool group)
-{
- WCHAR filter[48];
- PLDAP_BERVAL *bval;
-
- if (msg)
- {
- ldap_msgfree (msg);
- msg = entry = NULL;
- }
- if (group)
- __small_swprintf (filter, L"(&(objectClass=Group)(gidNumber=%u))", id);
- else
- __small_swprintf (filter, L"(&(objectClass=User)(uidNumber=%u))", id);
- if (search (rootdse, filter, sid_attr) != 0)
- return false;
- if ((entry = ldap_first_entry (lh, msg))
- && (bval = ldap_get_values_lenW (lh, entry, sid_attr[0])))
- {
- sid = (PSID) bval[0]->bv_val;
- ldap_value_free_len (bval);
- return true;
- }
- return false;
-}
-
-PWCHAR
-cyg_ldap::fetch_unix_name_from_rfc2307 (uint32_t id, bool group)
-{
- WCHAR filter[52];
-
- if (msg)
- {
- ldap_msgfree (msg);
- msg = entry = NULL;
- }
- if (val)
- {
- ldap_value_freeW (val);
- val = NULL;
- }
- attr = group ? rfc2307_gid_attr : rfc2307_uid_attr;
- if (group)
- __small_swprintf (filter, L"(&(objectClass=posixGroup)(gidNumber=%u))", id);
- else
- __small_swprintf (filter, L"(&(objectClass=posixAccount)(uidNumber=%u))",
- id);
- if (search (rootdse, filter, attr) != 0)
- return NULL;
- if (!(entry = ldap_first_entry (lh, msg)))
- {
- debug_printf ("No entry for %W in rootdse %W", filter, rootdse);
- return NULL;
- }
- return get_string_attribute (0);
-}
-
-uid_t
-cyg_ldap::remap_uid (uid_t uid)
-{
- cygsid user (NO_SID);
- PWCHAR name;
- struct passwd *pw;
-
- if (isAD)
- {
- if (fetch_unix_sid_from_ad (uid, user, false)
- && user != NO_SID
- && (pw = internal_getpwsid (user, this)))
- return pw->pw_uid;
- }
- else if ((name = fetch_unix_name_from_rfc2307 (uid, false)))
- {
- char *mbname = NULL;
- sys_wcstombs_alloc (&mbname, HEAP_NOTHEAP, name);
- if ((pw = internal_getpwnam (mbname)))
- return pw->pw_uid;
- }
- return ILLEGAL_UID;
-}
-
-gid_t
-cyg_ldap::remap_gid (gid_t gid)
-{
- cygsid group (NO_SID);
- PWCHAR name;
- struct group *gr;
-
- if (isAD)
- {
- if (fetch_unix_sid_from_ad (gid, group, true)
- && group != NO_SID
- && (gr = internal_getgrsid (group, this)))
- return gr->gr_gid;
- }
- else if ((name = fetch_unix_name_from_rfc2307 (gid, true)))
- {
- char *mbname = NULL;
- sys_wcstombs_alloc (&mbname, HEAP_NOTHEAP, name);
- if ((gr = internal_getgrnam (mbname)))
- return gr->gr_gid;
- }
- return ILLEGAL_GID;
-}
diff --git a/winsup/cygwin/ldap.h b/winsup/cygwin/ldap.h
deleted file mode 100644
index 7f90a38..0000000
--- a/winsup/cygwin/ldap.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* ldap.h.
-
- Copyright 2014 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#pragma once
-
-#pragma push_macro ("DECLSPEC_IMPORT")
-#undef DECLSPEC_IMPORT
-#define DECLSPEC_IMPORT
-#include <winldap.h>
-#include <ntldap.h>
-#pragma pop_macro ("DECLSPEC_IMPORT")
-
-#define LDAP_USER_PGRP_ATTR 0
-#define LDAP_USER_GECOS_ATTR 1
-#define LDAP_USER_HOME_ATTR 2
-#define LDAP_USER_SHELL_ATTR 3
-#define LDAP_USER_UID_ATTR 4
-
-#define LDAP_GROUP_NAME_ATTR 0
-#define LDAP_GROUP_GID_ATTR 1
-
-class cyg_ldap {
- PLDAP lh;
- PWCHAR rootdse;
- PLDAPMessage msg, entry;
- PWCHAR *val;
- PWCHAR *attr;
- bool isAD;
- PLDAPSearch srch_id;
- PLDAPMessage srch_msg, srch_entry;
-
- inline int map_ldaperr_to_errno (ULONG lerr);
- inline int wait (cygthread *thr);
- inline int connect (PCWSTR domain);
- inline int search (PWCHAR base, PWCHAR filter, PWCHAR *attrs);
- inline int next_page ();
- bool fetch_unix_sid_from_ad (uint32_t id, cygsid &sid, bool group);
- PWCHAR fetch_unix_name_from_rfc2307 (uint32_t id, bool group);
- PWCHAR get_string_attribute (int idx);
- uint32_t get_num_attribute (int idx);
-
-public:
- cyg_ldap () : lh (NULL), rootdse (NULL), msg (NULL), entry (NULL), val (NULL),
- isAD (false), srch_id (NULL), srch_msg (NULL), srch_entry (NULL)
- {}
- ~cyg_ldap () { close (); }
-
- ULONG connect_ssl (PCWSTR domain);
- ULONG connect_non_ssl (PCWSTR domain);
- ULONG search_s (PWCHAR base, PWCHAR filter, PWCHAR *attrs);
- ULONG next_page_s ();
-
- operator PLDAP () const { return lh; }
- int open (PCWSTR in_domain);
- void close ();
- bool fetch_ad_account (PSID sid, bool group, PCWSTR domain = NULL);
- int enumerate_ad_accounts (PCWSTR domain, bool group);
- int next_account (cygsid &sid);
- uint32_t fetch_posix_offset_for_domain (PCWSTR domain);
- uid_t remap_uid (uid_t uid);
- gid_t remap_gid (gid_t gid);
- /* User only */
- gid_t get_primary_gid () { return get_num_attribute (LDAP_USER_PGRP_ATTR); }
- PWCHAR get_gecos () { return get_string_attribute (LDAP_USER_GECOS_ATTR); }
- PWCHAR get_home ()
- { return get_string_attribute (LDAP_USER_HOME_ATTR); }
- PWCHAR get_shell () { return get_string_attribute (LDAP_USER_SHELL_ATTR); }
- gid_t get_unix_uid () { return get_num_attribute (LDAP_USER_UID_ATTR); }
- /* group only */
- PWCHAR get_group_name ()
- { return get_string_attribute (LDAP_GROUP_NAME_ATTR); }
- gid_t get_unix_gid () { return get_num_attribute (LDAP_GROUP_GID_ATTR); }
-};
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index 7397bea..0a3651c 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -384,82 +384,6 @@ WritePipeOverlapped (HANDLE h, LPCVOID buf, DWORD len, LPDWORD ret_len,
return ret;
}
-bool
-NT_readline::init (POBJECT_ATTRIBUTES attr, PCHAR in_buf, ULONG in_buflen)
-{
- NTSTATUS status;
- IO_STATUS_BLOCK io;
-
- status = NtOpenFile (&fh, SYNCHRONIZE | FILE_READ_DATA, attr, &io,
- FILE_SHARE_VALID_FLAGS,
- FILE_SYNCHRONOUS_IO_NONALERT
- | FILE_OPEN_FOR_BACKUP_INTENT);
- if (!NT_SUCCESS (status))
- {
- paranoid_printf ("NtOpenFile(%S) failed, status %y",
- attr->ObjectName, status);
- return false;
- }
- buf = in_buf;
- buflen = in_buflen;
- got = end = buf;
- len = 0;
- line = 1;
- return true;
-}
-
-PCHAR
-NT_readline::gets ()
-{
- IO_STATUS_BLOCK io;
-
- while (true)
- {
- /* len == 0 indicates we have to read from the file. */
- if (!len)
- {
- if (!NT_SUCCESS (NtReadFile (fh, NULL, NULL, NULL, &io, got,
- (buflen - 2) - (got - buf), NULL, NULL)))
- return NULL;
- len = io.Information;
- /* Set end marker. */
- got[len] = got[len + 1] = '\0';
- /* Set len to the absolute len of bytes in buf. */
- len += got - buf;
- /* Reset got to start reading at the start of the buffer again. */
- got = end = buf;
- }
- else
- {
- got = end + 1;
- ++line;
- }
- /* Still some valid full line? */
- if (got < buf + len)
- {
- if ((end = strchr (got, '\n')))
- {
- end[end[-1] == '\r' ? -1 : 0] = '\0';
- return got;
- }
- /* Last line missing a \n at EOF? */
- if (len < buflen - 2)
- {
- len = 0;
- return got;
- }
- }
- /* We have to read once more. Move remaining bytes to the start of
- the buffer and reposition got so that it points to the end of
- the remaining bytes. */
- len = buf + len - got;
- memmove (buf, got, len);
- got = buf + len;
- buf[len] = buf[len + 1] = '\0';
- len = 0;
- }
-}
-
/* backslashify: Convert all forward slashes in src path to back slashes
in dst path. Add a trailing slash to dst when trailing_slash_p arg
is set to 1. */
diff --git a/winsup/cygwin/miscfuncs.h b/winsup/cygwin/miscfuncs.h
index e42940c..bc36a19 100644
--- a/winsup/cygwin/miscfuncs.h
+++ b/winsup/cygwin/miscfuncs.h
@@ -1,7 +1,7 @@
/* miscfuncs.h: main Cygwin header file.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -23,25 +23,6 @@ BOOL WINAPI ReadPipeOverlapped (HANDLE h, PVOID buf, DWORD len,
BOOL WINAPI WritePipeOverlapped (HANDLE h, LPCVOID buf, DWORD len,
LPDWORD ret_len, DWORD timeout);
-/* class for per-line reading using native functions. The caller provides
- the file as an POBJECT_ATTRIBUTES, and the buffer space. */
-class NT_readline
-{
- HANDLE fh;
- PCHAR buf;
- PCHAR got;
- PCHAR end;
- ULONG buflen;
- ULONG len;
- ULONG line;
-public:
- NT_readline () : fh (NULL) {}
- bool init (POBJECT_ATTRIBUTES attr, char *buf, ULONG buflen);
- PCHAR gets ();
- void close () { if (fh) NtClose (fh); fh = NULL; }
- ~NT_readline () { close (); }
-};
-
extern "C" void yield ();
#define import_address(x) __import_address ((void *)(x))
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index eecd726..43f4626 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -1177,9 +1177,10 @@ mount_info::from_fstab (bool user, WCHAR fstab[], PWCHAR fstab_end)
{
UNICODE_STRING upath;
OBJECT_ATTRIBUTES attr;
- NT_readline rl;
+ IO_STATUS_BLOCK io;
+ NTSTATUS status;
+ HANDLE fh;
tmp_pathbuf tp;
- char *buf = tp.c_get ();
if (user)
{
@@ -1194,10 +1195,81 @@ mount_info::from_fstab (bool user, WCHAR fstab[], PWCHAR fstab_end)
RtlInitUnicodeString (&upath, fstab);
InitializeObjectAttributes (&attr, &upath, OBJ_CASE_INSENSITIVE, NULL, NULL);
debug_printf ("Try to read mounts from %W", fstab);
- if (rl.init (&attr, buf, NT_MAX_PATH))
- while ((buf = rl.gets ()))
- if (!from_fstab_line (buf, user))
+ status = NtOpenFile (&fh, SYNCHRONIZE | FILE_READ_DATA, &attr, &io,
+ FILE_SHARE_VALID_FLAGS,
+ FILE_SYNCHRONOUS_IO_NONALERT
+ | FILE_OPEN_FOR_BACKUP_INTENT);
+ if (!NT_SUCCESS (status))
+ {
+ debug_printf ("NtOpenFile(%S) failed, %y", &upath, status);
+ return false;
+ }
+
+ char *buf = tp.c_get ();
+ char *got = buf;
+ DWORD len = 0;
+ unsigned line = 1;
+ /* Using buffer size - 2 leaves space to append two \0. */
+ while (NT_SUCCESS (NtReadFile (fh, NULL, NULL, NULL, &io, got,
+ (NT_MAX_PATH - 2) - (got - buf), NULL, NULL)))
+ {
+ char *end;
+
+ len = io.Information;
+ /* Set end marker. */
+ got[len] = got[len + 1] = '\0';
+ /* Set len to the absolute len of bytes in buf. */
+ len += got - buf;
+ /* Reset got to start reading at the start of the buffer again. */
+ got = buf;
+retry:
+ bool got_nl = false;
+ while (got < buf + len && (end = strchr (got, '\n')))
+ {
+ got_nl = true;
+ end[end[-1] == '\r' ? -1 : 0] = '\0';
+ if (!from_fstab_line (got, user))
+ goto done;
+ got = end + 1;
+ ++line;
+ }
+ if (len < (NT_MAX_PATH - 2))
break;
+ /* Check if the buffer contained at least one \n. If not, the
+ line length is > 32K. We don't take such long lines. Print
+ a debug message and skip this line entirely. */
+ if (!got_nl)
+ {
+ system_printf ("%W: Line %d too long, skipping...", fstab, line);
+ while (NT_SUCCESS (NtReadFile (fh, NULL, NULL, NULL, &io, buf,
+ (NT_MAX_PATH - 2), NULL, NULL)))
+ {
+ len = io.Information;
+ buf[len] = buf[len + 1] = '\0';
+ got = strchr (buf, '\n');
+ if (got)
+ {
+ ++got;
+ ++line;
+ goto retry;
+ }
+ }
+ got = buf;
+ break;
+ }
+ /* We have to read once more. Move remaining bytes to the start of
+ the buffer and reposition got so that it points to the end of
+ the remaining bytes. */
+ len = buf + len - got;
+ memmove (buf, got, len);
+ got = buf + len;
+ buf[len] = buf[len + 1] = '\0';
+ }
+ /* Catch a last line without trailing \n. */
+ if (got > buf)
+ from_fstab_line (got, user);
+done:
+ NtClose (fh);
return true;
}
diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc
index b8ed094..88690e3 100644
--- a/winsup/cygwin/passwd.cc
+++ b/winsup/cygwin/passwd.cc
@@ -10,7 +10,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
-#include <lm.h>
#include <stdlib.h>
#include <stdio.h>
#include "cygerrno.h"
@@ -20,210 +19,127 @@ details. */
#include "dtable.h"
#include "pinfo.h"
#include "cygheap.h"
+#include "pwdgrp.h"
#include "shared_info.h"
-#include "miscfuncs.h"
-#include "ldap.h"
-#include "tls_pbuf.h"
+
+/* Read /etc/passwd only once for better performance. This is done
+ on the first call that needs information from it. */
+
+passwd *passwd_buf;
+static pwdgrp pr (passwd_buf);
/* Parse /etc/passwd line into passwd structure. */
bool
pwdgrp::parse_passwd ()
{
- pg_pwd &res = passwd ()[curr_lines];
- res.p.pw_name = next_str (':');
- res.p.pw_passwd = next_str (':');
- if (!next_num (res.p.pw_uid))
+ passwd &res = (*passwd_buf)[curr_lines];
+ res.pw_name = next_str (':');
+ res.pw_passwd = next_str (':');
+ if (!next_num (res.pw_uid))
return false;
- if (!next_num (res.p.pw_gid))
+ if (!next_num (res.pw_gid))
return false;
- res.p.pw_comment = NULL;
- res.p.pw_gecos = next_str (':');
- res.p.pw_dir = next_str (':');
- res.p.pw_shell = next_str (':');
- res.sid.getfrompw (&res.p);
- /* lptr points to the \0 after pw_shell. Increment by one to get the correct
- required buffer len in getpw_cp. */
- res.len = lptr - res.p.pw_name + 1;
+ res.pw_comment = NULL;
+ res.pw_gecos = next_str (':');
+ res.pw_dir = next_str (':');
+ res.pw_shell = next_str (':');
return true;
}
+/* Read in /etc/passwd and save contents in the password cache.
+ This sets pr to loaded or emulated so functions in this file can
+ tell that /etc/passwd has been read in or will be emulated. */
void
-pwdgrp::init_pwd ()
-{
- pwdgrp_buf_elem_size = sizeof (pg_pwd);
- parse = &pwdgrp::parse_passwd;
+pwdgrp::read_passwd ()
+{
+ load (L"\\etc\\passwd");
+
+ char strbuf[128] = "";
+ bool searchentry = true;
+ struct passwd *pw;
+ /* must be static */
+ static char NO_COPY pretty_ls[] = "????????:*:-1:-1:::";
+
+ add_line (pretty_ls);
+ cygsid tu = cygheap->user.sid ();
+ tu.string (strbuf);
+ if (!user_shared->cb || myself->uid == ILLEGAL_UID)
+ searchentry = !internal_getpwsid (tu);
+ if (searchentry
+ && (!(pw = internal_getpwnam (cygheap->user.name ()))
+ || !user_shared->cb
+ || (myself->uid != ILLEGAL_UID
+ && myself->uid != pw->pw_uid
+ && !internal_getpwuid (myself->uid))))
+ {
+ static char linebuf[1024]; // must be static and
+ // should not be NO_COPY
+ snprintf (linebuf, sizeof (linebuf), "%s:*:%u:%u:,%s:%s:/bin/sh",
+ cygheap->user.name (),
+ (!user_shared->cb || myself->uid == ILLEGAL_UID)
+ ? UNKNOWN_UID : myself->uid,
+ !user_shared->cb ? UNKNOWN_GID : myself->gid,
+ strbuf, getenv ("HOME") ?: "");
+ debug_printf ("Completing /etc/passwd: %s", linebuf);
+ add_line (linebuf);
+ }
}
struct passwd *
-pwdgrp::find_user (cygpsid &sid)
+internal_getpwsid (cygpsid &sid)
{
- for (ULONG i = 0; i < curr_lines; i++)
- if (sid == passwd ()[i].sid)
- return &passwd ()[i].p;
- return NULL;
-}
+ struct passwd *pw;
+ char *ptr1, *ptr2, *endptr;
+ char sid_string[128] = {0,','};
-struct passwd *
-pwdgrp::find_user (const char *name)
-{
- for (ULONG i = 0; i < curr_lines; i++)
- /* on Windows NT user names are case-insensitive */
- if (strcasematch (name, passwd ()[i].p.pw_name))
- return &passwd ()[i].p;
- return NULL;
-}
+ pr.refresh (false);
-struct passwd *
-pwdgrp::find_user (uid_t uid)
-{
- for (ULONG i = 0; i < curr_lines; i++)
- if (uid == passwd ()[i].p.pw_uid)
- return &passwd ()[i].p;
- return NULL;
-}
-
-struct passwd *
-internal_getpwsid (cygpsid &sid, cyg_ldap *pldap)
-{
- struct passwd *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.find_user (sid)))
- return ret;
- if (cygheap->pg.nss_pwd_files ()
- && (ret = cygheap->pg.pwd_cache.file.find_user (sid)))
- return ret;
- if (cygheap->pg.nss_pwd_db ()
- && (ret = cygheap->pg.pwd_cache.win.find_user (sid)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.add_user_from_cygserver (sid)))
- return ret;
- if (cygheap->pg.nss_pwd_files ())
+ if (sid.string (sid_string + 2))
{
- cygheap->pg.pwd_cache.file.check_file ();
- if ((ret = cygheap->pg.pwd_cache.file.add_user_from_file (sid)))
- return ret;
+ endptr = strchr (sid_string + 2, 0) - 1;
+ for (int i = 0; i < pr.curr_lines; i++)
+ {
+ pw = passwd_buf + i;
+ if (pw->pw_dir > pw->pw_gecos + 8)
+ for (ptr1 = endptr, ptr2 = pw->pw_dir - 2;
+ *ptr1 == *ptr2; ptr2--)
+ if (!*--ptr1)
+ return pw;
+ }
}
- if (cygheap->pg.nss_pwd_db ())
- return cygheap->pg.pwd_cache.win.add_user_from_windows (sid, pldap);
return NULL;
}
-/* This function gets only called from mkpasswd via cygwin_internal. */
struct passwd *
-internal_getpwsid_from_db (cygpsid &sid)
+internal_getpwuid (uid_t uid, bool check)
{
- cygheap->pg.nss_init ();
- return cygheap->pg.pwd_cache.win.add_user_from_windows (sid);
-}
+ pr.refresh (check);
-struct passwd *
-internal_getpwnam (const char *name, cyg_ldap *pldap)
-{
- struct passwd *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.find_user (name)))
- return ret;
- if (cygheap->pg.nss_pwd_files ()
- && (ret = cygheap->pg.pwd_cache.file.find_user (name)))
- return ret;
- if (cygheap->pg.nss_pwd_db ()
- && (ret = cygheap->pg.pwd_cache.win.find_user (name)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.add_user_from_cygserver (name)))
- return ret;
- if (cygheap->pg.nss_pwd_files ())
- {
- cygheap->pg.pwd_cache.file.check_file ();
- if ((ret = cygheap->pg.pwd_cache.file.add_user_from_file (name)))
- return ret;
- }
- if (cygheap->pg.nss_pwd_db ())
- return cygheap->pg.pwd_cache.win.add_user_from_windows (name, pldap);
+ for (int i = 0; i < pr.curr_lines; i++)
+ if (uid == passwd_buf[i].pw_uid)
+ return passwd_buf + i;
return NULL;
}
struct passwd *
-internal_getpwuid (uid_t uid, cyg_ldap *pldap)
+internal_getpwnam (const char *name, bool check)
{
- struct passwd *ret;
-
- cygheap->pg.nss_init ();
- /* Check caches first. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.find_user (uid)))
- return ret;
- if (cygheap->pg.nss_pwd_files ()
- && (ret = cygheap->pg.pwd_cache.file.find_user (uid)))
- return ret;
- if (cygheap->pg.nss_pwd_db ()
- && (ret = cygheap->pg.pwd_cache.win.find_user (uid)))
- return ret;
- /* Ask sources afterwards. */
- if (cygheap->pg.nss_cygserver_caching ()
- && (ret = cygheap->pg.pwd_cache.cygserver.add_user_from_cygserver (uid)))
- return ret;
- if (cygheap->pg.nss_pwd_files ())
- {
- cygheap->pg.pwd_cache.file.check_file ();
- if ((ret = cygheap->pg.pwd_cache.file.add_user_from_file (uid)))
- return ret;
- }
- if (cygheap->pg.nss_pwd_db () || uid == ILLEGAL_UID)
- return cygheap->pg.pwd_cache.win.add_user_from_windows (uid, pldap);
+ pr.refresh (check);
+
+ for (int i = 0; i < pr.curr_lines; i++)
+ /* on Windows NT user names are case-insensitive */
+ if (strcasematch (name, passwd_buf[i].pw_name))
+ return passwd_buf + i;
return NULL;
}
-/* getpwuid/getpwnam are not reentrant. */
-static struct {
- struct passwd p;
- char *buf;
- size_t bufsiz;
-} app_pw;
-
-static struct passwd *
-getpw_cp (struct passwd *temppw)
-{
- if (!temppw)
- return NULL;
- pg_pwd *pw = (pg_pwd *) temppw;
- if (app_pw.bufsiz < pw->len)
- {
- char *newbuf = (char *) realloc (app_pw.buf, pw->len);
- if (!newbuf)
- {
- set_errno (ENOMEM);
- return NULL;
- }
- app_pw.buf = newbuf;
- app_pw.bufsiz = pw->len;
- }
- memcpy (app_pw.buf, pw->p.pw_name, pw->len);
- memcpy (&app_pw.p, &pw->p, sizeof pw->p);
- ptrdiff_t diff = app_pw.buf - pw->p.pw_name;
- app_pw.p.pw_name += diff;
- app_pw.p.pw_passwd += diff;
- app_pw.p.pw_gecos += diff;
- app_pw.p.pw_dir += diff;
- app_pw.p.pw_shell += diff;
- return &app_pw.p;
-}
extern "C" struct passwd *
getpwuid32 (uid_t uid)
{
- struct passwd *temppw = internal_getpwuid (uid);
+ struct passwd *temppw = internal_getpwuid (uid, true);
pthread_testcancel ();
- return getpw_cp (temppw);
+ return temppw;
}
#ifdef __x86_64__
@@ -244,7 +160,7 @@ getpwuid_r32 (uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struc
if (!pwd || !buffer)
return ERANGE;
- struct passwd *temppw = internal_getpwuid (uid);
+ struct passwd *temppw = internal_getpwuid (uid, true);
pthread_testcancel ();
if (!temppw)
return 0;
@@ -282,9 +198,9 @@ getpwuid_r (__uid16_t uid, struct passwd *pwd, char *buffer, size_t bufsize, str
extern "C" struct passwd *
getpwnam (const char *name)
{
- struct passwd *temppw = internal_getpwnam (name);
+ struct passwd *temppw = internal_getpwnam (name, true);
pthread_testcancel ();
- return getpw_cp (temppw);
+ return temppw;
}
@@ -300,7 +216,7 @@ getpwnam_r (const char *nam, struct passwd *pwd, char *buffer, size_t bufsize, s
if (!pwd || !buffer || !nam)
return ERANGE;
- struct passwd *temppw = internal_getpwnam (nam);
+ struct passwd *temppw = internal_getpwnam (nam, true);
pthread_testcancel ();
if (!temppw)
@@ -326,429 +242,37 @@ getpwnam_r (const char *nam, struct passwd *pwd, char *buffer, size_t bufsize, s
return 0;
}
-/* getpwent functions are not reentrant. */
-static pw_ent pwent;
-
-void
-pg_ent::clear_cache ()
-{
- if (pg.curr_lines)
- {
- if (state > from_file)
- cfree (group ? grp.g.gr_name : pwd.p.pw_name);
- pg.curr_lines = 0;
- }
-}
-
-void
-pg_ent::setent (bool _group, int _enums, PCWSTR _enum_tdoms)
-{
- cygheap->dom.init ();
- endent (_group);
- if (!_enums && !_enum_tdoms)
- {
- /* This is the default, when called from the usual setpwent/setgrent
- functions. */
- enums = cygheap->pg.nss_db_enums ();
- enum_tdoms = cygheap->pg.nss_db_enum_tdoms ();
- if (_group)
- {
- from_files = cygheap->pg.nss_grp_files ();
- from_db = cygheap->pg.nss_grp_db ();
- }
- else
- {
- from_files = cygheap->pg.nss_pwd_files ();
- from_db = cygheap->pg.nss_pwd_db ();
- }
- }
- else
- {
- /* This case is when called from mkpasswd/mkgroup via cygwin_internal. */
- enums = _enums;
- enum_tdoms = _enum_tdoms;
- from_files = false;
- from_db = true;
- }
- state = from_cache;
-}
-
-void *
-pg_ent::getent (void)
-{
- void *entry;
-
- switch (state)
- {
- case rewound:
- state = from_cache;
- /*FALLTHRU*/
- case from_cache:
- if (nss_db_enum_caches ()
- && (entry = enumerate_caches ()))
- return entry;
- state = from_file;
- /*FALLTHRU*/
- case from_file:
- if (from_files
- && nss_db_enum_files ()
- && (entry = enumerate_file ()))
- return entry;
- state = from_builtin;
- /*FALLTHRU*/
- case from_builtin:
- if (from_db
- && nss_db_enum_builtin ()
- && (entry = enumerate_builtin ()))
- return entry;
- state = from_local;
- /*FALLTHRU*/
- case from_local:
- if (from_db
- && nss_db_enum_local ()
- && (!cygheap->dom.member_machine ()
- || !nss_db_enum_primary ())
- && (entry = enumerate_local ()))
- return entry;
- state = from_sam;
- /*FALLTHRU*/
- case from_sam:
- if (from_db
- && nss_db_enum_local ()
- /* Domain controller? If so, sam and ad are one and the same
- and "local ad" would list all domain accounts twice without
- this test. */
- && (cygheap->dom.account_flat_name ()[0] != L'@'
- || !nss_db_enum_primary ())
- && (entry = enumerate_sam ()))
- return entry;
- state = from_ad;
- /*FALLTHRU*/
- case from_ad:
- if (cygheap->dom.member_machine ()
- && from_db
- && (entry = enumerate_ad ()))
- return entry;
- state = finished;
- /*FALLTHRU*/
- case finished:
- break;
- }
- return NULL;
-}
-
-void
-pg_ent::endent (bool _group)
-{
- if (buf)
- {
- if (state == from_file)
- free (buf);
- else if (state == from_local || state == from_sam)
- NetApiBufferFree (buf);
- buf = NULL;
- }
- if (!pg.curr_lines)
- {
- if ((group = _group))
- {
- pg.init_grp ();
- pg.pwdgrp_buf = (void *) &grp;
- }
- else
- {
- pg.init_pwd ();
- pg.pwdgrp_buf = (void *) &pwd;
- }
- pg.max_lines = 1;
- }
- else
- clear_cache ();
- cldap.close ();
- rl.close ();
- cnt = max = resume = 0;
- enums = 0;
- enum_tdoms = NULL;
- state = rewound;
-}
-
-void *
-pg_ent::enumerate_file ()
-{
- void *entry;
-
- if (!cnt)
- {
- pwdgrp &prf = group ? cygheap->pg.grp_cache.file
- : cygheap->pg.pwd_cache.file;
- if (prf.check_file ())
- {
- if (!buf)
- buf = (char *) malloc (NT_MAX_PATH);
- if (buf
- && !rl.init (prf.file_attr (), buf, NT_MAX_PATH))
- {
- free (buf);
- buf = NULL;
- }
- }
- }
- ++cnt;
- if ((entry = pg.add_account_post_fetch (rl.gets (), false)))
- return entry;
- rl.close ();
- free (buf);
- buf = NULL;
- cnt = max = resume = 0;
- return NULL;
-}
-
-void *
-pg_ent::enumerate_builtin ()
-{
- static cygpsid *pwd_builtins[] = {
- &well_known_system_sid,
- &well_known_local_service_sid,
- &well_known_network_service_sid,
- &well_known_admins_sid,
- &trusted_installer_sid,
- NULL
- };
- static cygpsid *grp_builtins[] = {
- &well_known_system_sid,
- &trusted_installer_sid,
- NULL
- };
-
- cygpsid **builtins = group ? grp_builtins : pwd_builtins;
- if (!builtins[cnt])
- {
- cnt = max = resume = 0;
- return NULL;
- }
- cygsid sid (*builtins[cnt++]);
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg);
- return pg.add_account_post_fetch (line, false);
-}
-
-void *
-pg_ent::enumerate_sam ()
-{
- while (true)
- {
- if (!cnt)
- {
- DWORD total;
- NET_API_STATUS ret;
-
- if (buf)
- {
- NetApiBufferFree (buf);
- buf = NULL;
- }
- if (resume == ULONG_MAX)
- ret = ERROR_NO_MORE_ITEMS;
- else if (group)
- ret = NetGroupEnum (NULL, 2, (PBYTE *) &buf, MAX_PREFERRED_LENGTH,
- &max, &total, &resume);
- else
- ret = NetUserEnum (NULL, 20, FILTER_NORMAL_ACCOUNT, (PBYTE *) &buf,
- MAX_PREFERRED_LENGTH, &max, &total,
- (PDWORD) &resume);
- if (ret == NERR_Success)
- resume = ULONG_MAX;
- else if (ret != ERROR_MORE_DATA)
- {
- cnt = max = resume = 0;
- return NULL;
- }
- }
- while (cnt < max)
- {
- cygsid sid (cygheap->dom.account_sid ());
- sid_sub_auth (sid, sid_sub_auth_count (sid)) =
- group ? ((PGROUP_INFO_2) buf)[cnt].grpi2_group_id
- : ((PUSER_INFO_20) buf)[cnt].usri20_user_id;
- ++cnt;
- ++sid_sub_auth_count (sid);
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg);
- if (line)
- return pg.add_account_post_fetch (line, false);
- }
- cnt = 0;
- }
-}
-
-void *
-pg_ent::enumerate_ad ()
+extern "C" struct passwd *
+getpwent (void)
{
- while (true)
- {
- if (!cnt)
- {
- PDS_DOMAIN_TRUSTSW td;
-
- if (!resume)
- {
- ++resume;
- if (!nss_db_enum_primary ()
- || cldap.enumerate_ad_accounts (NULL, group) != NO_ERROR)
- continue;
- }
- else if ((td = cygheap->dom.trusted_domain (resume - 1)))
- {
- ++resume;
- /* Ignore primary domain in list of trusted domains only if all
- trusted domains are enumerated anyway. This handles an
- annoying backward compatibility problem in mkpasswd/mkgroup.
- Without this test, `mkpasswd -d PRIMARY_DOMAIN' wouldn't
- work as expected. */
- if (((enums & ENUM_TDOMS_ALL) && td->Flags & DS_DOMAIN_PRIMARY)
- || !td->DomainSid
- || (!nss_db_enum_tdom (td->NetbiosDomainName)
- && !nss_db_enum_tdom (td->DnsDomainName))
- || cldap.enumerate_ad_accounts (td->DnsDomainName, group)
- != NO_ERROR)
- continue;
- }
- else
- {
- cldap.close ();
- return NULL;
- }
- }
- ++cnt;
- cygsid sid;
- int ret = cldap.next_account (sid);
- if (ret == NO_ERROR)
- {
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg, &cldap);
- if (line)
- return pg.add_account_post_fetch (line, false);
- ret = EIO;
- }
- if (ret != ENMFILE)
- {
- cldap.close ();
- set_errno (ret);
- return NULL;
- }
- cnt = 0;
- }
-}
+ if (_my_tls.locals.pw_pos == 0)
+ pr.refresh (true);
+ if (_my_tls.locals.pw_pos < pr.curr_lines)
+ return passwd_buf + _my_tls.locals.pw_pos++;
-void *
-pw_ent::enumerate_caches ()
-{
- switch (max)
- {
- case 0:
- if (cygheap->pg.nss_cygserver_caching ())
- {
- pwdgrp &prc = cygheap->pg.pwd_cache.cygserver;
- if (cnt < prc.cached_users ())
- return &prc.passwd ()[cnt++].p;
- }
- cnt = 0;
- max = 1;
- /*FALLTHRU*/
- case 1:
- if (from_files)
- {
- pwdgrp &prf = cygheap->pg.pwd_cache.file;
- prf.check_file ();
- if (cnt < prf.cached_users ())
- return &prf.passwd ()[cnt++].p;
- }
- cnt = 0;
- max = 2;
- /*FALLTHRU*/
- default:
- if (from_db)
- {
- pwdgrp &prw = cygheap->pg.pwd_cache.win;
- if (cnt < prw.cached_users ())
- return &prw.passwd ()[cnt++].p;
- }
- break;
- }
- cnt = max = 0;
return NULL;
}
-void *
-pw_ent::enumerate_local ()
+#ifndef __x86_64__
+extern "C" struct passwd *
+getpwduid (__uid16_t)
{
return NULL;
}
-
-struct passwd *
-pw_ent::getpwent (void)
-{
- if (state == rewound)
- setent (false);
- else
- clear_cache ();
- return (struct passwd *) getent ();
-}
+#endif
extern "C" void
-setpwent ()
-{
- pwent.setpwent ();
-}
-
-extern "C" struct passwd *
-getpwent (void)
+setpwent (void)
{
- return pwent.getpwent ();
+ _my_tls.locals.pw_pos = 0;
}
extern "C" void
endpwent (void)
{
- pwent.endpwent ();
+ _my_tls.locals.pw_pos = 0;
}
-/* *_filtered functions are called from mkpasswd */
-void *
-setpwent_filtered (int enums, PCWSTR enum_tdoms)
-{
- pw_ent *pw = new pw_ent;
- if (pw)
- pw->setpwent (enums, enum_tdoms);
- return (void *) pw;
-}
-
-void *
-getpwent_filtered (void *pw)
-{
- return (void *) ((pw_ent *) pw)->getpwent ();
-}
-
-void
-endpwent_filtered (void *pw)
-{
- ((pw_ent *) pw)->endpwent ();
-}
-
-#ifndef __x86_64__
-extern "C" struct passwd *
-getpwduid (__uid16_t)
-{
- return NULL;
-}
-#endif
-
extern "C" int
setpassent (int)
{
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 631b169..0654562 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -4633,6 +4633,142 @@ out:
return buf;
}
+int etc::curr_ix = 0;
+/* Note that the first elements of the below arrays are unused */
+bool etc::change_possible[MAX_ETC_FILES + 1];
+OBJECT_ATTRIBUTES etc::fn[MAX_ETC_FILES + 1];
+LARGE_INTEGER etc::last_modified[MAX_ETC_FILES + 1];
+
+int
+etc::init (int n, POBJECT_ATTRIBUTES attr)
+{
+ if (n > 0)
+ /* ok */;
+ else if (++curr_ix <= MAX_ETC_FILES)
+ n = curr_ix;
+ else
+ api_fatal ("internal error");
+
+ fn[n] = *attr;
+ change_possible[n] = false;
+ test_file_change (n);
+ paranoid_printf ("fn[%d] %S, curr_ix %d", n, fn[n].ObjectName, curr_ix);
+ return n;
+}
+
+bool
+etc::test_file_change (int n)
+{
+ NTSTATUS status;
+ FILE_NETWORK_OPEN_INFORMATION fnoi;
+ bool res;
+
+ status = NtQueryFullAttributesFile (&fn[n], &fnoi);
+ if (!NT_SUCCESS (status))
+ {
+ res = status != STATUS_OBJECT_NAME_NOT_FOUND;
+ memset (last_modified + n, 0, sizeof (last_modified[n]));
+ debug_printf ("NtQueryFullAttributesFile (%S) failed, %y",
+ fn[n].ObjectName, status);
+ }
+ else
+ {
+ res = CompareFileTime ((FILETIME *) &fnoi.LastWriteTime,
+ (FILETIME *) last_modified + n) > 0;
+ last_modified[n].QuadPart = fnoi.LastWriteTime.QuadPart;
+ }
+
+ paranoid_printf ("fn[%d] %S res %d", n, fn[n].ObjectName, res);
+ return res;
+}
+
+bool
+etc::dir_changed (int n)
+{
+ /* io MUST be static because NtNotifyChangeDirectoryFile works asynchronously.
+ It may write into io after the function has left, which may result in all
+ sorts of stack corruption. */
+ static IO_STATUS_BLOCK io NO_COPY;
+ static HANDLE changed_h NO_COPY;
+
+ if (!change_possible[n])
+ {
+ NTSTATUS status;
+
+ if (!changed_h)
+ {
+ OBJECT_ATTRIBUTES attr;
+
+ path_conv dir ("/etc");
+ status = NtOpenFile (&changed_h, SYNCHRONIZE | FILE_LIST_DIRECTORY,
+ dir.get_object_attr (attr, sec_none_nih), &io,
+ FILE_SHARE_VALID_FLAGS, FILE_DIRECTORY_FILE);
+ if (!NT_SUCCESS (status))
+ {
+#ifdef DEBUGGING
+ system_printf ("NtOpenFile (%S) failed, %y",
+ dir.get_nt_native_path (), status);
+#endif
+ changed_h = INVALID_HANDLE_VALUE;
+ }
+ else
+ {
+ status = NtNotifyChangeDirectoryFile (changed_h, NULL, NULL,
+ NULL, &io, NULL, 0,
+ FILE_NOTIFY_CHANGE_LAST_WRITE
+ | FILE_NOTIFY_CHANGE_FILE_NAME,
+ FALSE);
+ if (!NT_SUCCESS (status))
+ {
+#ifdef DEBUGGING
+ system_printf ("NtNotifyChangeDirectoryFile (1) failed, %y",
+ status);
+#endif
+ NtClose (changed_h);
+ changed_h = INVALID_HANDLE_VALUE;
+ }
+ }
+ memset (change_possible, true, sizeof (change_possible));
+ }
+
+ if (changed_h == INVALID_HANDLE_VALUE)
+ change_possible[n] = true;
+ else if (WaitForSingleObject (changed_h, 0) == WAIT_OBJECT_0)
+ {
+ status = NtNotifyChangeDirectoryFile (changed_h, NULL, NULL,
+ NULL, &io, NULL, 0,
+ FILE_NOTIFY_CHANGE_LAST_WRITE
+ | FILE_NOTIFY_CHANGE_FILE_NAME,
+ FALSE);
+ if (!NT_SUCCESS (status))
+ {
+#ifdef DEBUGGING
+ system_printf ("NtNotifyChangeDirectoryFile (2) failed, %y",
+ status);
+#endif
+ NtClose (changed_h);
+ changed_h = INVALID_HANDLE_VALUE;
+ }
+ memset (change_possible, true, sizeof change_possible);
+ }
+ }
+
+ paranoid_printf ("fn[%d] %S change_possible %d",
+ n, fn[n].ObjectName, change_possible[n]);
+ return change_possible[n];
+}
+
+bool
+etc::file_changed (int n)
+{
+ bool res = false;
+ if (dir_changed (n) && test_file_change (n))
+ res = true;
+ change_possible[n] = false; /* Change is no longer possible */
+ paranoid_printf ("fn[%d] %S res %d", n, fn[n].ObjectName, res);
+ return res;
+}
+
/* No need to be reentrant or thread-safe according to SUSv3.
/ and \\ are treated equally. Leading drive specifiers are
kept intact as far as it makes sense. Everything else is
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index dfd8f02..d6c3860 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -447,4 +447,21 @@ int normalize_win32_path (const char *, char *, char *&);
int normalize_posix_path (const char *, char *, char *&);
PUNICODE_STRING __reg3 get_nt_native_path (const char *, UNICODE_STRING&, bool);
+/* FIXME: Move to own include file eventually */
+
+#define MAX_ETC_FILES 2
+class etc
+{
+ friend class dtable;
+ static int curr_ix;
+ static bool change_possible[MAX_ETC_FILES + 1];
+ static OBJECT_ATTRIBUTES fn[MAX_ETC_FILES + 1];
+ static LARGE_INTEGER last_modified[MAX_ETC_FILES + 1];
+ static bool dir_changed (int);
+ static int init (int, POBJECT_ATTRIBUTES);
+ static bool file_changed (int);
+ static bool test_file_change (int);
+ friend class pwdgrp;
+};
+
int __reg3 symlink_worker (const char *, const char *, bool);
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 4518d6d..5d9e748 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -41,7 +41,7 @@ pinfo_basic::pinfo_basic ()
GetModuleFileNameW (NULL, progname, sizeof (progname) / sizeof (WCHAR));
/* Default uid/gid are needed very early to initialize shared user info. */
uid = ILLEGAL_UID;
- gid = ILLEGAL_GID;
+ gid = UNKNOWN_GID;
}
pinfo_basic myself_initial NO_COPY;
@@ -100,7 +100,7 @@ pinfo_init (char **envp, int envc)
myself->pgid = myself->sid = myself->pid;
myself->ctty = -1;
myself->uid = ILLEGAL_UID;
- myself->gid = ILLEGAL_GID;
+ myself->gid = UNKNOWN_GID;
environ_init (NULL, 0); /* call after myself has been set up */
myself->nice = winprio_to_nice (GetPriorityClass (GetCurrentProcess ()));
myself->ppid = 1; /* always set last */
diff --git a/winsup/cygwin/pwdgrp.h b/winsup/cygwin/pwdgrp.h
index dfeef56..fe3c3f2 100644
--- a/winsup/cygwin/pwdgrp.h
+++ b/winsup/cygwin/pwdgrp.h
@@ -1,6 +1,6 @@
/* pwdgrp.h
- Copyright 2001, 2002, 2003, 2014 Red Hat inc.
+ Copyright 2001, 2002, 2003 Red Hat inc.
Stuff common to pwd and grp handling.
@@ -10,84 +10,42 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
-#pragma once
-
-#include "sync.h"
-#include "ldap.h"
-#include "miscfuncs.h"
-
/* These functions are needed to allow searching and walking through
the passwd and group lists */
-extern struct passwd *internal_getpwsid (cygpsid &, cyg_ldap * = NULL);
-extern struct passwd *internal_getpwsid_from_db (cygpsid &sid);
-extern struct passwd *internal_getpwnam (const char *, cyg_ldap * = NULL);
-extern struct passwd *internal_getpwuid (uid_t, cyg_ldap * = NULL);
-extern struct group *internal_getgrsid (cygpsid &, cyg_ldap * = NULL);
-extern struct group *internal_getgrsid_from_db (cygpsid &sid);
-extern struct group *internal_getgrgid (gid_t, cyg_ldap * = NULL);
-extern struct group *internal_getgrnam (const char *, cyg_ldap * = NULL);
-
-extern int internal_getgroups (int, gid_t *, cyg_ldap *);
-
-/* These functions are called from mkpasswd/mkgroup via cygwin_internal. */
-void *setpwent_filtered (int enums, PCWSTR enum_tdoms);
-void *getpwent_filtered (void *gr);
-void endpwent_filtered (void *gr);
-void *setgrent_filtered (int enums, PCWSTR enum_tdoms);
-void *getgrent_filtered (void *gr);
-void endgrent_filtered (void *gr);
-
-enum fetch_user_arg_type_t {
- SID_arg,
- NAME_arg,
- ID_arg
-};
-
-struct fetch_user_arg_t
-{
- fetch_user_arg_type_t type;
- union {
- cygpsid *sid;
- const char *name;
- uint32_t id;
- };
- /* Only used in fetch_account_from_file/line. */
- size_t len;
-};
-
-struct pg_pwd
-{
- struct passwd p;
- cygsid sid;
- size_t len;
-};
-
-struct pg_grp
-{
- struct group g;
- cygsid sid;
- size_t len;
-};
+extern struct passwd *internal_getpwsid (cygpsid &);
+extern struct passwd *internal_getpwnam (const char *, bool = FALSE);
+extern struct passwd *internal_getpwuid (uid_t, bool = FALSE);
+extern struct group *internal_getgrsid (cygpsid &);
+extern struct group *internal_getgrgid (gid_t gid, bool = FALSE);
+extern struct group *internal_getgrnam (const char *, bool = FALSE);
+extern struct group *internal_getgrent (int);
+int internal_getgroups (int, gid_t *, cygpsid * = NULL);
+#include "sync.h"
+#include "cygtls.h"
class pwdgrp
{
- friend class pg_ent;
- friend class pw_ent;
- friend class gr_ent;
-
unsigned pwdgrp_buf_elem_size;
- void *pwdgrp_buf;
+ union
+ {
+ passwd **passwd_buf;
+ group **group_buf;
+ void **pwdgrp_buf;
+ };
+ void (pwdgrp::*read) ();
bool (pwdgrp::*parse) ();
- UNICODE_STRING path;
- OBJECT_ATTRIBUTES attr;
- LARGE_INTEGER last_modified;
- char *lptr;
- ULONG curr_lines;
- ULONG max_lines;
+ int etc_ix;
+ UNICODE_STRING upath;
+ PWCHAR path;
+ char *buf, *lptr;
+ int max_lines;
+ bool initialized;
static muto pglock;
bool parse_passwd ();
bool parse_group ();
+ void read_passwd ();
+ void read_group ();
char *add_line (char *);
char *raw_ptr () const {return lptr;}
char *next_str (char);
@@ -106,157 +64,21 @@ class pwdgrp
i = (int) x;
return res;
}
- void *add_account_post_fetch (char *line, bool lock);
- void *add_account_from_file (cygpsid &sid);
- void *add_account_from_file (const char *name);
- void *add_account_from_file (uint32_t id);
- void *add_account_from_windows (cygpsid &sid, cyg_ldap *pldap = NULL);
- void *add_account_from_windows (const char *name, cyg_ldap *pldap = NULL);
- void *add_account_from_windows (uint32_t id, cyg_ldap *pldap = NULL);
- void *add_account_from_cygserver (cygpsid &sid);
- void *add_account_from_cygserver (const char *name);
- void *add_account_from_cygserver (uint32_t id);
- char *fetch_account_from_line (fetch_user_arg_t &arg, const char *line);
- char *fetch_account_from_file (fetch_user_arg_t &arg);
- char *fetch_account_from_windows (fetch_user_arg_t &arg,
- cyg_ldap *pldap = NULL);
- char *fetch_account_from_cygserver (fetch_user_arg_t &arg);
-
-public:
- ULONG cached_users () const { return curr_lines; }
- ULONG cached_groups () const { return curr_lines; }
- POBJECT_ATTRIBUTES file_attr () { return &attr; }
- bool check_file ();
-
- void init_pwd ();
- bool is_passwd () const { return pwdgrp_buf_elem_size == sizeof (pg_pwd); }
- pg_pwd *passwd () const { return (pg_pwd *) pwdgrp_buf; };
- struct passwd *add_user_from_cygserver (cygpsid &sid)
- { return (struct passwd *) add_account_from_cygserver (sid); }
- struct passwd *add_user_from_cygserver (const char *name)
- { return (struct passwd *) add_account_from_cygserver (name); }
- struct passwd *add_user_from_cygserver (uint32_t id)
- { return (struct passwd *) add_account_from_cygserver (id); }
- struct passwd *add_user_from_file (cygpsid &sid)
- { return (struct passwd *) add_account_from_file (sid); }
- struct passwd *add_user_from_file (const char *name)
- { return (struct passwd *) add_account_from_file (name); }
- struct passwd *add_user_from_file (uint32_t id)
- { return (struct passwd *) add_account_from_file (id); }
- struct passwd *add_user_from_windows (cygpsid &sid, cyg_ldap *pldap = NULL)
- { return (struct passwd *) add_account_from_windows (sid, pldap); }
- struct passwd *add_user_from_windows (const char *name,
- cyg_ldap* pldap = NULL)
- { return (struct passwd *) add_account_from_windows (name, pldap); }
- struct passwd *add_user_from_windows (uint32_t id, cyg_ldap *pldap = NULL)
- { return (struct passwd *) add_account_from_windows (id, pldap); }
- struct passwd *find_user (cygpsid &sid);
- struct passwd *find_user (const char *name);
- struct passwd *find_user (uid_t uid);
-
- void init_grp ();
- bool is_group () const { return pwdgrp_buf_elem_size == sizeof (pg_grp); }
- pg_grp *group () const { return (pg_grp *) pwdgrp_buf; };
- struct group *add_group_from_cygserver (cygpsid &sid)
- { return (struct group *) add_account_from_cygserver (sid); }
- struct group *add_group_from_cygserver (const char *name)
- { return (struct group *) add_account_from_cygserver (name); }
- struct group *add_group_from_cygserver (uint32_t id)
- { return (struct group *) add_account_from_cygserver (id); }
- struct group *add_group_from_file (cygpsid &sid)
- { return (struct group *) add_account_from_file (sid); }
- struct group *add_group_from_file (const char *name)
- { return (struct group *) add_account_from_file (name); }
- struct group *add_group_from_file (uint32_t id)
- { return (struct group *) add_account_from_file (id); }
- struct group *add_group_from_windows (cygpsid &sid, cyg_ldap *pldap = NULL)
- { return (struct group *) add_account_from_windows (sid, pldap); }
- struct group *add_group_from_windows (const char *name,
- cyg_ldap *pldap = NULL)
- { return (struct group *) add_account_from_windows (name, pldap); }
- struct group *add_group_from_windows (uint32_t id, cyg_ldap *pldap = NULL)
- { return (struct group *) add_account_from_windows (id, pldap); }
- struct group *find_group (cygpsid &sid);
- struct group *find_group (const char *name);
- struct group *find_group (gid_t gid);
-};
-
-class pg_ent
-{
-protected:
- pwdgrp pg;
- bool group;
- pg_pwd pwd;
- pg_grp grp;
- NT_readline rl;
- cyg_ldap cldap;
- PCHAR buf;
- ULONG cnt;
- ULONG max;
- ULONG_PTR resume;
- int enums; /* ENUM_xxx values defined in sys/cygwin.h. */
- PCWSTR enum_tdoms;
- bool from_files;
- bool from_db;
- enum {
- rewound = 0,
- from_cache,
- from_file,
- from_builtin,
- from_local,
- from_sam,
- from_ad,
- finished
- } state;
-
- void clear_cache ();
- inline bool nss_db_enum_caches () const { return !!(enums & ENUM_CACHE); }
- inline bool nss_db_enum_files () const { return !!(enums & ENUM_FILES); }
- inline bool nss_db_enum_builtin () const { return !!(enums & ENUM_BUILTIN); }
- inline bool nss_db_enum_local () const { return !!(enums & ENUM_LOCAL); }
- inline bool nss_db_enum_primary () const { return !!(enums & ENUM_PRIMARY); }
- inline bool nss_db_enum_tdom (PWCHAR domain)
- {
- if (enums & ENUM_TDOMS_ALL)
- return true;
- if (!(enums & ENUM_TDOMS) || !enum_tdoms || !domain)
- return false;
- for (PCWSTR td = enum_tdoms; td && *td; td = wcschr (td, L'\0'))
- if (!wcscasecmp (td, domain))
- return true;
- return false;
- }
- virtual void *enumerate_caches () = 0;
- virtual void *enumerate_file ();
- virtual void *enumerate_builtin ();
- virtual void *enumerate_local () = 0;
- virtual void *enumerate_sam ();
- virtual void *enumerate_ad ();
public:
- void setent (bool _group, int _enums = 0, PCWSTR _enum_tdoms = NULL);
- void *getent ();
- void endent (bool _group);
-};
+ int curr_lines;
-class pw_ent : public pg_ent
-{
- void *enumerate_caches ();
- void *enumerate_local ();
-public:
- inline void setpwent (int _enums = 0, PCWSTR _enum_tdoms = NULL)
- { setent (false, _enums, _enum_tdoms); }
- struct passwd *getpwent ();
- inline void endpwent () { endent (false); }
-};
+ void load (const wchar_t *);
+ inline void refresh (bool check)
+ {
+ if (!check && initialized)
+ return;
+ if (pglock.acquire () == 1 &&
+ (!initialized || (check && etc::file_changed (etc_ix))))
+ (this->*read) ();
+ pglock.release ();
+ }
-class gr_ent : public pg_ent
-{
- void *enumerate_caches ();
- void *enumerate_local ();
-public:
- inline void setgrent (int _enums = 0, PCWSTR _enum_tdoms = NULL)
- { setent (true, _enums, _enum_tdoms); }
- struct group *getgrent ();
- inline void endgrent () { endent (true); }
+ pwdgrp (passwd *&pbuf);
+ pwdgrp (group *&gbuf);
};
diff --git a/winsup/cygwin/release/1.7.32 b/winsup/cygwin/release/1.7.32
index 4002164..e4386b7 100644
--- a/winsup/cygwin/release/1.7.32
+++ b/winsup/cygwin/release/1.7.32
@@ -1,15 +1,23 @@
What's new:
-----------
-- Introduce reading passwd/group entries directly from SAM/AD, thus allowing
- to do without /etc/passwd and /etc/group files. Introduce /etc/nsswitch.conf
- file to configure passwd/group handling.
+- Export __cxa_atexit and __cxa_finalize to allow C++ standards-compliant
+ destructor handling in libstdc++ and g++ compiled code.
+ Please note that, in order to benefit from this new feature, C++ code
+ must be recompiled with the upcoming gcc 4.8.3-3 release which will
+ enable the -fuse-cxa-atexit flag by default, and that C++ applications
+ using this feature will not run on older Cygwin releases.
-What changed:
--------------
+- Support more recent CPU flags in /proc/cpuinfo.
Bug Fixes
---------
+- Decorate attribute names with __, for namespace safety in various header
+ files.
+ Addresses: https://cygwin.com/ml/cygwin/2014-07/msg00371.html
+
+- Fix sys/file.h for using in C++ code.
+ Addresses: https://cygwin.com/ml/cygwin/2014-08/msg00122.html
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index ec58760..2f7ac27 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1,7 +1,7 @@
/* sec_acl.cc: Sun compatible ACL functions.
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- 2011, 2012, 2014 Red Hat, Inc.
+ 2011, 2012 Red Hat, Inc.
Written by Corinna Vinschen <corinna@vinschen.de>
@@ -22,6 +22,7 @@ details. */
#include "dtable.h"
#include "cygheap.h"
#include "ntdll.h"
+#include "pwdgrp.h"
#include "tls_pbuf.h"
static int
@@ -94,7 +95,6 @@ setacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp,
struct passwd *pw;
struct group *gr;
int pos;
- cyg_ldap cldap;
RtlCreateAcl (acl, ACL_MAXIMUM_SIZE, ACL_REVISION);
@@ -158,7 +158,7 @@ setacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp,
break;
case USER:
case DEF_USER:
- if (!(pw = internal_getpwuid (aclbufp[i].a_id, &cldap))
+ if (!(pw = internal_getpwuid (aclbufp[i].a_id))
|| !sid.getfrompw (pw))
{
set_errno (EINVAL);
@@ -180,7 +180,7 @@ setacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp,
break;
case GROUP:
case DEF_GROUP:
- if (!(gr = internal_getgrgid (aclbufp[i].a_id, &cldap))
+ if (!(gr = internal_getgrgid (aclbufp[i].a_id))
|| !sid.getfromgr (gr))
{
set_errno (EINVAL);
@@ -283,7 +283,6 @@ getacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp)
BOOLEAN dummy;
uid_t uid;
gid_t gid;
- cyg_ldap cldap;
status = RtlGetOwnerSecurityDescriptor (sd, (PSID *) &owner_sid, &dummy);
if (!NT_SUCCESS (status))
@@ -291,7 +290,7 @@ getacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp)
__seterrno_from_nt_status (status);
return -1;
}
- uid = owner_sid.get_uid (&cldap);
+ uid = owner_sid.get_uid ();
status = RtlGetGroupSecurityDescriptor (sd, (PSID *) &group_sid, &dummy);
if (!NT_SUCCESS (status))
@@ -299,7 +298,7 @@ getacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp)
__seterrno_from_nt_status (status);
return -1;
}
- gid = group_sid.get_gid (&cldap);
+ gid = group_sid.get_gid ();
aclent_t lacl[MAX_ACL_ENTRIES];
memset (&lacl, 0, MAX_ACL_ENTRIES * sizeof (aclent_t));
@@ -369,7 +368,7 @@ getacl (HANDLE handle, path_conv &pc, int nentries, aclent_t *aclbufp)
id = ILLEGAL_GID;
}
else
- id = ace_sid.get_id (TRUE, &type, &cldap);
+ id = ace_sid.get_id (true, &type);
if (!type)
continue;
@@ -838,7 +837,6 @@ aclfromtext32 (char *acltextp, int *)
int pos = 0;
strcpy (buf, acltextp);
char *lasts;
- cyg_ldap cldap;
for (char *c = strtok_r (buf, ",", &lasts);
c;
c = strtok_r (NULL, ",", &lasts))
@@ -858,7 +856,7 @@ aclfromtext32 (char *acltextp, int *)
c += 5;
if (isalpha (*c))
{
- struct passwd *pw = internal_getpwnam (c, &cldap);
+ struct passwd *pw = internal_getpwnam (c);
if (!pw)
{
set_errno (EINVAL);
@@ -886,7 +884,7 @@ aclfromtext32 (char *acltextp, int *)
c += 5;
if (isalpha (*c))
{
- struct group *gr = internal_getgrnam (c, &cldap);
+ struct group *gr = internal_getgrnam (c);
if (!gr)
{
set_errno (EINVAL);
diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc
index 3615588..2cdce8b 100644
--- a/winsup/cygwin/sec_auth.cc
+++ b/winsup/cygwin/sec_auth.cc
@@ -14,6 +14,7 @@ details. */
#include <wchar.h>
#include <wininet.h>
#include <ntsecapi.h>
+#include <dsgetdc.h>
#include "cygerrno.h"
#include "security.h"
#include "path.h"
@@ -24,6 +25,7 @@ details. */
#include "tls_pbuf.h"
#include <lm.h>
#include <iptypes.h>
+#include "pwdgrp.h"
#include "cyglsa.h"
#include "cygserver_setpwd.h"
#include <cygwin/version.h>
@@ -219,27 +221,28 @@ lsa_close_policy (HANDLE lsa)
}
bool
-get_logon_server (PWCHAR domain, WCHAR *server, ULONG flags)
+get_logon_server (PWCHAR domain, WCHAR *server, bool rediscovery)
{
DWORD ret;
PDOMAIN_CONTROLLER_INFOW pci;
+ DWORD size = MAX_COMPUTERNAME_LENGTH + 1;
/* Empty domain is interpreted as local system */
- if (cygheap->dom.init ()
- && (!domain[0]
- || !wcscasecmp (domain, cygheap->dom.account_flat_name ())))
+ if ((GetComputerNameW (server + 2, &size)) &&
+ (!wcscasecmp (domain, server + 2) || !domain[0]))
{
- wcpcpy (wcpcpy (server, L"\\\\"), cygheap->dom.account_flat_name ());
+ server[0] = server[1] = L'\\';
return true;
}
/* Try to get any available domain controller for this domain */
- ret = DsGetDcNameW (NULL, domain, NULL, NULL, flags, &pci);
+ ret = DsGetDcNameW (NULL, domain, NULL, NULL,
+ rediscovery ? DS_FORCE_REDISCOVERY : 0, &pci);
if (ret == ERROR_SUCCESS)
{
wcscpy (server, pci->DomainControllerName);
NetApiBufferFree (pci);
- debug_printf ("DC: server: %W", server);
+ debug_printf ("DC: rediscovery: %d, server: %W", rediscovery, server);
return true;
}
__seterrno_from_win_error (ret);
@@ -278,7 +281,7 @@ get_user_groups (WCHAR *logonserver, cygsidlist &grp_list,
for (DWORD i = 0; i < cnt; ++i)
{
cygsid gsid;
- DWORD glen = SECURITY_MAX_SID_SIZE;
+ DWORD glen = MAX_SID_LEN;
WCHAR dom[MAX_DOMAIN_NAME_LEN + 1];
DWORD dlen = sizeof (dom);
SID_NAME_USE use = SidTypeInvalid;
@@ -326,7 +329,7 @@ get_user_local_groups (PWCHAR logonserver, PWCHAR domain,
for (DWORD i = 0; i < cnt; ++i)
{
cygsid gsid;
- DWORD glen = SECURITY_MAX_SID_SIZE;
+ DWORD glen = MAX_SID_LEN;
WCHAR dom[MAX_DOMAIN_NAME_LEN + 1];
DWORD domlen = MAX_DOMAIN_NAME_LEN + 1;
@@ -362,7 +365,7 @@ get_user_local_groups (PWCHAR logonserver, PWCHAR domain,
if (bg_ptr)
{
wcscpy (bg_ptr, dg_ptr);
- glen = SECURITY_MAX_SID_SIZE;
+ glen = MAX_SID_LEN;
domlen = MAX_DOMAIN_NAME_LEN + 1;
if (LookupAccountNameW (NULL, builtin_grp, gsid, &glen,
dom, &domlen, &use))
@@ -395,6 +398,28 @@ sid_in_token_groups (PTOKEN_GROUPS grps, cygpsid sid)
}
static void
+get_unix_group_sidlist (struct passwd *pw, cygsidlist &grp_list)
+{
+ struct group *gr;
+ cygsid gsid;
+
+ for (int gidx = 0; (gr = internal_getgrent (gidx)); ++gidx)
+ {
+ if (gr->gr_gid == pw->pw_gid)
+ goto found;
+ else if (gr->gr_mem)
+ for (int gi = 0; gr->gr_mem[gi]; ++gi)
+ if (strcasematch (pw->pw_name, gr->gr_mem[gi]))
+ goto found;
+ continue;
+ found:
+ if (gsid.getfromgr (gr))
+ grp_list += gsid;
+
+ }
+}
+
+static void
get_token_group_sidlist (cygsidlist &grp_list, PTOKEN_GROUPS my_grps,
LUID auth_luid, int &auth_pos)
{
@@ -455,6 +480,7 @@ get_server_groups (cygsidlist &grp_list, PSID usersid, struct passwd *pw)
if (well_known_system_sid == usersid)
{
grp_list *= well_known_admins_sid;
+ get_unix_group_sidlist (pw, grp_list);
return true;
}
@@ -466,16 +492,12 @@ get_server_groups (cygsidlist &grp_list, PSID usersid, struct passwd *pw)
__seterrno ();
return false;
}
- /* If the SID does NOT start with S-1-5-21, the domain is some builtin
- domain. The search for a logon server and fetching group accounts
- is moot. */
- if (sid_id_auth (usersid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (usersid, 0) == SECURITY_NT_NON_UNIQUE
- && get_logon_server (domain, server, DS_IS_FLAT_NAME))
- {
- get_user_groups (server, grp_list, user, domain);
- get_user_local_groups (server, domain, grp_list, user);
- }
+ if (get_logon_server (domain, server, false)
+ && !get_user_groups (server, grp_list, user, domain)
+ && get_logon_server (domain, server, true))
+ get_user_groups (server, grp_list, user, domain);
+ get_user_local_groups (server, domain, grp_list, user);
+ get_unix_group_sidlist (pw, grp_list);
return true;
}
@@ -683,7 +705,7 @@ verify_token (HANDLE token, cygsid &usersid, user_groups &groups, bool *pintern)
*pintern = intern = !memcmp (ts.SourceName, "Cygwin.1", 8);
}
/* Verify usersid */
- cygsid tok_usersid (NO_SID);
+ cygsid tok_usersid = NO_SID;
status = NtQueryInformationToken (token, TokenUser, &tok_usersid,
sizeof tok_usersid, &size);
if (!NT_SUCCESS (status))
@@ -695,8 +717,7 @@ verify_token (HANDLE token, cygsid &usersid, user_groups &groups, bool *pintern)
is not well_known_null_sid, it must match pgrpsid */
if (intern && !groups.issetgroups ())
{
- const DWORD sd_buf_siz = SECURITY_MAX_SID_SIZE
- + sizeof (SECURITY_DESCRIPTOR);
+ const DWORD sd_buf_siz = MAX_SID_LEN + sizeof (SECURITY_DESCRIPTOR);
PSECURITY_DESCRIPTOR sd_buf = (PSECURITY_DESCRIPTOR) alloca (sd_buf_siz);
cygpsid gsid (NO_SID);
NTSTATUS status;
@@ -737,26 +758,35 @@ verify_token (HANDLE token, cygsid &usersid, user_groups &groups, bool *pintern)
if (groups.issetgroups ()) /* setgroups was called */
{
- cygpsid gsid;
+ cygsid gsid;
+ struct group *gr;
bool saw[groups.sgsids.count ()];
-
- /* Check that all groups in the setgroups () list are in the token.
- A token created through ADVAPI should be allowed to contain more
- groups than requested through setgroups(), especially since Vista
- and the addition of integrity groups. */
memset (saw, 0, sizeof(saw));
- for (int gidx = 0; gidx < groups.sgsids.count (); gidx++)
- {
- gsid = groups.sgsids.sids[gidx];
- if (sid_in_token_groups (my_grps, gsid))
- {
- int pos = groups.sgsids.position (gsid);
- if (pos >= 0)
- saw[pos] = true;
- else if (groups.pgsid == gsid)
- sawpg = true;
- }
- }
+
+ /* token groups found in /etc/group match the user.gsids ? */
+ for (int gidx = 0; (gr = internal_getgrent (gidx)); ++gidx)
+ if (gsid.getfromgr (gr) && sid_in_token_groups (my_grps, gsid))
+ {
+ int pos = groups.sgsids.position (gsid);
+ if (pos >= 0)
+ saw[pos] = true;
+ else if (groups.pgsid == gsid)
+ sawpg = true;
+#if 0
+ /* With this `else', verify_token returns false if we find
+ groups in the token, which are not in the group list set
+ with setgroups(). That's rather dangerous. What we're
+ really interested in is that all groups in the setgroups()
+ list are in the token. A token created through ADVAPI
+ should be allowed to contain more groups than requested
+ through setgroups(), esecially since Vista and the
+ addition of integrity groups. So we disable this statement
+ for now. */
+ else if (gsid != well_known_world_sid
+ && gsid != usersid)
+ goto done;
+#endif
+ }
/* user.sgsids groups must be in the token, except for builtin groups.
These can be different on domain member machines compared to
domain controllers, so these builtin groups may be validly missing
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 946e78a..2d81cbd 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -1,7 +1,7 @@
/* sec_helper.cc: NT security helper functions
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2011, 2012, 2013 Red Hat, Inc.
Written by Corinna Vinschen <corinna@vinschen.de>
@@ -22,8 +22,8 @@ details. */
#include "dtable.h"
#include "pinfo.h"
#include "cygheap.h"
+#include "pwdgrp.h"
#include "ntdll.h"
-#include "ldap.h"
/* General purpose security attribute objects for global use. */
static NO_COPY_RO SECURITY_DESCRIPTOR null_sdp =
@@ -66,10 +66,6 @@ MKSID (well_known_this_org_sid, "S-1-5-15",
SECURITY_NT_AUTHORITY, 1, 15);
MKSID (well_known_system_sid, "S-1-5-18",
SECURITY_NT_AUTHORITY, 1, SECURITY_LOCAL_SYSTEM_RID);
-MKSID (well_known_local_service_sid, "S-1-5-19",
- SECURITY_NT_AUTHORITY, 1, SECURITY_LOCAL_SERVICE_RID);
-MKSID (well_known_network_service_sid, "S-1-5-20",
- SECURITY_NT_AUTHORITY, 1, SECURITY_NETWORK_SERVICE_RID);
MKSID (well_known_builtin_sid, "S-1-5-32",
SECURITY_NT_AUTHORITY, 1, SECURITY_BUILTIN_DOMAIN_RID);
MKSID (well_known_admins_sid, "S-1-5-32-544",
@@ -78,11 +74,6 @@ MKSID (well_known_admins_sid, "S-1-5-32-544",
MKSID (well_known_users_sid, "S-1-5-32-545",
SECURITY_NT_AUTHORITY, 2, SECURITY_BUILTIN_DOMAIN_RID,
DOMAIN_ALIAS_RID_USERS);
-MKSID (trusted_installer_sid,
- "S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464",
- SECURITY_NT_AUTHORITY, SECURITY_SERVICE_ID_RID_COUNT,
- SECURITY_SERVICE_ID_BASE_RID, 956008885U, 3418522649U, 1831038044U,
- 1853292631U, 2271478464U);
MKSID (mandatory_medium_integrity_sid, "S-1-16-8192",
SECURITY_MANDATORY_LABEL_AUTHORITY, 1, SECURITY_MANDATORY_MEDIUM_RID);
MKSID (mandatory_high_integrity_sid, "S-1-16-12288",
@@ -102,7 +93,7 @@ cygpsid::operator== (const char *nsidstr) const
}
uid_t
-cygpsid::get_id (BOOL search_grp, int *type, cyg_ldap *pldap)
+cygpsid::get_id (BOOL search_grp, int *type)
{
/* First try to get SID from group, then passwd */
uid_t id = ILLEGAL_UID;
@@ -112,27 +103,9 @@ cygpsid::get_id (BOOL search_grp, int *type, cyg_ldap *pldap)
struct group *gr;
if (cygheap->user.groups.pgsid == psid)
id = myself->gid;
- else if (sid_id_auth (psid) == 22)
- {
- /* Samba UNIX group. Try to map to Cygwin gid. If there's no
- mapping in the cache, try to fetch it from the configured
- RFC 2307 domain (see last comment in cygheap_domain_info::init()
- for more information) and add it to the mapping cache. */
- gid_t gid = sid_sub_auth_rid (psid);
- gid_t map_gid = cygheap->ugid_cache.get_gid (gid);
- if (map_gid == ILLEGAL_GID)
- {
- if (pldap->open (cygheap->dom.get_rfc2307_domain ()) == NO_ERROR)
- map_gid = pldap->remap_gid (gid);
- if (map_gid == ILLEGAL_GID)
- map_gid = MAP_UNIX_TO_CYGWIN_ID (gid);
- cygheap->ugid_cache.add_gid (gid, map_gid);
- }
- id = (uid_t) map_gid;
- }
- else if ((gr = internal_getgrsid (*this, pldap)))
+ else if ((gr = internal_getgrsid (*this)))
id = gr->gr_gid;
- if ((gid_t) id != ILLEGAL_GID)
+ if (id != ILLEGAL_UID)
{
if (type)
*type = GROUP;
@@ -144,22 +117,7 @@ cygpsid::get_id (BOOL search_grp, int *type, cyg_ldap *pldap)
struct passwd *pw;
if (*this == cygheap->user.sid ())
id = myself->uid;
- else if (sid_id_auth (psid) == 22)
- {
- /* Samba UNIX user. See comment above. */
- uid_t uid = sid_sub_auth_rid (psid);
- uid_t map_uid = cygheap->ugid_cache.get_uid (uid);
- if (map_uid == ILLEGAL_UID)
- {
- if (pldap->open (cygheap->dom.get_rfc2307_domain ()) == NO_ERROR)
- map_uid = pldap->remap_uid (uid);
- if (map_uid == ILLEGAL_UID)
- map_uid = MAP_UNIX_TO_CYGWIN_ID (uid);
- cygheap->ugid_cache.add_uid (uid, map_uid);
- }
- id = map_uid;
- }
- else if ((pw = internal_getpwsid (*this, pldap)))
+ else if ((pw = internal_getpwsid (*this)))
id = pw->pw_uid;
if (id != ILLEGAL_UID && type)
*type = USER;
@@ -168,7 +126,7 @@ cygpsid::get_id (BOOL search_grp, int *type, cyg_ldap *pldap)
}
PWCHAR
-cygpsid::pstring (PWCHAR nsidstr) const
+cygpsid::string (PWCHAR nsidstr) const
{
UNICODE_STRING sid;
@@ -176,19 +134,11 @@ cygpsid::pstring (PWCHAR nsidstr) const
return NULL;
RtlInitEmptyUnicodeString (&sid, nsidstr, 256);
RtlConvertSidToUnicodeString (&sid, psid, FALSE);
- return nsidstr + sid.Length / sizeof (WCHAR);
-}
-
-PWCHAR
-cygpsid::string (PWCHAR nsidstr) const
-{
- if (pstring (nsidstr))
- return nsidstr;
- return NULL;
+ return nsidstr;
}
char *
-cygpsid::pstring (char *nsidstr) const
+cygpsid::string (char *nsidstr) const
{
char *t;
DWORD i;
@@ -197,18 +147,10 @@ cygpsid::pstring (char *nsidstr) const
return NULL;
strcpy (nsidstr, "S-1-");
t = nsidstr + sizeof ("S-1-") - 1;
- t += __small_sprintf (t, "%u", sid_id_auth (psid));
- for (i = 0; i < sid_sub_auth_count (psid); ++i)
- t += __small_sprintf (t, "-%lu", sid_sub_auth (psid, i));
- return t;
-}
-
-char *
-cygpsid::string (char *nsidstr) const
-{
- if (pstring (nsidstr))
- return nsidstr;
- return NULL;
+ t += __small_sprintf (t, "%u", RtlIdentifierAuthoritySid (psid)->Value[5]);
+ for (i = 0; i < *RtlSubAuthorityCountSid (psid); ++i)
+ t += __small_sprintf (t, "-%lu", *RtlSubAuthoritySid (psid, i));
+ return nsidstr;
}
PSID
@@ -218,7 +160,7 @@ cygsid::get_sid (DWORD s, DWORD cnt, DWORD *r, bool well_known)
SID_IDENTIFIER_AUTHORITY sid_auth = { SECURITY_NULL_SID_AUTHORITY };
# define SECURITY_NT_AUTH 5
- if (s > 255 || cnt < 1 || cnt > SID_MAX_SUB_AUTHORITIES)
+ if (s > 255 || cnt < 1 || cnt > 8)
{
psid = NO_SID;
return NULL;
@@ -226,9 +168,8 @@ cygsid::get_sid (DWORD s, DWORD cnt, DWORD *r, bool well_known)
sid_auth.Value[5] = s;
set ();
RtlInitializeSid (psid, &sid_auth, cnt);
- PISID dsid = (PISID) psid;
for (i = 0; i < cnt; ++i)
- dsid->SubAuthority[i] = r[i];
+ memcpy ((char *) psid + 8 + sizeof (DWORD) * i, &r[i], sizeof (DWORD));
/* If the well_known flag isn't set explicitely, we check the SID
for being a well-known SID ourselves. That's necessary because this
cygsid is created from a SID string, usually from /etc/passwd or
@@ -244,34 +185,16 @@ cygsid::get_sid (DWORD s, DWORD cnt, DWORD *r, bool well_known)
}
const PSID
-cygsid::getfromstr (PCWSTR nsidstr, bool well_known)
-{
- PWCHAR lasts;
- DWORD s, cnt = 0;
- DWORD r[SID_MAX_SUB_AUTHORITIES];
-
- if (nsidstr && !wcsncmp (nsidstr, L"S-1-", 4))
- {
- s = wcstoul (nsidstr + 4, &lasts, 10);
- while (cnt < SID_MAX_SUB_AUTHORITIES && *lasts == '-')
- r[cnt++] = wcstoul (lasts + 1, &lasts, 10);
- if (!*lasts)
- return get_sid (s, cnt, r, well_known);
- }
- return psid = NO_SID;
-}
-
-const PSID
cygsid::getfromstr (const char *nsidstr, bool well_known)
{
char *lasts;
DWORD s, cnt = 0;
- DWORD r[SID_MAX_SUB_AUTHORITIES];
+ DWORD r[8];
if (nsidstr && !strncmp (nsidstr, "S-1-", 4))
{
s = strtoul (nsidstr + 4, &lasts, 10);
- while (cnt < SID_MAX_SUB_AUTHORITIES && *lasts == '-')
+ while (cnt < 8 && *lasts == '-')
r[cnt++] = strtoul (lasts + 1, &lasts, 10);
if (!*lasts)
return get_sid (s, cnt, r, well_known);
@@ -338,24 +261,41 @@ cygsidlist::add (const PSID nsi, bool well_known)
bool
get_sids_info (cygpsid owner_sid, cygpsid group_sid, uid_t * uidret, gid_t * gidret)
{
- BOOL ret = false;
- cyg_ldap cldap;
+ struct passwd *pw;
+ struct group *gr = NULL;
+ bool ret = false;
owner_sid.debug_print ("get_sids_info: owner SID =");
group_sid.debug_print ("get_sids_info: group SID =");
- *uidret = owner_sid.get_uid (&cldap);
- *gidret = group_sid.get_gid (&cldap);
- if (*uidret == myself->uid)
+ if (group_sid == cygheap->user.groups.pgsid)
+ *gidret = myself->gid;
+ else if ((gr = internal_getgrsid (group_sid)))
+ *gidret = gr->gr_gid;
+ else
+ *gidret = ILLEGAL_GID;
+
+ if (owner_sid == cygheap->user.sid ())
{
+ *uidret = myself->uid;
if (*gidret == myself->gid)
- ret = TRUE;
+ ret = true;
else
- CheckTokenMembership (cygheap->user.issetuid ()
- ? cygheap->user.imp_token () : NULL,
- group_sid, &ret);
+ ret = (internal_getgroups (0, NULL, &group_sid) > 0);
+ }
+ else if ((pw = internal_getpwsid (owner_sid)))
+ {
+ *uidret = pw->pw_uid;
+ if (gr || (*gidret != ILLEGAL_GID
+ && (gr = internal_getgrgid (*gidret))))
+ for (int idx = 0; gr->gr_mem[idx]; ++idx)
+ if ((ret = strcasematch (pw->pw_name, gr->gr_mem[idx])))
+ break;
}
- return (bool) ret;
+ else
+ *uidret = ILLEGAL_UID;
+
+ return ret;
}
PSECURITY_DESCRIPTOR
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 07b3fa0..251e960 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -1,7 +1,7 @@
/* security.cc: NT file access control functions
Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
Originaly written by Gunther Ebert, gunther.ebert@ixos-leipzig.de
Completely rewritten by Corinna Vinschen <corinna@vinschen.de>
@@ -23,6 +23,7 @@ details. */
#include "pinfo.h"
#include "cygheap.h"
#include "ntdll.h"
+#include "pwdgrp.h"
#include "tls_pbuf.h"
#include <aclapi.h>
@@ -1046,95 +1047,6 @@ check_access (security_descriptor &sd, GENERIC_MAPPING &mapping,
return ret;
}
-/* Samba override. Check security descriptor for Samba UNIX user and group
- accounts and check if we have an RFC 2307 mapping to a Windows account.
- Create a new security descriptor with all of the UNIX acocunts with
- valid mapping replaced with their WIndows counterpart. */
-static void
-convert_samba_sd (security_descriptor &sd_ret)
-{
- NTSTATUS status;
- BOOLEAN dummy;
- PSID sid;
- cygsid owner;
- cygsid group;
- SECURITY_DESCRIPTOR sd;
- cyg_ldap cldap;
- tmp_pathbuf tp;
- PACL acl, oacl;
- size_t acl_len;
- PACCESS_ALLOWED_ACE ace;
-
- if (!NT_SUCCESS (RtlGetOwnerSecurityDescriptor (sd_ret, &sid, &dummy)))
- return;
- owner = sid;
- if (!NT_SUCCESS (RtlGetGroupSecurityDescriptor (sd_ret, &sid, &dummy)))
- return;
- group = sid;
-
- if (sid_id_auth (owner) == 22)
- {
- struct passwd *pwd;
- uid_t uid = owner.get_uid (&cldap);
- if (uid < UNIX_POSIX_OFFSET && (pwd = internal_getpwuid (uid)))
- owner.getfrompw (pwd);
- }
- if (sid_id_auth (group) == 22)
- {
- struct group *grp;
- gid_t gid = group.get_gid (&cldap);
- if (gid < UNIX_POSIX_OFFSET && (grp = internal_getgrgid (gid)))
- group.getfromgr (grp);
- }
-
- if (!NT_SUCCESS (RtlGetDaclSecurityDescriptor (sd_ret, &dummy,
- &oacl, &dummy)))
- return;
- acl = (PACL) tp.w_get ();
- RtlCreateAcl (acl, ACL_MAXIMUM_SIZE, ACL_REVISION);
- acl_len = sizeof (ACL);
-
- for (DWORD i = 0; i < oacl->AceCount; ++i)
- if (NT_SUCCESS (RtlGetAce (oacl, i, (PVOID *) &ace)))
- {
- cygsid ace_sid ((PSID) &ace->SidStart);
- if (sid_id_auth (ace_sid) == 22)
- {
- if (sid_sub_auth (ace_sid, 0) == 1) /* user */
- {
- struct passwd *pwd;
- uid_t uid = ace_sid.get_uid (&cldap);
- if (uid < UNIX_POSIX_OFFSET && (pwd = internal_getpwuid (uid)))
- ace_sid.getfrompw (pwd);
- }
- else /* group */
- {
- struct group *grp;
- gid_t gid = ace_sid.get_gid (&cldap);
- if (gid < UNIX_POSIX_OFFSET && (grp = internal_getgrgid (gid)))
- ace_sid.getfromgr (grp);
- }
- if (!add_access_allowed_ace (acl, i, ace->Mask, ace_sid, acl_len,
- ace->Header.AceFlags))
- return;
- }
- }
- acl->AclSize = acl_len;
-
- RtlCreateSecurityDescriptor (&sd, SECURITY_DESCRIPTOR_REVISION);
- RtlSetControlSecurityDescriptor (&sd, SE_DACL_PROTECTED, SE_DACL_PROTECTED);
- RtlSetOwnerSecurityDescriptor (&sd, owner, FALSE);
- RtlSetGroupSecurityDescriptor (&sd, group, FALSE);
-
- status = RtlSetDaclSecurityDescriptor (&sd, TRUE, acl, FALSE);
- if (!NT_SUCCESS (status))
- return;
- DWORD sd_size = 0;
- status = RtlAbsoluteToSelfRelativeSD (&sd, sd_ret, &sd_size);
- if (sd_size > 0 && sd_ret.malloc (sd_size))
- RtlAbsoluteToSelfRelativeSD (&sd, sd_ret, &sd_size);
-}
-
int
check_file_access (path_conv &pc, int flags, bool effective)
{
@@ -1148,12 +1060,7 @@ check_file_access (path_conv &pc, int flags, bool effective)
if (flags & X_OK)
desired |= FILE_EXECUTE;
if (!get_file_sd (pc.handle (), pc, sd, false))
- {
- /* Tweak Samba security descriptor as necessary. */
- if (pc.fs_is_samba ())
- convert_samba_sd (sd);
- ret = check_access (sd, file_mapping, desired, flags, effective);
- }
+ ret = check_access (sd, file_mapping, desired, flags, effective);
debug_printf ("flags %y, ret %d", flags, ret);
return ret;
}
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h
index eb3e0f1..940afc5 100644
--- a/winsup/cygwin/security.h
+++ b/winsup/cygwin/security.h
@@ -12,51 +12,18 @@ details. */
#pragma once
#include <accctrl.h>
-#include <dsgetdc.h>
/* Special file attribute set, for instance, in open() and mkdir() to
flag that a file has just been created. Used in alloc_sd, see there. */
#define S_JUSTCREATED 0x80000000
-/* UID/GID */
-void uinfo_init ();
-
-#define ILLEGAL_UID ((uid_t)-1)
-#define ILLEGAL_GID ((gid_t)-1)
-
-/* Offset for accounts in the primary domain of the machine. */
-#define PRIMARY_POSIX_OFFSET (0x00100000)
-
-/* Fake POSIX offsets used in scenarios in which the account has no permission
- to fetch the POSIX offset, or when the admins have set the offset to an
- unreasonable low value. The values are chosen in the hope that they won't
- collide with "real" offsets. */
-#define NOACCESS_POSIX_OFFSET (0xfe500000)
-#define UNUSABLE_POSIX_OFFSET (0xfea00000)
-
-/* For UNIX accounts not mapped to Windows accounts via winbind, Samba returns
- SIDs of the form S-1-22-x-y, with x == 1 for users and x == 2 for groups,
- and y == UNIX uid/gid. NFS returns no SIDs at all, but the plain UNIX
- uid/gid values.
-
- UNIX uid/gid values are mapped to Cygwin uid/gid values 0xff000000 +
- unix uid/gid. This *might* collide with a posix_offset of some trusted
- domain, but it's *very* unlikely. Define the mapping as macro. */
-#define UNIX_POSIX_OFFSET (0xff000000)
-#define UNIX_POSIX_MASK (0x00ffffff)
-#define MAP_UNIX_TO_CYGWIN_ID(id) (UNIX_POSIX_OFFSET \
- | ((id) & UNIX_POSIX_MASK))
-
-#ifndef __x86_64__
-#define ILLEGAL_UID16 ((__uid16_t)-1)
-#define ILLEGAL_GID16 ((__gid16_t)-1)
-#define uid16touid32(u16) ((u16)==ILLEGAL_UID16?ILLEGAL_UID:(uid_t)(u16))
-#define gid16togid32(g16) ((g16)==ILLEGAL_GID16?ILLEGAL_GID:(gid_t)(g16))
-#endif
+#define DEFAULT_UID DOMAIN_USER_RID_ADMIN
+#define UNKNOWN_UID 400 /* Non conflicting number */
+#define UNKNOWN_GID 401
+#define MAX_SID_LEN 40
#define MAX_DACL_LEN(n) (sizeof (ACL) \
- + (n) * (sizeof (ACCESS_ALLOWED_ACE) - sizeof (DWORD) \
- + SECURITY_MAX_SID_SIZE))
+ + (n) * (sizeof (ACCESS_ALLOWED_ACE) - sizeof (DWORD) + MAX_SID_LEN))
#define SD_MIN_SIZE (sizeof (SECURITY_DESCRIPTOR) + MAX_DACL_LEN (1))
#define ACL_MAXIMUM_SIZE 65532 /* Yeah, right. 64K - sizeof (DWORD). */
#define SD_MAXIMUM_SIZE 65536
@@ -108,7 +75,7 @@ typedef struct {
BYTE Revision;
BYTE SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
- DWORD SubAuthority[SID_MAX_SUB_AUTHORITIES];
+ DWORD SubAuthority[8];
} DBGSID, *PDBGSID;
/* Macro to define variable length SID structures */
@@ -125,16 +92,6 @@ cygpsid NO_COPY name = (PSID) &name##_struct;
#define FILE_WRITE_BITS (FILE_WRITE_DATA | GENERIC_WRITE | GENERIC_ALL)
#define FILE_EXEC_BITS (FILE_EXECUTE | GENERIC_EXECUTE | GENERIC_ALL)
-/* Convenience macros. The Windows SID access functions are crude. */
-#define sid_id_auth(s) \
- (RtlIdentifierAuthoritySid (s)->Value[5])
-#define sid_sub_auth_count(s) \
- (*RtlSubAuthorityCountSid ((s)))
-#define sid_sub_auth(s,i) \
- (*RtlSubAuthoritySid ((s),(i)))
-#define sid_sub_auth_rid(s) \
- (*RtlSubAuthoritySid ((s), (*RtlSubAuthorityCountSid ((s)) - 1)))
-
#ifdef __cplusplus
extern "C"
{
@@ -147,8 +104,6 @@ extern "C"
}
#endif
-class cyg_ldap;
-
class cygpsid {
protected:
PSID psid;
@@ -157,13 +112,11 @@ public:
cygpsid (PSID nsid) { psid = nsid; }
operator PSID () const { return psid; }
const PSID operator= (PSID nsid) { return psid = nsid;}
- uid_t get_id (BOOL search_grp, int *type, cyg_ldap *pldap);
- int get_uid (cyg_ldap *pldap) { return get_id (FALSE, NULL, pldap); }
- int get_gid (cyg_ldap *pldap) { return get_id (TRUE, NULL, pldap); }
+ uid_t get_id (BOOL search_grp, int *type = NULL);
+ int get_uid () { return get_id (FALSE); }
+ int get_gid () { return get_id (TRUE); }
- PWCHAR pstring (PWCHAR nsidstr) const;
PWCHAR string (PWCHAR nsidstr) const;
- char *pstring (char *nsidstr) const;
char *string (char *nsidstr) const;
bool operator== (const PSID nsid) const
@@ -186,10 +139,9 @@ public:
};
class cygsid : public cygpsid {
- char sbuf[SECURITY_MAX_SID_SIZE];
+ char sbuf[MAX_SID_LEN];
bool well_known_sid;
- const PSID getfromstr (PCWSTR nsidstr, bool well_known);
const PSID getfromstr (const char *nsidstr, bool well_known);
PSID get_sid (DWORD s, DWORD cnt, DWORD *r, bool well_known);
@@ -200,7 +152,7 @@ class cygsid : public cygpsid {
else
{
psid = (PSID) sbuf;
- RtlCopySid (SECURITY_MAX_SID_SIZE, psid, nsid);
+ RtlCopySid (MAX_SID_LEN, psid, nsid);
well_known_sid = well_known;
}
return psid;
@@ -217,23 +169,18 @@ public:
{ return assign (nsid, nsid.well_known_sid); }
inline const PSID operator= (const PSID nsid)
{ return assign (nsid, false); }
- inline const PSID operator= (PCWSTR nsidstr)
- { return getfromstr (nsidstr, false); }
inline const PSID operator= (const char *nsidstr)
{ return getfromstr (nsidstr, false); }
inline const PSID operator*= (cygsid &nsid)
{ return assign (nsid, true); }
inline const PSID operator*= (const PSID nsid)
{ return assign (nsid, true); }
- inline const PSID operator*= (PCWSTR nsidstr)
- { return getfromstr (nsidstr, true); }
inline const PSID operator*= (const char *nsidstr)
{ return getfromstr (nsidstr, true); }
inline cygsid () : cygpsid ((PSID) sbuf), well_known_sid (false) {}
inline cygsid (const PSID nsid) { *this = nsid; }
inline cygsid (const char *nstrsid) { *this = nstrsid; }
- inline cygsid (cygsid &nsid) { *this = nsid; }
inline PSID set () { return psid = (PSID) sbuf; }
@@ -394,12 +341,9 @@ extern cygpsid well_known_service_sid;
extern cygpsid well_known_authenticated_users_sid;
extern cygpsid well_known_this_org_sid;
extern cygpsid well_known_system_sid;
-extern cygpsid well_known_local_service_sid;
-extern cygpsid well_known_network_service_sid;
extern cygpsid well_known_builtin_sid;
extern cygpsid well_known_admins_sid;
extern cygpsid well_known_users_sid;
-extern cygpsid trusted_installer_sid;
extern cygpsid mandatory_medium_integrity_sid;
extern cygpsid mandatory_high_integrity_sid;
extern cygpsid mandatory_system_integrity_sid;
@@ -470,7 +414,7 @@ bool get_server_groups (cygsidlist &grp_list, PSID usersid, struct passwd *pw);
/* Extract U-domain\user field from passwd entry. */
void extract_nt_dom_user (const struct passwd *pw, PWCHAR domain, PWCHAR user);
/* Get default logonserver for a domain. */
-bool get_logon_server (PWCHAR domain, PWCHAR wserver, ULONG flags);
+bool get_logon_server (PWCHAR domain, PWCHAR wserver, bool rediscovery);
HANDLE lsa_open_policy (PWCHAR server, ACCESS_MASK access);
void lsa_close_policy (HANDLE lsa);
diff --git a/winsup/cygwin/setlsapwd.cc b/winsup/cygwin/setlsapwd.cc
index eb3b9e6..5bc5c5e 100644
--- a/winsup/cygwin/setlsapwd.cc
+++ b/winsup/cygwin/setlsapwd.cc
@@ -17,6 +17,7 @@ details. */
#include "cygheap.h"
#include "security.h"
#include "cygserver_setpwd.h"
+#include "pwdgrp.h"
#include "ntdll.h"
#include <ntsecapi.h>
#include <stdlib.h>
@@ -50,7 +51,7 @@ setlsapwd (const char *passwd, const char *username)
if (username)
{
cygsid psid;
- struct passwd *pw = internal_getpwnam (username);
+ struct passwd *pw = internal_getpwnam (username, false);
if (!pw || !psid.getfrompw (pw))
{
@@ -93,7 +94,7 @@ setlsapwd (const char *passwd, const char *username)
}
if (data_buf)
{
- RtlSecureZeroMemory (data.Buffer, data.Length);
+ memset (data.Buffer, 0, data.Length);
free (data_buf);
}
}
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc
index 9f1f27c..2f5a453 100644
--- a/winsup/cygwin/shared.cc
+++ b/winsup/cygwin/shared.cc
@@ -22,6 +22,7 @@ details. */
#include "shared_info_magic.h"
#include "registry.h"
#include "cygwin_version.h"
+#include "pwdgrp.h"
#include "spinlock.h"
#include <alloca.h>
#include <wchar.h>
@@ -351,7 +352,6 @@ memory_init (bool init_cygheap)
cygheap_init ();
cygheap->user.init ();
cygheap->init_installation_root (); /* Requires user.init! */
- cygheap->pg.init ();
}
shared_info::create (); /* Initialize global shared memory */
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 9edacd5..c4857ea 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -58,7 +58,7 @@ details. */
#include "pinfo.h"
#include "shared_info.h"
#include "cygheap.h"
-#include "cpuid.h"
+#include "pwdgrp.h"
#include "registry.h"
#include "environ.h"
#include "tls_pbuf.h"
diff --git a/winsup/cygwin/tlsoffsets.h b/winsup/cygwin/tlsoffsets.h
index 572dfb7..402638e 100644
--- a/winsup/cygwin/tlsoffsets.h
+++ b/winsup/cygwin/tlsoffsets.h
@@ -3,115 +3,115 @@
//; $tls::start_offset = -12700;
//; $tls::locals = -12700;
//; $tls::plocals = 0;
-//; $tls::local_clib = -10980;
-//; $tls::plocal_clib = 1720;
-//; $tls::__dontuse = -10980;
-//; $tls::p__dontuse = 1720;
-//; $tls::func = -9892;
-//; $tls::pfunc = 2808;
-//; $tls::saved_errno = -9888;
-//; $tls::psaved_errno = 2812;
-//; $tls::sa_flags = -9884;
-//; $tls::psa_flags = 2816;
-//; $tls::oldmask = -9880;
-//; $tls::poldmask = 2820;
-//; $tls::deltamask = -9876;
-//; $tls::pdeltamask = 2824;
-//; $tls::errno_addr = -9872;
-//; $tls::perrno_addr = 2828;
-//; $tls::sigmask = -9868;
-//; $tls::psigmask = 2832;
-//; $tls::sigwait_mask = -9864;
-//; $tls::psigwait_mask = 2836;
-//; $tls::sigwait_info = -9860;
-//; $tls::psigwait_info = 2840;
-//; $tls::signal_arrived = -9856;
-//; $tls::psignal_arrived = 2844;
-//; $tls::will_wait_for_signal = -9852;
-//; $tls::pwill_wait_for_signal = 2848;
-//; $tls::thread_context = -9848;
-//; $tls::pthread_context = 2852;
-//; $tls::thread_id = -9636;
-//; $tls::pthread_id = 3064;
-//; $tls::infodata = -9632;
-//; $tls::pinfodata = 3068;
-//; $tls::tid = -9484;
-//; $tls::ptid = 3216;
-//; $tls::_ctinfo = -9480;
-//; $tls::p_ctinfo = 3220;
-//; $tls::andreas = -9476;
-//; $tls::pandreas = 3224;
-//; $tls::wq = -9472;
-//; $tls::pwq = 3228;
-//; $tls::sig = -9444;
-//; $tls::psig = 3256;
-//; $tls::incyg = -9440;
-//; $tls::pincyg = 3260;
-//; $tls::spinning = -9436;
-//; $tls::pspinning = 3264;
-//; $tls::stacklock = -9432;
-//; $tls::pstacklock = 3268;
-//; $tls::stackptr = -9428;
-//; $tls::pstackptr = 3272;
-//; $tls::stack = -9424;
-//; $tls::pstack = 3276;
-//; $tls::initialized = -8400;
-//; $tls::pinitialized = 4300;
+//; $tls::local_clib = -10940;
+//; $tls::plocal_clib = 1760;
+//; $tls::__dontuse = -10940;
+//; $tls::p__dontuse = 1760;
+//; $tls::func = -9852;
+//; $tls::pfunc = 2848;
+//; $tls::saved_errno = -9848;
+//; $tls::psaved_errno = 2852;
+//; $tls::sa_flags = -9844;
+//; $tls::psa_flags = 2856;
+//; $tls::oldmask = -9840;
+//; $tls::poldmask = 2860;
+//; $tls::deltamask = -9836;
+//; $tls::pdeltamask = 2864;
+//; $tls::errno_addr = -9832;
+//; $tls::perrno_addr = 2868;
+//; $tls::sigmask = -9828;
+//; $tls::psigmask = 2872;
+//; $tls::sigwait_mask = -9824;
+//; $tls::psigwait_mask = 2876;
+//; $tls::sigwait_info = -9820;
+//; $tls::psigwait_info = 2880;
+//; $tls::signal_arrived = -9816;
+//; $tls::psignal_arrived = 2884;
+//; $tls::will_wait_for_signal = -9812;
+//; $tls::pwill_wait_for_signal = 2888;
+//; $tls::thread_context = -9808;
+//; $tls::pthread_context = 2892;
+//; $tls::thread_id = -9596;
+//; $tls::pthread_id = 3104;
+//; $tls::infodata = -9592;
+//; $tls::pinfodata = 3108;
+//; $tls::tid = -9444;
+//; $tls::ptid = 3256;
+//; $tls::_ctinfo = -9440;
+//; $tls::p_ctinfo = 3260;
+//; $tls::andreas = -9436;
+//; $tls::pandreas = 3264;
+//; $tls::wq = -9432;
+//; $tls::pwq = 3268;
+//; $tls::sig = -9404;
+//; $tls::psig = 3296;
+//; $tls::incyg = -9400;
+//; $tls::pincyg = 3300;
+//; $tls::spinning = -9396;
+//; $tls::pspinning = 3304;
+//; $tls::stacklock = -9392;
+//; $tls::pstacklock = 3308;
+//; $tls::stackptr = -9388;
+//; $tls::pstackptr = 3312;
+//; $tls::stack = -9384;
+//; $tls::pstack = 3316;
+//; $tls::initialized = -8360;
+//; $tls::pinitialized = 4340;
//; __DATA__
#define tls_locals (-12700)
#define tls_plocals (0)
-#define tls_local_clib (-10980)
-#define tls_plocal_clib (1720)
-#define tls___dontuse (-10980)
-#define tls_p__dontuse (1720)
-#define tls_func (-9892)
-#define tls_pfunc (2808)
-#define tls_saved_errno (-9888)
-#define tls_psaved_errno (2812)
-#define tls_sa_flags (-9884)
-#define tls_psa_flags (2816)
-#define tls_oldmask (-9880)
-#define tls_poldmask (2820)
-#define tls_deltamask (-9876)
-#define tls_pdeltamask (2824)
-#define tls_errno_addr (-9872)
-#define tls_perrno_addr (2828)
-#define tls_sigmask (-9868)
-#define tls_psigmask (2832)
-#define tls_sigwait_mask (-9864)
-#define tls_psigwait_mask (2836)
-#define tls_sigwait_info (-9860)
-#define tls_psigwait_info (2840)
-#define tls_signal_arrived (-9856)
-#define tls_psignal_arrived (2844)
-#define tls_will_wait_for_signal (-9852)
-#define tls_pwill_wait_for_signal (2848)
-#define tls_thread_context (-9848)
-#define tls_pthread_context (2852)
-#define tls_thread_id (-9636)
-#define tls_pthread_id (3064)
-#define tls_infodata (-9632)
-#define tls_pinfodata (3068)
-#define tls_tid (-9484)
-#define tls_ptid (3216)
-#define tls__ctinfo (-9480)
-#define tls_p_ctinfo (3220)
-#define tls_andreas (-9476)
-#define tls_pandreas (3224)
-#define tls_wq (-9472)
-#define tls_pwq (3228)
-#define tls_sig (-9444)
-#define tls_psig (3256)
-#define tls_incyg (-9440)
-#define tls_pincyg (3260)
-#define tls_spinning (-9436)
-#define tls_pspinning (3264)
-#define tls_stacklock (-9432)
-#define tls_pstacklock (3268)
-#define tls_stackptr (-9428)
-#define tls_pstackptr (3272)
-#define tls_stack (-9424)
-#define tls_pstack (3276)
-#define tls_initialized (-8400)
-#define tls_pinitialized (4300)
+#define tls_local_clib (-10940)
+#define tls_plocal_clib (1760)
+#define tls___dontuse (-10940)
+#define tls_p__dontuse (1760)
+#define tls_func (-9852)
+#define tls_pfunc (2848)
+#define tls_saved_errno (-9848)
+#define tls_psaved_errno (2852)
+#define tls_sa_flags (-9844)
+#define tls_psa_flags (2856)
+#define tls_oldmask (-9840)
+#define tls_poldmask (2860)
+#define tls_deltamask (-9836)
+#define tls_pdeltamask (2864)
+#define tls_errno_addr (-9832)
+#define tls_perrno_addr (2868)
+#define tls_sigmask (-9828)
+#define tls_psigmask (2872)
+#define tls_sigwait_mask (-9824)
+#define tls_psigwait_mask (2876)
+#define tls_sigwait_info (-9820)
+#define tls_psigwait_info (2880)
+#define tls_signal_arrived (-9816)
+#define tls_psignal_arrived (2884)
+#define tls_will_wait_for_signal (-9812)
+#define tls_pwill_wait_for_signal (2888)
+#define tls_thread_context (-9808)
+#define tls_pthread_context (2892)
+#define tls_thread_id (-9596)
+#define tls_pthread_id (3104)
+#define tls_infodata (-9592)
+#define tls_pinfodata (3108)
+#define tls_tid (-9444)
+#define tls_ptid (3256)
+#define tls__ctinfo (-9440)
+#define tls_p_ctinfo (3260)
+#define tls_andreas (-9436)
+#define tls_pandreas (3264)
+#define tls_wq (-9432)
+#define tls_pwq (3268)
+#define tls_sig (-9404)
+#define tls_psig (3296)
+#define tls_incyg (-9400)
+#define tls_pincyg (3300)
+#define tls_spinning (-9396)
+#define tls_pspinning (3304)
+#define tls_stacklock (-9392)
+#define tls_pstacklock (3308)
+#define tls_stackptr (-9388)
+#define tls_pstackptr (3312)
+#define tls_stack (-9384)
+#define tls_pstack (3316)
+#define tls_initialized (-8360)
+#define tls_pinitialized (4340)
diff --git a/winsup/cygwin/tlsoffsets64.h b/winsup/cygwin/tlsoffsets64.h
index 9912806..7df2c98 100644
--- a/winsup/cygwin/tlsoffsets64.h
+++ b/winsup/cygwin/tlsoffsets64.h
@@ -3,115 +3,115 @@
//; $tls::start_offset = -12800;
//; $tls::locals = -12800;
//; $tls::plocals = 0;
-//; $tls::local_clib = -10624;
-//; $tls::plocal_clib = 2176;
-//; $tls::__dontuse = -10624;
-//; $tls::p__dontuse = 2176;
-//; $tls::func = -8736;
-//; $tls::pfunc = 4064;
-//; $tls::saved_errno = -8728;
-//; $tls::psaved_errno = 4072;
-//; $tls::sa_flags = -8724;
-//; $tls::psa_flags = 4076;
-//; $tls::oldmask = -8720;
-//; $tls::poldmask = 4080;
-//; $tls::deltamask = -8712;
-//; $tls::pdeltamask = 4088;
-//; $tls::errno_addr = -8704;
-//; $tls::perrno_addr = 4096;
-//; $tls::sigmask = -8696;
-//; $tls::psigmask = 4104;
-//; $tls::sigwait_mask = -8688;
-//; $tls::psigwait_mask = 4112;
-//; $tls::sigwait_info = -8680;
-//; $tls::psigwait_info = 4120;
-//; $tls::signal_arrived = -8672;
-//; $tls::psignal_arrived = 4128;
-//; $tls::will_wait_for_signal = -8664;
-//; $tls::pwill_wait_for_signal = 4136;
-//; $tls::thread_context = -8656;
-//; $tls::pthread_context = 4144;
-//; $tls::thread_id = -7824;
-//; $tls::pthread_id = 4976;
-//; $tls::infodata = -7820;
-//; $tls::pinfodata = 4980;
-//; $tls::tid = -7672;
-//; $tls::ptid = 5128;
-//; $tls::_ctinfo = -7664;
-//; $tls::p_ctinfo = 5136;
-//; $tls::andreas = -7656;
-//; $tls::pandreas = 5144;
-//; $tls::wq = -7648;
-//; $tls::pwq = 5152;
-//; $tls::sig = -7600;
-//; $tls::psig = 5200;
-//; $tls::incyg = -7596;
-//; $tls::pincyg = 5204;
-//; $tls::spinning = -7592;
-//; $tls::pspinning = 5208;
-//; $tls::stacklock = -7588;
-//; $tls::pstacklock = 5212;
-//; $tls::stackptr = -7584;
-//; $tls::pstackptr = 5216;
-//; $tls::stack = -7576;
-//; $tls::pstack = 5224;
-//; $tls::initialized = -5528;
-//; $tls::pinitialized = 7272;
+//; $tls::local_clib = -10560;
+//; $tls::plocal_clib = 2240;
+//; $tls::__dontuse = -10560;
+//; $tls::p__dontuse = 2240;
+//; $tls::func = -8672;
+//; $tls::pfunc = 4128;
+//; $tls::saved_errno = -8664;
+//; $tls::psaved_errno = 4136;
+//; $tls::sa_flags = -8660;
+//; $tls::psa_flags = 4140;
+//; $tls::oldmask = -8656;
+//; $tls::poldmask = 4144;
+//; $tls::deltamask = -8648;
+//; $tls::pdeltamask = 4152;
+//; $tls::errno_addr = -8640;
+//; $tls::perrno_addr = 4160;
+//; $tls::sigmask = -8632;
+//; $tls::psigmask = 4168;
+//; $tls::sigwait_mask = -8624;
+//; $tls::psigwait_mask = 4176;
+//; $tls::sigwait_info = -8616;
+//; $tls::psigwait_info = 4184;
+//; $tls::signal_arrived = -8608;
+//; $tls::psignal_arrived = 4192;
+//; $tls::will_wait_for_signal = -8600;
+//; $tls::pwill_wait_for_signal = 4200;
+//; $tls::thread_context = -8592;
+//; $tls::pthread_context = 4208;
+//; $tls::thread_id = -7760;
+//; $tls::pthread_id = 5040;
+//; $tls::infodata = -7756;
+//; $tls::pinfodata = 5044;
+//; $tls::tid = -7608;
+//; $tls::ptid = 5192;
+//; $tls::_ctinfo = -7600;
+//; $tls::p_ctinfo = 5200;
+//; $tls::andreas = -7592;
+//; $tls::pandreas = 5208;
+//; $tls::wq = -7584;
+//; $tls::pwq = 5216;
+//; $tls::sig = -7536;
+//; $tls::psig = 5264;
+//; $tls::incyg = -7532;
+//; $tls::pincyg = 5268;
+//; $tls::spinning = -7528;
+//; $tls::pspinning = 5272;
+//; $tls::stacklock = -7524;
+//; $tls::pstacklock = 5276;
+//; $tls::stackptr = -7520;
+//; $tls::pstackptr = 5280;
+//; $tls::stack = -7512;
+//; $tls::pstack = 5288;
+//; $tls::initialized = -5464;
+//; $tls::pinitialized = 7336;
//; __DATA__
#define tls_locals (-12800)
#define tls_plocals (0)
-#define tls_local_clib (-10624)
-#define tls_plocal_clib (2176)
-#define tls___dontuse (-10624)
-#define tls_p__dontuse (2176)
-#define tls_func (-8736)
-#define tls_pfunc (4064)
-#define tls_saved_errno (-8728)
-#define tls_psaved_errno (4072)
-#define tls_sa_flags (-8724)
-#define tls_psa_flags (4076)
-#define tls_oldmask (-8720)
-#define tls_poldmask (4080)
-#define tls_deltamask (-8712)
-#define tls_pdeltamask (4088)
-#define tls_errno_addr (-8704)
-#define tls_perrno_addr (4096)
-#define tls_sigmask (-8696)
-#define tls_psigmask (4104)
-#define tls_sigwait_mask (-8688)
-#define tls_psigwait_mask (4112)
-#define tls_sigwait_info (-8680)
-#define tls_psigwait_info (4120)
-#define tls_signal_arrived (-8672)
-#define tls_psignal_arrived (4128)
-#define tls_will_wait_for_signal (-8664)
-#define tls_pwill_wait_for_signal (4136)
-#define tls_thread_context (-8656)
-#define tls_pthread_context (4144)
-#define tls_thread_id (-7824)
-#define tls_pthread_id (4976)
-#define tls_infodata (-7820)
-#define tls_pinfodata (4980)
-#define tls_tid (-7672)
-#define tls_ptid (5128)
-#define tls__ctinfo (-7664)
-#define tls_p_ctinfo (5136)
-#define tls_andreas (-7656)
-#define tls_pandreas (5144)
-#define tls_wq (-7648)
-#define tls_pwq (5152)
-#define tls_sig (-7600)
-#define tls_psig (5200)
-#define tls_incyg (-7596)
-#define tls_pincyg (5204)
-#define tls_spinning (-7592)
-#define tls_pspinning (5208)
-#define tls_stacklock (-7588)
-#define tls_pstacklock (5212)
-#define tls_stackptr (-7584)
-#define tls_pstackptr (5216)
-#define tls_stack (-7576)
-#define tls_pstack (5224)
-#define tls_initialized (-5528)
-#define tls_pinitialized (7272)
+#define tls_local_clib (-10560)
+#define tls_plocal_clib (2240)
+#define tls___dontuse (-10560)
+#define tls_p__dontuse (2240)
+#define tls_func (-8672)
+#define tls_pfunc (4128)
+#define tls_saved_errno (-8664)
+#define tls_psaved_errno (4136)
+#define tls_sa_flags (-8660)
+#define tls_psa_flags (4140)
+#define tls_oldmask (-8656)
+#define tls_poldmask (4144)
+#define tls_deltamask (-8648)
+#define tls_pdeltamask (4152)
+#define tls_errno_addr (-8640)
+#define tls_perrno_addr (4160)
+#define tls_sigmask (-8632)
+#define tls_psigmask (4168)
+#define tls_sigwait_mask (-8624)
+#define tls_psigwait_mask (4176)
+#define tls_sigwait_info (-8616)
+#define tls_psigwait_info (4184)
+#define tls_signal_arrived (-8608)
+#define tls_psignal_arrived (4192)
+#define tls_will_wait_for_signal (-8600)
+#define tls_pwill_wait_for_signal (4200)
+#define tls_thread_context (-8592)
+#define tls_pthread_context (4208)
+#define tls_thread_id (-7760)
+#define tls_pthread_id (5040)
+#define tls_infodata (-7756)
+#define tls_pinfodata (5044)
+#define tls_tid (-7608)
+#define tls_ptid (5192)
+#define tls__ctinfo (-7600)
+#define tls_p_ctinfo (5200)
+#define tls_andreas (-7592)
+#define tls_pandreas (5208)
+#define tls_wq (-7584)
+#define tls_pwq (5216)
+#define tls_sig (-7536)
+#define tls_psig (5264)
+#define tls_incyg (-7532)
+#define tls_pincyg (5268)
+#define tls_spinning (-7528)
+#define tls_pspinning (5272)
+#define tls_stacklock (-7524)
+#define tls_pstacklock (5276)
+#define tls_stackptr (-7520)
+#define tls_pstackptr (5280)
+#define tls_stack (-7512)
+#define tls_pstack (5288)
+#define tls_initialized (-5464)
+#define tls_pinitialized (7336)
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index ca76426..4ca901f 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -1,7 +1,7 @@
/* uinfo.cc: user info (uid, gid, etc...)
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2014 Red Hat, Inc.
+ 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
This file is part of Cygwin.
@@ -10,14 +10,12 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
-#include <iptypes.h>
-#include <lm.h>
-#include <ntsecapi.h>
-#include <wininet.h>
#include <unistd.h>
+#include <wininet.h>
#include <stdlib.h>
-#include <stdio.h>
#include <wchar.h>
+#include <lm.h>
+#include <iptypes.h>
#include <sys/cygwin.h>
#include "cygerrno.h"
#include "pinfo.h"
@@ -29,11 +27,9 @@ details. */
#include "registry.h"
#include "child_info.h"
#include "environ.h"
+#include "pwdgrp.h"
#include "tls_pbuf.h"
-#include "miscfuncs.h"
#include "ntdll.h"
-#include "ldap.h"
-#include "cygserver_pwdgrp.h"
/* Initialize the part of cygheap_user that does not depend on files.
The information is used in shared.cc for the user shared.
@@ -85,7 +81,7 @@ cygheap_user::init ()
status = NtSetInformationToken (hProcToken, TokenOwner, &effec_cygsid,
sizeof (cygsid));
if (!NT_SUCCESS (status))
- debug_printf ("NtSetInformationToken (TokenOwner), %y", status);
+ debug_printf ("NtSetInformationToken(TokenOwner), %y", status);
/* Standard way to build a security descriptor with the usual DACL */
PSECURITY_ATTRIBUTES sa_buf = (PSECURITY_ATTRIBUTES) alloca (1024);
@@ -116,63 +112,41 @@ cygheap_user::init ()
void
internal_getlogin (cygheap_user &user)
{
- struct passwd *pwd;
- struct group *pgrp, *grp, *grp2;
- cyg_ldap cldap;
-
- /* Fetch (and potentially generate) passwd and group entries for the user
- and the primary group in the token. */
- pwd = internal_getpwsid (user.sid (), &cldap);
- pgrp = internal_getgrsid (user.groups.pgsid, &cldap);
- if (!cygheap->pg.nss_cygserver_caching ())
- internal_getgroups (0, NULL, &cldap);
- if (!pwd)
- debug_printf ("user not found in passwd DB");
+ struct passwd *pw = NULL;
+
+ cygpsid psid = user.sid ();
+ pw = internal_getpwsid (psid);
+
+ if (!pw && !(pw = internal_getpwnam (user.name ()))
+ && !(pw = internal_getpwuid (DEFAULT_UID)))
+ debug_printf ("user not found in augmented /etc/passwd");
else
{
cygsid gsid;
- user.set_name (pwd->pw_name);
- myself->uid = pwd->pw_uid;
- myself->gid = pwd->pw_gid;
- /* If the primary group in the passwd DB is different from the primary
- group in the user token, we have to find the SID of that group and
- try to override the token primary group. */
- if (!pgrp || myself->gid != pgrp->gr_gid)
+ myself->uid = pw->pw_uid;
+ myself->gid = pw->pw_gid;
+ user.set_name (pw->pw_name);
+ if (gsid.getfromgr (internal_getgrgid (pw->pw_gid)))
{
- if (gsid.getfromgr (grp = internal_getgrgid (pwd->pw_gid, &cldap)))
+ if (gsid != user.groups.pgsid)
{
- /* We might have a group file with a group entry for the current
- user's primary group, but the current user has no entry in
- passwd. If so, pw_gid is taken from windows and might
- disagree with gr_gid from the group file. Overwrite it. */
- if ((grp2 = internal_getgrsid (gsid, &cldap)) && grp2 != grp)
- myself->gid = pwd->pw_gid = grp2->gr_gid;
/* Set primary group to the group in /etc/passwd. */
- if (gsid != user.groups.pgsid)
- {
- NTSTATUS status = NtSetInformationToken (hProcToken,
- TokenPrimaryGroup,
- &gsid, sizeof gsid);
- if (!NT_SUCCESS (status))
- {
- debug_printf ("NtSetInformationToken (TokenPrimaryGroup),"
- " %y", status);
- /* Revert the primary group setting and override the
- setting in the passwd entry. */
- if (pgrp)
- myself->gid = pwd->pw_gid = pgrp->gr_gid;
- }
- else
- user.groups.pgsid = gsid;
- clear_procimptoken ();
- }
+ NTSTATUS status = NtSetInformationToken (hProcToken,
+ TokenPrimaryGroup,
+ &gsid, sizeof gsid);
+ if (!NT_SUCCESS (status))
+ debug_printf ("NtSetInformationToken (TokenPrimaryGroup), %y",
+ status);
+ else
+ user.groups.pgsid = gsid;
+ clear_procimptoken ();
}
- else
- debug_printf ("group not found in group DB");
}
+ else
+ debug_printf ("gsid not found in augmented /etc/group");
}
- cygheap->user.ontherange (CH_HOME, pwd);
+ cygheap->user.ontherange (CH_HOME, pw);
}
void
@@ -441,7 +415,7 @@ cygheap_user::env_logsrv (const char *name, size_t namelen)
WCHAR wlogsrv[INTERNET_MAX_HOST_NAME_LENGTH + 3];
sys_mbstowcs (wdomain, MAX_DOMAIN_NAME_LEN + 1, mydomain);
cfree_and_set (plogsrv, almost_null);
- if (get_logon_server (wdomain, wlogsrv, DS_IS_FLAT_NAME))
+ if (get_logon_server (wdomain, wlogsrv, false))
sys_wcstombs_alloc (&plogsrv, HEAP_STR, wlogsrv);
return plogsrv;
}
@@ -551,13 +525,21 @@ pwdgrp::add_line (char *eptr)
{
if (eptr)
{
+ lptr = eptr;
+ eptr = strchr (lptr, '\n');
+ if (eptr)
+ {
+ if (eptr > lptr && eptr[-1] == '\r')
+ eptr[-1] = '\0';
+ else
+ *eptr = '\0';
+ eptr++;
+ }
if (curr_lines >= max_lines)
{
max_lines += 10;
- pwdgrp_buf = crealloc_abort (pwdgrp_buf,
- max_lines * pwdgrp_buf_elem_size);
+ *pwdgrp_buf = realloc (*pwdgrp_buf, max_lines * pwdgrp_buf_elem_size);
}
- lptr = eptr;
if ((this->*parse) ())
curr_lines++;
}
@@ -565,1440 +547,82 @@ pwdgrp::add_line (char *eptr)
}
void
-cygheap_pwdgrp::init ()
+pwdgrp::load (const wchar_t *rel_path)
{
- pwd_cache.cygserver.init_pwd ();
- pwd_cache.file.init_pwd ();
- pwd_cache.win.init_pwd ();
- grp_cache.cygserver.init_grp ();
- grp_cache.file.init_grp ();
- grp_cache.win.init_grp ();
- /* Default settings:
-
- passwd: files db
- group: files db
- db_prefix: auto
- db_cache: yes
- db_separator: +
- db_enum: cache builtin
- */
- pwd_src = (NSS_FILES | NSS_DB);
- grp_src = (NSS_FILES | NSS_DB);
- prefix = NSS_AUTO;
- separator[0] = L'+';
- caching = true;
- enums = (ENUM_CACHE | ENUM_BUILTIN);
- enum_tdoms = NULL;
-}
+ static const char failed[] = "failed";
+ static const char succeeded[] = "succeeded";
+ const char *res = failed;
+ HANDLE fh = NULL;
-/* The /etc/nsswitch.conf file is read exactly once by the root process of a
- process tree. We can't afford methodical changes during the lifetime of a
- process tree. */
-void
-cygheap_pwdgrp::nss_init_line (const char *line)
-{
- const char *c = line + strspn (line, " \t");
- switch (*c)
- {
- case 'p':
- case 'g':
- {
- int *src = NULL;
- if (!strncmp (c, "passwd:", 7))
- {
- src = &pwd_src;
- c += 7;
- }
- else if (!strncmp (c, "group:", 6))
- {
- src = &grp_src;
- c += 6;
- }
- if (src)
- {
- *src = 0;
- while (*c)
- {
- c += strspn (c, " \t");
- if (!*c || *c == '#')
- break;
- if (!strncmp (c, "files", 5) && strchr (" \t", c[5]))
- {
- *src |= NSS_FILES;
- c += 5;
- }
- else if (!strncmp (c, "db", 2) && strchr (" \t", c[2]))
- {
- *src |= NSS_DB;
- c += 2;
- }
- else
- {
- c += strcspn (c, " \t");
- debug_printf ("Invalid nsswitch.conf content: %s", line);
- }
- }
- if (*src == 0)
- *src = (NSS_FILES | NSS_DB);
- }
- }
- break;
- case 'd':
- if (strncmp (c, "db_", 3))
- {
- debug_printf ("Invalid nsswitch.conf content: %s", line);
- break;
- }
- c += 3;
- if (!strncmp (c, "prefix:", 7))
- {
- c += 7;
- c += strspn (c, " \t");
- if (!strncmp (c, "auto", 4) && strchr (" \t", c[4]))
- prefix = NSS_AUTO;
- else if (!strncmp (c, "primary", 7) && strchr (" \t", c[7]))
- prefix = NSS_PRIMARY;
- else if (!strncmp (c, "always", 6) && strchr (" \t", c[6]))
- prefix = NSS_ALWAYS;
- else
- debug_printf ("Invalid nsswitch.conf content: %s", line);
- }
- else if (!strncmp (c, "separator:", 10))
- {
- c += 10;
- c += strspn (c, " \t");
- if ((unsigned char) *c <= 0x7f && *c != ':' && strchr (" \t", c[1]))
- separator[0] = (unsigned char) *c;
- else
- debug_printf ("Invalid nsswitch.conf content: %s", line);
- }
- else if (!strncmp (c, "enum:", 5))
- {
- tmp_pathbuf tp;
- char *tdoms = tp.c_get ();
- char *td = tdoms;
- int new_enums = ENUM_NONE;
-
- td[0] = '\0';
- c += 5;
- c += strspn (c, " \t");
- while (!strchr (" \t", *c))
- {
- const char *e = c + strcspn (c, " \t");
- if (!strncmp (c, "none", 4) && strchr (" \t", c[4]))
- new_enums = ENUM_NONE;
- else if (!strncmp (c, "builtin", 7) && strchr (" \t", c[7]))
- new_enums |= ENUM_BUILTIN;
- else if (!strncmp (c, "cache", 5) && strchr (" \t", c[5]))
- new_enums |= ENUM_CACHE;
- else if (!strncmp (c, "files", 5) && strchr (" \t", c[5]))
- new_enums |= ENUM_FILES;
- else if (!strncmp (c, "local", 5) && strchr (" \t", c[5]))
- new_enums |= ENUM_LOCAL;
- else if (!strncmp (c, "primary", 7) && strchr (" \t", c[7]))
- new_enums |= ENUM_PRIMARY;
- else if (!strncmp (c, "alltrusted", 10) && strchr (" \t", c[10]))
- new_enums |= ENUM_TDOMS | ENUM_TDOMS_ALL;
- else if (!strncmp (c, "all", 3) && strchr (" \t", c[3]))
- new_enums |= ENUM_ALL;
- else
- {
- td = stpcpy (stpncpy (td, c, e - c), " ");
- new_enums |= ENUM_TDOMS;
- }
- c = e;
- c += strspn (c, " \t");
- }
- if ((new_enums & (ENUM_TDOMS | ENUM_TDOMS_ALL)) == ENUM_TDOMS)
- {
- if (td > tdoms)
- {
- PWCHAR spc;
- sys_mbstowcs_alloc (&enum_tdoms, HEAP_BUF, tdoms);
- /* Convert string to REG_MULTI_SZ-style. */
- while ((spc = wcsrchr (enum_tdoms, L' ')))
- *spc = L'\0';
- }
- else
- new_enums &= ~(ENUM_TDOMS | ENUM_TDOMS_ALL);
- }
- enums = new_enums;
- }
- break;
- case '\0':
- case '#':
- break;
- default:
- debug_printf ("Invalid nsswitch.conf content: %s", line);
- break;
- }
-}
-
-void
-cygheap_pwdgrp::_nss_init ()
-{
- UNICODE_STRING path;
- OBJECT_ATTRIBUTES attr;
- NT_readline rl;
- tmp_pathbuf tp;
- char *buf = tp.c_get ();
-
- PCWSTR rel_path = L"\\etc\\nsswitch.conf";
- path.Buffer = (PWCHAR) alloca ((wcslen (cygheap->installation_root)
- + wcslen (rel_path) + 1) * sizeof (WCHAR));
- wcpcpy (wcpcpy (path.Buffer, cygheap->installation_root), rel_path);
- RtlInitUnicodeString (&path, path.Buffer);
- InitializeObjectAttributes (&attr, &path, OBJ_CASE_INSENSITIVE,
- NULL, NULL);
- if (rl.init (&attr, buf, NT_MAX_PATH))
- while ((buf = rl.gets ()))
- nss_init_line (buf);
- nss_inited = true;
-}
-
-/* Override the ParentIndex value of the PDS_DOMAIN_TRUSTSW entry with the
- PosixOffset. */
-#define PosixOffset ParentIndex
-
-bool
-cygheap_domain_info::init ()
-{
- HANDLE lsa;
NTSTATUS status;
- ULONG ret;
- /* We *have* to copy the information. Apart from our wish to have the
- stuff in the cygheap, even when not calling LsaFreeMemory on the result,
- the data will be overwritten later. From what I gather, the information
- is, in fact, stored on the stack. */
- PPOLICY_DNS_DOMAIN_INFO pdom;
- PPOLICY_ACCOUNT_DOMAIN_INFO adom;
- PDS_DOMAIN_TRUSTSW td;
- ULONG tdom_cnt;
-
- if (adom_name)
- return true;
- lsa = lsa_open_policy (NULL, POLICY_VIEW_LOCAL_INFORMATION);
- if (!lsa)
- {
- system_printf ("lsa_open_policy(NULL) failed");
- return false;
- }
- /* Fetch primary domain information from local LSA. */
- status = LsaQueryInformationPolicy (lsa, PolicyDnsDomainInformation,
- (PVOID *) &pdom);
- if (status != STATUS_SUCCESS)
- {
- system_printf ("LsaQueryInformationPolicy(Primary) %y", status);
- return false;
- }
- /* Copy primary domain info to cygheap. */
- pdom_name = cwcsdup (pdom->Name.Buffer);
- pdom_dns_name = pdom->DnsDomainName.Length
- ? cwcsdup (pdom->DnsDomainName.Buffer) : NULL;
- pdom_sid = pdom->Sid;
- LsaFreeMemory (pdom);
- /* Fetch account domain information from local LSA. */
- status = LsaQueryInformationPolicy (lsa, PolicyAccountDomainInformation,
- (PVOID *) &adom);
- if (status != STATUS_SUCCESS)
- {
- system_printf ("LsaQueryInformationPolicy(Account) %y", status);
- return false;
- }
- /* Copy account domain info to cygheap. If we're running on a DC the account
- domain is identical to the primary domain. This leads to confusion when
- trying to compute the uid/gid values. Therefore we invalidate the account
- domain name if we're running on a DC. */
- adom_sid = adom->DomainSid;
- adom_name = cwcsdup (pdom_sid == adom_sid ? L"@" : adom->DomainName.Buffer);
- LsaFreeMemory (adom);
- lsa_close_policy (lsa);
- if (cygheap->dom.member_machine ())
- {
- ret = DsEnumerateDomainTrustsW (NULL, DS_DOMAIN_DIRECT_INBOUND
- | DS_DOMAIN_DIRECT_OUTBOUND
- | DS_DOMAIN_IN_FOREST,
- &td, &tdom_cnt);
- if (ret != ERROR_SUCCESS)
- {
- SetLastError (ret);
- debug_printf ("DsEnumerateDomainTrusts: %E");
- return true;
- }
- if (tdom_cnt == 0)
- {
- return true;
- }
- /* Copy trusted domain info to cygheap, setting PosixOffset on the fly. */
- tdom = (PDS_DOMAIN_TRUSTSW)
- cmalloc_abort (HEAP_BUF, tdom_cnt * sizeof (DS_DOMAIN_TRUSTSW));
- memcpy (tdom, td, tdom_cnt * sizeof (DS_DOMAIN_TRUSTSW));
- for (ULONG idx = 0; idx < tdom_cnt; ++idx)
- {
- /* Copy... */
- tdom[idx].NetbiosDomainName = cwcsdup (td[idx].NetbiosDomainName);
- /* DnsDomainName as well as DomainSid can be NULL. The reason is
- usually a domain of type TRUST_TYPE_DOWNLEVEL. This can be an
- old pre-AD domain, or a Netware domain, etc. If DnsDomainName
- is NULL, just set it to NetbiosDomainName. This simplifies
- subsequent code which doesn't have to check for a NULL pointer. */
- tdom[idx].DnsDomainName = td[idx].DnsDomainName
- ? cwcsdup (td[idx].DnsDomainName)
- : tdom[idx].NetbiosDomainName;
- if (td[idx].DomainSid)
- {
- ULONG len = RtlLengthSid (td[idx].DomainSid);
- tdom[idx].DomainSid = cmalloc_abort(HEAP_BUF, len);
- RtlCopySid (len, tdom[idx].DomainSid, td[idx].DomainSid);
- }
- /* ...and set PosixOffset to 0. This */
- tdom[idx].PosixOffset = 0;
- }
- NetApiBufferFree (td);
- tdom_count = tdom_cnt;
- }
- /* If we have Microsoft Client for NFS installed, we make use of a name
- mapping server. This can be either Active Directory to map uids/gids
- directly to Windows SIDs, or an AD LDS or other RFC 2307 compatible
- identity store. The name of the mapping domain can be fetched from the
- registry key created by the NFS client installation and entered by the
- user via nfsadmin or the "Services For NFS" MMC snap-in.
-
- Reference:
- http://blogs.technet.com/b/filecab/archive/2012/10/09/nfs-identity-mapping-in-windows-server-2012.aspx
- Note that we neither support UNMP nor local passwd/group file mapping,
- nor UUUA.
-
- This function returns the mapping server from the aforementioned registry
- key, or, if none is configured, NULL, which will be resolved to the
- primary domain of the machine by the ldap_init function.
-
- The latter is useful to get an RFC 2307 mapping for Samba UNIX accounts,
- even if no NFS name mapping is configured on the machine. Fortunately,
- the posixAccount and posixGroup schemas are already available in the
- Active Directory default setup since Windows Server 2003 R2. */
- reg_key reg (HKEY_LOCAL_MACHINE, KEY_READ | KEY_WOW64_64KEY,
- L"SOFTWARE", L"Microsoft", L"ServicesForNFS", NULL);
- if (!reg.error ())
- {
- DWORD rfc2307 = reg.get_dword (L"Rfc2307", 0);
- if (rfc2307)
- {
- rfc2307_domain_buf = (PWCHAR) ccalloc_abort (HEAP_STR, 257,
- sizeof (WCHAR));
- reg.get_string (L"Rfc2307Domain", rfc2307_domain_buf, 257, L"");
- if (!rfc2307_domain_buf[0])
- {
- cfree (rfc2307_domain_buf);
- rfc2307_domain_buf = NULL;
- }
- }
- }
- return true;
-}
+ OBJECT_ATTRIBUTES attr;
+ IO_STATUS_BLOCK io;
+ FILE_STANDARD_INFORMATION fsi;
-/* Per session, so it changes potentially when switching the user context. */
-static cygsid logon_sid ("");
+ if (buf)
+ free (buf);
+ buf = NULL;
+ curr_lines = 0;
-static void
-get_logon_sid ()
-{
- if (PSID (logon_sid) == NO_SID)
+ if (!path &&
+ !(path = (PWCHAR) malloc ((wcslen (cygheap->installation_root)
+ + wcslen (rel_path) + 1) * sizeof (WCHAR))))
{
- NTSTATUS status;
- ULONG size;
- tmp_pathbuf tp;
- PTOKEN_GROUPS groups = (PTOKEN_GROUPS) tp.c_get ();
-
- status = NtQueryInformationToken (hProcToken, TokenGroups, groups,
- NT_MAX_PATH, &size);
- if (!NT_SUCCESS (status))
- debug_printf ("NtQueryInformationToken() %y", status);
- else
- {
- for (DWORD pg = 0; pg < groups->GroupCount; ++pg)
- if (groups->Groups[pg].Attributes & SE_GROUP_LOGON_ID)
- {
- logon_sid = groups->Groups[pg].Sid;
- break;
- }
- }
- }
-}
-
-void *
-pwdgrp::add_account_post_fetch (char *line, bool lock)
-{
- if (line)
- {
- void *ret;
- if (lock)
- pglock.init ("pglock")->acquire ();
- add_line (line);
- ret = ((char *) pwdgrp_buf) + (curr_lines - 1) * pwdgrp_buf_elem_size;
- if (lock)
- pglock.release ();
- return ret;
+ paranoid_printf ("malloc (%W) failed", rel_path);
+ goto out;
}
- return NULL;
-}
-
-void *
-pwdgrp::add_account_from_file (cygpsid &sid)
-{
- if (!path.MaximumLength)
- return NULL;
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = fetch_account_from_file (arg);
- return (struct passwd *) add_account_post_fetch (line, true);
-}
-
-void *
-pwdgrp::add_account_from_file (const char *name)
-{
- if (!path.MaximumLength)
- return NULL;
- fetch_user_arg_t arg;
- arg.type = NAME_arg;
- arg.name = name;
- char *line = fetch_account_from_file (arg);
- return (struct passwd *) add_account_post_fetch (line, true);
-}
+ wcpcpy (wcpcpy (path, cygheap->installation_root), rel_path);
+ RtlInitUnicodeString (&upath, path);
-void *
-pwdgrp::add_account_from_file (uint32_t id)
-{
- if (!path.MaximumLength)
- return NULL;
- fetch_user_arg_t arg;
- arg.type = ID_arg;
- arg.id = id;
- char *line = fetch_account_from_file (arg);
- return (struct passwd *) add_account_post_fetch (line, true);
-}
+ InitializeObjectAttributes (&attr, &upath, OBJ_CASE_INSENSITIVE, NULL, NULL);
+ etc_ix = etc::init (etc_ix, &attr);
-void *
-pwdgrp::add_account_from_windows (cygpsid &sid, cyg_ldap *pldap)
-{
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = fetch_account_from_windows (arg, pldap);
- if (!line)
- return NULL;
- return add_account_post_fetch (line, true);
-}
+ paranoid_printf ("%S", &upath);
-void *
-pwdgrp::add_account_from_windows (const char *name, cyg_ldap *pldap)
-{
- fetch_user_arg_t arg;
- arg.type = NAME_arg;
- arg.name = name;
- char *line = fetch_account_from_windows (arg, pldap);
- if (!line)
- return NULL;
- return add_account_post_fetch (line, true);
-}
-
-void *
-pwdgrp::add_account_from_windows (uint32_t id, cyg_ldap *pldap)
-{
- fetch_user_arg_t arg;
- arg.type = ID_arg;
- arg.id = id;
- char *line = fetch_account_from_windows (arg, pldap);
- if (!line)
- return NULL;
- return add_account_post_fetch (line, true);
-}
-
-/* Check if file exists and if it has been written to since last checked.
- If file has been changed, invalidate the current cache.
-
- If the file doesn't exist when this function is called the first time,
- by the first Cygwin process in a process tree, the file will never be
- visited again by any process in this process tree. This is important,
- because we cannot allow a change of UID/GID values for the lifetime
- of a process tree.
-
- If the file gets deleted or unreadable, the file cache will stay in
- place, but we won't try to read new accounts from the file.
-
- The return code indicates to the calling function if the file exists. */
-bool
-pwdgrp::check_file ()
-{
- FILE_BASIC_INFORMATION fbi;
- NTSTATUS status;
-
- if (!path.Buffer)
- {
- PCWSTR rel_path = is_group () ? L"\\etc\\group" : L"\\etc\\passwd";
- path.Buffer = (PWCHAR) cmalloc_abort (HEAP_BUF,
- (wcslen (cygheap->installation_root)
- + wcslen (rel_path) + 1)
- * sizeof (WCHAR));
- wcpcpy (wcpcpy (path.Buffer, cygheap->installation_root), rel_path);
- RtlInitUnicodeString (&path, path.Buffer);
- InitializeObjectAttributes (&attr, &path, OBJ_CASE_INSENSITIVE,
- NULL, NULL);
- }
- else if (path.MaximumLength == 0) /* Indicates that the file doesn't exist. */
- return false;
- status = NtQueryAttributesFile (&attr, &fbi);
+ status = NtOpenFile (&fh, SYNCHRONIZE | FILE_READ_DATA, &attr, &io,
+ FILE_SHARE_VALID_FLAGS,
+ FILE_SYNCHRONOUS_IO_NONALERT
+ | FILE_OPEN_FOR_BACKUP_INTENT);
if (!NT_SUCCESS (status))
{
- if (last_modified.QuadPart)
- last_modified.QuadPart = 0LL;
- else
- path.MaximumLength = 0;
- return false;
+ paranoid_printf ("NtOpenFile(%S) failed, status %y", &upath, status);
+ goto out;
}
- if (fbi.LastWriteTime.QuadPart > last_modified.QuadPart)
- {
- last_modified.QuadPart = fbi.LastWriteTime.QuadPart;
- if (curr_lines > 0)
- {
- pglock.init ("pglock")->acquire ();
- int curr = curr_lines;
- curr_lines = 0;
- for (int i = 0; i < curr; ++i)
- cfree (is_group () ? this->group ()[i].g.gr_name
- : this->passwd ()[i].p.pw_name);
- pglock.release ();
- }
- }
- return true;
-}
-
-char *
-pwdgrp::fetch_account_from_line (fetch_user_arg_t &arg, const char *line)
-{
- char *p, *e;
-
- switch (arg.type)
- {
- case SID_arg:
- /* Ignore fields, just scan for SID string. */
- if (!(p = strstr (line, arg.name)) || p[arg.len] != ':')
- return NULL;
- break;
- case NAME_arg:
- /* First field is always name. */
- if (!strncasematch (line, arg.name, arg.len) || line[arg.len] != ':')
- return NULL;
- break;
- case ID_arg:
- /* Skip to third field. */
- if (!(p = strchr (line, ':')) || !(p = strchr (p + 1, ':')))
- return NULL;
- if (strtoul (p + 1, &e, 10) != arg.id || !e || *e != ':')
- return NULL;
- break;
- }
- return cstrdup (line);
-}
-
-char *
-pwdgrp::fetch_account_from_file (fetch_user_arg_t &arg)
-{
- NT_readline rl;
- tmp_pathbuf tp;
- char *buf = tp.c_get ();
- char str[128];
- char *ret = NULL;
-
- /* Create search string. */
- switch (arg.type)
- {
- case SID_arg:
- /* Override SID with SID string. */
- arg.sid->string (str);
- arg.name = str;
- /*FALLTHRU*/
- case NAME_arg:
- arg.len = strlen (arg.name);
- break;
- case ID_arg:
- break;
- }
- if (rl.init (&attr, buf, NT_MAX_PATH))
- while ((buf = rl.gets ()))
- if ((ret = fetch_account_from_line (arg, buf)))
- return ret;
- return NULL;
-}
-
-static ULONG
-fetch_posix_offset (PDS_DOMAIN_TRUSTSW td, cyg_ldap *cldap)
-{
- uint32_t id_val = UINT32_MAX;
-
- if (!td->PosixOffset && !(td->Flags & DS_DOMAIN_PRIMARY) && td->DomainSid)
- {
- if (cldap->open (NULL) == NO_ERROR)
- id_val = cldap->fetch_posix_offset_for_domain (td->DnsDomainName);
- if (id_val < PRIMARY_POSIX_OFFSET)
- {
- /* If the offset is less than the primay domain offset, we're bound
- to suffer collisions with system and local accounts. Move offset
- to a fixed replacement fake offset. This may result in collisions
- between other domains all of which were moved to this replacement
- offset, but we can't fix all problems caused by careless admins. */
- id_val = UNUSABLE_POSIX_OFFSET;
- }
- else if (id_val == UINT32_MAX)
- {
- /* We're probably running under a local account, so we're not allowed
- to fetch any information from AD beyond the most obvious. Fake a
- reasonable posix offset as above and hope for the best. */
- id_val = NOACCESS_POSIX_OFFSET;
- }
- td->PosixOffset = id_val;
- }
- return td->PosixOffset;
-}
-
-/* Helper function to replace colons with semicolons in pw_gecos field. */
-static PWCHAR
-colon_to_semicolon (PWCHAR str)
-{
- PWCHAR cp = str;
- while ((cp = wcschr (cp, L':')) != NULL)
- *cp++ = L';';
- return str;
-}
-
-/* CV 2014-05-08: USER_INFO_24 is not yet defined in Mingw64, but will be in
- the next release. For the time being, define the structure here with
- another name which won't collide with the upcoming correct definition
- in lmaccess.h. */
-struct cyg_USER_INFO_24
-{
- BOOL usri24_internet_identity;
- DWORD usri24_flags;
- LPWSTR usri24_internet_provider_name;
- LPWSTR usri24_internet_principal_name;
- PSID usri24_user_sid;
-};
-
-char *
-pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap)
-{
- /* Used in LookupAccount calls. */
- WCHAR namebuf[UNLEN + 1], *name = namebuf;
- WCHAR dom[DNLEN + 1] = L"";
- cygsid csid;
- DWORD nlen = UNLEN + 1;
- DWORD dlen = DNLEN + 1;
- DWORD slen = SECURITY_MAX_SID_SIZE;
- cygpsid sid (NO_SID);
- SID_NAME_USE acc_type;
- BOOL ret = false;
- /* Cygwin user name style. */
- bool fully_qualified_name = false;
- /* Computed stuff. */
- uid_t uid = ILLEGAL_UID;
- gid_t gid = ILLEGAL_GID;
- bool is_domain_account = true;
- PCWSTR domain = NULL;
- PWCHAR shell = NULL;
- PWCHAR home = NULL;
- PWCHAR gecos = NULL;
- /* Temporary stuff. */
- PWCHAR p;
- WCHAR sidstr[128];
- ULONG posix_offset = 0;
- uint32_t id_val;
- cyg_ldap loc_ldap;
- cyg_ldap *cldap = pldap ?: &loc_ldap;
-
- /* Initialize */
- if (!cygheap->dom.init ())
- return NULL;
-
- switch (arg.type)
- {
- case SID_arg:
- sid = *arg.sid;
- ret = LookupAccountSidW (NULL, sid, name, &nlen, dom, &dlen, &acc_type);
- if (!ret
- && cygheap->dom.member_machine ()
- && sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_BUILTIN_DOMAIN_RID)
- {
- /* LookupAccountSid called on a non-DC cannot resolve aliases which
- are not defined in the local SAM. If we encounter an alias which
- can't be resolved, and if we're a domain member machine, ask a DC.
- Do *not* use LookupAccountSidW. It can take ages when called on a
- DC for some weird reason. Use LDAP instead. */
- PWCHAR val;
-
- if (cldap->open (NULL) == NO_ERROR
- && cldap->fetch_ad_account (sid, is_group ())
- && (val = cldap->get_group_name ()))
- {
- wcpcpy (name, val);
- wcpcpy (dom, L"BUILTIN");
- acc_type = SidTypeAlias;
- ret = true;
- }
- }
- if (!ret)
- debug_printf ("LookupAccountSid(%W), %E", sid.string (sidstr));
- break;
- case NAME_arg:
- /* Skip leading domain separator. This denotes an alias or well-known
- group, which will be found first by LookupAccountNameW anyway.
- Otherwise, if the name has no leading domain name, it's either a
- standalone machine, or the username must be from the primary domain.
- In the latter case, prepend the primary domain name so as not to
- collide with an account from the account domain with the same name. */
- bool fq_name;
-
- fq_name = false;
- /* Copy over to wchar for search. */
- sys_mbstowcs (name, UNLEN + 1, arg.name);
- /* Replace domain separator char with backslash and make sure p is NULL
- or points to the backslash, so... */
- if ((p = wcschr (name, cygheap->pg.nss_separator ()[0])))
- {
- fq_name = true;
- *p = L'\\';
- }
- sid = csid;
- ret = LookupAccountNameW (NULL, name, sid, &slen, dom, &dlen, &acc_type);
- /* If this is a name-only S-1-5-21 account *and* it's a machine account
- on a domain member machine, then we found the wrong one. Another
- weird, but perfectly valid case is, if the group name is identical
- to the domain name. Try again with domain name prepended. */
- if (ret
- && !fq_name
- && sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_NT_NON_UNIQUE
- && cygheap->dom.member_machine ()
- && (wcscasecmp (dom, cygheap->dom.account_flat_name ()) == 0
- || acc_type == SidTypeDomain))
- {
- p = wcpcpy (name, cygheap->dom.primary_flat_name ());
- *p = L'\\';
- sys_mbstowcs (p + 1, UNLEN + 1, arg.name);
- slen = SECURITY_MAX_SID_SIZE;
- dlen = DNLEN + 1;
- sid = csid;
- ret = LookupAccountNameW (NULL, name, sid, &slen, dom, &dlen,
- &acc_type);
- }
- if (!ret)
- {
- debug_printf ("LookupAccountNameW (%W), %E", name);
- return NULL;
- }
- /* We can skip the backslash in the rest of this function. */
- if (p)
- name = p + 1;
- /* Last but not least, some validity checks on the name style. */
- if (!fq_name)
- {
- /* name_only only if db_prefix is auto. */
- if (!cygheap->pg.nss_prefix_auto ())
- {
- debug_printf ("Invalid account name <%s> (name only/"
- "db_prefix not auto)", arg.name);
- return NULL;
- }
- /* name_only account is either builtin or primary domain, or
- account domain on non-domain machines. */
- if (sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_NT_NON_UNIQUE)
- {
- if (cygheap->dom.member_machine ())
- {
- if (wcscasecmp (dom, cygheap->dom.primary_flat_name ()) != 0)
- {
- debug_printf ("Invalid account name <%s> (name only/"
- "non primary on domain machine)", arg.name);
- return NULL;
- }
- }
- else if (wcscasecmp (dom, cygheap->dom.account_flat_name ()) != 0)
- {
- debug_printf ("Invalid account name <%s> (name only/"
- "non machine on non-domain machine)", arg.name);
- return NULL;
- }
- }
- }
- else
- {
- /* All is well if db_prefix is always. */
- if (cygheap->pg.nss_prefix_always ())
- break;
- /* Otherwise, no fully_qualified for builtin accounts. */
- if (sid_id_auth (sid) != 5 /* SECURITY_NT_AUTHORITY */
- || sid_sub_auth (sid, 0) != SECURITY_NT_NON_UNIQUE)
- {
- debug_printf ("Invalid account name <%s> (fully qualified/"
- "not NON_UNIQUE)", arg.name);
- return NULL;
- }
- /* All is well if db_prefix is primary. */
- if (cygheap->pg.nss_prefix_primary ())
- break;
- /* Domain member and domain == primary domain? */
- if (cygheap->dom.member_machine ())
- {
- if (!wcscasecmp (dom, cygheap->dom.primary_flat_name ()))
- {
- debug_printf ("Invalid account name <%s> (fully qualified/"
- "primary domain account)", arg.name);
- return NULL;
- }
- }
- /* Not domain member and domain == account domain? */
- else if (!wcscasecmp (dom, cygheap->dom.account_flat_name ()))
- {
- debug_printf ("Invalid account name <%s> (fully qualified/"
- "local account)", arg.name);
- return NULL;
- }
- }
- break;
- case ID_arg:
- /* Construct SID from ID using the SFU rules, just like the code below
- goes the opposite route. */
-#ifndef INTERIX_COMPATIBLE
- /* Except for Builtin and Alias groups in the SECURITY_NT_AUTHORITY.
- We create uid/gid values compatible with the old values generated
- by mkpasswd/mkgroup. */
- if (arg.id < 0x200)
- __small_swprintf (sidstr, L"S-1-5-%u", arg.id & 0x1ff);
- else if (arg.id == 0x3e8) /* Special case "Other Organization" */
- wcpcpy (sidstr, L"S-1-5-1000");
- else if (arg.id <= 0x7ff)
- __small_swprintf (sidstr, L"S-1-5-32-%u", arg.id & 0x7ff);
- else
-#endif
- if (arg.id == 0xffe)
- {
- /* OtherSession != Logon SID. */
- get_logon_sid ();
- /* LookupAccountSidW will fail. */
- sid = csid = logon_sid;
- sid_sub_auth_rid (sid) = 0;
- break;
- }
- else if (arg.id == 0xfff)
- {
- /* CurrentSession == Logon SID. */
- get_logon_sid ();
- /* LookupAccountSidW will fail. */
- sid = logon_sid;
- break;
- }
- else if (arg.id < 0x10000)
- {
- /* Nothing. */
- debug_printf ("Invalid POSIX id %u", arg.id);
- return NULL;
- }
- else if (arg.id < 0x20000)
- {
- /* Well-Known Group */
- arg.id -= 0x10000;
- __small_swprintf (sidstr, L"S-1-%u-%u", arg.id >> 8, arg.id & 0xff);
- }
- else if (arg.id >= 0x30000 && arg.id < 0x40000)
- {
- /* Account domain user or group. */
- PWCHAR s = cygheap->dom.account_sid ().pstring (sidstr);
- __small_swprintf (s, L"-%u", arg.id & 0xffff);
- }
- else if (arg.id < 0x60000)
- {
- /* Builtin Alias */
- __small_swprintf (sidstr, L"S-1-5-%u-%u",
- arg.id >> 12, arg.id & 0xffff);
- }
- else if (arg.id < 0x70000)
- {
- /* Mandatory Label. */
- __small_swprintf (sidstr, L"S-1-16-%u", arg.id & 0xffff);
- }
- else if (arg.id < 0x80000)
- {
- /* Identity assertion SIDs. */
- __small_swprintf (sidstr, L"S-1-18-%u", arg.id & 0xffff);
- }
- else if (arg.id < PRIMARY_POSIX_OFFSET)
- {
- /* Nothing. */
- debug_printf ("Invalid POSIX id %u", arg.id);
- return NULL;
- }
- else if (arg.id == ILLEGAL_UID)
- {
- /* Just some fake. */
- sid = csid = "S-1-99-0";
- break;
- }
- else if (arg.id >= UNIX_POSIX_OFFSET)
- {
- /* UNIX (unknown NFS or Samba) user account. */
- __small_swprintf (sidstr, L"S-1-22-%u-%u",
- is_group () ? 2 : 1, arg.id & UNIX_POSIX_MASK);
- /* LookupAccountSidW will fail. */
- sid = csid = sidstr;
- break;
- }
- else
- {
- /* Some trusted domain? */
- PDS_DOMAIN_TRUSTSW td = NULL, this_td = NULL;
-
- for (ULONG idx = 0; (td = cygheap->dom.trusted_domain (idx)); ++idx)
- {
- fetch_posix_offset (td, &loc_ldap);
- if (td->PosixOffset > posix_offset && td->PosixOffset <= arg.id)
- posix_offset = (this_td = td)->PosixOffset;
- }
- if (this_td)
- {
- cygpsid tsid (this_td->DomainSid);
- PWCHAR s = tsid.pstring (sidstr);
- __small_swprintf (s, L"-%u", arg.id - posix_offset);
- }
- else
- {
- /* Primary domain */
- PWCHAR s = cygheap->dom.primary_sid ().pstring (sidstr);
- __small_swprintf (s, L"-%u", arg.id - PRIMARY_POSIX_OFFSET);
- }
- posix_offset = 0;
- }
- sid = csid = sidstr;
- ret = LookupAccountSidW (NULL, sid, name, &nlen, dom, &dlen, &acc_type);
- if (!ret)
- {
- debug_printf ("LookupAccountSidW (%W), %E", sidstr);
- return NULL;
- }
- break;
- }
- if (ret)
- {
- /* Builtin account? SYSTEM, for instance, is returned as SidTypeUser,
- if a process is running as LocalSystem service.
- Microsoft Account? These show up in the user's group list, using the
- undocumented security authority 11. Even though this is officially a
- user account, it only matters as part of the group list, so we convert
- it to a well-known group here. */
- if (acc_type == SidTypeUser
- && (sid_sub_auth_count (sid) <= 3 || sid_id_auth (sid) == 11))
- acc_type = SidTypeWellKnownGroup;
- switch (acc_type)
- {
- case SidTypeUser:
- case SidTypeGroup:
- case SidTypeAlias:
- /* Predefined alias? */
- if (acc_type == SidTypeAlias
- && sid_sub_auth (sid, 0) != SECURITY_NT_NON_UNIQUE)
- {
-#ifdef INTERIX_COMPATIBLE
- posix_offset = 0x30000;
- uid = 0x1000 * sid_sub_auth (sid, 0)
- + (sid_sub_auth_rid (sid) & 0xffff);
-#else
- posix_offset = 0;
-#endif
- fully_qualified_name = cygheap->pg.nss_prefix_always ();
- is_domain_account = false;
- }
- /* Account domain account? */
- else if (!wcscasecmp (dom, cygheap->dom.account_flat_name ()))
- {
- posix_offset = 0x30000;
- if (cygheap->dom.member_machine ()
- || !cygheap->pg.nss_prefix_auto ())
- fully_qualified_name = true;
- is_domain_account = false;
- }
- /* Domain member machine? */
- else if (cygheap->dom.member_machine ())
- {
- /* Primary domain account? */
- if (!wcscasecmp (dom, cygheap->dom.primary_flat_name ()))
- {
- posix_offset = PRIMARY_POSIX_OFFSET;
- /* In theory domain should have been set to
- cygheap->dom.primary_dns_name (), but it turns out that
- not setting the domain here has advantages. We open the
- ldap connection to NULL (== some DC of our primary domain)
- anyway. So the domain is only used later on. So, don't
- set domain here to non-NULL, unless you're sure you have
- also changed subsequent assumptions that domain is NULL
- if it's a primary domain account. */
- if (!cygheap->pg.nss_prefix_auto ())
- fully_qualified_name = true;
- }
- else
- {
- /* No, fetch POSIX offset. */
- PDS_DOMAIN_TRUSTSW td = NULL;
-
- fully_qualified_name = true;
- for (ULONG idx = 0;
- (td = cygheap->dom.trusted_domain (idx));
- ++idx)
- if (!wcscasecmp (dom, td->NetbiosDomainName))
- {
- domain = td->DnsDomainName;
- posix_offset =
- fetch_posix_offset (td, &loc_ldap);
- break;
- }
-
- if (!domain)
- {
- debug_printf ("Unknown domain %W", dom);
- return NULL;
- }
- }
- }
- /* If the domain returned by LookupAccountSid is not our machine
- name, and if our machine is no domain member, we lose. We have
- nobody to ask for the POSIX offset. */
- else
- {
- debug_printf ("Unknown domain %W", dom);
- return NULL;
- }
- /* Generate values. */
- if (uid == ILLEGAL_UID)
- uid = posix_offset + sid_sub_auth_rid (sid);
-
- /* We only care for extended user information if we're creating a
- passwd entry and the account is a user or alias. */
- if (is_group () || acc_type == SidTypeGroup)
- break;
-
- if (acc_type == SidTypeUser)
- {
- /* Default primary group. If the sid is the current user, fetch
- the default group from the current user token, otherwise make
- the educated guess that the user is in group "Domain Users"
- or "None". */
- if (sid == cygheap->user.sid ())
- gid = posix_offset
- + sid_sub_auth_rid (cygheap->user.groups.pgsid);
- else
- gid = posix_offset + DOMAIN_GROUP_RID_USERS;
- }
-
- if (is_domain_account)
- {
- /* Use LDAP to fetch domain account infos. */
- if (cldap->open (NULL) != NO_ERROR)
- break;
- if (cldap->fetch_ad_account (sid, is_group (), domain))
- {
- PWCHAR val;
-
- if ((id_val = cldap->get_primary_gid ()) != ILLEGAL_GID)
- gid = posix_offset + id_val;
- if ((val = cldap->get_gecos ()))
- gecos = colon_to_semicolon (
- wcscpy ((PWCHAR) alloca ((wcslen (val) + 1)
- * sizeof (WCHAR)), val));
- if ((val = cldap->get_home ()))
- home = wcscpy ((PWCHAR) alloca ((wcslen (val) + 1)
- * sizeof (WCHAR)), val);
- if ((val = cldap->get_shell ()))
- shell = wcscpy ((PWCHAR) alloca ((wcslen (val) + 1)
- * sizeof (WCHAR)), val);
- /* Check and, if necessary, add unix<->windows id mapping on
- the fly, unless we're called from getpwent. */
- if (!pldap)
- {
- id_val = cldap->get_unix_uid ();
- if (id_val != ILLEGAL_UID
- && cygheap->ugid_cache.get_uid (id_val)
- == ILLEGAL_UID)
- cygheap->ugid_cache.add_uid (id_val, uid);
- }
- }
- }
- /* Otherwise check account domain (local SAM).*/
- else
- {
- NET_API_STATUS nas;
- PUSER_INFO_4 ui;
- PLOCALGROUP_INFO_1 gi;
- PCWSTR comment;
- PWCHAR pgrp = NULL;
- PWCHAR uxid = NULL;
- struct {
- PCWSTR str;
- size_t len;
- PWCHAR *tgt;
- bool group;
- } search[] = {
- { L"unix=\"", 6, &uxid, true },
- { L"home=\"", 6, &home, false },
- { L"shell=\"", 7, &shell, false },
- { L"group=\"", 7, &pgrp, false },
- { NULL, 0, NULL }
- };
- PWCHAR s, e;
-
- if (acc_type == SidTypeUser)
- {
- nas = NetUserGetInfo (NULL, name, 4, (PBYTE *) &ui);
- if (nas != NERR_Success)
- {
- debug_printf ("NetUserGetInfo(%W) %u", name, nas);
- break;
- }
- /* Set comment variable for below attribute loop. */
- comment = ui->usri4_comment;
- /* Logging in with a Microsoft Account, the user's primary
- group SID is the user's SID. Security sensitive tools
- expecting tight file permissions choke on that. We need
- an explicit primary group which is not identical to the
- user account. Unfortunately, while the default primary
- group of the account in SAM is still "None", "None" is not
- in the user token group list. So, what we do here is to
- use "Users" as a sane default primary group instead. */
- if (wincap.has_microsoft_accounts ())
- {
- struct cyg_USER_INFO_24 *ui24;
- nas = NetUserGetInfo (NULL, name, 24, (PBYTE *) &ui24);
- if (nas == NERR_Success)
- {
- if (ui24->usri24_internet_identity)
- gid = DOMAIN_ALIAS_RID_USERS;
- NetApiBufferFree (ui24);
- }
- }
- }
- else /* acc_type == SidTypeAlias */
- {
- nas = NetLocalGroupGetInfo (NULL, name, 1, (PBYTE *) &gi);
- if (nas != NERR_Success)
- {
- debug_printf ("NetLocalGroupGetInfo(%W) %u", name, nas);
- break;
- }
- /* Set comment variable for below attribute loop. */
- comment = gi->lgrpi1_comment;
- }
- /* Local SAM accounts have only a handful attributes
- available to home users. Therefore, fetch additional
- passwd/group attributes from the "Description" field
- in XML short style. */
- if ((s = wcsstr (comment, L"<cygwin "))
- && (e = wcsstr (s + 8, L"/>")))
- {
- s += 8;
- *e = L'\0';
- while (*s)
- {
- bool found = false;
-
- while (*s == L' ')
- ++s;
- for (size_t i = 0; search[i].str; ++i)
- if ((acc_type == SidTypeUser || search[i].group)
- && !wcsncmp (s, search[i].str, search[i].len))
- {
- s += search[i].len;
- if ((e = wcschr (s, L'"'))
- && (i > 0 || wcsncmp (name, s, e - s)))
- {
- *search[i].tgt =
- (PWCHAR) alloca ((e - s + 1)
- * sizeof (WCHAR));
- *wcpncpy (*search[i].tgt, s, e - s) = L'\0';
- s = e + 1;
- found = true;
- }
- else
- break;
- }
- if (!found)
- break;
- }
- }
- if (acc_type == SidTypeUser)
- NetApiBufferFree (ui);
- else
- NetApiBufferFree (gi);
- if (pgrp)
- {
- /* For setting the primary group, we have to test
- with and without prepended separator. */
- char gname[2 * UNLEN + 2];
- struct group *gr;
-
- *gname = cygheap->pg.nss_separator ()[0];
- sys_wcstombs (gname + 1, 2 * UNLEN + 1, pgrp);
- if ((gr = internal_getgrnam (gname, cldap))
- || (gr = internal_getgrnam (gname + 1, cldap)))
- gid = gr->gr_gid;
- }
- if (!pldap && uxid && ((id_val = wcstoul (uxid, &e, 10)), !*e))
- {
- if (acc_type == SidTypeUser)
- {
- if (cygheap->ugid_cache.get_uid (id_val) == ILLEGAL_UID)
- cygheap->ugid_cache.add_uid (id_val, uid);
- }
- else if (cygheap->ugid_cache.get_gid (id_val) == ILLEGAL_GID)
- cygheap->ugid_cache.add_gid (id_val, uid);
- }
- }
- break;
- case SidTypeWellKnownGroup:
- fully_qualified_name = (cygheap->pg.nss_prefix_always ()
- /* Microsoft Account */
- || sid_id_auth (sid) == 11);
-#ifdef INTERIX_COMPATIBLE
- if (sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth_count (sid) > 1)
- {
- uid = 0x1000 * sid_sub_auth (sid, 0)
- + (sid_sub_auth_rid (sid) & 0xffff);
- fully_qualified_name = true;
- }
- else
- uid = 0x10000 + 0x100 * sid_id_auth (sid)
- + (sid_sub_auth_rid (sid) & 0xff);
-#else
- if (sid_id_auth (sid) != 5 /* SECURITY_NT_AUTHORITY */)
- uid = 0x10000 + 0x100 * sid_id_auth (sid)
- + (sid_sub_auth_rid (sid) & 0xff);
- else if (sid_sub_auth (sid, 0) < SECURITY_PACKAGE_BASE_RID
- || sid_sub_auth (sid, 0) > SECURITY_MAX_BASE_RID)
- uid = sid_sub_auth_rid (sid) & 0x7ff;
- else
- {
- uid = 0x1000 * sid_sub_auth (sid, 0)
- + (sid_sub_auth_rid (sid) & 0xffff);
- }
-#endif
- /* Special case for "Everyone". We don't want to return Everyone
- as user or group. Ever. */
- if (uid == 0x10100) /* Computed from S-1-1-0. */
- return NULL;
- break;
- case SidTypeLabel:
- uid = 0x60000 + sid_sub_auth_rid (sid);
- fully_qualified_name = cygheap->pg.nss_prefix_always ();
- break;
- default:
- return NULL;
- }
- }
- else if (sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_LOGON_IDS_RID)
- {
- /* Logon ID. Mine or other? */
- get_logon_sid ();
- if (PSID (logon_sid) == NO_SID)
- return NULL;
- if (RtlEqualSid (sid, logon_sid))
- {
- uid = 0xfff;
- wcpcpy (name = namebuf, L"CurrentSession");
- }
- else
- {
- uid = 0xffe;
- wcpcpy (name = namebuf, L"OtherSession");
- }
- acc_type = SidTypeUnknown;
- }
- else if (sid_id_auth (sid) == 18)
- {
- /* Authentication assertion SIDs.
-
- Available when using a 2012R2 DC, but not supported by
- LookupAccountXXX on pre Windows 8/2012 machines */
- uid = 0x11200 + sid_sub_auth_rid (sid);
- wcpcpy (name = namebuf, sid_sub_auth_rid (sid) == 1
- ? (PWCHAR) L"Authentication authority asserted identity"
- : (PWCHAR) L"Service asserted identity");
- fully_qualified_name = false;
- acc_type = SidTypeUnknown;
- }
- else if (sid_id_auth (sid) == 22)
+ status = NtQueryInformationFile (fh, &io, &fsi, sizeof fsi,
+ FileStandardInformation);
+ if (!NT_SUCCESS (status))
{
- /* Samba UNIX Users/Groups
-
- This *might* collide with a posix_offset of some trusted domain.
- It's just very unlikely. */
- uid = MAP_UNIX_TO_CYGWIN_ID (sid_sub_auth_rid (sid));
- /* Unfortunately we have no access to the file server from here,
- so we can't generate correct user names. */
- p = wcpcpy (dom, L"Unix_");
- wcpcpy (p, sid_sub_auth (sid, 0) == 1 ? L"User" : L"Group");
- __small_swprintf (name = namebuf, L"%d", uid & UNIX_POSIX_MASK);
- fully_qualified_name = true;
- acc_type = SidTypeUnknown;
+ paranoid_printf ("NtQueryInformationFile(%S) failed, status %y",
+ &upath, status);
+ goto out;
}
- else
- {
- if (cygheap->dom.member_machine ()
- && sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_NT_NON_UNIQUE)
- {
- /* Check if we know the domain. If so, create a passwd/group
- entry with domain prefix and RID as username. */
- PDS_DOMAIN_TRUSTSW td = NULL;
-
- sid_sub_auth_count (sid) = sid_sub_auth_count (sid) - 1;
- if (RtlEqualSid (sid, cygheap->dom.primary_sid ()))
- {
- domain = cygheap->dom.primary_flat_name ();
- posix_offset = PRIMARY_POSIX_OFFSET;
- }
- else
- for (ULONG idx = 0; (td = cygheap->dom.trusted_domain (idx)); ++idx)
- if (td->DomainSid && RtlEqualSid (sid, td->DomainSid))
- {
- domain = td->NetbiosDomainName;
- posix_offset = fetch_posix_offset (td, &loc_ldap);
- break;
- }
- }
- if (domain)
- {
- sid_sub_auth_count (sid) = sid_sub_auth_count (sid) + 1;
- wcscpy (dom, domain);
- __small_swprintf (name = namebuf, L"%W(%u)",
- is_group () ? L"Group" : L"User",
- sid_sub_auth_rid (sid));
- uid = posix_offset + sid_sub_auth_rid (sid);
- }
- else
- {
- wcpcpy (dom, L"Unknown");
- wcpcpy (name = namebuf, is_group () ? L"Group" : L"User");
- }
- fully_qualified_name = true;
- acc_type = SidTypeUnknown;
- }
-
- tmp_pathbuf tp;
- PWCHAR linebuf = tp.w_get ();
- char *line = NULL;
-
- WCHAR posix_name[UNLEN + 1 + DNLEN + 1];
- p = posix_name;
- if (gid == ILLEGAL_GID)
- gid = uid;
- if (fully_qualified_name)
- p = wcpcpy (wcpcpy (p, dom), cygheap->pg.nss_separator ());
- wcpcpy (p, name);
-
- if (is_group ())
- __small_swprintf (linebuf, L"%W:%W:%u:",
- posix_name, sid.string (sidstr), uid);
- /* For non-users, create a passwd entry which doesn't allow interactive
- logon. Unless it's the SYSTEM account. This conveniently allows to
- logon interactively as SYSTEM for debugging purposes. */
- else if (acc_type != SidTypeUser && sid != well_known_system_sid)
- __small_swprintf (linebuf, L"%W:*:%u:%u:,%W:/:/sbin/nologin",
- posix_name, uid, gid, sid.string (sidstr));
- else
- __small_swprintf (linebuf, L"%W:*:%u:%u:%W%WU-%W\\%W,%W:%W%W:%W",
- posix_name, uid, gid,
- gecos ?: L"", gecos ? L"," : L"",
- dom, name,
- sid.string (sidstr),
- home ? L"" : L"/home/", home ?: name,
- shell ?: L"/bin/bash");
- sys_wcstombs_alloc (&line, HEAP_BUF, linebuf);
- debug_printf ("line: <%s>", line);
- return line;
-}
-
-client_request_pwdgrp::client_request_pwdgrp (fetch_user_arg_t &arg, bool group)
- : client_request (CYGSERVER_REQUEST_PWDGRP, &_parameters, sizeof (_parameters))
-{
- size_t len = 0;
- char *p;
-
- _parameters.in.group = group;
- _parameters.in.type = arg.type;
- switch (arg.type)
+ /* FIXME: Should we test for HighPart set? If so, the
+ passwd or group file is way beyond what we can handle. */
+ /* FIXME 2: It's still ugly that we keep the file in memory.
+ Big organizations have naturally large passwd files. */
+ buf = (char *) malloc (fsi.EndOfFile.LowPart + 1);
+ if (!buf)
{
- case SID_arg:
- RtlCopySid (sizeof (DBGSID), (PSID) &_parameters.in.arg.sid, *arg.sid);
- len = RtlLengthSid (*arg.sid);
- break;
- case NAME_arg:
- p = stpcpy (_parameters.in.arg.name, arg.name);
- len = p - _parameters.in.arg.name;
- break;
- case ID_arg:
- _parameters.in.arg.id = arg.id;
- len = sizeof (uint32_t);
+ paranoid_printf ("malloc (%u) failed", fsi.EndOfFile.LowPart);
+ goto out;
}
- msglen (__builtin_offsetof (struct _pwdgrp_param_t::_pwdgrp_in_t, arg) + len);
-}
-
-char *
-pwdgrp::fetch_account_from_cygserver (fetch_user_arg_t &arg)
-{
- client_request_pwdgrp request (arg, is_group ());
- if (request.make_request () == -1 || request.error_code ())
+ status = NtReadFile (fh, NULL, NULL, NULL, &io, buf, fsi.EndOfFile.LowPart,
+ NULL, NULL);
+ if (!NT_SUCCESS (status))
{
- /* Cygserver not running? Don't try again. This will automatically
- avoid an endless loop in cygserver itself. */
- if (request.error_code () == ENOSYS)
- cygheap->pg.nss_disable_cygserver_caching ();
- return NULL;
- }
- if (!request.line ())
- return NULL;
- return cstrdup (request.line ());
-}
-
-void *
-pwdgrp::add_account_from_cygserver (cygpsid &sid)
-{
- /* No, Everyone is no group in terms of POSIX. */
- if (sid_id_auth (sid) == 1 /* SECURITY_WORLD_SID_AUTHORITY */
- && sid_sub_auth (sid, 0) == SECURITY_WORLD_RID)
- return NULL;
- fetch_user_arg_t arg;
- arg.type = SID_arg;
- arg.sid = &sid;
- char *line = fetch_account_from_cygserver (arg);
- return add_account_post_fetch (line, true);
-}
-
-void *
-pwdgrp::add_account_from_cygserver (const char *name)
-{
- fetch_user_arg_t arg;
- arg.type = NAME_arg;
- arg.name = name;
- char *line = fetch_account_from_cygserver (arg);
- return add_account_post_fetch (line, true);
-}
-
-void *
-pwdgrp::add_account_from_cygserver (uint32_t id)
-{
- fetch_user_arg_t arg;
- arg.type = ID_arg;
- arg.id = id;
- char *line = fetch_account_from_cygserver (arg);
- return add_account_post_fetch (line, true);
+ paranoid_printf ("NtReadFile(%S) failed, status %y", &upath, status);
+ free (buf);
+ goto out;
+ }
+ buf[fsi.EndOfFile.LowPart] = '\0';
+ for (char *eptr = buf; (eptr = add_line (eptr)); )
+ continue;
+ debug_printf ("%W curr_lines %d", rel_path, curr_lines);
+ res = succeeded;
+
+out:
+ if (fh)
+ NtClose (fh);
+ debug_printf ("%W load %s", rel_path, res);
+ initialized = true;
}
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc
index f6faa03..cdbb1c3 100644
--- a/winsup/cygwin/wincap.cc
+++ b/winsup/cygwin/wincap.cc
@@ -2,7 +2,7 @@
capability class to the appropriate values.
Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
- 2012, 2013, 2014 Red Hat, Inc.
+ 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -49,7 +49,6 @@ wincaps wincap_xpsp2 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_pipe_reject_remote_clients:false,
terminate_thread_frees_stack:false,
has_precise_system_time:false,
- has_microsoft_accounts:false,
};
wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = {
@@ -78,7 +77,6 @@ wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_pipe_reject_remote_clients:false,
terminate_thread_frees_stack:false,
has_precise_system_time:false,
- has_microsoft_accounts:false,
};
wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = {
@@ -107,7 +105,6 @@ wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = {
has_pipe_reject_remote_clients:true,
terminate_thread_frees_stack:true,
has_precise_system_time:false,
- has_microsoft_accounts:false,
};
wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = {
@@ -136,7 +133,6 @@ wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_pipe_reject_remote_clients:true,
terminate_thread_frees_stack:true,
has_precise_system_time:false,
- has_microsoft_accounts:false,
};
wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = {
@@ -165,7 +161,6 @@ wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_pipe_reject_remote_clients:true,
terminate_thread_frees_stack:true,
has_precise_system_time:true,
- has_microsoft_accounts:true,
};
wincapc wincap __attribute__((section (".cygwin_dll_common"), shared));
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 43c72b6..98fef26 100644
--- a/winsup/cygwin/wincap.h
+++ b/winsup/cygwin/wincap.h
@@ -1,7 +1,7 @@
/* wincap.h: Header for OS capability class.
Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
- 2012, 2013, 2014 Red Hat, Inc.
+ 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -39,7 +39,6 @@ struct wincaps
unsigned has_pipe_reject_remote_clients : 1;
unsigned terminate_thread_frees_stack : 1;
unsigned has_precise_system_time : 1;
- unsigned has_microsoft_accounts : 1;
};
class wincapc
@@ -90,7 +89,6 @@ public:
bool IMPLEMENT (has_pipe_reject_remote_clients)
bool IMPLEMENT (terminate_thread_frees_stack)
bool IMPLEMENT (has_precise_system_time)
- bool IMPLEMENT (has_microsoft_accounts)
#undef IMPLEMENT
};
diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 1629948..c50cf74 100644
--- a/winsup/cygwin/winlean.h
+++ b/winsup/cygwin/winlean.h
@@ -1,6 +1,6 @@
/* winlean.h - Standard "lean" windows include
- Copyright 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ Copyright 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -58,6 +58,11 @@ details. */
#include <lmcons.h>
#include <ntdef.h>
+/* Temporary kludge for missing flag in Mingw64's w32api. */
+#ifndef PIPE_REJECT_REMOTE_CLIENTS
+#define PIPE_REJECT_REMOTE_CLIENTS 8
+#endif
+
#ifdef __undef_IN
#undef IN
#endif
@@ -74,13 +79,6 @@ details. */
#undef CRITICAL
#endif
-/* So-called "Microsoft Account" SIDs have a netbios domain name
- "MicrosoftAccounts". The problem is, while DNLEN is 15, that domain
- name is 16 chars :-P So we override DNLEN here to be 16, so that calls
- to LookupAccountSid/Name don't fail if the buffer is based on DNLEN. */
-#undef DNLEN
-#define DNLEN 16
-
/* When Terminal Services are installed, the GetWindowsDirectory function
does not return the system installation dir, but a user specific directory
instead. That's not what we have in mind when calling GetWindowsDirectory
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 770d4bb..eb7a423 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -1,7 +1,7 @@
/* winsup.h: main Cygwin header file.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2007, 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -172,8 +172,20 @@ void __reg1 do_exit (int) __attribute__ ((noreturn));
/* libstdc++ malloc operator wrapper support. */
extern struct per_process_cxx_malloc default_cygwin_cxx_malloc;
+/* UID/GID */
+void uinfo_init ();
+
+#define ILLEGAL_UID ((uid_t)-1)
+#define ILLEGAL_GID ((gid_t)-1)
#define ILLEGAL_SEEK ((off_t)-1)
+#ifndef __x86_64__
+#define ILLEGAL_UID16 ((__uid16_t)-1)
+#define ILLEGAL_GID16 ((__gid16_t)-1)
+#define uid16touid32(u16) ((u16)==ILLEGAL_UID16?ILLEGAL_UID:(uid_t)(u16))
+#define gid16togid32(g16) ((g16)==ILLEGAL_GID16?ILLEGAL_GID:(gid_t)(g16))
+#endif
+
/* Convert LARGE_INTEGER into long long */
#define get_ll(pl) (((long long) (pl).HighPart << 32) | (pl).LowPart)
@@ -285,17 +297,6 @@ extern "C" char _data_start__, _data_end__, _bss_start__, _bss_end__;
extern "C" void (*__CTOR_LIST__) (void);
extern "C" void (*__DTOR_LIST__) (void);
-#ifdef NEEDED
-/* This was inexplicably needed after updating a toolchain.
- The need disappeared when updating further but I'm keeping
- it around temporarily in case the issue crops up again.
- This manifests as SEGVs in one of the Interlocked functions below
- in kernel32.dll. */
-#define InterlockedDecrement _InterlockedDecrement
-#define InterlockedExchange _InterlockedExchange
-#define InterlockedIncrement _InterlockedIncrement
-#endif /*NEEDED*/
-
#ifndef NO_GLOBALS_H
#define _RDATA /* See globals.h */
#include "globals.h"
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index ad41b77..521be48 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -7,32 +7,6 @@
* faq-what.xml (faq.what.who): CGF has retired.
-2014-07-30 Corinna Vinschen <corinna@vinschen.de>
-
- * ntsec.xml: Small improvments.
-
-2014-07-30 Corinna Vinschen <corinna@vinschen.de>
-
- * new-features.xml: (ov-new1.7): Change section title.
-
-2014-07-30 Corinna Vinschen <corinna@vinschen.de>
-
- * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7
- sections into section level 3.
-
-2014-07-30 Corinna Vinschen <corinna@vinschen.de>
-
- * cygwin.xsl: Allow 3 section levels in TOC.
- * new-features.xml: (ov-new1.7.32): Add new section.
- * ntsec.xml: Rename top-level section to reflect extension of topics.
- Remove old /etc/passwd, /etc/group considerations. Add new sections
- explaining Windows to POSIX account mapping. Make setuid sections
- third level sections.
- * pathnames.xml: Note new method of account mapping for fstab.d/$USER.
- * faq-setup.xml: Rework references to /etc/passwd and /etc/group to
- reflect changes to account handling.
- * faq-using.xml: Ditto.
-
2014-07-21 Corinna Vinschen <corinna@vinschen.de>
* new-features.xml: (ov-new1.7.31): Add new section.
diff --git a/winsup/doc/cygwin.xsl b/winsup/doc/cygwin.xsl
index 157f6f2..2351293 100644
--- a/winsup/doc/cygwin.xsl
+++ b/winsup/doc/cygwin.xsl
@@ -8,6 +8,5 @@
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
<xsl:param name="use.id.as.filename" select="1" />
<xsl:param name="root.filename" select="@id" />
-<xsl:param name="toc.section.depth" select="3" />
</xsl:stylesheet>
diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml
index b8ec061..d2a0f1c 100644
--- a/winsup/doc/faq-setup.xml
+++ b/winsup/doc/faq-setup.xml
@@ -377,9 +377,8 @@ you are much better off if you can avoid the problem entirely.
run mkpasswd.
</para>
</listitem>
-<listitem><para>If you already have an /etc/passwd file, you can simply edit
-your Cygwin user name (first field). It's also a good idea to avoid spaces in
-the home directory.
+<listitem><para>You can simply edit the /etc/passwd file and change the Cygwin user name
+(first field). It's also a good idea to avoid spaces in the home directory.
</para>
</listitem>
</orderedlist>
@@ -397,7 +396,7 @@ in order of decreasing priority:
<listitem><para><literal>HOME</literal> from the Windows environment, translated to POSIX form.
</para>
</listitem>
-<listitem><para>The pw_home field from the passwd entry as returned by <command>getent passwd</command>.
+<listitem><para>The entry in /etc/passwd
</para>
</listitem>
<listitem><para>/home/USERNAME
@@ -405,7 +404,8 @@ in order of decreasing priority:
</listitem>
</orderedlist>
-<para>When using Cygwin from the network (telnet, ssh,...), <literal>HOME</literal> is taken from the passwd entry.
+<para>When using Cygwin from the network (telnet, ssh,...), <literal>HOME</literal> is set
+from /etc/passwd.
</para>
<para>If your <literal>HOME</literal> is set to a value such as /cygdrive/c, it is likely
that it was set in Windows. Start a DOS Command Window and type
@@ -413,9 +413,8 @@ that it was set in Windows. Start a DOS Command Window and type
</para>
<para>Access to shared drives is often restricted when starting from the network,
thus Domain users may wish to have a different <literal>HOME</literal> in the
-Windows environment (on shared drive) than in Cygwin (on local drive).
-Note that ssh only considers the account information as retrieved by
-getpwnam(3), disregarding <literal>HOME</literal>.
+Windows environment (on shared drive) than in /etc/passwd (on local drive).
+Note that ssh only considers /etc/passwd, disregarding <literal>HOME</literal>.
</para>
</answer></qandaentry>
diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml
index 1b83ef9..19e3816 100644
--- a/winsup/doc/faq-using.xml
+++ b/winsup/doc/faq-using.xml
@@ -137,7 +137,7 @@ as such.
<para>Your .bashrc is read from your home directory specified by the HOME
environment variable. It uses /.bashrc if HOME is not set. So you need
-to set HOME (and the home dir in your passwd account information) correctly.
+to set HOME (and the home dir in your /etc/passwd entry) correctly.
</para>
</answer></qandaentry>
@@ -265,6 +265,12 @@ must create the whatis database. Just run the command
<question><para>Why doesn't <literal>chmod</literal> work?</para></question>
<answer>
+<para>The most common case is that your <literal>/etc/passwd</literal>
+or <literal>/etc/group</literal> files are not properly set up. If
+<literal>ls -l</literal> shows a group of <literal>mkpasswd</literal>
+or <literal>mkgroup</literal>, you need to run one or both of those
+commands.
+</para>
<para>If you're using FAT32 instead of NTFS, <literal>chmod</literal>
will fail since FAT32 does not provide any permission information.
You should really consider converting the drive to NTFS with
@@ -1026,6 +1032,19 @@ sure you're running bash elevated.
</para>
<para>
+If "cyg_server" is not already in <literal>/etc/passwd</literal>, add it
+using <literal>mkpasswd</literal>. Make sure all domain accounts which are
+supposed to be able to logon via ssh are in <literal>/etc/passwd</literal>.
+Also make sure that all important domain groups are in
+<literal>/etc/group</literal>. If in doubt, call
+</para>
+
+<screen>
+ $ mkpasswd -l -d your_domain > /etc/passwd
+ $ mkgroup -l -d your_domain > /etc/group
+</screen>
+
+<para>
Then run ssh-host-config. Answer all questions so that "cyg_server" is
used to run the service. When done, check ownership of
<literal>/var/empty</literal> and all <literal>/etc/ssh*</literal>
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index 2f90a2d..ebf4a17 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -2,23 +2,31 @@
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<sect1 id="ov-new1.7"><title>What's new and what changed in Cygwin</title>
+<sect1 id="ov-new1.7"><title>What's new and what changed in Cygwin 1.7</title>
<sect2 id="ov-new1.7.32"><title>What's new and what changed in 1.7.32</title>
<itemizedlist mark="bullet">
<listitem><para>
-Introduce reading passwd/group entries directly from SAM/AD, thus allowing
-to do without /etc/passwd and /etc/group files. Introduce /etc/nsswitch.conf
-file to configure passwd/group handling.
+Export __cxa_atexit and __cxa_finalize to allow C++ standards-compliant
+destructor handling in libstdc++ and g++ compiled code.
+
+Please note that, in order to benefit from this new feature, C++ code
+must be recompiled with the upcoming gcc 4.8.3-3 release which will
+enable the -fuse-cxa-atexit flag by default, and that C++ applications
+using this feature will not run on older Cygwin releases.
+</para></listitem>
+
+<listitem><para>
+Support more recent CPU flags in /proc/cpuinfo.
</para></listitem>
</itemizedlist>
</sect2>
-<sect2 id="ov-new1.7.31"><title>What's new and what changed in 1.7.31</title>
+<sect2 id="ov-new1.7.31"><title>What's new and what changed from 1.7.30 to 1.7.31</title>
<itemizedlist mark="bullet">
@@ -45,7 +53,7 @@ as on Linux.
</sect2>
-<sect2 id="ov-new1.7.29"><title>What's new and what changed in 1.7.29</title>
+<sect2 id="ov-new1.7.29"><title>What's new and what changed from 1.7.28 to 1.7.29</title>
<itemizedlist mark="bullet">
@@ -62,7 +70,7 @@ Console screen clearing works more like xterm or mintty.
</sect2>
-<sect2 id="ov-new1.7.28"><title>What's new and what changed in 1.7.28</title>
+<sect2 id="ov-new1.7.28"><title>What's new and what changed from 1.7.27 to 1.7.28</title>
<itemizedlist mark="bullet">
@@ -85,7 +93,7 @@ if it only has been read from.
</sect2>
-<sect2 id="ov-new1.7.27"><title>What's new and what changed in 1.7.27</title>
+<sect2 id="ov-new1.7.27"><title>What's new and what changed from 1.7.26 to 1.7.27</title>
<itemizedlist mark="bullet">
@@ -100,7 +108,7 @@ points to a native NTFS symlink with a target path prefixed with "\\?\".
</sect2>
-<sect2 id="ov-new1.7.26"><title>What's new and what changed in 1.7.26</title>
+<sect2 id="ov-new1.7.26"><title>What's new and what changed from 1.7.25 to 1.7.26</title>
<itemizedlist mark="bullet">
@@ -140,7 +148,7 @@ New associated header /usr/include/spawn.h.
</sect2>
-<sect2 id="ov-new1.7.25"><title>What's new and what changed in 1.7.25</title>
+<sect2 id="ov-new1.7.25"><title>What's new and what changed from 1.7.24 to 1.7.25</title>
<itemizedlist mark="bullet">
@@ -158,7 +166,7 @@ partitions on a tape.
</sect2>
-<sect2 id="ov-new1.7.24"><title>What's new and what changed in 1.7.24</title>
+<sect2 id="ov-new1.7.24"><title>What's new and what changed from 1.7.23 to 1.7.24</title>
<itemizedlist mark="bullet">
@@ -170,7 +178,7 @@ Allow application override of posix_memalign.
</sect2>
-<sect2 id="ov-new1.7.23"><title>What's new and what changed in 1.7.23</title>
+<sect2 id="ov-new1.7.23"><title>What's new and what changed from 1.7.22 to 1.7.23</title>
<itemizedlist mark="bullet">
@@ -183,7 +191,7 @@ send the full windows command line to any subprocesses.
</sect2>
-<sect2 id="ov-new1.7.22"><title>What's new and what changed in 1.7.22</title>
+<sect2 id="ov-new1.7.22"><title>What's new and what changed from 1.7.21 to 1.7.22</title>
<itemizedlist mark="bullet">
@@ -207,7 +215,7 @@ containing arbitrary byte values as GLibc's regcomp.
</sect2>
-<sect2 id="ov-new1.7.21"><title>What's new and what changed in 1.7.21</title>
+<sect2 id="ov-new1.7.21"><title>What's new and what changed from 1.7.20 to 1.7.21</title>
<itemizedlist mark="bullet">
@@ -219,7 +227,7 @@ New API: rawmemchr.
</sect2>
-<sect2 id="ov-new1.7.19"><title>What's new and what changed in 1.7.19</title>
+<sect2 id="ov-new1.7.19"><title>What's new and what changed from 1.7.18 to 1.7.19</title>
<itemizedlist mark="bullet">
@@ -255,7 +263,7 @@ arc4random_buf, arc4random_stir, arc4random_uniform.
</sect2>
-<sect2 id="ov-new1.7.18"><title>What's new and what changed in 1.7.18</title>
+<sect2 id="ov-new1.7.18"><title>What's new and what changed from 1.7.17 to 1.7.18</title>
<itemizedlist mark="bullet">
@@ -291,7 +299,7 @@ New API: cfsetspeed.
</sect2>
-<sect2 id="ov-new1.7.17"><title>What's new and what changed in 1.7.17</title>
+<sect2 id="ov-new1.7.17"><title>What's new and what changed from 1.7.16 to 1.7.17</title>
<itemizedlist mark="bullet">
@@ -309,7 +317,7 @@ allows to open the file with the O_EXCL flag set.
</sect2>
-<sect2 id="ov-new1.7.16"><title>What's new and what changed in 1.7.16</title>
+<sect2 id="ov-new1.7.16"><title>What's new and what changed from 1.7.15 to 1.7.16</title>
<itemizedlist mark="bullet">
@@ -325,7 +333,7 @@ Recognize ReFS filesystem.
</sect2>
-<sect2 id="ov-new1.7.15"><title>What's new and what changed in 1.7.15</title>
+<sect2 id="ov-new1.7.15"><title>What's new and what changed from 1.7.14 to 1.7.15</title>
<itemizedlist mark="bullet">
@@ -337,7 +345,7 @@ CYGWIN=pipe_byte option now forces the opening of pipes in byte mode rather than
</sect2>
-<sect2 id="ov-new1.7.14"><title>What's new and what changed in 1.7.14</title>
+<sect2 id="ov-new1.7.14"><title>What's new and what changed from 1.7.13 to 1.7.14</title>
<itemizedlist mark="bullet">
@@ -349,7 +357,7 @@ Add mouse reporting modes 1005, 1006 and 1015 to console window.
</sect2>
-<sect2 id="ov-new1.7.13"><title>What's new and what changed in 1.7.13</title>
+<sect2 id="ov-new1.7.13"><title>What's new and what changed from 1.7.12 to 1.7.13</title>
<itemizedlist mark="bullet">
@@ -367,7 +375,7 @@ is now properly flushed.
</sect2>
-<sect2 id="ov-new1.7.12"><title>What's new and what changed in 1.7.12</title>
+<sect2 id="ov-new1.7.12"><title>What's new and what changed from 1.7.11 to 1.7.12</title>
<itemizedlist mark="bullet">
@@ -402,7 +410,7 @@ finding potential BLODAs.
</sect2>
-<sect2 id="ov-new1.7.11"><title>What's new and what changed in 1.7.11</title>
+<sect2 id="ov-new1.7.11"><title>What's new and what changed from 1.7.10 to 1.7.11</title>
<itemizedlist mark="bullet">
@@ -429,7 +437,7 @@ changed using the pthread_attr_setstacksize call.
</sect2>
-<sect2 id="ov-new1.7.10"><title>What's new and what changed in 1.7.10</title>
+<sect2 id="ov-new1.7.10"><title>What's new and what changed from 1.7.9 to 1.7.10</title>
<itemizedlist mark="bullet">
@@ -553,7 +561,7 @@ pthread_sigqueue, sysinfo.
</sect2>
-<sect2 id="ov-new1.7.9"><title>What's new and what changed in 1.7.9</title>
+<sect2 id="ov-new1.7.9"><title>What's new and what changed from 1.7.8 to 1.7.9</title>
<itemizedlist mark="bullet">
@@ -565,7 +573,7 @@ New API: strchrnul.
</sect2>
-<sect2 id="ov-new1.7.8"><title>What's new and what changed in 1.7.8</title>
+<sect2 id="ov-new1.7.8"><title>What's new and what changed from 1.7.7 to 1.7.8</title>
<itemizedlist mark="bullet">
@@ -633,7 +641,7 @@ Support TIOCGPGRP, TIOCSPGRP ioctls.
</sect2>
-<sect2 id="ov-new1.7.7"><title>What's new and what changed in 1.7.7</title>
+<sect2 id="ov-new1.7.7"><title>What's new and what changed from 1.7.6 to 1.7.7</title>
<itemizedlist mark="bullet">
@@ -660,7 +668,7 @@ See <xref linkend="textbin-devel"></xref> for details.
</sect2>
-<sect2 id="ov-new1.7.6"><title>What's new and what changed in 1.7.6</title>
+<sect2 id="ov-new1.7.6"><title>What's new and what changed from 1.7.5 to 1.7.6</title>
<itemizedlist mark="bullet">
@@ -717,7 +725,7 @@ be out of the way. [...]
</sect2>
-<sect2 id="ov-new1.7.5"><title>What's new and what changed in 1.7.5</title>
+<sect2 id="ov-new1.7.5"><title>What's new and what changed from 1.7.3 to 1.7.5</title>
<itemizedlist mark="bullet">
@@ -730,7 +738,7 @@ in Windows console.
</sect2>
-<sect2 id="ov-new1.7.3"><title>What's new and what changed in 1.7.3</title>
+<sect2 id="ov-new1.7.3"><title>What's new and what changed from 1.7.2 to 1.7.3</title>
<itemizedlist mark="bullet">
@@ -748,7 +756,7 @@ Modification and access timestamps of devices reflect the current time.
</sect2>
-<sect2 id="ov-new1.7.2"><title>What's new and what changed in 1.7.2</title>
+<sect2 id="ov-new1.7.2"><title>What's new and what changed from 1.7.1 to 1.7.2</title>
<itemizedlist mark="bullet">
@@ -900,9 +908,7 @@ Procedure Call (RPC) and NFS.
</sect2>
-<sect2 id="ov-new1.7.1"><title>What's new and what changed from 1.5 to 1.7</title>
-
-<sect3 id="ov-new1.7-os"><title>OS related changes</title>
+<sect2 id="ov-new1.7-os"><title>OS related changes</title>
<itemizedlist mark="bullet">
@@ -917,9 +923,9 @@ Add support for Windows 7 and Windows Server 2008 R2.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-file"><title>File Access related changes</title>
+<sect2 id="ov-new1.7-file"><title>File Access related changes</title>
<itemizedlist mark="bullet">
@@ -1105,9 +1111,9 @@ eaccess, euidaccess, canonicalize_file_name, fexecve, execvpe.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-net"><title>Network related changes</title>
+<sect2 id="ov-new1.7-net"><title>Network related changes</title>
<itemizedlist mark="bullet">
@@ -1173,9 +1179,9 @@ Add /proc/net/if_inet6.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-device"><title>Device related changes</title>
+<sect2 id="ov-new1.7-device"><title>Device related changes</title>
<itemizedlist mark="bullet">
@@ -1224,9 +1230,9 @@ get_phys_pages, posix_openpt.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-posix"><title>Other POSIX related changes</title>
+<sect2 id="ov-new1.7-posix"><title>Other POSIX related changes</title>
<itemizedlist mark="bullet">
@@ -1288,9 +1294,9 @@ vfwscanf, vswscanf.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-sec"><title>Security related changes</title>
+<sect2 id="ov-new1.7-sec"><title>Security related changes</title>
<itemizedlist mark="bullet">
@@ -1321,9 +1327,9 @@ options have a slightly changed behaviour.
</itemizedlist>
-</sect3>
+</sect2>
-<sect3 id="ov-new1.7-misc"><title>Miscellaneous</title>
+<sect2 id="ov-new1.7-misc"><title>Miscellaneous</title>
<itemizedlist mark="bullet">
@@ -1418,8 +1424,6 @@ having multiple concurrent Cygwin installations.
</itemizedlist>
-</sect3>
-
</sect2>
</sect1>
diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml
index 7bc0f2b..72cf7bb 100644
--- a/winsup/doc/ntsec.xml
+++ b/winsup/doc/ntsec.xml
@@ -2,12 +2,12 @@
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
-<sect1 id="ntsec"><title>POSIX accounts, permission, and security</title>
+<sect1 id="ntsec"><title>Using Windows security in Cygwin</title>
<para>This section discusses how the Windows security model is
-utilized in Cygwin to implement POSIX account information, POSIX-like
-permissions, and how the Windows authentication model is used to allow
-cygwin applications to switch users in a POSIX-like fashion.</para>
+utilized in Cygwin to implement POSIX-like permissions, as well as how
+the Windows authentication model is used to allow cygwin applications
+to switch users in a POSIX-like fashion.</para>
<para>The setting of POSIX-like file and directory permissions is
controlled by the <link linkend="mount-table">mount</link> option
@@ -23,7 +23,7 @@ discussed here, but assumed to be understood by the reader. If you
don't know the POSIX security model, search the web for beginner
documentation.</para>
-<sect2 id="ntsec-common"><title>Brief overview of Windows security</title>
+<sect2 id="ntsec-common"><title>Overview</title>
<para>In the Windows security model, almost any "object" is securable.
"Objects" are files, processes, threads, semaphores, etc.</para>
@@ -117,22 +117,13 @@ treat these SIDs as identifying two separate accounts. One is
"FOO\johndoe", the other one is "BAR\johndoe" or "johndoe@bar.local".
Different SID, different account. Full stop. </para>
-<para>Starting with Cygwin 1.7.32, Cygwin uses an automatic, internal
-translation from Windows SID to POSIX UID/GID. This mechanism, which is
-the preferred method for the SID&lt;=&gt;UID/GID mapping, is described in
-detail in <xref linkend="ntsec-mapping"></xref>.</para>
-
-<para>Up to Cygwin 1.7.31, the last part of the SID, the so called
-"Relative IDentifier" (RID), was by default used as UID and/or GID
-when you created the <filename>/etc/passwd</filename> and
-<filename>/etc/group</filename> files using the
-<command><link linkend="mkpasswd">mkpasswd</link></command> and
-<command><link linkend="mkgroup">mkgroup</link></command> tools.
-These tools as well as reading accounts from <filename>/etc/passwd</filename>
-and <filename>/etc/group</filename> files is still present in recent
-versions of Cygwin, but you should switch to the aforementioned
-automatic translation, unless you have very specific needs. Again,
-see <xref linkend="ntsec-mapping"></xref> for the details.</para>
+<para>The last part of the SID, the so called "Relative IDentifier" (RID),
+is by default used as UID and/or GID under Cygwin when you create the
+<filename>/etc/passwd</filename> and <filename>/etc/group</filename>
+files using the <command><link linkend="mkpasswd">mkpasswd</link></command> and <command><link linkend="mkgroup">mkgroup</link></command>
+tools. Domain account UIDs and GIDs are offset by 10000 by default
+which might be a bit low for very big organizations. Fortunately there's
+an option in both tools to change the offset...</para>
<para>Do you still remember the SIDs with special meaning? In offical
notation they are called "well-known SIDs". For example, POSIX has no GID
@@ -230,1343 +221,200 @@ found on <ulink url="http://docs.sun.com">http://docs.sun.com</ulink>.</para>
</sect2>
-<sect2 id="ntsec-mapping"><title id="ntsec-mapping.title">Mapping Windows accounts to POSIX accounts</title>
-
-<para>
-For as long as Cygwin has existed, it has stored user and group information in
-<filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.
-Under the assumption that these files would never be too large, the first
-process in a process tree, as well as every execing process within the tree
-would parse them into structures in memory. Thus every Cygwin process would
-contain an expanded copy of the full information from
-<filename>/etc/passwd</filename> and <filename>/etc/group</filename>.
-</para>
-
-<para>
-This approach has a few downsides. One of them is that the idea to have
-always small files is flawed. Another one is that reading the entire
-file is most of the time entirely useless, since most processes only
-need information on their own user and the primary group. Last but not
-least, the passwd and group files have to be maintained separately from
-the already existing Windows user databases, the local SAM and Active
-Directory.
-</para>
-
-<para>
-On the other hand, we have to have this mapping between Windows SIDs and
-POSIX uid/gid values, so we rely on some mechanism to convert SIDs to uid/gid
-values and vice versa.
-</para>
-
-<para>
-Microsoft "Services for UNIX" (SFU) (deprecated since Windows 8/Server 2012)
-never used passwd/group files. Rather, SFU used a fixed, computational mapping
-between SIDs and POSIX uid/gid which even has Active Directory support. It
-allows to generate uid/gid values from SIDs and vice versa. The mechanism is
-documented, albeit in a confusing way and spread over multiple MSDN articles.
-</para>
-
-<para>
-Starting with Cygwin 1.7.32, Cygwin utilizes an approach inspired by the
-mapping method as implemented by SFU, with a few differences for backward
-compatibility and to handle some border cases differently.
-</para>
-
-<sect3 id="ntsec-mapping-how"><title id="ntsec-mapping-how.title">Mapping Windows SIDs to POSIX uid/gid values</title>
-
-<para>
-The following description assumes you're comfortable with the concept of
-Windows SIDs and RIDs. For a brief introduction, see
-<xref linkend="ntsec-common"></xref>.
-</para>
-
-<para>
-Cygwin's mapping between SIDs and uid/gid values works in two ways.
-</para>
-
-<itemizedlist spacing="compact">
-<listitem><para>Read <filename>/etc/passwd<filename> and
-</filename>/etc/group</filename> files, just as in the olden days, mainly for
-backward compatibility.</para></listitem>
-<listitem><para>If no files are present, or if an entry is missing in the files,
-ask Windows.</para></listitem>
-</itemizedlist>
-
-<para>
-At least, that's the default behaviour now. It will be configurable
-using a file <filename>/etc/nsswitch.conf</filename>, which is discussed in
-<xref linkend="ntsec-mapping-nsswitch"></xref>. Let's explore the default
-for now.
-</para>
-
-<para>
-If files are present, they will be scanned on demand as soon as a
-mapping from SIDs to uid/gid or account names is required. The new
-mechanism will never read the entire file into memory, but only scan for
-the requested entry and cache this one in memory.
-</para>
-
-<para>
-If no entry is found, or no passwd or group file was present, Cygwin
-will ask the OS.
-</para>
-
-<note>
-<para>
-If the first process in a Cygwin process tree determines that no
-<filename>/etc/passwd</filename> or <filename>/etc/group</filename> file is
-present, no other process in the entire process tree will try to read the files
-later on. This is done for self-preservation. It's rather bad if the uid
-or gid of a user changes during the lifetime of a process tree.
-</para>
-
-<para>
-For the same reason, if you delete the <filename>/etc/passwd</filename>
-or <filename>/etc/group</filename> file, this will be ignored. The passwd
-and group records read from the files will persist in memory until either a
-new <filename>/etc/passwd</filename> or <filename>/etc/group</filename>
-is created, or you exit all processes in the current process tree.
-</para>
-
-<para>
-See the note in <xref linkend="ntsec-mapping-nsswitch"></xref> for some
-comprehensive examples.
-</para>
-</note>
-
-<para>
-So if we've drawn a blank reading the files, we're going to ask the OS.
-First thing, we ask the local machine for the SID or the username. The
-OS functions
-<ulink url="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379166%28v=vs.85%29.aspx">LookupAccountSid</ulink>
-and
-<ulink url="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379159%28v=vs.85%29.aspx">LookupAccountName</ulink>
-are pretty intelligent. They have all the stuff built in to ask for any
-account of the local machine, the Active Directory domain of the machine,
-the Global Catalog of the forest of the domain, as well as any trusted
-domain of our forest for the information. One OS call and we're
-practically done...
-</para>
-
-<para>
-Except, the calls only return the mapping between SID, account name and the
-account's domain. We don't have a mapping to POSIX uid/gid and we're missing
-information on the user's home dir and login shell.
-</para>
-
-<para>
-Let's discuss the SID&lt;=&gt;uid/gid mapping first. Here's how it works.
-</para>
-
-<itemizedlist spacing="compact">
-
-<listitem>
-<para>
-<ulink url="http://msdn.microsoft.com/en-us/library/aa379649.aspx">Well-known
-SIDs</ulink>
-in the NT_AUTHORITY domain of the S-1-5-RID type, or aliases of the
-S-1-5-32-RID type are mapped to the uid/gid value RID. Examples:
-</para>
-
-<screen>
- "SYSTEM" S-1-5-18 &lt;=&gt; uid/gid: 18
- "Users" S-1-5-32-545 &lt;=&gt; uid/gid: 545
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Other well-known SIDs in the NT_AUTHORITY domain (S-1-5-X-RID):
-</para>
-
-<screen>
- S-1-5-X-RID &lt;=&gt; uid/gid: 0x1000 * X + RID
-</screen>
-
-<para>Example:</para>
-
-<screen>
- "NTLM Authentication" S-1-5-64-10 &lt;=&gt; uid/gid: 0x4000A == 262154
-</screen>
-</listitem>
-
-<listitem><para>
-Other well-known SIDs:
-</para>
-
-<screen>
- S-1-X-Y &lt;=&gt; uid/gid: 0x10000 + 0x100 * X + Y
-</screen>
-
-<para>Example:</para>
-
-<screen>
- "LOCAL" S-1-2-0 &lt;=&gt; uid/gid: 0x10200 == 66048
- "Creator Group" S-1-3-1 &lt;=&gt; uid/gid: 0x10301 == 66305
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Logon SIDs: The own LogonSid is converted to the fixed uid 0xfff == 4095 and
-named "CurrentSession". Any other LogonSid is converted to the fixed uid
-0xffe == 4094 and named "OtherSession".
-</para>
-</listitem>
-
-<listitem>
-<para>
-Mandatory Labels:
-</para>
-
-<screen>
- S-1-16-RID &lt;=&gt; uid/gid: 0x60000 + RID
-</screen>
-
-<para>Example:</para>
-
-<screen>
- "Medium Mandatory Level" S-1-16-8192 &lt;=&gt; uid/gid: 0x62000 == 401408
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Accounts from the local machine's user DB (SAM):
-</para>
-
-<screen>
- S-1-5-21-X-Y-Z-RID &lt;=&gt; uid/gid: 0x30000 + RID
-</screen>
-
-<para>Example:</para>
-
-<screen>
- "Administrator" S-1-5-21-X-Y-Z-500 &lt;=&gt; uid/gid: 0x301f4 == 197108
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Accounts from the machine's primary domain:
-</para>
-
-<screen>
- S-1-5-21-X-Y-Z-RID &lt;=&gt; uid/gid: 0x100000 + RID
-</screen>
-
-<para>Example:</para>
-
-<screen>
- "Domain Users" S-1-5-21-X-Y-Z-513 &lt;=&gt; uid/gid: 0x100201 == 1049089
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Accounts from a trusted domain of the machine's primary domain:
-</para>
-
-<screen>
- S-1-5-21-X-Y-Z-RID &lt;=&gt; uid/gid: trustPosixOffset(domain) + RID
-</screen>
-
-<para>
-<literal>trustPosixOffset</literal>? This needs a bit of explanation. This
-value exists in Windows domains already since before Active Directory days.
-What happens is this. If you create a domain trust between two domains, a
-trustedDomain entry will be added to both databases. It describes how
-<emphasis>this</emphasis> domain trusts the <emphasis>other</emphasis> domain.
-One attribute of a trust is a 32 bit value called
-<literal>trustPosixOffset</literal> For each new trust,
-<literal>trustPosixOffset</literal> will get some automatic value. In recent
-AD domain implementations, the first trusted domain will get
-<literal>trustPosixOffset</literal> set to 0x80000000. Following domains will
-get lower values. Unfortunately the domain admins are allowed to set the
-<literal>trustPosixOffset</literal> value for each trusted domain to some
-arbitrary 32 bit value, no matter what the other
-<literal>trustPosixOffset</literal> are set to, thus allowing any kind of
-collisions between the <literal>trustPosixOffset</literal> values of domains.
-That's not exactly helpful, but as the user of this value, we have to
-<emphasis>trust</emphasis> the domain admins to set
-<literal>trustPosixOffset</literal> to sensible values, or to keep it at the
-system chosen defaults.
-</para>
-
-<para>
-So, for the first (or only) trusted domain of your domain, the automatic offset
-is 0x80000000. An example for a user of that trusted domain is
-</para>
-
-<screen>
- S-1-5-21-X-Y-Z-1234 &lt;=&gt; uid/gid 0x800004d2 == 2147484882
-</screen>
-
-<para>
-There's one problem with this approach. Assuming you're running in the context
-of a local SAM user on a domain member machine. Local users don't have the
-right to fetch this kind of domain information from the DC, they'll get
-permission denied. In this case Cygwin will fake a sensible
-<literal>trustPosixOffset</literal> value.
-</para>
-
-<para>
-Another problem is if the AD administrators chose an unreasonable small
-<literal>trustPosixOffset</literal> value. Anything below the hexadecimal
-value 0x100000 (the POSIX offset of the primary domain) is bound to produce
-collisions with system accounts as well as local accounts. The right thing
-to do in this case is to notify your administrator of the problem and to ask
-for moving the offset to a more reasonable value. However, to reduce the
-probability for collisions, Cygwin overrides this offset with a sensible
-fixed replacement offset.
-</para>
-</listitem>
-
-<listitem>
-<para>
-Local accounts from another machine in the network:
-</para>
-
-<para>
-There's no SID&lt;=&gt;uid/gid mapping implemented for this case. The problem
-is, there's no way to generate a bijective mapping. There's no central place
-which keeps an analogue value of the <literal>trustPosixOffset</literal>, and
-there's the additional problem that the
-<ulink url="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379166%28v=vs.85%29.aspx">LookupAccountSid</ulink>
-and
-<ulink url="http://msdn.microsoft.com/en-us/library/windows/desktop/aa379159%28v=vs.85%29.aspx">LookupAccountName</ulink>
-functions cannnot resolve the SIDs, unless they know the name of the machine
-this SID comes from. And even then it will probably suffer a
-<literal>Permission denied</literal> error when trying to ask the machine
-for its local account.
-</para>
-
-<para>
-Cygwin will map the account to the fake accounts
-<literal>Unknown+User</literal>/<literal>Unknown+Group</literal>
-with uid/gid -1.
-</para>
-</listitem>
-
-</itemizedlist>
-
-<para>
-Now we have a semi-bijective mapping between SIDs and POSIX uid/gid values,
-but given that we have potentially users and groups in different domains having
-the same name, how do we uniquely differ between them by name? Well, we can do
-that by making their names unique in a per-machine way. Dependent on the
-domain membership of the account, and dependent of the machine being a domain
-member or not, the user and group names will be generated using a domain prefix
-and a separator character between domain and account name. The default
-separator character is the plus sign, <literal>+</literal>.
-</para>
-
-<itemizedlist spacing="compact">
-
-<listitem>
-<para>
-Well-known SIDs will have the separator character prepended:
-</para>
-
-<screen>
- "+SYSTEM", "+LOCAL", "+Medium Mandatory Level", ...
-</screen>
-</listitem>
-
-<listitem>
-<para>
-If the machine is no domain member machine, only local accounts can be resolved
-into names, so for ease of use, just the account names are used as Cygwin
-user/group names:
-</para>
-
-<screen>
- "corinna", "bigfoot", "None", ...
-</screen>
-</listitem>
-
-<listitem>
-<para>
-If the machine is a domain member machine, all accounts from the primary domain
-of the machine are mapped to Cygwin names without domain prefix:
-</para>
-
-<screen>
- "corinna", "bigfoot", "Domain Users", ...
-</screen>
-
-<para>
-while accounts from other domains are prepended by their domain:
-</para>
-
-<screen>
- "DOMAIN1+corinna", "DOMAIN2+bigfoot", "DOMAIN3+Domain Users", ...
-</screen>
-</listitem>
-
-<listitem>
-<para>
-Local machine accounts of a domain member machine get a Cygwin user name the
-same way as accounts from another domain: The local machine name gets
-prepended:
-</para>
-
-<screen>
- "MYMACHINE+corinna", "MYMACHINE+bigfoot", "MYMACHINE+None", ...
-</screen>
-</listitem>
-
-<listitem>
-<para>
-If LookupAccountSid fails, Cygwin checks the accounts against the known trusted
-domains. If the account is from one of the trusted domains, an artificial
-account name is created. It consists of the domain name, and a special name
-created from the account RID:
-</para>
-
-<screen>
- "MY_DOM+User(1234)", "MY_DOM+Group(5678)"
-</screen>
-
-<para>
-Otherwise we know nothing about this SID, so it will be mapped to the
-fake accounts <literal>Unknown+User</literal>/<literal>Unknown+Group</literal>
-with uid/gid -1.
-</para>
-</listitem>
-
-</itemizedlist>
-
-</sect3>
-
-<sect3 id="ntsec-mapping-passwdinfo"><title id="ntsec-mapping-passwdinfo.title">Cygwin user names, home dirs, login shells</title>
-
-<para>
-Obviously, if you don't maintain <filename>passwd</filename> and
-<filename>group</filename> files, you need to have a way to maintain the other
-fields of a passwd entry as well. Three things come to mind:
-</para>
+<sect2 id="ntsec-files"><title id="ntsec-files.title">File permissions</title>
-<itemizedlist spacing="compact">
+<para>On NTFS and if the <literal>noacl</literal> mount option is not
+specified for a mount point, Cygwin sets file permissions as in POSIX.
+Basically this is done by defining a SD with the matching owner and group
+SIDs, and a DACL which contains ACEs for the owner, the group and for
+"Everyone", which represents what POSIX calls "others".</para>
-<listitem>
-<para>
-You want to use a Cygwin username different from your Windows username.
-</para>
+<para>To use Windows security correctly, Cygwin depends on the files
+<filename>/etc/passwd</filename> and <filename>/etc/group</filename>.
+These files define the translation between the Cygwin uid/gid and the
+Windows SID. The SID is stored in the pw_gecos field in
+<filename>/etc/passwd</filename>, and in the gr_passwd field in
+<filename>/etc/group</filename>. Since the pw_gecos field can contain
+more information than just a SID, there are some rules for the layout.
+It's required that the SID is the last entry of the pw_gecos field,
+assuming that the entries in pw_gecos are comma-separated. The
+commands <command>mkpasswd</command> and <command>mkgroup</command>
+usually do this for you.</para>
+
+<para>Another interesting entry in the pw_gecos field (which is also
+usually created by running <command>mkpasswd</command>) is the Windows user
+name entry. It takes the form "U-domain\username" and is sometimes used
+by services to authenticate a user. Logging in through
+<command>telnet</command> is a common scenario.</para>
+
+<para>A typical snippet from <filename>/etc/passwd</filename>:</para>
+
+<example id="ntsec-passwd">
+<title>/etc/passwd:</title>
+<screen>
+SYSTEM:*:18:544:,S-1-5-18::
+Administrators:*:544:544:,S-1-5-32-544::
+Administrator:unused:500:513:U-FOO\Administrator,S-1-5-21-790525478-115176313-839522115-500:/home/Administrator:/bin/bash
+corinna:unused:11001:11125:U-BAR\corinna,S-1-5-21-2913048732-1697188782-3448811101-1001:/home/corinna:/bin/tcsh
+</screen>
+</example>
+
+<para>The SYSTEM entry is usually needed by services. The Administrators
+entry (Huh? A group in /etc/passwd?) is only here to allow
+<command>ls</command> and similar commands to print some file ownerships
+correctly. Windows doesn't care if the owner of a file is a user or a
+group. In older versions of Windows NT the default ownership for files
+created by an administrator account was set to the group Administrators
+instead of to the creating user account. This has changed, but you can
+still switch to this setting on newer systems. So it's convenient to
+have the Administrators group in
+<filename>/etc/passwd</filename>.</para>
+
+<para>The really interesting entries are the next two. The Administrator
+entry is for the local administrator, the corinna entry matches the corinna
+account in the domain BAR. The information given in the pw_gecos field
+are all we need to exactly identify an account, and to have a two way
+translation, from Windows account name/SID to Cygwin account name uid and
+vice versa. Having this complete information allows us to choose a Cygwin
+user name and uid which doesn't have to match the Windows account at all. As
+long as the pw_gecos information is available, we're on the safe side:</para>
+
+<example id="ntsec-passwd-tweaked">
+<title>/etc/passwd, tweaked:</title>
+<screen>
+root:unused:0:513:U-FOO\Administrator,S-1-5-21-790525478-115176313-839522115-500:/home/Administrator:/bin/bash
+thursday_next:unused:11001:11125:U-BAR\corinna,S-1-5-21-2913048732-1697188782-3448811101-1001:/home/corinna:/bin/tcsh
+</screen>
+</example>
+
+<para> The above <filename>/etc/passwd</filename> will still work fine.
+You can now login via <command>ssh</command> as the user "root", and
+Cygwin dutifully translates "root" into the Windows user
+"FOO\Administrator" and files owned by FOO\Administrator are shown to
+have the uid 0 when calling <command>ls -ln</command>. All you do you're
+actually doing as Administrator. Files created as root will be owned by
+FOO\Administrator. And the domain user BAR\corinna can now happily
+pretend to be Thursday Next, but will wake up sooner or later finding
+out she's still actually the domain user BAR\corinna...</para>
+
+<para>Do I have to mention that you can also rename groups in
+<filename>/etc/group</filename>? As long as the SID is present and correct,
+all is well. This allows you to, for instance, rename the "Administrators"
+group to "root" as well:</para>
+
+<example id="ntsec-group-tweaked">
+<title>/etc/group, tweaked:</title>
+<screen>
+root:S-1-5-32-544:544:
+</screen>
+</example>
+
+<para>Last but not least, you can also change the primary group of a user
+in <filename>/etc/passwd</filename>. The only requirement is that the user
+is actually a member of the new primary group in Windows. For instance,
+normal users in a domain environment are members in the group "Domain Users",
+which in turn belongs to the well-known group "Users". So, if it's
+more convenient in your environment for the user's primary group to be
+"Users", just set the user's primary group in <filename>/etc/passwd</filename>
+to the Cygwin uid of "Users" (see in <filename>/etc/group</filename>,
+default 545) and let the user create files with a default group ownership
+of "Users".</para>
<note><para>
-Note: This is only supported via <filename>/etc/passwd</filename> and
-<filename>/etc/group</filename> files. A Cygwin username maintained in
-the Windows user databases would require very costly (read: slow) seach
-operations.
+If you wish to make these kind of changes to /etc/passwd and /etc/group,
+do so only if you feel comfortable with the concepts. Otherwise, do not
+be surprised if things break in either subtle or surprising ways! If you
+do screw things up, revert to copies of <filename>/etc/passwd</filename>
+and <filename>/etc/group</filename> files created by
+<command>mkpasswd</command> and <command>mkgroup</command>. (Make
+backup copies of these files before modifying them.) Especially, don't
+change the UID or the name of the user SYSTEM. It may mostly work, but
+some Cygwin applications running as a local service under that account
+could suddenly start behaving strangely.
</para></note>
-</listitem>
-
-<listitem>
-<para>
-You want a home dir different from the default <filename>/home/$USER</filename>.
-</para>
-</listitem>
-
-<listitem>
-<para>
-You want to specify a different login shell than <filename>/bin/bash</filename>.
-</para>
-</listitem>
-
-</itemizedlist>
-
-<para>
-How this is done depends on your account being a domain account or a
-local account. Let's start with the default. Assuming your Windows
-account name is <literal>bigfoot</literal> and your domain is
-<literal>MY_DOM</literal>. Your default passwd entry in absence of
-anything I'll describe below looks like this:
-</para>
-
-<screen>
- bigfoot:*:&lt;uid&gt;:&lt;gid&gt;:U-MY_DOM\bigfoot,S-1-5-....:/home/bigfoot:/bin/bash
-</screen>
-
-<para>
-or, if your account is from a different domain than the primary domain of
-the machine:
-</para>
-
-<screen>
- MY_DOM+bigfoot:*:&lt;uid&gt;:&lt;gid&gt;:U-MY_DOM\bigfoot,S-1-5-....:/home/bigfoot:/bin/bash
-</screen>
-
-<para>
-Yes, the default homedir is still /home/bigfoot.
-</para>
-
-<para>
-If your account is a domain account:
-</para>
-
-<itemizedlist spacing="compact">
-
-<listitem>
-<para>
-Either create an <filename>/etc/passwd</filename> and/or
-<filename>/etc/group</filename> file with entries for your account and tweak
-that,
-</para>
-</listitem>
-
-<listitem>
-<para>
-or Cygwin will utilize the
-<literal>posixAccount</literal>/<literal>posixGroup</literal> attributes per
-<ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>. These
-attributes are by default available in Active Directory since Windows Server
-2003 R2. They are <literal>not set</literal>, unless utilized by the
-(deprecated since Server 2012 R2) Active Directory "Server for NIS" feature.
-The user attributes utilized by Cygwin are:
-</para>
-
-<segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>unixHomeDirectory</literal></seg>
- <seg>If set, will be used as Cygwin home directory.</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>loginShell</literal></seg>
- <seg>If set, will be used as Cygwin login shell.</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>gecos</literal></seg>
- <seg>Content will be added to the pw_gecos field.</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>uidNumber</literal></seg>
- <seg>See <xref linkend="ntsec-mapping-nfs"></xref>.</seg>
- </seglistitem>
- <seglistitem>
- <seg>The group attributes utilized by Cygwin are:</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>gidNumber</literal></seg>
- <seg>See <xref linkend="ntsec-mapping-nfs"></xref>.</seg>
- </seglistitem>
-</segmentedlist>
-
-<para>
-Apart from power shell scripting or inventing new CLI tools, these attributes
-can be changed using the <literal>Attribute Editor</literal> tab in the user
-properties dialog of the <literal>Active Directory Users and Computers</literal>
-MMC snap-in. Alternatively, if the <literal>Server for NIS</literal>
-administration feature has been installed, there will be a
-<literal>UNIX Attributes</literal> tab which contains the required fields,
-except for the gecos field, which isn't really important anyway. Last resort
-is <literal>ADSI Edit</literal>.
-</para>
-
-<para>
-The primary group of a user is always the Windows primary group set in
-Active Directory and can't be changed.
-</para>
-</listitem>
-
-</itemizedlist>
-
-<para>
-If your machine is not a domain member machine or your account is a
-local account for some reason:
-</para>
-
-<itemizedlist spacing="compact">
-<listitem>
-<para>
-Either create an <filename>/etc/passwd</filename> and/or
-<filename>/etc/group</filename> file with entries for your account and tweak
-that,
-</para>
-</listitem>
-
-<listitem>
-<para>
-or enter the information into the comment field of your local user entry.
-In the <literal>Local Users and Groups</literal> MMC snap-in it's called
-<literal>Description</literal>.
-</para>
-
-<para>
-You can utilze this field even if you're running a "home edition" of
-Windows, using the command line. The <command>net user</command> command
-allows to set all values in the SAM, even if the GUI is crippled.
-</para>
-
-<para>
-A Cygwin SAM comment entry looks like this:
-</para>
-
-<screen>
-&lt;cygwin key="value" key="value" [...] /&gt;
-</screen>
-
-<para>
-The supported keys are:
-</para>
-
-<segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>home="value"</literal></seg>
- <seg>Sets the Cygwin home dir to value.</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>shell="value"</literal></seg>
- <seg>Sets the Cygwin login shell to value.</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>group="value"</literal></seg>
- <seg>Sets the Cygwin primary group of the account to value, provided that
- the user *is* already a member of that group. This allows to override
- the default "None" primary group for local accounts. One nice idea
- here is, for instance group="Users".</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>unix="value"</literal></seg>
- <seg>Sets the NFS/Samba uid of the user to the decimal value.
- See <xref linkend="ntsec-mapping-nfs"></xref>.</seg>
- </seglistitem>
-</segmentedlist>
-
-<para>
-The &lt;cygwin .../&gt; string can start at any point in the comment, but
-you have to follow the rules:
-</para>
-
-<itemizedlist spacing="compact">
-<listitem>
-It starts with "&lt;cygwin " and ends with "/&gt;".
-</listitem>
-<listitem>
-The "cygwin" string and the key names have to be lowercase.
-</listitem>
-<listitem>
-No spaces between key and "value", just the equal sign.
-</listitem>
-<listitem>
-The value must be placed within double quotes and it must not contain a double
-quote itself. The double quotes are required for the decimal values as well!
-</listitem>
-</itemizedlist>
-
-<para>
-CMD example:
-</para>
-
-<screen>
-net user corinna /comment:"&lt;cygwin home=\"/home/foo\"/&lt;"
-</screen>
-
-<para>
-Bash example (use single quotes):
-</para>
-
-<screen>
-net user corinna /comment:'&lt;cygwin home="/home/foo"/&gt;'
-</screen>
-
-<para>
-For changing group comments, use the `net localgroup' command. The supported
-key/value pair for groups are:
-</para>
-
-<segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>unix="value"</literal></seg>
- <seg>Sets the NFS/Samba gid of the group to the decimal value.
- See <xref linkend="ntsec-mapping-nfs"></xref>.</seg>
- </seglistitem>
-</segmentedlist>
-
-</listitem>
-
-</itemizedlist>
-
-</sect3>
-
-<sect3 id="ntsec-mapping-caching"><title id="ntsec-mapping-caching.title">Caching account information</title>
-
-<para>
-The information fetched from file or the Windows account database is cached
-by the process. The cached information is inherited by child processes.
-</para>
-
-<para>
-While usually working fine, this has some drawbacks. Consider a shell calling
-<command>id</command>. <command>id</command> fetches all group information
-from the current token and caches them. Unfortunately <command>id</command>
-doesn't start any child processes, so the information is lost as soon as
-<command>id</command> exits.
-</para>
-
-<para>
-But there's another caching mechanism available. If
-<command><link linkend="using-cygserver">cygserver</link></command> is running
-it will provide passwd and group entry caching for all processes in a Cygwin
-process tree, which first process has been started after
-<command><link linkend="using-cygserver">cygserver</link></command>. So, if
-you start a Cygwin Terminal and
-<command><link linkend="using-cygserver">cygserver</link></command> is running
-at the time, <command>mintty</command>, the shell, and all child processes will
-use <command><link linkend="using-cygserver">cygserver</link></command> caching.
-If you start a Cygwin Terminal and
-<command><link linkend="using-cygserver">cygserver</link></command> is not
-running a the time, none of the processes started inside this terminal window
-will use <command><link linkend="using-cygserver">cygserver</link></command>
-caching.
-</para>
-
-<para>
-The advantage of
-<command><link linkend="using-cygserver">cygserver</link></command> caching is
-that it's system-wide and, as long as
-<command><link linkend="using-cygserver">cygserver</link></command> is running,
-unforgetful. Every Cygwin process on the system will have the
-<command><link linkend="using-cygserver">cygserver</link></command> cache at
-its service. Additionally, all information requested from
-<command><link linkend="using-cygserver">cygserver</link></command> once, will
-be cached inside the process itself and, again, propagated to child processes.
-</para>
-
-</sect3>
-
-<sect3 id="ntsec-mapping-nfs"><title id="ntsec-mapping-nfs.title">NFS account mapping</title>
-
-<para>
-Microsoft's NFS client does not map the uid/gid values on the NFS shares
-to SIDs. There's no such thing as a (fake) security descriptor returned
-to the application. Rather, via an undocumented API an applications can
-fetch <ulink url="https://tools.ietf.org/html/rfc1813">RFC 1813</ulink>
-compatible NFSv3 stat information from the share. This is what Cygwin is
-using to show stat information for files on NFS shares.
-</para>
-
-<para>
-The problem is, while all other information in this stat record, like
-timestamps, file size etc., can be used by Cygwin, Cygwin had no way to
-map the values of the st_uid and st_gid members to a Windows SID for a
-long time. So it just faked the file owner info and claimed that it's
-you.
-</para>
-
-<para>
-However, SFU has, over time, developed multiple methods to map UNIX
-uid/gid values on NFS shares to Windows SIDs. You'll find the full
-documentation of the mapping methods in
-<ulink url="http://blogs.technet.com/b/filecab/archive/2012/10/09/nfs-identity-mapping-in-windows-server-2012.aspx">NFS Identity Mapping in Windows Server 2012</ulink>
-</para>
-
-<para>
-Cygwin now utilizes the
-<ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>
-mapping for this purpose. This is most of the time provided by an AD domain,
-but it could also be a standalone LDAP mapping server. Per
-<ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>, the uid is
-in the attribute <literal>uidNumber</literal>. For groups, the gid is in the
-<literal>gidNumber</literal> attribute.
-</para>
-
-<para>
-When Cygwin stat's files on an NFS share, it asks the mapping server via
-LDAP in two different ways, depending on the role of the mapping server.
-</para>
+</sect2>
+<sect2 id="ntsec-ids"><title id="ntsec-ids.title">Special values of user and group ids</title>
+
+<para>If the current user is not present in
+<filename>/etc/passwd</filename>, that user's uid is set to a
+special value of 400. The user name for the current user will always be
+shown correctly. If another user (or a Windows group, treated as a
+user) is not present in <filename>/etc/passwd</filename>, the uid of
+that user will have a special value of -1 (which would be shown by
+<command>ls</command> as 65535). The user name shown in this case will
+be '????????'.</para>
+
+<para>If the current user is not present in
+<filename>/etc/passwd</filename>, that user's login gid is set to a
+special value of 401. The gid 401 is shown as 'mkpasswd',
+indicating the command that should be run to alleviate the
+situation.</para>
+
+<para>If another user is not present in
+<filename>/etc/passwd</filename>, that user's login gid is set to a
+special value of -1. If the user is present in
+<filename>/etc/passwd</filename>, but that user's group is not in
+<filename>/etc/group</filename> and is not the login group of that user,
+the gid is set to a special value of -1. The name of this group
+(id -1) will be shown as '????????'.</para>
+
+<para>If the current user is present in
+<filename>/etc/passwd</filename>, but that user's login group is not
+present in <filename>/etc/group</filename>, the group name will be shown
+as 'mkgroup', again indicating the appropriate command.</para>
+
+<para>A special case is if the current user's primary group SID is noted
+in the user's <filename>/etc/passwd</filename> entry using another group
+id than the group entry of the same group SID in
+<filename>/etc/group</filename>. This should be noted and corrected.
+The group name printed in this case is
+'passwd/group_GID_clash(PPP/GGG)', with PPP being the gid as noted
+in <filename>/etc/passwd</filename> and GGG the gid as noted in
+<filename>/etc/group</filename>.</para>
+
+<para>To summarize:</para>
<itemizedlist spacing="compact">
-<listitem>
-If the server is an AD domain controller, it asks for an account with
-<literal>uidNumber</literal> attribute == <literal>st_uid</literal> field of
-the stat record returned by NFS. If an account matches, AD returns the
-Windows SID, so we have an immediate mapping from UNIX uid to a Windows SID,
-if the user account has a valid <literal>uidNumber</literal> attribute. For
-groups, the method is the same, just that Cygwin asks for a group with
-<literal>gidNumbe</literal> attribute == <literal>st_gid</literal> field of the
-stat record.
-</listitem>
+<listitem><para>If the current user doesn't show up in
+<filename>/etc/passwd</filename>, it's <emphasis>group</emphasis> will
+be named 'mkpasswd'.</para></listitem>
-<listitem>
-If the server is a standalone LDAP mapping server Cygwin asks for the
-same <literal>uidNumber</literal>/<literal>gidNumber</literal> attributes, but
-it can't expect that the LDAP server knows anything about Windows SIDs.
-Rather, the mapping server returns the account name. Cygwin then asks the
-DC for an account with this name, and if that succeeds, we have a mapping
-between UNIX uid/gid and Windows SIDs.
+<listitem><para>Otherwise, if the login group of the current user isn't
+in <filename>/etc/group</filename>, it will be named 'mkgroup'.</para>
</listitem>
-</itemizedlist>
-
-<para>
-The mapping will be cached for the lifetime of the process, and inherited
-by child processes.
-</para>
-
-</sect3>
-
-<sect3 id="ntsec-mapping-samba"><title id="ntsec-mapping-samba.title">Samba account mapping</title>
-
-<para>
-A fully set up Samba with domain integration is running winbindd to
-map Window SIDs to artificially created UNIX uids and gids, and this
-mapping is transparent within the domain, so Cygwin doesn't have to do
-anything special.
-</para>
-
-<para>
-However, setting up winbindd isn't for everybody, and it fails to map
-Windows accounts to already existing UNIX users or groups. In contrast
-to NFS, Samba returns security descriptors, but unmapped UNIX accounts
-get special SIDs:
-</para>
-
-<itemizedlist spacing="compact">
-
-<listitem>
-A UNIX user account with uid X is mapped to the Windows SID S-1-22-1-X.
+<listitem><para>Otherwise a group not in <filename>/etc/group</filename>
+will be shown as '????????' and a user not in
+<filename>/etc/passwd</filename> will be shown as "????????".</para>
</listitem>
-<listitem>
-A UNIX group account with gid X is mapped to SID S-1-22-2-X.
-</listitem>
+<listitem><para>If different group ids are used for a group with the same
+SID, the group name is shown as 'passwd/group_GID_clash(PPP/GGG)' with
+PPP and GGG being the different group ids.</para></listitem>
</itemizedlist>
<para>
-As you can see, even though we have SIDs, they just reflect the actual
-uid/gid values on the UNIX box in the RID value. It's only marginally
-different from the NFS method, so why not just use the same method as
-for NFS?
-</para>
-
-<para>
-That's what Cygwin will do. If it encounters a S-1-22-x-y SID, it
-will perform the same
-<ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>
-mapping as for NFS shares.
-</para>
-
-<para>
-For home users without any Windows domain or LDAP server per
-<ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>,
-but with a Linux machine running Samba, just add this information to
-your SAM account. Assuming the uid of your Linux user account is 505
-and the gid of your primary group is, say, 100, just add the values to
-your SAM user and group accounts. The following example assumes you
-didn't already add something else to the comment field.
-</para>
-
-<para>
-To your user's SAM comment (remember: called <literal>Description</literal>
-in the GUI),
-add:
-</para>
-
-<screen>
- &lt;cygwin group="Users" unix="505"/&gt;
-</screen>
-
-<para>
-To the user's group SAM comment add:
-</para>
-
-<screen>
- &lt;cygwin unix="100"/&gt;
-</screen>
-
-<para>
-This should be sufficient to work on your Samba share and to see
-all files owned by your Linux user account as your files.
-</para>
-
-</sect3>
-
-<sect3 id="ntsec-mapping-nsswitch"><title id="ntsec-mapping-nsswitch.title">The <filename>/etc/nsswitch.conf</filename> file</title>
-
-<para>
-Last, but not least, let's talk about the way to configure how the
-mapping works on your machine. On Linux and some other UNIXy OSes, we
-have a file called
-<ulink url="http://linux.die.net/man/5/nsswitch.conf">/etc/nsswitch.conf</ulink>.
-One part of it is to specify how the passwd and group entries are generated.
-That's what Cygwin now provides as well.
-</para>
-
-<para>
-The <filename>/etc/nsswitch.conf</filename> file is optional. If you don't
-have one, Cygwin uses sensible defaults.
-</para>
-
-<note>
-<para>
-The <filename>/etc/nsswitch.conf</filename> file is read exactly once by
-the first process of a Cygwin process tree. If there was no
-<filename>/etc/nsswitch.conf</filename> file when this first process started,
-then no other process in the running Cygwin process tree will try to read the
-file.
-</para>
-
-<para>
-If you create or change <filename>/etc/nsswitch.conf</filename>, you have to
-restart all Cygwin processes that need to see the change. If the process
-you want to see the change is a child of another process, you need to restart
-all of that process's parents, too.
-</para>
-
-<para>
-For example, if you run <command>vim</command> inside the default Cygwin
-Terminal, <command>vim</command> is a child of your shell, which is a child
-of <command>mintty</command>. If you edit
-<filename>/etc/nsswitch.conf</filename> in that <command>vim</command>
-instance, your shell won't immediately see the change, nor will
-<command>vim</command> if you restart it from that same shell instance.
-This is because both are getting their nsswitch information from their
-ancestor, <command>mintty</command>. You have to start a fresh terminal
-window for the change to take effect.
-</para>
-
-<para>
-By contrast, if you leave that Cygwin Terminal window open after making the
-change to <filename>/etc/nsswitch.conf</filename>, then restart a Cygwin
-service like <command>cron</command>, <command>cron</command> will see the
-change, because it is not a child of <command>mintty</command> or any other
-Cygwin process. (Technically, it is a child of <command>cygrunsrv</command>,
-but that instance also restarts when you restart the service.)
-</para>
-
-<para>
-The reason we point all this out is that the requirements for restarting
-things are not quite as stringent as when you replace
-<filename>cygwin1.dll</filename>. If you have three process trees, you have
-three independent copies of the nsswitch information. If you start a fresh
-process tree, it will see the changes. As long as any process in an existing
-process tree remains running, all processes in that tree will continue to use
-the old information.
-</para>
-</note>
-
-<para>
-So, what settings can we perform with <filename>/etc/nsswitch.conf</filename>?
-To explain, lets have a look into an <filename>/etc/nsswitch.conf</filename>
-file set up to all default values:
-</para>
-
-<screen>
- # /etc/nsswitch.conf
- passwd: files db
- group: files db
-
- db_prefix: auto
- db_separator: +
- db_enum: cache builtin
-</screen>
-
-<para>
-The first line, starting with a hash <literal>#</literal> is a comment.
-The hash character starts a comment, just as in shell scripts. Everything
-up to the end of the line is ignored. So this:
-</para>
-
-<screen>
- foo: bar # baz
-</screen>
-
-<para>
-means, set "foo" to value "bar", ignore everything after the hash.
-</para>
-
-<para>
-The other lines define the available settings. The first word up to a
-colon is a keyword. Note that the colon <emphasis>must</emphasis> follow
-immediately after the keyword. This is a valid line:
+Note that, since the special user and group names are just indicators,
+nothing prevents you from actually having a user named `mkpasswd' in
+<filename>/etc/passwd</filename> (or a group named `mkgroup' in
+<filename>/etc/group</filename>). If you do that, however, be aware of
+the possible confusion.
</para>
-<screen>
- foo: bar
-</screen>
-
-<para>
-This is not valid:
-</para>
-
-<screen>
- foo : bar
-</screen>
-
-<para>
-Apart from this restriction, the reminder of the line can have as
-many spaces and TABs as you like.
-</para>
-
-<para>
-Now let's have a look at the available keywords and settings.
-</para>
-
-<para>
-The two lines starting with the keywords <literal>passwd:</literal> and
-<literal>group:</literal> define where Cygwin gets its passwd and group
-information from. <literal>files</literal> means, fetch the information
-from the corresponding file in the /etc directory. <literal>db</literal>
-means, fetch the information from the Windows account databases, the SAM
-for local accounts, Active Directory for domain account. Examples:
-</para>
-
-<screen>
- passwd: files
-</screen>
-
-<para>
-Read passwd entries only from /etc/passwd.
-</para>
-
-<screen>
- group: db
-</screen>
-
-<para>
-Read group entries only from SAM/AD.
-</para>
-
-<screen>
- group: files # db
-</screen>
-
-<para>
-Read group entries only from <filename>/etc/group</filename>
-(<literal>db</literal> is only a comment).
-</para>
-
-<screen>
- passwd: files db
-</screen>
-
-<para>
-Read passwd entries from <filename>/etc/passwd</filename>. If a user account
-isn't found, try to find it in SAM or AD. This is the default for both,
-passwd and group information.
-</para>
-
-<screen>
- group: db files
-</screen>
-
-<para>
-This is a valid entry, but the order will be ignored by Cygwin. If both,
-<literal>files</literal> and <literal>db</literal> are specified, Cygwin will
-always try the files first, then the db.
-</para>
-
-<para>
-The remaining entries define certain aspects of the Windows account
-database search.
-</para>
-
-<itemizedlist spacing="compact">
-
-<listitem>
-<para>
-<literal>db_prefix:</literal> determines how the Cygwin user or group name
-is created. The recognized values are:
-</para>
-
-<variablelist>
- <varlistentry>
- <term><literal>auto</literal></term>
- <listitem>
- <para>
- This is the default. If your account is from the primary domain of your
- machine, or if your machine is a standalone machine (not a domain member),
- your Cygwin account name is just the Windows account name.
- </para>
-
- <para>
- If your account is from another domain, or if you're logged in as
- local user on a domain machine, the Cygwin username will be the
- combination of Windows domainname and username, with the separator
- char in between:
- </para>
-
- <segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>MY_DOM+username</literal></seg>
- <seg>(foreign domain)</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>MACHINE+username</literal></seg>
- <seg>(local account)</seg>
- </seglistitem>
- </segmentedlist>
-
- <para>
- Builtin accounts have just the separator char prepended:
- </para>
-
- <segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>+LOCAL</literal></seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>+Users</literal></seg>
- </seglistitem>
- </segmentedlist>
-
- <para>
- Unknown accounts on NFS or Samba shares (that is, accounts which cannot be
- mapped to Windows user accounts via
- <ulink url="https://tools.ietf.org/html/rfc2307">RFC 2307</ulink>) get a
- Cygwin account name consisting of the artificial domains
- <literal>Unix_User</literal> or <literal>Unix_Group</literal> and the
- uid/gid value, for instance:
- </para>
-
- <segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>Unix_User+0</literal></seg>
- <seg>(root)</seg>
- </seglistitem>
- <seglistitem>
- <seg><literal>Unix_Group+10</literal></seg>
- <seg>(wheel)</seg>
- </seglistitem>
- </segmentedlist>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><literal>primary</literal></term>
- <listitem>
- <para>
- Like <literal>auto</literal>, but primary domain accounts will be
- prepended by the domainname as well.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><literal>always</literal></term>
- <listitem>
- <para>
- All accounts, even the builtin accounts, will have the domain name
- prepended:
- </para>
-
- <segmentedlist><?dbhtml list-presentation="table"?>
- <seglistitem>
- <seg><literal>BUILTIN+Users</literal></seg>
- </seglistitem>
- </segmentedlist>
- </listitem>
- </varlistentry>
-</variablelist>
-
-</listitem>
-
-<listitem>
-<para>
-<literal>db_separator:</literal> defines the spearator char used to prepend the
-domain name to the user or group name. The default is the plus character
-<literal>+</literal>.
-</para>
-
-<screen>
- MY_DOM+username
-</screen>
-
-<para>
-With <literal>db_separator:</literal>, you can define any ASCII char except
-space, tab, carriage return, line feed, and the colon, as separator char.
-Example:
-</para>
-
-<screen>
- db_separator: \
-</screen>
-
-<para>
-This results in usernames with the backslash as separator:
-</para>
-
-<screen>
- MY_DOM\username
-</screen>
-
-</listitem>
-
-<listitem>
-<para>
-<literal>db_enum:</literal> defines the depth of a database search, if an
-application calls one of the enumeration functions
-<ulink url="http://linux.die.net/man/3/getpwent">getpwent</ulink>
-or <ulink url="http://linux.die.net/man/3/getgrent">getgrent</ulink>.
-The problem with these functions is, they neither allow to define how many
-entries will be enumerated when calling them in a loop, nor do they
-allow to add some filter criteria. They were designed back in the days,
-when only <filename>/etc/passwd</filename> and <filename>/etc/group</filename>
-files existed and the number of user accounts on a typical UNIX system was
-seldomly a three-digit number.
-</para>
-
-<para>
-These days, with user and group databases sometimes going in the
-six-digit range, they are a potential burden. For that reason, Cygwin
-does not enumerate all user or group accounts by default, but rather
-just a very small list, consisting only of the accounts cached in memory
-by the current process, as well as a handful of predefined builtin
-accounts.
-</para>
-
-<para>
-<literal>db_enum:</literal> allows to specify the accounts to enumerate in a
-fine-grained manner. It takes a list of sources as argument:
-</para>
-
-<screen>
- db_enum: source1 source2 ...
-</screen>
-
-<para>
-The recognized sources are the following:
-</para>
-
-<variablelist>
- <varlistentry>
- <term><literal>none</literal></term>
- <listitem>No output from
- <function>getpwent</function>/<function>getgrent</function>
- at all.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>all</literal></term>
- <listitem>The opposite. Enumerates accounts from all known sources, including
- all trusted domains.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>cache</literal></term>
- <listitem>Enumerate all accounts currently cached in memory.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>builtin</literal></term>
- <listitem>Enumerate the predefined builtin accounts for backward compatibility.
- These are five passwd accounts (SYSTEM, LocalService, NetworkService,
- Administrators, TrustedInstaller) and two group accounts (SYSTEM and
- TrustedInstaller).</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>files</literal></term>
- <listitem>Enumerate the accounts from <filename>/etc/passwd</filename> or
- <filename>/etc/group</filename>.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>local</literal></term>
- <listitem>Enumerate all accounts from the local SAM.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>primary</literal></term>
- <listitem>Enumerate all accounts from the primary domain.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>alltrusted</literal></term>
- <listitem>Enumerate all accounts from all trusted domains.</listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>some.domain</literal></term>
- <listitem>Enumerate all accounts from the trusted domain some.domain. The
- trusted domain can be given as Netbios flat name (MY_DOMAIN) or as
- dns domain name (my_domain.corp). In contrast to the aforementioned
- fixed source keywords, distinct domain names are caseinsensitive.
- Only domains which are actually trusted domains are enumerated.
- Unknown domains are simply ignored.</listitem>
- </varlistentry>
-</variablelist>
-
-<para>
-Please note that <function>getpwent</function>/<function>getgrent</function>
-do <emphasis>not</emphasis> test if an account was already listed from another
-source, so an account can easily show up twice or three times. Such a test
-would be rather tricky, nor does the Linux implementation perform such test.
-Here are a few examples for <filename>/etc/nsswitch.conf</filename>:
-</para>
-
-<screen>
- db_enum: none
-</screen>
-
-<para>
-No output from <function>getpwent</function>/<function>getgrent</function>
-at all. The first call to the function immediately returns a NULL pointer.
-</para>
-
-<screen>
- db_enum: cache files
-</screen>
-
-<para>
-Enumerate all accounts cached by the current process, plus all entries
-from either the /etc/passwd or /etc/group file.
-</para>
-
-<screen>
- db_enum: cache local primary
-</screen>
-
-<para>
-Enumerate all accounts cached by the current process, all accounts from the SAM
-of the local machine, and all accounts from the primary domain of the machine.
-</para>
-
-<screen>
- db_enum: local primary alltrusted
-</screen>
-
-<para>
-Enumerate the accounts from the machine's SAM, from the primary domain of the
-machine, and from all trusted domains.
-</para>
-
-<screen>
- db_enum: primary domain1.corp sub.domain.corp domain2.net
-</screen>
-
-<para>
-Enumerate the accounts from the primary domain and from the domains
-domain1.corp, sub.domain.corp and domain2.net.
-</para>
-
-<screen>
- db_enum: all
-</screen>
-
-<para>
-Enumerate everything and the kitchen sink.
-</para>
-
-</listitem>
-
-</itemizedlist>
-
-</sect3>
-
-
</sect2>
-<sect2 id="ntsec-files"><title id="ntsec-files.title">File permissions</title>
-<para>On NTFS and if the <literal>noacl</literal> mount option is not
-specified for a mount point, Cygwin sets file permissions as on POSIX
-systems. Basically this is done by defining a Security Descriptor with the
-matching owner and group SIDs, and a DACL which contains ACEs for the owner,
-the group and for "Everyone", which represents what POSIX calls "others".</para>
+<sect2 id="ntsec-mapping"><title id="ntsec-mapping.title">The POSIX permission mapping leak</title>
-<para>There's just one problem when trying to map the POSIX permission model
-onto the Windows permission model.</para>
+<para>As promised earlier, here's the problem when trying to map the
+POSIX permission model onto the Windows permission model.</para>
-<para>There's a leak in the definition of a "correct" ACL which disallows a
-certain POSIX permission setting. The official documentation explains in short
-the following:</para>
+<para>There's a leak in the definition of a "correct" ACL which
+disallows a certain POSIX permission setting. The official
+documentation explains in short the following:</para>
<itemizedlist spacing="compact">
<listitem><para>The requested permissions are checked against all
@@ -1653,7 +501,7 @@ OthersAllow: 110
</screen>
<para>Again: This works on all existing versions of Windows NT, at the
-time of writing from at least Windows XP up to Server 2012 R2. Only
+time of writing from at least Windows XP up to Server 2012. Only
the GUIs aren't able (or willing) to deal with that order.</para>
</sect2>
@@ -1686,7 +534,9 @@ inherits the access token from its parent process. Every thread can
get its own access token, which allows, for instance, to define threads
with restricted permissions.</para>
-<sect3 id="ntsec-logonuser"><title id="ntsec-logonuser.title">Switching the user context with password authentication</title>
+</sect2>
+
+<sect2 id="ntsec-logonuser"><title id="ntsec-logonuser.title">Switching the user context with password authentication</title>
<para>To switch the user context, the process has to request such an access
token for the new user. This is typically done by calling the Win32 API
@@ -1762,9 +612,9 @@ example:</para>
</screen>
-</sect3>
+</sect2>
-<sect3 id="ntsec-nopasswd1"><title id="ntsec-nopasswd1.title">Switching the user context without password, Method 1: Create a token from scratch</title>
+<sect2 id="ntsec-nopasswd1"><title id="ntsec-nopasswd1.title">Switching the user context without password, Method 1: Create a token from scratch</title>
<para>An unfortunate aspect of the implementation of
<command>set(e)uid</command> is the fact that the calling process
@@ -1852,9 +702,9 @@ path as in</para>
bash$ grep foo //server/share/foofile
</screen>
-</sect3>
+</sect2>
-<sect3 id="ntsec-nopasswd2"><title id="ntsec-nopasswd2.title">Switching the user context without password, Method 2: LSA authentication package</title>
+<sect2 id="ntsec-nopasswd2"><title id="ntsec-nopasswd2.title">Switching the user context without password, Method 2: LSA authentication package</title>
<para>We're looking for another way to switch the user context without
having to provide the password. Another technique is to create an
@@ -1899,9 +749,9 @@ inconvenience compared to that...</para>
<para>Nevertheless, this is already a lot better than what we get by
using <command>NtCreateToken</command>, isn't it?</para>
-</sect3>
+</sect2>
-<sect3 id="ntsec-nopasswd3"><title id="ntsec-nopasswd3.title">Switching the user context without password, Method 3: With password</title>
+<sect2 id="ntsec-nopasswd3"><title id="ntsec-nopasswd3.title">Switching the user context without password, Method 3: With password</title>
<para>Ok, so we have solved almost any problem, except for the network
access problem. Not being able to access network shares without
@@ -1974,9 +824,9 @@ safely use this method.</para>
<para>In all other cases, don't use this method. You have been warned.</para>
-</sect3>
+</sect2>
-<sect3 id="ntsec-setuid-impl"><title id="ntsec-setuid-impl.title">Switching the user context, how does it all fit together?</title>
+<sect2 id="ntsec-setuid-impl"><title id="ntsec-setuid-impl.title">Switching the user context, how does it all fit together?</title>
<para>Now we learned about four different ways to switch the user
context using the <command>set(e)uid</command> system call, but
@@ -2034,8 +884,6 @@ fails and returns -1, setting errno to EPERM.</para>
</listitem>
</itemizedlist>
-</sect3>
-
</sect2>
</sect1>
diff --git a/winsup/doc/pathnames.xml b/winsup/doc/pathnames.xml
index b694c64..3647253 100644
--- a/winsup/doc/pathnames.xml
+++ b/winsup/doc/pathnames.xml
@@ -44,9 +44,7 @@ all users. Sometimes there's a requirement to have user specific
mount points. The Cygwin DLL supports user specific fstab files.
These are stored in the directory <filename>/etc/fstab.d</filename>
and the name of the file is the Cygwin username of the user, as it's
-created from the Windows account database or stored in the
-<filename>/etc/passwd</filename> file (see
-<xref linkend="ntsec-mapping"></xref>). The structure of the
+stored in the <filename>/etc/passwd</filename> file. The structure of the
user specific file is identical to the system-wide
<filename>fstab</filename> file.</para>
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 27bfc1f..f61161c 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,10 +1,3 @@
-2014-07-29 Corinna Vinschen <corinna@vinschen.de>
-
- * mkgroup.c (usage): Move info message that this /etc/group isn't really
- required anymore more to the top of the usage output.
- * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
- * utils.xml: Fix accordingly.
-
2014-06-16 Corinna Vinschen <corinna@vinschen.de>
* passwd.c (main): Fix typo in error output.
@@ -27,40 +20,6 @@
* minidumper.cc (minidump): Fix copy and paste error in checking
result of OpenProcess().
-2014-02-24 Corinna Vinschen <corinna@vinschen.de>
-
- * mkgroup.c (domlist_t): Drop id_offset.
- (get_dcname): Remove.
- (current_group): Remove.
- (enum_unix_groups): Simplify. Change space to underscore in domain
- name.
- (enum_local_groups): Simplify to accommodate the fact that it's only
- called for foreign machines.
- (enum_groups): Ditto.
- (print_special_by_sid): Remove.
- (print_special_by_name): Remove.
- (usage): Align to new code.
- (fetch_primary_domain): Remove.
- (main): Use cygwin_internal CW_SETENT, CW_GETENT and CW_ENDENT method.
- Call enum_local_groups, enum_groups, and enum_unix_groups only for
- foreign machines.
- * mkpasswd.c (get_dcname): Remove.
- (current_user): Remove.
- (enum_unix_users): Simplify. Change space to underscore in domain name.
- (enum_users): Simplify to accommodate the fact that it's only
- called for foreign machines.
- (print_special_by_sid): Remove.
- (usage): Align to new code.
- (longopts): Add -b/--no-builtin option.
- (opts): Add -b option.
- (print_special_by_name): Remove.
- (enum_std_accounts): Remove.
- (fetch_primary_domain): Remove.
- (main): Use cygwin_internal CW_SETENT, CW_GETENT and CW_ENDENT method.
- Call enum_users and enum_unix_users only for foreign machines.
- * utils.xml (mkgroup): Align documentation to new usage.
- (mkpasswd): Ditto.
-
2014-02-23 Jon TURNEY <jon.turney@dronecode.org.uk>
* minidumper.cc (minidump): Fix -t option argument handling.
diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c
index 461af40..05f5910 100644
--- a/winsup/utils/mkgroup.c
+++ b/winsup/utils/mkgroup.c
@@ -1,7 +1,7 @@
/* mkgroup.c:
Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2008, 2009, 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -21,7 +21,6 @@
#include <inttypes.h>
#include <getopt.h>
#include <io.h>
-#include <grp.h>
#include <sys/fcntl.h>
#include <sys/cygwin.h>
#include <cygwin/version.h>
@@ -30,7 +29,9 @@
#include <wininet.h>
#include <iptypes.h>
#include <ntsecapi.h>
+#include <dsgetdc.h>
#include <ntdef.h>
+#include "loadlib.h"
#define print_win_error(x) _print_win_error(x, __LINE__)
@@ -46,6 +47,7 @@ SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY};
typedef struct
{
char *str;
+ DWORD id_offset;
BOOL domain;
BOOL with_dom;
} domlist_t;
@@ -68,6 +70,31 @@ _print_win_error (DWORD code, int line)
line, (unsigned int) code);
}
+static PWCHAR
+get_dcname (char *domain)
+{
+ static WCHAR server[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ DWORD rc;
+ WCHAR domain_name[MAX_DOMAIN_NAME_LEN + 1];
+ PDOMAIN_CONTROLLER_INFOW pdci = NULL;
+
+ if (domain)
+ {
+ mbstowcs (domain_name, domain, strlen (domain) + 1);
+ rc = DsGetDcNameW (NULL, domain_name, NULL, NULL, 0, &pdci);
+ }
+ else
+ rc = DsGetDcNameW (NULL, NULL, NULL, NULL, 0, &pdci);
+ if (rc != ERROR_SUCCESS)
+ {
+ print_win_error (rc);
+ return (PWCHAR) -1;
+ }
+ wcscpy (server, pdci->DomainControllerName);
+ NetApiBufferFree (pdci);
+ return server;
+}
+
static char *
put_sid (PSID psid)
{
@@ -122,10 +149,40 @@ fetch_current_pgrp_sid ()
}
static void
-enum_unix_groups (domlist_t *mach, const char *sep, DWORD id_offset,
+current_group (const char *sep, DWORD id_offset)
+{
+ WCHAR grp[GNLEN + 1];
+ WCHAR dom[MAX_DOMAIN_NAME_LEN + 1];
+ DWORD glen = GNLEN + 1;
+ DWORD dlen = MAX_DOMAIN_NAME_LEN + 1;
+ int gid;
+ SID_NAME_USE acc_type;
+
+ if (!curr_pgrp.psid
+ || !LookupAccountSidW (NULL, curr_pgrp.psid, grp, &glen, dom, &dlen,
+ &acc_type))
+ {
+ print_win_error (GetLastError ());
+ return;
+ }
+ gid = *GetSidSubAuthority (curr_pgrp.psid,
+ *GetSidSubAuthorityCount(curr_pgrp.psid) - 1);
+ printf ("%ls%s%ls:%s:%" PRIu32 ":\n",
+ sep ? dom : L"",
+ sep ?: "",
+ grp,
+ put_sid (curr_pgrp.psid),
+ (unsigned int) (id_offset + gid));
+}
+
+static void
+enum_unix_groups (domlist_t *dom_or_machine, const char *sep, DWORD id_offset,
char *unix_grp_list)
{
WCHAR machine[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ PWCHAR servername = NULL;
+ char *d_or_m = dom_or_machine ? dom_or_machine->str : NULL;
+ BOOL with_dom = dom_or_machine ? dom_or_machine->with_dom : FALSE;
SID_IDENTIFIER_AUTHORITY auth = { { 0, 0, 0, 0, 0, 22 } };
char *gstr, *grp_list;
WCHAR grp[GNLEN + sizeof ("Unix Group\\") + 1];
@@ -135,13 +192,17 @@ enum_unix_groups (domlist_t *mach, const char *sep, DWORD id_offset,
char psid_buffer[MAX_SID_LEN];
SID_NAME_USE acc_type;
- int ret = mbstowcs (machine, mach->str, INTERNET_MAX_HOST_NAME_LENGTH + 1);
+ if (!d_or_m)
+ return;
+
+ int ret = mbstowcs (machine, d_or_m, INTERNET_MAX_HOST_NAME_LENGTH + 1);
if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
{
fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
- program_invocation_short_name, mach->str);
+ program_invocation_short_name, d_or_m);
return;
}
+ servername = machine;
if (!AllocateAndInitializeSid (&auth, 2, 2, 0, 0, 0, 0, 0, 0, 0, &psid))
return;
@@ -161,15 +222,15 @@ enum_unix_groups (domlist_t *mach, const char *sep, DWORD id_offset,
if (ret < 1 || ret >= GNLEN + 1)
fprintf (stderr, "%s: Invalid group name '%s'. Skipping...\n",
program_invocation_short_name, gstr);
- else if (LookupAccountNameW (machine, grp,
+ else if (LookupAccountNameW (servername, grp,
psid = (PSID) psid_buffer,
(sidlen = MAX_SID_LEN, &sidlen),
dom,
(dlen = MAX_DOMAIN_NAME_LEN + 1, &dlen),
&acc_type))
printf ("%s%s%ls:%s:%" PRIu32 ":\n",
- mach->with_dom ? "Unix_Group" : "",
- mach->with_dom ? sep : "",
+ with_dom ? "Unix Group" : "",
+ with_dom ? sep : "",
p,
put_sid (psid),
(unsigned int) (id_offset +
@@ -198,15 +259,15 @@ enum_unix_groups (domlist_t *mach, const char *sep, DWORD id_offset,
{
*GetSidSubAuthority (psid, *GetSidSubAuthorityCount(psid) - 1)
= start;
- if (LookupAccountSidW (machine, psid,
+ if (LookupAccountSidW (servername, psid,
grp, (glen = GNLEN + 1, &glen),
dom,
(dlen = MAX_DOMAIN_NAME_LEN + 1, &dlen),
&acc_type)
&& !iswdigit (grp[0]))
printf ("%s%s%ls:%s:%" PRIu32 ":\n",
- mach->with_dom ? "Unix_Group" : "",
- mach->with_dom ? sep : "",
+ with_dom ? "Unix Group" : "",
+ with_dom ? sep : "",
grp,
put_sid (psid),
(unsigned int) (id_offset + start));
@@ -219,11 +280,14 @@ enum_unix_groups (domlist_t *mach, const char *sep, DWORD id_offset,
}
static int
-enum_local_groups (domlist_t *mach, const char *sep,
+enum_local_groups (BOOL domain, domlist_t *dom_or_machine, const char *sep,
DWORD id_offset, char *disp_groupname, int print_builtin,
int print_current)
{
WCHAR machine[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ PWCHAR servername = NULL;
+ char *d_or_m = dom_or_machine ? dom_or_machine->str : NULL;
+ BOOL with_dom = dom_or_machine ? dom_or_machine->with_dom : FALSE;
LOCALGROUP_INFO_0 *buffer;
DWORD entriesread = 0;
DWORD totalentries = 0;
@@ -231,12 +295,22 @@ enum_local_groups (domlist_t *mach, const char *sep,
WCHAR gname[GNLEN + 1];
DWORD rc;
- int ret = mbstowcs (machine, mach->str, INTERNET_MAX_HOST_NAME_LENGTH + 1);
- if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ if (domain)
{
- fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
- program_invocation_short_name, mach->str);
- return 1;
+ servername = get_dcname (d_or_m);
+ if (servername == (PWCHAR) -1)
+ return 1;
+ }
+ else if (d_or_m)
+ {
+ int ret = mbstowcs (machine, d_or_m, INTERNET_MAX_HOST_NAME_LENGTH + 1);
+ if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ {
+ fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
+ program_invocation_short_name, d_or_m);
+ return 1;
+ }
+ servername = machine;
}
do
@@ -246,7 +320,7 @@ enum_local_groups (domlist_t *mach, const char *sep,
if (disp_groupname)
{
mbstowcs (gname, disp_groupname, GNLEN + 1);
- rc = NetLocalGroupGetInfo (machine, gname, 0, (void *) &buffer);
+ rc = NetLocalGroupGetInfo (servername, gname, 0, (void *) &buffer);
if (rc == ERROR_SUCCESS)
entriesread = 1;
/* Allow further searching for the group and avoid annoying
@@ -256,7 +330,7 @@ enum_local_groups (domlist_t *mach, const char *sep,
return 0;
}
else
- rc = NetLocalGroupEnum (machine, 0, (void *) &buffer,
+ rc = NetLocalGroupEnum (servername, 0, (void *) &buffer,
MAX_PREFERRED_LENGTH, &entriesread,
&totalentries, &resume_handle);
switch (rc)
@@ -286,7 +360,7 @@ enum_local_groups (domlist_t *mach, const char *sep,
PDBGSID pdsid;
BOOL is_builtin = FALSE;
- if (!LookupAccountNameW (machine, buffer[i].lgrpi0_name, psid,
+ if (!LookupAccountNameW (servername, buffer[i].lgrpi0_name, psid,
&sid_length, domain_name, &domname_len,
&acc_type))
{
@@ -303,7 +377,7 @@ enum_local_groups (domlist_t *mach, const char *sep,
wcscat (domname, buffer[i].lgrpi0_name);
sid_length = MAX_SID_LEN;
domname_len = MAX_DOMAIN_NAME_LEN + 1;
- if (!LookupAccountNameW (machine, domname,
+ if (!LookupAccountNameW (servername, domname,
psid, &sid_length,
domain_name, &domname_len,
&acc_type))
@@ -341,8 +415,8 @@ enum_local_groups (domlist_t *mach, const char *sep,
gid = *GetSidSubAuthority (psid, *GetSidSubAuthorityCount(psid) - 1);
printf ("%ls%s%ls:%s:%" PRIu32 ":\n",
- mach->with_dom && !is_builtin ? domain_name : L"",
- mach->with_dom || is_builtin ? sep : "",
+ with_dom && !is_builtin ? domain_name : L"",
+ with_dom && !is_builtin ? sep : "",
buffer[i].lgrpi0_name,
put_sid (psid),
(unsigned int) (gid + (is_builtin ? 0 : id_offset)));
@@ -362,10 +436,13 @@ skip_group:
}
static void
-enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
- char *disp_groupname, int print_current)
+enum_groups (BOOL domain, domlist_t *dom_or_machine, const char *sep,
+ DWORD id_offset, char *disp_groupname, int print_current)
{
WCHAR machine[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ PWCHAR servername = NULL;
+ char *d_or_m = dom_or_machine ? dom_or_machine->str : NULL;
+ BOOL with_dom = dom_or_machine ? dom_or_machine->with_dom : FALSE;
GROUP_INFO_2 *buffer;
DWORD entriesread = 0;
DWORD totalentries = 0;
@@ -373,12 +450,22 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
WCHAR gname[GNLEN + 1];
DWORD rc;
- int ret = mbstowcs (machine, mach->str, INTERNET_MAX_HOST_NAME_LENGTH + 1);
- if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ if (domain)
{
- fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
- program_invocation_short_name, mach->str);
- return;
+ servername = get_dcname (d_or_m);
+ if (servername == (PWCHAR) -1)
+ return;
+ }
+ else if (d_or_m)
+ {
+ int ret = mbstowcs (machine, d_or_m, INTERNET_MAX_HOST_NAME_LENGTH + 1);
+ if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ {
+ fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
+ program_invocation_short_name, d_or_m);
+ return;
+ }
+ servername = machine;
}
do
@@ -388,7 +475,8 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
if (disp_groupname != NULL)
{
mbstowcs (gname, disp_groupname, GNLEN + 1);
- rc = NetGroupGetInfo (machine, (LPWSTR) & gname, 2, (void *) &buffer);
+ rc = NetGroupGetInfo (servername, (LPWSTR) & gname, 2,
+ (void *) &buffer);
entriesread=1;
/* Avoid annoying error messages just because the group hasn't been
found. */
@@ -396,8 +484,9 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
return;
}
else
- rc = NetGroupEnum (machine, 2, (void *) & buffer, MAX_PREFERRED_LENGTH,
- &entriesread, &totalentries, &resume_handle);
+ rc = NetGroupEnum (servername, 2, (void *) & buffer,
+ MAX_PREFERRED_LENGTH, &entriesread, &totalentries,
+ &resume_handle);
switch (rc)
{
case ERROR_ACCESS_DENIED:
@@ -423,7 +512,7 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
SID_NAME_USE acc_type;
int gid = buffer[i].grpi2_group_id;
- if (!LookupAccountNameW (machine, buffer[i].grpi2_name,
+ if (!LookupAccountNameW (servername, buffer[i].grpi2_name,
psid, &sid_length,
domain_name, &domname_len,
&acc_type))
@@ -436,13 +525,16 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
{
WCHAR domname[MAX_DOMAIN_NAME_LEN + GNLEN + 2];
- wcscpy (domname, machine);
+ wcscpy (domname, domain || !servername
+ ? domain_name : servername);
wcscat (domname, L"\\");
wcscat (domname, buffer[i].grpi2_name);
sid_length = MAX_SID_LEN;
domname_len = MAX_DOMAIN_NAME_LEN + 1;
- if (!LookupAccountNameW (machine, domname, psid, &sid_length,
- domain_name, &domname_len, &acc_type))
+ if (!LookupAccountNameW (servername, domname,
+ psid, &sid_length,
+ domain_name, &domname_len,
+ &acc_type))
{
print_win_error (GetLastError ());
fprintf(stderr, " (%ls)\n", domname);
@@ -455,8 +547,8 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
got_curr_pgrp = TRUE;
printf ("%ls%s%ls:%s:%" PRIu32 ":\n",
- mach->with_dom ? domain_name : L"",
- mach->with_dom ? sep : "",
+ with_dom ? domain_name : L"",
+ with_dom ? sep : "",
buffer[i].grpi2_name,
put_sid (psid),
(unsigned int) (id_offset + gid));
@@ -468,43 +560,107 @@ enum_groups (domlist_t *mach, const char *sep, DWORD id_offset,
while (rc == ERROR_MORE_DATA);
}
+static void
+print_special_by_sid (PSID_IDENTIFIER_AUTHORITY auth, BYTE cnt,
+ DWORD sub1, DWORD sub2, DWORD sub3, DWORD sub4,
+ DWORD sub5, DWORD sub6, DWORD sub7, DWORD sub8)
+{
+ WCHAR grp[GNLEN + 1], dom[MAX_DOMAIN_NAME_LEN + 1];
+ DWORD glen, dlen, rid;
+ PSID psid;
+ SID_NAME_USE acc_type;
+
+ if (AllocateAndInitializeSid (auth, cnt, sub1, sub2, sub3, sub4,
+ sub5, sub6, sub7, sub8, &psid))
+ {
+ if (LookupAccountSidW (NULL, psid,
+ grp, (glen = GNLEN + 1, &glen),
+ dom, (dlen = MAX_DOMAIN_NAME_LEN + 1, &dlen),
+ &acc_type))
+ {
+ if (sub8)
+ rid = sub8;
+ else if (sub7)
+ rid = sub7;
+ else if (sub6)
+ rid = sub6;
+ else if (sub5)
+ rid = sub5;
+ else if (sub4)
+ rid = sub4;
+ else if (sub3)
+ rid = sub3;
+ else if (sub2)
+ rid = sub2;
+ else
+ rid = sub1;
+ printf ("%ls:%s:%" PRIu32 ":\n", grp, put_sid (psid),
+ (unsigned int) rid);
+ }
+ FreeSid (psid);
+ }
+}
+
+static void
+print_special_by_name (PCWSTR name, gid_t gid)
+{
+ DWORD size = 256, dom_size = 256;
+ PSID sid = (PSID) alloca (size);
+ WCHAR dom[dom_size];
+ SID_NAME_USE use;
+
+ PWCHAR name_only = wcschr (name, L'\\');
+ if (name_only)
+ ++name_only;
+
+ if (LookupAccountNameW (NULL, name, sid, &size, dom, &dom_size, &use))
+ printf ("%ls:%s:%lu:\n",
+ name_only ?: name, put_sid (sid), (unsigned long) gid);
+}
+
static int
usage (FILE * stream)
{
fprintf (stream,
"Usage: %s [OPTION]...\n"
"\n"
-"Write /etc/group-like output to stdout\n"
-"\n"
-"Don't use this command to generate a local /etc/group file, unless you\n"
-"really need one. See the Cygwin User's Guide for more information.\n"
+"Print /etc/group file to stdout\n"
"\n"
"Options:\n"
"\n"
-" -l,--local [machine] print local groups\n"
+" -l,--local [machine[,offset]]\n"
+" print local groups with gid offset offset\n"
" (from local machine if no machine specified)\n"
-" -L,--Local machine ditto, but generate groupname with machine prefix\n"
-" -d,--domain [domain] print domain groups\n"
+" -L,--Local [machine[,offset]]\n"
+" ditto, but generate groupname with machine prefix\n"
+" -d,--domain [domain[,offset]]\n"
+" print domain groups with gid offset offset\n"
" (from current domain if no domain specified)\n"
+" -D,--Domain [domain[,offset]]\n"
+" ditto, but generate groupname with machine prefix\n"
" -c,--current print current group\n"
-" -S,--separator char for -l use character char as domain\\group\n"
-" separator in groupname instead of default '%s'\n"
-" -o,--id-offset offset change the default offset (0x10000) added to\n"
-" gids of foreign machine accounts.\n"
+" -C,--Current ditto, but generate groupname with machine or\n"
+" domain prefix\n"
+" -S,--separator char for -L, -D, -C use character char as domain\\group\n"
+" separator in groupname instead of the default '\\'\n"
+" -o,--id-offset offset change the default offset (10000) added to gids\n"
+" in domain or foreign server accounts.\n"
" -g,--group groupname only return information for the specified group\n"
-" one of -l, -d must be specified, too\n"
+" one of -l, -L, -d, -D must be specified, too\n"
" -b,--no-builtin don't print BUILTIN groups\n"
-" -U,--unix grouplist print UNIX groups when using -l on a UNIX Samba\n"
-" server. grouplist is a comma-separated list of\n"
-" groupnames or gid ranges (root,-25,50-100).\n"
+" -U,--unix grouplist additionally print UNIX groups when using -l or -L\n"
+" on a UNIX Samba server\n"
+" grouplist is a comma-separated list of groupnames\n"
+" or gid ranges (root,-25,50-100).\n"
" (enumerating large ranges can take a long time!)\n"
+" -s,--no-sids (ignored)\n"
+" -u,--users (ignored)\n"
" -h,--help print this message\n"
" -v,--version print version information and exit\n"
"\n"
"Default is to print local groups on stand-alone machines, plus domain\n"
"groups on domain controllers and domain member machines.\n"
-"\n", program_invocation_short_name,
- (const char *) cygwin_internal (CW_GETNSSSEP));
+"\n", program_invocation_short_name);
return 1;
}
@@ -543,20 +699,44 @@ print_version ()
strrchr (__DATE__, ' ') + 1);
}
+static PPOLICY_PRIMARY_DOMAIN_INFO p_dom;
+
+static BOOL
+fetch_primary_domain ()
+{
+ NTSTATUS status;
+ LSA_OBJECT_ATTRIBUTES oa = { 0, 0, 0, 0, 0, 0 };
+ LSA_HANDLE lsa;
+
+ if (!p_dom)
+ {
+ status = LsaOpenPolicy (NULL, &oa, POLICY_EXECUTE, &lsa);
+ if (!NT_SUCCESS (status))
+ return FALSE;
+ status = LsaQueryInformationPolicy (lsa, PolicyPrimaryDomainInformation,
+ (PVOID *) ((void *) &p_dom));
+ LsaClose (lsa);
+ if (!NT_SUCCESS (status))
+ return FALSE;
+ }
+ return !!p_dom->Sid;
+}
+
int
main (int argc, char **argv)
{
int print_domlist = 0;
domlist_t domlist[32];
- char *opt, *p;
+ char *opt, *p, *ep;
int print_current = 0;
+ int print_system = 0;
int print_builtin = 1;
char *print_unix = NULL;
- const char *sep_char = (const char *) cygwin_internal (CW_GETNSSSEP);
- DWORD id_offset = 0x10000, off;
+ const char *sep_char = "\\";
+ DWORD id_offset = 10000, off;
int c, i;
char *disp_groupname = NULL;
- //BOOL in_domain;
+ BOOL in_domain;
int optional_args = 0;
if (!isatty (1))
@@ -566,21 +746,22 @@ main (int argc, char **argv)
setlocale (LC_CTYPE, "");
if (!strcmp (setlocale (LC_CTYPE, NULL), "C"))
setlocale (LC_CTYPE, "en_US.UTF-8");
+ in_domain = fetch_primary_domain ();
fetch_current_pgrp_sid ();
if (argc == 1)
{
- int enums = ENUM_PRIMARY | ENUM_LOCAL | ENUM_BUILTIN;
- uintptr_t ticket = cygwin_internal (CW_SETENT, TRUE, enums, NULL);
- if (ticket)
+ print_special_by_sid (&sid_nt_auth, 1, SECURITY_LOCAL_SYSTEM_RID,
+ 0, 0, 0, 0, 0, 0, 0);
+ if (in_domain)
{
- struct group *grp;
-
- while ((grp = (struct group *) cygwin_internal (CW_GETENT, TRUE,
- ticket)))
- printf ("%s:%s:%u:\n", grp->gr_name, grp->gr_passwd, grp->gr_gid);
- cygwin_internal (CW_ENDENT, TRUE, ticket);
+ if (!enum_local_groups (TRUE, NULL, sep_char, id_offset,
+ disp_groupname, print_builtin, 0))
+ enum_groups (TRUE, NULL, sep_char, id_offset, disp_groupname, 0);
}
+ else if (!enum_local_groups (FALSE, NULL, sep_char, 0, disp_groupname,
+ print_builtin, 0))
+ enum_groups (FALSE, NULL, sep_char, 0, disp_groupname, 0);
return 0;
}
@@ -618,10 +799,15 @@ main (int argc, char **argv)
domlist[i].str);
goto skip;
}
- domlist[print_domlist].str = opt;
+ if (!(domlist[print_domlist].str = opt))
+ print_system = 1;
+ domlist[print_domlist].id_offset = UINT32_MAX;
if (opt && (p = strchr (opt, ',')))
{
- if (p == opt)
+ if (p == opt
+ || !isdigit ((unsigned char) p[1])
+ || (domlist[print_domlist].id_offset = strtol (p + 1, &ep, 10)
+ , *ep))
{
fprintf (stderr, "%s: Malformed machine,offset string '%s'. "
"Skipping...\n", program_invocation_short_name, opt);
@@ -629,15 +815,15 @@ main (int argc, char **argv)
}
*p = '\0';
}
- domlist[print_domlist++].with_dom = (c == 'L');
+ domlist[print_domlist++].with_dom = (c == 'D' || c == 'L');
skip:
break;
case 'S':
sep_char = optarg;
if (strlen (sep_char) > 1)
{
- fprintf (stderr, "%s: Only one ASCII character allowed as "
- "domain\\user separator character.\n",
+ fprintf (stderr, "%s: Only one character allowed as domain\\user "
+ "separator character.\n",
program_invocation_short_name);
return 1;
}
@@ -652,6 +838,8 @@ skip:
print_unix = optarg;
break;
case 'c':
+ sep_char = NULL;
+ /*FALLTHRU*/
case 'C':
print_current = 1;
break;
@@ -688,77 +876,34 @@ skip:
exit (1);
}
- struct group *pgrp = NULL;
- if (print_current)
- pgrp = (struct group *) cygwin_internal (CW_GETGRSID, TRUE, curr_pgrp.psid);
-
- int enums = ENUM_NONE;
- WCHAR tdoms[print_domlist * 258];
- PWCHAR t = tdoms;
- if (!disp_groupname && print_builtin && print_domlist)
- enums |= ENUM_BUILTIN;
- for (i = 0; i < print_domlist; ++i)
+ /* Get 'system' group */
+ if (!disp_groupname && print_system && print_builtin && print_domlist)
{
- if (domlist[i].domain)
- {
- if (domlist[i].str)
- {
- enums |= ENUM_TDOMS;
- t += mbstowcs (t, domlist[i].str, 257);
- *t++ = L'\0';
- }
- else
- enums |= ENUM_PRIMARY;
- }
- else if (!domlist[i].str)
- enums |= ENUM_LOCAL;
+ print_special_by_sid (&sid_nt_auth, 1, SECURITY_LOCAL_SYSTEM_RID,
+ 0, 0, 0, 0, 0, 0, 0);
+ print_special_by_name (L"NT SERVICE\\TrustedInstaller", -2);
}
- if (t > tdoms)
- *t++ = L'\0';
- if (enums)
- {
- uintptr_t ticket = cygwin_internal (CW_SETENT, TRUE, enums,
- t > tdoms ? tdoms : NULL);
- if (ticket)
- {
- struct group *grp;
- const char *nss_sep = (const char *) cygwin_internal (CW_GETNSSSEP);
-
- while ((grp = (struct group *)
- cygwin_internal (CW_GETENT, TRUE, ticket)))
- {
- if (disp_groupname
- && strcasecmp (disp_groupname, grp->gr_name) != 0
- && (!(p = strchr (grp->gr_name, nss_sep[0]))
- || strcasecmp (disp_groupname, p + 1) != 0))
- continue;
- printf ("%s:%s:%u:\n", grp->gr_name, grp->gr_passwd,
- grp->gr_gid);
- if (pgrp && !strcmp (grp->gr_passwd, pgrp->gr_passwd))
- got_curr_pgrp = TRUE;
- }
- cygwin_internal (CW_ENDENT, TRUE, ticket);
- }
- }
-
- if (print_current && !got_curr_pgrp)
- printf ("%s:%s:%u:\n", pgrp->gr_name, pgrp->gr_passwd, pgrp->gr_gid);
- off = 0xfd000000;
+ off = id_offset;
for (i = 0; i < print_domlist; ++i)
{
- if (domlist[i].domain || !domlist[i].str)
- continue;
- if (!enum_local_groups (domlist + i, sep_char, off, disp_groupname,
- print_builtin, print_current))
+ DWORD my_off = (domlist[i].domain || domlist[i].str)
+ ? domlist[i].id_offset != UINT_MAX
+ ? domlist[i].id_offset : off : 0;
+ if (!enum_local_groups (domlist[i].domain, domlist + i, sep_char,
+ my_off, disp_groupname, print_builtin, print_current))
{
- enum_groups (domlist + i, sep_char, off, disp_groupname,
- print_current);
if (!domlist[i].domain && domlist[i].str && print_unix)
- enum_unix_groups (domlist + i, sep_char, 0xff000000, print_unix);
- off += id_offset;
+ enum_unix_groups (domlist + i, sep_char, my_off, print_unix);
+ enum_groups (domlist[i].domain, domlist + i, sep_char, my_off,
+ disp_groupname, print_current);
+ if (my_off)
+ off += id_offset;
}
}
+ if (print_current && !got_curr_pgrp)
+ current_group (sep_char, off);
+
return 0;
}
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index 66cf9f3..d080dbd 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -1,7 +1,7 @@
/* mkpasswd.c:
Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2008, 2009,
- 2010, 2011, 2012, 2013, 2014 Red Hat, Inc.
+ 2010, 2011, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -21,7 +21,6 @@
#include <inttypes.h>
#include <getopt.h>
#include <io.h>
-#include <pwd.h>
#include <sys/fcntl.h>
#include <sys/cygwin.h>
#include <cygwin/version.h>
@@ -32,6 +31,7 @@
#include <ntsecapi.h>
#include <dsgetdc.h>
#include <ntdef.h>
+#include "loadlib.h"
#define print_win_error(x) _print_win_error(x, __LINE__)
@@ -47,6 +47,7 @@ SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY};
typedef struct
{
char *str;
+ DWORD id_offset;
BOOL domain;
BOOL with_dom;
} domlist_t;
@@ -69,6 +70,31 @@ _print_win_error(DWORD code, int line)
line, (unsigned int) code);
}
+static PWCHAR
+get_dcname (char *domain)
+{
+ static WCHAR server[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ DWORD rc;
+ WCHAR domain_name[MAX_DOMAIN_NAME_LEN + 1];
+ PDOMAIN_CONTROLLER_INFOW pdci = NULL;
+
+ if (domain)
+ {
+ mbstowcs (domain_name, domain, strlen (domain) + 1);
+ rc = DsGetDcNameW (NULL, domain_name, NULL, NULL, 0, &pdci);
+ }
+ else
+ rc = DsGetDcNameW (NULL, NULL, NULL, NULL, 0, &pdci);
+ if (rc != ERROR_SUCCESS)
+ {
+ print_win_error (rc);
+ return (PWCHAR) -1;
+ }
+ wcscpy (server, pdci->DomainControllerName);
+ NetApiBufferFree (pdci);
+ return server;
+}
+
static char *
put_sid (PSID sid)
{
@@ -124,10 +150,72 @@ fetch_current_user_sid ()
}
static void
-enum_unix_users (domlist_t *mach, const char *sep, DWORD id_offset,
+current_user (const char *sep, const char *passed_home_path, DWORD id_offset,
+ const char *disp_username)
+{
+ WCHAR user[UNLEN + 1];
+ WCHAR dom[MAX_DOMAIN_NAME_LEN + 1];
+ DWORD ulen = UNLEN + 1;
+ DWORD dlen = MAX_DOMAIN_NAME_LEN + 1;
+ SID_NAME_USE acc_type;
+ int uid, gid;
+ char homedir_psx[PATH_MAX] = {0};
+
+ if (!curr_user.psid || !curr_pgrp.psid
+ || !LookupAccountSidW (NULL, curr_user.psid, user, &ulen, dom, &dlen,
+ &acc_type))
+ {
+ print_win_error (GetLastError ());
+ return;
+ }
+
+ uid = *GetSidSubAuthority (curr_user.psid,
+ *GetSidSubAuthorityCount(curr_user.psid) - 1);
+ gid = *GetSidSubAuthority (curr_pgrp.psid,
+ *GetSidSubAuthorityCount(curr_pgrp.psid) - 1);
+ if (passed_home_path[0] == '\0')
+ {
+ char *envhome = getenv ("HOME");
+
+ /* If $HOME exists and is non-empty, just copy it over to homedir_psx.
+ Otherwise, generate a new path of the form "/home/$USER". */
+ if (envhome && envhome[0] != '\0')
+ strncat (homedir_psx, envhome, sizeof (homedir_psx) - 1);
+ else
+ {
+ wcstombs (stpncpy (homedir_psx, "/home/", sizeof (homedir_psx)),
+ user, sizeof (homedir_psx) - 6);
+ homedir_psx[PATH_MAX - 1] = '\0';
+ }
+ }
+ else
+ {
+ char *p = stpncpy (homedir_psx, passed_home_path, sizeof (homedir_psx));
+ wcstombs (p, user, sizeof (homedir_psx) - (p - homedir_psx));
+ homedir_psx[PATH_MAX - 1] = '\0';
+ }
+
+ printf ("%ls%s%ls:unused:%" PRIu32 ":%" PRIu32
+ ":U-%ls\\%ls,%s:%s:/bin/bash\n",
+ sep ? dom : L"",
+ sep ?: "",
+ user,
+ (unsigned int) (id_offset + uid),
+ (unsigned int) (id_offset + gid),
+ dom,
+ user,
+ put_sid (curr_user.psid),
+ homedir_psx);
+}
+
+static void
+enum_unix_users (domlist_t *dom_or_machine, const char *sep, DWORD id_offset,
char *unix_user_list)
{
WCHAR machine[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ PWCHAR servername = NULL;
+ char *d_or_m = dom_or_machine ? dom_or_machine->str : NULL;
+ BOOL with_dom = dom_or_machine ? dom_or_machine->with_dom : FALSE;
SID_IDENTIFIER_AUTHORITY auth = { { 0, 0, 0, 0, 0, 22 } };
char *ustr, *user_list;
WCHAR user[UNLEN + sizeof ("Unix User\\") + 1];
@@ -137,13 +225,17 @@ enum_unix_users (domlist_t *mach, const char *sep, DWORD id_offset,
char psid_buffer[MAX_SID_LEN];
SID_NAME_USE acc_type;
- int ret = mbstowcs (machine, mach->str, INTERNET_MAX_HOST_NAME_LENGTH + 1);
+ if (!d_or_m)
+ return;
+
+ int ret = mbstowcs (machine, d_or_m, INTERNET_MAX_HOST_NAME_LENGTH + 1);
if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
{
fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
- program_invocation_short_name, mach->str);
+ program_invocation_short_name, d_or_m);
return;
}
+ servername = machine;
if (!AllocateAndInitializeSid (&auth, 2, 1, 0, 0, 0, 0, 0, 0, 0, &psid))
return;
@@ -163,15 +255,15 @@ enum_unix_users (domlist_t *mach, const char *sep, DWORD id_offset,
if (ret < 1 || ret >= UNLEN + 1)
fprintf (stderr, "%s: Invalid user name '%s'. Skipping...\n",
program_invocation_short_name, ustr);
- else if (LookupAccountNameW (machine, user,
+ else if (LookupAccountNameW (servername, user,
psid = (PSID) psid_buffer,
(sidlen = MAX_SID_LEN, &sidlen),
dom,
(dlen = MAX_DOMAIN_NAME_LEN + 1, &dlen),
&acc_type))
printf ("%s%s%ls:unused:%" PRIu32 ":99999:,%s::\n",
- mach->with_dom ? "Unix_User" : "",
- mach->with_dom ? sep : "",
+ with_dom ? "Unix User" : "",
+ with_dom ? sep : "",
user + 10,
(unsigned int) (id_offset +
*GetSidSubAuthority (psid,
@@ -200,15 +292,15 @@ enum_unix_users (domlist_t *mach, const char *sep, DWORD id_offset,
{
*GetSidSubAuthority (psid, *GetSidSubAuthorityCount(psid) - 1)
= start;
- if (LookupAccountSidW (machine, psid,
+ if (LookupAccountSidW (servername, psid,
user, (ulen = GNLEN + 1, &ulen),
dom,
(dlen = MAX_DOMAIN_NAME_LEN + 1, &dlen),
&acc_type)
&& !iswdigit (user[0]))
printf ("%s%s%ls:unused:%" PRIu32 ":99999:,%s::\n",
- mach->with_dom ? "Unix_User" : "",
- mach->with_dom ? sep : "",
+ with_dom ? "Unix User" : "",
+ with_dom ? sep : "",
user,
(unsigned int) (id_offset + start),
put_sid (psid));
@@ -221,23 +313,36 @@ enum_unix_users (domlist_t *mach, const char *sep, DWORD id_offset,
}
static int
-enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
- DWORD id_offset, char *disp_username, int print_current)
+enum_users (BOOL domain, domlist_t *dom_or_machine, const char *sep,
+ const char *passed_home_path, DWORD id_offset, char *disp_username,
+ int print_current)
{
WCHAR machine[INTERNET_MAX_HOST_NAME_LENGTH + 1];
+ PWCHAR servername = NULL;
+ char *d_or_m = dom_or_machine ? dom_or_machine->str : NULL;
+ BOOL with_dom = dom_or_machine ? dom_or_machine->with_dom : FALSE;
USER_INFO_3 *buffer;
DWORD entriesread = 0;
DWORD totalentries = 0;
DWORD resume_handle = 0;
DWORD rc;
WCHAR uni_name[UNLEN + 1];
-
- int ret = mbstowcs (machine, mach->str, INTERNET_MAX_HOST_NAME_LENGTH + 1);
- if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ if (domain)
{
- fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
- program_invocation_short_name, mach->str);
- return 1;
+ servername = get_dcname (d_or_m);
+ if (servername == (PWCHAR) -1)
+ return 1;
+ }
+ else if (d_or_m)
+ {
+ int ret = mbstowcs (machine, d_or_m, INTERNET_MAX_HOST_NAME_LENGTH + 1);
+ if (ret < 1 || ret >= INTERNET_MAX_HOST_NAME_LENGTH + 1)
+ {
+ fprintf (stderr, "%s: Invalid machine name '%s'. Skipping...\n",
+ program_invocation_short_name, d_or_m);
+ return 1;
+ }
+ servername = machine;
}
do
@@ -247,7 +352,7 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
if (disp_username != NULL)
{
mbstowcs (uni_name, disp_username, UNLEN + 1);
- rc = NetUserGetInfo (machine, (LPWSTR) &uni_name, 3,
+ rc = NetUserGetInfo (servername, (LPWSTR) &uni_name, 3,
(void *) &buffer);
entriesread = 1;
/* Avoid annoying error messages just because the user hasn't been
@@ -256,7 +361,7 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
return 0;
}
else
- rc = NetUserEnum (machine, 3, FILTER_NORMAL_ACCOUNT,
+ rc = NetUserEnum (servername, 3, FILTER_NORMAL_ACCOUNT,
(void *) &buffer, MAX_PREFERRED_LENGTH,
&entriesread, &totalentries, &resume_handle);
switch (rc)
@@ -302,7 +407,7 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
stpcpy (homedir_psx, passed_home_path),
PATH_MAX - strlen (passed_home_path));
- if (!LookupAccountNameW (machine, buffer[i].usri3_name,
+ if (!LookupAccountNameW (servername, buffer[i].usri3_name,
psid, &sid_length, domain_name,
&domname_len, &acc_type))
{
@@ -314,12 +419,13 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
{
WCHAR domname[MAX_DOMAIN_NAME_LEN + UNLEN + 2];
- wcscpy (domname, machine);
+ wcscpy (domname, domain || !servername
+ ? domain_name : servername);
wcscat (domname, L"\\");
wcscat (domname, buffer[i].usri3_name);
sid_length = MAX_SID_LEN;
domname_len = sizeof (domname);
- if (!LookupAccountNameW (machine, domname, psid,
+ if (!LookupAccountNameW (servername, domname, psid,
&sid_length, domain_name,
&domname_len, &acc_type))
{
@@ -335,8 +441,8 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
printf ("%ls%s%ls:unused:%" PRIu32 ":%" PRIu32
":%ls%sU-%ls\\%ls,%s:%s:/bin/bash\n",
- mach->with_dom ? domain_name : L"",
- mach->with_dom ? sep : "",
+ with_dom ? domain_name : L"",
+ with_dom ? sep : "",
buffer[i].usri3_name,
(unsigned int) (id_offset + uid),
(unsigned int) (id_offset + gid),
@@ -357,50 +463,98 @@ enum_users (domlist_t *mach, const char *sep, const char *passed_home_path,
return 0;
}
+static void
+print_special_by_sid (PSID_IDENTIFIER_AUTHORITY auth, BYTE cnt,
+ DWORD sub1, DWORD sub2, DWORD sub3, DWORD sub4,
+ DWORD sub5, DWORD sub6, DWORD sub7, DWORD sub8)
+{
+ WCHAR user[UNLEN + 1], dom[MAX_DOMAIN_NAME_LEN + 1];
+ DWORD len, len2, rid;
+ PSID sid;
+ SID_NAME_USE acc_type;
+
+ if (AllocateAndInitializeSid (auth, cnt, sub1, sub2, sub3, sub4,
+ sub5, sub6, sub7, sub8, &sid))
+ {
+ if (LookupAccountSidW (NULL, sid,
+ user, (len = UNLEN + 1, &len),
+ dom, (len2 = MAX_DOMAIN_NAME_LEN + 1, &len2),
+ &acc_type))
+ {
+ if (sub8)
+ rid = sub8;
+ else if (sub7)
+ rid = sub7;
+ else if (sub6)
+ rid = sub6;
+ else if (sub5)
+ rid = sub5;
+ else if (sub4)
+ rid = sub4;
+ else if (sub3)
+ rid = sub3;
+ else if (sub2)
+ rid = sub2;
+ else
+ rid = sub1;
+ printf ("%ls:*:%" PRIu32 ":%" PRIu32 ":,%s::\n",
+ user, (unsigned int) rid,
+ (unsigned int) (rid == 18 ? 544 : rid), /* SYSTEM hack */
+ put_sid (sid));
+ }
+ FreeSid (sid);
+ }
+}
+
static int
usage (FILE * stream)
{
fprintf (stream,
"Usage: %s [OPTIONS]...\n"
"\n"
-"Write /etc/passwd-like output to stdout\n"
-"\n"
-"Don't use this command to generate a local /etc/passwd file, unless you\n"
-"really need one. See the Cygwin User's Guide for more information.\n"
+"Print /etc/passwd file to stdout\n"
"\n"
"Options:\n"
"\n"
-" -l,--local [machine] print local user accounts\n"
+" -l,--local [machine[,offset]]\n"
+" print local user accounts with uid offset offset\n"
" (from local machine if no machine specified)\n"
-" -L,--Local machine ditto, but generate username with machine prefix\n"
-" -d,--domain [domain] print domain accounts\n"
+" -L,--Local [machine[,offset]]\n"
+" ditto, but generate username with machine prefix\n"
+" -d,--domain [domain[,offset]]\n"
+" print domain accounts with uid offset offset\n"
" (from current domain if no domain specified)\n"
+" -D,--Domain [domain[,offset]]\n"
+" ditto, but generate username with domain prefix\n"
" -c,--current print current user\n"
-" -S,--separator char for -l use character char as domain\\user\n"
-" separator in username instead of the default '%s'\n"
-" -o,--id-offset offset change the default offset (0x10000) added to uids\n"
+" -C,--Current ditto, but generate username with machine or\n"
+" domain prefix\n"
+" -S,--separator char for -L, -D, -C use character char as domain\\user\n"
+" separator in username instead of the default '\\'\n"
+" -o,--id-offset offset change the default offset (10000) added to uids\n"
" in domain or foreign server accounts.\n"
" -u,--username username only return information for the specified user\n"
-" one of -l, -d must be specified, too\n"
-" -b,--no-builtin don't print BUILTIN users\n"
+" one of -l, -L, -d, -D must be specified, too\n"
" -p,--path-to-home path use specified path instead of user account home dir\n"
" or /home prefix\n"
-" -U,--unix userlist print UNIX users when using -l on a UNIX Samba\n"
-" server. userlist is a comma-separated list of\n"
-" usernames or uid ranges (root,-25,50-100).\n"
+" -U,--unix userlist additionally print UNIX users when using -l or -L\n"
+" on a UNIX Samba server\n"
+" userlist is a comma-separated list of usernames\n"
+" or uid ranges (root,-25,50-100).\n"
" (enumerating large ranges can take a long time!)\n"
+" -s,--no-sids (ignored)\n"
+" -m,--no-mount (ignored)\n"
+" -g,--local-groups (ignored)\n"
" -h,--help displays this message\n"
" -V,--version version information and exit\n"
"\n"
"Default is to print local accounts on stand-alone machines, domain accounts\n"
"on domain controllers and domain member machines.\n"
-"\n", program_invocation_short_name,
- (const char *) cygwin_internal (CW_GETNSSSEP));
+"\n", program_invocation_short_name);
return 1;
}
static struct option longopts[] = {
- {"no-builtin", no_argument, NULL, 'b'},
{"current", no_argument, NULL, 'c'},
{"Current", no_argument, NULL, 'C'},
{"domain", optional_argument, NULL, 'd'},
@@ -420,7 +574,7 @@ static struct option longopts[] = {
{0, no_argument, NULL, 0}
};
-static char opts[] = "bcCd::D::ghl::L::mo:sS:p:u:U:V";
+static char opts[] = "cCd::D::ghl::L::mo:sS:p:u:U:V";
static void
print_version ()
@@ -436,6 +590,66 @@ print_version ()
strrchr (__DATE__, ' ') + 1);
}
+static void
+print_special_by_name (PCWSTR name, uid_t uid, gid_t gid)
+{
+ DWORD size = 256, dom_size = 256;
+ PSID sid = (PSID) alloca (size);
+ WCHAR dom[dom_size];
+ SID_NAME_USE use;
+
+ PWCHAR name_only = wcschr (name, L'\\');
+ if (name_only)
+ ++name_only;
+
+ if (LookupAccountNameW (NULL, name, sid, &size, dom, &dom_size, &use))
+ printf ("%ls:*:%lu:%lu:U-%ls%s%ls,%s::\n",
+ name_only ?: name,
+ (unsigned long) uid,
+ (unsigned long) gid,
+ name_only ? dom : L"",
+ name_only ? "\\" : "",
+ name_only ?: name,
+ put_sid (sid));
+}
+
+static void
+enum_std_accounts ()
+{
+ /* Generate service starter account entries. */
+ printf ("SYSTEM:*:18:544:,S-1-5-18::\n");
+ printf ("LocalService:*:19:544:U-NT AUTHORITY\\LocalService,S-1-5-19::\n");
+ printf ("NetworkService:*:20:544:U-NT AUTHORITY\\NetworkService,S-1-5-20::\n");
+ /* Get 'administrators' group (has localized name). */
+ print_special_by_sid (&sid_nt_auth, 2, SECURITY_BUILTIN_DOMAIN_RID,
+ DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0);
+ /* Fetch "TrustedInstaller" account starting with Vista. */
+ print_special_by_name (L"NT SERVICE\\TrustedInstaller", -2, -2);
+}
+
+static PPOLICY_PRIMARY_DOMAIN_INFO p_dom;
+
+static BOOL
+fetch_primary_domain ()
+{
+ NTSTATUS status;
+ LSA_OBJECT_ATTRIBUTES oa = { 0, 0, 0, 0, 0, 0 };
+ LSA_HANDLE lsa;
+
+ if (!p_dom)
+ {
+ status = LsaOpenPolicy (NULL, &oa, POLICY_VIEW_LOCAL_INFORMATION, &lsa);
+ if (!NT_SUCCESS (status))
+ return FALSE;
+ status = LsaQueryInformationPolicy (lsa, PolicyPrimaryDomainInformation,
+ (PVOID *) ((void *) &p_dom));
+ LsaClose (lsa);
+ if (!NT_SUCCESS (status))
+ return FALSE;
+ }
+ return !!p_dom->Sid;
+}
+
int
main (int argc, char **argv)
{
@@ -443,14 +657,13 @@ main (int argc, char **argv)
domlist_t domlist[32];
char *opt, *p, *ep;
int print_current = 0;
- int print_builtin = 1;
char *print_unix = NULL;
- const char *nss_sep = (const char *) cygwin_internal (CW_GETNSSSEP);
- const char *sep_char = nss_sep;
- DWORD id_offset = 0x10000, off;
+ const char *sep_char = "\\";
+ DWORD id_offset = 10000, off;
int c, i;
char *disp_username = NULL;
char passed_home_path[PATH_MAX];
+ BOOL in_domain;
int optional_args = 0;
passed_home_path[0] = '\0';
@@ -461,23 +674,18 @@ main (int argc, char **argv)
setlocale (LC_CTYPE, "");
if (!strcmp (setlocale (LC_CTYPE, NULL), "C"))
setlocale (LC_CTYPE, "en_US.UTF-8");
+ in_domain = fetch_primary_domain ();
fetch_current_user_sid ();
if (argc == 1)
{
- int enums = ENUM_PRIMARY | ENUM_LOCAL | ENUM_BUILTIN;
- uintptr_t ticket = cygwin_internal (CW_SETENT, FALSE, enums, NULL);
- if (ticket)
- {
- struct passwd *pwd;
-
- while ((pwd = (struct passwd *) cygwin_internal (CW_GETENT, FALSE,
- ticket)))
- printf ("%s:%s:%u:%u:%s:%s:%s\n", pwd->pw_name, pwd->pw_passwd,
- pwd->pw_uid, pwd->pw_gid, pwd->pw_gecos, pwd->pw_dir,
- pwd->pw_shell);
- cygwin_internal (CW_ENDENT, FALSE, ticket);
- }
+ enum_std_accounts ();
+ if (in_domain)
+ enum_users (TRUE, NULL, sep_char, passed_home_path, 10000,
+ disp_username, 0);
+ else
+ enum_users (FALSE, NULL, sep_char, passed_home_path, 0,
+ disp_username, 0);
return 0;
}
@@ -516,9 +724,13 @@ main (int argc, char **argv)
goto skip;
}
domlist[print_domlist].str = opt;
+ domlist[print_domlist].id_offset = UINT32_MAX;
if (opt && (p = strchr (opt, ',')))
{
- if (p == opt)
+ if (p == opt
+ || !isdigit ((unsigned char) p[1])
+ || (domlist[print_domlist].id_offset = strtol (p + 1, &ep, 10)
+ , *ep))
{
fprintf (stderr, "%s: Malformed domain,offset string '%s'. "
"Skipping...\n", program_invocation_short_name, opt);
@@ -526,15 +738,15 @@ main (int argc, char **argv)
}
*p = '\0';
}
- domlist[print_domlist++].with_dom = (c == 'L');
+ domlist[print_domlist++].with_dom = (c == 'D' || c == 'L');
skip:
break;
case 'S':
sep_char = optarg;
if (strlen (sep_char) > 1)
{
- fprintf (stderr, "%s: Only one ASCII character allowed as "
- "domain\\user separator character.\n",
+ fprintf (stderr, "%s: Only one character allowed as domain\\user "
+ "separator character.\n",
program_invocation_short_name);
return 1;
}
@@ -549,14 +761,19 @@ skip:
print_unix = optarg;
break;
case 'c':
+ sep_char = NULL;
+ /*FALLTHRU*/
case 'C':
print_current = 1;
break;
case 'o':
id_offset = strtoul (optarg, &ep, 10);
- break;
- case 'b':
- print_builtin = 0;
+ if (*ep)
+ {
+ fprintf (stderr, "%s: Malformed offset '%s'. "
+ "Skipping...\n", program_invocation_short_name, optarg);
+ return 1;
+ }
break;
case 'p':
if (optarg[0] != '/')
@@ -597,91 +814,24 @@ skip:
exit (1);
}
- struct passwd *ppwd = NULL;
- const char *ppwd_sid = NULL;
- if (print_current)
- {
- ppwd = (struct passwd *) cygwin_internal (CW_GETPWSID, TRUE,
- curr_user.psid);
- if (ppwd)
- ppwd_sid = strrchr (ppwd->pw_gecos, ',');
- }
-
- int enums = ENUM_NONE;
- WCHAR tdoms[print_domlist * 258];
- PWCHAR t = tdoms;
- if (!disp_username && print_builtin && print_domlist)
- enums |= ENUM_BUILTIN;
+ off = id_offset;
for (i = 0; i < print_domlist; ++i)
{
- if (domlist[i].domain)
- {
- if (domlist[i].str)
- {
- enums |= ENUM_TDOMS;
- t += mbstowcs (t, domlist[i].str, 257);
- *t++ = L'\0';
- }
- else
- enums |= ENUM_PRIMARY;
- }
- else if (!domlist[i].str)
- enums |= ENUM_LOCAL;
- }
- if (t > tdoms)
- *t++ = L'\0';
- if (enums)
- {
- uintptr_t ticket = cygwin_internal (CW_SETENT, FALSE, enums,
- t > tdoms ? tdoms : NULL);
- if (ticket)
- {
- struct passwd *pwd;
-
- while ((pwd = (struct passwd *)
- cygwin_internal (CW_GETENT, FALSE, ticket)))
- {
- p = NULL;
- if (disp_username
- && strcasecmp (disp_username, pwd->pw_name) != 0
- && (!(p = strchr (pwd->pw_name, nss_sep[0]))
- || strcasecmp (disp_username, p + 1) != 0))
- continue;
- printf ("%s:%s:%u:%u:%s:%s%s:%s\n", pwd->pw_name, pwd->pw_passwd,
- pwd->pw_uid, pwd->pw_gid, pwd->pw_gecos,
- passed_home_path[0] ? passed_home_path : "",
- passed_home_path[0] ? (p ? p + 1 : pwd->pw_name)
- : pwd->pw_dir,
- pwd->pw_shell);
- const char *pwd_sid = strrchr (pwd->pw_gecos, ',');
- if (ppwd && ppwd_sid && pwd_sid && !strcmp (pwd_sid, ppwd_sid))
- got_curr_user = TRUE;
- }
- cygwin_internal (CW_ENDENT, FALSE, ticket);
- }
+ DWORD my_off = (domlist[i].domain || domlist[i].str)
+ ? domlist[i].id_offset != UINT_MAX
+ ? domlist[i].id_offset : off : 0;
+ if (!domlist[i].domain && domlist[i].str && print_unix)
+ enum_unix_users (domlist + i, sep_char, my_off, print_unix);
+ if (!my_off && !disp_username)
+ enum_std_accounts ();
+ enum_users (domlist[i].domain, domlist + i, sep_char, passed_home_path,
+ my_off, disp_username, print_current);
+ if (my_off)
+ off += id_offset;
}
if (print_current && !got_curr_user)
- {
- p = strchr (ppwd->pw_name, nss_sep[0]);
- printf ("%s:%s:%u:%u:%s:%s%s:%s\n", ppwd->pw_name, ppwd->pw_passwd,
- ppwd->pw_uid, ppwd->pw_gid, ppwd->pw_gecos,
- passed_home_path[0] ? passed_home_path : "",
- passed_home_path[0] ? (p ? p + 1 : ppwd->pw_name) : ppwd->pw_dir,
- ppwd->pw_shell);
- }
-
- off = 0xfd000000;
- for (i = 0; i < print_domlist; ++i)
- {
- if (domlist[i].domain || !domlist[i].str)
- continue;
- enum_users (domlist + i, sep_char, passed_home_path, off, disp_username,
- print_current);
- if (!domlist[i].domain && domlist[i].str && print_unix)
- enum_unix_users (domlist + i, sep_char, 0xff000000, print_unix);
- off += id_offset;
- }
+ current_user (sep_char, passed_home_path, off, disp_username);
return 0;
}
diff --git a/winsup/utils/utils.xml b/winsup/utils/utils.xml
index 2bb44b2..b7e8ff8 100644
--- a/winsup/utils/utils.xml
+++ b/winsup/utils/utils.xml
@@ -875,77 +875,89 @@ Write minidump from WIN32PID to FILENAME.dmp
<screen>
Usage: mkgroup [OPTION]...
-Write /etc/group-like output to stdout
-
-Don't use this command to generate a local /etc/group file, unless you
-really need one. See the Cygwin User's Guide for more information.
+Print /etc/group file to stdout
Options:
- -l,--local [machine] print local groups
+ -l,--local [machine[,offset]]
+ print local groups with gid offset offset
(from local machine if no machine specified)
- -L,--Local machine ditto, but generate groupname with machine prefix
- -d,--domain [domain] print domain groups
+ -L,--Local [machine[,offset]]
+ ditto, but generate groupname with machine prefix
+ -d,--domain [domain[,offset]]
+ print domain groups with gid offset offset
(from current domain if no domain specified)
+ -D,--Domain [domain[,offset]]
+ ditto, but generate groupname with machine prefix
-c,--current print current group
- -S,--separator char for -l use character char as domain\group
- separator in groupname instead of default '+'
- -o,--id-offset offset change the default offset (0x10000) added to
- gids of foreign machine accounts.
+ -C,--Current ditto, but generate groupname with machine or
+ domain prefix
+ -S,--separator char for -L, -D, -C use character char as domain\group
+ separator in groupname instead of the default '\'
+ -o,--id-offset offset change the default offset (10000) added to gids
+ in domain or foreign server accounts.
-g,--group groupname only return information for the specified group
- one of -l, -d must be specified, too
+ one of -l, -L, -d, -D must be specified, too
-b,--no-builtin don't print BUILTIN groups
- -U,--unix grouplist print UNIX groups when using -l on a UNIX Samba
- server. grouplist is a comma-separated list of
- groupnames or gid ranges (root,-25,50-100).
- (enumerating large ranges can take a long time!)
+ -U,--unix grouplist additionally print UNIX groups when using -l or -L
+ on a UNIX Samba server
+ grouplist is a comma-separated list of groupnames
+ or gid ranges (root,-25,50-100).
+ (enumerating large ranges can take a long time!)
+ -s,--no-sids (ignored)
+ -u,--users (ignored)
-h,--help print this message
- -v,--version print version information and exit
+ -V,--version print version information and exit
Default is to print local groups on stand-alone machines, plus domain
groups on domain controllers and domain member machines.
</screen>
- <para>The <command>mkgroup</command> program can be used to create a local
- <filename>/etc/group</filename> file. Cygwin doesn't need this file,
- because it reads group information from the Windows account databases,
- but you can add an <filename>/etc/group</filename> file for instance, if
- your machine is often disconnected from its domain controller.
- </para>
-
- <para>Note that this information is static, in contrast to the information
- automatically gathered by Cygwin from the Windows account databases. If
- you change the group information on your system, you'll need to regenerate
- the group file for it to have the new information.</para>
-
- <para>By default, the information generated by <command>mkgroup</command>
- is equivalent to the information generated by Cygwin itself. The
- <literal>-d</literal> and <literal>-l/-L</literal> options allow you to
- specify where the information comes from, some domain, or the local SAM
- of a machine. Note that you can only enumerate accounts from trusted
- domains. Any non-trusted domain will be ignored. Access-restrictions
- of your current account apply. The <literal>-l/-L</literal> when used
- with a machine name, tries to contact that machine to enumerate local
- groups of other machines, typically outside of domains. This scenario
- cannot be covered by Cygwin's account automatism. If you want to use
- the <literal>-L</literal> option, but you don't like the default
- domain/group separator from <filename>/etc/nsswitch.conf</filename>,
- you can specify another separator using the <literal>-S</literal> option,
- for instance:</para>
+ <para>The <command>mkgroup</command> program can be used to help configure
+ Cygwin by creating a <filename>/etc/group</filename> file. Its use is
+ essential to include Windows security information.</para>
+
+ <para>The command is initially called by <command>setup.exe</command> to
+ create a default <filename>/etc/group</filename>. This should be
+ sufficient in most circumstances. However, especially when working in a
+ multi-domain environment, you can use <command>mkgroup</command> manually
+ to create a more complete <filename>/etc/group</filename> file for all
+ domains. Especially when you have the same group name used on multiple
+ machines or in multiple domains, you can use the <literal>-D</literal>,
+ <literal>-L</literal> and <literal>-C</literal> options to create unique
+ domain\group style groupnames.</para>
+
+ <para>Note that this information is static. If you change the group
+ information in your system, you'll need to regenerate the group file for
+ it to have the new information.</para>
+
+ <para>The <literal>-d/-D</literal> and <literal>-l/-L</literal> options
+ allow you to specify where the information comes from, the local SAM of a
+ machine or from the domain, or both. With the <literal>-d/-D</literal>
+ options the program contacts a Domain Controller, which my be unreachable
+ or have restricted access. Comma-separated from the machine or domain,
+ you can specify an offset which is used as base added to the group's RID
+ to compute the gid (offset + RID = gid). This allows you to create the
+ same gids every time you re-run <command>mkgroup</command>. For very
+ simple needs, an entry for the current user's group can be created by
+ using the option <literal>-c</literal> or <literal>-C</literal>. If you
+ want to use one of the <literal>-D</literal>, <literal>-L</literal> or
+ <literal>-C</literal> options, but you don't like the backslash as
+ domain/group separator, you can specify another separator using the
+ <literal>-S</literal> option, for instance:</para>
<example id="utils-mkgroup-ex">
<title>Setting up group entry for current user with different
domain/group separator</title>
<screen>
-<prompt>$</prompt> <userinput>mkgroup -L server1 -S= &gt; /etc/group</userinput>
+<prompt>$</prompt> <userinput>mkgroup -C -S+ &gt; /etc/group</userinput>
+<prompt>$</prompt> <userinput>cat /etc/group</userinput>
+DOMAIN+my_group:S-1-5-21-2913048732-1697188782-3448811101-1144:11144:
</screen>
</example>
- <para>For very simple needs, an entry for the current user's group can be
- created by using the option <literal>-c</literal>.</para>
-
- <para>The <literal>-o</literal> option allows for (unlikely) special cases
- with multiple machines where the GIDs might match otherwise. The
+ <para>The <literal>-o</literal> option allows for special cases (such as
+ multiple domains) where the GIDs might match otherwise. The
<literal>-g</literal> option only prints the information for one group.
The <literal>-U</literal> option allows you to enumerate the standard
UNIX groups on a Samba machine. It's used together with <literal>-l
@@ -961,32 +973,39 @@ groups on domain controllers and domain member machines.
<screen>
Usage: mkpasswd [OPTIONS]...
-Write /etc/passwd-like output to stdout
-
-Don't use this command to generate a local /etc/passwd file, unless you
-really need one. See the Cygwin User's Guide for more information.
+Print /etc/passwd file to stdout
Options:
- -l,--local [machine] print local user accounts
+ -l,--local [machine[,offset]]
+ print local user accounts with uid offset offset
(from local machine if no machine specified)
- -L,--Local machine ditto, but generate username with machine prefix
- -d,--domain [domain] print domain accounts
+ -L,--Local [machine[,offset]]
+ ditto, but generate username with machine prefix
+ -d,--domain [domain[,offset]]
+ print domain accounts with uid offset offset
(from current domain if no domain specified)
+ -D,--Domain [domain[,offset]]
+ ditto, but generate username with domain prefix
-c,--current print current user
- -S,--separator char for -l use character char as domain\user
- separator in username instead of the default '+'
- -o,--id-offset offset change the default offset (0x10000) added to uids
+ -C,--Current ditto, but generate username with machine or
+ domain prefix
+ -S,--separator char for -L, -D, -C use character char as domain\user
+ separator in username instead of the default '\'
+ -o,--id-offset offset change the default offset (10000) added to uids
in domain or foreign server accounts.
-u,--username username only return information for the specified user
- one of -l, -d must be specified, too
- -b,--no-builtin don't print BUILTIN users
+ one of -l, -L, -d, -D must be specified, too
-p,--path-to-home path use specified path instead of user account home dir
or /home prefix
- -U,--unix userlist print UNIX users when using -l on a UNIX Samba
- server. userlist is a comma-separated list of
- usernames or uid ranges (root,-25,50-100).
+ -U,--unix userlist additionally print UNIX users when using -l or -L\
+ on a UNIX Samba server
+ userlist is a comma-separated list of usernames
+ or uid ranges (root,-25,50-100).
(enumerating large ranges can take a long time!)
+ -s,--no-sids (ignored)
+ -m,--no-mount (ignored)
+ -g,--local-groups (ignored)
-h,--help displays this message
-V,--version version information and exit
@@ -994,36 +1013,41 @@ Default is to print local accounts on stand-alone machines, domain accounts
on domain controllers and domain member machines.
</screen>
- <para>The <command>mkpasswd</command> program can be used to create a
- <filename>/etc/passwd</filename> file. Cygwin doesn't need this file,
- because it reads user information from the Windows account databases,
- but you can add an <filename>/etc/group</filename> file for instance, if
- your machine is often disconnected from its domain controller.</para>
-
- <para>Note that this information is static, in contrast to the information
- automatically gathered by Cygwin from the Windows account databases. If
- you change the user information on your system, you'll need to regenerate
- the passwd file for it to have the new information.</para>
-
- <para>By default, the information generated by <command>mkpasswd</command>
- is equivalent to the information generated by Cygwin itself. The
- <literal>-d</literal> and <literal>-l/-L</literal> options allow you to
- specify where the information comes from, some domain, or the local SAM
- of a machine. Note that you can only enumerate accounts from trusted
- domains. Any non-trusted domain will be ignored. Access-restrictions
- of your current account apply. The <literal>-l/-L</literal> when used
- with a machine name, tries to contact that machine to enumerate local
- groups of other machines, typically outside of domains. This scenario
- cannot be covered by Cygwin's account automatism. If you want to use
- the <literal>-L</literal> option, but you don't like the default
- domain/group separator from <filename>/etc/nsswitch.conf</filename>,
- you can specify another separator using the <literal>-S</literal> option,
- analog to <command>mkgroup</command>.</para>
-
- <para>For very simple needs, an entry for the current user can be created
- by using the option <literal>-c</literal>.</para>
-
- <para>The <literal>-o</literal> option allows for special cases (such as
+ <para>The <command>mkpasswd</command> program can be used to help configure
+ Cygwin by creating a <filename>/etc/passwd</filename> from your system
+ information. Its use is essential to include Windows security
+ information. However, the actual passwords are determined by Windows, not
+ by the content of <filename>/etc/passwd</filename>.</para>
+
+ <para>The command is initially called by <command>setup.exe</command> to
+ create a default <filename>/etc/passwd</filename>. This should be
+ sufficient in most circumstances. However, especially when working in a
+ multi-domain environment, you can use <command>mkpasswd</command>
+ manually to create a more complete <filename>/etc/passwd</filename> file
+ for all domains. Especially when you have the same user name used on
+ multiple machines or in multiple domains, you can use the
+ <literal>-D</literal>, <literal>-L</literal> and <literal>-C</literal>
+ options to create unique domain\user style usernames.</para>
+
+ <para>Note that this information is static. If you change the user
+ information in your system, you'll need to regenerate the passwd file for
+ it to have the new information.</para>
+
+ <para>The <literal>-d/-D</literal> and <literal>-l/-L</literal> options
+ allow you to specify where the information comes from, the local machine
+ or the domain (default or given), or both. With the
+ <literal>-d/-D</literal> options the program contacts the Domain
+ Controller, which may be unreachable or have restricted access.
+ Comma-separated from the machine or domain, you can specify an offset
+ which is used as base added to the user's RID to compute the uid (offset
+ + RID = uid). This allows to create the same uids every time you re-run
+ <command>mkpasswd</command>. An entry for the current user can be created
+ by using the option <literal>-c</literal> or <literal>-C</literal>. If
+ you want to use one of the <literal>-D</literal>, <literal>-L</literal>
+ or <literal>-C</literal> options, but you don't like the backslash as
+ domain/group separator, you can specify another separator using the
+ <literal>-S</literal> option, similar to the <command>mkgroup</command>.
+ The <literal>-o</literal> option allows for special cases (such as
multiple domains) where the UIDs might match otherwise. The
<literal>-p</literal> option causes <command>mkpasswd</command> to use
the specified prefix instead of the account home dir or <literal>/home/
@@ -1038,8 +1062,7 @@ on domain controllers and domain member machines.
to enumerate the standard UNIX users on a Samba machine. It's used
together with <literal>-l samba-server</literal> or <literal>-L
samba-server</literal>. The normal UNIX users are usually not enumerated,
- but they can show up as file owners in <command>ls -l</command> output.
- </para>
+ but they can show up as file owners in <command>ls -l</command> output. </para>
</sect2>